diff --git a/.agents/agents/rapidoc-core.md b/.agents/agents/rapidoc-core.md index f7ac135dd..899bb075c 100644 --- a/.agents/agents/rapidoc-core.md +++ b/.agents/agents/rapidoc-core.md @@ -7,13 +7,13 @@ You are a specialist agent dedicated to `packages/rapidoc` — the core Lit-base ## Workspace Scope & Key Paths - **Package Directory**: `packages/rapidoc` -- **Component Entry**: `packages/rapidoc/src/index.js` -- **Main Custom Element**: `packages/rapidoc/src/rapidoc.js` +- **Component Entry**: `packages/rapidoc/src/index.ts` +- **Main Custom Element**: `packages/rapidoc/src/rapidoc.ts` - **Parser & Schema Utilities**: - - `packages/rapidoc/src/utils/spec-parser.js` - - `packages/rapidoc/src/utils/schema-ast.js` - - `packages/rapidoc/src/utils/schema-utils.js` - - `packages/rapidoc/src/utils/mock-interceptor.js` + - `packages/rapidoc/src/utils/spec-parser.ts` + - `packages/rapidoc/src/utils/schema-ast.ts` + - `packages/rapidoc/src/utils/schema-utils.ts` + - `packages/rapidoc/src/utils/mock-interceptor.ts` - **Sub-templates**: `packages/rapidoc/src/templates/` - **Styles**: `packages/rapidoc/src/styles/` - **Tests**: `tests/unit/*.test.js`, `tests/perf/benchmark.js` diff --git a/README.md b/README.md index b92a807a8..60b741b0c 100644 --- a/README.md +++ b/README.md @@ -121,7 +121,7 @@ npm run dev npm run stop ``` - Open `http://localhost:4321` in your browser. -- **Live Unminified ES Modules:** In development mode (`npm run dev`), the Astro dev server bypasses pre-compiled production bundles and serves live ES modules directly from `packages/rapidoc/src/index.js`. +- **Live Unminified ES Modules:** In development mode (`npm run dev`), the Astro dev server bypasses pre-compiled production bundles and serves live ES modules directly from `packages/rapidoc/src/index.ts`. - **Full DevTools & Console Visibility:** All `console.log`, `console.warn`, `console.error`, and `debugger` breakpoints remain completely intact with original file names and exact line numbers (e.g., `rapidoc.js:516`). - **Instant Browser Reloading:** Component changes in `packages/rapidoc/src/` trigger immediate hot reloads without waiting for a full Rollup/Vite compilation cycle. @@ -159,7 +159,7 @@ Astro documentation and example pages include the component via ` + +
+