cdx-chores 0.1.2-canary.4 → 0.1.2
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 +9 -3
- package/dist/cjs/index.cjs +2 -2
- package/dist/esm/bin.mjs +1 -1
- package/dist/esm/index.d.mts +1 -1
- package/dist/esm/index.mjs +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -2,13 +2,15 @@
|
|
|
2
2
|
|
|
3
3
|
A Node.js CLI for file-processing chores, tabular data workflows, rename automation, and Codex-assisted tasks.
|
|
4
4
|
|
|
5
|
-
Stable release scope in `v0.1.
|
|
5
|
+
Stable release scope in `v0.1.2`:
|
|
6
6
|
|
|
7
7
|
- interactive mode + nested CLI commands, including `Esc` exit on command menus
|
|
8
8
|
- `doctor` capability checks
|
|
9
9
|
- CSV / TSV / JSON conversion and preview workflows, including explicit headerless preview support
|
|
10
10
|
- `data extract` for shaped-table materialization across delimited, SQLite, and Excel inputs
|
|
11
11
|
- DuckDB-backed query, reviewed header-mapping, source-shape replay, and Parquet preview workflows
|
|
12
|
+
- `data stack` for assembling multiple CSV, TSV, JSONL, or JSON files and directories into one output table
|
|
13
|
+
- replayable `data stack` plan artifacts, dry-run diagnostics, duplicate/key checks, and optional reviewed Codex assistance
|
|
12
14
|
- `md to-docx` via `pandoc`
|
|
13
15
|
- preview-first rename flows
|
|
14
16
|
- `ffmpeg`-backed video wrappers, including GIF quality modes and profiles
|
|
@@ -48,7 +50,7 @@ Runtime requirement:
|
|
|
48
50
|
| Command group | Important subcommands | Purpose | Capability notes |
|
|
49
51
|
| ------------- | --------------------- | ------- | ---------------- |
|
|
50
52
|
| `doctor` | `doctor`, `doctor --json` | Inspect current tool and feature readiness | Run this first on a new machine or after environment changes |
|
|
51
|
-
| `data` | `preview`, `extract`, `query`, `query codex`, `parquet preview`, `duckdb doctor`, `duckdb extension install`, `(conversion actions)` | Tabular conversion, preview, extraction, DuckDB-backed SQL query, and Codex SQL drafting | lightweight `csv` / `tsv` / `json` preview and conversion stay on the in-memory PapaParse-backed path; `extract` is best suited to shaping one clean table,
|
|
53
|
+
| `data` | `preview`, `extract`, `query`, `query codex`, `stack`, `stack replay`, `parquet preview`, `duckdb doctor`, `duckdb extension install`, `(conversion actions)` | Tabular conversion, preview, extraction, multi-source stacking, DuckDB-backed SQL query, and Codex SQL drafting | lightweight `csv` / `tsv` / `json` preview and conversion stay on the in-memory PapaParse-backed path; `extract` is best suited to shaping one clean table, `stack` assembles many matching local sources before later work, and `query` is the expressive lane for filtering, projection, and output selection |
|
|
52
54
|
| `md` | `to-docx`, `frontmatter-to-json` | Markdown conversion and metadata extraction | `to-docx` requires `pandoc` |
|
|
53
55
|
| `rename` | `file`, `batch`, `cleanup`, `apply` | Safe rename previews, cleanup flows, and replayable apply runs | Codex analyzer routes are optional, not required for standard rename usage |
|
|
54
56
|
| `video` | `convert`, `resize`, `gif` | `ffmpeg`-backed video wrappers | Requires `ffmpeg` |
|
|
@@ -57,7 +59,8 @@ Runtime requirement:
|
|
|
57
59
|
Data notes:
|
|
58
60
|
|
|
59
61
|
- conversion actions are `json-to-csv`, `json-to-tsv`, `csv-to-json`, `csv-to-tsv`, `tsv-to-csv`, and `tsv-to-json`
|
|
60
|
-
- `data extract` materializes one shaped table from one input file to `.csv`, `.tsv`, or `.json`;
|
|
62
|
+
- `data extract` materializes one shaped table from one input file to `.csv`, `.tsv`, or `.json`; its strongest shaping surface is Excel-oriented cleanup, where it can target a sheet or range, set `--header-row` and `--body-start-row`, and replay reviewed source-shape or header-mapping artifacts for awkward header bands or merged-cell layouts
|
|
63
|
+
- `data stack` materializes one merged table from many local files or directories; use it before `data query` when the first problem is file assembly rather than SQL
|
|
61
64
|
- `data query` is the current general-purpose lane when you need richer filtering or transformation logic than `data extract` exposes without SQL
|
|
62
65
|
|
|
63
66
|
## Capability Checks And External Tools
|
|
@@ -356,8 +359,11 @@ Data:
|
|
|
356
359
|
|
|
357
360
|
- `docs/guides/data-preview-usage.md`
|
|
358
361
|
- `docs/guides/data-extract-usage.md`
|
|
362
|
+
- `docs/guides/data-stack-usage.md`
|
|
363
|
+
- `docs/guides/data-source-shape-usage.md`
|
|
359
364
|
- `docs/guides/data-schema-and-mapping-usage.md`
|
|
360
365
|
- `docs/guides/data-query-usage.md`
|
|
366
|
+
- `docs/guides/data-query-interactive-usage.md`
|
|
361
367
|
- `docs/guides/data-duckdb-usage.md`
|
|
362
368
|
- `docs/guides/data-query-codex-usage.md`
|
|
363
369
|
|
package/dist/cjs/index.cjs
CHANGED
|
@@ -16290,7 +16290,7 @@ function registerCliCommands(program, runtime) {
|
|
|
16290
16290
|
}
|
|
16291
16291
|
//#endregion
|
|
16292
16292
|
//#region src/cli/program/version-embedded.ts
|
|
16293
|
-
const EMBEDDED_PACKAGE_VERSION = "0.1.2
|
|
16293
|
+
const EMBEDDED_PACKAGE_VERSION = "0.1.2";
|
|
16294
16294
|
//#endregion
|
|
16295
16295
|
//#region src/cli/program/version.ts
|
|
16296
16296
|
function* candidateSearchRoots() {
|
|
@@ -16323,7 +16323,7 @@ function normalizeVersion(value) {
|
|
|
16323
16323
|
return trimmed;
|
|
16324
16324
|
}
|
|
16325
16325
|
function resolvePackageVersion(options = {}) {
|
|
16326
|
-
const embeddedVersion = normalizeVersion(options.embeddedVersion ?? "0.1.2
|
|
16326
|
+
const embeddedVersion = normalizeVersion(options.embeddedVersion ?? "0.1.2");
|
|
16327
16327
|
if (embeddedVersion) return embeddedVersion;
|
|
16328
16328
|
const maxLevels = options.maxLevels ?? 8;
|
|
16329
16329
|
const resolveFromPath = options.resolveFromPath ?? resolveVersionFromPath;
|
package/dist/esm/bin.mjs
CHANGED
|
@@ -17271,7 +17271,7 @@ function normalizeVersion(value) {
|
|
|
17271
17271
|
return trimmed;
|
|
17272
17272
|
}
|
|
17273
17273
|
function resolvePackageVersion(options = {}) {
|
|
17274
|
-
const embeddedVersion = normalizeVersion(options.embeddedVersion ?? "0.1.2
|
|
17274
|
+
const embeddedVersion = normalizeVersion(options.embeddedVersion ?? "0.1.2");
|
|
17275
17275
|
if (embeddedVersion) return embeddedVersion;
|
|
17276
17276
|
const maxLevels = options.maxLevels ?? 8;
|
|
17277
17277
|
const resolveFromPath = options.resolveFromPath ?? resolveVersionFromPath;
|
package/dist/esm/index.d.mts
CHANGED
|
@@ -14,7 +14,7 @@ interface RunCliOptions {
|
|
|
14
14
|
declare function runCli(argv?: string[], runtime?: RunCliOptions): Promise<void>;
|
|
15
15
|
//#endregion
|
|
16
16
|
//#region src/cli/program/version-embedded.d.ts
|
|
17
|
-
declare const EMBEDDED_PACKAGE_VERSION = "0.1.2
|
|
17
|
+
declare const EMBEDDED_PACKAGE_VERSION = "0.1.2";
|
|
18
18
|
//#endregion
|
|
19
19
|
//#region src/utils/csv.d.ts
|
|
20
20
|
type CsvRecord = Record<string, unknown>;
|
package/dist/esm/index.mjs
CHANGED
|
@@ -16264,7 +16264,7 @@ function registerCliCommands(program, runtime) {
|
|
|
16264
16264
|
}
|
|
16265
16265
|
//#endregion
|
|
16266
16266
|
//#region src/cli/program/version-embedded.ts
|
|
16267
|
-
const EMBEDDED_PACKAGE_VERSION = "0.1.2
|
|
16267
|
+
const EMBEDDED_PACKAGE_VERSION = "0.1.2";
|
|
16268
16268
|
//#endregion
|
|
16269
16269
|
//#region src/cli/program/version.ts
|
|
16270
16270
|
function* candidateSearchRoots() {
|
|
@@ -16297,7 +16297,7 @@ function normalizeVersion(value) {
|
|
|
16297
16297
|
return trimmed;
|
|
16298
16298
|
}
|
|
16299
16299
|
function resolvePackageVersion(options = {}) {
|
|
16300
|
-
const embeddedVersion = normalizeVersion(options.embeddedVersion ?? "0.1.2
|
|
16300
|
+
const embeddedVersion = normalizeVersion(options.embeddedVersion ?? "0.1.2");
|
|
16301
16301
|
if (embeddedVersion) return embeddedVersion;
|
|
16302
16302
|
const maxLevels = options.maxLevels ?? 8;
|
|
16303
16303
|
const resolveFromPath = options.resolveFromPath ?? resolveVersionFromPath;
|