@starlove/orbit 1.1.11 → 1.2.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.
Files changed (103) hide show
  1. package/.dockerignore +0 -0
  2. package/Dockerfile +0 -0
  3. package/LICENSE +0 -0
  4. package/README.md +0 -0
  5. package/SKILL-ORBIT.md +0 -0
  6. package/build.mjs +11 -5
  7. package/dist/full/apple-touch-icon.png +0 -0
  8. package/dist/full/cursors/live_arrow.cur +0 -0
  9. package/dist/full/cursors/live_link.cur +0 -0
  10. package/dist/full/cursors/live_move.cur +0 -0
  11. package/dist/full/cursors/live_select.cur +0 -0
  12. package/dist/full/cursors/live_unavail.cur +0 -0
  13. package/dist/full/favicon-32x32.png +0 -0
  14. package/dist/full/index.html +11 -7
  15. package/dist/full/js/{app.55b38e12.js → app.ccc442f7.js} +85 -77
  16. package/dist/full/js/app.ccc442f7.js.map +7 -0
  17. package/dist/full/orbits-favicon.png +0 -0
  18. package/dist/full/orbits-logo-bg.png +0 -0
  19. package/dist/full/orbits-logo.png +0 -0
  20. package/dist/full/styles.baccc8e3.css +1 -0
  21. package/dist/full/version.json +2 -2
  22. package/docs/AGENT_PROTOCOL.md +0 -0
  23. package/docs/MCP_SETUP.md +0 -0
  24. package/docs/ORBIT_DISPATCH.md +0 -0
  25. package/docs/SS-Orbit-Dark.png +0 -0
  26. package/docs/SS-Orbit-Light.png +0 -0
  27. package/docs/mcp-client.example.json +0 -0
  28. package/docs/setup/orbit-init-wizard.md +0 -0
  29. package/package.json +19 -18
  30. package/public/apple-touch-icon.png +0 -0
  31. package/public/cursors/live_arrow.cur +0 -0
  32. package/public/cursors/live_link.cur +0 -0
  33. package/public/cursors/live_move.cur +0 -0
  34. package/public/cursors/live_select.cur +0 -0
  35. package/public/cursors/live_unavail.cur +0 -0
  36. package/public/favicon-32x32.png +0 -0
  37. package/public/index.html +9 -5
  38. package/public/js/actor-labels.js +0 -0
  39. package/public/js/api.js +0 -0
  40. package/public/js/app.js +0 -0
  41. package/public/js/board-menu.js +16 -2
  42. package/public/js/card-actions.js +0 -0
  43. package/public/js/config.js +0 -0
  44. package/public/js/create-card.js +1 -1
  45. package/public/js/dom.js +0 -0
  46. package/public/js/drawer.js +1 -1
  47. package/public/js/format.js +2 -3
  48. package/public/js/kanban.js +10 -9
  49. package/public/js/local-backend.js +0 -0
  50. package/public/js/main.js +0 -0
  51. package/public/js/modal.js +0 -0
  52. package/public/js/motion-preference.js +0 -0
  53. package/public/js/router.js +0 -0
  54. package/public/js/search.js +1 -1
  55. package/public/js/settings-tabs.js +0 -0
  56. package/public/js/settings.js +39 -27
  57. package/public/js/sse.js +0 -0
  58. package/public/js/starscape.js +0 -0
  59. package/public/js/state.js +0 -0
  60. package/public/js/theme-preference.js +0 -0
  61. package/public/js/ticket-detail.js +4 -4
  62. package/public/js/toast.js +0 -0
  63. package/public/js/transport.js +0 -0
  64. package/public/js/unread.js +0 -0
  65. package/public/js/url-routes.js +0 -0
  66. package/public/orbits-favicon.png +0 -0
  67. package/public/orbits-logo-bg.png +0 -0
  68. package/public/orbits-logo.png +0 -0
  69. package/public/styles.css +498 -445
  70. package/src/core/agent.js +0 -0
  71. package/src/core/agents-md.js +0 -0
  72. package/src/core/attachments.js +0 -0
  73. package/src/core/auth.js +0 -0
  74. package/src/core/backups.js +0 -0
  75. package/src/core/board.js +0 -0
  76. package/src/core/boards.js +0 -0
  77. package/src/core/bootstrap.js +0 -0
  78. package/src/core/css-bundle.js +29 -0
  79. package/src/core/db.js +0 -0
  80. package/src/core/delete-board.js +0 -0
  81. package/src/core/dispatch.js +0 -0
  82. package/src/core/events.js +0 -0
  83. package/src/core/http.js +10 -3
  84. package/src/core/migrate.js +0 -0
  85. package/src/core/paths.js +0 -0
  86. package/src/core/provision-repo-board.js +0 -0
  87. package/src/core/queries.js +0 -0
  88. package/src/core/registry.js +0 -0
  89. package/src/core/relations.js +0 -0
  90. package/src/core/review-verdicts.js +0 -0
  91. package/src/core/router.js +0 -0
  92. package/src/core/search.js +0 -0
  93. package/src/core/seed.js +0 -0
  94. package/src/core/snapshots.js +0 -0
  95. package/src/core/states.js +0 -0
  96. package/src/core/system-picker.js +0 -0
  97. package/src/core/tickets.js +0 -0
  98. package/src/core/util.js +0 -0
  99. package/src/mcp/orbit-client.js +0 -0
  100. package/src/mcp-server.js +0 -0
  101. package/src/server.js +0 -0
  102. package/dist/full/js/app.55b38e12.js.map +0 -7
  103. package/dist/full/styles.273fc37a.css +0 -6002
