dsh-as-aistudio 0.5.1 → 0.5.2

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 CHANGED
@@ -4,6 +4,12 @@
4
4
 
5
5
  ## 中文
6
6
 
7
+ **0.5.2** —— 跟进三个动作组件:设置卡片同时挂到包自己的页面。
8
+
9
+ - dsh-edit-turn 0.5.15 / dsh-rerun-turn 0.2.8 / dsh-delete-turn 0.2.1:新增 `plugins.bundle.config`(key 是裸包名),
10
+ 于是 `#/panel/plugins/<包名>` 直接能看到设置,不再只能从 `…/<包名>/<包名>` 那一层进去。
11
+ - 内嵌浏览器半部随重新 vendor 更新。
12
+
7
13
  **0.5.1** —— 组件行标出「动作 / 维护」;跟进内嵌组件。
8
14
 
9
15
  - 面板里每个组件行在名字后多一个徽章:`动作`(edit/rerun/delete/markdown)或 `维护`(log-trim)。
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-as-aistudio",
3
- "version": "0.5.1",
3
+ "version": "0.5.2",
4
4
  "description": "Google-AI-Studio-style turn controls for DeepSeek Harness, in one install: edit a prompt and re-run it, re-run a reply in place, delete a turn from the model context, and render sent prompts as Markdown. Self-contained: the plugin list shows this one row, and the four components are vendored inside it - installing the studio installs nothing else.",
5
5
  "type": "module",
6
6
  "main": "src/index.js",
