@koda-sl/baker-bridge 0.112.0 → 0.114.0
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/README.md +1 -0
- package/dist/hono/bridge-job.test.js +1 -1
- package/dist/hono/bridge-job.test.js.map +1 -1
- package/dist/hono/check-content.d.ts +49 -0
- package/dist/hono/check-content.d.ts.map +1 -0
- package/dist/hono/check-content.js +182 -0
- package/dist/hono/check-content.js.map +1 -0
- package/dist/hono/check-content.test.d.ts +2 -0
- package/dist/hono/check-content.test.d.ts.map +1 -0
- package/dist/hono/check-content.test.js +87 -0
- package/dist/hono/check-content.test.js.map +1 -0
- package/dist/hono/flow-input.d.ts +0 -2
- package/dist/hono/flow-input.d.ts.map +1 -1
- package/dist/hono/flow-input.js +0 -10
- package/dist/hono/flow-input.js.map +1 -1
- package/dist/hono/flow-input.test.js +3 -8
- package/dist/hono/flow-input.test.js.map +1 -1
- package/dist/hono/publish-recovery.d.ts +1 -1
- package/dist/hono/publish-recovery.d.ts.map +1 -1
- package/dist/hono/publish-recovery.js +9 -6
- package/dist/hono/publish-recovery.js.map +1 -1
- package/dist/hono/publish-recovery.test.js +11 -2
- package/dist/hono/publish-recovery.test.js.map +1 -1
- package/dist/hono/server.d.ts.map +1 -1
- package/dist/hono/server.js +9 -0
- package/dist/hono/server.js.map +1 -1
- package/dist/hono/server.test.js +17 -0
- package/dist/hono/server.test.js.map +1 -1
- package/dist/hono/workspace-script.d.ts +10 -0
- package/dist/hono/workspace-script.d.ts.map +1 -0
- package/dist/hono/workspace-script.js +19 -0
- package/dist/hono/workspace-script.js.map +1 -0
- package/dist/hono/workspace-settle.d.ts +1 -1
- package/dist/hono/workspace-settle.d.ts.map +1 -1
- package/dist/hono/workspace-settle.js +12 -8
- package/dist/hono/workspace-settle.js.map +1 -1
- package/dist/review/evidence-block.js +1 -1
- package/dist/review/evidence-block.js.map +1 -1
- package/dist/review/evidence-block.test.js +0 -10
- package/dist/review/evidence-block.test.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -254,6 +254,7 @@ variables nothing is registered. Content is sent in full; mask attributes with
|
|
|
254
254
|
| `GET` | `/brand/entry?path=<sub-path>` | None | Return one file inside `src/brand/` by its path (e.g. `logos/logo.webp`). Markdown paths return `{ content, title }` (+ `baselineContent` with `?baseline=1`); every other asset (logos, fonts) streams raw bytes with its `Content-Type`. `?baseline=1` serves the version at the git merge-base (the "before"), used by the per-file Brand changes preview |
|
|
255
255
|
| `GET` | `/knowledge/:collection/:entry` or `/knowledge/:entry` | None | Return knowledge entry as `{ content, title }`; title-only Chat Change slugs are resolved by matching entry ids/titles. `?baseline=1` also includes `baselineContent` from the git merge-base when available |
|
|
256
256
|
| `GET` | `/documents/:slug` | None | Serve document binary (pdf, pptx, docx, xlsx) |
|
|
257
|
+
| `GET` | `/checks/:slug` | None | Return a check as `{ slug, scope, manifest, readme, files, related }`: every file of `__tooling__/checks/extensions/<slug>/` (for a base check, only its `waivers.json`) with `content`, `baselineContent` from the git merge-base and a `status` (`added`, `modified`, `deleted`, `unchanged`), plus the `__tooling__/checks/sdk/` modules its scripts import |
|
|
257
258
|
| `GET` | `/landings/:slug/definition` | None | Return landing `_definition.md` as `{ content, title }`; `?baseline=1` also includes `baselineContent` from the git merge-base when available |
|
|
258
259
|
| `GET` | `/flows/:slug` | None | Read flow `_data.json` (decrypted). `?baseline=1` returns `{ flow, baselineFlow, baselineStatus }` — used by the dashboard's structural changes view. `baselineStatus` is `found` (baseline decoded, `baselineFlow` set), `new` (flow absent at the merge-base, i.e. not yet published), `unavailable` (no base ref / merge-base to compare against, or an unexpected git failure), or `undecodable` (baseline present at the merge-base but not readable — invalid JSON or not decryptable with the current key); the last two keep the UI from rendering a misleading full "added" diff |
|
|
259
260
|
| `PUT` | `/flows/:slug` | None | Write flow `_data.json` (encrypts at rest) |
|
|
@@ -321,7 +321,7 @@ describe("isControlChannelDeny", () => {
|
|
|
321
321
|
// Its block arrives as an is_error tool_result, so an envelope-substring
|
|
322
322
|
// match counted it as a deny — three blocked spawns in one turn would have
|
|
323
323
|
// tripped the breaker and errored a perfectly healthy turn.
|
|
324
|
-
expect(isControlChannelDeny(controlChannelDenyMessage("PreToolUse:Agent hook error: [node __tooling__/
|
|
324
|
+
expect(isControlChannelDeny(controlChannelDenyMessage("PreToolUse:Agent hook error: [node __tooling__/checks/base/guard-background-commands/guard-background-commands.mjs]: " +
|
|
325
325
|
"✗ guard-background-commands — blocked: subagent spawned in the background.\n" +
|
|
326
326
|
" A subagent that outlives the turn loses its permission channel and orphans\n" +
|
|
327
327
|
" any work it started (a render inside it fails 'Tool permission request failed')."))).toBe(false);
|