xxt-skills-client 0.1.1
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 +81 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +15 -0
- package/dist/register.d.ts +2 -0
- package/dist/register.js +1972 -0
- package/package.json +50 -0
package/README.md
ADDED
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
# xxt-skills-client
|
|
2
|
+
|
|
3
|
+
Client-side CLI for installing and managing XXT Coder skills and plugins for Claude and Codex.
|
|
4
|
+
|
|
5
|
+
This package is intentionally small. It provides the `xxtcoder` command and downloads plugin assets from an XXT Coder WebUI server when you install or update local agent integrations.
|
|
6
|
+
|
|
7
|
+
## Install
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
npm i -g xxt-skills-client
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
Or run it without a global install:
|
|
14
|
+
|
|
15
|
+
```bash
|
|
16
|
+
npx xxt-skills-client plugin install --server-url "https://your-xxt-coder.example.com" --yes
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
## Usage
|
|
20
|
+
|
|
21
|
+
Install XXT Coder plugin and skill assets into the current project:
|
|
22
|
+
|
|
23
|
+
```bash
|
|
24
|
+
xxtcoder plugin install --server-url "https://your-xxt-coder.example.com" --yes
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
Install globally for the current user:
|
|
28
|
+
|
|
29
|
+
```bash
|
|
30
|
+
xxtcoder plugin install --server-url "https://your-xxt-coder.example.com" --global --yes
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
Update installed assets:
|
|
34
|
+
|
|
35
|
+
```bash
|
|
36
|
+
xxtcoder plugin update --server-url "https://your-xxt-coder.example.com" --yes
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
Check status:
|
|
40
|
+
|
|
41
|
+
```bash
|
|
42
|
+
xxtcoder plugin status
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
Pause, resume, or remove managed assets:
|
|
46
|
+
|
|
47
|
+
```bash
|
|
48
|
+
xxtcoder plugin pause --yes
|
|
49
|
+
xxtcoder plugin resume --yes
|
|
50
|
+
xxtcoder plugin remove --yes
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
## What It Manages
|
|
54
|
+
|
|
55
|
+
- Claude project/global skill and plugin files managed by XXT Coder.
|
|
56
|
+
- Codex project/global plugin registration and managed plugin files.
|
|
57
|
+
- Remote MCP connection metadata generated by the XXT Coder WebUI server.
|
|
58
|
+
- Local cache under the user's XXT Coder data directory.
|
|
59
|
+
|
|
60
|
+
It does not publish or embed your server-side plugin assets in this npm package. The actual plugin suite is provided by your XXT Coder WebUI server at install/update time.
|
|
61
|
+
|
|
62
|
+
## Requirements
|
|
63
|
+
|
|
64
|
+
- Node.js 18 or newer.
|
|
65
|
+
- Access to an XXT Coder WebUI server.
|
|
66
|
+
- Claude CLI or Codex CLI when installing integrations for the corresponding agent.
|
|
67
|
+
|
|
68
|
+
## Security Notes
|
|
69
|
+
|
|
70
|
+
Review the command plan before writing to global locations. Project-level install is the default; global install requires `--global`.
|
|
71
|
+
|
|
72
|
+
The CLI only manages files it owns. Removal commands are scoped to XXT Coder managed plugin and skill assets.
|
|
73
|
+
|
|
74
|
+
## Command Name
|
|
75
|
+
|
|
76
|
+
The npm package name is `xxt-skills-client`; the installed command is:
|
|
77
|
+
|
|
78
|
+
```bash
|
|
79
|
+
xxtcoder
|
|
80
|
+
```
|
|
81
|
+
|
package/dist/index.d.ts
ADDED
package/dist/index.js
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import { Command } from 'commander';
|
|
3
|
+
import { registerBootstrapCommands } from './register.js';
|
|
4
|
+
const program = new Command();
|
|
5
|
+
program
|
|
6
|
+
.name('xxtcoder')
|
|
7
|
+
.description('XXT Coder minimal client CLI')
|
|
8
|
+
.version('0.1.0')
|
|
9
|
+
.option('--json', '全局 JSON 输出(子命令可覆盖)', false)
|
|
10
|
+
.showHelpAfterError();
|
|
11
|
+
registerBootstrapCommands(program);
|
|
12
|
+
program.parseAsync(process.argv).catch((err) => {
|
|
13
|
+
console.error(err instanceof Error ? err.message : String(err));
|
|
14
|
+
process.exitCode = 1;
|
|
15
|
+
});
|