@hachej/boring-agent 0.1.83 → 0.1.85

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,67 @@
1
+ import { n as SessionListOptions, k as SessionSummary, m as ChatModelSelection, o as PiChatSnapshot, b as PiChatEvent, c as PromptPayload, d as PromptReceipt, F as FollowUpPayload, e as FollowUpReceipt, f as QueueClearPayload, g as QueueClearReceipt, I as InterruptPayload, h as CommandReceipt, i as StopPayload, j as StopReceipt } from './piChatEvent-CUTKRaZD.js';
2
+
3
+ interface PiSessionRequestContext {
4
+ workspaceId?: string;
5
+ storageScope?: string;
6
+ authSubject?: string;
7
+ authEmail?: string;
8
+ authEmailVerified?: boolean;
9
+ requestId: string;
10
+ }
11
+ interface PiSessionCreateInit {
12
+ title?: string;
13
+ modelDefault?: ChatModelSelection;
14
+ }
15
+ type PiChatReplayRangeError = {
16
+ type: 'replay_gap';
17
+ latestSeq: number;
18
+ minReplaySeq: number;
19
+ } | {
20
+ type: 'cursor_ahead';
21
+ latestSeq: number;
22
+ minReplaySeq: number;
23
+ };
24
+ interface PiChatEventStreamSubscription {
25
+ type: 'ok';
26
+ unsubscribe: () => void;
27
+ /** Optional test/service completion hook. Real live streams normally omit it. */
28
+ closed?: Promise<void>;
29
+ }
30
+ type PiChatEventStreamResult = PiChatEventStreamSubscription | PiChatReplayRangeError;
31
+ type PiChatEventSubscriber = (event: PiChatEvent) => void;
32
+ interface PiChatSessionService {
33
+ listSessions?(ctx: PiSessionRequestContext, options?: SessionListOptions): Promise<SessionSummary[]>;
34
+ createSession?(ctx: PiSessionRequestContext, init?: PiSessionCreateInit): Promise<SessionSummary>;
35
+ deleteSession?(ctx: PiSessionRequestContext, sessionId: string): Promise<void>;
36
+ readState(ctx: PiSessionRequestContext, sessionId: string): Promise<PiChatSnapshot>;
37
+ subscribe(ctx: PiSessionRequestContext, sessionId: string, cursor: number, subscriber: PiChatEventSubscriber): Promise<PiChatEventStreamResult>;
38
+ prompt(ctx: PiSessionRequestContext, sessionId: string, payload: PromptPayload): Promise<PromptReceipt>;
39
+ followUp(ctx: PiSessionRequestContext, sessionId: string, payload: FollowUpPayload): Promise<FollowUpReceipt>;
40
+ clearQueue(ctx: PiSessionRequestContext, sessionId: string, payload: QueueClearPayload): Promise<QueueClearReceipt>;
41
+ interrupt(ctx: PiSessionRequestContext, sessionId: string, payload: InterruptPayload): Promise<CommandReceipt>;
42
+ stop(ctx: PiSessionRequestContext, sessionId: string, payload: StopPayload): Promise<StopReceipt>;
43
+ }
44
+ interface AgentCoreSessionService extends PiChatSessionService {
45
+ createSession(ctx: PiSessionRequestContext, init?: PiSessionCreateInit): Promise<SessionSummary>;
46
+ deleteSession(ctx: PiSessionRequestContext, sessionId: string): Promise<void>;
47
+ dispose?(): Promise<void>;
48
+ }
49
+ type AgentEffectAdmission = (ctx: Pick<PiSessionRequestContext, 'workspaceId' | 'requestId'>) => Promise<void>;
50
+ declare class AgentEffectAdmissionError extends Error {
51
+ readonly code: string;
52
+ readonly details?: unknown | undefined;
53
+ readonly statusCode = 500;
54
+ constructor(code: string, details?: unknown | undefined);
55
+ }
56
+ declare const AGENT_EFFECT_METHODS: {
57
+ readonly createSession: true;
58
+ readonly deleteSession: true;
59
+ readonly prompt: true;
60
+ readonly followUp: true;
61
+ readonly clearQueue: true;
62
+ readonly interrupt: true;
63
+ readonly stop: true;
64
+ };
65
+ declare function withAgentEffectAdmission(service: AgentCoreSessionService, admit: AgentEffectAdmission): AgentCoreSessionService;
66
+
67
+ export { type AgentCoreSessionService as A, type PiChatEventStreamResult as P, type AgentEffectAdmission as a, AGENT_EFFECT_METHODS as b, AgentEffectAdmissionError as c, type PiChatEventStreamSubscription as d, type PiChatEventSubscriber as e, type PiChatReplayRangeError as f, type PiChatSessionService as g, type PiSessionCreateInit as h, type PiSessionRequestContext as i, withAgentEffectAdmission as w };
@@ -1,15 +1,16 @@
1
1
  import { W as WorkspaceRuntimeContext, S as Sandbox, a as Workspace, E as ExecOptions, b as ExecResult, c as WorkspaceChangeEvent } from '../sandbox-DthfJaOB.js';
