@superglue/cli 1.1.162 → 1.1.164
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/.claude-plugin/plugin.json +1 -1
- package/README.md +7 -0
- package/dist/cli.js +141 -111
- package/dist/skills/superglue/SKILL.md +37 -5
- package/package.json +1 -1
- package/skills/superglue/SKILL.md +37 -5
|
@@ -101,11 +101,11 @@ Verify with `sg whoami` or `sg system list` — should return authenticated cont
|
|
|
101
101
|
|
|
102
102
|
Set via `SUPERGLUE_CLI_PRESET` env var or `config.json` as `"preset"`. Legacy `sg init --preset` still writes this value for existing scripts.
|
|
103
103
|
|
|
104
|
-
| Preset | Description
|
|
105
|
-
| --------- |
|
|
106
|
-
| `runner` | Run saved tools by ID only. Read-only lookups. No building/editing
|
|
107
|
-
| `builder` | Runner + build/edit/save tools, call systems, manage MCP servers and
|
|
108
|
-
| `admin` | Full access (default)
|
|
104
|
+
| Preset | Description |
|
|
105
|
+
| --------- | -------------------------------------------------------------------------------------------------------------- |
|
|
106
|
+
| `runner` | Run saved tools by ID only. Read-only lookups. No building/editing |
|
|
107
|
+
| `builder` | Runner + build/edit/save tools, call systems, manage MCP servers, schedules, and project tasks. No system CRUD |
|
|
108
|
+
| `admin` | Full access (default) |
|
|
109
109
|
|
|
110
110
|
Blocked commands print a clear error showing the current preset and how to change it.
|
|
111
111
|
|
|
@@ -203,6 +203,25 @@ Optional flags:
|
|
|
203
203
|
- `--retries <n>` and `--timeout <ms>` set request options.
|
|
204
204
|
- `--clear-webhook` removes the webhook/tool-chain success action during edit.
|
|
205
205
|
|
|
206
|
+
### Managing Project Tasks
|
|
207
|
+
|
|
208
|
+
Projects group tasks in four status columns: `not_started`, `in_progress`, `waiting`, and `done`. Task order is per column. `--position` is the 0-based index in the column: `0` is the top, and values past the end place the task last.
|
|
209
|
+
|
|
210
|
+
```bash
|
|
211
|
+
sg project list
|
|
212
|
+
sg project task list --project <projectId>
|
|
213
|
+
sg project task create --project <projectId> --name "Map customer fields"
|
|
214
|
+
sg project task create --project <projectId> --name "Fix blockers" --position 0
|
|
215
|
+
sg project task edit --project <projectId> --id <taskId> --position 0
|
|
216
|
+
sg project task edit --project <projectId> --id <taskId> --status done
|
|
217
|
+
```
|
|
218
|
+
|
|
219
|
+
- `sg project task list` returns tasks in board order with each task's `position`. Add `--full` for descriptions and attachments.
|
|
220
|
+
- A new task, or a status change without `--position`, goes to the end of its column. Other edits keep the order.
|
|
221
|
+
- `sg project task edit` changes only the given fields. `--clear-due-date` and `--unassign` clear those fields.
|
|
222
|
+
- `--resource-refs` replaces the attachment list. Task attachments also join the project.
|
|
223
|
+
- Tasks cannot be deleted from the CLI. Archived projects reject task writes.
|
|
224
|
+
|
|
206
225
|
---
|
|
207
226
|
|
|
208
227
|
## Reference
|
|
@@ -230,6 +249,9 @@ Agents familiar with the web agent (its native tools and the `superglue` node mo
|
|
|
230
249
|
| `tools.writeMcpServer` (superglue/approved) | `sg mcp edit --id <id> ...` | Edits name, auth mode, description, or selected tool IDs |
|
|
231
250
|
| `tools.writeSchedule` (superglue module; new) | `sg schedule create --tool <id> --cron <expr>` | Creates a cron schedule for a saved tool |
|
|
232
251
|
| `tools.writeSchedule` (superglue/approved; id) | `sg schedule edit --tool <id> --id <schedule>` | Updates, enables, or disables an existing schedule |
|
|
252
|
+
| `run_command` with `vfs` for `/projects/` | `sg project list` / `sg project task list` | Tasks are listed in board order with `position` |
|
|
253
|
+
| `tools.writeTask` (superglue module; no id) | `sg project task create --project <id>` | Same fields; `--position` places the task in its column |
|
|
254
|
+
| `tools.writeTask` (superglue module; id) | `sg project task edit --project <p> --id <t>` | Updates only the given fields, including `--position` |
|
|
233
255
|
| (no direct equivalent) | `sg login`, `sg update`, `sg skill` | CLI-specific setup, updater, and this reference system |
|
|
234
256
|
|
|
235
257
|
Web-agent-only concepts with no CLI equivalent: `run_command`'s virtual filesystem (CLI uses concrete `sg` subcommands), `authenticate_oauth`'s dedicated MCP `authenticate` tool (CLI uses `sg system oauth`), and `setup_gateway` (the gateway install command is created in the web app).
|
|
@@ -291,6 +313,16 @@ sg mcp edit --id <serverId> --remove-tool old_tool
|
|
|
291
313
|
sg mcp edit --id <serverId> --auth-mode creator_api_key
|
|
292
314
|
```
|
|
293
315
|
|
|
316
|
+
**Project commands:**
|
|
317
|
+
|
|
318
|
+
```bash
|
|
319
|
+
sg project list --include-archived
|
|
320
|
+
sg project task list --project crm-migration --status in_progress
|
|
321
|
+
sg project task create --project crm-migration --name "Await credentials" --status waiting --due-date 2026-11-01
|
|
322
|
+
sg project task edit --project crm-migration --id await-credentials --status in_progress --position 0
|
|
323
|
+
sg project task edit --project crm-migration --id await-credentials --description-file notes.md --unassign
|
|
324
|
+
```
|
|
325
|
+
|
|
294
326
|
**Run commands:**
|
|
295
327
|
|
|
296
328
|
```bash
|
package/package.json
CHANGED
|
@@ -101,11 +101,11 @@ Verify with `sg whoami` or `sg system list` — should return authenticated cont
|
|
|
101
101
|
|
|
102
102
|
Set via `SUPERGLUE_CLI_PRESET` env var or `config.json` as `"preset"`. Legacy `sg init --preset` still writes this value for existing scripts.
|
|
103
103
|
|
|
104
|
-
| Preset | Description
|
|
105
|
-
| --------- |
|
|
106
|
-
| `runner` | Run saved tools by ID only. Read-only lookups. No building/editing
|
|
107
|
-
| `builder` | Runner + build/edit/save tools, call systems, manage MCP servers and
|
|
108
|
-
| `admin` | Full access (default)
|
|
104
|
+
| Preset | Description |
|
|
105
|
+
| --------- | -------------------------------------------------------------------------------------------------------------- |
|
|
106
|
+
| `runner` | Run saved tools by ID only. Read-only lookups. No building/editing |
|
|
107
|
+
| `builder` | Runner + build/edit/save tools, call systems, manage MCP servers, schedules, and project tasks. No system CRUD |
|
|
108
|
+
| `admin` | Full access (default) |
|
|
109
109
|
|
|
110
110
|
Blocked commands print a clear error showing the current preset and how to change it.
|
|
111
111
|
|
|
@@ -203,6 +203,25 @@ Optional flags:
|
|
|
203
203
|
- `--retries <n>` and `--timeout <ms>` set request options.
|
|
204
204
|
- `--clear-webhook` removes the webhook/tool-chain success action during edit.
|
|
205
205
|
|
|
206
|
+
### Managing Project Tasks
|
|
207
|
+
|
|
208
|
+
Projects group tasks in four status columns: `not_started`, `in_progress`, `waiting`, and `done`. Task order is per column. `--position` is the 0-based index in the column: `0` is the top, and values past the end place the task last.
|
|
209
|
+
|
|
210
|
+
```bash
|
|
211
|
+
sg project list
|
|
212
|
+
sg project task list --project <projectId>
|
|
213
|
+
sg project task create --project <projectId> --name "Map customer fields"
|
|
214
|
+
sg project task create --project <projectId> --name "Fix blockers" --position 0
|
|
215
|
+
sg project task edit --project <projectId> --id <taskId> --position 0
|
|
216
|
+
sg project task edit --project <projectId> --id <taskId> --status done
|
|
217
|
+
```
|
|
218
|
+
|
|
219
|
+
- `sg project task list` returns tasks in board order with each task's `position`. Add `--full` for descriptions and attachments.
|
|
220
|
+
- A new task, or a status change without `--position`, goes to the end of its column. Other edits keep the order.
|
|
221
|
+
- `sg project task edit` changes only the given fields. `--clear-due-date` and `--unassign` clear those fields.
|
|
222
|
+
- `--resource-refs` replaces the attachment list. Task attachments also join the project.
|
|
223
|
+
- Tasks cannot be deleted from the CLI. Archived projects reject task writes.
|
|
224
|
+
|
|
206
225
|
---
|
|
207
226
|
|
|
208
227
|
## Reference
|
|
@@ -230,6 +249,9 @@ Agents familiar with the web agent (its native tools and the `superglue` node mo
|
|
|
230
249
|
| `tools.writeMcpServer` (superglue/approved) | `sg mcp edit --id <id> ...` | Edits name, auth mode, description, or selected tool IDs |
|
|
231
250
|
| `tools.writeSchedule` (superglue module; new) | `sg schedule create --tool <id> --cron <expr>` | Creates a cron schedule for a saved tool |
|
|
232
251
|
| `tools.writeSchedule` (superglue/approved; id) | `sg schedule edit --tool <id> --id <schedule>` | Updates, enables, or disables an existing schedule |
|
|
252
|
+
| `run_command` with `vfs` for `/projects/` | `sg project list` / `sg project task list` | Tasks are listed in board order with `position` |
|
|
253
|
+
| `tools.writeTask` (superglue module; no id) | `sg project task create --project <id>` | Same fields; `--position` places the task in its column |
|
|
254
|
+
| `tools.writeTask` (superglue module; id) | `sg project task edit --project <p> --id <t>` | Updates only the given fields, including `--position` |
|
|
233
255
|
| (no direct equivalent) | `sg login`, `sg update`, `sg skill` | CLI-specific setup, updater, and this reference system |
|
|
234
256
|
|
|
235
257
|
Web-agent-only concepts with no CLI equivalent: `run_command`'s virtual filesystem (CLI uses concrete `sg` subcommands), `authenticate_oauth`'s dedicated MCP `authenticate` tool (CLI uses `sg system oauth`), and `setup_gateway` (the gateway install command is created in the web app).
|
|
@@ -291,6 +313,16 @@ sg mcp edit --id <serverId> --remove-tool old_tool
|
|
|
291
313
|
sg mcp edit --id <serverId> --auth-mode creator_api_key
|
|
292
314
|
```
|
|
293
315
|
|
|
316
|
+
**Project commands:**
|
|
317
|
+
|
|
318
|
+
```bash
|
|
319
|
+
sg project list --include-archived
|
|
320
|
+
sg project task list --project crm-migration --status in_progress
|
|
321
|
+
sg project task create --project crm-migration --name "Await credentials" --status waiting --due-date 2026-11-01
|
|
322
|
+
sg project task edit --project crm-migration --id await-credentials --status in_progress --position 0
|
|
323
|
+
sg project task edit --project crm-migration --id await-credentials --description-file notes.md --unassign
|
|
324
|
+
```
|
|
325
|
+
|
|
294
326
|
**Run commands:**
|
|
295
327
|
|
|
296
328
|
```bash
|