@action-intelligence/cli 0.3.1 → 0.3.3

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.
Files changed (63) hide show
  1. package/README.md +31 -5
  2. package/action.mjs +99 -99
  3. package/bin/darwin-arm64/action-api +0 -0
  4. package/bin/darwin-arm64/dependencies.json +12 -12
  5. package/bin/darwin-x64/action-api +0 -0
  6. package/bin/darwin-x64/dependencies.json +12 -12
  7. package/bin/linux-arm64/action-api +0 -0
  8. package/bin/linux-arm64/dependencies.json +326 -326
  9. package/bin/linux-x64/action-api +0 -0
  10. package/bin/linux-x64/dependencies.json +45 -45
  11. package/bin/windows-arm64/action-api.exe +0 -0
  12. package/bin/windows-arm64/dependencies.json +12 -12
  13. package/bin/windows-x64/action-api.exe +0 -0
  14. package/bin/windows-x64/dependencies.json +12 -12
  15. package/package.json +1 -1
  16. /package/bin/darwin-arm64/licenses/{mio-1.2.1 → mio-1.2.4}/LICENSE +0 -0
  17. /package/bin/darwin-arm64/licenses/{rustls-0.23.45 → rustls-0.23.46}/LICENSE-APACHE +0 -0
  18. /package/bin/darwin-arm64/licenses/{rustls-0.23.45 → rustls-0.23.46}/LICENSE-ISC +0 -0
  19. /package/bin/darwin-arm64/licenses/{rustls-0.23.45 → rustls-0.23.46}/LICENSE-MIT +0 -0
  20. /package/bin/darwin-arm64/licenses/{rustls-webpki-0.103.15 → rustls-webpki-0.103.16}/LICENSE +0 -0
  21. /package/bin/darwin-arm64/licenses/{zerocopy-0.8.52 → zerocopy-0.8.63}/LICENSE-APACHE +0 -0
  22. /package/bin/darwin-arm64/licenses/{zerocopy-0.8.52 → zerocopy-0.8.63}/LICENSE-BSD +0 -0
  23. /package/bin/darwin-arm64/licenses/{zerocopy-0.8.52 → zerocopy-0.8.63}/LICENSE-MIT +0 -0
  24. /package/bin/darwin-x64/licenses/{mio-1.2.1 → mio-1.2.4}/LICENSE +0 -0
  25. /package/bin/darwin-x64/licenses/{rustls-0.23.45 → rustls-0.23.46}/LICENSE-APACHE +0 -0
  26. /package/bin/darwin-x64/licenses/{rustls-0.23.45 → rustls-0.23.46}/LICENSE-ISC +0 -0
  27. /package/bin/darwin-x64/licenses/{rustls-0.23.45 → rustls-0.23.46}/LICENSE-MIT +0 -0
  28. /package/bin/darwin-x64/licenses/{rustls-webpki-0.103.15 → rustls-webpki-0.103.16}/LICENSE +0 -0
  29. /package/bin/darwin-x64/licenses/{zerocopy-0.8.52 → zerocopy-0.8.63}/LICENSE-APACHE +0 -0
  30. /package/bin/darwin-x64/licenses/{zerocopy-0.8.52 → zerocopy-0.8.63}/LICENSE-BSD +0 -0
  31. /package/bin/darwin-x64/licenses/{zerocopy-0.8.52 → zerocopy-0.8.63}/LICENSE-MIT +0 -0
  32. /package/bin/linux-arm64/licenses/{mio-1.2.1 → mio-1.2.4}/LICENSE +0 -0
  33. /package/bin/linux-arm64/licenses/{rustls-0.23.45 → rustls-0.23.46}/LICENSE-APACHE +0 -0
  34. /package/bin/linux-arm64/licenses/{rustls-0.23.45 → rustls-0.23.46}/LICENSE-ISC +0 -0
  35. /package/bin/linux-arm64/licenses/{rustls-0.23.45 → rustls-0.23.46}/LICENSE-MIT +0 -0
  36. /package/bin/linux-arm64/licenses/{rustls-webpki-0.103.15 → rustls-webpki-0.103.16}/LICENSE +0 -0
  37. /package/bin/linux-arm64/licenses/{zerocopy-0.8.52 → zerocopy-0.8.63}/LICENSE-APACHE +0 -0
  38. /package/bin/linux-arm64/licenses/{zerocopy-0.8.52 → zerocopy-0.8.63}/LICENSE-BSD +0 -0
  39. /package/bin/linux-arm64/licenses/{zerocopy-0.8.52 → zerocopy-0.8.63}/LICENSE-MIT +0 -0
  40. /package/bin/linux-x64/licenses/{mio-1.2.1 → mio-1.2.4}/LICENSE +0 -0
  41. /package/bin/linux-x64/licenses/{rustls-0.23.45 → rustls-0.23.46}/LICENSE-APACHE +0 -0
  42. /package/bin/linux-x64/licenses/{rustls-0.23.45 → rustls-0.23.46}/LICENSE-ISC +0 -0
  43. /package/bin/linux-x64/licenses/{rustls-0.23.45 → rustls-0.23.46}/LICENSE-MIT +0 -0
  44. /package/bin/linux-x64/licenses/{rustls-webpki-0.103.15 → rustls-webpki-0.103.16}/LICENSE +0 -0
  45. /package/bin/linux-x64/licenses/{zerocopy-0.8.52 → zerocopy-0.8.63}/LICENSE-APACHE +0 -0
  46. /package/bin/linux-x64/licenses/{zerocopy-0.8.52 → zerocopy-0.8.63}/LICENSE-BSD +0 -0
  47. /package/bin/linux-x64/licenses/{zerocopy-0.8.52 → zerocopy-0.8.63}/LICENSE-MIT +0 -0
  48. /package/bin/windows-arm64/licenses/{mio-1.2.1 → mio-1.2.4}/LICENSE +0 -0
  49. /package/bin/windows-arm64/licenses/{rustls-0.23.45 → rustls-0.23.46}/LICENSE-APACHE +0 -0
  50. /package/bin/windows-arm64/licenses/{rustls-0.23.45 → rustls-0.23.46}/LICENSE-ISC +0 -0
  51. /package/bin/windows-arm64/licenses/{rustls-0.23.45 → rustls-0.23.46}/LICENSE-MIT +0 -0
  52. /package/bin/windows-arm64/licenses/{rustls-webpki-0.103.15 → rustls-webpki-0.103.16}/LICENSE +0 -0
  53. /package/bin/windows-arm64/licenses/{zerocopy-0.8.52 → zerocopy-0.8.63}/LICENSE-APACHE +0 -0
  54. /package/bin/windows-arm64/licenses/{zerocopy-0.8.52 → zerocopy-0.8.63}/LICENSE-BSD +0 -0
  55. /package/bin/windows-arm64/licenses/{zerocopy-0.8.52 → zerocopy-0.8.63}/LICENSE-MIT +0 -0
  56. /package/bin/windows-x64/licenses/{mio-1.2.1 → mio-1.2.4}/LICENSE +0 -0
  57. /package/bin/windows-x64/licenses/{rustls-0.23.45 → rustls-0.23.46}/LICENSE-APACHE +0 -0
  58. /package/bin/windows-x64/licenses/{rustls-0.23.45 → rustls-0.23.46}/LICENSE-ISC +0 -0
  59. /package/bin/windows-x64/licenses/{rustls-0.23.45 → rustls-0.23.46}/LICENSE-MIT +0 -0
  60. /package/bin/windows-x64/licenses/{rustls-webpki-0.103.15 → rustls-webpki-0.103.16}/LICENSE +0 -0
  61. /package/bin/windows-x64/licenses/{zerocopy-0.8.52 → zerocopy-0.8.63}/LICENSE-APACHE +0 -0
  62. /package/bin/windows-x64/licenses/{zerocopy-0.8.52 → zerocopy-0.8.63}/LICENSE-BSD +0 -0
  63. /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 agent does not need to discover an automation or version:
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 automations list
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 conversations remain readable. Workflow Suggestion sessions remain
98
- available.
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 automation IDs:
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.