@hachej/boring-agent 0.1.91 → 0.1.93

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.
@@ -27,6 +27,12 @@
27
27
  --text-base--line-height: calc(1.5 / 1);
28
28
  --text-lg: 1.125rem;
29
29
  --text-lg--line-height: calc(1.75 / 1.125);
30
+ --text-xl: 1.25rem;
31
+ --text-xl--line-height: calc(1.75 / 1.25);
32
+ --text-2xl: 1.5rem;
33
+ --text-2xl--line-height: calc(2 / 1.5);
34
+ --text-3xl: 1.875rem;
35
+ --text-3xl--line-height: calc(2.25 / 1.875);
30
36
  --font-weight-normal: 400;
31
37
  --font-weight-medium: 500;
32
38
  --font-weight-semibold: 600;
@@ -149,6 +155,9 @@
149
155
  .m-0 {
150
156
  margin: 0;
151
157
  }
158
+ .mx-0\.5 {
159
+ margin-inline: calc(var(--spacing) * 0.5);
160
+ }
152
161
  .mx-2 {
153
162
  margin-inline: calc(var(--spacing) * 2);
154
163
  }
@@ -188,6 +197,9 @@
188
197
  .mt-4 {
189
198
  margin-top: calc(var(--spacing) * 4);
190
199
  }
200
+ .mt-6 {
201
+ margin-top: calc(var(--spacing) * 6);
202
+ }
191
203
  .mt-8 {
192
204
  margin-top: calc(var(--spacing) * 8);
193
205
  }
@@ -257,9 +269,15 @@
257
269
  .inline-flex {
258
270
  display: inline-flex;
259
271
  }
272
+ .list-item {
273
+ display: list-item;
274
+ }
260
275
  .table {
261
276
  display: table;
262
277
  }
278
+ .table-cell {
279
+ display: table-cell;
280
+ }
263
281
  .\[field-sizing\:fixed\] {
264
282
  field-sizing: fixed;
265
283
  }
@@ -844,6 +862,12 @@
844
862
  border-color: color-mix(in oklab, var(--border) 60%, transparent);
845
863
  }
846
864
  }
865
+ .border-border\/70 {
866
+ border-color: var(--border);
867
+ @supports (color: color-mix(in lab, red, red)) {
868
+ border-color: color-mix(in oklab, var(--border) 70%, transparent);
869
+ }
870
+ }
847
871
  .border-border\/80 {
848
872
  border-color: var(--border);
849
873
  @supports (color: color-mix(in lab, red, red)) {
@@ -1379,10 +1403,30 @@
1379
1403
  font-size: var(--text-xs) !important;
1380
1404
  line-height: var(--tw-leading, var(--text-xs--line-height)) !important;
1381
1405
  }
1406
+ .text-2xl {
1407
+ font-size: var(--text-2xl);
1408
+ line-height: var(--tw-leading, var(--text-2xl--line-height));
1409
+ }
1410
+ .text-3xl {
1411
+ font-size: var(--text-3xl);
1412
+ line-height: var(--tw-leading, var(--text-3xl--line-height));
1413
+ }
1414
+ .text-base {
1415
+ font-size: var(--text-base);
1416
+ line-height: var(--tw-leading, var(--text-base--line-height));
1417
+ }
1418
+ .text-lg {
1419
+ font-size: var(--text-lg);
1420
+ line-height: var(--tw-leading, var(--text-lg--line-height));
1421
+ }
1382
1422
  .text-sm {
1383
1423
  font-size: var(--text-sm);
1384
1424
  line-height: var(--tw-leading, var(--text-sm--line-height));
1385
1425
  }
1426
+ .text-xl {
1427
+ font-size: var(--text-xl);
1428
+ line-height: var(--tw-leading, var(--text-xl--line-height));
1429
+ }
1386
1430
  .text-xs {
1387
1431
  font-size: var(--text-xs);
1388
1432
  line-height: var(--tw-leading, var(--text-xs--line-height));
@@ -1459,6 +1503,10 @@
1459
1503
  --tw-font-weight: var(--font-weight-medium);
1460
1504
  font-weight: var(--font-weight-medium);
1461
1505
  }
1506
+ .font-semibold {
1507
+ --tw-font-weight: var(--font-weight-semibold);
1508
+ font-weight: var(--font-weight-semibold);
1509
+ }
1462
1510
  .tracking-\[-0\.02em\] {
1463
1511
  --tw-tracking: -0.02em;
1464
1512
  letter-spacing: -0.02em;
@@ -1720,6 +1768,9 @@
1720
1768
  .underline {
1721
1769
  text-decoration-line: underline;
1722
1770
  }
1771
+ .underline-offset-2 {
1772
+ text-underline-offset: 2px;
1773
+ }
1723
1774
  .antialiased {
1724
1775
  -webkit-font-smoothing: antialiased;
1725
1776
  -moz-osx-font-smoothing: grayscale;
@@ -2329,6 +2380,13 @@
2329
2380
  }
2330
2381
  }
2331
2382
  }
2383
+ .hover\:underline {
2384
+ &:hover {
2385
+ @media (hover: hover) {
2386
+ text-decoration-line: underline;
2387
+ }
2388
+ }
2389
+ }
2332
2390
  .hover\:shadow-\[0_0_0_3px_oklch\(from_var\(--foreground\)_l_c_h\/0\.12\)\] {
2333
2391
  &:hover {
2334
2392
  @media (hover: hover) {
@@ -2393,6 +2451,11 @@
2393
2451
  }
2394
2452
  }
2395
2453
  }
