@openscout/scout 0.2.102 → 0.2.105
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/README.md +37 -0
- package/bin/scout.mjs +6 -0
- package/bin/scoutd +0 -0
- package/dist/build-manifest.json +4 -4
- package/dist/chat.mjs +285 -0
- package/dist/client/assets/ActivityScreen-CcDdQTBK.js +1 -0
- package/dist/client/assets/{AddProjectForm-DfbjlFfy.js → AddProjectForm-CHNJ4NnS.js} +1 -1
- package/dist/client/assets/{AdventureEvidence-Dzz9VbuE.js → AdventureEvidence-B4mEvXeD.js} +1 -1
- package/dist/client/assets/{AdventureReader-ClMxT0e4.js → AdventureReader-ZsBDQITY.js} +1 -1
- package/dist/client/assets/{AdventureScenery-D548O0x4.js → AdventureScenery-DSxDlqG1.js} +1 -1
- package/dist/client/assets/AgentAdventures-BxrYq_2v.js +1 -0
- package/dist/client/assets/{AgentAvatar-BIwg54Tj.js → AgentAvatar-NZOqcsB2.js} +1 -1
- package/dist/client/assets/AgentConfigurationScreen-BhD1PEAM.js +1 -0
- package/dist/client/assets/AgentDefinitionsWorkspace-BqS6MXqF.js +1 -0
- package/dist/client/assets/{AgentDetailCard-CFDE8TLi.js → AgentDetailCard-MIEBKw_S.js} +1 -1
- package/dist/client/assets/AgentFloorView-A0dDRlRV.js +1 -0
- package/dist/client/assets/{AgentFloorWorld-BDJmXl3C.js → AgentFloorWorld-BTqwmK5G.js} +1 -1
- package/dist/client/assets/AgentInfoScreen-DuaN0sgE.js +1 -0
- package/dist/client/assets/{AgentLaneCard-C6YmwPxQ.js → AgentLaneCard-C4rKLLdT.js} +1 -1
- package/dist/client/assets/{AgentLaneChrome-D9uJ4QY7.js → AgentLaneChrome-fGC-ZrJS.js} +1 -1
- package/dist/client/assets/{AgentLaneDetailSheet-KYckCBCX.js → AgentLaneDetailSheet-BTF4_th9.js} +1 -1
- package/dist/client/assets/{AgentLaneSummaryResize-BBYBS3DO.js → AgentLaneSummaryResize-DgSeA_vS.js} +1 -1
- package/dist/client/assets/AgentLanesEmbedScreen-CeNiaZ9_.js +1 -0
- package/dist/client/assets/{AgentLanesPreflight-pw2vMO3Q.js → AgentLanesPreflight-CcS23wij.js} +1 -1
- package/dist/client/assets/{AgentLanesView-aAyC7lHf.js → AgentLanesView-WZhEDBFE.js} +1 -1
- package/dist/client/assets/{AgentLiveActions-lYzicnNa.js → AgentLiveActions-6Kfr1uOT.js} +1 -1
- package/dist/client/assets/AgentMasterScreen-DUDUTAnU.js +1 -0
- package/dist/client/assets/{AgentSessions-Cox2zS-e.js → AgentSessions-CO1WGa8Z.js} +2 -2
- package/dist/client/assets/AgentsConsole-BQOWkj35.js +1 -0
- package/dist/client/assets/AgentsScreen-BMNAj1PH.js +1 -0
- package/dist/client/assets/AgentsSubnav-CeHhuzyM.js +1 -0
- package/dist/client/assets/{AstronautSuit-C-4I5YKi.js → AstronautSuit-D67fIBdR.js} +1 -1
- package/dist/client/assets/{AtopView-DKm-ERYC.js → AtopView-Ck30FbzG.js} +1 -1
- package/dist/client/assets/{BackToPicker-Bys9ColC.js → BackToPicker-CkBhGRlD.js} +1 -1
- package/dist/client/assets/BriefingDetailScreen-yZG8_m4h.js +1 -0
- package/dist/client/assets/{BriefingsScreen-D4Zf31Y6.js → BriefingsScreen-DTxYMr3a.js} +1 -1
- package/dist/client/assets/{BrokerMetadataPanel-1GoSl2BV.js → BrokerMetadataPanel-crirZCdo.js} +1 -1
- package/dist/client/assets/BrokerScreen-CT37VQiL.js +8 -0
- package/dist/client/assets/Canvas-CRP0KjKb.js +1 -0
- package/dist/client/assets/{CastPicker-BuwE_JQp.js → CastPicker-ZPomvOf-.js} +1 -1
- package/dist/client/assets/ChannelComposer-BVItWlEz.js +1 -0
- package/dist/client/assets/ChannelSidebar-B-2spawY.js +1 -0
- package/dist/client/assets/{CharacterFamilyPreview-CfO3j8Of.js → CharacterFamilyPreview-ckVkecDO.js} +1 -1
- package/dist/client/assets/ChatAvatar-DKBsbOqk.js +1 -0
- package/dist/client/assets/ChatBits-CLJ71hTY.js +1 -0
- package/dist/client/assets/{ChatCollapsedStrip-TV0j1xTB.js → ChatCollapsedStrip-Co0NmqOO.js} +1 -1
- package/dist/client/assets/ChatRightPanel-pKQtkAgl.js +1 -0
- package/dist/client/assets/ChatSpaceSurface-NrLwdPkE.js +1 -0
- package/dist/client/assets/ChatSpaceTheme-BPMgPdVK.css +1 -0
- package/dist/client/assets/ChatSpaceTheme-D37Jk7bl.js +1 -0
- package/dist/client/assets/{CodeDiffPane-DB6-mqtX.js → CodeDiffPane-D-iv28LJ.js} +1 -1
- package/dist/client/assets/{CodeProjectPicker-B_LNLpIK.js → CodeProjectPicker-CZ3gDdiT.js} +1 -1
- package/dist/client/assets/{CodeScreen-C9H160XS.js → CodeScreen-CSC-zbP9.js} +1 -1
- package/dist/client/assets/{CommsCanvas-DOKw3Q8i.js → CommsCanvas-DdNAwjGW.js} +1 -1
- package/dist/client/assets/{CommsDeck-C18JA7rK.js → CommsDeck-mGWY7Ivi.js} +1 -1
- package/dist/client/assets/{CommsFlowGraph-Czg-KTS0.js → CommsFlowGraph-voDD9M5R.js} +1 -1
- package/dist/client/assets/{CommsFlowMap-CzBWvSa5.js → CommsFlowMap-C33sgD48.js} +1 -1
- package/dist/client/assets/{CommsSelection-g1twA-Lb.js → CommsSelection-BL8aYD7z.js} +1 -1
- package/dist/client/assets/{ConversationComposer-B7RU6LKd.js → ConversationComposer-DNcn5U6D.js} +1 -1
- package/dist/client/assets/ConversationFeedRows-RnYSa7Io.js +1 -0
- package/dist/client/assets/ConversationHeader-Y9TEJxP_.js +1 -0
- package/dist/client/assets/{ConversationPanels-C9yCAoJy.js → ConversationPanels-6pprBpmq.js} +2 -2
- package/dist/client/assets/ConversationScreen-tpj4cqWs.js +2 -0
- package/dist/client/assets/{ConversationStatus-CK-YfLpi.js → ConversationStatus-Cv-7hErW.js} +1 -1
- package/dist/client/assets/{CrewAvatar-CJhuqTsJ.js → CrewAvatar-zgzC3cbU.js} +1 -1
- package/dist/client/assets/{CrewSprite-hgpA3SWB.js → CrewSprite-Dp9KBBGY.js} +1 -1
- package/dist/client/assets/CrewWorkspaces-DDuYMByu.css +1 -0
- package/dist/client/assets/CrewWorkspaces-K2jcyLec.js +1 -0
- package/dist/client/assets/{DataTable-BMOZ1-z8.js → DataTable-av71ehJV.js} +1 -1
- package/dist/client/assets/{DispatchAftermath-DDlwqSCY.js → DispatchAftermath-CcYGUB10.js} +1 -1
- package/dist/client/assets/{DocumentFocusViewer-f12RRQpV.js → DocumentFocusViewer-DlMiEALb.js} +1 -1
- package/dist/client/assets/{EmbeddableSurfacesLab-DGl9EMRV.js → EmbeddableSurfacesLab-CTkO_tQR.js} +1 -1
- package/dist/client/assets/{EmptyState-uyYN5piI.js → EmptyState-CYUwYyAW.js} +1 -1
- package/dist/client/assets/{FileViewerPane-HtiDbj9N.js → FileViewerPane-Cxhixtks.js} +1 -1
- package/dist/client/assets/FlightObserveScreen-CvzhzuWc.js +1 -0
- package/dist/client/assets/{FloorContextSheet-DV-SYA0K.js → FloorContextSheet-Vj_wVZq1.js} +1 -1
- package/dist/client/assets/{FloorExchangePanel-D59nvRCF.js → FloorExchangePanel-CjHSDXad.js} +1 -1
- package/dist/client/assets/{FloorMessagePasses-BCwsz9VS.js → FloorMessagePasses-BG4ebnX5.js} +1 -1
- package/dist/client/assets/{FloorReplay-BHo79HCD.js → FloorReplay-BoYaGY9t.js} +1 -1
- package/dist/client/assets/FloorResourcesSheet-_Iy5UqgY.js +1 -0
- package/dist/client/assets/{FloorSavedWork-2tjBoy06.js → FloorSavedWork-jbtRs-YE.js} +1 -1
- package/dist/client/assets/{FloorTacticalHUD-Bngao6sn.js → FloorTacticalHUD-BhyOqlL5.js} +1 -1
- package/dist/client/assets/{FollowScreen-eHXOlK-u.js → FollowScreen-CupyOgt4.js} +1 -1
- package/dist/client/assets/HarnessMark-DSvM_H7H.js +1 -0
- package/dist/client/assets/HarnessesScreen-DyjqbZ4k.js +1 -0
- package/dist/client/assets/{HerdrSession-CtJOUn7H.js → HerdrSession-Dcm3vf9U.js} +1 -1
- package/dist/client/assets/{HomeHero-Cvwx2H0w.js → HomeHero-pIZtE1cC.js} +1 -1
- package/dist/client/assets/{HostAdvisorView-CTJXIc1Q.js → HostAdvisorView-Dv5meXo2.js} +1 -1
- package/dist/client/assets/InviteLandingScreen-xZQ2na1z.js +1 -0
- package/dist/client/assets/InviteSheet--5Zjct25.js +1 -0
- package/dist/client/assets/JumpPalette-BmiSOEmp.js +1 -0
- package/dist/client/assets/{KnowledgeSearchInspector-DwGMVmFL.js → KnowledgeSearchInspector-B8yiM524.js} +1 -1
- package/dist/client/assets/KnowledgeSearchScreen-BPqAjHnH.js +1 -0
- package/dist/client/assets/{LaneToolHoverCard-C6YehJqD.js → LaneToolHoverCard-D2cnTeUd.js} +1 -1
- package/dist/client/assets/LaneTraceDetailSheet-jl4XQmEx.js +1 -0
- package/dist/client/assets/{LaneTraceEventFocus-WLNZZVi_.js → LaneTraceEventFocus-BLhVHwff.js} +1 -1
- package/dist/client/assets/{MeshCanvas-FDDGE69h.js → MeshCanvas-BR25OBTJ.js} +1 -1
- package/dist/client/assets/{MeshCanvasMinimap-CGRzQCac.js → MeshCanvasMinimap-ClVolr4-.js} +1 -1
- package/dist/client/assets/MeshScreen-BW1dMFWF.js +1 -0
- package/dist/client/assets/{MeshTopologyView-C2Cv_2gx.js → MeshTopologyView-BT3ke2D1.js} +2 -2
- package/dist/client/assets/MessagesScreen-CtNMfIvC.js +1 -0
- package/dist/client/assets/{MissionContextRail-CVSZJnvX.js → MissionContextRail-CafjuseK.js} +1 -1
- package/dist/client/assets/MissionControlView-BjPOViGY.js +1 -0
- package/dist/client/assets/{MissionFocusOverlay-B9SiuO-i.js → MissionFocusOverlay-nhy3hkxQ.js} +1 -1
- package/dist/client/assets/MissionLeftAgentRow-Dms0DBjO.js +1 -0
- package/dist/client/assets/{MissionLogPane-CMBiI29U.js → MissionLogPane-DiUf3vWW.js} +1 -1
- package/dist/client/assets/NativeAreaScreen-BQSTo8As.js +1 -0
- package/dist/client/assets/NativeAreaScreen-Brix6xDB.js +1 -0
- package/dist/client/assets/NativeAreaScreen-D7HyQNlM.js +1 -0
- package/dist/client/assets/{NewAgentModal-Cl4nsGhu.js → NewAgentModal-BQ2wQ5gp.js} +1 -1
- package/dist/client/assets/NewChatComposer-BEXS8vV6.js +19 -0
- package/dist/client/assets/{NewChatOrigin-CyPPWTJP.js → NewChatOrigin-C8ROO4ps.js} +1 -1
- package/dist/client/assets/{NodeDetailPanel-BUG8rOb-.js → NodeDetailPanel-BNTqYC7m.js} +1 -1
- package/dist/client/assets/{NodeMenu-Fw8ATWQA.js → NodeMenu-CcOeFRCB.js} +1 -1
- package/dist/client/assets/{ObserveEmbedScreen-BPiSXXvm.js → ObserveEmbedScreen-Dh30EjAQ.js} +2 -2
- package/dist/client/assets/{ObserveTextFlow-ET0dD1wO.js → ObserveTextFlow-CC5mnngm.js} +2 -2
- package/dist/client/assets/{ObservedTopologyPanel-DkEkQzo-.js → ObservedTopologyPanel-DF6tRZL_.js} +1 -1
- package/dist/client/assets/OpenScoutAppShell-D9pgw36i.js +31 -0
- package/dist/client/assets/OpsAgentsView-D3rM0udq.js +1 -0
- package/dist/client/assets/OpsScreen-DySeNQ1V.js +1 -0
- package/dist/client/assets/OpsSubnav-C9E0r3GZ.js +1 -0
- package/dist/client/assets/ProjectAgentProfile-FUav75j2.js +1 -0
- package/dist/client/assets/{ProjectAgentProfileBar-C1fR65Eh.js → ProjectAgentProfileBar-C8z22pJ2.js} +1 -1
- package/dist/client/assets/ProjectAgentProfileHero-BLK0EwMg.js +1 -0
- package/dist/client/assets/ProjectsInbox-DfCXReZK.js +2 -0
- package/dist/client/assets/ProjectsRail-CELVubfJ.js +1 -0
- package/dist/client/assets/ProjectsScreen-DMw4TLKy.js +1 -0
- package/dist/client/assets/ProjectsThreadAside-D1Sh4fnX.js +1 -0
- package/dist/client/assets/{Provider-5Hotn7NQ.js → Provider-CNZluAZb.js} +2 -2
- package/dist/client/assets/{RailRow-BYguXNm4.js → RailRow-DUPqXMZh.js} +1 -1
- package/dist/client/assets/RailToggle-BwmY70B8.js +1 -0
- package/dist/client/assets/RawSessionsTable-6OVJq0JZ.js +1 -0
- package/dist/client/assets/RealtimeVoiceScreen-D41TYY0x.js +9 -0
- package/dist/client/assets/{RenderedWorkerSprite-CvdWO32C.js → RenderedWorkerSprite-C8fxndAh.js} +1 -1
- package/dist/client/assets/{ReplayClock-B7JLTp8A.js → ReplayClock-DUVJjrIu.js} +1 -1
- package/dist/client/assets/{ReplayLog-DZTpf2CW.js → ReplayLog-Bek1Vc4W.js} +1 -1
- package/dist/client/assets/{ReplayOutpost-CvWQa30T.js → ReplayOutpost-DlRg3172.js} +1 -1
- package/dist/client/assets/{RepoDiffEmbedScreen-Cbu0_PJW.js → RepoDiffEmbedScreen-CVUMnt6A.js} +1 -1
- package/dist/client/assets/{RepoDiffPageScreen-Chwm6GXL.js → RepoDiffPageScreen-D9-s5PyB.js} +1 -1
- package/dist/client/assets/{RepoDiffViewer-C2mb0Wj-.js → RepoDiffViewer-D7FN-oyY.js} +1 -1
- package/dist/client/assets/RepoDiffViewerLazy-BpMR7tlx.js +2 -0
- package/dist/client/assets/{ReposScreen-C7JZQmyh.js → ReposScreen-BQ7HO1om.js} +2 -2
- package/dist/client/assets/{RiggedWorkerCharacter-DNe731GE.js → RiggedWorkerCharacter-CJMWlvV-.js} +1 -1
- package/dist/client/assets/{SageModelStudio-BR1J2D4R.js → SageModelStudio-B526NSnw.js} +1 -1
- package/dist/client/assets/{ScoutDeckSurface-flRamdvE.js → ScoutDeckSurface-ChkvGyEW.js} +1 -1
- package/dist/client/assets/{ScoutSurface-BpklGmDL.js → ScoutSurface-6g1f5chk.js} +1 -1
- package/dist/client/assets/{ScoutbotFxLab-DeK7ySWZ.js → ScoutbotFxLab-BuwBdnPf.js} +1 -1
- package/dist/client/assets/{SecondaryNav-BkTn5tkq.js → SecondaryNav-Bs-_VwTC.js} +1 -1
- package/dist/client/assets/{SessionEmbedScreen-CcQN6xlo.js → SessionEmbedScreen-C2wf35-P.js} +1 -1
- package/dist/client/assets/{SessionObserve-DaqDhqDI.js → SessionObserve-B64YsYhy.js} +9 -9
- package/dist/client/assets/{SessionObserve-BOBJSfs0.css → SessionObserve-CDdJ7fAE.css} +1 -1
- package/dist/client/assets/{SessionObserveEvidence-Drv-D8Oh.js → SessionObserveEvidence-CS1aQBpQ.js} +1 -1
- package/dist/client/assets/SessionRefScreen-DURV0MpF.js +1 -0
- package/dist/client/assets/SessionsScreen-D71ZR-8t.js +1 -0
- package/dist/client/assets/{SettingsDrawer-BDapR4E9.js → SettingsDrawer-Nz98oBVl.js} +3 -3
- package/dist/client/assets/SettingsScreen-CYBHal6y.js +1 -0
- package/dist/client/assets/{SharedFloorCharacter-CSYG_t9t.js → SharedFloorCharacter-V04kD5T9.js} +1 -1
- package/dist/client/assets/SharedWorkFloor-C0xxW4SN.js +2 -0
- package/dist/client/assets/{ShikiPane-BudrOxNK.js → ShikiPane-XwFI-pCp.js} +1 -1
- package/dist/client/assets/{SlidePanel-Datu7XG4.js → SlidePanel-BMpkXai_.js} +1 -1
- package/dist/client/assets/SpaceSwitcher-BfeIf-ad.js +1 -0
- package/dist/client/assets/{SpriteAvatar-BW1JzkDt.js → SpriteAvatar-aHeF4ZQZ.js} +1 -1
- package/dist/client/assets/{SproutActionSprite-DveCzg6l.js → SproutActionSprite-DI5N3gOj.js} +1 -1
- package/dist/client/assets/{StatusPill-MxYClPG5.js → StatusPill-Dw4LP7wu.js} +1 -1
- package/dist/client/assets/{TailView-Dn7uWmPz.js → TailView-BofjmUMJ.js} +2 -2
- package/dist/client/assets/Terminal-jIqnIZZ6.js +4 -0
- package/dist/client/assets/TerminalEmbedScreen-3XsjuySR.js +1 -0
- package/dist/client/assets/{TerminalHeaderMount-DCGstkZ4.js → TerminalHeaderMount-CwbQhXcI.js} +1 -1
- package/dist/client/assets/TerminalRelay--qOBwnbR.js +46 -0
- package/dist/client/assets/{TextDocumentSurface-BhYvAB0o.js → TextDocumentSurface-BK6Qy41F.js} +1 -1
- package/dist/client/assets/{TmuxPeek-BhK0V9Qt.js → TmuxPeek-DpUT9Tpc.js} +1 -1
- package/dist/client/assets/{VoicePermissionsPanel-CecFWzva.js → VoicePermissionsPanel-D35fOnQj.js} +1 -1
- package/dist/client/assets/{WorkDetailScreen-CwtRCm_-.js → WorkDetailScreen-Bcf_yHhU.js} +2 -2
- package/dist/client/assets/{WorkFilesViewer-DJHftsH9.js → WorkFilesViewer-t8AEyx3Q.js} +1 -1
- package/dist/client/assets/{WorkRunView-x5PH1byG.js → WorkRunView-_mhG_FR2.js} +1 -1
- package/dist/client/assets/WorldActorTalk-CKerDikx.js +1 -0
- package/dist/client/assets/{WorldCharacter-Dn4sIXNP.js → WorldCharacter-BRrj3MQN.js} +1 -1
- package/dist/client/assets/{WorldMinimap-Blqg0d5r.js → WorldMinimap-DOptgrc4.js} +1 -1
- package/dist/client/assets/{WorldSky-DV9bpvXj.js → WorldSky-D-RJzSa6.js} +1 -1
- package/dist/client/assets/{activity-CSUhvjD0.js → activity-BJqFrZyB.js} +1 -1
- package/dist/client/assets/{addon-fit-MR98IWES.js → addon-fit-CHohcvS3.js} +1 -1
- package/dist/client/assets/{addon-webgl-CIIKXrvK.js → addon-webgl-CaRy2x2b.js} +1 -1
- package/dist/client/assets/agent-autocomplete-_u9o5EZu.js +2 -0
- package/dist/client/assets/{agent-essentials-8t2il7PV.js → agent-essentials-bKWYOZaH.js} +1 -1
- package/dist/client/assets/{agent-floor-actor-3v9drnxh.js → agent-floor-actor-DW8zLht0.js} +1 -1
- package/dist/client/assets/{agent-lane-card-model-l0stnU9N.js → agent-lane-card-model-CeqQGp-8.js} +1 -1
- package/dist/client/assets/{agent-lane-detail-Db7KyAlf.js → agent-lane-detail-Ti3trpfH.js} +1 -1
- package/dist/client/assets/{agent-lane-preview-B8lsQJOQ.js → agent-lane-preview-Dpa3DuOn.js} +1 -1
- package/dist/client/assets/{agent-lanes-model-CX0wTcnF.js → agent-lanes-model-DMAdqCmK.js} +1 -1
- package/dist/client/assets/{agent-specialization-CiVxQsFT.js → agent-specialization-BplZUa_0.js} +1 -1
- package/dist/client/assets/{api-B9_IqFKY.js → api-BQYTwoz6.js} +1 -1
- package/dist/client/assets/{api-CaROe5_H.js → api-DSqpVKC7.js} +1 -1
- package/dist/client/assets/{arc.es-BzhWalCl.js → arc.es-CubLvQ4W.js} +1 -1
- package/dist/client/assets/{arrow-left-PuKdO3NM.js → arrow-left-DFfKAq0d.js} +1 -1
- package/dist/client/assets/{arrow-right-ldbfp4SZ.js → arrow-right-DmAWnyAH.js} +1 -1
- package/dist/client/assets/{arrow-up-right-Hn754ybA.js → arrow-up-right-B0aLKiyF.js} +1 -1
- package/dist/client/assets/at-sign-DM7xeppo.js +1 -0
- package/dist/client/assets/{book-open-BlJnpf2U.js → book-open-BL9qvhEI.js} +1 -1
- package/dist/client/assets/{bot-CfN9PSBF.js → bot-BhAVbcCA.js} +1 -1
- package/dist/client/assets/{cache-DEy9E34b.js → cache-DGBo3vIf.js} +1 -1
- package/dist/client/assets/chat-api-BPVC0asu.js +1 -0
- package/dist/client/assets/chat-space-model-B6Jg2CY4.js +4 -0
- package/dist/client/assets/{check-B8dMv3Is.js → check-g7D7-c1J.js} +1 -1
- package/dist/client/assets/{chevron-down-B5eMsn5c.js → chevron-down-CDzRQQGl.js} +1 -1
- package/dist/client/assets/{chevron-right-C7UGFpkl.js → chevron-right-DKGTLiqc.js} +1 -1
- package/dist/client/assets/{chevron-up-BHOEgHcn.js → chevron-up-DX7R6KY2.js} +1 -1
- package/dist/client/assets/{chunk-HRAB3GC3-C5X-kFhb.js → chunk-HRAB3GC3-Dvk_QpRq.js} +1 -1
- package/dist/client/assets/{clock-DFcRbtrl.js → clock-CQb4FeMf.js} +1 -1
- package/dist/client/assets/{code-xml-BmyLM0I2.js → code-xml-Cmadr3pQ.js} +1 -1
- package/dist/client/assets/{coffee-C_D9zooM.js → coffee-ljG1_krY.js} +1 -1
- package/dist/client/assets/{compass-DTZdCpv9.js → compass-CvzkzkIh.js} +1 -1
- package/dist/client/assets/content-0AXa0klu.js +1 -0
- package/dist/client/assets/content-BEyJ19Lx.js +1 -0
- package/dist/client/assets/content-BN5weWKW.js +1 -0
- package/dist/client/assets/content-BNokkm7C.js +1 -0
- package/dist/client/assets/content-BV4PUM9q.js +1 -0
- package/dist/client/assets/content-BxUPlcx5.js +1 -0
- package/dist/client/assets/content-CIC5sku8.js +1 -0
- package/dist/client/assets/content-CKJ9zb7Z.js +1 -0
- package/dist/client/assets/content-CdkTyxqk.js +1 -0
- package/dist/client/assets/content-CnhhSCZq.js +1 -0
- package/dist/client/assets/content-D1Ze_FG9.js +1 -0
- package/dist/client/assets/content-DY3F9Vfr.js +1 -0
- package/dist/client/assets/content-DrKBYpcb.js +1 -0
- package/dist/client/assets/content-LSStQYj5.js +1 -0
- package/dist/client/assets/content-YvU-D0hF.js +1 -0
- package/dist/client/assets/content-oKQMyVnH.js +1 -0
- package/dist/client/assets/{context-budget-DemtXu7E.js → context-budget-8qFKqM-j.js} +1 -1
- package/dist/client/assets/{conversation-icons-BQ4OeOmr.js → conversation-icons-CIRaxmid.js} +1 -1
- package/dist/client/assets/{conversation-model-BGFHoxQ0.js → conversation-model-m8HhzroS.js} +1 -1
- package/dist/client/assets/conversation-motion-features-D9PxLoDt.js +1 -0
- package/dist/client/assets/{copy-D9WUpQRf.js → copy-BGOC1tJB.js} +1 -1
- package/dist/client/assets/{cpu-Ck_4tB_-.js → cpu-Q6nrHFTN.js} +1 -1
- package/dist/client/assets/{createLucideIcon-DkjnzvcJ.js → createLucideIcon-ChvMq-zl.js} +1 -1
- package/dist/client/assets/{credentials-C4VXz2hr.js → credentials-OeoF-VKJ.js} +1 -1
- package/dist/client/assets/discover-DlwbftpC.js +2 -0
- package/dist/client/assets/embed-entry-c0lwtjBG.js +2 -0
- package/dist/client/assets/{external-link-RT4Ph-6-.js → external-link-BVccgH0n.js} +1 -1
- package/dist/client/assets/{eye-CtqSV8BS.js → eye-CsGfEVR6.js} +1 -1
- package/dist/client/assets/{file-code-corner-D_Aptal2.js → file-code-corner-Be6da5l3.js} +1 -1
- package/dist/client/assets/{file-text-ChtICwub.js → file-text-DP6txVW-.js} +1 -1
- package/dist/client/assets/{flag-CqdOxVkI.js → flag-DAFE2wZ5.js} +1 -1
- package/dist/client/assets/{floor-context-model-DZBpo_oD.js → floor-context-model-rWKqaKmV.js} +1 -1
- package/dist/client/assets/{floor-message-passes-CJh9f8Jp.js → floor-message-passes-CO3Ix_wR.js} +1 -1
- package/dist/client/assets/{folder-0fWevPvQ.js → folder-B_S7gBVr.js} +1 -1
- package/dist/client/assets/{gauge-Dgtfxf_o.js → gauge-DQCGlE3o.js} +1 -1
- package/dist/client/assets/{gestures-BDCZ1FRG.js → gestures-CofqY4Km.js} +1 -1
- package/dist/client/assets/{git-branch-CA3cHKCI.js → git-branch-DcUCsWdJ.js} +1 -1
- package/dist/client/assets/{go-shortcuts-DKtw4qYx.js → go-shortcuts-KQy-ZOpV.js} +1 -1
- package/dist/client/assets/{home-moving-signal-B7m-ngb2.js → home-moving-signal-BIHUGNfI.js} +1 -1
- package/dist/client/assets/home-now-card-CaLgZze2.js +1 -0
- package/dist/client/assets/{home-now-card-nano-D1ScGrgv.js → home-now-card-nano-CvU8B61b.js} +1 -1
- package/dist/client/assets/hooks-DaUOREpP.js +2 -0
- package/dist/client/assets/index-CGbs0SBm.css +1 -0
- package/dist/client/assets/index-CbqBwfIW.js +1 -0
- package/dist/client/assets/index-CyPMl7Up.js +1 -0
- package/dist/client/assets/index-DReVb7jZ.js +10 -0
- package/dist/client/assets/index-PQpJveGO.js +1 -0
- package/dist/client/assets/{index-CvsM3jm8.js → index-kkXUq-zf.js} +1 -1
- package/dist/client/assets/{inspector-panel-BLhDODb3.js → inspector-panel-CLU7wjnT.js} +2 -2
- package/dist/client/assets/{keyboard-nav-CXfav14z.js → keyboard-nav-CJXPaHXj.js} +1 -1
- package/dist/client/assets/lane-ask-display-BTVSakyo.js +18 -0
- package/dist/client/assets/{lane-observe-BD21P8BB.js → lane-observe-CteDwdD-.js} +3 -3
- package/dist/client/assets/{lane-roster-store-DzNHP392.js → lane-roster-store-Ch9t6lb0.js} +1 -1
- package/dist/client/assets/{layers-Bolb8ejU.js → layers-BOwyWodP.js} +1 -1
- package/dist/client/assets/{layout-grid-DI9tVJ2E.js → layout-grid-B36Qsh0y.js} +1 -1
- package/dist/client/assets/left-0vBrvrBG.js +2 -0
- package/dist/client/assets/left-C6SyaqlJ.js +1 -0
- package/dist/client/assets/left-CTuXysZR.js +2 -0
- package/dist/client/assets/left-Cc6s4DT2.js +1 -0
- package/dist/client/assets/left-DF5caiyh.js +1 -0
- package/dist/client/assets/left-DgT4tWCx.js +1 -0
- package/dist/client/assets/left-R0wppTTr.js +1 -0
- package/dist/client/assets/left-advisor-C-kt8V28.js +1 -0
- package/dist/client/assets/left-agents-thnBO156.js +1 -0
- package/dist/client/assets/left-default-CT42fnpF.js +1 -0
- package/dist/client/assets/left-lanes-CSmZgciK.js +1 -0
- package/dist/client/assets/left-mission-C86x6i9h.js +1 -0
- package/dist/client/assets/library-DdhYL_9v.js +1 -0
- package/dist/client/assets/{loader-circle-DurUYl7E.js → loader-circle-DNUsuPWz.js} +1 -1
- package/dist/client/assets/{local-agents-D9fYYRyj.js → local-agents-I40PawYA.js} +1 -1
- package/dist/client/assets/{machine-children-RGS4Q0r6.js → machine-children-CdhNzDF0.js} +1 -1
- package/dist/client/assets/{mentions-Ctw1ECUC.js → mentions-Ck_Vjnyp.js} +1 -1
- package/dist/client/assets/{mesh-ops-CGpRk4ik.js → mesh-ops-DSlvHp-D.js} +1 -1
- package/dist/client/assets/{mesh-view-store-CliSYsmt.js → mesh-view-store-C1-mdP3P.js} +1 -1
- package/dist/client/assets/{message-circle-CSiJj6yo.js → message-circle-cI5_A5mj.js} +1 -1
- package/dist/client/assets/{message-markup-DgFSyb3f.js → message-markup-6Tgo4qFJ.js} +1 -1
- package/dist/client/assets/{message-square-NmXWtWLR.js → message-square-CJW4WRlo.js} +1 -1
- package/dist/client/assets/{mission-control-store-DZ29Mlj1.js → mission-control-store-p_cboAm4.js} +1 -1
- package/dist/client/assets/monitor-C7_cHlkC.js +1 -0
- package/dist/client/assets/{nav-destinations-CyXnw9kh.js → nav-destinations-CU_euC-Q.js} +1 -1
- package/dist/client/assets/{observe-CkfOxYx_.js → observe-CtS0l3zu.js} +1 -1
- package/dist/client/assets/{operator-attention-DGR4kOog.js → operator-attention-DBaRg5ep.js} +1 -1
- package/dist/client/assets/{page-status-CkS3SZu-.js → page-status-DwFR4wSw.js} +1 -1
- package/dist/client/assets/{panel-right-BNTJhy8M.js → panel-right-qP17MwMl.js} +1 -1
- package/dist/client/assets/{pause-DWS7YGQ3.js → pause-B_hliKuR.js} +1 -1
- package/dist/client/assets/{persistent-state-xsuk6Kc-.js → persistent-state-BUsTTZFE.js} +1 -1
- package/dist/client/assets/{pin-DWlD1BOF.js → pin-Oi4qHR6M.js} +1 -1
- package/dist/client/assets/{play-D_Pggug4.js → play-CVeRmqLH.js} +1 -1
- package/dist/client/assets/{plus-D_wLGJGT.js → plus-D5NLH_fM.js} +1 -1
- package/dist/client/assets/profile-BegEUmB7.js +1 -0
- package/dist/client/assets/projects-inbox-CKPLZN8s.css +1 -0
- package/dist/client/assets/{projects-inbox-DvbqJO3q.js → projects-inbox-CfwxCTdN.js} +1 -1
- package/dist/client/assets/provider-DwmCoSlc.js +1 -0
- package/dist/client/assets/{proxy-DOG46ja4.js → proxy-DgzP27W8.js} +1 -1
- package/dist/client/assets/{radio-C_jtwbFP.js → radio-Cas2qg1D.js} +1 -1
- package/dist/client/assets/{refresh-cw-Da9DDLk2.js → refresh-cw-IcD2lPoT.js} +1 -1
- package/dist/client/assets/resolve-panes-pfZTezKo.js +1 -0
- package/dist/client/assets/resolve-sidebar-context-D5ksvrb_.js +1 -0
- package/dist/client/assets/right-BDaCJ0CF.js +1 -0
- package/dist/client/assets/right-BP6lXRFS.js +1 -0
- package/dist/client/assets/right-Cb1VCrdj.js +1 -0
- package/dist/client/assets/right-CeFaxfBo.js +1 -0
- package/dist/client/assets/right-Ck2SrYCj.js +1 -0
- package/dist/client/assets/right-D-uv5YfF.js +1 -0
- package/dist/client/assets/right-DJMSICky.js +1 -0
- package/dist/client/assets/right-Dnljs8ah.js +1 -0
- package/dist/client/assets/right-SdCSF8PP.js +1 -0
- package/dist/client/assets/{right-BLJsc2-p.js → right-cjPTwPXS.js} +1 -1
- package/dist/client/assets/{rocket-DyrYDo8V.js → rocket-DAqYvu8I.js} +1 -1
- package/dist/client/assets/router-C-MF5-mb.js +1 -0
- package/dist/client/assets/{runtime-picker-DdsttHHc.js → runtime-picker-C_AVYF63.js} +1 -1
- package/dist/client/assets/{scope-views-B7PZGlhY.js → scope-views-Dl3ml9OZ.js} +1 -1
- package/dist/client/assets/{scout-voice-DOQ_B77g.js → scout-voice-CqAyfblr.js} +1 -1
- package/dist/client/assets/{scoutbot-markdown-Bz0Vbto2.js → scoutbot-markdown-DwvGQOWo.js} +1 -1
- package/dist/client/assets/{scroll-text-DwC8r2g6.js → scroll-text-B0tKI9Sg.js} +1 -1
- package/dist/client/assets/{search-C4VlW_0l.js → search-UsM-9-_W.js} +1 -1
- package/dist/client/assets/secondaryNavConfig-D15P1Y9k.css +1 -0
- package/dist/client/assets/secondaryNavConfig-DzNHk6IH.js +1 -0
- package/dist/client/assets/{selection-bridge-B5jqyMR9.js → selection-bridge-OTS2iFkt.js} +1 -1
- package/dist/client/assets/{send-horizontal-pOtGI7FM.js → send-horizontal-BlQsRK6C.js} +1 -1
- package/dist/client/assets/{send-to-agent-session-BZGq_ycy.js → send-to-agent-session-C1mgqdow.js} +1 -1
- package/dist/client/assets/{server-ms1yxUYJ.js → server-DBlPW0Mp.js} +1 -1
- package/dist/client/assets/{session-catalog-s-T_w41t.js → session-catalog-CnpZMB7C.js} +1 -1
- package/dist/client/assets/{session-table-CDx_16xf.js → session-table-CGkfG5Yd.js} +1 -1
- package/dist/client/assets/{sessions-view-DzYGsKWS.js → sessions-view-Bge4XZ4I.js} +1 -1
- package/dist/client/assets/{settings-TJIkkZ0P.js → settings-C69Zjrpq.js} +1 -1
- package/dist/client/assets/{shared-work-artifacts-4IIQXQfc.js → shared-work-artifacts-DfNl9KTo.js} +1 -1
- package/dist/client/assets/{sliders-horizontal-CHf3ntw0.js → sliders-horizontal-6bzeod7c.js} +1 -1
- package/dist/client/assets/{sparkles-BbOFw3d0.js → sparkles-Cc5lPZRv.js} +1 -1
- package/dist/client/assets/{sse-v5QLsOHV.js → sse-A8AyLH0g.js} +1 -1
- package/dist/client/assets/{tail-events-DQ46QBW1.js → tail-events-C4WdhVeK.js} +1 -1
- package/dist/client/assets/{terminal-96JWDYDL.js → terminal-DMZjX1es.js} +1 -1
- package/dist/client/assets/{terminal-relay-Bfx8pg80.js → terminal-relay-mO89dX-Y.js} +1 -1
- package/dist/client/assets/{terminal-sessions-Ch9aYlgi.js → terminal-sessions-3RfJpen8.js} +1 -1
- package/dist/client/assets/{terminal-takeover-BlpxpvSp.js → terminal-takeover-CZZsnPzj.js} +1 -1
- package/dist/client/assets/use-beside-D3cJpA5p.js +1 -0
- package/dist/client/assets/{use-conversation-list-A_YUf8lo.js → use-conversation-list-D5EnpVba.js} +1 -1
- package/dist/client/assets/{use-fleet-active-asks-DFs_u-vM.js → use-fleet-active-asks-D_QOmjg5.js} +1 -1
- package/dist/client/assets/{use-mesh-node-state-Ck9CYplv.js → use-mesh-node-state-3V3ADQ-G.js} +1 -1
- package/dist/client/assets/{use-mesh-ops-items-Be1WmwCg.js → use-mesh-ops-items-DI9GKWlF.js} +1 -1
- package/dist/client/assets/{use-reduced-motion-D7n3vK8t.js → use-reduced-motion-CiaZHMnk.js} +1 -1
- package/dist/client/assets/use-scout-dev-flags-CkdAHlDR.js +1 -0
- package/dist/client/assets/{useAgentHoverCard-Dr-OjNFF.js → useAgentHoverCard-A3QGXqIy.js} +1 -1
- package/dist/client/assets/useContentSecondaryNav-DrL_nkCZ.js +1 -0
- package/dist/client/assets/{useEmbedHeadline-BL8wQawZ.js → useEmbedHeadline-atkQVfGw.js} +1 -1
- package/dist/client/assets/usePersistentState-Y8XwSTg-.js +1 -0
- package/dist/client/assets/{usePierreRuntime-DJkRHMoe.js → usePierreRuntime-DTvcwISe.js} +1 -1
- package/dist/client/assets/users-RLK3P5U4.js +1 -0
- package/dist/client/assets/{wrench-BsMTSeji.js → wrench-B4maQJai.js} +1 -1
- package/dist/client/assets/{x-DI1ktCYb.js → x-rlMdRqJF.js} +1 -1
- package/dist/client/assets/{xterm-B1YBE4Gq.js → xterm-B1zHHOLQ.js} +1 -1
- package/dist/client/assets/{zap-sKPkh4sQ.js → zap-B4X0OrEw.js} +1 -1
- package/dist/client/index.html +15 -3
- package/dist/drizzle/0019_session_actor_targets.sql +227 -0
- package/dist/drizzle/README.md +19 -0
- package/dist/drizzle/meta/0019_snapshot.json +6804 -0
- package/dist/drizzle/meta/_journal.json +7 -0
- package/dist/highlights-eq9cgrbb.scm +604 -0
- package/dist/highlights-ghv9g403.scm +205 -0
- package/dist/highlights-hk7bwhj4.scm +284 -0
- package/dist/highlights-r812a2qc.scm +150 -0
- package/dist/highlights-x6tmsnaa.scm +115 -0
- package/dist/injections-73j83es3.scm +27 -0
- package/dist/main.mjs +1214 -722
- package/dist/node/main.mjs +133 -22
- package/dist/pairing-runtime-controller.mjs +715 -492
- package/dist/runtime/base-daemon.mjs +14176 -58
- package/dist/runtime/broker-daemon.mjs +15520 -445
- package/dist/runtime/broker-process-manager.mjs +5 -3
- package/dist/runtime/mesh-discover.mjs +5 -3
- package/dist/scout-control-plane-web.mjs +21065 -3387
- package/dist/tree-sitter-javascript-nd0q4pe9.wasm +0 -0
- package/dist/tree-sitter-markdown-411r6y9b.wasm +0 -0
- package/dist/tree-sitter-markdown_inline-j5349f42.wasm +0 -0
- package/dist/tree-sitter-typescript-zxjzwt75.wasm +0 -0
- package/dist/tree-sitter-zig-e78zbjpm.wasm +0 -0
- package/dist/update-helper.mjs +83 -17
- package/package.json +2 -2
- package/dist/client/assets/ActivityScreen-DCALiEXY.js +0 -1
- package/dist/client/assets/AgentAdventures-NwTKeF0F.js +0 -1
- package/dist/client/assets/AgentConfigurationScreen-B2Hw0ce1.js +0 -1
- package/dist/client/assets/AgentDefinitionsWorkspace-CwZJ833X.js +0 -1
- package/dist/client/assets/AgentFloorView-l2wNKFob.js +0 -1
- package/dist/client/assets/AgentInfoScreen-ClZM1wQb.js +0 -1
- package/dist/client/assets/AgentLanesEmbedScreen-DqHwqY0X.js +0 -1
- package/dist/client/assets/AgentMasterScreen-By6DN0jF.js +0 -1
- package/dist/client/assets/AgentsConsole-Dq0S_hRA.js +0 -1
- package/dist/client/assets/AgentsScreen-Bi9Lx47B.js +0 -1
- package/dist/client/assets/AgentsSubnav-BOobgtGE.js +0 -1
- package/dist/client/assets/BriefingDetailScreen-sprFl4Nk.js +0 -1
- package/dist/client/assets/BrokerScreen-CejzhRsB.js +0 -8
- package/dist/client/assets/ConversationFeedRows-DVqnZQH0.js +0 -1
- package/dist/client/assets/ConversationHeader-CCSU8uo_.js +0 -1
- package/dist/client/assets/ConversationScreen-tTP6B_F-.js +0 -2
- package/dist/client/assets/CrewWorkspaces-4O8dgRUD.js +0 -1
- package/dist/client/assets/CrewWorkspaces-Diq11KDq.css +0 -1
- package/dist/client/assets/FlightObserveScreen-DDXfNbsw.js +0 -1
- package/dist/client/assets/FloorResourcesSheet-Djrgd_ZU.js +0 -1
- package/dist/client/assets/HarnessMark-Bt47OeHy.js +0 -1
- package/dist/client/assets/HarnessesScreen-M84sFjWY.js +0 -1
- package/dist/client/assets/KnowledgeSearchScreen-WC0WhFio.js +0 -1
- package/dist/client/assets/LaneTraceDetailSheet-mAhj7MJi.js +0 -1
- package/dist/client/assets/MeshScreen-DlfiMlaR.js +0 -1
- package/dist/client/assets/MessagesScreen-BZ7yaGJx.js +0 -1
- package/dist/client/assets/MissionControlView-DpGhxG4a.js +0 -1
- package/dist/client/assets/MissionLeftAgentRow-DhhRRim0.js +0 -1
- package/dist/client/assets/NativeAreaScreen-BQyHHRAM.js +0 -1
- package/dist/client/assets/NativeAreaScreen-Ditv-TYW.js +0 -1
- package/dist/client/assets/NativeAreaScreen-Dq3uPSEI.js +0 -1
- package/dist/client/assets/NewChatComposer-JjLbm3W2.js +0 -19
- package/dist/client/assets/OpenScoutAppShell-CzKbjwCA.js +0 -22
- package/dist/client/assets/OpsAgentsView-CZbtkcQH.js +0 -1
- package/dist/client/assets/OpsScreen-DJq-aBmX.js +0 -1
- package/dist/client/assets/OpsSubnav-9sURjajO.js +0 -1
- package/dist/client/assets/ProjectAgentProfile-q_1tMJIL.js +0 -1
- package/dist/client/assets/ProjectAgentProfileHero-DyEFyTFs.js +0 -1
- package/dist/client/assets/ProjectsInbox-Bs8I__my.js +0 -2
- package/dist/client/assets/ProjectsRail-Deb38OJ1.js +0 -1
- package/dist/client/assets/ProjectsScreen-CgLiYiss.js +0 -1
- package/dist/client/assets/ProjectsThreadAside-C0Yw3yIL.js +0 -1
- package/dist/client/assets/RawSessionsTable-DIhmlvk-.js +0 -1
- package/dist/client/assets/RealtimeVoiceScreen-3oU7b7V5.js +0 -1
- package/dist/client/assets/RepoDiffViewerLazy-BQ6ZCrsq.js +0 -2
- package/dist/client/assets/SessionRefScreen-BOQ1_ydg.js +0 -1
- package/dist/client/assets/SessionsScreen-R8QKvoey.js +0 -1
- package/dist/client/assets/SettingsScreen-DirtO7Z0.js +0 -1
- package/dist/client/assets/SharedWorkFloor-yPWFLZwX.js +0 -2
- package/dist/client/assets/Terminal-D-DsQlmV.js +0 -4
- package/dist/client/assets/TerminalEmbedScreen-9Gmln759.js +0 -1
- package/dist/client/assets/WorldActorTalk-uIH2jGqA.js +0 -1
- package/dist/client/assets/agent-autocomplete-CeHQpuG9.js +0 -10
- package/dist/client/assets/arrow-down-WoVlkUmg.js +0 -1
- package/dist/client/assets/chunk-JTPDIGGW-ZC-98AHT.js +0 -46
- package/dist/client/assets/chunk-T65CQEWV-CSVUz2rY.js +0 -1
- package/dist/client/assets/chunk-YOZR3KYS-B59jqwO0.js +0 -2
- package/dist/client/assets/content-B5Q4pb9R.js +0 -1
- package/dist/client/assets/content-BK1IfOZs.js +0 -1
- package/dist/client/assets/content-BeEsWLEm.js +0 -1
- package/dist/client/assets/content-BkOwEknW.js +0 -1
- package/dist/client/assets/content-C32W5kAG.js +0 -1
- package/dist/client/assets/content-CoqyLs9v.js +0 -1
- package/dist/client/assets/content-CwpdIS5b.js +0 -1
- package/dist/client/assets/content-DS2OkJ3Q.js +0 -1
- package/dist/client/assets/content-DXKaPDfn.js +0 -1
- package/dist/client/assets/content-DZt5-dkI.js +0 -1
- package/dist/client/assets/content-DbQJH8L1.js +0 -1
- package/dist/client/assets/content-DetoiaHq.js +0 -1
- package/dist/client/assets/content-Dhu3wL7J.js +0 -1
- package/dist/client/assets/content-Dpv34iZu.js +0 -1
- package/dist/client/assets/content-TtQJb61D.js +0 -1
- package/dist/client/assets/content-ymNb2R7g.js +0 -1
- package/dist/client/assets/conversation-motion-features-9x8uZpwh.js +0 -1
- package/dist/client/assets/discover-C8IOY7_K.js +0 -2
- package/dist/client/assets/embed-entry-CG3CfCbm.js +0 -2
- package/dist/client/assets/home-now-card-DduXkHRR.js +0 -1
- package/dist/client/assets/hooks-C6VyQTQe.js +0 -2
- package/dist/client/assets/index-C5cX8dkl.js +0 -1
- package/dist/client/assets/index-C8uS5szO.js +0 -10
- package/dist/client/assets/index-Ck1__1yL.css +0 -1
- package/dist/client/assets/index-ClOOrVG1.js +0 -1
- package/dist/client/assets/index-Crtgfc9I.js +0 -1
- package/dist/client/assets/lane-ask-display-B6iCAVcd.js +0 -18
- package/dist/client/assets/left-B-_z_nqj.js +0 -2
- package/dist/client/assets/left-B1LY7rJc.js +0 -1
- package/dist/client/assets/left-C6bdjWcG.js +0 -2
- package/dist/client/assets/left-CF4iuqlz.js +0 -1
- package/dist/client/assets/left-DLtNyZl1.js +0 -1
- package/dist/client/assets/left-Fpxoq-VY.js +0 -1
- package/dist/client/assets/left-N2wXfTlp.js +0 -1
- package/dist/client/assets/left-advisor-CeIjCKbd.js +0 -1
- package/dist/client/assets/left-agents-upjHVlOj.js +0 -1
- package/dist/client/assets/left-default-08gmdCtb.js +0 -1
- package/dist/client/assets/left-lanes-Cvsp73Hw.js +0 -1
- package/dist/client/assets/left-mission-W1LLaz74.js +0 -1
- package/dist/client/assets/library-DLKBVUJ6.js +0 -1
- package/dist/client/assets/profile-C3KgiZvc.js +0 -1
- package/dist/client/assets/projects-inbox-BIW7nv-H.css +0 -1
- package/dist/client/assets/resolve-panes-DuowGRTk.js +0 -1
- package/dist/client/assets/resolve-sidebar-context-BkTbqteq.js +0 -1
- package/dist/client/assets/right-B9OUA6Ho.js +0 -1
- package/dist/client/assets/right-BDQnjetX.js +0 -1
- package/dist/client/assets/right-BUbKHmRH.js +0 -1
- package/dist/client/assets/right-Ci2IcD4s.js +0 -1
- package/dist/client/assets/right-CmCce3e5.js +0 -1
- package/dist/client/assets/right-D7w0zM5a.js +0 -1
- package/dist/client/assets/right-DIoON_bv.js +0 -1
- package/dist/client/assets/right-E0Jr3VN5.js +0 -1
- package/dist/client/assets/right-lCdAk9dW.js +0 -1
- package/dist/client/assets/router-BKiMcYa7.js +0 -1
- package/dist/client/assets/secondaryNavConfig-DAXIFtVd.js +0 -1
- package/dist/client/assets/secondaryNavConfig-xssF_ubT.css +0 -1
- package/dist/client/assets/use-beside-Df-F2Uvg.js +0 -1
- package/dist/client/assets/use-scout-dev-flags-0TXfQcG0.js +0 -1
- package/dist/client/assets/useContentSecondaryNav-CGvMOVGY.js +0 -1
package/dist/client/assets/{home-moving-signal-B7m-ngb2.js → home-moving-signal-BIHUGNfI.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as x,j as s}from"./index-C8uS5szO.js";import{H as I}from"./HarnessMark-Bt47OeHy.js";import{n as S}from"./time-Dhsh_2EG.js";import{i as T}from"./agent-lanes-model-CX0wTcnF.js";import{u as v,l as $,a as P,c as H,h as z,b as F,d as b}from"./home-live-action-BkqGLVRY.js";import{C as W}from"./cpu-Ck_4tB_-.js";import{G as D}from"./git-branch-CA3cHKCI.js";import{X as q}from"./x-DI1ktCYb.js";import{F as X}from"./file-code-corner-D_Aptal2.js";import{A as _}from"./arrow-right-ldbfp4SZ.js";import{T as J}from"./terminal-96JWDYDL.js";import"./lane-ask-display-B6iCAVcd.js";import"./context-budget-DemtXu7E.js";import"./terminal-sessions-Ch9aYlgi.js";import"./api-CaROe5_H.js";import"./lane-observe-BD21P8BB.js";import"./tail-display-DHSNmvor.js";import"./lane-edit-display-BjdT9oZl.js";import"./synthetic-agent-routing-aduMYO7P.js";import"./createLucideIcon-DkjnzvcJ.js";function Q(e){const i=e?.task?.trim();return!i||/^(working|idle|queued)$/i.test(i)?null:v(i)}function Y(e,i){const n=e?.replace(/\s+/g," ").trim().toLowerCase()??"",t=i?.replace(/\s+/g," ").trim().toLowerCase()??"";return!!(n&&t&&n!==t)}function y(e,i){const n=S(e);if(n===null)return"—";const t=Math.max(0,Math.floor((i-n)/1e3));if(t<60)return`${t}s`;const a=Math.floor(t/60);if(a<60)return`${a}m`;const o=Math.floor(a/60);return o<48?`${o}h`:`${Math.floor(o/24)}d`}function C(e){return e?e.startsWith("/Users/")?`~/${e.split("/").slice(3).join("/")}`:(e.startsWith("~/"),e):null}function M(e){const i=C(e);if(!i)return"other";const n=i.replace(/\/+$/u,"").split("/").filter(Boolean);return n[n.length-1]??i}function K(e){if(!C(e))return"other";const n=M(e);return n==="other"?"other":`~/${n}`}function U(e,i=140){const n=(e??"").replace(/\s+/g," ").trim();return n?n.length>i?`${n.slice(0,i-1)}…`:n:""}function B(e){const i=e?.metadata?.usage,n=i?.contextInputTokens,t=i?.contextWindowTokens;return typeof n=="number"&&typeof t=="number"&&t>0?{contextPct:Math.min(100,Math.round(n/t*100)),tokensUsed:n,tokensMax:t}:{contextPct:null,tokensUsed:null,tokensMax:null}}function Z(e,i,n,t,a,o){const c=e.projectRoot??e.cwd??null,u=M(c),m=Q(i),g=v($({observeData:n,checkpoint:null,fallbackTask:null,observeLive:t,skipLifecycleTokens:!0})),p=v(P(n)),N=!m&&!g&&!p,r=H({harness:e.harness,project:u==="other"?null:u,branch:e.branch,live:t,attachedOnly:N&&!t}),f=m||g||v(i?.summary)||p||r||"Working",j=m&&g&&Y(m,g)?g:null,h=S(n?.metadata?.session?.sessionStart),{contextPct:R,tokensUsed:k,tokensMax:L}=B(n);return{id:e.id,action:v(f)||U(f,160)||"Working",nowLine:j,name:e.name,harness:e.harness?.trim()||null,projectKey:u,projectLabel:K(c),projectRoot:c,branch:e.branch?.trim()||null,lastAge:y(a,o),sessionAge:h!==null?y(h,o):null,live:t||!!(i&&(i.status==="working"||i.agentState==="working"||i.agentState==="in_flight")),contextPct:R,tokensUsed:k,tokensMax:L,touchedFiles:n?.files??[],recentEvents:(n?.events??[]).slice(-6),observeData:n??null,agent:e,observeRoute:b(e,"observe"),profileRoute:b(e,"profile"),terminalRoute:b(e,"terminal"),peekRoute:b(e,"peek"),terminalEnabled:F(e),peekEnabled:z(e)}}function w(e,i,n){const t=e.agent,a=T(e.observe),o=t.projectRoot??t.cwd??null,c=M(o),u=v($({observeData:e.observe,fallbackTask:null,observeLive:a,skipLifecycleTokens:!0})),m=v(P(e.observe)),g=u||m||H({harness:t.harness,project:c==="other"?null:c,branch:t.branch,live:a,attachedOnly:!u&&!m}),p=S(e.observe?.metadata?.session?.sessionStart),{contextPct:N,tokensUsed:r,tokensMax:f}=B(e.observe);return{id:e.id,action:v(g)||U(g,160)||"Active",nowLine:null,name:t.name,harness:t.harness?.trim()||null,projectKey:c,projectLabel:K(o),projectRoot:o,branch:t.branch?.trim()||null,lastAge:y(i,n),sessionAge:p!==null?y(p,n):null,live:a,contextPct:N,tokensUsed:r,tokensMax:f,touchedFiles:e.observe?.files??[],recentEvents:(e.observe?.events??[]).slice(-6),observeData:e.observe??null,agent:t,observeRoute:b(t,"observe"),profileRoute:b(t,"profile"),terminalRoute:b(t,"terminal"),peekRoute:b(t,"peek"),terminalEnabled:F(t),peekEnabled:z(t)}}function ee(e,i,n){const t=e.actorName??e.agentName??e.agentId??"Observed",a=v(e.title)||v(e.summary)||"Observed activity",o=e.conversationId?{view:"conversation",conversationId:e.conversationId}:e.recordId?{view:"work",workId:e.recordId}:e.agentId?{view:"agents-v2",agentId:e.agentId}:null;return{id:e.id,action:a,nowLine:null,name:t,harness:null,projectKey:"observed",projectLabel:"observed",projectRoot:null,branch:null,lastAge:y(i,n),sessionAge:null,live:!1,contextPct:null,tokensUsed:null,tokensMax:null,touchedFiles:[],recentEvents:[],observeData:null,agent:null,observeRoute:o,profileRoute:e.agentId?{view:"agents-v2",agentId:e.agentId,tab:"profile"}:null,terminalRoute:null,peekRoute:null,terminalEnabled:!1,peekEnabled:!1}}function se(e){const i=new Map;for(const n of e){const t=i.get(n.projectKey)??[];t.push(n),i.set(n.projectKey,t)}return[...i.entries()]}function Le({cards:e,sort:i,nowMs:n,movingAskByAgent:t,observeCache:a,navigate:o}){const[c,u]=x.useState(null),[m,g]=x.useState(null),p=x.useRef(null),N=x.useRef(null),r=x.useMemo(()=>e.map(l=>l.bucket==="working"?Z(l.agent,t.get(l.agent.id),a[l.agent.id]?.data??null,T(a[l.agent.id]?.data),l.lastActivityAt,n):l.bucket==="native"?w(l.lane,l.lastActivityAt,n):ee(l.actor,l.lastActivityAt,n)),[e,t,n,a]),f=x.useMemo(()=>se(r),[r]),j=r.findIndex(l=>l.id===c),h=j>=0?r[j]:null,R=x.useCallback((l,d)=>{c||(p.current!==null&&window.clearTimeout(p.current),p.current=window.setTimeout(()=>{const O=Math.max(16,Math.min(d.left+96,window.innerWidth-360-16)),V=d.bottom+8+220>window.innerHeight?Math.max(16,d.top-8-220):d.bottom+8;g({id:l,top:V,left:O})},180))},[c]),k=x.useCallback(()=>{p.current!==null&&window.clearTimeout(p.current),p.current=null,g(null)},[]),L=x.useCallback(l=>{k(),u(d=>d===l?null:l)},[k]),G=x.useCallback(l=>{if(r.length!==0)if(l.key==="ArrowDown"){l.preventDefault();const d=j<0?0:Math.min(r.length-1,j+1);u(r[d]?.id??null)}else if(l.key==="ArrowUp"){l.preventDefault();const d=j<0?r.length-1:Math.max(0,j-1);u(r[d]?.id??null)}else l.key==="Escape"?(l.preventDefault(),u(null)):l.key==="Enter"&&h&&h.observeRoute&&(l.preventDefault(),o(h.observeRoute))},[o,h,j,r]);return x.useEffect(()=>{c&&!r.some(l=>l.id===c)&&u(null)},[c,r]),s.jsxs("div",{ref:N,className:`s-moving-signal-stage ${h?"s-moving-signal-stage--split":""}`,onKeyDown:G,tabIndex:0,role:"region","aria-label":"What's moving signal stream and inspector",children:[s.jsx("div",{className:"s-moving-stream-pane",children:i==="grouped"?s.jsx("div",{className:"s-moving-signal-grouped",children:f.map(([l,d])=>s.jsxs("section",{className:"s-moving-signal-group",children:[s.jsxs("header",{className:"s-moving-signal-band",children:[s.jsx("span",{className:"s-moving-signal-band-title",children:d[0]?.projectLabel??l}),s.jsxs("span",{className:"label-xs s-moving-signal-band-count",children:[d.length," ",d.length===1?"Signal":"Signals",d[0]?.branch?` · ${d[0].branch}`:""]})]}),s.jsx("div",{className:"s-moving-signal-list",children:d.map(A=>s.jsx(E,{row:A,grouped:!0,selected:c===A.id,onSelect:L,onHoverStart:R,onHoverEnd:k},A.id))})]},l))}):s.jsx("div",{className:"s-moving-signal-list",children:r.map(l=>s.jsx(E,{row:l,selected:c===l.id,onSelect:L,onHoverStart:R,onHoverEnd:k},l.id))})}),h&&s.jsx("aside",{className:"s-moving-inspector-pane","aria-label":`Live Inspector · ${h.name}`,children:s.jsx(ne,{row:h,onClose:()=>u(null),navigate:o})}),!h&&m&&s.jsx(te,{row:r.find(l=>l.id===m.id)??null,top:m.top,left:m.left})]})}function E({row:e,grouped:i,selected:n,onSelect:t,onHoverStart:a,onHoverEnd:o}){const c=e.projectKey!=="other"&&e.projectKey!=="observed",u=i||!c?e.name:e.projectKey;return s.jsx("div",{className:"s-moving-signal-item",children:s.jsxs("button",{type:"button",className:`s-moving-signal-row ${n?"is-selected":""}`,"aria-pressed":n,onClick:()=>t(e.id),onMouseEnter:m=>a(e.id,m.currentTarget.getBoundingClientRect()),onMouseLeave:o,onFocus:m=>a(e.id,m.currentTarget.getBoundingClientRect()),onBlur:o,children:[s.jsxs("span",{className:`s-moving-signal-age ${e.live?"is-live":""}`,children:[s.jsx("span",{className:`dot ${e.live?"dot--working dot--pulse dot--glow":"dot--neutral"}`,"aria-hidden":"true"}),s.jsx("span",{className:"label-xs",children:e.lastAge})]}),s.jsx("span",{className:"s-moving-signal-mark",children:e.harness?s.jsx(I,{harness:e.harness,size:12}):s.jsx(W,{size:12})}),s.jsxs("span",{className:"s-moving-signal-where",children:[s.jsx("span",{className:"s-moving-signal-project",children:u}),e.branch&&s.jsxs("span",{className:"chip chip--mono chip--sm chip--neutral s-moving-signal-branch-chip",children:[s.jsx(D,{size:9,"aria-hidden":"true"}),s.jsx("span",{children:e.branch})]})]}),s.jsx("span",{className:"s-moving-signal-action",title:e.action,children:e.action}),e.contextPct!==null&&s.jsxs("span",{className:"s-moving-signal-ctx-badge",title:`Context window: ${e.contextPct}%`,children:[s.jsx("span",{className:"s-moving-signal-ctx-mini-bar",children:s.jsx("span",{className:"s-moving-signal-ctx-mini-fill",style:{width:`${e.contextPct}%`}})}),s.jsxs("span",{className:"label-xs",children:[e.contextPct,"%"]})]})]})})}function ne({row:e,onClose:i,navigate:n}){return s.jsxs("div",{className:"s-moving-inspector",children:[s.jsxs("header",{className:"s-moving-inspector-head",children:[s.jsxs("div",{className:"s-moving-inspector-head-left",children:[s.jsx("span",{className:`dot dot--sm ${e.live?"dot--working dot--glow dot--pulse":"dot--neutral"}`,"aria-hidden":"true"}),s.jsx("span",{className:"label-xs s-moving-inspector-live-status",children:e.live?"LIVE ACTIVE":"IDLE / LOGGED"}),s.jsxs("span",{className:"label-xs s-moving-inspector-age",children:[e.lastAge," ago"]})]}),s.jsx("div",{className:"s-moving-inspector-head-right",children:s.jsx("button",{type:"button",className:"s-moving-inspector-close-btn",title:"Close inspector (Esc)","aria-label":"Close inspector",onClick:i,children:s.jsx(q,{size:13,"aria-hidden":"true"})})})]}),s.jsxs("div",{className:"s-moving-inspector-agent-strip",children:[s.jsxs("div",{className:"s-moving-inspector-agent-ident",children:[s.jsx("span",{className:"s-moving-inspector-harness-icon",children:e.harness?s.jsx(I,{harness:e.harness,size:16}):s.jsx(W,{size:16})}),s.jsxs("div",{className:"s-moving-inspector-agent-meta",children:[s.jsx("span",{className:"s-moving-inspector-name",children:e.name}),s.jsx("span",{className:"label-xs s-moving-inspector-harness-tag",children:e.harness||"native agent"})]})]}),e.branch&&s.jsxs("span",{className:"chip chip--mono chip--sm chip--working",children:[s.jsx(D,{size:10,"aria-hidden":"true"}),s.jsx("span",{children:e.branch})]})]}),s.jsxs("div",{className:"s-moving-inspector-body",children:[s.jsxs("div",{className:"s-moving-inspector-section",children:[s.jsx("span",{className:"label-xs s-moving-inspector-sec-label",children:"Active Task"}),s.jsx("p",{className:"s-moving-inspector-action-text",children:e.action})]}),e.nowLine&&s.jsxs("div",{className:"s-moving-inspector-section s-moving-inspector-section--now",children:[s.jsx("span",{className:"label-xs s-moving-inspector-now-badge",children:"Latest Step"}),s.jsx("p",{className:"s-moving-inspector-now-text",children:e.nowLine})]}),e.contextPct!==null&&s.jsxs("div",{className:"s-moving-inspector-section s-moving-inspector-token-sec",children:[s.jsxs("div",{className:"s-moving-inspector-token-header",children:[s.jsx("span",{className:"label-xs s-moving-inspector-sec-label",children:"Context Window"}),s.jsxs("span",{className:"label-xs s-moving-inspector-token-pct",children:[e.contextPct,"%"]})]}),s.jsx("div",{className:"s-moving-inspector-token-bar",children:s.jsx("div",{className:`s-moving-inspector-token-fill ${e.contextPct>80?"s-moving-inspector-token-fill--warn":""}`,style:{width:`${e.contextPct}%`}})}),e.tokensUsed!==null&&e.tokensMax!==null&&s.jsxs("span",{className:"label-xs s-moving-inspector-token-counts",children:[Math.round(e.tokensUsed/1e3),"k / ",Math.round(e.tokensMax/1e3),"k tokens"]})]}),s.jsxs("div",{className:"s-moving-inspector-section",children:[s.jsx("span",{className:"label-xs s-moving-inspector-sec-label",children:"Session Metadata"}),s.jsxs("dl",{className:"s-moving-inspector-meta-grid",children:[e.projectRoot&&s.jsxs("div",{children:[s.jsx("dt",{children:"Root"}),s.jsx("dd",{title:e.projectRoot,children:C(e.projectRoot)})]}),e.sessionAge&&s.jsxs("div",{children:[s.jsx("dt",{children:"Session"}),s.jsxs("dd",{children:[e.sessionAge," uptime"]})]}),s.jsxs("div",{children:[s.jsx("dt",{children:"Status"}),s.jsx("dd",{children:e.live?"streaming":"ready"})]})]})]}),e.touchedFiles.length>0&&s.jsxs("div",{className:"s-moving-inspector-section",children:[s.jsxs("span",{className:"label-xs s-moving-inspector-sec-label",children:["Active Files (",e.touchedFiles.length,")"]}),s.jsx("ul",{className:"s-moving-inspector-files-list",children:e.touchedFiles.slice(0,4).map((t,a)=>s.jsxs("li",{className:"s-moving-inspector-file-item",children:[s.jsx(X,{size:11,"aria-hidden":"true"}),s.jsx("span",{className:"s-moving-inspector-file-path",title:t.path,children:t.path.split("/").slice(-2).join("/")})]},a))})]})]}),s.jsxs("footer",{className:"s-moving-inspector-footer",children:[e.observeRoute&&s.jsxs("button",{type:"button",className:"btn btn--sm btn--accent s-moving-inspector-primary-action",onClick:()=>n(e.observeRoute),children:[s.jsx("span",{children:"Observe Live"}),s.jsx(_,{size:11,"aria-hidden":"true"})]}),e.profileRoute&&s.jsx("button",{type:"button",className:"btn btn--sm btn--ghost",onClick:()=>n(e.profileRoute),children:s.jsx("span",{children:"Profile"})}),e.terminalEnabled&&e.terminalRoute&&s.jsxs("button",{type:"button",className:"btn btn--sm btn--ghost",onClick:()=>n(e.terminalRoute),children:[s.jsx(J,{size:11,"aria-hidden":"true"}),s.jsx("span",{children:"Terminal"})]})]})]})}function te({row:e,top:i,left:n}){return e?s.jsxs("div",{className:"s-moving-signal-hovercard",style:{top:i,left:n},role:"tooltip","aria-hidden":"true",children:[s.jsxs("div",{className:"s-moving-signal-hover-kicker",children:[e.live&&s.jsx("span",{className:"chip chip--working chip--sm chip--caps",children:"Live"}),s.jsxs("span",{className:"label-xs",children:[e.lastAge," ago"]}),e.harness&&s.jsx(I,{harness:e.harness,size:11}),s.jsx("span",{className:"s-moving-signal-hover-name",children:e.name})]}),s.jsx("p",{className:"s-moving-signal-hover-action",children:e.action}),e.nowLine&&s.jsxs("p",{className:"s-moving-signal-hover-now",children:[s.jsx("span",{className:"label-xs s-moving-signal-hover-now-tag",children:"Now"}),s.jsx("span",{children:e.nowLine})]})]}):null}export{Le as HomeMovingSignalList};
|
|
1
|
+
import{r as x,j as s}from"./index-DReVb7jZ.js";import{H as I}from"./HarnessMark-DSvM_H7H.js";import{n as S}from"./time-Dhsh_2EG.js";import{i as T}from"./agent-lanes-model-DMAdqCmK.js";import{u as v,l as $,a as P,c as H,h as z,b as F,d as b}from"./home-live-action-BkqGLVRY.js";import{C as W}from"./cpu-Q6nrHFTN.js";import{G as D}from"./git-branch-DcUCsWdJ.js";import{X as q}from"./x-rlMdRqJF.js";import{F as X}from"./file-code-corner-Be6da5l3.js";import{A as _}from"./arrow-right-DmAWnyAH.js";import{T as J}from"./terminal-DMZjX1es.js";import"./lane-ask-display-BTVSakyo.js";import"./context-budget-8qFKqM-j.js";import"./terminal-sessions-3RfJpen8.js";import"./api-DSqpVKC7.js";import"./lane-observe-CteDwdD-.js";import"./tail-display-DHSNmvor.js";import"./lane-edit-display-BjdT9oZl.js";import"./synthetic-agent-routing-aduMYO7P.js";import"./createLucideIcon-ChvMq-zl.js";function Q(e){const i=e?.task?.trim();return!i||/^(working|idle|queued)$/i.test(i)?null:v(i)}function Y(e,i){const n=e?.replace(/\s+/g," ").trim().toLowerCase()??"",t=i?.replace(/\s+/g," ").trim().toLowerCase()??"";return!!(n&&t&&n!==t)}function y(e,i){const n=S(e);if(n===null)return"—";const t=Math.max(0,Math.floor((i-n)/1e3));if(t<60)return`${t}s`;const a=Math.floor(t/60);if(a<60)return`${a}m`;const o=Math.floor(a/60);return o<48?`${o}h`:`${Math.floor(o/24)}d`}function C(e){return e?e.startsWith("/Users/")?`~/${e.split("/").slice(3).join("/")}`:(e.startsWith("~/"),e):null}function M(e){const i=C(e);if(!i)return"other";const n=i.replace(/\/+$/u,"").split("/").filter(Boolean);return n[n.length-1]??i}function K(e){if(!C(e))return"other";const n=M(e);return n==="other"?"other":`~/${n}`}function U(e,i=140){const n=(e??"").replace(/\s+/g," ").trim();return n?n.length>i?`${n.slice(0,i-1)}…`:n:""}function B(e){const i=e?.metadata?.usage,n=i?.contextInputTokens,t=i?.contextWindowTokens;return typeof n=="number"&&typeof t=="number"&&t>0?{contextPct:Math.min(100,Math.round(n/t*100)),tokensUsed:n,tokensMax:t}:{contextPct:null,tokensUsed:null,tokensMax:null}}function Z(e,i,n,t,a,o){const c=e.projectRoot??e.cwd??null,u=M(c),m=Q(i),g=v($({observeData:n,checkpoint:null,fallbackTask:null,observeLive:t,skipLifecycleTokens:!0})),p=v(P(n)),N=!m&&!g&&!p,r=H({harness:e.harness,project:u==="other"?null:u,branch:e.branch,live:t,attachedOnly:N&&!t}),f=m||g||v(i?.summary)||p||r||"Working",j=m&&g&&Y(m,g)?g:null,h=S(n?.metadata?.session?.sessionStart),{contextPct:R,tokensUsed:k,tokensMax:L}=B(n);return{id:e.id,action:v(f)||U(f,160)||"Working",nowLine:j,name:e.name,harness:e.harness?.trim()||null,projectKey:u,projectLabel:K(c),projectRoot:c,branch:e.branch?.trim()||null,lastAge:y(a,o),sessionAge:h!==null?y(h,o):null,live:t||!!(i&&(i.status==="working"||i.agentState==="working"||i.agentState==="in_flight")),contextPct:R,tokensUsed:k,tokensMax:L,touchedFiles:n?.files??[],recentEvents:(n?.events??[]).slice(-6),observeData:n??null,agent:e,observeRoute:b(e,"observe"),profileRoute:b(e,"profile"),terminalRoute:b(e,"terminal"),peekRoute:b(e,"peek"),terminalEnabled:F(e),peekEnabled:z(e)}}function w(e,i,n){const t=e.agent,a=T(e.observe),o=t.projectRoot??t.cwd??null,c=M(o),u=v($({observeData:e.observe,fallbackTask:null,observeLive:a,skipLifecycleTokens:!0})),m=v(P(e.observe)),g=u||m||H({harness:t.harness,project:c==="other"?null:c,branch:t.branch,live:a,attachedOnly:!u&&!m}),p=S(e.observe?.metadata?.session?.sessionStart),{contextPct:N,tokensUsed:r,tokensMax:f}=B(e.observe);return{id:e.id,action:v(g)||U(g,160)||"Active",nowLine:null,name:t.name,harness:t.harness?.trim()||null,projectKey:c,projectLabel:K(o),projectRoot:o,branch:t.branch?.trim()||null,lastAge:y(i,n),sessionAge:p!==null?y(p,n):null,live:a,contextPct:N,tokensUsed:r,tokensMax:f,touchedFiles:e.observe?.files??[],recentEvents:(e.observe?.events??[]).slice(-6),observeData:e.observe??null,agent:t,observeRoute:b(t,"observe"),profileRoute:b(t,"profile"),terminalRoute:b(t,"terminal"),peekRoute:b(t,"peek"),terminalEnabled:F(t),peekEnabled:z(t)}}function ee(e,i,n){const t=e.actorName??e.agentName??e.agentId??"Observed",a=v(e.title)||v(e.summary)||"Observed activity",o=e.conversationId?{view:"conversation",conversationId:e.conversationId}:e.recordId?{view:"work",workId:e.recordId}:e.agentId?{view:"agents-v2",agentId:e.agentId}:null;return{id:e.id,action:a,nowLine:null,name:t,harness:null,projectKey:"observed",projectLabel:"observed",projectRoot:null,branch:null,lastAge:y(i,n),sessionAge:null,live:!1,contextPct:null,tokensUsed:null,tokensMax:null,touchedFiles:[],recentEvents:[],observeData:null,agent:null,observeRoute:o,profileRoute:e.agentId?{view:"agents-v2",agentId:e.agentId,tab:"profile"}:null,terminalRoute:null,peekRoute:null,terminalEnabled:!1,peekEnabled:!1}}function se(e){const i=new Map;for(const n of e){const t=i.get(n.projectKey)??[];t.push(n),i.set(n.projectKey,t)}return[...i.entries()]}function Le({cards:e,sort:i,nowMs:n,movingAskByAgent:t,observeCache:a,navigate:o}){const[c,u]=x.useState(null),[m,g]=x.useState(null),p=x.useRef(null),N=x.useRef(null),r=x.useMemo(()=>e.map(l=>l.bucket==="working"?Z(l.agent,t.get(l.agent.id),a[l.agent.id]?.data??null,T(a[l.agent.id]?.data),l.lastActivityAt,n):l.bucket==="native"?w(l.lane,l.lastActivityAt,n):ee(l.actor,l.lastActivityAt,n)),[e,t,n,a]),f=x.useMemo(()=>se(r),[r]),j=r.findIndex(l=>l.id===c),h=j>=0?r[j]:null,R=x.useCallback((l,d)=>{c||(p.current!==null&&window.clearTimeout(p.current),p.current=window.setTimeout(()=>{const O=Math.max(16,Math.min(d.left+96,window.innerWidth-360-16)),V=d.bottom+8+220>window.innerHeight?Math.max(16,d.top-8-220):d.bottom+8;g({id:l,top:V,left:O})},180))},[c]),k=x.useCallback(()=>{p.current!==null&&window.clearTimeout(p.current),p.current=null,g(null)},[]),L=x.useCallback(l=>{k(),u(d=>d===l?null:l)},[k]),G=x.useCallback(l=>{if(r.length!==0)if(l.key==="ArrowDown"){l.preventDefault();const d=j<0?0:Math.min(r.length-1,j+1);u(r[d]?.id??null)}else if(l.key==="ArrowUp"){l.preventDefault();const d=j<0?r.length-1:Math.max(0,j-1);u(r[d]?.id??null)}else l.key==="Escape"?(l.preventDefault(),u(null)):l.key==="Enter"&&h&&h.observeRoute&&(l.preventDefault(),o(h.observeRoute))},[o,h,j,r]);return x.useEffect(()=>{c&&!r.some(l=>l.id===c)&&u(null)},[c,r]),s.jsxs("div",{ref:N,className:`s-moving-signal-stage ${h?"s-moving-signal-stage--split":""}`,onKeyDown:G,tabIndex:0,role:"region","aria-label":"What's moving signal stream and inspector",children:[s.jsx("div",{className:"s-moving-stream-pane",children:i==="grouped"?s.jsx("div",{className:"s-moving-signal-grouped",children:f.map(([l,d])=>s.jsxs("section",{className:"s-moving-signal-group",children:[s.jsxs("header",{className:"s-moving-signal-band",children:[s.jsx("span",{className:"s-moving-signal-band-title",children:d[0]?.projectLabel??l}),s.jsxs("span",{className:"label-xs s-moving-signal-band-count",children:[d.length," ",d.length===1?"Signal":"Signals",d[0]?.branch?` · ${d[0].branch}`:""]})]}),s.jsx("div",{className:"s-moving-signal-list",children:d.map(A=>s.jsx(E,{row:A,grouped:!0,selected:c===A.id,onSelect:L,onHoverStart:R,onHoverEnd:k},A.id))})]},l))}):s.jsx("div",{className:"s-moving-signal-list",children:r.map(l=>s.jsx(E,{row:l,selected:c===l.id,onSelect:L,onHoverStart:R,onHoverEnd:k},l.id))})}),h&&s.jsx("aside",{className:"s-moving-inspector-pane","aria-label":`Live Inspector · ${h.name}`,children:s.jsx(ne,{row:h,onClose:()=>u(null),navigate:o})}),!h&&m&&s.jsx(te,{row:r.find(l=>l.id===m.id)??null,top:m.top,left:m.left})]})}function E({row:e,grouped:i,selected:n,onSelect:t,onHoverStart:a,onHoverEnd:o}){const c=e.projectKey!=="other"&&e.projectKey!=="observed",u=i||!c?e.name:e.projectKey;return s.jsx("div",{className:"s-moving-signal-item",children:s.jsxs("button",{type:"button",className:`s-moving-signal-row ${n?"is-selected":""}`,"aria-pressed":n,onClick:()=>t(e.id),onMouseEnter:m=>a(e.id,m.currentTarget.getBoundingClientRect()),onMouseLeave:o,onFocus:m=>a(e.id,m.currentTarget.getBoundingClientRect()),onBlur:o,children:[s.jsxs("span",{className:`s-moving-signal-age ${e.live?"is-live":""}`,children:[s.jsx("span",{className:`dot ${e.live?"dot--working dot--pulse dot--glow":"dot--neutral"}`,"aria-hidden":"true"}),s.jsx("span",{className:"label-xs",children:e.lastAge})]}),s.jsx("span",{className:"s-moving-signal-mark",children:e.harness?s.jsx(I,{harness:e.harness,size:12}):s.jsx(W,{size:12})}),s.jsxs("span",{className:"s-moving-signal-where",children:[s.jsx("span",{className:"s-moving-signal-project",children:u}),e.branch&&s.jsxs("span",{className:"chip chip--mono chip--sm chip--neutral s-moving-signal-branch-chip",children:[s.jsx(D,{size:9,"aria-hidden":"true"}),s.jsx("span",{children:e.branch})]})]}),s.jsx("span",{className:"s-moving-signal-action",title:e.action,children:e.action}),e.contextPct!==null&&s.jsxs("span",{className:"s-moving-signal-ctx-badge",title:`Context window: ${e.contextPct}%`,children:[s.jsx("span",{className:"s-moving-signal-ctx-mini-bar",children:s.jsx("span",{className:"s-moving-signal-ctx-mini-fill",style:{width:`${e.contextPct}%`}})}),s.jsxs("span",{className:"label-xs",children:[e.contextPct,"%"]})]})]})})}function ne({row:e,onClose:i,navigate:n}){return s.jsxs("div",{className:"s-moving-inspector",children:[s.jsxs("header",{className:"s-moving-inspector-head",children:[s.jsxs("div",{className:"s-moving-inspector-head-left",children:[s.jsx("span",{className:`dot dot--sm ${e.live?"dot--working dot--glow dot--pulse":"dot--neutral"}`,"aria-hidden":"true"}),s.jsx("span",{className:"label-xs s-moving-inspector-live-status",children:e.live?"LIVE ACTIVE":"IDLE / LOGGED"}),s.jsxs("span",{className:"label-xs s-moving-inspector-age",children:[e.lastAge," ago"]})]}),s.jsx("div",{className:"s-moving-inspector-head-right",children:s.jsx("button",{type:"button",className:"s-moving-inspector-close-btn",title:"Close inspector (Esc)","aria-label":"Close inspector",onClick:i,children:s.jsx(q,{size:13,"aria-hidden":"true"})})})]}),s.jsxs("div",{className:"s-moving-inspector-agent-strip",children:[s.jsxs("div",{className:"s-moving-inspector-agent-ident",children:[s.jsx("span",{className:"s-moving-inspector-harness-icon",children:e.harness?s.jsx(I,{harness:e.harness,size:16}):s.jsx(W,{size:16})}),s.jsxs("div",{className:"s-moving-inspector-agent-meta",children:[s.jsx("span",{className:"s-moving-inspector-name",children:e.name}),s.jsx("span",{className:"label-xs s-moving-inspector-harness-tag",children:e.harness||"native agent"})]})]}),e.branch&&s.jsxs("span",{className:"chip chip--mono chip--sm chip--working",children:[s.jsx(D,{size:10,"aria-hidden":"true"}),s.jsx("span",{children:e.branch})]})]}),s.jsxs("div",{className:"s-moving-inspector-body",children:[s.jsxs("div",{className:"s-moving-inspector-section",children:[s.jsx("span",{className:"label-xs s-moving-inspector-sec-label",children:"Active Task"}),s.jsx("p",{className:"s-moving-inspector-action-text",children:e.action})]}),e.nowLine&&s.jsxs("div",{className:"s-moving-inspector-section s-moving-inspector-section--now",children:[s.jsx("span",{className:"label-xs s-moving-inspector-now-badge",children:"Latest Step"}),s.jsx("p",{className:"s-moving-inspector-now-text",children:e.nowLine})]}),e.contextPct!==null&&s.jsxs("div",{className:"s-moving-inspector-section s-moving-inspector-token-sec",children:[s.jsxs("div",{className:"s-moving-inspector-token-header",children:[s.jsx("span",{className:"label-xs s-moving-inspector-sec-label",children:"Context Window"}),s.jsxs("span",{className:"label-xs s-moving-inspector-token-pct",children:[e.contextPct,"%"]})]}),s.jsx("div",{className:"s-moving-inspector-token-bar",children:s.jsx("div",{className:`s-moving-inspector-token-fill ${e.contextPct>80?"s-moving-inspector-token-fill--warn":""}`,style:{width:`${e.contextPct}%`}})}),e.tokensUsed!==null&&e.tokensMax!==null&&s.jsxs("span",{className:"label-xs s-moving-inspector-token-counts",children:[Math.round(e.tokensUsed/1e3),"k / ",Math.round(e.tokensMax/1e3),"k tokens"]})]}),s.jsxs("div",{className:"s-moving-inspector-section",children:[s.jsx("span",{className:"label-xs s-moving-inspector-sec-label",children:"Session Metadata"}),s.jsxs("dl",{className:"s-moving-inspector-meta-grid",children:[e.projectRoot&&s.jsxs("div",{children:[s.jsx("dt",{children:"Root"}),s.jsx("dd",{title:e.projectRoot,children:C(e.projectRoot)})]}),e.sessionAge&&s.jsxs("div",{children:[s.jsx("dt",{children:"Session"}),s.jsxs("dd",{children:[e.sessionAge," uptime"]})]}),s.jsxs("div",{children:[s.jsx("dt",{children:"Status"}),s.jsx("dd",{children:e.live?"streaming":"ready"})]})]})]}),e.touchedFiles.length>0&&s.jsxs("div",{className:"s-moving-inspector-section",children:[s.jsxs("span",{className:"label-xs s-moving-inspector-sec-label",children:["Active Files (",e.touchedFiles.length,")"]}),s.jsx("ul",{className:"s-moving-inspector-files-list",children:e.touchedFiles.slice(0,4).map((t,a)=>s.jsxs("li",{className:"s-moving-inspector-file-item",children:[s.jsx(X,{size:11,"aria-hidden":"true"}),s.jsx("span",{className:"s-moving-inspector-file-path",title:t.path,children:t.path.split("/").slice(-2).join("/")})]},a))})]})]}),s.jsxs("footer",{className:"s-moving-inspector-footer",children:[e.observeRoute&&s.jsxs("button",{type:"button",className:"btn btn--sm btn--accent s-moving-inspector-primary-action",onClick:()=>n(e.observeRoute),children:[s.jsx("span",{children:"Observe Live"}),s.jsx(_,{size:11,"aria-hidden":"true"})]}),e.profileRoute&&s.jsx("button",{type:"button",className:"btn btn--sm btn--ghost",onClick:()=>n(e.profileRoute),children:s.jsx("span",{children:"Profile"})}),e.terminalEnabled&&e.terminalRoute&&s.jsxs("button",{type:"button",className:"btn btn--sm btn--ghost",onClick:()=>n(e.terminalRoute),children:[s.jsx(J,{size:11,"aria-hidden":"true"}),s.jsx("span",{children:"Terminal"})]})]})]})}function te({row:e,top:i,left:n}){return e?s.jsxs("div",{className:"s-moving-signal-hovercard",style:{top:i,left:n},role:"tooltip","aria-hidden":"true",children:[s.jsxs("div",{className:"s-moving-signal-hover-kicker",children:[e.live&&s.jsx("span",{className:"chip chip--working chip--sm chip--caps",children:"Live"}),s.jsxs("span",{className:"label-xs",children:[e.lastAge," ago"]}),e.harness&&s.jsx(I,{harness:e.harness,size:11}),s.jsx("span",{className:"s-moving-signal-hover-name",children:e.name})]}),s.jsx("p",{className:"s-moving-signal-hover-action",children:e.action}),e.nowLine&&s.jsxs("p",{className:"s-moving-signal-hover-now",children:[s.jsx("span",{className:"label-xs s-moving-signal-hover-now-tag",children:"Now"}),s.jsx("span",{children:e.nowLine})]})]}):null}export{Le as HomeMovingSignalList};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as _,j as t}from"./index-DReVb7jZ.js";import{A as ee}from"./AgentAvatar-NZOqcsB2.js";import{H as te}from"./HarnessMark-DSvM_H7H.js";import{a as se}from"./agent-state-DDhnFEEP.js";import{f as ne}from"./runtime-picker-C_AVYF63.js";import{n as x}from"./time-Dhsh_2EG.js";import{l as re,h as ie,b as oe,d as G}from"./home-live-action-BkqGLVRY.js";import{a as ae}from"./agent-lane-card-model-CeqQGp-8.js";import{HomeNowNanoStat as A,HomeNowFilesPanel as le}from"./home-now-card-nano-CvU8B61b.js";import"./Provider-CNZluAZb.js";import"./provider-DwmCoSlc.js";import"./router-C-MF5-mb.js";import"./api-DSqpVKC7.js";import"./synthetic-agent-routing-aduMYO7P.js";import"./terminal-sessions-3RfJpen8.js";import"./machine-scope-DJt9RZ2w.js";import"./sse-A8AyLH0g.js";import"./index-BWHgHrtv.js";import"./surface-activity-B1rgWB1i.js";import"./scoutbot-Bk3nyrkj.js";import"./NewChatComposer-BEXS8vV6.js";import"./conversation-model-m8HhzroS.js";import"./createLucideIcon-ChvMq-zl.js";import"./colors-CFlbwC25.js";import"./conversations-Cbg9h_Af.js";import"./index-CbqBwfIW.js";import"./NewChatOrigin-C8ROO4ps.js";import"./keyboard-nav-CJXPaHXj.js";import"./x-rlMdRqJF.js";import"./chevron-down-CDzRQQGl.js";import"./search-UsM-9-_W.js";import"./loader-circle-DNUsuPWz.js";import"./file-text-DP6txVW-.js";import"./model-CBkMvT1w.js";import"./DocumentFocusViewer-DlMiEALb.js";import"./TextDocumentSurface-BK6Qy41F.js";import"./index-kkXUq-zf.js";import"./chevron-right-DKGTLiqc.js";import"./folder-B_S7gBVr.js";import"./chevron-up-DX7R6KY2.js";import"./code-xml-Cmadr3pQ.js";import"./arrow-left-DFfKAq0d.js";import"./arrow-right-DmAWnyAH.js";import"./scout-voice-CqAyfblr.js";import"./fx-z37u1o2z.js";import"./chunk-HRAB3GC3-Dvk_QpRq.js";import"./SpriteAvatar-aHeF4ZQZ.js";import"./CrewAvatar-zgzC3cbU.js";import"./voice-levels-Dcr3jglk.js";import"./context-budget-8qFKqM-j.js";import"./lane-observe-CteDwdD-.js";import"./tail-display-DHSNmvor.js";import"./lane-edit-display-BjdT9oZl.js";import"./bash-format-BRV5C6Gv.js";import"./agent-lane-preview-Dpa3DuOn.js";import"./lane-ask-display-BTVSakyo.js";import"./agent-lanes-model-DMAdqCmK.js";function ce(e,s,r,n){const i={id:e.id,agent:e,source:e.id.startsWith("native:")?"native":"scout",observe:s??null,lastActiveAt:n};return ae(i,{isLive:r,nowMs:n})}function de(e){return e.stats.tools>0||e.stats.files>0||e.context!==null||e.pops.edits.rows.length>0||e.pops.files.rows.length>0}function ue(e,s=140){const r=(e??"").replace(/\s+/g," ").trim();return r?r.length>s?`${r.slice(0,s-1)}…`:r:""}function me(e,s=118){if(e.length<=s)return e;const r=Math.ceil((s-1)*.58),n=Math.floor((s-1)*.42);return`${e.slice(0,r).trimEnd()}…${e.slice(e.length-n).trimStart()}`}function Q(e){return e?e.startsWith("/Users/")?`~/${e.split("/").slice(3).join("/")}`:(e.startsWith("~/"),e):null}function pe(e){const s=e?.trim();if(!s)return null;const r=s.endsWith(".jsonl")?s.slice(0,-6):s,n=r.split(/[/:]/u).filter(Boolean).pop()??r;return/^[0-9a-f]{8}-[0-9a-f]{4}-/iu.test(n)?`${n.slice(0,8)}…${n.slice(-6)}`:me(n,22)}function he(e){const s=e?.trim();return s?s.replace(/^claude-/iu,"").replace(/^gpt-/iu,"gpt ").replace(/\s*\([^)]*\)\s*/u," ").replace(/\s+/g," ").trim():null}function fe(e){const s=e?.trim();return s?s.replace(/\.local$/iu,"").replace(/-local$/iu,""):null}function W(e,s){const r=x(e);if(r===null)return"—";const n=Math.max(0,Math.floor((s-r)/1e3));if(n<60)return`${n}s`;const i=Math.floor(n/60);if(i<60)return`${i}m`;const d=Math.floor(i/60);return d<48?`${d}h`:`${Math.floor(d/24)}d`}function xe(e,s){const r=e?.summary?.trim();if(!r)return null;const n=r.replace(/\s+/g," ");return!n||n===s||/acknowledged via|queued for local execution|received the message/i.test(n)?null:{line:ue(n,120)}}function we(e,s,r=!1){const n=x(s?.startedAt)??x(s?.acknowledgedAt)??x(s?.updatedAt)??null,i=x(e.updatedAt),d=s?.task?.trim()||e.project||Q(e.cwd)||`Working in ${e.project??"workspace"}`,c=s?.status??"working",u=se(e.state)||r,m=c==="queued"?"queued":u?"working":"idle";return{agentId:e.id,agentName:e.name,harness:s?.harness??e.harness,model:e.model,branch:e.branch??"main",task:{title:d,openedAt:n},execution:{state:m,lastEventAt:i},checkpoint:xe(s,d)}}function je(e){return e.execution.state==="queued"?"queued":e.execution.state==="idle"?"idle":"live"}function ke(e,s){e.key!=="Enter"&&e.key!==" "||(e.preventDefault(),s())}function B(e){e.stopPropagation()}function be(e){switch(e){case"spotlight":return 40;case"duo":return 32;case"strip":return 28;case"dense":return 24}}function Ne(e){switch(e){case"spotlight":return 22;case"duo":return 20;case"strip":return 18;case"dense":return 16}}function ve(e,s){return s?e==="spotlight"||e==="duo":!1}function ge(e){switch(e){case"spotlight":return{w:96,h:20};case"duo":return{w:88,h:20};case"strip":return{w:72,h:18};case"dense":return{w:64,h:16}}}function ye(e,s){if(e.length<=s)return e;const r=new Array(s).fill(0);for(let n=0;n<e.length;n+=1){const i=Math.min(s-1,Math.floor(n/e.length*s));r[i]+=e[n]}return r}function z({pulse:e,layout:s}){const{w:r,h:n}=ge(s),i=ye(e.counts,Math.max(5,Math.round(r/8))),d=i.length>0?Math.max(...i):0;if(d<=0||i.length<2)return null;const c=2,u=r/i.length,m=Math.max(1.5,u-c),N=2,v=n-1,l=i.length-1;return t.jsx("span",{className:"s-now-card-pulse",style:{width:r,height:n},title:"activity · last 30m","aria-hidden":"true",children:t.jsx("svg",{viewBox:`0 0 ${r} ${n}`,preserveAspectRatio:"none",children:i.map((o,j)=>{if(o<=0)return null;const g=Math.min(v,Math.max(N,o/d*v)),k=j*u+(u-m)/2;return t.jsx("rect",{x:k.toFixed(2),y:(n-g).toFixed(2),width:m.toFixed(2),height:g.toFixed(2),fill:"var(--accent)",fillOpacity:j===l?"0.95":"0.62"},j)})})})}function Lt({agent:e,ask:s,context:r,observeData:n,observeLive:i=!1,lastActivityAt:d,layout:c,nowMs:u,navigate:m,enter:N=!1,enterIndex:v=0}){const l=we(e,s,i),o=_.useMemo(()=>ce(e,n,i,u),[e,n,i,u]),j=de(o),g=ve(c,j),k=je(l),H=e.projectRoot??e.cwd??void 0,R=Q(H)??"no workspace",M=l.branch??"no branch",b=o.harness??l.harness??null,y=o.model??he(r?.model??l.model),q=pe(r?.sessionId??e.harnessSessionId),h=o.context??r?.contextPct??null,I=fe(e.homeNodeName??e.nodeQualifier),D=x(n?.metadata?.session?.sessionStart),K=D!==null?W(D,u):null,p=n?.pulse??null,L=!!(p&&p.counts.some(a=>a>0)),U=l.task.openedAt?W(l.task.openedAt,u):"new",P=x(d)??l.execution.lastEventAt,S=W(P,u),E=re({observeData:n,checkpoint:l.checkpoint?.line??null,fallbackTask:l.task.title,observeLive:i,skipLifecycleTokens:!0}),J=ie(e),X=oe(e),w=c==="dense",T=c==="strip",Y=o.pops.edits.rows.length>0?o.pops.edits:o.pops.files,Z=o.pops.edits.rows.length>0?"Files modified":"Files touched",O=[{key:"root",text:R,title:H,mono:!0},{key:"branch",text:M,title:M,mono:!0}];e.role&&O.push({key:"role",text:ne(e.role)??e.role});const f=[{key:"last",label:"last activity",value:S,inlineValue:`last ${S}`,title:P!==null?`Last activity ${S} ago`:"Last activity unknown",tone:P!==null?"work":"dim"},{key:"turn",label:"turn",value:U,tone:l.task.openedAt?"work":"dim"}];h!==null&&f.push({key:"context",label:"context",value:`${h}%`,tone:h>=80?"warn":"work"}),K&&f.push({key:"uptime",label:"uptime",value:K,tone:"work"}),q&&!w&&f.push({key:"session",label:"session",value:q}),I&&!w&&f.push({key:"machine",label:"machine",value:I});const V=G(e,"observe"),$=a=>F=>{B(F),m(G(e,a))};return t.jsxs("article",{className:`s-now-card s-now-card--${k} s-now-card--layout-${c}${N?" s-now-card--enter":""}`,style:N?{"--enter-delay":`${v*45}ms`}:void 0,onClick:()=>m(V),onKeyDown:a=>ke(a,()=>m(V)),role:"button",tabIndex:0,children:[t.jsxs("div",{className:"s-now-card-top",children:[t.jsx(ee,{agent:e,placement:"row",size:be(c),className:"s-now-card-avatar"}),t.jsxs("div",{className:"s-now-card-ident",children:[t.jsx("span",{className:"s-now-card-name",title:l.agentName,children:l.agentName}),!w&&!T?t.jsxs("span",{className:`s-now-card-live s-now-card-live--${k}`,children:[t.jsx("span",{className:"s-now-card-live-dot","aria-hidden":"true"}),k]}):null]}),b||y?t.jsxs("div",{className:"s-now-card-runtime",title:y??b??void 0,children:[b?t.jsx(te,{harness:b,size:Ne(c),className:"s-now-card-hmark"}):null,y?t.jsx("span",{className:"s-now-card-model",children:y}):null]}):null]}),w?t.jsx("div",{className:"s-now-card-idline s-now-card-idline--dense",children:[b,R,M].filter(Boolean).join(" · ")}):t.jsx("div",{className:"s-now-card-idline",children:O.map((a,F)=>t.jsxs("span",{className:"s-now-card-idgroup",children:[F>0?t.jsx("span",{className:"s-now-card-idsep","aria-hidden":"true",children:"·"}):null,t.jsx("span",{className:`s-now-card-idpart${a.mono?" s-now-card-idpart--mono":""}`,title:a.title,children:a.text})]},a.key))}),E?t.jsxs("div",{className:`s-now-card-action${i?" s-now-card-action--live":""}`,children:[t.jsx("span",{className:"s-now-card-action-caret","aria-hidden":"true",children:"›"}),t.jsx("span",{className:"s-now-card-action-text",title:E,children:E}),i?t.jsx("span",{className:"s-now-card-action-cursor","aria-hidden":"true"}):null]}):null,w&&L&&p?t.jsx("div",{className:"s-now-card-pulse-cell",children:t.jsx(z,{pulse:p,layout:c})}):null,g?t.jsxs("div",{className:"s-now-card-detail",onClick:B,children:[t.jsxs("div",{className:"s-now-card-nanos",children:[o.stats.tools>0?t.jsxs(t.Fragment,{children:[t.jsx(A,{value:o.stats.tools,label:"tools",group:o.pops.tools}),o.stats.edits>0?t.jsx(A,{value:o.stats.edits,label:"edits",group:o.pops.edits}):null,o.stats.reads>0?t.jsx(A,{value:o.stats.reads,label:"reads",group:o.pops.reads}):null,o.stats.files>0?t.jsx(A,{value:o.stats.files,label:"files",group:o.pops.files}):null]}):t.jsx("span",{className:"s-now-card-nanos-empty",children:"no tool activity yet"}),L&&p?t.jsx(z,{pulse:p,layout:c}):null,h!==null?t.jsxs("span",{className:"s-now-card-ctx",title:`Context window ${h}% used`,children:[t.jsx("span",{className:"s-now-card-ctx-gauge","aria-hidden":"true",children:t.jsx("span",{className:"s-now-card-ctx-fill",style:{width:`${h}%`}})}),t.jsxs("span",{className:"s-now-card-ctx-val",children:[h,"%"]}),t.jsx("span",{className:"s-now-card-ctx-label",children:"ctx"})]}):null]}),t.jsx(le,{label:Z,group:Y})]}):null,!w&&!T?t.jsx("div",{className:"s-now-card-metrics",style:{gridTemplateColumns:`repeat(${f.length}, minmax(0, 1fr))`},"aria-label":`${l.agentName} signals`,children:f.map(a=>t.jsx($e,{label:a.label,value:a.value,tone:a.tone,title:a.title},a.key))}):t.jsxs("div",{className:"s-now-card-metrics s-now-card-metrics--inline","aria-label":`${l.agentName} signals`,children:[T&&L&&p?t.jsx(z,{pulse:p,layout:c}):null,f.map(a=>t.jsx("span",{className:`s-now-card-metric-inline s-now-card-metric-inline--${a.tone??"dim"}`,title:a.title,children:a.inlineValue??a.value},a.key))]}),t.jsxs("div",{className:"s-now-card-actions",onClick:B,children:[t.jsx(C,{label:"Profile",onClick:$("profile")}),t.jsx(C,{label:"Observe",onClick:$("observe"),primary:!0}),t.jsx(C,{label:"Terminal",onClick:$("terminal"),disabled:!X}),t.jsx(C,{label:"Peek",onClick:$("peek"),disabled:!J})]})]})}function C({label:e,onClick:s,primary:r=!1,disabled:n=!1}){return t.jsx("button",{type:"button",className:`s-now-card-action-btn${r?" s-now-card-action-btn--primary":""}`,onClick:s,disabled:n,"aria-label":e,children:e})}function $e({label:e,value:s,tone:r="dim",title:n}){return t.jsxs("span",{className:`s-metric-tile s-metric-tile--${r}`,title:n,children:[t.jsx("strong",{children:s}),t.jsx("span",{children:e})]})}export{Lt as NowCard};
|
package/dist/client/assets/{home-now-card-nano-D1ScGrgv.js → home-now-card-nano-CvU8B61b.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{j as s}from"./index-
|
|
1
|
+
import{j as s}from"./index-DReVb7jZ.js";function d({value:l,label:a,group:n}){const c=!!(n&&n.rows.length>0);return s.jsxs("span",{className:`s-now-card-nano${c?" s-now-card-nano--pop":""}`,children:[s.jsx("span",{className:"s-now-card-nano-val",children:l}),s.jsx("span",{className:"s-now-card-nano-label",children:a}),c?s.jsxs("span",{className:"s-now-card-nano-pop",role:"tooltip",children:[s.jsxs("span",{className:"s-now-card-nano-pop-h",children:[s.jsx("span",{className:"s-now-card-nano-pop-title",children:a}),s.jsx("span",{className:"s-now-card-nano-pop-count",children:n.more>0?`top ${n.rows.length} · ${l}`:l})]}),s.jsxs("span",{className:"s-now-card-nano-pop-list",children:[n.rows.map((e,o)=>s.jsxs("span",{className:"s-now-card-nano-pop-row",title:e.full??e.text,children:[s.jsx("span",{className:`s-now-card-nano-mark s-now-card-nano-mark--${e.tone}`,children:e.mark}),s.jsx("span",{className:"s-now-card-nano-pop-text",children:e.text})]},`${o}:${e.full||e.text}`)),n.more>0?s.jsxs("span",{className:"s-now-card-nano-pop-more",children:["+",n.more," more"]}):null]})]}):null]})}function t({label:l,group:a}){return a.rows.length===0?null:s.jsxs("div",{className:"s-now-card-files","aria-label":l,children:[s.jsxs("div",{className:"s-now-card-files-head",children:[s.jsx("span",{className:"s-now-card-files-title",children:l}),s.jsx("span",{className:"s-now-card-files-count",children:a.rows.length+a.more})]}),s.jsxs("div",{className:"s-now-card-files-list",children:[a.rows.map((n,c)=>s.jsxs("span",{className:"s-now-card-files-row",title:n.full??n.text,children:[s.jsx("span",{className:`s-now-card-nano-mark s-now-card-nano-mark--${n.tone}`,children:n.mark}),s.jsx("span",{className:"s-now-card-files-text",children:n.text})]},`${c}:${n.full||n.text}`)),a.more>0?s.jsxs("span",{className:"s-now-card-files-row s-now-card-files-row--more",children:["+",a.more," more"]}):null]})]})}export{t as HomeNowFilesPanel,d as HomeNowNanoStat};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{r,j as p}from"./index-DReVb7jZ.js";import{a as S}from"./provider-DwmCoSlc.js";import{a as g}from"./api-DSqpVKC7.js";import{o as k,i as A}from"./surface-activity-B1rgWB1i.js";import{h as O}from"./NewChatComposer-BEXS8vV6.js";import{u as v}from"./Provider-CNZluAZb.js";import{l as L}from"./machine-children-CdhNzDF0.js";import{d as M,W as C,s as T,e as R}from"./router-C-MF5-mb.js";import{S as _}from"./server-DBlPW0Mp.js";import{i as x}from"./keyboard-nav-CJXPaHXj.js";import{S as B}from"./scoutbot-Bk3nyrkj.js";import{c as j,d as I}from"./nav-destinations-CU_euC-Q.js";import{S as $}from"./settings-C69Zjrpq.js";function K(e){return e?e.replace(/^https?:\/\//,"").split("/")[0].split(":")[0].split(".")[0]||e:""}function E(e){return K(e?.hostName)||e?.name||"machine"}function b(e,a,o,n){const t=a?.trim();!t||e.has(t)||e.set(t,{id:t,label:o?.trim()||t,group:n})}function W(e,a,o){const n=new Map;e?.localNode?.id&&b(n,e.localNode.id,E(e.localNode),"local");for(const t of Object.values(e?.nodes??{}))b(n,t.id,E(t),t.id===e?.localNode?.id?"local":"mesh");for(const t of a)b(n,t.authorityNodeId,t.authorityNodeName??t.authorityNodeId,"agent"),b(n,t.homeNodeId,t.homeNodeName??t.homeNodeId,"agent");return o&&b(n,o,o,"selected"),Array.from(n.values()).sort((t,c)=>{const i=t.group==="local"?0:t.group==="mesh"?1:t.group==="agent"?2:3,l=c.group==="local"?0:c.group==="mesh"?1:c.group==="agent"?2:3;return i!==l?i-l:t.label.localeCompare(c.label)})}function F({variant:e="bar"}){const{route:a,navigate:o,agents:n}=v(),[t,c]=r.useState(null),[i,l]=r.useState(!1),m=r.useRef(null),s=M(a);r.useEffect(()=>{if(!C(a))return;let u=!1;return g("/api/mesh").then(h=>{u||c(h)}).catch(()=>{u||c(null)}),()=>{u=!0}},[a.view]),r.useEffect(()=>{if(!i)return;const u=N=>{m.current?.contains(N.target)||l(!1)},h=N=>{N.key==="Escape"&&l(!1)};return document.addEventListener("mousedown",u),document.addEventListener("keydown",h),()=>{document.removeEventListener("mousedown",u),document.removeEventListener("keydown",h)}},[i]);const d=r.useMemo(()=>W(t,n,s),[n,t,s]);if(!C(a))return null;const f=s?d.find(u=>u.id===s)?.label??s:"All machines",y=p.jsxs("select",{id:"machine-scope-select",className:"machine-scope-select",value:s??"",onChange:u=>{const h=u.currentTarget.value;o(h?T(a,h):R(a)),l(!1)},title:f,children:[p.jsx("option",{value:"",children:"All machines"}),d.map(u=>p.jsx("option",{value:u.id,children:u.group==="local"?`${u.label} (this machine)`:u.label},u.id))]});return e==="rail"?p.jsxs("div",{className:"machine-scope machine-scope--rail",ref:m,children:[p.jsx("button",{type:"button",className:"machine-scope-rail-trigger","aria-label":`Machine scope: ${f}`,title:`Machine scope: ${f}`,"aria-expanded":i,onClick:()=>l(u=>!u),children:p.jsx(_,{size:16,strokeWidth:1.6,"aria-hidden":!0})}),i?p.jsxs("div",{className:"machine-scope-rail-popover",role:"dialog","aria-label":"Machine scope",children:[p.jsx("label",{className:"machine-scope-label",htmlFor:"machine-scope-select",children:"Scope"}),y]}):null]}):p.jsxs("div",{className:`machine-scope machine-scope--${e}`,children:[p.jsx("label",{className:"machine-scope-label",htmlFor:"machine-scope-select",children:"Scope"}),y]})}const H="C",me=["C"],fe=["⌘","⌥","N"],D="New task";function P(e){return e.key.toLowerCase()==="n"||e.code==="KeyN"}function U(e){return e.key.toLowerCase()==="c"||e.code==="KeyC"}function pe(e){return x(e.target??null)?!1:U(e)&&!e.metaKey&&!e.ctrlKey&&!e.altKey&&!e.shiftKey||P(e)&&!!(e.metaKey||e.ctrlKey)&&!!e.altKey&&!e.shiftKey}const w={inbox:"Home",conversation:"Conversation","agent-info":"Agent","agents-v2":"Agents",messages:"Chat",sessions:"Sessions",terminal:"Terminals",repos:"Repositories","repo-diff":"Diff",harnesses:"Agent Providers",search:"Search",activity:"Activity Log",briefings:"Briefings",mesh:"Network","mesh-ops":"Mesh Ops",broker:"Broker",settings:"Settings",work:"Work",follow:"Follow",code:"Code Browser",ops:"Ops",voice:"Live Voice"};function he(e){if(e.view==="settings"&&e.section==="agents")return"Configuration";switch(e.view){case"conversation":case"agent-info":case"repos":case"repo-diff":case"harnesses":case"mesh":case"mesh-ops":case"work":case"code":case"briefings":case"activity":case"follow":case"voice":case"sessions":return w[e.view]??e.view;case"ops":return e.mode==="tail"?"Live Activity":e.mode==="lanes"?"Agent Lanes":e.mode==="world"?"World":e.mode==="atop"?"Runtime Monitor":e.mode==="advisor"?"Host Advisor":e.mode==="mission"||e.mode==="issues"||e.mode===void 0?"Mission Control":w.ops;case"settings":return"Settings";default:return null}}const V=j(),G={...w};function Y(){return V}function q(e){if(e.view==="settings"&&e.section==="agents")return"agents";switch(e.view){case"agents-v2":case"agent-info":case"repos":case"repo-diff":case"code":return"agents";case"sessions":case"terminal":return"terminals";case"conversation":case"messages":return"chat";case"broker":case"work":case"follow":return"broker";case"search":return"search";case"ops":case"harnesses":case"mesh":case"mesh-ops":return"ops";case"settings":case"voice":return"system";default:return"home"}}function z(e){if(e.view==="settings"&&e.section==="agents")return"Configuration";switch(e.view){case"conversation":case"agent-info":case"repos":case"harnesses":case"mesh":case"mesh-ops":case"work":return G[e.view]??e.view;default:return null}}function J({className:e="scout-nav-tabs",brandTag:a,items:o,activeKey:n,breadcrumb:t,navigate:c}){return r.createElement("div",{className:e},a&&r.createElement("span",{className:"scout-nav-scope-tag"},a),o.map(({key:i,label:l,route:m})=>r.createElement("button",{key:i,className:`scout-nav-tab${n===i?" active":""}`,onClick:()=>c(m)},l)),t&&r.createElement("span",{className:"scout-nav-slash"},"/"),t&&r.createElement("span",{className:"scout-nav-crumb"},t))}function ve(){const{navigate:e,agents:a,reload:o,applyScoutbotUiAction:n,openContextCapture:t}=v(),c=S("ops.control",!0),i=S("surface.scoutbot",!0),l=r.useCallback(()=>{n({type:"open-scoutbot",mode:"ask"}),window.dispatchEvent(new CustomEvent(B,{detail:{body:"What's the state of things? Give me a terse ops summary, the biggest risk, and the next action you recommend."}}))},[n]);return r.useMemo(()=>{const m=[{id:"session:new",label:D,action:()=>t(),shortcut:H},...I(e,{opsEnabled:c}),{id:"nav:settings",label:"Open Settings",action:()=>e({view:"settings",section:"appearance"}),shortcut:"Cmd+,"},...i?[{id:"scoutbot:open",label:"Open Scout",action:()=>n({type:"open-scoutbot",mode:"ask"})},{id:"scoutbot:state",label:"Message Scout for State",action:()=>l()},{id:"scoutbot:ops-tail",label:"Scout: Open Ops Tail",action:()=>n({type:"navigate",route:{view:"ops",mode:"tail"}})}]:[],{id:"nav:pair",label:"Pair Device",action:()=>e({view:"settings",section:"devices"})},{id:"scout:reload",label:"Reload Agents",action:()=>{o()}}];for(const s of a)m.push({id:`scout:open:${s.id}`,label:`Open ${s.name}`,action:()=>e({view:"agents-v2",agentId:s.id})}),m.push({id:`scout:message:${s.id}`,label:`Message ${s.name}`,action:()=>{O(s).then(d=>{e({view:"conversation",conversationId:d})}).catch(()=>e({view:"agents-v2",agentId:s.id,tab:"message"}))}});return m},[a,n,l,e,t,c,i,o])}function Q(){const{onlineCount:e,apiConnection:a}=v(),[o,n]=r.useState(null),[t,c]=r.useState(null),i=r.useRef(0),l=r.useCallback(async()=>{const s=++i.current;try{const d=await g("/api/mesh");if(s!==i.current)return;n(d)}catch{if(s!==i.current)return;n(null)}},[]);r.useEffect(()=>{l();const s=()=>{A()&&l()},d=setInterval(s,15e3),f=k(s);return()=>{clearInterval(d),f()}},[l]),r.useEffect(()=>{let s=!1;return(async()=>{try{const d=await g("/api/build");if(s)return;if(!d.branch&&!d.commit){const f=await g("/api/build?refresh=1");s||c(f);return}c(d)}catch{s||c(null)}})(),()=>{s=!0}},[]);const m=(()=>{if(!t)return{label:"dev",title:"Build information unavailable"};const s=t.mode==="production"?"prod":"dev",d=t.branch??"unknown",f=t.commit?` @ ${t.commit}${t.dirty?"*":""}`:"";return{label:`${s} ${d}${f}`,title:[`Mode: ${t.mode}`,`Version: ${t.version??"unknown"}`,`Branch: ${t.branch??"unknown"}`,`Commit: ${t.commit??"unknown"}`,`Dirty: ${t.dirty===null?"unknown":t.dirty?"yes":"no"}`].join(`
|
|
2
|
+
`)}})();return{status:a.status==="offline"?{label:"Scout: OFFLINE",color:"red"}:a.status==="degraded"?{label:"Scout: DEGRADED",color:"amber"}:o===null?{label:"Broker: …",color:"neutral"}:o.health.reachable?{label:"Broker: UP",color:"emerald"}:{label:"Broker: DOWN",color:"red"},mesh:(()=>{const s=L(o);return a.status==="offline"?{label:s,value:"offline",color:"red"}:o===null?{label:s,value:"checking",color:"neutral"}:o.health.reachable?Object.values(o.nodes).filter(f=>f.id!==o.localNode?.id).length>0?{label:s,value:"connected",color:"neutral"}:o.identity.discoverable?{label:s,value:"discoverable",color:"neutral"}:{label:s,value:"local",color:"amber"}:{label:s,value:"offline",color:"neutral"}})(),build:m}}function be(){return Q().status}function ge(){const{route:e,navigate:a}=v();return S("nav.sidebar",!1)?null:J({items:Y(),activeKey:q(e),breadcrumb:z(e),navigate:a})}function Se(){const{openSettings:e}=v();return S("nav.sidebar",!1)?null:r.createElement("div",{className:"scout-nav-actions"},r.createElement(F,{variant:"nav"}),r.createElement("button",{onClick:()=>e(),className:"scout-nav-action scout-nav-action--settings",title:"Settings"},r.createElement($,{size:12,strokeWidth:1.6,"aria-hidden":!0}),r.createElement("span",null,"Settings")))}function Ne(){return"panel"}function X(e){return e.view==="ops"&&e.mode==="lanes"}function we(){const{onboarding:e,onboardingSkipped:a,skipOnboarding:o,route:n}=v();if(X(n))return{active:!1,dismissible:!0};if(!e)return null;if(a||e.needed===!1||e.skippedAt||e.completedAt)return{active:!1,dismissible:!0};const t=!e.hasLocalConfig,c=!e.hasProjectConfig,i=!e.hasOperatorName,l=!e.brokerReachable||!e.hasReadyRuntime;return{active:t||i||c||l,dismissible:!0,onDismiss:o}}export{D as N,Ne as a,Se as b,ge as c,be as d,ve as e,me as f,fe as g,H as h,he as i,Q as j,pe as k,J as r,we as u};
|