@dmsdc-ai/aterm-darwin-arm64 0.1.92 → 0.1.93

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
@@ -27,7 +27,7 @@ export ATERM_UI_LANG
27
27
 
28
28
  # State directory for task board and lessons
29
29
  STATE_DIR="${PWD}/state"
30
- SETTINGS_FILE="${HOME}/.aigentry/config/aterm.json"
30
+ SETTINGS_FILE="${ATERM_DATA_ROOT:-${HOME}/.aigentry}/config/aterm.json"
31
31
 
32
32
  tasks_file() { echo "${STATE_DIR}/task-queue.json"; }
33
33
  lessons_file() { echo "${STATE_DIR}/lessons.json"; }
@@ -555,7 +555,7 @@ if current_ws and workspace == current_ws and not force:
555
555
 
556
556
  # Read inject config
557
557
  inject_cfg = {}
558
- cfg_path = os.path.expanduser("~/.aigentry/config/aterm.json")
558
+ cfg_path = os.environ.get("ATERM_DATA_ROOT", os.path.expanduser("~/.aigentry")) + "/config/aterm.json"
559
559
  if os.path.isfile(cfg_path):
560
560
  try:
561
561
  with open(cfg_path) as f:
@@ -571,7 +571,7 @@ if from_sender and mandatory_report and not no_report:
571
571
 
572
572
  # Auto-ref for long messages
573
573
  if ref_flag or len(msg) > auto_ref_threshold:
574
- ref_dir = os.path.expanduser("~/.aigentry/refs")
574
+ ref_dir = os.environ.get("ATERM_DATA_ROOT", os.path.expanduser("~/.aigentry")) + "/refs"
575
575
  os.makedirs(ref_dir, exist_ok=True)
576
576
  h = hashlib.sha256(msg.encode()).hexdigest()
577
577
  ref_path = os.path.join(ref_dir, h + ".md")
@@ -1044,7 +1044,7 @@ main()
1044
1044
  [ "$#" -lt 3 ] && { echo '{"error":"usage: aterm settings get <key>"}' >&2; exit 1; }
1045
1045
  python3 -c '
1046
1046
  import json, sys, os
1047
- f = os.path.expanduser("~/.aigentry/config/aterm.json")
1047
+ f = os.environ.get("ATERM_DATA_ROOT", os.path.expanduser("~/.aigentry")) + "/config/aterm.json"
1048
1048
  if not os.path.isfile(f):
1049
1049
  print("null")
1050
1050
  sys.exit(0)
@@ -1068,7 +1068,7 @@ else:
1068
1068
  [ "$#" -lt 4 ] && { echo '{"error":"usage: aterm settings set <key> <value>"}' >&2; exit 1; }
1069
1069
  python3 -c '
1070
1070
  import json, sys, os
1071
- f = os.path.expanduser("~/.aigentry/config/aterm.json")
1071
+ f = os.environ.get("ATERM_DATA_ROOT", os.path.expanduser("~/.aigentry")) + "/config/aterm.json"
1072
1072
  os.makedirs(os.path.dirname(f), exist_ok=True)
1073
1073
  data = {}
1074
1074
  if os.path.isfile(f):
@@ -1099,7 +1099,7 @@ print(json.dumps({"status": "ok", "key": key, "value": val}))
1099
1099
  [ "$#" -lt 2 ] && { echo '{"error":"usage: aterm theme <name>"}' >&2; exit 1; }
1100
1100
  python3 -c '
1101
1101
  import json, sys, os
1102
- f = os.path.expanduser("~/.aigentry/config/aterm.json")
1102
+ f = os.environ.get("ATERM_DATA_ROOT", os.path.expanduser("~/.aigentry")) + "/config/aterm.json"
1103
1103
  os.makedirs(os.path.dirname(f), exist_ok=True)
1104
1104
  data = {}
1105
1105
  if os.path.isfile(f):
@@ -6,7 +6,7 @@
6
6
  <dict>
7
7
  <key>Resources/bin/aterm</key>
8
8
  <data>
9
- tkXyEslS/RQHNKJDJkhZALvwFc8=
9
+ IZBiv5oShrmYfdH/0NXFDXSmXFk=
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
- RNDLQzTuY31mBdNBEpmrXLdFcmk=
18
+ unN9XywsFo22cX7UHbjy+v3CBeA=
19
19
  </data>
20
20
  <key>requirement</key>
21
- <string>cdhash H"44d0cb4334ee637d6605d3411299ab5cb7457269"</string>
21
+ <string>cdhash H"ba737d5f2c2c168db6717ed41db8f2fafdc205e0"</string>
22
22
  </dict>
23
23
  <key>Resources/bin/aterm</key>
24
24
  <dict>
25
25
  <key>hash2</key>
26
26
  <data>
27
- Fo8sx9+iNacUx3vJXf6UxUxljiMK9hmd9wH3ykUdI/U=
27
+ 745JIYSJftF+iS63Mtf4HkVRAFTXTi4+kWGCuIFNEAw=
28
28
  </data>
29
29
  </dict>
30
30
  </dict>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dmsdc-ai/aterm-darwin-arm64",
3
- "version": "0.1.92",
3
+ "version": "0.1.93",
4
4
  "description": "darwin-arm64 native bundle for @dmsdc-ai/aterm",
5
5
  "type": "module",
6
6
  "files": [