2454
+ .focus-visible\:ring-ring {
2455
+ &:focus-visible {
2456
+ --tw-ring-color: var(--ring);
2457
+ }
2458
+ }
2396
2459
  .focus-visible\:ring-ring\/40 {
2397
2460
  &:focus-visible {
2398
2461
  --tw-ring-color: var(--ring);
@@ -2407,6 +2470,12 @@
2407
2470
  --tw-ring-offset-shadow: var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
2408
2471
  }
2409
2472
  }
2473
+ .focus-visible\:ring-offset-1 {
2474
+ &:focus-visible {
2475
+ --tw-ring-offset-width: 1px;
2476
+ --tw-ring-offset-shadow: var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
2477
+ }
2478
+ }
2410
2479
  .focus-visible\:outline-none {
2411
2480
  &:focus-visible {
2412
2481
  --tw-outline-style: none;
@@ -2763,6 +2832,11 @@
2763
2832
  margin-inline: auto;
2764
2833
  }
2765
2834
  }
2835
+ .\[\&\>p\]\:inline {
2836
+ &>p {
2837
+ display: inline;
2838
+ }
2839
+ }
2766
2840
  .\[\&\>svg\]\:size-2\.5 {
2767
2841
  &>svg {
2768
2842
  width: calc(var(--spacing) * 2.5);
@@ -1,4 +1,4 @@
1
- import { l as SessionCtx, b as PiChatEvent, S as SessionStore } from './piChatEvent-DBO3M5lu.js';
1
+ import { l as SessionCtx, b as PiChatEvent, S as SessionStore } from './piChatEvent-BsMp3MSo.js';
2
2
  import { AgentSessionEvent, PromptOptions } from '@mariozechner/pi-coding-agent';
3
3
 
4
4
  interface TelemetrySink {
@@ -1,6 +1,6 @@
1
- import { D as InterruptReceipt, j as StopReceipt, p as AgentDefinitionErrorCode, q as AgentDeploymentErrorCode } from './piChatEvent-DBO3M5lu.js';
2
- import { p as AgentSendInput, j as AgentEvent } from './harness-Bt_GMNYR.js';
3
- import { b as AgentSessionRef, n as AgentSendReceipt, A as AgentGateway, a as AuthorizedAgentScope } from './errors-BEmw9HMp.js';
1
+ import { D as InterruptReceipt, j as StopReceipt, p as AgentDefinitionErrorCode, q as AgentDeploymentErrorCode } from './piChatEvent-BsMp3MSo.js';
2
+ import { p as AgentSendInput, j as AgentEvent } from './harness-Cc48o6uS.js';
3
+ import { b as AgentSessionRef, n as AgentSendReceipt, A as AgentGateway, a as AuthorizedAgentScope } from './errors-C38f6pol.js';
4
4
  import { z } from 'zod';
5
5
  import { b as Workspace } from './sandbox-DAD8cWQR.js';
6
6
 
@@ -329,6 +329,7 @@ type PiChatEvent = {
329
329
  seq: number;
330
330
  path: string;
331
331
  changeType: string;
332
+ filesystem?: string;
332
333
  } | {
333
334
  type: 'ui-command';
334
335
  seq: number;
@@ -1,4 +1,4 @@
1
- import { m as SessionListOptions, k as SessionSummary, o as ChatModelSelection, n 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-DBO3M5lu.js';
1
+ import { m as SessionListOptions, k as SessionSummary, o as ChatModelSelection, n 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-BsMp3MSo.js';
2
2
 
3
3
  interface PiSessionRequestContext {
4
4
  workspaceId?: string;
@@ -1,14 +1,14 @@
1
- import { A as AgentGateway, a as AuthorizedAgentScope, b as AgentSessionRef, c as AgentSessionActivity } from '../../../errors-BEmw9HMp.js';
2
- import { A as AgentGatewayEffect } from '../../../types-jcMapYr9.js';
3
- import '../../../piChatEvent-DBO3M5lu.js';
1
+ import { A as AgentGateway, a as AuthorizedAgentScope, b as AgentSessionRef, c as AgentSessionActivity } from '../../../errors-C38f6pol.js';
2
+ import { A as AgentGatewayEffect } from '../../../types-uQozUhGt.js';
3
+ import '../../../piChatEvent-BsMp3MSo.js';
4
4
  import 'zod';
5
5
  import 'fastify';
6
- import '../../../harness-Bt_GMNYR.js';
6
+ import '../../../harness-Cc48o6uS.js';
7
7
  import '@mariozechner/pi-coding-agent';
8
8
  import '../../../sandbox-DAD8cWQR.js';
9
9
  import '@hachej/boring-bash/agent';
10
10
  import '@hachej/boring-sandbox/providers/node-workspace';
11
- import '../../../piChatSessionService-BaaVWke7.js';
11
+ import '../../../piChatSessionService-BrPqKrpY.js';
12
12
 
13
13
  /** G1 ships only the embedded bounded-replay contract. */
14
14
  type GatewayReplayConformanceLevel = 'B';
@@ -5,7 +5,7 @@ import {
5
5
  } from "../../../chunk-NITBKFG6.js";
6
6
  import "../../../chunk-AQBXNPMD.js";
7
7
  import "../../../chunk-WSQ5QNIY.js";
8
- import "../../../chunk-PZC76CIA.js";
8
+ import "../../../chunk-OFQ7J6SI.js";
9
9
  import "../../../chunk-2GBHYJVC.js";
10
10
 
11
11
  // src/server/agent-host/testing/gatewayConformance.ts
@@ -1,18 +1,18 @@
1
- import { P as ProvisionWorkspaceRuntimeOptions, W as WorkspaceProvisioningResult, R as RuntimeModeAdapter, a as RuntimeModeId, B as BuiltinRuntimeModeId, b as AgentRuntimeHostOperations, c as RuntimeBashStrategy, d as RuntimeFilesystemStrategy, M as ModeContext, e as WorkspaceProvisioningAdapter, f as RuntimeBundle, g as PiHarnessOptions, h as AgentMeteringSink, i as RuntimeFilesystemBinding, j as MeteringErrorLogger, k as ReadyStatusTracker, l as ResolvedAgentRuntimeScope, C as CreateAgentHostOptions, m as CompiledAgentHostAgentSpec, n as AgentRequestLedger, o as AgentEffectAdmission, p as AgentRequestKey, q as CreatedAgentHost, r as AgentFleetCompiler, A as AgentGatewayEffect, s as AgentRequestTarget, t as AgentRequestLedgerRecord, u as AgentRequestFailure, v as AgentHostLegacyRoutePolicy } from '../types-jcMapYr9.js';
2
- export { w as AgentHostAddressedHttpProjectionOptions, x as AgentHostAgentSpec, y as AgentHostDescription, z as AgentHostHandle, D as AgentHostHttpProjectionOptions, E as AgentHostLegacyHttpProjectionOptions, F as AgentHostLegacyProjectionComposition, G as AgentHostLegacyProjectionLifecycle, H as AgentHostLegacyProjectionRuntime, I as AgentHostLegacyRoutePolicyMountInput, J as ConfiguredAgentHostAgentSpec, L as LegacyDefaultAgentHostSpec, K as MeteringReleaseInput, N as MeteringReleaseReason, O as MeteringReservationResult, Q as MeteringReserveInput, S as MeteringRunKind, T as MeteringRunScope, U as MeteringRunStatus, V as MeteringSettleInput, X as MeteringUsage, Y as MeteringUsageInput, Z as PI_PACKAGE_RESOURCE_FILTERS, _ as PiExtensionFactory, $ as PiPackageSource, a0 as PluginSkillSource, a1 as ResolvedEnvironmentScope, a2 as RuntimeFilesystemBindingOperations, a3 as RuntimeNodePackageSpec, a4 as RuntimeProvisioningContribution, a5 as RuntimePythonSpec, a6 as RuntimeTemplateContribution, a7 as WorkspaceProvisioningExecResult, a8 as compactPiPackages, a9 as createResourceSettingsManager, aa as mergePiPackageSources, ab as normalizeMeteringUsage, ac as piPackageSourceKey } from '../types-jcMapYr9.js';
1
+ import { P as ProvisionWorkspaceRuntimeOptions, W as WorkspaceProvisioningResult, R as RuntimeModeAdapter, a as RuntimeModeId, B as BuiltinRuntimeModeId, b as AgentRuntimeHostOperations, c as RuntimeBashStrategy, d as RuntimeFilesystemStrategy, M as ModeContext, e as WorkspaceProvisioningAdapter, f as RuntimeBundle, g as PiHarnessOptions, h as AgentMeteringSink, i as RuntimeFilesystemBinding, j as MeteringErrorLogger, k as ReadyStatusTracker, l as ResolvedAgentRuntimeScope, C as CreateAgentHostOptions, m as CompiledAgentHostAgentSpec, n as AgentRequestLedger, o as AgentEffectAdmission, p as AgentRequestKey, q as CreatedAgentHost, r as AgentFleetCompiler, A as AgentGatewayEffect, s as AgentRequestTarget, t as AgentRequestLedgerRecord, u as AgentRequestFailure, v as AgentHostLegacyRoutePolicy } from '../types-uQozUhGt.js';
2
+ export { w as AgentHostAddressedHttpProjectionOptions, x as AgentHostAgentSpec, y as AgentHostDescription, z as AgentHostHandle, D as AgentHostHttpProjectionOptions, E as AgentHostLegacyHttpProjectionOptions, F as AgentHostLegacyProjectionComposition, G as AgentHostLegacyProjectionLifecycle, H as AgentHostLegacyProjectionRuntime, I as AgentHostLegacyRoutePolicyMountInput, J as ConfiguredAgentHostAgentSpec, L as LegacyDefaultAgentHostSpec, K as MeteringReleaseInput, N as MeteringReleaseReason, O as MeteringReservationResult, Q as MeteringReserveInput, S as MeteringRunKind, T as MeteringRunScope, U as MeteringRunStatus, V as MeteringSettleInput, X as MeteringUsage, Y as MeteringUsageInput, Z as PI_PACKAGE_RESOURCE_FILTERS, _ as PiExtensionFactory, $ as PiPackageSource, a0 as PluginSkillSource, a1 as ResolvedEnvironmentScope, a2 as RuntimeFilesystemBindingOperations, a3 as RuntimeNodePackageSpec, a4 as RuntimeProvisioningContribution, a5 as RuntimePythonSpec, a6 as RuntimeTemplateContribution, a7 as WorkspaceProvisioningExecResult, a8 as compactPiPackages, a9 as createResourceSettingsManager, aa as mergePiPackageSources, ab as normalizeMeteringUsage, ac as piPackageSourceKey } from '../types-uQozUhGt.js';
3
3
  import { E as ExecOptions, a as ExecResult, W as WorkspaceChangeEvent, b as Workspace, S as Sandbox } from '../sandbox-DAD8cWQR.js';
4
4
  import { R as RemoteWorkerWorkspaceOp, a as RemoteWorkerWorkspaceResult, b as RemoteWorkerExecRequest } from '../middleware-CzW8n7B7.js';
5
5
  export { 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 createAgentAuthMiddleware } from '../middleware-CzW8n7B7.js';
6
6
  import { SandboxProviderV1, WorkspaceSandboxPairV1 } from '@hachej/boring-sandbox/shared';
7
- import { S as SandboxHandleStore, C as CompiledAgentBundle, a as Sha256Digest, A as AgentDeployment, b as ShareEntryStore, P as PluginRestartWarning, W as WorkspaceAgentDispatcherContext, c as WorkspaceAgentDispatcher, d as ProviderId, e as CredentialFieldId, R as ResolvedCredentialMaterialV1, f as AuthorizedWorkspaceCredentialScopeV1, V as VerifiedWorkspaceCredentialAuthorityV1, g as WorkspaceCredentialAuthorityVerifierV1, h as CredentialConsumerBindingRegistryV1, i as ProviderRegistryV1, j as WorkspaceCredentialResolverV1, k as ProviderCredentialRefV1, l as ResolvedCredentialLeaseV1 } from '../lease-2aXepSBL.js';
8
- import { s as AgentConfig, b as Agent, d as AgentActor, j as AgentEvent, t as AgentTool, u as AgentHarnessFactory, T as TelemetrySink, A as AgentHarness } from '../harness-Bt_GMNYR.js';
9
- export { v as AgentHarnessFactoryInput } from '../harness-Bt_GMNYR.js';
10
- import { b as PiChatEvent, E as ErrorCode, l as SessionCtx, S as SessionStore, m as SessionListOptions, k as SessionSummary, n as PiChatSnapshot, c as PromptPayload, d as PromptReceipt, F as FollowUpPayload, e as FollowUpReceipt, f as QueueClearPayload, g as QueueClearReceipt, I as InterruptPayload, i as StopPayload, j as StopReceipt } from '../piChatEvent-DBO3M5lu.js';
11
- import { A as AgentGateway, a as AuthorizedAgentScope, b as AgentSessionRef, c as AgentSessionActivity, V as VerifiedAgentScopeClaim, d as AgentSessionSummary, e as AgentSessionStateSnapshot, f as AgentSessionConnection, J as JsonValue, g as AgentGatewayErrorDTO } from '../errors-BEmw9HMp.js';
7
+ import { S as SandboxHandleStore, C as CompiledAgentBundle, a as Sha256Digest, A as AgentDeployment, b as ShareEntryStore, P as PluginRestartWarning, W as WorkspaceAgentDispatcherContext, c as WorkspaceAgentDispatcher, d as ProviderId, e as CredentialFieldId, R as ResolvedCredentialMaterialV1, f as AuthorizedWorkspaceCredentialScopeV1, V as VerifiedWorkspaceCredentialAuthorityV1, g as WorkspaceCredentialAuthorityVerifierV1, h as CredentialConsumerBindingRegistryV1, i as ProviderRegistryV1, j as WorkspaceCredentialResolverV1, k as ProviderCredentialRefV1, l as ResolvedCredentialLeaseV1 } from '../lease-BqeCLGPL.js';
8
+ import { s as AgentConfig, b as Agent, d as AgentActor, j as AgentEvent, t as AgentTool, u as AgentHarnessFactory, T as TelemetrySink, A as AgentHarness } from '../harness-Cc48o6uS.js';
9
+ export { v as AgentHarnessFactoryInput } from '../harness-Cc48o6uS.js';
10
+ import { b as PiChatEvent, E as ErrorCode, l as SessionCtx, S as SessionStore, m as SessionListOptions, k as SessionSummary, n as PiChatSnapshot, c as PromptPayload, d as PromptReceipt, F as FollowUpPayload, e as FollowUpReceipt, f as QueueClearPayload, g as QueueClearReceipt, I as InterruptPayload, i as StopPayload, j as StopReceipt } from '../piChatEvent-BsMp3MSo.js';
11
+ import { A as AgentGateway, a as AuthorizedAgentScope, b as AgentSessionRef, c as AgentSessionActivity, V as VerifiedAgentScopeClaim, d as AgentSessionSummary, e as AgentSessionStateSnapshot, f as AgentSessionConnection, J as JsonValue, g as AgentGatewayErrorDTO } from '../errors-C38f6pol.js';
12
12
  import { IncomingMessage, ServerResponse } from 'node:http';
13
13
  import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
14
14
  import { FastifyRequest, FastifyInstance, FastifyPluginAsync } from 'fastify';
15
- import { i as PiSessionRequestContext, g as PiChatSessionService, h as PiSessionCreateInit, e as PiChatEventSubscriber, P as PiChatEventStreamResult, a as AgentEffectAdmission$1 } from '../piChatSessionService-BaaVWke7.js';
15
+ import { i as PiSessionRequestContext, g as PiChatSessionService, h as PiSessionCreateInit, e as PiChatEventSubscriber, P as PiChatEventStreamResult, a as AgentEffectAdmission$1 } from '../piChatSessionService-BrPqKrpY.js';
16
16
  import { BoringAgentRuntimePaths } from '@hachej/boring-sandbox/providers/node-workspace';
17
17
  import '@hachej/boring-bash/agent';
18
18
  import '@mariozechner/pi-coding-agent';
@@ -62,19 +62,19 @@ import {
62
62
  sandboxRuntimeHostOperations,
63
63
  shareResourceUri,
64
64
  withResolvedCredential
65
- } from "../chunk-BHH5NH7P.js";
65
+ } from "../chunk-4TKUT7IL.js";
66
66
  import {
67
67
  PI_PACKAGE_RESOURCE_FILTERS,
68
68
  compactPiPackages,
69
69
  createResourceSettingsManager,
70
70
  mergePiPackageSources,
71
71
  piPackageSourceKey
72
- } from "../chunk-IWBC6SF7.js";
72
+ } from "../chunk-2TMS2RU2.js";
73
73
  import "../chunk-CJ2BW2W2.js";
74
74
  import "../chunk-NITBKFG6.js";
75
75
  import "../chunk-AQBXNPMD.js";
76
76
  import "../chunk-WSQ5QNIY.js";
77
- import "../chunk-PZC76CIA.js";
77
+ import "../chunk-OFQ7J6SI.js";
78
78
  import "../chunk-2GBHYJVC.js";
79
79
  export {
80
80
  AgentDirectoryCompilerError,
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  WORKER_INTERNAL_TOKEN_HEADER,
3
3
  constantTimeTokenEqual
4
- } from "../../chunk-BHH5NH7P.js";
5
- import "../../chunk-IWBC6SF7.js";
4
+ } from "../../chunk-4TKUT7IL.js";
5
+ import "../../chunk-2TMS2RU2.js";
6
6
  import "../../chunk-CJ2BW2W2.js";
7
7
  import "../../chunk-NITBKFG6.js";
8
8
  import "../../chunk-AQBXNPMD.js";
9
9
  import "../../chunk-WSQ5QNIY.js";
10
- import "../../chunk-PZC76CIA.js";
10
+ import "../../chunk-OFQ7J6SI.js";
11
11
  import "../../chunk-2GBHYJVC.js";
12
12
 
13
13
  // src/server/worker/index.ts
@@ -1,13 +1,13 @@
1
- import { t as AgentTool } from '../harness-Bt_GMNYR.js';
2
- export { c as AGENT_NOT_IMPLEMENTED_UNTIL_T1, b as Agent, d as AgentActor, e as AgentCoreHarness, f as AgentCoreHarnessFactory, g as AgentCorePromptInput, h as AgentCoreSessionAdapter, i as AgentCoreSessionSnapshot, j as AgentEvent, A as AgentHarness, k as AgentMessageContent, l as AgentMessagePart, m as AgentNotImplementedError, a as AgentReadiness, n as AgentReadinessStatus, o as AgentResolveInputResponse, x as AgentRuntimeAdapter, p as AgentSendInput, q as AgentStartReceipt, r as AgentStreamOptions, s as CoreAgentConfig, J as JSONSchema, M as MessageAttachment, R as RunContext, S as SendMessageInput, y as TelemetryEvent, T as TelemetrySink, z as ToolExecContext, B as ToolResult, C as noopTelemetry, D as safeCapture, E as sessionStreamPath } from '../harness-Bt_GMNYR.js';
3
- import { m as SchemaValidationError, n as AgentSchemaIssue, a as Sha256Digest, o as AgentSchemaValidationResult, p as CredentialConsumerBindingId, e as CredentialFieldId, k as ProviderCredentialRefV1, f as AuthorizedWorkspaceCredentialScopeV1 } from '../lease-2aXepSBL.js';
4
- export { q as AgentDefinition, r as AgentDefinitionDigestAsset, s as AgentDefinitionReference, t as AgentDefinitionValidationError, A as AgentDeployment, u as AgentDeploymentValidationError, v as CommandNotifyPayload, C as CompiledAgentBundle, w as CompiledAgentDefinition, x as CreateShareEntryInput, h as CredentialConsumerBindingRegistryV1, y as CredentialConsumerBindingV1, z as CredentialConsumerKindV1, B as CredentialDeliveryV1, D as CredentialFieldDefinitionV1, E as ExternalManagedAccountReferenceDefinitionV1, I as InMemoryShareEntryStore, O as OpaqueRefSchema, F as OpaqueShareLocatorIdSchema, G as PROVIDER_CREDENTIAL_REF_VERSION, H as ProviderCategoryV1, J as ProviderCredentialDefinitionV1, K as ProviderCredentialRefFactoryV1, L as ProviderDefinitionV1, d as ProviderId, i as ProviderRegistryV1, l as ResolvedCredentialLeaseV1, R as ResolvedCredentialMaterialV1, M as SandboxHandleRecord, S as SandboxHandleStore, N as Sha256DigestSchema, Q as ShareEntryErrorCode, T as ShareEntryProvenance, U as ShareEntryProvenanceSchema, X as ShareEntryResolution, b as ShareEntryStore, Y as ShareEntryTombstone, Z as ShareEntryV1, _ as ShareEntryV1Schema, $ as ShareEntryValidationError, V as VerifiedWorkspaceCredentialAuthorityV1, a0 as VerifiedWorkspaceCredentialPrincipalV1, a1 as WORKSPACE_AGENT_PLUGINS_RELOADED_EVENT, a2 as WORKSPACE_COMMAND_NOTIFY_EVENT, a3 as WorkspaceAgentDispatch, c as WorkspaceAgentDispatcher, W as WorkspaceAgentDispatcherContext, a4 as WorkspaceAgentDispatcherDispatchInput, a5 as WorkspaceAgentDispatcherSendInput, a6 as WorkspaceAgentGatewayBinding, g as WorkspaceCredentialAuthorityVerifierV1, j as WorkspaceCredentialResolverV1, a7 as createAgentAssetDigest, a8 as createAgentDefinitionDigest, a9 as createAgentDeploymentDigest, aa as createCredentialConsumerBindingRegistryV1, ab as createProviderCredentialRefFactoryV1, ac as createProviderRegistryV1, ad as resolveShareEntry, ae as validateAgentDefinition, af as validateAgentDeployment } from '../lease-2aXepSBL.js';
1
+ import { t as AgentTool } from '../harness-Cc48o6uS.js';
2
+ export { c as AGENT_NOT_IMPLEMENTED_UNTIL_T1, b as Agent, d as AgentActor, e as AgentCoreHarness, f as AgentCoreHarnessFactory, g as AgentCorePromptInput, h as AgentCoreSessionAdapter, i as AgentCoreSessionSnapshot, j as AgentEvent, A as AgentHarness, k as AgentMessageContent, l as AgentMessagePart, m as AgentNotImplementedError, a as AgentReadiness, n as AgentReadinessStatus, o as AgentResolveInputResponse, x as AgentRuntimeAdapter, p as AgentSendInput, q as AgentStartReceipt, r as AgentStreamOptions, s as CoreAgentConfig, J as JSONSchema, M as MessageAttachment, R as RunContext, S as SendMessageInput, y as TelemetryEvent, T as TelemetrySink, z as ToolExecContext, B as ToolResult, C as noopTelemetry, D as safeCapture, E as sessionStreamPath } from '../harness-Cc48o6uS.js';
3
+ import { m as SchemaValidationError, n as AgentSchemaIssue, a as Sha256Digest, o as AgentSchemaValidationResult, p as CredentialConsumerBindingId, e as CredentialFieldId, k as ProviderCredentialRefV1, f as AuthorizedWorkspaceCredentialScopeV1 } from '../lease-BqeCLGPL.js';
4
+ export { q as AgentDefinition, r as AgentDefinitionDigestAsset, s as AgentDefinitionReference, t as AgentDefinitionValidationError, A as AgentDeployment, u as AgentDeploymentValidationError, v as CommandNotifyPayload, C as CompiledAgentBundle, w as CompiledAgentDefinition, x as CreateShareEntryInput, h as CredentialConsumerBindingRegistryV1, y as CredentialConsumerBindingV1, z as CredentialConsumerKindV1, B as CredentialDeliveryV1, D as CredentialFieldDefinitionV1, E as ExternalManagedAccountReferenceDefinitionV1, I as InMemoryShareEntryStore, O as OpaqueRefSchema, F as OpaqueShareLocatorIdSchema, G as PROVIDER_CREDENTIAL_REF_VERSION, H as ProviderCategoryV1, J as ProviderCredentialDefinitionV1, K as ProviderCredentialRefFactoryV1, L as ProviderDefinitionV1, d as ProviderId, i as ProviderRegistryV1, l as ResolvedCredentialLeaseV1, R as ResolvedCredentialMaterialV1, M as SandboxHandleRecord, S as SandboxHandleStore, N as Sha256DigestSchema, Q as ShareEntryErrorCode, T as ShareEntryProvenance, U as ShareEntryProvenanceSchema, X as ShareEntryResolution, b as ShareEntryStore, Y as ShareEntryTombstone, Z as ShareEntryV1, _ as ShareEntryV1Schema, $ as ShareEntryValidationError, V as VerifiedWorkspaceCredentialAuthorityV1, a0 as VerifiedWorkspaceCredentialPrincipalV1, a1 as WORKSPACE_AGENT_PLUGINS_RELOADED_EVENT, a2 as WORKSPACE_COMMAND_NOTIFY_EVENT, a3 as WorkspaceAgentDispatch, c as WorkspaceAgentDispatcher, W as WorkspaceAgentDispatcherContext, a4 as WorkspaceAgentDispatcherDispatchInput, a5 as WorkspaceAgentDispatcherSendInput, a6 as WorkspaceAgentGatewayBinding, g as WorkspaceCredentialAuthorityVerifierV1, j as WorkspaceCredentialResolverV1, a7 as createAgentAssetDigest, a8 as createAgentDefinitionDigest, a9 as createAgentDeploymentDigest, aa as createCredentialConsumerBindingRegistryV1, ab as createProviderCredentialRefFactoryV1, ac as createProviderRegistryV1, ad as resolveShareEntry, ae as validateAgentDefinition, af as validateAgentDeployment } from '../lease-BqeCLGPL.js';
5
5
  import { b as Workspace, S as Sandbox } from '../sandbox-DAD8cWQR.js';
6
6
  export { e as Entry, E as ExecOptions, a as ExecResult, I as IsolatedCodeInput, f as IsolatedCodeOutput, g as SandboxCapability, d as Stat, c as WorkspaceRuntimeContext, h as WorkspaceWatchControlEvent } from '../sandbox-DAD8cWQR.js';
7
- import { B as BoringChatPart, T as ToolUiMetadata, A as AgentConsumptionErrorCode } from '../piChatEvent-DBO3M5lu.js';
8
- export { p as AgentDefinitionErrorCode, q as AgentDeploymentErrorCode, r as ApiErrorPayload, s as ApiErrorPayloadSchema, t as ApiErrorResponse, u as ApiErrorResponseSchema, a as BoringChatMessage, v as ChatAttachmentPayload, C as ChatError, o as ChatModelSelection, w as ChatSubmitPayload, h as CommandReceipt, x as ERROR_CODES, E as ErrorCode, y as ErrorLogFields, z as ErrorLogFieldsSchema, F as FollowUpPayload, e as FollowUpReceipt, I as InterruptPayload, D as InterruptReceipt, b as PiChatEvent, G as PiChatHeartbeatFrame, n as PiChatSnapshot, P as PiChatStatus, H as PiChatStreamFrame, c as PromptPayload, d as PromptReceipt, f as QueueClearPayload, g as QueueClearReceipt, Q as QueuedUserMessage, l as SessionCtx, J as SessionDetail, S as SessionStore, k as SessionSummary, i as StopPayload, j as StopReceipt, K as ThinkingLevel, L as extractToolUiMetadata, M as isToolUiMetadata } from '../piChatEvent-DBO3M5lu.js';
9
- import { F as FileSearch } from '../errors-BEmw9HMp.js';
10
- export { i as AGENT_GATEWAY_ERROR_CODES, j as AgentFollowUpCommand, A as AgentGateway, k as AgentGatewayError, l as AgentGatewayErrorCode, g as AgentGatewayErrorDTO, m as AgentPromptCommand, h as AgentScopeVerifier, n as AgentSendReceipt, c as AgentSessionActivity, f as AgentSessionConnection, o as AgentSessionEvent, p as AgentSessionPage, b as AgentSessionRef, e as AgentSessionStateSnapshot, d as AgentSessionSummary, q as AgentSummary, r as AuthSubjectId, a as AuthorizedAgentScope, s as AuthorizedAgentSessionQuery, C as ConnectAgentSessionInput, t as CreateAgentSessionInput, D as DeleteAgentSessionInput, I as IdempotentAgentControl, u as IdempotentAgentSend, v as IdempotentQueueClear, w as JsonPrimitive, x as JsonSafe, J as JsonValue, L as ListAgentsInput, R as ReadAgentSessionStateInput, y as RenameAgentSessionInput, V as VerifiedAgentScopeClaim, W as WorkspaceScopeId } from '../errors-BEmw9HMp.js';
7
+ import { B as BoringChatPart, T as ToolUiMetadata, A as AgentConsumptionErrorCode } from '../piChatEvent-BsMp3MSo.js';
8
+ export { p as AgentDefinitionErrorCode, q as AgentDeploymentErrorCode, r as ApiErrorPayload, s as ApiErrorPayloadSchema, t as ApiErrorResponse, u as ApiErrorResponseSchema, a as BoringChatMessage, v as ChatAttachmentPayload, C as ChatError, o as ChatModelSelection, w as ChatSubmitPayload, h as CommandReceipt, x as ERROR_CODES, E as ErrorCode, y as ErrorLogFields, z as ErrorLogFieldsSchema, F as FollowUpPayload, e as FollowUpReceipt, I as InterruptPayload, D as InterruptReceipt, b as PiChatEvent, G as PiChatHeartbeatFrame, n as PiChatSnapshot, P as PiChatStatus, H as PiChatStreamFrame, c as PromptPayload, d as PromptReceipt, f as QueueClearPayload, g as QueueClearReceipt, Q as QueuedUserMessage, l as SessionCtx, J as SessionDetail, S as SessionStore, k as SessionSummary, i as StopPayload, j as StopReceipt, K as ThinkingLevel, L as extractToolUiMetadata, M as isToolUiMetadata } from '../piChatEvent-BsMp3MSo.js';
9
+ import { F as FileSearch } from '../errors-C38f6pol.js';
10
+ export { i as AGENT_GATEWAY_ERROR_CODES, j as AgentFollowUpCommand, A as AgentGateway, k as AgentGatewayError, l as AgentGatewayErrorCode, g as AgentGatewayErrorDTO, m as AgentPromptCommand, h as AgentScopeVerifier, n as AgentSendReceipt, c as AgentSessionActivity, f as AgentSessionConnection, o as AgentSessionEvent, p as AgentSessionPage, b as AgentSessionRef, e as AgentSessionStateSnapshot, d as AgentSessionSummary, q as AgentSummary, r as AuthSubjectId, a as AuthorizedAgentScope, s as AuthorizedAgentSessionQuery, C as ConnectAgentSessionInput, t as CreateAgentSessionInput, D as DeleteAgentSessionInput, I as IdempotentAgentControl, u as IdempotentAgentSend, v as IdempotentQueueClear, w as JsonPrimitive, x as JsonSafe, J as JsonValue, L as ListAgentsInput, R as ReadAgentSessionStateInput, y as RenameAgentSessionInput, V as VerifiedAgentScopeClaim, W as WorkspaceScopeId } from '../errors-C38f6pol.js';
11
11
  import { z } from 'zod';
12
12
  import '@mariozechner/pi-coding-agent';
13
13
 
@@ -587,16 +587,19 @@ declare const PiChatEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
587
587
  type: z.ZodLiteral<"file-changed">;
588
588
  path: z.ZodString;
589
589
  changeType: z.ZodString;
590
+ filesystem: z.ZodOptional<z.ZodString>;
590
591
  }, "strip", z.ZodTypeAny, {
591
592
  path: string;
592
593
  type: "file-changed";
593
594
  seq: number;
594
595
  changeType: string;
596
+ filesystem?: string | undefined;
595
597
  }, {
596
598
  path: string;
597
599
  type: "file-changed";
598
600
  seq: number;
599
601
  changeType: string;
602
+ filesystem?: string | undefined;
600
603
  }>, z.ZodObject<{
601
604
  seq: z.ZodNumber;
602
605
  } & {
@@ -1045,16 +1048,19 @@ declare const PiChatStreamFrameSchema: z.ZodUnion<[z.ZodDiscriminatedUnion<"type
1045
1048
  type: z.ZodLiteral<"file-changed">;
1046
1049
  path: z.ZodString;
1047
1050
  changeType: z.ZodString;
1051
+ filesystem: z.ZodOptional<z.ZodString>;
1048
1052
  }, "strip", z.ZodTypeAny, {
1049
1053
  path: string;
1050
1054
  type: "file-changed";
1051
1055
  seq: number;
1052
1056
  changeType: string;
1057
+ filesystem?: string | undefined;
1053
1058
  }, {
1054
1059
  path: string;
1055
1060
  type: "file-changed";
1056
1061
  seq: number;
1057
1062
  changeType: string;
1063
+ filesystem?: string | undefined;
1058
1064
  }>, z.ZodObject<{
1059
1065
  seq: z.ZodNumber;
1060
1066
  } & {
@@ -98,7 +98,7 @@ import {
98
98
  extractToolUiMetadata,
99
99
  isToolUiMetadata,
100
100
  sanitizeToolUiMetadata2 as sanitizeToolUiMetadata
101
- } from "../chunk-PZC76CIA.js";
101
+ } from "../chunk-OFQ7J6SI.js";
102
102
  import {
103
103
  AgentConsumptionErrorCode,
104
104
  AgentDefinitionErrorCode,
@@ -1,13 +1,13 @@
1
1
  import * as fastify from 'fastify';
2
2
  import { FastifyRequest, FastifyPluginAsync } from 'fastify';
3
- import { w as ToolReadinessRequirement, T as TelemetrySink, b as Agent, A as AgentHarness, t as AgentTool, u as AgentHarnessFactory } from './harness-Bt_GMNYR.js';
4
- import { F as FileSearch, b as AgentSessionRef, V as VerifiedAgentScopeClaim, g as AgentGatewayErrorDTO, J as JsonValue, a as AuthorizedAgentScope, A as AgentGateway, h as AgentScopeVerifier } from './errors-BEmw9HMp.js';
5
- import { o as ChatModelSelection } from './piChatEvent-DBO3M5lu.js';
3
+ import { w as ToolReadinessRequirement, T as TelemetrySink, b as Agent, A as AgentHarness, t as AgentTool, u as AgentHarnessFactory } from './harness-Cc48o6uS.js';
4
+ import { F as FileSearch, b as AgentSessionRef, V as VerifiedAgentScopeClaim, g as AgentGatewayErrorDTO, J as JsonValue, a as AuthorizedAgentScope, A as AgentGateway, h as AgentScopeVerifier } from './errors-C38f6pol.js';
5
+ import { o as ChatModelSelection } from './piChatEvent-BsMp3MSo.js';
6
6
  import { b as Workspace, c as WorkspaceRuntimeContext, S as Sandbox } from './sandbox-DAD8cWQR.js';
7
7
  import { RuntimeHostOperations } from '@hachej/boring-bash/agent';
8
8
  import { CreateNodeWorkspaceOptions, BoringAgentRuntimePaths } from '@hachej/boring-sandbox/providers/node-workspace';
9
9
  import { PackageSource, ExtensionFactory, SettingsManager } from '@mariozechner/pi-coding-agent';
10
- import { A as AgentCoreSessionService, g as PiChatSessionService } from './piChatSessionService-BaaVWke7.js';
10
+ import { A as AgentCoreSessionService, g as PiChatSessionService } from './piChatSessionService-BrPqKrpY.js';
11
11
 
12
12
  /**
13
13
  * Generic metering seam for hosts that bill native Pi usage.
package/docs/runtime.md CHANGED
@@ -204,11 +204,11 @@ modes, the adapter maps that host path into the public runtime namespace
204
204
 
205
205
  ### Production storage roots in `vercel-sandbox` mode
206
206
 
207
- In a Fly-hosted app using `BORING_AGENT_MODE=vercel-sandbox`, there are two
207
+ In a hosted app using `BORING_AGENT_MODE=vercel-sandbox`, there are two
208
208
  filesystems with different jobs:
209
209
 
210
210
  ```txt
211
- Fly app container / mounted volume:
211
+ App container / mounted volume:
212
212
  /data/workspaces/<workspaceId> host/control-plane workspace anchor
213
213
  /data/pi-sessions/<workspaceId> durable chat transcript storage
214
214
 
@@ -225,7 +225,7 @@ Those belong to the sandbox runtime root, `/workspace`.
225
225
 
226
226
  Production chat history also must not use the container root filesystem. Set
227
227
  `BORING_AGENT_SESSION_ROOT` to a mounted-volume path such as `/data/pi-sessions`
228
- so Pi wrapper/native transcripts survive Fly deploys and restarts. Core-hosted
228
+ so Pi wrapper/native transcripts survive host deploys and restarts. Core-hosted
229
229
  apps that run `vercel-sandbox` with `BORING_AGENT_WORKSPACE_ROOT=/data/workspaces`
230
230
  default this to the sibling `/data/pi-sessions` path when the env var is absent.
231
231
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hachej/boring-agent",
3
- "version": "0.1.91",
3
+ "version": "0.1.93",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "description": "Pane-embeddable coding agent. Ships direct/local/vercel-sandbox execution modes behind one interface.",
@@ -76,27 +76,27 @@
76
76
  "@streamdown/math": "^1.0.2",
77
77
  "@streamdown/mermaid": "^1.0.2",
78
78
  "@tanstack/react-query": "^5.101.1",
79
- "ai": "^7.0.9",
79
+ "ai": "^7.0.31",
80
80
  "class-variance-authority": "^0.7.1",
81
81
  "clsx": "^2.1.1",
82
82
  "cmdk": "^1.1.1",
83
83
  "diff": "^9.0.0",
84
84
  "fastify": "^5.9.0",
85
- "lucide-react": "^1.21.0",
85
+ "lucide-react": "^1.25.0",
86
86
  "motion": "^12.42.0",
87
- "nanoid": "^5.1.16",
87
+ "nanoid": "^6.0.0",
88
88
  "shiki": "^4.3.0",
89
89
  "streamdown": "^2.5.0",
90
90
  "tailwind-merge": "^3.5.0",
91
91
  "use-stick-to-bottom": "^1.1.6",
92
92
  "yaml": "^2.9.0",
93
93
  "zod": "^3.25.76",
94
- "@hachej/boring-sandbox": "0.1.91",
95
- "@hachej/boring-ui-kit": "0.1.91",
96
- "@hachej/boring-bash": "0.1.91"
94
+ "@hachej/boring-sandbox": "0.1.93",
95
+ "@hachej/boring-bash": "0.1.93",
96
+ "@hachej/boring-ui-kit": "0.1.93"
97
97
  },
98
98
  "devDependencies": {
99
- "@vercel/sandbox": "2.3.0",
99
+ "@vercel/sandbox": "2.7.1",
100
100
  "@antithesishq/bombadil": "0.6.1",
101
101
  "@opentelemetry/api": "^1.9.1",
102
102
  "@tailwindcss/postcss": "^4.3.1",
@@ -112,7 +112,7 @@
112
112
  "tsup": "^8.4.0",
113
113
  "tsx": "^4.23.1",
114
114
  "typescript": "^6.0.3",
115
- "vite": "^8.1.2",
115
+ "vite": "^8.1.5",
116
116
  "vitest": "^4.1.9"
117
117
  },
118
118
  "peerDependencies": {