jinzd-ai-cli 0.4.334 → 0.4.337

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 (37) hide show
  1. package/dist/{batch-6UJGEEVB.js → batch-GUQLUOXL.js} +2 -2
  2. package/dist/{chunk-KSZEQADY.js → chunk-56IOLQ5E.js} +1 -1
  3. package/dist/{chunk-DPUZ22D7.js → chunk-5WUOBFYG.js} +23 -23
  4. package/dist/{chunk-W4P2KJZN.js → chunk-6SFS6IJH.js} +67 -0
  5. package/dist/{chunk-FHHBPCCZ.js → chunk-7TU4KHMK.js} +1 -1
  6. package/dist/{chunk-YY4QFBBZ.js → chunk-DQBWJG32.js} +422 -236
  7. package/dist/{chunk-RQOOEXDU.js → chunk-EGRKGP4P.js} +1 -1
  8. package/dist/{chunk-XMHVHS2X.js → chunk-HXENKVWP.js} +4 -4
  9. package/dist/{chunk-7GGWVBHG.js → chunk-MAUNCANT.js} +1 -1
  10. package/dist/{chunk-EOYIIGBJ.js → chunk-PWXVC6UZ.js} +5 -5
  11. package/dist/{chunk-YVEBRHSV.js → chunk-RVB4GCSQ.js} +4 -4
  12. package/dist/{chunk-27RTBMY7.js → chunk-SSQARJMS.js} +2 -2
  13. package/dist/{chunk-DX4Y4CRH.js → chunk-VHLZ2ZUQ.js} +7 -7
  14. package/dist/{chunk-SZQ2C3HH.js → chunk-WL4NXDYT.js} +1 -1
  15. package/dist/{chunk-ZK5VCQD2.js → chunk-XF2F2V5Y.js} +1 -1
  16. package/dist/{chunk-YTAYWGS4.js → chunk-YYO6TMOA.js} +1 -1
  17. package/dist/{ci-S7WXRTZ6.js → ci-FSMBWLMM.js} +6 -6
  18. package/dist/{ci-format-TPCL2KWQ.js → ci-format-BONCHM6H.js} +2 -2
  19. package/dist/{constants-WJAUJAQQ.js → constants-ARJE6QPN.js} +1 -1
  20. package/dist/{constants-5VQMHBFU.js → constants-RMAQCGVM.js} +1 -1
  21. package/dist/{doctor-cli-DYQLNMPT.js → doctor-cli-T7D4DPWU.js} +6 -6
  22. package/dist/electron-server.js +519 -266
  23. package/dist/{hub-A7P2ZBYB.js → hub-KCYDY3U6.js} +1 -1
  24. package/dist/index.js +19 -19
  25. package/dist/{persistent-memory-SKGOCEGT.js → persistent-memory-3RG5Z6WK.js} +2 -2
  26. package/dist/{persistent-memory-WFGBTGWT.js → persistent-memory-ZO6NGZIV.js} +2 -2
  27. package/dist/{pr-IPXLVP2K.js → pr-W2PPGBYA.js} +6 -6
  28. package/dist/{run-tests-TUTI7HIN.js → run-tests-72HGJXD4.js} +2 -2
  29. package/dist/{run-tests-BG6SGRWQ.js → run-tests-BWJEL7PA.js} +2 -2
  30. package/dist/{server-4QJPQBEW.js → server-WTLNIO23.js} +6 -6
  31. package/dist/{server-S6OROC7S.js → server-Y3N6RMIN.js} +15 -15
  32. package/dist/{task-orchestrator-6JG5GAXU.js → task-orchestrator-QYCG7NVG.js} +6 -6
  33. package/dist/{usage-LPQQ6NGG.js → usage-5L4ZQENO.js} +2 -2
  34. package/dist/web/client/vendor/purify.es.mjs +272 -196
  35. package/dist/web/client/vendor/purify.es.mjs.br +0 -0
  36. package/dist/web/client/vendor/purify.es.mjs.gz +0 -0
  37. package/package.json +6 -3
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  TEST_TIMEOUT
4
- } from "./chunk-FHHBPCCZ.js";
4
+ } from "./chunk-7TU4KHMK.js";
5
5
  import {
6
6
  getExecutionConfigDir,
7
7
  getExecutionSignal
@@ -8,13 +8,13 @@ import {
8
8
  listHooks,
9
9
  listInstalledPlugins,
10
10
  resetStats
11
- } from "./chunk-EOYIIGBJ.js";
11
+ } from "./chunk-PWXVC6UZ.js";
12
12
  import {
13
13
  ProviderRegistry
14
- } from "./chunk-27RTBMY7.js";
14
+ } from "./chunk-SSQARJMS.js";
15
15
  import {
16
16
  ConfigManager
17
- } from "./chunk-DPUZ22D7.js";
17
+ } from "./chunk-5WUOBFYG.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-FHHBPCCZ.js";
29
+ } from "./chunk-7TU4KHMK.js";
30
30
 
