Skip to content

feat: add a simple local API connector for coding tools and agents - #1

Merged
K-3-LT merged 7 commits into
mainfrom
feat/agent-connect
Nov 17, 2026
Merged

K-3-LT merged 7 commits into
mainfrom
feat/agent-connect

Conversation

@K-3-LT

@K-3-LT K-3-LT commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

python3 start.py opens a local workspace where users choose a model API and connect Claude Code, Codex, WorkBuddy/WorkBuddy AI, OpenClaw or Hermes. IteraCompute and the verified openai/gpt-6-luna model are selected by default. The UI, native configuration editors and authenticated relay are independent implementations; the normal workflow requires neither CC Switch nor Magpie and copies neither application's source. The runtime uses the Python standard library only.

The workspace provides provider switching, draft model discovery, protocol compatibility checks, keyboard-accessible client cards, automatic configuration backups, conflict-aware restore, copyable manual exports and separate text/stream/tool test results. Draft catalog requests neither save the form nor replace the live relay key. Changing the selected API, model or client clears stale results. The layout adapts to narrow screens. Complete Chinese/English READMEs cover Windows/macOS/Linux launch, a full private TOML example, other API bases/protocols, all six client adapters, testing, switching/restoration, file locations, startup options and troubleshooting. The English guide includes a Chinese UI button/status reference; the UI language is unchanged.

Vendor keys remain in ignored private TOML and relay memory; client settings contain only a local relay credential. Management binds to loopback with a per-launch token and Host/Origin checks. Optional pinned Magpie conversion/full CLI and CC Switch imports retain the broader advanced interfaces, with provenance and license notices.

Validation:

  • 52 local tests passed with pinned Magpie and installed native CLI fixture opt-ins enabled, including draft-model credential isolation and cleanup on success/failure.
  • Browser checks against an isolated local fixture covered the desktop and 390 px layouts, keyboard selection, mismatch disabling, duplicate providers, model discovery before saving, connect/restore, result cards, copyable export and clearing stale results. Daily client configuration was not modified.
  • Ruff check/format, JavaScript syntax, frontend formatting, sdist/wheel build, clean-wheel packaged assets/authenticated state and private-key exclusion checks passed locally on Linux. GitHub CI also passed Ubuntu/macOS/Windows with Python 3.11/3.14, quality/build, pinned Magpie fixture tests and the required aggregate checks (run 44015209371). These fixture runs are separate from real-provider/native-client acceptance on Linux.
  • Dedicated-key acceptance on 2026-11-16 passed IteraCompute Chat, Responses and Messages text, complete SSE and tool-result round trips. Actual Claude Code 2.1.312, Codex 0.156.1, OpenClaw 2026.10.2 and Hermes 0.23.1 read independently generated isolated configs and returned the expected reply.
  • WorkBuddy/WorkBuddy AI configuration preservation/restore is verified; desktop inference still requires manual acceptance. Native single-turn acceptance does not claim every client's full autonomous tool loop. Earlier Auto 400/429 and Haiku tool 502 failures remain in the acceptance record.

This public repository permits community issues, discussions and PRs. Main requires independent administrator CODEOWNER approval, passing checks and resolved conversations, with administrators subject to protection. The organization Owner repaired Actions policy: only agent-connect is selected for execution, default workflow permissions remain read-only, and workflow PR approval is disabled. All nine checks passed for approved head a1869cd33a47cd6e7e5b5105b3dfad4bb241c751 in CI run 44015685252.

Merged as 1ce54b0bbec0d1b96e758eb450494e7551db095f after explicit Owner approval of a one-time bootstrap review exception for that exact head. Only the existing administrator K-3-LT was temporarily added to the pull-request review bypass allowance; required CI and all other protection settings remained enforced. The allowance was removed immediately after merging, and the complete original protection snapshot was verified as restored. Main now includes both existing administrators K-3-LT and aikevan in CODEOWNERS; the post-merge governance audit passes all checks. Future pull requests continue to require independent administrator review. The initial-merge dependency and administrator/token-scope distinction are documented in docs/governance.md.

@K-3-LT K-3-LT changed the title Connect IteraCompute and custom APIs to agents with CC Switch and Magpie feat: add a simple local client for IteraCompute harness connections Nov 16, 2026
@K-3-LT K-3-LT changed the title feat: add a simple local client for IteraCompute harness connections feat: add a simple local API connector for coding tools and agents Nov 17, 2026
@K-3-LT
K-3-LT marked this pull request as ready for review November 17, 2026 03:38
@K-3-LT
K-3-LT merged commit 1ce54b0 into main Nov 17, 2026
9 checks passed
@K-3-LT
K-3-LT deleted the feat/agent-connect branch November 17, 2026 04:23
@K-3-LT
K-3-LT restored the feat/agent-connect branch November 17, 2026 04:24
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