0.4.0
Lots of changes! See below, or on https://ai.silverbullet.md/Changelog/
Changelog
- Use a separate queue for indexing embeddings and summaries, to prevent blocking the main SB indexing thread
- Refactor to use JSR for most Silverbullet imports, and lots of related changes
- Reduced bundle size
- Add support for space-config
- Add support for [[Templated Prompts|Post Processor]] functions in [[Templated Prompts]].
- AICore Library: Updated all library files to have the meta tag.
- AICore Library: Add space-script functions to be used as post processors:
- indentOneLevel - Indent entire response one level deeper than the previous line.
- removeDuplicateStart - Remove the first line from the response if it matches the line before the response started.
- convertToBulletList - Convert response to a markdown list.
- convertToTaskList - Convert response to a markdown list of tasks.
- Add new insertAt options for [[Templated Prompts]]:
- replace-selection: Replaces the currently selected text with the generated content. If no text is selected, it behaves like the 'cursor' option.
- replace-paragraph: Replaces the entire paragraph (or item) where the cursor is located with the generated content.
- start-of-line: Inserts at the start of the current line.
- end-of-line: Inserts at the end of the current line.
- start-of-item: Inserts at the start of the current item (list item or task).
- end-of-item: Inserts at the end of the current item.
- new-line-above: Inserts on a new line above the current line.
- new-line-below: Inserts on a new line below the current line.
- replace-line: Replaces the current line with the generated content.
- replace-smart: Intelligently replaces content based on context (selected text, current item, or current paragraph).
- AICore Library: Add
aiSplitTodo
slash command and [[^Library/AICore/AIPrompt/AI Split Task]] templated prompt to split a task into smaller subtasks. - AICore Library: Add template prompts for rewriting text, mostly as a demo for the
replace-smart
insertAt option. - Remove need for duplicate
description
frontmatter field for templated prompts. - Revamp docs website to use mkdocs (and mkdocs-material) in addition to silverbullet-pub to handle the silverbullet-specific things like templates/queries.
What's Changed
- Use a separate queue for indexing embeddings and summaries, to prevent blocking the main SB indexing thread by @justyns in #61
- Upgrade SB imports to 0.9.4 by @justyns in #62
- Update denoland/setup-deno action to v1.4.1 by @renovate in #63
- Update actions/checkout action to v4 by @renovate in #64
- Update actions/configure-pages action to v5 by @renovate in #65
- Add support for Space Config by @justyns in #66
- Fix failing tests by @justyns in #67
- Additional insertAt options, add support for postprocessors to templated prompts by @justyns in #68
- Add more insertAt options by @justyns in #69
- Remove duplicate description field in aiPrompt templates by @justyns in #70
- Switch documentation to a combination of silverbullet-pub and mkdocs by @justyns in #71
- Fix render docs command by @justyns in #72
New Contributors
Full Changelog: 0.3.2...0.4.0