@wji.ai/cli 0.6.1 → 0.7.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.
Files changed (49) hide show
  1. package/README.md +23 -3
  2. package/dist/index.js +7162 -76
  3. package/package.json +6 -9
  4. package/skill/backreel/SKILL.md +171 -0
  5. package/skill/backreel/reference/crowdfunding.md +82 -0
  6. package/skill/backreel/reference/enquiries.md +80 -0
  7. package/skill/backreel/reference/episodes.md +104 -0
  8. package/skill/backreel/reference/images.md +76 -0
  9. package/skill/npc-character/SKILL.md +111 -0
  10. package/skill/npc-character/examples/nagi.character.md +117 -0
  11. package/skill/npc-character/examples/nagi.stage.md +34 -0
  12. package/skill/npc-character/examples/yuzu.character.md +110 -0
  13. package/skill/npc-character/examples/yuzu.stage.md +30 -0
  14. package/skill/npc-character/reference/character-craft.md +153 -0
  15. package/skill/npc-character/reference/document-format.md +151 -0
  16. package/skill/npc-character/reference/interview.md +44 -0
  17. package/skill/npc-character/reference/life.md +92 -0
  18. package/skill/npc-character/reference/runtime.md +95 -0
  19. package/skill/npc-character/reference/stage-craft.md +109 -0
  20. package/skill/npc-character/reference/visual-kit.md +81 -0
  21. package/skill/npc-character/reference/voice.md +101 -0
  22. package/skill/wji/SKILL.md +1 -1
  23. package/skill/wji/reference/commands.md +25 -5
  24. package/dist/commands/agent.js +0 -294
  25. package/dist/commands/asset.js +0 -241
  26. package/dist/commands/auth.js +0 -216
  27. package/dist/commands/backreel.js +0 -320
  28. package/dist/commands/canvas.js +0 -1706
  29. package/dist/commands/class.js +0 -395
  30. package/dist/commands/config.js +0 -113
  31. package/dist/commands/crew.js +0 -205
  32. package/dist/commands/fsnode.js +0 -288
  33. package/dist/commands/gen.js +0 -352
  34. package/dist/commands/model.js +0 -136
  35. package/dist/commands/npc.js +0 -413
  36. package/dist/commands/org.js +0 -85
  37. package/dist/commands/preset.js +0 -176
  38. package/dist/commands/profile.js +0 -129
  39. package/dist/commands/skill.js +0 -272
  40. package/dist/commands/workspace.js +0 -470
  41. package/dist/core/archive.js +0 -95
  42. package/dist/core/client.js +0 -252
  43. package/dist/core/config.js +0 -95
  44. package/dist/core/crew.js +0 -546
  45. package/dist/core/members.js +0 -54
  46. package/dist/core/npc.js +0 -108
  47. package/dist/core/output.js +0 -174
  48. package/dist/core/prompt.js +0 -118
  49. package/dist/core/zip.js +0 -87
package/README.md CHANGED
@@ -20,9 +20,12 @@ From source:
20
20
  ```bash
21
21
  git clone https://github.com/ultra-instinct-ai/wji-cli.git && cd wji-cli
22
22
  pnpm install && pnpm build
23
- pnpm link --global # puts `wji` on your PATH
23
+ cd packages/cli && pnpm link --global # puts `wji` on your PATH
24
24
  ```
25
25
 
26
+ The repository is a pnpm workspace; this package lives in `packages/cli`. See
27
+ the root README for the layout and the development commands.
28
+
26
29
  ## Quick start
27
30
 
28
31
  ```bash
@@ -102,8 +105,8 @@ wji --no-org ws list # one-off personal call
102
105
  | `wji asset` | upload, import from URL, search, status, download, summary |
103
106
  | `wji canvas` | Infinite Canvas: linked canvas + selection, nodes, references, generate nodes, submit, owners, color tags, copy between canvases |
104
107
  | `wji class` | teach with a workspace: roster, one canvas per student, copy nodes to every student, progress, collect results |
105
- | `wji npc` | NPC City NPCs you own: profile, publish, work history (jobs), soul, character document, transfers |
106
- | `wji backreel` | Backreel posts: drafts, publish, cast and crew credits (NPCs included) |
108
+ | `wji npc` | NPC City NPCs you own: profile, publish, work history (jobs), soul, character document, transfers; memories, live readiness, stage documents |
109
+ | `wji backreel` | Backreel posts: drafts, publish, images per slot, episodes on VOD, crowdfunding and donations, enquiries, cast and crew credits (NPCs included) |
107
110
  | `wji gen` | `image` / `video` / `audio` generation plus `cost` estimation |
108
111
  | `wji history` | generation history: search, poll, bookmark, download |
109
112
  | `wji models` | list models and their form parameters |
@@ -210,7 +213,11 @@ wji npc publish @mika
210
213
 
211
214
  wji backreel create "Harbour" -d @synopsis.txt --cover <assetId>
212
215
  wji backreel credit add <postId> --npc @mika --role "飾 阿明" --job appearance
216
+ wji backreel image poster.png --slot portrait --post <postId> # size check + upload + set
217
+ wji backreel episode add <postId> E01.mp4 -t "第一集" # VOD upload
218
+ wji backreel check <postId>
213
219
  wji backreel publish <postId>
220
+ wji backreel enquiry list --unread
214
221
  ```
215
222
 
216
223
  Creating NPCs needs NPC City spawn permission on your account. Admin actions
@@ -313,6 +320,19 @@ cp -r "$(npm root -g)/@wji.ai/cli/skill/social-media" ~/.claude/skills/social-me
313
320
  Install it the same way (`cp -r skill/short-drama ~/.claude/skills/short-drama`)
314
321
  next to `wji`; `node skill/short-drama/scripts/selftest.mjs` runs its self-test.
315
322
 
323
+ `skill/backreel/` is a creator's skill for Backreel: create and publish a
324
+ work, prepare images at the right size per slot (`wji br image`), upload and
325
+ maintain episodes on VOD, run a crowdfunding campaign and donation tiers, and
326
+ answer enquiries. Install it the same way
327
+ (`cp -r skill/backreel ~/.claude/skills/backreel`).
328
+
329
+ `skill/npc-character/` teaches an agent to write an NPC City character that
330
+ feels like a person — want / need / contradiction, memories as scenes, a voice
331
+ the reply model can imitate, protocols, on-camera habits — and its live
332
+ stages, placing each word where the live runtime actually reads it, then
333
+ applying them with `wji npc doc` / `memory` / `stage`. Install it the same way
334
+ (`cp -r skill/npc-character ~/.claude/skills/npc-character`).
335
+
316
336
  `skill/wji-classroom/` is a teacher's skill on top of `wji`: set up a class
317
337
  workspace, invite students, give each a canvas, hand out prompts and starter
318
338
  nodes, and check or collect their work. Install it the same way