mirror of
https://github.com/alkimake/paperclip.git
synced 2026-06-14 01:50:39 +09:00
Add adapter environment testing infrastructure
Introduce testEnvironment() on ServerAdapterModule with structured pass/warn/fail diagnostics for all four adapter types (claude_local, codex_local, process, http). Adds POST test-environment endpoint, shared types/validators, adapter test implementations, and UI API client. Includes asset type foundations used by related features. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
de3efdd16b
commit
f80a802592
26 changed files with 720 additions and 6 deletions
|
|
@ -59,6 +59,7 @@ For local adapters, set:
|
|||
- `timeoutSec` (max runtime per heartbeat)
|
||||
- `graceSec` (time before force-kill after timeout/cancel)
|
||||
- optional env vars and extra CLI args
|
||||
- use **Test environment** in agent configuration to run adapter-specific diagnostics before saving
|
||||
|
||||
## 3.4 Prompt templates
|
||||
|
||||
|
|
@ -148,6 +149,10 @@ Typical failure causes:
|
|||
- prompt too broad or missing constraints
|
||||
- process timeout
|
||||
|
||||
Claude-specific note:
|
||||
|
||||
- If `ANTHROPIC_API_KEY` is set in adapter env or host environment, Claude uses API-key auth instead of subscription login. Paperclip surfaces this as a warning in environment tests, not a hard error.
|
||||
|
||||
## 9. Security and risk notes
|
||||
|
||||
Local CLI adapters run unsandboxed on the host machine.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue