@openkaiden/opnshll-sdk 0.0.110
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/README.md +186 -0
- package/dist/client.d.ts +594 -0
- package/dist/client.d.ts.map +1 -0
- package/dist/client.js +930 -0
- package/dist/client.js.map +1 -0
- package/dist/errors.d.ts +18 -0
- package/dist/errors.d.ts.map +1 -0
- package/dist/errors.js +56 -0
- package/dist/errors.js.map +1 -0
- package/dist/gen/datamodel_pb.d.ts +246 -0
- package/dist/gen/datamodel_pb.d.ts.map +1 -0
- package/dist/gen/datamodel_pb.js +58 -0
- package/dist/gen/datamodel_pb.js.map +1 -0
- package/dist/gen/openshell_pb.d.ts +6739 -0
- package/dist/gen/openshell_pb.d.ts.map +1 -0
- package/dist/gen/openshell_pb.js +1180 -0
- package/dist/gen/openshell_pb.js.map +1 -0
- package/dist/gen/options_pb.d.ts +58 -0
- package/dist/gen/options_pb.d.ts.map +1 -0
- package/dist/gen/options_pb.js +24 -0
- package/dist/gen/options_pb.js.map +1 -0
- package/dist/gen/sandbox_pb.d.ts +1069 -0
- package/dist/gen/sandbox_pb.d.ts.map +1 -0
- package/dist/gen/sandbox_pb.js +172 -0
- package/dist/gen/sandbox_pb.js.map +1 -0
- package/dist/index.d.ts +5 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +5 -0
- package/dist/index.js.map +1 -0
- package/dist/raw.d.ts +5 -0
- package/dist/raw.d.ts.map +1 -0
- package/dist/raw.js +14 -0
- package/dist/raw.js.map +1 -0
- package/dist/ssh-validate.d.ts +11 -0
- package/dist/ssh-validate.d.ts.map +1 -0
- package/dist/ssh-validate.js +58 -0
- package/dist/ssh-validate.js.map +1 -0
- package/dist/transport.d.ts +29 -0
- package/dist/transport.d.ts.map +1 -0
- package/dist/transport.js +92 -0
- package/dist/transport.js.map +1 -0
- package/package.json +58 -0
package/dist/client.d.ts
ADDED
|
@@ -0,0 +1,594 @@
|
|
|
1
|
+
import type { MessageInitShape } from '@bufbuild/protobuf';
|
|
2
|
+
import { type CallOptions, type Client, type Transport } from '@connectrpc/connect';
|
|
3
|
+
import { errorCode, SdkError } from './errors.js';
|
|
4
|
+
import { type ExecSandboxInputSchema, OpenShell, SandboxPhase, type SandboxSpecSchema, ServiceStatus, type TcpForwardFrameSchema } from './gen/openshell_pb.js';
|
|
5
|
+
import type { SandboxPolicy, SettingValue } from './gen/sandbox_pb.js';
|
|
6
|
+
import { PolicySource, type SandboxPolicySchema, SettingScope, type SettingValueSchema } from './gen/sandbox_pb.js';
|
|
7
|
+
import { type ConnectOptions } from './transport.js';
|
|
8
|
+
export type { SandboxPolicy, SettingValue } from './gen/sandbox_pb.js';
|
|
9
|
+
export type { ConnectOptions };
|
|
10
|
+
export { errorCode };
|
|
11
|
+
/** Lowercase mirror of the generated `SandboxPhase` enum. Hand-maintained. */
|
|
12
|
+
export type SandboxPhaseName = 'unspecified' | 'provisioning' | 'ready' | 'error' | 'deleting' | 'unknown' | 'stopping' | 'stopped' | 'starting';
|
|
13
|
+
/** Lowercase mirror of the generated `ServiceStatus` enum. Hand-maintained. */
|
|
14
|
+
export type HealthStatus = 'unspecified' | 'healthy' | 'degraded' | 'unhealthy';
|
|
15
|
+
/** Lowercase mirror of the generated `SettingScope` enum. Hand-maintained. */
|
|
16
|
+
export type SettingScopeName = 'unspecified' | 'sandbox' | 'global';
|
|
17
|
+
/** Lowercase mirror of the generated `PolicySource` enum. Hand-maintained. */
|
|
18
|
+
export type PolicySourceName = 'unspecified' | 'sandbox' | 'global';
|
|
19
|
+
export interface Health {
|
|
20
|
+
status: HealthStatus;
|
|
21
|
+
version: string;
|
|
22
|
+
}
|
|
23
|
+
export interface SandboxSpec {
|
|
24
|
+
name?: string;
|
|
25
|
+
image?: string;
|
|
26
|
+
labels?: Record<string, string>;
|
|
27
|
+
environment?: Record<string, string>;
|
|
28
|
+
providers?: string[];
|
|
29
|
+
gpu?: boolean;
|
|
30
|
+
/**
|
|
31
|
+
* Create-time sandbox policy (the safety boundary). Sandbox-scoped
|
|
32
|
+
* `setPolicy` cannot introduce static fields later, so express filesystem,
|
|
33
|
+
* landlock, process, and initial network policy here.
|
|
34
|
+
*/
|
|
35
|
+
policy?: MessageInitShape<typeof SandboxPolicySchema>;
|
|
36
|
+
/**
|
|
37
|
+
* Advanced escape hatch: the full generated proto spec. Curated fields build
|
|
38
|
+
* the base spec, then `rawSpec` shallow-overrides at the top spec level, so
|
|
39
|
+
* any field it sets wins. Use it to reach proto spec fields the curated shape
|
|
40
|
+
* does not surface (template runtime class, resource limits, log level, and
|
|
41
|
+
* future additions) without an SDK change.
|
|
42
|
+
*/
|
|
43
|
+
rawSpec?: MessageInitShape<typeof SandboxSpecSchema>;
|
|
44
|
+
}
|
|
45
|
+
export interface SandboxRef {
|
|
46
|
+
id: string;
|
|
47
|
+
name: string;
|
|
48
|
+
phase: SandboxPhaseName;
|
|
49
|
+
labels: Record<string, string>;
|
|
50
|
+
/** u64 rendered as a string — JS numbers can't hold it safely. */
|
|
51
|
+
resourceVersion: string;
|
|
52
|
+
}
|
|
53
|
+
export interface ListOptions {
|
|
54
|
+
limit?: number;
|
|
55
|
+
offset?: number;
|
|
56
|
+
labelSelector?: string;
|
|
57
|
+
}
|
|
58
|
+
export interface ExecOptions {
|
|
59
|
+
workdir?: string;
|
|
60
|
+
environment?: Record<string, string>;
|
|
61
|
+
timeoutSecs?: number;
|
|
62
|
+
stdin?: Buffer;
|
|
63
|
+
/** Abort the exec (and the in-flight stream RPC) early. */
|
|
64
|
+
signal?: AbortSignal;
|
|
65
|
+
}
|
|
66
|
+
export interface ExecResult {
|
|
67
|
+
exitCode: number;
|
|
68
|
+
stdout: Buffer;
|
|
69
|
+
stderr: Buffer;
|
|
70
|
+
}
|
|
71
|
+
/** One stdout/stderr chunk yielded by `execStream`/`execInteractive`. */
|
|
72
|
+
export interface ExecStreamChunk {
|
|
73
|
+
stream: 'stdout' | 'stderr';
|
|
74
|
+
data: Buffer;
|
|
75
|
+
}
|
|
76
|
+
export interface ExecExitEvent {
|
|
77
|
+
type: 'exit';
|
|
78
|
+
exitCode: number;
|
|
79
|
+
}
|
|
80
|
+
/** An exec stream item: a stdout/stderr chunk or the terminal exit event. */
|
|
81
|
+
export type ExecStreamEvent = ExecStreamChunk | ExecExitEvent;
|
|
82
|
+
export interface ExecInteractiveOptions {
|
|
83
|
+
workdir?: string;
|
|
84
|
+
environment?: Record<string, string>;
|
|
85
|
+
timeoutSecs?: number;
|
|
86
|
+
/** Request a pseudo-terminal (default true). */
|
|
87
|
+
tty?: boolean;
|
|
88
|
+
/** Initial terminal columns (0 = server default). */
|
|
89
|
+
cols?: number;
|
|
90
|
+
/** Initial terminal rows (0 = server default). */
|
|
91
|
+
rows?: number;
|
|
92
|
+
/** Abort the interactive exec (and the in-flight stream RPC) early. */
|
|
93
|
+
signal?: AbortSignal;
|
|
94
|
+
}
|
|
95
|
+
export interface ExecInteractiveSession {
|
|
96
|
+
output: AsyncIterable<ExecStreamEvent>;
|
|
97
|
+
write(data: Buffer): void;
|
|
98
|
+
resize(cols: number, rows: number): void;
|
|
99
|
+
close(): void;
|
|
100
|
+
done: Promise<number>;
|
|
101
|
+
}
|
|
102
|
+
/** Cancellation for the poll-based wait helpers. */
|
|
103
|
+
export interface WaitOptions {
|
|
104
|
+
/** Abort the wait (and the in-flight poll RPC) early. */
|
|
105
|
+
signal?: AbortSignal;
|
|
106
|
+
}
|
|
107
|
+
export interface ForwardOptions {
|
|
108
|
+
/** Loopback TCP port inside the sandbox to dial. */
|
|
109
|
+
targetPort: number;
|
|
110
|
+
/** Target host inside the sandbox (loopback only). Default 127.0.0.1. */
|
|
111
|
+
targetHost?: string;
|
|
112
|
+
/** Local port to bind. Default 0 (ephemeral). */
|
|
113
|
+
localPort?: number;
|
|
114
|
+
/** Local address to bind. Default 127.0.0.1. */
|
|
115
|
+
localHost?: string;
|
|
116
|
+
/** Abort forward setup and tear down the local listener early. */
|
|
117
|
+
signal?: AbortSignal;
|
|
118
|
+
/** Receives failures from individual accepted connections. */
|
|
119
|
+
onConnectionError?: (error: SdkError) => void;
|
|
120
|
+
}
|
|
121
|
+
export interface ForwardHandle {
|
|
122
|
+
localHost: string;
|
|
123
|
+
localPort: number;
|
|
124
|
+
targetHost: string;
|
|
125
|
+
targetPort: number;
|
|
126
|
+
close(): Promise<void>;
|
|
127
|
+
closed: Promise<void>;
|
|
128
|
+
}
|
|
129
|
+
export interface SshSession {
|
|
130
|
+
sandboxId: string;
|
|
131
|
+
token: string;
|
|
132
|
+
gatewayHost: string;
|
|
133
|
+
gatewayPort: number;
|
|
134
|
+
gatewayScheme: string;
|
|
135
|
+
hostKeyFingerprint?: string;
|
|
136
|
+
/** int64 ms-since-epoch rendered as a string; omitted when 0 (no expiry). */
|
|
137
|
+
expiresAtMs?: string;
|
|
138
|
+
}
|
|
139
|
+
export interface ProviderRef {
|
|
140
|
+
id: string;
|
|
141
|
+
name: string;
|
|
142
|
+
type: string;
|
|
143
|
+
labels: Record<string, string>;
|
|
144
|
+
/** u64 rendered as a string. */
|
|
145
|
+
resourceVersion: string;
|
|
146
|
+
}
|
|
147
|
+
export interface ProviderChange {
|
|
148
|
+
sandbox: SandboxRef;
|
|
149
|
+
/** True when the attach/detach actually changed the attachment set. */
|
|
150
|
+
changed: boolean;
|
|
151
|
+
}
|
|
152
|
+
export interface ProviderChangeOptions {
|
|
153
|
+
/** Pin the sandbox resource version for optimistic concurrency (u64 as string). */
|
|
154
|
+
expectedResourceVersion?: string;
|
|
155
|
+
}
|
|
156
|
+
/** Effective value of one setting plus the scope it resolved from. */
|
|
157
|
+
export interface EffectiveSettingView {
|
|
158
|
+
value?: SettingValue;
|
|
159
|
+
/** 'unspecified' | 'sandbox' | 'global'. */
|
|
160
|
+
scope: SettingScopeName;
|
|
161
|
+
}
|
|
162
|
+
export interface SandboxConfig {
|
|
163
|
+
policy?: SandboxPolicy;
|
|
164
|
+
version: number;
|
|
165
|
+
policyHash: string;
|
|
166
|
+
settings: Record<string, EffectiveSettingView>;
|
|
167
|
+
/** u64 rendered as a string. */
|
|
168
|
+
configRevision: string;
|
|
169
|
+
/** 'unspecified' | 'sandbox' | 'global'. */
|
|
170
|
+
policySource: PolicySourceName;
|
|
171
|
+
globalPolicyVersion: number;
|
|
172
|
+
/** u64 rendered as a string. */
|
|
173
|
+
providerEnvRevision: string;
|
|
174
|
+
}
|
|
175
|
+
export interface SetPolicyOptions {
|
|
176
|
+
/** Pin the sandbox resource version for optimistic concurrency (u64 as string). */
|
|
177
|
+
expectedResourceVersion?: string;
|
|
178
|
+
/** Poll getConfig until the applied policy hash is observed. */
|
|
179
|
+
wait?: boolean;
|
|
180
|
+
/** Bound the `wait` poll (seconds). Default 60. */
|
|
181
|
+
waitTimeoutSecs?: number;
|
|
182
|
+
}
|
|
183
|
+
export interface UpdateConfigResult {
|
|
184
|
+
version: number;
|
|
185
|
+
policyHash: string;
|
|
186
|
+
/** u64 rendered as a string. */
|
|
187
|
+
settingsRevision: string;
|
|
188
|
+
deleted: boolean;
|
|
189
|
+
}
|
|
190
|
+
export declare const PHASE_NAMES: Record<SandboxPhase, SandboxPhaseName>;
|
|
191
|
+
export declare const STATUS_NAMES: Record<ServiceStatus, HealthStatus>;
|
|
192
|
+
export declare const SCOPE_NAMES: Record<SettingScope, SettingScopeName>;
|
|
193
|
+
export declare const POLICY_SOURCE_NAMES: Record<PolicySource, PolicySourceName>;
|
|
194
|
+
export declare class Pushable<T> implements AsyncIterable<T> {
|
|
195
|
+
private readonly queue;
|
|
196
|
+
private readonly waiting;
|
|
197
|
+
private ended;
|
|
198
|
+
private error;
|
|
199
|
+
onDrain?: () => void;
|
|
200
|
+
get size(): number;
|
|
201
|
+
push(value: T): void;
|
|
202
|
+
end(error?: unknown): void;
|
|
203
|
+
[Symbol.asyncIterator](): AsyncIterator<T>;
|
|
204
|
+
}
|
|
205
|
+
export declare class SandboxClient {
|
|
206
|
+
private readonly grpc;
|
|
207
|
+
/**
|
|
208
|
+
* Advanced escape hatch: a generated client for every gateway RPC, including
|
|
209
|
+
* surface the curated methods do not wrap yet. Request/response types are the
|
|
210
|
+
* generated wire messages (import them from '@nvidia/openshell-sdk/raw').
|
|
211
|
+
*/
|
|
212
|
+
readonly raw: Client<typeof OpenShell>;
|
|
213
|
+
/** The shared Connect transport, for building extra clients over the same connection. */
|
|
214
|
+
readonly transport: Transport;
|
|
215
|
+
constructor(transport: Transport, grpc?: Client<import("@bufbuild/protobuf/codegenv2").GenService<{
|
|
216
|
+
health: {
|
|
217
|
+
methodKind: "unary";
|
|
218
|
+
input: typeof import("./gen/openshell_pb.js").HealthRequestSchema;
|
|
219
|
+
output: typeof import("./gen/openshell_pb.js").HealthResponseSchema;
|
|
220
|
+
};
|
|
221
|
+
getCurrentUser: {
|
|
222
|
+
methodKind: "unary";
|
|
223
|
+
input: typeof import("./gen/openshell_pb.js").GetCurrentUserRequestSchema;
|
|
224
|
+
output: typeof import("./gen/openshell_pb.js").GetCurrentUserResponseSchema;
|
|
225
|
+
};
|
|
226
|
+
getGatewayInfo: {
|
|
227
|
+
methodKind: "unary";
|
|
228
|
+
input: typeof import("./gen/openshell_pb.js").GetGatewayInfoRequestSchema;
|
|
229
|
+
output: typeof import("./gen/openshell_pb.js").GetGatewayInfoResponseSchema;
|
|
230
|
+
};
|
|
231
|
+
createSandbox: {
|
|
232
|
+
methodKind: "unary";
|
|
233
|
+
input: typeof import("./gen/openshell_pb.js").CreateSandboxRequestSchema;
|
|
234
|
+
output: typeof import("./gen/openshell_pb.js").SandboxResponseSchema;
|
|
235
|
+
};
|
|
236
|
+
getSandbox: {
|
|
237
|
+
methodKind: "unary";
|
|
238
|
+
input: typeof import("./gen/openshell_pb.js").GetSandboxRequestSchema;
|
|
239
|
+
output: typeof import("./gen/openshell_pb.js").SandboxResponseSchema;
|
|
240
|
+
};
|
|
241
|
+
listSandboxes: {
|
|
242
|
+
methodKind: "unary";
|
|
243
|
+
input: typeof import("./gen/openshell_pb.js").ListSandboxesRequestSchema;
|
|
244
|
+
output: typeof import("./gen/openshell_pb.js").ListSandboxesResponseSchema;
|
|
245
|
+
};
|
|
246
|
+
listSandboxProviders: {
|
|
247
|
+
methodKind: "unary";
|
|
248
|
+
input: typeof import("./gen/openshell_pb.js").ListSandboxProvidersRequestSchema;
|
|
249
|
+
output: typeof import("./gen/openshell_pb.js").ListSandboxProvidersResponseSchema;
|
|
250
|
+
};
|
|
251
|
+
attachSandboxProvider: {
|
|
252
|
+
methodKind: "unary";
|
|
253
|
+
input: typeof import("./gen/openshell_pb.js").AttachSandboxProviderRequestSchema;
|
|
254
|
+
output: typeof import("./gen/openshell_pb.js").AttachSandboxProviderResponseSchema;
|
|
255
|
+
};
|
|
256
|
+
detachSandboxProvider: {
|
|
257
|
+
methodKind: "unary";
|
|
258
|
+
input: typeof import("./gen/openshell_pb.js").DetachSandboxProviderRequestSchema;
|
|
259
|
+
output: typeof import("./gen/openshell_pb.js").DetachSandboxProviderResponseSchema;
|
|
260
|
+
};
|
|
261
|
+
deleteSandbox: {
|
|
262
|
+
methodKind: "unary";
|
|
263
|
+
input: typeof import("./gen/openshell_pb.js").DeleteSandboxRequestSchema;
|
|
264
|
+
output: typeof import("./gen/openshell_pb.js").DeleteSandboxResponseSchema;
|
|
265
|
+
};
|
|
266
|
+
stopSandbox: {
|
|
267
|
+
methodKind: "unary";
|
|
268
|
+
input: typeof import("./gen/openshell_pb.js").StopSandboxRequestSchema;
|
|
269
|
+
output: typeof import("./gen/openshell_pb.js").SandboxResponseSchema;
|
|
270
|
+
};
|
|
271
|
+
startSandbox: {
|
|
272
|
+
methodKind: "unary";
|
|
273
|
+
input: typeof import("./gen/openshell_pb.js").StartSandboxRequestSchema;
|
|
274
|
+
output: typeof import("./gen/openshell_pb.js").SandboxResponseSchema;
|
|
275
|
+
};
|
|
276
|
+
createSshSession: {
|
|
277
|
+
methodKind: "unary";
|
|
278
|
+
input: typeof import("./gen/openshell_pb.js").CreateSshSessionRequestSchema;
|
|
279
|
+
output: typeof import("./gen/openshell_pb.js").CreateSshSessionResponseSchema;
|
|
280
|
+
};
|
|
281
|
+
exposeService: {
|
|
282
|
+
methodKind: "unary";
|
|
283
|
+
input: typeof import("./gen/openshell_pb.js").ExposeServiceRequestSchema;
|
|
284
|
+
output: typeof import("./gen/openshell_pb.js").ServiceEndpointResponseSchema;
|
|
285
|
+
};
|
|
286
|
+
getService: {
|
|
287
|
+
methodKind: "unary";
|
|
288
|
+
input: typeof import("./gen/openshell_pb.js").GetServiceRequestSchema;
|
|
289
|
+
output: typeof import("./gen/openshell_pb.js").ServiceEndpointResponseSchema;
|
|
290
|
+
};
|
|
291
|
+
listServices: {
|
|
292
|
+
methodKind: "unary";
|
|
293
|
+
input: typeof import("./gen/openshell_pb.js").ListServicesRequestSchema;
|
|
294
|
+
output: typeof import("./gen/openshell_pb.js").ListServicesResponseSchema;
|
|
295
|
+
};
|
|
296
|
+
deleteService: {
|
|
297
|
+
methodKind: "unary";
|
|
298
|
+
input: typeof import("./gen/openshell_pb.js").DeleteServiceRequestSchema;
|
|
299
|
+
output: typeof import("./gen/openshell_pb.js").DeleteServiceResponseSchema;
|
|
300
|
+
};
|
|
301
|
+
revokeSshSession: {
|
|
302
|
+
methodKind: "unary";
|
|
303
|
+
input: typeof import("./gen/openshell_pb.js").RevokeSshSessionRequestSchema;
|
|
304
|
+
output: typeof import("./gen/openshell_pb.js").RevokeSshSessionResponseSchema;
|
|
305
|
+
};
|
|
306
|
+
execSandbox: {
|
|
307
|
+
methodKind: "server_streaming";
|
|
308
|
+
input: typeof import("./gen/openshell_pb.js").ExecSandboxRequestSchema;
|
|
309
|
+
output: typeof import("./gen/openshell_pb.js").ExecSandboxEventSchema;
|
|
310
|
+
};
|
|
311
|
+
forwardTcp: {
|
|
312
|
+
methodKind: "bidi_streaming";
|
|
313
|
+
input: typeof TcpForwardFrameSchema;
|
|
314
|
+
output: typeof TcpForwardFrameSchema;
|
|
315
|
+
};
|
|
316
|
+
execSandboxInteractive: {
|
|
317
|
+
methodKind: "bidi_streaming";
|
|
318
|
+
input: typeof ExecSandboxInputSchema;
|
|
319
|
+
output: typeof import("./gen/openshell_pb.js").ExecSandboxEventSchema;
|
|
320
|
+
};
|
|
321
|
+
createProvider: {
|
|
322
|
+
methodKind: "unary";
|
|
323
|
+
input: typeof import("./gen/openshell_pb.js").CreateProviderRequestSchema;
|
|
324
|
+
output: typeof import("./gen/openshell_pb.js").ProviderResponseSchema;
|
|
325
|
+
};
|
|
326
|
+
getProvider: {
|
|
327
|
+
methodKind: "unary";
|
|
328
|
+
input: typeof import("./gen/openshell_pb.js").GetProviderRequestSchema;
|
|
329
|
+
output: typeof import("./gen/openshell_pb.js").ProviderResponseSchema;
|
|
330
|
+
};
|
|
331
|
+
listProviders: {
|
|
332
|
+
methodKind: "unary";
|
|
333
|
+
input: typeof import("./gen/openshell_pb.js").ListProvidersRequestSchema;
|
|
334
|
+
output: typeof import("./gen/openshell_pb.js").ListProvidersResponseSchema;
|
|
335
|
+
};
|
|
336
|
+
listProviderProfiles: {
|
|
337
|
+
methodKind: "unary";
|
|
338
|
+
input: typeof import("./gen/openshell_pb.js").ListProviderProfilesRequestSchema;
|
|
339
|
+
output: typeof import("./gen/openshell_pb.js").ListProviderProfilesResponseSchema;
|
|
340
|
+
};
|
|
341
|
+
getProviderProfile: {
|
|
342
|
+
methodKind: "unary";
|
|
343
|
+
input: typeof import("./gen/openshell_pb.js").GetProviderProfileRequestSchema;
|
|
344
|
+
output: typeof import("./gen/openshell_pb.js").ProviderProfileResponseSchema;
|
|
345
|
+
};
|
|
346
|
+
importProviderProfiles: {
|
|
347
|
+
methodKind: "unary";
|
|
348
|
+
input: typeof import("./gen/openshell_pb.js").ImportProviderProfilesRequestSchema;
|
|
349
|
+
output: typeof import("./gen/openshell_pb.js").ImportProviderProfilesResponseSchema;
|
|
350
|
+
};
|
|
351
|
+
updateProviderProfiles: {
|
|
352
|
+
methodKind: "unary";
|
|
353
|
+
input: typeof import("./gen/openshell_pb.js").UpdateProviderProfilesRequestSchema;
|
|
354
|
+
output: typeof import("./gen/openshell_pb.js").UpdateProviderProfilesResponseSchema;
|
|
355
|
+
};
|
|
356
|
+
lintProviderProfiles: {
|
|
357
|
+
methodKind: "unary";
|
|
358
|
+
input: typeof import("./gen/openshell_pb.js").LintProviderProfilesRequestSchema;
|
|
359
|
+
output: typeof import("./gen/openshell_pb.js").LintProviderProfilesResponseSchema;
|
|
360
|
+
};
|
|
361
|
+
updateProvider: {
|
|
362
|
+
methodKind: "unary";
|
|
363
|
+
input: typeof import("./gen/openshell_pb.js").UpdateProviderRequestSchema;
|
|
364
|
+
output: typeof import("./gen/openshell_pb.js").ProviderResponseSchema;
|
|
365
|
+
};
|
|
366
|
+
getProviderRefreshStatus: {
|
|
367
|
+
methodKind: "unary";
|
|
368
|
+
input: typeof import("./gen/openshell_pb.js").GetProviderRefreshStatusRequestSchema;
|
|
369
|
+
output: typeof import("./gen/openshell_pb.js").GetProviderRefreshStatusResponseSchema;
|
|
370
|
+
};
|
|
371
|
+
configureProviderRefresh: {
|
|
372
|
+
methodKind: "unary";
|
|
373
|
+
input: typeof import("./gen/openshell_pb.js").ConfigureProviderRefreshRequestSchema;
|
|
374
|
+
output: typeof import("./gen/openshell_pb.js").ConfigureProviderRefreshResponseSchema;
|
|
375
|
+
};
|
|
376
|
+
rotateProviderCredential: {
|
|
377
|
+
methodKind: "unary";
|
|
378
|
+
input: typeof import("./gen/openshell_pb.js").RotateProviderCredentialRequestSchema;
|
|
379
|
+
output: typeof import("./gen/openshell_pb.js").RotateProviderCredentialResponseSchema;
|
|
380
|
+
};
|
|
381
|
+
deleteProviderRefresh: {
|
|
382
|
+
methodKind: "unary";
|
|
383
|
+
input: typeof import("./gen/openshell_pb.js").DeleteProviderRefreshRequestSchema;
|
|
384
|
+
output: typeof import("./gen/openshell_pb.js").DeleteProviderRefreshResponseSchema;
|
|
385
|
+
};
|
|
386
|
+
deleteProvider: {
|
|
387
|
+
methodKind: "unary";
|
|
388
|
+
input: typeof import("./gen/openshell_pb.js").DeleteProviderRequestSchema;
|
|
389
|
+
output: typeof import("./gen/openshell_pb.js").DeleteProviderResponseSchema;
|
|
390
|
+
};
|
|
391
|
+
deleteProviderProfile: {
|
|
392
|
+
methodKind: "unary";
|
|
393
|
+
input: typeof import("./gen/openshell_pb.js").DeleteProviderProfileRequestSchema;
|
|
394
|
+
output: typeof import("./gen/openshell_pb.js").DeleteProviderProfileResponseSchema;
|
|
395
|
+
};
|
|
396
|
+
getSandboxConfig: {
|
|
397
|
+
methodKind: "unary";
|
|
398
|
+
input: typeof import("./gen/sandbox_pb.js").GetSandboxConfigRequestSchema;
|
|
399
|
+
output: typeof import("./gen/sandbox_pb.js").GetSandboxConfigResponseSchema;
|
|
400
|
+
};
|
|
401
|
+
getGatewayConfig: {
|
|
402
|
+
methodKind: "unary";
|
|
403
|
+
input: typeof import("./gen/sandbox_pb.js").GetGatewayConfigRequestSchema;
|
|
404
|
+
output: typeof import("./gen/sandbox_pb.js").GetGatewayConfigResponseSchema;
|
|
405
|
+
};
|
|
406
|
+
updateConfig: {
|
|
407
|
+
methodKind: "unary";
|
|
408
|
+
input: typeof import("./gen/openshell_pb.js").UpdateConfigRequestSchema;
|
|
409
|
+
output: typeof import("./gen/openshell_pb.js").UpdateConfigResponseSchema;
|
|
410
|
+
};
|
|
411
|
+
getSandboxPolicyStatus: {
|
|
412
|
+
methodKind: "unary";
|
|
413
|
+
input: typeof import("./gen/openshell_pb.js").GetSandboxPolicyStatusRequestSchema;
|
|
414
|
+
output: typeof import("./gen/openshell_pb.js").GetSandboxPolicyStatusResponseSchema;
|
|
415
|
+
};
|
|
416
|
+
listSandboxPolicies: {
|
|
417
|
+
methodKind: "unary";
|
|
418
|
+
input: typeof import("./gen/openshell_pb.js").ListSandboxPoliciesRequestSchema;
|
|
419
|
+
output: typeof import("./gen/openshell_pb.js").ListSandboxPoliciesResponseSchema;
|
|
420
|
+
};
|
|
421
|
+
reportPolicyStatus: {
|
|
422
|
+
methodKind: "unary";
|
|
423
|
+
input: typeof import("./gen/openshell_pb.js").ReportPolicyStatusRequestSchema;
|
|
424
|
+
output: typeof import("./gen/openshell_pb.js").ReportPolicyStatusResponseSchema;
|
|
425
|
+
};
|
|
426
|
+
getSandboxProviderEnvironment: {
|
|
427
|
+
methodKind: "unary";
|
|
428
|
+
input: typeof import("./gen/openshell_pb.js").GetSandboxProviderEnvironmentRequestSchema;
|
|
429
|
+
output: typeof import("./gen/openshell_pb.js").GetSandboxProviderEnvironmentResponseSchema;
|
|
430
|
+
};
|
|
431
|
+
getSandboxLogs: {
|
|
432
|
+
methodKind: "unary";
|
|
433
|
+
input: typeof import("./gen/openshell_pb.js").GetSandboxLogsRequestSchema;
|
|
434
|
+
output: typeof import("./gen/openshell_pb.js").GetSandboxLogsResponseSchema;
|
|
435
|
+
};
|
|
436
|
+
pushSandboxLogs: {
|
|
437
|
+
methodKind: "client_streaming";
|
|
438
|
+
input: typeof import("./gen/openshell_pb.js").PushSandboxLogsRequestSchema;
|
|
439
|
+
output: typeof import("./gen/openshell_pb.js").PushSandboxLogsResponseSchema;
|
|
440
|
+
};
|
|
441
|
+
connectSupervisor: {
|
|
442
|
+
methodKind: "bidi_streaming";
|
|
443
|
+
input: typeof import("./gen/openshell_pb.js").SupervisorMessageSchema;
|
|
444
|
+
output: typeof import("./gen/openshell_pb.js").GatewayMessageSchema;
|
|
445
|
+
};
|
|
446
|
+
relayStream: {
|
|
447
|
+
methodKind: "bidi_streaming";
|
|
448
|
+
input: typeof import("./gen/openshell_pb.js").RelayFrameSchema;
|
|
449
|
+
output: typeof import("./gen/openshell_pb.js").RelayFrameSchema;
|
|
450
|
+
};
|
|
451
|
+
watchSandbox: {
|
|
452
|
+
methodKind: "server_streaming";
|
|
453
|
+
input: typeof import("./gen/openshell_pb.js").WatchSandboxRequestSchema;
|
|
454
|
+
output: typeof import("./gen/openshell_pb.js").SandboxStreamEventSchema;
|
|
455
|
+
};
|
|
456
|
+
submitPolicyAnalysis: {
|
|
457
|
+
methodKind: "unary";
|
|
458
|
+
input: typeof import("./gen/openshell_pb.js").SubmitPolicyAnalysisRequestSchema;
|
|
459
|
+
output: typeof import("./gen/openshell_pb.js").SubmitPolicyAnalysisResponseSchema;
|
|
460
|
+
};
|
|
461
|
+
getDraftPolicy: {
|
|
462
|
+
methodKind: "unary";
|
|
463
|
+
input: typeof import("./gen/openshell_pb.js").GetDraftPolicyRequestSchema;
|
|
464
|
+
output: typeof import("./gen/openshell_pb.js").GetDraftPolicyResponseSchema;
|
|
465
|
+
};
|
|
466
|
+
approveDraftChunk: {
|
|
467
|
+
methodKind: "unary";
|
|
468
|
+
input: typeof import("./gen/openshell_pb.js").ApproveDraftChunkRequestSchema;
|
|
469
|
+
output: typeof import("./gen/openshell_pb.js").ApproveDraftChunkResponseSchema;
|
|
470
|
+
};
|
|
471
|
+
rejectDraftChunk: {
|
|
472
|
+
methodKind: "unary";
|
|
473
|
+
input: typeof import("./gen/openshell_pb.js").RejectDraftChunkRequestSchema;
|
|
474
|
+
output: typeof import("./gen/openshell_pb.js").RejectDraftChunkResponseSchema;
|
|
475
|
+
};
|
|
476
|
+
approveAllDraftChunks: {
|
|
477
|
+
methodKind: "unary";
|
|
478
|
+
input: typeof import("./gen/openshell_pb.js").ApproveAllDraftChunksRequestSchema;
|
|
479
|
+
output: typeof import("./gen/openshell_pb.js").ApproveAllDraftChunksResponseSchema;
|
|
480
|
+
};
|
|
481
|
+
editDraftChunk: {
|
|
482
|
+
methodKind: "unary";
|
|
483
|
+
input: typeof import("./gen/openshell_pb.js").EditDraftChunkRequestSchema;
|
|
484
|
+
output: typeof import("./gen/openshell_pb.js").EditDraftChunkResponseSchema;
|
|
485
|
+
};
|
|
486
|
+
undoDraftChunk: {
|
|
487
|
+
methodKind: "unary";
|
|
488
|
+
input: typeof import("./gen/openshell_pb.js").UndoDraftChunkRequestSchema;
|
|
489
|
+
output: typeof import("./gen/openshell_pb.js").UndoDraftChunkResponseSchema;
|
|
490
|
+
};
|
|
491
|
+
clearDraftChunks: {
|
|
492
|
+
methodKind: "unary";
|
|
493
|
+
input: typeof import("./gen/openshell_pb.js").ClearDraftChunksRequestSchema;
|
|
494
|
+
output: typeof import("./gen/openshell_pb.js").ClearDraftChunksResponseSchema;
|
|
495
|
+
};
|
|
496
|
+
getDraftHistory: {
|
|
497
|
+
methodKind: "unary";
|
|
498
|
+
input: typeof import("./gen/openshell_pb.js").GetDraftHistoryRequestSchema;
|
|
499
|
+
output: typeof import("./gen/openshell_pb.js").GetDraftHistoryResponseSchema;
|
|
500
|
+
};
|
|
501
|
+
issueSandboxToken: {
|
|
502
|
+
methodKind: "unary";
|
|
503
|
+
input: typeof import("./gen/openshell_pb.js").IssueSandboxTokenRequestSchema;
|
|
504
|
+
output: typeof import("./gen/openshell_pb.js").IssueSandboxTokenResponseSchema;
|
|
505
|
+
};
|
|
506
|
+
refreshSandboxToken: {
|
|
507
|
+
methodKind: "unary";
|
|
508
|
+
input: typeof import("./gen/openshell_pb.js").RefreshSandboxTokenRequestSchema;
|
|
509
|
+
output: typeof import("./gen/openshell_pb.js").RefreshSandboxTokenResponseSchema;
|
|
510
|
+
};
|
|
511
|
+
createWorkspace: {
|
|
512
|
+
methodKind: "unary";
|
|
513
|
+
input: typeof import("./gen/openshell_pb.js").CreateWorkspaceRequestSchema;
|
|
514
|
+
output: typeof import("./gen/openshell_pb.js").CreateWorkspaceResponseSchema;
|
|
515
|
+
};
|
|
516
|
+
getWorkspace: {
|
|
517
|
+
methodKind: "unary";
|
|
518
|
+
input: typeof import("./gen/openshell_pb.js").GetWorkspaceRequestSchema;
|
|
519
|
+
output: typeof import("./gen/openshell_pb.js").GetWorkspaceResponseSchema;
|
|
520
|
+
};
|
|
521
|
+
listWorkspaces: {
|
|
522
|
+
methodKind: "unary";
|
|
523
|
+
input: typeof import("./gen/openshell_pb.js").ListWorkspacesRequestSchema;
|
|
524
|
+
output: typeof import("./gen/openshell_pb.js").ListWorkspacesResponseSchema;
|
|
525
|
+
};
|
|
526
|
+
deleteWorkspace: {
|
|
527
|
+
methodKind: "unary";
|
|
528
|
+
input: typeof import("./gen/openshell_pb.js").DeleteWorkspaceRequestSchema;
|
|
529
|
+
output: typeof import("./gen/openshell_pb.js").DeleteWorkspaceResponseSchema;
|
|
530
|
+
};
|
|
531
|
+
addWorkspaceMember: {
|
|
532
|
+
methodKind: "unary";
|
|
533
|
+
input: typeof import("./gen/openshell_pb.js").AddWorkspaceMemberRequestSchema;
|
|
534
|
+
output: typeof import("./gen/openshell_pb.js").AddWorkspaceMemberResponseSchema;
|
|
535
|
+
};
|
|
536
|
+
removeWorkspaceMember: {
|
|
537
|
+
methodKind: "unary";
|
|
538
|
+
input: typeof import("./gen/openshell_pb.js").RemoveWorkspaceMemberRequestSchema;
|
|
539
|
+
output: typeof import("./gen/openshell_pb.js").RemoveWorkspaceMemberResponseSchema;
|
|
540
|
+
};
|
|
541
|
+
listWorkspaceMembers: {
|
|
542
|
+
methodKind: "unary";
|
|
543
|
+
input: typeof import("./gen/openshell_pb.js").ListWorkspaceMembersRequestSchema;
|
|
544
|
+
output: typeof import("./gen/openshell_pb.js").ListWorkspaceMembersResponseSchema;
|
|
545
|
+
};
|
|
546
|
+
}>>);
|
|
547
|
+
/**
|
|
548
|
+
* Constructs a lazy Connect client. No network request is made until the
|
|
549
|
+
* first RPC; call get() or another operation to verify reachability.
|
|
550
|
+
*/
|
|
551
|
+
static connect(options: ConnectOptions): Promise<SandboxClient>;
|
|
552
|
+
create(spec: SandboxSpec): Promise<SandboxRef>;
|
|
553
|
+
get(name: string, callOptions?: CallOptions): Promise<SandboxRef>;
|
|
554
|
+
list(options?: ListOptions | null): Promise<SandboxRef[]>;
|
|
555
|
+
delete(name: string): Promise<boolean>;
|
|
556
|
+
waitReady(name: string, timeoutSecs: number, options?: WaitOptions | null): Promise<SandboxRef>;
|
|
557
|
+
waitDeleted(name: string, timeoutSecs: number, options?: WaitOptions | null): Promise<void>;
|
|
558
|
+
execStream(name: string, command: string[], options?: ExecOptions | null): AsyncGenerator<ExecStreamEvent, void, void>;
|
|
559
|
+
exec(name: string, command: string[], options?: ExecOptions | null): Promise<ExecResult>;
|
|
560
|
+
execInteractive(name: string, command: string[], options?: ExecInteractiveOptions | null): Promise<ExecInteractiveSession>;
|
|
561
|
+
forward(name: string, opts: ForwardOptions): Promise<ForwardHandle>;
|
|
562
|
+
private forwardConnection;
|
|
563
|
+
createSshSession(name: string): Promise<SshSession>;
|
|
564
|
+
revokeSshSession(token: string): Promise<boolean>;
|
|
565
|
+
attachProvider(name: string, provider: string, options?: ProviderChangeOptions | null): Promise<ProviderChange>;
|
|
566
|
+
detachProvider(name: string, provider: string, options?: ProviderChangeOptions | null): Promise<ProviderChange>;
|
|
567
|
+
listProviders(name: string): Promise<ProviderRef[]>;
|
|
568
|
+
getConfig(name: string, callOptions?: CallOptions): Promise<SandboxConfig>;
|
|
569
|
+
setPolicy(name: string, policy: MessageInitShape<typeof SandboxPolicySchema>, options?: SetPolicyOptions | null): Promise<UpdateConfigResult>;
|
|
570
|
+
setSetting(name: string, key: string, value: MessageInitShape<typeof SettingValueSchema>): Promise<UpdateConfigResult>;
|
|
571
|
+
private waitForPolicyHash;
|
|
572
|
+
}
|
|
573
|
+
export declare class OpenShellClient {
|
|
574
|
+
/** Sandbox lifecycle + exec: create/get/list/delete, waitReady/waitDeleted, exec. */
|
|
575
|
+
readonly sandbox: SandboxClient;
|
|
576
|
+
/**
|
|
577
|
+
* Advanced escape hatch: a generated client for every gateway RPC, including
|
|
578
|
+
* surface the curated sub-clients do not wrap yet (gateway config, provider
|
|
579
|
+
* CRUD, policy status, watch, logs, and the full observed Sandbox). See
|
|
580
|
+
* '@nvidia/openshell-sdk/raw' for the generated request/response types.
|
|
581
|
+
*/
|
|
582
|
+
readonly raw: Client<typeof OpenShell>;
|
|
583
|
+
/** The shared Connect transport, for building extra clients over the same connection. */
|
|
584
|
+
readonly transport: Transport;
|
|
585
|
+
private readonly grpc;
|
|
586
|
+
private constructor();
|
|
587
|
+
/**
|
|
588
|
+
* Constructs a lazy Connect client. No network request is made until the
|
|
589
|
+
* first RPC; call health() when startup must verify gateway reachability.
|
|
590
|
+
*/
|
|
591
|
+
static connect(options: ConnectOptions): Promise<OpenShellClient>;
|
|
592
|
+
health(): Promise<Health>;
|
|
593
|
+
}
|
|
594
|
+
//# sourceMappingURL=client.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../src/client.ts"],"names":[],"mappings":"AAeA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAC3D,OAAO,EAAE,KAAK,WAAW,EAAE,KAAK,MAAM,EAAgB,KAAK,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAClG,OAAO,EAAE,SAAS,EAAe,QAAQ,EAAE,MAAM,aAAa,CAAC;AAG/D,OAAO,EACL,KAAK,sBAAsB,EAC3B,SAAS,EACT,YAAY,EACZ,KAAK,iBAAiB,EACtB,aAAa,EACb,KAAK,qBAAqB,EAC3B,MAAM,uBAAuB,CAAC;AAC/B,OAAO,KAAK,EAA8C,aAAa,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACnH,OAAO,EAAE,YAAY,EAAE,KAAK,mBAAmB,EAAE,YAAY,EAAE,KAAK,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAEpH,OAAO,EAAkB,KAAK,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAKrE,YAAY,EAAE,aAAa,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACvE,YAAY,EAAE,cAAc,EAAE,CAAC;AAC/B,OAAO,EAAE,SAAS,EAAE,CAAC;AAarB,8EAA8E;AAC9E,MAAM,MAAM,gBAAgB,GACxB,aAAa,GACb,cAAc,GACd,OAAO,GACP,OAAO,GACP,UAAU,GACV,SAAS,GACT,UAAU,GACV,SAAS,GACT,UAAU,CAAC;AAEf,+EAA+E;AAC/E,MAAM,MAAM,YAA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