mirror of
https://github.com/Heretek-AI/opencode-rea.git
synced 2026-11-07 10:56:10 -10:00
- Added `codemode` option to `ReaOptions` for flexible tool behavior. - Updated `parseOptions` to validate and handle `codemode` correctly. - Enhanced readiness reporting to include `codemodeToolCount` and `directToolCount`. - Implemented `countReaToolsByMode` to categorize tools based on their mode. - Introduced `applyReaToolCatalogPolicy` to manage tool registration and options. - Registered new commands for REA, ensuring they operate within the context of the server. - Updated tests to cover new functionality and ensure correctness of tool counts and options. - Adjusted documentation to reflect changes in options and tool behavior.
8 lines
457 B
JavaScript
8 lines
457 B
JavaScript
// Packaging entrypoint: the host resolves a local plugin directory via a
|
|
// root index.js and ignores package.json main/exports — without this file a
|
|
// packed+extracted dir is silently never loaded (no LoadError; T14 probe:
|
|
// 12 builtin tools only, no rea_readiness; with this re-export: 13 tools,
|
|
// rea_readiness completes). Same shape as the T11 wrapper / T12 staging fix.
|
|
export { default } from "./dist/index.js";
|
|
export * from "./dist/index.js";
|