Skip to content

Simplify integration and add demo gifs#60

Merged
dacorvo merged 12 commits into
mainfrom
agent_demo
Jul 6, 2026
Merged

Simplify integration and add demo gifs#60
dacorvo merged 12 commits into
mainfrom
agent_demo

Conversation

@dacorvo

@dacorvo dacorvo commented Jul 5, 2026

Copy link
Copy Markdown
Collaborator

This removes the options to add funes to an agent just for a project.

This also adds two demo gifs to the README.

dacorvo and others added 10 commits July 3, 2026 20:20
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude and opencode still defaulted to a per-project config (`--global` to opt
out); like the earlier pi change, that scope is untested and invites the same
duplicate-registration conflicts. Drop `--global` from both and remove the
cwd-relative branches, so `funes add <agent>` is always user-wide. No agent can
write a project-local config anymore.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR simplifies “add agent” integrations by removing project-scoped install options (standardizing on user-scope installs), and updates documentation with new demo GIFs and revised automation guidance.

Changes:

  • Remove project-scope / destination options for agent integrations (Claude, Pi, OpenCode) and standardize installs on user scope.
  • Add and reference new demo GIFs, plus new VHS tape sources for regenerating them.
  • Rework automation docs to split indexing vs publishing hooks (per-turn indexing + session-boundary publishing).

Reviewed changes

Copilot reviewed 9 out of 11 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
src/pi.rs Makes funes add pi install to a fixed user-wide location and always pi install it.
src/opencode.rs Makes funes add opencode always write user config (no project-scope).
src/main.rs Simplifies CLI subcommand variants by removing --global/--dest options.
src/claude.rs Makes funes add claude always register at user scope.
skills/funes/SKILL.md Removes the optional skill documentation file.
README.md Adds demo GIFs and adjusts “get started” instructions/snippets.
docs/demo/hub-store.tape Adds VHS tape for the “Hub store” demo GIF.
docs/demo/cross-agents.tape Adds VHS tape for the “cross agents” demo GIF.
docs/automation.md Updates hook guidance and adds split scripts for index vs push.
Comments suppressed due to low confidence (1)

docs/automation.md:127

  • find_bin is used as funes="$(find_bin funes ...)", but the command -v ... && return 0 branch returns success without printing the resolved path, so $funes becomes empty even when funes is on PATH.
find_bin() {
    command -v "$1" 2>/dev/null && return 0
    for d in "$HOME/.local/bin" /opt/homebrew/bin /usr/local/bin "$HOME/go/bin" /usr/bin /bin; do
        [ -x "$d/$1" ] && { printf '%s\n' "$d/$1"; return 0; }
    done

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/claude.rs
Comment thread docs/automation.md
Comment thread README.md
Comment on lines 46 to 49
```bash
curl -fsSL https://huggingface.co/buckets/huggingface/funes/resolve/funes-x86_64-linux -o funes
chmod +x funes && ./funes recall "how do I get started with funes"
chmod +x funes
```
Comment thread docs/demo/hub-store.tape Outdated
dacorvo and others added 2 commits July 6, 2026 00:23
The `fmt --check` CI step (cargo +nightly-2026-04-22) flagged the pi
install-success line as over max_width; wrap the macro call as rustfmt
would. No behavior change.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
- README: the by-hand download block chmod'd the binary but never showed
  how to run it (it lands at ./funes, not on PATH); restore the
  `./funes recall` step so the manual path isn't a dead end.
- hub-store.tape: scope the comment to the store — FUNES_HOME redirects
  the demo store, not the pi extension (which installs globally to
  ~/.funes/integrations/pi), so "nothing lands in ~/.funes" was imprecise.

The other two Copilot comments (claude.rs .context, automation.md find_bin)
are false positives; no change.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@dacorvo
dacorvo merged commit 0623505 into main Jul 6, 2026
7 checks passed
@dacorvo
dacorvo deleted the agent_demo branch July 6, 2026 06:51
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.

2 participants