Add funes recall example - #45
Merged
Merged
Conversation
dacorvo
commented
Jul 1, 2026
Collaborator
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.