2
2
  import { R as RemoteWorkerWorkspaceOp, a as RemoteWorkerWorkspaceResult, b as RemoteWorkerExecRequest } from '../protocol-B_OQKfbI.js';
3
3
  export { B as BwrapResourceLimits, C as CreateBwrapSandboxOptions, c as REMOTE_WORKER_PROVIDER, d as REMOTE_WORKER_RUNTIME_CWD, e as RemoteWorkerErrorPayload, f as RemoteWorkerExecResponse, g as RemoteWorkerFsEventEnvelope, W as WORKER_INTERNAL_TOKEN_HEADER, h as WORKER_REQUEST_ID_HEADER, i as WORKER_WORKSPACE_ID_HEADER, j as createBwrapSandbox } from '../protocol-B_OQKfbI.js';
4
- import { S as SandboxHandleStore, a as SandboxHandleRecord, F as FileSearch, C as CompiledAgentBundle, b as Sha256Digest, A as AgentDeployment, P as PluginRestartWarning, W as WorkspaceAgentDispatcherContext, c as WorkspaceAgentDispatcher } from '../workspaceAgentDispatcher-p4tlVvbM.js';
4
+ import { S as SandboxHandleStore, a as SandboxHandleRecord, F as FileSearch, C as CompiledAgentBundle, b as Sha256Digest, A as AgentDeployment, c as ShareEntryStore, P as PluginRestartWarning, W as WorkspaceAgentDispatcherContext, d as WorkspaceAgentDispatcher } from '../workspaceAgentDispatcher-Dv0DocrE.js';
5
5
  import { Sandbox as Sandbox$1 } from '@vercel/sandbox';
6
- import { T as TelemetrySink, s as ToolReadinessRequirement, t as AgentConfig, b as Agent, d as AgentActor, j as AgentEvent, u as AgentTool, v as AgentHarnessFactory } from '../harness-C53mjCcq.js';
7
- export { w as AgentHarnessFactoryInput } from '../harness-C53mjCcq.js';
6
+ import { T as TelemetrySink, s as ToolReadinessRequirement, t as AgentConfig, b as Agent, d as AgentActor, j as AgentEvent, u as AgentTool, v as AgentHarnessFactory } from '../harness-RhGbdGWY.js';
7
+ export { w as AgentHarnessFactoryInput } from '../harness-RhGbdGWY.js';
8
8
  import { FastifyInstance, FastifyRequest, FastifyPluginAsync } from 'fastify';
9
- import { E as ErrorCode, o as SessionCtx, C as ChatModelSelection } from '../piChatEvent-3pFPXYPx.js';
9
+ import { E as ErrorCode, l as SessionCtx, m as ChatModelSelection } from '../piChatEvent-CUTKRaZD.js';
10
10
  import { IncomingMessage, ServerResponse } from 'node:http';
11
11
  import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
12
12
  import { PackageSource, ExtensionFactory, SettingsManager } from '@mariozechner/pi-coding-agent';
13
+ import { a as AgentEffectAdmission } from '../piChatSessionService-iBtx32ya.js';
13
14
  import 'zod';
14
15
 
