lody 0.115.0 → 0.116.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{access-Sut1_1-c.js → access-DIhEb_MP.js} +333 -314
- package/dist/{acp-interaction-owner-uSfNzpiU.js → acp-interaction-owner-8OMcZVET.js} +33 -33
- package/dist/{agent-execution-D1-dEIN6.js → agent-execution-ZTPT3A88.js} +13 -13
- package/dist/{analytics-events-BQIrmfJp.js → analytics-events-BNLOju7l.js} +2 -2
- package/dist/{app-J2sTmsZo.js → app-DzrwnZPK.js} +34 -34
- package/dist/{application-runtime-BPgp9fKR.js → application-runtime-4EGQJvLm.js} +2 -2
- package/dist/{auth-CTegS0TL.js → auth-CA7u_ijj.js} +8 -8
- package/dist/{automation-BL7x_nUm.js → automation-ClFKwWKg.js} +34 -34
- package/dist/baguette-worker.js +6 -6
- package/dist/chunks/{vendor-@agentclientprotocol-sdk-CpxTRW1f.js → vendor-@agentclientprotocol-sdk-54yhgJSn.js} +2 -2
- package/dist/chunks/{vendor-@anthropic-ai-claude-agent-sdk-B0HhZ112.js → vendor-@anthropic-ai-claude-agent-sdk-NAjHQcVv.js} +27 -3
- package/dist/chunks/{vendor-@better-auth-api-key-D0bKvhcn.js → vendor-@better-auth-api-key-Dy9PtbSj.js} +2 -2
- package/dist/chunks/{vendor-@better-auth-core-Dpzqxq_j.js → vendor-@better-auth-core-C7hql1k7.js} +8 -8
- package/dist/chunks/{vendor-@effect-platform-node-shared-DkrmBObz.js → vendor-@effect-platform-node-shared-DUSlMsdQ.js} +2 -2
- package/dist/chunks/{vendor-@loro-dev-streams-client-DPTfaXHE.js → vendor-@loro-dev-streams-client-DkeRiNAY.js} +1329 -88
- package/dist/chunks/{vendor-@loro-dev-streams-crdt-BOuVa3yO.js → vendor-@loro-dev-streams-crdt-CsXRvQxK.js} +861 -322
- package/dist/chunks/{vendor-@modelcontextprotocol-client-B_Q9G9Ku.js → vendor-@modelcontextprotocol-client-DuJtk4js.js} +3 -3
- package/dist/chunks/{vendor-@modelcontextprotocol-core-CW-vRGZP.js → vendor-@modelcontextprotocol-core-BkUcdvo6.js} +2 -2
- package/dist/chunks/{vendor-@modelcontextprotocol-node-CSCPUEbv.js → vendor-@modelcontextprotocol-node-D0s30TCx.js} +2 -2
- package/dist/chunks/{vendor-@modelcontextprotocol-server-BA5N3RYD.js → vendor-@modelcontextprotocol-server-C9c_OMTp.js} +3 -3
- package/dist/chunks/{vendor-@opencode-codemode-61MXX511.js → vendor-@opencode-codemode-DmkYINkB.js} +2 -2
- package/dist/chunks/{vendor-@sorbetai-artifacts-Dt9BTK8Q.js → vendor-@sorbetai-artifacts-Vz3r0uhj.js} +3 -3
- package/dist/chunks/{vendor-@sorbetai-context-COh8_Kmc.js → vendor-@sorbetai-context-BV7q3KwO.js} +2 -2
- package/dist/chunks/{vendor-@sorbetai-control-HcZa4Y-V.js → vendor-@sorbetai-control-C9pxQF9a.js} +137 -51
- package/dist/chunks/{vendor-@sorbetai-plugins-Bs93fyHc.js → vendor-@sorbetai-plugins-COkYjDxn.js} +3 -3
- package/dist/chunks/{vendor-@sorbetai-runtime-kicj4Xs_.js → vendor-@sorbetai-runtime-DKAfUiS0.js} +172 -60
- package/dist/chunks/{vendor-@sorbetai-schema-BYxzbt6U.js → vendor-@sorbetai-schema-D53JJ0HJ.js} +2 -2
- package/dist/chunks/{vendor-better-auth-PQ6PT4aF.js → vendor-better-auth-D1bP-dEy.js} +2 -2
- package/dist/chunks/{vendor-effect-CNM-5PoN.js → vendor-effect-BTVRmkqM.js} +418 -418
- package/dist/chunks/{vendor-es-toolkit-DnvFX_hl.js → vendor-es-toolkit-BDp9OdLC.js} +4 -4
- package/dist/chunks/{vendor-loro-repo-B1zdQ8Qd.js → vendor-loro-repo-DbOhEZ39.js} +2166 -93
- package/dist/chunks/{vendor-zod-DAcQjQuC.js → vendor-zod-nebGZ0VM.js} +6 -6
- package/dist/claude-acp.js +28 -7
- package/dist/{cli-platform-Cfc6A61f.js → cli-platform-qpp4fxi7.js} +6 -6
- package/dist/{cli-presence-application-D2Dn0fPM.js → cli-presence-application-Cw9rnD3u.js} +18 -18
- package/dist/{client-BsIzN-iC.js → client-09TiIsd2.js} +33 -33
- package/dist/{cloudflared-native-DmvSYnMb.js → cloudflared-native-Ber1sIlU.js} +4 -4
- package/dist/cloudflared-worker.js +7 -7
- package/dist/{code-collab-Cgso3Ix3.js → code-collab-DRoDl8u7.js} +3 -3
- package/dist/codex-acp.js +2 -1
- package/dist/{command-runtime-C7EPuHLe.js → command-runtime-CYs2KAyh.js} +774 -224
- package/dist/{const-LYLptZ7f.js → const-C9yql4zo.js} +2 -2
- package/dist/{control-CgRxpxvc.js → control-HMzEZJTm.js} +36 -36
- package/dist/{cross-workspace-D6-aE1-w.js → cross-workspace-CEB-pWmO.js} +3 -3
- package/dist/{daemon-runner-Bn8O9-a0.js → daemon-runner-BHgvKJ_l.js} +27 -27
- package/dist/{daemon-DWm2IzH9.js → daemon-s8LqFNYd.js} +30 -30
- package/dist/{daemon-session-tools-BSAgq4O1.js → daemon-session-tools-CrxHUVDk.js} +46 -46
- package/dist/{daemon-shared-NcwWGSEj.js → daemon-shared-BGfDcTED.js} +10 -10
- package/dist/{daemon-update-qOLnkZcv.js → daemon-update-BjGbzSFc.js} +2 -2
- package/dist/deepseek-acp.js +14 -2
- package/dist/{deepseek-harness-runtime-D6lV9pxi.js → deepseek-harness-runtime-CtfyKY7w.js} +8 -8
- package/dist/{deepseek-system-node-C2YpUQwp.js → deepseek-system-node-CBHH8N-Z.js} +4 -4
- package/dist/{device-preview-BjqAbZ9g.js → device-preview-WVdriBmC.js} +36 -11
- package/dist/devin-acp.js +2 -1
- package/dist/{diff-line-counts-ClicfZ_E.js → diff-line-counts-C7vhQioX.js} +2 -2
- package/dist/{diff-worker-task-BVD3EgeO.js → diff-worker-task-wwEm25bo.js} +2 -2
- package/dist/diff-worker.js +5 -5
- package/dist/{discovery-query-C_7lyBI8.js → discovery-query-6rvHO0Ax.js} +4 -4
- package/dist/{dsh-DVyIAYZ9.js → dsh-D8jYqbih.js} +9 -9
- package/dist/{dsh-plugins-Dfsqsiu7.js → dsh-plugins-BGuhIgPz.js} +15 -15
- package/dist/{e2ee-CslOKVIM.js → e2ee-BDxs5Gma.js} +3 -3
- package/dist/{e2ee-execution-intent-DYBEG410.js → e2ee-execution-intent-BTTWEaTs.js} +4 -4
- package/dist/{export-C-zeWP1i.js → export-BVe6KJcH.js} +40 -40
- package/dist/{feedback-Dde39k5W.js → feedback-8RRkLuXP.js} +34 -34
- package/dist/{feedback-jvl2Dz8w.js → feedback-Da3aBQ2E.js} +4 -4
- package/dist/{file-index-scan-core-Bta7tnbY.js → file-index-scan-core-QNHdA1nq.js} +5 -5
- package/dist/file-index-scan-worker.js +8 -8
- package/dist/{file-lock-By0YSSDw.js → file-lock-Oeerthnp.js} +9 -9
- package/dist/{github-BtMkInqL.js → github-B3lOSLjx.js} +33 -33
- package/dist/grok-acp.js +2 -1
- package/dist/{http-transport-C1f1XEnB.js → http-transport-3J_3rzKQ.js} +6 -6
- package/dist/{index-C41WZg1y.js → index-C5TYbo5p.js} +2 -2
- package/dist/{index-CitAbDql.js → index-CNsJ2gEh.js} +19 -6
- package/dist/{index-BUam8GIX.js → index-CbO2HBCx.js} +35 -35
- package/dist/{index-Ce9khNjj.js → index-CvTdgB45.js} +87 -75
- package/dist/{index-BsfKnSuo.js → index-CzJfh76P.js} +991 -964
- package/dist/index-DdJk9U2O.js +202 -0
- package/dist/{index-Dy-FYtdl.js → index-DtKSPvAx.js} +41 -41
- package/dist/{index-CZG5q6QS.js → index-PK9ed2VJ.js} +4 -4
- package/dist/{index-CwHleXV2.js → index-Z-EXLH2-.js} +2 -2
- package/dist/index.js +15 -15
- package/dist/{internal-BPOwohVc.js → internal-210PnQHj.js} +48 -48
- package/dist/{ios-simulator-BduF_qia.js → ios-simulator-B8Edygo_.js} +10 -10
- package/dist/{local-cli-host-lease-Chm4-jV0.js → local-cli-host-lease-BcOQ-7Gk.js} +3 -3
- package/dist/{local-ipc-B8vySppK.js → local-ipc-BNwkKO5i.js} +156 -103
- package/dist/{local-project-control-client-CIBpaXbo.js → local-project-control-client-BKaZlhrn.js} +5 -5
- package/dist/{lody-mcp-http-protocol-DBLKn7SZ.js → lody-mcp-http-protocol-C24PR-58.js} +46 -10
- package/dist/{lody-mcp-server-B4OeNPT4.js → lody-mcp-server-C_KUMdUq.js} +84 -39
- package/dist/{logger-C-G7jpWR.js → logger-zm-QQb1B.js} +2 -2
- package/dist/{login-Df1IkdeV.js → login-DoRU06W8.js} +18 -18
- package/dist/{login-shell-env-HKDW5zwx.js → login-shell-env-CFLesG20.js} +6 -6
- package/dist/{logout-gDuSiB0l.js → logout-4T76xG1C.js} +18 -18
- package/dist/{machine-bjdZ1hmy.js → machine-BFM6JQSw.js} +42 -42
- package/dist/{machine-identity-restore-BuoxXyiw.js → machine-identity-restore-CYjkTQcN.js} +3 -3
- package/dist/{machine-protocol-capabilities-DEhAj9SH.js → machine-protocol-capabilities-DcJpLvsC.js} +68 -47
- package/dist/{magpie-import-IrqfCF6i.js → magpie-import-CsiqaviF.js} +52 -50
- package/dist/{managed-daemon-forwarding-BpXhy_-O.js → managed-daemon-forwarding-D10w26x_.js} +9 -9
- package/dist/{managed-daemon-release-CwkvVtSj.js → managed-daemon-release-Bq0NQ5KB.js} +8 -8
- package/dist/{mcp-DTnh_PAT.js → mcp-CFSVE37k.js} +39 -39
- package/dist/{migrate-CUdZ3XBR.js → migrate-D0JGnFDi.js} +40 -38
- package/dist/{open-browser-3TOC7G1u.js → open-browser-CXJ_k8PZ.js} +3 -3
- package/dist/{operation-CzLcjV3W.js → operation-CjjYD8KR.js} +35 -35
- package/dist/{operation-store-rllAX2mr.js → operation-store-CjW-plfi.js} +6 -6
- package/dist/{presence-CZco7UQH.js → presence-DfPa6xSX.js} +95 -71
- package/dist/{presence-legacy-DIYBtj5j.js → presence-legacy-B7H0xyqf.js} +5 -5
- package/dist/{process-DrX1wZZk.js → process-BU5vWwzZ.js} +3 -3
- package/dist/{process-options-DNYWY_s6.js → process-options-CvxupoAj.js} +4 -4
- package/dist/{project-C_EZ2dLN.js → project-DbFdl-Tc.js} +41 -41
- package/dist/{project-path-CAQE9bes.js → project-path-BylnHhzQ.js} +11 -11
- package/dist/{realtime-journal-DyMe8jsR.js → realtime-journal-D5hdU6Fc.js} +2 -2
- package/dist/{register-VLBUVPh5.js → register-DzkfcD0R.js} +33 -33
- package/dist/{registry-generated-wkLapT7U.js → registry-generated-BtQFYqS0.js} +30 -30
- package/dist/{remote-pairing-D24xSpRh.js → remote-pairing-B-1pCVbn.js} +40 -40
- package/dist/{reset-identity-DVubJrt0.js → reset-identity-BKSdKzDv.js} +40 -40
- package/dist/{review-6aCgWEdv.js → review-DHDdCwwj.js} +9 -9
- package/dist/{review-viewer-CRYK94SE.js → review-viewer-DO7rhsH9.js} +3 -3
- package/dist/{rpc-secret-CPdan_XW.js → rpc-secret-Ds9rnsWf.js} +2 -2
- package/dist/{runtime-diagnostics-5l1pBD3m.js → runtime-diagnostics-BElvgU5u.js} +5 -5
- package/dist/{schedule-CGTbG70S.js → schedule-C-UJnfpM.js} +39 -39
- package/dist/{schedule-command-client-C6matZWn.js → schedule-command-client-B2k5ix1s.js} +38 -38
- package/dist/{schedule-command-service-2gToipBI.js → schedule-command-service-pFq9cQHf.js} +134 -58
- package/dist/{schedule-documents-DRc0byQm.js → schedule-documents-Di23etFx.js} +3 -3
- package/dist/{schedule-recurrence-BVxMRfp4.js → schedule-recurrence-D4r80Udd.js} +42 -14
- package/dist/{schedule-repository-dz9iwR0x.js → schedule-repository-BNUNXl15.js} +4 -4
- package/dist/{schedule-run-preparation-1oSQ5i-A.js → schedule-run-preparation-D2GjotJy.js} +5 -5
- package/dist/{schedule-types-BquxGfza.js → schedule-types-B9O0I1Ui.js} +472 -364
- package/dist/{service-D9xJKmI-.js → service-pb71b8fj.js} +5 -5
- package/dist/{session-npaRR-y3.js → session-C6dNbMjx.js} +21 -21
- package/dist/{session-file-blob-store-CBHDgf4e.js → session-file-blob-store-CdpmEU94.js} +4 -4
- package/dist/{session-image-download-DUwc2Fb4.js → session-image-download-DeZ6r1-w.js} +4 -4
- package/dist/{session-input-MeZheBJ0.js → session-input-Dz8R9xPL.js} +3 -3
- package/dist/{session-link-demCF_Y_.js → session-link-CABPzB2T.js} +51 -2
- package/dist/{session-link-export-BM1zZQRs.js → session-link-export-CabjkQNk.js} +3 -3
- package/dist/{session-operation-targets-lq3rsTnV.js → session-operation-targets-B-VimRwZ.js} +3 -3
- package/dist/{setting-Cq6nKJgF.js → setting-CKO-Tb-e.js} +116 -64
- package/dist/{start-BolVcMOA.js → start-B83c1-EW.js} +957 -297
- package/dist/streams-crdt-factory-CkuXGilB.js +17 -0
- package/dist/{subagent-emitter-DALyc5yu.js → subagent-emitter-D-zUFnS9.js} +2 -2
- package/dist/{subagent-events-CyFbbE20.js → subagent-events-D22OQNDm.js} +7 -2
- package/dist/{sync-BrDYKZ4H.js → sync-Cf_HanAI.js} +35 -35
- package/dist/{time-sync-D63wG9u-.js → time-sync-DjSg4eHx.js} +2 -2
- package/dist/{workspace-Bthb-nhu.js → workspace-BCjgp5pF.js} +36 -36
- package/dist/{workspace-legacy-jZ0D5Xl-.js → workspace-legacy-DJAko-Yj.js} +24 -24
- package/package.json +5 -5
- package/dist/index-BTgKuz44.js +0 -65
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { p as pkceChallenge } from "./vendor-pkce-challenge-Cq0elRmW.js";
|
|
2
2
|
import { E as EventSourceParserStream } from "./vendor-eventsource-parser-CGZtgUzy.js";
|
|
3
|
-
import { a as JSONRPCRequestSchema, I as InitializeRequestSchema, c as JSONRPCErrorResponseSchema, bd as InitializedNotificationSchema, S as SUPPORTED_PROTOCOL_VERSIONS, b as JSONRPCResultResponseSchema, J as JSONRPCMessageSchema, d as JSONRPCNotificationSchema, P as PROTOCOL_VERSION_META_KEY, C as CLIENT_CAPABILITIES_META_KEY, L as LOG_LEVEL_META_KEY, e as CLIENT_INFO_META_KEY, f as SERVER_INFO_META_KEY, E as ElicitRequestFormParamsSchema, g as StringSchemaSchema, O as OpenIdProviderMetadataSchema, h as OpenIdProviderDiscoveryMetadataSchema, i as OAuthTokensSchema, j as OAuthTokenRevocationRequestSchema, k as OAuthProtectedResourceMetadataSchema, l as OAuthMetadataSchema, m as OAuthErrorResponseSchema, n as OAuthClientRegistrationErrorSchema, o as OAuthClientMetadataSchema, p as OAuthClientInformationSchema, q as OAuthClientInformationFullSchema, r as IdJagTokenExchangeResponseSchema, s as PrimitiveSchemaDefinitionSchema, U as UntitledMultiSelectEnumSchemaSchema, T as TitledMultiSelectEnumSchemaSchema, B as BooleanSchemaSchema, N as NumberSchemaSchema, t as UntitledSingleSelectEnumSchemaSchema, u as TitledSingleSelectEnumSchemaSchema, v as LegacyTitledEnumSchemaSchema, w as UnsubscribeRequestSchema, x as UnsubscribeRequestParamsSchema, y as ToolUseContentSchema, z as ToolSchema, A as ToolResultContentSchema, D as ToolListChangedNotificationSchema, F as ToolExecutionSchema, G as ToolChoiceSchema, H as ToolAnnotationsSchema, K as TextResourceContentsSchema, M as TextContentSchema, Q as TaskStatusSchema, R as TaskStatusNotificationSchema, V as TaskStatusNotificationParamsSchema, W as TaskSchema, X as TaskMetadataSchema, Y as TaskCreationParamsSchema, Z as TaskAugmentedRequestParamsSchema, _ as SubscriptionsListenResultSchema, $ as SubscriptionsListenResultMetaSchema, a0 as SubscriptionsListenRequestSchema, a1 as SubscriptionsListenRequestParamsSchema, a2 as SubscriptionsAcknowledgedNotificationSchema, a3 as SubscriptionsAcknowledgedNotificationParamsSchema, a4 as SubscriptionFilterSchema, a5 as SubscribeRequestSchema, a6 as SubscribeRequestParamsSchema, a7 as SingleSelectEnumSchemaSchema, a8 as SetLevelRequestSchema, a9 as SetLevelRequestParamsSchema, aa as ServerTasksCapabilitySchema, ab as ServerResultSchema, ac as ServerRequestSchema, ad as ServerNotificationSchema, ae as ServerCapabilitiesSchema, af as SamplingMessageSchema, ag as SamplingMessageContentBlockSchema, ah as SamplingContentSchema, ai as RootsListChangedNotificationSchema, aj as RootSchema, ak as RoleSchema, al as ResultSchema, am as ResultMetaObjectSchema, an as ResourceUpdatedNotificationSchema, ao as ResourceUpdatedNotificationParamsSchema, ap as ResourceTemplateSchema, aq as ResourceTemplateReferenceSchema, ar as ResourceSchema, as as ResourceRequestParamsSchema, at as ResourceListChangedNotificationSchema, au as ResourceLinkSchema, av as ResourceContentsSchema, aw as RequestSchema, ax as RequestMetaSchema, ay as RequestIdSchema, az as RelatedTaskMetadataSchema, aA as ReadResourceResultSchema, aB as ReadResourceRequestSchema, aC as ReadResourceRequestParamsSchema, aD as PromptSchema, aE as PromptReferenceSchema, aF as PromptMessageSchema, aG as PromptListChangedNotificationSchema, aH as PromptArgumentSchema, aI as ProgressTokenSchema, aJ as ProgressSchema, aK as ProgressNotificationSchema, aL as ProgressNotificationParamsSchema, aM as PingRequestSchema, aN as PaginatedResultSchema, aO as PaginatedRequestSchema, aP as PaginatedRequestParamsSchema, aQ as NotificationsParamsSchema, aR as NotificationSchema, aS as MultiSelectEnumSchemaSchema, aT as ModelPreferencesSchema, aU as ModelHintSchema, aV as LoggingMessageNotificationSchema, aW as LoggingMessageNotificationParamsSchema, aX as LoggingLevelSchema, aY as ListToolsResultSchema, aZ as ListToolsRequestSchema, a_ as ListTasksResultSchema, a$ as ListTasksRequestSchema, b0 as ListRootsResultSchema, b1 as ListRootsRequestSchema, b2 as ListResourcesResultSchema, b3 as ListResourcesRequestSchema, b4 as ListResourceTemplatesResultSchema, b5 as ListResourceTemplatesRequestSchema, b6 as ListPromptsResultSchema, b7 as ListPromptsRequestSchema, b8 as ListChangedOptionsBaseSchema, b9 as JSONValueSchema, ba as JSONRPCResponseSchema, bb as JSONObjectSchema, bc as JSONArraySchema, be as InitializeResultSchema, bf as InitializeRequestParamsSchema, bg as ImplementationSchema, bh as ImageContentSchema, bi as IconsSchema, bj as IconSchema, bk as GetTaskResultSchema, bl as GetTaskRequestSchema, bm as GetTaskPayloadResultSchema, bn as GetTaskPayloadRequestSchema, bo as GetPromptResultSchema, bp as GetPromptRequestSchema, bq as GetPromptRequestParamsSchema, br as EnumSchemaSchema, bs as EmptyResultSchema, bt as EmbeddedResourceSchema, bu as ElicitationCompleteNotificationSchema, bv as ElicitationCompleteNotificationParamsSchema, bw as ElicitResultSchema, bx as ElicitRequestURLParamsSchema, by as ElicitRequestSchema, bz as ElicitRequestParamsSchema, bA as DiscoverResultSchema, bB as DiscoverRequestSchema, bC as CursorSchema, bD as CreateTaskResultSchema, bE as CreateMessageResultWithToolsSchema, bF as CreateMessageResultSchema, bG as CreateMessageRequestSchema, bH as CreateMessageRequestParamsSchema, bI as ContentBlockSchema, bJ as CompleteResultSchema, bK as CompleteRequestSchema, bL as CompleteRequestParamsSchema, bM as CompatibilityCallToolResultSchema, bN as ClientTasksCapabilitySchema, bO as ClientResultSchema, bP as ClientRequestSchema, bQ as ClientNotificationSchema, bR as ClientCapabilitiesSchema, bS as CancelledNotificationSchema, bT as CancelledNotificationParamsSchema, bU as CancelTaskResultSchema, bV as CancelTaskRequestSchema, bW as CallToolResultSchema, bX as CallToolRequestSchema, bY as CallToolRequestParamsSchema, bZ as BlobResourceContentsSchema, b_ as BaseRequestParamsSchema, b$ as BaseMetadataSchema, c0 as AudioContentSchema, c1 as AnnotationsSchema, c3 as SUBSCRIPTION_ID_META_KEY, c2 as LATEST_PROTOCOL_VERSION } from "./vendor-@modelcontextprotocol-core-
|
|
4
|
-
import { s as safeParse, o as object, l as looseObject, a as literal, b as lazy, u as union, c as string, n as number, d as boolean, _ as _null, r as record, e as array, f as _enum, i as intersection, p as preprocess, g as optional, h as unknown, j as datetime, k as discriminatedUnion, t as toJSONSchema, m as date, q as url, v as email } from "./vendor-zod-
|
|
3
|
+
import { a as JSONRPCRequestSchema, I as InitializeRequestSchema, c as JSONRPCErrorResponseSchema, bd as InitializedNotificationSchema, S as SUPPORTED_PROTOCOL_VERSIONS, b as JSONRPCResultResponseSchema, J as JSONRPCMessageSchema, d as JSONRPCNotificationSchema, P as PROTOCOL_VERSION_META_KEY, C as CLIENT_CAPABILITIES_META_KEY, L as LOG_LEVEL_META_KEY, e as CLIENT_INFO_META_KEY, f as SERVER_INFO_META_KEY, E as ElicitRequestFormParamsSchema, g as StringSchemaSchema, O as OpenIdProviderMetadataSchema, h as OpenIdProviderDiscoveryMetadataSchema, i as OAuthTokensSchema, j as OAuthTokenRevocationRequestSchema, k as OAuthProtectedResourceMetadataSchema, l as OAuthMetadataSchema, m as OAuthErrorResponseSchema, n as OAuthClientRegistrationErrorSchema, o as OAuthClientMetadataSchema, p as OAuthClientInformationSchema, q as OAuthClientInformationFullSchema, r as IdJagTokenExchangeResponseSchema, s as PrimitiveSchemaDefinitionSchema, U as UntitledMultiSelectEnumSchemaSchema, T as TitledMultiSelectEnumSchemaSchema, B as BooleanSchemaSchema, N as NumberSchemaSchema, t as UntitledSingleSelectEnumSchemaSchema, u as TitledSingleSelectEnumSchemaSchema, v as LegacyTitledEnumSchemaSchema, w as UnsubscribeRequestSchema, x as UnsubscribeRequestParamsSchema, y as ToolUseContentSchema, z as ToolSchema, A as ToolResultContentSchema, D as ToolListChangedNotificationSchema, F as ToolExecutionSchema, G as ToolChoiceSchema, H as ToolAnnotationsSchema, K as TextResourceContentsSchema, M as TextContentSchema, Q as TaskStatusSchema, R as TaskStatusNotificationSchema, V as TaskStatusNotificationParamsSchema, W as TaskSchema, X as TaskMetadataSchema, Y as TaskCreationParamsSchema, Z as TaskAugmentedRequestParamsSchema, _ as SubscriptionsListenResultSchema, $ as SubscriptionsListenResultMetaSchema, a0 as SubscriptionsListenRequestSchema, a1 as SubscriptionsListenRequestParamsSchema, a2 as SubscriptionsAcknowledgedNotificationSchema, a3 as SubscriptionsAcknowledgedNotificationParamsSchema, a4 as SubscriptionFilterSchema, a5 as SubscribeRequestSchema, a6 as SubscribeRequestParamsSchema, a7 as SingleSelectEnumSchemaSchema, a8 as SetLevelRequestSchema, a9 as SetLevelRequestParamsSchema, aa as ServerTasksCapabilitySchema, ab as ServerResultSchema, ac as ServerRequestSchema, ad as ServerNotificationSchema, ae as ServerCapabilitiesSchema, af as SamplingMessageSchema, ag as SamplingMessageContentBlockSchema, ah as SamplingContentSchema, ai as RootsListChangedNotificationSchema, aj as RootSchema, ak as RoleSchema, al as ResultSchema, am as ResultMetaObjectSchema, an as ResourceUpdatedNotificationSchema, ao as ResourceUpdatedNotificationParamsSchema, ap as ResourceTemplateSchema, aq as ResourceTemplateReferenceSchema, ar as ResourceSchema, as as ResourceRequestParamsSchema, at as ResourceListChangedNotificationSchema, au as ResourceLinkSchema, av as ResourceContentsSchema, aw as RequestSchema, ax as RequestMetaSchema, ay as RequestIdSchema, az as RelatedTaskMetadataSchema, aA as ReadResourceResultSchema, aB as ReadResourceRequestSchema, aC as ReadResourceRequestParamsSchema, aD as PromptSchema, aE as PromptReferenceSchema, aF as PromptMessageSchema, aG as PromptListChangedNotificationSchema, aH as PromptArgumentSchema, aI as ProgressTokenSchema, aJ as ProgressSchema, aK as ProgressNotificationSchema, aL as ProgressNotificationParamsSchema, aM as PingRequestSchema, aN as PaginatedResultSchema, aO as PaginatedRequestSchema, aP as PaginatedRequestParamsSchema, aQ as NotificationsParamsSchema, aR as NotificationSchema, aS as MultiSelectEnumSchemaSchema, aT as ModelPreferencesSchema, aU as ModelHintSchema, aV as LoggingMessageNotificationSchema, aW as LoggingMessageNotificationParamsSchema, aX as LoggingLevelSchema, aY as ListToolsResultSchema, aZ as ListToolsRequestSchema, a_ as ListTasksResultSchema, a$ as ListTasksRequestSchema, b0 as ListRootsResultSchema, b1 as ListRootsRequestSchema, b2 as ListResourcesResultSchema, b3 as ListResourcesRequestSchema, b4 as ListResourceTemplatesResultSchema, b5 as ListResourceTemplatesRequestSchema, b6 as ListPromptsResultSchema, b7 as ListPromptsRequestSchema, b8 as ListChangedOptionsBaseSchema, b9 as JSONValueSchema, ba as JSONRPCResponseSchema, bb as JSONObjectSchema, bc as JSONArraySchema, be as InitializeResultSchema, bf as InitializeRequestParamsSchema, bg as ImplementationSchema, bh as ImageContentSchema, bi as IconsSchema, bj as IconSchema, bk as GetTaskResultSchema, bl as GetTaskRequestSchema, bm as GetTaskPayloadResultSchema, bn as GetTaskPayloadRequestSchema, bo as GetPromptResultSchema, bp as GetPromptRequestSchema, bq as GetPromptRequestParamsSchema, br as EnumSchemaSchema, bs as EmptyResultSchema, bt as EmbeddedResourceSchema, bu as ElicitationCompleteNotificationSchema, bv as ElicitationCompleteNotificationParamsSchema, bw as ElicitResultSchema, bx as ElicitRequestURLParamsSchema, by as ElicitRequestSchema, bz as ElicitRequestParamsSchema, bA as DiscoverResultSchema, bB as DiscoverRequestSchema, bC as CursorSchema, bD as CreateTaskResultSchema, bE as CreateMessageResultWithToolsSchema, bF as CreateMessageResultSchema, bG as CreateMessageRequestSchema, bH as CreateMessageRequestParamsSchema, bI as ContentBlockSchema, bJ as CompleteResultSchema, bK as CompleteRequestSchema, bL as CompleteRequestParamsSchema, bM as CompatibilityCallToolResultSchema, bN as ClientTasksCapabilitySchema, bO as ClientResultSchema, bP as ClientRequestSchema, bQ as ClientNotificationSchema, bR as ClientCapabilitiesSchema, bS as CancelledNotificationSchema, bT as CancelledNotificationParamsSchema, bU as CancelTaskResultSchema, bV as CancelTaskRequestSchema, bW as CallToolResultSchema, bX as CallToolRequestSchema, bY as CallToolRequestParamsSchema, bZ as BlobResourceContentsSchema, b_ as BaseRequestParamsSchema, b$ as BaseMetadataSchema, c0 as AudioContentSchema, c1 as AnnotationsSchema, c3 as SUBSCRIPTION_ID_META_KEY, c2 as LATEST_PROTOCOL_VERSION } from "./vendor-@modelcontextprotocol-core-BkUcdvo6.js";
|
|
4
|
+
import { s as safeParse, o as object, l as looseObject, a as literal, b as lazy, u as union, c as string, n as number, d as boolean, _ as _null, r as record, e as array, f as _enum, i as intersection, p as preprocess, g as optional, h as unknown, j as datetime, k as discriminatedUnion, t as toJSONSchema, m as date, q as url, v as email } from "./vendor-zod-nebGZ0VM.js";
|
|
5
5
|
import process from "node:process";
|
|
6
6
|
import { PassThrough } from "node:stream";
|
|
7
7
|
import { s as spawn } from "./vendor-cross-spawn-DYIHnyej.js";
|
|
@@ -15604,4 +15604,4 @@ export {
|
|
|
15604
15604
|
extractWWWAuthenticateParams as e,
|
|
15605
15605
|
resourceUrlFromServerUrl as r
|
|
15606
15606
|
};
|
|
15607
|
-
//# sourceMappingURL=vendor-@modelcontextprotocol-client-
|
|
15607
|
+
//# sourceMappingURL=vendor-@modelcontextprotocol-client-DuJtk4js.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { u as union, o as object, a as literal, h as unknown, c as string, n as number, f as _enum, l as looseObject, e as array, r as record, d as boolean, p as preprocess, i as intersection, q as url, Z as ZodIssueCode, N as NEVER, b as lazy, _ as _null, w as any, x as number$1, g as optional, j as datetime, k as discriminatedUnion } from "./vendor-zod-
|
|
1
|
+
import { u as union, o as object, a as literal, h as unknown, c as string, n as number, f as _enum, l as looseObject, e as array, r as record, d as boolean, p as preprocess, i as intersection, q as url, Z as ZodIssueCode, N as NEVER, b as lazy, _ as _null, w as any, x as number$1, g as optional, j as datetime, k as discriminatedUnion } from "./vendor-zod-nebGZ0VM.js";
|
|
2
2
|
const LATEST_PROTOCOL_VERSION = "2025-11-25";
|
|
3
3
|
const DEFAULT_NEGOTIATED_PROTOCOL_VERSION = "2025-03-26";
|
|
4
4
|
const SUPPORTED_PROTOCOL_VERSIONS = [
|
|
@@ -1127,4 +1127,4 @@ export {
|
|
|
1127
1127
|
ToolUseContentSchema as y,
|
|
1128
1128
|
ToolSchema as z
|
|
1129
1129
|
};
|
|
1130
|
-
//# sourceMappingURL=vendor-@modelcontextprotocol-core-
|
|
1130
|
+
//# sourceMappingURL=vendor-@modelcontextprotocol-core-BkUcdvo6.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { W as WebStandardStreamableHTTPServerTransport } from "./vendor-@modelcontextprotocol-server-
|
|
1
|
+
import { W as WebStandardStreamableHTTPServerTransport } from "./vendor-@modelcontextprotocol-server-C9c_OMTp.js";
|
|
2
2
|
import { g as getRequestListener } from "./vendor-@hono-node-server-C5GxSa1x.js";
|
|
3
3
|
var NodeStreamableHTTPServerTransport = class {
|
|
4
4
|
_webStandardTransport;
|
|
@@ -220,4 +220,4 @@ export {
|
|
|
220
220
|
NodeStreamableHTTPServerTransport as N,
|
|
221
221
|
toNodeHandler as t
|
|
222
222
|
};
|
|
223
|
-
//# sourceMappingURL=vendor-@modelcontextprotocol-node-
|
|
223
|
+
//# sourceMappingURL=vendor-@modelcontextprotocol-node-D0s30TCx.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import process from "node:process";
|
|
2
|
-
import { J as JSONRPCMessageSchema, S as SUPPORTED_PROTOCOL_VERSIONS, I as InitializeRequestSchema, a as JSONRPCRequestSchema, b as JSONRPCResultResponseSchema, c as JSONRPCErrorResponseSchema, d as JSONRPCNotificationSchema, P as PROTOCOL_VERSION_META_KEY, C as CLIENT_CAPABILITIES_META_KEY, L as LOG_LEVEL_META_KEY, e as CLIENT_INFO_META_KEY, f as SERVER_INFO_META_KEY, E as ElicitRequestFormParamsSchema, g as StringSchemaSchema, O as OpenIdProviderMetadataSchema, h as OpenIdProviderDiscoveryMetadataSchema, i as OAuthTokensSchema, j as OAuthTokenRevocationRequestSchema, k as OAuthProtectedResourceMetadataSchema, l as OAuthMetadataSchema, m as OAuthErrorResponseSchema, n as OAuthClientRegistrationErrorSchema, o as OAuthClientMetadataSchema, p as OAuthClientInformationSchema, q as OAuthClientInformationFullSchema, r as IdJagTokenExchangeResponseSchema, s as PrimitiveSchemaDefinitionSchema, U as UntitledMultiSelectEnumSchemaSchema, T as TitledMultiSelectEnumSchemaSchema, B as BooleanSchemaSchema, N as NumberSchemaSchema, t as UntitledSingleSelectEnumSchemaSchema, u as TitledSingleSelectEnumSchemaSchema, v as LegacyTitledEnumSchemaSchema, w as UnsubscribeRequestSchema, x as UnsubscribeRequestParamsSchema, y as ToolUseContentSchema, z as ToolSchema, A as ToolResultContentSchema, D as ToolListChangedNotificationSchema, F as ToolExecutionSchema, G as ToolChoiceSchema, H as ToolAnnotationsSchema, K as TextResourceContentsSchema, M as TextContentSchema, Q as TaskStatusSchema, R as TaskStatusNotificationSchema, V as TaskStatusNotificationParamsSchema, W as TaskSchema, X as TaskMetadataSchema, Y as TaskCreationParamsSchema, Z as TaskAugmentedRequestParamsSchema, _ as SubscriptionsListenResultSchema, $ as SubscriptionsListenResultMetaSchema, a0 as SubscriptionsListenRequestSchema, a1 as SubscriptionsListenRequestParamsSchema, a2 as SubscriptionsAcknowledgedNotificationSchema, a3 as SubscriptionsAcknowledgedNotificationParamsSchema, a4 as SubscriptionFilterSchema, a5 as SubscribeRequestSchema, a6 as SubscribeRequestParamsSchema, a7 as SingleSelectEnumSchemaSchema, a8 as SetLevelRequestSchema, a9 as SetLevelRequestParamsSchema, aa as ServerTasksCapabilitySchema, ab as ServerResultSchema, ac as ServerRequestSchema, ad as ServerNotificationSchema, ae as ServerCapabilitiesSchema, af as SamplingMessageSchema, ag as SamplingMessageContentBlockSchema, ah as SamplingContentSchema, ai as RootsListChangedNotificationSchema, aj as RootSchema, ak as RoleSchema, al as ResultSchema, am as ResultMetaObjectSchema, an as ResourceUpdatedNotificationSchema, ao as ResourceUpdatedNotificationParamsSchema, ap as ResourceTemplateSchema, aq as ResourceTemplateReferenceSchema, ar as ResourceSchema, as as ResourceRequestParamsSchema, at as ResourceListChangedNotificationSchema, au as ResourceLinkSchema, av as ResourceContentsSchema, aw as RequestSchema, ax as RequestMetaSchema, ay as RequestIdSchema, az as RelatedTaskMetadataSchema, aA as ReadResourceResultSchema, aB as ReadResourceRequestSchema, aC as ReadResourceRequestParamsSchema, aD as PromptSchema, aE as PromptReferenceSchema, aF as PromptMessageSchema, aG as PromptListChangedNotificationSchema, aH as PromptArgumentSchema, aI as ProgressTokenSchema, aJ as ProgressSchema, aK as ProgressNotificationSchema, aL as ProgressNotificationParamsSchema, aM as PingRequestSchema, aN as PaginatedResultSchema, aO as PaginatedRequestSchema, aP as PaginatedRequestParamsSchema, aQ as NotificationsParamsSchema, aR as NotificationSchema, aS as MultiSelectEnumSchemaSchema, aT as ModelPreferencesSchema, aU as ModelHintSchema, aV as LoggingMessageNotificationSchema, aW as LoggingMessageNotificationParamsSchema, aX as LoggingLevelSchema, aY as ListToolsResultSchema, aZ as ListToolsRequestSchema, a_ as ListTasksResultSchema, a$ as ListTasksRequestSchema, b0 as ListRootsResultSchema, b1 as ListRootsRequestSchema, b2 as ListResourcesResultSchema, b3 as ListResourcesRequestSchema, b4 as ListResourceTemplatesResultSchema, b5 as ListResourceTemplatesRequestSchema, b6 as ListPromptsResultSchema, b7 as ListPromptsRequestSchema, b8 as ListChangedOptionsBaseSchema, b9 as JSONValueSchema, ba as JSONRPCResponseSchema, bb as JSONObjectSchema, bc as JSONArraySchema, bd as InitializedNotificationSchema, be as InitializeResultSchema, bf as InitializeRequestParamsSchema, bg as ImplementationSchema, bh as ImageContentSchema, bi as IconsSchema, bj as IconSchema, bk as GetTaskResultSchema, bl as GetTaskRequestSchema, bm as GetTaskPayloadResultSchema, bn as GetTaskPayloadRequestSchema, bo as GetPromptResultSchema, bp as GetPromptRequestSchema, bq as GetPromptRequestParamsSchema, br as EnumSchemaSchema, bs as EmptyResultSchema, bt as EmbeddedResourceSchema, bu as ElicitationCompleteNotificationSchema, bv as ElicitationCompleteNotificationParamsSchema, bw as ElicitResultSchema, bx as ElicitRequestURLParamsSchema, by as ElicitRequestSchema, bz as ElicitRequestParamsSchema, bA as DiscoverResultSchema, bB as DiscoverRequestSchema, bC as CursorSchema, bD as CreateTaskResultSchema, bE as CreateMessageResultWithToolsSchema, bF as CreateMessageResultSchema, bG as CreateMessageRequestSchema, bH as CreateMessageRequestParamsSchema, bI as ContentBlockSchema, bJ as CompleteResultSchema, bK as CompleteRequestSchema, bL as CompleteRequestParamsSchema, bM as CompatibilityCallToolResultSchema, bN as ClientTasksCapabilitySchema, bO as ClientResultSchema, bP as ClientRequestSchema, bQ as ClientNotificationSchema, bR as ClientCapabilitiesSchema, bS as CancelledNotificationSchema, bT as CancelledNotificationParamsSchema, bU as CancelTaskResultSchema, bV as CancelTaskRequestSchema, bW as CallToolResultSchema, bX as CallToolRequestSchema, bY as CallToolRequestParamsSchema, bZ as BlobResourceContentsSchema, b_ as BaseRequestParamsSchema, b$ as BaseMetadataSchema, c0 as AudioContentSchema, c1 as AnnotationsSchema, c2 as LATEST_PROTOCOL_VERSION, c3 as SUBSCRIPTION_ID_META_KEY, c4 as DEFAULT_NEGOTIATED_PROTOCOL_VERSION } from "./vendor-@modelcontextprotocol-core-
|
|
3
|
-
import { t as toJSONSchema, o as object, s as safeParse, l as looseObject, a as literal, b as lazy, u as union, c as string, n as number, d as boolean, _ as _null, r as record, e as array, f as _enum, i as intersection, p as preprocess, g as optional, h as unknown, j as datetime, k as discriminatedUnion, m as date, q as url, v as email } from "./vendor-zod-
|
|
2
|
+
import { J as JSONRPCMessageSchema, S as SUPPORTED_PROTOCOL_VERSIONS, I as InitializeRequestSchema, a as JSONRPCRequestSchema, b as JSONRPCResultResponseSchema, c as JSONRPCErrorResponseSchema, d as JSONRPCNotificationSchema, P as PROTOCOL_VERSION_META_KEY, C as CLIENT_CAPABILITIES_META_KEY, L as LOG_LEVEL_META_KEY, e as CLIENT_INFO_META_KEY, f as SERVER_INFO_META_KEY, E as ElicitRequestFormParamsSchema, g as StringSchemaSchema, O as OpenIdProviderMetadataSchema, h as OpenIdProviderDiscoveryMetadataSchema, i as OAuthTokensSchema, j as OAuthTokenRevocationRequestSchema, k as OAuthProtectedResourceMetadataSchema, l as OAuthMetadataSchema, m as OAuthErrorResponseSchema, n as OAuthClientRegistrationErrorSchema, o as OAuthClientMetadataSchema, p as OAuthClientInformationSchema, q as OAuthClientInformationFullSchema, r as IdJagTokenExchangeResponseSchema, s as PrimitiveSchemaDefinitionSchema, U as UntitledMultiSelectEnumSchemaSchema, T as TitledMultiSelectEnumSchemaSchema, B as BooleanSchemaSchema, N as NumberSchemaSchema, t as UntitledSingleSelectEnumSchemaSchema, u as TitledSingleSelectEnumSchemaSchema, v as LegacyTitledEnumSchemaSchema, w as UnsubscribeRequestSchema, x as UnsubscribeRequestParamsSchema, y as ToolUseContentSchema, z as ToolSchema, A as ToolResultContentSchema, D as ToolListChangedNotificationSchema, F as ToolExecutionSchema, G as ToolChoiceSchema, H as ToolAnnotationsSchema, K as TextResourceContentsSchema, M as TextContentSchema, Q as TaskStatusSchema, R as TaskStatusNotificationSchema, V as TaskStatusNotificationParamsSchema, W as TaskSchema, X as TaskMetadataSchema, Y as TaskCreationParamsSchema, Z as TaskAugmentedRequestParamsSchema, _ as SubscriptionsListenResultSchema, $ as SubscriptionsListenResultMetaSchema, a0 as SubscriptionsListenRequestSchema, a1 as SubscriptionsListenRequestParamsSchema, a2 as SubscriptionsAcknowledgedNotificationSchema, a3 as SubscriptionsAcknowledgedNotificationParamsSchema, a4 as SubscriptionFilterSchema, a5 as SubscribeRequestSchema, a6 as SubscribeRequestParamsSchema, a7 as SingleSelectEnumSchemaSchema, a8 as SetLevelRequestSchema, a9 as SetLevelRequestParamsSchema, aa as ServerTasksCapabilitySchema, ab as ServerResultSchema, ac as ServerRequestSchema, ad as ServerNotificationSchema, ae as ServerCapabilitiesSchema, af as SamplingMessageSchema, ag as SamplingMessageContentBlockSchema, ah as SamplingContentSchema, ai as RootsListChangedNotificationSchema, aj as RootSchema, ak as RoleSchema, al as ResultSchema, am as ResultMetaObjectSchema, an as ResourceUpdatedNotificationSchema, ao as ResourceUpdatedNotificationParamsSchema, ap as ResourceTemplateSchema, aq as ResourceTemplateReferenceSchema, ar as ResourceSchema, as as ResourceRequestParamsSchema, at as ResourceListChangedNotificationSchema, au as ResourceLinkSchema, av as ResourceContentsSchema, aw as RequestSchema, ax as RequestMetaSchema, ay as RequestIdSchema, az as RelatedTaskMetadataSchema, aA as ReadResourceResultSchema, aB as ReadResourceRequestSchema, aC as ReadResourceRequestParamsSchema, aD as PromptSchema, aE as PromptReferenceSchema, aF as PromptMessageSchema, aG as PromptListChangedNotificationSchema, aH as PromptArgumentSchema, aI as ProgressTokenSchema, aJ as ProgressSchema, aK as ProgressNotificationSchema, aL as ProgressNotificationParamsSchema, aM as PingRequestSchema, aN as PaginatedResultSchema, aO as PaginatedRequestSchema, aP as PaginatedRequestParamsSchema, aQ as NotificationsParamsSchema, aR as NotificationSchema, aS as MultiSelectEnumSchemaSchema, aT as ModelPreferencesSchema, aU as ModelHintSchema, aV as LoggingMessageNotificationSchema, aW as LoggingMessageNotificationParamsSchema, aX as LoggingLevelSchema, aY as ListToolsResultSchema, aZ as ListToolsRequestSchema, a_ as ListTasksResultSchema, a$ as ListTasksRequestSchema, b0 as ListRootsResultSchema, b1 as ListRootsRequestSchema, b2 as ListResourcesResultSchema, b3 as ListResourcesRequestSchema, b4 as ListResourceTemplatesResultSchema, b5 as ListResourceTemplatesRequestSchema, b6 as ListPromptsResultSchema, b7 as ListPromptsRequestSchema, b8 as ListChangedOptionsBaseSchema, b9 as JSONValueSchema, ba as JSONRPCResponseSchema, bb as JSONObjectSchema, bc as JSONArraySchema, bd as InitializedNotificationSchema, be as InitializeResultSchema, bf as InitializeRequestParamsSchema, bg as ImplementationSchema, bh as ImageContentSchema, bi as IconsSchema, bj as IconSchema, bk as GetTaskResultSchema, bl as GetTaskRequestSchema, bm as GetTaskPayloadResultSchema, bn as GetTaskPayloadRequestSchema, bo as GetPromptResultSchema, bp as GetPromptRequestSchema, bq as GetPromptRequestParamsSchema, br as EnumSchemaSchema, bs as EmptyResultSchema, bt as EmbeddedResourceSchema, bu as ElicitationCompleteNotificationSchema, bv as ElicitationCompleteNotificationParamsSchema, bw as ElicitResultSchema, bx as ElicitRequestURLParamsSchema, by as ElicitRequestSchema, bz as ElicitRequestParamsSchema, bA as DiscoverResultSchema, bB as DiscoverRequestSchema, bC as CursorSchema, bD as CreateTaskResultSchema, bE as CreateMessageResultWithToolsSchema, bF as CreateMessageResultSchema, bG as CreateMessageRequestSchema, bH as CreateMessageRequestParamsSchema, bI as ContentBlockSchema, bJ as CompleteResultSchema, bK as CompleteRequestSchema, bL as CompleteRequestParamsSchema, bM as CompatibilityCallToolResultSchema, bN as ClientTasksCapabilitySchema, bO as ClientResultSchema, bP as ClientRequestSchema, bQ as ClientNotificationSchema, bR as ClientCapabilitiesSchema, bS as CancelledNotificationSchema, bT as CancelledNotificationParamsSchema, bU as CancelTaskResultSchema, bV as CancelTaskRequestSchema, bW as CallToolResultSchema, bX as CallToolRequestSchema, bY as CallToolRequestParamsSchema, bZ as BlobResourceContentsSchema, b_ as BaseRequestParamsSchema, b$ as BaseMetadataSchema, c0 as AudioContentSchema, c1 as AnnotationsSchema, c2 as LATEST_PROTOCOL_VERSION, c3 as SUBSCRIPTION_ID_META_KEY, c4 as DEFAULT_NEGOTIATED_PROTOCOL_VERSION } from "./vendor-@modelcontextprotocol-core-BkUcdvo6.js";
|
|
3
|
+
import { t as toJSONSchema, o as object, s as safeParse, l as looseObject, a as literal, b as lazy, u as union, c as string, n as number, d as boolean, _ as _null, r as record, e as array, f as _enum, i as intersection, p as preprocess, g as optional, h as unknown, j as datetime, k as discriminatedUnion, m as date, q as url, v as email } from "./vendor-zod-nebGZ0VM.js";
|
|
4
4
|
var __create = Object.create;
|
|
5
5
|
var __defProp = Object.defineProperty;
|
|
6
6
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
@@ -14697,4 +14697,4 @@ export {
|
|
|
14697
14697
|
WebStandardStreamableHTTPServerTransport as W,
|
|
14698
14698
|
createMcpHandler as c
|
|
14699
14699
|
};
|
|
14700
|
-
//# sourceMappingURL=vendor-@modelcontextprotocol-server-
|
|
14700
|
+
//# sourceMappingURL=vendor-@modelcontextprotocol-server-C9c_OMTp.js.map
|
package/dist/chunks/{vendor-@opencode-codemode-61MXX511.js → vendor-@opencode-codemode-DmkYINkB.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { p as parse$1 } from "./vendor-acorn-FBr7vWTA.js";
|
|
2
|
-
import {
|
|
2
|
+
import { an as Reference, bC as TaggedError, bD as String$1, bE as optionalKey, bF as Defect, bG as toJsonSchemaDocument, bH as isSchema, bI as parseUriFragment, bJ as toType, bK as decodeUnknownSync, x as suspend, g as gen, aw as try_, s as sync, a5 as catchCause, D as hasInterruptsOnly, y as interrupt, R as fail, bL as prettyErrors, bM as format, a9 as onExit, C as isSuccess, bN as squash, j as andThen, bO as Struct, bP as NullOr, bQ as ArraySchema, bR as Int, bS as isGreaterThanOrEqualTo, bT as isGreaterThan, q as void_, bU as undefined_, bV as isEffect, K as succeed, ar as map, E as flatMap, e as exit, af as failCause, G as forEach, o as doneUnsafe, a6 as fail$1, _ as _await, Z as makeUnsafe, P as die, ay as yieldNow, aR as succeed$1, a1 as all, bW as flatten, bX as raceAll, aB as catch_, bb as as, at as forkIn, bY as catchDefect, ac as await_, l as asVoid, bZ as interruptAll, b_ as withFiber, a0 as callback, a2 as ensuring, L as uninterruptibleMask, i as isFailure, t as tap, b$ as matchCauseEffect, c0 as isInterruptReason, al as provideService, H as isDoneUnsafe, $ as timeoutOrElse, aa as acquireUseRelease, f as close, m as make$3, z as tryPromise, Y as mapError, c1 as Literals, c2 as Number$1, c3 as Boolean$1, c4 as Literal, c5 as Union, c6 as Json, c7 as decodeUnknownOption, c8 as fromJsonString, c9 as Unknown } from "./vendor-effect-BTVRmkqM.js";
|
|
3
3
|
const CallSite = Reference("codemode/CallSite", {
|
|
4
4
|
defaultValue: () => ({ depth: 0 })
|
|
5
5
|
});
|
|
@@ -7212,4 +7212,4 @@ export {
|
|
|
7212
7212
|
make as a,
|
|
7213
7213
|
make$2 as m
|
|
7214
7214
|
};
|
|
7215
|
-
//# sourceMappingURL=vendor-@opencode-codemode-
|
|
7215
|
+
//# sourceMappingURL=vendor-@opencode-codemode-DmkYINkB.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { d as decode } from "./vendor-@sorbetai-schema-
|
|
2
|
-
import { a as isError } from "./vendor-es-toolkit-
|
|
1
|
+
import { d as decode } from "./vendor-@sorbetai-schema-D53JJ0HJ.js";
|
|
2
|
+
import { a as isError } from "./vendor-es-toolkit-BDp9OdLC.js";
|
|
3
3
|
import { randomUUID } from "node:crypto";
|
|
4
4
|
import { mkdir, open, rm, rename, readFile } from "node:fs/promises";
|
|
5
5
|
import { dirname, join } from "node:path";
|
|
@@ -203,4 +203,4 @@ export {
|
|
|
203
203
|
ArtifactRefSchema as A,
|
|
204
204
|
FileArtifactStore as F
|
|
205
205
|
};
|
|
206
|
-
//# sourceMappingURL=vendor-@sorbetai-artifacts-
|
|
206
|
+
//# sourceMappingURL=vendor-@sorbetai-artifacts-Vz3r0uhj.js.map
|
package/dist/chunks/{vendor-@sorbetai-context-COh8_Kmc.js → vendor-@sorbetai-context-BV7q3KwO.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { J as JsonValueSchema } from "./vendor-@sorbetai-schema-
|
|
1
|
+
import { J as JsonValueSchema } from "./vendor-@sorbetai-schema-D53JJ0HJ.js";
|
|
2
2
|
import { a as obj, s as str, l as lit, o as opt, b as arr, c as union, i as int, n as num, m as map, d as bool, e as nul } from "./vendor-@earendil-works-pi-schema-B1AXVDtt.js";
|
|
3
3
|
const ModelContextMessageSchema = obj({
|
|
4
4
|
role: lit("user"),
|
|
@@ -453,4 +453,4 @@ export {
|
|
|
453
453
|
ModelRequestSettingsSchema as k,
|
|
454
454
|
TurnContextSourceSchema as l
|
|
455
455
|
};
|
|
456
|
-
//# sourceMappingURL=vendor-@sorbetai-context-
|
|
456
|
+
//# sourceMappingURL=vendor-@sorbetai-context-BV7q3KwO.js.map
|
package/dist/chunks/{vendor-@sorbetai-control-HcZa4Y-V.js → vendor-@sorbetai-control-C9pxQF9a.js}
RENAMED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { homedir } from "node:os";
|
|
2
2
|
import { resolve, join, dirname } from "node:path";
|
|
3
3
|
import "node:fs";
|
|
4
|
-
import { d as decode } from "./vendor-@sorbetai-schema-
|
|
5
|
-
import { readdir, readFile, mkdir, writeFile, rename, rm, open, link, unlink, appendFile, chmod } from "node:fs/promises";
|
|
6
|
-
import { F as FileArtifactStore } from "./vendor-@sorbetai-artifacts-Dt9BTK8Q.js";
|
|
7
|
-
import { r as readUnitSessions } from "./vendor-@sorbetai-runtime-kicj4Xs_.js";
|
|
8
|
-
import { a as isError, f as isPlainObject, c as isString, M as Mutex, g as pickBy } from "./vendor-es-toolkit-DnvFX_hl.js";
|
|
4
|
+
import { d as decode } from "./vendor-@sorbetai-schema-D53JJ0HJ.js";
|
|
9
5
|
import { randomUUID } from "node:crypto";
|
|
10
|
-
import {
|
|
6
|
+
import { readdir, readFile, mkdir, writeFile, rename, rm, appendFile, chmod, open, link, unlink } from "node:fs/promises";
|
|
7
|
+
import { a as isError, d as isPlainObject, c as isString, M as Mutex, g as pickBy } from "./vendor-es-toolkit-BDp9OdLC.js";
|
|
11
8
|
import { setTimeout } from "node:timers/promises";
|
|
12
|
-
import {
|
|
9
|
+
import { F as FileArtifactStore } from "./vendor-@sorbetai-artifacts-Vz3r0uhj.js";
|
|
10
|
+
import { r as readUnitSessions } from "./vendor-@sorbetai-runtime-DKAfUiS0.js";
|
|
11
|
+
import { b as builtinModels, c as createProvider, o as openAICompletionsApi, a as openAIResponsesApi, d as anthropicMessagesApi, e as envApiKeyAuth, g as getBuiltinProviders, f as getBuiltinModels } from "./vendor-@earendil-works-pi-ai-xadj9Dzb.js";
|
|
12
|
+
import { a as obj, o as opt, d as bool, b as arr, s as str, c as union, l as lit, m as map, n as num, e as nul, i as int } from "./vendor-@earendil-works-pi-schema-B1AXVDtt.js";
|
|
13
13
|
const manifest = decode(obj({
|
|
14
14
|
name: str(),
|
|
15
15
|
version: str()
|
|
16
|
-
}, { open: true }), JSON.parse('{"name":"@sorbetai/control","version":"0.1.0-alpha.
|
|
16
|
+
}, { open: true }), JSON.parse('{"name":"@sorbetai/control","version":"0.1.0-alpha.23"}'));
|
|
17
17
|
const SORBET_CONTROL_COMPATIBILITY = Object.freeze({
|
|
18
18
|
api: "sorbet.control",
|
|
19
19
|
apiVersion: 1,
|
|
@@ -38,11 +38,126 @@ var SorbetControlError = class extends Error {
|
|
|
38
38
|
this.code = code;
|
|
39
39
|
}
|
|
40
40
|
};
|
|
41
|
-
const
|
|
42
|
-
|
|
41
|
+
const SQLITE_BUSY = 5;
|
|
42
|
+
const LOCK_RETRY_MILLISECONDS = 25;
|
|
43
|
+
async function acquireJsonMutationLease(filePath, signal) {
|
|
44
|
+
signal?.throwIfAborted();
|
|
45
|
+
const { DatabaseSync } = await import("node:sqlite");
|
|
46
|
+
const database = new DatabaseSync(`${filePath}.lock`, { timeout: 0 });
|
|
47
|
+
let acquired = false;
|
|
48
|
+
try {
|
|
49
|
+
do {
|
|
50
|
+
signal?.throwIfAborted();
|
|
51
|
+
try {
|
|
52
|
+
database.exec("BEGIN IMMEDIATE");
|
|
53
|
+
acquired = true;
|
|
54
|
+
} catch (cause) {
|
|
55
|
+
if (!isError(cause) || Reflect.get(cause, "errcode") !== SQLITE_BUSY) throw cause;
|
|
56
|
+
await setTimeout(LOCK_RETRY_MILLISECONDS, void 0, { signal });
|
|
57
|
+
}
|
|
58
|
+
} while (!acquired);
|
|
59
|
+
} catch (cause) {
|
|
60
|
+
database.close();
|
|
61
|
+
throw cause;
|
|
62
|
+
}
|
|
63
|
+
return sqliteTransactionLease(database);
|
|
64
|
+
}
|
|
65
|
+
function sqliteTransactionLease(database) {
|
|
66
|
+
let released = false;
|
|
67
|
+
return { release: () => {
|
|
68
|
+
if (released) return;
|
|
69
|
+
released = true;
|
|
70
|
+
try {
|
|
71
|
+
database.exec("ROLLBACK");
|
|
72
|
+
} finally {
|
|
73
|
+
database.close();
|
|
74
|
+
}
|
|
75
|
+
} };
|
|
76
|
+
}
|
|
77
|
+
const SandboxModeSchema = union([
|
|
78
|
+
lit("workspace-read"),
|
|
79
|
+
lit("workspace-write"),
|
|
80
|
+
lit("disabled")
|
|
81
|
+
]);
|
|
82
|
+
const PermissionModeCeilingSchema = union([
|
|
83
|
+
lit("ask"),
|
|
84
|
+
lit("auto"),
|
|
85
|
+
lit("full-access")
|
|
86
|
+
]);
|
|
87
|
+
const ModelSelectionSchema = obj({
|
|
43
88
|
providerId: str({ minLength: 1 }),
|
|
44
89
|
modelId: str({ minLength: 1 })
|
|
45
|
-
}, { open: false })
|
|
90
|
+
}, { open: false });
|
|
91
|
+
const SorbetHostSettingsSchema = obj({
|
|
92
|
+
sandboxMode: opt(SandboxModeSchema),
|
|
93
|
+
permissionModeCeiling: opt(PermissionModeCeilingSchema),
|
|
94
|
+
network: opt(obj({
|
|
95
|
+
mode: opt(union([lit("open"), lit("allowlist")])),
|
|
96
|
+
allowedDomains: opt(arr(str({ minLength: 1 }))),
|
|
97
|
+
allowLocalBinding: opt(bool())
|
|
98
|
+
}, { open: false })),
|
|
99
|
+
approvalReviewer: opt(ModelSelectionSchema),
|
|
100
|
+
defaultChildModel: opt(ModelSelectionSchema)
|
|
101
|
+
}, { open: false });
|
|
102
|
+
var JsonSorbetHostSettingsStore = class {
|
|
103
|
+
#filePath;
|
|
104
|
+
#ready;
|
|
105
|
+
#mutation = new Mutex();
|
|
106
|
+
constructor(filePath) {
|
|
107
|
+
this.#filePath = filePath;
|
|
108
|
+
this.#ready = this.#initialize();
|
|
109
|
+
}
|
|
110
|
+
async get(options = {}) {
|
|
111
|
+
options.signal?.throwIfAborted();
|
|
112
|
+
await this.#ready;
|
|
113
|
+
const text = await readFile(this.#filePath, "utf8");
|
|
114
|
+
if (text.length === 0) return {};
|
|
115
|
+
return decode(SorbetHostSettingsSchema, JSON.parse(text));
|
|
116
|
+
}
|
|
117
|
+
async update(patch, options = {}) {
|
|
118
|
+
options.signal?.throwIfAborted();
|
|
119
|
+
const parsed = decode(SorbetHostSettingsSchema, structuredClone(patch));
|
|
120
|
+
await this.#ready;
|
|
121
|
+
await this.#mutation.acquire();
|
|
122
|
+
try {
|
|
123
|
+
const lease = await acquireJsonMutationLease(this.#filePath, options.signal);
|
|
124
|
+
try {
|
|
125
|
+
const next = decode(SorbetHostSettingsSchema, {
|
|
126
|
+
...await this.get(options),
|
|
127
|
+
...parsed
|
|
128
|
+
});
|
|
129
|
+
const temporaryPath = `${this.#filePath}.${process.pid}.${randomUUID()}.tmp`;
|
|
130
|
+
try {
|
|
131
|
+
await writeFile(temporaryPath, `${JSON.stringify(next, void 0, 2)}
|
|
132
|
+
`, {
|
|
133
|
+
encoding: "utf8",
|
|
134
|
+
flag: "wx",
|
|
135
|
+
mode: 384
|
|
136
|
+
});
|
|
137
|
+
await rename(temporaryPath, this.#filePath);
|
|
138
|
+
return next;
|
|
139
|
+
} finally {
|
|
140
|
+
await rm(temporaryPath, { force: true }).catch(() => void 0);
|
|
141
|
+
}
|
|
142
|
+
} finally {
|
|
143
|
+
lease.release();
|
|
144
|
+
}
|
|
145
|
+
} finally {
|
|
146
|
+
this.#mutation.release();
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
async #initialize() {
|
|
150
|
+
await mkdir(dirname(this.#filePath), {
|
|
151
|
+
recursive: true,
|
|
152
|
+
mode: 448
|
|
153
|
+
});
|
|
154
|
+
await appendFile(this.#filePath, "", {
|
|
155
|
+
encoding: "utf8",
|
|
156
|
+
mode: 384
|
|
157
|
+
});
|
|
158
|
+
await chmod(this.#filePath, 384);
|
|
159
|
+
}
|
|
160
|
+
};
|
|
46
161
|
function createLocalProviderReferences(dataDirectory) {
|
|
47
162
|
return { listReferencedProviderIds: async (options) => {
|
|
48
163
|
try {
|
|
@@ -90,7 +205,7 @@ async function reviewerProviderId(dataDirectory, signal) {
|
|
|
90
205
|
signal?.throwIfAborted();
|
|
91
206
|
let raw;
|
|
92
207
|
try {
|
|
93
|
-
raw = await readFile(join(dataDirectory, "
|
|
208
|
+
raw = await readFile(join(dataDirectory, "host-settings.json"), {
|
|
94
209
|
encoding: "utf8",
|
|
95
210
|
signal
|
|
96
211
|
});
|
|
@@ -99,8 +214,7 @@ async function reviewerProviderId(dataDirectory, signal) {
|
|
|
99
214
|
throw cause;
|
|
100
215
|
}
|
|
101
216
|
if (raw.trim().length === 0) return void 0;
|
|
102
|
-
|
|
103
|
-
return parsed.mode === "model" ? parsed.providerId : void 0;
|
|
217
|
+
return decode(SorbetHostSettingsSchema, JSON.parse(raw)).approvalReviewer?.providerId;
|
|
104
218
|
}
|
|
105
219
|
const UUID = /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i;
|
|
106
220
|
async function installationId(dataDirectory) {
|
|
@@ -149,42 +263,6 @@ async function readInstallationId(path) {
|
|
|
149
263
|
if (!UUID.test(stored)) throw new Error(`Invalid installation UUID in ${path}`);
|
|
150
264
|
return stored;
|
|
151
265
|
}
|
|
152
|
-
const SQLITE_BUSY = 5;
|
|
153
|
-
const LOCK_RETRY_MILLISECONDS = 25;
|
|
154
|
-
async function acquireJsonMutationLease(filePath, signal) {
|
|
155
|
-
signal?.throwIfAborted();
|
|
156
|
-
const { DatabaseSync } = await import("node:sqlite");
|
|
157
|
-
const database = new DatabaseSync(`${filePath}.lock`, { timeout: 0 });
|
|
158
|
-
let acquired = false;
|
|
159
|
-
try {
|
|
160
|
-
do {
|
|
161
|
-
signal?.throwIfAborted();
|
|
162
|
-
try {
|
|
163
|
-
database.exec("BEGIN IMMEDIATE");
|
|
164
|
-
acquired = true;
|
|
165
|
-
} catch (cause) {
|
|
166
|
-
if (!isError(cause) || Reflect.get(cause, "errcode") !== SQLITE_BUSY) throw cause;
|
|
167
|
-
await setTimeout(LOCK_RETRY_MILLISECONDS, void 0, { signal });
|
|
168
|
-
}
|
|
169
|
-
} while (!acquired);
|
|
170
|
-
} catch (cause) {
|
|
171
|
-
database.close();
|
|
172
|
-
throw cause;
|
|
173
|
-
}
|
|
174
|
-
return sqliteTransactionLease(database);
|
|
175
|
-
}
|
|
176
|
-
function sqliteTransactionLease(database) {
|
|
177
|
-
let released = false;
|
|
178
|
-
return { release: () => {
|
|
179
|
-
if (released) return;
|
|
180
|
-
released = true;
|
|
181
|
-
try {
|
|
182
|
-
database.exec("ROLLBACK");
|
|
183
|
-
} finally {
|
|
184
|
-
database.close();
|
|
185
|
-
}
|
|
186
|
-
} };
|
|
187
|
-
}
|
|
188
266
|
var JsonMapStore = class {
|
|
189
267
|
#filePath;
|
|
190
268
|
#schema;
|
|
@@ -1333,11 +1411,19 @@ var DefaultSorbetControl = class {
|
|
|
1333
1411
|
dataDirectory;
|
|
1334
1412
|
compatibility = SORBET_CONTROL_COMPATIBILITY;
|
|
1335
1413
|
#runtime;
|
|
1414
|
+
#hostSettings;
|
|
1336
1415
|
#operations = /* @__PURE__ */ new Set();
|
|
1337
1416
|
#closing;
|
|
1338
1417
|
constructor(dataDirectory, runtime) {
|
|
1339
1418
|
this.dataDirectory = dataDirectory;
|
|
1340
1419
|
this.#runtime = runtime;
|
|
1420
|
+
this.#hostSettings = new JsonSorbetHostSettingsStore(join(dataDirectory, "host-settings.json"));
|
|
1421
|
+
}
|
|
1422
|
+
get hostSettings() {
|
|
1423
|
+
return {
|
|
1424
|
+
get: (options) => this.#operate((signal) => this.#hostSettings.get({ signal }), options),
|
|
1425
|
+
update: (patch, options) => this.#operate((signal) => this.#hostSettings.update(patch, { signal }), options)
|
|
1426
|
+
};
|
|
1341
1427
|
}
|
|
1342
1428
|
get authentication() {
|
|
1343
1429
|
return {
|
|
@@ -1427,4 +1513,4 @@ async function openComposedSorbetControl(options) {
|
|
|
1427
1513
|
export {
|
|
1428
1514
|
openSorbetControl as o
|
|
1429
1515
|
};
|
|
1430
|
-
//# sourceMappingURL=vendor-@sorbetai-control-
|
|
1516
|
+
//# sourceMappingURL=vendor-@sorbetai-control-C9pxQF9a.js.map
|
package/dist/chunks/{vendor-@sorbetai-plugins-Bs93fyHc.js → vendor-@sorbetai-plugins-COkYjDxn.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { J as JsonValueSchema } from "./vendor-@sorbetai-schema-
|
|
2
|
-
import { N as NamedStateNameSchema, C as ContextXmlElementSchema } from "./vendor-@sorbetai-context-
|
|
1
|
+
import { J as JsonValueSchema } from "./vendor-@sorbetai-schema-D53JJ0HJ.js";
|
|
2
|
+
import { N as NamedStateNameSchema, C as ContextXmlElementSchema } from "./vendor-@sorbetai-context-BV7q3KwO.js";
|
|
3
3
|
import { c as union, s as str, b as arr, a as obj, o as opt, l as lit, i as int, d as bool, m as map, u as unknown } from "./vendor-@earendil-works-pi-schema-B1AXVDtt.js";
|
|
4
4
|
union([lit("unsafe"), lit("safe")]);
|
|
5
5
|
const PluginToolDiscoverySchema = obj({
|
|
@@ -210,4 +210,4 @@ export {
|
|
|
210
210
|
PreparedToolHooksSchema as a,
|
|
211
211
|
SessionBehaviorCommandSchema as b
|
|
212
212
|
};
|
|
213
|
-
//# sourceMappingURL=vendor-@sorbetai-plugins-
|
|
213
|
+
//# sourceMappingURL=vendor-@sorbetai-plugins-COkYjDxn.js.map
|