@superglue/cli 1.1.171 → 1.1.173
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/dist/cli.js +48 -48
- package/dist/skills/superglue/references/file-handling.md +2 -1
- package/dist/skills/superglue/references/superglue-info.md +2 -0
- package/package.json +1 -1
- package/skills/superglue/references/file-handling.md +2 -1
- package/skills/superglue/references/superglue-info.md +2 -0
|
@@ -40,7 +40,7 @@ Constraints:
|
|
|
40
40
|
|
|
41
41
|
Every HTTP response is read as bytes. It becomes a file when any condition applies:
|
|
42
42
|
|
|
43
|
-
1. **Magic-byte detection** — known binary signatures (ZIP `PK\x03\x04`, PDF `%PDF`, GZIP `\x1f\x8b`, plus internal ZIP structure checks for Excel/DOCX/PPTX)
|
|
43
|
+
1. **Magic-byte detection** — known binary signatures (ZIP `PK\x03\x04`, PDF `%PDF`, GZIP `\x1f\x8b`, plus internal ZIP structure checks for Excel/DOCX/PPTX and compound-file checks for QuickBooks portable company files (QBM))
|
|
44
44
|
2. **`Content-Disposition: attachment`** — `attachment` or `filename=` in this header forces file treatment
|
|
45
45
|
3. **`application/octet-stream`** — explicit octet-stream MIME catches unlabeled binary payloads
|
|
46
46
|
4. **Unlabeled RAW data** — detection returned `RAW` and the declared MIME type is not clearly text-like
|
|
@@ -54,6 +54,7 @@ File server `get` operations always produce files regardless of detected type.
|
|
|
54
54
|
| Classification | Types | Destination |
|
|
55
55
|
| ------------------- | ----------------------------------------- | --------------------------------------------------- |
|
|
56
56
|
| **Binary** | PDF, Excel, DOCX, PPTX, ZIP, GZIP, BINARY | `producedFiles` + `data` (extracted/parsed content) |
|
|
57
|
+
| **QuickBooks** | QBM | `producedFiles` only; no extracted content |
|
|
57
58
|
| **Structured text** | JSON, XML, CSV, YAML, HTML | `data` only (parsed to JS objects) |
|
|
58
59
|
| **RAW** | Unrecognized | File or string according to headers and MIME rules |
|
|
59
60
|
|
|
@@ -52,6 +52,8 @@ Two limits are worth stating plainly. Execute reaches the agent, and the agent's
|
|
|
52
52
|
- **TypeScript/Python SDK** — https://superglue.ai/docs/sdk/overview/
|
|
53
53
|
- **REST API** — https://superglue.ai/docs/api/
|
|
54
54
|
- **MCP Server** — https://superglue.ai/docs/mcp/using-the-mcp/
|
|
55
|
+
- **Outlook add-in** — superglue in a side panel next to the open email. Install it as a custom add-in from the web app URL plus `/outlook/manifest.xml`.
|
|
56
|
+
- **Microsoft Teams app** — available when the deployment has a Teams bot. Users chat with superglue, approve agent actions in cards, and mention @superglue in project channels. A Teams administrator uploads the app package from the web app URL plus `/teams/superglue-teams.zip`. Each user connects in a personal chat with superglue or under **Brain** → **Setup**.
|
|
55
57
|
- **CLI** — `npm install -g @superglue/cli` — https://superglue.ai/docs/getting-started/cli-skills/
|
|
56
58
|
|
|
57
59
|
### Webhook Triggers
|
package/package.json
CHANGED
|
@@ -40,7 +40,7 @@ Constraints:
|
|
|
40
40
|
|
|
41
41
|
Every HTTP response is read as bytes. It becomes a file when any condition applies:
|
|
42
42
|
|
|
43
|
-
1. **Magic-byte detection** — known binary signatures (ZIP `PK\x03\x04`, PDF `%PDF`, GZIP `\x1f\x8b`, plus internal ZIP structure checks for Excel/DOCX/PPTX)
|
|
43
|
+
1. **Magic-byte detection** — known binary signatures (ZIP `PK\x03\x04`, PDF `%PDF`, GZIP `\x1f\x8b`, plus internal ZIP structure checks for Excel/DOCX/PPTX and compound-file checks for QuickBooks portable company files (QBM))
|
|
44
44
|
2. **`Content-Disposition: attachment`** — `attachment` or `filename=` in this header forces file treatment
|
|
45
45
|
3. **`application/octet-stream`** — explicit octet-stream MIME catches unlabeled binary payloads
|
|
46
46
|
4. **Unlabeled RAW data** — detection returned `RAW` and the declared MIME type is not clearly text-like
|
|
@@ -54,6 +54,7 @@ File server `get` operations always produce files regardless of detected type.
|
|
|
54
54
|
| Classification | Types | Destination |
|
|
55
55
|
| ------------------- | ----------------------------------------- | --------------------------------------------------- |
|
|
56
56
|
| **Binary** | PDF, Excel, DOCX, PPTX, ZIP, GZIP, BINARY | `producedFiles` + `data` (extracted/parsed content) |
|
|
57
|
+
| **QuickBooks** | QBM | `producedFiles` only; no extracted content |
|
|
57
58
|
| **Structured text** | JSON, XML, CSV, YAML, HTML | `data` only (parsed to JS objects) |
|
|
58
59
|
| **RAW** | Unrecognized | File or string according to headers and MIME rules |
|
|
59
60
|
|
|
@@ -52,6 +52,8 @@ Two limits are worth stating plainly. Execute reaches the agent, and the agent's
|
|
|
52
52
|
- **TypeScript/Python SDK** — https://superglue.ai/docs/sdk/overview/
|
|
53
53
|
- **REST API** — https://superglue.ai/docs/api/
|
|
54
54
|
- **MCP Server** — https://superglue.ai/docs/mcp/using-the-mcp/
|
|
55
|
+
- **Outlook add-in** — superglue in a side panel next to the open email. Install it as a custom add-in from the web app URL plus `/outlook/manifest.xml`.
|
|
56
|
+
- **Microsoft Teams app** — available when the deployment has a Teams bot. Users chat with superglue, approve agent actions in cards, and mention @superglue in project channels. A Teams administrator uploads the app package from the web app URL plus `/teams/superglue-teams.zip`. Each user connects in a personal chat with superglue or under **Brain** → **Setup**.
|
|
55
57
|
- **CLI** — `npm install -g @superglue/cli` — https://superglue.ai/docs/getting-started/cli-skills/
|
|
56
58
|
|
|
57
59
|
### Webhook Triggers
|