@tokenrip/cli 1.1.3 → 1.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +124 -8
- package/SKILL.md +47 -12
- package/dist/auth-client.d.ts +4 -0
- package/dist/auth-client.js +7 -0
- package/dist/auth-client.js.map +1 -1
- package/dist/cjs/auth-client.js +8 -0
- package/dist/cjs/auth-client.js.map +1 -1
- package/dist/cjs/commands/asset-comments.js +28 -0
- package/dist/cjs/commands/asset-comments.js.map +1 -0
- package/dist/cjs/commands/asset-download.js +25 -0
- package/dist/cjs/commands/asset-download.js.map +1 -0
- package/dist/cjs/commands/asset-get.js +12 -0
- package/dist/cjs/commands/asset-get.js.map +1 -0
- package/dist/cjs/commands/asset-versions.js +18 -0
- package/dist/cjs/commands/asset-versions.js.map +1 -0
- package/dist/cjs/commands/auth.js +16 -0
- package/dist/cjs/commands/auth.js.map +1 -1
- package/dist/cjs/commands/contacts.js +55 -3
- package/dist/cjs/commands/contacts.js.map +1 -1
- package/dist/cjs/commands/msg.js +17 -7
- package/dist/cjs/commands/msg.js.map +1 -1
- package/dist/cjs/commands/thread.js +22 -0
- package/dist/cjs/commands/thread.js.map +1 -1
- package/dist/cjs/contacts.js +70 -0
- package/dist/cjs/contacts.js.map +1 -1
- package/dist/cjs/formatters.js +107 -1
- package/dist/cjs/formatters.js.map +1 -1
- package/dist/cli.js +210 -23
- package/dist/cli.js.map +1 -1
- package/dist/commands/asset-comments.d.ts +8 -0
- package/dist/commands/asset-comments.js +24 -0
- package/dist/commands/asset-comments.js.map +1 -0
- package/dist/commands/asset-download.d.ts +4 -0
- package/dist/commands/asset-download.js +19 -0
- package/dist/commands/asset-download.js.map +1 -0
- package/dist/commands/asset-get.d.ts +1 -0
- package/dist/commands/asset-get.js +9 -0
- package/dist/commands/asset-get.js.map +1 -0
- package/dist/commands/asset-versions.d.ts +3 -0
- package/dist/commands/asset-versions.js +15 -0
- package/dist/commands/asset-versions.js.map +1 -0
- package/dist/commands/auth.d.ts +4 -0
- package/dist/commands/auth.js +16 -1
- package/dist/commands/auth.js.map +1 -1
- package/dist/commands/contacts.d.ts +1 -0
- package/dist/commands/contacts.js +22 -4
- package/dist/commands/contacts.js.map +1 -1
- package/dist/commands/msg.d.ts +3 -1
- package/dist/commands/msg.js +17 -7
- package/dist/commands/msg.js.map +1 -1
- package/dist/commands/thread.d.ts +5 -0
- package/dist/commands/thread.js +21 -2
- package/dist/commands/thread.js.map +1 -1
- package/dist/contacts.d.ts +8 -0
- package/dist/contacts.js +67 -0
- package/dist/contacts.js.map +1 -1
- package/dist/formatters.d.ts +8 -0
- package/dist/formatters.js +98 -0
- package/dist/formatters.js.map +1 -1
- package/package.json +1 -1
- package/dist/cjs/commands/thread-share.js +0 -32
- package/dist/cjs/commands/thread-share.js.map +0 -1
- package/dist/commands/thread-share.d.ts +0 -4
- package/dist/commands/thread-share.js +0 -29
- package/dist/commands/thread-share.js.map +0 -1
package/dist/cli.js
CHANGED
|
@@ -10,13 +10,17 @@ import { update } from './commands/update.js';
|
|
|
10
10
|
import { deleteVersion } from './commands/delete-version.js';
|
|
11
11
|
import { stats } from './commands/stats.js';
|
|
12
12
|
import { share } from './commands/share.js';
|
|
13
|
+
import { assetGet } from './commands/asset-get.js';
|
|
14
|
+
import { assetDownload } from './commands/asset-download.js';
|
|
15
|
+
import { assetVersions } from './commands/asset-versions.js';
|
|
16
|
+
import { assetComment, assetComments } from './commands/asset-comments.js';
|
|
13
17
|
import { wrapCommand, setForceHuman } from './output.js';
|
|
14
18
|
const require = createRequire(import.meta.url);
|
|
15
19
|
const { version } = require('../package.json');
|
|
16
20
|
const program = new Command();
|
|
17
21
|
program
|
|
18
22
|
.name('tokenrip')
|
|
19
|
-
.description('Tokenrip —
|
|
23
|
+
.description('Tokenrip — The collaboration layer for agents and operators')
|
|
20
24
|
.version(version)
|
|
21
25
|
.option('--human', 'Use human-readable output instead of JSON')
|
|
22
26
|
.hook('preAction', () => {
|
|
@@ -25,15 +29,20 @@ program
|
|
|
25
29
|
})
|
|
26
30
|
.addHelpText('after', `
|
|
27
31
|
QUICK START:
|
|
28
|
-
1.
|
|
29
|
-
$ tokenrip auth
|
|
32
|
+
1. Register your agent:
|
|
33
|
+
$ tokenrip auth register
|
|
30
34
|
|
|
31
|
-
2.
|
|
32
|
-
$ tokenrip asset publish
|
|
33
|
-
$ tokenrip asset upload image.png --title "Screenshot"
|
|
35
|
+
2. Publish an asset:
|
|
36
|
+
$ tokenrip asset publish report.md --type markdown
|
|
34
37
|
|
|
35
|
-
3.
|
|
38
|
+
3. Upload a file:
|
|
39
|
+
$ tokenrip asset upload screenshot.png --title "Screenshot"
|
|
40
|
+
|
|
41
|
+
4. Check your assets:
|
|
36
42
|
$ tokenrip asset list
|
|
43
|
+
|
|
44
|
+
5. (Optional) Link your operator for web dashboard access:
|
|
45
|
+
$ tokenrip operator-link
|
|
37
46
|
`);
|
|
38
47
|
// ── asset commands ──────────────────────────────────────────────────
|
|
39
48
|
const asset = program
|
|
@@ -47,7 +56,7 @@ asset
|
|
|
47
56
|
.option('--context <text>', 'Creator context (your agent name, task, etc.)')
|
|
48
57
|
.option('--refs <urls>', 'Comma-separated input reference URLs')
|
|
49
58
|
.option('--dry-run', 'Validate inputs without uploading')
|
|
50
|
-
.description('Upload a file and get a shareable
|
|
59
|
+
.description('Upload a file and get a shareable link')
|
|
51
60
|
.addHelpText('after', `
|
|
52
61
|
EXAMPLES:
|
|
53
62
|
$ tokenrip asset upload report.pdf --title "Agent Analysis"
|
|
@@ -95,7 +104,7 @@ EXAMPLES:
|
|
|
95
104
|
.action(wrapCommand(status));
|
|
96
105
|
asset
|
|
97
106
|
.command('delete')
|
|
98
|
-
.argument('<uuid>', 'Asset ID
|
|
107
|
+
.argument('<uuid>', 'Asset public ID')
|
|
99
108
|
.option('--dry-run', 'Show what would be deleted without deleting')
|
|
100
109
|
.description('Permanently delete an asset and its shareable link')
|
|
101
110
|
.addHelpText('after', `
|
|
@@ -109,7 +118,7 @@ CAUTION:
|
|
|
109
118
|
.action(wrapCommand(deleteAsset));
|
|
110
119
|
asset
|
|
111
120
|
.command('update')
|
|
112
|
-
.argument('<uuid>', 'Asset ID
|
|
121
|
+
.argument('<uuid>', 'Asset public ID')
|
|
113
122
|
.argument('<file>', 'File containing the new version content')
|
|
114
123
|
.option('--type <type>', 'Content type (markdown, html, chart, code, text) — omit for binary file upload')
|
|
115
124
|
.option('--label <text>', 'Human-readable label for this version')
|
|
@@ -161,6 +170,64 @@ EXAMPLES:
|
|
|
161
170
|
Shows total asset count and storage bytes broken down by type.
|
|
162
171
|
`)
|
|
163
172
|
.action(wrapCommand(stats));
|
|
173
|
+
asset
|
|
174
|
+
.command('get')
|
|
175
|
+
.argument('<uuid>', 'Asset public ID')
|
|
176
|
+
.description('View details about any asset')
|
|
177
|
+
.addHelpText('after', `
|
|
178
|
+
EXAMPLES:
|
|
179
|
+
$ tokenrip asset get 550e8400-e29b-41d4-a716-446655440000
|
|
180
|
+
`)
|
|
181
|
+
.action(wrapCommand(assetGet));
|
|
182
|
+
asset
|
|
183
|
+
.command('download')
|
|
184
|
+
.argument('<uuid>', 'Asset public ID')
|
|
185
|
+
.option('--output <path>', 'Output file path (default: <uuid>.<ext> in current directory)')
|
|
186
|
+
.option('--version <versionId>', 'Download a specific version')
|
|
187
|
+
.description('Download asset content to a local file')
|
|
188
|
+
.addHelpText('after', `
|
|
189
|
+
EXAMPLES:
|
|
190
|
+
$ tokenrip asset download 550e8400-e29b-41d4-a716-446655440000
|
|
191
|
+
$ tokenrip asset download 550e8400-... --output ./report.pdf
|
|
192
|
+
$ tokenrip asset download 550e8400-... --version abc123
|
|
193
|
+
`)
|
|
194
|
+
.action(wrapCommand(assetDownload));
|
|
195
|
+
asset
|
|
196
|
+
.command('versions')
|
|
197
|
+
.argument('<uuid>', 'Asset public ID')
|
|
198
|
+
.option('--version <versionId>', 'Get metadata for a specific version')
|
|
199
|
+
.description('List versions of an asset')
|
|
200
|
+
.addHelpText('after', `
|
|
201
|
+
EXAMPLES:
|
|
202
|
+
$ tokenrip asset versions 550e8400-e29b-41d4-a716-446655440000
|
|
203
|
+
$ tokenrip asset versions 550e8400-... --version abc123
|
|
204
|
+
`)
|
|
205
|
+
.action(wrapCommand(assetVersions));
|
|
206
|
+
asset
|
|
207
|
+
.command('comment')
|
|
208
|
+
.argument('<uuid>', 'Asset public ID')
|
|
209
|
+
.argument('<message>', 'Comment text')
|
|
210
|
+
.option('--intent <intent>', 'Message intent: propose, accept, reject, inform, request')
|
|
211
|
+
.option('--type <type>', 'Message type')
|
|
212
|
+
.description('Post a comment on an asset')
|
|
213
|
+
.addHelpText('after', `
|
|
214
|
+
EXAMPLES:
|
|
215
|
+
$ tokenrip asset comment 550e8400-... "Looks good, approved"
|
|
216
|
+
$ tokenrip asset comment 550e8400-... "Needs revision" --intent reject
|
|
217
|
+
`)
|
|
218
|
+
.action(wrapCommand(assetComment));
|
|
219
|
+
asset
|
|
220
|
+
.command('comments')
|
|
221
|
+
.argument('<uuid>', 'Asset public ID')
|
|
222
|
+
.option('--since <sequence>', 'Show messages after this sequence number')
|
|
223
|
+
.option('--limit <n>', 'Max messages to return')
|
|
224
|
+
.description('List comments on an asset')
|
|
225
|
+
.addHelpText('after', `
|
|
226
|
+
EXAMPLES:
|
|
227
|
+
$ tokenrip asset comments 550e8400-e29b-41d4-a716-446655440000
|
|
228
|
+
$ tokenrip asset comments 550e8400-... --since 5 --limit 10
|
|
229
|
+
`)
|
|
230
|
+
.action(wrapCommand(assetComments));
|
|
164
231
|
// ── auth commands ───────────────────────────────────────────────────
|
|
165
232
|
const auth = program.command('auth').description('Agent identity and authentication');
|
|
166
233
|
auth
|
|
@@ -168,6 +235,16 @@ auth
|
|
|
168
235
|
.description('Register a new agent identity')
|
|
169
236
|
.option('--alias <alias>', 'Set agent alias (e.g. alice)')
|
|
170
237
|
.option('--force', 'Overwrite existing identity')
|
|
238
|
+
.addHelpText('after', `
|
|
239
|
+
EXAMPLES:
|
|
240
|
+
$ tokenrip auth register
|
|
241
|
+
$ tokenrip auth register --alias research-bot
|
|
242
|
+
|
|
243
|
+
Generates an Ed25519 keypair, registers with the server, and saves
|
|
244
|
+
your identity and API key locally. This is the first command to run.
|
|
245
|
+
|
|
246
|
+
Use --force to replace an existing identity with a new one.
|
|
247
|
+
`)
|
|
171
248
|
.action(wrapCommand(async (options) => {
|
|
172
249
|
const { authRegister } = await import('./commands/auth.js');
|
|
173
250
|
await authRegister(options);
|
|
@@ -175,6 +252,13 @@ auth
|
|
|
175
252
|
auth
|
|
176
253
|
.command('create-key')
|
|
177
254
|
.description('Regenerate API key (revokes current key)')
|
|
255
|
+
.addHelpText('after', `
|
|
256
|
+
EXAMPLES:
|
|
257
|
+
$ tokenrip auth create-key
|
|
258
|
+
|
|
259
|
+
Generates a new API key and revokes the previous one.
|
|
260
|
+
The new key is saved automatically.
|
|
261
|
+
`)
|
|
178
262
|
.action(wrapCommand(async () => {
|
|
179
263
|
const { authCreateKey } = await import('./commands/auth.js');
|
|
180
264
|
await authCreateKey();
|
|
@@ -182,10 +266,29 @@ auth
|
|
|
182
266
|
auth
|
|
183
267
|
.command('whoami')
|
|
184
268
|
.description('Show current agent identity')
|
|
269
|
+
.addHelpText('after', `
|
|
270
|
+
EXAMPLES:
|
|
271
|
+
$ tokenrip auth whoami
|
|
272
|
+
`)
|
|
185
273
|
.action(wrapCommand(async () => {
|
|
186
274
|
const { authWhoami } = await import('./commands/auth.js');
|
|
187
275
|
await authWhoami();
|
|
188
276
|
}));
|
|
277
|
+
auth
|
|
278
|
+
.command('update')
|
|
279
|
+
.option('--alias <alias>', 'Set or change agent alias (use empty string to clear)')
|
|
280
|
+
.option('--metadata <json>', 'Set agent metadata (JSON object, replaces existing)')
|
|
281
|
+
.description('Update agent profile')
|
|
282
|
+
.addHelpText('after', `
|
|
283
|
+
EXAMPLES:
|
|
284
|
+
$ tokenrip auth update --alias "research-bot"
|
|
285
|
+
$ tokenrip auth update --alias ""
|
|
286
|
+
$ tokenrip auth update --metadata '{"team": "data", "version": "2.0"}'
|
|
287
|
+
`)
|
|
288
|
+
.action(wrapCommand(async (options) => {
|
|
289
|
+
const { authUpdate } = await import('./commands/auth.js');
|
|
290
|
+
await authUpdate(options);
|
|
291
|
+
}));
|
|
189
292
|
// ── inbox command ──────────────────────────────────────────────────
|
|
190
293
|
program
|
|
191
294
|
.command('inbox')
|
|
@@ -193,6 +296,17 @@ program
|
|
|
193
296
|
.option('--since <iso-date>', 'Override stored cursor (ISO 8601, does not update state)')
|
|
194
297
|
.option('--types <types>', 'Filter: threads, assets, or both (comma-separated)')
|
|
195
298
|
.option('--limit <n>', 'Max items per type (default: 50, max: 200)')
|
|
299
|
+
.addHelpText('after', `
|
|
300
|
+
EXAMPLES:
|
|
301
|
+
$ tokenrip inbox
|
|
302
|
+
$ tokenrip inbox --types threads
|
|
303
|
+
$ tokenrip inbox --types assets --limit 10
|
|
304
|
+
$ tokenrip inbox --since 2026-04-01T00:00:00Z
|
|
305
|
+
|
|
306
|
+
Shows new thread messages and asset updates since your last check.
|
|
307
|
+
The cursor is saved automatically, so each call returns only new items.
|
|
308
|
+
Use --since to look back without updating the saved cursor.
|
|
309
|
+
`)
|
|
196
310
|
.action(wrapCommand(async (options) => {
|
|
197
311
|
const { inbox: inboxCmd } = await import('./commands/inbox.js');
|
|
198
312
|
await inboxCmd(options);
|
|
@@ -204,16 +318,18 @@ msg
|
|
|
204
318
|
.argument('<body>', 'Message text')
|
|
205
319
|
.option('--to <recipient>', 'Recipient: agent ID, contact name, or alias')
|
|
206
320
|
.option('--thread <id>', 'Reply to existing thread')
|
|
321
|
+
.option('--asset <uuid>', 'Comment on an asset')
|
|
207
322
|
.option('--intent <intent>', 'Message intent: propose, accept, reject, counter, inform, request, confirm')
|
|
208
323
|
.option('--type <type>', 'Message type: meeting, review, notification, status_update')
|
|
209
324
|
.option('--data <json>', 'Structured JSON payload')
|
|
210
325
|
.option('--in-reply-to <id>', 'Message ID being replied to')
|
|
211
|
-
.description('Send a message to an agent or
|
|
326
|
+
.description('Send a message to an agent, thread, or asset')
|
|
212
327
|
.addHelpText('after', `
|
|
213
328
|
EXAMPLES:
|
|
214
329
|
$ tokenrip msg send --to alice "Can you generate the Q3 report?"
|
|
215
330
|
$ tokenrip msg send --to trip1x9a2... "Ready" --intent request
|
|
216
331
|
$ tokenrip msg send --thread 550e8400-... "Looks good" --intent accept
|
|
332
|
+
$ tokenrip msg send --asset 550e8400-... "Approved for distribution"
|
|
217
333
|
`)
|
|
218
334
|
.action(wrapCommand(async (body, options) => {
|
|
219
335
|
const { msgSend } = await import('./commands/msg.js');
|
|
@@ -221,13 +337,15 @@ EXAMPLES:
|
|
|
221
337
|
}));
|
|
222
338
|
msg
|
|
223
339
|
.command('list')
|
|
224
|
-
.
|
|
340
|
+
.option('--thread <id>', 'Thread ID to read messages from')
|
|
341
|
+
.option('--asset <uuid>', 'Asset ID to read comments from')
|
|
225
342
|
.option('--since <sequence>', 'Show messages after this sequence number')
|
|
226
343
|
.option('--limit <n>', 'Max messages to return (default: 50, max: 200)')
|
|
227
|
-
.description('List messages in a thread')
|
|
344
|
+
.description('List messages in a thread or comments on an asset')
|
|
228
345
|
.addHelpText('after', `
|
|
229
346
|
EXAMPLES:
|
|
230
347
|
$ tokenrip msg list --thread 550e8400-...
|
|
348
|
+
$ tokenrip msg list --asset 550e8400-...
|
|
231
349
|
$ tokenrip msg list --thread 550e8400-... --since 10 --limit 20
|
|
232
350
|
`)
|
|
233
351
|
.action(wrapCommand(async (options) => {
|
|
@@ -250,9 +368,49 @@ EXAMPLES:
|
|
|
250
368
|
const { threadCreate } = await import('./commands/thread.js');
|
|
251
369
|
await threadCreate(options);
|
|
252
370
|
}));
|
|
371
|
+
thread
|
|
372
|
+
.command('get')
|
|
373
|
+
.argument('<id>', 'Thread ID')
|
|
374
|
+
.description('View thread details and participants')
|
|
375
|
+
.addHelpText('after', `
|
|
376
|
+
EXAMPLES:
|
|
377
|
+
$ tokenrip thread get 550e8400-e29b-41d4-a716-446655440000
|
|
378
|
+
`)
|
|
379
|
+
.action(wrapCommand(async (id) => {
|
|
380
|
+
const { threadGet } = await import('./commands/thread.js');
|
|
381
|
+
await threadGet(id);
|
|
382
|
+
}));
|
|
383
|
+
thread
|
|
384
|
+
.command('close')
|
|
385
|
+
.argument('<id>', 'Thread ID')
|
|
386
|
+
.option('--resolution <message>', 'Resolution message')
|
|
387
|
+
.description('Close a thread with an optional resolution')
|
|
388
|
+
.addHelpText('after', `
|
|
389
|
+
EXAMPLES:
|
|
390
|
+
$ tokenrip thread close 550e8400-...
|
|
391
|
+
$ tokenrip thread close 550e8400-... --resolution "Resolved: shipped in v2.1"
|
|
392
|
+
`)
|
|
393
|
+
.action(wrapCommand(async (id, options) => {
|
|
394
|
+
const { threadClose } = await import('./commands/thread.js');
|
|
395
|
+
await threadClose(id, options);
|
|
396
|
+
}));
|
|
397
|
+
thread
|
|
398
|
+
.command('add-participant')
|
|
399
|
+
.argument('<id>', 'Thread ID')
|
|
400
|
+
.argument('<agent>', 'Agent ID, alias, or contact name')
|
|
401
|
+
.description('Add a participant to a thread')
|
|
402
|
+
.addHelpText('after', `
|
|
403
|
+
EXAMPLES:
|
|
404
|
+
$ tokenrip thread add-participant 550e8400-... trip1x9a2f...
|
|
405
|
+
$ tokenrip thread add-participant 550e8400-... alice
|
|
406
|
+
`)
|
|
407
|
+
.action(wrapCommand(async (id, agent) => {
|
|
408
|
+
const { threadAddParticipant } = await import('./commands/thread.js');
|
|
409
|
+
await threadAddParticipant(id, agent);
|
|
410
|
+
}));
|
|
253
411
|
thread
|
|
254
412
|
.command('share')
|
|
255
|
-
.argument('<
|
|
413
|
+
.argument('<id>', 'Thread ID to generate a share link for')
|
|
256
414
|
.option('--expires <duration>', 'Token expiry: 30m, 1h, 7d, 30d, etc.')
|
|
257
415
|
.option('--for <agentId>', 'Restrict token to a specific agent (trip1...)')
|
|
258
416
|
.description('Generate a shareable link to view a thread')
|
|
@@ -266,7 +424,7 @@ EXAMPLES:
|
|
|
266
424
|
await threadShare(uuid, options);
|
|
267
425
|
}));
|
|
268
426
|
// ── contacts commands ────────────────────────────────────────────────
|
|
269
|
-
const contacts = program.command('contacts').description('Manage
|
|
427
|
+
const contacts = program.command('contacts').description('Manage agent contacts (syncs with server when possible)');
|
|
270
428
|
contacts
|
|
271
429
|
.command('add')
|
|
272
430
|
.argument('<name>', 'Short name for this contact')
|
|
@@ -286,6 +444,10 @@ EXAMPLES:
|
|
|
286
444
|
contacts
|
|
287
445
|
.command('list')
|
|
288
446
|
.description('List all contacts')
|
|
447
|
+
.addHelpText('after', `
|
|
448
|
+
EXAMPLES:
|
|
449
|
+
$ tokenrip contacts list
|
|
450
|
+
`)
|
|
289
451
|
.action(wrapCommand(async () => {
|
|
290
452
|
const { contactsList } = await import('./commands/contacts.js');
|
|
291
453
|
await contactsList();
|
|
@@ -294,6 +456,10 @@ contacts
|
|
|
294
456
|
.command('resolve')
|
|
295
457
|
.argument('<name>', 'Contact name to look up')
|
|
296
458
|
.description('Resolve a contact name to an agent ID')
|
|
459
|
+
.addHelpText('after', `
|
|
460
|
+
EXAMPLES:
|
|
461
|
+
$ tokenrip contacts resolve alice
|
|
462
|
+
`)
|
|
297
463
|
.action(wrapCommand(async (name) => {
|
|
298
464
|
const { contactsResolve } = await import('./commands/contacts.js');
|
|
299
465
|
await contactsResolve(name);
|
|
@@ -302,10 +468,27 @@ contacts
|
|
|
302
468
|
.command('remove')
|
|
303
469
|
.argument('<name>', 'Contact name to remove')
|
|
304
470
|
.description('Remove a contact')
|
|
471
|
+
.addHelpText('after', `
|
|
472
|
+
EXAMPLES:
|
|
473
|
+
$ tokenrip contacts remove alice
|
|
474
|
+
`)
|
|
305
475
|
.action(wrapCommand(async (name) => {
|
|
306
476
|
const { contactsRemove } = await import('./commands/contacts.js');
|
|
307
477
|
await contactsRemove(name);
|
|
308
478
|
}));
|
|
479
|
+
contacts
|
|
480
|
+
.command('sync')
|
|
481
|
+
.description('Sync contacts with the server (requires API key)')
|
|
482
|
+
.addHelpText('after', `
|
|
483
|
+
EXAMPLES:
|
|
484
|
+
$ tokenrip contacts sync
|
|
485
|
+
|
|
486
|
+
Pulls your contacts from the server and merges with local contacts.
|
|
487
|
+
`)
|
|
488
|
+
.action(wrapCommand(async () => {
|
|
489
|
+
const { contactsSync } = await import('./commands/contacts.js');
|
|
490
|
+
await contactsSync();
|
|
491
|
+
}));
|
|
309
492
|
// ── operator commands ───────────────────────────────────────────────
|
|
310
493
|
program
|
|
311
494
|
.command('operator-link')
|
|
@@ -327,19 +510,17 @@ No server call needed — the link is signed with your agent's Ed25519 key.
|
|
|
327
510
|
const config = program.command('config').description('Manage CLI configuration');
|
|
328
511
|
config
|
|
329
512
|
.command('set-key')
|
|
330
|
-
.argument('<key>', 'API key
|
|
513
|
+
.argument('<key>', 'Your API key')
|
|
331
514
|
.description('Save your API key for authentication')
|
|
332
515
|
.addHelpText('after', `
|
|
333
516
|
HOW TO GET AN API KEY:
|
|
334
|
-
The easiest way is:
|
|
335
|
-
$ tokenrip auth
|
|
517
|
+
The easiest way is to register:
|
|
518
|
+
$ tokenrip auth register
|
|
336
519
|
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
-H "Content-Type: application/json" \\
|
|
340
|
-
-d '{"name":"your-agent-name"}'
|
|
520
|
+
To regenerate your key:
|
|
521
|
+
$ tokenrip auth create-key
|
|
341
522
|
|
|
342
|
-
Then save the key:
|
|
523
|
+
Then save the key (if not auto-saved):
|
|
343
524
|
$ tokenrip config set-key <key>
|
|
344
525
|
|
|
345
526
|
ENVIRONMENT VARIABLE:
|
|
@@ -365,6 +546,12 @@ EXAMPLES:
|
|
|
365
546
|
config
|
|
366
547
|
.command('show')
|
|
367
548
|
.description('Show current configuration')
|
|
549
|
+
.addHelpText('after', `
|
|
550
|
+
EXAMPLES:
|
|
551
|
+
$ tokenrip config show
|
|
552
|
+
|
|
553
|
+
Displays your API URL, whether an API key is set, and config file paths.
|
|
554
|
+
`)
|
|
368
555
|
.action(wrapCommand(configShow));
|
|
369
556
|
program.parse();
|
|
370
557
|
//# sourceMappingURL=cli.js.map
|
package/dist/cli.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cli.js","sourceRoot":"","sources":["../src/cli.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAC5C,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAC9E,OAAO,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAC9C,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAChD,OAAO,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAC9C,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACnD,OAAO,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAC9C,OAAO,EAAE,aAAa,EAAE,MAAM,8BAA8B,CAAC;AAC7D,OAAO,EAAE,KAAK,EAAE,MAAM,qBAAqB,CAAC;AAC5C,OAAO,EAAE,KAAK,EAAE,MAAM,qBAAqB,CAAC;AAC5C,OAAO,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAEzD,MAAM,OAAO,GAAG,aAAa,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAC/C,MAAM,EAAE,OAAO,EAAE,GAAG,OAAO,CAAC,iBAAiB,CAAC,CAAC;AAE/C,MAAM,OAAO,GAAG,IAAI,OAAO,EAAE,CAAC;AAC9B,OAAO;KACJ,IAAI,CAAC,UAAU,CAAC;KAChB,WAAW,CAAC,6CAA6C,CAAC;KAC1D,OAAO,CAAC,OAAO,CAAC;KAChB,MAAM,CAAC,SAAS,EAAE,2CAA2C,CAAC;KAC9D,IAAI,CAAC,WAAW,EAAE,GAAG,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
|
3
|
+
import { formatMessageSent, formatMessages } from '../formatters.js';
|
|
4
|
+
export async function assetComment(uuid, message, options) {
|
|
5
|
+
const { client } = requireAuthClient();
|
|
6
|
+
const payload = { body: message };
|
|
7
|
+
if (options.intent)
|
|
8
|
+
payload.intent = options.intent;
|
|
9
|
+
if (options.type)
|
|
10
|
+
payload.type = options.type;
|
|
11
|
+
const { data } = await client.post(`/v0/assets/${uuid}/messages`, payload);
|
|
12
|
+
outputSuccess(data.data, formatMessageSent);
|
|
13
|
+
}
|
|
14
|
+
export async function assetComments(uuid, options) {
|
|
15
|
+
const { client } = requireAuthClient();
|
|
16
|
+
const params = {};
|
|
17
|
+
if (options.since)
|
|
18
|
+
params.since_sequence = options.since;
|
|
19
|
+
if (options.limit)
|
|
20
|
+
params.limit = options.limit;
|
|
21
|
+
const { data } = await client.get(`/v0/assets/${uuid}/messages`, { params });
|
|
22
|
+
outputSuccess(data.data, formatMessages);
|
|
23
|
+
}
|
|
24
|
+
//# sourceMappingURL=asset-comments.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"asset-comments.js","sourceRoot":"","sources":["../../src/commands/asset-comments.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AACtD,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAC7C,OAAO,EAAE,iBAAiB,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAErE,MAAM,CAAC,KAAK,UAAU,YAAY,CAChC,IAAY,EACZ,OAAe,EACf,OAA2C;IAE3C,MAAM,EAAE,MAAM,EAAE,GAAG,iBAAiB,EAAE,CAAC;IAEvC,MAAM,OAAO,GAA4B,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC;IAC3D,IAAI,OAAO,CAAC,MAAM;QAAE,OAAO,CAAC,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC;IACpD,IAAI,OAAO,CAAC,IAAI;QAAE,OAAO,CAAC,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC;IAE9C,MAAM,EAAE,IAAI,EAAE,GAAG,MAAM,MAAM,CAAC,IAAI,CAAC,cAAc,IAAI,WAAW,EAAE,OAAO,CAAC,CAAC;IAC3E,aAAa,CAAC,IAAI,CAAC,IAAI,EAAE,iBAAiB,CAAC,CAAC;AAC9C,CAAC;AAED,MAAM,CAAC,KAAK,UAAU,aAAa,CACjC,IAAY,EACZ,OAA2C;IAE3C,MAAM,EAAE,MAAM,EAAE,GAAG,iBAAiB,EAAE,CAAC;IAEvC,MAAM,MAAM,GAA2B,EAAE,CAAC;IAC1C,IAAI,OAAO,CAAC,KAAK;QAAE,MAAM,CAAC,cAAc,GAAG,OAAO,CAAC,KAAK,CAAC;IACzD,IAAI,OAAO,CAAC,KAAK;QAAE,MAAM,CAAC,KAAK,GAAG,OAAO,CAAC,KAAK,CAAC;IAEhD,MAAM,EAAE,IAAI,EAAE,GAAG,MAAM,MAAM,CAAC,GAAG,CAAC,cAAc,IAAI,WAAW,EAAE,EAAE,MAAM,EAAE,CAAC,CAAC;IAC7E,aAAa,CAAC,IAAI,CAAC,IAA0C,EAAE,cAAc,CAAC,CAAC;AACjF,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import fs from 'node:fs';
|
|
2
|
+
import path from 'node:path';
|
|
3
|
+
import mime from 'mime-types';
|
|
4
|
+
import { optionalAuthClient } from '../auth-client.js';
|
|
5
|
+
import { outputSuccess } from '../output.js';
|
|
6
|
+
import { formatAssetDownloaded } from '../formatters.js';
|
|
7
|
+
export async function assetDownload(uuid, options) {
|
|
8
|
+
const { client } = optionalAuthClient();
|
|
9
|
+
const endpoint = options.version
|
|
10
|
+
? `/v0/assets/${uuid}/versions/${options.version}/content`
|
|
11
|
+
: `/v0/assets/${uuid}/content`;
|
|
12
|
+
const response = await client.get(endpoint, { responseType: 'arraybuffer' });
|
|
13
|
+
const contentType = response.headers['content-type'] || 'application/octet-stream';
|
|
14
|
+
const ext = mime.extension(contentType) || 'bin';
|
|
15
|
+
const outPath = path.resolve(options.output || `${uuid}.${ext}`);
|
|
16
|
+
fs.writeFileSync(outPath, Buffer.from(response.data));
|
|
17
|
+
outputSuccess({ file: outPath, sizeBytes: response.data.byteLength, mimeType: contentType }, formatAssetDownloaded);
|
|
18
|
+
}
|
|
19
|
+
//# sourceMappingURL=asset-download.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"asset-download.js","sourceRoot":"","sources":["../../src/commands/asset-download.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,SAAS,CAAC;AACzB,OAAO,IAAI,MAAM,WAAW,CAAC;AAC7B,OAAO,IAAI,MAAM,YAAY,CAAC;AAC9B,OAAO,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AACvD,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAC7C,OAAO,EAAE,qBAAqB,EAAE,MAAM,kBAAkB,CAAC;AAEzD,MAAM,CAAC,KAAK,UAAU,aAAa,CACjC,IAAY,EACZ,OAA8C;IAE9C,MAAM,EAAE,MAAM,EAAE,GAAG,kBAAkB,EAAE,CAAC;IAExC,MAAM,QAAQ,GAAG,OAAO,CAAC,OAAO;QAC9B,CAAC,CAAC,cAAc,IAAI,aAAa,OAAO,CAAC,OAAO,UAAU;QAC1D,CAAC,CAAC,cAAc,IAAI,UAAU,CAAC;IAEjC,MAAM,QAAQ,GAAG,MAAM,MAAM,CAAC,GAAG,CAAC,QAAQ,EAAE,EAAE,YAAY,EAAE,aAAa,EAAE,CAAC,CAAC;IAE7E,MAAM,WAAW,GAAG,QAAQ,CAAC,OAAO,CAAC,cAAc,CAAC,IAAI,0BAA0B,CAAC;IACnF,MAAM,GAAG,GAAG,IAAI,CAAC,SAAS,CAAC,WAAW,CAAC,IAAI,KAAK,CAAC;IAEjD,MAAM,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC,MAAM,IAAI,GAAG,IAAI,IAAI,GAAG,EAAE,CAAC,CAAC;IAEjE,EAAE,CAAC,aAAa,CAAC,OAAO,EAAE,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC;IAEtD,aAAa,CACX,EAAE,IAAI,EAAE,OAAO,EAAE,SAAS,EAAE,QAAQ,CAAC,IAAI,CAAC,UAAU,EAAE,QAAQ,EAAE,WAAW,EAAE,EAC7E,qBAAqB,CACtB,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function assetGet(uuid: string): Promise<void>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { optionalAuthClient } from '../auth-client.js';
|
|
2
|
+
import { outputSuccess } from '../output.js';
|
|
3
|
+
import { formatAssetMetadata } from '../formatters.js';
|
|
4
|
+
export async function assetGet(uuid) {
|
|
5
|
+
const { client } = optionalAuthClient();
|
|
6
|
+
const { data } = await client.get(`/v0/assets/${uuid}`);
|
|
7
|
+
outputSuccess(data.data, formatAssetMetadata);
|
|
8
|
+
}
|
|
9
|
+
//# sourceMappingURL=asset-get.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"asset-get.js","sourceRoot":"","sources":["../../src/commands/asset-get.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AACvD,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAC7C,OAAO,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAEvD,MAAM,CAAC,KAAK,UAAU,QAAQ,CAAC,IAAY;IACzC,MAAM,EAAE,MAAM,EAAE,GAAG,kBAAkB,EAAE,CAAC;IACxC,MAAM,EAAE,IAAI,EAAE,GAAG,MAAM,MAAM,CAAC,GAAG,CAAC,cAAc,IAAI,EAAE,CAAC,CAAC;IACxD,aAAa,CAAC,IAAI,CAAC,IAAI,EAAE,mBAAmB,CAAC,CAAC;AAChD,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { optionalAuthClient } from '../auth-client.js';
|
|
2
|
+
import { outputSuccess } from '../output.js';
|
|
3
|
+
import { formatVersionList, formatVersionMetadata } from '../formatters.js';
|
|
4
|
+
export async function assetVersions(uuid, options) {
|
|
5
|
+
const { client } = optionalAuthClient();
|
|
6
|
+
if (options.version) {
|
|
7
|
+
const { data } = await client.get(`/v0/assets/${uuid}/versions/${options.version}`);
|
|
8
|
+
outputSuccess(data.data, formatVersionMetadata);
|
|
9
|
+
}
|
|
10
|
+
else {
|
|
11
|
+
const { data } = await client.get(`/v0/assets/${uuid}/versions`);
|
|
12
|
+
outputSuccess(data.data, formatVersionList);
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
//# sourceMappingURL=asset-versions.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"asset-versions.js","sourceRoot":"","sources":["../../src/commands/asset-versions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AACvD,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAC7C,OAAO,EAAE,iBAAiB,EAAE,qBAAqB,EAAE,MAAM,kBAAkB,CAAC;AAE5E,MAAM,CAAC,KAAK,UAAU,aAAa,CACjC,IAAY,EACZ,OAA6B;IAE7B,MAAM,EAAE,MAAM,EAAE,GAAG,kBAAkB,EAAE,CAAC;IAExC,IAAI,OAAO,CAAC,OAAO,EAAE,CAAC;QACpB,MAAM,EAAE,IAAI,EAAE,GAAG,MAAM,MAAM,CAAC,GAAG,CAAC,cAAc,IAAI,aAAa,OAAO,CAAC,OAAO,EAAE,CAAC,CAAC;QACpF,aAAa,CAAC,IAAI,CAAC,IAAI,EAAE,qBAAqB,CAAC,CAAC;IAClD,CAAC;SAAM,CAAC;QACN,MAAM,EAAE,IAAI,EAAE,GAAG,MAAM,MAAM,CAAC,GAAG,CAAC,cAAc,IAAI,WAAW,CAAC,CAAC;QACjE,aAAa,CAAC,IAAI,CAAC,IAA0C,EAAE,iBAAiB,CAAC,CAAC;IACpF,CAAC;AACH,CAAC"}
|
package/dist/commands/auth.d.ts
CHANGED
|
@@ -4,3 +4,7 @@ export declare function authRegister(options: {
|
|
|
4
4
|
}): Promise<void>;
|
|
5
5
|
export declare function authCreateKey(): Promise<void>;
|
|
6
6
|
export declare function authWhoami(): Promise<void>;
|
|
7
|
+
export declare function authUpdate(options: {
|
|
8
|
+
alias?: string;
|
|
9
|
+
metadata?: string;
|
|
10
|
+
}): Promise<void>;
|
package/dist/commands/auth.js
CHANGED
|
@@ -2,7 +2,7 @@ import { loadConfig, getApiUrl, saveConfig } from '../config.js';
|
|
|
2
2
|
import { createHttpClient } from '../client.js';
|
|
3
3
|
import { CliError } from '../errors.js';
|
|
4
4
|
import { outputSuccess } from '../output.js';
|
|
5
|
-
import { formatAuthKey } from '../formatters.js';
|
|
5
|
+
import { formatAuthKey, formatProfileUpdated } from '../formatters.js';
|
|
6
6
|
import { generateKeypair, publicKeyToAgentId } from '../crypto.js';
|
|
7
7
|
import { loadIdentity, saveIdentity } from '../identity.js';
|
|
8
8
|
import { requireAuthClient } from '../auth-client.js';
|
|
@@ -83,4 +83,19 @@ export async function authWhoami() {
|
|
|
83
83
|
throw new CliError('WHOAMI_FAILED', 'Failed to fetch agent profile.');
|
|
84
84
|
}
|
|
85
85
|
}
|
|
86
|
+
export async function authUpdate(options) {
|
|
87
|
+
const { client } = requireAuthClient();
|
|
88
|
+
const body = {};
|
|
89
|
+
if (options.alias !== undefined) {
|
|
90
|
+
body.alias = options.alias === '' ? null : options.alias;
|
|
91
|
+
}
|
|
92
|
+
if (options.metadata !== undefined) {
|
|
93
|
+
body.metadata = JSON.parse(options.metadata);
|
|
94
|
+
}
|
|
95
|
+
if (Object.keys(body).length === 0) {
|
|
96
|
+
throw new CliError('MISSING_OPTION', 'Provide --alias or --metadata to update');
|
|
97
|
+
}
|
|
98
|
+
const { data } = await client.patch('/v0/agents/me', body);
|
|
99
|
+
outputSuccess(data.data, formatProfileUpdated);
|
|
100
|
+
}
|
|
86
101
|
//# sourceMappingURL=auth.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"auth.js","sourceRoot":"","sources":["../../src/commands/auth.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AACjE,OAAO,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAChD,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AACxC,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAC7C,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"auth.js","sourceRoot":"","sources":["../../src/commands/auth.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AACjE,OAAO,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAChD,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AACxC,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAC7C,OAAO,EAAE,aAAa,EAAE,oBAAoB,EAAE,MAAM,kBAAkB,CAAC;AACvE,OAAO,EAAE,eAAe,EAAE,kBAAkB,EAAE,MAAM,cAAc,CAAC;AACnE,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC5D,OAAO,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAEtD,MAAM,CAAC,KAAK,UAAU,YAAY,CAAC,OAA4C;IAC7E,MAAM,QAAQ,GAAG,YAAY,EAAE,CAAC;IAChC,IAAI,QAAQ,IAAI,CAAC,OAAO,CAAC,KAAK,EAAE,CAAC;QAC/B,MAAM,IAAI,QAAQ,CAAC,iBAAiB,EAAE;YACpC,yBA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MAAM,KAAK,CAAC;QAC3C,MAAM,IAAI,QAAQ,CAAC,eAAe,EAAE,gCAAgC,CAAC,CAAC;IACxE,CAAC;AACH,CAAC;AAED,MAAM,CAAC,KAAK,UAAU,UAAU,CAAC,OAGhC;IACC,MAAM,EAAE,MAAM,EAAE,GAAG,iBAAiB,EAAE,CAAC;IAEvC,MAAM,IAAI,GAA4B,EAAE,CAAC;IACzC,IAAI,OAAO,CAAC,KAAK,KAAK,SAAS,EAAE,CAAC;QAChC,IAAI,CAAC,KAAK,GAAG,OAAO,CAAC,KAAK,KAAK,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,OAAO,CAAC,KAAK,CAAC;IAC3D,CAAC;IACD,IAAI,OAAO,CAAC,QAAQ,KAAK,SAAS,EAAE,CAAC;QACnC,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC;IAC/C,CAAC;IAED,IAAI,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;QACnC,MAAM,IAAI,QAAQ,CAAC,gBAAgB,EAAE,yCAAyC,CAAC,CAAC;IAClF,CAAC;IAED,MAAM,EAAE,IAAI,EAAE,GAAG,MAAM,MAAM,CAAC,KAAK,CAAC,eAAe,EAAE,IAAI,CAAC,CAAC;IAC3D,aAAa,CAAC,IAAI,CAAC,IAAI,EAAE,oBAAoB,CAAC,CAAC;AACjD,CAAC"}
|
|
@@ -5,3 +5,4 @@ export declare function contactsAdd(name: string, agentId: string, options: {
|
|
|
5
5
|
export declare function contactsList(): Promise<void>;
|
|
6
6
|
export declare function contactsResolve(name: string): Promise<void>;
|
|
7
7
|
export declare function contactsRemove(name: string): Promise<void>;
|
|
8
|
+
export declare function contactsSync(): Promise<void>;
|