Releases: johnlindquist/kit
Releases · johnlindquist/kit
main
feat(prompt): enable auto-resize for function-based choices When choices are provided as a function (Mode.GENERATE), the main process was skipping resize since choices arrive dynamically. This enables resize by default for function-based choices so the prompt properly adjusts as results stream in.
main
2025-12-04-12-48-02 fix(deps): updating to latest deps
main
fix(test): make getCommonAncestor tests cross-platform Tests were using hardcoded POSIX paths which fail on Windows because path.resolve() converts them to Windows-style paths. Now using path.join() and endsWith() assertions for portability.
main
fix(test): update parseSnippets HTML test to expect escaped preview The snippets.ts refactor correctly added escapeHTML() to the preview for XSS protection. Update test to expect: - HTML entities escaped (<div> → <div>) - Newlines converted to <br/>
main
feat(scriptlets): extract metadata parser and menu template modules - Extract metadata parsing logic into separate metadata-parser.ts module - Extract scriptlet menu template into scriptlet-menu-template.ts - Add VALID_TOOLS constant for tool type validation - Simplify utils.ts by removing duplicated functionality - Add comprehensive tests for new modules
main
2025-11-25-08-32-21 fix(open): updating to only open with clean env
main
fix(test): remove automatic cleanup race condition in npm test The test was using tmp.withDir which tries to clean up the temp directory after the callback returns. However, with AVA, the tests are only REGISTERED in the callback - they run asynchronously AFTER the callback returns. This caused race conditions: - Windows: EBUSY (files still locked by npm/pnpm processes) - Linux: ENOTEMPTY (files created by tests still exist) Changed to tmp.dir() without automatic cleanup. Temp directories are cleaned by the OS periodically anyway.
main
2025-10-21-13-10-54 fix(browse): fixing custom use in
main
2025-10-14-15-22-30 fix(packages): version bumps
main
2025-10-14-09-00-37 fix(env): avoid kenv escaping