Skip to content

Releases: johnlindquist/kit

main

05 Dec 17:27

Choose a tag to compare

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

04 Dec 20:49

Choose a tag to compare

2025-12-04-12-48-02

fix(deps): updating to latest deps

main

04 Dec 17:49

Choose a tag to compare

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

27 Nov 17:21

Choose a tag to compare

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> → &lt;div&gt;)
- Newlines converted to <br/>

main

27 Nov 00:48

Choose a tag to compare

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

25 Nov 16:33

Choose a tag to compare

2025-11-25-08-32-21

fix(open): updating to only open with clean env

main

25 Nov 13:55

Choose a tag to compare

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

21 Oct 21:12

Choose a tag to compare

2025-10-21-13-10-54

fix(browse): fixing custom use in

main

14 Oct 23:24

Choose a tag to compare

2025-10-14-15-22-30

fix(packages): version bumps

main

14 Oct 17:02

Choose a tag to compare

2025-10-14-09-00-37

fix(env): avoid kenv escaping