@hearsay-tools/squawk 0.18.0-dev.7716 → 0.18.0-dev.7726

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 (40) hide show
  1. package/dist/core/runner-definition.d.ts +1 -1
  2. package/dist/server/brand-file-routes.d.ts +7 -0
  3. package/dist/server/brand-file-routes.js +19 -0
  4. package/dist/server/brand-file-routes.js.map +1 -0
  5. package/dist/server/server.d.ts +566 -566
  6. package/dist/server/server.js +2 -7
  7. package/dist/server/server.js.map +1 -1
  8. package/dist/server/static-ui.js +7 -4
  9. package/dist/server/static-ui.js.map +1 -1
  10. package/dist/server/web-app-manifest.d.ts +23 -0
  11. package/dist/server/web-app-manifest.js +27 -0
  12. package/dist/server/web-app-manifest.js.map +1 -0
  13. package/package.json +4 -4
  14. package/web/dist/app-icon.png +0 -0
  15. package/web/dist/assets/{activity-motion-4jefGnf3.js → activity-motion-CHWLFQui.js} +1 -1
  16. package/web/dist/assets/{activity-route-CrgEEOkP.js → activity-route-CDZ8vEvw.js} +1 -1
  17. package/web/dist/assets/{commit-diff-panel-BhqIhVpi.js → commit-diff-panel-BiFrj_Kg.js} +1 -1
  18. package/web/dist/assets/{diff-Dtz4yPu-.js → diff-Bp_ZwIlK.js} +2 -2
  19. package/web/dist/assets/{diff-view-01iQrxA3.js → diff-view-BLWY32aP.js} +1 -1
  20. package/web/dist/assets/{file-preview-Bqu0JXBY.js → file-preview-BMb-p58M.js} +1 -1
  21. package/web/dist/assets/{git-toolbar-zEjeF-_V.js → git-toolbar-BLOs2P23.js} +1 -1
  22. package/web/dist/assets/{github-D3a22EyV.js → github-DLd49gwL.js} +1 -1
  23. package/web/dist/assets/{global-activity-route-DXD818_k.js → global-activity-route-C6qUGiQ-.js} +1 -1
  24. package/web/dist/assets/{index-DPA7Ibhf.js → index-D9Yu2XLO.js} +11 -11
  25. package/web/dist/assets/{markdown-Dzq31k8-.js → markdown-HUI2AGRH.js} +1 -1
  26. package/web/dist/assets/{preview-pane-connected-TaIGMKvt.js → preview-pane-connected-Br0FHHb0.js} +1 -1
  27. package/web/dist/assets/{repo-git-BvN7c_-7.js → repo-git-CXxRkRrr.js} +1 -1
  28. package/web/dist/assets/{report-reader-BEGToSIA.js → report-reader-DK9rxnu_.js} +1 -1
  29. package/web/dist/assets/{reports-D61rDO35.js → reports-DyqYeCfW.js} +1 -1
  30. package/web/dist/assets/{run-header-gwQQqs03.js → run-header-DI2Zp-1g.js} +1 -1
  31. package/web/dist/assets/{skills-DB3DAhWt.js → skills-BsojRHiF.js} +1 -1
  32. package/web/dist/assets/{task-changes-C4Hp9Bog.js → task-changes-D0fhNQ8e.js} +1 -1
  33. package/web/dist/assets/{task-commits-IGZ1CJcy.js → task-commits-DfPvhSgU.js} +1 -1
  34. package/web/dist/assets/{task-files-CBrQO4v2.js → task-files-Do9eS-uO.js} +1 -1
  35. package/web/dist/assets/{task-github-item-BJwFCJMl.js → task-github-item-IDiDedZh.js} +1 -1
  36. package/web/dist/assets/{task-thread-Dkn8HN1R.js → task-thread-BK0lz7hd.js} +1 -1
  37. package/web/dist/assets/{thread-state-DVfKElYJ.js → thread-state-D2FZC_j9.js} +1 -1
  38. package/web/dist/assets/{use-hand-to-agent-state-ChF_oDo3.js → use-hand-to-agent-state-CntaNwZk.js} +1 -1
  39. package/web/dist/assets/{workflows-BTzKBfs-.js → workflows-BnU1T_ay.js} +1 -1
  40. package/web/dist/index.html +13 -1
