deepline 0.3.520 → 0.3.521
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/plays/client-core.ts +16 -45
- package/dist/bundling-sources/sdk/src/release.ts +1 -1
- package/dist/bundling-sources/shared_libs/observability/scheduled-jobs.json +0 -18
- package/dist/bundling-sources/shared_libs/play-data-plane/r2.ts +0 -155
- package/dist/bundling-sources/shared_libs/play-runtime/fixture-behavior.ts +24 -0
- package/dist/bundling-sources/shared_libs/play-runtime/internal-bootstrap-token.ts +1 -54
- package/dist/bundling-sources/shared_libs/play-runtime/launch-identity.ts +2 -7
- package/dist/bundling-sources/shared_libs/play-runtime/protocol.ts +0 -13
- package/dist/bundling-sources/shared_libs/play-runtime/run-identity.ts +0 -56
- package/dist/bundling-sources/shared_libs/play-runtime/runner-app/index.ts +10 -21
- package/dist/bundling-sources/shared_libs/play-runtime/runner-app/runtime-heartbeat.ts +1 -1
- package/dist/bundling-sources/shared_libs/play-runtime/runner-app/runtime-progress-push.ts +2 -1
- package/dist/bundling-sources/shared_libs/play-runtime/runner-app/runtime-terminal-push.ts +1 -1
- package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona-lifecycle.ts +2 -37
- package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona-payload-transport.ts +3 -74
- package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona-runtime-watchdog.ts +2 -226
- package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/modal.ts +3 -36
- package/dist/bundling-sources/shared_libs/play-runtime/runtime-api-paths.ts +0 -26
- package/dist/bundling-sources/shared_libs/play-runtime/runtime-api.ts +1 -9
- package/dist/bundling-sources/shared_libs/play-runtime/runtime-authority.ts +0 -5
- package/dist/bundling-sources/shared_libs/play-runtime/runtime-environment.ts +9 -49
- package/dist/bundling-sources/shared_libs/play-runtime/runtime-gateway-oidc.ts +11 -447
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backend.ts +5 -4
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-runtime-worker.ts +12 -207
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-shared.ts +3 -17
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/gateway-progress-registry.ts +0 -9
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres-progress.ts +2 -18
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres.ts +15 -175
- package/dist/bundling-sources/shared_libs/play-runtime/workflow-executor-auth.ts +0 -4
- package/dist/cli/{artifacts-4DSPSIU5.js → artifacts-JGH464N2.js} +20 -20
- package/dist/cli/{artifacts-D6PU7SBC.mjs → artifacts-TYPU37IU.mjs} +8 -8
- package/dist/cli/auth-JWR3VSNT.js +43 -0
- package/dist/cli/{auth-MXKNPUXW.mjs → auth-XPQT6NUB.mjs} +5 -5
- package/dist/cli/{billing-SQ26NKGH.mjs → billing-47AMHOMP.mjs} +8 -8
- package/dist/cli/{billing-WEYCNJIR.js → billing-6D4KXBFJ.js} +81 -81
- package/dist/cli/{chunk-TQTQ3YYA.mjs → chunk-2DQPB5HT.mjs} +5 -5
- package/dist/cli/{chunk-6Y3DDRRN.js → chunk-2KHUFWTK.js} +3 -3
- package/dist/cli/{chunk-2BJILUE3.js → chunk-3Q7HEEH2.js} +10 -10
- package/dist/cli/{chunk-NWSKBWQM.mjs → chunk-4DB6JV7X.mjs} +2 -2
- package/dist/cli/{chunk-M6YHS5V7.mjs → chunk-4GGXAYKI.mjs} +3 -3
- package/dist/cli/{chunk-V6BUWQBI.mjs → chunk-4I7I5CGB.mjs} +1 -1
- package/dist/cli/{chunk-ORAWUIMN.js → chunk-4MN65FRF.js} +53 -53
- package/dist/cli/{chunk-U5646OVV.mjs → chunk-4MONKWYE.mjs} +5 -5
- package/dist/cli/{chunk-KKSMHTQO.mjs → chunk-5T7QKHQL.mjs} +1 -1
- package/dist/cli/{chunk-XXDY7K7F.js → chunk-6DCBTJZP.js} +3 -3
- package/dist/cli/{chunk-LUIPBI6P.js → chunk-6N72GHAV.js} +2 -2
- package/dist/cli/{chunk-ASGGZ6BI.mjs → chunk-6UHYXNCP.mjs} +2 -2
- package/dist/cli/{chunk-YVQLXMJU.mjs → chunk-6V2RI3AL.mjs} +3 -3
- package/dist/cli/{chunk-6GI7BYSL.mjs → chunk-7AUXX6M5.mjs} +1 -1
- package/dist/cli/{chunk-6T2LB43P.mjs → chunk-7IYDCHTG.mjs} +2 -2
- package/dist/cli/{chunk-NNUJQ5O2.mjs → chunk-7LRALARF.mjs} +1 -1
- package/dist/cli/{chunk-5TEXJM6F.mjs → chunk-A2B5AAU3.mjs} +11 -11
- package/dist/cli/{chunk-NLIO6QLP.mjs → chunk-A6USUS4L.mjs} +2 -2
- package/dist/cli/{chunk-3YHS4BLB.js → chunk-AMVKLEPH.js} +2 -2
- package/dist/cli/{chunk-YP3G2CP6.mjs → chunk-CBBCUYIN.mjs} +2 -2
- package/dist/cli/{chunk-QQGRQRCS.mjs → chunk-DQURY3WH.mjs} +1 -1
- package/dist/cli/{chunk-7VJKHJY7.js → chunk-DY6634MN.js} +14 -14
- package/dist/cli/{chunk-XU57CH42.mjs → chunk-E4ZS2B2J.mjs} +1 -1
- package/dist/cli/{chunk-UA4MXESL.js → chunk-EILHJRPW.js} +3 -3
- package/dist/cli/{chunk-AM7HMWNA.js → chunk-EW3EAEWZ.js} +5 -5
- package/dist/cli/{chunk-NPRSGUHB.mjs → chunk-EZNZDOAG.mjs} +5 -5
- package/dist/cli/{chunk-HT675XNR.mjs → chunk-FKD3KL5Q.mjs} +1 -1
- package/dist/cli/{chunk-SHB2BNI6.mjs → chunk-FQJFONFT.mjs} +37 -90
- package/dist/cli/{chunk-FWGTBR3W.js → chunk-FTZX4QZN.js} +2 -2
- package/dist/cli/{chunk-5ECMRQCL.js → chunk-GNYSODBR.js} +1 -1
- package/dist/cli/{chunk-Y5QYWFRI.js → chunk-HD3KYCDC.js} +7 -7
- package/dist/cli/{chunk-6VY2SJ6B.mjs → chunk-HHBJJYKL.mjs} +5 -5
- package/dist/cli/{chunk-DQQ6FDE6.mjs → chunk-HRWVEIAX.mjs} +1 -1
- package/dist/cli/{chunk-BHAP6FIZ.js → chunk-HSFLMTED.js} +4 -4
- package/dist/cli/{chunk-KTAOVRXT.js → chunk-JFQJNYTB.js} +16 -16
- package/dist/cli/{chunk-JO2MQ6XR.js → chunk-LGU2NIOT.js} +98 -98
- package/dist/cli/{chunk-QSWPDYOP.mjs → chunk-LNBMEFOI.mjs} +4 -4
- package/dist/cli/{chunk-GVTHFDKN.js → chunk-MD43YAL6.js} +6 -6
- package/dist/cli/{chunk-AVW2LKRF.js → chunk-MRU4N33M.js} +6 -6
- package/dist/cli/{chunk-2EDGA7OE.mjs → chunk-NNDAVVBG.mjs} +2 -2
- package/dist/cli/{chunk-4VR5OTYP.js → chunk-PUKWFJXW.js} +44 -44
- package/dist/cli/{chunk-VSPNBBRT.js → chunk-QGTWGHYD.js} +66 -119
- package/dist/cli/{chunk-A5VR463F.mjs → chunk-TBIWR7M2.mjs} +1 -1
- package/dist/cli/{chunk-I4GBCKBL.js → chunk-UAZKOH3J.js} +5 -5
- package/dist/cli/{chunk-BMCRTI6Z.mjs → chunk-UBKA33KY.mjs} +1 -22
- package/dist/cli/{chunk-6XJA23MZ.js → chunk-ULW2KBKL.js} +26 -26
- package/dist/cli/{chunk-D5VTWJ7K.js → chunk-VSH3AE5E.js} +16 -16
- package/dist/cli/{chunk-74MOIEDC.js → chunk-VYY5V4M5.js} +11 -11
- package/dist/cli/{chunk-YHHLLONU.js → chunk-WL6WPW6X.js} +14 -14
- package/dist/cli/{chunk-WSGXBROE.js → chunk-XDVT3GOM.js} +1 -22
- package/dist/cli/{chunk-7QAX5VBT.js → chunk-Y23TOHNV.js} +41 -41
- package/dist/cli/{chunk-VSLU4JZV.mjs → chunk-Y7IR4LBU.mjs} +3 -3
- package/dist/cli/{chunk-LYIJ3YUP.js → chunk-YROP3H6T.js} +22 -22
- package/dist/cli/{chunk-KCISDDNK.mjs → chunk-ZO2XJVFH.mjs} +6 -6
- package/dist/cli/{csv-VJNR6FOZ.js → csv-5TM2OSYP.js} +13 -13
- package/dist/cli/{csv-T7HIELZ2.mjs → csv-PM3WDXDF.mjs} +4 -4
- package/dist/cli/{db-JF2I54V7.js → db-3LJ32FZM.js} +29 -29
- package/dist/cli/{db-OE2EXZXL.mjs → db-5P72NPRL.mjs} +8 -8
- package/dist/cli/describe-GRS3IRSX.js +50 -0
- package/dist/cli/{describe-HXZZC3LC.mjs → describe-ZLCMBGHG.mjs} +20 -20
- package/dist/cli/describe-core.d.mts +2 -2
- package/dist/cli/describe-core.d.ts +2 -2
- package/dist/cli/{executions-UQ2H6MJZ.js → executions-4AJ5TQVY.js} +10 -10
- package/dist/cli/{executions-4BXRIJFF.mjs → executions-JMFL6AV7.mjs} +8 -8
- package/dist/cli/{feedback-TXF5CQKA.mjs → feedback-DKMG2QB7.mjs} +5 -5
- package/dist/cli/{feedback-MKFN7DYY.js → feedback-I2BLXMGH.js} +10 -10
- package/dist/cli/git-2LNT43A2.js +25 -0
- package/dist/cli/{git-MG3NAV65.mjs → git-ARG223MY.mjs} +5 -5
- package/dist/cli/index.js +141 -141
- package/dist/cli/index.mjs +43 -43
- package/dist/cli/{legacy-noops-XSDY46XD.mjs → legacy-noops-24LOAOZN.mjs} +6 -6
- package/dist/cli/{legacy-noops-R76I2OWW.js → legacy-noops-N7SVA7PL.js} +9 -9
- package/dist/cli/{monitors-NVT5YQKV.mjs → monitors-RYQFWM2T.mjs} +9 -9
- package/dist/cli/{monitors-FS3DIDM7.js → monitors-XNCYLOJM.js} +102 -102
- package/dist/cli/{org-SBI6FC6D.js → org-I33TKZXF.js} +74 -74
- package/dist/cli/{org-XU7JONWS.mjs → org-ORIH56E5.mjs} +8 -8
- package/dist/cli/{pages-2CZFJJV6.js → pages-2UXXGIMF.js} +20 -20
- package/dist/cli/{pages-AFB5DVBR.mjs → pages-ME43HSBL.mjs} +8 -8
- package/dist/cli/{play-WZH72UGC.js → play-F4QOFU37.js} +338 -338
- package/dist/cli/{play-EQEIT5S4.mjs → play-XEKNY46M.mjs} +21 -21
- package/dist/cli/{providers-SHSVUQA3.js → providers-E7DPCBNX.js} +11 -11
- package/dist/cli/{providers-3VXTATHF.mjs → providers-XKU44G74.mjs} +8 -8
- package/dist/cli/{quickstart-KPVPK3VL.js → quickstart-ICLF2F6A.js} +6 -6
- package/dist/cli/{quickstart-45YS4SOD.mjs → quickstart-J7NVEXV5.mjs} +4 -4
- package/dist/cli/{run-U5RWBX5J.js → run-HJMHUQBN.js} +43 -43
- package/dist/cli/{run-XEHRZT57.mjs → run-MQ5ZONGL.mjs} +25 -25
- package/dist/cli/run-identity-G257GQED.js +25 -0
- package/dist/cli/{run-identity-MNRZS2N3.mjs → run-identity-MRNCEGV2.mjs} +3 -9
- package/dist/cli/{search-V7XIWBQ2.mjs → search-GGRC77CV.mjs} +10 -10
- package/dist/cli/search-V6IBJ4TX.js +33 -0
- package/dist/cli/{search-output-ZNIICV5Z.js → search-output-MXZTZI2P.js} +6 -6
- package/dist/cli/{search-output-3KAJUV2A.mjs → search-output-NY4GDBRU.mjs} +4 -4
- package/dist/cli/{secrets-SCSG3QXJ.mjs → secrets-FA37G4Q2.mjs} +8 -8
- package/dist/cli/{secrets-53TUV6JK.js → secrets-PFESG72B.js} +17 -17
- package/dist/cli/{sessions-MCTHLLK3.mjs → sessions-BLLXPETU.mjs} +6 -6
- package/dist/cli/sessions-DNFTQOQH.js +18 -0
- package/dist/cli/{settings-ZNOXOIX2.js → settings-32VPG4Z2.js} +88 -88
- package/dist/cli/{settings-Q2HKACSE.mjs → settings-U26S7MPH.mjs} +15 -15
- package/dist/cli/{setup-WKM35SZJ.mjs → setup-4AXBCX7C.mjs} +10 -10
- package/dist/cli/{setup-GO4EULLY.js → setup-R6NSENH7.js} +50 -50
- package/dist/cli/skills-G4ZE3OS5.js +37 -0
- package/dist/cli/{skills-DZZLW6OV.mjs → skills-JUH7AVUL.mjs} +8 -8
- package/dist/cli/tools-27LHZFJD.js +57 -0
- package/dist/cli/{tools-EKVSK6X4.mjs → tools-FOYLU3FH.mjs} +19 -19
- package/dist/cli/{update-FPHYVHSC.mjs → update-FUVX22VM.mjs} +10 -10
- package/dist/cli/update-KNZ7N242.js +35 -0
- package/dist/cli/{workflow-27H3NCNY.js → workflow-JACZW4GJ.js} +19 -19
- package/dist/cli/{workflow-5YAZK5EI.mjs → workflow-QLT22BLT.mjs} +9 -9
- package/dist/{client-DhEOE19l.d.ts → client-B-2Am2y6.d.ts} +1 -1
- package/dist/{client-lJmz2QwF.d.mts → client-DA71-2_u.d.mts} +1 -1
- package/dist/{client-core-BGiSMrBD.d.mts → client-core-BXbds1cb.d.mts} +0 -19
- package/dist/{client-core-DYCGaRBZ.d.ts → client-core-C0IzDKMJ.d.ts} +0 -19
- package/dist/index.d.mts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +19 -19
- package/dist/index.mjs +8 -8
- package/dist/install-integrity.json +114 -122
- package/dist/plays/play-description.d.mts +1 -1
- package/dist/plays/play-description.d.ts +1 -1
- package/dist/plays/run-request.d.mts +1 -1
- package/dist/plays/run-request.d.ts +1 -1
- package/dist/plays/run-request.js +3 -3
- package/dist/plays/run-request.mjs +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/dist/server.d.mts +2 -2
- package/dist/server.d.ts +2 -2
- package/dist/server.js +7 -7
- package/dist/server.mjs +5 -5
- package/package.json +1 -1
- package/dist/bundling-sources/shared_libs/play-runtime/runtime-app-transport.ts +0 -374
- package/dist/bundling-sources/shared_libs/play-runtime/runtime-gateway-egress.ts +0 -55
- package/dist/bundling-sources/shared_libs/play-runtime/runtime-gateway-profile.ts +0 -329
- package/dist/bundling-sources/shared_libs/play-runtime/runtime-gateway-sandbox-credential.ts +0 -338
- package/dist/bundling-sources/shared_libs/play-runtime/runtime-gateway-staging.ts +0 -417
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runtime-gateway-attempt.ts +0 -81
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runtime-gateway-staging-journal.ts +0 -708
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runtime-gateway-staging-teardown.ts +0 -160
- package/dist/cli/auth-TH4JV6BH.js +0 -43
- package/dist/cli/describe-4FLGKRCA.js +0 -50
- package/dist/cli/git-B2QO3SLK.js +0 -25
- package/dist/cli/run-identity-HFYABUJS.js +0 -31
- package/dist/cli/search-Z2V43OPM.js +0 -33
- package/dist/cli/sessions-BOJCVLR7.js +0 -18
- package/dist/cli/skills-B4BAH2B2.js +0 -37
- package/dist/cli/tools-Z5NCKIAB.js +0 -57
- package/dist/cli/update-XCL7F5T6.js +0 -35
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { PLATFORM_RECOVERY_ACTIVITY_ID } from '../activity-observation';
|
|
2
2
|
import { readPrebuiltResultQuality } from '../prebuilt-result-quality';
|
|
3
|
-
import { resolveRuntimeAppTransport } from '../runtime-app-transport';
|
|
4
3
|
import {
|
|
5
4
|
terminalRuntimePerformanceFromStats,
|
|
6
5
|
normalizeTerminalRuntimePerformance,
|
|
@@ -14,10 +13,6 @@ import {
|
|
|
14
13
|
runEndingEventId,
|
|
15
14
|
} from '../run-ending-event';
|
|
16
15
|
import { escapeLiteral } from 'pg';
|
|
17
|
-
import { readRuntimeGatewayLaunchPin } from '../runtime-gateway-profile';
|
|
18
|
-
import { RUNTIME_GATEWAY_OIDC_MAX_AGE_SECONDS } from '../runtime-gateway-oidc';
|
|
19
|
-
import { runtimeGatewayCredentialScopeFromPin } from '../runtime-gateway-sandbox-credential';
|
|
20
|
-
import { ensureRuntimeGatewayStagingSchema } from './runtime-gateway-staging-journal';
|
|
21
16
|
import { assertWorkReceiptKeyMutable } from '../work-receipt-storage-contract';
|
|
22
17
|
import {
|
|
23
18
|
schedulerWorkReceiptClaimTransition,
|
|
@@ -2477,8 +2472,6 @@ export async function ensurePostgresSchedulerOnlineAdditiveExpansion(
|
|
|
2477
2472
|
client,
|
|
2478
2473
|
options,
|
|
2479
2474
|
);
|
|
2480
|
-
// A separate table that no shape check, marker, or admission path reads.
|
|
2481
|
-
await ensureRuntimeGatewayStagingSchema(client, { schema });
|
|
2482
2475
|
}
|
|
2483
2476
|
|
|
2484
2477
|
/** Deployment-owned v64 expansion; absent values retain legacy behavior. */
|
|
@@ -3818,9 +3811,6 @@ export async function ensurePostgresSchedulerSchema(
|
|
|
3818
3811
|
// not prove that every receipt/execution gateway can decode canonical IO
|
|
3819
3812
|
// rows. Convex owns the source record; this is its local gateway mirror.
|
|
3820
3813
|
await ensurePostgresSchedulerGatewayReaderFenceSchema(client, options);
|
|
3821
|
-
// App-hosted gateway staged-body custody. Not part of the scheduler
|
|
3822
|
-
// shape: readiness and admission never read it.
|
|
3823
|
-
await ensureRuntimeGatewayStagingSchema(client, { schema });
|
|
3824
3814
|
await client.query(`
|
|
3825
3815
|
CREATE INDEX IF NOT EXISTS ${quoteIdent(
|
|
3826
3816
|
`${schema}_integration_invocation_state_updated_idx`,
|
|
@@ -11017,13 +11007,6 @@ const POSTGRES_SCHEDULER_ATTEMPT_AUTHORITY_FIELDS = [
|
|
|
11017
11007
|
'runtimeAuthority',
|
|
11018
11008
|
// Minted onto the attempt token so the gateway scopes operation fences.
|
|
11019
11009
|
'resumeEpoch',
|
|
11020
|
-
// Optional Runtime gateway pin; null on unpinned launches. The executor-token
|
|
11021
|
-
// issuer reads it to require the reader flag and add the pinned claims.
|
|
11022
|
-
'runtimeGatewayProfileId',
|
|
11023
|
-
'runtimeReceiptGatewayBaseUrl',
|
|
11024
|
-
'runtimeExecutionGatewayBaseUrl',
|
|
11025
|
-
'runtimeGatewayDeploymentId',
|
|
11026
|
-
'runtimeGatewayPinnedAtMs',
|
|
11027
11010
|
] as const;
|
|
11028
11011
|
|
|
11029
11012
|
export type PostgresSchedulerAttemptAuthority = Pick<
|
|
@@ -11102,120 +11085,6 @@ export async function readPostgresSchedulerAttemptAuthorityForLease(
|
|
|
11102
11085
|
return parsePostgresSchedulerAuthorityRow(result.rows[0]);
|
|
11103
11086
|
}
|
|
11104
11087
|
|
|
11105
|
-
/**
|
|
11106
|
-
* Why a renewal fence refused. Only `attempt_not_live` can clear by itself
|
|
11107
|
-
* (a stale heartbeat while the runner catches up after a network cut); every
|
|
11108
|
-
* other reason is definitive and the sandbox stops at once.
|
|
11109
|
-
*/
|
|
11110
|
-
export type RuntimeGatewayOidcRenewalRefusal =
|
|
11111
|
-
| 'attempt_not_found'
|
|
11112
|
-
| 'lease_mismatch'
|
|
11113
|
-
| 'scope_mismatch'
|
|
11114
|
-
| 'attempt_cancelled'
|
|
11115
|
-
| 'attempt_superseded'
|
|
11116
|
-
| 'attempt_not_live';
|
|
11117
|
-
|
|
11118
|
-
export type RuntimeGatewayOidcRenewalFence =
|
|
11119
|
-
| { allowed: true }
|
|
11120
|
-
| { allowed: false; reason: RuntimeGatewayOidcRenewalRefusal };
|
|
11121
|
-
|
|
11122
|
-
/**
|
|
11123
|
-
* Renewal fence for a sandbox's Runtime gateway OIDC credential. A sandbox may
|
|
11124
|
-
* renew only while its exact attempt still holds the live lease of a run
|
|
11125
|
-
* pinned to `deploymentId`: the attempt is current (no successor) and no
|
|
11126
|
-
* cancellation is recorded. Liveness is then proven per phase:
|
|
11127
|
-
*
|
|
11128
|
-
* - Detached: the run's `detached_runner` suspension names this attempt, the
|
|
11129
|
-
* detached wait has not passed its deadline, and the runner heartbeat is
|
|
11130
|
-
* fresh.
|
|
11131
|
-
* - Starting (before the worker persists the detach): the run is `running`
|
|
11132
|
-
* with no suspension, and the attempt's claim or runner heartbeat is younger
|
|
11133
|
-
* than one credential lifetime. The worker minted the first credential when
|
|
11134
|
-
* it claimed the attempt, so sandbox create and upload may outlast the
|
|
11135
|
-
* renewal threshold; a start that outlives a whole credential lifetime has
|
|
11136
|
-
* no live credential left to renew.
|
|
11137
|
-
*
|
|
11138
|
-
* A refusal names its reason, checked in this order: no such attempt, wrong
|
|
11139
|
-
* lease, wrong org or deployment (including an unpinned run), cancelled,
|
|
11140
|
-
* superseded, and otherwise not live. One statement reads all of them.
|
|
11141
|
-
*/
|
|
11142
|
-
export async function canRenewPostgresDetachedRunnerIdentity(
|
|
11143
|
-
client: PostgresSchedulerQueryClient,
|
|
11144
|
-
input: {
|
|
11145
|
-
runId: string;
|
|
11146
|
-
attempt: number;
|
|
11147
|
-
leaseToken: string;
|
|
11148
|
-
orgId: string;
|
|
11149
|
-
deploymentId: string;
|
|
11150
|
-
},
|
|
11151
|
-
options?: Pick<PostgresSchedulerOptions, 'schema'>,
|
|
11152
|
-
): Promise<RuntimeGatewayOidcRenewalFence> {
|
|
11153
|
-
const result = await client.query<{
|
|
11154
|
-
lease_matches: boolean;
|
|
11155
|
-
scope_matches: boolean;
|
|
11156
|
-
cancelled: boolean;
|
|
11157
|
-
superseded: boolean;
|
|
11158
|
-
live: boolean;
|
|
11159
|
-
}>(
|
|
11160
|
-
`
|
|
11161
|
-
SELECT
|
|
11162
|
-
coalesce(attempt.lease_token = $3, false) AS lease_matches,
|
|
11163
|
-
coalesce(
|
|
11164
|
-
run.org_id = $4
|
|
11165
|
-
AND coalesce(run.admission_json, run.launch_json)->>'runtimeGatewayDeploymentId' = $5,
|
|
11166
|
-
false
|
|
11167
|
-
) AS scope_matches,
|
|
11168
|
-
(
|
|
11169
|
-
run.status = 'cancelled'
|
|
11170
|
-
OR EXISTS (
|
|
11171
|
-
SELECT 1 FROM ${tableName('control', options)} AS cancellation
|
|
11172
|
-
WHERE cancellation.key = 'runtime_cancel:' || $1
|
|
11173
|
-
)
|
|
11174
|
-
) AS cancelled,
|
|
11175
|
-
EXISTS (
|
|
11176
|
-
SELECT 1 FROM ${tableName('attempts', options)} AS successor
|
|
11177
|
-
WHERE successor.run_id = attempt.run_id AND successor.attempt > attempt.attempt
|
|
11178
|
-
) AS superseded,
|
|
11179
|
-
coalesce(
|
|
11180
|
-
(
|
|
11181
|
-
run.status IN ('running', 'waiting')
|
|
11182
|
-
AND attempt.status IN ('running', 'waiting')
|
|
11183
|
-
AND run.suspension_json->>'kind' = 'detached_runner'
|
|
11184
|
-
AND run.suspension_json->'runnerAttempt' = to_jsonb($2::integer)
|
|
11185
|
-
AND run.wait_deadline > clock_timestamp()
|
|
11186
|
-
AND attempt.heartbeat_at > clock_timestamp() - interval '120 seconds'
|
|
11187
|
-
)
|
|
11188
|
-
OR (
|
|
11189
|
-
run.status = 'running'
|
|
11190
|
-
AND attempt.status IN ('claimed', 'running')
|
|
11191
|
-
AND (run.suspension_json IS NULL OR jsonb_typeof(run.suspension_json) = 'null')
|
|
11192
|
-
AND attempt.heartbeat_at > clock_timestamp() - make_interval(secs => $6::integer)
|
|
11193
|
-
),
|
|
11194
|
-
false
|
|
11195
|
-
) AS live
|
|
11196
|
-
FROM ${tableName('runs', options)} AS run
|
|
11197
|
-
JOIN ${tableName('attempts', options)} AS attempt USING (run_id)
|
|
11198
|
-
WHERE run.run_id = $1 AND attempt.attempt = $2
|
|
11199
|
-
`,
|
|
11200
|
-
[
|
|
11201
|
-
input.runId,
|
|
11202
|
-
input.attempt,
|
|
11203
|
-
input.leaseToken,
|
|
11204
|
-
input.orgId,
|
|
11205
|
-
input.deploymentId,
|
|
11206
|
-
RUNTIME_GATEWAY_OIDC_MAX_AGE_SECONDS,
|
|
11207
|
-
],
|
|
11208
|
-
);
|
|
11209
|
-
const row = result.rows[0];
|
|
11210
|
-
if (!row) return { allowed: false, reason: 'attempt_not_found' };
|
|
11211
|
-
if (!row.lease_matches) return { allowed: false, reason: 'lease_mismatch' };
|
|
11212
|
-
if (!row.scope_matches) return { allowed: false, reason: 'scope_mismatch' };
|
|
11213
|
-
if (row.cancelled) return { allowed: false, reason: 'attempt_cancelled' };
|
|
11214
|
-
if (row.superseded) return { allowed: false, reason: 'attempt_superseded' };
|
|
11215
|
-
if (!row.live) return { allowed: false, reason: 'attempt_not_live' };
|
|
11216
|
-
return { allowed: true };
|
|
11217
|
-
}
|
|
11218
|
-
|
|
11219
11088
|
/**
|
|
11220
11089
|
* Absurd scheduler backend: persist the vendored engine's task id on the run
|
|
11221
11090
|
* row after `spawn`. Idempotent (last write wins); a re-submit under the same
|
|
@@ -17661,7 +17530,13 @@ export async function finalizePostgresSchedulerComputeBilling(
|
|
|
17661
17530
|
runtimeResources: readonly unknown[],
|
|
17662
17531
|
runtimeApiOverride?: WorkerRuntimeApiContext,
|
|
17663
17532
|
): Promise<void> {
|
|
17664
|
-
const runtimeApi =
|
|
17533
|
+
const runtimeApi =
|
|
17534
|
+
runtimeApiOverride ??
|
|
17535
|
+
({
|
|
17536
|
+
baseUrl: runtimeApiBaseUrlFromLaunch(launch),
|
|
17537
|
+
executorToken: launch.executorToken,
|
|
17538
|
+
vercelProtectionBypassToken: launch.vercelProtectionBypassToken ?? null,
|
|
17539
|
+
} satisfies WorkerRuntimeApiContext);
|
|
17665
17540
|
const ordinaryResources = runtimeResources.filter(
|
|
17666
17541
|
(resource) =>
|
|
17667
17542
|
!(
|
|
@@ -18587,16 +18462,11 @@ export function buildPostgresSchedulerRunnerContext(
|
|
|
18587
18462
|
launch.vercelProtectionBypassToken?.trim() ||
|
|
18588
18463
|
process.env.VERCEL_PROTECTION_BYPASS_TOKEN?.trim() ||
|
|
18589
18464
|
null;
|
|
18590
|
-
|
|
18591
|
-
|
|
18592
|
-
const
|
|
18593
|
-
|
|
18594
|
-
|
|
18595
|
-
: process.env.DEEPLINE_RUNTIME_RECEIPT_GATEWAY_URL?.trim() || null;
|
|
18596
|
-
const executionGatewayBaseUrl = gatewayPin
|
|
18597
|
-
? gatewayPin.executionGatewayBaseUrl
|
|
18598
|
-
: process.env.DEEPLINE_RUNTIME_EXECUTION_GATEWAY_URL?.trim() ||
|
|
18599
|
-
receiptGatewayBaseUrl;
|
|
18465
|
+
const receiptGatewayBaseUrl =
|
|
18466
|
+
process.env.DEEPLINE_RUNTIME_RECEIPT_GATEWAY_URL?.trim() || null;
|
|
18467
|
+
const executionGatewayBaseUrl =
|
|
18468
|
+
process.env.DEEPLINE_RUNTIME_EXECUTION_GATEWAY_URL?.trim() ||
|
|
18469
|
+
receiptGatewayBaseUrl;
|
|
18600
18470
|
const asyncAncestryPlayIds = launch.asyncAncestryPlayIds?.map((playId) =>
|
|
18601
18471
|
playId.trim(),
|
|
18602
18472
|
);
|
|
@@ -18618,14 +18488,6 @@ export function buildPostgresSchedulerRunnerContext(
|
|
|
18618
18488
|
baseUrl: runtimeApiBaseUrlFromLaunch(launch),
|
|
18619
18489
|
executionGatewayBaseUrl,
|
|
18620
18490
|
receiptGatewayBaseUrl,
|
|
18621
|
-
...(gatewayPin
|
|
18622
|
-
? {
|
|
18623
|
-
runtimeGatewayProfileId: gatewayPin.profile.id,
|
|
18624
|
-
runtimeGatewayDeploymentId: gatewayPin.deploymentId,
|
|
18625
|
-
runtimeGatewayCredentialScope:
|
|
18626
|
-
runtimeGatewayCredentialScopeFromPin(gatewayPin),
|
|
18627
|
-
}
|
|
18628
|
-
: {}),
|
|
18629
18491
|
vercelProtectionBypassToken,
|
|
18630
18492
|
runtimeTestFaultHeader: launch.runtimeTestFaultHeader ?? null,
|
|
18631
18493
|
preferredReceiptGatewayMachineId:
|
|
@@ -20831,26 +20693,10 @@ export async function loadPostgresSchedulerStoredArtifact(
|
|
|
20831
20693
|
function runtimeApiContextFromLaunch(
|
|
20832
20694
|
launch: PlaySchedulerSubmitInput,
|
|
20833
20695
|
): WorkerRuntimeApiContext {
|
|
20834
|
-
return absurdDirectRuntimeApi(launch);
|
|
20835
|
-
}
|
|
20836
|
-
|
|
20837
|
-
/**
|
|
20838
|
-
* The launch's primary token on the owner's direct transport: the app at the
|
|
20839
|
-
* launch's runtime API origin. A gateway-pinned token is refused loudly here
|
|
20840
|
-
* (`runtime_gateway_transport_unpinned`) instead of drawing a 403.
|
|
20841
|
-
*/
|
|
20842
|
-
function absurdDirectRuntimeApi(
|
|
20843
|
-
launch: PlaySchedulerSubmitInput,
|
|
20844
|
-
): WorkerRuntimeApiContext {
|
|
20845
|
-
const transport = resolveRuntimeAppTransport({
|
|
20846
|
-
caller: 'direct',
|
|
20847
|
-
launch,
|
|
20848
|
-
executorToken: launch.executorToken,
|
|
20849
|
-
});
|
|
20850
20696
|
return {
|
|
20851
|
-
baseUrl:
|
|
20697
|
+
baseUrl: runtimeApiBaseUrlFromLaunch(launch),
|
|
20852
20698
|
executorToken: launch.executorToken,
|
|
20853
|
-
vercelProtectionBypassToken:
|
|
20699
|
+
vercelProtectionBypassToken: launch.vercelProtectionBypassToken ?? null,
|
|
20854
20700
|
};
|
|
20855
20701
|
}
|
|
20856
20702
|
|
|
@@ -27973,14 +27819,8 @@ export async function requestComputeBillingDispatchToken(input: {
|
|
|
27973
27819
|
'Compute billing recovery requires an immutable Deepline token issuer.',
|
|
27974
27820
|
);
|
|
27975
27821
|
}
|
|
27976
|
-
// Signed with the internal token, which is never pinned.
|
|
27977
27822
|
const issuerOrigin =
|
|
27978
|
-
input.tokenIssuerOrigin ??
|
|
27979
|
-
resolveRuntimeAppTransport({
|
|
27980
|
-
caller: 'direct',
|
|
27981
|
-
launch: input.launch,
|
|
27982
|
-
executorToken: internalToken,
|
|
27983
|
-
}).baseUrl;
|
|
27823
|
+
input.tokenIssuerOrigin ?? runtimeApiBaseUrlFromLaunch(input.launch);
|
|
27984
27824
|
const url = `${issuerOrigin.replace(/\/$/, '')}/api/v2/internal/play-runtime/compute-billing-dispatch-token`;
|
|
27985
27825
|
const vercelProtectionHeaders = await vercelProtectionBypassHeaders({
|
|
27986
27826
|
baseUrl: issuerOrigin,
|
|
@@ -120,8 +120,6 @@ export async function mintWorkflowExecutorToken(input: {
|
|
|
120
120
|
terminalContract?: DirectCompletedTerminalContract | null;
|
|
121
121
|
capabilities?: readonly RuntimeExecutionCapability[];
|
|
122
122
|
runtimeOrigin?: string | null;
|
|
123
|
-
runtimeGatewayDeploymentId?: string | null;
|
|
124
|
-
runtimeGatewayProfileId?: string | null;
|
|
125
123
|
runLedgerIngressPrefixOrigin?: string | null;
|
|
126
124
|
}) {
|
|
127
125
|
const playName = input.playName?.trim() || input.workflowId;
|
|
@@ -146,8 +144,6 @@ export async function mintWorkflowExecutorToken(input: {
|
|
|
146
144
|
terminalContract: input.terminalContract,
|
|
147
145
|
capabilities: input.capabilities,
|
|
148
146
|
runtimeOrigin: input.runtimeOrigin,
|
|
149
|
-
runtimeGatewayDeploymentId: input.runtimeGatewayDeploymentId,
|
|
150
|
-
runtimeGatewayProfileId: input.runtimeGatewayProfileId,
|
|
151
147
|
runLedgerIngressPrefixOrigin: input.runLedgerIngressPrefixOrigin,
|
|
152
148
|
});
|
|
153
149
|
}
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('./chunk-
|
|
3
|
+
var _chunkUAZKOH3Jjs = require('./chunk-UAZKOH3J.js');
|
|
4
|
+
require('./chunk-QGTWGHYD.js');
|
|
5
5
|
require('./chunk-E4CABWXL.js');
|
|
6
|
-
require('./chunk-
|
|
6
|
+
require('./chunk-2KHUFWTK.js');
|
|
7
7
|
require('./chunk-NMU3VR5U.js');
|
|
8
|
-
require('./chunk-
|
|
8
|
+
require('./chunk-XDVT3GOM.js');
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
var
|
|
11
|
+
var _chunkHD3KYCDCjs = require('./chunk-HD3KYCDC.js');
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
var
|
|
15
|
-
require('./chunk-
|
|
14
|
+
var _chunkEILHJRPWjs = require('./chunk-EILHJRPW.js');
|
|
15
|
+
require('./chunk-HSFLMTED.js');
|
|
16
16
|
require('./chunk-T2N3B7IQ.js');
|
|
17
17
|
require('./chunk-XNYIZMNQ.js');
|
|
18
18
|
require('./chunk-SQWET4SL.js');
|
|
19
|
-
require('./chunk-
|
|
19
|
+
require('./chunk-GNYSODBR.js');
|
|
20
20
|
require('./chunk-OG64RBAC.js');
|
|
21
21
|
require('./chunk-COGTRVWW.js');
|
|
22
22
|
|
|
@@ -24,7 +24,7 @@ require('./chunk-COGTRVWW.js');
|
|
|
24
24
|
var _promises = require('fs/promises');
|
|
25
25
|
var ARTIFACTS_FEATURE = "artifacts";
|
|
26
26
|
function print(command, json, data, lines) {
|
|
27
|
-
|
|
27
|
+
_chunkHD3KYCDCjs.printCommandEnvelope.call(void 0,
|
|
28
28
|
{ command, ...data, render: { sections: [{ title: command, lines }] } },
|
|
29
29
|
{ json: Boolean(json), text: `${lines.join("\n")}
|
|
30
30
|
` }
|
|
@@ -56,7 +56,7 @@ function artifactLines(artifact) {
|
|
|
56
56
|
];
|
|
57
57
|
}
|
|
58
58
|
function registerArtifactsCommands(program) {
|
|
59
|
-
const artifacts = program.command("artifacts", { hidden: !
|
|
59
|
+
const artifacts = program.command("artifacts", { hidden: !_chunkEILHJRPWjs.cliFeatureEnabled.call(void 0, ARTIFACTS_FEATURE) }).description(
|
|
60
60
|
"Show what a Play returns at a fixed URL on artifacts.deepline.com."
|
|
61
61
|
).addHelpText(
|
|
62
62
|
"after",
|
|
@@ -69,7 +69,7 @@ Examples:
|
|
|
69
69
|
);
|
|
70
70
|
artifacts.command("list").description("List this workspace's artifacts.").option("--cursor <cursor>", "Continue from a previous page of results").option("--limit <n>", "Results per request, up to 100", Number).option("--json", "Emit raw JSON response").action(
|
|
71
71
|
async (options) => run(async () => {
|
|
72
|
-
const result = await new (0,
|
|
72
|
+
const result = await new (0, _chunkUAZKOH3Jjs.DeeplineClient)().listArtifacts({
|
|
73
73
|
cursor: options.cursor,
|
|
74
74
|
limit: options.limit
|
|
75
75
|
});
|
|
@@ -84,7 +84,7 @@ Examples:
|
|
|
84
84
|
);
|
|
85
85
|
artifacts.command("get <id>").description("Show one artifact and what you may do with it.").option("--json", "Emit raw JSON response").action(
|
|
86
86
|
async (id, options) => run(async () => {
|
|
87
|
-
const artifact = await new (0,
|
|
87
|
+
const artifact = await new (0, _chunkUAZKOH3Jjs.DeeplineClient)().getArtifact(id);
|
|
88
88
|
print("artifacts get", options.json, artifact, [
|
|
89
89
|
...artifactLines(artifact),
|
|
90
90
|
` saved input ${JSON.stringify(artifact.input)}`
|
|
@@ -106,7 +106,7 @@ Examples:
|
|
|
106
106
|
`
|
|
107
107
|
).action(
|
|
108
108
|
async (options) => run(async () => {
|
|
109
|
-
const artifact = await new (0,
|
|
109
|
+
const artifact = await new (0, _chunkUAZKOH3Jjs.DeeplineClient)().createArtifact({
|
|
110
110
|
name: options.name,
|
|
111
111
|
play: options.play,
|
|
112
112
|
...options.input !== void 0 ? {
|
|
@@ -146,7 +146,7 @@ Examples:
|
|
|
146
146
|
"Nothing to change. See: deepline artifacts edit --help"
|
|
147
147
|
);
|
|
148
148
|
}
|
|
149
|
-
const artifact = await new (0,
|
|
149
|
+
const artifact = await new (0, _chunkUAZKOH3Jjs.DeeplineClient)().updateArtifact(id, fields);
|
|
150
150
|
print(
|
|
151
151
|
"artifacts edit",
|
|
152
152
|
options.json,
|
|
@@ -157,7 +157,7 @@ Examples:
|
|
|
157
157
|
);
|
|
158
158
|
artifacts.command("runs <id>").description("List runs of the artifact's Play, newest first.").option("--limit <n>", "Runs to list, up to 100", Number).option("--json", "Emit raw JSON response").action(
|
|
159
159
|
async (id, options) => run(async () => {
|
|
160
|
-
const result = await new (0,
|
|
160
|
+
const result = await new (0, _chunkUAZKOH3Jjs.DeeplineClient)().listArtifactRuns(id, {
|
|
161
161
|
limit: options.limit
|
|
162
162
|
});
|
|
163
163
|
print("artifacts runs", options.json, result, [
|
|
@@ -176,7 +176,7 @@ Examples:
|
|
|
176
176
|
).option("--json", "Emit raw JSON response").action(
|
|
177
177
|
async (id, options) => run(async () => {
|
|
178
178
|
const input = options.input !== void 0 ? await readJsonOption(options.input, "--input") : void 0;
|
|
179
|
-
const started = await new (0,
|
|
179
|
+
const started = await new (0, _chunkUAZKOH3Jjs.DeeplineClient)().refreshArtifact(id, input);
|
|
180
180
|
print("artifacts refresh", options.json, started, [
|
|
181
181
|
`Started run ${started.workflowId}.`,
|
|
182
182
|
`Watch it: deepline runs get ${started.workflowId}`
|
|
@@ -190,7 +190,7 @@ Examples:
|
|
|
190
190
|
if (access !== "workspace" && access !== "public") {
|
|
191
191
|
throw new Error("Access is workspace or public.");
|
|
192
192
|
}
|
|
193
|
-
const artifact = await new (0,
|
|
193
|
+
const artifact = await new (0, _chunkUAZKOH3Jjs.DeeplineClient)().setArtifactAccess(
|
|
194
194
|
id,
|
|
195
195
|
access
|
|
196
196
|
);
|
|
@@ -204,7 +204,7 @@ Examples:
|
|
|
204
204
|
);
|
|
205
205
|
artifacts.command("delete <id>").description("Delete an artifact. Its Play and runs are not touched.").option("--json", "Emit raw JSON response").action(
|
|
206
206
|
async (id, options) => run(async () => {
|
|
207
|
-
const result = await new (0,
|
|
207
|
+
const result = await new (0, _chunkUAZKOH3Jjs.DeeplineClient)().deleteArtifact(id);
|
|
208
208
|
print("artifacts delete", options.json, result, [
|
|
209
209
|
`Deleted artifact ${id}.`
|
|
210
210
|
]);
|
|
@@ -215,7 +215,7 @@ Examples:
|
|
|
215
215
|
);
|
|
216
216
|
permissions.command("get", { isDefault: true }).description("Show the workspace's artifact rules and what you may do.").option("--json", "Emit raw JSON response").action(
|
|
217
217
|
async (options) => run(async () => {
|
|
218
|
-
const result = await new (0,
|
|
218
|
+
const result = await new (0, _chunkUAZKOH3Jjs.DeeplineClient)().getArtifactPermissions();
|
|
219
219
|
print("artifacts permissions", options.json, result, [
|
|
220
220
|
...Object.entries(result.rules).map(
|
|
221
221
|
([verb, level]) => `${verb}: ${level}`
|
|
@@ -253,7 +253,7 @@ Examples:
|
|
|
253
253
|
"Pass at least one rule. See: deepline artifacts permissions set --help"
|
|
254
254
|
);
|
|
255
255
|
}
|
|
256
|
-
const result = await new (0,
|
|
256
|
+
const result = await new (0, _chunkUAZKOH3Jjs.DeeplineClient)().setArtifactPermissions(rules);
|
|
257
257
|
print(
|
|
258
258
|
"artifacts permissions set",
|
|
259
259
|
options.json,
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DeeplineClient
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-7IYDCHTG.mjs";
|
|
4
|
+
import "./chunk-FQJFONFT.mjs";
|
|
5
5
|
import "./chunk-L2VKAASU.mjs";
|
|
6
|
-
import "./chunk-
|
|
6
|
+
import "./chunk-FKD3KL5Q.mjs";
|
|
7
7
|
import "./chunk-S3A4IXBQ.mjs";
|
|
8
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-UBKA33KY.mjs";
|
|
9
9
|
import {
|
|
10
10
|
printCommandEnvelope
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-A6USUS4L.mjs";
|
|
12
12
|
import {
|
|
13
13
|
cliFeatureEnabled
|
|
14
|
-
} from "./chunk-
|
|
15
|
-
import "./chunk-
|
|
14
|
+
} from "./chunk-DQURY3WH.mjs";
|
|
15
|
+
import "./chunk-E4ZS2B2J.mjs";
|
|
16
16
|
import "./chunk-QNHHZ63P.mjs";
|
|
17
17
|
import "./chunk-DLIRSHV6.mjs";
|
|
18
18
|
import "./chunk-ZPGGW27Q.mjs";
|
|
19
|
-
import "./chunk-
|
|
19
|
+
import "./chunk-7AUXX6M5.mjs";
|
|
20
20
|
import "./chunk-WZYKRD7T.mjs";
|
|
21
21
|
import "./chunk-KRD6H754.mjs";
|
|
22
22
|
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
var _chunk4MN65FRFjs = require('./chunk-4MN65FRF.js');
|
|
18
|
+
require('./chunk-HD3KYCDC.js');
|
|
19
|
+
require('./chunk-EILHJRPW.js');
|
|
20
|
+
require('./chunk-HSFLMTED.js');
|
|
21
|
+
require('./chunk-T2N3B7IQ.js');
|
|
22
|
+
require('./chunk-XNYIZMNQ.js');
|
|
23
|
+
require('./chunk-SQWET4SL.js');
|
|
24
|
+
require('./chunk-GNYSODBR.js');
|
|
25
|
+
require('./chunk-OG64RBAC.js');
|
|
26
|
+
require('./chunk-COGTRVWW.js');
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
exports.EXIT_WORKSPACE_MISMATCH = _chunk4MN65FRFjs.EXIT_WORKSPACE_MISMATCH; exports.authStatusLine = _chunk4MN65FRFjs.authStatusLine; exports.clearPendingClaim = _chunk4MN65FRFjs.clearPendingClaim; exports.clearSatisfiedPendingClaim = _chunk4MN65FRFjs.clearSatisfiedPendingClaim; exports.handleRegister = _chunk4MN65FRFjs.handleRegister; exports.handleStatus = _chunk4MN65FRFjs.handleStatus; exports.handleWait = _chunk4MN65FRFjs.handleWait; exports.httpJson = _chunk4MN65FRFjs.httpJson; exports.readPendingAuthClaim = _chunk4MN65FRFjs.readPendingAuthClaim; exports.readStatusBanner = _chunk4MN65FRFjs.readStatusBanner; exports.registerAuthCommands = _chunk4MN65FRFjs.registerAuthCommands; exports.reportApprovalLinkShown = _chunk4MN65FRFjs.reportApprovalLinkShown; exports.reportSetupCompleted = _chunk4MN65FRFjs.reportSetupCompleted; exports.resolvePendingAuthClaimForResume = _chunk4MN65FRFjs.resolvePendingAuthClaimForResume; exports.statusBannerLine = _chunk4MN65FRFjs.statusBannerLine;
|
|
@@ -14,14 +14,14 @@ import {
|
|
|
14
14
|
reportSetupCompleted,
|
|
15
15
|
resolvePendingAuthClaimForResume,
|
|
16
16
|
statusBannerLine
|
|
17
|
-
} from "./chunk-
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
17
|
+
} from "./chunk-Y7IR4LBU.mjs";
|
|
18
|
+
import "./chunk-A6USUS4L.mjs";
|
|
19
|
+
import "./chunk-DQURY3WH.mjs";
|
|
20
|
+
import "./chunk-E4ZS2B2J.mjs";
|
|
21
21
|
import "./chunk-QNHHZ63P.mjs";
|
|
22
22
|
import "./chunk-DLIRSHV6.mjs";
|
|
23
23
|
import "./chunk-ZPGGW27Q.mjs";
|
|
24
|
-
import "./chunk-
|
|
24
|
+
import "./chunk-7AUXX6M5.mjs";
|
|
25
25
|
import "./chunk-WZYKRD7T.mjs";
|
|
26
26
|
import "./chunk-KRD6H754.mjs";
|
|
27
27
|
export {
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DeeplineClient
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-7IYDCHTG.mjs";
|
|
4
4
|
import {
|
|
5
5
|
iterateCursorPages,
|
|
6
6
|
requireBillingIdempotencyKey
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-FQJFONFT.mjs";
|
|
8
8
|
import "./chunk-L2VKAASU.mjs";
|
|
9
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-FKD3KL5Q.mjs";
|
|
10
10
|
import "./chunk-S3A4IXBQ.mjs";
|
|
11
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-UBKA33KY.mjs";
|
|
12
12
|
import {
|
|
13
13
|
PLAY_RUNTIME_PRICING_NOTE
|
|
14
14
|
} from "./chunk-VE6FHVXZ.mjs";
|
|
@@ -22,9 +22,9 @@ import {
|
|
|
22
22
|
openInBrowser,
|
|
23
23
|
printCommandEnvelope,
|
|
24
24
|
shouldEmitJson
|
|
25
|
-
} from "./chunk-
|
|
26
|
-
import "./chunk-
|
|
27
|
-
import "./chunk-
|
|
25
|
+
} from "./chunk-A6USUS4L.mjs";
|
|
26
|
+
import "./chunk-DQURY3WH.mjs";
|
|
27
|
+
import "./chunk-E4ZS2B2J.mjs";
|
|
28
28
|
import {
|
|
29
29
|
AuthError,
|
|
30
30
|
ConfigError
|
|
@@ -33,7 +33,7 @@ import "./chunk-DLIRSHV6.mjs";
|
|
|
33
33
|
import {
|
|
34
34
|
DeeplineError
|
|
35
35
|
} from "./chunk-ZPGGW27Q.mjs";
|
|
36
|
-
import "./chunk-
|
|
36
|
+
import "./chunk-7AUXX6M5.mjs";
|
|
37
37
|
import "./chunk-WZYKRD7T.mjs";
|
|
38
38
|
import "./chunk-KRD6H754.mjs";
|
|
39
39
|
|