@skrr-ai/cli 0.1.94 → 0.1.95
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 +153 -165
- package/bin/run.js +32 -0
- package/bin/update-npm-runner.cjs +33 -0
- package/bin/update-session.cjs +194 -0
- package/bin/update-worker.cjs +208 -0
- package/dist/base-command.js +0 -15
- package/dist/commands/code/doctor.d.ts +1 -0
- package/dist/commands/code/doctor.js +6 -0
- package/dist/commands/code/index.js +4 -0
- package/dist/commands/code/install.d.ts +5 -62
- package/dist/commands/code/install.js +86 -279
- package/dist/commands/code/rollback.d.ts +8 -0
- package/dist/commands/code/rollback.js +20 -0
- package/dist/commands/code/update.d.ts +8 -37
- package/dist/commands/code/update.js +134 -213
- package/dist/commands/daemon/install.js +4 -0
- package/dist/commands/generate-recovery-code.d.ts +13 -1
- package/dist/commands/generate-recovery-code.js +146 -13
- package/dist/commands/instructions/guide.d.ts +20 -0
- package/dist/commands/instructions/guide.js +84 -0
- package/dist/commands/instructions/install.js +57 -33
- package/dist/commands/instructions/setup.d.ts +14 -0
- package/dist/commands/instructions/setup.js +72 -0
- package/dist/commands/integrations/execute.js +1 -1
- package/dist/commands/login.d.ts +5 -6
- package/dist/commands/login.js +27 -11
- package/dist/commands/logout.js +7 -7
- package/dist/commands/security/overview.d.ts +11 -0
- package/dist/commands/security/overview.js +158 -0
- package/dist/commands/spaces/claim.d.ts +12 -0
- package/dist/commands/spaces/claim.js +42 -0
- package/dist/commands/spaces/ownership.d.ts +12 -0
- package/dist/commands/spaces/ownership.js +46 -0
- package/dist/commands/tasks/cancel-cascade.js +1 -1
- package/dist/commands/tasks/create-tree.d.ts +5 -1
- package/dist/commands/tasks/create-tree.js +35 -7
- package/dist/commands/tasks/interrupt.js +2 -2
- package/dist/commands/tasks/pause-schedule.js +1 -1
- package/dist/commands/token/list.d.ts +3 -5
- package/dist/commands/token/list.js +99 -57
- package/dist/commands/update.d.ts +14 -0
- package/dist/commands/update.js +61 -0
- package/dist/generated/managed-instruction-guides.json +9 -0
- package/dist/hooks/init.d.ts +5 -0
- package/dist/hooks/init.js +27 -0
- package/dist/lib/commitments.d.ts +0 -8
- package/dist/lib/commitments.js +0 -52
- package/dist/lib/daemon-installer.d.ts +2 -0
- package/dist/lib/daemon-installer.js +100 -24
- package/dist/lib/first-party-harness-doctor.js +31 -1
- package/dist/lib/first-party-harness-remote-install.d.ts +71 -0
- package/dist/lib/first-party-harness-remote-install.js +310 -0
- package/dist/lib/first-party-harness-remote-update.d.ts +46 -0
- package/dist/lib/first-party-harness-remote-update.js +242 -0
- package/dist/lib/first-party-harness-startup-update.d.ts +26 -0
- package/dist/lib/first-party-harness-startup-update.js +166 -0
- package/dist/lib/first-party-harness-update.d.ts +46 -0
- package/dist/lib/first-party-harness-update.js +289 -0
- package/dist/lib/first-party-harness.js +7 -4
- package/dist/lib/managed-instruction-local.d.ts +12 -0
- package/dist/lib/managed-instruction-local.js +58 -0
- package/dist/lib/managed-instruction-setup.d.ts +35 -0
- package/dist/lib/managed-instruction-setup.js +306 -0
- package/dist/lib/memory-sync.d.ts +1 -0
- package/dist/lib/memory-sync.js +279 -68
- package/dist/lib/platform-update-local.d.ts +2 -0
- package/dist/lib/platform-update-local.js +113 -0
- package/dist/lib/platform-update.d.ts +39 -0
- package/dist/lib/platform-update.js +84 -0
- package/dist/lib/profile-machine-identity-guard.d.ts +2 -0
- package/dist/lib/profile-machine-identity-guard.js +13 -0
- package/dist/lib/prompt.d.ts +1 -0
- package/dist/lib/prompt.js +4 -3
- package/dist/lib/task-batch.d.ts +9 -0
- package/dist/lib/task-batch.js +94 -17
- package/dist/lib/task-instruction-offer.d.ts +1 -4
- package/dist/lib/task-instruction-offer.js +3 -129
- package/dist/lib/update-check.d.ts +61 -53
- package/dist/lib/update-check.js +453 -314
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/firstPartyHarnessChannels.d.ts +3 -4
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/firstPartyHarnessChannels.js +3 -4
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/firstPartyHarnessReleaseKeys.d.ts +82 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/firstPartyHarnessReleaseKeys.js +105 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/firstPartyHarnessUpdater.d.ts +110 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/firstPartyHarnessUpdater.js +945 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/harnessPermissionControls.d.ts +32 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/harnessPermissionControls.js +62 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/index.d.ts +2 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/index.js +4 -1
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/machineUuid.js +35 -5
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/releasePolicy.d.ts +63 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/releasePolicy.js +169 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/releaseVersions.d.ts +2 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/releaseVersions.js +44 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/esm/firstPartyHarnessChannels.d.ts +3 -4
- package/dist/node_modules/@skrr-ai/auth-core/dist/esm/firstPartyHarnessChannels.js +3 -4
- package/dist/node_modules/@skrr-ai/auth-core/dist/esm/firstPartyHarnessReleaseKeys.d.ts +82 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/esm/firstPartyHarnessReleaseKeys.js +102 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/esm/firstPartyHarnessUpdater.d.ts +110 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/esm/firstPartyHarnessUpdater.js +923 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/esm/harnessPermissionControls.d.ts +32 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/esm/harnessPermissionControls.js +59 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/esm/index.d.ts +2 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/esm/index.js +2 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/esm/machineUuid.js +35 -5
- package/dist/node_modules/@skrr-ai/auth-core/dist/esm/releasePolicy.d.ts +63 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/esm/releasePolicy.js +163 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/esm/releaseVersions.d.ts +2 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/esm/releaseVersions.js +41 -0
- package/dist/node_modules/@skrr-ai/auth-core/package.json +31 -1
- package/dist/node_modules/@skrr-ai/data-provider/index.js +6584 -6567
- package/docs/v1/README.md +28 -0
- package/docs/v1/api.md +55 -0
- package/docs/v1/changelog.md +16 -0
- package/docs/v1/check-examples.mjs +178 -0
- package/docs/v1/examples/api-readonly.mjs +144 -0
- package/docs/v1/operations.md +87 -0
- package/docs/v1/quickstart.md +71 -0
- package/oclif.manifest.json +46007 -45462
- package/package.json +13 -11
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@skrr-ai/cli",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.95",
|
|
4
4
|
"description": "Command-line interface for skrr",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"author": "skrr",
|
|
@@ -26,8 +26,10 @@
|
|
|
26
26
|
"main": "dist/index.js",
|
|
27
27
|
"files": [
|
|
28
28
|
"bin",
|
|
29
|
+
"docs/v1/**",
|
|
29
30
|
"dist/**/*.js",
|
|
30
31
|
"dist/**/*.d.ts",
|
|
32
|
+
"dist/generated/managed-instruction-guides.json",
|
|
31
33
|
"!dist/**/*.test.js",
|
|
32
34
|
"!dist/**/*.test.d.ts",
|
|
33
35
|
"!dist/**/*.spec.js",
|
|
@@ -40,18 +42,20 @@
|
|
|
40
42
|
"build": "node ../scripts/with-build-lock.js npm run build:locked",
|
|
41
43
|
"build:locked": "npm run build:siblings && npm run build:compile",
|
|
42
44
|
"build:siblings": "cd .. && bash scripts/worktree-link-node-modules.sh && npm run build:auth-core && npm run build:inference-broker && npm run build:data-provider:only && npm run build:avatar-schemas && npm run build:data-schemas:only",
|
|
43
|
-
"build:compile": "rimraf dist && tsc -p tsconfig.build.json && node scripts/write-command-build-manifest.cjs && node scripts/vendor-monorepo-deps.js && cross-env OCLIF_SKIP_NEW_VERSION_CHECK=1 node ./node_modules/oclif/bin/run.js manifest && npm run verify:thread-cli",
|
|
45
|
+
"build:compile": "node scripts/generate-instruction-guides.cjs && rimraf dist && tsc -p tsconfig.build.json && node scripts/write-command-build-manifest.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 && npm run verify:thread-cli",
|
|
46
|
+
"check:instruction-guides": "node scripts/generate-instruction-guides.cjs --check",
|
|
44
47
|
"verify:thread-cli": "node scripts/verify-thread-commands.cjs",
|
|
48
|
+
"verify:install-contract": "node scripts/verify-install-contract.cjs",
|
|
45
49
|
"test": "cross-env NODE_OPTIONS=\"--experimental-vm-modules --max-old-space-size=4096\" jest --ci",
|
|
46
50
|
"watch": "tsc -w -p tsconfig.build.json",
|
|
47
51
|
"clean": "rimraf dist",
|
|
48
|
-
"prepack": "npm run build && cross-env OCLIF_SKIP_NEW_VERSION_CHECK=1 node ./node_modules/oclif/bin/run.js manifest"
|
|
52
|
+
"prepack": "npm run build && cross-env OCLIF_SKIP_NEW_VERSION_CHECK=1 node ./node_modules/oclif/bin/run.js manifest && node scripts/canonicalize-oclif-manifest.cjs"
|
|
49
53
|
},
|
|
50
54
|
"dependencies": {
|
|
51
55
|
"@oclif/core": "^4.0.0",
|
|
52
56
|
"@oclif/plugin-autocomplete": "^3.2.56",
|
|
53
57
|
"@oclif/plugin-warn-if-update-available": "^3.1.0",
|
|
54
|
-
"@skrr-ai/auth-core": "^0.4.
|
|
58
|
+
"@skrr-ai/auth-core": "^0.4.20",
|
|
55
59
|
"proper-lockfile": "^4.1.2",
|
|
56
60
|
"qrcode-terminal": "^0.12.0",
|
|
57
61
|
"socket.io-client": "^4.8.3",
|
|
@@ -74,18 +78,13 @@
|
|
|
74
78
|
"dirname": "skrr",
|
|
75
79
|
"commands": "./dist/commands",
|
|
76
80
|
"hooks": {
|
|
81
|
+
"init": "./dist/hooks/init",
|
|
77
82
|
"command_not_found": "./dist/hooks/command-not-found"
|
|
78
83
|
},
|
|
79
84
|
"topicSeparator": " ",
|
|
80
85
|
"plugins": [
|
|
81
|
-
"@oclif/plugin-autocomplete"
|
|
82
|
-
"@oclif/plugin-warn-if-update-available"
|
|
86
|
+
"@oclif/plugin-autocomplete"
|
|
83
87
|
],
|
|
84
|
-
"warn-if-update-available": {
|
|
85
|
-
"timeoutInDays": 14,
|
|
86
|
-
"registry": "https://registry.npmjs.org",
|
|
87
|
-
"message": "<%= config.name %> <%= config.version %> is out of date — <%= latest %> is available. Run `npm update -g @skrr-ai/cli` (or update the skrr app)."
|
|
88
|
-
},
|
|
89
88
|
"topics": {
|
|
90
89
|
"convos": {
|
|
91
90
|
"description": "Manage conversations"
|
|
@@ -453,6 +452,9 @@
|
|
|
453
452
|
"tokens": {
|
|
454
453
|
"description": "Create, list and revoke personal access tokens (osk_pat_*) — the expiring, revocable credential CI uses as SKRR_TOKEN"
|
|
455
454
|
},
|
|
455
|
+
"security": {
|
|
456
|
+
"description": "Review your account's sign-ins, sessions, and access tokens"
|
|
457
|
+
},
|
|
456
458
|
"integrations": {
|
|
457
459
|
"description": "Invoke integration tools and manage toolkit connections for an agent"
|
|
458
460
|
},
|