@1mcp/agent 0.39.0-beta.3 → 0.39.0-beta.5

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.
Files changed (404) hide show
  1. package/build/admin/assets/{admin-OAuthServicesWorkspace-D_GlqLxL.js → admin-OAuthServicesWorkspace-zhBb8xAF.js} +1 -1
  2. package/build/admin/assets/{admin-console-CMRxMjQo.js → admin-console-CnUk1QF1.js} +3 -3
  3. package/build/admin/index.html +1 -1
  4. package/build/auth/oauthAuthority.d.ts +149 -0
  5. package/build/auth/oauthAuthority.d.ts.map +1 -0
  6. package/build/auth/oauthAuthority.js +101 -0
  7. package/build/auth/oauthAuthority.js.map +1 -0
  8. package/build/auth/oauthAuthorizationFlow.d.ts +7 -1
  9. package/build/auth/oauthAuthorizationFlow.d.ts.map +1 -1
  10. package/build/auth/oauthAuthorizationFlow.js +60 -74
  11. package/build/auth/oauthAuthorizationFlow.js.map +1 -1
  12. package/build/auth/oauthEndpointFetch.d.ts +20 -0
  13. package/build/auth/oauthEndpointFetch.d.ts.map +1 -0
  14. package/build/auth/oauthEndpointFetch.js +246 -0
  15. package/build/auth/oauthEndpointFetch.js.map +1 -0
  16. package/build/auth/sessionTypes.d.ts +1 -1
  17. package/build/auth/storage/clientSessionRepository.d.ts +19 -0
  18. package/build/auth/storage/clientSessionRepository.d.ts.map +1 -1
  19. package/build/auth/storage/clientSessionRepository.js +178 -0
  20. package/build/auth/storage/clientSessionRepository.js.map +1 -1
  21. package/build/auth/storage/fileStorageService.d.ts +9 -1
  22. package/build/auth/storage/fileStorageService.d.ts.map +1 -1
  23. package/build/auth/storage/fileStorageService.js +32 -5
  24. package/build/auth/storage/fileStorageService.js.map +1 -1
  25. package/build/auth/storage/inboundOAuthStorage.d.ts +14 -0
  26. package/build/auth/storage/inboundOAuthStorage.d.ts.map +1 -0
  27. package/build/auth/storage/inboundOAuthStorage.js +29 -0
  28. package/build/auth/storage/inboundOAuthStorage.js.map +1 -0
  29. package/build/auth/storage/nativeCredentialStore.d.ts +44 -0
  30. package/build/auth/storage/nativeCredentialStore.d.ts.map +1 -0
  31. package/build/auth/storage/nativeCredentialStore.js +177 -0
  32. package/build/auth/storage/nativeCredentialStore.js.map +1 -0
  33. package/build/auth/storage/oauthStorageService.d.ts +8 -1
  34. package/build/auth/storage/oauthStorageService.d.ts.map +1 -1
  35. package/build/auth/storage/oauthStorageService.js +69 -47
  36. package/build/auth/storage/oauthStorageService.js.map +1 -1
  37. package/build/auth/storage/protectedRecordStorage.d.ts +129 -0
  38. package/build/auth/storage/protectedRecordStorage.d.ts.map +1 -0
  39. package/build/auth/storage/protectedRecordStorage.js +1139 -0
  40. package/build/auth/storage/protectedRecordStorage.js.map +1 -0
  41. package/build/auth/storage/sessionRepository.d.ts.map +1 -1
  42. package/build/auth/storage/sessionRepository.js +10 -0
  43. package/build/auth/storage/sessionRepository.js.map +1 -1
  44. package/build/auth/storage/upstreamOAuthStorage.d.ts +15 -0
  45. package/build/auth/storage/upstreamOAuthStorage.d.ts.map +1 -0
  46. package/build/auth/storage/upstreamOAuthStorage.js +25 -0
  47. package/build/auth/storage/upstreamOAuthStorage.js.map +1 -0
  48. package/build/auth/storage/upstreamOAuthStoragePath.d.ts +3 -0
  49. package/build/auth/storage/upstreamOAuthStoragePath.d.ts.map +1 -0
  50. package/build/auth/storage/upstreamOAuthStoragePath.js +8 -0
  51. package/build/auth/storage/upstreamOAuthStoragePath.js.map +1 -0
  52. package/build/commands/auth/exportOAuthCredentials.d.ts +9 -0
  53. package/build/commands/auth/exportOAuthCredentials.d.ts.map +1 -0
  54. package/build/commands/auth/exportOAuthCredentials.js +71 -0
  55. package/build/commands/auth/exportOAuthCredentials.js.map +1 -0
  56. package/build/commands/auth/exportUpstreamCredentials.d.ts +5 -0
  57. package/build/commands/auth/exportUpstreamCredentials.d.ts.map +1 -0
  58. package/build/commands/auth/exportUpstreamCredentials.js +6 -0
  59. package/build/commands/auth/exportUpstreamCredentials.js.map +1 -0
  60. package/build/commands/auth/index.d.ts.map +1 -1
  61. package/build/commands/auth/index.js +23 -1
  62. package/build/commands/auth/index.js.map +1 -1
  63. package/build/commands/inspect/inspectUtils.d.ts.map +1 -1
  64. package/build/commands/inspect/inspectUtils.js +2 -3
  65. package/build/commands/inspect/inspectUtils.js.map +1 -1
  66. package/build/commands/run/runUtils.js +2 -2
  67. package/build/commands/run/runUtils.js.map +1 -1
  68. package/build/commands/serve/index.d.ts +5 -0
  69. package/build/commands/serve/index.d.ts.map +1 -1
  70. package/build/commands/serve/index.js +5 -0
  71. package/build/commands/serve/index.js.map +1 -1
  72. package/build/commands/serve/serveBackground.d.ts.map +1 -1
  73. package/build/commands/serve/serveBackground.js +1 -0
  74. package/build/commands/serve/serveBackground.js.map +1 -1
  75. package/build/config/configLoader.d.ts.map +1 -1
  76. package/build/config/configLoader.js +13 -0
  77. package/build/config/configLoader.js.map +1 -1
  78. package/build/config/configManager.d.ts.map +1 -1
  79. package/build/config/configManager.js +44 -2
  80. package/build/config/configManager.js.map +1 -1
  81. package/build/config/configWatcher.d.ts.map +1 -1
  82. package/build/config/configWatcher.js +3 -1
  83. package/build/config/configWatcher.js.map +1 -1
  84. package/build/config/envProcessor.d.ts.map +1 -1
  85. package/build/config/envProcessor.js +3 -1
  86. package/build/config/envProcessor.js.map +1 -1
  87. package/build/config/mcpConfigManager.d.ts.map +1 -1
  88. package/build/config/mcpConfigManager.js +4 -1
  89. package/build/config/mcpConfigManager.js.map +1 -1
  90. package/build/config/projectConfigLoader.d.ts.map +1 -1
  91. package/build/config/projectConfigLoader.js +7 -0
  92. package/build/config/projectConfigLoader.js.map +1 -1
  93. package/build/constants/mcp.d.ts +1 -1
  94. package/build/constants/mcp.js +1 -1
  95. package/build/core/capabilities/asyncLoadingOrchestrator.d.ts.map +1 -1
  96. package/build/core/capabilities/asyncLoadingOrchestrator.js +31 -2
  97. package/build/core/capabilities/asyncLoadingOrchestrator.js.map +1 -1
  98. package/build/core/capabilities/capabilityAggregator.d.ts +3 -1
  99. package/build/core/capabilities/capabilityAggregator.d.ts.map +1 -1
  100. package/build/core/capabilities/capabilityAggregator.js +9 -2
  101. package/build/core/capabilities/capabilityAggregator.js.map +1 -1
  102. package/build/core/capabilities/capabilityCatalog.d.ts +24 -1
  103. package/build/core/capabilities/capabilityCatalog.d.ts.map +1 -1
  104. package/build/core/capabilities/capabilityCatalog.js +410 -39
  105. package/build/core/capabilities/capabilityCatalog.js.map +1 -1
  106. package/build/core/capabilities/capabilityPagination.d.ts +18 -1
  107. package/build/core/capabilities/capabilityPagination.d.ts.map +1 -1
  108. package/build/core/capabilities/capabilityPagination.js +101 -15
  109. package/build/core/capabilities/capabilityPagination.js.map +1 -1
  110. package/build/core/capabilities/capabilityVisibility.d.ts +13 -1
  111. package/build/core/capabilities/capabilityVisibility.d.ts.map +1 -1
  112. package/build/core/capabilities/capabilityVisibility.js +24 -1
  113. package/build/core/capabilities/capabilityVisibility.js.map +1 -1
  114. package/build/core/capabilities/catalogGeneration.d.ts.map +1 -1
  115. package/build/core/capabilities/catalogGeneration.js +20 -1
  116. package/build/core/capabilities/catalogGeneration.js.map +1 -1
  117. package/build/core/capabilities/configuredToolSnapshot.d.ts +1 -0
  118. package/build/core/capabilities/configuredToolSnapshot.d.ts.map +1 -1
  119. package/build/core/capabilities/configuredToolSnapshot.js +30 -4
  120. package/build/core/capabilities/configuredToolSnapshot.js.map +1 -1
  121. package/build/core/capabilities/lazyLoadingOrchestrator.d.ts +2 -0
  122. package/build/core/capabilities/lazyLoadingOrchestrator.d.ts.map +1 -1
  123. package/build/core/capabilities/lazyLoadingOrchestrator.js +20 -4
  124. package/build/core/capabilities/lazyLoadingOrchestrator.js.map +1 -1
  125. package/build/core/capabilities/metaToolProvider.d.ts +3 -1
  126. package/build/core/capabilities/metaToolProvider.d.ts.map +1 -1
  127. package/build/core/capabilities/metaToolProvider.js +42 -4
  128. package/build/core/capabilities/metaToolProvider.js.map +1 -1
  129. package/build/core/capabilities/runtimeCapabilityCatalog.d.ts +15 -2
  130. package/build/core/capabilities/runtimeCapabilityCatalog.d.ts.map +1 -1
  131. package/build/core/capabilities/runtimeCapabilityCatalog.js +153 -16
  132. package/build/core/capabilities/runtimeCapabilityCatalog.js.map +1 -1
  133. package/build/core/capabilities/schemaCache.d.ts.map +1 -1
  134. package/build/core/capabilities/schemaCache.js +41 -0
  135. package/build/core/capabilities/schemaCache.js.map +1 -1
  136. package/build/core/capabilities/schemas/metaToolSchemas.d.ts +1 -0
  137. package/build/core/capabilities/schemas/metaToolSchemas.d.ts.map +1 -1
  138. package/build/core/capabilities/schemas/metaToolSchemas.js +1 -0
  139. package/build/core/capabilities/schemas/metaToolSchemas.js.map +1 -1
  140. package/build/core/capabilities/toolRegistry.d.ts +7 -3
  141. package/build/core/capabilities/toolRegistry.d.ts.map +1 -1
  142. package/build/core/capabilities/toolRegistry.js +28 -9
  143. package/build/core/capabilities/toolRegistry.js.map +1 -1
  144. package/build/core/instructions/instructionAggregator.d.ts.map +1 -1
  145. package/build/core/instructions/instructionAggregator.js +3 -1
  146. package/build/core/instructions/instructionAggregator.js.map +1 -1
  147. package/build/core/instructions/templateTypes.d.ts +1 -1
  148. package/build/core/instructions/templateTypes.d.ts.map +1 -1
  149. package/build/core/instructions/templateTypes.js +3 -3
  150. package/build/core/loading/loadingStateTracker.d.ts.map +1 -1
  151. package/build/core/loading/loadingStateTracker.js +11 -2
  152. package/build/core/loading/loadingStateTracker.js.map +1 -1
  153. package/build/core/loading/mcpLoadingManager.d.ts.map +1 -1
  154. package/build/core/loading/mcpLoadingManager.js +6 -2
  155. package/build/core/loading/mcpLoadingManager.js.map +1 -1
  156. package/build/core/protocol/requestHandlerUtils.d.ts +2 -2
  157. package/build/core/protocol/requestHandlerUtils.d.ts.map +1 -1
  158. package/build/core/protocol/requestHandlerUtils.js +7 -4
  159. package/build/core/protocol/requestHandlerUtils.js.map +1 -1
  160. package/build/core/server/agentConfig.d.ts +1 -0
  161. package/build/core/server/agentConfig.d.ts.map +1 -1
  162. package/build/core/server/agentConfig.js +1 -0
  163. package/build/core/server/agentConfig.js.map +1 -1
  164. package/build/core/server/disabledTools.d.ts +1 -1
  165. package/build/core/server/disabledTools.d.ts.map +1 -1
  166. package/build/core/server/disabledTools.js +18 -25
  167. package/build/core/server/disabledTools.js.map +1 -1
  168. package/build/core/server/processIdentity.d.ts.map +1 -1
  169. package/build/core/server/processIdentity.js +67 -18
  170. package/build/core/server/processIdentity.js.map +1 -1
  171. package/build/core/server/runtimeLaunchIpc.d.ts +14 -1
  172. package/build/core/server/runtimeLaunchIpc.d.ts.map +1 -1
  173. package/build/core/server/runtimeReplacementConfig.d.ts +14 -1
  174. package/build/core/server/runtimeReplacementConfig.d.ts.map +1 -1
  175. package/build/core/server/toolDescriptionOverrides.d.ts +1 -0
  176. package/build/core/server/toolDescriptionOverrides.d.ts.map +1 -1
  177. package/build/core/server/toolDescriptionOverrides.js +30 -5
  178. package/build/core/server/toolDescriptionOverrides.js.map +1 -1
  179. package/build/core/tools/handlers/serverManagementHandler.d.ts +21 -0
  180. package/build/core/tools/handlers/serverManagementHandler.d.ts.map +1 -1
  181. package/build/core/tools/internal/adapters/helpers/configTransformers.d.ts +3 -0
  182. package/build/core/tools/internal/adapters/helpers/configTransformers.d.ts.map +1 -1
  183. package/build/core/tools/internal/schemas/discovery.d.ts +1 -1
  184. package/build/core/tools/internal/schemas/index.d.ts +1 -1
  185. package/build/core/types/transport.d.ts +25 -2
  186. package/build/core/types/transport.d.ts.map +1 -1
  187. package/build/core/types/transport.js +12 -0
  188. package/build/core/types/transport.js.map +1 -1
  189. package/build/domains/admin/configuredToolInventory.d.ts.map +1 -1
  190. package/build/domains/admin/configuredToolInventory.js +47 -9
  191. package/build/domains/admin/configuredToolInventory.js.map +1 -1
  192. package/build/domains/admin/runtimeConfiguredToolInspectionService.d.ts.map +1 -1
  193. package/build/domains/admin/runtimeConfiguredToolInspectionService.js +13 -3
  194. package/build/domains/admin/runtimeConfiguredToolInspectionService.js.map +1 -1
  195. package/build/gateway/adapters/modern/modernInboundEraAdapter.d.ts.map +1 -1
  196. package/build/gateway/adapters/modern/modernInboundEraAdapter.js +3 -3
  197. package/build/gateway/adapters/modern/modernInboundEraAdapter.js.map +1 -1
  198. package/build/gateway/adapters/modern/modernOutboundEraAdapter.d.ts.map +1 -1
  199. package/build/gateway/adapters/modern/modernOutboundEraAdapter.js +4 -0
  200. package/build/gateway/adapters/modern/modernOutboundEraAdapter.js.map +1 -1
  201. package/build/gateway/contracts/gatewayFailure.d.ts +39 -1
  202. package/build/gateway/contracts/gatewayFailure.d.ts.map +1 -1
  203. package/build/gateway/contracts/gatewayFailure.js +139 -0
  204. package/build/gateway/contracts/gatewayFailure.js.map +1 -1
  205. package/build/gateway/interactions/nativeInputResponses.d.ts +16 -0
  206. package/build/gateway/interactions/nativeInputResponses.d.ts.map +1 -0
  207. package/build/gateway/interactions/nativeInputResponses.js +76 -0
  208. package/build/gateway/interactions/nativeInputResponses.js.map +1 -0
  209. package/build/gateway/interactions/validateInteractionResponse.d.ts.map +1 -1
  210. package/build/gateway/interactions/validateInteractionResponse.js +20 -1
  211. package/build/gateway/interactions/validateInteractionResponse.js.map +1 -1
  212. package/build/gateway/ports/outboundEraAdapter.d.ts +2 -0
  213. package/build/gateway/ports/outboundEraAdapter.d.ts.map +1 -1
  214. package/build/logger/diagnosticRedaction.d.ts +3 -0
  215. package/build/logger/diagnosticRedaction.d.ts.map +1 -0
  216. package/build/logger/diagnosticRedaction.js +12 -0
  217. package/build/logger/diagnosticRedaction.js.map +1 -0
  218. package/build/logger/httpDiagnostics.d.ts +25 -0
  219. package/build/logger/httpDiagnostics.d.ts.map +1 -0
  220. package/build/logger/httpDiagnostics.js +125 -0
  221. package/build/logger/httpDiagnostics.js.map +1 -0
  222. package/build/logger/localDiagnosticRecord.d.ts +11 -0
  223. package/build/logger/localDiagnosticRecord.d.ts.map +1 -0
  224. package/build/logger/localDiagnosticRecord.js +9 -0
  225. package/build/logger/localDiagnosticRecord.js.map +1 -0
  226. package/build/logger/localDiagnostics.d.ts +5 -0
  227. package/build/logger/localDiagnostics.d.ts.map +1 -0
  228. package/build/logger/localDiagnostics.js +116 -0
  229. package/build/logger/localDiagnostics.js.map +1 -0
  230. package/build/logger/logger.d.ts +7 -0
  231. package/build/logger/logger.d.ts.map +1 -1
  232. package/build/logger/logger.js +14 -0
  233. package/build/logger/logger.js.map +1 -1
  234. package/build/observability/events/registry.d.ts +163 -49
  235. package/build/observability/events/registry.d.ts.map +1 -1
  236. package/build/observability/events/registry.js +136 -49
  237. package/build/observability/events/registry.js.map +1 -1
  238. package/build/observability/privacy/fields.d.ts +3 -1
  239. package/build/observability/privacy/fields.d.ts.map +1 -1
  240. package/build/observability/privacy/fields.js +23 -0
  241. package/build/observability/privacy/fields.js.map +1 -1
  242. package/build/sdk/contracts/catalogCoverageInvalidation.d.ts +4 -0
  243. package/build/sdk/contracts/catalogCoverageInvalidation.d.ts.map +1 -0
  244. package/build/sdk/contracts/catalogCoverageInvalidation.js +13 -0
  245. package/build/sdk/contracts/catalogCoverageInvalidation.js.map +1 -0
  246. package/build/sdk/contracts/mcpParamHeaders.d.ts +17 -0
  247. package/build/sdk/contracts/mcpParamHeaders.d.ts.map +1 -0
  248. package/build/sdk/contracts/mcpParamHeaders.js +134 -0
  249. package/build/sdk/contracts/mcpParamHeaders.js.map +1 -0
  250. package/build/sdk/contracts/requestProgress.d.ts +29 -0
  251. package/build/sdk/contracts/requestProgress.d.ts.map +1 -0
  252. package/build/sdk/contracts/requestProgress.js +126 -0
  253. package/build/sdk/contracts/requestProgress.js.map +1 -0
  254. package/build/sdk/legacy/auth/sdkOAuthClientProvider.d.ts +77 -84
  255. package/build/sdk/legacy/auth/sdkOAuthClientProvider.d.ts.map +1 -1
  256. package/build/sdk/legacy/auth/sdkOAuthClientProvider.js +632 -209
  257. package/build/sdk/legacy/auth/sdkOAuthClientProvider.js.map +1 -1
  258. package/build/sdk/legacy/auth/sdkOAuthServerProvider.d.ts.map +1 -1
  259. package/build/sdk/legacy/auth/sdkOAuthServerProvider.js +25 -7
  260. package/build/sdk/legacy/auth/sdkOAuthServerProvider.js.map +1 -1
  261. package/build/sdk/legacy/client/runtime/clientManager.d.ts +5 -1
  262. package/build/sdk/legacy/client/runtime/clientManager.d.ts.map +1 -1
  263. package/build/sdk/legacy/client/runtime/clientManager.js +213 -6
  264. package/build/sdk/legacy/client/runtime/clientManager.js.map +1 -1
  265. package/build/sdk/legacy/client/runtime/connectionHandler.d.ts.map +1 -1
  266. package/build/sdk/legacy/client/runtime/connectionHandler.js +72 -4
  267. package/build/sdk/legacy/client/runtime/connectionHandler.js.map +1 -1
  268. package/build/sdk/legacy/client/runtime/legacyInteractionLease.d.ts +2 -1
  269. package/build/sdk/legacy/client/runtime/legacyInteractionLease.d.ts.map +1 -1
  270. package/build/sdk/legacy/client/runtime/legacyInteractionLease.js +11 -2
  271. package/build/sdk/legacy/client/runtime/legacyInteractionLease.js.map +1 -1
  272. package/build/sdk/legacy/client/runtime/legacySdkClientAdapter.d.ts.map +1 -1
  273. package/build/sdk/legacy/client/runtime/legacySdkClientAdapter.js +28 -2
  274. package/build/sdk/legacy/client/runtime/legacySdkClientAdapter.js.map +1 -1
  275. package/build/sdk/legacy/client/runtime/mcpParamHeaders.d.ts +2 -0
  276. package/build/sdk/legacy/client/runtime/mcpParamHeaders.d.ts.map +1 -0
  277. package/build/sdk/legacy/client/runtime/mcpParamHeaders.js +2 -0
  278. package/build/sdk/legacy/client/runtime/mcpParamHeaders.js.map +1 -0
  279. package/build/sdk/legacy/client/runtime/modernSdkClientAdapter.d.ts +6 -0
  280. package/build/sdk/legacy/client/runtime/modernSdkClientAdapter.d.ts.map +1 -1
  281. package/build/sdk/legacy/client/runtime/modernSdkClientAdapter.js +117 -6
  282. package/build/sdk/legacy/client/runtime/modernSdkClientAdapter.js.map +1 -1
  283. package/build/sdk/legacy/client/runtime/oauthFlowHandler.d.ts +1 -1
  284. package/build/sdk/legacy/client/runtime/oauthFlowHandler.d.ts.map +1 -1
  285. package/build/sdk/legacy/client/runtime/oauthFlowHandler.js +68 -16
  286. package/build/sdk/legacy/client/runtime/oauthFlowHandler.js.map +1 -1
  287. package/build/sdk/legacy/client/runtime/serveClient.d.ts.map +1 -1
  288. package/build/sdk/legacy/client/runtime/serveClient.js +3 -0
  289. package/build/sdk/legacy/client/runtime/serveClient.js.map +1 -1
  290. package/build/sdk/legacy/client/runtime/transportRecreator.d.ts.map +1 -1
  291. package/build/sdk/legacy/client/runtime/transportRecreator.js +9 -4
  292. package/build/sdk/legacy/client/runtime/transportRecreator.js.map +1 -1
  293. package/build/sdk/legacy/commands/serve.d.ts +1 -0
  294. package/build/sdk/legacy/commands/serve.d.ts.map +1 -1
  295. package/build/sdk/legacy/commands/serve.js +28 -2
  296. package/build/sdk/legacy/commands/serve.js.map +1 -1
  297. package/build/sdk/legacy/server/protocol/notificationHandlers.d.ts.map +1 -1
  298. package/build/sdk/legacy/server/protocol/notificationHandlers.js +2 -6
  299. package/build/sdk/legacy/server/protocol/notificationHandlers.js.map +1 -1
  300. package/build/sdk/legacy/server/protocol/privateInteractionConnection.d.ts +1 -1
  301. package/build/sdk/legacy/server/protocol/privateInteractionConnection.d.ts.map +1 -1
  302. package/build/sdk/legacy/server/protocol/privateInteractionConnection.js +31 -11
  303. package/build/sdk/legacy/server/protocol/privateInteractionConnection.js.map +1 -1
  304. package/build/sdk/legacy/server/protocol/promptRequestHandlers.d.ts.map +1 -1
  305. package/build/sdk/legacy/server/protocol/promptRequestHandlers.js +4 -4
  306. package/build/sdk/legacy/server/protocol/promptRequestHandlers.js.map +1 -1
  307. package/build/sdk/legacy/server/protocol/requestInteractionScope.d.ts.map +1 -1
  308. package/build/sdk/legacy/server/protocol/requestInteractionScope.js +62 -10
  309. package/build/sdk/legacy/server/protocol/requestInteractionScope.js.map +1 -1
  310. package/build/sdk/legacy/server/protocol/requestProviderProgress.d.ts +8 -0
  311. package/build/sdk/legacy/server/protocol/requestProviderProgress.d.ts.map +1 -0
  312. package/build/sdk/legacy/server/protocol/requestProviderProgress.js +29 -0
  313. package/build/sdk/legacy/server/protocol/requestProviderProgress.js.map +1 -0
  314. package/build/sdk/legacy/server/protocol/resourceRequestHandlers.d.ts.map +1 -1
  315. package/build/sdk/legacy/server/protocol/resourceRequestHandlers.js +20 -2
  316. package/build/sdk/legacy/server/protocol/resourceRequestHandlers.js.map +1 -1
  317. package/build/sdk/legacy/server/protocol/toolRequestHandlers.d.ts.map +1 -1
  318. package/build/sdk/legacy/server/protocol/toolRequestHandlers.js +151 -60
  319. package/build/sdk/legacy/server/protocol/toolRequestHandlers.js.map +1 -1
  320. package/build/sdk/legacy/server/retained-sdk/LICENSE +21 -0
  321. package/build/sdk/legacy/server/retained-sdk/provenance.json +17 -0
  322. package/build/sdk/legacy/server/retained-sdk/streamableHttp.js +160 -0
  323. package/build/sdk/legacy/server/retained-sdk/webStandardStreamableHttp.js +950 -0
  324. package/build/sdk/legacy/server/runtime/clientInstancePool.d.ts.map +1 -1
  325. package/build/sdk/legacy/server/runtime/clientInstancePool.js +34 -6
  326. package/build/sdk/legacy/server/runtime/clientInstancePool.js.map +1 -1
  327. package/build/sdk/legacy/server/runtime/mcpLoggingEnhancer.d.ts.map +1 -1
  328. package/build/sdk/legacy/server/runtime/mcpLoggingEnhancer.js +4 -2
  329. package/build/sdk/legacy/server/runtime/mcpLoggingEnhancer.js.map +1 -1
  330. package/build/sdk/legacy/server/runtime/serverManager.d.ts.map +1 -1
  331. package/build/sdk/legacy/server/runtime/serverManager.js +3 -1
  332. package/build/sdk/legacy/server/runtime/serverManager.js.map +1 -1
  333. package/build/sdk/legacy/server/runtime/templateServerManager.d.ts.map +1 -1
  334. package/build/sdk/legacy/server/runtime/templateServerManager.js +32 -7
  335. package/build/sdk/legacy/server/runtime/templateServerManager.js.map +1 -1
  336. package/build/sdk/legacy/server/streamableHttp.js +1 -1
  337. package/build/sdk/legacy/shared/resourceTemplateRouting.d.ts.map +1 -1
  338. package/build/sdk/legacy/shared/resourceTemplateRouting.js +29 -11
  339. package/build/sdk/legacy/shared/resourceTemplateRouting.js.map +1 -1
  340. package/build/sdk/legacy/transport/http/middlewares/scopeAuthMiddleware.d.ts.map +1 -1
  341. package/build/sdk/legacy/transport/http/middlewares/scopeAuthMiddleware.js +12 -1
  342. package/build/sdk/legacy/transport/http/middlewares/scopeAuthMiddleware.js.map +1 -1
  343. package/build/sdk/legacy/transport/http/modernInboundLegacyBridge.d.ts +4 -0
  344. package/build/sdk/legacy/transport/http/modernInboundLegacyBridge.d.ts.map +1 -1
  345. package/build/sdk/legacy/transport/http/modernInboundLegacyBridge.js +11 -0
  346. package/build/sdk/legacy/transport/http/modernInboundLegacyBridge.js.map +1 -1
  347. package/build/sdk/legacy/transport/http/server.d.ts.map +1 -1
  348. package/build/sdk/legacy/transport/http/server.js +16 -2
  349. package/build/sdk/legacy/transport/http/server.js.map +1 -1
  350. package/build/sdk/legacy/transport/stdioProxyTransport.d.ts.map +1 -1
  351. package/build/sdk/legacy/transport/stdioProxyTransport.js +4 -1
  352. package/build/sdk/legacy/transport/stdioProxyTransport.js.map +1 -1
  353. package/build/sdk/legacy/transport/transportFactory.d.ts.map +1 -1
  354. package/build/sdk/legacy/transport/transportFactory.js +41 -14
  355. package/build/sdk/legacy/transport/transportFactory.js.map +1 -1
  356. package/build/transport/http/middlewares/httpRequestLogger.d.ts +4 -2
  357. package/build/transport/http/middlewares/httpRequestLogger.d.ts.map +1 -1
  358. package/build/transport/http/middlewares/httpRequestLogger.js +135 -16
  359. package/build/transport/http/middlewares/httpRequestLogger.js.map +1 -1
  360. package/build/transport/http/routes/cliTokenRoute.d.ts.map +1 -1
  361. package/build/transport/http/routes/cliTokenRoute.js +1 -0
  362. package/build/transport/http/routes/cliTokenRoute.js.map +1 -1
  363. package/build/transport/http/routes/healthRoutes.d.ts +11 -1
  364. package/build/transport/http/routes/healthRoutes.d.ts.map +1 -1
  365. package/build/transport/http/routes/healthRoutes.js +6 -2
  366. package/build/transport/http/routes/healthRoutes.js.map +1 -1
  367. package/build/transport/http/routes/inspectHelpers.d.ts.map +1 -1
  368. package/build/transport/http/routes/inspectHelpers.js +4 -3
  369. package/build/transport/http/routes/inspectHelpers.js.map +1 -1
  370. package/build/transport/http/routes/modernHttpRoutes.d.ts +4 -0
  371. package/build/transport/http/routes/modernHttpRoutes.d.ts.map +1 -1
  372. package/build/transport/http/routes/modernHttpRoutes.js +168 -24
  373. package/build/transport/http/routes/modernHttpRoutes.js.map +1 -1
  374. package/build/transport/http/routes/modernInteractionBinding.d.ts +2 -1
  375. package/build/transport/http/routes/modernInteractionBinding.d.ts.map +1 -1
  376. package/build/transport/http/routes/modernInteractionBinding.js +7 -4
  377. package/build/transport/http/routes/modernInteractionBinding.js.map +1 -1
  378. package/build/transport/http/routes/modernToolHeaderRegistry.d.ts +16 -0
  379. package/build/transport/http/routes/modernToolHeaderRegistry.d.ts.map +1 -0
  380. package/build/transport/http/routes/modernToolHeaderRegistry.js +161 -0
  381. package/build/transport/http/routes/modernToolHeaderRegistry.js.map +1 -0
  382. package/build/transport/http/routes/oauthRoutes.d.ts.map +1 -1
  383. package/build/transport/http/routes/oauthRoutes.js +6 -3
  384. package/build/transport/http/routes/oauthRoutes.js.map +1 -1
  385. package/build/transport/http/routes/toolRoutes.d.ts.map +1 -1
  386. package/build/transport/http/routes/toolRoutes.js +18 -2
  387. package/build/transport/http/routes/toolRoutes.js.map +1 -1
  388. package/build/transport/sseWireLimit.d.ts +19 -0
  389. package/build/transport/sseWireLimit.d.ts.map +1 -0
  390. package/build/transport/sseWireLimit.js +227 -0
  391. package/build/transport/sseWireLimit.js.map +1 -0
  392. package/build/utils/core/parsing.d.ts +2 -0
  393. package/build/utils/core/parsing.d.ts.map +1 -1
  394. package/build/utils/core/parsing.js +19 -0
  395. package/build/utils/core/parsing.js.map +1 -1
  396. package/build/utils/core/resourceUris.d.ts +6 -0
  397. package/build/utils/core/resourceUris.d.ts.map +1 -0
  398. package/build/utils/core/resourceUris.js +104 -0
  399. package/build/utils/core/resourceUris.js.map +1 -0
  400. package/build/utils/core/toolNames.d.ts +8 -0
  401. package/build/utils/core/toolNames.d.ts.map +1 -0
  402. package/build/utils/core/toolNames.js +56 -0
  403. package/build/utils/core/toolNames.js.map +1 -0
  404. package/package.json +69 -65
