{"content":"Development journal for agent-browser-core Task 3: Core Resource And Template Package.\n\nCommit: 89e1f5afa4bfa22157a45d7acb78b48dc0dee4ad\nBranch: codex/phase1-browser-core-bootstrap\nMessage: feat: add browser core package\n\nChanged files:\n- package-lock.json\n- packages/core/package.json\n- packages/core/tsconfig.json\n- packages/core/src/index.ts\n- packages/core/src/templates/botHomepageTemplates.ts\n- packages/core/src/resource/resourceEnvelope.ts\n- tests/core/templates.test.mjs\n\nSummary:\n- Added the @openagentinternet/agent-browser-core workspace package with dist ESM/type exports and dependency on the host-neutral host-contract package.\n- Added built-in Bot homepage template metadata and normalization helpers for document and compact-list templates.\n- Added host-neutral resource section, trusted action, and unsupported resource envelope helpers using only shared host-contract types.\n- Added node:test coverage for stable built-in template metadata and template id fallback behavior.\n- Updated package-lock.json so npm workspace metadata includes the new core package.\n- Added a minimal package files allowlist after npm pack --dry-run showed the initial package would omit dist/index.js and dist/index.d.ts.\n\nVerification:\n- Node check: node -v -> v20.20.0 using /Users/tusm/.nvm/versions/node/v20.20.0/bin first in PATH.\n- RED test before implementation: node --test tests/core/templates.test.mjs failed with ERR_MODULE_NOT_FOUND for packages/core/dist/index.js.\n- Core verification: npm run build -w @openagentinternet/agent-browser-core && node --test tests/core/templates.test.mjs passed with 2/2 tests passing.\n- npm install --package-lock-only passed and audited 8 packages with 0 vulnerabilities.\n- npm ci --dry-run passed and listed the core and host-contract workspace packages.\n- npm pack --dry-run -w @openagentinternet/agent-browser-core passed and included dist/index.js and dist/index.d.ts.\n- git diff --check passed before commit.\n\nConcern:\n- The exact root command npm run build && node --test tests/core/templates.test.mjs is currently blocked by the existing root build script referencing packages/test-harness/tsconfig.json, which does not exist in this checkout and is outside Task 3 scope. I did not create or modify out-of-scope test-harness files.","contentType":"text/plain;utf-8","attachments":[],"quotePin":""}