@theplato/tiro-cli 0.5.0 → 0.6.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 (3) hide show
  1. package/README.md +56 -4
  2. package/dist/bin/tiro.js +143 -2460
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -111,6 +111,7 @@ tiro notes list # pretty table in T
111
111
  tiro notes list --json # NDJSON for pipes
112
112
  tiro notes list --keyword "OKR" --since 30d # Reorder by keyword relevance
113
113
  tiro notes list --folder <id> --limit 100 --cursor <token>
114
+ tiro notes list --workspace <guid> # scope to one workspace
114
115
  ```
115
116
 
116
117
  ### Deep keyword search (returns notes + their primary documents)
@@ -118,10 +119,19 @@ tiro notes list --folder <id> --limit 100 --cursor <token>
118
119
  tiro notes search "Q3 Planning" # positional keyword
119
120
  tiro notes search "OKR" --since 2026-04-01 --until 2026-05-01
120
121
  tiro notes search "Acme Corp" --folder <id> --json | jq '.[] | .guid'
122
+ tiro notes search "release" --workspace <guid> # scope to one workspace
121
123
  ```
122
124
 
123
125
  `--since` / `--until` accept ISO-8601 (`2026-04-01T10:00:00Z`) or relative (`7d`, `24h`, `30m`).
124
126
 
127
+ **Workspace scoping.** `notes list` / `notes search` resolve their workspace in this
128
+ order: explicit `--workspace <guid>` first, then the workspace your API key is bound
129
+ to (workspace-scoped keys), then — for an unbound credential (a personal key or an
130
+ OAuth login) — **across every workspace you belong to**, with a one-line warning to
131
+ stderr. Unlike `wiki`, notes are never silently pinned to a single "default"
132
+ workspace. Run `tiro wiki workspaces` for guids, or `tiro auth status` to see which
133
+ workspace your credential is bound to.
134
+
125
135
  ### Get one note → stdout
126
136
  ```bash
127
137
  tiro notes get <guid> # markdown to TTY
@@ -151,6 +161,28 @@ header instead of being attached to every speaker line. Use
151
161
 
152
162
  `--format json` returns the exact shape MCP's `get_note_transcript` emits (`{noteGuid, title, participants, createdAt, recordingDurationSeconds, paragraphs[]}` with each paragraph carrying `segments[]` of `{content, speaker:{label,name}|null}`).
153
163
 
164
+ ### Browse workspace folders
165
+ ```bash
166
+ tiro folders list # flat list (id, sharingType, title)
167
+ tiro folders list --workspace <guid> --json
168
+ tiro folders tree --workspace <guid> # hierarchy, indented by depth
169
+ ```
170
+
171
+ Folders are workspace-scoped. The workspace resolves from `--workspace`, else your
172
+ API key's bound workspace. Unlike notes, folders have no cross-workspace path — an
173
+ unbound credential must pass `--workspace` (run `tiro wiki workspaces` for guids).
174
+ Use a folder id with `tiro notes list --folder <id>`. `sharingType` is one of
175
+ `PRIVATE` / `ALL_MEMBER_VIEWER` / `ALL_MEMBER_EDITOR` / `LIMITED`.
176
+
177
+ ### List word memories
178
+ ```bash
179
+ tiro word-memories list # custom transcription vocabulary
180
+ tiro word-memories list --workspace <guid> --json
181
+ ```
182
+
183
+ Word memories are the custom vocabulary that biases a workspace's transcription.
184
+ Read-only and workspace-scoped (same resolution as folders).
185
+
154
186
  ### Explore the workspace wiki
155
187
 
156
188
  The wiki is Tiro's auto-extracted knowledge graph (entities, concepts, and their
@@ -186,6 +218,19 @@ The CLI is the agent's *feet* (read, save, browse). The hosted MCP at
186
218
  tool calls inside the loop). See [`AGENTS.md`](./AGENTS.md) for the full
187
219
  agent contract.
188
220
 
221
+ ### Stay up to date
222
+ ```bash
223
+ tiro update --check # is a newer version available? (JSON for agents/CI)
224
+ tiro update # self-update to the latest published version
225
+ tiro update --dry-run # print the upgrade command without running it
226
+ tiro update --pm pnpm # force a package manager (default: auto-detected)
227
+ ```
228
+
229
+ `tiro update` upgrades by running your global package manager (npm, pnpm, yarn,
230
+ or bun — auto-detected). In a TTY a banner also appears when a newer version is
231
+ published; agents and CI should poll `tiro update --check` (it exits 0 and
232
+ reports `updateAvailable`). Disable the banner with `NO_UPDATE_NOTIFIER=1`.
233
+
189
234
  ---
190
235
 
191
236
  ## Commands
@@ -203,11 +248,17 @@ tiro notes transcript Get the full transcript (matches MCP get_note_transcr
203
248
  tiro mcp info Show hosted MCP endpoint info
204
249
  tiro mcp install Print one-line claude-mcp-add command
205
250
 
206
- # Coming in v0.4:
251
+ tiro update Self-update to the latest version (--check / --dry-run)
252
+
253
+ tiro wiki search/page Read the workspace knowledge graph
254
+ tiro wiki mentions/graph Page mentions and graph slices
255
+ tiro folders list/tree Browse workspace folders (flat or hierarchy)
256
+ tiro word-memories list List custom transcription vocabulary
257
+
258
+ # Coming later:
207
259
  tiro notes export Bulk-export search results to a directory
208
260
  tiro templates list/get Document templates
209
261
  tiro share-links {C/R/D} Manage note share links
210
- tiro folders search Search user / team folders
211
262
  tiro schema [<command>] Print JSON Schema (for agents)
212
263
  ```
213
264
 
@@ -337,8 +388,9 @@ OAuth Authorization Code + PKCE flow:
337
388
 
338
389
  - ✅ **v0.1** — Auth (`login`, `status`, `logout`) + `--help`
339
390
  - ✅ **v0.2** — Notes core (`list`, `search`, `get`, `transcript`); MCP-shape transcript JSON; first test suite
340
- - **v0.3** — `notes export` (bulk directory + manifest.jsonl)
341
- - **v0.4** — Templates, share-links, folders, `schema`
391
+ - **v0.5** — `wiki` command group (workspace knowledge graph, read-only)
392
+ - **v0.6** — `folders` and `word-memories` (workspace-scoped, read-only)
393
+ - ⏳ **next** — `notes export`, templates, share-links, `schema`
342
394
  - ⏳ **v1.0** — Stable. Public docs, license decision, Homebrew tap.
343
395
  - 🔮 **v1.x** — Device Flow (RFC 8628), shell completions, self-update
344
396