intention-coding 0.2.2 → 0.2.4

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 (2) hide show
  1. package/dist/index.js +5 -10
  2. package/package.json +7 -6
package/dist/index.js CHANGED
@@ -11061,7 +11061,7 @@ const server = new FastMCP({
11061
11061
  version: src_config.Gp.version,
11062
11062
  ping: {
11063
11063
  enabled: true,
11064
- intervalMs: 10000,
11064
+ intervalMs: 30000,
11065
11065
  logLevel: "info"
11066
11066
  }
11067
11067
  });
@@ -11082,12 +11082,7 @@ server.addTool(queryTasksTool);
11082
11082
  server.addTool(batchOperationTool);
11083
11083
  server.addTool(getTaskDetailTool);
11084
11084
  apiTestTools.forEach((tool)=>server.addTool(tool));
11085
- try {
11086
- src_logger.k.info(`\u{1F680} \u{542F}\u{52A8}${src_config.Gp.name}\u{6210}\u{529F}`);
11087
- server.start({
11088
- transportType: "stdio"
11089
- });
11090
- } catch (error) {
11091
- src_logger.k.error(`\u{542F}\u{52A8}\u{5931}\u{8D25}: ${error instanceof Error ? error.message : String(error)}`);
11092
- process.exit(1);
11093
- }
11085
+ src_logger.k.info(`\u{1F680} \u{542F}\u{52A8}${src_config.Gp.name}\u{6210}\u{529F}`);
11086
+ server.start({
11087
+ transportType: "stdio"
11088
+ });
package/package.json CHANGED
@@ -1,16 +1,17 @@
1
1
  {
2
2
  "name": "intention-coding",
3
- "version": "0.2.2",
3
+ "version": "0.2.4",
4
4
  "description": "软件工程化的需求分析,功能设计,代码编写,测试运行和发布部署",
5
5
  "type": "module",
6
6
  "exports": {
7
7
  ".": {
8
8
  "types": "./dist/index.d.ts",
9
- "import": "./dist/index.js"
9
+ "import": "./dist/index.js",
10
+ "require": "./dist/index.cjs"
10
11
  }
11
12
  },
12
13
  "bin": "./dist/index.js",
13
- "main": "./dist/index.js",
14
+ "main": "./dist/index.cjs",
14
15
  "module": "./dist/index.js",
15
16
  "types": "./dist/index.d.ts",
16
17
  "files": [
@@ -25,10 +26,11 @@
25
26
  "prepublish": "npm run build"
26
27
  },
27
28
  "engines": {
28
- "node": ">=20.19.0"
29
+ "node": ">=16.20.2"
29
30
  },
30
31
  "devDependencies": {
31
32
  "@rslib/core": "^0.10.0",
33
+ "@types/pdf-parse": "^1.1.5",
32
34
  "@types/better-sqlite3": "^7.6.13",
33
35
  "@types/node": "^18.0.0",
34
36
  "@types/uuid": "^10.0.0",
@@ -39,10 +41,9 @@
39
41
  "zod": "3.25.64"
40
42
  },
41
43
  "dependencies": {
42
- "@types/pdf-parse": "^1.1.5",
43
44
  "aico-pack": "2.1.0",
44
45
  "axios": "^1.10.0",
45
- "fastmcp": "^3.8.5",
46
+ "fastmcp": "^3.9.0",
46
47
  "html-to-md": "^0.8.8",
47
48
  "lru-cache": "^11.1.0",
48
49
  "mammoth": "^1.9.1",