@hachej/boring-agent 0.1.103 → 0.1.105
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/dist/{chunk-7QM22DU7.js → chunk-6DRHERVK.js} +7 -5
- package/dist/{chunk-TW7G33QH.js → chunk-F2OJI2LX.js} +64 -15
- package/dist/{chunk-6WKQ4FC4.js → chunk-LFN45QDZ.js} +259 -140
- package/dist/core/index.d.ts +5 -5
- package/dist/{createHarness-4Q6DQBRT.js → createHarness-GMBZZPTN.js} +1 -1
- package/dist/{errors-szpcDUFQ.d.ts → errors-DH7C01Pm.d.ts} +1 -1
- package/dist/{file-search-BXdSm-Yq.d.ts → file-search-qcD5zItr.d.ts} +3 -3
- package/dist/front/index.d.ts +12 -2
- package/dist/front/index.js +200 -135
- package/dist/front/styles.css +56 -15
- package/dist/{harness-erpL2SER.d.ts → harness-Dcd08yKr.d.ts} +1 -1
- package/dist/{lease-K-EZhdL-.d.ts → lease-DffrPrQn.d.ts} +1 -1
- package/dist/{piChatEvent-g1nIBh44.d.ts → piChatEvent-iNSXiFQq.d.ts} +5 -0
- package/dist/{piChatSessionService-DugeRHzb.d.ts → piChatSessionService-DQSQ_kWZ.d.ts} +1 -1
- package/dist/server/agent-host/testing/gatewayConformance.d.ts +5 -5
- package/dist/server/agent-host/testing/gatewayConformance.js +1 -1
- package/dist/server/index.d.ts +53 -42
- package/dist/server/index.js +5 -3
- package/dist/server/worker/index.js +3 -3
- package/dist/shared/index.d.ts +93 -19
- package/dist/shared/index.js +1 -1
- package/dist/{types-BnjMLAd5.d.ts → types-BTsdaAQ2.d.ts} +33 -14
- package/docs/ERROR_CODES.md +1 -1
- package/package.json +6 -6
package/dist/front/styles.css
CHANGED
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
--font-sans: var(--font-sans);
|
|
7
7
|
--font-mono: var(--font-mono);
|
|
8
8
|
--color-amber-300: oklch(87.9% 0.169 91.605);
|
|
9
|
+
--color-amber-400: oklch(82.8% 0.189 84.429);
|
|
9
10
|
--color-amber-500: oklch(76.9% 0.188 70.08);
|
|
10
11
|
--color-amber-600: oklch(66.6% 0.179 58.318);
|
|
11
12
|
--color-emerald-500: oklch(69.6% 0.17 162.48);
|
|
@@ -69,6 +70,9 @@
|
|
|
69
70
|
.collapse {
|
|
70
71
|
visibility: collapse;
|
|
71
72
|
}
|
|
73
|
+
.invisible {
|
|
74
|
+
visibility: hidden;
|
|
75
|
+
}
|
|
72
76
|
.visible {
|
|
73
77
|
visibility: visible;
|
|
74
78
|
}
|
|
@@ -2343,6 +2347,9 @@
|
|
|
2343
2347
|
.dark\:text-amber-300:is([data-theme="dark"], [data-theme="dark"] *) {
|
|
2344
2348
|
color: var(--color-amber-300);
|
|
2345
2349
|
}
|
|
2350
|
+
.dark\:text-amber-400:is([data-theme="dark"], [data-theme="dark"] *) {
|
|
2351
|
+
color: var(--color-amber-400);
|
|
2352
|
+
}
|
|
2346
2353
|
.dark\:text-zinc-100:is([data-theme="dark"], [data-theme="dark"] *) {
|
|
2347
2354
|
color: var(--color-zinc-100);
|
|
2348
2355
|
}
|
|
@@ -2593,8 +2600,11 @@
|
|
|
2593
2600
|
.top-4 {
|
|
2594
2601
|
top: calc(var(--spacing) * 4);
|
|
2595
2602
|
}
|
|
2596
|
-
.top-\[
|
|
2597
|
-
top:
|
|
2603
|
+
.top-\[calc\(1rem\+env\(safe-area-inset-top\,0px\)\)\] {
|
|
2604
|
+
top: calc(1rem + env(safe-area-inset-top,0px));
|
|
2605
|
+
}
|
|
2606
|
+
.top-\[max\(1rem\,env\(safe-area-inset-top\,0px\)\)\] {
|
|
2607
|
+
top: max(1rem, env(safe-area-inset-top,0px));
|
|
2598
2608
|
}
|
|
2599
2609
|
.right-0 {
|
|
2600
2610
|
right: 0px;
|
|
@@ -2605,11 +2615,14 @@
|
|
|
2605
2615
|
.right-4 {
|
|
2606
2616
|
right: calc(var(--spacing) * 4);
|
|
2607
2617
|
}
|
|
2618
|
+
.right-\[calc\(1rem\+env\(safe-area-inset-right\,0px\)\)\] {
|
|
2619
|
+
right: calc(1rem + env(safe-area-inset-right,0px));
|
|
2620
|
+
}
|
|
2608
2621
|
.bottom-0 {
|
|
2609
2622
|
bottom: 0px;
|
|
2610
2623
|
}
|
|
2611
|
-
.bottom-
|
|
2612
|
-
bottom: calc(
|
|
2624
|
+
.bottom-\[calc\(1rem\+env\(safe-area-inset-bottom\,0px\)\)\] {
|
|
2625
|
+
bottom: calc(1rem + env(safe-area-inset-bottom,0px));
|
|
2613
2626
|
}
|
|
2614
2627
|
.left-0 {
|
|
2615
2628
|
left: 0px;
|
|
@@ -2617,12 +2630,12 @@
|
|
|
2617
2630
|
.left-2 {
|
|
2618
2631
|
left: calc(var(--spacing) * 2);
|
|
2619
2632
|
}
|
|
2620
|
-
.left-4 {
|
|
2621
|
-
left: calc(var(--spacing) * 4);
|
|
2622
|
-
}
|
|
2623
2633
|
.left-\[50\%\] {
|
|
2624
2634
|
left: 50%;
|
|
2625
2635
|
}
|
|
2636
|
+
.left-\[calc\(1rem\+env\(safe-area-inset-left\,0px\)\)\] {
|
|
2637
|
+
left: calc(1rem + env(safe-area-inset-left,0px));
|
|
2638
|
+
}
|
|
2626
2639
|
.z-50 {
|
|
2627
2640
|
z-index: 50;
|
|
2628
2641
|
}
|
|
@@ -2762,6 +2775,9 @@
|
|
|
2762
2775
|
.h-10 {
|
|
2763
2776
|
height: calc(var(--spacing) * 10);
|
|
2764
2777
|
}
|
|
2778
|
+
.h-\[100dvh\] {
|
|
2779
|
+
height: 100dvh;
|
|
2780
|
+
}
|
|
2765
2781
|
.h-\[calc\(100\%-1px\)\] {
|
|
2766
2782
|
height: calc(100% - 1px);
|
|
2767
2783
|
}
|
|
@@ -2789,6 +2805,9 @@
|
|
|
2789
2805
|
.max-h-\[300px\] {
|
|
2790
2806
|
max-height: 300px;
|
|
2791
2807
|
}
|
|
2808
|
+
.max-h-\[calc\(100dvh-var\(--keyboard-inset\,0px\)\)\] {
|
|
2809
|
+
max-height: calc(100dvh - var(--keyboard-inset,0px));
|
|
2810
|
+
}
|
|
2792
2811
|
.min-h-0 {
|
|
2793
2812
|
min-height: 0px;
|
|
2794
2813
|
}
|
|
@@ -2892,8 +2911,8 @@
|
|
|
2892
2911
|
--tw-translate-x: -50%;
|
|
2893
2912
|
translate: var(--tw-translate-x) var(--tw-translate-y);
|
|
2894
2913
|
}
|
|
2895
|
-
.translate-y
|
|
2896
|
-
--tw-translate-y:
|
|
2914
|
+
.translate-y-0 {
|
|
2915
|
+
--tw-translate-y: 0px;
|
|
2897
2916
|
translate: var(--tw-translate-x) var(--tw-translate-y);
|
|
2898
2917
|
}
|
|
2899
2918
|
.translate-y-\[calc\(-50\%_-_2px\)\] {
|
|
@@ -3398,6 +3417,9 @@
|
|
|
3398
3417
|
.pt-3 {
|
|
3399
3418
|
padding-top: calc(var(--spacing) * 3);
|
|
3400
3419
|
}
|
|
3420
|
+
.pt-\[env\(safe-area-inset-top\,0px\)\] {
|
|
3421
|
+
padding-top: env(safe-area-inset-top,0px);
|
|
3422
|
+
}
|
|
3401
3423
|
.pr-2 {
|
|
3402
3424
|
padding-right: calc(var(--spacing) * 2);
|
|
3403
3425
|
}
|
|
@@ -3407,12 +3429,21 @@
|
|
|
3407
3429
|
.pr-8 {
|
|
3408
3430
|
padding-right: calc(var(--spacing) * 8);
|
|
3409
3431
|
}
|
|
3432
|
+
.pr-\[env\(safe-area-inset-right\,0px\)\] {
|
|
3433
|
+
padding-right: env(safe-area-inset-right,0px);
|
|
3434
|
+
}
|
|
3410
3435
|
.pb-2 {
|
|
3411
3436
|
padding-bottom: calc(var(--spacing) * 2);
|
|
3412
3437
|
}
|
|
3413
3438
|
.pb-3 {
|
|
3414
3439
|
padding-bottom: calc(var(--spacing) * 3);
|
|
3415
3440
|
}
|
|
3441
|
+
.pb-\[calc\(1rem\+env\(safe-area-inset-bottom\,0px\)\)\] {
|
|
3442
|
+
padding-bottom: calc(1rem + env(safe-area-inset-bottom,0px));
|
|
3443
|
+
}
|
|
3444
|
+
.pb-\[env\(safe-area-inset-bottom\,0px\)\] {
|
|
3445
|
+
padding-bottom: env(safe-area-inset-bottom,0px);
|
|
3446
|
+
}
|
|
3416
3447
|
.pl-2 {
|
|
3417
3448
|
padding-left: calc(var(--spacing) * 2);
|
|
3418
3449
|
}
|
|
@@ -3422,6 +3453,9 @@
|
|
|
3422
3453
|
.pl-8 {
|
|
3423
3454
|
padding-left: calc(var(--spacing) * 8);
|
|
3424
3455
|
}
|
|
3456
|
+
.pl-\[env\(safe-area-inset-left\,0px\)\] {
|
|
3457
|
+
padding-left: env(safe-area-inset-left,0px);
|
|
3458
|
+
}
|
|
3425
3459
|
.text-center {
|
|
3426
3460
|
text-align: center;
|
|
3427
3461
|
}
|
|
@@ -4221,12 +4255,19 @@
|
|
|
4221
4255
|
border-radius: 0;
|
|
4222
4256
|
}
|
|
4223
4257
|
@media (width >= 40rem) {
|
|
4258
|
+
.sm\:top-\[50\%\] {
|
|
4259
|
+
top: 50%;
|
|
4260
|
+
}
|
|
4224
4261
|
.sm\:max-w-lg {
|
|
4225
4262
|
max-width: var(--container-lg);
|
|
4226
4263
|
}
|
|
4227
4264
|
.sm\:max-w-sm {
|
|
4228
4265
|
max-width: var(--container-sm);
|
|
4229
4266
|
}
|
|
4267
|
+
.sm\:translate-y-\[-50\%\] {
|
|
4268
|
+
--tw-translate-y: -50%;
|
|
4269
|
+
translate: var(--tw-translate-x) var(--tw-translate-y);
|
|
4270
|
+
}
|
|
4230
4271
|
.sm\:flex-row {
|
|
4231
4272
|
flex-direction: row;
|
|
4232
4273
|
}
|
|
@@ -4794,12 +4835,12 @@
|
|
|
4794
4835
|
--secondary-foreground: oklch(0.985 0 0);
|
|
4795
4836
|
--muted: oklch(0.269 0.006 285.885);
|
|
4796
4837
|
--muted-foreground: oklch(0.708 0.01 286.073);
|
|
4797
|
-
--accent: oklch(0.
|
|
4798
|
-
--accent-foreground: oklch(0.
|
|
4838
|
+
--accent: oklch(0.72 0.13 65);
|
|
4839
|
+
--accent-foreground: oklch(0.18 0.02 65);
|
|
4799
4840
|
--accent-soft: oklch(0.28 0.04 65);
|
|
4800
4841
|
--border: oklch(0.269 0.006 285.885);
|
|
4801
4842
|
--input: oklch(0.269 0.006 285.885);
|
|
4802
|
-
--ring: oklch(0.
|
|
4843
|
+
--ring: oklch(0.72 0.13 65);
|
|
4803
4844
|
--canvas: oklch(0.12 0.004 285.823);
|
|
4804
4845
|
}
|
|
4805
4846
|
[data-boring-agent] {
|
|
@@ -4886,12 +4927,12 @@
|
|
|
4886
4927
|
--secondary-foreground: var(--boring-secondary-foreground, oklch(0.985 0 0));
|
|
4887
4928
|
--muted: var(--boring-muted, oklch(0.269 0.006 285.885));
|
|
4888
4929
|
--muted-foreground: var(--boring-muted-foreground, oklch(0.708 0.01 286.073));
|
|
4889
|
-
--accent: var(--boring-accent, oklch(0.
|
|
4890
|
-
--accent-foreground: var(--boring-accent-foreground, oklch(0.
|
|
4930
|
+
--accent: var(--boring-accent, oklch(0.72 0.13 65));
|
|
4931
|
+
--accent-foreground: var(--boring-accent-foreground, oklch(0.18 0.02 65));
|
|
4891
4932
|
--accent-soft: var(--boring-accent-soft, oklch(0.28 0.04 65));
|
|
4892
4933
|
--border: var(--boring-border, oklch(0.269 0.006 285.885));
|
|
4893
4934
|
--input: var(--boring-input, oklch(0.269 0.006 285.885));
|
|
4894
|
-
--ring: var(--boring-ring, oklch(0.
|
|
4935
|
+
--ring: var(--boring-ring, oklch(0.72 0.13 65));
|
|
4895
4936
|
--canvas: var(--boring-canvas, oklch(0.12 0.004 285.823));
|
|
4896
4937
|
--surface-chat: var(--boring-surface-chat, oklch(0.165 0.004 285.823));
|
|
4897
4938
|
--boring-agent-user-bg: oklch(from var(--accent) l c h / 0.16);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as SessionCtx, c as PiChatEvent, S as SessionStore } from './piChatEvent-
|
|
1
|
+
import { n as SessionCtx, c as PiChatEvent, S as SessionStore } from './piChatEvent-iNSXiFQq.js';
|
|
2
2
|
import { AgentSessionEvent, PromptOptions } from '@mariozechner/pi-coding-agent';
|
|
3
3
|
|
|
4
4
|
interface TelemetrySink {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { A as AgentDefinitionErrorCode, o as AgentDeploymentErrorCode } from './piChatEvent-
|
|
2
|
+
import { A as AgentDefinitionErrorCode, o as AgentDeploymentErrorCode } from './piChatEvent-iNSXiFQq.js';
|
|
3
3
|
import { b as Workspace } from './sandbox-BMhut3kh.js';
|
|
4
4
|
|
|
5
5
|
interface SandboxHandleRecord {
|
|
@@ -226,6 +226,7 @@ interface PiChatSnapshot {
|
|
|
226
226
|
seq: number;
|
|
227
227
|
status: PiChatStatus;
|
|
228
228
|
activeTurnId?: string;
|
|
229
|
+
currentModel?: ChatModelSelection;
|
|
229
230
|
messages: BoringChatMessage[];
|
|
230
231
|
queue: {
|
|
231
232
|
followUps: QueuedUserMessage[];
|
|
@@ -274,6 +275,10 @@ type PiChatEvent = {
|
|
|
274
275
|
type: 'agent-start';
|
|
275
276
|
seq: number;
|
|
276
277
|
turnId: string;
|
|
278
|
+
} | {
|
|
279
|
+
type: 'model-changed';
|
|
280
|
+
seq: number;
|
|
281
|
+
currentModel: NonNullable<PiChatSnapshot['currentModel']>;
|
|
277
282
|
} | {
|
|
278
283
|
type: 'agent-end';
|
|
279
284
|
seq: number;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as SessionListOptions, b as SessionSummary, C as ChatModelSelection, P as PiChatSnapshot, c as PiChatEvent, d as PromptPayload, e as PromptReceipt, F as FollowUpPayload, f as FollowUpReceipt, Q as QueueClearPayload, g as QueueClearReceipt, I as InterruptPayload, h as CommandReceipt, i as StopPayload, j as StopReceipt } from './piChatEvent-
|
|
1
|
+
import { a as SessionListOptions, b as SessionSummary, C as ChatModelSelection, P as PiChatSnapshot, c as PiChatEvent, d as PromptPayload, e as PromptReceipt, F as FollowUpPayload, f as FollowUpReceipt, Q as QueueClearPayload, g as QueueClearReceipt, I as InterruptPayload, h as CommandReceipt, i as StopPayload, j as StopReceipt } from './piChatEvent-iNSXiFQq.js';
|
|
2
2
|
|
|
3
3
|
interface PiSessionRequestContext {
|
|
4
4
|
workspaceId?: string;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { A as AgentGateway, a as AuthorizedAgentScope, b as AgentSessionRef, c as AgentSessionActivity } from '../../../errors-
|
|
2
|
-
import { A as AgentGatewayEffect } from '../../../types-
|
|
3
|
-
import '../../../piChatEvent-
|
|
1
|
+
import { A as AgentGateway, a as AuthorizedAgentScope, b as AgentSessionRef, c as AgentSessionActivity } from '../../../errors-DH7C01Pm.js';
|
|
2
|
+
import { A as AgentGatewayEffect } from '../../../types-BTsdaAQ2.js';
|
|
3
|
+
import '../../../piChatEvent-iNSXiFQq.js';
|
|
4
4
|
import 'zod';
|
|
5
5
|
import 'fastify';
|
|
6
|
-
import '../../../harness-
|
|
6
|
+
import '../../../harness-Dcd08yKr.js';
|
|
7
7
|
import '@mariozechner/pi-coding-agent';
|
|
8
|
-
import '../../../file-search-
|
|
8
|
+
import '../../../file-search-qcD5zItr.js';
|
|
9
9
|
import '../../../sandbox-BMhut3kh.js';
|
|
10
10
|
import '@hachej/boring-bash/agent';
|
|
11
11
|
import '@hachej/boring-sandbox/providers/node-workspace';
|
package/dist/server/index.d.ts
CHANGED
|
@@ -1,21 +1,22 @@
|
|
|
1
|
-
import { P as ProvisionWorkspaceRuntimeOptions, W as WorkspaceProvisioningResult, a as PiPackageSource, R as RuntimeModeAdapter, b as RuntimeModeId, B as BuiltinRuntimeModeId, c as AgentRuntimeHostOperations, d as RuntimeBashStrategy, e as RuntimeFilesystemStrategy, M as ModeContext, f as WorkspaceProvisioningAdapter, g as
|
|
2
|
-
export { A as AgentGatewayEffect,
|
|
1
|
+
import { P as ProvisionWorkspaceRuntimeOptions, W as WorkspaceProvisioningResult, a as PiPackageSource, R as RuntimeModeAdapter, b as RuntimeModeId, B as BuiltinRuntimeModeId, c as AgentRuntimeHostOperations, d as RuntimeBashStrategy, e as RuntimeFilesystemStrategy, M as ModeContext, f as WorkspaceProvisioningAdapter, g as AgentInstructionSource, C as ConfiguredAgentHostAgentSpec, h as AgentInstructionFileRef, i as AgentHostAgentSpec, j as RuntimeBundle, k as PiHarnessOptions, l as AgentMeteringSink, m as RuntimeFilesystemBinding, n as CreatedAgentHost, o as MeteringErrorLogger, p as ReadyStatusTracker, q as CreateAgentHostOptions, r as CompiledAgentHostAgentSpec, s as AgentRequestLedger, t as AgentEffectAdmission, u as AuthorizedEnvironmentIntent, v as AgentHostEnvironmentScope, w as ResolvedAgentRuntimeScope, x as AgentRequestKey, y as AgentRequestLedgerPrepareResult, z as AgentRequestFailure, D as AgentRequestLedgerRecord, E as AgentFleetCompiler, F as AgentRequestTarget, G as RuntimeFilesystemAccessDecision } from '../types-BTsdaAQ2.js';
|
|
2
|
+
export { A as AgentGatewayEffect, H as AgentHostDescription, I as AgentHostDirectProjectionOptions, J as AgentHostDispatcherRunInput, K as AgentHostEnvironmentLease, L as AgentHostHandle, N as LegacyDefaultAgentHostSpec, O as MeteringReleaseInput, Q as MeteringReleaseReason, S as MeteringReservationResult, T as MeteringReserveInput, U as MeteringRunKind, V as MeteringRunScope, X as MeteringRunStatus, Y as MeteringSettleInput, Z as MeteringUsage, _ as MeteringUsageInput, $ as PI_PACKAGE_RESOURCE_FILTERS, a0 as PiExtensionFactory, a1 as PluginSkillSource, a2 as ResolvedEnvironmentScope, a3 as RuntimeFilesystemBindingOperations, a4 as RuntimeNodePackageSpec, a5 as RuntimeProvisioningContribution, a6 as RuntimePythonSpec, a7 as RuntimeTemplateContribution, a8 as WorkspaceProvisioningExecResult, a9 as compactPiPackages, aa as mergePiPackageSources, ab as normalizeMeteringUsage, ac as piPackageSourceKey } from '../types-BTsdaAQ2.js';
|
|
3
3
|
import { d as ExecOptions, a as ExecResult, W as WorkspaceChangeEvent, b as Workspace, c as Sandbox } from '../sandbox-BMhut3kh.js';
|
|
4
4
|
export { h as RuntimeFilesystemCapability } from '../sandbox-BMhut3kh.js';
|
|
5
5
|
import { b as RemoteWorkerHealthResponse, R as RemoteWorkerWorkspaceOp, a as RemoteWorkerWorkspaceResult, c as RemoteWorkerExecRequest } from '../middleware-CaAEXpi5.js';
|
|
6
6
|
export { d as REMOTE_WORKER_EXCLUSIVE_BINARY_CREATE_CAPABILITY, e as REMOTE_WORKER_PROVIDER, f as REMOTE_WORKER_RUNTIME_CWD, g as RemoteWorkerErrorPayload, h as RemoteWorkerExecResponse, i as RemoteWorkerFsEventEnvelope, W as WORKER_INTERNAL_TOKEN_HEADER, j as WORKER_REQUEST_ID_HEADER, k as WORKER_WORKSPACE_ID_HEADER, l as createAgentAuthMiddleware } from '../middleware-CaAEXpi5.js';
|
|
7
7
|
import { SandboxProviderV1, WorkspaceSandboxPairV1 } from '@hachej/boring-sandbox/shared';
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
|
|
8
|
+
import { BwrapSandboxProviderOptions } from '@hachej/boring-sandbox/providers/bwrap';
|
|
9
|
+
import { F as SandboxHandleStore, k as CompiledAgentBundle, a as Sha256Digest, i as AgentDeployment, M as ShareEntryStore, y as ProviderId, c as CredentialFieldId, B as ResolvedCredentialMaterialV1, d as AuthorizedWorkspaceCredentialScopeV1, V as VerifiedWorkspaceCredentialAuthorityV1, X as WorkspaceCredentialAuthorityVerifierV1, n as CredentialConsumerBindingRegistryV1, z as ProviderRegistryV1, Y as WorkspaceCredentialResolverV1, P as ProviderCredentialRefV1, R as ResolvedCredentialLeaseV1 } from '../lease-DffrPrQn.js';
|
|
10
|
+
import { y as ErrorCode, n as SessionCtx, c as PiChatEvent, S as SessionStore, a as SessionListOptions, b as SessionSummary, P as PiChatSnapshot, d as PromptPayload, e as PromptReceipt, F as FollowUpPayload, f as FollowUpReceipt, Q as QueueClearPayload, g as QueueClearReceipt, I as InterruptPayload, i as StopPayload, j as StopReceipt } from '../piChatEvent-iNSXiFQq.js';
|
|
11
|
+
import { x as JsonValue, A as AgentGateway, a as AuthorizedAgentScope, b as AgentSessionRef, c as AgentSessionActivity, V as VerifiedAgentScopeClaim, i as AgentGatewayErrorDTO, p as AgentSessionSummary, o as AgentSessionStateSnapshot, l as AgentSessionConnection } from '../errors-DH7C01Pm.js';
|
|
12
|
+
import { d as AgentActor, j as AgentEvent, v as TelemetrySink, s as AgentTool, D as AgentHarnessFactory, A as AgentHarness } from '../harness-Dcd08yKr.js';
|
|
13
|
+
export { u as AgentConfig, E as AgentHarnessFactoryInput } from '../harness-Dcd08yKr.js';
|
|
13
14
|
import { IncomingMessage, ServerResponse } from 'node:http';
|
|
14
15
|
import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
|
|
15
16
|
import { FastifyRequest, FastifyInstance, FastifyPluginCallback } from 'fastify';
|
|
16
|
-
import { i as PiSessionRequestContext, g as PiChatSessionService, h as PiSessionCreateInit, e as PiChatEventSubscriber, P as PiChatEventStreamResult } from '../piChatSessionService-
|
|
17
|
-
import { c as WorkspaceAgentDirectRunInput, W as WorkspaceAgentDirectRunCallback, f as WorkspaceAgentDispatcherContext, e as WorkspaceAgentDispatcher, i as WorkspaceAgentGatewayBinding } from '../file-search-
|
|
18
|
-
export { L as LeaseBoundWorkspaceAgent } from '../file-search-
|
|
17
|
+
import { i as PiSessionRequestContext, g as PiChatSessionService, h as PiSessionCreateInit, e as PiChatEventSubscriber, P as PiChatEventStreamResult } from '../piChatSessionService-DQSQ_kWZ.js';
|
|
18
|
+
import { c as WorkspaceAgentDirectRunInput, W as WorkspaceAgentDirectRunCallback, f as WorkspaceAgentDispatcherContext, e as WorkspaceAgentDispatcher, i as WorkspaceAgentGatewayBinding } from '../file-search-qcD5zItr.js';
|
|
19
|
+
export { L as LeaseBoundWorkspaceAgent } from '../file-search-qcD5zItr.js';
|
|
19
20
|
import { SettingsManager } from '@mariozechner/pi-coding-agent';
|
|
20
21
|
import '@hachej/boring-bash/agent';
|
|
21
22
|
import '@hachej/boring-sandbox/providers/node-workspace';
|
|
@@ -221,6 +222,7 @@ declare function createProviderRuntimeModeAdapter(options: ProviderRuntimeModeAd
|
|
|
221
222
|
declare const sandboxRuntimeHostOperations: AgentRuntimeHostOperations;
|
|
222
223
|
interface SandboxRuntimeModeOptions {
|
|
223
224
|
readonly sandboxHandleStore?: SandboxHandleStore;
|
|
225
|
+
readonly bwrap?: BwrapSandboxProviderOptions;
|
|
224
226
|
}
|
|
225
227
|
/** Built-in runtime layout root without exposing provider package constants to consumers. */
|
|
226
228
|
declare function resolveBuiltinRuntimeLayoutRoot(mode: BuiltinRuntimeModeId, workspaceRoot: string): string;
|
|
@@ -297,10 +299,11 @@ interface TrustedAgentInstructionAppendix {
|
|
|
297
299
|
interface TrustedAuthoredAgentPolicy {
|
|
298
300
|
readonly fallbackLabel?: string;
|
|
299
301
|
/**
|
|
300
|
-
*
|
|
301
|
-
* by the trusted composer that actually knows where they live.
|
|
302
|
+
* Authored instruction sources for this agent as host absolute paths,
|
|
303
|
+
* supplied by the trusted composer that actually knows where they live.
|
|
304
|
+
* Addressing them against a served workspace root is a per-request concern.
|
|
302
305
|
*/
|
|
303
|
-
readonly
|
|
306
|
+
readonly instructionSources?: readonly AgentInstructionSource[];
|
|
304
307
|
readonly instructionAppendices?: readonly TrustedAgentInstructionAppendix[];
|
|
305
308
|
readonly plugins?: readonly {
|
|
306
309
|
readonly name: string;
|
|
@@ -364,22 +367,6 @@ interface DiscoveredAgentPackageDescriptor {
|
|
|
364
367
|
interface LoadConfiguredAgentFleetOptions {
|
|
365
368
|
/** Plugin-manager scan descriptors injected by the workspace/CLI boot layer. */
|
|
366
369
|
readonly discoveredPackages: readonly DiscoveredAgentPackageDescriptor[];
|
|
367
|
-
/**
|
|
368
|
-
* Root of the workspace the `user` filesystem serves, or `null` when the
|
|
369
|
-
* host resolves a DIFFERENT root per request (core, the CLI hub) and so has
|
|
370
|
-
* no single one at fleet-composition time.
|
|
371
|
-
*
|
|
372
|
-
* Required, because published `instructionFiles` are addressed relative to
|
|
373
|
-
* it and only the caller knows it. It is NOT derivable from the discovered
|
|
374
|
-
* package roots: a fleet can be composed from packages that live outside
|
|
375
|
-
* the workspace root, and guessing produced well-formed paths that
|
|
376
|
-
* resolved to nothing.
|
|
377
|
-
*
|
|
378
|
-
* `null` is not a soft option — it makes the host structurally unable to
|
|
379
|
-
* publish a ref it cannot guarantee, which is the honest answer for
|
|
380
|
-
* per-workspace roots.
|
|
381
|
-
*/
|
|
382
|
-
readonly workspaceRoot: string | null;
|
|
383
370
|
/** Path to `.agents/factory/fleet.yaml`. */
|
|
384
371
|
readonly fleetConfigPath: string;
|
|
385
372
|
/** Path to `.agents/factory/policy.yaml` (read for `models.seats` tiers). */
|
|
@@ -392,7 +379,7 @@ interface LoadConfiguredAgentFleetOptions {
|
|
|
392
379
|
/** Overridable for tests; defaults to `process.env`. */
|
|
393
380
|
readonly env?: NodeJS.ProcessEnv;
|
|
394
381
|
}
|
|
395
|
-
type FleetLoaderDiagnosticCode = Extract<ErrorCode, 'AGENT_FLEET_SEAT_PERSONA_INVALID' | 'AGENT_FLEET_SEAT_SKILL_DIGEST_MISMATCH' | 'AGENT_DEFINITION_ID_CONFLICT' | 'AGENT_DEFINITION_UNSEATED'
|
|
382
|
+
type FleetLoaderDiagnosticCode = Extract<ErrorCode, 'AGENT_FLEET_SEAT_PERSONA_INVALID' | 'AGENT_FLEET_SEAT_SKILL_DIGEST_MISMATCH' | 'AGENT_DEFINITION_ID_CONFLICT' | 'AGENT_DEFINITION_UNSEATED'>;
|
|
396
383
|
interface FleetLoaderDiagnostic {
|
|
397
384
|
readonly seat?: string;
|
|
398
385
|
readonly agentTypeId: string;
|
|
@@ -428,6 +415,40 @@ declare class FleetConfigError extends Error {
|
|
|
428
415
|
*/
|
|
429
416
|
declare function loadConfiguredAgentFleet(options: LoadConfiguredAgentFleetOptions): Promise<LoadConfiguredAgentFleetResult>;
|
|
430
417
|
|
|
418
|
+
type InstructionRefWithholdingCode = Extract<ErrorCode, 'AGENT_FLEET_SEAT_INSTRUCTIONS_PATH_UNPUBLISHABLE'>;
|
|
419
|
+
interface WithheldInstructionRef {
|
|
420
|
+
readonly code: InstructionRefWithholdingCode;
|
|
421
|
+
/** Host absolute path of the authored source that could not be addressed. */
|
|
422
|
+
readonly absolutePath: string;
|
|
423
|
+
readonly message: string;
|
|
424
|
+
}
|
|
425
|
+
interface ResolvedInstructionFileRefs {
|
|
426
|
+
readonly refs: readonly AgentInstructionFileRef[];
|
|
427
|
+
readonly withheld: readonly WithheldInstructionRef[];
|
|
428
|
+
}
|
|
429
|
+
/**
|
|
430
|
+
* Addresses authored instruction sources against the workspace root a SINGLE
|
|
431
|
+
* request is served from, which is the only moment a multi-workspace host
|
|
432
|
+
* (the CLI hub, core) knows one — composition time sees a fleet shared by
|
|
433
|
+
* every workspace (gh-1189).
|
|
434
|
+
*
|
|
435
|
+
* Publication is deterministic and fails closed: a ref is emitted only when
|
|
436
|
+
* the source canonically resolves inside the served root AND composes a path
|
|
437
|
+
* the client-side openable-resource guard accepts. Anything else is withheld
|
|
438
|
+
* with the stable `AGENT_FLEET_SEAT_INSTRUCTIONS_PATH_UNPUBLISHABLE` code, so
|
|
439
|
+
* the invariant from #1176 holds: a rendered link always resolves.
|
|
440
|
+
*
|
|
441
|
+
* Canonicalization (not lexical containment) on BOTH sides is the point:
|
|
442
|
+
* dotfile managers make a symlinked `.agents` ordinary, and a lexical check
|
|
443
|
+
* would call `~/project/.agents -> ~/dotfiles/agents` "inside the workspace"
|
|
444
|
+
* and publish a link the `user` filesystem cannot open.
|
|
445
|
+
*/
|
|
446
|
+
declare function resolveAgentInstructionFileRefs(input: {
|
|
447
|
+
readonly sources: readonly AgentInstructionSource[] | undefined;
|
|
448
|
+
/** Root the `user` filesystem serves for THIS request, when the host resolved one. */
|
|
449
|
+
readonly workspaceRoot: string | null | undefined;
|
|
450
|
+
}): Promise<ResolvedInstructionFileRefs>;
|
|
451
|
+
|
|
431
452
|
declare const LEGACY_DEFAULT_AGENT_FLEET: readonly AgentHostAgentSpec[];
|
|
432
453
|
interface ResolveDefaultAgentFleetOptions {
|
|
433
454
|
/**
|
|
@@ -437,16 +458,6 @@ interface ResolveDefaultAgentFleetOptions {
|
|
|
437
458
|
readonly repositoryRoot?: string;
|
|
438
459
|
/** Asset-manager scan results supplied by the workspace/CLI boot layer. */
|
|
439
460
|
readonly discoveredPackages?: readonly DiscoveredAgentPackageDescriptor[];
|
|
440
|
-
/**
|
|
441
|
-
* Root of the workspace the `user` filesystem serves, or `null` when the
|
|
442
|
-
* host resolves one per request. Explicit rather than defaulted, because it
|
|
443
|
-
* is a DIFFERENT root from `repositoryRoot` in every multi-workspace host —
|
|
444
|
-
* the two only coincide in the single-root dogfood/playground case.
|
|
445
|
-
* Personas outside it are not published as openable instruction refs (see
|
|
446
|
-
* `loadConfiguredAgentFleet`): a well-formed path the workbench cannot open
|
|
447
|
-
* is worse than no link.
|
|
448
|
-
*/
|
|
449
|
-
readonly workspaceRoot: string | null;
|
|
450
461
|
/** Overridable for tests; defaults to `process.env`. */
|
|
451
462
|
readonly env?: NodeJS.ProcessEnv;
|
|
452
463
|
}
|
|
@@ -1104,7 +1115,7 @@ interface AgentHostRuntime {
|
|
|
1104
1115
|
readonly effectAdmission: AgentEffectAdmission;
|
|
1105
1116
|
readonly activity: AgentSessionActivityIndex;
|
|
1106
1117
|
readonly shutdownGraceMs: number;
|
|
1107
|
-
listSessionSummaries(agentTypeId: string, scope: AuthorizedAgentScope, claim: VerifiedAgentScopeClaim): Promise<readonly SessionSummary[]>;
|
|
1118
|
+
listSessionSummaries(agentTypeId: string, scope: AuthorizedAgentScope, claim: VerifiedAgentScopeClaim, options?: SessionListOptions): Promise<readonly SessionSummary[]>;
|
|
1108
1119
|
isDraining(): boolean;
|
|
1109
1120
|
assertOpen(): void;
|
|
1110
1121
|
verify(scope: AuthorizedAgentScope): Promise<VerifiedAgentScopeClaim>;
|
|
@@ -1475,4 +1486,4 @@ declare function createInMemoryCredentialBackendV1(entries: readonly InMemoryCre
|
|
|
1475
1486
|
|
|
1476
1487
|
declare function withResolvedCredential<T>(resolver: WorkspaceCredentialResolverV1, workspace: AuthorizedWorkspaceCredentialScopeV1, ref: ProviderCredentialRefV1, fn: (lease: ResolvedCredentialLeaseV1) => T | Promise<T>): Promise<T>;
|
|
1477
1488
|
|
|
1478
|
-
export { AgentDirectoryCompilerError, type AgentDirectoryCompilerErrorCode, type AgentDirectoryCompilerPublicErrorCode, AgentEffectAdmission, AgentFleetCompilationError, AgentFleetCompilationErrorCode, AgentFleetCompiler, type AgentFleetPluginBindingContract, AgentHarnessFactory, AgentHostAgentSpec, type AgentHostEnvironmentHttpProjectionOptions, AgentHostEnvironmentScope, AgentInstructionFileRef, AgentMeteringSink, AgentRequestKey, AgentRequestLedger, AgentRequestLedgerPrepareResult, AgentRequestLedgerRecord, AgentRuntimeHostOperations, AuthoredAgentMaterializationError, type AuthoredAgentMaterializationErrorCode, type AuthoredAgentSourceV1, AuthorizedAgentScope, AuthorizedEnvironmentIntent, type AuthorizedSessionRunDetails, BuiltinRuntimeModeId, CompiledAgentHostAgentSpec, ConfiguredAgentHostAgentSpec, CreateAgentHostOptions, type CreateConfiguredAgentHostAgentSpecInput, type CreateStandaloneAgentHostAppOptions, type CreateValidatingAgentFleetCompilerOptions, CreatedAgentHost, type CredentialStoreBackendV1, DEFAULT_PI_RESOURCE_DIGEST_LIMITS, DEFAULT_READONLY_WORKSPACE_PATHS, type DeploymentSnapshotProvider, type DeploymentSnapshotRecipe, type DeploymentSnapshotResult, type DeploymentSnapshotStatus, type DiscoveredAgentPackageDescriptor, EmbeddedAgentGateway, type FakeAuthorityVerifierGrantV1, FleetConfigError, type FleetConfigErrorCode, type FleetLoaderDiagnostic, type FleetLoaderDiagnosticCode, type FleetSeatBinding, type FleetSkillBinding, type HostSideCredentialResolverOptionsV1, InMemoryAgentRequestLedger, type InMemoryCredentialBackendEntryV1, LEGACY_DEFAULT_AGENT_FLEET, type LoadConfiguredAgentFleetOptions, type LoadConfiguredAgentFleetResult, 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 MaterializeAgentDirectoryInput, MeteringErrorLogger, ModeContext, type ModelTierCandidate, PiHarnessOptions, PiPackageSource, type PiResourceDigestInput, type PiResourceDigestLimits, type PiResourceSet, type ProvisionRuntimeWorkspaceOptions, ProvisionWorkspaceRuntimeOptions, type ProvisioningArtifactRequest, RUNTIME_FILESYSTEM_BINDING_DUPLICATE_CODE, RUNTIME_READONLY_FILESYSTEM_POLICY_INVALID_CODE, RemoteWorkerClient, RemoteWorkerClientError, type RemoteWorkerClientOptions, RemoteWorkerExecRequest, type RemoteWorkerModeAdapterOptions, RemoteWorkerWorkspaceOp, RemoteWorkerWorkspaceResult, type ResolveDefaultAgentFleetOptions, type ResolvedAgent, type ResolvedAgentDigestInput, ResolvedAgentRuntimeScope, RuntimeBundle, type RuntimeEnvContribution, type RuntimeEnvContributionContext, RuntimeFilesystemAccessDecision, RuntimeFilesystemBinding, RuntimeFilesystemBindingConfigurationError, RuntimeModeAdapter, RuntimeModeId, type RuntimeReadonlyFilesystemPolicy, RuntimeReadonlyFilesystemPolicyError, type RuntimeWorkspaceProvisioningResult, type SandboxRuntimeModeOptions, type ShareEntryMcpResourceOptions, type SkillMetadataFrontmatter, SqliteAgentRequestLedger, TrustedAgentCompositionError, type TrustedAgentInstructionAppendix, type TrustedAuthoredAgentPolicy, UV_SETUP_COMMANDS, VerifiedAgentScopeClaim, type WorkspaceAgentDispatcherBinding, type WorkspaceAgentDispatcherResolveOptions, type WorkspaceAgentDispatcherResolver, WorkspaceProvisioningAdapter, WorkspaceProvisioningResult, applyCspHeaders, autoDetectMode, buildDeploymentSnapshotRecipe, compileAgentDirectory, compilePersonaPackageDirectory, constantTimeTokenEqual, createAgentHost, createBlaxelSandboxModeAdapter, createBoundWorkspaceAgentDispatcher, createConfiguredAgentHostAgentSpec, createDirectModeAdapter, createEnvironmentProvisioningFingerprint, createFakeAuthorityVerifierV1, createHostSideCredentialResolverV1, createInMemoryCredentialBackendV1, createLocalModeAdapter, createManagedAgentMcpDelegateController, createManagedAgentMcpHttpHandler, createManagedAgentMcpServer, createPiResourceDigestFence, createPiResourceDigestInput, createPluginDiagnosticsTool, createProviderRuntimeModeAdapter, createRemoteWorkerModeAdapter, createRemoteWorkerSandbox, createRemoteWorkerWorkspace, createResolvedAgentDigest, createResolvedRuntimeScopeIdentity, createResourceSettingsManager, createSandboxRuntimeModeAdapter, createStandaloneAgentHostApp, createUserFilesystemBinding, createValidatingAgentFleetCompiler, createVercelSandboxModeAdapter, decodeBytesFromWorker, deepLinkRoutes, digestPiResourceInputs, encodeBytesForWorker, hasBwrap, loadConfiguredAgentFleet, materializeAgentDirectory, mergeRuntimeFilesystemBindings, normalizeRuntimeReadonlyFilesystemPolicy, parseSkillMetadataFrontmatter, prepareDeploymentSnapshot, projectAuthorizedSessionRunDetails, provisionRuntimeWorkspace, provisionWorkspaceRuntime, registerAgentHostEnvironmentRoutes, registerShareEntryResources, resolveAgentDeployment, resolveBuiltinRuntimeLayoutRoot, resolveDefaultAgentFleet, resolveMode, resolveRuntimeReadonlyFilesystemAccess, resolveWorkspaceRoot, sandboxRuntimeHostOperations, shareResourceUri, withResolvedCredential, withRuntimeEnvContributions };
|
|
1489
|
+
export { AgentDirectoryCompilerError, type AgentDirectoryCompilerErrorCode, type AgentDirectoryCompilerPublicErrorCode, AgentEffectAdmission, AgentFleetCompilationError, AgentFleetCompilationErrorCode, AgentFleetCompiler, type AgentFleetPluginBindingContract, AgentHarnessFactory, AgentHostAgentSpec, type AgentHostEnvironmentHttpProjectionOptions, AgentHostEnvironmentScope, AgentInstructionFileRef, AgentInstructionSource, AgentMeteringSink, AgentRequestKey, AgentRequestLedger, AgentRequestLedgerPrepareResult, AgentRequestLedgerRecord, AgentRuntimeHostOperations, AuthoredAgentMaterializationError, type AuthoredAgentMaterializationErrorCode, type AuthoredAgentSourceV1, AuthorizedAgentScope, AuthorizedEnvironmentIntent, type AuthorizedSessionRunDetails, BuiltinRuntimeModeId, CompiledAgentHostAgentSpec, ConfiguredAgentHostAgentSpec, CreateAgentHostOptions, type CreateConfiguredAgentHostAgentSpecInput, type CreateStandaloneAgentHostAppOptions, type CreateValidatingAgentFleetCompilerOptions, CreatedAgentHost, type CredentialStoreBackendV1, DEFAULT_PI_RESOURCE_DIGEST_LIMITS, DEFAULT_READONLY_WORKSPACE_PATHS, type DeploymentSnapshotProvider, type DeploymentSnapshotRecipe, type DeploymentSnapshotResult, type DeploymentSnapshotStatus, type DiscoveredAgentPackageDescriptor, EmbeddedAgentGateway, type FakeAuthorityVerifierGrantV1, FleetConfigError, type FleetConfigErrorCode, type FleetLoaderDiagnostic, type FleetLoaderDiagnosticCode, type FleetSeatBinding, type FleetSkillBinding, type HostSideCredentialResolverOptionsV1, InMemoryAgentRequestLedger, type InMemoryCredentialBackendEntryV1, LEGACY_DEFAULT_AGENT_FLEET, type LoadConfiguredAgentFleetOptions, type LoadConfiguredAgentFleetResult, 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 MaterializeAgentDirectoryInput, MeteringErrorLogger, ModeContext, type ModelTierCandidate, PiHarnessOptions, PiPackageSource, type PiResourceDigestInput, type PiResourceDigestLimits, type PiResourceSet, type ProvisionRuntimeWorkspaceOptions, ProvisionWorkspaceRuntimeOptions, type ProvisioningArtifactRequest, RUNTIME_FILESYSTEM_BINDING_DUPLICATE_CODE, RUNTIME_READONLY_FILESYSTEM_POLICY_INVALID_CODE, RemoteWorkerClient, RemoteWorkerClientError, type RemoteWorkerClientOptions, RemoteWorkerExecRequest, type RemoteWorkerModeAdapterOptions, RemoteWorkerWorkspaceOp, RemoteWorkerWorkspaceResult, type ResolveDefaultAgentFleetOptions, type ResolvedAgent, type ResolvedAgentDigestInput, ResolvedAgentRuntimeScope, type ResolvedInstructionFileRefs, RuntimeBundle, type RuntimeEnvContribution, type RuntimeEnvContributionContext, RuntimeFilesystemAccessDecision, RuntimeFilesystemBinding, RuntimeFilesystemBindingConfigurationError, RuntimeModeAdapter, RuntimeModeId, type RuntimeReadonlyFilesystemPolicy, RuntimeReadonlyFilesystemPolicyError, type RuntimeWorkspaceProvisioningResult, type SandboxRuntimeModeOptions, type ShareEntryMcpResourceOptions, type SkillMetadataFrontmatter, SqliteAgentRequestLedger, TrustedAgentCompositionError, type TrustedAgentInstructionAppendix, type TrustedAuthoredAgentPolicy, UV_SETUP_COMMANDS, VerifiedAgentScopeClaim, type WithheldInstructionRef, type WorkspaceAgentDispatcherBinding, type WorkspaceAgentDispatcherResolveOptions, type WorkspaceAgentDispatcherResolver, WorkspaceProvisioningAdapter, WorkspaceProvisioningResult, applyCspHeaders, autoDetectMode, buildDeploymentSnapshotRecipe, compileAgentDirectory, compilePersonaPackageDirectory, constantTimeTokenEqual, createAgentHost, createBlaxelSandboxModeAdapter, createBoundWorkspaceAgentDispatcher, createConfiguredAgentHostAgentSpec, createDirectModeAdapter, createEnvironmentProvisioningFingerprint, createFakeAuthorityVerifierV1, createHostSideCredentialResolverV1, createInMemoryCredentialBackendV1, createLocalModeAdapter, createManagedAgentMcpDelegateController, createManagedAgentMcpHttpHandler, createManagedAgentMcpServer, createPiResourceDigestFence, createPiResourceDigestInput, createPluginDiagnosticsTool, createProviderRuntimeModeAdapter, createRemoteWorkerModeAdapter, createRemoteWorkerSandbox, createRemoteWorkerWorkspace, createResolvedAgentDigest, createResolvedRuntimeScopeIdentity, createResourceSettingsManager, createSandboxRuntimeModeAdapter, createStandaloneAgentHostApp, createUserFilesystemBinding, createValidatingAgentFleetCompiler, createVercelSandboxModeAdapter, decodeBytesFromWorker, deepLinkRoutes, digestPiResourceInputs, encodeBytesForWorker, hasBwrap, loadConfiguredAgentFleet, materializeAgentDirectory, mergeRuntimeFilesystemBindings, normalizeRuntimeReadonlyFilesystemPolicy, parseSkillMetadataFrontmatter, prepareDeploymentSnapshot, projectAuthorizedSessionRunDetails, provisionRuntimeWorkspace, provisionWorkspaceRuntime, registerAgentHostEnvironmentRoutes, registerShareEntryResources, resolveAgentDeployment, resolveAgentInstructionFileRefs, resolveBuiltinRuntimeLayoutRoot, resolveDefaultAgentFleet, resolveMode, resolveRuntimeReadonlyFilesystemAccess, resolveWorkspaceRoot, sandboxRuntimeHostOperations, shareResourceUri, withResolvedCredential, withRuntimeEnvContributions };
|
package/dist/server/index.js
CHANGED
|
@@ -80,6 +80,7 @@ import {
|
|
|
80
80
|
registerAgentHostEnvironmentRoutes,
|
|
81
81
|
registerShareEntryResources,
|
|
82
82
|
resolveAgentDeployment,
|
|
83
|
+
resolveAgentInstructionFileRefs,
|
|
83
84
|
resolveBuiltinRuntimeLayoutRoot,
|
|
84
85
|
resolveDefaultAgentFleet,
|
|
85
86
|
resolveMode,
|
|
@@ -89,18 +90,18 @@ import {
|
|
|
89
90
|
shareResourceUri,
|
|
90
91
|
withResolvedCredential,
|
|
91
92
|
withRuntimeEnvContributions
|
|
92
|
-
} from "../chunk-
|
|
93
|
+
} from "../chunk-LFN45QDZ.js";
|
|
93
94
|
import {
|
|
94
95
|
PI_PACKAGE_RESOURCE_FILTERS,
|
|
95
96
|
compactPiPackages,
|
|
96
97
|
createResourceSettingsManager,
|
|
97
98
|
mergePiPackageSources,
|
|
98
99
|
piPackageSourceKey
|
|
99
|
-
} from "../chunk-
|
|
100
|
+
} from "../chunk-F2OJI2LX.js";
|
|
100
101
|
import "../chunk-JNEKOVMJ.js";
|
|
101
102
|
import "../chunk-4IQ4HHBG.js";
|
|
102
103
|
import "../chunk-WSQ5QNIY.js";
|
|
103
|
-
import "../chunk-
|
|
104
|
+
import "../chunk-6DRHERVK.js";
|
|
104
105
|
import "../chunk-YGRQ4Q5P.js";
|
|
105
106
|
import "../chunk-K25PK5EC.js";
|
|
106
107
|
export {
|
|
@@ -190,6 +191,7 @@ export {
|
|
|
190
191
|
registerAgentHostEnvironmentRoutes,
|
|
191
192
|
registerShareEntryResources,
|
|
192
193
|
resolveAgentDeployment,
|
|
194
|
+
resolveAgentInstructionFileRefs,
|
|
193
195
|
resolveBuiltinRuntimeLayoutRoot,
|
|
194
196
|
resolveDefaultAgentFleet,
|
|
195
197
|
resolveMode,
|
|
@@ -2,12 +2,12 @@ import {
|
|
|
2
2
|
REMOTE_WORKER_EXCLUSIVE_BINARY_CREATE_CAPABILITY,
|
|
3
3
|
WORKER_INTERNAL_TOKEN_HEADER,
|
|
4
4
|
constantTimeTokenEqual
|
|
5
|
-
} from "../../chunk-
|
|
6
|
-
import "../../chunk-
|
|
5
|
+
} from "../../chunk-LFN45QDZ.js";
|
|
6
|
+
import "../../chunk-F2OJI2LX.js";
|
|
7
7
|
import "../../chunk-JNEKOVMJ.js";
|
|
8
8
|
import "../../chunk-4IQ4HHBG.js";
|
|
9
9
|
import "../../chunk-WSQ5QNIY.js";
|
|
10
|
-
import "../../chunk-
|
|
10
|
+
import "../../chunk-6DRHERVK.js";
|
|
11
11
|
import "../../chunk-YGRQ4Q5P.js";
|
|
12
12
|
import "../../chunk-K25PK5EC.js";
|
|
13
13
|
|