octwin-cli 0.8.0 → 0.8.3
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/CHANGELOG.md +720 -660
- package/README.md +4 -4
- package/dist/index.js +476 -381
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -73,7 +73,7 @@ octwin status # "✓ live and current" once it's warm
|
|
|
73
73
|
| `octwin chat "msg"` | Drive a turn through the dev web channel and print **every render with its tap ids**. `--as <handle>` picks the test user; `--tap "<tap-id>"` presses a rendered button/list row; `--json` dumps the raw envelopes. |
|
|
74
74
|
| `octwin logs` | List recent conversations (handle, status, last activity; `--as` filters), or show one conversation's full event timeline — including what each turn rendered. `--json` for raw payloads. |
|
|
75
75
|
| `octwin records` | Inspect the pack's XRM data (needs a `records:read` token). No args = list entities. |
|
|
76
|
-
| `octwin
|
|
76
|
+
| `octwin work` | The work inbox: worked records across queues, one item + its timeline and decisions, or `--queues` for queue keys + open counts. Casework is one shape of it — the command spans every entity a pack works. |
|
|
77
77
|
| `octwin projects` | The `--project <slug>` values this token can name, with the plan's project cap. `--archived` includes archived ones. A `pack:deploy` token reaches it — it names a project in every other command, so this turns "guess the slug" into "read the list". |
|
|
78
78
|
| `octwin agents` | The agent roster with each agent's **effective** model / history window and **which layer set it** (project override → platform default → pack manifest) — an operator platform default can override what your manifest declares. `--prompt` prints the exact system prompt the LLM sees. Needs `agents:read`. |
|
|
79
79
|
| `octwin orders` | The orders a conversation produced. No args = the list; with a `reference_id` = line items, the subtotal/tax/shipping/discount/total breakdown, `payment_ref`, and the allowed transitions. Needs `orders:read` + the `orders` plan feature. |
|
|
@@ -93,14 +93,14 @@ octwin status # "✓ live and current" once it's warm
|
|
|
93
93
|
|
|
94
94
|
### Writing, not just reading
|
|
95
95
|
|
|
96
|
-
Every read command above has a write half behind a **leading verb**, so `octwin
|
|
97
|
-
`octwin
|
|
96
|
+
Every read command above has a write half behind a **leading verb**, so `octwin work` reads and
|
|
97
|
+
`octwin work note <id> "…"` writes. Each needs the matching `:write` scope — `octwin <cmd> --help`
|
|
98
98
|
lists the verbs and their exact flags.
|
|
99
99
|
|
|
100
100
|
| Command | Verbs |
|
|
101
101
|
| --- | --- |
|
|
102
102
|
| `octwin records` | `create <entity> --set k=v` · `patch <id> --entity <e>` · `stage <id> --to <s>` · `note <id> "…"` · `tasks` · `task complete <id>` |
|
|
103
|
-
| `octwin
|
|
103
|
+
| `octwin work` | `assign <id> --to user:<uuid>\|none` · `note` · `transition <id> --to <status>` · `decide <id> --action <a> [--dry-run]` |
|
|
104
104
|
| `octwin orders` | `transition <ref> --to <status>` · `refund <ref> --force` |
|
|
105
105
|
| `octwin catalog` | `availability <sku> --to "in stock"` · `stock <sku> [--set-on-hand n]` |
|
|
106
106
|
| `octwin scheduling` | `rules --resource <id>` · `rule add\|rm` · `exception add\|rm` |
|