@action-intelligence/cli 0.3.1 → 0.3.2
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 +31 -5
- package/action.mjs +99 -99
- package/bin/darwin-arm64/action-api +0 -0
- package/bin/darwin-arm64/dependencies.json +12 -12
- package/bin/darwin-x64/action-api +0 -0
- package/bin/darwin-x64/dependencies.json +12 -12
- package/bin/linux-arm64/action-api +0 -0
- package/bin/linux-arm64/dependencies.json +338 -338
- package/bin/linux-x64/action-api +0 -0
- package/bin/linux-x64/dependencies.json +57 -57
- package/bin/windows-arm64/action-api.exe +0 -0
- package/bin/windows-arm64/dependencies.json +12 -12
- package/bin/windows-x64/action-api.exe +0 -0
- package/bin/windows-x64/dependencies.json +12 -12
- package/package.json +1 -1
- /package/bin/darwin-arm64/licenses/{mio-1.2.1 → mio-1.2.4}/LICENSE +0 -0
- /package/bin/darwin-arm64/licenses/{rustls-0.23.45 → rustls-0.23.46}/LICENSE-APACHE +0 -0
- /package/bin/darwin-arm64/licenses/{rustls-0.23.45 → rustls-0.23.46}/LICENSE-ISC +0 -0
- /package/bin/darwin-arm64/licenses/{rustls-0.23.45 → rustls-0.23.46}/LICENSE-MIT +0 -0
- /package/bin/darwin-arm64/licenses/{rustls-webpki-0.103.15 → rustls-webpki-0.103.16}/LICENSE +0 -0
- /package/bin/darwin-arm64/licenses/{zerocopy-0.8.52 → zerocopy-0.8.63}/LICENSE-APACHE +0 -0
- /package/bin/darwin-arm64/licenses/{zerocopy-0.8.52 → zerocopy-0.8.63}/LICENSE-BSD +0 -0
- /package/bin/darwin-arm64/licenses/{zerocopy-0.8.52 → zerocopy-0.8.63}/LICENSE-MIT +0 -0
- /package/bin/darwin-x64/licenses/{mio-1.2.1 → mio-1.2.4}/LICENSE +0 -0
- /package/bin/darwin-x64/licenses/{rustls-0.23.45 → rustls-0.23.46}/LICENSE-APACHE +0 -0
- /package/bin/darwin-x64/licenses/{rustls-0.23.45 → rustls-0.23.46}/LICENSE-ISC +0 -0
- /package/bin/darwin-x64/licenses/{rustls-0.23.45 → rustls-0.23.46}/LICENSE-MIT +0 -0
- /package/bin/darwin-x64/licenses/{rustls-webpki-0.103.15 → rustls-webpki-0.103.16}/LICENSE +0 -0
- /package/bin/darwin-x64/licenses/{zerocopy-0.8.52 → zerocopy-0.8.63}/LICENSE-APACHE +0 -0
- /package/bin/darwin-x64/licenses/{zerocopy-0.8.52 → zerocopy-0.8.63}/LICENSE-BSD +0 -0
- /package/bin/darwin-x64/licenses/{zerocopy-0.8.52 → zerocopy-0.8.63}/LICENSE-MIT +0 -0
- /package/bin/linux-arm64/licenses/{mio-1.2.1 → mio-1.2.4}/LICENSE +0 -0
- /package/bin/linux-arm64/licenses/{rustls-0.23.45 → rustls-0.23.46}/LICENSE-APACHE +0 -0
- /package/bin/linux-arm64/licenses/{rustls-0.23.45 → rustls-0.23.46}/LICENSE-ISC +0 -0
- /package/bin/linux-arm64/licenses/{rustls-0.23.45 → rustls-0.23.46}/LICENSE-MIT +0 -0
- /package/bin/linux-arm64/licenses/{rustls-webpki-0.103.15 → rustls-webpki-0.103.16}/LICENSE +0 -0
- /package/bin/linux-arm64/licenses/{zerocopy-0.8.52 → zerocopy-0.8.63}/LICENSE-APACHE +0 -0
- /package/bin/linux-arm64/licenses/{zerocopy-0.8.52 → zerocopy-0.8.63}/LICENSE-BSD +0 -0
- /package/bin/linux-arm64/licenses/{zerocopy-0.8.52 → zerocopy-0.8.63}/LICENSE-MIT +0 -0
- /package/bin/linux-x64/licenses/{mio-1.2.1 → mio-1.2.4}/LICENSE +0 -0
- /package/bin/linux-x64/licenses/{rustls-0.23.45 → rustls-0.23.46}/LICENSE-APACHE +0 -0
- /package/bin/linux-x64/licenses/{rustls-0.23.45 → rustls-0.23.46}/LICENSE-ISC +0 -0
- /package/bin/linux-x64/licenses/{rustls-0.23.45 → rustls-0.23.46}/LICENSE-MIT +0 -0
- /package/bin/linux-x64/licenses/{rustls-webpki-0.103.15 → rustls-webpki-0.103.16}/LICENSE +0 -0
- /package/bin/linux-x64/licenses/{zerocopy-0.8.52 → zerocopy-0.8.63}/LICENSE-APACHE +0 -0
- /package/bin/linux-x64/licenses/{zerocopy-0.8.52 → zerocopy-0.8.63}/LICENSE-BSD +0 -0
- /package/bin/linux-x64/licenses/{zerocopy-0.8.52 → zerocopy-0.8.63}/LICENSE-MIT +0 -0
- /package/bin/windows-arm64/licenses/{mio-1.2.1 → mio-1.2.4}/LICENSE +0 -0
- /package/bin/windows-arm64/licenses/{rustls-0.23.45 → rustls-0.23.46}/LICENSE-APACHE +0 -0
- /package/bin/windows-arm64/licenses/{rustls-0.23.45 → rustls-0.23.46}/LICENSE-ISC +0 -0
- /package/bin/windows-arm64/licenses/{rustls-0.23.45 → rustls-0.23.46}/LICENSE-MIT +0 -0
- /package/bin/windows-arm64/licenses/{rustls-webpki-0.103.15 → rustls-webpki-0.103.16}/LICENSE +0 -0
- /package/bin/windows-arm64/licenses/{zerocopy-0.8.52 → zerocopy-0.8.63}/LICENSE-APACHE +0 -0
- /package/bin/windows-arm64/licenses/{zerocopy-0.8.52 → zerocopy-0.8.63}/LICENSE-BSD +0 -0
- /package/bin/windows-arm64/licenses/{zerocopy-0.8.52 → zerocopy-0.8.63}/LICENSE-MIT +0 -0
- /package/bin/windows-x64/licenses/{mio-1.2.1 → mio-1.2.4}/LICENSE +0 -0
- /package/bin/windows-x64/licenses/{rustls-0.23.45 → rustls-0.23.46}/LICENSE-APACHE +0 -0
- /package/bin/windows-x64/licenses/{rustls-0.23.45 → rustls-0.23.46}/LICENSE-ISC +0 -0
- /package/bin/windows-x64/licenses/{rustls-0.23.45 → rustls-0.23.46}/LICENSE-MIT +0 -0
- /package/bin/windows-x64/licenses/{rustls-webpki-0.103.15 → rustls-webpki-0.103.16}/LICENSE +0 -0
- /package/bin/windows-x64/licenses/{zerocopy-0.8.52 → zerocopy-0.8.63}/LICENSE-APACHE +0 -0
- /package/bin/windows-x64/licenses/{zerocopy-0.8.52 → zerocopy-0.8.63}/LICENSE-BSD +0 -0
- /package/bin/windows-x64/licenses/{zerocopy-0.8.52 → zerocopy-0.8.63}/LICENSE-MIT +0 -0
package/README.md
CHANGED
|
@@ -40,7 +40,7 @@ For enabled machine access, supply `ACTION_TOKEN` or `ACTION_API_KEY` through a
|
|
|
40
40
|
|
|
41
41
|
## Conversations and cases
|
|
42
42
|
|
|
43
|
-
Copilot is available directly; the
|
|
43
|
+
Copilot is available directly; the caller does not need to discover an agent or version:
|
|
44
44
|
|
|
45
45
|
```sh
|
|
46
46
|
action copilot "Summarize my open cases"
|
|
@@ -71,7 +71,7 @@ action cases list --help
|
|
|
71
71
|
action cases list --schema
|
|
72
72
|
action cases list --limit 10
|
|
73
73
|
action cases get --case-id-or-identifier <id-or-identifier>
|
|
74
|
-
action
|
|
74
|
+
action agents list
|
|
75
75
|
action sessions list
|
|
76
76
|
action knowledge list-folders
|
|
77
77
|
action knowledge search --json '{"question":"How do I request VPN access?"}'
|
|
@@ -94,8 +94,12 @@ both `sessions:read` and `cases:read`; escalation requires `cases:write`. Intake
|
|
|
94
94
|
routing as the in-product help desk, and escalation uses the same assignment and muting settings.
|
|
95
95
|
|
|
96
96
|
The legacy Case, Automation, Form, Skill, and Workflow Builder sessions are retired. Use Copilot
|
|
97
|
-
for authoring; existing Builder
|
|
98
|
-
|
|
97
|
+
for authoring; existing Builder and Workflow Suggestion conversations remain readable.
|
|
98
|
+
|
|
99
|
+
Agents are exposed as `agents`, with `agentId` path parameters and `agents:*` scopes. The earlier
|
|
100
|
+
`action automations` commands, `/automations` paths and `automations:*` scopes keep working as
|
|
101
|
+
deprecated aliases, as do `sessions mute-automation`, `sessions unmute-automation`,
|
|
102
|
+
`applications list-application-automations` and `skills list-automations`.
|
|
99
103
|
|
|
100
104
|
Conversations are exposed as `sessions`, with `sessionId` fields and `sessions:read/write` scopes.
|
|
101
105
|
Existing Cases wire fields retain their previously published names. Stored pre-release service
|
|
@@ -230,7 +234,7 @@ as required fields, enums, minimum array sizes, and forbidden properties.
|
|
|
230
234
|
|
|
231
235
|
### Helpdesk requests
|
|
232
236
|
|
|
233
|
-
The agent can open a request by space name without looking up
|
|
237
|
+
The agent can open a request by space name without looking up agent IDs:
|
|
234
238
|
|
|
235
239
|
```sh
|
|
236
240
|
action requests destinations
|
|
@@ -249,3 +253,25 @@ participation, and pause policies determine whether the helpdesk agent responds.
|
|
|
249
253
|
an agent reply is expected; it does not force a response or unmute the agent. `sessions reply`
|
|
250
254
|
continues to wait by default. Messages can also come from `--input-file` or stdin, and receipts
|
|
251
255
|
retain session/message IDs for recovery. The longer generated commands remain available.
|
|
256
|
+
|
|
257
|
+
## Building standalone binaries
|
|
258
|
+
|
|
259
|
+
From the repository root, `bun run --cwd apps/action-cli release:binaries` builds the native
|
|
260
|
+
Rust API sidecar and a bytecode-cached Action CLI shell. Release CI uses this default.
|
|
261
|
+
Archives go to `apps/action-cli/dist/release/`.
|
|
262
|
+
|
|
263
|
+
To try native AOT, install an experimental Bun that supports
|
|
264
|
+
[`--aot`](https://github.com/oven-sh/bun/pull/45631) and `--trim` separately from the pinned team version,
|
|
265
|
+
then invoke that binary directly:
|
|
266
|
+
|
|
267
|
+
```sh
|
|
268
|
+
/path/to/experimental/bun apps/action-cli/scripts/build-binaries.ts --aot
|
|
269
|
+
```
|
|
270
|
+
|
|
271
|
+
This requires the same native Rust toolchain as a normal release build. It compiles on the host
|
|
272
|
+
platform with `--trim`, without bytecode or a cross-compilation target. Trimming removes unused
|
|
273
|
+
runtime APIs. Unsupported Bun versions fail before
|
|
274
|
+
building the sidecar. AOT packages go to `dist/aot/paired/<platform>/` and archives to
|
|
275
|
+
`dist/aot/release/action-<platform>-aot.tar.gz` under `apps/action-cli`, separate from release
|
|
276
|
+
artifacts. The Rust sidecar is unchanged. The current prototype has only been exercised here
|
|
277
|
+
on Linux x64; it is not part of the release matrix.
|