@superglue/cli 1.1.230 → 1.1.231

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.
@@ -47,7 +47,7 @@ Read these on demand — they are authoritative for their topic and kept in sync
47
47
  - `sg system call --system-id <id> --url <url>` selects your connection (your starred one, otherwise the accessible one you have held longest, owned or shared), refreshes OAuth tokens, and adds the `Authorization` header for `oauth2`, `basic_auth`, and `api_key` systems. The output reports the connection as `credential`, plus `auth`; `auth.applied: "unavailable"` names what is missing. Pass `--connection-id` to use a specific connection. `--url` is the absolute URL, or `<<systemId_url>>` plus the path for tenant-specific hosts.
48
48
  - Pass `--headers` with `<<systemId_credentialKey>>` placeholders only when the API expects another header or a query parameter; that replaces the default header. `sg system find --id <id>` prints each secret's exact placeholder; `sg system call` rejects bare `<<credentialKey>>` placeholders before sending.
49
49
  - Saved tool steps inject nothing: put the auth header or connection string in the step config.
50
- - Databases/Redis/file servers: embed credential placeholders in the connection URL (e.g. `postgres://<<sys_user>>:<<sys_pass>>@host/db`).
50
+ - Databases/Redis/file servers: embed secret placeholders in the connection URL (e.g. `postgres://<<sys_user>>:<<sys_pass>>@host/db`).
51
51
 
52
52
  **Saving tools**
53
53
 
@@ -254,7 +254,7 @@ Agents familiar with the web agent (its native tools and the `superglue` node mo
254
254
  | `tools.writeConnection` | `sg system connection set --system-id <id>` | Creates or updates your connection under its namespace |
255
255
  | `run_command` with `vfs` for `/org/connections/` | `sg system find <query>` / `--id <id>` | Returns your connection's secret names, url, and auth type |
256
256
  | `/org/connections/<id>.json` | `sg system connection list/get/set/clear` | Manage your connection; `--connection-id` targets a specific one |
257
- | `tools.callSystem` | `sg system call --system-id <id> --url <url>` | Ad-hoc calls; connection and auth header are added server-side; `--connection-id` matches `credentialId` |
257
+ | `tools.callSystem` | `sg system call --system-id <id> --url <url>` | Ad-hoc calls; connection and auth header are added server-side; `--connection-id` matches `connectionId` |
258
258
  | `connect` | `sg system connection set` and `sg system oauth` | Saves configuration and secrets, then opens OAuth when needed |
259
259
  | `run_command` with `vfs` for `/org/runs/` | `sg run list` / `sg run get <runId>` | Filter `list` by `--tool`, `--status`, `--source`, `--limit` |
260
260
  | `run_command` with `vfs` for `/org/mcp-servers/` | `sg mcp list` / `sg mcp find --id <id>` | Returns endpoint, auth mode, selected tool IDs, and client config |
@@ -391,7 +391,7 @@ Attach files with repeatable `--file key=path`. Reference in payloads with `file
391
391
  | `systemId` | string | Optional. Resolves connection secrets as `<<systemId_secretName>>` |
392
392
  | `url` | string | Full URL with `<<variable>>` placeholders. Required. |
393
393
  | `method` | string | HTTP method (HTTP only) |
394
- | `headers` | object | HTTP headers with credential placeholders (HTTP only) |
394
+ | `headers` | object | HTTP headers with secret placeholders (HTTP only) |
395
395
  | `queryParams` | object | URL query parameters (HTTP only) |
396
396
  | `body` | string | Request body / DB query / Redis command / file operation |
397
397
  | `pagination` | object | Auto-pagination config (HTTP only, see `sg skill http`) |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@superglue/cli",
3
- "version": "1.1.230",
3
+ "version": "1.1.231",
4
4
  "bin": {
5
5
  "sg": "./dist/cli.js"
6
6
  },
@@ -47,7 +47,7 @@ Read these on demand — they are authoritative for their topic and kept in sync
47
47
  - `sg system call --system-id <id> --url <url>` selects your connection (your starred one, otherwise the accessible one you have held longest, owned or shared), refreshes OAuth tokens, and adds the `Authorization` header for `oauth2`, `basic_auth`, and `api_key` systems. The output reports the connection as `credential`, plus `auth`; `auth.applied: "unavailable"` names what is missing. Pass `--connection-id` to use a specific connection. `--url` is the absolute URL, or `<<systemId_url>>` plus the path for tenant-specific hosts.
48
48
  - Pass `--headers` with `<<systemId_credentialKey>>` placeholders only when the API expects another header or a query parameter; that replaces the default header. `sg system find --id <id>` prints each secret's exact placeholder; `sg system call` rejects bare `<<credentialKey>>` placeholders before sending.
49
49
  - Saved tool steps inject nothing: put the auth header or connection string in the step config.
50
- - Databases/Redis/file servers: embed credential placeholders in the connection URL (e.g. `postgres://<<sys_user>>:<<sys_pass>>@host/db`).
50
+ - Databases/Redis/file servers: embed secret placeholders in the connection URL (e.g. `postgres://<<sys_user>>:<<sys_pass>>@host/db`).
51
51
 
52
52
  **Saving tools**
53
53
 
@@ -254,7 +254,7 @@ Agents familiar with the web agent (its native tools and the `superglue` node mo
254
254
  | `tools.writeConnection` | `sg system connection set --system-id <id>` | Creates or updates your connection under its namespace |
255
255
  | `run_command` with `vfs` for `/org/connections/` | `sg system find <query>` / `--id <id>` | Returns your connection's secret names, url, and auth type |
256
256
  | `/org/connections/<id>.json` | `sg system connection list/get/set/clear` | Manage your connection; `--connection-id` targets a specific one |
257
- | `tools.callSystem` | `sg system call --system-id <id> --url <url>` | Ad-hoc calls; connection and auth header are added server-side; `--connection-id` matches `credentialId` |
257
+ | `tools.callSystem` | `sg system call --system-id <id> --url <url>` | Ad-hoc calls; connection and auth header are added server-side; `--connection-id` matches `connectionId` |
258
258
  | `connect` | `sg system connection set` and `sg system oauth` | Saves configuration and secrets, then opens OAuth when needed |
259
259
  | `run_command` with `vfs` for `/org/runs/` | `sg run list` / `sg run get <runId>` | Filter `list` by `--tool`, `--status`, `--source`, `--limit` |
260
260
  | `run_command` with `vfs` for `/org/mcp-servers/` | `sg mcp list` / `sg mcp find --id <id>` | Returns endpoint, auth mode, selected tool IDs, and client config |
@@ -391,7 +391,7 @@ Attach files with repeatable `--file key=path`. Reference in payloads with `file
391
391
  | `systemId` | string | Optional. Resolves connection secrets as `<<systemId_secretName>>` |
392
392
  | `url` | string | Full URL with `<<variable>>` placeholders. Required. |
393
393
  | `method` | string | HTTP method (HTTP only) |
394
- | `headers` | object | HTTP headers with credential placeholders (HTTP only) |
394
+ | `headers` | object | HTTP headers with secret placeholders (HTTP only) |
395
395
  | `queryParams` | object | URL query parameters (HTTP only) |
396
396
  | `body` | string | Request body / DB query / Redis command / file operation |
397
397
  | `pagination` | object | Auto-pagination config (HTTP only, see `sg skill http`) |