@introspection-ai/recipes 0.19.3 → 0.20.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.
Files changed (113) hide show
  1. package/dist/agents.d.ts +17 -1
  2. package/dist/agents.d.ts.map +1 -1
  3. package/dist/agents.js +15 -1
  4. package/dist/agents.js.map +1 -1
  5. package/dist/child-agent.d.ts +3 -1
  6. package/dist/child-agent.d.ts.map +1 -1
  7. package/dist/child-agent.js +1 -0
  8. package/dist/child-agent.js.map +1 -1
  9. package/dist/mcp-chunks/{auth-command-3K7V3VCW.js → auth-command-IQ4J332A.js} +26 -38
  10. package/dist/mcp-chunks/call-arguments-MCCBPJMY.js +15 -0
  11. package/dist/mcp-chunks/{call-command-OFPHPFM5.js → call-command-WPQ3MDOE.js} +74 -40
  12. package/dist/mcp-chunks/{chunk-LNSUME65.js → chunk-24FKKIXI.js} +29 -13
  13. package/dist/mcp-chunks/{chunk-HTZ2URXW.js → chunk-2CTVPSHF.js} +3 -3
  14. package/dist/mcp-chunks/{chunk-NCXEJ35U.js → chunk-3FB4ZJ4Z.js} +4 -4
  15. package/dist/mcp-chunks/{chunk-P3RN22HQ.js → chunk-3MIFROM7.js} +3 -2
  16. package/dist/mcp-chunks/{chunk-GFYTST6N.js → chunk-54UGGTOX.js} +1 -1
  17. package/dist/mcp-chunks/{chunk-L4VKBFYI.js → chunk-5HQYKAE7.js} +101 -16
  18. package/dist/mcp-chunks/{chunk-E6RVTWJY.js → chunk-5YBCGQA7.js} +1 -1
  19. package/dist/mcp-chunks/{chunk-6D6KPSXN.js → chunk-AJPFOQLF.js} +1 -1
  20. package/dist/mcp-chunks/{chunk-C2PQFLWS.js → chunk-B4XFULJ6.js} +15 -6
  21. package/dist/mcp-chunks/{chunk-HAO6PL7Z.js → chunk-DIIFWDZ7.js} +7 -7
  22. package/dist/mcp-chunks/{chunk-55JIHDU3.js → chunk-EEYUPDRX.js} +1 -1
  23. package/dist/mcp-chunks/{chunk-7A63PAGP.js → chunk-ETYYCEQF.js} +21 -5
  24. package/dist/mcp-chunks/{chunk-E6T37ED6.js → chunk-FNQV2ONG.js} +2 -2
  25. package/dist/mcp-chunks/{chunk-2JHHONW4.js → chunk-FW5QVG6V.js} +1 -1
  26. package/dist/mcp-chunks/{chunk-YCYSQA5V.js → chunk-FZ7K5EGL.js} +5 -5
  27. package/dist/mcp-chunks/{chunk-KSMY7PXI.js → chunk-G5C4WVDQ.js} +1 -1
  28. package/dist/mcp-chunks/{chunk-XRGLP3Z2.js → chunk-GPCLDF6U.js} +1 -1
  29. package/dist/mcp-chunks/{chunk-KSGYBW3F.js → chunk-GQHTGV5E.js} +72 -22
  30. package/dist/mcp-chunks/{chunk-64EP2BVO.js → chunk-HULRE4D2.js} +1 -1
  31. package/dist/mcp-chunks/{chunk-UENXT3NE.js → chunk-ILSK6AWI.js} +1 -1
  32. package/dist/mcp-chunks/{chunk-RBVYCKCD.js → chunk-ILULMM2E.js} +2 -2
  33. package/dist/mcp-chunks/{chunk-NZOIX6XW.js → chunk-ITJWLDF5.js} +2 -2
  34. package/dist/mcp-chunks/{chunk-XUF6KARU.js → chunk-IUFDFNNP.js} +1 -1
  35. package/dist/mcp-chunks/chunk-JJG2OEHI.js +12 -0
  36. package/dist/mcp-chunks/{chunk-YPJ5EHXR.js → chunk-K56RW4HB.js} +4 -4
  37. package/dist/mcp-chunks/{chunk-H7F5RZXS.js → chunk-KJ3CMHWS.js} +2 -1
  38. package/dist/mcp-chunks/{chunk-WXBPMFSN.js → chunk-LI4L4FOV.js} +91 -34
  39. package/dist/mcp-chunks/{chunk-ETWN4IIA.js → chunk-LYZRCACV.js} +6 -6
  40. package/dist/mcp-chunks/{chunk-ZBFZ5UFE.js → chunk-MDVNQ4HM.js} +3 -1
  41. package/dist/mcp-chunks/{chunk-3IZQW4H4.js → chunk-MNAVFYYV.js} +212 -18
  42. package/dist/mcp-chunks/{chunk-7DH57OKF.js → chunk-MWD5PZ4G.js} +2 -2
  43. package/dist/mcp-chunks/{chunk-YSPT6F7K.js → chunk-N2HVJU7X.js} +1 -1
  44. package/dist/mcp-chunks/{chunk-WWO5WGH5.js → chunk-NACLB5YH.js} +5 -5
  45. package/dist/mcp-chunks/{chunk-QJACOI2W.js → chunk-NMF5S5DC.js} +4 -2
  46. package/dist/mcp-chunks/{chunk-54EWGONA.js → chunk-NPU7EMGE.js} +10 -6
  47. package/dist/mcp-chunks/{chunk-SFREPU3D.js → chunk-NSZY5WLR.js} +1 -1
  48. package/dist/mcp-chunks/{chunk-7RDLPFIO.js → chunk-QK6LUI5Q.js} +2 -2
  49. package/dist/mcp-chunks/{chunk-XTL4MHFH.js → chunk-QONTHFPO.js} +11 -7
  50. package/dist/mcp-chunks/{chunk-YTKRAHO6.js → chunk-RDOD354S.js} +4 -4
  51. package/dist/mcp-chunks/{chunk-2MEHGB7D.js → chunk-RXSZ2W6Y.js} +1 -1
  52. package/dist/mcp-chunks/{chunk-UHOKCTZT.js → chunk-RYAUNXFA.js} +1 -1
  53. package/dist/mcp-chunks/{chunk-GIF7LOYU.js → chunk-SCD2NAX5.js} +2 -2
  54. package/dist/mcp-chunks/{chunk-F3LL4EBL.js → chunk-SHZVDY6Z.js} +1 -1
  55. package/dist/mcp-chunks/{chunk-CNDY7WB4.js → chunk-TAVMVGD5.js} +2 -2
  56. package/dist/mcp-chunks/{chunk-JAKI24KR.js → chunk-U23EY5DN.js} +1 -1
  57. package/dist/mcp-chunks/{chunk-SB2UUURE.js → chunk-UAIJZBGL.js} +10 -10
  58. package/dist/mcp-chunks/{chunk-PKOJCYNA.js → chunk-UDG3RHKX.js} +2 -2
  59. package/dist/mcp-chunks/{chunk-CA5WFJZA.js → chunk-VC6SKXTI.js} +1 -1
  60. package/dist/mcp-chunks/chunk-VJ2TSA5R.js +818 -0
  61. package/dist/mcp-chunks/{chunk-FWP4RACK.js → chunk-VREKED5H.js} +2 -2
  62. package/dist/mcp-chunks/{chunk-2FSDGCHW.js → chunk-WKUCIR2F.js} +374 -527
  63. package/dist/mcp-chunks/chunk-XRRT3SZM.js +1931 -0
  64. package/dist/mcp-chunks/{chunk-GSZOK5TS.js → chunk-YDJ7E2PH.js} +3 -3
  65. package/dist/mcp-chunks/{chunk-LICH4Q7A.js → chunk-ZI44YPFF.js} +4 -4
  66. package/dist/mcp-chunks/{chunk-DEUU7WSN.js → chunk-ZNKNF2BV.js} +2 -2
  67. package/dist/mcp-chunks/{chunk-DXPHJFSA.js → chunk-ZSKQI4TS.js} +4 -4
  68. package/dist/mcp-chunks/{cli-E4P6SZLQ.js → cli-Z7KV4PCE.js} +70 -69
  69. package/dist/mcp-chunks/client-B3FMQNGF.js +21 -0
  70. package/dist/mcp-chunks/{config-command-MWF3RHPQ.js → config-command-XXCDOB3M.js} +27 -27
  71. package/dist/mcp-chunks/daemon-command-BAREANTC.js +35 -0
  72. package/dist/mcp-chunks/{dist-ZIPUENTM.js → dist-V4UB7RTR.js} +547 -402
  73. package/dist/mcp-chunks/{emit-ts-command-GOVJJ64A.js → emit-ts-command-FEHTMXXB.js} +16 -16
  74. package/dist/mcp-chunks/{generate-cli-runner-L5OQIMEY.js → generate-cli-runner-OA6XL77R.js} +49 -42
  75. package/dist/mcp-chunks/{inspect-cli-command-7OMMREPE.js → inspect-cli-command-UQKKE5VO.js} +9 -9
  76. package/dist/mcp-chunks/{launch-BWXPLPB7.js → launch-KMPDJOUH.js} +1 -1
  77. package/dist/mcp-chunks/{lifecycle-B5UC65PT.js → lifecycle-R3IP22MJ.js} +1 -1
  78. package/dist/mcp-chunks/{list-command-ZO4HVFQK.js → list-command-7ENYKBF6.js} +31 -31
  79. package/dist/mcp-chunks/{output-utils-M3TJ2N4M.js → output-utils-N75TOWBX.js} +3 -3
  80. package/dist/mcp-chunks/{prompt-CH6TK0bC-C7OTKGRD.js → prompt-CH6TK0bC-NSBYYJZH.js} +1 -1
  81. package/dist/mcp-chunks/{record-command-VD3HUQIC.js → record-command-XHPCL7IG.js} +5 -5
  82. package/dist/mcp-chunks/{replay-command-AX6IN7YD.js → replay-command-CB56L3ZA.js} +6 -6
  83. package/dist/mcp-chunks/{resource-command-JEZ2DW2G.js → resource-command-STEBHVT7.js} +9 -9
  84. package/dist/mcp-chunks/{result-utils-3YHYGS45.js → result-utils-UONY2KNY.js} +3 -3
  85. package/dist/mcp-chunks/runtime-Z45IVD24.js +39 -0
  86. package/dist/mcp-chunks/{runtime-wrapper-UREU7GC3.js → runtime-wrapper-SYYAQVO6.js} +6 -6
  87. package/dist/mcp-chunks/{serve-command-M47YZ6JN.js → serve-command-VYSFRZFE.js} +35 -27
  88. package/dist/mcp-chunks/{timeouts-THZRYP4B.js → timeouts-T3JP3MUF.js} +5 -3
  89. package/dist/mcp-chunks/{vault-command-53P7MLCB.js → vault-command-AJ3X7GDI.js} +58 -12
  90. package/dist/mcp-chunks/{webapi-PHEQZQKH.js → webapi-BLTNWSB2.js} +68 -60
  91. package/dist/mcp-daemon.js +30 -28
  92. package/dist/mcp-run-worker.js +30 -28
  93. package/dist/pi-extension.d.ts +3 -0
  94. package/dist/pi-extension.d.ts.map +1 -1
  95. package/dist/pi-extension.js +27 -0
  96. package/dist/pi-extension.js.map +1 -1
  97. package/dist/run-controller.d.ts +3 -1
  98. package/dist/run-controller.d.ts.map +1 -1
  99. package/dist/run-controller.js +10 -0
  100. package/dist/run-controller.js.map +1 -1
  101. package/dist/session.d.ts +3 -1
  102. package/dist/session.d.ts.map +1 -1
  103. package/dist/session.js +4 -1
  104. package/dist/session.js.map +1 -1
  105. package/docs/host-api.md +12 -0
  106. package/docs/pi-extension.md +10 -0
  107. package/package.json +11 -11
  108. package/vendor/introspection-recipe-check/win32-x64/introspection-recipe-check.exe +0 -0
  109. package/dist/mcp-chunks/call-arguments-TX3F2TEE.js +0 -15
  110. package/dist/mcp-chunks/chunk-SRZZQ6TL.js +0 -266
  111. package/dist/mcp-chunks/client-2EJC4PLL.js +0 -18
  112. package/dist/mcp-chunks/daemon-command-6CJ26MKI.js +0 -33
  113. package/dist/mcp-chunks/runtime-HSYVOME7.js +0 -37
