@xiashe/cli 0.1.7 → 0.1.8

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 CHANGED
@@ -20,6 +20,9 @@ xiashe agent issue --name "Local WorkBuddy"
20
20
  xiashe agent connect --token "<token>" --name "Local WorkBuddy"
21
21
  xiashe agent run --ack
22
22
  xiashe chat send --chat "New Chat" --content "帮我处理这个文件" --file ./report.pdf --agent "Local WorkBuddy"
23
+ xiashe skills publish draft . --source xiashe --registry-public-skill-id "<registry.skillId>"
24
+ xiashe skills publish doctor "<submission-id>"
25
+ xiashe skills publish submit "<submission-id>"
23
26
  ```
24
27
 
25
28
  Local state is stored in `~/.xiashe/config.json`.
package/bin/xiashe.mjs CHANGED
@@ -66,7 +66,7 @@ Usage:
66
66
  ${c} skills install <skill> --connection <id-or-name> [--watch]
67
67
  ${c} skills jobs --connection <id-or-name>
68
68
  ${c} skills claim <one-time-token>
69
- ${c} skills publish draft [skill-dir] --name <name> --entry <entry> --install-id <id> --source <source>
69
+ ${c} skills publish draft [skill-dir] --name <name> --entry <entry> --install-id <id> --source <source> [--registry-public-skill-id <id>]
70
70
  ${c} skills publish update <submission-id> [skill-dir] [--name <name>] [--entry <entry>]
71
71
  ${c} skills publish doctor <submission-id>
72
72
  ${c} skills publish submit <submission-id>
@@ -1251,6 +1251,7 @@ async function inferPublishDraft(skillDir, flags, client) {
1251
1251
  category: flags.category || undefined,
1252
1252
  tags: parseCsv(flags.tags),
1253
1253
  registryEntryId: flags['registry-entry'] || flags.registryEntryId || undefined,
1254
+ registryPublicSkillId: flags['registry-public-skill-id'] || flags.registryPublicSkillId || undefined,
1254
1255
  packageSha256: digest.sha256
1255
1256
  };
1256
1257
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xiashe/cli",
3
- "version": "0.1.7",
3
+ "version": "0.1.8",
4
4
  "type": "module",
5
5
  "bin": {
6
6
  "xiashe": "bin/xiashe.mjs"