@theplato/tiro-cli 0.5.0 → 0.6.0

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 +41 -4
  2. package/dist/bin/tiro.js +128 -2459
  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
@@ -203,11 +235,15 @@ tiro notes transcript Get the full transcript (matches MCP get_note_transcr
203
235
  tiro mcp info Show hosted MCP endpoint info
204
236
  tiro mcp install Print one-line claude-mcp-add command
205
237
 
206
- # Coming in v0.4:
238
+ tiro wiki search/page Read the workspace knowledge graph
239
+ tiro wiki mentions/graph Page mentions and graph slices
240
+ tiro folders list/tree Browse workspace folders (flat or hierarchy)
241
+ tiro word-memories list List custom transcription vocabulary
242
+
243
+ # Coming later:
207
244
  tiro notes export Bulk-export search results to a directory
208
245
  tiro templates list/get Document templates
209
246
  tiro share-links {C/R/D} Manage note share links
210
- tiro folders search Search user / team folders
211
247
  tiro schema [<command>] Print JSON Schema (for agents)
212
248
  ```
213
249
 
@@ -337,8 +373,9 @@ OAuth Authorization Code + PKCE flow:
337
373
 
338
374
  - ✅ **v0.1** — Auth (`login`, `status`, `logout`) + `--help`
339
375
  - ✅ **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`
376
+ - **v0.5** — `wiki` command group (workspace knowledge graph, read-only)
377
+ - **v0.6** — `folders` and `word-memories` (workspace-scoped, read-only)
378
+ - ⏳ **next** — `notes export`, templates, share-links, `schema`
342
379
  - ⏳ **v1.0** — Stable. Public docs, license decision, Homebrew tap.
343
380
  - 🔮 **v1.x** — Device Flow (RFC 8628), shell completions, self-update
344
381