@claudexor/schema 4.3.1 → 4.5.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/account-routing-evidence.d.ts +282 -0
- package/dist/account-routing-evidence.d.ts.map +1 -1
- package/dist/account-routing-evidence.js +26 -1
- package/dist/account-routing-evidence.js.map +1 -1
- package/dist/config.d.ts +2 -2
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +2 -2
- package/dist/config.js.map +1 -1
- package/dist/control-gc.d.ts +113 -0
- package/dist/control-gc.d.ts.map +1 -1
- package/dist/control-gc.js +28 -1
- package/dist/control-gc.js.map +1 -1
- package/dist/control-run-event-part.d.ts +53 -0
- package/dist/control-run-event-part.d.ts.map +1 -0
- package/dist/control-run-event-part.js +47 -0
- package/dist/control-run-event-part.js.map +1 -0
- package/dist/daemon-status.d.ts +327 -0
- package/dist/daemon-status.d.ts.map +1 -1
- package/dist/daemon-status.js +35 -0
- package/dist/daemon-status.js.map +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/dist/mcp-run-result.d.ts +251 -0
- package/dist/mcp-run-result.d.ts.map +1 -1
- package/dist/mcp-run-result.js +26 -2
- package/dist/mcp-run-result.js.map +1 -1
- package/dist/mcp-run-wait.d.ts +269 -0
- package/dist/mcp-run-wait.d.ts.map +1 -0
- package/dist/mcp-run-wait.js +73 -0
- package/dist/mcp-run-wait.js.map +1 -0
- package/dist/model-operation.d.ts +205 -0
- package/dist/model-operation.d.ts.map +1 -1
- package/dist/model-operation.js +27 -1
- package/dist/model-operation.js.map +1 -1
- package/dist/operation.d.ts +5 -0
- package/dist/operation.d.ts.map +1 -1
- package/dist/operation.js +7 -0
- package/dist/operation.js.map +1 -1
- package/dist/store-status.d.ts +10 -0
- package/dist/store-status.d.ts.map +1 -1
- package/dist/store-status.js +8 -0
- package/dist/store-status.js.map +1 -1
- package/generated/ControlAccountRoutingEvidenceResponse.schema.json +67 -1
- package/generated/ControlDaemonStatus.schema.json +174 -6
- package/generated/ControlGcReceipt.schema.json +81 -1
- package/generated/ControlGcRequest.schema.json +4 -0
- package/generated/ControlHandshakeResponse.schema.json +5 -0
- package/generated/ControlModelAccountCatalogResponse.schema.json +4 -0
- package/generated/ControlModelCatalogQueryResponse.schema.json +4 -0
- package/generated/ControlModelCatalogResponse.schema.json +4 -0
- package/generated/ControlModelOperationDetail.schema.json +54 -0
- package/generated/ControlRunEventPart.schema.json +140 -0
- package/generated/GlobalConfig.schema.json +1 -1
- package/generated/ImageCallRequest.schema.json +1 -1
- package/generated/McpAccountsToolResult.schema.json +66 -0
- package/generated/McpRunEventReadInput.schema.json +41 -0
- package/generated/McpRunHandleResult.schema.json +382 -0
- package/generated/McpRunToolResult.schema.json +10 -2
- package/generated/McpRunWaitInput.schema.json +50 -0
- package/generated/McpRunWaitResult.schema.json +411 -0
- package/generated/ModelCallRequest.schema.json +5 -1
- package/generated/ModelCallResult.schema.json +59 -5
- package/package.json +2 -2
package/dist/operation.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"operation.d.ts","sourceRoot":"","sources":["../src/operation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAO3B,eAAO,MAAM,sBAAsB,EAAG,CAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"operation.d.ts","sourceRoot":"","sources":["../src/operation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAO3B,eAAO,MAAM,sBAAsB,EAAG,CAAU,CAAC;AACjD,sGAAsG;AACtG,eAAO,MAAM,6BAA6B,+BAA+B,CAAC;AAE1E,eAAO,MAAM,uBAAuB;;;;;;;;;EAM6C,CAAC;AAClF,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAA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ected as churn).
|
|
7
7
|
export const CONTROL_PROTOCOL_MAJOR = 3;
|
|
8
|
+
/** Opt-in request header (value `1`) for handshake extensions an older strict client would refuse. */
|
|
9
|
+
export const CONTROL_STORE_IDENTITY_HEADER = "x-claudexor-store-identity";
|
|
8
10
|
export const ControlHandshakeRequest = z
|
|
9
11
|
.object({
|
|
10
12
|
protocolMajor: z.number().int().positive(),
|
|
@@ -17,6 +19,11 @@ export const ControlHandshakeResponse = z
|
|
|
17
19
|
protocolMajor: z.literal(CONTROL_PROTOCOL_MAJOR),
|
|
18
20
|
compatible: z.literal(true),
|
|
19
21
|
operationsPath: z.literal("/v2/operations"),
|
|
22
|
+
storeId: z
|
|
23
|
+
.string()
|
|
24
|
+
.min(1)
|
|
25
|
+
.optional()
|
|
26
|
+
.describe("Immutable UUID of the durable engine store, stable across restarts; a run 404 is meaningful only with the same storeId. Returned only to a request sending `X-Claudexor-Store-Identity: 1` (older strict clients keep the legacy shape); absent when the store is unavailable or the daemon predates this field."),
|
|
20
27
|
/** Build identity of the serving engine (D20/INV-116 spirit): stale-
|
|
21
28
|
* daemon skew is visible at the handshake instead of guessed later. */
|
|
22
29
|
engine: z
|
package/dist/operation.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"operation.js","sourceRoot":"","sources":["../src/operation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAE3B,6EAA6E;AAC7E,4EAA4E;AAC5E,4EAA4E;AAC5E,4EAA4E;AAC5E,0BAA0B;AAC1B,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"operation.js","sourceRoot":"","sources":["../src/operation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAE3B,6EAA6E;AAC7E,4EAA4E;AAC5E,4EAA4E;AAC5E,4EAA4E;AAC5E,0BAA0B;AAC1B,MAAM,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AAQ,CAAC,CAAC;IAClD,UAAU,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,WAAW,EAAE,gBAAgB,EAAE,iBAAiB,CAAC,CAAC;CACvE,CAAC;KACD,MAAM,EAAE;KACR,WAAW,CAAC,CAAC,KAAK,EAAE,GAAG,EAAE,EAAE;IAC1B,IAAI,KAAK,CAAC,YAAY,KAAK,MAAM,IAAI,KAAK,CAAC,cAAc,KAAK,IAAI,EAAE,CAAC;QACnE,GAAG,CAAC,QAAQ,CAAC;YACX,IAAI,EAAE,CAAC,CAAC,YAAY,CAAC,MAAM;YAC3B,IAAI,EAAE,CAAC,gBAAgB,CAAC;YACxB,OAAO,EAAE,qDAAqD;SAC/D,CAAC,CAAC;IACL,CAAC;AACH,CAAC,CAAC;KACD,QAAQ,CAAC,0DAA0D,CAAC,CAAC;AAGxE,MAAM,CAAC,MAAM,uBAAuB,GAAG,CAAC;KACrC,MAAM,CAAC;IACN,aAAa,EAAE,CAAC,CAAC,OAAO,CAAC,sBAAsB,CAAC;IAChD,UAAU,EAAE,CAAC,CAAC,KAAK,CAAC,0BAA0B,CAAC;CAChD,CAAC;KACD,MAAM,EAAE;KACR,QAAQ,CAAC,uDAAuD,CAAC,CAAC"}
|
package/dist/store-status.d.ts
CHANGED
|
@@ -319,16 +319,22 @@ export declare const DaemonStoreFacts: z.ZodObject<{
|
|
|
319
319
|
failures: z.ZodNumber;
|
|
320
320
|
last_ms: z.ZodNullable<z.ZodNumber>;
|
|
321
321
|
max_ms: z.ZodNullable<z.ZodNumber>;
|
|
322
|
+
p50_ms: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
323
|
+
p99_ms: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
322
324
|
}, "strip", z.ZodTypeAny, {
|
|
323
325
|
attempts: number;
|
|
324
326
|
failures: number;
|
|
325
327
|
last_ms: number | null;
|
|
326
328
|
max_ms: number | null;
|
|
329
|
+
p50_ms?: number | null | undefined;
|
|
330
|
+
p99_ms?: number | null | undefined;
|
|
327
331
|
}, {
|
|
328
332
|
attempts: number;
|
|
329
333
|
failures: number;
|
|
330
334
|
last_ms: number | null;
|
|
331
335
|
max_ms: number | null;
|
|
336
|
+
p50_ms?: number | null | undefined;
|
|
337
|
+
p99_ms?: number | null | undefined;
|
|
332
338
|
}>>>;
|
|
333
339
|
obligations_open: z.ZodNullable<z.ZodNumber>;
|
|
334
340
|
integrity: z.ZodNullable<z.ZodEnum<["pending", "ok", "failed"]>>;
|
|
@@ -397,6 +403,8 @@ export declare const DaemonStoreFacts: z.ZodObject<{
|
|
|
397
403
|
failures: number;
|
|
398
404
|
last_ms: number | null;
|
|
399
405
|
max_ms: number | null;
|
|
406
|
+
p50_ms?: number | null | undefined;
|
|
407
|
+
p99_ms?: number | null | undefined;
|
|
400
408
|
} | null | undefined;
|
|
401
409
|
obligations_open: number | null;
|
|
402
410
|
integrity: "failed" | "ok" | "pending" | null;
|
|
@@ -451,6 +459,8 @@ export declare const DaemonStoreFacts: z.ZodObject<{
|
|
|
451
459
|
failures: number;
|
|
452
460
|
last_ms: number | null;
|
|
453
461
|
max_ms: number | null;
|
|
462
|
+
p50_ms?: number | null | undefined;
|
|
463
|
+
p99_ms?: number | null | undefined;
|
|
454
464
|
} | null | undefined;
|
|
455
465
|
obligations_open: number | null;
|
|
456
466
|
integrity: "failed" | "ok" | "pending" | null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"store-status.d.ts","sourceRoot":"","sources":["../src/store-status.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAM3B,wEAAwE;AACxE,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;EAOjC,CAAC;AACH,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC;AAE5E,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA+B5B,CAAC;
|
|
1
|
+
{"version":3,"file":"store-status.d.ts","sourceRoot":"","sources":["../src/store-status.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAM3B,wEAAwE;AACxE,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;EAOjC,CAAC;AACH,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC;AAE5E,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA+B5B,CAAC;AAsBH,iFAAiF;AACjF,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAe3B,CAAC;AACH,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAC"}
|
package/dist/store-status.js
CHANGED
|
@@ -49,6 +49,14 @@ const StoreCommitFacts = z.object({
|
|
|
49
49
|
failures: count.describe("COMMIT calls that threw."),
|
|
50
50
|
last_ms: ms.nullable().describe("Duration of the latest COMMIT call; null before the first."),
|
|
51
51
|
max_ms: ms.nullable().describe("Longest COMMIT call; null before the first."),
|
|
52
|
+
p50_ms: ms
|
|
53
|
+
.nullable()
|
|
54
|
+
.optional()
|
|
55
|
+
.describe("Lifetime COMMIT p50, microsecond histogram with two significant digits; absent on older engines."),
|
|
56
|
+
p99_ms: ms
|
|
57
|
+
.nullable()
|
|
58
|
+
.optional()
|
|
59
|
+
.describe("Lifetime COMMIT p99, microsecond histogram with two significant digits; absent on older engines."),
|
|
52
60
|
});
|
|
53
61
|
/** Missing on old engines; null metrics mean the SQL runtime is not open yet. */
|
|
54
62
|
export const DaemonStoreFacts = z.object({
|
package/dist/store-status.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"store-status.js","sourceRoot":"","sources":["../src/store-status.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAC3B,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAE/C,MAAM,KAAK,GAAG,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,WAAW,EAAE,CAAC;AAC7C,MAAM,EAAE,GAAG,CAAC,CAAC,MAAM,EAAE,CAAC,WAAW,EAAE,CAAC;AAEpC,wEAAwE;AACxE,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC7C,KAAK,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,EAAE,WAAW,EAAE,WAAW,EAAE,UAAU,EAAE,YAAY,EAAE,QAAQ,CAAC,CAAC;IACxF,mBAAmB,EAAE,KAAK;IAC1B,eAAe,EAAE,KAAK;IACtB,gBAAgB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACvC,cAAc,EAAE,KAAK;IACrB,UAAU,EAAE,KAAK;CAClB,CAAC,CAA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AAE;SACP,QAAQ,EAAE;SACV,QAAQ,EAAE;SACV,QAAQ,CACP,kGAAkG,CACnG;CACJ,CAAC,CAAC;AAEH,iFAAiF;AACjF,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,CAAC,MAAM,CAAC;IACvC,OAAO,EAAE,iBAAiB,CAAC,QAAQ,EAAE;IACrC,YAAY,EAAE,EAAE,CAAC,QAAQ,EAAE;IAC3B,eAAe,EAAE,YAAY,CAAC,QAAQ,EAAE;IACxC,WAAW,EAAE,EAAE,CAAC,QAAQ,EAAE;IAC1B,SAAS,EAAE,KAAK,CAAC,QAAQ,EAAE;IAC3B,UAAU,EAAE,KAAK,CAAC,QAAQ,EAAE;IAC5B,MAAM,EAAE,gBAAgB,CAAC,QAAQ,EAAE;SAChC,QAAQ,EAAE;SACV,QAAQ,CACP,6VAA6V,CAC9V;IACH,gBAAgB,EAAE,KAAK,CAAC,QAAQ,EAAE;IAClC,SAAS,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,EAAE,IAAI,EAAE,QAAQ,CAAC,CAAC,CAAC,QAAQ,EAAE;IACzD,SAAS,EAAE,sBAAsB,CAAC,QAAQ,EAAE;CAC7C,CAAC,CAAC"}
|
|
@@ -4,6 +4,72 @@
|
|
|
4
4
|
"ControlAccountRoutingEvidenceResponse": {
|
|
5
5
|
"type": "object",
|
|
6
6
|
"properties": {
|
|
7
|
+
"capabilities": {
|
|
8
|
+
"type": "array",
|
|
9
|
+
"items": {
|
|
10
|
+
"type": "object",
|
|
11
|
+
"properties": {
|
|
12
|
+
"harness_id": {
|
|
13
|
+
"type": "string",
|
|
14
|
+
"minLength": 1,
|
|
15
|
+
"description": "Harness family of the account."
|
|
16
|
+
},
|
|
17
|
+
"profile_id": {
|
|
18
|
+
"type": "string",
|
|
19
|
+
"minLength": 1,
|
|
20
|
+
"description": "Account row that refused this model before generation started."
|
|
21
|
+
},
|
|
22
|
+
"requested_model": {
|
|
23
|
+
"type": "string",
|
|
24
|
+
"description": "Model the refused request named."
|
|
25
|
+
},
|
|
26
|
+
"account_fingerprint": {
|
|
27
|
+
"type": [
|
|
28
|
+
"string",
|
|
29
|
+
"null"
|
|
30
|
+
],
|
|
31
|
+
"description": "Provider account identity the mark is bound to; null when the adapter has none."
|
|
32
|
+
},
|
|
33
|
+
"provider_reason": {
|
|
34
|
+
"type": "string",
|
|
35
|
+
"description": "Latest refusal diagnostic, redacted and at most 1024 characters: the provider's reason for a recognized refusal, the engine's message and vendor code otherwise."
|
|
36
|
+
},
|
|
37
|
+
"observed_at": {
|
|
38
|
+
"type": "string",
|
|
39
|
+
"minLength": 1,
|
|
40
|
+
"description": "Start of this mark's episode, when its row was created (a recognized refusal, or the service elsewhere that confirmed an unrecognized one); renewals and probes keep it."
|
|
41
|
+
},
|
|
42
|
+
"expires_at": {
|
|
43
|
+
"type": "string",
|
|
44
|
+
"minLength": 1,
|
|
45
|
+
"description": "Probe becomes eligible at this time; not a vendor reset."
|
|
46
|
+
},
|
|
47
|
+
"state": {
|
|
48
|
+
"type": "string",
|
|
49
|
+
"enum": [
|
|
50
|
+
"provisional",
|
|
51
|
+
"confirmed",
|
|
52
|
+
"probe_due",
|
|
53
|
+
"probing"
|
|
54
|
+
],
|
|
55
|
+
"description": "provisional = refused here; confirmed = another account then served the correlated retry; probe_due = expired, the next selection may probe it; probing = one operation holds that probe."
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
"required": [
|
|
59
|
+
"harness_id",
|
|
60
|
+
"profile_id",
|
|
61
|
+
"requested_model",
|
|
62
|
+
"account_fingerprint",
|
|
63
|
+
"provider_reason",
|
|
64
|
+
"observed_at",
|
|
65
|
+
"expires_at",
|
|
66
|
+
"state"
|
|
67
|
+
],
|
|
68
|
+
"additionalProperties": false,
|
|
69
|
+
"description": "A temporary capability mark for one account and one model. It only orders auto selection: the account stays enabled and usable as a last fallback."
|
|
70
|
+
},
|
|
71
|
+
"description": "Temporary capability marks; absent from engines that predate them. A mark clears on a success there or a catalog or credential change; after expires_at one operation may probe the account."
|
|
72
|
+
},
|
|
7
73
|
"refusals": {
|
|
8
74
|
"type": "array",
|
|
9
75
|
"items": {
|
|
@@ -94,7 +160,7 @@
|
|
|
94
160
|
"lastService"
|
|
95
161
|
],
|
|
96
162
|
"additionalProperties": false,
|
|
97
|
-
"description": "Model-scoped account routing evidence: live refusal marks and the durable last-served order."
|
|
163
|
+
"description": "Model-scoped account routing evidence: live refusal marks, temporary capability marks and the durable last-served order."
|
|
98
164
|
}
|
|
99
165
|
},
|
|
100
166
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
@@ -500,6 +500,28 @@
|
|
|
500
500
|
}
|
|
501
501
|
],
|
|
502
502
|
"description": "Longest COMMIT call; null before the first."
|
|
503
|
+
},
|
|
504
|
+
"p50_ms": {
|
|
505
|
+
"anyOf": [
|
|
506
|
+
{
|
|
507
|
+
"$ref": "#/definitions/ControlDaemonStatus/properties/store/properties/flusher/anyOf/0/properties/interval_ms"
|
|
508
|
+
},
|
|
509
|
+
{
|
|
510
|
+
"type": "null"
|
|
511
|
+
}
|
|
512
|
+
],
|
|
513
|
+
"description": "Lifetime COMMIT p50, microsecond histogram with two significant digits; absent on older engines."
|
|
514
|
+
},
|
|
515
|
+
"p99_ms": {
|
|
516
|
+
"anyOf": [
|
|
517
|
+
{
|
|
518
|
+
"$ref": "#/definitions/ControlDaemonStatus/properties/store/properties/flusher/anyOf/0/properties/interval_ms"
|
|
519
|
+
},
|
|
520
|
+
{
|
|
521
|
+
"type": "null"
|
|
522
|
+
}
|
|
523
|
+
],
|
|
524
|
+
"description": "Lifetime COMMIT p99, microsecond histogram with two significant digits; absent on older engines."
|
|
503
525
|
}
|
|
504
526
|
},
|
|
505
527
|
"required": [
|
|
@@ -605,6 +627,153 @@
|
|
|
605
627
|
],
|
|
606
628
|
"additionalProperties": false
|
|
607
629
|
},
|
|
630
|
+
"timing": {
|
|
631
|
+
"type": "object",
|
|
632
|
+
"properties": {
|
|
633
|
+
"windowMs": {
|
|
634
|
+
"anyOf": [
|
|
635
|
+
{
|
|
636
|
+
"type": "number",
|
|
637
|
+
"minimum": 0
|
|
638
|
+
},
|
|
639
|
+
{
|
|
640
|
+
"type": "null"
|
|
641
|
+
}
|
|
642
|
+
]
|
|
643
|
+
},
|
|
644
|
+
"windowEndedAt": {
|
|
645
|
+
"anyOf": [
|
|
646
|
+
{
|
|
647
|
+
"$ref": "#/definitions/ControlDaemonStatus/properties/memory/properties/atAdmission/anyOf/0/properties/at"
|
|
648
|
+
},
|
|
649
|
+
{
|
|
650
|
+
"type": "null"
|
|
651
|
+
}
|
|
652
|
+
],
|
|
653
|
+
"description": "ISO-8601 timestamp string."
|
|
654
|
+
},
|
|
655
|
+
"routes": {
|
|
656
|
+
"type": "array",
|
|
657
|
+
"items": {
|
|
658
|
+
"type": "object",
|
|
659
|
+
"properties": {
|
|
660
|
+
"method": {
|
|
661
|
+
"type": "string"
|
|
662
|
+
},
|
|
663
|
+
"route": {
|
|
664
|
+
"type": "string"
|
|
665
|
+
},
|
|
666
|
+
"lifetime": {
|
|
667
|
+
"type": "object",
|
|
668
|
+
"properties": {
|
|
669
|
+
"count": {
|
|
670
|
+
"type": "integer",
|
|
671
|
+
"minimum": 0
|
|
672
|
+
},
|
|
673
|
+
"p50Ms": {
|
|
674
|
+
"anyOf": [
|
|
675
|
+
{
|
|
676
|
+
"$ref": "#/definitions/ControlDaemonStatus/properties/timing/properties/windowMs/anyOf/0"
|
|
677
|
+
},
|
|
678
|
+
{
|
|
679
|
+
"type": "null"
|
|
680
|
+
}
|
|
681
|
+
]
|
|
682
|
+
},
|
|
683
|
+
"p99Ms": {
|
|
684
|
+
"anyOf": [
|
|
685
|
+
{
|
|
686
|
+
"$ref": "#/definitions/ControlDaemonStatus/properties/timing/properties/windowMs/anyOf/0"
|
|
687
|
+
},
|
|
688
|
+
{
|
|
689
|
+
"type": "null"
|
|
690
|
+
}
|
|
691
|
+
]
|
|
692
|
+
},
|
|
693
|
+
"maxMs": {
|
|
694
|
+
"anyOf": [
|
|
695
|
+
{
|
|
696
|
+
"$ref": "#/definitions/ControlDaemonStatus/properties/timing/properties/windowMs/anyOf/0"
|
|
697
|
+
},
|
|
698
|
+
{
|
|
699
|
+
"type": "null"
|
|
700
|
+
}
|
|
701
|
+
]
|
|
702
|
+
}
|
|
703
|
+
},
|
|
704
|
+
"required": [
|
|
705
|
+
"count",
|
|
706
|
+
"p50Ms",
|
|
707
|
+
"p99Ms",
|
|
708
|
+
"maxMs"
|
|
709
|
+
],
|
|
710
|
+
"additionalProperties": false
|
|
711
|
+
},
|
|
712
|
+
"window": {
|
|
713
|
+
"anyOf": [
|
|
714
|
+
{
|
|
715
|
+
"$ref": "#/definitions/ControlDaemonStatus/properties/timing/properties/routes/items/properties/lifetime"
|
|
716
|
+
},
|
|
717
|
+
{
|
|
718
|
+
"type": "null"
|
|
719
|
+
}
|
|
720
|
+
]
|
|
721
|
+
}
|
|
722
|
+
},
|
|
723
|
+
"required": [
|
|
724
|
+
"method",
|
|
725
|
+
"route",
|
|
726
|
+
"lifetime",
|
|
727
|
+
"window"
|
|
728
|
+
],
|
|
729
|
+
"additionalProperties": false
|
|
730
|
+
},
|
|
731
|
+
"maxItems": 256,
|
|
732
|
+
"description": "Completed responses or disconnects by method and catalog template (never raw URLs). SSE latency includes the stream lifetime. At most 256 keys including OTHER <unmatched>. Fixed histograms use microseconds and two significant digits; max is exact to a microsecond. Window is the last completed loop-facts window, null before the first; empty windows have count zero and null latencies."
|
|
733
|
+
},
|
|
734
|
+
"worstSync": {
|
|
735
|
+
"type": "array",
|
|
736
|
+
"items": {
|
|
737
|
+
"type": "object",
|
|
738
|
+
"properties": {
|
|
739
|
+
"operation": {
|
|
740
|
+
"type": "string",
|
|
741
|
+
"enum": [
|
|
742
|
+
"store.begin_immediate",
|
|
743
|
+
"store.commit",
|
|
744
|
+
"store.external_write",
|
|
745
|
+
"control.run_detail",
|
|
746
|
+
"control.run_summary",
|
|
747
|
+
"scope.persist"
|
|
748
|
+
]
|
|
749
|
+
},
|
|
750
|
+
"durationMs": {
|
|
751
|
+
"$ref": "#/definitions/ControlDaemonStatus/properties/timing/properties/windowMs/anyOf/0"
|
|
752
|
+
},
|
|
753
|
+
"at": {
|
|
754
|
+
"$ref": "#/definitions/ControlDaemonStatus/properties/memory/properties/atAdmission/anyOf/0/properties/at"
|
|
755
|
+
}
|
|
756
|
+
},
|
|
757
|
+
"required": [
|
|
758
|
+
"operation",
|
|
759
|
+
"durationMs",
|
|
760
|
+
"at"
|
|
761
|
+
],
|
|
762
|
+
"additionalProperties": false
|
|
763
|
+
},
|
|
764
|
+
"maxItems": 32,
|
|
765
|
+
"description": "The 32 longest instrumented synchronous sections since process start, descending by duration, retaining later samples on ties. Labels contain no SQL, paths, IDs or payloads. Scope persistence measures synchronous serialization only; its file writes are asynchronous. Sections can overlap; these facts do not attribute a stall to disk or another cause."
|
|
766
|
+
}
|
|
767
|
+
},
|
|
768
|
+
"required": [
|
|
769
|
+
"windowMs",
|
|
770
|
+
"windowEndedAt",
|
|
771
|
+
"routes",
|
|
772
|
+
"worstSync"
|
|
773
|
+
],
|
|
774
|
+
"additionalProperties": false,
|
|
775
|
+
"description": "Bounded process timing facts; absent on older engines."
|
|
776
|
+
},
|
|
608
777
|
"loop": {
|
|
609
778
|
"anyOf": [
|
|
610
779
|
{
|
|
@@ -633,14 +802,13 @@
|
|
|
633
802
|
"minimum": 0
|
|
634
803
|
},
|
|
635
804
|
"p50Ms": {
|
|
636
|
-
"
|
|
637
|
-
"minimum": 0
|
|
805
|
+
"$ref": "#/definitions/ControlDaemonStatus/properties/timing/properties/windowMs/anyOf/0"
|
|
638
806
|
},
|
|
639
807
|
"p99Ms": {
|
|
640
|
-
"$ref": "#/definitions/ControlDaemonStatus/properties/
|
|
808
|
+
"$ref": "#/definitions/ControlDaemonStatus/properties/timing/properties/windowMs/anyOf/0"
|
|
641
809
|
},
|
|
642
810
|
"maxMs": {
|
|
643
|
-
"$ref": "#/definitions/ControlDaemonStatus/properties/
|
|
811
|
+
"$ref": "#/definitions/ControlDaemonStatus/properties/timing/properties/windowMs/anyOf/0"
|
|
644
812
|
}
|
|
645
813
|
},
|
|
646
814
|
"required": [
|
|
@@ -679,10 +847,10 @@
|
|
|
679
847
|
"minimum": 0
|
|
680
848
|
},
|
|
681
849
|
"totalMs": {
|
|
682
|
-
"$ref": "#/definitions/ControlDaemonStatus/properties/
|
|
850
|
+
"$ref": "#/definitions/ControlDaemonStatus/properties/timing/properties/windowMs/anyOf/0"
|
|
683
851
|
},
|
|
684
852
|
"maxMs": {
|
|
685
|
-
"$ref": "#/definitions/ControlDaemonStatus/properties/
|
|
853
|
+
"$ref": "#/definitions/ControlDaemonStatus/properties/timing/properties/windowMs/anyOf/0"
|
|
686
854
|
}
|
|
687
855
|
},
|
|
688
856
|
"required": [
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
},
|
|
62
62
|
"project_root": {
|
|
63
63
|
"type": "string",
|
|
64
|
-
"description": "Canonical project root
|
|
64
|
+
"description": "Canonical project root, or the owned runtime namespace when no project record remains."
|
|
65
65
|
},
|
|
66
66
|
"freed_bytes": {
|
|
67
67
|
"type": "integer",
|
|
@@ -159,6 +159,86 @@
|
|
|
159
159
|
},
|
|
160
160
|
"description": "Names of top-level entries in the Claudexor-owned data root that the engine does not own and will never touch (advisory only — nothing here is ever deleted). The full sorted list. Present ONLY when the request opted in via data_root_report; ABSENT (not empty) when the request did not opt in, the scan failed, or the serving daemon predates the feature; a scan failure is disclosed in errors instead."
|
|
161
161
|
},
|
|
162
|
+
"native_homes": {
|
|
163
|
+
"type": "array",
|
|
164
|
+
"items": {
|
|
165
|
+
"type": "object",
|
|
166
|
+
"properties": {
|
|
167
|
+
"harness_id": {
|
|
168
|
+
"type": "string"
|
|
169
|
+
},
|
|
170
|
+
"profile_id": {
|
|
171
|
+
"type": [
|
|
172
|
+
"string",
|
|
173
|
+
"null"
|
|
174
|
+
]
|
|
175
|
+
},
|
|
176
|
+
"home": {
|
|
177
|
+
"type": [
|
|
178
|
+
"string",
|
|
179
|
+
"null"
|
|
180
|
+
]
|
|
181
|
+
},
|
|
182
|
+
"status": {
|
|
183
|
+
"type": "string",
|
|
184
|
+
"enum": [
|
|
185
|
+
"checked",
|
|
186
|
+
"not_pruned"
|
|
187
|
+
]
|
|
188
|
+
},
|
|
189
|
+
"reason": {
|
|
190
|
+
"type": "string"
|
|
191
|
+
},
|
|
192
|
+
"deleted_files": {
|
|
193
|
+
"type": "array",
|
|
194
|
+
"items": {
|
|
195
|
+
"type": "string"
|
|
196
|
+
}
|
|
197
|
+
},
|
|
198
|
+
"errors": {
|
|
199
|
+
"type": "array",
|
|
200
|
+
"items": {
|
|
201
|
+
"type": "string"
|
|
202
|
+
}
|
|
203
|
+
},
|
|
204
|
+
"freed_bytes": {
|
|
205
|
+
"type": "integer",
|
|
206
|
+
"minimum": 0
|
|
207
|
+
},
|
|
208
|
+
"kept_referenced": {
|
|
209
|
+
"type": "integer",
|
|
210
|
+
"minimum": 0
|
|
211
|
+
},
|
|
212
|
+
"kept_recent": {
|
|
213
|
+
"type": "integer",
|
|
214
|
+
"minimum": 0
|
|
215
|
+
},
|
|
216
|
+
"kept_unknown": {
|
|
217
|
+
"type": "integer",
|
|
218
|
+
"minimum": 0
|
|
219
|
+
},
|
|
220
|
+
"truncated": {
|
|
221
|
+
"type": "boolean"
|
|
222
|
+
}
|
|
223
|
+
},
|
|
224
|
+
"required": [
|
|
225
|
+
"harness_id",
|
|
226
|
+
"profile_id",
|
|
227
|
+
"home",
|
|
228
|
+
"status",
|
|
229
|
+
"reason",
|
|
230
|
+
"deleted_files",
|
|
231
|
+
"errors",
|
|
232
|
+
"freed_bytes",
|
|
233
|
+
"kept_referenced",
|
|
234
|
+
"kept_recent",
|
|
235
|
+
"kept_unknown",
|
|
236
|
+
"truncated"
|
|
237
|
+
],
|
|
238
|
+
"additionalProperties": false
|
|
239
|
+
},
|
|
240
|
+
"description": "Per-home adapter retirement decisions; present only when native_home_report was requested. Unknown vendor data and unreadable references are kept with a reason."
|
|
241
|
+
},
|
|
162
242
|
"model_payloads": {
|
|
163
243
|
"type": "object",
|
|
164
244
|
"properties": {
|
|
@@ -17,6 +17,10 @@
|
|
|
17
17
|
"type": "boolean",
|
|
18
18
|
"description": "Opt in to the advisory data-root scan: when true, the receipt carries data_root_unrecognized. Capability negotiation for engine-version skew — a client omits this unless the serving daemon is the SAME engine version, so an older daemon never sees the unknown request key and an older client never receives the unknown receipt key."
|
|
19
19
|
},
|
|
20
|
+
"native_home_report": {
|
|
21
|
+
"type": "boolean",
|
|
22
|
+
"description": "Include adapter-owned native-home retirement outcomes. Cleanup always runs; lockstep opt-in keeps older strict clients compatible."
|
|
23
|
+
},
|
|
20
24
|
"trash_purge_report": {
|
|
21
25
|
"type": "boolean",
|
|
22
26
|
"description": "Opt in to the thread-purge disclosure: when true, the receipt carries purged_threads and purge_leftovers. The purges themselves always run; the same lockstep capability negotiation as data_root_report keeps older strict receipt readers compatible."
|
|
@@ -16,6 +16,11 @@
|
|
|
16
16
|
"type": "string",
|
|
17
17
|
"const": "/v2/operations"
|
|
18
18
|
},
|
|
19
|
+
"storeId": {
|
|
20
|
+
"type": "string",
|
|
21
|
+
"minLength": 1,
|
|
22
|
+
"description": "Immutable UUID of the durable engine store, stable across restarts; a run 404 is meaningful only with the same storeId. Returned only to a request sending `X-Claudexor-Store-Identity: 1` (older strict clients keep the legacy shape); absent when the store is unavailable or the daemon predates this field."
|
|
23
|
+
},
|
|
19
24
|
"engine": {
|
|
20
25
|
"type": "object",
|
|
21
26
|
"properties": {
|
|
@@ -102,6 +102,10 @@
|
|
|
102
102
|
"null"
|
|
103
103
|
]
|
|
104
104
|
},
|
|
105
|
+
"capabilityFingerprint": {
|
|
106
|
+
"type": "string",
|
|
107
|
+
"description": "Opaque capability identity including plan when available; an invalidation token, never cached admission."
|
|
108
|
+
},
|
|
105
109
|
"observedAt": {
|
|
106
110
|
"type": "string",
|
|
107
111
|
"minLength": 1,
|
|
@@ -20,6 +20,10 @@
|
|
|
20
20
|
"null"
|
|
21
21
|
]
|
|
22
22
|
},
|
|
23
|
+
"capabilityFingerprint": {
|
|
24
|
+
"type": "string",
|
|
25
|
+
"description": "Opaque capability identity including plan when available; an invalidation token, never cached admission."
|
|
26
|
+
},
|
|
23
27
|
"observedAt": {
|
|
24
28
|
"type": "string",
|
|
25
29
|
"minLength": 1,
|
|
@@ -18,6 +18,10 @@
|
|
|
18
18
|
"null"
|
|
19
19
|
]
|
|
20
20
|
},
|
|
21
|
+
"capabilityFingerprint": {
|
|
22
|
+
"type": "string",
|
|
23
|
+
"description": "Opaque capability identity including plan when available; an invalidation token, never cached admission."
|
|
24
|
+
},
|
|
21
25
|
"observedAt": {
|
|
22
26
|
"type": "string",
|
|
23
27
|
"minLength": 1,
|
|
@@ -222,6 +222,60 @@
|
|
|
222
222
|
"additionalProperties": false,
|
|
223
223
|
"description": "Started means the physical send may have begun, not proof the upstream accepted it. A terminal not_started may refine that attempted send only with typed proof no complete inference request was delivered; startedAt and route retain the attempt."
|
|
224
224
|
},
|
|
225
|
+
"routing": {
|
|
226
|
+
"type": "object",
|
|
227
|
+
"properties": {
|
|
228
|
+
"selectionReason": {
|
|
229
|
+
"type": "string",
|
|
230
|
+
"enum": [
|
|
231
|
+
"listed",
|
|
232
|
+
"unlisted_fallback",
|
|
233
|
+
"marked_fallback",
|
|
234
|
+
"preferred",
|
|
235
|
+
"pinned",
|
|
236
|
+
"probe"
|
|
237
|
+
]
|
|
238
|
+
},
|
|
239
|
+
"retryOfOperationId": {
|
|
240
|
+
"$ref": "#/definitions/ControlModelOperationDetail/properties/id",
|
|
241
|
+
"description": "Non-empty identifier string."
|
|
242
|
+
},
|
|
243
|
+
"differentialOutcome": {
|
|
244
|
+
"type": "string",
|
|
245
|
+
"enum": [
|
|
246
|
+
"provisional",
|
|
247
|
+
"confirmed",
|
|
248
|
+
"equivalent_refusal",
|
|
249
|
+
"inconclusive"
|
|
250
|
+
]
|
|
251
|
+
},
|
|
252
|
+
"poolEvents": {
|
|
253
|
+
"type": "array",
|
|
254
|
+
"items": {
|
|
255
|
+
"type": "object",
|
|
256
|
+
"properties": {
|
|
257
|
+
"type": {
|
|
258
|
+
"type": "string"
|
|
259
|
+
},
|
|
260
|
+
"payload": {
|
|
261
|
+
"type": "object",
|
|
262
|
+
"additionalProperties": {}
|
|
263
|
+
}
|
|
264
|
+
},
|
|
265
|
+
"required": [
|
|
266
|
+
"type",
|
|
267
|
+
"payload"
|
|
268
|
+
],
|
|
269
|
+
"additionalProperties": false
|
|
270
|
+
}
|
|
271
|
+
}
|
|
272
|
+
},
|
|
273
|
+
"required": [
|
|
274
|
+
"selectionReason",
|
|
275
|
+
"poolEvents"
|
|
276
|
+
],
|
|
277
|
+
"additionalProperties": false
|
|
278
|
+
},
|
|
225
279
|
"response": {
|
|
226
280
|
"anyOf": [
|
|
227
281
|
{
|