@intentius/behold 0.19.0 → 0.21.0
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 +90 -5
- package/README.md +54 -1
- package/demos.json +3 -2
- package/dist/cli.js +1327 -303
- package/example-argo-estate/README.md +8 -8
- package/example-argo-estate/app-a/package.json +2 -2
- package/example-argo-estate/app-b/package.json +2 -2
- package/example-argo-estate/chant.workspace.json +27 -0
- package/example-argo-estate/control-plane/package.json +2 -2
- package/example-argo-estate/package-lock.json +133 -56
- package/example-carve/README.md +14 -14
- package/example-carve/app/package-lock.json +72 -9
- package/example-carve/app/package.json +2 -2
- package/example-carve/legacy-tf/versions.tf +1 -1
- package/example-choudoufu-estate/README.md +4 -4
- package/example-choudoufu-estate/chant.workspace.json +32 -0
- package/example-choudoufu-estate/scripts/choudoufu-up.sh +21 -0
- package/example-flux-estate/README.md +5 -5
- package/example-flux-estate/app-a/package.json +2 -2
- package/example-flux-estate/app-b/package.json +2 -2
- package/example-flux-estate/chant.workspace.json +27 -0
- package/example-flux-estate/control-plane/package.json +2 -2
- package/example-flux-estate/package-lock.json +133 -56
- package/example-k8s/README.md +20 -20
- package/example-k8s/chant.config.ts +1 -1
- package/example-k8s/ops/k3d-apply.op.ts +1 -1
- package/example-k8s/package-lock.json +129 -211
- package/example-k8s/package.json +2 -3
- package/example-terraform-estate/README.md +5 -5
- package/example-terraform-estate/chant.workspace.json +22 -0
- package/example-writes/README.md +5 -5
- package/example-writes/chant.config.ts +1 -1
- package/example-writes/ops/apply.op.ts +1 -1
- package/example-writes/ops/floci.op.ts +2 -2
- package/example-writes/ops/reconcile.op.ts +1 -1
- package/example-writes/package-lock.json +62 -175
- package/example-writes/package.json +2 -3
- package/package.json +6 -6
- package/web/app.js +431 -17
- package/web/behaviour-scale.js +32 -0
- package/web/behaviour-scale.test.js +39 -0
- package/web/embed.js +76 -0
- package/web/embed.test.js +45 -0
- package/web/index.html +20 -0
- package/web/operator.js +14 -1
- package/web/panel.js +11 -3
- package/web/run-playhead.js +13 -1
- package/web/view-url.js +138 -0
- package/web/view-url.test.js +84 -0
- package/web/workspace-gates.js +44 -0
- package/web/workspace-gates.test.js +34 -0
- package/example-choudoufu-estate/.behold.json +0 -8
|
@@ -6,9 +6,8 @@
|
|
|
6
6
|
"": {
|
|
7
7
|
"name": "behold-example-k8s",
|
|
8
8
|
"dependencies": {
|
|
9
|
-
"@intentius/chant": "^0.
|
|
10
|
-
"@intentius/chant-lexicon-k8s": "^0.
|
|
11
|
-
"@intentius/chant-lexicon-temporal": "^0.54.0"
|
|
9
|
+
"@intentius/chant": "^0.95.0",
|
|
10
|
+
"@intentius/chant-lexicon-k8s": "^0.95.0"
|
|
12
11
|
}
|
|
13
12
|
},
|
|
14
13
|
"node_modules/@dagrejs/dagre": {
|
|
@@ -443,14 +442,16 @@
|
|
|
443
442
|
}
|
|
444
443
|
},
|
|
445
444
|
"node_modules/@intentius/chant": {
|
|
446
|
-
"version": "0.
|
|
447
|
-
"resolved": "https://registry.npmjs.org/@intentius/chant/-/chant-0.
|
|
448
|
-
"integrity": "sha512-
|
|
445
|
+
"version": "0.95.0",
|
|
446
|
+
"resolved": "https://registry.npmjs.org/@intentius/chant/-/chant-0.95.0.tgz",
|
|
447
|
+
"integrity": "sha512-zhReqEbP7apFyI9bwHATxSKPbc9HK8W2lJvZpib0YNEgSafydm+dd31Hn+7o3AcHhYbAkLpHFQwlFYbM2uVYCg==",
|
|
449
448
|
"license": "Apache-2.0",
|
|
450
449
|
"dependencies": {
|
|
451
450
|
"@dagrejs/dagre": "^3.0.0",
|
|
451
|
+
"ajv": "^8.20.0",
|
|
452
452
|
"esbuild": "^0.28.1",
|
|
453
453
|
"fflate": "^0.8.2",
|
|
454
|
+
"js-yaml": "^4.3.1",
|
|
454
455
|
"picomatch": "^4.0.3",
|
|
455
456
|
"tsx": "^4.0.0",
|
|
456
457
|
"typescript": "^5.5.0",
|
|
@@ -458,12 +459,20 @@
|
|
|
458
459
|
},
|
|
459
460
|
"bin": {
|
|
460
461
|
"chant": "bin/chant"
|
|
462
|
+
},
|
|
463
|
+
"peerDependencies": {
|
|
464
|
+
"vitest": ">=2"
|
|
465
|
+
},
|
|
466
|
+
"peerDependenciesMeta": {
|
|
467
|
+
"vitest": {
|
|
468
|
+
"optional": true
|
|
469
|
+
}
|
|
461
470
|
}
|
|
462
471
|
},
|
|
463
472
|
"node_modules/@intentius/chant-k8s-client": {
|
|
464
|
-
"version": "0.
|
|
465
|
-
"resolved": "https://registry.npmjs.org/@intentius/chant-k8s-client/-/chant-k8s-client-0.
|
|
466
|
-
"integrity": "sha512-
|
|
473
|
+
"version": "0.95.0",
|
|
474
|
+
"resolved": "https://registry.npmjs.org/@intentius/chant-k8s-client/-/chant-k8s-client-0.95.0.tgz",
|
|
475
|
+
"integrity": "sha512-AjLnvTNzAIHbwsOv8gszuLqzH0UeA16Dy8dWIdEICUDLRdmi0gGcX7qZ/VNzQMIHu9Bu1hSIJz+gbmR44a7tYA==",
|
|
467
476
|
"license": "Apache-2.0",
|
|
468
477
|
"optional": true,
|
|
469
478
|
"dependencies": {
|
|
@@ -471,36 +480,35 @@
|
|
|
471
480
|
}
|
|
472
481
|
},
|
|
473
482
|
"node_modules/@intentius/chant-lexicon-k8s": {
|
|
474
|
-
"version": "0.
|
|
475
|
-
"resolved": "https://registry.npmjs.org/@intentius/chant-lexicon-k8s/-/chant-lexicon-k8s-0.
|
|
476
|
-
"integrity": "sha512-
|
|
483
|
+
"version": "0.95.0",
|
|
484
|
+
"resolved": "https://registry.npmjs.org/@intentius/chant-lexicon-k8s/-/chant-lexicon-k8s-0.95.0.tgz",
|
|
485
|
+
"integrity": "sha512-sanDVeXQYHXkwwQ5OZiVCbpHn25B6wt9XvW3uoBpzLv/lBhxrPfKGv5xhDyAfKaSktfCknWXlI2S0SV+6AOy8A==",
|
|
477
486
|
"license": "Apache-2.0",
|
|
478
487
|
"dependencies": {
|
|
488
|
+
"@intentius/chant-lexicon-otel": "*",
|
|
479
489
|
"@types/js-yaml": "^4.0.9",
|
|
480
490
|
"js-yaml": "^4.3.1"
|
|
481
491
|
},
|
|
482
492
|
"optionalDependencies": {
|
|
483
|
-
"@intentius/chant-k8s-client": "^0.
|
|
493
|
+
"@intentius/chant-k8s-client": "^0.95.0"
|
|
484
494
|
},
|
|
485
495
|
"peerDependencies": {
|
|
486
|
-
"@intentius/chant": "^0.
|
|
496
|
+
"@intentius/chant": "^0.95.0",
|
|
487
497
|
"typescript": "^5.9.3",
|
|
488
498
|
"zod": "^4.3.6"
|
|
489
499
|
}
|
|
490
500
|
},
|
|
491
|
-
"node_modules/@intentius/chant-lexicon-
|
|
492
|
-
"version": "0.
|
|
493
|
-
"resolved": "https://registry.npmjs.org/@intentius/chant-lexicon-
|
|
494
|
-
"integrity": "sha512-
|
|
501
|
+
"node_modules/@intentius/chant-lexicon-otel": {
|
|
502
|
+
"version": "0.95.0",
|
|
503
|
+
"resolved": "https://registry.npmjs.org/@intentius/chant-lexicon-otel/-/chant-lexicon-otel-0.95.0.tgz",
|
|
504
|
+
"integrity": "sha512-TTydUPN3fStnkdsmAIWKZiA2gBahxOAz9ihcsHx5rupnkOTSHO8soxayqbUBaUxVbdbrwYT9zpAcc3W3KcXBaQ==",
|
|
495
505
|
"license": "Apache-2.0",
|
|
496
506
|
"dependencies": {
|
|
497
|
-
"@temporalio/common": "^1.17.2",
|
|
498
507
|
"js-yaml": "^4.3.1"
|
|
499
508
|
},
|
|
500
509
|
"peerDependencies": {
|
|
501
|
-
"@intentius/chant": "^0.
|
|
502
|
-
"typescript": "^5.9.3"
|
|
503
|
-
"zod": "^4.3.6"
|
|
510
|
+
"@intentius/chant": "^0.95.0",
|
|
511
|
+
"typescript": "^5.9.3"
|
|
504
512
|
}
|
|
505
513
|
},
|
|
506
514
|
"node_modules/@jsep-plugin/assignment": {
|
|
@@ -577,92 +585,6 @@
|
|
|
577
585
|
"js-yaml": "bin/js-yaml.mjs"
|
|
578
586
|
}
|
|
579
587
|
},
|
|
580
|
-
"node_modules/@protobufjs/aspromise": {
|
|
581
|
-
"version": "1.1.2",
|
|
582
|
-
"resolved": "https://registry.npmjs.org/@protobufjs/aspromise/-/aspromise-1.1.2.tgz",
|
|
583
|
-
"integrity": "sha512-j+gKExEuLmKwvz3OgROXtrJ2UG2x8Ch2YZUxahh+s1F2HZ+wAceUNLkvy6zKCPVRkU++ZWQrdxsUeQXmcg4uoQ==",
|
|
584
|
-
"license": "BSD-3-Clause"
|
|
585
|
-
},
|
|
586
|
-
"node_modules/@protobufjs/base64": {
|
|
587
|
-
"version": "1.1.2",
|
|
588
|
-
"resolved": "https://registry.npmjs.org/@protobufjs/base64/-/base64-1.1.2.tgz",
|
|
589
|
-
"integrity": "sha512-AZkcAA5vnN/v4PDqKyMR5lx7hZttPDgClv83E//FMNhR2TMcLUhfRUBHCmSl0oi9zMgDDqRUJkSxO3wm85+XLg==",
|
|
590
|
-
"license": "BSD-3-Clause"
|
|
591
|
-
},
|
|
592
|
-
"node_modules/@protobufjs/codegen": {
|
|
593
|
-
"version": "2.0.5",
|
|
594
|
-
"resolved": "https://registry.npmjs.org/@protobufjs/codegen/-/codegen-2.0.5.tgz",
|
|
595
|
-
"integrity": "sha512-zgXFLzW3Ap33e6d0Wlj4MGIm6Ce8O89n/apUaGNB/jx+hw+ruWEp7EwGUshdLKVRCxZW12fp9r40E1mQrf/34g==",
|
|
596
|
-
"license": "BSD-3-Clause"
|
|
597
|
-
},
|
|
598
|
-
"node_modules/@protobufjs/eventemitter": {
|
|
599
|
-
"version": "1.1.1",
|
|
600
|
-
"resolved": "https://registry.npmjs.org/@protobufjs/eventemitter/-/eventemitter-1.1.1.tgz",
|
|
601
|
-
"integrity": "sha512-vW1GmwMZNnL+gMRaovlh9yZX74kc+TTU3FObkkurpMaRtBfLP3ldjS9KQWlwZgraRE0+dheEEoAxdzcJQ8eXZg==",
|
|
602
|
-
"license": "BSD-3-Clause"
|
|
603
|
-
},
|
|
604
|
-
"node_modules/@protobufjs/fetch": {
|
|
605
|
-
"version": "1.1.1",
|
|
606
|
-
"resolved": "https://registry.npmjs.org/@protobufjs/fetch/-/fetch-1.1.1.tgz",
|
|
607
|
-
"integrity": "sha512-GpptLrs57adMSuHi3VNj0mAF8dwh36LMaYF6XyJ6JMWlVsc+t42tm1HSEDmOs3A8fC9yyeisgLhsTVQokOZ0zw==",
|
|
608
|
-
"license": "BSD-3-Clause",
|
|
609
|
-
"dependencies": {
|
|
610
|
-
"@protobufjs/aspromise": "^1.1.1"
|
|
611
|
-
}
|
|
612
|
-
},
|
|
613
|
-
"node_modules/@protobufjs/float": {
|
|
614
|
-
"version": "1.0.2",
|
|
615
|
-
"resolved": "https://registry.npmjs.org/@protobufjs/float/-/float-1.0.2.tgz",
|
|
616
|
-
"integrity": "sha512-Ddb+kVXlXst9d+R9PfTIxh1EdNkgoRe5tOX6t01f1lYWOvJnSPDBlG241QLzcyPdoNTsblLUdujGSE4RzrTZGQ==",
|
|
617
|
-
"license": "BSD-3-Clause"
|
|
618
|
-
},
|
|
619
|
-
"node_modules/@protobufjs/path": {
|
|
620
|
-
"version": "1.1.2",
|
|
621
|
-
"resolved": "https://registry.npmjs.org/@protobufjs/path/-/path-1.1.2.tgz",
|
|
622
|
-
"integrity": "sha512-6JOcJ5Tm08dOHAbdR3GrvP+yUUfkjG5ePsHYczMFLq3ZmMkAD98cDgcT2iA1lJ9NVwFd4tH/iSSoe44YWkltEA==",
|
|
623
|
-
"license": "BSD-3-Clause"
|
|
624
|
-
},
|
|
625
|
-
"node_modules/@protobufjs/pool": {
|
|
626
|
-
"version": "1.1.0",
|
|
627
|
-
"resolved": "https://registry.npmjs.org/@protobufjs/pool/-/pool-1.1.0.tgz",
|
|
628
|
-
"integrity": "sha512-0kELaGSIDBKvcgS4zkjz1PeddatrjYcmMWOlAuAPwAeccUrPHdUqo/J6LiymHHEiJT5NrF1UVwxY14f+fy4WQw==",
|
|
629
|
-
"license": "BSD-3-Clause"
|
|
630
|
-
},
|
|
631
|
-
"node_modules/@protobufjs/utf8": {
|
|
632
|
-
"version": "1.1.2",
|
|
633
|
-
"resolved": "https://registry.npmjs.org/@protobufjs/utf8/-/utf8-1.1.2.tgz",
|
|
634
|
-
"integrity": "sha512-b1UQwcEZ4yCnMCD8DAL1VlbvBJE9/IX4FTIp7BG1xYpf29SLazLSrqUkj4w7Y5y7cCVP6E5tcqqcI0xemPkHug==",
|
|
635
|
-
"license": "BSD-3-Clause"
|
|
636
|
-
},
|
|
637
|
-
"node_modules/@temporalio/common": {
|
|
638
|
-
"version": "1.22.0",
|
|
639
|
-
"resolved": "https://registry.npmjs.org/@temporalio/common/-/common-1.22.0.tgz",
|
|
640
|
-
"integrity": "sha512-1NpQpo/y6XU1ULbo/bXgBEhl6qQnOeB79NrsSJdjI38/hfXPom2IYGJcIxOFfsQICQ0zePEKzB9Yyo31KNpIxA==",
|
|
641
|
-
"license": "MIT",
|
|
642
|
-
"dependencies": {
|
|
643
|
-
"@temporalio/proto": "1.22.0",
|
|
644
|
-
"long": "^5.2.3",
|
|
645
|
-
"ms": "3.0.0-canary.1",
|
|
646
|
-
"nexus-rpc": "^0.0.2",
|
|
647
|
-
"proto3-json-serializer": "^2.0.0"
|
|
648
|
-
},
|
|
649
|
-
"engines": {
|
|
650
|
-
"node": ">= 20.3.0"
|
|
651
|
-
}
|
|
652
|
-
},
|
|
653
|
-
"node_modules/@temporalio/proto": {
|
|
654
|
-
"version": "1.22.0",
|
|
655
|
-
"resolved": "https://registry.npmjs.org/@temporalio/proto/-/proto-1.22.0.tgz",
|
|
656
|
-
"integrity": "sha512-X7NVa0Z6HK3l9irZR48FKwZ9w9YXetCdF2z2KCIRr0W7Kul64Wt9o5hwvSXShAtrZuCEEHH8WO/ffHTXxJieLg==",
|
|
657
|
-
"license": "MIT",
|
|
658
|
-
"dependencies": {
|
|
659
|
-
"long": "^5.2.3",
|
|
660
|
-
"protobufjs": "^7.6.4"
|
|
661
|
-
},
|
|
662
|
-
"engines": {
|
|
663
|
-
"node": ">= 20.3.0"
|
|
664
|
-
}
|
|
665
|
-
},
|
|
666
588
|
"node_modules/@types/js-yaml": {
|
|
667
589
|
"version": "4.0.9",
|
|
668
590
|
"resolved": "https://registry.npmjs.org/@types/js-yaml/-/js-yaml-4.0.9.tgz",
|
|
@@ -670,12 +592,13 @@
|
|
|
670
592
|
"license": "MIT"
|
|
671
593
|
},
|
|
672
594
|
"node_modules/@types/node": {
|
|
673
|
-
"version": "26.
|
|
674
|
-
"resolved": "https://registry.npmjs.org/@types/node/-/node-26.
|
|
675
|
-
"integrity": "sha512-
|
|
595
|
+
"version": "26.6.3",
|
|
596
|
+
"resolved": "https://registry.npmjs.org/@types/node/-/node-26.6.3.tgz",
|
|
597
|
+
"integrity": "sha512-dsqMQQoeTLqu9wynDD00q573mNzso3IdQOAfHRJqLCcmCFPoGo9A1bDpUcv/9tnKpErQWv9uKeGfl37EIS02Yg==",
|
|
676
598
|
"license": "MIT",
|
|
599
|
+
"optional": true,
|
|
677
600
|
"dependencies": {
|
|
678
|
-
"undici-types": "~8.
|
|
601
|
+
"undici-types": "~8.9.0"
|
|
679
602
|
}
|
|
680
603
|
},
|
|
681
604
|
"node_modules/@types/stream-buffers": {
|
|
@@ -698,6 +621,22 @@
|
|
|
698
621
|
"node": ">= 20"
|
|
699
622
|
}
|
|
700
623
|
},
|
|
624
|
+
"node_modules/ajv": {
|
|
625
|
+
"version": "8.20.0",
|
|
626
|
+
"resolved": "https://registry.npmjs.org/ajv/-/ajv-8.20.0.tgz",
|
|
627
|
+
"integrity": "sha512-Thbli+OlOj+iMPYFBVBfJ3OmCAnaSyNn4M1vz9T6Gka5Jt9ba/HIR56joy65tY6kx/FCF5VXNB819Y7/GUrBGA==",
|
|
628
|
+
"license": "MIT",
|
|
629
|
+
"dependencies": {
|
|
630
|
+
"fast-deep-equal": "^3.1.3",
|
|
631
|
+
"fast-uri": "^3.0.1",
|
|
632
|
+
"json-schema-traverse": "^1.0.0",
|
|
633
|
+
"require-from-string": "^2.0.2"
|
|
634
|
+
},
|
|
635
|
+
"funding": {
|
|
636
|
+
"type": "github",
|
|
637
|
+
"url": "https://github.com/sponsors/epoberezkin"
|
|
638
|
+
}
|
|
639
|
+
},
|
|
701
640
|
"node_modules/argparse": {
|
|
702
641
|
"version": "2.0.1",
|
|
703
642
|
"resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz",
|
|
@@ -712,9 +651,9 @@
|
|
|
712
651
|
"optional": true
|
|
713
652
|
},
|
|
714
653
|
"node_modules/b4a": {
|
|
715
|
-
"version": "1.
|
|
716
|
-
"resolved": "https://registry.npmjs.org/b4a/-/b4a-1.
|
|
717
|
-
"integrity": "sha512-
|
|
654
|
+
"version": "1.9.0",
|
|
655
|
+
"resolved": "https://registry.npmjs.org/b4a/-/b4a-1.9.0.tgz",
|
|
656
|
+
"integrity": "sha512-dpfcF9fDNR6++cthXR67iyhgqWy9CBouAvIWhIntzBG6cvK/cnIPiZQjBwi/ZqjjBEDGfoNDtmB0kTjroOJ3pQ==",
|
|
718
657
|
"license": "Apache-2.0",
|
|
719
658
|
"optional": true,
|
|
720
659
|
"peerDependencies": {
|
|
@@ -742,9 +681,9 @@
|
|
|
742
681
|
}
|
|
743
682
|
},
|
|
744
683
|
"node_modules/bare-fs": {
|
|
745
|
-
"version": "4.8.
|
|
746
|
-
"resolved": "https://registry.npmjs.org/bare-fs/-/bare-fs-4.8.
|
|
747
|
-
"integrity": "sha512
|
|
684
|
+
"version": "4.8.2",
|
|
685
|
+
"resolved": "https://registry.npmjs.org/bare-fs/-/bare-fs-4.8.2.tgz",
|
|
686
|
+
"integrity": "sha512-+ZI68KHMUvosXfKbg/UOHK0tbCdRnegbvPEdEcZ3Nd6TetieQsJPRXBRXPdLyy8+3VSEbPXtsumTpEtt78xv9w==",
|
|
748
687
|
"license": "Apache-2.0",
|
|
749
688
|
"optional": true,
|
|
750
689
|
"dependencies": {
|
|
@@ -802,9 +741,9 @@
|
|
|
802
741
|
}
|
|
803
742
|
},
|
|
804
743
|
"node_modules/bare-url": {
|
|
805
|
-
"version": "2.5.
|
|
806
|
-
"resolved": "https://registry.npmjs.org/bare-url/-/bare-url-2.5.
|
|
807
|
-
"integrity": "sha512-
|
|
744
|
+
"version": "2.5.4",
|
|
745
|
+
"resolved": "https://registry.npmjs.org/bare-url/-/bare-url-2.5.4.tgz",
|
|
746
|
+
"integrity": "sha512-Gxa7UVWBr0/edU1b+TJhn/AZvMQUj9OGspvYsaTYQrAbZA4BOTZGL3LiZxvD+CeMlDH4juwD84+eTAp/bLYW5g==",
|
|
808
747
|
"license": "Apache-2.0",
|
|
809
748
|
"optional": true,
|
|
810
749
|
"dependencies": {
|
|
@@ -856,13 +795,6 @@
|
|
|
856
795
|
}
|
|
857
796
|
}
|
|
858
797
|
},
|
|
859
|
-
"node_modules/debug/node_modules/ms": {
|
|
860
|
-
"version": "2.1.3",
|
|
861
|
-
"resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz",
|
|
862
|
-
"integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==",
|
|
863
|
-
"license": "MIT",
|
|
864
|
-
"optional": true
|
|
865
|
-
},
|
|
866
798
|
"node_modules/delayed-stream": {
|
|
867
799
|
"version": "1.0.0",
|
|
868
800
|
"resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz",
|
|
@@ -998,6 +930,12 @@
|
|
|
998
930
|
"bare-events": "^2.7.0"
|
|
999
931
|
}
|
|
1000
932
|
},
|
|
933
|
+
"node_modules/fast-deep-equal": {
|
|
934
|
+
"version": "3.1.3",
|
|
935
|
+
"resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz",
|
|
936
|
+
"integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==",
|
|
937
|
+
"license": "MIT"
|
|
938
|
+
},
|
|
1001
939
|
"node_modules/fast-fifo": {
|
|
1002
940
|
"version": "1.3.2",
|
|
1003
941
|
"resolved": "https://registry.npmjs.org/fast-fifo/-/fast-fifo-1.3.2.tgz",
|
|
@@ -1005,6 +943,22 @@
|
|
|
1005
943
|
"license": "MIT",
|
|
1006
944
|
"optional": true
|
|
1007
945
|
},
|
|
946
|
+
"node_modules/fast-uri": {
|
|
947
|
+
"version": "3.1.8",
|
|
948
|
+
"resolved": "https://registry.npmjs.org/fast-uri/-/fast-uri-3.1.8.tgz",
|
|
949
|
+
"integrity": "sha512-GZMtZUTNRpOVIECoXwLNZS5xUGE+mVNbTB8h/7Rwh2TFWcBQiPzTgyZi05BF9UMZKkLJv8XBRJTlU7zg8+ZfMg==",
|
|
950
|
+
"funding": [
|
|
951
|
+
{
|
|
952
|
+
"type": "github",
|
|
953
|
+
"url": "https://github.com/sponsors/fastify"
|
|
954
|
+
},
|
|
955
|
+
{
|
|
956
|
+
"type": "opencollective",
|
|
957
|
+
"url": "https://opencollective.com/fastify"
|
|
958
|
+
}
|
|
959
|
+
],
|
|
960
|
+
"license": "BSD-3-Clause"
|
|
961
|
+
},
|
|
1008
962
|
"node_modules/fflate": {
|
|
1009
963
|
"version": "0.8.3",
|
|
1010
964
|
"resolved": "https://registry.npmjs.org/fflate/-/fflate-0.8.3.tgz",
|
|
@@ -1157,9 +1111,9 @@
|
|
|
1157
1111
|
}
|
|
1158
1112
|
},
|
|
1159
1113
|
"node_modules/ip-address": {
|
|
1160
|
-
"version": "10.7.
|
|
1161
|
-
"resolved": "https://registry.npmjs.org/ip-address/-/ip-address-10.7.
|
|
1162
|
-
"integrity": "sha512-
|
|
1114
|
+
"version": "10.7.2",
|
|
1115
|
+
"resolved": "https://registry.npmjs.org/ip-address/-/ip-address-10.7.2.tgz",
|
|
1116
|
+
"integrity": "sha512-7H/2gFSIitxc0hG3nOI1glS8QLo/EHBFFLk8vEUjXY/xu0AdL8jZ9U1IzO2PUm0d2D/ofQcAifb0g6OBkt8U7w==",
|
|
1163
1117
|
"license": "MIT",
|
|
1164
1118
|
"optional": true,
|
|
1165
1119
|
"engines": {
|
|
@@ -1177,9 +1131,9 @@
|
|
|
1177
1131
|
}
|
|
1178
1132
|
},
|
|
1179
1133
|
"node_modules/jose": {
|
|
1180
|
-
"version": "6.2.
|
|
1181
|
-
"resolved": "https://registry.npmjs.org/jose/-/jose-6.2.
|
|
1182
|
-
"integrity": "sha512-
|
|
1134
|
+
"version": "6.2.12",
|
|
1135
|
+
"resolved": "https://registry.npmjs.org/jose/-/jose-6.2.12.tgz",
|
|
1136
|
+
"integrity": "sha512-9NiFmJEex0sy2Dk58j2UGBSHgUs2ypF9eZSu4L6vjOX3Dp96Sw1F3uL+H+D1sx02jZZdzUT0HgvCy59CuvXcWw==",
|
|
1183
1137
|
"license": "MIT",
|
|
1184
1138
|
"optional": true,
|
|
1185
1139
|
"funding": {
|
|
@@ -1218,6 +1172,12 @@
|
|
|
1218
1172
|
"node": ">= 10.16.0"
|
|
1219
1173
|
}
|
|
1220
1174
|
},
|
|
1175
|
+
"node_modules/json-schema-traverse": {
|
|
1176
|
+
"version": "1.0.0",
|
|
1177
|
+
"resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz",
|
|
1178
|
+
"integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==",
|
|
1179
|
+
"license": "MIT"
|
|
1180
|
+
},
|
|
1221
1181
|
"node_modules/jsonpath-plus": {
|
|
1222
1182
|
"version": "10.4.0",
|
|
1223
1183
|
"resolved": "https://registry.npmjs.org/jsonpath-plus/-/jsonpath-plus-10.4.0.tgz",
|
|
@@ -1237,12 +1197,6 @@
|
|
|
1237
1197
|
"node": ">=18.0.0"
|
|
1238
1198
|
}
|
|
1239
1199
|
},
|
|
1240
|
-
"node_modules/long": {
|
|
1241
|
-
"version": "5.3.2",
|
|
1242
|
-
"resolved": "https://registry.npmjs.org/long/-/long-5.3.2.tgz",
|
|
1243
|
-
"integrity": "sha512-mNAgZ1GmyNhD7AuqnTG3/VQ26o760+ZYBPKjPvugO8+nLbYfX6TVpJPseBvopbdY+qpZ/lKUnmEc1LeZYS3QAA==",
|
|
1244
|
-
"license": "Apache-2.0"
|
|
1245
|
-
},
|
|
1246
1200
|
"node_modules/math-intrinsics": {
|
|
1247
1201
|
"version": "1.1.0",
|
|
1248
1202
|
"resolved": "https://registry.npmjs.org/math-intrinsics/-/math-intrinsics-1.1.0.tgz",
|
|
@@ -1277,27 +1231,16 @@
|
|
|
1277
1231
|
}
|
|
1278
1232
|
},
|
|
1279
1233
|
"node_modules/ms": {
|
|
1280
|
-
"version": "
|
|
1281
|
-
"resolved": "https://registry.npmjs.org/ms/-/ms-
|
|
1282
|
-
"integrity": "sha512-
|
|
1283
|
-
"license": "MIT",
|
|
1284
|
-
"engines": {
|
|
1285
|
-
"node": ">=12.13"
|
|
1286
|
-
}
|
|
1287
|
-
},
|
|
1288
|
-
"node_modules/nexus-rpc": {
|
|
1289
|
-
"version": "0.0.2",
|
|
1290
|
-
"resolved": "https://registry.npmjs.org/nexus-rpc/-/nexus-rpc-0.0.2.tgz",
|
|
1291
|
-
"integrity": "sha512-IWjIExdVYlmwXuzHdY/Q3lXCv1gbqoAXPazQhy2w4Xgtgha3H0OOujEESVPQcFUFMWm+pAk2gKnb57g8S41JZg==",
|
|
1234
|
+
"version": "2.1.3",
|
|
1235
|
+
"resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz",
|
|
1236
|
+
"integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==",
|
|
1292
1237
|
"license": "MIT",
|
|
1293
|
-
"
|
|
1294
|
-
"node": ">= 20.0.0"
|
|
1295
|
-
}
|
|
1238
|
+
"optional": true
|
|
1296
1239
|
},
|
|
1297
1240
|
"node_modules/oauth4webapi": {
|
|
1298
|
-
"version": "3.8.
|
|
1299
|
-
"resolved": "https://registry.npmjs.org/oauth4webapi/-/oauth4webapi-3.8.
|
|
1300
|
-
"integrity": "sha512-
|
|
1241
|
+
"version": "3.8.8",
|
|
1242
|
+
"resolved": "https://registry.npmjs.org/oauth4webapi/-/oauth4webapi-3.8.8.tgz",
|
|
1243
|
+
"integrity": "sha512-8N28E+a/oxfXWBgOMt+ZP/JUf/XR+IFbvkAEPP3gznXOMv9BpAAwiIj0TFNz3tGTPc0ZQ8zmWBNgN1nAys0gng==",
|
|
1301
1244
|
"license": "MIT",
|
|
1302
1245
|
"optional": true,
|
|
1303
1246
|
"funding": {
|
|
@@ -1315,14 +1258,14 @@
|
|
|
1315
1258
|
}
|
|
1316
1259
|
},
|
|
1317
1260
|
"node_modules/openid-client": {
|
|
1318
|
-
"version": "6.8.
|
|
1319
|
-
"resolved": "https://registry.npmjs.org/openid-client/-/openid-client-6.8.
|
|
1320
|
-
"integrity": "sha512-
|
|
1261
|
+
"version": "6.8.8",
|
|
1262
|
+
"resolved": "https://registry.npmjs.org/openid-client/-/openid-client-6.8.8.tgz",
|
|
1263
|
+
"integrity": "sha512-ZsucJA5Ad04Uv7YN4ql+s4GXNmb9uAYQwyJTsJx7CH/MX3JZioLE2pVKi1SC+YrbSLA4Px3Gi30dMjgOZtb6pA==",
|
|
1321
1264
|
"license": "MIT",
|
|
1322
1265
|
"optional": true,
|
|
1323
1266
|
"dependencies": {
|
|
1324
|
-
"jose": "^6.2.
|
|
1325
|
-
"oauth4webapi": "^3.8.
|
|
1267
|
+
"jose": "^6.2.12",
|
|
1268
|
+
"oauth4webapi": "^3.8.8"
|
|
1326
1269
|
},
|
|
1327
1270
|
"funding": {
|
|
1328
1271
|
"url": "https://github.com/sponsors/panva"
|
|
@@ -1340,41 +1283,6 @@
|
|
|
1340
1283
|
"url": "https://github.com/sponsors/jonschlinkert"
|
|
1341
1284
|
}
|
|
1342
1285
|
},
|
|
1343
|
-
"node_modules/proto3-json-serializer": {
|
|
1344
|
-
"version": "2.0.2",
|
|
1345
|
-
"resolved": "https://registry.npmjs.org/proto3-json-serializer/-/proto3-json-serializer-2.0.2.tgz",
|
|
1346
|
-
"integrity": "sha512-SAzp/O4Yh02jGdRc+uIrGoe87dkN/XtwxfZ4ZyafJHymd79ozp5VG5nyZ7ygqPM5+cpLDjjGnYFUkngonyDPOQ==",
|
|
1347
|
-
"license": "Apache-2.0",
|
|
1348
|
-
"dependencies": {
|
|
1349
|
-
"protobufjs": "^7.2.5"
|
|
1350
|
-
},
|
|
1351
|
-
"engines": {
|
|
1352
|
-
"node": ">=14.0.0"
|
|
1353
|
-
}
|
|
1354
|
-
},
|
|
1355
|
-
"node_modules/protobufjs": {
|
|
1356
|
-
"version": "7.6.5",
|
|
1357
|
-
"resolved": "https://registry.npmjs.org/protobufjs/-/protobufjs-7.6.5.tgz",
|
|
1358
|
-
"integrity": "sha512-/FPD0nUc9jH6rfFjji9IBqOz4pcSE3CsT1m7Ep6Mdb0LxSUMj8hgl6GomOvZzpNpAqqGaXA0P3VSrZLFzIhQrw==",
|
|
1359
|
-
"hasInstallScript": true,
|
|
1360
|
-
"license": "BSD-3-Clause",
|
|
1361
|
-
"dependencies": {
|
|
1362
|
-
"@protobufjs/aspromise": "^1.1.2",
|
|
1363
|
-
"@protobufjs/base64": "^1.1.2",
|
|
1364
|
-
"@protobufjs/codegen": "^2.0.5",
|
|
1365
|
-
"@protobufjs/eventemitter": "^1.1.1",
|
|
1366
|
-
"@protobufjs/fetch": "^1.1.1",
|
|
1367
|
-
"@protobufjs/float": "^1.0.2",
|
|
1368
|
-
"@protobufjs/path": "^1.1.2",
|
|
1369
|
-
"@protobufjs/pool": "^1.1.0",
|
|
1370
|
-
"@protobufjs/utf8": "^1.1.1",
|
|
1371
|
-
"@types/node": ">=13.7.0",
|
|
1372
|
-
"long": "^5.3.2"
|
|
1373
|
-
},
|
|
1374
|
-
"engines": {
|
|
1375
|
-
"node": ">=12.0.0"
|
|
1376
|
-
}
|
|
1377
|
-
},
|
|
1378
1286
|
"node_modules/pump": {
|
|
1379
1287
|
"version": "3.0.4",
|
|
1380
1288
|
"resolved": "https://registry.npmjs.org/pump/-/pump-3.0.4.tgz",
|
|
@@ -1386,6 +1294,15 @@
|
|
|
1386
1294
|
"once": "^1.3.1"
|
|
1387
1295
|
}
|
|
1388
1296
|
},
|
|
1297
|
+
"node_modules/require-from-string": {
|
|
1298
|
+
"version": "2.0.2",
|
|
1299
|
+
"resolved": "https://registry.npmjs.org/require-from-string/-/require-from-string-2.0.2.tgz",
|
|
1300
|
+
"integrity": "sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==",
|
|
1301
|
+
"license": "MIT",
|
|
1302
|
+
"engines": {
|
|
1303
|
+
"node": ">=0.10.0"
|
|
1304
|
+
}
|
|
1305
|
+
},
|
|
1389
1306
|
"node_modules/rfc4648": {
|
|
1390
1307
|
"version": "1.5.4",
|
|
1391
1308
|
"resolved": "https://registry.npmjs.org/rfc4648/-/rfc4648-1.5.4.tgz",
|
|
@@ -1405,9 +1322,9 @@
|
|
|
1405
1322
|
}
|
|
1406
1323
|
},
|
|
1407
1324
|
"node_modules/socks": {
|
|
1408
|
-
"version": "2.8.
|
|
1409
|
-
"resolved": "https://registry.npmjs.org/socks/-/socks-2.8.
|
|
1410
|
-
"integrity": "sha512-
|
|
1325
|
+
"version": "2.8.10",
|
|
1326
|
+
"resolved": "https://registry.npmjs.org/socks/-/socks-2.8.10.tgz",
|
|
1327
|
+
"integrity": "sha512-e0VyvkVTwVYViNovRkZ9aodhxVlyoMn7eJhVUPxZ+eK9P/7CBkxvvsBOHqFPEH416726W8tLXXXjKwqgTErrCQ==",
|
|
1411
1328
|
"license": "MIT",
|
|
1412
1329
|
"optional": true,
|
|
1413
1330
|
"dependencies": {
|
|
@@ -1536,9 +1453,9 @@
|
|
|
1536
1453
|
}
|
|
1537
1454
|
},
|
|
1538
1455
|
"node_modules/undici": {
|
|
1539
|
-
"version": "8.
|
|
1540
|
-
"resolved": "https://registry.npmjs.org/undici/-/undici-8.
|
|
1541
|
-
"integrity": "sha512-
|
|
1456
|
+
"version": "8.11.2",
|
|
1457
|
+
"resolved": "https://registry.npmjs.org/undici/-/undici-8.11.2.tgz",
|
|
1458
|
+
"integrity": "sha512-u4UB2/IrKdU6lFxumHmmo1a3fCQO5tzQllRorfoRS63txhrB7xTpSn1PftwC4qEHkOaqP95fCWW4lJzwErwzhQ==",
|
|
1542
1459
|
"license": "MIT",
|
|
1543
1460
|
"optional": true,
|
|
1544
1461
|
"engines": {
|
|
@@ -1546,10 +1463,11 @@
|
|
|
1546
1463
|
}
|
|
1547
1464
|
},
|
|
1548
1465
|
"node_modules/undici-types": {
|
|
1549
|
-
"version": "8.
|
|
1550
|
-
"resolved": "https://registry.npmjs.org/undici-types/-/undici-types-8.
|
|
1551
|
-
"integrity": "sha512-
|
|
1552
|
-
"license": "MIT"
|
|
1466
|
+
"version": "8.9.0",
|
|
1467
|
+
"resolved": "https://registry.npmjs.org/undici-types/-/undici-types-8.9.0.tgz",
|
|
1468
|
+
"integrity": "sha512-KTDyRTYX8sWmKXAikPHHSyc63CRPETMctyjKFupcC6OBLXT3xsN0e9aF7m+mIXutFWpUXuedtowG7iLOzp0kQg==",
|
|
1469
|
+
"license": "MIT",
|
|
1470
|
+
"optional": true
|
|
1553
1471
|
},
|
|
1554
1472
|
"node_modules/wrappy": {
|
|
1555
1473
|
"version": "1.0.2",
|
|
@@ -1559,9 +1477,9 @@
|
|
|
1559
1477
|
"optional": true
|
|
1560
1478
|
},
|
|
1561
1479
|
"node_modules/ws": {
|
|
1562
|
-
"version": "8.
|
|
1563
|
-
"resolved": "https://registry.npmjs.org/ws/-/ws-8.
|
|
1564
|
-
"integrity": "sha512-
|
|
1480
|
+
"version": "8.22.0",
|
|
1481
|
+
"resolved": "https://registry.npmjs.org/ws/-/ws-8.22.0.tgz",
|
|
1482
|
+
"integrity": "sha512-Ydggc987+RO0AnWtZ/7Wq9FtNvcrL1b/RO0ud9mWjUPgDrsAAwQSF51sm2hm1XofbU/4jkpGEsLFsZZxU+1DOg==",
|
|
1565
1483
|
"license": "MIT",
|
|
1566
1484
|
"optional": true,
|
|
1567
1485
|
"engines": {
|
package/example-k8s/package.json
CHANGED
|
@@ -7,8 +7,7 @@
|
|
|
7
7
|
"build": "./node_modules/.bin/chant build src --lexicon k8s -o app.yaml"
|
|
8
8
|
},
|
|
9
9
|
"dependencies": {
|
|
10
|
-
"@intentius/chant": "^0.
|
|
11
|
-
"@intentius/chant-lexicon-k8s": "^0.
|
|
12
|
-
"@intentius/chant-lexicon-temporal": "^0.54.0"
|
|
10
|
+
"@intentius/chant": "^0.95.0",
|
|
11
|
+
"@intentius/chant-lexicon-k8s": "^0.95.0"
|
|
13
12
|
}
|
|
14
13
|
}
|
|
@@ -25,7 +25,7 @@ on. 25 resources, drawing 37 cards and 31 edges at the `resources` zoom.
|
|
|
25
25
|
|
|
26
26
|
Discovery has to tell five things apart, and this estate is built to be each of
|
|
27
27
|
them. A root is a directory with a `.tf` declaring a line-start `terraform {` or
|
|
28
|
-
`provider "` block beside a `resource`, `data` or `module` block
|
|
28
|
+
`provider "` block beside a `resource`, `data` or `module` block, a regex probe
|
|
29
29
|
at depth, never an HCL parse.
|
|
30
30
|
|
|
31
31
|
**`envs/prod` is the obvious root.** Provider block, resources, module calls.
|
|
@@ -35,7 +35,7 @@ root configures a provider" would miss it. It is a root because it declares
|
|
|
35
35
|
resources beside a `terraform` block, and it is applied on its own.
|
|
36
36
|
|
|
37
37
|
**`modules/service` is the case that defeats the probe.** Its `versions.tf` is
|
|
38
|
-
byte-for-byte `envs/prod/versions.tf
|
|
38
|
+
byte-for-byte `envs/prod/versions.tf`, the same `required_version`, the same
|
|
39
39
|
`required_providers`. Nothing in the file's content says which of the two is a
|
|
40
40
|
root. What separates them is that this one sits under a `modules/` segment,
|
|
41
41
|
Terraform's own standard module structure, and the roots that call it draw its
|
|
@@ -43,7 +43,7 @@ blocks already. Drawing it again would double every card in it.
|
|
|
43
43
|
|
|
44
44
|
**`backends` has a `terraform` block and nothing to draw.** No resource, no
|
|
45
45
|
data source, no module call. It is reported as skipped rather than drawn as an
|
|
46
|
-
empty box
|
|
46
|
+
empty box, a box with nothing in it is a question, and the note answers it.
|
|
47
47
|
|
|
48
48
|
**`envs/dev` is neither drawn nor reported.** It holds no `.tf` at all, so
|
|
49
49
|
there is nothing here that looks like Terraform and nothing to say about it.
|
|
@@ -84,13 +84,13 @@ HCL.
|
|
|
84
84
|
## It needs the lexicon
|
|
85
85
|
|
|
86
86
|
behold parses no HCL and ships no HCL parser. The reading goes through
|
|
87
|
-
`@intentius/chant-lexicon-terraform`, which loads `@
|
|
87
|
+
`@intentius/chant-lexicon-terraform`, which loads `@cdktn/hcl2json` underneath —
|
|
88
88
|
a ~1.8 MB wasm blob. Both are declared as optional peers and behold does not
|
|
89
89
|
install them, so that every user who serves an ordinary chant project does not
|
|
90
90
|
carry an HCL parser they will never run:
|
|
91
91
|
|
|
92
92
|
```sh
|
|
93
|
-
npm install --no-save @intentius/chant-lexicon-terraform @
|
|
93
|
+
npm install --no-save @intentius/chant-lexicon-terraform @cdktn/hcl2json
|
|
94
94
|
```
|
|
95
95
|
|
|
96
96
|
Without them the demo refuses with that exact line and says where it looked.
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "example-terraform-estate",
|
|
3
|
+
"schema": 1,
|
|
4
|
+
"pins": [
|
|
5
|
+
{
|
|
6
|
+
"package": "@intentius/chant-lexicon-terraform",
|
|
7
|
+
"version": "0.95.0"
|
|
8
|
+
}
|
|
9
|
+
],
|
|
10
|
+
"members": [
|
|
11
|
+
{
|
|
12
|
+
"name": "prod",
|
|
13
|
+
"dir": "envs/prod",
|
|
14
|
+
"kind": "terraform"
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"name": "platform",
|
|
18
|
+
"dir": "platform",
|
|
19
|
+
"kind": "terraform"
|
|
20
|
+
}
|
|
21
|
+
]
|
|
22
|
+
}
|