@moxt-ai/cli 0.4.0-beta.1 → 0.4.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.
package/README.md CHANGED
@@ -137,6 +137,34 @@ moxt file search -w <workspace-id> --teammate-id <teammateId> <query>
137
137
  moxt file search -w <workspace-id> -l 50 --mode all <query>
138
138
  ```
139
139
 
140
+ #### file comment
141
+
142
+ Read and manage comments on a regular document. Identify the file by URL (`--url`) or by
143
+ workspace + path (`-w` with `-p`, plus the usual space selectors). Creating and deleting
144
+ comments is not supported from the CLI.
145
+
146
+ ```bash
147
+ # List comment threads on a file (by URL)
148
+ moxt file comment list --url <moxt-url>
149
+
150
+ # List comment threads on a file (by path)
151
+ moxt file comment list -w <workspace-id> -p <path>
152
+ moxt file comment list -w <workspace-id> -s <teamspace-name> -p <path>
153
+
154
+ # Update a comment you created (content read from a local UTF-8 text file)
155
+ moxt file comment update --url <moxt-url> <comment-id> --content-path <local-path>
156
+ moxt file comment update -w <workspace-id> -p <path> <comment-id> --content-path <local-path>
157
+
158
+ # Resolve or reopen a comment thread
159
+ moxt file comment resolve --url <moxt-url> <thread-id> --state resolved
160
+ moxt file comment resolve --url <moxt-url> <thread-id> --state open
161
+ ```
162
+
163
+ File comment content is read only from a local UTF-8 text file with `--content-path`.
164
+ Inline `--content` is not supported. Only the comment author can
165
+ `update` a comment; `resolve` only requires access to the file. Comment and thread IDs come
166
+ from `file comment list`.
167
+
140
168
  ### memory
141
169
 
142
170
  Search archived agent memory (past chat conversations indexed for recall).
@@ -152,6 +180,64 @@ moxt memory search -w <workspace-id> --teammate-id <teammateId> <query>
152
180
  moxt memory search -w <workspace-id> -l 10 <query>
153
181
  ```
154
182
 
183
+ ### workflow
184
+
185
+ Manage workflows, workflow definitions, tasks, and workflow agent runs.
186
+
187
+ ```bash
188
+ # List workflows
189
+ moxt workflow list -w <workspace-id>
190
+ moxt workflow list -w <workspace-id> --scope owner_is_me
191
+
192
+ # Create, inspect, update, duplicate, and delete workflows
193
+ moxt workflow create -w <workspace-id> -p <path.workflow> [--desc-file <local-path>]
194
+ moxt workflow get -w <workspace-id> <workflow-file-id>
195
+ moxt workflow update -w <workspace-id> <workflow-file-id> --desc-file <local-path>
196
+ moxt workflow duplicate -w <workspace-id> <workflow-file-id>
197
+ moxt workflow delete -w <workspace-id> <workflow-file-id> [--message <message>]
198
+
199
+ # Manage workflow statuses
200
+ moxt workflow status create -w <workspace-id> <workflow-file-id> --name Todo --type 1
201
+ moxt workflow status update -w <workspace-id> <workflow-file-id> <status-id> --type 2
202
+ moxt workflow status move-after -w <workspace-id> <workflow-file-id> <status-id> --after <status-id>
203
+ moxt workflow status move-after -w <workspace-id> <workflow-file-id> <status-id> --first
204
+ moxt workflow status delete -w <workspace-id> <workflow-file-id> <status-id>
205
+
206
+ # Manage workflow transitions
207
+ moxt workflow transition create -w <workspace-id> <workflow-file-id> --from <status-id> --to <status-id>
208
+ moxt workflow transition delete -w <workspace-id> <workflow-file-id> --from <status-id> --to <status-id>
209
+
210
+ # Manage workflow tasks
211
+ moxt workflow task list -w <workspace-id> [--workflow-file-id <workflow-file-id>]
212
+ moxt workflow task get -w <workspace-id> <workflow-file-id> <task-id>
213
+ moxt workflow task create -w <workspace-id> <workflow-file-id> --title "Review draft" --status <status-id>
214
+ moxt workflow task update -w <workspace-id> <workflow-file-id> <task-id> --desc-file <local-path>
215
+ moxt workflow task add-linked-files -w <workspace-id> <workflow-file-id> <task-id> --file-ids <file-id>[,<file-id>...]
216
+ moxt workflow task remove-linked-files -w <workspace-id> <workflow-file-id> <task-id> --file-ids <file-id>[,<file-id>...]
217
+ moxt workflow task move -w <workspace-id> <workflow-file-id> <task-id> --status <status-id>
218
+ moxt workflow task assign -w <workspace-id> <workflow-file-id> <task-id> --human-id <human-id>
219
+ moxt workflow task assign -w <workspace-id> <workflow-file-id> <task-id> --assistant-id <assistant-id>
220
+ moxt workflow task assign -w <workspace-id> <workflow-file-id> <task-id> --teammate-id <teammate-id>
221
+ moxt workflow task assign -w <workspace-id> <workflow-file-id> <task-id> --clear
222
+ moxt workflow task delete -w <workspace-id> <workflow-file-id> <task-id>
223
+
224
+ # Manage workflow task comments
225
+ moxt workflow comment create -w <workspace-id> <workflow-file-id> <task-id> --content-path <local-path>
226
+ moxt workflow comment list -w <workspace-id> <workflow-file-id> <task-id>
227
+ moxt workflow comment delete -w <workspace-id> <workflow-file-id> <task-id> <comment-id>
228
+
229
+ # Inspect or abort workflow agent runs
230
+ moxt workflow run status -w <workspace-id> <workflow-file-id> <trigger-id> [trigger-id...]
231
+ moxt workflow run output -w <workspace-id> <workflow-file-id> <trigger-id>
232
+ moxt workflow run abort -w <workspace-id> <workflow-file-id> <trigger-id>
233
+ ```
234
+
235
+ Workflow, status, and task descriptions are read from local UTF-8 text files with `--desc-file`.
236
+ Inline `--desc` is not supported.
237
+ Workflow task comment content is read only from a local UTF-8 text file with `--content-path` and is limited to
238
+ 5,000 characters. Inline `--content` is not supported.
239
+ Workflow status type values are `1=todo`, `2=in-progress`, and `3=done`.
240
+
155
241
  #### File command options
156
242
 
157
243
  | Option | Description |