dsh-edit-turn 0.5.14 → 0.5.16
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/lib/client.js +8 -5
- package/lib/index.js +1 -1
- package/package.json +1 -1
package/lib/client.js
CHANGED
|
@@ -45,7 +45,7 @@ window.__ModuleLoader__.load({
|
|
|
45
45
|
const RERUN_PREFIX = '/dsh-rerun-turn'
|
|
46
46
|
|
|
47
47
|
/** Keep in sync with package.json and lib/index.js. */
|
|
48
|
-
const PLUGIN_VERSION = '0.5.
|
|
48
|
+
const PLUGIN_VERSION = '0.5.16'
|
|
49
49
|
|
|
50
50
|
// --- copy -----------------------------------------------------------------
|
|
51
51
|
|
|
@@ -5304,7 +5304,7 @@ window.__ModuleLoader__.load({
|
|
|
5304
5304
|
}
|
|
5305
5305
|
|
|
5306
5306
|
/**
|
|
5307
|
-
* The
|
|
5307
|
+
* The package page's configure slot (`plugins.bundle.config`), the same slot
|
|
5308
5308
|
* dsh-delete-turn uses. The manager's summary asks for a one-liner; the page
|
|
5309
5309
|
* itself renders the three-way picker.
|
|
5310
5310
|
*/
|
|
@@ -5479,11 +5479,14 @@ window.__ModuleLoader__.load({
|
|
|
5479
5479
|
),
|
|
5480
5480
|
)
|
|
5481
5481
|
|
|
5482
|
-
|
|
5482
|
+
|
|
5483
|
+
// 同一张卡也挂在包自己的页面上(`#/panel/plugins/dsh-edit-turn`),
|
|
5484
|
+
// 而不是只藏在 `…/dsh-edit-turn/dsh-edit-turn` 那一层。
|
|
5485
|
+
ctx.slots.inject('plugins.bundle.config', () =>
|
|
5483
5486
|
ctx.slots.register(
|
|
5484
5487
|
{
|
|
5485
|
-
name: 'plugins.
|
|
5486
|
-
key: 'dsh-edit-turn
|
|
5488
|
+
name: 'plugins.bundle.config',
|
|
5489
|
+
key: 'dsh-edit-turn',
|
|
5487
5490
|
locale: NS,
|
|
5488
5491
|
},
|
|
5489
5492
|
EditorStyleOption,
|
package/lib/index.js
CHANGED
|
@@ -78,7 +78,7 @@ export const PLUGIN_ID = 'dsh-edit-turn'
|
|
|
78
78
|
export const name = PLUGIN_ID
|
|
79
79
|
|
|
80
80
|
/** Keep in sync with package.json and lib/client.js. */
|
|
81
|
-
export const PLUGIN_VERSION = '0.5.
|
|
81
|
+
export const PLUGIN_VERSION = '0.5.16'
|
|
82
82
|
|
|
83
83
|
// A ring of the last few requests, answering "did the browser half even ask, and
|
|
84
84
|
// what did it get?" without needing its console. Read-only diagnostics: the
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-edit-turn",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.16",
|
|
4
4
|
"description": "Edit any message in DeepSeek Harness in place: a prompt is replaced where it stands; a model reply block (answer text or reasoning) is patched through a plugin record and a message projection, so the turn stays where it is, later turns are untouched and the log grows by one small record. Falls back to the replay splice on hosts without the projection API. The append-only session log is never rewritten.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "lib/index.js",
|