deep-read-summarize 0.3.13 → 0.3.15
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/.env.example +13 -12
- package/CHANGELOG.md +376 -321
- package/README.en.md +11 -5
- package/README.md +10 -5
- package/cordis.patch.yml +4 -0
- package/docs/RELEASE.md +3 -1
- package/index.js +18 -2
- package/lib/cache.js +102 -102
- package/lib/workflow-script.txt +215 -0
- package/package.json +71 -73
- package/parsers/_prompt.js +44 -44
- package/scripts/lint.js +62 -14
- package/workflow.js +6 -1
- package/docs/RELEASE-v0.1.0.md +0 -61
- package/tests/cache.test.js +0 -117
- package/tests/fixtures/fable.txt +0 -28
- package/tests/index.test.js +0 -456
- package/tests/quick_validate.js +0 -52
- package/tests/run-tests.js +0 -275
package/.env.example
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
|
-
#
|
|
2
|
-
#
|
|
3
|
-
#
|
|
1
|
+
# deep-read-summarize 用到的环境变量(全部可选)
|
|
2
|
+
#
|
|
3
|
+
# ⚠️ 本项目没有任何 dotenv 加载器(零依赖),**把本文件复制成 .env 不会生效**。
|
|
4
|
+
# 请在启动 DSH 的那个环境里直接设置(shell 的 export / Windows 的 setx)。
|
|
5
|
+
#
|
|
6
|
+
# 其余配置不是环境变量,而是插件 config 或 workflow 的 options:
|
|
7
|
+
# outputDir / tempDir / minWords / maxChunks / fastMode / transcribe /
|
|
8
|
+
# requireCitations / includeTimestamps / whisperModel / language / device / maxRetries
|
|
4
9
|
|
|
5
|
-
#
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
OUTPUT_DIR=./output
|
|
11
|
-
|
|
12
|
-
# 可选:临时目录
|
|
13
|
-
TEMP_DIR=./_deepread_temp
|
|
10
|
+
# uv 拉取 CPython 时使用的 GitHub 镜像前缀(只在需要下载 Python 3.12 时才用得上)。
|
|
11
|
+
# 默认:https://ghfast.top/https://github.com/astral-sh/python-build-standalone/releases/download
|
|
12
|
+
# 设为空字符串 = 完全不用镜像、直连 GitHub。
|
|
13
|
+
# 注:镜像只是加速手段 —— 脚本在镜像失败时会自动改用直连重试一次。
|
|
14
|
+
DRS_UV_PYTHON_MIRROR=
|