@intentius/behold 0.29.56 → 0.30.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 +323 -26
- package/THIRD_PARTY.md +21 -0
- package/demos.json +1 -1
- package/dist/cli.js +12393 -8612
- package/example-choudoufu-estate/chant.workspace.json +1 -1
- package/example-terraform-estate/README.md +10 -10
- package/example-terraform-estate/chant.workspace.json +1 -1
- package/example-three-cloud/README.md +17 -9
- package/example-three-cloud/aws/chant.config.ts +1 -1
- package/example-three-cloud/aws/site.component.ts +13 -0
- package/example-three-cloud/azure/chant.config.ts +1 -1
- package/example-three-cloud/azure/src/site.component.ts +13 -0
- package/example-three-cloud/azure/src/site.ts +12 -46
- package/example-three-cloud/dns/chant.config.ts +1 -1
- package/example-three-cloud/dns/src/records.component.ts +14 -0
- package/example-three-cloud/dns/src/route53.ts +8 -39
- package/example-three-cloud/gcp/chant.config.ts +1 -1
- package/example-three-cloud/gcp/src/site.component.ts +13 -0
- package/example-three-cloud/gcp/src/site.ts +12 -92
- package/example-three-cloud/package-lock.json +19 -19
- package/example-three-cloud/package.json +4 -4
- package/example-three-cloud/scripts/front-door.ts +89 -15
- 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 +8 -9
- package/web/agent-move.js +60 -0
- package/web/agent-move.test.js +55 -0
- package/web/app.js +1084 -66
- package/web/dots-lod.js +1 -1
- 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/embed.d.ts +3 -0
- package/web/embed.js +5 -3
- package/web/embed.test.js +8 -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 +98 -9
- package/web/net-trace.js +649 -0
- package/web/net-trace.test.js +180 -0
- package/web/panel.js +28 -4
- package/web/release.js +6 -4
- package/web/release.test.js +2 -2
- package/web/search-view.d.ts +27 -0
- package/web/search-view.js +213 -0
- package/web/search-view.test.js +144 -0
- package/web/shot-frame.d.ts +5 -0
- package/web/shot-frame.js +116 -0
- package/web/shot-frame.test.js +90 -0
- package/web/themes.js +1 -1
- package/web/view-url.d.ts +18 -0
- package/web/view-url.js +162 -10
- package/web/view-url.test.js +72 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="24px" height="24px" viewBox="0 0 24 24"><defs><style>.gcp-pubsub-cls-1{filter:url(#gcp-pubsub-luminosity-noclip);}.gcp-pubsub-cls-2{fill:#669df6;}.gcp-pubsub-cls-3{mask:url(#gcp-pubsub-mask);}.gcp-pubsub-cls-4{fill:#4285f4;}.gcp-pubsub-cls-5{fill:#aecbfa;}</style><filter id="gcp-pubsub-luminosity-noclip" x="4.64" y="4.19" width="14.73" height="12.76" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-color="#fff" result="bg"/><feBlend in="SourceGraphic" in2="bg"/></filter><mask id="gcp-pubsub-mask" x="4.64" y="4.19" width="14.73" height="12.76" maskUnits="userSpaceOnUse"><circle class="gcp-pubsub-cls-1" cx="12" cy="12.23" r="3.58"/></mask></defs><title>Icon_24px_Pub-Sub_Color</title><g data-name="Product Icons"><circle class="gcp-pubsub-cls-2" cx="18.97" cy="8.21" r="1.72"/><circle class="gcp-pubsub-cls-2" cx="5.03" cy="8.21" r="1.72"/><circle class="gcp-pubsub-cls-2" cx="12" cy="20.28" r="1.72"/><g class="gcp-pubsub-cls-3"><rect class="gcp-pubsub-cls-4" x="14.69" y="10.22" width="1.59" height="8.04" transform="matrix(0.5, -0.87, 0.87, 0.5, -4.59, 20.53)"/><rect class="gcp-pubsub-cls-4" x="4.49" y="13.45" width="8.04" height="1.59" transform="translate(-5.98 6.17) rotate(-30)"/><rect class="gcp-pubsub-cls-4" x="11.2" y="4.19" width="1.59" height="8.04"/></g><circle class="gcp-pubsub-cls-5" cx="12" cy="12.23" r="2.78"/><circle class="gcp-pubsub-cls-5" cx="5.03" cy="16.25" r="2.19"/><circle class="gcp-pubsub-cls-5" cx="18.97" cy="16.25" r="2.19"/><circle class="gcp-pubsub-cls-5" cx="12" cy="4.19" r="2.19"/></g></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg width="24px" height="24px" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"><g transform="translate(2.000000, 6.000000)" fill="#4285F4" fill-rule="nonzero"><path d="M20,9.41469125e-14 L20,11.8867925 L16.0377358,11.8867925 C15.9335312,11.8867925 15.8490566,11.8023179 15.8490566,11.6981132 L15.8490566,10.5660377 C15.8490566,10.4618331 15.9335312,10.3773585 16.0377358,10.3773585 L18.4900566,10.377 L18.4900566,1.509 L16.0377358,1.50943396 C15.9335312,1.50943396 15.8490566,1.42495939 15.8490566,1.32075472 L15.8490566,0.188679245 C15.8490566,0.0844745755 15.9335312,9.41105434e-14 16.0377358,9.41469125e-14 L20,9.41469125e-14 Z M4.309101,9.41469125e-14 C4.41330567,9.3877869e-14 4.49778024,0.0844745755 4.49778024,0.188679245 L4.49778024,1.32075472 C4.49778024,1.42495939 4.41330567,1.50943396 4.309101,1.50943396 L1.509,1.509 L1.509,10.377 L4.29245283,10.3773585 C4.3966575,10.3773585 4.48113208,10.4618331 4.48113208,10.5660377 L4.48113208,11.6981132 C4.48113208,11.8023179 4.3966575,11.8867925 4.29245283,11.8867925 L2.14050999e-13,11.8867925 L2.14050999e-13,9.41469125e-14 L4.309101,9.41469125e-14 Z M15.4271098,3.86792453 L15.4271098,5.3240566 L15.4879305,5.34852941 L16.8381494,4.87130966 L17.1179245,5.69114872 L15.7555414,6.15613208 L15.719049,6.25402331 L16.6556874,7.51437292 L15.9501676,8.02830189 L15.0378575,6.76795228 L14.9527085,6.76795228 L14.0403984,8.02830189 L13.3348786,7.51437292 L14.2593529,6.25402331 L14.2350246,6.15613208 L12.8726415,5.69114872 L13.1524166,4.87130966 L14.4904714,5.34852941 L14.5634562,5.3240566 L14.5634562,3.86792453 L15.4271098,3.86792453 Z M5.19597773,3.86792453 L5.19597773,5.30963945 L5.2567984,5.33386996 L6.60701735,4.86137515 L6.88679245,5.673097 L5.52440936,6.13347656 L5.48791696,6.23039857 L6.42455533,7.47826947 L5.71903552,7.98711003 L4.80672541,6.73923913 L4.72157647,6.73923913 L3.80926637,7.98711003 L3.10374655,7.47826947 L4.02822079,6.23039857 L4.00389252,6.13347656 L2.64150943,5.673097 L2.92128453,4.86137515 L4.25933935,5.33386996 L4.33232416,5.30963945 L4.33232416,3.86792453 L5.19597773,3.86792453 Z M10.2903173,3.86792453 L10.2903173,5.30963945 L10.351138,5.33386996 L11.701357,4.86137515 L11.9811321,5.673097 L10.618749,6.13347656 L10.5822566,6.23039857 L11.518895,7.47826947 L10.8133751,7.98711003 L9.90106504,6.73923913 L9.81591609,6.73923913 L8.90360599,7.98711003 L8.19808618,7.47826947 L9.12256042,6.23039857 L9.09823215,6.13347656 L7.73584906,5.673097 L8.01562416,4.86137515 L9.35367897,5.33386996 L9.42666378,5.30963945 L9.42666378,3.86792453 L10.2903173,3.86792453 Z"></path></g></g></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24px" height="24px" viewBox="0 0 24 24"><defs><style>.gcp-vpc-cls-1{fill:#aecbfa;}.gcp-vpc-cls-2{fill:#669df6;}.gcp-vpc-cls-3{fill:#4285f4;}</style></defs><title>Icon_24px_VirtualPrivateCloud_Color</title><g data-name="Product Icons"><rect class="gcp-vpc-cls-1" x="16" y="2" width="6" height="6"/><rect class="gcp-vpc-cls-2" x="19" y="2" width="3" height="6"/><rect class="gcp-vpc-cls-1" x="16" y="16" width="6" height="6"/><rect class="gcp-vpc-cls-2" x="19" y="16" width="3" height="6"/><rect class="gcp-vpc-cls-1" x="2" y="2" width="6" height="6"/><rect class="gcp-vpc-cls-2" x="5" y="2" width="3" height="6"/><rect class="gcp-vpc-cls-1" x="2" y="16" width="6" height="6"/><rect class="gcp-vpc-cls-2" x="5" y="16" width="3" height="6"/><rect class="gcp-vpc-cls-2" x="8" y="4" width="8" height="2"/><rect class="gcp-vpc-cls-2" x="8" y="18" width="8" height="2"/><rect class="gcp-vpc-cls-2" x="18" y="8" width="2" height="8"/><rect class="gcp-vpc-cls-2" x="4" y="8" width="2" height="8"/><rect class="gcp-vpc-cls-3" x="4" y="8" width="2" height="2"/><rect class="gcp-vpc-cls-3" x="18" y="8" width="2" height="2"/><rect class="gcp-vpc-cls-3" x="8" y="4" width="2" height="2"/><rect class="gcp-vpc-cls-3" x="8" y="18" width="2" height="2"/></g></svg>
|
package/web/index.html
CHANGED
|
@@ -27,11 +27,11 @@
|
|
|
27
27
|
route or an asset: no request, and the exported page keeps it. -->
|
|
28
28
|
<link
|
|
29
29
|
rel="icon"
|
|
30
|
-
href="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='6' fill='none' stroke='%
|
|
30
|
+
href="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='6' fill='none' stroke='%23696b6c' stroke-width='1.6'/%3E%3Ccircle cx='8' cy='8' r='2.2' fill='%23696b6c'/%3E%3C/svg%3E"
|
|
31
31
|
/>
|
|
32
32
|
<style>
|
|
33
33
|
/* Pre-paint fallback (#229). These are the DEFAULT theme's tokens —
|
|
34
|
-
|
|
34
|
+
GitHub Light Colorblind run through theme.js's tokensFor() — not a palette of
|
|
35
35
|
their own, so the first frame is already the frame initTheme() lands
|
|
36
36
|
on and there is no flash of a different app. (It used to be GitHub
|
|
37
37
|
Primer dark, which is why behold's first paint read as every other
|
|
@@ -39,11 +39,11 @@
|
|
|
39
39
|
live in this block; smoke/ui-smoke.mjs recomputes them from theme.js
|
|
40
40
|
and fails if the two drift apart. */
|
|
41
41
|
:root {
|
|
42
|
-
--bg: #
|
|
43
|
-
--edge: #
|
|
44
|
-
--degraded: #
|
|
45
|
-
--rule: #
|
|
46
|
-
--bar-managed: #
|
|
42
|
+
--bg: #ffffff; --panel: #ebecec; --line: #dcddde; --fg: #24292f; --muted: #696b6c; --ink2: #41454a;
|
|
43
|
+
--edge: #87898d; --managed: #0550ae; --foreign: #4d2d00; --pending: #0969da;
|
|
44
|
+
--degraded: #b35900; --neutral: #9c9fa1; --runtime: #1b7c83;
|
|
45
|
+
--rule: #999ea3; --focus: #52709b; --active: #c5d6e9; --well: #ebebeb; --shadow: #666666;
|
|
46
|
+
--bar-managed: #0550ae; --bar-foreign: #4d2d00; --bar-pending: #0969da; --bar-degraded: #af5700; --bar-runtime: #167980; --bar-neutral: #6c6f71;
|
|
47
47
|
}
|
|
48
48
|
/* The non-colour half of the identity: type and radii. These can't derive
|
|
49
49
|
from a colour theme, so they're the one static token block — but they
|
|
@@ -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:
|
|
@@ -189,6 +211,7 @@
|
|
|
189
211
|
#graph [data-layout-resize] { transition: none; }
|
|
190
212
|
}
|
|
191
213
|
#graph g[data-edge-from]:hover .pin-edge-line,
|
|
214
|
+
#graph g[data-edge-from].edge-over .pin-edge-line,
|
|
192
215
|
#graph g[data-edge-from].edge-hi .pin-edge-line { stroke: var(--pending); stroke-width: 3.2; }
|
|
193
216
|
/* Edge kind by reason (logical view): a data dependency reads as a dashed
|
|
194
217
|
"logical link", distinct from the solid network-traffic edges; hover
|
|
@@ -421,11 +444,17 @@
|
|
|
421
444
|
#zoom-toggle:hover { border-color: var(--focus); color: var(--fg); }
|
|
422
445
|
/* Hand layout (#228): the escape hatch, beside ⤢ fit. Hidden by app.js
|
|
423
446
|
until something on this lens is actually hand-placed — it is both the
|
|
424
|
-
reset and the only
|
|
447
|
+
reset and the only sign that cards have been moved by hand. */
|
|
425
448
|
#layout-reset { position: absolute; top: 8px; right: 66px; z-index: 2; background: var(--panel);
|
|
426
449
|
color: var(--muted); border: 1px solid var(--rule); border-radius: var(--r-ctl); padding: var(--s1) var(--s3);
|
|
427
450
|
font: var(--t-caption)/1.3 var(--font-mono); cursor: pointer; }
|
|
428
451
|
#layout-reset:hover { border-color: var(--focus); color: var(--fg); }
|
|
452
|
+
/* The view features one click away, top-centre of the graph pane, clear of the panel and ⤢ fit. */
|
|
453
|
+
#view-toggles { position: absolute; top: 8px; left: 50%; transform: translateX(-50%); z-index: 2; display: flex; gap: var(--s1); }
|
|
454
|
+
#view-toggles .vt { background: var(--panel); color: var(--fg); border: 1px solid var(--rule); border-radius: var(--r-ctl);
|
|
455
|
+
padding: var(--s1) var(--s3); font: var(--t-caption)/1.3 var(--font-mono); cursor: pointer; }
|
|
456
|
+
#view-toggles .vt:hover { border-color: var(--focus); }
|
|
457
|
+
#view-toggles .vt.active { border-color: var(--focus); background: var(--focus); color: var(--bg); }
|
|
429
458
|
/* A containment box's title moves it and its corner handle resizes it.
|
|
430
459
|
The handle carries opacity="0" as a presentation attribute so a static
|
|
431
460
|
export never shows it — this rule outranks the attribute. */
|
|
@@ -458,6 +487,18 @@
|
|
|
458
487
|
drift hues own saturation now, and "which node am I looking at" earns
|
|
459
488
|
one of them. */
|
|
460
489
|
.sel rect, .sel path, .sel > rect { stroke: var(--pending) !important; stroke-width: 2.5 !important; }
|
|
490
|
+
/* #881: a trace's hops, open or closed; the cards it doesn't touch fade. */
|
|
491
|
+
#graph svg.tracing g[data-node-id]:not(.trace-open):not(.trace-closed) { opacity: .3; }
|
|
492
|
+
#graph g.trace-open > rect { stroke: var(--managed) !important; stroke-width: 2.5 !important; }
|
|
493
|
+
#graph g.trace-closed > rect { stroke: var(--degraded) !important; stroke-width: 3.5 !important; stroke-dasharray: 5 3; }
|
|
494
|
+
.net-trace .net-pick { display: flex; align-items: center; gap: 6px; margin: 4px 0; color: var(--muted); }
|
|
495
|
+
.net-trace .net-pick select, .net-trace .net-pick input { flex: 1; min-width: 0; }
|
|
496
|
+
.net-row { display: grid; grid-template-columns: 8px 1fr; gap: 8px; align-items: baseline; margin: 5px 0; overflow-wrap: anywhere; }
|
|
497
|
+
.net-row.clickable { cursor: pointer; }
|
|
498
|
+
.net-row.clickable:hover b { color: var(--fg); }
|
|
499
|
+
.net-row .dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
|
|
500
|
+
.net-row b { font-weight: 600; color: var(--muted); }
|
|
501
|
+
.net-row .tag { display: block; color: var(--muted); font-family: var(--font-mono); font-size: .85em; }
|
|
461
502
|
.err { padding: 24px; color: var(--foreign); }
|
|
462
503
|
/* #72: a classified precondition failure (chant's lint gate, a project
|
|
463
504
|
that isn't installed/typegen'd, a tier that needs credentials) reads
|
|
@@ -629,6 +670,26 @@
|
|
|
629
670
|
#panel-collapse:hover { color: var(--fg); }
|
|
630
671
|
#panel-body { overflow-y: auto; max-height: min(62vh, 540px); padding: var(--s3) var(--s4);
|
|
631
672
|
font-size: var(--t-body); user-select: text; }
|
|
673
|
+
/* On a phone (web/panel.js): a Done button to fold the panel, a body short
|
|
674
|
+
enough to leave the graph in sight, and the toggles and the inspect
|
|
675
|
+
pane's controls where a thumb finds them. */
|
|
676
|
+
#panel-done { display: none; }
|
|
677
|
+
@media (max-width: 600px) {
|
|
678
|
+
#panel { width: min(272px, calc(100vw - 24px)); }
|
|
679
|
+
#panel-body { max-height: 46vh; }
|
|
680
|
+
#panel-foot { max-height: 4.5em; overflow-y: auto; }
|
|
681
|
+
#panel-done { display: block; margin: var(--s2) var(--s3) var(--s3); padding: var(--s2); border: 1px solid var(--rule);
|
|
682
|
+
border-radius: var(--r-ctl); background: var(--active); color: var(--fg); font: 600 var(--t-body)/1.2 var(--font-ui); cursor: pointer; }
|
|
683
|
+
#panel.collapsed #panel-done { display: none; }
|
|
684
|
+
#panel-collapse { min-width: 36px; font-size: 16px; }
|
|
685
|
+
#view-toggles { top: 56px; }
|
|
686
|
+
#inspect-collapse { top: 8px; right: 8px; padding: 6px 10px; border: 1px solid var(--rule); border-radius: var(--r-ctl); background: var(--panel);
|
|
687
|
+
font: 600 var(--t-caption)/1 var(--font-ui); color: var(--fg); }
|
|
688
|
+
#inspect-collapse .chev { display: none; }
|
|
689
|
+
#inspect-collapse::after { content: "\2715 close"; }
|
|
690
|
+
#inspect-reopen { top: 56px; right: 12px; transform: none; writing-mode: horizontal-tb; border: 1px solid var(--rule);
|
|
691
|
+
border-radius: var(--r-ctl); padding: var(--s2) var(--s3); color: var(--fg); }
|
|
692
|
+
}
|
|
632
693
|
#panel-body section { display: none; }
|
|
633
694
|
#panel-body section.active { display: block; }
|
|
634
695
|
#panel h3 { margin: var(--s4) 0 var(--s2); font: 600 var(--t-caption)/1.4 var(--font-ui); color: var(--muted); }
|
|
@@ -988,6 +1049,34 @@
|
|
|
988
1049
|
box-shadow: 0 6px 20px color-mix(in srgb, var(--shadow) 60%, transparent); font: var(--t-body)/1.45 var(--font-ui);
|
|
989
1050
|
white-space: pre-line; overflow-wrap: anywhere; pointer-events: none; }
|
|
990
1051
|
#b-tip[hidden] { display: none; }
|
|
1052
|
+
/* behold#913: `q`, a chant search query drawn over the graph (web/search-view.js). The matches lit, the
|
|
1053
|
+
cards and edges on their paths at full weight, the rest dimmed; nothing hidden. A no-matches view
|
|
1054
|
+
outlines the near-misses; a row a live read could not observe wears a dashed ring. */
|
|
1055
|
+
#graph [data-node-id][data-q="dim"], #graph g[data-edge-from][data-q="dim"] { opacity: .22; transition: opacity .15s; }
|
|
1056
|
+
#graph [data-node-id][data-q="lit"] rect:first-of-type { stroke: var(--pending); stroke-width: 3; }
|
|
1057
|
+
#graph [data-node-id][data-q="path"] rect:first-of-type { stroke: var(--pending); stroke-width: 1.5; }
|
|
1058
|
+
#graph g[data-edge-from][data-q="path"] path:first-of-type { stroke: var(--pending); stroke-width: 2.5; }
|
|
1059
|
+
#graph [data-node-id][data-q-near] { opacity: .6; }
|
|
1060
|
+
#graph [data-node-id][data-q-near] rect:first-of-type { stroke: var(--ink2); stroke-width: 1.5; stroke-dasharray: 3 2; }
|
|
1061
|
+
#graph [data-node-id][data-q-unobserved] rect:first-of-type { stroke: var(--degraded); stroke-dasharray: 5 3; }
|
|
1062
|
+
/* behold#922: a counts answer: each group's cards outlined in its colour, its first card labelled with chant's count. */
|
|
1063
|
+
#graph [data-node-id][data-q-group] rect:first-of-type { stroke: var(--q-group); stroke-width: 3; }
|
|
1064
|
+
#graph .q-group-label { font: 600 12px var(--font-mono); paint-order: stroke; stroke: var(--bg); stroke-width: 3px; pointer-events: none; }
|
|
1065
|
+
#q-line { position: fixed; top: 12px; left: 12px; z-index: 54; max-width: min(640px, calc(100vw - 32px)); padding: 6px 10px;
|
|
1066
|
+
border: 1px solid var(--rule); border-left: 4px solid var(--pending); border-radius: 6px; background: var(--panel); color: var(--fg);
|
|
1067
|
+
font: 12px/1.4 var(--font-mono); overflow-wrap: anywhere; box-shadow: 0 4px 16px color-mix(in srgb, var(--shadow) 40%, transparent); }
|
|
1068
|
+
#q-line[hidden] { display: none; }
|
|
1069
|
+
#q-line[data-tone="empty"] { border-left-color: var(--neutral); }
|
|
1070
|
+
#q-line[data-tone="failed"] { border-left-color: var(--degraded); color: var(--degraded); }
|
|
1071
|
+
#q-line .q-line-not-searched { color: var(--muted); margin-top: 2px; }
|
|
1072
|
+
/* #914: an agent moved this tab (POST /api/view). Says who asked what, and when, with Back. */
|
|
1073
|
+
#agent-banner { position: fixed; top: 12px; left: 50%; transform: translateX(-50%); z-index: 55; display: flex; align-items: center; gap: 10px;
|
|
1074
|
+
max-width: min(720px, calc(100vw - 32px)); padding: 8px 12px; border: 1px solid var(--rule); border-radius: 6px;
|
|
1075
|
+
background: var(--panel); color: var(--fg); box-shadow: 0 4px 16px var(--shadow); font-size: 13px; }
|
|
1076
|
+
#agent-banner[hidden] { display: none; }
|
|
1077
|
+
#agent-banner .agent-banner-text { overflow-wrap: anywhere; }
|
|
1078
|
+
#agent-banner button { flex: none; font: inherit; color: var(--fg); background: var(--well); border: 1px solid var(--rule); border-radius: 4px; padding: 2px 10px; cursor: pointer; }
|
|
1079
|
+
#agent-banner .agent-banner-close { padding: 2px 6px; background: none; border-color: transparent; }
|
|
991
1080
|
/* web/motion.js marks the page while its tab is hidden: every animation holds where it is. */
|
|
992
1081
|
:root[data-motion="paused"] *, :root[data-motion="paused"] *::before, :root[data-motion="paused"] *::after { animation-play-state: paused !important; }
|
|
993
1082
|
</style>
|
|
@@ -1003,7 +1092,7 @@
|
|
|
1003
1092
|
<div id="ws-gates" hidden></div>
|
|
1004
1093
|
<aside id="inspect">
|
|
1005
1094
|
<div id="inspect-resize" title="Drag to resize"></div>
|
|
1006
|
-
<button id="inspect-collapse" title="Collapse panel">›</button>
|
|
1095
|
+
<button id="inspect-collapse" title="Collapse panel"><span class="chev">›</span></button>
|
|
1007
1096
|
<div id="inspect-body"><h2>Inspect</h2><p style="color:var(--ink2)">Click a node</p></div>
|
|
1008
1097
|
</aside>
|
|
1009
1098
|
<button id="inspect-reopen" title="Show inspect panel">Inspect ‹</button>
|