@hachej/boring-agent 0.1.78 → 0.1.80
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-BNZIE26N.js +537 -0
- package/dist/{chunk-6AEK34XU.js → chunk-CCNXYCD5.js} +14 -1
- package/dist/chunk-CUF7ELFO.js +266 -0
- package/dist/{chunk-TS3QGFKK.js → chunk-N4ES6PVX.js} +85 -6
- package/dist/{chunk-ORURYKNY.js → chunk-UJQXCOHR.js} +1 -1
- package/dist/chunk-URRIDA6O.js +14502 -0
- package/dist/{chunk-ZUEITFIJ.js → chunk-WSQ5QNIY.js} +1 -12
- package/dist/core/index.d.ts +69 -6
- package/dist/core/index.js +3 -9
- package/dist/{createHarness-RZUU6MJQ.js → createHarness-EEA63XRC.js} +2 -3
- package/dist/front/index.d.ts +1 -2
- package/dist/front/index.js +2 -2
- package/dist/{harness-OsJBlx4u.d.ts → harness-BZW5Jiy3.d.ts} +9 -11
- package/dist/piChatEvent-CpoTZau1.d.ts +358 -0
- package/dist/protocol-B_OQKfbI.d.ts +104 -0
- package/dist/{workspaceAgentDispatcher-Cl3EBveh.d.ts → sandbox-DthfJaOB.d.ts} +1 -77
- package/dist/server/index.d.ts +118 -122
- package/dist/server/index.js +66 -10939
- package/dist/server/worker/index.d.ts +65 -0
- package/dist/server/worker/index.js +367 -0
- package/dist/shared/index.d.ts +26 -25
- package/dist/shared/index.js +26 -8
- package/dist/workspaceAgentDispatcher-Wi6NIh2G.d.ts +149 -0
- package/docs/ERROR_CODES.md +4 -1
- package/docs/runtime.md +6 -24
- package/package.json +8 -2
- package/dist/chunk-3WWLQAJB.js +0 -2794
- package/dist/chunk-AJZHR626.js +0 -85
- package/dist/chunk-ZD7MM2LQ.js +0 -14
- package/dist/piChatCommand-BuWXytap.d.ts +0 -60
- package/dist/session-FUiMWsyX.d.ts +0 -297
package/docs/runtime.md
CHANGED
|
@@ -2,27 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
# Runtime Modes and Provisioning
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
three execution modes controlling how
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
`Workspace`, no `Sandbox`, no cwd, no file routes, no file tools, and no bash
|
|
10
|
-
tools. It is not selected with `BORING_AGENT_MODE`; the host composes a
|
|
11
|
-
runtime-free agent and supplies only non-bash tools plus session/model
|
|
12
|
-
configuration. If the host later attaches a filesystem/exec environment, that
|
|
13
|
-
attachment enters the boring-bash runtime contract below.
|
|
14
|
-
|
|
15
|
-
If a host renders the workspace frontend against `runtime: 'none'`, it must also
|
|
16
|
-
exclude the default filesystem frontend plugin today: pass
|
|
17
|
-
`excludeDefaults: ['filesystem']` through `WorkspaceAgentFront`/`WorkspaceProvider`
|
|
18
|
-
(or the equivalent core workspace props). The frontend default is still
|
|
19
|
-
`filesystemPlugin`, whose plugin id is `"filesystem"`; without that exclusion the
|
|
20
|
-
file tree/editor contributions render and call file routes that pure mode does
|
|
21
|
-
not register. `ChatFirstAuthenticatedShell` already supplies this exclusion by
|
|
22
|
-
default. The planned end state is capability-driven auto-exclusion from an
|
|
23
|
-
environment filesystem capability of `none`, owned by the P3/P4 route/tool and
|
|
24
|
-
file-UI plugin move and the #391 zero-residue invariant 16; this PR does not add
|
|
25
|
-
frontend gating.
|
|
5
|
+
Every v1 agent is bound to an authorized workspace and an approved runtime
|
|
6
|
+
adapter. The agent supports three built-in execution modes controlling how
|
|
7
|
+
`bash` and filesystem tools run. A headless host may omit its UI/presentation
|
|
8
|
+
surface, but it still supplies the same workspace-backed runtime contract.
|
|
26
9
|
|
|
27
10
|
## Modes
|
|
28
11
|
|
|
@@ -256,9 +239,8 @@ as the `runtimeModeAdapter` option to `createAgentApp(opts)` or
|
|
|
256
239
|
`resolveMode()` only knows the three built-ins and throws for unknown ids,
|
|
257
240
|
telling you to pass `runtimeModeAdapter`.
|
|
258
241
|
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
agents do not construct a `RuntimeBundle`.
|
|
242
|
+
Each adapter provides a workspace, filesystem/search, and sandbox/execution
|
|
243
|
+
substrate as one runtime bundle.
|
|
262
244
|
|
|
263
245
|
```ts
|
|
264
246
|
interface RuntimeModeAdapter {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hachej/boring-agent",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.80",
|
|
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.",
|
|
@@ -27,6 +27,11 @@
|
|
|
27
27
|
"import": "./dist/server/index.js",
|
|
28
28
|
"default": "./dist/server/index.js"
|
|
29
29
|
},
|
|
30
|
+
"./server/worker": {
|
|
31
|
+
"types": "./dist/server/worker/index.d.ts",
|
|
32
|
+
"import": "./dist/server/worker/index.js",
|
|
33
|
+
"default": "./dist/server/worker/index.js"
|
|
34
|
+
},
|
|
30
35
|
"./front": {
|
|
31
36
|
"types": "./dist/front/index.d.ts",
|
|
32
37
|
"import": "./dist/front/index.js"
|
|
@@ -79,7 +84,7 @@
|
|
|
79
84
|
"use-stick-to-bottom": "^1.1.6",
|
|
80
85
|
"yaml": "^2.9.0",
|
|
81
86
|
"zod": "^3.25.76",
|
|
82
|
-
"@hachej/boring-ui-kit": "0.1.
|
|
87
|
+
"@hachej/boring-ui-kit": "0.1.80"
|
|
83
88
|
},
|
|
84
89
|
"devDependencies": {
|
|
85
90
|
"@antithesishq/bombadil": "0.6.1",
|
|
@@ -90,6 +95,7 @@
|
|
|
90
95
|
"@types/react-dom": "^19.1.3",
|
|
91
96
|
"@vitejs/plugin-react": "^4.7.0",
|
|
92
97
|
"ajv": "^8.20.0",
|
|
98
|
+
"esbuild": "^0.25.12",
|
|
93
99
|
"postcss": "^8.5.15",
|
|
94
100
|
"react": "^19.2.7",
|
|
95
101
|
"react-dom": "^19.2.7",
|