Executes T3CODE-FORK.md's remaining scope: wires the two pure-schema t3code packages (packages/contracts, packages/shared) into the root pnpm workspace (scoped `effect` override edges, not the global security-floor pin), and adds packages/t3-bridge — createT3TerminalCommandGate, the governance seam (patch #2) mirroring the existing Loom steer CommandGate adapter but for a t3 TerminalWriteInput, composing @recoder/governance's CommandGate + FileAuditLog + @recoder/agent-os's ApprovalService. 10 tests, including a compatibility suite that decodes a real @t3tools/contracts effect/Schema payload and proves it reaches the approval gate. Also fixes the fresh-worktree embedded-backend boot cascade this exposed: missing @types/better-sqlite3 (mem0), missing dom lib (agent-browser), missing esbuild externals (sandbox-daytona), a missing @smithy/types dep plus a real AWS SDK v3 middleware-overload bug (pi-ai), a missing @recoder/auth dependency and a null-handling bug in recloud-deploy, and a genuine tsx@4.23.1 runtime-resolution bug (a tsconfig "paths" alias meant for tsc leaks into tsx's runtime loader, resolving a subpath export to its .d.ts instead of its .js) worked around by renaming agent-runtimes' "./loom" export to "./loom-client" plus a classic nested-package types shim. Backend `tsc` now exits 0 from a fresh worktree; `pnpm run dev` reaches "recoder-backend listening" with a real (truthfully degraded) /health response, and the desktop app's renderer shows real content (Welcome dialog + sidebar), not just a window title — screenshots in /tmp. Full writeup: packages/t3-bridge/README.md, plans/recoder.md. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
40 lines
922 B
JSON
40 lines
922 B
JSON
{
|
|
"name": "@recoder/agent-runtimes",
|
|
"version": "0.1.0",
|
|
"description": "Runtime adapter contracts for Recoder Agent OS",
|
|
"license": "MIT",
|
|
"main": "./dist/index.js",
|
|
"module": "./dist/index.mjs",
|
|
"types": "./dist/index.d.ts",
|
|
"exports": {
|
|
".": {
|
|
"types": "./dist/index.d.ts",
|
|
"import": "./dist/index.mjs",
|
|
"require": "./dist/index.js"
|
|
},
|
|
"./loom-client": {
|
|
"types": "./dist/loom.d.ts",
|
|
"import": "./dist/loom.mjs",
|
|
"require": "./dist/loom.js"
|
|
}
|
|
},
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"scripts": {
|
|
"build": "tsup",
|
|
"check-types": "tsc --noEmit",
|
|
"clean": "rm -rf .turbo dist node_modules",
|
|
"test": "node --test --import tsx src/**/*.test.ts"
|
|
},
|
|
"dependencies": {
|
|
"@recoder/agent-os": "workspace:*"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^20.10.0",
|
|
"tsup": "^8.0.0",
|
|
"tsx": "^4.7.0",
|
|
"typescript": "^5.0.0"
|
|
}
|
|
}
|