claude-code-best 2.7.2 → 2.8.1
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 +3 -0
- package/dist/chunks/{AddWorkspaceDirectory-V2tF7iCY.js → AddWorkspaceDirectory-CNyPaerF.js} +1 -1
- package/dist/chunks/{App-DLdRpU7c.js → App-hiKxO6UA.js} +1 -1
- package/dist/chunks/{ApproveApiKey-DPws3jax.js → ApproveApiKey-Cd43j9Wa.js} +1 -1
- package/dist/chunks/ApproveApiKey-DUoUTxFp.js +1 -0
- package/dist/chunks/{AssistantSessionChooser-D6rS0OVe.js → AssistantSessionChooser-C8OxwSGM.js} +1 -1
- package/dist/chunks/{BackgroundTasksDialog-hGlbm5z5.js → BackgroundTasksDialog-VKhuyQLe.js} +2 -2
- package/dist/chunks/{BypassPermissionsModeDialog-CuEpdRVd.js → BypassPermissionsModeDialog-Ddjzluka.js} +1 -1
- package/dist/chunks/{ClaudeInChromeOnboarding-CTTKMRbt.js → ClaudeInChromeOnboarding-BhvrEJlm.js} +1 -1
- package/dist/chunks/ClaudeMdExternalIncludesDialog-COO2W0ij.js +1 -0
- package/dist/chunks/{ClaudeMdExternalIncludesDialog-B-GkVoA_.js → ClaudeMdExternalIncludesDialog-DoNd72PS.js} +1 -1
- package/dist/chunks/ConsoleOAuthFlow-CPWq7O57.js +1 -0
- package/dist/chunks/{DesktopHandoff-BjPylhOT.js → DesktopHandoff-DVUOZjb0.js} +1 -1
- package/dist/chunks/{DevChannelsDialog-c4YVqBX9.js → DevChannelsDialog-DJbRHAIy.js} +1 -1
- package/dist/chunks/{DiffDialog-I5wuXw2C.js → DiffDialog-D0RK4t-9.js} +2 -2
- package/dist/chunks/{Doctor-Cr_MlSPc.js → Doctor-0Nv3L1Oy.js} +1 -1
- package/dist/chunks/Doctor-Ba9zhV0V.js +1 -0
- package/dist/chunks/{ExitFlow-Bz5grDWv.js → ExitFlow-BPbtGcEg.js} +1 -1
- package/dist/chunks/{Feedback-COgMI5tY.js → Feedback-BSagYjmf.js} +1 -1
- package/dist/chunks/{Grove-m57x4tY1.js → Grove-BrP9JNpK.js} +1 -1
- package/dist/chunks/Grove-DyvIToPa.js +1 -0
- package/dist/chunks/{HybridTransport-Bok4-Ptt.js → HybridTransport-DLaxmXCR.js} +1 -1
- package/dist/chunks/{ITermBackend-BBSP-NNa.js → ITermBackend-tXN55G2D.js} +1 -1
- package/dist/chunks/{InvalidConfigDialog-uTSuSBvO.js → InvalidConfigDialog-BzFQdfwu.js} +1 -1
- package/dist/chunks/{InvalidSettingsDialog-B-Os12-H.js → InvalidSettingsDialog-KFg61s41.js} +1 -1
- package/dist/chunks/{MCPConnectionManager-y97Inszc.js → MCPConnectionManager-N-oJu3qn.js} +1 -1
- package/dist/chunks/{McpParsingWarnings-DMFUZw92.js → McpParsingWarnings-DsHSSgsx.js} +1 -1
- package/dist/chunks/{MessageSelector-DwdAC2io.js → MessageSelector-D10JMnsc.js} +1 -1
- package/dist/chunks/Messages-CQdQJ2AA.js +11 -0
- package/dist/chunks/{Onboarding-B8qMJaBh.js → Onboarding-DBJX6Cnf.js} +1 -1
- package/dist/chunks/{OverageCreditUpsell-DnFv5z-z.js → OverageCreditUpsell-B4beCEX2.js} +1 -1
- package/dist/chunks/{PluginSettings-B_xVgTTp.js → PluginSettings-BBrFCSpQ.js} +1 -1
- package/dist/chunks/{PromptInputFooterSuggestions-DhIQ0Nge.js → PromptInputFooterSuggestions-DAFZfAT0.js} +1 -1
- package/dist/chunks/{PromptInputHelpMenu-CoMkWchC.js → PromptInputHelpMenu-Bjjr3tYl.js} +1 -1
- package/dist/chunks/{QueryEngine-C7r7O-hH.js → QueryEngine-BSk8-8vB.js} +1 -1
- package/dist/chunks/{REPL-CmJdJrGO.js → REPL-CXcCBQuz.js} +13 -13
- package/dist/chunks/REPL-D-akKdFc.js +1 -0
- package/dist/chunks/{RemoteCallout-4JOZROfT.js → RemoteCallout-CuxqarhC.js} +1 -1
- package/dist/chunks/RemoteSessionManager-BhPF41Wn.js +2 -0
- package/dist/chunks/{ResumeConversation-CZ2Uedkf.js → ResumeConversation-hmIOkZ2U.js} +1 -1
- package/dist/chunks/{SSETransport-kEH_p4Yq.js → SSETransport-8yaTbdSK.js} +1 -1
- package/dist/chunks/SearchExtraToolsTool-wDSdfnRo.js +1 -0
- package/dist/chunks/SentryErrorBoundary-Duyg6HeT.js +1 -0
- package/dist/chunks/{SentryErrorBoundary-97iY7Nb7.js → SentryErrorBoundary-ydwbrVTx.js} +1 -1
- package/dist/chunks/{Settings-CuljH0mu.js → Settings-BSbzT25q.js} +2 -2
- package/dist/chunks/{TeleportProgress-Ctdqi7iS.js → TeleportProgress-CNcl_DxR.js} +1 -1
- package/dist/chunks/{TeleportRepoMismatchDialog-DyTBg1YD.js → TeleportRepoMismatchDialog-DJc8_mjE.js} +1 -1
- package/dist/chunks/{TeleportResumeWrapper-B66clYsG.js → TeleportResumeWrapper-Cw438s-J.js} +1 -1
- package/dist/chunks/{ThemePicker-WKmYvrqz.js → ThemePicker-8X6yAwuQ.js} +1 -1
- package/dist/chunks/{TmuxBackend-OKX2NP14.js → TmuxBackend-CqAnVFoI.js} +1 -1
- package/dist/chunks/{TrustDialog-0anSIf-G.js → TrustDialog-Ch1FJzxi.js} +1 -1
- package/dist/chunks/{ValidationErrorsList-CfgC1KJb.js → ValidationErrorsList-sgfvJPWZ.js} +1 -1
- package/dist/chunks/{WelcomeV2-BMHXiNt3.js → WelcomeV2-Bu8l3w90.js} +1 -1
- package/dist/chunks/{WindowsTerminalBackend-fCSGVe4W.js → WindowsTerminalBackend-Bvq7nHOp.js} +1 -1
- package/dist/chunks/{add-dir-CMtuW667.js → add-dir-DqrRNnxe.js} +1 -1
- package/dist/chunks/{agentDisplay-CgYKW3G7.js → agentDisplay-DcxzWi1v.js} +1 -1
- package/dist/chunks/{agents-CdqcGm9o.js → agents-Do1ynqiW.js} +1 -1
- package/dist/chunks/{agents-D90TsYOf.js → agents-QqLm1wcM.js} +1 -1
- package/dist/chunks/{ant-DZjimiuz.js → ant-D5gD6O-r.js} +1 -1
- package/dist/chunks/api-VMfJpk1G.js +1 -0
- package/dist/chunks/{api-CQWbpxLP.js → api-hcsOinLV.js} +1 -1
- package/dist/chunks/artifacts-DH8c2yG0.js +1 -0
- package/dist/chunks/{assistant-CEmC_DlU.js → assistant-CemNvrYr.js} +1 -1
- package/dist/chunks/assistant-D7D1sqTB.js +1 -0
- package/dist/chunks/{assistant-CyVcFPIR.js → assistant-DkECAILU.js} +1 -1
- package/dist/chunks/auth-CGdLe3rq.js +1 -0
- package/dist/chunks/{auth-DsQEVs9W.js → auth-Dm8aWPRh.js} +1 -1
- package/dist/chunks/{autoMode-DEbM9UaE.js → autoMode-dygqoN_C.js} +1 -1
- package/dist/chunks/{autonomy-Clap6Swl.js → autonomy-BdxnxJnk.js} +1 -1
- package/dist/chunks/{autonomy-lNpGnyiu.js → autonomy-DPeEmb00.js} +1 -1
- package/dist/chunks/{autonomyPanel-BqEvfI0e.js → autonomyPanel-Bocl2taZ.js} +1 -1
- package/dist/chunks/backgroundHousekeeping-4H6yTjsj.js +1 -0
- package/dist/chunks/{backgroundHousekeeping-KvOpP_4M.js → backgroundHousekeeping-zf-tDimg.js} +2 -2
- package/dist/chunks/{banner-D9Cq292T.js → banner-DUL-7A0b.js} +1 -1
- package/dist/chunks/{branch-CSYB04xC.js → branch-DwdVgun5.js} +1 -1
- package/dist/chunks/{break-cache-DrIa8RdW.js → break-cache-DjCRzxDv.js} +1 -1
- package/dist/chunks/{bridge-DDgASypO.js → bridge-DkkMogD_.js} +2 -2
- package/dist/chunks/bridgeConfig-CTJBoASk.js +1 -0
- package/dist/chunks/{bridgeConfig-DjC4oig1.js → bridgeConfig-l6Ldi_hk.js} +1 -1
- package/dist/chunks/{bridgeEnabled-Csn6Ym3k.js → bridgeEnabled-DYclTb9d.js} +1 -1
- package/dist/chunks/bridgeEnabled-SMuWz3Is.js +1 -0
- package/dist/chunks/{bridgeMain-B5wsmwkN.js → bridgeMain-Ct5oDosG.js} +11 -11
- package/dist/chunks/bridgeMain-UqwOi37W.js +1 -0
- package/dist/chunks/{bridgeMessaging-ChOzzVWj.js → bridgeMessaging-CYe1Cixl.js} +1 -1
- package/dist/chunks/{btw-BgjcOoeo.js → btw-CyOlY5R-.js} +1 -1
- package/dist/chunks/{buddy-C1wE3noR.js → buddy-q-utA1_5.js} +1 -1
- package/dist/chunks/{bypassPermissionsKillswitch-C0diGLRB.js → bypassPermissionsKillswitch-CTrRxzdz.js} +1 -1
- package/dist/chunks/{caches-CIoVGP24.js → caches-Bz4yVQyE.js} +2 -2
- package/dist/chunks/caches-DKMoKTAZ.js +1 -0
- package/dist/chunks/{ccrClient-C1msT1E3.js → ccrClient-DXiEw9xU.js} +1 -1
- package/dist/chunks/changeDetector--KPj2maX.js +1 -0
- package/dist/chunks/{channelNotification-CWlu9ZWs.js → channelNotification-CLPdvxGZ.js} +1 -1
- package/dist/chunks/channelNotification-fJgjqRMx.js +1 -0
- package/dist/chunks/{chrome-Bo9uNZ7s.js → chrome-DxbhLWDW.js} +1 -1
- package/dist/chunks/clear-CYVCwiwu.js +1 -0
- package/dist/chunks/client-DvWRsIpi.js +1 -0
- package/dist/chunks/{color-CkzktPHt.js → color-DiLtK8_L.js} +1 -1
- package/dist/chunks/commands-BT2_ICaW.js +1 -0
- package/dist/chunks/commitAttribution-Bpbro1a4.js +1 -0
- package/dist/chunks/{commitAttribution-csu3NO7Y.js → commitAttribution-CJXF8wMs.js} +1 -1
- package/dist/chunks/{compact-DNGIVZRN.js → compact-C6xm1N5a.js} +1 -1
- package/dist/chunks/{companion-Diuav3lA.js → companion-rXSt0nmz.js} +1 -1
- package/dist/chunks/{config-B25IrkTA.js → config-BE3jrcr-.js} +1 -1
- package/dist/chunks/{config-ODoYZY8i.js → config-CzC08IjE.js} +1 -1
- package/dist/chunks/{context-CZ5enuPE.js → context-BHE99SMA.js} +1 -1
- package/dist/chunks/context-noninteractive-BQDOgVUW.js +1 -0
- package/dist/chunks/{context-noninteractive-62P5EnN5.js → context-noninteractive-BZQIUH_y.js} +13 -13
- package/dist/chunks/conversation-Bt6QdGd-.js +1 -0
- package/dist/chunks/{conversation-DyhWeHw2.js → conversation-CBPRFDod.js} +1 -1
- package/dist/chunks/{copy-9JLr2-Xs.js → copy-TgphIVzy.js} +1 -1
- package/dist/chunks/{createSSHSession-B1hTuDpB.js → createSSHSession-CSKEZ4ic.js} +1 -1
- package/dist/chunks/createSession-BaHXBnfG.js +1 -0
- package/dist/chunks/{createSession-fzjzy0aS.js → createSession-Ce218tQj.js} +1 -1
- package/dist/chunks/{cronJitterConfig-9OmmYmIT.js → cronJitterConfig-CnKed5Gi.js} +1 -1
- package/dist/chunks/crossProjectResume-BFlsTYOq.js +40 -0
- package/dist/chunks/{daemon-BRKR4D1D.js → daemon-Bu0Uy-qG.js} +1 -1
- package/dist/chunks/{datadog-SSxsxcC-.js → datadog-D5jSRybW.js} +1 -1
- package/dist/chunks/datadog-DgYqUGa-.js +1 -0
- package/dist/chunks/{desktop-CQnMcbex.js → desktop-cjA0tGOa.js} +1 -1
- package/dist/chunks/{diff-uAwKYa51.js → diff-DMd61IjE.js} +1 -1
- package/dist/chunks/{doctor-CBF0fkBF.js → doctor-ueUYyjyL.js} +1 -1
- package/dist/chunks/earlyInput-DEZaWwKF.js +1 -0
- package/dist/chunks/{effort-F-bhAM2u.js → effort-B9IvAstG.js} +1 -1
- package/dist/chunks/entry-Bq_KRMWs.js +14 -0
- package/dist/chunks/{envLessBridgeConfig-Dg0hNsdi.js → envLessBridgeConfig-CpjlwmvF.js} +1 -1
- package/dist/chunks/envLessBridgeConfig-D_GCqhTu.js +1 -0
- package/dist/chunks/{exit-CqcvZJwI.js → exit-DtjFIrvJ.js} +1 -1
- package/dist/chunks/{export-c6WoGlsG.js → export-CP638-TO.js} +1 -1
- package/dist/chunks/{exportRenderer-CaegIP5N.js → exportRenderer-B5emJDvn.js} +1 -1
- package/dist/chunks/extra-usage-C4dUWLhg.js +1 -0
- package/dist/chunks/{extra-usage-Cj8fokgc.js → extra-usage-DIm8nrKj.js} +1 -1
- package/dist/chunks/{extra-usage-core-sHzc4eE1.js → extra-usage-core-DERKSEe1.js} +1 -1
- package/dist/chunks/{extra-usage-noninteractive-D0kqrqsg.js → extra-usage-noninteractive-Dq5dog_-.js} +1 -1
- package/dist/chunks/{extraUsage-CbkqfG1U.js → extraUsage-BMvDY0Sk.js} +1 -1
- package/dist/chunks/extractMemories-DS7XXeEo.js +1 -0
- package/dist/chunks/{fast-DS3iQ1CH.js → fast-BP2t1xDM.js} +1 -1
- package/dist/chunks/fast-D1xIHYaN.js +1 -0
- package/dist/chunks/{feedback-QJynmG5q.js → feedback-C-mR6zJr.js} +1 -1
- package/dist/chunks/{firstPartyEventLogger-DlW8BUXq.js → firstPartyEventLogger-sMmHdYjg.js} +1 -1
- package/dist/chunks/{flushGate-CK5B9-Zn.js → flushGate-C18XwNsa.js} +1 -1
- package/dist/chunks/{gates-vlrMjO-X.js → gates-Be5r2kKS.js} +1 -1
- package/dist/chunks/gates-CUAwAhPL.js +1 -0
- package/dist/chunks/{gemini-B5ZRjDrh.js → gemini-BberPcp1.js} +1 -1
- package/dist/chunks/{generateRecap-SgRMdsyN.js → generateRecap-B76UcVUS.js} +1 -1
- package/dist/chunks/{generateSessionName-sZFzpwsq.js → generateSessionName-BwtXd8TC.js} +1 -1
- package/dist/chunks/{githubRepoPathMapping-DUGvTwPB.js → githubRepoPathMapping-5IlVgR2l.js} +1 -1
- package/dist/chunks/{goal-Dy-GGn9r.js → goal-DQ0jNcLO.js} +1 -1
- package/dist/chunks/{grok-BG4_buNt.js → grok-Dh_thT2_.js} +1 -1
- package/dist/chunks/{growthbook-Br1dDRtd.js → growthbook-4ADV3CAt.js} +1 -1
- package/dist/chunks/{heapdump-B9PVKMxa.js → heapdump-Dwqmh4SX.js} +1 -1
- package/dist/chunks/{help-BfWF7xij.js → help-Bznaywoi.js} +1 -1
- package/dist/chunks/hooks-DynUngv2.js +1 -0
- package/dist/chunks/{hooks-KK32pxq3.js → hooks-F-82cg6M.js} +1 -1
- package/dist/chunks/{hostAdapter-TBJav3vX.js → hostAdapter-DpfLr3hX.js} +1 -1
- package/dist/chunks/{ide-BU1A79BE.js → ide-BfAKWufQ.js} +1 -1
- package/dist/chunks/{inboundAttachments-D4tBPCB8.js → inboundAttachments-CFV_eqMu.js} +1 -1
- package/dist/chunks/inboundAttachments-Cug-8Xdy.js +1 -0
- package/dist/chunks/{initReplBridge-99sUBVEk.js → initReplBridge-DV9KhSic.js} +1 -1
- package/dist/chunks/{insights-lDHodCMG.js → insights-BNsCwNYa.js} +1 -1
- package/dist/chunks/{install-Bg4ZgW81.js → install-Bszzs98N.js} +1 -1
- package/dist/chunks/{install-github-app-RLbUq5EL.js → install-github-app-DVxGR2rp.js} +1 -1
- package/dist/chunks/{install-slack-app-CHmIwsbm.js → install-slack-app-CjlRL19o.js} +1 -1
- package/dist/chunks/{instrumentation-BCiV3SKX.js → instrumentation-BOYPOtyu.js} +3 -3
- package/dist/chunks/{job-xOGf0j5Q.js → job-BvD5_lGz.js} +1 -1
- package/dist/chunks/{keybindings-DMbReZ4p.js → keybindings-RPmPPGhp.js} +1 -1
- package/dist/chunks/{lang-A6LUGP_7.js → lang-9VNaOJMz.js} +1 -1
- package/dist/chunks/language-CjFs6_la.js +1 -0
- package/dist/chunks/{language-CGfURU2y.js → language-Ct5Nkqm6.js} +1 -1
- package/dist/chunks/{launchAgentsPlatform-Dbpm7Jyo.js → launchAgentsPlatform-CnoxFIXV.js} +1 -1
- package/dist/chunks/{launchAutofixPr-RZfqx5eM.js → launchAutofixPr-ChaDUtvx.js} +1 -1
- package/dist/chunks/{launchLocalMemory-DIntbsvg.js → launchLocalMemory-MwZfEJxz.js} +1 -1
- package/dist/chunks/{launchLocalVault-CCUw0ayu.js → launchLocalVault-B6Ib5WXx.js} +1 -1
- package/dist/chunks/{launchMemoryStores-QJTh8KSP.js → launchMemoryStores-D6xyGwQ1.js} +1 -1
- package/dist/chunks/{launchOnboarding--Pe30AYd.js → launchOnboarding-BtdAOO3p.js} +1 -1
- package/dist/chunks/{launchSchedule-DjN1RbRX.js → launchSchedule-XVljzNKg.js} +1 -1
- package/dist/chunks/{launchSkillStore-CcKmVDz1.js → launchSkillStore-QT8Qcc5N.js} +1 -1
- package/dist/chunks/{launchTeleport-BKlEo0yF.js → launchTeleport-DwxPesKQ.js} +1 -1
- package/dist/chunks/{launchVault-C7UHA-IG.js → launchVault-Dbti6pph.js} +1 -1
- package/dist/chunks/{loadAgentsDir-ClTeo0nk.js → loadAgentsDir-BYWykYwn.js} +727 -727
- package/dist/chunks/loadAgentsDir-tPgCg0WD.js +1 -0
- package/dist/chunks/{loadPluginHooks-DVZmzYLl.js → loadPluginHooks-2U3UO__Q.js} +1 -1
- package/dist/chunks/localSearch-CxwxzM8W.js +1 -0
- package/dist/chunks/{localSearch-Koc8naSr.js → localSearch-eWjZxMc8.js} +1 -1
- package/dist/chunks/login-CVVFklZw.js +1 -0
- package/dist/chunks/{login-C3MZQTDL.js → login-D1aQCqp0.js} +1 -1
- package/dist/chunks/{logoV2Utils-DAIIwt5R.js → logoV2Utils-CPNvLtol.js} +1 -1
- package/dist/chunks/logout-BYsszpXx.js +1 -0
- package/dist/chunks/{magicDocs-C_inI3JJ.js → magicDocs-DAvjAbAJ.js} +1 -1
- package/dist/chunks/{main-qqcmncHA.js → main-BKlQiSuc.js} +130 -51
- package/dist/chunks/{mappers-7BSMbYvH.js → mappers-BBkM1aA5.js} +1 -1
- package/dist/chunks/{mcp-HQ8-nEZ1.js → mcp-C3jlClk0.js} +2 -2
- package/dist/chunks/{mcp-DV8Prhgi.js → mcp-Cmw8ecKk.js} +1 -1
- package/dist/chunks/{mcp-DRBiobrN.js → mcp-ya96irNP.js} +1 -1
- package/dist/chunks/{mcpServer-CLIYAgGs.js → mcpServer-B1q9blAc.js} +1 -1
- package/dist/chunks/{mcpServer-DS0yRfcu.js → mcpServer-BJB5g6j2.js} +1 -1
- package/dist/chunks/{memory-Cz_JaFLF.js → memory-CxiukAGg.js} +1 -1
- package/dist/chunks/{mode-Kx0kSZkr.js → mode-DqAJ2y6R.js} +1 -1
- package/dist/chunks/{model-CNXtfiLg.js → model-C8TW-qjl.js} +1 -1
- package/dist/chunks/model-VB4ItNVB.js +1 -0
- package/dist/chunks/{onChangeAppState-C4ic-Mib.js → onChangeAppState-BG1pF7ht.js} +1 -1
- package/dist/chunks/{openai-CGGSfpPh.js → openai-CHoRhRtf.js} +1 -1
- package/dist/chunks/{overageCreditGrant-BqW_6R5v.js → overageCreditGrant-DYMg1lV4.js} +1 -1
- package/dist/chunks/{panel-D3wvAEFE.js → panel-BY6q16am.js} +1 -1
- package/dist/chunks/{panel-BYfvo_mR.js → panel-BdRBXAv3.js} +1 -1
- package/dist/chunks/panelCall-SYrmrKt9.js +1 -0
- package/dist/chunks/{passes-sYE91Vtr.js → passes-CSV-SZJc.js} +1 -1
- package/dist/chunks/{paths-DO4WOQtD.js → paths-BZjPDxMm.js} +3 -3
- package/dist/chunks/{permissions-BPerbf1I.js → permissions-DBddT2NP.js} +1 -1
- package/dist/chunks/{pipeTransport-CW9zF_UN.js → pipeTransport-uK7GxbSG.js} +1 -1
- package/dist/chunks/{plan-CDKBVRw6.js → plan-DEbo-Adi.js} +1 -1
- package/dist/chunks/{plugin-C6US4b8W.js → plugin-Cops24hg.js} +1 -1
- package/dist/chunks/{pluginAutoupdate-BQKtcAhC.js → pluginAutoupdate-Bg7JMOHN.js} +1 -1
- package/dist/chunks/{pluginBlocklist-B8DKXi0i.js → pluginBlocklist-DEM_RWc2.js} +1 -1
- package/dist/chunks/{pluginCliCommands-DWCeXYTl.js → pluginCliCommands-DyYEg7Cv.js} +1 -1
- package/dist/chunks/{pluginFlagging-DFMlWw2P.js → pluginFlagging-DwChUZMJ.js} +1 -1
- package/dist/chunks/{pluginOperations-CKmwDC3G.js → pluginOperations-COyT4tHs.js} +1 -1
- package/dist/chunks/{pluginStartupCheck-D6IbyWKe.js → pluginStartupCheck-DCxJJkYs.js} +1 -1
- package/dist/chunks/pluginStartupCheck-DjfIaOch.js +1 -0
- package/dist/chunks/{plugins-BwZIRMh_.js → plugins-BanQjHmw.js} +1 -1
- package/dist/chunks/policyLimits-D-Y_soHx.js +1 -0
- package/dist/chunks/{pollConfig-C3NjXYFc.js → pollConfig-DBNHhvHf.js} +1 -1
- package/dist/chunks/{poor-BHhbua95.js → poor-aPQce502.js} +1 -1
- package/dist/chunks/{poorMode-mtlnXU-z.js → poorMode-CFRuV-nB.js} +1 -1
- package/dist/chunks/poorMode-DQagHYWe.js +1 -0
- package/dist/chunks/{print-kxnXkqGc.js → print-Cf2tY__0.js} +4 -4
- package/dist/chunks/{privacy-settings-DjY1annR.js → privacy-settings-CYkM3Aem.js} +1 -1
- package/dist/chunks/{processBashCommand-BrqLqSva.js → processBashCommand-BLSC8o8M.js} +1 -1
- package/dist/chunks/{processSlashCommand-DJGdVGbK.js → processSlashCommand-Ch9B-6nh.js} +1 -1
- package/dist/chunks/projectContext-2CzYVggO.js +1 -0
- package/dist/chunks/projectContext-CVk2Ix1r.js +1 -0
- package/dist/chunks/{prompt-CfM_xGPc.js → prompt-BGNhFY1n.js} +1 -1
- package/dist/chunks/prompt-CrNwH5kr.js +1 -0
- package/dist/chunks/prompt-dH0MMivt.js +1 -0
- package/dist/chunks/{promptEditor-FI_ewCpV.js → promptEditor-U03qQWbq.js} +1 -1
- package/dist/chunks/{protocolHandler-B7ybKpgJ.js → protocolHandler-3yBj9w5N.js} +1 -1
- package/dist/chunks/{rate-limit-options-DPJMNNou.js → rate-limit-options-D-xl_9PO.js} +1 -1
- package/dist/chunks/{rcDebugLog-CwU_wJBE.js → rcDebugLog-ClX1msJX.js} +1 -1
- package/dist/chunks/{referral-Da4mpbd3.js → referral-qe-yqXJE.js} +1 -1
- package/dist/chunks/{refresh-B6X4xb9r.js → refresh-CO_P3WKA.js} +1 -1
- package/dist/chunks/{registerProtocol-D8fFnceq.js → registerProtocol-CClQph00.js} +1 -1
- package/dist/chunks/{registry-y_z3pTg3.js → registry-C0zdU2Hb.js} +1 -1
- package/dist/chunks/{release-notes--tnd4K56.js → release-notes-CyZHxWTF.js} +1 -1
- package/dist/chunks/{releaseNotes-BPA229-J.js → releaseNotes-BtxL5R5Q.js} +2 -2
- package/dist/chunks/{reload-plugins-yQ7tEUVh.js → reload-plugins-B0eR8JHH.js} +1 -1
- package/dist/chunks/{remote-env-CER5UxTX.js → remote-env-B_sIjY87.js} +1 -1
- package/dist/chunks/{remoteBridgeCore-Bi31i8gt.js → remoteBridgeCore-C3WRaLpU.js} +1 -1
- package/dist/chunks/{remoteControlServer-oUAcWB4i.js → remoteControlServer-BOj9qmgH.js} +1 -1
- package/dist/chunks/{rename-BTngRRZU.js → rename-BFAC3WLD.js} +1 -1
- package/dist/chunks/{resume-DZHKfBmm.js → resume-CpivBr9S.js} +1 -1
- package/dist/chunks/{runtimeObserver-B4KekIF0.js → runtimeObserver-C2_7Vsnd.js} +1 -1
- package/dist/chunks/{runtimeObserver-BUOcYxiK.js → runtimeObserver-sOnfVR7t.js} +2 -2
- package/dist/chunks/sandbox-adapter-jX_WzvnK.js +1 -0
- package/dist/chunks/{sandbox-toggle-DLBL7myN.js → sandbox-toggle-Bv68-Ca7.js} +1 -1
- package/dist/chunks/searchExtraTools-xPuOKDpi.js +1 -0
- package/dist/chunks/{sentry-B7ZBc8fA.js → sentry-BBCn6RGP.js} +1 -1
- package/dist/chunks/{session-DWYQk9YN.js → session-DfvxYP8o.js} +1 -1
- package/dist/chunks/{sessionDiscovery-BP0nv36F.js → sessionDiscovery-CyuRBTAm.js} +1 -1
- package/dist/chunks/sessionFileAccessHooks-DiKsr7H7.js +1 -0
- package/dist/chunks/sessionMemory-C34-eFnJ.js +1 -0
- package/dist/chunks/{sessionMemory-pT4lc1C-.js → sessionMemory-kYQnpcyG.js} +1 -1
- package/dist/chunks/sessionMemoryUtils-CcJcgftx.js +1 -0
- package/dist/chunks/sessionObserver-B73s6yu8.js +1 -0
- package/dist/chunks/{sessionObserver-D4SV0Ar3.js → sessionObserver-CTkIYplM.js} +1 -1
- package/dist/chunks/sessionStorage-BHi7PKs-.js +1 -0
- package/dist/chunks/{sessionTitle-CkrnWEW1.js → sessionTitle-ePQRpeV2.js} +1 -1
- package/dist/chunks/{sessionTracing-Caw-kvQr.js → sessionTracing-81-RIJBo.js} +1 -1
- package/dist/chunks/{settingsSync-Dn_lGonC.js → settingsSync-DEFWnE1o.js} +1 -1
- package/dist/chunks/{setup-II1titXI.js → setup-2611vmGJ.js} +1 -1
- package/dist/chunks/{setup-DGkOT4DX.js → setup-BJSk1czd.js} +3 -2
- package/dist/chunks/{setup-Dihjl7jo.js → setup-CTfYsKsz.js} +1 -1
- package/dist/chunks/{shadowedRuleDetection-DASW3j9H.js → shadowedRuleDetection-CGD7Nx03.js} +1 -1
- package/dist/chunks/{sideQuestion-C1qbLTAL.js → sideQuestion-BcP9Mm-5.js} +1 -1
- package/dist/chunks/{sink-CqOAfFlL.js → sink-D_t1TIt9.js} +1 -1
- package/dist/chunks/sink-i8NmYch9.js +1 -0
- package/dist/chunks/sinks-3w0mLszx.js +1 -0
- package/dist/chunks/{sinks-BT_lBY6T.js → sinks-DXsozhmS.js} +2 -2
- package/dist/chunks/{skill-learning-kh0HKn6u.js → skill-learning-CZm2iMik.js} +2 -2
- package/dist/chunks/{skillChangeDetector-DQuNepIV.js → skillChangeDetector-1aFn40GC.js} +1 -1
- package/dist/chunks/{skillGapStore-CFmLJlYm.js → skillGapStore-DzHv8v-D.js} +1 -1
- package/dist/chunks/{skillGapStore-B1gUQXhE.js → skillGapStore-cWo6Ra90.js} +2 -2
- package/dist/chunks/{skillGenerator-DIAwRpPg.js → skillGenerator-D_W1IeP3.js} +2 -2
- package/dist/chunks/skillLearning-Bddmbx8E.js +1 -0
- package/dist/chunks/skillLearning-C-uI_jZB.js +1 -0
- package/dist/chunks/{skillPanel-B9zJLHKV.js → skillPanel-ChmOZu4F.js} +3 -3
- package/dist/chunks/{skillSearchPanel-C1O9sxYS.js → skillSearchPanel-CVx2b4Pr.js} +2 -2
- package/dist/chunks/{skills-C6_3snFY.js → skills-CWX1SydA.js} +1 -1
- package/dist/chunks/{sprites-59l7vF4l.js → sprites-BuvEFwW6.js} +1 -1
- package/dist/chunks/startupProfiler-CBcN1Chw.js +3 -0
- package/dist/chunks/startupProfiler-DtTgsdnI.js +1 -0
- package/dist/chunks/{stats-BmGdg4nj.js → stats-wjMQA-CA.js} +1 -1
- package/dist/chunks/{status-KLPT7uYP.js → status-CyU7IQhO.js} +1 -1
- package/dist/chunks/{statusNoticeHelpers-DuqyBY-N.js → statusNoticeHelpers-JNibsI_v.js} +1 -1
- package/dist/chunks/{tag-0vahEnrx.js → tag-opEEZI5B.js} +1 -1
- package/dist/chunks/{tasks-zVPemGv7.js → tasks-CCtnU5u1.js} +1 -1
- package/dist/chunks/{teamHelpers-CXAmvFco.js → teamHelpers-BJJs8taN.js} +1 -1
- package/dist/chunks/teamHelpers-D41zdxpl.js +1 -0
- package/dist/chunks/{teammateModeSnapshot-CdiglTzv.js → teammateModeSnapshot-CLiiOCkO.js} +1 -1
- package/dist/chunks/teammateModeSnapshot-q-bARbLL.js +1 -0
- package/dist/chunks/{teleport-D6PvdjPy.js → teleport-ClxQigSQ.js} +1 -1
- package/dist/chunks/{templateJobs-Ox5ZTKjW.js → templateJobs-C6D7GC-Q.js} +1 -1
- package/dist/chunks/{terminalSetup-hLCi-2uB.js → terminalSetup-2ioFcRAA.js} +1 -1
- package/dist/chunks/{terminalSetup-Dh70ynBX.js → terminalSetup-B3bN4Cj8.js} +1 -1
- package/dist/chunks/{theme-DxgUVq9C.js → theme-Dgq_Og2P.js} +1 -1
- package/dist/chunks/thinkback-BE8NNmAo.js +1 -0
- package/dist/chunks/{thinkback-DWgU7Qhr.js → thinkback-C43WBHis.js} +1 -1
- package/dist/chunks/{thinkback-play-CDzY6Ux4.js → thinkback-play-D2_n_aoQ.js} +1 -1
- package/dist/chunks/{toolEventObserver-jO6-mlFU.js → toolEventObserver-B7EA-nNa.js} +1 -1
- package/dist/chunks/{toolEventObserver-DPoMAJwr.js → toolEventObserver-BG_3sGCL.js} +1 -1
- package/dist/chunks/toolPool-BLshLuvo.js +1 -0
- package/dist/chunks/{toolPool-Dgn1Clq8.js → toolPool-HYKCHxDA.js} +1 -1
- package/dist/chunks/{trustedDevice-D35gYkBT.js → trustedDevice-DeNxe6bl.js} +1 -1
- package/dist/chunks/{trustedDevice-CYR5AgSB.js → trustedDevice-S34i6Jc9.js} +1 -1
- package/dist/chunks/{tui-DoOiz2RW.js → tui-DcXIK0fP.js} +1 -1
- package/dist/chunks/{ultrareviewCommand-o4GjzoXK.js → ultrareviewCommand-C45bmZqN.js} +1 -1
- package/dist/chunks/undercover-B4sdXe12.js +1 -0
- package/dist/chunks/{undercover-B4xr62Ux.js → undercover-DoUSM8d6.js} +1 -1
- package/dist/chunks/{updateCCB-Cthn50OV.js → updateCCB-BuAm25MX.js} +1 -1
- package/dist/chunks/{upgrade-D4Id4ebd.js → upgrade-BDKg286g.js} +1 -1
- package/dist/chunks/upgrade-BiWGhm2d.js +1 -0
- package/dist/chunks/{upload-BFDXvdfb.js → upload-CMptZXZs.js} +1 -1
- package/dist/chunks/{usage-DxudeFLL.js → usage-Bw_LK9YI.js} +1 -1
- package/dist/chunks/{usage-Csbso5mD.js → usage-DEWsKPXj.js} +1 -1
- package/dist/chunks/{useMainLoopModel-CEqP4HOc.js → useMainLoopModel-D0PmGDuy.js} +1 -1
- package/dist/chunks/{useManagePlugins-BmS3Adja.js → useManagePlugins-B-ejJsXy.js} +1 -1
- package/dist/chunks/{useMergedTools-wR6Bglqq.js → useMergedTools-B6x9qtfj.js} +1 -1
- package/dist/chunks/{useSearchInput-BhKAGgEN.js → useSearchInput-BpMLsxaS.js} +1 -1
- package/dist/chunks/{useSettingsErrors-CjK3P-Ki.js → useSettingsErrors-DUe4k_RK.js} +1 -1
- package/dist/chunks/{useVoice-DP1hHBWA.js → useVoice-C3ryR2HE.js} +1 -1
- package/dist/chunks/{util-CMSErQoz.js → util-DWl5gjmI.js} +1 -1
- package/dist/chunks/utils-DP3EtI6F.js +1 -0
- package/dist/chunks/{validatePlugin-_g0AqWZG.js → validatePlugin-8EMSASvV.js} +1 -1
- package/dist/chunks/{vim-8y-2Q09k.js → vim-CaZ20SrQ.js} +1 -1
- package/dist/chunks/{voice-BJAsr0K-.js → voice-BrnKguEV.js} +1 -1
- package/dist/chunks/{voiceModeEnabled-BD9GZhQ3.js → voiceModeEnabled-3eg8vSqy.js} +1 -1
- package/dist/chunks/voiceModeEnabled-B1ARFTcz.js +1 -0
- package/dist/chunks/voiceStreamSTT-CONK4g-B.js +1 -0
- package/dist/chunks/{voiceStreamSTT-B1T-8adN.js → voiceStreamSTT-D7jWIYwz.js} +1 -1
- package/dist/chunks/{web-tools-DVIvcP41.js → web-tools-BT3TbzG5.js} +1 -1
- package/dist/chunks/{workerRegistry-60_UCyc3.js → workerRegistry-C_i5wwjL.js} +1 -1
- package/dist/chunks/worktree-CFNQKVGn.js +1 -0
- package/dist/chunks/{xml-CTdKuU6f.js → xml-DOXio8vw.js} +1 -1
- package/dist/cli.js +1 -1
- package/package.json +1 -1
- package/dist/chunks/ApproveApiKey-B7_TCGwt.js +0 -1
- package/dist/chunks/ClaudeMdExternalIncludesDialog-DxJK9NiM.js +0 -1
- package/dist/chunks/ConsoleOAuthFlow-LPZ97jsm.js +0 -1
- package/dist/chunks/Doctor-hgf3dMAW.js +0 -1
- package/dist/chunks/Grove-Bwmghb-e.js +0 -1
- package/dist/chunks/Messages-FEBcX-cT.js +0 -11
- package/dist/chunks/REPL-nP7H_-qa.js +0 -1
- package/dist/chunks/RemoteSessionManager-jcPnywfY.js +0 -2
- package/dist/chunks/SearchExtraToolsTool-C64oVFUD.js +0 -1
- package/dist/chunks/SentryErrorBoundary-2E2qGV11.js +0 -1
- package/dist/chunks/api-quOYYOhi.js +0 -1
- package/dist/chunks/assistant-B5_xx00q.js +0 -1
- package/dist/chunks/auth-CjtaiRtF.js +0 -1
- package/dist/chunks/backgroundHousekeeping-D-jt-ocx.js +0 -1
- package/dist/chunks/bridgeConfig-BdZVEqhx.js +0 -1
- package/dist/chunks/bridgeEnabled-DLRIH243.js +0 -1
- package/dist/chunks/bridgeMain-BN0Sag35.js +0 -1
- package/dist/chunks/caches-DMYdTEAr.js +0 -1
- package/dist/chunks/ccshareResume-DKwcd0Vc.js +0 -1
- package/dist/chunks/changeDetector-DoOBZOt1.js +0 -1
- package/dist/chunks/channelNotification-oZ6vG5R5.js +0 -1
- package/dist/chunks/clear-BxdX_MUP.js +0 -1
- package/dist/chunks/client-BSoJ_vaA.js +0 -1
- package/dist/chunks/commands-hyVX9-Lh.js +0 -1
- package/dist/chunks/commitAttribution-BwT0TbYF.js +0 -1
- package/dist/chunks/context-noninteractive-CjuzL9q5.js +0 -1
- package/dist/chunks/conversation-uY-V0SNK.js +0 -1
- package/dist/chunks/createSession-Qurw-N4x.js +0 -1
- package/dist/chunks/crossProjectResume-B6efoIur.js +0 -40
- package/dist/chunks/datadog-C-llbwzP.js +0 -1
- package/dist/chunks/earlyInput-D3OhUZ4G.js +0 -1
- package/dist/chunks/entry-DHN_Gr1b.js +0 -14
- package/dist/chunks/envLessBridgeConfig-CDVtIEWT.js +0 -1
- package/dist/chunks/extra-usage-Dk-wcvAu.js +0 -1
- package/dist/chunks/extractMemories-BP8Opsbp.js +0 -1
- package/dist/chunks/fast-DklfqySb.js +0 -1
- package/dist/chunks/gates-6amRNsYl.js +0 -1
- package/dist/chunks/hooks-BVrhxysz.js +0 -1
- package/dist/chunks/inboundAttachments-DWJplT9p.js +0 -1
- package/dist/chunks/language-Bzp5KDCE.js +0 -1
- package/dist/chunks/loadAgentsDir-CshktEpX.js +0 -1
- package/dist/chunks/localSearch-BtLNJRij.js +0 -1
- package/dist/chunks/login-BngE89_j.js +0 -1
- package/dist/chunks/logout-CXZBaUen.js +0 -1
- package/dist/chunks/model-Bwvn_acH.js +0 -1
- package/dist/chunks/panelCall-DgPjuhQf.js +0 -1
- package/dist/chunks/pluginStartupCheck-cYnLsWOs.js +0 -1
- package/dist/chunks/policyLimits-CFLBtFh3.js +0 -1
- package/dist/chunks/poorMode-CCK7Ek5w.js +0 -1
- package/dist/chunks/projectContext-Cd7V9pES.js +0 -1
- package/dist/chunks/projectContext-Dn7umMp6.js +0 -1
- package/dist/chunks/prompt-BZjXpviP.js +0 -1
- package/dist/chunks/prompt-CusKF4-p.js +0 -1
- package/dist/chunks/sandbox-adapter-C--j-c76.js +0 -1
- package/dist/chunks/searchExtraTools-CBYp5XeI.js +0 -1
- package/dist/chunks/sessionFileAccessHooks-DVilA3Mm.js +0 -1
- package/dist/chunks/sessionMemory-cMgcTxtP.js +0 -1
- package/dist/chunks/sessionMemoryUtils-BgYf2OvX.js +0 -1
- package/dist/chunks/sessionObserver-CzyEF7mg.js +0 -1
- package/dist/chunks/sessionStorage-CXBgVAx-.js +0 -1
- package/dist/chunks/sink-BSPyC453.js +0 -1
- package/dist/chunks/sinks-CpuRIC3H.js +0 -1
- package/dist/chunks/skillLearning-Bxu1Uzl-.js +0 -1
- package/dist/chunks/skillLearning-CxAbHYEk.js +0 -1
- package/dist/chunks/startupProfiler-CAntGAbs.js +0 -3
- package/dist/chunks/startupProfiler-WtUzkMKV.js +0 -1
- package/dist/chunks/teamHelpers-B83RwCCC.js +0 -1
- package/dist/chunks/teammateModeSnapshot-AdUFmPGC.js +0 -1
- package/dist/chunks/thinkback-C5vFU8dM.js +0 -1
- package/dist/chunks/toolPool-BmA-BnAq.js +0 -1
- package/dist/chunks/undercover-nakrQDLh.js +0 -1
- package/dist/chunks/upgrade-DJTCV8sr.js +0 -1
- package/dist/chunks/utils-CAQfwbv8.js +0 -1
- package/dist/chunks/voiceModeEnabled-DZbxaFIg.js +0 -1
- package/dist/chunks/voiceStreamSTT-B39XaGOU.js +0 -1
- package/dist/chunks/worktree-DNK8NprA.js +0 -1
- /package/dist/chunks/{InProcessTransport-B9II3BiO.js → InProcessTransport-DW2ed2Hs.js} +0 -0
- /package/dist/chunks/{PermissionDialog-_WQPRYHQ.js → PermissionDialog-R-Vl4Tk-.js} +0 -0
- /package/dist/chunks/{PressEnterToContinue-BJ58eCFC.js → PressEnterToContinue-BYdiZwYD.js} +0 -0
- /package/dist/chunks/{SearchBox-CkO4rQ-9.js → SearchBox-Bu4gYF0J.js} +0 -0
- /package/dist/chunks/{attributionHooks-VGSpz4mk.js → attributionHooks-COqmxGy1.js} +0 -0
- /package/dist/chunks/{attributionTrailer-C8uqiLIb.js → attributionTrailer-Nx8I_ZRK.js} +0 -0
- /package/dist/chunks/{autoModeDenials-DlO5g6E9.js → autoModeDenials-BDpcFLb7.js} +0 -0
- /package/dist/chunks/{bedrockClient-BUmO2U-X.js → bedrockClient-BfPpXPI0.js} +0 -0
- /package/dist/chunks/{connectHeadless-ByewVfOb.js → connectHeadless-DutPm1RT.js} +0 -0
- /package/dist/chunks/{dangerousBackend-Dkjtndh1.js → dangerousBackend-BDKHrF6i.js} +0 -0
- /package/dist/chunks/{earlyInput-CFYRGxau.js → earlyInput-B3U01GAm.js} +0 -0
- /package/dist/chunks/{files-Bdr_PQyV.js → files-BGuNpYgH.js} +0 -0
- /package/dist/chunks/{fpsMetrics-DKWp7vng.js → fpsMetrics-DH78PzGr.js} +0 -0
- /package/dist/chunks/{fuse-D3B-UE5Y.js → fuse-D7icKomM.js} +0 -0
- /package/dist/chunks/{instinctParser-DOtj1Kni.js → instinctParser-BMtAMLSx.js} +0 -0
- /package/dist/chunks/{lockfile-C3JsqLpb.js → lockfile-DEaq0BaL.js} +0 -0
- /package/dist/chunks/{main-CfkIGrBF.js → main-SFdnVz-G.js} +0 -0
- /package/dist/chunks/{mobile-BMglW1NB.js → mobile-DLGq6g08.js} +0 -0
- /package/dist/chunks/{modalContext-c5Yqx_CQ.js → modalContext-CuTwi_eD.js} +0 -0
- /package/dist/chunks/{observationStore-rLlDwRtG.js → observationStore-Bi1rRKcD.js} +0 -0
- /package/dist/chunks/{openaiShared-C-AuktRP.js → openaiShared-BkVgd2rZ.js} +0 -0
- /package/dist/chunks/{output-style-B64-Zum6.js → output-style-F8fBWFZo.js} +0 -0
- /package/dist/chunks/{parseConnectUrl-DL390ePs.js → parseConnectUrl-CVT_db9n.js} +0 -0
- /package/dist/chunks/{poller-BA1jhG3F.js → poller-DhLgWNxJ.js} +0 -0
- /package/dist/chunks/{renderOptions-Caca3bCd.js → renderOptions-4HxIPoDZ.js} +0 -0
- /package/dist/chunks/{rewind-Djt1zU_3.js → rewind-FKh7loMA.js} +0 -0
- /package/dist/chunks/{sanitization-Ds6zRQyx.js → sanitization-B-JlvWcf.js} +0 -0
- /package/dist/chunks/{server-DONKdvGc.js → server-BsxW1FVq.js} +0 -0
- /package/dist/chunks/{serverBanner-DIyjgIM-.js → serverBanner-DR3GYXpH.js} +0 -0
- /package/dist/chunks/{serverLog-D1N5yx8A.js → serverLog-CH1fCGsD.js} +0 -0
- /package/dist/chunks/{sessionManager-BOmgJd1l.js → sessionManager-mesT4zIQ.js} +0 -0
- /package/dist/chunks/{staticRender-C5v46np_.js → staticRender-DKFIRhkH.js} +0 -0
- /package/dist/chunks/{stickers-DDAm--86.js → stickers-B0P4weWp.js} +0 -0
- /package/dist/chunks/{upstreamproxy-CLf1UaJv.js → upstreamproxy-D-6vdoIJ.js} +0 -0
- /package/dist/chunks/{voice-YtzCcIoM.js → voice-BXg-kzte.js} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
import{n as e,o as t}from"./chunk-DR8-3Aex.js";import{n,t as r}from"./figures-gfT9mM8P.js";import{In as i,Ln as a,Rn as o,b as s,t as c,x as l}from"./src-Di342QoJ.js";import{t as u}from"./jsx-runtime-D-D469L8.js";import{Cn as d,cn as f,g as p}from"./state-sIHsFpDu.js";import{B as m,FA as h,FD as g,ID as _,MA as v,R as y,gT as b,hT as x,jD as S,z as C}from"./loadAgentsDir-
|
|
1
|
+
import{n as e,o as t}from"./chunk-DR8-3Aex.js";import{n,t as r}from"./figures-gfT9mM8P.js";import{In as i,Ln as a,Rn as o,b as s,t as c,x as l}from"./src-Di342QoJ.js";import{t as u}from"./jsx-runtime-D-D469L8.js";import{Cn as d,cn as f,g as p}from"./state-sIHsFpDu.js";import{B as m,FA as h,FD as g,ID as _,MA as v,R as y,gT as b,hT as x,jD as S,z as C}from"./loadAgentsDir-BYWykYwn.js";import{n as w,t as T}from"./AddWorkspaceDirectory-CNyPaerF.js";function E({message:e,args:t,onDone:n}){return(0,O.useEffect)(()=>{let e=setTimeout(n,0);return()=>clearTimeout(e)},[n]),(0,k.jsxs)(l,{flexDirection:`column`,children:[(0,k.jsxs)(s,{dimColor:!0,children:[r.pointer,` /add-dir `,t]}),(0,k.jsx)(x,{children:(0,k.jsx)(s,{children:e})})]})}async function D(e,t,n){let r=(n??``).trim(),a=t.getAppState(),o=async(n,r=!1)=>{let a={type:`addDirectories`,directories:[n],destination:r?`localSettings`:`session`},o=S(t.getAppState().toolPermissionContext,a);t.setAppState(e=>({...e,toolPermissionContext:o}));let s=p();s.includes(n)||d([...s,n]),v.refreshConfig();let c;if(r)try{_(a),c=`Added ${i.bold(n)} as a working directory and saved to local settings`}catch(e){c=`Added ${i.bold(n)} as a working directory. Failed to save to local settings: ${e instanceof Error?e.message:`Unknown error`}`}else c=`Added ${i.bold(n)} as a working directory for this session`;e(`${c} ${i.dim(`· /permissions to manage`)}`)};if(!r)return(0,k.jsx)(T,{permissionContext:a.toolPermissionContext,onAddDirectory:o,onCancel:()=>{e(`Did not add a working directory.`)}});let s=await m(r,a.toolPermissionContext);if(s.resultType!==`success`){let t=y(s);return(0,k.jsx)(E,{message:t,args:n??``,onDone:()=>e(t)})}return(0,k.jsx)(T,{directoryPath:s.absolutePath,permissionContext:a.toolPermissionContext,onAddDirectory:o,onCancel:()=>{e(`Did not add ${i.bold(s.absolutePath)} as a working directory.`)}})}var O,k;e((()=>{a(),n(),O=t(o(),1),f(),b(),w(),c(),g(),h(),C(),k=u()}))();export{D as call};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{n as e}from"./chunk-DR8-3Aex.js";import{Gs as t,Ws as n}from"./paths-
|
|
1
|
+
import{n as e}from"./chunk-DR8-3Aex.js";import{Gs as t,Ws as n}from"./paths-BZjPDxMm.js";import{J_ as r,Y_ as i}from"./loadAgentsDir-BYWykYwn.js";function a(e,t){let n=new Map;for(let e of t)n.set(e.agentType,e);let r=new Set,i=[];for(let t of e){let e=`${t.agentType}:${t.source}`;if(r.has(e))continue;r.add(e);let a=n.get(t.agentType),o=a&&a.source!==t.source?a.source:void 0;i.push({...t,overriddenBy:o})}return i}function o(e){let t=e.model||r();if(t)return t===`inherit`?`inherit`:t}function s(e){return n(e).toLowerCase()}function c(e,t){return e.agentType.localeCompare(t.agentType,void 0,{sensitivity:`base`})}var l,u=e((()=>{i(),t(),l=[{label:`User agents`,source:`userSettings`},{label:`Project agents`,source:`projectSettings`},{label:`Local agents`,source:`localSettings`},{label:`Managed agents`,source:`policySettings`},{label:`Plugin agents`,source:`plugin`},{label:`CLI arg agents`,source:`flagSettings`},{label:`Built-in agents`,source:`built-in`}]}));export{o as a,u as i,c as n,a as o,s as r,l as t};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{n as e,o as t}from"./chunk-DR8-3Aex.js";import{n,s as r}from"./envUtils-BWeoiL4Y.js";import{g as i}from"./client-_sjL0I7A.js";import{n as a,t as o}from"./figures-gfT9mM8P.js";import{In as s,Ln as c,Rn as l,b as u,f as d,g as f,h as p,m,t as h,tt as g,x as _}from"./src-Di342QoJ.js";import{t as v}from"./jsx-runtime-D-D469L8.js";import{Ct as y,cn as b}from"./state-sIHsFpDu.js";import{$o as x,Fa as ee,Gs as S,Ho as te,Ko as C,Na as ne,Ol as re,Qo as ie,Us as ae,a as oe,jc as se,kc as ce,kl as le,s as ue}from"./paths-
|
|
1
|
+
import{n as e,o as t}from"./chunk-DR8-3Aex.js";import{n,s as r}from"./envUtils-BWeoiL4Y.js";import{g as i}from"./client-_sjL0I7A.js";import{n as a,t as o}from"./figures-gfT9mM8P.js";import{In as s,Ln as c,Rn as l,b as u,f as d,g as f,h as p,m,t as h,tt as g,x as _}from"./src-Di342QoJ.js";import{t as v}from"./jsx-runtime-D-D469L8.js";import{Ct as y,cn as b}from"./state-sIHsFpDu.js";import{$o as x,Fa as ee,Gs as S,Ho as te,Ko as C,Na as ne,Ol as re,Qo as ie,Us as ae,a as oe,jc as se,kc as ce,kl as le,s as ue}from"./paths-BZjPDxMm.js";import{B as de,D as fe,E as pe,J as me,U as he}from"./debug-otxXY3j-.js";import{n as ge,r as _e}from"./analytics-DqMQntaB.js";import{n as ve,t as ye}from"./cwd--iizewsn.js";import{t as be}from"./sdk-DEtgRZvI.js";import{o as xe,s as Se}from"./log-DSV4Ht5l.js";import{b as Ce,x as we}from"./teammate-CbskW5G9.js";import{T as Te,b as Ee}from"./startupProfiler-CBcN1Chw.js";import{l as De,n as Oe,o as ke}from"./stringUtils-KZoO4GUd.js";import{$D as Ae,$p as je,BC as Me,Bp as Ne,Cb as Pe,DC as w,Db as Fe,Dp as Ie,EC as T,Eb as Le,Eo as Re,Gp as ze,Jn as Be,K_ as Ve,Kc as He,Kp as Ue,Ky as We,ME as Ge,M_ as Ke,NE as qe,N_ as Je,Op as Ye,Ow as Xe,P_ as Ze,Qo as Qe,Qp as $e,Tb as et,Uk as tt,Uo as nt,Up as rt,VC as it,Wk as at,Wp as ot,Wy as st,Xf as ct,Xp as lt,Xu as ut,Y_ as dt,Yn as ft,Zf as pt,Zp as mt,Zu as ht,aS as gt,ap as _t,c as vt,cD as yt,ck as bt,dS as xt,d_ as St,eO as Ct,fC as wt,fS as Tt,hp as Et,ip as Dt,kw as Ot,l as kt,lC as At,lD as jt,lt as Mt,mT as Nt,mp as Pt,o as Ft,oS as It,op as Lt,pD as Rt,pT as zt,p_ as Bt,q_ as Vt,qc as Ht,qn as Ut,r as Wt,rp as Gt,rt as Kt,s as qt,sD as Jt,st as Yt,t as Xt,tt as Zt,uC as Qt,vu as $t,wb as en,yu as tn,zp as nn}from"./loadAgentsDir-BYWykYwn.js";import{Qn as rn,Zn as an}from"./prompt-BGNhFY1n.js";import{X as on}from"./rcDebugLog-ClX1msJX.js";import{t as E}from"./useKeybinding-DPOUuymz.js";import{n as sn,t as cn}from"./useExitOnCtrlCDWithKeybindings-BHi41Ku_.js";import{r as ln,t as un}from"./TungstenTool-CnAF4y0E.js";import{a as dn,i as fn,n as pn,o as mn,r as hn,t as gn}from"./agentDisplay-DcxzWi1v.js";import{n as _n,t as vn}from"./useMergedTools-B6x9qtfj.js";import{n as yn,r as bn,t as xn}from"./promptEditor-U03qQWbq.js";import{n as Sn,t as Cn}from"./useMainLoopModel-D0PmGDuy.js";import{join as D}from"path";import{mkdir as wn,open as Tn,unlink as En}from"fs/promises";var O,Dn=e((()=>{O={FOLDER_NAME:`.claude`,AGENTS_DIR:`agents`}}));function On(e,t,n,r,i,a,o,s){return`---
|
|
2
2
|
name: ${e}
|
|
3
3
|
description: "${t.replace(/\\/g,`\\\\`).replace(/"/g,`\\"`).replace(/\n/g,`\\\\n`)}"${n===void 0||n.length===1&&n[0]===`*`?``:`\ntools: ${n.join(`, `)}`}${a?`\nmodel: ${a}`:``}${s===void 0?``:`\neffort: ${s}`}${i?`\ncolor: ${i}`:``}${o?`\nmemory: ${o}`:``}
|
|
4
4
|
---
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{n as e,t}from"./cwd--iizewsn.js";import{i as n,o as r,r as i}from"./loadAgentsDir-
|
|
1
|
+
import{n as e,t}from"./cwd--iizewsn.js";import{i as n,o as r,r as i}from"./loadAgentsDir-BYWykYwn.js";import{a,i as o,n as s,o as c,r as l,t as u}from"./agentDisplay-DcxzWi1v.js";o(),r(),e();function d(e){let t=a(e),n=[e.agentType];return t&&n.push(t),e.memory&&n.push(`${e.memory} memory`),n.join(` · `)}async function f(){let{allAgents:e}=await n(t()),r=c(e,i(e)),a=[],o=0;for(let{label:e,source:t}of u){let n=r.filter(e=>e.source===t).sort(s);if(n.length!==0){a.push(`${e}:`);for(let e of n)if(e.overriddenBy){let t=l(e.overriddenBy);a.push(` (shadowed by ${t}) ${d(e)}`)}else a.push(` ${d(e)}`),o++;a.push(``)}}a.length===0?console.log(`No agents found.`):(console.log(`${o} active agents\n`),console.log(a.join(`
|
|
2
2
|
`).trimEnd()))}export{f as agentsHandler};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{H as e,I as t,N as n,O as r,P as i,j as a}from"./teamHelpers-
|
|
1
|
+
import{H as e,I as t,N as n,O as r,P as i,j as a}from"./teamHelpers-BJJs8taN.js";import{s as o,u as s}from"./logoV2Utils-CPNvLtol.js";i(),s();var c=`default`;async function l(e,t){let n=await r(t.list||c,{subject:e,description:t.description||``,status:`pending`,blocks:[],blockedBy:[]});console.log(`Created task ${n}: ${e}`)}async function u(e){let n=await t(e.list||c);if(e.pending&&(n=n.filter(e=>e.status===`pending`)),e.json){console.log(JSON.stringify(n,null,2));return}if(n.length===0){console.log(`No tasks found.`);return}for(let e of n)console.log(` [${e.status}] ${e.id}: ${e.subject}`),e.description&&console.log(` ${e.description}`),e.owner&&console.log(` owner: ${e.owner}`)}async function d(e,t){let n=await a(t.list||c,e);if(!n){console.error(`Task not found: ${e}`),process.exitCode=1;return}console.log(JSON.stringify(n,null,2))}async function f(t,n){let r=n.list||c,i={};n.status&&(i.status=n.status),n.subject&&(i.subject=n.subject),n.description&&(i.description=n.description),n.owner&&(i.owner=n.owner),n.clearOwner&&(i.owner=void 0);let a=await e(r,t,i);if(!a){console.error(`Task not found: ${t}`),process.exitCode=1;return}console.log(`Updated task ${t}: [${a.status}] ${a.subject}`)}async function p(e){let t=e.list||c;console.log(n(t))}async function m(e){let t=await o();if(e===void 0){if(t.length===0){console.log(`No recent sessions.`);return}for(let e=0;e<Math.min(t.length,20);e++){let n=t[e],r=n.modified?new Date(n.modified).toLocaleString():`unknown`,i=n.title||n.sessionId||`untitled`;console.log(` ${e}: ${i} (${r})`)}return}let n=typeof e==`string`?parseInt(e,10):e,r=Number.isFinite(n)&&n>=0&&n<t.length?t[n]:t.find(t=>t.sessionId===String(e));if(!r){console.error(`Session not found: ${e}`),process.exitCode=1;return}console.log(JSON.stringify(r,null,2))}async function h(e){let t=await o(),n=e??5;console.log(`Last ${n} sessions:`);for(let e=0;e<Math.min(n,t.length);e++){let n=t[e],r=n.modified?new Date(n.modified).toLocaleString():`unknown`;console.log(` ${e}: ${n.sessionId} (${r})`)}}async function g(e,t){let{writeFile:n,readFile:r}=await import(`fs/promises`),i=await o(),a=parseInt(e,10),s;if(s=Number.isFinite(a)&&a>=0&&a<i.length?i[a]:i.find(t=>t.sessionId===e),!s)try{await n(t,await r(e,`utf-8`),`utf-8`),console.log(`Exported ${e} → ${t}`);return}catch{console.error(`Source not found: ${e}`),process.exitCode=1;return}await n(t,JSON.stringify(s,null,2),`utf-8`),console.log(`Exported session ${s.sessionId} → ${t}`)}async function _(e,t,n){let{regenerateCompletionCache:r}=await import(`./completionCache-BQgiR45Q.js`);t.output,await r(),console.log(`Completion cache regenerated for ${e}.`)}export{_ as completionHandler,h as errorHandler,g as exportHandler,m as logHandler,l as taskCreateHandler,p as taskDirHandler,d as taskGetHandler,u as taskListHandler,f as taskUpdateHandler};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as e,n as t,o as n}from"./api-hcsOinLV.js";n();export{t as fetchCodeSessionsFromSessionsAPI,e as getOAuthHeaders};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{n as e}from"./chunk-DR8-3Aex.js";import{n as t,t as n}from"./axios-DhfaybwJ.js";import{n as r,t as i}from"./v4-f1i_CNUT.js";import{Jt as a,dc as o,la as s,on as c,ua as l,yc as u}from"./paths-
|
|
1
|
+
import{n as e}from"./chunk-DR8-3Aex.js";import{n as t,t as n}from"./axios-DhfaybwJ.js";import{n as r,t as i}from"./v4-f1i_CNUT.js";import{Jt as a,dc as o,la as s,on as c,ua as l,yc as u}from"./paths-BZjPDxMm.js";import{E as d,J as f,O as p,U as m,l as h,p as g,z as _}from"./debug-otxXY3j-.js";import{l as v,u as y}from"./oauth-CdZEzMww.js";import{o as b,s as x}from"./log-DSV4Ht5l.js";import{n as S,t as C}from"./lazySchema-B0QShMaQ.js";import{n as w,t as T}from"./sleep-C6koP5Ka.js";import{a as E,o as D}from"./detectRepository-2ICvGD0U.js";import{randomUUID as O}from"crypto";function k(e){return t.isAxiosError(e)?!e.response||e.response.status>=500:!1}async function A(e,n){let r;for(let i=0;i<=V;i++)try{return await t.get(e,n)}catch(e){if(r=e,!k(e))throw e;if(i>=V)throw g(`Teleport request failed after ${i+1} attempts: ${_(e)}`),e;let t=B[i]??2e3;g(`Teleport request failed (attempt ${i+1}/${V+1}), retrying in ${t}ms: ${_(e)}`),await w(t)}throw r}function j(e){return e===null||typeof e==`string`&&e.trim()===``}async function M(){let e=o(),t=process.env.ANTHROPIC_API_KEY?.trim()||e.workspaceApiKey?.trim();if(!t){let t=e.workspaceApiKey,n=j(t)?`Your workspace API key was cleared. `:`A workspace API key (sk-ant-api03-*) is required to use workspace endpoints (/v1/agents, /v1/vaults, /v1/memory_stores, /v1/skills). `;throw Error(n+`Press W in /login to save your key directly (no restart needed), or set ANTHROPIC_API_KEY=<key> and restart. Obtain a key from https://console.anthropic.com/settings/keys. Subscription OAuth (claude.ai login) cannot reach these endpoints.`)}if(!t.startsWith(`sk-ant-api03-`))throw Error(`Workspace API key must start with sk-ant-api03-, got prefix "${t.slice(0,4)}...". Obtain a workspace API key from https://console.anthropic.com/settings/keys. Press W in /login to save your key, or set ANTHROPIC_API_KEY.`);return{apiKey:t}}async function N(){let e=a()?.accessToken;if(e===void 0)throw Error(`Claude Code web sessions require authentication with a Claude.ai account. API key authentication is not sufficient. Please run /login to authenticate, or check your authentication status with /status.`);let t=await s();if(!t)throw Error(`Unable to get organization UUID`);return{accessToken:e,orgUUID:t}}async function P(){let{accessToken:e,orgUUID:t}=await N(),n=`${v().BASE_API_URL}/v1/sessions`;try{let r=await A(n,{headers:{...F(e),"anthropic-beta":`ccr-byoc-2025-07-29`,"x-organization-uuid":t}});if(r.status!==200)throw Error(`Failed to fetch code sessions: ${r.statusText}`);return r.data.data.map(e=>{let t=e.session_context.sources.find(e=>e.type===`git_repository`),n=null;if(t?.url){let e=D(t.url);if(e){let[r,i]=e.split(`/`);r&&i&&(n={name:i,owner:{login:r},default_branch:t.revision||void 0})}}return{id:e.id,title:e.title||`Untitled`,description:``,status:e.session_status,repo:n,turns:[],created_at:e.created_at,updated_at:e.updated_at}})}catch(e){throw x(f(e)),e}}function F(e){return{Authorization:`Bearer ${e}`,"Content-Type":`application/json`,"anthropic-version":`2023-06-01`}}async function I(e){let{accessToken:n,orgUUID:r}=await N(),i=`${v().BASE_API_URL}/v1/sessions/${e}`,a={...F(n),"anthropic-beta":`ccr-byoc-2025-07-29`,"x-organization-uuid":r},o=await t.get(i,{headers:a,timeout:15e3,validateStatus:e=>e<500});if(o.status!==200){let t=o.data?.error?.message;throw o.status===404?Error(`Session not found: ${e}`):o.status===401?Error(`Session expired. Please run /login to sign in again.`):Error(t||`Failed to fetch session: ${o.status} ${o.statusText}`)}return o.data}function L(e){return(e.session_context.outcomes?.find(e=>e.type===`git_repository`))?.git_info?.branches[0]}async function R(e,n,r){try{let{accessToken:i,orgUUID:a}=await N(),o=`${v().BASE_API_URL}/v1/sessions/${e}/events`,s={...F(i),"anthropic-beta":`ccr-byoc-2025-07-29`,"x-organization-uuid":a},c={events:[{uuid:r?.uuid??O(),session_id:e,type:`user`,parent_tool_use_id:null,message:{role:`user`,content:n}}]};g(`[sendEventToRemoteSession] Sending event to session ${e}`);let l=await t.post(o,c,{headers:s,validateStatus:e=>e<500,timeout:3e4});return l.status===200||l.status===201?(g(`[sendEventToRemoteSession] Successfully sent event to session ${e}`),!0):(g(`[sendEventToRemoteSession] Failed with status ${l.status}: ${p(l.data)}`),!1)}catch(e){return g(`[sendEventToRemoteSession] Error: ${_(e)}`),!1}}async function z(e,n){try{let{accessToken:r,orgUUID:i}=await N(),a=`${v().BASE_API_URL}/v1/sessions/${e}`,o={...F(r),"anthropic-beta":`ccr-byoc-2025-07-29`,"x-organization-uuid":i};g(`[updateSessionTitle] Updating title for session ${e}: "${n}"`);let s=await t.patch(a,{title:n},{headers:o,validateStatus:e=>e<500});return s.status===200?(g(`[updateSessionTitle] Successfully updated title for session ${e}`),!0):(g(`[updateSessionTitle] Failed with status ${s.status}: ${p(s.data)}`),!1)}catch(e){return g(`[updateSessionTitle] Error: ${_(e)}`),!1}}var B,V,H=e((()=>{n(),y(),l(),i(),c(),u(),h(),E(),m(),C(),b(),T(),d(),B=[2e3,4e3,8e3,16e3],V=B.length,S(()=>r.object({id:r.string(),title:r.string(),description:r.string(),status:r.enum([`idle`,`working`,`waiting`,`completed`,`archived`,`cancelled`,`rejected`]),repo:r.object({name:r.string(),owner:r.object({login:r.string()}),default_branch:r.string().optional()}).nullable(),turns:r.array(r.string()),created_at:r.string(),updated_at:r.string()}))}));export{F as a,j as c,R as d,z as f,L as i,N as l,P as n,H as o,I as r,k as s,A as t,M as u};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{n as e,o as t}from"./chunk-DR8-3Aex.js";import{Rn as n,b as r,t as i,tn as a,x as o,xt as s}from"./src-Di342QoJ.js";import{t as c}from"./jsx-runtime-D-D469L8.js";import{n as l,t as u}from"./browser-Bt-ckCaU.js";import{basename as d}from"path";function f({artifacts:e,onExit:t}){let[n,i]=m.useState(0);return s((r,o)=>{if(r===`q`||o.escape){t();return}if(e.length!==0){if(o.upArrow){i(t=>(t-1+e.length)%e.length);return}if(o.downArrow){i(t=>(t+1)%e.length);return}if(o.return){let t=e[n];t.url&&l(t.url);return}if(r===`c`){let t=e[n];t.url&&a(t.url).then(e=>{e&&process.stdout.write(e)})}}}),(0,h.jsxs)(o,{flexDirection:`column`,paddingX:1,paddingY:0,children:[(0,h.jsx)(o,{marginBottom:1,children:(0,h.jsxs)(r,{bold:!0,children:[`Artifacts (`,e.length,`)`]})}),e.length===0?(0,h.jsx)(r,{color:`subtle`,children:`No artifacts uploaded this session. Run /use-artifacts to learn how.`}):(0,h.jsxs)(o,{flexDirection:`column`,children:[e.map((e,t)=>(0,h.jsx)(p,{artifact:e,isSelected:t===n},e.toolUseId)),(0,h.jsx)(o,{marginTop:1,children:(0,h.jsx)(r,{color:`subtle`,children:`↑/↓ select · Enter open · c copy URL · Esc exit`})})]})]})}function p({artifact:e,isSelected:t}){return(0,h.jsxs)(o,{flexDirection:`column`,children:[(0,h.jsxs)(o,{children:[(0,h.jsxs)(r,{color:t?`suggestion`:void 0,children:[t?`›`:` `,` `]}),(0,h.jsx)(r,{bold:t,color:e.isError?`error`:void 0,children:e.basename}),e.hash?(0,h.jsxs)(r,{color:`subtle`,children:[` (`,e.hash,`)`]}):null]}),e.url?(0,h.jsx)(o,{marginLeft:2,children:(0,h.jsx)(r,{color:`background`,children:e.url})}):(0,h.jsx)(o,{marginLeft:2,children:(0,h.jsx)(r,{color:`error`,children:e.rawContent})}),e.expiresAt?(0,h.jsx)(o,{marginLeft:2,children:(0,h.jsxs)(r,{color:`subtle`,children:[`expires: `,e.expiresAt]})}):null]})}var m,h,g=e((()=>{m=t(n(),1),i(),u(),h=c()}));function _(e){let t=[];for(let n of e){if(n.type!==`assistant`)continue;let r=n.message?.content;if(Array.isArray(r))for(let n of r){if(typeof n!=`object`||!n||!(`type`in n))continue;let r=n;if(r.type!==`tool_use`||r.name!==`artifact`)continue;let i=r.id,a=r.input?.file_path??`<unknown>`,o=v(e,i);if(!o)continue;let s=typeof o.content==`string`?o.content:Array.isArray(o.content)?o.content.map(e=>typeof e==`string`?e:`text`in e?e.text:``).join(``):``,c=o.is_error===!0,l=s.match(y),u=s.match(b),f=s.match(x);t.push({toolUseId:i,filePath:a,basename:d(a),hash:u?.[1],url:l?.[0],expiresAt:f?.[1],rawContent:s,isError:c})}}return t.reverse()}function v(e,t){for(let n of e){if(n.type!==`user`)continue;let e=n.message?.content;if(Array.isArray(e))for(let n of e){if(typeof n!=`object`||!n||!(`type`in n))continue;let e=n;if(e.type===`tool_result`&&e.tool_use_id===t)return{content:e.content,is_error:e.is_error}}}return null}var y,b,x,S=e((()=>{y=/https?:\/\/[^\s)"',]+\.html\b/,b=/\bid:\s*([A-Za-z0-9_-]+)/,x=/\bexpires:\s*([0-9T:.Z+-]+)/}));async function C(e,t){return(0,w.jsx)(f,{artifacts:_(t.messages??[]),onExit:e})}var w;e((()=>{n(),g(),S(),w=c()}))();export{C as call};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{n as e,r as t}from"./chunk-DR8-3Aex.js";import{n,s as r}from"./envUtils-BWeoiL4Y.js";import{Ct as i,K as a,cn as o}from"./state-sIHsFpDu.js";import{n as s,t as c}from"./cwd--iizewsn.js";import{Bd as l,Vd as u,ab as d,ob as f}from"./loadAgentsDir-
|
|
1
|
+
import{n as e,r as t}from"./chunk-DR8-3Aex.js";import{n,s as r}from"./envUtils-BWeoiL4Y.js";import{Ct as i,K as a,cn as o}from"./state-sIHsFpDu.js";import{n as s,t as c}from"./cwd--iizewsn.js";import{Bd as l,Vd as u,ab as d,ob as f}from"./loadAgentsDir-BYWykYwn.js";import{A as p,B as m,P as h,R as g,a as _,c as v,i as y,p as b,y as x}from"./teamHelpers-BJJs8taN.js";import{a as S,c as C}from"./constants-BljlAJOX.js";import{join as w}from"path";import{readFileSync as T}from"fs";var E=t({getAssistantActivationPath:()=>M,getAssistantSystemPromptAddendum:()=>j,initializeAssistantTeam:()=>A,isAssistantForced:()=>k,isAssistantMode:()=>D,markAssistantForced:()=>O});function D(){return a()}function O(){N=!0}function k(){return N}async function A(){let e=i(),t=b(`assistant-${e.slice(0,8)}`),n=d(S,t),r=y(t),a=Date.now(),o=c(),s=l(n);return await x(t,{name:t,description:`Assistant mode in-process team`,createdAt:a,leadAgentId:n,leadSessionId:e,members:[{agentId:n,name:S,agentType:`assistant`,color:s,joinedAt:a,tmuxPaneId:``,cwd:o,subscriptions:[],backendType:`in-process`}]}),v(t),await g(t),await p(t),m(t),{teamName:t,teamFilePath:r,leadAgentId:n,selfAgentId:n,selfAgentName:S,isLeader:!0,selfAgentColor:s,teammates:{[n]:{name:S,agentType:`assistant`,color:s,tmuxSessionName:`in-process`,tmuxPaneId:`leader`,cwd:o,spawnedAt:a}}}}function j(){try{return T(w(n(),`agents`,`assistant.md`),`utf-8`)}catch{return``}}function M(){if(D())return N?`daemon`:`gate`}var N,P=e((()=>{o(),f(),s(),r(),C(),_(),u(),h(),N=!1}));export{A as a,O as c,P as i,M as n,k as o,j as r,D as s,E as t};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{i as e,s as t}from"./assistant-CemNvrYr.js";e();export{t as isAssistantMode};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{n as e,o as t}from"./chunk-DR8-3Aex.js";import{Rn as n,b as r,d as i,f as a,nt as o,t as s,x as c}from"./src-Di342QoJ.js";import{t as l}from"./jsx-runtime-D-D469L8.js";import{K as u,Kn as d,cn as f}from"./state-sIHsFpDu.js";import{r as p,v as m}from"./git-C0IuvuIy.js";import{sS as h,uS as g}from"./loadAgentsDir-
|
|
1
|
+
import{n as e,o as t}from"./chunk-DR8-3Aex.js";import{Rn as n,b as r,d as i,f as a,nt as o,t as s,x as c}from"./src-Di342QoJ.js";import{t as l}from"./jsx-runtime-D-D469L8.js";import{K as u,Kn as d,cn as f}from"./state-sIHsFpDu.js";import{r as p,v as m}from"./git-C0IuvuIy.js";import{sS as h,uS as g}from"./loadAgentsDir-BYWykYwn.js";import{t as _}from"./useKeybinding-DPOUuymz.js";import{t as v}from"./Dialog-91X6ZGg9.js";import{t as y}from"./ListItem-DCQhApdJ.js";import{i as b,o as x,t as S}from"./cliLaunch-Citfs01Q.js";import{resolve as C}from"path";async function w(){let e=process.cwd();return p(e)||C(e)}function T({defaultDir:e,onInstalled:t,onCancel:n,onError:s}){g(`assistant-install-wizard`);let[l,u]=(0,D.useState)(0),[d,f]=(0,D.useState)(!1);o({"select:next":()=>u(e=>(e+1)%2),"select:previous":()=>u(e=>(e-1+2)%2),"select:accept":()=>{l===0?p():n()}},{context:`Select`});function p(){if(d)return;f(!0);let n=e||C(`.`);try{let e=x(S([`daemon`,`start`,`--dir=${n}`]),{cwd:n,stdio:`ignore`,detached:!0});e.unref(),e.on(`error`,e=>{s(`Failed to start daemon: ${e.message}`)}),setTimeout(()=>{t(n)},1500)}catch(e){s(`Failed to start daemon: ${e instanceof Error?e.message:String(e)}`)}}return d?(0,O.jsx)(a,{title:`Assistant Setup`,onCancel:n,hideInputGuide:!0,children:(0,O.jsxs)(r,{children:[`Starting daemon in `,e,`...`]})}):(0,O.jsx)(a,{title:`Assistant Setup`,onCancel:n,hideInputGuide:!0,children:(0,O.jsxs)(c,{flexDirection:`column`,gap:1,children:[(0,O.jsx)(r,{children:`No active assistant sessions found.`}),(0,O.jsxs)(r,{children:[`Start a daemon in `,(0,O.jsx)(r,{bold:!0,children:e||`.`}),` to create a cloud session?`]}),(0,O.jsxs)(c,{flexDirection:`column`,children:[(0,O.jsx)(i,{isFocused:l===0,children:(0,O.jsx)(r,{children:`Start assistant daemon`})}),(0,O.jsx)(i,{isFocused:l===1,children:(0,O.jsx)(r,{children:`Cancel`})})]}),(0,O.jsx)(r,{dimColor:!0,children:`Enter to select · Esc to cancel`})]})})}async function E(e,t,n){let{setAppState:r,getAppState:i}=t;return u()?(i().assistantPanelVisible?(r(e=>({...e,assistantPanelVisible:!1})),e(`Assistant panel hidden.`,{display:`system`})):(r(e=>({...e,assistantPanelVisible:!0})),e(`Assistant panel opened.`,{display:`system`})),null):(d(!0),r(e=>({...e,kairosEnabled:!0,assistantPanelVisible:!0})),e(`KAIROS assistant mode activated.`,{display:`system`}),null)}var D,O;e((()=>{n(),D=t(n(),1),s(),v(),y(),h(),_(),m(),b(),f(),O=l()}))();export{T as NewInstallWizard,E as call,w as computeDefaultInstallDir};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{Jb as e,Kb as t,Yb as n,qb as r}from"./loadAgentsDir-BYWykYwn.js";n();export{t as authLogin,r as authLogout,e as authStatus};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{Jt as e,Pt as t,cn as n,nn as r,on as i,zt as a}from"./paths-
|
|
1
|
+
import{Jt as e,Pt as t,cn as n,nn as r,on as i,zt as a}from"./paths-BZjPDxMm.js";i();export{t as checkAndRefreshOAuthTokenIfNeeded,a as clearOAuthTokenCache,e as getClaudeAIOAuthTokens,r as handleOAuth401Error,n as isAnthropicAuthEnabled};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{Br as e,Dr as t,Ga as n,Mr as r,Pr as i,oo as a}from"./paths-
|
|
1
|
+
import{Br as e,Dr as t,Ga as n,Mr as r,Pr as i,oo as a}from"./paths-BZjPDxMm.js";import{E as o,O as s,U as c,z as l}from"./debug-otxXY3j-.js";import{F_ as u,I_ as d,L_ as f,R_ as p,z_ as m}from"./loadAgentsDir-BYWykYwn.js";import{n as h,t as g}from"./poorMode-CFRuV-nB.js";c(),i(),f(),a(),g(),p(),o();function _(e){process.stdout.write(s(e,null,2)+`
|
|
2
2
|
`)}function v(){_(d())}function y(){let e=n(),t=d();_({allow:e?.allow?.length?e.allow:t.allow,soft_deny:e?.soft_deny?.length?e.soft_deny:t.soft_deny,environment:e?.environment?.length?e.environment:t.environment})}var b=`You are an expert reviewer of auto mode classifier rules for Claude Code.
|
|
3
3
|
|
|
4
4
|
Claude Code has an "auto mode" that uses an AI classifier to decide whether tool calls should be auto-approved or require user confirmation. Users can write custom rules in three categories:
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as e,c as t,i as n,m as r,n as i,o as a,r as o,t as s}from"./autonomy-
|
|
1
|
+
import{a as e,c as t,i as n,m as r,n as i,o as a,r as o,t as s}from"./autonomy-DPeEmb00.js";r();export{s as autonomyFlowCancelHandler,i as autonomyFlowHandler,o as autonomyFlowResumeHandler,n as autonomyFlowsHandler,e as autonomyRunsHandler,a as autonomyStatusHandler,t as getAutonomyCommandText};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{n as e}from"./chunk-DR8-3Aex.js";import{i as t,s as n}from"./envUtils-BWeoiL4Y.js";import{cn as r,ut as i}from"./state-sIHsFpDu.js";import{s as a,u as ee}from"./types-KeqFPzY5.js";import{AO as te,BO as ne,CO as o,D as re,EO as s,FO as c,KO as ie,MO as ae,NO as l,OO as u,PO as d,S as f,SO as p,TO as m,ZO as oe,bf as se,jO as h,kO as ce,vf as le,w as ue,wO as g,yf as de}from"./loadAgentsDir-
|
|
1
|
+
import{n as e}from"./chunk-DR8-3Aex.js";import{i as t,s as n}from"./envUtils-BWeoiL4Y.js";import{cn as r,ut as i}from"./state-sIHsFpDu.js";import{s as a,u as ee}from"./types-KeqFPzY5.js";import{AO as te,BO as ne,CO as o,D as re,EO as s,FO as c,KO as ie,MO as ae,NO as l,OO as u,PO as d,S as f,SO as p,TO as m,ZO as oe,bf as se,jO as h,kO as ce,vf as le,w as ue,wO as g,yf as de}from"./loadAgentsDir-BYWykYwn.js";import{G as fe,U as pe,V as me}from"./prompt-BGNhFY1n.js";import{n as he,r as _}from"./cron-DwR6OJuW.js";import{I as v,P as y}from"./teamHelpers-BJJs8taN.js";import{a as b,n as x,o as S,t as C}from"./bridgeConfig-l6Ldi_hk.js";import{i as w,o as T}from"./bg-DgpgS_VU.js";import{n as E,t as D}from"./state-BiRT9RAF.js";import{a as O,i as k,n as A,r as j}from"./pipeTransport-uK7GxbSG.js";import{join as M}from"path";import"crypto";import{readFile as N,readdir as P}from"fs/promises";function F(e){return typeof e==`object`&&!!e&&!Array.isArray(e)}function I(e){return typeof e==`string`&&H.includes(e)}function L(e){return typeof e==`string`&&U.includes(e)}function R(e){return!F(e)||typeof e.name!=`string`||!L(e.status)?null:{name:e.name,...typeof e.prompt==`string`?{prompt:e.prompt}:{},status:e.status,...typeof e.startedAt==`number`?{startedAt:e.startedAt}:{},...typeof e.completedAt==`number`?{completedAt:e.completedAt}:{}}}function ge(e){if(!F(e)||typeof e.runId!=`string`||typeof e.workflow!=`string`||!I(e.status)||typeof e.createdAt!=`number`||typeof e.updatedAt!=`number`||typeof e.currentStepIndex!=`number`||!Array.isArray(e.steps))return null;let t=e.steps.map(R).filter(e=>e!==null);return t.length===e.steps.length?{runId:e.runId,workflow:e.workflow,...typeof e.args==`string`?{args:e.args}:{},status:e.status,createdAt:e.createdAt,updatedAt:e.updatedAt,currentStepIndex:e.currentStepIndex,steps:t}:null}async function _e(e,t){try{return ge(ee(await N(M(e,B,`${t}.json`),`utf-8`),!1))}catch{return null}}async function ve(e=i()){let t;try{t=await P(M(e,B))}catch{return[]}let n=t.filter(e=>e.endsWith(`.json`));return(await Promise.all(n.slice(0,V).map(t=>_e(e,t.slice(0,-5))))).filter(e=>e!==null).sort((e,t)=>t.updatedAt-e.updatedAt)}function z(e){if(e.length===0)return[`Workflow runs: 0`,` none`].join(`
|
|
2
2
|
`);let t=e.filter(e=>e.status===`running`).length,n=e.filter(e=>e.status===`completed`).length,r=e.filter(e=>e.status===`cancelled`).length,i=[`Workflow runs: ${e.length}`,` Running: ${t}`,` Completed: ${n}`,` Cancelled: ${r}`];for(let t of e.slice(0,10)){let e=t.steps[t.currentStepIndex];i.push(` ${t.runId}: ${t.workflow}: ${t.status} step=${e?.name??`none`} updated=${new Date(t.updatedAt).toLocaleString()}`)}return e.length>10&&i.push(` ... ${e.length-10} more workflow run(s)`),i.join(`
|
|
3
3
|
`)}var B,V,H,U,ye=e((()=>{r(),a(),B=M(`.claude`,`workflow-runs`),V=200,H=[`running`,`completed`,`cancelled`],U=[`pending`,`running`,`completed`,`cancelled`]}));function be(){return M(A(),`registry.json`)}async function xe(){try{let e=await N(be(),`utf8`),t=JSON.parse(e);return t.version===1?t:{...W}}catch{return{...W}}}var W,Se=e((()=>{j(),W={version:1,mainMachineId:null,main:null,subs:[]}}));async function Ce(){return we(await xe())}function we(e){let t=[`Pipe registry: ${+!!e.main} main, ${e.subs.length} sub(s)`];e.mainMachineId&&t.push(` main_machine=${e.mainMachineId.slice(0,8)}...`),e.main&&t.push(` [main] ${e.main.pipeName} pid=${e.main.pid} host=${e.main.hostname} tcp=${e.main.tcpPort??`none`}`);for(let n of e.subs.slice(0,10))t.push(` [sub-${n.subIndex}] ${n.pipeName} pid=${n.pid} host=${n.hostname} bound=${n.boundToMain??`none`} tcp=${n.tcpPort??`none`}`);return!e.main&&e.subs.length===0&&t.push(` none`),e.subs.length>10&&t.push(` ... ${e.subs.length-10} more sub pipe(s)`),t.join(`
|
|
4
4
|
`)}var Te=e((()=>{Se()}));function Ee(){try{let e=S(),t=C();return[`Remote Control: ${e?`self-hosted`:`official`}`,` base_url=${x()}`,` token=${t?`present`:`missing`}`,` entitlement=checked at remote-control startup`].join(`
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{n as e,o as t}from"./chunk-DR8-3Aex.js";import{Rn as n,b as r,f as i,t as a,x as o,xt as s}from"./src-Di342QoJ.js";import{t as c}from"./jsx-runtime-D-D469L8.js";import{NO as l,PO as u,sS as d,uS as f}from"./loadAgentsDir-
|
|
1
|
+
import{n as e,o as t}from"./chunk-DR8-3Aex.js";import{Rn as n,b as r,f as i,t as a,x as o,xt as s}from"./src-Di342QoJ.js";import{t as c}from"./jsx-runtime-D-D469L8.js";import{NO as l,PO as u,sS as d,uS as f}from"./loadAgentsDir-BYWykYwn.js";import{c as p,l as m,m as h,p as g}from"./autonomy-DPeEmb00.js";function _(){return S}function v({onDone:e}){f(`autonomy-panel`);let[t,n]=(0,b.useState)(0),[a,c]=(0,b.useState)([]);(0,b.useEffect)(()=>{let e=!1;return u().then(t=>{e||c(t.slice(0,5))}),()=>{e=!0}},[]);let l=(0,b.useMemo)(()=>{let e=[{label:`Overview`,description:`Show run and flow counts plus the latest automatic activity`,run:()=>g()},{label:`Full deep status`,description:`Print every local autonomy surface in one diagnostic report`,run:()=>g({deep:!0})},{label:`Auto mode`,description:`Check whether auto permission mode is available and why`,run:()=>m(`auto-mode`)},{label:`Runs summary`,description:`Show queued/running/completed/failed run totals and latest run`,run:()=>m(`runs`)},{label:`Recent runs`,description:`List recent autonomy run IDs, triggers, statuses, and prompts`,run:()=>p(`runs 10`)},{label:`Flows summary`,description:`Show managed flow totals across queued/running/waiting states`,run:()=>m(`flows`)},{label:`Recent flows`,description:`List recent managed flow IDs, status, current step, and goal`,run:()=>p(`flows 10`)},{label:`Cron`,description:`Show scheduled autonomy jobs, durability, recurrence, and next run`,run:()=>m(`cron`)},{label:`Workflow runs`,description:`Show persisted WorkflowTool runs and their current workflow step`,run:()=>m(`workflow-runs`)},{label:`Teams`,description:`Show Agent Teams, teammate backends, activity, and open tasks`,run:()=>m(`teams`)},{label:`Pipes`,description:`Show UDS/named-pipe and LAN registry for terminal messaging`,run:()=>m(`pipes`)},{label:`Runtime`,description:`Show daemon state and live background or interactive sessions`,run:()=>m(`runtime`)},{label:`Remote Control`,description:`Show bridge mode, base URL, token presence, and entitlement note`,run:()=>m(`remote-control`)},{label:`RemoteTrigger`,description:`Show recent remote trigger audit records, failures, and latest call`,run:()=>m(`remote-trigger`)}],t=a.flatMap(e=>{let t=e.flowId.slice(0,8),n=[{label:`Flow ${t}`,description:`${e.status}: ${e.goal}`,run:()=>p(`flow ${e.flowId}`)}];return e.status===`waiting`&&n.push({label:`Resume ${t}`,description:e.currentStep?`Resume waiting step: ${e.currentStep}`:`Resume waiting flow`,run:()=>p(`flow resume ${e.flowId}`,{enqueueInMemory:!0})}),(e.status===`queued`||e.status===`running`||e.status===`waiting`||e.status===`blocked`)&&n.push({label:`Cancel ${t}`,description:`Cancel ${e.status} flow`,run:()=>p(`flow cancel ${e.flowId}`,{removeQueuedInMemory:!0})}),n});return[...e,...t]},[a]),d=()=>{let n=l[t];n&&n.run().then(t=>{e(t,{display:`system`})})};return s((e,t)=>{if(t.upArrow){n(e=>Math.max(0,e-1));return}if(t.downArrow){n(e=>Math.min(l.length-1,e+1));return}t.return&&d()}),(0,x.jsx)(i,{title:`Autonomy`,subtitle:`${l.length} actions`,onCancel:()=>e(`Autonomy panel dismissed`,{display:`system`}),color:`background`,hideInputGuide:!0,children:(0,x.jsxs)(o,{flexDirection:`column`,children:[l.map((e,n)=>(0,x.jsxs)(o,{flexDirection:`row`,children:[(0,x.jsx)(r,{children:`${n===t?`›`:` `} ${e.label}`.padEnd(C)}),(0,x.jsx)(r,{dimColor:!0,children:e.description})]},`${e.label}-${n}`)),(0,x.jsx)(o,{marginTop:1,children:(0,x.jsx)(r,{dimColor:!0,children:`↑/↓ select · Enter run · Esc close`})})]})})}async function y(e,t,n){let r=n?.trim()??``;return r?(e(await p(r,{enqueueInMemory:!0,removeQueuedInMemory:!0}),{display:`system`}),null):(0,x.jsx)(v,{onDone:e})}var b,x,S,C;e((()=>{b=t(n(),1),a(),d(),h(),l(),x=c(),S=14,C=24}))();export{y as call,_ as getAutonomyPanelBaseActionCountForTests};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{t as e}from"./backgroundHousekeeping-zf-tDimg.js";export{e as startBackgroundHousekeeping};
|
package/dist/chunks/{backgroundHousekeeping-KvOpP_4M.js → backgroundHousekeeping-zf-tDimg.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as e,o as t}from"./chunk-DR8-3Aex.js";import{n,s as r}from"./envUtils-BWeoiL4Y.js";import{Ct as i,H as a,X as o,cn as s}from"./state-sIHsFpDu.js";import{Fa as c,Mr as l,Na as u,Pr as d,S as f,co as p,no as ee,oo as te}from"./paths-
|
|
1
|
+
import{a as e,o as t}from"./chunk-DR8-3Aex.js";import{n,s as r}from"./envUtils-BWeoiL4Y.js";import{Ct as i,H as a,X as o,cn as s}from"./state-sIHsFpDu.js";import{Fa as c,Mr as l,Na as u,Pr as d,S as f,co as p,no as ee,oo as te}from"./paths-BZjPDxMm.js";import{E as ne,J as re,U as m,_ as ie,h,l as ae,p as g}from"./debug-otxXY3j-.js";import{n as oe,r as _}from"./analytics-DqMQntaB.js";import{n as se,t as v}from"./cwd--iizewsn.js";import{o as y,s as b,v as x,y as S}from"./log-DSV4Ht5l.js";import{E as C,O as w,T as ce}from"./teammate-CbskW5G9.js";import{$D as le,Eo as ue,Er as de,Fr as fe,HC as pe,Oo as T,Ot as E,Uo as D,WC as O,XS as k,Xl as A,ZS as j,Zl as M,_t as N,cD as P,ck as F,cx as I,eO as L,iO as R,jC as z,kC as B,ko as me,lD as he,lx as ge,pD as _e,px as V,rt as ve,sD as ye,tt as H,ux as U}from"./loadAgentsDir-BYWykYwn.js";import{Qn as be,Zn as xe}from"./prompt-BGNhFY1n.js";import{X as Se}from"./rcDebugLog-ClX1msJX.js";import{n as Ce,r as we}from"./magicDocs-DAvjAbAJ.js";import{n as Te,t as Ee}from"./pluginAutoupdate-Bg7JMOHN.js";import{n as De,r as Oe}from"./registerProtocol-CClQph00.js";import{homedir as ke}from"os";import{join as W}from"path";import"crypto";import*as G from"fs/promises";r(),s(),se(),ne(),ie(),ae(),S(),te(),c(),d(),f(),be(),R(),ye(),M(),fe(),we(),H(),y(),m(),D(),F(),H(),L(),m(),y(),D(),F();async function Ae(e,t){if(!e)return;let{join:n}=await import(`path`),r=await import(`fs/promises`),a=n(v(),`.claude`,`skills`,e,`SKILL.md`),o;try{o=await r.readFile(a,`utf-8`)}catch{b(Error(`Failed to read skill file for improvement: ${a}`));return}let s=t.map(e=>`- ${e.section}: ${e.change}`).join(`
|
|
2
2
|
`),c=l(),d=_e()?P({sessionId:i(),model:c,provider:u(),name:`skill-improvement-apply`}):null,f=await ve({messages:[ue({content:`You are editing a skill definition file. Apply the following improvements to the skill.
|
|
3
3
|
|
|
4
4
|
<current_skill_file>
|
|
@@ -14,4 +14,4 @@ Rules:
|
|
|
14
14
|
- Preserve frontmatter (--- block) exactly as-is
|
|
15
15
|
- Preserve the overall format and style
|
|
16
16
|
- Do not remove existing content unless an improvement explicitly replaces it
|
|
17
|
-
- Output the complete updated file inside <updated_file> tags`})],systemPrompt:Se([`You edit skill definition files to incorporate user preferences. Output only the updated file content.`]),thinkingConfig:{type:`disabled`},tools:[],signal:le().signal,options:{getToolPermissionContext:async()=>xe(),model:c,toolChoice:void 0,isNonInteractiveSession:!1,hasAppendSystemPrompt:!1,temperatureOverride:0,agents:[],querySource:`skill_improvement_apply`,mcpTools:[],langfuseTrace:d}});he(d);let p=T(me(Array.isArray(f.message.content)?f.message.content:[]).trim(),`updated_file`);if(!p){b(Error(`Skill improvement apply: no updated_file tag in response`));return}try{await r.writeFile(a,p,`utf-8`)}catch(e){b(re(e))}}oe(),z(),ce(),y(),U(),j(),ge(),O(),E();var je=30;function K(){let e=((ee()||{}).cleanupPeriodDays??je)*24*60*60*1e3;return new Date(Date.now()-e)}function Me(e,t){return{messages:e.messages+t.messages,errors:e.errors+t.errors}}function Ne(e){let t=e.split(`.`)[0].replace(/T(\d{2})-(\d{2})-(\d{2})-(\d{3})Z/,`T$1:$2:$3.$4Z`);return new Date(t)}async function q(e,t,n){let r={messages:0,errors:0};try{let i=await h().readdir(e);for(let a of i)try{Ne(a.name)<t&&(await h().unlink(W(e,a.name)),n?r.messages++:r.errors++)}catch(e){b(e)}}catch(e){e instanceof Error&&`code`in e&&e.code!==`ENOENT`&&b(e)}return r}async function Pe(){let e=h(),t=K(),n=x.errors(),r=x.baseLogs(),i=await q(n,t,!1);try{let n;try{n=await e.readdir(r)}catch{return i}let a=n.filter(e=>e.isDirectory()&&e.name.startsWith(`mcp-logs-`)).map(e=>W(r,e.name));for(let n of a)i=Me(i,await q(n,t,!0)),await Y(n,e)}catch(e){e instanceof Error&&`code`in e&&e.code!==`ENOENT`&&b(e)}return i}async function J(e,t,n){return(await n.stat(e)).mtime<t?(await n.unlink(e),!0):!1}async function Y(e,t){try{await t.rmdir(e)}catch{}}async function Fe(){let e=K(),t={messages:0,errors:0},n=de(),r=h(),i;try{i=await r.readdir(n)}catch{return t}for(let a of i){if(!a.isDirectory())continue;let i=W(n,a.name),o;try{o=await r.readdir(i)}catch{t.errors++;continue}for(let n of o)if(n.isFile()){if(!n.name.endsWith(`.jsonl`)&&!n.name.endsWith(`.cast`))continue;try{await J(W(i,n.name),e,r)&&t.messages++}catch{t.errors++}}else if(n.isDirectory()){let a=W(i,n.name),o=W(a,pe),s;try{s=await r.readdir(o)}catch{await Y(a,r);continue}for(let n of s)if(n.isFile())try{await J(W(o,n.name),e,r)&&t.messages++}catch{t.errors++}else if(n.isDirectory()){let i=W(o,n.name),a;try{a=await r.readdir(i)}catch{continue}for(let n of a)if(n.isFile())try{await J(W(i,n.name),e,r)&&t.messages++}catch{t.errors++}await Y(i,r)}await Y(o,r),await Y(a,r)}await Y(i,r)}return t}async function Ie(e,t,n=!0){let r=K(),i={messages:0,errors:0},a=h(),o;try{o=await a.readdir(e)}catch{return i}for(let n of o)if(!(!n.isFile()||!n.name.endsWith(t)))try{await J(W(e,n.name),r,a)&&i.messages++}catch{i.errors++}return n&&await Y(e,a),i}function X(){return Ie(W(n(),`plans`),`.md`)}async function Le(){let e=K(),t={messages:0,errors:0},r=h();try{let i=W(n(),`file-history`),a;try{a=await r.readdir(i)}catch{return t}let o=a.filter(e=>e.isDirectory()).map(e=>W(i,e.name));await Promise.all(o.map(async n=>{try{(await r.stat(n)).mtime<e&&(await r.rm(n,{recursive:!0,force:!0}),t.messages++)}catch{t.errors++}})),await Y(i,r)}catch(e){b(e)}return t}async function Re(){let e=K(),t={messages:0,errors:0},r=h();try{let i=W(n(),`session-env`),a;try{a=await r.readdir(i)}catch{return t}let o=a.filter(e=>e.isDirectory()).map(e=>W(i,e.name));for(let n of o)try{(await r.stat(n)).mtime<e&&(await r.rm(n,{recursive:!0,force:!0}),t.messages++)}catch{t.errors++}await Y(i,r)}catch(e){b(e)}return t}async function ze(){let e=K(),t={messages:0,errors:0},r=h(),i=W(n(),`debug`),a;try{a=await r.readdir(i)}catch{return t}for(let n of a)if(!(!n.isFile()||!n.name.endsWith(`.txt`)||n.name===`latest`))try{await J(W(i,n.name),e,r)&&t.messages++}catch{t.errors++}return t}var Z=1440*60*1e3;async function Q(){let e=W(n(),`.npm-cache-cleanup`);try{let t=await G.stat(e);if(Date.now()-t.mtimeMs<Z){g(`npm cache cleanup: skipping, ran recently`);return}}catch{}try{await C(e,{retries:0,realpath:!1})}catch{g(`npm cache cleanup: skipping, lock held`);return}g(`npm cache cleanup: starting`);let r=W(ke(),`.npm`,`_cacache`),i=Date.now();try{let n=await import(`./lib-inCisXen.js`).then(e=>t(e.default,1)),a=i-Z,o=n.ls.stream(r),s=[];for await(let e of o)e.key.includes(`@anthropic-ai/claude-`)&&s.push({key:e.key,time:e.time});let c=new Map;for(let e of s){let t=e.key.lastIndexOf(`@`),n=t>0?e.key.slice(0,t):e.key,r=c.get(n)??[];r.push(e),c.set(n,r)}let l=[];for(let[,e]of c){e.sort((e,t)=>t.time-e.time);for(let t=0;t<e.length;t++){let n=e[t];(n.time<a||t>=5)&&l.push(n.key)}}await Promise.all(l.map(e=>n.rm.entry(r,e))),await G.writeFile(e,new Date().toISOString());let u=Date.now()-i;l.length>0?g(`npm cache cleanup: Removed ${l.length} old @anthropic-ai entries in ${u}ms`):g(`npm cache cleanup: completed in ${u}ms`),_(`tengu_npm_cache_cleanup`,{success:!0,durationMs:u,entriesRemoved:l.length})}catch(e){b(e),_(`tengu_npm_cache_cleanup`,{success:!1,durationMs:Date.now()-i})}finally{await w(e,{realpath:!1}).catch(()=>{})}}async function Be(){let e=W(n(),`.version-cleanup`);try{let t=await G.stat(e);if(Date.now()-t.mtimeMs<Z){g(`version cleanup: skipping, ran recently`);return}}catch{}try{await C(e,{retries:0,realpath:!1})}catch{g(`version cleanup: skipping, lock held`);return}g(`version cleanup: starting (throttled)`);try{await V(),await G.writeFile(e,new Date().toISOString())}catch(e){b(e)}finally{await w(e,{realpath:!1}).catch(()=>{})}}async function Ve(){let{errors:e}=I();if(e.length>0&&p(`cleanupPeriodDays`)){g(`Skipping cleanup: settings have validation errors but cleanupPeriodDays was explicitly set. Fix settings errors to enable cleanup.`);return}await Pe(),await Fe(),await X(),await Le(),await Re(),await ze(),await B(),await k(K());let t=await N(K());t>0&&_(`tengu_worktree_cleanup`,{removed:t}),process.env.USER_TYPE===`ant`&&await Q()}s(),U(),Te();var He=(De(),e(Oe)),Ue=1440*60*1e3,$=600*1e3;function We(){Ce(),import(`./extractMemories-
|
|
17
|
+
- Output the complete updated file inside <updated_file> tags`})],systemPrompt:Se([`You edit skill definition files to incorporate user preferences. Output only the updated file content.`]),thinkingConfig:{type:`disabled`},tools:[],signal:le().signal,options:{getToolPermissionContext:async()=>xe(),model:c,toolChoice:void 0,isNonInteractiveSession:!1,hasAppendSystemPrompt:!1,temperatureOverride:0,agents:[],querySource:`skill_improvement_apply`,mcpTools:[],langfuseTrace:d}});he(d);let p=T(me(Array.isArray(f.message.content)?f.message.content:[]).trim(),`updated_file`);if(!p){b(Error(`Skill improvement apply: no updated_file tag in response`));return}try{await r.writeFile(a,p,`utf-8`)}catch(e){b(re(e))}}oe(),z(),ce(),y(),U(),j(),ge(),O(),E();var je=30;function K(){let e=((ee()||{}).cleanupPeriodDays??je)*24*60*60*1e3;return new Date(Date.now()-e)}function Me(e,t){return{messages:e.messages+t.messages,errors:e.errors+t.errors}}function Ne(e){let t=e.split(`.`)[0].replace(/T(\d{2})-(\d{2})-(\d{2})-(\d{3})Z/,`T$1:$2:$3.$4Z`);return new Date(t)}async function q(e,t,n){let r={messages:0,errors:0};try{let i=await h().readdir(e);for(let a of i)try{Ne(a.name)<t&&(await h().unlink(W(e,a.name)),n?r.messages++:r.errors++)}catch(e){b(e)}}catch(e){e instanceof Error&&`code`in e&&e.code!==`ENOENT`&&b(e)}return r}async function Pe(){let e=h(),t=K(),n=x.errors(),r=x.baseLogs(),i=await q(n,t,!1);try{let n;try{n=await e.readdir(r)}catch{return i}let a=n.filter(e=>e.isDirectory()&&e.name.startsWith(`mcp-logs-`)).map(e=>W(r,e.name));for(let n of a)i=Me(i,await q(n,t,!0)),await Y(n,e)}catch(e){e instanceof Error&&`code`in e&&e.code!==`ENOENT`&&b(e)}return i}async function J(e,t,n){return(await n.stat(e)).mtime<t?(await n.unlink(e),!0):!1}async function Y(e,t){try{await t.rmdir(e)}catch{}}async function Fe(){let e=K(),t={messages:0,errors:0},n=de(),r=h(),i;try{i=await r.readdir(n)}catch{return t}for(let a of i){if(!a.isDirectory())continue;let i=W(n,a.name),o;try{o=await r.readdir(i)}catch{t.errors++;continue}for(let n of o)if(n.isFile()){if(!n.name.endsWith(`.jsonl`)&&!n.name.endsWith(`.cast`))continue;try{await J(W(i,n.name),e,r)&&t.messages++}catch{t.errors++}}else if(n.isDirectory()){let a=W(i,n.name),o=W(a,pe),s;try{s=await r.readdir(o)}catch{await Y(a,r);continue}for(let n of s)if(n.isFile())try{await J(W(o,n.name),e,r)&&t.messages++}catch{t.errors++}else if(n.isDirectory()){let i=W(o,n.name),a;try{a=await r.readdir(i)}catch{continue}for(let n of a)if(n.isFile())try{await J(W(i,n.name),e,r)&&t.messages++}catch{t.errors++}await Y(i,r)}await Y(o,r),await Y(a,r)}await Y(i,r)}return t}async function Ie(e,t,n=!0){let r=K(),i={messages:0,errors:0},a=h(),o;try{o=await a.readdir(e)}catch{return i}for(let n of o)if(!(!n.isFile()||!n.name.endsWith(t)))try{await J(W(e,n.name),r,a)&&i.messages++}catch{i.errors++}return n&&await Y(e,a),i}function X(){return Ie(W(n(),`plans`),`.md`)}async function Le(){let e=K(),t={messages:0,errors:0},r=h();try{let i=W(n(),`file-history`),a;try{a=await r.readdir(i)}catch{return t}let o=a.filter(e=>e.isDirectory()).map(e=>W(i,e.name));await Promise.all(o.map(async n=>{try{(await r.stat(n)).mtime<e&&(await r.rm(n,{recursive:!0,force:!0}),t.messages++)}catch{t.errors++}})),await Y(i,r)}catch(e){b(e)}return t}async function Re(){let e=K(),t={messages:0,errors:0},r=h();try{let i=W(n(),`session-env`),a;try{a=await r.readdir(i)}catch{return t}let o=a.filter(e=>e.isDirectory()).map(e=>W(i,e.name));for(let n of o)try{(await r.stat(n)).mtime<e&&(await r.rm(n,{recursive:!0,force:!0}),t.messages++)}catch{t.errors++}await Y(i,r)}catch(e){b(e)}return t}async function ze(){let e=K(),t={messages:0,errors:0},r=h(),i=W(n(),`debug`),a;try{a=await r.readdir(i)}catch{return t}for(let n of a)if(!(!n.isFile()||!n.name.endsWith(`.txt`)||n.name===`latest`))try{await J(W(i,n.name),e,r)&&t.messages++}catch{t.errors++}return t}var Z=1440*60*1e3;async function Q(){let e=W(n(),`.npm-cache-cleanup`);try{let t=await G.stat(e);if(Date.now()-t.mtimeMs<Z){g(`npm cache cleanup: skipping, ran recently`);return}}catch{}try{await C(e,{retries:0,realpath:!1})}catch{g(`npm cache cleanup: skipping, lock held`);return}g(`npm cache cleanup: starting`);let r=W(ke(),`.npm`,`_cacache`),i=Date.now();try{let n=await import(`./lib-inCisXen.js`).then(e=>t(e.default,1)),a=i-Z,o=n.ls.stream(r),s=[];for await(let e of o)e.key.includes(`@anthropic-ai/claude-`)&&s.push({key:e.key,time:e.time});let c=new Map;for(let e of s){let t=e.key.lastIndexOf(`@`),n=t>0?e.key.slice(0,t):e.key,r=c.get(n)??[];r.push(e),c.set(n,r)}let l=[];for(let[,e]of c){e.sort((e,t)=>t.time-e.time);for(let t=0;t<e.length;t++){let n=e[t];(n.time<a||t>=5)&&l.push(n.key)}}await Promise.all(l.map(e=>n.rm.entry(r,e))),await G.writeFile(e,new Date().toISOString());let u=Date.now()-i;l.length>0?g(`npm cache cleanup: Removed ${l.length} old @anthropic-ai entries in ${u}ms`):g(`npm cache cleanup: completed in ${u}ms`),_(`tengu_npm_cache_cleanup`,{success:!0,durationMs:u,entriesRemoved:l.length})}catch(e){b(e),_(`tengu_npm_cache_cleanup`,{success:!1,durationMs:Date.now()-i})}finally{await w(e,{realpath:!1}).catch(()=>{})}}async function Be(){let e=W(n(),`.version-cleanup`);try{let t=await G.stat(e);if(Date.now()-t.mtimeMs<Z){g(`version cleanup: skipping, ran recently`);return}}catch{}try{await C(e,{retries:0,realpath:!1})}catch{g(`version cleanup: skipping, lock held`);return}g(`version cleanup: starting (throttled)`);try{await V(),await G.writeFile(e,new Date().toISOString())}catch(e){b(e)}finally{await w(e,{realpath:!1}).catch(()=>{})}}async function Ve(){let{errors:e}=I();if(e.length>0&&p(`cleanupPeriodDays`)){g(`Skipping cleanup: settings have validation errors but cleanupPeriodDays was explicitly set. Fix settings errors to enable cleanup.`);return}await Pe(),await Fe(),await X(),await Le(),await Re(),await ze(),await B(),await k(K());let t=await N(K());t>0&&_(`tengu_worktree_cleanup`,{removed:t}),process.env.USER_TYPE===`ant`&&await Q()}s(),U(),Te();var He=(De(),e(Oe)),Ue=1440*60*1e3,$=600*1e3;function We(){Ce(),import(`./extractMemories-DS7XXeEo.js`).then(({initExtractMemories:e})=>{e()}).catch(()=>{}),A(),Ee(),a()&&He.ensureDeepLinkProtocolRegistered();let e=!0;async function t(){if(a()&&o()>Date.now()-1e3*60){setTimeout(t,$).unref();return}if(e&&(e=!1,await Ve()),a()&&o()>Date.now()-1e3*60){setTimeout(t,$).unref();return}await V()}setTimeout(t,$).unref(),process.env.USER_TYPE===`ant`&&setInterval(()=>{Q(),Be()},Ue).unref()}export{Ae as n,We as t};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{C as e,E as t,s as n,v as r}from"./git-C0IuvuIy.js";import{
|
|
1
|
+
import{C as e,E as t,s as n,v as r}from"./git-C0IuvuIy.js";import{b as i,h as a,p as o}from"./startupProfiler-CBcN1Chw.js";import{homedir as s}from"os";import{join as c,sep as l}from"path";import{stat as u}from"fs/promises";i(),t(),r();var d=10080*60*1e3,f=1e3;function p(e){let t=[`This session was opened by an external deep link in ${g(e.cwd)}`];if(e.repo){let n=e.lastFetch?a(e.lastFetch):`never`,r=!e.lastFetch||Date.now()-e.lastFetch.getTime()>d;t.push(`Resolved ${e.repo} from local clones · last fetched ${n}${r?` — CLAUDE.md may be stale`:``}`)}return e.prefillLength&&t.push(e.prefillLength>f?`The prompt below (${o(e.prefillLength)} chars) was supplied by the link — scroll to review the entire prompt before pressing Enter.`:`The prompt below was supplied by the link — review carefully before pressing Enter.`),t.join(`
|
|
2
2
|
`)}async function m(t){let r=await n(t);if(!r)return;let i=await e(r),[a,o]=await Promise.all([h(c(r,`FETCH_HEAD`)),i?h(c(i,`FETCH_HEAD`)):Promise.resolve(void 0)]);return a&&o?a>o?a:o:a??o}async function h(e){try{let{mtime:t}=await u(e);return t}catch{return}}function g(e){let t=s();return e===t?`~`:e.startsWith(t+l)?`~`+e.slice(t.length):e}export{m as n,p as t};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import{n as e}from"./chunk-DR8-3Aex.js";import{Ct as t,cn as n,ot as r}from"./state-sIHsFpDu.js";import{E as i,O as a}from"./debug-otxXY3j-.js";import{n as o,r as s}from"./analytics-DqMQntaB.js";import{c,s as l}from"./types-KeqFPzY5.js";import{i as u,o as d}from"./stringUtils-KZoO4GUd.js";import{Ar as f,Fr as p,Oi as m,Si as h,Tr as g,Vr as _,jr as v}from"./loadAgentsDir-
|
|
1
|
+
import{n as e}from"./chunk-DR8-3Aex.js";import{Ct as t,cn as n,ot as r}from"./state-sIHsFpDu.js";import{E as i,O as a}from"./debug-otxXY3j-.js";import{n as o,r as s}from"./analytics-DqMQntaB.js";import{c,s as l}from"./types-KeqFPzY5.js";import{i as u,o as d}from"./stringUtils-KZoO4GUd.js";import{Ar as f,Fr as p,Oi as m,Si as h,Tr as g,Vr as _,jr as v}from"./loadAgentsDir-BYWykYwn.js";import{randomUUID as y}from"crypto";import{mkdir as b,readFile as x,writeFile as S}from"fs/promises";function C(e){let t=e?.message?.content;if(!t)return`Branched conversation`;let n=typeof t==`string`?t:t.find(e=>e.type===`text`)?.text;return n&&n.replace(/\s+/g,` `).trim().slice(0,100)||`Branched conversation`}async function w(e){let n=y(),i=t(),o=g(r()),s=v(n),l=f();await b(o,{recursive:!0,mode:448});let u;try{u=await x(l)}catch{throw Error(`No conversation to branch`)}if(u.length===0)throw Error(`No conversation to branch`);let d=c(u),p=d.filter(e=>_(e)&&!e.isSidechain),m=d.filter(e=>e.type===`content-replacement`&&e.sessionId===i).flatMap(e=>e.replacements);if(p.length===0)throw Error(`No messages to branch`);let h=null,C=[],w=[];for(let e of p){let t={...e,sessionId:n,parentUuid:h,isSidechain:!1,forkedFrom:{sessionId:i,messageUuid:e.uuid}},r={...e,sessionId:n};w.push(r),C.push(a(t)),e.type!==`progress`&&(h=e.uuid)}if(m.length>0){let e={type:`content-replacement`,sessionId:n,replacements:m};C.push(a(e))}return await S(s,C.join(`
|
|
2
2
|
`)+`
|
|
3
3
|
`,{encoding:`utf8`,mode:384}),{sessionId:n,title:e,forkPath:s,serializedMessages:w,contentReplacementRecords:m}}async function T(e){let t=`${e} (Branch)`;if((await m(t,{exact:!0})).length===0)return t;let n=await m(`${e} (Branch`),r=new Set([1]),i=RegExp(`^${u(e)} \\(Branch(?: (\\d+))?\\)$`);for(let e of n){let t=e.customTitle?.match(i);t&&(t[1]?r.add(parseInt(t[1],10)):r.add(1))}let a=2;for(;r.has(a);)a++;return`${e} (Branch ${a})`}async function E(e,n,r){let i=r?.trim()||void 0,a=t();try{let{sessionId:t,title:r,forkPath:o,serializedMessages:c,contentReplacementRecords:l}=await w(i),u=new Date,d=C(c.find(e=>e.type===`user`)),f=await T(r??d);await h(t,f,o),s(`tengu_conversation_forked`,{message_count:c.length,has_custom_title:!!r});let p={date:u.toISOString().split(`T`)[0],messages:c,fullPath:o,value:u.getTime(),created:u,modified:u,firstPrompt:d,messageCount:c.length,isSidechain:!1,sessionId:t,customTitle:f,contentReplacements:l},m=r?` "${r}"`:``,g=`Branched conversation${m}. You are now in the branch.${`\nTo resume the original: claude -r ${a}`}`;return n.resume?(await n.resume(t,p,`fork`),e(g,{display:`system`})):e(`Branched conversation${m}. Resume with: /resume ${t}`),null}catch(t){return e(`Failed to branch conversation: ${t instanceof Error?t.message:`Unknown error occurred`}`),null}}e((()=>{n(),o(),l(),p(),i(),d()}))();export{E as call,C as deriveFirstPrompt};
|
|
@@ -5,4 +5,4 @@ import{n as e}from"./chunk-DR8-3Aex.js";import{n as t,s as n}from"./envUtils-BWe
|
|
|
5
5
|
`)};if(t===``||t===`once`){let e=new Date().toISOString();d(n,e,`utf8`),_();let t=h();return{type:`text`,value:[`## Cache break scheduled`,``,`Marker written: \`${n}\``,`Timestamp: ${e}`,``,`The next API call will append a random nonce to the system prompt,`,`causing a cache miss. The marker is removed automatically after use.`,``,"To cancel before the next call: `/break-cache --clear`","For every call: `/break-cache always`",``,`Total breaks this session: ${t.totalBreaks}`,``,`_How it works: Anthropic prompt cache keys on the system-prompt prefix hash._`,`_A unique nonce invalidates the hash, forcing a fresh compute._`].join(`
|
|
6
6
|
`)}}return{type:`text`,value:[`Unknown scope: "${t}"`,``,y].join(`
|
|
7
7
|
`)}}var y,b,x,S=e((()=>{i(),n(),y=[`Usage: /break-cache [scope]`,``,` (no args) Schedule a one-time cache break for the next API call`,` once Same as no args`,` always Enable persistent cache-break mode (every request)`,` off Disable always mode and clear any pending marker`,` --clear Clear the pending once marker (cancel before next call)`,` status Show current break-cache status and stats`,``,`How it works:`,` The Anthropic prompt cache keys on the system-prompt prefix hash.`,` A unique nonce invalidates the hash, forcing a fresh compute.`,` This is useful when you want to ensure a clean context window.`].join(`
|
|
8
|
-
`),b={type:`local-jsx`,name:`break-cache`,description:`Manage prompt-cache breaking. Open actions or run: once, status, always, off`,isHidden:!1,isEnabled:()=>!r(),argumentHint:`[once|status|always|off|--clear]`,bridgeSafe:!0,getBridgeInvocationError:e=>e.trim()?void 0:`Use /break-cache once/status/always/off over Remote Control.`,load:()=>import(`./panel-
|
|
8
|
+
`),b={type:`local-jsx`,name:`break-cache`,description:`Manage prompt-cache breaking. Open actions or run: once, status, always, off`,isHidden:!1,isEnabled:()=>!r(),argumentHint:`[once|status|always|off|--clear]`,bridgeSafe:!0,getBridgeInvocationError:e=>e.trim()?void 0:`Use /break-cache once/status/always/off over Remote Control.`,load:()=>import(`./panel-BY6q16am.js`)},x={type:`local`,name:`break-cache`,description:`Force the next (or all) API call(s) to miss prompt cache. Scopes: once, status, always, off`,isHidden:!1,isEnabled:()=>r(),supportsNonInteractive:!0,bridgeSafe:!0,load:async()=>({call:v})}}));export{f as a,p as i,x as n,S as o,v as r,b as t};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{n as e,o as t}from"./chunk-DR8-3Aex.js";import{Rn as n,b as r,d as i,f as a,nt as o,t as s,x as c}from"./src-Di342QoJ.js";import{t as l}from"./jsx-runtime-D-D469L8.js";import{l as u,p as d}from"./debug-otxXY3j-.js";import{n as f,r as p}from"./analytics-DqMQntaB.js";import{fC as m,lC as h,sS as g,uC as _,uS as v}from"./loadAgentsDir-
|
|
2
|
-
`).filter(e=>e.length>0):[];return(0,B.jsx)(a,{title:`Remote Control`,onCancel:C,hideInputGuide:!0,children:(0,B.jsxs)(c,{flexDirection:`column`,gap:1,children:[(0,B.jsxs)(r,{children:[`This session is available via Remote Control`,b?` at ${b}`:``,`.`]}),f&&w.length>0&&(0,B.jsx)(c,{flexDirection:`column`,children:w.map((e,t)=>(0,B.jsx)(r,{children:e},t))}),(0,B.jsxs)(c,{flexDirection:`column`,children:[(0,B.jsx)(i,{isFocused:u===0,children:(0,B.jsx)(r,{children:`Disconnect this session`})}),(0,B.jsx)(i,{isFocused:u===1,children:(0,B.jsx)(r,{children:f?`Hide QR code`:`Show QR code`})}),(0,B.jsx)(i,{isFocused:u===2,children:(0,B.jsx)(r,{children:`Continue`})})]}),(0,B.jsx)(r,{dimColor:!0,children:`Enter to select · Esc to continue`})]})})}async function I(){let{waitForPolicyLimitsToLoad:e,isPolicyAllowed:t}=await import(`./policyLimits-
|
|
1
|
+
import{n as e,o as t}from"./chunk-DR8-3Aex.js";import{Rn as n,b as r,d as i,f as a,nt as o,t as s,x as c}from"./src-Di342QoJ.js";import{t as l}from"./jsx-runtime-D-D469L8.js";import{l as u,p as d}from"./debug-otxXY3j-.js";import{n as f,r as p}from"./analytics-DqMQntaB.js";import{fC as m,lC as h,sS as g,uC as _,uS as v}from"./loadAgentsDir-BYWykYwn.js";import{t as y}from"./useKeybinding-DPOUuymz.js";import{a as b,t as x}from"./bridgeConfig-l6Ldi_hk.js";import{n as S,r as C,s as w,t as T}from"./bridgeEnabled-DYclTb9d.js";import{a as E,i as D,n as O}from"./types-C0nqJFkV.js";import{t as k}from"./lib-Cf16LgKj.js";import{i as A,n as j}from"./envLessBridgeConfig-CpjlwmvF.js";import{n as M,r as N}from"./RemoteCallout-CuxqarhC.js";function P({onDone:e,name:t}){let n=m(),r=_(e=>e.replBridgeConnected),i=_(e=>e.replBridgeEnabled),a=_(e=>e.replBridgeOutboundOnly),[o,s]=(0,z.useState)(!1);return(0,z.useEffect)(()=>{if((r||i)&&!a){s(!0);return}let o=!1;return(async()=>{let r=await I();if(!o){if(r){p(`tengu_bridge_command`,{action:`preflight_failed`}),e(r,{display:`system`});return}if(N()){n(e=>e.showRemoteCallout?e:{...e,showRemoteCallout:!0,replBridgeInitialName:t}),e(``,{display:`system`});return}p(`tengu_bridge_command`,{action:`connect`}),n(e=>e.replBridgeEnabled&&!e.replBridgeOutboundOnly?e:{...e,replBridgeEnabled:!0,replBridgeExplicit:!0,replBridgeOutboundOnly:!1,replBridgeInitialName:t}),e(`Remote Control connecting…`,{display:`system`})}})(),()=>{o=!0}},[]),o?(0,B.jsx)(F,{onDone:e}):null}function F({onDone:e}){v(`bridge-disconnect-dialog`);let t=m(),n=_(e=>e.replBridgeSessionUrl),s=_(e=>e.replBridgeConnectUrl),l=_(e=>e.replBridgeSessionActive),[u,d]=(0,z.useState)(2),[f,h]=(0,z.useState)(!1),[g,y]=(0,z.useState)(``),b=l?n:s;(0,z.useEffect)(()=>{if(!f||!b){y(``);return}(0,R.toString)(b,{type:`utf8`,errorCorrectionLevel:`L`,small:!0}).then(y).catch(()=>y(``))},[f,b]);function x(){t(e=>e.replBridgeEnabled?{...e,replBridgeEnabled:!1,replBridgeExplicit:!1,replBridgeOutboundOnly:!1}:e),p(`tengu_bridge_command`,{action:`disconnect`}),e(D,{display:`system`})}function S(){h(e=>!e)}function C(){e(void 0,{display:`skip`})}o({"select:next":()=>d(e=>(e+1)%3),"select:previous":()=>d(e=>(e-1+3)%3),"select:accept":()=>{u===0?x():u===1?S():C()}},{context:`Select`});let w=g?g.split(`
|
|
2
|
+
`).filter(e=>e.length>0):[];return(0,B.jsx)(a,{title:`Remote Control`,onCancel:C,hideInputGuide:!0,children:(0,B.jsxs)(c,{flexDirection:`column`,gap:1,children:[(0,B.jsxs)(r,{children:[`This session is available via Remote Control`,b?` at ${b}`:``,`.`]}),f&&w.length>0&&(0,B.jsx)(c,{flexDirection:`column`,children:w.map((e,t)=>(0,B.jsx)(r,{children:e},t))}),(0,B.jsxs)(c,{flexDirection:`column`,children:[(0,B.jsx)(i,{isFocused:u===0,children:(0,B.jsx)(r,{children:`Disconnect this session`})}),(0,B.jsx)(i,{isFocused:u===1,children:(0,B.jsx)(r,{children:f?`Hide QR code`:`Show QR code`})}),(0,B.jsx)(i,{isFocused:u===2,children:(0,B.jsx)(r,{children:`Continue`})})]}),(0,B.jsx)(r,{dimColor:!0,children:`Enter to select · Esc to continue`})]})})}async function I(){let{waitForPolicyLimitsToLoad:e,isPolicyAllowed:t}=await import(`./policyLimits-D-Y_soHx.js`);if(await e(),!t(`allow_remote_control`))return`Remote Control is disabled by your organization's policy.`;let n=await S();if(n)return n;let r=w();if(r){let{isAssistantMode:e}=await import(`./assistant-D7D1sqTB.js`);e()&&(r=!1)}return(r?await j():T())||(x()?(d(`[bridge] Prerequisites passed, enabling bridge`),null):O)}async function L(e,t,n){return(0,B.jsx)(P,{onDone:e,name:n.trim()||void 0})}var R,z,B;e((()=>{R=k(),n(),z=t(n(),1),b(),C(),A(),E(),s(),M(),g(),y(),f(),h(),u(),B=l()}))();export{L as call};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as e,n as t,o as n,t as r}from"./bridgeConfig-l6Ldi_hk.js";e();export{r as getBridgeAccessToken,t as getBridgeBaseUrl,n as isSelfHostedBridge};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{n as e}from"./chunk-DR8-3Aex.js";import{Jt as t,on as n}from"./paths-
|
|
1
|
+
import{n as e}from"./chunk-DR8-3Aex.js";import{Jt as t,on as n}from"./paths-BZjPDxMm.js";import{l as r,u as i}from"./oauth-CdZEzMww.js";function a(){return process.env.CLAUDE_BRIDGE_OAUTH_TOKEN||void 0}function o(){return process.env.CLAUDE_BRIDGE_BASE_URL||void 0}function s(){return a()??t()?.accessToken}function c(){return o()??r().BASE_API_URL}function l(){return!!o()}var u=e((()=>{i(),n()}));export{u as a,a as i,c as n,l as o,o as r,s as t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{n as e}from"./chunk-DR8-3Aex.js";import{s as t}from"./envUtils-BWeoiL4Y.js";import{S as n,Zt as r,_ as i,an as a,dn as o,g as s,l as c,on as l}from"./paths-
|
|
1
|
+
import{n as e}from"./chunk-DR8-3Aex.js";import{s as t}from"./envUtils-BWeoiL4Y.js";import{S as n,Zt as r,_ as i,an as a,dn as o,g as s,l as c,on as l}from"./paths-BZjPDxMm.js";import{i as u,r as d}from"./semver-Di5OaTd5.js";import{a as f,o as p}from"./bridgeConfig-l6Ldi_hk.js";function m(){return p()?!0:_()&&i(`tengu_ccr_bridge`,!1)}async function h(){return p()?!0:_()&&await c(`tengu_ccr_bridge`)}async function g(){return p()?null:_()?v()?y()?.organizationUuid?await c(`tengu_ccr_bridge`)?null:`Remote Control is not yet enabled for your account.`:"Unable to determine your organization for Remote Control eligibility. Run `claude auth login` to refresh your account information.":"Remote Control requires a full-scope login token. Long-lived tokens (from `claude setup-token` or CLAUDE_CODE_OAUTH_TOKEN) are limited to inference-only for security reasons. Run `claude auth login` to use Remote Control.":"Remote Control requires a claude.ai subscription. Run `claude auth login` to sign in with your claude.ai account."}function _(){try{return o()}catch{return!1}}function v(){try{return a()}catch{return!1}}function y(){try{return r()}catch{return}}function b(){return i(`tengu_bridge_repl_v2`,!1)}function x(){return i(`tengu_bridge_repl_v2_cse_shim_enabled`,!0)}function S(){{let e=s(`tengu_bridge_min_version`,{minVersion:`0.0.0`});if(e.minVersion&&u(`2.8.1`,e.minVersion))return`Your version of Claude Code (2.8.1) is too old for Remote Control.\nVersion ${e.minVersion} or higher is required. Run \`claude update\` to update.`}return null}var C=e((()=>{n(),f(),l(),t(),d()}));export{h as a,m as i,g as n,x as o,C as r,b as s,S as t};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{n as e,r as t,t as n}from"./bridgeEnabled-DYclTb9d.js";t();export{n as checkBridgeMinVersion,e as getBridgeDisabledReason};
|