@mastra/deployer 0.2.6-alpha.1 → 0.2.6-alpha.10

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 (40) hide show
  1. package/dist/_tsup-dts-rollup.d.cts +94 -42
  2. package/dist/_tsup-dts-rollup.d.ts +94 -42
  3. package/dist/build/analyze.cjs +2 -2
  4. package/dist/build/analyze.js +1 -1
  5. package/dist/build/bundler.cjs +3 -3
  6. package/dist/build/bundler.js +1 -1
  7. package/dist/build/index.cjs +22 -24
  8. package/dist/build/index.d.cts +3 -4
  9. package/dist/build/index.d.ts +3 -4
  10. package/dist/build/index.js +6 -4
  11. package/dist/bundler/index.cjs +2 -2
  12. package/dist/bundler/index.js +1 -1
  13. package/dist/chunk-2ZPQX6BX.cjs +254 -0
  14. package/dist/chunk-4AYFLP6G.js +227 -0
  15. package/dist/chunk-5UBGPRKT.js +185 -0
  16. package/dist/{chunk-KLVSED7T.js → chunk-74KZVNKH.js} +8 -4
  17. package/dist/{chunk-OT6UKL2S.cjs → chunk-AE4CVAPK.cjs} +11 -0
  18. package/dist/{chunk-UTZ3434D.js → chunk-BDTZS3JM.js} +3 -0
  19. package/dist/chunk-DYQ225MJ.js +115 -0
  20. package/dist/chunk-I3UVE6EH.cjs +161 -0
  21. package/dist/{chunk-XEFBJH3T.js → chunk-IKPL4RGG.js} +11 -0
  22. package/dist/chunk-NCROGJGB.cjs +142 -0
  23. package/dist/{chunk-NWERLYTR.cjs → chunk-P5SATU7G.cjs} +3 -0
  24. package/dist/chunk-VFZVVUQE.cjs +198 -0
  25. package/dist/chunk-WB3T6NKI.js +133 -0
  26. package/dist/{chunk-NXBTVZHO.cjs → chunk-WFC3CUZ3.cjs} +14 -10
  27. package/dist/index.cjs +12 -11
  28. package/dist/index.js +7 -6
  29. package/dist/server/index.cjs +621 -2828
  30. package/dist/server/index.js +534 -2741
  31. package/dist/services/index.cjs +19 -0
  32. package/dist/services/index.d.cts +3 -0
  33. package/dist/services/index.d.ts +3 -0
  34. package/dist/services/index.js +2 -0
  35. package/dist/templates/instrumentation-template.js +25 -19
  36. package/package.json +15 -4
  37. package/dist/chunk-7GYBZLVN.cjs +0 -286
  38. package/dist/chunk-KFOGAPGX.cjs +0 -433
  39. package/dist/chunk-PUX2FDGX.js +0 -252
  40. package/dist/chunk-ZAXXMFXX.js +0 -399
@@ -1,10 +1,10 @@
1
1
  import { default as babel_2 } from '@babel/core';
2
2
  import { BlankSchema } from 'hono/types';
3
+ import type { Config } from '@mastra/core';
3
4
  import { ContentfulStatusCode } from 'hono/utils/http-status';
4
5
  import type { Context } from 'hono';
5
6
  import { Hono } from 'hono';
6
7
  import type { IDeployer } from '@mastra/core/deployer';
7
- import { InputOption } from 'rollup';
8
8
  import { InputOptions } from 'rollup';
9
9
  import type { Logger } from '@mastra/core';
10
10
  import type { Logger as Logger_2 } from '@mastra/core/logger';
@@ -14,8 +14,10 @@ import { MastraBundler } from '@mastra/core/bundler';
14
14
  import type { MastraDeployer } from '@mastra/core';
15
15
  import type { MastraVector } from '@mastra/core/vector';
16
16
  import { OutputOptions } from 'rollup';
17
- import { Plugin } from 'rollup';
17
+ import type { Plugin } from 'rollup';
18
18
  import { PluginContext } from 'rollup';
19
+ import { PluginObj } from '@babel/core';
20
+ import { PluginPass } from '@babel/core';
19
21
  import type { RegisterOptions } from 'typescript-paths';
20
22
  import { RenderedChunk } from 'rollup';
21
23
  import type { ResolveHookContext } from 'node:module';
@@ -131,7 +133,7 @@ export declare function deleteIndex(c: Context): Promise<Response>;
131
133
  export declare function deleteThreadHandler(c: Context): Promise<Response>;
132
134
 
