@agora-build/atem 0.6.12 → 0.6.15

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 (2) hide show
  1. package/README.md +40 -6
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -36,7 +36,7 @@ atem login # Log in with Agora Console (opens brows
36
36
  atem logout # Log out from SSO
37
37
  atem pair # Pair with Astation, then verify this device
38
38
  atem pair --save # Same, and keep credentials for offline use
39
- atem unpair # Remove all Astation pairings
39
+ atem unpair [--yes] # Remove all Astation pairings (asks first)
40
40
  ```
41
41
 
42
42
  `atem login` unlocks a limited set: project list, tokens for the active
@@ -49,7 +49,10 @@ tasks and diagrams. `serv files`, `config`, and tokens from
49
49
  `atem pair` receives your Agora login from Astation, then verifies the device:
50
50
  atem and your Mac each show a 12-character safety code. If they match, type
51
51
  `y` here; on the Mac click **Codes Match**, then approve with Touch ID.
52
- Either side can finish first. A connected or SSO-paired session alone does not
52
+ Either side can finish first. atem reads that `y` from the terminal itself,
53
+ never from piped input or keys typed earlier, so run `atem pair` in an
54
+ interactive terminal. If verification fails, the pairing stays saved, Astation
55
+ is told, and `atem pair` exits nonzero; run it again to verify. A connected or SSO-paired session alone does not
53
56
  mean the device is verified; check `atem cred status`. With `--save`
54
57
  the credentials keep working when Astation disconnects; without it they stop
55
58
  5 minutes after the disconnect (atem asks when `--save` isn't given).
@@ -101,6 +104,9 @@ atem token rtm create --rtm-user-id bob --expire 3600
101
104
  atem token rtm decode <token> # Decode existing Signaling (RTM) token
102
105
  ```
103
106
 
107
+ The token code is also a Rust library, `atem-core`, in the
108
+ [GitHub repository](https://github.com/Agora-Build/Atem/tree/main/crates/atem-core). The npm package installs the CLI only.
109
+
104
110
  ### Projects
105
111
 
106
112
  ```bash
@@ -157,7 +163,7 @@ atem memory search "valkey" # Local full-text search (offli
157
163
  atem memory replace <id> "the fact as it is now" # New fact replaces the old one (history kept)
158
164
  atem memory invalidate <id> # Mark outdated without a replacement
159
165
  atem memory rm <id> # Remove everywhere
160
- atem memory purge <id> # Remove a fact that contained a credential, stop re-harvesting it
166
+ atem memory purge <id> [--yes] # Remove a fact that contained a credential, stop re-harvesting it (asks first)
161
167
  atem memory apply # Rewrite the managed blocks and skills from the local store
162
168
  atem memory status # Account, machine, project, pending changes
163
169
 
@@ -166,7 +172,7 @@ atem skill list
166
172
  atem skill rm <name> # Remove everywhere
167
173
  atem skill history <name> # Every version, newest first
168
174
  atem skill restore <name> --version 3 # Re-push an old version as a new one
169
- atem skill purge <name> --version 3 # Erase versions that contained a credential (or --all-versions)
175
+ atem skill purge <name> --version 3 [--yes] # Erase versions that contained a credential (or --all-versions; asks first)
170
176
  ```
171
177
 
172
178
  Listings show short ids like `8245ecf6…e6fe` (first 8 + last 4 characters).
@@ -258,14 +264,42 @@ done
258
264
 
259
265
  ```bash
260
266
  atem agent list # Scan and list detected AI agents
261
- atem agent launch # Launch Claude Code as PTY agent
262
- atem agent launch codex # Launch Codex as PTY agent
267
+ atem agent launch # Open the original Claude Code CLI in an Atem terminal
268
+ atem agent launch codex # Open the original Codex CLI in an Atem terminal
269
+ atem agent launch claude --continue # Arguments after the agent type go to that CLI: continue the last Claude session
270
+ atem agent launch codex resume --last # Continue the last Codex session
271
+ atem agent launch claude -- --help # Use -- to read the agent's own help
263
272
  atem agent connect <WS_URL> # Connect to ACP agent and show info
264
273
  atem agent prompt <WS_URL> "text" # Send prompt to ACP agent
265
274
  atem agent probe <WS_URL> # Probe URL for ACP support
266
275
  atem agent visualize "topic" # Generate visual HTML diagram via ACP agent
267
276
  ```
268
277
 
278
+ `atem agent launch [claude|claude-code|codex] [ARGS]...` runs the installed
279
+ `claude` or `codex` CLI, unchanged, in a full-screen Atem terminal. It uses
280
+ your working directory and your own login for that CLI. Nothing here replaces
281
+ the CLI with an API conversation. It works without Astation. If you are
282
+ paired, Astation can view the same session and take control of it (one
283
+ viewer per session; while Astation holds control, local typing is refused until you press
284
+ the prefix, then `g`). Quitting Atem ends the session.
285
+
286
+ Atem's own keys start with a prefix, Ctrl+] by default. Press it, then:
287
+
288
+ | Key | Action |
289
+ |-----|--------|
290
+ | `h` | Hide the terminal; the agent keeps running |
291
+ | `g` | Take control back locally |
292
+ | `x` | Stop the agent |
293
+ | `r` | Redraw the screen |
294
+ | `[` | Browse local history (arrows, Space to select, Enter to copy, Esc to return) |
295
+ | `c` | Copy the visible text (tmux buffer inside tmux, otherwise OSC 52) |
296
+ | `?` | Help and recent notices |
297
+
298
+ Press the prefix twice to send it to the agent. Set `ATEM_TERMINAL_PREFIX`
299
+ (for example `Ctrl-a`) to change it. The `CLAUDE_CLI_BIN`/`CLAUDE_CLI_ARGS`
300
+ and `CODEX_CLI_BIN`/`CODEX_CLI_ARGS` variables still override the command.
301
+ See [`designs/terminal-v1-implementation.md`](https://github.com/Agora-Build/Atem/blob/main/designs/terminal-v1-implementation.md).
302
+
269
303
  ## TUI Modes
270
304
 
271
305
  | Mode | Description |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agora-build/atem",
3
- "version": "0.6.12",
3
+ "version": "0.6.15",
4
4
  "description": "A terminal that connects people, Agora platform, and AI agents.",
5
5
  "bin": {
6
6
  "atem": "bin/atem"