deepline 0.3.405 → 0.3.407
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/client.ts +54 -57
- package/dist/bundling-sources/sdk/src/play.ts +8 -5
- package/dist/bundling-sources/sdk/src/release.ts +1 -1
- package/dist/bundling-sources/sdk/src/types.ts +4 -3
- package/dist/bundling-sources/shared_libs/observability/scheduled-jobs.json +43 -4
- package/dist/bundling-sources/shared_libs/play-runtime/deployment/fly-machine-lifecycle.ts +101 -0
- package/dist/bundling-sources/shared_libs/play-runtime/play-runs/projection/gateway-adapter.ts +4 -0
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-runtime-worker.ts +1 -0
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres.ts +87 -28
- package/dist/bundling-sources/shared_libs/plays/authoring-contract.ts +6 -1
- package/dist/cli/auth-4JTX6AGM.js +40 -0
- package/dist/cli/{auth-D4GXO4IN.mjs → auth-WURWNNLE.mjs} +4 -4
- package/dist/cli/{billing-TQ4UM4D4.js → billing-2QJGXGJX.js} +73 -73
- package/dist/cli/{billing-NVV5VSUJ.mjs → billing-BP3E6WIM.mjs} +4 -4
- package/dist/cli/{chunk-TECEX3K5.mjs → chunk-4TV43THC.mjs} +3 -3
- package/dist/cli/{chunk-YX7JSSJ2.mjs → chunk-6JZZNP5G.mjs} +2 -2
- package/dist/cli/{chunk-LM2JHRZM.js → chunk-7LKYHZVB.js} +1 -1
- package/dist/cli/{chunk-3DWMYKWU.mjs → chunk-BKC6VMYZ.mjs} +1 -1
- package/dist/cli/{chunk-JPNBAZBR.js → chunk-D2ZRMZKF.js} +6 -6
- package/dist/cli/{chunk-BZBV2GY2.js → chunk-G4LJS2RE.js} +8 -8
- package/dist/cli/{chunk-MZ4LBCV7.js → chunk-G6U74WNM.js} +15 -15
- package/dist/cli/{chunk-3MVBOBV4.js → chunk-H6EWQFPQ.js} +2 -2
- package/dist/cli/{chunk-AAIV3ACM.js → chunk-IY6GKJ4O.js} +50 -50
- package/dist/cli/{chunk-HG5PMETP.mjs → chunk-J67NU4MQ.mjs} +55 -58
- package/dist/cli/{chunk-HYAA3F6U.js → chunk-KUQAU5MG.js} +60 -63
- package/dist/cli/{chunk-B6ME2XIO.mjs → chunk-L25GBGQU.mjs} +5 -5
- package/dist/cli/{chunk-4ONG2MWB.mjs → chunk-N6OAMAO5.mjs} +1 -1
- package/dist/cli/{chunk-EVLCUV64.mjs → chunk-P7HOTKOK.mjs} +4 -4
- package/dist/cli/{chunk-YRZIKG47.mjs → chunk-QJAX7QN7.mjs} +2 -2
- package/dist/cli/{chunk-NAJEB3N4.js → chunk-RMZAOYDN.js} +44 -44
- package/dist/cli/{chunk-6HXTHMHZ.js → chunk-RZLXVHNO.js} +26 -26
- package/dist/cli/{chunk-NLT6GCWZ.js → chunk-SOQIPKF2.js} +8 -8
- package/dist/cli/{chunk-CB6AJNHI.js → chunk-THHM4DPE.js} +4 -4
- package/dist/cli/{chunk-3FF3SPSE.mjs → chunk-UFFSOV6I.mjs} +2 -2
- package/dist/cli/{chunk-EKWJXPIX.mjs → chunk-UPEOEYZ3.mjs} +1 -1
- package/dist/cli/{chunk-MPXPTSGJ.mjs → chunk-XT6GG3QO.mjs} +3 -3
- package/dist/cli/{chunk-WGX7SIGL.js → chunk-Y6CX4QPR.js} +65 -65
- package/dist/cli/{chunk-TPYRDAU7.mjs → chunk-ZBCTXQ3P.mjs} +1 -1
- package/dist/cli/{csv-5AASYDRF.js → csv-7E5BE23B.js} +12 -12
- package/dist/cli/{csv-H7LD6IQK.mjs → csv-N6KYTG7L.mjs} +3 -3
- package/dist/cli/{db-MJBZBDWZ.js → db-4VLZP33O.js} +25 -25
- package/dist/cli/{db-CG3UQUA7.mjs → db-XMBJNVBD.mjs} +4 -4
- package/dist/cli/{describe-2A7GARI2.js → describe-4I6EIVXD.js} +10 -10
- package/dist/cli/{describe-INFC5ACQ.mjs → describe-WERH4TD2.mjs} +6 -6
- package/dist/cli/describe-core.d.mts +2 -2
- package/dist/cli/describe-core.d.ts +2 -2
- package/dist/cli/{executions-DO47P6MX.mjs → executions-JWQXE7G6.mjs} +4 -4
- package/dist/cli/{executions-AUDQ5HOJ.js → executions-W7TWJRBK.js} +6 -6
- package/dist/cli/{feedback-MNWNDZVU.js → feedback-FMGRC6KO.js} +7 -7
- package/dist/cli/{feedback-XGZSJM2N.mjs → feedback-OEJFX4F7.mjs} +3 -3
- package/dist/cli/{git-2ECFQKAA.mjs → git-IVC4KHXX.mjs} +4 -4
- package/dist/cli/git-OFXE7G4X.js +24 -0
- package/dist/cli/index.js +89 -89
- package/dist/cli/index.mjs +32 -32
- package/dist/cli/{legacy-noops-534TKEMO.mjs → legacy-noops-LT36CLWZ.mjs} +4 -4
- package/dist/cli/{legacy-noops-3UZTD4DS.js → legacy-noops-X3BQ7MUK.js} +7 -7
- package/dist/cli/{monitors-G4S54JSX.js → monitors-DLIIAVLW.js} +84 -84
- package/dist/cli/{monitors-5ARELE2S.mjs → monitors-MNLCELF7.mjs} +4 -4
- package/dist/cli/{org-RIWF2TLI.js → org-CYHDEW7P.js} +64 -64
- package/dist/cli/{org-BAMOOXQW.mjs → org-QV5LMUPT.mjs} +4 -4
- package/dist/cli/{play-WV4UNGPR.mjs → play-5Z4ROZ3P.mjs} +7 -7
- package/dist/cli/{play-32XSQMFK.js → play-MEFXC2QA.js} +231 -231
- package/dist/cli/{providers-XKY2CNKH.js → providers-2MKUNFBQ.js} +7 -7
- package/dist/cli/{providers-SMSRO23R.mjs → providers-FJLYSHB3.mjs} +4 -4
- package/dist/cli/{quickstart-BFYYEVSS.mjs → quickstart-PQO3OQRT.mjs} +3 -3
- package/dist/cli/{quickstart-Q2TA72HD.js → quickstart-ULWXKAOT.js} +5 -5
- package/dist/cli/search-ANKSJ224.js +30 -0
- package/dist/cli/{search-I2TVB2P5.mjs → search-KGAAXMDG.mjs} +5 -5
- package/dist/cli/{secrets-BHKICIE3.mjs → secrets-PD5I3KAF.mjs} +4 -4
- package/dist/cli/{secrets-B4NYTSL7.js → secrets-X2VGG2PO.js} +13 -13
- package/dist/cli/{sessions-IOR2ZNNH.mjs → sessions-3WVEU4PE.mjs} +4 -4
- package/dist/cli/{sessions-XY2UREJ7.js → sessions-R3XAKTBQ.js} +5 -5
- package/dist/cli/{settings-W6S7B4NH.mjs → settings-645RSFQX.mjs} +7 -7
- package/dist/cli/{settings-ASGROQDE.js → settings-ZIDO3IP6.js} +74 -74
- package/dist/cli/{setup-YIYQ73OV.js → setup-LH5HOZ3D.js} +41 -41
- package/dist/cli/{setup-UUWGI3IN.mjs → setup-LISKIJKP.mjs} +6 -6
- package/dist/cli/{skills-CHA4QCGI.mjs → skills-VVQJHLSF.mjs} +4 -4
- package/dist/cli/skills-WLHYSVQA.js +29 -0
- package/dist/cli/{tools-43ZFJWAQ.js → tools-FTPJCNAM.js} +7 -7
- package/dist/cli/{tools-PMZDYKTT.mjs → tools-Y3LOMXFT.mjs} +6 -6
- package/dist/cli/update-A622H2DZ.js +29 -0
- package/dist/cli/{update-6VSEGTSG.mjs → update-DOBNQNJI.mjs} +6 -6
- package/dist/cli/{workflow-26EOXZ7M.js → workflow-LGENKZBV.js} +15 -15
- package/dist/cli/{workflow-SVMVLQOF.mjs → workflow-ZMAA5VCN.mjs} +5 -5
- package/dist/{client-Buv1_ktG.d.mts → client-6rEB46Lv.d.mts} +55 -57
- package/dist/{client-Db1jFLpF.d.ts → client-IrPHUE5J.d.ts} +55 -57
- package/dist/{compiler-manifest-N77W75Py.d.ts → compiler-manifest-BHnXE43X.d.mts} +6 -1
- package/dist/{compiler-manifest-N77W75Py.d.mts → compiler-manifest-BHnXE43X.d.ts} +6 -1
- package/dist/{index-3WOfyVhW.d.mts → index-Da_Y8z5e.d.mts} +1 -1
- package/dist/{index-CtIJFTCl.d.ts → index-SODb2ROS.d.ts} +1 -1
- package/dist/index.d.mts +13 -10
- package/dist/index.d.ts +13 -10
- package/dist/index.js +8 -8
- package/dist/index.mjs +5 -5
- package/dist/install-integrity.json +76 -76
- package/dist/plays/bundle-play-file.d.mts +3 -3
- package/dist/plays/bundle-play-file.d.ts +3 -3
- package/dist/plays/play-description.d.mts +2 -2
- package/dist/plays/play-description.d.ts +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-IJKAKAHG.js +0 -40
- package/dist/cli/git-6S64UBWC.js +0 -24
- package/dist/cli/search-GK7P3AZY.js +0 -30
- package/dist/cli/skills-LKNKHB2I.js +0 -29
- package/dist/cli/update-R7FODDIW.js +0 -29
|
@@ -19053,6 +19053,8 @@ async function claimRunLedgerOutboxPrefixInBatch(
|
|
|
19053
19053
|
expectedHeadEventId?: string;
|
|
19054
19054
|
lockStrength?: 'no_key_update';
|
|
19055
19055
|
transportCandidate?: RunLedgerTransportCandidate;
|
|
19056
|
+
/** Discover the zero-effect transport head under this transaction's run lock. */
|
|
19057
|
+
discoverTransportHead?: boolean;
|
|
19056
19058
|
recoverTransportDelivery?: boolean;
|
|
19057
19059
|
},
|
|
19058
19060
|
options?: Pick<PostgresSchedulerOptions, 'schema'>,
|
|
@@ -19093,8 +19095,22 @@ async function claimRunLedgerOutboxPrefixInBatch(
|
|
|
19093
19095
|
// run/head locks a never-leased, never-frozen carrier may be acknowledged
|
|
19094
19096
|
// locally before the next READ COMMITTED statement claims its successor.
|
|
19095
19097
|
// Keep the successor's existing run.events-first receipt shape unchanged.
|
|
19098
|
+
const recoverTransportDelivery = input.recoverTransportDelivery === true;
|
|
19099
|
+
// An ACK and successor claim commit in the same transaction. For a discovered
|
|
19100
|
+
// carrier whose response was lost, xmin plus the still-live successor owner
|
|
19101
|
+
// proves exactly which delivery consumed this drain's allowance.
|
|
19102
|
+
const ownedTransportSql = (alias: string) => `
|
|
19103
|
+
to_jsonb(${alias})->>'delivery_batch_started_at' IS NULL AND EXISTS (
|
|
19104
|
+
SELECT 1 FROM ${tableName('outbox', options)} AS successor
|
|
19105
|
+
WHERE successor.run_id = ${alias}.run_id AND successor.delivered_at IS NULL
|
|
19106
|
+
AND successor.lease_owner = ${escapeLiteral(leaseOwner!)}
|
|
19107
|
+
AND successor.lease_expires_at > clock_timestamp()
|
|
19108
|
+
AND successor.xmin = ${alias}.xmin
|
|
19109
|
+
AND NOT ${searchLaneSql('successor')}
|
|
19110
|
+
)`;
|
|
19096
19111
|
const transportHeadSql =
|
|
19097
|
-
input.transportCandidate !== undefined
|
|
19112
|
+
(input.transportCandidate !== undefined ||
|
|
19113
|
+
input.discoverTransportHead === true) &&
|
|
19098
19114
|
input.allowIngressPrefix === true &&
|
|
19099
19115
|
!input.searchOnly &&
|
|
19100
19116
|
!input.extendOwnedHead &&
|
|
@@ -19112,8 +19128,12 @@ async function claimRunLedgerOutboxPrefixInBatch(
|
|
|
19112
19128
|
), eligible_transport_head AS MATERIALIZED (
|
|
19113
19129
|
SELECT head.* FROM transport_head AS head
|
|
19114
19130
|
WHERE current_setting('deepline.run_ledger_outbox_lock', true) = ${escapeLiteral(input.runId)}
|
|
19115
|
-
|
|
19116
|
-
|
|
19131
|
+
${
|
|
19132
|
+
input.transportCandidate
|
|
19133
|
+
? `AND head.event_id = ${escapeLiteral(input.transportCandidate.eventId)}
|
|
19134
|
+
AND head.delivery_key = ${escapeLiteral(input.transportCandidate.deliveryKey)}`
|
|
19135
|
+
: ''
|
|
19136
|
+
}
|
|
19117
19137
|
AND ${runLedgerZeroEffectTransportSql('head')}
|
|
19118
19138
|
AND ${runLedgerTerminalPendingSql('head', options)}
|
|
19119
19139
|
AND EXISTS (
|
|
@@ -19142,24 +19162,22 @@ async function claimRunLedgerOutboxPrefixInBatch(
|
|
|
19142
19162
|
escapeLiteral(input.runId),
|
|
19143
19163
|
)}
|
|
19144
19164
|
)${
|
|
19145
|
-
|
|
19165
|
+
recoverTransportDelivery
|
|
19146
19166
|
? `, prior_transport AS MATERIALIZED (
|
|
19147
19167
|
SELECT prior.event_id, prior.run_id, prior.event_type, prior.delivery_key,
|
|
19148
19168
|
(extract(epoch FROM (prior.delivered_at-prior.created_at))*1000)::float8 AS lag_ms,
|
|
19149
|
-
|
|
19150
|
-
SELECT 1 FROM ${tableName('outbox', options)} AS successor
|
|
19151
|
-
WHERE successor.run_id = prior.run_id AND successor.delivered_at IS NULL
|
|
19152
|
-
AND successor.lease_owner = ${escapeLiteral(leaseOwner!)}
|
|
19153
|
-
AND successor.lease_expires_at > clock_timestamp()
|
|
19154
|
-
AND successor.xmin = prior.xmin
|
|
19155
|
-
AND NOT ${searchLaneSql('successor')}
|
|
19156
|
-
) AS owned
|
|
19169
|
+
${ownedTransportSql('prior')} AS owned
|
|
19157
19170
|
FROM ${tableName('outbox', options)} AS prior
|
|
19158
19171
|
WHERE current_setting('deepline.run_ledger_outbox_lock', true) = ${escapeLiteral(input.runId)}
|
|
19159
19172
|
AND prior.run_id = ${escapeLiteral(input.runId)}
|
|
19160
|
-
|
|
19161
|
-
|
|
19162
|
-
|
|
19173
|
+
${
|
|
19174
|
+
input.transportCandidate
|
|
19175
|
+
? `AND prior.event_id = ${escapeLiteral(input.transportCandidate.eventId)}
|
|
19176
|
+
AND prior.delivery_key = ${escapeLiteral(input.transportCandidate.deliveryKey)}
|
|
19177
|
+
AND prior.event_type = ${escapeLiteral(input.transportCandidate.eventType)}`
|
|
19178
|
+
: `AND ${runLedgerZeroEffectTransportSql('prior')}
|
|
19179
|
+
AND ${ownedTransportSql('prior')}`
|
|
19180
|
+
}
|
|
19163
19181
|
AND prior.delivered_at IS NOT NULL
|
|
19164
19182
|
AND NOT EXISTS (SELECT 1 FROM delivered)
|
|
19165
19183
|
)`
|
|
@@ -19168,7 +19186,7 @@ async function claimRunLedgerOutboxPrefixInBatch(
|
|
|
19168
19186
|
SELECT delivered.event_id, head.run_id, delivered.event_type, head.delivery_key, delivered.lag_ms
|
|
19169
19187
|
FROM delivered JOIN eligible_transport_head AS head ON head.event_id = delivered.event_id
|
|
19170
19188
|
${
|
|
19171
|
-
|
|
19189
|
+
recoverTransportDelivery
|
|
19172
19190
|
? `UNION ALL
|
|
19173
19191
|
SELECT event_id,run_id,event_type,delivery_key,lag_ms FROM prior_transport WHERE owned`
|
|
19174
19192
|
: ''
|
|
@@ -19185,13 +19203,28 @@ async function claimRunLedgerOutboxPrefixInBatch(
|
|
|
19185
19203
|
json_build_object('eventId', delivered.event_id, 'kind', 'outbox_delivered')::text)::text
|
|
19186
19204
|
FROM transport_deliveries AS delivered
|
|
19187
19205
|
${
|
|
19188
|
-
|
|
19206
|
+
recoverTransportDelivery
|
|
19189
19207
|
? `UNION ALL
|
|
19190
19208
|
SELECT 'transport_unconfirmed'::text,event_id,run_id,event_type,NULL::jsonb,NULL::timestamptz,
|
|
19191
19209
|
NULL::text,delivery_key,lag_ms,false,NULL::float8,NULL::text,NULL::text
|
|
19192
19210
|
FROM prior_transport WHERE NOT owned`
|
|
19193
19211
|
: ''
|
|
19194
|
-
}`
|
|
19212
|
+
}` +
|
|
19213
|
+
(recoverTransportDelivery && !input.transportCandidate
|
|
19214
|
+
? `
|
|
19215
|
+
UNION ALL
|
|
19216
|
+
SELECT 'transport_unconfirmed'::text,pending.event_id,pending.run_id,pending.event_type,NULL::jsonb,NULL::timestamptz,
|
|
19217
|
+
NULL::text,pending.delivery_key,0::float8,false,NULL::float8,NULL::text,NULL::text
|
|
19218
|
+
FROM ${tableName('outbox', options)} AS pending
|
|
19219
|
+
WHERE current_setting('deepline.run_ledger_outbox_lock', true) = ${escapeLiteral(input.runId)}
|
|
19220
|
+
AND pending.run_id = ${escapeLiteral(input.runId)} AND pending.delivered_at IS NULL
|
|
19221
|
+
AND pending.lease_owner = ${escapeLiteral(leaseOwner!)}
|
|
19222
|
+
AND NOT ${searchLaneSql('pending')}
|
|
19223
|
+
AND NOT EXISTS (SELECT 1 FROM transport_deliveries)
|
|
19224
|
+
-- A renewal may have replaced the transaction proof. Hand back the
|
|
19225
|
+
-- prefix instead of guessing whether a carrier spent its allowance.
|
|
19226
|
+
`
|
|
19227
|
+
: '')
|
|
19195
19228
|
: undefined;
|
|
19196
19229
|
let result: QueryResult<RunLedgerOutboxPrefixClaimRow>;
|
|
19197
19230
|
try {
|
|
@@ -20587,6 +20620,12 @@ export type RunLedgerOutboxDispatchInput = {
|
|
|
20587
20620
|
* explicit context as before.
|
|
20588
20621
|
*/
|
|
20589
20622
|
runtimeApi?: WorkerRuntimeApiContext | null;
|
|
20623
|
+
/**
|
|
20624
|
+
* Immutable launch already held by a terminal producer. Reuse requires the
|
|
20625
|
+
* same run and the existing qualified projection token; claims and receiver
|
|
20626
|
+
* ownership proofs still read durable state. Other dispatches read SQL.
|
|
20627
|
+
*/
|
|
20628
|
+
dispatchLaunch?: RunLedgerDispatchLaunch;
|
|
20590
20629
|
limit?: number;
|
|
20591
20630
|
runId?: string | null;
|
|
20592
20631
|
leaseOwner?: string | null;
|
|
@@ -21160,19 +21199,38 @@ async function dispatchRunLedgerOutboxBatchWithScope(
|
|
|
21160
21199
|
)
|
|
21161
21200
|
return null;
|
|
21162
21201
|
const targetRunId = input.runId?.trim() || null;
|
|
21202
|
+
const producerLaunch =
|
|
21203
|
+
terminalRunId === targetRunId &&
|
|
21204
|
+
!input.headEventId &&
|
|
21205
|
+
tokenAuthority === 'gateway' &&
|
|
21206
|
+
input.dispatchLaunch?.runId === targetRunId &&
|
|
21207
|
+
usableRunLedgerExecutorToken(input.dispatchLaunch, reuseMarginMs, options)
|
|
21208
|
+
?.runLedgerIngressPrefixBatching === true
|
|
21209
|
+
? input.dispatchLaunch
|
|
21210
|
+
: null;
|
|
21163
21211
|
const selected =
|
|
21164
21212
|
selectedFastRun ??
|
|
21165
|
-
(
|
|
21166
|
-
?
|
|
21167
|
-
|
|
21168
|
-
|
|
21169
|
-
|
|
21170
|
-
|
|
21171
|
-
|
|
21213
|
+
(producerLaunch
|
|
21214
|
+
? {
|
|
21215
|
+
rows: [
|
|
21216
|
+
{
|
|
21217
|
+
run_id: producerLaunch.runId,
|
|
21218
|
+
dispatch_launch_json: producerLaunch,
|
|
21219
|
+
transport_head: undefined,
|
|
21220
|
+
},
|
|
21221
|
+
],
|
|
21222
|
+
}
|
|
21223
|
+
: input.waitForRunLock && targetRunId
|
|
21224
|
+
? await client.query<{
|
|
21225
|
+
run_id: string;
|
|
21226
|
+
dispatch_launch_json: unknown;
|
|
21227
|
+
transport_head?: RunLedgerTransportCandidate | null;
|
|
21228
|
+
}>(
|
|
21229
|
+
`SELECT runs.run_id, ${needsLaunch ? runLedgerDispatchLaunchSql('runs') : 'NULL::jsonb'} AS dispatch_launch_json, ${transportHeadSelection} AS transport_head
|
|
21172
21230
|
FROM ${tableName('runs', options)} AS runs WHERE runs.run_id = $1`,
|
|
21173
|
-
|
|
21174
|
-
|
|
21175
|
-
|
|
21231
|
+
[targetRunId],
|
|
21232
|
+
)
|
|
21233
|
+
: await selectRunForClaim(client, targetRunId));
|
|
21176
21234
|
const runId = selected.rows[0]?.run_id;
|
|
21177
21235
|
if (!runId)
|
|
21178
21236
|
return {
|
|
@@ -21201,6 +21259,7 @@ async function dispatchRunLedgerOutboxBatchWithScope(
|
|
|
21201
21259
|
!input.headEventId && ingressPrefixClaimed
|
|
21202
21260
|
? (selected.rows[0]?.transport_head ?? undefined)
|
|
21203
21261
|
: undefined,
|
|
21262
|
+
discoverTransportHead: producerLaunch !== null && ingressPrefixClaimed,
|
|
21204
21263
|
recoverTransportDelivery: claimInvocations > 1,
|
|
21205
21264
|
},
|
|
21206
21265
|
options,
|
|
@@ -1403,7 +1403,12 @@ export type PlayAuthoringFetchResponse = {
|
|
|
1403
1403
|
/** Full response body as text, with any known secret values redacted. */
|
|
1404
1404
|
bodyText: string;
|
|
1405
1405
|
/**
|
|
1406
|
-
* The
|
|
1406
|
+
* The runtime parses the body at request time.
|
|
1407
|
+
* Read the property with `const body = res.json`. Do not call `await res.json()`.
|
|
1408
|
+
* The value is null when the body is empty or is not valid JSON.
|
|
1409
|
+
* Malformed JSON produces null instead of an error.
|
|
1410
|
+
*
|
|
1411
|
+
* Check `res.ok`. Check `res.bodyText` before you interpret null as an empty response.
|
|
1407
1412
|
*/
|
|
1408
1413
|
json: unknown | null;
|
|
1409
1414
|
};
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
var _chunkIY6GKJ4Ojs = require('./chunk-IY6GKJ4O.js');
|
|
17
|
+
require('./chunk-D2ZRMZKF.js');
|
|
18
|
+
require('./chunk-THHM4DPE.js');
|
|
19
|
+
require('./chunk-Q2E4E4FJ.js');
|
|
20
|
+
require('./chunk-XNYIZMNQ.js');
|
|
21
|
+
require('./chunk-7P5AA3SN.js');
|
|
22
|
+
require('./chunk-7LKYHZVB.js');
|
|
23
|
+
require('./chunk-OG64RBAC.js');
|
|
24
|
+
require('./chunk-COGTRVWW.js');
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
exports.EXIT_WORKSPACE_MISMATCH = _chunkIY6GKJ4Ojs.EXIT_WORKSPACE_MISMATCH; exports.authStatusLine = _chunkIY6GKJ4Ojs.authStatusLine; exports.clearPendingClaim = _chunkIY6GKJ4Ojs.clearPendingClaim; exports.clearSatisfiedPendingClaim = _chunkIY6GKJ4Ojs.clearSatisfiedPendingClaim; exports.handleRegister = _chunkIY6GKJ4Ojs.handleRegister; exports.handleStatus = _chunkIY6GKJ4Ojs.handleStatus; exports.handleWait = _chunkIY6GKJ4Ojs.handleWait; exports.httpJson = _chunkIY6GKJ4Ojs.httpJson; exports.readPendingAuthClaim = _chunkIY6GKJ4Ojs.readPendingAuthClaim; exports.readStatusBanner = _chunkIY6GKJ4Ojs.readStatusBanner; exports.registerAuthCommands = _chunkIY6GKJ4Ojs.registerAuthCommands; exports.reportSetupCompleted = _chunkIY6GKJ4Ojs.reportSetupCompleted; exports.resolvePendingAuthClaimForResume = _chunkIY6GKJ4Ojs.resolvePendingAuthClaimForResume; exports.statusBannerLine = _chunkIY6GKJ4Ojs.statusBannerLine;
|
|
@@ -13,13 +13,13 @@ import {
|
|
|
13
13
|
reportSetupCompleted,
|
|
14
14
|
resolvePendingAuthClaimForResume,
|
|
15
15
|
statusBannerLine
|
|
16
|
-
} from "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
16
|
+
} from "./chunk-UFFSOV6I.mjs";
|
|
17
|
+
import "./chunk-BKC6VMYZ.mjs";
|
|
18
|
+
import "./chunk-ZBCTXQ3P.mjs";
|
|
19
19
|
import "./chunk-YHPYUZZX.mjs";
|
|
20
20
|
import "./chunk-DLIRSHV6.mjs";
|
|
21
21
|
import "./chunk-NXGCO4JB.mjs";
|
|
22
|
-
import "./chunk-
|
|
22
|
+
import "./chunk-UPEOEYZ3.mjs";
|
|
23
23
|
import "./chunk-WZYKRD7T.mjs";
|
|
24
24
|
import "./chunk-KRD6H754.mjs";
|
|
25
25
|
export {
|