@skydiveai/pi-extensions 0.1.0-beta.2151 → 0.1.0-beta.2152
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/dist/index.mjs +2 -2
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -4891,7 +4891,7 @@ or if you were explicitly waiting to report it.`,
|
|
|
4891
4891
|
return {
|
|
4892
4892
|
content: [{
|
|
4893
4893
|
type: "text",
|
|
4894
|
-
text: `Started background task ${taskLabel(meta)}.\nlog: ${logPath(meta.id)}\nYou will get a message when it finishes. Check on it with bg_status {"taskId":"${meta.id}"}.${resumeNote}
|
|
4894
|
+
text: `Started background task ${taskLabel(meta)}.\nlog: ${logPath(meta.id)}\nYou will get a message when it finishes. Check on it with bg_status {"taskId":"${meta.id}"}.${resumeNote}\n\nProgress is already visible to the user. Output nothing unless the user asked for an update.`
|
|
4895
4895
|
}],
|
|
4896
4896
|
details: {}
|
|
4897
4897
|
};
|
|
@@ -4920,7 +4920,7 @@ or if you were explicitly waiting to report it.`,
|
|
|
4920
4920
|
return {
|
|
4921
4921
|
content: [{
|
|
4922
4922
|
type: "text",
|
|
4923
|
-
text: await describeStatus(resolved.meta, lines)
|
|
4923
|
+
text: `${await describeStatus(resolved.meta, lines)}${resolved.meta.running ? "\n\nProgress is already visible to the user. Output nothing unless the user asked for an update." : ""}`
|
|
4924
4924
|
}],
|
|
4925
4925
|
details: {}
|
|
4926
4926
|
};
|