@moxt-ai/cli 0.3.2 → 0.3.3-beta.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 +51 -0
- package/dist/index.js +719 -15
- package/dist/index.js.map +1 -1
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -152,6 +152,57 @@ moxt memory search -w <workspace-id> --teammate-id <teammateId> <query>
|
|
|
152
152
|
moxt memory search -w <workspace-id> -l 10 <query>
|
|
153
153
|
```
|
|
154
154
|
|
|
155
|
+
### workflow
|
|
156
|
+
|
|
157
|
+
Manage workflows, workflow definitions, tasks, and workflow agent runs.
|
|
158
|
+
|
|
159
|
+
```bash
|
|
160
|
+
# List workflows
|
|
161
|
+
moxt workflow list -w <workspace-id>
|
|
162
|
+
moxt workflow list -w <workspace-id> --scope owner_is_me
|
|
163
|
+
|
|
164
|
+
# Create, inspect, update, duplicate, and delete workflows
|
|
165
|
+
moxt workflow create -w <workspace-id> -p <path.workflow> [--desc-file <local-path>]
|
|
166
|
+
moxt workflow get -w <workspace-id> <workflow-file-id>
|
|
167
|
+
moxt workflow update -w <workspace-id> <workflow-file-id> --desc-file <local-path>
|
|
168
|
+
moxt workflow duplicate -w <workspace-id> <workflow-file-id>
|
|
169
|
+
moxt workflow delete -w <workspace-id> <workflow-file-id> [--message <message>]
|
|
170
|
+
|
|
171
|
+
# Manage workflow statuses
|
|
172
|
+
moxt workflow status create -w <workspace-id> <workflow-file-id> --name Todo --type 1
|
|
173
|
+
moxt workflow status update -w <workspace-id> <workflow-file-id> <status-id> --type 2
|
|
174
|
+
moxt workflow status move-after -w <workspace-id> <workflow-file-id> <status-id> --after <status-id>
|
|
175
|
+
moxt workflow status move-after -w <workspace-id> <workflow-file-id> <status-id> --first
|
|
176
|
+
moxt workflow status delete -w <workspace-id> <workflow-file-id> <status-id>
|
|
177
|
+
|
|
178
|
+
# Manage workflow transitions
|
|
179
|
+
moxt workflow transition create -w <workspace-id> <workflow-file-id> --from <status-id> --to <status-id>
|
|
180
|
+
moxt workflow transition delete -w <workspace-id> <workflow-file-id> --from <status-id> --to <status-id>
|
|
181
|
+
|
|
182
|
+
# Manage workflow tasks
|
|
183
|
+
moxt workflow task list -w <workspace-id> [--workflow-file-id <workflow-file-id>]
|
|
184
|
+
moxt workflow task get -w <workspace-id> <workflow-file-id> <task-id>
|
|
185
|
+
moxt workflow task create -w <workspace-id> <workflow-file-id> --title "Review draft" --status <status-id>
|
|
186
|
+
moxt workflow task update -w <workspace-id> <workflow-file-id> <task-id> --desc-file <local-path>
|
|
187
|
+
moxt workflow task add-linked-files -w <workspace-id> <workflow-file-id> <task-id> --file-ids <file-id>[,<file-id>...]
|
|
188
|
+
moxt workflow task remove-linked-files -w <workspace-id> <workflow-file-id> <task-id> --file-ids <file-id>[,<file-id>...]
|
|
189
|
+
moxt workflow task move -w <workspace-id> <workflow-file-id> <task-id> --status <status-id>
|
|
190
|
+
moxt workflow task assign -w <workspace-id> <workflow-file-id> <task-id> --human-id <human-id>
|
|
191
|
+
moxt workflow task assign -w <workspace-id> <workflow-file-id> <task-id> --assistant-id <assistant-id>
|
|
192
|
+
moxt workflow task assign -w <workspace-id> <workflow-file-id> <task-id> --teammate-id <teammate-id>
|
|
193
|
+
moxt workflow task assign -w <workspace-id> <workflow-file-id> <task-id> --clear
|
|
194
|
+
moxt workflow task delete -w <workspace-id> <workflow-file-id> <task-id>
|
|
195
|
+
|
|
196
|
+
# Inspect or abort workflow agent runs
|
|
197
|
+
moxt workflow run status -w <workspace-id> <workflow-file-id> <trigger-id> [trigger-id...]
|
|
198
|
+
moxt workflow run output -w <workspace-id> <workflow-file-id> <trigger-id>
|
|
199
|
+
moxt workflow run abort -w <workspace-id> <workflow-file-id> <trigger-id>
|
|
200
|
+
```
|
|
201
|
+
|
|
202
|
+
Workflow, status, and task descriptions are read from local UTF-8 text files with `--desc-file`.
|
|
203
|
+
Inline `--desc` is not supported.
|
|
204
|
+
Workflow status type values are `1=todo`, `2=in-progress`, and `3=done`.
|
|
205
|
+
|
|
155
206
|
#### File command options
|
|
156
207
|
|
|
157
208
|
| Option | Description |
|