fix(coding-agent/session): resolved local:// files for streaming edit cache operations
- Added a shared session path resolver that maps local:// URLs through local-protocol options, skips other internal schemes, and returns an absolute filesystem path for real files. - Updated streaming-edit pre-cache and post-edit cache invalidation to use the shared resolver, preventing internal-scheme assertions while keeping filesystem-based flow for local plan files. - Extended streaming-edit tests to confirm local:// plan edits complete without panicking and that auto-generated checks receive resolved absolute paths.
This commit is contained in:
@@ -15,8 +15,8 @@ import {
|
||||
} from "@oh-my-pi/pi-ai";
|
||||
import type { Component, SlashCommand } from "@oh-my-pi/pi-tui";
|
||||
import {
|
||||
clearRenderCache,
|
||||
Container,
|
||||
clearRenderCache,
|
||||
Loader,
|
||||
Markdown,
|
||||
ProcessTerminal,
|
||||
|
||||
Reference in New Issue
Block a user