@chatcode/chatcode-cli 3.0.4-rc.2 → 3.0.4-rc.3

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 (39) hide show
  1. package/README.i18n.yaml +2 -2
  2. package/README.md +2 -0
  3. package/README.zh.md +2 -0
  4. package/lib/{command-errors-CScdshCl.js → command-errors-BJ_ZWzUU.js} +12 -12
  5. package/lib/{command-trees-Dc17MYfV.js → command-trees-C9b7-bci.js} +2 -2
  6. package/lib/{component-identity-DFJD_d-P.js → component-identity-Jb1DYjke.js} +3 -3
  7. package/lib/{extension-events-qXmhzmHo.js → extension-events-DKX4LXOd.js} +20 -20
  8. package/lib/{host-access-B0CRAwsX.js → host-access-CMg6rsWt.js} +1 -1
  9. package/lib/{keymap-CIoVICBI.js → keymap-CrC4pSNH.js} +2 -2
  10. package/lib/{plugin-BKQsL2xn.js → plugin-CmyMCGfb.js} +350 -339
  11. package/lib/{scenes-BRf-zMpF.js → scenes-Cil9RnwU.js} +3 -3
  12. package/lib/{settings-sections-4gMhveN_.js → settings-sections-jVCqXwdH.js} +3 -3
  13. package/lib/{statusBarSettings-CnmdSHkO.js → statusBarSettings-DNoBH3Cq.js} +3 -3
  14. package/lib/{themes-Ce97Zsri.js → themes-BdgeY3It.js} +12 -12
  15. package/lib/tui-compat-command-trees.js +1 -1
  16. package/lib/tui-compat-extensions.js +3 -3
  17. package/lib/tui-compat-plugin-host.js +5 -5
  18. package/lib/tui-compat-scenes.js +1 -1
  19. package/lib/tui-compat-settings-sections.js +1 -1
  20. package/lib/tui-compat-working-activity.js +1 -1
  21. package/lib/tui-compat-workspaces.js +1 -1
  22. package/lib/tui-compat.js +5 -5
  23. package/lib/{workspaces-1xrm-e3V.js → workspaces-DOatJRYr.js} +2 -2
  24. package/package.json +31 -31
  25. package/runtime/manifest.json +2 -2
  26. package/runtime/node_modules/@deepseek-ai/dsh-app-boot/lib/index.js +2 -1
  27. package/runtime/node_modules/@deepseek-ai/dsh-atomic-write/lib/index.js +167 -44
  28. package/runtime/node_modules/@deepseek-ai/dsh-atomic-write/lib/types/index.d.ts +14 -6
  29. package/runtime/node_modules/@deepseek-ai/dsh-atomic-write/lib/types/linux-lock.d.ts +18 -0
  30. package/runtime/node_modules/@deepseek-ai/dsh-atomic-write/lib/types/windows-lock.d.ts +7 -0
  31. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-settings-account/lib/client.js +2 -2
  32. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-settings-general/lib/client.js +1 -1
  33. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-sidebar/lib/client.js +1 -3
  34. package/runtime/node_modules/@deepseek-ai/dsh-llm-deepseek/lib/types/adapter.d.ts +1 -1
  35. package/runtime/node_modules/@deepseek-ai/dsh-llm-deepseek/lib/types/config.d.ts +3 -3
  36. package/runtime/node_modules/@deepseek-ai/dsh-llm-deepseek-account/lib/types/config.d.ts +2 -2
  37. package/runtime/node_modules/@deepseek-ai/dsh-llm-deepseek-api-key/lib/types/config.d.ts +2 -2
  38. package/runtime/node_modules/@deepseek-ai/dsh-tool-cordis/lib/types/api-catalog.js +1 -1
  39. package/scripts/launch.mjs +8 -0
@@ -1,7 +1,7 @@
1
- import { a as compositionRoot, i as bindCallerEffect, n as activationFiber, o as concreteService, s as requirePluginCaller } from "./host-access-B0CRAwsX.js";
2
- import { n as componentIdentityOf } from "./component-identity-DFJD_d-P.js";
1
+ import { a as compositionRoot, i as bindCallerEffect, n as activationFiber, o as concreteService, s as requirePluginCaller } from "./host-access-CMg6rsWt.js";
2
+ import { n as componentIdentityOf } from "./component-identity-Jb1DYjke.js";
3
3
  import { Service } from "@deepseek-ai/cordis";
