@intentius/behold 0.10.0 → 0.10.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/dist/cli.js CHANGED
@@ -5140,10 +5140,16 @@ var ARGO_SYNC = {
5140
5140
  Unknown: "unknown"
5141
5141
  };
5142
5142
  var ARGO_ERROR_CONDITION = /Error$/;
5143
+ var ARGO_ERROR_STRING = /^([A-Za-z]*Error)(?:=[^:]*)?: (.+)$/;
5143
5144
  function argoErrorMessage(tree) {
5144
5145
  const conditions = tree?.conditions;
5145
5146
  if (!Array.isArray(conditions)) return void 0;
5146
5147
  for (const c of conditions) {
5148
+ if (typeof c === "string") {
5149
+ const m = ARGO_ERROR_STRING.exec(c);
5150
+ if (m) return m[2];
5151
+ continue;
5152
+ }
5147
5153
  const type = str2(rec2(c)?.type);
5148
5154
  if (!type || !ARGO_ERROR_CONDITION.test(type)) continue;
5149
5155
  const message = str2(rec2(c)?.message);
@@ -7,7 +7,7 @@
7
7
  "build": "chant build src -o manifests/app.yaml --format yaml"
8
8
  },
9
9
  "dependencies": {
10
- "@intentius/chant": "^0.44.7",
11
- "@intentius/chant-lexicon-k8s": "^0.44.7"
10
+ "@intentius/chant": "^0.44.8",
11
+ "@intentius/chant-lexicon-k8s": "^0.44.8"
12
12
  }
13
13
  }
@@ -7,7 +7,7 @@
7
7
  "build": "chant build src -o manifests/app.yaml --format yaml"
8
8
  },
9
9
  "dependencies": {
10
- "@intentius/chant": "^0.44.7",
11
- "@intentius/chant-lexicon-k8s": "^0.44.7"
10
+ "@intentius/chant": "^0.44.8",
11
+ "@intentius/chant-lexicon-k8s": "^0.44.8"
12
12
  }
13
13
  }
@@ -7,7 +7,7 @@
7
7
  "build": "chant build src -o dist/control-plane.yaml --format yaml"
8
8
  },
9
9
  "dependencies": {
10
- "@intentius/chant": "^0.44.7",
11
- "@intentius/chant-lexicon-k8s": "^0.44.7"
10
+ "@intentius/chant": "^0.44.8",
11
+ "@intentius/chant-lexicon-k8s": "^0.44.8"
12
12
  }
13
13
  }
@@ -14,22 +14,22 @@
14
14
  "app-a": {
15
15
  "name": "behold-example-argo-app-a",
16
16
  "dependencies": {
17
- "@intentius/chant": "^0.44.7",
18
- "@intentius/chant-lexicon-k8s": "^0.44.7"
17
+ "@intentius/chant": "^0.44.8",
18
+ "@intentius/chant-lexicon-k8s": "^0.44.8"
19
19
  }
20
20
  },
21
21
  "app-b": {
22
22
  "name": "behold-example-argo-app-b",
23
23
  "dependencies": {
24
- "@intentius/chant": "^0.44.7",
25
- "@intentius/chant-lexicon-k8s": "^0.44.7"
24
+ "@intentius/chant": "^0.44.8",
25
+ "@intentius/chant-lexicon-k8s": "^0.44.8"
26
26
  }
27
27
  },
28
28
  "control-plane": {
29
29
  "name": "behold-example-argo-control-plane",
30
30
  "dependencies": {
31
- "@intentius/chant": "^0.44.7",
32
- "@intentius/chant-lexicon-k8s": "^0.44.7"
31
+ "@intentius/chant": "^0.44.8",
32
+ "@intentius/chant-lexicon-k8s": "^0.44.8"
33
33
  }
34
34
  },
35
35
  "node_modules/@dagrejs/dagre": {
@@ -464,9 +464,9 @@
464
464
  }
465
465
  },
466
466
  "node_modules/@intentius/chant": {
467
- "version": "0.44.7",
468
- "resolved": "https://registry.npmjs.org/@intentius/chant/-/chant-0.44.7.tgz",
469
- "integrity": "sha512-etCchkfbWFHJ+XnTYVVn9GT4/gZi/O8SVphDXHeuPOfK5VvRxo0unveIUEsuRoHGHgzN9Y+aj0Jk15xhIE7Gzg==",
467
+ "version": "0.44.8",
468
+ "resolved": "https://registry.npmjs.org/@intentius/chant/-/chant-0.44.8.tgz",
469
+ "integrity": "sha512-c44GY1RExBBEfPB495qwFR09L4CxYXm/CVDYQQbcUtq5QZ/fSQYLymKxSiHKFbhTd3UllHv70Ic3maC+ivm1vg==",
470
470
  "license": "Apache-2.0",
471
471
  "dependencies": {
472
472
  "@dagrejs/dagre": "^3.0.0",
@@ -482,9 +482,9 @@
482
482
  }
483
483
  },