15
16
  interface CreateDirectSandboxOptions {
@@ -897,6 +898,19 @@ interface ManagedAgentMcpPresentationOptions {
897
898
  name?: string;
898
899
  version?: string;
899
900
  maxBriefChars?: number;
901
+ /**
902
+ * Optional Lane W (AR1-002/AR1-004) share-entry store. When supplied
903
+ * together with `resolveShareSessionCtx`/`resolveShareWorkspace`, the
904
+ * server exposes `listResources`/`readResource` scoped to the
905
+ * authenticated workspace's share entries, on this SAME MCP server
906
+ * process (no second MCP runtime owner). Hosts that omit any of the
907
+ * three leave Lane W unmounted — no widening.
908
+ */
909
+ shareEntryStore?: ShareEntryStore;
910
+ /** Resolves the authenticated SessionCtx for a share resource request. */
911
+ resolveShareSessionCtx?: (request: ManagedAgentDelegateRequestContext) => SessionCtx | Promise<SessionCtx>;
912
+ /** Resolves the authorized Workspace to read share targets from, for a given SessionCtx. */
913
+ resolveShareWorkspace?: (ctx: SessionCtx) => Workspace | Promise<Workspace>;
900
914
  }
901
915
  interface ManagedAgentMcpServerOptions extends ManagedAgentMcpDelegateOptions, ManagedAgentMcpPresentationOptions {
902
916
  }
@@ -908,6 +922,24 @@ type ManagedAgentMcpHttpHandlerOptions = (ManagedAgentMcpPresentationOptions & {
908
922
  declare function createManagedAgentMcpServer(options: ManagedAgentMcpServerOptions): McpServer;
909
923
  declare function createManagedAgentMcpHttpHandler(options: ManagedAgentMcpHttpHandlerOptions): (req: IncomingMessage, res: ServerResponse, parsedBody?: unknown) => Promise<void>;
910
924
 
925
+ interface ShareEntryMcpResourceOptions {
926
+ /** Lane W (AR1-002) opaque share-entry store — the single source of truth for entries. */
927
+ store: ShareEntryStore;
928
+ /** Resolves the authenticated SessionCtx for a resource request (list or read). */
929
+ resolveSessionCtx(request: ManagedAgentDelegateRequestContext): SessionCtx | Promise<SessionCtx>;
930
+ /** Resolves the authorized Workspace to read share targets from, for a given SessionCtx. */
931
+ resolveWorkspace(ctx: SessionCtx): Workspace | Promise<Workspace>;
932
+ }
933
+ /** Builds the opaque share resource URI for a given share-entry id. */
934
+ declare function shareResourceUri(id: string): string;
935
+ /**
936
+ * Registers `listResources`/`readResource` for Lane W share entries on an
937
+ * already-constructed managed-agent `McpServer`. A no-op call site (host
938
+ * omits `shareEntryStore`) leaves Lane W unmounted — see
939
+ * `managedAgentMcpServer.ts`'s optional wiring.
940
+ */
941
+ declare function registerShareEntryResources(server: McpServer, options: ShareEntryMcpResourceOptions): void;
942
+
911
943
  interface ReloadHookDiagnostic {
912
944
  source: string;
913
945
  message: string;
@@ -1282,6 +1314,8 @@ interface RegisterAgentRoutesOptions {
1282
1314
  sessionRoot?: string;
1283
1315
  /** Optional best-effort telemetry sink supplied by an embedding host. */
1284
1316
  telemetry?: TelemetrySink;
1317
+ /** Optional host admission called immediately before each agent effect. */
1318
+ admitEffect?: AgentEffectAdmission;
1285
1319
  /** Generic request-aware model filtering seam. Hosts may filter per user/workspace. */
1286
1320
  filterModels?: ModelsRoutesOptions['filterModels'];
1287
1321
  /** Generic per-request/per-run filesystem binding seam. Hosts may return user/session-filtered bindings. */
@@ -1317,6 +1351,14 @@ interface RegisterAgentRoutesOptions {
1317
1351
  }) => string | undefined | Promise<string | undefined>;
1318
1352
  registerHealthRoute?: boolean;
1319
1353
  sandboxHandleStore?: SandboxHandleStore;
1354
+ /**
1355
+ * Optional Lane W share-entry store (AR1-002/AR1-003, same-workspace
1356
+ * shareable links, `docs/issues/391/runtime-refactor/work/
1357
+ * AR1-shareable-artifacts/AR1-001-SPEC.md` §3). When supplied, mounts the
1358
+ * membership-gated `GET /a/:id` deep-link route. Omit to leave Lane W
1359
+ * entirely unmounted (no widening for hosts that don't use it yet).
1360
+ */
1361
+ shareEntryStore?: ShareEntryStore;
1320
1362
  getWorkspaceId?: (request: FastifyRequest) => string | Promise<string>;
1321
1363
  getWorkspaceRoot?: (workspaceId: string, request: FastifyRequest) => string | Promise<string>;
1322
1364
  getTrustedWorkspaceRoot?: (ctx: WorkspaceAgentDispatcherContext) => string | Promise<string>;
@@ -1383,4 +1425,4 @@ interface Logger {
1383
1425
  }
1384
1426
  declare function createLogger(prefix: string): Logger;
1385
1427
 
1386
- export { AgentConfig, AgentDirectoryCompilerError, type AgentDirectoryCompilerErrorCode, type AgentDirectoryCompilerPublicErrorCode, AgentHarnessFactory, type AgentMeteringSink, type BoringAgentRuntimePaths, type BuiltinRuntimeModeId, type CreateAgentAppOptions, 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 ManagedAgentArtifact, type ManagedAgentArtifactCandidate, type ManagedAgentArtifactRef, type ManagedAgentBoundRunnerWorkspace, type ManagedAgentCollectArtifactsInput, type ManagedAgentDelegateInput, type ManagedAgentDelegateProgress, type ManagedAgentDelegateRequestContext, type ManagedAgentDelegateResult, type ManagedAgentDelegateRunInput, type ManagedAgentDelegateRunner, type ManagedAgentDelegateStatus, type ManagedAgentDelegateStatusResult, ManagedAgentMcpDelegateController, type ManagedAgentMcpDelegateOptions, ManagedAgentMcpError, type ManagedAgentMcpHttpHandlerOptions, type ManagedAgentMcpServerOptions, type ManagedAgentSafeError, type ManagedAgentWorkspaceResolutionInput, 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, type RegisterAgentRoutesOptions, RemoteWorkerClient, RemoteWorkerClientError, type RemoteWorkerClientOptions, RemoteWorkerExecRequest, type RemoteWorkerModeAdapterOptions, RemoteWorkerWorkspaceOp, RemoteWorkerWorkspaceResult, type ResolvedAgent, type ResolvedAgentDigestInput, 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, type WorkspaceAgentDispatcherBinding, type WorkspaceAgentDispatcherResolveOptions, type WorkspaceAgentDispatcherResolver, type WorkspaceProvisioningAdapter, type WorkspaceProvisioningExecResult, type WorkspaceProvisioningResult, applyCspHeaders, autoDetectMode, bakeSnapshotIfNeeded, buildDeploymentSnapshotRecipe, buildPackageHash, buildSnapshotRecipeHash, compactPiPackages, compileAgentDirectory, constantTimeTokenEqual, createAgent, createAgentApp, createDirectSandbox, createLogger, createManagedAgentMcpDelegateController, createManagedAgentMcpHttpHandler, createManagedAgentMcpServer, createNodeWorkspace, createRemoteWorkerModeAdapter, createRemoteWorkerSandbox, createRemoteWorkerWorkspace, createResolvedAgentDigest, createResourceSettingsManager, createVercelDeploymentSnapshotProvider, createVercelProvisioningAdapter, createVercelSandboxWorkspace, decodeBytesFromWorker, encodeBytesForWorker, fileRoutes, getBoringAgentPathEntries, getBoringAgentRuntimeEnv, getBoringAgentRuntimePaths, hasBwrap, mergePiPackageSources, normalizeMeteringUsage, piPackageSourceKey, prepareDeploymentSnapshot, prepareVercelDeploymentSnapshot, provisionRuntimeWorkspace, provisionWorkspaceRuntime, registerAgentRoutes, resolveAgentDeployment, resolveMode, resolveSandboxHandle };
1428
+ export { AgentConfig, AgentDirectoryCompilerError, type AgentDirectoryCompilerErrorCode, type AgentDirectoryCompilerPublicErrorCode, AgentHarnessFactory, type AgentMeteringSink, type BoringAgentRuntimePaths, type BuiltinRuntimeModeId, type CreateAgentAppOptions, 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 ManagedAgentArtifact, type ManagedAgentArtifactCandidate, type ManagedAgentArtifactRef, type ManagedAgentBoundRunnerWorkspace, type ManagedAgentCollectArtifactsInput, type ManagedAgentDelegateInput, type ManagedAgentDelegateProgress, type ManagedAgentDelegateRequestContext, type ManagedAgentDelegateResult, type ManagedAgentDelegateRunInput, type ManagedAgentDelegateRunner, type ManagedAgentDelegateStatus, type ManagedAgentDelegateStatusResult, ManagedAgentMcpDelegateController, type ManagedAgentMcpDelegateOptions, ManagedAgentMcpError, type ManagedAgentMcpHttpHandlerOptions, type ManagedAgentMcpServerOptions, type ManagedAgentSafeError, type ManagedAgentWorkspaceResolutionInput, 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, type RegisterAgentRoutesOptions, RemoteWorkerClient, RemoteWorkerClientError, type RemoteWorkerClientOptions, RemoteWorkerExecRequest, type RemoteWorkerModeAdapterOptions, RemoteWorkerWorkspaceOp, RemoteWorkerWorkspaceResult, type ResolvedAgent, type ResolvedAgentDigestInput, 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 ShareEntryMcpResourceOptions, 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, type WorkspaceAgentDispatcherBinding, type WorkspaceAgentDispatcherResolveOptions, type WorkspaceAgentDispatcherResolver, type WorkspaceProvisioningAdapter, type WorkspaceProvisioningExecResult, type WorkspaceProvisioningResult, applyCspHeaders, autoDetectMode, bakeSnapshotIfNeeded, buildDeploymentSnapshotRecipe, buildPackageHash, buildSnapshotRecipeHash, compactPiPackages, compileAgentDirectory, constantTimeTokenEqual, createAgent, createAgentApp, createDirectSandbox, createLogger, createManagedAgentMcpDelegateController, createManagedAgentMcpHttpHandler, createManagedAgentMcpServer, createNodeWorkspace, createRemoteWorkerModeAdapter, createRemoteWorkerSandbox, createRemoteWorkerWorkspace, createResolvedAgentDigest, createResourceSettingsManager, createVercelDeploymentSnapshotProvider, createVercelProvisioningAdapter, createVercelSandboxWorkspace, decodeBytesFromWorker, encodeBytesForWorker, fileRoutes, getBoringAgentPathEntries, getBoringAgentRuntimeEnv, getBoringAgentRuntimePaths, hasBwrap, mergePiPackageSources, normalizeMeteringUsage, piPackageSourceKey, prepareDeploymentSnapshot, prepareVercelDeploymentSnapshot, provisionRuntimeWorkspace, provisionWorkspaceRuntime, registerAgentRoutes, registerShareEntryResources, resolveAgentDeployment, resolveMode, resolveSandboxHandle, shareResourceUri };
@@ -51,14 +51,16 @@ import {
51
51
  provisionRuntimeWorkspace,
52
52
  provisionWorkspaceRuntime,
53
53
  registerAgentRoutes,
54
+ registerShareEntryResources,
54
55
  resolveAgentDeployment,
55
56
  resolveMode,
56
- resolveSandboxHandle
57
- } from "../chunk-7V3E6KHX.js";
58
- import "../chunk-WODTQBXR.js";
59
- import "../chunk-TNN3LPXE.js";
57
+ resolveSandboxHandle,
58
+ shareResourceUri
59
+ } from "../chunk-HY7EERLW.js";
60
+ import "../chunk-YONTHCD7.js";
61
+ import "../chunk-LYBTHR7J.js";
60
62
  import "../chunk-WSQ5QNIY.js";
61
- import "../chunk-DC3S7SZG.js";
63
+ import "../chunk-6O5ADR57.js";
62
64
  import {
63
65
  PI_PACKAGE_RESOURCE_FILTERS,
64
66
  compactPiPackages,
@@ -66,9 +68,9 @@ import {
66
68
  createResourceSettingsManager,
67
69
  mergePiPackageSources,
68
70
  piPackageSourceKey
69
- } from "../chunk-5NAN3TAR.js";
71
+ } from "../chunk-ZUDWQAAB.js";
70
72
  import "../chunk-AQBXNPMD.js";
71
- import "../chunk-PG2WOJ22.js";
73
+ import "../chunk-HDIRWHJB.js";
72
74
  export {
73
75
  AgentDirectoryCompilerError,
74
76
  FileHandleStore,
@@ -129,7 +131,9 @@ export {
129
131
  provisionRuntimeWorkspace,
130
132
  provisionWorkspaceRuntime,
131
133
  registerAgentRoutes,
134
+ registerShareEntryResources,
132
135
  resolveAgentDeployment,
133
136
  resolveMode,
134
- resolveSandboxHandle
137
+ resolveSandboxHandle,
138
+ shareResourceUri
135
139
  };
@@ -4,14 +4,14 @@ import {
4
4
  constantTimeTokenEqual,
5
5
  createBwrapSandbox,
6
6
  createNodeWorkspace
7
- } from "../../chunk-7V3E6KHX.js";
8
- import "../../chunk-WODTQBXR.js";
9
- import "../../chunk-TNN3LPXE.js";
7
+ } from "../../chunk-HY7EERLW.js";
8
+ import "../../chunk-YONTHCD7.js";
9
+ import "../../chunk-LYBTHR7J.js";
10
10
  import "../../chunk-WSQ5QNIY.js";
11
- import "../../chunk-DC3S7SZG.js";
12
- import "../../chunk-5NAN3TAR.js";
11
+ import "../../chunk-6O5ADR57.js";
12
+ import "../../chunk-ZUDWQAAB.js";
13
13
  import "../../chunk-AQBXNPMD.js";
14
- import "../../chunk-PG2WOJ22.js";
14
+ import "../../chunk-HDIRWHJB.js";
15
15
 
16
16
  // src/server/worker/index.ts
17
17
  import Fastify from "fastify";