@moxt-ai/cli 0.3.1 → 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 +78 -0
- package/dist/index.js +846 -25
- package/dist/index.js.map +1 -1
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -123,8 +123,86 @@ moxt file mkdir -w <workspace-id> -s <teamspace-name> -p <path> [-r]
|
|
|
123
123
|
# Delete a file or empty directory
|
|
124
124
|
moxt file del -w <workspace-id> -p <path>
|
|
125
125
|
moxt file del -w <workspace-id> -s <teamspace-name> -p <path>
|
|
126
|
+
|
|
127
|
+
# Search files across accessible spaces (omit selectors to search every space you can access)
|
|
128
|
+
moxt file search -w <workspace-id> <query>
|
|
129
|
+
|
|
130
|
+
# Search inside a single space
|
|
131
|
+
moxt file search -w <workspace-id> --personal <query>
|
|
132
|
+
moxt file search -w <workspace-id> -s <teamspace-name> <query>
|
|
133
|
+
moxt file search -w <workspace-id> --team-space-id <teamSpaceId> <query>
|
|
134
|
+
moxt file search -w <workspace-id> --teammate-id <teammateId> <query>
|
|
135
|
+
|
|
136
|
+
# Tune the result set (defaults: --limit 30, --mode any; max --limit 80)
|
|
137
|
+
moxt file search -w <workspace-id> -l 50 --mode all <query>
|
|
138
|
+
```
|
|
139
|
+
|
|
140
|
+
### memory
|
|
141
|
+
|
|
142
|
+
Search archived agent memory (past chat conversations indexed for recall).
|
|
143
|
+
|
|
144
|
+
```bash
|
|
145
|
+
# Search the personal assistant's memory (default)
|
|
146
|
+
moxt memory search -w <workspace-id> <query>
|
|
147
|
+
|
|
148
|
+
# Search a managed AI teammate's memory
|
|
149
|
+
moxt memory search -w <workspace-id> --teammate-id <teammateId> <query>
|
|
150
|
+
|
|
151
|
+
# Tune the result set (default: --limit 5; max --limit 10)
|
|
152
|
+
moxt memory search -w <workspace-id> -l 10 <query>
|
|
153
|
+
```
|
|
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>
|
|
126
200
|
```
|
|
127
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
|
+
|
|
128
206
|
#### File command options
|
|
129
207
|
|
|
130
208
|
| Option | Description |
|