@a1st/aix 0.5.1 → 0.7.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.
- package/README.md +15 -1
- package/bin/aixd.mjs +15 -0
- package/dist/cli.d.ts +3 -0
- package/dist/cli.d.ts.map +1 -0
- package/dist/cli.js +5 -0
- package/dist/cli.js.map +1 -0
- package/dist/commands/add/agent.d.ts +28 -0
- package/dist/commands/add/agent.d.ts.map +1 -0
- package/dist/commands/add/agent.js +209 -0
- package/dist/commands/add/agent.js.map +1 -0
- package/dist/commands/add/hook.d.ts +44 -0
- package/dist/commands/add/hook.d.ts.map +1 -0
- package/dist/commands/add/hook.js +235 -0
- package/dist/commands/add/hook.js.map +1 -0
- package/dist/commands/add/index.d.ts +1 -0
- package/dist/commands/add/index.d.ts.map +1 -1
- package/dist/commands/add/index.js +3 -1
- package/dist/commands/add/index.js.map +1 -1
- package/dist/commands/add/marketplace.d.ts +24 -0
- package/dist/commands/add/marketplace.d.ts.map +1 -0
- package/dist/commands/add/marketplace.js +184 -0
- package/dist/commands/add/marketplace.js.map +1 -0
- package/dist/commands/add/mcp.d.ts.map +1 -1
- package/dist/commands/add/mcp.js +13 -4
- package/dist/commands/add/mcp.js.map +1 -1
- package/dist/commands/add/plugin.d.ts +24 -0
- package/dist/commands/add/plugin.d.ts.map +1 -0
- package/dist/commands/add/plugin.js +187 -0
- package/dist/commands/add/plugin.js.map +1 -0
- package/dist/commands/add/prompt.d.ts +1 -0
- package/dist/commands/add/prompt.d.ts.map +1 -1
- package/dist/commands/add/prompt.js +107 -70
- package/dist/commands/add/prompt.js.map +1 -1
- package/dist/commands/add/rule.d.ts +1 -0
- package/dist/commands/add/rule.d.ts.map +1 -1
- package/dist/commands/add/rule.js +104 -67
- package/dist/commands/add/rule.js.map +1 -1
- package/dist/commands/add/skill.d.ts +1 -0
- package/dist/commands/add/skill.d.ts.map +1 -1
- package/dist/commands/add/skill.js +97 -55
- package/dist/commands/add/skill.js.map +1 -1
- package/dist/commands/backups.d.ts.map +1 -1
- package/dist/commands/backups.js +62 -39
- package/dist/commands/backups.js.map +1 -1
- package/dist/commands/cache/index.d.ts +1 -0
- package/dist/commands/cache/index.d.ts.map +1 -1
- package/dist/commands/cache/index.js +2 -0
- package/dist/commands/cache/index.js.map +1 -1
- package/dist/commands/config/get.d.ts.map +1 -1
- package/dist/commands/config/get.js +4 -1
- package/dist/commands/config/get.js.map +1 -1
- package/dist/commands/config/index.d.ts +1 -0
- package/dist/commands/config/index.d.ts.map +1 -1
- package/dist/commands/config/index.js +2 -0
- package/dist/commands/config/index.js.map +1 -1
- package/dist/commands/config/set.d.ts.map +1 -1
- package/dist/commands/config/set.js +8 -1
- package/dist/commands/config/set.js.map +1 -1
- package/dist/commands/init.d.ts.map +1 -1
- package/dist/commands/init.js +4 -4
- package/dist/commands/init.js.map +1 -1
- package/dist/commands/install.d.ts +3 -0
- package/dist/commands/install.d.ts.map +1 -1
- package/dist/commands/install.js +57 -9
- package/dist/commands/install.js.map +1 -1
- package/dist/commands/list/agents.d.ts +7 -0
- package/dist/commands/list/agents.d.ts.map +1 -0
- package/dist/commands/list/agents.js +64 -0
- package/dist/commands/list/agents.js.map +1 -0
- package/dist/commands/list/editors.d.ts.map +1 -1
- package/dist/commands/list/editors.js +13 -8
- package/dist/commands/list/editors.js.map +1 -1
- package/dist/commands/list/hooks.d.ts +7 -0
- package/dist/commands/list/hooks.d.ts.map +1 -0
- package/dist/commands/list/hooks.js +57 -0
- package/dist/commands/list/hooks.js.map +1 -0
- package/dist/commands/list/index.d.ts +11 -0
- package/dist/commands/list/index.d.ts.map +1 -1
- package/dist/commands/list/index.js +184 -95
- package/dist/commands/list/index.js.map +1 -1
- package/dist/commands/list/marketplaces.d.ts +7 -0
- package/dist/commands/list/marketplaces.d.ts.map +1 -0
- package/dist/commands/list/marketplaces.js +58 -0
- package/dist/commands/list/marketplaces.js.map +1 -0
- package/dist/commands/list/plugins.d.ts +7 -0
- package/dist/commands/list/plugins.d.ts.map +1 -0
- package/dist/commands/list/plugins.js +59 -0
- package/dist/commands/list/plugins.js.map +1 -0
- package/dist/commands/list/prompts.d.ts.map +1 -1
- package/dist/commands/list/prompts.js +22 -3
- package/dist/commands/list/prompts.js.map +1 -1
- package/dist/commands/remove/agent.d.ts +21 -0
- package/dist/commands/remove/agent.d.ts.map +1 -0
- package/dist/commands/remove/agent.js +152 -0
- package/dist/commands/remove/agent.js.map +1 -0
- package/dist/commands/remove/hook.d.ts +23 -0
- package/dist/commands/remove/hook.d.ts.map +1 -0
- package/dist/commands/remove/hook.js +149 -0
- package/dist/commands/remove/hook.js.map +1 -0
- package/dist/commands/remove/index.d.ts +1 -0
- package/dist/commands/remove/index.d.ts.map +1 -1
- package/dist/commands/remove/index.js +3 -1
- package/dist/commands/remove/index.js.map +1 -1
- package/dist/commands/remove/marketplace.d.ts +22 -0
- package/dist/commands/remove/marketplace.d.ts.map +1 -0
- package/dist/commands/remove/marketplace.js +135 -0
- package/dist/commands/remove/marketplace.js.map +1 -0
- package/dist/commands/remove/mcp.d.ts +2 -0
- package/dist/commands/remove/mcp.d.ts.map +1 -1
- package/dist/commands/remove/mcp.js +25 -22
- package/dist/commands/remove/mcp.js.map +1 -1
- package/dist/commands/remove/plugin.d.ts +22 -0
- package/dist/commands/remove/plugin.d.ts.map +1 -0
- package/dist/commands/remove/plugin.js +135 -0
- package/dist/commands/remove/plugin.js.map +1 -0
- package/dist/commands/remove/prompt.d.ts +21 -0
- package/dist/commands/remove/prompt.d.ts.map +1 -0
- package/dist/commands/remove/prompt.js +152 -0
- package/dist/commands/remove/prompt.js.map +1 -0
- package/dist/commands/remove/rule.d.ts +21 -0
- package/dist/commands/remove/rule.d.ts.map +1 -0
- package/dist/commands/remove/rule.js +152 -0
- package/dist/commands/remove/rule.js.map +1 -0
- package/dist/commands/remove/skill.d.ts +2 -0
- package/dist/commands/remove/skill.d.ts.map +1 -1
- package/dist/commands/remove/skill.js +19 -4
- package/dist/commands/remove/skill.js.map +1 -1
- package/dist/commands/sync.d.ts +0 -1
- package/dist/commands/sync.d.ts.map +1 -1
- package/dist/commands/sync.js +29 -21
- package/dist/commands/sync.js.map +1 -1
- package/dist/flags/scope.d.ts +10 -2
- package/dist/flags/scope.d.ts.map +1 -1
- package/dist/flags/scope.js +18 -1
- package/dist/flags/scope.js.map +1 -1
- package/dist/flags/target.d.ts +1 -1
- package/dist/flags/target.d.ts.map +1 -1
- package/dist/flags/target.js +4 -4
- package/dist/flags/target.js.map +1 -1
- package/dist/lib/add-command-helper.d.ts +25 -0
- package/dist/lib/add-command-helper.d.ts.map +1 -1
- package/dist/lib/add-command-helper.js +53 -5
- package/dist/lib/add-command-helper.js.map +1 -1
- package/dist/lib/apply-result-reporter.d.ts +13 -1
- package/dist/lib/apply-result-reporter.d.ts.map +1 -1
- package/dist/lib/apply-result-reporter.js +69 -13
- package/dist/lib/apply-result-reporter.js.map +1 -1
- package/dist/lib/delete-helper.d.ts +1 -1
- package/dist/lib/delete-helper.d.ts.map +1 -1
- package/dist/lib/delete-helper.js +62 -2
- package/dist/lib/delete-helper.js.map +1 -1
- package/dist/lib/install-helper.d.ts +24 -1
- package/dist/lib/install-helper.d.ts.map +1 -1
- package/dist/lib/install-helper.js +120 -9
- package/dist/lib/install-helper.js.map +1 -1
- package/dist/lib/lockfile-helper.d.ts +4 -1
- package/dist/lib/lockfile-helper.d.ts.map +1 -1
- package/dist/lib/lockfile-helper.js +28 -3
- package/dist/lib/lockfile-helper.js.map +1 -1
- package/dist/lib/resolve-removal-editors.d.ts +28 -0
- package/dist/lib/resolve-removal-editors.d.ts.map +1 -0
- package/dist/lib/resolve-removal-editors.js +42 -0
- package/dist/lib/resolve-removal-editors.js.map +1 -0
- package/dist/lib/search/registry.d.ts.map +1 -1
- package/dist/lib/search/registry.js +3 -2
- package/dist/lib/search/registry.js.map +1 -1
- package/oclif.manifest.json +2324 -488
- package/package.json +10 -9
- package/bin/dev.js +0 -13
- package/bin/run.js +0 -5
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@a1st/aix",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.7.0",
|
|
4
4
|
"description": "CLI for aix - unified AI agent configuration",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"agents",
|
|
@@ -23,7 +23,8 @@
|
|
|
23
23
|
"directory": "packages/cli"
|
|
24
24
|
},
|
|
25
25
|
"bin": {
|
|
26
|
-
"aix": "./
|
|
26
|
+
"aix": "./dist/cli.js",
|
|
27
|
+
"aixd": "./bin/aixd.mjs"
|
|
27
28
|
},
|
|
28
29
|
"files": [
|
|
29
30
|
"bin",
|
|
@@ -41,9 +42,9 @@
|
|
|
41
42
|
"scripts": {
|
|
42
43
|
"prepack": "npm run build",
|
|
43
44
|
"postpack": "rm -f oclif.manifest.json",
|
|
44
|
-
"build": "rm -rf dist tsconfig.build.tsbuildinfo && tsc -p tsconfig.build.json && npm run manifest",
|
|
45
|
+
"build": "rm -rf dist tsconfig.build.tsbuildinfo && tsc -p tsconfig.build.json && chmod +x dist/cli.js && npm run manifest",
|
|
45
46
|
"manifest": "oclif manifest",
|
|
46
|
-
"dev": "node
|
|
47
|
+
"dev": "node bin/aixd.mjs",
|
|
47
48
|
"test": "vitest run",
|
|
48
49
|
"test:watch": "vitest"
|
|
49
50
|
},
|
|
@@ -58,7 +59,7 @@
|
|
|
58
59
|
"@oclif/plugin-autocomplete": "^3.2.25",
|
|
59
60
|
"@oclif/plugin-help": "^6.2.27",
|
|
60
61
|
"@oclif/plugin-not-found": "^3.2.39",
|
|
61
|
-
"@oclif/plugin-update": "
|
|
62
|
+
"@oclif/plugin-update": "4.7.57",
|
|
62
63
|
"@oclif/plugin-version": "^2.2.24",
|
|
63
64
|
"@oclif/table": "0.3.6",
|
|
64
65
|
"@yeskunall/astro-umami": "0.0.8",
|
|
@@ -78,7 +79,7 @@
|
|
|
78
79
|
"@types/node": "^22.10.2",
|
|
79
80
|
"@types/react": "18.2.45",
|
|
80
81
|
"oclif": "^4.17.8",
|
|
81
|
-
"
|
|
82
|
+
"tsx": "4.23.1",
|
|
82
83
|
"typescript": "^5.7.2",
|
|
83
84
|
"vitest": "^4.1.5"
|
|
84
85
|
},
|
|
@@ -105,16 +106,16 @@
|
|
|
105
106
|
"topicSeparator": " ",
|
|
106
107
|
"topics": {
|
|
107
108
|
"add": {
|
|
108
|
-
"description": "Add skills, MCP servers,
|
|
109
|
+
"description": "Add skills, MCP servers, agents, rules, prompts, hooks, plugins, or marketplaces to ai.json"
|
|
109
110
|
},
|
|
110
111
|
"config": {
|
|
111
112
|
"description": "Manage aix configuration"
|
|
112
113
|
},
|
|
113
114
|
"list": {
|
|
114
|
-
"description": "List configured skills, MCP servers, editors, or
|
|
115
|
+
"description": "List configured skills, MCP servers, agents, editors, rules, prompts, hooks, plugins, or marketplaces"
|
|
115
116
|
},
|
|
116
117
|
"remove": {
|
|
117
|
-
"description": "Remove skills, MCP servers,
|
|
118
|
+
"description": "Remove skills, MCP servers, agents, rules, prompts, hooks, plugins, or marketplaces from ai.json"
|
|
118
119
|
}
|
|
119
120
|
},
|
|
120
121
|
"update": {
|
package/bin/dev.js
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
|
|
3
|
-
import { register } from 'node:module';
|
|
4
|
-
import { dirname } from 'node:path';
|
|
5
|
-
import { fileURLToPath } from 'node:url';
|
|
6
|
-
|
|
7
|
-
// Resolve ts-exec from this file's directory, not cwd
|
|
8
|
-
const __dirname = dirname(fileURLToPath(import.meta.url));
|
|
9
|
-
register('@poppinss/ts-exec', new URL(`file://${__dirname}/`));
|
|
10
|
-
|
|
11
|
-
const { execute } = await import('@oclif/core');
|
|
12
|
-
|
|
13
|
-
await execute({ development: true, dir: import.meta.url });
|