@acryldev/workspace 0.1.1 → 0.2.1

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 (73) hide show
  1. package/README.md +2 -2
  2. package/cordis.patch.yml +1 -1
  3. package/lib/client.js +52 -52
  4. package/lib/client.js.map +1 -1
  5. package/lib/index.js +23 -23
  6. package/lib/index.js.map +1 -1
  7. package/lib/{agents → types/agents}/route.d.ts +1 -1
  8. package/lib/{agents → types/agents}/status/route.d.ts +1 -1
  9. package/lib/{capabilities → types/capabilities}/route.d.ts +1 -1
  10. package/lib/types/client/agents/controls.d.ts +2 -2
  11. package/lib/types/client/changes/changes-tab.d.ts +1 -1
  12. package/lib/types/client/checks/checks-tab.d.ts +1 -1
  13. package/lib/types/client/comments/comments-tab.d.ts +1 -1
  14. package/lib/types/client/dock/dock-hooks.d.ts +1 -1
  15. package/lib/types/client/dom/find-by-name.d.ts +1 -1
  16. package/lib/types/client/files/files-tab.d.ts +2 -2
  17. package/lib/types/client/palette/palette-commands.d.ts +2 -2
  18. package/lib/types/client/palette/palette-shortcut.d.ts +3 -3
  19. package/lib/types/client/review/review-tab.d.ts +1 -1
  20. package/lib/{files → types/files}/route.d.ts +1 -1
  21. package/lib/{folder-picker → types/folder-picker}/picker.d.ts +1 -1
  22. package/lib/{folder-picker → types/folder-picker}/route.d.ts +1 -1
  23. package/lib/{git → types/git}/route.d.ts +1 -1
  24. package/lib/{index.d.ts → types/index.d.ts} +1 -1
  25. package/lib/{private-route.d.ts → types/private-route.d.ts} +2 -2
  26. package/lib/types/projects/contract.d.ts +1 -1
  27. package/lib/{projects → types/projects}/registry.d.ts +1 -1
  28. package/lib/{projects → types/projects}/route.d.ts +1 -1
  29. package/lib/{pty → types/pty}/route.d.ts +1 -1
  30. package/lib/{pty → types/pty}/stream.d.ts +2 -2
  31. package/lib/{shared-context → types/shared-context}/route.d.ts +1 -1
  32. package/lib/ui.js +8 -8
  33. package/lib/ui.js.map +1 -1
  34. package/package.json +20 -21
  35. package/lib/agents/argument-text.d.ts +0 -9
  36. package/lib/agents/contract.d.ts +0 -50
  37. package/lib/agents/definition.d.ts +0 -38
  38. package/lib/agents/known-agents.d.ts +0 -52
  39. package/lib/agents/launch.d.ts +0 -26
  40. package/lib/agents/preferences.d.ts +0 -40
  41. package/lib/agents/status/agent-status.d.ts +0 -38
  42. package/lib/capabilities/contract.d.ts +0 -17
  43. package/lib/files/contract.d.ts +0 -74
  44. package/lib/folder-picker/contract.d.ts +0 -9
  45. package/lib/git/contract.d.ts +0 -136
  46. package/lib/projects/contract.d.ts +0 -82
  47. package/lib/pty/contract.d.ts +0 -52
  48. /package/lib/{agents → types/agents}/catalog.d.ts +0 -0
  49. /package/lib/{agents → types/agents}/file-store.d.ts +0 -0
  50. /package/lib/{agents → types/agents}/settings.d.ts +0 -0
  51. /package/lib/{agents → types/agents}/status/claude-hooks.d.ts +0 -0
  52. /package/lib/{files → types/files}/service.d.ts +0 -0
  53. /package/lib/{git → types/git}/changes.d.ts +0 -0
  54. /package/lib/{git → types/git}/checks.d.ts +0 -0
  55. /package/lib/{git → types/git}/commits.d.ts +0 -0
  56. /package/lib/{git → types/git}/errors.d.ts +0 -0
  57. /package/lib/{git → types/git}/guards.d.ts +0 -0
  58. /package/lib/{git → types/git}/ignored.d.ts +0 -0
  59. /package/lib/{git → types/git}/parsing.d.ts +0 -0
  60. /package/lib/{git → types/git}/runner.d.ts +0 -0
  61. /package/lib/{git → types/git}/search.d.ts +0 -0
  62. /package/lib/{git → types/git}/service.d.ts +0 -0
  63. /package/lib/{git → types/git}/worktrees.d.ts +0 -0
  64. /package/lib/{projects → types/projects}/tools.d.ts +0 -0
  65. /package/lib/{pty → types/pty}/node-pty-spawn.d.ts +0 -0
  66. /package/lib/{pty → types/pty}/screen-model.d.ts +0 -0
  67. /package/lib/{pty → types/pty}/scrollback.d.ts +0 -0
  68. /package/lib/{pty → types/pty}/service.d.ts +0 -0
  69. /package/lib/{shared-context → types/shared-context}/chat.d.ts +0 -0
  70. /package/lib/{shared-context → types/shared-context}/launch.d.ts +0 -0
  71. /package/lib/{shared-context → types/shared-context}/render.d.ts +0 -0
  72. /package/lib/{shared-context → types/shared-context}/service.d.ts +0 -0
  73. /package/lib/{shared-context → types/shared-context}/tool.d.ts +0 -0
