@agora-build/atem 0.2.0 → 0.2.1
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 +96 -0
- package/package.json +3 -2
package/README.md
ADDED
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
# @agora-build/atem
|
|
2
|
+
|
|
3
|
+
Agora AI development terminal. A TUI that connects to [Astation](https://github.com/Agora-Build/Astation) for task routing, runs [Claude Code](https://docs.anthropic.com/en/docs/claude-code) sessions, and generates Agora RTC/RTM tokens.
|
|
4
|
+
|
|
5
|
+
## Install
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
npm install -g @agora-build/atem
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
This downloads a prebuilt binary for your platform (linux-x64, linux-arm64, darwin-x64, darwin-arm64).
|
|
12
|
+
|
|
13
|
+
## Usage
|
|
14
|
+
|
|
15
|
+
```bash
|
|
16
|
+
atem # Launch TUI
|
|
17
|
+
atem token rtc create # Generate RTC token
|
|
18
|
+
atem token rtc decode <token> # Decode existing token
|
|
19
|
+
atem list project # List Agora projects
|
|
20
|
+
atem config show # Show current config
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
## Modes
|
|
24
|
+
|
|
25
|
+
| Mode | Description |
|
|
26
|
+
|------|-------------|
|
|
27
|
+
| **Main Menu** | Navigate between features |
|
|
28
|
+
| **Claude Chat** | Claude Code CLI integration via PTY |
|
|
29
|
+
| **Codex Chat** | Codex terminal integration via PTY |
|
|
30
|
+
| **Token Gen** | Generate Agora RTC/RTM tokens locally |
|
|
31
|
+
| **Projects** | Browse Agora projects via API |
|
|
32
|
+
|
|
33
|
+
## Astation Pairing
|
|
34
|
+
|
|
35
|
+
Atem registers with the Station relay service on startup and prints a pairing code:
|
|
36
|
+
|
|
37
|
+
```
|
|
38
|
+
Pairing code: ABCD-EFGH
|
|
39
|
+
Open: https://station.agora.build/pair?code=ABCD-EFGH
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
Enter the code in Astation's Dev Console to pair. If a local Astation is running on `ws://127.0.0.1:8080/ws`, Atem connects directly instead.
|
|
43
|
+
|
|
44
|
+
Override the relay URL:
|
|
45
|
+
|
|
46
|
+
```bash
|
|
47
|
+
AGORA_STATION_URL=https://my-relay.example.com atem
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
## Configuration
|
|
51
|
+
|
|
52
|
+
Create `~/.config/atem/atem.toml`:
|
|
53
|
+
|
|
54
|
+
```toml
|
|
55
|
+
astation_url = "ws://127.0.0.1:8080/ws"
|
|
56
|
+
station_url = "https://station.agora.build"
|
|
57
|
+
|
|
58
|
+
[agora]
|
|
59
|
+
app_id = "your_app_id"
|
|
60
|
+
app_certificate = "your_app_certificate"
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
Or use environment variables:
|
|
64
|
+
|
|
65
|
+
```bash
|
|
66
|
+
AGORA_CUSTOMER_ID=...
|
|
67
|
+
AGORA_CUSTOMER_SECRET=...
|
|
68
|
+
AGORA_STATION_URL=...
|
|
69
|
+
ANTHROPIC_API_KEY=...
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
## Supported Platforms
|
|
73
|
+
|
|
74
|
+
| Platform | Architecture |
|
|
75
|
+
|----------|-------------|
|
|
76
|
+
| Linux | x64, arm64 |
|
|
77
|
+
| macOS | x64, arm64 |
|
|
78
|
+
|
|
79
|
+
## Build from Source
|
|
80
|
+
|
|
81
|
+
```bash
|
|
82
|
+
git clone https://github.com/Agora-Build/Atem.git
|
|
83
|
+
cd Atem
|
|
84
|
+
cargo build --release
|
|
85
|
+
# Binary at target/release/atem
|
|
86
|
+
```
|
|
87
|
+
|
|
88
|
+
## Related Projects
|
|
89
|
+
|
|
90
|
+
- [Astation](https://github.com/Agora-Build/Astation) -- macOS menubar hub for task routing + relay service
|
|
91
|
+
- [Chisel](https://github.com/Agora-Build/chisel) -- Dev panel for visual annotation and CSS editing
|
|
92
|
+
- [Vox](https://github.com/Agora-Build/Vox) -- AI latency evaluation platform
|
|
93
|
+
|
|
94
|
+
## License
|
|
95
|
+
|
|
96
|
+
MIT
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agora-build/atem",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.1",
|
|
4
4
|
"description": "Agora AI development terminal — TUI for managing projects, Claude Code, and eval agents",
|
|
5
5
|
"bin": {
|
|
6
6
|
"atem": "bin/atem"
|
|
@@ -10,7 +10,8 @@
|
|
|
10
10
|
},
|
|
11
11
|
"files": [
|
|
12
12
|
"bin/",
|
|
13
|
-
"install.js"
|
|
13
|
+
"install.js",
|
|
14
|
+
"README.md"
|
|
14
15
|
],
|
|
15
16
|
"repository": {
|
|
16
17
|
"type": "git",
|