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
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
// the entry a page's bar shows (entry-bar.tsx), in its address: `/<page>` on the first entry, `/<page>#<entry>` on any
|
|
2
|
+
// other. A click on an entry is a history entry of its own, so back returns to the one before; the arrows replace
|
|
3
|
+
import { makeAutoObservable } from 'mobx'
|
|
4
|
+
|
|
5
|
+
export class EntryPick<E extends string> {
|
|
6
|
+
entry: E
|
|
7
|
+
|
|
8
|
+
constructor(readonly path: string, readonly entries: readonly E[]) {
|
|
9
|
+
this.entry = entries[0]!
|
|
10
|
+
makeAutoObservable<this>(this, { path: false, entries: false })
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
get address(): string {
|
|
14
|
+
return this.entry === this.entries[0] ? this.path : `${this.path}#${this.entry}`
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
/** the entry an address names; a bare path or a name it does not know is the first */
|
|
18
|
+
fromHash(hash: string): void {
|
|
19
|
+
const id = hash.replace(/^#/, '')
|
|
20
|
+
this.entry = (this.entries as readonly string[]).includes(id) ? (id as E) : this.entries[0]!
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
open(e: E, how: 'push' | 'replace' = 'push'): void {
|
|
24
|
+
if (e === this.entry) return
|
|
25
|
+
this.entry = e
|
|
26
|
+
try {
|
|
27
|
+
if (how === 'push') globalThis.history?.pushState(null, '', this.address)
|
|
28
|
+
else globalThis.history?.replaceState(null, '', this.address)
|
|
29
|
+
} catch { /* no history: the pick lasts the page */ }
|
|
30
|
+
}
|
|
31
|
+
}
|
|
@@ -24,9 +24,25 @@ export class FrameCache {
|
|
|
24
24
|
this.kept = [{ repo, id, ...(gl ? { gl: true as const } : {}) }, ...rest].slice(0, this.cap)
|
|
25
25
|
}
|
|
26
26
|
|
|
27
|
+
/** the secret fields shown now: while one shows, no repo page stays loaded, since a page of the hub's origin could
|
|
28
|
+
* read the field (wiki tools/shipkit/threads-asks.md, The secret field) */
|
|
29
|
+
holds = 0
|
|
30
|
+
|
|
31
|
+
/** a secret field shows: every kept frame unloads until the returned release */
|
|
32
|
+
hold(): () => void {
|
|
33
|
+
this.holds++
|
|
34
|
+
let released = false
|
|
35
|
+
return () => {
|
|
36
|
+
if (released) return
|
|
37
|
+
released = true
|
|
38
|
+
this.holds--
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
|
|
27
42
|
/** a repo's kept frames in the order they stand in the page: by id, never by age, so a switch never moves one (a
|
|
28
|
-
* moved iframe loads again) */
|
|
43
|
+
* moved iframe loads again); none while a secret field shows */
|
|
29
44
|
of(repo: string): string[] {
|
|
45
|
+
if (this.holds > 0) return []
|
|
30
46
|
return this.kept
|
|
31
47
|
.filter((f) => f.repo === repo)
|
|
32
48
|
.map((f) => f.id)
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
// and its commits of the last week (HEAD's last one when the week holds
|
|
3
3
|
// none), with the ways out to VS Code and Fork. Every repo at once: the
|
|
4
4
|
// activity page (⌘L).
|
|
5
|
+
import { CardHead } from './card-head.tsx'
|
|
5
6
|
import { observer } from 'mobx-react-lite'
|
|
6
7
|
import { useEffect } from 'react'
|
|
7
8
|
import { isMainBranch, upstreamWords } from '../../home/activity-shape.ts'
|
|
@@ -39,13 +40,13 @@ export const GitPage = observer(({ app }: { app: RepoSt }) => {
|
|
|
39
40
|
<div className="cf"><div className="ck">upstream</div><div className="cv">{upstreamWords(r)}</div></div>
|
|
40
41
|
</div>
|
|
41
42
|
<section className="csec">
|
|
42
|
-
<
|
|
43
|
+
<CardHead title="not committed" n={r.files.length} />
|
|
43
44
|
{r.files.length === 0 ? <div className="dim">nothing: the tree is clean</div> : (
|
|
44
45
|
<table className="gitfiles"><tbody>{r.files.map((f) => <tr key={f.path}><td className={`gitkind ${f.kind}`}>{KIND_WORD[f.kind]}</td><td className="gitpath">{f.path}</td></tr>)}</tbody></table>
|
|
45
46
|
)}
|
|
46
47
|
</section>
|
|
47
48
|
<section className="csec">
|
|
48
|
-
<
|
|
49
|
+
<CardHead title="commits, last week" n={r.commits.length} />
|
|
49
50
|
<table className="gitcommits">
|
|
50
51
|
<tbody>
|
|
51
52
|
{r.commits.map((c) => <tr key={c.sha}><Commit c={c} now={now} old={false} /></tr>)}
|
|
@@ -29,6 +29,8 @@ export type HashSel =
|
|
|
29
29
|
/** the global processes the repo declares, one card each, `id` the one
|
|
30
30
|
* a tree row opened (scrolled to and lit), null for none */
|
|
31
31
|
| { t: 'processes'; id: string | null }
|
|
32
|
+
/** every url of the repo, dev and prod, `id` the one framed, null for the list alone */
|
|
33
|
+
| { t: 'urls'; id: string | null }
|
|
32
34
|
/** what the machine plans to run in this repo, and when */
|
|
33
35
|
| { t: 'plan' }
|
|
34
36
|
/** the repo's git: branch, upstream, uncommitted files, recent commits */
|
|
@@ -68,7 +70,7 @@ export type ReleasesTab = 'cards' | 'notes'
|
|
|
68
70
|
export type CheckOwner = 'shipkit' | 'repo'
|
|
69
71
|
|
|
70
72
|
export type ParsedHash = {
|
|
71
|
-
kind: 'asset' | 'cat' | 'col' | 'item' | 'status' | 'tests' | 'admin' | 'readme' | 'processes' | 'plan' | 'git' | 'commands' | 'when' | 'checks' | 'review' | 'trailer' | 'stores' | 'releases' | 'messages' | 'veille' | 'comms' | 'social' | 'page' | 'none'
|
|
73
|
+
kind: 'asset' | 'cat' | 'col' | 'item' | 'status' | 'tests' | 'admin' | 'readme' | 'processes' | 'urls' | 'plan' | 'git' | 'commands' | 'when' | 'checks' | 'review' | 'trailer' | 'stores' | 'releases' | 'messages' | 'veille' | 'comms' | 'social' | 'page' | 'none'
|
|
72
74
|
/** the collection, for an item. null for everything else */
|
|
73
75
|
col: string | null
|
|
74
76
|
id: string
|
|
@@ -93,12 +95,14 @@ const TESTS = 'page:tests'
|
|
|
93
95
|
const ADMIN = 'page:admin'
|
|
94
96
|
const README = 'page:readme'
|
|
95
97
|
const PROCESSES = 'page:processes'
|
|
98
|
+
const URLS = 'page:urls'
|
|
96
99
|
const PLAN = 'page:plan'
|
|
97
100
|
const GIT = 'page:git'
|
|
98
101
|
const COMMANDS = 'page:commands'
|
|
99
102
|
const WHEN = 'page:when'
|
|
100
103
|
const CHECKS = 'page:checks:'
|
|
101
104
|
const REVIEW = 'page:review'
|
|
105
|
+
const THREADS = 'page:threads'
|
|
102
106
|
const TRAILER = 'page:trailer'
|
|
103
107
|
const STORES = 'page:stores'
|
|
104
108
|
const RELEASES = 'page:releases'
|
|
@@ -122,6 +126,7 @@ export function hashFor(sel: HashSel | null): string | null {
|
|
|
122
126
|
case 'admin': return ADMIN
|
|
123
127
|
case 'readme': return README
|
|
124
128
|
case 'processes': return sel.id == null ? PROCESSES : `${PROCESSES}:${sel.id}`
|
|
129
|
+
case 'urls': return sel.id == null ? URLS : `${URLS}:${sel.id}`
|
|
125
130
|
case 'plan': return PLAN
|
|
126
131
|
case 'git': return GIT
|
|
127
132
|
// page:commands:<words joined by />@<run>, each part only when it says something
|
|
@@ -164,6 +169,8 @@ export function parseHash(raw: string): ParsedHash {
|
|
|
164
169
|
if (raw === ADMIN) return { kind: 'admin', col: null, id: '', tools: null }
|
|
165
170
|
if (raw === README) return { kind: 'readme', col: null, id: '', tools: null }
|
|
166
171
|
if (raw === PROCESSES) return { kind: 'processes', col: null, id: '', tools: null }
|
|
172
|
+
if (raw === URLS) return { kind: 'urls', col: null, id: '', tools: null }
|
|
173
|
+
if (raw.startsWith(`${URLS}:`)) return { kind: 'urls', col: null, id: raw.slice(URLS.length + 1), tools: null }
|
|
167
174
|
if (raw === PLAN) return { kind: 'plan', col: null, id: '', tools: null }
|
|
168
175
|
if (raw === GIT) return { kind: 'git', col: null, id: '', tools: null }
|
|
169
176
|
// the command's words ride in `id`, the run in `col`
|
|
@@ -175,6 +182,8 @@ export function parseHash(raw: string): ParsedHash {
|
|
|
175
182
|
return { kind: 'commands', col: run === '' ? null : run, id: words, tools: null }
|
|
176
183
|
}
|
|
177
184
|
if (raw === WHEN) return { kind: 'when', col: null, id: '', tools: null }
|
|
185
|
+
// the threads page, by its name or its older one
|
|
186
|
+
if (raw === THREADS || raw.startsWith(`${THREADS}:`) || raw.startsWith(`${THREADS}?`)) raw = `${REVIEW}${raw.slice(THREADS.length)}`
|
|
178
187
|
if (raw === REVIEW || raw.startsWith(`${REVIEW}:`) || raw.startsWith(`${REVIEW}?`)) {
|
|
179
188
|
const qi = raw.indexOf('?')
|
|
180
189
|
const path = qi === -1 ? raw : raw.slice(0, qi)
|
|
@@ -280,6 +289,7 @@ export function selOf(p: ParsedHash): HashSel | null {
|
|
|
280
289
|
case 'admin': return { t: 'admin' }
|
|
281
290
|
case 'readme': return { t: 'readme' }
|
|
282
291
|
case 'processes': return { t: 'processes', id: p.id === '' ? null : p.id }
|
|
292
|
+
case 'urls': return { t: 'urls', id: p.id === '' ? null : p.id }
|
|
283
293
|
case 'plan': return { t: 'plan' }
|
|
284
294
|
case 'git': return { t: 'git' }
|
|
285
295
|
case 'commands': return { t: 'commands', cmd: p.id === '' ? null : p.id, ...(p.col ? { run: p.col } : {}) }
|
|
@@ -1,14 +1,9 @@
|
|
|
1
|
-
// A repo's
|
|
2
|
-
//
|
|
3
|
-
// runs
|
|
4
|
-
//
|
|
5
|
-
//
|
|
6
|
-
//
|
|
7
|
-
// the hub's own trouble is a card floating under it (hubCards, float-cards.tsx).
|
|
8
|
-
// On the home they ride in the home strip (home-strip.tsx); a hub of its own
|
|
9
|
-
// draws them in its own header, with its name. The repo's sections are the
|
|
10
|
-
// top rows of the left pane's tree (repo-sections.ts). What runs, drawn, is
|
|
11
|
-
// the dock at the bottom of the page (dock-view.tsx).
|
|
1
|
+
// A repo's tools, at the head of its tree beside the filter (sidebar.tsx): modernize while it is behind
|
|
2
|
+
// (RepoTools), a spinner while something runs, its words on hover, and one check… button that opens the two
|
|
3
|
+
// runs that are not one check (RepoRun), then the editor icons (RepoOpeners). The page has no top bar: on the
|
|
4
|
+
// home a repo's name is the rail's lit row; a hub of its own draws its name alone (HeaderBar). The hub's
|
|
5
|
+
// trouble is a card floating at the top right (hubCards, float-cards.tsx). The repo's sections are the top
|
|
6
|
+
// rows of the tree (repo-sections.ts). What runs, drawn, is the dock at the bottom (dock-view.tsx).
|
|
12
7
|
import { observer } from 'mobx-react-lite'
|
|
13
8
|
import { Icon, ICON } from './icons.tsx'
|
|
14
9
|
import { Pop, Tip } from './floating.tsx'
|
|
@@ -103,23 +98,24 @@ export const RepoOpeners = observer(({ app }: { app: RepoSt }) => {
|
|
|
103
98
|
)
|
|
104
99
|
})
|
|
105
100
|
|
|
106
|
-
/** the
|
|
101
|
+
/** the tools that come before the check button, for a repo */
|
|
107
102
|
export const RepoTools = observer(({ app }: { app: RepoSt }) => (
|
|
108
103
|
<>
|
|
109
104
|
<Modernize app={app} />
|
|
110
105
|
</>
|
|
111
106
|
))
|
|
112
107
|
|
|
113
|
-
/**
|
|
114
|
-
|
|
108
|
+
/** a repo's tools, one row at the head of its tree, at the end of the filter's row */
|
|
109
|
+
export const RepoBar = observer(({ app }: { app: RepoSt }) => (
|
|
110
|
+
<span className="stools"><RepoTools app={app} /><RepoRun app={app} /><RepoOpeners app={app} /></span>
|
|
111
|
+
))
|
|
112
|
+
|
|
113
|
+
/** the bar of a hub of its own: its name alone (its tools are the head of its tree), and its trouble floating
|
|
114
|
+
* under it */
|
|
115
115
|
export const HeaderBar = observer(({ app }: { app: RepoSt }) => (
|
|
116
116
|
<>
|
|
117
117
|
<header className="hdr">
|
|
118
118
|
<span className={app.name === '' ? 'hname' : 'hname idc'} style={app.name === '' ? undefined : (idVars(app.home.projects.identityOf(app.name)) as CSSProperties)}>{app.name !== '' ? app.name : 'hub'}</span>
|
|
119
|
-
<span className="sp" />
|
|
120
|
-
<RepoTools app={app} />
|
|
121
|
-
<RepoRun app={app} />
|
|
122
|
-
<RepoOpeners app={app} />
|
|
123
119
|
</header>
|
|
124
120
|
<FloatCards cards={hubCards(app)} />
|
|
125
121
|
</>
|
|
@@ -17,27 +17,36 @@ import { MachineSt, type MachineOpts } from './machine-st.ts'
|
|
|
17
17
|
import { LayoutSt } from './layout-st.ts'
|
|
18
18
|
import { ThemeSt } from './theme-st.ts'
|
|
19
19
|
import { FrameCache } from './frames-st.ts'
|
|
20
|
+
import { HouseUrlsSvc } from './urls-svc.ts'
|
|
20
21
|
import { DockSt } from './dock-st.ts'
|
|
21
22
|
import { PaletteSt } from './palette-st.ts'
|
|
22
23
|
import { PlannedSt } from './planned-st.ts'
|
|
23
24
|
import { ActivitySt } from './activity-st.ts'
|
|
24
25
|
import { InsightsSt } from './insights-st.ts'
|
|
25
26
|
import { RecordingsSt } from './recordings-st.ts'
|
|
27
|
+
import { TimeSt } from './time-st.ts'
|
|
28
|
+
import { MachinesSt } from './machines-st.ts'
|
|
29
|
+
import { DatabaseSt } from './database-st.ts'
|
|
30
|
+
import { SpaceSt } from './space-st.ts'
|
|
31
|
+
import { HouseWaitingSvc } from './waiting-svc.ts'
|
|
32
|
+
import { VaultSt } from './vault-st.ts'
|
|
26
33
|
import { IdentitiesSt } from './identities-st.ts'
|
|
27
34
|
import { identityAddress, parseIdentityHash, type IdentitySel } from './identity-address.ts'
|
|
28
35
|
import { InboxSt } from './inbox-st.ts'
|
|
29
36
|
import { ProjectsSvc } from './projects-svc.ts'
|
|
37
|
+
import type { SectionId } from './keys.ts'
|
|
30
38
|
import { parseFilter, RepoSt } from './repo-st.ts'
|
|
31
39
|
import { openSection, repoSections, sectionOfRepo } from './repo-sections.ts'
|
|
40
|
+
import { panes } from './pane-errors.ts'
|
|
32
41
|
|
|
33
42
|
/** the longest one repo's read ahead holds the next one back */
|
|
34
43
|
export const PREFETCH_WAIT_MS = 10_000
|
|
35
44
|
|
|
36
|
-
/** what the page shows: the machine overview, the inbox, the plan, the activity, the insights, the archived repos, or one repo */
|
|
37
|
-
export type Page = 'overview' | 'inbox' | 'planned' | 'activity' | 'insights' | 'recordings' | 'identities' | 'archived' | 'repo'
|
|
45
|
+
/** what the page shows: the house wiki, the machine overview, the inbox, the plan, the activity, the insights, the archived repos, or one repo */
|
|
46
|
+
export type Page = 'wiki' | 'overview' | 'inbox' | 'machines' | 'database' | 'vault' | 'space' | 'planned' | 'activity' | 'insights' | 'time' | 'recordings' | 'identities' | 'archived' | 'repo'
|
|
38
47
|
|
|
39
48
|
/** the address of each page of the home that is no repo's */
|
|
40
|
-
export const PLACE_PATH = { overview: '/', inbox: '/inbox', planned: '/planned', activity: '/activity', insights: '/insights', recordings: '/recordings', identities: '/identities', archived: '/archived' } as const
|
|
49
|
+
export const PLACE_PATH = { wiki: '/wiki', overview: '/', inbox: '/inbox', machines: '/machines', database: '/database', vault: '/vault', space: '/space', planned: '/planned', activity: '/activity', insights: '/insights', time: '/time', recordings: '/recordings', identities: '/identities', archived: '/archived' } as const
|
|
41
50
|
|
|
42
51
|
/** where a repo's hub answers on the home */
|
|
43
52
|
export const repoBase = (name: string): string => `/r/${encodeURIComponent(name)}`
|
|
@@ -56,9 +65,15 @@ export function routeOf(pathname: string): { page: Page; repo: string | null } {
|
|
|
56
65
|
const m = /^\/r\/([^/]+)/.exec(pathname)
|
|
57
66
|
if (m != null) return { page: 'repo', repo: decodeURIComponent(m[1]!) }
|
|
58
67
|
if (/^\/inbox\/?$/.test(pathname)) return { page: 'inbox', repo: null }
|
|
68
|
+
if (/^\/wiki\/?$/.test(pathname)) return { page: 'wiki', repo: null }
|
|
59
69
|
if (/^\/planned\/?$/.test(pathname)) return { page: 'planned', repo: null }
|
|
60
70
|
if (/^\/activity\/?$/.test(pathname)) return { page: 'activity', repo: null }
|
|
61
71
|
if (/^\/insights\/?$/.test(pathname)) return { page: 'insights', repo: null }
|
|
72
|
+
if (/^\/time\/?$/.test(pathname)) return { page: 'time', repo: null }
|
|
73
|
+
if (/^\/machines\/?$/.test(pathname)) return { page: 'machines', repo: null }
|
|
74
|
+
if (/^\/database\/?$/.test(pathname)) return { page: 'database', repo: null }
|
|
75
|
+
if (/^\/vault\/?$/.test(pathname)) return { page: 'vault', repo: null }
|
|
76
|
+
if (/^\/space\/?$/.test(pathname)) return { page: 'space', repo: null }
|
|
62
77
|
if (/^\/recordings\/?$/.test(pathname)) return { page: 'recordings', repo: null }
|
|
63
78
|
if (/^\/identities\/?$/.test(pathname)) return { page: 'identities', repo: null }
|
|
64
79
|
if (/^\/archived\/?$/.test(pathname)) return { page: 'archived', repo: null }
|
|
@@ -87,6 +102,16 @@ export class HomeSt {
|
|
|
87
102
|
/** what every repo committed and holds, polled while it is the page */
|
|
88
103
|
activity: ActivitySt
|
|
89
104
|
insights: InsightsSt
|
|
105
|
+
/** where the agents' time went, for every repo or one (time-st.ts) */
|
|
106
|
+
time: TimeSt
|
|
107
|
+
/** every machine that reports to the hq, read while it is the page (machines-st.ts); `machine` is this one's own card */
|
|
108
|
+
machines: MachinesSt
|
|
109
|
+
/** every database of this machine, its size, its tables, read while it is the page (database-st.ts) */
|
|
110
|
+
database: DatabaseSt
|
|
111
|
+
/** the vault of this machine: how it stands, where it lives, its names, read while it is the page (vault-st.ts) */
|
|
112
|
+
vault: VaultSt
|
|
113
|
+
/** the Space of the house: what its kept listing holds, folder by folder, read while it is the page (space-st.ts) */
|
|
114
|
+
space: SpaceSt
|
|
90
115
|
/** the screen recorder's takes and the editor of one (recordings-st.ts) */
|
|
91
116
|
recordings: RecordingsSt
|
|
92
117
|
/** who speaks for each repo, read while it is the page */
|
|
@@ -103,6 +128,12 @@ export class HomeSt {
|
|
|
103
128
|
readonly theme = new ThemeSt()
|
|
104
129
|
/** the repo pages' frames kept alive, across repos (frames-st.ts) */
|
|
105
130
|
readonly frames = new FrameCache()
|
|
131
|
+
/** every repo's urls, on the overview (urls-svc.ts) */
|
|
132
|
+
readonly urls = new HouseUrlsSvc()
|
|
133
|
+
/** what waits for the owner in every repo, for the picker (waiting-svc.ts) */
|
|
134
|
+
readonly waiting = new HouseWaitingSvc()
|
|
135
|
+
/** what failed to draw, pane by pane, and the trip of a pane (pane-errors.ts) */
|
|
136
|
+
readonly panes = panes
|
|
106
137
|
page: Page
|
|
107
138
|
/** the key of the repo picked last: its name on the home, '' for the one
|
|
108
139
|
* repo of a hub of its own. A global page keeps it (only `shown` says
|
|
@@ -123,6 +154,11 @@ export class HomeSt {
|
|
|
123
154
|
this.planned = new PlannedSt(this)
|
|
124
155
|
this.activity = new ActivitySt(this)
|
|
125
156
|
this.insights = new InsightsSt(this)
|
|
157
|
+
this.time = new TimeSt(this)
|
|
158
|
+
this.machines = new MachinesSt(this)
|
|
159
|
+
this.database = new DatabaseSt(this)
|
|
160
|
+
this.vault = new VaultSt(this)
|
|
161
|
+
this.space = new SpaceSt(this)
|
|
126
162
|
this.recordings = new RecordingsSt(this)
|
|
127
163
|
this.identities = new IdentitiesSt(this)
|
|
128
164
|
this.inbox = new InboxSt(this)
|
|
@@ -131,7 +167,7 @@ export class HomeSt {
|
|
|
131
167
|
this.dock = new DockSt(this)
|
|
132
168
|
this.machine = o.home ? new MachineSt(this, o) : null
|
|
133
169
|
this.page = o.home ? 'overview' : 'repo'
|
|
134
|
-
makeAutoObservable<this, 'disposers' | 'onUrl' | 'prefetching' | 'base'>(this, { base: false, machine: false, projects: false, planned: false, activity: false, insights: false, recordings: false, identities: false, inbox: false, palette: false, layout: false, theme: false, frames: false, dock: false, repos: observableShallow, disposers: false, onUrl: false, prefetching: false })
|
|
170
|
+
makeAutoObservable<this, 'disposers' | 'onUrl' | 'prefetching' | 'base'>(this, { base: false, machine: false, projects: false, planned: false, activity: false, insights: false, time: false, machines: false, database: false, vault: false, space: false, recordings: false, identities: false, inbox: false, palette: false, layout: false, theme: false, frames: false, urls: false, dock: false, panes: false, repos: observableShallow, disposers: false, onUrl: false, prefetching: false })
|
|
135
171
|
const m = this.machine
|
|
136
172
|
if (m != null) {
|
|
137
173
|
this.projects.onSelect = (name) => this.select(name)
|
|
@@ -177,10 +213,16 @@ export class HomeSt {
|
|
|
177
213
|
|
|
178
214
|
get title(): string {
|
|
179
215
|
if (this.page === 'overview') return 'home'
|
|
216
|
+
if (this.page === 'wiki') return 'wiki'
|
|
180
217
|
if (this.page === 'inbox') return this.inbox.count > 0 ? `inbox · ${this.inbox.count}` : 'inbox'
|
|
181
218
|
if (this.page === 'planned') return 'planned'
|
|
182
219
|
if (this.page === 'activity') return 'activity'
|
|
183
220
|
if (this.page === 'insights') return 'insights'
|
|
221
|
+
if (this.page === 'machines') return 'machines'
|
|
222
|
+
if (this.page === 'database') return 'database'
|
|
223
|
+
if (this.page === 'vault') return 'vault'
|
|
224
|
+
if (this.page === 'space') return 'space'
|
|
225
|
+
if (this.page === 'time') return this.time.scope === 'all' ? 'time' : `time · ${this.time.scope}`
|
|
184
226
|
if (this.page === 'recordings') return this.recordings.current?.name ?? 'recordings'
|
|
185
227
|
if (this.page === 'identities') return this.identities.shown?.name ?? 'identities'
|
|
186
228
|
if (this.page === 'archived') return 'archived'
|
|
@@ -188,6 +230,29 @@ export class HomeSt {
|
|
|
188
230
|
return r == null || r.name === '' ? 'hub' : `${r.name} · hub`
|
|
189
231
|
}
|
|
190
232
|
|
|
233
|
+
/** the wiki page an address asked for, until the house repo stands to open it */
|
|
234
|
+
wikiAsked: string | null = null
|
|
235
|
+
|
|
236
|
+
/** the repo that holds the house wiki, once built: the wiki page shows its wikis, never its page */
|
|
237
|
+
get wikiRepo(): RepoSt | null {
|
|
238
|
+
const h = this.projects.house
|
|
239
|
+
return h == null ? null : (this.repos.get(h) ?? null)
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
/** the page the wiki page shows, in its address (`/wiki#<page>`): a reload reopens it */
|
|
243
|
+
get wikiAddress(): string {
|
|
244
|
+
const id = this.wikiRepo?.wiki.page?.id
|
|
245
|
+
return id == null ? PLACE_PATH.wiki : `${PLACE_PATH.wiki}#${encodeURIComponent(id)}`
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
/** the house repo's state for the wiki page, built once the daemon names it, its hub asked to load */
|
|
249
|
+
private openWiki(): void {
|
|
250
|
+
const h = this.projects.house
|
|
251
|
+
if (h == null) return
|
|
252
|
+
this.repo(h)
|
|
253
|
+
if (this.machine?.data != null) void this.machine.hub(h, 'ensure')
|
|
254
|
+
}
|
|
255
|
+
|
|
191
256
|
/** the repo of this key, built on its first visit and never again */
|
|
192
257
|
repo(key: string): RepoSt {
|
|
193
258
|
let r = this.repos.get(key)
|
|
@@ -210,6 +275,21 @@ export class HomeSt {
|
|
|
210
275
|
// the embed page shows one repo's page alone: no dock, so no request for the house's runs
|
|
211
276
|
if (this.base === undefined) this.dock.boot()
|
|
212
277
|
this.disposers.push(reaction(() => this.title, (t) => { document.title = t }, { fireImmediately: true }))
|
|
278
|
+
// the wiki page waits for the daemon to name the house repo, on a reload of /wiki
|
|
279
|
+
this.disposers.push(reaction(() => (this.page === 'wiki' ? this.projects.house : null), (h) => {
|
|
280
|
+
if (h == null) return
|
|
281
|
+
this.openWiki()
|
|
282
|
+
this.wake()
|
|
283
|
+
}, { fireImmediately: true }))
|
|
284
|
+
// the page the address asked for opens once the house repo stands; then the address follows the open page
|
|
285
|
+
this.disposers.push(reaction(() => (this.page === 'wiki' && this.wikiAsked != null ? this.wikiRepo : null), (r) => {
|
|
286
|
+
if (r == null || this.wikiAsked == null) return
|
|
287
|
+
r.wiki.want(this.wikiAsked)
|
|
288
|
+
this.wikiAsked = null
|
|
289
|
+
}, { fireImmediately: true }))
|
|
290
|
+
this.disposers.push(reaction(() => (this.page === 'wiki' && this.wikiAsked == null && this.wikiRepo?.wiki.page != null ? this.wikiAddress : null), (a) => {
|
|
291
|
+
if (a != null && `${location.pathname}${location.hash}` !== a) history.replaceState(history.state, '', a)
|
|
292
|
+
}))
|
|
213
293
|
// the shipkit app's Dock badge and notifications: the home's whole house count, a no-op in a browser tab
|
|
214
294
|
if (this.machine != null) {
|
|
215
295
|
this.disposers.push(startAppBridge({
|
|
@@ -248,13 +328,22 @@ export class HomeSt {
|
|
|
248
328
|
const from = this.page === 'repo' ? this.shown : null
|
|
249
329
|
const to = this.repo(name)
|
|
250
330
|
const want = from == null || from === to ? null : sectionOfRepo(from)
|
|
251
|
-
if (want != null && sectionOfRepo(to) !== want)
|
|
252
|
-
const known = to.cols.loaded || to.cols.cached
|
|
253
|
-
openSection(to, known && !repoSections(to).some((s) => s.id === want && s.opens) ? 'readme' : want)
|
|
254
|
-
}
|
|
331
|
+
if (want != null && sectionOfRepo(to) !== want) this.openIn(to, want)
|
|
255
332
|
this.show('repo', name, 'push')
|
|
256
333
|
}
|
|
257
334
|
|
|
335
|
+
/** a section of a repo, or its README when that repo is known not to open it */
|
|
336
|
+
private openIn(to: RepoSt, id: SectionId): void {
|
|
337
|
+
const known = to.cols.loaded || to.cols.cached
|
|
338
|
+
openSection(to, known && !repoSections(to).some((s) => s.id === id && s.opens) ? 'readme' : id)
|
|
339
|
+
}
|
|
340
|
+
|
|
341
|
+
/** a page of a repo: in place, as one history entry. A page that repo does not open gives its README */
|
|
342
|
+
openPage(repo: string, id: SectionId): void {
|
|
343
|
+
this.openIn(this.repo(repo), id)
|
|
344
|
+
this.show('repo', repo, 'push')
|
|
345
|
+
}
|
|
346
|
+
|
|
258
347
|
/** a check: its own page in its repo, in place. The selection is written
|
|
259
348
|
* before the repo is shown, so the one history entry already names it */
|
|
260
349
|
openCheck(repo: string, check: string): void {
|
|
@@ -267,6 +356,18 @@ export class HomeSt {
|
|
|
267
356
|
this.show('repo', repo, 'push')
|
|
268
357
|
}
|
|
269
358
|
|
|
359
|
+
/** a url of a repo: framed on its urls page, in place, as one history entry */
|
|
360
|
+
openUrl(repo: string, id: string): void {
|
|
361
|
+
this.repo(repo).showUrls(id)
|
|
362
|
+
this.show('repo', repo, 'push')
|
|
363
|
+
}
|
|
364
|
+
|
|
365
|
+
/** a global process of a repo: its card on the repo's processes page, in place, as one history entry */
|
|
366
|
+
openProcess(repo: string, id: string): void {
|
|
367
|
+
this.repo(repo).showProcesses(id)
|
|
368
|
+
this.show('repo', repo, 'push')
|
|
369
|
+
}
|
|
370
|
+
|
|
270
371
|
/** the cards that wait on the owner in a repo: its review page in place, on the
|
|
271
372
|
* first one, the list on the owner's move */
|
|
272
373
|
openReview(repo: string, card: string | null): void {
|
|
@@ -280,7 +381,12 @@ export class HomeSt {
|
|
|
280
381
|
const r = routeOf(u.pathname)
|
|
281
382
|
if (r.page === 'planned') this.planned.query = u.searchParams.get('q') ?? ''
|
|
282
383
|
if (r.page === 'inbox') this.inbox.fromSearch(u.search)
|
|
384
|
+
if (r.page === 'inbox') this.inbox.fromHash(u.hash)
|
|
283
385
|
if (r.page === 'recordings') this.recordings.fromHash(u.hash)
|
|
386
|
+
if (r.page === 'time') this.time.fromHash(u.hash)
|
|
387
|
+
if (r.page === 'database') this.database.fromHash(u.hash)
|
|
388
|
+
if (r.page === 'vault') this.vault.fromHash(u.hash)
|
|
389
|
+
if (r.page === 'space') this.space.fromHash(u.hash)
|
|
284
390
|
this.show(r.page, r.repo, 'push')
|
|
285
391
|
}
|
|
286
392
|
|
|
@@ -314,11 +420,21 @@ export class HomeSt {
|
|
|
314
420
|
// on a phone the home opens on the inbox
|
|
315
421
|
if (r.page === 'overview' && this.inbox.phone && location.search === '') return this.show('inbox', null, 'replace')
|
|
316
422
|
if (r.page === 'inbox') this.inbox.fromSearch(location.search)
|
|
423
|
+
if (r.page === 'inbox') this.inbox.fromHash(location.hash)
|
|
317
424
|
if (r.page === 'planned') this.planned.query = new URLSearchParams(location.search).get('q') ?? ''
|
|
318
425
|
if (r.page === 'identities') this.identities.select(parseIdentityHash(location.hash))
|
|
319
426
|
if (r.page === 'recordings') this.recordings.fromHash(location.hash)
|
|
427
|
+
if (r.page === 'time') this.time.fromHash(location.hash)
|
|
428
|
+
if (r.page === 'database') this.database.fromHash(location.hash)
|
|
429
|
+
if (r.page === 'vault') this.vault.fromHash(location.hash)
|
|
430
|
+
if (r.page === 'space') this.space.fromHash(location.hash)
|
|
431
|
+
if (r.page === 'wiki' && location.hash.length > 1) this.wikiAsked = decodeURIComponent(location.hash.slice(1))
|
|
320
432
|
if (r.page === 'repo') this.repo(r.repo!).filter = parseFilter(location.search)
|
|
321
433
|
this.show(r.page, r.repo, 'none')
|
|
434
|
+
// a bare `/database` opens the entry this viewer left: the address says which
|
|
435
|
+
if (r.page === 'database' && `${location.pathname}${location.hash}` !== this.database.address) history.replaceState(history.state, '', this.database.address)
|
|
436
|
+
// a bare `/inbox` shows the filters this browser kept: the address says which
|
|
437
|
+
if (r.page === 'inbox' && `${location.pathname}${location.search}${location.hash}` !== this.inbox.address) history.replaceState(history.state, '', this.inbox.address)
|
|
322
438
|
this.shown?.applyHash()
|
|
323
439
|
}
|
|
324
440
|
|
|
@@ -329,8 +445,14 @@ export class HomeSt {
|
|
|
329
445
|
const prevPage = this.page
|
|
330
446
|
const next = page === 'repo' && repo != null ? this.repo(repo) : null
|
|
331
447
|
// the page already shown is never a second history entry
|
|
332
|
-
if (how === 'push' && page === this.page && next === prev && page !== 'planned' && page !== 'inbox' && page !== 'identities' && page !== 'recordings') how = 'none'
|
|
448
|
+
if (how === 'push' && page === this.page && next === prev && page !== 'planned' && page !== 'inbox' && page !== 'identities' && page !== 'recordings' && page !== 'vault' && page !== 'space') how = 'none'
|
|
449
|
+
// the vault on the entry it already shows is never a second entry; from another entry, its names are one
|
|
450
|
+
if (how === 'push' && page === 'vault' && prevPage === 'vault' && `${location.pathname}${location.hash}` === this.vault.address) how = 'none'
|
|
451
|
+
if (how === 'push' && page === 'space' && prevPage === 'space' && `${location.pathname}${location.hash}` === this.space.address) how = 'none'
|
|
333
452
|
if (prev != null && prev !== next) prev.pause()
|
|
453
|
+
// the house repo polls for the wiki page alone: it rests once the page leaves, unless it is the repo shown next
|
|
454
|
+
if (prevPage === 'wiki' && page !== 'wiki' && this.wikiRepo != null && this.wikiRepo !== next) this.wikiRepo.pause()
|
|
455
|
+
if (page === 'wiki') this.openWiki()
|
|
334
456
|
next?.markSeen()
|
|
335
457
|
this.page = page
|
|
336
458
|
// a global page is no repo's: the repo picked last stays selected
|
|
@@ -339,7 +461,7 @@ export class HomeSt {
|
|
|
339
461
|
this.projects.away = next == null
|
|
340
462
|
this.projects.place = page === 'repo' || page === 'archived' || page === 'identities' ? null : page
|
|
341
463
|
if (how !== 'none') {
|
|
342
|
-
const to = next != null ? `${repoPage(next.key)}${next.search}${next.hash}` : page === 'planned' ? this.planned.address : page === 'inbox' ?
|
|
464
|
+
const to = next != null ? `${repoPage(next.key)}${next.search}${next.hash}` : page === 'planned' ? this.planned.address : page === 'inbox' ? this.inbox.address : page === 'identities' ? identityAddress(this.identities.sel) : page === 'recordings' ? this.recordings.address : page === 'time' ? this.time.address : page === 'database' ? this.database.address : page === 'vault' ? this.vault.address : page === 'space' ? this.space.address : page === 'wiki' ? this.wikiAddress : page === 'activity' || page === 'insights' || page === 'machines' || page === 'archived' ? PLACE_PATH[page] : '/'
|
|
343
465
|
// the identity view picked again is never a second entry
|
|
344
466
|
if (how === 'push' && page === 'identities' && prevPage === 'identities' && `${location.pathname}${location.hash}` === to) how = 'none'
|
|
345
467
|
// a walk with the arrows is one entry, so back returns to where it started
|
|
@@ -351,7 +473,16 @@ export class HomeSt {
|
|
|
351
473
|
}
|
|
352
474
|
if (page === 'planned') this.planned.start()
|
|
353
475
|
else this.planned.stop()
|
|
476
|
+
if (page === 'machines') this.machines.start()
|
|
477
|
+
else this.machines.stop()
|
|
478
|
+
if (page === 'database') this.database.start()
|
|
479
|
+
else this.database.stop()
|
|
480
|
+
if (page === 'vault') this.vault.start()
|
|
481
|
+
else this.vault.stop()
|
|
482
|
+
if (page === 'space') this.space.start()
|
|
483
|
+
else this.space.stop()
|
|
354
484
|
if (page === 'insights' && prevPage !== 'insights') this.insights.start()
|
|
485
|
+
if (page === 'time' && prevPage !== 'time') this.time.start()
|
|
355
486
|
if (page === 'recordings' && prevPage !== 'recordings') this.recordings.start()
|
|
356
487
|
if (page !== 'recordings' && prevPage === 'recordings') this.recordings.stop()
|
|
357
488
|
if (page === 'identities' && prevPage !== 'identities') this.identities.start()
|
|
@@ -366,7 +497,7 @@ export class HomeSt {
|
|
|
366
497
|
/** the shown repo polls once its hub answers, or at once on a hub of its
|
|
367
498
|
* own. One that started keeps going when its hub goes away, and says so */
|
|
368
499
|
wake(): void {
|
|
369
|
-
const r = this.shown
|
|
500
|
+
const r = this.shown ?? (this.page === 'wiki' ? this.wikiRepo : null)
|
|
370
501
|
if (r == null) return
|
|
371
502
|
if (this.machine == null || r.started || (this.machine.fresh && this.machine.worker(r.key)?.status === 'up')) r.resume()
|
|
372
503
|
}
|
|
@@ -1,16 +1,5 @@
|
|
|
1
1
|
/* the home's strip over a hub page, and the overview. hub.css owns every
|
|
2
2
|
token and the base controls: no colour is written here. */
|
|
3
|
-
.hstrip{display:flex;align-items:center;flex-wrap:nowrap;gap:var(--s2);height:40px;flex:none;padding:0 var(--s3);border-bottom:1px solid var(--line);background:var(--bg-top);overflow:hidden;white-space:nowrap}
|
|
4
|
-
.hstrip .sp{flex:1}
|
|
5
|
-
.hplace{font-size:12px;font-weight:650;letter-spacing:.08em;text-transform:uppercase;color:var(--dim)}
|
|
6
|
-
/* the Mac this home runs on, and a link to each other Mac's home */
|
|
7
|
-
.hmacs{display:inline-flex;align-items:center;gap:var(--s1);flex:none}
|
|
8
|
-
.hmac{font-size:12px;font-weight:600;line-height:20px;padding:0 var(--s2);border:1px solid var(--line);border-radius:10px;color:var(--ink);text-decoration:none;white-space:nowrap}
|
|
9
|
-
.hmac.cur{color:var(--dim);border-color:transparent}
|
|
10
|
-
a.hmac:hover{border-color:var(--accent);color:var(--accent)}
|
|
11
|
-
.hrepo{display:inline-flex;align-items:center;gap:var(--s2);min-width:0;flex:0 1 auto}
|
|
12
|
-
.hrepo img,.hrico{flex:none;width:18px;height:18px;border-radius:4px;object-fit:contain}
|
|
13
|
-
.hrname{font-size:13px;font-weight:650;letter-spacing:.04em;min-width:0;overflow:hidden;text-overflow:ellipsis}
|
|
14
3
|
/* trouble, as cards (float-cards.tsx), never taking room, so one coming or
|
|
15
4
|
going moves nothing: at the top right, in a zero height box right after
|
|
16
5
|
the bar, so just under it whatever its height. The words wrap, never cut */
|
|
@@ -139,10 +128,6 @@ a.hmac:hover{border-color:var(--accent);color:var(--accent)}
|
|
|
139
128
|
only start (stop) stays, the label taking what is left */
|
|
140
129
|
@container (max-width:440px){.c-gpstate,.gpstate,.c-gpb.act,.gpb.act,.c-gpb.take,.gpb.take,.c-gpb.restart,.gpb.restart{display:none}.gptable .c-name{width:64px}.c-gpname{width:auto}}
|
|
141
130
|
.hsec{min-width:0}
|
|
142
|
-
.hsec h2{display:flex;align-items:center;gap:var(--s2);height:28px;margin:0 0 var(--s2);padding-bottom:var(--s1);border-bottom:1px solid var(--line);
|
|
143
|
-
font-size:12px;letter-spacing:.14em;text-transform:uppercase;color:var(--dim);font-weight:600}
|
|
144
|
-
.hsec h2 .sp{flex:1}
|
|
145
|
-
.hsec h2 button{letter-spacing:0;text-transform:none}
|
|
146
131
|
.hico{flex:none;color:var(--accent)}
|
|
147
132
|
.hrow .sp{flex:1}
|
|
148
133
|
.hrow{display:flex;flex-wrap:wrap;align-items:center;gap:var(--s2);padding:var(--s1) 0;border-bottom:1px solid var(--line)}
|
|
@@ -161,14 +146,10 @@ a.hmac:hover{border-color:var(--accent);color:var(--accent)}
|
|
|
161
146
|
/* a process card on the processes page: the menu's two panels at page width */
|
|
162
147
|
.pdetail .hmacts{max-width:none}
|
|
163
148
|
.pdetail .hmabout{max-width:none;max-height:none}
|
|
164
|
-
.pdetail>.
|
|
165
|
-
.pdetail>.cstitle:first-child{margin-top:0}
|
|
149
|
+
.pdetail>.ch:not(:first-child){margin-top:var(--s2)}
|
|
166
150
|
.pdetail .hlog{margin-top:0}
|
|
167
|
-
/*
|
|
168
|
-
|
|
169
|
-
.
|
|
170
|
-
.
|
|
171
|
-
.
|
|
172
|
-
.hid.cur{--idr:var(--idc,var(--accent))}
|
|
173
|
-
.hidm{width:28px;height:28px;border-radius:50%;object-fit:cover;pointer-events:none;box-shadow:0 0 0 2px var(--idr)}
|
|
174
|
-
.hidi{display:grid;place-items:center;background:var(--idc,var(--dim));color:var(--bg);font-size:13px;font-weight:700;user-select:none}
|
|
151
|
+
/* a url no process serves, as a line of its repo's group (home-strip.tsx UrlLine); the frame link beside a url */
|
|
152
|
+
.gplabel .urlenv{flex:none}
|
|
153
|
+
.gplogins{color:var(--dim);font-size:12px}
|
|
154
|
+
.gphost a.gpframe{color:var(--dim);text-decoration:none}
|
|
155
|
+
.gphost a.gpframe:hover{color:var(--ink)}
|