@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.
- package/bin/update-npm-runner.cjs +4 -1
- package/bin/update-worker.cjs +6 -3
- package/dist/commands/agents/chat.js +10 -1
- package/dist/commands/computer-use/audio.d.ts +6 -0
- package/dist/commands/computer-use/audio.js +9 -0
- package/dist/commands/computer-use/browser.d.ts +7 -0
- package/dist/commands/computer-use/browser.js +16 -0
- package/dist/commands/computer-use/disable.d.ts +6 -0
- package/dist/commands/computer-use/disable.js +9 -0
- package/dist/commands/computer-use/enable.d.ts +6 -0
- package/dist/commands/computer-use/enable.js +9 -0
- package/dist/commands/computer-use/index.d.ts +6 -0
- package/dist/commands/computer-use/index.js +9 -0
- package/dist/commands/computer-use/install.d.ts +6 -0
- package/dist/commands/computer-use/install.js +9 -0
- package/dist/commands/computer-use/recover.d.ts +6 -0
- package/dist/commands/computer-use/recover.js +9 -0
- package/dist/commands/computer-use/status.d.ts +6 -0
- package/dist/commands/computer-use/status.js +9 -0
- package/dist/commands/computer-use/stop.d.ts +6 -0
- package/dist/commands/computer-use/stop.js +9 -0
- package/dist/commands/daemon/login.js +1 -1
- package/dist/commands/followups/plans/cancel.js +10 -3
- package/dist/commands/followups/plans/capacity.d.ts +9 -0
- package/dist/commands/followups/plans/capacity.js +42 -0
- package/dist/commands/followups/plans/create.js +3 -0
- package/dist/commands/followups/plans/revise.js +13 -6
- package/dist/commands/followups/remind.js +13 -5
- package/dist/commands/followups/watch.js +2 -2
- package/dist/lib/agentic-stream.d.ts +5 -1
- package/dist/lib/agentic-stream.js +25 -9
- package/dist/lib/computer-use.d.ts +9 -0
- package/dist/lib/computer-use.js +41 -0
- package/dist/lib/lookbackPlans.d.ts +20 -6
- package/dist/lib/lookbackPlans.js +19 -5
- package/dist/lib/update-check.d.ts +11 -10
- package/dist/lib/update-check.js +41 -23
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/computerUse.d.ts +228 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/computerUse.js +375 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/daemonScopes.d.ts +4 -1
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/daemonScopes.js +6 -2
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/daemonWire.js +40 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/desktopWire.d.ts +140 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/desktopWire.js +46 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/firstPartyHarness.d.ts +4 -4
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/firstPartyHarness.js +2 -2
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/index.d.ts +3 -1
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/index.js +8 -5
- package/dist/node_modules/@skrr-ai/auth-core/dist/esm/computerUse.d.ts +228 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/esm/computerUse.js +358 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/esm/daemonScopes.d.ts +4 -1
- package/dist/node_modules/@skrr-ai/auth-core/dist/esm/daemonScopes.js +5 -1
- package/dist/node_modules/@skrr-ai/auth-core/dist/esm/daemonWire.js +40 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/esm/desktopWire.d.ts +140 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/esm/desktopWire.js +42 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/esm/firstPartyHarness.d.ts +4 -4
- package/dist/node_modules/@skrr-ai/auth-core/dist/esm/firstPartyHarness.js +2 -2
- package/dist/node_modules/@skrr-ai/auth-core/dist/esm/index.d.ts +3 -1
- package/dist/node_modules/@skrr-ai/auth-core/dist/esm/index.js +3 -1
- package/dist/node_modules/@skrr-ai/auth-core/package.json +21 -1
- package/dist/node_modules/@skrr-ai/data-provider/index.js +23687 -23456
- package/oclif.manifest.json +306 -26
- 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
|
|
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
|
|
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: "
|
|
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"
|
|
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
|
|
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: '
|
|
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.
|
|
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": {
|