@hachej/boring-agent 0.1.63 → 0.1.65

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.
@@ -1,9 +1,15 @@
1
- import { o as WorkspaceRuntimeContext, S as Sandbox, g as SandboxHandleStore, f as SandboxHandleRecord, W as Workspace, j as TelemetrySink, q as ToolReadinessRequirement, F as FileSearch, i as Stat, E as Entry, c as ExecResult, r as WorkspaceChangeEvent, b as ExecOptions, P as PluginRestartWarning, A as AgentTool, t as AgentHarnessFactory } from '../agentPluginEvents-Ddn5DQ5E.js';
2
- export { u as AgentHarnessFactoryInput } from '../agentPluginEvents-Ddn5DQ5E.js';
1
+ import { j as WorkspaceRuntimeContext, S as Sandbox, f as SandboxHandleStore, e as SandboxHandleRecord, W as Workspace, F as FileSearch, g as Stat, E as Entry, b as ExecResult, k as WorkspaceChangeEvent, a as ExecOptions, P as PluginRestartWarning } from '../agentPluginEvents-ChUzG2Lh.js';
3
2
  import { Sandbox as Sandbox$1 } from '@vercel/sandbox';
3
+ import { v as TelemetrySink, C as ToolReadinessRequirement, i as AgentEvent, b as Agent, c as AgentActor, A as AgentTool, D as AgentHarnessFactory } from '../harness-DN9KdrT7.js';
4
+ export { u as AgentConfig, E as AgentHarnessFactoryInput } from '../harness-DN9KdrT7.js';
4
5
  import { FastifyInstance, FastifyRequest, FastifyPluginAsync } from 'fastify';
6
+ export { createAgent } from '../core/index.js';
7
+ import { S as SessionCtx, f as ErrorCode } from '../piChatEvent-B6Lg9ft-.js';
8
+ import { IncomingMessage, ServerResponse } from 'node:http';
9
+ import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
5
10
  import { PackageSource, ExtensionFactory, SettingsManager } from '@mariozechner/pi-coding-agent';
6
- import { a as ChatModelSelection } from '../chatSubmitPayload-DHqQL2wD.js';
11
+ import { b as ChatModelSelection } from '../chatSubmitPayload-DwOHyiqR.js';
12
+ import 'zod';
7
13
 
