Skip to content

Local-first AI coding agent desktop: Electron + Rust host core + pi Agent Harness + user-installable plugins

Merge remote-tracking branch 'origin/main' into fix/custom-system-prompt

Gargantuaa6d81ddd5089
diff --cc packages/agent-runtime/src/runtime.ts
index 425d2cbb1,572831bf8..d9cc52b7a
--- a/packages/agent-runtime/src/runtime.ts
+++ b/packages/agent-runtime/src/runtime.ts
@@@ -847,12 -838,8 +839,10 @@@ export type AgentRuntimeOptions =
/** Durable host turn ID for the current prompt, used by plan identity. */
turnId?: string;
provider: RuntimeProviderConfig;
- thinkingLevel: ThinkingLevel;
- /** Attach vendor hosted-search tools for this session when the wire API allows. */
- nativeWebSearch?: boolean;
+ thinkingLevel: SessionThinkingLevel;
systemPrompt?: string;
+ /** pi-compatible SYSTEM.md / APPEND_SYSTEM.md resolved for the session (issue #542). */
+ customSystemPrompt?: CustomSystemPrompt;
/** Session-bound workspace root used for path-scoped instruction requests. */
projectPath?: string;
/** Instructions resolved from the session's workspace. */