@withone/cli 2.4.0 → 2.6.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 +13 -11
- package/dist/{chunk-6FA7KUNQ.js → chunk-4KX5ZERS.js} +797 -116
- package/dist/{chunk-7FPQOAQ4.js → chunk-O3HDWHHS.js} +5 -3
- package/dist/{chunk-XKUTG7JD.js → chunk-PUQKTRYC.js} +5 -3
- package/dist/chunk-Q6PWTATS.js +79 -0
- package/dist/{chunk-NOFJ4NYD.js → chunk-VMFWA43Q.js} +5 -77
- package/dist/{flow-runner-SFECNAO2.js → flow-runner-FME4AVVN.js} +2 -1
- package/dist/index.js +830 -1350
- package/dist/{migrate-3LSEIPRF.js → migrate-KWEEEQ3E.js} +3 -2
- package/dist/{schema-FICQRMZ7.js → schema-YJ7JTGFL.js} +5 -3
- package/dist/{sql-AKQSXRV2.js → sql-NDMMFQP6.js} +3 -2
- package/package.json +1 -1
- package/skills/one/SKILL.md +3 -1
|
@@ -3,9 +3,10 @@ import {
|
|
|
3
3
|
dotPathToJsonbExpr,
|
|
4
4
|
memMigrateCommand,
|
|
5
5
|
reviveStringifiedJson
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-PUQKTRYC.js";
|
|
7
7
|
import "./chunk-44CV5IMX.js";
|
|
8
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-VMFWA43Q.js";
|
|
9
|
+
import "./chunk-Q6PWTATS.js";
|
|
9
10
|
import "./chunk-NOPTG4GC.js";
|
|
10
11
|
import "./chunk-3HRC3IPE.js";
|
|
11
12
|
import "./chunk-HTXZZQ6U.js";
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
memSqlCommand,
|
|
3
3
|
syncSqlCommand
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-O3HDWHHS.js";
|
|
5
|
+
import "./chunk-VMFWA43Q.js";
|
|
6
|
+
import "./chunk-Q6PWTATS.js";
|
|
6
7
|
import "./chunk-NOPTG4GC.js";
|
|
7
8
|
import "./chunk-3HRC3IPE.js";
|
|
8
9
|
import "./chunk-HTXZZQ6U.js";
|
package/package.json
CHANGED
package/skills/one/SKILL.md
CHANGED
|
@@ -47,7 +47,7 @@ Always follow this sequence when the user wants to do something on a connected p
|
|
|
47
47
|
one --agent connection list
|
|
48
48
|
```
|
|
49
49
|
|
|
50
|
-
Returns connected platforms with their connection keys (needed for execution), platform names in kebab-case (needed for finding actions), and an `access` field per connection telling you what you may run there.
|
|
50
|
+
Returns connected platforms with their connection keys (needed for execution), platform names in kebab-case (needed for finding actions), and an `access` field per connection telling you what you may run there. `access` is what One enforces for this key (the choices made on the consent page, or later in the dashboard), narrowed by any limits set with `one config`; `access.level` names it the way the consent page does: `full`, `read-write`, `read-only`, `custom` or `none`. When telling the user their access, use those words (Full access, Read & write, Read only, Custom, No access).
|
|
51
51
|
|
|
52
52
|
**Read `access` before you plan a workflow** — it saves you from discovering a restriction as a 403 halfway through:
|
|
53
53
|
|
|
@@ -57,6 +57,8 @@ Returns connected platforms with their connection keys (needed for execution), p
|
|
|
57
57
|
| `{"policy": "methods", "methods": ["GET"]}` | Only actions with these HTTP methods will execute — don't propose writes |
|
|
58
58
|
| `{"policy": "actions", "actions": [...]}` | Only these exact actions may run. Each has `actionId`, `title`, `method` — **use them directly**: `actions load <actionId>` reads their docs, no find needed |
|
|
59
59
|
|
|
60
|
+
`accessSource` is `"server"` when One reported the key's access, or `"local"` when it could not (the `accessHint` says so) — then `access` reflects only this CLI's settings and One may allow less: tell the user it is unverified rather than calling it full access.
|
|
61
|
+
|
|
60
62
|
Two more fields appear only when relevant:
|
|
61
63
|
- `"knowledgeOnly": true` — `actions execute` is disabled. `actions find` returns each action's whole document with how to call it from code; write integration code instead of executing.
|
|
62
64
|
- `"unresolvedActionIds": [...]` — allowlisted ids that couldn't be looked up; treat them as unavailable and tell the user.
|