rvlib-shipkit 2.26.0 → 2.28.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/CHANGELOG.md +36 -0
- package/package.json +1 -1
- package/src/agent-time/diet.ts +77 -0
- package/src/agent-time/family.ts +72 -0
- package/src/agent-time/hooks.ts +16 -7
- package/src/agent-time/limits.ts +44 -0
- package/src/agent-time/live.ts +12 -8
- package/src/agent-time/mask.ts +96 -18
- package/src/agent-time/refused.ts +45 -0
- package/src/agent-time/registry.ts +289 -0
- package/src/agent-time/render.ts +122 -21
- package/src/agent-time/report-cache.ts +57 -0
- package/src/agent-time/report.ts +314 -40
- package/src/agent-time/shape.ts +50 -3
- package/src/agent-time/store.ts +322 -101
- package/src/agent-time/timeline.ts +140 -21
- package/src/agent-time/turns.ts +18 -8
- package/src/annex/born.ts +2 -2
- package/src/annex/offload.ts +29 -17
- package/src/annex/tidy.ts +70 -10
- package/src/asks/ask-after.ts +44 -0
- package/src/asks/ask-bar-fold.ts +57 -0
- package/src/asks/ask-migrate.ts +280 -0
- package/src/asks/ask-steps-fold.ts +166 -0
- package/src/asks/ask-store.ts +586 -0
- package/src/assets/kit-config.ts +7 -3
- package/src/assets/kits/identity-kit.ts +361 -14
- package/src/assets/kits/poster-thumbnail.ts +282 -0
- package/src/check.ts +3 -1
- package/src/checks/SK003-claude-md-shape.check.ts +92 -25
- package/src/checks/SK004-gitignore-policy.check.ts +20 -9
- package/src/checks/SK013-one-way-in-policy.check.ts +18 -3
- package/src/checks/SK026-asks-autoclose.check.ts +9 -23
- package/src/checks/SK028-readme.check.ts +7 -66
- package/src/checks/SK030-cache-audit.check.ts +6 -1
- package/src/checks/SK031-trace-audit.check.ts +2 -0
- package/src/checks/SK033-global-contribution.check.ts +3 -1
- package/src/checks/SK035-public-clean.check.ts +2 -2
- package/src/checks/SK038-speaks-as.check.ts +3 -3
- package/src/checks/SK042-post-kinds.check.ts +26 -24
- package/src/checks/SK043-scratch-on-the-mac.check.ts +59 -4
- package/src/checks/SK047-login-in-description.check.ts +36 -0
- package/src/checks/SK048-one-local-file.check.ts +36 -0
- package/src/checks/SK049-thread-answers-hook.check.ts +81 -0
- package/src/checks/SK050-retired-commands.check.ts +127 -0
- package/src/cli/cmd_Asks.ts +244 -27
- package/src/cli/cmd_Backup.ts +153 -10
- package/src/cli/cmd_Calls.ts +1 -0
- package/src/cli/cmd_Capacity.ts +2 -2
- package/src/cli/cmd_Commands.ts +140 -34
- package/src/cli/cmd_Contracts.ts +1 -0
- package/src/cli/cmd_CrossRepoActivity.ts +5 -4
- package/src/cli/cmd_Db.ts +253 -0
- package/src/cli/cmd_History.ts +212 -0
- package/src/cli/cmd_Home.ts +31 -3
- package/src/cli/cmd_Hq.ts +516 -0
- package/src/cli/cmd_Keys.ts +1 -0
- package/src/cli/cmd_Lanes.ts +15 -4
- package/src/cli/cmd_Machines.ts +36 -0
- package/src/cli/cmd_Media.ts +38 -6
- package/src/cli/cmd_Messages.ts +152 -1
- package/src/cli/cmd_Needs.ts +1 -0
- package/src/cli/cmd_Reflect.ts +23 -2
- package/src/cli/cmd_Review.ts +1357 -223
- package/src/cli/cmd_Secret.ts +295 -24
- package/src/cli/cmd_Social.ts +113 -28
- package/src/cli/cmd_SocialDrafts.ts +235 -0
- package/src/cli/cmd_Sound.ts +22 -1
- package/src/cli/cmd_Space.ts +324 -0
- package/src/cli/cmd_Start.ts +3 -2
- package/src/cli/cmd_ThreadHolds.ts +34 -0
- package/src/cli/cmd_ThreadKinds.ts +146 -0
- package/src/cli/cmd_ThreadReflect.ts +83 -0
- package/src/cli/cmd_ThreadSyncNeeds.ts +62 -0
- package/src/cli/cmd_Time.ts +76 -5
- package/src/cli/cmd_Tmp.ts +28 -4
- package/src/cli/cmd_Trailer.ts +14 -10
- package/src/cli/cmd_Urls.ts +56 -0
- package/src/cli/cmd_Vault.ts +583 -0
- package/src/cli/cmd_When.ts +1 -0
- package/src/cli/family-help.ts +5 -3
- package/src/cli/family-pages.ts +1 -1
- package/src/cli/kit/builtins.ts +1 -0
- package/src/cli/kit/verb.ts +6 -2
- package/src/cli/registry.ts +44 -4
- package/src/cli.ts +5 -2
- package/src/collections/actions.ts +42 -41
- package/src/collections/collection-types.ts +30 -4
- package/src/collections/md-body.ts +5 -3
- package/src/collections/pings.ts +13 -6
- package/src/collections/providers.ts +147 -61
- package/src/collections/reflections.ts +9 -4
- package/src/collections/review.ts +4 -4
- package/src/contracts/contract-manifests.ts +6 -5
- package/src/contracts/contract-types.ts +6 -4
- package/src/contracts/contracts-engine.ts +11 -0
- package/src/contracts/manifests/chrome-web-store.contract.ts +31 -0
- package/src/core/budget.ts +12 -17
- package/src/core/capacity.ts +27 -18
- package/src/core/check-runner.ts +7 -4
- package/src/core/discover-checks.ts +18 -3
- package/src/core/git.ts +31 -0
- package/src/core/house-layout.ts +17 -0
- package/src/core/layout.ts +13 -5
- package/src/core/locked-write.ts +4 -1
- package/src/core/machine-busy.ts +127 -0
- package/src/core/machine-commit.ts +6 -1
- package/src/core/machine-db.ts +370 -20
- package/src/core/machine-layout.ts +137 -0
- package/src/core/machine-read.ts +81 -0
- package/src/core/migrate-layout.ts +9 -11
- package/src/core/one-way-in-policy.ts +64 -7
- package/src/core/polling-policy.ts +27 -0
- package/src/core/retention.ts +16 -2
- package/src/core/scope.ts +107 -14
- package/src/core/slots.ts +5 -4
- package/src/drill/clean.ts +25 -1
- package/src/drill/run.ts +1 -1
- package/src/drill/seal.ts +27 -4
- package/src/home/activity-shape.ts +2 -0
- package/src/home/activity.ts +59 -3
- package/src/home/app-sign.ts +15 -4
- package/src/home/daemon-jobs.ts +161 -7
- package/src/home/database-projects.ts +111 -0
- package/src/home/database-words.ts +203 -0
- package/src/home/databases.ts +460 -0
- package/src/home/global-units.ts +6 -0
- package/src/home/gui-app/ShipkitGui.swift +122 -1
- package/src/home/gui-app.ts +6 -3
- package/src/home/home-move.ts +514 -0
- package/src/home/home-paths.ts +18 -6
- package/src/home/home-routes.ts +76 -0
- package/src/home/inbox-shape.ts +234 -91
- package/src/home/inbox.ts +26 -71
- package/src/home/machine-fold.ts +815 -0
- package/src/home/machine-host.ts +38 -5
- package/src/home/machine-repair.ts +503 -0
- package/src/home/machine-stores.ts +66 -15
- package/src/home/machine-temp.ts +547 -86
- package/src/home/other-macs.ts +2 -2
- package/src/home/resume.ts +79 -0
- package/src/home/run-daemon.ts +25 -4
- package/src/home/run-pm.ts +18 -5
- package/src/home/serve-daemon.ts +18 -3
- package/src/home/serve-web.ts +179 -10
- package/src/home/space-job.ts +115 -0
- package/src/home/space-page.ts +257 -0
- package/src/home/space-route.ts +167 -0
- package/src/home/space-words.ts +103 -0
- package/src/home/time-page-shape.ts +202 -0
- package/src/home/time-page.ts +64 -0
- package/src/home/vault-page.ts +516 -0
- package/src/home/vault-words.ts +132 -0
- package/src/hooks/leak-guard.ts +40 -13
- package/src/hooks/one-way-in-guard.ts +41 -6
- package/src/hq/cards.ts +581 -0
- package/src/hq/door-route.ts +43 -0
- package/src/hq/door.ts +163 -0
- package/src/hq/files-send.ts +347 -0
- package/src/hq/forgotten-log.ts +35 -0
- package/src/hq/history-check.ts +255 -0
- package/src/hq/history-place.ts +146 -0
- package/src/hq/history-send.ts +487 -0
- package/src/hq/hq-db.ts +102 -0
- package/src/hq/hq-local.ts +502 -0
- package/src/hq/hq-routes.ts +204 -0
- package/src/hq/hq-store.ts +603 -0
- package/src/hq/kinds/ask.ts +147 -0
- package/src/hq/kinds/card-gone.ts +83 -0
- package/src/hq/kinds/card-msg.ts +66 -0
- package/src/hq/kinds/card.ts +99 -0
- package/src/hq/kinds/index.ts +21 -0
- package/src/hq/kinds/kind.ts +126 -0
- package/src/hq/kinds/media.ts +125 -0
- package/src/hq/kinds/prompt.ts +219 -0
- package/src/hq/kinds/reflection.ts +128 -0
- package/src/hq/kinds/report.ts +55 -0
- package/src/hq/kinds/time-day.ts +236 -0
- package/src/hq/ledger.ts +473 -0
- package/src/hq/machine-key.ts +44 -0
- package/src/hq/machine-notes.ts +131 -0
- package/src/hq/outbox.ts +374 -0
- package/src/hq/replica.ts +167 -0
- package/src/hq/repo-id.ts +4 -0
- package/src/hq/report-facts.ts +117 -0
- package/src/hq/report.ts +274 -0
- package/src/hq/switch.ts +151 -0
- package/src/hq/vault-grant.ts +92 -0
- package/src/hq/vault-route.ts +112 -0
- package/src/identities/collection.ts +2 -2
- package/src/identities/identities.ts +24 -11
- package/src/identities/machine-route.ts +8 -3
- package/src/identities/steps.ts +31 -0
- package/src/ledger/db.ts +81 -27
- package/src/ledger/gate-checks.ts +6 -2
- package/src/ledger/run-log.ts +11 -3
- package/src/ledger/store.ts +26 -4
- package/src/media-store/backup/daemon.ts +73 -25
- package/src/media-store/backup/kept.ts +241 -0
- package/src/media-store/backup/keys.ts +1 -1
- package/src/media-store/backup/manifest.ts +20 -2
- package/src/media-store/backup/prune.ts +365 -0
- package/src/media-store/backup/restore.ts +14 -4
- package/src/media-store/backup/retention.ts +122 -0
- package/src/media-store/backup/run.ts +25 -19
- package/src/media-store/backup/secret.ts +6 -4
- package/src/media-store/backup/snapshot.ts +4 -2
- package/src/media-store/backup/sources.ts +83 -31
- package/src/media-store/backup/thread-copy.ts +340 -0
- package/src/media-store/copy/config.ts +76 -0
- package/src/media-store/copy/copy.ts +194 -0
- package/src/media-store/copy/lifecycle.ts +43 -0
- package/src/media-store/copy/night.ts +90 -0
- package/src/media-store/copy/proof.ts +151 -0
- package/src/media-store/copy/snapshot.ts +152 -0
- package/src/media-store/copy/store.ts +62 -0
- package/src/media-store/copy/stream.ts +176 -0
- package/src/media-store/daemon.ts +66 -16
- package/src/media-store/db.ts +24 -13
- package/src/media-store/forget.ts +141 -3
- package/src/media-store/hand.ts +4 -3
- package/src/media-store/hq-find.ts +75 -0
- package/src/media-store/hq-send.ts +277 -0
- package/src/media-store/kind.ts +2 -0
- package/src/media-store/purge.ts +21 -17
- package/src/media-store/put.ts +24 -8
- package/src/media-store/remote.ts +16 -7
- package/src/media-store/space-listing.ts +256 -0
- package/src/media-store/space.ts +46 -26
- package/src/media-store/sync.ts +5 -5
- package/src/media-store/tidy.ts +98 -0
- package/src/media-store/upload.ts +3 -3
- package/src/media-store/webp.ts +66 -0
- package/src/messages/guard.ts +49 -0
- package/src/messages/model.ts +16 -7
- package/src/messages/objects.ts +201 -0
- package/src/messages/routes.ts +14 -4
- package/src/messages/score.ts +3 -3
- package/src/messages/write.ts +285 -0
- package/src/pages/frame-client.ts +191 -4
- package/src/plan/planner.ts +28 -17
- package/src/recordings/media-kind.ts +1 -0
- package/src/recordings/model.ts +1 -1
- package/src/recordings/recorder-app/Capture.swift +9 -7
- package/src/reflect/hq-corpus.ts +56 -0
- package/src/reflect/prompt-corpus.ts +3 -1
- package/src/reflect/transcript.ts +129 -37
- package/src/reflections/reflections-queue.ts +1 -1
- package/src/release/gate-checkout.ts +2 -1
- package/src/release/git-facts.ts +3 -2
- package/src/release/machine-words.ts +67 -0
- package/src/release/public-clean.ts +11 -5
- package/src/releases/from-card.ts +1 -1
- package/src/releases/routes.ts +10 -5
- package/src/releases/store.ts +10 -1
- package/src/repo-config.ts +71 -19
- package/src/review/anim.ts +3 -3
- package/src/review/answer-kinds.ts +131 -0
- package/src/review/auto.ts +2 -2
- package/src/review/band.ts +53 -0
- package/src/review/branch-hold.ts +84 -0
- package/src/review/card-db.ts +254 -0
- package/src/review/card-rows.ts +267 -0
- package/src/review/cells.ts +360 -57
- package/src/review/close.ts +92 -0
- package/src/review/draft-card.ts +33 -0
- package/src/review/draft-model.ts +78 -0
- package/src/review/events.ts +171 -0
- package/src/review/format.ts +152 -19
- package/src/review/glyphs.ts +63 -0
- package/src/review/gone.ts +98 -0
- package/src/review/holds-sync.ts +62 -0
- package/src/review/holds.ts +85 -0
- package/src/review/house-kind-defs.ts +41 -0
- package/src/review/inbox-hook.ts +23 -10
- package/src/review/inbox-read.ts +201 -0
- package/src/review/instructions.ts +199 -0
- package/src/review/kind-apply.ts +61 -0
- package/src/review/kind-catalog.ts +96 -0
- package/src/review/kinds.ts +278 -0
- package/src/review/lane-ask.ts +109 -0
- package/src/review/marks.ts +1 -1
- package/src/review/media-kind.ts +7 -5
- package/src/review/media-read.ts +9 -7
- package/src/review/media.ts +32 -5
- package/src/review/model.ts +582 -109
- package/src/review/move.ts +491 -0
- package/src/review/need-address.ts +15 -0
- package/src/review/need-threads.ts +93 -0
- package/src/review/notes.ts +12 -20
- package/src/review/object-card.ts +48 -0
- package/src/review/object-read.ts +31 -0
- package/src/review/owner-verdict.ts +36 -0
- package/src/review/parties.ts +182 -0
- package/src/review/previews.ts +18 -20
- package/src/review/project.ts +1 -1
- package/src/review/projections.ts +235 -0
- package/src/review/referring.ts +54 -0
- package/src/review/reflection-object.ts +195 -0
- package/src/review/rev.ts +8 -0
- package/src/review/role.ts +1 -1
- package/src/review/routes.ts +194 -38
- package/src/review/secret-route.ts +80 -0
- package/src/review/snooze.ts +38 -0
- package/src/review/stage-card.ts +12 -8
- package/src/review/stage-routes.ts +1 -1
- package/src/review/store.ts +851 -124
- package/src/review/supersede.ts +116 -0
- package/src/review/take-back.ts +52 -0
- package/src/review/thread-fold.ts +64 -0
- package/src/review/threads.ts +349 -14
- package/src/review/traces.ts +218 -0
- package/src/review/trailer-auto-mock.ts +63 -0
- package/src/review/trailer-card.ts +6 -6
- package/src/review/trailer-desk.ts +41 -7
- package/src/review/trailer-media.ts +1 -0
- package/src/review/trailer-model.ts +8 -0
- package/src/review/trailer-notes.ts +1 -1
- package/src/review/trailer-routes.ts +9 -1
- package/src/review/unit.ts +77 -11
- package/src/review/verdict-items.ts +73 -0
- package/src/review/verdict-write.ts +15 -0
- package/src/review/wait.ts +85 -0
- package/src/review/watchers.ts +23 -10
- package/src/rules/untrack-generated.ts +92 -8
- package/src/scaffold/files/claude-settings-local.json +2 -0
- package/src/secrets/archive-mark.ts +52 -0
- package/src/secrets/archive.ts +83 -0
- package/src/secrets/copy.ts +14 -14
- package/src/secrets/held.ts +16 -0
- package/src/secrets/keychain-write.ts +48 -0
- package/src/secrets/keychain.ts +116 -0
- package/src/secrets/lapse-mark.ts +33 -0
- package/src/secrets/lapse.ts +60 -0
- package/src/secrets/list.ts +21 -17
- package/src/secrets/manager.ts +55 -26
- package/src/secrets/read.ts +385 -0
- package/src/secrets/tail.ts +31 -0
- package/src/secrets/who-reads.ts +49 -0
- package/src/serve/door-forward.ts +268 -0
- package/src/serve/door-names.ts +47 -0
- package/src/serve/embed.ts +1 -1
- package/src/serve/hub-app/activity-view.tsx +56 -32
- package/src/serve/hub-app/activity.css +7 -1
- package/src/serve/hub-app/asks-page.tsx +49 -0
- package/src/serve/hub-app/asks-st.ts +25 -0
- package/src/serve/hub-app/auto-text.tsx +14 -6
- package/src/serve/hub-app/benign-errors.ts +15 -1
- package/src/serve/hub-app/card-head.tsx +49 -0
- package/src/serve/hub-app/check-view.tsx +3 -2
- package/src/serve/hub-app/clock-svc.ts +1 -2
- package/src/serve/hub-app/code-copy.ts +35 -0
- package/src/serve/hub-app/col-card.tsx +72 -30
- package/src/serve/hub-app/col-list-page.tsx +125 -0
- package/src/serve/hub-app/col-list-st.ts +103 -0
- package/src/serve/hub-app/col-tables-view.tsx +17 -45
- package/src/serve/hub-app/col-tables.ts +76 -8
- package/src/serve/hub-app/cols-svc.ts +18 -39
- package/src/serve/hub-app/commands/commands-page.tsx +2 -1
- package/src/serve/hub-app/controls.css +83 -0
- package/src/serve/hub-app/database-st.ts +260 -0
- package/src/serve/hub-app/database-view.tsx +289 -0
- package/src/serve/hub-app/database.css +32 -0
- package/src/serve/hub-app/entry-bar.css +14 -0
- package/src/serve/hub-app/entry-bar.tsx +33 -0
- package/src/serve/hub-app/entry-pick.ts +31 -0
- package/src/serve/hub-app/floating.tsx +1 -0
- package/src/serve/hub-app/frames-st.ts +17 -1
- package/src/serve/hub-app/git-view.tsx +3 -2
- package/src/serve/hub-app/hash-route.ts +11 -1
- package/src/serve/hub-app/header-bar.tsx +14 -18
- package/src/serve/hub-app/home-st.ts +142 -11
- package/src/serve/hub-app/home-strip.css +6 -25
- package/src/serve/hub-app/home-strip.tsx +60 -93
- package/src/serve/hub-app/home.html +10 -0
- package/src/serve/hub-app/house-wiki-view.tsx +20 -0
- package/src/serve/hub-app/hub-app.tsx +71 -166
- package/src/serve/hub-app/hub-types.ts +5 -1
- package/src/serve/hub-app/hub.css +146 -71
- package/src/serve/hub-app/icons.tsx +32 -5
- package/src/serve/hub-app/identities-st.ts +56 -6
- package/src/serve/hub-app/identities-view.tsx +104 -61
- package/src/serve/hub-app/identities.css +17 -15
- package/src/serve/hub-app/identity-address.ts +5 -0
- package/src/serve/hub-app/inbox-st.ts +227 -49
- package/src/serve/hub-app/inbox-view.tsx +204 -120
- package/src/serve/hub-app/inbox.css +47 -47
- package/src/serve/hub-app/index.html +10 -0
- package/src/serve/hub-app/instructions.css +30 -0
- package/src/serve/hub-app/kept-cols.tsx +7 -0
- package/src/serve/hub-app/keys.ts +32 -17
- package/src/serve/hub-app/later.tsx +26 -0
- package/src/serve/hub-app/list-filter.tsx +14 -0
- package/src/serve/hub-app/list-walk.ts +72 -3
- package/src/serve/hub-app/machine-st.ts +2 -2
- package/src/serve/hub-app/machines-st.ts +251 -0
- package/src/serve/hub-app/machines-view.tsx +217 -0
- package/src/serve/hub-app/machines.css +67 -0
- package/src/serve/hub-app/markdown.css +51 -0
- package/src/serve/hub-app/md-copy.tsx +57 -0
- package/src/serve/hub-app/md.ts +25 -9
- package/src/serve/hub-app/media-view.tsx +4 -2
- package/src/serve/hub-app/messages/messages-page.tsx +81 -8
- package/src/serve/hub-app/messages/messages-st.ts +99 -3
- package/src/serve/hub-app/messages.css +14 -1
- package/src/serve/hub-app/objects.css +51 -0
- package/src/serve/hub-app/page-keys.ts +175 -0
- package/src/serve/hub-app/pages-frames.tsx +21 -3
- package/src/serve/hub-app/palette-st.ts +58 -11
- package/src/serve/hub-app/palette-view.tsx +3 -1
- package/src/serve/hub-app/pane-boundary.tsx +72 -0
- package/src/serve/hub-app/pane-errors.ts +54 -0
- package/src/serve/hub-app/plan-view.tsx +3 -2
- package/src/serve/hub-app/planned-view.tsx +3 -3
- package/src/serve/hub-app/planned.css +0 -4
- package/src/serve/hub-app/processes-view.tsx +3 -2
- package/src/serve/hub-app/project-list.css +46 -8
- package/src/serve/hub-app/project-list.tsx +125 -59
- package/src/serve/hub-app/projects-svc.ts +83 -8
- package/src/serve/hub-app/reader-chips.tsx +13 -0
- package/src/serve/hub-app/readme-view.tsx +2 -3
- package/src/serve/hub-app/readme.css +22 -6
- package/src/serve/hub-app/reflections-page.tsx +95 -0
- package/src/serve/hub-app/reflections-st.ts +17 -0
- package/src/serve/hub-app/releases/releases-page.tsx +28 -4
- package/src/serve/hub-app/releases/releases-st.ts +1 -1
- package/src/serve/hub-app/releases.css +0 -1
- package/src/serve/hub-app/repo-sections.ts +9 -5
- package/src/serve/hub-app/repo-st.ts +35 -8
- package/src/serve/hub-app/review/code-colors.ts +30 -0
- package/src/serve/hub-app/review/diff-view.tsx +75 -0
- package/src/serve/hub-app/review/dock.tsx +104 -0
- package/src/serve/hub-app/review/draft-card.tsx +163 -0
- package/src/serve/hub-app/review/group-block.tsx +209 -0
- package/src/serve/hub-app/review/instructions-view.tsx +116 -0
- package/src/serve/hub-app/review/item-verdict.tsx +38 -0
- package/src/serve/hub-app/review/kind-states.tsx +193 -0
- package/src/serve/hub-app/review/kind-view.tsx +1 -37
- package/src/serve/hub-app/review/kit.tsx +75 -29
- package/src/serve/hub-app/review/lane-bar.tsx +64 -0
- package/src/serve/hub-app/review/note-place.ts +1 -1
- package/src/serve/hub-app/review/object-card.tsx +62 -0
- package/src/serve/hub-app/review/object-panel.tsx +179 -0
- package/src/serve/hub-app/review/question-views.tsx +385 -0
- package/src/serve/hub-app/review/review-board.tsx +2 -2
- package/src/serve/hub-app/review/review-cells.tsx +148 -87
- package/src/serve/hub-app/review/review-kit.ts +27 -1
- package/src/serve/hub-app/review/review-list.tsx +160 -65
- package/src/serve/hub-app/review/review-page.tsx +12 -12
- package/src/serve/hub-app/review/review-st.ts +174 -47
- package/src/serve/hub-app/review/review-thread.tsx +214 -53
- package/src/serve/hub-app/review/review-views.tsx +494 -159
- package/src/serve/hub-app/review/thread-close.tsx +124 -0
- package/src/serve/hub-app/review/thread-control-st.ts +115 -0
- package/src/serve/hub-app/review/thread-control.tsx +74 -0
- package/src/serve/hub-app/review/thread-st.ts +288 -41
- package/src/serve/hub-app/review/trailer-card.tsx +2 -2
- package/src/serve/hub-app/review/trailer-page.tsx +37 -16
- package/src/serve/hub-app/review/trailer-st.ts +41 -7
- package/src/serve/hub-app/review/trailer-timeline.tsx +2 -2
- package/src/serve/hub-app/review.css +462 -97
- package/src/serve/hub-app/section-head.tsx +51 -0
- package/src/serve/hub-app/side-lists.ts +72 -0
- package/src/serve/hub-app/sidebar.tsx +6 -3
- package/src/serve/hub-app/site/site-part.tsx +2 -8
- package/src/serve/hub-app/site/site-st.ts +4 -4
- package/src/serve/hub-app/social/calendar.tsx +5 -11
- package/src/serve/hub-app/social/comms-page.tsx +43 -15
- package/src/serve/hub-app/social/kit.tsx +32 -13
- package/src/serve/hub-app/social/next-release.tsx +3 -5
- package/src/serve/hub-app/social/post-card.tsx +142 -49
- package/src/serve/hub-app/social/post-page.tsx +80 -0
- package/src/serve/hub-app/social/problems.tsx +5 -9
- package/src/serve/hub-app/social/serial-writes.ts +13 -0
- package/src/serve/hub-app/social/social-model.ts +24 -5
- package/src/serve/hub-app/social/social-page.tsx +95 -36
- package/src/serve/hub-app/social/social-st.ts +162 -41
- package/src/serve/hub-app/social/stage-popup.tsx +1 -1
- package/src/serve/hub-app/social/stage-st.ts +1 -1
- package/src/serve/hub-app/social/step-layout.ts +1 -1
- package/src/serve/hub-app/social.css +10 -17
- package/src/serve/hub-app/space-st.ts +209 -0
- package/src/serve/hub-app/space-view.tsx +196 -0
- package/src/serve/hub-app/space.css +27 -0
- package/src/serve/hub-app/stores/stores-page.tsx +97 -25
- package/src/serve/hub-app/stores/stores-st.ts +44 -19
- package/src/serve/hub-app/stores.css +6 -1
- package/src/serve/hub-app/theme-st.ts +22 -9
- package/src/serve/hub-app/thread-row.tsx +101 -0
- package/src/serve/hub-app/time-ago.tsx +3 -2
- package/src/serve/hub-app/time-charts.tsx +291 -0
- package/src/serve/hub-app/time-pages.tsx +749 -0
- package/src/serve/hub-app/time-st.ts +162 -0
- package/src/serve/hub-app/time-view.tsx +77 -0
- package/src/serve/hub-app/time.css +135 -0
- package/src/serve/hub-app/tree-build.ts +52 -42
- package/src/serve/hub-app/tree-row.tsx +3 -11
- package/src/serve/hub-app/tree-svc.ts +18 -9
- package/src/serve/hub-app/urls-svc.ts +154 -0
- package/src/serve/hub-app/urls-view.tsx +117 -0
- package/src/serve/hub-app/urls.css +30 -0
- package/src/serve/hub-app/vault-st.ts +127 -0
- package/src/serve/hub-app/vault-view.tsx +154 -0
- package/src/serve/hub-app/vault.css +38 -0
- package/src/serve/hub-app/veille/veille-page.tsx +2 -11
- package/src/serve/hub-app/veille/veille-st.ts +12 -10
- package/src/serve/hub-app/veille.css +0 -1
- package/src/serve/hub-app/waiting-svc.ts +29 -0
- package/src/serve/hub-app/when-view.tsx +6 -3
- package/src/serve/hub-app/wiki-st.ts +30 -4
- package/src/serve/hub-app/wikis-view.tsx +6 -5
- package/src/serve/hub-runtime.ts +35 -8
- package/src/serve/project-gutter-route.ts +42 -19
- package/src/serve/project-gutter.ts +16 -50
- package/src/serve/same-origin.ts +13 -0
- package/src/serve/secret-gate.ts +21 -0
- package/src/serve/serve-hub.ts +38 -20
- package/src/serve/tailnet-caller.ts +117 -0
- package/src/shipkit-files.ts +16 -2
- package/src/shipkit.ts +3 -3
- package/src/shot/shooter.ts +616 -420
- package/src/shot/shot-ask.ts +246 -155
- package/src/site/desk.ts +4 -4
- package/src/smoke/run-smoke.ts +6 -6
- package/src/social/brands.ts +4 -0
- package/src/social/card-drafts.ts +11 -19
- package/src/social/cover.ts +202 -0
- package/src/social/desk-index.ts +34 -13
- package/src/social/discord-layout.ts +37 -13
- package/src/social/drafts.ts +7 -4
- package/src/social/import-drafts.ts +244 -0
- package/src/social/kind-pages.ts +3 -3
- package/src/social/kinds.ts +1 -1
- package/src/social/load.ts +111 -65
- package/src/social/media-kind.ts +68 -160
- package/src/social/media-of.ts +5 -4
- package/src/social/open.ts +3 -2
- package/src/social/post-object.ts +120 -0
- package/src/social/post-sources.ts +136 -0
- package/src/social/post-text.ts +103 -0
- package/src/social/posts.ts +378 -0
- package/src/social/presence.ts +7 -5
- package/src/social/publish/discord.ts +5 -2
- package/src/social/publish/index.ts +17 -5
- package/src/social/publish/secret.ts +4 -4
- package/src/social/release-stage.ts +79 -63
- package/src/social/routes.ts +89 -24
- package/src/social/stage.ts +43 -58
- package/src/social/stats.ts +12 -9
- package/src/social/strip.ts +4 -1
- package/src/social/text.ts +4 -3
- package/src/social/thumbnail.ts +347 -0
- package/src/social/tracker.ts +1 -1
- package/src/social/writes.ts +12 -29
- package/src/stores/collection.ts +15 -11
- package/src/stores/desk.ts +246 -47
- package/src/stores/model.ts +72 -6
- package/src/stores/routes.ts +37 -12
- package/src/stores/unit.ts +16 -10
- package/src/suite/judge-suites.ts +41 -11
- package/src/suite/select.ts +45 -3
- package/src/suite/suite-cli.ts +16 -10
- package/src/trailer/bed.ts +1 -1
- package/src/trailer/build.ts +134 -21
- package/src/trailer/ffmpeg.ts +7 -0
- package/src/trailer/fonts.ts +3 -2
- package/src/trailer/grammar.ts +201 -2
- package/src/trailer/graph.ts +42 -5
- package/src/trailer/look.ts +21 -0
- package/src/trailer/mock.ts +154 -0
- package/src/trailer/passage.ts +65 -26
- package/src/trailer/score/heard.ts +89 -0
- package/src/trailer/score/sound.ts +14 -8
- package/src/trailer/sound/eleven.ts +33 -3
- package/src/trailer/sound/run.ts +16 -6
- package/src/trailer/stitch.ts +26 -5
- package/src/trailer/titles.ts +82 -19
- package/src/trailer/versions.ts +1 -3
- package/src/trailer/vertical.ts +3 -1
- package/src/urls/frame.ts +195 -0
- package/src/urls/routes.ts +43 -0
- package/src/urls/rows.ts +171 -0
- package/src/urls/unit.ts +73 -0
- package/src/vault/house-keys.ts +42 -0
- package/src/vault/layout.ts +50 -0
- package/src/vault/policy.ts +165 -0
- package/src/vault/vault-audit.ts +276 -0
- package/src/vault/vault-client.ts +40 -0
- package/src/vault/vault-config.ts +159 -0
- package/src/vault/vault-destroy.ts +78 -0
- package/src/vault/vault-handover.ts +305 -0
- package/src/vault/vault-http.ts +360 -0
- package/src/vault/vault-import.ts +213 -0
- package/src/vault/vault-init.ts +328 -0
- package/src/vault/vault-minter.ts +271 -0
- package/src/vault/vault-restore.ts +333 -0
- package/src/vault/vault-serve.ts +342 -0
- package/src/vault/vault-snapshot.ts +281 -0
- package/src/veille/asks.ts +1 -1
- package/src/veille/desk.ts +2 -2
- package/src/veille/identity.ts +2 -2
- package/src/wiki/graph-pages.ts +13 -1
- package/src/wiki/scan-md.ts +1 -1
- package/src/asks/asks-queue.ts +0 -266
- package/src/social/migrate.ts +0 -123
|
@@ -8,7 +8,9 @@
|
|
|
8
8
|
/* the surfaces of the regions, each a small step from the page so the rail,
|
|
9
9
|
the header and the dock read apart at a glance; the light values are the
|
|
10
10
|
next block) */
|
|
11
|
-
--bg-side:#131519;--bg-top:#171a1f;--bg-dock:#10151b
|
|
11
|
+
--bg-side:#131519;--bg-top:#171a1f;--bg-dock:#10151b;
|
|
12
|
+
/* a band across the rail: its group headers, a step darker than the rail itself */
|
|
13
|
+
--bg-band:#050607;--panel2:#1b1e22;--line:#282c31;--ink:#e2e4e7;--dim:#8d9299;
|
|
12
14
|
--accent:#6b8fb3;--sel:#1a2430;--chk1:#16181b;--chk2:#121417;
|
|
13
15
|
/* state, and nothing else: red broken · orange taste pending · green measured passing */
|
|
14
16
|
--red:#d2605c;--warn:#cf9a4e;--ok:#6faa86;--blue:#6f9bd1;
|
|
@@ -21,6 +23,11 @@
|
|
|
21
23
|
--ground:#1b2521;--groundline:#2a3630;--tag:#eef2f6;
|
|
22
24
|
/* the KIND hues: a row's type, never its state (tree-build TYPE_MARK) */
|
|
23
25
|
--k1:#8ca8c7;--k2:#a892c9;--k3:#6fb0b8;--k4:#c792b4;--k5:#9198a1;--k6:#8f95cf;
|
|
26
|
+
/* a kind's icon (review/glyphs.ts KIND_HUES): one muted tone for every hue, so none shouts on the calm rows */
|
|
27
|
+
--kind-s:58%;--kind-l:66%;
|
|
28
|
+
/* the chart series (the time page): four hues told apart as neighbours on --panel in each theme, colour blind
|
|
29
|
+
views included (measured as a set, in this order); a series keeps its hue on every chart, never a state */
|
|
30
|
+
--viz1:#3987e5;--viz2:#d95926;--viz3:#199e70;--viz4:#9085e9;
|
|
24
31
|
/* the review section's own hue: the one row of the tree meant to be seen first */
|
|
25
32
|
--review:#e879d4;
|
|
26
33
|
/* a wiki page's refs (wikis-view.tsx): read on demand, loaded with the page */
|
|
@@ -29,6 +36,8 @@
|
|
|
29
36
|
--errbg:#2a1a1a;--errline:#4a2c2c;--errink:#e3bebe;
|
|
30
37
|
/* a running thing's wash, the green twin of errbg and errline */
|
|
31
38
|
--okbg:#15251c;--okline:#2f5a40;
|
|
39
|
+
/* inline code in markdown (markdown.css): an amber text on a faint amber wash, AA on every surface of its theme */
|
|
40
|
+
--code:#e3b45c;--codebg:rgba(227,180,92,.12);
|
|
32
41
|
/* the ONE spacing scale: every padding, margin and gap in this sheet is a
|
|
33
42
|
value from it or 0, and tests/hub-css-invariants.test.ts fails the rest */
|
|
34
43
|
--s0:2px;--s1:4px;--s2:8px;--s3:12px;--s4:16px}
|
|
@@ -38,7 +47,7 @@
|
|
|
38
47
|
holds its contrast on every surface, sel included: ink 13:1, dim 6.5:1, a
|
|
39
48
|
state or kind hue 4.6:1 (tests/hub-css-invariants.test.ts) */
|
|
40
49
|
:root[data-theme=light]{--bg:#f1f3f6;--panel:#ffffff;
|
|
41
|
-
--bg-side:#e6e9ee;--bg-top:#eaedf1;--bg-dock:#e3e7ec;--panel2:#e3e7ec;--line:#bcc4ce;--ink:#16191d;--dim:#464b51;
|
|
50
|
+
--bg-side:#e6e9ee;--bg-top:#eaedf1;--bg-dock:#e3e7ec;--bg-band:#cfd5dd;--panel2:#e3e7ec;--line:#bcc4ce;--ink:#16191d;--dim:#464b51;
|
|
42
51
|
--accent:#355e87;--sel:#d2e0ef;--chk1:#e3e7ec;--chk2:#f7f8fa;
|
|
43
52
|
--red:#a83733;--warn:#86550b;--ok:#256e45;--blue:#275fa0;
|
|
44
53
|
--recfile:#0b63ce;--recwebp:#1a7f43;--reclink:#8a3fc4;--recink:#ffffff;
|
|
@@ -46,16 +55,60 @@
|
|
|
46
55
|
--hi1:rgba(0,0,0,.2);--hi2:rgba(0,0,0,.11);--hi3:rgba(0,0,0,.045);
|
|
47
56
|
--ground:#e3ede6;--groundline:#c6d6cb;--tag:#eef2f6;
|
|
48
57
|
--k1:#3b6087;--k2:#695099;--k3:#24676f;--k4:#8e4470;--k5:#585f67;--k6:#4f56a8;
|
|
58
|
+
/* a kind's icon (review/glyphs.ts KIND_HUES): one muted tone for every hue, so none shouts on the calm rows */
|
|
59
|
+
--kind-s:55%;--kind-l:38%;
|
|
60
|
+
--viz1:#2a78d6;--viz2:#eb6834;--viz3:#1baf7a;--viz4:#6250d6;
|
|
49
61
|
--review:#a72288;
|
|
50
62
|
--ref-lazy:#944d0a;--ref-eager:#1d5abd;
|
|
51
63
|
--wash:rgba(59,104,150,.12);--wash2:rgba(59,104,150,.08);--hair:rgba(59,104,150,.45);
|
|
52
64
|
--errbg:#fbe9e8;--errline:#efc4c2;--errink:#8a2520;
|
|
53
|
-
--okbg:#e6f3eb;--okline:#9ccdaf
|
|
54
|
-
|
|
65
|
+
--okbg:#e6f3eb;--okline:#9ccdaf;
|
|
66
|
+
--code:#7a4b00;--codebg:rgba(176,122,12,.13)}
|
|
67
|
+
/* THE DIM TOKENS: between the two, on the dark side: slate surfaces a clear step up from the dark page, the same
|
|
68
|
+
light inks. Light text, so it reads as a dark scheme to the browser and to a framed page */
|
|
69
|
+
:root[data-theme=dim]{--bg:#22262c;--panel:#2a2f36;
|
|
70
|
+
--bg-side:#272b32;--bg-top:#2c3138;--bg-dock:#252a31;--bg-band:#1a1d22;--panel2:#323840;--line:#454c56;--ink:#e4e7ea;--dim:#a8afb8;
|
|
71
|
+
--accent:#93b4d6;--sel:#2f4054;--chk1:#2c3138;--chk2:#262a30;
|
|
72
|
+
--red:#ec908c;--warn:#dba95e;--ok:#82bd99;--blue:#88b0e0;
|
|
73
|
+
--recfile:#0b63ce;--recwebp:#1a7f43;--reclink:#8a3fc4;--recink:#ffffff;
|
|
74
|
+
--scrim:rgba(0,0,0,.5);--shadow:rgba(0,0,0,.45);--solid:#000;
|
|
75
|
+
--hi1:rgba(255,255,255,.28);--hi2:rgba(255,255,255,.16);--hi3:rgba(255,255,255,.07);
|
|
76
|
+
--ground:#2b3a33;--groundline:#3c4d44;--tag:#eef2f6;
|
|
77
|
+
--k1:#9db8d5;--k2:#b7a3d6;--k3:#80bfc7;--k4:#d3a2c1;--k5:#a9b0b9;--k6:#a7addf;
|
|
78
|
+
/* a kind's icon (review/glyphs.ts KIND_HUES): one muted tone for every hue, so none shouts on the calm rows */
|
|
79
|
+
--kind-s:55%;--kind-l:68%;
|
|
80
|
+
--viz1:#3987e5;--viz2:#d95926;--viz3:#199e70;--viz4:#9085e9;
|
|
81
|
+
--review:#ee8fdc;
|
|
82
|
+
--ref-lazy:#eea65f;--ref-eager:#82b5f4;
|
|
83
|
+
--wash:rgba(132,168,204,.17);--wash2:rgba(132,168,204,.12);--hair:rgba(132,168,204,.5);
|
|
84
|
+
--errbg:#402c2c;--errline:#633f3f;--errink:#eecccc;
|
|
85
|
+
--okbg:#27392f;--okline:#427054;
|
|
86
|
+
--code:#f0c66e;--codebg:rgba(240,198,110,.13)}
|
|
87
|
+
/* THE GREY TOKENS: between the two, on the light side: grey paper a clear step down from the light page, darker inks
|
|
88
|
+
to keep their contrast on it. Dark text, so it reads as a light scheme */
|
|
89
|
+
:root[data-theme=grey]{--bg:#cfd3d9;--panel:#dbdee3;
|
|
90
|
+
--bg-side:#c5cad1;--bg-top:#c9ced5;--bg-dock:#c2c7cf;--bg-band:#adb4be;--panel2:#c2c7cf;--line:#9aa2ad;--ink:#101317;--dim:#33383e;
|
|
91
|
+
--accent:#274d74;--sel:#b1c4d9;--chk1:#c2c7cf;--chk2:#d5d9de;
|
|
92
|
+
--red:#8a2622;--warn:#6b4204;--ok:#17532f;--blue:#1a4a82;
|
|
93
|
+
--recfile:#0b63ce;--recwebp:#1a7f43;--reclink:#8a3fc4;--recink:#ffffff;
|
|
94
|
+
--scrim:rgba(20,24,30,.4);--shadow:rgba(20,24,30,.2);--solid:#000;
|
|
95
|
+
--hi1:rgba(0,0,0,.22);--hi2:rgba(0,0,0,.13);--hi3:rgba(0,0,0,.06);
|
|
96
|
+
--ground:#bfcdc4;--groundline:#a3b6aa;--tag:#eef2f6;
|
|
97
|
+
--k1:#2c4d70;--k2:#523b80;--k3:#17525a;--k4:#74325a;--k5:#434950;--k6:#3c438c;
|
|
98
|
+
/* a kind's icon (review/glyphs.ts KIND_HUES): one muted tone for every hue, so none shouts on the calm rows */
|
|
99
|
+
--kind-s:55%;--kind-l:30%;
|
|
100
|
+
--viz1:#2a78d6;--viz2:#eb6834;--viz3:#1baf7a;--viz4:#6250d6;
|
|
101
|
+
--review:#8a1570;
|
|
102
|
+
--ref-lazy:#7a3d04;--ref-eager:#14479c;
|
|
103
|
+
--wash:rgba(39,77,116,.14);--wash2:rgba(39,77,116,.09);--hair:rgba(39,77,116,.5);
|
|
104
|
+
--errbg:#e6cfcd;--errline:#d0a5a2;--errink:#7a1f1a;
|
|
105
|
+
--okbg:#c9dccf;--okline:#84b497;
|
|
106
|
+
--code:#5c3a00;--codebg:rgba(168,116,10,.16)}
|
|
107
|
+
/* a repo's own colour, the one fit for the theme: the light one where the text is dark (projects-svc idVars) */
|
|
55
108
|
.idc{color:var(--idd)}
|
|
56
|
-
:root[data-theme=light] .idc{color:var(--idl)}
|
|
109
|
+
:root[data-theme=light] .idc,:root[data-theme=grey] .idc{color:var(--idl)}
|
|
57
110
|
.idb{background:var(--idd)}
|
|
58
|
-
:root[data-theme=light] .idb{background:var(--idl)}
|
|
111
|
+
:root[data-theme=light] .idb,:root[data-theme=grey] .idb{background:var(--idl)}
|
|
59
112
|
*{box-sizing:border-box}html,body,#root{height:100%}
|
|
60
113
|
/* react-resizable-panels writes touch-action pan-x or pan-y inline on every group and on the div inside every panel,
|
|
61
114
|
and they wrap the whole page: a phone could not pinch anywhere. Its separators keep their own none, so a drag still
|
|
@@ -100,10 +153,9 @@ a,a:visited{color:var(--accent)}
|
|
|
100
153
|
.pframe{flex:1;min-height:0;display:flex;flex-direction:column}
|
|
101
154
|
.pframe iframe{flex:1;width:100%;min-height:0;border:0;display:block}
|
|
102
155
|
|
|
103
|
-
/* ── a repo's
|
|
104
|
-
of its own
|
|
105
|
-
|
|
106
|
-
Its trouble floats under it (home-strip.css .htoasts) ── */
|
|
156
|
+
/* ── a repo's tools: one row at the head of its tree (.stools): modernize, a spinner while a run goes, its check…
|
|
157
|
+
button and its editor icons. A hub of its own names itself in its header (.hdr). Its trouble floats at the top
|
|
158
|
+
right (home-strip.css .htoasts) ── */
|
|
107
159
|
/* the repo's processes (serve.processes): a dot, its id, a link once up */
|
|
108
160
|
.hprocs{display:inline-flex;gap:var(--s1);align-items:center}
|
|
109
161
|
.hproc{display:inline-flex;align-items:center;gap:var(--s0)}
|
|
@@ -114,7 +166,12 @@ a,a:visited{color:var(--accent)}
|
|
|
114
166
|
.hdr{display:flex;gap:var(--s2);align-items:center;height:36px;flex:none;padding:0 var(--s3);border-bottom:1px solid var(--line);background:var(--bg-top)}
|
|
115
167
|
.hdr .sp{flex:1}
|
|
116
168
|
.hname{font-size:12px;letter-spacing:.14em;text-transform:uppercase;color:var(--ink);font-weight:600;margin-right:var(--s2);white-space:nowrap}
|
|
117
|
-
.hdr
|
|
169
|
+
.hdr{white-space:nowrap}
|
|
170
|
+
/* a repo's tools at the head of its tree: the filter has the first line to itself, its all, needs and red buttons
|
|
171
|
+
and the tools share the second, the tools at its end */
|
|
172
|
+
.ssearch:has(.stools) .sfield{flex-basis:100%}
|
|
173
|
+
.stools{display:inline-flex;align-items:center;gap:var(--s0);margin-left:auto}
|
|
174
|
+
.stools .hrun{margin-left:0}
|
|
118
175
|
.hrun{display:inline-flex;align-items:center;gap:var(--s1);flex:none;margin-left:var(--s2)}
|
|
119
176
|
.hbtn{display:inline-flex;align-items:center;gap:var(--s1);height:22px;padding:0 var(--s2);font-size:11.5px;white-space:nowrap;flex:none}
|
|
120
177
|
.hbtn .hico{width:13px;height:13px}
|
|
@@ -123,13 +180,16 @@ a,a:visited{color:var(--accent)}
|
|
|
123
180
|
.hicon:hover{color:var(--accent)}
|
|
124
181
|
.hicon .hico{width:15px;height:15px}
|
|
125
182
|
/* the home's places at the start of the top bar, apart from the page's own pieces; the page shown is lit */
|
|
126
|
-
.
|
|
127
|
-
.
|
|
128
|
-
|
|
129
|
-
.caret{flex:none;display:inline-block;width:
|
|
183
|
+
/* THE caret (icons.tsx Caret), the left bar's: a thin 10 px chevron, dim, lit when what it folds is hovered, turned by
|
|
184
|
+
its state, never a text glyph. No other sheet sizes, colours or turns it (tests/hub-caret-card-head.test.ts): a page
|
|
185
|
+
places it, never draws it */
|
|
186
|
+
.caret{flex:none;display:inline-block;width:10px;height:10px;vertical-align:middle;color:var(--dim);transition:transform .12s ease}
|
|
130
187
|
.caret.open{transform:rotate(90deg)}
|
|
131
188
|
.caret.v{transform:rotate(90deg)}
|
|
132
189
|
.caret.v.open{transform:rotate(-90deg)}
|
|
190
|
+
.caret.side{transform:rotate(180deg)}
|
|
191
|
+
.caret.side.open{transform:none}
|
|
192
|
+
:is(button,.tsec,.trow,.rline,.vbar):hover .caret{color:var(--ink)}
|
|
133
193
|
@media (prefers-reduced-motion:reduce){.caret{transition:none}}
|
|
134
194
|
|
|
135
195
|
/* a row of a (?) legend: one glyph or word, then its meaning */
|
|
@@ -148,19 +208,20 @@ aside > .tscroll::-webkit-scrollbar-thumb{background:var(--line);border-radius:3
|
|
|
148
208
|
/* a section, the tree's top row: the project list's rows (project-list.css
|
|
149
209
|
.pjrow), a little shorter, the current one lit and marked in the accent.
|
|
150
210
|
The chevron column is the tree's own, so a section's rows line up under it */
|
|
151
|
-
.tsec{display:grid;grid-template-columns:
|
|
211
|
+
.tsec{display:grid;grid-template-columns:10px 16px minmax(0,1fr) auto auto;align-items:center;gap:var(--s1);height:26px;padding:0 var(--s1);color:var(--ink);font-size:13px;font-weight:600;cursor:pointer;white-space:nowrap}
|
|
152
212
|
.tsec:hover{background:var(--panel2);color:var(--ink)}
|
|
153
213
|
.tsec.empty{opacity:.4}
|
|
154
214
|
.tsec.noop{cursor:default}
|
|
155
|
-
.tsec.noop:hover{background:none;color:var(--
|
|
215
|
+
.tsec.noop:hover{background:none;color:var(--ink)}
|
|
156
216
|
.tsec.on{box-shadow:inset 2px 0 0 var(--accent)}
|
|
157
217
|
.tsec.cur{background:var(--sel);color:var(--ink);box-shadow:inset 3px 0 0 var(--accent);font-weight:600}
|
|
158
218
|
.tsec .hico{width:16px;height:16px}
|
|
159
219
|
.tsec.tpfirst{margin-top:var(--s2);box-shadow:inset 0 1px 0 var(--line)}
|
|
160
220
|
.tsec.tpfirst.cur{box-shadow:inset 3px 0 0 var(--accent),inset 0 1px 0 var(--line)}
|
|
161
|
-
.
|
|
162
|
-
.
|
|
163
|
-
|
|
221
|
+
.rsecl{min-width:0;padding-left:var(--s0);overflow:hidden;text-overflow:ellipsis}
|
|
222
|
+
.rsecn{min-width:13px;height:13px;padding:0 var(--s0);border-radius:7px;font-size:9px;font-weight:700;line-height:13px;text-align:center;color:var(--bg)}
|
|
223
|
+
/* a section's key: the project list's key (.pjkey), a size down so the name keeps the room */
|
|
224
|
+
.tsec .pjkey{font-size:9px}
|
|
164
225
|
.rsecn.nred{background:var(--red)}
|
|
165
226
|
.rsecn.nwarn{background:var(--warn)}
|
|
166
227
|
.tsec:hover .pjkey,.tsec.cur .pjkey{opacity:1}
|
|
@@ -169,6 +230,25 @@ aside > .tscroll::-webkit-scrollbar-thumb{background:var(--line);border-radius:3
|
|
|
169
230
|
.tsec.s-review.empty{opacity:.75}
|
|
170
231
|
.tsec.s-review.cur{box-shadow:inset 3px 0 0 var(--review)}
|
|
171
232
|
.tsec.s-review .rsecn.nwarn{background:var(--review)}
|
|
233
|
+
/* ── A LIST'S ROWS AND BANDS: the rows of the B and C lists (the identities, the database page), in the tree's
|
|
234
|
+
shape (.tsec): 26px, a 16px icon, the name, what it carries at its end (a figure, a dot), the picked one on the
|
|
235
|
+
selection with the accent bar. The hub's one head titles its rows (section-head.tsx, controls.css .sh). A page
|
|
236
|
+
never draws these its own way (tests/database-page.test.tsx holds its sheet to it) ── */
|
|
237
|
+
.idrows,.lrows{display:flex;flex-direction:column;padding-top:var(--s1)}
|
|
238
|
+
.idrow,.lrow{display:flex;align-items:center;gap:var(--s2);height:26px;padding:0 var(--s3);color:var(--dim);font-size:13px;text-decoration:none;white-space:nowrap;min-width:0;cursor:pointer}
|
|
239
|
+
.lrow{width:100%;border:0;border-radius:0;background:none;text-align:left;font-family:inherit}
|
|
240
|
+
.idrow .hico,.lrow .hico{flex:none;width:16px;height:16px}
|
|
241
|
+
.idrow:hover,.lrow:hover{background:var(--panel2);color:var(--ink)}
|
|
242
|
+
.idrow.on,.lrow.on{background:var(--sel);color:var(--ink);box-shadow:inset 3px 0 0 var(--idc,var(--accent));font-weight:600}
|
|
243
|
+
.idrow.off .idname,.lrow.off .lgrow{opacity:.6}
|
|
244
|
+
.idrow .iddim,.lrow .ldim{font-size:11.5px;font-weight:400;color:var(--dim)}
|
|
245
|
+
.lrow .lnum{flex:none;font-variant-numeric:tabular-nums}
|
|
246
|
+
.idgrow,.lgrow{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis}
|
|
247
|
+
/* a row's state: a ring, green live, orange a warning, red a trouble */
|
|
248
|
+
.iddot,.ldot{flex:none;width:7px;height:7px;border-radius:50%;box-shadow:inset 0 0 0 1px var(--dim)}
|
|
249
|
+
.iddot.live,.ldot.live{background:var(--ok);box-shadow:none}
|
|
250
|
+
.ldot.t-warn{background:var(--warn);box-shadow:none}
|
|
251
|
+
.ldot.t-red{background:var(--red);box-shadow:none}
|
|
172
252
|
/* THE SELECT SHAPE: every pick on the page, a native select or a segmented
|
|
173
253
|
bar of exclusive buttons (.seg), is one 22px pill with a 1px line border;
|
|
174
254
|
the live segment is the accent on the selection wash. Nothing else
|
|
@@ -184,7 +264,7 @@ aside > .tscroll::-webkit-scrollbar-thumb{background:var(--line);border-radius:3
|
|
|
184
264
|
.ssearch{display:flex;flex-wrap:wrap;align-items:center;gap:var(--s2);padding:var(--s2) var(--s3);border-bottom:1px solid var(--line)}
|
|
185
265
|
.sfield{position:relative;flex:1 1 96px;min-width:0;display:flex}
|
|
186
266
|
.ssearch input{width:100%;background:var(--bg);border:1px solid var(--line);border-radius:4px;color:var(--ink);
|
|
187
|
-
padding:var(--s0) var(--s4) var(--s0) var(--s2);font-size:12px;outline:none}
|
|
267
|
+
padding:var(--s0) calc(var(--s4) + var(--s2)) var(--s0) var(--s2);font-size:12px;outline:none}
|
|
188
268
|
.ssearch input::placeholder{color:var(--dim);opacity:.6;font-size:11.5px}
|
|
189
269
|
.ssearch input:focus{border-color:var(--accent)}
|
|
190
270
|
/* its key, the way the project list prints its keys (.pjkey) */
|
|
@@ -197,16 +277,12 @@ aside > .tscroll::-webkit-scrollbar-thumb{background:var(--line);border-radius:3
|
|
|
197
277
|
no prose, no dash separators ── */
|
|
198
278
|
.tree{padding:var(--s1) 0 var(--s4);outline:none}
|
|
199
279
|
.tree:focus-visible{box-shadow:inset 2px 0 0 var(--accent)}
|
|
200
|
-
.trow{display:grid;grid-template-columns:calc(var(--d,0)*10px +
|
|
201
|
-
align-items:center;gap:var(--s1);padding:0 var(--s1)
|
|
280
|
+
.trow{display:grid;grid-template-columns:calc(var(--d,0)*10px + 10px) 14px minmax(0,1fr) 12px auto 10px;
|
|
281
|
+
align-items:center;gap:var(--s1);padding:0 var(--s1);height:20px;line-height:20px;cursor:pointer;white-space:nowrap}
|
|
202
282
|
.trow:hover{background:var(--panel2)}
|
|
203
283
|
.trow.on{background:var(--sel);box-shadow:inset 2px 0 0 var(--accent)}
|
|
204
|
-
/* the
|
|
205
|
-
|
|
206
|
-
.tw{display:flex;align-items:center;justify-content:flex-end;height:20px;color:var(--dim);user-select:none}
|
|
207
|
-
.trow:hover .tw{color:var(--ink)}
|
|
208
|
-
.cvt{transition:transform .12s ease;transform-origin:50% 50%;flex:none}
|
|
209
|
-
.cvt.open{transform:rotate(90deg)}
|
|
284
|
+
/* the caret's hit target: the whole first column */
|
|
285
|
+
.tw{display:flex;align-items:center;justify-content:flex-end;height:20px;user-select:none}
|
|
210
286
|
/* WHAT a row is: one glyph, one hue per kind. The hue is the kind's
|
|
211
287
|
identity and carries no state, which is why it is its own slot */
|
|
212
288
|
.ty{font-size:11px;text-align:center;user-select:none;color:var(--dim)}
|
|
@@ -240,7 +316,7 @@ aside > .tscroll::-webkit-scrollbar-thumb{background:var(--line);border-radius:3
|
|
|
240
316
|
.tdur.plain,.dnum.plain{color:var(--ink)}
|
|
241
317
|
.tdur.slow,.dnum.slow{color:var(--warn)}
|
|
242
318
|
.tdur.bad,.dnum.bad{color:var(--red)}
|
|
243
|
-
.tnote{font-size:
|
|
319
|
+
.tnote{font-size:9px;text-align:right;color:var(--dim);overflow:hidden;text-overflow:ellipsis}
|
|
244
320
|
.tnote b{font-weight:600;color:var(--red)}
|
|
245
321
|
.catgen{display:inline-flex;gap:var(--s1)}
|
|
246
322
|
.catgen button{padding:var(--s0) var(--s2);font-size:11px;font-weight:700}
|
|
@@ -260,9 +336,11 @@ main{display:flex;flex-direction:column;min-height:0;overflow:hidden}
|
|
|
260
336
|
scrolls only past ~14 lines), then ONE slim toolbar row */
|
|
261
337
|
.bar{display:flex;flex-direction:column;gap:var(--s2);padding:var(--s2) var(--s4);border-bottom:1px solid var(--line);background:var(--panel)}
|
|
262
338
|
textarea{width:100%;min-height:64px;background:var(--bg);color:var(--ink);border:1px solid var(--line);
|
|
263
|
-
border-radius:3px;padding:var(--s2) var(--s3);font:12px/1.5 ui-monospace,Menlo,monospace;resize:vertical
|
|
264
|
-
|
|
265
|
-
|
|
339
|
+
border-radius:3px;padding:var(--s2) var(--s3);font:12px/1.5 ui-monospace,Menlo,monospace;resize:vertical;
|
|
340
|
+
white-space:pre-wrap;overflow-wrap:anywhere;overflow-x:hidden}
|
|
341
|
+
/* auto-text.tsx: the box is as tall as its text (two lines at rest), up to a cap past which it scrolls; a sheet may
|
|
342
|
+
cap it lower */
|
|
343
|
+
textarea.autotext{box-sizing:border-box;min-height:0;resize:none;overflow-y:hidden;max-height:min(45vh,360px)}
|
|
266
344
|
.promptrow{display:flex;gap:var(--s1);align-items:flex-start}
|
|
267
345
|
.promptrow .fold{flex:none;background:var(--panel2);color:var(--dim);border:1px solid var(--line);border-radius:3px;
|
|
268
346
|
padding:var(--s1) var(--s2);font-size:11px;line-height:1.5}
|
|
@@ -298,6 +376,11 @@ kbd{background:var(--panel2);border:1px solid var(--line);border-radius:4px;padd
|
|
|
298
376
|
.help{font-size:11px;color:var(--dim);padding:var(--s1) var(--s4);border-top:1px solid var(--line)}
|
|
299
377
|
.errs{background:var(--errbg);border-bottom:1px solid var(--errline);color:var(--errink);font:12px/1.5 ui-monospace,Menlo,monospace;
|
|
300
378
|
padding:var(--s1) var(--s4);white-space:pre-wrap}
|
|
379
|
+
/* one pane that failed to draw (pane-boundary.tsx): small, in its own place, the rest of the hub untouched */
|
|
380
|
+
.pane-err{display:flex;flex-direction:column;gap:var(--s1);margin:var(--s2);padding:var(--s2) var(--s3);border:1px solid var(--errline);
|
|
381
|
+
border-radius:6px;background:var(--errbg);color:var(--errink);font-size:12.5px;min-width:0}
|
|
382
|
+
.pane-err code{font:12px/1.4 ui-monospace,Menlo,monospace;white-space:pre-wrap;overflow-wrap:anywhere}
|
|
383
|
+
.pane-errrow{display:flex;gap:var(--s2);flex-wrap:wrap}
|
|
301
384
|
|
|
302
385
|
/* ── per-asset info chips ── */
|
|
303
386
|
.info{flex-wrap:wrap;gap:var(--s1);align-items:center;padding:var(--s1) var(--s4);border-bottom:1px solid var(--line);background:var(--panel2)}
|
|
@@ -456,6 +539,20 @@ kbd{background:var(--panel2);border:1px solid var(--line);border-radius:4px;padd
|
|
|
456
539
|
.colcard .candhint{color:var(--dim);font-size:12.5px;white-space:pre-wrap}
|
|
457
540
|
.colcard .err,.assetrem .err{color:var(--red);margin-top:var(--s2);font-size:12.5px}
|
|
458
541
|
.colcard .said{color:var(--ok);margin-top:var(--s2);font-size:12.5px}
|
|
542
|
+
.colcard .creds{border-bottom:1px solid var(--line);padding-bottom:var(--s3)}
|
|
543
|
+
.colcard .credrow{margin-top:var(--s3);padding-top:var(--s2);border-top:1px solid var(--line)}
|
|
544
|
+
.colcard .credhead{display:flex;gap:var(--s2);align-items:baseline;flex-wrap:wrap}
|
|
545
|
+
.colcard .credname{font:12.5px ui-monospace,Menlo,monospace;color:var(--ink)}
|
|
546
|
+
.colcard .credheld{font-size:12.5px;margin-left:auto}
|
|
547
|
+
.colcard .credheld.ok{color:var(--ok)}
|
|
548
|
+
.colcard .credheld.warn{color:var(--warn)}
|
|
549
|
+
.colcard .credheld.red{color:var(--red)}
|
|
550
|
+
.colcard .credheld.dim{color:var(--dim)}
|
|
551
|
+
.colcard input.credacct{flex:1 1 100%}
|
|
552
|
+
.colcard .credaccount{font:12.5px ui-monospace,Menlo,monospace;color:var(--dim)}
|
|
553
|
+
.stchips{display:inline-flex;gap:var(--s1);flex-wrap:wrap;margin-left:var(--s2);vertical-align:middle}
|
|
554
|
+
.stchip.who{color:var(--dim);border-color:var(--line);text-transform:none;letter-spacing:0;font-weight:500}
|
|
555
|
+
.stchip.who.unknown{border-style:dashed}
|
|
459
556
|
.colcard a{color:var(--accent)}
|
|
460
557
|
|
|
461
558
|
/* ONE GATE CHECK's page: small widgets on a responsive grid, each answering
|
|
@@ -571,7 +668,6 @@ kbd{background:var(--panel2);border:1px solid var(--line);border-radius:4px;padd
|
|
|
571
668
|
.rran{color:var(--accent)}
|
|
572
669
|
.rcached{color:var(--dim)}
|
|
573
670
|
.rran.zero,.rcached.zero{opacity:.4}
|
|
574
|
-
.rcaret{color:var(--dim)}
|
|
575
671
|
.rwho{border:1px solid var(--line);border-radius:3px;padding:0 var(--s1);font-size:10px;line-height:16px;text-align:center;text-transform:uppercase;letter-spacing:.04em;color:var(--dim)}
|
|
576
672
|
.rchild .rid{grid-column:2/5;display:flex;gap:var(--s2);align-items:center;padding-left:var(--s4)}
|
|
577
673
|
.rchild .rname{min-width:0;overflow:hidden;text-overflow:ellipsis}
|
|
@@ -590,20 +686,11 @@ kbd{background:var(--panel2);border:1px solid var(--line);border-radius:4px;padd
|
|
|
590
686
|
/* it holds its width: a label growing from `run it now` to `running` used
|
|
591
687
|
to resize the header under the pointer */
|
|
592
688
|
.urun{min-width:104px;display:inline-flex;gap:var(--s1);align-items:center;justify-content:center}
|
|
593
|
-
/*
|
|
594
|
-
project card read these */
|
|
595
|
-
.wcard{background:var(--bg);border:1px solid var(--line);border-radius:3px;padding:var(--s3);min-width:0}
|
|
596
|
-
.wcard.wide{grid-column:1/-1}
|
|
597
|
-
.wtitle{display:flex;gap:var(--s1);align-items:center;font-size:11px;text-transform:uppercase;letter-spacing:.08em;
|
|
598
|
-
color:var(--dim);margin-bottom:var(--s2)}
|
|
689
|
+
/* label and value facts: the project card reads these */
|
|
599
690
|
.wbody{font-size:12.5px;min-width:0}
|
|
600
691
|
.wfact{display:flex;gap:var(--s2);align-items:baseline;padding:var(--s1) 0;border-top:1px solid var(--line);min-width:0}
|
|
601
692
|
.wk{flex:0 0 88px;color:var(--dim);font-size:11px;display:flex;gap:var(--s0);align-items:center}
|
|
602
693
|
.wv{flex:1;min-width:0;word-break:break-word}
|
|
603
|
-
.wcard code{display:inline;background:var(--panel2);border:1px solid var(--line);border-radius:3px;
|
|
604
|
-
padding:0 var(--s1);margin:0;font:11.5px ui-monospace,Menlo,monospace;max-height:none;white-space:normal}
|
|
605
|
-
.wcard .dim{color:var(--dim)}
|
|
606
|
-
.wcard .md{min-height:120px;max-height:320px;overflow-y:auto}
|
|
607
694
|
/* the head: the id as a small tag, then the title, then the run button */
|
|
608
695
|
.chead{display:flex;gap:var(--s2);align-items:baseline;flex-wrap:wrap}
|
|
609
696
|
.chead .sp{flex:1}
|
|
@@ -634,8 +721,11 @@ a.tok{color:var(--accent)}
|
|
|
634
721
|
/* a path never breaks mid token: it truncates, and its tooltip is the whole */
|
|
635
722
|
.checkcard .cpath{display:inline-block;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;vertical-align:bottom}
|
|
636
723
|
.checkcard .dim{color:var(--dim)}
|
|
637
|
-
/* what is not a fact: the output and the slow suites, titled,
|
|
724
|
+
/* what is not a fact: the output and the slow suites, each a card titled by the one card head (card-head.tsx), the
|
|
725
|
+
head at the card's edges as in every card */
|
|
638
726
|
.csec{margin-top:var(--s4)}
|
|
727
|
+
.colcard>.csec>.ch{margin:0 calc(-1 * var(--s3))}
|
|
728
|
+
.colcard>.csec>.ch:first-child{margin-top:calc(-1 * var(--s2))}
|
|
639
729
|
/* where it runs: one line per context, the value then its meaning. A context
|
|
640
730
|
that never runs the check stays dim, so the lit lines read down the list */
|
|
641
731
|
.cruns{display:grid;grid-template-columns:auto auto minmax(0,1fr);column-gap:var(--s3);row-gap:var(--s0);align-items:baseline}
|
|
@@ -645,8 +735,6 @@ a.tok{color:var(--accent)}
|
|
|
645
735
|
.crun.cache .crv{color:var(--ink)}
|
|
646
736
|
.crm{font-size:11.5px;color:var(--dim);opacity:.8}
|
|
647
737
|
.crun:not(.on) .crm{opacity:.5}
|
|
648
|
-
.cstitle{display:flex;gap:var(--s1);align-items:center;font-size:11px;text-transform:uppercase;letter-spacing:.08em;
|
|
649
|
-
color:var(--dim);margin-bottom:var(--s2)}
|
|
650
738
|
.wline{margin-bottom:var(--s1);word-break:break-word}
|
|
651
739
|
/* the check's own sentence, under the title: it answers "what is this row",
|
|
652
740
|
and the grid below it is detail. Rendered as markdown, so a code span and a
|
|
@@ -722,11 +810,7 @@ a.tok{color:var(--accent)}
|
|
|
722
810
|
.ctbox{background:var(--panel);border:1px solid var(--line);border-radius:4px;padding:var(--s1) 0}
|
|
723
811
|
.cttable{font-variant-numeric:tabular-nums}
|
|
724
812
|
.cttable td{padding:var(--s0) var(--s2);vertical-align:baseline}
|
|
725
|
-
.ctgrp td{padding:var(--s2)
|
|
726
|
-
.ctgrp:hover td{color:var(--accent)}
|
|
727
|
-
.ctgrp.g-fail td{color:var(--red)}
|
|
728
|
-
.ctgrp.g-warn td{color:var(--warn)}
|
|
729
|
-
.ctcaret{display:inline-flex;width:18px}
|
|
813
|
+
.cttable .ctgrp td{padding:var(--s2) 0 0}
|
|
730
814
|
.ctrow{cursor:pointer}
|
|
731
815
|
.ctrow:hover{background:var(--panel2)}
|
|
732
816
|
.ctdot{font-size:10px}
|
|
@@ -736,7 +820,7 @@ a.tok{color:var(--accent)}
|
|
|
736
820
|
.ctbudget,.ctplan,.ctblocks{color:var(--dim)}
|
|
737
821
|
.ctprobe{font-size:11.5px}
|
|
738
822
|
.cttable .c-dot{width:22px}.cttable .c-id{width:140px}.cttable .c-title{width:16%}.cttable .c-age{width:72px}.cttable .c-dur{width:152px}.cttable .c-plan{width:88px}
|
|
739
|
-
.cttable .c-name{width:30%}.cttable .c-file{width:34%}.cttable .c-kind{width:92px}.cttable .c-blocks{width:32%}.cttable .c-probe{width:84px}
|
|
823
|
+
.cttable .c-name{width:30%}.cttable .c-who{width:24%}.ctwho .stchips{margin-left:0}.cttable .c-file{width:34%}.cttable .c-kind{width:92px}.cttable .c-blocks{width:32%}.cttable .c-probe{width:84px}
|
|
740
824
|
@container (max-width:760px){.cttable .c-title{width:0}.cttable .cttitle{display:none}.cttable .c-plan{width:0}.cttable .ctplan{display:none}}
|
|
741
825
|
|
|
742
826
|
/* ── graph item view (the graph itself fills the stage) ── */
|
|
@@ -778,6 +862,8 @@ a.tok{color:var(--accent)}
|
|
|
778
862
|
.wpbody a[data-ref=lazy] code{color:var(--ref-lazy)}
|
|
779
863
|
.wpbody a[data-ref=eager]{color:var(--ref-eager);font-weight:700}
|
|
780
864
|
.wpbody{flex:1;min-height:0;overflow-y:auto;padding:var(--s2) var(--s4) var(--s4)}
|
|
865
|
+
/* an icon in a table's cell (the objects page) keeps its own size: a narrow column never shrinks it away */
|
|
866
|
+
.wpbody td img{max-width:none;vertical-align:middle}
|
|
781
867
|
.wpbody a[data-wiki]{text-decoration:underline;text-decoration-style:dotted;text-underline-offset:2px;cursor:pointer}
|
|
782
868
|
|
|
783
869
|
/* ── comfy item view (comfy-ts's own panel fills the stage) ── */
|
|
@@ -795,24 +881,7 @@ a.tok{color:var(--accent)}
|
|
|
795
881
|
.cfbox .err{color:var(--red);font-size:12.5px}
|
|
796
882
|
.cfbox .ph{flex:1;display:flex;align-items:center;justify-content:center}
|
|
797
883
|
|
|
798
|
-
/* ── md output
|
|
799
|
-
.md{font-size:12px;line-height:1.5;color:var(--ink)}
|
|
800
|
-
.md table{border-collapse:collapse;margin:var(--s1) 0;font-size:11.5px;max-width:100%}
|
|
801
|
-
.md th,.md td{border:1px solid var(--line);padding:var(--s0) var(--s2);text-align:left;vertical-align:top}
|
|
802
|
-
.md th{color:var(--accent);font-weight:650;font-size:10.5px;letter-spacing:.05em;text-transform:uppercase;background:var(--panel2)}
|
|
803
|
-
.md blockquote{margin:var(--s1) 0;padding:var(--s0) var(--s2);border-left:2px solid var(--line);color:var(--dim)}
|
|
804
|
-
.md hr{border:0;border-top:1px solid var(--line);margin:var(--s2) 0}
|
|
805
|
-
.md h1,.md h2,.md h3{font-size:12.5px;margin:var(--s2) 0 var(--s1);color:var(--accent);letter-spacing:.02em}
|
|
806
|
-
.md h1{font-size:13.5px}
|
|
807
|
-
.md p{margin:var(--s1) 0}
|
|
808
|
-
.md ul{margin:var(--s1) 0;padding-left:var(--s4)}
|
|
809
|
-
.md li{margin:var(--s0) 0}
|
|
810
|
-
.md code{display:inline;background:var(--bg);border:1px solid var(--line);border-radius:4px;padding:0 var(--s1);
|
|
811
|
-
font:11px ui-monospace,Menlo,monospace;color:var(--ink);white-space:pre-wrap;max-height:none;margin:0}
|
|
812
|
-
.md pre{background:var(--bg);border:1px solid var(--line);border-radius:4px;padding:var(--s2);margin:var(--s1) 0;
|
|
813
|
-
overflow-x:auto;font:11px/1.5 ui-monospace,Menlo,monospace;white-space:pre}
|
|
814
|
-
.md pre code{background:none;border:0;padding:0}
|
|
815
|
-
.md a{color:var(--accent)}
|
|
884
|
+
/* ── md output: markdown.css ── */
|
|
816
885
|
|
|
817
886
|
/* ── secret (cred) cards ── */
|
|
818
887
|
.credname{font:600 13px ui-monospace,Menlo,monospace}
|
|
@@ -837,6 +906,8 @@ a.mint:hover{text-decoration:underline}
|
|
|
837
906
|
.prow.on{background:var(--panel2)}
|
|
838
907
|
.prow.none{color:var(--dim);cursor:default}
|
|
839
908
|
.prow .plabel{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
|
|
909
|
+
/* the repo a target of another repo sits in */
|
|
910
|
+
.prow .prepo{flex:none;color:var(--dim);font-size:12px}
|
|
840
911
|
/* the entry's icon: a place's button icon, a repo's own (project-list.tsx Face) */
|
|
841
912
|
.prow .pface{flex:none;display:inline-flex;align-items:center;justify-content:center;width:16px;height:16px;color:var(--dim)}
|
|
842
913
|
.prow .pface img,.prow .pface .pgi{width:16px;height:16px;border-radius:4px;object-fit:contain}
|
|
@@ -885,3 +956,7 @@ pre{background:var(--panel);border:1px solid var(--line);border-radius:3px;paddi
|
|
|
885
956
|
.gitkind.staged{color:var(--ok)}
|
|
886
957
|
.gitkind.untracked{color:var(--warn)}
|
|
887
958
|
.gitpath{font:12px ui-monospace,Menlo,monospace;overflow-wrap:anywhere}
|
|
959
|
+
/* a kind's icon in its hue (review/glyphs.ts KIND_HUES, its `--kh` set where it is drawn), the tone of the theme; its
|
|
960
|
+
square takes the same hue, faint. Never a pill, never a row's ground */
|
|
961
|
+
[data-hue],.rv-cglyph[data-hue],.rv-objglyph[data-hue],.rv-row.waiting .trglyph[data-hue]{color:hsl(var(--kh) var(--kind-s) var(--kind-l))}
|
|
962
|
+
.rv-objglyph[data-hue]{background:color-mix(in srgb,currentColor 14%,transparent)}
|
|
@@ -6,6 +6,7 @@ export const ICON = {
|
|
|
6
6
|
shipkit: 'M3 7.5 10 4l7 3.5v5L10 16l-7-3.5zM3 7.5 10 11l7-3.5M10 11v5',
|
|
7
7
|
process: 'M2 10h3.5l2-5 5 10 2-5H18',
|
|
8
8
|
processes: 'M2 10h3.5l2-5 5 10 2-5H18',
|
|
9
|
+
urls: 'M8.5 11.5a3.5 3.5 0 0 0 5 0l2.5-2.5a3.5 3.5 0 0 0-5-5l-1 1M11.5 8.5a3.5 3.5 0 0 0-5 0L4 11a3.5 3.5 0 0 0 5 5l1-1',
|
|
9
10
|
when: 'M10 3a7 7 0 1 0 .01 0M10 6v4l2.5 2',
|
|
10
11
|
plan: 'M5.5 3h9M5.5 17h9M6.5 3c0 4 7 4 7 7s-7 3-7 7M13.5 3c0 4-7 4-7 7s7 3 7 7',
|
|
11
12
|
git: 'M6 5v10M6 3a2 2 0 1 0 0 .01M6 17a2 2 0 1 0 0 .01M14 5a2 2 0 1 0 0 .01M14 7c0 4.5-8 3.5-8 7',
|
|
@@ -14,6 +15,16 @@ export const ICON = {
|
|
|
14
15
|
monitor: 'M3 4h14v9H3zM7 16.5h6M10 13v3.5',
|
|
15
16
|
archived: 'M2.5 4h15v3.5h-15zM4 7.5V16h12V7.5M8 10.5h4',
|
|
16
17
|
insights: 'M3 16.5h14M5 16.5V11M9 16.5V5M13 16.5V8.5M17 16.5V12',
|
|
18
|
+
// two stacked units: every machine that reports to the hq
|
|
19
|
+
machines: 'M3 3.5h14v5.5H3zM3 11h14v5.5H3zM6 6.25h.01M6 13.75h.01M9.5 6.25h4.5M9.5 13.75h4.5',
|
|
20
|
+
// a cylinder: every database of the machine
|
|
21
|
+
database: 'M4 5c0-1.4 2.7-2.5 6-2.5s6 1.1 6 2.5-2.7 2.5-6 2.5S4 6.4 4 5M4 5v10c0 1.4 2.7 2.5 6 2.5s6-1.1 6-2.5V5M4 10c0 1.4 2.7 2.5 6 2.5s6-1.1 6-2.5',
|
|
22
|
+
// a padlock: the vault of the machine
|
|
23
|
+
vault: 'M5 9h10v8H5zM7 9V6.5a3 3 0 0 1 6 0V9M10 12.25v2',
|
|
24
|
+
// a cloud: the Space, the house's bucket
|
|
25
|
+
space: 'M6 15.5h8.25a3.25 3.25 0 0 0 .35-6.48A4.75 4.75 0 0 0 5.4 9.3 3.1 3.1 0 0 0 6 15.5z',
|
|
26
|
+
// a clock: where the agents' time went
|
|
27
|
+
time: 'M10 3a7 7 0 1 0 0 14a7 7 0 1 0 0-14M10 6v4l3 2',
|
|
17
28
|
// a camera: the screen recorder's takes
|
|
18
29
|
recordings: 'M2.5 6h10.5v8H2.5zM13 8.5l4.5-2.5v8L13 11.5',
|
|
19
30
|
home: 'M3 9.5 10 3.5l7 6M5 8v8.5h10V8M8.5 16.5v-4.5h3v4.5',
|
|
@@ -25,6 +36,9 @@ export const ICON = {
|
|
|
25
36
|
activity: 'M6 3v14M6 6.5a2 2 0 1 0 0 .01M6 13.5a2 2 0 1 0 0 .01M10 6.5h7M10 13.5h7M10 10h5',
|
|
26
37
|
fork: 'M6 5v10M6 3a2 2 0 1 0 0 .01M6 17a2 2 0 1 0 0 .01M14 5a2 2 0 1 0 0 .01M14 7c0 4.5-8 3.5-8 7',
|
|
27
38
|
search: 'M8.5 3a5.5 5.5 0 1 0 0 11a5.5 5.5 0 1 0 0-11M12.5 12.5 17 17',
|
|
39
|
+
filter: 'M3 4.5h14l-5.5 6.5v5l-3-1.5V11z',
|
|
40
|
+
hideHandled: 'M2.5 10s2.8-5 7.5-5 7.5 5 7.5 5-2.8 5-7.5 5-7.5-5-7.5-5zM10 7.8a2.2 2.2 0 1 0 0 4.4 2.2 2.2 0 0 0 0-4.4zM3.5 3.5l13 13',
|
|
41
|
+
byLane: 'M3 4h14M6 7.5h11M6 10.5h11M3 14h14M6 17h11',
|
|
28
42
|
// fold every cell: two chevrons meeting; unfold every cell: two chevrons apart
|
|
29
43
|
foldAll: 'M6 3.5l4 4 4-4M6 16.5l4-4 4 4',
|
|
30
44
|
unfoldAll: 'M6 7.5l4-4 4 4M6 12.5l4 4 4-4',
|
|
@@ -53,13 +67,17 @@ export const ICON = {
|
|
|
53
67
|
comms: 'M3 8h3l8-4v12l-8-4H3zM6 12l1.5 4.5',
|
|
54
68
|
social: 'M7 9a2.5 2.5 0 1 0 0-5a2.5 2.5 0 1 0 0 5M2.5 16c0-2.5 2-4.5 4.5-4.5s4.5 2 4.5 4.5M13.5 9a2 2 0 1 0 0-4M13 11.5c2.5 0 4.5 1.8 4.5 4.5',
|
|
55
69
|
wikis: 'M10 5.5C8.5 4 6 3.5 3 4v11c3-.5 5.5 0 7 1.5c1.5-1.5 4-2 7-1.5V4c-3-.5-5.5 0-7 1.5zM10 5.5v11',
|
|
70
|
+
// the house wiki, a global page: the same open book
|
|
71
|
+
wiki: 'M10 5.5C8.5 4 6 3.5 3 4v11c3-.5 5.5 0 7 1.5c1.5-1.5 4-2 7-1.5V4c-3-.5-5.5 0-7 1.5zM10 5.5v11',
|
|
56
72
|
admin: 'M4 5h12M4 10h12M4 15h12M7 3.5v3M13 8.5v3M9 13.5v3',
|
|
57
73
|
health: 'M2 10h3.5l2-5 5 10 2-5H18',
|
|
58
74
|
gate: 'M10 2.5 16 5v4.5c0 4-2.7 6.5-6 8c-3.3-1.5-6-4-6-8V5zM7.5 10l2 2 3.5-3.5',
|
|
59
75
|
// the VS Code mark, its ribbon drawn as one outline
|
|
60
76
|
vscode: 'M14 2.5l3.5 1.7v11.6L14 17.5zM14 2.5 4.5 12.3 2.5 11V9l2-1.3L14 17.5M14 6.8 10.2 10l3.8 3.2',
|
|
61
77
|
sort: 'M6 3.5v13M3 13.5l3 3 3-3M14 16.5v-13M11 6.5l3-3 3 3',
|
|
62
|
-
// the theme button: a sun, a moon,
|
|
78
|
+
// the theme button: a sun, a moon, a half filled disc for the system's, a low sun for dim and a cloud for grey
|
|
79
|
+
dusk: 'M4.5 13a5.5 5.5 0 0 1 11 0M2 13h16M5.5 16h9M10 3.5v2M4 7.5l1.4 1.2M16 7.5l-1.4 1.2',
|
|
80
|
+
cloud: 'M6.2 15.5a3.4 3.4 0 0 1-.4-6.8 4.8 4.8 0 0 1 9.3 1.1 2.9 2.9 0 0 1-.6 5.7z',
|
|
63
81
|
sun: 'M10 6.5a3.5 3.5 0 1 0 .01 0M10 2v2M10 16v2M2 10h2M16 10h2M4.3 4.3l1.4 1.4M14.3 14.3l1.4 1.4M4.3 15.7l1.4-1.4M14.3 5.7l1.4-1.4',
|
|
64
82
|
moon: 'M15.5 12.5A6.5 6.5 0 0 1 7.5 4.5a6.5 6.5 0 1 0 8 8z',
|
|
65
83
|
auto: 'M10 3a7 7 0 1 0 .01 0M10 3v14M10 5.5h4M10 8.5h6M10 11.5h6M10 14.5h4',
|
|
@@ -68,6 +86,7 @@ export const ICON = {
|
|
|
68
86
|
paneRight: 'M3 4h14v12H3zM12 4v12M13.5 7h2M13.5 9.5h2',
|
|
69
87
|
paneBottom: 'M3 4h14v12H3zM3 11h14M6 13.5h8',
|
|
70
88
|
copy: 'M7 7h9v10H7zM4 13V3h9',
|
|
89
|
+
stage: 'M3 10.5 17 3.5l-4.5 13-3-5.5-6.5-.5zM9.5 11 17 3.5',
|
|
71
90
|
editor: 'M13 3l4 3v8l-4 3-7-6 7-5zM3 7.5l3 2.5-3 2.5',
|
|
72
91
|
// the project list's fold: a panel with its rail marked
|
|
73
92
|
rail: 'M3 4h14v12H3zM7.5 4v12',
|
|
@@ -77,12 +96,20 @@ export const ICON = {
|
|
|
77
96
|
link: 'M8.5 11.5a3.5 3.5 0 0 0 5 0l2.5-2.5a3.5 3.5 0 0 0-5-5l-1 1M11.5 8.5a3.5 3.5 0 0 0-5 0L4 11a3.5 3.5 0 0 0 5 5l1-1',
|
|
78
97
|
clock: 'M10 2.5a7.5 7.5 0 1 0 0 15a7.5 7.5 0 1 0 0-15M10 6v4l2.5 2',
|
|
79
98
|
restart: 'M15.5 10a5.5 5.5 0 1 1-1.6-3.9M14.2 3v3.3h-3.3',
|
|
99
|
+
// the four verbs of his turn (review/wait.ts), drawn by thread-row.tsx VerbGlyph only: a verdict's scales, a
|
|
100
|
+
// question's bubble, the action's bolt, a page to read
|
|
101
|
+
judge: 'M10 3.5v13M6 16.5h8M4 6h12M4 6l-2 5h4zM16 6l-2 5h4z',
|
|
102
|
+
answer: 'M3 4h14v9H8l-4 3.5V13H3zM8.3 7.2a1.8 1.8 0 1 1 2.5 1.6c-.5.3-.8.6-.8 1.1M10 11.3h.01',
|
|
103
|
+
do: 'M11.5 2.5 4.5 11h5l-1 6.5 7-8.5h-5z',
|
|
104
|
+
read: 'M10 5.5C8.5 4 6 3.5 3 4v11c3-.5 5.5 0 7 1.5c1.5-1.5 4-2 7-1.5V4c-3-.5-5.5 0-7 1.5zM10 5.5v11',
|
|
80
105
|
} as const
|
|
81
106
|
|
|
82
|
-
/**
|
|
83
|
-
*
|
|
84
|
-
|
|
85
|
-
|
|
107
|
+
/** THE caret of the hub, the left bar's: a 10 px chevron that points at what a click shows, its look in hub.css .caret
|
|
108
|
+
* and nowhere else (tests/hub-caret-card-head.test.ts). Right while folded, down once open; `v`: a word button that
|
|
109
|
+
* unfolds below (« more », « show »), down while folded and up once open; `side`: a drawer at the right edge, left
|
|
110
|
+
* while shut and right once out */
|
|
111
|
+
export const Caret = ({ open, v = false, side = false }: { open: boolean; v?: boolean; side?: boolean }) => (
|
|
112
|
+
<svg className={`caret${v ? ' v' : ''}${side ? ' side' : ''}${open ? ' open' : ''}`} viewBox="0 0 24 24" width="10" height="10" aria-hidden="true" fill="none" stroke="currentColor" strokeWidth="2.4" strokeLinecap="round" strokeLinejoin="round"><path d="M9 5l7 7-7 7" /></svg>
|
|
86
113
|
)
|
|
87
114
|
|
|
88
115
|
export const Icon = ({ d }: { d: string }) => (
|
|
@@ -3,13 +3,13 @@
|
|
|
3
3
|
// its accounts, setup and messages come from. The desk is a repo's Social desk read again: its identities are the
|
|
4
4
|
// machine's whatever the repo, its drafts that repo's, so an identity reads the desk of the repo that speaks as it
|
|
5
5
|
// with the most drafts
|
|
6
|
-
import { makeAutoObservable, observableRef, runInAction } from 'mobx'
|
|
6
|
+
import { computed, makeAutoObservable, observableRef, runInAction, type IComputedValue } from 'mobx'
|
|
7
7
|
import type { DataPlace, IdentitiesAnswer, MachineIdentity } from '../../identities/machine-route.ts'
|
|
8
8
|
import type { HomeSt } from './home-st.ts'
|
|
9
|
-
import { identityRows, isSection, type IdentityRow, type IdentitySel } from './identity-address.ts'
|
|
10
|
-
import { walkKey, WalkEntry, type WalkHost } from './list-walk.ts'
|
|
9
|
+
import { ACCOUNT_TABS, identityRows, isAccountTab, isSection, type AccountTab, type IdentityRow, type IdentitySel } from './identity-address.ts'
|
|
10
|
+
import { sideOf, walkKey, WalkEntry, type SideList, type WalkHost } from './list-walk.ts'
|
|
11
11
|
import { ownTrouble, reach } from './reach.ts'
|
|
12
|
-
import { LEGAL } from './social/social-model.ts'
|
|
12
|
+
import { LEGAL, type DeskAccount } from './social/social-model.ts'
|
|
13
13
|
import { SocialSt } from './social/social-st.ts'
|
|
14
14
|
|
|
15
15
|
export class IdentitiesSt implements WalkHost<IdentityRow> {
|
|
@@ -18,6 +18,8 @@ export class IdentitiesSt implements WalkHost<IdentityRow> {
|
|
|
18
18
|
loading = false
|
|
19
19
|
/** what the address picked */
|
|
20
20
|
sel: IdentitySel = { id: null, part: null, place: null }
|
|
21
|
+
/** the account section picked last: a step to the next account keeps it (identities-view.tsx tabOf) */
|
|
22
|
+
lastTab: AccountTab | null = null
|
|
21
23
|
/** what the last open said, or why it failed */
|
|
22
24
|
note = ''
|
|
23
25
|
/** the desk the shown identity reads (applyDesk) */
|
|
@@ -32,9 +34,11 @@ export class IdentitiesSt implements WalkHost<IdentityRow> {
|
|
|
32
34
|
cursor: string | null = null
|
|
33
35
|
/** a walk with the arrows is one history entry (HomeSt.show asks it) */
|
|
34
36
|
readonly entry = new WalkEntry()
|
|
37
|
+
/** each row's own « lit », so a step draws again the two rows it moves between, never the whole list */
|
|
38
|
+
private litOf = new Map<string, IComputedValue<boolean>>()
|
|
35
39
|
|
|
36
40
|
constructor(private readonly st: HomeSt) {
|
|
37
|
-
makeAutoObservable<this, 'st' | 'gen' | 'desks'>(this, { st: false, gen: false, desks: false, entry: false, searchEl: false, data: observableRef, desk: observableRef })
|
|
41
|
+
makeAutoObservable<this, 'st' | 'gen' | 'desks' | 'litOf'>(this, { st: false, gen: false, desks: false, litOf: false, entry: false, searchEl: false, data: observableRef, desk: observableRef })
|
|
38
42
|
}
|
|
39
43
|
|
|
40
44
|
start(): void {
|
|
@@ -48,6 +52,7 @@ export class IdentitiesSt implements WalkHost<IdentityRow> {
|
|
|
48
52
|
|
|
49
53
|
select(sel: IdentitySel): void {
|
|
50
54
|
this.sel = sel
|
|
55
|
+
if (isAccountTab(sel.place)) this.lastTab = sel.place
|
|
51
56
|
this.cursor = null
|
|
52
57
|
this.applyDesk()
|
|
53
58
|
}
|
|
@@ -76,6 +81,16 @@ export class IdentitiesSt implements WalkHost<IdentityRow> {
|
|
|
76
81
|
return this.cursor ?? rows[this.home(rows)]?.key ?? null
|
|
77
82
|
}
|
|
78
83
|
|
|
84
|
+
/** whether a row is lit, read by that row alone */
|
|
85
|
+
isLit(key: string): boolean {
|
|
86
|
+
let c = this.litOf.get(key)
|
|
87
|
+
if (c == null) {
|
|
88
|
+
c = computed(() => this.lit === key)
|
|
89
|
+
this.litOf.set(key, c)
|
|
90
|
+
}
|
|
91
|
+
return c.get()
|
|
92
|
+
}
|
|
93
|
+
|
|
79
94
|
inert(): boolean {
|
|
80
95
|
return false
|
|
81
96
|
}
|
|
@@ -114,6 +129,40 @@ export class IdentitiesSt implements WalkHost<IdentityRow> {
|
|
|
114
129
|
return this.shown?.id ?? this.sel.id
|
|
115
130
|
}
|
|
116
131
|
|
|
132
|
+
/** the account the address shows, as the desk reads it; null on the profile, a section, or before the desk answers */
|
|
133
|
+
get shownAccount(): DeskAccount | null {
|
|
134
|
+
const part = this.sel.part
|
|
135
|
+
const id = this.shownId
|
|
136
|
+
if (part == null || isSection(part) || id == null) return null
|
|
137
|
+
return this.desk?.identityOf(id)?.accounts.find((x) => x.id === part) ?? null
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
/** the sections an account has, in the order its list draws them and the arrows walk them */
|
|
141
|
+
accountTabs(a: DeskAccount): AccountTab[] {
|
|
142
|
+
return ACCOUNT_TABS.filter((t) => (t === '@setup' ? a.steps.length > 0 : t === '@places' ? a.places.length > 0 : true))
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
/** the section an account page shows: the one the address names, a place's own page under Places, else the section
|
|
146
|
+
* picked last while this account has it (a walk over the accounts stays on Messages), else the setup while a step
|
|
147
|
+
* is left, the profile once it is done */
|
|
148
|
+
tabOf(a: DeskAccount): AccountTab {
|
|
149
|
+
const place = this.sel.place
|
|
150
|
+
if (isAccountTab(place)) return place
|
|
151
|
+
if (place != null) return '@places'
|
|
152
|
+
if (this.lastTab != null && this.accountTabs(a).includes(this.lastTab)) return this.lastTab
|
|
153
|
+
return a.steps.some((x) => !x.done) ? '@setup' : '@profile'
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
/** the page's C list on an account: its sections, ↑ ↓ step them (hub.md, Keys) */
|
|
157
|
+
get tabSide(): SideList | null {
|
|
158
|
+
if (this.shownAccount == null) return null
|
|
159
|
+
return sideOf({
|
|
160
|
+
ids: () => (this.shownAccount == null ? [] : this.accountTabs(this.shownAccount)),
|
|
161
|
+
current: () => (this.shownAccount == null ? null : this.tabOf(this.shownAccount)),
|
|
162
|
+
open: (tab) => this.entry.run(() => this.st.openIdentity({ id: this.shownId, part: this.sel.part, place: tab })),
|
|
163
|
+
})
|
|
164
|
+
}
|
|
165
|
+
|
|
117
166
|
/** the repo whose desk the identity reads: the one speaking as it with the most drafts, else the first speaking as
|
|
118
167
|
* it, else the first repo of the list (an identity no repo speaks as has no drafts, its accounts are the same) */
|
|
119
168
|
deskRepo(i: MachineIdentity): string | null {
|
|
@@ -153,7 +202,8 @@ export class IdentitiesSt implements WalkHost<IdentityRow> {
|
|
|
153
202
|
const part = this.sel.part
|
|
154
203
|
if (part === LEGAL) d.selectSocial(i.id, LEGAL, null)
|
|
155
204
|
else if (part == null || isSection(part)) d.selectSocial(i.id, null, null)
|
|
156
|
-
|
|
205
|
+
// an account's section is not a place: the desk shows the account, every place
|
|
206
|
+
else d.selectSocial(i.id, part, isAccountTab(this.sel.place) ? null : this.sel.place)
|
|
157
207
|
}
|
|
158
208
|
|
|
159
209
|
/** the hub of the desk's repo, started when it is down */
|