WeKnora/scripts
lyingbug 270b64f6ec
feat(agent): preview skill artifacts and verify installs without running them (#2823)
* feat(agent): preview skill artifacts and verify installs without running them

Generated files open in the chat drawer with overlay/Esc returning to the
list, and install verification no longer executes guessed skill entry
points. A failed install can be retried from the saved archive.

* ui(chat): use a folder icon and corner count for skill artifacts

The eye and document glyphs read as preview or copy, and TDesign's
loading spinner sat beside the icon. A folder with a top-right count
matches the generated-files drawer without covering the toolbar action.

* feat(artifact): implement inline artifact references with previews

Add support for inline artifact references in Markdown, allowing generated files to be displayed as clickable cards. Implemented a new rendering mechanism for artifacts, enabling previews directly from the chat interface. Updated localization files for new inline preview hints and missing file messages. Introduced tests for artifact reference normalization and rendering logic.

* fix(client): document AgentResponseType constants for revive

Touching the const block made golangci-lint require comments on every
exported value. Match the rest of the SDK and describe artifacts_pending.

* fix(agent): wrap artifact-reference prompt lines for lll

Pre-push golangci-lint rejected the branch on three lines over 120
characters in the sandbox: reference guidance.

* fix(agent): scope HTML scripts and tighten install verification

Keep scripted HTML preview on skill artifacts only, recreate sandbox
workspace dirs after they are deleted, and treat nested skill files as
dependencies rather than first-party imports.

* refactor(artifact): enhance artifact reference handling and metadata

Updated artifact metadata to include a stable resource handle for better identification. Adjusted artifact reference resolution to support both handle and name forms, ensuring compatibility with existing references. Enhanced tests to validate the new handling logic and ensure proper rendering of artifacts in chat messages. Improved documentation for clarity on artifact reference formats and their usage in the system.
2026-08-27 10:30:32 +08:00
..
cloud-image docs: clarify Docker image release tags 2026-08-24 17:01:32 +08:00
git-hooks feat(sandbox): Docker 后端支持会话级长驻容器与远程守护进程 2026-08-24 12:22:58 +08:00
build-anydoc-lib.sh fix(anydoc): rebuild truncated patched crate instead of failing cargo 2026-08-21 16:16:33 +08:00
build_frontend_dist.sh feat(docker): streamline frontend build process and update Docker configuration 2026-06-10 16:04:11 +08:00
build_images.sh feat(agent): preview skill artifacts and verify installs without running them (#2823) 2026-08-27 10:30:32 +08:00
check-env.sh feat(storage): support AWS S3 NoAk default credentials (#2008) 2026-08-05 11:59:02 +08:00
dev.sh feat(docparser): 引入 anydoc 引擎,在 Go 进程内解析 office 文档 2026-08-16 11:37:27 +08:00
docker-entrypoint.sh feat: enhance Docker setup with entrypoint script and skill management 2026-03-05 18:14:14 +08:00
get_version.sh feat: introduce WeKnora Lite edition with lightweight configuration and deployment 2026-03-02 21:21:49 +08:00
install-git-hooks.sh fix(datasource): perform real sync deletions scoped per data source (#2690) 2026-08-13 19:52:44 +08:00
migrate.sh feat: 支持数据库迁移脏状态自动恢复和Neo4j连接重试机制 2025-12-08 19:38:16 +08:00
package-lite.sh Revert "chore: make Lite edition support and related configurations hidden" 2026-04-11 18:51:16 +08:00
package-mac-app.sh feat: implement desktop app structure with API base URL handling and bindings for Wails integration 2026-04-11 18:51:16 +08:00
quick-dev.sh refactor(tracing): remove Jaeger integration and related components 2026-06-08 21:01:04 +08:00
start_all.sh refactor(tracing): remove Jaeger integration and related components 2026-06-08 21:01:04 +08:00
test-homebrew.sh Revert "chore: make Lite edition support and related configurations hidden" 2026-04-11 18:51:16 +08:00
update-homebrew-formula.sh Revert "chore: make Lite edition support and related configurations hidden" 2026-04-11 18:51:16 +08:00
verify_frontend_pr.sh chore(cursor): run frontend CI before gh pr create 2026-07-31 11:54:20 +08:00