@meshxdata/fops 0.1.42 → 0.1.43

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/CHANGELOG.md CHANGED
@@ -1,3 +1,188 @@
1
+ ## [0.1.43] - 2026-03-11
2
+
3
+ - Mlflow and azure plugin fix (176881f)
4
+ - fix lifecycle (a2cb9e7)
5
+ - callback url for localhost (821fb94)
6
+ - disable 4 scaffolding plugin by default. (bfb2b76)
7
+ - jaccard improvements (b7494a0)
8
+ - refactor azure plugin (68dfef4)
9
+ - refactor azure plugin (b24a008)
10
+ - fix trino catalog missing (4928a55)
11
+ - v36 bump and changelog generation on openai (37a0440)
12
+ - v36 bump and changelog generation on openai (a3b02d9)
13
+ - bump (a990058)
14
+ - status bar fix and new plugin for ttyd (27dde1e)
15
+ - file demo and tray (1a3e704)
16
+ - electron app (59ad0bb)
17
+ - compose and fops file plugin (1cf0e81)
18
+ - bump (346ffc1)
19
+ - localhost replaced by 127.0.0.1 (82b9f30)
20
+ - .29 (587b0e1)
21
+ - improve up down and bootstrap script (b79ebaf)
22
+ - checksum (22c8086)
23
+ - checksum (96b434f)
24
+ - checksum (15ed3c0)
25
+ - checksum (8a6543a)
26
+ - bump embed trino linksg (8440504)
27
+ - bump data (765ffd9)
28
+ - bump (cb8b232)
29
+ - broken tests (c532229)
30
+ - release 0.1.18, preflight checks (d902249)
31
+ - fix compute display bug (d10f5d9)
32
+ - cleanup packer files (6330f18)
33
+ - plan mode (cb36a8a)
34
+ - bump to 0.1.16 - agent ui (41ac1a2)
35
+ - bump to 0.1.15 - agent ui (4ebe2e1)
36
+ - bump to 0.1.14 (6c3a7fa)
37
+ - bump to 0.1.13 (8db570f)
38
+ - release 0.1.12 (c1c79e5)
39
+ - bump (11aa3b0)
40
+ - git keep and bump tui (be1678e)
41
+ - skills, index, rrf, compacted context (100k > 10k) (7b2fffd)
42
+ - cloudflare and token consumption, graphs indexing (0ad9eec)
43
+ - bump storage default (22c83ba)
44
+ - storage fix (68a22a0)
45
+ - skills update (7f56500)
46
+ - v9 bump (3864446)
47
+ - bump (c95eedc)
48
+ - rrf (dbf8c95)
49
+ - feat: warning when running predictions (95e8c52)
50
+ - feat: support for local predictions (45cf26b)
51
+ - feat: wip support for predictions + mlflow (3457052)
52
+ - add Reciprocal Rank Fusion (RRF) to knowledge and skill retrieval (61549bc)
53
+ - validate CSV headers in compute_run readiness check (a8c7a43)
54
+ - fix corrupted Iceberg metadata: probe tables + force cleanup on re-apply (50578af)
55
+ - enforce: never use foundation_apply to fix broken products (2e049bf)
56
+ - update SKILL.md with complete tool reference for knowledge retrieval (30b1924)
57
+ - add storage read, input DP table probe, and compute_run improvements (34e6c4c)
58
+ - skills update (1220385)
59
+ - skills update (bb66958)
60
+ - some tui improvement andd tools apply overwrite (e90c35c)
61
+ - skills update (e9227a1)
62
+ - skills update (669c4b3)
63
+ - fix plugin pre-flight checks (f741743)
64
+ - increase agent context (6479aaa)
65
+ - skills and init sql fixes (5fce35e)
66
+ - checksum (3518b56)
67
+ - penging job limit (a139861)
68
+ - checksum (575d28c)
69
+ - bump (92049ba)
70
+ - fix bug per tab status (0a33657)
71
+ - fix bug per tab status (50457c6)
72
+ - checksumming (0ad842e)
73
+ - shot af mardkwon overlapping (51f63b9)
74
+ - add spark dockerfile for multiarch builds (95abbd1)
75
+ - fix plugin initialization (16b9782)
76
+ - split index.js (50902a2)
77
+ - cloudflare cidr (cc4e021)
78
+ - cloduflare restrictions (2f6ba2d)
79
+ - sequential start (86b496e)
80
+ - sequential start (4930fe1)
81
+ - sequential start (353f014)
82
+ - qa tests (2dc6a1a)
83
+ - bump sha for .85 (dc2edfe)
84
+ - preserve env on sudo (7831227)
85
+ - bump sha for .84 (6c052f9)
86
+ - non interactive for azure vms (0aa8a2f)
87
+ - keep .env if present (d072450)
88
+ - bump (7a8e732)
89
+ - ensure opa is on compose if not set (f4a5228)
90
+ - checksum bump (a2ccc20)
91
+ - netrc defensive checks (a0b0ccc)
92
+ - netrc defensive checks (ae37403)
93
+ - checksum (ec45d11)
94
+ - update sync and fix up (7f9af72)
95
+ - expand test for azure and add new per app tag support (388a168)
96
+ - checksum on update (44005fc)
97
+ - cleanup for later (15e5313)
98
+ - cleanup for later (11c9597)
99
+ - switch branch feature (822fecc)
100
+ - add pull (d1c19ab)
101
+ - Bump hono from 4.11.9 to 4.12.0 in /operator-cli (ad25144)
102
+ - tests (f180a9a)
103
+ - cleanup (39c49a3)
104
+ - registry (7b7126a)
105
+ - reconcile kafka (832d0db)
106
+ - gh login bug (025886c)
107
+ - cleanup (bb96cab)
108
+ - strip envs from process (2421180)
109
+ - force use of gh creds not tokens in envs var (fff7787)
110
+ - resolve import between npm installs and npm link (79522e1)
111
+ - fix gh scope and azure states (afd846c)
112
+ - refactoring (da50352)
113
+ - split fops repo (d447638)
114
+ - aks (b791f8f)
115
+ - refactor azure (67d3bad)
116
+ - wildcard (391f023)
117
+ - azure plugin (c074074)
118
+ - zap (d7e6e7f)
119
+ - fix knock (cf89c05)
120
+ - azure (4adec98)
121
+ - Bump tar from 7.5.7 to 7.5.9 in /operator-cli (e41e98e)
122
+ - azure stack index.js split (de12272)
123
+ - Bump ajv from 8.17.1 to 8.18.0 in /operator-cli (76da21f)
124
+ - packer (9665fbc)
125
+ - remove stack api (db0fd4d)
126
+ - packer cleanup (fe1bf14)
127
+ - force refresh token (3a3d7e2)
128
+ - provision shell (2ad505f)
129
+ - azure vm management (91dcb31)
130
+ - azure specific (2b0cca8)
131
+ - azure packer (12175b8)
132
+ - init hashed pwd (db8523c)
133
+ - packer (5b5c7c4)
134
+ - doctor for azure vm (ed524fa)
135
+ - packer and 1pwd (c6d053e)
136
+ - split big index.js (dc85a1b)
137
+ - kafka volume update (21815ec)
138
+ - fix openai azure tools confirmation and flow (0118cd1)
139
+ - nighly fixx, test fix (5e0d04f)
140
+ - open ai training (cdc494a)
141
+ - openai integration in azure (1ca1475)
142
+ - ci (672cea9)
143
+ - refresh ghcr creds (4220c48)
144
+ - cleaned up version (1a0074f)
145
+ - traefik on ghcr and templates (8e31a05)
146
+ - apply fcl (e78911f)
147
+ - demo landscape (dd205fe)
148
+ - smarter login and schema (1af514f)
149
+ - no down before up unless something broke (56b1132)
150
+ - dai, reconcile failed containers (12907fa)
151
+ - reconcile dead container (7da75e4)
152
+ - defensive around storage buckets dir (b98871d)
153
+ - defensive around storage buckets dir (e86e132)
154
+ - gear in for multiarch (bf3fa3e)
155
+ - up autofix (99c7f89)
156
+ - autofix stale containers on up (43c7d0f)
157
+ - shared sessions fix (5de1359)
158
+ - share sessions between ui and tui (8321391)
159
+ - fix chat view display details (e263996)
160
+ - fix chat view display details (9babdda)
161
+ - tui up fixes (86e9f17)
162
+ - fix commands init (442538b)
163
+ - enable k3s profile (b2dcfc8)
164
+ - test up till job creation (656d388)
165
+ - tui fixes (0599779)
166
+ - cleanup (27731f0)
167
+ - train (90bf559)
168
+ - training (f809bf6)
169
+ - training (ba2b836)
170
+ - training (6fc5267)
171
+ - training (4af8ac9)
172
+ - fix build script (bd82836)
173
+ - infra test (5b79815)
174
+ - infra test (3a0ac05)
175
+ - infra test (e5c67b5)
176
+ - tests (ae7b621)
177
+ - tests (c09ae6a)
178
+ - update tui (4784153)
179
+ - training (0a5a330)
180
+ - tui (df4dd4a)
181
+ - pkg builds (4dc9993)
182
+ - also source env for creds (9a17d8f)
183
+ - fcl support (e8a5743)
184
+ - fcl support (8d6b6cd)
185
+
1
186
  # Changelog
