@pi-unipi/unipi 2.8.0 → 2.8.1

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pi-unipi/unipi",
3
- "version": "2.8.0",
3
+ "version": "2.8.1",
4
4
  "description": "All-in-one extension suite for Pi coding agent",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -83,7 +83,7 @@
83
83
  },
84
84
  "dependencies": {
85
85
  "@pi-unipi/ask-user": "2.6.1",
86
- "@pi-unipi/background-tasks": "2.6.1",
86
+ "@pi-unipi/background-tasks": "2.6.3",
87
87
  "@pi-unipi/btw": "2.6.1",
88
88
  "@pi-unipi/command-enchantment": "2.6.1",
89
89
  "@pi-unipi/compactor": "2.6.1",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pi-unipi/background-tasks",
3
- "version": "2.6.1",
3
+ "version": "2.6.3",
4
4
  "description": "Background tasks for UniPi \u2014 durable shell jobs, delegated agents, attested Pi runs, and fixed-purpose Fusion workflows",
5
5
  "type": "module",
6
6
  "main": "src/index.ts",
@@ -330,7 +330,9 @@ export function registerToolsAndCommands(options: RegisterSurfaceOptions): void
330
330
  "Use bg_run instead of bash for commands expected to run for a long time, such as test suites, dev servers, watchers, or builds.",
331
331
  "Set isAgent:true only when the background task launches an LLM/agent process; false for scripts, tests, dev servers, sleeps.",
332
332
  "Always set name to a concise 2-6 word human-readable label; do not use the raw command as the name.",
333
- "After a default bg_run launch, continue only independent useful work; otherwise end the turn and wait for <background-task-notification>.",
333
+ "bg_run returns immediately. With notifyOnCompletion:true and triggerOnCompletion:true (both defaults), completed, failed, or killed terminal state is delivered as <background-task-notification> and automatically starts a follow-up agent turn.",
334
+ "After a default bg_run launch, continue only independent useful work that does not merely wait for the task; otherwise briefly acknowledge it if useful, then end the current turn. Do not call sleep, bg_status, or bg_logs merely to wait; the terminal notification will wake you.",
335
+ "A running result is not an instruction to poll again.",
334
336
  "Treat <background-task-notification> as durable terminal truth. Do not call bg_status to reconfirm it.",
335
337
  "Do not set notifyOnCompletion:false or triggerOnCompletion:false unless intentionally opting out.",
336
338
  ],
@@ -22747,7 +22747,9 @@ ${theme.fg("error", task.error)}` : "";
22747
22747
  "Use bg_run instead of bash for commands expected to run for a long time, such as test suites, dev servers, watchers, or builds.",
22748
22748
  "Set isAgent:true only when the background task launches an LLM/agent process; false for scripts, tests, dev servers, sleeps.",
22749
22749
  "Always set name to a concise 2-6 word human-readable label; do not use the raw command as the name.",
22750
- "After a default bg_run launch, continue only independent useful work; otherwise end the turn and wait for <background-task-notification>.",
22750
+ "bg_run returns immediately. With notifyOnCompletion:true and triggerOnCompletion:true (both defaults), completed, failed, or killed terminal state is delivered as <background-task-notification> and automatically starts a follow-up agent turn.",
22751
+ "After a default bg_run launch, continue only independent useful work that does not merely wait for the task; otherwise briefly acknowledge it if useful, then end the current turn. Do not call sleep, bg_status, or bg_logs merely to wait; the terminal notification will wake you.",
22752
+ "A running result is not an instruction to poll again.",
22751
22753
  "Treat <background-task-notification> as durable terminal truth. Do not call bg_status to reconfirm it.",
22752
22754
  "Do not set notifyOnCompletion:false or triggerOnCompletion:false unless intentionally opting out."
22753
22755
  ],