package/README.md CHANGED
@@ -1,10 +1,10 @@
1
- # acryl-workspace
1
+ # @acryldev/workspace
2
2
 
3
3
  ACRYL's first-party workspace shell (spec `040-agentic-multiplexer-ade`): a Projects and Chats left pane, a
4
4
  tabbed canvas per git worktree with an optional split, and a right panel (Changes, Review, Checks, Files).
5
5
 
6
6
  **One implementation for Web and Desktop.** The shell (frame, layout, slots) and the workspace live here and are
7
- composed for both surfaces from one declaration in `acryl-harness-runtime`'s `coding-capabilities.ts`
7
+ composed for both surfaces from one declaration in `@acryldev/harness-runtime`'s `coding-capabilities.ts`
8
8
  (`workspace` and `advanced-shell`, `surfaces: ['desktop', 'web']`). Web always runs the ACRYL shell; Desktop
9
9
  lets the user pick it or the stock frame. What differs is behind small seams: the platform (`shell/environment.ts`:
10
10
  Electron marks the page URL, a plain page is `web`), native window chrome metrics (`shell/chrome-metrics.ts`, only
package/cordis.patch.yml CHANGED
@@ -1,3 +1,3 @@
1
1
  - insert:
2
2
  - id: acryl-workspace
3
- name: '@acryldev/workspace'
3
+ name: '@acryldev/workspace'
package/lib/client.js CHANGED
@@ -27,7 +27,7 @@ window.__ModuleLoader__.load({
27
27
  //#endregion
28
28
  require("@deepseek-ai/dsh-client-ui-renderer/client");
29
29
  require("@deepseek-ai/dsh-client-ui-session/client");
30
- let acryl_app_shell_client = require("@acryldev/app-shell/client");
30
+ let _acryldev_app_shell_client = require("@acryldev/app-shell/client");
31
31
  let react = require("react");
32
32
  let react_jsx_runtime = require("react/jsx-runtime");
33
33
  //#region src/client/dock/dock-model.ts
@@ -202,7 +202,7 @@ window.__ModuleLoader__.load({
202
202
  //#region src/projects/contract.ts
203
203
  /**
204
204
  * The project registry's wire contract. A project is a folder the user added to ACRYL; ACRYL owns the list (it lives in the ACRYL home through
205
- * `acryl-settings`), and the DeepSeek Harness chat's workspaces follow it one way: a chat registers the folder it runs in when it starts, never the other
205
+ * `@acryldev/settings`), and the DeepSeek Harness chat's workspaces follow it one way: a chat registers the folder it runs in when it starts, never the other
206
206
  * way round.
207
207
  */
208
208
  const WORKSPACE_PROJECTS_PATH = "/api/acryl-workspace/projects";
@@ -1085,7 +1085,7 @@ window.__ModuleLoader__.load({
1085
1085
  error: value.error
1086
1086
  };
1087
1087
  }
1088
- throw new Error("acryl-workspace: invalid terminal stream message");
1088
+ throw new Error("@acryldev/workspace: invalid terminal stream message");
1089
1089
  }
1090
1090
  //#endregion
1091
1091
  //#region src/client/terminal/terminal-size.ts
@@ -1964,7 +1964,7 @@ window.__ModuleLoader__.load({
1964
1964
  * by hand). Deliberately small: `aria-label`, else the button's own trimmed text — the two cases every
1965
1965
  * control ACRYL's own code has ever needed to find this way. A caller that needs the fuller ARIA
1966
1966
  * accessible-name algorithm (labelled inputs, `aria-labelledby`, roles other than button) has that in
1967
- * `acryl-agent-control`'s driver; this stays a workspace-local primitive so the two packages do not depend
1967
+ * `@acryldev/agent-control`'s driver; this stays a workspace-local primitive so the two packages do not depend
1968
1968
  * on each other for one function.
1969
1969
  */
1970
1970
  /** @returns the trimmed `aria-label`, or the element's own trimmed text when it has none. */
@@ -3218,8 +3218,8 @@ window.__ModuleLoader__.load({
3218
3218
  const DSH_FILES_KIND = "files";
3219
3219
  /** The kind ACRYL's tree had before the takeover; still registered (with no start-page entry) so a tab the user kept open still shows. */
3220
3220
  const FILES_KIND = "worktree-files";
3221
- const FILES_ID = "@acryldev/workspace/files";
3222
- const FILES_TAKEOVER_ID = "@acryldev/workspace/files-takeover";
3221
+ const FILES_ID = "acryl-workspace/files";
3222
+ const FILES_TAKEOVER_ID = "acryl-workspace/files-takeover";
3223
3223
  /**
3224
3224
  * PENDING (not failed) while the upstream right sidebar is absent; every registration unwinds together.
3225
3225
  * @param takeOver - the advanced shell: ACRYL's tree replaces DSH's Files tab. Compatibility mode runs DSH's own client unchanged, so
@@ -3263,7 +3263,7 @@ window.__ModuleLoader__.load({
3263
3263
  return () => {
3264
3264
  for (const remove of removers.reverse()) remove();
3265
3265
  };
3266
- }, "acryl-workspace: Files tab type");
3266
+ }, "@acryldev/workspace: Files tab type");
3267
3267
  }
3268
3268
  };
3269
3269
  }
@@ -3548,7 +3548,7 @@ window.__ModuleLoader__.load({
3548
3548
  /** The tab kind this plugin owns. */
3549
3549
  const CHANGES_KIND = "changes";
3550
3550
  /** This implementation's identity in the tab system, and the key its body registers under. */
3551
- const CHANGES_ID = "@acryldev/workspace/changes";
3551
+ const CHANGES_ID = "acryl-workspace/changes";
3552
3552
  /**
3553
3553
  * A dependency-gated child plugin: it is PENDING (not failed) while the upstream right sidebar is
3554
3554
  * absent, and mounts by itself when it appears, so it can never take the canvas or the left pane
@@ -3597,7 +3597,7 @@ window.__ModuleLoader__.load({
3597
3597
  removeBody();
3598
3598
  removeType();
3599
3599
  };
3600
- }, "acryl-workspace: Changes tab type");
3600
+ }, "@acryldev/workspace: Changes tab type");
3601
3601
  }
3602
3602
  };
3603
3603
  }
@@ -3832,7 +3832,7 @@ window.__ModuleLoader__.load({
3832
3832
  //#endregion
3833
3833
  //#region src/client/checks/checks-tab.ts
3834
3834
  const CHECKS_KIND = "checks";
3835
- const CHECKS_ID = "@acryldev/workspace/checks";
3835
+ const CHECKS_ID = "acryl-workspace/checks";
3836
3836
  /** PENDING (not failed) while the upstream right sidebar is absent; both registrations unwind together. */
3837
3837
  function checksTabPlugin(shell, gitApi) {
3838
3838
  return {
@@ -3865,7 +3865,7 @@ window.__ModuleLoader__.load({
3865
3865
  removeBody();
3866
3866
  removeType();
3867
3867
  };
3868
- }, "acryl-workspace: Checks tab type");
3868
+ }, "@acryldev/workspace: Checks tab type");
3869
3869
  }
3870
3870
  };
3871
3871
  }
@@ -4078,7 +4078,7 @@ window.__ModuleLoader__.load({
4078
4078
  //#endregion
4079
4079
  //#region src/client/review/review-tab.ts
4080
4080
  const REVIEW_KIND = "review";
4081
- const REVIEW_ID = "@acryldev/workspace/review";
4081
+ const REVIEW_ID = "acryl-workspace/review";
4082
4082
  /**
4083
4083
  * PENDING (not failed) while the upstream right sidebar is absent; both registrations live in one
4084
4084
  * effect so they unwind together.
@@ -4114,7 +4114,7 @@ window.__ModuleLoader__.load({
4114
4114
  removeBody();
4115
4115
  removeType();
4116
4116
  };
4117
- }, "acryl-workspace: Review tab type");
4117
+ }, "@acryldev/workspace: Review tab type");
4118
4118
  }
4119
4119
  };
4120
4120
  }
@@ -4509,7 +4509,7 @@ window.__ModuleLoader__.load({
4509
4509
  //#endregion
4510
4510
  //#region src/client/comments/comments-tab.ts
4511
4511
  const COMMENTS_KIND = "comments";
4512
- const COMMENTS_ID = "@acryldev/workspace/comments";
4512
+ const COMMENTS_ID = "acryl-workspace/comments";
4513
4513
  /** PENDING (not failed) while the upstream right sidebar is absent; both registrations unwind together. */
4514
4514
  function commentsTabPlugin(shell, comments, terminals, writeText) {
4515
4515
  return {
@@ -4544,7 +4544,7 @@ window.__ModuleLoader__.load({
4544
4544
  removeBody();
4545
4545
  removeType();
4546
4546
  };
4547
- }, "acryl-workspace: Comments tab type");
4547
+ }, "@acryldev/workspace: Comments tab type");
4548
4548
  }
4549
4549
  };
4550
4550
  }
@@ -5966,12 +5966,12 @@ window.__ModuleLoader__.load({
5966
5966
  /**
5967
5967
  * The real ACRYL mark for the tree's own header (the upstream sidebar's chrome, which showed it, is hidden).
5968
5968
  *
5969
- * `dsh-client-ui-brand-acryl`'s client entry is a Cordis-loader-format bundle
5969
+ * `@acryldev/brand-client`'s client entry is a Cordis-loader-format bundle
5970
5970
  * (`window.__ModuleLoader__.load(...)`), built to be consumed only through the sidebar's own brand-mark
5971
5971
  * slot - not importable as a plain React component (confirmed by a real `ReferenceError: window is not
5972
5972
  * defined` when tried directly). Rather than substitute a made-up mark, this reads the real source PNGs
5973
5973
  * from `acryl-logo-data.ts` (generated by `scripts/generate-acryl-logo-data.mjs` from the same
5974
- * workspace-root `acryl-logo.png`/`acryl-logo-white.png` that `dsh-client-ui-brand-acryl`'s own
5974
+ * workspace-root `acryl-logo.png`/`acryl-logo-white.png` that `@acryldev/brand-client`'s own
5975
5975
  * generator and `acryl-desktop`'s own generator already read for the identical purpose) - a third,
5976
5976
  * independent reader of that one shared source, not a copy of either sibling package's internals.
5977
5977
  */
@@ -7645,8 +7645,8 @@ window.__ModuleLoader__.load({
7645
7645
  ctx.effect(() => ctx.locale.register(SETTINGS_LOCALE_NAMESPACE, {
7646
7646
  zh,
7647
7647
  en
7648
- }), "acryl-workspace settings: dictionaries");
7649
- ctx.effect(() => installSettingsStyles(), "acryl-workspace settings: styles");
7648
+ }), "@acryldev/workspace settings: dictionaries");
7649
+ ctx.effect(() => installSettingsStyles(), "@acryldev/workspace settings: styles");
7650
7650
  }
7651
7651
  };
