Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 35
release: v0.0.24 (packaging fix + UI polish)#109
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Uh oh!
There was an error while loading. Please reload this page.
Changes from all commits
7e33f1edb649e264f5b7566ed881b278e3bb9bdbfcd820199f7fd6b3File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading. Please reload this page.
Jump to
Uh oh!
There was an error while loading. Please reload this page.
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Uh oh!
There was an error while loading. Please reload this page.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,19 @@ | ||
| import assert from 'assert'; | ||
| import fs from 'fs'; | ||
| import path from 'path'; | ||
| import { fileURLToPath } from 'url'; | ||
| const __filename = fileURLToPath(import.meta.url); | ||
| const __dirname = path.dirname(__filename); | ||
| const projectRoot = path.resolve(__dirname, '..', '..'); | ||
| function readJson(filePath) { | ||
| return JSON.parse(fs.readFileSync(filePath, 'utf8').replace(/^\uFEFF/, '')); | ||
| } | ||
| test('npm package includes plugins directory for Web UI runtime imports', () => { | ||
| const pkg = readJson(path.join(projectRoot, 'package.json')); | ||
| const files = Array.isArray(pkg.files) ? pkg.files : []; | ||
| assert.ok(files.includes('plugins/'), 'package.json files must include plugins/'); | ||
| }); | ||
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Avoid cache-key collisions for long queries.
Truncating the query text to 240 chars can make two different searches share one cache entry, so a later search may get the previous result set until the 4s TTL expires. Use a hash of the full normalized query payload instead of a prefix.
💡 Proposed fix
🤖 Prompt for AI Agents