@@ -1 +1 @@
1
- import{n as e}from"./admin-rolldown-runtime-Bh1tDfsg.js";import{D as t,E as n,S as r,T as i,b as a,j as o,s,y as c}from"./admin-mantine-xwbfu5Gd.js";import{i as l,r as u}from"./admin-react-BSaWeqgv.js";import{O as d,h as f,p,x as m}from"./admin-icons-CYGTDZA5.js";import{t as h}from"./admin-console-CMRxMjQo.js";var g=e(l(),1),_=u();function v({model:e,oauth:t,configureServer:r}){let{state:c,configuredServers:l}=e,u=c.status?.oauth.services??[],[d,p]=(0,g.useState)(null);async function m(e){try{await l.copy(`serviceId`,e.id),p(`Service id copied.`)}catch{p(`Could not copy service id. Select the value manually.`)}}return(0,_.jsxs)(`section`,{"aria-label":`OAuth services`,className:`operations-workspace`,children:[(0,_.jsx)(h,{title:`OAuth services`,description:`${u.length} reported services · runtime status ${c.status?.oauth.status??`unavailable`}`}),t.callbackFeedback?(0,_.jsx)(S,{feedback:t.callbackFeedback}):null,t.operationFeedback?(0,_.jsx)(S,{feedback:t.operationFeedback}):null,u.length===0?(0,_.jsx)(o,{className:`operations-panel`,withBorder:!0,children:(0,_.jsxs)(s,{gap:`sm`,className:`actionable-empty-state`,children:[(0,_.jsxs)(`div`,{children:[(0,_.jsx)(i,{fw:800,children:`No OAuth services reported`}),(0,_.jsx)(i,{c:`dimmed`,size:`sm`,children:`OAuth services appear when a configured server requires provider authorization.`})]}),(0,_.jsx)(a,{component:`a`,href:`/admin/servers/new`,leftSection:(0,_.jsx)(f,{size:16}),onClick:e=>{y(e)&&(e.preventDefault(),r())},children:`Configure server`})]})}):(0,_.jsx)(s,{gap:`sm`,children:u.map(e=>(0,_.jsx)(b,{service:e,busy:t.busy?.serviceId===e.id?t.busy.action:null,operationBlocked:t.busy!==null,onCopy:()=>void m(e),onOperate:n=>void t.operate(e.id,n)},e.id))}),d?(0,_.jsx)(n,{"aria-live":`polite`,color:d.startsWith(`Could not`)?`red`:`teal`,mt:`sm`,children:d}):null]})}function y(e){return e.button===0&&!e.metaKey&&!e.ctrlKey&&!e.shiftKey&&!e.altKey}function b({service:e,busy:n,operationBlocked:l,onCopy:u,onOperate:f}){let h=x(e),g=h===`authorize`?`Authorize`:`Restart`;return(0,_.jsx)(o,{component:`article`,className:`oauth-service-row`,withBorder:!0,children:(0,_.jsxs)(t,{justify:`space-between`,align:`flex-start`,wrap:`nowrap`,children:[(0,_.jsxs)(`div`,{className:`oauth-service-main`,children:[(0,_.jsxs)(t,{gap:`xs`,children:[(0,_.jsx)(i,{fw:800,children:e.displayName}),(0,_.jsx)(r,{color:e.status===`connected`?`teal`:`yellow`,variant:`light`,children:e.status})]}),(0,_.jsx)(i,{size:`xs`,c:`dimmed`,children:e.requiresOAuth?`OAuth required`:`No OAuth action required`}),e.lastError?(0,_.jsx)(i,{size:`sm`,c:`red`,children:e.lastError}):null,(0,_.jsxs)(`details`,{className:`oauth-service-identity`,children:[(0,_.jsx)(`summary`,{children:`Full service ID`}),(0,_.jsxs)(t,{gap:`xs`,wrap:`nowrap`,children:[(0,_.jsx)(c,{className:`oauth-service-id`,children:e.id}),(0,_.jsx)(a,{"aria-label":`Copy full service ID for ${e.displayName}`,size:`compact-xs`,variant:`subtle`,onClick:u,children:(0,_.jsx)(d,{size:14,"aria-hidden":`true`})})]})]})]}),h?(0,_.jsxs)(s,{gap:4,align:`flex-end`,className:`oauth-service-action`,children:[(0,_.jsx)(a,{"aria-label":`${g} ${e.displayName}`,leftSection:h===`authorize`?(0,_.jsx)(m,{size:15}):(0,_.jsx)(p,{size:15}),loading:n===h,disabled:l,onClick:()=>f(h),children:g}),(0,_.jsx)(i,{size:`xs`,c:`dimmed`,"aria-live":`polite`,children:n?n===`authorize`?`Starting authorization...`:`Restarting authorization...`:``})]}):null]})})}function x(e){return e.requiresOAuth?e.status===`awaiting_oauth`?`authorize`:`restart`:null}function S({feedback:e}){return(0,_.jsx)(n,{color:e.kind===`success`?`teal`:`red`,role:e.kind===`success`?`status`:`alert`,mb:`sm`,children:e.message})}export{v as OAuthServicesWorkspace};
1
+ import{n as e}from"./admin-rolldown-runtime-Bh1tDfsg.js";import{D as t,E as n,S as r,T as i,b as a,j as o,s,y as c}from"./admin-mantine-xwbfu5Gd.js";import{i as l,r as u}from"./admin-react-BSaWeqgv.js";import{O as d,h as f,p,x as m}from"./admin-icons-CYGTDZA5.js";import{t as h}from"./admin-console-CnUk1QF1.js";var g=e(l(),1),_=u();function v({model:e,oauth:t,configureServer:r}){let{state:c,configuredServers:l}=e,u=c.status?.oauth.services??[],[d,p]=(0,g.useState)(null);async function m(e){try{await l.copy(`serviceId`,e.id),p(`Service id copied.`)}catch{p(`Could not copy service id. Select the value manually.`)}}return(0,_.jsxs)(`section`,{"aria-label":`OAuth services`,className:`operations-workspace`,children:[(0,_.jsx)(h,{title:`OAuth services`,description:`${u.length} reported services · runtime status ${c.status?.oauth.status??`unavailable`}`}),t.callbackFeedback?(0,_.jsx)(S,{feedback:t.callbackFeedback}):null,t.operationFeedback?(0,_.jsx)(S,{feedback:t.operationFeedback}):null,u.length===0?(0,_.jsx)(o,{className:`operations-panel`,withBorder:!0,children:(0,_.jsxs)(s,{gap:`sm`,className:`actionable-empty-state`,children:[(0,_.jsxs)(`div`,{children:[(0,_.jsx)(i,{fw:800,children:`No OAuth services reported`}),(0,_.jsx)(i,{c:`dimmed`,size:`sm`,children:`OAuth services appear when a configured server requires provider authorization.`})]}),(0,_.jsx)(a,{component:`a`,href:`/admin/servers/new`,leftSection:(0,_.jsx)(f,{size:16}),onClick:e=>{y(e)&&(e.preventDefault(),r())},children:`Configure server`})]})}):(0,_.jsx)(s,{gap:`sm`,children:u.map(e=>(0,_.jsx)(b,{service:e,busy:t.busy?.serviceId===e.id?t.busy.action:null,operationBlocked:t.busy!==null,onCopy:()=>void m(e),onOperate:n=>void t.operate(e.id,n)},e.id))}),d?(0,_.jsx)(n,{"aria-live":`polite`,color:d.startsWith(`Could not`)?`red`:`teal`,mt:`sm`,children:d}):null]})}function y(e){return e.button===0&&!e.metaKey&&!e.ctrlKey&&!e.shiftKey&&!e.altKey}function b({service:e,busy:n,operationBlocked:l,onCopy:u,onOperate:f}){let h=x(e),g=h===`authorize`?`Authorize`:`Restart`;return(0,_.jsx)(o,{component:`article`,className:`oauth-service-row`,withBorder:!0,children:(0,_.jsxs)(t,{justify:`space-between`,align:`flex-start`,wrap:`nowrap`,children:[(0,_.jsxs)(`div`,{className:`oauth-service-main`,children:[(0,_.jsxs)(t,{gap:`xs`,children:[(0,_.jsx)(i,{fw:800,children:e.displayName}),(0,_.jsx)(r,{color:e.status===`connected`?`teal`:`yellow`,variant:`light`,children:e.status})]}),(0,_.jsx)(i,{size:`xs`,c:`dimmed`,children:e.requiresOAuth?`OAuth required`:`No OAuth action required`}),e.lastError?(0,_.jsx)(i,{size:`sm`,c:`red`,children:e.lastError}):null,(0,_.jsxs)(`details`,{className:`oauth-service-identity`,children:[(0,_.jsx)(`summary`,{children:`Full service ID`}),(0,_.jsxs)(t,{gap:`xs`,wrap:`nowrap`,children:[(0,_.jsx)(c,{className:`oauth-service-id`,children:e.id}),(0,_.jsx)(a,{"aria-label":`Copy full service ID for ${e.displayName}`,size:`compact-xs`,variant:`subtle`,onClick:u,children:(0,_.jsx)(d,{size:14,"aria-hidden":`true`})})]})]})]}),h?(0,_.jsxs)(s,{gap:4,align:`flex-end`,className:`oauth-service-action`,children:[(0,_.jsx)(a,{"aria-label":`${g} ${e.displayName}`,leftSection:h===`authorize`?(0,_.jsx)(m,{size:15}):(0,_.jsx)(p,{size:15}),loading:n===h,disabled:l,onClick:()=>f(h),children:g}),(0,_.jsx)(i,{size:`xs`,c:`dimmed`,"aria-live":`polite`,children:n?n===`authorize`?`Starting authorization...`:`Restarting authorization...`:``})]}):null]})})}function x(e){return e.requiresOAuth?e.status===`awaiting_oauth`?`authorize`:`restart`:null}function S({feedback:e}){return(0,_.jsx)(n,{color:e.kind===`success`?`teal`:`red`,role:e.kind===`success`?`status`:`alert`,mb:`sm`,children:e.message})}export{v as OAuthServicesWorkspace};