Skip to content

Add funes recall example - #45

Merged
dacorvo merged 4 commits into
mainfrom
feat/funes-recall-example
Jul 2, 2026
Merged

Add funes recall example#45
dacorvo merged 4 commits into
mainfrom
feat/funes-recall-example

Conversation

@dacorvo

@dacorvo dacorvo commented Jul 1, 2026

Copy link
Copy Markdown
Collaborator
Drive a coding agent through past-decision questions it can only answer by
reaching into prior-session memory, with funes wired in as a recall tool;
agentcap captures the agent ↔ model exchange.

dacorvo and others added 4 commits June 30, 2026 10:11
A --tool-dir bundle had no way to set itself up inside the sandbox beyond a
single bin/ on PATH (AGENTCAP_TOOL_BIN), and hermes MCP registration was a
brittle special case (a magic `mcp-server` filename, server name guessed from
the bundle dir). Replace both with a generic, agent-agnostic mechanism:

- agentcap exports AGENTCAP_TOOL_DIR (the bundle root) and AGENTCAP_AGENT.
- Each agent entrypoint puts the bundle root and every bin/ it ships on PATH,
  then runs the bundle's `tool_init.sh` if present. The bundle owns its own
  per-agent wiring (register an MCP server, seed a cwd extension, set env);
  agentcap knows nothing about MCP, server names, or the bundle's contents.

No more `..` path arithmetic or hermes-only hook.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
The image pinned @mariozechner/pi-coding-agent@0.73.0, which npm now marks
deprecated ("use @earendil-works/pi-coding-agent instead"). Switch to the
current package. 0.74.2 is its `legacy-node20` line (Node >= 20.6) — latest
(0.80.x) requires Node >= 22, and the image deliberately pins Node 20 for the
ES2024 regex-flag support pi-tui needs, so the node20 line is the right pin.

Verified: the funes-recall pi example loads the funes extension and calls
recall on 0.74.2 (discovery is on by default; the trust gate / `--approve`
only arrives in 0.80+, so no driver change is needed here).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Drive a coding agent through past-decision questions it can only answer by
reaching into prior-session memory, with funes wired in as a recall tool;
agentcap captures the agent ↔ model exchange.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
The tool_init.sh live test added in 319fc31 was committed not
rustfmt-clean, failing the Lint & Unit Tests check on PR #45.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@dacorvo
dacorvo merged commit 5d31e85 into main Jul 2, 2026
7 checks passed
@dacorvo
dacorvo deleted the feat/funes-recall-example branch July 2, 2026 07:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant