useCitationPopover watches its cache-scope getter, so Vue evaluates the sessionId getter synchronously during setup. botmsg.vue called useChatCitationPopover above defineProps, hitting the TDZ on `props` and logging "Cannot access 'props' before initialization" whenever an existing chat session rendered assistant messages. Move the call below defineProps and add a test that compiles every SFC calling a citation popover composable and runs its setup against the real popover chain, so a caller reading props too early fails in CI. |
||
|---|---|---|
| .. | ||
| public | ||
| scripts | ||
| src | ||
| .dockerignore | ||
| .gitignore | ||
| Dockerfile | ||
| docker-entrypoint.sh | ||
| embed.html | ||
| env.d.ts | ||
| index.html | ||
| mcpProxy.test.ts | ||
| nginx-api-proxy.conf | ||
| nginx-http.conf | ||
| nginx.conf | ||
| package-lock.json | ||
| package.json | ||
| package.json.md5 | ||
| pnpm-workspace.yaml | ||
| tsconfig.app.json | ||
| tsconfig.json | ||
| tsconfig.node.json | ||
| vite.config.ts | ||