codex-work-receipt 0.8.0 → 0.8.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/CHANGELOG.md +1 -1
- package/package.json +1 -1
- package/src/cli.mjs +4 -2
package/CHANGELOG.md
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
- 数据二维码降级为可选单码:只有完整载荷能放进安全 QR version 时才显示扫码入口,不再生成或轮播新的 multipart 二维码。
|
|
12
12
|
- 保留 `cwr1`、`cwr2` 和历史 `cwr2p` 解码兼容;二维码容量不足不再阻止 HTML、JSON、导入文件或本地历史生成。
|
|
13
13
|
- 修复 HTML 长图导出时文字节点被固化宽高后发生的数值换行与错位问题。
|
|
14
|
-
- 更新 HTML
|
|
14
|
+
- 更新 HTML 工具栏并新增响应式侧栏,改善主题切换、长图导出和相关信息浏览体验;这些网页控件不会进入导出图片。
|
|
15
15
|
- 更新中英文 CLI、手机导入、协议、隐私和 Codex Skill 文档。
|
|
16
16
|
|
|
17
17
|
## 0.7.4
|
package/package.json
CHANGED
package/src/cli.mjs
CHANGED
|
@@ -77,10 +77,11 @@ function enableAuto(options) {
|
|
|
77
77
|
});
|
|
78
78
|
startAutomaticRun(result.config);
|
|
79
79
|
printAutomaticEnabled(result, options.locale);
|
|
80
|
+
printOpenSourcePrompt("receipt", options.locale);
|
|
80
81
|
return result;
|
|
81
82
|
}
|
|
82
83
|
|
|
83
|
-
function enableManual(options) {
|
|
84
|
+
function enableManual(options, { showOpenSourcePrompt = true } = {}) {
|
|
84
85
|
const result = configureManualMode({
|
|
85
86
|
dataDir: options.dataDir,
|
|
86
87
|
locale: options.locale,
|
|
@@ -88,6 +89,7 @@ function enableManual(options) {
|
|
|
88
89
|
theme: options.theme,
|
|
89
90
|
});
|
|
90
91
|
printManualEnabled(result, options.locale);
|
|
92
|
+
if (showOpenSourcePrompt) printOpenSourcePrompt("receipt", options.locale);
|
|
91
93
|
return result;
|
|
92
94
|
}
|
|
93
95
|
|
|
@@ -191,7 +193,7 @@ async function main() {
|
|
|
191
193
|
enableAuto(options);
|
|
192
194
|
return;
|
|
193
195
|
}
|
|
194
|
-
enableManual(options);
|
|
196
|
+
enableManual(options, { showOpenSourcePrompt: false });
|
|
195
197
|
}
|
|
196
198
|
const selected = await promptForRange({
|
|
197
199
|
locale: options.locale,
|