@@ -1,15 +0,0 @@
1
- import { createRequire as __createRequire } from "node:module"; const require = __createRequire(import.meta.url);
2
- import {
3
- parseCallArguments
4
- } from "./chunk-LNSUME65.js";
5
- import "./chunk-2JHHONW4.js";
6
- import "./chunk-QJACOI2W.js";
7
- import "./chunk-55JIHDU3.js";
8
- import "./chunk-UENXT3NE.js";
9
- import "./chunk-F3LL4EBL.js";
10
- import "./chunk-ETWN4IIA.js";
11
- import "./chunk-HAO6PL7Z.js";
12
- import "./chunk-LRKZP7DJ.js";
13
- export {
14
- parseCallArguments
15
- };
@@ -1,266 +0,0 @@
1
- import { createRequire as __createRequire } from "node:module"; const require = __createRequire(import.meta.url);
2
- import {
3
- isUnauthorizedError
4
- } from "./chunk-7DH57OKF.js";
5
- import {
6
- IssuerMismatchError,
7
- auth
8
- } from "./chunk-YPJ5EHXR.js";
9
-
10
- // node_modules/.pnpm/mcporter@0.13.0/node_modules/mcporter/dist/runtime/oauth.js
11
- var DEFAULT_OAUTH_CODE_TIMEOUT_MS = 3e5;
12
- var OAUTH_FLOW_ERROR = /* @__PURE__ */ Symbol("oauth-flow-error");
13
- var POST_AUTH_CONNECT_ERROR = /* @__PURE__ */ Symbol("post-auth-connect-error");
14
- var MAX_OAUTH_ERROR_DETAIL_LENGTH = 1200;
15
- var PROACTIVE_TOKEN_SKEW_SECONDS = 60;
16
- var OAuthTimeoutError = class extends Error {
17
- timeoutMs;
18
- serverName;
19
- constructor(serverName, timeoutMs) {
20
- const seconds = Math.round(timeoutMs / 1e3);
21
- super(`OAuth authorization for '${serverName}' timed out after ${seconds}s; aborting.`);
22
- this.name = "OAuthTimeoutError";
23
- this.timeoutMs = timeoutMs;
24
- this.serverName = serverName;
25
- }
26
- };
27
- var OAuthAuthorizationNotStartedError = class extends Error {
28
- serverName;
29
- constructor(serverName, cause) {
30
- const causeMessage = formatOAuthErrorDetail(cause);
31
- const detail = causeMessage ? ` Last error: ${causeMessage}` : "";
32
- super(`OAuth authorization for '${serverName}' did not produce an authorization URL; aborting instead of waiting for a browser callback.${detail}`);
33
- this.name = "OAuthAuthorizationNotStartedError";
34
- this.serverName = serverName;
35
- }
36
- };
37
- function formatOAuthErrorDetail(cause) {
38
- if (!(cause instanceof Error) || !cause.message) {
39
- return "";
40
- }
41
- return truncateOAuthErrorDetail(cause.message);
42
- }
43
- function truncateOAuthErrorDetail(message) {
44
- if (message.length <= MAX_OAUTH_ERROR_DETAIL_LENGTH) {
45
- return message;
46
- }
47
- const truncated = message.length - MAX_OAUTH_ERROR_DETAIL_LENGTH;
48
- return `${message.slice(0, MAX_OAUTH_ERROR_DETAIL_LENGTH)}... [truncated ${truncated} chars]`;
49
- }
50
- function markOAuthFlowError(error) {
51
- return markError(error, OAUTH_FLOW_ERROR);
52
- }
53
- function isOAuthFlowError(error) {
54
- return hasErrorMarker(error, OAUTH_FLOW_ERROR);
55
- }
56
- function markPostAuthConnectError(error) {
57
- return markError(error, POST_AUTH_CONNECT_ERROR);
58
- }
59
- function isPostAuthConnectError(error) {
60
- return hasErrorMarker(error, POST_AUTH_CONNECT_ERROR);
61
- }
62
- function markError(error, marker) {
63
- if (!error || typeof error !== "object" && typeof error !== "function") {
64
- return error;
65
- }
66
- Object.defineProperty(error, marker, {
67
- value: true,
68
- enumerable: false,
69
- configurable: true
70
- });
71
- return error;
72
- }
73
- function hasErrorMarker(error, marker) {
74
- return !!error && (typeof error === "object" || typeof error === "function") && marker in error && Boolean(error[marker]);
75
- }
76
- function hasUsableCachedAccessToken(tokens) {
77
- if (!tokens || typeof tokens.access_token !== "string" || tokens.access_token.trim().length === 0) {
78
- return false;
79
- }
80
- const stored = tokens;
81
- const expiresAt = typeof stored.expires_at === "number" ? stored.expires_at : stored.expiresAt;
82
- return typeof expiresAt === "number" && expiresAt > Math.floor(Date.now() / 1e3) + PROACTIVE_TOKEN_SKEW_SECONDS;
83
- }
84
- async function connectWithAuth(client, transport, session, logger, options = {}) {
85
- const { serverName, maxAttempts = 3, oauthTimeoutMs = DEFAULT_OAUTH_CODE_TIMEOUT_MS, recreateTransport } = options;
86
- const state = {
87
- activeTransport: transport,
88
- attempt: 0,
89
- hasCompletedAuthFlow: false
90
- };
91
- while (true) {
92
- try {
93
- await attemptTransportConnect(client, state, options.signal);
94
- if (session && !state.hasCompletedAuthFlow && options.serverUrl) {
95
- await completeProactiveAuthorization(state.activeTransport, session, logger, {
96
- serverName,
97
- oauthTimeoutMs,
98
- serverUrl: options.serverUrl,
99
- fetchFn: options.fetchFn
100
- });
101
- state.hasCompletedAuthFlow = true;
102
- }
103
- if (session && state.hasCompletedAuthFlow) {
104
- await session.close().catch(() => {
105
- });
106
- }
107
- return state.activeTransport;
108
- } catch (error) {
109
- const unauthorized = isUnauthorizedError(error);
110
- if (!shouldRetryAuthorization(state, unauthorized, session)) {
111
- await closeReplacementTransport(transport, state.activeTransport);
112
- throw state.hasCompletedAuthFlow && !unauthorized ? markPostAuthConnectError(error) : error;
113
- }
114
- state.attempt += 1;
115
- if (state.attempt > maxAttempts) {
116
- await closeReplacementTransport(transport, state.activeTransport);
117
- throw state.hasCompletedAuthFlow ? markPostAuthConnectError(error) : error;
118
- }
119
- if (session.hasAuthorizationRedirectStarted?.() !== false) {
120
- logger.warn(`OAuth authorization required for '${serverName ?? "unknown"}'. Waiting for browser approval...`);
121
- }
122
- try {
123
- state.activeTransport = await completeAuthorizationChallenge(state.activeTransport, session, logger, error, {
124
- serverName,
125
- oauthTimeoutMs,
126
- recreateTransport
127
- });
128
- state.hasCompletedAuthFlow = true;
129
- logger.info("Authorization code accepted. Retrying connection...");
130
- } catch (authError) {
131
- const message = authError instanceof OAuthAuthorizationNotStartedError ? "OAuth authorization could not start." : "OAuth authorization failed while waiting for callback.";
132
- logger.error(message, authError);
133
- await closeReplacementTransport(transport, state.activeTransport);
134
- throw markOAuthFlowError(authError);
135
- }
136
- }
137
- }
138
- }
139
- async function attemptTransportConnect(client, state, signal) {
140
- if (signal) {
141
- await client.connect(state.activeTransport, { signal });
142
- } else {
143
- await client.connect(state.activeTransport);
144
- }
145
- return state.activeTransport;
146
- }
147
- function shouldRetryAuthorization(_state, unauthorized, session) {
148
- if (!session || !unauthorized) {
149
- return false;
150
- }
151
- return true;
152
- }
153
- async function closeReplacementTransport(originalTransport, activeTransport) {
154
- if (activeTransport === originalTransport) {
155
- return;
156
- }
157
- await activeTransport.close().catch(() => {
158
- });
159
- }
160
- async function completeAuthorizationChallenge(transport, session, logger, connectError, options) {
161
- if (session.hasAuthorizationRedirectStarted?.() === false) {
162
- throw new OAuthAuthorizationNotStartedError(options.serverName ?? "unknown", connectError);
163
- }
164
- const response = await waitForAuthorizationResponseWithTimeout(session, logger, options.serverName, options.oauthTimeoutMs ?? DEFAULT_OAUTH_CODE_TIMEOUT_MS);
165
- if (typeof transport.finishAuth !== "function") {
166
- logger.warn("Transport does not support finishAuth; cannot complete OAuth flow automatically.");
167
- throw connectError;
168
- }
169
- await finishAuthorization(transport, response, options.serverName);
170
- if (!options.recreateTransport) {
171
- return transport;
172
- }
173
- const nextTransport = await options.recreateTransport(transport);
174
- await transport.close().catch(() => {
175
- });
176
- return nextTransport;
177
- }
178
- async function completeProactiveAuthorization(transport, session, logger, options) {
179
- if (!options.serverUrl) {
180
- return;
181
- }
182
- try {
183
- const cachedTokens = await session.provider.tokens?.();
184
- if (hasUsableCachedAccessToken(cachedTokens)) {
185
- return;
186
- }
187
- const result = await auth(session.provider, {
188
- serverUrl: options.serverUrl,
189
- fetchFn: options.fetchFn
190
- });
191
- if (result !== "REDIRECT") {
192
- await session.close().catch(() => {
193
- });
194
- return;
195
- }
196
- if (session.hasAuthorizationRedirectStarted?.() === false) {
197
- throw new OAuthAuthorizationNotStartedError(options.serverName ?? "unknown");
198
- }
199
- logger.warn(`OAuth authorization required for '${options.serverName ?? "unknown"}'. Waiting for browser approval...`);
200
- if (typeof transport.finishAuth !== "function") {
201
- throw new Error("Transport does not support finishAuth; cannot complete OAuth flow automatically.");
202
- }
203
- const response = await waitForAuthorizationResponseWithTimeout(session, logger, options.serverName, options.oauthTimeoutMs ?? DEFAULT_OAUTH_CODE_TIMEOUT_MS);
204
- await finishAuthorization(transport, response, options.serverName);
205
- await session.close().catch(() => {
206
- });
207
- } catch (error) {
208
- throw markOAuthFlowError(error);
209
- }
210
- }
211
- function waitForAuthorizationResponseWithTimeout(session, logger, serverName, timeoutMs = DEFAULT_OAUTH_CODE_TIMEOUT_MS) {
212
- if (!Number.isFinite(timeoutMs) || timeoutMs <= 0) {
213
- return readAuthorizationResponse(session);
214
- }
215
- const displayName = serverName ?? "unknown";
216
- return new Promise((resolve, reject) => {
217
- const timer = setTimeout(() => {
218
- const error = new OAuthTimeoutError(displayName, timeoutMs);
219
- logger.warn(error.message);
220
- reject(error);
221
- }, timeoutMs);
222
- readAuthorizationResponse(session).then((response) => {
223
- clearTimeout(timer);
224
- resolve(response);
225
- }, (error) => {
226
- clearTimeout(timer);
227
- reject(error);
228
- });
229
- });
230
- }
231
- async function readAuthorizationResponse(session) {
232
- if (session.waitForAuthorizationResponse)
233
- return session.waitForAuthorizationResponse();
234
- return { code: await session.waitForAuthorizationCode() };
235
- }
236
- async function finishAuthorization(transport, response, serverName) {
237
- try {
238
- await transport.finishAuth?.(response.code, response.iss);
239
- } catch (error) {
240
- if (error instanceof IssuerMismatchError && error.kind === "authorization_response") {
241
- throw new Error(`OAuth issuer validation failed for '${serverName ?? "unknown"}': expected ${JSON.stringify(error.expected)}, got ${JSON.stringify(error.received)}; the authorization code was not redeemed.`, { cause: error });
242
- }
243
- throw error;
244
- }
245
- }
246
- function parseOAuthTimeout(raw) {
247
- if (!raw) {
248
- return DEFAULT_OAUTH_CODE_TIMEOUT_MS;
249
- }
250
- const parsed = Number.parseInt(raw, 10);
251
- if (!Number.isFinite(parsed) || parsed <= 0) {
252
- return DEFAULT_OAUTH_CODE_TIMEOUT_MS;
253
- }
254
- return parsed;
255
- }
256
- function resolveOAuthTimeoutFromEnv() {
257
- return parseOAuthTimeout(process.env.MCPORTER_OAUTH_TIMEOUT_MS ?? process.env.MCPORTER_OAUTH_TIMEOUT);
258
- }
259
-
260
- export {
261
- OAuthTimeoutError,
262
- isOAuthFlowError,
263
- isPostAuthConnectError,
264
- connectWithAuth,
265
- resolveOAuthTimeoutFromEnv
266
- };
@@ -1,18 +0,0 @@
1
- import { createRequire as __createRequire } from "node:module"; const require = __createRequire(import.meta.url);
2
- import {
3
- DaemonClient,
4
- resolveDaemonPaths
5
- } from "./chunk-KSGYBW3F.js";
6
- import "./chunk-ZBFZ5UFE.js";
7
- import "./chunk-L4VKBFYI.js";
8
- import "./chunk-7A63PAGP.js";
9
- import "./chunk-HTZ2URXW.js";
10
- import "./chunk-FWP4RACK.js";
11
- import "./chunk-HAO6PL7Z.js";
12
- import "./chunk-6D6KPSXN.js";
13
- import "./chunk-LWVFSQYX.js";
14
- import "./chunk-LRKZP7DJ.js";
15
- export {
16
- DaemonClient,
17
- resolveDaemonPaths
18
- };
@@ -1,33 +0,0 @@
1
- import { createRequire as __createRequire } from "node:module"; const require = __createRequire(import.meta.url);
2
- import {
3
- handleDaemonCli
4
- } from "./chunk-WXBPMFSN.js";
5
- import "./chunk-64EP2BVO.js";
6
- import "./chunk-UHOKCTZT.js";
7
- import "./chunk-2FSDGCHW.js";
8
- import "./chunk-CA5WFJZA.js";
9
- import "./chunk-E6T37ED6.js";
10
- import "./chunk-SRZZQ6TL.js";
11
- import "./chunk-3IZQW4H4.js";
12
- import "./chunk-C2PQFLWS.js";
13
- import "./chunk-7DH57OKF.js";
14
- import "./chunk-2MEHGB7D.js";
15
- import "./chunk-SFREPU3D.js";
16
- import "./chunk-GFYTST6N.js";
17
- import "./chunk-ETWN4IIA.js";
18
- import "./chunk-DEUU7WSN.js";
19
- import "./chunk-YPJ5EHXR.js";
20
- import "./chunk-YSPT6F7K.js";
21
- import "./chunk-KSGYBW3F.js";
22
- import "./chunk-ZBFZ5UFE.js";
23
- import "./chunk-L4VKBFYI.js";
24
- import "./chunk-7A63PAGP.js";
25
- import "./chunk-HTZ2URXW.js";
26
- import "./chunk-FWP4RACK.js";
27
- import "./chunk-HAO6PL7Z.js";
28
- import "./chunk-6D6KPSXN.js";
29
- import "./chunk-LWVFSQYX.js";
30
- import "./chunk-LRKZP7DJ.js";
31
- export {
32
- handleDaemonCli
33
- };
@@ -1,37 +0,0 @@
1
- import { createRequire as __createRequire } from "node:module"; const require = __createRequire(import.meta.url);
2
- import {
3
- callOnce,
4
- createRuntime
5
- } from "./chunk-2FSDGCHW.js";
6
- import "./chunk-CA5WFJZA.js";
7
- import "./chunk-E6T37ED6.js";
8
- import "./chunk-SRZZQ6TL.js";
9
- import "./chunk-3IZQW4H4.js";
10
- import "./chunk-C2PQFLWS.js";
11
- import "./chunk-7DH57OKF.js";
12
- import "./chunk-2MEHGB7D.js";
13
- import {
14
- MCPORTER_VERSION
15
- } from "./chunk-SFREPU3D.js";
16
- import "./chunk-GFYTST6N.js";
17
- import "./chunk-ETWN4IIA.js";
18
- import "./chunk-DEUU7WSN.js";
19
- import "./chunk-YPJ5EHXR.js";
20
- import "./chunk-L4VKBFYI.js";
21
- import {
22
- readJsonFile,
23
- writeJsonFile
24
- } from "./chunk-7A63PAGP.js";
25
- import "./chunk-HTZ2URXW.js";
26
- import "./chunk-FWP4RACK.js";
27
- import "./chunk-HAO6PL7Z.js";
28
- import "./chunk-6D6KPSXN.js";
29
- import "./chunk-LWVFSQYX.js";
30
- import "./chunk-LRKZP7DJ.js";
31
- export {
32
- MCPORTER_VERSION,
33
- callOnce,
34
- createRuntime,
35
- readJsonFile,
36
- writeJsonFile
37
- };