deepseek-harness-intelligent-ui 0.2.7 → 0.2.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +24 -1
- package/THIRD_PARTY_NOTICES.md +6 -0
- package/client/client.js +96 -30
- package/package.json +3 -1
- package/renderer/renderer.js +93 -29
- package/src/catalog/catalog.js +32 -12
- package/src/catalog/patch.js +24 -2
- package/src/commands.js +4 -2
- package/src/compose/compose.js +195 -0
- package/src/compose/constants.js +6 -0
- package/src/config.js +3 -0
- package/src/guidance.js +25 -7
- package/src/plugin.js +7 -3
- package/src/portable/artifacts.js +53 -6
- package/src/tools/compose.js +134 -0
- package/src/tools/patch.js +10 -4
- package/src/tools/render.js +1 -1
- package/src/tools/widget.js +4 -1
package/CHANGELOG.md
CHANGED
|
@@ -6,10 +6,32 @@ All notable changes to this project are documented here. The format follows
|
|
|
6
6
|
|
|
7
7
|
## [Unreleased]
|
|
8
8
|
|
|
9
|
+
## [0.2.8]
|
|
10
|
+
|
|
11
|
+
### Added
|
|
12
|
+
|
|
13
|
+
- `ui_compose`: one answer whose ordered blocks interleave markdown prose with the existing declarative catalog and the existing sandboxed widget, for analysis, teaching and sectioned reports where UI must sit between paragraphs ([#48](https://github.com/dreamfarer-space/deepseek-harness-intelligent-ui/pull/48)). Blocks reuse the existing validators, renderers and sandbox; each catalog block is patchable in place as `<composition uiId>#<block id>`, and block-level session identity keeps same-named components in different blocks independent. The finished composition is shown beneath the reply with a "Copy text" action, and the portable renderer accepts a `composition` artifact. New `enableCompose` setting (default on).
|
|
14
|
+
|
|
15
|
+
- `Choice` single-choice card with "Continue in this session" / "Start new session", and Button `sessionTarget: "new"` to start an independent Agent session in the same workspace, so a decision can be confirmed without typing.
|
|
16
|
+
|
|
17
|
+
### Changed
|
|
18
|
+
|
|
19
|
+
- CI runs the full macOS matrix only nightly, on demand and for releases; pull requests and pushes to `main` cover every other cell ([#49](https://github.com/dreamfarer-space/deepseek-harness-intelligent-ui/pull/49)).
|
|
20
|
+
- Repository automation: new issues are classified with existing labels, and pull requests receive a Chinese static review bound to the reviewed commit ([#50](https://github.com/dreamfarer-space/deepseek-harness-intelligent-ui/pull/50), [#51](https://github.com/dreamfarer-space/deepseek-harness-intelligent-ui/pull/51), [#54](https://github.com/dreamfarer-space/deepseek-harness-intelligent-ui/pull/54)). The bots run trusted default-branch code only, read PR content through the API, review in batches so no file is dropped, and never approve or merge.
|
|
21
|
+
- The 0.2.7 changelog described `ui_compose` before it shipped; it is released for the first time here.
|
|
22
|
+
|
|
23
|
+
### Fixed
|
|
24
|
+
|
|
25
|
+
- Composition state is restored from history only when the receipt and capability checks passed, so a rejected composition cannot become a patchable UI after a reload.
|
|
26
|
+
- Retrying a patched block reuses its original session instead of creating a second one, and widget runtime errors are surfaced in both the DSH client and the standalone renderer.
|
|
27
|
+
- The option picker no longer draws a full-row focus ring, and choosing an option focuses the action instead of the row.
|
|
28
|
+
|
|
9
29
|
## [0.2.7]
|
|
10
30
|
|
|
11
31
|
### Added
|
|
12
32
|
|
|
33
|
+
- `ui_compose`: one answer whose ordered blocks interleave markdown prose with the existing declarative catalog and the existing sandboxed widget, for analysis, teaching and sectioned reports where UI must sit between paragraphs. Blocks reuse the existing validators, renderers and sandbox; each catalog block is patchable in place as `<composition uiId>#<block id>`. New `enableCompose` setting (default on). The finished composition is shown beneath the reply with a "Copy text" action, and the portable renderer accepts a `composition` artifact. Guidance now routes prose-heavy answers here while keeping dashboards terse.
|
|
34
|
+
|
|
13
35
|
- `Choice` single-choice card with "Continue in this session" / "Start new session", and Button `sessionTarget: "new"` to start an independent Agent session in the same workspace ([#39](https://github.com/dreamfarer-space/deepseek-harness-intelligent-ui/pull/39)).
|
|
14
36
|
- `Table` data-grid options ([#17](https://github.com/dreamfarer-space/deepseek-harness-intelligent-ui/issues/17)): typed sorting (numbers, ISO 8601 dates, booleans; empty values last), `columnTypes`, `searchable`, `filterable` (per-column contains / min-max ranges, AND-combined), `pageSize` for inline rows, and `exportable` CSV/Markdown of the filtered, sorted rows. All local; nothing is sent to the model. Interaction state survives remounts and reloads.
|
|
15
37
|
- CSV export is RFC 4180 with a UTF-8 BOM and neutralises spreadsheet formula injection (`=`, `+`, `-`, `@`, TAB, CR); Markdown export escapes table syntax.
|
|
@@ -156,7 +178,8 @@ All notable changes to this project are documented here. The format follows
|
|
|
156
178
|
- The declarative component catalog (`ui_render`) and sandboxed streaming HTML widgets (`ui_render_widget`).
|
|
157
179
|
- The `/ui` command and the guidance system-prompt section.
|
|
158
180
|
|
|
159
|
-
[Unreleased]: https://github.com/dreamfarer-space/deepseek-harness-intelligent-ui/compare/v0.2.
|
|
181
|
+
[Unreleased]: https://github.com/dreamfarer-space/deepseek-harness-intelligent-ui/compare/v0.2.8...HEAD
|
|
182
|
+
[0.2.8]: https://github.com/dreamfarer-space/deepseek-harness-intelligent-ui/compare/v0.2.7...v0.2.8
|
|
160
183
|
[0.2.7]: https://github.com/dreamfarer-space/deepseek-harness-intelligent-ui/compare/v0.2.6...v0.2.7
|
|
161
184
|
[0.2.6]: https://github.com/dreamfarer-space/deepseek-harness-intelligent-ui/compare/v0.2.5...v0.2.6
|
|
162
185
|
[0.2.5]: https://github.com/dreamfarer-space/deepseek-harness-intelligent-ui/compare/v0.2.4...v0.2.5
|
package/THIRD_PARTY_NOTICES.md
CHANGED
|
@@ -14,6 +14,12 @@ This plugin adapts the following from OpenIntelligentUI. It contains no verbatim
|
|
|
14
14
|
|
|
15
15
|
Copyright (c) CopilotKit. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, subject to the condition that the above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND.
|
|
16
16
|
|
|
17
|
+
## react-markdown and remark-gfm — MIT License
|
|
18
|
+
|
|
19
|
+
https://github.com/remarkjs/react-markdown (10.1.0) and https://github.com/remarkjs/remark-gfm (4.0.1) are bundled into `client/client.js` and `renderer/renderer.js` to render the prose blocks of composed answers. Raw HTML is never rendered and links are restricted to http(s)/mailto.
|
|
20
|
+
|
|
21
|
+
Copyright (c) 2015 Espen Hovlandsdal. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND.
|
|
22
|
+
|
|
17
23
|
## idiomorph — 0BSD License
|
|
18
24
|
|
|
19
25
|
https://github.com/bigskysoftware/idiomorph (v0.7.4). Its minified build is embedded in `client/client.js` and injected into widget preview frames.
|