@skrr-ai/cli 0.1.113 → 0.1.115

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.
Files changed (63) hide show
  1. package/bin/update-npm-runner.cjs +4 -1
  2. package/bin/update-worker.cjs +6 -3
  3. package/dist/commands/agents/chat.js +10 -1
  4. package/dist/commands/computer-use/audio.d.ts +6 -0
  5. package/dist/commands/computer-use/audio.js +9 -0
  6. package/dist/commands/computer-use/browser.d.ts +7 -0
  7. package/dist/commands/computer-use/browser.js +16 -0
  8. package/dist/commands/computer-use/disable.d.ts +6 -0
  9. package/dist/commands/computer-use/disable.js +9 -0
  10. package/dist/commands/computer-use/enable.d.ts +6 -0
  11. package/dist/commands/computer-use/enable.js +9 -0
  12. package/dist/commands/computer-use/index.d.ts +6 -0
  13. package/dist/commands/computer-use/index.js +9 -0
  14. package/dist/commands/computer-use/install.d.ts +6 -0
  15. package/dist/commands/computer-use/install.js +9 -0
  16. package/dist/commands/computer-use/recover.d.ts +6 -0
  17. package/dist/commands/computer-use/recover.js +9 -0
  18. package/dist/commands/computer-use/status.d.ts +6 -0
  19. package/dist/commands/computer-use/status.js +9 -0
  20. package/dist/commands/computer-use/stop.d.ts +6 -0
  21. package/dist/commands/computer-use/stop.js +9 -0
  22. package/dist/commands/daemon/login.js +1 -1
  23. package/dist/commands/followups/plans/cancel.js +10 -3
  24. package/dist/commands/followups/plans/capacity.d.ts +9 -0
  25. package/dist/commands/followups/plans/capacity.js +42 -0
  26. package/dist/commands/followups/plans/create.js +3 -0
  27. package/dist/commands/followups/plans/revise.js +13 -6
  28. package/dist/commands/followups/remind.js +13 -5
  29. package/dist/commands/followups/watch.js +2 -2
  30. package/dist/lib/agentic-stream.d.ts +5 -1
  31. package/dist/lib/agentic-stream.js +25 -9
  32. package/dist/lib/computer-use.d.ts +9 -0
  33. package/dist/lib/computer-use.js +41 -0
  34. package/dist/lib/lookbackPlans.d.ts +20 -6
  35. package/dist/lib/lookbackPlans.js +19 -5
  36. package/dist/lib/update-check.d.ts +11 -10
  37. package/dist/lib/update-check.js +41 -23
  38. package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/computerUse.d.ts +228 -0
  39. package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/computerUse.js +375 -0
  40. package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/daemonScopes.d.ts +4 -1
  41. package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/daemonScopes.js +6 -2
  42. package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/daemonWire.js +40 -0
  43. package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/desktopWire.d.ts +140 -0
  44. package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/desktopWire.js +46 -0
  45. package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/firstPartyHarness.d.ts +4 -4
  46. package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/firstPartyHarness.js +2 -2
  47. package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/index.d.ts +3 -1
  48. package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/index.js +8 -5
  49. package/dist/node_modules/@skrr-ai/auth-core/dist/esm/computerUse.d.ts +228 -0
  50. package/dist/node_modules/@skrr-ai/auth-core/dist/esm/computerUse.js +358 -0
  51. package/dist/node_modules/@skrr-ai/auth-core/dist/esm/daemonScopes.d.ts +4 -1
  52. package/dist/node_modules/@skrr-ai/auth-core/dist/esm/daemonScopes.js +5 -1
  53. package/dist/node_modules/@skrr-ai/auth-core/dist/esm/daemonWire.js +40 -0
  54. package/dist/node_modules/@skrr-ai/auth-core/dist/esm/desktopWire.d.ts +140 -0
  55. package/dist/node_modules/@skrr-ai/auth-core/dist/esm/desktopWire.js +42 -0
  56. package/dist/node_modules/@skrr-ai/auth-core/dist/esm/firstPartyHarness.d.ts +4 -4
  57. package/dist/node_modules/@skrr-ai/auth-core/dist/esm/firstPartyHarness.js +2 -2
  58. package/dist/node_modules/@skrr-ai/auth-core/dist/esm/index.d.ts +3 -1
  59. package/dist/node_modules/@skrr-ai/auth-core/dist/esm/index.js +3 -1
  60. package/dist/node_modules/@skrr-ai/auth-core/package.json +21 -1
  61. package/dist/node_modules/@skrr-ai/data-provider/index.js +23687 -23456
  62. package/oclif.manifest.json +306 -26
  63. package/package.json +2 -2
