@chatcode/chatcode-cli 3.0.2-rc.1 → 3.0.2-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.
@@ -28983,7 +28983,7 @@ const YOGA_INSTANCE = {
28983
28983
  }
28984
28984
  };
28985
28985
  //#endregion
28986
- //#region ../../node_modules/.pnpm/chalk@6.0.0/node_modules/chalk/source/utilities.js
28986
+ //#region ../../node_modules/.pnpm/chalk@6.0.1/node_modules/chalk/source/utilities.js
28987
28987
  function stringReplaceAll(string, substring, postfix) {
28988
28988
  let index = string.indexOf(substring);
28989
28989
  if (index === -1) return string;
@@ -29011,7 +29011,7 @@ function stringEncaseCRLFWithFirstIndex(string, prefix, postfix, index) {
29011
29011
  return returnValue;
29012
29012
  }
29013
29013
  //#endregion
29014
- //#region ../../node_modules/.pnpm/chalk@6.0.0/node_modules/chalk/source/vendor/ansi-styles/index.js
29014
+ //#region ../../node_modules/.pnpm/chalk@6.0.1/node_modules/chalk/source/vendor/ansi-styles/index.js
29015
29015
  const ANSI_BACKGROUND_OFFSET$1 = 10;
29016
29016
  const ANSI_UNDERLINE_OFFSET = 20;
29017
29017
  const wrapAnsi16$1 = (offset = 0) => (code) => `\u{1B}[${code + offset}m`;
@@ -29206,7 +29206,7 @@ function assembleStyles$1() {
29206
29206
  }
29207
29207
  const ansiStyles$1 = assembleStyles$1();
29208
29208
  //#endregion
29209
- //#region ../../node_modules/.pnpm/chalk@6.0.0/node_modules/chalk/source/vendor/supports-color/index.js
29209
+ //#region ../../node_modules/.pnpm/chalk@6.0.1/node_modules/chalk/source/vendor/supports-color/index.js
29210
29210
  function hasFlag(flag, argv = globalThis.Deno ? globalThis.Deno.args : process$1.argv) {
29211
29211
  const prefix = flag.startsWith("-") ? "" : flag.length === 1 ? "-" : "--";
29212
29212
  const position = argv.indexOf(prefix + flag);
@@ -29294,7 +29294,7 @@ function createSupportsColor(stream, options = {}) {
29294
29294
  }));
29295
29295
  }
29296
29296
  //#endregion