@@ -69,7 +69,7 @@ export interface RunnerDefinition {
69
69
  * A runner's native mock (the `mock` part): the script in `packages/cezar/scripts/`, the variable
70
70
  * that points the runner at it, and the prompt each shared parity scenario sends it. Plain data in
71
71
  * `runners/<id>/mock.ts`. `core/skill-probe.ts` and the parity kit read it from the registry, and
72
- * `lint/mock-scenario-boundary.ts` reads it from the built-in list.
72
+ * `lint/mock-scenario-boundary.ts` parses `script` from the source of `runners/<id>/mock.ts`.
73
73
  */
74
74
  export interface RunnerMock {
75
75
  /** The mock script's file name in `packages/cezar/scripts/`. */
@@ -0,0 +1,7 @@
1
+ import type { Context, Hono } from 'hono';
2
+ type StaticFile = (name: string, type: string) => (c: Context) => Response;
3
+ /** The fixed-name files of the web build: the brand marks and the home-screen install pair.
4
+ * `staticFile` reads each one from `web/dist`. static-ui.ts lists the same paths, so the shell
5
+ * catch-all passes them through. */
6
+ export declare function registerBrandFileRoutes(app: Hono, staticFile: StaticFile): void;
7
+ export {};
@@ -0,0 +1,19 @@
1
+ import { productIdentity } from '../home/identity.js';
2
+ import { webAppManifest } from './web-app-manifest.js';
3
+ /** The fixed-name files of the web build: the brand marks and the home-screen install pair.
4
+ * `staticFile` reads each one from `web/dist`. static-ui.ts lists the same paths, so the shell
5
+ * catch-all passes them through. */
6
+ export function registerBrandFileRoutes(app, staticFile) {
7
+ // The themed brand SVGs (#143): the sidebar lockup pair and the favicon pair. The cockpit
8
+ // picks light or dark by its RESOLVED theme, so both files of each pair must be served —
9
+ // a `<link media>` pair would follow the OS, which the stored theme can disagree with.
10
+ app.get('/cezarion-lockup-light.svg', staticFile('cezarion-lockup-light.svg', 'image/svg+xml'));
11
+ app.get('/cezarion-lockup-dark.svg', staticFile('cezarion-lockup-dark.svg', 'image/svg+xml'));
12
+ app.get('/cezarion-mark-light.svg', staticFile('cezarion-mark-light.svg', 'image/svg+xml'));
13
+ app.get('/cezarion-mark-dark.svg', staticFile('cezarion-mark-dark.svg', 'image/svg+xml'));
14
+ // Home-screen install (web-app-manifest.ts): the manifest scopes the app to `/`, and the
15
+ // opaque PNG is the iOS touch icon, which takes no SVG and paints transparent corners black.
16
+ app.get('/app-icon.png', staticFile('app-icon.png', 'image/png'));
17
+ app.get('/manifest.webmanifest', (c) => c.body(JSON.stringify(webAppManifest(productIdentity().displayName)), 200, { 'content-type': 'application/manifest+json' }));
18
+ }
19
+ //# sourceMappingURL=brand-file-routes.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"brand-file-routes.js","sourceRoot":"","sources":["../../src/server/brand-file-routes.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AACtD,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAIvD;;qCAEqC;AACrC,MAAM,UAAU,uBAAuB,CAAC,GAAS,EAAE,UAAsB;IACvE,0FAA0F;IAC1F,yFAAyF;IACzF,uFAAuF;IACvF,GAAG,CAAC,GAAG,CAAC,4BAA4B,EAAE,UAAU,CAAC,2BAA2B,EAAE,eAAe,CAAC,CAAC,CAAC;IAChG,GAAG,CAAC,GAAG,CAAC,2BAA2B,EAAE,UAAU,CAAC,0BAA0B,EAAE,eAAe,CAAC,CAAC,CAAC;IAC9F,GAAG,CAAC,GAAG,CAAC,0BAA0B,EAAE,UAAU,CAAC,yBAAyB,EAAE,eAAe,CAAC,CAAC,CAAC;IAC5F,GAAG,CAAC,GAAG,CAAC,yBAAyB,EAAE,UAAU,CAAC,wBAAwB,EAAE,eAAe,CAAC,CAAC,CAAC;IAC1F,yFAAyF;IACzF,6FAA6F;IAC7F,GAAG,CAAC,GAAG,CAAC,eAAe,EAAE,UAAU,CAAC,cAAc,EAAE,WAAW,CAAC,CAAC,CAAC;IAClE,GAAG,CAAC,GAAG,CAAC,uBAAuB,EAAE,CAAC,CAAC,EAAE,EAAE,CACrC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,SAAS,CAAC,cAAc,CAAC,eAAe,EAAE,CAAC,WAAW,CAAC,CAAC,EAAE,GAAG,EAAE,EAAE,cAAc,EAAE,2BAA2B,EAAE,CAAC,CAAC,CAAC;AACjI,CAAC"}