4
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.19_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/scenes.js
4
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.20_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/scenes.js
5
5
  /** Provider-neutral full-screen scene registry for terminal front doors. */
6
6
  const name = "dsh-tui-scenes";
7
7
  /**
@@ -1,6 +1,6 @@
1
- import { a as compositionRoot, i as bindCallerEffect, n as activationFiber, o as concreteService, s as requirePluginCaller } from "./host-access-B0CRAwsX.js";
1
+ import { a as compositionRoot, i as bindCallerEffect, n as activationFiber, o as concreteService, s as requirePluginCaller } from "./host-access-CMg6rsWt.js";
2
2
  import { Service } from "@deepseek-ai/cordis";
3
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.19_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/credentialRefGuard.js
3
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.20_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/credentialRefGuard.js
4
4
  /**
5
5
  * Credential-ref reservation guard for the plugin settings-section seam.
6
6
  *
@@ -49,7 +49,7 @@ function vetSectionSecretRefs(section) {
49
49
  };
50
50
  }
51
51
  //#endregion
52
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.19_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/settings-sections.js
52
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.20_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/settings-sections.js
53
53
  /**
54
54
  * Plugin settings-section extension seam for terminal front doors.
55
55
  *
@@ -1,5 +1,5 @@
1
1
  import z from "@deepseek-ai/schemastery";
2
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.19_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/settingsCompat.js
2
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.20_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/settingsCompat.js
3
3
  /** Mark display fields editable on hosts that support volatile Config references. */
