jinzd-ai-cli 0.4.222 → 0.4.223

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 (32) hide show
  1. package/dist/{batch-QOOO7HRW.js → batch-PJIRZJCT.js} +2 -2
  2. package/dist/{chunk-OJL3PY36.js → chunk-2X2DOHA6.js} +3 -2
  3. package/dist/{chunk-TNW22OUY.js → chunk-35AVZVXZ.js} +3 -3
  4. package/dist/{chunk-NZ4X6GUC.js → chunk-3ARPAVNV.js} +2 -2
  5. package/dist/{chunk-5EE4GRGG.js → chunk-5ZPO47YE.js} +3 -3
  6. package/dist/{chunk-AV5OPK7Q.js → chunk-GH37CLOE.js} +1 -1
  7. package/dist/{chunk-NNWWMGYK.js → chunk-GXAGBILB.js} +1 -1
  8. package/dist/{chunk-VWTUYDZG.js → chunk-OABKF7MR.js} +1 -1
  9. package/dist/{chunk-QT5FA2ZY.js → chunk-OJXYL2W2.js} +4 -4
  10. package/dist/{chunk-FBK7NSIK.js → chunk-OPAOQZDC.js} +2 -2
  11. package/dist/{chunk-VBRCWH55.js → chunk-PNFOWBKL.js} +3 -3
  12. package/dist/{chunk-SISFAT6W.js → chunk-RGL2KKCO.js} +1 -1
  13. package/dist/{chunk-Q3ZUDA6S.js → chunk-VT6NRDD2.js} +1 -1
  14. package/dist/{chunk-UWUTLIOH.js → chunk-WDUKU5HH.js} +1 -1
  15. package/dist/{chunk-S6L5R6SS.js → chunk-ZILWADNL.js} +1 -1
  16. package/dist/{ci-IB7NWHZN.js → ci-ESZOGOGZ.js} +4 -4
  17. package/dist/{ci-format-YLGZN3D4.js → ci-format-TIDA4V7T.js} +2 -2
  18. package/dist/{constants-BOMLZEXC.js → constants-VFBSBHFO.js} +1 -1
  19. package/dist/{doctor-cli-2ND4LONW.js → doctor-cli-W3I33E4Q.js} +4 -4
  20. package/dist/electron-server.js +1736 -1735
  21. package/dist/{hub-6WADFJNC.js → hub-7BLT2JUU.js} +6 -6
  22. package/dist/{hub-server-LJ2JSKZ2.js → hub-server-XX36DX7O.js} +2 -2
  23. package/dist/index.js +18 -18
  24. package/dist/{persist-GTBEKVFL.js → persist-GJ2JGZFR.js} +1 -1
  25. package/dist/{pr-F7WXUH27.js → pr-7YET7ODT.js} +4 -4
  26. package/dist/{run-tests-NIY24YDP.js → run-tests-4PNOUHC3.js} +1 -1
  27. package/dist/{run-tests-5NEMM6EF.js → run-tests-HGBTHWNT.js} +2 -2
  28. package/dist/{server-QGZYDDZW.js → server-AN7HZVNG.js} +1265 -1264
  29. package/dist/{server-ACFX2J66.js → server-APQHU4TR.js} +4 -4
  30. package/dist/{task-orchestrator-4GOBFXPN.js → task-orchestrator-L7LBMQUQ.js} +15 -7
  31. package/dist/{usage-JXT2YVA6.js → usage-BTP5SSGC.js} +2 -2
  32. package/package.json +1 -1
@@ -1,9 +1,9 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  ConfigManager
4
- } from "./chunk-UWUTLIOH.js";
4
+ } from "./chunk-WDUKU5HH.js";
5
5
  import "./chunk-5ULLIOVC.js";
6
- import "./chunk-NNWWMGYK.js";
6
+ import "./chunk-GXAGBILB.js";
7
7
  import {
8
8
  atomicWriteFileSync
9
9
  } from "./chunk-IW3Q7AE5.js";
