deepline 0.2.22 → 0.2.24
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/bundling-sources/sdk/src/release.ts +1 -1
- package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/local-process.ts +13 -0
- package/dist/bundling-sources/shared_libs/plays/authoring-contract.ts +2 -2
- package/dist/cli/index.js +3 -3
- package/dist/cli/index.mjs +3 -3
- package/dist/{compiler-manifest-xFkbJX2B.d.mts → compiler-manifest-CGZadg-v.d.mts} +2 -2
- package/dist/{compiler-manifest-xFkbJX2B.d.ts → compiler-manifest-CGZadg-v.d.ts} +2 -2
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/dist/install-integrity.json +2 -2
- package/dist/plays/bundle-play-file.d.mts +2 -2
- package/dist/plays/bundle-play-file.d.ts +2 -2
- package/dist/plays/bundle-play-file.mjs +2 -2
- package/package.json +1 -1
|
@@ -160,7 +160,7 @@ export const SDK_RELEASE = {
|
|
|
160
160
|
// 0.2.0 makes Dataset Handles uniformly async-only after 0.1.320 briefly
|
|
161
161
|
// exposed storage-dependent synchronous access. This deliberate minor
|
|
162
162
|
// release keeps lazy paging semantics independent of row residency.
|
|
163
|
-
version: '0.2.
|
|
163
|
+
version: '0.2.24',
|
|
164
164
|
contracts: {
|
|
165
165
|
api: {
|
|
166
166
|
name: 'sdk-http-api',
|
package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/local-process.ts
CHANGED
|
@@ -18,6 +18,7 @@ import type { PlayRunnerExecutionConfig } from '@shared_libs/play-runtime/protoc
|
|
|
18
18
|
import { resolveDaytonaSandboxComputeItem } from '@shared_libs/play-runtime/worker-api-types';
|
|
19
19
|
import {
|
|
20
20
|
recordComputeBillingItemViaAppRuntime,
|
|
21
|
+
upsertComputeBillingSessionViaAppRuntime,
|
|
21
22
|
type WorkerRuntimeApiContext,
|
|
22
23
|
} from '@shared_libs/play-runtime/app-runtime-api';
|
|
23
24
|
import {
|
|
@@ -311,6 +312,18 @@ export const localProcessPlayRunnerBackend: PlayRunnerBackend = {
|
|
|
311
312
|
},
|
|
312
313
|
async (backendSpan) => {
|
|
313
314
|
const localComputeStartedAt = Date.now();
|
|
315
|
+
await upsertComputeBillingSessionViaAppRuntime(
|
|
316
|
+
runtimeApiContextForConfig(config),
|
|
317
|
+
{
|
|
318
|
+
sessionId:
|
|
319
|
+
config.context.workflowId ?? config.context.runId ?? 'unknown',
|
|
320
|
+
orgId: config.context.orgId ?? 'unknown',
|
|
321
|
+
userId: null,
|
|
322
|
+
operation: 'workflow_run',
|
|
323
|
+
workflowId: config.context.workflowId ?? undefined,
|
|
324
|
+
runId: config.context.runId ?? undefined,
|
|
325
|
+
},
|
|
326
|
+
);
|
|
314
327
|
let phaseStartedAt = Date.now();
|
|
315
328
|
const bundle = await withActiveSpan(
|
|
316
329
|
'plays.runner.bundle_ready',
|
|
@@ -1658,10 +1658,10 @@ export const PLAY_AUTHORING_FIELD_REGISTRY = {
|
|
|
1658
1658
|
},
|
|
1659
1659
|
referenceType: 'string',
|
|
1660
1660
|
required: true,
|
|
1661
|
-
resolution: '
|
|
1661
|
+
resolution: 'runtime-dynamic',
|
|
1662
1662
|
issueCode: 'play_authoring_run_play_option_invalid',
|
|
1663
1663
|
description: 'Stable identity for one inline child Play call.',
|
|
1664
|
-
errorMessage: 'ctx.runPlay key must be a non-empty
|
|
1664
|
+
errorMessage: 'ctx.runPlay key must be a non-empty string.',
|
|
1665
1665
|
},
|
|
1666
1666
|
'ctx.runPlay.playRef': {
|
|
1667
1667
|
schema: Type.Union([
|
package/dist/cli/index.js
CHANGED
|
@@ -1044,7 +1044,7 @@ var SDK_RELEASE = {
|
|
|
1044
1044
|
// 0.2.0 makes Dataset Handles uniformly async-only after 0.1.320 briefly
|
|
1045
1045
|
// exposed storage-dependent synchronous access. This deliberate minor
|
|
1046
1046
|
// release keeps lazy paging semantics independent of row residency.
|
|
1047
|
-
version: "0.2.
|
|
1047
|
+
version: "0.2.24",
|
|
1048
1048
|
contracts: {
|
|
1049
1049
|
api: {
|
|
1050
1050
|
name: "sdk-http-api",
|
|
@@ -15509,10 +15509,10 @@ var PLAY_AUTHORING_FIELD_REGISTRY = {
|
|
|
15509
15509
|
},
|
|
15510
15510
|
referenceType: "string",
|
|
15511
15511
|
required: true,
|
|
15512
|
-
resolution: "
|
|
15512
|
+
resolution: "runtime-dynamic",
|
|
15513
15513
|
issueCode: "play_authoring_run_play_option_invalid",
|
|
15514
15514
|
description: "Stable identity for one inline child Play call.",
|
|
15515
|
-
errorMessage: "ctx.runPlay key must be a non-empty
|
|
15515
|
+
errorMessage: "ctx.runPlay key must be a non-empty string."
|
|
15516
15516
|
},
|
|
15517
15517
|
"ctx.runPlay.playRef": {
|
|
15518
15518
|
schema: Type.Union([
|
package/dist/cli/index.mjs
CHANGED
|
@@ -1030,7 +1030,7 @@ var SDK_RELEASE = {
|
|
|
1030
1030
|
// 0.2.0 makes Dataset Handles uniformly async-only after 0.1.320 briefly
|
|
1031
1031
|
// exposed storage-dependent synchronous access. This deliberate minor
|
|
1032
1032
|
// release keeps lazy paging semantics independent of row residency.
|
|
1033
|
-
version: "0.2.
|
|
1033
|
+
version: "0.2.24",
|
|
1034
1034
|
contracts: {
|
|
1035
1035
|
api: {
|
|
1036
1036
|
name: "sdk-http-api",
|
|
@@ -15546,10 +15546,10 @@ var PLAY_AUTHORING_FIELD_REGISTRY = {
|
|
|
15546
15546
|
},
|
|
15547
15547
|
referenceType: "string",
|
|
15548
15548
|
required: true,
|
|
15549
|
-
resolution: "
|
|
15549
|
+
resolution: "runtime-dynamic",
|
|
15550
15550
|
issueCode: "play_authoring_run_play_option_invalid",
|
|
15551
15551
|
description: "Stable identity for one inline child Play call.",
|
|
15552
|
-
errorMessage: "ctx.runPlay key must be a non-empty
|
|
15552
|
+
errorMessage: "ctx.runPlay key must be a non-empty string."
|
|
15553
15553
|
},
|
|
15554
15554
|
"ctx.runPlay.playRef": {
|
|
15555
15555
|
schema: Type.Union([
|
|
@@ -2109,10 +2109,10 @@ declare const PLAY_AUTHORING_FIELD_REGISTRY: {
|
|
|
2109
2109
|
};
|
|
2110
2110
|
readonly referenceType: "string";
|
|
2111
2111
|
readonly required: true;
|
|
2112
|
-
readonly resolution: "
|
|
2112
|
+
readonly resolution: "runtime-dynamic";
|
|
2113
2113
|
readonly issueCode: "play_authoring_run_play_option_invalid";
|
|
2114
2114
|
readonly description: "Stable identity for one inline child Play call.";
|
|
2115
|
-
readonly errorMessage: "ctx.runPlay key must be a non-empty
|
|
2115
|
+
readonly errorMessage: "ctx.runPlay key must be a non-empty string.";
|
|
2116
2116
|
};
|
|
2117
2117
|
readonly 'ctx.runPlay.playRef': {
|
|
2118
2118
|
readonly schema: _sinclair_typebox.TUnion<[_sinclair_typebox.TString, _sinclair_typebox.TUnion<[_sinclair_typebox.TObject<{
|
|
@@ -2109,10 +2109,10 @@ declare const PLAY_AUTHORING_FIELD_REGISTRY: {
|
|
|
2109
2109
|
};
|
|
2110
2110
|
readonly referenceType: "string";
|
|
2111
2111
|
readonly required: true;
|
|
2112
|
-
readonly resolution: "
|
|
2112
|
+
readonly resolution: "runtime-dynamic";
|
|
2113
2113
|
readonly issueCode: "play_authoring_run_play_option_invalid";
|
|
2114
2114
|
readonly description: "Stable identity for one inline child Play call.";
|
|
2115
|
-
readonly errorMessage: "ctx.runPlay key must be a non-empty
|
|
2115
|
+
readonly errorMessage: "ctx.runPlay key must be a non-empty string.";
|
|
2116
2116
|
};
|
|
2117
2117
|
readonly 'ctx.runPlay.playRef': {
|
|
2118
2118
|
readonly schema: _sinclair_typebox.TUnion<[_sinclair_typebox.TString, _sinclair_typebox.TUnion<[_sinclair_typebox.TObject<{
|
package/dist/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { e as PlayRuntimeBackendId, c as PlayCompilerManifest, D as DeeplineError, f as ToolExecutionError, g as ToolExecutionErrorOptions, h as PlayAuthoringColumnMap, i as PlayAuthoringColumnResolver, j as PlayAuthoringRuntimeContext, k as PlayAuthoringConditionalStepResolver, l as PlayAuthoringCsvInput, m as PlayAuthoringCsvOptions, n as PlayAuthoringDatasetBuilder, o as PlayAuthoringDatasetColumnDefinition, p as PlayAuthoringDatasetColumnRunInput, q as ToolExecuteResult, r as PlayAuthoringReferenceLike, s as PlayReturnObject$1, t as PlayAuthoringDefineConfig, u as PlayAuthoringDefinedPlay, v as PlayAuthoringFetchOptions, w as PlayAuthoringFileInput, x as PlayAuthoringBindings, y as PlayAuthoringCallExecution, z as PlayAuthoringCallOptions, A as PlayAuthoringFetchResponse, B as PlayAuthoringInputContract, C as PlayAuthoringStepProgramStep, E as PlayAuthoringRuntimeStepOptions, F as PlaySqlListenerDeclaration, G as PlaySqlListenerEvent, H as PlaySqlListenerOperation, I as PlaySqlQuery, J as PlayAuthoringStepOptions, K as PlayAuthoringStepProgram, L as PlayAuthoringStepProgramResolver, M as PlayAuthoringStepResolver, N as PlayToolExecutionRequest } from './compiler-manifest-
|
|
2
|
-
export { O as DEEPLINE_EXTRACTOR_TARGETS, Q as DEEPLINE_EXTRACTOR_TARGET_DEFINITIONS, R as DeeplineEmailStatusGetterValue, S as DeeplineExtractorTarget, U as DeeplineGetterValue, V as DeeplineGetterValueMap, W as JOB_CHANGE_STATUS_VALUES, X as JobChangeStatus, Y as PHONE_STATUS_VALUES, Z as PhoneStatus, _ as PlayDataset, $ as PlayDatasetInput, a0 as PreviousCell, a1 as ProviderTransientError, a2 as ProviderTransientErrorCategory, a3 as ToolExecutionErrorCategory, a4 as ToolExecutionErrorOrigin, a5 as ToolExecutionFailureV1, a6 as ToolExecutionNetworkKind, a7 as ToolExecutionNetworkScope, a8 as isDeeplineExtractorTarget } from './compiler-manifest-
|
|
1
|
+
import { e as PlayRuntimeBackendId, c as PlayCompilerManifest, D as DeeplineError, f as ToolExecutionError, g as ToolExecutionErrorOptions, h as PlayAuthoringColumnMap, i as PlayAuthoringColumnResolver, j as PlayAuthoringRuntimeContext, k as PlayAuthoringConditionalStepResolver, l as PlayAuthoringCsvInput, m as PlayAuthoringCsvOptions, n as PlayAuthoringDatasetBuilder, o as PlayAuthoringDatasetColumnDefinition, p as PlayAuthoringDatasetColumnRunInput, q as ToolExecuteResult, r as PlayAuthoringReferenceLike, s as PlayReturnObject$1, t as PlayAuthoringDefineConfig, u as PlayAuthoringDefinedPlay, v as PlayAuthoringFetchOptions, w as PlayAuthoringFileInput, x as PlayAuthoringBindings, y as PlayAuthoringCallExecution, z as PlayAuthoringCallOptions, A as PlayAuthoringFetchResponse, B as PlayAuthoringInputContract, C as PlayAuthoringStepProgramStep, E as PlayAuthoringRuntimeStepOptions, F as PlaySqlListenerDeclaration, G as PlaySqlListenerEvent, H as PlaySqlListenerOperation, I as PlaySqlQuery, J as PlayAuthoringStepOptions, K as PlayAuthoringStepProgram, L as PlayAuthoringStepProgramResolver, M as PlayAuthoringStepResolver, N as PlayToolExecutionRequest } from './compiler-manifest-CGZadg-v.mjs';
|
|
2
|
+
export { O as DEEPLINE_EXTRACTOR_TARGETS, Q as DEEPLINE_EXTRACTOR_TARGET_DEFINITIONS, R as DeeplineEmailStatusGetterValue, S as DeeplineExtractorTarget, U as DeeplineGetterValue, V as DeeplineGetterValueMap, W as JOB_CHANGE_STATUS_VALUES, X as JobChangeStatus, Y as PHONE_STATUS_VALUES, Z as PhoneStatus, _ as PlayDataset, $ as PlayDatasetInput, a0 as PreviousCell, a1 as ProviderTransientError, a2 as ProviderTransientErrorCategory, a3 as ToolExecutionErrorCategory, a4 as ToolExecutionErrorOrigin, a5 as ToolExecutionFailureV1, a6 as ToolExecutionNetworkKind, a7 as ToolExecutionNetworkScope, a8 as isDeeplineExtractorTarget } from './compiler-manifest-CGZadg-v.mjs';
|
|
3
3
|
import '@sinclair/typebox';
|
|
4
4
|
|
|
5
5
|
type PlayRuntimeSelection = {
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { e as PlayRuntimeBackendId, c as PlayCompilerManifest, D as DeeplineError, f as ToolExecutionError, g as ToolExecutionErrorOptions, h as PlayAuthoringColumnMap, i as PlayAuthoringColumnResolver, j as PlayAuthoringRuntimeContext, k as PlayAuthoringConditionalStepResolver, l as PlayAuthoringCsvInput, m as PlayAuthoringCsvOptions, n as PlayAuthoringDatasetBuilder, o as PlayAuthoringDatasetColumnDefinition, p as PlayAuthoringDatasetColumnRunInput, q as ToolExecuteResult, r as PlayAuthoringReferenceLike, s as PlayReturnObject$1, t as PlayAuthoringDefineConfig, u as PlayAuthoringDefinedPlay, v as PlayAuthoringFetchOptions, w as PlayAuthoringFileInput, x as PlayAuthoringBindings, y as PlayAuthoringCallExecution, z as PlayAuthoringCallOptions, A as PlayAuthoringFetchResponse, B as PlayAuthoringInputContract, C as PlayAuthoringStepProgramStep, E as PlayAuthoringRuntimeStepOptions, F as PlaySqlListenerDeclaration, G as PlaySqlListenerEvent, H as PlaySqlListenerOperation, I as PlaySqlQuery, J as PlayAuthoringStepOptions, K as PlayAuthoringStepProgram, L as PlayAuthoringStepProgramResolver, M as PlayAuthoringStepResolver, N as PlayToolExecutionRequest } from './compiler-manifest-
|
|
2
|
-
export { O as DEEPLINE_EXTRACTOR_TARGETS, Q as DEEPLINE_EXTRACTOR_TARGET_DEFINITIONS, R as DeeplineEmailStatusGetterValue, S as DeeplineExtractorTarget, U as DeeplineGetterValue, V as DeeplineGetterValueMap, W as JOB_CHANGE_STATUS_VALUES, X as JobChangeStatus, Y as PHONE_STATUS_VALUES, Z as PhoneStatus, _ as PlayDataset, $ as PlayDatasetInput, a0 as PreviousCell, a1 as ProviderTransientError, a2 as ProviderTransientErrorCategory, a3 as ToolExecutionErrorCategory, a4 as ToolExecutionErrorOrigin, a5 as ToolExecutionFailureV1, a6 as ToolExecutionNetworkKind, a7 as ToolExecutionNetworkScope, a8 as isDeeplineExtractorTarget } from './compiler-manifest-
|
|
1
|
+
import { e as PlayRuntimeBackendId, c as PlayCompilerManifest, D as DeeplineError, f as ToolExecutionError, g as ToolExecutionErrorOptions, h as PlayAuthoringColumnMap, i as PlayAuthoringColumnResolver, j as PlayAuthoringRuntimeContext, k as PlayAuthoringConditionalStepResolver, l as PlayAuthoringCsvInput, m as PlayAuthoringCsvOptions, n as PlayAuthoringDatasetBuilder, o as PlayAuthoringDatasetColumnDefinition, p as PlayAuthoringDatasetColumnRunInput, q as ToolExecuteResult, r as PlayAuthoringReferenceLike, s as PlayReturnObject$1, t as PlayAuthoringDefineConfig, u as PlayAuthoringDefinedPlay, v as PlayAuthoringFetchOptions, w as PlayAuthoringFileInput, x as PlayAuthoringBindings, y as PlayAuthoringCallExecution, z as PlayAuthoringCallOptions, A as PlayAuthoringFetchResponse, B as PlayAuthoringInputContract, C as PlayAuthoringStepProgramStep, E as PlayAuthoringRuntimeStepOptions, F as PlaySqlListenerDeclaration, G as PlaySqlListenerEvent, H as PlaySqlListenerOperation, I as PlaySqlQuery, J as PlayAuthoringStepOptions, K as PlayAuthoringStepProgram, L as PlayAuthoringStepProgramResolver, M as PlayAuthoringStepResolver, N as PlayToolExecutionRequest } from './compiler-manifest-CGZadg-v.js';
|
|
2
|
+
export { O as DEEPLINE_EXTRACTOR_TARGETS, Q as DEEPLINE_EXTRACTOR_TARGET_DEFINITIONS, R as DeeplineEmailStatusGetterValue, S as DeeplineExtractorTarget, U as DeeplineGetterValue, V as DeeplineGetterValueMap, W as JOB_CHANGE_STATUS_VALUES, X as JobChangeStatus, Y as PHONE_STATUS_VALUES, Z as PhoneStatus, _ as PlayDataset, $ as PlayDatasetInput, a0 as PreviousCell, a1 as ProviderTransientError, a2 as ProviderTransientErrorCategory, a3 as ToolExecutionErrorCategory, a4 as ToolExecutionErrorOrigin, a5 as ToolExecutionFailureV1, a6 as ToolExecutionNetworkKind, a7 as ToolExecutionNetworkScope, a8 as isDeeplineExtractorTarget } from './compiler-manifest-CGZadg-v.js';
|
|
3
3
|
import '@sinclair/typebox';
|
|
4
4
|
|
|
5
5
|
type PlayRuntimeSelection = {
|
package/dist/index.js
CHANGED
|
@@ -763,7 +763,7 @@ var SDK_RELEASE = {
|
|
|
763
763
|
// 0.2.0 makes Dataset Handles uniformly async-only after 0.1.320 briefly
|
|
764
764
|
// exposed storage-dependent synchronous access. This deliberate minor
|
|
765
765
|
// release keeps lazy paging semantics independent of row residency.
|
|
766
|
-
version: "0.2.
|
|
766
|
+
version: "0.2.24",
|
|
767
767
|
contracts: {
|
|
768
768
|
api: {
|
|
769
769
|
name: "sdk-http-api",
|
package/dist/index.mjs
CHANGED
|
@@ -689,7 +689,7 @@ var SDK_RELEASE = {
|
|
|
689
689
|
// 0.2.0 makes Dataset Handles uniformly async-only after 0.1.320 briefly
|
|
690
690
|
// exposed storage-dependent synchronous access. This deliberate minor
|
|
691
691
|
// release keeps lazy paging semantics independent of row residency.
|
|
692
|
-
version: "0.2.
|
|
692
|
+
version: "0.2.24",
|
|
693
693
|
contracts: {
|
|
694
694
|
api: {
|
|
695
695
|
name: "sdk-http-api",
|
|
@@ -211,8 +211,8 @@
|
|
|
211
211
|
"dist/cli/index.d.ts",
|
|
212
212
|
"dist/cli/index.js",
|
|
213
213
|
"dist/cli/index.mjs",
|
|
214
|
-
"dist/compiler-manifest-
|
|
215
|
-
"dist/compiler-manifest-
|
|
214
|
+
"dist/compiler-manifest-CGZadg-v.d.mts",
|
|
215
|
+
"dist/compiler-manifest-CGZadg-v.d.ts",
|
|
216
216
|
"dist/helpers.d.mts",
|
|
217
217
|
"dist/helpers.d.ts",
|
|
218
218
|
"dist/helpers.js",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { T as ToolExecutionErrorSchemaVersion, P as PlayAuthoringContractEdition, a as PlayArtifactKind$1, b as PlaySandboxRuntimeDeclaration, c as PlayCompilerManifest } from '../compiler-manifest-
|
|
2
|
-
export { d as PLAY_ARTIFACT_KINDS } from '../compiler-manifest-
|
|
1
|
+
import { T as ToolExecutionErrorSchemaVersion, P as PlayAuthoringContractEdition, a as PlayArtifactKind$1, b as PlaySandboxRuntimeDeclaration, c as PlayCompilerManifest } from '../compiler-manifest-CGZadg-v.mjs';
|
|
2
|
+
export { d as PLAY_ARTIFACT_KINDS } from '../compiler-manifest-CGZadg-v.mjs';
|
|
3
3
|
import '@sinclair/typebox';
|
|
4
4
|
|
|
5
5
|
type PlayPackageImport = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { T as ToolExecutionErrorSchemaVersion, P as PlayAuthoringContractEdition, a as PlayArtifactKind$1, b as PlaySandboxRuntimeDeclaration, c as PlayCompilerManifest } from '../compiler-manifest-
|
|
2
|
-
export { d as PLAY_ARTIFACT_KINDS } from '../compiler-manifest-
|
|
1
|
+
import { T as ToolExecutionErrorSchemaVersion, P as PlayAuthoringContractEdition, a as PlayArtifactKind$1, b as PlaySandboxRuntimeDeclaration, c as PlayCompilerManifest } from '../compiler-manifest-CGZadg-v.js';
|
|
2
|
+
export { d as PLAY_ARTIFACT_KINDS } from '../compiler-manifest-CGZadg-v.js';
|
|
3
3
|
import '@sinclair/typebox';
|
|
4
4
|
|
|
5
5
|
type PlayPackageImport = {
|
|
@@ -3468,10 +3468,10 @@ var PLAY_AUTHORING_FIELD_REGISTRY = {
|
|
|
3468
3468
|
},
|
|
3469
3469
|
referenceType: "string",
|
|
3470
3470
|
required: true,
|
|
3471
|
-
resolution: "
|
|
3471
|
+
resolution: "runtime-dynamic",
|
|
3472
3472
|
issueCode: "play_authoring_run_play_option_invalid",
|
|
3473
3473
|
description: "Stable identity for one inline child Play call.",
|
|
3474
|
-
errorMessage: "ctx.runPlay key must be a non-empty
|
|
3474
|
+
errorMessage: "ctx.runPlay key must be a non-empty string."
|
|
3475
3475
|
},
|
|
3476
3476
|
"ctx.runPlay.playRef": {
|
|
3477
3477
|
schema: Type.Union([
|