Skip to content

Commit c7bf6f1

Browse files
committed
fix kilobot findings
1 parent 4d2808b commit c7bf6f1

2 files changed

Lines changed: 8 additions & 4 deletions

File tree

kiloclaw/packages/secret-catalog/src/__tests__/catalog.test.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff 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', () => {

src/app/(app)/claw/components/SettingsTab.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff 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 &quot;My Login&quot;</code>.
128129
</p>

0 commit comments

Comments
 (0)