7652
7652
  }
@@ -8566,7 +8566,7 @@ window.__ModuleLoader__.load({
8566
8566
  //#endregion
8567
8567
  //#region src/client/palette/palette-commands.ts
8568
8568
  const isMac = () => typeof navigator !== "undefined" && /mac/i.test(navigator.platform);
8569
- /** The palette's default shortcut (registered by `acryl-shortcuts`), drawn for the platform. */
8569
+ /** The palette's default shortcut (registered by `@acryldev/shortcuts`), drawn for the platform. */
8570
8570
  const PALETTE_SHORTCUT_LABEL = () => isMac() ? "⌘⇧P" : "Ctrl+Shift+P";
8571
8571
  /** The commands that always exist, whatever is open. */
8572
8572
  const FIXED_COMMANDS = [
@@ -9103,7 +9103,7 @@ window.__ModuleLoader__.load({
9103
9103
  return value !== null && typeof value === "object" && !Array.isArray(value);
9104
9104
  }
9105
9105
  function parseView(value) {
9106
- if (!isObject(value) || typeof value.id !== "string" || value.status !== "starting" && value.status !== "running" && value.status !== "exited" && value.status !== "error" || typeof value.output !== "string" || value.exitCode !== null && typeof value.exitCode !== "number" || value.error !== null && typeof value.error !== "string") throw new Error("acryl-workspace: invalid workspace PTY response");
9106
+ if (!isObject(value) || typeof value.id !== "string" || value.status !== "starting" && value.status !== "running" && value.status !== "exited" && value.status !== "error" || typeof value.output !== "string" || value.exitCode !== null && typeof value.exitCode !== "number" || value.error !== null && typeof value.error !== "string") throw new Error("@acryldev/workspace: invalid workspace PTY response");
9107
9107
  return {
9108
9108
  id: value.id,
9109
9109
  status: value.status,
@@ -9144,7 +9144,7 @@ window.__ModuleLoader__.load({
9144
9144
  credentials: "same-origin"
9145
9145
  });
9146
9146
  const body = await readJson(response);
9147
- if (!response.ok) throw new Error("acryl-workspace: workspace PTY read failed");
9147
+ if (!response.ok) throw new Error("@acryldev/workspace: workspace PTY read failed");
9148
9148
  return parseView(body);
9149
9149
  },
9150
9150
  async write(id, data) {
@@ -9156,7 +9156,7 @@ window.__ModuleLoader__.load({
9156
9156
  id,
9157
9157
  data
9158
9158
  })
9159
- })).ok) throw new Error("acryl-workspace: workspace PTY write failed");
9159
+ })).ok) throw new Error("@acryldev/workspace: workspace PTY write failed");
9160
9160
  },
