@skrr-ai/cli 0.1.204 → 0.1.206
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/bin/dev-fallback.js +47 -29
- package/bin/dev.cjs +6 -0
- package/dist/commands/agent/message/send.d.ts +7 -1
- package/dist/commands/agent/message/send.js +13 -0
- package/dist/commands/convos/transcript.d.ts +48 -0
- package/dist/commands/convos/transcript.js +461 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/firstPartyHarness.d.ts +16 -15
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/firstPartyHarness.js +0 -22
- package/dist/node_modules/@skrr-ai/auth-core/dist/esm/firstPartyHarness.d.ts +16 -15
- package/dist/node_modules/@skrr-ai/auth-core/dist/esm/firstPartyHarness.js +0 -22
- package/dist/node_modules/@skrr-ai/data-provider/index.js +11469 -11392
- package/oclif.manifest.json +113 -1
- package/package.json +6 -3
package/oclif.manifest.json
CHANGED
|
@@ -38133,6 +38133,118 @@
|
|
|
38133
38133
|
"show.js"
|
|
38134
38134
|
]
|
|
38135
38135
|
},
|
|
38136
|
+
"convos:transcript": {
|
|
38137
|
+
"aliases": [],
|
|
38138
|
+
"args": {
|
|
38139
|
+
"id": {
|
|
38140
|
+
"description": "Conversation ID",
|
|
38141
|
+
"name": "id",
|
|
38142
|
+
"required": true
|
|
38143
|
+
}
|
|
38144
|
+
},
|
|
38145
|
+
"description": "Read a conversation's whole session: messages, turns and the agent's messages",
|
|
38146
|
+
"examples": [
|
|
38147
|
+
"<%= config.bin %> convos transcript <conversationId>",
|
|
38148
|
+
"<%= config.bin %> convos transcript <conversationId> --limit 20 --cursor <nextCursor>",
|
|
38149
|
+
"<%= config.bin %> convos transcript <conversationId> --around latest --limit 20",
|
|
38150
|
+
"<%= config.bin %> convos transcript <conversationId> --around <messageId>",
|
|
38151
|
+
"<%= config.bin %> convos transcript <conversationId> --turn <messageId>",
|
|
38152
|
+
"<%= config.bin %> convos transcript <conversationId> --json"
|
|
38153
|
+
],
|
|
38154
|
+
"flags": {
|
|
38155
|
+
"bare": {
|
|
38156
|
+
"description": "Bare mode — ignore keychain/file credential sources. Token must come from env or --token.",
|
|
38157
|
+
"name": "bare",
|
|
38158
|
+
"allowNo": false,
|
|
38159
|
+
"type": "boolean"
|
|
38160
|
+
},
|
|
38161
|
+
"token": {
|
|
38162
|
+
"description": "Bearer token for this invocation (debugging/impersonation). Overrides env and stored creds.",
|
|
38163
|
+
"name": "token",
|
|
38164
|
+
"hasDynamicHelp": false,
|
|
38165
|
+
"multiple": false,
|
|
38166
|
+
"type": "option"
|
|
38167
|
+
},
|
|
38168
|
+
"workspace": {
|
|
38169
|
+
"description": "Workspace ID for workspace-scoped requests (also sets X-Workspace-Id).",
|
|
38170
|
+
"name": "workspace",
|
|
38171
|
+
"hasDynamicHelp": false,
|
|
38172
|
+
"multiple": false,
|
|
38173
|
+
"type": "option"
|
|
38174
|
+
},
|
|
38175
|
+
"profile": {
|
|
38176
|
+
"description": "Which stored session to use. Each profile keeps its own credential and deployment, so signing into one does not sign you out of another. Also OVERSKY_PROFILE. List them with `profiles list`.",
|
|
38177
|
+
"name": "profile",
|
|
38178
|
+
"hasDynamicHelp": false,
|
|
38179
|
+
"multiple": false,
|
|
38180
|
+
"type": "option"
|
|
38181
|
+
},
|
|
38182
|
+
"raw": {
|
|
38183
|
+
"description": "With --json, keep the Mongo storage fields (_id next to id, __v) that the CLI otherwise strips. Also OVERSKY_CLI_RAW=1.",
|
|
38184
|
+
"name": "raw",
|
|
38185
|
+
"allowNo": false,
|
|
38186
|
+
"type": "boolean"
|
|
38187
|
+
},
|
|
38188
|
+
"json": {
|
|
38189
|
+
"description": "Print the API response as JSON",
|
|
38190
|
+
"name": "json",
|
|
38191
|
+
"allowNo": false,
|
|
38192
|
+
"type": "boolean"
|
|
38193
|
+
},
|
|
38194
|
+
"turn": {
|
|
38195
|
+
"description": "Print one turn's whole process (the turn's messageId)",
|
|
38196
|
+
"name": "turn",
|
|
38197
|
+
"hasDynamicHelp": false,
|
|
38198
|
+
"multiple": false,
|
|
38199
|
+
"type": "option"
|
|
38200
|
+
},
|
|
38201
|
+
"limit": {
|
|
38202
|
+
"description": "Items per page (1-100). Omit to read the whole session.",
|
|
38203
|
+
"name": "limit",
|
|
38204
|
+
"hasDynamicHelp": false,
|
|
38205
|
+
"multiple": false,
|
|
38206
|
+
"type": "option"
|
|
38207
|
+
},
|
|
38208
|
+
"cursor": {
|
|
38209
|
+
"description": "Cursor from a previous page's nextCursor (newer) or prevCursor (older)",
|
|
38210
|
+
"exclusive": [
|
|
38211
|
+
"around"
|
|
38212
|
+
],
|
|
38213
|
+
"name": "cursor",
|
|
38214
|
+
"hasDynamicHelp": false,
|
|
38215
|
+
"multiple": false,
|
|
38216
|
+
"type": "option"
|
|
38217
|
+
},
|
|
38218
|
+
"around": {
|
|
38219
|
+
"description": "Read one page around an item: `latest` for the newest page, or an item messageId",
|
|
38220
|
+
"exclusive": [
|
|
38221
|
+
"cursor"
|
|
38222
|
+
],
|
|
38223
|
+
"name": "around",
|
|
38224
|
+
"hasDynamicHelp": false,
|
|
38225
|
+
"multiple": false,
|
|
38226
|
+
"type": "option"
|
|
38227
|
+
}
|
|
38228
|
+
},
|
|
38229
|
+
"hasDynamicHelp": false,
|
|
38230
|
+
"hiddenAliases": [],
|
|
38231
|
+
"id": "convos:transcript",
|
|
38232
|
+
"pluginAlias": "@skrr-ai/cli",
|
|
38233
|
+
"pluginName": "@skrr-ai/cli",
|
|
38234
|
+
"pluginType": "core",
|
|
38235
|
+
"strict": true,
|
|
38236
|
+
"enableJsonFlag": false,
|
|
38237
|
+
"autonomousCredentialPolicy": "delegated",
|
|
38238
|
+
"autonomousCredentialFallback": "none",
|
|
38239
|
+
"resolveSpaceFlag": true,
|
|
38240
|
+
"isESM": false,
|
|
38241
|
+
"relativePath": [
|
|
38242
|
+
"dist",
|
|
38243
|
+
"commands",
|
|
38244
|
+
"convos",
|
|
38245
|
+
"transcript.js"
|
|
38246
|
+
]
|
|
38247
|
+
},
|
|
38136
38248
|
"convos:unarchive": {
|
|
38137
38249
|
"aliases": [],
|
|
38138
38250
|
"args": {
|
|
@@ -152773,5 +152885,5 @@
|
|
|
152773
152885
|
]
|
|
152774
152886
|
}
|
|
152775
152887
|
},
|
|
152776
|
-
"version": "0.1.
|
|
152888
|
+
"version": "0.1.206"
|
|
152777
152889
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@skrr-ai/cli",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.206",
|
|
4
4
|
"description": "Command-line interface for skrr",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"author": "skrr",
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"build": "node ../scripts/with-build-lock.js npm run build:locked",
|
|
44
44
|
"build:locked": "npm run build:siblings && npm run build:compile",
|
|
45
45
|
"build:siblings": "cd .. && bash scripts/build-cli-siblings.sh",
|
|
46
|
-
"build:compile": "node scripts/generate-instruction-guides.cjs && node scripts/generate-agent-guides.cjs --check && rimraf dist &&
|
|
46
|
+
"build:compile": "node scripts/generate-instruction-guides.cjs && node scripts/generate-agent-guides.cjs --check && rimraf dist && node scripts/build-source-artifacts.cjs && node scripts/vendor-monorepo-deps.js && cross-env OCLIF_SKIP_NEW_VERSION_CHECK=1 node ./node_modules/oclif/bin/run.js manifest && node scripts/canonicalize-oclif-manifest.cjs && node scripts/verify-task-agent-context-command-catalog.cjs && npm run verify:thread-cli",
|
|
47
47
|
"check:agent-guides": "node scripts/generate-agent-guides.cjs --check",
|
|
48
48
|
"check:instruction-guides": "node scripts/generate-instruction-guides.cjs --check",
|
|
49
49
|
"verify:thread-cli": "node scripts/verify-thread-commands.cjs",
|
|
@@ -68,9 +68,12 @@
|
|
|
68
68
|
"@oclif/plugin-legacy": "^2.0.37",
|
|
69
69
|
"@types/node": "^20.11.0",
|
|
70
70
|
"@types/proper-lockfile": "^4.1.4",
|
|
71
|
+
"cross-env": "^7.0.3",
|
|
71
72
|
"esbuild": "^0.25.12",
|
|
72
73
|
"oclif": "^4.23.29",
|
|
73
74
|
"rimraf": "^5.0.5",
|
|
75
|
+
"semver": "^7.7.4",
|
|
76
|
+
"tiktoken": "^1.0.15",
|
|
74
77
|
"typescript": "^5.9.3"
|
|
75
78
|
},
|
|
76
79
|
"publishConfig": {
|
|
@@ -713,5 +716,5 @@
|
|
|
713
716
|
"engines": {
|
|
714
717
|
"node": ">=20.0.0"
|
|
715
718
|
},
|
|
716
|
-
"gitHead": "
|
|
719
|
+
"gitHead": "232b965dd025a716623c970ca44702e73e5046dd"
|
|
717
720
|
}
|