@andocorp/cli 0.5.10 → 0.5.13

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 +50 -4
  2. package/dist/cli.js +315 -97
  3. package/package.json +8 -9
package/README.md CHANGED
@@ -9,6 +9,8 @@ ando send '#deploys' "v41 is out"
9
9
  pytest 2>&1 | ando send '#ci' --code # standard input, as a code block
10
10
  ando send '#deploys' "rolled back" --thread <message-id>
11
11
  ando ask @release-agent "what shipped since Friday?" --in '#releases'
12
+ ando wiki sync ./wiki # two-way sync workspace Wiki to local Markdown
13
+ ando workroom watch --all --agent my-agent --on-wake ./wake.sh
12
14
  ```
13
15
 
14
16
  `send` prints a link to the message. `ask` posts the question with the agent
@@ -84,9 +86,48 @@ channel. `ando login` checks the key with one read and saves it with the API
84
86
  URL to `$XDG_CONFIG_HOME/ando/cli.json` (`~/.config/ando/cli.json` by
85
87
  default), readable only by you. Use `ando login --key-stdin` to pipe a key in.
86
88
 
87
- `ANDO_API_KEY`, `ANDO_API_URL` and `ANDO_WEB_URL` override the saved values.
89
+ `ANDO_API_KEY`, `ANDO_API_URL`, `ANDO_MCP_URL` and `ANDO_WEB_URL` override the saved values.
88
90
  The key is never printed, including in errors and `--json` output.
89
91
 
92
+ ## Wiki disk sync
93
+
94
+ `ando wiki sync <dir>` keeps an Ando Wiki scope (`workspace` by default, or
95
+ `channel:<id>`, `member:<id>`, `repository:<owner/name>`) synced with a local
96
+ folder of Markdown files using YAML frontmatter (`id`, `title`, `scope`,
97
+ `revision`) and a `.ando-wiki-sync.json` checkpoint file.
98
+
99
+ - Local-only edits push with `expectedRevision` and a deterministic
100
+ `idempotencyKey`.
101
+ - Remote-only edits pull atomically into the local `.md` file.
102
+ - Unmarked local `.md` files create new Wiki pages and write the assigned `id`
103
+ and `revision` back into frontmatter.
104
+ - Concurrent edits never overwrite your local file: the remote copy is written
105
+ to `<file>.conflict.md` and held until you edit the local file and re-sync.
106
+ - Pages with an active live-editing session in Ando are skipped on push unless
107
+ `--force` is passed.
108
+ - Needs an API key with `documents:read` and `documents:write` scopes.
109
+
110
+ ## Workrooms
111
+
112
+ Watch Hyperion durable workrooms over real-time SSE and wake local agent
113
+ harnesses (Antigravity, Claude Code, Codex, or any shell hook) with durable
114
+ cursor recovery:
115
+
116
+ ```sh
117
+ ando workroom list [--chat <chat-id>] [--attention] [--json]
118
+ ando workroom watch <workroom-id-or-url...> --agent <label> --on-wake <cmd>
119
+ ando workroom watch --all --agent <label> --antigravity-session <conversation-id>
120
+ ando workroom status [workroom-id-or-url] [--agent <label>] [--json]
121
+ ```
122
+
123
+ - `--on-wake <cmd>` receives a JSON wake envelope on standard input (`from_seq`,
124
+ `to_seq`, `events`, `trigger_reasons`) and requires exit code `0` as a verified
125
+ wake receipt before advancing `last_woken_seq`.
126
+ - `--all` or `--chat <chat-id>` automatically discovers active workrooms,
127
+ attaches new rooms, and gracefully drains settled ones.
128
+ - `--jsonl` streams NDJSON envelopes to standard output without advancing wake
129
+ cursors unless `--ack-stdout` is also passed.
130
+
90
131
  ## Behaviour
91
132
 
92
133
  - A target is `#channel-name` or a conversation id. A name that matches no
@@ -123,6 +164,11 @@ pnpm --filter @andocorp/cli run build && node packages/cli/dist/cli.js --help
123
164
  Against a local stack, log in with `--api-url http://127.0.0.1:<convex site
124
165
  port>/public-api/v1 --web-url http://dev.ando.so:<web port>`.
125
166
 
126
- A merge to main that changes `version` in `package.json` publishes that version
127
- to npm (`.github/workflows/publish-cli.yml`). Bump `VERSION` in `src/run.ts` in
128
- the same change.
167
+ Merges to `main` touching `packages/cli`, `packages/machine`, the bundled
168
+ connector host (`apps/web/electron/local-tools`), `packages/sdk` runtime
169
+ files, or workspace dependency catalog (`pnpm-workspace.yaml`) automatically
170
+ test, pack, publish, and verify `@andocorp/cli` on npm via
171
+ OIDC trusted publishing (`.github/workflows/publish-cli.yml`), auto-incrementing
172
+ the patch version when `package.json`'s version is already published and
173
+ skipping stale or unchanged commits. Bump `version` in `package.json` explicitly
174
+ for minor, major, or prerelease jumps.