Skip to content

AD-501: Define runtime adapter interface#39

Open
alph-cmky wants to merge 1 commit into
feat/ad-402-chat-workspace-apifrom
feat/ad-501-runtime-adapter-interface
Open

AD-501: Define runtime adapter interface#39
alph-cmky wants to merge 1 commit into
feat/ad-402-chat-workspace-apifrom
feat/ad-501-runtime-adapter-interface

Conversation

@alph-cmky

Copy link
Copy Markdown
Owner

Summary

  • Adds a shared RuntimeAdapter contract for Codex, Claude, and shell-style execution.
  • Defines adapter capabilities for executeTask, cancelTask, and getCapabilities.
  • Defines streamed task events for stdout, stderr, tool events, diff, completion, and failure.
  • Exports execution contracts from @agentdeck/runtime-adapters.
  • Marks AD-501 complete in the development backlog.

Stack

Verification

  • TDD red check: pnpm test packages/runtime-adapters/src/execution/runtime-adapter.test.ts packages/runtime-adapters/src/execution/task-events.test.ts initially failed because runtime-adapter.js and task-events.js did not exist yet.
  • pnpm test packages/runtime-adapters/src/execution/runtime-adapter.test.ts packages/runtime-adapters/src/execution/task-events.test.ts
  • pnpm lint && pnpm format && pnpm typecheck && pnpm test && pnpm build

Closes #14

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