@openscout/scout 0.2.102 → 0.2.106
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 +307 -0
- package/dist/client/assets/ActivityScreen-CZmGwQ2U.js +1 -0
- package/dist/client/assets/{AddProjectForm-DfbjlFfy.js → AddProjectForm-CusDRiVO.js} +1 -1
- package/dist/client/assets/{AdventureEvidence-Dzz9VbuE.js → AdventureEvidence-CyegKk1V.js} +1 -1
- package/dist/client/assets/{AdventureReader-ClMxT0e4.js → AdventureReader-X-hbTOi0.js} +1 -1
- package/dist/client/assets/{AdventureScenery-D548O0x4.js → AdventureScenery-LPXSVP67.js} +1 -1
- package/dist/client/assets/AgentAdventures-BAgxdOF8.js +1 -0
- package/dist/client/assets/AgentAvatar-CrP1eXxk.js +1 -0
- package/dist/client/assets/AgentConfigurationScreen-1L0IQm2w.js +1 -0
- package/dist/client/assets/AgentDefinitionsWorkspace-DguGs7jZ.js +1 -0
- package/dist/client/assets/{AgentDetailCard-CFDE8TLi.js → AgentDetailCard-DtHT3sCo.js} +1 -1
- package/dist/client/assets/AgentFloorView-DH4jiDgw.js +1 -0
- package/dist/client/assets/{AgentFloorWorld-BDJmXl3C.js → AgentFloorWorld-CjoIa6jA.js} +1 -1
- package/dist/client/assets/AgentInfoScreen-DYtmKkeE.js +1 -0
- package/dist/client/assets/{AgentLaneCard-C6YmwPxQ.js → AgentLaneCard-BaZ2g-f8.js} +1 -1
- package/dist/client/assets/{AgentLaneChrome-D9uJ4QY7.js → AgentLaneChrome-TF1SlJSc.js} +1 -1
- package/dist/client/assets/{AgentLaneDetailSheet-KYckCBCX.js → AgentLaneDetailSheet-EzEPsn3g.js} +1 -1
- package/dist/client/assets/{AgentLaneSummaryResize-BBYBS3DO.js → AgentLaneSummaryResize-dpp7YvrX.js} +1 -1
- package/dist/client/assets/AgentLanesEmbedScreen-BlSof_6S.js +1 -0
- package/dist/client/assets/{AgentLanesPreflight-pw2vMO3Q.js → AgentLanesPreflight-Ry-aqDTr.js} +1 -1
- package/dist/client/assets/AgentLanesView-BJi9xXz6.js +2 -0
- package/dist/client/assets/{AgentLiveActions-lYzicnNa.js → AgentLiveActions-CfTupTEl.js} +1 -1
- package/dist/client/assets/AgentMasterScreen-EJhmuKgl.js +1 -0
- package/dist/client/assets/AgentSessions-B1gOhDBf.js +6 -0
- package/dist/client/assets/AgentsConsole-RXGqRvcb.js +1 -0
- package/dist/client/assets/AgentsScreen-ChwMBs11.js +1 -0
- package/dist/client/assets/AgentsSubnav-DwNX4yy0.js +1 -0
- package/dist/client/assets/{AstronautSuit-C-4I5YKi.js → AstronautSuit-Cchnc4Ug.js} +1 -1
- package/dist/client/assets/{AtopView-DKm-ERYC.js → AtopView-gkEp4y__.js} +1 -1
- package/dist/client/assets/{BackToPicker-Bys9ColC.js → BackToPicker-CUkjnoVk.js} +1 -1
- package/dist/client/assets/BriefingDetailScreen-DrlC3qkm.js +1 -0
- package/dist/client/assets/{BriefingsScreen-D4Zf31Y6.js → BriefingsScreen-B1HlBMGZ.js} +1 -1
- package/dist/client/assets/{BrokerMetadataPanel-1GoSl2BV.js → BrokerMetadataPanel-Dk242Yh_.js} +1 -1
- package/dist/client/assets/BrokerScreen-DwOF6bMA.js +8 -0
- package/dist/client/assets/Canvas-X9pVSkw3.js +1 -0
- package/dist/client/assets/{CastPicker-BuwE_JQp.js → CastPicker-BXUtPAGC.js} +1 -1
- package/dist/client/assets/ChannelComposer-DoK7IDGa.js +1 -0
- package/dist/client/assets/ChannelSidebar-e9DOPulb.js +1 -0
- package/dist/client/assets/{CharacterFamilyPreview-CfO3j8Of.js → CharacterFamilyPreview-DMfw7UM_.js} +1 -1
- package/dist/client/assets/ChatAvatar-C3a_o5Hj.js +1 -0
- package/dist/client/assets/ChatBits-CsvxbToF.js +1 -0
- package/dist/client/assets/{ChatCollapsedStrip-TV0j1xTB.js → ChatCollapsedStrip-FEmQ_G9J.js} +1 -1
- package/dist/client/assets/ChatRichInput-DhtwFxQE.js +31 -0
- package/dist/client/assets/ChatRightPanel-C1h_aIkn.js +1 -0
- package/dist/client/assets/ChatSpaceSurface-BXyLYKHn.js +1 -0
- package/dist/client/assets/ChatSpaceTheme-3wLZGsvT.css +1 -0
- package/dist/client/assets/ChatSpaceTheme-CUH8bTZc.js +1 -0
- package/dist/client/assets/{CodeDiffPane-DB6-mqtX.js → CodeDiffPane-DuQRwpgK.js} +1 -1
- package/dist/client/assets/{CodeProjectPicker-B_LNLpIK.js → CodeProjectPicker-ZQ6gSBpg.js} +1 -1
- package/dist/client/assets/{CodeScreen-C9H160XS.js → CodeScreen-BXyKeL5T.js} +1 -1
- package/dist/client/assets/{CommsCanvas-DOKw3Q8i.js → CommsCanvas-THp0r_U8.js} +1 -1
- package/dist/client/assets/{CommsDeck-C18JA7rK.js → CommsDeck-BVmSMV2V.js} +1 -1
- package/dist/client/assets/{CommsFlowGraph-Czg-KTS0.js → CommsFlowGraph-DxoOaLF_.js} +1 -1
- package/dist/client/assets/{CommsFlowMap-CzBWvSa5.js → CommsFlowMap-Vi8ziCPg.js} +1 -1
- package/dist/client/assets/{CommsSelection-g1twA-Lb.js → CommsSelection-BUoRbu9o.js} +1 -1
- package/dist/client/assets/ComposerAttachments-DW0AIb8k.js +1 -0
- package/dist/client/assets/ConversationComposer-CUQyArlk.js +1 -0
- package/dist/client/assets/ConversationFeedRows-DWiOfT-y.js +1 -0
- package/dist/client/assets/ConversationHeader-C-ZWscKj.js +1 -0
- package/dist/client/assets/{ConversationPanels-C9yCAoJy.js → ConversationPanels-D9oC0xG5.js} +2 -2
- package/dist/client/assets/ConversationScreen-9MlMnEo4.css +1 -0
- package/dist/client/assets/ConversationScreen-CUfsQ4MR.js +2 -0
- package/dist/client/assets/ConversationStatus--IPm2nGh.js +1 -0
- package/dist/client/assets/{CrewAvatar-D0c9z5Qr.css → CrewAvatar-BnIPIn_Z.css} +1 -1
- package/dist/client/assets/CrewAvatar-kTznzqcO.js +1 -0
- package/dist/client/assets/{CrewSprite-hgpA3SWB.js → CrewSprite-Dhryjx2c.js} +1 -1
- package/dist/client/assets/CrewStage-vdO0qm3D.js +1 -0
- package/dist/client/assets/CrewWorkspaces-DCBzAAS4.js +1 -0
- package/dist/client/assets/CrewWorkspaces-DDuYMByu.css +1 -0
- package/dist/client/assets/{DataTable-BMOZ1-z8.js → DataTable-aH-jCyDq.js} +1 -1
- package/dist/client/assets/{DispatchAftermath-DDlwqSCY.js → DispatchAftermath-66uQAorV.js} +1 -1
- package/dist/client/assets/{DocumentFocusViewer-f12RRQpV.js → DocumentFocusViewer-DJr0v0D_.js} +1 -1
- package/dist/client/assets/{EmbeddableSurfacesLab-DGl9EMRV.js → EmbeddableSurfacesLab-BBa70EhJ.js} +1 -1
- package/dist/client/assets/{EmptyState-uyYN5piI.js → EmptyState-CZlrHXy-.js} +1 -1
- package/dist/client/assets/{FileViewerPane-HtiDbj9N.js → FileViewerPane-BAO6mtjD.js} +1 -1
- package/dist/client/assets/FleetRollCallHud-C5q2567n.js +1 -0
- package/dist/client/assets/FlightObserveScreen-DZ2mrw91.js +1 -0
- package/dist/client/assets/{FloorContextSheet-DV-SYA0K.js → FloorContextSheet-2_NVPQor.js} +1 -1
- package/dist/client/assets/{FloorExchangePanel-D59nvRCF.js → FloorExchangePanel-BU1pPu8K.js} +1 -1
- package/dist/client/assets/{FloorMessagePasses-BCwsz9VS.js → FloorMessagePasses-cLW2UGNP.js} +1 -1
- package/dist/client/assets/{FloorReplay-BHo79HCD.js → FloorReplay-VFzA6Kxc.js} +1 -1
- package/dist/client/assets/FloorResourcesSheet-C-kQ6Ren.js +1 -0
- package/dist/client/assets/{FloorSavedWork-2tjBoy06.js → FloorSavedWork-BeHDejWz.js} +1 -1
- package/dist/client/assets/FloorTacticalHUD-CO-iiFpb.js +1 -0
- package/dist/client/assets/{FollowScreen-eHXOlK-u.js → FollowScreen-CFfkIbc6.js} +1 -1
- package/dist/client/assets/HarnessMark-C4naWc16.js +1 -0
- package/dist/client/assets/HarnessesScreen-DX3NLcDG.js +1 -0
- package/dist/client/assets/{HerdrSession-CtJOUn7H.js → HerdrSession-_t7yM8vX.js} +2 -2
- package/dist/client/assets/{HomeHero-Cvwx2H0w.js → HomeHero-DouPyNmz.js} +1 -1
- package/dist/client/assets/{HostAdvisorView-CTJXIc1Q.js → HostAdvisorView-CnM1i8hW.js} +1 -1
- package/dist/client/assets/InviteLandingScreen-CEjG2E34.js +1 -0
- package/dist/client/assets/InviteSheet-CwxZtWCl.js +1 -0
- package/dist/client/assets/JumpPalette-O1aJE9gR.js +1 -0
- package/dist/client/assets/{KnowledgeSearchInspector-DwGMVmFL.js → KnowledgeSearchInspector-32n9baT-.js} +1 -1
- package/dist/client/assets/KnowledgeSearchScreen-Dd6jrQ0A.js +1 -0
- package/dist/client/assets/{LaneToolHoverCard-C6YehJqD.js → LaneToolHoverCard-CJa110yk.js} +1 -1
- package/dist/client/assets/LaneTraceDetailSheet-DYrd0BIf.js +1 -0
- package/dist/client/assets/{LaneTraceEventFocus-WLNZZVi_.js → LaneTraceEventFocus-TbrNHRj_.js} +1 -1
- package/dist/client/assets/{MeshCanvas-FDDGE69h.js → MeshCanvas-DWZHYh1A.js} +2 -2
- package/dist/client/assets/{MeshCanvasMinimap-CGRzQCac.js → MeshCanvasMinimap-iswYFpIb.js} +1 -1
- package/dist/client/assets/MeshScreen-8nAzQVbm.js +1 -0
- package/dist/client/assets/{MeshTopologyView-C2Cv_2gx.js → MeshTopologyView-BVvtqI8q.js} +2 -2
- package/dist/client/assets/MessageEmbeds-ksPazAKH.js +1 -0
- package/dist/client/assets/MessagesScreen-C3WB4T21.js +1 -0
- package/dist/client/assets/{MissionContextRail-CVSZJnvX.js → MissionContextRail-D62-Wis8.js} +1 -1
- package/dist/client/assets/MissionControlView-B9cNPXvl.js +1 -0
- package/dist/client/assets/{MissionFocusOverlay-B9SiuO-i.js → MissionFocusOverlay-C1zys3Jv.js} +1 -1
- package/dist/client/assets/MissionLeftAgentRow-vycMV77n.js +1 -0
- package/dist/client/assets/{MissionLogPane-CMBiI29U.js → MissionLogPane-B19lYSY9.js} +1 -1
- package/dist/client/assets/NativeAreaScreen-B1RLa85C.js +1 -0
- package/dist/client/assets/NativeAreaScreen-CV0OhGra.js +1 -0
- package/dist/client/assets/NativeAreaScreen-CzuZt6o1.js +1 -0
- package/dist/client/assets/{NewAgentModal-Cl4nsGhu.js → NewAgentModal-Bh-L-emz.js} +1 -1
- package/dist/client/assets/NewChatComposer-C97-iTMK.js +19 -0
- package/dist/client/assets/{NewChatOrigin-CyPPWTJP.js → NewChatOrigin-DFbF_XvR.js} +1 -1
- package/dist/client/assets/{NodeDetailPanel-BUG8rOb-.js → NodeDetailPanel-CElOEpCh.js} +1 -1
- package/dist/client/assets/{NodeMenu-Fw8ATWQA.js → NodeMenu-B-jjHf1c.js} +1 -1
- package/dist/client/assets/ObserveEmbedScreen-B7Qt69Ms.js +2 -0
- package/dist/client/assets/{ObserveTextFlow-ET0dD1wO.js → ObserveTextFlow-PFnG_10h.js} +2 -2
- package/dist/client/assets/{ObservedTopologyPanel-DkEkQzo-.js → ObservedTopologyPanel-CUTIoLZJ.js} +1 -1
- package/dist/client/assets/OpenScoutAppShell-37PDFfA4.js +31 -0
- package/dist/client/assets/OpsAgentsView-DajlX8LO.js +1 -0
- package/dist/client/assets/OpsScreen-jVcaBKGi.js +1 -0
- package/dist/client/assets/OpsSubnav-BOOYShHE.js +1 -0
- package/dist/client/assets/ProjectAgentProfile-D_wlW4sQ.js +1 -0
- package/dist/client/assets/{ProjectAgentProfileBar-C1fR65Eh.js → ProjectAgentProfileBar-DHuMKJj-.js} +1 -1
- package/dist/client/assets/ProjectAgentProfileHero-Dbebtug1.js +1 -0
- package/dist/client/assets/ProjectsInbox-B8zYE4vP.css +1 -0
- package/dist/client/assets/ProjectsInbox-Cgu7B4--.js +2 -0
- package/dist/client/assets/ProjectsRail-CDWocin_.js +1 -0
- package/dist/client/assets/ProjectsScreen-B_CJycqW.js +1 -0
- package/dist/client/assets/ProjectsThreadAside-1MMl_qUD.js +1 -0
- package/dist/client/assets/Provider-C35yu29I.js +5 -0
- package/dist/client/assets/{RailRow-BYguXNm4.js → RailRow-BjmWK420.js} +1 -1
- package/dist/client/assets/RawSessionsTable-DzT90hWu.js +1 -0
- package/dist/client/assets/RealtimeVoiceScreen-B6ylX3WQ.js +16 -0
- package/dist/client/assets/{RenderedWorkerSprite-CvdWO32C.js → RenderedWorkerSprite-Dhlyg89J.js} +1 -1
- package/dist/client/assets/{ReplayClock-B7JLTp8A.js → ReplayClock-348f17bW.js} +1 -1
- package/dist/client/assets/{ReplayLog-DZTpf2CW.js → ReplayLog-CBnAM3ui.js} +1 -1
- package/dist/client/assets/{ReplayOutpost-CvWQa30T.js → ReplayOutpost-DyRPfNFx.js} +1 -1
- package/dist/client/assets/{RepoDiffEmbedScreen-Cbu0_PJW.js → RepoDiffEmbedScreen-BWxvRDrS.js} +1 -1
- package/dist/client/assets/{RepoDiffPageScreen-Chwm6GXL.js → RepoDiffPageScreen-DN94irmY.js} +1 -1
- package/dist/client/assets/{RepoDiffViewer-C2mb0Wj-.js → RepoDiffViewer-_4JVXBIW.js} +1 -1
- package/dist/client/assets/RepoDiffViewerLazy-XGVC3WXv.js +2 -0
- package/dist/client/assets/{ReposScreen-C7JZQmyh.js → ReposScreen-uMCpt0e9.js} +2 -2
- package/dist/client/assets/{RiggedWorkerCharacter-DNe731GE.js → RiggedWorkerCharacter-q6QRc7_o.js} +1 -1
- package/dist/client/assets/{SageModelStudio-BR1J2D4R.js → SageModelStudio-CNDhZhgD.js} +1 -1
- package/dist/client/assets/{ScoutDeckSurface-flRamdvE.js → ScoutDeckSurface-CUaU4R6T.js} +1 -1
- package/dist/client/assets/{ScoutSurface-BpklGmDL.js → ScoutSurface-3_25USO_.js} +1 -1
- package/dist/client/assets/{ScoutbotFxLab-DeK7ySWZ.js → ScoutbotFxLab-CRqhYe0a.js} +1 -1
- package/dist/client/assets/{SecondaryNav-BkTn5tkq.js → SecondaryNav-D7dbV2qo.js} +1 -1
- package/dist/client/assets/SessionContextStrip-CXfs9hUD.js +1 -0
- package/dist/client/assets/SessionContextStrip-DAIXwtHd.css +1 -0
- package/dist/client/assets/{SessionEmbedScreen-CcQN6xlo.js → SessionEmbedScreen-D0zFmou-.js} +1 -1
- package/dist/client/assets/SessionHopMenu-E6VJZrE0.js +1 -0
- package/dist/client/assets/{SessionObserve-BOBJSfs0.css → SessionObserve-CDdJ7fAE.css} +1 -1
- package/dist/client/assets/SessionObserve-DXxBvejJ.js +12 -0
- package/dist/client/assets/SessionObserveEvidence-Cuj_KHxR.js +1 -0
- package/dist/client/assets/SessionRefScreen-DqLSUlCE.js +1 -0
- package/dist/client/assets/SessionsScreen-BLIRkohT.js +1 -0
- package/dist/client/assets/SettingsDrawer-juCpnbH6.js +3 -0
- package/dist/client/assets/SettingsScreen-BtGzE2-O.js +1 -0
- package/dist/client/assets/{SharedFloorCharacter-CSYG_t9t.js → SharedFloorCharacter-DNEiaOUh.js} +1 -1
- package/dist/client/assets/SharedWorkFloor-0rqtdF-n.css +1 -0
- package/dist/client/assets/SharedWorkFloor-D9mf9KSg.js +2 -0
- package/dist/client/assets/{ShikiPane-BudrOxNK.js → ShikiPane-CRtTYkMj.js} +1 -1
- package/dist/client/assets/{SlidePanel-Datu7XG4.js → SlidePanel-_CHAQdOa.js} +1 -1
- package/dist/client/assets/SpaceSwitcher-BLgSCf_T.js +1 -0
- package/dist/client/assets/{SpriteAvatar-BW1JzkDt.js → SpriteAvatar-CpZWf54-.js} +1 -1
- package/dist/client/assets/{SproutActionSprite-DveCzg6l.js → SproutActionSprite-BSiTS4en.js} +1 -1
- package/dist/client/assets/{StatusPill-MxYClPG5.js → StatusPill-2gCP6H7A.js} +1 -1
- package/dist/client/assets/{TailView-Dn7uWmPz.js → TailView-CYSijNTy.js} +2 -2
- package/dist/client/assets/Terminal-Bi97yb5s.js +4 -0
- package/dist/client/assets/TerminalEmbedScreen-Bqop67Bq.js +1 -0
- package/dist/client/assets/{TerminalHeaderMount-DCGstkZ4.js → TerminalHeaderMount-Cq4OD_xN.js} +1 -1
- package/dist/client/assets/TerminalRelay-DrikpUSJ.js +46 -0
- package/dist/client/assets/{TextDocumentSurface-BhYvAB0o.js → TextDocumentSurface-D52m7Vd8.js} +1 -1
- package/dist/client/assets/{TmuxPeek-BhK0V9Qt.js → TmuxPeek-CXFeweMg.js} +1 -1
- package/dist/client/assets/VoiceControlWell-DF3bjcYA.js +1 -0
- package/dist/client/assets/VoicePathDiagram-CmpHWfO-.js +1 -0
- package/dist/client/assets/{VoicePermissionsPanel-CecFWzva.js → VoicePermissionsPanel-Ok2nfxHw.js} +1 -1
- package/dist/client/assets/VoiceTurnDetails-wAByRaNB.js +8 -0
- package/dist/client/assets/VoiceTurnStage-edoJalLV.js +1 -0
- package/dist/client/assets/VoiceTurnView-D-8g5E4r.js +1 -0
- package/dist/client/assets/WorkDetailScreen-zQkNVy2F.js +5 -0
- package/dist/client/assets/{WorkFilesViewer-DJHftsH9.js → WorkFilesViewer-vNt01sDd.js} +1 -1
- package/dist/client/assets/{WorkRunView-x5PH1byG.js → WorkRunView-BDkR7Edq.js} +1 -1
- package/dist/client/assets/WorldActorTalk-BvSg_b1y.js +1 -0
- package/dist/client/assets/{WorldCharacter-Dn4sIXNP.js → WorldCharacter-CIIlutQq.js} +1 -1
- package/dist/client/assets/WorldMinimap-B6HNgcDe.js +1 -0
- package/dist/client/assets/{WorldSky-DV9bpvXj.js → WorldSky-Jm2Z6dfW.js} +1 -1
- package/dist/client/assets/{activity-CSUhvjD0.js → activity-CIlFrfPJ.js} +1 -1
- package/dist/client/assets/{addon-fit-MR98IWES.js → addon-fit-dFpj9Kfq.js} +1 -1
- package/dist/client/assets/{addon-webgl-CIIKXrvK.js → addon-webgl-BFCGRtGh.js} +1 -1
- package/dist/client/assets/{agent-essentials-8t2il7PV.js → agent-essentials-BGGvT5G6.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-master-model-C-KdOFDK.js → agent-master-model-Bk_yuUXJ.js} +1 -1
- package/dist/client/assets/{agent-specialization-CiVxQsFT.js → agent-specialization-DDc7mLCW.js} +1 -1
- package/dist/client/assets/agents-screen-BYakbO50.css +1 -0
- 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-C1SQHJ3k.js} +1 -1
- package/dist/client/assets/{arrow-left-PuKdO3NM.js → arrow-left-MVUKauwQ.js} +1 -1
- package/dist/client/assets/{arrow-right-ldbfp4SZ.js → arrow-right-Bp-FpE5V.js} +1 -1
- package/dist/client/assets/{arrow-up-right-Hn754ybA.js → arrow-up-right-BPedAgxO.js} +1 -1
- package/dist/client/assets/{book-open-BlJnpf2U.js → book-open-CV98WMSp.js} +1 -1
- package/dist/client/assets/{bot-CfN9PSBF.js → bot-B4zLQ4IN.js} +1 -1
- package/dist/client/assets/{cache-DEy9E34b.js → cache-DGBo3vIf.js} +1 -1
- package/dist/client/assets/chat-api-DSJMBYoT.js +2 -0
- package/dist/client/assets/chat-message-markup-91DIry6R.js +1 -0
- package/dist/client/assets/chat-space-model-aW3Fd8_U.js +4 -0
- package/dist/client/assets/chat-transport-DNS5CB2I.js +1 -0
- package/dist/client/assets/{check-B8dMv3Is.js → check-lrJ3a73a.js} +1 -1
- package/dist/client/assets/{chevron-down-B5eMsn5c.js → chevron-down-l1mrh5S9.js} +1 -1
- package/dist/client/assets/{chevron-right-C7UGFpkl.js → chevron-right-DrfqcerI.js} +1 -1
- package/dist/client/assets/{chevron-up-BHOEgHcn.js → chevron-up-CETZJzjV.js} +1 -1
- package/dist/client/assets/{chunk-HRAB3GC3-C5X-kFhb.js → chunk-HRAB3GC3-DbVLgbWX.js} +1 -1
- package/dist/client/assets/{clock-DFcRbtrl.js → clock-BV1aqPkK.js} +1 -1
- package/dist/client/assets/{code-xml-BmyLM0I2.js → code-xml-BhcNbLWU.js} +1 -1
- package/dist/client/assets/{coffee-C_D9zooM.js → coffee-D7EAOdCk.js} +1 -1
- package/dist/client/assets/{compass-DTZdCpv9.js → compass-63TUaz5_.js} +1 -1
- package/dist/client/assets/content-B1lgE8qr.js +1 -0
- package/dist/client/assets/content-B5l11YyQ.js +1 -0
- package/dist/client/assets/content-BNZOZEpX.js +1 -0
- package/dist/client/assets/content-BRIxP155.js +1 -0
- package/dist/client/assets/content-BWd8gt8L.js +1 -0
- package/dist/client/assets/content-BfwS2jAK.js +1 -0
- package/dist/client/assets/content-C4p43_eT.js +1 -0
- package/dist/client/assets/content-CdYfaoDV.js +1 -0
- package/dist/client/assets/content-CzldLxw0.js +1 -0
- package/dist/client/assets/content-D-olnc4U.js +1 -0
- package/dist/client/assets/content-DTioimq4.js +1 -0
- package/dist/client/assets/content-LOebm3_d.js +1 -0
- package/dist/client/assets/content-nGlEZhUI.js +1 -0
- package/dist/client/assets/content-oyzDM-LK.js +1 -0
- package/dist/client/assets/content-x1PHxED7.js +1 -0
- package/dist/client/assets/content-zX3ZY3T9.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-Tqba2d56.js} +1 -1
- package/dist/client/assets/conversation-model-FxDeWlle.js +1 -0
- package/dist/client/assets/conversation-motion-features-C5zjuNwE.js +1 -0
- package/dist/client/assets/conversations-DoAAO6kA.js +1 -0
- package/dist/client/assets/{copy-D9WUpQRf.js → copy-xKeM5ZtU.js} +1 -1
- package/dist/client/assets/{cpu-Ck_4tB_-.js → cpu-BOTa_WLr.js} +1 -1
- package/dist/client/assets/{createLucideIcon-DkjnzvcJ.js → createLucideIcon-zZ8Hx7er.js} +1 -1
- package/dist/client/assets/{credentials-C4VXz2hr.js → credentials-OeoF-VKJ.js} +1 -1
- package/dist/client/assets/ctx-panel-BC8fpcWJ.css +1 -0
- package/dist/client/assets/direct-voice-BbLPuJ04.js +2 -0
- package/dist/client/assets/direct-voice-DbO7CSv_.css +1 -0
- package/dist/client/assets/discover-DJFxyV1k.js +2 -0
- package/dist/client/assets/embed-entry-Lyvu0Kfc.js +2 -0
- package/dist/client/assets/{external-link-RT4Ph-6-.js → external-link-CUObqmgX.js} +1 -1
- package/dist/client/assets/{eye-CtqSV8BS.js → eye-LrO-cXQt.js} +1 -1
- package/dist/client/assets/{file-code-corner-D_Aptal2.js → file-code-corner-CsU7jJpu.js} +1 -1
- package/dist/client/assets/{file-text-ChtICwub.js → file-text-CnISiiw6.js} +1 -1
- package/dist/client/assets/{flag-CqdOxVkI.js → flag-C4wl8z2-.js} +1 -1
- package/dist/client/assets/fleet-roll-call-BUgf7w-V.css +1 -0
- 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-D5prSkzz.js} +1 -1
- package/dist/client/assets/{gauge-Dgtfxf_o.js → gauge-D9_5iJEm.js} +1 -1
- package/dist/client/assets/{gestures-BDCZ1FRG.js → gestures-QZub3Ot9.js} +1 -1
- package/dist/client/assets/{git-branch-CA3cHKCI.js → git-branch-B0_fPLO7.js} +1 -1
- package/dist/client/assets/{go-shortcuts-DKtw4qYx.js → go-shortcuts-DicR7sUf.js} +1 -1
- package/dist/client/assets/home-moving-signal-rpMhsOJB.js +1 -0
- package/dist/client/assets/home-now-card-ByE6Umcx.js +1 -0
- package/dist/client/assets/{home-now-card-nano-D1ScGrgv.js → home-now-card-nano-B5Dv3-pb.js} +1 -1
- package/dist/client/assets/hooks-_eCZZPsR.js +2 -0
- package/dist/client/assets/index-724SdE6r.js +1 -0
- package/dist/client/assets/{index-CvsM3jm8.js → index-CHD0qcfL.js} +1 -1
- package/dist/client/assets/index-CN4rBB_s.css +1 -0
- package/dist/client/assets/index-D1d98iYf.js +1 -0
- package/dist/client/assets/index-EsrkGBcv.js +10 -0
- package/dist/client/assets/index-gGHPA-By.js +1 -0
- package/dist/client/assets/{inspector-panel-BLhDODb3.js → inspector-panel-BkgUDn6G.js} +2 -2
- package/dist/client/assets/{keyboard-nav-CXfav14z.js → keyboard-nav-DDHegDbx.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-D-RSWjb-.js} +1 -1
- package/dist/client/assets/{layers-Bolb8ejU.js → layers-C8PDiMul.js} +1 -1
- package/dist/client/assets/{layout-grid-DI9tVJ2E.js → layout-grid-Cor2frzj.js} +1 -1
- package/dist/client/assets/left-Bn5X7x2o.js +2 -0
- package/dist/client/assets/left-BqS0fYX1.js +1 -0
- package/dist/client/assets/left-CTCeeeD3.js +1 -0
- package/dist/client/assets/left-DhtVPVux.js +1 -0
- package/dist/client/assets/left-K39b-Wvx.js +2 -0
- package/dist/client/assets/left-KGmueNPt.js +1 -0
- package/dist/client/assets/left-P_GOYB-s.js +1 -0
- package/dist/client/assets/left-advisor-B0N47De2.js +1 -0
- package/dist/client/assets/left-agents-CsSNc51Y.js +1 -0
- package/dist/client/assets/left-default-BlO5LP2T.js +1 -0
- package/dist/client/assets/left-lanes-C4PhaJE6.js +1 -0
- package/dist/client/assets/left-mission-BjTE5vPa.js +1 -0
- package/dist/client/assets/library-CkWNPHRp.js +1 -0
- package/dist/client/assets/{loader-circle-DurUYl7E.js → loader-circle-OvccU82H.js} +1 -1
- package/dist/client/assets/{local-agents-D9fYYRyj.js → local-agents-BqnoxJrq.js} +1 -1
- package/dist/client/assets/log-in-7SnYqW5w.js +1 -0
- package/dist/client/assets/{machine-children-RGS4Q0r6.js → machine-children-DxcqCLmd.js} +1 -1
- package/dist/client/assets/media-blobs-Bi8pxr1u.js +1 -0
- package/dist/client/assets/{mentions-Ctw1ECUC.js → mentions-ByUvhS-v.js} +1 -1
- package/dist/client/assets/{mesh-ops-CGpRk4ik.js → mesh-ops-CiZ8xSAx.js} +1 -1
- package/dist/client/assets/{mesh-view-store-CliSYsmt.js → mesh-view-store-DZvJC4KU.js} +1 -1
- package/dist/client/assets/{message-circle-CSiJj6yo.js → message-circle-CxRVKNE-.js} +1 -1
- package/dist/client/assets/message-markup-BQW5jdJw.js +15 -0
- package/dist/client/assets/message-markup-Zwo3t4cI.js +1 -0
- package/dist/client/assets/{message-square-NmXWtWLR.js → message-square-BxesYglW.js} +1 -1
- package/dist/client/assets/mission-control-model-BpJHDV5D.js +1 -0
- package/dist/client/assets/{mission-control-store-DZ29Mlj1.js → mission-control-store-elEEsIvb.js} +1 -1
- package/dist/client/assets/{mission-wall-DOuGOxQy.js → mission-wall-CAo4BKfa.js} +1 -1
- package/dist/client/assets/monitor-DTTYEb73.js +1 -0
- package/dist/client/assets/{nav-destinations-CyXnw9kh.js → nav-destinations-uorRqFxf.js} +1 -1
- package/dist/client/assets/{observe-CkfOxYx_.js → observe-BJqERJVj.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-BswZLqvA.js} +1 -1
- package/dist/client/assets/{panel-right-BNTJhy8M.js → panel-right-Bv7sP_fc.js} +1 -1
- package/dist/client/assets/paperclip-BjcuP_Hx.js +1 -0
- package/dist/client/assets/{pause-DWS7YGQ3.js → pause-C2XTlkjs.js} +1 -1
- package/dist/client/assets/{persistent-state-xsuk6Kc-.js → persistent-state-KRk_yb0q.js} +1 -1
- package/dist/client/assets/{pin-DWlD1BOF.js → pin-C2mFOV1l.js} +1 -1
- package/dist/client/assets/{play-D_Pggug4.js → play-FT6K3It1.js} +1 -1
- package/dist/client/assets/{plus-D_wLGJGT.js → plus-DFDDeGKu.js} +1 -1
- package/dist/client/assets/profile-DTmzN16I.js +1 -0
- package/dist/client/assets/{projects-inbox-DvbqJO3q.js → projects-inbox-C0FUCv_p.js} +1 -1
- package/dist/client/assets/projects-inbox-ColX6lpx.css +1 -0
- package/dist/client/assets/provider-Dojd8quC.js +1 -0
- package/dist/client/assets/{proxy-DOG46ja4.js → proxy-AJsmwA6h.js} +1 -1
- package/dist/client/assets/{radio-C_jtwbFP.js → radio-DRoOZsws.js} +1 -1
- package/dist/client/assets/{refresh-cw-Da9DDLk2.js → refresh-cw-BmVr7sCD.js} +1 -1
- package/dist/client/assets/resolve-panes-pbY1fCWi.js +1 -0
- package/dist/client/assets/resolve-sidebar-context-YWkZTq1t.js +1 -0
- package/dist/client/assets/right-49kO-6nD.js +1 -0
- package/dist/client/assets/right-APtItA8A.js +1 -0
- package/dist/client/assets/right-BJwhPqtn.js +1 -0
- package/dist/client/assets/right-BPqrf4ek.js +1 -0
- package/dist/client/assets/right-D7djOy6K.js +1 -0
- package/dist/client/assets/right-DKOUCRob.js +1 -0
- package/dist/client/assets/right-DMNrVzg7.js +1 -0
- package/dist/client/assets/{right-BLJsc2-p.js → right-DWPVB-nK.js} +1 -1
- package/dist/client/assets/right-DppeMCy4.js +1 -0
- package/dist/client/assets/right-GAL5Mw1v.js +1 -0
- package/dist/client/assets/{rocket-DyrYDo8V.js → rocket-CGl4RTV7.js} +1 -1
- package/dist/client/assets/router-DCtl8wqb.js +1 -0
- package/dist/client/assets/runtime-picker-DXu2bOTh.js +1 -0
- package/dist/client/assets/{scope-views-B7PZGlhY.js → scope-views-RUWwCVAr.js} +1 -1
- package/dist/client/assets/scout-voice-CZx60X6E.js +1 -0
- package/dist/client/assets/{scoutbot-markdown-Bz0Vbto2.js → scoutbot-markdown-BKEBSbG0.js} +1 -1
- package/dist/client/assets/{scroll-text-DwC8r2g6.js → scroll-text-DNjxhyO2.js} +1 -1
- package/dist/client/assets/{search-C4VlW_0l.js → search-DT42oyRW.js} +1 -1
- package/dist/client/assets/secondaryNavConfig-CS1svh6n.js +1 -0
- package/dist/client/assets/secondaryNavConfig-D15P1Y9k.css +1 -0
- package/dist/client/assets/{selection-bridge-B5jqyMR9.js → selection-bridge-x3wFUjxj.js} +1 -1
- package/dist/client/assets/{send-horizontal-pOtGI7FM.js → send-horizontal-CH0-fbZE.js} +1 -1
- package/dist/client/assets/{send-to-agent-session-BZGq_ycy.js → send-to-agent-session-DoKCDBJ4.js} +1 -1
- package/dist/client/assets/{server-ms1yxUYJ.js → server-QfsgMLk1.js} +1 -1
- package/dist/client/assets/{session-catalog-s-T_w41t.js → session-catalog-CvSdPHPe.js} +1 -1
- package/dist/client/assets/session-recap-lanes-D-eVJnpY.js +1 -0
- package/dist/client/assets/session-recap-queue-41l2XVkI.js +1 -0
- package/dist/client/assets/{session-table-CDx_16xf.js → session-table-L-pns6Zl.js} +1 -1
- package/dist/client/assets/{sessions-view-DzYGsKWS.js → sessions-view-Dc-QAa7O.js} +1 -1
- package/dist/client/assets/{settings-TJIkkZ0P.js → settings-BVh7kldq.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-782VC_yy.js} +1 -1
- package/dist/client/assets/{sparkles-BbOFw3d0.js → sparkles-BjHq_DNK.js} +1 -1
- package/dist/client/assets/{sse-v5QLsOHV.js → sse-BCPRocpq.js} +1 -1
- package/dist/client/assets/system-surfaces-redesign-q2BmCB7e.css +1 -0
- package/dist/client/assets/{tail-events-DQ46QBW1.js → tail-events-d0yAYxR0.js} +1 -1
- package/dist/client/assets/{terminal-96JWDYDL.js → terminal-hQKQygcf.js} +1 -1
- package/dist/client/assets/{terminal-relay-Bfx8pg80.js → terminal-relay-Bxs1hp-j.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-Ay5C2c-M.js} +1 -1
- package/dist/client/assets/theme-vars-DNK0nn3k.js +1 -0
- package/dist/client/assets/triangle-alert-CHoRGdVO.js +1 -0
- package/dist/client/assets/use-beside-DoRC1nt0.js +1 -0
- package/dist/client/assets/{use-conversation-list-A_YUf8lo.js → use-conversation-list-CY4JciOV.js} +1 -1
- package/dist/client/assets/{use-fleet-active-asks-DFs_u-vM.js → use-fleet-active-asks-CymmXWH4.js} +1 -1
- package/dist/client/assets/{use-mesh-node-state-Ck9CYplv.js → use-mesh-node-state-BvaqtODo.js} +1 -1
- package/dist/client/assets/{use-mesh-ops-items-Be1WmwCg.js → use-mesh-ops-items-BSYaqH_0.js} +1 -1
- package/dist/client/assets/{use-reduced-motion-D7n3vK8t.js → use-reduced-motion-3gMYZNIp.js} +1 -1
- package/dist/client/assets/use-scout-dev-flags-DS_pYYQd.js +1 -0
- package/dist/client/assets/{useAgentHoverCard-Dr-OjNFF.js → useAgentHoverCard-BANmpjMh.js} +1 -1
- package/dist/client/assets/useContentSecondaryNav-C6OBu-3_.js +1 -0
- package/dist/client/assets/{useEmbedHeadline-BL8wQawZ.js → useEmbedHeadline-D6pJRxUg.js} +1 -1
- package/dist/client/assets/usePersistentState-B8lP7TRb.js +1 -0
- package/dist/client/assets/{usePierreRuntime-DJkRHMoe.js → usePierreRuntime-BAQdiN0L.js} +1 -1
- package/dist/client/assets/useSidebarCollapse-OL_8J5cL.js +1 -0
- package/dist/client/assets/users-BUjx36gx.js +1 -0
- package/dist/client/assets/voice-paths-CJUuBPh3.css +1 -0
- package/dist/client/assets/voice-turn-DftA0iIb.css +1 -0
- package/dist/client/assets/voice-turn-ledger-BMZxlSjg.js +1 -0
- package/dist/client/assets/{wrench-BsMTSeji.js → wrench-DR0i5BU7.js} +1 -1
- package/dist/client/assets/{x-DI1ktCYb.js → x-DAehov0E.js} +1 -1
- package/dist/client/assets/{xterm-B1YBE4Gq.js → xterm-BXQiLVnI.js} +1 -1
- package/dist/client/assets/{zap-sKPkh4sQ.js → zap-CEjZNZbI.js} +1 -1
- package/dist/client/crew/sheets/eye-plate-v1/look-down-left.webp +0 -0
- package/dist/client/crew/sheets/eye-plate-v1/look-down-right.webp +0 -0
- package/dist/client/crew/sheets/eye-plate-v1/look-down.webp +0 -0
- package/dist/client/crew/sheets/eye-plate-v1/look-up-left.webp +0 -0
- package/dist/client/crew/sheets/eye-plate-v1/look-up-right.webp +0 -0
- package/dist/client/crew/sheets/eye-plate-v1/look-up.webp +0 -0
- package/dist/client/crew/sheets/sprout/blink-half.webp +0 -0
- package/dist/client/crew/sheets/sprout/blink-shut.webp +0 -0
- package/dist/client/crew/sheets/sprout/look-down-left.webp +0 -0
- package/dist/client/crew/sheets/sprout/look-down-right.webp +0 -0
- package/dist/client/crew/sheets/sprout/look-down.webp +0 -0
- package/dist/client/crew/sheets/sprout/look-left.webp +0 -0
- package/dist/client/crew/sheets/sprout/look-right.webp +0 -0
- package/dist/client/crew/sheets/sprout/look-up-left.webp +0 -0
- package/dist/client/crew/sheets/sprout/look-up-right.webp +0 -0
- package/dist/client/crew/sheets/sprout/look-up.webp +0 -0
- package/dist/client/index.html +15 -3
- package/dist/drizzle/0019_session_actor_targets.sql +227 -0
- package/dist/drizzle/0020_message_reactions.sql +11 -0
- package/dist/drizzle/README.md +19 -0
- package/dist/drizzle/meta/_journal.json +14 -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 +1721 -837
- package/dist/node/main.mjs +264 -39
- package/dist/pairing-runtime-controller.mjs +1090 -570
- package/dist/runtime/base-daemon.mjs +14272 -61
- package/dist/runtime/broker-daemon.mjs +16999 -1243
- package/dist/runtime/broker-process-manager.mjs +101 -6
- package/dist/runtime/mesh-discover.mjs +101 -6
- package/dist/scout-control-plane-web.mjs +27057 -6178
- 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 +294 -56
- 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/AgentAvatar-BIwg54Tj.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/AgentLanesView-aAyC7lHf.js +0 -2
- package/dist/client/assets/AgentMasterScreen-By6DN0jF.js +0 -1
- package/dist/client/assets/AgentSessions-Cox2zS-e.js +0 -6
- 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/ConversationComposer-B7RU6LKd.js +0 -1
- package/dist/client/assets/ConversationFeedRows-DVqnZQH0.js +0 -1
- package/dist/client/assets/ConversationHeader-CCSU8uo_.js +0 -1
- package/dist/client/assets/ConversationScreen-Brfas2y0.css +0 -1
- package/dist/client/assets/ConversationScreen-tTP6B_F-.js +0 -2
- package/dist/client/assets/ConversationStatus-CK-YfLpi.js +0 -1
- package/dist/client/assets/CrewAvatar-CJhuqTsJ.js +0 -1
- 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/FloorTacticalHUD-Bngao6sn.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/ObserveEmbedScreen-BPiSXXvm.js +0 -2
- 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/Provider-5Hotn7NQ.js +0 -5
- 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/SessionObserve-DaqDhqDI.js +0 -12
- package/dist/client/assets/SessionObserveEvidence-Drv-D8Oh.js +0 -1
- package/dist/client/assets/SessionRefScreen-BOQ1_ydg.js +0 -1
- package/dist/client/assets/SessionsScreen-R8QKvoey.js +0 -1
- package/dist/client/assets/SettingsDrawer-BDapR4E9.js +0 -3
- package/dist/client/assets/SettingsScreen-DirtO7Z0.js +0 -1
- package/dist/client/assets/SharedWorkFloor-BCmdeb3Q.css +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/WorkDetailScreen-CwtRCm_-.js +0 -5
- package/dist/client/assets/WorldActorTalk-uIH2jGqA.js +0 -1
- package/dist/client/assets/WorldMinimap-Blqg0d5r.js +0 -1
- package/dist/client/assets/agent-autocomplete-C7xwIcwd.css +0 -1
- package/dist/client/assets/agent-autocomplete-CeHQpuG9.js +0 -10
- package/dist/client/assets/agents-screen-BMu6PpRY.css +0 -1
- 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-model-BGFHoxQ0.js +0 -1
- package/dist/client/assets/conversation-motion-features-9x8uZpwh.js +0 -1
- package/dist/client/assets/conversations-Cbg9h_Af.js +0 -1
- package/dist/client/assets/ctx-panel-F05jXK4Q.css +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-moving-signal-B7m-ngb2.js +0 -1
- 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/message-markup-DgFSyb3f.js +0 -15
- package/dist/client/assets/mission-control-model-C30vU1Fe.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/runtime-picker-DdsttHHc.js +0 -1
- package/dist/client/assets/scout-voice-DOQ_B77g.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/system-surfaces-redesign-DKFg4GB5.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/drizzle/meta/0000_snapshot.json +0 -4575
- package/dist/drizzle/meta/0001_snapshot.json +0 -4624
- package/dist/drizzle/meta/0002_snapshot.json +0 -4631
- package/dist/drizzle/meta/0003_snapshot.json +0 -4952
- package/dist/drizzle/meta/0004_snapshot.json +0 -5235
- package/dist/drizzle/meta/0005_snapshot.json +0 -5599
- package/dist/drizzle/meta/0006_snapshot.json +0 -5606
- package/dist/drizzle/meta/0007_snapshot.json +0 -5767
- package/dist/drizzle/meta/0008_snapshot.json +0 -5774
- package/dist/drizzle/meta/0009_snapshot.json +0 -6262
- package/dist/drizzle/meta/0010_snapshot.json +0 -6286
- package/dist/drizzle/meta/0011_snapshot.json +0 -6337
- package/dist/drizzle/meta/0012_snapshot.json +0 -6458
- package/dist/drizzle/meta/0013_snapshot.json +0 -6465
- package/dist/drizzle/meta/0014_snapshot.json +0 -6503
- package/dist/drizzle/meta/0015_snapshot.json +0 -6596
- package/dist/drizzle/meta/0016_snapshot.json +0 -6611
- package/dist/drizzle/meta/0017_snapshot.json +0 -6785
- package/dist/drizzle/meta/0018_snapshot.json +0 -6804
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as l,j as e}from"./index-EsrkGBcv.js";import{A as k}from"./AgentAvatar-CrP1eXxk.js";import{a as R}from"./api-DSqpVKC7.js";import{c as T}from"./agent-state-DDhnFEEP.js";import{t as D}from"./time-Dhsh_2EG.js";import{u as M}from"./Provider-C35yu29I.js";import{a as I}from"./agent-specialization-DDc7mLCW.js";import{p as O}from"./project-overview-helpers-BQTc_Ous.js";import{FileViewerPane as $}from"./FileViewerPane-BAO6mtjD.js";/* empty css */import{C as z}from"./chevron-right-DrfqcerI.js";import{C as L}from"./chevron-down-l1mrh5S9.js";import{F as H}from"./folder-D5prSkzz.js";import{F as U}from"./DocumentFocusViewer-DJr0v0D_.js";import{F as G}from"./file-text-CnISiiw6.js";import"./SpriteAvatar-CpZWf54-.js";import"./CrewAvatar-kTznzqcO.js";import"./HarnessMark-C4naWc16.js";import"./runtime-picker-DXu2bOTh.js";import"./scout-voice-CZx60X6E.js";import"./fx-z37u1o2z.js";import"./voice-levels-Dcr3jglk.js";import"./loader-circle-OvccU82H.js";import"./createLucideIcon-zZ8Hx7er.js";import"./router-DCtl8wqb.js";import"./synthetic-agent-routing-aduMYO7P.js";import"./terminal-sessions-3RfJpen8.js";import"./colors-CFlbwC25.js";import"./theme-vars-DNK0nn3k.js";import"./provider-Dojd8quC.js";import"./machine-scope-DJt9RZ2w.js";import"./sse-BCPRocpq.js";import"./index-BWHgHrtv.js";import"./surface-activity-B1rgWB1i.js";import"./scoutbot-Bk3nyrkj.js";import"./NewChatComposer-C97-iTMK.js";import"./media-blobs-Bi8pxr1u.js";import"./index-724SdE6r.js";import"./conversation-model-FxDeWlle.js";import"./conversations-DoAAO6kA.js";import"./NewChatOrigin-DFbF_XvR.js";import"./keyboard-nav-DDHegDbx.js";import"./x-DAehov0E.js";import"./search-DT42oyRW.js";import"./model-CBkMvT1w.js";import"./index-CHD0qcfL.js";import"./TextDocumentSurface-D52m7Vd8.js";import"./chevron-up-CETZJzjV.js";import"./code-xml-BhcNbLWU.js";import"./arrow-left-MVUKauwQ.js";import"./arrow-right-Bp-FpE5V.js";import"./voice-turn-ledger-BMZxlSjg.js";import"./chunk-HRAB3GC3-DbVLgbWX.js";function B({payload:a,selectedSlug:n,selectedFile:v,filter:S,collapsed:i,onToggleFolder:N,onSelectFile:h}){const u=S.trim().toLowerCase(),b=a.folders.filter(o=>!u||o.slug.includes(u)?!0:o.files.some(c=>c.name.toLowerCase().includes(u)||c.relativePath.toLowerCase().includes(u)));return b.length===0?e.jsx("div",{className:"adef-treeEmpty",children:a.agentsRootExists?"No agent folders in .agents yet.":"No .agents directory on disk."}):e.jsx(e.Fragment,{children:b.map(o=>{const c=i.has(o.slug),C=o.slug===n;return e.jsxs("div",{className:"adef-folder","data-selected-agent":C||void 0,children:[e.jsxs("button",{type:"button",className:"adef-folderRow",onClick:()=>N(o.slug),children:[e.jsx("span",{className:"adef-folderChevron","aria-hidden":!0,children:c?e.jsx(z,{size:12}):e.jsx(L,{size:12})}),e.jsx("span",{className:"adef-folderIcon","aria-hidden":!0,children:c?e.jsx(H,{size:13}):e.jsx(U,{size:13})}),e.jsx("span",{className:"adef-folderName",children:o.slug})]}),c?null:o.files.map(d=>{const f=v?.absolutePath===d.absolutePath;return e.jsxs("button",{type:"button",className:"adef-fileRow","data-selected":f||void 0,onClick:()=>h({slug:o.slug,name:d.name,relativePath:`.agents/${d.relativePath}`,absolutePath:d.absolutePath,excerpt:d.excerpt}),children:[e.jsx("span",{className:"adef-fileIcon","aria-hidden":!0,children:e.jsx(G,{size:12})}),e.jsx("span",{className:"adef-fileName",children:d.name})]},d.absolutePath)})]},o.slug)})})}function J({agent:a,config:n,onConfigSaved:v,sessionCatalog:S,navigate:i,homeView:N}){const h=I(a,n),u=a.handle?.replace(/^@+/,"")||a.name,b=S?.sessions.length??0,[o,c]=l.useState(""),[C,d]=l.useState(""),[f,x]=l.useState(""),[E,w]=l.useState(!1),[m,g]=l.useState("idle"),[P,y]=l.useState(null),[j,F]=l.useState(null);l.useEffect(()=>{if(!n){c(""),d(""),x(a.harness??"");return}c(n.model??""),d(n.runtime.cwd),x(n.runtime.harness),w(!1),y(null),F(null)},[a.harness,a.id,n]);const A=l.useMemo(()=>{const s=["claude","codex","pi",n?.runtime.harness,a.harness,f].filter(p=>!!p?.trim());return Array.from(new Set(s))},[a.harness,n?.runtime.harness,f]),t=async s=>{if(s.preventDefault(),!(!n||m==="saving")){g("saving"),y(null),F(null);try{const p=await R(`/api/agents/${encodeURIComponent(a.id)}/config`,{method:"POST",body:JSON.stringify({model:o.trim()||null,runtime:{cwd:C.trim()||n.runtime.cwd,harness:f.trim()||n.runtime.harness},restart:E})});v(p.config),w(!1),y(p.restarted?"Saved and restarted":"Saved")}catch(p){F(p instanceof Error?p.message:"Could not save config")}finally{g("idle")}}},r=()=>i({view:N,agentId:a.id,tab:"profile"});return e.jsxs("aside",{className:"adef-inspector",children:[e.jsxs("header",{className:"adef-inspectorHead",children:[e.jsx(k,{agent:a,size:36,tile:!0,presence:!1}),e.jsxs("div",{className:"adef-inspectorIdent",children:[e.jsxs("span",{className:"adef-inspectorHandle",children:["@",u]}),e.jsx("span",{className:"adef-inspectorSpec",children:h.headline})]})]}),e.jsxs("dl",{className:"adef-inspectorFacts",children:[e.jsxs("div",{children:[e.jsx("dt",{children:"State"}),e.jsx("dd",{children:T(a.state,a)})]}),e.jsxs("div",{children:[e.jsx("dt",{children:"Sessions"}),e.jsx("dd",{children:b})]})]}),n?e.jsxs(e.Fragment,{children:[e.jsx("div",{className:"adef-inspectorSec",children:"Runtime"}),e.jsxs("form",{className:"adef-configEdit",onSubmit:t,children:[e.jsxs("label",{className:"adef-configField",children:[e.jsx("span",{children:"Model"}),e.jsx("input",{value:o,placeholder:"Harness default",disabled:!n.editable||m==="saving",onChange:s=>c(s.currentTarget.value)})]}),e.jsxs("label",{className:"adef-configField",children:[e.jsx("span",{children:"Harness"}),e.jsx("select",{value:f,disabled:!n.editable||m==="saving",onChange:s=>x(s.currentTarget.value),children:A.map(s=>e.jsx("option",{value:s,children:s},s))})]}),e.jsxs("label",{className:"adef-configField adef-configField--wide",children:[e.jsx("span",{children:"Working dir"}),e.jsx("input",{value:C,disabled:!n.editable||m==="saving",onChange:s=>d(s.currentTarget.value)})]}),e.jsxs("div",{className:"adef-configSaveRow",children:[e.jsxs("label",{className:"adef-configCheck",children:[e.jsx("input",{type:"checkbox",checked:E,disabled:!n.editable||m==="saving",onChange:s=>w(s.currentTarget.checked)}),e.jsx("span",{children:"Restart"})]}),e.jsx("button",{type:"submit",className:"adef-inspectorAct","data-primary":!0,disabled:!n.editable||m==="saving",children:m==="saving"?"Saving…":"Save"})]}),P?e.jsx("p",{className:"adef-inspectorMeta",children:P}):null,j?e.jsx("p",{className:"adef-configError",children:j}):null]}),e.jsx("div",{className:"adef-inspectorSec",children:"Permissions"}),e.jsx("p",{className:"adef-inspectorMono",children:O(n.permissionProfile)}),e.jsx("div",{className:"adef-inspectorSec",children:"Tools"}),e.jsx("div",{className:"adef-inspectorChips",children:(h.capabilities.length>0?h.capabilities:["—"]).map(s=>e.jsx("span",{className:"adef-inspectorChip",children:s},s))})]}):e.jsx("p",{className:"adef-inspectorMeta",children:"No editable local config on disk."}),a.updatedAt?e.jsxs("p",{className:"adef-inspectorMeta",children:["Updated ",D(a.updatedAt)]}):null,e.jsx("div",{className:"adef-inspectorActs",children:e.jsx("button",{type:"button",className:"adef-inspectorAct","data-primary":!0,onClick:r,children:"Sessions"})})]})}function Je({agent:a,navigate:n,homeView:v="agents-v2"}){const{openFilePreview:S}=M(),[i,N]=l.useState(null),[h,u]=l.useState(null),[b,o]=l.useState(null),[c,C]=l.useState(null),[d,f]=l.useState("loading"),[x,E]=l.useState(""),[w,m]=l.useState(()=>new Set),[g,P]=l.useState(null),y=l.useCallback(async t=>{await R("/api/file/reveal",{method:"POST",body:JSON.stringify({path:t})}).catch(()=>{})},[]);l.useEffect(()=>{let t=!1;return f("loading"),(async()=>{const[r,s,p]=await Promise.allSettled([R(`/api/agents/${encodeURIComponent(a.id)}/definitions`),R(`/api/agents/${encodeURIComponent(a.id)}/config`).catch(()=>null),R(`/api/agents/${encodeURIComponent(a.id)}/session-catalog`).catch(()=>null)]);t||(r.status==="fulfilled"&&N(r.value),s.status==="fulfilled"&&u(s.value),p.status==="fulfilled"&&o(p.value),f("ready"))})(),()=>{t=!0}},[a.id]);const j=l.useMemo(()=>{if(!i)return null;const t=i.folders.find(s=>s.slug===i.selectedSlug)??i.folders[0]??null,r=t?.files.find(s=>s.name==="AGENT.md")??t?.files[0]??null;return!t||!r?null:{slug:t.slug,name:r.name,relativePath:`.agents/${r.relativePath}`,absolutePath:r.absolutePath,excerpt:r.excerpt}},[i]);l.useEffect(()=>{j&&(P(t=>t&&i?.folders.some(r=>r.files.some(s=>s.absolutePath===t.absolutePath))?t:j),i?.selectedSlug&&m(t=>{const r=new Set(t);return r.delete(i.selectedSlug),r}))},[j,i]);const F=i?.folders.reduce((t,r)=>t+r.files.length,0)??0,A=l.useCallback(t=>{m(r=>{const s=new Set(r);return s.has(t)?s.delete(t):s.add(t),s})},[]);return e.jsxs("div",{className:"adef-workspace",children:[e.jsxs("header",{className:"adef-head",children:[e.jsxs("div",{className:"adef-headCopy",children:[e.jsx("span",{className:"adef-headKind",children:"Config"}),e.jsxs("span",{className:"adef-headPath",title:i?.agentsRoot,children:[i?.agentsRootExists?".agents · explore & edit":"explore & edit",i?` · ${i.folders.length} agents · ${F} files`:""]})]}),e.jsx("input",{type:"search",className:"adef-filter",placeholder:"Filter agents & files…",value:x,onChange:t=>E(t.target.value)})]}),d==="loading"?e.jsx("div",{className:"adef-loading",children:"Loading agent config…"}):e.jsxs("div",{className:"adef-frame",children:[e.jsx("aside",{className:"adef-tree","aria-label":"Agent definition files",children:i?e.jsx(B,{payload:i,selectedSlug:i.selectedSlug,selectedFile:g,filter:x,collapsed:w,onToggleFolder:A,onSelectFile:P}):null}),e.jsx("section",{className:"adef-viewer","aria-label":"Definition file",children:g?e.jsx($,{artifact:g,onOpen:S,onReveal:t=>{y(t)},onBrowse:i?t=>n({view:"code",root:i.projectRoot,file:t}):void 0}):e.jsx("div",{className:"av2-repoViewerState",children:i?.agentsRootExists?"Select a definition file — or create .agents/<handle>/AGENT.md":"Create .agents/<handle>/AGENT.md in the project root to define this expert on disk."})}),e.jsx(J,{agent:a,config:h,onConfigSaved:u,sessionCatalog:c,navigate:n,homeView:v})]})]})}export{Je as AgentDefinitionsWorkspace};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as v,j as a}from"./index-
|
|
1
|
+
import{r as v,j as a}from"./index-EsrkGBcv.js";import{n as A,b as C,c as y}from"./agent-state-DDhnFEEP.js";import{s as $}from"./colors-CFlbwC25.js";import{t as k}from"./time-Dhsh_2EG.js";import{A as w}from"./AgentLiveActions-CfTupTEl.js";function F(c){return c?c.replace(/^\/Users\/[^/]+/,"~"):null}const I=v.forwardRef(function({agent:e,pinned:l,onOpen:N,onClose:b,onAction:u,style:g,className:o},f){const r=A(e.state),m=C(e.state),n=e.cwd??e.projectRoot,t=l?n:F(n),d=e.handle?`@${e.handle.replace(/^@+/,"")}`:null,h=e.selector??e.defaultSelector,p=d??e.name,j=e.authorityNodeName??e.homeNodeName??e.authorityNodeId??e.homeNodeId,i=y(r);return a.jsxs("div",{ref:f,className:`agent-card${l?" agent-card--pinned":""}${o?` ${o}`:""}`,style:g,role:"dialog","aria-label":`${p} details`,children:[a.jsxs("header",{className:"agent-card-head",children:[a.jsx("div",{className:"agent-card-name",children:p}),a.jsxs("div",{className:"agent-card-meta",children:[a.jsx("span",{className:`agent-card-dot agent-card-dot--${m}`,style:r==="in_turn"||r==="in_flight"?{background:$(e.state)}:void 0}),i&&a.jsx("span",{className:`agent-card-state agent-card-state--${m}`,children:i}),e.updatedAt&&a.jsxs(a.Fragment,{children:[i&&a.jsx("span",{className:"agent-card-sep",children:"·"}),a.jsx("span",{className:"agent-card-time",children:k(e.updatedAt)})]})]})]}),a.jsxs("div",{className:"agent-card-body",children:[d&&a.jsx(s,{label:"handle",children:a.jsx("code",{className:"agent-card-mono",children:d})}),h&&a.jsx(s,{label:"selector",children:a.jsx("code",{className:"agent-card-mono",children:h})}),t&&a.jsx(s,{label:"cwd",children:a.jsx("code",{className:"agent-card-mono",title:n??t,children:t})}),j&&a.jsx(s,{label:"machine",children:a.jsx("span",{className:"agent-card-mono",children:j})}),(e.project||e.branch)&&a.jsx(s,{label:"project",children:a.jsxs("span",{className:"agent-card-mono",children:[e.project??"—",e.branch&&a.jsxs(a.Fragment,{children:[a.jsx("span",{className:"agent-card-sep agent-card-sep--inline",children:"·"}),a.jsx("span",{className:"agent-card-branch",children:e.branch})]})]})}),(e.harness||e.model)&&a.jsx(s,{label:"runtime",children:a.jsxs("span",{className:"agent-card-mono",children:[e.harness??"—",e.model&&a.jsxs(a.Fragment,{children:[a.jsx("span",{className:"agent-card-sep agent-card-sep--inline",children:"·"}),a.jsx("span",{className:"agent-card-model",children:e.model})]})]})}),e.transport&&a.jsx(s,{label:"launch transport",children:a.jsx("span",{className:"agent-card-mono",children:e.transport})}),e.role&&a.jsx(s,{label:"role",children:a.jsx("span",{className:"agent-card-mono",children:e.role})}),e.capabilities&&e.capabilities.length>0&&a.jsx(s,{label:"capabilities",children:a.jsxs("div",{className:"agent-card-caps",children:[e.capabilities.slice(0,8).map(x=>a.jsx("span",{className:"agent-card-cap",children:x},x)),e.capabilities.length>8&&a.jsxs("span",{className:"agent-card-cap agent-card-cap--more",children:["+",e.capabilities.length-8]})]})})]}),a.jsx(w,{agent:e,variant:"compact",onNavigate:u}),a.jsxs("footer",{className:"agent-card-foot",children:[a.jsxs("button",{type:"button",className:"agent-card-link",onClick:N,children:["Open agent ",a.jsx("span",{"aria-hidden":!0,children:"→"})]}),l&&a.jsx("button",{type:"button",className:"agent-card-close",onClick:b,"aria-label":"Close",children:"esc"})]})]})});function s({label:c,children:e}){return a.jsxs("div",{className:"agent-card-field",children:[a.jsx("span",{className:"agent-card-label",children:c}),a.jsx("div",{className:"agent-card-value",children:e})]})}export{I as A};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as l,j as e}from"./index-EsrkGBcv.js";import{AgentAdventures as it}from"./AgentAdventures-BAgxdOF8.js";import{SharedWorkFloor as ct}from"./SharedWorkFloor-D9mf9KSg.js";import{FloorReplay as dt}from"./FloorReplay-VFzA6Kxc.js";import{a as mt}from"./floor-memory-YMM8AlLY.js";import{FloorTacticalHUD as pt}from"./FloorTacticalHUD-CO-iiFpb.js";import{FloorResourcesSheet as ut}from"./FloorResourcesSheet-C-kQ6Ren.js";/* empty css */import{F as Se,b as ft,a as we}from"./agent-floor-world-layout-hfMjuoui.js";import{FloorContextSheet as gt}from"./FloorContextSheet-2_NVPQor.js";import{AgentFloorWorld as ht}from"./AgentFloorWorld-CjoIa6jA.js";import{f as Ke}from"./agent-floor-actor-DW8zLht0.js";import{f as _t}from"./floor-character-name-CqJPOlXb.js";import{H as Ge}from"./HarnessMark-C4naWc16.js";import{a as Oe,S as Ae}from"./SpriteAvatar-CpZWf54-.js";import{n as xt}from"./agent-state-DDhnFEEP.js";import{o as jt,b as bt}from"./lane-observe-CteDwdD-.js";import{t as Nt}from"./time-Dhsh_2EG.js";import{S as kt}from"./SessionObserve-DXxBvejJ.js";import{l as Q}from"./agent-lanes-model-DMAdqCmK.js";import{p as vt,s as We,a as He}from"./lane-roster-store-D-RSWjb-.js";import{p as Ye}from"./session-recap-lanes-D-eVJnpY.js";import{c as St}from"./createLucideIcon-zZ8Hx7er.js";import{T as wt}from"./terminal-hQKQygcf.js";import{F as yt}from"./file-code-corner-CsU7jJpu.js";import{M as $t}from"./message-square-BxesYglW.js";import"./ReplayClock-348f17bW.js";import"./SproutActionSprite-BSiTS4en.js";/* empty css */import"./CrewSprite-Dhryjx2c.js";import"./adventure-playback-DTfkhIc0.js";import"./AdventureScenery-LPXSVP67.js";import"./adventure-habitats-v1-M1lcpTJh.js";import"./AdventureReader-X-hbTOi0.js";import"./api-DSqpVKC7.js";import"./index-CHD0qcfL.js";import"./TextDocumentSurface-D52m7Vd8.js";import"./chevron-right-DrfqcerI.js";import"./folder-D5prSkzz.js";import"./file-text-CnISiiw6.js";import"./floor-preview-text-HrORUJ7D.js";/* empty css */import"./book-open-CV98WMSp.js";import"./x-DAehov0E.js";import"./scroll-text-DNjxhyO2.js";import"./ReplayLog-CBnAM3ui.js";import"./observe-BJqERJVj.js";import"./surface-activity-B1rgWB1i.js";import"./AdventureEvidence-CyegKk1V.js";import"./Provider-C35yu29I.js";import"./theme-vars-DNK0nn3k.js";import"./provider-Dojd8quC.js";import"./router-DCtl8wqb.js";import"./synthetic-agent-routing-aduMYO7P.js";import"./terminal-sessions-3RfJpen8.js";import"./machine-scope-DJt9RZ2w.js";import"./sse-BCPRocpq.js";import"./index-BWHgHrtv.js";import"./scoutbot-Bk3nyrkj.js";import"./NewChatComposer-C97-iTMK.js";import"./runtime-picker-DXu2bOTh.js";import"./scout-voice-CZx60X6E.js";import"./fx-z37u1o2z.js";import"./voice-levels-Dcr3jglk.js";import"./loader-circle-OvccU82H.js";import"./media-blobs-Bi8pxr1u.js";import"./index-724SdE6r.js";import"./conversation-model-FxDeWlle.js";import"./conversations-DoAAO6kA.js";import"./colors-CFlbwC25.js";import"./NewChatOrigin-DFbF_XvR.js";import"./keyboard-nav-DDHegDbx.js";import"./chevron-down-l1mrh5S9.js";import"./search-DT42oyRW.js";import"./model-CBkMvT1w.js";import"./DocumentFocusViewer-DJr0v0D_.js";import"./chevron-up-CETZJzjV.js";import"./code-xml-BhcNbLWU.js";import"./arrow-left-MVUKauwQ.js";import"./arrow-right-Bp-FpE5V.js";import"./voice-turn-ledger-BMZxlSjg.js";import"./chunk-HRAB3GC3-DbVLgbWX.js";import"./agent-lane-detail-Ti3trpfH.js";import"./tail-display-DHSNmvor.js";import"./lane-edit-display-BjdT9oZl.js";/* empty css */import"./arrow-up-right-BPedAgxO.js";/* empty css */import"./flag-C4wl8z2-.js";import"./wrench-DR0i5BU7.js";import"./pause-C2XTlkjs.js";import"./play-FT6K3It1.js";import"./radio-DRoOZsws.js";import"./WorldMinimap-B6HNgcDe.js";import"./WorldSky-Jm2Z6dfW.js";import"./WorldActorTalk-BvSg_b1y.js";import"./send-to-agent-session-DoKCDBJ4.js";import"./FloorExchangePanel-BU1pPu8K.js";import"./floor-message-passes-CO3Ix_wR.js";import"./shared-work-artifacts-DfNl9KTo.js";import"./CharacterFamilyPreview-DMfw7UM_.js";import"./RenderedWorkerSprite-Dhlyg89J.js";import"./FloorMessagePasses-cLW2UGNP.js";import"./WorkRunView-BDkR7Edq.js";import"./floor-context-model-rWKqaKmV.js";import"./lane-ask-display-BTVSakyo.js";import"./context-budget-8qFKqM-j.js";import"./SharedFloorCharacter-DNEiaOUh.js";import"./WorldCharacter-CIIlutQq.js";import"./RiggedWorkerCharacter-q6QRc7_o.js";/* empty css */import"./FloorSavedWork-BeHDejWz.js";import"./pin-C2mFOV1l.js";/* empty css */import"./triangle-alert-CHoRGdVO.js";/* empty css */import"./git-branch-B0_fPLO7.js";import"./coffee-D7EAOdCk.js";/* empty css */import"./bash-format-BRV5C6Gv.js";import"./lane-tool-detail-Czggx8oM.js";import"./LaneToolHoverCard-CJa110yk.js";import"./mentions-ByUvhS-v.js";import"./AgentDetailCard-DtHT3sCo.js";import"./AgentLiveActions-CfTupTEl.js";import"./terminal-takeover-Ay5C2c-M.js";import"./openContent-C6XO6kr5.js";import"./eye-LrO-cXQt.js";import"./message-markup-Zwo3t4cI.js";import"./message-markup-BQW5jdJw.js";import"./SessionHopMenu-E6VJZrE0.js";import"./external-link-CUObqmgX.js";import"./ObservedTopologyPanel-CUTIoLZJ.js";import"./ObserveTextFlow-PFnG_10h.js";import"./use-reduced-motion-3gMYZNIp.js";import"./proxy-AJsmwA6h.js";import"./SessionObserveEvidence-Cuj_KHxR.js";import"./SessionContextStrip-CXfs9hUD.js";import"./message-circle-CxRVKNE-.js";const Mt=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}]],Ot=St("circle-dot",Mt),U=5*6e4,At=3,ne=At+1,se=8,Ct=15*6e4,qe=.65,ae=1.45,Xe=.1,je=360,be=260;function ye(o){return Math.round(Math.min(ae,Math.max(qe,o))*100)/100}function Y(o,a){return Math.round(Math.min(a,Math.max(-a,o)))}const le=128,$e=34,Ze=14,Lt=12,V=44,Me=7,J=58,I=440,Rt=48,Ft=24,Et=480,Ue="openscout:agent-floor-orient",Je="openscout:agent-floor-lane-order";function Pt(){try{const o=localStorage.getItem(Ue);if(o==="past-left"||o==="past-right")return o}catch{}return"past-left"}function Tt(){try{const o=JSON.parse(sessionStorage.getItem(Je)??"[]");return Array.isArray(o)?o.filter(a=>typeof a=="string"):[]}catch{return[]}}function Ne(o){return new Date(o).toLocaleTimeString(void 0,{hour:"2-digit",minute:"2-digit",hour12:!1})}const It=/^(edit|multi_?edit|write|apply_?patch|patch_apply|str_?replace|notebook_?edit|create_file)/i;function Dt(o){return o.kind==="tool"?o.diff||o.tool&&It.test(o.tool.trim())?"edit":"tool":o.kind==="message"||o.kind==="ask"?"msg":null}function Ve(o,a,n){const r=o.observe?.metadata?.session?.sessionStart,m={tool:0,edit:0,msg:0},i=Array.from({length:ne},()=>({blocks:[],counts:{tool:0,edit:0,msg:0},tools:new Map,total:0})),_=[];let f=null;for(const g of o.observe?.events??[]){const b=Dt(g);if(!b)continue;const d=jt(g,r),P=d===null||d>=a?0:Math.floor((a-d)/U)+1;if(P>=ne)continue;const p=i[P];p.blocks.push(b),p.counts[b]+=1,p.total+=1,m[b]+=1;const x=b==="msg"?null:g.tool?.trim()||"tool";x&&p.tools.set(x,(p.tools.get(x)??0)+1),_.push({kind:b,label:b==="msg"?bt(g.text,44,1):g.text.trim()||x||"tool",at:d}),f={at:d,label:b==="msg"?"message":g.tool?.trim()||"tool"}}return{lane:o,live:Ke(o,n).posture==="working",slots:i.map(g=>({blocks:g.blocks.slice(-8),counts:g.counts,tools:[...g.tools.entries()].sort((b,d)=>d[1]-b[1]),total:g.total})),counts:m,strip:_.slice(-10).map(g=>g.kind),lastLabel:f?.label??null,lastAt:f?.at??(o.lastActiveAt||null)}}function ke(o){const a=(n,r,m)=>`${n} ${n===1?r:m}`;return[a(o.tool,"tool","tools"),a(o.edit,"edit","edits"),a(o.msg,"msg","msgs")].join(" · ")}function zt(o){return/^(working|active|running|in_turn|in_flight)/i.test(o.lane.agent.state??"")?"quiet":"idle"}function B(o){return o.tool+o.edit+o.msg}function Be(o){if(B(o)===0)return"quiet";const n=[["tool-led",o.tool],["edit-heavy",o.edit],["conversation-led",o.msg]];return n.sort((r,m)=>m[1]-r[1]),n[0][1]===n[1][1]?"balanced":n[0][0]}function Wt(o){const a=new Map;for(const r of o.slots)for(const[m,i]of r.tools)a.set(m,(a.get(m)??0)+i);const[n]=[...a.entries()].sort((r,m)=>m[1]-r[1]);return n?{value:n[0],detail:`${n[1]} call${n[1]===1?"":"s"} · 15m`}:{value:"no tool pattern",detail:"messages and edits only"}}function Ht(o){const a=o.slots[0]?.total??0,n=o.slots[1]?.total??0;return a===0&&n===0?{value:"quiet",detail:"no work in the last 10m"}:a===0?{value:"paused",detail:`${n} in the prior 5m`}:n===0?{value:"new burst",detail:`${a} in the current 5m`}:a>=n+3?{value:"building",detail:`${a} now · ${n} prior`}:n>=a+3?{value:"easing",detail:`${a} now · ${n} prior`}:{value:"steady",detail:`${a} now · ${n} prior`}}function X({label:o,value:a,detail:n,mix:r}){const m=r?Math.max(1,B(r)):1;return e.jsxs("span",{className:"agent-floor__dock-insight",children:[e.jsx("span",{className:"agent-floor__dock-insight-label",children:o}),e.jsx("span",{className:"agent-floor__dock-insight-value",children:a}),e.jsx("span",{className:"agent-floor__dock-insight-detail",children:n}),r?e.jsx("span",{className:"agent-floor__dock-mix",style:{"--mix-tool":`${r.tool/m*100}%`,"--mix-edit":`${(r.tool+r.edit)/m*100}%`},"aria-hidden":"true"}):null]})}function Qe(o,a){const n=o.lastAt?Nt(o.lastAt,a):null;return o.live?{glyph:"▸",label:o.lastLabel??"working",meta:n??"now"}:{glyph:"⏸",label:zt(o),meta:n?`· ${n}`:""}}function Yt({series:o,now:a}){const n=Qe(o,a);return o.live?e.jsxs(e.Fragment,{children:[e.jsx("span",{className:"agent-floor__card-run",children:n.glyph}),e.jsx("span",{className:"agent-floor__card-tool",children:n.label}),e.jsx("span",{className:"agent-floor__card-ago",children:n.meta})]}):e.jsxs(e.Fragment,{children:[e.jsx("span",{className:"agent-floor__card-pause",children:n.glyph}),e.jsxs("span",{className:"agent-floor__card-idle",children:[n.label,n.meta?` ${n.meta}`:""]})]})}function Xt({kind:o,z:a,size:n=$e,faceH:r=Lt,pad:m,live:i}){return e.jsxs("span",{className:`agent-floor__block is-${o}${m?" is-pedestal":""}${i?" is-live":""}`,style:{"--z":`${a}px`,"--bs":`${n}px`,"--bh":`${r}px`},"aria-hidden":"true",children:[e.jsx("span",{className:"agent-floor__face is-left"}),e.jsx("span",{className:"agent-floor__face is-right"}),e.jsx("span",{className:"agent-floor__face is-top"})]})}function Zt({slot:o}){const a=Math.max(1,o.total),n=o.counts.tool/a*100,r=o.counts.edit/a*100;return e.jsxs("span",{className:"agent-floor__block agent-floor__slab",style:{"--z":"0px","--bs":`${V}px`,"--bh":`${Me}px`,"--mix-a":`${n.toFixed(1)}%`,"--mix-b":`${(n+r).toFixed(1)}%`},"aria-hidden":"true",children:[e.jsx("span",{className:"agent-floor__face is-left"}),e.jsx("span",{className:"agent-floor__face is-right"}),e.jsx("span",{className:"agent-floor__face is-top"})]})}function Vt({slot:o,slotIndex:a,periodStart:n}){const r=a===0?`${Ne(n)} — now`:`${Ne(n-a*U)} – ${Ne(n-(a-1)*U)}`;return e.jsxs("span",{className:"agent-floor__peek",children:[e.jsx("span",{className:"agent-floor__peek-range",children:r}),e.jsxs("span",{className:"agent-floor__peek-cols",children:[e.jsxs("span",{className:"agent-floor__peek-col",children:[o.tools.slice(0,3).map(([m,i])=>e.jsxs("span",{className:"agent-floor__peek-tool",children:[m,i>1?` ×${i}`:""]},m)),o.tools.length===0?e.jsx("span",{className:"agent-floor__peek-tool is-empty",children:"no tools"}):null]}),e.jsxs("span",{className:"agent-floor__peek-col is-right",children:[e.jsxs("span",{children:[o.counts.edit," edit",o.counts.edit===1?"":"s"]}),e.jsxs("span",{children:[o.counts.msg," msg",o.counts.msg===1?"":"s"]})]})]})]})}function Bt({series:o,index:a,planeW:n,flip:r,periodStart:m,now:i,focused:_,pinned:f,dimmed:g,peekSlot:b,onFocus:d,onPeek:P,onSelect:p}){const{lane:x,live:c,slots:M}=o,S=x.agent,y=Q(S,x.source),re=Oe(S),K=(le-V)/2,ie=h=>{const k=(J-V)/2;return r?I+h*J+k:n-I-(h+1)*J+k},O=Ke(x,i),G=[{id:"home",label:"READY",x:55,y:44},{id:"tools",label:"TOOLS",x:165,y:44},{id:"edit",label:"EDIT",x:275,y:44},{id:"message",label:"COMMS",x:380,y:44}],ce=G.find(h=>h.id===O.station),N=r?0:n-I,$=N+ce.x,de=ce.y,ee=x.id.replace(/[^a-zA-Z0-9]/g,"").slice(-5);return e.jsxs("button",{type:"button",className:`agent-floor__lane${c?" is-live":""}${a%2===1?" is-alt":""}${_?" is-focus":""}${f?" is-pinned":""}${g?" is-dim":""}`,style:{left:0,top:a*le,width:n,height:le},onClick:()=>p(x),onMouseEnter:()=>d(x.id),onMouseLeave:()=>{d(null),P(x.id,null)},onFocus:()=>d(x.id),onBlur:()=>d(null),"aria-label":`${y} ${S.harness??""} ${ee} — ${O.label} — ${f?"open timeline":"pin details"}`,children:[e.jsx("span",{className:"agent-floor__lane-strip","aria-hidden":"true"}),M.map((h,k)=>{if(h.total===0)return null;const D=_&&b===k,T=Me+2+h.blocks.length*Ze;return e.jsxs("span",{className:`agent-floor__stack${k===0?" is-now":" is-minted"}${D?" is-peeking":""}`,style:{left:ie(k),top:K},onMouseEnter:()=>P(x.id,k),children:[e.jsx(Zt,{slot:h}),e.jsx("span",{className:"agent-floor__stack-blocks",style:{left:(V-$e)/2,top:(V-$e)/2},children:h.blocks.map((z,me)=>e.jsx(Xt,{kind:z,z:Me+2+me*Ze},me))}),D?e.jsx("span",{className:"agent-floor__bb agent-floor__peek-anchor",style:{left:V/2,top:V/2,"--z":`${T+46}px`},children:e.jsx(Vt,{slot:h,slotIndex:k,periodStart:m})}):null]},k)}),e.jsxs("span",{className:"agent-floor__work-zone",style:{left:N,width:I},"aria-hidden":"true",children:[e.jsx("span",{className:"agent-floor__route"}),G.map(h=>e.jsxs("span",{className:`agent-floor__station${h.id===O.station?" is-occupied":""}`,style:{left:h.x,top:h.y},children:[e.jsx("span",{className:"agent-floor__station-surface",children:h.id==="home"?e.jsx(Ot,{size:22}):h.id==="tools"?e.jsx(wt,{size:22}):h.id==="edit"?e.jsx(yt,{size:22}):e.jsx($t,{size:22})}),e.jsx("span",{className:"agent-floor__bb agent-floor__station-label",children:h.label})]},h.id))]}),e.jsxs("span",{className:`agent-floor__actor-position is-${O.posture}${f||_?" is-selected":""}`,style:{left:$,top:de},"data-station":O.station,children:[e.jsx("span",{className:"agent-floor__selection-ring"}),e.jsxs("span",{className:"agent-floor__bb agent-floor__actor-body",style:{"--z":"42px"},children:[e.jsx(Ae,{name:S.name,size:56,hue:re.hue,tone:re.tone,glow:!1}),O.posture==="attention"||O.posture==="blocked"?e.jsx("span",{className:"agent-floor__actor-alert",children:"!"}):null]})]}),e.jsx("span",{className:"agent-floor__bb agent-floor__flag-anchor agent-floor__unit-label",style:{left:N+220,top:91,"--z":"76px"},children:e.jsxs("span",{className:`agent-floor__flag${_?" is-focus":""}${f?" is-pinned":""}`,children:[e.jsx("span",{className:"agent-floor__flag-name",children:y}),e.jsxs("span",{className:"agent-floor__unit-id",children:[S.harness," · ",ee]}),e.jsx("span",{className:`agent-floor__unit-status is-${O.posture}`,children:O.label})]})})]})}function Kt({focus:o,pinned:a,ledger:n,liveCount:r,now:m}){if(!o){const d=n.reduce((c,M)=>(c.tool+=M.counts.tool,c.edit+=M.counts.edit,c.msg+=M.counts.msg,c),{tool:0,edit:0,msg:0}),P=n.filter(c=>B(c.counts)>0).length,p=[...n].sort((c,M)=>B(M.counts)-B(c.counts))[0]??null,x=p?B(p.counts):0;return e.jsxs("div",{className:"agent-floor__dock is-resting",children:[e.jsx("span",{className:"agent-floor__dock-id agent-floor__dock-fleet",children:e.jsxs("span",{className:"agent-floor__dock-id-copy",children:[e.jsx("span",{className:"agent-floor__dock-title",children:"fleet at a glance"}),e.jsxs("span",{children:[n.length," lane",n.length===1?"":"s"," · ",r," live"]})]})}),e.jsxs("span",{className:"agent-floor__dock-insights",children:[e.jsx(X,{label:"coverage",value:`${P}/${n.length} lanes`,detail:"showed work · 15m"}),e.jsx(X,{label:"hottest lane",value:p?Q(p.lane.agent,p.lane.source):"none yet",detail:p?`${x} classified events`:"waiting for activity"}),e.jsx(X,{label:"throughput",value:`${B(d)} events`,detail:"classified · 15m"}),e.jsx(X,{label:"activity mix",value:Be(d),detail:ke(d),mix:d})]})]})}const i=o.lane.agent,_=Oe(i),f=Ht(o),g=Wt(o),b=o.slots.filter(d=>d.total>0).length;return e.jsxs("div",{className:`agent-floor__dock${a?" is-pinned":""}`,children:[e.jsxs("span",{className:"agent-floor__dock-id",children:[e.jsx(Ae,{name:i.name,size:30,tile:!0,hue:_.hue,tone:_.tone}),e.jsxs("span",{className:"agent-floor__dock-id-copy",children:[e.jsxs("span",{className:"agent-floor__dock-name",children:[Q(i,o.lane.source),e.jsx(Ge,{harness:i.harness,size:12,className:"agent-floor__card-mark"}),e.jsx("span",{className:`agent-floor__card-dot${o.live?" is-live":""}`}),a?e.jsx("span",{className:"agent-floor__dock-lock",children:"locked"}):null]}),e.jsx("span",{className:"agent-floor__dock-action",children:e.jsx(Yt,{series:o,now:m})})]})]}),e.jsxs("span",{className:"agent-floor__dock-insights",children:[e.jsx(X,{label:"momentum",value:f.value,detail:f.detail}),e.jsx(X,{label:"cadence",value:`${b}/${o.slots.length} windows`,detail:"active five-minute bands"}),e.jsx(X,{label:"signature",value:g.value,detail:g.detail}),e.jsx(X,{label:"activity mix",value:Be(o.counts),detail:ke(o.counts),mix:o.counts})]})]})}function Gt({series:o,now:a,concise:n,onConciseChange:r,onClose:m,onOpenFull:i,operatorName:_}){const{agent:f,observe:g,source:b}=o.lane,d=Q(f,b);return e.jsxs("aside",{className:"agent-floor__trace-panel","aria-label":`${d} selected lane trace`,children:[e.jsx("button",{type:"button",className:"agent-floor__trace-close",onClick:m,"aria-label":"Close selected lane trace",children:"×"}),e.jsx("div",{className:"agent-floor__trace-body",children:g?e.jsx(kt,{data:g,agentId:b==="scout"?f.id:void 0,sessionId:f.harnessSessionId,showRail:!1,variant:"lane",nowMs:a,traceWindowMs:Ct,traceWindowLabel:"15m",laneCollapseTechnicalEvents:n,onLaneCollapseTechnicalEventsChange:r,laneOperatorName:_,onLaneEventSelect:i}):e.jsx("div",{className:"agent-floor__trace-empty",children:"Waiting for trace activity…"})})]})}function qt({zoom:o,fit:a,onZoomChange:n,onReset:r}){const m=Math.round(o*100);return e.jsxs("div",{className:"agent-floor__zoom",role:"group","aria-label":"Floor zoom",children:[e.jsx("button",{type:"button","aria-label":"Zoom out",disabled:o<=qe,onClick:()=>n(ye(o-Xe)),children:"−"}),e.jsx("button",{type:"button",className:"agent-floor__zoom-reset","aria-label":"Reset floor zoom to fit",title:"Reset zoom and position to automatic fit",onClick:r,children:a?"fit":`${m}%`}),e.jsx("button",{type:"button","aria-label":"Zoom in",disabled:o>=ae,onClick:()=>n(ye(o+Xe)),children:"+"})]})}function An({lanes:o,now:a,onOpenTrace:n,railLedger:r=!1,operatorName:m}){const i=Math.max(a,Date.now()),[_,f]=l.useState(null),[g,b]=l.useState(!1),[d,P]=l.useState(!0),[p,x]=l.useState(!1),[c,M]=l.useState(!1),[S,y]=l.useState(null),[re,K]=l.useState(0),[ie,O]=l.useState(Pt),[G,ce]=l.useState(null),[N,$]=l.useState(null),[de,ee]=l.useState(null),[Ce,h]=l.useState(!1),[k,D]=l.useState(1),[T,z]=l.useState({x:0,y:0}),[me,Le]=l.useState(!1),[pe,Re]=l.useState(Tt),A=l.useMemo(()=>mt(pe,o.map(t=>t.id)),[pe,o]),ue=Math.max(1,Math.ceil(A.length/se)),W=Math.min(re,ue-1),Fe=Object.fromEntries(A.map((t,s)=>[t,s%se])),Ee=l.useRef(null),fe=l.useRef(null),[ge,et]=l.useState(null),he=ie==="past-right";l.useEffect(()=>{const t=Ee.current;if(!t)return;const s=new ResizeObserver(u=>{const v=u[0]?.contentRect;v&&et(j=>j&&Math.abs(j.w-v.width)<2&&Math.abs(j.h-v.height)<2?j:{w:v.width,h:v.height})});return s.observe(t),()=>s.disconnect()},[]);const tt=l.useCallback(()=>{O(t=>{const s=t==="past-left"?"past-right":"past-left";try{localStorage.setItem(Ue,s)}catch{}return s})},[]),R=l.useCallback(t=>{ce(t),t===null&&ee(null)},[]),ot=l.useCallback((t,s)=>{ee(s===null?null:{laneId:t,slot:s})},[]),F=l.useCallback(t=>{const s=A.indexOf(t.id);s>=0&&K(Math.floor(s/se)),y(null),f(null),c&&N===t.id?n(t):$(t.id)},[N,n,A,c]),_e=l.useCallback(()=>{D(1),z({x:0,y:0})},[]),st=l.useCallback(t=>{if(!(t.target instanceof Element?t.target:null)?.closest(".agent-floor__trace-panel, .agent-floor__zoom, .floor-tactical, .shared-floor, .floor-replay")){if(t.preventDefault(),t.metaKey||t.ctrlKey){D(u=>ye(u-t.deltaY*.002));return}z(u=>({x:Y(u.x-t.deltaX,je),y:Y(u.y-t.deltaY,be)}))}},[]),nt=l.useCallback(t=>{const s=t.target instanceof Element?t.target:null;t.button!==0||s?.closest("button, .agent-floor__trace-panel, .floor-tactical, .shared-floor, .floor-replay")||(fe.current={pointerId:t.pointerId,startX:t.clientX,startY:t.clientY,panX:T.x,panY:T.y},t.currentTarget.setPointerCapture(t.pointerId),Le(!0))},[T]),at=l.useCallback(t=>{const s=fe.current;!s||s.pointerId!==t.pointerId||z({x:Y(s.panX+t.clientX-s.startX,je),y:Y(s.panY+t.clientY-s.startY,be)})},[]),Pe=l.useCallback(t=>{fe.current?.pointerId===t.pointerId&&(fe.current=null,t.currentTarget.hasPointerCapture(t.pointerId)&&t.currentTarget.releasePointerCapture(t.pointerId),Le(!1))},[]);l.useEffect(()=>{if(N===null&&S===null&&_===null)return;const t=s=>{s.key==="Escape"&&($(null),y(null),f(null))};return window.addEventListener("keydown",t),()=>window.removeEventListener("keydown",t)},[N,S,_]);const q=Math.floor(i/U)*U,C=l.useMemo(()=>{const t=new Map(o.map(j=>[j.id,j])),s=pe.flatMap(j=>{const E=t.get(j);return E?[E]:[]}),u=new Set(s.map(j=>j.id)),v=o.filter(j=>!u.has(j.id)).sort((j,E)=>E.lastActiveAt-j.lastActiveAt);return s.concat(v)},[o,pe]);l.useEffect(()=>{const t=A;Re(s=>s.length===t.length&&s.every((u,v)=>u===t[v])?s:t);try{sessionStorage.setItem(Je,JSON.stringify(t))}catch{}},[A]);const{series:te,hidden:Te,planeW:Z,planeD:xe,lanesStartY:Ie}=l.useMemo(()=>{const t=C.map(E=>Ve(E,q,i)),s=new Set(A.slice(W*se,(W+1)*se)),u=t.filter(E=>s.has(E.lane.id)),v=u.length*le,j=Math.max(Et,v+Ft*2);return{series:u,hidden:t.filter(E=>!u.includes(E)),planeW:Rt+ne*J+I,planeD:j,lanesStartY:(j-v)/2}},[C,A,q,W,i]),w=l.useMemo(()=>C.map(t=>Ve(t,q,i)),[C,q,i]),ve=w.filter(t=>t.live).length,L=G??N,lt=L===null?null:w.find(t=>t.lane.id===L)??null,H=N===null?null:w.find(t=>t.lane.id===N)??null;l.useEffect(()=>{N!==null&&!w.some(t=>t.lane.id===N)&&$(null)},[w,N]),l.useEffect(()=>{h(!1)},[N]),l.useEffect(()=>{if(!r)return;const t=w.map(s=>{const u=Qe(s,i);return{id:s.lane.id,label:Q(s.lane.agent,s.lane.source),statusLabel:s.lane.agent.harness?.trim()||"lane",tone:xt(s.lane.agent.state,s.lane.agent),updatedAt:s.lane.lastActiveAt>0?s.lane.lastActiveAt:void 0,floor:{live:s.live,harness:s.lane.agent.harness,identity:_t(s.lane).label,project:s.lane.agent.project?.trim()||null,actionGlyph:u.glyph,actionLabel:u.label,actionMeta:u.meta,strip:s.strip,countsLabel:ke(s.counts)}}});vt(t)},[r,w,i]),l.useEffect(()=>{if(r)return We({onHover:R,onSelect:t=>{const s=w.find(u=>u.lane.id===t);s&&F(s.lane)}}),()=>We(null)},[r,w,R,F]),l.useEffect(()=>{if(r)return He(L),Ye(L),()=>{He(null),Ye(null)}},[r,L]);const De=t=>he?I+t*J:Z-I-t*J,ze=Ie+te.length*le+26,oe=l.useMemo(()=>{if(!ge)return 1;const t=(c?Z:we)+40,s=(c?xe:Se)+35,u=Math.min((ge.w-40)/t,(ge.h-55)/s);return Math.round(Math.min(1.6,Math.max(.15,u))*100)/100},[ge,Z,xe,c]),rt=Math.round(oe*k*100)/100;return e.jsxs("div",{className:`agent-floor is-tactical${r?" is-rail-ledger":""}`,"data-live-count":ve,"data-floor-orient":ie,children:[e.jsxs("div",{className:"agent-floor__body",children:[r?null:e.jsxs("aside",{className:"agent-floor__ledger","aria-label":"Fleet ledger",children:[e.jsxs("header",{className:"agent-floor__ledger-head",children:[e.jsx("span",{className:"agent-floor__ledger-title",children:"fleet"}),e.jsxs("span",{className:"agent-floor__ledger-meta",children:[w.length," lane",w.length===1?"":"s"," · ",ve," live"]}),e.jsx("span",{className:"agent-floor__ledger-trace",children:"trace 15m"})]}),e.jsx("div",{className:"agent-floor__ledger-rows",children:w.map(t=>{const s=t.lane.agent,u=Oe(s);return e.jsxs("button",{type:"button",className:`agent-floor__ledger-row${L===t.lane.id?" is-focus":""}`,onClick:()=>F(t.lane),onMouseEnter:()=>R(t.lane.id),onMouseLeave:()=>R(null),children:[e.jsxs("span",{className:"agent-floor__ledger-id",children:[e.jsx(Ae,{name:s.name,size:18,tile:!0,hue:u.hue,tone:u.tone}),e.jsx("span",{className:"agent-floor__ledger-name",children:Q(s,t.lane.source)}),e.jsx(Ge,{harness:s.harness,size:11,className:"agent-floor__card-mark"}),e.jsx("span",{className:`agent-floor__card-dot${t.live?" is-live":""}`})]}),e.jsxs("span",{className:"agent-floor__ledger-tally",children:[e.jsx("span",{className:"agent-floor__ledger-strip",children:t.strip.map((v,j)=>e.jsx("span",{className:`agent-floor__ledger-cell is-${v}`},j))}),e.jsx("span",{className:"agent-floor__ledger-counts",children:ke(t.counts)})]})]},t.lane.id)})}),e.jsx("footer",{className:"agent-floor__ledger-foot",children:"rows and flags are linked — hover to unroll, click to pin"})]}),e.jsxs("div",{className:`agent-floor__viewport${H||S||_?" is-inspecting":""}${me?" is-dragging":""}`,ref:Ee,onWheel:st,onPointerDown:nt,onPointerMove:at,onPointerUp:Pe,onPointerCancel:Pe,children:[e.jsxs("div",{className:"agent-floor__command-bar",children:[c||!d?e.jsx("strong",{children:"Operations floor"}):null,e.jsxs("div",{className:"agent-floor__view-switch",role:"group","aria-label":"Floor view",children:[e.jsx("button",{type:"button","aria-pressed":!c&&!p,onClick:()=>{x(!1),M(!1),_e()},children:"World"}),e.jsx("button",{type:"button","aria-pressed":p,onClick:()=>{x(!0),M(!1),y(null),f(null),_e()},children:"Replay"}),e.jsx("button",{type:"button","aria-pressed":c,onClick:()=>{x(!1),M(!0),y(null),f(null),_e()},children:"History"})]}),!c&&!p?e.jsx("button",{type:"button",onClick:()=>P(!d),children:d?"Rooms":"Shared map"}):null,!c&&!p?e.jsx("div",{className:"agent-floor__view-switch","aria-label":"Floor resources",children:["artifacts","branches","terminals"].map(t=>e.jsx("button",{type:"button","aria-pressed":_===t,onClick:()=>{f(t),$(null),y(null)},children:t==="artifacts"?"Artifacts":t==="branches"?"Branches":"Terminals"},t))}):null,!c&&!p&&!d&&A.length>o.length?e.jsxs("button",{type:"button",title:"Release vacant desks and compact sectors",onClick:()=>{Re(C.map(t=>t.id)),K(0)},children:["Release ",A.length-o.length," ",A.length-o.length===1?"desk":"desks"]}):null,!c&&!p&&!d&&ue>1?e.jsxs("span",{className:"agent-floor__page-controls",children:[e.jsx("button",{type:"button","aria-label":"Previous floor sector",disabled:W===0,onClick:()=>{K(W-1),$(null),R(null)},children:"←"}),"Sector ",W+1," / ",ue,e.jsx("button",{type:"button","aria-label":"Next floor sector",disabled:W===ue-1,onClick:()=>{K(W+1),$(null),R(null)},children:"→"})]}):null]}),!c&&!p&&!d?e.jsx(pt,{berths:Fe,allLanes:C,lanes:te.map(t=>t.lane),now:i,selectedId:L,sheetOpen:!!(H||S||_),motionPaused:g,onPause:()=>b(!g),onActor:t=>{F(t),z({x:-100,y:0}),D(1)},onRoom:t=>{f(null),y(t),$(null),R(null)}}):null,!c&&!p&&_?e.jsx(ut,{view:_,lanes:C,onView:f,onClose:()=>f(null),onActor:F}):null,!c&&!p&&d?e.jsx(ct,{now:i,lanes:C,onActor:F}):null,p?e.jsx(it,{lanes:C,now:i,onActor:n}):null,c?e.jsx(dt,{lanes:C,now:i,onActor:F}):null,!c&&!p&&!d?e.jsx(qt,{zoom:k,fit:k===1&&T.x===0&&T.y===0,onZoomChange:D,onReset:_e}):null,e.jsx("div",{className:"agent-floor__stage",style:{display:p||c||d?"none":void 0,transform:`translate3d(${T.x}px, ${T.y}px, 0) scale(${rt})`},children:c?e.jsxs("div",{className:"agent-floor__field",style:{width:Z,height:xe,left:-Z/2,top:-xe/2},children:[e.jsx("div",{className:"agent-floor__plane"}),Array.from({length:ne+1},(t,s)=>e.jsx("div",{className:`agent-floor__seam${s===0?" is-front":""}`,style:{left:De(s)}},s)),Array.from({length:ne+1},(t,s)=>e.jsx("div",{className:`agent-floor__bb agent-floor__tick${s===0?" is-now":""}`,style:{left:De(s),top:ze},children:s===0?e.jsxs(e.Fragment,{children:[e.jsx("span",{className:"agent-floor__tick-pulse"}),e.jsx("span",{children:"now"})]}):Ne(q-(s-1)*U)},s)),e.jsx("div",{className:"agent-floor__lanes",style:{left:0,top:Ie},"data-focus":L!==null||void 0,children:te.map((t,s)=>e.jsx(Bt,{series:t,index:s,planeW:Z,flip:he,periodStart:q,now:i,focused:L===t.lane.id,pinned:N===t.lane.id,dimmed:N===null&&G!==null&&G!==t.lane.id,peekSlot:de?.laneId===t.lane.id?de.slot:null,onFocus:R,onPeek:ot,onSelect:F},t.lane.id))}),Te.length>0?e.jsxs("div",{className:"agent-floor__bb agent-floor__chip",style:{left:he?I/2:Z-I/2,top:ze+30},children:["+",Te.length," more in the ledger"]}):null]}):e.jsx(ht,{berths:Fe,lanes:te.map(t=>t.lane),now:i,motionPaused:g,selectedId:L,onFocus:R,onSelect:F,onFocusRoom:(t,s,u)=>{f(null),y(t),$(null),R(null),D(ae),z({x:Y((we/2-s)*oe*ae-140,je),y:Y((Se/2-u)*oe*ae,be)})}})}),!c&&(H||S)?e.jsx(gt,{lane:H?.lane??null,room:S,lanes:te.map(t=>t.lane),allLanes:C,now:i,onClose:()=>{$(null),y(null)},onSelectRoom:t=>{f(null),y(t);const s=ft[t];z({x:Y((we/2-s.x-205)*oe*k-140,je),y:Y((Se/2-s.y-132)*oe*k,be)})},onSelectLane:F,onOpenTrace:n},H?.lane.id??S):H?e.jsx(Gt,{series:H,now:i,concise:Ce,onConciseChange:h,onClose:()=>$(null),onOpenFull:()=>n(H.lane),operatorName:m}):null]})]}),p?null:e.jsx(Kt,{focus:lt,pinned:N!==null&&L===N,ledger:w,liveCount:ve,now:i}),e.jsxs("footer",{className:"agent-floor__legend",style:{display:p?"none":void 0},children:[e.jsxs("span",{className:"agent-floor__legend-item",children:[e.jsx("span",{className:"agent-floor__legend-swatch is-tool"}),"tool call"]}),e.jsxs("span",{className:"agent-floor__legend-item",children:[e.jsx("span",{className:"agent-floor__legend-swatch is-edit"}),"file edit"]}),e.jsxs("span",{className:"agent-floor__legend-item",children:[e.jsx("span",{className:"agent-floor__legend-swatch is-msg"}),"message"]}),e.jsxs("span",{className:"agent-floor__legend-item",children:[e.jsx("span",{className:"agent-floor__legend-pulse"}),"actors follow recent activity"]}),e.jsxs("button",{type:"button",className:"agent-floor__legend-flip",hidden:!c,onClick:tt,title:"Flip which side history accumulates on",children:["past ",he?"→":"←"]}),e.jsx("span",{className:"agent-floor__legend-note",children:"Rooms open their own sheets · actors open task details · History retains the trace"})]})]})}export{An as AgentFloorView};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{j as e,r as j}from"./index-
|
|
1
|
+
import{j as e,r as j}from"./index-EsrkGBcv.js";import{a as F,S as z}from"./SpriteAvatar-CpZWf54-.js";import{f as A}from"./agent-floor-actor-DW8zLht0.js";import{l as D}from"./agent-lanes-model-DMAdqCmK.js";/* empty css */import{F as E,a as T,b as R,f as q,c as B}from"./agent-floor-world-layout-hfMjuoui.js";import{C as G}from"./coffee-D7EAOdCk.js";import{T as H}from"./terminal-hQKQygcf.js";import{R as P}from"./radio-DRoOZsws.js";import{F as U}from"./file-code-corner-CsU7jJpu.js";import{G as Z}from"./git-branch-B0_fPLO7.js";import"./agent-state-DDhnFEEP.js";import"./lane-observe-CteDwdD-.js";import"./time-Dhsh_2EG.js";import"./tail-display-DHSNmvor.js";import"./lane-edit-display-BjdT9oZl.js";import"./lane-ask-display-BTVSakyo.js";import"./context-budget-8qFKqM-j.js";import"./terminal-sessions-3RfJpen8.js";import"./api-DSqpVKC7.js";import"./createLucideIcon-zZ8Hx7er.js";const J=[{id:"home",name:"Crew quarters",detail:"Ready · quiet · attention",...R.home,icon:G},{id:"tools",name:"Execution lab",detail:"Tools & runtime",...R.tools,icon:H},{id:"message",name:"Communications",detail:"Messages & requests",...R.message,icon:P},{id:"edit",name:"Build workshop",detail:"Files & patches",...R.edit,icon:U}];function K({lane:t,berth:u,now:g,selected:x,motionPaused:h,instant:w,onFocus:d,onSelect:M}){const a=A(t,g),r=q(a.station,u),_=j.useRef(null),s=j.useRef(`translate(${r.x}px, ${r.y}px)`),m=j.useRef(!1),[f,n]=j.useState(!1),i=F(t.agent),l=D(t.agent,t.source),y=t.id.replace(/[^a-zA-Z0-9]/g,"").slice(-4),$=t.facts?.currentTask||t.facts?.branch||t.agent.harness||"Observed session";return j.useEffect(()=>{const p=_.current;if(!p)return;const b=(o,c)=>`translate(${o}px, ${c}px)`,N=window.matchMedia("(prefers-reduced-motion: reduce)"),S=new DOMMatrixReadOnly(getComputedStyle(p).transform),k=m.current?{x:S.m41,y:S.m42}:r;if(h){m.current=!0,n(!1);return}p.style.transform=b(r.x,r.y);const I=Math.hypot(k.x-r.x,k.y-r.y);if(!m.current||I<1||N.matches||w){m.current=!0,n(!1);return}const O=B(k,r);let v=0;const W=O.map((o,c)=>(c&&(v+=Math.hypot(o.x-O[c-1].x,o.y-O[c-1].y)),v)),C=p.animate(O.map((o,c)=>({transform:b(o.x,o.y),offset:W[c]/v})),{duration:Math.min(4200,Math.max(900,v*5)),easing:"linear"});n(!0),C.onfinish=()=>n(!1);const L=()=>{N.matches&&(C.cancel(),n(!1))};return N.addEventListener("change",L),()=>{const o=new DOMMatrixReadOnly(getComputedStyle(p).transform);C.cancel(),p.style.transform=b(o.m41,o.m42),N.removeEventListener("change",L)}},[r.x,r.y,h,w]),e.jsxs("button",{ref:_,type:"button",style:{transform:s.current},className:`floor-world__actor is-${a.posture}${x?" is-selected":""}${f?" is-moving":""}`,"data-station":a.station,"aria-pressed":x,"aria-label":`${l} ${y}, ${a.label}. Inspect actor`,onClick:()=>M(t),onMouseEnter:()=>d(t.id),onMouseLeave:()=>d(null),onFocus:()=>d(t.id),onBlur:()=>d(null),children:[e.jsx("span",{className:"floor-world__actor-shadow"}),e.jsx("span",{className:"floor-world__ring"}),e.jsx("span",{className:"floor-world__sprite",children:e.jsx(z,{name:t.agent.name,size:44,hue:i.hue,tone:i.tone,glow:!1})}),a.posture==="attention"||a.posture==="blocked"?e.jsx("span",{className:"floor-world__alert",children:"!"}):null,e.jsxs("span",{className:"floor-world__actor-name",children:[l,e.jsx("small",{children:y})]}),e.jsx("span",{className:"floor-world__actor-action",children:f?"Moving":a.label}),x?e.jsx("span",{className:"floor-world__thought",children:$.slice(0,150)}):null]})}function _e({berths:t,lanes:u,now:g,selectedId:x,motionPaused:h,instant:w,onFocus:d,onSelect:M,onFocusRoom:a}){const r=u.map(s=>A(s,g)),_=r.filter(s=>s.posture==="attention"||s.posture==="blocked").length;return e.jsxs("div",{className:`floor-world${h?" is-motion-paused":""}`,style:{width:T,height:E,left:-T/2,top:-E/2},children:[e.jsxs("div",{className:"floor-world__passage",children:[e.jsx("span",{children:"SCOUT / OPERATIONS"}),e.jsx("span",{children:_?`${_} need attention`:"Live observation"})]}),e.jsx("div",{className:"floor-world__spine"}),J.map(s=>{const m=s.icon,f=r.filter(i=>i.station===s.id),n=f.some(i=>i.posture==="working");return e.jsxs("section",{className:`floor-world__room is-${s.id}${n?" is-active":""}`,style:{left:s.x,top:s.y},"aria-label":`${s.name}, ${f.length} actors`,children:[e.jsx("header",{children:e.jsxs("button",{type:"button","aria-label":`Inspect ${s.name}`,onClick:()=>a(s.id,s.x+205,s.y+132),children:[e.jsx(m,{size:20}),e.jsxs("span",{children:[e.jsx("strong",{children:s.name}),e.jsx("small",{children:s.detail})]}),e.jsx("span",{className:"floor-world__room-count",children:f.length})]})}),e.jsx("div",{className:"floor-world__furniture","aria-hidden":"true",children:Array.from({length:8},(i,l)=>e.jsxs("span",{className:`floor-world__console${u.some((y,$)=>t[y.id]===l&&r[$]?.station===s.id)?" is-occupied":""}`,style:{left:65+l%4*94,top:83+Math.floor(l/4)*94},children:[e.jsxs("span",{className:"floor-world__screen",children:[e.jsx("i",{}),e.jsx("i",{}),e.jsx("i",{})]}),e.jsx("span",{className:"floor-world__keyboard"})]},l))}),e.jsx("span",{className:"floor-world__door","aria-hidden":"true"})]},s.id)}),e.jsx("div",{className:"floor-world__center-mark","aria-hidden":"true",children:e.jsx(Z,{size:24})}),u.map(s=>e.jsx(K,{lane:s,berth:t[s.id]??0,now:g,instant:w,motionPaused:h,selected:x===s.id,onFocus:d,onSelect:M},s.id))]})}export{_e as AgentFloorWorld,E as FLOOR_WORLD_HEIGHT,T as FLOOR_WORLD_WIDTH};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as d,j as a,C as Z,p as ee}from"./index-EsrkGBcv.js";/* empty css *//* empty css */import{c as ae,b as te}from"./agent-state-DDhnFEEP.js";import{m as se,c as le}from"./conversation-model-FxDeWlle.js";import{s as oe}from"./colors-CFlbwC25.js";import{a as U}from"./api-DSqpVKC7.js";import{u as re}from"./sse-BCPRocpq.js";import{b as ne,t as ie}from"./time-Dhsh_2EG.js";import{f as h}from"./runtime-picker-DXu2bOTh.js";import{u as ce}from"./Provider-C35yu29I.js";import{o as ue}from"./openContent-C6XO6kr5.js";import{B as L}from"./BackToPicker-CUkjnoVk.js";import{A as de}from"./AgentLiveActions-CfTupTEl.js";import{c as pe}from"./AgentAvatar-CrP1eXxk.js";import{C as me}from"./CrewStage-vdO0qm3D.js";import{S as he}from"./SessionHopMenu-E6VJZrE0.js";import{O as fe}from"./ObservedTopologyPanel-CUTIoLZJ.js";import{a as ve}from"./NewChatComposer-C97-iTMK.js";import"./conversations-DoAAO6kA.js";import"./index-BWHgHrtv.js";import"./scout-voice-CZx60X6E.js";import"./fx-z37u1o2z.js";import"./voice-levels-Dcr3jglk.js";import"./loader-circle-OvccU82H.js";import"./createLucideIcon-zZ8Hx7er.js";import"./router-DCtl8wqb.js";import"./synthetic-agent-routing-aduMYO7P.js";import"./terminal-sessions-3RfJpen8.js";import"./theme-vars-DNK0nn3k.js";import"./provider-Dojd8quC.js";import"./machine-scope-DJt9RZ2w.js";import"./surface-activity-B1rgWB1i.js";import"./scoutbot-Bk3nyrkj.js";import"./model-CBkMvT1w.js";import"./DocumentFocusViewer-DJr0v0D_.js";import"./TextDocumentSurface-D52m7Vd8.js";import"./file-text-CnISiiw6.js";import"./x-DAehov0E.js";import"./index-CHD0qcfL.js";import"./chevron-right-DrfqcerI.js";import"./folder-D5prSkzz.js";import"./chevron-up-CETZJzjV.js";import"./code-xml-BhcNbLWU.js";import"./arrow-left-MVUKauwQ.js";import"./arrow-right-Bp-FpE5V.js";import"./voice-turn-ledger-BMZxlSjg.js";import"./keyboard-nav-DDHegDbx.js";import"./media-blobs-Bi8pxr1u.js";import"./chunk-HRAB3GC3-DbVLgbWX.js";import"./terminal-takeover-Ay5C2c-M.js";import"./eye-LrO-cXQt.js";import"./terminal-hQKQygcf.js";import"./SpriteAvatar-CpZWf54-.js";import"./CrewAvatar-kTznzqcO.js";import"./HarnessMark-C4naWc16.js";import"./external-link-CUObqmgX.js";import"./index-724SdE6r.js";import"./NewChatOrigin-DFbF_XvR.js";import"./chevron-down-l1mrh5S9.js";import"./search-DT42oyRW.js";function S({values:t}){return a.jsx("span",{className:"s-agent-token-list",children:t.map(s=>a.jsx("span",{className:"s-agent-token",children:s},s))})}function o({value:t}){return a.jsx("span",{className:"s-agent-code-value",children:t})}function A({label:t,value:s}){return s?.trim()?a.jsxs("span",{className:"s-agent-profile-chip",children:[a.jsx("span",{className:"s-agent-profile-chip-label",children:t}),a.jsx("span",{className:"s-agent-profile-chip-value",children:s})]}):null}function E(t){return(t??"").toLowerCase().replace(/[^a-z0-9]+/g,"")}function ge(t){return t.trim().replace(/^@+/,"").replace(/^(project|agent|session)[-_.:\s]+/iu,"").split(/[-_\s·]+/u).filter(Boolean).map(s=>s.slice(0,1).toUpperCase()+s.slice(1)).join(" ")}function be(t,s,i,c){let r=t.trim().replace(/^@+/,"");const l=[s,i,c,c?h(c):null].filter(p=>!!p?.trim());for(const p of l){const v=p.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");r=r.replace(new RegExp(`^${v}[-_.:\\s·]+`,"iu"),"")}return r}function xe(t,s,i,c){const r=s?.participants?.find(m=>m.agentId===t.id||m.actorId===t.id),l=E(t.harness),p=E(i),v=[r?.scopedAlias,s?.alias,t.handle,r?.displayName,s?.agentName,t.name];for(const m of v){if(!m?.trim())continue;const g=be(m,i,c,t.harness),f=ge(g),b=E(f);if(!(!b||b===p||b===l))return f}return null}function je(t){const s=t?.trim();return s?s.toLowerCase()==="a2a"?"A2A":h(s)??s:null}function Ne({name:t,url:s}){return s?a.jsx("a",{href:s,target:"_blank",rel:"noreferrer",children:t}):a.jsx(a.Fragment,{children:t})}function N({title:t,subtitle:s,items:i,variant:c}){return i.length===0?null:a.jsxs("section",{className:`s-agent-profile-card${c?` s-agent-profile-card-${c}`:""}`,children:[a.jsx("div",{className:"s-agent-profile-card-header",children:a.jsxs("div",{children:[a.jsx("div",{className:"s-agent-profile-card-title",children:t}),s&&a.jsx("div",{className:"s-agent-profile-card-subtitle",children:s})]})}),a.jsx("div",{className:"s-agent-meta-card-body",children:i.map(r=>a.jsxs("div",{className:"s-agent-meta-row",children:[a.jsx("span",{className:"s-agent-meta-label",children:r.label}),a.jsx("span",{className:"s-agent-meta-value",children:r.value})]},r.label))})]})}function ye({slug:t,hue:s}){const[i,c]=d.useState(!1);return d.useEffect(()=>{if(!i)return;const r=l=>{l.key==="Escape"&&c(!1)};return window.addEventListener("keydown",r),()=>window.removeEventListener("keydown",r)},[i]),a.jsx("div",{className:"s-agent-hero-stage-box","data-open":i?"true":"false",children:a.jsx(me,{className:"s-agent-hero-stage",slug:t,open:i,onToggle:()=>c(r=>!r),coin:96,figure:224,radius:14,floor:!0,hue:s})})}function $a({conversationId:t,navigate:s}){const i=ce(),{agents:c,route:r}=i,[l,p]=d.useState(null),[v,m]=d.useState(!1),[g,f]=d.useState(null),[b,z]=d.useState(null),[y,B]=d.useState(null),I=d.useCallback(async()=>{B(null);try{const n=await U(`/api/session/${encodeURIComponent(t)}`).catch(()=>null);p(n)}catch(n){B(n instanceof Error?n.message:String(n)),p(null)}finally{m(!0)}},[t]);d.useEffect(()=>{m(!1),I()},[I]),re(()=>{I()});const u=l?.agentId??null;d.useEffect(()=>{if(!u||c.some(T=>T.id===u)){f(null);return}let n=!1;return U(`/api/agents/${encodeURIComponent(u)}`).then(T=>{n||f(T)}).catch(()=>{n||f(null)}).finally(()=>{n||z(u)}),()=>{n=!0}},[c,u]);const e=d.useMemo(()=>u?c.find(n=>n.id===u)??(g?.id===u?g:null):null,[g,c,u]);if(!e)return!v||u!==null&&b!==u?a.jsxs("div",{children:[a.jsx(L,{slot:"agent-info",fallback:{view:"conversation",conversationId:t},navigate:s}),a.jsx("div",{className:"s-empty",children:a.jsx("p",{children:"Loading…"})})]}):a.jsxs("div",{children:[a.jsx(L,{slot:"agent-info",fallback:{view:"conversation",conversationId:t},navigate:s}),y&&a.jsx("p",{className:"s-error",children:y}),a.jsx("div",{className:"s-empty",children:a.jsx("p",{children:"Agent not found"})})]});const _=se(e),C=e.handle?`@${e.handle.replace(/^@+/,"")}`:null,P=e.selector??e.defaultSelector??C,D=ae(e.state),H=e.authorityNodeName?`${e.authorityNodeName} (${e.authorityNodeId??"unknown"})`:e.authorityNodeId,F=e.homeNodeName?`${e.homeNodeName} (${e.homeNodeId??"unknown"})`:e.homeNodeId,$=e.skills??[],x=je(e.protocol),w=!!(e.providerName||x||$.length>0),M=ve(e),j=M.title,{castSlug:R}=pe(i,{agent:{id:e.id,name:e.name}}),W=i.appearanceDetails?.avatarStyle!=="sprite"&&R&&Z[R]?R:null,k=xe(e,l,j,M.slug),Q=k?`${j} · ${k}`:j,O=l?.participants?.find(n=>n.agentId===e.id||n.actorId===e.id),q=e.model&&e.harness&&e.model.startsWith(`${e.harness}-`)?e.model.slice(e.harness.length+1):e.model,K=[h(e.harness??"")??e.harness,q].filter(n=>!!n).join(" · "),V=[{label:"Project",value:j},{label:"Alias",value:k??"Default project participant"},...P?[{label:"Primary selector",value:a.jsx(o,{value:P})}]:[],...O?.scopedAlias?[{label:"Scoped alias",value:a.jsx(o,{value:O.scopedAlias})}]:[],...C?[{label:"Handle",value:a.jsx(o,{value:C})}]:[],...e.defaultSelector&&e.defaultSelector!==e.selector?[{label:"Default selector",value:a.jsx(o,{value:e.defaultSelector})}]:[],{label:"Definition",value:a.jsx(o,{value:e.definitionId})}],G=[{label:"Routable agent ID",value:a.jsx(o,{value:e.id})},...e.providerName?[{label:"Provider",value:a.jsx(Ne,{name:e.providerName,url:e.providerUrl})}]:[],...x?[{label:"Protocol",value:x}]:[],...$.length>0?[{label:"Skills",value:a.jsx(S,{values:$})}]:[],...w?[]:[{label:"Class",value:h(e.agentClass)??"—"}],...!w&&e.role?[{label:"Role",value:h(e.role)??e.role}]:[],...e.authorityProfile?[{label:"Authority profile",value:a.jsx(o,{value:e.authorityProfile.roleId})}]:[],...e.workspaceQualifier?[{label:"Workspace qualifier",value:a.jsx(o,{value:e.workspaceQualifier})}]:[],...e.nodeQualifier?[{label:"Node qualifier",value:a.jsx(o,{value:e.nodeQualifier})}]:[],...e.staleLocalRegistration?[{label:"Registration",value:e.replacedByAgentId?`Superseded by ${e.replacedByAgentId}`:"Historical registration"}]:[],...e.retiredFromFleet?[{label:"Fleet state",value:"Retired"}]:[]],J=[...e.projectRoot?[{label:"Project path",value:a.jsx(o,{value:e.projectRoot})}]:[],...e.cwd?[{label:"Working dir",value:a.jsx(o,{value:e.cwd})}]:[],...e.branch?[{label:"Branch",value:e.branch}]:[],...H?[{label:"Authority node",value:a.jsx(o,{value:H})}]:[],...F?[{label:"Home node",value:a.jsx(o,{value:F})}]:[],...e.ownerId?[{label:"Owner",value:e.ownerName?`${e.ownerName} (${e.ownerId})`:e.ownerId}]:[],...e.conversationId?[{label:"Direct conversation",value:a.jsx(o,{value:e.conversationId})}]:[]],X=[...!w&&e.harness?[{label:"Harness",value:e.harness}]:[],...e.model?[{label:"Model",value:e.model}]:[],...!w&&e.transport?[{label:"Transport",value:h(e.transport)??e.transport}]:[],...e.wakePolicy?[{label:"Wake policy",value:h(e.wakePolicy)??e.wakePolicy}]:[],...e.harnessSessionId?[{label:x?`${x} session`:"Harness session",value:a.jsx(o,{value:e.harnessSessionId})}]:[],...e.harnessLogPath?[{label:"Harness log",value:a.jsx(o,{value:e.harnessLogPath})}]:[],...e.capabilities.length>0?[{label:"Capabilities",value:a.jsx(S,{values:e.capabilities})}]:[],...e.authorityProfile?.readTools.length?[{label:"Broker reads",value:a.jsx(S,{values:e.authorityProfile.readTools})}]:[],...e.authorityProfile?.writeTools.length?[{label:"Broker writes",value:a.jsx(S,{values:e.authorityProfile.writeTools})}]:[],...e.authorityProfile?[{label:"Machine access",value:`shell ${e.authorityProfile.shell?"allowed":"blocked"} · code writes ${e.authorityProfile.codebaseWrites?"allowed":"blocked"}`}]:[],...e.runtimePolicy?.sandbox?[{label:"Sandbox",value:e.runtimePolicy.sandbox}]:[]],Y=[{label:"Conversation ID",value:a.jsx(o,{value:t})},...l?.alias?[{label:"Conversation alias",value:a.jsx(o,{value:l.alias})}]:[],...l?.naturalKey?[{label:"Natural key",value:a.jsx(o,{value:l.naturalKey})}]:[],...l?.workspaceRoot?[{label:"Workspace",value:a.jsx(o,{value:l.workspaceRoot})}]:[],...l?.currentBranch?[{label:"Session branch",value:l.currentBranch}]:[],...l?.messageCount!=null?[{label:"Messages",value:String(l.messageCount)}]:[],...l?.lastMessageAt?[{label:"Last message",value:ne(l.lastMessageAt)}]:[]];return a.jsxs("div",{className:"s-agent-profile-page",children:[a.jsxs("div",{className:"s-agent-profile-page-topbar",children:[a.jsx(L,{slot:"agent-info",fallback:{view:"conversation",conversationId:t},navigate:s}),a.jsx("button",{type:"button",className:"s-btn",onClick:()=>s({view:"agents-v2",agentId:e.id}),children:"Open in Agents"})]}),y&&a.jsx("p",{className:"s-error",children:y}),a.jsxs("section",{className:"s-agent-profile-hero",children:[a.jsx("div",{className:"s-agent-profile-hero-main",children:a.jsxs("div",{className:"s-agent-profile-hero-title-row",children:[W?a.jsx(ye,{slug:W,hue:ee(e.project??"openscout")}):a.jsx("div",{className:"s-avatar s-agent-profile-hero-avatar",children:e.name[0].toUpperCase()}),a.jsxs("div",{className:"s-agent-profile-hero-copy",children:[a.jsxs("div",{className:"s-agent-casefile-title-meta",children:[a.jsx("span",{className:"s-agent-casefile-record",children:P??_??le(e.id)??e.id}),D&&a.jsxs("span",{className:`s-agent-state-chip s-agent-state-chip-${te(e.state)}`,children:[a.jsx("span",{className:"s-dot",style:{background:oe(e.state)}}),D]}),e.staleLocalRegistration&&a.jsx("span",{className:"s-agent-state-chip s-agent-state-chip-offline",children:"Superseded registration"})]}),a.jsx("h1",{className:"s-agent-profile-hero-title",children:Q}),a.jsxs("div",{className:"s-agent-profile-hero-tags",children:[a.jsx(A,{label:"Project",value:j}),a.jsx(A,{label:"Alias",value:k??"Default"}),a.jsx(A,{label:"Runtime",value:K||null}),a.jsx(A,{label:"Host",value:e.homeNodeName?.replace(/\.local$/i,"")??null})]}),a.jsxs("p",{className:"s-agent-profile-hero-context",children:[l?.title?`Conversation: ${l.title}.`:"Attached to this conversation.",e.updatedAt?` Updated ${ie(e.updatedAt)}.`:""]})]})]})}),a.jsxs("div",{className:"s-agent-profile-hero-actions",children:[a.jsx(de,{agent:e,navigate:s,returnTo:r}),a.jsx(he,{className:"s-btn",label:"Terminal",hints:{agentId:e.id,sessionRefs:[e.harnessSessionId,l?.harnessSessionId,l?.id]},navigate:s,returnTo:r}),a.jsx("button",{type:"button",className:"s-btn s-btn-primary",onClick:()=>ue(s,{view:"conversation",conversationId:t},{returnTo:r}),children:"Open conversation"})]})]}),a.jsxs("div",{className:"s-agent-profile-grid",children:[a.jsx(N,{title:"Stable alias",subtitle:"Repeatable project identity used to route future work.",items:V,variant:"primary"}),a.jsx(N,{title:"Current conversation",subtitle:"Unique DM/context attached to this page.",items:Y}),a.jsx(N,{title:"Runtime instance",subtitle:"Concrete harness state for the current attachment.",items:X}),a.jsx(N,{title:"Location",subtitle:"Where this alias resolves right now.",items:J}),a.jsx(N,{title:"Diagnostics",subtitle:"Broker and provider fields for debugging.",items:G,variant:"secondary"})]}),a.jsx(fe,{title:"Observed harness families",size:"compact",maxAgents:8,maxTasks:4,showEmpty:!0})]})}export{$a as AgentInfoScreen};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{j as a,r as u}from"./index-C8uS5szO.js";/* empty css */import{AgentLaneCockpitPane as w,cockpitHeightTier as y}from"./AgentLaneSummaryResize-BBYBS3DO.js";import{c as $}from"./clipboard-e3fSpeo7.js";import{H as L}from"./HarnessMark-Bt47OeHy.js";function F(){return a.jsx("svg",{viewBox:"0 0 12 12",width:"11",height:"11","aria-hidden":"true",className:"s-lane-card-gmark",children:a.jsx("path",{d:"M2 4.2c0-.4.3-.7.7-.7h2.1l1 1h3.5c.4 0 .7.3.7.7V9c0 .4-.3.7-.7.7H2.7c-.4 0-.7-.3-.7-.7V4.2Z",fill:"none",stroke:"currentColor",strokeWidth:"1",strokeLinejoin:"round"})})}function T(){return a.jsxs("svg",{viewBox:"0 0 12 12",width:"11",height:"11","aria-hidden":"true",className:"s-lane-card-gmark",children:[a.jsx("circle",{cx:"6",cy:"3",r:"1.5",fill:"none",stroke:"currentColor",strokeWidth:"1"}),a.jsx("circle",{cx:"6",cy:"9",r:"1.5",fill:"none",stroke:"currentColor",strokeWidth:"1"}),a.jsx("path",{d:"M6 4.5v3",stroke:"currentColor",strokeWidth:"1"})]})}function W({dir:s}){return a.jsx("span",{className:"s-lane-card-dir","aria-hidden":"true",children:s==="from"?"←":"→"})}function M(){return a.jsxs(a.Fragment,{children:[a.jsx("i",{className:"s-lane-card-gl s-lane-card-gl-t","aria-hidden":"true"}),a.jsx("i",{className:"s-lane-card-gl s-lane-card-gl-b","aria-hidden":"true"}),a.jsx("i",{className:"s-lane-card-gl s-lane-card-gl-l","aria-hidden":"true"}),a.jsx("i",{className:"s-lane-card-gl s-lane-card-gl-r","aria-hidden":"true"})]})}function d({value:s,label:l,side:n}){const[r,e]=u.useState(!1),c=u.useRef(null);u.useEffect(()=>()=>{c.current&&clearTimeout(c.current)},[]);const i=u.useCallback(t=>{t.preventDefault(),t.stopPropagation(),$(s).then(o=>{o&&(e(!0),c.current&&clearTimeout(c.current),c.current=setTimeout(()=>e(!1),1100))})},[s]);return a.jsx("button",{type:"button",className:`s-lane-card-copydot s-lane-card-copydot--${n}${r?" s-lane-card-copydot--done":""}`,onClick:i,title:r?"Copied":`Copy ${l}`,"aria-label":r?`Copied ${l}`:`Copy ${l}`,children:r?a.jsx("svg",{viewBox:"0 0 12 12",width:"11",height:"11","aria-hidden":"true",children:a.jsx("path",{d:"M2.5 6.2 4.8 8.5 9.5 3.8",fill:"none",stroke:"currentColor",strokeWidth:"1.4",strokeLinecap:"round",strokeLinejoin:"round"})}):a.jsxs("svg",{viewBox:"0 0 12 12",width:"11",height:"11","aria-hidden":"true",children:[a.jsx("rect",{x:"3.4",y:"3.4",width:"5.8",height:"5.8",rx:"1.3",fill:"none",stroke:"currentColor",strokeWidth:"1"}),a.jsx("path",{d:"M2.4 7.2V2.8c0-.4.3-.7.7-.7h4",fill:"none",stroke:"currentColor",strokeWidth:"1",strokeLinecap:"round"})]})})}function N({value:s,label:l,group:n}){const r=!!n&&n.rows.length>0;return a.jsxs("span",{className:`s-lane-card-instr${r?" s-lane-card-instr--pop":""}`,children:[a.jsx("span",{className:"s-lane-card-instr-val",children:s}),a.jsx("span",{className:"s-lane-card-instr-label",children:l}),r&&a.jsxs("span",{className:"s-lane-card-pop",role:"tooltip",children:[a.jsxs("span",{className:"s-lane-card-pop-h",children:[a.jsx("span",{className:"s-lane-card-pop-title",children:l}),a.jsx("span",{className:"s-lane-card-pop-count",children:n.more>0?`top ${n.rows.length} · ${s}`:s})]}),a.jsxs("span",{className:"s-lane-card-pop-list",children:[n.rows.map((e,c)=>a.jsxs("span",{className:"s-lane-card-pop-row",title:e.full??e.text,children:[a.jsx("span",{className:`s-lane-card-pop-mark s-lane-card-pop-mark--${e.tone}`,children:e.mark}),a.jsx("span",{className:"s-lane-card-pop-text",children:e.text})]},`${c}:${e.full||e.text}`)),n.more>0&&a.jsxs("span",{className:"s-lane-card-pop-more",children:["+",n.more," more"]})]})]})]})}function P(s){return s.toLocaleString()}function B(s){return s>=1e6?`${(s/1e6).toFixed(1)}M`:s>=1e3?`${(s/1e3).toFixed(s>=1e5?0:1)}k`:`${s}`}function S({usage:s}){return s.dials.length===0?null:a.jsxs("div",{className:"s-lane-card-cockpit-tokens","aria-label":"Token usage",children:[a.jsxs("div",{className:"s-lane-card-cockpit-tokens-head",children:[a.jsxs("span",{className:"s-lane-card-cockpit-tokens-label",children:[a.jsx("span",{className:"s-lane-card-cockpit-tokens-mark","aria-hidden":"true",children:"◎"}),"Tokens"]}),s.total!=null&&a.jsx("span",{className:"s-lane-card-cockpit-tokens-hint",children:B(s.total)})]}),a.jsx("div",{className:"s-lane-card-cockpit-dials",children:s.dials.map(l=>a.jsxs("span",{className:"s-lane-card-cockpit-dial",children:[a.jsx("span",{className:"s-lane-card-cockpit-dial-value",children:P(l.value)}),a.jsx("span",{className:"s-lane-card-cockpit-dial-label",children:l.label})]},l.label))})]})}function I({pops:s}){const l=s.edits.rows.length>0,n=l?s.edits:s.files;if(n.rows.length===0)return null;const r=l?"Files modified":"Files touched";return a.jsxs("div",{className:"s-lane-card-cockpit-files","aria-label":r,children:[a.jsxs("div",{className:"s-lane-card-cockpit-tokens-head",children:[a.jsx("span",{className:"s-lane-card-cockpit-tokens-label",children:r}),a.jsx("span",{className:"s-lane-card-cockpit-tokens-hint",children:n.rows.length+n.more})]}),a.jsxs("div",{className:"s-lane-card-cockpit-files-list",children:[n.rows.map((e,c)=>a.jsxs("span",{className:"s-lane-card-cockpit-file",title:e.full??e.text,children:[a.jsx("span",{className:`s-lane-card-pop-mark s-lane-card-pop-mark--${e.tone}`,children:e.mark}),a.jsx("span",{className:"s-lane-card-cockpit-file-text",children:e.text})]},`${c}:${e.full||e.text}`)),n.more>0&&a.jsxs("span",{className:"s-lane-card-cockpit-file s-lane-card-cockpit-file--more",children:["+",n.more," more"]})]})]})}function g({model:s,cockpitHeight:l=null}){const n=y(l)==="stats";return a.jsxs(a.Fragment,{children:[a.jsx("div",{className:"s-lane-card-summary",children:s.head?.placeholder?a.jsxs("div",{className:`s-lane-card-wait${s.working?" s-lane-card-wait--working":""}`,children:[a.jsx("span",{className:"s-lane-card-wait-dot","aria-hidden":"true"}),a.jsx("span",{className:"s-lane-card-wait-label",children:s.head.text})]}):a.jsxs("div",{className:`s-lane-card-current${s.head?.dir?"":" s-lane-card-current--console"}`,children:[s.head?.dir?a.jsx(W,{dir:s.head.dir}):a.jsx("span",{className:"s-lane-card-prompt","aria-hidden":"true",children:"❯"}),a.jsxs("span",{className:"s-lane-card-headwrap",children:[a.jsx("span",{className:"s-lane-card-head-text",children:s.head?.text??"Waiting for trace activity…"}),s.head?.full&&a.jsx("span",{className:"s-lane-card-headpop",role:"tooltip",children:s.head.full})]})]})}),a.jsxs("div",{className:"s-lane-card-accs",children:[a.jsx("div",{className:"s-lane-card-accs-tools",children:s.stats.tools>0?a.jsxs(a.Fragment,{children:[a.jsx(N,{value:s.stats.tools,label:"tools",group:s.pops.tools}),s.stats.edits>0&&a.jsx(N,{value:s.stats.edits,label:"edits",group:s.pops.edits}),s.stats.reads>0&&a.jsx(N,{value:s.stats.reads,label:"reads",group:s.pops.reads}),s.stats.files>0&&a.jsx(N,{value:s.stats.files,label:"files",group:s.pops.files})]}):a.jsx("span",{className:"s-lane-card-accs-empty",children:"no tool activity yet"})}),a.jsxs("div",{className:"s-lane-card-vitals",children:[a.jsxs("span",{className:`s-lane-card-instr s-lane-card-instr--ctx${s.context==null?" s-lane-card-instr--ctx-pending":""}`,title:s.context==null?"Context window — awaiting usage":`Context window ${s.context}% used`,children:[a.jsx("span",{className:"s-lane-card-gauge","aria-hidden":"true",children:a.jsx("span",{className:"s-lane-card-gauge-fill",style:{width:`${s.context??0}%`}})}),a.jsx("span",{className:"s-lane-card-instr-val",children:s.context==null?"—":`${s.context}%`}),a.jsx("span",{className:"s-lane-card-instr-label",children:"ctx"})]}),s.tokens&&a.jsxs("span",{className:"s-lane-card-instr",title:"Tokens currently in context",children:[a.jsx("span",{className:"s-lane-card-instr-val",children:s.tokens}),a.jsx("span",{className:"s-lane-card-instr-label",children:"ctx tokens"})]}),s.turns!=null&&a.jsxs("span",{className:"s-lane-card-instr",children:[a.jsx("span",{className:"s-lane-card-instr-val",children:s.turns}),a.jsx("span",{className:"s-lane-card-instr-label",children:s.turns===1?"turn":"turns"})]})]})]}),n&&(s.tokenUsage?a.jsx(S,{usage:s.tokenUsage}):a.jsx(I,{pops:s.pops}))]})}function V({model:s,avatar:l,trace:n,collapsed:r=!1,onToggleCollapsed:e,onOpen:c,cockpitHeight:i}){const{name:t,harness:o,model:h,effort:k,cwd:p,cwdFull:f,branch:x,sessionId:j,sessionIdFull:v,parentSessionId:m,parentSessionLabel:b}=s;return a.jsxs("section",{className:`s-lane-card${s.working?" s-lane-card--working":""}${r?" s-lane-card--collapsed":""}`,"aria-label":`${t} lane`,children:[c&&a.jsx("button",{type:"button",className:"s-lane-card-hit",onClick:c,"aria-label":`Inspect ${t}`}),a.jsxs("div",{className:"s-lane-card-head",children:[a.jsxs("span",{className:"s-lane-card-anchor s-lane-card-anchor--av",children:[a.jsx(M,{}),l]}),a.jsxs("div",{className:"s-lane-card-ident",children:[a.jsxs("span",{className:"s-lane-card-fieldc s-lane-card-fieldc--trail s-lane-card-namebox",children:[a.jsx("span",{className:"s-lane-card-name s-lane-card-sel",children:t}),s.authority&&a.jsx("span",{className:"s-lane-card-authority",title:s.authority.title,children:s.authority.label}),a.jsx(d,{value:t,label:"agent name",side:"trail"})]}),p&&a.jsxs("span",{className:"s-lane-card-fieldc s-lane-card-fieldc--trail s-lane-card-d s-lane-card-d--strong",title:f??p,children:[a.jsx(F,{}),a.jsx("span",{className:"s-lane-card-val s-lane-card-sel",children:p}),a.jsx(d,{value:f??p,label:"working directory",side:"trail"})]}),x&&a.jsxs("span",{className:"s-lane-card-fieldc s-lane-card-fieldc--trail s-lane-card-d",title:x,children:[a.jsx("span",{className:"s-lane-card-gchar","aria-hidden":"true",children:"⎇"}),a.jsx("span",{className:"s-lane-card-val s-lane-card-sel",children:x}),a.jsx(d,{value:x,label:"branch",side:"trail"})]})]}),a.jsxs("div",{className:"s-lane-card-meta",children:[o&&a.jsx("span",{className:"s-lane-card-anchor s-lane-card-anchor--hm",children:a.jsx(L,{harness:o,size:30,className:"s-lane-card-hmark"})}),a.jsxs("div",{className:"s-lane-card-meta-lines",children:[(h||k)&&a.jsxs("div",{className:"s-lane-card-meta-run",children:[h&&a.jsxs("span",{className:"s-lane-card-fieldc s-lane-card-fieldc--lead s-lane-card-modelwrap",children:[a.jsx("span",{className:"s-lane-card-meta-model s-lane-card-sel",children:h}),a.jsx(d,{value:h,label:"model",side:"lead"})]}),k&&a.jsx("span",{className:"s-lane-card-meta-effort s-lane-card-sel",children:k})]}),(j||m)&&a.jsxs("span",{className:"s-lane-card-fieldc s-lane-card-fieldc--lead s-lane-card-meta-sid",children:[a.jsx(T,{}),j&&a.jsx("span",{className:"s-lane-card-val s-lane-card-sel",children:j}),m&&a.jsxs(a.Fragment,{children:[a.jsx("span",{className:"s-lane-card-gchar","aria-hidden":"true",children:"↳"}),a.jsx("span",{className:"s-lane-card-val s-lane-card-sel",children:b??m})]}),a.jsx(d,{value:v??m??j??"",label:"session id",side:"lead"})]}),a.jsxs("div",{className:"s-lane-card-meta-foot",children:[s.time&&a.jsxs("span",{className:"s-lane-card-time",children:[a.jsx("span",{className:"s-lane-card-time-dot","aria-hidden":"true"}),s.time]}),e&&a.jsx("button",{type:"button",className:"s-lane-card-caret","aria-label":r?"Expand summary":"Collapse summary","aria-expanded":!r,onClick:C=>{C.stopPropagation(),e()},children:a.jsx("svg",{viewBox:"0 0 10 10",width:"10",height:"10","aria-hidden":"true",children:a.jsx("path",{d:"M2 3.5 L5 6.5 L8 3.5",fill:"none",stroke:"currentColor",strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"})})})]})]})]})]}),!r&&(i!==void 0?a.jsx(w,{cockpitHeight:i,children:a.jsx(g,{model:s,cockpitHeight:i})}):a.jsx(g,{model:s})),n]})}export{V as AgentLaneCard};
|
|
1
|
+
import{j as a,r as u}from"./index-EsrkGBcv.js";/* empty css */import{AgentLaneCockpitPane as w,cockpitHeightTier as y}from"./AgentLaneSummaryResize-dpp7YvrX.js";import{c as $}from"./clipboard-e3fSpeo7.js";import{H as L}from"./HarnessMark-C4naWc16.js";function F(){return a.jsx("svg",{viewBox:"0 0 12 12",width:"11",height:"11","aria-hidden":"true",className:"s-lane-card-gmark",children:a.jsx("path",{d:"M2 4.2c0-.4.3-.7.7-.7h2.1l1 1h3.5c.4 0 .7.3.7.7V9c0 .4-.3.7-.7.7H2.7c-.4 0-.7-.3-.7-.7V4.2Z",fill:"none",stroke:"currentColor",strokeWidth:"1",strokeLinejoin:"round"})})}function T(){return a.jsxs("svg",{viewBox:"0 0 12 12",width:"11",height:"11","aria-hidden":"true",className:"s-lane-card-gmark",children:[a.jsx("circle",{cx:"6",cy:"3",r:"1.5",fill:"none",stroke:"currentColor",strokeWidth:"1"}),a.jsx("circle",{cx:"6",cy:"9",r:"1.5",fill:"none",stroke:"currentColor",strokeWidth:"1"}),a.jsx("path",{d:"M6 4.5v3",stroke:"currentColor",strokeWidth:"1"})]})}function W({dir:s}){return a.jsx("span",{className:"s-lane-card-dir","aria-hidden":"true",children:s==="from"?"←":"→"})}function M(){return a.jsxs(a.Fragment,{children:[a.jsx("i",{className:"s-lane-card-gl s-lane-card-gl-t","aria-hidden":"true"}),a.jsx("i",{className:"s-lane-card-gl s-lane-card-gl-b","aria-hidden":"true"}),a.jsx("i",{className:"s-lane-card-gl s-lane-card-gl-l","aria-hidden":"true"}),a.jsx("i",{className:"s-lane-card-gl s-lane-card-gl-r","aria-hidden":"true"})]})}function d({value:s,label:l,side:n}){const[r,e]=u.useState(!1),c=u.useRef(null);u.useEffect(()=>()=>{c.current&&clearTimeout(c.current)},[]);const i=u.useCallback(t=>{t.preventDefault(),t.stopPropagation(),$(s).then(o=>{o&&(e(!0),c.current&&clearTimeout(c.current),c.current=setTimeout(()=>e(!1),1100))})},[s]);return a.jsx("button",{type:"button",className:`s-lane-card-copydot s-lane-card-copydot--${n}${r?" s-lane-card-copydot--done":""}`,onClick:i,title:r?"Copied":`Copy ${l}`,"aria-label":r?`Copied ${l}`:`Copy ${l}`,children:r?a.jsx("svg",{viewBox:"0 0 12 12",width:"11",height:"11","aria-hidden":"true",children:a.jsx("path",{d:"M2.5 6.2 4.8 8.5 9.5 3.8",fill:"none",stroke:"currentColor",strokeWidth:"1.4",strokeLinecap:"round",strokeLinejoin:"round"})}):a.jsxs("svg",{viewBox:"0 0 12 12",width:"11",height:"11","aria-hidden":"true",children:[a.jsx("rect",{x:"3.4",y:"3.4",width:"5.8",height:"5.8",rx:"1.3",fill:"none",stroke:"currentColor",strokeWidth:"1"}),a.jsx("path",{d:"M2.4 7.2V2.8c0-.4.3-.7.7-.7h4",fill:"none",stroke:"currentColor",strokeWidth:"1",strokeLinecap:"round"})]})})}function N({value:s,label:l,group:n}){const r=!!n&&n.rows.length>0;return a.jsxs("span",{className:`s-lane-card-instr${r?" s-lane-card-instr--pop":""}`,children:[a.jsx("span",{className:"s-lane-card-instr-val",children:s}),a.jsx("span",{className:"s-lane-card-instr-label",children:l}),r&&a.jsxs("span",{className:"s-lane-card-pop",role:"tooltip",children:[a.jsxs("span",{className:"s-lane-card-pop-h",children:[a.jsx("span",{className:"s-lane-card-pop-title",children:l}),a.jsx("span",{className:"s-lane-card-pop-count",children:n.more>0?`top ${n.rows.length} · ${s}`:s})]}),a.jsxs("span",{className:"s-lane-card-pop-list",children:[n.rows.map((e,c)=>a.jsxs("span",{className:"s-lane-card-pop-row",title:e.full??e.text,children:[a.jsx("span",{className:`s-lane-card-pop-mark s-lane-card-pop-mark--${e.tone}`,children:e.mark}),a.jsx("span",{className:"s-lane-card-pop-text",children:e.text})]},`${c}:${e.full||e.text}`)),n.more>0&&a.jsxs("span",{className:"s-lane-card-pop-more",children:["+",n.more," more"]})]})]})]})}function P(s){return s.toLocaleString()}function B(s){return s>=1e6?`${(s/1e6).toFixed(1)}M`:s>=1e3?`${(s/1e3).toFixed(s>=1e5?0:1)}k`:`${s}`}function S({usage:s}){return s.dials.length===0?null:a.jsxs("div",{className:"s-lane-card-cockpit-tokens","aria-label":"Token usage",children:[a.jsxs("div",{className:"s-lane-card-cockpit-tokens-head",children:[a.jsxs("span",{className:"s-lane-card-cockpit-tokens-label",children:[a.jsx("span",{className:"s-lane-card-cockpit-tokens-mark","aria-hidden":"true",children:"◎"}),"Tokens"]}),s.total!=null&&a.jsx("span",{className:"s-lane-card-cockpit-tokens-hint",children:B(s.total)})]}),a.jsx("div",{className:"s-lane-card-cockpit-dials",children:s.dials.map(l=>a.jsxs("span",{className:"s-lane-card-cockpit-dial",children:[a.jsx("span",{className:"s-lane-card-cockpit-dial-value",children:P(l.value)}),a.jsx("span",{className:"s-lane-card-cockpit-dial-label",children:l.label})]},l.label))})]})}function I({pops:s}){const l=s.edits.rows.length>0,n=l?s.edits:s.files;if(n.rows.length===0)return null;const r=l?"Files modified":"Files touched";return a.jsxs("div",{className:"s-lane-card-cockpit-files","aria-label":r,children:[a.jsxs("div",{className:"s-lane-card-cockpit-tokens-head",children:[a.jsx("span",{className:"s-lane-card-cockpit-tokens-label",children:r}),a.jsx("span",{className:"s-lane-card-cockpit-tokens-hint",children:n.rows.length+n.more})]}),a.jsxs("div",{className:"s-lane-card-cockpit-files-list",children:[n.rows.map((e,c)=>a.jsxs("span",{className:"s-lane-card-cockpit-file",title:e.full??e.text,children:[a.jsx("span",{className:`s-lane-card-pop-mark s-lane-card-pop-mark--${e.tone}`,children:e.mark}),a.jsx("span",{className:"s-lane-card-cockpit-file-text",children:e.text})]},`${c}:${e.full||e.text}`)),n.more>0&&a.jsxs("span",{className:"s-lane-card-cockpit-file s-lane-card-cockpit-file--more",children:["+",n.more," more"]})]})]})}function g({model:s,cockpitHeight:l=null}){const n=y(l)==="stats";return a.jsxs(a.Fragment,{children:[a.jsx("div",{className:"s-lane-card-summary",children:s.head?.placeholder?a.jsxs("div",{className:`s-lane-card-wait${s.working?" s-lane-card-wait--working":""}`,children:[a.jsx("span",{className:"s-lane-card-wait-dot","aria-hidden":"true"}),a.jsx("span",{className:"s-lane-card-wait-label",children:s.head.text})]}):a.jsxs("div",{className:`s-lane-card-current${s.head?.dir?"":" s-lane-card-current--console"}`,children:[s.head?.dir?a.jsx(W,{dir:s.head.dir}):a.jsx("span",{className:"s-lane-card-prompt","aria-hidden":"true",children:"❯"}),a.jsxs("span",{className:"s-lane-card-headwrap",children:[a.jsx("span",{className:"s-lane-card-head-text",children:s.head?.text??"Waiting for trace activity…"}),s.head?.full&&a.jsx("span",{className:"s-lane-card-headpop",role:"tooltip",children:s.head.full})]})]})}),a.jsxs("div",{className:"s-lane-card-accs",children:[a.jsx("div",{className:"s-lane-card-accs-tools",children:s.stats.tools>0?a.jsxs(a.Fragment,{children:[a.jsx(N,{value:s.stats.tools,label:"tools",group:s.pops.tools}),s.stats.edits>0&&a.jsx(N,{value:s.stats.edits,label:"edits",group:s.pops.edits}),s.stats.reads>0&&a.jsx(N,{value:s.stats.reads,label:"reads",group:s.pops.reads}),s.stats.files>0&&a.jsx(N,{value:s.stats.files,label:"files",group:s.pops.files})]}):a.jsx("span",{className:"s-lane-card-accs-empty",children:"no tool activity yet"})}),a.jsxs("div",{className:"s-lane-card-vitals",children:[a.jsxs("span",{className:`s-lane-card-instr s-lane-card-instr--ctx${s.context==null?" s-lane-card-instr--ctx-pending":""}`,title:s.context==null?"Context window — awaiting usage":`Context window ${s.context}% used`,children:[a.jsx("span",{className:"s-lane-card-gauge","aria-hidden":"true",children:a.jsx("span",{className:"s-lane-card-gauge-fill",style:{width:`${s.context??0}%`}})}),a.jsx("span",{className:"s-lane-card-instr-val",children:s.context==null?"—":`${s.context}%`}),a.jsx("span",{className:"s-lane-card-instr-label",children:"ctx"})]}),s.tokens&&a.jsxs("span",{className:"s-lane-card-instr",title:"Tokens currently in context",children:[a.jsx("span",{className:"s-lane-card-instr-val",children:s.tokens}),a.jsx("span",{className:"s-lane-card-instr-label",children:"ctx tokens"})]}),s.turns!=null&&a.jsxs("span",{className:"s-lane-card-instr",children:[a.jsx("span",{className:"s-lane-card-instr-val",children:s.turns}),a.jsx("span",{className:"s-lane-card-instr-label",children:s.turns===1?"turn":"turns"})]})]})]}),n&&(s.tokenUsage?a.jsx(S,{usage:s.tokenUsage}):a.jsx(I,{pops:s.pops}))]})}function V({model:s,avatar:l,trace:n,collapsed:r=!1,onToggleCollapsed:e,onOpen:c,cockpitHeight:i}){const{name:t,harness:o,model:h,effort:k,cwd:p,cwdFull:f,branch:x,sessionId:j,sessionIdFull:v,parentSessionId:m,parentSessionLabel:b}=s;return a.jsxs("section",{className:`s-lane-card${s.working?" s-lane-card--working":""}${r?" s-lane-card--collapsed":""}`,"aria-label":`${t} lane`,children:[c&&a.jsx("button",{type:"button",className:"s-lane-card-hit",onClick:c,"aria-label":`Inspect ${t}`}),a.jsxs("div",{className:"s-lane-card-head",children:[a.jsxs("span",{className:"s-lane-card-anchor s-lane-card-anchor--av",children:[a.jsx(M,{}),l]}),a.jsxs("div",{className:"s-lane-card-ident",children:[a.jsxs("span",{className:"s-lane-card-fieldc s-lane-card-fieldc--trail s-lane-card-namebox",children:[a.jsx("span",{className:"s-lane-card-name s-lane-card-sel",children:t}),s.authority&&a.jsx("span",{className:"s-lane-card-authority",title:s.authority.title,children:s.authority.label}),a.jsx(d,{value:t,label:"agent name",side:"trail"})]}),p&&a.jsxs("span",{className:"s-lane-card-fieldc s-lane-card-fieldc--trail s-lane-card-d s-lane-card-d--strong",title:f??p,children:[a.jsx(F,{}),a.jsx("span",{className:"s-lane-card-val s-lane-card-sel",children:p}),a.jsx(d,{value:f??p,label:"working directory",side:"trail"})]}),x&&a.jsxs("span",{className:"s-lane-card-fieldc s-lane-card-fieldc--trail s-lane-card-d",title:x,children:[a.jsx("span",{className:"s-lane-card-gchar","aria-hidden":"true",children:"⎇"}),a.jsx("span",{className:"s-lane-card-val s-lane-card-sel",children:x}),a.jsx(d,{value:x,label:"branch",side:"trail"})]})]}),a.jsxs("div",{className:"s-lane-card-meta",children:[o&&a.jsx("span",{className:"s-lane-card-anchor s-lane-card-anchor--hm",children:a.jsx(L,{harness:o,size:30,className:"s-lane-card-hmark"})}),a.jsxs("div",{className:"s-lane-card-meta-lines",children:[(h||k)&&a.jsxs("div",{className:"s-lane-card-meta-run",children:[h&&a.jsxs("span",{className:"s-lane-card-fieldc s-lane-card-fieldc--lead s-lane-card-modelwrap",children:[a.jsx("span",{className:"s-lane-card-meta-model s-lane-card-sel",children:h}),a.jsx(d,{value:h,label:"model",side:"lead"})]}),k&&a.jsx("span",{className:"s-lane-card-meta-effort s-lane-card-sel",children:k})]}),(j||m)&&a.jsxs("span",{className:"s-lane-card-fieldc s-lane-card-fieldc--lead s-lane-card-meta-sid",children:[a.jsx(T,{}),j&&a.jsx("span",{className:"s-lane-card-val s-lane-card-sel",children:j}),m&&a.jsxs(a.Fragment,{children:[a.jsx("span",{className:"s-lane-card-gchar","aria-hidden":"true",children:"↳"}),a.jsx("span",{className:"s-lane-card-val s-lane-card-sel",children:b??m})]}),a.jsx(d,{value:v??m??j??"",label:"session id",side:"lead"})]}),a.jsxs("div",{className:"s-lane-card-meta-foot",children:[s.time&&a.jsxs("span",{className:"s-lane-card-time",children:[a.jsx("span",{className:"s-lane-card-time-dot","aria-hidden":"true"}),s.time]}),e&&a.jsx("button",{type:"button",className:"s-lane-card-caret","aria-label":r?"Expand summary":"Collapse summary","aria-expanded":!r,onClick:C=>{C.stopPropagation(),e()},children:a.jsx("svg",{viewBox:"0 0 10 10",width:"10",height:"10","aria-hidden":"true",children:a.jsx("path",{d:"M2 3.5 L5 6.5 L8 3.5",fill:"none",stroke:"currentColor",strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"})})})]})]})]})]}),!r&&(i!==void 0?a.jsx(w,{cockpitHeight:i,children:a.jsx(g,{model:s,cockpitHeight:i})}):a.jsx(g,{model:s})),n]})}export{V as AgentLaneCard};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{j as e}from"./index-
|
|
1
|
+
import{j as e}from"./index-EsrkGBcv.js";const p=["sm","md","lg"];function j({title:n,width:l,defaultWidth:c,pinned:s,onTogglePin:h,onWidthChange:d,onResizeStart:m,resizing:r,widthControls:o=!0,statusLabel:t,live:g}){const i=typeof l=="string"?l:c;return e.jsxs("div",{className:`s-agent-lane-chrome${r?" s-agent-lane-chrome--resizing":""}`,children:[e.jsxs("div",{className:"s-agent-lane-chrome-body",children:[e.jsxs("div",{className:"s-agent-lane-chrome-top",children:[e.jsx("button",{type:"button",className:`s-agent-lane-chrome-pin${s?" s-agent-lane-chrome-pin--on":""}`,"aria-pressed":s,title:s?"Unpin lane":"Pin lane",onClick:h,children:e.jsx(u,{filled:s})}),e.jsx("span",{className:"s-agent-lane-chrome-title",title:n,children:n}),t?e.jsxs("span",{className:`s-agent-lane-chrome-status${g?" s-agent-lane-chrome-status--live":""}`,title:t,children:[e.jsx("span",{className:"s-agent-lane-chrome-status-dot","aria-hidden":"true"}),e.jsx("span",{className:"s-agent-lane-chrome-status-label",children:t})]}):null]}),o?e.jsx("div",{className:"s-agent-lane-chrome-widths",role:"group","aria-label":"Lane width",children:p.map(a=>e.jsx("button",{type:"button",className:`s-agent-lane-chrome-width-btn${i===a?" s-agent-lane-chrome-width-btn--on":""}`,"aria-pressed":i===a,title:`${a.toUpperCase()} width`,onClick:()=>d(a),children:a.toUpperCase()},a))}):null]}),o?e.jsx("div",{role:"separator","aria-orientation":"vertical","aria-label":"Resize lane width",title:"Drag to resize lane",className:`s-agent-lane-width-handle${r?" s-agent-lane-width-handle--active":""}`,onPointerDown:m}):null]})}function u({filled:n}){return e.jsx("svg",{viewBox:"0 0 12 12",width:"12",height:"12","aria-hidden":"true",children:e.jsx("path",{d:"M4.2 1.8h3.6l.5 1.8 1.9.8-.2 1.1-1.7.4-.8 3.1H4.3l-.8-3.1-1.7-.4-.2-1.1 1.9-.8.5-1.8Z",fill:n?"currentColor":"none",stroke:"currentColor",strokeWidth:"0.9",strokeLinejoin:"round"})})}export{j as AgentLaneChrome};
|
package/dist/client/assets/{AgentLaneDetailSheet-KYckCBCX.js → AgentLaneDetailSheet-EzEPsn3g.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{r as i,j as e}from"./index-C8uS5szO.js";import{S as qe}from"./SlidePanel-Datu7XG4.js";import{a as me}from"./api-CaROe5_H.js";import{A as Ge}from"./AgentAvatar-BIwg54Tj.js";import{H as Je}from"./HarnessMark-Bt47OeHy.js";import{t as de}from"./time-Dhsh_2EG.js";import{h as Ke}from"./tail-display-DHSNmvor.js";import{a as Ve}from"./agent-state-DDhnFEEP.js";import{c as U}from"./clipboard-e3fSpeo7.js";import{d as Ue,c as Qe}from"./context-budget-DemtXu7E.js";import{d as Xe}from"./router-BKiMcYa7.js";import{u as Ye}from"./Provider-5Hotn7NQ.js";import{s as Ze,t as es,b as ss}from"./bash-format-BRV5C6Gv.js";import{i as as}from"./keyboard-nav-CXfav14z.js";import{o as ie}from"./openContent-C6XO6kr5.js";import{b as ts,f as Ie}from"./agent-lane-preview-B8lsQJOQ.js";import{i as ns}from"./synthetic-agent-routing-aduMYO7P.js";import{b as $e,c as ls,a as is,l as cs,r as rs,d as os}from"./agent-lane-detail-Db7KyAlf.js";import{l as ds,a as hs,s as us}from"./agent-lanes-model-CX0wTcnF.js";import{E as pe}from"./external-link-RT4Ph-6-.js";async function ms(s){return me("/api/session-control/compact",{method:"POST",body:JSON.stringify(s)})}function Te(s){return ns(s.id)}function ps(s){return $e(s).sessionId?.trim()||null}function Pe(s){const t=ps(s);if(!t)return null;const c=Te(s.agent)?void 0:s.agent.id;return{view:"sessions",sessionId:t,...c?{agentId:c}:{}}}function fs(s){return Pe(s)}function xs(s){return Te(s.agent)?null:{view:"agents-v2",agentId:s.agent.id,tab:"profile"}}const js={created:"+",modified:"~",read:"○"},gs={blocked:"blocked",completed:"done",in_progress:"active",pending:"todo",unknown:"step"},Ae=["s-lane-sheet-vitals","s-lane-sheet-runtime","s-lane-sheet-files","s-lane-sheet-commands","s-lane-sheet-plans","s-lane-sheet-docs"];function he(s){return!!(s&&Ae.includes(s))}function vs(){if(typeof window>"u")return null;const s=window.location.hash.replace(/^#/,"");return he(s)?s:null}function ce(s){return typeof s!="number"||!Number.isFinite(s)?"—":s.toLocaleString()}function Ns(s){return s>=1e6?`${(s/1e6).toFixed(1)}M`:s>=1e3?`${(s/1e3).toFixed(s>=1e5?0:1)}k`:`${s}`}function bs(s){const t=s.lastIndexOf("/");return t<0?{dir:"",base:s}:{dir:s.slice(0,t+1),base:s.slice(t+1)}}function ws(s,t){const c=new Map;for(const l of t?.events??[]){if(l.kind!=="tool"||!l.diff||!l.arg)continue;const r=l.arg.trim().split(/[\\/]/).filter(Boolean).pop();if(!r)continue;const u=c.get(r)??{add:0,del:0};u.add+=l.diff.add??0,u.del+=l.diff.del??0,c.set(r,u)}return s.map(l=>{const r=l.path.split(/[\\/]/).filter(Boolean).pop()??l.path,u=c.get(r);return{...l,add:u?.add??0,del:u?.del??0}})}function re(s,t=48){return s?s.length<=t?s:`…${s.slice(-(t-1))}`:"—"}async function ks(s){await me("/api/local-path/reveal",{method:"POST",body:JSON.stringify({path:s.path,...s.basePath?{basePath:s.basePath}:{},...s.agentId?{agentId:s.agentId}:{},...s.sessionId?{sessionId:s.sessionId}:{}})})}function ue(s,t){return s.startsWith("/")||s.startsWith("~/")?s:t?`${t.replace(/\/$/u,"")}/${s}`:s}function Q({value:s,label:t}){const[c,l]=i.useState(!1),r=i.useRef(null);i.useEffect(()=>()=>{r.current&&clearTimeout(r.current)},[]);const u=i.useCallback(m=>{m.preventDefault(),m.stopPropagation(),U(s).then(d=>{d&&(l(!0),r.current&&clearTimeout(r.current),r.current=setTimeout(()=>l(!1),1100))})},[s]);return e.jsx("button",{type:"button",className:`s-lane-sheet-copy${c?" s-lane-sheet-copy--done":""}`,onClick:u,title:c?"Copied":`Copy ${t}`,"aria-label":c?`Copied ${t}`:`Copy ${t}`,children:c?e.jsx("svg",{viewBox:"0 0 12 12",width:"11",height:"11","aria-hidden":"true",children:e.jsx("path",{d:"M2.5 6.2 4.8 8.5 9.5 3.8",fill:"none",stroke:"currentColor",strokeWidth:"1.4",strokeLinecap:"round",strokeLinejoin:"round"})}):e.jsxs("svg",{viewBox:"0 0 12 12",width:"11",height:"11","aria-hidden":"true",children:[e.jsx("rect",{x:"3.4",y:"3.4",width:"5.8",height:"5.8",rx:"1.3",fill:"none",stroke:"currentColor",strokeWidth:"1"}),e.jsx("path",{d:"M2.4 7.2V2.8c0-.4.3-.7.7-.7h4",fill:"none",stroke:"currentColor",strokeWidth:"1",strokeLinecap:"round"})]})})}function De({path:s,basePath:t,agentId:c,sessionId:l,label:r}){return e.jsx("button",{type:"button",className:"s-lane-sheet-reveal",title:`Reveal ${r} in OS`,"aria-label":`Reveal ${r} in OS`,onClick:u=>{u.preventDefault(),u.stopPropagation(),ks({path:s,basePath:t,agentId:c,sessionId:l}).catch(m=>console.warn("Failed to reveal local path",m))},children:e.jsx(pe,{size:11,strokeWidth:1.6})})}function V({id:s,label:t,count:c,actions:l}){return e.jsxs("div",{className:"s-lane-sheet-sechead",id:s,children:[e.jsx("span",{className:"s-lane-sheet-sechead-label",children:t}),c!=null&&c!==!1&&e.jsx("span",{className:"s-lane-sheet-sechead-count",children:c}),e.jsx("span",{className:"s-lane-sheet-sechead-rule","aria-hidden":"true"}),l&&e.jsx("span",{className:"s-lane-sheet-sechead-actions",children:l})]})}function C({children:s,onClick:t,primary:c=!1,disabled:l=!1}){return e.jsx("button",{type:"button",className:`s-lane-sheet-ghost${c?" s-lane-sheet-ghost--primary":""}`,onClick:t,disabled:l,children:s})}function L({label:s,value:t,title:c,copy:l,reveal:r}){return e.jsxs("div",{className:"s-lane-sheet-meta-row",children:[e.jsx("dt",{children:s}),e.jsxs("dd",{className:"s-lane-sheet-fact",children:[e.jsx("span",{className:"s-lane-sheet-fact-val",title:c??t,children:t}),r&&e.jsx(De,{...r,label:s}),l&&e.jsx(Q,{value:l,label:s})]})]})}function oe({file:s,basePath:t,agentId:c,sessionId:l,onOpen:r}){const u=Ie(s),m=s.path,d=ue(m,t),{dir:b,base:B}=bs(m),$=s.add>0||s.del>0;return e.jsxs("div",{className:"s-lane-sheet-frow",title:m,children:[e.jsx("span",{className:`s-lane-sheet-fstate s-lane-sheet-fstate--${s.state}`,"aria-hidden":"true",children:js[s.state]??"○"}),e.jsxs("span",{className:"s-lane-sheet-fpath",children:[b&&e.jsx("span",{className:"s-lane-sheet-fdir",children:b}),e.jsx("span",{className:"s-lane-sheet-fbase",children:B})]}),$&&e.jsxs("span",{className:"s-lane-sheet-fdiff",children:[s.add>0&&e.jsxs("span",{className:"s-lane-sheet-file-add",children:["+",s.add]}),s.del>0&&e.jsxs("span",{className:"s-lane-sheet-file-del",children:["−",s.del]})]}),e.jsxs("span",{className:"s-lane-sheet-frow-acts",children:[e.jsx("button",{type:"button",className:"s-lane-sheet-rowact",title:`Open ${u} in diff`,"aria-label":`Open ${u} in diff`,onClick:()=>r(d),children:e.jsx(pe,{size:11,strokeWidth:1.6})}),e.jsx(De,{path:m,basePath:t,agentId:c,sessionId:l,label:u}),e.jsx(Q,{value:m,label:"file path"})]})]})}function ys({entry:s}){const{dir:t,rest:c}=Ze(es(s.command)),l=ss(c||s.command);return e.jsxs("div",{className:"s-lane-sheet-crow",title:s.command,children:[e.jsx("span",{className:"s-lane-sheet-cmark","aria-hidden":"true",children:"❯"}),e.jsxs("span",{className:"s-lane-sheet-ctext",children:[t&&e.jsxs("span",{className:"s-lane-sheet-bash-dir",children:[t,"/"]}),l.map((r,u)=>e.jsxs("span",{className:`s-lane-sheet-bash-${r.tier}${r.known?" s-lane-sheet-bash-prog--known":""}${r.flag?" s-lane-sheet-bash-flag":""}`,children:[u>0?" ":"",r.text]},u))]}),s.outcome&&e.jsx("span",{className:"s-lane-sheet-cresult",children:s.outcome}),e.jsx("span",{className:"s-lane-sheet-crow-acts",children:e.jsx(Q,{value:s.command,label:"command"})})]})}function Le({label:s,hint:t,children:c}){const[l,r]=i.useState(!1);return e.jsxs("div",{className:`s-lane-sheet-disc${l?" s-lane-sheet-disc--open":""}`,children:[e.jsxs("button",{type:"button",className:"s-lane-sheet-disc-head","aria-expanded":l,onClick:()=>r(u=>!u),children:[e.jsx("span",{className:`s-lane-sheet-disc-caret${l?" s-lane-sheet-disc-caret--open":""}`,"aria-hidden":"true",children:"›"}),e.jsx("span",{className:"s-lane-sheet-disc-label",children:s}),t!=null&&t!==!1&&e.jsx("span",{className:"s-lane-sheet-disc-hint",children:t})]}),l&&e.jsx("div",{className:"s-lane-sheet-disc-body",children:c})]})}function Cs({plan:s,onOpen:t}){const[c,l]=i.useState(!1),r=s.steps.filter(m=>m.status==="completed").length,u=s.steps.find(m=>m.status==="in_progress");return e.jsxs("div",{className:`s-lane-sheet-plan${c?" s-lane-sheet-plan--open":""}`,children:[e.jsxs("button",{type:"button",className:"s-lane-sheet-plan-head","aria-expanded":c,onClick:()=>l(m=>!m),children:[e.jsx("span",{className:`s-lane-sheet-plan-caret${c?" s-lane-sheet-plan-caret--open":""}`,"aria-hidden":"true",children:"›"}),e.jsx("span",{className:"s-lane-sheet-plan-title",title:s.title,children:s.title}),e.jsxs("span",{className:"s-lane-sheet-plan-tally",children:[r,"/",s.steps.length]})]}),!c&&u&&e.jsxs("div",{className:"s-lane-sheet-plan-now",title:u.text,children:[e.jsx("span",{className:"s-lane-sheet-plan-now-mark","aria-hidden":"true",children:"▸"}),e.jsx("span",{className:"s-lane-sheet-plan-now-text",children:u.text})]}),c&&e.jsxs("div",{className:"s-lane-sheet-plan-steps",children:[s.steps.map(m=>e.jsxs("div",{className:`s-lane-sheet-pstep s-lane-sheet-pstep--${m.status}`,children:[e.jsx("span",{className:"s-lane-sheet-pstep-box","aria-hidden":"true",children:m.status==="completed"?"✓":m.status==="in_progress"?"▸":"○"}),e.jsx("span",{className:"s-lane-sheet-pstep-text",children:m.text})]},m.id)),e.jsx("div",{className:"s-lane-sheet-plan-foot",children:e.jsx(C,{onClick:t,children:"Open in Plans →"})})]})]})}function Ss({document:s,expanded:t,onToggle:c,onOpen:l}){const r=os(s),u=s.steps.length>0;return e.jsxs("article",{className:"s-lane-sheet-doc",children:[e.jsxs("button",{type:"button",className:"s-lane-sheet-doc-head","aria-expanded":t,onClick:c,children:[e.jsx("span",{className:"s-lane-sheet-doc-title",children:s.title}),e.jsxs("span",{className:"s-lane-sheet-doc-meta",children:[u?`${s.steps.length} steps`:Ie(s.path)," · ",de(s.updatedAt)]}),!t&&r&&e.jsx("span",{className:"s-lane-sheet-doc-excerpt",children:r})]}),t&&e.jsxs("div",{className:"s-lane-sheet-doc-body",children:[s.summary&&e.jsx("p",{className:"s-lane-sheet-doc-summary",children:s.summary}),u&&s.steps.length>0&&e.jsx("ol",{className:"s-lane-sheet-doc-steps",children:s.steps.map(m=>e.jsxs("li",{className:`s-lane-sheet-doc-step s-lane-sheet-doc-step--${m.status}`,children:[e.jsx("span",{className:"s-lane-sheet-doc-step-state",children:gs[m.status]}),e.jsx("span",{className:"s-lane-sheet-doc-step-text",children:m.text})]},m.id))}),(s.body||s.rawText)&&e.jsx("pre",{className:"s-lane-sheet-doc-pre",children:s.body||s.rawText}),e.jsx("button",{type:"button",className:"s-lane-sheet-doc-open",onClick:l,children:"Open in Plans"})]})]})}function Ls({lane:s,navigate:t,returnRoute:c,onClose:l,navigationEnabled:r=!0,onPinProject:u,projectPinned:m=!1}){const{agent:d,observe:b,source:B,lastActiveAt:$}=s,{openFilePreview:A}=Ye(),X=i.useMemo(()=>Ve(d.state??null,d),[d]),w=i.useMemo(()=>ts(b,d,{isLive:X}),[b,d,X]),[D,Y]=i.useState(!1),[O,fe]=i.useState([]),[F,xe]=i.useState([]),[Oe,Fe]=i.useState(null),[_,Ee]=i.useState(!1),[Re,je]=i.useState(!1),[z,ge]=i.useState(!1),[ve,Z]=i.useState(null),[x,ee]=i.useState("s-lane-sheet-vitals"),E=i.useRef(null),se=i.useRef(null);i.useEffect(()=>()=>{E.current&&clearTimeout(E.current)},[]);const Ne=i.useCallback(a=>{typeof window>"u"||window.location.hash!==`#${a}`&&Xe({hash:a,replace:!1})},[]),W=i.useCallback(a=>{const h=se.current,f=h?.querySelector(`#${a}`);if(!h||!f)return!1;const g=h.getBoundingClientRect().top,y=f.getBoundingClientRect().top;return h.scrollTop=Math.max(0,h.scrollTop+y-g),ee(a),!0},[]),T=i.useCallback((a,h)=>{a.preventDefault(),W(h)&&Ne(h)},[W,Ne]),H=ds(d,B),Me=hs(d,B),n=i.useMemo(()=>$e(s),[s]),o=s.facts,I=o?.turn?.phase?o.turn.phase==="started":X,ae=ls(s),p=i.useMemo(()=>{const a=o?.touchedFiles.length?o.touchedFiles:is(b,1/0),h=ws(a,b),f=h.filter(v=>v.state==="created"),g=h.filter(v=>v.state==="modified"),y=h.filter(v=>v.state==="read"),M=[...f,...g];return{created:f,modified:g,read:y,changed:M,totalAdd:M.reduce((v,N)=>v+N.add,0),totalDel:M.reduce((v,N)=>v+N.del,0)}},[o,b]),q=p.changed.length+p.read.length,S=i.useMemo(()=>cs(b),[b]),te=i.useMemo(()=>p.changed.map(a=>ue(a.path,n.cwd)).join(`
|
|
1
|
+
import{r as i,j as e}from"./index-EsrkGBcv.js";import{S as qe}from"./SlidePanel-_CHAQdOa.js";import{a as me}from"./api-DSqpVKC7.js";import{A as Ge}from"./AgentAvatar-CrP1eXxk.js";import{H as Je}from"./HarnessMark-C4naWc16.js";import{t as de}from"./time-Dhsh_2EG.js";import{h as Ke}from"./tail-display-DHSNmvor.js";import{a as Ve}from"./agent-state-DDhnFEEP.js";import{c as U}from"./clipboard-e3fSpeo7.js";import{d as Ue,c as Qe}from"./context-budget-8qFKqM-j.js";import{f as Xe}from"./router-DCtl8wqb.js";import{u as Ye}from"./Provider-C35yu29I.js";import{s as Ze,t as es,b as ss}from"./bash-format-BRV5C6Gv.js";import{i as as}from"./keyboard-nav-DDHegDbx.js";import{o as ie}from"./openContent-C6XO6kr5.js";import{b as ts,f as Ie}from"./agent-lane-preview-Dpa3DuOn.js";import{i as ns}from"./synthetic-agent-routing-aduMYO7P.js";import{b as $e,c as ls,a as is,l as cs,r as rs,d as os}from"./agent-lane-detail-Ti3trpfH.js";import{l as ds,a as hs,s as us}from"./agent-lanes-model-DMAdqCmK.js";import{E as pe}from"./external-link-CUObqmgX.js";async function ms(s){return me("/api/session-control/compact",{method:"POST",body:JSON.stringify(s)})}function Te(s){return ns(s.id)}function ps(s){return $e(s).sessionId?.trim()||null}function Pe(s){const t=ps(s);if(!t)return null;const c=Te(s.agent)?void 0:s.agent.id;return{view:"sessions",sessionId:t,...c?{agentId:c}:{}}}function fs(s){return Pe(s)}function xs(s){return Te(s.agent)?null:{view:"agents-v2",agentId:s.agent.id,tab:"profile"}}const js={created:"+",modified:"~",read:"○"},gs={blocked:"blocked",completed:"done",in_progress:"active",pending:"todo",unknown:"step"},Ae=["s-lane-sheet-vitals","s-lane-sheet-runtime","s-lane-sheet-files","s-lane-sheet-commands","s-lane-sheet-plans","s-lane-sheet-docs"];function he(s){return!!(s&&Ae.includes(s))}function vs(){if(typeof window>"u")return null;const s=window.location.hash.replace(/^#/,"");return he(s)?s:null}function ce(s){return typeof s!="number"||!Number.isFinite(s)?"—":s.toLocaleString()}function Ns(s){return s>=1e6?`${(s/1e6).toFixed(1)}M`:s>=1e3?`${(s/1e3).toFixed(s>=1e5?0:1)}k`:`${s}`}function bs(s){const t=s.lastIndexOf("/");return t<0?{dir:"",base:s}:{dir:s.slice(0,t+1),base:s.slice(t+1)}}function ws(s,t){const c=new Map;for(const l of t?.events??[]){if(l.kind!=="tool"||!l.diff||!l.arg)continue;const r=l.arg.trim().split(/[\\/]/).filter(Boolean).pop();if(!r)continue;const u=c.get(r)??{add:0,del:0};u.add+=l.diff.add??0,u.del+=l.diff.del??0,c.set(r,u)}return s.map(l=>{const r=l.path.split(/[\\/]/).filter(Boolean).pop()??l.path,u=c.get(r);return{...l,add:u?.add??0,del:u?.del??0}})}function re(s,t=48){return s?s.length<=t?s:`…${s.slice(-(t-1))}`:"—"}async function ks(s){await me("/api/local-path/reveal",{method:"POST",body:JSON.stringify({path:s.path,...s.basePath?{basePath:s.basePath}:{},...s.agentId?{agentId:s.agentId}:{},...s.sessionId?{sessionId:s.sessionId}:{}})})}function ue(s,t){return s.startsWith("/")||s.startsWith("~/")?s:t?`${t.replace(/\/$/u,"")}/${s}`:s}function Q({value:s,label:t}){const[c,l]=i.useState(!1),r=i.useRef(null);i.useEffect(()=>()=>{r.current&&clearTimeout(r.current)},[]);const u=i.useCallback(m=>{m.preventDefault(),m.stopPropagation(),U(s).then(d=>{d&&(l(!0),r.current&&clearTimeout(r.current),r.current=setTimeout(()=>l(!1),1100))})},[s]);return e.jsx("button",{type:"button",className:`s-lane-sheet-copy${c?" s-lane-sheet-copy--done":""}`,onClick:u,title:c?"Copied":`Copy ${t}`,"aria-label":c?`Copied ${t}`:`Copy ${t}`,children:c?e.jsx("svg",{viewBox:"0 0 12 12",width:"11",height:"11","aria-hidden":"true",children:e.jsx("path",{d:"M2.5 6.2 4.8 8.5 9.5 3.8",fill:"none",stroke:"currentColor",strokeWidth:"1.4",strokeLinecap:"round",strokeLinejoin:"round"})}):e.jsxs("svg",{viewBox:"0 0 12 12",width:"11",height:"11","aria-hidden":"true",children:[e.jsx("rect",{x:"3.4",y:"3.4",width:"5.8",height:"5.8",rx:"1.3",fill:"none",stroke:"currentColor",strokeWidth:"1"}),e.jsx("path",{d:"M2.4 7.2V2.8c0-.4.3-.7.7-.7h4",fill:"none",stroke:"currentColor",strokeWidth:"1",strokeLinecap:"round"})]})})}function De({path:s,basePath:t,agentId:c,sessionId:l,label:r}){return e.jsx("button",{type:"button",className:"s-lane-sheet-reveal",title:`Reveal ${r} in OS`,"aria-label":`Reveal ${r} in OS`,onClick:u=>{u.preventDefault(),u.stopPropagation(),ks({path:s,basePath:t,agentId:c,sessionId:l}).catch(m=>console.warn("Failed to reveal local path",m))},children:e.jsx(pe,{size:11,strokeWidth:1.6})})}function V({id:s,label:t,count:c,actions:l}){return e.jsxs("div",{className:"s-lane-sheet-sechead",id:s,children:[e.jsx("span",{className:"s-lane-sheet-sechead-label",children:t}),c!=null&&c!==!1&&e.jsx("span",{className:"s-lane-sheet-sechead-count",children:c}),e.jsx("span",{className:"s-lane-sheet-sechead-rule","aria-hidden":"true"}),l&&e.jsx("span",{className:"s-lane-sheet-sechead-actions",children:l})]})}function C({children:s,onClick:t,primary:c=!1,disabled:l=!1}){return e.jsx("button",{type:"button",className:`s-lane-sheet-ghost${c?" s-lane-sheet-ghost--primary":""}`,onClick:t,disabled:l,children:s})}function L({label:s,value:t,title:c,copy:l,reveal:r}){return e.jsxs("div",{className:"s-lane-sheet-meta-row",children:[e.jsx("dt",{children:s}),e.jsxs("dd",{className:"s-lane-sheet-fact",children:[e.jsx("span",{className:"s-lane-sheet-fact-val",title:c??t,children:t}),r&&e.jsx(De,{...r,label:s}),l&&e.jsx(Q,{value:l,label:s})]})]})}function oe({file:s,basePath:t,agentId:c,sessionId:l,onOpen:r}){const u=Ie(s),m=s.path,d=ue(m,t),{dir:b,base:B}=bs(m),$=s.add>0||s.del>0;return e.jsxs("div",{className:"s-lane-sheet-frow",title:m,children:[e.jsx("span",{className:`s-lane-sheet-fstate s-lane-sheet-fstate--${s.state}`,"aria-hidden":"true",children:js[s.state]??"○"}),e.jsxs("span",{className:"s-lane-sheet-fpath",children:[b&&e.jsx("span",{className:"s-lane-sheet-fdir",children:b}),e.jsx("span",{className:"s-lane-sheet-fbase",children:B})]}),$&&e.jsxs("span",{className:"s-lane-sheet-fdiff",children:[s.add>0&&e.jsxs("span",{className:"s-lane-sheet-file-add",children:["+",s.add]}),s.del>0&&e.jsxs("span",{className:"s-lane-sheet-file-del",children:["−",s.del]})]}),e.jsxs("span",{className:"s-lane-sheet-frow-acts",children:[e.jsx("button",{type:"button",className:"s-lane-sheet-rowact",title:`Open ${u} in diff`,"aria-label":`Open ${u} in diff`,onClick:()=>r(d),children:e.jsx(pe,{size:11,strokeWidth:1.6})}),e.jsx(De,{path:m,basePath:t,agentId:c,sessionId:l,label:u}),e.jsx(Q,{value:m,label:"file path"})]})]})}function ys({entry:s}){const{dir:t,rest:c}=Ze(es(s.command)),l=ss(c||s.command);return e.jsxs("div",{className:"s-lane-sheet-crow",title:s.command,children:[e.jsx("span",{className:"s-lane-sheet-cmark","aria-hidden":"true",children:"❯"}),e.jsxs("span",{className:"s-lane-sheet-ctext",children:[t&&e.jsxs("span",{className:"s-lane-sheet-bash-dir",children:[t,"/"]}),l.map((r,u)=>e.jsxs("span",{className:`s-lane-sheet-bash-${r.tier}${r.known?" s-lane-sheet-bash-prog--known":""}${r.flag?" s-lane-sheet-bash-flag":""}`,children:[u>0?" ":"",r.text]},u))]}),s.outcome&&e.jsx("span",{className:"s-lane-sheet-cresult",children:s.outcome}),e.jsx("span",{className:"s-lane-sheet-crow-acts",children:e.jsx(Q,{value:s.command,label:"command"})})]})}function Le({label:s,hint:t,children:c}){const[l,r]=i.useState(!1);return e.jsxs("div",{className:`s-lane-sheet-disc${l?" s-lane-sheet-disc--open":""}`,children:[e.jsxs("button",{type:"button",className:"s-lane-sheet-disc-head","aria-expanded":l,onClick:()=>r(u=>!u),children:[e.jsx("span",{className:`s-lane-sheet-disc-caret${l?" s-lane-sheet-disc-caret--open":""}`,"aria-hidden":"true",children:"›"}),e.jsx("span",{className:"s-lane-sheet-disc-label",children:s}),t!=null&&t!==!1&&e.jsx("span",{className:"s-lane-sheet-disc-hint",children:t})]}),l&&e.jsx("div",{className:"s-lane-sheet-disc-body",children:c})]})}function Cs({plan:s,onOpen:t}){const[c,l]=i.useState(!1),r=s.steps.filter(m=>m.status==="completed").length,u=s.steps.find(m=>m.status==="in_progress");return e.jsxs("div",{className:`s-lane-sheet-plan${c?" s-lane-sheet-plan--open":""}`,children:[e.jsxs("button",{type:"button",className:"s-lane-sheet-plan-head","aria-expanded":c,onClick:()=>l(m=>!m),children:[e.jsx("span",{className:`s-lane-sheet-plan-caret${c?" s-lane-sheet-plan-caret--open":""}`,"aria-hidden":"true",children:"›"}),e.jsx("span",{className:"s-lane-sheet-plan-title",title:s.title,children:s.title}),e.jsxs("span",{className:"s-lane-sheet-plan-tally",children:[r,"/",s.steps.length]})]}),!c&&u&&e.jsxs("div",{className:"s-lane-sheet-plan-now",title:u.text,children:[e.jsx("span",{className:"s-lane-sheet-plan-now-mark","aria-hidden":"true",children:"▸"}),e.jsx("span",{className:"s-lane-sheet-plan-now-text",children:u.text})]}),c&&e.jsxs("div",{className:"s-lane-sheet-plan-steps",children:[s.steps.map(m=>e.jsxs("div",{className:`s-lane-sheet-pstep s-lane-sheet-pstep--${m.status}`,children:[e.jsx("span",{className:"s-lane-sheet-pstep-box","aria-hidden":"true",children:m.status==="completed"?"✓":m.status==="in_progress"?"▸":"○"}),e.jsx("span",{className:"s-lane-sheet-pstep-text",children:m.text})]},m.id)),e.jsx("div",{className:"s-lane-sheet-plan-foot",children:e.jsx(C,{onClick:t,children:"Open in Plans →"})})]})]})}function Ss({document:s,expanded:t,onToggle:c,onOpen:l}){const r=os(s),u=s.steps.length>0;return e.jsxs("article",{className:"s-lane-sheet-doc",children:[e.jsxs("button",{type:"button",className:"s-lane-sheet-doc-head","aria-expanded":t,onClick:c,children:[e.jsx("span",{className:"s-lane-sheet-doc-title",children:s.title}),e.jsxs("span",{className:"s-lane-sheet-doc-meta",children:[u?`${s.steps.length} steps`:Ie(s.path)," · ",de(s.updatedAt)]}),!t&&r&&e.jsx("span",{className:"s-lane-sheet-doc-excerpt",children:r})]}),t&&e.jsxs("div",{className:"s-lane-sheet-doc-body",children:[s.summary&&e.jsx("p",{className:"s-lane-sheet-doc-summary",children:s.summary}),u&&s.steps.length>0&&e.jsx("ol",{className:"s-lane-sheet-doc-steps",children:s.steps.map(m=>e.jsxs("li",{className:`s-lane-sheet-doc-step s-lane-sheet-doc-step--${m.status}`,children:[e.jsx("span",{className:"s-lane-sheet-doc-step-state",children:gs[m.status]}),e.jsx("span",{className:"s-lane-sheet-doc-step-text",children:m.text})]},m.id))}),(s.body||s.rawText)&&e.jsx("pre",{className:"s-lane-sheet-doc-pre",children:s.body||s.rawText}),e.jsx("button",{type:"button",className:"s-lane-sheet-doc-open",onClick:l,children:"Open in Plans"})]})]})}function Ls({lane:s,navigate:t,returnRoute:c,onClose:l,navigationEnabled:r=!0,onPinProject:u,projectPinned:m=!1}){const{agent:d,observe:b,source:B,lastActiveAt:$}=s,{openFilePreview:A}=Ye(),X=i.useMemo(()=>Ve(d.state??null,d),[d]),w=i.useMemo(()=>ts(b,d,{isLive:X}),[b,d,X]),[D,Y]=i.useState(!1),[O,fe]=i.useState([]),[F,xe]=i.useState([]),[Oe,Fe]=i.useState(null),[_,Ee]=i.useState(!1),[Re,je]=i.useState(!1),[z,ge]=i.useState(!1),[ve,Z]=i.useState(null),[x,ee]=i.useState("s-lane-sheet-vitals"),E=i.useRef(null),se=i.useRef(null);i.useEffect(()=>()=>{E.current&&clearTimeout(E.current)},[]);const Ne=i.useCallback(a=>{typeof window>"u"||window.location.hash!==`#${a}`&&Xe({hash:a,replace:!1})},[]),W=i.useCallback(a=>{const h=se.current,f=h?.querySelector(`#${a}`);if(!h||!f)return!1;const g=h.getBoundingClientRect().top,y=f.getBoundingClientRect().top;return h.scrollTop=Math.max(0,h.scrollTop+y-g),ee(a),!0},[]),T=i.useCallback((a,h)=>{a.preventDefault(),W(h)&&Ne(h)},[W,Ne]),H=ds(d,B),Me=hs(d,B),n=i.useMemo(()=>$e(s),[s]),o=s.facts,I=o?.turn?.phase?o.turn.phase==="started":X,ae=ls(s),p=i.useMemo(()=>{const a=o?.touchedFiles.length?o.touchedFiles:is(b,1/0),h=ws(a,b),f=h.filter(v=>v.state==="created"),g=h.filter(v=>v.state==="modified"),y=h.filter(v=>v.state==="read"),M=[...f,...g];return{created:f,modified:g,read:y,changed:M,totalAdd:M.reduce((v,N)=>v+N.add,0),totalDel:M.reduce((v,N)=>v+N.del,0)}},[o,b]),q=p.changed.length+p.read.length,S=i.useMemo(()=>cs(b),[b]),te=i.useMemo(()=>p.changed.map(a=>ue(a.path,n.cwd)).join(`
|
|
2
2
|
`),[p.changed,n.cwd]),be=i.useMemo(()=>{const a=[`agent: ${H}`],h=d.harness??n.harness,f=o?.model??n.model;(h||f||o?.effort)&&a.push(`harness: ${[h,f,o?.effort].filter(Boolean).join(" · ")}`);const g=o?.branch??n.branch;return g&&a.push(`branch: ${g}`),n.cwd&&a.push(`cwd: ${n.cwd}`),n.sessionId&&a.push(`session: ${n.sessionId}`),d.harnessLogPath&&a.push(`transcript: ${d.harnessLogPath}`),o?.originator&&a.push(`origin: ${o.originator}`),a.join(`
|
|
3
3
|
`)},[d,o,H,n]),we=i.useMemo(()=>S.map(a=>a.command).join(`
|
|
4
4
|
`),[S]),Be=i.useCallback(()=>{U(be)},[be]),_e=i.useCallback(()=>{U(we)},[we]),ze=i.useCallback(()=>{for(const a of p.changed)A(ue(a.path,n.cwd))},[p.changed,n.cwd,A]),We=i.useCallback(()=>{te&&U(te).then(a=>{a&&(je(!0),E.current&&clearTimeout(E.current),E.current=setTimeout(()=>je(!1),1100))})},[te]),j=o?.usage??n.usage,ke=i.useMemo(()=>j?[{label:"in",value:j.inputTokens},{label:"out",value:j.outputTokens},{label:"cache rd",value:j.cacheReadInputTokens},{label:"cache wr",value:j.cacheCreationInputTokens},{label:"total",value:j.totalTokens},{label:"reasoning",value:j.reasoningOutputTokens}].filter(a=>typeof a.value=="number"):[],[j]),k=i.useMemo(()=>Ue(j,{model:o?.model??n.model,adapterType:d.harness??n.harness}),[j,o?.model,n.model,d.harness,n.harness]),ne=!!(o?.compaction?.eligible&&us(d.harness??n.harness)&&n.sessionId),He=i.useCallback(async()=>{if(!(!ne||z)){ge(!0),Z(null);try{const a=await ms({harness:d.harness??n.harness,sessionId:n.sessionId,transcriptPath:d.harnessLogPath,agentId:d.id});(!a.ok||!a.delivered)&&Z(a.error??"Compaction was not delivered to the harness")}catch(a){Z(a instanceof Error?a.message:"Compaction request failed")}finally{ge(!1)}}},[d.harness,d.harnessLogPath,d.id,ne,z,n.harness,n.sessionId]),ye=$?de($):null,G=i.useMemo(()=>Pe(s),[s]),P=i.useMemo(()=>xs(s),[s]),J=i.useMemo(()=>fs(s),[s]),R=i.useCallback(()=>{!r||!G||(ie(t,G,{returnTo:c}),l())},[t,r,l,c,G]),le=i.useCallback(()=>{if(r){if(P){ie(t,P,{returnTo:c}),l();return}R()}},[t,r,l,R,P,c]),K=i.useCallback(()=>{!r||!J||(ie(t,J,{returnTo:c}),l())},[t,r,l,c,J]);i.useEffect(()=>{const a=h=>{if(!as(h.target))switch(h.key.toLowerCase()){case"o":h.preventDefault(),R();break;case"t":h.preventDefault(),K();break;case"p":if(!P)return;h.preventDefault(),le();break}};return window.addEventListener("keydown",a),()=>window.removeEventListener("keydown",a)},[le,R,K,P]);const Ce=i.useCallback(a=>{r&&(t({view:"ops",mode:"advisor",planDocumentId:a}),l())},[t,r,l]);return i.useEffect(()=>{let a=!1;return Y(!1),me("/api/plan-documents").then(h=>{if(a)return;const f=rs(h.documents,s);fe(f.plans),xe(f.docs),Y(!0)}).catch(()=>{a||(fe([]),xe([]),Y(!0))}),()=>{a=!0}},[s.id]),i.useEffect(()=>{const a=()=>{const h=vs();h&&window.requestAnimationFrame(()=>{W(h)})};return a(),window.addEventListener("hashchange",a),window.addEventListener("popstate",a),()=>{window.removeEventListener("hashchange",a),window.removeEventListener("popstate",a)}},[s.id,S.length,W]),i.useEffect(()=>{const a=se.current;if(!a)return;let h=0;const f=()=>{h=0;const y=Ae.map(N=>a.querySelector(`#${N}`)).filter(N=>!!N);if(y.length===0)return;if(a.scrollTop+a.clientHeight>=a.scrollHeight-2){const N=y[y.length-1].id;he(N)&&ee(N);return}const M=a.getBoundingClientRect().top+18,v=y.reduce((N,Se)=>Se.getBoundingClientRect().top<=M?Se:N,y[0]);he(v.id)&&ee(v.id)},g=()=>{h||(h=window.requestAnimationFrame(f))};return f(),a.addEventListener("scroll",g,{passive:!0}),window.addEventListener("resize",g),()=>{h&&window.cancelAnimationFrame(h),a.removeEventListener("scroll",g),window.removeEventListener("resize",g)}},[S.length,D,O.length,F.length]),e.jsxs(qe,{open:!0,onClose:l,side:"right",owner:"openscout.agent-lane",resizable:!0,defaultSize:720,minSize:420,maxSize:960,scrollLock:!0,ariaLabel:`${H} lane detail`,className:"s-lane-sheet",children:[e.jsxs("div",{className:"s-slide-header s-lane-sheet-header",children:[e.jsx(Ge,{agent:d,placement:"row",size:28,presence:!1,className:"s-agent-lane-avatar"}),e.jsxs("div",{className:"s-lane-sheet-header-copy",children:[e.jsx("div",{className:"s-lane-sheet-title",children:H}),e.jsxs("div",{className:"s-lane-sheet-sub",children:[Me," · ",$?de($):"idle"]})]}),e.jsx("span",{className:"s-slide-spacer"}),e.jsxs("div",{className:"s-lane-sheet-header-cta",children:[e.jsx(Je,{harness:d.harness??n.harness,size:18,className:`s-lane-sheet-hmark${I?" s-lane-sheet-hmark--working":""}`}),r?e.jsxs(e.Fragment,{children:[e.jsx(C,{primary:!0,onClick:R,disabled:!G,children:"Open session"}),P?e.jsx(C,{onClick:le,children:"Agent profile"}):null,e.jsx(C,{onClick:K,disabled:!J,children:"Traces"})]}):null,ae?e.jsx(C,{onClick:()=>u?.(ae),disabled:m||!u,children:e.jsx("span",{title:ae,children:m?"Project pinned":"Pin project"})}):null]}),e.jsx("button",{type:"button",className:"s-slide-close",onClick:l,"aria-label":"Close",children:"×"})]}),e.jsxs("nav",{className:"s-lane-sheet-anchors","aria-label":"Jump to section",children:[e.jsx("a",{href:"#s-lane-sheet-vitals",className:`s-lane-sheet-anchor${x==="s-lane-sheet-vitals"?" s-lane-sheet-anchor--active":""}`,"aria-current":x==="s-lane-sheet-vitals"?"location":void 0,onClick:a=>T(a,"s-lane-sheet-vitals"),children:"Vitals"}),e.jsx("a",{href:"#s-lane-sheet-runtime",className:`s-lane-sheet-anchor${x==="s-lane-sheet-runtime"?" s-lane-sheet-anchor--active":""}`,"aria-current":x==="s-lane-sheet-runtime"?"location":void 0,onClick:a=>T(a,"s-lane-sheet-runtime"),children:"Runtime"}),e.jsxs("a",{href:"#s-lane-sheet-files",className:`s-lane-sheet-anchor${x==="s-lane-sheet-files"?" s-lane-sheet-anchor--active":""}`,"aria-current":x==="s-lane-sheet-files"?"location":void 0,onClick:a=>T(a,"s-lane-sheet-files"),children:["Files",q>0&&e.jsx("span",{className:"s-lane-sheet-anchor-n",children:q})]}),S.length>0&&e.jsxs("a",{href:"#s-lane-sheet-commands",className:`s-lane-sheet-anchor${x==="s-lane-sheet-commands"?" s-lane-sheet-anchor--active":""}`,"aria-current":x==="s-lane-sheet-commands"?"location":void 0,onClick:a=>T(a,"s-lane-sheet-commands"),children:["Commands",e.jsx("span",{className:"s-lane-sheet-anchor-n",children:S.length})]}),e.jsx("a",{href:"#s-lane-sheet-plans",className:`s-lane-sheet-anchor${x==="s-lane-sheet-plans"?" s-lane-sheet-anchor--active":""}`,"aria-current":x==="s-lane-sheet-plans"?"location":void 0,onClick:a=>T(a,"s-lane-sheet-plans"),children:"Plans"}),e.jsx("a",{href:"#s-lane-sheet-docs",className:`s-lane-sheet-anchor${x==="s-lane-sheet-docs"?" s-lane-sheet-anchor--active":""}`,"aria-current":x==="s-lane-sheet-docs"?"location":void 0,onClick:a=>T(a,"s-lane-sheet-docs"),children:"Docs"}),I&&o?.turn&&e.jsxs("span",{className:"s-lane-sheet-anchorbar-turn",children:["turn ",o.turn.phase,o.turn.index?` · #${o.turn.index}`:""]})]}),e.jsxs("div",{ref:se,className:`s-slide-body s-lane-sheet-body${I?" s-lane-sheet-body--working":" s-lane-sheet-body--idle"}`,children:[e.jsxs("section",{id:"s-lane-sheet-vitals",className:`s-lane-sheet-section s-lane-sheet-vitals${I?"":" s-lane-sheet-vitals--idle"}`,children:[w&&e.jsxs("div",{className:"s-lane-sheet-vitals-now",children:[e.jsxs("div",{className:"s-lane-sheet-vitals-now-top",children:[e.jsxs("span",{className:"s-lane-sheet-vitals-live","aria-hidden":"true",children:[e.jsx("span",{className:"s-lane-sheet-vitals-live-dot"}),e.jsx("span",{className:"s-lane-sheet-vitals-live-ring"})]}),e.jsx("span",{className:"s-lane-sheet-vitals-now-label",children:I?"executing now":"last action"}),I&&o?.turn&&e.jsxs("span",{className:"s-lane-sheet-vitals-now-turn",children:["turn ",o.turn.phase,o.turn.index?` · #${o.turn.index}`:""]})]}),e.jsxs("div",{className:"s-lane-sheet-vitals-well",children:[w.headlineFrom==="user"?e.jsx("span",{className:"s-lane-sheet-vitals-prompt","aria-hidden":"true",children:"←"}):w.headlineFrom==="agent"?e.jsx("span",{className:"s-lane-sheet-vitals-prompt","aria-hidden":"true",children:"→"}):e.jsx("span",{className:"s-lane-sheet-vitals-prompt s-lane-sheet-vitals-prompt--cmd","aria-hidden":"true",children:"❯"}),e.jsx("span",{className:"s-lane-sheet-vitals-cmd",title:w.headFull,children:w.headline}),I&&e.jsx("span",{className:"s-lane-sheet-vitals-caret","aria-hidden":"true"}),e.jsxs("span",{className:"s-lane-sheet-vitals-now-acts",children:[r&&e.jsx("button",{type:"button",className:"s-lane-sheet-reveal",title:"Open trace at this step","aria-label":"Open trace",onClick:K,children:e.jsx(pe,{size:11,strokeWidth:1.6})}),w.headFull&&w.headFull!==w.headline&&e.jsx(Q,{value:w.headFull,label:"current action"})]})]})]}),k&&e.jsxs("div",{className:`s-lane-sheet-vitals-gauge${k.overLimit?" s-lane-sheet-vitals-gauge--over":""}`,children:[e.jsxs("div",{className:"s-lane-sheet-vitals-gauge-top",children:[e.jsx("span",{className:"s-lane-sheet-vitals-gauge-label",children:"context"}),e.jsxs("span",{className:"s-lane-sheet-vitals-gauge-read",children:[e.jsx("b",{children:k.usedLabel}),e.jsxs("span",{className:"s-lane-sheet-vitals-gauge-of",children:[" / ",k.budgetLabel]}),e.jsx("span",{className:"s-lane-sheet-vitals-gauge-unit",children:" tokens"}),e.jsxs("span",{className:"s-lane-sheet-vitals-gauge-pct",children:[k.pct,"%",k.overLimit?" over":""]})]}),ne&&e.jsx("button",{type:"button",className:"s-lane-sheet-vitals-compact",onClick:()=>{He()},disabled:z,title:"Force a context compaction on this live session",children:z?"Compacting…":"Compact context"})]}),e.jsxs("div",{className:"s-lane-sheet-vitals-gaugebar",role:"meter","aria-label":"context budget","aria-valuenow":k.pct,"aria-valuemin":0,"aria-valuemax":Math.max(100,k.pct),children:[e.jsx("span",{className:"s-lane-sheet-vitals-gaugebar-fill",style:{width:`${Qe(k)}%`},children:e.jsx("span",{className:"s-lane-sheet-vitals-gaugebar-edge","aria-hidden":"true"})}),[25,50,75].map(a=>e.jsx("span",{className:"s-lane-sheet-vitals-gaugebar-tick",style:{left:`${a}%`},"aria-hidden":"true"},a))]}),ve&&e.jsx("div",{className:"s-lane-sheet-vitals-compact-error",role:"status",children:ve}),o?.compaction?.lastCompactedSummary&&e.jsxs("div",{className:"s-lane-sheet-vitals-compact-note",children:["last compaction · ",o.compaction.lastCompactedSummary]})]}),e.jsxs("div",{className:"s-lane-sheet-vitals-cadence",children:[e.jsx("b",{children:ce(n.events)})," events · ",e.jsx("b",{children:ce(n.tools)})," tools",ye?e.jsxs(e.Fragment,{children:[" · ",ye]}):null]})]}),e.jsxs("section",{id:"s-lane-sheet-runtime",className:"s-lane-sheet-section",children:[e.jsxs(Le,{label:"Runtime",hint:[d.harness??n.harness,o?.model??n.model].filter(Boolean).join(" · ")||void 0,children:[e.jsxs("dl",{className:"s-lane-sheet-meta",children:[e.jsx(L,{label:"Effort",value:o?.effort??"—"}),e.jsx(L,{label:"Branch",value:o?.branch??n.branch??"—",copy:o?.branch??n.branch??null}),e.jsx(L,{label:"Working dir",value:re(n.cwd),title:n.cwd??void 0,copy:n.cwd??null,reveal:n.cwd?{path:n.cwd,basePath:n.cwd,agentId:d.id,sessionId:n.sessionId}:void 0}),e.jsx(L,{label:"Session",value:re(n.sessionId,36),title:n.sessionId??void 0,copy:n.sessionId??null}),d.harnessLogPath&&e.jsx(L,{label:"Transcript",value:re(d.harnessLogPath,36),title:d.harnessLogPath,copy:d.harnessLogPath,reveal:{path:d.harnessLogPath,basePath:n.cwd,agentId:d.id,sessionId:n.sessionId}}),e.jsx(L,{label:"Origin",value:o?.originator??"—",copy:o?.originator??null}),e.jsx(L,{label:"Attribution",value:o?.attribution?Ke(o.attribution):"—"}),o?.currentTask&&e.jsx(L,{label:"Task",value:o.currentTask,title:o.currentTask,copy:o.currentTask})]}),e.jsx("div",{className:"s-lane-sheet-disc-bar",children:e.jsx(C,{onClick:Be,children:"Copy diagnostics"})})]}),ke.length>0&&e.jsx(Le,{label:"Tokens",hint:typeof j?.totalTokens=="number"?Ns(j.totalTokens):void 0,children:e.jsx("div",{className:"s-lane-sheet-dials",children:ke.map(a=>e.jsxs("span",{className:"s-lane-sheet-dial",children:[e.jsx("span",{className:"s-lane-sheet-dial-value",children:ce(a.value)}),e.jsx("span",{className:"s-lane-sheet-dial-label",children:a.label})]},a.label))})})]}),e.jsxs("section",{id:"s-lane-sheet-files",className:"s-lane-sheet-section",children:[e.jsx(V,{label:"Files",count:q>0?`${p.changed.length} changed · ${p.read.length} read`:void 0,actions:p.changed.length>0?e.jsxs(e.Fragment,{children:[(p.totalAdd>0||p.totalDel>0)&&e.jsxs("span",{className:"s-lane-sheet-file-diff","aria-hidden":"true",children:[p.totalAdd>0&&e.jsxs("span",{className:"s-lane-sheet-file-add",children:["+",p.totalAdd]}),p.totalDel>0&&e.jsxs("span",{className:"s-lane-sheet-file-del",children:["−",p.totalDel]})]}),e.jsx(C,{onClick:We,children:Re?"Copied":"Copy changed"}),e.jsx(C,{onClick:ze,children:"Open all → diff"})]}):void 0}),q===0?e.jsx("div",{className:"s-lane-sheet-empty",children:"No files touched in this session yet."}):e.jsxs("div",{className:"s-lane-sheet-filegroups",children:[p.created.length>0&&e.jsxs("div",{className:"s-lane-sheet-filegroup",children:[e.jsxs("div",{className:"s-lane-sheet-fglabel",children:[e.jsx("span",{className:"s-lane-sheet-fgmark s-lane-sheet-fgmark--created","aria-hidden":"true"}),"new",e.jsx("span",{className:"s-lane-sheet-fgcount",children:p.created.length})]}),e.jsx("div",{className:"s-lane-sheet-files",children:p.created.map(a=>e.jsx(oe,{file:a,basePath:n.cwd,agentId:d.id,sessionId:n.sessionId,onOpen:A},a.path))})]}),p.modified.length>0&&e.jsxs("div",{className:"s-lane-sheet-filegroup",children:[e.jsxs("div",{className:"s-lane-sheet-fglabel",children:[e.jsx("span",{className:"s-lane-sheet-fgmark s-lane-sheet-fgmark--modified","aria-hidden":"true"}),"modified",e.jsx("span",{className:"s-lane-sheet-fgcount",children:p.modified.length})]}),e.jsx("div",{className:"s-lane-sheet-files",children:p.modified.map(a=>e.jsx(oe,{file:a,basePath:n.cwd,agentId:d.id,sessionId:n.sessionId,onOpen:A},a.path))})]}),p.read.length>0&&e.jsxs("div",{className:"s-lane-sheet-filegroup",children:[e.jsxs("button",{type:"button",className:"s-lane-sheet-fglabel s-lane-sheet-fglabel--btn","aria-expanded":_,onClick:()=>Ee(a=>!a),children:[e.jsx("span",{className:`s-lane-sheet-fgcaret${_?" s-lane-sheet-fgcaret--open":""}`,"aria-hidden":"true",children:"›"}),e.jsx("span",{className:"s-lane-sheet-fgmark s-lane-sheet-fgmark--read","aria-hidden":"true"}),"read",e.jsx("span",{className:"s-lane-sheet-fgcount",children:p.read.length}),!_&&e.jsx("span",{className:"s-lane-sheet-fghint",children:"collapsed"})]}),_&&e.jsx("div",{className:"s-lane-sheet-files",children:p.read.map(a=>e.jsx(oe,{file:a,basePath:n.cwd,agentId:d.id,sessionId:n.sessionId,onOpen:A},a.path))})]})]})]}),S.length>0&&e.jsxs("section",{id:"s-lane-sheet-commands",className:"s-lane-sheet-section",children:[e.jsx(V,{label:"Commands",count:"recent",actions:e.jsx(C,{onClick:_e,children:"Copy all"})}),e.jsx("div",{className:"s-lane-sheet-cmds",children:S.map(a=>e.jsx(ys,{entry:a},a.id))})]}),e.jsxs("section",{id:"s-lane-sheet-plans",className:"s-lane-sheet-section",children:[e.jsx(V,{label:"Plans",count:D&&O.length>0?O.length:void 0}),D?O.length===0?e.jsx("div",{className:"s-lane-sheet-empty",children:"No plans matched this session yet."}):e.jsx("div",{className:"s-lane-sheet-plans",children:O.map(a=>e.jsx(Cs,{plan:a,onOpen:()=>Ce(a.id)},a.id))}):e.jsx("div",{className:"s-lane-sheet-empty",children:"Indexing plan documents…"})]}),e.jsxs("section",{id:"s-lane-sheet-docs",className:"s-lane-sheet-section",children:[e.jsx(V,{label:"Docs",count:D&&F.length>0?F.length:void 0}),D?F.length===0?e.jsx("div",{className:"s-lane-sheet-empty",children:"No related docs matched this session yet."}):e.jsx("div",{className:"s-lane-sheet-docs",children:F.map(a=>e.jsx(Ss,{document:a,expanded:Oe===a.id,onToggle:()=>Fe(h=>h===a.id?null:a.id),onOpen:()=>Ce(a.id)},a.id))}):e.jsx("div",{className:"s-lane-sheet-empty",children:"Indexing documents…"})]})]})]})}const Vs=Object.freeze(Object.defineProperty({__proto__:null,AgentLaneDetailSheet:Ls},Symbol.toStringTag,{value:"Module"}));export{Ls as A,Vs as a,Te as i};
|
package/dist/client/assets/{AgentLaneSummaryResize-BBYBS3DO.js → AgentLaneSummaryResize-dpp7YvrX.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as a,j as R}from"./index-
|
|
1
|
+
import{r as a,j as R}from"./index-EsrkGBcv.js";const d="openscout:agent-lanes-cockpit-height",S="openscout:agent-lanes-summary-height",m=48,i=220,_=120,h=112,T=80,C=200,H=112;function v(e){if(!e)return i;const t=e.getBoundingClientRect().height,r=Math.floor(t-H-C);return Math.max(m,Math.min(i,r))}function x(e){return e===null?"auto":e<T?"compact":e<h?"default":"stats"}function w(){try{const e=sessionStorage.getItem(d)??sessionStorage.getItem(S);if(!e||e==="auto")return null;const t=Number(e);return Number.isFinite(t)?Math.min(i,Math.max(m,t)):null}catch{return null}}function f(e){try{if(e===null){sessionStorage.setItem(d,"auto");return}sessionStorage.setItem(d,String(Math.round(e)))}catch{}}function y(e){const[t,r]=a.useState(!1),s=a.useRef({y:0,h:_,max:i}),c=a.useRef(null),L=a.useCallback((n,o)=>{n.preventDefault(),n.currentTarget.setPointerCapture(n.pointerId);const u=n.currentTarget.closest(".s-agent-lane"),l=u?.querySelector(".s-agent-lane-cockpit")?.getBoundingClientRect().height??_,p=o??l,A=v(u);s.current={y:n.clientY,h:p,max:A},c.current=p,r(!0),document.body.classList.add("s-agent-lanes--resizing-summary")},[]),E=a.useCallback(()=>{r(n=>(n&&(document.body.classList.remove("s-agent-lanes--resizing-summary"),f(c.current)),!1))},[]);a.useEffect(()=>{if(!t)return;const n=u=>{const g=u.clientY-s.current.y,l=Math.min(s.current.max,Math.max(m,s.current.h+g));c.current=l,e(l)},o=()=>E();return window.addEventListener("pointermove",n),window.addEventListener("pointerup",o),window.addEventListener("pointercancel",o),()=>{window.removeEventListener("pointermove",n),window.removeEventListener("pointerup",o),window.removeEventListener("pointercancel",o)}},[E,t,e]);const M=a.useCallback(()=>{c.current=null,e(null),f(null)},[e]);return{beginResize:L,resetSummaryHeight:M,resizing:t}}function z({cockpitHeight:e,children:t}){const r=e!==null,s=x(e);return R.jsx("div",{className:`s-agent-lane-cockpit${r?` s-agent-lane-cockpit--sized s-agent-lane-cockpit--${s}`:""}`,style:r?{height:e,maxHeight:e}:void 0,children:t})}function N({onResizeStart:e,onReset:t,active:r}){return R.jsx("div",{role:"separator","aria-orientation":"horizontal","aria-label":"Resize tools panel",title:"Drag to resize tools panel · double-click to reset","aria-valuemin":m,"aria-valuemax":i,className:`s-agent-lane-split${r?" s-agent-lane-split--active":""}`,onPointerDown:e,onDoubleClick:s=>{s.preventDefault(),s.stopPropagation(),t()}})}export{z as AgentLaneCockpitPane,N as AgentLaneSummaryResizeHandle,T as LANE_COCKPIT_COMPACT_HEIGHT,h as LANE_COCKPIT_STATS_HEIGHT,_ as LANE_SUMMARY_HEIGHT_DEFAULT,i as LANE_SUMMARY_HEIGHT_MAX,m as LANE_SUMMARY_HEIGHT_MIN,d as LANE_SUMMARY_HEIGHT_STORAGE_KEY,v as cockpitHeightMaxForLane,x as cockpitHeightTier,w as readStoredLaneSummaryHeight,y as useLaneSummaryResize,f as writeStoredLaneSummaryHeight};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,j as m}from"./index-EsrkGBcv.js";import{u as a}from"./Provider-C35yu29I.js";import{A as n}from"./AgentLanesView-BJi9xXz6.js";import{m as c,n as l}from"./router-DCtl8wqb.js";import"./theme-vars-DNK0nn3k.js";import"./provider-Dojd8quC.js";import"./api-DSqpVKC7.js";import"./machine-scope-DJt9RZ2w.js";import"./sse-BCPRocpq.js";import"./index-BWHgHrtv.js";import"./surface-activity-B1rgWB1i.js";import"./agent-state-DDhnFEEP.js";import"./scoutbot-Bk3nyrkj.js";import"./NewChatComposer-C97-iTMK.js";import"./runtime-picker-DXu2bOTh.js";import"./scout-voice-CZx60X6E.js";import"./fx-z37u1o2z.js";import"./voice-levels-Dcr3jglk.js";import"./loader-circle-OvccU82H.js";import"./createLucideIcon-zZ8Hx7er.js";import"./media-blobs-Bi8pxr1u.js";import"./index-724SdE6r.js";import"./HarnessMark-C4naWc16.js";import"./conversation-model-FxDeWlle.js";import"./time-Dhsh_2EG.js";import"./conversations-DoAAO6kA.js";import"./colors-CFlbwC25.js";import"./NewChatOrigin-DFbF_XvR.js";import"./keyboard-nav-DDHegDbx.js";import"./x-DAehov0E.js";import"./chevron-down-l1mrh5S9.js";import"./search-DT42oyRW.js";import"./file-text-CnISiiw6.js";import"./model-CBkMvT1w.js";import"./DocumentFocusViewer-DJr0v0D_.js";import"./TextDocumentSurface-D52m7Vd8.js";import"./index-CHD0qcfL.js";import"./chevron-right-DrfqcerI.js";import"./folder-D5prSkzz.js";import"./chevron-up-CETZJzjV.js";import"./code-xml-BhcNbLWU.js";import"./arrow-left-MVUKauwQ.js";import"./arrow-right-Bp-FpE5V.js";import"./voice-turn-ledger-BMZxlSjg.js";import"./chunk-HRAB3GC3-DbVLgbWX.js";/* empty css */import"./tail-events-d0yAYxR0.js";import"./observe-BJqERJVj.js";import"./terminal-sessions-3RfJpen8.js";import"./types-B0PlfpKc.js";import"./useEmbedHeadline-D6pJRxUg.js";import"./AgentAvatar-CrP1eXxk.js";import"./SpriteAvatar-CpZWf54-.js";import"./CrewAvatar-kTznzqcO.js";import"./SessionObserve-DXxBvejJ.js";import"./bash-format-BRV5C6Gv.js";import"./tail-display-DHSNmvor.js";import"./lane-edit-display-BjdT9oZl.js";import"./lane-tool-detail-Czggx8oM.js";import"./LaneToolHoverCard-CJa110yk.js";import"./lane-observe-CteDwdD-.js";import"./lane-ask-display-BTVSakyo.js";import"./mentions-ByUvhS-v.js";import"./AgentDetailCard-DtHT3sCo.js";import"./AgentLiveActions-CfTupTEl.js";import"./terminal-takeover-Ay5C2c-M.js";import"./openContent-C6XO6kr5.js";import"./eye-LrO-cXQt.js";import"./terminal-hQKQygcf.js";import"./message-markup-Zwo3t4cI.js";import"./message-markup-BQW5jdJw.js";import"./SessionHopMenu-E6VJZrE0.js";import"./external-link-CUObqmgX.js";import"./ObservedTopologyPanel-CUTIoLZJ.js";import"./ObserveTextFlow-PFnG_10h.js";import"./use-reduced-motion-3gMYZNIp.js";import"./proxy-AJsmwA6h.js";import"./SessionObserveEvidence-Cuj_KHxR.js";import"./SessionContextStrip-CXfs9hUD.js";import"./message-circle-CxRVKNE-.js";import"./wrench-DR0i5BU7.js";import"./AgentFloorView-DH4jiDgw.js";import"./AgentAdventures-BAgxdOF8.js";import"./ReplayClock-348f17bW.js";import"./SproutActionSprite-BSiTS4en.js";/* empty css */import"./CrewSprite-Dhryjx2c.js";import"./agent-lanes-model-DMAdqCmK.js";import"./context-budget-8qFKqM-j.js";import"./adventure-playback-DTfkhIc0.js";import"./AdventureScenery-LPXSVP67.js";import"./adventure-habitats-v1-M1lcpTJh.js";import"./AdventureReader-X-hbTOi0.js";import"./floor-preview-text-HrORUJ7D.js";/* empty css */import"./book-open-CV98WMSp.js";import"./scroll-text-DNjxhyO2.js";import"./ReplayLog-CBnAM3ui.js";import"./AdventureEvidence-CyegKk1V.js";import"./agent-lane-detail-Ti3trpfH.js";/* empty css */import"./arrow-up-right-BPedAgxO.js";/* empty css */import"./flag-C4wl8z2-.js";import"./pause-C2XTlkjs.js";import"./play-FT6K3It1.js";import"./radio-DRoOZsws.js";import"./SharedWorkFloor-D9mf9KSg.js";import"./WorldMinimap-B6HNgcDe.js";import"./WorldSky-Jm2Z6dfW.js";import"./WorldActorTalk-BvSg_b1y.js";import"./send-to-agent-session-DoKCDBJ4.js";import"./FloorExchangePanel-BU1pPu8K.js";import"./floor-character-name-CqJPOlXb.js";import"./floor-message-passes-CO3Ix_wR.js";import"./shared-work-artifacts-DfNl9KTo.js";import"./floor-memory-YMM8AlLY.js";import"./CharacterFamilyPreview-DMfw7UM_.js";import"./RenderedWorkerSprite-Dhlyg89J.js";import"./FloorMessagePasses-cLW2UGNP.js";import"./WorkRunView-BDkR7Edq.js";import"./floor-context-model-rWKqaKmV.js";import"./agent-floor-actor-DW8zLht0.js";import"./SharedFloorCharacter-DNEiaOUh.js";import"./WorldCharacter-CIIlutQq.js";import"./RiggedWorkerCharacter-q6QRc7_o.js";import"./file-code-corner-CsU7jJpu.js";import"./FloorReplay-VFzA6Kxc.js";import"./AgentFloorWorld-CjoIa6jA.js";/* empty css */import"./agent-floor-world-layout-hfMjuoui.js";import"./coffee-D7EAOdCk.js";import"./git-branch-B0_fPLO7.js";/* empty css */import"./FloorTacticalHUD-CO-iiFpb.js";import"./FloorSavedWork-BeHDejWz.js";import"./pin-C2mFOV1l.js";/* empty css */import"./triangle-alert-CHoRGdVO.js";import"./FloorResourcesSheet-C-kQ6Ren.js";/* empty css */import"./synthetic-agent-routing-aduMYO7P.js";/* empty css */import"./FloorContextSheet-2_NVPQor.js";import"./lane-roster-store-D-RSWjb-.js";import"./session-recap-lanes-D-eVJnpY.js";import"./message-square-BxesYglW.js";import"./AgentLanesPreflight-Ry-aqDTr.js";import"./AgentLaneChrome-TF1SlJSc.js";import"./AgentLaneCard-BaZ2g-f8.js";/* empty css */import"./AgentLaneSummaryResize-dpp7YvrX.js";import"./clipboard-e3fSpeo7.js";import"./agent-lane-card-model-CeqQGp-8.js";import"./agent-lane-preview-Dpa3DuOn.js";import"./AgentLaneDetailSheet-EzEPsn3g.js";import"./SlidePanel-_CHAQdOa.js";import"./LaneTraceDetailSheet-DYrd0BIf.js";import"./LaneTraceEventFocus-TbrNHRj_.js";function p(r){return new URLSearchParams(window.location.search).get(r)?.trim()||null}function no(){const{agents:r,navigate:o}=a(),e=t.useMemo(()=>c(),[]),s=t.useMemo(()=>l(),[]),i=t.useMemo(()=>({harnessFilter:p("harness"),projectFilter:p("project")}),[]);return m.jsx("div",{className:"s-agent-lanes-embed","data-scout-theme":!0,children:m.jsx(n,{navigate:o,agents:r,embedded:!0,profileId:e,laneSize:s,harnessFilter:i.harnessFilter,projectFilter:i.projectFilter})})}export{no as AgentLanesEmbedScreen};
|
package/dist/client/assets/{AgentLanesPreflight-pw2vMO3Q.js → AgentLanesPreflight-Ry-aqDTr.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as d,j as s}from"./index-
|
|
1
|
+
import{r as d,j as s}from"./index-EsrkGBcv.js";import{t as $}from"./time-Dhsh_2EG.js";const w=3,E=12;function z(e,n){return n===0&&(e.discovery==="loading"||e.recent==="loading")}function A(e){const n=e?.trim();return n?n.slice(0,13):null}function x(e){const n=e.lastEventAt;return typeof n=="number"&&Number.isFinite(n)&&n>0?n:e.mtimeMs}function D(e){return e.sessionId?.trim()||e.transcriptPath}function _(e){const n=e.max??E;if(e.discoveryPhase==="loading")return{cells:[],blindCells:Math.min(e.blindCells??w,n),identified:!1};const i=e.discovery?.transcripts??[],a=new Set,t=[];for(const l of i.filter(c=>{if(e.matchTranscript&&!e.matchTranscript(c))return!1;const r=e.now-x(c);return r>=0?r<=e.windowMs:!0}).sort((c,r)=>x(r)-x(c))){const c=D(l);if(!a.has(c)&&(a.add(c),t.push({key:c,source:l.source,sessionLabel:A(l.sessionId),project:l.project,cwd:l.cwd,lastActiveAt:x(l)}),t.length>=n))break}return{cells:t,blindCells:0,identified:!0}}function T(e){return e.sessionLabel?`${e.source}:${e.sessionLabel}`:e.source}const I=260,P=100;function B(e,n){const[i,a]=d.useState(e),[t,l]=d.useState(!1);return d.useEffect(()=>{if(e){a(!0),l(!1);return}if(!i)return;if(n<=0){a(!1),l(!1);return}l(!0);const c=setTimeout(()=>{a(!1),l(!1)},n);return()=>clearTimeout(c)},[e,n,i]),{visible:i,exiting:t}}function R(e,n){const i=d.useRef(Date.now()),[a,t]=d.useState({discoveryMs:null,recentMs:null,deckMs:null}),[l,c]=d.useState(0);return d.useEffect(()=>{t(r=>{const o=r.discoveryMs===null&&e.discovery!=="loading"?Date.now()-i.current:r.discoveryMs,m=r.recentMs===null&&e.recent!=="loading"?Date.now()-i.current:r.recentMs;return o===r.discoveryMs&&m===r.recentMs?r:{...r,discoveryMs:o,recentMs:m}})},[e.discovery,e.recent]),d.useEffect(()=>{n&&t(r=>r.deckMs===null?{...r,deckMs:Date.now()-i.current}:r)},[n]),d.useEffect(()=>{if(a.deckMs!==null)return;const r=()=>c(Date.now()-i.current);r();const o=setInterval(r,P);return()=>clearInterval(o)},[a.deckMs]),{...a,elapsedMs:l}}function N({seed:e,rows:n}){const i=d.useMemo(()=>{const a=[68,92,54,80,61,74];return Array.from({length:n},(t,l)=>a[(e+l)%a.length])},[n,e]);return s.jsx("div",{className:"s-lane-pre-bars","aria-hidden":"true",children:i.map((a,t)=>s.jsx("span",{className:"s-lane-pre-bar",style:{width:`${a}%`,animationDelay:`${e*110+t*90}ms`}},`${t}-${a}`))})}function S({cell:e,index:n,nowMs:i,style:a}){if(!e)return s.jsxs("div",{className:"s-lane-pre s-lane-pre--blind",style:a,"aria-hidden":"true",children:[s.jsxs("div",{className:"s-lane-pre-head",children:[s.jsx("span",{className:"s-lane-pre-ghost s-lane-pre-ghost--dot"}),s.jsx("span",{className:"s-lane-pre-ghost s-lane-pre-ghost--name"}),s.jsx("span",{className:"s-lane-pre-spacer"}),s.jsx("span",{className:"s-lane-pre-ghost s-lane-pre-ghost--meta"})]}),s.jsx(N,{seed:n,rows:6})]});const t=[e.project,e.cwd].find(l=>!!l)??"—";return s.jsxs("div",{className:"s-lane-pre",style:a,children:[s.jsxs("div",{className:"s-lane-pre-head",children:[s.jsx("span",{className:"s-lane-pre-dot","aria-hidden":"true"}),s.jsx("span",{className:"s-lane-pre-title",children:T(e)}),s.jsx("span",{className:"s-lane-pre-where",title:e.cwd??t,children:t}),s.jsx("span",{className:"s-lane-pre-spacer"}),s.jsx("span",{className:"s-lane-pre-age",children:$(e.lastActiveAt,i)})]}),s.jsx(N,{seed:n,rows:5})]})}function F({discovery:e,discoveryPhase:n,windowMs:i,nowMs:a,layout:t,gridColumns:l,laneWidthPx:c,matchTranscript:r}){const o=t==="grid",m=d.useMemo(()=>_({discovery:e,discoveryPhase:n,windowMs:i,now:a,matchTranscript:r}),[e,n,r,a,i]),h=m.identified?m.cells:Array.from({length:m.blindCells},()=>null);if(t==="none"||h.length===0)return s.jsx("div",{className:"s-agent-lanes-preflight-empty","aria-hidden":"true"});const p=h.map((f,b)=>s.jsx(S,{cell:f,index:b,nowMs:a,style:o?void 0:{width:`${c}px`,flex:"none"}},f?.key??`blind-${b}`));return o?s.jsx("div",{className:"s-agent-lanes-grid s-agent-lanes-grid--preflight","data-grid-columns":l,"aria-label":"Lane deck loading",children:p}):s.jsx("div",{className:"s-agent-lanes-body",children:s.jsx("section",{className:"s-agent-lanes-zone s-agent-lanes-zone--main",children:s.jsx("div",{className:"s-agent-lanes-scroll","aria-label":"Lane deck loading",children:p})})})}function y(e){return e==="ready"?"OK":e==="error"?"WARN":"RUN"}function j(e){return`s-lane-boot-step s-lane-boot-step--${e}`}function u(e,n){return`${e.toLocaleString()} ${n}${e===1?"":"s"}`}function g(e){return e===null?"":`${Math.round(e)}ms`}function K({loadState:e,sourceCount:n,processCount:i,eventCount:a,laneCount:t,horizonLabel:l,handedOff:c,exiting:r}){const o=R(e,c),m=e.discovery!=="loading"&&e.recent!=="loading",h=e.discovery==="ready"?`${u(n,"session source")} indexed`:e.discovery==="error"?"session source scan unavailable":"scanning local transcripts and harness processes",p=e.recent==="ready"?`${u(a,"recent event")} merged`:e.recent==="error"?"history replay unavailable; live signals remain enabled":`reading turns and tool output for the ${l} view`,f=t>0?`${u(t,"lane")} composed`:e.recent==="error"?`${u(a,"live signal")} in, no history`:a>0?`${u(a,"signal")} in, waiting on replay`:"waiting on first signals",b=e.discovery==="ready"?"done":e.discovery==="error"?"warn":"running",v=e.recent==="ready"?"done":e.recent==="error"?"warn":e.discovery==="loading"?"pending":"running",L=c?"done":e.recent==="loading"?"pending":"running",M=o.deckMs!==null?g(o.deckMs):o.elapsedMs<1e3?g(o.elapsedMs):`${(o.elapsedMs/1e3).toFixed(1)}s`,k=t>0;return s.jsxs("div",{className:["s-lane-boot",k?"s-lane-boot--bare":null,r?"s-lane-boot--exiting":null].filter(Boolean).join(" "),role:"status","aria-live":"polite","aria-busy":!m,children:[s.jsx("div",{className:"s-lane-boot-veil","aria-hidden":"true"}),s.jsxs("div",{className:"s-lane-boot-sheet",children:[s.jsxs("div",{className:"s-lane-boot-head",children:[s.jsx("span",{className:`s-lane-boot-dot${m?" s-lane-boot-dot--done":""}`,"aria-hidden":"true"}),s.jsx("span",{className:"s-lane-boot-lead",children:"Starting agent tail"}),s.jsxs("span",{className:"s-lane-boot-count",children:[n.toLocaleString()," sources"]}),s.jsxs("span",{className:"s-lane-boot-count",children:[i.toLocaleString()," live"]}),s.jsxs("span",{className:"s-lane-boot-count",children:[a.toLocaleString()," events"]}),t>0?s.jsxs("span",{className:"s-lane-boot-count",children:[t.toLocaleString()," lanes"]}):null,s.jsx("span",{className:"s-lane-boot-spacer"}),s.jsxs("span",{className:"s-lane-boot-meta",children:["lookback ",l]}),s.jsx("span",{className:"s-lane-boot-elapsed","aria-hidden":"true",children:M})]}),s.jsxs("div",{className:"s-lane-boot-log",children:[s.jsxs("div",{className:j(b),children:[s.jsx("span",{className:"s-lane-boot-state",children:y(e.discovery)}),s.jsx("strong",{className:"s-lane-boot-name",children:"discover sessions"}),s.jsx("code",{className:"s-lane-boot-detail",children:h}),s.jsx("span",{className:"s-lane-boot-timing",children:g(o.discoveryMs)})]}),s.jsxs("div",{className:j(v),children:[s.jsx("span",{className:"s-lane-boot-state",children:y(e.recent)}),s.jsx("strong",{className:"s-lane-boot-name",children:"replay recent tail"}),s.jsx("code",{className:"s-lane-boot-detail",children:p}),s.jsx("span",{className:"s-lane-boot-timing",children:g(o.recentMs)})]}),s.jsxs("div",{className:j(L),children:[s.jsx("span",{className:"s-lane-boot-state",children:c?"OK":"LIVE"}),s.jsx("strong",{className:"s-lane-boot-name",children:"assemble lanes"}),s.jsx("code",{className:"s-lane-boot-detail",children:f}),s.jsx("span",{className:"s-lane-boot-timing",children:g(o.deckMs)})]})]})]})]})}const G=Object.freeze(Object.defineProperty({__proto__:null,AgentLanesLoadingSheet:K,AgentLanesPreflightDeck:F,LANE_BOOT_EXIT_MS:I,useLaneBootVisibility:B},Symbol.toStringTag,{value:"Module"}));export{F as A,I as L,K as a,G as b,z as s,B as u};
|