You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 22, 2025. It is now read-only.
Add support for versioned artifacts with improved diff handling
* Add versioned artifacts support allowing artifacts to be updated and tracked
- New `ai_artifact_versions` table to store version history
- Support for updating artifacts through a new `UpdateArtifact` tool
- Add version-aware artifact rendering in posts
- Include change descriptions for version tracking
* Enhance artifact rendering and security
- Add support for module-type scripts and external JS dependencies
- Expand CSP to allow trusted CDN sources (unpkg, cdnjs, jsdelivr, googleapis)
- Improve JavaScript handling in artifacts
* Implement robust diff handling system (this is dormant but ready to use once LLMs catch up)
- Add new DiffUtils module for applying changes to artifacts
- Support for unified diff format with multiple hunks
- Intelligent handling of whitespace and line endings
- Comprehensive error handling for diff operations
* Update routes and UI components
- Add versioned artifact routes
- Update markdown processing for versioned artifacts
Also
- Tweaks summary prompt
- Improves upload support in custom tool to also provide urls
Copy file name to clipboardExpand all lines: config/locales/server.en.yml
+4Lines changed: 4 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -205,6 +205,7 @@ en:
205
205
ai_artifact:
206
206
link: "Show Artifact in new tab"
207
207
view_source: "View Source"
208
+
view_changes: "View Changes"
208
209
unknown_model: "Unknown AI model"
209
210
210
211
tools:
@@ -309,6 +310,7 @@ en:
309
310
name: "Base Search Query"
310
311
description: "Base query to use when searching. Example: '#urgent' will prepend '#urgent' to the search query and only include topics with the urgent category or tag."
311
312
tool_summary:
313
+
update_artifact: "Update a web artifact"
312
314
create_artifact: "Create web artifact"
313
315
web_browser: "Browse Web"
314
316
github_search_files: "GitHub search files"
@@ -331,6 +333,7 @@ en:
331
333
search_meta_discourse: "Search Meta Discourse"
332
334
javascript_evaluator: "Evaluate JavaScript"
333
335
tool_help:
336
+
update_artifact: "Update a web artifact using the AI Bot"
334
337
create_artifact: "Create a web artifact using the AI Bot"
335
338
web_browser: "Browse web page using the AI Bot"
336
339
github_search_code: "Search for code in a GitHub repository"
@@ -353,6 +356,7 @@ en:
353
356
search_meta_discourse: "Search Meta Discourse"
354
357
javascript_evaluator: "Evaluate JavaScript"
355
358
tool_description:
359
+
update_artifact: "Updated a web artifact using the AI Bot"
356
360
create_artifact: "Created a web artifact using the AI Bot"
0 commit comments