@trigger.dev/core 0.0.0-v3-prerelease-20240628191401 → 0.0.0-v3-prerelease-20240701153550
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/{catalog-NpD1UPkO.d.mts → catalog-QcLmPVsr.d.mts} +1 -1
- package/dist/{catalog-gXIXpWTi.d.ts → catalog-mlNxCacM.d.ts} +1 -1
- package/dist/{manager-ZZ3kQv68.d.mts → common-55Mqj8JP.d.mts} +1 -16
- package/dist/{manager-ZZ3kQv68.d.ts → common-55Mqj8JP.d.ts} +1 -16
- package/dist/manager-2AqSY67c.d.mts +18 -0
- package/dist/manager-6NRInm7C.d.ts +18 -0
- package/dist/{messages-F5zEgkWj.d.mts → messages-EJX0bMsF.d.mts} +6 -0
- package/dist/{messages-F5zEgkWj.d.ts → messages-EJX0bMsF.d.ts} +6 -0
- package/dist/v3/dev/index.d.mts +2 -1
- package/dist/v3/dev/index.d.ts +2 -1
- package/dist/v3/index.d.mts +64 -4571
- package/dist/v3/index.d.ts +64 -4571
- package/dist/v3/index.js +28 -6
- package/dist/v3/index.js.map +1 -1
- package/dist/v3/index.mjs +28 -7
- package/dist/v3/index.mjs.map +1 -1
- package/dist/v3/otel/index.js +1 -1
- package/dist/v3/otel/index.js.map +1 -1
- package/dist/v3/otel/index.mjs +1 -1
- package/dist/v3/otel/index.mjs.map +1 -1
- package/dist/v3/prod/index.d.mts +3 -2
- package/dist/v3/prod/index.d.ts +3 -2
- package/dist/v3/schemas/index.d.mts +4633 -0
- package/dist/v3/schemas/index.d.ts +4633 -0
- package/dist/v3/schemas/index.js +2022 -0
- package/dist/v3/schemas/index.js.map +1 -0
- package/dist/v3/schemas/index.mjs +1886 -0
- package/dist/v3/schemas/index.mjs.map +1 -0
- package/dist/v3/workers/index.d.mts +5 -5
- package/dist/v3/workers/index.d.ts +5 -5
- package/dist/v3/workers/index.js +23 -4
- package/dist/v3/workers/index.js.map +1 -1
- package/dist/v3/workers/index.mjs +23 -4
- package/dist/v3/workers/index.mjs.map +1 -1
- package/package.json +9 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Context as Context$1, Span, SpanOptions, Tracer } from '@opentelemetry/api';
|
|
2
2
|
import { Logger } from '@opentelemetry/api-logs';
|
|
3
|
-
import { M as MachinePresetName, a as TaskRunContext } from './
|
|
3
|
+
import { M as MachinePresetName, a as TaskRunContext } from './common-55Mqj8JP.mjs';
|
|
4
4
|
import { R as RetryOptions, P as Prettify, b as TaskMetadata, T as TaskFileMetadata, a as TaskMetadataWithFilePath } from './schemas-Sb0sJcEt.mjs';
|
|
5
5
|
import { InstrumentationOption } from '@opentelemetry/instrumentation';
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Context as Context$1, Span, SpanOptions, Tracer } from '@opentelemetry/api';
|
|
2
2
|
import { Logger } from '@opentelemetry/api-logs';
|
|
3
|
-
import { M as MachinePresetName, a as TaskRunContext } from './
|
|
3
|
+
import { M as MachinePresetName, a as TaskRunContext } from './common-55Mqj8JP.js';
|
|
4
4
|
import { R as RetryOptions, P as Prettify, b as TaskMetadata, T as TaskFileMetadata, a as TaskMetadataWithFilePath } from './schemas-Sb0sJcEt.js';
|
|
5
5
|
import { InstrumentationOption } from '@opentelemetry/instrumentation';
|
|
6
6
|
|
|
@@ -1407,19 +1407,4 @@ declare const BatchTaskRunExecutionResult: z.ZodObject<{
|
|
|
1407
1407
|
}>;
|
|
1408
1408
|
type BatchTaskRunExecutionResult = z.infer<typeof BatchTaskRunExecutionResult>;
|
|
1409
1409
|
|
|
1410
|
-
|
|
1411
|
-
disable(): void;
|
|
1412
|
-
waitUntil(date: Date): Promise<void>;
|
|
1413
|
-
waitForDuration(ms: number): Promise<void>;
|
|
1414
|
-
waitForTask(params: {
|
|
1415
|
-
id: string;
|
|
1416
|
-
ctx: TaskRunContext;
|
|
1417
|
-
}): Promise<TaskRunExecutionResult>;
|
|
1418
|
-
waitForBatch(params: {
|
|
1419
|
-
id: string;
|
|
1420
|
-
runs: string[];
|
|
1421
|
-
ctx: TaskRunContext;
|
|
1422
|
-
}): Promise<BatchTaskRunExecutionResult>;
|
|
1423
|
-
}
|
|
1424
|
-
|
|
1425
|
-
export { BatchTaskRunExecutionResult as B, MachinePresetName as M, type RuntimeManager as R, TaskRunExecutionResult as T, TaskRunContext as a, TaskRunExecution as b, TaskRunError as c, MachineCpu as d, MachineMemory as e, MachineConfig as f, MachinePreset as g, TaskRunBuiltInError as h, TaskRunCustomErrorObject as i, TaskRunStringError as j, TaskRunErrorCodes as k, TaskRunInternalError as l, TaskRun as m, TaskRunExecutionTask as n, TaskRunExecutionAttempt as o, TaskRunExecutionEnvironment as p, TaskRunExecutionOrganization as q, TaskRunExecutionProject as r, TaskRunExecutionQueue as s, TaskRunExecutionBatch as t, TaskRunExecutionRetry as u, TaskRunExecutionUsage as v, TaskRunFailedExecutionResult as w, TaskRunSuccessfulExecutionResult as x };
|
|
1410
|
+
export { BatchTaskRunExecutionResult as B, MachinePresetName as M, TaskRunExecutionResult as T, TaskRunContext as a, TaskRunExecution as b, TaskRunError as c, MachineCpu as d, MachineMemory as e, MachineConfig as f, MachinePreset as g, TaskRunBuiltInError as h, TaskRunCustomErrorObject as i, TaskRunStringError as j, TaskRunErrorCodes as k, TaskRunInternalError as l, TaskRun as m, TaskRunExecutionTask as n, TaskRunExecutionAttempt as o, TaskRunExecutionEnvironment as p, TaskRunExecutionOrganization as q, TaskRunExecutionProject as r, TaskRunExecutionQueue as s, TaskRunExecutionBatch as t, TaskRunExecutionRetry as u, TaskRunExecutionUsage as v, TaskRunFailedExecutionResult as w, TaskRunSuccessfulExecutionResult as x };
|
|
@@ -1407,19 +1407,4 @@ declare const BatchTaskRunExecutionResult: z.ZodObject<{
|
|
|
1407
1407
|
}>;
|
|
1408
1408
|
type BatchTaskRunExecutionResult = z.infer<typeof BatchTaskRunExecutionResult>;
|
|
1409
1409
|
|
|
1410
|
-
|
|
1411
|
-
disable(): void;
|
|
1412
|
-
waitUntil(date: Date): Promise<void>;
|
|
1413
|
-
waitForDuration(ms: number): Promise<void>;
|
|
1414
|
-
waitForTask(params: {
|
|
1415
|
-
id: string;
|
|
1416
|
-
ctx: TaskRunContext;
|
|
1417
|
-
}): Promise<TaskRunExecutionResult>;
|
|
1418
|
-
waitForBatch(params: {
|
|
1419
|
-
id: string;
|
|
1420
|
-
runs: string[];
|
|
1421
|
-
ctx: TaskRunContext;
|
|
1422
|
-
}): Promise<BatchTaskRunExecutionResult>;
|
|
1423
|
-
}
|
|
1424
|
-
|
|
1425
|
-
export { BatchTaskRunExecutionResult as B, MachinePresetName as M, type RuntimeManager as R, TaskRunExecutionResult as T, TaskRunContext as a, TaskRunExecution as b, TaskRunError as c, MachineCpu as d, MachineMemory as e, MachineConfig as f, MachinePreset as g, TaskRunBuiltInError as h, TaskRunCustomErrorObject as i, TaskRunStringError as j, TaskRunErrorCodes as k, TaskRunInternalError as l, TaskRun as m, TaskRunExecutionTask as n, TaskRunExecutionAttempt as o, TaskRunExecutionEnvironment as p, TaskRunExecutionOrganization as q, TaskRunExecutionProject as r, TaskRunExecutionQueue as s, TaskRunExecutionBatch as t, TaskRunExecutionRetry as u, TaskRunExecutionUsage as v, TaskRunFailedExecutionResult as w, TaskRunSuccessfulExecutionResult as x };
|
|
1410
|
+
export { BatchTaskRunExecutionResult as B, MachinePresetName as M, TaskRunExecutionResult as T, TaskRunContext as a, TaskRunExecution as b, TaskRunError as c, MachineCpu as d, MachineMemory as e, MachineConfig as f, MachinePreset as g, TaskRunBuiltInError as h, TaskRunCustomErrorObject as i, TaskRunStringError as j, TaskRunErrorCodes as k, TaskRunInternalError as l, TaskRun as m, TaskRunExecutionTask as n, TaskRunExecutionAttempt as o, TaskRunExecutionEnvironment as p, TaskRunExecutionOrganization as q, TaskRunExecutionProject as r, TaskRunExecutionQueue as s, TaskRunExecutionBatch as t, TaskRunExecutionRetry as u, TaskRunExecutionUsage as v, TaskRunFailedExecutionResult as w, TaskRunSuccessfulExecutionResult as x };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { a as TaskRunContext, T as TaskRunExecutionResult, B as BatchTaskRunExecutionResult } from './common-55Mqj8JP.mjs';
|
|
2
|
+
|
|
3
|
+
interface RuntimeManager {
|
|
4
|
+
disable(): void;
|
|
5
|
+
waitUntil(date: Date): Promise<void>;
|
|
6
|
+
waitForDuration(ms: number): Promise<void>;
|
|
7
|
+
waitForTask(params: {
|
|
8
|
+
id: string;
|
|
9
|
+
ctx: TaskRunContext;
|
|
10
|
+
}): Promise<TaskRunExecutionResult>;
|
|
11
|
+
waitForBatch(params: {
|
|
12
|
+
id: string;
|
|
13
|
+
runs: string[];
|
|
14
|
+
ctx: TaskRunContext;
|
|
15
|
+
}): Promise<BatchTaskRunExecutionResult>;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
export type { RuntimeManager as R };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { a as TaskRunContext, T as TaskRunExecutionResult, B as BatchTaskRunExecutionResult } from './common-55Mqj8JP.js';
|
|
2
|
+
|
|
3
|
+
interface RuntimeManager {
|
|
4
|
+
disable(): void;
|
|
5
|
+
waitUntil(date: Date): Promise<void>;
|
|
6
|
+
waitForDuration(ms: number): Promise<void>;
|
|
7
|
+
waitForTask(params: {
|
|
8
|
+
id: string;
|
|
9
|
+
ctx: TaskRunContext;
|
|
10
|
+
}): Promise<TaskRunExecutionResult>;
|
|
11
|
+
waitForBatch(params: {
|
|
12
|
+
id: string;
|
|
13
|
+
runs: string[];
|
|
14
|
+
ctx: TaskRunContext;
|
|
15
|
+
}): Promise<BatchTaskRunExecutionResult>;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
export type { RuntimeManager as R };
|
|
@@ -8639,6 +8639,7 @@ declare const ProviderToPlatformMessages: {
|
|
|
8639
8639
|
exitCode: z.ZodOptional<z.ZodNumber>;
|
|
8640
8640
|
message: z.ZodOptional<z.ZodString>;
|
|
8641
8641
|
logs: z.ZodOptional<z.ZodString>;
|
|
8642
|
+
overrideCompletion: z.ZodOptional<z.ZodBoolean>;
|
|
8642
8643
|
}, "strip", z.ZodTypeAny, {
|
|
8643
8644
|
version: "v1";
|
|
8644
8645
|
runId: string;
|
|
@@ -8646,6 +8647,7 @@ declare const ProviderToPlatformMessages: {
|
|
|
8646
8647
|
exitCode?: number | undefined;
|
|
8647
8648
|
message?: string | undefined;
|
|
8648
8649
|
logs?: string | undefined;
|
|
8650
|
+
overrideCompletion?: boolean | undefined;
|
|
8649
8651
|
}, {
|
|
8650
8652
|
runId: string;
|
|
8651
8653
|
version?: "v1" | undefined;
|
|
@@ -8653,6 +8655,7 @@ declare const ProviderToPlatformMessages: {
|
|
|
8653
8655
|
exitCode?: number | undefined;
|
|
8654
8656
|
message?: string | undefined;
|
|
8655
8657
|
logs?: string | undefined;
|
|
8658
|
+
overrideCompletion?: boolean | undefined;
|
|
8656
8659
|
}>;
|
|
8657
8660
|
};
|
|
8658
8661
|
INDEXING_FAILED: {
|
|
@@ -8675,6 +8678,7 @@ declare const ProviderToPlatformMessages: {
|
|
|
8675
8678
|
stack?: string | undefined;
|
|
8676
8679
|
stderr?: string | undefined;
|
|
8677
8680
|
}>;
|
|
8681
|
+
overrideCompletion: z.ZodOptional<z.ZodBoolean>;
|
|
8678
8682
|
}, "strip", z.ZodTypeAny, {
|
|
8679
8683
|
error: {
|
|
8680
8684
|
message: string;
|
|
@@ -8684,6 +8688,7 @@ declare const ProviderToPlatformMessages: {
|
|
|
8684
8688
|
};
|
|
8685
8689
|
version: "v1";
|
|
8686
8690
|
deploymentId: string;
|
|
8691
|
+
overrideCompletion?: boolean | undefined;
|
|
8687
8692
|
}, {
|
|
8688
8693
|
error: {
|
|
8689
8694
|
message: string;
|
|
@@ -8693,6 +8698,7 @@ declare const ProviderToPlatformMessages: {
|
|
|
8693
8698
|
};
|
|
8694
8699
|
deploymentId: string;
|
|
8695
8700
|
version?: "v1" | undefined;
|
|
8701
|
+
overrideCompletion?: boolean | undefined;
|
|
8696
8702
|
}>;
|
|
8697
8703
|
};
|
|
8698
8704
|
};
|
|
@@ -8639,6 +8639,7 @@ declare const ProviderToPlatformMessages: {
|
|
|
8639
8639
|
exitCode: z.ZodOptional<z.ZodNumber>;
|
|
8640
8640
|
message: z.ZodOptional<z.ZodString>;
|
|
8641
8641
|
logs: z.ZodOptional<z.ZodString>;
|
|
8642
|
+
overrideCompletion: z.ZodOptional<z.ZodBoolean>;
|
|
8642
8643
|
}, "strip", z.ZodTypeAny, {
|
|
8643
8644
|
version: "v1";
|
|
8644
8645
|
runId: string;
|
|
@@ -8646,6 +8647,7 @@ declare const ProviderToPlatformMessages: {
|
|
|
8646
8647
|
exitCode?: number | undefined;
|
|
8647
8648
|
message?: string | undefined;
|
|
8648
8649
|
logs?: string | undefined;
|
|
8650
|
+
overrideCompletion?: boolean | undefined;
|
|
8649
8651
|
}, {
|
|
8650
8652
|
runId: string;
|
|
8651
8653
|
version?: "v1" | undefined;
|
|
@@ -8653,6 +8655,7 @@ declare const ProviderToPlatformMessages: {
|
|
|
8653
8655
|
exitCode?: number | undefined;
|
|
8654
8656
|
message?: string | undefined;
|
|
8655
8657
|
logs?: string | undefined;
|
|
8658
|
+
overrideCompletion?: boolean | undefined;
|
|
8656
8659
|
}>;
|
|
8657
8660
|
};
|
|
8658
8661
|
INDEXING_FAILED: {
|
|
@@ -8675,6 +8678,7 @@ declare const ProviderToPlatformMessages: {
|
|
|
8675
8678
|
stack?: string | undefined;
|
|
8676
8679
|
stderr?: string | undefined;
|
|
8677
8680
|
}>;
|
|
8681
|
+
overrideCompletion: z.ZodOptional<z.ZodBoolean>;
|
|
8678
8682
|
}, "strip", z.ZodTypeAny, {
|
|
8679
8683
|
error: {
|
|
8680
8684
|
message: string;
|
|
@@ -8684,6 +8688,7 @@ declare const ProviderToPlatformMessages: {
|
|
|
8684
8688
|
};
|
|
8685
8689
|
version: "v1";
|
|
8686
8690
|
deploymentId: string;
|
|
8691
|
+
overrideCompletion?: boolean | undefined;
|
|
8687
8692
|
}, {
|
|
8688
8693
|
error: {
|
|
8689
8694
|
message: string;
|
|
@@ -8693,6 +8698,7 @@ declare const ProviderToPlatformMessages: {
|
|
|
8693
8698
|
};
|
|
8694
8699
|
deploymentId: string;
|
|
8695
8700
|
version?: "v1" | undefined;
|
|
8701
|
+
overrideCompletion?: boolean | undefined;
|
|
8696
8702
|
}>;
|
|
8697
8703
|
};
|
|
8698
8704
|
};
|
package/dist/v3/dev/index.d.mts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { T as TaskRunExecutionResult, B as BatchTaskRunExecutionResult, a as TaskRunContext } from '../../common-55Mqj8JP.mjs';
|
|
2
|
+
import { R as RuntimeManager } from '../../manager-2AqSY67c.mjs';
|
|
2
3
|
import 'zod';
|
|
3
4
|
|
|
4
5
|
declare class DevRuntimeManager implements RuntimeManager {
|
package/dist/v3/dev/index.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { T as TaskRunExecutionResult, B as BatchTaskRunExecutionResult, a as TaskRunContext } from '../../common-55Mqj8JP.js';
|
|
2
|
+
import { R as RuntimeManager } from '../../manager-6NRInm7C.js';
|
|
2
3
|
import 'zod';
|
|
3
4
|
|
|
4
5
|
declare class DevRuntimeManager implements RuntimeManager {
|