@laiye-adp/agentic-doc-parse-and-extract-cli 1.11.0-beta.4

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/README.md ADDED
@@ -0,0 +1,214 @@
1
+ # ADP CLI
2
+
3
+ Official command-line tool for [Laiye ADP (Agentic Document Processing)](https://adp-global.laiye.com/) — document parsing and intelligent field extraction.
4
+
5
+ [English](README.md) | [简体中文](README.zh.md)
6
+
7
+ ## Features
8
+
9
+ - **Document Parsing** — Turn any type of document into structured data (Markdown or JSON)
10
+ - **Invoice/Receipt/Purchase Order Extraction** — Extract key information and line items from invoices, receipts, purchase orders and more
11
+ - **Custom Document Extraction** — Extract custom fields from any type of document
12
+ - **Batch Processing** — Concurrently process multiple documents in a folder or from URLs, with per-file result output
13
+ - **Sync/Async** — Support both sync and async processing modes
14
+ - **Two-Phase Async** — `--async --no-wait` submits tasks and outputs task-id list; `query --file` resumes from where you left off
15
+ - **Reliability** — Automatic retry with exponential backoff (`--retry`), fine-grained exit codes
16
+ - **Cross Platform** — Windows / Linux / macOS, static binaries with no dependencies
17
+
18
+ ## Supported Formats
19
+
20
+ `.jpg` `.jpeg` `.png` `.bmp` `.tiff` `.tif` `.pdf` `.doc` `.docx` `.xls` `.xlsx` `.ppt` `.pptx` (max 50MB per file)
21
+
22
+ ## Install
23
+
24
+ ```bash
25
+ # npm (recommended)
26
+ npm install -g @laiye-adp/agentic-doc-parse-and-extract-cli
27
+
28
+ # Linux / macOS
29
+ curl -fsSL https://raw.githubusercontent.com/laiye-ai/adp-cli/main/scripts/adp-init.sh | bash
30
+
31
+ # Windows (PowerShell)
32
+ irm https://raw.githubusercontent.com/laiye-ai/adp-cli/main/scripts/adp-init.ps1 | iex
33
+ ```
34
+
35
+ Or download a prebuilt binary from [GitHub Releases](https://github.com/laiye-ai/adp-cli/releases).
36
+
37
+ ## Configure
38
+
39
+ Get an API key at [https://adp-global.laiye.com/](https://adp-global.laiye.com/) (new users get 100 free credits per month).
40
+
41
+ ```bash
42
+ adp config set --api-key <your-api-key>
43
+ adp config set --api-base-url https://adp-global.laiye.com
44
+ adp config get
45
+ ```
46
+
47
+ ## Quick Examples
48
+
49
+ ```bash
50
+ # List available apps
51
+ adp app-id list
52
+
53
+ # Parse a local document
54
+ adp parse local ./invoice.pdf --app-id <app-id>
55
+
56
+ # Extract key fields
57
+ adp extract local ./invoice.pdf --app-id <app-id>
58
+
59
+ # Parse a directory in async mode
60
+ adp parse local ./documents/ --app-id <app-id> --async
61
+
62
+ # Process a remote URL
63
+ adp extract url https://example.com/file.pdf --app-id <app-id>
64
+
65
+ # Query an async task
66
+ adp parse query <task-id>
67
+
68
+ # Two-phase async (submit + query separately, resumable)
69
+ adp extract local ./documents/ --app-id <app-id> --async --no-wait --export tasks.json
70
+ adp extract query --watch --file tasks.json
71
+
72
+ # Auto retry on failure (up to 2 retries)
73
+ adp parse local ./documents/ --app-id <app-id> --retry 2
74
+
75
+ # Check remaining credits
76
+ adp credit
77
+ ```
78
+
79
+ ## Commands
80
+
81
+ > AI agents should call `adp schema` for the machine-readable, authoritative command spec. The table below is a human-friendly summary.
82
+
83
+ | Command | Description |
84
+ |---|---|
85
+ | `adp version` | Print version |
86
+ | `adp config set` | Set API key / base URL |
87
+ | `adp config get` | Show current config |
88
+ | `adp config clear` | Clear config |
89
+ | `adp app-id list` | List available apps |
90
+ | `adp app-id cache` | Read app list from local cache |
91
+ | `adp parse local <path>` | Parse local file/directory |
92
+ | `adp parse url <url>` | Parse remote file (URL list file supported) |
93
+ | `adp parse base64 <data>` | Parse Base64-encoded content |
94
+ | `adp parse query <task-id...>` | Query async parse tasks (supports multiple IDs or `--file`) |
95
+ | `adp extract local <path>` | Extract from local file/directory |
96
+ | `adp extract url <url>` | Extract from remote file |
97
+ | `adp extract base64 <data>` | Extract from Base64-encoded content |
98
+ | `adp extract query <task-id...>` | Query async extract tasks (supports multiple IDs or `--file`) |
99
+ | `adp custom-app create` | Create a custom extraction app |
100
+ | `adp custom-app update` | Update custom app config |
101
+ | `adp custom-app get-config` | Show app config |
102
+ | `adp custom-app delete` | Delete a custom app |
103
+ | `adp custom-app delete-version` | Delete a specific config version |
104
+ | `adp custom-app ai-generate` | AI-recommend extraction fields |
105
+ | `adp credit` | Show remaining credits |
106
+ | `adp schema` | Output command schema (for AI agents) |
107
+
108
+ ## Flags
109
+
110
+ | Flag | Description |
111
+ |---|---|
112
+ | `--json` | Output JSON |
113
+ | `--quiet` | Quiet mode, output result only |
114
+ | `--lang <en\|zh>` | Interface language |
115
+ | `--app-id` | App ID (required for parse / extract) |
116
+ | `--async` | Async mode |
117
+ | `--no-wait` | Submit tasks only, do not wait for results (use with `--async`) |
118
+ | `--export <path>` | Export result to file (single file) or directory (batch) |
119
+ | `--timeout <seconds>` | Timeout (default 900s) |
120
+ | `--concurrency <n>` | Concurrent workers (free: max 1, paid: max 2) |
121
+ | `--retry <n>` | Retries for retryable errors (default 0) |
122
+ | `--file <path>` | Read task IDs from JSON file (output of `--no-wait`, query only) |
123
+
124
+ ## Async Workflow
125
+
126
+ For large files or batch jobs, submit with `--async` and the CLI returns a `task-id`. Poll for results with `parse query` / `extract query`:
127
+
128
+ ```bash
129
+ adp parse local ./big.pdf --app-id <app-id> --async
130
+ # returns a task-id
131
+
132
+ adp parse query <task-id>
133
+ ```
134
+
135
+ ### Two-Phase Async (`--no-wait`)
136
+
137
+ By default, `--async` submits and polls until completion — ideal for AI agents. For resumable workflows, use two-phase mode:
138
+
139
+ **Phase 1: Submit tasks**
140
+
141
+ ```bash
142
+ adp extract local ./documents/ --app-id <app-id> --async --no-wait --export tasks.json
143
+ ```
144
+
145
+ Output is a JSON array with task IDs:
146
+
147
+ ```json
148
+ [
149
+ {"path": "invoice.pdf", "task_id": "task_abc123"},
150
+ {"path": "contract.pdf", "task_id": "task_def456"}
151
+ ]
152
+ ```
153
+
154
+ **Phase 2: Query results**
155
+
156
+ ```bash
157
+ adp extract query --watch --file tasks.json
158
+ adp extract query --watch --file tasks.json --export ./results/
159
+ ```
160
+
161
+ Even if the CLI crashes mid-way, task IDs in `tasks.json` are preserved — resume anytime with `query --file`.
162
+
163
+ ## Batch Processing
164
+
165
+ When processing multiple files/URLs, the CLI writes each result to a separate file:
166
+
167
+ ```
168
+ adp_results_20250417_153020/
169
+ ├── _summary.json # Summary (total, success, failed, per-file status)
170
+ ├── invoice_01.pdf.json # Successful result
171
+ ├── contract_02.docx.json
172
+ └── report_03.pdf.error.json # Error details
173
+ ```
174
+
175
+ - `--export <dir>` — specify output directory
176
+ - Without `--export` — auto-creates `adp_results_<timestamp>/`
177
+ - Single file — outputs to stdout or the `--export` file path
178
+
179
+ ## Exit Codes
180
+
181
+ | Code | Meaning |
182
+ |------|---------|
183
+ | `0` | All success |
184
+ | `1` | All failed / system error |
185
+ | `2` | Parameter error |
186
+ | `3` | Resource not found |
187
+ | `4` | Permission denied |
188
+ | `5` | Conflict |
189
+ | `6` | Partial failure (some tasks failed in batch) |
190
+
191
+ ## Environment Variables
192
+
193
+ | Variable | Description |
194
+ |---|---|
195
+ | `ADP_API_KEY` | API key (overrides config file) |
196
+ | `ADP_API_BASE_URL` | Service URL |
197
+ | `ADP_LANG` | Interface language (`en` / `zh`) |
198
+ | `ADP_LOG_LEVEL` | Log level (`debug` / `info` / `warn` / `error`) |
199
+
200
+ ## Config Storage
201
+
202
+ - Config dir: `~/.adp/`
203
+ - Config file: `~/.adp/config.json`
204
+ - Encrypted API key: `~/.adp/key.enc` (AES-256-GCM)
205
+ - App cache: `~/.adp/app_cache.json`
206
+ - Version check cache: `~/.adp/version_check.json` (refreshed every 24h)
207
+
208
+ ## License
209
+
210
+ Commercial license — see [license.md](license.md). Free for non-commercial use (personal learning, research, teaching, open-source community). Commercial use requires written authorization from Laiye Technology. Contact: global_product@laiye.com
211
+
212
+ ## Contributing
213
+
214
+ Build all platforms with `make build-all VERSION=v1.0.0`. Run E2E tests with `bash tests/test.sh`.
package/README.zh.md ADDED
@@ -0,0 +1,214 @@
1
+ # ADP CLI
2
+
3
+ 来也科技 [ADP(Agentic Document Processing)](https://adp.laiye.com/) 产品的官方命令行工具 —— 文档解析与智能字段抽取。
4
+
5
+ [English](README.md) | [简体中文](README.zh.md)
6
+
7
+ ## 功能
8
+
9
+ - **文档解析** — 将文档转换为结构化文本(Markdown 或 JSON)
10
+ - **发票/订单抽取** — 从发票、收据、采购订单等文档中抽取关键字段和表格
11
+ - **自定义文档抽取** — 从任意类型的文档中抽取自定义字段或表格
12
+ - **批量处理** — 并发处理文件夹或 URL 列表中的多个文档,每个文件单独输出结果
13
+ - **同步/异步** — 支持同步和异步两种模式
14
+ - **两阶段异步** — `--async --no-wait` 仅提交任务并输出 task-id 列表;`query --file` 从中断处恢复查询
15
+ - **可靠性** — 自动重试与指数退避(`--retry`),细粒度退出码
16
+ - **跨平台** — Windows / Linux / macOS,静态二进制无依赖
17
+
18
+ ## 支持的文件格式
19
+
20
+ `.jpg` `.jpeg` `.png` `.bmp` `.tiff` `.tif` `.pdf` `.doc` `.docx` `.xls` `.xlsx` `.ppt` `.pptx`(单文件最大 50MB)
21
+
22
+ ## 安装
23
+
24
+ ```bash
25
+ # npm(推荐)
26
+ npm install -g @laiye-adp/agentic-doc-parse-and-extract-cli
27
+
28
+ # Linux / macOS
29
+ curl -fsSL https://raw.githubusercontent.com/laiye-ai/adp-cli/main/scripts/adp-init.sh | bash
30
+
31
+ # Windows(PowerShell)
32
+ irm https://raw.githubusercontent.com/laiye-ai/adp-cli/main/scripts/adp-init.ps1 | iex
33
+ ```
34
+
35
+ 或从 [GitHub Releases](https://github.com/laiye-ai/adp-cli/releases) 下载预编译二进制。
36
+
37
+ ## 配置
38
+
39
+ 访问 [https://adp.laiye.com/](https://adp.laiye.com/) 注册并获取 API Key(新用户每月 100 免费积分)。
40
+
41
+ ```bash
42
+ adp config set --api-key <your-api-key>
43
+ adp config set --api-base-url https://adp.laiye.com
44
+ adp config get
45
+ ```
46
+
47
+ ## 快速示例
48
+
49
+ ```bash
50
+ # 查看可用应用
51
+ adp app-id list
52
+
53
+ # 解析本地文档
54
+ adp parse local ./invoice.pdf --app-id <app-id>
55
+
56
+ # 抽取关键字段
57
+ adp extract local ./invoice.pdf --app-id <app-id>
58
+
59
+ # 异步解析目录
60
+ adp parse local ./documents/ --app-id <app-id> --async
61
+
62
+ # 处理远程 URL
63
+ adp extract url https://example.com/file.pdf --app-id <app-id>
64
+
65
+ # 查询异步任务
66
+ adp parse query <task-id>
67
+
68
+ # 两阶段异步(分开提交和查询,支持断点续传)
69
+ adp extract local ./documents/ --app-id <app-id> --async --no-wait --export tasks.json
70
+ adp extract query --watch --file tasks.json
71
+
72
+ # 失败自动重试(最多 2 次)
73
+ adp parse local ./documents/ --app-id <app-id> --retry 2
74
+
75
+ # 查看剩余积分
76
+ adp credit
77
+ ```
78
+
79
+ ## 命令
80
+
81
+ > AI Agent 应调用 `adp schema` 获取机器可读的权威命令规格。下表仅供人类速查。
82
+
83
+ | 命令 | 说明 |
84
+ |---|---|
85
+ | `adp version` | 显示版本号 |
86
+ | `adp config set` | 设置 API Key / 服务地址 |
87
+ | `adp config get` | 查看当前配置 |
88
+ | `adp config clear` | 清除配置 |
89
+ | `adp app-id list` | 列出可用应用 |
90
+ | `adp app-id cache` | 从本地缓存读取应用列表 |
91
+ | `adp parse local <path>` | 解析本地文件/目录 |
92
+ | `adp parse url <url>` | 解析远程文件(支持 URL 列表文件) |
93
+ | `adp parse base64 <data>` | 解析 Base64 编码内容 |
94
+ | `adp parse query <task-id...>` | 查询异步解析任务(支持多个 ID 或 `--file`) |
95
+ | `adp extract local <path>` | 抽取本地文件/目录 |
96
+ | `adp extract url <url>` | 抽取远程文件 |
97
+ | `adp extract base64 <data>` | 抽取 Base64 编码内容 |
98
+ | `adp extract query <task-id...>` | 查询异步抽取任务(支持多个 ID 或 `--file`) |
99
+ | `adp custom-app create` | 创建自定义抽取应用 |
100
+ | `adp custom-app update` | 更新自定义应用配置 |
101
+ | `adp custom-app get-config` | 查看应用配置 |
102
+ | `adp custom-app delete` | 删除自定义应用 |
103
+ | `adp custom-app delete-version` | 删除指定配置版本 |
104
+ | `adp custom-app ai-generate` | AI 推荐抽取字段 |
105
+ | `adp credit` | 查看剩余积分 |
106
+ | `adp schema` | 输出命令 Schema(供 AI Agent 使用) |
107
+
108
+ ## 参数
109
+
110
+ | 参数 | 说明 |
111
+ |---|---|
112
+ | `--json` | 以 JSON 格式输出 |
113
+ | `--quiet` | 静默模式,仅输出结果 |
114
+ | `--lang <en\|zh>` | 指定界面语言 |
115
+ | `--app-id` | 应用 ID(parse / extract 必填) |
116
+ | `--async` | 异步模式 |
117
+ | `--no-wait` | 仅提交任务,不等待结果(与 `--async` 配合使用) |
118
+ | `--export <path>` | 导出结果到文件(单文件)或目录(批量) |
119
+ | `--timeout <seconds>` | 超时时间(默认 900 秒) |
120
+ | `--concurrency <n>` | 并发数(免费用户最大 1,付费用户最大 2) |
121
+ | `--retry <n>` | 可重试错误的重试次数(默认 0) |
122
+ | `--file <path>` | 从 JSON 文件读取任务 ID(`--no-wait` 的输出文件,仅 query 可用) |
123
+
124
+ ## 异步工作流
125
+
126
+ 处理大文件或批量任务时,使用 `--async` 提交任务,CLI 返回 `task-id`,再用 `parse query` / `extract query` 轮询结果:
127
+
128
+ ```bash
129
+ adp parse local ./big.pdf --app-id <app-id> --async
130
+ # 返回一个 task-id
131
+
132
+ adp parse query <task-id>
133
+ ```
134
+
135
+ ### 两阶段异步(`--no-wait`)
136
+
137
+ 默认情况下,`--async` 会提交并轮询直到完成——适合 AI Agent 使用。对于可恢复的工作流,使用两阶段模式:
138
+
139
+ **第一阶段:提交任务**
140
+
141
+ ```bash
142
+ adp extract local ./documents/ --app-id <app-id> --async --no-wait --export tasks.json
143
+ ```
144
+
145
+ 输出为包含任务 ID 的 JSON 数组:
146
+
147
+ ```json
148
+ [
149
+ {"path": "invoice.pdf", "task_id": "task_abc123"},
150
+ {"path": "contract.pdf", "task_id": "task_def456"}
151
+ ]
152
+ ```
153
+
154
+ **第二阶段:查询结果**
155
+
156
+ ```bash
157
+ adp extract query --watch --file tasks.json
158
+ adp extract query --watch --file tasks.json --export ./results/
159
+ ```
160
+
161
+ 即使 CLI 中途崩溃,`tasks.json` 中的任务 ID 也会被保留——随时可用 `query --file` 恢复查询。
162
+
163
+ ## 批量处理
164
+
165
+ 处理多个文件/URL 时,CLI 会将每个结果写入单独的文件:
166
+
167
+ ```
168
+ adp_results_20250417_153020/
169
+ ├── _summary.json # 汇总(总数、成功、失败、每文件状态)
170
+ ├── invoice_01.pdf.json # 成功结果
171
+ ├── contract_02.docx.json
172
+ └── report_03.pdf.error.json # 错误详情
173
+ ```
174
+
175
+ - `--export <dir>` — 指定输出目录
176
+ - 不加 `--export` — 自动创建 `adp_results_<timestamp>/`
177
+ - 单文件 — 输出到 stdout 或 `--export` 指定的文件路径
178
+
179
+ ## 退出码
180
+
181
+ | 退出码 | 含义 |
182
+ |------|---------|
183
+ | `0` | 全部成功 |
184
+ | `1` | 全部失败 / 系统错误 |
185
+ | `2` | 参数错误 |
186
+ | `3` | 资源未找到 |
187
+ | `4` | 权限不足 |
188
+ | `5` | 冲突 |
189
+ | `6` | 部分失败(批量中部分任务失败) |
190
+
191
+ ## 环境变量
192
+
193
+ | 变量 | 说明 |
194
+ |---|---|
195
+ | `ADP_API_KEY` | API Key(优先于配置文件) |
196
+ | `ADP_API_BASE_URL` | 服务地址 |
197
+ | `ADP_LANG` | 界面语言(`en` / `zh`) |
198
+ | `ADP_LOG_LEVEL` | 日志级别(`debug` / `info` / `warn` / `error`) |
199
+
200
+ ## 配置存储
201
+
202
+ - 配置目录:`~/.adp/`
203
+ - 配置文件:`~/.adp/config.json`
204
+ - 加密的 API Key:`~/.adp/key.enc`(AES-256-GCM)
205
+ - 应用缓存:`~/.adp/app_cache.json`
206
+ - 版本检查缓存:`~/.adp/version_check.json`(每 24 小时刷新)
207
+
208
+ ## 许可证
209
+
210
+ 商业许可协议 —— 详见 [license.md](license.md)。非商业用途(个人学习、研究、教学、开源社区交流等)可免费使用。商业用途需获得来也科技书面授权。联系:global_product@laiye.com
211
+
212
+ ## 参与贡献
213
+
214
+ 跨平台构建:`make build-all VERSION=v1.0.0`。运行 E2E 测试:`bash tests/test.sh`。
package/license.md ADDED
@@ -0,0 +1,51 @@
1
+ Commercial License Agreement
2
+
3
+ Effective Date: [March 30, 2026]
4
+ Copyright © 2026 [Laiye Technology (Beijing) Co., Ltd.] All rights reserved.
5
+
6
+ This “Skill” (referring to the entirety including models, software, code, weights, documentation, data, and related derivative works, “the Product”) is developed and wholly owned by Laiye Technology (Beijing) Co., Ltd. (“Licensor”). The mentioned derivative works refer to new works created by modifying, integrating, fine-tuning, or further developing the Product. Subject to your (“Licensee” or “you”) compliance with the terms of this Agreement, the Licensor grants you a worldwide, royalty-free, non-exclusive license.
7
+
8
+ 1. Licensing
9
+
10
+ 1.1 Free Use and Distribution: The Licensor grants the Licensee a non-transferable, non-exclusive right to freely use, copy, publish, and distribute copies of the Product for non-commercial purposes. The aforementioned "non-commercial purposes" include, but are not limited to:
11
+ Personal learning, research, teaching, and evaluation.
12
+ Technical exchanges within academic institutions or open-source communities, non-profit projects.
13
+ Integration or demonstration in non-commercial products or services.
14
+ 1.2 Commercial License: Any activity intended to directly or indirectly obtain commercial benefits, revenue, or consideration (“Commercial Exploitation”) requires the explicit written authorization (i.e., a "Commercial License") from the Licensor. Commercial Exploitation includes, but is not limited to:
15
+ Distributing the Product or derivative works thereof in forms such as sales, resale, licensing fees, subscription fees, or other charges.
16
+ Providing the Product or derivative works thereof as a SaaS (Software as a Service) to third parties.
17
+ Integrating the Product or derivative works thereof, as a core function, into software, hardware, or services intended for sale or lease.
18
+ Any for-profit activity that utilizes the functionality or content of the Product to provide services to third parties.
19
+
20
+ 2. Reserved Rights and Ownership
21
+
22
+ 2.1 Ownership, intellectual property rights (including but not limited to copyright, patents, trademarks, trade secrets), and other related rights and interests in the Product (including all copies thereof) belong to the Licensor or its affiliates. This Agreement does not constitute any form of transfer of rights or sale of the Licensor's intellectual property.
23
+ 2.2 The Licensee may non-commercially distribute unmodified copies of the Product through channels such as open-source platforms, or engage in non-commercial further development, and distribution, provided that this Agreement, the copyright notice, and the original identification are fully retained.
24
+ 3. Distribution Conditions
25
+
26
+ When the Licensee distributes or provides the Product, all of the following conditions must be met:
27
+ Retention of Notices: Prominently retain all copyright notices of the Product, the text of this License Agreement, and the disclaimer on distributed copies.
28
+ No Misrepresentation: Should not imply that the Licensor endorses your distribution version.
29
+
30
+ 4. Disclaimer of Warranties
31
+
32
+ THE PRODUCT IS PROVIDED "AS IS", WITHOUT WARRANTIES OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO: THE LICENSOR DOES NOT WARRANT THAT THE PRODUCT IS FREE FROM ERRORS, BUGS, WILL OPERATE PROPERLY, OR IS SUITABLE FOR A PARTICULAR PURPOSE; THE LICENSOR DOES NOT WARRANT THAT USE OF THE PRODUCT WILL NOT INFRINGE UPON THIRD-PARTY RIGHTS; THE LICENSOR SHALL NOT BE LIABLE TO THE LICENSEE OR ANY THIRD PARTY FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, OR PUNITIVE DAMAGES ARISING FROM THE USE OF THE PRODUCT.
33
+
34
+ 5. Termination
35
+
36
+ 5.1 This Agreement becomes effective from the Licensee's first use of the Product and continues until terminated.
37
+ 5.2 If the Licensee violates the restrictions in Article 1 "License Grant" of this Agreement (e.g., unauthorized Commercial Exploitation), this Agreement will terminate automatically without prior notice.
38
+ 5.3 Upon termination, the Licensee must immediately cease using the Product and destroy all copies of the Product in its possession.
39
+
40
+ 6. Miscellaneous
41
+
42
+ 6.1 The formation, execution, interpretation, and dispute resolution of this Agreement shall be governed by the laws of the People's Republic of China.
43
+ 6.2 The Licensee shall not assign or transfer any of its rights or obligations under this Agreement without the Licensor's prior written consent.
44
+ 6.3 This Agreement constitutes the entire agreement between the parties concerning this license matter and supersedes any prior oral or written communications and agreements between the parties regarding this matter.
45
+ 6.4 Any dispute related to this Agreement shall be settled through friendly negotiation between the parties. If negotiation fails, either party has the right to submit the dispute to the competent court in the place where the Licensor is registered.
46
+
47
+ For obtaining a Commercial License or if you have any questions, please contact:
48
+ [global_product@laiye.com]
49
+
50
+
51
+ The Product is licensed under the Commercial License Agreement. For commercial use, please contact us to obtain authorization.
package/package.json ADDED
@@ -0,0 +1,49 @@
1
+ {
2
+ "name": "@laiye-adp/agentic-doc-parse-and-extract-cli",
3
+ "version": "1.11.0-beta.4",
4
+ "description": "Official CLI for Laiye ADP (Agentic Document Processing) - document parsing and intelligent extraction",
5
+ "keywords": [
6
+ "adp",
7
+ "laiye",
8
+ "document",
9
+ "parsing",
10
+ "extraction",
11
+ "ocr",
12
+ "cli"
13
+ ],
14
+ "homepage": "https://github.com/laiye-ai/adp-cli",
15
+ "bugs": {
16
+ "url": "https://github.com/laiye-ai/adp-cli/issues"
17
+ },
18
+ "repository": {
19
+ "type": "git",
20
+ "url": "https://github.com/laiye-ai/adp-cli.git"
21
+ },
22
+ "license": "SEE LICENSE IN license.md",
23
+ "bin": {
24
+ "adp": "bin/adp"
25
+ },
26
+ "files": [
27
+ "bin/adp"
28
+ ],
29
+ "engines": {
30
+ "node": ">=14.0.0"
31
+ },
32
+ "os": [
33
+ "win32",
34
+ "linux",
35
+ "darwin"
36
+ ],
37
+ "cpu": [
38
+ "x64",
39
+ "arm64"
40
+ ],
41
+ "optionalDependencies": {
42
+ "@laiye-adp/adp-cli-linux-x64": "1.11.0-beta.4",
43
+ "@laiye-adp/adp-cli-linux-arm64": "1.11.0-beta.4",
44
+ "@laiye-adp/adp-cli-darwin-x64": "1.11.0-beta.4",
45
+ "@laiye-adp/adp-cli-darwin-arm64": "1.11.0-beta.4",
46
+ "@laiye-adp/adp-cli-win32-x64": "1.11.0-beta.4",
47
+ "@laiye-adp/adp-cli-win32-arm64": "1.11.0-beta.4"
48
+ }
49
+ }