484
484
  "node_modules/@intentius/chant-k8s-client": {
485
- "version": "0.44.7",
486
- "resolved": "https://registry.npmjs.org/@intentius/chant-k8s-client/-/chant-k8s-client-0.44.7.tgz",
487
- "integrity": "sha512-G9VVki/qHZ+hbKrxDDnVVhfeZWoHgozLA7tjcY/lsa/fDIwI0xMJnAN/DJNcQLBpRscXm3y3Ki/PNQ9SxshmLA==",
485
+ "version": "0.44.8",
486
+ "resolved": "https://registry.npmjs.org/@intentius/chant-k8s-client/-/chant-k8s-client-0.44.8.tgz",
487
+ "integrity": "sha512-k+w06ewOdUvaak9lnRRauy+xobDNfljht6/VVO0UtgCEv97xd1bqWWjzo16Zi0A0Ce0T1hls6h95JSGrxoRmpQ==",
488
488
  "license": "Apache-2.0",
489
489
  "optional": true,
490
490
  "dependencies": {
@@ -492,19 +492,19 @@
492
492
  }
493
493
  },
494
494
  "node_modules/@intentius/chant-lexicon-k8s": {
495
- "version": "0.44.7",
496
- "resolved": "https://registry.npmjs.org/@intentius/chant-lexicon-k8s/-/chant-lexicon-k8s-0.44.7.tgz",
497
- "integrity": "sha512-h8QXOYoxjsAeA1w8koLQlZqOuSQcvWpEHKmwlf0AKPgwuVRiapwJI+UtuoBwL/AOrBKDh6Z5pW3zbo6vDltGvA==",
495
+ "version": "0.44.8",
496
+ "resolved": "https://registry.npmjs.org/@intentius/chant-lexicon-k8s/-/chant-lexicon-k8s-0.44.8.tgz",
497
+ "integrity": "sha512-4jU+NzhyobLQZVBAnG40RgrD6AFnnJzLIoHPzZhXzitLsXgGuLblhpPDI2ZXWKdUOxZX9nkeqNkhoQF9tuFV0A==",
498
498
  "license": "Apache-2.0",
499
499
  "dependencies": {
500
500
  "@types/js-yaml": "^4.0.9",
501
501
  "js-yaml": "^4.1.1"
502
502
  },
503
503
  "optionalDependencies": {
504
- "@intentius/chant-k8s-client": "^0.44.7"
504
+ "@intentius/chant-k8s-client": "^0.44.8"
505
505
  },
506
506
  "peerDependencies": {
507
- "@intentius/chant": "^0.44.7",
507
+ "@intentius/chant": "^0.44.8",
508
508
  "typescript": "^5.9.3",
509
509
  "zod": "^4.3.6"
510
510
  }
@@ -7,7 +7,7 @@
7
7
  "build": "chant build src -o manifests/app.yaml --format yaml"
8
8
  },
9
9
  "dependencies": {
10
- "@intentius/chant": "^0.44.7",
11
- "@intentius/chant-lexicon-k8s": "^0.44.7"
10
+ "@intentius/chant": "^0.44.8",
11
+ "@intentius/chant-lexicon-k8s": "^0.44.8"
12
12
  }
13
13
  }
@@ -7,7 +7,7 @@
7
7
  "build": "chant build src -o manifests/app.yaml --format yaml"
8
8
  },
9
9
  "dependencies": {
10
- "@intentius/chant": "^0.44.7",
11
- "@intentius/chant-lexicon-k8s": "^0.44.7"
10
+ "@intentius/chant": "^0.44.8",
11
+ "@intentius/chant-lexicon-k8s": "^0.44.8"
12
12
  }
13
13
  }
@@ -7,7 +7,7 @@
7
7
  "build": "chant build src -o dist/control-plane.yaml --format yaml"
8
8
  },
9
9
  "dependencies": {
10
- "@intentius/chant": "^0.44.7",
11
- "@intentius/chant-lexicon-k8s": "^0.44.7"
10
+ "@intentius/chant": "^0.44.8",
11
+ "@intentius/chant-lexicon-k8s": "^0.44.8"
12
12
  }
13
13
  }
@@ -14,22 +14,22 @@
14
14
  "app-a": {
15
15
  "name": "behold-example-flux-app-a",
16
16
  "dependencies": {
17
- "@intentius/chant": "^0.44.7",
18
- "@intentius/chant-lexicon-k8s": "^0.44.7"
17
+ "@intentius/chant": "^0.44.8",
18
+ "@intentius/chant-lexicon-k8s": "^0.44.8"
19
19
  }
20
20
  },