133
135
  declare abstract class Deployer extends Bundler implements IDeployer {
134
- deps: Deps;
136
+ deps: DepsService;
135
137
  constructor(args: {
136
138
  name: string;
137
139
  });
@@ -162,12 +164,19 @@ export { Deps }
162
164
  export { Deps as Deps_alias_1 }
163
165
  export { Deps as Deps_alias_2 }
164
166
 
167
+ declare class DepsService extends Deps {
168
+ }
169
+ export { DepsService }
170
+ export { DepsService as DepsService_alias_1 }
171
+
165
172
  export declare function describeIndex(c: Context): Promise<Response>;
166
173
 
167
- export declare abstract class EnvService {
174
+ declare abstract class EnvService {
168
175
  abstract getEnvValue(key: string): Promise<string | null>;
169
176
  abstract setEnvValue(key: string, value: string): Promise<void>;
170
177
  }
178
+ export { EnvService }
179
+ export { EnvService as EnvService_alias_1 }
171
180
 
172
181
  export declare function errorHandler(err: Error, c: Context): Response;
173
182
 
@@ -209,6 +218,7 @@ declare class FileService {
209
218
  export { FileService }
210
219
  export { FileService as FileService_alias_1 }
211
220
  export { FileService as FileService_alias_2 }
221
+ export { FileService as FileService_alias_3 }
212
222
 
213
223
  export declare function generateHandler(c: Context): Promise<Response>;
214
224
 
@@ -216,16 +226,15 @@ export declare function generateHandler_alias_1(c: Context): Promise<Response>;
216
226
 
217
227
  export declare function generateSystemPromptHandler(c: Context): Promise<Response>;
218
228
 
219
- export declare function getAgentByIdHandler(c: Context): Promise<Response>;
220
-
221
- export declare function getAgentsHandler(c: Context): Promise<Response>;
229
+ export declare function getAgentByIdHandler(c: Context): Promise<Response & TypedResponse< {
230
+ name: any;
231
+ instructions: string;
232
+ tools: any;
233
+ provider: string;
234
+ modelId: string;
235
+ }, ContentfulStatusCode, "json">>;
222
236
 
223
- declare function getBundler(inputOptions: NormalizedInputOptions, args?: {
224
- platform?: 'node' | 'browser';
225
- dir?: string;
226
- }): Promise<RollupBuild>;
227
- export { getBundler }
228
- export { getBundler as getBundler_alias_1 }
237
+ export declare function getAgentsHandler(c: Context): Promise<Response & TypedResponse<any, ContentfulStatusCode, "json">>;
229
238
 
230
239
  declare function getDeployer(entryFile: string, outputDir: string): Promise<MastraDeployer>;
231
240
  export { getDeployer }
@@ -233,7 +242,31 @@ export { getDeployer as getDeployer_alias_1 }
233
242
 
234
243
  export declare function getDeployerBundler(entryFile: string): Promise<RollupBuild>;
235
244
 
236
- export declare function getEvalsByAgentIdHandler(c: Context): Promise<Response>;
245
+ export declare function getEvalsByAgentIdHandler(c: Context): Promise<Response & TypedResponse< {
246
+ id: string;
247
+ name: any;
248
+ instructions: string;
249
+ evals: {
250
+ input: string;
251
+ output: string;
252
+ result: {
253
+ score: number;
254
+ info?: {
255
+ [x: string]: any;
256
+ } | undefined;
257
+ };
258
+ agentName: string;
259
+ createdAt: string;
260
+ metricName: string;
261
+ instructions: string;
262
+ runId: string;
263
+ globalRunId: string;
264
+ testInfo?: {
265
+ testName?: string | undefined;
266
+ testPath?: string | undefined;
267
+ } | undefined;
268
+ }[];
269
+ }, ContentfulStatusCode, "json">>;
237
270
 
238
271
  declare function getInputOptions(entryFile: string, analyzedBundleInfo: Awaited<ReturnType<typeof analyzeBundle>>, platform: 'node' | 'browser'): Promise<InputOptions>;
239
272
  export { getInputOptions as getBundlerInputOptions }
@@ -243,7 +276,31 @@ declare function getInputOptions_2(entryFile: string, platform: 'node' | 'browse
243
276
  export { getInputOptions_2 as getInputOptions_alias_1 }
244
277
  export { getInputOptions_2 as getWatcherInputOptions }
245
278
 
246
- export declare function getLiveEvalsByAgentIdHandler(c: Context): Promise<Response>;
279
+ export declare function getLiveEvalsByAgentIdHandler(c: Context): Promise<Response & TypedResponse< {
280
+ id: string;
281
+ name: any;
282
+ instructions: string;
283
+ evals: {
284
+ input: string;
285
+ output: string;
286
+ result: {
287
+ score: number;
288
+ info?: {
289
+ [x: string]: any;
290
+ } | undefined;
291
+ };
292
+ agentName: string;
293
+ createdAt: string;
294
+ metricName: string;
295
+ instructions: string;
296
+ runId: string;
297
+ globalRunId: string;
298
+ testInfo?: {
299
+ testName?: string | undefined;
300
+ testPath?: string | undefined;
301
+ } | undefined;
302
+ }[];
303
+ }, ContentfulStatusCode, "json">>;
247
304
 
248
305
  export declare function getLogsByRunIdHandler(c: Context): Promise<Response>;
249
306
 
@@ -259,6 +316,14 @@ export declare function getNetworkByIdHandler(c: Context): Promise<Response>;
259
316
 
260
317
  export declare function getNetworksHandler(c: Context): Promise<Response>;
261
318
 
319
+ declare function getServerOptions(entryFile: string, outputDir: string): Promise<Config['server'] | null>;
320
+ export { getServerOptions }
321
+ export { getServerOptions as getServerOptions_alias_1 }
322
+
323
+ export declare function getServerOptionsBundler(entryFile: string, result: {
324
+ hasCustomConfig: false;
325
+ }): Promise<RollupBuild>;
326
+
262
327
  /**
263
328
  * Get available speakers for an agent
264
329
  */
@@ -280,15 +345,10 @@ export declare function getToolsHandler(c: Context): Promise<Response>;
280
345
 
281
346
  export declare const getVector: (c: Context, vectorName: string) => MastraVector;
282
347
 
283
- declare function getWatcher(inputOptions: NormalizedInputOptions, args?: {
284
- platform?: 'node' | 'browser';
285
- dir?: string;
286
- }): Promise<RollupWatcher>;
287
- export { getWatcher }
288
- export { getWatcher as getWatcher_alias_1 }
289
-
290
348
  export declare function getWorkflowByIdHandler(c: Context): Promise<Response>;
291
349
 
350
+ export declare function getWorkflowRunsHandler(c: Context): Promise<Response>;
351
+
292
352
  export declare function getWorkflowsHandler(c: Context): Promise<Response>;
293
353
 
294
354
  export declare function handleClientsRefresh(c: Context): Response;
@@ -311,14 +371,6 @@ export declare function listenHandler(c: Context): Promise<Response>;
311
371
 
312
372
  export declare function listIndexes(c: Context): Promise<Response>;
313
373
 
314
- declare type NormalizedInputOptions = Omit<Partial<InputOptions>, 'plugins' | 'input' | 'external'> & {
315
- plugins?: Plugin[];
316
- input: InputOption;
317
- external?: (string | RegExp)[];
318
- };
319
-
320
- export declare function notFoundHandler(): void;
321
-
322
374
  export declare function pino(): {
323
375
  name: string;
324
376
  resolveId(this: PluginContext, id: string, importee: string | undefined): Promise<{
@@ -343,9 +395,17 @@ export declare function recursiveRemoveNonReferencedNodes(code: string): Promise
343
395
 
344
396
  export declare function removeAllExceptDeployer(): babel_2.PluginObj;
345
397
 
346
- export declare function removeAllExceptTelemetryConfig(result: {
398
+ export declare function removeAllOptionsExceptServer(result: {
399
+ hasCustomConfig: boolean;
400
+ }): PluginObj<PluginPass>;
401
+
402
+ export declare function removeAllOptionsExceptTelemetry(result: {
347
403
  hasCustomConfig: boolean;
348
- }): babel_2.PluginObj;
404
+ }): PluginObj<PluginPass>;
405
+
406
+ export declare function removeAllOptionsFromMastraExcept(result: {
407
+ hasCustomConfig: boolean;
408
+ }, option: 'telemetry' | 'server'): babel_2.PluginObj;
349
409
 
350
410
  export declare function removeDeployer(): babel_2.PluginObj;
351
411
 
@@ -378,15 +438,7 @@ export declare function startAsyncWorkflowHandler(c: Context): Promise<Response>
378
438
 
379
439
  export declare function startWorkflowRunHandler(c: Context): Promise<Response>;
380
440
 
381
- export declare function storeTelemetryHandler(c: Context): Promise<(Response & TypedResponse< {
382
- status: string;
383
- message: string;
384
- traceCount: any;
385
- }, 200, "json">) | (Response & TypedResponse< {
386
- [x: string]: any;
387
- status: string;
388
- message: string;
389
- }, 500, "json">)>;
441
+ export declare function storeTelemetryHandler(c: Context): Promise<Response>;
390
442
 
391
443
  export declare function streamGenerateHandler(c: Context): Promise<Response | undefined>;
392
444
 
@@ -415,7 +467,7 @@ declare type Variables = {
415
467
  playground: boolean;
416
468
  };
417
469
 
418
- export declare function watchWorkflowHandler(c: Context): Promise<Response>;
470
+ export declare function watchWorkflowHandler(c: Context): Response | Promise<Response>;
419
471
 
420
472
  declare function writeTelemetryConfig(entryFile: string, outputDir: string): Promise<{
421
473
  hasCustomConfig: boolean;
@@ -1,10 +1,10 @@
1
1
  import { default as babel_2 } from '@babel/core';
2
2
  import { BlankSchema } from 'hono/types';
3
+ import type { Config } from '@mastra/core';
3
4
  import { ContentfulStatusCode } from 'hono/utils/http-status';
4
5
  import type { Context } from 'hono';
5
6
  import { Hono } from 'hono';
6
7
  import type { IDeployer } from '@mastra/core/deployer';
7
- import { InputOption } from 'rollup';
8
8
  import { InputOptions } from 'rollup';
9
9
  import type { Logger } from '@mastra/core';
10
10
  import type { Logger as Logger_2 } from '@mastra/core/logger';
@@ -14,8 +14,10 @@ import { MastraBundler } from '@mastra/core/bundler';
14
14
  import type { MastraDeployer } from '@mastra/core';
15
15
  import type { MastraVector } from '@mastra/core/vector';
16
16
  import { OutputOptions } from 'rollup';
17
- import { Plugin } from 'rollup';
17
+ import type { Plugin } from 'rollup';
18
18
  import { PluginContext } from 'rollup';
19
+ import { PluginObj } from '@babel/core';
20
+ import { PluginPass } from '@babel/core';
19
21
  import type { RegisterOptions } from 'typescript-paths';
20
22
  import { RenderedChunk } from 'rollup';
21
23
  import type { ResolveHookContext } from 'node:module';
@@ -131,7 +133,7 @@ export declare function deleteIndex(c: Context): Promise<Response>;
131
133
  export declare function deleteThreadHandler(c: Context): Promise<Response>;
132
134
 
133
135
  declare abstract class Deployer extends Bundler implements IDeployer {
134
- deps: Deps;
136
+ deps: DepsService;
135
137
  constructor(args: {
136
138
  name: string;
137
139
  });
@@ -162,12 +164,19 @@ export { Deps }
162
164
  export { Deps as Deps_alias_1 }
163
165
  export { Deps as Deps_alias_2 }
164
166
 
167
+ declare class DepsService extends Deps {
168
+ }
169
+ export { DepsService }
170
+ export { DepsService as DepsService_alias_1 }
171
+
165
172
  export declare function describeIndex(c: Context): Promise<Response>;
166
173
 
167
- export declare abstract class EnvService {
174
+ declare abstract class EnvService {
168
175
  abstract getEnvValue(key: string): Promise<string | null>;
169
176
  abstract setEnvValue(key: string, value: string): Promise<void>;
170
177
  }
178
+ export { EnvService }
179
+ export { EnvService as EnvService_alias_1 }
171
180
 
172
181
  export declare function errorHandler(err: Error, c: Context): Response;
173
182
 
@@ -209,6 +218,7 @@ declare class FileService {
209
218
  export { FileService }
210
219
  export { FileService as FileService_alias_1 }
211
220
  export { FileService as FileService_alias_2 }
221
+ export { FileService as FileService_alias_3 }
212
222
 
213
223
  export declare function generateHandler(c: Context): Promise<Response>;
214
224
 
@@ -216,16 +226,15 @@ export declare function generateHandler_alias_1(c: Context): Promise<Response>;
216
226
 
217
227
  export declare function generateSystemPromptHandler(c: Context): Promise<Response>;
218
228
 
219
- export declare function getAgentByIdHandler(c: Context): Promise<Response>;
220
-
221
- export declare function getAgentsHandler(c: Context): Promise<Response>;
229
+ export declare function getAgentByIdHandler(c: Context): Promise<Response & TypedResponse< {
230
+ name: any;
231
+ instructions: string;
232
+ tools: any;
233
+ provider: string;
234
+ modelId: string;
235
+ }, ContentfulStatusCode, "json">>;
222
236
 
223
- declare function getBundler(inputOptions: NormalizedInputOptions, args?: {
224
- platform?: 'node' | 'browser';
225
- dir?: string;
226
- }): Promise<RollupBuild>;
227
- export { getBundler }
228
- export { getBundler as getBundler_alias_1 }
237
+ export declare function getAgentsHandler(c: Context): Promise<Response & TypedResponse<any, ContentfulStatusCode, "json">>;
229
238
 
230
239
  declare function getDeployer(entryFile: string, outputDir: string): Promise<MastraDeployer>;
231
240
  export { getDeployer }
@@ -233,7 +242,31 @@ export { getDeployer as getDeployer_alias_1 }
233
242
 
234
243
  export declare function getDeployerBundler(entryFile: string): Promise<RollupBuild>;
235
244
 
236
- export declare function getEvalsByAgentIdHandler(c: Context): Promise<Response>;
245
+ export declare function getEvalsByAgentIdHandler(c: Context): Promise<Response & TypedResponse< {
246
+ id: string;
247
+ name: any;
248
+ instructions: string;
249
+ evals: {
250
+ input: string;
251
+ output: string;
252
+ result: {
253
+ score: number;
254
+ info?: {
255
+ [x: string]: any;
256
+ } | undefined;
257
+ };
258
+ agentName: string;
259
+ createdAt: string;
260
+ metricName: string;
261
+ instructions: string;
262
+ runId: string;
263
+ globalRunId: string;
264
+ testInfo?: {
265
+ testName?: string | undefined;
266
+ testPath?: string | undefined;
267
+ } | undefined;
268
+ }[];
269
+ }, ContentfulStatusCode, "json">>;
237
270
 
238
271
  declare function getInputOptions(entryFile: string, analyzedBundleInfo: Awaited<ReturnType<typeof analyzeBundle>>, platform: 'node' | 'browser'): Promise<InputOptions>;
239
272
  export { getInputOptions as getBundlerInputOptions }
@@ -243,7 +276,31 @@ declare function getInputOptions_2(entryFile: string, platform: 'node' | 'browse
243
276
  export { getInputOptions_2 as getInputOptions_alias_1 }
244
277
  export { getInputOptions_2 as getWatcherInputOptions }
245
278
 
246
- export declare function getLiveEvalsByAgentIdHandler(c: Context): Promise<Response>;
279
+ export declare function getLiveEvalsByAgentIdHandler(c: Context): Promise<Response & TypedResponse< {
280
+ id: string;
281
+ name: any;
282
+ instructions: string;
283
+ evals: {
284
+ input: string;
285
+ output: string;
286
+ result: {
287
+ score: number;
288
+ info?: {
289
+ [x: string]: any;
290
+ } | undefined;
291
+ };
292
+ agentName: string;
293
+ createdAt: string;
294
+ metricName: string;
295
+ instructions: string;
296
+ runId: string;
297
+ globalRunId: string;
298
+ testInfo?: {
299
+ testName?: string | undefined;
300
+ testPath?: string | undefined;
301
+ } | undefined;
302
+ }[];
303
+ }, ContentfulStatusCode, "json">>;
247
304
 
248
305
  export declare function getLogsByRunIdHandler(c: Context): Promise<Response>;
249
306
 
@@ -259,6 +316,14 @@ export declare function getNetworkByIdHandler(c: Context): Promise<Response>;
259
316
 
260
317
  export declare function getNetworksHandler(c: Context): Promise<Response>;
261
318
 
319
+ declare function getServerOptions(entryFile: string, outputDir: string): Promise<Config['server'] | null>;
320
+ export { getServerOptions }
321
+ export { getServerOptions as getServerOptions_alias_1 }
322
+
323
+ export declare function getServerOptionsBundler(entryFile: string, result: {
324
+ hasCustomConfig: false;
325
+ }): Promise<RollupBuild>;
326
+
262
327
  /**
263
328
  * Get available speakers for an agent
264
329
  */
@@ -280,15 +345,10 @@ export declare function getToolsHandler(c: Context): Promise<Response>;
280
345
 
281
346
  export declare const getVector: (c: Context, vectorName: string) => MastraVector;
282
347
 
283
- declare function getWatcher(inputOptions: NormalizedInputOptions, args?: {
284
- platform?: 'node' | 'browser';
285
- dir?: string;
286
- }): Promise<RollupWatcher>;
287
- export { getWatcher }
288
- export { getWatcher as getWatcher_alias_1 }
289
-
290
348
  export declare function getWorkflowByIdHandler(c: Context): Promise<Response>;
291
349
 
350
+ export declare function getWorkflowRunsHandler(c: Context): Promise<Response>;
351
+
292
352
  export declare function getWorkflowsHandler(c: Context): Promise<Response>;
293
353
 
294
354
  export declare function handleClientsRefresh(c: Context): Response;
@@ -311,14 +371,6 @@ export declare function listenHandler(c: Context): Promise<Response>;
311
371
 
312
372
  export declare function listIndexes(c: Context): Promise<Response>;
313
373
 
314
- declare type NormalizedInputOptions = Omit<Partial<InputOptions>, 'plugins' | 'input' | 'external'> & {
315
- plugins?: Plugin[];
316
- input: InputOption;
317
- external?: (string | RegExp)[];
318
- };
319
-
320
- export declare function notFoundHandler(): void;
321
-
322
374
  export declare function pino(): {
323
375
  name: string;
324
376
  resolveId(this: PluginContext, id: string, importee: string | undefined): Promise<{
@@ -343,9 +395,17 @@ export declare function recursiveRemoveNonReferencedNodes(code: string): Promise
343
395
 
344
396
  export declare function removeAllExceptDeployer(): babel_2.PluginObj;
345
397
 
346
- export declare function removeAllExceptTelemetryConfig(result: {
398
+ export declare function removeAllOptionsExceptServer(result: {
399
+ hasCustomConfig: boolean;
400
+ }): PluginObj<PluginPass>;
401
+
402
+ export declare function removeAllOptionsExceptTelemetry(result: {
347
403
  hasCustomConfig: boolean;
348
- }): babel_2.PluginObj;
404
+ }): PluginObj<PluginPass>;
405
+
406
+ export declare function removeAllOptionsFromMastraExcept(result: {
407
+ hasCustomConfig: boolean;
408
+ }, option: 'telemetry' | 'server'): babel_2.PluginObj;
349
409
 
350
410
  export declare function removeDeployer(): babel_2.PluginObj;
351
411
 
@@ -378,15 +438,7 @@ export declare function startAsyncWorkflowHandler(c: Context): Promise<Response>
378
438
 
379
439
  export declare function startWorkflowRunHandler(c: Context): Promise<Response>;
380
440
 
381
- export declare function storeTelemetryHandler(c: Context): Promise<(Response & TypedResponse< {
382
- status: string;
383
- message: string;
384
- traceCount: any;
385
- }, 200, "json">) | (Response & TypedResponse< {
386
- [x: string]: any;
387
- status: string;
388
- message: string;
389
- }, 500, "json">)>;
441
+ export declare function storeTelemetryHandler(c: Context): Promise<Response>;
390
442
 
391
443
  export declare function streamGenerateHandler(c: Context): Promise<Response | undefined>;
392
444
 
@@ -415,7 +467,7 @@ declare type Variables = {
415
467
  playground: boolean;
416
468
  };
417
469
 
418
- export declare function watchWorkflowHandler(c: Context): Promise<Response>;
470
+ export declare function watchWorkflowHandler(c: Context): Response | Promise<Response>;
419
471
 
420
472
  declare function writeTelemetryConfig(entryFile: string, outputDir: string): Promise<{
421
473
  hasCustomConfig: boolean;
@@ -1,10 +1,10 @@
1
1
  'use strict';
2
2
 
3
- var chunkNWERLYTR_cjs = require('../chunk-NWERLYTR.cjs');
3
+ var chunkP5SATU7G_cjs = require('../chunk-P5SATU7G.cjs');
4
4
 
5
5
 
6
6
 
7
7
  Object.defineProperty(exports, "analyzeBundle", {
8
8
  enumerable: true,
9
- get: function () { return chunkNWERLYTR_cjs.analyzeBundle; }
9
+ get: function () { return chunkP5SATU7G_cjs.analyzeBundle; }
10
10
  });
@@ -1 +1 @@
1
- export { analyzeBundle } from '../chunk-UTZ3434D.js';
1
+ export { analyzeBundle } from '../chunk-BDTZS3JM.js';
@@ -1,14 +1,14 @@
1
1
  'use strict';
2
2
 
3
- var chunkOT6UKL2S_cjs = require('../chunk-OT6UKL2S.cjs');
3
+ var chunkAE4CVAPK_cjs = require('../chunk-AE4CVAPK.cjs');
4
4
 
5
5
 
6
6
 
7
7
  Object.defineProperty(exports, "createBundler", {
8
8
  enumerable: true,
9
- get: function () { return chunkOT6UKL2S_cjs.createBundler; }
9
+ get: function () { return chunkAE4CVAPK_cjs.createBundler; }
10
10
  });
11
11
  Object.defineProperty(exports, "getInputOptions", {
12
12
  enumerable: true,
13
- get: function () { return chunkOT6UKL2S_cjs.getInputOptions; }
13
+ get: function () { return chunkAE4CVAPK_cjs.getInputOptions; }
14
14
  });
@@ -1 +1 @@
1
- export { createBundler, getInputOptions } from '../chunk-XEFBJH3T.js';
1
+ export { createBundler, getInputOptions } from '../chunk-IKPL4RGG.js';
@@ -1,49 +1,47 @@
1
1
  'use strict';
2
2
 
3
- var chunk7GYBZLVN_cjs = require('../chunk-7GYBZLVN.cjs');
4
- var chunkKFOGAPGX_cjs = require('../chunk-KFOGAPGX.cjs');
5
- var chunkNWERLYTR_cjs = require('../chunk-NWERLYTR.cjs');
6
- var chunkOT6UKL2S_cjs = require('../chunk-OT6UKL2S.cjs');
3
+ var chunkI3UVE6EH_cjs = require('../chunk-I3UVE6EH.cjs');
4
+ var chunk2ZPQX6BX_cjs = require('../chunk-2ZPQX6BX.cjs');
5
+ var chunkP5SATU7G_cjs = require('../chunk-P5SATU7G.cjs');
6
+ var chunkAE4CVAPK_cjs = require('../chunk-AE4CVAPK.cjs');
7
+ var chunkNCROGJGB_cjs = require('../chunk-NCROGJGB.cjs');
8
+ var chunkVFZVVUQE_cjs = require('../chunk-VFZVVUQE.cjs');
7
9
 
8
10
 
9
11
 
10
- Object.defineProperty(exports, "FileService", {
11
- enumerable: true,
12
- get: function () { return chunk7GYBZLVN_cjs.FileService; }
13
- });
14
12
  Object.defineProperty(exports, "createWatcher", {
15
13
  enumerable: true,
16
- get: function () { return chunk7GYBZLVN_cjs.createWatcher; }
14
+ get: function () { return chunkI3UVE6EH_cjs.createWatcher; }
17
15
  });
18
- Object.defineProperty(exports, "getBundler", {
16
+ Object.defineProperty(exports, "getServerOptions", {
19
17
  enumerable: true,
20
- get: function () { return chunk7GYBZLVN_cjs.getBundler; }
21
- });
22
- Object.defineProperty(exports, "getWatcher", {
23
- enumerable: true,
24
- get: function () { return chunk7GYBZLVN_cjs.getWatcher; }
18
+ get: function () { return chunkI3UVE6EH_cjs.getServerOptions; }
25
19
  });
26
20
  Object.defineProperty(exports, "getWatcherInputOptions", {
27
21
  enumerable: true,
28
- get: function () { return chunk7GYBZLVN_cjs.getInputOptions; }
29
- });
30
- Object.defineProperty(exports, "Deps", {
31
- enumerable: true,
32
- get: function () { return chunkKFOGAPGX_cjs.Deps; }
22
+ get: function () { return chunkI3UVE6EH_cjs.getInputOptions; }
33
23
  });
34
24
  Object.defineProperty(exports, "writeTelemetryConfig", {
35
25
  enumerable: true,
36
- get: function () { return chunkKFOGAPGX_cjs.writeTelemetryConfig; }
26
+ get: function () { return chunk2ZPQX6BX_cjs.writeTelemetryConfig; }
37
27
  });
38
28
  Object.defineProperty(exports, "analyzeBundle", {
39
29
  enumerable: true,
40
- get: function () { return chunkNWERLYTR_cjs.analyzeBundle; }
30
+ get: function () { return chunkP5SATU7G_cjs.analyzeBundle; }
41
31
  });
42
32
  Object.defineProperty(exports, "createBundler", {
43
33
  enumerable: true,
44
- get: function () { return chunkOT6UKL2S_cjs.createBundler; }
34
+ get: function () { return chunkAE4CVAPK_cjs.createBundler; }
45
35
  });
46
36
  Object.defineProperty(exports, "getBundlerInputOptions", {
47
37
  enumerable: true,
48
- get: function () { return chunkOT6UKL2S_cjs.getInputOptions; }
38
+ get: function () { return chunkAE4CVAPK_cjs.getInputOptions; }
39
+ });
40
+ Object.defineProperty(exports, "FileService", {
41
+ enumerable: true,
42
+ get: function () { return chunkNCROGJGB_cjs.FileService; }
43
+ });
44
+ Object.defineProperty(exports, "Deps", {
45
+ enumerable: true,
46
+ get: function () { return chunkVFZVVUQE_cjs.Deps; }
49
47
  });
@@ -1,10 +1,9 @@
1
- export { getBundler_alias_1 as getBundler } from '../_tsup-dts-rollup.cjs';
2
- export { getWatcher_alias_1 as getWatcher } from '../_tsup-dts-rollup.cjs';
3
1
  export { createBundler_alias_1 as createBundler } from '../_tsup-dts-rollup.cjs';
4
2
  export { getBundlerInputOptions } from '../_tsup-dts-rollup.cjs';
5
3
  export { createWatcher } from '../_tsup-dts-rollup.cjs';
6
4
  export { getWatcherInputOptions } from '../_tsup-dts-rollup.cjs';
7
5
  export { analyzeBundle_alias_1 as analyzeBundle } from '../_tsup-dts-rollup.cjs';
8
- export { FileService_alias_2 as FileService } from '../_tsup-dts-rollup.cjs';
9
- export { Deps_alias_2 as Deps } from '../_tsup-dts-rollup.cjs';
6
+ export { FileService_alias_1 as FileService } from '../_tsup-dts-rollup.cjs';
7
+ export { Deps_alias_1 as Deps } from '../_tsup-dts-rollup.cjs';
10
8
  export { writeTelemetryConfig } from '../_tsup-dts-rollup.cjs';
9
+ export { getServerOptions } from '../_tsup-dts-rollup.cjs';
@@ -1,10 +1,9 @@
1
- export { getBundler_alias_1 as getBundler } from '../_tsup-dts-rollup.js';
2
- export { getWatcher_alias_1 as getWatcher } from '../_tsup-dts-rollup.js';
3
1
  export { createBundler_alias_1 as createBundler } from '../_tsup-dts-rollup.js';
4
2
  export { getBundlerInputOptions } from '../_tsup-dts-rollup.js';
5
3
  export { createWatcher } from '../_tsup-dts-rollup.js';
6
4
  export { getWatcherInputOptions } from '../_tsup-dts-rollup.js';
7
5
  export { analyzeBundle_alias_1 as analyzeBundle } from '../_tsup-dts-rollup.js';
8
- export { FileService_alias_2 as FileService } from '../_tsup-dts-rollup.js';
9
- export { Deps_alias_2 as Deps } from '../_tsup-dts-rollup.js';
6
+ export { FileService_alias_1 as FileService } from '../_tsup-dts-rollup.js';
7
+ export { Deps_alias_1 as Deps } from '../_tsup-dts-rollup.js';
10
8
  export { writeTelemetryConfig } from '../_tsup-dts-rollup.js';
9
+ export { getServerOptions } from '../_tsup-dts-rollup.js';
@@ -1,4 +1,6 @@
1
- export { FileService, createWatcher, getBundler, getWatcher, getInputOptions as getWatcherInputOptions } from '../chunk-PUX2FDGX.js';
2
- export { Deps, writeTelemetryConfig } from '../chunk-ZAXXMFXX.js';
3
- export { analyzeBundle } from '../chunk-UTZ3434D.js';
4
- export { createBundler, getInputOptions as getBundlerInputOptions } from '../chunk-XEFBJH3T.js';
1
+ export { createWatcher, getServerOptions, getInputOptions as getWatcherInputOptions } from '../chunk-WB3T6NKI.js';
2
+ export { writeTelemetryConfig } from '../chunk-4AYFLP6G.js';
3
+ export { analyzeBundle } from '../chunk-BDTZS3JM.js';
4
+ export { createBundler, getInputOptions as getBundlerInputOptions } from '../chunk-IKPL4RGG.js';
5
+ export { FileService } from '../chunk-DYQ225MJ.js';
6
+ export { Deps } from '../chunk-5UBGPRKT.js';
@@ -1,10 +1,10 @@
1
1
  'use strict';
2
2
 
3
- var chunkNXBTVZHO_cjs = require('../chunk-NXBTVZHO.cjs');
3
+ var chunkWFC3CUZ3_cjs = require('../chunk-WFC3CUZ3.cjs');
4
4
 
5
5
 
6
6
 
7
7
  Object.defineProperty(exports, "Bundler", {
8
8
  enumerable: true,
9
- get: function () { return chunkNXBTVZHO_cjs.Bundler; }
9
+ get: function () { return chunkWFC3CUZ3_cjs.Bundler; }
10
10
  });
@@ -1 +1 @@
1
- export { Bundler } from '../chunk-KLVSED7T.js';
1
+ export { Bundler } from '../chunk-74KZVNKH.js';