9161
9161
  async resize(id, cols, rows) {
9162
9162
  if (!(await fetcher("/api/acryl-workspace/pty/resize", {
@@ -9168,7 +9168,7 @@ window.__ModuleLoader__.load({
9168
9168
  cols,
9169
9169
  rows
9170
9170
  })
9171
- })).ok) throw new Error("acryl-workspace: workspace PTY resize failed");
9171
+ })).ok) throw new Error("@acryldev/workspace: workspace PTY resize failed");
9172
9172
  },
9173
9173
  async close(id) {
9174
9174
  if (!(await fetcher("/api/acryl-workspace/pty/close", {
@@ -9176,7 +9176,7 @@ window.__ModuleLoader__.load({
9176
9176
  credentials: "same-origin",
9177
9177
  headers: { "content-type": "application/json" },
9178
9178
  body: JSON.stringify({ id })
9179
- })).ok) throw new Error("acryl-workspace: workspace PTY close failed");
9179
+ })).ok) throw new Error("@acryldev/workspace: workspace PTY close failed");
9180
9180
  }
9181
9181
  };
9182
9182
  }
@@ -20311,7 +20311,7 @@ window.__ModuleLoader__.load({
20311
20311
  terminals.disposeAll();
20312
20312
  await ptyClient.dispose();
20313
20313
  };
20314
- }, "acryl-workspace: terminals and dock");
20314
+ }, "@acryldev/workspace: terminals and dock");
20315
20315
  return {
20316
20316
  ptyClient,
20317
20317
  terminals,
@@ -90054,12 +90054,12 @@ body [data-sidebar-right-guide] { flex: 1 1 auto; min-height: 0; overflow-y: aut
90054
90054
  //#endregion
90055
90055
  //#region src/client/palette/palette-shortcut.ts
90056
90056
  /**
90057
- * The palette's global shortcut. The key itself is a DSH shortcut command registered by `acryl-shortcuts` (Cmd/Ctrl+Shift+P by default,
90057
+ * The palette's global shortcut. The key itself is a DSH shortcut command registered by `@acryldev/shortcuts` (Cmd/Ctrl+Shift+P by default,
90058
90058
  * rebindable in Settings > Shortcuts); it announces itself with a window event, which `startPaletteEventListener` turns into a toggle.
90059
90059
  */
90060
- /** Window event `acryl-shortcuts` dispatches when its palette command runs. Keep the string in step with that package. */
90060
+ /** Window event `@acryldev/shortcuts` dispatches when its palette command runs. Keep the string in step with that package. */
90061
90061
  const PALETTE_TOGGLE_EVENT = "acryl:toggle-command-palette";
90062
- /** Window event that starts picking an element (`acryl-mount-anchors` listens). Keep the string in step with that package. */
90062
+ /** Window event that starts picking an element (`@acryldev/mount-anchors` listens). Keep the string in step with that package. */
90063
90063
  const PICK_ELEMENT_EVENT = "acryl:toggle-element-picker";
90064
90064
  /** @returns disposer. Toggles the palette when the shortcut command fires. */
90065
90065
  function startPaletteEventListener(target, toggle) {
@@ -90777,7 +90777,7 @@ body [data-sidebar-right-guide] { flex: 1 1 auto; min-height: 0; overflow-y: aut
90777
90777
  * state feeds every pane and is refreshed by one owned polling effect.
90778
90778
  */
90779
90779
  function apply(ctx) {
90780
- const environment = (0, acryl_app_shell_client.resolveShellEnvironment)(window.location.hash);
90780
+ const environment = (0, _acryldev_app_shell_client.resolveShellEnvironment)(window.location.hash);
90781
90781
  const advanced = environment.mode === "advanced";
90782
90782
  const gitApi = createWorkspaceGitApi();
90783
90783
  const filesApi = createWorkspaceFilesApi();
@@ -90790,7 +90790,7 @@ body [data-sidebar-right-guide] { flex: 1 1 auto; min-height: 0; overflow-y: aut
90790
90790
  return loaded;
90791
90791
  });
90792
90792
  const frameSession = frameSessionBannerFrom(ctx, (signal) => probeAdmittedSession(signal));
90793
- ctx.effect(() => () => frameSession.dispose(), "acryl-workspace: the frame session banner");
90793
+ ctx.effect(() => () => frameSession.dispose(), "@acryldev/workspace: the frame session banner");
90794
90794
  const browserHome = () => {
90795
90795
  if (capabilities.appPage === void 0) return void 0;
90796
90796
  try {
@@ -90805,12 +90805,12 @@ body [data-sidebar-right-guide] { flex: 1 1 auto; min-height: 0; overflow-y: aut
90805
90805
  }), saved?.groups);
90806
90806
  if (saved !== void 0) shell.setMode(saved.mode);
90807
90807
  const terminalStack = advanced ? createTerminalStack(ctx, storage, shell) : void 0;
90808
- const frame = advanced ? (0, acryl_app_shell_client.applyAdvancedShell)(ctx, environment, dockShellHooks(terminalStack?.host)) : void 0;
90808
+ const frame = advanced ? (0, _acryldev_app_shell_client.applyAdvancedShell)(ctx, environment, dockShellHooks(terminalStack?.host)) : void 0;
90809
90809
  ctx.effect(() => startWorkspacePersistence({
90810
90810
  groups,
90811
90811
  shell,
90812
90812
  storage
90813
- }), "acryl-workspace: save tabs and view");
90813
+ }), "@acryldev/workspace: save tabs and view");
90814
90814
  if (advanced && saved === void 0) ctx.effect(() => {
90815
90815
  let cancelled = false;
90816
90816
  let stop;
@@ -90860,12 +90860,12 @@ body [data-sidebar-right-guide] { flex: 1 1 auto; min-height: 0; overflow-y: aut
90860
90860
  window.removeEventListener("pointerdown", markInteraction, { capture: true });
90861
90861
  window.removeEventListener("keydown", markInteraction, { capture: true });
90862
90862
  };
90863
- }, "acryl-workspace: the app page on first run");
90863
+ }, "@acryldev/workspace: the app page on first run");
90864
90864
  const review = new ReviewStore(parseSavedThreads(storage?.getItem("acryl-workspace:review:v1") ?? null));
