Skip to content

acp: IDE-proxied file system operations #767

@bug-ops

Description

@bug-ops

Parent: #762

Task

Instead of direct FS access, proxy file reads/writes through the IDE client using ACP's fs/read_text_file and fs/write_text_file methods.

Acceptance criteria

  • fs.rsAcpFileSystem struct implementing IDE-proxied file I/O
  • Send fs/read_text_file JSON-RPC request to client, await response
  • Send fs/write_text_file JSON-RPC request to client, await response
  • Handle absolute path requirement (all paths MUST be absolute per spec)
  • Diff generation for file edits (old content vs new content)
  • Error handling for client-side failures (file not found, permission denied)
  • Adapter to make AcpFileSystem usable by FileExecutor or as a standalone tool

Metadata

Metadata

Assignees

No one assigned

    Labels

    acpAgent Client Protocol integrationfeatureNew functionalitytoolsTool execution and MCP integration

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions