xparse-cli 2.3.0-beta.8 → 2.3.0-beta.9

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.
Files changed (2) hide show
  1. package/README.md +8 -5
  2. package/package.json +7 -7
package/README.md CHANGED
@@ -159,11 +159,14 @@ xparse-cli task run a.pdf b.jpg c.pdf \
159
159
  --password c.pdf=open-c
160
160
  ```
161
161
 
162
- 若服务端仍返回 `40423`,CLI 会扫描完本批次并一次性返回所有缺失或错误密码文件;使用返回的
163
- selector 和同一 `operation_id` 补充 `--password selector=password` 后重试。已经知道的密码不依赖
164
- `40423` 发现。显式复用同一 `operation_id` 时,CLI 会先解析已 ready 的上传资产,仅重新传输尚未
165
- 成功的文件;旧服务端不支持解析接口时自动回退到原上传流程。对于已经创建的 Task,可只更新失败
166
- Resource 并新建一个 selected-files Run:
162
+ 如果上传阶段返回 `PASSWORD_INPUT_REQUIRED`,CLI 会扫描完本批次并一次性返回所有缺失或错误
163
+ 密码文件。使用返回的 selector 和同一 `operation_id` 补充 `--password selector=password`,然后
164
+ 重放原始命令:首次提交重放 `task run`,`task rerun --mode new-files` 增加文件时则重放原 rerun。
165
+ 显式复用同一 `operation_id` 时,CLI 会复用已 ready 的上传资产。此时即使错误中已有 `task_id`,
166
+ 尚未成功上传的新文件也不是 Task Resource,不能使用 `task continue`。
167
+
168
+ 只有 Task Run 已经接受、`task debug` 确认现有 Resource 在执行阶段返回密码错误时,才更新该
169
+ Resource 的访问密码并创建 selected-files Run:
167
170
 
168
171
  ```bash
169
172
  xparse-cli task continue <task-id> \
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "xparse-cli",
3
- "version": "2.3.0-beta.8",
3
+ "version": "2.3.0-beta.9",
4
4
  "description": "TextIn xParse command-line client for document parsing",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -19,12 +19,12 @@
19
19
  "node": ">=18"
20
20
  },
21
21
  "optionalDependencies": {
22
- "xparse-cli-darwin-amd64": "2.3.0-beta.8",
23
- "xparse-cli-darwin-arm64": "2.3.0-beta.8",
24
- "xparse-cli-linux-amd64": "2.3.0-beta.8",
25
- "xparse-cli-linux-arm64": "2.3.0-beta.8",
26
- "xparse-cli-windows-amd64": "2.3.0-beta.8",
27
- "xparse-cli-windows-arm64": "2.3.0-beta.8"
22
+ "xparse-cli-darwin-amd64": "2.3.0-beta.9",
23
+ "xparse-cli-darwin-arm64": "2.3.0-beta.9",
24
+ "xparse-cli-linux-amd64": "2.3.0-beta.9",
25
+ "xparse-cli-linux-arm64": "2.3.0-beta.9",
26
+ "xparse-cli-windows-amd64": "2.3.0-beta.9",
27
+ "xparse-cli-windows-arm64": "2.3.0-beta.9"
28
28
  },
29
29
  "publishConfig": {
30
30
  "access": "public",