90865
- ctx.effect(() => startReviewPersistence(review, storage), "acryl-workspace: save review comments");
90865
+ ctx.effect(() => startReviewPersistence(review, storage), "@acryldev/workspace: save review comments");
90866
90866
  const comments = new CommentStore(parseSavedComments(storage?.getItem("acryl-workspace:comments:v1") ?? null));
90867
- ctx.effect(() => startCommentPersistence(comments, storage), "acryl-workspace: save line comments");
90868
- ctx.effect(() => startOpenSettingsListener(window), "acryl-workspace: Settings from the desktop menu");
90867
+ ctx.effect(() => startCommentPersistence(comments, storage), "@acryldev/workspace: save line comments");
90868
+ ctx.effect(() => startOpenSettingsListener(window), "@acryldev/workspace: Settings from the desktop menu");
90869
90869
  ctx.inject(["layout"], (inner) => {
90870
90870
  const layout = inner.get("layout");
90871
90871
  if (layout?.selectPanel === void 0) return () => {};
@@ -90890,7 +90890,7 @@ body [data-sidebar-right-guide] { flex: 1 1 auto; min-height: 0; overflow-y: aut
90890
90890
  }
90891
90891
  });
90892
90892
  ctx.inject(["sessions"], (child) => {
90893
- child.effect(() => chats.watch(child.sessions), "acryl-workspace: tabs follow the shown chat");
90893
+ child.effect(() => chats.watch(child.sessions), "@acryldev/workspace: tabs follow the shown chat");
90894
90894
  });