@@ -17,9 +17,10 @@ var ROLE_COLORS = [
17
17
  var colorMap = /* @__PURE__ */ new Map();
18
18
  function assignRoleColors(roles) {
19
19
  colorMap.clear();
20
+ const chalkColors = chalk;
20
21
  roles.forEach((role, i) => {
21
- if (role.color && chalk[role.color]) {
22
- colorMap.set(role.id, chalk[role.color]);
22
+ if (role.color && chalkColors[role.color]) {
23
+ colorMap.set(role.id, chalkColors[role.color]);
23
24
  } else {
24
25
  colorMap.set(role.id, ROLE_COLORS[i % ROLE_COLORS.length]);
25
26
  }
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  evaluateCiGate,
4
4
  normalizeCiThresholds
5
- } from "./chunk-VWTUYDZG.js";
5
+ } from "./chunk-OABKF7MR.js";
6
6
  import {
7
7
  buildReviewPrompt,
8
8
  buildSecurityReviewPrompt,
@@ -13,10 +13,10 @@ import {
13
13
  } from "./chunk-PUBCJF7E.js";
14
14
  import {
15
15
  ConfigManager
16
- } from "./chunk-UWUTLIOH.js";
16
+ } from "./chunk-WDUKU5HH.js";
17
17
  import {
18
18
  VERSION
19
- } from "./chunk-NNWWMGYK.js";
19
+ } from "./chunk-GXAGBILB.js";
20
20
 
21
21
  // src/cli/ci.ts
22
22
  import { execFileSync } from "child_process";
@@ -173,7 +173,7 @@ ${topic}${contextSection}`;
173
173
  messages.push({
174
174
  role: "assistant",
175
175
  content: msg.content,
176
- timestamp: msg.timestamp
176
+ timestamp: new Date(msg.timestamp)
177
177
  });
178
178
  } else {
179
179
  const prefix = `[${msg.speakerName} (${msg.speaker})]:`;
@@ -181,7 +181,7 @@ ${topic}${contextSection}`;
181
181
  role: "user",
182
182
  content: `${prefix}
183
183
  ${msg.content}`,
184
- timestamp: msg.timestamp
184
+ timestamp: new Date(msg.timestamp)
185
185
  });
186
186
  }
187
187
  }
@@ -14,7 +14,7 @@ import {
14
14
  runHook,
15
15
  runLifecycleHooks,
16
16
  runTool
17
- } from "./chunk-SISFAT6W.js";
17
+ } from "./chunk-RGL2KKCO.js";
18
18
  import {
19
19
  getDangerLevel,
20
20
  isFileWriteTool,
@@ -33,7 +33,7 @@ import {
33
33
  } from "./chunk-4BKXL7SM.js";
34
34
  import {
35
35
  runTestsTool
36
- } from "./chunk-S6L5R6SS.js";
36
+ } from "./chunk-ZILWADNL.js";
37
37
  import {
38
38
  CONFIG_DIR_NAME,
39
39
  DEFAULT_MAX_TOOL_OUTPUT_CHARS_CAP,
@@ -43,7 +43,7 @@ import {
43
43
  SUBAGENT_ALLOWED_TOOLS,
44
44
  SUBAGENT_DEFAULT_MAX_ROUNDS,
45
45
  SUBAGENT_MAX_ROUNDS_LIMIT
46
- } from "./chunk-NNWWMGYK.js";
46
+ } from "./chunk-GXAGBILB.js";
47
47
  import {
48
48
  loadChatIndex,
49
49
  searchChatMemory
@@ -6,7 +6,7 @@ import { platform } from "os";
6
6
  import chalk from "chalk";
7
7
 
8
8
  // src/core/constants.ts
9
- var VERSION = "0.4.222";
9
+ var VERSION = "0.4.223";
10
10
  var APP_NAME = "ai-cli";
11
11
  var CONFIG_DIR_NAME = ".aicli";
12
12
  var CONFIG_FILE_NAME = "config.json";
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
 
3
3
  // src/core/constants.ts
4
- var VERSION = "0.4.222";
4
+ var VERSION = "0.4.223";
5
5
  var APP_NAME = "ai-cli";
6
6
  var CONFIG_DIR_NAME = ".aicli";
7
7
  var CONFIG_FILE_NAME = "config.json";
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  VERSION
4
- } from "./chunk-NNWWMGYK.js";
4
+ } from "./chunk-GXAGBILB.js";
5
5
 
