niumagents-cli 0.1.4 → 0.1.6
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.
- package/.niumignore +4 -1
- package/dist/examples/.env.example +61 -0
- package/dist/examples/.niumignore.example +43 -0
- package/dist/examples/config.example.json +31 -0
- package/dist/nium.js +1428 -2
- package/package.json +97 -89
- package/dist/249.nium.js +0 -1
- package/dist/281.nium.js +0 -1
- package/dist/401.nium.js +0 -2
- package/dist/401.nium.js.LICENSE.txt +0 -1
- package/dist/examples/agents/commit-helper.md +0 -70
- package/dist/examples/conventions.md +0 -3
- package/dist/nium.js.LICENSE.txt +0 -15
- package/dist/src/agent/builtin-agents/configs/coder.md +0 -177
- package/dist/src/agent/builtin-agents/configs/explorer.md +0 -84
package/package.json
CHANGED
|
@@ -1,89 +1,97 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "niumagents-cli",
|
|
3
|
-
"version": "0.1.
|
|
4
|
-
"description": "AI Code Agent",
|
|
5
|
-
"type": "module",
|
|
6
|
-
"main": "dist/nium.js",
|
|
7
|
-
"bin": {
|
|
8
|
-
"nium": "
|
|
9
|
-
},
|
|
10
|
-
"preferGlobal": true,
|
|
11
|
-
"files": [
|
|
12
|
-
"dist/**/*.js",
|
|
13
|
-
"dist/**/*.
|
|
14
|
-
"dist/**/*.
|
|
15
|
-
"
|
|
16
|
-
"
|
|
17
|
-
".
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
"
|
|
22
|
-
"
|
|
23
|
-
"build
|
|
24
|
-
"build:
|
|
25
|
-
"build:
|
|
26
|
-
"
|
|
27
|
-
"
|
|
28
|
-
"
|
|
29
|
-
"
|
|
30
|
-
"
|
|
31
|
-
"
|
|
32
|
-
"
|
|
33
|
-
"
|
|
34
|
-
"
|
|
35
|
-
"
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
"
|
|
39
|
-
"
|
|
40
|
-
"
|
|
41
|
-
"
|
|
42
|
-
"
|
|
43
|
-
"
|
|
44
|
-
"
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
"
|
|
49
|
-
"
|
|
50
|
-
"
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
"
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
"
|
|
61
|
-
"
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
"
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
"
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
"
|
|
72
|
-
"
|
|
73
|
-
"
|
|
74
|
-
"
|
|
75
|
-
"
|
|
76
|
-
"
|
|
77
|
-
"
|
|
78
|
-
"
|
|
79
|
-
"
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
"
|
|
83
|
-
"
|
|
84
|
-
"typescript": "^
|
|
85
|
-
"typescript-eslint": "^8.46.
|
|
86
|
-
"
|
|
87
|
-
"
|
|
88
|
-
|
|
89
|
-
|
|
1
|
+
{
|
|
2
|
+
"name": "niumagents-cli",
|
|
3
|
+
"version": "0.1.6",
|
|
4
|
+
"description": "AI Code Agent",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "dist/nium.js",
|
|
7
|
+
"bin": {
|
|
8
|
+
"nium": "bin/nium"
|
|
9
|
+
},
|
|
10
|
+
"preferGlobal": true,
|
|
11
|
+
"files": [
|
|
12
|
+
"dist/**/*.js",
|
|
13
|
+
"dist/**/*.json",
|
|
14
|
+
"dist/**/*.example",
|
|
15
|
+
"dist/**/*.LICENSE.txt",
|
|
16
|
+
"bin/",
|
|
17
|
+
"README.md",
|
|
18
|
+
".niumignore"
|
|
19
|
+
],
|
|
20
|
+
"scripts": {
|
|
21
|
+
"start": "tsx nium.ts",
|
|
22
|
+
"test": "node test/test-line-endings.js",
|
|
23
|
+
"build": "npm run build:min",
|
|
24
|
+
"build:prod": "npm run write:version && npm run build:bundle && npm run copy:examples",
|
|
25
|
+
"build:bundle": "node build.js",
|
|
26
|
+
"build:min": "npm run clean && npm run build:prod",
|
|
27
|
+
"clean": "rimraf dist",
|
|
28
|
+
"copy:examples": "node scripts/copy-examples.js",
|
|
29
|
+
"write:version": "node scripts/write-version.js",
|
|
30
|
+
"build:watch": "tsc --watch",
|
|
31
|
+
"dev": "tsx watch nium.ts",
|
|
32
|
+
"typecheck": "tsc --noEmit",
|
|
33
|
+
"lint": "eslint . --ext .ts,.js",
|
|
34
|
+
"lint:fix": "eslint . --ext .ts,.js --fix",
|
|
35
|
+
"format": "prettier --write \"**/*.{ts,js,json,md}\"",
|
|
36
|
+
"format:check": "prettier --check \"**/*.{ts,js,json,md}\"",
|
|
37
|
+
"prepublishOnly": "node publish.js",
|
|
38
|
+
"print-config": "node dist/src/cli/print-config.js",
|
|
39
|
+
"pack:test": "npm run build:min && npm pack",
|
|
40
|
+
"verify:pack": "node scripts/verify-pack.js",
|
|
41
|
+
"verify:quick": "node scripts/quick-verify.js",
|
|
42
|
+
"verify:global": "node scripts/test-global-install.js",
|
|
43
|
+
"pack:verify": "npm run pack:test && npm run verify:pack",
|
|
44
|
+
"pack:quick": "npm run pack:test && npm run verify:quick",
|
|
45
|
+
"pack:full": "npm run pack:test && npm run verify:global",
|
|
46
|
+
"prepack": "npm run build:min"
|
|
47
|
+
},
|
|
48
|
+
"keywords": [
|
|
49
|
+
"ai",
|
|
50
|
+
"code-agent",
|
|
51
|
+
"react",
|
|
52
|
+
"cli",
|
|
53
|
+
"assistant",
|
|
54
|
+
"nium",
|
|
55
|
+
"niumagents-cli"
|
|
56
|
+
],
|
|
57
|
+
"author": "niuma996",
|
|
58
|
+
"license": "MIT",
|
|
59
|
+
"repository": {
|
|
60
|
+
"type": "git",
|
|
61
|
+
"url": "git+https://github.com/niuma996/niumagents-cli.git"
|
|
62
|
+
},
|
|
63
|
+
"bugs": {
|
|
64
|
+
"url": "https://github.com/niuma996/niumagents-cli/issues"
|
|
65
|
+
},
|
|
66
|
+
"homepage": "https://github.com/niuma996/niumagents-cli#readme",
|
|
67
|
+
"dependencies": {
|
|
68
|
+
"@anthropic-ai/sdk": "^0.71.0",
|
|
69
|
+
"@modelcontextprotocol/sdk": "^1.23.0",
|
|
70
|
+
"@types/xml2js": "^0.4.14",
|
|
71
|
+
"chalk": "^5.3.0",
|
|
72
|
+
"diff": "^7.0.0",
|
|
73
|
+
"eventsource": "^4.0.0",
|
|
74
|
+
"fuzzysort": "^3.1.0",
|
|
75
|
+
"glob": "^13.0.0",
|
|
76
|
+
"iconv-lite": "^0.7.0",
|
|
77
|
+
"node-diff3": "^3.2.0",
|
|
78
|
+
"openai": "^6.9.1",
|
|
79
|
+
"xml2js": "^0.6.2"
|
|
80
|
+
},
|
|
81
|
+
"devDependencies": {
|
|
82
|
+
"@types/diff": "^7.0.2",
|
|
83
|
+
"@types/node": "^24.9.1",
|
|
84
|
+
"@typescript-eslint/eslint-plugin": "^8.46.3",
|
|
85
|
+
"@typescript-eslint/parser": "^8.46.3",
|
|
86
|
+
"copyfiles": "^2.4.1",
|
|
87
|
+
"esbuild": "^0.27.0",
|
|
88
|
+
"eslint": "^9.39.1",
|
|
89
|
+
"eslint-config-prettier": "^9.1.2",
|
|
90
|
+
"eslint-plugin-prettier": "^5.5.4",
|
|
91
|
+
"prettier": "^3.6.2",
|
|
92
|
+
"rimraf": "^6.1.0",
|
|
93
|
+
"tsx": "^4.20.6",
|
|
94
|
+
"typescript": "^5.9.3",
|
|
95
|
+
"typescript-eslint": "^8.46.4"
|
|
96
|
+
}
|
|
97
|
+
}
|