{"_id":"@accomplish_ai/agent-core-enterprise","_rev":"5-7f03d160db47cbb3da64841f07e2ffb2","name":"@accomplish_ai/agent-core-enterprise","dist-tags":{"latest":"0.2.1"},"versions":{"0.1.1":{"name":"@accomplish_ai/agent-core-enterprise","version":"0.1.1","_id":"@accomplish_ai/agent-core-enterprise@0.1.1","maintainers":[{"name":"accomplish-ai","email":"daniel.scharfstein@accomplish.ai"}],"dist":{"shasum":"88a8443af0590d8929cba84a4b8279511266cacc","tarball":"https://registry.npmjs.org/@accomplish_ai/agent-core-enterprise/-/agent-core-enterprise-0.1.1.tgz","fileCount":51,"integrity":"sha512-OcOufu8S4ZaKtedy6V3cp9i4w8hKmdgIJ9i1qXKz4Koc4e8/DXFeAYM035XIxreagM1MooTuvQ3sETMeFQOS3g==","signatures":[{"sig":"MEYCIQCOVA8SuuJYUIpB2r+969SMtdQaMyrOpUxuxIxe+fXNXAIhAIPkCU5jmbVfKJKPSoQRybVVAYFnnVkLk7jhkf7PNBA/","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":6010640},"main":"./dist/index.js","type":"module","_from":"file:accomplish_ai-agent-core-enterprise-0.1.1.tgz","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./common":{"types":"./dist/common.d.ts","import":"./dist/common.js"},"./telemetry":{"types":"./dist/telemetry/index.d.ts","import":"./dist/telemetry/index.js"},"./mcp/trace-capture":{"types":"./dist/mcp/trace-capture.d.ts","import":"./dist/mcp/trace-capture.js"}},"scripts":{"test":"vitest run","build":"node esbuild.config.mjs && tsc --emitDeclarationOnly && node scripts/post-build.mjs","build:js":"node esbuild.config.mjs","typecheck":"tsc --noEmit","test:watch":"vitest","build:types":"tsc --emitDeclarationOnly","postinstall":"bash scripts/postinstall.sh"},"_npmUser":{"name":"accomplish-ai","email":"daniel.scharfstein@accomplish.ai"},"_resolved":"/tmp/8b59475e9908ddecf617880cad44f675/accomplish_ai-agent-core-enterprise-0.1.1.tgz","_integrity":"sha512-OcOufu8S4ZaKtedy6V3cp9i4w8hKmdgIJ9i1qXKz4Koc4e8/DXFeAYM035XIxreagM1MooTuvQ3sETMeFQOS3g==","_npmVersion":"10.8.2","description":"Enterprise extension of [`@accomplish_ai/agent-core`](https://www.npmjs.com/package/@accomplish_ai/agent-core) that adds the **Agent Flight Recorder** -- a trace capture and telemetry system for recording detailed execution traces during agent task runs.","directories":{},"_nodeVersion":"20.20.0","dependencies":{"jszip":"^3.10.1","libsodium-wrappers-sumo":"^0.8.2","@accomplish_ai/agent-core":"0.3.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^2.0.0","esbuild":"^0.27.3","typescript":"^5.5.0","@types/node":"^25.2.3","@changesets/cli":"^2.27.0"},"_npmOperationalInternal":{"tmp":"tmp/agent-core-enterprise_0.1.1_1770907782998_0.20071805514367402","host":"s3://npm-registry-packages-npm-production"}},"0.1.2":{"name":"@accomplish_ai/agent-core-enterprise","version":"0.1.2","_id":"@accomplish_ai/agent-core-enterprise@0.1.2","maintainers":[{"name":"accomplish-ai","email":"daniel.scharfstein@accomplish.ai"}],"dist":{"shasum":"cc74248dbc862fb1c39c818cbfaeb9bf559a21a9","tarball":"https://registry.npmjs.org/@accomplish_ai/agent-core-enterprise/-/agent-core-enterprise-0.1.2.tgz","fileCount":51,"integrity":"sha512-R6zzm6aaKejWU06LkVKsc3eE2F58+ld1E+AqBiBZV5o55Z3CcInM2rOrTYz4zFElytzTkt/rLS8jdZkiHRwyAg==","signatures":[{"sig":"MEUCIQCgmQNQ0iBvyYHFXKgDHrdRxK/j/5MlYlnMjqSxXT0lmAIgEHAfpsJpZLNw8h58KS9Jfkn6WyK3w2ZH0v8sdumQBHY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":6014217},"main":"./dist/index.js","type":"module","_from":"file:accomplish_ai-agent-core-enterprise-0.1.2.tgz","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./common":{"types":"./dist/common.d.ts","import":"./dist/common.js"},"./telemetry":{"types":"./dist/telemetry/index.d.ts","import":"./dist/telemetry/index.js"},"./mcp/trace-capture":{"types":"./dist/mcp/trace-capture.d.ts","import":"./dist/mcp/trace-capture.js"}},"scripts":{"test":"vitest run","build":"node esbuild.config.mjs && tsc --emitDeclarationOnly && node scripts/post-build.mjs","build:js":"node esbuild.config.mjs","typecheck":"tsc --noEmit","test:watch":"vitest","build:types":"tsc --emitDeclarationOnly","postinstall":"bash scripts/postinstall.sh"},"_npmUser":{"name":"accomplish-ai","email":"daniel.scharfstein@accomplish.ai"},"_resolved":"/tmp/1e34d5bd76075ae8b5facdf4cb2b90bd/accomplish_ai-agent-core-enterprise-0.1.2.tgz","_integrity":"sha512-R6zzm6aaKejWU06LkVKsc3eE2F58+ld1E+AqBiBZV5o55Z3CcInM2rOrTYz4zFElytzTkt/rLS8jdZkiHRwyAg==","_npmVersion":"10.8.2","description":"Enterprise extension of [`@accomplish_ai/agent-core`](https://www.npmjs.com/package/@accomplish_ai/agent-core) that adds the **Agent Flight Recorder** -- a trace capture and telemetry system for recording detailed execution traces during agent task runs.","directories":{},"_nodeVersion":"20.20.0","dependencies":{"jszip":"^3.10.1","libsodium-wrappers-sumo":"^0.8.2","@accomplish_ai/agent-core":"0.3.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^2.0.0","esbuild":"^0.27.3","typescript":"^5.5.0","@types/node":"^25.2.3","@changesets/cli":"^2.27.0"},"_npmOperationalInternal":{"tmp":"tmp/agent-core-enterprise_0.1.2_1770927243123_0.13479970145815412","host":"s3://npm-registry-packages-npm-production"}},"0.1.3":{"name":"@accomplish_ai/agent-core-enterprise","version":"0.1.3","_id":"@accomplish_ai/agent-core-enterprise@0.1.3","maintainers":[{"name":"accomplish-ai","email":"daniel.scharfstein@accomplish.ai"}],"dist":{"shasum":"a7b578cc64ee7d51f8275bc85b2c8d92aaf09c3e","tarball":"https://registry.npmjs.org/@accomplish_ai/agent-core-enterprise/-/agent-core-enterprise-0.1.3.tgz","fileCount":51,"integrity":"sha512-ZIFwUVUscTywIodLDJtr1RymHaJYKRtljjpMg56GzzKBtfk1nAUnEawjw1kgib4qGVu7DdCaMuCvlMBniK3a3A==","signatures":[{"sig":"MEQCIHeQd0MrMS89vfnVZ+6hLhx9rZQjCiP3gnkGkbZTpD9bAiBrXdXiGX9Sxdq59y9NIu/WV8kfAkJTHGHBVyTHgbmcAQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":6017680},"main":"./dist/index.js","type":"module","_from":"file:accomplish_ai-agent-core-enterprise-0.1.3.tgz","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./common":{"types":"./dist/common.d.ts","import":"./dist/common.js"},"./telemetry":{"types":"./dist/telemetry/index.d.ts","import":"./dist/telemetry/index.js"},"./mcp/trace-capture":{"types":"./dist/mcp/trace-capture.d.ts","import":"./dist/mcp/trace-capture.js"}},"scripts":{"test":"vitest run","build":"node esbuild.config.mjs && tsc --emitDeclarationOnly && node scripts/post-build.mjs","build:js":"node esbuild.config.mjs","typecheck":"tsc --noEmit","test:watch":"vitest","build:types":"tsc --emitDeclarationOnly","postinstall":"bash scripts/postinstall.sh"},"_npmUser":{"name":"accomplish-ai","email":"daniel.scharfstein@accomplish.ai"},"_resolved":"/tmp/98c916bf3a57adbcb9529dfe2c8c4ea4/accomplish_ai-agent-core-enterprise-0.1.3.tgz","_integrity":"sha512-ZIFwUVUscTywIodLDJtr1RymHaJYKRtljjpMg56GzzKBtfk1nAUnEawjw1kgib4qGVu7DdCaMuCvlMBniK3a3A==","_npmVersion":"10.8.2","description":"Enterprise extension of [`@accomplish_ai/agent-core`](https://www.npmjs.com/package/@accomplish_ai/agent-core) that adds the **Agent Flight Recorder** -- a trace capture and telemetry system for recording detailed execution traces during agent task runs.","directories":{},"_nodeVersion":"20.20.0","dependencies":{"jszip":"^3.10.1","libsodium-wrappers-sumo":"^0.8.2","@accomplish_ai/agent-core":"0.3.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^2.0.0","esbuild":"^0.27.3","typescript":"^5.5.0","@types/node":"^25.2.3","@changesets/cli":"^2.27.0"},"_npmOperationalInternal":{"tmp":"tmp/agent-core-enterprise_0.1.3_1770928372423_0.49619720387862576","host":"s3://npm-registry-packages-npm-production"}},"0.2.0":{"name":"@accomplish_ai/agent-core-enterprise","version":"0.2.0","_id":"@accomplish_ai/agent-core-enterprise@0.2.0","maintainers":[{"name":"accomplish-ai","email":"daniel.scharfstein@accomplish.ai"}],"dist":{"shasum":"400a790757c2d52cf3148f2944b7f152fbb568a4","tarball":"https://registry.npmjs.org/@accomplish_ai/agent-core-enterprise/-/agent-core-enterprise-0.2.0.tgz","fileCount":51,"integrity":"sha512-kT4CJaCcF4k3aPbgbbKJ/5dsmcyQLOFl6DcaY969Yodwz5zlXK7RwWMc5hMnlWh3Xo+rk+juq3Y9NTD0WbEZ0w==","signatures":[{"sig":"MEQCIBhn9kIY33Yur+5kktkSeLuaNXSJ7XozWVL6Fl5y7dJIAiBn4J0y6gLT7IMBZI+suJsS+Hzy2A9z+PxhL7lIdqRCYg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":6021571},"main":"./dist/index.js","type":"module","_from":"file:accomplish_ai-agent-core-enterprise-0.2.0.tgz","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./common":{"types":"./dist/common.d.ts","import":"./dist/common.js"},"./telemetry":{"types":"./dist/telemetry/index.d.ts","import":"./dist/telemetry/index.js"},"./mcp/trace-capture":{"types":"./dist/mcp/trace-capture.d.ts","import":"./dist/mcp/trace-capture.js"}},"scripts":{"test":"vitest run","build":"node esbuild.config.mjs && tsc --emitDeclarationOnly && node scripts/post-build.mjs","build:js":"node esbuild.config.mjs","typecheck":"tsc --noEmit","test:watch":"vitest","build:types":"tsc --emitDeclarationOnly","postinstall":"bash scripts/postinstall.sh"},"_npmUser":{"name":"accomplish-ai","email":"daniel.scharfstein@accomplish.ai"},"_resolved":"/tmp/2ac71b605311daf626ae7958ea9ef72d/accomplish_ai-agent-core-enterprise-0.2.0.tgz","_integrity":"sha512-kT4CJaCcF4k3aPbgbbKJ/5dsmcyQLOFl6DcaY969Yodwz5zlXK7RwWMc5hMnlWh3Xo+rk+juq3Y9NTD0WbEZ0w==","_npmVersion":"10.8.2","description":"Enterprise extension of [`@accomplish_ai/agent-core`](https://www.npmjs.com/package/@accomplish_ai/agent-core) that adds the **Agent Flight Recorder** -- a trace capture and telemetry system for recording detailed execution traces during agent task runs.","directories":{},"_nodeVersion":"20.20.0","dependencies":{"jszip":"^3.10.1","libsodium-wrappers-sumo":"^0.8.2","@accomplish_ai/agent-core":"0.3.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^2.0.0","esbuild":"^0.27.3","typescript":"^5.5.0","@types/node":"^25.2.3","@changesets/cli":"^2.27.0"},"_npmOperationalInternal":{"tmp":"tmp/agent-core-enterprise_0.2.0_1771152770998_0.6069646664346613","host":"s3://npm-registry-packages-npm-production"}},"0.2.1":{"name":"@accomplish_ai/agent-core-enterprise","version":"0.2.1","type":"module","main":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./telemetry":{"types":"./dist/telemetry/index.d.ts","import":"./dist/telemetry/index.js"},"./mcp/trace-capture":{"types":"./dist/mcp/trace-capture.d.ts","import":"./dist/mcp/trace-capture.js"},"./common":{"types":"./dist/common.d.ts","import":"./dist/common.js"}},"dependencies":{"@accomplish_ai/agent-core":"0.3.3","jszip":"^3.10.1","libsodium-wrappers-sumo":"^0.8.2"},"devDependencies":{"@changesets/cli":"^2.27.0","@types/node":"^25.2.3","esbuild":"^0.27.3","playwright":"^1.52.0","typescript":"^5.5.0","vitest":"^2.0.0"},"publishConfig":{"access":"public"},"scripts":{"build":"node esbuild.config.mjs && tsc --emitDeclarationOnly && node scripts/post-build.mjs","build:js":"node esbuild.config.mjs","build:types":"tsc --emitDeclarationOnly","typecheck":"tsc --noEmit","test":"vitest run","test:e2e":"vitest run --config vitest.e2e.config.ts","test:watch":"vitest","postinstall":"bash scripts/postinstall.sh"},"_id":"@accomplish_ai/agent-core-enterprise@0.2.1","description":"Enterprise extension of [`@accomplish_ai/agent-core`](https://www.npmjs.com/package/@accomplish_ai/agent-core) that adds the **Agent Flight Recorder** -- a trace capture and telemetry system for recording detailed execution traces during agent task runs.","_integrity":"sha512-1g0m+SfKjjOFNOricN0j+cUtLIGA1JIFCWeqcRz4Wet/Oz9XJ8EJqCS3zb9OuJ8eHxKq9EI5TXox8B8G7y6nFQ==","_resolved":"/tmp/75e68157c3346bbd227d1e2ffdd10706/accomplish_ai-agent-core-enterprise-0.2.1.tgz","_from":"file:accomplish_ai-agent-core-enterprise-0.2.1.tgz","_nodeVersion":"20.20.0","_npmVersion":"10.8.2","dist":{"integrity":"sha512-1g0m+SfKjjOFNOricN0j+cUtLIGA1JIFCWeqcRz4Wet/Oz9XJ8EJqCS3zb9OuJ8eHxKq9EI5TXox8B8G7y6nFQ==","shasum":"968b8a4d681a89db3dec725cb580683b02445809","tarball":"https://registry.npmjs.org/@accomplish_ai/agent-core-enterprise/-/agent-core-enterprise-0.2.1.tgz","fileCount":51,"unpackedSize":6021544,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQD1iOzrgi1TnhbrF59DRPHZFW3Nxc8yTMgGVaWCzi2swwIhAJlHvbTqZN8w4LNddpSm2RXjGaXHXLo/NT+A5nGiPBim"}]},"_npmUser":{"name":"accomplish-ai","email":"daniel.scharfstein@accomplish.ai"},"directories":{},"maintainers":[{"name":"accomplish-ai","email":"daniel.scharfstein@accomplish.ai"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/agent-core-enterprise_0.2.1_1771187912155_0.3910893636144459"},"_hasShrinkwrap":false}},"time":{"created":"2026-02-12T14:49:42.944Z","modified":"2026-02-15T20:38:32.495Z","0.1.1":"2026-02-12T14:49:43.261Z","0.1.2":"2026-02-12T20:14:03.363Z","0.1.3":"2026-02-12T20:32:52.633Z","0.2.0":"2026-02-15T10:52:51.321Z","0.2.1":"2026-02-15T20:38:32.369Z"},"description":"Enterprise extension of [`@accomplish_ai/agent-core`](https://www.npmjs.com/package/@accomplish_ai/agent-core) that adds the **Agent Flight Recorder** -- a trace capture and telemetry system for recording detailed execution traces during agent task runs.","maintainers":[{"name":"accomplish-ai","email":"daniel.scharfstein@accomplish.ai"}],"readme":"# @accomplish_ai/agent-core-enterprise\n\nEnterprise extension of [`@accomplish_ai/agent-core`](https://www.npmjs.com/package/@accomplish_ai/agent-core) that adds the **Agent Flight Recorder** -- a trace capture and telemetry system for recording detailed execution traces during agent task runs.\n\nThis package re-exports everything from the upstream `agent-core` so it can be used as a drop-in replacement, while adding telemetry modules and a pnpm patch that hooks trace callbacks into the task lifecycle.\n\n## Installation\n\n```bash\npnpm add @accomplish_ai/agent-core-enterprise\n```\n\nThe postinstall script automatically applies the enterprise patch to `@accomplish_ai/agent-core`.\n\n## What's Included\n\nEverything from `@accomplish_ai/agent-core` (re-exported), plus:\n\n- **TaskRecorderService** -- Orchestrates per-task trace recording (reasoning, tool calls, user interactions, step finishes)\n- **Trace storage** -- Per-step local filesystem storage with screenshot, ARIA, AXTree, DOM snapshot, and raw HTML artifacts\n- **Trace extraction** -- Parses tool output to extract embedded trace data via file markers, MCP JSON arrays, or raw base64\n- **Telemetry uploader** -- Background pipeline that zips, encrypts (libsodium sealed-box), and uploads step data to GCS\n- **MCP browser trace capture** -- Pre/post action hooks for browser tools that capture full page state via CDP\n- **Patch** -- Adds `onToolUse`, `onStepFinish`, and `onReasoning` callback hooks to `TaskCallbacks`\n\n## Quick Start\n\n```typescript\nimport {\n  // All upstream agent-core exports are available\n  createTaskManager,\n  createStorage,\n\n  // Enterprise telemetry\n  TaskRecorderService,\n  extractTraceData,\n  initTraceStorage,\n  initTelemetryUploader,\n  setOnStepSavedCallback,\n  enqueueStepUpload,\n} from '@accomplish_ai/agent-core-enterprise';\n\n// 1. Initialize trace storage\ninitTraceStorage('/path/to/traces');\n\n// 2. Optionally initialize the upload pipeline\nawait initTelemetryUploader({\n  tracesDir: '/path/to/traces',\n  serviceUrl: 'https://telemetry.example.com',\n});\n\n// 3. Wire step saves to uploads\nsetOnStepSavedCallback((taskId, stepIndex, stepDir) => {\n  enqueueStepUpload(taskId, stepIndex, stepDir);\n});\n\n// 4. Create a recorder for a task\nconst recorder = new TaskRecorderService('task-123', 'Navigate to example.com', {\n  tracesDir: '/path/to/traces',\n  contextProvider: () => ({\n    user_id: 'user-1',\n    platform: process.platform,\n    app_version: '1.0.0',\n    ga_session_id: 'session-abc',\n    environment: 'production',\n    arch: process.arch,\n    os_version: '14.0',\n    plan_type: 'enterprise',\n    deployment_type: 'cloud',\n    org_id: 'org-1',\n    user_role: 'admin',\n    electron_user_agent: 'MyApp/1.0',\n  }),\n});\n\n// 5. Record steps as they happen\nrecorder.recordUserPrompt('Navigate to example.com');\nrecorder.recordReasoning('I will use browser_navigate to go to example.com');\n\nconst traceData = extractTraceData(toolOutputString, toolInput);\nrecorder.recordToolCall({\n  toolName: 'browser_navigate',\n  toolInput: { url: 'https://example.com' },\n  toolOutput: toolOutputString,\n  ...traceData,\n});\n\nrecorder.recordStepFinish({\n  reason: 'end_turn',\n  model: 'claude-sonnet-4-5-20250929',\n  tokens: { input: 1000, output: 200, reasoning: 50, cache: { read: 500, write: 100 } },\n  cost: 0.003,\n});\n\n// 6. Finalize when done\nrecorder.finalize(true);\n```\n\n## Exports\n\n### Main entry (`@accomplish_ai/agent-core-enterprise`)\n\nRe-exports all of `@accomplish_ai/agent-core` plus all telemetry and MCP trace-capture modules.\n\n### Sub-path exports\n\n| Export Path | Description |\n|-------------|-------------|\n| `@accomplish_ai/agent-core-enterprise` | Full package: upstream agent-core + telemetry + MCP trace capture |\n| `@accomplish_ai/agent-core-enterprise/telemetry` | Telemetry modules only (recorder, storage, extraction, uploader) |\n| `@accomplish_ai/agent-core-enterprise/mcp/trace-capture` | MCP browser trace capture hooks (`handlePreAction`, `handlePostAction`) |\n| `@accomplish_ai/agent-core-enterprise/common` | Browser-safe types and constants (re-exported from upstream) |\n\n## Architecture\n\nSee [docs/AGENT_FLIGHT_RECORDER.md](docs/AGENT_FLIGHT_RECORDER.md) for the full architecture documentation, including:\n\n- Data flow and capture pipeline\n- Storage layout and artifact types\n- Step types and their schemas\n- Turn signal mechanism (fence-post fix for S₀/S₁ browser state capture)\n- Upload pipeline (zip → encrypt → GCS)\n- MCP browser trace capture via CDP\n- TraceContext fields\n\n## Development\n\n### Prerequisites\n\n- Node.js >= 20\n- pnpm 10+\n\n### Build\n\n```bash\npnpm install\npnpm build\n```\n\nThe build pipeline:\n1. **esbuild** bundles TypeScript source (bundling `@accomplish_ai/agent-core` in, all other deps external)\n2. **tsc** emits declaration files only\n3. **post-build.mjs** copies the module augmentation and patched MCP tools to `dist/`\n\n### Test\n\n```bash\npnpm test          # single run\npnpm test:watch    # watch mode\n```\n\n### Type Check\n\n```bash\npnpm typecheck\n```\n\n### Syncing with Upstream\n\nWhen a new version of `@accomplish_ai/agent-core` is released:\n\n```bash\n./scripts/sync-upstream.sh <new-version>\n```\n\nThis updates `package.json`, renames the patch file, runs `pnpm install`, and verifies with typecheck + tests. If the patch fails to apply, follow the printed instructions to update it via `pnpm patch` / `pnpm patch-commit`.\n\n## Environment Variables\n\n| Variable | Default | Description |\n|----------|---------|-------------|\n| `RETAIN_TELEMETRY` | unset | Set to `1` to keep uploaded step directories (marked with `.uploaded`) instead of deleting |\n| `ACCOMPLISH_TRACE_MODULE_PATH` | unset | Path to compiled `trace-capture.js`, used by the patched MCP browser server |\n| `ACCOMPLISH_TASK_ID` | `'default'` | Task ID for turn-signal coordination and artifact file naming |\n\n## Project Structure\n\n```\nsrc/\n  index.ts                  # Package entry — re-exports agent-core + enterprise modules\n  common.ts                 # Re-exports @accomplish_ai/agent-core/common\n  augmentations.d.ts        # Module augmentation (onToolUse, onStepFinish, onReasoning)\n  telemetry/\n    index.ts                # Re-exports all telemetry modules\n    task-recorder.ts        # TaskRecorderService — orchestrates trace capture\n    trace-storage.ts        # Local FS storage for steps and artifacts\n    trace-extraction.ts     # Parses tool output for embedded trace data\n    telemetry-uploader.ts   # Background zip/encrypt/upload pipeline\n    types.ts                # TelemetryConfig, TraceContextFields, artifact metadata types\n  mcp/\n    trace-capture.ts        # Browser trace capture via CDP (pre/post action hooks)\npatches/\n  @accomplish_ai__agent-core@0.3.2.patch\nscripts/\n  postinstall.sh            # Applies enterprise patch after install\n  post-build.mjs            # Copies augmentation types + MCP tools to dist\n  sync-upstream.sh          # Helper to sync with new upstream versions\ndocs/\n  AGENT_FLIGHT_RECORDER.md  # Detailed architecture documentation\n```\n\n## License\n\nMIT\n","readmeFilename":"README.md"}