@parall/agent-core 1.27.0 → 1.28.0
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/event-format.js +1 -1
- package/package.json +2 -2
- package/src/event-format.ts +1 -1
package/dist/event-format.js
CHANGED
|
@@ -69,7 +69,7 @@ export function buildForkScopePrefix(event) {
|
|
|
69
69
|
const targetLabel = event.targetName
|
|
70
70
|
? `"${event.targetName}" (prll://${event.targetId})`
|
|
71
71
|
: `prll://${event.targetId}`;
|
|
72
|
-
return `[Fork scope: You are a parallel worker
|
|
72
|
+
return `[Fork scope: You are a parallel worker forked from the main session to handle ${targetLabel}. The conversation history above belongs to the main session's in-progress dispatch — do NOT continue it or complete it, or produce external output (comments, messages) for work visible there. The main session owns its own output.\n\nOnly act on the event below within your target scope. If your event reveals findings about the main session's work, report them in your summary — do not post them externally.\n\nEnd with a brief "Fork summary" of actions taken and decisions made.]\n\n`;
|
|
73
73
|
}
|
|
74
74
|
export function buildForkResultPrefix(results) {
|
|
75
75
|
if (!results.length)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@parall/agent-core",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.28.0",
|
|
4
4
|
"description": "Shared agent runtime orchestration helpers for Parall",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"src"
|
|
27
27
|
],
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@parall/sdk": "1.
|
|
29
|
+
"@parall/sdk": "1.28.0"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
32
|
"@types/node": "^22.0.0",
|
package/src/event-format.ts
CHANGED
|
@@ -64,7 +64,7 @@ export function buildForkScopePrefix(event: ParallEvent): string {
|
|
|
64
64
|
const targetLabel = event.targetName
|
|
65
65
|
? `"${event.targetName}" (prll://${event.targetId})`
|
|
66
66
|
: `prll://${event.targetId}`;
|
|
67
|
-
return `[Fork scope: You are a parallel worker
|
|
67
|
+
return `[Fork scope: You are a parallel worker forked from the main session to handle ${targetLabel}. The conversation history above belongs to the main session's in-progress dispatch — do NOT continue it or complete it, or produce external output (comments, messages) for work visible there. The main session owns its own output.\n\nOnly act on the event below within your target scope. If your event reveals findings about the main session's work, report them in your summary — do not post them externally.\n\nEnd with a brief "Fork summary" of actions taken and decisions made.]\n\n`;
|
|
68
68
|
}
|
|
69
69
|
|
|
70
70
|
export function buildForkResultPrefix(results: ForkResult[]): string {
|