29297
- //#region ../../node_modules/.pnpm/chalk@6.0.0/node_modules/chalk/source/index.js
29297
+ //#region ../../node_modules/.pnpm/chalk@6.0.1/node_modules/chalk/source/index.js
29298
29298
  const { stdout: stdoutColor, stderr: stderrColor } = {
29299
29299
  stdout: createSupportsColor({ isTTY: tty.isatty(1) }),
29300
29300
  stderr: createSupportsColor({ isTTY: tty.isatty(2) })
@@ -29428,7 +29428,7 @@ const createStyler = (open, close, parent) => {
29428
29428
  const createBuilder = (self, _styler, _isEmpty) => {
29429
29429
  const builder = (...arguments_) => {
29430
29430
  if (arguments_.length === 1) return applyStyle(builder, "" + arguments_[0]);
29431
- if (arguments_.length === 2) return applyStyle(builder, arguments_[0] + " " + arguments_[1]);
29431
+ if (arguments_.length === 2) return applyStyle(builder, `${arguments_[0] ?? ""} ${arguments_[1] ?? ""}`);
29432
29432
  return applyStyle(builder, arguments_.join(" "));
29433
29433
  };
29434
29434
  Object.setPrototypeOf(builder, proto);
@@ -60391,13 +60391,14 @@ var import_supports_hyperlinks = /* @__PURE__ */ __toESM((/* @__PURE__ */ __comm
60391
60391
  @returns {boolean}
60392
60392
  */
60393
60393
  function supportsHyperlink(stream) {
60394
- const { CI, FORCE_HYPERLINK, NETLIFY, TEAMCITY_VERSION, TERM_PROGRAM, TERM_PROGRAM_VERSION, VTE_VERSION } = process.env;
60394
+ const { CI, FORCE_HYPERLINK, NETLIFY, TEAMCITY_VERSION, TERM_PROGRAM, TERM_PROGRAM_VERSION, VTE_VERSION, TERM } = process.env;
60395
60395
  if (FORCE_HYPERLINK) return !(FORCE_HYPERLINK.length > 0 && parseInt(FORCE_HYPERLINK, 10) === 0);
60396
60396
  if (hasFlag("no-hyperlink") || hasFlag("no-hyperlinks") || hasFlag("hyperlink=false") || hasFlag("hyperlink=never")) return false;
60397
60397
  if (hasFlag("hyperlink=true") || hasFlag("hyperlink=always")) return true;
60398
60398
  if (NETLIFY) return true;
60399
60399
  if (!supportsColor.supportsColor(stream)) return false;
60400
60400
  if (stream && !stream.isTTY) return false;
60401
+ if ("WT_SESSION" in process.env) return true;
60401
60402
  if (process.platform === "win32") return false;
60402
60403
  if (CI) return false;
60403
60404
  if (TEAMCITY_VERSION) return false;
@@ -60409,6 +60410,7 @@ var import_supports_hyperlinks = /* @__PURE__ */ __toESM((/* @__PURE__ */ __comm
60409
60410
  return version.major > 3;
60410
60411
  case "WezTerm": return version.major >= 20200620;
60411
60412
  case "vscode": return version.major > 1 || version.major === 1 && version.minor >= 72;
60413
+ case "ghostty": return true;
60412
60414
  }
60413
60415
  }
60414
60416
  if (VTE_VERSION) {
@@ -60416,6 +60418,9 @@ var import_supports_hyperlinks = /* @__PURE__ */ __toESM((/* @__PURE__ */ __comm
60416
60418
  const version = parseVersion(VTE_VERSION);
60417
60419
  return version.major > 0 || version.minor >= 50;
60418
60420
  }
60421
+ switch (TERM) {
60422
+ case "alacritty": return true;
60423
+ }
60419
60424
  return false;
60420
60425
  }
60421
60426
  module.exports = {
@@ -64800,7 +64805,7 @@ function padAligned(content, displayWidth, targetWidth, align) {
64800
64805
  let cliHighlightPromise;
64801
64806
  async function loadCliHighlight() {
64802
64807
  try {
64803
- const cliHighlight = await import("./dist-DxjlHHph.js").then((m) => /* @__PURE__ */ __toESM(m.default, 1));
64808
+ const cliHighlight = await import("./dist-w_sIm4VD.js").then((m) => /* @__PURE__ */ __toESM(m.default, 1));
64804
64809
  (await import("./es-la_KkjCS.js")).getLanguage;
64805
64810
  return {
64806
64811
  highlight: cliHighlight.highlight,
package/lib/tui-compat.js CHANGED
@@ -92,7 +92,7 @@ const Config = z.object({
92
92
  * @returns a promise settling when the TUI teardown completes.
93
93
  */
94
94
  async function apply(ctx, config) {
95
- const { apply: ccTuiApply } = await import("./plugin-jvd9PCVt.js");
95
+ const { apply: ccTuiApply } = await import("./plugin-ChwScT9e.js");
96
96
  return ccTuiApply(ctx, config);
97
97
  }
98
98
  //#endregion
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.2-rc.1",
4
+ "version": "3.0.2-rc.3",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -28,10 +28,10 @@
28
28
  "dependencies": {
29
29
  "@agentclientprotocol/sdk": "1.4.0",
30
30
  "@babel/code-frame": "^7.29.0",
31
- "@chatcode/cco-better-sidebar": "0.18.0-rc.2",
31
+ "@chatcode/cco-better-sidebar": "0.18.0-rc.3",
32
32
  "@chatcode/cco-builtin-browser": "0.1.21",
33
- "@chatcode/cco-chat-import": "0.14.0",
34
- "@chatcode/cco-llm-chatcode-config": "0.1.3",
33
+ "@chatcode/cco-chat-import": "0.14.1",
34
+ "@chatcode/cco-llm-chatcode-config": "0.1.4-rc.2",
35
35
  "@chatcode/cco-market": "1.45.2-rc.3",
36
36
  "@chatcode/cco-tui": "0.10.0-rc.9",
37
37
  "@deepseek-ai/libreoffice-kit": "^0.1.1",
@@ -57,10 +57,10 @@
57
57
  "commander": "^15.0.0",
58
58
  "compression": "^1.8.1",
59
59
  "diff": "^9.0.0",
60
- "dsh-better-sidebar": "npm:@chatcode/cco-better-sidebar@0.18.0-rc.2",
60
+ "dsh-better-sidebar": "npm:@chatcode/cco-better-sidebar@0.18.0-rc.3",
61
61
  "dsh-builtin-browser": "npm:@chatcode/cco-builtin-browser@0.1.21",
62
- "dsh-chat-import": "npm:@chatcode/cco-chat-import@0.14.0",
63
- "dsh-llm-chatcode-config": "npm:@chatcode/cco-llm-chatcode-config@0.1.3",
62
+ "dsh-chat-import": "npm:@chatcode/cco-chat-import@0.14.1",
63
+ "dsh-llm-chatcode-config": "npm:@chatcode/cco-llm-chatcode-config@0.1.4-rc.2",
64
64
  "dshmarket": "npm:@chatcode/cco-market@1.45.2-rc.3",
65
65
  "eventsource-parser": "^3.1.0",
66
66
  "execa": "^10.0.0",
@@ -95,45 +95,45 @@
95
95
  "ws": "8.21.0",
96
96
  "@deepseek-ai/dsh-acp": "0.1.7-rc.2",
97
97
  "@deepseek-ai/dsh-agent": "0.1.7-rc.2",
98
- "@deepseek-ai/dsh-agent-loop": "0.1.7-rc.2",
99
- "@deepseek-ai/dsh-attachment-local": "0.1.7-rc.2",
100
- "@deepseek-ai/dsh-experimental-ptc-runtime-python": "0.1.7-rc.2",
101
- "@deepseek-ai/dsh-bash-local": "0.1.7-rc.2",
102
- "@deepseek-ai/dsh-deepseek-llm-api-extensions": "0.1.7-rc.2",
103
98
  "@deepseek-ai/dsh-agent-loop-testkit": "0.1.7-rc.2",
99
+ "@deepseek-ai/dsh-deepseek-llm-api-extensions": "0.1.7-rc.2",
100
+ "@deepseek-ai/dsh-bash-local": "0.1.7-rc.2",
101
+ "@deepseek-ai/dsh-attachment-local": "0.1.7-rc.2",
104
102
  "@deepseek-ai/dsh-experimental-agent-team": "0.1.7-rc.2",
105
- "@deepseek-ai/dsh-fs-observation-policy": "0.1.7-rc.2",
106
- "@deepseek-ai/dsh-credentials-local": "0.1.7-rc.2",
107
- "@deepseek-ai/dsh-host-webserver": "0.1.7-rc.2",
108
- "@deepseek-ai/dsh-host-frontend-static": "0.1.7-rc.2",
109
103
  "@deepseek-ai/dsh-experimental-tool-agent-team": "0.1.7-rc.2",
104
+ "@deepseek-ai/dsh-agent-loop": "0.1.7-rc.2",
105
+ "@deepseek-ai/dsh-experimental-ptc-runtime-python": "0.1.7-rc.2",
106
+ "@deepseek-ai/dsh-fs-observation-policy": "0.1.7-rc.2",
110
107
  "@deepseek-ai/dsh-fs-sandbox": "0.1.7-rc.2",
111
- "@deepseek-ai/dsh-llm-deepseek": "0.1.7-rc.2",
108
+ "@deepseek-ai/dsh-host-frontend-static": "0.1.7-rc.2",
109
+ "@deepseek-ai/dsh-host-webserver": "0.1.7-rc.2",
112
110
  "@deepseek-ai/dsh-llm": "0.1.7-rc.2",
113
- "@deepseek-ai/dsh-llm-deepseek-account": "0.1.7-rc.2",
114
- "@deepseek-ai/dsh-llm-replay": "0.1.7-rc.2",
115
- "@deepseek-ai/dsh-loader-smoke": "0.1.7-rc.2",
116
- "@deepseek-ai/dsh-sandbox-policy": "0.1.7-rc.2",
111
+ "@deepseek-ai/dsh-credentials-local": "0.1.7-rc.2",
117
112
  "@deepseek-ai/dsh-llm-pi-ai": "0.1.7-rc.2",
118
- "@deepseek-ai/dsh-llm-mock-server": "0.1.7-rc.2",
119
113
  "@deepseek-ai/dsh-llm-deepseek-api-key": "0.1.7-rc.2",
114
+ "@deepseek-ai/dsh-llm-deepseek": "0.1.7-rc.2",
115
+ "@deepseek-ai/dsh-llm-mock-server": "0.1.7-rc.2",
116
+ "@deepseek-ai/dsh-llm-deepseek-account": "0.1.7-rc.2",
117
+ "@deepseek-ai/dsh-loader-smoke": "0.1.7-rc.2",
118
+ "@deepseek-ai/dsh-llm-replay": "0.1.7-rc.2",
119
+ "@deepseek-ai/dsh-plugin-package-inventory-deepseek": "0.1.7-rc.2",
120
+ "@deepseek-ai/dsh-sandbox-local": "0.1.7-rc.2",
120
121
  "@deepseek-ai/dsh-session": "0.1.7-rc.2",
121
- "@deepseek-ai/dsh-sdk-client": "0.1.7-rc.2",
122
+ "@deepseek-ai/dsh-sandbox-policy": "0.1.7-rc.2",
122
123
  "@deepseek-ai/dsh-session-log-deepseek": "0.1.7-rc.2",
124
+ "@deepseek-ai/dsh-sdk-client": "0.1.7-rc.2",
123
125
  "@deepseek-ai/dsh-session-checkpoint-policy": "0.1.7-rc.2",
124
- "@deepseek-ai/dsh-sandbox-local": "0.1.7-rc.2",
125
126
  "@deepseek-ai/dsh-session-persistence-jsonl": "0.1.7-rc.2",
126
- "@deepseek-ai/dsh-shell-env": "0.1.7-rc.2",
127
- "@deepseek-ai/dsh-plugin-package-inventory-deepseek": "0.1.7-rc.2",
128
127
  "@deepseek-ai/dsh-subagent": "0.1.7-rc.2",
129
128
  "@deepseek-ai/dsh-session-query": "0.1.7-rc.2",
130
129
  "@deepseek-ai/dsh-settings": "0.1.7-rc.2",
131
130
  "@deepseek-ai/dsh-subagent-fork-in-process": "0.1.7-rc.2",
132
- "@deepseek-ai/dsh-subprocess-local": "0.1.7-rc.2",
133
131
  "@deepseek-ai/dsh-subagent-spawn-in-process": "0.1.7-rc.2",
134
- "@deepseek-ai/dsh-tools": "0.1.7-rc.2",
132
+ "@deepseek-ai/dsh-subprocess-local": "0.1.7-rc.2",
133
+ "@deepseek-ai/dsh-system-prompt": "0.1.7-rc.2",
135
134
  "@deepseek-ai/dsh-user-approval": "0.1.7-rc.2",
136
- "@deepseek-ai/dsh-system-prompt": "0.1.7-rc.2"
135
+ "@deepseek-ai/dsh-shell-env": "0.1.7-rc.2",
136
+ "@deepseek-ai/dsh-tools": "0.1.7-rc.2"
137
137
  },
138
138
  "exports": {
139
139
  "./headless-compat": {
@@ -281,5 +281,5 @@
281
281
  "@deepseek-ai/schemastery"
282
282
  ],
283
283
  "fileCount": 3555,
284
- "byteCount": 66576968
284
+ "byteCount": 66576975
285
285
  }
@@ -4125,7 +4125,7 @@ window.__ModuleLoader__.load({
4125
4125
  for (const listener of listeners) listener();
4126
4126
  };
4127
4127
  /** @returns the client identity for one account call, read at call time so it carries the language and zone in effect then. */
4128
- const client = () => accountClientMetadata(ctx.locale.getSnapshot().active, "3.0.2-rc.1");
4128
+ const client = () => accountClientMetadata(ctx.locale.getSnapshot().active, "3.0.2-rc.3");
4129
4129
  const notices = createBonusNoticeController({
4130
4130
  ackRetryDelayMs: config.bonusAckRetryDelayMs,
4131
4131
  ackRetryMaxDelayMs: config.bonusAckRetryMaxDelayMs,
@@ -4256,7 +4256,7 @@ window.__ModuleLoader__.load({
4256
4256
  refreshAccount,
4257
4257
  contactUs() {
4258
4258
  const url = contactUrl(config, {
4259
- version: "3.0.2-rc.1",
4259
+ version: "3.0.2-rc.3",
4260
4260
  locale: ctx.locale.getSnapshot().active === "zh" ? "zh-CN" : "en",
4261
4261
  width: window.screen.width,
4262
4262
  height: window.screen.height,
@@ -657,7 +657,7 @@ window.__ModuleLoader__.load({
657
657
  function CurrentVersionRow({ t }) {
658
658
  return (0, react_jsx_runtime.jsx)("div", {
659
659
  className: CurrentVersionRow_module_css_default.row,
660
- children: t("general.currentVersion", { version: "3.0.2-rc.1" })
660
+ children: t("general.currentVersion", { version: "3.0.2-rc.3" })
661
661
  });
662
662
  }
663
663
  //#endregion
@@ -167,7 +167,7 @@ window.__ModuleLoader__.load({
167
167
  const SCROLLBAR_LINGER_MS = 2e3;
168
168
  /** Format complete-build metadata for the local brand badge. */
169
169
  function localBuildVersion() {
170
- return `3.0.2-rc.1-faf7c3a-dirty`;
170
+ return `3.0.2-rc.3-8377529-dirty`;
171
171
  }
172
172
  /** Each panel row subscribes only to its own selection state. */
173
173
  function PanelRow({ id, label, wide, usePanelInfo, selectPanel, renderSlot }) {
@@ -204,11 +204,7 @@ window.__ModuleLoader__.load({
204
204
  label: t("menu.download"),
205
205
  icon: (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconDownloadOutlineRegular, {}),
206
206
  disabled: busy
207
- }, ...feedbackAvailable ? [{
208
- id: "feedback",
209
- label: t("menu.feedback"),
210
- icon: (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconPaperPlaneOutlineRegular, {})
211
- }] : []],
207
+ }, ...feedbackAvailable ? [] : []],
212
208
  onSelect: (id) => {
213
209
  setOpen(false);
214
210
  if (id === "feedback") openFeedback(sessionId);
@@ -136,8 +136,9 @@
136
136
  - id: tool-web
137
137
  name: '@deepseek-ai/dsh-tool-web'
138
138
  config:
139
+ # The base bundle ships only the HTTP fetch provider.
140
+ search: false
139
141
  fetch: true
140
- searchTimeoutMs: 60000
141
142
  - id: tool-cordis
142
143
  name: '@deepseek-ai/dsh-tool-cordis'
143
144
  - id: skill-filesystem
@@ -139,8 +139,9 @@
139
139
  - id: tool-web
140
140
  name: '@deepseek-ai/dsh-tool-web'
141
141
  config:
142
+ # The base bundle ships only the HTTP fetch provider.
143
+ search: false
142
144
  fetch: true
143
- searchTimeoutMs: 60000
144
145
  - id: tool-presentation
145
146
  name: '@deepseek-ai/dsh-agent-tool-presentation'
146
147
  config:
@@ -137,8 +137,9 @@
137
137
  - id: tool-web
138
138
  name: '@deepseek-ai/dsh-tool-web'
139
139
  config:
140
+ # The base bundle ships only the HTTP fetch provider.
141
+ search: false
140
142
  fetch: true
141
- searchTimeoutMs: 60000
142
143
  - id: present
143
144
  name: '@deepseek-ai/dsh-tool-present'
144
145
  - id: tool-plugin-manager