rvlib-shipkit 2.29.0 → 2.30.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +20 -1
- package/package.json +2 -1
- package/src/advisors/app-graph.ts +1 -1
- package/src/advisors/expose.ts +5 -1
- package/src/advisors/r2.ts +7 -9
- package/src/advisors/routes.ts +29 -2
- package/src/advisors/scan.ts +11 -0
- package/src/agent-time/accounts-usage.ts +8 -0
- package/src/agent-time/claude-sessions.ts +32 -0
- package/src/agent-time/hooks.ts +1 -1
- package/src/agent-time/live.ts +5 -2
- package/src/agent-time/registry.ts +186 -89
- package/src/agent-time/store.ts +6 -4
- package/src/asks/ask-doc.ts +2 -2
- package/src/asks/ask-store.ts +22 -7
- package/src/check.ts +9 -1
- package/src/checks/SK001-package-json-shape.check.ts +1 -0
- package/src/checks/SK003-claude-md-shape.check.ts +1 -0
- package/src/checks/SK004-gitignore-policy.check.ts +12 -6
- package/src/checks/SK008-reviewer-agent.check.ts +4 -7
- package/src/checks/SK013-one-way-in-policy.check.ts +1 -0
- package/src/checks/SK017-vscode-hub-task.check.ts +1 -0
- package/src/checks/SK024-identity-colors.check.ts +1 -1
- package/src/checks/SK027-agent-wiki-links.check.ts +2 -1
- package/src/checks/SK033-global-contribution.check.ts +1 -0
- package/src/checks/SK034-commit-gates-armed.check.ts +1 -0
- package/src/checks/SK039-vscode-watch-generated.check.ts +1 -0
- package/src/checks/SK049-thread-answers-hook.check.ts +9 -5
- package/src/checks/SK050-retired-commands.check.ts +1 -0
- package/src/checks/SK051-no-formatter.check.ts +1 -0
- package/src/cli/channel-run.ts +17 -0
- package/src/cli/cmd_Advisors.ts +28 -7
- package/src/cli/cmd_Asks.ts +2 -2
- package/src/cli/cmd_Backup.ts +5 -1
- package/src/cli/cmd_CacheAudit.ts +1 -1
- package/src/cli/cmd_Channel.ts +43 -0
- package/src/cli/cmd_GlobalProcesses.ts +1 -0
- package/src/cli/cmd_Home.ts +12 -5
- package/src/cli/cmd_Hooks.ts +1 -1
- package/src/cli/cmd_Hq.ts +43 -0
- package/src/cli/cmd_Lanes.ts +15 -3
- package/src/cli/cmd_Media.ts +8 -3
- package/src/cli/cmd_Orchestrator.ts +253 -84
- package/src/cli/cmd_OrchestratorRole.ts +163 -0
- package/src/cli/cmd_Review.ts +142 -165
- package/src/cli/cmd_Secret.ts +44 -14
- package/src/cli/cmd_Shot.ts +2 -4
- package/src/cli/cmd_Sound.ts +1 -0
- package/src/cli/cmd_Urls.ts +3 -3
- package/src/cli/inbox-hook-run.ts +109 -0
- package/src/cli/registry.ts +6 -2
- package/src/cli/review-here.ts +136 -0
- package/src/cli.ts +45 -14
- package/src/collections/actions.ts +5 -4
- package/src/collections/checks.ts +5 -0
- package/src/collections/collection-types.ts +4 -3
- package/src/collections/pings.ts +4 -1
- package/src/collections/providers.ts +6 -4
- package/src/collections/tests.ts +7 -4
- package/src/core/app-icon-frame.ts +62 -0
- package/src/core/app-icon.ts +179 -17
- package/src/core/archived.ts +10 -7
- package/src/core/check-ctx.ts +38 -4
- package/src/core/check-pass.ts +7 -0
- package/src/core/foreign.ts +87 -0
- package/src/core/gui-color.ts +75 -0
- package/src/core/hub-theme.ts +1 -3
- package/src/core/layout.ts +3 -0
- package/src/core/machine-commit.ts +9 -1
- package/src/core/one-lib.ts +2 -1
- package/src/core/one-way-in-policy.ts +17 -12
- package/src/core/owner-word-policy.ts +123 -0
- package/src/core/panel-shades.ts +140 -0
- package/src/core/repo-gui-color.ts +16 -0
- package/src/core/role-policy.ts +17 -0
- package/src/core/scope.ts +6 -3
- package/src/core/tmux-policy.ts +264 -0
- package/src/core/unit-icon.ts +43 -0
- package/src/fleet/push-fleet.ts +2 -0
- package/src/fleet/scan-fleet.ts +3 -0
- package/src/gate/cache-audit.ts +7 -1
- package/src/gate/gate-checks.ts +14 -9
- package/src/gate/run-fix.ts +30 -5
- package/src/gate/run-fixers.ts +8 -3
- package/src/home/activity-shape.ts +2 -0
- package/src/home/activity.ts +2 -1
- package/src/home/daemon-guard.ts +20 -2
- package/src/home/daemon-jobs.ts +26 -18
- package/src/home/gui-app/ShipkitGui.swift +2012 -144
- package/src/home/gui-app/icon.svg +8 -0
- package/src/home/gui-app.ts +94 -30
- package/src/home/home-routes.ts +53 -9
- package/src/home/home-start.ts +27 -3
- package/src/home/inbox-shape.ts +7 -3
- package/src/home/log-follow.ts +117 -0
- package/src/home/machine-fold.ts +1 -1
- package/src/home/open-app.ts +9 -3
- package/src/home/page-build.ts +5 -1
- package/src/home/page-held.ts +1 -1
- package/src/home/pm-config.ts +0 -8
- package/src/home/pm.ts +62 -5
- package/src/home/process-apps.ts +70 -23
- package/src/home/process-rows.ts +16 -1
- package/src/home/push-sources.ts +18 -13
- package/src/home/resources.ts +16 -7
- package/src/home/run-daemon.ts +4 -1
- package/src/home/run-pm.ts +1 -1
- package/src/home/serve-daemon.ts +13 -4
- package/src/home/serve-web.ts +141 -17
- package/src/home/space-page.ts +3 -3
- package/src/home/space-route.ts +2 -2
- package/src/home/supervise.ts +2 -1
- package/src/home/vault-page.ts +2 -1
- package/src/home/web-places.ts +239 -0
- package/src/home/widgets.ts +16 -2
- package/src/hooks/commit-message.ts +11 -9
- package/src/hooks/one-way-in-guard.ts +145 -68
- package/src/hooks/run-hooks.ts +15 -5
- package/src/hooks/shared-file.ts +273 -83
- package/src/hooks/shell-writes.ts +620 -0
- package/src/hooks/write-log.ts +149 -0
- package/src/hq/door-route.ts +63 -7
- package/src/hq/door.ts +45 -12
- package/src/hq/history-send.ts +3 -1
- package/src/hq/hq-db.ts +10 -3
- package/src/hq/hq-local.ts +24 -5
- package/src/hq/hq-routes.ts +3 -1
- package/src/hq/hq-store.ts +9 -3
- package/src/hq/kinds/index.ts +2 -1
- package/src/hq/kinds/kind.ts +9 -4
- package/src/hq/kinds/presence-rule.ts +56 -0
- package/src/hq/kinds/presence.ts +210 -0
- package/src/hq/kinds/report.ts +8 -5
- package/src/hq/lead-order.ts +68 -0
- package/src/hq/outbox.ts +7 -0
- package/src/hq/replica.ts +5 -7
- package/src/hq/report-facts.ts +14 -7
- package/src/hq/report.ts +47 -2
- package/src/hq/switch.ts +1 -0
- package/src/hq/terminal-hop.ts +64 -0
- package/src/hq/thread-sync.ts +13 -6
- package/src/http/door-forward.ts +10 -12
- package/src/http/door-names.ts +9 -0
- package/src/http/hop-caller.ts +23 -0
- package/src/http/hop-names.ts +14 -0
- package/src/http/loopback-serve.ts +28 -6
- package/src/http/owner-word.ts +128 -0
- package/src/http/same-origin.ts +12 -0
- package/src/{serve → http}/secret-gate.ts +3 -3
- package/src/ledger/run-log.ts +25 -1
- package/src/media-store/backup/sources.ts +53 -6
- package/src/media-store/backup/thread-copy.ts +9 -5
- package/src/media-store/copy/config.ts +10 -9
- package/src/media-store/daemon.ts +5 -2
- package/src/media-store/put.ts +3 -0
- package/src/media-store/space.ts +14 -16
- package/src/media-store/upload.ts +4 -0
- package/src/messages/collection.ts +2 -2
- package/src/messages/model.ts +6 -1
- package/src/messages/routes.ts +3 -0
- package/src/orchestrator/brief.md +8 -6
- package/src/orchestrator/channel-declare.ts +58 -0
- package/src/orchestrator/channel.ts +226 -0
- package/src/orchestrator/guards.ts +12 -3
- package/src/orchestrator/host.ts +35 -0
- package/src/orchestrator/lead-shape.ts +86 -0
- package/src/orchestrator/now.ts +88 -0
- package/src/orchestrator/phone.ts +4 -1
- package/src/orchestrator/places-file.ts +38 -0
- package/src/orchestrator/places-look.ts +180 -0
- package/src/orchestrator/places-shape.ts +151 -0
- package/src/orchestrator/places.ts +50 -0
- package/src/orchestrator/presence-shape.ts +13 -2
- package/src/orchestrator/presence.ts +26 -15
- package/src/orchestrator/push.ts +5 -10
- package/src/orchestrator/role-shape.ts +270 -0
- package/src/orchestrator/role.ts +242 -0
- package/src/orchestrator/routes.ts +136 -31
- package/src/orchestrator/sessions-shape.ts +78 -0
- package/src/orchestrator/sessions.ts +86 -0
- package/src/orchestrator/share.ts +71 -0
- package/src/orchestrator/start-notice.ts +61 -0
- package/src/orchestrator/start.ts +137 -0
- package/src/orchestrator/started.ts +55 -0
- package/src/orchestrator/stuck.ts +196 -0
- package/src/orchestrator/unheard.ts +18 -7
- package/src/pages/frame-client.ts +44 -6
- package/src/problems/failure-words.ts +80 -0
- package/src/release/run-bump.ts +26 -5
- package/src/release/run-release.ts +34 -14
- package/src/repo-config.ts +37 -9
- package/src/review/aside-at.ts +19 -0
- package/src/review/band.ts +3 -3
- package/src/review/doc-save.ts +1 -1
- package/src/review/inbox-hook.ts +12 -4
- package/src/review/inbox-read.ts +20 -7
- package/src/review/instruction-guards.ts +137 -0
- package/src/review/instructions.ts +14 -2
- package/src/review/item-db.ts +52 -2
- package/src/review/mentions.ts +6 -4
- package/src/review/model.ts +3 -2
- package/src/review/parties.ts +88 -19
- package/src/review/push.ts +32 -15
- package/src/review/routes.ts +12 -4
- package/src/review/secret-route.ts +5 -5
- package/src/review/snooze.ts +1 -16
- package/src/review/store-parties.ts +4 -2
- package/src/review/take-back.ts +2 -1
- package/src/review/threads.ts +13 -2
- package/src/review/unit.ts +3 -2
- package/src/review/view-layout.ts +8 -1
- package/src/review/watchers.ts +25 -4
- package/src/secrets/key-pair.ts +14 -0
- package/src/secrets/lapse.ts +3 -3
- package/src/secrets/manager.ts +5 -1
- package/src/secrets/name-template.ts +83 -0
- package/src/secrets/name.ts +3 -0
- package/src/secrets/read.ts +10 -6
- package/src/secrets/secrets-view.ts +299 -0
- package/src/secrets/who-reads.ts +2 -1
- package/src/serve/frame-part.ts +49 -0
- package/src/serve/hub-app/accounts-line.tsx +33 -45
- package/src/serve/hub-app/activity-st.ts +6 -5
- package/src/serve/hub-app/activity-view.tsx +10 -9
- package/src/serve/hub-app/advice-box.tsx +6 -5
- package/src/serve/hub-app/advisor-app.tsx +2 -0
- package/src/serve/hub-app/advisor-face.tsx +3 -2
- package/src/serve/hub-app/advisor.html +1 -0
- package/src/serve/hub-app/advisors-view.tsx +52 -10
- package/src/serve/hub-app/advisors.css +4 -0
- package/src/serve/hub-app/app-bridge.ts +31 -5
- package/src/serve/hub-app/asked-page.ts +24 -0
- package/src/serve/hub-app/asks-page.tsx +10 -6
- package/src/serve/hub-app/auto-text.tsx +7 -5
- package/src/serve/hub-app/card-head.tsx +3 -2
- package/src/serve/hub-app/check-view.tsx +10 -9
- package/src/serve/hub-app/checks-svc.ts +96 -32
- package/src/serve/hub-app/clock-svc.ts +24 -8
- package/src/serve/hub-app/code-copy.ts +1 -1
- package/src/serve/hub-app/col-card.tsx +2 -1
- package/src/serve/hub-app/col-list-page.tsx +12 -6
- package/src/serve/hub-app/col-list-st.ts +12 -2
- package/src/serve/hub-app/col-tables-view.tsx +8 -44
- package/src/serve/hub-app/col-tables.ts +0 -14
- package/src/serve/hub-app/cols-svc.ts +6 -12
- package/src/serve/hub-app/columns.ts +94 -0
- package/src/serve/hub-app/comfy-view.tsx +8 -7
- package/src/serve/hub-app/commands/commands-page.tsx +4 -3
- package/src/serve/hub-app/commands/commands-st.ts +2 -2
- package/src/serve/hub-app/controls.css +69 -23
- package/src/serve/hub-app/cycle-button.tsx +2 -1
- package/src/serve/hub-app/database-st.ts +1 -1
- package/src/serve/hub-app/database-view.tsx +4 -2
- package/src/serve/hub-app/deaf.tsx +27 -0
- package/src/serve/hub-app/dock-st.ts +21 -16
- package/src/serve/hub-app/dock-view.tsx +19 -12
- package/src/serve/hub-app/empty-section.tsx +30 -0
- package/src/serve/hub-app/entry-bar.css +1 -1
- package/src/serve/hub-app/entry-bar.tsx +11 -6
- package/src/serve/hub-app/entry-list.css +32 -0
- package/src/serve/hub-app/entry-list.tsx +123 -0
- package/src/serve/hub-app/entry-pick.ts +1 -1
- package/src/serve/hub-app/entry-sections.ts +140 -0
- package/src/serve/hub-app/event-stream-reader.ts +56 -0
- package/src/serve/hub-app/floating.tsx +68 -14
- package/src/serve/hub-app/geometry-view.tsx +3 -2
- package/src/serve/hub-app/git-view.tsx +3 -2
- package/src/serve/hub-app/hash-route.ts +14 -2
- package/src/serve/hub-app/header-bar.tsx +53 -36
- package/src/serve/hub-app/home-st.ts +131 -14
- package/src/serve/hub-app/home-strip.css +24 -13
- package/src/serve/hub-app/home-strip.tsx +131 -66
- package/src/serve/hub-app/home.html +5 -0
- package/src/serve/hub-app/hub-app.tsx +94 -102
- package/src/serve/hub-app/hub.css +61 -94
- package/src/serve/hub-app/icons.tsx +16 -0
- package/src/serve/hub-app/identities-st.ts +19 -54
- package/src/serve/hub-app/identities-view.tsx +25 -24
- package/src/serve/hub-app/identity-address.ts +2 -2
- package/src/serve/hub-app/in-sight.ts +10 -0
- package/src/serve/hub-app/inbox-st.ts +20 -2
- package/src/serve/hub-app/inbox-view.tsx +16 -9
- package/src/serve/hub-app/inbox.css +1 -0
- package/src/serve/hub-app/index.html +5 -0
- package/src/serve/hub-app/insights-view.tsx +6 -5
- package/src/serve/hub-app/instructions.css +4 -1
- package/src/serve/hub-app/kept-cols.tsx +83 -20
- package/src/serve/hub-app/kept-width.tsx +76 -0
- package/src/serve/hub-app/keys.ts +116 -38
- package/src/serve/hub-app/layout-st.ts +109 -99
- package/src/serve/hub-app/lightbox-zoom.css +36 -0
- package/src/serve/hub-app/list-filter.tsx +15 -6
- package/src/serve/hub-app/list-head.tsx +29 -0
- package/src/serve/hub-app/list-row.ts +8 -0
- package/src/serve/hub-app/list-walk.ts +26 -105
- package/src/serve/hub-app/live-socket.ts +274 -0
- package/src/serve/hub-app/live-sources.ts +189 -0
- package/src/serve/hub-app/live-svc.ts +2 -2
- package/src/serve/hub-app/machine-st.ts +75 -14
- package/src/serve/hub-app/main-panel.css +211 -0
- package/src/serve/hub-app/main-panel.tsx +259 -0
- package/src/serve/hub-app/md.ts +4 -4
- package/src/serve/hub-app/media-svc.ts +5 -5
- package/src/serve/hub-app/media-view.tsx +13 -12
- package/src/serve/hub-app/messages/messages-page.tsx +8 -7
- package/src/serve/hub-app/messages/messages-st.ts +5 -2
- package/src/serve/hub-app/new-thread-st.ts +170 -0
- package/src/serve/hub-app/new-thread.tsx +133 -107
- package/src/serve/hub-app/orchestrator-line.tsx +115 -45
- package/src/serve/hub-app/orchestrator-places.tsx +86 -0
- package/src/serve/hub-app/orchestrator.css +57 -5
- package/src/serve/hub-app/page-keys.ts +107 -68
- package/src/serve/hub-app/page-reload.ts +46 -6
- package/src/serve/hub-app/pages-frames.tsx +40 -3
- package/src/serve/hub-app/pages-svc.ts +3 -1
- package/src/serve/hub-app/palette-st.ts +198 -43
- package/src/serve/hub-app/palette-view.tsx +32 -8
- package/src/serve/hub-app/panel-head-action.tsx +39 -0
- package/src/serve/hub-app/panel-head.tsx +70 -0
- package/src/serve/hub-app/panel-repo.ts +42 -0
- package/src/serve/hub-app/panel-source.ts +195 -0
- package/src/serve/hub-app/panel-tint.css +6 -0
- package/src/serve/hub-app/panel-tint.ts +23 -0
- package/src/serve/hub-app/panel-walk.ts +107 -0
- package/src/serve/hub-app/pill-row.tsx +2 -1
- package/src/serve/hub-app/place-path.ts +4 -0
- package/src/serve/hub-app/places-svc.ts +75 -0
- package/src/serve/hub-app/plan-view.tsx +3 -2
- package/src/serve/hub-app/polled.ts +11 -1
- package/src/serve/hub-app/presence-st.ts +66 -32
- package/src/serve/hub-app/processes-view.tsx +2 -2
- package/src/serve/hub-app/project-bar.tsx +116 -0
- package/src/serve/hub-app/project-list.css +20 -173
- package/src/serve/hub-app/project-list.tsx +30 -298
- package/src/serve/hub-app/projects-svc.ts +59 -32
- package/src/serve/hub-app/push-sign.tsx +2 -1
- package/src/serve/hub-app/push-svc.ts +86 -69
- package/src/serve/hub-app/quiet-st.ts +5 -3
- package/src/serve/hub-app/rail-groups.ts +144 -0
- package/src/serve/hub-app/reader-chips.tsx +2 -1
- package/src/serve/hub-app/recordings-st.ts +2 -1
- package/src/serve/hub-app/recordings-view.tsx +19 -47
- package/src/serve/hub-app/recordings.css +0 -2
- package/src/serve/hub-app/reflections-page.tsx +10 -6
- package/src/serve/hub-app/releases/releases-page.tsx +6 -5
- package/src/serve/hub-app/repo-sections.ts +127 -38
- package/src/serve/hub-app/repo-st.ts +57 -36
- package/src/serve/hub-app/review/advisor-bar.tsx +3 -2
- package/src/serve/hub-app/review/ask-proof.tsx +79 -0
- package/src/serve/hub-app/review/attach-view.tsx +11 -10
- package/src/serve/hub-app/review/box-view.ts +479 -0
- package/src/serve/hub-app/review/box-zoom.tsx +70 -0
- package/src/serve/hub-app/review/diff-view.tsx +3 -2
- package/src/serve/hub-app/review/doc-body.tsx +2 -1
- package/src/serve/hub-app/review/dock.tsx +3 -2
- package/src/serve/hub-app/review/draft-body.tsx +4 -3
- package/src/serve/hub-app/review/faces.tsx +0 -8
- package/src/serve/hub-app/review/group-block.tsx +8 -7
- package/src/serve/hub-app/review/heard-line.tsx +4 -3
- package/src/serve/hub-app/review/instructions-view.tsx +3 -2
- package/src/serve/hub-app/review/item-verdict.tsx +40 -40
- package/src/serve/hub-app/review/kind-states.tsx +5 -4
- package/src/serve/hub-app/review/kit.tsx +24 -4
- package/src/serve/hub-app/review/lane-bar.tsx +30 -28
- package/src/serve/hub-app/review/lightbox.tsx +6 -4
- package/src/serve/hub-app/review/live-bar.tsx +7 -6
- package/src/serve/hub-app/review/live-view.tsx +6 -5
- package/src/serve/hub-app/review/object-card.tsx +2 -1
- package/src/serve/hub-app/review/object-panel.tsx +11 -10
- package/src/serve/hub-app/review/pano-view.tsx +3 -2
- package/src/serve/hub-app/review/question-views.tsx +6 -5
- package/src/serve/hub-app/review/review-cells.tsx +21 -20
- package/src/serve/hub-app/review/review-host.ts +3 -0
- package/src/serve/hub-app/review/review-kit.ts +7 -5
- package/src/serve/hub-app/review/review-list.tsx +98 -52
- package/src/serve/hub-app/review/review-page.tsx +3 -3
- package/src/serve/hub-app/review/review-st.ts +70 -14
- package/src/serve/hub-app/review/review-thread.tsx +234 -138
- package/src/serve/hub-app/review/review-views.tsx +166 -191
- package/src/serve/hub-app/review/space3d.tsx +17 -9
- package/src/serve/hub-app/review/thread-close.tsx +24 -32
- package/src/serve/hub-app/review/thread-st.ts +39 -25
- package/src/serve/hub-app/review/trailer-body.tsx +5 -4
- package/src/serve/hub-app/review/trailer-page.tsx +18 -16
- package/src/serve/hub-app/review/trailer-st.ts +3 -2
- package/src/serve/hub-app/review/trailer-timeline.tsx +10 -9
- package/src/serve/hub-app/review/trailer-voices.tsx +29 -28
- package/src/serve/hub-app/review.css +159 -42
- package/src/serve/hub-app/row-acts.tsx +126 -0
- package/src/serve/hub-app/row-face.tsx +29 -0
- package/src/serve/hub-app/running-rows.tsx +142 -0
- package/src/serve/hub-app/running-st.ts +110 -0
- package/src/serve/hub-app/search-view.tsx +3 -2
- package/src/serve/hub-app/secrets-page.tsx +290 -0
- package/src/serve/hub-app/secrets-st.ts +181 -0
- package/src/serve/hub-app/secrets.css +65 -0
- package/src/serve/hub-app/section-head.tsx +3 -2
- package/src/serve/hub-app/session-chips.tsx +55 -0
- package/src/serve/hub-app/shell.ts +56 -0
- package/src/serve/hub-app/site/site-part.tsx +6 -5
- package/src/serve/hub-app/site/site-st.ts +0 -6
- package/src/serve/hub-app/site.css +0 -1
- package/src/serve/hub-app/social/calendar.tsx +7 -6
- package/src/serve/hub-app/social/comms-page.tsx +29 -26
- package/src/serve/hub-app/social/group-editor.tsx +2 -1
- package/src/serve/hub-app/social/kit.tsx +12 -11
- package/src/serve/hub-app/social/next-release.tsx +3 -2
- package/src/serve/hub-app/social/post-card.tsx +21 -20
- package/src/serve/hub-app/social/post-page.tsx +2 -1
- package/src/serve/hub-app/social/problems.tsx +3 -2
- package/src/serve/hub-app/social/social-page.tsx +29 -27
- package/src/serve/hub-app/social/social-st.ts +4 -2
- package/src/serve/hub-app/social/stage-popup.tsx +11 -10
- package/src/serve/hub-app/social.css +7 -5
- package/src/serve/hub-app/source-acts.ts +79 -0
- package/src/serve/hub-app/source-page.tsx +17 -0
- package/src/serve/hub-app/space-view.tsx +5 -4
- package/src/serve/hub-app/stores/stores-page.tsx +21 -19
- package/src/serve/hub-app/stores/stores-st.ts +1 -1
- package/src/serve/hub-app/stores.css +1 -1
- package/src/serve/hub-app/terminal-history-st.ts +112 -0
- package/src/serve/hub-app/terminal-keys.ts +79 -0
- package/src/serve/hub-app/terminal-lib.ts +110 -0
- package/src/serve/hub-app/terminal-links.ts +55 -0
- package/src/serve/hub-app/terminal-list-st.ts +304 -0
- package/src/serve/hub-app/terminal-log-st.ts +242 -0
- package/src/serve/hub-app/terminal-out.ts +135 -0
- package/src/serve/hub-app/terminal-pages.tsx +115 -0
- package/src/serve/hub-app/terminal-panel.tsx +60 -9
- package/src/serve/hub-app/terminal-sources.tsx +335 -0
- package/src/serve/hub-app/terminal-st.ts +447 -167
- package/src/serve/hub-app/terminal-stream.ts +233 -0
- package/src/serve/hub-app/terminal-tab.tsx +64 -0
- package/src/serve/hub-app/terminal-widths.ts +30 -0
- package/src/serve/hub-app/terminal.css +50 -4
- package/src/serve/hub-app/test-view.tsx +5 -3
- package/src/serve/hub-app/tests-view.tsx +16 -15
- package/src/serve/hub-app/theme-st.ts +5 -0
- package/src/serve/hub-app/thread-row.tsx +39 -31
- package/src/serve/hub-app/time-ago.tsx +3 -2
- package/src/serve/hub-app/time-view.tsx +2 -1
- package/src/serve/hub-app/time.css +1 -1
- package/src/serve/hub-app/timeline-chart.tsx +5 -4
- package/src/serve/hub-app/timeline-view.tsx +10 -9
- package/src/serve/hub-app/tips.ts +247 -0
- package/src/serve/hub-app/tree-build.ts +40 -8
- package/src/serve/hub-app/tree-svc.ts +167 -134
- package/src/serve/hub-app/unit-icons.ts +26 -0
- package/src/serve/hub-app/url-address.ts +154 -0
- package/src/serve/hub-app/url-faces.ts +88 -0
- package/src/serve/hub-app/url-forms.tsx +183 -0
- package/src/serve/hub-app/urls-svc.ts +167 -5
- package/src/serve/hub-app/urls-view.tsx +56 -20
- package/src/serve/hub-app/urls.css +26 -0
- package/src/serve/hub-app/vault-view.tsx +5 -4
- package/src/serve/hub-app/veille/veille-page.tsx +34 -33
- package/src/serve/hub-app/veille/veille-st.ts +6 -3
- package/src/serve/hub-app/view-layout.css +3 -3
- package/src/serve/hub-app/when-view.tsx +5 -4
- package/src/serve/hub-app/wikis-view.tsx +6 -5
- package/src/serve/hub-app/words.tsx +9 -2
- package/src/serve/hub-runtime.ts +3 -2
- package/src/serve/orchestrator-host.ts +58 -0
- package/src/serve/page-live.ts +147 -0
- package/src/serve/project-gutter-route.ts +63 -2
- package/src/serve/read-worker.ts +7 -2
- package/src/serve/runs-stamp.ts +33 -0
- package/src/serve/secrets-read.ts +156 -0
- package/src/serve/serve-hub.ts +71 -22
- package/src/serve/terminal-claudes.ts +185 -0
- package/src/serve/terminal-guard.ts +10 -5
- package/src/serve/terminal-host.ts +517 -0
- package/src/serve/terminal-record.ts +104 -0
- package/src/serve/terminal-route.ts +466 -103
- package/src/serve/terminal-shells.ts +3 -0
- package/src/serve/terminal-watch.ts +102 -0
- package/src/shipkit-files.ts +9 -4
- package/src/shot/client.ts +4 -9
- package/src/shot/shooter.ts +2 -4
- package/src/shot/shot-ask.ts +2 -7
- package/src/shot/shot-theme.ts +6 -17
- package/src/social/routes.ts +2 -2
- package/src/social/writes.ts +3 -0
- package/src/suite/test-units.ts +6 -2
- package/src/trailer/sound/eleven.ts +1 -0
- package/src/urls/added.ts +111 -0
- package/src/urls/icons.ts +294 -0
- package/src/urls/places.ts +139 -0
- package/src/urls/routes.ts +17 -7
- package/src/urls/rows.ts +48 -15
- package/src/urls/unit.ts +57 -3
- package/src/urls/write-routes.ts +207 -0
- package/src/vault/vault-destroy.ts +2 -1
- package/src/vault/vault-import.ts +4 -11
- package/src/vault/vault-restore.ts +3 -2
- package/src/veille/chrome.ts +18 -3
- package/src/veille/identity.ts +6 -0
- package/src/view3d/cam.ts +30 -46
- package/src/view3d/lib.ts +20 -2
- package/src/view3d/viewer.ts +62 -88
- package/src/wiki/agent-paths.ts +2 -1
- package/src/orchestrator/deliver.ts +0 -81
- package/src/orchestrator/drill.ts +0 -129
- package/src/orchestrator/keeper.ts +0 -332
- package/src/orchestrator/pm.ts +0 -20
- package/src/orchestrator/state.ts +0 -92
- package/src/orchestrator/switch.ts +0 -86
- package/src/orchestrator/tmux.ts +0 -82
- package/src/serve/hub-app/rail-fly.tsx +0 -95
- package/src/serve/hub-app/side-lists.ts +0 -72
- package/src/serve/hub-app/sidebar.tsx +0 -62
- package/src/serve/hub-app/tree-row.tsx +0 -125
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
// THE PROJECT BAR, the one thing the main app has that a project's app has not: one row above everything, the house
|
|
2
|
+
// first, then every repo's icon (its app mark, else its letter on its window colour), grouped by identity with a thin
|
|
3
|
+
// rule between the groups, the repo shown marked, what waits on the owner as a pill inside its tile. A tile says its
|
|
4
|
+
// name on hover at once; a click switches the project below it (the main panel, the list and the page are that
|
|
5
|
+
// project's), a double click opens its folder in VS Code, a drag reorders the list.
|
|
6
|
+
// ⌘1 to ⌘9 follow the bar's order (projects-svc.ts ordered). Many repos: the row scrolls sideways with no bar, the
|
|
7
|
+
// tile shown kept in view
|
|
8
|
+
import { observer } from 'mobx-react-lite'
|
|
9
|
+
import { useEffect, type CSSProperties } from 'react'
|
|
10
|
+
import { Tip } from './floating.tsx'
|
|
11
|
+
import { plainClick, type HomeSt } from './home-st.ts'
|
|
12
|
+
import { Icon, ICON } from './icons.tsx'
|
|
13
|
+
import { useInSight } from './in-sight.ts'
|
|
14
|
+
import { Face, RepoMark } from './project-list.tsx'
|
|
15
|
+
import { cardModel, faceOf, type Project, type ProjectsSvc } from './projects-svc.ts'
|
|
16
|
+
import { tip } from './tips.ts'
|
|
17
|
+
|
|
18
|
+
/** a tile's size in px: the icon on its plate */
|
|
19
|
+
const TILE = 28
|
|
20
|
+
|
|
21
|
+
/** a tile's hover, drawn only while it shows: the name, its key, what waits, the facts */
|
|
22
|
+
const TileTip = ({ p, n, warn }: { p: Project; n: number; warn: string | null }) => {
|
|
23
|
+
const face = faceOf(p)
|
|
24
|
+
const m = cardModel(p, Date.now())
|
|
25
|
+
return (
|
|
26
|
+
<>
|
|
27
|
+
<b>{p.name}</b>{n <= 9 ? <kbd className="pjkey">⌘{n}</kbd> : null}
|
|
28
|
+
{face.waits == null ? null : <div className="pbtip">{face.words}</div>}
|
|
29
|
+
{warn == null ? null : <div className="pbtip">{warn}</div>}
|
|
30
|
+
{m.head.branch == null ? null : <div className="pbtip">{m.head.branch}{m.head.version == null ? '' : ` · v${m.head.version.replace(/^v/, '')}`}</div>}
|
|
31
|
+
{m.needs?.gate == null ? null : <div className="pbtip red">{m.needs.gate}</div>}
|
|
32
|
+
{m.facts.map((f) => <div key={f.k} className="pbtip">{f.k} {f.v}</div>)}
|
|
33
|
+
</>
|
|
34
|
+
)
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
const RepoTile = observer(({ s, p, n }: { s: ProjectsSvc; p: Project; n: number }) => {
|
|
38
|
+
const face = faceOf(p)
|
|
39
|
+
const cur = !s.away && s.isCurrent(p)
|
|
40
|
+
const el = useInSight<HTMLButtonElement>(cur)
|
|
41
|
+
const i = s.list.indexOf(p)
|
|
42
|
+
const gap = s.shownGap
|
|
43
|
+
const edge = s.drag == null ? '' : gap === i ? ' dropb' : gap === i + 1 ? ' dropa' : ''
|
|
44
|
+
const dot = s.dotOf(p.name)
|
|
45
|
+
const warn = s.warnOf(p.name)
|
|
46
|
+
return (
|
|
47
|
+
<Tip className="pbcell" placement="bottom" instant content={<TileTip p={p} n={n} warn={warn} />}>
|
|
48
|
+
<button ref={el} type="button" draggable aria-label={p.name} aria-current={cur ? 'page' : undefined}
|
|
49
|
+
className={`pbtile${cur ? ' cur' : ''}${face.dim ? ' dim' : ''}${s.drag === p.name ? ' dragging' : ''}${edge}`}
|
|
50
|
+
style={{ '--plate': p.guiColor } as CSSProperties}
|
|
51
|
+
onClick={() => s.click(p.name)} onDoubleClick={() => s.doubleClick(p.name)}
|
|
52
|
+
onDragStart={(e) => { e.dataTransfer.effectAllowed = 'move'; e.dataTransfer.setData('text/plain', p.name); s.dragStart(p.name) }}
|
|
53
|
+
onDragOver={(e) => {
|
|
54
|
+
if (s.drag == null) return
|
|
55
|
+
e.preventDefault()
|
|
56
|
+
const r = e.currentTarget.getBoundingClientRect()
|
|
57
|
+
s.dragOver(i, e.clientX - r.left, r.width)
|
|
58
|
+
}}
|
|
59
|
+
onDrop={(e) => { e.preventDefault(); s.drop() }} onDragEnd={() => s.dragEnd()}>
|
|
60
|
+
<RepoMark p={p} px={TILE} />
|
|
61
|
+
{face.waits == null ? null : (
|
|
62
|
+
<b className={`pjpill${face.hot ? ' hot' : ''}`} aria-label={`${face.words}: open them`} onClick={(e) => { e.stopPropagation(); s.pill(p.name) }} onDoubleClick={(e) => e.stopPropagation()}>{face.waits}</b>
|
|
63
|
+
)}
|
|
64
|
+
{face.busy ? <i className="pgs" /> : null}
|
|
65
|
+
{dot != null ? <i className={`pgd ${dot}`} /> : null}
|
|
66
|
+
{warn != null ? <i className="pgw" /> : null}
|
|
67
|
+
</button>
|
|
68
|
+
</Tip>
|
|
69
|
+
)
|
|
70
|
+
})
|
|
71
|
+
|
|
72
|
+
/** the house: its overview, every repo's pages on its rail */
|
|
73
|
+
const HouseTile = observer(({ home }: { home: HomeSt }) => {
|
|
74
|
+
const s = home.projects
|
|
75
|
+
const cur = home.page !== 'repo'
|
|
76
|
+
const p = s.list.find((x) => x.name === s.house)
|
|
77
|
+
return (
|
|
78
|
+
<Tip className="pbcell" placement="bottom" instant content={<><b>the house</b><div className="pbtip">every repo’s pages: the inbox, the overview, the machines…</div></>}>
|
|
79
|
+
<button type="button" className={`pbtile pbhouse${cur ? ' cur' : ''}`} aria-label="the house" aria-current={cur ? 'page' : undefined}
|
|
80
|
+
onClick={() => (cur ? null : s.onPlace?.(s.place ?? 'overview'))}>
|
|
81
|
+
{p?.appIcon != null ? <img src={p.appIcon} alt="" width={TILE} height={TILE} draggable={false} /> : <Icon d={ICON.home} />}
|
|
82
|
+
{s.waiting > 0 ? <b className={`pjpill${s.list.some((x) => x.unread.length > 0) ? ' hot' : ''}`}>{s.waiting}</b> : null}
|
|
83
|
+
</button>
|
|
84
|
+
</Tip>
|
|
85
|
+
)
|
|
86
|
+
})
|
|
87
|
+
|
|
88
|
+
export const ProjectBar = observer(({ home }: { home: HomeSt }) => {
|
|
89
|
+
const s = home.projects
|
|
90
|
+
useEffect(() => s.start(), [s])
|
|
91
|
+
let n = 0
|
|
92
|
+
return (
|
|
93
|
+
<nav className="pbar" aria-label="projects">
|
|
94
|
+
<div className="pbscroll">
|
|
95
|
+
<HouseTile home={home} />
|
|
96
|
+
{s.barGroups.map((g) => (
|
|
97
|
+
<div key={g.identity?.id ?? '-'} className="pbgroup" role="group" aria-label={g.identity?.name ?? 'other repos'}>
|
|
98
|
+
{g.repos.map((p) => <RepoTile key={p.name} s={s} p={p} n={++n} />)}
|
|
99
|
+
</div>
|
|
100
|
+
))}
|
|
101
|
+
{s.list.length === 0 && s.error === '' ? <span className="pjwait"><span className="spin" />reading the repos…</span> : null}
|
|
102
|
+
{s.archivedOpen && s.archived.length > 0 && s.onArchived != null ? (
|
|
103
|
+
<div className="pbgroup pbarch" role="group" aria-label="archived">
|
|
104
|
+
{s.archived.map((p) => (
|
|
105
|
+
<a key={p.name} className="pbtile dim" href="/archived" {...tip(`${p.name} is archived: nothing runs there`)} onClick={(e) => {
|
|
106
|
+
if (!plainClick(e)) return
|
|
107
|
+
e.preventDefault()
|
|
108
|
+
s.onArchived?.()
|
|
109
|
+
}}><Face p={p} px={TILE} /></a>
|
|
110
|
+
))}
|
|
111
|
+
</div>
|
|
112
|
+
) : null}
|
|
113
|
+
</div>
|
|
114
|
+
</nav>
|
|
115
|
+
)
|
|
116
|
+
})
|
|
@@ -1,39 +1,20 @@
|
|
|
1
|
-
/* the
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
tests/hub-css-invariants.test.ts reads this sheet too
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
.pjlist{flex:1;width:100%;height:100%;display:flex;flex-direction:column;background:var(--bg-side);min-width:0}
|
|
8
|
-
/* the list's trouble line, above the identities: the places are the top bar's (home-strip.tsx) */
|
|
9
|
-
.pjhead{flex:none;display:flex;flex-direction:column;padding:var(--s1) 0;border-bottom:1px solid var(--line)}
|
|
10
|
-
/* each Claude Code account, above the groups (accounts-line.tsx): one row each, its name, s (the 5 hour window) and
|
|
11
|
-
w (the week) in columns that line up down the four, the time to each reset in blue as the status line draws it */
|
|
1
|
+
/* the machine's small shared pieces, classes pj* and pg*: the Claude Code accounts (accounts-line.tsx), the list's own
|
|
2
|
+
controls the dock's bar draws (project-list.tsx ListFoot), the menus, a repo's face and its marks, the one pill of
|
|
3
|
+
what waits on him, the panels' separators. Colours are hub.css tokens only, spacing is its scale:
|
|
4
|
+
tests/hub-css-invariants.test.ts reads this sheet too */
|
|
5
|
+
/* each Claude Code account, at the main panel's foot (accounts-line.tsx): one row each, its name, s (the 5 hour window)
|
|
6
|
+
and w (the week) in columns that line up down the four, the time to each reset in blue as the status line draws it */
|
|
12
7
|
.pjuse{flex:none;display:grid;grid-template-columns:auto auto 1fr;column-gap:var(--s2);padding:var(--s1) var(--s2);border-bottom:1px solid var(--line);font-size:11px;line-height:18px;font-variant-numeric:tabular-nums;color:var(--dim);overflow:hidden}
|
|
13
8
|
.pjacc{display:grid;grid-column:1/-1;grid-template-columns:subgrid;align-items:baseline;white-space:nowrap;cursor:default}
|
|
14
9
|
.pjacc b{font-weight:600;color:var(--ink)}
|
|
15
|
-
.pjacc .pjrail{display:none}
|
|
16
10
|
.pjm i{font-style:normal;color:var(--blue)}
|
|
17
11
|
.pjm.ok{color:var(--ok)}.pjm.warn{color:var(--warn)}.pjm.red{color:var(--red)}
|
|
18
|
-
/* the rows scroll, the head does not, and no scrollbar draws a band beside
|
|
19
|
-
them: WebKit (the macOS app) ignores scrollbar-width, hence the pseudo */
|
|
20
12
|
/* the list's own controls, drawn in the dock's bar (dock-view.tsx ListFoot): one line, no rule of its own */
|
|
21
13
|
.pjfoot{flex:none;display:flex;align-items:center;gap:var(--s1);margin-left:auto}
|
|
22
|
-
/* the archived rows, just above the foot while its archived button is on:
|
|
23
|
-
the rows panel gives up the room, the foot stays put */
|
|
24
|
-
.pjarch{flex:none;border-top:1px solid var(--line);max-height:40%;overflow-y:auto;scrollbar-width:none;padding:var(--s1) 0}
|
|
25
|
-
.pjarch::-webkit-scrollbar{display:none}
|
|
26
|
-
.pjarow{text-decoration:none;display:flex;align-items:center;gap:var(--s1);width:100%;height:22px;padding:0 var(--s1) 0 var(--s2);border:0;border-radius:0;background:none;color:var(--dim);font-size:12px;text-align:left;cursor:pointer;opacity:.6}
|
|
27
|
-
.pjarow:hover,.pjarow.cur{opacity:1;background:var(--panel2)}
|
|
28
|
-
.pjarow span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
|
|
29
|
-
.pjarow img{flex:none;border-radius:3px;object-fit:contain}
|
|
30
|
-
.pjaini{flex:none;width:14px;height:14px;border-radius:3px;background:var(--panel2)}
|
|
31
|
-
/* the foot: sort (its title names the order), the step keys hint, archived
|
|
32
|
-
carries its count and stays lit while its rows show */
|
|
33
14
|
.pgsort,.pjarbtn,.pjfold{flex:none;display:inline-flex;align-items:center;gap:var(--s1);height:22px;padding:0 var(--s1);background:transparent;border:1px solid var(--line);border-radius:3px;
|
|
34
15
|
color:var(--dim);font-size:11px;cursor:pointer}
|
|
35
16
|
.pgsort{flex:0 1 auto;min-width:0}
|
|
36
|
-
/* the step keys, a hint: the repo above or below */
|
|
17
|
+
/* the step keys, a hint: the house's page or the repo above or below */
|
|
37
18
|
.pjstep{flex:none;display:inline-flex;gap:var(--s0);color:var(--dim);font-size:11px}
|
|
38
19
|
.pjstep kbd{padding:0 var(--s1);border:1px solid var(--line);border-radius:3px;font:inherit}
|
|
39
20
|
.pgsortl{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
|
|
@@ -47,10 +28,12 @@
|
|
|
47
28
|
.pjbell .hico{flex:none;width:14px;height:14px}
|
|
48
29
|
.pjbell:hover{color:var(--ink);border-color:var(--accent)}
|
|
49
30
|
.pjbell[aria-pressed=true]{color:var(--ink);background:var(--sel);border-color:var(--accent)}
|
|
31
|
+
/* a write of the switch that did not land: one line in the error ink (orchestrator.css .pl-err), whole in its tip */
|
|
32
|
+
.pjquiet .pl-err{margin-left:var(--s2);max-width:44ch;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
|
|
50
33
|
.pjquietmenu{z-index:30;display:flex;flex-direction:column;min-width:170px;padding:var(--s1) 0;background:var(--panel);border:1px solid var(--line);border-radius:4px;box-shadow:0 6px 20px var(--shadow);font-size:12px}
|
|
51
34
|
.pjquietmenu button{height:24px;padding:0 var(--s2);background:none;border:0;border-radius:0;text-align:left;color:var(--ink);cursor:pointer}
|
|
52
35
|
.pjquietmenu button:hover{background:var(--panel2)}
|
|
53
|
-
/*
|
|
36
|
+
/* a menu over the dock's bar (the theme, the sort), placed by floating-ui (floating.tsx) */
|
|
54
37
|
.pgmenu{z-index:30;min-width:180px;padding:var(--s1) 0;background:var(--panel);border:1px solid var(--line);border-radius:4px;box-shadow:0 6px 20px var(--shadow);font-size:12px}
|
|
55
38
|
.pgmhead{padding:var(--s1) var(--s2);color:var(--dim);font-size:11px}
|
|
56
39
|
.pgmi{display:flex;align-items:center;gap:var(--s1);width:100%;height:24px;padding:0 var(--s2);background:none;border:0;border-radius:0;text-align:left;color:var(--ink);font-size:12px;cursor:pointer}
|
|
@@ -59,45 +42,17 @@
|
|
|
59
42
|
.pgmi.manual{color:var(--dim);cursor:default;border-top:1px solid var(--line)}
|
|
60
43
|
.pgmi small{margin-left:auto;color:var(--dim);font-size:10px;font-weight:400}
|
|
61
44
|
.pgmck{flex:none;width:12px;color:var(--accent)}
|
|
62
|
-
.
|
|
63
|
-
.
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
.
|
|
67
|
-
|
|
68
|
-
/* a folded group of pages or identities: its icons and avatars in wrapped rows under its band, a click each, the
|
|
69
|
-
name on hover, the one shown ringed or lit, the inbox's count on its corner */
|
|
70
|
-
.pjwrap{display:flex;flex-wrap:wrap;gap:var(--s0);padding:var(--s1) var(--s2)}
|
|
71
|
-
.pjrow.pjmini{width:28px;height:28px;padding:0;justify-content:center;border-radius:4px}
|
|
72
|
-
.pjrow.pjmini .pjname,.pjrow.pjmini .pjkey{display:none}
|
|
73
|
-
.pjrow.pjmini.cur{box-shadow:inset 0 -2px 0 var(--pjc,var(--accent))}
|
|
74
|
-
.pjrow.pjmini.pjid.cur{box-shadow:none}
|
|
75
|
-
.pjrow.pjmini .pjpill{position:absolute;top:0;right:0}
|
|
76
|
-
.sh .pjpill{cursor:default}
|
|
77
|
-
/* a global page's row: the page's icon in the repo icons' place; lit in the accent while it shows */
|
|
78
|
-
.pjglobal .hico{flex:none;width:18px;height:16px}
|
|
79
|
-
.pjglobal.cur{color:var(--accent)}
|
|
45
|
+
/* a group's head (section-head.tsx) shows its pill with no click of its own */
|
|
46
|
+
.sh /* what waits on the owner, ONE pill (projects-svc faceOf): the threads, the lines to record and the asks counted
|
|
47
|
+
together, a click opens the first. Neutral, the page's ink on its own panel, so it sits with any plate and any
|
|
48
|
+
theme; lit in the review hue only while a thread has something new to him (his turn now); red only for what is
|
|
49
|
+
broken. The main panel's counts wear the same pill */
|
|
50
|
+
.pjpill{cursor:default}
|
|
80
51
|
.pgin{cursor:default}
|
|
81
|
-
/* an identity's
|
|
82
|
-
.pjid{--idr:transparent}
|
|
83
|
-
.pjid.cur{--idr:var(--idc,var(--accent));color:var(--ink)}
|
|
84
|
-
.pjrow .pjav{flex:none;width:18px;height:18px;border-radius:50%;object-fit:cover;box-shadow:0 0 0 2px var(--idr);pointer-events:none}
|
|
52
|
+
/* an identity's avatar: its mark, else its initial on its colour (main-panel.tsx profile) */
|
|
85
53
|
.pjavi{display:grid;place-items:center;background:var(--idc,var(--dim));color:var(--bg);font-size:10px;font-weight:700;user-select:none}
|
|
86
54
|
.pjwait{display:flex;align-items:center;gap:var(--s1);padding:var(--s1) var(--s2);font-size:12px;color:var(--dim)}
|
|
87
|
-
|
|
88
|
-
background:transparent;border:0;border-radius:0;text-align:left;color:var(--dim);font-size:13px;cursor:pointer}
|
|
89
|
-
.pjrow:hover{background:var(--panel2);color:var(--ink)}
|
|
90
|
-
/* the shown repo: its row lit, marked on the left in its identity colour
|
|
91
|
-
(a global page's line: in the accent) */
|
|
92
|
-
/* the repo's colour for the theme: colorDark, or colorLight on a light page (projects-svc idVars) */
|
|
93
|
-
.pjrow{--pjc:var(--idd)}
|
|
94
|
-
:root[data-theme=light] .pjrow,:root[data-theme=grey] .pjrow{--pjc:var(--idl)}
|
|
95
|
-
.pjrow.cur{background:var(--sel);color:var(--pjc,var(--ink));box-shadow:inset 3px 0 0 var(--pjc,var(--accent));font-weight:600}
|
|
96
|
-
/* the selected repo while a global page is up: still marked, dimmer */
|
|
97
|
-
.pjrow.cur.away{background:none;font-weight:500}
|
|
98
|
-
.pjrow img,.pjrow .pgi{flex:none;width:18px;height:18px;border-radius:4px;object-fit:contain;pointer-events:none}
|
|
99
|
-
.pjname{flex:1;min-width:0;padding-left:var(--s0);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
|
|
100
|
-
/* the initial on a hue hashed from the name (projects-svc hueOf) */
|
|
55
|
+
/* a repo's initial on a hue hashed from its name (projects-svc hueOf) */
|
|
101
56
|
.pgi{display:flex;align-items:center;justify-content:center;font-size:10px;font-weight:600;user-select:none;
|
|
102
57
|
color:var(--c);background:color-mix(in srgb,var(--c) 22%,var(--panel2))}
|
|
103
58
|
.pgi.h1{--c:var(--k1)}
|
|
@@ -106,131 +61,23 @@
|
|
|
106
61
|
.pgi.h4{--c:var(--k4)}
|
|
107
62
|
.pgi.h5{--c:var(--k5)}
|
|
108
63
|
.pgi.h6{--c:var(--k6)}
|
|
109
|
-
/*
|
|
110
|
-
/* closed in VS Code: the name dims, never the icon (the icon is how a repo is found, and the rail has no name) */
|
|
111
|
-
.pjrow.dim .pjname{opacity:.5}
|
|
112
|
-
/* ⌘1 to ⌘9 select the first nine rows (keys.ts): the hint sits at the row's end */
|
|
64
|
+
/* a key's hint (⌥ letters while ⌥ is held, ⌘1 to ⌘9 on hover) */
|
|
113
65
|
.pjkey{flex:none;font:9px/1 ui-monospace,Menlo,monospace;color:var(--dim);opacity:.6;background:none;border:0;padding:0}
|
|
114
|
-
.pjrow:hover .pjkey,.pjrow.cur .pjkey{opacity:1}
|
|
115
|
-
/* what waits on the owner, ONE pill (projects-svc faceOf): the threads, the lines to record and the asks counted
|
|
116
|
-
together, a click opens the first. Neutral, the page's ink on its own panel, so it sits with any plate and any
|
|
117
|
-
theme; lit in the review hue only while a thread has something new to him (his turn now); red only for what is
|
|
118
|
-
broken (a red count of the tree). The flyouts and the tree's counts wear the same pill */
|
|
119
66
|
.pjpill{flex:none;min-width:14px;height:14px;padding:0 4px;border-radius:7px;font-size:9px;font-weight:700;line-height:14px;
|
|
120
67
|
text-align:center;font-variant-numeric:tabular-nums;color:var(--bg-side);background:color-mix(in srgb,var(--ink) 70%,var(--bg-side));cursor:pointer}
|
|
121
68
|
.pjpill.hot{color:var(--bg);background:var(--review)}
|
|
122
69
|
.pjpill.red{color:var(--bg);background:var(--red)}
|
|
123
|
-
|
|
124
|
-
.pgin{cursor:default}
|
|
125
|
-
/* Claude sessions running: a thin still edge on the left (an idle page runs no animation) */
|
|
70
|
+
/* Claude sessions running: a thin still edge (an idle page runs no animation) */
|
|
126
71
|
.pgs{position:absolute;left:0;top:5px;bottom:5px;width:2px;border-radius:1px;background:var(--accent);pointer-events:none}
|
|
127
72
|
/* the home only: the repo's hub state (starting, crashed) */
|
|
128
73
|
.pgd{flex:none;width:6px;height:6px;border-radius:3px;pointer-events:none}
|
|
129
74
|
.pgd.up{background:var(--ok)}.pgd.starting{background:var(--warn)}.pgd.crashed{background:var(--red)}
|
|
130
75
|
/* the home only: a global process this repo uses is off */
|
|
131
76
|
.pgw{flex:none;width:6px;height:6px;border-radius:1px;background:var(--warn)}
|
|
132
|
-
/* a flyout of either rail (floating.tsx useFlyout; this project list's RepoFly, the folded tree's rail-fly.tsx): a menu
|
|
133
|
-
beside its icon, every entry one click. The head opens the repo or the page, a dim line says its branch or why it is
|
|
134
|
-
empty, a small heading parts what waits on him from its pages; an entry is an icon or a dot, its words, its pill or
|
|
135
|
-
its host; under a section, the tree's rows indented by their depth */
|
|
136
|
-
.rlfly{z-index:30;display:flex;flex-direction:column;width:272px;padding:var(--s1) 0;background:var(--panel);border:1px solid var(--line);
|
|
137
|
-
border-radius:6px;box-shadow:0 8px 24px var(--shadow);font-size:12px;line-height:1.3;color:var(--ink);overflow-y:auto}
|
|
138
|
-
.rlfly.tfly{width:300px}
|
|
139
|
-
.rlhead,.rlent{display:flex;align-items:center;gap:var(--s2);width:100%;min-width:0;background:none;border:0;border-radius:0;text-align:left;
|
|
140
|
-
color:var(--ink);font:inherit;text-decoration:none;cursor:pointer}
|
|
141
|
-
.rlhead{height:32px;padding:0 var(--s3);font-size:13px}
|
|
142
|
-
.rlhead b{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
|
|
143
|
-
.rlhead small,.rlent small{flex:none;color:var(--dim);font-size:11px;font-variant-numeric:tabular-nums}
|
|
144
|
-
.rlhead img,.rlhead .pgi{flex:none;width:20px;height:20px;border-radius:4px;font-size:11px}
|
|
145
|
-
.rlhead:disabled{cursor:default}
|
|
146
|
-
.rlent{height:24px;padding:0 var(--s3) 0 calc(var(--s3) + var(--d,0) * 12px)}
|
|
147
|
-
.rlent span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
|
|
148
|
-
.rlent .hico{flex:none;width:14px;height:14px;color:var(--dim)}
|
|
149
|
-
.rlent small{max-width:50%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
|
|
150
|
-
.rlhead:hover:not(:disabled),.rlent:hover,.rlhead:focus-visible,.rlent:focus-visible{background:var(--sel);outline:none}
|
|
151
|
-
.rlent.rlmore{color:var(--dim)}
|
|
152
|
-
.rlline{padding:0 var(--s3) var(--s1);color:var(--dim);font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
|
|
153
|
-
.rlline.red{color:var(--red)}
|
|
154
|
-
.rlsec{padding:var(--s2) var(--s3) var(--s0);color:var(--dim);font-size:10px;font-weight:600}
|
|
155
|
-
.rlgrp{padding:var(--s1) var(--s3) 0 calc(var(--s3) + var(--d,0) * 12px);color:var(--dim);font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
|
|
156
|
-
/* a thread: a dot, the review hue while it has something new to him */
|
|
157
|
-
.rldot{flex:none;width:6px;height:6px;margin:0 4px;border-radius:3px;background:color-mix(in srgb,var(--ink) 40%,transparent)}
|
|
158
|
-
.rldot.hot{background:var(--review)}
|
|
159
|
-
/* a row of the tree: its kind's mark and its state's glyph, the tree's own (.ty, .tg) */
|
|
160
|
-
.rlk,.rlg{flex:none;width:12px;font-style:normal;font-size:10px;text-align:center;color:var(--dim)}
|
|
161
|
-
.rlk.k1{color:var(--k1)}.rlk.k2{color:var(--k2)}.rlk.k3{color:var(--k3)}.rlk.k4{color:var(--k4)}.rlk.k5{color:var(--k5)}.rlk.k6{color:var(--k6)}
|
|
162
|
-
.rlg.red{color:var(--red)}.rlg.warn{color:var(--warn)}.rlg.ok{color:var(--ok)}
|
|
163
|
-
.rlfacts{margin-top:var(--s1);padding:var(--s1) var(--s3) 0;border-top:1px solid var(--line);color:var(--dim);font-size:11px}
|
|
164
|
-
.rlfacts div{display:flex;gap:var(--s2);min-width:0}
|
|
165
|
-
.rlfacts span:last-child{flex:1;min-width:0;text-align:right;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--ink)}
|
|
166
|
-
.rlfacts span.warn{color:var(--warn)}
|
|
167
77
|
.pgerr{padding:0 var(--s3);font-size:12px;font-weight:700;color:var(--red);cursor:help;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
|
|
168
|
-
/* a drag: the row being moved fades, and the gap it would land in is a line
|
|
169
|
-
drawn on a row edge */
|
|
170
|
-
.pjrow.dragging{opacity:.4}
|
|
171
|
-
.pjrow.dropb::before,.pjrow.dropa::after{content:'';position:absolute;left:var(--s2);right:var(--s2);height:2px;border-radius:1px;background:var(--accent);pointer-events:none}
|
|
172
|
-
.pjrow.dropb::before{top:-1px}
|
|
173
|
-
.pjrow.dropa::after{bottom:-1px}
|
|
174
78
|
/* the separators of the page's panels: a 1px divider in the line colour, the
|
|
175
79
|
panels touching it, and a wider hit area that draws nothing (6px each side).
|
|
176
80
|
The accent shows only on hover and while dragging */
|
|
177
81
|
.rsep{position:relative;flex:none;width:1px;background:var(--line)}
|
|
178
82
|
.rsep::before{content:'';position:absolute;top:0;bottom:0;left:-6px;right:-6px;cursor:col-resize;background:transparent;z-index:6}
|
|
179
83
|
.rsep:hover,.rsep[data-separator="hover"],.rsep[data-separator="active"]{background:var(--accent)}
|
|
180
|
-
/* the rail: the list folded to its icons (layout-st RAIL_PX). The names, the
|
|
181
|
-
⌘ hints and the step hint hide, every icon centres, the badge and the dots
|
|
182
|
-
ride the icon's corner, the foot stacks its buttons */
|
|
183
|
-
.pjlist.rail .pjname,.pjlist.rail .pjkey,.pjlist.rail .pjstep,.pjlist.rail .pgsortl,.pjlist.rail .pjarow span,.pjlist.rail .pgerr{display:none}
|
|
184
|
-
.pjlist.rail .pjrow,.pjlist.rail .pjarow{justify-content:center;padding:0}
|
|
185
|
-
/* the rail's icon size (layout-st RAIL_ICONS, the foot's S M L button): the repo icons and the row under them grow */
|
|
186
|
-
.pjlist.rail .pjrow{height:calc(var(--ri,24px) + 6px)}
|
|
187
|
-
.pjlist.rail .pjrow img,.pjlist.rail .pjrow .pgi{width:var(--ri,24px);height:var(--ri,24px);border-radius:6px}
|
|
188
|
-
.pjlist.rail .pjrow .pgi{font-size:calc(var(--ri,24px) * .5)}
|
|
189
|
-
/* folded, an account is one short row: its tag, then two thin bars filling the rest of the rail (the 5 hour window over
|
|
190
|
-
the week), each filled to its share in its tone on a faint track, an empty track when not reported. Once the fuller
|
|
191
|
-
window passed half, the time to its reset sits under the bars in its tone, a small line, so the row stays near one
|
|
192
|
-
line of text. An account with no number is dimmed. The words on its hover */
|
|
193
|
-
.pjlist.rail .pjuse{display:flex;flex-direction:column;gap:var(--s1);padding:var(--s1)}
|
|
194
|
-
.pjlist.rail .pjacc{display:flex}
|
|
195
|
-
.pjlist.rail .pjacc.none{opacity:.45}
|
|
196
|
-
.pjlist.rail .pjacc b,.pjlist.rail .pjacc .pjm{display:none}
|
|
197
|
-
.pjlist.rail .pjacc .pjrail{display:grid;grid-template-columns:auto 1fr;grid-template-areas:"t b" ". l";column-gap:var(--s0);align-items:center;width:100%}
|
|
198
|
-
.pjrtag{grid-area:t;font:600 9px/10px ui-monospace,Menlo,monospace;color:var(--ink)}
|
|
199
|
-
.pjrbars{grid-area:b;display:flex;flex-direction:column;gap:var(--s0);min-width:0}
|
|
200
|
-
.pjbar{display:block;width:100%;height:3px;border-radius:2px;background:color-mix(in srgb,var(--dim) 28%,transparent);overflow:hidden}
|
|
201
|
-
.pjbar>span{display:block;height:100%;min-width:2px;border-radius:inherit}
|
|
202
|
-
.pjbar.ok>span{background:var(--ok)}.pjbar.warn>span{background:var(--warn)}.pjbar.red>span{background:var(--red)}
|
|
203
|
-
.pjrleft{grid-area:l;justify-self:end;font:600 8px/8px ui-monospace,Menlo,monospace}
|
|
204
|
-
.pjacc.warn .pjrleft{color:var(--warn)}.pjacc.red .pjrleft{color:var(--red)}
|
|
205
|
-
/* the app icon is a rounded plate already (core/app-icon.ts) */
|
|
206
|
-
.pjlist.rail .pjrow img.pjapp{border-radius:0}
|
|
207
|
-
/* every repo wears its app icon on its colour plate. The shown one stands out by the others going quiet: while a repo
|
|
208
|
-
shows (.lit), every other icon is dimmed and greyed, and a hover or a focus brings one back; no ring, no bar, no wash.
|
|
209
|
-
While an identity's view shows, the repos that speak as another identity go quiet the same way (.off), so its own
|
|
210
|
-
stand out; on any other global page every plate is whole. Only the icon dims, never its pill, and at once: no fade */
|
|
211
|
-
.pjlist.rail [aria-label=projects] .pjrow:is(.cur,:hover){background:none;box-shadow:none}
|
|
212
|
-
.pjlist.rail.lit [aria-label=projects] .pjrow:not(.cur):not(:hover):not(:focus-visible) > :is(img,.pgi),
|
|
213
|
-
.pjlist.rail [aria-label=projects] .pjrow.off:not(:hover):not(:focus-visible) > :is(img,.pgi){opacity:.45;filter:saturate(.25)}
|
|
214
|
-
/* the named list: the row of a repo of another identity dims, its name with its icon */
|
|
215
|
-
.pjlist:not(.rail) [aria-label=projects] .pjrow.off:not(:hover):not(:focus-visible){opacity:.45}
|
|
216
|
-
.pjsize{font:600 10px/1 ui-monospace,Menlo,monospace}
|
|
217
|
-
/* on the rail the pill rides the icon's bottom right corner, cut out of it by a ring of the rail's own colour */
|
|
218
|
-
.pjlist.rail .pjrow .pjpill{position:absolute;bottom:0;right:calc(50% - var(--ri,24px) / 2 - 5px);box-shadow:0 0 0 2px var(--bg-side)}
|
|
219
|
-
/* the rail: a header is its caret alone over a rule, its name and count in its title; a global row its icon, an
|
|
220
|
-
identity its avatar, each at the rail's icon size, the name in its title */
|
|
221
|
-
.pjlist.rail .sh .shl,.pjlist.rail .sh .shn{display:none}
|
|
222
|
-
.pjlist.rail .sh{justify-content:center;padding:0;min-height:16px}
|
|
223
|
-
.pjlist.rail .pjwrap{justify-content:center;padding:var(--s1) 0}
|
|
224
|
-
.pjlist.rail .sh .pjpill{margin-left:var(--s0)}
|
|
225
|
-
.pjlist.rail .pjglobal .hico{width:calc(var(--ri,24px) * .75);height:calc(var(--ri,24px) * .75)}
|
|
226
|
-
.pjlist.rail .pjrow img.pjav,.pjlist.rail .pjrow .pjav{width:var(--ri,24px);height:var(--ri,24px);border-radius:50%}
|
|
227
|
-
.pjlist.rail .pjavi{font-size:calc(var(--ri,24px) * .45)}
|
|
228
|
-
/* an initial on the rail fills its disc only while its view shows, as a plate does: else its letter in its colour on a ring */
|
|
229
|
-
.pjlist.rail .pjid:not(.cur) .pjavi{background:transparent;color:var(--idc,var(--dim));box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--idc,var(--dim)) 55%,transparent)}
|
|
230
|
-
/* a folded group in the rail: its pages or its avatars small, three a row */
|
|
231
|
-
.pjlist.rail .pjwrap{display:grid;grid-template-columns:repeat(3,1fr);gap:var(--s0);padding:var(--s1) var(--s0)}
|
|
232
|
-
.pjlist.rail .pjrow.pjmini{width:100%;height:auto;aspect-ratio:1;min-width:0}
|
|
233
|
-
.pjlist.rail .pjrow.pjmini .hico,.pjlist.rail .pjrow.pjmini img.pjav,.pjlist.rail .pjrow.pjmini .pjav{width:84%;height:84%}
|
|
234
|
-
.pjlist.rail .pjrow.pjmini .pjavi{font-size:calc(var(--ri,24px) * .2)}
|
|
235
|
-
.pjlist.rail .pjrow.pjmini .pgin{top:-2px;right:-2px;bottom:auto;min-width:10px;height:10px;padding:0 2px;font-size:7px;line-height:10px}
|
|
236
|
-
.pjlist.rail .pgd,.pjlist.rail .pgw{position:absolute;bottom:var(--s0);right:calc(50% - var(--ri,24px) / 2 - 2px)}
|