@dmsdc-ai/aterm-darwin-arm64 0.1.71 → 0.1.73
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
|
|
Binary file
|
|
@@ -277,6 +277,7 @@ payloads = {
|
|
|
277
277
|
"lines": int(args[1]) if len(args) > 1 else 100},
|
|
278
278
|
"attach-external": lambda: {"action": "AttachExternal", "session_id": args[0]},
|
|
279
279
|
"send-key": lambda: {"action": "SendKey", "workspace": args[0], "key": args[1]},
|
|
280
|
+
"change-cli": lambda: {"action": "ChangeWorkspaceCLI", "workspace": args[0], "cli": args[1]},
|
|
280
281
|
}
|
|
281
282
|
|
|
282
283
|
payload = json.dumps(payloads[action]()) + "\n"
|
|
@@ -1150,6 +1151,10 @@ print(json.dumps({"status": "ok", "file": os.path.abspath(filename)}))
|
|
|
1150
1151
|
[ -z "$ATERM_IPC_SOCKET" ] && { echo '{"error":"send-key requires aterm (ATERM_IPC_SOCKET not set)"}' >&2; exit 1; }
|
|
1151
1152
|
[ "$#" -lt 3 ] && { echo '{"error":"usage: aterm send-key <workspace> <key>"}' >&2; exit 1; }
|
|
1152
1153
|
aterm_ipc send-key "$2" "$3" ;;
|
|
1154
|
+
cli)
|
|
1155
|
+
[ -z "$ATERM_IPC_SOCKET" ] && { echo '{"error":"cli requires aterm (ATERM_IPC_SOCKET not set)"}' >&2; exit 1; }
|
|
1156
|
+
[ "$#" -lt 3 ] && { echo '{"error":"usage: aterm cli <workspace> <new-cli>"}' >&2; exit 1; }
|
|
1157
|
+
aterm_ipc change-cli "$2" "$3" ;;
|
|
1153
1158
|
subscribe)
|
|
1154
1159
|
[ -z "$ATERM_IPC_SOCKET" ] && { echo '{"error":"subscribe requires aterm (ATERM_IPC_SOCKET not set)"}' >&2; exit 1; }
|
|
1155
1160
|
# Parse --events flag
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<dict>
|
|
7
7
|
<key>Resources/bin/aterm</key>
|
|
8
8
|
<data>
|
|
9
|
-
|
|
9
|
+
XBdEiAtCQ83AG0Z+Jc5FD7qRejA=
|
|
10
10
|
</data>
|
|
11
11
|
</dict>
|
|
12
12
|
<key>files2</key>
|
|
@@ -15,16 +15,16 @@
|
|
|
15
15
|
<dict>
|
|
16
16
|
<key>cdhash</key>
|
|
17
17
|
<data>
|
|
18
|
-
|
|
18
|
+
gFxPRhcqfdLu9/qEZd4HF7TnC+U=
|
|
19
19
|
</data>
|
|
20
20
|
<key>requirement</key>
|
|
21
|
-
<string>cdhash H"
|
|
21
|
+
<string>cdhash H"805c4f46172a7dd2eef7fa8465de0717b4e70be5"</string>
|
|
22
22
|
</dict>
|
|
23
23
|
<key>Resources/bin/aterm</key>
|
|
24
24
|
<dict>
|
|
25
25
|
<key>hash2</key>
|
|
26
26
|
<data>
|
|
27
|
-
|
|
27
|
+
qHjE9m4qB8rYTf+41F0PEOZVPEdlhr3ZRHuJw0NyD7g=
|
|
28
28
|
</data>
|
|
29
29
|
</dict>
|
|
30
30
|
</dict>
|