@hearsay-tools/squawk 0.18.0-dev.7724 → 0.18.0-dev.7731

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 (55) hide show
  1. package/dist/ci-wait/controller.d.ts +4 -4
  2. package/dist/delegation/routes.d.ts +14 -14
  3. package/dist/runs/lifecycle.d.ts +75 -0
  4. package/dist/runs/lifecycle.js +63 -0
  5. package/dist/runs/lifecycle.js.map +1 -0
  6. package/dist/runs/outcome-commit.d.ts +2 -0
  7. package/dist/runs/outcome-commit.js +1 -1
  8. package/dist/runs/outcome-commit.js.map +1 -1
  9. package/dist/runs/record-write-rules.d.ts +15 -3
  10. package/dist/runs/record-write-rules.js +38 -10
  11. package/dist/runs/record-write-rules.js.map +1 -1
  12. package/dist/runs/store.d.ts +8 -0
  13. package/dist/runs/store.js +135 -131
  14. package/dist/runs/store.js.map +1 -1
  15. package/dist/server/brand-file-routes.d.ts +7 -0
  16. package/dist/server/brand-file-routes.js +19 -0
  17. package/dist/server/brand-file-routes.js.map +1 -0
  18. package/dist/server/server.d.ts +1851 -1851
  19. package/dist/server/server.js +2 -7
  20. package/dist/server/server.js.map +1 -1
  21. package/dist/server/static-ui.js +7 -4
  22. package/dist/server/static-ui.js.map +1 -1
  23. package/dist/server/web-app-manifest.d.ts +23 -0
  24. package/dist/server/web-app-manifest.js +27 -0
  25. package/dist/server/web-app-manifest.js.map +1 -0
  26. package/dist/workflows/run/usage-accounting.js +3 -1
  27. package/dist/workflows/run/usage-accounting.js.map +1 -1
  28. package/package.json +4 -4
  29. package/web/dist/app-icon.png +0 -0
  30. package/web/dist/assets/{activity-motion-4jefGnf3.js → activity-motion-CHWLFQui.js} +1 -1
  31. package/web/dist/assets/{activity-route-CrgEEOkP.js → activity-route-CDZ8vEvw.js} +1 -1
  32. package/web/dist/assets/{commit-diff-panel-BhqIhVpi.js → commit-diff-panel-BiFrj_Kg.js} +1 -1
  33. package/web/dist/assets/{diff-Dtz4yPu-.js → diff-Bp_ZwIlK.js} +2 -2
  34. package/web/dist/assets/{diff-view-01iQrxA3.js → diff-view-BLWY32aP.js} +1 -1
  35. package/web/dist/assets/{file-preview-Bqu0JXBY.js → file-preview-BMb-p58M.js} +1 -1
  36. package/web/dist/assets/{git-toolbar-zEjeF-_V.js → git-toolbar-BLOs2P23.js} +1 -1
  37. package/web/dist/assets/{github-D3a22EyV.js → github-DLd49gwL.js} +1 -1
  38. package/web/dist/assets/{global-activity-route-DXD818_k.js → global-activity-route-C6qUGiQ-.js} +1 -1
  39. package/web/dist/assets/{index-DPA7Ibhf.js → index-D9Yu2XLO.js} +11 -11
  40. package/web/dist/assets/{markdown-Dzq31k8-.js → markdown-HUI2AGRH.js} +1 -1
  41. package/web/dist/assets/{preview-pane-connected-TaIGMKvt.js → preview-pane-connected-Br0FHHb0.js} +1 -1
  42. package/web/dist/assets/{repo-git-BvN7c_-7.js → repo-git-CXxRkRrr.js} +1 -1
  43. package/web/dist/assets/{report-reader-BEGToSIA.js → report-reader-DK9rxnu_.js} +1 -1
  44. package/web/dist/assets/{reports-D61rDO35.js → reports-DyqYeCfW.js} +1 -1
  45. package/web/dist/assets/{run-header-gwQQqs03.js → run-header-DI2Zp-1g.js} +1 -1
  46. package/web/dist/assets/{skills-DB3DAhWt.js → skills-BsojRHiF.js} +1 -1
  47. package/web/dist/assets/{task-changes-C4Hp9Bog.js → task-changes-D0fhNQ8e.js} +1 -1
  48. package/web/dist/assets/{task-commits-IGZ1CJcy.js → task-commits-DfPvhSgU.js} +1 -1
  49. package/web/dist/assets/{task-files-CBrQO4v2.js → task-files-Do9eS-uO.js} +1 -1
  50. package/web/dist/assets/{task-github-item-BJwFCJMl.js → task-github-item-IDiDedZh.js} +1 -1
  51. package/web/dist/assets/{task-thread-Dkn8HN1R.js → task-thread-BK0lz7hd.js} +1 -1
  52. package/web/dist/assets/{thread-state-DVfKElYJ.js → thread-state-D2FZC_j9.js} +1 -1
  53. package/web/dist/assets/{use-hand-to-agent-state-ChF_oDo3.js → use-hand-to-agent-state-CntaNwZk.js} +1 -1
  54. package/web/dist/assets/{workflows-BTzKBfs-.js → workflows-BnU1T_ay.js} +1 -1
  55. package/web/dist/index.html +13 -1
@@ -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"}