jinzd-ai-cli 0.1.99 → 0.2.0

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.
Binary file
@@ -8,7 +8,7 @@ import { platform } from "os";
8
8
  import chalk from "chalk";
9
9
 
10
10
  // src/core/constants.ts
11
- var VERSION = "0.1.99";
11
+ var VERSION = "0.2.0";
12
12
  var APP_NAME = "ai-cli";
13
13
  var CONFIG_DIR_NAME = ".aicli";
14
14
  var CONFIG_FILE_NAME = "config.json";
@@ -16,7 +16,7 @@ import {
16
16
  SUBAGENT_MAX_ROUNDS_LIMIT,
17
17
  VERSION,
18
18
  runTestsTool
19
- } from "./chunk-IV3LYGTI.js";
19
+ } from "./chunk-46RYX62R.js";
20
20
 
21
21
  // src/config/config-manager.ts
22
22
  import { readFileSync, writeFileSync, existsSync, mkdirSync } from "fs";
@@ -180,7 +180,7 @@ var EnvLoader = class {
180
180
  };
181
181
 
182
182
  // src/core/constants.ts
183
- var VERSION = "0.1.99";
183
+ var VERSION = "0.2.0";
184
184
  var APP_NAME = "ai-cli";
185
185
  var CONFIG_DIR_NAME = ".aicli";
186
186
  var CONFIG_FILE_NAME = "config.json";
package/dist/index.js CHANGED
@@ -35,7 +35,7 @@ import {
35
35
  theme,
36
36
  truncateOutput,
37
37
  undoStack
38
- } from "./chunk-NSDG4SSQ.js";
38
+ } from "./chunk-PBJ4L7SK.js";
39
39
  import {
40
40
  AGENTIC_BEHAVIOR_GUIDELINE,
41
41
  AUTHOR,
@@ -55,7 +55,7 @@ import {
55
55
  REPO_URL,
56
56
  SKILLS_DIR_NAME,
57
57
  VERSION
58
- } from "./chunk-IV3LYGTI.js";
58
+ } from "./chunk-46RYX62R.js";
59
59
 
60
60
  // src/index.ts
61
61
  import { program } from "commander";
@@ -1904,7 +1904,7 @@ ${hint}` : "")
1904
1904
  description: "Run project tests and show structured report",
1905
1905
  usage: "/test [command|filter]",
1906
1906
  async execute(args, _ctx) {
1907
- const { executeTests } = await import("./run-tests-3B3RXSVK.js");
1907
+ const { executeTests } = await import("./run-tests-6AZTCLL7.js");
1908
1908
  const argStr = args.join(" ").trim();
1909
1909
  let testArgs = {};
1910
1910
  if (argStr) {
@@ -5292,7 +5292,7 @@ program.command("web").description("Start Web UI server with browser-based chat
5292
5292
  console.error("Error: Invalid port number. Must be between 1 and 65535.");
5293
5293
  process.exit(1);
5294
5294
  }
5295
- const { startWebServer } = await import("./server-QD5KCAGD.js");
5295
+ const { startWebServer } = await import("./server-PCSHZ5AI.js");
5296
5296
  await startWebServer({ port, host: options.host });
5297
5297
  });
5298
5298
  program.command("sessions").description("List recent conversation sessions").action(async () => {
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  executeTests,
4
4
  runTestsTool
5
- } from "./chunk-IV3LYGTI.js";
5
+ } from "./chunk-46RYX62R.js";
6
6
  export {
7
7
  executeTests,
8
8
  runTestsTool
@@ -23,7 +23,7 @@ import {
23
23
  setupProxy,
24
24
  spawnAgentContext,
25
25
  truncateOutput
26
- } from "./chunk-NSDG4SSQ.js";
26
+ } from "./chunk-PBJ4L7SK.js";
27
27
  import {
28
28
  AGENTIC_BEHAVIOR_GUIDELINE,
29
29
  CONTEXT_FILE_CANDIDATES,
@@ -35,7 +35,7 @@ import {
35
35
  PLAN_MODE_SYSTEM_ADDON,
36
36
  SKILLS_DIR_NAME,
37
37
  VERSION
38
- } from "./chunk-IV3LYGTI.js";
38
+ } from "./chunk-46RYX62R.js";
39
39
 
40
40
  // src/web/server.ts
41
41
  import express from "express";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jinzd-ai-cli",
3
- "version": "0.1.99",
3
+ "version": "0.2.0",
4
4
  "description": "Cross-platform REPL-style AI CLI with multi-provider support",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -105,31 +105,51 @@
105
105
  "typescript": "^5.7.3",
106
106
  "vitest": "^2.1.8"
107
107
  },
108
+ "author": "jinzd",
108
109
  "build": {
109
110
  "appId": "com.jinzd.ai-cli",
110
111
  "productName": "ai-cli",
111
- "electronMain": "electron/main.cjs",
112
112
  "artifactName": "ai-cli-${os}-${arch}.${ext}",
113
+ "extraMetadata": {
114
+ "main": "electron/main.cjs"
115
+ },
113
116
  "files": [
114
117
  "dist/**/*",
115
- "dist-cjs/**/*",
116
- "electron/**/*.cjs",
117
- "!dist-cjs/index.cjs"
118
+ "electron/**/*.cjs"
118
119
  ],
119
120
  "extraResources": [
120
- { "from": "dist/web/client", "to": "web-client" }
121
+ {
122
+ "from": "dist/web/client",
123
+ "to": "web-client"
124
+ }
125
+ ],
126
+ "asar": true,
127
+ "asarUnpack": [
128
+ "dist/electron-server.js",
129
+ "dist/chunk-*.js"
121
130
  ],
131
+ "forceCodeSigning": false,
122
132
  "win": {
123
- "target": ["nsis", "portable"],
124
- "icon": "src/web/client/icon-512.png"
133
+ "target": [
134
+ "nsis",
135
+ "portable"
136
+ ],
137
+ "icon": "src/web/client/icon-512.png",
138
+ "signAndEditExecutable": false
125
139
  },
126
140
  "mac": {
127
- "target": ["dmg", "zip"],
141
+ "target": [
142
+ "dmg",
143
+ "zip"
144
+ ],
128
145
  "category": "public.app-category.developer-tools",
129
146
  "icon": "src/web/client/icon-512.png"
130
147
  },
131
148
  "linux": {
132
- "target": ["AppImage", "deb"],
149
+ "target": [
150
+ "AppImage",
151
+ "deb"
152
+ ],
133
153
  "icon": "src/web/client/icon-512.png",
134
154
  "category": "Development"
135
155
  },