@claudexor/schema 3.10.4 → 3.11.0
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/dist/agent-capabilities.d.ts +24 -0
- package/dist/agent-capabilities.d.ts.map +1 -1
- package/dist/agent-capabilities.js +5 -0
- package/dist/agent-capabilities.js.map +1 -1
- package/dist/attempt-execution.d.ts +112 -0
- package/dist/attempt-execution.d.ts.map +1 -0
- package/dist/attempt-execution.js +15 -0
- package/dist/attempt-execution.js.map +1 -0
- package/dist/budget.d.ts +76 -0
- package/dist/budget.d.ts.map +1 -1
- package/dist/budget.js +12 -0
- package/dist/budget.js.map +1 -1
- package/dist/control-harness-list.d.ts +18 -0
- package/dist/control-harness-list.d.ts.map +1 -1
- package/dist/control-harness-models.d.ts +1042 -0
- package/dist/control-harness-models.d.ts.map +1 -0
- package/dist/control-harness-models.js +47 -0
- package/dist/control-harness-models.js.map +1 -0
- package/dist/control-operation-responses.d.ts +73 -21
- package/dist/control-operation-responses.d.ts.map +1 -1
- package/dist/control-operation-responses.js +6 -0
- package/dist/control-operation-responses.js.map +1 -1
- package/dist/control-run-detail.d.ts +270 -85
- package/dist/control-run-detail.d.ts.map +1 -1
- package/dist/control-run-detail.js +12 -1
- package/dist/control-run-detail.js.map +1 -1
- package/dist/control-run-execution.d.ts +6 -0
- package/dist/control-run-execution.d.ts.map +1 -1
- package/dist/control-run-execution.js +6 -0
- package/dist/control-run-execution.js.map +1 -1
- package/dist/control-thread-apply.d.ts +12 -0
- package/dist/control-thread-apply.d.ts.map +1 -1
- package/dist/control.d.ts +181 -146
- package/dist/control.d.ts.map +1 -1
- package/dist/control.js +25 -33
- package/dist/control.js.map +1 -1
- package/dist/credential-profile-snapshot.d.ts +36 -0
- package/dist/credential-profile-snapshot.d.ts.map +1 -1
- package/dist/decision.d.ts +16 -8
- package/dist/decision.d.ts.map +1 -1
- package/dist/decision.js +5 -0
- package/dist/decision.js.map +1 -1
- package/dist/delivery.d.ts +8 -0
- package/dist/delivery.d.ts.map +1 -1
- package/dist/delivery.js +1 -0
- package/dist/delivery.js.map +1 -1
- package/dist/files-manifest.d.ts +501 -0
- package/dist/files-manifest.d.ts.map +1 -0
- package/dist/files-manifest.js +77 -0
- package/dist/files-manifest.js.map +1 -0
- package/dist/harness-model.d.ts +86 -0
- package/dist/harness-model.d.ts.map +1 -0
- package/dist/harness-model.js +34 -0
- package/dist/harness-model.js.map +1 -0
- package/dist/harness.d.ts +183 -27
- package/dist/harness.d.ts.map +1 -1
- package/dist/harness.js +19 -31
- package/dist/harness.js.map +1 -1
- package/dist/index.d.ts +3 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -0
- package/dist/index.js.map +1 -1
- package/dist/mcp-run-result.d.ts +379 -56
- package/dist/mcp-run-result.d.ts.map +1 -1
- package/dist/mcp-run-result.js +3 -0
- package/dist/mcp-run-result.js.map +1 -1
- package/dist/model-operation.d.ts +1371 -0
- package/dist/model-operation.d.ts.map +1 -1
- package/dist/model-operation.js +36 -0
- package/dist/model-operation.js.map +1 -1
- package/dist/processing.d.ts +94 -0
- package/dist/processing.d.ts.map +1 -0
- package/dist/processing.js +45 -0
- package/dist/processing.js.map +1 -0
- package/dist/readiness.d.ts +14 -0
- package/dist/readiness.d.ts.map +1 -1
- package/dist/run-facts.d.ts +28 -28
- package/dist/run-facts.js +4 -4
- package/dist/run-facts.js.map +1 -1
- package/dist/run-strategy.d.ts +1 -0
- package/dist/run-strategy.d.ts.map +1 -1
- package/dist/run-strategy.js +2 -0
- package/dist/run-strategy.js.map +1 -1
- package/dist/status-projection.d.ts.map +1 -1
- package/dist/status-projection.js +3 -1
- package/dist/status-projection.js.map +1 -1
- package/dist/surface-run-controls.d.ts.map +1 -1
- package/dist/surface-run-controls.js +22 -1
- package/dist/surface-run-controls.js.map +1 -1
- package/dist/task.d.ts +9 -0
- package/dist/task.d.ts.map +1 -1
- package/dist/task.js +2 -0
- package/dist/task.js.map +1 -1
- package/dist/telemetry.d.ts +263 -41
- package/dist/telemetry.d.ts.map +1 -1
- package/dist/telemetry.js +5 -8
- package/dist/telemetry.js.map +1 -1
- package/dist/workproduct.d.ts +4 -4
- package/dist/workproduct.d.ts.map +1 -1
- package/dist/workproduct.js +4 -4
- package/dist/workproduct.js.map +1 -1
- package/dist/workspace.d.ts +14 -11
- package/dist/workspace.d.ts.map +1 -1
- package/dist/workspace.js +14 -9
- package/dist/workspace.js.map +1 -1
- package/generated/AgentCapabilityCatalog.schema.json +25 -0
- package/generated/AttemptExecutionEvidence.schema.json +187 -0
- package/generated/BudgetLease.schema.json +39 -0
- package/generated/ControlApplyCheckRequest.schema.json +7 -0
- package/generated/ControlApplyRequest.schema.json +7 -0
- package/generated/ControlCredentialProfilesQueryResponse.schema.json +25 -0
- package/generated/ControlCredentialProfilesSnapshotResponse.schema.json +25 -0
- package/generated/ControlDeliveryResponse.schema.json +10 -0
- package/generated/ControlHarnessAccountCatalog.schema.json +208 -0
- package/generated/ControlHarnessAccountModelsResponse.schema.json +320 -0
- package/generated/ControlHarnessListResponse.schema.json +25 -0
- package/generated/ControlHarnessModelsQueryResponse.schema.json +347 -0
- package/generated/ControlHarnessModelsResponse.schema.json +89 -0
- package/generated/ControlModelAccountCatalogResponse.schema.json +339 -0
- package/generated/ControlModelCatalogQueryResponse.schema.json +346 -0
- package/generated/ControlModelCatalogResponse.schema.json +86 -0
- package/generated/ControlModelOperationDetail.schema.json +39 -0
- package/generated/ControlModelSourcesAccountsResponse.schema.json +61 -0
- package/generated/ControlModelSourcesQueryResponse.schema.json +98 -0
- package/generated/ControlRunAgainDraft.schema.json +29 -0
- package/generated/ControlRunDecisionRequest.schema.json +4 -3
- package/generated/ControlRunDecisionResponse.schema.json +2 -1
- package/generated/ControlRunDetail.schema.json +234 -28
- package/generated/ControlRunListResponse.schema.json +18 -4
- package/generated/ControlRunStartRequest.schema.json +29 -0
- package/generated/ControlRunSummary.schema.json +18 -4
- package/generated/ControlThreadApplyResponse.schema.json +10 -0
- package/generated/ControlThreadDetail.schema.json +9 -4
- package/generated/ControlThreadTurnRequest.schema.json +45 -0
- package/generated/DecisionRecord.schema.json +8 -1
- package/generated/HarnessEvent.schema.json +146 -0
- package/generated/HarnessManifest.schema.json +25 -0
- package/generated/HarnessModel.schema.json +89 -0
- package/generated/HarnessStatusDto.schema.json +25 -0
- package/generated/McpRunHandleResult.schema.json +205 -9
- package/generated/McpRunToolResult.schema.json +196 -9
- package/generated/ModelCallRequest.schema.json +9 -0
- package/generated/ModelCallResult.schema.json +124 -0
- package/generated/ProcessingCapability.schema.json +95 -0
- package/generated/ProcessingCostBasis.schema.json +45 -0
- package/generated/ProcessingPreference.schema.json +15 -0
- package/generated/ProcessingReceipt.schema.json +94 -0
- package/generated/RunFacts.schema.json +6 -1
- package/generated/RunTelemetry.schema.json +168 -1
- package/generated/TaskContract.schema.json +9 -0
- package/generated/UsageCostBasis.schema.json +31 -0
- package/generated/UsageCostSummary.schema.json +44 -0
- package/generated/WorkProduct.schema.json +4 -3
- package/generated/WorkspaceEnvelope.schema.json +25 -5
- package/generated/WorkspaceFilesManifest.schema.json +160 -0
- package/generated/WorkspaceKind.schema.json +13 -0
- package/package.json +2 -2
package/dist/workproduct.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { z } from "zod/v3";
|
|
2
|
-
export declare const WorkProductKind: z.ZodEnum<["patch", "new_repo", "report"]>;
|
|
2
|
+
export declare const WorkProductKind: z.ZodEnum<["patch", "new_repo", "report", "files"]>;
|
|
3
3
|
export type WorkProductKind = z.infer<typeof WorkProductKind>;
|
|
4
4
|
export declare const WorkProduct: z.ZodObject<{
|
|
5
5
|
id: z.ZodString;
|
|
6
|
-
kind: z.ZodEnum<["patch", "new_repo", "report"]>;
|
|
6
|
+
kind: z.ZodEnum<["patch", "new_repo", "report", "files"]>;
|
|
7
7
|
source_task_id: z.ZodString;
|
|
8
8
|
producer_attempt_id: z.ZodOptional<z.ZodString>;
|
|
9
9
|
/** Kind-specific payload (validated loosely here; specialized per kind by callers). */
|
|
@@ -11,14 +11,14 @@ export declare const WorkProduct: z.ZodObject<{
|
|
|
11
11
|
meta: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
12
12
|
}, "strip", z.ZodTypeAny, {
|
|
13
13
|
id: string;
|
|
14
|
-
kind: "new_repo" | "patch" | "report";
|
|
14
|
+
kind: "files" | "new_repo" | "patch" | "report";
|
|
15
15
|
source_task_id: string;
|
|
16
16
|
producer_attempt_id?: string | undefined;
|
|
17
17
|
files: Record<string, string>;
|
|
18
18
|
meta: Record<string, unknown>;
|
|
19
19
|
}, {
|
|
20
20
|
id: string;
|
|
21
|
-
kind: "new_repo" | "patch" | "report";
|
|
21
|
+
kind: "files" | "new_repo" | "patch" | "report";
|
|
22
22
|
source_task_id: string;
|
|
23
23
|
producer_attempt_id?: string | undefined;
|
|
24
24
|
files?: Record<string, string> | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workproduct.d.ts","sourceRoot":"","sources":["../src/workproduct.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAO3B,eAAO,MAAM,eAAe,
|
|
1
|
+
{"version":3,"file":"workproduct.d.ts","sourceRoot":"","sources":["../src/workproduct.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAO3B,eAAO,MAAM,eAAe,qDAIzB,CAAC;AACJ,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAC;AAE9D,eAAO,MAAM,WAAW;;;;;IAMpB,uFAAuF;;;;;;;;;;;;;;;;;EAWxF,CAAC;AACJ,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,WAAW,CAAC,CAAC"}
|
package/dist/workproduct.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { z } from "zod/v3";
|
|
2
2
|
import { Id } from "./primitives.js";
|
|
3
3
|
// Staged-field rule: the enum ships only kinds runs actually PRODUCE
|
|
4
|
-
// (patch / new_repo / report). Delivery-as-branch/commit/pr is a different,
|
|
4
|
+
// (patch / new_repo / report / files). Delivery-as-branch/commit/pr is a different,
|
|
5
5
|
// fully-consumed vocabulary (`ControlApplyRequest.mode`) — those values were
|
|
6
6
|
// never work-product kinds with a producer, so they do not live here.
|
|
7
7
|
export const WorkProductKind = z
|
|
8
|
-
.enum(["patch", "new_repo", "report"])
|
|
9
|
-
.describe("Kind of work product
|
|
8
|
+
.enum(["patch", "new_repo", "report", "files"])
|
|
9
|
+
.describe("Kind of work product: Git patch, new repository, report, or complete directory file manifest with retained bytes.");
|
|
10
10
|
export const WorkProduct = z
|
|
11
11
|
.object({
|
|
12
12
|
id: Id.describe("Work product id."),
|
|
@@ -20,5 +20,5 @@ export const WorkProduct = z
|
|
|
20
20
|
.describe("Kind-specific file payload, e.g. artifact name to path (validated loosely here; specialized per kind by callers)."),
|
|
21
21
|
meta: z.record(z.string(), z.unknown()).default({}).describe("Kind-specific metadata."),
|
|
22
22
|
})
|
|
23
|
-
.describe("The deliverable a run produced
|
|
23
|
+
.describe("The deliverable a run produced, referenced by apply/delivery verbs; files uses files.manifest and meta.manifest_sha256.");
|
|
24
24
|
//# sourceMappingURL=workproduct.js.map
|
package/dist/workproduct.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workproduct.js","sourceRoot":"","sources":["../src/workproduct.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAC3B,OAAO,EAAE,EAAE,EAAE,MAAM,iBAAiB,CAAC;AAErC,qEAAqE;AACrE,
|
|
1
|
+
{"version":3,"file":"workproduct.js","sourceRoot":"","sources":["../src/workproduct.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAC3B,OAAO,EAAE,EAAE,EAAE,MAAM,iBAAiB,CAAC;AAErC,qEAAqE;AACrE,oFAAoF;AACpF,6EAA6E;AAC7E,sEAAsE;AACtE,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC;KAC7B,IAAI,CAAC,CAAC,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,OAAO,CAAC,CAAC;KAC9C,QAAQ,CACP,mHAAmH,CACpH,CAAC;AAGJ,MAAM,CAAC,MAAM,WAAW,GAAG,CAAC;KACzB,MAAM,CAAC;IACN,EAAE,EAAE,EAAE,CAAC,QAAQ,CAAC,kBAAkB,CAAC;IACnC,IAAI,EAAE,eAAe;IACrB,cAAc,EAAE,EAAE,CAAC,QAAQ,CAAC,kCAAkC,CAAC;IAC/D,mBAAmB,EAAE,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,uCAAuC,CAAC;IACpF,uFAAuF;IACvF,KAAK,EAAE,CAAC;SACL,MAAM,CAAC,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC;SAC9B,OAAO,CAAC,EAAE,CAAC;SACX,QAAQ,CACP,mHAAmH,CACpH;IACH,IAAI,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC,QAAQ,CAAC,yBAAyB,CAAC;CACxF,CAAC;KACD,QAAQ,CACP,yHAAyH,CAC1H,CAAC"}
|
package/dist/workspace.d.ts
CHANGED
|
@@ -1,20 +1,19 @@
|
|
|
1
1
|
import { z } from "zod/v3";
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
* service-sandbox isolation is a future scoped feature, not modeled here.
|
|
6
|
-
* The dead `env_dir`/`logs_dir`/`artifacts_dir`/`ports` fields — created but
|
|
7
|
-
* never read anywhere — were deleted per the staged-field rule.)
|
|
3
|
+
* The execution tree and its scoped HOME/configs. Git retains repository
|
|
4
|
+
* identity; ordinary directory execution records a selected copy or live path.
|
|
8
5
|
*/
|
|
9
6
|
export declare const WorkspaceEnvelope: z.ZodObject<{
|
|
10
7
|
id: z.ZodString;
|
|
11
8
|
task_id: z.ZodString;
|
|
12
9
|
attempt_id: z.ZodString;
|
|
13
10
|
repo_root: z.ZodString;
|
|
14
|
-
base_ref: z.ZodString
|
|
11
|
+
base_ref: z.ZodNullable<z.ZodString>;
|
|
15
12
|
base_sha: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
16
13
|
worktree_path: z.ZodString;
|
|
17
|
-
branch_name: z.ZodString
|
|
14
|
+
branch_name: z.ZodNullable<z.ZodString>;
|
|
15
|
+
workspace_kind: z.ZodOptional<z.ZodEnum<["git", "directory"]>>;
|
|
16
|
+
scope_paths: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">>;
|
|
18
17
|
home_dir: z.ZodString;
|
|
19
18
|
harness_config_dirs: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
20
19
|
policy_profile: z.ZodDefault<z.ZodString>;
|
|
@@ -25,10 +24,12 @@ export declare const WorkspaceEnvelope: z.ZodObject<{
|
|
|
25
24
|
task_id: string;
|
|
26
25
|
attempt_id: string;
|
|
27
26
|
repo_root: string;
|
|
28
|
-
base_ref: string;
|
|
27
|
+
base_ref: string | null;
|
|
29
28
|
base_sha: string | null;
|
|
30
29
|
worktree_path: string;
|
|
31
|
-
branch_name: string;
|
|
30
|
+
branch_name: string | null;
|
|
31
|
+
workspace_kind?: "directory" | "git" | undefined;
|
|
32
|
+
scope_paths?: string[] | undefined;
|
|
32
33
|
home_dir: string;
|
|
33
34
|
harness_config_dirs: Record<string, string>;
|
|
34
35
|
policy_profile: string;
|
|
@@ -39,10 +40,12 @@ export declare const WorkspaceEnvelope: z.ZodObject<{
|
|
|
39
40
|
task_id: string;
|
|
40
41
|
attempt_id: string;
|
|
41
42
|
repo_root: string;
|
|
42
|
-
base_ref: string;
|
|
43
|
+
base_ref: string | null;
|
|
43
44
|
base_sha?: string | null | undefined;
|
|
44
45
|
worktree_path: string;
|
|
45
|
-
branch_name: string;
|
|
46
|
+
branch_name: string | null;
|
|
47
|
+
workspace_kind?: "directory" | "git" | undefined;
|
|
48
|
+
scope_paths?: string[] | undefined;
|
|
46
49
|
home_dir: string;
|
|
47
50
|
harness_config_dirs?: Record<string, string> | undefined;
|
|
48
51
|
policy_profile?: string | undefined;
|
package/dist/workspace.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workspace.d.ts","sourceRoot":"","sources":["../src/workspace.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;
|
|
1
|
+
{"version":3,"file":"workspace.d.ts","sourceRoot":"","sources":["../src/workspace.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAI3B;;;GAGG;AACH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAuC3B,CAAC;AACJ,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC"}
|
package/dist/workspace.js
CHANGED
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
import { z } from "zod/v3";
|
|
2
2
|
import { DirtyPolicy, Id, IsoTimestamp } from "./primitives.js";
|
|
3
|
+
import { WorkspaceKind, WorkspaceScopePath } from "./files-manifest.js";
|
|
3
4
|
/**
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
* service-sandbox isolation is a future scoped feature, not modeled here.
|
|
7
|
-
* The dead `env_dir`/`logs_dir`/`artifacts_dir`/`ports` fields — created but
|
|
8
|
-
* never read anywhere — were deleted per the staged-field rule.)
|
|
5
|
+
* The execution tree and its scoped HOME/configs. Git retains repository
|
|
6
|
+
* identity; ordinary directory execution records a selected copy or live path.
|
|
9
7
|
*/
|
|
10
8
|
export const WorkspaceEnvelope = z
|
|
11
9
|
.object({
|
|
@@ -13,14 +11,21 @@ export const WorkspaceEnvelope = z
|
|
|
13
11
|
task_id: Id.describe("Task the envelope belongs to."),
|
|
14
12
|
attempt_id: Id.describe("Attempt the envelope belongs to."),
|
|
15
13
|
repo_root: z.string().describe("Absolute path of the source repository root."),
|
|
16
|
-
base_ref: z.string().describe("Git ref
|
|
14
|
+
base_ref: z.string().nullable().describe("Git base ref; null for directory execution."),
|
|
17
15
|
base_sha: z
|
|
18
16
|
.string()
|
|
19
17
|
.nullable()
|
|
20
18
|
.default(null)
|
|
21
19
|
.describe("Resolved base commit SHA; null when not recorded."),
|
|
22
|
-
worktree_path: z
|
|
23
|
-
|
|
20
|
+
worktree_path: z
|
|
21
|
+
.string()
|
|
22
|
+
.describe("Absolute actual execution directory, whether Git-backed or plain."),
|
|
23
|
+
branch_name: z
|
|
24
|
+
.string()
|
|
25
|
+
.nullable()
|
|
26
|
+
.describe("Clone-local branch; null for directory execution."),
|
|
27
|
+
workspace_kind: WorkspaceKind.optional(),
|
|
28
|
+
scope_paths: z.array(WorkspaceScopePath).optional(),
|
|
24
29
|
home_dir: z
|
|
25
30
|
.string()
|
|
26
31
|
.describe("Scoped HOME directory for the harness process (kept outside the checkout)."),
|
|
@@ -35,5 +40,5 @@ export const WorkspaceEnvelope = z
|
|
|
35
40
|
dirty_policy: DirtyPolicy.default("refuse"),
|
|
36
41
|
created_at: IsoTimestamp.describe("When the envelope was created."),
|
|
37
42
|
})
|
|
38
|
-
.describe("
|
|
43
|
+
.describe("Execution directory and scoped HOME/configs. Git checkouts retain their Git identity; directory execution uses a selected copy or the live source without Git initialization.");
|
|
39
44
|
//# sourceMappingURL=workspace.js.map
|
package/dist/workspace.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workspace.js","sourceRoot":"","sources":["../src/workspace.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAC3B,OAAO,EAAE,WAAW,EAAE,EAAE,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"workspace.js","sourceRoot":"","sources":["../src/workspace.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAC3B,OAAO,EAAE,WAAW,EAAE,EAAE,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAChE,OAAO,EAAE,aAAa,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAExE;;;GAGG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC;KAC/B,MAAM,CAAC;IACN,EAAE,EAAE,EAAE,CAAC,QAAQ,CAAC,cAAc,CAAC;IAC/B,OAAO,EAAE,EAAE,CAAC,QAAQ,CAAC,+BAA+B,CAAC;IACrD,UAAU,EAAE,EAAE,CAAC,QAAQ,CAAC,kCAAkC,CAAC;IAC3D,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,8CAA8C,CAAC;IAC9E,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,6CAA6C,CAAC;IACvF,QAAQ,EAAE,CAAC;SACR,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,OAAO,CAAC,IAAI,CAAC;SACb,QAAQ,CAAC,mDAAmD,CAAC;IAChE,aAAa,EAAE,CAAC;SACb,MAAM,EAAE;SACR,QAAQ,CAAC,mEAAmE,CAAC;IAChF,WAAW,EAAE,CAAC;SACX,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,mDAAmD,CAAC;IAChE,cAAc,EAAE,aAAa,CAAC,QAAQ,EAAE;IACxC,WAAW,EAAE,CAAC,CAAC,KAAK,CAAC,kBAAkB,CAAC,CAAC,QAAQ,EAAE;IACnD,QAAQ,EAAE,CAAC;SACR,MAAM,EAAE;SACR,QAAQ,CAAC,4EAA4E,CAAC;IACzF,mBAAmB,EAAE,CAAC;SACnB,MAAM,CAAC,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC;SAC9B,OAAO,CAAC,EAAE,CAAC;SACX,QAAQ,CACP,wFAAwF,CACzF;IACH,cAAc,EAAE,CAAC;SACd,MAAM,EAAE;SACR,OAAO,CAAC,iBAAiB,CAAC;SAC1B,QAAQ,CAAC,uCAAuC,CAAC;IACpD,YAAY,EAAE,WAAW,CAAC,OAAO,CAAC,QAAQ,CAAC;IAC3C,UAAU,EAAE,YAAY,CAAC,QAAQ,CAAC,gCAAgC,CAAC;CACpE,CAAC;KACD,QAAQ,CACP,+KAA+K,CAChL,CAAC"}
|
|
@@ -62,6 +62,21 @@
|
|
|
62
62
|
"items": {
|
|
63
63
|
"type": "object",
|
|
64
64
|
"properties": {
|
|
65
|
+
"processingPreferences": {
|
|
66
|
+
"type": "array",
|
|
67
|
+
"items": {
|
|
68
|
+
"type": "string",
|
|
69
|
+
"enum": [
|
|
70
|
+
"standard",
|
|
71
|
+
"fast",
|
|
72
|
+
"economy"
|
|
73
|
+
],
|
|
74
|
+
"description": "Advisory service preference. Fast or Economy may use ordinary Standard service; fallback never introduces Fast. Omission preserves native defaults. Explicit native serviceTier takes precedence."
|
|
75
|
+
}
|
|
76
|
+
},
|
|
77
|
+
"accountCatalog": {
|
|
78
|
+
"type": "boolean"
|
|
79
|
+
},
|
|
65
80
|
"id": {
|
|
66
81
|
"type": "string",
|
|
67
82
|
"description": "Harness id (codex, claude, cursor, opencode, raw-api, openrouter, ...)."
|
|
@@ -424,6 +439,16 @@
|
|
|
424
439
|
"mutability": {
|
|
425
440
|
"type": "object",
|
|
426
441
|
"properties": {
|
|
442
|
+
"workspaceKinds": {
|
|
443
|
+
"type": "array",
|
|
444
|
+
"items": {
|
|
445
|
+
"type": "string",
|
|
446
|
+
"enum": [
|
|
447
|
+
"git",
|
|
448
|
+
"directory"
|
|
449
|
+
]
|
|
450
|
+
}
|
|
451
|
+
},
|
|
427
452
|
"readOnlyModes": {
|
|
428
453
|
"type": "array",
|
|
429
454
|
"items": {
|
|
@@ -0,0 +1,187 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$ref": "#/definitions/AttemptExecutionEvidence",
|
|
3
|
+
"definitions": {
|
|
4
|
+
"AttemptExecutionEvidence": {
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"attemptId": {
|
|
8
|
+
"type": "string",
|
|
9
|
+
"minLength": 1,
|
|
10
|
+
"description": "Non-empty identifier string."
|
|
11
|
+
},
|
|
12
|
+
"harnessId": {
|
|
13
|
+
"$ref": "#/definitions/AttemptExecutionEvidence/properties/attemptId"
|
|
14
|
+
},
|
|
15
|
+
"processing": {
|
|
16
|
+
"type": "object",
|
|
17
|
+
"properties": {
|
|
18
|
+
"requested": {
|
|
19
|
+
"anyOf": [
|
|
20
|
+
{
|
|
21
|
+
"type": "string",
|
|
22
|
+
"enum": [
|
|
23
|
+
"standard",
|
|
24
|
+
"fast",
|
|
25
|
+
"economy"
|
|
26
|
+
],
|
|
27
|
+
"description": "Advisory service preference. Fast or Economy may use ordinary Standard service; fallback never introduces Fast. Omission preserves native defaults. Explicit native serviceTier takes precedence."
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"type": "null"
|
|
31
|
+
}
|
|
32
|
+
],
|
|
33
|
+
"description": "Advisory service preference. Fast or Economy may use ordinary Standard service; fallback never introduces Fast. Omission preserves native defaults. Explicit native serviceTier takes precedence."
|
|
34
|
+
},
|
|
35
|
+
"submitted": {
|
|
36
|
+
"anyOf": [
|
|
37
|
+
{
|
|
38
|
+
"$ref": "#/definitions/AttemptExecutionEvidence/properties/processing/properties/requested/anyOf/0"
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"type": "null"
|
|
42
|
+
}
|
|
43
|
+
],
|
|
44
|
+
"description": "Advisory service preference. Fast or Economy may use ordinary Standard service; fallback never introduces Fast. Omission preserves native defaults. Explicit native serviceTier takes precedence."
|
|
45
|
+
},
|
|
46
|
+
"submittedNative": {
|
|
47
|
+
"anyOf": [
|
|
48
|
+
{
|
|
49
|
+
"type": "string",
|
|
50
|
+
"minLength": 1,
|
|
51
|
+
"pattern": "\\S",
|
|
52
|
+
"description": "User-supplied string that must contain visible content, not just whitespace."
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"type": "null"
|
|
56
|
+
}
|
|
57
|
+
],
|
|
58
|
+
"description": "User-supplied string that must contain visible content, not just whitespace."
|
|
59
|
+
},
|
|
60
|
+
"observed": {
|
|
61
|
+
"type": "string",
|
|
62
|
+
"enum": [
|
|
63
|
+
"standard",
|
|
64
|
+
"fast",
|
|
65
|
+
"economy",
|
|
66
|
+
"mixed",
|
|
67
|
+
"unknown"
|
|
68
|
+
]
|
|
69
|
+
},
|
|
70
|
+
"observedNative": {
|
|
71
|
+
"type": "array",
|
|
72
|
+
"items": {
|
|
73
|
+
"$ref": "#/definitions/AttemptExecutionEvidence/properties/processing/properties/submittedNative/anyOf/0"
|
|
74
|
+
}
|
|
75
|
+
},
|
|
76
|
+
"reason": {
|
|
77
|
+
"anyOf": [
|
|
78
|
+
{
|
|
79
|
+
"$ref": "#/definitions/AttemptExecutionEvidence/properties/processing/properties/submittedNative/anyOf/0"
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
"type": "null"
|
|
83
|
+
}
|
|
84
|
+
],
|
|
85
|
+
"description": "User-supplied string that must contain visible content, not just whitespace."
|
|
86
|
+
},
|
|
87
|
+
"source": {
|
|
88
|
+
"$ref": "#/definitions/AttemptExecutionEvidence/properties/processing/properties/submittedNative/anyOf/0"
|
|
89
|
+
}
|
|
90
|
+
},
|
|
91
|
+
"required": [
|
|
92
|
+
"requested",
|
|
93
|
+
"submitted",
|
|
94
|
+
"submittedNative",
|
|
95
|
+
"observed",
|
|
96
|
+
"observedNative",
|
|
97
|
+
"reason",
|
|
98
|
+
"source"
|
|
99
|
+
],
|
|
100
|
+
"additionalProperties": false,
|
|
101
|
+
"description": "Requested intent, submitted native control, and observed execution are independent facts. A submitted flag never proves observed service; mixed or missing session observations remain explicit."
|
|
102
|
+
},
|
|
103
|
+
"processingCostBasis": {
|
|
104
|
+
"type": "object",
|
|
105
|
+
"properties": {
|
|
106
|
+
"nativeMode": {
|
|
107
|
+
"anyOf": [
|
|
108
|
+
{
|
|
109
|
+
"$ref": "#/definitions/AttemptExecutionEvidence/properties/processing/properties/submittedNative/anyOf/0"
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
"type": "null"
|
|
113
|
+
}
|
|
114
|
+
],
|
|
115
|
+
"description": "User-supplied string that must contain visible content, not just whitespace."
|
|
116
|
+
},
|
|
117
|
+
"kind": {
|
|
118
|
+
"type": "string",
|
|
119
|
+
"enum": [
|
|
120
|
+
"included",
|
|
121
|
+
"paid_credits",
|
|
122
|
+
"cash",
|
|
123
|
+
"valuation",
|
|
124
|
+
"unknown"
|
|
125
|
+
]
|
|
126
|
+
},
|
|
127
|
+
"source": {
|
|
128
|
+
"$ref": "#/definitions/AttemptExecutionEvidence/properties/processing/properties/submittedNative/anyOf/0"
|
|
129
|
+
}
|
|
130
|
+
},
|
|
131
|
+
"required": [
|
|
132
|
+
"nativeMode",
|
|
133
|
+
"kind",
|
|
134
|
+
"source"
|
|
135
|
+
],
|
|
136
|
+
"additionalProperties": false,
|
|
137
|
+
"description": "Mode-qualified billing evidence for an existing cost record. Authentication alone does not establish included premium service; credits, cash, and token valuation stay distinct."
|
|
138
|
+
},
|
|
139
|
+
"usageCost": {
|
|
140
|
+
"type": "object",
|
|
141
|
+
"properties": {
|
|
142
|
+
"cashUsd": {
|
|
143
|
+
"type": "number",
|
|
144
|
+
"minimum": 0
|
|
145
|
+
},
|
|
146
|
+
"valuationUsd": {
|
|
147
|
+
"type": "number",
|
|
148
|
+
"minimum": 0
|
|
149
|
+
},
|
|
150
|
+
"unknownUsd": {
|
|
151
|
+
"type": "number",
|
|
152
|
+
"minimum": 0
|
|
153
|
+
},
|
|
154
|
+
"cashKnowledge": {
|
|
155
|
+
"type": "string",
|
|
156
|
+
"enum": [
|
|
157
|
+
"exact",
|
|
158
|
+
"estimated",
|
|
159
|
+
"unknown"
|
|
160
|
+
],
|
|
161
|
+
"description": "Quality of incremental-cash cost evidence for an operation."
|
|
162
|
+
},
|
|
163
|
+
"valuationKnowledge": {
|
|
164
|
+
"$ref": "#/definitions/AttemptExecutionEvidence/properties/usageCost/properties/cashKnowledge"
|
|
165
|
+
}
|
|
166
|
+
},
|
|
167
|
+
"required": [
|
|
168
|
+
"cashUsd",
|
|
169
|
+
"valuationUsd",
|
|
170
|
+
"unknownUsd",
|
|
171
|
+
"cashKnowledge",
|
|
172
|
+
"valuationKnowledge"
|
|
173
|
+
],
|
|
174
|
+
"additionalProperties": false,
|
|
175
|
+
"description": "Observed usage components. An amount of unknown meaning is not charged cash; separately proven included service can still establish exact zero incremental cash."
|
|
176
|
+
}
|
|
177
|
+
},
|
|
178
|
+
"required": [
|
|
179
|
+
"attemptId",
|
|
180
|
+
"harnessId"
|
|
181
|
+
],
|
|
182
|
+
"additionalProperties": false,
|
|
183
|
+
"description": "Compact projection of existing attempt execution and amount evidence."
|
|
184
|
+
}
|
|
185
|
+
},
|
|
186
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
187
|
+
}
|
|
@@ -51,6 +51,45 @@
|
|
|
51
51
|
"cost": {
|
|
52
52
|
"type": "object",
|
|
53
53
|
"properties": {
|
|
54
|
+
"processing": {
|
|
55
|
+
"type": "object",
|
|
56
|
+
"properties": {
|
|
57
|
+
"nativeMode": {
|
|
58
|
+
"anyOf": [
|
|
59
|
+
{
|
|
60
|
+
"type": "string",
|
|
61
|
+
"minLength": 1,
|
|
62
|
+
"pattern": "\\S",
|
|
63
|
+
"description": "User-supplied string that must contain visible content, not just whitespace."
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
"type": "null"
|
|
67
|
+
}
|
|
68
|
+
],
|
|
69
|
+
"description": "User-supplied string that must contain visible content, not just whitespace."
|
|
70
|
+
},
|
|
71
|
+
"kind": {
|
|
72
|
+
"type": "string",
|
|
73
|
+
"enum": [
|
|
74
|
+
"included",
|
|
75
|
+
"paid_credits",
|
|
76
|
+
"cash",
|
|
77
|
+
"valuation",
|
|
78
|
+
"unknown"
|
|
79
|
+
]
|
|
80
|
+
},
|
|
81
|
+
"source": {
|
|
82
|
+
"$ref": "#/definitions/BudgetLease/properties/cost/properties/processing/properties/nativeMode/anyOf/0"
|
|
83
|
+
}
|
|
84
|
+
},
|
|
85
|
+
"required": [
|
|
86
|
+
"nativeMode",
|
|
87
|
+
"kind",
|
|
88
|
+
"source"
|
|
89
|
+
],
|
|
90
|
+
"additionalProperties": false,
|
|
91
|
+
"description": "Mode-qualified billing evidence for an existing cost record. Authentication alone does not establish included premium service; credits, cash, and token valuation stay distinct."
|
|
92
|
+
},
|
|
54
93
|
"knowledge": {
|
|
55
94
|
"type": "string",
|
|
56
95
|
"enum": [
|
|
@@ -764,6 +764,19 @@
|
|
|
764
764
|
"capabilities": {
|
|
765
765
|
"type": "object",
|
|
766
766
|
"properties": {
|
|
767
|
+
"processing_preferences": {
|
|
768
|
+
"type": "array",
|
|
769
|
+
"items": {
|
|
770
|
+
"type": "string",
|
|
771
|
+
"enum": [
|
|
772
|
+
"standard",
|
|
773
|
+
"fast",
|
|
774
|
+
"economy"
|
|
775
|
+
],
|
|
776
|
+
"description": "Advisory service preference. Fast or Economy may use ordinary Standard service; fallback never introduces Fast. Omission preserves native defaults. Explicit native serviceTier takes precedence."
|
|
777
|
+
},
|
|
778
|
+
"description": "Service preferences translated by this adapter; model/account support is separate."
|
|
779
|
+
},
|
|
767
780
|
"plan": {
|
|
768
781
|
"type": "boolean",
|
|
769
782
|
"default": false,
|
|
@@ -915,6 +928,18 @@
|
|
|
915
928
|
"default": null,
|
|
916
929
|
"description": "Vendor CLI version the effort ladders were last verified against; null = never verified / not applicable."
|
|
917
930
|
},
|
|
931
|
+
"model_inventory_routes": {
|
|
932
|
+
"type": "array",
|
|
933
|
+
"items": {
|
|
934
|
+
"type": "string",
|
|
935
|
+
"enum": [
|
|
936
|
+
"local_session",
|
|
937
|
+
"api_key"
|
|
938
|
+
]
|
|
939
|
+
},
|
|
940
|
+
"minItems": 1,
|
|
941
|
+
"description": "Credential routes supported by the adapter's live models() producer; omitted preserves all-route support. Other routes use manifest known_models, never another account's live inventory."
|
|
942
|
+
},
|
|
918
943
|
"known_models": {
|
|
919
944
|
"type": "array",
|
|
920
945
|
"items": {
|
|
@@ -743,6 +743,19 @@
|
|
|
743
743
|
"capabilities": {
|
|
744
744
|
"type": "object",
|
|
745
745
|
"properties": {
|
|
746
|
+
"processing_preferences": {
|
|
747
|
+
"type": "array",
|
|
748
|
+
"items": {
|
|
749
|
+
"type": "string",
|
|
750
|
+
"enum": [
|
|
751
|
+
"standard",
|
|
752
|
+
"fast",
|
|
753
|
+
"economy"
|
|
754
|
+
],
|
|
755
|
+
"description": "Advisory service preference. Fast or Economy may use ordinary Standard service; fallback never introduces Fast. Omission preserves native defaults. Explicit native serviceTier takes precedence."
|
|
756
|
+
},
|
|
757
|
+
"description": "Service preferences translated by this adapter; model/account support is separate."
|
|
758
|
+
},
|
|
746
759
|
"plan": {
|
|
747
760
|
"type": "boolean",
|
|
748
761
|
"default": false,
|
|
@@ -894,6 +907,18 @@
|
|
|
894
907
|
"default": null,
|
|
895
908
|
"description": "Vendor CLI version the effort ladders were last verified against; null = never verified / not applicable."
|
|
896
909
|
},
|
|
910
|
+
"model_inventory_routes": {
|
|
911
|
+
"type": "array",
|
|
912
|
+
"items": {
|
|
913
|
+
"type": "string",
|
|
914
|
+
"enum": [
|
|
915
|
+
"local_session",
|
|
916
|
+
"api_key"
|
|
917
|
+
]
|
|
918
|
+
},
|
|
919
|
+
"minItems": 1,
|
|
920
|
+
"description": "Credential routes supported by the adapter's live models() producer; omitted preserves all-route support. Other routes use manifest known_models, never another account's live inventory."
|
|
921
|
+
},
|
|
897
922
|
"known_models": {
|
|
898
923
|
"type": "array",
|
|
899
924
|
"items": {
|
|
@@ -16,6 +16,12 @@
|
|
|
16
16
|
"applied": {
|
|
17
17
|
"type": "boolean"
|
|
18
18
|
},
|
|
19
|
+
"appliedPaths": {
|
|
20
|
+
"type": "array",
|
|
21
|
+
"items": {
|
|
22
|
+
"type": "string"
|
|
23
|
+
}
|
|
24
|
+
},
|
|
19
25
|
"branch": {
|
|
20
26
|
"type": "string"
|
|
21
27
|
},
|
|
@@ -51,6 +57,10 @@
|
|
|
51
57
|
"finalVerify": {
|
|
52
58
|
"type": "object",
|
|
53
59
|
"properties": {
|
|
60
|
+
"base_manifest_sha256": {
|
|
61
|
+
"type": "string",
|
|
62
|
+
"description": "Exact directory manifest verified; not a Git commit identifier."
|
|
63
|
+
},
|
|
54
64
|
"attempted": {
|
|
55
65
|
"type": "boolean",
|
|
56
66
|
"description": "Whether the final verify was attempted."
|