{"_id":"@bridgetek/pre820-eveapps-core","_rev":"3-838d92713aec260287116737441bc3ce","name":"@bridgetek/pre820-eveapps-core","dist-tags":{"latest":"1.0.1"},"versions":{"1.0.0":{"name":"@bridgetek/pre820-eveapps-core","version":"1.0.0","_id":"@bridgetek/pre820-eveapps-core@1.0.0","maintainers":[{"name":"paul.jiao","email":"paul.jiao@brtchip.com"},{"name":"lizzhang","email":"zhang.wei@brtchip.com"},{"name":"tuannguyen-chungsoftvn","email":"tuan.nguyen@chungsoftvn.com"}],"dist":{"shasum":"3750cb94fc90df1696b4d899cf59c3ecc54bbd43","tarball":"https://registry.npmjs.org/@bridgetek/pre820-eveapps-core/-/pre820-eveapps-core-1.0.0.tgz","fileCount":96,"integrity":"sha512-yasyxns6XKPtxTfdB7E4NBcHAdvvBPjtYdfii1gqNfV2CSaBGQTD+EqEsKjRwUp9bFMTvSUiz4FBwaNsNxBu9g==","signatures":[{"sig":"MEUCIAm1nkJMB5MVjGb30mi2DNn0JOn4TYAGhEOOXpZuZw6lAiEA26R44QbLH0VfYFk/IE2vJoiYvE6n23ueExNoSWbN+O8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":653418},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"fdec3dc1ef5ea7bd1a5482204b3a21d9090e32ff","scripts":{"dev":"tsc -w","build":"tsc -b && cp -r data dist/data"},"_npmUser":{"name":"lizzhang","email":"zhang.wei@brtchip.com"},"_npmVersion":"11.19.0","description":"Core runtime library for PRE820 and EveApps development workflows.","directories":{},"_nodeVersion":"24.20.0","dependencies":{"zod":"^3.25.76"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@types/node":"^24.0.10"},"_npmOperationalInternal":{"tmp":"tmp/pre820-eveapps-core_1.0.0_1788768642992_0.4082266965444752","host":"s3://npm-registry-packages-npm-production"},"deprecated":"This package is no longer maintained. Please use @bridgetek/eveapps-pre82x-core instead."},"1.0.1":{"name":"@bridgetek/pre820-eveapps-core","version":"1.0.1","_id":"@bridgetek/pre820-eveapps-core@1.0.1","maintainers":[{"name":"paul.jiao","email":"paul.jiao@brtchip.com"},{"name":"lizzhang","email":"zhang.wei@brtchip.com"},{"name":"tuannguyen-chungsoftvn","email":"tuan.nguyen@chungsoftvn.com"}],"dist":{"shasum":"f98494af50760fb0e3ae040c93c75458689bcade","tarball":"https://registry.npmjs.org/@bridgetek/pre820-eveapps-core/-/pre820-eveapps-core-1.0.1.tgz","fileCount":96,"integrity":"sha512-C4PmRYa8e5YVSp4iJ2B05vEFyX66n+LSlVy4pTM/I5BozWBOcGAohuHVMfb9W/RFlfErr8q542akGuHL+qK1qw==","signatures":[{"sig":"MEYCIQCzJmrOVK70g2cC3z5HLmGKBuZT2PYvLiBVLoQG8pO0CgIhAJVkYjWyrNwv7mvbErUaKkTfX7RmS96We85L1Y0K9Kw+","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":654143},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"1bfd8a60a7e46eb083bdbd6ef8d5959cc185aa2f","scripts":{"dev":"tsc -w","build":"tsc -b && cp -r data dist/data"},"_npmUser":{"name":"lizzhang","email":"zhang.wei@brtchip.com"},"_npmVersion":"11.19.0","description":"Core runtime library for PRE820 and EveApps development workflows.","directories":{},"_nodeVersion":"24.20.0","dependencies":{"zod":"^3.25.76"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@types/node":"^24.0.10"},"_npmOperationalInternal":{"tmp":"tmp/pre820-eveapps-core_1.0.1_1788827740409_0.21436117668339394","host":"s3://npm-registry-packages-npm-production"},"deprecated":"This package is no longer maintained. Please use @bridgetek/eveapps-pre82x-core instead."}},"time":{"created":"2026-09-07T08:10:42.841Z","modified":"2026-09-10T06:45:37.515Z","1.0.0":"2026-09-07T08:10:43.129Z","1.0.1":"2026-09-08T00:35:40.569Z"},"description":"Core runtime library for PRE820 and EveApps development workflows.","maintainers":[{"name":"lizzhang","email":"zhang.wei@brtchip.com"},{"name":"paul.jiao","email":"paul.jiao@brtchip.com"},{"name":"tuannguyen-chungsoftvn","email":"tuan.nguyen@chungsoftvn.com"}],"readme":"# @bridgetek/pre820-eveapps-core\r\n\r\nCore runtime library for PRE820 and EveApps development workflows.\r\n\r\n`@bridgetek/pre820-eveapps-core` provides the retrieval engine, ranking logic, indexed data access, and reusable tool implementations used by the `@bridgetek/pre820-mcp-server`.\r\n\r\nIt includes:\r\n\r\n- Programmatic APIs and utilities for PRE820/EveApps knowledge retrieval\r\n- Sample, command, register, and feature indexing support\r\n- Runtime data files required for search and ranking operations\r\n- Core functionality shared by MCP-based developer tools\r\n\r\n## Installation\r\n\r\nFrom npm (public scoped package):\r\n\r\n```bash\r\nnpm install @bridgetek/pre820-eveapps-core\r\n```\r\n\r\nWhen using this monorepo locally, prefer building from source and referencing the package via workspace path or local import.\r\n\r\n## Quick usage\r\n\r\nImport the primary helpers and tools:\r\n\r\n```ts\r\nimport {\r\n  createWorkspaceContext,\r\n  retrieveAnswer,\r\n  findRelevantSample,\r\n  // ...other exports\r\n} from \"@bridgetek/pre820-eveapps-core\";\r\n\r\nconst context = createWorkspaceContext(\"/path/to/EveApps-repo\");\r\nconst result = await retrieveAnswer({ query: \"display list of commands\" }, { context });\r\n```\r\n\r\nCheck the `src/index.ts` exports for a complete list of exported symbols.\r\n\r\n## Data files\r\n\r\nThe package includes indexed JSON files used at runtime:\r\n\r\n```\r\ndata/\r\n ├── commands.json\r\n ├── samples.json\r\n ├── registers.json\r\n ├── build_matrix.json\r\n └── feature_graph.json\r\n```\r\n\r\nDuring the build process these files are included in:\r\n\r\n`dist/data/`\r\n\r\nand published with the npm package.\r\n\r\n## Relationship with PRE820 MCP Server\r\n\r\nThis package is the core library layer used by:\r\n\r\n`@bridgetek/pre820-mcp-server`\r\n\r\nThe MCP server provides the AI integration layer, while this package provides the underlying:\r\n\r\n- knowledge retrieval\r\n- sample discovery\r\n- API lookup\r\n- ranking and indexing capabilities\r\n\r\n## Development\n\r\nFrom the repo root (monorepo):\r\n\r\n```bash\r\n# install locked dependencies\nnpm ci\n# build this package\r\nnpm --prefix packages/pre820-eveapps-core run build\r\n# or build all packages from root\r\nnpm run build\n```\n\nUse `npm ci` for fresh checkouts and CI builds. Commit the root `package-lock.json` to GitHub so contributors and CI use the same dependency versions. This monorepo shares one root lockfile; do not create a separate lockfile in this package.\n\nTo add or update this package's dependencies, run `npm install <dependency> --workspace @bridgetek/pre820-eveapps-core` from the repository root. Commit the changed package manifest together with the root `package-lock.json`. Keep `node_modules/` ignored by Git.\n\nIf `npm ci` reports that the lockfile and package manifests are out of sync after an intentional dependency change, run `npm install` from the repository root and commit the updated manifests and root lockfile.\n\r\nTypeScript path mapping in `packages/pre820-mcp-server/tsconfig.json` points at the local `src/index.ts` for fast development.\n\n## FT90X and FT93X builds\n\nFT9XX targets support two workflows:\n\n1. Import the `FT9XX` project contained in the selected DemoApps or SampleApp project into the FT9XX Toolchain IDE, then build and run it from the GUI.\n2. Configure and build from an EveApps `build` directory with CMake:\n\n```bash\ncmake -G \"Eclipse CDT4 - Unix Makefiles\" \\\n  -DEVE_APPS_PLATFORM=MM900EV3A \\\n  -DEVE_APPS_GRAPHICS=EVE_GRAPHICS_BT817 \\\n  -DEVE_APPS_DISPLAY=WXGA \\\n  \"-DFT9XX_TOOLCHAIN=C:\\Program Files (x86)\\Bridgetek\\FT9xx Toolchain\" \\\n  ..\ncmake --build ./\n```\n\nUse `cmake --build ./ --target <project>` to build one DemoApps or SampleApp folder. The `generateBuildCommand` API accepts `ft9xx_toolchain` for the installation path and optional `project` for this target.\n\r\n## Publishing\r\n\r\nThis package is scoped to the `@bridgetek` org. To publish:\r\n\r\n```bash\r\ncd packages/pre820-eveapps-core\r\n# ensure version bumped if needed\r\nnpm version patch\r\nnpm publish --access public\r\n```\r\n\r\nThen publish dependent packages (for example `@bridgetek/pre820-mcp-server`) after the core package is available.\r\n\r\n> [!NOTE]\r\n> - The package is configured as a public scoped npm package.\r\n> - If npm account security requires two-factor authentication, an OTP may be required during publishing.\r\n> - Dependent packages such as `@bridgetek/pre820-mcp-server` should be updated after publishing a new core version.\r\n\r\n## License\r\n\r\nSee the repository `LICENSE.md` for licensing details.\r\n\r\n## Maintainers\r\n\r\nBridgeTek internal team\r\n","readmeFilename":"README.md"}