2
187
 
3
188
  All notable changes to @meshxdata/fops (Foundation Operator CLI) are documented here.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@meshxdata/fops",
3
- "version": "0.1.42",
3
+ "version": "0.1.43",
4
4
  "description": "CLI to install and manage data mesh platforms",
5
5
  "keywords": [
6
6
  "fops",
@@ -369,10 +369,33 @@ export async function resolvePublicIp(execa, rg, vmName, fallback) {
369
369
  "vm", "list-ip-addresses", "-g", rg, "-n", vmName, "--output", "json",
370
370
  ], { reject: false, timeout: 15000 });
371
371
  const ips = JSON.parse(stdout);
372
- return ips?.[0]?.virtualMachine?.network?.publicIpAddresses?.[0]?.ipAddress || fallback || "";
373
- } catch {
374
- return fallback || "";
375
- }
372
+ const ip = ips?.[0]?.virtualMachine?.network?.publicIpAddresses?.[0]?.ipAddress;
373
+ if (ip) return ip;
374
+ } catch {}
375
+ // Fallback: query the VM's NIC directly (az vm list-ip-addresses can miss attached IPs)
376
+ try {
377
+ const { stdout: nicOut } = await execa("az", [
378
+ "vm", "show", "-g", rg, "-n", vmName,
379
+ "--query", "networkProfile.networkInterfaces[0].id", "--output", "tsv",
380
+ ], { reject: false, timeout: 10000 });
381
+ const nicId = nicOut?.trim();
382
+ if (nicId) {
383
+ const { stdout: ipOut } = await execa("az", [
384
+ "network", "nic", "show", "--ids", nicId,
385
+ "--query", "ipConfigurations[0].publicIPAddress.id", "--output", "tsv",
386
+ ], { reject: false, timeout: 10000 });
387
+ const pubId = ipOut?.trim();
388
+ if (pubId) {
389
+ const { stdout: addrOut } = await execa("az", [
390
+ "network", "public-ip", "show", "--ids", pubId,
391
+ "--query", "ipAddress", "--output", "tsv",
392
+ ], { reject: false, timeout: 10000 });
393
+ const addr = addrOut?.trim();
394
+ if (addr) return addr;
395
+ }
396
+ }
397
+ } catch {}
398
+ return fallback || "";
376
399
  }