8
14
  interface CreateDirectSandboxOptions {
9
15
  runtimeContext?: WorkspaceRuntimeContext;
@@ -490,6 +496,35 @@ interface RuntimeFilesystemBindingOperations {
490
496
  isDirectory: boolean;
491
497
  metadata?: unknown;
492
498
  }>;
499
+ write?(descriptor: {
500
+ filesystem: string;
501
+ path: string;
502
+ content: string;
503
+ expectedMtimeMs?: number;
504
+ }): Promise<{
505
+ mtimeMs?: number;
506
+ metadata?: unknown;
507
+ }>;
508
+ delete?(descriptor: {
509
+ filesystem: string;
510
+ path: string;
511
+ }): Promise<{
512
+ metadata?: unknown;
513
+ }>;
514
+ move?(descriptor: {
515
+ filesystem: string;
516
+ from: string;
517
+ to: string;
518
+ }): Promise<{
519
+ metadata?: unknown;
520
+ }>;
521
+ mkdir?(descriptor: {
522
+ filesystem: string;
523
+ path: string;
524
+ recursive?: boolean;
525
+ }): Promise<{
526
+ metadata?: unknown;
527
+ }>;
493
528
  rejectMutation(operation: string, descriptor: {
494
529
  filesystem: string;
495
530
  path: string;
@@ -497,7 +532,7 @@ interface RuntimeFilesystemBindingOperations {
497
532
  }
498
533
  interface RuntimeFilesystemBinding {
499
534
  readonly filesystem: string;
500
- readonly access: 'readonly';
535
+ readonly access: 'readonly' | 'readwrite';
501
536
  readonly operations: RuntimeFilesystemBindingOperations;
502
537
  }
503
538
  interface RuntimeBundle {
@@ -754,6 +789,127 @@ interface ResolveModeOptions {
754
789
  }
755
790
  declare function resolveMode(mode?: RuntimeModeId, opts?: ResolveModeOptions): RuntimeModeAdapter;
756
791
 
792
+ declare const MANAGED_AGENT_MCP_ORIGIN_SURFACE = "mcp-managed-agent";
793
+ declare const MANAGED_AGENT_MCP_DELIVERY_RULE = "M1-pr1 DELIVERY v0: delegate_task returns final assistant text and artifact file references only; share-link delivery is gated on PR #424.";
794
+ type ManagedAgentDelegationStatus = 'running' | 'completed' | 'error';
795
+ type ManagedAgentDelegateStatus = ManagedAgentDelegationStatus;
796
+ interface ManagedAgentArtifactRef {
797
+ path: string;
798
+ mediaType?: string;
799
+ title?: string;
800
+ content?: string;
801
+ truncated?: boolean;
802
+ }
803
+ interface ManagedAgentDelegateProgress {
804
+ at: string;
805
+ eventIndex: number;
806
+ kind: string;
807
+ message: string;
808
+ }
809
+ interface ManagedAgentDelegateResult {
810
+ delegationId: string;
811
+ status: 'completed';
812
+ finalAssistantText: string;
813
+ artifacts: ManagedAgentArtifactRef[];
814
+ deliveryRule: typeof MANAGED_AGENT_MCP_DELIVERY_RULE;
815
+ }
816
+ interface ManagedAgentDelegateStatusResult {
817
+ delegationId: string;
818
+ status: ManagedAgentDelegationStatus;
819
+ progress: ManagedAgentDelegateProgress[];
820
+ lastEventIndex?: number;
821
+ eventCount: number;
822
+ result?: ManagedAgentDelegateResult;
823
+ error?: ManagedAgentSafeError;
824
+ }
825
+ interface ManagedAgentSafeError {
826
+ code: ErrorCode;
827
+ message: string;
828
+ }
829
+ interface ManagedAgentDelegateRequestContext {
830
+ sessionId?: string;
831
+ authInfo?: unknown;
832
+ }
833
+ interface ManagedAgentDelegateInput {
834
+ brief: string;
835
+ request?: ManagedAgentDelegateRequestContext;
836
+ onDelegationCreated?: (status: ManagedAgentDelegateStatusResult) => void | Promise<void>;
837
+ onProgress?: (progress: ManagedAgentDelegateProgress) => void | Promise<void>;
838
+ signal?: AbortSignal;
839
+ }
840
+ interface ManagedAgentCollectArtifactsInput {
841
+ delegationId: string;
842
+ sessionId: string;
843
+ ctx: SessionCtx;
844
+ finalAssistantText: string;
845
+ events: readonly AgentEvent[];
846
+ }
847
+ interface ManagedAgentMcpDelegateOptions {
848
+ agent: Agent;
849
+ resolveSessionCtx(input: {
850
+ brief: string;
851
+ request: ManagedAgentDelegateRequestContext;
852
+ }): SessionCtx | Promise<SessionCtx>;
853
+ resolveActor?(input: {
854
+ brief: string;
855
+ ctx: SessionCtx;
856
+ request: ManagedAgentDelegateRequestContext;
857
+ }): AgentActor | Promise<AgentActor>;
858
+ collectArtifacts?(input: ManagedAgentCollectArtifactsInput): ManagedAgentArtifactRef[] | Promise<ManagedAgentArtifactRef[]>;
859
+ createDelegationId?: () => string;
860
+ now?: () => Date;
861
+ maxBriefChars?: number;
862
+ maxInlineArtifactContentChars?: number;
863
+ terminalRetentionMs?: number;
864
+ maxDelegations?: number;
865
+ redactionCanaries?: readonly string[];
866
+ }
867
+ declare class ManagedAgentMcpError extends Error {
868
+ readonly code: ErrorCode;
869
+ constructor(code: ErrorCode, message: string);
870
+ }
871
+ declare class ManagedAgentMcpDelegateController {
872
+ private readonly options;
873
+ private readonly delegations;
874
+ private readonly createDelegationId;
875
+ private readonly now;
876
+ private readonly maxBriefChars;
877
+ private readonly maxInlineArtifactContentChars;
878
+ private readonly terminalRetentionMs;
879
+ private readonly maxDelegations;
880
+ private readonly redactionCanaries;
881
+ constructor(options: ManagedAgentMcpDelegateOptions);
882
+ delegateTask(input: ManagedAgentDelegateInput): Promise<ManagedAgentDelegateResult>;
883
+ getStatusForRequest(delegationId: string, request: ManagedAgentDelegateRequestContext): Promise<ManagedAgentDelegateStatusResult>;
884
+ getStatus(delegationId: string, ctx: SessionCtx): ManagedAgentDelegateStatusResult;
885
+ private createRecord;
886
+ private markTerminal;
887
+ private pruneDelegations;
888
+ private parseBrief;
889
+ private resolveSessionCtx;
890
+ private assertNotAborted;
891
+ private stopDelegatedSession;
892
+ private resolveActor;
893
+ private observeEvent;
894
+ private pushProgress;
895
+ private collectArtifacts;
896
+ private toSafeError;
897
+ private assertPublicPayloadSafe;
898
+ private containsSecret;
899
+ private timestamp;
900
+ }
901
+ declare function createManagedAgentMcpDelegateController(options: ManagedAgentMcpDelegateOptions): ManagedAgentMcpDelegateController;
902
+
903
+ interface ManagedAgentMcpServerOptions extends ManagedAgentMcpDelegateOptions {
904
+ name?: string;
905
+ version?: string;
906
+ }
907
+ interface ManagedAgentMcpHttpHandlerOptions extends ManagedAgentMcpServerOptions {
908
+ controller?: ManagedAgentMcpDelegateController;
909
+ }
910
+ declare function createManagedAgentMcpServer(options: ManagedAgentMcpServerOptions, controller?: ManagedAgentMcpDelegateController): McpServer;
911
+ declare function createManagedAgentMcpHttpHandler(options: ManagedAgentMcpHttpHandlerOptions): (req: IncomingMessage, res: ServerResponse, parsedBody?: unknown) => Promise<void>;
912
+
757
913
  interface ReloadHookDiagnostic {
758
914
  source: string;
759
915
  message: string;
@@ -814,6 +970,8 @@ interface PiHarnessOptions {
814
970
  * arrays that the harness already captured.
815
971
  */
816
972
  getHotReloadableResources?: () => HotReloadablePiResources;
973
+ /** Reject an explicit unavailable/unknown model instead of silently falling back. */
974
+ strictModelResolution?: boolean;
817
975
  }
818
976
  interface HotReloadablePiResources {
819
977
  additionalSkillPaths?: string[];
@@ -847,6 +1005,8 @@ declare function createResourceSettingsManager(cwd: string, agentDir: string, pi
847
1005
  * because process restarts and client retries can replay transitions.
848
1006
  */
849
1007
  interface AgentMeteringSink {
1008
+ /** False means the sink is installed but policy is disabled/no-op. Omitted means active for fail-closed callers. */
1009
+ isEnabled?: () => boolean;
850
1010
  reserveRun(input: MeteringReserveInput): Promise<MeteringReservationResult>;
851
1011
  /** Records the usage and returns the credit micros it was actually billed. The
852
1012
  * coordinator counts a usage as billable from this charged amount (not raw provider
@@ -861,8 +1021,10 @@ interface MeteringUsageResult {
861
1021
  billedMicros: number;
862
1022
  }
863
1023
  interface MeteringRunScope {
864
- workspaceId: string;
1024
+ workspaceId?: string;
865
1025
  userId?: string;
1026
+ userEmail?: string;
1027
+ userEmailVerified?: boolean;
866
1028
  sessionId: string;
867
1029
  /** Stable id for one accepted prompt/follow-up run. */
868
1030
  runId: string;
@@ -902,6 +1064,7 @@ interface MeteringUsageInput extends MeteringRunScope {
902
1064
  };
903
1065
  usage: MeteringUsage;
904
1066
  stopReason?: string;
1067
+ metadata?: Record<string, unknown>;
905
1068
  }
906
1069
  type MeteringRunStatus = 'ok' | 'error' | 'aborted';
907
1070
  interface MeteringSettleInput extends MeteringRunScope {
@@ -953,6 +1116,17 @@ interface CreateAgentAppOptions {
953
1116
  telemetry?: TelemetrySink;
954
1117
  /** Optional billing sink for native Pi usage (see AgentMeteringSink). */
955
1118
  metering?: AgentMeteringSink;
1119
+ /** Generic filesystem binding seam for standalone embeddings. */
1120
+ getFilesystemBindings?: (ctx: {
1121
+ request?: FastifyRequest;
1122
+ sessionId?: string;
1123
+ workspaceId: string;
1124
+ workspaceRoot: string;
1125
+ userId?: string;
1126
+ userEmail?: string;
1127
+ userEmailVerified?: boolean;
1128
+ requestId?: string;
1129
+ }) => RuntimeFilesystemBinding[] | undefined | Promise<RuntimeFilesystemBinding[] | undefined>;
956
1130
  /** Generic runtime env contributors. Agent stays workspace-neutral; hosts decide env names/values. */
957
1131
  runtimeEnvContributions?: RuntimeEnvContribution[];
958
1132
  /** Runtime-aware provisioning hook. Runs after Workspace/Sandbox creation and before tools/harness. */
@@ -1005,6 +1179,50 @@ declare function applyCspHeaders(response: HeaderLike, opts?: {
1005
1179
  dev?: boolean;
1006
1180
  }): void;
1007
1181
 
1182
+ interface AgentModelSelection {
1183
+ provider: string;
1184
+ id: string;
1185
+ }
1186
+
1187
+ /**
1188
+ * GET /api/v1/agent/models
1189
+ *
1190
+ * Returns the list of models pi-coding-agent has auth for (i.e. where
1191
+ * the corresponding provider API key is present in the environment or
1192
+ * `~/.pi/agent/auth.json`). Consumers — including the shadcn example
1193
+ * ChatPanel — fetch this endpoint to populate the model-selector dropdown
1194
+ * instead of hardcoding a short alias list.
1195
+ *
1196
+ * Shape:
1197
+ * {
1198
+ * models: [
1199
+ * { provider: "anthropic", id: "claude-sonnet-4-6", label: "Claude Sonnet 4.6", available: true },
1200
+ * ...
1201
+ * ]
1202
+ * }
1203
+ *
1204
+ * Safe to call unauthenticated — we only report {provider, id, label,
1205
+ * available}, never any key material.
1206
+ */
1207
+
1208
+ interface ModelSummary {
1209
+ provider: string;
1210
+ id: string;
1211
+ label: string;
1212
+ available: boolean;
1213
+ }
1214
+ interface ModelFilterContext {
1215
+ request: FastifyRequest;
1216
+ workspaceId?: string;
1217
+ }
1218
+ type ModelFilterResult = {
1219
+ models: readonly ModelSummary[];
1220
+ defaultModel?: AgentModelSelection;
1221
+ };
1222
+ interface ModelsRoutesOptions {
1223
+ filterModels?: (ctx: ModelFilterContext, models: readonly ModelSummary[], defaultModel: AgentModelSelection | undefined) => ModelFilterResult | Promise<ModelFilterResult>;
1224
+ }
1225
+
1008
1226
  interface RegisterAgentRoutesOptions {
1009
1227
  workspaceRoot?: string;
1010
1228
  sessionId?: string;
@@ -1024,6 +1242,7 @@ interface RegisterAgentRoutesOptions {
1024
1242
  workspaceRoot: string;
1025
1243
  runtimeMode: RuntimeModeId;
1026
1244
  workspaceFsCapability?: Workspace['fsCapability'];
1245
+ authSubject?: string;
1027
1246
  }) => AgentTool[] | Promise<AgentTool[]>;
1028
1247
  systemPromptAppend?: string;
1029
1248
  /** Optional dynamic system-prompt source forwarded to the harness. */
@@ -1046,6 +1265,19 @@ interface RegisterAgentRoutesOptions {
1046
1265
  sessionRoot?: string;
1047
1266
  /** Optional best-effort telemetry sink supplied by an embedding host. */
1048
1267
  telemetry?: TelemetrySink;
1268
+ /** Generic request-aware model filtering seam. Hosts may filter per user/workspace. */
1269
+ filterModels?: ModelsRoutesOptions['filterModels'];
1270
+ /** Generic per-request/per-run filesystem binding seam. Hosts may return user/session-filtered bindings. */
1271
+ getFilesystemBindings?: (ctx: {
1272
+ request?: FastifyRequest;
1273
+ workspaceId: string;
1274
+ workspaceRoot: string;
1275
+ sessionId?: string;
1276
+ userId?: string;
1277
+ userEmail?: string;
1278
+ userEmailVerified?: boolean;
1279
+ requestId?: string;
1280
+ }) => RuntimeFilesystemBinding[] | undefined | Promise<RuntimeFilesystemBinding[] | undefined>;
1049
1281
  /**
1050
1282
  * Optional billing sink for native Pi usage. Reserve happens before
1051
1283
  * accepted prompt/follow-up execution (fail closed), usage is recorded from
@@ -1124,4 +1356,4 @@ interface Logger {
1124
1356
  }
1125
1357
  declare function createLogger(prefix: string): Logger;
1126
1358
 
1127
- export { AgentHarnessFactory, type AgentMeteringSink, type BoringAgentRuntimePaths, type BuiltinRuntimeModeId, type BwrapResourceLimits, type CreateAgentAppOptions, type CreateBwrapSandboxOptions, type CreateVercelProvisioningAdapterOptions, type DeploymentSnapshotProvider, type DeploymentSnapshotRecipe, type DeploymentSnapshotResult, type DeploymentSnapshotStatus, FileHandleStore, type LogFields, type Logger, type MeteringErrorLogger, type MeteringReleaseInput, type MeteringReleaseReason, type MeteringReservationResult, type MeteringReserveInput, type MeteringRunKind, type MeteringRunScope, type MeteringRunStatus, type MeteringSettleInput, type MeteringUsage, type MeteringUsageInput, type ModeContext, PI_PACKAGE_RESOURCE_FILTERS, type PiExtensionFactory, type PiHarnessOptions, type PiPackageSource, type PluginSkillSource, type ProvisionRuntimeWorkspaceOptions, type ProvisionWorkspaceRuntimeOptions, type ProvisioningArtifactRequest, REMOTE_WORKER_PROVIDER, REMOTE_WORKER_RUNTIME_CWD, type RegisterAgentRoutesOptions, RemoteWorkerClient, RemoteWorkerClientError, type RemoteWorkerClientOptions, type RemoteWorkerErrorPayload, type RemoteWorkerExecRequest, type RemoteWorkerExecResponse, type RemoteWorkerFsEventEnvelope, type RemoteWorkerModeAdapterOptions, type RemoteWorkerWorkspaceOp, type RemoteWorkerWorkspaceResult, type RuntimeBundle, type RuntimeEnvContribution, type RuntimeEnvContributionContext, type RuntimeModeAdapter, type RuntimeModeId, type RuntimeNodePackageSpec$1 as RuntimeNodePackageSpec, type RuntimeProvisioningContribution$1 as RuntimeProvisioningContribution, type RuntimePythonSpec$1 as RuntimePythonSpec, type RuntimeTemplateContribution$1 as RuntimeTemplateContribution, type RuntimeWorkspaceProvisioningResult, type SnapshotBakeOptions, type SnapshotBakeResult, UV_SETUP_COMMANDS, VERCEL_PROVISIONING_CACHE_ROOT, VERCEL_SANDBOX_WORKSPACE_ROOT, UV_SETUP_COMMANDS as VERCEL_UV_SETUP_COMMANDS, type VercelBakeClient, type VercelBakeSandbox, type VercelDeploymentSnapshotOptions, WORKER_INTERNAL_TOKEN_HEADER, WORKER_REQUEST_ID_HEADER, WORKER_WORKSPACE_ID_HEADER, type WorkspaceProvisioningAdapter, type WorkspaceProvisioningExecResult, type WorkspaceProvisioningResult, applyCspHeaders, autoDetectMode, bakeSnapshotIfNeeded, buildDeploymentSnapshotRecipe, buildPackageHash, buildSnapshotRecipeHash, compactPiPackages, constantTimeTokenEqual, createAgentApp, createBwrapSandbox, createDirectSandbox, createLogger, createNodeWorkspace, createRemoteWorkerModeAdapter, createRemoteWorkerSandbox, createRemoteWorkerWorkspace, createResourceSettingsManager, createVercelDeploymentSnapshotProvider, createVercelProvisioningAdapter, createVercelSandboxWorkspace, decodeBytesFromWorker, encodeBytesForWorker, fileRoutes, getBoringAgentPathEntries, getBoringAgentRuntimeEnv, getBoringAgentRuntimePaths, hasBwrap, mergePiPackageSources, normalizeMeteringUsage, piPackageSourceKey, prepareDeploymentSnapshot, prepareVercelDeploymentSnapshot, provisionRuntimeWorkspace, provisionWorkspaceRuntime, registerAgentRoutes, resolveMode, resolveSandboxHandle };
1359
+ export { AgentHarnessFactory, type AgentMeteringSink, type BoringAgentRuntimePaths, type BuiltinRuntimeModeId, type BwrapResourceLimits, type CreateAgentAppOptions, type CreateBwrapSandboxOptions, type CreateVercelProvisioningAdapterOptions, type DeploymentSnapshotProvider, type DeploymentSnapshotRecipe, type DeploymentSnapshotResult, type DeploymentSnapshotStatus, FileHandleStore, type LogFields, type Logger, MANAGED_AGENT_MCP_DELIVERY_RULE, MANAGED_AGENT_MCP_ORIGIN_SURFACE, type ManagedAgentArtifactRef, type ManagedAgentCollectArtifactsInput, type ManagedAgentDelegateInput, type ManagedAgentDelegateProgress, type ManagedAgentDelegateRequestContext, type ManagedAgentDelegateResult, type ManagedAgentDelegateStatus, type ManagedAgentDelegateStatusResult, ManagedAgentMcpDelegateController, type ManagedAgentMcpDelegateOptions, ManagedAgentMcpError, type ManagedAgentMcpHttpHandlerOptions, type ManagedAgentMcpServerOptions, type ManagedAgentSafeError, type MeteringErrorLogger, type MeteringReleaseInput, type MeteringReleaseReason, type MeteringReservationResult, type MeteringReserveInput, type MeteringRunKind, type MeteringRunScope, type MeteringRunStatus, type MeteringSettleInput, type MeteringUsage, type MeteringUsageInput, type ModeContext, PI_PACKAGE_RESOURCE_FILTERS, type PiExtensionFactory, type PiHarnessOptions, type PiPackageSource, type PluginSkillSource, type ProvisionRuntimeWorkspaceOptions, type ProvisionWorkspaceRuntimeOptions, type ProvisioningArtifactRequest, REMOTE_WORKER_PROVIDER, REMOTE_WORKER_RUNTIME_CWD, type RegisterAgentRoutesOptions, RemoteWorkerClient, RemoteWorkerClientError, type RemoteWorkerClientOptions, type RemoteWorkerErrorPayload, type RemoteWorkerExecRequest, type RemoteWorkerExecResponse, type RemoteWorkerFsEventEnvelope, type RemoteWorkerModeAdapterOptions, type RemoteWorkerWorkspaceOp, type RemoteWorkerWorkspaceResult, type RuntimeBundle, type RuntimeEnvContribution, type RuntimeEnvContributionContext, type RuntimeFilesystemBinding, type RuntimeFilesystemBindingOperations, type RuntimeModeAdapter, type RuntimeModeId, type RuntimeNodePackageSpec$1 as RuntimeNodePackageSpec, type RuntimeProvisioningContribution$1 as RuntimeProvisioningContribution, type RuntimePythonSpec$1 as RuntimePythonSpec, type RuntimeTemplateContribution$1 as RuntimeTemplateContribution, type RuntimeWorkspaceProvisioningResult, type SnapshotBakeOptions, type SnapshotBakeResult, UV_SETUP_COMMANDS, VERCEL_PROVISIONING_CACHE_ROOT, VERCEL_SANDBOX_WORKSPACE_ROOT, UV_SETUP_COMMANDS as VERCEL_UV_SETUP_COMMANDS, type VercelBakeClient, type VercelBakeSandbox, type VercelDeploymentSnapshotOptions, WORKER_INTERNAL_TOKEN_HEADER, WORKER_REQUEST_ID_HEADER, WORKER_WORKSPACE_ID_HEADER, type WorkspaceProvisioningAdapter, type WorkspaceProvisioningExecResult, type WorkspaceProvisioningResult, applyCspHeaders, autoDetectMode, bakeSnapshotIfNeeded, buildDeploymentSnapshotRecipe, buildPackageHash, buildSnapshotRecipeHash, compactPiPackages, constantTimeTokenEqual, createAgentApp, createBwrapSandbox, createDirectSandbox, createLogger, createManagedAgentMcpDelegateController, createManagedAgentMcpHttpHandler, createManagedAgentMcpServer, createNodeWorkspace, createRemoteWorkerModeAdapter, createRemoteWorkerSandbox, createRemoteWorkerWorkspace, createResourceSettingsManager, createVercelDeploymentSnapshotProvider, createVercelProvisioningAdapter, createVercelSandboxWorkspace, decodeBytesFromWorker, encodeBytesForWorker, fileRoutes, getBoringAgentPathEntries, getBoringAgentRuntimeEnv, getBoringAgentRuntimePaths, hasBwrap, mergePiPackageSources, normalizeMeteringUsage, piPackageSourceKey, prepareDeploymentSnapshot, prepareVercelDeploymentSnapshot, provisionRuntimeWorkspace, provisionWorkspaceRuntime, registerAgentRoutes, resolveMode, resolveSandboxHandle };