@intentius/behold 0.29.56 → 0.29.57
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/THIRD_PARTY.md +21 -0
- package/dist/cli.js +7611 -6919
- package/example-three-cloud/azure/composites/container-app-site.ts +77 -0
- package/example-three-cloud/azure/src/site.ts +14 -46
- package/example-three-cloud/dns/composites/latency-entry.ts +73 -0
- package/example-three-cloud/dns/src/route53.ts +9 -39
- package/example-three-cloud/gcp/composites/public-cloud-run.ts +102 -0
- package/example-three-cloud/gcp/src/site.ts +16 -96
- package/licenses/aws-architecture-icons-TERMS.md +19 -0
- package/licenses/azure-architecture-icons-Microsoft_Terms_of_Use.pdf +0 -0
- package/licenses/azure-architecture-icons-TERMS.md +20 -0
- package/licenses/google-cloud-icons-TERMS.md +15 -0
- package/package.json +1 -1
- package/web/app.js +557 -18
- package/web/edge-weight.d.ts +5 -0
- package/web/edge-weight.js +71 -0
- package/web/edge-weight.test.js +49 -0
- package/web/icons/aws/alb.svg +1 -0
- package/web/icons/aws/api-gateway.svg +1 -0
- package/web/icons/aws/app-runner.svg +1 -0
- package/web/icons/aws/appsync.svg +1 -0
- package/web/icons/aws/athena.svg +1 -0
- package/web/icons/aws/auto-scaling.svg +1 -0
- package/web/icons/aws/backup.svg +1 -0
- package/web/icons/aws/batch.svg +1 -0
- package/web/icons/aws/bedrock-agentcore.svg +1 -0
- package/web/icons/aws/bedrock.svg +1 -0
- package/web/icons/aws/certificate-manager.svg +1 -0
- package/web/icons/aws/cloud-map.svg +1 -0
- package/web/icons/aws/cloud.svg +1 -0
- package/web/icons/aws/cloudformation.svg +1 -0
- package/web/icons/aws/cloudfront.svg +1 -0
- package/web/icons/aws/cloudtrail.svg +1 -0
- package/web/icons/aws/cloudwatch-alarm.svg +1 -0
- package/web/icons/aws/cloudwatch-logs.svg +1 -0
- package/web/icons/aws/cloudwatch.svg +1 -0
- package/web/icons/aws/codebuild.svg +1 -0
- package/web/icons/aws/codecommit.svg +1 -0
- package/web/icons/aws/codedeploy.svg +1 -0
- package/web/icons/aws/codepipeline.svg +1 -0
- package/web/icons/aws/cognito.svg +1 -0
- package/web/icons/aws/config.svg +1 -0
- package/web/icons/aws/documentdb.svg +1 -0
- package/web/icons/aws/dynamodb-table.svg +1 -0
- package/web/icons/aws/dynamodb.svg +1 -0
- package/web/icons/aws/ebs-volume.svg +1 -0
- package/web/icons/aws/ec2-instance.svg +1 -0
- package/web/icons/aws/ec2.svg +1 -0
- package/web/icons/aws/ecr-registry.svg +1 -0
- package/web/icons/aws/ecr.svg +1 -0
- package/web/icons/aws/ecs-service.svg +1 -0
- package/web/icons/aws/ecs-task.svg +1 -0
- package/web/icons/aws/ecs.svg +1 -0
- package/web/icons/aws/efs.svg +1 -0
- package/web/icons/aws/eks.svg +1 -0
- package/web/icons/aws/elastic-beanstalk.svg +1 -0
- package/web/icons/aws/elastic-ip.svg +1 -0
- package/web/icons/aws/elasticache.svg +1 -0
- package/web/icons/aws/elb.svg +1 -0
- package/web/icons/aws/emr.svg +1 -0
- package/web/icons/aws/eventbridge.svg +1 -0
- package/web/icons/aws/firehose.svg +1 -0
- package/web/icons/aws/global-accelerator.svg +1 -0
- package/web/icons/aws/glue.svg +1 -0
- package/web/icons/aws/guardduty.svg +1 -0
- package/web/icons/aws/iam.svg +1 -0
- package/web/icons/aws/internet-gateway.svg +1 -0
- package/web/icons/aws/keyspaces.svg +1 -0
- package/web/icons/aws/kinesis.svg +1 -0
- package/web/icons/aws/kms.svg +1 -0
- package/web/icons/aws/lambda-function.svg +1 -0
- package/web/icons/aws/lambda.svg +1 -0
- package/web/icons/aws/mq.svg +1 -0
- package/web/icons/aws/msk.svg +1 -0
- package/web/icons/aws/nat-gateway.svg +1 -0
- package/web/icons/aws/neptune.svg +1 -0
- package/web/icons/aws/network-acl.svg +1 -0
- package/web/icons/aws/network-firewall.svg +1 -0
- package/web/icons/aws/opensearch.svg +1 -0
- package/web/icons/aws/organizations.svg +1 -0
- package/web/icons/aws/rds-instance.svg +1 -0
- package/web/icons/aws/rds.svg +1 -0
- package/web/icons/aws/redshift.svg +1 -0
- package/web/icons/aws/route-53-hosted-zone.svg +1 -0
- package/web/icons/aws/route-53.svg +1 -0
- package/web/icons/aws/router.svg +1 -0
- package/web/icons/aws/s3-bucket.svg +1 -0
- package/web/icons/aws/s3.svg +1 -0
- package/web/icons/aws/sagemaker.svg +1 -0
- package/web/icons/aws/secrets-manager.svg +1 -0
- package/web/icons/aws/ses.svg +1 -0
- package/web/icons/aws/shield.svg +1 -0
- package/web/icons/aws/sns-topic.svg +1 -0
- package/web/icons/aws/sns.svg +1 -0
- package/web/icons/aws/sqs-queue.svg +1 -0
- package/web/icons/aws/sqs.svg +1 -0
- package/web/icons/aws/step-functions.svg +1 -0
- package/web/icons/aws/systems-manager.svg +1 -0
- package/web/icons/aws/transfer-family.svg +1 -0
- package/web/icons/aws/transit-gateway.svg +1 -0
- package/web/icons/aws/vpc-endpoints.svg +1 -0
- package/web/icons/aws/vpc-lattice.svg +1 -0
- package/web/icons/aws/vpc.svg +1 -0
- package/web/icons/aws/vpn-gateway.svg +1 -0
- package/web/icons/aws/waf.svg +1 -0
- package/web/icons/azure/app-service-plan.svg +1 -0
- package/web/icons/azure/app-services.svg +1 -0
- package/web/icons/azure/application-gateway.svg +1 -0
- package/web/icons/azure/container-app.svg +1 -0
- package/web/icons/azure/container-apps-environment.svg +1 -0
- package/web/icons/azure/container-instances.svg +1 -0
- package/web/icons/azure/container-registry.svg +1 -0
- package/web/icons/azure/cosmos-db.svg +1 -0
- package/web/icons/azure/dns-zone.svg +1 -0
- package/web/icons/azure/front-door.svg +1 -0
- package/web/icons/azure/function-app.svg +1 -0
- package/web/icons/azure/kubernetes-service.svg +1 -0
- package/web/icons/azure/load-balancer.svg +1 -0
- package/web/icons/azure/log-analytics.svg +1 -0
- package/web/icons/azure/managed-identity.svg +1 -0
- package/web/icons/azure/mysql.svg +1 -0
- package/web/icons/azure/nat.svg +1 -0
- package/web/icons/azure/network-security-group.svg +1 -0
- package/web/icons/azure/postgresql.svg +1 -0
- package/web/icons/azure/public-ip.svg +1 -0
- package/web/icons/azure/redis.svg +1 -0
- package/web/icons/azure/resource-group.svg +1 -0
- package/web/icons/azure/route-table.svg +1 -0
- package/web/icons/azure/sql-database.svg +1 -0
- package/web/icons/azure/sql-server.svg +1 -0
- package/web/icons/azure/subnet.svg +1 -0
- package/web/icons/azure/subscription.svg +1 -0
- package/web/icons/azure/virtual-machine.svg +1 -0
- package/web/icons/azure/virtual-network-gateway.svg +1 -0
- package/web/icons/azure/virtual-network.svg +1 -0
- package/web/icons/gcp/artifact-registry.svg +1 -0
- package/web/icons/gcp/bigquery.svg +1 -0
- package/web/icons/gcp/bigtable.svg +1 -0
- package/web/icons/gcp/certificate-manager.svg +1 -0
- package/web/icons/gcp/cloud-armor.svg +1 -0
- package/web/icons/gcp/cloud-build.svg +1 -0
- package/web/icons/gcp/cloud-composer.svg +1 -0
- package/web/icons/gcp/cloud-dns.svg +1 -0
- package/web/icons/gcp/cloud-functions.svg +1 -0
- package/web/icons/gcp/cloud-load-balancing.svg +1 -0
- package/web/icons/gcp/cloud-logging.svg +1 -0
- package/web/icons/gcp/cloud-monitoring.svg +1 -0
- package/web/icons/gcp/cloud-nat.svg +1 -0
- package/web/icons/gcp/cloud-router.svg +1 -0
- package/web/icons/gcp/cloud-run.svg +1 -0
- package/web/icons/gcp/cloud-scheduler.svg +1 -0
- package/web/icons/gcp/cloud-spanner.svg +1 -0
- package/web/icons/gcp/cloud-sql.svg +1 -0
- package/web/icons/gcp/cloud-storage.svg +1 -0
- package/web/icons/gcp/cloud-tasks.svg +1 -0
- package/web/icons/gcp/compute-engine.svg +1 -0
- package/web/icons/gcp/dataflow.svg +1 -0
- package/web/icons/gcp/external-ip.svg +1 -0
- package/web/icons/gcp/firestore.svg +1 -0
- package/web/icons/gcp/firewall-rules.svg +1 -0
- package/web/icons/gcp/gke.svg +1 -0
- package/web/icons/gcp/iam.svg +1 -0
- package/web/icons/gcp/kms.svg +1 -0
- package/web/icons/gcp/memorystore.svg +1 -0
- package/web/icons/gcp/persistent-disk.svg +1 -0
- package/web/icons/gcp/project.svg +1 -0
- package/web/icons/gcp/pubsub.svg +1 -0
- package/web/icons/gcp/secret-manager.svg +1 -0
- package/web/icons/gcp/vpc.svg +1 -0
- package/web/index.html +34 -0
- package/web/net-trace.js +649 -0
- package/web/net-trace.test.js +180 -0
- package/web/view-url.js +12 -7
package/web/index.html
CHANGED
|
@@ -143,6 +143,19 @@
|
|
|
143
143
|
/* An edge is drawn the same width on screen at every zoom: in viewBox
|
|
144
144
|
units a fitted estate scaled its 1.4 down to a third of a pixel. */
|
|
145
145
|
#graph .pin-edge-line { vector-effect: non-scaling-stroke; stroke-width: 1.6px; }
|
|
146
|
+
/* behold#824: each cloud's boundary box in its vendor's colour, mixed into
|
|
147
|
+
the theme so it holds on light and dark palettes alike. */
|
|
148
|
+
:root { --cloud-aws: #ff9900; --cloud-azure: #0078d4; --cloud-gcp: #34a853; }
|
|
149
|
+
#graph rect[data-cloud] { fill-opacity: 1; stroke-width: 2.5; }
|
|
150
|
+
#graph rect[data-cloud="aws"] { fill: color-mix(in srgb, var(--cloud-aws) 13%, var(--bg)); stroke: color-mix(in srgb, var(--cloud-aws) 75%, var(--bg)); }
|
|
151
|
+
#graph rect[data-cloud="azure"] { fill: color-mix(in srgb, var(--cloud-azure) 13%, var(--bg)); stroke: color-mix(in srgb, var(--cloud-azure) 75%, var(--bg)); }
|
|
152
|
+
#graph rect[data-cloud="gcp"] { fill: color-mix(in srgb, var(--cloud-gcp) 13%, var(--bg)); stroke: color-mix(in srgb, var(--cloud-gcp) 75%, var(--bg)); }
|
|
153
|
+
#graph text[data-cloud] { font-weight: 700; }
|
|
154
|
+
#graph text[data-cloud="aws"] { fill: color-mix(in srgb, var(--cloud-aws) 80%, var(--fg)); }
|
|
155
|
+
#graph text[data-cloud="azure"] { fill: color-mix(in srgb, var(--cloud-azure) 80%, var(--fg)); }
|
|
156
|
+
#graph text[data-cloud="gcp"] { fill: color-mix(in srgb, var(--cloud-gcp) 80%, var(--fg)); }
|
|
157
|
+
#panel .png-opts { display: flex; gap: 10px; align-items: center; font: var(--t-caption)/1.4 var(--font-ui); color: var(--muted); margin-top: 4px; }
|
|
158
|
+
#panel .png-opts select { font: inherit; }
|
|
146
159
|
/* behold#824: the legend on the graph — what a card's colour and its bar mean. */
|
|
147
160
|
#graph-legend { position: absolute; right: 12px; bottom: 12px; z-index: 5; min-width: 190px; max-width: 260px;
|
|
148
161
|
background: var(--panel); color: var(--fg); border: 1px solid var(--line); border-radius: var(--r-ctl);
|
|
@@ -161,6 +174,15 @@
|
|
|
161
174
|
#graph-legend .gl-dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; margin: 0 6px 0 1px; }
|
|
162
175
|
#graph-legend .gl-dot.dashed { border-radius: 2px; }
|
|
163
176
|
#graph g[data-edge-via] > text { fill: var(--pin-text); }
|
|
177
|
+
/* behold#878: an edge weighed by how it was found (web/edge-weight.js). */
|
|
178
|
+
:is(#graph, .edge-swatch) g[data-edge-weight="wired"] .pin-edge-line { stroke-width: 2.4px; }
|
|
179
|
+
:is(#graph, .edge-swatch) g[data-edge-weight="inferred"] .pin-edge-line { stroke-dasharray: 1.5 4; stroke-linecap: round; }
|
|
180
|
+
:is(#graph, .edge-swatch) g[data-edge-weight="plumbing"] .pin-edge-line { stroke-width: 1px; stroke-dasharray: 4 3; stroke: var(--muted); }
|
|
181
|
+
#graph g[data-edge-weight="hidden"] { display: none; }
|
|
182
|
+
#graph-legend .gl-edge { flex: none; overflow: visible; width: 22px; height: 10px; }
|
|
183
|
+
/* Too small to read at this zoom: hidden until its edge is lit or pointed at. */
|
|
184
|
+
#graph g[data-label-small]:not(.edge-hi):not(.label-peek) > rect,
|
|
185
|
+
#graph g[data-label-small]:not(.edge-hi):not(.label-peek) > text { display: none; }
|
|
164
186
|
#graph g[data-edge-via] > rect { stroke: var(--pin-edge); }
|
|
165
187
|
/* ---- Motion (#229) ---------------------------------------------------
|
|
166
188
|
behold spends motion exactly twice, and never for decoration:
|
|
@@ -458,6 +480,18 @@
|
|
|
458
480
|
drift hues own saturation now, and "which node am I looking at" earns
|
|
459
481
|
one of them. */
|
|
460
482
|
.sel rect, .sel path, .sel > rect { stroke: var(--pending) !important; stroke-width: 2.5 !important; }
|
|
483
|
+
/* #881: a trace's hops, open or closed; the cards it doesn't touch fade. */
|
|
484
|
+
#graph svg.tracing g[data-node-id]:not(.trace-open):not(.trace-closed) { opacity: .3; }
|
|
485
|
+
#graph g.trace-open > rect { stroke: var(--managed) !important; stroke-width: 2.5 !important; }
|
|
486
|
+
#graph g.trace-closed > rect { stroke: var(--degraded) !important; stroke-width: 3.5 !important; stroke-dasharray: 5 3; }
|
|
487
|
+
.net-trace .net-pick { display: flex; align-items: center; gap: 6px; margin: 4px 0; color: var(--muted); }
|
|
488
|
+
.net-trace .net-pick select, .net-trace .net-pick input { flex: 1; min-width: 0; }
|
|
489
|
+
.net-row { display: grid; grid-template-columns: 8px 1fr; gap: 8px; align-items: baseline; margin: 5px 0; overflow-wrap: anywhere; }
|
|
490
|
+
.net-row.clickable { cursor: pointer; }
|
|
491
|
+
.net-row.clickable:hover b { color: var(--fg); }
|
|
492
|
+
.net-row .dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
|
|
493
|
+
.net-row b { font-weight: 600; color: var(--muted); }
|
|
494
|
+
.net-row .tag { display: block; color: var(--muted); font-family: var(--font-mono); font-size: .85em; }
|
|
461
495
|
.err { padding: 24px; color: var(--foreign); }
|
|
462
496
|
/* #72: a classified precondition failure (chant's lint gate, a project
|
|
463
497
|
that isn't installed/typegen'd, a tier that needs credentials) reads
|