21
21
  "app-b": {
22
22
  "name": "behold-example-flux-app-b",
23
23
  "dependencies": {
24
- "@intentius/chant": "^0.44.7",
25
- "@intentius/chant-lexicon-k8s": "^0.44.7"
24
+ "@intentius/chant": "^0.44.8",
25
+ "@intentius/chant-lexicon-k8s": "^0.44.8"
26
26
  }
27
27
  },
28
28
  "control-plane": {
29
29
  "name": "behold-example-flux-control-plane",
30
30
  "dependencies": {
31
- "@intentius/chant": "^0.44.7",
32
- "@intentius/chant-lexicon-k8s": "^0.44.7"
31
+ "@intentius/chant": "^0.44.8",
32
+ "@intentius/chant-lexicon-k8s": "^0.44.8"
33
33
  }
34
34
  },
35
35
  "node_modules/@dagrejs/dagre": {
@@ -464,9 +464,9 @@
464
464
  }
465
465
  },
466
466
  "node_modules/@intentius/chant": {
467
- "version": "0.44.7",
468
- "resolved": "https://registry.npmjs.org/@intentius/chant/-/chant-0.44.7.tgz",
469
- "integrity": "sha512-etCchkfbWFHJ+XnTYVVn9GT4/gZi/O8SVphDXHeuPOfK5VvRxo0unveIUEsuRoHGHgzN9Y+aj0Jk15xhIE7Gzg==",
467
+ "version": "0.44.8",
468
+ "resolved": "https://registry.npmjs.org/@intentius/chant/-/chant-0.44.8.tgz",
469
+ "integrity": "sha512-c44GY1RExBBEfPB495qwFR09L4CxYXm/CVDYQQbcUtq5QZ/fSQYLymKxSiHKFbhTd3UllHv70Ic3maC+ivm1vg==",
470
470
  "license": "Apache-2.0",
471
471
  "dependencies": {
472
472
  "@dagrejs/dagre": "^3.0.0",
@@ -482,9 +482,9 @@
482
482
  }
483
483
  },
484
484
  "node_modules/@intentius/chant-k8s-client": {
485
- "version": "0.44.7",
486
- "resolved": "https://registry.npmjs.org/@intentius/chant-k8s-client/-/chant-k8s-client-0.44.7.tgz",
487
- "integrity": "sha512-G9VVki/qHZ+hbKrxDDnVVhfeZWoHgozLA7tjcY/lsa/fDIwI0xMJnAN/DJNcQLBpRscXm3y3Ki/PNQ9SxshmLA==",
485
+ "version": "0.44.8",
486
+ "resolved": "https://registry.npmjs.org/@intentius/chant-k8s-client/-/chant-k8s-client-0.44.8.tgz",
487
+ "integrity": "sha512-k+w06ewOdUvaak9lnRRauy+xobDNfljht6/VVO0UtgCEv97xd1bqWWjzo16Zi0A0Ce0T1hls6h95JSGrxoRmpQ==",
488
488
  "license": "Apache-2.0",
489
489
  "optional": true,
490
490
  "dependencies": {
@@ -492,19 +492,19 @@
492
492
  }
493
493
  },
494
494
  "node_modules/@intentius/chant-lexicon-k8s": {
495
- "version": "0.44.7",
496
- "resolved": "https://registry.npmjs.org/@intentius/chant-lexicon-k8s/-/chant-lexicon-k8s-0.44.7.tgz",
497
- "integrity": "sha512-h8QXOYoxjsAeA1w8koLQlZqOuSQcvWpEHKmwlf0AKPgwuVRiapwJI+UtuoBwL/AOrBKDh6Z5pW3zbo6vDltGvA==",
495
+ "version": "0.44.8",
496
+ "resolved": "https://registry.npmjs.org/@intentius/chant-lexicon-k8s/-/chant-lexicon-k8s-0.44.8.tgz",
497
+ "integrity": "sha512-4jU+NzhyobLQZVBAnG40RgrD6AFnnJzLIoHPzZhXzitLsXgGuLblhpPDI2ZXWKdUOxZX9nkeqNkhoQF9tuFV0A==",
498
498
  "license": "Apache-2.0",
499
499
  "dependencies": {
500
500
  "@types/js-yaml": "^4.0.9",
501
501
  "js-yaml": "^4.1.1"
502
502
  },
503
503
  "optionalDependencies": {
504
- "@intentius/chant-k8s-client": "^0.44.7"
504
+ "@intentius/chant-k8s-client": "^0.44.8"
505
505
  },
506
506
  "peerDependencies": {
507
- "@intentius/chant": "^0.44.7",
507
+ "@intentius/chant": "^0.44.8",
508
508
  "typescript": "^5.9.3",
509
509
  "zod": "^4.3.6"
510
510
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@intentius/behold",
3
- "version": "0.10.0",
3
+ "version": "0.10.1",
4
4
  "type": "module",
5
5
  "description": "behold — a live control plane on chant. See your whole estate (every substrate in one graph), coloured by drift; act through delegated, gated Ops.",
6
6
  "bin": {