1 Commits
Author SHA1 Message Date
est7 c4d84633b5 junie 0.1.0: Junie CLI agent, a /v1/models seed and launch defaults (#610, est7)
Adds @magpie-community/agent-junie 0.1.0 (est7): Junie CLI on magpie's Agents page, plus an explicit seed.mjs that writes one Junie model profile per /v1/models entry and sets settings.json's modelForLaunch to magpie's selected model. Registry entry sits with the other agents; README agents table row added.

The three changes asked for at 12df8a6 are in 75a8c4b: repository.url is magpie-community/plugins, the README installs from the Plugins tab / `magpie plugin add` and gives seed.mjs's installed path (XDG_CONFIG_HOME aware), and the registry entry moved to the agents. seed.mjs, junie.agent.js and the tests are unchanged since that review.

Reviewed at 75a8c4b, merged locally onto main 486a68a, on mote (macOS, Bun 1.4.2), HOME=$(mktemp -d):
- bun scripts/check.mjs: exit 0. bun test: 4735 pass, 12 skip, 0 fail (the 17 junie tests included).
- seed.mjs against a local fake /v1/models: one request, Bearer key and User-Agent Junie; two 0600 profiles with id/baseUrl/apiType/apiKey/displayName/providerName/maxContextLength; model-locations appended to the user's own list; modelForLaunch set, user's other ECO entry kept. --model with an absent id refused with no writes. --remove: profiles gone, config.json and settings.json back to their values (re-indented only).
- Keys checked against Junie's docs (custom-llm-models, config.json, MCP ~/.junie/mcp/mcp.json with mcpServers, ~/.junie/skills, ~/.junie/AGENTS.md) and, for the undocumented settings keys (modelForLaunch, onboardingDefaultModelChosen, providerForLaunch, mixForLaunch, ecoModePerModel, acpEcoModePerModel), by grepping the released Junie 3976.1 macOS jar: every key is present.
- npm has no @magpie-community/agent-junie yet (404), so 0.1.0 doesn't collide. No dependencies, no install scripts; the only network call is the gateway's own /v1/models with redirect "error".

Not tried: a real Junie session through magpie (needs a JetBrains sign-in), and whether Junie's own requests carry a User-Agent matching the agent's ua "junie".
2026-11-02 11:42:06 +08:00