sync: update from private repo (2336949a)
CI / build-and-test (push) Canceled after 0s

This commit is contained in:
oss-sync
2026-09-17 11:29:31 +00:00
parent 28f74c4e37
commit 57702b4f34
2139 changed files with 321270 additions and 17494 deletions
+6 -5
View File
@@ -26,7 +26,7 @@
* Plan: docs/superpowers/plans/2026-05-13-ssh-console.md (Phase 3).
*/
import type { ToolDef } from '../../llm/openai-compat.js';
import type { ToolContext, ToolResult } from './core.js';
import type { ToolContext, ToolResult } from './tool-context.js';
import { ConsoleSession } from '../../ssh/console-session.js';
import { checkConsoleInput } from '../../ssh/console-deny-check.js';
import { clearBuffer } from '../../ssh/crypto.js';
@@ -528,10 +528,11 @@ export function resolveTargetSession(
}
/**
* Screen-auto-inject lookup consumed by buildGlobalPreamble (prompt.ts) via
* __setActiveSessionLookup — shows the agent every one of its live console
* screens at the top of each movement's system prompt (one block per open
* connection). Returns ALL live sessions for the task, unfiltered; prompt.ts
* Screen-auto-inject lookup consumed by buildDynamicContextBlock (prompt.ts)
* via __setActiveSessionLookup — shows the agent every one of its live console
* screens in the job's trailing「現在のコンテキスト」user block (one block per
* open connection; moved out of the system prompt for KV-cache stability,
* PR #935). Returns ALL live sessions for the task, unfiltered; prompt.ts
* is responsible for scoping the result down to the current movement's
* `allowedSshConnections` (Task 5) — this function must not do that
* filtering itself, since it has no visibility into which movement is