90895
90895
  let remoteFaces;
90896
90896
  const connectModel = new ModelConnectControl({
@@ -90909,10 +90909,10 @@ body [data-sidebar-right-guide] { flex: 1 1 auto; min-height: 0; overflow-y: aut
90909
90909
  "remote.session"
90910
90910
  ], (child) => {
90911
90911
  remoteFaces = child.remote;
90912
- child.effect(() => connectModel.start(), "acryl-workspace: model connection");
90912
+ child.effect(() => connectModel.start(), "@acryldev/workspace: model connection");
90913
90913
  child.effect(() => () => {
90914
90914
  remoteFaces = void 0;
90915
- }, "acryl-workspace: model connection cleanup");
90915
+ }, "@acryldev/workspace: model connection cleanup");
90916
90916
  });
90917
90917
  const rightPanel = {
90918
90918
  toggle() {
@@ -90936,12 +90936,12 @@ body [data-sidebar-right-guide] { flex: 1 1 auto; min-height: 0; overflow-y: aut
90936
90936
  ctx.effect(() => {
90937
90937
  projectRegistry.load();
90938
90938
  return () => {};
90939
- }, "acryl-workspace: read the project list");
90939
+ }, "@acryldev/workspace: read the project list");
90940
90940
  ctx.effect(() => followProjectRegistry((view) => {
90941
90941
  projectRegistry.receive(view);
90942
- }), "acryl-workspace: follow the project list");
90942
+ }), "@acryldev/workspace: follow the project list");
90943
90943
  ctx.inject(["workspaces"], (child) => {
90944
- child.effect(() => adoptLegacyProjects(projectRegistry, child.workspaces.list), "acryl-workspace: take over earlier projects");
90944
+ child.effect(() => adoptLegacyProjects(projectRegistry, child.workspaces.list), "@acryldev/workspace: take over earlier projects");
90945
90945
  });
