File tree Expand file tree Collapse file tree
kiloclaw/packages/secret-catalog/src/__tests__
src/app/(app)/claw/components Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -44,6 +44,7 @@ describe('Secret Catalog', () => {
4444 'key' ,
4545 'github' ,
4646 'credit-card' ,
47+ 'lock' ,
4748 ] ) ;
4849 for ( const entry of SECRET_CATALOG ) {
4950 expect ( validIcons . has ( entry . icon ) ) . toBe ( true ) ;
@@ -193,9 +194,10 @@ describe('Secret Catalog', () => {
193194
194195 it ( 'returns all tool entries sorted by order' , ( ) => {
195196 const tools = getEntriesByCategory ( 'tool' ) ;
196- expect ( tools . length ) . toBe ( 2 ) ;
197+ expect ( tools . length ) . toBe ( 3 ) ;
197198 expect ( tools [ 0 ] . id ) . toBe ( 'github' ) ;
198199 expect ( tools [ 1 ] . id ) . toBe ( 'agentcard' ) ;
200+ expect ( tools [ 2 ] . id ) . toBe ( 'onepassword' ) ;
199201 } ) ;
200202
201203 it ( 'returns empty array for categories with no entries' , ( ) => {
@@ -220,7 +222,8 @@ describe('Secret Catalog', () => {
220222 expect ( keys ) . toContain ( 'githubUsername' ) ;
221223 expect ( keys ) . toContain ( 'githubEmail' ) ;
222224 expect ( keys ) . toContain ( 'agentcardApiKey' ) ;
223- expect ( keys . size ) . toBe ( 4 ) ;
225+ expect ( keys ) . toContain ( 'onepasswordServiceAccountToken' ) ;
226+ expect ( keys . size ) . toBe ( 5 ) ;
224227 } ) ;
225228
226229 it ( 'returns empty set for categories with no entries' , ( ) => {
Original file line number Diff line number Diff line change @@ -120,9 +120,10 @@ function OnePasswordSetupGuide() {
120120 </ div >
121121
122122 < div >
123- < p className = "mb-2 font-medium" > 4. Save and redeploy </ p >
123+ < p className = "mb-2 font-medium" > 4. Save and upgrade </ p >
124124 < p className = "text-muted-foreground text-xs" >
125- After saving, redeploy your instance. Your agent can then use the{ ' ' }
125+ After saving, use < strong > Upgrade to latest</ strong > (not just Redeploy) to activate
126+ the integration. Your agent can then use the{ ' ' }
126127 < code className = "bg-muted rounded px-1" > op</ code > CLI to look up credentials, e.g.{ ' ' }
127128 < code className = "bg-muted rounded px-1" > op item get "My Login"</ code > .
128129 </ p >
You can’t perform that action at this time.
0 commit comments