@aiaiai-pt/frankctl 0.9.7 → 0.13.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aiaiai-pt/frankctl",
3
- "version": "0.9.7",
3
+ "version": "0.13.1",
4
4
  "description": "Terminal-first client for the Frank Low-Code Pipeline platform",
5
5
  "homepage": "https://franksdocs.nomadriver.co",
6
6
  "repository": {
@@ -50,7 +50,7 @@ frankctl config set profiles.default.keycloakUrl https://auth.frank.nomadriver.c
50
50
  ```
51
51
 
52
52
  Auth modes:
53
- - **PKCE (default)** — `frankctl auth login`. Browser-based, best for humans; uses the dedicated public `frank-cli` client unless explicitly overridden.
53
+ - **PKCE (default)** — `frankctl auth login`. Browser-based, best for humans.
54
54
  - **Headless** — `frankctl auth login --headless --username … --password-stdin`, or inject `FRANKCTL_PASSWORD` without the stdin flag.
55
55
  - **Service account** — `frankctl auth login --service-account --client-id … --client-secret-stdin`, or inject `FRANKCTL_CLIENT_SECRET`.
56
56
 
@@ -133,9 +133,9 @@ frankctl pipelines apply -f pipeline.yaml --wait --timeout 600
133
133
  Use `--json` with `--wait` for one evidence object correlated to the exact Source
134
134
  workflow/SyncRun, Dagster/TransformRun, and ontology SyncRun started by this invocation.
135
135
  Snapshot IDs are decimal strings so JavaScript cannot round them. `status: skipped`
136
- means the ontology was already converged and no rows were replayed. Ontology evidence
137
- prefers `snapshot_id_exact`; numeric-only evidence fails closed. Use `bd entities` for
138
- separate target entity readback.
136
+ means the ontology was already converged and no rows were replayed. The CLI consumes
137
+ API v1's exact companion and exposes one canonical `snapshot_id`; unsafe numeric-only
138
+ evidence fails closed. Use `bd entities` for separate target entity readback.
139
139
 
140
140
  ### Preflight before you apply
141
141
 
@@ -325,13 +325,10 @@ profiles:
325
325
  apiUrl: https://api.frank.nomadriver.co
326
326
  keycloakUrl: https://auth.frank.nomadriver.co
327
327
  realm: frank
328
- clientId: frank-cli
328
+ clientId: frank-low-code
329
329
  ```
330
330
 
331
- Precedence (top wins): CLI flag → env var → YAML → built-in default. Browser
332
- PKCE's built-in client is `frank-cli`; headless password login retains
333
- `frank-low-code`. Stored tokens retain their issuing client id so refresh uses
334
- the same client.
331
+ Precedence (top wins): CLI flag → env var → YAML → built-in default.
335
332
  `config get <key>` reports `{value, source}` so you can see which layer won;
336
333
  `config list` prints the merged effective profile.
337
334
 
@@ -405,9 +402,9 @@ frankctl bd entities <id> # read entities back out — confirm valu
405
402
  actually materialized as entities, not just that the sync reported success.
406
403
  `bd sync --force` full-replays through REST even when the snapshot and effective
407
404
  mapping spec are unchanged. Normal output includes replay reason, row/snapshot
408
- evidence, and safe attempted/applied SyncSpec fingerprint prefixes. Human output
409
- prefers the precision-safe decimal string `snapshot_id_exact`; JSON exposes it
410
- alongside the legacy numeric `snapshot_id`.
405
+ evidence, and safe attempted/applied SyncSpec fingerprint prefixes. Human and
406
+ JSON output expose one precision-safe decimal string under `snapshot_id`; the
407
+ API v1 legacy numeric and transitional exact fields never leak through.
411
408
 
412
409
  For an ordinary sync, the CLI falls back to BackingDataset status polling when
413
410
  an older API does not return exact-run evidence, and clearly marks replay