@dmsdc-ai/aterm-darwin-arm64 0.1.42 → 0.1.43
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.
|
Binary file
|
|
@@ -77,9 +77,9 @@ try:
|
|
|
77
77
|
name = s.get("name") or os.path.basename(s.get("cwd", "")) or s.get("id", "?")
|
|
78
78
|
cli = s.get("cli", "")
|
|
79
79
|
cwd = s.get("cwd", "")
|
|
80
|
-
|
|
81
|
-
rows.append((name, cli, cwd,
|
|
82
|
-
cols = ["NAME", "CLI", "CWD", "
|
|
80
|
+
terminal = s.get("terminal", "aterm")
|
|
81
|
+
rows.append((name, cli, cwd, terminal))
|
|
82
|
+
cols = ["NAME", "CLI", "CWD", "TERMINAL"]
|
|
83
83
|
widths = [max(len(c), *(len(r[i]) for r in rows)) for i, c in enumerate(cols)]
|
|
84
84
|
fmt = " ".join(f"{{:<{w}}}" for w in widths)
|
|
85
85
|
print(fmt.format(*cols))
|
|
@@ -208,7 +208,7 @@ print(json.dumps({"status":"ok","type": ltype}))
|
|
|
208
208
|
|
|
209
209
|
| Command | Description |
|
|
210
210
|
|---------|-------------|
|
|
211
|
-
| `aterm list` | List
|
|
211
|
+
| `aterm list` | List workspaces (NAME, CLI, CWD, TERMINAL) |
|
|
212
212
|
| `aterm inject <workspace> <text>` | Send text to a workspace |
|
|
213
213
|
| `aterm status <workspace>` | Check workspace status |
|
|
214
214
|
| `aterm focus <workspace>` | Focus a workspace tab |
|
|
@@ -240,6 +240,11 @@ print(json.dumps({"status":"ok","type": ltype}))
|
|
|
240
240
|
| 'list external sessions' / '외부 세션 목록' | `telepty list` |
|
|
241
241
|
| 'message deliberation session' | `telepty inject aigentry-deliberation-claude 'message'` |
|
|
242
242
|
|
|
243
|
+
## Session Detection Priority
|
|
244
|
+
1. `aterm list` — internal sessions (project names + terminal=aterm)
|
|
245
|
+
2. `telepty list` — external sessions (project names + terminal type)
|
|
246
|
+
3. NEVER use `ps aux | grep` as primary (no project names, no terminal info)
|
|
247
|
+
|
|
243
248
|
## Detection Rules
|
|
244
249
|
- `$ATERM_IPC_SOCKET` set → inside aterm. Use `aterm` commands.
|
|
245
250
|
- `$ATERM_IPC_SOCKET` unset → outside aterm. Use `telepty` commands.
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<dict>
|
|
7
7
|
<key>Resources/bin/aterm</key>
|
|
8
8
|
<data>
|
|
9
|
-
|
|
9
|
+
31T9cMdZ1Kvf/pt8VMMVvNoeP/k=
|
|
10
10
|
</data>
|
|
11
11
|
</dict>
|
|
12
12
|
<key>files2</key>
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
<dict>
|
|
25
25
|
<key>hash2</key>
|
|
26
26
|
<data>
|
|
27
|
-
|
|
27
|
+
mSWI2PyUfn/66Wdn1bep8WpRprwpfB+L0/up5xON/rQ=
|
|
28
28
|
</data>
|
|
29
29
|
</dict>
|
|
30
30
|
</dict>
|