wayang-ai 0.8.2 → 0.8.4

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 (3) hide show
  1. package/README.md +5 -2
  2. package/dist/cli.js +1254 -367
  3. package/package.json +2 -2
package/README.md CHANGED
@@ -123,7 +123,7 @@ wayang --resume --all # list all sessions to pick
123
123
 
124
124
  | Flag | Description | Default |
125
125
  | --------------------- | ----------------------- | ----------------------- |
126
- | `--home-dir` | Data storage directory | `~/.wayang` |
126
+ | `--wayang-root` | Wayang root directory: data (sessions, audit, skills) at `<path>/.wayang`, config at `<path>/.wayang.config.json`. Never the OS user home the permission policy anchors on. | `~` (`$HOME`) |
127
127
  | `-w, --workspace-dir` | Agent working directory | cwd |
128
128
  | `-c, --config` | Config file path | `~/.wayang.config.json` |
129
129
  | `-r, --resume [id]` | Resume a session | — |
@@ -131,6 +131,9 @@ wayang --resume --all # list all sessions to pick
131
131
  | `-h, --help` | Show help | — |
132
132
  | `-v, --version` | Show version | — |
133
133
 
134
+ `--home-dir <path>` still works as a deprecated alias of `--wayang-root`
135
+ (identical semantics; the CLI warns once when it is used).
136
+
134
137
  ## Skills
135
138
 
136
139
  **Skills** are on-demand expertise packages (Anthropic-style `SKILL.md` + optional resource scripts) that any agent — Controller or Worker — can load at runtime via the `use_skill` tool. Skills are discovered once at startup and shared across all agents through the in-memory registry.
@@ -139,7 +142,7 @@ wayang --resume --all # list all sessions to pick
139
142
 
140
143
  Wayang scans these directories (later ones override earlier ones on name conflict):
141
144
 
142
- 1. `~/.wayang/skills/` — global, cross-project skills
145
+ 1. `~/.wayang/skills/` — global, cross-project skills (under the wayang root: `<wayang-root>/.wayang/skills/`)
143
146
  2. `<workspace>/.wayang/skills/` — project-level skills (commit these to share with your team)
144
147
  3. Any extra dirs listed in `config.skillsDirs`
145
148