6
6
  // src/cli/ci-format.ts
7
7
  var DEFAULT_CI_THRESHOLDS = {
@@ -8,14 +8,14 @@ import { join } from "path";
8
8
  function discussionToMessages(state) {
9
9
  const out = [];
10
10
  const t0 = state.messages[0]?.timestamp ?? /* @__PURE__ */ new Date();
11
- out.push({ role: "user", content: `\u{1F3DB} Topic: ${state.topic}`, timestamp: t0 });
11
+ out.push({ role: "user", content: `\u{1F3DB} Topic: ${state.topic}`, timestamp: new Date(t0) });
12
12
  for (const m of state.messages) {
13
13
  if (m.speaker === "system") {
14
- out.push({ role: "system", content: m.content, timestamp: m.timestamp });
14
+ out.push({ role: "system", content: m.content, timestamp: new Date(m.timestamp) });
15
15
  continue;
16
16
  }
17
17
  if (m.speaker === "human") {
18
- out.push({ role: "user", content: `\u{1F9ED} ${m.speakerName}: ${m.content}`, timestamp: m.timestamp });
18
+ out.push({ role: "user", content: `\u{1F9ED} ${m.speakerName}: ${m.content}`, timestamp: new Date(m.timestamp) });
19
19
  continue;
20
20
  }
21
21
  if (m.passed || !m.content.trim()) continue;
@@ -25,7 +25,7 @@ function discussionToMessages(state) {
25
25
  content: `**${m.speakerName}** (${m.speaker})${tag}
26
26
 
27
27
  ${m.content}`,
28
- timestamp: m.timestamp
28
+ timestamp: new Date(m.timestamp)
29
29
  });
30
30
  }
31
31
  if (state.summary && state.summary.trim()) {
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  truncateForPersist
4
- } from "./chunk-5EE4GRGG.js";
4
+ } from "./chunk-5ZPO47YE.js";
5
5
  import {
6
6
  APP_NAME,
7
7
  CONFIG_DIR_NAME,
@@ -11,7 +11,7 @@ import {
11
11
  MCP_PROTOCOL_VERSION,
12
12
  MCP_TOOL_PREFIX,
13
13
  VERSION
14
- } from "./chunk-NNWWMGYK.js";
14
+ } from "./chunk-GXAGBILB.js";
15
15
  import {
16
16
  atomicWriteFileSync
17
17
  } from "./chunk-IW3Q7AE5.js";
@@ -11,10 +11,10 @@ import {
11
11
  listHooks,
12
12
  listInstalledPlugins,
13
13
  resetStats
14
- } from "./chunk-SISFAT6W.js";
14
+ } from "./chunk-RGL2KKCO.js";
15
15
  import {
16
16
  ConfigManager
17
- } from "./chunk-UWUTLIOH.js";
17
+ } from "./chunk-WDUKU5HH.js";
18
18
  import {
19
19
  getGitRoot
20
20
  } from "./chunk-HOSJZMQS.js";
@@ -26,7 +26,7 @@ import {
26
26
  MCP_PROJECT_CONFIG_NAME,
27
27
  MEMORY_FILE_NAME,
28
28
  VERSION
29
- } from "./chunk-NNWWMGYK.js";
29
+ } from "./chunk-GXAGBILB.js";
30
30
 
31
31
  // src/diagnostics/doctor-report.ts
32
32
  import { existsSync as existsSync3, statSync as statSync2 } from "fs";
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  CONFIG_DIR_NAME,
4
4
  PLUGINS_DIR_NAME