@@ -2,7 +2,7 @@
2
2
  * The first-party harness identity — the ONLY place its product name is written.
3
3
  *
4
4
  * "First-party harness" is the harness provider this platform builds, signs,
5
- * distributes and installs itself: today a fork of OpenCode sold as skrr Code.
5
+ * distributes and installs itself: today a fork of OpenCode sold as Skrr Code.
6
6
  * It is a different axis from trust Tier 1 in `harnessTrust.ts`, whose
7
7
  * "first-party" means an audited VENDOR harness such as Claude Code.
8
8
  *
@@ -68,7 +68,7 @@
68
68
  * both bundles at a distance.
69
69
  */
70
70
  export interface FirstPartyHarnessIdentity {
71
- /** What a person reads. Lowercase brand inside a compound (naming map §1). */
71
+ /** What a person reads, with the product's proper-name capitalization. */
72
72
  readonly displayName: string;
73
73
  /** The command a person types, as it appears in prose. */
74
74
  readonly command: string;
@@ -93,7 +93,7 @@ export interface FirstPartyHarnessIdentity {
93
93
  * release or a stored value written before the rename is looked for.
94
94
  */
95
95
  declare const IDENTITY: {
96
- readonly displayName: "skrr Code";
96
+ readonly displayName: "Skrr Code";
97
97
  readonly command: "skrr code";
98
98
  readonly provider: "skrr-code";
99
99
  readonly aliases: readonly [];
@@ -365,7 +365,7 @@ export declare const FIRST_PARTY_HARNESS_ENGINE: Readonly<{
365
365
  * `readFirstPartyHarnessEngineEnv` to read one the way the engine does and
366
366
  * `firstPartyHarnessEngineEnvEntries` to set one every engine build honours.
367
367
  */
368
- env: Readonly<Record<"appName" | "serverPassword" | "serverUsername" | "home" | "config" | "scriptName" | "allowUpstreamEgress" | "compatOpencode" | "noCompatPrompts" | "maxInputTokens" | "sessionId", string>>;
368
+ env: Readonly<Record<"sessionId" | "appName" | "serverPassword" | "serverUsername" | "home" | "config" | "scriptName" | "allowUpstreamEgress" | "compatOpencode" | "noCompatPrompts" | "maxInputTokens", string>>;
369
369
  }>;
370
370
  /**
371
371
  * Every name the engine reads for one purpose, current namespace first — the
@@ -2,7 +2,7 @@
2
2
  * The first-party harness identity — the ONLY place its product name is written.
3
3
  *
4
4
  * "First-party harness" is the harness provider this platform builds, signs,
5
- * distributes and installs itself: today a fork of OpenCode sold as skrr Code.
5
+ * distributes and installs itself: today a fork of OpenCode sold as Skrr Code.
6
6
  * It is a different axis from trust Tier 1 in `harnessTrust.ts`, whose
7
7
  * "first-party" means an audited VENDOR harness such as Claude Code.
8
8
  *
@@ -103,7 +103,7 @@ const PROVIDER = 'skrr-code';
103
103
  * release or a stored value written before the rename is looked for.
104
104
  */
105
105
  const IDENTITY = {
106
- displayName: 'skrr Code',
106
+ displayName: 'Skrr Code',
107
107
  command: 'skrr code',
108
108
  provider: PROVIDER,
109
109
  aliases: [],
@@ -6,7 +6,7 @@
6
6
  * wire up its logger, config dir, kill switches, and binary name — then
7
7
  * uses the rest of the API uniformly.
8
8
  */
9
- export { SCOPES, ALL_DAEMON_SCOPES, VALID_DAEMON_SCOPE_SET, isDaemonScope, OAUTH_CLI_SCOPE, type DaemonScope, type OAuthCliScope, type OAuthScope, } from './daemonScopes.js';
9
+ export { SCOPES, ALL_DAEMON_SCOPES, DEFAULT_DAEMON_SCOPES, VALID_DAEMON_SCOPE_SET, isDaemonScope, OAUTH_CLI_SCOPE, type DaemonScope, type OAuthCliScope, type OAuthScope, } from './daemonScopes.js';
10
10
  export { configureAuthCore, getAuthLogger, getAuthConfigDir, getAuthKillSwitches, getAuthBinaryName, emitAuthTelemetry, type AuthCoreConfig, type AuthLogger, type AuthKillSwitches, type AuthTelemetryEvent, } from './runtime.js';
11
11
  export { PermanentAuthFailure, TransientAuthFailure, type PermanentAuthReason, type ReauthState, type TokenPair, } from './types.js';
12
12
  export { decodeJwtExpiry, decodeJwtPayload } from './jwtUtils.js';
@@ -48,3 +48,5 @@ export { resolveConfigRoot, configRootPath, isConfigRootOverridden } from './con
48
48
  export { PROFILES_SEGMENT, SUPERSEDED_MARKER_SUFFIX, SUPERSEDED_COPY_SUFFIX, profileStateDir, legacyProfileStateDir, resolveProfileStateDir, resolveProfileStateFile, profileStateFileLocations, profileStateFilePathsToClear, consolidateProfileState, type ResolvedProfileStateDir, type ConsolidationSpec, type ConsolidationStatus, type ConsolidationOutcome, } from './profileStateDir.js';
49
49
  export * from './harnessPermissionControls.js';
50
50
  export { compareReleaseVersions } from './releaseVersions.js';
51
+ export * from './computerUse.js';
52
+ export * from './desktopWire.js';
@@ -10,7 +10,7 @@
10
10
  // (daemon, desktop, cli). Schema-bound canonical lives in
11
11
  // `@skrr-ai/data-schemas/common/daemonScopes`; the two are kept byte-equal
12
12
  // by the api-side parity test. See daemonScopes.ts header for details.
13
- export { SCOPES, ALL_DAEMON_SCOPES, VALID_DAEMON_SCOPE_SET, isDaemonScope, OAUTH_CLI_SCOPE, } from './daemonScopes.js';
13
+ export { SCOPES, ALL_DAEMON_SCOPES, DEFAULT_DAEMON_SCOPES, VALID_DAEMON_SCOPE_SET, isDaemonScope, OAUTH_CLI_SCOPE, } from './daemonScopes.js';
14
14
  // Runtime / DI
15
15
  export { configureAuthCore, getAuthLogger, getAuthConfigDir, getAuthKillSwitches, getAuthBinaryName, emitAuthTelemetry, } from './runtime.js';
16
16
  // Types
@@ -184,3 +184,5 @@ export { resolveConfigRoot, configRootPath, isConfigRootOverridden } from './con
184
184
  export { PROFILES_SEGMENT, SUPERSEDED_MARKER_SUFFIX, SUPERSEDED_COPY_SUFFIX, profileStateDir, legacyProfileStateDir, resolveProfileStateDir, resolveProfileStateFile, profileStateFileLocations, profileStateFilePathsToClear, consolidateProfileState, } from './profileStateDir.js';
185
185
  export * from './harnessPermissionControls.js';
186
186
  export { compareReleaseVersions } from './releaseVersions.js';
187
+ export * from './computerUse.js';
188
+ export * from './desktopWire.js';
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skrr-ai/auth-core",
3
- "version": "0.4.27",
3
+ "version": "0.4.28",
4
4
  "main": "dist/cjs/index.js",
5
5
  "types": "dist/esm/index.d.ts",
6
6
  "exports": {
@@ -233,6 +233,26 @@
233
233
  "types": "./dist/cjs/sessionRevocation.d.ts",
234
234
  "default": "./dist/cjs/sessionRevocation.js"
235
235
  }
236
+ },
237
+ "./computer-use": {
238
+ "import": {
239
+ "types": "./dist/esm/computerUse.d.ts",
240
+ "default": "./dist/esm/computerUse.js"
241
+ },
242
+ "require": {
243
+ "types": "./dist/cjs/computerUse.d.ts",
244
+ "default": "./dist/cjs/computerUse.js"
245
+ }
246
+ },
247
+ "./desktop-wire": {
248
+ "import": {
249
+ "types": "./dist/esm/desktopWire.d.ts",
250
+ "default": "./dist/esm/desktopWire.js"
251
+ },
252
+ "require": {
253
+ "types": "./dist/cjs/desktopWire.d.ts",
254
+ "default": "./dist/cjs/desktopWire.js"
255
+ }
236
256
  }
237
257
  },
238
258
  "dependencies": {