1 Commits
Author SHA1 Message Date
Zach Zhao 89df5a62c5 pine 0.1.0: Pine (pmndre/pine) on magpie's Agents page (#1038)
Adds @magpie-community/agent-pine 0.1.0: Pine (github.com/pmndre/pine) on
magpie's Agents page. connect writes providers.magpie as one object in
~/.pine/models.json (gateway /v1, openai-responses, magpie's catalog);
startup writes defaults.model in ~/.pine/pine.json as magpie/<id>; Library
skills go to ~/.pine/skills. Same shape as agent-pig.

Review (at da80445557bc2de93857e49451587e2ac28aef08):
- Harm check: only packages/pine, the README Agents row and registry.json.
  No dependencies, install scripts, workflow changes, credential reads or
  new network hosts (the icon is Pine's logo on raw.githubusercontent.com).
- Checked against Pine's source (pmndre/pine next, 738013c7): home defaults
  to $PINE_HOME or ~/.pine (src/cli.ts), models.json and pine.json live in
  the home, resolveModel splits a reference at the first "/"
  (src/agents.ts), an agent's own model overrides cfg.defaults.model, and
  <home>/skills is read for all agents (src/skills.ts).
  compat.supportsStrictMode is a pi-ai 1.5.2 key for openai-responses.
- magpie applies the descriptor's prefix to startup.model
  (internal/agent/plugged.go), so pine.json gets magpie/<provider>/<model>.

Run at the reviewed head on mote, HOME=$(mktemp -d):
- packages/pine: bun test, 7 pass, 0 fail.
- bun scripts/check.mjs: pass.
- PR CI (pr, bumped) green after approving the first-time contributor's runs.

Not tried: a real Pine daemon here (the author reports one answered
through the gateway).
2026-11-18 13:09:17 +08:00