@action-intelligence/cli 0.3.3 → 0.3.4

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 CHANGED
@@ -15,6 +15,10 @@ action context list
15
15
  action context use <space-id-or-key>
16
16
  ```
17
17
 
18
+ `action context list` shows the spaces you belong to. An organization admin also sees the team
19
+ spaces they have not joined, marked `not joined`: the first command run against one adds them as its
20
+ Admin, as opening it in the web app does. Machine credentials never join a space.
21
+
18
22
  Login selects an organization. Use `--organization <id-or-key>` to choose explicitly. Named profiles
19
23
  keep separate organization and space selections:
20
24
 
@@ -59,8 +63,9 @@ Messages also accept `--input-file <path|->`; use `--` before literal option-lik
59
63
 
60
64
  Failed submissions and waits retain session/message IDs. Resume with `sessions wait <session-id>
61
65
  <client-message-id>` without resending, or reuse `--client-message-id` when retrying a submission.
62
- `--page-all` reads older history. `cases reopen` restores an open status; `cases unarchive` preserves
63
- status. A partially completed reopen reports its acknowledged writes and recovery details.
66
+ `--page-all` reads older history. `cases reopen` moves a closed or canceled case to its type's initial
67
+ open stage, unarchiving it first; `cases unarchive` keeps the stage. A partially completed reopen
68
+ reports its acknowledged writes and recovery details.
64
69
 
65
70
  ## Discover and call resources
66
71
 
@@ -80,7 +85,6 @@ action directory search-groups --json '{"query":"Engineering"}'
80
85
  action cases search --json '{"question":"VPN connection failures"}'
81
86
  action cases read-context --params '{"caseIdOrIdentifier":"CASE-1","sessionLimit":20}'
82
87
  action sessions read-transcript --params '{"sessionId":"<id>","afterSeq":0,"limit":50}'
83
- action requests intake --json '{"initialMessage":{"clientMessageId":"request-1","content":"I need VPN access","mode":"prompt"}}' --yes
84
88
  action requests escalate --params '{"sourceThreadId":"<request-session-id>"}' --json '{"reason":"Need a person"}' --yes
85
89
  ```
86
90
 
@@ -89,9 +93,9 @@ automatically; `--space-id <id>` selects it explicitly for one operation. `--pro
89
93
  and `--space` provide connection/context overrides. Human credentials cannot be sent to a different
90
94
  API origin without signing in there; explicit machine credentials can target an alternate API.
91
95
 
92
- Directory search and request intake use signed-in user credentials. Case transcript reads require
93
- both `sessions:read` and `cases:read`; escalation requires `cases:write`. Intake follows the same
94
- routing as the in-product help desk, and escalation uses the same assignment and muting settings.
96
+ Directory search and Catalog requests use signed-in user credentials. Case transcript reads require
97
+ both `sessions:read` and `cases:read`; escalation requires `cases:write`. A Catalog request runs the
98
+ same checks as the in-product Catalog, and escalation uses the same assignment and muting settings.
95
99
 
96
100
  The legacy Case, Automation, Form, Skill, and Workflow Builder sessions are retired. Use Copilot
97
101
  for authoring; existing Builder and Workflow Suggestion conversations remain readable.
@@ -232,24 +236,24 @@ The launcher validates generated requests against their source schemas before au
232
236
  Command `--schema` includes the authoritative request-body schema and preserves constraints such
233
237
  as required fields, enums, minimum array sizes, and forbidden properties.
234
238
 
235
- ### Helpdesk requests
239
+ ### Catalog requests
236
240
 
237
- The agent can open a request by space name without looking up agent IDs:
241
+ The agent can open a request with an agent or access role listed in the member's Catalog:
238
242
 
239
243
  ```sh
240
- action requests destinations
241
- action requests start --to IT "My laptop is broken"
244
+ action requests start --agent <agent-id> "My laptop is broken"
245
+ action requests start --role <role-id> "I need GitHub access"
242
246
  action requests reply <session-id> "The power light is off"
243
247
  action requests get <session-id>
244
248
  action cases reply IT-42 "Your replacement is ready"
245
249
  ```
246
250
 
247
- `requests start` resolves an exact space name, slug, or ID and waits for the initial helpdesk reply.
248
- Unknown or ambiguous destinations fail before creating anything. `requests get` includes linked
249
- cases and their identifiers, using the request's selected space even when the current context differs.
251
+ `requests start` takes exactly one of `--agent` or `--role` and waits for the initial reply. An
252
+ item that is not in the member's Catalog fails before anything is created. `requests get` includes
253
+ linked cases and their identifiers, using the request's selected space even when the current context differs.
250
254
 
251
255
  `requests reply` and `cases reply` confirm message delivery by default. Action's normal smart-reply,
252
- participation, and pause policies determine whether the helpdesk agent responds. Use `--wait` when
256
+ participation, and pause policies determine whether the agent responds. Use `--wait` when
253
257
  an agent reply is expected; it does not force a response or unmute the agent. `sessions reply`
254
258
  continues to wait by default. Messages can also come from `--input-file` or stdin, and receipts
255
259
  retain session/message IDs for recovery. The longer generated commands remain available.