package/src/client.js CHANGED
@@ -43,7 +43,7 @@ window.__ModuleLoader__.load({
43
43
  const RERUN_PREFIX = '/dsh-rerun-turn'
44
44
 
45
45
  /** Keep in sync with package.json and lib/index.js. */
46
- const PLUGIN_VERSION = '0.5.14'
46
+ const PLUGIN_VERSION = '0.5.15'
47
47
 
48
48
  // --- copy -----------------------------------------------------------------
49
49
 
@@ -5488,6 +5488,19 @@ window.__ModuleLoader__.load({
5488
5488
  ),
5489
5489
  )
5490
5490
 
5491
+ // 同一张卡也挂在包自己的页面上(`#/panel/plugins/dsh-edit-turn`),
5492
+ // 而不是只藏在 `…/dsh-edit-turn/dsh-edit-turn` 那一层。
5493
+ ctx.slots.inject('plugins.bundle.config', () =>
5494
+ ctx.slots.register(
5495
+ {
5496
+ name: 'plugins.bundle.config',
5497
+ key: 'dsh-edit-turn',
5498
+ locale: NS,
5499
+ },
5500
+ EditorStyleOption,
5501
+ ),
5502
+ )
5503
+
5491
5504
  ctx.slots.inject('conversation.input.overlay', () =>
5492
5505
  ctx.slots.register(
5493
5506
  {
@@ -5527,7 +5540,7 @@ window.__ModuleLoader__.load({
5527
5540
  const ROUTE_PREFIX = '/dsh-rerun-turn'
5528
5541
 
5529
5542
  /** Keep in sync with package.json and lib/index.js. */
5530
- const PLUGIN_VERSION = '0.2.7'
5543
+ const PLUGIN_VERSION = '0.2.8'
5531
5544
 
5532
5545
  // --- copy -----------------------------------------------------------------
5533
5546
 
@@ -7030,6 +7043,19 @@ window.__ModuleLoader__.load({
7030
7043
  AskBeforeRerunOption,
7031
7044
  ),
7032
7045
  )
7046
+
7047
+ // 同一张卡也挂在包自己的页面上(`#/panel/plugins/dsh-rerun-turn`),
7048
+ // 而不是只藏在 `…/dsh-rerun-turn/dsh-rerun-turn` 那一层。
7049
+ ctx.slots.inject('plugins.bundle.config', () =>
7050
+ ctx.slots.register(
7051
+ {
7052
+ name: 'plugins.bundle.config',
7053
+ key: 'dsh-rerun-turn',
7054
+ locale: NS,
7055
+ },
7056
+ AskBeforeRerunOption,
7057
+ ),
7058
+ )
7033
7059
  }
7034
7060
 
7035
7061
  exports.apply = apply
@@ -8629,6 +8655,19 @@ window.__ModuleLoader__.load({
8629
8655
  AskBeforeDeleteOption,
8630
8656
  ),
8631
8657
  )
8658
+
8659
+ // 同一张卡也挂在包自己的页面上(`#/panel/plugins/dsh-delete-turn`),
8660
+ // 而不是只藏在 `…/dsh-delete-turn/dsh-delete-turn` 那一层。
8661
+ ctx.slots.inject('plugins.bundle.config', () =>
8662
+ ctx.slots.register(
8663
+ {
8664
+ name: 'plugins.bundle.config',
8665
+ key: 'dsh-delete-turn',
8666
+ locale: NS,
8667
+ },
8668
+ AskBeforeDeleteOption,
8669
+ ),
8670
+ )
8632
8671
  }
8633
8672
 
8634
8673
  exports.apply = apply
@@ -10082,7 +10121,7 @@ window.__ModuleLoader__.load({
10082
10121
  const NS = 'dsh-as-aistudio'
10083
10122
 
10084
10123
  /** Keep in sync with package.json and src/components.js. */
10085
- const PLUGIN_VERSION = '0.5.1'
10124
+ const PLUGIN_VERSION = '0.5.2'
10086
10125
 
10087
10126
  /** Presence marker the live verifier reads. */
10088
10127
  const DEBUG_KEY = '__DSH_AS_AISTUDIO__'
package/src/components.js CHANGED
@@ -26,7 +26,7 @@
26
26
  export const STUDIO_ID = 'dsh-as-aistudio'
27
27
 
28
28
  /** Keep in sync with package.json and src/client.js. */
29
- export const STUDIO_VERSION = '0.5.1'
29
+ export const STUDIO_VERSION = '0.5.2'
30
30
 
31
31
  /**
32
32
  * The AI Studio action strip this studio composes, in the order the user meets
@@ -1,6 +1,6 @@
1
1
  // dsh-delete-turn host half (dsh-delete-turn.js), VENDORED by tools/vendor.mjs - DO NOT EDIT.
2
2
  //
3
- // Source: ../dsh-delete-turn/src/index.js (v0.2.0, sha256 5dfc53e5c47750f5)
3
+ // Source: ../dsh-delete-turn/src/index.js (v0.2.1, sha256 5dfc53e5c47750f5)
4
4
  // Regenerate with `npm run vendor`; test/sync.test.js fails when this is stale.
5
5
  //
6
6
  // src/shell.js imports the copy named after the component, which is why the
@@ -1,6 +1,6 @@
1
1
  // dsh-delete-turn host half (dsh-delete-turn.logic.js), VENDORED by tools/vendor.mjs - DO NOT EDIT.
2
2
  //
3
- // Source: ../dsh-delete-turn/src/logic.js (v0.2.0, sha256 6da16435446356ca)
3
+ // Source: ../dsh-delete-turn/src/logic.js (v0.2.1, sha256 6da16435446356ca)
4
4
  // Regenerate with `npm run vendor`; test/sync.test.js fails when this is stale.
5
5
  //
6
6
  // src/shell.js imports the copy named after the component, which is why the
@@ -1,6 +1,6 @@
1
1
  // dsh-edit-turn host half (dsh-edit-turn.js), VENDORED by tools/vendor.mjs - DO NOT EDIT.
2
2
  //
3
- // Source: ../dsh-edit-turn/lib/index.js (v0.5.14, sha256 05cfe37224f79543)
3
+ // Source: ../dsh-edit-turn/lib/index.js (v0.5.15, sha256 c743b82073d1ca1a)
4
4
  // Regenerate with `npm run vendor`; test/sync.test.js fails when this is stale.
5
5
  //
6
6
  // src/shell.js imports the copy named after the component, which is why the
@@ -85,7 +85,7 @@ export const PLUGIN_ID = 'dsh-edit-turn'
85
85
  export const name = PLUGIN_ID
86
86
 
87
87
  /** Keep in sync with package.json and lib/client.js. */
88
- export const PLUGIN_VERSION = '0.5.14'
88
+ export const PLUGIN_VERSION = '0.5.15'
89
89
 
90
90
  // A ring of the last few requests, answering "did the browser half even ask, and
91
91
  // what did it get?" without needing its console. Read-only diagnostics: the
@@ -1,6 +1,6 @@
1
1
  // dsh-edit-turn host half (dsh-edit-turn.patch.js), VENDORED by tools/vendor.mjs - DO NOT EDIT.
2
2
  //
3
- // Source: ../dsh-edit-turn/lib/patch.js (v0.5.14, sha256 5e1e8cce1d168f6c)
3
+ // Source: ../dsh-edit-turn/lib/patch.js (v0.5.15, sha256 5e1e8cce1d168f6c)
4
4
  // Regenerate with `npm run vendor`; test/sync.test.js fails when this is stale.
5
5
  //
6
6
  // src/shell.js imports the copy named after the component, which is why the
@@ -1,6 +1,6 @@
1
1
  // dsh-rerun-turn host half (dsh-rerun-turn.js), VENDORED by tools/vendor.mjs - DO NOT EDIT.
2
2
  //
3
- // Source: ../dsh-rerun-turn/lib/index.js (v0.2.7, sha256 9f163488f55fb398)
3
+ // Source: ../dsh-rerun-turn/lib/index.js (v0.2.8, sha256 9490939d26c589e3)
4
4
  // Regenerate with `npm run vendor`; test/sync.test.js fails when this is stale.
5
5
  //
6
6
  // src/shell.js imports the copy named after the component, which is why the
@@ -90,7 +90,7 @@ export const PLUGIN_ID = 'dsh-rerun-turn'
90
90
  export const name = PLUGIN_ID
91
91
 
92
92
  /** Keep in sync with package.json and lib/client.js. */
93
- export const PLUGIN_VERSION = '0.2.7'
93
+ export const PLUGIN_VERSION = '0.2.8'
94
94
 
95
95
  const ROUTE_PREFIX = '/dsh-rerun-turn'
96
96
  // A session id is an OPAQUE string to DSH: the host's own schema is
@@ -1,7 +1,7 @@
1
1
  {
2
- "dsh-edit-turn": "0.5.14",
3
- "dsh-rerun-turn": "0.2.7",
4
- "dsh-delete-turn": "0.2.0",
2
+ "dsh-edit-turn": "0.5.15",
3
+ "dsh-rerun-turn": "0.2.8",
4
+ "dsh-delete-turn": "0.2.1",
5
5
  "dsh-markdown-bubble": "0.1.5",
6
6
  "dsh-log-trim": "0.5.1"
7
7
  }