31
31
  // src/diagnostics/doctor-report.ts
32
32
  import { existsSync as existsSync3, statSync as statSync2 } from "fs";
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-QMFMST2T.js";
5
5
  import {
6
6
  TEST_TIMEOUT
7
- } from "./chunk-SZQ2C3HH.js";
7
+ } from "./chunk-WL4NXDYT.js";
8
8
 
9
9
  // src/tools/builtin/run-tests.ts
10
10
  import { spawn as spawn2 } from "child_process";
@@ -8,7 +8,7 @@ import {
8
8
  import {
9
9
  CONFIG_DIR_NAME,
10
10
  PLUGINS_DIR_NAME
11
- } from "./chunk-FHHBPCCZ.js";
11
+ } from "./chunk-7TU4KHMK.js";
12
12
 
13
13
  // src/diagnostics/tool-stats.ts
14
14
  import { mkdirSync } from "fs";
@@ -164,7 +164,7 @@ var HookEventNameSchema = z.enum([
164
164
  var McpServerSchema = z.object({
165
165
  command: z.string(),
166
166
  args: z.array(z.string()).default([]),
167
- env: z.record(z.string()).optional(),
167
+ env: z.record(z.string(), z.string()).optional(),
168
168
  timeout: z.number().default(3e4)
169
169
  });
170
170
  var PluginManifestSchema = z.object({
@@ -174,10 +174,10 @@ var PluginManifestSchema = z.object({
174
174
  skills: z.array(z.string()).default([]),
175
175
  hooks: z.object({
176
176
  enabled: z.boolean().optional(),
177
- events: z.record(HookEventNameSchema, HookCommandSchema).default({})
178
- }).default({ events: {} }),
177
+ events: z.partialRecord(HookEventNameSchema, HookCommandSchema).default({})
178
+ }).prefault({ events: {} }),
179
179
  commands: z.array(z.string()).default([]),
180
- mcpServers: z.record(McpServerSchema).default({}),
180
+ mcpServers: z.record(z.string(), McpServerSchema).default({}),
181
181
  agents: z.array(z.string()).default([]),
182
182
  permissionHints: z.array(z.string()).default([])
183
183
  }).strict();
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  evaluateCiGate,
4
4
  normalizeCiThresholds
5
- } from "./chunk-KSZEQADY.js";
5
+ } from "./chunk-56IOLQ5E.js";
6
6
  import {
7
7
  buildReviewPrompt,
8
8
  buildSecurityReviewPrompt,
@@ -13,13 +13,13 @@ import {
13
13
  } from "./chunk-6YZEZFX5.js";
14
14
  import {
15
15
  ProviderRegistry
16
- } from "./chunk-27RTBMY7.js";
16
+ } from "./chunk-SSQARJMS.js";
17
17
  import {
18
18
  ConfigManager
19
- } from "./chunk-DPUZ22D7.js";
19
+ } from "./chunk-5WUOBFYG.js";
20
20
  import {
21
21
  VERSION
22
- } from "./chunk-FHHBPCCZ.js";
22
+ } from "./chunk-7TU4KHMK.js";
23
23
 
24
24
  // src/cli/ci.ts
