diff --git a/packages/paperclip-runner/knowledge/journal/2026-08-08-phase-05-sdk.md b/packages/paperclip-runner/knowledge/journal/2026-08-08-phase-05-sdk.md index 6c55e59611f..237d7167ad9 100644 --- a/packages/paperclip-runner/knowledge/journal/2026-08-08-phase-05-sdk.md +++ b/packages/paperclip-runner/knowledge/journal/2026-08-08-phase-05-sdk.md @@ -45,9 +45,11 @@ Full contracts are in the [SDK reference](../../docs/phase-05-sdk.md) and # Failures and corrections -- The browser TypeScript configuration initially lacked Node types required by - Vite and Playwright configuration files. Node types were added to that - configuration only; they did not enter the browser runtime. +- The browser TypeScript configuration initially included a Node-based + Playwright spec, which tempted the browser contract to admit Node types. The + configuration now checks only browser application source trees and keeps its + type environment Node-free; test and Vite configuration files use their own + TypeScript context. - An early hook implementation removed repeated source event IDs. That hid reducer input and violated parity authority. The hook now preserves the exact stream and lets the shared reducer classify duplicates. diff --git a/packages/paperclip-runner/tsconfig.browser.json b/packages/paperclip-runner/tsconfig.browser.json index 06f51856d6a..d099284e751 100644 --- a/packages/paperclip-runner/tsconfig.browser.json +++ b/packages/paperclip-runner/tsconfig.browser.json @@ -6,7 +6,7 @@ "module": "ESNext", "moduleResolution": "Bundler", "rootDir": ".", - "types": ["vite/client", "node"], + "types": ["vite/client"], "baseUrl": ".", "paths": { "@paperclipai/paperclip-runner/browser": ["src/browser/index.ts"],