@koda-sl/baker-bridge 0.110.0-dev.4699b7308 → 0.110.0-dev.7f8839959

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.
Files changed (33) hide show
  1. package/README.md +4 -2
  2. package/dist/hono/bridge-job.test.js +1 -1
  3. package/dist/hono/bridge-job.test.js.map +1 -1
  4. package/dist/hono/check-content.d.ts +49 -0
  5. package/dist/hono/check-content.d.ts.map +1 -0
  6. package/dist/hono/check-content.js +182 -0
  7. package/dist/hono/check-content.js.map +1 -0
  8. package/dist/hono/check-content.test.d.ts +2 -0
  9. package/dist/hono/check-content.test.d.ts.map +1 -0
  10. package/dist/hono/check-content.test.js +87 -0
  11. package/dist/hono/check-content.test.js.map +1 -0
  12. package/dist/hono/publish-recovery.d.ts +1 -1
  13. package/dist/hono/publish-recovery.d.ts.map +1 -1
  14. package/dist/hono/publish-recovery.js +9 -6
  15. package/dist/hono/publish-recovery.js.map +1 -1
  16. package/dist/hono/publish-recovery.test.js +11 -2
  17. package/dist/hono/publish-recovery.test.js.map +1 -1
  18. package/dist/hono/server.d.ts.map +1 -1
  19. package/dist/hono/server.js +9 -0
  20. package/dist/hono/server.js.map +1 -1
  21. package/dist/hono/server.test.js +17 -0
  22. package/dist/hono/server.test.js.map +1 -1
  23. package/dist/hono/workspace-script.d.ts +10 -0
  24. package/dist/hono/workspace-script.d.ts.map +1 -0
  25. package/dist/hono/workspace-script.js +19 -0
  26. package/dist/hono/workspace-script.js.map +1 -0
  27. package/dist/hono/workspace-settle.d.ts +1 -1
  28. package/dist/hono/workspace-settle.d.ts.map +1 -1
  29. package/dist/hono/workspace-settle.js +12 -8
  30. package/dist/hono/workspace-settle.js.map +1 -1
  31. package/dist/review/evidence-block.js +1 -1
  32. package/dist/review/evidence-block.js.map +1 -1
  33. package/package.json +1 -1
package/README.md CHANGED
@@ -159,8 +159,9 @@ intact.
159
159
 
160
160
  Subagents set their own `effort` (and `model`) in their markdown frontmatter and
161
161
  do **not** inherit either from the main thread. The three scaffold-shared agents
162
- all run `claude-sonnet-5`: `creative-producer` and `landing-finish-reviewer` at
163
- `effort: low`, `research` at `effort: medium`. Either way it is cache-safe —
162
+ all run `claude-sonnet-5`: `landing-finish-reviewer` at `effort: low`, `research`
163
+ and `creative-producer` at `effort: medium` (rebuilding a reference's winning
164
+ mechanism for a brand is judgment, not a mechanical build). Either way it is cache-safe —
164
165
  a subagent carries its own context, so it cannot invalidate the parent's prefix.
165
166
 
166
167
  ## Prompt-cache pinning
@@ -252,6 +253,7 @@ variables nothing is registered. Content is sent in full; mask attributes with
252
253
  | `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 |
253
254
  | `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 |
254
255
  | `GET` | `/documents/:slug` | None | Serve document binary (pdf, pptx, docx, xlsx) |
256
+ | `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 |
255
257
  | `GET` | `/landings/:slug/definition` | None | Return landing `_definition.md` as `{ content, title }`; `?baseline=1` also includes `baselineContent` from the git merge-base when available |
256
258
  | `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 |
257
259
  | `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__/hooks/base/guard-background-commands.mjs]: " +
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);