package/.dockerignore CHANGED
File without changes
package/Dockerfile CHANGED
File without changes
package/LICENSE CHANGED
File without changes
package/README.md CHANGED
File without changes
package/SKILL-ORBIT.md CHANGED
File without changes
package/build.mjs CHANGED
@@ -1,10 +1,11 @@
1
1
  #!/usr/bin/env node
2
- // Two-edition static build. Bundles public/js/main.js with esbuild, copies
3
- // HTML/CSS/images alongside, and rewrites the script tag to point at the
4
- // hashed bundle. Edition is selected via `--edition=full|preview`; preview
2
+ // Two-edition static build. Bundles public/js/main.js and public/styles.css
3
+ // with esbuild, copies HTML/images alongside, and rewrites asset tags to point
4
+ // at hashed bundles. Edition is selected via `--edition=full|preview`; preview
5
5
  // substitutes `__ORBIT_EDITION__` so config.js reports edition="preview".
6
6
 
7
7
  import { build } from "esbuild";
8
+ import { bundleCss } from "./src/core/css-bundle.js";
8
9
  import {
9
10
  cpSync,
10
11
  existsSync,
@@ -143,9 +144,14 @@ async function run() {
143
144
  writeFileSync(join(outDir, "js", jsName), jsFile.contents);
144
145
  if (mapFile) writeFileSync(join(outDir, "js", `${jsName}.map`), mapFile.contents);
145
146
 
146
- // 2. Hash + copy CSS.
147
+ // 2. Bundle CSS package imports, then hash + copy the flattened output.
147
148
  const cssSrc = join(PUBLIC_DIR, "styles.css");
148
- const cssBuf = readFileSync(cssSrc);
149
+ const cssBundle = await bundleCss({
150
+ entryPoint: cssSrc,
151
+ outfile: join(outDir, "styles.css"),
152
+ minify: true
153
+ });
154
+ const cssBuf = cssBundle.cssFile.contents;
149
155
  const cssHash = hashContent(cssBuf);
150
156
  const cssName = `styles.${cssHash}.css`;
151
157
  writeFileSync(join(outDir, cssName), cssBuf);
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -33,7 +33,7 @@
33
33
  } catch (e) {}
34
34
  </script>
35
35
  <link rel="preload" as="image" href="./orbits-logo.png" />
36
- <link rel="stylesheet" href="styles.273fc37a.css" />
36
+ <link rel="stylesheet" href="styles.baccc8e3.css" />
37
37
  <!-- Boot splash — the canonical ss-ui loading screen (see the package's
38
38
  components/loader.css). Inline critical CSS so it paints before
39
39
  /js/main.js loads. The logo grows in then breathes; no spinner.
@@ -159,6 +159,7 @@
159
159
  id="newTicketBtn"
160
160
  type="button"
161
161
  class="topbar-btn btn-sun topbar-ctl-shrink"
162
+ data-variant="cta"
162
163
  >
163
164
  <span class="btn-plus" aria-hidden="true">+</span>
164
165
  <span class="btn-sun-label">New Card</span>
@@ -168,6 +169,7 @@
168
169
  type="button"
169
170
  id="boardMenuBtn"
170
171
  class="topbar-chip topbar-ctl-shrink"
172
+ data-variant="board-chip"
171
173
  aria-expanded="false"
172
174
  aria-haspopup="true"
173
175
  aria-controls="boardFlyout"
@@ -185,7 +187,7 @@
185
187
  y="4"
186
188
  width="6"
187
189
  height="16"
188
- rx="1.5"
190
+ rx="0.75"
189
191
  stroke="currentColor"
190
192
  stroke-width="2"
191
193
  />
@@ -194,12 +196,12 @@
194
196
  y="4"
195
197
  width="6"
196
198
  height="16"
197
- rx="1.5"
199
+ rx="0.75"
198
200
  stroke="currentColor"
199
201
  stroke-width="2"
200
202
  />
201
203
  </svg>
202
- Board
204
+ <span class="topbar-chip-label">Board</span>
203
205
  </button>
204
206
  <div
205
207
  id="boardFlyout"
@@ -211,7 +213,8 @@
211
213
  <button
212
214
  id="themeToggle"
213
215
  type="button"
214
- class="topbar-btn ghost topbar-ctl-shrink"
216
+ class="topbar-btn topbar-ctl-shrink"
217
+ data-variant="theme"
215
218
  aria-label="Toggle theme"
216
219
  >
217
220
  <svg
@@ -235,7 +238,8 @@
235
238
  <button
236
239
  id="settingsBtn"
237
240
  type="button"
238
- class="topbar-btn ghost topbar-ctl-shrink"
241
+ class="topbar-btn topbar-ctl-shrink"
242
+ data-variant="translucent"
239
243
  >
240
244
  <svg
241
245
  class="topbar-icon"
@@ -420,7 +424,7 @@
420
424
  </div>
421
425
  </dialog>
422
426
 
423
- <script src="js/app.55b38e12.js" type="module"></script>
427
+ <script src="js/app.ccc442f7.js" type="module"></script>
424
428
  <!-- Fade out the boot splash once the DOM is ready. The /js/main.js
425
429
  module runs before DOMContentLoaded, so theme/motion + wiring are
426
430
  already applied by the time this fires. -->