ryco-cli 0.1.21 → 0.1.22
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/dist/{AcpNativeLogging-D54V5cIY.cjs → AcpNativeLogging-COepku4a.cjs} +78 -7
- package/dist/{AcpNativeLogging-Ch-s9nA8.mjs → AcpNativeLogging-D7e1dn7s.mjs} +74 -9
- package/dist/{AzureDevOpsSourceControlProvider-DTOlXGyd.mjs → AzureDevOpsSourceControlProvider-BNGEg1R8.mjs} +3 -3
- package/dist/{AzureDevOpsSourceControlProvider-BzB5-N9m.cjs → AzureDevOpsSourceControlProvider-CrvgKNf2.cjs} +2 -2
- package/dist/{BitbucketSourceControlProvider-DGd4IPx5.mjs → BitbucketSourceControlProvider-Bt21jw68.mjs} +3 -3
- package/dist/{BitbucketSourceControlProvider-D-8PWXO3.cjs → BitbucketSourceControlProvider-BzhsQwH-.cjs} +2 -2
- package/dist/{BunPTY-CNvWSzEJ.mjs → BunPTY-TbHbSc8S.mjs} +1 -1
- package/dist/{ClaudeDriver-DxowtK6I.mjs → ClaudeDriver-D65SPdHR.mjs} +44 -119
- package/dist/{ClaudeDriver-HEbUzW34.cjs → ClaudeDriver-D7NatUx6.cjs} +52 -127
- package/dist/{CodexDriver-CccSWoP3.mjs → CodexDriver-D4z5-wUD.mjs} +237 -50
- package/dist/{CodexDriver-YG4IwzLm.cjs → CodexDriver-DWGtHt9r.cjs} +235 -48
- package/dist/{CodexTextGeneration-CBJHkgOz.cjs → CodexTextGeneration-B4tJTUDo.cjs} +1 -1
- package/dist/{CodexTextGeneration-BfGt7ZUe.mjs → CodexTextGeneration-BikHow8k.mjs} +2 -2
- package/dist/{CopilotDriver-Bm4OZMkm.cjs → CopilotDriver-DJvYncGI.cjs} +122 -23
- package/dist/{CopilotDriver-DZAW-7yV.mjs → CopilotDriver-ZvvsAIkd.mjs} +123 -24
- package/dist/{CursorDriver-B4jb4rWd.mjs → CursorDriver-B1QSBzuH.mjs} +34 -74
- package/dist/{CursorDriver-CYcKAkUY.cjs → CursorDriver-D3I4KULs.cjs} +33 -73
- package/dist/{ForgejoSourceControlProvider-Dfi8KH7I.mjs → ForgejoSourceControlProvider-BGXysSX6.mjs} +3 -3
- package/dist/{ForgejoSourceControlProvider-CXUevO6C.cjs → ForgejoSourceControlProvider-Dh6DOoc8.cjs} +2 -2
- package/dist/{GitHubSourceControlProvider-DOs1ouvp.cjs → GitHubSourceControlProvider-8hsv_kCE.cjs} +2 -2
- package/dist/{GitHubSourceControlProvider-BH97aNa0.mjs → GitHubSourceControlProvider-CPCYV8Xo.mjs} +3 -3
- package/dist/{GitLabSourceControlProvider-CfbE6GYD.cjs → GitLabSourceControlProvider-B0ZbF9Zx.cjs} +2 -2
- package/dist/{GitLabSourceControlProvider-nIzcy9AJ.mjs → GitLabSourceControlProvider-Bvknpaon.mjs} +3 -3
- package/dist/{GrokDriver-CENrrqQc.mjs → GrokDriver-DgQe3pKz.mjs} +30 -10
- package/dist/{GrokDriver-C35gWEiw.cjs → GrokDriver-_puXDTU3.cjs} +31 -11
- package/dist/{NodePTY-lO8PwZLk.mjs → NodePTY-B_p5tLYO.mjs} +1 -1
- package/dist/{OpenCodeDriver-CHuQ6Xhc.cjs → OpenCodeDriver-401RexI0.cjs} +137 -19
- package/dist/{OpenCodeDriver-BIxSPI9J.mjs → OpenCodeDriver-DNUlF8M-.mjs} +135 -20
- package/dist/{SourceControlProviderDiscoveryCatalog-DaRgCE5d.mjs → SourceControlProviderDiscoveryCatalog-B37RHe2u.mjs} +1 -1
- package/dist/{SourceControlProviderDiscoveryCatalog-DCmYsPEa.cjs → SourceControlProviderDiscoveryCatalog-DreaAH1H.cjs} +1 -1
- package/dist/bin.cjs +4508 -613
- package/dist/bin.mjs +4499 -615
- package/dist/client/assets/AccountSettings-CypheYqM.js +1 -0
- package/dist/client/assets/AiFocusSettings-BlX0ED1t.js +1 -0
- package/dist/client/assets/AnimatedHeight-DKCe4x_Q.js +1 -0
- package/dist/client/assets/AppearanceSettings-BSyn6NXf.js +1 -0
- package/dist/client/assets/BranchToolbar.logic-fpBz8Ajj.js +1 -0
- package/dist/client/assets/BrowserPanel-BWch19QH.js +1 -0
- package/dist/client/assets/ChatRightPanel-B7yrq-hS.js +27 -0
- package/dist/client/assets/ChatThreadRouteView-Cg0d_EHs.js +1 -0
- package/dist/client/assets/CommandPaletteDialog-DImCuPaX.js +1 -0
- package/dist/client/assets/CompositeItem-BYnHWRNf.js +1 -0
- package/dist/client/assets/CompositeRoot-B28uivk7.js +1 -0
- package/dist/client/assets/ComputerUseSettings-CosW7jaG.js +1 -0
- package/dist/client/assets/ConnectionsSettings-Bk6vI3G-.js +7 -0
- package/dist/client/assets/ContextHandoffEndpointLabel-BR6ygaub.js +4 -0
- package/dist/client/assets/DiagnosticsSettings-Dp_tCNLw.js +2 -0
- package/dist/client/assets/DialogHandle-BN-QB-sO.js +1 -0
- package/dist/client/assets/DialogPopup-BuJs5WUt.js +1 -0
- package/dist/client/assets/DialogRoot-PxEcoecQ.js +1 -0
- package/dist/client/assets/DialogTitle-4nxQsra4.js +1 -0
- package/dist/client/assets/DialogTrigger-D_0canul.js +1 -0
- package/dist/client/assets/DialogViewport-DSo-2hyf.js +1 -0
- package/dist/client/assets/DraftChatThreadRouteView-C94kpMx4.js +1 -0
- package/dist/client/assets/{ExternalIdentityWeb.logic-TXvkTDG8.js → ExternalIdentityWeb.logic-CGJKCFPo.js} +1 -1
- package/dist/client/assets/{GlassSurface-k7VAG7Dp.js → GlassSurface-CyOTUS7E.js} +1 -1
- package/dist/client/assets/HostedConnectionControls-CL0Ws4ca.js +1 -0
- package/dist/client/assets/HostedHubRoot-LUINZl4r.js +1 -0
- package/dist/client/assets/HostedNativeAuthorizationRoute-CgYVBE6N.js +1 -0
- package/dist/client/assets/HostedRelayTrustNotice-DgdeZh52.js +1 -0
- package/dist/client/assets/Icons-BIUbIFr7.js +1 -0
- package/dist/client/assets/IntegrationsSettingsPanel-B7tXTaa3.js +1 -0
- package/dist/client/assets/KeybindingsSettings-HMlRcGQ4.js +7 -0
- package/dist/client/assets/LazyBrowserPanel-CKfmuM9U.js +1 -0
- package/dist/client/assets/{McpServersSettings-Cpzyop0g.js → McpServersSettings-Bq-HyhvC.js} +4 -4
- package/dist/client/assets/MobileSheet-acDRH9aa.js +1 -0
- package/dist/client/assets/NoActiveThreadState-7rym7bV7.js +1 -0
- package/dist/client/assets/NodeSecuritySettings-D8qjh4Dc.js +1 -0
- package/dist/client/assets/OpinionatedPluginsSettings-D7Uks5yR.js +1 -0
- package/dist/client/assets/PhoneGetAppInterstitial-BQXUSufH.js +1 -0
- package/dist/client/assets/PhoneGetAppInterstitialBackdrop-BbUvwGmI.js +1 -0
- package/dist/client/assets/PhoneHome-DvgdMTkh.js +1 -0
- package/dist/client/assets/PhoneSettingsSurface-DncJ540i.js +1 -0
- package/dist/client/assets/ProjectFavicon-BY5Vyyk6.js +1 -0
- package/dist/client/assets/ProviderInstanceIcon-CZe1TbeC.js +1 -0
- package/dist/client/assets/ProviderModelPicker-DHAY1n_1.js +1 -0
- package/dist/client/assets/{ProviderUpdateLaunchNotification.logic-BWOy8LJG.js → ProviderUpdateLaunchNotification.logic-DQJVrUIo.js} +1 -1
- package/dist/client/assets/ProvidersSettingsPanel-BylxZs4S.js +1 -0
- package/dist/client/assets/RedactedSensitiveText-D-enj1h5.js +1 -0
- package/dist/client/assets/RootAppShell-DBK0WW2b.js +6 -0
- package/dist/client/assets/RycoLetterMark-PnGm6TQY.js +1 -0
- package/dist/client/assets/{Separator-DiMB6Prz.js → Separator-BWKYMFqt.js} +1 -1
- package/dist/client/assets/SettingsDialog-N25hIv-a.js +1 -0
- package/dist/client/assets/SettingsPanels-D9YXmUPP.js +3 -0
- package/dist/client/assets/SettingsPanels.editor-Cn18k74l.js +1 -0
- package/dist/client/assets/SourceControlSettings-BAzSpMfR.js +1 -0
- package/dist/client/assets/StatisticsPage-CLKpfsQ8.js +1 -0
- package/dist/client/assets/StatisticsPanel-DxHUFn64.js +1 -0
- package/dist/client/assets/StatisticsSettingsLink-B3HIQYFh.js +1 -0
- package/dist/client/assets/ThreadStatusIndicators-CQZ_OgY8.js +0 -0
- package/dist/client/assets/{ThreadTerminalDrawer-ro03rSMk.js → ThreadTerminalDrawer-D1SPewXR.js} +3 -3
- package/dist/client/assets/ThreadWorkspacePanel-DVF6oZsV.js +2009 -0
- package/dist/client/assets/ToolbarRootContext-Dt8G5aCw.js +1 -0
- package/dist/client/assets/{WorkItemsTab-CBbr_lPX.js → WorkItemsTab-BoE-TcXJ.js} +8 -8
- package/dist/client/assets/{activity-1CkdQG5u.js → activity-DfFM6I8A.js} +1 -1
- package/dist/client/assets/alert-DE5SkZhr.js +1 -0
- package/dist/client/assets/alert-dialog-BqPnPhb6.js +1 -0
- package/dist/client/assets/appChrome-CJauXpqv.js +1 -0
- package/dist/client/assets/{archive-BL1hojl3.js → archive-BFV4YQ7D.js} +1 -1
- package/dist/client/assets/arrow-left-CCmICk1t.js +1 -0
- package/dist/client/assets/arrow-right-Z3Eay6Fd.js +1 -0
- package/dist/client/assets/{arrow-up-CTcWIlqV.js → arrow-up-caak6P06.js} +1 -1
- package/dist/client/assets/arrow-up-right-BwC-fCE4.js +1 -0
- package/dist/client/assets/authorization-bHsGYIT0.js +1 -0
- package/dist/client/assets/{badge-DUe5V2Mj.js → badge-m9kM3P07.js} +1 -1
- package/dist/client/assets/{bot-DJp0cuhK.js → bot-Cv7a7Ksf.js} +1 -1
- package/dist/client/assets/{button-BdUaa4U1.js → button-B6xQZNKz.js} +1 -1
- package/dist/client/assets/capabilities-D6bsjqkj.js +1 -0
- package/dist/client/assets/{chart-column-Dw6ACmXM.js → chart-column-DgGlY4sD.js} +1 -1
- package/dist/client/assets/chatThreadActions-BXaNbPbp.js +1 -0
- package/dist/client/assets/check-BfnWUGBT.js +1 -0
- package/dist/client/assets/{chevron-down-B7C6FKzM.js → chevron-down-B_FKCRVh.js} +1 -1
- package/dist/client/assets/chevron-right-B6CKNGh4.js +1 -0
- package/dist/client/assets/{circle-alert-BWvs6IOn.js → circle-alert-BV3vJE-c.js} +1 -1
- package/dist/client/assets/circle-check-D2Vx39x-.js +1 -0
- package/dist/client/assets/{external-link-fbvzDWM7.js → circle-dashed-khcA8K3Y.js} +1 -1
- package/dist/client/assets/circle-question-mark-DEuLdOiy.js +1 -0
- package/dist/client/assets/circle-x-DqfM_2wS.js +1 -0
- package/dist/client/assets/clamp-D0kAXd-u.js +1 -0
- package/dist/client/assets/{clipboard-copy-C4VV20QR.js → clipboard-copy-CiD4tBsh.js} +1 -1
- package/dist/client/assets/clock--4M7moiV.js +1 -0
- package/dist/client/assets/clock-3-NbnQqtcd.js +1 -0
- package/dist/client/assets/collapsible-BECg-ssO.js +1 -0
- package/dist/client/assets/command-DvbA3O0J.js +1 -0
- package/dist/client/assets/{copy-UQjKGt7t.js → copy-CkPe1c-r.js} +1 -1
- package/dist/client/assets/data-list-7TiaqfZU.js +1 -0
- package/dist/client/assets/desktopUpdateAtoms-6j0d8vfy.js +1 -0
- package/dist/client/assets/desktopWorkspace-8s8rm3zL.js +1 -0
- package/dist/client/assets/device-CGaJ6fwD.js +168 -0
- package/dist/client/assets/dialog-C9v8Zl6e.js +1 -0
- package/dist/client/assets/{download-CQZ-m4zW.js → download-DPjzVxTa.js} +1 -1
- package/dist/client/assets/draft-input-BRSLIjV6.js +1 -0
- package/dist/client/assets/editorPreferences-D-9SDgRM.js +1 -0
- package/dist/client/assets/empty-CuQ57p2u.js +1 -0
- package/dist/client/assets/external-link-CF9EzT-A.js +1 -0
- package/dist/client/assets/{eye-CUSPj-gd.js → eye-C2Puut9B.js} +1 -1
- package/dist/client/assets/{folder-DtsQoI9_.js → folder-BKTxLq18.js} +1 -1
- package/dist/client/assets/{folder-closed-CsvKfC6X.js → folder-closed-D2cwiusg.js} +1 -1
- package/dist/client/assets/getPseudoElementBounds-DdH76YK5.js +1 -0
- package/dist/client/assets/{git-branch-BKr-Ij4u.js → git-branch-Dauy2SWC.js} +1 -1
- package/dist/client/assets/{git-pull-request-DIYyPsg5.js → git-pull-request-DsK1gBtK.js} +1 -1
- package/dist/client/assets/globe-dS40wBdE.js +1 -0
- package/dist/client/assets/group-DBXm8riE.js +1 -0
- package/dist/client/assets/hostedConnectionCoordinator-DSMW2Ldh.js +1 -0
- package/dist/client/assets/{index-CQJvt69U.js → index-DRY8Hgrj.js} +2 -2
- package/dist/client/assets/input-Dn_zesdZ.js +1 -0
- package/dist/client/assets/kbd-BF2-WlxQ.js +1 -0
- package/dist/client/assets/{key-round-CacMputS.js → key-round-BjaaL9Df.js} +1 -1
- package/dist/client/assets/{keybindings-DCgzArdM.js → keybindings-FSJY3Tht.js} +1 -1
- package/dist/client/assets/{keyboard-BqeRMHfL.js → keyboard-AkUFPD_e.js} +1 -1
- package/dist/client/assets/label-BKjVY2A9.js +1 -0
- package/dist/client/assets/{layers-BYi0v17h.js → layers-tzRiuxSx.js} +1 -1
- package/dist/client/assets/{lib-B7pkMeOn.js → lib-D5cyGc84.js} +1 -1
- package/dist/client/assets/{loader-zHASMrUy.js → loader-BrbWRz3I.js} +1 -1
- package/dist/client/assets/loader-circle-DRKbHQst.js +1 -0
- package/dist/client/assets/{log-out-tMJm0Gk6.js → log-out-BEihaal1.js} +1 -1
- package/dist/client/assets/{logging-B1VrUJXw.js → logging-Y73f240E.js} +1 -1
- package/dist/client/assets/main-BiIQEybS.js +9 -0
- package/dist/client/assets/main-tZWU6iqX.css +2 -0
- package/dist/client/assets/menu-BxtB33Up.js +1 -0
- package/dist/client/assets/{messages-square-DiMgWzoq.js → messages-square-e0Zg750i.js} +1 -1
- package/dist/client/assets/{minimize-2-C33mL7LT.js → minimize-2-DC9gMgGl.js} +1 -1
- package/dist/client/assets/monitor-Dj0JFj4_.js +1 -0
- package/dist/client/assets/{palette-BSD_aJZg.js → palette-0qvNt1CR.js} +1 -1
- package/dist/client/assets/{pencil-B69ERoVM.js → pencil-CA0DGufX.js} +1 -1
- package/dist/client/assets/{play-DYDxlTKo.js → play-wIyvqd_g.js} +1 -1
- package/dist/client/assets/plus-5kH13lqq.js +1 -0
- package/dist/client/assets/popover-CwhgX3HA.js +1 -0
- package/dist/client/assets/primary-BqnEJHWx.js +2 -0
- package/dist/client/assets/{projectPaths-C7IGaRXO.js → projectPaths-45WPhgoj.js} +1 -1
- package/dist/client/assets/providerDriverMeta-Cc60r9Rb.js +1 -0
- package/dist/client/assets/providerInstances-Cr8JmFCe.js +1 -0
- package/dist/client/assets/providerModels-Cr8JmFCe.js +1 -0
- package/dist/client/assets/qr-code-BKrwYZ2s.js +1 -0
- package/dist/client/assets/{qr-code-ScYULAuR.js → qr-code-DDmpRnPp.js} +1 -1
- package/dist/client/assets/radio-group-DZCo21CF.js +2 -0
- package/dist/client/assets/{refresh-cw-DopCMrtR.js → refresh-cw-DiuiLTny.js} +1 -1
- package/dist/client/assets/resolveAriaLabelledBy-927ShlEO.js +1 -0
- package/dist/client/assets/rightPanelRouteSearch-CExl-IaQ.js +1 -0
- package/dist/client/assets/rotate-ccw-XOYBPtyK.js +1 -0
- package/dist/client/assets/rotate-cw-D32Z4Sdd.js +1 -0
- package/dist/client/assets/runtime-CA2W9mZ-.js +17 -0
- package/dist/client/assets/{save-Bh36JIv6.js → save-DjlqeVG_.js} +1 -1
- package/dist/client/assets/scroll-area-CylKYQms.js +1 -0
- package/dist/client/assets/scrollEdges-D7RQhYjX.js +1 -0
- package/dist/client/assets/search-B2nLj573.js +1 -0
- package/dist/client/assets/select-qTezUK8F.js +1 -0
- package/dist/client/assets/separator-D77goPy-.js +1 -0
- package/dist/client/assets/{server-JApJpgLa.js → server-y8Wq0Qwv.js} +1 -1
- package/dist/client/assets/session-logic-xfW418Rx.js +1 -0
- package/dist/client/assets/{settings-2-CZQg_KUQ.js → settings-2-DpwBKj3m.js} +1 -1
- package/dist/client/assets/settingsLayout-BuaXzjIe.js +1 -0
- package/dist/client/assets/settingsSections.logic-CR4aytUI.js +1 -0
- package/dist/client/assets/sheet-z3AEiSN4.js +1 -0
- package/dist/client/assets/{shield-IZEIJ8r7.js → shield-BuXuMVtb.js} +1 -1
- package/dist/client/assets/{shield-alert-DY9uVP5G.js → shield-alert-Dfk--o-I.js} +1 -1
- package/dist/client/assets/{shield-check-dQ-4cMKk.js → shield-check-BHi57iF1.js} +1 -1
- package/dist/client/assets/sidebar-Dst9O2OR.js +1 -0
- package/dist/client/assets/sidebarProjectFolders-DR1NBLLz.js +4 -0
- package/dist/client/assets/{sidebarStatusText-WiaEF1ae.js → sidebarStatusText-7jo1n9E1.js} +1 -1
- package/dist/client/assets/skeleton-D_kbMg21.js +1 -0
- package/dist/client/assets/{smartphone-gNe1ynB8.js → smartphone-DcUQ17YT.js} +1 -1
- package/dist/client/assets/{sparkles-CAf3oJ5S.js → sparkles-nVLLtdqb.js} +1 -1
- package/dist/client/assets/spinner-CkXSwhuf.js +1 -0
- package/dist/client/assets/{square-pen-Bj3p_Q8E.js → square-pen-dcArpda7.js} +1 -1
- package/dist/client/assets/src-I4s4HU8f.js +14 -0
- package/dist/client/assets/star-CdUOqzzZ.js +1 -0
- package/dist/client/assets/storeSelectors-Cr8JmFCe.js +1 -0
- package/dist/client/assets/switch-BMeRsIbg.js +1 -0
- package/dist/client/assets/{tabSwitchInstrumentation-CLDM7g1_.js → tabSwitchInstrumentation-BuxWNdCV.js} +1 -1
- package/dist/client/assets/terminal-DupJfYRW.js +1 -0
- package/dist/client/assets/{terminal-links-Bxew8m4Q.js → terminal-links-Bf4neyyn.js} +1 -1
- package/dist/client/assets/textarea-Bu_OTJYe.js +1 -0
- package/dist/client/assets/threadPinning-DhnkssEa.js +1 -0
- package/dist/client/assets/{threadPriorityRefreshRuntime-Cgjn5Y-7.js → threadPriorityRefreshRuntime-DJjlyX7f.js} +1 -1
- package/dist/client/assets/toast-CIjfIWUw.js +1 -0
- package/dist/client/assets/toggle-BA4mJ5v9.js +1 -0
- package/dist/client/assets/toggle-group-ChGfILTR.js +1 -0
- package/dist/client/assets/{tokenModePresentation-lVM0-Wi3.js → tokenModePresentation-B64s_OK3.js} +1 -1
- package/dist/client/assets/tooltip-C2VVqN6U.js +1 -0
- package/dist/client/assets/{trash-2-CM1zXPGb.js → trash-2-Dqgxd0nF.js} +1 -1
- package/dist/client/assets/{triangle-alert-RL_T3KLo.js → triangle-alert-D4cCh6sB.js} +1 -1
- package/dist/client/assets/types-Cr8JmFCe.js +1 -0
- package/dist/client/assets/{undo-2-x37tfI3V.js → undo-2-C8EQVSSD.js} +1 -1
- package/dist/client/assets/{unplug-Cw8iawyX.js → unplug-Dt3Sy2op.js} +1 -1
- package/dist/client/assets/useAppSidebarCollapsed-w0th-164.js +1 -0
- package/dist/client/assets/{useAtlassian-BPNtoDXL.js → useAtlassian-j7ex3bVN.js} +0 -0
- package/dist/client/assets/useButton-Dx5k1uZG.js +1 -0
- package/dist/client/assets/useCompositeListItem-BqkyY0oT.js +1 -0
- package/dist/client/assets/{clamp-CgH0Dl6R.js → useControlled-HocCF1v9.js} +1 -1
- package/dist/client/assets/useDebouncedValue-BevbEbPO.js +1 -0
- package/dist/client/assets/useFloatingRootContext-j6TgzEFa.js +1 -0
- package/dist/client/assets/useHandleNewThread-gVYty_Bg.js +1 -0
- package/dist/client/assets/useLabelableId-CcYPzJvj.js +1 -0
- package/dist/client/assets/useLocation-CZ3osOgz.js +1 -0
- package/dist/client/assets/useOpenInteractionType-apbY9ZEK.js +1 -0
- package/dist/client/assets/usePhoneThreadActions-CnDlicSp.js +1 -0
- package/dist/client/assets/usePopupViewport-0k75uXo1.js +1 -0
- package/dist/client/assets/useRenderElement-5DRNLBaU.js +1 -0
- package/dist/client/assets/useScrollLock-C5WLWXcc.js +1 -0
- package/dist/client/assets/{useStatistics-BQkcb-1_.js → useStatistics-GOFXPHO0.js} +2 -2
- package/dist/client/assets/useSwipeDismiss-BNHPBucH.js +1 -0
- package/dist/client/assets/useThreadActions-B4Xy2soQ.js +2 -0
- package/dist/client/assets/useTriggerFocusGuards-C3geWFzt.js +1 -0
- package/dist/client/assets/useValueChanged-FVqPwcY_.js +1 -0
- package/dist/client/assets/user-round-KsVtJgon.js +1 -0
- package/dist/client/assets/utils-B5qahmRn.js +1 -0
- package/dist/client/assets/visuallyHidden-j2WbVEv-.js +1 -0
- package/dist/client/assets/workspaceMetadataProjection-D3vqw40g.js +1 -0
- package/dist/client/assets/{wrench-D0IetWa1.js → wrench-BnpoYEZm.js} +1 -1
- package/dist/client/assets/x-BXHT1Zj1.js +1 -0
- package/dist/client/index.html +1 -1
- package/dist/{collectUint8StreamText-D8TBiBWk.mjs → collectUint8StreamText-C_VNyArd.mjs} +614 -20
- package/dist/{collectUint8StreamText-C5fop6Zf.cjs → collectUint8StreamText-DStwNTTK.cjs} +679 -19
- package/dist/{makeManagedServerProvider-DRlNwlhe.mjs → makeManagedServerProvider-GZcpSLrW.mjs} +22 -3
- package/dist/{makeManagedServerProvider-BytnBN6b.cjs → makeManagedServerProvider-VzxWN-04.cjs} +32 -1
- package/dist/resource-monitor/LICENSE +21 -0
- package/dist/resource-monitor/darwin-arm64/LICENSE +21 -0
- package/dist/resource-monitor/darwin-arm64/ryco-resource-monitor +0 -0
- package/dist/resource-monitor/darwin-x64/LICENSE +21 -0
- package/dist/resource-monitor/darwin-x64/ryco-resource-monitor +0 -0
- package/dist/resource-monitor/linux-arm64/LICENSE +21 -0
- package/dist/resource-monitor/linux-arm64/ryco-resource-monitor +0 -0
- package/dist/resource-monitor/linux-x64/LICENSE +21 -0
- package/dist/resource-monitor/linux-x64/ryco-resource-monitor +0 -0
- package/dist/resource-monitor/ryco-resource-monitor +0 -0
- package/dist/resource-monitor/ryco-resource-monitor.exe +0 -0
- package/dist/resource-monitor/win32-arm64/LICENSE +21 -0
- package/dist/resource-monitor/win32-arm64/ryco-resource-monitor.exe +0 -0
- package/dist/resource-monitor/win32-x64/LICENSE +21 -0
- package/dist/resource-monitor/win32-x64/ryco-resource-monitor.exe +0 -0
- package/package.json +1 -1
- package/dist/client/assets/AccountSettings--RGb4Xyh.js +0 -1
- package/dist/client/assets/AiFocusSettings-BnGcbAMj.js +0 -1
- package/dist/client/assets/AnimatedHeight-xBldRJT_.js +0 -1
- package/dist/client/assets/AppearanceSettings-BZRfC5N0.js +0 -1
- package/dist/client/assets/BranchToolbar.logic-CGpYXkLE.js +0 -1
- package/dist/client/assets/ChatRightPanel-BlooofmF.js +0 -27
- package/dist/client/assets/ChatThreadRouteView-B28bv4Zt.js +0 -1
- package/dist/client/assets/CommandPaletteDialog-hNEraTe2.js +0 -1
- package/dist/client/assets/CompositeItem-CKY4wPzb.js +0 -1
- package/dist/client/assets/CompositeRoot-Ds7U4w5S.js +0 -1
- package/dist/client/assets/ConnectionsSettings-C4VqR67L.js +0 -7
- package/dist/client/assets/DiagnosticsSettings-ByZ42-mW.js +0 -2
- package/dist/client/assets/DialogHandle-BdmgCiER.js +0 -1
- package/dist/client/assets/DialogPopup-D6m8w7-0.js +0 -1
- package/dist/client/assets/DialogRoot-BnE2_J9j.js +0 -1
- package/dist/client/assets/DialogTitle-DFkPQ5wa.js +0 -1
- package/dist/client/assets/DialogTrigger-CTCt2xVs.js +0 -1
- package/dist/client/assets/DialogViewport-OqbNjTEg.js +0 -1
- package/dist/client/assets/DraftChatThreadRouteView-B_4VVh8J.js +0 -1
- package/dist/client/assets/HostedConnectionControls-D0YyFVVm.js +0 -1
- package/dist/client/assets/HostedHubRoot-gr9o6h-w.js +0 -1
- package/dist/client/assets/HostedNativeAuthorizationRoute-DQy7gPHg.js +0 -1
- package/dist/client/assets/HostedRelayTrustNotice-DtiCe1oF.js +0 -1
- package/dist/client/assets/Icons-BHigZ6eO.js +0 -1
- package/dist/client/assets/IntegrationsSettingsPanel-RgmTIo_4.js +0 -1
- package/dist/client/assets/KeybindingsSettings-2J94301x.js +0 -7
- package/dist/client/assets/MobileSheet-5RNq1fWV.js +0 -1
- package/dist/client/assets/NewWorktreeDialog-BE_53fbt.js +0 -4
- package/dist/client/assets/NoActiveThreadState-Cpar0wiW.js +0 -1
- package/dist/client/assets/NodeSecuritySettings-BpZYwf5z.js +0 -1
- package/dist/client/assets/OpinionatedPluginsSettings-CLbbw_K_.js +0 -1
- package/dist/client/assets/PhoneGetAppInterstitial-G1mx30Rm.js +0 -1
- package/dist/client/assets/PhoneGetAppInterstitialBackdrop-nfP93au3.js +0 -1
- package/dist/client/assets/PhoneHome-D24dskaK.js +0 -1
- package/dist/client/assets/PhoneSettingsSurface-DU6QcRMa.js +0 -1
- package/dist/client/assets/ProjectFavicon-DiAvCEOv.js +0 -1
- package/dist/client/assets/ProviderModelPicker-KKoDIb0I.js +0 -1
- package/dist/client/assets/ProvidersSettingsPanel-Cotp9jkx.js +0 -1
- package/dist/client/assets/RedactedSensitiveText-Bijn-7t0.js +0 -1
- package/dist/client/assets/RootAppShell-BPFAVRor.js +0 -6
- package/dist/client/assets/RycoLetterMark-DDqdXSCR.js +0 -1
- package/dist/client/assets/SettingsDialog-C1pQqIpt.js +0 -1
- package/dist/client/assets/SettingsPanels-_z4Xw8vV.js +0 -3
- package/dist/client/assets/SettingsPanels.editor-CFrJ6eJl.js +0 -1
- package/dist/client/assets/SourceControlSettings-aZXtdyQJ.js +0 -1
- package/dist/client/assets/StatisticsPage-DLxnsLkl.js +0 -1
- package/dist/client/assets/StatisticsPanel-CZng52aF.js +0 -1
- package/dist/client/assets/StatisticsSettingsLink-BswiD6v1.js +0 -1
- package/dist/client/assets/ThreadStatusIndicators-Dg7ByO0t.js +0 -0
- package/dist/client/assets/ThreadWorkspacePanel-j_muuK0U.js +0 -2009
- package/dist/client/assets/ToolbarRootContext-gBA5VTsh.js +0 -1
- package/dist/client/assets/alert-DM55UBFJ.js +0 -1
- package/dist/client/assets/alert-dialog-t0tth9lg.js +0 -1
- package/dist/client/assets/arrow-left-Dtj9PfsA.js +0 -1
- package/dist/client/assets/arrow-up-right-DGeet8e6.js +0 -1
- package/dist/client/assets/authorization-jiPI8hG1.js +0 -1
- package/dist/client/assets/branding-31Bj-8ZC.js +0 -1
- package/dist/client/assets/capabilities-DQDkV1US.js +0 -1
- package/dist/client/assets/chatThreadActions-3VwZmcuQ.js +0 -1
- package/dist/client/assets/chevron-right-BWYGybX9.js +0 -1
- package/dist/client/assets/clock-3-r12DkpRj.js +0 -1
- package/dist/client/assets/clock-nNA05brA.js +0 -1
- package/dist/client/assets/collapsible-BmAgbTeN.js +0 -1
- package/dist/client/assets/command-8YtR6jmS.js +0 -1
- package/dist/client/assets/composerDraftStore-Bz5WIZBE.js +0 -11
- package/dist/client/assets/data-list-D7UF_rKC.js +0 -1
- package/dist/client/assets/desktopUpdateAtoms-D_GMRE2r.js +0 -1
- package/dist/client/assets/desktopWorkspace-Dg6EeBlb.js +0 -1
- package/dist/client/assets/device-DlExHdp_.js +0 -168
- package/dist/client/assets/dialog-B0sUgnpe.js +0 -1
- package/dist/client/assets/draft-input-CljKajxE.js +0 -1
- package/dist/client/assets/editorPreferences-B3qgjPa6.js +0 -1
- package/dist/client/assets/empty-D5W-VFFg.js +0 -1
- package/dist/client/assets/env-3rzMJf1D.js +0 -1
- package/dist/client/assets/folder-open-GqwNTbSV.js +0 -1
- package/dist/client/assets/getPseudoElementBounds-BAmGtfzA.js +0 -1
- package/dist/client/assets/group-BQB2fHcw.js +0 -1
- package/dist/client/assets/input-5Gxk32uP.js +0 -1
- package/dist/client/assets/kbd-B4HCyWpi.js +0 -1
- package/dist/client/assets/label-CaZNWVUA.js +0 -1
- package/dist/client/assets/loader-circle-CrtHFAvM.js +0 -1
- package/dist/client/assets/main-BPfnkW0F.js +0 -9
- package/dist/client/assets/main-DspUYA0Y.css +0 -2
- package/dist/client/assets/menu-C9Z3D_7l.js +0 -1
- package/dist/client/assets/plus-B2h-VEqh.js +0 -1
- package/dist/client/assets/popover-CCz2VJor.js +0 -1
- package/dist/client/assets/primary-BMsRfh2b.js +0 -2
- package/dist/client/assets/providerDriverMeta-CgWTJ9AV.js +0 -1
- package/dist/client/assets/providerIconUtils-DKIWQBl_.js +0 -1
- package/dist/client/assets/providerInstances-DTwJD7w4.js +0 -1
- package/dist/client/assets/providerModels-DTwJD7w4.js +0 -1
- package/dist/client/assets/qr-code-BPTdK_Fr.js +0 -1
- package/dist/client/assets/radio-group-2REtGBUc.js +0 -2
- package/dist/client/assets/resolveAriaLabelledBy-CPzaFh9Q.js +0 -1
- package/dist/client/assets/rightPanelRouteSearch-Cv7sQjf8.js +0 -1
- package/dist/client/assets/runtime-DAfYpzw4.js +0 -1
- package/dist/client/assets/scroll-area-BsYcpnWD.js +0 -1
- package/dist/client/assets/scrollEdges-CUJFIJBP.js +0 -1
- package/dist/client/assets/search-BGQsenCM.js +0 -1
- package/dist/client/assets/select-zInJ5G5C.js +0 -1
- package/dist/client/assets/separator-CsdeZPxC.js +0 -1
- package/dist/client/assets/session-logic-CjEpVbpM.js +0 -6
- package/dist/client/assets/settingsDialogStore-B7yUTgbo.js +0 -1
- package/dist/client/assets/settingsLayout-7JR7nC6x.js +0 -1
- package/dist/client/assets/settingsSections.logic-F8RXVmAq.js +0 -1
- package/dist/client/assets/sheet-CLd8wqAA.js +0 -1
- package/dist/client/assets/sidebar-BliCAaUG.js +0 -1
- package/dist/client/assets/sidebarProjectFolders-ScxWbdTn.js +0 -4
- package/dist/client/assets/skeleton-B_qDqbso.js +0 -1
- package/dist/client/assets/spinner-BlCG_0jN.js +0 -1
- package/dist/client/assets/src-Chx4ffXH.js +0 -14
- package/dist/client/assets/storeSelectors-Of4FM0vM.js +0 -1
- package/dist/client/assets/switch-DUT5lUyk.js +0 -1
- package/dist/client/assets/terminal-C_CyIsDD.js +0 -1
- package/dist/client/assets/textarea-C5eyaBI3.js +0 -1
- package/dist/client/assets/threadPinning-B8un4fjx.js +0 -1
- package/dist/client/assets/toast-X_O6OBAx.js +0 -1
- package/dist/client/assets/toggle-P-wZyQFO.js +0 -1
- package/dist/client/assets/toggle-group-Du7zfd4_.js +0 -1
- package/dist/client/assets/tooltip-D_i-87PL.js +0 -1
- package/dist/client/assets/types-Of4FM0vM.js +0 -1
- package/dist/client/assets/uiStateStore-UUXKrPLz.js +0 -1
- package/dist/client/assets/useButton-D8BjCVb-.js +0 -1
- package/dist/client/assets/useCompositeListItem-BHuxHR8U.js +0 -1
- package/dist/client/assets/useDebouncedValue-D2-9M4Tq.js +0 -1
- package/dist/client/assets/useFloatingRootContext-CTdmlYcf.js +0 -1
- package/dist/client/assets/useHandleNewThread-YGjWitl4.js +0 -1
- package/dist/client/assets/useLabelableId-LInf_Egz.js +0 -1
- package/dist/client/assets/useLocation-3zGT25DO.js +0 -1
- package/dist/client/assets/useOpenInteractionType-BPthQeg6.js +0 -1
- package/dist/client/assets/usePhoneThreadActions-D_Z29f6p.js +0 -1
- package/dist/client/assets/usePopupViewport-BErrsN0k.js +0 -1
- package/dist/client/assets/useRenderElement-DchFnsR8.js +0 -1
- package/dist/client/assets/useScrollLock-CLyJPg7p.js +0 -1
- package/dist/client/assets/useSwipeDismiss-DjMT1XiU.js +0 -1
- package/dist/client/assets/useThreadActions-ISbVGkmx.js +0 -2
- package/dist/client/assets/useTriggerFocusGuards-DwOHWbrB.js +0 -1
- package/dist/client/assets/useValueChanged-Bq39JB8D.js +0 -1
- package/dist/client/assets/user-round-Cpzx8pSw.js +0 -1
- package/dist/client/assets/utils-BFbDkTQq.js +0 -1
- package/dist/client/assets/visibilityPolling-BwzZdaSN.js +0 -1
- package/dist/client/assets/x-C1Cemsov.js +0 -1
|
@@ -262,8 +262,10 @@ const ExecutionEnvironmentPlatform = effect.Schema.Struct({
|
|
|
262
262
|
});
|
|
263
263
|
const ExecutionEnvironmentCapabilities = effect.Schema.Struct({
|
|
264
264
|
repositoryIdentity: effect.Schema.Boolean.pipe(effect.Schema.withDecodingDefault(effect.Effect.succeed(false))),
|
|
265
|
+
threadSnooze: effect.Schema.optional(effect.Schema.Boolean),
|
|
265
266
|
threadSettlement: effect.Schema.Boolean.pipe(effect.Schema.withDecodingDefault(effect.Effect.succeed(false))),
|
|
266
|
-
threadPriorityRanking: effect.Schema.Boolean.pipe(effect.Schema.withDecodingDefault(effect.Effect.succeed(false)))
|
|
267
|
+
threadPriorityRanking: effect.Schema.Boolean.pipe(effect.Schema.withDecodingDefault(effect.Effect.succeed(false))),
|
|
268
|
+
fileAttachments: effect.Schema.optional(effect.Schema.Struct({ maxUploadBytes: NonNegativeInt }))
|
|
267
269
|
});
|
|
268
270
|
const ExecutionEnvironmentDescriptor = effect.Schema.Struct({
|
|
269
271
|
environmentId: EnvironmentId$1,
|
|
@@ -3299,6 +3301,28 @@ const ThreadGoalStatus = effect.Schema.Literals([
|
|
|
3299
3301
|
"budgetLimited",
|
|
3300
3302
|
"complete"
|
|
3301
3303
|
]);
|
|
3304
|
+
const ThreadGoalUpdate = effect.Schema.Struct({
|
|
3305
|
+
objective: effect.Schema.optional(ThreadGoalObjective),
|
|
3306
|
+
status: effect.Schema.optional(ThreadGoalStatus),
|
|
3307
|
+
tokenBudget: effect.Schema.optional(effect.Schema.NullOr(PositiveInt))
|
|
3308
|
+
});
|
|
3309
|
+
const ThreadGoalSynchronization = effect.Schema.Struct({
|
|
3310
|
+
requestId: effect.Schema.String,
|
|
3311
|
+
state: effect.Schema.Literals([
|
|
3312
|
+
"pending",
|
|
3313
|
+
"failed",
|
|
3314
|
+
"unsupported"
|
|
3315
|
+
]),
|
|
3316
|
+
action: effect.Schema.Literals(["set", "clear"]),
|
|
3317
|
+
startTurn: effect.Schema.optional(effect.Schema.Boolean),
|
|
3318
|
+
deferUntilTurn: effect.Schema.optional(effect.Schema.Boolean),
|
|
3319
|
+
fields: effect.Schema.optional(effect.Schema.Array(effect.Schema.Literals([
|
|
3320
|
+
"objective",
|
|
3321
|
+
"status",
|
|
3322
|
+
"tokenBudget"
|
|
3323
|
+
]))),
|
|
3324
|
+
error: effect.Schema.optional(effect.Schema.String)
|
|
3325
|
+
});
|
|
3302
3326
|
const ThreadGoal = effect.Schema.Struct({
|
|
3303
3327
|
objective: ThreadGoalObjective,
|
|
3304
3328
|
status: ThreadGoalStatus,
|
|
@@ -3306,7 +3330,9 @@ const ThreadGoal = effect.Schema.Struct({
|
|
|
3306
3330
|
tokensUsed: NonNegativeInt,
|
|
3307
3331
|
timeUsedSeconds: NonNegativeInt,
|
|
3308
3332
|
createdAt: IsoDateTime,
|
|
3309
|
-
updatedAt: IsoDateTime
|
|
3333
|
+
updatedAt: IsoDateTime,
|
|
3334
|
+
/** Local delivery state. Absent when the native provider has confirmed the goal. */
|
|
3335
|
+
synchronization: effect.Schema.optional(ThreadGoalSynchronization)
|
|
3310
3336
|
});
|
|
3311
3337
|
const ThreadGoalEventOrigin = effect.Schema.Literals(["client", "provider"]);
|
|
3312
3338
|
//#endregion
|
|
@@ -3596,7 +3622,30 @@ const ContextHandoffInspectionSummaryInput = effect.Schema.Struct({
|
|
|
3596
3622
|
threadId: ThreadId,
|
|
3597
3623
|
handoffId: ContextHandoffId
|
|
3598
3624
|
});
|
|
3625
|
+
const CONTEXT_HANDOFF_MAX_INPUT_CHARS = 14e5;
|
|
3626
|
+
const ModelContextWindowMetadata = effect.Schema.Array(effect.Schema.Struct({
|
|
3627
|
+
slug: effect.Schema.String,
|
|
3628
|
+
aliases: effect.Schema.optional(effect.Schema.Array(effect.Schema.String)),
|
|
3629
|
+
defaultContextWindow: effect.Schema.optional(effect.Schema.String),
|
|
3630
|
+
contextWindowTokens: effect.Schema.optional(effect.Schema.Record(effect.Schema.String, effect.Schema.Number)),
|
|
3631
|
+
fixedContextWindowTokens: effect.Schema.optional(effect.Schema.Number)
|
|
3632
|
+
}));
|
|
3633
|
+
const ContextHandoffInputBudget = effect.Schema.Struct({
|
|
3634
|
+
maxInputChars: PositiveInt,
|
|
3635
|
+
budgetSource: effect.Schema.Literals([
|
|
3636
|
+
"default",
|
|
3637
|
+
"manifest",
|
|
3638
|
+
"slug"
|
|
3639
|
+
]),
|
|
3640
|
+
contextWindowTokens: effect.Schema.NullOr(PositiveInt)
|
|
3641
|
+
});
|
|
3642
|
+
const ContextHandoffAppliedBudget = effect.Schema.Struct({
|
|
3643
|
+
maxInputChars: effect.Schema.optional(effect.Schema.NullOr(PositiveInt)),
|
|
3644
|
+
budgetSource: effect.Schema.optional(effect.Schema.NullOr(ContextHandoffInputBudget.fields.budgetSource)),
|
|
3645
|
+
contextWindowTokens: effect.Schema.optional(effect.Schema.NullOr(PositiveInt))
|
|
3646
|
+
});
|
|
3599
3647
|
const ContextHandoffInspectionSummary = effect.Schema.Struct({
|
|
3648
|
+
...ContextHandoffAppliedBudget.fields,
|
|
3600
3649
|
threadId: ThreadId,
|
|
3601
3650
|
handoffId: ContextHandoffId,
|
|
3602
3651
|
status: effect.Schema.Literals([
|
|
@@ -3722,15 +3771,20 @@ const PROVIDER_SEND_TURN_MAX_FILE_BYTES = 52428800;
|
|
|
3722
3771
|
const PROVIDER_SEND_TURN_MAX_ATTACHMENT_TOTAL_BYTES = 52428800;
|
|
3723
3772
|
const PROVIDER_SEND_TURN_MAX_IMAGE_DATA_URL_CHARS = 14e6;
|
|
3724
3773
|
const PROVIDER_SEND_TURN_MAX_FILE_DATA_URL_CHARS = 7e7;
|
|
3725
|
-
const
|
|
3774
|
+
const CHAT_ATTACHMENT_ID_MAX_CHARS = 128;
|
|
3775
|
+
const FILE_ATTACHMENT_UPLOAD_TOKEN_MAX_CHARS = 256;
|
|
3776
|
+
const ChatAttachmentId = TrimmedNonEmptyString.check(effect.Schema.isMaxLength(CHAT_ATTACHMENT_ID_MAX_CHARS), effect.Schema.isPattern(/^[a-z0-9_-]+$/i));
|
|
3726
3777
|
const ChatAttachmentName = TrimmedNonEmptyString.check(effect.Schema.isMaxLength(255), effect.Schema.isPattern(/^[^/\\\p{Cc}]+$/u));
|
|
3727
3778
|
const ChatAttachmentMimeType = TrimmedNonEmptyString.check(effect.Schema.isMaxLength(100), effect.Schema.isPattern(/^[a-z0-9][a-z0-9!#$&^_.+-]*\/[a-z0-9][a-z0-9!#$&^_.+-]*$/i));
|
|
3779
|
+
const UnknownChatAttachmentType = effect.Schema.String.check(effect.Schema.makeFilter((type) => type === "image" || type === "file" ? "reserved chat attachment type" : true));
|
|
3728
3780
|
const ChatImageAttachment = effect.Schema.Struct({
|
|
3729
3781
|
type: effect.Schema.Literal("image"),
|
|
3730
3782
|
id: ChatAttachmentId,
|
|
3731
3783
|
name: ChatAttachmentName,
|
|
3732
3784
|
mimeType: ChatAttachmentMimeType.check(effect.Schema.isPattern(/^image\//i)),
|
|
3733
|
-
sizeBytes: NonNegativeInt.check(effect.Schema.isLessThanOrEqualTo(PROVIDER_SEND_TURN_MAX_IMAGE_BYTES))
|
|
3785
|
+
sizeBytes: NonNegativeInt.check(effect.Schema.isLessThanOrEqualTo(PROVIDER_SEND_TURN_MAX_IMAGE_BYTES)),
|
|
3786
|
+
width: effect.Schema.optional(NonNegativeInt),
|
|
3787
|
+
height: effect.Schema.optional(NonNegativeInt)
|
|
3734
3788
|
});
|
|
3735
3789
|
const UploadChatImageAttachment = effect.Schema.Struct({
|
|
3736
3790
|
type: effect.Schema.Literal("image"),
|
|
@@ -3744,17 +3798,66 @@ const ChatFileAttachment = effect.Schema.Struct({
|
|
|
3744
3798
|
id: ChatAttachmentId,
|
|
3745
3799
|
name: ChatAttachmentName,
|
|
3746
3800
|
mimeType: ChatAttachmentMimeType,
|
|
3747
|
-
sizeBytes: NonNegativeInt.check(effect.Schema.isLessThanOrEqualTo(PROVIDER_SEND_TURN_MAX_FILE_BYTES))
|
|
3801
|
+
sizeBytes: NonNegativeInt.check(effect.Schema.isLessThanOrEqualTo(PROVIDER_SEND_TURN_MAX_FILE_BYTES)),
|
|
3802
|
+
width: effect.Schema.optional(NonNegativeInt),
|
|
3803
|
+
height: effect.Schema.optional(NonNegativeInt)
|
|
3804
|
+
});
|
|
3805
|
+
const CHAT_ATTACHMENT_READ_CHUNK_BYTES = 262144;
|
|
3806
|
+
const ChatAttachmentReadChunkInput = effect.Schema.Struct({
|
|
3807
|
+
threadId: ThreadId,
|
|
3808
|
+
messageId: MessageId,
|
|
3809
|
+
attachmentId: ChatAttachmentId,
|
|
3810
|
+
offset: NonNegativeInt.check(effect.Schema.isLessThanOrEqualTo(PROVIDER_SEND_TURN_MAX_FILE_BYTES))
|
|
3811
|
+
});
|
|
3812
|
+
const ChatAttachmentReadChunkResult = effect.Schema.Struct({
|
|
3813
|
+
dataBase64: effect.Schema.String.check(effect.Schema.isMaxLength(4 * Math.ceil(CHAT_ATTACHMENT_READ_CHUNK_BYTES / 3))),
|
|
3814
|
+
offset: NonNegativeInt,
|
|
3815
|
+
totalBytes: NonNegativeInt.check(effect.Schema.isLessThanOrEqualTo(PROVIDER_SEND_TURN_MAX_FILE_BYTES))
|
|
3748
3816
|
});
|
|
3817
|
+
var ChatAttachmentReadError = class extends effect.Schema.TaggedError()("ChatAttachmentReadError", { message: effect.Schema.String }) {};
|
|
3818
|
+
const FileAttachmentUploadToken = TrimmedNonEmptyString.check(effect.Schema.isMaxLength(FILE_ATTACHMENT_UPLOAD_TOKEN_MAX_CHARS));
|
|
3749
3819
|
const UploadChatFileAttachment = effect.Schema.Struct({
|
|
3750
3820
|
type: effect.Schema.Literal("file"),
|
|
3751
3821
|
name: ChatAttachmentName,
|
|
3752
3822
|
mimeType: ChatAttachmentMimeType,
|
|
3753
3823
|
sizeBytes: NonNegativeInt.check(effect.Schema.isLessThanOrEqualTo(PROVIDER_SEND_TURN_MAX_FILE_BYTES)),
|
|
3754
|
-
dataUrl: TrimmedNonEmptyString.check(effect.Schema.isMaxLength(PROVIDER_SEND_TURN_MAX_FILE_DATA_URL_CHARS))
|
|
3824
|
+
dataUrl: effect.Schema.optionalKey(TrimmedNonEmptyString.check(effect.Schema.isMaxLength(PROVIDER_SEND_TURN_MAX_FILE_DATA_URL_CHARS))),
|
|
3825
|
+
uploadToken: effect.Schema.optionalKey(FileAttachmentUploadToken)
|
|
3826
|
+
}).check(effect.Schema.makeFilter((attachment) => {
|
|
3827
|
+
const hasDataUrl = attachment.dataUrl !== void 0;
|
|
3828
|
+
return hasDataUrl !== (attachment.uploadToken !== void 0) ? true : {
|
|
3829
|
+
path: ["dataUrl"],
|
|
3830
|
+
issue: hasDataUrl ? "provide either dataUrl or uploadToken, not both" : "provide exactly one of dataUrl or uploadToken"
|
|
3831
|
+
};
|
|
3832
|
+
}));
|
|
3833
|
+
const FileAttachmentCreateUploadUrlInput = effect.Schema.Struct({
|
|
3834
|
+
threadId: ThreadId,
|
|
3835
|
+
name: ChatAttachmentName,
|
|
3836
|
+
mimeType: ChatAttachmentMimeType,
|
|
3837
|
+
sizeBytes: NonNegativeInt.check(effect.Schema.isLessThanOrEqualTo(PROVIDER_SEND_TURN_MAX_FILE_BYTES))
|
|
3838
|
+
});
|
|
3839
|
+
const FileAttachmentCreateUploadUrlResult = effect.Schema.Struct({
|
|
3840
|
+
uploadToken: FileAttachmentUploadToken,
|
|
3841
|
+
expiresAt: IsoDateTime,
|
|
3842
|
+
maxUploadBytes: NonNegativeInt
|
|
3755
3843
|
});
|
|
3756
|
-
const
|
|
3757
|
-
|
|
3844
|
+
const ChatUnknownAttachment = effect.Schema.Struct({
|
|
3845
|
+
type: UnknownChatAttachmentType,
|
|
3846
|
+
id: effect.Schema.optional(ChatAttachmentId),
|
|
3847
|
+
name: effect.Schema.optional(ChatAttachmentName),
|
|
3848
|
+
mimeType: effect.Schema.optional(effect.Schema.String),
|
|
3849
|
+
sizeBytes: effect.Schema.optional(NonNegativeInt)
|
|
3850
|
+
});
|
|
3851
|
+
const ChatAttachment = effect.Schema.Union([
|
|
3852
|
+
ChatImageAttachment,
|
|
3853
|
+
ChatFileAttachment,
|
|
3854
|
+
ChatUnknownAttachment
|
|
3855
|
+
]);
|
|
3856
|
+
const UploadChatAttachment = effect.Schema.Union([
|
|
3857
|
+
UploadChatImageAttachment,
|
|
3858
|
+
UploadChatFileAttachment,
|
|
3859
|
+
ChatUnknownAttachment
|
|
3860
|
+
]);
|
|
3758
3861
|
const ChatAttachments = effect.Schema.Array(ChatAttachment).check(effect.Schema.isMaxLength(8));
|
|
3759
3862
|
const UploadChatAttachments = effect.Schema.Array(UploadChatAttachment).check(effect.Schema.isMaxLength(8));
|
|
3760
3863
|
const ProjectScriptIcon = effect.Schema.Literals([
|
|
@@ -3915,6 +4018,8 @@ const OrchestrationThread = effect.Schema.Struct({
|
|
|
3915
4018
|
archivedAt: effect.Schema.NullOr(IsoDateTime).pipe(effect.Schema.withDecodingDefault(effect.Effect.succeed(null))),
|
|
3916
4019
|
settledOverride: effect.Schema.NullOr(ThreadSettlementOverride).pipe(effect.Schema.withDecodingDefault(effect.Effect.succeed(null))),
|
|
3917
4020
|
settledAt: effect.Schema.NullOr(IsoDateTime).pipe(effect.Schema.withDecodingDefault(effect.Effect.succeed(null))),
|
|
4021
|
+
snoozedUntil: effect.Schema.optional(effect.Schema.NullOr(IsoDateTime)),
|
|
4022
|
+
snoozedAt: effect.Schema.optional(effect.Schema.NullOr(IsoDateTime)),
|
|
3918
4023
|
deletedAt: effect.Schema.NullOr(IsoDateTime),
|
|
3919
4024
|
messages: effect.Schema.Array(OrchestrationMessage),
|
|
3920
4025
|
proposedPlans: effect.Schema.Array(OrchestrationProposedPlan).pipe(effect.Schema.withDecodingDefault(effect.Effect.succeed([]))),
|
|
@@ -3975,6 +4080,8 @@ const OrchestrationThreadShell = effect.Schema.Struct({
|
|
|
3975
4080
|
archivedAt: effect.Schema.NullOr(IsoDateTime).pipe(effect.Schema.withDecodingDefault(effect.Effect.succeed(null))),
|
|
3976
4081
|
settledOverride: effect.Schema.NullOr(ThreadSettlementOverride).pipe(effect.Schema.withDecodingDefault(effect.Effect.succeed(null))),
|
|
3977
4082
|
settledAt: effect.Schema.NullOr(IsoDateTime).pipe(effect.Schema.withDecodingDefault(effect.Effect.succeed(null))),
|
|
4083
|
+
snoozedUntil: effect.Schema.optional(effect.Schema.NullOr(IsoDateTime)),
|
|
4084
|
+
snoozedAt: effect.Schema.optional(effect.Schema.NullOr(IsoDateTime)),
|
|
3978
4085
|
session: effect.Schema.NullOr(OrchestrationSession),
|
|
3979
4086
|
latestUserMessageAt: effect.Schema.NullOr(IsoDateTime),
|
|
3980
4087
|
hasPendingApprovals: effect.Schema.Boolean,
|
|
@@ -4197,6 +4304,17 @@ const ThreadUnarchiveCommand = effect.Schema.Struct({
|
|
|
4197
4304
|
commandId: CommandId,
|
|
4198
4305
|
threadId: ThreadId
|
|
4199
4306
|
});
|
|
4307
|
+
const ThreadSnoozeCommand = effect.Schema.Struct({
|
|
4308
|
+
type: effect.Schema.Literal("thread.snooze"),
|
|
4309
|
+
commandId: CommandId,
|
|
4310
|
+
threadId: ThreadId,
|
|
4311
|
+
snoozedUntil: IsoDateTime
|
|
4312
|
+
});
|
|
4313
|
+
const ThreadUnsnoozeCommand = effect.Schema.Struct({
|
|
4314
|
+
type: effect.Schema.Literal("thread.unsnooze"),
|
|
4315
|
+
commandId: CommandId,
|
|
4316
|
+
threadId: ThreadId
|
|
4317
|
+
});
|
|
4200
4318
|
const ThreadSettleCommand = effect.Schema.Struct({
|
|
4201
4319
|
type: effect.Schema.Literal("thread.settle"),
|
|
4202
4320
|
commandId: CommandId,
|
|
@@ -4240,11 +4358,10 @@ const ThreadTokenModeSetCommand = effect.Schema.Struct({
|
|
|
4240
4358
|
});
|
|
4241
4359
|
const ThreadGoalSetCommand = effect.Schema.Struct({
|
|
4242
4360
|
type: effect.Schema.Literal("thread.goal.set"),
|
|
4361
|
+
startTurn: effect.Schema.optional(effect.Schema.Boolean),
|
|
4243
4362
|
commandId: CommandId,
|
|
4244
4363
|
threadId: ThreadId,
|
|
4245
|
-
|
|
4246
|
-
status: effect.Schema.optional(ThreadGoalStatus),
|
|
4247
|
-
tokenBudget: effect.Schema.optional(effect.Schema.NullOr(PositiveInt)),
|
|
4364
|
+
...ThreadGoalUpdate.fields,
|
|
4248
4365
|
createdAt: IsoDateTime
|
|
4249
4366
|
});
|
|
4250
4367
|
const ThreadGoalClearCommand = effect.Schema.Struct({
|
|
@@ -4265,6 +4382,7 @@ const ThreadTurnStartBootstrapCreateThread = effect.Schema.Struct({
|
|
|
4265
4382
|
createdAt: IsoDateTime
|
|
4266
4383
|
});
|
|
4267
4384
|
const ThreadTurnStartBootstrapPrepareWorktree = effect.Schema.Struct({
|
|
4385
|
+
fetchOrigin: effect.Schema.optional(effect.Schema.Boolean),
|
|
4268
4386
|
projectCwd: TrimmedNonEmptyString,
|
|
4269
4387
|
baseBranch: TrimmedNonEmptyString,
|
|
4270
4388
|
branch: effect.Schema.optional(TrimmedNonEmptyString)
|
|
@@ -4289,6 +4407,7 @@ const ThreadTurnStartCommand = effect.Schema.Struct({
|
|
|
4289
4407
|
runtimeMode: RuntimeMode.pipe(effect.Schema.withDecodingDefault(effect.Effect.succeed(DEFAULT_RUNTIME_MODE))),
|
|
4290
4408
|
interactionMode: ProviderInteractionMode.pipe(effect.Schema.withDecodingDefault(effect.Effect.succeed(DEFAULT_PROVIDER_INTERACTION_MODE))),
|
|
4291
4409
|
tokenMode: effect.Schema.optionalKey(AgentTokenMode),
|
|
4410
|
+
goal: effect.Schema.optional(ThreadGoalUpdate),
|
|
4292
4411
|
bootstrap: effect.Schema.optional(ThreadTurnStartBootstrap),
|
|
4293
4412
|
sourceProposedPlan: effect.Schema.optional(SourceProposedPlanReference),
|
|
4294
4413
|
sourceControlContexts: effect.Schema.optional(effect.Schema.Array(ComposerSourceControlContext)),
|
|
@@ -4309,6 +4428,7 @@ const ClientThreadTurnStartCommand = effect.Schema.Struct({
|
|
|
4309
4428
|
runtimeMode: RuntimeMode,
|
|
4310
4429
|
interactionMode: ProviderInteractionMode,
|
|
4311
4430
|
tokenMode: effect.Schema.optionalKey(AgentTokenMode),
|
|
4431
|
+
goal: effect.Schema.optional(ThreadGoalUpdate),
|
|
4312
4432
|
bootstrap: effect.Schema.optional(ThreadTurnStartBootstrap),
|
|
4313
4433
|
sourceProposedPlan: effect.Schema.optional(SourceProposedPlanReference),
|
|
4314
4434
|
sourceControlContexts: effect.Schema.optional(effect.Schema.Array(ComposerSourceControlContext)),
|
|
@@ -4475,6 +4595,8 @@ const DispatchableClientOrchestrationCommand = effect.Schema.Union([
|
|
|
4475
4595
|
ThreadDeleteCommand,
|
|
4476
4596
|
ThreadArchiveCommand,
|
|
4477
4597
|
ThreadUnarchiveCommand,
|
|
4598
|
+
ThreadSnoozeCommand,
|
|
4599
|
+
ThreadUnsnoozeCommand,
|
|
4478
4600
|
ThreadSettleCommand,
|
|
4479
4601
|
ThreadUnsettleCommand,
|
|
4480
4602
|
ThreadMetaUpdateCommand,
|
|
@@ -4510,6 +4632,8 @@ const ClientOrchestrationCommand = effect.Schema.Union([
|
|
|
4510
4632
|
ThreadDeleteCommand,
|
|
4511
4633
|
ThreadArchiveCommand,
|
|
4512
4634
|
ThreadUnarchiveCommand,
|
|
4635
|
+
ThreadSnoozeCommand,
|
|
4636
|
+
ThreadUnsnoozeCommand,
|
|
4513
4637
|
ThreadSettleCommand,
|
|
4514
4638
|
ThreadUnsettleCommand,
|
|
4515
4639
|
ThreadMetaUpdateCommand,
|
|
@@ -4557,6 +4681,8 @@ const ThreadMessageAssistantCompleteCommand = effect.Schema.Struct({
|
|
|
4557
4681
|
commandId: CommandId,
|
|
4558
4682
|
threadId: ThreadId,
|
|
4559
4683
|
messageId: MessageId,
|
|
4684
|
+
text: effect.Schema.optional(effect.Schema.String),
|
|
4685
|
+
attachments: effect.Schema.optional(effect.Schema.Array(ChatAttachment)),
|
|
4560
4686
|
turnId: effect.Schema.optional(TurnId),
|
|
4561
4687
|
createdAt: IsoDateTime
|
|
4562
4688
|
});
|
|
@@ -4638,15 +4764,30 @@ const ThreadGoalSyncCommand = effect.Schema.Struct({
|
|
|
4638
4764
|
commandId: CommandId,
|
|
4639
4765
|
threadId: ThreadId,
|
|
4640
4766
|
goal: ThreadGoal,
|
|
4767
|
+
expectedRequestId: effect.Schema.optional(effect.Schema.String),
|
|
4641
4768
|
createdAt: IsoDateTime
|
|
4642
4769
|
});
|
|
4643
4770
|
const ThreadGoalProviderClearCommand = effect.Schema.Struct({
|
|
4644
4771
|
type: effect.Schema.Literal("thread.goal.provider-clear"),
|
|
4645
4772
|
commandId: CommandId,
|
|
4646
4773
|
threadId: ThreadId,
|
|
4774
|
+
expectedRequestId: effect.Schema.optional(effect.Schema.String),
|
|
4647
4775
|
createdAt: IsoDateTime
|
|
4648
4776
|
});
|
|
4649
4777
|
const InternalOrchestrationCommand = effect.Schema.Union([
|
|
4778
|
+
effect.Schema.Struct({
|
|
4779
|
+
type: effect.Schema.Literal("thread.history.restore"),
|
|
4780
|
+
commandId: CommandId,
|
|
4781
|
+
threadId: ThreadId,
|
|
4782
|
+
providerInstanceId: ProviderInstanceId,
|
|
4783
|
+
runtimeSessionId: RuntimeSessionId,
|
|
4784
|
+
expectedUpdatedAt: IsoDateTime,
|
|
4785
|
+
messages: effect.Schema.Array(OrchestrationMessage),
|
|
4786
|
+
activities: effect.Schema.Array(OrchestrationThreadActivity),
|
|
4787
|
+
completedTurnIds: effect.Schema.Array(TurnId),
|
|
4788
|
+
failedTurnIds: effect.Schema.Array(TurnId),
|
|
4789
|
+
createdAt: IsoDateTime
|
|
4790
|
+
}),
|
|
4650
4791
|
ThreadSessionSetCommand,
|
|
4651
4792
|
ThreadMessageAssistantDeltaCommand,
|
|
4652
4793
|
ThreadMessageAssistantCompleteCommand,
|
|
@@ -4668,6 +4809,8 @@ const OrchestrationEventType = effect.Schema.Literals([
|
|
|
4668
4809
|
"thread.deleted",
|
|
4669
4810
|
"thread.archived",
|
|
4670
4811
|
"thread.unarchived",
|
|
4812
|
+
"thread.snoozed",
|
|
4813
|
+
"thread.unsnoozed",
|
|
4671
4814
|
"thread.settled",
|
|
4672
4815
|
"thread.unsettled",
|
|
4673
4816
|
"thread.meta-updated",
|
|
@@ -4772,6 +4915,16 @@ const ThreadUnarchivedPayload = effect.Schema.Struct({
|
|
|
4772
4915
|
threadId: ThreadId,
|
|
4773
4916
|
updatedAt: IsoDateTime
|
|
4774
4917
|
});
|
|
4918
|
+
const ThreadSnoozedPayload = effect.Schema.Struct({
|
|
4919
|
+
threadId: ThreadId,
|
|
4920
|
+
snoozedUntil: IsoDateTime,
|
|
4921
|
+
snoozedAt: IsoDateTime,
|
|
4922
|
+
updatedAt: IsoDateTime
|
|
4923
|
+
});
|
|
4924
|
+
const ThreadUnsnoozedPayload = effect.Schema.Struct({
|
|
4925
|
+
threadId: ThreadId,
|
|
4926
|
+
updatedAt: IsoDateTime
|
|
4927
|
+
});
|
|
4775
4928
|
const ThreadSettledPayload = effect.Schema.Struct({
|
|
4776
4929
|
threadId: ThreadId,
|
|
4777
4930
|
settledAt: IsoDateTime,
|
|
@@ -5060,6 +5213,16 @@ const OrchestrationEvent = effect.Schema.Union([
|
|
|
5060
5213
|
type: effect.Schema.Literal("thread.unarchived"),
|
|
5061
5214
|
payload: ThreadUnarchivedPayload
|
|
5062
5215
|
}),
|
|
5216
|
+
effect.Schema.Struct({
|
|
5217
|
+
...EventBaseFields,
|
|
5218
|
+
type: effect.Schema.Literal("thread.snoozed"),
|
|
5219
|
+
payload: ThreadSnoozedPayload
|
|
5220
|
+
}),
|
|
5221
|
+
effect.Schema.Struct({
|
|
5222
|
+
...EventBaseFields,
|
|
5223
|
+
type: effect.Schema.Literal("thread.unsnoozed"),
|
|
5224
|
+
payload: ThreadUnsnoozedPayload
|
|
5225
|
+
}),
|
|
5063
5226
|
effect.Schema.Struct({
|
|
5064
5227
|
...EventBaseFields,
|
|
5065
5228
|
type: effect.Schema.Literal("thread.settled"),
|
|
@@ -5503,6 +5666,10 @@ var OrchestrationReplayEventsError = class extends effect.Schema.TaggedError()("
|
|
|
5503
5666
|
message: TrimmedNonEmptyString,
|
|
5504
5667
|
cause: effect.Schema.optional(effect.Schema.Defect())
|
|
5505
5668
|
}) {};
|
|
5669
|
+
var FileAttachmentCreateUploadUrlError = class extends effect.Schema.TaggedError()("FileAttachmentCreateUploadUrlError", {
|
|
5670
|
+
message: TrimmedNonEmptyString,
|
|
5671
|
+
cause: effect.Schema.optional(effect.Schema.Defect())
|
|
5672
|
+
}) {};
|
|
5506
5673
|
const ProviderSessionStatus = effect.Schema.Literals([
|
|
5507
5674
|
"connecting",
|
|
5508
5675
|
"ready",
|
|
@@ -5546,7 +5713,7 @@ const ProviderSessionStartInput = effect.Schema.Struct({
|
|
|
5546
5713
|
});
|
|
5547
5714
|
const ProviderSendTurnInput = effect.Schema.Struct({
|
|
5548
5715
|
threadId: ThreadId,
|
|
5549
|
-
input: effect.Schema.optional(TrimmedNonEmptyString.check(effect.Schema.isMaxLength(
|
|
5716
|
+
input: effect.Schema.optional(TrimmedNonEmptyString.check(effect.Schema.isMaxLength(CONTEXT_HANDOFF_MAX_INPUT_CHARS))),
|
|
5550
5717
|
attachments: effect.Schema.optional(effect.Schema.Array(ChatAttachment).check(effect.Schema.isMaxLength(8))),
|
|
5551
5718
|
sourceControlContexts: effect.Schema.optional(effect.Schema.Array(ComposerSourceControlContext).check(effect.Schema.isMaxLength(10))),
|
|
5552
5719
|
modelSelection: effect.Schema.optional(ModelSelection),
|
|
@@ -6743,7 +6910,7 @@ const AiFocusRefreshIntervalMs = effect_Schema.Literals([
|
|
|
6743
6910
|
const ClientSettingsSchema = effect_Schema.Struct({
|
|
6744
6911
|
aiFocusEnabled: effect_Schema.Boolean.pipe(effect_Schema.withDecodingDefault(effect.Effect.succeed(false))),
|
|
6745
6912
|
aiFocusRefreshIntervalMs: AiFocusRefreshIntervalMs.pipe(effect_Schema.withDecodingDefault(effect.Effect.succeed(6e5))),
|
|
6746
|
-
autoOpenPlanSidebar: effect_Schema.Boolean.pipe(effect_Schema.withDecodingDefault(effect.Effect.succeed(
|
|
6913
|
+
autoOpenPlanSidebar: effect_Schema.Boolean.pipe(effect_Schema.withDecodingDefault(effect.Effect.succeed(true))),
|
|
6747
6914
|
confirmThreadArchive: effect_Schema.Boolean.pipe(effect_Schema.withDecodingDefault(effect.Effect.succeed(false))),
|
|
6748
6915
|
confirmThreadDelete: effect_Schema.Boolean.pipe(effect_Schema.withDecodingDefault(effect.Effect.succeed(true))),
|
|
6749
6916
|
confirmThreadUnpin: effect_Schema.Boolean.pipe(effect_Schema.withDecodingDefault(effect.Effect.succeed(false))),
|
|
@@ -7097,6 +7264,7 @@ const ServerProviderModel = effect.Schema.Struct({
|
|
|
7097
7264
|
shortName: effect.Schema.optional(TrimmedNonEmptyString),
|
|
7098
7265
|
subProvider: effect.Schema.optional(TrimmedNonEmptyString),
|
|
7099
7266
|
aliases: effect.Schema.optional(effect.Schema.Array(TrimmedNonEmptyString)),
|
|
7267
|
+
maxContextTokens: effect.Schema.optional(PositiveInt),
|
|
7100
7268
|
isDefault: effect.Schema.optional(effect.Schema.Boolean),
|
|
7101
7269
|
isLegacy: effect.Schema.optional(effect.Schema.Boolean),
|
|
7102
7270
|
isCustom: effect.Schema.Boolean,
|
|
@@ -7157,10 +7325,10 @@ const ServerProviderRateLimitCredits = effect.Schema.Struct({
|
|
|
7157
7325
|
balance: effect.Schema.optional(TrimmedNonEmptyString)
|
|
7158
7326
|
});
|
|
7159
7327
|
/**
|
|
7160
|
-
* Account-scoped rate-limit snapshot attached to a provider.
|
|
7161
|
-
*
|
|
7162
|
-
* instance
|
|
7163
|
-
*
|
|
7328
|
+
* Account-scoped rate-limit snapshot attached to a provider. Populated by the
|
|
7329
|
+
* drivers that can surface usage limits (Codex, Claude, and OpenCode Go);
|
|
7330
|
+
* each instance yields one snapshot since accounts differ per instance.
|
|
7331
|
+
* Other drivers leave it absent.
|
|
7164
7332
|
*/
|
|
7165
7333
|
const ServerProviderRateLimits = effect.Schema.Struct({
|
|
7166
7334
|
limitId: effect.Schema.optional(TrimmedNonEmptyString),
|
|
@@ -7168,6 +7336,7 @@ const ServerProviderRateLimits = effect.Schema.Struct({
|
|
|
7168
7336
|
planType: effect.Schema.optional(TrimmedNonEmptyString),
|
|
7169
7337
|
primary: effect.Schema.optional(ServerProviderRateLimitWindow),
|
|
7170
7338
|
secondary: effect.Schema.optional(ServerProviderRateLimitWindow),
|
|
7339
|
+
tertiary: effect.Schema.optional(ServerProviderRateLimitWindow),
|
|
7171
7340
|
credits: effect.Schema.optional(ServerProviderRateLimitCredits),
|
|
7172
7341
|
rateLimitReachedType: effect.Schema.optional(TrimmedNonEmptyString)
|
|
7173
7342
|
});
|
|
@@ -7345,6 +7514,206 @@ var ServerProviderUpdateError = class extends effect.Schema.TaggedError()("Serve
|
|
|
7345
7514
|
}
|
|
7346
7515
|
};
|
|
7347
7516
|
//#endregion
|
|
7517
|
+
//#region ../../packages/contracts/src/resourceTelemetry.ts
|
|
7518
|
+
const DiagnosticsPowerSnapshot = effect.Schema.Struct({
|
|
7519
|
+
idleState: effect.Schema.String,
|
|
7520
|
+
idleSeconds: effect.Schema.Number,
|
|
7521
|
+
onBattery: effect.Schema.Boolean,
|
|
7522
|
+
thermalState: effect.Schema.String,
|
|
7523
|
+
speedLimitPercent: effect.Schema.NullOr(effect.Schema.Number),
|
|
7524
|
+
suspended: effect.Schema.Boolean,
|
|
7525
|
+
locked: effect.Schema.optional(effect.Schema.NullOr(effect.Schema.Boolean)),
|
|
7526
|
+
lowPowerMode: effect.Schema.optional(effect.Schema.NullOr(effect.Schema.Boolean)),
|
|
7527
|
+
updatedAt: effect.Schema.optional(IsoDateTime),
|
|
7528
|
+
stale: effect.Schema.optional(effect.Schema.Boolean)
|
|
7529
|
+
});
|
|
7530
|
+
const ResourceTelemetryIoSemantics = effect.Schema.Literals([
|
|
7531
|
+
"storage",
|
|
7532
|
+
"logical",
|
|
7533
|
+
"all-io",
|
|
7534
|
+
"unavailable"
|
|
7535
|
+
]);
|
|
7536
|
+
const ResourceTelemetryProcessCategory = effect.Schema.Literals([
|
|
7537
|
+
"server",
|
|
7538
|
+
"server-child",
|
|
7539
|
+
"provider-root",
|
|
7540
|
+
"terminal-root",
|
|
7541
|
+
"electron-main",
|
|
7542
|
+
"electron-renderer",
|
|
7543
|
+
"electron-gpu",
|
|
7544
|
+
"electron-utility",
|
|
7545
|
+
"resource-monitor",
|
|
7546
|
+
"unknown-ryco"
|
|
7547
|
+
]);
|
|
7548
|
+
const ResourceTelemetrySourceStatus = effect.Schema.Literals([
|
|
7549
|
+
"starting",
|
|
7550
|
+
"healthy",
|
|
7551
|
+
"degraded",
|
|
7552
|
+
"unavailable",
|
|
7553
|
+
"stopped"
|
|
7554
|
+
]);
|
|
7555
|
+
const ResourceTelemetryProcessIdentity = effect.Schema.Struct({
|
|
7556
|
+
pid: PositiveInt,
|
|
7557
|
+
startTimeMs: NonNegativeInt
|
|
7558
|
+
});
|
|
7559
|
+
effect.Schema.Struct({
|
|
7560
|
+
pid: PositiveInt,
|
|
7561
|
+
startTimeMs: effect.Schema.optional(NonNegativeInt)
|
|
7562
|
+
});
|
|
7563
|
+
effect.Schema.Struct({
|
|
7564
|
+
cumulativeCpuTime: effect.Schema.Boolean,
|
|
7565
|
+
currentCpuPercent: effect.Schema.Boolean,
|
|
7566
|
+
residentMemory: effect.Schema.Boolean,
|
|
7567
|
+
virtualMemory: effect.Schema.Boolean,
|
|
7568
|
+
ioBytes: effect.Schema.Boolean,
|
|
7569
|
+
processStartTime: effect.Schema.Boolean,
|
|
7570
|
+
processTree: effect.Schema.Boolean
|
|
7571
|
+
});
|
|
7572
|
+
effect.Schema.Struct({
|
|
7573
|
+
pid: PositiveInt,
|
|
7574
|
+
ppid: NonNegativeInt,
|
|
7575
|
+
startTimeMs: NonNegativeInt,
|
|
7576
|
+
runTimeMs: NonNegativeInt,
|
|
7577
|
+
name: effect.Schema.String,
|
|
7578
|
+
command: effect.Schema.String,
|
|
7579
|
+
status: effect.Schema.String,
|
|
7580
|
+
cpuPercent: effect.Schema.Number,
|
|
7581
|
+
cpuTimeMs: NonNegativeInt,
|
|
7582
|
+
residentBytes: NonNegativeInt,
|
|
7583
|
+
virtualBytes: NonNegativeInt,
|
|
7584
|
+
ioReadBytes: NonNegativeInt,
|
|
7585
|
+
ioWriteBytes: NonNegativeInt,
|
|
7586
|
+
ioSemantics: effect.Schema.Literals(["storage", "all-io"])
|
|
7587
|
+
});
|
|
7588
|
+
const ResourceTelemetryProcess = effect.Schema.Struct({
|
|
7589
|
+
identity: ResourceTelemetryProcessIdentity,
|
|
7590
|
+
ppid: NonNegativeInt,
|
|
7591
|
+
childPids: effect.Schema.Array(PositiveInt),
|
|
7592
|
+
depth: NonNegativeInt,
|
|
7593
|
+
name: effect.Schema.String,
|
|
7594
|
+
command: effect.Schema.String,
|
|
7595
|
+
status: effect.Schema.String,
|
|
7596
|
+
category: ResourceTelemetryProcessCategory,
|
|
7597
|
+
electronType: effect.Schema.optional(effect.Schema.String),
|
|
7598
|
+
electronServiceName: effect.Schema.optional(effect.Schema.String),
|
|
7599
|
+
cpuPercent: effect.Schema.Number,
|
|
7600
|
+
cpuTimeMs: NonNegativeInt,
|
|
7601
|
+
residentBytes: NonNegativeInt,
|
|
7602
|
+
peakResidentBytes: NonNegativeInt,
|
|
7603
|
+
virtualBytes: NonNegativeInt,
|
|
7604
|
+
ioReadBytes: NonNegativeInt,
|
|
7605
|
+
ioWriteBytes: NonNegativeInt,
|
|
7606
|
+
ioReadBytesPerSecond: effect.Schema.Number,
|
|
7607
|
+
ioWriteBytesPerSecond: effect.Schema.Number,
|
|
7608
|
+
ioSemantics: ResourceTelemetryIoSemantics,
|
|
7609
|
+
idleWakeupsPerSecond: effect.Schema.optional(effect.Schema.Number),
|
|
7610
|
+
runTimeMs: NonNegativeInt,
|
|
7611
|
+
firstSeenAt: IsoDateTime,
|
|
7612
|
+
lastSeenAt: IsoDateTime
|
|
7613
|
+
});
|
|
7614
|
+
const ResourceTelemetryAggregate = effect.Schema.Struct({
|
|
7615
|
+
processCount: NonNegativeInt,
|
|
7616
|
+
currentCpuPercent: effect.Schema.Number,
|
|
7617
|
+
cpuTimeMs: NonNegativeInt,
|
|
7618
|
+
currentRssBytes: NonNegativeInt,
|
|
7619
|
+
peakRssBytes: NonNegativeInt,
|
|
7620
|
+
ioReadBytes: NonNegativeInt,
|
|
7621
|
+
ioWriteBytes: NonNegativeInt,
|
|
7622
|
+
ioReadBytesPerSecond: effect.Schema.Number,
|
|
7623
|
+
ioWriteBytesPerSecond: effect.Schema.Number,
|
|
7624
|
+
processStarts: NonNegativeInt,
|
|
7625
|
+
processExits: NonNegativeInt
|
|
7626
|
+
});
|
|
7627
|
+
const ResourceTelemetryGroups = effect.Schema.Struct({
|
|
7628
|
+
backend: ResourceTelemetryAggregate,
|
|
7629
|
+
electron: ResourceTelemetryAggregate,
|
|
7630
|
+
monitor: ResourceTelemetryAggregate,
|
|
7631
|
+
allRyco: ResourceTelemetryAggregate
|
|
7632
|
+
});
|
|
7633
|
+
const ResourceTelemetrySourceHealth = effect.Schema.Struct({
|
|
7634
|
+
status: ResourceTelemetrySourceStatus,
|
|
7635
|
+
lastSampleAt: effect.Schema.NullOr(IsoDateTime),
|
|
7636
|
+
lastError: effect.Schema.NullOr(TrimmedNonEmptyString)
|
|
7637
|
+
});
|
|
7638
|
+
const ResourceTelemetryHealth = effect.Schema.Struct({
|
|
7639
|
+
native: ResourceTelemetrySourceHealth,
|
|
7640
|
+
desktop: ResourceTelemetrySourceHealth,
|
|
7641
|
+
sidecarVersion: effect.Schema.NullOr(TrimmedNonEmptyString),
|
|
7642
|
+
sidecarPid: effect.Schema.NullOr(PositiveInt),
|
|
7643
|
+
restartCount: NonNegativeInt,
|
|
7644
|
+
collectionDurationMicros: NonNegativeInt,
|
|
7645
|
+
scannedProcessCount: NonNegativeInt,
|
|
7646
|
+
retainedProcessCount: NonNegativeInt,
|
|
7647
|
+
inaccessibleProcessCount: NonNegativeInt
|
|
7648
|
+
});
|
|
7649
|
+
const ResourceAttributionEntry = effect.Schema.Struct({
|
|
7650
|
+
component: TrimmedNonEmptyString,
|
|
7651
|
+
operation: TrimmedNonEmptyString,
|
|
7652
|
+
logicalReadBytes: NonNegativeInt,
|
|
7653
|
+
logicalWriteBytes: NonNegativeInt,
|
|
7654
|
+
count: NonNegativeInt,
|
|
7655
|
+
durationMs: NonNegativeInt
|
|
7656
|
+
});
|
|
7657
|
+
const ResourceAttributionSnapshot = effect.Schema.Struct({
|
|
7658
|
+
readAt: IsoDateTime,
|
|
7659
|
+
entries: effect.Schema.Array(ResourceAttributionEntry)
|
|
7660
|
+
});
|
|
7661
|
+
const ResourceTelemetrySnapshot = effect.Schema.Struct({
|
|
7662
|
+
readAt: IsoDateTime,
|
|
7663
|
+
sampleIntervalMs: NonNegativeInt,
|
|
7664
|
+
processes: effect.Schema.Array(ResourceTelemetryProcess),
|
|
7665
|
+
groups: ResourceTelemetryGroups,
|
|
7666
|
+
power: effect.Schema.NullOr(DiagnosticsPowerSnapshot),
|
|
7667
|
+
speedLimitPercent: effect.Schema.NullOr(effect.Schema.Number),
|
|
7668
|
+
attribution: ResourceAttributionSnapshot,
|
|
7669
|
+
health: ResourceTelemetryHealth
|
|
7670
|
+
});
|
|
7671
|
+
const ResourceTelemetryHistoryInput = effect.Schema.Struct({
|
|
7672
|
+
windowMs: NonNegativeInt,
|
|
7673
|
+
bucketMs: NonNegativeInt
|
|
7674
|
+
});
|
|
7675
|
+
const ResourceTelemetryHistoryBucket = effect.Schema.Struct({
|
|
7676
|
+
startedAt: IsoDateTime,
|
|
7677
|
+
endedAt: IsoDateTime,
|
|
7678
|
+
avgCpuPercent: effect.Schema.Number,
|
|
7679
|
+
maxCpuPercent: effect.Schema.Number,
|
|
7680
|
+
maxRssBytes: NonNegativeInt,
|
|
7681
|
+
ioReadBytes: NonNegativeInt,
|
|
7682
|
+
ioWriteBytes: NonNegativeInt,
|
|
7683
|
+
maxProcessCount: NonNegativeInt
|
|
7684
|
+
});
|
|
7685
|
+
const ResourceTelemetryProcessSummary = effect.Schema.Struct({
|
|
7686
|
+
identity: ResourceTelemetryProcessIdentity,
|
|
7687
|
+
ppid: NonNegativeInt,
|
|
7688
|
+
depth: NonNegativeInt,
|
|
7689
|
+
name: effect.Schema.String,
|
|
7690
|
+
command: effect.Schema.String,
|
|
7691
|
+
category: ResourceTelemetryProcessCategory,
|
|
7692
|
+
firstSeenAt: IsoDateTime,
|
|
7693
|
+
lastSeenAt: IsoDateTime,
|
|
7694
|
+
currentCpuPercent: effect.Schema.Number,
|
|
7695
|
+
avgCpuPercent: effect.Schema.Number,
|
|
7696
|
+
maxCpuPercent: effect.Schema.Number,
|
|
7697
|
+
cpuTimeMs: NonNegativeInt,
|
|
7698
|
+
currentRssBytes: NonNegativeInt,
|
|
7699
|
+
peakRssBytes: NonNegativeInt,
|
|
7700
|
+
ioReadBytes: NonNegativeInt,
|
|
7701
|
+
ioWriteBytes: NonNegativeInt,
|
|
7702
|
+
ioSemantics: ResourceTelemetryIoSemantics,
|
|
7703
|
+
sampleCount: NonNegativeInt
|
|
7704
|
+
});
|
|
7705
|
+
const ResourceTelemetryHistory = effect.Schema.Struct({
|
|
7706
|
+
totalCpuTimeMs: effect.Schema.optional(NonNegativeInt),
|
|
7707
|
+
readAt: IsoDateTime,
|
|
7708
|
+
windowMs: NonNegativeInt,
|
|
7709
|
+
bucketMs: NonNegativeInt,
|
|
7710
|
+
sampleIntervalMs: NonNegativeInt,
|
|
7711
|
+
retainedSampleCount: NonNegativeInt,
|
|
7712
|
+
buckets: effect.Schema.Array(ResourceTelemetryHistoryBucket),
|
|
7713
|
+
topProcesses: effect.Schema.Array(ResourceTelemetryProcessSummary),
|
|
7714
|
+
health: ResourceTelemetryHealth
|
|
7715
|
+
});
|
|
7716
|
+
//#endregion
|
|
7348
7717
|
//#region ../../packages/contracts/src/diagnostics.ts
|
|
7349
7718
|
const DiagnosticsWarning = effect.Schema.Struct({
|
|
7350
7719
|
code: TrimmedNonEmptyString,
|
|
@@ -7382,7 +7751,13 @@ const DiagnosticsResourceSample = effect.Schema.Struct({
|
|
|
7382
7751
|
cpu: DiagnosticsResourceCpu,
|
|
7383
7752
|
eventLoopDelayMs: effect.Schema.optional(effect.Schema.Number)
|
|
7384
7753
|
});
|
|
7754
|
+
const DiagnosticsHostResources = effect.Schema.Struct({
|
|
7755
|
+
cpuCount: NonNegativeInt,
|
|
7756
|
+
totalMemoryBytes: NonNegativeInt,
|
|
7757
|
+
availableMemoryBytes: NonNegativeInt
|
|
7758
|
+
});
|
|
7385
7759
|
const DiagnosticsResources = effect.Schema.Struct({
|
|
7760
|
+
host: effect.Schema.optional(DiagnosticsHostResources),
|
|
7386
7761
|
current: DiagnosticsResourceSample,
|
|
7387
7762
|
history: effect.Schema.Array(DiagnosticsResourceSample)
|
|
7388
7763
|
});
|
|
@@ -7469,7 +7844,28 @@ const DiagnosticsDurationBucket = effect.Schema.Struct({
|
|
|
7469
7844
|
maxMs: effect.Schema.optional(NonNegativeInt),
|
|
7470
7845
|
count: NonNegativeInt
|
|
7471
7846
|
});
|
|
7847
|
+
const DiagnosticsTraceSummary = effect.Schema.Struct({
|
|
7848
|
+
parseErrorCount: NonNegativeInt,
|
|
7849
|
+
scannedFilePaths: effect.Schema.Array(TrimmedNonEmptyString),
|
|
7850
|
+
firstSpanAt: effect.Schema.NullOr(IsoDateTime),
|
|
7851
|
+
lastSpanAt: effect.Schema.NullOr(IsoDateTime),
|
|
7852
|
+
failureCount: NonNegativeInt,
|
|
7853
|
+
interruptionCount: NonNegativeInt,
|
|
7854
|
+
slowSpanThresholdMs: NonNegativeInt,
|
|
7855
|
+
slowSpanCount: NonNegativeInt,
|
|
7856
|
+
logLevelCounts: effect.Schema.Record(effect.Schema.String, NonNegativeInt),
|
|
7857
|
+
latestWarningAndErrorLogs: effect.Schema.Array(effect.Schema.Struct({
|
|
7858
|
+
traceId: TrimmedNonEmptyString,
|
|
7859
|
+
spanId: TrimmedNonEmptyString,
|
|
7860
|
+
spanName: TrimmedNonEmptyString,
|
|
7861
|
+
level: TrimmedNonEmptyString,
|
|
7862
|
+
message: effect.Schema.String,
|
|
7863
|
+
seenAt: IsoDateTime
|
|
7864
|
+
})),
|
|
7865
|
+
partialFailure: effect.Schema.Boolean
|
|
7866
|
+
});
|
|
7472
7867
|
const DiagnosticsTracing = effect.Schema.Struct({
|
|
7868
|
+
summary: effect.Schema.optional(DiagnosticsTraceSummary),
|
|
7473
7869
|
retainedSpanCount: NonNegativeInt,
|
|
7474
7870
|
recentSpans: effect.Schema.Array(DiagnosticsSpan),
|
|
7475
7871
|
slowestSpans: effect.Schema.Array(DiagnosticsSpan),
|
|
@@ -7549,6 +7945,37 @@ const DiagnosticsLimits = effect.Schema.Struct({
|
|
|
7549
7945
|
resourceSampleLimit: NonNegativeInt,
|
|
7550
7946
|
fileTailBytes: NonNegativeInt
|
|
7551
7947
|
});
|
|
7948
|
+
const DiagnosticsProcessEntry = effect.Schema.Struct({
|
|
7949
|
+
pid: NonNegativeInt,
|
|
7950
|
+
ppid: NonNegativeInt,
|
|
7951
|
+
startTimeMs: NonNegativeInt,
|
|
7952
|
+
command: effect.Schema.String,
|
|
7953
|
+
status: effect.Schema.String,
|
|
7954
|
+
cpuPercent: effect.Schema.Number,
|
|
7955
|
+
rssBytes: NonNegativeInt,
|
|
7956
|
+
elapsed: effect.Schema.String,
|
|
7957
|
+
depth: NonNegativeInt,
|
|
7958
|
+
childPids: effect.Schema.Array(NonNegativeInt)
|
|
7959
|
+
});
|
|
7960
|
+
const DiagnosticsProcessTree = effect.Schema.Struct({
|
|
7961
|
+
readAt: IsoDateTime,
|
|
7962
|
+
serverPid: NonNegativeInt,
|
|
7963
|
+
processes: effect.Schema.Array(DiagnosticsProcessEntry),
|
|
7964
|
+
totalCpuPercent: effect.Schema.Number,
|
|
7965
|
+
totalRssBytes: NonNegativeInt,
|
|
7966
|
+
error: effect.Schema.optional(effect.Schema.String)
|
|
7967
|
+
});
|
|
7968
|
+
const DiagnosticsSignalProcessInput = effect.Schema.Struct({
|
|
7969
|
+
pid: NonNegativeInt,
|
|
7970
|
+
startTimeMs: NonNegativeInt,
|
|
7971
|
+
signal: effect.Schema.Literals(["SIGINT", "SIGKILL"])
|
|
7972
|
+
});
|
|
7973
|
+
const DiagnosticsSignalProcessResult = effect.Schema.Struct({
|
|
7974
|
+
pid: NonNegativeInt,
|
|
7975
|
+
signal: effect.Schema.Literals(["SIGINT", "SIGKILL"]),
|
|
7976
|
+
signaled: effect.Schema.Boolean,
|
|
7977
|
+
message: effect.Schema.optional(effect.Schema.String)
|
|
7978
|
+
});
|
|
7552
7979
|
const DiagnosticsSnapshot = effect.Schema.Struct({
|
|
7553
7980
|
generatedAt: IsoDateTime,
|
|
7554
7981
|
serverStartedAt: IsoDateTime,
|
|
@@ -7557,6 +7984,8 @@ const DiagnosticsSnapshot = effect.Schema.Struct({
|
|
|
7557
7984
|
observability: DiagnosticsObservability,
|
|
7558
7985
|
resources: DiagnosticsResources,
|
|
7559
7986
|
liveProcesses: DiagnosticsLiveProcesses,
|
|
7987
|
+
processTree: effect.Schema.optional(DiagnosticsProcessTree),
|
|
7988
|
+
telemetry: effect.Schema.optional(ResourceTelemetrySnapshot),
|
|
7560
7989
|
tracing: DiagnosticsTracing,
|
|
7561
7990
|
failures: DiagnosticsFailures,
|
|
7562
7991
|
client: DiagnosticsClient,
|
|
@@ -8201,12 +8630,15 @@ const GitRunStackedActionInput = effect.Schema.Struct({
|
|
|
8201
8630
|
filePaths: effect.Schema.optional(effect.Schema.Array(TrimmedNonEmptyStringSchema).check(effect.Schema.isMinLength(1)))
|
|
8202
8631
|
});
|
|
8203
8632
|
const VcsListRefsInput = effect.Schema.Struct({
|
|
8633
|
+
fetchOrigin: effect.Schema.optional(effect.Schema.Boolean),
|
|
8634
|
+
originOnly: effect.Schema.optional(effect.Schema.Boolean),
|
|
8204
8635
|
cwd: TrimmedNonEmptyStringSchema,
|
|
8205
8636
|
query: effect.Schema.optional(TrimmedNonEmptyStringSchema.check(effect.Schema.isMaxLength(256))),
|
|
8206
8637
|
cursor: effect.Schema.optional(NonNegativeInt),
|
|
8207
8638
|
limit: effect.Schema.optional(PositiveInt.check(effect.Schema.isLessThanOrEqualTo(GIT_LIST_BRANCHES_MAX_LIMIT)))
|
|
8208
8639
|
});
|
|
8209
8640
|
const VcsCreateWorktreeInput = effect.Schema.Struct({
|
|
8641
|
+
fetchOrigin: effect.Schema.optional(effect.Schema.Boolean),
|
|
8210
8642
|
cwd: TrimmedNonEmptyStringSchema,
|
|
8211
8643
|
refName: TrimmedNonEmptyStringSchema,
|
|
8212
8644
|
newRefName: effect.Schema.optional(TrimmedNonEmptyStringSchema),
|
|
@@ -9348,6 +9780,7 @@ const agentControlSlug = TrimmedNonEmptyString.check(effect.Schema.isMaxLength(6
|
|
|
9348
9780
|
const AgentControlCapability = agentControlSlug.pipe(effect.Schema.brand("AgentControlCapability"));
|
|
9349
9781
|
const AGENT_CONTROL_CAPABILITIES = {
|
|
9350
9782
|
read: AgentControlCapability.make("read"),
|
|
9783
|
+
attachFile: AgentControlCapability.make("files.attach"),
|
|
9351
9784
|
createThreads: AgentControlCapability.make("threads.create"),
|
|
9352
9785
|
sendMessage: AgentControlCapability.make("threads.send-message"),
|
|
9353
9786
|
interruptThread: AgentControlCapability.make("threads.interrupt"),
|
|
@@ -9364,6 +9797,8 @@ const AGENT_CONTROL_CAPABILITIES = {
|
|
|
9364
9797
|
readDevices: AgentControlCapability.make("devices.read"),
|
|
9365
9798
|
readDeviceContent: AgentControlCapability.make("devices.content.read"),
|
|
9366
9799
|
controlDevices: AgentControlCapability.make("devices.control"),
|
|
9800
|
+
controlComputer: AgentControlCapability.make("computer.control"),
|
|
9801
|
+
controlBrowser: AgentControlCapability.make("browser.control"),
|
|
9367
9802
|
externalListProjects: AgentControlCapability.make("external.projects.list"),
|
|
9368
9803
|
externalCreateTask: AgentControlCapability.make("external.tasks.create"),
|
|
9369
9804
|
externalReadTask: AgentControlCapability.make("external.tasks.read"),
|
|
@@ -11027,6 +11462,8 @@ const WS_METHODS = {
|
|
|
11027
11462
|
projectsReadFileBinary: "projects.readFileBinary",
|
|
11028
11463
|
projectsWriteFile: "projects.writeFile",
|
|
11029
11464
|
projectsStageFileReference: "projects.stageFileReference",
|
|
11465
|
+
chatAttachmentsCreateFileUpload: "chatAttachments.createFileUpload",
|
|
11466
|
+
chatAttachmentsReadChunk: "chatAttachments.readChunk",
|
|
11030
11467
|
shellOpenInEditor: "shell.openInEditor",
|
|
11031
11468
|
filesystemBrowse: "filesystem.browse",
|
|
11032
11469
|
vcsPull: "vcs.pull",
|
|
@@ -11071,6 +11508,9 @@ const WS_METHODS = {
|
|
|
11071
11508
|
serverCheckOpinionatedPlugins: "server.checkOpinionatedPlugins",
|
|
11072
11509
|
serverInstallOpinionatedPlugin: "server.installOpinionatedPlugin",
|
|
11073
11510
|
serverGetDiagnosticsSnapshot: "server.getDiagnosticsSnapshot",
|
|
11511
|
+
serverGetResourceTelemetryHistory: "server.getResourceTelemetryHistory",
|
|
11512
|
+
serverRetryResourceTelemetry: "server.retryResourceTelemetry",
|
|
11513
|
+
serverSignalDiagnosticProcess: "server.signalDiagnosticProcess",
|
|
11074
11514
|
serverGetStatistics: "server.getStatistics",
|
|
11075
11515
|
serverGetUsageSummary: "server.getUsageSummary",
|
|
11076
11516
|
mcpListWorkspaces: "mcp.listWorkspaces",
|
|
@@ -11130,6 +11570,7 @@ const WS_METHODS = {
|
|
|
11130
11570
|
subscribeAuthAccess: "subscribeAuthAccess"
|
|
11131
11571
|
};
|
|
11132
11572
|
const GitCreateWorktreeForProjectInput = effect.Schema.Struct({
|
|
11573
|
+
fetchOrigin: effect.Schema.optional(effect.Schema.Boolean),
|
|
11133
11574
|
projectId: ProjectId,
|
|
11134
11575
|
intent: CreateWorktreeIntent,
|
|
11135
11576
|
worktreeLocation: effect.Schema.optional(WorktreeCheckoutLocation)
|
|
@@ -11265,6 +11706,21 @@ const WsServerGetDiagnosticsSnapshotRpc = effect_unstable_rpc_Rpc.make(WS_METHOD
|
|
|
11265
11706
|
success: DiagnosticsSnapshot,
|
|
11266
11707
|
error: effect.Schema.Union([DiagnosticsError, AuthRpcError])
|
|
11267
11708
|
});
|
|
11709
|
+
const WsServerGetResourceTelemetryHistoryRpc = effect_unstable_rpc_Rpc.make(WS_METHODS.serverGetResourceTelemetryHistory, {
|
|
11710
|
+
payload: ResourceTelemetryHistoryInput,
|
|
11711
|
+
success: ResourceTelemetryHistory,
|
|
11712
|
+
error: effect.Schema.Union([DiagnosticsError, AuthRpcError])
|
|
11713
|
+
});
|
|
11714
|
+
const WsServerRetryResourceTelemetryRpc = effect_unstable_rpc_Rpc.make(WS_METHODS.serverRetryResourceTelemetry, {
|
|
11715
|
+
payload: effect.Schema.Struct({}),
|
|
11716
|
+
success: ResourceTelemetrySnapshot,
|
|
11717
|
+
error: effect.Schema.Union([DiagnosticsError, AuthRpcError])
|
|
11718
|
+
});
|
|
11719
|
+
const WsServerSignalDiagnosticProcessRpc = effect_unstable_rpc_Rpc.make(WS_METHODS.serverSignalDiagnosticProcess, {
|
|
11720
|
+
payload: DiagnosticsSignalProcessInput,
|
|
11721
|
+
success: DiagnosticsSignalProcessResult,
|
|
11722
|
+
error: effect.Schema.Union([DiagnosticsError, AuthRpcError])
|
|
11723
|
+
});
|
|
11268
11724
|
const WsServerGetStatisticsRpc = effect_unstable_rpc_Rpc.make(WS_METHODS.serverGetStatistics, {
|
|
11269
11725
|
payload: effect.Schema.Struct({}),
|
|
11270
11726
|
success: StatisticsSnapshot,
|
|
@@ -11616,6 +12072,16 @@ const WsProjectsStageFileReferenceRpc = effect_unstable_rpc_Rpc.make(WS_METHODS.
|
|
|
11616
12072
|
success: ProjectStageFileReferenceResult,
|
|
11617
12073
|
error: effect.Schema.Union([ProjectStageFileReferenceError, AuthRpcError])
|
|
11618
12074
|
});
|
|
12075
|
+
const WsChatAttachmentsCreateFileUploadRpc = effect_unstable_rpc_Rpc.make(WS_METHODS.chatAttachmentsCreateFileUpload, {
|
|
12076
|
+
payload: FileAttachmentCreateUploadUrlInput,
|
|
12077
|
+
success: FileAttachmentCreateUploadUrlResult,
|
|
12078
|
+
error: effect.Schema.Union([FileAttachmentCreateUploadUrlError, AuthRpcError])
|
|
12079
|
+
});
|
|
12080
|
+
const WsChatAttachmentsReadChunkRpc = effect_unstable_rpc_Rpc.make(WS_METHODS.chatAttachmentsReadChunk, {
|
|
12081
|
+
payload: ChatAttachmentReadChunkInput,
|
|
12082
|
+
success: ChatAttachmentReadChunkResult,
|
|
12083
|
+
error: effect.Schema.Union([ChatAttachmentReadError, AuthRpcError])
|
|
12084
|
+
});
|
|
11619
12085
|
const WsShellOpenInEditorRpc = effect_unstable_rpc_Rpc.make(WS_METHODS.shellOpenInEditor, {
|
|
11620
12086
|
payload: OpenInEditorInput,
|
|
11621
12087
|
error: effect.Schema.Union([OpenError, AuthRpcError])
|
|
@@ -11995,14 +12461,142 @@ const WsAgentControlDisconnectMcpInstallationRpc = effect_unstable_rpc_Rpc.make(
|
|
|
11995
12461
|
success: AgentControlMcpInstallationMutationResult,
|
|
11996
12462
|
error: effect.Schema.Union([AgentControlExternalRpcError, AuthRpcError])
|
|
11997
12463
|
});
|
|
11998
|
-
const WsRpcGroup = effect_unstable_rpc_RpcGroup.make(WsServerGetConfigRpc, WsServerGetAdvertisedEndpointsRpc, WsServerGetDiagnosticsMetricsRpc, WsServerGetStatisticsRpc, WsServerGetUsageSummaryRpc, WsServerRefreshProvidersRpc, WsServerUpdateProviderRpc, WsServerUpsertKeybindingRpc, WsKeybindingsReplaceCustomRpc, WsServerGetSettingsRpc, WsServerUpdateSettingsRpc, WsServerGetDiagnosticsSnapshotRpc, WsServerDiscoverSourceControlRpc, WsServerListOpinionatedPluginsRpc, WsServerCheckOpinionatedPluginsRpc, WsServerInstallOpinionatedPluginRpc, WsMcpListWorkspacesRpc, WsMcpListServersRpc, WsMcpUpsertServerRpc, WsMcpSetServerEnabledRpc, WsMcpRemoveServerRpc, WsMcpReloadServersRpc, WsMcpStartOauthLoginRpc, WsSourceControlLookupRepositoryRpc, WsSourceControlSearchRepositoriesRpc, WsSourceControlCloneRepositoryRpc, WsSourceControlPublishRepositoryRpc, WsSourceControlListIssuesRpc, WsSourceControlGetIssueRpc, WsSourceControlSearchIssuesRpc, WsSourceControlListChangeRequestsRpc, WsSourceControlSearchChangeRequestsRpc, WsSourceControlGetChangeRequestDetailRpc, WsSourceControlGetChangeRequestDiffRpc, WsSourceControlMergeChangeRequestRpc, WsSourceControlCreateIssueRpc, WsSourceControlAddIssueCommentRpc, WsSourceControlAddIssueCommentReactionRpc, WsSourceControlAddChangeRequestCommentRpc, WsSourceControlAddChangeRequestCommentReactionRpc, WsSourceControlListIssueLabelsRpc, WsSourceControlListIssueAssigneesRpc, WsSourceControlListWorkflowRunsRpc, WsSourceControlGetWorkflowRunJobsRpc, WsSourceControlGetWorkflowJobLogRpc, WsSourceControlRerunWorkflowRpc, WsTextGenerationGenerateIssueContentRpc, WsTextGenerationGenerateBranchNameRpc, WsAtlassianListConnectionsRpc, WsAtlassianStartOAuthRpc, WsAtlassianDisconnectRpc, WsAtlassianRefreshRpc, WsAtlassianListResourcesRpc, WsAtlassianGetProjectLinkRpc, WsAtlassianSaveProjectLinkRpc, WsAtlassianSaveManualBitbucketTokenRpc, WsAtlassianSaveManualJiraTokenRpc, WsWorkItemsListProjectsRpc, WsWorkItemsListRpc, WsWorkItemsSearchRpc, WsWorkItemsGetRpc, WsWorkItemsAddCommentRpc, WsWorkItemsEditCommentRpc, WsWorkItemsUpdateRpc, WsWorkItemsListTransitionsRpc, WsWorkItemsTransitionRpc, WsProjectsListEntriesRpc, WsProjectsSearchEntriesRpc, WsProjectsReadFileRpc, WsProjectsReadFileBinaryRpc, WsProjectsWriteFileRpc, WsProjectsStageFileReferenceRpc, WsShellOpenInEditorRpc, WsFilesystemBrowseRpc, WsSubscribeVcsStatusRpc, WsVcsPullRpc, WsVcsRefreshStatusRpc, WsGitRunStackedActionRpc, WsGitResolvePullRequestRpc, WsGitPreparePullRequestThreadRpc, WsGitCreateWorktreeForProjectRpc, WsGitFindWorktreeForOriginRpc, WsGitArchiveWorktreeRpc, WsGitRestoreWorktreeRpc, WsGitDeleteWorktreeRpc, WsThreadsSetManualBucketRpc, WsThreadsSetManualPositionRpc, WsSearchThreadMessagesRpc, WsThreadPriorityEnsureCurrentRpc, WsWorktreesSetManualPositionRpc, WsProjectsInitializeGitRpc, WsVcsListRefsRpc, WsVcsCreateWorktreeRpc, WsVcsRemoveWorktreeRpc, WsVcsCreateRefRpc, WsVcsSwitchRefRpc, WsVcsInitRpc, WsTerminalOpenRpc, WsTerminalWriteRpc, WsTerminalResizeRpc, WsTerminalClearRpc, WsTerminalRestartRpc, WsTerminalCloseRpc, WsSubscribeTerminalEventsRpc, WsSubscribeServerConfigRpc, WsSubscribeServerLifecycleRpc, WsSubscribeAuthAccessRpc, WsAgentControlListProposalsRpc, WsAgentControlGetProposalRpc, WsAgentControlAcceptProposalRpc, WsAgentControlRejectProposalRpc, WsAgentControlSubscribeProposalsRpc, WsAgentControlListIntegrationsRpc, WsAgentControlCreateIntegrationRpc, WsAgentControlUpdateIntegrationRpc, WsAgentControlResumeIntegrationPairingRpc, WsAgentControlRevokeIntegrationRpc, WsAgentControlDeleteIntegrationRpc, WsAgentControlListMcpInstallationsRpc, WsAgentControlConnectMcpInstallationRpc, WsAgentControlRepairMcpInstallationRpc, WsAgentControlDisconnectMcpInstallationRpc, WsOrchestrationDispatchCommandRpc, WsOrchestrationGetWorkflowScriptRpc, WsOrchestrationGetTaskOutputRpc, WsOrchestrationStopBackgroundTaskRpc, WsOrchestrationGetTurnDiffRpc, WsOrchestrationGetFullThreadDiffRpc, WsOrchestrationSearchThreadMessagesRpc, WsOrchestrationGetThreadWindowRpc, WsOrchestrationGetThreadHistoryPageRpc, WsOrchestrationReplayEventsRpc, WsOrchestrationReplayEventsPageRpc, WsOrchestrationSubscribeShellRpc, WsOrchestrationSubscribeThreadRpc, WsOrchestrationSubscribeThreadWindowRpc, WsContextHandoffGetInspectionSummaryRpc, WsContextHandoffListInspectionEntriesRpc, WsContextHandoffReadRawPayloadChunkRpc, WsContextHandoffReadExportChunkRpc);
|
|
12464
|
+
const WsRpcGroup = effect_unstable_rpc_RpcGroup.make(WsServerGetConfigRpc, WsServerGetAdvertisedEndpointsRpc, WsServerGetDiagnosticsMetricsRpc, WsServerGetStatisticsRpc, WsServerGetUsageSummaryRpc, WsServerRefreshProvidersRpc, WsServerUpdateProviderRpc, WsServerUpsertKeybindingRpc, WsKeybindingsReplaceCustomRpc, WsServerGetSettingsRpc, WsServerUpdateSettingsRpc, WsServerGetDiagnosticsSnapshotRpc, WsServerSignalDiagnosticProcessRpc, WsServerGetResourceTelemetryHistoryRpc, WsServerRetryResourceTelemetryRpc, WsServerDiscoverSourceControlRpc, WsServerListOpinionatedPluginsRpc, WsServerCheckOpinionatedPluginsRpc, WsServerInstallOpinionatedPluginRpc, WsMcpListWorkspacesRpc, WsMcpListServersRpc, WsMcpUpsertServerRpc, WsMcpSetServerEnabledRpc, WsMcpRemoveServerRpc, WsMcpReloadServersRpc, WsMcpStartOauthLoginRpc, WsSourceControlLookupRepositoryRpc, WsSourceControlSearchRepositoriesRpc, WsSourceControlCloneRepositoryRpc, WsSourceControlPublishRepositoryRpc, WsSourceControlListIssuesRpc, WsSourceControlGetIssueRpc, WsSourceControlSearchIssuesRpc, WsSourceControlListChangeRequestsRpc, WsSourceControlSearchChangeRequestsRpc, WsSourceControlGetChangeRequestDetailRpc, WsSourceControlGetChangeRequestDiffRpc, WsSourceControlMergeChangeRequestRpc, WsSourceControlCreateIssueRpc, WsSourceControlAddIssueCommentRpc, WsSourceControlAddIssueCommentReactionRpc, WsSourceControlAddChangeRequestCommentRpc, WsSourceControlAddChangeRequestCommentReactionRpc, WsSourceControlListIssueLabelsRpc, WsSourceControlListIssueAssigneesRpc, WsSourceControlListWorkflowRunsRpc, WsSourceControlGetWorkflowRunJobsRpc, WsSourceControlGetWorkflowJobLogRpc, WsSourceControlRerunWorkflowRpc, WsTextGenerationGenerateIssueContentRpc, WsTextGenerationGenerateBranchNameRpc, WsAtlassianListConnectionsRpc, WsAtlassianStartOAuthRpc, WsAtlassianDisconnectRpc, WsAtlassianRefreshRpc, WsAtlassianListResourcesRpc, WsAtlassianGetProjectLinkRpc, WsAtlassianSaveProjectLinkRpc, WsAtlassianSaveManualBitbucketTokenRpc, WsAtlassianSaveManualJiraTokenRpc, WsWorkItemsListProjectsRpc, WsWorkItemsListRpc, WsWorkItemsSearchRpc, WsWorkItemsGetRpc, WsWorkItemsAddCommentRpc, WsWorkItemsEditCommentRpc, WsWorkItemsUpdateRpc, WsWorkItemsListTransitionsRpc, WsWorkItemsTransitionRpc, WsProjectsListEntriesRpc, WsProjectsSearchEntriesRpc, WsProjectsReadFileRpc, WsProjectsReadFileBinaryRpc, WsProjectsWriteFileRpc, WsProjectsStageFileReferenceRpc, WsChatAttachmentsCreateFileUploadRpc, WsChatAttachmentsReadChunkRpc, WsShellOpenInEditorRpc, WsFilesystemBrowseRpc, WsSubscribeVcsStatusRpc, WsVcsPullRpc, WsVcsRefreshStatusRpc, WsGitRunStackedActionRpc, WsGitResolvePullRequestRpc, WsGitPreparePullRequestThreadRpc, WsGitCreateWorktreeForProjectRpc, WsGitFindWorktreeForOriginRpc, WsGitArchiveWorktreeRpc, WsGitRestoreWorktreeRpc, WsGitDeleteWorktreeRpc, WsThreadsSetManualBucketRpc, WsThreadsSetManualPositionRpc, WsSearchThreadMessagesRpc, WsThreadPriorityEnsureCurrentRpc, WsWorktreesSetManualPositionRpc, WsProjectsInitializeGitRpc, WsVcsListRefsRpc, WsVcsCreateWorktreeRpc, WsVcsRemoveWorktreeRpc, WsVcsCreateRefRpc, WsVcsSwitchRefRpc, WsVcsInitRpc, WsTerminalOpenRpc, WsTerminalWriteRpc, WsTerminalResizeRpc, WsTerminalClearRpc, WsTerminalRestartRpc, WsTerminalCloseRpc, WsSubscribeTerminalEventsRpc, WsSubscribeServerConfigRpc, WsSubscribeServerLifecycleRpc, WsSubscribeAuthAccessRpc, WsAgentControlListProposalsRpc, WsAgentControlGetProposalRpc, WsAgentControlAcceptProposalRpc, WsAgentControlRejectProposalRpc, WsAgentControlSubscribeProposalsRpc, WsAgentControlListIntegrationsRpc, WsAgentControlCreateIntegrationRpc, WsAgentControlUpdateIntegrationRpc, WsAgentControlResumeIntegrationPairingRpc, WsAgentControlRevokeIntegrationRpc, WsAgentControlDeleteIntegrationRpc, WsAgentControlListMcpInstallationsRpc, WsAgentControlConnectMcpInstallationRpc, WsAgentControlRepairMcpInstallationRpc, WsAgentControlDisconnectMcpInstallationRpc, WsOrchestrationDispatchCommandRpc, WsOrchestrationGetWorkflowScriptRpc, WsOrchestrationGetTaskOutputRpc, WsOrchestrationStopBackgroundTaskRpc, WsOrchestrationGetTurnDiffRpc, WsOrchestrationGetFullThreadDiffRpc, WsOrchestrationSearchThreadMessagesRpc, WsOrchestrationGetThreadWindowRpc, WsOrchestrationGetThreadHistoryPageRpc, WsOrchestrationReplayEventsRpc, WsOrchestrationReplayEventsPageRpc, WsOrchestrationSubscribeShellRpc, WsOrchestrationSubscribeThreadRpc, WsOrchestrationSubscribeThreadWindowRpc, WsContextHandoffGetInspectionSummaryRpc, WsContextHandoffListInspectionEntriesRpc, WsContextHandoffReadRawPayloadChunkRpc, WsContextHandoffReadExportChunkRpc);
|
|
11999
12465
|
/**
|
|
12000
12466
|
* Hosted relay channels carry both groups through one lifecycle-owned encrypted
|
|
12001
12467
|
* channel. Direct clients keep the device group on its own low-priority socket
|
|
12002
|
-
* so video-adjacent work cannot contend with chat RPC.
|
|
12468
|
+
* so video-adjacent work cannot contend with chat RPC. The explicit annotation
|
|
12469
|
+
* keeps the merged RPC union within the compiler's serializable type limit.
|
|
12003
12470
|
*/
|
|
12004
12471
|
const WsHostedRpcGroup = WsRpcGroup.merge(WsDeviceRpcGroup);
|
|
12005
12472
|
//#endregion
|
|
12473
|
+
//#region ../../packages/contracts/src/computerUse.ts
|
|
12474
|
+
const boundedText = effect.Schema.String.check(effect.Schema.isMaxLength(512));
|
|
12475
|
+
const ComputerAppAccess = effect.Schema.Literals([
|
|
12476
|
+
"ask",
|
|
12477
|
+
"allow",
|
|
12478
|
+
"block"
|
|
12479
|
+
]);
|
|
12480
|
+
const ComputerBrowser = effect.Schema.Literals([
|
|
12481
|
+
"ryco",
|
|
12482
|
+
"chrome",
|
|
12483
|
+
"brave",
|
|
12484
|
+
"edge"
|
|
12485
|
+
]);
|
|
12486
|
+
const ComputerUsePolicy = effect.Schema.Struct({
|
|
12487
|
+
enabled: effect.Schema.Boolean.pipe(effect.Schema.withDecodingDefault(effect.Effect.succeed(false))),
|
|
12488
|
+
foregroundEnabled: effect.Schema.Boolean.pipe(effect.Schema.withDecodingDefault(effect.Effect.succeed(false))),
|
|
12489
|
+
apps: effect.Schema.Record(boundedText, ComputerAppAccess).pipe(effect.Schema.withDecodingDefault(effect.Effect.succeed({}))),
|
|
12490
|
+
browsers: effect.Schema.Array(ComputerBrowser).pipe(effect.Schema.withDecodingDefault(effect.Effect.succeed([])))
|
|
12491
|
+
});
|
|
12492
|
+
const ComputerUseApp = effect.Schema.Struct({
|
|
12493
|
+
id: boundedText,
|
|
12494
|
+
name: boundedText
|
|
12495
|
+
});
|
|
12496
|
+
const ComputerUseActivity = effect.Schema.Struct({
|
|
12497
|
+
threadId: effect.Schema.String,
|
|
12498
|
+
target: boundedText,
|
|
12499
|
+
mode: effect.Schema.Literals(["background", "foreground"]),
|
|
12500
|
+
action: boundedText,
|
|
12501
|
+
x: effect.Schema.optionalKey(effect.Schema.Number),
|
|
12502
|
+
y: effect.Schema.optionalKey(effect.Schema.Number)
|
|
12503
|
+
});
|
|
12504
|
+
effect.Schema.Struct({
|
|
12505
|
+
policy: ComputerUsePolicy,
|
|
12506
|
+
apps: effect.Schema.Array(ComputerUseApp),
|
|
12507
|
+
connectedBrowsers: effect.Schema.Array(ComputerBrowser),
|
|
12508
|
+
accessibility: effect.Schema.String,
|
|
12509
|
+
screenRecording: effect.Schema.String,
|
|
12510
|
+
helperAvailable: effect.Schema.Boolean,
|
|
12511
|
+
permissionInfo: effect.Schema.optionalKey(effect.Schema.Struct({
|
|
12512
|
+
checkedAt: effect.Schema.NullOr(effect.Schema.String),
|
|
12513
|
+
error: effect.Schema.NullOr(boundedText),
|
|
12514
|
+
appName: boundedText,
|
|
12515
|
+
development: effect.Schema.Boolean
|
|
12516
|
+
})),
|
|
12517
|
+
activity: effect.Schema.NullOr(ComputerUseActivity),
|
|
12518
|
+
error: effect.Schema.NullOr(boundedText)
|
|
12519
|
+
});
|
|
12520
|
+
effect.Schema.Struct({
|
|
12521
|
+
browser: ComputerBrowser,
|
|
12522
|
+
url: effect.Schema.String,
|
|
12523
|
+
token: effect.Schema.String
|
|
12524
|
+
});
|
|
12525
|
+
/** Only the backend receives this through its private bootstrap descriptor. */
|
|
12526
|
+
const ComputerUseBridgeConfig = effect.Schema.Struct({
|
|
12527
|
+
url: effect.Schema.String,
|
|
12528
|
+
token: effect.Schema.String.check(effect.Schema.isMinLength(43), effect.Schema.isMaxLength(43))
|
|
12529
|
+
});
|
|
12530
|
+
const ComputerUseRequest = effect.Schema.Struct({
|
|
12531
|
+
sessionId: effect.Schema.String.check(effect.Schema.isMinLength(1), effect.Schema.isMaxLength(256)),
|
|
12532
|
+
threadId: effect.Schema.String.check(effect.Schema.isMinLength(1), effect.Schema.isMaxLength(256)),
|
|
12533
|
+
turnId: effect.Schema.String.check(effect.Schema.isMinLength(1), effect.Schema.isMaxLength(256)),
|
|
12534
|
+
tool: effect.Schema.Literals(["computer", "browser"]),
|
|
12535
|
+
args: effect.Schema.Record(effect.Schema.String, effect.Schema.Unknown)
|
|
12536
|
+
});
|
|
12537
|
+
const ComputerUseResult = effect.Schema.Struct({
|
|
12538
|
+
content: effect.Schema.Array(effect.Schema.Union([effect.Schema.Struct({
|
|
12539
|
+
type: effect.Schema.Literal("text"),
|
|
12540
|
+
text: effect.Schema.String
|
|
12541
|
+
}), effect.Schema.Struct({
|
|
12542
|
+
type: effect.Schema.Literal("image"),
|
|
12543
|
+
data: effect.Schema.String,
|
|
12544
|
+
mimeType: effect.Schema.Literals(["image/png", "image/jpeg"])
|
|
12545
|
+
})])),
|
|
12546
|
+
isError: effect.Schema.optionalKey(effect.Schema.Boolean)
|
|
12547
|
+
});
|
|
12548
|
+
//#endregion
|
|
12549
|
+
//#region ../../packages/contracts/src/projectBrowser.ts
|
|
12550
|
+
const text = effect.Schema.String.check(effect.Schema.isMaxLength(8192));
|
|
12551
|
+
const ProjectBrowserTab = effect.Schema.Struct({
|
|
12552
|
+
id: effect.Schema.String,
|
|
12553
|
+
project: text,
|
|
12554
|
+
title: text,
|
|
12555
|
+
url: text,
|
|
12556
|
+
loading: effect.Schema.Boolean,
|
|
12557
|
+
canGoBack: effect.Schema.Boolean,
|
|
12558
|
+
canGoForward: effect.Schema.Boolean,
|
|
12559
|
+
zoom: effect.Schema.Number,
|
|
12560
|
+
presentation: effect.Schema.Literals([
|
|
12561
|
+
"background",
|
|
12562
|
+
"panel",
|
|
12563
|
+
"window"
|
|
12564
|
+
]),
|
|
12565
|
+
error: effect.Schema.NullOr(text)
|
|
12566
|
+
});
|
|
12567
|
+
effect.Schema.Struct({ tabs: effect.Schema.Array(ProjectBrowserTab) });
|
|
12568
|
+
effect.Schema.Struct({
|
|
12569
|
+
action: effect.Schema.Literals([
|
|
12570
|
+
"navigate",
|
|
12571
|
+
"back",
|
|
12572
|
+
"forward",
|
|
12573
|
+
"reload",
|
|
12574
|
+
"stop",
|
|
12575
|
+
"close",
|
|
12576
|
+
"zoom",
|
|
12577
|
+
"devtools",
|
|
12578
|
+
"popout",
|
|
12579
|
+
"dock"
|
|
12580
|
+
]),
|
|
12581
|
+
tab: effect.Schema.String,
|
|
12582
|
+
url: effect.Schema.optionalKey(text),
|
|
12583
|
+
zoom: effect.Schema.optionalKey(effect.Schema.Number)
|
|
12584
|
+
});
|
|
12585
|
+
effect.Schema.Struct({
|
|
12586
|
+
owner: effect.Schema.String.check(effect.Schema.isMinLength(1), effect.Schema.isMaxLength(128)),
|
|
12587
|
+
tab: effect.Schema.NullOr(effect.Schema.String),
|
|
12588
|
+
x: effect.Schema.Number,
|
|
12589
|
+
y: effect.Schema.Number,
|
|
12590
|
+
width: effect.Schema.Number,
|
|
12591
|
+
height: effect.Schema.Number
|
|
12592
|
+
});
|
|
12593
|
+
effect.Schema.Struct({
|
|
12594
|
+
url: text,
|
|
12595
|
+
port: effect.Schema.Number,
|
|
12596
|
+
process: effect.Schema.String,
|
|
12597
|
+
projectMatch: effect.Schema.Boolean
|
|
12598
|
+
});
|
|
12599
|
+
//#endregion
|
|
12006
12600
|
//#region ../../packages/shared/src/schemaJson.ts
|
|
12007
12601
|
const decodeJsonResult = (schema) => {
|
|
12008
12602
|
const decode = effect.Schema.decodeExit(effect.Schema.fromJsonString(schema));
|
|
@@ -12825,6 +13419,12 @@ Object.defineProperty(exports, "AuthSessionId", {
|
|
|
12825
13419
|
return AuthSessionId;
|
|
12826
13420
|
}
|
|
12827
13421
|
});
|
|
13422
|
+
Object.defineProperty(exports, "CHAT_ATTACHMENT_READ_CHUNK_BYTES", {
|
|
13423
|
+
enumerable: true,
|
|
13424
|
+
get: function() {
|
|
13425
|
+
return CHAT_ATTACHMENT_READ_CHUNK_BYTES;
|
|
13426
|
+
}
|
|
13427
|
+
});
|
|
12828
13428
|
Object.defineProperty(exports, "CONTEXT_HANDOFF_ACTIVITY_KIND", {
|
|
12829
13429
|
enumerable: true,
|
|
12830
13430
|
get: function() {
|
|
@@ -12849,6 +13449,12 @@ Object.defineProperty(exports, "CONTEXT_HANDOFF_INSPECTION_MAX_RESPONSE_BYTES",
|
|
|
12849
13449
|
return CONTEXT_HANDOFF_INSPECTION_MAX_RESPONSE_BYTES;
|
|
12850
13450
|
}
|
|
12851
13451
|
});
|
|
13452
|
+
Object.defineProperty(exports, "CONTEXT_HANDOFF_MAX_INPUT_CHARS", {
|
|
13453
|
+
enumerable: true,
|
|
13454
|
+
get: function() {
|
|
13455
|
+
return CONTEXT_HANDOFF_MAX_INPUT_CHARS;
|
|
13456
|
+
}
|
|
13457
|
+
});
|
|
12852
13458
|
Object.defineProperty(exports, "CONTEXT_HANDOFF_WS_METHODS", {
|
|
12853
13459
|
enumerable: true,
|
|
12854
13460
|
get: function() {
|
|
@@ -12861,6 +13467,12 @@ Object.defineProperty(exports, "ChatAttachment", {
|
|
|
12861
13467
|
return ChatAttachment;
|
|
12862
13468
|
}
|
|
12863
13469
|
});
|
|
13470
|
+
Object.defineProperty(exports, "ChatAttachmentReadError", {
|
|
13471
|
+
enumerable: true,
|
|
13472
|
+
get: function() {
|
|
13473
|
+
return ChatAttachmentReadError;
|
|
13474
|
+
}
|
|
13475
|
+
});
|
|
12864
13476
|
Object.defineProperty(exports, "CheckpointRef", {
|
|
12865
13477
|
enumerable: true,
|
|
12866
13478
|
get: function() {
|
|
@@ -12891,12 +13503,36 @@ Object.defineProperty(exports, "CommandId", {
|
|
|
12891
13503
|
return CommandId;
|
|
12892
13504
|
}
|
|
12893
13505
|
});
|
|
13506
|
+
Object.defineProperty(exports, "ComputerUseBridgeConfig", {
|
|
13507
|
+
enumerable: true,
|
|
13508
|
+
get: function() {
|
|
13509
|
+
return ComputerUseBridgeConfig;
|
|
13510
|
+
}
|
|
13511
|
+
});
|
|
13512
|
+
Object.defineProperty(exports, "ComputerUseRequest", {
|
|
13513
|
+
enumerable: true,
|
|
13514
|
+
get: function() {
|
|
13515
|
+
return ComputerUseRequest;
|
|
13516
|
+
}
|
|
13517
|
+
});
|
|
13518
|
+
Object.defineProperty(exports, "ComputerUseResult", {
|
|
13519
|
+
enumerable: true,
|
|
13520
|
+
get: function() {
|
|
13521
|
+
return ComputerUseResult;
|
|
13522
|
+
}
|
|
13523
|
+
});
|
|
12894
13524
|
Object.defineProperty(exports, "ContextHandoffActivityPayload", {
|
|
12895
13525
|
enumerable: true,
|
|
12896
13526
|
get: function() {
|
|
12897
13527
|
return ContextHandoffActivityPayload;
|
|
12898
13528
|
}
|
|
12899
13529
|
});
|
|
13530
|
+
Object.defineProperty(exports, "ContextHandoffAppliedBudget", {
|
|
13531
|
+
enumerable: true,
|
|
13532
|
+
get: function() {
|
|
13533
|
+
return ContextHandoffAppliedBudget;
|
|
13534
|
+
}
|
|
13535
|
+
});
|
|
12900
13536
|
Object.defineProperty(exports, "ContextHandoffDigest", {
|
|
12901
13537
|
enumerable: true,
|
|
12902
13538
|
get: function() {
|
|
@@ -13083,6 +13719,12 @@ Object.defineProperty(exports, "EventId", {
|
|
|
13083
13719
|
return EventId;
|
|
13084
13720
|
}
|
|
13085
13721
|
});
|
|
13722
|
+
Object.defineProperty(exports, "FileAttachmentCreateUploadUrlError", {
|
|
13723
|
+
enumerable: true,
|
|
13724
|
+
get: function() {
|
|
13725
|
+
return FileAttachmentCreateUploadUrlError;
|
|
13726
|
+
}
|
|
13727
|
+
});
|
|
13086
13728
|
Object.defineProperty(exports, "FilesystemBrowseError", {
|
|
13087
13729
|
enumerable: true,
|
|
13088
13730
|
get: function() {
|
|
@@ -13311,6 +13953,12 @@ Object.defineProperty(exports, "ModelCapabilities", {
|
|
|
13311
13953
|
return ModelCapabilities;
|
|
13312
13954
|
}
|
|
13313
13955
|
});
|
|
13956
|
+
Object.defineProperty(exports, "ModelContextWindowMetadata", {
|
|
13957
|
+
enumerable: true,
|
|
13958
|
+
get: function() {
|
|
13959
|
+
return ModelContextWindowMetadata;
|
|
13960
|
+
}
|
|
13961
|
+
});
|
|
13314
13962
|
Object.defineProperty(exports, "ModelSelection", {
|
|
13315
13963
|
enumerable: true,
|
|
13316
13964
|
get: function() {
|
|
@@ -14133,6 +14781,12 @@ Object.defineProperty(exports, "ThreadSettlementOverride", {
|
|
|
14133
14781
|
return ThreadSettlementOverride;
|
|
14134
14782
|
}
|
|
14135
14783
|
});
|
|
14784
|
+
Object.defineProperty(exports, "ThreadSnoozedPayload", {
|
|
14785
|
+
enumerable: true,
|
|
14786
|
+
get: function() {
|
|
14787
|
+
return ThreadSnoozedPayload;
|
|
14788
|
+
}
|
|
14789
|
+
});
|
|
14136
14790
|
Object.defineProperty(exports, "ThreadStatusBucketOverriddenPayload", {
|
|
14137
14791
|
enumerable: true,
|
|
14138
14792
|
get: function() {
|
|
@@ -14169,6 +14823,12 @@ Object.defineProperty(exports, "ThreadUnsettledPayload", {
|
|
|
14169
14823
|
return ThreadUnsettledPayload;
|
|
14170
14824
|
}
|
|
14171
14825
|
});
|
|
14826
|
+
Object.defineProperty(exports, "ThreadUnsnoozedPayload", {
|
|
14827
|
+
enumerable: true,
|
|
14828
|
+
get: function() {
|
|
14829
|
+
return ThreadUnsnoozedPayload;
|
|
14830
|
+
}
|
|
14831
|
+
});
|
|
14172
14832
|
Object.defineProperty(exports, "ToolLifecycleItemType", {
|
|
14173
14833
|
enumerable: true,
|
|
14174
14834
|
get: function() {
|