@nativestudio/cli 0.3.0-rc.15 → 0.3.0-rc.17
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 +8 -8
- package/components/runtime.json +4 -4
- package/components/runtime.tgz +0 -0
- package/dist/_chunks/chunk-3KBIDTXT.js +1 -0
- package/dist/_chunks/{chunk-ZADAXKKY.js → chunk-4IFMG2ZS.js} +1 -1
- package/dist/_chunks/chunk-4NJIT52T.js +1 -0
- package/dist/_chunks/{chunk-NPDLPC5B.js → chunk-53EULX5D.js} +1 -1
- package/dist/_chunks/{chunk-I5KYSPUJ.js → chunk-65X56WAQ.js} +1 -1
- package/dist/_chunks/{chunk-BX2SNMA4.js → chunk-744IEPTK.js} +1 -1
- package/dist/_chunks/{chunk-CFZNDURD.js → chunk-BR26X3ZF.js} +1 -1
- package/dist/_chunks/chunk-C7CSZFV6.js +1 -0
- package/dist/_chunks/chunk-CW67UB2I.js +1 -0
- package/dist/_chunks/{chunk-O47YYPL7.js → chunk-GKDGSAI5.js} +1 -1
- package/dist/_chunks/{chunk-6UYY5KHI.js → chunk-HAOCQVMU.js} +1 -1
- package/dist/_chunks/{chunk-BBTZJB2G.js → chunk-HI5SIUX7.js} +1 -1
- package/dist/_chunks/{chunk-OVIR77ET.js → chunk-IHTF6VEC.js} +1 -1
- package/dist/_chunks/chunk-K25YVVTT.js +1 -0
- package/dist/_chunks/{chunk-ZOODOQBH.js → chunk-KYNC2BSW.js} +1 -1
- package/dist/_chunks/{chunk-TTB7CYC5.js → chunk-ORFGJBJA.js} +1 -1
- package/dist/_chunks/chunk-SDTAJ7FI.js +1 -0
- package/dist/_chunks/{chunk-AAGFHT2D.js → chunk-TWC3NXFA.js} +1 -1
- package/dist/_chunks/{chunk-PB2HLRXG.js → chunk-UGOXJEDU.js} +1 -1
- package/dist/_chunks/{chunk-SAPEOZ2V.js → chunk-UMCOLDHH.js} +1 -1
- package/dist/_chunks/{connect-RIODOO3C.js → connect-OY623MMA.js} +1 -1
- package/dist/_chunks/{device-management-VECG3RA4.js → device-management-CXSZFF53.js} +1 -1
- package/dist/_chunks/device-preflight-6HKPPZ5L.js +1 -0
- package/dist/_chunks/{devices-inventory-E6TE4H7T.js → devices-inventory-K553HAF3.js} +1 -1
- package/dist/_chunks/{devices-main-7JHMJNGV.js → devices-main-LBDRDV2M.js} +1 -1
- package/dist/_chunks/host-main-ZMBFHY55.js +1 -0
- package/dist/_chunks/http-profile-D65WSTZU.js +1 -0
- package/dist/_chunks/{library-main-AWUEMZFQ.js → library-main-RNDPNKYK.js} +1 -1
- package/dist/_chunks/{local-main-BNFNAPRG.js → local-main-RC4RM3OB.js} +1 -1
- package/dist/_chunks/{local-mcp-HU6MII3G.js → local-mcp-LQCQ3WLF.js} +1 -1
- package/dist/_chunks/{main-BSMCHALI.js → main-CPIMF4PS.js} +2 -2
- package/dist/_chunks/mcp-HQQJCKHS.js +1 -0
- package/dist/_chunks/{observe-entry-D7F6OQ7Y.js → observe-entry-4GPGZ3NJ.js} +1 -1
- package/dist/_chunks/remote-client-6XHMNMXK.js +1 -0
- package/dist/_chunks/{render-main-O3IN6EFV.js → render-main-ATCEBECW.js} +1 -1
- package/dist/_chunks/{source-import-Y2Z3BVWY.js → source-import-HIL7NW3L.js} +1 -1
- package/dist/_chunks/src-MRFJOTKK.js +1 -0
- package/dist/_chunks/stdio-main-T4ORVLSX.js +1 -0
- package/dist/_chunks/workspace-main-44ECTGHC.js +1 -0
- package/dist/_types/cli/local/desktop-contract.d.ts +13 -13
- package/dist/_types/cli/local/desktop-device-contract.d.ts +3 -3
- package/dist/_types/cli/local/desktop-device-owner.d.ts +1 -1
- package/dist/_types/cli/local/desktop-device-state.d.ts +2 -2
- package/dist/_types/cli/local/desktop-library.d.ts +1 -1
- package/dist/_types/cli/local/desktop-owner.d.ts +3 -3
- package/dist/_types/cli/local/manager.d.ts +2 -2
- package/dist/_types/cli/local/mcp-tools.d.ts +2 -2
- package/dist/_types/cli/local-management.d.ts +1 -1
- package/dist/_types/contracts/agent-execution-lifecycle.d.ts +55 -43
- package/dist/_types/contracts/agent-execution-oauth.d.ts +2 -2
- package/dist/_types/contracts/agent-execution-registration.d.ts +59 -15
- package/dist/_types/contracts/agent-execution-selection.d.ts +7 -7
- package/dist/_types/contracts/agent-host-contract.d.ts +189 -0
- package/dist/_types/contracts/agent-host-execution.d.ts +92 -61
- package/dist/_types/contracts/agent-host-generic-transport.d.ts +4 -4
- package/dist/_types/contracts/agent-host-legacy-release.d.ts +31 -0
- package/dist/_types/contracts/agent-host-protocol.d.ts +71 -0
- package/dist/_types/contracts/agent-host-wire.d.ts +263 -0
- package/dist/_types/contracts/agent-host.d.ts +126 -65
- package/dist/_types/contracts/artifact-discovery.d.ts +16 -16
- package/dist/_types/contracts/composition-observation.d.ts +1 -1
- package/dist/_types/contracts/delivery-operations.d.ts +1 -1
- package/dist/_types/contracts/delivery-summary.d.ts +1 -1
- package/dist/_types/contracts/device-onboarding.d.ts +35 -0
- package/dist/_types/contracts/device-render.d.ts +32 -0
- package/dist/_types/contracts/exploration-recommendation.d.ts +2 -2
- package/dist/_types/contracts/federation-event-link-receiver.d.ts +200 -0
- package/dist/_types/contracts/federation-event-link.d.ts +485 -0
- package/dist/_types/contracts/federation-result.d.ts +239 -0
- package/dist/_types/contracts/final-ready.d.ts +2 -2
- package/dist/_types/contracts/final-render.d.ts +2 -2
- package/dist/_types/contracts/index.d.ts +7 -0
- package/dist/_types/contracts/interface/execution-output.d.ts +9 -6
- package/dist/_types/contracts/interface/production-snapshot.d.ts +5 -5
- package/dist/_types/contracts/keyframe-generation.d.ts +2 -2
- package/dist/_types/contracts/keyframe-review.d.ts +1 -1
- package/dist/_types/contracts/lifecycle-event-projections.d.ts +2 -2
- package/dist/_types/contracts/lifecycle-events.d.ts +2 -2
- package/dist/_types/contracts/local-execution/device-inventory.d.ts +34 -2
- package/dist/_types/contracts/local-execution/index.d.ts +1 -0
- package/dist/_types/contracts/local-execution/ipc.d.ts +6 -6
- package/dist/_types/contracts/local-execution/library.d.ts +2 -2
- package/dist/_types/contracts/local-execution/processor.d.ts +7 -7
- package/dist/_types/contracts/local-execution/workspace.d.ts +1 -1
- package/dist/_types/contracts/mcp-capabilities.d.ts +15 -0
- package/dist/_types/contracts/media-observation.d.ts +3 -3
- package/dist/_types/contracts/native-tool-authority.d.ts +25 -21
- package/dist/_types/contracts/native-tool-execution.d.ts +60 -39
- package/dist/_types/contracts/navigation-context.d.ts +25 -6
- package/dist/_types/contracts/navigation-groups.d.ts +1 -1
- package/dist/_types/contracts/navigation.d.ts +17 -5
- package/dist/_types/contracts/repair-strategy.d.ts +1 -1
- package/dist/_types/contracts/review-intelligence-final-output.d.ts +1 -1
- package/dist/_types/contracts/rough-cut.d.ts +1 -1
- package/dist/_types/contracts/shares.d.ts +19 -19
- package/dist/_types/contracts/speech.d.ts +5 -5
- package/dist/_types/contracts/temporal-evidence-operation.d.ts +1 -1
- package/dist/_types/contracts/video-generation.d.ts +2 -2
- package/dist/_types/contracts/video-review.d.ts +1 -1
- package/dist/_types/contracts/visual-exploration.d.ts +2 -2
- package/dist/_types/contracts/voice-profile/contracts.d.ts +4 -4
- package/dist/_types/sdk/local-runtime/workspace.d.ts +4 -4
- package/dist/_types/sdk/local-runtime-client.d.ts +3 -3
- package/dist/entry.js +1 -1
- package/dist/local-management.js +1 -1
- package/dist/local-navigation.js +1 -1
- package/package.json +1 -1
- package/dist/_chunks/chunk-5UJEP7FY.js +0 -1
- package/dist/_chunks/chunk-H6EZKOYR.js +0 -1
- package/dist/_chunks/chunk-NQVUVPW5.js +0 -1
- package/dist/_chunks/chunk-PDQYFIQQ.js +0 -1
- package/dist/_chunks/chunk-VOGKKZQH.js +0 -1
- package/dist/_chunks/chunk-YV447AB5.js +0 -1
- package/dist/_chunks/device-preflight-73KVSHZG.js +0 -1
- package/dist/_chunks/host-main-KDORT44Q.js +0 -1
- package/dist/_chunks/http-profile-QINBH2FP.js +0 -1
- package/dist/_chunks/mcp-3VZZFXNG.js +0 -1
- package/dist/_chunks/remote-client-XIJ6RQLU.js +0 -1
- package/dist/_chunks/src-3S6CAUSJ.js +0 -1
- package/dist/_chunks/stdio-main-T4WMBNKB.js +0 -1
- package/dist/_chunks/workspace-main-KWFTVTZG.js +0 -1
|
@@ -0,0 +1,263 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const HostInstallationIdentitySchema: z.ZodObject<{
|
|
3
|
+
installationId: z.ZodString;
|
|
4
|
+
installationRevisionId: z.ZodString;
|
|
5
|
+
slotKey: z.ZodString;
|
|
6
|
+
}, z.core.$strict>;
|
|
7
|
+
export declare const HostInstallationHeaderSchema: z.ZodObject<{
|
|
8
|
+
contract: z.ZodLiteral<"nvs-agent-host-installation/1">;
|
|
9
|
+
hostContractDigest: z.ZodLiteral<"c4b254f091c364e0fab8d43ad551f296a3bce2996bdb2c5349307c62295c1769">;
|
|
10
|
+
scope: z.ZodObject<{
|
|
11
|
+
namespace: z.ZodString;
|
|
12
|
+
ref: z.ZodString;
|
|
13
|
+
}, z.core.$strict>;
|
|
14
|
+
selection: z.ZodObject<{
|
|
15
|
+
agentKey: z.ZodString;
|
|
16
|
+
agentVersion: z.ZodString;
|
|
17
|
+
modelOptionKey: z.ZodString;
|
|
18
|
+
}, z.core.$strict>;
|
|
19
|
+
installation: z.ZodObject<{
|
|
20
|
+
installationId: z.ZodString;
|
|
21
|
+
installationRevisionId: z.ZodString;
|
|
22
|
+
slotKey: z.ZodString;
|
|
23
|
+
enabled: z.ZodBoolean;
|
|
24
|
+
available: z.ZodBoolean;
|
|
25
|
+
}, z.core.$strict>;
|
|
26
|
+
}, z.core.$strict>;
|
|
27
|
+
export declare const HostInstallationSchema: z.ZodObject<{
|
|
28
|
+
contract: z.ZodLiteral<"nvs-agent-host-installation/1">;
|
|
29
|
+
hostContractDigest: z.ZodLiteral<"c4b254f091c364e0fab8d43ad551f296a3bce2996bdb2c5349307c62295c1769">;
|
|
30
|
+
scope: z.ZodObject<{
|
|
31
|
+
namespace: z.ZodString;
|
|
32
|
+
ref: z.ZodString;
|
|
33
|
+
}, z.core.$strict>;
|
|
34
|
+
selection: z.ZodObject<{
|
|
35
|
+
agentKey: z.ZodString;
|
|
36
|
+
agentVersion: z.ZodString;
|
|
37
|
+
modelOptionKey: z.ZodString;
|
|
38
|
+
}, z.core.$strict>;
|
|
39
|
+
installation: z.ZodObject<{
|
|
40
|
+
installationId: z.ZodString;
|
|
41
|
+
installationRevisionId: z.ZodString;
|
|
42
|
+
slotKey: z.ZodString;
|
|
43
|
+
enabled: z.ZodBoolean;
|
|
44
|
+
available: z.ZodBoolean;
|
|
45
|
+
}, z.core.$strict>;
|
|
46
|
+
execution: z.ZodObject<{
|
|
47
|
+
schemaVersion: z.ZodLiteral<3>;
|
|
48
|
+
installationId: z.ZodString;
|
|
49
|
+
installationRevisionId: z.ZodString;
|
|
50
|
+
slotKey: z.ZodString;
|
|
51
|
+
binding: z.ZodObject<{
|
|
52
|
+
protocol: z.ZodLiteral<"delegated-mcp-execution">;
|
|
53
|
+
protocolVersion: z.ZodLiteral<1>;
|
|
54
|
+
contractDigest: z.ZodLiteral<"03e0bad50c7c6ecf7979db72c0927fa43904d8fbad67ae02447a87a9263f2730">;
|
|
55
|
+
capabilityDigest: z.ZodString;
|
|
56
|
+
issuer: z.ZodURL;
|
|
57
|
+
resource: z.ZodURL;
|
|
58
|
+
slotKey: z.ZodString;
|
|
59
|
+
registration: z.ZodObject<{
|
|
60
|
+
schemaVersion: z.ZodLiteral<1>;
|
|
61
|
+
runtimeKey: z.ZodString;
|
|
62
|
+
installationId: z.ZodString;
|
|
63
|
+
displayName: z.ZodString;
|
|
64
|
+
redirectUri: z.ZodURL;
|
|
65
|
+
publicJwk: z.ZodObject<{
|
|
66
|
+
kty: z.ZodLiteral<"EC">;
|
|
67
|
+
crv: z.ZodLiteral<"P-256">;
|
|
68
|
+
x: z.ZodString;
|
|
69
|
+
y: z.ZodString;
|
|
70
|
+
}, z.core.$strict>;
|
|
71
|
+
clientId: z.ZodString;
|
|
72
|
+
registrationRevision: z.ZodInt;
|
|
73
|
+
issuer: z.ZodURL;
|
|
74
|
+
resource: z.ZodURL;
|
|
75
|
+
keyId: z.ZodString;
|
|
76
|
+
protocol: z.ZodLiteral<"delegated-mcp-execution">;
|
|
77
|
+
protocolVersion: z.ZodLiteral<1>;
|
|
78
|
+
contractDigest: z.ZodString;
|
|
79
|
+
capabilityDigest: z.ZodString;
|
|
80
|
+
}, z.core.$strict>;
|
|
81
|
+
grant: z.ZodObject<{
|
|
82
|
+
protocolVersion: z.ZodLiteral<1>;
|
|
83
|
+
clientId: z.ZodUUID;
|
|
84
|
+
registrationRevision: z.ZodInt;
|
|
85
|
+
resource: z.ZodURL;
|
|
86
|
+
grantRef: z.ZodUUID;
|
|
87
|
+
grantRevision: z.ZodInt;
|
|
88
|
+
expiresAt: z.ZodISODateTime;
|
|
89
|
+
scopes: z.ZodArray<z.ZodString>;
|
|
90
|
+
}, z.core.$strict>;
|
|
91
|
+
endpoints: z.ZodObject<{
|
|
92
|
+
capabilities: z.ZodURL;
|
|
93
|
+
authorize: z.ZodURL;
|
|
94
|
+
token: z.ZodURL;
|
|
95
|
+
identity: z.ZodURL;
|
|
96
|
+
bind: z.ZodURL;
|
|
97
|
+
bindingQuery: z.ZodURL;
|
|
98
|
+
access: z.ZodURL;
|
|
99
|
+
accessQuery: z.ZodURL;
|
|
100
|
+
leaseRenew: z.ZodURL;
|
|
101
|
+
leaseQuery: z.ZodURL;
|
|
102
|
+
close: z.ZodURL;
|
|
103
|
+
}, z.core.$strict>;
|
|
104
|
+
limits: z.ZodObject<{
|
|
105
|
+
grantMaxSeconds: z.ZodInt;
|
|
106
|
+
executionMaxSeconds: z.ZodInt;
|
|
107
|
+
leaseMaxSeconds: z.ZodInt;
|
|
108
|
+
renewWindowSeconds: z.ZodInt;
|
|
109
|
+
renewBeforeSeconds: z.ZodInt;
|
|
110
|
+
assertionSeconds: z.ZodLiteral<60>;
|
|
111
|
+
clockSkewSeconds: z.ZodLiteral<5>;
|
|
112
|
+
}, z.core.$strict>;
|
|
113
|
+
bootstrap: z.ZodObject<{
|
|
114
|
+
slotKey: z.ZodString;
|
|
115
|
+
entryTool: z.ZodString;
|
|
116
|
+
argumentsMode: z.ZodLiteral<"task-input">;
|
|
117
|
+
}, z.core.$strict>;
|
|
118
|
+
transportPolicy: z.ZodObject<{
|
|
119
|
+
profile: z.ZodLiteral<"stateless-json-v1">;
|
|
120
|
+
}, z.core.$strict>;
|
|
121
|
+
runtimePolicy: z.ZodObject<{
|
|
122
|
+
sandbox: z.ZodLiteral<"read-only">;
|
|
123
|
+
webSearch: z.ZodLiteral<"disabled">;
|
|
124
|
+
localExecution: z.ZodLiteral<"disabled">;
|
|
125
|
+
toolExposure: z.ZodLiteral<"direct">;
|
|
126
|
+
maxTurns: z.ZodLiteral<1>;
|
|
127
|
+
}, z.core.$strict>;
|
|
128
|
+
}, z.core.$strict>;
|
|
129
|
+
identity: z.ZodObject<{
|
|
130
|
+
protocolVersion: z.ZodLiteral<1>;
|
|
131
|
+
clientId: z.ZodUUID;
|
|
132
|
+
registrationRevision: z.ZodInt;
|
|
133
|
+
resource: z.ZodURL;
|
|
134
|
+
grantRef: z.ZodUUID;
|
|
135
|
+
grantRevision: z.ZodInt;
|
|
136
|
+
expiresAt: z.ZodISODateTime;
|
|
137
|
+
scopes: z.ZodArray<z.ZodString>;
|
|
138
|
+
decision: z.ZodEnum<{
|
|
139
|
+
ALLOW: "ALLOW";
|
|
140
|
+
DRAIN: "DRAIN";
|
|
141
|
+
DENY: "DENY";
|
|
142
|
+
UNKNOWN: "UNKNOWN";
|
|
143
|
+
}>;
|
|
144
|
+
observedAt: z.ZodISODateTime;
|
|
145
|
+
}, z.core.$strict>;
|
|
146
|
+
checkedAt: z.ZodISODateTime;
|
|
147
|
+
}, z.core.$strict>;
|
|
148
|
+
}, z.core.$strict>;
|
|
149
|
+
export declare const HostTaskCancelSchema: z.ZodObject<{
|
|
150
|
+
contract: z.ZodLiteral<"nvs-agent-task-cancel/1">;
|
|
151
|
+
hostContractDigest: z.ZodLiteral<"c4b254f091c364e0fab8d43ad551f296a3bce2996bdb2c5349307c62295c1769">;
|
|
152
|
+
requestId: z.ZodUUID;
|
|
153
|
+
originalRequestId: z.ZodUUID;
|
|
154
|
+
inputDigest: z.ZodString;
|
|
155
|
+
installation: z.ZodObject<{
|
|
156
|
+
installationId: z.ZodString;
|
|
157
|
+
installationRevisionId: z.ZodString;
|
|
158
|
+
slotKey: z.ZodString;
|
|
159
|
+
}, z.core.$strict>;
|
|
160
|
+
}, z.core.$strict>;
|
|
161
|
+
export declare const HostAuthorizationObservationSchema: z.ZodObject<{
|
|
162
|
+
schemaVersion: z.ZodLiteral<1>;
|
|
163
|
+
protocol: z.ZodLiteral<"delegated-mcp-execution">;
|
|
164
|
+
protocolVersion: z.ZodLiteral<1>;
|
|
165
|
+
contractDigest: z.ZodLiteral<"03e0bad50c7c6ecf7979db72c0927fa43904d8fbad67ae02447a87a9263f2730">;
|
|
166
|
+
capabilityDigest: z.ZodString;
|
|
167
|
+
decision: z.ZodEnum<{
|
|
168
|
+
ALLOW: "ALLOW";
|
|
169
|
+
DRAIN: "DRAIN";
|
|
170
|
+
DENY: "DENY";
|
|
171
|
+
UNKNOWN: "UNKNOWN";
|
|
172
|
+
NOT_OBSERVED: "NOT_OBSERVED";
|
|
173
|
+
}>;
|
|
174
|
+
checkedAt: z.ZodISODateTime;
|
|
175
|
+
expiresAt: z.ZodOptional<z.ZodISODateTime>;
|
|
176
|
+
hardExpiresAt: z.ZodOptional<z.ZodISODateTime>;
|
|
177
|
+
leaseRevision: z.ZodOptional<z.ZodInt>;
|
|
178
|
+
reasonCode: z.ZodOptional<z.ZodString>;
|
|
179
|
+
}, z.core.$strict>;
|
|
180
|
+
export declare const HostTaskResponseSchema: z.ZodObject<{
|
|
181
|
+
contract: z.ZodLiteral<"nvs-agent-task/1">;
|
|
182
|
+
hostContractDigest: z.ZodLiteral<"c4b254f091c364e0fab8d43ad551f296a3bce2996bdb2c5349307c62295c1769">;
|
|
183
|
+
requestId: z.ZodUUID;
|
|
184
|
+
runKey: z.ZodString;
|
|
185
|
+
inputDigest: z.ZodString;
|
|
186
|
+
scope: z.ZodObject<{
|
|
187
|
+
namespace: z.ZodString;
|
|
188
|
+
ref: z.ZodString;
|
|
189
|
+
}, z.core.$strict>;
|
|
190
|
+
selection: z.ZodObject<{
|
|
191
|
+
agentKey: z.ZodString;
|
|
192
|
+
agentVersion: z.ZodString;
|
|
193
|
+
modelOptionKey: z.ZodString;
|
|
194
|
+
}, z.core.$strict>;
|
|
195
|
+
installation: z.ZodObject<{
|
|
196
|
+
installationId: z.ZodString;
|
|
197
|
+
installationRevisionId: z.ZodString;
|
|
198
|
+
slotKey: z.ZodString;
|
|
199
|
+
}, z.core.$strict>;
|
|
200
|
+
authorityRef: z.ZodUUID;
|
|
201
|
+
executionAuthorization: z.ZodObject<{
|
|
202
|
+
schemaVersion: z.ZodLiteral<1>;
|
|
203
|
+
protocol: z.ZodLiteral<"delegated-mcp-execution">;
|
|
204
|
+
protocolVersion: z.ZodLiteral<1>;
|
|
205
|
+
contractDigest: z.ZodLiteral<"03e0bad50c7c6ecf7979db72c0927fa43904d8fbad67ae02447a87a9263f2730">;
|
|
206
|
+
capabilityDigest: z.ZodString;
|
|
207
|
+
decision: z.ZodEnum<{
|
|
208
|
+
ALLOW: "ALLOW";
|
|
209
|
+
DRAIN: "DRAIN";
|
|
210
|
+
DENY: "DENY";
|
|
211
|
+
UNKNOWN: "UNKNOWN";
|
|
212
|
+
NOT_OBSERVED: "NOT_OBSERVED";
|
|
213
|
+
}>;
|
|
214
|
+
checkedAt: z.ZodISODateTime;
|
|
215
|
+
expiresAt: z.ZodOptional<z.ZodISODateTime>;
|
|
216
|
+
hardExpiresAt: z.ZodOptional<z.ZodISODateTime>;
|
|
217
|
+
leaseRevision: z.ZodOptional<z.ZodInt>;
|
|
218
|
+
reasonCode: z.ZodOptional<z.ZodString>;
|
|
219
|
+
}, z.core.$strict>;
|
|
220
|
+
status: z.ZodEnum<{
|
|
221
|
+
unknown: "unknown";
|
|
222
|
+
accepted: "accepted";
|
|
223
|
+
running: "running";
|
|
224
|
+
succeeded: "succeeded";
|
|
225
|
+
failed: "failed";
|
|
226
|
+
cancelled: "cancelled";
|
|
227
|
+
}>;
|
|
228
|
+
cancelRequested: z.ZodBoolean;
|
|
229
|
+
createdAt: z.ZodISODateTime;
|
|
230
|
+
updatedAt: z.ZodISODateTime;
|
|
231
|
+
timing: z.ZodObject<{
|
|
232
|
+
acceptedAt: z.ZodISODateTime;
|
|
233
|
+
deadlineAt: z.ZodISODateTime;
|
|
234
|
+
limitSource: z.ZodLiteral<"TASK_POLICY">;
|
|
235
|
+
}, z.core.$strict>;
|
|
236
|
+
}, z.core.$strict>;
|
|
237
|
+
export declare const HostTaskRequestSchema: z.ZodObject<{
|
|
238
|
+
contract: z.ZodLiteral<"nvs-agent-task/1">;
|
|
239
|
+
hostContractDigest: z.ZodLiteral<"c4b254f091c364e0fab8d43ad551f296a3bce2996bdb2c5349307c62295c1769">;
|
|
240
|
+
requestId: z.ZodUUID;
|
|
241
|
+
scope: z.ZodObject<{
|
|
242
|
+
namespace: z.ZodString;
|
|
243
|
+
ref: z.ZodString;
|
|
244
|
+
}, z.core.$strict>;
|
|
245
|
+
selection: z.ZodObject<{
|
|
246
|
+
agentKey: z.ZodString;
|
|
247
|
+
agentVersion: z.ZodString;
|
|
248
|
+
modelOptionKey: z.ZodString;
|
|
249
|
+
}, z.core.$strict>;
|
|
250
|
+
installation: z.ZodObject<{
|
|
251
|
+
installationId: z.ZodString;
|
|
252
|
+
installationRevisionId: z.ZodString;
|
|
253
|
+
slotKey: z.ZodString;
|
|
254
|
+
}, z.core.$strict>;
|
|
255
|
+
inputDigest: z.ZodString;
|
|
256
|
+
input: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
|
|
257
|
+
authorization: z.ZodObject<{
|
|
258
|
+
authorityRef: z.ZodUUID;
|
|
259
|
+
expiresAt: z.ZodISODateTime;
|
|
260
|
+
contractDigest: z.ZodLiteral<"03e0bad50c7c6ecf7979db72c0927fa43904d8fbad67ae02447a87a9263f2730">;
|
|
261
|
+
capabilityDigest: z.ZodString;
|
|
262
|
+
}, z.core.$strict>;
|
|
263
|
+
}, z.core.$strict>;
|
|
@@ -1,39 +1,57 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
+
export * from "./agent-host-protocol.js";
|
|
2
3
|
export declare const AgentHostScopeSchema: z.ZodObject<{
|
|
3
|
-
tenantId: z.
|
|
4
|
-
projectId: z.
|
|
4
|
+
tenantId: z.ZodUUID;
|
|
5
|
+
projectId: z.ZodUUID;
|
|
5
6
|
}, z.core.$strict>;
|
|
6
7
|
export declare const AgentHostSelectionSchema: z.ZodObject<{
|
|
7
|
-
hostKey: z.ZodString;
|
|
8
|
-
tenantKey: z.ZodString;
|
|
9
|
-
workspaceKey: z.ZodString;
|
|
10
|
-
projectKey: z.ZodString;
|
|
11
8
|
agentKey: z.ZodString;
|
|
12
|
-
agentVersion: z.
|
|
9
|
+
agentVersion: z.ZodString;
|
|
13
10
|
modelOptionKey: z.ZodString;
|
|
11
|
+
contractVersion: z.ZodLiteral<2>;
|
|
12
|
+
hostKey: z.ZodString;
|
|
13
|
+
hostScope: z.ZodObject<{
|
|
14
|
+
namespace: z.ZodString;
|
|
15
|
+
ref: z.ZodString;
|
|
16
|
+
}, z.core.$strict>;
|
|
14
17
|
}, z.core.$strict>;
|
|
18
|
+
export declare const AgentHostReadSelectionSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
19
|
+
agentKey: z.ZodString;
|
|
20
|
+
agentVersion: z.ZodString;
|
|
21
|
+
modelOptionKey: z.ZodString;
|
|
22
|
+
contractVersion: z.ZodLiteral<2>;
|
|
23
|
+
hostKey: z.ZodString;
|
|
24
|
+
hostScope: z.ZodObject<{
|
|
25
|
+
namespace: z.ZodString;
|
|
26
|
+
ref: z.ZodString;
|
|
27
|
+
}, z.core.$strict>;
|
|
28
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
29
|
+
hostKey: z.ZodString;
|
|
30
|
+
}, z.core.$catchall<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>]>;
|
|
15
31
|
export declare const ConfigureAgentHostSchema: z.ZodObject<{
|
|
16
|
-
tenantId: z.
|
|
17
|
-
projectId: z.
|
|
18
|
-
requestId: z.
|
|
19
|
-
bindingId: z.
|
|
32
|
+
tenantId: z.ZodUUID;
|
|
33
|
+
projectId: z.ZodUUID;
|
|
34
|
+
requestId: z.ZodUUID;
|
|
35
|
+
bindingId: z.ZodUUID;
|
|
20
36
|
expectedRevision: z.ZodInt;
|
|
21
37
|
selection: z.ZodObject<{
|
|
22
|
-
hostKey: z.ZodString;
|
|
23
|
-
tenantKey: z.ZodString;
|
|
24
|
-
workspaceKey: z.ZodString;
|
|
25
|
-
projectKey: z.ZodString;
|
|
26
38
|
agentKey: z.ZodString;
|
|
27
|
-
agentVersion: z.
|
|
39
|
+
agentVersion: z.ZodString;
|
|
28
40
|
modelOptionKey: z.ZodString;
|
|
41
|
+
contractVersion: z.ZodLiteral<2>;
|
|
42
|
+
hostKey: z.ZodString;
|
|
43
|
+
hostScope: z.ZodObject<{
|
|
44
|
+
namespace: z.ZodString;
|
|
45
|
+
ref: z.ZodString;
|
|
46
|
+
}, z.core.$strict>;
|
|
29
47
|
}, z.core.$strict>;
|
|
30
48
|
apiCredential: z.ZodString;
|
|
31
49
|
}, z.core.$strict>;
|
|
32
50
|
export declare const RevokeAgentHostSchema: z.ZodObject<{
|
|
33
|
-
tenantId: z.
|
|
34
|
-
projectId: z.
|
|
35
|
-
requestId: z.
|
|
36
|
-
bindingId: z.
|
|
51
|
+
tenantId: z.ZodUUID;
|
|
52
|
+
projectId: z.ZodUUID;
|
|
53
|
+
requestId: z.ZodUUID;
|
|
54
|
+
bindingId: z.ZodUUID;
|
|
37
55
|
expectedRevision: z.ZodInt;
|
|
38
56
|
}, z.core.$strict>;
|
|
39
57
|
export declare const AgentHostBindingSchema: z.ZodObject<{
|
|
@@ -43,30 +61,57 @@ export declare const AgentHostBindingSchema: z.ZodObject<{
|
|
|
43
61
|
revision: z.ZodInt;
|
|
44
62
|
configurationVersion: z.ZodInt;
|
|
45
63
|
enabled: z.ZodBoolean;
|
|
46
|
-
selection: z.ZodObject<{
|
|
64
|
+
selection: z.ZodUnion<readonly [z.ZodObject<{
|
|
65
|
+
agentKey: z.ZodString;
|
|
66
|
+
agentVersion: z.ZodString;
|
|
67
|
+
modelOptionKey: z.ZodString;
|
|
68
|
+
contractVersion: z.ZodLiteral<2>;
|
|
69
|
+
hostKey: z.ZodString;
|
|
70
|
+
hostScope: z.ZodObject<{
|
|
71
|
+
namespace: z.ZodString;
|
|
72
|
+
ref: z.ZodString;
|
|
73
|
+
}, z.core.$strict>;
|
|
74
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
47
75
|
hostKey: z.ZodString;
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
76
|
+
}, z.core.$catchall<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>]>;
|
|
77
|
+
updatedAt: z.ZodISODateTime;
|
|
78
|
+
}, z.core.$strict>;
|
|
79
|
+
export declare const CurrentAgentHostBindingSchema: z.ZodObject<{
|
|
80
|
+
tenantId: z.ZodUUID;
|
|
81
|
+
projectId: z.ZodUUID;
|
|
82
|
+
bindingId: z.ZodUUID;
|
|
83
|
+
revision: z.ZodInt;
|
|
84
|
+
configurationVersion: z.ZodInt;
|
|
85
|
+
enabled: z.ZodBoolean;
|
|
86
|
+
updatedAt: z.ZodISODateTime;
|
|
87
|
+
selection: z.ZodObject<{
|
|
51
88
|
agentKey: z.ZodString;
|
|
52
|
-
agentVersion: z.
|
|
89
|
+
agentVersion: z.ZodString;
|
|
53
90
|
modelOptionKey: z.ZodString;
|
|
91
|
+
contractVersion: z.ZodLiteral<2>;
|
|
92
|
+
hostKey: z.ZodString;
|
|
93
|
+
hostScope: z.ZodObject<{
|
|
94
|
+
namespace: z.ZodString;
|
|
95
|
+
ref: z.ZodString;
|
|
96
|
+
}, z.core.$strict>;
|
|
54
97
|
}, z.core.$strict>;
|
|
55
|
-
updatedAt: z.ZodISODateTime;
|
|
56
98
|
}, z.core.$strict>;
|
|
99
|
+
export type CurrentAgentHostBinding = z.infer<typeof CurrentAgentHostBindingSchema>;
|
|
57
100
|
export declare const UpdateAgentHostSelectionSchema: z.ZodObject<{
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
bindingId: z.
|
|
101
|
+
requestId: z.ZodUUID;
|
|
102
|
+
tenantId: z.ZodUUID;
|
|
103
|
+
projectId: z.ZodUUID;
|
|
104
|
+
bindingId: z.ZodUUID;
|
|
62
105
|
selection: z.ZodObject<{
|
|
63
|
-
hostKey: z.ZodString;
|
|
64
|
-
tenantKey: z.ZodString;
|
|
65
|
-
workspaceKey: z.ZodString;
|
|
66
|
-
projectKey: z.ZodString;
|
|
67
106
|
agentKey: z.ZodString;
|
|
68
|
-
agentVersion: z.
|
|
107
|
+
agentVersion: z.ZodString;
|
|
69
108
|
modelOptionKey: z.ZodString;
|
|
109
|
+
contractVersion: z.ZodLiteral<2>;
|
|
110
|
+
hostKey: z.ZodString;
|
|
111
|
+
hostScope: z.ZodObject<{
|
|
112
|
+
namespace: z.ZodString;
|
|
113
|
+
ref: z.ZodString;
|
|
114
|
+
}, z.core.$strict>;
|
|
70
115
|
}, z.core.$strict>;
|
|
71
116
|
expectedRevision: z.ZodInt;
|
|
72
117
|
expectedConfigurationVersion: z.ZodInt;
|
|
@@ -79,21 +124,25 @@ export declare const AgentHostCurrentSchema: z.ZodObject<{
|
|
|
79
124
|
revision: z.ZodInt;
|
|
80
125
|
configurationVersion: z.ZodInt;
|
|
81
126
|
enabled: z.ZodBoolean;
|
|
82
|
-
selection: z.ZodObject<{
|
|
83
|
-
hostKey: z.ZodString;
|
|
84
|
-
tenantKey: z.ZodString;
|
|
85
|
-
workspaceKey: z.ZodString;
|
|
86
|
-
projectKey: z.ZodString;
|
|
127
|
+
selection: z.ZodUnion<readonly [z.ZodObject<{
|
|
87
128
|
agentKey: z.ZodString;
|
|
88
|
-
agentVersion: z.
|
|
129
|
+
agentVersion: z.ZodString;
|
|
89
130
|
modelOptionKey: z.ZodString;
|
|
90
|
-
|
|
131
|
+
contractVersion: z.ZodLiteral<2>;
|
|
132
|
+
hostKey: z.ZodString;
|
|
133
|
+
hostScope: z.ZodObject<{
|
|
134
|
+
namespace: z.ZodString;
|
|
135
|
+
ref: z.ZodString;
|
|
136
|
+
}, z.core.$strict>;
|
|
137
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
138
|
+
hostKey: z.ZodString;
|
|
139
|
+
}, z.core.$catchall<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>]>;
|
|
91
140
|
updatedAt: z.ZodISODateTime;
|
|
92
141
|
}, z.core.$strict>>;
|
|
93
142
|
}, z.core.$strict>;
|
|
94
143
|
export declare const AgentHostHistoryQuerySchema: z.ZodObject<{
|
|
95
|
-
tenantId: z.
|
|
96
|
-
projectId: z.
|
|
144
|
+
tenantId: z.ZodUUID;
|
|
145
|
+
projectId: z.ZodUUID;
|
|
97
146
|
limit: z.ZodDefault<z.ZodInt>;
|
|
98
147
|
beforeVersion: z.ZodOptional<z.ZodInt>;
|
|
99
148
|
}, z.core.$strict>;
|
|
@@ -102,15 +151,19 @@ export declare const AgentHostConfigurationVersionSchema: z.ZodObject<{
|
|
|
102
151
|
projectId: z.ZodUUID;
|
|
103
152
|
bindingId: z.ZodUUID;
|
|
104
153
|
version: z.ZodInt;
|
|
105
|
-
selection: z.ZodObject<{
|
|
106
|
-
hostKey: z.ZodString;
|
|
107
|
-
tenantKey: z.ZodString;
|
|
108
|
-
workspaceKey: z.ZodString;
|
|
109
|
-
projectKey: z.ZodString;
|
|
154
|
+
selection: z.ZodUnion<readonly [z.ZodObject<{
|
|
110
155
|
agentKey: z.ZodString;
|
|
111
|
-
agentVersion: z.
|
|
156
|
+
agentVersion: z.ZodString;
|
|
112
157
|
modelOptionKey: z.ZodString;
|
|
113
|
-
|
|
158
|
+
contractVersion: z.ZodLiteral<2>;
|
|
159
|
+
hostKey: z.ZodString;
|
|
160
|
+
hostScope: z.ZodObject<{
|
|
161
|
+
namespace: z.ZodString;
|
|
162
|
+
ref: z.ZodString;
|
|
163
|
+
}, z.core.$strict>;
|
|
164
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
165
|
+
hostKey: z.ZodString;
|
|
166
|
+
}, z.core.$catchall<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>]>;
|
|
114
167
|
createdByPrincipalId: z.ZodUUID;
|
|
115
168
|
createdAt: z.ZodISODateTime;
|
|
116
169
|
revokedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
@@ -121,15 +174,19 @@ export declare const AgentHostHistoryPageSchema: z.ZodObject<{
|
|
|
121
174
|
projectId: z.ZodUUID;
|
|
122
175
|
bindingId: z.ZodUUID;
|
|
123
176
|
version: z.ZodInt;
|
|
124
|
-
selection: z.ZodObject<{
|
|
125
|
-
hostKey: z.ZodString;
|
|
126
|
-
tenantKey: z.ZodString;
|
|
127
|
-
workspaceKey: z.ZodString;
|
|
128
|
-
projectKey: z.ZodString;
|
|
177
|
+
selection: z.ZodUnion<readonly [z.ZodObject<{
|
|
129
178
|
agentKey: z.ZodString;
|
|
130
|
-
agentVersion: z.
|
|
179
|
+
agentVersion: z.ZodString;
|
|
131
180
|
modelOptionKey: z.ZodString;
|
|
132
|
-
|
|
181
|
+
contractVersion: z.ZodLiteral<2>;
|
|
182
|
+
hostKey: z.ZodString;
|
|
183
|
+
hostScope: z.ZodObject<{
|
|
184
|
+
namespace: z.ZodString;
|
|
185
|
+
ref: z.ZodString;
|
|
186
|
+
}, z.core.$strict>;
|
|
187
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
188
|
+
hostKey: z.ZodString;
|
|
189
|
+
}, z.core.$catchall<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>]>;
|
|
133
190
|
createdByPrincipalId: z.ZodUUID;
|
|
134
191
|
createdAt: z.ZodISODateTime;
|
|
135
192
|
revokedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
@@ -147,15 +204,19 @@ export declare const AgentHostReadinessSchema: z.ZodObject<{
|
|
|
147
204
|
revision: z.ZodInt;
|
|
148
205
|
configurationVersion: z.ZodInt;
|
|
149
206
|
enabled: z.ZodBoolean;
|
|
150
|
-
selection: z.ZodObject<{
|
|
151
|
-
hostKey: z.ZodString;
|
|
152
|
-
tenantKey: z.ZodString;
|
|
153
|
-
workspaceKey: z.ZodString;
|
|
154
|
-
projectKey: z.ZodString;
|
|
207
|
+
selection: z.ZodUnion<readonly [z.ZodObject<{
|
|
155
208
|
agentKey: z.ZodString;
|
|
156
|
-
agentVersion: z.
|
|
209
|
+
agentVersion: z.ZodString;
|
|
157
210
|
modelOptionKey: z.ZodString;
|
|
158
|
-
|
|
211
|
+
contractVersion: z.ZodLiteral<2>;
|
|
212
|
+
hostKey: z.ZodString;
|
|
213
|
+
hostScope: z.ZodObject<{
|
|
214
|
+
namespace: z.ZodString;
|
|
215
|
+
ref: z.ZodString;
|
|
216
|
+
}, z.core.$strict>;
|
|
217
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
218
|
+
hostKey: z.ZodString;
|
|
219
|
+
}, z.core.$catchall<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>]>;
|
|
159
220
|
updatedAt: z.ZodISODateTime;
|
|
160
221
|
}, z.core.$strict>>;
|
|
161
222
|
registeredHostKeys: z.ZodArray<z.ZodString>;
|
|
@@ -26,10 +26,10 @@ export declare const DiscoveryContentTypeSchema: z.ZodEnum<{
|
|
|
26
26
|
"application/x-subrip": "application/x-subrip";
|
|
27
27
|
}>;
|
|
28
28
|
export declare const ArtifactDiscoveryQuerySchema: z.ZodObject<{
|
|
29
|
-
tenantId: z.
|
|
30
|
-
projectId: z.ZodOptional<z.
|
|
31
|
-
productionId: z.ZodOptional<z.
|
|
32
|
-
artifactId: z.ZodOptional<z.
|
|
29
|
+
tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
|
|
30
|
+
projectId: z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "ProjectId", "out">>;
|
|
31
|
+
productionId: z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">>;
|
|
32
|
+
artifactId: z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "ArtifactId", "out">>;
|
|
33
33
|
mediaCategory: z.ZodOptional<z.ZodEnum<{
|
|
34
34
|
IMAGE: "IMAGE";
|
|
35
35
|
VIDEO: "VIDEO";
|
|
@@ -60,24 +60,24 @@ export declare const ArtifactDiscoveryQuerySchema: z.ZodObject<{
|
|
|
60
60
|
next: z.ZodOptional<z.ZodString>;
|
|
61
61
|
}, z.core.$strict>;
|
|
62
62
|
export declare const ArtifactDiscoveryMediaSchema: z.ZodObject<{
|
|
63
|
-
tenantId: z.
|
|
64
|
-
projectId: z.
|
|
65
|
-
artifactId: z.
|
|
66
|
-
representationId: z.
|
|
63
|
+
tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
|
|
64
|
+
projectId: z.core.$ZodBranded<z.ZodUUID, "ProjectId", "out">;
|
|
65
|
+
artifactId: z.core.$ZodBranded<z.ZodUUID, "ArtifactId", "out">;
|
|
66
|
+
representationId: z.core.$ZodBranded<z.ZodUUID, "ArtifactRepresentationId", "out">;
|
|
67
67
|
}, z.core.$strict>;
|
|
68
68
|
/** 正式表示的浏览器票据包含原 Artifact 身份,供前端核对绑定。 */
|
|
69
69
|
export declare const ArtifactMediaTicketRequestSchema: z.ZodObject<{
|
|
70
|
-
tenantId: z.
|
|
71
|
-
projectId: z.
|
|
72
|
-
artifactId: z.
|
|
73
|
-
representationId: z.
|
|
70
|
+
tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
|
|
71
|
+
projectId: z.core.$ZodBranded<z.ZodUUID, "ProjectId", "out">;
|
|
72
|
+
artifactId: z.core.$ZodBranded<z.ZodUUID, "ArtifactId", "out">;
|
|
73
|
+
representationId: z.core.$ZodBranded<z.ZodUUID, "ArtifactRepresentationId", "out">;
|
|
74
74
|
download: z.ZodOptional<z.ZodBoolean>;
|
|
75
75
|
}, z.core.$strict>;
|
|
76
76
|
export declare const ArtifactMediaTicketSchema: z.ZodObject<{
|
|
77
|
-
tenantId: z.
|
|
78
|
-
projectId: z.
|
|
79
|
-
artifactId: z.
|
|
80
|
-
representationId: z.
|
|
77
|
+
tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
|
|
78
|
+
projectId: z.core.$ZodBranded<z.ZodUUID, "ProjectId", "out">;
|
|
79
|
+
artifactId: z.core.$ZodBranded<z.ZodUUID, "ArtifactId", "out">;
|
|
80
|
+
representationId: z.core.$ZodBranded<z.ZodUUID, "ArtifactRepresentationId", "out">;
|
|
81
81
|
url: z.ZodURL;
|
|
82
82
|
expiresAt: z.ZodISODateTime;
|
|
83
83
|
object: z.ZodObject<{
|
|
@@ -108,8 +108,8 @@ export declare const CompositionObservationViewSchema: z.ZodObject<{
|
|
|
108
108
|
CANCELLED: "CANCELLED";
|
|
109
109
|
RUNNING: "RUNNING";
|
|
110
110
|
SUPERSEDED: "SUPERSEDED";
|
|
111
|
-
READY: "READY";
|
|
112
111
|
PENDING: "PENDING";
|
|
112
|
+
READY: "READY";
|
|
113
113
|
WAITING: "WAITING";
|
|
114
114
|
SUCCEEDED: "SUCCEEDED";
|
|
115
115
|
}>;
|
|
@@ -739,8 +739,8 @@ export declare const DeliveryValidationViewSchema: z.ZodObject<{
|
|
|
739
739
|
CANCELLED: "CANCELLED";
|
|
740
740
|
RUNNING: "RUNNING";
|
|
741
741
|
SUPERSEDED: "SUPERSEDED";
|
|
742
|
-
READY: "READY";
|
|
743
742
|
PENDING: "PENDING";
|
|
743
|
+
READY: "READY";
|
|
744
744
|
WAITING: "WAITING";
|
|
745
745
|
SUCCEEDED: "SUCCEEDED";
|
|
746
746
|
}>;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
/** 只读接续不是安装授权;仍沿现有成员、设备证明和任务资格 Owner。 */
|
|
3
|
+
export declare const DeviceSetupRecoverySchema: z.ZodObject<{
|
|
4
|
+
reason: z.ZodEnum<{
|
|
5
|
+
NO_REGISTERED_DEVICE: "NO_REGISTERED_DEVICE";
|
|
6
|
+
NO_SUITABLE_DEVICE: "NO_SUITABLE_DEVICE";
|
|
7
|
+
CAPABILITY_MISSING: "CAPABILITY_MISSING";
|
|
8
|
+
DEVICE_DISCONNECTED: "DEVICE_DISCONNECTED";
|
|
9
|
+
DEVICE_BUSY: "DEVICE_BUSY";
|
|
10
|
+
INCOMPLETE_INVENTORY: "INCOMPLETE_INVENTORY";
|
|
11
|
+
}>;
|
|
12
|
+
action: z.ZodEnum<{
|
|
13
|
+
PREPARE_OR_REPAIR_HOST: "PREPARE_OR_REPAIR_HOST";
|
|
14
|
+
RECONNECT_EXISTING_HOST: "RECONNECT_EXISTING_HOST";
|
|
15
|
+
WAIT: "WAIT";
|
|
16
|
+
INSPECT_EXISTING: "INSPECT_EXISTING";
|
|
17
|
+
}>;
|
|
18
|
+
inspect: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
19
|
+
tool: z.ZodLiteral<"workspace_caller">;
|
|
20
|
+
arguments: z.ZodObject<{
|
|
21
|
+
tenantId: z.ZodUUID;
|
|
22
|
+
}, z.core.$strict>;
|
|
23
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
24
|
+
tool: z.ZodLiteral<"studio_capability_query">;
|
|
25
|
+
arguments: z.ZodObject<{
|
|
26
|
+
tenantId: z.ZodUUID;
|
|
27
|
+
tool: z.ZodLiteral<"workspace_devices_list">;
|
|
28
|
+
arguments: z.ZodObject<{
|
|
29
|
+
tenantId: z.ZodUUID;
|
|
30
|
+
}, z.core.$strict>;
|
|
31
|
+
}, z.core.$strict>;
|
|
32
|
+
}, z.core.$strict>], "tool">;
|
|
33
|
+
guidance: z.ZodString;
|
|
34
|
+
}, z.core.$strict>;
|
|
35
|
+
export type DeviceSetupRecovery = z.infer<typeof DeviceSetupRecoverySchema>;
|