5
- } from "./chunk-NNWWMGYK.js";
5
+ } from "./chunk-GXAGBILB.js";
6
6
  import {
7
7
  atomicWriteFileSync
8
8
  } from "./chunk-IW3Q7AE5.js";
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  HubAgent,
4
4
  isConverged
5
- } from "./chunk-NZ4X6GUC.js";
5
+ } from "./chunk-3ARPAVNV.js";
6
6
 
7
7
  // src/hub/discuss.ts
8
8
  var DiscussionOrchestrator = class {
@@ -8,7 +8,7 @@ import {
8
8
  CONFIG_FILE_NAME,
9
9
  HISTORY_DIR_NAME,
10
10
  PLUGINS_DIR_NAME
11
- } from "./chunk-NNWWMGYK.js";
11
+ } from "./chunk-GXAGBILB.js";
12
12
  import {
13
13
  atomicWriteFileSync
14
14
  } from "./chunk-IW3Q7AE5.js";
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  TEST_TIMEOUT
4
- } from "./chunk-NNWWMGYK.js";
4
+ } from "./chunk-GXAGBILB.js";
5
5
 
6
6
  // src/tools/builtin/run-tests.ts
7
7
  import { execSync, spawnSync } from "child_process";
@@ -3,14 +3,14 @@ import {
3
3
  CI_COMMENT_MARKER,
4
4
  countSeverity,
5
5
  runCi
6
- } from "./chunk-TNW22OUY.js";
7
- import "./chunk-VWTUYDZG.js";
6
+ } from "./chunk-35AVZVXZ.js";
7
+ import "./chunk-OABKF7MR.js";
8
8
  import "./chunk-HLWUDRBO.js";
9
9
  import "./chunk-PUBCJF7E.js";
10
10
  import "./chunk-XPBEJB27.js";
11
- import "./chunk-UWUTLIOH.js";
11
+ import "./chunk-WDUKU5HH.js";
12
12
  import "./chunk-5ULLIOVC.js";
13
- import "./chunk-NNWWMGYK.js";
13
+ import "./chunk-GXAGBILB.js";
14
14
  import "./chunk-IW3Q7AE5.js";
15
15
  export {
16
16
  CI_COMMENT_MARKER,
@@ -6,8 +6,8 @@ import {
6
6
  formatCiResult,
7
7
  formatCiSarif,
8
8
  normalizeCiThresholds
9
- } from "./chunk-VWTUYDZG.js";
10
- import "./chunk-NNWWMGYK.js";
9
+ } from "./chunk-OABKF7MR.js";
10
+ import "./chunk-GXAGBILB.js";
11
11
  export {
12
12
  DEFAULT_CI_THRESHOLDS,
13
13
  detectCiGateSignals,
@@ -38,7 +38,7 @@ import {
38
38
  TEST_TIMEOUT,
39
39
  VERSION,
40
40
  buildUserIdentityPrompt
41
- } from "./chunk-NNWWMGYK.js";
41
+ } from "./chunk-GXAGBILB.js";
42
42
  export {
43
43
  AGENTIC_BEHAVIOR_GUIDELINE,
44
44
  APP_NAME,
@@ -2,14 +2,14 @@
2
2
  import {
3
3
  formatDoctorReport,
4
4
  runDoctorCli
5
- } from "./chunk-VBRCWH55.js";
5
+ } from "./chunk-PNFOWBKL.js";
6
6
  import "./chunk-PUBCJF7E.js";
7
- import "./chunk-SISFAT6W.js";
7
+ import "./chunk-RGL2KKCO.js";
8
8
  import "./chunk-XPBEJB27.js";
9
- import "./chunk-UWUTLIOH.js";
9
+ import "./chunk-WDUKU5HH.js";
10
10
  import "./chunk-5ULLIOVC.js";
11
11
  import "./chunk-HOSJZMQS.js";
12
- import "./chunk-NNWWMGYK.js";
12
+ import "./chunk-GXAGBILB.js";
13
13
  import "./chunk-IW3Q7AE5.js";
14
14
  export {
15
15
  formatDoctorReport,