@tiangong-ai/cli 0.0.4 → 0.0.7
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/AGENTS.md +2 -2
- package/README.md +9 -8
- package/dist/cli.js +412 -37
- package/dist/cli.js.map +1 -1
- package/package.json +1 -1
package/AGENTS.md
CHANGED
|
@@ -15,8 +15,8 @@ checkPaths:
|
|
|
15
15
|
- .docpact/config.yaml
|
|
16
16
|
- docs/agents/**
|
|
17
17
|
- src/**
|
|
18
|
-
lastReviewedAt: 2026-05-
|
|
19
|
-
lastReviewedCommit:
|
|
18
|
+
lastReviewedAt: 2026-05-12
|
|
19
|
+
lastReviewedCommit: 29cb2f6f64f6cac7d1814b57579fe6343254d33d
|
|
20
20
|
---
|
|
21
21
|
|
|
22
22
|
# Tiangong AI CLI Contract
|
package/README.md
CHANGED
|
@@ -104,14 +104,15 @@ stored under the OS app-data directory:
|
|
|
104
104
|
Use `--state /path/to/job.sqlite` to override the checkpoint path. Bulk jobs do
|
|
105
105
|
not use `.tiangong-kb-ingest-manifest.jsonl` as their checkpoint.
|
|
106
106
|
|
|
107
|
-
Bulk ingest
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
metadata
|
|
107
|
+
Bulk ingest scans and fingerprints files first, then lazily creates derived
|
|
108
|
+
files only when a row enters the active upload window. `.docx` files larger than
|
|
109
|
+
10MiB are uploaded through 300dpi-normalized ingest copies; smaller `.docx`
|
|
110
|
+
files upload directly unless they are empty. Oversized PDFs are split into the
|
|
111
|
+
fewest uploadable PDF parts when they enter the window, and the generated part
|
|
112
|
+
rows are written back to SQLite so resume can reuse them. Derived files stay
|
|
113
|
+
under `.tiangong-kb-ingest-derived` by default, and that directory is excluded
|
|
114
|
+
from future bulk scans. Upload metadata remains the user/business metadata
|
|
115
|
+
produced by the metadata map.
|
|
115
116
|
|
|
116
117
|
Manage bulk jobs:
|
|
117
118
|
|