dsh-save-session 0.1.0 → 0.1.1
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/index.js +4 -7
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -337,13 +337,10 @@ export function apply(ctx) {
|
|
|
337
337
|
'将当前会话导出为一个 Markdown 文件(.md),自动过滤模型的思考(reasoning)过程与工具调用记录,只保留用户与助手的正文。' +
|
|
338
338
|
'用户要求"保存/导出当前会话为 md"时调用。可选指定输出路径,默认保存到会话工作目录。',
|
|
339
339
|
parameters: {
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
description:
|
|
345
|
-
'输出 .md 文件的路径(绝对路径,或相对于会话工作目录的相对路径)。默认为工作目录下的 session-<时间戳>.md',
|
|
346
|
-
},
|
|
340
|
+
path: {
|
|
341
|
+
type: 'string',
|
|
342
|
+
description:
|
|
343
|
+
'输出 .md 文件的路径(绝对路径,或相对于会话工作目录的相对路径)。默认为工作目录下的 session-<时间戳>.md',
|
|
347
344
|
},
|
|
348
345
|
},
|
|
349
346
|
output: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-save-session",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "DSH plugin: export the current session as Markdown or rendered HTML (with a left TOC panel) via two one-click buttons in the session header. Thinking (reasoning) and tool-call records are filtered out; only user prompts and assistant prose are kept.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "lib/index.js",
|