@peakflo/agent-harness 0.2.30-rc.1 → 0.2.30-rc.2
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.
|
@@ -1287,7 +1287,13 @@ class SessionRunner {
|
|
|
1287
1287
|
// There was no per-turn host-note mechanism in the harness. Keep the
|
|
1288
1288
|
// addition small: a workspace may supply one note, which is sent to the
|
|
1289
1289
|
// model but is not written into the durable user conversation.
|
|
1290
|
-
const turnNote =
|
|
1290
|
+
const turnNote = [
|
|
1291
|
+
this.deps.workspace.takeTurnNote?.(session.sessionId),
|
|
1292
|
+
// Server note for this turn (lease input). Not stored, not shown.
|
|
1293
|
+
session.input.hostNote
|
|
1294
|
+
]
|
|
1295
|
+
.filter(Boolean)
|
|
1296
|
+
.join('\n\n');
|
|
1291
1297
|
const promptWithHostNote = turnNote
|
|
1292
1298
|
? `${turnNote}\n\n${promptText}`
|
|
1293
1299
|
: promptText;
|
package/dist/types.d.ts
CHANGED
|
@@ -681,6 +681,11 @@ export interface LeasedTurnInput {
|
|
|
681
681
|
name: string;
|
|
682
682
|
reason: string;
|
|
683
683
|
}>;
|
|
684
|
+
/**
|
|
685
|
+
* A server-written note for THIS turn only. It is put before the person's
|
|
686
|
+
* text in the model prompt. It is not stored and not shown in the chat.
|
|
687
|
+
*/
|
|
688
|
+
hostNote?: string;
|
|
684
689
|
}
|
|
685
690
|
export interface LeasedAttachment {
|
|
686
691
|
name: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@peakflo/agent-harness",
|
|
3
|
-
"version": "0.2.30-rc.
|
|
3
|
+
"version": "0.2.30-rc.2",
|
|
4
4
|
"description": "Headless Peakflo coding-agent harness. One codebase, three hosting modes: a Daytona cloud sandbox, a customer VM, and the 20x desktop.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "commonjs",
|