90946
90946
  const projects = createProjectsControl({
90947
90947
  registry: projectRegistry,
@@ -90964,13 +90964,13 @@ body [data-sidebar-right-guide] { flex: 1 1 auto; min-height: 0; overflow-y: aut
90964
90964
  projects.showChat(path);
90965
90965
  });
90966
90966
  }
90967
- }), "acryl-workspace: the shown workspace");
90967
+ }), "@acryldev/workspace: the shown workspace");
90968
90968
  const upstreamPanels = createUpstreamPanels({
90969
90969
  slots: () => ctx.slots,
90970
90970
  layout: () => ctx.get("layout")
90971
90971
  });
90972
- ctx.effect(() => startShellPolling(shell), "acryl-workspace: git state polling");
90973
- ctx.effect(() => installWorkspaceStyles(), "acryl-workspace: styles");
90972
+ ctx.effect(() => startShellPolling(shell), "@acryldev/workspace: git state polling");
90973
+ ctx.effect(() => installWorkspaceStyles(), "@acryldev/workspace: styles");
90974
90974
  ctx.plugin(changesTabPlugin(shell, gitApi));
90975
90975
  ctx.plugin(reviewTabPlugin(shell, review));
90976
90976
  ctx.plugin(checksTabPlugin(shell, gitApi));
