@superglue/cli 1.1.31 → 1.1.33

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.
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "superglue",
3
3
  "description": "Build, test, and manage superglue tools via the sg CLI. Use when working with superglue tools, systems, APIs, SDKs, or the sg command.",
4
- "version": "1.1.31",
4
+ "version": "1.1.33",
5
5
  "author": {
6
6
  "name": "superglue",
7
7
  "email": "hello@superglue.cloud"
package/README.md CHANGED
@@ -41,7 +41,7 @@ claude --plugin-dir $(npm root -g)/@superglue/cli
41
41
  ## Quick Start
42
42
 
43
43
  ```bash
44
- sg init # guided setup
44
+ sg login # browser setup
45
45
  sg system list # verify connection
46
46
  sg tool build --config '...' # build a tool
47
47
  sg tool run --draft <id> # test it
@@ -50,9 +50,12 @@ sg schedule create --tool <toolId> --cron "0 9 * * *" --timezone UTC
50
50
  sg mcp create --name my-mcp --tool <toolId> # expose saved tools through MCP
51
51
  ```
52
52
 
53
- The CLI needs an API key and the target superglue API endpoint. Use `sg init`, set
54
- `SUPERGLUE_API_KEY` / `SUPERGLUE_API_ENDPOINT`, or pass `--api-key` / `--endpoint` per command.
55
- For self-hosted instances, use that instance's API endpoint instead of the Cloud default.
53
+ The CLI needs authentication and the target superglue API endpoint. Use `sg login` for browser
54
+ OAuth setup. For headless/API-key auth, use `SUPERGLUE_API_KEY` /
55
+ `SUPERGLUE_API_ENDPOINT`, `--api-key` / `--endpoint`, or an existing `config.json`.
56
+ For self-hosted instances, use that instance's API endpoint and pass `--web-endpoint` to `sg login`
57
+ when the web app URL differs from the API URL. Add `--save-config` to persist those non-secret
58
+ endpoint settings in `config.json`.
56
59
 
57
60
  ## Commands
58
61
 
@@ -95,15 +98,17 @@ For self-hosted instances, use that instance's API endpoint instead of the Cloud
95
98
 
96
99
  ### Other
97
100
 
98
- - `sg init` — Interactive setup (API key, endpoint, output mode)
101
+ - `sg login` — Browser OAuth setup
102
+ - `sg logout` — Remove the stored OAuth session
103
+ - `sg whoami` — Show the authenticated user and organization
99
104
  - `sg update` — Update CLI to latest version
100
105
 
101
106
  ## Documentation
102
107
 
103
- - [CLI + Skills](https://docs.superglue.cloud/getting-started/cli-skills) — Skill installation and agent setup
108
+ - [CLI + Skills](https://superglue.ai/docs/getting-started/cli-skills/) — Skill installation and agent setup
104
109
  - [Full CLI Reference](./skills/superglue/SKILL.md) — Complete command documentation
105
- - [superglue Docs](https://docs.superglue.cloud) — Platform documentation
106
- - [API Reference](https://docs.superglue.cloud/api-reference/) — REST API docs
110
+ - [superglue Docs](https://superglue.ai/docs/) — Platform documentation
111
+ - [API Reference](https://superglue.ai/docs/api/) — REST API docs
107
112
 
108
113
  ## Related
109
114