@turmind/halo 1.6.4 → 1.6.5

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.
Files changed (29) hide show
  1. package/README.md +17 -9
  2. package/admin-out/404.html +1 -1
  3. package/admin-out/_next/static/chunks/87-6a2716c98a819c4e.js +1 -0
  4. package/admin-out/_next/static/chunks/989-066a874961bd519f.js +1 -0
  5. package/admin-out/_next/static/chunks/app/page-812bcbb46db628b6.js +1 -0
  6. package/admin-out/_next/static/css/e890aa0d13e94290.css +1 -0
  7. package/admin-out/index.html +1 -1
  8. package/admin-out/index.txt +5 -5
  9. package/bundled-docs/design/canvas-extensions.md +38 -7
  10. package/bundled-docs/design/cron.md +12 -4
  11. package/bundled-docs/design/halo-city.md +14 -149
  12. package/bundled-docs/design/storage.md +6 -2
  13. package/bundled-docs/design/stt-local.md +106 -0
  14. package/bundled-docs/design/web.md +1 -1
  15. package/bundled-docs/dev/api.md +11 -8
  16. package/bundled-docs/dev/desktop-packaging.md +37 -9
  17. package/bundled-docs/dev/env.md +1 -1
  18. package/bundled-docs/requirements/chat.md +8 -0
  19. package/bundled-docs/requirements/workspace.md +4 -0
  20. package/dist/index.js +1342 -538
  21. package/package.json +2 -1
  22. package/templates/skills/cron/SKILL.md +2 -1
  23. package/templates/skills/cron/manage-cron.py +2 -1
  24. package/admin-out/_next/static/chunks/147-d4200c70445aabb6.js +0 -1
  25. package/admin-out/_next/static/chunks/989-5d7743ff56d00dd7.js +0 -1
  26. package/admin-out/_next/static/chunks/app/page-8881b4f87a3d5ae8.js +0 -1
  27. package/admin-out/_next/static/css/3b4dcd0ac6b8eae8.css +0 -1
  28. /package/admin-out/_next/static/{kfp1cMc36J6hjZ06L9mm- → 8v1hCXbUqJhyMuK7LVeet}/_buildManifest.js +0 -0
  29. /package/admin-out/_next/static/{kfp1cMc36J6hjZ06L9mm- → 8v1hCXbUqJhyMuK7LVeet}/_ssgManifest.js +0 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@turmind/halo",
3
- "version": "1.6.4",
3
+ "version": "1.6.5",
4
4
  "description": "Halo — multi-agent collaborative workspace. CLI + TUI + HTTP/WS server in one package.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -55,6 +55,7 @@
55
55
  "qrcode": "^1.5.4",
56
56
  "react": "^19.2.5",
57
57
  "react-dom": "^19.2.5",
58
+ "sherpa-onnx-node": "1.13.8",
58
59
  "simple-git": "^3.27.0",
59
60
  "ws": "^8.21.3",
60
61
  "yaml": "^2.8.3",
@@ -128,7 +128,8 @@ tasks that don't need memory ("每天抓一次行情发给我", a fixed report).
128
128
  Excludes `--session`. On `update`: `--stateless on` / `--stateless off`
129
129
  (clear `--session ""` first if one is set). Only the newest 10 runs are kept;
130
130
  an older run's session is deleted with it (unless someone continued chatting
131
- in it). Deleting the job deletes them too. `get` / `list` show
131
+ in it). After `delete`, the server clears the job's run history and these
132
+ sessions within about 10 seconds (a continued session stays). `get` / `list` show
132
133
  `effective_session_id: null` for a stateless job.
133
134
 
134
135
  **Folder (`--dir`, optional)** — the run focuses on a workspace sub-folder:
@@ -551,11 +551,12 @@ def _toggle_enabled(job_id: str, on: bool):
551
551
 
552
552
 
553
553
  def cmd_delete(args):
554
+ # Job row only: the server's reconcile pass deletes the job's cron_runs
555
+ # rows, and with them each stateless run's session (runner.ts deleteOrphanRuns).
554
556
  conn = open_db()
555
557
  cur = conn.execute('DELETE FROM cron_jobs WHERE id = ?', (args.id,))
556
558
  if cur.rowcount == 0:
557
559
  die(f'job {args.id} not found', 2)
558
- conn.execute('DELETE FROM cron_runs WHERE job_id = ?', (args.id,))
559
560
  conn.commit()
560
561
  print(json.dumps({'id': args.id, 'deleted': True}, ensure_ascii=False))
561
562