@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/docs/runtime.md CHANGED
@@ -2,27 +2,10 @@
2
2
 
3
3
  # Runtime Modes and Provisioning
4
4
 
5
- When a boring-bash filesystem/exec environment is attached, the agent supports
6
- three execution modes controlling how `bash` and filesystem tools run.
7
-
8
- Pure/headless agents use `runtime: 'none'` instead. That mode has no
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
- This interface is for environments that intentionally provide a workspace,
260
- filesystem/search, and sandbox/execution substrate. Pure `runtime: 'none'`
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.78",
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.78"
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",