deepline 0.3.356 → 0.3.357
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/scheduler-backends/postgres.ts +42 -7
- package/dist/cli/{auth-PFLCB6IL.mjs → auth-5Y2YV5LY.mjs} +4 -4
- package/dist/cli/auth-AABYKR2S.js +31 -0
- package/dist/cli/{billing-T3K2KS55.mjs → billing-UOFR7KDB.mjs} +4 -4
- package/dist/cli/{billing-TJOZMRIV.js → billing-Y6IKDJ6H.js} +73 -73
- package/dist/cli/{chunk-GD4YCB5C.mjs → chunk-2AROJ4EZ.mjs} +2 -2
- package/dist/cli/{chunk-YFLAUIJN.mjs → chunk-2NZUC5OS.mjs} +4 -4
- package/dist/cli/{chunk-A544Z3OR.js → chunk-4YXJTQ5X.js} +4 -4
- package/dist/cli/{chunk-HBN5ORV2.js → chunk-5UNTNKNX.js} +6 -6
- package/dist/cli/{chunk-LDOOR6AE.js → chunk-6P235JSN.js} +15 -15
- package/dist/cli/{chunk-6GOZN6ZF.js → chunk-C2EHMMME.js} +60 -60
- package/dist/cli/{chunk-26FD35VW.js → chunk-CPQIVH6G.js} +8 -8
- package/dist/cli/{chunk-447A2YBS.js → chunk-EWTVIN3O.js} +45 -45
- package/dist/cli/{chunk-35AZMPQV.mjs → chunk-IWBFG4XI.mjs} +1 -1
- package/dist/cli/{chunk-OIJR6SCZ.js → chunk-J4A4MRBK.js} +26 -26
- package/dist/cli/{chunk-2RMJLL3R.mjs → chunk-LJTZVC2T.mjs} +2 -2
- package/dist/cli/{chunk-2CTZ4MRZ.mjs → chunk-N47R7S3E.mjs} +1 -1
- package/dist/cli/{chunk-2EYFTDKU.js → chunk-NEMHJYA4.js} +2 -2
- package/dist/cli/{chunk-AUQYSGGD.mjs → chunk-NZ6BT4NL.mjs} +1 -1
- package/dist/cli/{chunk-NAMT3YP5.mjs → chunk-O7IM72KW.mjs} +6 -6
- package/dist/cli/{chunk-6S2HRJIV.mjs → chunk-PJYCAGKK.mjs} +1 -1
- package/dist/cli/{chunk-7LFNGGH6.mjs → chunk-QYCAH7SM.mjs} +2 -2
- package/dist/cli/{chunk-MK3WFSJN.js → chunk-R5P3KFF5.js} +8 -8
- package/dist/cli/{chunk-OXNEO6OS.js → chunk-SCY4UCEZ.js} +48 -48
- package/dist/cli/{chunk-W3VTKDQK.mjs → chunk-SMLKQAEB.mjs} +3 -3
- package/dist/cli/{chunk-YILVDBYO.js → chunk-SXXUOZRS.js} +1 -1
- package/dist/cli/{chunk-WF5BHZWA.mjs → chunk-VG5WMYSF.mjs} +1 -1
- package/dist/cli/{chunk-X4PJURJH.mjs → chunk-VXH4225Y.mjs} +2 -2
- package/dist/cli/{chunk-UC27KYXC.js → chunk-WQSV34KV.js} +9 -9
- package/dist/cli/{chunk-RPALAI2R.mjs → chunk-XYD76KJB.mjs} +5 -5
- package/dist/cli/{chunk-HXL4ZESY.js → chunk-ZYPSNUDU.js} +224 -224
- package/dist/cli/{client-XMFAODL2.mjs → client-23QTYYIR.mjs} +3 -3
- package/dist/cli/client-3DYV3HZ4.js +20 -0
- package/dist/cli/{csv-4TMZI4RY.js → csv-SQIEBX66.js} +12 -12
- package/dist/cli/{csv-NLCVCEZ3.mjs → csv-VKEF5C65.mjs} +3 -3
- package/dist/cli/{db-IMLYZF3N.mjs → db-KX7FDHL4.mjs} +4 -4
- package/dist/cli/{db-PWID5GLT.js → db-Z33ZRE3N.js} +29 -29
- package/dist/cli/{describe-LTYF5NWH.js → describe-5ZQ6KIJH.js} +15 -15
- package/dist/cli/{describe-LFKBFDRQ.mjs → describe-K2SJ22B3.mjs} +8 -8
- package/dist/cli/{executions-6UVFDX2O.mjs → executions-452G2REF.mjs} +4 -4
- package/dist/cli/{executions-RB4WIKFH.js → executions-KCZZY6SS.js} +6 -6
- package/dist/cli/{feedback-PH3WH5LE.mjs → feedback-55HU4EQY.mjs} +3 -3
- package/dist/cli/{feedback-EOUSGLRS.js → feedback-BM7ZNH7Y.js} +7 -7
- package/dist/cli/{git-BLVZPTBC.mjs → git-CAPESVAJ.mjs} +4 -4
- package/dist/cli/git-VESXOJ4M.js +23 -0
- package/dist/cli/index.js +79 -79
- package/dist/cli/index.mjs +31 -31
- package/dist/cli/{legacy-noops-5JDDNT4H.mjs → legacy-noops-3B3MG33Y.mjs} +4 -4
- package/dist/cli/{legacy-noops-KQBQ4WMC.js → legacy-noops-PV5AWTIZ.js} +7 -7
- package/dist/cli/{monitors-JL7A5ZOX.mjs → monitors-43R6CUFK.mjs} +4 -4
- package/dist/cli/{monitors-IETMP6ER.js → monitors-DVFEJHQT.js} +85 -85
- package/dist/cli/{org-HL2CWV6W.js → org-BGCB45VI.js} +60 -60
- package/dist/cli/{org-L6TG5MRM.mjs → org-X5WSLJRD.mjs} +4 -4
- package/dist/cli/{play-42RA7JRU.mjs → play-OFO6XZ5L.mjs} +7 -7
- package/dist/cli/play-ZO4HDGMC.js +153 -0
- package/dist/cli/{providers-RH5ZPZXO.mjs → providers-L2MPYA3E.mjs} +4 -4
- package/dist/cli/{providers-MASSERVB.js → providers-RJYHQC4J.js} +7 -7
- package/dist/cli/{quickstart-6AYK534A.js → quickstart-E6OWYYMT.js} +5 -5
- package/dist/cli/{quickstart-OMZY743O.mjs → quickstart-NHFMGZ3B.mjs} +3 -3
- package/dist/cli/search-2FJA6OH4.js +26 -0
- package/dist/cli/{search-TBOZ5R36.mjs → search-IPTZAOUE.mjs} +5 -5
- package/dist/cli/{secrets-74CH44OT.js → secrets-6LD4CA2X.js} +13 -13
- package/dist/cli/{secrets-IN4XCGBJ.mjs → secrets-TCOPPNXR.mjs} +4 -4
- package/dist/cli/{sessions-BAMVNM3F.mjs → sessions-D4JETMAW.mjs} +4 -4
- package/dist/cli/{sessions-KK47BDGG.js → sessions-QV4LUKEP.js} +5 -5
- package/dist/cli/{settings-HZFVYTEW.mjs → settings-IVJPCORG.mjs} +7 -7
- package/dist/cli/{settings-VSKWLX2B.js → settings-JOYKXSY7.js} +74 -74
- package/dist/cli/{setup-IYVMYYZW.js → setup-MIJZTYMH.js} +41 -41
- package/dist/cli/{setup-3YOU6BBX.mjs → setup-WCKQK7FE.mjs} +6 -6
- package/dist/cli/{skills-DB3TE5LF.mjs → skills-GYWMUDDF.mjs} +4 -4
- package/dist/cli/skills-JL4J5CII.js +28 -0
- package/dist/cli/{tools-AMNLACHH.mjs → tools-ILYNEPGQ.mjs} +6 -6
- package/dist/cli/tools-ZOKG4AX4.js +40 -0
- package/dist/cli/{update-3PBHH5FL.mjs → update-P3VIHMC6.mjs} +6 -6
- package/dist/cli/update-WUMDEAEE.js +28 -0
- package/dist/cli/{workflow-C2KGKJJD.mjs → workflow-A6ID4C6N.mjs} +5 -5
- package/dist/cli/{workflow-5YDAWSKH.js → workflow-YWKK3A4X.js} +15 -15
- package/dist/index.js +6 -6
- package/dist/index.mjs +3 -3
- package/dist/install-integrity.json +74 -74
- 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-IHV3XXSN.js +0 -31
- package/dist/cli/client-TDH32IGR.js +0 -20
- package/dist/cli/git-V6HWB6JB.js +0 -23
- package/dist/cli/play-QQLZQILD.js +0 -153
- package/dist/cli/search-FR6FXEXN.js +0 -26
- package/dist/cli/skills-3HFZGYM7.js +0 -28
- package/dist/cli/tools-GJ7TH2T3.js +0 -40
- package/dist/cli/update-SUNCN4SV.js +0 -28
|
@@ -200,7 +200,7 @@ export const SDK_RELEASE = {
|
|
|
200
200
|
// getters keep their established compatibility behavior.
|
|
201
201
|
// 0.3.1 deprecated the legacy `deepline enrich` command in favor of Plays.
|
|
202
202
|
// 0.3.90 is the first deliberately versioned SDK release for API v3.
|
|
203
|
-
version: '0.3.
|
|
203
|
+
version: '0.3.357',
|
|
204
204
|
updateSummary:
|
|
205
205
|
'Play grep now returns concise results with the matched fields and terms. Automatic CLI updates are enabled by default; use `deepline settings autoupdate off` to opt out, `deepline settings autoupdate on` to re-enable updates, or `deepline settings autoupdate pin <version>` to hold an exact release.',
|
|
206
206
|
packageCapabilities: {
|
|
@@ -18338,6 +18338,11 @@ async function claimPostgresSchedulerOutboxPrefix(
|
|
|
18338
18338
|
? `(head.event_type = ${RUN_SCHEDULER_OUTBOX_EVENT_TYPE_SQL_LITERAL.runEvents})`
|
|
18339
18339
|
: 'false';
|
|
18340
18340
|
const findSearchBlockersOnce = seekRunHead && input.searchOnly === true;
|
|
18341
|
+
const searchFactColumnsSql = (alias: string) =>
|
|
18342
|
+
`${alias}.event_id, ${alias}.run_id, ${alias}.event_type,
|
|
18343
|
+
${alias}.created_at, ${alias}.failed_at, ${alias}.next_attempt_at,
|
|
18344
|
+
${alias}.lease_owner, ${alias}.lease_expires_at,
|
|
18345
|
+
${supportsTerminalBatchMarker ? `${alias}.delivery_batch_started_at` : 'NULL::timestamptz AS delivery_batch_started_at'}`;
|
|
18341
18346
|
const blockingPredecessorSql = (alias: string) => `(
|
|
18342
18347
|
(${alias}.event_type = ${RUN_SCHEDULER_OUTBOX_EVENT_TYPE_SQL_LITERAL.runEvents}
|
|
18343
18348
|
AND NOT (${ingressPrefixSql}))
|
|
@@ -18477,13 +18482,44 @@ async function claimPostgresSchedulerOutboxPrefix(
|
|
|
18477
18482
|
LIMIT 1
|
|
18478
18483
|
), ${
|
|
18479
18484
|
findSearchBlockersOnce
|
|
18480
|
-
? `
|
|
18485
|
+
? `search_prefix AS MATERIALIZED (
|
|
18486
|
+
SELECT ${searchFactColumnsSql('pending')}
|
|
18487
|
+
FROM ${tableName('outbox', options)} AS pending
|
|
18488
|
+
JOIN head ON head.run_id = pending.run_id
|
|
18489
|
+
WHERE pending.run_id = $2::text
|
|
18490
|
+
AND ${pending('pending')}
|
|
18491
|
+
AND ${searchLaneSql('pending')} = true
|
|
18492
|
+
ORDER BY ${runLedgerOrderSql('pending')}
|
|
18493
|
+
LIMIT $1
|
|
18494
|
+
), frozen_search_prefix AS MATERIALIZED (
|
|
18495
|
+
SELECT EXISTS (
|
|
18496
|
+
SELECT 1 FROM search_prefix AS fact
|
|
18497
|
+
WHERE fact.delivery_batch_started_at IS NOT NULL
|
|
18498
|
+
AND fact.event_type IN (
|
|
18499
|
+
${RUN_EVENT_KIND_SQL_LITERAL.runCompleted}, ${RUN_EVENT_KIND_SQL_LITERAL.runFailed}, ${RUN_EVENT_KIND_SQL_LITERAL.runCancelled}
|
|
18500
|
+
)
|
|
18501
|
+
) AS has_terminal
|
|
18502
|
+
), search_facts AS MATERIALIZED (
|
|
18503
|
+
-- Ordinary search claims examine only the existing batch's causal
|
|
18504
|
+
-- window, including ineligible rows so a blocker cannot be skipped.
|
|
18505
|
+
SELECT prefix.* FROM search_prefix AS prefix
|
|
18506
|
+
WHERE NOT (SELECT has_terminal FROM frozen_search_prefix)
|
|
18507
|
+
UNION ALL
|
|
18508
|
+
-- A frozen terminal receipt can contain marked facts beyond newer
|
|
18509
|
+
-- unmarked rows. Retain that full membership scan only for this case;
|
|
18510
|
+
-- limiting its raw window would strand an already attempted receipt.
|
|
18511
|
+
SELECT ${searchFactColumnsSql('pending')}
|
|
18512
|
+
FROM ${tableName('outbox', options)} AS pending
|
|
18513
|
+
JOIN head ON head.run_id = pending.run_id
|
|
18514
|
+
WHERE (SELECT has_terminal FROM frozen_search_prefix)
|
|
18515
|
+
AND pending.run_id = $2::text
|
|
18516
|
+
AND ${pending('pending')}
|
|
18517
|
+
AND ${searchLaneSql('pending')} = true
|
|
18518
|
+
), first_blocker AS MATERIALIZED (
|
|
18481
18519
|
SELECT predecessor.event_type, predecessor.created_at, predecessor.event_id
|
|
18482
|
-
FROM
|
|
18520
|
+
FROM search_facts AS predecessor
|
|
18483
18521
|
JOIN head ON head.run_id = predecessor.run_id
|
|
18484
18522
|
WHERE predecessor.run_id = $2::text
|
|
18485
|
-
AND ${pending('predecessor')}
|
|
18486
|
-
AND ${searchLaneSql('predecessor')} = true
|
|
18487
18523
|
-- The oldest pending head passed eligibility above. Only later
|
|
18488
18524
|
-- facts can introduce an ordinary blocker for this prefix.
|
|
18489
18525
|
AND ${runLedgerPositionSql('predecessor')} > (
|
|
@@ -18496,11 +18532,9 @@ async function claimPostgresSchedulerOutboxPrefix(
|
|
|
18496
18532
|
LIMIT 1
|
|
18497
18533
|
), first_started_terminal AS MATERIALIZED (
|
|
18498
18534
|
SELECT terminal_predecessor.event_type, terminal_predecessor.created_at, terminal_predecessor.event_id
|
|
18499
|
-
FROM
|
|
18535
|
+
FROM search_facts AS terminal_predecessor
|
|
18500
18536
|
JOIN head ON head.run_id = terminal_predecessor.run_id
|
|
18501
18537
|
WHERE terminal_predecessor.run_id = $2::text
|
|
18502
|
-
AND ${pending('terminal_predecessor')}
|
|
18503
|
-
AND ${searchLaneSql('terminal_predecessor')} = true
|
|
18504
18538
|
AND ${supportsTerminalBatchMarker ? 'terminal_predecessor.delivery_batch_started_at IS NOT NULL' : 'false'}
|
|
18505
18539
|
AND terminal_predecessor.event_type IN (
|
|
18506
18540
|
${RUN_EVENT_KIND_SQL_LITERAL.runCompleted}, ${RUN_EVENT_KIND_SQL_LITERAL.runFailed}, ${RUN_EVENT_KIND_SQL_LITERAL.runCancelled}
|
|
@@ -18515,6 +18549,7 @@ async function claimPostgresSchedulerOutboxPrefix(
|
|
|
18515
18549
|
JOIN head ON head.run_id = outbox.run_id
|
|
18516
18550
|
WHERE ${pending('outbox')}
|
|
18517
18551
|
${runId !== null ? 'AND outbox.run_id = $2::text' : ''}
|
|
18552
|
+
${findSearchBlockersOnce ? 'AND outbox.event_id = ANY(ARRAY(SELECT event_id FROM search_facts))' : ''}
|
|
18518
18553
|
AND ${searchLaneSql('outbox')} = ${input.searchOnly === true ? 'true' : 'false'}
|
|
18519
18554
|
AND outbox.failed_at IS NULL
|
|
18520
18555
|
-- Admission is causally first and must be projected alone. A later
|
|
@@ -9,11 +9,11 @@ import {
|
|
|
9
9
|
registerAuthCommands,
|
|
10
10
|
reportSetupCompleted,
|
|
11
11
|
resolvePendingAuthClaimForResume
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
12
|
+
} from "./chunk-VXH4225Y.mjs";
|
|
13
|
+
import "./chunk-PJYCAGKK.mjs";
|
|
14
|
+
import "./chunk-VG5WMYSF.mjs";
|
|
15
15
|
import "./chunk-DLIRSHV6.mjs";
|
|
16
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-N47R7S3E.mjs";
|
|
17
17
|
import "./chunk-NXGCO4JB.mjs";
|
|
18
18
|
import "./chunk-WZYKRD7T.mjs";
|
|
19
19
|
import "./chunk-KRD6H754.mjs";
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
var _chunkSCY4UCEZjs = require('./chunk-SCY4UCEZ.js');
|
|
13
|
+
require('./chunk-5UNTNKNX.js');
|
|
14
|
+
require('./chunk-4YXJTQ5X.js');
|
|
15
|
+
require('./chunk-XNYIZMNQ.js');
|
|
16
|
+
require('./chunk-SXXUOZRS.js');
|
|
17
|
+
require('./chunk-7P5AA3SN.js');
|
|
18
|
+
require('./chunk-OG64RBAC.js');
|
|
19
|
+
require('./chunk-COGTRVWW.js');
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
exports.EXIT_WORKSPACE_MISMATCH = _chunkSCY4UCEZjs.EXIT_WORKSPACE_MISMATCH; exports.clearPendingClaim = _chunkSCY4UCEZjs.clearPendingClaim; exports.clearSatisfiedPendingClaim = _chunkSCY4UCEZjs.clearSatisfiedPendingClaim; exports.handleRegister = _chunkSCY4UCEZjs.handleRegister; exports.handleStatus = _chunkSCY4UCEZjs.handleStatus; exports.handleWait = _chunkSCY4UCEZjs.handleWait; exports.readPendingAuthClaim = _chunkSCY4UCEZjs.readPendingAuthClaim; exports.registerAuthCommands = _chunkSCY4UCEZjs.registerAuthCommands; exports.reportSetupCompleted = _chunkSCY4UCEZjs.reportSetupCompleted; exports.resolvePendingAuthClaimForResume = _chunkSCY4UCEZjs.resolvePendingAuthClaimForResume;
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
DeeplineClient,
|
|
3
3
|
iterateCursorPages,
|
|
4
4
|
requireBillingIdempotencyKey
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-NZ6BT4NL.mjs";
|
|
6
6
|
import "./chunk-CBVIJSHF.mjs";
|
|
7
7
|
import {
|
|
8
8
|
createTimestampedName,
|
|
@@ -10,13 +10,13 @@ import {
|
|
|
10
10
|
openInBrowser,
|
|
11
11
|
printCommandEnvelope,
|
|
12
12
|
shouldEmitJson
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-PJYCAGKK.mjs";
|
|
14
14
|
import {
|
|
15
15
|
AuthError,
|
|
16
16
|
ConfigError
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-VG5WMYSF.mjs";
|
|
18
18
|
import "./chunk-DLIRSHV6.mjs";
|
|
19
|
-
import "./chunk-
|
|
19
|
+
import "./chunk-N47R7S3E.mjs";
|
|
20
20
|
import "./chunk-6IKARAYD.mjs";
|
|
21
21
|
import {
|
|
22
22
|
DeeplineError
|