@dmsdc-ai/aterm-darwin-arm64 0.1.87 → 0.1.88
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
|
|
@@ -356,11 +356,30 @@ case "${1:-help}" in
|
|
|
356
356
|
exit 0 ;;
|
|
357
357
|
esac
|
|
358
358
|
if [ -z "$ATERM_IPC_SOCKET" ]; then
|
|
359
|
+
_has_telepty() { command -v telepty >/dev/null 2>&1; }
|
|
360
|
+
_no_telepty_msg() {
|
|
361
|
+
if [ "$ATERM_UI_LANG" = "ko" ]; then
|
|
362
|
+
echo 'Error: telepty를 찾을 수 없습니다. 설치: npm i -g @dmsdc-ai/telepty' >&2
|
|
363
|
+
else
|
|
364
|
+
echo 'Error: telepty not found. Install: npm i -g @dmsdc-ai/telepty' >&2
|
|
365
|
+
fi
|
|
366
|
+
exit 1
|
|
367
|
+
}
|
|
368
|
+
_app_required_msg() {
|
|
369
|
+
if [ "$ATERM_UI_LANG" = "ko" ]; then
|
|
370
|
+
echo "Error: 이 명령은 aterm 앱이 필요합니다. aterm.app을 먼저 실행하세요." >&2
|
|
371
|
+
else
|
|
372
|
+
echo "Error: This command requires aterm app. Run aterm.app first." >&2
|
|
373
|
+
fi
|
|
374
|
+
exit 1
|
|
375
|
+
}
|
|
359
376
|
case "${1:-help}" in
|
|
360
377
|
inject)
|
|
378
|
+
_has_telepty || _no_telepty_msg
|
|
361
379
|
shift
|
|
362
380
|
exec telepty inject "$@" ;;
|
|
363
381
|
list)
|
|
382
|
+
_has_telepty || _no_telepty_msg
|
|
364
383
|
shift
|
|
365
384
|
exec telepty list "$@" ;;
|
|
366
385
|
status)
|
|
@@ -368,13 +387,13 @@ if [ -z "$ATERM_IPC_SOCKET" ]; then
|
|
|
368
387
|
print_ecosystem_status
|
|
369
388
|
exit 0
|
|
370
389
|
fi
|
|
390
|
+
_has_telepty || _no_telepty_msg
|
|
371
391
|
shift
|
|
372
392
|
exec telepty status "$@" ;;
|
|
373
393
|
tasks|lessons|settings|theme)
|
|
374
394
|
;; # file-based commands — no IPC needed, fall through
|
|
375
395
|
*)
|
|
376
|
-
|
|
377
|
-
exit 1 ;;
|
|
396
|
+
_app_required_msg ;;
|
|
378
397
|
esac
|
|
379
398
|
fi
|
|
380
399
|
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<dict>
|
|
7
7
|
<key>Resources/bin/aterm</key>
|
|
8
8
|
<data>
|
|
9
|
-
|
|
9
|
+
tkXyEslS/RQHNKJDJkhZALvwFc8=
|
|
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
|
+
u+rtq3ATBeqKLPCXls2uIhjmIxc=
|
|
19
19
|
</data>
|
|
20
20
|
<key>requirement</key>
|
|
21
|
-
<string>cdhash H"
|
|
21
|
+
<string>cdhash H"bbeaedab701305ea8a2cf09796cdae2218e62317"</string>
|
|
22
22
|
</dict>
|
|
23
23
|
<key>Resources/bin/aterm</key>
|
|
24
24
|
<dict>
|
|
25
25
|
<key>hash2</key>
|
|
26
26
|
<data>
|
|
27
|
-
|
|
27
|
+
Fo8sx9+iNacUx3vJXf6UxUxljiMK9hmd9wH3ykUdI/U=
|
|
28
28
|
</data>
|
|
29
29
|
</dict>
|
|
30
30
|
</dict>
|