@aikdna/kdna-cli 0.16.7 → 0.16.9
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/README.md +5 -5
- package/package.json +2 -2
- package/src/install.js +1 -1
- package/src/registry.js +1 -1
- package/src/setup.js +1 -1
package/README.md
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
KDNA CLI 是 AI Agent 加载、验证、组合、测试和治理领域判断的运行控制平面。
|
|
6
6
|
|
|
7
|
-
Part of the [KDNA](https://github.com/
|
|
7
|
+
Part of the [KDNA](https://github.com/aikdna/KDNA) ecosystem.
|
|
8
8
|
|
|
9
9
|
## Install
|
|
10
10
|
|
|
@@ -170,7 +170,7 @@ kdna license verify --json <file>
|
|
|
170
170
|
## Development
|
|
171
171
|
|
|
172
172
|
```bash
|
|
173
|
-
git clone https://github.com/
|
|
173
|
+
git clone https://github.com/aikdna/kdna-cli.git
|
|
174
174
|
cd kdna-cli
|
|
175
175
|
npm install
|
|
176
176
|
npm test
|
|
@@ -178,9 +178,9 @@ npm test
|
|
|
178
178
|
|
|
179
179
|
## Related
|
|
180
180
|
|
|
181
|
-
- [@aikdna/kdna-core](https://github.com/
|
|
182
|
-
- [KDNA Registry](https://github.com/
|
|
183
|
-
- [KDNA SPEC](https://github.com/
|
|
181
|
+
- [@aikdna/kdna-core](https://github.com/aikdna/KDNA/tree/main/packages/kdna-core) — Pure logic library
|
|
182
|
+
- [KDNA Registry](https://github.com/aikdna/kdna-registry) — Domain catalog
|
|
183
|
+
- [KDNA SPEC](https://github.com/aikdna/KDNA) — Protocol specification
|
|
184
184
|
- [aikdna.com](https://aikdna.com) — Website
|
|
185
185
|
|
|
186
186
|
## License
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aikdna/kdna-cli",
|
|
3
|
-
"version": "0.16.
|
|
3
|
+
"version": "0.16.9",
|
|
4
4
|
"description": "KDNA CLI — create, validate, install, and manage domain cognition packages for AI agents.",
|
|
5
5
|
"type": "commonjs",
|
|
6
6
|
"bin": {
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"license": "Apache-2.0",
|
|
38
38
|
"repository": {
|
|
39
39
|
"type": "git",
|
|
40
|
-
"url": "git+https://github.com/
|
|
40
|
+
"url": "git+https://github.com/aikdna/kdna-cli.git"
|
|
41
41
|
},
|
|
42
42
|
"homepage": "https://aikdna.com",
|
|
43
43
|
"bugs": {
|
package/src/install.js
CHANGED
|
@@ -96,7 +96,7 @@ function ensureLoaderSkill() {
|
|
|
96
96
|
// This must come FIRST so we don't ship stale local copies to users.
|
|
97
97
|
sources.push({
|
|
98
98
|
type: 'remote',
|
|
99
|
-
url: 'https://raw.githubusercontent.com/
|
|
99
|
+
url: 'https://raw.githubusercontent.com/aikdna/kdna-skills/main/kdna-loader/SKILL.md',
|
|
100
100
|
});
|
|
101
101
|
|
|
102
102
|
// Source 2: offline fallback — KDNA repo local checkout, only used if the
|
package/src/registry.js
CHANGED
|
@@ -21,7 +21,7 @@ const CONFIG_FILE = path.join(USER_KDNA_DIR, 'config.json');
|
|
|
21
21
|
const DEFAULT_OFFICIAL_SCOPE = '@aikdna';
|
|
22
22
|
const CANONICAL_REGISTRY_URL =
|
|
23
23
|
process.env.KDNA_REGISTRY_URL ||
|
|
24
|
-
'https://raw.githubusercontent.com/
|
|
24
|
+
'https://raw.githubusercontent.com/aikdna/kdna-registry/main/domains.json';
|
|
25
25
|
|
|
26
26
|
const NAME_RE = /^@([a-z][a-z0-9-]*)\/([a-z][a-z0-9_]*)$/;
|
|
27
27
|
const BARE_NAME_RE = /^[a-z][a-z0-9_]*$/;
|
package/src/setup.js
CHANGED
|
@@ -18,7 +18,7 @@ const path = require('path');
|
|
|
18
18
|
const USER_KDNA_DIR = path.join(process.env.HOME || process.env.USERPROFILE || '.', '.kdna');
|
|
19
19
|
const DOMAINS_DIR = path.join(USER_KDNA_DIR, 'domains');
|
|
20
20
|
const CLUSTERS_DIR = path.join(USER_KDNA_DIR, 'clusters');
|
|
21
|
-
const SKILLS_REPO = 'https://raw.githubusercontent.com/
|
|
21
|
+
const SKILLS_REPO = 'https://raw.githubusercontent.com/aikdna/kdna-skills/main';
|
|
22
22
|
|
|
23
23
|
const AGENTS = [
|
|
24
24
|
{
|