Provide implementations of advanced data structures
中文简介正在准备中。当前显示原文说明。
Use when adding a new agent harness (CLI-based coding agent) adapter to adapters. Covers capability audit, adapter scaffold, session parsing, auth detection, hooks/plugins wiring, tests, and docs.
中文简介正在准备中。当前显示原文说明。
查看安装方法安装前可以查看交给 AI 代理的指令内容。
Goal: produce a production-quality XAdapter extends BaseAgentAdapter with full test coverage and documentation, matching the level of the existing 11 adapters (claude, codex, cursor, gemini, opencode, openclaw, copilot, hermes, pi, omp, adapters-remote).
AgentCapabilities field. Unknown? Set conservatively (false) and note in PR.packages/adapters/src/<name>-adapter.ts extending BaseAgentAdapter. Required: agent, displayName, cliCommand, minVersion, hostEnvSignals, capabilities, models[], defaultModelId, configSchema, buildSpawnArgs, parseEvent, detectAuth, getAuthGuidance, sessionDir, parseSessionFile, listSessionFiles, readConfig, writeConfig.parseJsonlSessionFile; otherwise write a custom parser and unit-test each event shape.writeNativeHook and mirror into HookConfigManager. If not, rely on the base class's virtual hooks.mcpServers in its config JSON, flip supportsPlugins: true, add pluginFormats: ['mcp-server'], and delegate to mcp-plugins.ts (see cursor/gemini/opencode/openclaw for the pattern).packages/adapters/src/index.ts exports and to the default registry in packages/core/src/client.ts (if applicable).packages/adapters/tests/<name>-adapter.test.ts:
buildSpawnArgs for a few representative RunOptionsparseEvent for each JSONL type the harness emitsdetectAuth for authenticated + unauthenticated statesmcp-plugins-parity.test.ts.packages/cli/tests/commands-audit.test.ts passes (it exercises every adapter via the built CLI).local/max-file-lines). Split helpers into sibling modules if you're close.docs/02-agents/<name>.md.npm run changeset, pick minor (new adapter), summarize.npm run typecheck
npm run lint
npm test
npx vitest run packages/adapters/tests/<name>-adapter.test.ts
All existing tests must continue to pass — no regressions in commands-audit.
commands-audit.test.ts won't exercise it.detectAuth() — breaks testability.buildSpawnArgs returning the string "undefined" for missing options — always gate with if (options.X != null).appendJsonHook or appendYamlHook.还没有评价。欢迎分享你的使用感受。
无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。
还没有评论。来写第一条吧。
Provide implementations of advanced data structures
中文简介正在准备中。当前显示原文说明。
Fresh adversarial code review with binary PASS/FAIL verdicts, evidence citations, and anchoring bias prevention via fresh reviewer spawning.
中文简介正在准备中。当前显示原文说明。
WASM-based instant code transforms for simple tasks, achieving 352x speedup over LLM inference with zero cost.
中文简介正在准备中。当前显示原文说明。
Coordinate Crew (persistent) and Polecat (transient) agents using Gas Town's hook-based work distribution and GUPP principle.
中文简介正在准备中。当前显示原文说明。
Generate visual representations of algorithm execution
中文简介正在准备中。当前显示原文说明。
Hierarchical coordination and drift detection with frequent checkpoints, shared memory coherence validation, role specialization enforcement, and short task cycles.
中文简介正在准备中。当前显示原文说明。