@kya-os/cli 2.1.0 → 2.1.1
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/node_modules/@kya-os/contracts/dist/workbench/economics.d.ts +9 -0
- package/node_modules/@kya-os/contracts/dist/workbench/economics.js +2 -0
- package/node_modules/@kya-os/contracts/dist/workbench/governed.d.ts +10 -10
- package/node_modules/@kya-os/contracts/dist/workbench/mailbox.d.ts +3 -3
- package/node_modules/@kya-os/contracts/dist/workbench/mailbox.js +2 -1
- package/node_modules/@kya-os/contracts/package.json +3 -2
- package/package.json +8 -7
|
@@ -1086,6 +1086,15 @@ export declare const BudgetSettlementSchema: z.ZodDiscriminatedUnion<"state", [z
|
|
|
1086
1086
|
}, {
|
|
1087
1087
|
state: "not_started";
|
|
1088
1088
|
evidenceRef: string;
|
|
1089
|
+
}>, z.ZodObject<{
|
|
1090
|
+
state: z.ZodLiteral<"not_dispatched">;
|
|
1091
|
+
startOperationId: z.ZodString;
|
|
1092
|
+
}, "strict", z.ZodTypeAny, {
|
|
1093
|
+
state: "not_dispatched";
|
|
1094
|
+
startOperationId: string;
|
|
1095
|
+
}, {
|
|
1096
|
+
state: "not_dispatched";
|
|
1097
|
+
startOperationId: string;
|
|
1089
1098
|
}>]>;
|
|
1090
1099
|
export type PriceSchedule = z.infer<typeof PriceScheduleSchema>;
|
|
1091
1100
|
export type CostQuantities = z.infer<typeof CostQuantitiesSchema>;
|
|
@@ -84,4 +84,6 @@ exports.BudgetSettlementSchema = zod_1.z.discriminatedUnion('state', [
|
|
|
84
84
|
zod_1.z.object({ state: zod_1.z.literal('known'), costRecordId: id }).strict(),
|
|
85
85
|
zod_1.z.object({ state: zod_1.z.literal('unknown'), costRecordId: id.nullable() }).strict(),
|
|
86
86
|
zod_1.z.object({ state: zod_1.z.literal('not_started'), evidenceRef: id }).strict(),
|
|
87
|
+
/** A standing start proven never dispatched, or refused by Checkpoint on its first send. */
|
|
88
|
+
zod_1.z.object({ state: zod_1.z.literal('not_dispatched'), startOperationId: id }).strict(),
|
|
87
89
|
]);
|
|
@@ -1371,6 +1371,7 @@ export declare const GovernedExecutionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1371
1371
|
permittedOperations: string[];
|
|
1372
1372
|
prohibitedExternalOperations: string[];
|
|
1373
1373
|
};
|
|
1374
|
+
startOperationId: string;
|
|
1374
1375
|
admissionRef: string;
|
|
1375
1376
|
admission: {
|
|
1376
1377
|
projectId: string;
|
|
@@ -1420,7 +1421,6 @@ export declare const GovernedExecutionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1420
1421
|
acceptedProviders?: ("discord" | "linear" | "github" | "didcomm" | "a2a")[] | undefined;
|
|
1421
1422
|
};
|
|
1422
1423
|
workerProfile: string;
|
|
1423
|
-
startOperationId: string;
|
|
1424
1424
|
}, {
|
|
1425
1425
|
schemaVersion: 1;
|
|
1426
1426
|
review: {
|
|
@@ -1537,6 +1537,7 @@ export declare const GovernedExecutionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1537
1537
|
permittedOperations: string[];
|
|
1538
1538
|
prohibitedExternalOperations: string[];
|
|
1539
1539
|
};
|
|
1540
|
+
startOperationId: string;
|
|
1540
1541
|
admissionRef: string;
|
|
1541
1542
|
admission: {
|
|
1542
1543
|
projectId: string;
|
|
@@ -1586,7 +1587,6 @@ export declare const GovernedExecutionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1586
1587
|
acceptedProviders?: ("discord" | "linear" | "github" | "didcomm" | "a2a")[] | undefined;
|
|
1587
1588
|
};
|
|
1588
1589
|
workerProfile: string;
|
|
1589
|
-
startOperationId: string;
|
|
1590
1590
|
}>, {
|
|
1591
1591
|
schemaVersion: 1;
|
|
1592
1592
|
review: {
|
|
@@ -1703,6 +1703,7 @@ export declare const GovernedExecutionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1703
1703
|
permittedOperations: string[];
|
|
1704
1704
|
prohibitedExternalOperations: string[];
|
|
1705
1705
|
};
|
|
1706
|
+
startOperationId: string;
|
|
1706
1707
|
admissionRef: string;
|
|
1707
1708
|
admission: {
|
|
1708
1709
|
projectId: string;
|
|
@@ -1752,7 +1753,6 @@ export declare const GovernedExecutionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1752
1753
|
acceptedProviders?: ("discord" | "linear" | "github" | "didcomm" | "a2a")[] | undefined;
|
|
1753
1754
|
};
|
|
1754
1755
|
workerProfile: string;
|
|
1755
|
-
startOperationId: string;
|
|
1756
1756
|
}, {
|
|
1757
1757
|
schemaVersion: 1;
|
|
1758
1758
|
review: {
|
|
@@ -1869,6 +1869,7 @@ export declare const GovernedExecutionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1869
1869
|
permittedOperations: string[];
|
|
1870
1870
|
prohibitedExternalOperations: string[];
|
|
1871
1871
|
};
|
|
1872
|
+
startOperationId: string;
|
|
1872
1873
|
admissionRef: string;
|
|
1873
1874
|
admission: {
|
|
1874
1875
|
projectId: string;
|
|
@@ -1918,7 +1919,6 @@ export declare const GovernedExecutionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1918
1919
|
acceptedProviders?: ("discord" | "linear" | "github" | "didcomm" | "a2a")[] | undefined;
|
|
1919
1920
|
};
|
|
1920
1921
|
workerProfile: string;
|
|
1921
|
-
startOperationId: string;
|
|
1922
1922
|
}>;
|
|
1923
1923
|
export type GovernedExecution = z.infer<typeof GovernedExecutionSchema>;
|
|
1924
1924
|
/** Metadata projection, with gate status separate from local outcome. It does
|
|
@@ -3402,6 +3402,7 @@ export declare const StandingSupervisorBindingSchema: z.ZodObject<{
|
|
|
3402
3402
|
permittedOperations: string[];
|
|
3403
3403
|
prohibitedExternalOperations: string[];
|
|
3404
3404
|
};
|
|
3405
|
+
startOperationId: string;
|
|
3405
3406
|
admissionRef: string;
|
|
3406
3407
|
admission: {
|
|
3407
3408
|
projectId: string;
|
|
@@ -3451,7 +3452,6 @@ export declare const StandingSupervisorBindingSchema: z.ZodObject<{
|
|
|
3451
3452
|
acceptedProviders?: ("discord" | "linear" | "github" | "didcomm" | "a2a")[] | undefined;
|
|
3452
3453
|
};
|
|
3453
3454
|
workerProfile: string;
|
|
3454
|
-
startOperationId: string;
|
|
3455
3455
|
}, {
|
|
3456
3456
|
schemaVersion: 1;
|
|
3457
3457
|
review: {
|
|
@@ -3568,6 +3568,7 @@ export declare const StandingSupervisorBindingSchema: z.ZodObject<{
|
|
|
3568
3568
|
permittedOperations: string[];
|
|
3569
3569
|
prohibitedExternalOperations: string[];
|
|
3570
3570
|
};
|
|
3571
|
+
startOperationId: string;
|
|
3571
3572
|
admissionRef: string;
|
|
3572
3573
|
admission: {
|
|
3573
3574
|
projectId: string;
|
|
@@ -3617,7 +3618,6 @@ export declare const StandingSupervisorBindingSchema: z.ZodObject<{
|
|
|
3617
3618
|
acceptedProviders?: ("discord" | "linear" | "github" | "didcomm" | "a2a")[] | undefined;
|
|
3618
3619
|
};
|
|
3619
3620
|
workerProfile: string;
|
|
3620
|
-
startOperationId: string;
|
|
3621
3621
|
}>, {
|
|
3622
3622
|
schemaVersion: 1;
|
|
3623
3623
|
review: {
|
|
@@ -3734,6 +3734,7 @@ export declare const StandingSupervisorBindingSchema: z.ZodObject<{
|
|
|
3734
3734
|
permittedOperations: string[];
|
|
3735
3735
|
prohibitedExternalOperations: string[];
|
|
3736
3736
|
};
|
|
3737
|
+
startOperationId: string;
|
|
3737
3738
|
admissionRef: string;
|
|
3738
3739
|
admission: {
|
|
3739
3740
|
projectId: string;
|
|
@@ -3783,7 +3784,6 @@ export declare const StandingSupervisorBindingSchema: z.ZodObject<{
|
|
|
3783
3784
|
acceptedProviders?: ("discord" | "linear" | "github" | "didcomm" | "a2a")[] | undefined;
|
|
3784
3785
|
};
|
|
3785
3786
|
workerProfile: string;
|
|
3786
|
-
startOperationId: string;
|
|
3787
3787
|
}, {
|
|
3788
3788
|
schemaVersion: 1;
|
|
3789
3789
|
review: {
|
|
@@ -3900,6 +3900,7 @@ export declare const StandingSupervisorBindingSchema: z.ZodObject<{
|
|
|
3900
3900
|
permittedOperations: string[];
|
|
3901
3901
|
prohibitedExternalOperations: string[];
|
|
3902
3902
|
};
|
|
3903
|
+
startOperationId: string;
|
|
3903
3904
|
admissionRef: string;
|
|
3904
3905
|
admission: {
|
|
3905
3906
|
projectId: string;
|
|
@@ -3949,7 +3950,6 @@ export declare const StandingSupervisorBindingSchema: z.ZodObject<{
|
|
|
3949
3950
|
acceptedProviders?: ("discord" | "linear" | "github" | "didcomm" | "a2a")[] | undefined;
|
|
3950
3951
|
};
|
|
3951
3952
|
workerProfile: string;
|
|
3952
|
-
startOperationId: string;
|
|
3953
3953
|
}>;
|
|
3954
3954
|
leadConfig: z.ZodObject<{
|
|
3955
3955
|
origin: z.ZodString;
|
|
@@ -4095,6 +4095,7 @@ export declare const StandingSupervisorBindingSchema: z.ZodObject<{
|
|
|
4095
4095
|
permittedOperations: string[];
|
|
4096
4096
|
prohibitedExternalOperations: string[];
|
|
4097
4097
|
};
|
|
4098
|
+
startOperationId: string;
|
|
4098
4099
|
admissionRef: string;
|
|
4099
4100
|
admission: {
|
|
4100
4101
|
projectId: string;
|
|
@@ -4144,7 +4145,6 @@ export declare const StandingSupervisorBindingSchema: z.ZodObject<{
|
|
|
4144
4145
|
acceptedProviders?: ("discord" | "linear" | "github" | "didcomm" | "a2a")[] | undefined;
|
|
4145
4146
|
};
|
|
4146
4147
|
workerProfile: string;
|
|
4147
|
-
startOperationId: string;
|
|
4148
4148
|
};
|
|
4149
4149
|
leadConfig: {
|
|
4150
4150
|
projectId: string;
|
|
@@ -4276,6 +4276,7 @@ export declare const StandingSupervisorBindingSchema: z.ZodObject<{
|
|
|
4276
4276
|
permittedOperations: string[];
|
|
4277
4277
|
prohibitedExternalOperations: string[];
|
|
4278
4278
|
};
|
|
4279
|
+
startOperationId: string;
|
|
4279
4280
|
admissionRef: string;
|
|
4280
4281
|
admission: {
|
|
4281
4282
|
projectId: string;
|
|
@@ -4325,7 +4326,6 @@ export declare const StandingSupervisorBindingSchema: z.ZodObject<{
|
|
|
4325
4326
|
acceptedProviders?: ("discord" | "linear" | "github" | "didcomm" | "a2a")[] | undefined;
|
|
4326
4327
|
};
|
|
4327
4328
|
workerProfile: string;
|
|
4328
|
-
startOperationId: string;
|
|
4329
4329
|
};
|
|
4330
4330
|
leadConfig: {
|
|
4331
4331
|
projectId: string;
|
|
@@ -222,13 +222,13 @@ export declare const TaskModelReceiptSchema: z.ZodObject<{
|
|
|
222
222
|
coverage: "unknown" | "complete" | "partial";
|
|
223
223
|
}>>;
|
|
224
224
|
outputDigest: z.ZodOptional<z.ZodString>;
|
|
225
|
-
code: z.ZodEnum<["MODEL_STARTED", "MODEL_COMPLETED", "MODEL_OUTCOME_UNKNOWN"]>;
|
|
225
|
+
code: z.ZodEnum<["MODEL_STARTED", "MODEL_COMPLETED", "MODEL_REFUSED", "MODEL_OUTCOME_UNKNOWN"]>;
|
|
226
226
|
durationMs: z.ZodNullable<z.ZodNumber>;
|
|
227
227
|
requestStartedAtMs: z.ZodNullable<z.ZodNumber>;
|
|
228
228
|
costBasis: z.ZodLiteral<"unknown">;
|
|
229
229
|
billingVerified: z.ZodLiteral<false>;
|
|
230
230
|
}, "strict", z.ZodTypeAny, {
|
|
231
|
-
code: "MODEL_STARTED" | "MODEL_COMPLETED" | "MODEL_OUTCOME_UNKNOWN";
|
|
231
|
+
code: "MODEL_STARTED" | "MODEL_COMPLETED" | "MODEL_REFUSED" | "MODEL_OUTCOME_UNKNOWN";
|
|
232
232
|
provider: "anthropic";
|
|
233
233
|
credentialId: string;
|
|
234
234
|
model: string;
|
|
@@ -255,7 +255,7 @@ export declare const TaskModelReceiptSchema: z.ZodObject<{
|
|
|
255
255
|
billingVerified: false;
|
|
256
256
|
outputDigest?: string | undefined;
|
|
257
257
|
}, {
|
|
258
|
-
code: "MODEL_STARTED" | "MODEL_COMPLETED" | "MODEL_OUTCOME_UNKNOWN";
|
|
258
|
+
code: "MODEL_STARTED" | "MODEL_COMPLETED" | "MODEL_REFUSED" | "MODEL_OUTCOME_UNKNOWN";
|
|
259
259
|
provider: "anthropic";
|
|
260
260
|
credentialId: string;
|
|
261
261
|
model: string;
|
|
@@ -102,7 +102,8 @@ exports.TaskModelReceiptSchema = zod_1.z
|
|
|
102
102
|
.string()
|
|
103
103
|
.regex(/^sha256:[a-f0-9]{64}$/)
|
|
104
104
|
.optional(),
|
|
105
|
-
|
|
105
|
+
// A definite refusal keeps its allocation spent without making the admission uncertain.
|
|
106
|
+
code: zod_1.z.enum(['MODEL_STARTED', 'MODEL_COMPLETED', 'MODEL_REFUSED', 'MODEL_OUTCOME_UNKNOWN']),
|
|
106
107
|
durationMs: zod_1.z.number().int().nonnegative().max(Number.MAX_SAFE_INTEGER).nullable(),
|
|
107
108
|
requestStartedAtMs: zod_1.z.number().int().nonnegative().max(Number.MAX_SAFE_INTEGER).nullable(),
|
|
108
109
|
costBasis: zod_1.z.literal('unknown'),
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kya-os/contracts",
|
|
3
|
-
"version": "1.13.
|
|
3
|
+
"version": "1.13.1",
|
|
4
4
|
"description": "Shared contracts, types, and schemas for MCP-I framework",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -152,6 +152,7 @@
|
|
|
152
152
|
},
|
|
153
153
|
"scripts": {
|
|
154
154
|
"build": "tsc -p tsconfig.build.json && npm run emit-schemas && npm run check-exports-integrity",
|
|
155
|
+
"typecheck": "tsc --noEmit -p tsconfig.build.json",
|
|
155
156
|
"emit-schemas": "node scripts/emit-schemas.mjs",
|
|
156
157
|
"check-exports-integrity": "node scripts/check-exports-integrity.mjs",
|
|
157
158
|
"test": "vitest run",
|
|
@@ -164,7 +165,7 @@
|
|
|
164
165
|
},
|
|
165
166
|
"sideEffects": false,
|
|
166
167
|
"dependencies": {
|
|
167
|
-
"@kya-os/consent": "^0.1.
|
|
168
|
+
"@kya-os/consent": "^0.1.50",
|
|
168
169
|
"zod": "^3.25.67"
|
|
169
170
|
},
|
|
170
171
|
"devDependencies": {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kya-os/cli",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.1",
|
|
4
4
|
"description": "CLI for KYA-OS setup and management",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"cli",
|
|
@@ -32,6 +32,7 @@
|
|
|
32
32
|
],
|
|
33
33
|
"scripts": {
|
|
34
34
|
"build": "npm run build:sidecar && node scripts/fix-esm-imports.js && node scripts/smoke-test-dist.js",
|
|
35
|
+
"typecheck": "tsc --noEmit -p tsconfig.sidecar.json",
|
|
35
36
|
"build:rust": "cargo build --locked --release",
|
|
36
37
|
"build:sidecar": "tsc -p tsconfig.sidecar.json",
|
|
37
38
|
"build:foundation": "npm run build:rust && npm run build:sidecar",
|
|
@@ -46,9 +47,9 @@
|
|
|
46
47
|
"test:coverage": "vitest --coverage --run"
|
|
47
48
|
},
|
|
48
49
|
"dependencies": {
|
|
49
|
-
"@kya-os/contracts": "1.13.
|
|
50
|
+
"@kya-os/contracts": "1.13.1",
|
|
50
51
|
"@kya-os/mcp": "1.15.0",
|
|
51
|
-
"@kya-os/mcp-i": "^1.
|
|
52
|
+
"@kya-os/mcp-i": "^1.13.1",
|
|
52
53
|
"didwebvh-ts": "2.8.0",
|
|
53
54
|
"json-canonicalize": "2.0.0",
|
|
54
55
|
"zod": "^3.25.67"
|
|
@@ -63,9 +64,9 @@
|
|
|
63
64
|
"node": ">=20.19.0"
|
|
64
65
|
},
|
|
65
66
|
"optionalDependencies": {
|
|
66
|
-
"@kya-os/cli-darwin-arm64": "2.1.
|
|
67
|
-
"@kya-os/cli-darwin-x64": "2.1.
|
|
68
|
-
"@kya-os/cli-linux-arm64-gnu": "2.1.
|
|
69
|
-
"@kya-os/cli-linux-x64-gnu": "2.1.
|
|
67
|
+
"@kya-os/cli-darwin-arm64": "2.1.1",
|
|
68
|
+
"@kya-os/cli-darwin-x64": "2.1.1",
|
|
69
|
+
"@kya-os/cli-linux-arm64-gnu": "2.1.1",
|
|
70
|
+
"@kya-os/cli-linux-x64-gnu": "2.1.1"
|
|
70
71
|
}
|
|
71
72
|
}
|