agent-neckbeard 1.1.18 → 1.1.20

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.
@@ -0,0 +1,470 @@
1
+ import { e as SupervisorSandboxCapabilities, d as SandboxDetachedCommand } from './sandbox-capabilities-CFjnZ_kB.cjs';
2
+ export { f as SupervisorSandboxDetachedCommandOptions } from './sandbox-capabilities-CFjnZ_kB.cjs';
3
+
4
+ declare const DEFAULT_PI_SDK_MODULE: '@earendil-works/pi-coding-agent';
5
+ declare const DEFAULT_PI_SDK_VERSION: '0.83.0';
6
+
7
+ /** Dependency-light wire representation of an arbitrary JavaScript failure. */
8
+ interface SerializedError {
9
+ name?: string;
10
+ message: string;
11
+ stack?: string;
12
+ }
13
+
14
+ declare const SUPERVISOR_PROTOCOL_VERSION: 1;
15
+ declare const SUPERVISOR_RUNTIME_VERSION: 2;
16
+ declare const DAYTONA_SUPERVISOR_PROVIDER_VERSION: 1;
17
+ declare const SUPERVISOR_RECOVERY_STOP_REASON: "supervisor_restarted_during_prompt";
18
+ interface SupervisorAttemptIdentity {
19
+ sessionId: string;
20
+ runId: string;
21
+ attemptId: string;
22
+ }
23
+ interface SupervisorAttachment {
24
+ id: string;
25
+ /** Attempt-scoped HTTPS URL. The supervisor must never persist or log it. */
26
+ url: string;
27
+ /** Safe filename materialized below the attempt-owned attachment directory. */
28
+ path: string;
29
+ mimeType?: string;
30
+ sha256: string;
31
+ sizeBytes: number;
32
+ }
33
+ type SupervisorCommandPayload = {
34
+ kind: 'prompt';
35
+ message: string;
36
+ attachments?: SupervisorAttachment[];
37
+ } | {
38
+ kind: 'steer';
39
+ message: string;
40
+ attachments?: SupervisorAttachment[];
41
+ } | {
42
+ kind: 'stop';
43
+ reason?: string;
44
+ };
45
+ interface SupervisorCommandFrame extends SupervisorAttemptIdentity {
46
+ type: 'command';
47
+ protocolVersion: typeof SUPERVISOR_PROTOCOL_VERSION;
48
+ commandId: string;
49
+ commandSequence: number;
50
+ payload: SupervisorCommandPayload;
51
+ }
52
+ interface SupervisorResumeOkFrame extends SupervisorAttemptIdentity {
53
+ type: 'resume_ok';
54
+ protocolVersion: typeof SUPERVISOR_PROTOCOL_VERSION;
55
+ acknowledgedEventSequence: number;
56
+ lastAppliedCommandSequence: number;
57
+ pendingCommands: SupervisorCommandFrame[];
58
+ }
59
+ interface SupervisorEventAckFrame extends SupervisorAttemptIdentity {
60
+ type: 'event_ack';
61
+ protocolVersion: typeof SUPERVISOR_PROTOCOL_VERSION;
62
+ acknowledgedEventSequence: number;
63
+ }
64
+ interface SupervisorAttemptSupersededFrame extends SupervisorAttemptIdentity {
65
+ type: 'attempt_superseded';
66
+ protocolVersion: typeof SUPERVISOR_PROTOCOL_VERSION;
67
+ reason?: string;
68
+ }
69
+ interface SupervisorPongFrame extends SupervisorAttemptIdentity {
70
+ type: 'pong';
71
+ protocolVersion: typeof SUPERVISOR_PROTOCOL_VERSION;
72
+ sentAt: string;
73
+ }
74
+ type GatewayToSupervisorFrame = SupervisorResumeOkFrame | SupervisorEventAckFrame | SupervisorCommandFrame | SupervisorAttemptSupersededFrame | SupervisorPongFrame;
75
+ interface SupervisorResumeFrame extends SupervisorAttemptIdentity {
76
+ type: 'resume';
77
+ protocolVersion: typeof SUPERVISOR_PROTOCOL_VERSION;
78
+ runtimeVersion: typeof SUPERVISOR_RUNTIME_VERSION;
79
+ provider: 'daytona';
80
+ providerVersion: typeof DAYTONA_SUPERVISOR_PROVIDER_VERSION;
81
+ credential: string;
82
+ lastAcknowledgedEventSequence: number;
83
+ lastAppliedCommandSequence: number;
84
+ }
85
+ type SupervisorEventDurability = 'durable' | 'coalesced';
86
+ interface SupervisorEventFrame extends SupervisorAttemptIdentity {
87
+ type: 'event';
88
+ protocolVersion: typeof SUPERVISOR_PROTOCOL_VERSION;
89
+ runtimeVersion: typeof SUPERVISOR_RUNTIME_VERSION;
90
+ eventId: string;
91
+ attemptSequence: number;
92
+ occurredAt: string;
93
+ durability: SupervisorEventDurability;
94
+ event: SupervisorEvent;
95
+ }
96
+ /** Adapter-neutral usage shared by harness and gateway turn lifecycle events. */
97
+ interface TurnUsage {
98
+ inputTokens: number;
99
+ outputTokens: number;
100
+ cacheReadTokens: number;
101
+ cacheWriteTokens: number;
102
+ totalTokens: number;
103
+ costUsd?: number;
104
+ }
105
+ /** Adapter-neutral turn lifecycle emitted by a structured harness. */
106
+ type TurnLifecycleEvent<TUsage extends TurnUsage = TurnUsage> = {
107
+ kind: 'turn_started';
108
+ commandId?: string;
109
+ } | {
110
+ kind: 'turn_completed';
111
+ commandId?: string;
112
+ stopReason?: string;
113
+ usage?: TUsage;
114
+ } | {
115
+ kind: 'turn_failed';
116
+ commandId?: string;
117
+ stopReason?: string;
118
+ error: SerializedSupervisorError;
119
+ usage?: TUsage;
120
+ } | {
121
+ kind: 'turn_stopped';
122
+ commandId?: string;
123
+ reason?: string;
124
+ usage?: TUsage;
125
+ };
126
+ type WithHarnessAdapter<TEvent> = TEvent extends unknown ? TEvent & {
127
+ adapter: string;
128
+ } : never;
129
+ type SupervisorTurnLifecycleEvent = WithHarnessAdapter<TurnLifecycleEvent<SupervisorTurnUsage>>;
130
+ type SupervisorEvent = {
131
+ kind: 'supervisor_started';
132
+ recovered: boolean;
133
+ } | {
134
+ kind: 'harness_started';
135
+ adapter: string;
136
+ pid?: number;
137
+ } | {
138
+ kind: 'harness_event';
139
+ adapter: string;
140
+ payload: unknown;
141
+ } | {
142
+ kind: 'harness_stderr';
143
+ adapter: string;
144
+ data: string;
145
+ } | {
146
+ kind: 'harness_exited';
147
+ adapter: string;
148
+ exitCode: number | null;
149
+ signal: string | null;
150
+ } | SupervisorTurnLifecycleEvent | {
151
+ kind: 'command_received' | 'command_applied';
152
+ commandId: string;
153
+ commandSequence: number;
154
+ commandKind: SupervisorCommandPayload['kind'];
155
+ } | {
156
+ kind: 'command_failed';
157
+ commandId: string;
158
+ commandSequence: number;
159
+ commandKind: SupervisorCommandPayload['kind'];
160
+ error: SerializedSupervisorError;
161
+ } | {
162
+ kind: 'interrupted';
163
+ reason: string;
164
+ } | {
165
+ kind: 'supervisor_stopping';
166
+ reason: string;
167
+ } | {
168
+ kind: 'protocol_error';
169
+ message: string;
170
+ };
171
+ interface SupervisorHeartbeatFrame extends SupervisorAttemptIdentity {
172
+ type: 'heartbeat';
173
+ protocolVersion: typeof SUPERVISOR_PROTOCOL_VERSION;
174
+ runtimeVersion: typeof SUPERVISOR_RUNTIME_VERSION;
175
+ sentAt: string;
176
+ harnessState: HarnessProcessState;
177
+ outboxDepth: number;
178
+ lastAcknowledgedEventSequence: number;
179
+ lastAppliedCommandSequence: number;
180
+ }
181
+ type HarnessProcessState = 'idle' | 'starting' | 'running' | 'stopping' | 'exited';
182
+ interface SerializedSupervisorError extends SerializedError {
183
+ }
184
+ interface SupervisorTurnUsage extends TurnUsage {
185
+ }
186
+ type SupervisorToGatewayFrame = SupervisorResumeFrame | SupervisorEventFrame | SupervisorHeartbeatFrame;
187
+ declare function parseGatewayToSupervisorFrame(value: unknown): GatewayToSupervisorFrame | null;
188
+ declare function hasMatchingAttempt(identity: SupervisorAttemptIdentity, frame: SupervisorAttemptIdentity): boolean;
189
+ declare function createSupervisorEventId(attemptId: string, attemptSequence: number): string;
190
+ declare function serializeSupervisorError(error: unknown): SerializedSupervisorError;
191
+
192
+ interface SupervisorReconnectConfig {
193
+ initialDelayMs: number;
194
+ maximumDelayMs: number;
195
+ multiplier: number;
196
+ jitterRatio: number;
197
+ }
198
+ declare const PI_THINKING_LEVELS: readonly ["off", "minimal", "low", "medium", "high", "xhigh"];
199
+ type PiThinkingLevel = (typeof PI_THINKING_LEVELS)[number];
200
+ interface PiSdkHarnessConfig {
201
+ adapter: "pi-sdk";
202
+ adapterVersion: 1;
203
+ moduleSpecifier: string;
204
+ expectedVersion: string;
205
+ sessionPath: string;
206
+ agentDir?: string;
207
+ provider?: string;
208
+ model?: string;
209
+ providerCredentialEnv?: string;
210
+ thinking?: PiThinkingLevel;
211
+ stopGraceMs: number;
212
+ }
213
+ interface SupervisorAttachmentConfig {
214
+ maxBytesPerAttachment: number;
215
+ maxBytesPerCommand: number;
216
+ /** Durable attempt-wide cap; omitted legacy configs default to 100. */
217
+ maxFilesPerAttempt?: number;
218
+ /** Durable attempt-wide cap; omitted legacy configs inherit maxBytesPerCommand. */
219
+ maxBytesPerAttempt?: number;
220
+ downloadTimeoutMs: number;
221
+ }
222
+ declare const DEFAULT_SUPERVISOR_ATTACHMENT_CONFIG: Required<SupervisorAttachmentConfig>;
223
+ interface SupervisorRuntimeConfig extends SupervisorAttemptIdentity {
224
+ protocolVersion: typeof SUPERVISOR_PROTOCOL_VERSION;
225
+ runtimeVersion: typeof SUPERVISOR_RUNTIME_VERSION;
226
+ provider: "daytona";
227
+ providerVersion: typeof DAYTONA_SUPERVISOR_PROVIDER_VERSION;
228
+ gatewayUrl: string;
229
+ credentialEnv: string;
230
+ workspaceDir: string;
231
+ /** Pre-existing durable directory above or equal to stateDir. */
232
+ stateDurabilityAnchor: string;
233
+ stateDir: string;
234
+ heartbeatIntervalMs: number;
235
+ handshakeTimeoutMs: number;
236
+ reconnect: SupervisorReconnectConfig;
237
+ maxInFlightEvents: number;
238
+ allowInsecureGateway: boolean;
239
+ attachments: SupervisorAttachmentConfig;
240
+ harness: PiSdkHarnessConfig;
241
+ }
242
+ declare function parseSupervisorRuntimeConfig(value: unknown): SupervisorRuntimeConfig;
243
+
244
+ /**
245
+ * Attempt credentials are opaque 256-bit tokens, not passwords. Mission
246
+ * Control mints 32 random bytes and transports their canonical, unpadded
247
+ * base64url encoding. Keeping that exact contract is important because the
248
+ * credential also keys the non-secret environment revision: accepting an
249
+ * arbitrary human-chosen string would turn the persisted revision into an
250
+ * offline credential verifier.
251
+ */
252
+ declare const SUPERVISOR_CREDENTIAL_BYTE_LENGTH = 32;
253
+ declare const SUPERVISOR_CREDENTIAL_ENCODED_LENGTH = 43;
254
+ /** @deprecated Use SUPERVISOR_CREDENTIAL_ENCODED_LENGTH. */
255
+ declare const MIN_SUPERVISOR_CREDENTIAL_LENGTH = 43;
256
+
257
+ declare const SUPERVISOR_RUNTIME_FILENAME = "neckbeard-supervisor.mjs";
258
+ declare const SUPERVISOR_CONFIG_FILENAME = "neckbeard-supervisor.json";
259
+ declare const SUPERVISOR_PACKAGE_FILENAME = "package.json";
260
+ declare const SUPERVISOR_PACKAGE_LOCK_FILENAME = "package-lock.json";
261
+ declare const SUPERVISOR_SHRINKWRAP_FILENAME = "npm-shrinkwrap.json";
262
+ declare const DEFAULT_SUPERVISOR_CREDENTIAL_ENV = "NECKBEARD_SUPERVISOR_CREDENTIAL";
263
+
264
+ declare const SUPERVISOR_LAUNCH_CANCELLED_CODE = "NECKBEARD_SUPERVISOR_LAUNCH_CANCELLED";
265
+ declare const SUPERVISOR_RELEASED_GENERATION_UNAVAILABLE_CODE = "NECKBEARD_SUPERVISOR_RELEASED_GENERATION_UNAVAILABLE";
266
+ /**
267
+ * Exact outcome returned when the provider confirms that a prepared supervisor
268
+ * generation was cancelled before release. The code is safe to discriminate
269
+ * when callers preserve enumerable fields, such as through JSON serialization.
270
+ */
271
+ declare class SupervisorLaunchCancelledError extends Error {
272
+ readonly name = "SupervisorLaunchCancelledError";
273
+ readonly code = "NECKBEARD_SUPERVISOR_LAUNCH_CANCELLED";
274
+ constructor();
275
+ }
276
+ /**
277
+ * Exact outcome for a released generation that cannot be safely adopted or
278
+ * proven quiescent. Its enumerable name and code survive JSON serialization.
279
+ */
280
+ declare class SupervisorReleasedGenerationUnavailableError extends Error {
281
+ readonly name = "SupervisorReleasedGenerationUnavailableError";
282
+ readonly code = "NECKBEARD_SUPERVISOR_RELEASED_GENERATION_UNAVAILABLE";
283
+ constructor();
284
+ }
285
+ type ArtifactPiHarnessConfig = Omit<PiSdkHarnessConfig, "adapter" | "adapterVersion">;
286
+ declare const DURABLE_SESSION_PI_HARNESS_OPTION_KEYS: readonly ["moduleSpecifier", "expectedVersion", "sessionPath", "agentDir", "provider", "model", "providerCredentialEnv", "thinking", "stopGraceMs"];
287
+ type DurableSessionPiHarnessOptionKey = (typeof DURABLE_SESSION_PI_HARNESS_OPTION_KEYS)[number];
288
+ type DurableSessionPiHarnessOptions = Partial<Pick<ArtifactPiHarnessConfig, DurableSessionPiHarnessOptionKey>>;
289
+ type DurableSessionPiArtifactOptions = DurableSessionPiHarnessOptions & {
290
+ /**
291
+ * npm lockfileVersion 3 content matching custom module/version coordinates.
292
+ * The supported default Pi coordinate uses Neckbeard's generated lock.
293
+ */
294
+ packageLock?: string;
295
+ };
296
+ interface CreateDurableSessionArtifactOptions extends SupervisorAttemptIdentity {
297
+ gatewayUrl: string;
298
+ workspaceDir: string;
299
+ /** Pre-existing durable directory above or equal to stateDir. */
300
+ stateDurabilityAnchor: string;
301
+ stateDir: string;
302
+ installDir: string;
303
+ credentialEnv?: string;
304
+ allowInsecureGateway?: boolean;
305
+ heartbeatIntervalMs?: number;
306
+ handshakeTimeoutMs?: number;
307
+ maxInFlightEvents?: number;
308
+ reconnect?: Partial<SupervisorRuntimeConfig["reconnect"]>;
309
+ attachments?: Partial<SupervisorRuntimeConfig["attachments"]>;
310
+ pi?: DurableSessionPiArtifactOptions;
311
+ }
312
+ interface SupervisorArtifactFile {
313
+ path: string;
314
+ content: string;
315
+ }
316
+ interface SupervisorRuntimeModuleRequirement {
317
+ specifier: string;
318
+ version: string;
319
+ }
320
+ interface DurableSessionArtifact {
321
+ /** Distributed session ownership policy represented by this launch artifact. */
322
+ durability: "durable";
323
+ protocolVersion: typeof SUPERVISOR_PROTOCOL_VERSION;
324
+ runtimeVersion: typeof SUPERVISOR_RUNTIME_VERSION;
325
+ provider: "daytona";
326
+ providerVersion: typeof DAYTONA_SUPERVISOR_PROVIDER_VERSION;
327
+ installDir: string;
328
+ config: SupervisorRuntimeConfig;
329
+ files: SupervisorArtifactFile[];
330
+ start: {
331
+ command: string;
332
+ args: string[];
333
+ cwd: string;
334
+ };
335
+ bootstrap: {
336
+ command: string;
337
+ args: string[];
338
+ cwd: string;
339
+ timeoutMs: number;
340
+ };
341
+ requiredEnvironmentVariables: string[];
342
+ /** Modules the sandbox bootstrap must install before starting the artifact. */
343
+ requiredRuntimeModules: SupervisorRuntimeModuleRequirement[];
344
+ }
345
+ interface SupervisorSandboxTarget extends SupervisorSandboxCapabilities {
346
+ readonly provider: "daytona";
347
+ }
348
+ declare function createDurableSessionArtifact(options: CreateDurableSessionArtifactOptions): DurableSessionArtifact;
349
+ declare function deployDurableSessionArtifact(sandbox: SupervisorSandboxTarget, artifact: DurableSessionArtifact, options: {
350
+ envs: Record<string, string | undefined>;
351
+ beforeRelease?: (command: SandboxDetachedCommand) => void | Promise<void>;
352
+ }): Promise<SandboxDetachedCommand>;
353
+ /** Validates every launch secret before any sandbox I/O occurs. */
354
+ declare function validateDurableSessionDeploymentEnvironment(artifact: DurableSessionArtifact, source: Record<string, string | undefined>): Record<string, string>;
355
+ /** @deprecated Use `CreateDurableSessionArtifactOptions`. */
356
+ type CreatePiSupervisorArtifactOptions = CreateDurableSessionArtifactOptions;
357
+ /** @deprecated Use `DurableSessionArtifact`. */
358
+ type PiSupervisorArtifact = DurableSessionArtifact;
359
+ /** @deprecated Use `createDurableSessionArtifact()`. */
360
+ declare const createPiSupervisorArtifact: typeof createDurableSessionArtifact;
361
+ /** @deprecated Use `deployDurableSessionArtifact()`. */
362
+ declare const deploySupervisorArtifact: typeof deployDurableSessionArtifact;
363
+
364
+ interface DaytonaCommandResult {
365
+ exitCode: number;
366
+ result?: string;
367
+ artifacts?: {
368
+ stdout?: string;
369
+ };
370
+ }
371
+ interface DaytonaCommandTransport {
372
+ readonly process: {
373
+ executeCommand(command: string, cwd?: string, env?: Record<string, string>, timeoutSeconds?: number): Promise<DaytonaCommandResult>;
374
+ };
375
+ }
376
+ interface DaytonaPathTransport {
377
+ getUserHomeDir(): Promise<string | undefined>;
378
+ getWorkDir(): Promise<string | undefined>;
379
+ }
380
+ interface DaytonaUploadTransport {
381
+ readonly fs: {
382
+ uploadFile(file: Uint8Array, remotePath: string, timeoutSeconds?: number): Promise<void>;
383
+ };
384
+ }
385
+
386
+ /**
387
+ * Structural Daytona surface needed by the durable supervisor adapter. This
388
+ * deliberately accepts the compatible sandbox surfaces exposed by both
389
+ * published Daytona SDK package namespaces.
390
+ */
391
+ interface DaytonaSupervisorSandbox extends DaytonaCommandTransport, DaytonaPathTransport, DaytonaUploadTransport {
392
+ }
393
+ interface DaytonaSupervisorSandboxTargetOptions {
394
+ /** Revalidates ownership before path discovery, staging, bootstrap, and prepare I/O. */
395
+ beforeMutation?: () => void | Promise<void>;
396
+ }
397
+ /**
398
+ * Stops the exact managed Daytona supervisor process and resolves only after
399
+ * the detached controller confirms exit. This does not remove lifecycle state
400
+ * or captured diagnostics.
401
+ */
402
+ declare function stopDaytonaSupervisorSession(sandbox: DaytonaCommandTransport, command: SandboxDetachedCommand, targetOptions?: DaytonaSupervisorSandboxTargetOptions): Promise<void>;
403
+ /**
404
+ * Irreversibly removes lifecycle state and diagnostics for an exactly stopped
405
+ * managed Daytona supervisor process. Call `stopDaytonaSupervisorSession()`
406
+ * first; this operation is cleanup, not process-liveness proof.
407
+ */
408
+ declare function disposeDaytonaSupervisorSessionArtifacts(sandbox: DaytonaCommandTransport, command: SandboxDetachedCommand, targetOptions?: DaytonaSupervisorSandboxTargetOptions): Promise<void>;
409
+ /**
410
+ * Adapts an already-connected Daytona sandbox to the narrow deployment target
411
+ * used by `deployDurableSessionArtifact()`. The returned target owns no client
412
+ * connection and does not create, start, stop, or delete the sandbox.
413
+ */
414
+ declare function createDaytonaSupervisorSandboxTarget(sandbox: DaytonaSupervisorSandbox, targetOptions?: DaytonaSupervisorSandboxTargetOptions): Promise<SupervisorSandboxTarget>;
415
+
416
+ interface HarnessAttachment {
417
+ id: string;
418
+ path: string;
419
+ mimeType?: string;
420
+ }
421
+ interface HarnessTurnUsage extends TurnUsage {
422
+ }
423
+ type HarnessLifecycleEvent = TurnLifecycleEvent<HarnessTurnUsage>;
424
+ interface HarnessPrompt {
425
+ commandId: string;
426
+ message: string;
427
+ attachments?: HarnessAttachment[];
428
+ }
429
+ interface HarnessExit {
430
+ exitCode: number | null;
431
+ signal: string | null;
432
+ }
433
+ type HarnessEvent = {
434
+ type: 'started';
435
+ pid?: number;
436
+ } | {
437
+ type: 'event';
438
+ payload: unknown;
439
+ } | {
440
+ type: 'lifecycle';
441
+ event: HarnessLifecycleEvent;
442
+ } | {
443
+ type: 'stderr';
444
+ data: string;
445
+ } | {
446
+ type: 'exit';
447
+ result: HarnessExit;
448
+ };
449
+ /**
450
+ * Generic supervisor-facing harness contract. Implementations must use a
451
+ * structured API (for example the in-process Pi SDK), never terminal rendering.
452
+ */
453
+ interface HarnessAdapter {
454
+ readonly name: string;
455
+ readonly state: HarnessProcessState;
456
+ start(): Promise<void>;
457
+ prompt(input: HarnessPrompt): Promise<void>;
458
+ steer(input: HarnessPrompt): Promise<void>;
459
+ cancel(reason?: string, commandId?: string): Promise<void>;
460
+ /** Synchronously reserve the active turn's stopped terminal outcome. */
461
+ claimStop(): boolean;
462
+ /** Abort only after the caller has durably recorded the accepted stop. */
463
+ abortClaimedStop(reason?: string, commandId?: string): Promise<void>;
464
+ /** Release lifecycle events only after the command receipt is durable. */
465
+ confirmCommandApplied(commandId: string): void;
466
+ stop(reason?: string): Promise<void>;
467
+ subscribe(listener: (event: HarnessEvent) => void | Promise<void>): () => void;
468
+ }
469
+
470
+ export { type CreateDurableSessionArtifactOptions, type CreatePiSupervisorArtifactOptions, DAYTONA_SUPERVISOR_PROVIDER_VERSION, DEFAULT_PI_SDK_MODULE, DEFAULT_PI_SDK_VERSION, DEFAULT_SUPERVISOR_ATTACHMENT_CONFIG, DEFAULT_SUPERVISOR_CREDENTIAL_ENV, type DaytonaSupervisorSandbox, type DaytonaSupervisorSandboxTargetOptions, type DurableSessionArtifact, type GatewayToSupervisorFrame, type HarnessAdapter, type HarnessAttachment, type HarnessEvent, type HarnessExit, type HarnessLifecycleEvent, type HarnessProcessState, type HarnessPrompt, type HarnessTurnUsage, MIN_SUPERVISOR_CREDENTIAL_LENGTH, type PiSdkHarnessConfig, type PiSupervisorArtifact, type PiThinkingLevel, SUPERVISOR_CONFIG_FILENAME, SUPERVISOR_CREDENTIAL_BYTE_LENGTH, SUPERVISOR_CREDENTIAL_ENCODED_LENGTH, SUPERVISOR_LAUNCH_CANCELLED_CODE, SUPERVISOR_PACKAGE_FILENAME, SUPERVISOR_PACKAGE_LOCK_FILENAME, SUPERVISOR_PROTOCOL_VERSION, SUPERVISOR_RECOVERY_STOP_REASON, SUPERVISOR_RELEASED_GENERATION_UNAVAILABLE_CODE, SUPERVISOR_RUNTIME_FILENAME, SUPERVISOR_RUNTIME_VERSION, SUPERVISOR_SHRINKWRAP_FILENAME, type SerializedSupervisorError, type SupervisorArtifactFile, type SupervisorAttachment, type SupervisorAttachmentConfig, type SupervisorAttemptIdentity, type SupervisorAttemptSupersededFrame, type SupervisorCommandFrame, type SupervisorCommandPayload, type SupervisorEvent, type SupervisorEventAckFrame, type SupervisorEventDurability, type SupervisorEventFrame, type SupervisorHeartbeatFrame, SupervisorLaunchCancelledError, type SupervisorPongFrame, type SupervisorReconnectConfig, SupervisorReleasedGenerationUnavailableError, type SupervisorResumeFrame, type SupervisorResumeOkFrame, type SupervisorRuntimeConfig, type SupervisorRuntimeModuleRequirement, type SupervisorSandboxTarget, type SupervisorToGatewayFrame, type SupervisorTurnUsage, createDaytonaSupervisorSandboxTarget, createDurableSessionArtifact, createPiSupervisorArtifact, createSupervisorEventId, deployDurableSessionArtifact, deploySupervisorArtifact, disposeDaytonaSupervisorSessionArtifacts, hasMatchingAttempt, parseGatewayToSupervisorFrame, parseSupervisorRuntimeConfig, serializeSupervisorError, stopDaytonaSupervisorSession, validateDurableSessionDeploymentEnvironment };