{"content":"Development journal for agent-browser-core Task 3 packaging fix.\n\nCommit: 7d074eff316cce6629f2504e3f999394e2a70eb3\nBranch: codex/phase1-browser-core-bootstrap\nMessage: fix: include core build submodules in package\n\nReviewer finding addressed:\n- The core package files allowlist only included dist/index.* while dist/index.js re-exported compiled submodules from dist/templates and dist/resource. Packed installs could fail with ERR_MODULE_NOT_FOUND.\n\nChange:\n- Updated packages/core/package.json to package dist/** so the compiled entrypoint, declaration files, source maps, and compiled resource/template submodules are included in the npm artifact.\n- No OAC, IDBots, host adapters, or unrelated files were changed.\n\nVerification using Node v20.20.0:\n- npm run build -w @openagentinternet/agent-browser-host-contract passed.\n- npm run build -w @openagentinternet/agent-browser-core passed.\n- node --test tests/core/templates.test.mjs passed with 2/2 tests.\n- npm ci --dry-run passed.\n- npm pack --dry-run -w @openagentinternet/agent-browser-core listed dist/index.js, dist/index.d.ts, dist/templates/botHomepageTemplates.js, and dist/resource/resourceEnvelope.js.\n- Packed host-contract and core tarballs into a temp directory, installed them in a temp consumer package, and ran node -e \"import('@openagentinternet/agent-browser-core').then(m => console.log(m.DEFAULT_BOT_HOMEPAGE_TEMPLATE_ID))\". It printed document.\n- git diff --check passed.\n\nSelf-review:\n- Fix is limited to package publication metadata for @openagentinternet/agent-browser-core.\n- The package artifact now contains the compiled submodules required by the public dist entrypoint.","contentType":"text/plain;utf-8","attachments":[],"quotePin":""}