File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -16,4 +16,5 @@ document.addEventListener("DOMContentLoaded", () => {
1616 document . getElementById ( "hs-btn-library" ) ?. addEventListener ( "click" , ( ) => postMessage ( "showLibrary" ) ) ;
1717 document . getElementById ( "hs-btn-upload" ) ?. addEventListener ( "click" , ( ) => postMessage ( "openUploadWidget" ) ) ;
1818 document . getElementById ( "hs-link-welcome" ) ?. addEventListener ( "click" , ( ) => postMessage ( "openWelcomeScreen" ) ) ;
19+ document . getElementById ( "hs-btn-ai-tools" ) ?. addEventListener ( "click" , ( ) => postMessage ( "configureAiTools" ) ) ;
1920} ) ;
Original file line number Diff line number Diff line change @@ -63,6 +63,9 @@ export class HomescreenViewProvider implements vscode.WebviewViewProvider {
6363 case "openWelcomeScreen" :
6464 vscode . commands . executeCommand ( "cloudinary.openWelcomeScreen" ) ;
6565 break ;
66+ case "configureAiTools" :
67+ vscode . commands . executeCommand ( "cloudinary.configureAiTools" ) ;
68+ break ;
6669 }
6770 }
6871 ) ;
@@ -418,15 +421,14 @@ export class HomescreenViewProvider implements vscode.WebviewViewProvider {
418421
419422 <div class="hs-section-divider" role="separator"></div>
420423
421- <button class ="hs-action" disabled aria-disabled="true ">
424+ <button id ="hs-btn-ai-tools" class="hs-action ">
422425 <span class="hs-action-icon hs-action-icon--violet" aria-hidden="true">
423426 <svg width="15" height="15" viewBox="0 0 16 16" fill="currentColor"><path d="M7.657 6.247c.11-.33.576-.33.686 0l.645 1.937a2.89 2.89 0 0 0 1.829 1.828l1.936.645c.33.11.33.576 0 .686l-1.937.645a2.89 2.89 0 0 0-1.828 1.829l-.645 1.936a.361.361 0 0 1-.686 0l-.645-1.937a2.89 2.89 0 0 0-1.828-1.828l-1.937-.645a.361.361 0 0 1 0-.686l1.937-.645a2.89 2.89 0 0 0 1.828-1.828l.645-1.937zM3.794 1.148a.217.217 0 0 1 .412 0l.387 1.162c.173.518.579.924 1.097 1.097l1.162.387a.217.217 0 0 1 0 .412l-1.162.387A1.734 1.734 0 0 0 4.593 5.69l-.387 1.162a.217.217 0 0 1-.412 0L3.407 5.69A1.734 1.734 0 0 0 2.31 4.593l-1.162-.387a.217.217 0 0 1 0-.412l1.162-.387A1.734 1.734 0 0 0 3.407 2.31l.387-1.162zM10.863.099a.145.145 0 0 1 .274 0l.258.774c.115.346.386.617.732.732l.774.258a.145.145 0 0 1 0 .274l-.774.258a1.156 1.156 0 0 0-.732.732l-.258.774a.145.145 0 0 1-.274 0l-.258-.774a1.156 1.156 0 0 0-.732-.732L9.1 2.137a.145.145 0 0 1 0-.274l.774-.258c.346-.115.617-.386.732-.732L10.863.1z"/></svg>
424427 </span>
425428 <span class="hs-action-text">
426429 <span class="hs-action-title">Configure AI Tools</span>
427430 <span class="hs-action-desc">MCP servers & agent skills</span>
428431 </span>
429- <span class="hs-chip" aria-label="Coming soon">Soon</span>
430432 </button>
431433 </div>
432434
You can’t perform that action at this time.
0 commit comments