@@ -90996,20 +90996,20 @@ body [data-sidebar-right-guide] { flex: 1 1 auto; min-height: 0; overflow-y: aut
90996
90996
  }
90997
90997
  }, browserClipboard()));
90998
90998
  const agentStatus = new AgentStatusState(createAgentStatusApi());
90999
- ctx.effect(() => agentStatus.start(), "acryl-workspace: agent status polling");
90999
+ ctx.effect(() => agentStatus.start(), "@acryldev/workspace: agent status polling");
91000
91000
  const agents = new AgentsState(createWorkspaceAgentsApi());
91001
91001
  ctx.effect(() => {
91002
91002
  agents.refresh();
91003
91003
  return () => {};
91004
- }, "acryl-workspace: load agents");
91004
+ }, "@acryldev/workspace: load agents");
91005
91005
  const tabTypes = new TabTypesState(storage);
91006
91006
  const tabRegistry = new WorkspaceTabRegistry();
91007
- ctx.effect(() => provideWorkspaceTabs(ctx, tabRegistry), "acryl-workspace: workspaceTabs service");
91007
+ ctx.effect(() => provideWorkspaceTabs(ctx, tabRegistry), "@acryldev/workspace: workspaceTabs service");
91008
91008
  ctx.effect(() => tabRegistry.register(briefTabType({
91009
91009
  api: createBriefApi(),
91010
91010
  current: () => projectRegistry.current(),
91011
91011
  workspaces: () => projectRegistry.workspaces()
91012
- })), "acryl-workspace: workspace brief tab");
91012
+ })), "@acryldev/workspace: workspace brief tab");
91013
91013
  const paletteConfig = new PaletteConfigState(storage);
91014
91014
  ctx.plugin(settingsSharedPlugin());
91015
91015
  ctx.plugin(agentsSettingsPlugin(agents));
@@ -91052,7 +91052,7 @@ body [data-sidebar-right-guide] { flex: 1 1 auto; min-height: 0; overflow-y: aut
91052
91052
  })
91053
91053
  }, WorkspaceCanvas);
91054
91054
  } catch (cause) {
91055
- ctx.logger.warn(`acryl-workspace: could not register the canvas: ${cause instanceof Error ? cause.message : String(cause)}`);
91055
+ ctx.logger.warn(`@acryldev/workspace: could not register the canvas: ${cause instanceof Error ? cause.message : String(cause)}`);
91056
91056
  }
91057
91057
  });
91058
91058
  return () => {
@@ -91080,7 +91080,7 @@ body [data-sidebar-right-guide] { flex: 1 1 auto; min-height: 0; overflow-y: aut
91080
91080
  })
91081
91081
  }, ProjectsSidebar);
91082
91082
  } catch (cause) {
91083
- ctx.logger.warn(`acryl-workspace: could not register the left pane: ${cause instanceof Error ? cause.message : String(cause)}`);
91083
+ ctx.logger.warn(`@acryldev/workspace: could not register the left pane: ${cause instanceof Error ? cause.message : String(cause)}`);
91084
91084
  }
91085
91085
  });
91086
91086
  return () => {