4
4
  function withLiveSettings(schema, fields) {
5
5
  for (const key of fields) {
@@ -43,7 +43,7 @@ function settingsValue(settings, ns) {
43
43
  return descriptor && "value" in descriptor ? descriptor.value : settings.get?.(ns);
44
44
  }
45
45
  //#endregion
46
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.19_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/tuiDisplayPrefs.js
46
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.20_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/tuiDisplayPrefs.js
47
47
  /** Default footer shows account-wide tokens today and current context usage. */
48
48
  const DEFAULT_STATUS_BAR = Object.freeze({
49
49
  compact: true,
@@ -203,7 +203,7 @@ function applyPageMargin(setting) {
203
203
  return next;
204
204
  }
205
205
  //#endregion
206
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.19_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/statusBarSettings.js
206
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.20_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/statusBarSettings.js
207
207
  /** Shared status-footer settings declarations and validation. */
208
208
  /**
209
209
  * Build the complete footer schema for both composition and live settings.
@@ -1,12 +1,12 @@
1
- import { c as parseCombo, i as comboMatchesStrict, r as canonicalCombo, s as fixedReservedCombos, u as reservedActionCombos } from "./keymap-CIoVICBI.js";
2
- import { a as compositionRoot, i as bindCallerEffect, n as activationFiber, o as concreteService, r as assertCallerContext, s as requirePluginCaller, t as activationContext } from "./host-access-B0CRAwsX.js";
3
- import { n as componentIdentityOf } from "./component-identity-DFJD_d-P.js";
4
- import { S as DATA_DIR, f as cleanRenderText, p as cleanScalarText } from "./extension-events-qXmhzmHo.js";
1
+ import { c as parseCombo, i as comboMatchesStrict, r as canonicalCombo, s as fixedReservedCombos, u as reservedActionCombos } from "./keymap-CrC4pSNH.js";
2
+ import { a as compositionRoot, i as bindCallerEffect, n as activationFiber, o as concreteService, r as assertCallerContext, s as requirePluginCaller, t as activationContext } from "./host-access-CMg6rsWt.js";
3
+ import { n as componentIdentityOf } from "./component-identity-Jb1DYjke.js";
4
+ import { S as DATA_DIR, f as cleanRenderText, p as cleanScalarText } from "./extension-events-DKX4LXOd.js";
5
5
  import { readFileSync, readdirSync } from "node:fs";
6
6
  import { join } from "node:path";
7
7
  import { Context, Service } from "@deepseek-ai/cordis";
8
8
  import { KNOWN_SESSION_EVENT_TYPES } from "@deepseek-ai/dsh-session";
9
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.19_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/dialogs.js
9
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.20_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/dialogs.js
10
10
  /**
11
11
  * Managed plugin dialogs — the pi `ctx.ui.select/confirm/input` seam for
12
12
  * ChatCode CLI TUI. Plugins hand the HOST a declarative request; the TUI renders the
@@ -279,7 +279,7 @@ function getHostDialogStore(runtime) {
279
279
  }
280
280
  }
281
281
  //#endregion
282
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.19_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/status.js
282
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.20_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/status.js
283
283
  /**
284
284
  * Keyed status-line contributions — pi's `ctx.ui.setStatus(key, text)`.
285
285
  * Each plugin owns a key; setting text shows it, setting undefined clears
@@ -503,7 +503,7 @@ function getHostStatusStore(runtime) {
503
503
  }
504
504
  }
505
505
  //#endregion
506
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.19_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/shortcuts.js
506
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.20_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/shortcuts.js
507
507
  /**
508
508
  * Plugin keyboard shortcuts — pi's `pi.registerShortcut`. A plugin binds a
509
509
  * combo (`ctrl+shift+p`, `alt+k`, …) to a handler; the chat screen matches
@@ -704,7 +704,7 @@ function getHostShortcuts(runtime) {
704
704
  }
705
705
  }
706
706
  //#endregion
707
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.19_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/renderers.js
707
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.20_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/renderers.js
708
708
  /**
709
709
  * Custom session-entry renderers — pi's `pi.registerMessageRenderer`. A
710
710
  * plugin that appends its own log-only session events (`session.append(
@@ -876,7 +876,7 @@ function getHostRenderers(runtime) {
876
876
  }
877
877
  }
878
878
  //#endregion
879
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.19_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/toast.js
879
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.20_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/toast.js
880
880
  /**
881
881
  * Plugin-facing transient notifications — a fire-and-forget toast shown on
882
882
  * the host's existing notification surface (the same toasts the channel
@@ -1011,7 +1011,7 @@ function getHostToastStore(runtime) {
1011
1011
  }
1012
1012
  }
1013
1013
  //#endregion
1014
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.19_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/theme.js
1014
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.20_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/theme.js
1015
1015
  /**
1016
1016
  * dsh-tui color themes — ChatCode CLI terminal family.
1017
1017
  *
@@ -1486,7 +1486,7 @@ function getActiveTheme() {
1486
1486
  return getTheme(activeThemeName);
1487
1487
  }
1488
1488
  //#endregion
1489
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.19_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/customTheme.js
1489
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.20_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/customTheme.js
1490
1490
  /**
1491
1491
  * User-defined color themes for dsh-tui.
1492
1492
  *
@@ -1716,7 +1716,7 @@ function indexCustomThemeNames() {
1716
1716
  nameIndexed = true;
1717
1717
  }
1718
1718
  //#endregion
1719
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.19_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/themes.js
1719
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.20_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/themes.js
1720
1720
  /**
1721
1721
  * Cordis-backed runtime theme contributions.
1722
1722
  *
@@ -1,2 +1,2 @@
1
- import { r as name, t as TuiCommandTreeRuntime } from "./command-trees-Dc17MYfV.js";
1
+ import { r as name, t as TuiCommandTreeRuntime } from "./command-trees-C9b7-bci.js";
2
2
  export { TuiCommandTreeRuntime, TuiCommandTreeRuntime as default, name };
@@ -1,9 +1,9 @@
1
- import { a as normalizeCancelDecision, c as installDecisionGuard, n as DECISION_TOTAL_TIMEOUT_MS, o as DECISION_EVENT_PERMISSIONS, t as DECISION_HANDLER_TIMEOUT_MS, x as readGrantStore } from "./extension-events-qXmhzmHo.js";
2
- import { A as TuiDialogRuntime, C as matchShortcut, D as getHostStatusStore, E as TuiStatusStore, O as DIALOG_DEFAULT_TIMEOUT_MS, T as TuiStatusRuntime, _ as TuiToastRuntime, j as TuiDialogStore, k as INPUT_CELLS, t as TuiThemeRuntime, w as parseShortcutCombo, x as TuiShortcutRuntime, y as TuiRendererRuntime } from "./themes-Ce97Zsri.js";
1
+ import { a as normalizeCancelDecision, c as installDecisionGuard, n as DECISION_TOTAL_TIMEOUT_MS, o as DECISION_EVENT_PERMISSIONS, t as DECISION_HANDLER_TIMEOUT_MS, x as readGrantStore } from "./extension-events-DKX4LXOd.js";
2
+ import { A as TuiDialogRuntime, C as matchShortcut, D as getHostStatusStore, E as TuiStatusStore, O as DIALOG_DEFAULT_TIMEOUT_MS, T as TuiStatusRuntime, _ as TuiToastRuntime, j as TuiDialogStore, k as INPUT_CELLS, t as TuiThemeRuntime, w as parseShortcutCombo, x as TuiShortcutRuntime, y as TuiRendererRuntime } from "./themes-BdgeY3It.js";
3
3
  import { appendFileSync, mkdirSync } from "node:fs";
4
4
  import { homedir } from "node:os";
5
5
  import { dirname, join } from "node:path";
6
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.19_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/extensions.js
6
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.20_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/extensions.js
7
7
  /**
8
8
  * The dsh-tui-extensions row: mounts every plugin-facing UI seam service in
9
9
  * one cordis plugin (one profile row, one patch-surface entry — see issue
@@ -1,10 +1,10 @@
1
- import { a as compositionRoot, i as bindCallerEffect, n as activationFiber, o as concreteService, r as assertCallerContext, t as activationContext } from "./host-access-B0CRAwsX.js";
2
- import { c as requiresDecisionEvents, o as requireComponentIdentity, r as declaresCommand, s as requiresContract, t as bindComponentIdentity } from "./component-identity-DFJD_d-P.js";
3
- import { B as createAdmissionCatalog, F as verifyRegistry, I as DECISION_EVENTS_COORDINATE, J as parseManifest, L as TUI_DECISION_EVENT_NAMES, M as loadSpecData, P as verifyContractProfiles, R as TUI_EXTENSION_API_VERSION, Y as projectManifest, c as installDecisionGuard, l as registerDecisionHandler, n as DECISION_TOTAL_TIMEOUT_MS, o as DECISION_EVENT_PERMISSIONS, s as decisionHandlerMetadataOf, t as DECISION_HANDLER_TIMEOUT_MS, u as withDecisionRegistration, x as readGrantStore, z as TUI_EXTENSION_PERMISSION_NAMES } from "./extension-events-qXmhzmHo.js";
4
- import { A as validatePlugin, C as TuiPluginStorageRuntime, D as buildHostDescriptor, E as HOST_SUPPORTED_CONTRACTS, O as negotiate, S as STORAGE_MAX_KEYS, T as TuiEffectLedgerRuntime, b as STORAGE_KEY_MAX_LENGTH, c as OBSERVE_CALLBACK_QUEUE_LIMIT, d as OBSERVE_ID_MAX_CHARS, f as OBSERVE_IMAGE_BASE64_MAX_CHARS, g as TuiMessageObserverRuntime, h as OBSERVE_SUMMARY_CELLS, i as withCommandErrorMapping, k as createContractIndex, l as OBSERVE_CALLBACK_TIMEOUT_MS, m as OBSERVE_SCOPE_MAX_CHARS, n as hasCommandErrorCode, o as stampCommandOwner, p as OBSERVE_IMAGE_MAX_BYTES, r as mapCommandError, s as unstampCommandOwner, t as COMMAND_ERROR_CODES, u as OBSERVE_CONTENT_MAX_CHARS, x as STORAGE_MAX_BYTES, y as PluginStorageError } from "./command-errors-CScdshCl.js";
1
+ import { a as compositionRoot, i as bindCallerEffect, n as activationFiber, o as concreteService, r as assertCallerContext, t as activationContext } from "./host-access-CMg6rsWt.js";
2
+ import { c as requiresDecisionEvents, o as requireComponentIdentity, r as declaresCommand, s as requiresContract, t as bindComponentIdentity } from "./component-identity-Jb1DYjke.js";
3
+ import { B as createAdmissionCatalog, F as verifyRegistry, I as DECISION_EVENTS_COORDINATE, J as parseManifest, L as TUI_DECISION_EVENT_NAMES, M as loadSpecData, P as verifyContractProfiles, R as TUI_EXTENSION_API_VERSION, Y as projectManifest, c as installDecisionGuard, l as registerDecisionHandler, n as DECISION_TOTAL_TIMEOUT_MS, o as DECISION_EVENT_PERMISSIONS, s as decisionHandlerMetadataOf, t as DECISION_HANDLER_TIMEOUT_MS, u as withDecisionRegistration, x as readGrantStore, z as TUI_EXTENSION_PERMISSION_NAMES } from "./extension-events-DKX4LXOd.js";
4
+ import { A as validatePlugin, C as TuiPluginStorageRuntime, D as buildHostDescriptor, E as HOST_SUPPORTED_CONTRACTS, O as negotiate, S as STORAGE_MAX_KEYS, T as TuiEffectLedgerRuntime, b as STORAGE_KEY_MAX_LENGTH, c as OBSERVE_CALLBACK_QUEUE_LIMIT, d as OBSERVE_ID_MAX_CHARS, f as OBSERVE_IMAGE_BASE64_MAX_CHARS, g as TuiMessageObserverRuntime, h as OBSERVE_SUMMARY_CELLS, i as withCommandErrorMapping, k as createContractIndex, l as OBSERVE_CALLBACK_TIMEOUT_MS, m as OBSERVE_SCOPE_MAX_CHARS, n as hasCommandErrorCode, o as stampCommandOwner, p as OBSERVE_IMAGE_MAX_BYTES, r as mapCommandError, s as unstampCommandOwner, t as COMMAND_ERROR_CODES, u as OBSERVE_CONTENT_MAX_CHARS, x as STORAGE_MAX_BYTES, y as PluginStorageError } from "./command-errors-BJ_ZWzUU.js";
5
5
  import { randomUUID } from "node:crypto";
6
6
  import { Context, Service } from "@deepseek-ai/cordis";
7
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.19_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/plugin-host.js
7
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.20_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/plugin-host.js
8
8
  /**
9
9
  * The dsh-tui-plugin-host row: the plugin-interop anchor every later
10
10
  * contract surface hangs off (storage.local, messages.observe, effect
@@ -1,2 +1,2 @@
1
- import { r as name, t as TuiSceneRuntime } from "./scenes-BRf-zMpF.js";
1
+ import { r as name, t as TuiSceneRuntime } from "./scenes-Cil9RnwU.js";
2
2
  export { TuiSceneRuntime, TuiSceneRuntime as default, name };
@@ -1,2 +1,2 @@
1
- import { i as name, t as TuiSettingsSectionsRuntime } from "./settings-sections-4gMhveN_.js";
1
+ import { i as name, t as TuiSettingsSectionsRuntime } from "./settings-sections-jVCqXwdH.js";
2
2
  export { TuiSettingsSectionsRuntime, TuiSettingsSectionsRuntime as default, name };
@@ -235,7 +235,7 @@ function apply$1(ctx, config = {}) {
235
235
  }, "working-activity tick timer");
236
236
  }
237
237
  //#endregion
238
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.19_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/working-activity.js
238
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.20_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/working-activity.js
239
239
  /**
240
240
  * Re-export of the `dsh-working-activity` plugin under this package's own
241
241
  * name, so the bundle patch layer can mount the working-activity row as
@@ -1,2 +1,2 @@
1
- import { a as localWorkspaceUri, n as WORKSPACE_PROVIDER_TIMEOUT_MS, o as name, r as createLocalWorkspaceRuntime, s as parseLocalWorkspaceReference, t as TuiWorkspaceRuntime } from "./workspaces-1xrm-e3V.js";
1
+ import { a as localWorkspaceUri, n as WORKSPACE_PROVIDER_TIMEOUT_MS, o as name, r as createLocalWorkspaceRuntime, s as parseLocalWorkspaceReference, t as TuiWorkspaceRuntime } from "./workspaces-DOatJRYr.js";
2
2
  export { TuiWorkspaceRuntime, TuiWorkspaceRuntime as default, WORKSPACE_PROVIDER_TIMEOUT_MS, createLocalWorkspaceRuntime, localWorkspaceUri, name, parseLocalWorkspaceReference };
package/lib/tui-compat.js CHANGED
@@ -1,7 +1,7 @@
1
- import { c as normalizePageMargin, g as liveConfigValues, n as createStatusBarSchema, v as withLiveSettings } from "./statusBarSettings-CnmdSHkO.js";
2
- import { t as SHORTCUT_ACTIONS } from "./keymap-CIoVICBI.js";
1
+ import { c as normalizePageMargin, g as liveConfigValues, n as createStatusBarSchema, v as withLiveSettings } from "./statusBarSettings-DNoBH3Cq.js";
2
+ import { t as SHORTCUT_ACTIONS } from "./keymap-CrC4pSNH.js";
3
3
  import z from "@deepseek-ai/schemastery";
4
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.19_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/force-production-react.js
4
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.20_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/force-production-react.js
5
5
  /**
6
6
  * React-reconciler selects its dev/production build at require time from
7
7
  * NODE_ENV; the dev build records one performance.measure() per render into
@@ -14,7 +14,7 @@ import z from "@deepseek-ai/schemastery";
14
14
  */
15
15
  process.env.NODE_ENV ??= "production";
16
16
  //#endregion
17
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.19_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/index.js
17
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.20_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/index.js
18
18
  /**
19
19
  * dsh-tui plugin entry. The TUI implementation lives in `./plugin.tsx` (its
20
20
  * render path is JSX); this module owns the plugin surface (`name`/`inject`/
@@ -101,7 +101,7 @@ const Config$1 = withLiveSettings(z.object({
101
101
  * @returns a promise settling when the TUI teardown completes.
102
102
  */
103
103
  async function apply(ctx, config) {
104
- const { apply: ccTuiApply } = await import("./plugin-BKQsL2xn.js");
104
+ const { apply: ccTuiApply } = await import("./plugin-CmyMCGfb.js");
105
105
  return ccTuiApply(ctx, liveConfigValues(config));
106
106
  }
107
107
  //#endregion
@@ -1,8 +1,8 @@
1
- import { a as compositionRoot, i as bindCallerEffect, n as activationFiber, o as concreteService, s as requirePluginCaller } from "./host-access-B0CRAwsX.js";
1
+ import { a as compositionRoot, i as bindCallerEffect, n as activationFiber, o as concreteService, s as requirePluginCaller } from "./host-access-CMg6rsWt.js";
2
2
  import { fileURLToPath, pathToFileURL } from "node:url";
3
3
  import { basename, isAbsolute, resolve } from "node:path";
4
4
  import { Service } from "@deepseek-ai/cordis";
5
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.19_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/workspaces.js
5
+ //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.20_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/workspaces.js
6
6
  /**
7
7
  * Workspace-target extension seam for terminal front doors.
8
8
  *
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@chatcode/chatcode-cli",
3
3
  "description": "ChatCode CLI: TUI-first coding agent, Web launcher, profiles, and legacy DSH-compatible plugins",
4
- "version": "3.0.4-rc.2",
4
+ "version": "3.0.4-rc.3",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -30,13 +30,13 @@
30
30
  "@babel/code-frame": "^7.29.0",
31
31
  "@chatcode/cco-better-sidebar": "0.18.0-rc.7",
32
32
  "@chatcode/cco-builtin-browser": "0.1.21",
33
- "@chatcode/cco-chat-import": "0.16.0",
33
+ "@chatcode/cco-chat-import": "0.17.0",
34
34
  "@chatcode/cco-computer-use": "0.3.2",
35
- "@chatcode/cco-llm-chatcode-config": "0.1.4-rc.8",
35
+ "@chatcode/cco-llm-chatcode-config": "0.1.4-rc.9",
36
36
  "@chatcode/cco-market": "1.45.2-rc.4",
37
- "@chatcode/cco-tui": "0.10.0-rc.19",
37
+ "@chatcode/cco-tui": "0.10.0-rc.20",
38
38
  "@deepseek-ai/libreoffice-kit": "^0.1.1",
39
- "@deepseek-harness-tui/dsh-tui": "npm:@chatcode/cco-tui@0.10.0-rc.19",
39
+ "@deepseek-harness-tui/dsh-tui": "npm:@chatcode/cco-tui@0.10.0-rc.20",
40
40
  "@earendil-works/pi-ai": "^0.85.1",
41
41
  "@eslint-community/regexpp": "^4.12.2",
42
42
  "@joplin/turndown-plugin-gfm": "^1.0.67",
@@ -60,9 +60,9 @@
60
60
  "diff": "^9.0.0",
61
61
  "dsh-better-sidebar": "npm:@chatcode/cco-better-sidebar@0.18.0-rc.7",
62
62
  "dsh-builtin-browser": "npm:@chatcode/cco-builtin-browser@0.1.21",
63
- "dsh-chat-import": "npm:@chatcode/cco-chat-import@0.16.0",
63
+ "dsh-chat-import": "npm:@chatcode/cco-chat-import@0.17.0",
64
64
  "dsh-computer-use": "npm:@chatcode/cco-computer-use@0.3.2",
65
- "dsh-llm-chatcode-config": "npm:@chatcode/cco-llm-chatcode-config@0.1.4-rc.8",
65
+ "dsh-llm-chatcode-config": "npm:@chatcode/cco-llm-chatcode-config@0.1.4-rc.9",
66
66
  "dshmarket": "npm:@chatcode/cco-market@1.45.2-rc.4",
67
67
  "eventsource-parser": "^3.1.0",
68
68
  "execa": "^10.0.0",
@@ -98,45 +98,45 @@
98
98
  "ws": "8.21.0",
99
99
  "@deepseek-ai/dsh-acp": "0.1.7-rc.2",
100
100
  "@deepseek-ai/dsh-agent": "0.1.7-rc.2",
101
- "@deepseek-ai/dsh-attachment-local": "0.1.7-rc.2",
102
- "@deepseek-ai/dsh-deepseek-llm-api-extensions": "0.1.7-rc.2",
101
+ "@deepseek-ai/dsh-agent-loop": "0.1.7-rc.2",
102
+ "@deepseek-ai/dsh-agent-loop-testkit": "0.1.7-rc.2",
103
103
  "@deepseek-ai/dsh-credentials-local": "0.1.7-rc.2",
104
+ "@deepseek-ai/dsh-bash-local": "0.1.7-rc.2",
105
+ "@deepseek-ai/dsh-deepseek-llm-api-extensions": "0.1.7-rc.2",
104
106
  "@deepseek-ai/dsh-experimental-agent-team": "0.1.7-rc.2",
105
- "@deepseek-ai/dsh-agent-loop-testkit": "0.1.7-rc.2",
106
- "@deepseek-ai/dsh-experimental-tool-agent-team": "0.1.7-rc.2",
107
- "@deepseek-ai/dsh-fs-sandbox": "0.1.7-rc.2",
108
107
  "@deepseek-ai/dsh-experimental-ptc-runtime-python": "0.1.7-rc.2",
108
+ "@deepseek-ai/dsh-fs-sandbox": "0.1.7-rc.2",
109
+ "@deepseek-ai/dsh-host-webserver": "0.1.7-rc.2",
110
+ "@deepseek-ai/dsh-llm": "0.1.7-rc.2",
111
+ "@deepseek-ai/dsh-experimental-tool-agent-team": "0.1.7-rc.2",
109
112
  "@deepseek-ai/dsh-fs-observation-policy": "0.1.7-rc.2",
110
- "@deepseek-ai/dsh-bash-local": "0.1.7-rc.2",
111
- "@deepseek-ai/dsh-llm-deepseek": "0.1.7-rc.2",
112
- "@deepseek-ai/dsh-agent-loop": "0.1.7-rc.2",
113
+ "@deepseek-ai/dsh-attachment-local": "0.1.7-rc.2",
113
114
  "@deepseek-ai/dsh-host-frontend-static": "0.1.7-rc.2",
114
- "@deepseek-ai/dsh-llm": "0.1.7-rc.2",
115
- "@deepseek-ai/dsh-llm-deepseek-account": "0.1.7-rc.2",
116
- "@deepseek-ai/dsh-llm-deepseek-api-key": "0.1.7-rc.2",
117
- "@deepseek-ai/dsh-llm-replay": "0.1.7-rc.2",
115
+ "@deepseek-ai/dsh-llm-deepseek": "0.1.7-rc.2",
118
116
  "@deepseek-ai/dsh-llm-pi-ai": "0.1.7-rc.2",
117
+ "@deepseek-ai/dsh-llm-deepseek-api-key": "0.1.7-rc.2",
118
+ "@deepseek-ai/dsh-llm-mock-server": "0.1.7-rc.2",
119
+ "@deepseek-ai/dsh-llm-deepseek-account": "0.1.7-rc.2",
119
120
  "@deepseek-ai/dsh-plugin-package-inventory-deepseek": "0.1.7-rc.2",
121
+ "@deepseek-ai/dsh-llm-replay": "0.1.7-rc.2",
122
+ "@deepseek-ai/dsh-sandbox-policy": "0.1.7-rc.2",
120
123
  "@deepseek-ai/dsh-sandbox-local": "0.1.7-rc.2",
121
- "@deepseek-ai/dsh-host-webserver": "0.1.7-rc.2",
122
124
  "@deepseek-ai/dsh-loader-smoke": "0.1.7-rc.2",
123
125
  "@deepseek-ai/dsh-session": "0.1.7-rc.2",
124
- "@deepseek-ai/dsh-sandbox-policy": "0.1.7-rc.2",
126
+ "@deepseek-ai/dsh-sdk-client": "0.1.7-rc.2",
125
127
  "@deepseek-ai/dsh-session-checkpoint-policy": "0.1.7-rc.2",
126
- "@deepseek-ai/dsh-session-query": "0.1.7-rc.2",
128
+ "@deepseek-ai/dsh-session-log-deepseek": "0.1.7-rc.2",
129
+ "@deepseek-ai/dsh-subagent": "0.1.7-rc.2",
127
130
  "@deepseek-ai/dsh-session-persistence-jsonl": "0.1.7-rc.2",
128
- "@deepseek-ai/dsh-settings": "0.1.7-rc.2",
129
- "@deepseek-ai/dsh-sdk-client": "0.1.7-rc.2",
131
+ "@deepseek-ai/dsh-session-query": "0.1.7-rc.2",
132
+ "@deepseek-ai/dsh-subagent-spawn-in-process": "0.1.7-rc.2",
130
133
  "@deepseek-ai/dsh-shell-env": "0.1.7-rc.2",
131
- "@deepseek-ai/dsh-subagent-fork-in-process": "0.1.7-rc.2",
132
- "@deepseek-ai/dsh-subagent": "0.1.7-rc.2",
133
- "@deepseek-ai/dsh-session-log-deepseek": "0.1.7-rc.2",
134
- "@deepseek-ai/dsh-system-prompt": "0.1.7-rc.2",
135
- "@deepseek-ai/dsh-llm-mock-server": "0.1.7-rc.2",
136
134
  "@deepseek-ai/dsh-subprocess-local": "0.1.7-rc.2",
135
+ "@deepseek-ai/dsh-tools": "0.1.7-rc.2",
136
+ "@deepseek-ai/dsh-subagent-fork-in-process": "0.1.7-rc.2",
137
+ "@deepseek-ai/dsh-settings": "0.1.7-rc.2",
137
138
  "@deepseek-ai/dsh-user-approval": "0.1.7-rc.2",
138
- "@deepseek-ai/dsh-subagent-spawn-in-process": "0.1.7-rc.2",
139
- "@deepseek-ai/dsh-tools": "0.1.7-rc.2"
139
+ "@deepseek-ai/dsh-system-prompt": "0.1.7-rc.2"
140
140
  },
141
141
  "exports": {
142
142
  "./headless-compat": {
@@ -282,6 +282,6 @@
282
282
  "@deepseek-ai/node-addon-system",
283
283
  "@deepseek-ai/schemastery"
284
284
  ],
285
- "fileCount": 3608,
286
- "byteCount": 68755603
285
+ "fileCount": 3610,
286
+ "byteCount": 68762823
287
287
  }
@@ -3922,7 +3922,8 @@ const requiredStartupEntryIds = new Set([
3922
3922
  "connection",
3923
3923
  "headless-runner",
3924
3924
  "acp",
3925
- "sdk-jsonrpc-server"
3925
+ "sdk-jsonrpc-server",
3926
+ "dsh-tui"
3926
3927
  ]);
3927
3928
  /** Render plugin stacks, nested causes, and aggregate member failures once per error. */
3928
3929
  function formatActivationError(error) {