deepline 0.3.311 → 0.3.313
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/play.ts +7 -1
- package/dist/bundling-sources/sdk/src/release.ts +1 -1
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres.ts +159 -61
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/run-ledger-outbox-recovery.ts +11 -6
- package/dist/bundling-sources/shared_libs/plays/authoring-contract.ts +23 -1
- package/dist/bundling-sources/shared_libs/plays/core.ts +7 -1
- package/dist/bundling-sources/shared_libs/plays/settings-contract.ts +29 -3
- package/dist/cli/auth-56NYRTQK.js +31 -0
- package/dist/cli/{auth-2A7OYHFJ.mjs → auth-LNA6WCQA.mjs} +4 -4
- package/dist/cli/{billing-P7GIAP3U.mjs → billing-D37QNIE3.mjs} +5 -5
- package/dist/cli/{billing-2PQ4VDRR.js → billing-GJJUUCOZ.js} +71 -71
- package/dist/cli/{chunk-DUEHAEPM.mjs → chunk-3ZC4PHJ6.mjs} +1 -1
- package/dist/cli/{chunk-LRI2FQF2.js → chunk-4UXNEC5C.js} +26 -26
- package/dist/cli/{tools-WN7T25LW.js → chunk-6G7ZYA6E.js} +231 -87
- package/dist/cli/chunk-76VKBPOC.mjs +406 -0
- package/dist/cli/{chunk-HOCPOTDX.mjs → chunk-BLMO3JMZ.mjs} +2 -2
- package/dist/cli/{play-SOG5Q2GE.mjs → chunk-BS4GAUMH.mjs} +166 -90
- package/dist/cli/{chunk-SPUTBCUR.mjs → chunk-CSH4PKPJ.mjs} +1 -1
- package/dist/cli/{chunk-Q3LYQTSO.mjs → chunk-DOI3UBGV.mjs} +1 -1
- package/dist/cli/{chunk-GCX3343L.js → chunk-FJUIXWZF.js} +48 -48
- package/dist/cli/{chunk-RNJ74JDH.js → chunk-FSZTWQFK.js} +4 -4
- package/dist/cli/{chunk-XDUQQTIS.js → chunk-GQXEHX5X.js} +6 -6
- package/dist/cli/{chunk-SGTSJCOA.mjs → chunk-HM2TSTCT.mjs} +1 -1
- package/dist/cli/{chunk-FYPZ43Y4.js → chunk-HY2SSFRI.js} +1 -1
- package/dist/cli/{chunk-7TT4LZIR.js → chunk-I4FHFGMA.js} +60 -60
- package/dist/cli/{chunk-W7INSYJS.js → chunk-IALPYID6.js} +3 -3
- package/dist/cli/{chunk-VODJJUKE.js → chunk-JG2ZTDZV.js} +15 -15
- package/dist/cli/{chunk-5IBHISKA.js → chunk-KNGTN7NE.js} +6 -6
- package/dist/cli/{chunk-QO3GH6UP.js → chunk-MHETTUWR.js} +2 -2
- package/dist/cli/{chunk-TBX7AA7Y.mjs → chunk-N2DXWS6W.mjs} +2 -2
- package/dist/cli/{chunk-WB6Z2Q44.mjs → chunk-N5V2SBB2.mjs} +19 -1
- package/dist/cli/{chunk-ZDO3TO3M.js → chunk-OJ243ZA5.js} +19 -1
- package/dist/cli/{chunk-QJA6SJHA.mjs → chunk-OTA5C7DD.mjs} +1 -1
- package/dist/cli/{play-BCMGFYTF.js → chunk-P4N7233B.js} +342 -266
- package/dist/cli/{chunk-4WFNAWVO.mjs → chunk-QCXDLOGA.mjs} +2 -2
- package/dist/cli/{chunk-IB7OGQGH.js → chunk-QQMKX7JW.js} +29 -9
- package/dist/cli/{chunk-ICZB4GTY.mjs → chunk-RDUS2EDE.mjs} +23 -3
- package/dist/cli/{tools-G4HGCHNQ.mjs → chunk-UQBMMN4U.mjs} +180 -36
- package/dist/cli/{chunk-4NIQA6S7.mjs → chunk-US4S3E4Y.mjs} +1 -1
- package/dist/cli/{chunk-QYL5ZV4U.js → chunk-VSAYSOVC.js} +6 -6
- package/dist/cli/{chunk-G3QP2WYR.mjs → chunk-XFEPRIW7.mjs} +4 -4
- package/dist/cli/chunk-XNL3SEMC.js +406 -0
- package/dist/cli/{chunk-5OVNL6LS.mjs → chunk-YZ5PP6TX.mjs} +1 -1
- package/dist/cli/{client-PNLDT2M3.mjs → client-6RVRZ4OY.mjs} +3 -3
- package/dist/cli/client-XUTMYJDL.js +20 -0
- package/dist/cli/{csv-L5DN7F45.js → csv-2UHRG67O.js} +12 -12
- package/dist/cli/{csv-KUAATBZQ.mjs → csv-SBOHBKEG.mjs} +3 -3
- package/dist/cli/{db-WZOD6NP5.mjs → db-TUFTPYEA.mjs} +4 -4
- package/dist/cli/{db-6NIH4KTZ.js → db-VRE7CLIQ.js} +20 -20
- package/dist/cli/describe-GS5A2XH4.js +236 -0
- package/dist/cli/describe-WCBZTSOF.mjs +236 -0
- package/dist/cli/{executions-TQ5WRHDS.js → executions-ENMOOKWH.js} +6 -6
- package/dist/cli/{executions-RDDXGT2Y.mjs → executions-UTN3O372.mjs} +4 -4
- package/dist/cli/{feedback-NYKLEQB6.js → feedback-BLN6SIRG.js} +6 -6
- package/dist/cli/{feedback-ZB4WKBSS.mjs → feedback-PXBA3AG7.mjs} +3 -3
- package/dist/cli/git-26D3VD2I.js +23 -0
- package/dist/cli/{git-E6DKAX3X.mjs → git-YDMIRW3Q.mjs} +4 -4
- package/dist/cli/index.js +82 -78
- package/dist/cli/index.mjs +45 -41
- package/dist/cli/{legacy-noops-26Y5NSU6.js → legacy-noops-CWTUWTDB.js} +7 -7
- package/dist/cli/{legacy-noops-25B7JCOZ.mjs → legacy-noops-OVG2SICQ.mjs} +4 -4
- package/dist/cli/{monitors-WRTHO7DT.mjs → monitors-ATIDXJA4.mjs} +7 -7
- package/dist/cli/{monitors-L3GFT4MG.js → monitors-T63OPBTY.js} +88 -88
- package/dist/cli/{org-BNCTGPWF.js → org-7RVAPMRN.js} +60 -60
- package/dist/cli/{org-ZTHOFVEO.mjs → org-NXKNIM3H.mjs} +4 -4
- package/dist/cli/play-B62OVHD4.mjs +152 -0
- package/dist/cli/play-WM3NZVE7.js +152 -0
- package/dist/cli/{providers-MLOKTD6O.js → providers-EITVEGXD.js} +7 -7
- package/dist/cli/{providers-SLAPPVMU.mjs → providers-U7B7JEYY.mjs} +4 -4
- package/dist/cli/{quickstart-IWJLGET3.js → quickstart-G64F2XRU.js} +5 -5
- package/dist/cli/{quickstart-LZRKZLNQ.mjs → quickstart-VSWTYNJM.mjs} +3 -3
- package/dist/cli/{search-RCDGSNWW.mjs → search-SKYTFKKF.mjs} +13 -5
- package/dist/cli/search-TXQJJQWY.js +26 -0
- package/dist/cli/{secrets-GDPYV6OC.mjs → secrets-4DNS7KWS.mjs} +4 -4
- package/dist/cli/{secrets-24KEMSCU.js → secrets-JSFHSCGM.js} +13 -13
- package/dist/cli/{sessions-ST5XQQZN.mjs → sessions-HB7RQ4XN.mjs} +4 -4
- package/dist/cli/{sessions-QOUUGVP3.js → sessions-MLTYPPCG.js} +5 -5
- package/dist/cli/{settings-4XWDMAA2.js → settings-3PCKNBPU.js} +74 -74
- package/dist/cli/{settings-V6Z775TO.mjs → settings-BT5WCU65.mjs} +7 -7
- package/dist/cli/{setup-QPZLP25U.mjs → setup-EIWDTMCK.mjs} +6 -6
- package/dist/cli/{setup-W7SPZTUL.js → setup-EYZWTDJI.js} +41 -41
- package/dist/cli/skills-73T4BSDE.js +28 -0
- package/dist/cli/{skills-QG22R2EI.mjs → skills-AQ3ORN2C.mjs} +4 -4
- package/dist/cli/tools-OFTB2BGP.mjs +38 -0
- package/dist/cli/tools-ZGSOHWBY.js +38 -0
- package/dist/cli/{update-5PSYBGVU.mjs → update-ERQTFSAR.mjs} +6 -6
- package/dist/cli/update-L4V5TF7I.js +28 -0
- package/dist/cli/{workflow-ZEQ46MGG.js → workflow-6D6NHUH4.js} +16 -16
- package/dist/cli/{workflow-EK7DV4AQ.mjs → workflow-SRLWGGBM.mjs} +6 -6
- package/dist/{client-DpnkGBn-.d.mts → client-CtVdLZux.d.mts} +21 -4
- package/dist/{client-ypdBvf1o.d.ts → client-OBwghxPC.d.ts} +21 -4
- package/dist/{compiler-manifest-qtTNYvBl.d.ts → compiler-manifest-wOKNiXpa.d.mts} +21 -0
- package/dist/{compiler-manifest-qtTNYvBl.d.mts → compiler-manifest-wOKNiXpa.d.ts} +21 -0
- package/dist/index.d.mts +4 -4
- package/dist/index.d.ts +4 -4
- package/dist/index.js +13 -10
- package/dist/index.mjs +16 -13
- package/dist/install-integrity.json +84 -76
- 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/dist/plays/run-request.d.mts +2 -2
- package/dist/plays/run-request.d.ts +2 -2
- package/dist/release.d.mts +1 -1
- package/dist/release.d.ts +1 -1
- package/dist/release.js +2 -2
- package/dist/release.mjs +1 -1
- package/package.json +1 -1
- package/dist/cli/auth-66JFXP6C.js +0 -31
- package/dist/cli/client-ADWRS22F.js +0 -20
- package/dist/cli/git-E56KOYJR.js +0 -23
- package/dist/cli/search-6FBDSA3K.js +0 -18
- package/dist/cli/skills-WKOQBJY7.js +0 -28
- package/dist/cli/update-WKVCWGYY.js +0 -28
|
@@ -89,6 +89,7 @@ var PLAY_SQL_LISTENER_WHERE_OPERATOR_SET = new Set(
|
|
|
89
89
|
);
|
|
90
90
|
var PLAY_AUTHORING_BINDING_FIELDS = {
|
|
91
91
|
root: [
|
|
92
|
+
"displayName",
|
|
92
93
|
"billing",
|
|
93
94
|
"compatibility",
|
|
94
95
|
"cron",
|
|
@@ -185,6 +186,22 @@ var SqlListenerFilterScalarSchema = Type.Union([
|
|
|
185
186
|
Type.Null()
|
|
186
187
|
]);
|
|
187
188
|
var PLAY_AUTHORING_FIELD_REGISTRY = {
|
|
189
|
+
displayName: {
|
|
190
|
+
schema: Type.String(),
|
|
191
|
+
fixtures: {
|
|
192
|
+
valid: "Find verified emails",
|
|
193
|
+
invalid: 42,
|
|
194
|
+
absent: void 0,
|
|
195
|
+
unresolved: { expression: "displayName" },
|
|
196
|
+
edition1: "Legacy play"
|
|
197
|
+
},
|
|
198
|
+
referenceType: "string",
|
|
199
|
+
required: false,
|
|
200
|
+
resolution: "static-required",
|
|
201
|
+
issueCode: "play_authoring_binding_invalid",
|
|
202
|
+
description: "Optional human-readable Play name; empty uses the derived identifier.",
|
|
203
|
+
errorMessage: "displayName must be a static string."
|
|
204
|
+
},
|
|
188
205
|
description: {
|
|
189
206
|
schema: Type.String({ minLength: 1 }),
|
|
190
207
|
fixtures: {
|
|
@@ -1532,6 +1549,7 @@ var PLAY_AUTHORING_CLOUD_TYPE_DECLARATIONS = [
|
|
|
1532
1549
|
"};",
|
|
1533
1550
|
"export type PlayCronInput<TInput> = TInput extends readonly unknown[] ? never : TInput extends object ? TInput : never;",
|
|
1534
1551
|
"export type PlayBindings<TInput = Record<string, unknown>> = {",
|
|
1552
|
+
` displayName?: ${cloudReferenceType("displayName")};`,
|
|
1535
1553
|
` description?: ${cloudReferenceType("description")};`,
|
|
1536
1554
|
` compatibility?: { toolErrorSchemaVersion?: ${cloudReferenceType("compatibility.toolErrorSchemaVersion")}; toolResponseReceiptRevision?: ${cloudReferenceType("compatibility.toolResponseReceiptRevision")} };`,
|
|
1537
1555
|
` inline?: ${cloudReferenceType("inline")};`,
|
|
@@ -1610,7 +1628,7 @@ var PLAY_AUTHORING_CLOUD_TYPE_DECLARATIONS = [
|
|
|
1610
1628
|
" log(message: string, options?: { level?: 'debug' | 'info' | 'warn' | 'error'; context?: Readonly<Record<string, string | number | boolean>> }): void;",
|
|
1611
1629
|
` sleep(ms: ${cloudReferenceType("ctx.sleep.ms")}): Promise<void>;`,
|
|
1612
1630
|
"}",
|
|
1613
|
-
"export type DefinePlayConfig<TInput, TOutput extends PlayReturnObject> = { id: string; description?: string; input: PlayInputContract<TInput>; run: (ctx: DeeplinePlayRuntimeContext, input: TInput) => Promise<TOutput>; bindings?: PlayBindings<TInput>; billing?: PlayBindings<TInput>['billing']; runtime?: PlayBindings<TInput>['runtime']; compatibility?: PlayBindings<TInput>['compatibility'] };",
|
|
1631
|
+
"export type DefinePlayConfig<TInput, TOutput extends PlayReturnObject> = { id: string; displayName?: string; description?: string; input: PlayInputContract<TInput>; run: (ctx: DeeplinePlayRuntimeContext, input: TInput) => Promise<TOutput>; bindings?: PlayBindings<TInput>; billing?: PlayBindings<TInput>['billing']; runtime?: PlayBindings<TInput>['runtime']; compatibility?: PlayBindings<TInput>['compatibility'] };",
|
|
1614
1632
|
"export type DefinedPlay<TInput, TOutput extends PlayReturnObject> = ((ctx: DeeplinePlayRuntimeContext, input: TInput) => Promise<TOutput>) & { readonly name: string; readonly __inputType?: TInput; readonly __outputType?: TOutput; readonly bindings?: PlayBindings<TInput>; readonly runtime?: PlayBindings<TInput>['runtime']; readonly compatibility?: PlayBindings<TInput>['compatibility'] };",
|
|
1615
1633
|
"export type PlayHandlerInput<THandler> = THandler extends (context: DeeplinePlayRuntimeContext, input: infer TInput) => Promise<PlayReturnObject> ? TInput : never;",
|
|
1616
1634
|
"export type PlayHandlerOutput<THandler> = THandler extends (context: DeeplinePlayRuntimeContext, input: unknown) => Promise<infer TOutput extends PlayReturnObject> ? TOutput : never;"
|
|
@@ -89,6 +89,7 @@ var PLAY_SQL_LISTENER_WHERE_OPERATOR_SET = new Set(
|
|
|
89
89
|
);
|
|
90
90
|
var PLAY_AUTHORING_BINDING_FIELDS = {
|
|
91
91
|
root: [
|
|
92
|
+
"displayName",
|
|
92
93
|
"billing",
|
|
93
94
|
"compatibility",
|
|
94
95
|
"cron",
|
|
@@ -185,6 +186,22 @@ var SqlListenerFilterScalarSchema = _typebox.Type.Union([
|
|
|
185
186
|
_typebox.Type.Null()
|
|
186
187
|
]);
|
|
187
188
|
var PLAY_AUTHORING_FIELD_REGISTRY = {
|
|
189
|
+
displayName: {
|
|
190
|
+
schema: _typebox.Type.String(),
|
|
191
|
+
fixtures: {
|
|
192
|
+
valid: "Find verified emails",
|
|
193
|
+
invalid: 42,
|
|
194
|
+
absent: void 0,
|
|
195
|
+
unresolved: { expression: "displayName" },
|
|
196
|
+
edition1: "Legacy play"
|
|
197
|
+
},
|
|
198
|
+
referenceType: "string",
|
|
199
|
+
required: false,
|
|
200
|
+
resolution: "static-required",
|
|
201
|
+
issueCode: "play_authoring_binding_invalid",
|
|
202
|
+
description: "Optional human-readable Play name; empty uses the derived identifier.",
|
|
203
|
+
errorMessage: "displayName must be a static string."
|
|
204
|
+
},
|
|
188
205
|
description: {
|
|
189
206
|
schema: _typebox.Type.String({ minLength: 1 }),
|
|
190
207
|
fixtures: {
|
|
@@ -1532,6 +1549,7 @@ var PLAY_AUTHORING_CLOUD_TYPE_DECLARATIONS = [
|
|
|
1532
1549
|
"};",
|
|
1533
1550
|
"export type PlayCronInput<TInput> = TInput extends readonly unknown[] ? never : TInput extends object ? TInput : never;",
|
|
1534
1551
|
"export type PlayBindings<TInput = Record<string, unknown>> = {",
|
|
1552
|
+
` displayName?: ${cloudReferenceType("displayName")};`,
|
|
1535
1553
|
` description?: ${cloudReferenceType("description")};`,
|
|
1536
1554
|
` compatibility?: { toolErrorSchemaVersion?: ${cloudReferenceType("compatibility.toolErrorSchemaVersion")}; toolResponseReceiptRevision?: ${cloudReferenceType("compatibility.toolResponseReceiptRevision")} };`,
|
|
1537
1555
|
` inline?: ${cloudReferenceType("inline")};`,
|
|
@@ -1610,7 +1628,7 @@ var PLAY_AUTHORING_CLOUD_TYPE_DECLARATIONS = [
|
|
|
1610
1628
|
" log(message: string, options?: { level?: 'debug' | 'info' | 'warn' | 'error'; context?: Readonly<Record<string, string | number | boolean>> }): void;",
|
|
1611
1629
|
` sleep(ms: ${cloudReferenceType("ctx.sleep.ms")}): Promise<void>;`,
|
|
1612
1630
|
"}",
|
|
1613
|
-
"export type DefinePlayConfig<TInput, TOutput extends PlayReturnObject> = { id: string; description?: string; input: PlayInputContract<TInput>; run: (ctx: DeeplinePlayRuntimeContext, input: TInput) => Promise<TOutput>; bindings?: PlayBindings<TInput>; billing?: PlayBindings<TInput>['billing']; runtime?: PlayBindings<TInput>['runtime']; compatibility?: PlayBindings<TInput>['compatibility'] };",
|
|
1631
|
+
"export type DefinePlayConfig<TInput, TOutput extends PlayReturnObject> = { id: string; displayName?: string; description?: string; input: PlayInputContract<TInput>; run: (ctx: DeeplinePlayRuntimeContext, input: TInput) => Promise<TOutput>; bindings?: PlayBindings<TInput>; billing?: PlayBindings<TInput>['billing']; runtime?: PlayBindings<TInput>['runtime']; compatibility?: PlayBindings<TInput>['compatibility'] };",
|
|
1614
1632
|
"export type DefinedPlay<TInput, TOutput extends PlayReturnObject> = ((ctx: DeeplinePlayRuntimeContext, input: TInput) => Promise<TOutput>) & { readonly name: string; readonly __inputType?: TInput; readonly __outputType?: TOutput; readonly bindings?: PlayBindings<TInput>; readonly runtime?: PlayBindings<TInput>['runtime']; readonly compatibility?: PlayBindings<TInput>['compatibility'] };",
|
|
1615
1633
|
"export type PlayHandlerInput<THandler> = THandler extends (context: DeeplinePlayRuntimeContext, input: infer TInput) => Promise<PlayReturnObject> ? TInput : never;",
|
|
1616
1634
|
"export type PlayHandlerOutput<THandler> = THandler extends (context: DeeplinePlayRuntimeContext, input: unknown) => Promise<infer TOutput extends PlayReturnObject> ? TOutput : never;"
|