{"_id":"@bridgetek/eveapps-pre82x-core","name":"@bridgetek/eveapps-pre82x-core","dist-tags":{"latest":"1.1.0"},"versions":{"1.1.0":{"name":"@bridgetek/eveapps-pre82x-core","version":"1.1.0","type":"module","publishConfig":{"access":"public"},"main":"dist/index.js","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"scripts":{"build":"tsc -b && cp -r data dist/data","dev":"tsc -w"},"dependencies":{"zod":"^3.25.76"},"devDependencies":{"@types/node":"^24.0.10"},"gitHead":"6b8944bd4b72ea606be109ef436986d5bed8d706","_id":"@bridgetek/eveapps-pre82x-core@1.1.0","description":"Core runtime library for PRE820 and EveApps development workflows.","_nodeVersion":"24.20.0","_npmVersion":"11.19.0","dist":{"integrity":"sha512-5+evh/4C4iU1s185cbKTW+xaiXiYxfbny6nD6vg9jscOkdAKfcIQGPqVNhn1OiSmYXklmi3+oXie0UqkeSW92g==","shasum":"835956490d5d44c35411e881ad658b5f50decb46","tarball":"https://registry.npmjs.org/@bridgetek/eveapps-pre82x-core/-/eveapps-pre82x-core-1.1.0.tgz","fileCount":96,"unpackedSize":654196,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIF2fkZ2gK1EfuSICC9aU49SO3ga8BKbehbyvTzXfBO9MAiEAl8A2fMsYl8OWAScq8bcYGJE71E89Bn29Q0pElVroHJc="}]},"_npmUser":{"name":"lizzhang","email":"zhang.wei@brtchip.com"},"directories":{},"maintainers":[{"name":"paul.jiao","email":"paul.jiao@brtchip.com"},{"name":"lizzhang","email":"zhang.wei@brtchip.com"},{"name":"tuannguyen-chungsoftvn","email":"tuan.nguyen@chungsoftvn.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/eveapps-pre82x-core_1.1.0_1789022263776_0.2338645311567804"},"_hasShrinkwrap":false}},"time":{"created":"2026-09-10T06:37:43.595Z","1.1.0":"2026-09-10T06:37:43.898Z","modified":"2026-09-10T06:37:44.097Z"},"maintainers":[{"name":"paul.jiao","email":"paul.jiao@brtchip.com"},{"name":"lizzhang","email":"zhang.wei@brtchip.com"},{"name":"tuannguyen-chungsoftvn","email":"tuan.nguyen@chungsoftvn.com"}],"description":"Core runtime library for PRE820 and EveApps development workflows.","readme":"# @bridgetek/eveapps-pre82x-core\r\n\r\nCore runtime library for PRE820 and EveApps development workflows.\r\n\r\n`@bridgetek/eveapps-pre82x-core` provides the retrieval engine, ranking logic, indexed data access, and reusable tool implementations used by the `@bridgetek/eveapps-pre82x-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/eveapps-pre82x-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/eveapps-pre82x-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 EveApps-Pre82x MCP Server\r\n\r\nThis package is the core library layer used by:\r\n\r\n`@bridgetek/eveapps-pre82x-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/eveapps-pre82x-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/eveapps-pre82x-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/eveapps-pre82x-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/eveapps-pre82x-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/eveapps-pre82x-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/eveapps-pre82x-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","_rev":"1-f8308474980819a6102c24dae3acdb45"}