25
25
  import { execFileSync } from "child_process";
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  schemaToJsonSchema
4
- } from "./chunk-W4P2KJZN.js";
4
+ } from "./chunk-6SFS6IJH.js";
5
5
  import {
6
6
  detectsHallucinatedFileOp,
7
7
  parseToolCallArguments
@@ -17,7 +17,7 @@ import {
17
17
  } from "./chunk-BMLQPSHP.js";
18
18
  import {
19
19
  DEFAULT_MAX_TOKENS
20
- } from "./chunk-FHHBPCCZ.js";
20
+ } from "./chunk-7TU4KHMK.js";
21
21
 
22
22
  // src/providers/claude.ts
23
23
  import Anthropic from "@anthropic-ai/sdk";
@@ -16,7 +16,7 @@ import {
16
16
  setPreferredAgentName,
17
17
  truncateForPersist,
18
18
  undoStack
19
- } from "./chunk-YY4QFBBZ.js";
19
+ } from "./chunk-DQBWJG32.js";
20
20
  import {
21
21
  buildReviewPrompt,
22
22
  buildSecurityReviewPrompt
@@ -51,7 +51,7 @@ import {
51
51
  touchMemoryReferences,
52
52
  updateMemoryApproval,
53
53
  updateMemoryEntry
54
- } from "./chunk-ZK5VCQD2.js";
54
+ } from "./chunk-XF2F2V5Y.js";
55
55
  import {
56
56
  theme
57
57
  } from "./chunk-5C76XDDF.js";
@@ -65,7 +65,7 @@ import {
65
65
  import {
66
66
  buildDoctorReport,
67
67
  formatDoctorReport
68
- } from "./chunk-XMHVHS2X.js";
68
+ } from "./chunk-HXENKVWP.js";
69
69
  import {
70
70
  describePlugin,
71
71
  getActivePluginAssets,
@@ -80,7 +80,7 @@ import {
80
80
  trustHook,
81
81
  trustPlugin,
82
82
  untrustHook
83
- } from "./chunk-EOYIIGBJ.js";
83
+ } from "./chunk-PWXVC6UZ.js";
84
84
  import {
85
85
  isCleanDocumentBody,
86
86
  stripOuterCodeFence
@@ -109,7 +109,7 @@ import {
109
109
  MCP_TOOL_PREFIX,
110
110
  REPO_URL,
111
111
  VERSION
112
- } from "./chunk-FHHBPCCZ.js";
112
+ } from "./chunk-7TU4KHMK.js";
113
113
 
114
114
  // src/skills/manager.ts
115
115
  import { existsSync, readdirSync, mkdirSync, statSync } from "fs";
@@ -2445,7 +2445,7 @@ No tools match "${filter}".
2445
2445
  const { join: join6 } = await import("path");
2446
2446
  const { existsSync: existsSync6 } = await import("fs");
2447
2447
  const { getGitRoot } = await import("./git-context-EXOEHQSF.js");
2448
- const { MCP_PROJECT_CONFIG_NAME } = await import("./constants-5VQMHBFU.js");
2448
+ const { MCP_PROJECT_CONFIG_NAME } = await import("./constants-RMAQCGVM.js");
2449
2449
  const { approveProject, hashMcpFile } = await import("./project-trust-KGG2BWKC.js");
2450
2450
  const cwd = process.cwd();
2451
2451
  const projectRoot = getGitRoot(cwd) ?? cwd;
