@nativestudio/cli 0.3.0-rc.20 → 0.3.0-rc.27
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/COMPATIBILITY.json +11 -11
- package/components/runtime.json +7 -7
- package/components/runtime.tgz +0 -0
- package/dist/_chunks/backup-retirement-5OTAYZYN.js +1 -0
- package/dist/_chunks/caller-DPHTMOBN.js +1 -0
- package/dist/_chunks/{chunk-MLZ3ZPGU.js → chunk-24ZFLWWU.js} +1 -1
- package/dist/_chunks/chunk-25WUWVDK.js +1 -0
- package/dist/_chunks/{chunk-QGK6G6YS.js → chunk-4UQRT3ZH.js} +1 -1
- package/dist/_chunks/chunk-6MYLFBLH.js +1 -0
- package/dist/_chunks/chunk-6YVGVNEH.js +1 -0
- package/dist/_chunks/{chunk-4PAVWOPA.js → chunk-7TXIHIZ5.js} +1 -1
- package/dist/_chunks/chunk-A3MJERGH.js +1 -0
- package/dist/_chunks/{chunk-DLW42PJ6.js → chunk-AZQLZA47.js} +1 -1
- package/dist/_chunks/{chunk-QE7O57PQ.js → chunk-BNGPPUA3.js} +1 -1
- package/dist/_chunks/chunk-CBJIFAHD.js +1 -0
- package/dist/_chunks/chunk-CUCC4RFF.js +1 -0
- package/dist/_chunks/{chunk-GLAF74UU.js → chunk-DBOQPJLY.js} +1 -1
- package/dist/_chunks/chunk-DEXSJABJ.js +1 -0
- package/dist/_chunks/chunk-EOWXXTEF.js +1 -0
- package/dist/_chunks/chunk-EPH3TRYV.js +1 -0
- package/dist/_chunks/chunk-EYOGMJW2.js +1 -0
- package/dist/_chunks/{chunk-LBK42NHW.js → chunk-FRZDYDOP.js} +1 -1
- package/dist/_chunks/chunk-IKJ6VNJ6.js +1 -0
- package/dist/_chunks/chunk-ISPIV2P6.js +1 -0
- package/dist/_chunks/chunk-IYYCCA44.js +1 -0
- package/dist/_chunks/chunk-KAW7T5TR.js +1 -0
- package/dist/_chunks/chunk-KGS6SI5Y.js +1 -0
- package/dist/_chunks/chunk-LNKE3Z3X.js +1 -0
- package/dist/_chunks/{chunk-XUSVNPR5.js → chunk-LRIVN74V.js} +1 -1
- package/dist/_chunks/chunk-LVVSTKDW.js +1 -0
- package/dist/_chunks/chunk-LZAC64FB.js +1 -0
- package/dist/_chunks/chunk-M32FI2OA.js +1 -0
- package/dist/_chunks/chunk-N4ORSVTY.js +1 -0
- package/dist/_chunks/{chunk-KOCUZ3AE.js → chunk-NEZ7IY5E.js} +1 -1
- package/dist/_chunks/{chunk-K35CWLDH.js → chunk-NW3ODW7Y.js} +1 -1
- package/dist/_chunks/chunk-NX4JWZWV.js +1 -0
- package/dist/_chunks/chunk-PC54RQIE.js +1 -0
- package/dist/_chunks/chunk-Q7MTMC6D.js +1 -0
- package/dist/_chunks/chunk-QCBLU6D6.js +1 -0
- package/dist/_chunks/chunk-QLHMJUBH.js +1 -0
- package/dist/_chunks/{chunk-D74NHT4I.js → chunk-RASQZMYI.js} +2 -2
- package/dist/_chunks/chunk-RRYZZBXN.js +1 -0
- package/dist/_chunks/chunk-SCLI4ALP.js +1 -0
- package/dist/_chunks/chunk-SCOSFTMM.js +1 -0
- package/dist/_chunks/chunk-UFUFQA5U.js +1 -0
- package/dist/_chunks/chunk-UOYNCE7I.js +1 -0
- package/dist/_chunks/{chunk-OW6R4MAQ.js → chunk-USOV7NK4.js} +1 -1
- package/dist/_chunks/chunk-VJ4SCIR5.js +1 -0
- package/dist/_chunks/chunk-VKXFHOAR.js +1 -0
- package/dist/_chunks/chunk-VXANXYQL.js +1 -0
- package/dist/_chunks/chunk-XMZKBILZ.js +1 -0
- package/dist/_chunks/chunk-Z44SK6DZ.js +1 -0
- package/dist/_chunks/component-contract-B6VKGV2V.js +1 -0
- package/dist/_chunks/component-preflight-FYYYXV6C.js +1 -0
- package/dist/_chunks/connect-75RAY2SE.js +1 -0
- package/dist/_chunks/device-management-JGV4YU7S.js +1 -0
- package/dist/_chunks/device-preflight-ZPWOMGHI.js +1 -0
- package/dist/_chunks/device-provider-inspection-C4IRVW3V.js +1 -0
- package/dist/_chunks/devices-inventory-OAY2HON2.js +1 -0
- package/dist/_chunks/devices-main-6PDXFRE2.js +1 -0
- package/dist/_chunks/files-G2HINGMA.js +1 -0
- package/dist/_chunks/host-component-W5DIBO65.js +1 -0
- package/dist/_chunks/host-help-AYTWACIM.js +1 -0
- package/dist/_chunks/host-main-E34OH232.js +1 -0
- package/dist/_chunks/http-profile-BFWO2A2T.js +1 -0
- package/dist/_chunks/library-main-BDS4ANNF.js +1 -0
- package/dist/_chunks/local-main-EF3Y6EHU.js +1 -0
- package/dist/_chunks/local-mcp-ME7ZQBUT.js +1 -0
- package/dist/_chunks/main-7Q5Y5MVK.js +2 -0
- package/dist/_chunks/mcp-VEJ6GVUK.js +1 -0
- package/dist/_chunks/model-cleanup-22VY6NWS.js +1 -0
- package/dist/_chunks/model-management-RZ4LQYMW.js +1 -0
- package/dist/_chunks/model-plan-retirement-4V2J3AUA.js +1 -0
- package/dist/_chunks/model-retention-F4WNSTJO.js +1 -0
- package/dist/_chunks/model-slot-retirement-KL6MVDGL.js +1 -0
- package/dist/_chunks/oauth-Z26E4LJQ.js +1 -0
- package/dist/_chunks/observe-entry-ZV26WLCP.js +1 -0
- package/dist/_chunks/provider-change-U34UP6ER.js +1 -0
- package/dist/_chunks/remote-client-6F6KRJA6.js +1 -0
- package/dist/_chunks/render-main-ID5JWWKY.js +1 -0
- package/dist/_chunks/source-import-YW6YEMEN.js +1 -0
- package/dist/_chunks/src-36KAJDK4.js +1 -0
- package/dist/_chunks/stdio-main-YR5TITX2.js +1 -0
- package/dist/_chunks/workspace-main-ZFR7ZY3R.js +1 -0
- package/dist/_types/cli/local/desktop-contract.d.ts +349 -40
- package/dist/_types/cli/local/desktop-device-contract.d.ts +89 -78
- package/dist/_types/cli/local/desktop-device-owner.d.ts +14 -14
- package/dist/_types/cli/local/desktop-device-state.d.ts +13 -8
- package/dist/_types/cli/local/desktop-owner.d.ts +130 -30
- package/dist/_types/cli/local/ledger.d.ts +285 -0
- package/dist/_types/cli/local/lifecycle-gates.d.ts +8 -0
- package/dist/_types/cli/local/manager.d.ts +11 -1107
- package/dist/_types/cli/local/mcp-tools.d.ts +3 -0
- package/dist/_types/contracts/artifact.d.ts +2 -0
- package/dist/_types/contracts/component-status.d.ts +9 -0
- package/dist/_types/contracts/device-openai-asr.d.ts +479 -0
- package/dist/_types/contracts/device-render.d.ts +6 -0
- package/dist/_types/contracts/external-agent-access.d.ts +7 -0
- package/dist/_types/contracts/index.d.ts +3 -0
- package/dist/_types/contracts/interface/media-output.d.ts +4 -1
- package/dist/_types/contracts/interface/operation.d.ts +103 -0
- package/dist/_types/contracts/interface/production-snapshot.d.ts +64 -0
- package/dist/_types/contracts/interface/query.d.ts +63 -0
- package/dist/_types/contracts/lifecycle-event-projections.d.ts +2 -2
- package/dist/_types/contracts/local-execution/backup-retirement.d.ts +162 -0
- package/dist/_types/contracts/local-execution/claim-resolution.d.ts +1470 -0
- package/dist/_types/contracts/local-execution/components.d.ts +1 -1
- package/dist/_types/contracts/local-execution/cpu-preparation.d.ts +23 -0
- package/dist/_types/contracts/local-execution/credential-request.d.ts +20 -0
- package/dist/_types/contracts/local-execution/external-generation.d.ts +59 -2
- package/dist/_types/contracts/local-execution/index.d.ts +12 -0
- package/dist/_types/contracts/local-execution/ipc.d.ts +27 -0
- package/dist/_types/contracts/local-execution/library-command.d.ts +303 -5
- package/dist/_types/contracts/local-execution/library-result.d.ts +217 -3
- package/dist/_types/contracts/local-execution/lifecycle.d.ts +35 -0
- package/dist/_types/contracts/local-execution/local-navigation.d.ts +3 -0
- package/dist/_types/contracts/local-execution/management.d.ts +12 -12
- package/dist/_types/contracts/local-execution/model-cleanup.d.ts +60 -0
- package/dist/_types/contracts/local-execution/model-inspection.d.ts +365 -0
- package/dist/_types/contracts/local-execution/openai-asr.d.ts +105 -0
- package/dist/_types/contracts/local-execution/openai-realtime-speech.d.ts +151 -0
- package/dist/_types/contracts/local-execution/preview.d.ts +15 -4
- package/dist/_types/contracts/local-execution/processor-capability.d.ts +6 -0
- package/dist/_types/contracts/local-execution/processor-direct.d.ts +140 -4
- package/dist/_types/contracts/local-execution/processor-outcomes.d.ts +145 -0
- package/dist/_types/contracts/local-execution/processor-recipes.d.ts +163 -3
- package/dist/_types/contracts/local-execution/processor.d.ts +2422 -322
- package/dist/_types/contracts/local-execution/project-source-direct.d.ts +1 -0
- package/dist/_types/contracts/local-execution/provider-inspection.d.ts +58 -0
- package/dist/_types/contracts/local-execution/provider-release.d.ts +53 -0
- package/dist/_types/contracts/local-execution/provider-selection.d.ts +58 -0
- package/dist/_types/contracts/local-execution/recognition.d.ts +30 -0
- package/dist/_types/contracts/local-execution/speech.d.ts +1 -1
- package/dist/_types/contracts/local-execution/versions.d.ts +2 -0
- package/dist/_types/contracts/media-observation.d.ts +56 -0
- package/dist/_types/contracts/native-speech-http.d.ts +15 -0
- package/dist/_types/contracts/navigation-context.d.ts +193 -1
- package/dist/_types/contracts/navigation-groups.d.ts +1 -1
- package/dist/_types/contracts/navigation.d.ts +3 -1
- package/dist/_types/contracts/observation-profile.d.ts +12 -0
- package/dist/_types/contracts/openai-asr.d.ts +55 -0
- package/dist/_types/contracts/provider-catalog.d.ts +44 -0
- package/dist/_types/contracts/provider-models.d.ts +115 -3
- package/dist/_types/contracts/provider.d.ts +93 -7
- package/dist/_types/contracts/render-readiness.d.ts +74 -1
- package/dist/_types/contracts/repair-strategy.d.ts +1 -1
- package/dist/_types/contracts/sound-making-plan.d.ts +41 -0
- package/dist/_types/contracts/source-workspace.d.ts +2 -0
- package/dist/_types/contracts/speech-cost.d.ts +129 -0
- package/dist/_types/contracts/speech.d.ts +50 -0
- package/dist/_types/contracts/transcription.d.ts +11 -0
- package/dist/_types/sdk/local-runtime/components.d.ts +6 -0
- package/dist/_types/sdk/local-runtime-client.d.ts +35 -23
- package/dist/entry.js +1 -1
- package/dist/local-management.js +1 -1
- package/dist/local-navigation.js +1 -1
- package/package.json +3 -2
- package/dist/_chunks/chunk-27KI24GK.js +0 -1
- package/dist/_chunks/chunk-3TOXIJ7K.js +0 -1
- package/dist/_chunks/chunk-4M2SOMSN.js +0 -1
- package/dist/_chunks/chunk-6EZX2TRX.js +0 -1
- package/dist/_chunks/chunk-7I7ARCY7.js +0 -1
- package/dist/_chunks/chunk-7P2NA6TH.js +0 -1
- package/dist/_chunks/chunk-AFNJRZLJ.js +0 -1
- package/dist/_chunks/chunk-APNZQZFB.js +0 -1
- package/dist/_chunks/chunk-ELUJ44BO.js +0 -1
- package/dist/_chunks/chunk-FVY3PLG7.js +0 -1
- package/dist/_chunks/chunk-HBDPYWMI.js +0 -1
- package/dist/_chunks/chunk-IYDHDLTR.js +0 -1
- package/dist/_chunks/chunk-L3QA7FLZ.js +0 -1
- package/dist/_chunks/chunk-NG4BDFEY.js +0 -1
- package/dist/_chunks/chunk-OSO6KRE2.js +0 -1
- package/dist/_chunks/chunk-QK4XPVKT.js +0 -1
- package/dist/_chunks/chunk-ROGOASYF.js +0 -1
- package/dist/_chunks/chunk-UYKCN5DU.js +0 -1
- package/dist/_chunks/chunk-WTJVS2VS.js +0 -1
- package/dist/_chunks/component-contract-KXK7WIUI.js +0 -1
- package/dist/_chunks/component-preflight-WECLCZLF.js +0 -1
- package/dist/_chunks/connect-7TJDWXV4.js +0 -1
- package/dist/_chunks/device-management-TLRUMZL5.js +0 -1
- package/dist/_chunks/device-preflight-C7FFUXI2.js +0 -1
- package/dist/_chunks/devices-inventory-BZF53UAU.js +0 -1
- package/dist/_chunks/devices-main-V3YHCB2C.js +0 -1
- package/dist/_chunks/files-JJ6YOULB.js +0 -1
- package/dist/_chunks/host-component-Q5IHRHRI.js +0 -1
- package/dist/_chunks/host-help-7BGYR4ET.js +0 -1
- package/dist/_chunks/host-main-JLIBRHC2.js +0 -1
- package/dist/_chunks/http-profile-3VVSWYA5.js +0 -1
- package/dist/_chunks/library-main-ATRFEAVN.js +0 -1
- package/dist/_chunks/local-main-KTYCLHDA.js +0 -1
- package/dist/_chunks/local-mcp-ISMU6ADI.js +0 -1
- package/dist/_chunks/main-MOZS2EK3.js +0 -2
- package/dist/_chunks/mcp-M2SO3J2H.js +0 -1
- package/dist/_chunks/oauth-RPME2XYB.js +0 -1
- package/dist/_chunks/observe-entry-E6DFHIMW.js +0 -1
- package/dist/_chunks/remote-client-T75C45JO.js +0 -1
- package/dist/_chunks/render-main-OGCO2LX4.js +0 -1
- package/dist/_chunks/source-import-55JJ26AA.js +0 -1
- package/dist/_chunks/src-V2K52JDH.js +0 -1
- package/dist/_chunks/stdio-main-HNLJCG45.js +0 -1
- package/dist/_chunks/workspace-main-3P56DSEQ.js +0 -1
|
@@ -4,6 +4,45 @@ export declare const OperationTargetSchema: z.ZodObject<{
|
|
|
4
4
|
id: z.ZodString;
|
|
5
5
|
version: z.ZodNullable<z.ZodInt>;
|
|
6
6
|
}, z.core.$strip>;
|
|
7
|
+
export declare const OperationFailureReasonSchema: z.ZodEnum<{
|
|
8
|
+
AMBIGUOUS: "AMBIGUOUS";
|
|
9
|
+
PERMANENT_OPERATIONAL: "PERMANENT_OPERATIONAL";
|
|
10
|
+
SEMANTIC: "SEMANTIC";
|
|
11
|
+
RATE_LIMIT: "RATE_LIMIT";
|
|
12
|
+
TRANSIENT: "TRANSIENT";
|
|
13
|
+
NOT_RECORDED: "NOT_RECORDED";
|
|
14
|
+
}>;
|
|
15
|
+
export declare const OperationReadInputSchema: z.ZodObject<{
|
|
16
|
+
tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
|
|
17
|
+
productionId: z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">;
|
|
18
|
+
operationId: z.core.$ZodBranded<z.ZodString, "OperationId", "out">;
|
|
19
|
+
reportsVersion: z.ZodOptional<z.ZodLiteral<1>>;
|
|
20
|
+
}, z.core.$strict>;
|
|
21
|
+
export declare const OperationFailureSchema: z.ZodObject<{
|
|
22
|
+
reasonCodes: z.ZodArray<z.ZodEnum<{
|
|
23
|
+
AMBIGUOUS: "AMBIGUOUS";
|
|
24
|
+
PERMANENT_OPERATIONAL: "PERMANENT_OPERATIONAL";
|
|
25
|
+
SEMANTIC: "SEMANTIC";
|
|
26
|
+
RATE_LIMIT: "RATE_LIMIT";
|
|
27
|
+
TRANSIENT: "TRANSIENT";
|
|
28
|
+
NOT_RECORDED: "NOT_RECORDED";
|
|
29
|
+
}>>;
|
|
30
|
+
summary: z.ZodString;
|
|
31
|
+
next: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
32
|
+
capability: z.ZodLiteral<"operation.get">;
|
|
33
|
+
input: z.ZodObject<{
|
|
34
|
+
tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
|
|
35
|
+
productionId: z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">;
|
|
36
|
+
operationId: z.core.$ZodBranded<z.ZodString, "OperationId", "out">;
|
|
37
|
+
}, z.core.$strict>;
|
|
38
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
39
|
+
capability: z.ZodLiteral<"production.snapshot">;
|
|
40
|
+
input: z.ZodObject<{
|
|
41
|
+
tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
|
|
42
|
+
productionId: z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">;
|
|
43
|
+
}, z.core.$strict>;
|
|
44
|
+
}, z.core.$strict>], "capability">;
|
|
45
|
+
}, z.core.$strict>;
|
|
7
46
|
export declare const OperationSummarySchema: z.ZodObject<{
|
|
8
47
|
humanLinks: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
9
48
|
status: z.ZodLiteral<"AVAILABLE">;
|
|
@@ -74,6 +113,69 @@ export declare const OperationSummarySchema: z.ZodObject<{
|
|
|
74
113
|
attempts: z.ZodInt;
|
|
75
114
|
}, z.core.$strip>;
|
|
76
115
|
blockers: z.ZodArray<z.ZodString>;
|
|
116
|
+
failure: z.ZodOptional<z.ZodObject<{
|
|
117
|
+
reasonCodes: z.ZodArray<z.ZodEnum<{
|
|
118
|
+
AMBIGUOUS: "AMBIGUOUS";
|
|
119
|
+
PERMANENT_OPERATIONAL: "PERMANENT_OPERATIONAL";
|
|
120
|
+
SEMANTIC: "SEMANTIC";
|
|
121
|
+
RATE_LIMIT: "RATE_LIMIT";
|
|
122
|
+
TRANSIENT: "TRANSIENT";
|
|
123
|
+
NOT_RECORDED: "NOT_RECORDED";
|
|
124
|
+
}>>;
|
|
125
|
+
summary: z.ZodString;
|
|
126
|
+
next: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
127
|
+
capability: z.ZodLiteral<"operation.get">;
|
|
128
|
+
input: z.ZodObject<{
|
|
129
|
+
tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
|
|
130
|
+
productionId: z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">;
|
|
131
|
+
operationId: z.core.$ZodBranded<z.ZodString, "OperationId", "out">;
|
|
132
|
+
}, z.core.$strict>;
|
|
133
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
134
|
+
capability: z.ZodLiteral<"production.snapshot">;
|
|
135
|
+
input: z.ZodObject<{
|
|
136
|
+
tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
|
|
137
|
+
productionId: z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">;
|
|
138
|
+
}, z.core.$strict>;
|
|
139
|
+
}, z.core.$strict>], "capability">;
|
|
140
|
+
}, z.core.$strict>>;
|
|
141
|
+
processorReports: z.ZodOptional<z.ZodObject<{
|
|
142
|
+
items: z.ZodArray<z.ZodObject<{
|
|
143
|
+
runtimeJobId: z.ZodUUID;
|
|
144
|
+
attemptId: z.ZodUUID;
|
|
145
|
+
deviceId: z.ZodUUID;
|
|
146
|
+
requestId: z.ZodUUID;
|
|
147
|
+
state: z.ZodEnum<{
|
|
148
|
+
ACCEPTED: "ACCEPTED";
|
|
149
|
+
REJECTED: "REJECTED";
|
|
150
|
+
PREPARED: "PREPARED";
|
|
151
|
+
FENCED: "FENCED";
|
|
152
|
+
}>;
|
|
153
|
+
reason: z.ZodNullable<z.ZodString>;
|
|
154
|
+
observedAt: z.ZodISODateTime;
|
|
155
|
+
terminalAt: z.ZodNullable<z.ZodISODateTime>;
|
|
156
|
+
inspect: z.ZodOptional<z.ZodObject<{
|
|
157
|
+
tool: z.ZodLiteral<"studio_capability_query">;
|
|
158
|
+
arguments: z.ZodObject<{
|
|
159
|
+
tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
|
|
160
|
+
tool: z.ZodEnum<{
|
|
161
|
+
device_status: "device_status";
|
|
162
|
+
production_snapshot: "production_snapshot";
|
|
163
|
+
}>;
|
|
164
|
+
arguments: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<1>]>>;
|
|
165
|
+
}, z.core.$strict>;
|
|
166
|
+
}, z.core.$strict>>;
|
|
167
|
+
next: z.ZodEnum<{
|
|
168
|
+
NONE: "NONE";
|
|
169
|
+
INSPECT_ORIGIN_DEVICE: "INSPECT_ORIGIN_DEVICE";
|
|
170
|
+
CHECK_CURRENT_PRODUCTION: "CHECK_CURRENT_PRODUCTION";
|
|
171
|
+
}>;
|
|
172
|
+
hostInspection: z.ZodOptional<z.ZodObject<{
|
|
173
|
+
owner: z.ZodLiteral<"HOST_OWNER">;
|
|
174
|
+
command: z.ZodTuple<[z.ZodLiteral<"nvs">, z.ZodLiteral<"local">, z.ZodLiteral<"status">], null>;
|
|
175
|
+
}, z.core.$strict>>;
|
|
176
|
+
}, z.core.$strict>>;
|
|
177
|
+
truncated: z.ZodBoolean;
|
|
178
|
+
}, z.core.$strict>>;
|
|
77
179
|
nextActions: z.ZodArray<z.ZodObject<{
|
|
78
180
|
capability: z.ZodString;
|
|
79
181
|
targetType: z.ZodString;
|
|
@@ -87,5 +189,6 @@ export declare const OperationSummarySchema: z.ZodObject<{
|
|
|
87
189
|
startedAt: z.ZodISODateTime;
|
|
88
190
|
updatedAt: z.ZodISODateTime;
|
|
89
191
|
}, z.core.$strip>;
|
|
192
|
+
export type OperationFailure = z.infer<typeof OperationFailureSchema>;
|
|
90
193
|
export type OperationTarget = z.infer<typeof OperationTargetSchema>;
|
|
91
194
|
export type OperationSummary = z.infer<typeof OperationSummarySchema>;
|
|
@@ -6,6 +6,7 @@ export declare const ProductionBlockerSchema: z.ZodObject<{
|
|
|
6
6
|
targetType: z.ZodString;
|
|
7
7
|
targetId: z.ZodString;
|
|
8
8
|
}, z.core.$strip>;
|
|
9
|
+
export declare const PRODUCTION_SNAPSHOT_ACTION_LIMIT = 50;
|
|
9
10
|
export declare const ProductionSnapshotSchema: z.ZodObject<{
|
|
10
11
|
humanLinks: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
11
12
|
status: z.ZodLiteral<"AVAILABLE">;
|
|
@@ -678,6 +679,69 @@ export declare const ProductionSnapshotSchema: z.ZodObject<{
|
|
|
678
679
|
attempts: z.ZodInt;
|
|
679
680
|
}, z.core.$strip>;
|
|
680
681
|
blockers: z.ZodArray<z.ZodString>;
|
|
682
|
+
failure: z.ZodOptional<z.ZodObject<{
|
|
683
|
+
reasonCodes: z.ZodArray<z.ZodEnum<{
|
|
684
|
+
AMBIGUOUS: "AMBIGUOUS";
|
|
685
|
+
PERMANENT_OPERATIONAL: "PERMANENT_OPERATIONAL";
|
|
686
|
+
SEMANTIC: "SEMANTIC";
|
|
687
|
+
RATE_LIMIT: "RATE_LIMIT";
|
|
688
|
+
TRANSIENT: "TRANSIENT";
|
|
689
|
+
NOT_RECORDED: "NOT_RECORDED";
|
|
690
|
+
}>>;
|
|
691
|
+
summary: z.ZodString;
|
|
692
|
+
next: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
693
|
+
capability: z.ZodLiteral<"operation.get">;
|
|
694
|
+
input: z.ZodObject<{
|
|
695
|
+
tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
|
|
696
|
+
productionId: z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">;
|
|
697
|
+
operationId: z.core.$ZodBranded<z.ZodString, "OperationId", "out">;
|
|
698
|
+
}, z.core.$strict>;
|
|
699
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
700
|
+
capability: z.ZodLiteral<"production.snapshot">;
|
|
701
|
+
input: z.ZodObject<{
|
|
702
|
+
tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
|
|
703
|
+
productionId: z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">;
|
|
704
|
+
}, z.core.$strict>;
|
|
705
|
+
}, z.core.$strict>], "capability">;
|
|
706
|
+
}, z.core.$strict>>;
|
|
707
|
+
processorReports: z.ZodOptional<z.ZodObject<{
|
|
708
|
+
items: z.ZodArray<z.ZodObject<{
|
|
709
|
+
runtimeJobId: z.ZodUUID;
|
|
710
|
+
attemptId: z.ZodUUID;
|
|
711
|
+
deviceId: z.ZodUUID;
|
|
712
|
+
requestId: z.ZodUUID;
|
|
713
|
+
state: z.ZodEnum<{
|
|
714
|
+
ACCEPTED: "ACCEPTED";
|
|
715
|
+
REJECTED: "REJECTED";
|
|
716
|
+
PREPARED: "PREPARED";
|
|
717
|
+
FENCED: "FENCED";
|
|
718
|
+
}>;
|
|
719
|
+
reason: z.ZodNullable<z.ZodString>;
|
|
720
|
+
observedAt: z.ZodISODateTime;
|
|
721
|
+
terminalAt: z.ZodNullable<z.ZodISODateTime>;
|
|
722
|
+
inspect: z.ZodOptional<z.ZodObject<{
|
|
723
|
+
tool: z.ZodLiteral<"studio_capability_query">;
|
|
724
|
+
arguments: z.ZodObject<{
|
|
725
|
+
tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
|
|
726
|
+
tool: z.ZodEnum<{
|
|
727
|
+
device_status: "device_status";
|
|
728
|
+
production_snapshot: "production_snapshot";
|
|
729
|
+
}>;
|
|
730
|
+
arguments: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<1>]>>;
|
|
731
|
+
}, z.core.$strict>;
|
|
732
|
+
}, z.core.$strict>>;
|
|
733
|
+
next: z.ZodEnum<{
|
|
734
|
+
NONE: "NONE";
|
|
735
|
+
INSPECT_ORIGIN_DEVICE: "INSPECT_ORIGIN_DEVICE";
|
|
736
|
+
CHECK_CURRENT_PRODUCTION: "CHECK_CURRENT_PRODUCTION";
|
|
737
|
+
}>;
|
|
738
|
+
hostInspection: z.ZodOptional<z.ZodObject<{
|
|
739
|
+
owner: z.ZodLiteral<"HOST_OWNER">;
|
|
740
|
+
command: z.ZodTuple<[z.ZodLiteral<"nvs">, z.ZodLiteral<"local">, z.ZodLiteral<"status">], null>;
|
|
741
|
+
}, z.core.$strict>>;
|
|
742
|
+
}, z.core.$strict>>;
|
|
743
|
+
truncated: z.ZodBoolean;
|
|
744
|
+
}, z.core.$strict>>;
|
|
681
745
|
nextActions: z.ZodArray<z.ZodObject<{
|
|
682
746
|
capability: z.ZodString;
|
|
683
747
|
targetType: z.ZodString;
|
|
@@ -166,6 +166,69 @@ export declare const OperationQueryPageSchema: z.ZodObject<{
|
|
|
166
166
|
attempts: z.ZodInt;
|
|
167
167
|
}, z.core.$strip>;
|
|
168
168
|
blockers: z.ZodArray<z.ZodString>;
|
|
169
|
+
failure: z.ZodOptional<z.ZodObject<{
|
|
170
|
+
reasonCodes: z.ZodArray<z.ZodEnum<{
|
|
171
|
+
AMBIGUOUS: "AMBIGUOUS";
|
|
172
|
+
PERMANENT_OPERATIONAL: "PERMANENT_OPERATIONAL";
|
|
173
|
+
SEMANTIC: "SEMANTIC";
|
|
174
|
+
RATE_LIMIT: "RATE_LIMIT";
|
|
175
|
+
TRANSIENT: "TRANSIENT";
|
|
176
|
+
NOT_RECORDED: "NOT_RECORDED";
|
|
177
|
+
}>>;
|
|
178
|
+
summary: z.ZodString;
|
|
179
|
+
next: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
180
|
+
capability: z.ZodLiteral<"operation.get">;
|
|
181
|
+
input: z.ZodObject<{
|
|
182
|
+
tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
|
|
183
|
+
productionId: z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">;
|
|
184
|
+
operationId: z.core.$ZodBranded<z.ZodString, "OperationId", "out">;
|
|
185
|
+
}, z.core.$strict>;
|
|
186
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
187
|
+
capability: z.ZodLiteral<"production.snapshot">;
|
|
188
|
+
input: z.ZodObject<{
|
|
189
|
+
tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
|
|
190
|
+
productionId: z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">;
|
|
191
|
+
}, z.core.$strict>;
|
|
192
|
+
}, z.core.$strict>], "capability">;
|
|
193
|
+
}, z.core.$strict>>;
|
|
194
|
+
processorReports: z.ZodOptional<z.ZodObject<{
|
|
195
|
+
items: z.ZodArray<z.ZodObject<{
|
|
196
|
+
runtimeJobId: z.ZodUUID;
|
|
197
|
+
attemptId: z.ZodUUID;
|
|
198
|
+
deviceId: z.ZodUUID;
|
|
199
|
+
requestId: z.ZodUUID;
|
|
200
|
+
state: z.ZodEnum<{
|
|
201
|
+
ACCEPTED: "ACCEPTED";
|
|
202
|
+
REJECTED: "REJECTED";
|
|
203
|
+
PREPARED: "PREPARED";
|
|
204
|
+
FENCED: "FENCED";
|
|
205
|
+
}>;
|
|
206
|
+
reason: z.ZodNullable<z.ZodString>;
|
|
207
|
+
observedAt: z.ZodISODateTime;
|
|
208
|
+
terminalAt: z.ZodNullable<z.ZodISODateTime>;
|
|
209
|
+
inspect: z.ZodOptional<z.ZodObject<{
|
|
210
|
+
tool: z.ZodLiteral<"studio_capability_query">;
|
|
211
|
+
arguments: z.ZodObject<{
|
|
212
|
+
tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
|
|
213
|
+
tool: z.ZodEnum<{
|
|
214
|
+
device_status: "device_status";
|
|
215
|
+
production_snapshot: "production_snapshot";
|
|
216
|
+
}>;
|
|
217
|
+
arguments: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<1>]>>;
|
|
218
|
+
}, z.core.$strict>;
|
|
219
|
+
}, z.core.$strict>>;
|
|
220
|
+
next: z.ZodEnum<{
|
|
221
|
+
NONE: "NONE";
|
|
222
|
+
INSPECT_ORIGIN_DEVICE: "INSPECT_ORIGIN_DEVICE";
|
|
223
|
+
CHECK_CURRENT_PRODUCTION: "CHECK_CURRENT_PRODUCTION";
|
|
224
|
+
}>;
|
|
225
|
+
hostInspection: z.ZodOptional<z.ZodObject<{
|
|
226
|
+
owner: z.ZodLiteral<"HOST_OWNER">;
|
|
227
|
+
command: z.ZodTuple<[z.ZodLiteral<"nvs">, z.ZodLiteral<"local">, z.ZodLiteral<"status">], null>;
|
|
228
|
+
}, z.core.$strict>>;
|
|
229
|
+
}, z.core.$strict>>;
|
|
230
|
+
truncated: z.ZodBoolean;
|
|
231
|
+
}, z.core.$strict>>;
|
|
169
232
|
nextActions: z.ZodArray<z.ZodObject<{
|
|
170
233
|
capability: z.ZodString;
|
|
171
234
|
targetType: z.ZodString;
|
|
@@ -28,9 +28,9 @@ export declare const WebhookAttemptViewSchema: z.ZodObject<{
|
|
|
28
28
|
attemptId: z.ZodUUID;
|
|
29
29
|
runtimeAttemptId: z.ZodUUID;
|
|
30
30
|
outcome: z.ZodEnum<{
|
|
31
|
+
TRANSIENT: "TRANSIENT";
|
|
31
32
|
STARTED: "STARTED";
|
|
32
33
|
ACKNOWLEDGED: "ACKNOWLEDGED";
|
|
33
|
-
TRANSIENT: "TRANSIENT";
|
|
34
34
|
PERMANENT: "PERMANENT";
|
|
35
35
|
SKIPPED: "SKIPPED";
|
|
36
36
|
}>;
|
|
@@ -149,9 +149,9 @@ export declare const WebhookAttemptPageSchema: z.ZodObject<{
|
|
|
149
149
|
attemptId: z.ZodUUID;
|
|
150
150
|
runtimeAttemptId: z.ZodUUID;
|
|
151
151
|
outcome: z.ZodEnum<{
|
|
152
|
+
TRANSIENT: "TRANSIENT";
|
|
152
153
|
STARTED: "STARTED";
|
|
153
154
|
ACKNOWLEDGED: "ACKNOWLEDGED";
|
|
154
|
-
TRANSIENT: "TRANSIENT";
|
|
155
155
|
PERMANENT: "PERMANENT";
|
|
156
156
|
SKIPPED: "SKIPPED";
|
|
157
157
|
}>;
|
|
@@ -0,0 +1,162 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const LocalBackupRetirementPlanSchema: z.ZodObject<{
|
|
3
|
+
protocol: z.ZodLiteral<"NVS_LOCAL_BACKUP_RETIREMENT_V1">;
|
|
4
|
+
installationRevision: z.ZodInt;
|
|
5
|
+
remove: z.ZodObject<{
|
|
6
|
+
id: z.ZodUUID;
|
|
7
|
+
sha256: z.ZodString;
|
|
8
|
+
byteSize: z.ZodInt;
|
|
9
|
+
epoch: z.ZodInt;
|
|
10
|
+
}, z.core.$strict>;
|
|
11
|
+
retain: z.ZodObject<{
|
|
12
|
+
id: z.ZodUUID;
|
|
13
|
+
sha256: z.ZodString;
|
|
14
|
+
byteSize: z.ZodInt;
|
|
15
|
+
epoch: z.ZodInt;
|
|
16
|
+
}, z.core.$strict>;
|
|
17
|
+
recordSetFingerprint: z.ZodString;
|
|
18
|
+
coverage: z.ZodOptional<z.ZodEnum<{
|
|
19
|
+
EQUIVALENT: "EQUIVALENT";
|
|
20
|
+
COVERED: "COVERED";
|
|
21
|
+
}>>;
|
|
22
|
+
retainedRecordSetFingerprint: z.ZodOptional<z.ZodString>;
|
|
23
|
+
fingerprint: z.ZodString;
|
|
24
|
+
}, z.core.$strict>;
|
|
25
|
+
export declare const LocalBackupRetirementReceiptSchema: z.ZodObject<{
|
|
26
|
+
semanticStatus: z.ZodLiteral<"RETIRED">;
|
|
27
|
+
plan: z.ZodObject<{
|
|
28
|
+
protocol: z.ZodLiteral<"NVS_LOCAL_BACKUP_RETIREMENT_V1">;
|
|
29
|
+
installationRevision: z.ZodInt;
|
|
30
|
+
remove: z.ZodObject<{
|
|
31
|
+
id: z.ZodUUID;
|
|
32
|
+
sha256: z.ZodString;
|
|
33
|
+
byteSize: z.ZodInt;
|
|
34
|
+
epoch: z.ZodInt;
|
|
35
|
+
}, z.core.$strict>;
|
|
36
|
+
retain: z.ZodObject<{
|
|
37
|
+
id: z.ZodUUID;
|
|
38
|
+
sha256: z.ZodString;
|
|
39
|
+
byteSize: z.ZodInt;
|
|
40
|
+
epoch: z.ZodInt;
|
|
41
|
+
}, z.core.$strict>;
|
|
42
|
+
recordSetFingerprint: z.ZodString;
|
|
43
|
+
coverage: z.ZodOptional<z.ZodEnum<{
|
|
44
|
+
EQUIVALENT: "EQUIVALENT";
|
|
45
|
+
COVERED: "COVERED";
|
|
46
|
+
}>>;
|
|
47
|
+
retainedRecordSetFingerprint: z.ZodOptional<z.ZodString>;
|
|
48
|
+
fingerprint: z.ZodString;
|
|
49
|
+
}, z.core.$strict>;
|
|
50
|
+
reclaimedBytes: z.ZodInt;
|
|
51
|
+
}, z.core.$strict>;
|
|
52
|
+
export declare const LocalBackupCoverageSchema: z.ZodObject<{
|
|
53
|
+
remove: z.ZodObject<{
|
|
54
|
+
id: z.ZodUUID;
|
|
55
|
+
sha256: z.ZodString;
|
|
56
|
+
byteSize: z.ZodInt;
|
|
57
|
+
applicationId: z.ZodLiteral<1314280268>;
|
|
58
|
+
userVersion: z.ZodLiteral<1>;
|
|
59
|
+
pageSize: z.ZodInt;
|
|
60
|
+
pageCount: z.ZodInt;
|
|
61
|
+
epoch: z.ZodInt;
|
|
62
|
+
recordCount: z.ZodInt;
|
|
63
|
+
recordKinds: z.ZodArray<z.ZodObject<{
|
|
64
|
+
kind: z.ZodEnum<{
|
|
65
|
+
REQUEST: "REQUEST";
|
|
66
|
+
EXECUTION: "EXECUTION";
|
|
67
|
+
EXECUTION_HISTORY: "EXECUTION_HISTORY";
|
|
68
|
+
TRANSFER: "TRANSFER";
|
|
69
|
+
CACHE: "CACHE";
|
|
70
|
+
SESSION: "SESSION";
|
|
71
|
+
TOOL: "TOOL";
|
|
72
|
+
CLAIM_REQUEST: "CLAIM_REQUEST";
|
|
73
|
+
PREVIEW_RESULT: "PREVIEW_RESULT";
|
|
74
|
+
PROCESSOR: "PROCESSOR";
|
|
75
|
+
PROCESSOR_FENCED: "PROCESSOR_FENCED";
|
|
76
|
+
PROCESSOR_HISTORY: "PROCESSOR_HISTORY";
|
|
77
|
+
PROVIDER_SUBMISSION: "PROVIDER_SUBMISSION";
|
|
78
|
+
OUTPUT_REQUEST: "OUTPUT_REQUEST";
|
|
79
|
+
AGENT_GRANT: "AGENT_GRANT";
|
|
80
|
+
AGENT_AUTHORITY: "AGENT_AUTHORITY";
|
|
81
|
+
AGENT_REVIEW: "AGENT_REVIEW";
|
|
82
|
+
RESOURCE_POLICY: "RESOURCE_POLICY";
|
|
83
|
+
OWNER_ACTIVITY: "OWNER_ACTIVITY";
|
|
84
|
+
EXECUTION_EVENT: "EXECUTION_EVENT";
|
|
85
|
+
OFFLINE_SNAPSHOT: "OFFLINE_SNAPSHOT";
|
|
86
|
+
LOCAL_MEDIA: "LOCAL_MEDIA";
|
|
87
|
+
LOCAL_MEDIA_IMPORT: "LOCAL_MEDIA_IMPORT";
|
|
88
|
+
LOCAL_MEDIA_ACCESS: "LOCAL_MEDIA_ACCESS";
|
|
89
|
+
OFFLINE_DRAFT: "OFFLINE_DRAFT";
|
|
90
|
+
}>;
|
|
91
|
+
count: z.ZodInt;
|
|
92
|
+
}, z.core.$strict>>;
|
|
93
|
+
sqliteIntegrity: z.ZodLiteral<"VERIFIED">;
|
|
94
|
+
journalStructure: z.ZodLiteral<"VERIFIED">;
|
|
95
|
+
recordEncoding: z.ZodLiteral<"VERIFIED">;
|
|
96
|
+
businessRecoveryState: z.ZodLiteral<"NOT_INSPECTED">;
|
|
97
|
+
recordSetFingerprint: z.ZodOptional<z.ZodString>;
|
|
98
|
+
recoveryDependencies: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
99
|
+
state: z.ZodLiteral<"NOT_PROVEN">;
|
|
100
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
101
|
+
state: z.ZodLiteral<"INSPECTED">;
|
|
102
|
+
pendingExecutions: z.ZodInt;
|
|
103
|
+
pendingRequests: z.ZodInt;
|
|
104
|
+
pendingProviderWork: z.ZodInt;
|
|
105
|
+
}, z.core.$strict>], "state">>;
|
|
106
|
+
}, z.core.$strict>;
|
|
107
|
+
retain: z.ZodObject<{
|
|
108
|
+
id: z.ZodUUID;
|
|
109
|
+
sha256: z.ZodString;
|
|
110
|
+
byteSize: z.ZodInt;
|
|
111
|
+
applicationId: z.ZodLiteral<1314280268>;
|
|
112
|
+
userVersion: z.ZodLiteral<1>;
|
|
113
|
+
pageSize: z.ZodInt;
|
|
114
|
+
pageCount: z.ZodInt;
|
|
115
|
+
epoch: z.ZodInt;
|
|
116
|
+
recordCount: z.ZodInt;
|
|
117
|
+
recordKinds: z.ZodArray<z.ZodObject<{
|
|
118
|
+
kind: z.ZodEnum<{
|
|
119
|
+
REQUEST: "REQUEST";
|
|
120
|
+
EXECUTION: "EXECUTION";
|
|
121
|
+
EXECUTION_HISTORY: "EXECUTION_HISTORY";
|
|
122
|
+
TRANSFER: "TRANSFER";
|
|
123
|
+
CACHE: "CACHE";
|
|
124
|
+
SESSION: "SESSION";
|
|
125
|
+
TOOL: "TOOL";
|
|
126
|
+
CLAIM_REQUEST: "CLAIM_REQUEST";
|
|
127
|
+
PREVIEW_RESULT: "PREVIEW_RESULT";
|
|
128
|
+
PROCESSOR: "PROCESSOR";
|
|
129
|
+
PROCESSOR_FENCED: "PROCESSOR_FENCED";
|
|
130
|
+
PROCESSOR_HISTORY: "PROCESSOR_HISTORY";
|
|
131
|
+
PROVIDER_SUBMISSION: "PROVIDER_SUBMISSION";
|
|
132
|
+
OUTPUT_REQUEST: "OUTPUT_REQUEST";
|
|
133
|
+
AGENT_GRANT: "AGENT_GRANT";
|
|
134
|
+
AGENT_AUTHORITY: "AGENT_AUTHORITY";
|
|
135
|
+
AGENT_REVIEW: "AGENT_REVIEW";
|
|
136
|
+
RESOURCE_POLICY: "RESOURCE_POLICY";
|
|
137
|
+
OWNER_ACTIVITY: "OWNER_ACTIVITY";
|
|
138
|
+
EXECUTION_EVENT: "EXECUTION_EVENT";
|
|
139
|
+
OFFLINE_SNAPSHOT: "OFFLINE_SNAPSHOT";
|
|
140
|
+
LOCAL_MEDIA: "LOCAL_MEDIA";
|
|
141
|
+
LOCAL_MEDIA_IMPORT: "LOCAL_MEDIA_IMPORT";
|
|
142
|
+
LOCAL_MEDIA_ACCESS: "LOCAL_MEDIA_ACCESS";
|
|
143
|
+
OFFLINE_DRAFT: "OFFLINE_DRAFT";
|
|
144
|
+
}>;
|
|
145
|
+
count: z.ZodInt;
|
|
146
|
+
}, z.core.$strict>>;
|
|
147
|
+
sqliteIntegrity: z.ZodLiteral<"VERIFIED">;
|
|
148
|
+
journalStructure: z.ZodLiteral<"VERIFIED">;
|
|
149
|
+
recordEncoding: z.ZodLiteral<"VERIFIED">;
|
|
150
|
+
businessRecoveryState: z.ZodLiteral<"NOT_INSPECTED">;
|
|
151
|
+
recordSetFingerprint: z.ZodOptional<z.ZodString>;
|
|
152
|
+
recoveryDependencies: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
153
|
+
state: z.ZodLiteral<"NOT_PROVEN">;
|
|
154
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
155
|
+
state: z.ZodLiteral<"INSPECTED">;
|
|
156
|
+
pendingExecutions: z.ZodInt;
|
|
157
|
+
pendingRequests: z.ZodInt;
|
|
158
|
+
pendingProviderWork: z.ZodInt;
|
|
159
|
+
}, z.core.$strict>], "state">>;
|
|
160
|
+
}, z.core.$strict>;
|
|
161
|
+
covered: z.ZodBoolean;
|
|
162
|
+
}, z.core.$strict>;
|