377
400
 
378
401
  // ── GitHub token helpers ────────────────────────────────────────────────────
@@ -2394,6 +2394,28 @@ export async function azureList(opts = {}) {
2394
2394
  return;
2395
2395
  }
2396
2396
 
2397
+ // Resolve missing public IPs from Azure before sync (so sync can SSH into VMs)
2398
+ const needIp = vmNames.filter((n) => !vms[n]?.publicIp && vms[n]?.resourceGroup);
2399
+ if (needIp.length > 0) {
2400
+ try {
2401
+ const execa = await lazyExeca();
2402
+ await ensureAzCli(execa);
2403
+ const resolved = await Promise.all(
2404
+ needIp.map(async (name) => {
2405
+ const ip = await resolvePublicIp(execa, vms[name].resourceGroup, name, null);
2406
+ return { name, ip };
2407
+ }),
2408
+ );
2409
+ for (const { name, ip } of resolved) {
2410
+ if (ip) writeVmState(name, { publicIp: ip });
2411
+ }
2412
+ const updated = resolved.filter((r) => r.ip).length;
2413
+ if (updated > 0) {
2414
+ ({ vms } = listVms());
2415
+ }
2416
+ } catch { /* ignore */ }
2417
+ }
2418
+
2397
2419
  // Use cache if fresh, otherwise try shared tags, then fall back to full sync
2398
2420
  const forceLive = opts.live;
2399
2421
  let cache = readCache();
@@ -2429,31 +2451,6 @@ export async function azureList(opts = {}) {
2429
2451
  ? DIM(` (synced ${timeSince(cacheTime)} ago${sourceLabel})`)
2430
2452
  : "";
2431
2453
 
2432
- // Resolve missing public IPs from Azure (e.g. VM added by discover but IP not in state yet)
2433
- const needIp = vmNames.filter((n) => !vms[n]?.publicIp && !cachedVms[n]?.publicIp && vms[n]?.resourceGroup);
2434
- if (needIp.length > 0) {
2435
- try {
2436
- const execa = await lazyExeca();
2437
- await ensureAzCli(execa);
2438
- const resolved = await Promise.all(
2439
- needIp.map(async (name) => {
2440
- const ip = await resolvePublicIp(execa, vms[name].resourceGroup, name, null);
2441
- return { name, ip };
2442
- }),
2443
- );
2444
- for (const { name, ip } of resolved) {
2445
- if (ip) {
2446
- writeVmState(name, { publicIp: ip });
2447
- if (cachedVms[name]) cachedVms[name].publicIp = ip;
2448
- }
2449
- }
2450
- const updated = resolved.filter((r) => r.ip).length;
2451
- if (updated > 0) {
2452
- ({ vms } = listVms());
2453
- }
2454
- } catch { /* ignore */ }
2455
- }
2456
-
2457
2454
  // ── VM sizes (one az call for all fops-managed VMs) ───────────────────────
2458
2455
  let vmSizes = {};
2459
2456
  if (vmNames.length > 0) {
@@ -118,6 +118,10 @@ function _tryRecover() {
118
118
  if (current[k] !== undefined) recovered.state[k] = current[k];
119
119
  }
120
120
  } catch { /* current file unreadable or invalid JSON, skip merge */ }
121
+ // Recompute checksum after merge so next readState() doesn't see a mismatch
122
+ if (recovered.state._meta) {
123
+ recovered.state._meta.checksum = _checksum(JSON.stringify(_stateBody(recovered.state)));
124
+ }
121
125
  try { _atomicWrite(STATE_PATH, JSON.stringify(recovered.state, null, 2) + "\n"); } catch {}
122
126
  return recovered.state;
123
127
  }