@@ -3553,7 +3553,7 @@ function createReviewCommands() {
3553
3553
  usage: "/test [command|filter]",
3554
3554
  async execute(args, ctx) {
3555
3555
  try {
3556
- const { executeTests } = await import("./run-tests-BG6SGRWQ.js");
3556
+ const { executeTests } = await import("./run-tests-BWJEL7PA.js");
3557
3557
  const argStr = args.join(" ").trim();
3558
3558
  let testArgs = {};
3559
3559
  if (argStr) {
@@ -1,5 +1,5 @@
1
1
  // src/core/constants.ts
2
- var VERSION = "0.4.334";
2
+ var VERSION = "0.4.337";
3
3
  var APP_NAME = "ai-cli";
4
4
  var CONFIG_DIR_NAME = ".aicli";
5
5
  var CONFIG_FILE_NAME = "config.json";
@@ -13,7 +13,7 @@ import {
13
13
  MEMORY_FILE_NAME,
14
14
  MEMORY_MAX_CHARS,
15
15
  MEMORY_STORE_FILE_NAME
16
- } from "./chunk-FHHBPCCZ.js";
16
+ } from "./chunk-7TU4KHMK.js";
17
17
 
18
18
  // src/memory/persistent-memory.ts
19
19
  import { copyFileSync, existsSync, mkdirSync, readFileSync, statSync } from "fs";
@@ -12,7 +12,7 @@ import {
12
12
  MEMORY_FILE_NAME,
13
13
  MEMORY_MAX_CHARS,
14
14
  MEMORY_STORE_FILE_NAME
15
- } from "./chunk-SZQ2C3HH.js";
15
+ } from "./chunk-WL4NXDYT.js";
16
16
 
17
17
  // src/memory/persistent-memory.ts
18
18
  import { copyFileSync, existsSync, mkdirSync, readFileSync, statSync } from "fs";
@@ -3,17 +3,17 @@ import {
3
3
  CI_COMMENT_MARKER,
4
4
  countSeverity,
5
5
  runCi
6
- } from "./chunk-YVEBRHSV.js";
7
- import "./chunk-KSZEQADY.js";
6
+ } from "./chunk-RVB4GCSQ.js";
7
+ import "./chunk-56IOLQ5E.js";
8
8
  import "./chunk-HLWUDRBO.js";
9
9
  import "./chunk-6YZEZFX5.js";
10
- import "./chunk-27RTBMY7.js";
11
- import "./chunk-DPUZ22D7.js";
12
- import "./chunk-W4P2KJZN.js";
10
+ import "./chunk-SSQARJMS.js";
11
+ import "./chunk-5WUOBFYG.js";
12
+ import "./chunk-6SFS6IJH.js";
13
13
  import "./chunk-C6GA7H5D.js";
14
14
  import "./chunk-TU3L3PW7.js";
15
15
  import "./chunk-BMLQPSHP.js";
16
- import "./chunk-FHHBPCCZ.js";
16
+ import "./chunk-7TU4KHMK.js";
17
17
  export {
18
18
  CI_COMMENT_MARKER,
19
19
  countSeverity,
@@ -6,8 +6,8 @@ import {
6
6
  formatCiResult,
7
7
  formatCiSarif,
8
8
  normalizeCiThresholds
9
- } from "./chunk-KSZEQADY.js";
10
- import "./chunk-FHHBPCCZ.js";
9
+ } from "./chunk-56IOLQ5E.js";
10
+ import "./chunk-7TU4KHMK.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-SZQ2C3HH.js";
41
+ } from "./chunk-WL4NXDYT.js";
42
42
  export {
43
43
  AGENTIC_BEHAVIOR_GUIDELINE,
44
44
  APP_NAME,
@@ -39,7 +39,7 @@ import {
39
39
  TEST_TIMEOUT,
40
40
  VERSION,
41
41
  buildUserIdentityPrompt
42
- } from "./chunk-FHHBPCCZ.js";
42
+ } from "./chunk-7TU4KHMK.js";
43
43
  export {
44
44
  AGENTIC_BEHAVIOR_GUIDELINE,
45
45
  APP_NAME,
@@ -2,17 +2,17 @@
2
2
  import {
3
3
  formatDoctorReport,
4
4
  runDoctorCli
5
- } from "./chunk-XMHVHS2X.js";
6
- import "./chunk-EOYIIGBJ.js";
5
+ } from "./chunk-HXENKVWP.js";
6
+ import "./chunk-PWXVC6UZ.js";
7
7
  import "./chunk-RS7SKYTS.js";
8
- import "./chunk-27RTBMY7.js";
9
- import "./chunk-DPUZ22D7.js";
10
- import "./chunk-W4P2KJZN.js";
8
+ import "./chunk-SSQARJMS.js";
9
+ import "./chunk-5WUOBFYG.js";
10
+ import "./chunk-6SFS6IJH.js";
11
11
  import "./chunk-C6GA7H5D.js";
12
12
  import "./chunk-TU3L3PW7.js";
13
13
  import "./chunk-HOSJZMQS.js";
14
14
  import "./chunk-BMLQPSHP.js";
15
- import "./chunk-FHHBPCCZ.js";
15
+ import "./chunk-7TU4KHMK.js";
16
16
  export {
17
17
  formatDoctorReport,
18
18
  runDoctorCli