deepline 0.3.522 → 0.3.524
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-core.ts +178 -60
- package/dist/bundling-sources/sdk/src/index.ts +3 -0
- package/dist/bundling-sources/sdk/src/release.ts +1 -1
- package/dist/bundling-sources/shared_libs/monitors/signal-radars/inbound-dead-letter.ts +60 -14
- package/dist/bundling-sources/shared_libs/monitors/signal-radars/inbound-queue-delivery.ts +9 -3
- package/dist/bundling-sources/shared_libs/observability/scheduled-jobs.json +1 -1
- package/dist/bundling-sources/shared_libs/play-runtime/context.ts +406 -40
- package/dist/bundling-sources/shared_libs/play-runtime/ctx-types.ts +1 -0
- package/dist/bundling-sources/shared_libs/play-runtime/db-session-renewal.ts +209 -0
- package/dist/bundling-sources/shared_libs/play-runtime/durable-runs-rollout.ts +16 -6
- package/dist/bundling-sources/shared_libs/play-runtime/freshness-receipt-execution.ts +388 -13
- package/dist/bundling-sources/shared_libs/play-runtime/launch-identity.ts +28 -0
- package/dist/bundling-sources/shared_libs/play-runtime/runner-app/runtime-tool-hooks.ts +5 -0
- package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona-modal-fallback.ts +1 -0
- package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona.ts +38 -5
- package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/modal.ts +92 -10
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-deadline-reconciliation.ts +96 -25
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-runtime-worker.ts +29 -0
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd.ts +139 -17
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/durable-run-sql.ts +26 -3
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres.ts +145 -5
- package/dist/bundling-sources/shared_libs/play-runtime/tool-cache-policy.ts +190 -10
- package/dist/bundling-sources/shared_libs/play-runtime/tool-execute-retry-policy.ts +85 -5
- package/dist/bundling-sources/shared_libs/plays/authoring-contract.ts +21 -11
- package/dist/cli/auth-OKPHHMMP.js +43 -0
- package/dist/cli/{auth-YIBY5IKT.mjs → auth-QXJMVLPN.mjs} +5 -5
- package/dist/cli/{billing-UDKL53GI.js → billing-N5R4HTHT.js} +82 -82
- package/dist/cli/{billing-G3IX3SNY.mjs → billing-SNSIFM4B.mjs} +7 -7
- package/dist/cli/{chunk-EJBW7Y6Z.js → chunk-2ZWNIS54.js} +108 -96
- package/dist/cli/{chunk-3KMGVOBM.mjs → chunk-2ZX7XSAQ.mjs} +4 -4
- package/dist/cli/{chunk-4TUMKJZX.mjs → chunk-3WWTBQHC.mjs} +2 -2
- package/dist/cli/{chunk-MD524MRB.mjs → chunk-536TGWR6.mjs} +1 -1
- package/dist/cli/{chunk-37SXIFIU.js → chunk-66N76YZG.js} +44 -44
- package/dist/cli/{chunk-BZY335JP.js → chunk-7E6B7VMS.js} +5 -5
- package/dist/cli/{chunk-HYR34KFA.js → chunk-7OQGZBDG.js} +109 -24
- package/dist/cli/{chunk-GVKW3LCA.js → chunk-7QM6DNR4.js} +11 -11
- package/dist/cli/{chunk-DNJJ3ULJ.js → chunk-ANKD3AIR.js} +2 -2
- package/dist/cli/{chunk-4DFWDA2Q.js → chunk-ATATJNJ6.js} +9 -9
- package/dist/cli/{chunk-ZZ7U4YJS.mjs → chunk-BXIQD2IY.mjs} +1 -1
- package/dist/cli/{chunk-XT25FX6T.js → chunk-BXVYVIMB.js} +3 -3
- package/dist/cli/{chunk-XR6TN5DT.mjs → chunk-CH7JVSA7.mjs} +6 -6
- package/dist/cli/{chunk-RKE5YTHY.mjs → chunk-EO55Y4QW.mjs} +5 -5
- package/dist/cli/{chunk-RI672VNY.js → chunk-EQNAQENZ.js} +2 -2
- package/dist/cli/{chunk-LFSOBW7E.mjs → chunk-FXTV5B3D.mjs} +22 -10
- package/dist/cli/{chunk-C6WGMODR.mjs → chunk-GMO3JDZA.mjs} +2 -2
- package/dist/cli/{chunk-DRDZBRXV.js → chunk-GTGJBZVH.js} +7 -7
- package/dist/cli/{chunk-SFMCKB57.mjs → chunk-HLAFGQPV.mjs} +76 -34
- package/dist/cli/{chunk-534YYHIF.js → chunk-HTYT2OHB.js} +6 -6
- package/dist/cli/{chunk-ZZLZCO6Y.js → chunk-I75VRGQG.js} +22 -22
- package/dist/cli/{chunk-Y3LDRCMB.mjs → chunk-II3BJKCH.mjs} +2 -2
- package/dist/cli/{chunk-5BQPEHEP.js → chunk-JDIQBZ6O.js} +14 -14
- package/dist/cli/{chunk-ENWJFUWK.mjs → chunk-KKPBCB6D.mjs} +2 -2
- package/dist/cli/{chunk-BONXEWYF.mjs → chunk-KSQXBLRW.mjs} +3 -3
- package/dist/cli/{chunk-7JEN3FX4.js → chunk-LRWDZDBS.js} +5 -5
- package/dist/cli/{chunk-5477PEHL.mjs → chunk-MW3YMPD2.mjs} +1 -1
- package/dist/cli/{chunk-VFCVH2LV.mjs → chunk-NUC7ZVDG.mjs} +5 -5
- package/dist/cli/{chunk-DLDWAPA5.js → chunk-OCT4SUJA.js} +4 -4
- package/dist/cli/{chunk-FQQAAR3Q.mjs → chunk-OQ5G7RFQ.mjs} +1 -1
- package/dist/cli/{chunk-VIM6I7RC.js → chunk-PFKKZVFK.js} +41 -41
- package/dist/cli/{chunk-OAQIVJFY.mjs → chunk-PFKWKWUJ.mjs} +2 -2
- package/dist/cli/{chunk-52MHE7B4.mjs → chunk-R457IMHJ.mjs} +1 -1
- package/dist/cli/{chunk-UV6XCHOZ.mjs → chunk-RIX26ZJD.mjs} +1 -1
- package/dist/cli/{chunk-RDJTCW3I.mjs → chunk-RTDX5NNN.mjs} +3 -3
- package/dist/cli/{chunk-FNHUDCJE.js → chunk-RUULUCBP.js} +10 -10
- package/dist/cli/{chunk-GMYDVW7Z.js → chunk-SF4QJVBE.js} +3 -3
- package/dist/cli/{chunk-DARD7TJ7.js → chunk-SMWFOGUT.js} +53 -53
- package/dist/cli/{chunk-XXY4E57R.mjs → chunk-T43FF5PF.mjs} +2 -2
- package/dist/cli/{chunk-ZUAKRBZB.js → chunk-TZTWH53O.js} +1 -1
- package/dist/cli/{chunk-7J5PLHII.mjs → chunk-V2YIBBVT.mjs} +1 -1
- package/dist/cli/{chunk-6SJPZV5E.js → chunk-V4RJ57MA.js} +2 -2
- package/dist/cli/{chunk-4MF44THR.js → chunk-V7KUBDEB.js} +82 -40
- package/dist/cli/{chunk-ISUUSSS4.js → chunk-VHTVXS5A.js} +16 -16
- package/dist/cli/{chunk-NDNG3MAT.mjs → chunk-WCVIPZWX.mjs} +5 -5
- package/dist/cli/{chunk-F5D623KO.js → chunk-WOEPDSO3.js} +26 -26
- package/dist/cli/{chunk-VE6FHVXZ.mjs → chunk-XURWFEXM.mjs} +109 -24
- package/dist/cli/{chunk-G65FJ5JX.mjs → chunk-YCIXY66B.mjs} +2 -2
- package/dist/cli/{chunk-CFXERH7F.mjs → chunk-YGOI5ZE5.mjs} +1 -1
- package/dist/cli/{chunk-PDLRUZ42.mjs → chunk-YKFW3NNA.mjs} +5 -5
- package/dist/cli/{chunk-5H22VJPE.js → chunk-YXVYPYIP.js} +6 -6
- package/dist/cli/{chunk-KMBF3N2Z.js → chunk-Z4MOEQSY.js} +16 -16
- package/dist/cli/command-docs.js +2 -2
- package/dist/cli/command-docs.mjs +1 -1
- package/dist/cli/{csv-PE35WGRO.mjs → csv-HT2JBCW2.mjs} +4 -4
- package/dist/cli/{csv-3HIE4VCO.js → csv-Q2LWKXAV.js} +13 -13
- package/dist/cli/{db-L7ZMMQKW.mjs → db-CS3XQ2LX.mjs} +6 -6
- package/dist/cli/{db-O2YRTTDO.js → db-XEV4WEE4.js} +27 -27
- package/dist/cli/describe-5G5NXO5E.js +50 -0
- package/dist/cli/{describe-NI324Y2M.mjs → describe-OUTXLDGZ.mjs} +18 -18
- package/dist/cli/describe-core.d.mts +3 -3
- package/dist/cli/describe-core.d.ts +3 -3
- package/dist/cli/{executions-VH4DKLFI.js → executions-JCC34WAD.js} +8 -8
- package/dist/cli/{executions-T6KU2OKK.mjs → executions-L6XFG5MP.mjs} +6 -6
- package/dist/cli/{feedback-SCSJC3FX.mjs → feedback-AWBDO5I6.mjs} +5 -5
- package/dist/cli/{feedback-ZLC6G5OK.js → feedback-HV2M2G7N.js} +10 -10
- package/dist/cli/git-GDPTG52F.js +25 -0
- package/dist/cli/{git-I4LVQCID.mjs → git-S4LRXTRX.mjs} +5 -5
- package/dist/cli/index.js +146 -146
- package/dist/cli/index.mjs +45 -45
- package/dist/cli/{legacy-noops-44FQ2256.mjs → legacy-noops-7MOKBL4O.mjs} +6 -6
- package/dist/cli/{legacy-noops-UPFWEHPG.js → legacy-noops-RGSZUD6V.js} +9 -9
- package/dist/cli/{monitors-JN6IQGK6.js → monitors-JEFM2C5W.js} +100 -100
- package/dist/cli/{monitors-LMSASWXE.mjs → monitors-XQNXDZPQ.mjs} +7 -7
- package/dist/cli/{org-F7O3ZU5O.js → org-GYLA5V32.js} +235 -72
- package/dist/cli/{org-QYLVEE7A.mjs → org-KTMJZGTN.mjs} +169 -6
- package/dist/cli/{pages-KEL3Y4L4.js → pages-RY4U7OCL.js} +18 -18
- package/dist/cli/{pages-5XE4LBZN.mjs → pages-WOMU2T2O.mjs} +6 -6
- package/dist/cli/{play-OURHH6KV.js → play-2Q6MWJ3D.js} +363 -323
- package/dist/cli/{play-MWQG3G32.mjs → play-KOYGGNYS.mjs} +64 -24
- package/dist/cli/{providers-IQY7LUBB.mjs → providers-7YKDITJC.mjs} +6 -6
- package/dist/cli/{providers-ZCBWPE3C.js → providers-HOIRHMN2.js} +9 -9
- package/dist/cli/{quickstart-O53OXTN6.js → quickstart-OWCJOSQA.js} +6 -6
- package/dist/cli/{quickstart-L45NGRMI.mjs → quickstart-RDXHSMVX.mjs} +4 -4
- package/dist/cli/{run-W745Z3Z5.js → run-MT2ABKO5.js} +41 -41
- package/dist/cli/{run-VCSIWLEU.mjs → run-RT73NDP5.mjs} +23 -23
- package/dist/cli/search-7VBA6IGS.js +33 -0
- package/dist/cli/{search-THELKULN.mjs → search-CJPKIGSA.mjs} +8 -8
- package/dist/cli/{search-output-N7MJLYYD.mjs → search-output-AREMA544.mjs} +4 -4
- package/dist/cli/{search-output-SJW7LEOM.js → search-output-OSBZ7WK6.js} +6 -6
- package/dist/cli/{secrets-44ST3FJH.mjs → secrets-BTIY2FEJ.mjs} +6 -6
- package/dist/cli/{secrets-GDXPX3KB.js → secrets-OV6KH633.js} +15 -15
- package/dist/cli/{sessions-LYCBI77S.mjs → sessions-3CO3ZFOD.mjs} +6 -6
- package/dist/cli/sessions-B3WNEWRW.js +18 -0
- package/dist/cli/{settings-GXPDMJFG.mjs → settings-7BQIC7QN.mjs} +13 -13
- package/dist/cli/{settings-3WOFF642.js → settings-LBIECYDB.js} +86 -86
- package/dist/cli/{setup-YHLMBJP4.js → setup-QZE7QR3F.js} +50 -50
- package/dist/cli/{setup-YM6JEB64.mjs → setup-XPTSNNES.mjs} +10 -10
- package/dist/cli/{skills-WX4XWEAT.mjs → skills-TGGKIQLT.mjs} +8 -8
- package/dist/cli/skills-TXBRTWEV.js +37 -0
- package/dist/cli/{tools-K24VSQ7S.mjs → tools-MKIFX2TQ.mjs} +17 -17
- package/dist/cli/tools-RZJV4X3J.js +57 -0
- package/dist/cli/{update-PSSCF5AT.mjs → update-5R3D3WNH.mjs} +10 -10
- package/dist/cli/update-YWGGPWUA.js +35 -0
- package/dist/cli/{artifacts-RY2MK74N.mjs → views-VHKDHHUP.mjs} +76 -76
- package/dist/cli/views-VPWEINIA.js +270 -0
- package/dist/cli/{workflow-FPVI3NIA.js → workflow-7K2VEQ4V.js} +17 -17
- package/dist/cli/{workflow-DGOPYATO.mjs → workflow-D5DF65N6.mjs} +7 -7
- package/dist/{client-DA71-2_u.d.mts → client-C5_6W8yd.d.mts} +1 -1
- package/dist/{client-core-C0IzDKMJ.d.ts → client-core-B-GPfmaC.d.ts} +121 -44
- package/dist/{client-core-BXbds1cb.d.mts → client-core-Dob428Z4.d.mts} +121 -44
- package/dist/{client-B-2Am2y6.d.ts → client-iXW4TOat.d.ts} +1 -1
- package/dist/{compiler-manifest-B4mIIbw7.d.mts → compiler-manifest-DsxsQP-T.d.mts} +14 -7
- package/dist/{compiler-manifest-B4mIIbw7.d.ts → compiler-manifest-DsxsQP-T.d.ts} +14 -7
- package/dist/{errors-Gj9i5Rkd.d.ts → errors-Bk5h1D-C.d.ts} +1 -1
- package/dist/{errors-C2F4qzAq.d.mts → errors-qdJUVQ3g.d.mts} +1 -1
- package/dist/{index-5JZBufdF.d.mts → index-PaupwX1B.d.mts} +1 -1
- package/dist/{index-BXtSj8bv.d.ts → index-bL66eHYz.d.ts} +1 -1
- package/dist/index.d.mts +7 -7
- package/dist/index.d.ts +7 -7
- package/dist/index.js +9 -9
- package/dist/index.mjs +6 -6
- package/dist/install-integrity.json +117 -116
- package/dist/plays/bundle-play-file.d.mts +3 -3
- package/dist/plays/bundle-play-file.d.ts +3 -3
- package/dist/plays/bundle-play-file.mjs +7 -5
- 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/dist/server.d.mts +4 -4
- package/dist/server.d.ts +4 -4
- package/dist/server.js +5 -5
- package/dist/server.mjs +3 -3
- package/package.json +1 -1
- package/dist/cli/artifacts-GIZZH5VA.js +0 -270
- package/dist/cli/auth-JSES2JOQ.js +0 -43
- package/dist/cli/describe-EB336DAO.js +0 -50
- package/dist/cli/git-23T7TXAH.js +0 -25
- package/dist/cli/search-R6K7ZAMU.js +0 -33
- package/dist/cli/sessions-2V5ZFOWL.js +0 -18
- package/dist/cli/skills-XNGADDO6.js +0 -37
- package/dist/cli/tools-ROUMCB7B.js +0 -57
- package/dist/cli/update-RXURGIRW.js +0 -35
package/dist/release.mjs
CHANGED
package/dist/server.d.mts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/// <reference path="./text-imports.d.ts" />
|
|
2
|
-
import { D as DeeplineClient$1, a as DeeplineClientOptions } from './client-core-
|
|
3
|
-
export { A as
|
|
4
|
-
export { A as AuthError, C as ConfigError, a as CustomerDbQueryOutcomeUnknownError, R as RateLimitError, T as ToolRateLimitError } from './errors-
|
|
5
|
-
export { B as BillingEntitlements, D as DeeplineError, I as IncludedCompute, P as ProviderTransientError, a as ProviderTransientErrorCategory, b as ProviderUnavailableError, c as ProviderUnavailableReason, T as ToolExecutionError, d as ToolExecutionErrorCategory, e as ToolExecutionErrorOptions, f as ToolExecutionErrorOrigin, g as ToolExecutionFailureV1, h as ToolExecutionNetworkKind, i as ToolExecutionNetworkScope, j as ToolExecutionPublicDetails, k as ToolUpstreamResponse, l as getProviderUnavailableReason, m as isProviderUnavailable, n as isProviderWaterfallUnavailableError } from './compiler-manifest-
|
|
2
|
+
import { D as DeeplineClient$1, a as DeeplineClientOptions } from './client-core-Dob428Z4.mjs';
|
|
3
|
+
export { A as AsyncChildRunLaunchProjection, b as AsyncChildRunProjection, c as AsyncChildRunStatusCounts, B as BillingActivePlan, d as BillingCreditPool, e as BillingInvoiceEntry, f as BillingInvoicesResult, g as BillingMeterEntry, h as BillingMetricEntry, i as BillingNamespace, j as BillingPaymentMethodSummary, k as BillingPlanEntry, l as BillingPlansResult, m as BillingQuoteRequest, n as BillingQuoteResult, o as BillingRecentUsageEntry, p as BillingSubscriptionCancelResult, q as BillingSubscriptionStatus, r as BillingTopUpReceipt, s as BillingTopUpResult, t as BillingUsageEvent, u as BillingUsageEventListEntry, v as BillingUsageEventsOptions, w as BillingUsageEventsResult, x as BillingUsageOptions, y as BillingUsageResult, C as ChildRunSummary, z as ClearPlayHistoryRequest, E as ClearPlayHistoryResult, F as CreateNotificationGroupInput, G as CreateNotificationGroupResult, H as CreateNotificationInput, I as CustomerDbColumn, J as CustomerDbQueryResult, K as DbNamespace, L as DeeplineAgentModelDescription, M as DeeplineToolCategory, N as DeletePlayResult, O as EffectiveProductNotificationConfiguration, P as ExecutionByKeyResult, Q as ExecutionRecovery, R as HostedPage, S as HostedPageLink, T as HostedPageList, U as HostedPageWriteResult, V as InferenceDynamicPricingCapability, W as InferenceQuote, X as InferenceQuoteAssumptions, Y as IngestionStorageRepairResult, Z as LegacyMonitorStatusFilter, _ as LiveEventEnvelope, $ as LiveEventScope, a0 as MONITOR_JOB_PHASES, a1 as MONITOR_JOB_RECONCILIATION_STATES, a2 as MONITOR_JOB_STATES, a3 as ModelProviderOptionField, a4 as ModelProviderOptionNamespace, a5 as MonitorBatchDeploySubmitOptions, a6 as MonitorBatchExistingSubmitOptions, a7 as MonitorBatchNamespace, a8 as MonitorBatchOperationResult, a9 as MonitorBatchScope, aa as MonitorBatchSubmitOptions, ab as MonitorCheckResult, ac as MonitorDeleteResult, ad as MonitorDependents, ae as MonitorDeployResult, af as MonitorDetail, ag as MonitorFailure, ah as MonitorFleetDeactivateOptions, ai as MonitorFleetGetOptions, aj as MonitorFleetIssuesOptions, ak as MonitorFleetOverviewDetailOptions, al as MonitorFleetOverviewOptions, am as MonitorFleetReactivateOptions, an as MonitorFleetResult, ao as MonitorFleetStatus, ap as MonitorFleetSyncOptions, aq as MonitorFleetWaitOptions, ar as MonitorFleetsNamespace, as as MonitorJobDeployOptions, at as MonitorJobLogsOptions, au as MonitorJobPhase, av as MonitorJobProjection, aw as MonitorJobReconciliationState, ax as MonitorJobResult, ay as MonitorJobState, az as MonitorJobWaitOptions, aA as MonitorJobsNamespace, aB as MonitorLifecycleOptions, aC as MonitorListEntry, aD as MonitorNamedBatchOptions, aE as MonitorNamedBatchProjection, aF as MonitorNamedBatchesNamespace, aG as MonitorPreviewOptions, aH as MonitorPreviewResult, aI as MonitorReactivateResult, aJ as MonitorSpec, aK as MonitorState, aL as MonitorStateFilter, aM as MonitorTestOptions, aN as MonitorTestResult, aO as MonitorUpdateChangeSummary, aP as MonitorUpdateResult, aQ as MonitorValidateResult, aR as MonitorsAccessStatus, aS as MonitorsAuditResult, aT as MonitorsAvailableOptions, aU as MonitorsAvailableResult, aV as MonitorsHealth, aW as MonitorsLedgerOptions, aX as MonitorsLedgerResult, aY as MonitorsListOptions, aZ as MonitorsListResult, a_ as MonitorsNamespace, a$ as MonitorsRepairResult, b0 as PlayActivityObservation, b1 as PlayActivityState, b2 as PlayActivityTarget, b3 as PlayCheckExportResult, b4 as PlayCheckFeatureFlag, b5 as PlayCheckIssue, b6 as PlayCheckIssueSeverity, b7 as PlayCheckRecognizedSummary, b8 as PlayCheckResult, b9 as PlayCheckSqlListenerEventSummary, ba as PlayCheckSqlListenerTrigger, bb as PlayCheckToolGetterHint, bc as PlayCheckTriggersSummary, bd as PlayCostEstimate, be as PlayCostEstimateResult, bf as PlayDefinitionDetail, bg as PlayDescription, bh as PlayDetail, bi as PlayListItem, bj as PlayLiveEvent, bk as PlayProgressStatus, bl as PlayRevisionSummary, bm as PlayRunActionPackage, bn as PlayRunActivityProjection, bo as PlayRunDatasetActions, bp as PlayRunListItem, bq as PlayRunOutcome, br as PlayRunPackage, bs as PlayRunRateLimited, bt as PlayRunResult, bu as PlayRunRowHistoryOptions, bv as PlayRunStart, bw as PlayRuntimeLimit, bx as PlayScheduledCapacity, by as PlaySecretCheck, bz as PlaySecretMetadata, bA as PlaySheetColumnStats, bB as PlaySheetRow, bC as PlaySheetRowsResult, bD as PlaySheetStats, bE as PlaySheetSummary, bF as PlayStatus, bG as PlayTriggerStatus, bH as PlaysActivityResponse, bI as PlaysListOptions, bJ as PlaysListPage, bK as PrebuiltPlayObservedCost, bL as ProductNotification, bM as ProductNotificationConfigurationChange, bN as ProductNotificationConfigurationResponse, bO as ProductNotificationDefaultPolicy, bP as ProductNotificationEventDefinition, bQ as ProductNotificationSettings, bR as ProductNotificationTypeCatalogItem, bS as ProviderDefinition, bT as PublishPlayVersionRequest, bU as PublishPlayVersionResult, bV as PublishSharePageRequest, bW as RerunOptions, bX as RerunPlayRunResult, bY as ResolvedConfig, bZ as RestorePlayResult, b_ as ResumePlayRunResult, b$ as RunBillingResult, c0 as RunBillingSummary, c1 as RunChildrenPage, c2 as RunGetStatus, c3 as RunLifecycleStatus, c4 as RunsChildrenOptions, c5 as RunsEventPayload, c6 as RunsEventSearchEntry, c7 as RunsEventSearchOptions, c8 as RunsEventSearchResult, c9 as RunsEventsCountResult, ca as RunsEventsCriteria, cb as RunsEventsFieldsOptions, cc as RunsEventsListOptions, cd as RunsEventsListResult, ce as RunsEventsNamespace, cf as RunsEventsSummaryOptions, cg as RunsEventsSummaryResult, ch as RunsGetOptions, ci as RunsHistoryItem, cj as RunsHistoryOptions, ck as RunsHistoryPage, cl as RunsListOptions, cm as RunsListPage, cn as RunsLogCriteria, co as RunsLogsCountResult, cp as RunsLogsNamespace, cq as RunsLogsOptions, cr as RunsLogsQueryOptions, cs as RunsLogsQueryResult, ct as RunsLogsResult, cu as RunsLogsSummaryOptions, cv as RunsLogsSummaryResult, cw as RunsNamespace, cx as RunsTailOptions, cy as RunsWatchOptions, cz as SearchOptions, cA as SearchResult, cB as SearchResultItem, cC as SearchType, cD as SharePageOwnerView, cE as SharePageRevisionOption, cF as SharePageStatus, cG as SlackNotificationTarget, cH as StartPlayRunRequest, cI as StopAllCandidate, cJ as StopAllPlayRunsDryRunResult, cK as StopAllPlayRunsResult, cL as StopAllPlayRunsStopResult, cM as StopAllRunsOptions, cN as StopPlayRunResult, cO as TargetAutoRechargeResult, cP as TargetAutoRechargeUpdateOptions, cQ as TargetBillingMutationResult, cR as TargetBillingOperation, cS as TargetBillingPlan, cT as TargetBillingPlanTransitionOptions, cU as TargetBillingPlansResult, cV as TargetBillingStatusResult, cW as ToolBatchCapability, cX as ToolCategoryListing, cY as ToolCategorySummary, cZ as ToolDefinition, c_ as ToolExecution, c$ as ToolExecutionMetadata, d0 as ToolExecutionMetadataFields, d1 as ToolMetadata, d2 as ToolPricingSummary, d3 as ToolRequestCondition, d4 as ToolRequestWarningRule, d5 as ToolSearchOptions, d6 as ToolSearchResult, d7 as UpdateNotificationInput, d8 as UpdateSharePageRequest, d9 as View, da as ViewAbilities, db as ViewAccess, dc as ViewDetail, dd as ViewPermissionLevel, de as ViewPermissionRules, df as ViewRunSummary, dg as WorkspaceCreateResult, dh as WorkspaceServiceAccount, di as WorkspaceServiceAccountKey, dj as WorkspaceServiceAccountsNamespace, dk as WorkspacesNamespace, dl as isStopAllPlayRunsDryRunResult } from './client-core-Dob428Z4.mjs';
|
|
4
|
+
export { A as AuthError, C as ConfigError, a as CustomerDbQueryOutcomeUnknownError, R as RateLimitError, T as ToolRateLimitError } from './errors-qdJUVQ3g.mjs';
|
|
5
|
+
export { B as BillingEntitlements, D as DeeplineError, I as IncludedCompute, P as ProviderTransientError, a as ProviderTransientErrorCategory, b as ProviderUnavailableError, c as ProviderUnavailableReason, T as ToolExecutionError, d as ToolExecutionErrorCategory, e as ToolExecutionErrorOptions, f as ToolExecutionErrorOrigin, g as ToolExecutionFailureV1, h as ToolExecutionNetworkKind, i as ToolExecutionNetworkScope, j as ToolExecutionPublicDetails, k as ToolUpstreamResponse, l as getProviderUnavailableReason, m as isProviderUnavailable, n as isProviderWaterfallUnavailableError } from './compiler-manifest-DsxsQP-T.mjs';
|
|
6
6
|
import 'zod';
|
|
7
7
|
import './monitor-fleet-contract.mjs';
|
|
8
8
|
import '@sinclair/typebox';
|
package/dist/server.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/// <reference path="./text-imports.d.ts" />
|
|
2
|
-
import { D as DeeplineClient$1, a as DeeplineClientOptions } from './client-core-
|
|
3
|
-
export { A as
|
|
4
|
-
export { A as AuthError, C as ConfigError, a as CustomerDbQueryOutcomeUnknownError, R as RateLimitError, T as ToolRateLimitError } from './errors-
|
|
5
|
-
export { B as BillingEntitlements, D as DeeplineError, I as IncludedCompute, P as ProviderTransientError, a as ProviderTransientErrorCategory, b as ProviderUnavailableError, c as ProviderUnavailableReason, T as ToolExecutionError, d as ToolExecutionErrorCategory, e as ToolExecutionErrorOptions, f as ToolExecutionErrorOrigin, g as ToolExecutionFailureV1, h as ToolExecutionNetworkKind, i as ToolExecutionNetworkScope, j as ToolExecutionPublicDetails, k as ToolUpstreamResponse, l as getProviderUnavailableReason, m as isProviderUnavailable, n as isProviderWaterfallUnavailableError } from './compiler-manifest-
|
|
2
|
+
import { D as DeeplineClient$1, a as DeeplineClientOptions } from './client-core-B-GPfmaC.js';
|
|
3
|
+
export { A as AsyncChildRunLaunchProjection, b as AsyncChildRunProjection, c as AsyncChildRunStatusCounts, B as BillingActivePlan, d as BillingCreditPool, e as BillingInvoiceEntry, f as BillingInvoicesResult, g as BillingMeterEntry, h as BillingMetricEntry, i as BillingNamespace, j as BillingPaymentMethodSummary, k as BillingPlanEntry, l as BillingPlansResult, m as BillingQuoteRequest, n as BillingQuoteResult, o as BillingRecentUsageEntry, p as BillingSubscriptionCancelResult, q as BillingSubscriptionStatus, r as BillingTopUpReceipt, s as BillingTopUpResult, t as BillingUsageEvent, u as BillingUsageEventListEntry, v as BillingUsageEventsOptions, w as BillingUsageEventsResult, x as BillingUsageOptions, y as BillingUsageResult, C as ChildRunSummary, z as ClearPlayHistoryRequest, E as ClearPlayHistoryResult, F as CreateNotificationGroupInput, G as CreateNotificationGroupResult, H as CreateNotificationInput, I as CustomerDbColumn, J as CustomerDbQueryResult, K as DbNamespace, L as DeeplineAgentModelDescription, M as DeeplineToolCategory, N as DeletePlayResult, O as EffectiveProductNotificationConfiguration, P as ExecutionByKeyResult, Q as ExecutionRecovery, R as HostedPage, S as HostedPageLink, T as HostedPageList, U as HostedPageWriteResult, V as InferenceDynamicPricingCapability, W as InferenceQuote, X as InferenceQuoteAssumptions, Y as IngestionStorageRepairResult, Z as LegacyMonitorStatusFilter, _ as LiveEventEnvelope, $ as LiveEventScope, a0 as MONITOR_JOB_PHASES, a1 as MONITOR_JOB_RECONCILIATION_STATES, a2 as MONITOR_JOB_STATES, a3 as ModelProviderOptionField, a4 as ModelProviderOptionNamespace, a5 as MonitorBatchDeploySubmitOptions, a6 as MonitorBatchExistingSubmitOptions, a7 as MonitorBatchNamespace, a8 as MonitorBatchOperationResult, a9 as MonitorBatchScope, aa as MonitorBatchSubmitOptions, ab as MonitorCheckResult, ac as MonitorDeleteResult, ad as MonitorDependents, ae as MonitorDeployResult, af as MonitorDetail, ag as MonitorFailure, ah as MonitorFleetDeactivateOptions, ai as MonitorFleetGetOptions, aj as MonitorFleetIssuesOptions, ak as MonitorFleetOverviewDetailOptions, al as MonitorFleetOverviewOptions, am as MonitorFleetReactivateOptions, an as MonitorFleetResult, ao as MonitorFleetStatus, ap as MonitorFleetSyncOptions, aq as MonitorFleetWaitOptions, ar as MonitorFleetsNamespace, as as MonitorJobDeployOptions, at as MonitorJobLogsOptions, au as MonitorJobPhase, av as MonitorJobProjection, aw as MonitorJobReconciliationState, ax as MonitorJobResult, ay as MonitorJobState, az as MonitorJobWaitOptions, aA as MonitorJobsNamespace, aB as MonitorLifecycleOptions, aC as MonitorListEntry, aD as MonitorNamedBatchOptions, aE as MonitorNamedBatchProjection, aF as MonitorNamedBatchesNamespace, aG as MonitorPreviewOptions, aH as MonitorPreviewResult, aI as MonitorReactivateResult, aJ as MonitorSpec, aK as MonitorState, aL as MonitorStateFilter, aM as MonitorTestOptions, aN as MonitorTestResult, aO as MonitorUpdateChangeSummary, aP as MonitorUpdateResult, aQ as MonitorValidateResult, aR as MonitorsAccessStatus, aS as MonitorsAuditResult, aT as MonitorsAvailableOptions, aU as MonitorsAvailableResult, aV as MonitorsHealth, aW as MonitorsLedgerOptions, aX as MonitorsLedgerResult, aY as MonitorsListOptions, aZ as MonitorsListResult, a_ as MonitorsNamespace, a$ as MonitorsRepairResult, b0 as PlayActivityObservation, b1 as PlayActivityState, b2 as PlayActivityTarget, b3 as PlayCheckExportResult, b4 as PlayCheckFeatureFlag, b5 as PlayCheckIssue, b6 as PlayCheckIssueSeverity, b7 as PlayCheckRecognizedSummary, b8 as PlayCheckResult, b9 as PlayCheckSqlListenerEventSummary, ba as PlayCheckSqlListenerTrigger, bb as PlayCheckToolGetterHint, bc as PlayCheckTriggersSummary, bd as PlayCostEstimate, be as PlayCostEstimateResult, bf as PlayDefinitionDetail, bg as PlayDescription, bh as PlayDetail, bi as PlayListItem, bj as PlayLiveEvent, bk as PlayProgressStatus, bl as PlayRevisionSummary, bm as PlayRunActionPackage, bn as PlayRunActivityProjection, bo as PlayRunDatasetActions, bp as PlayRunListItem, bq as PlayRunOutcome, br as PlayRunPackage, bs as PlayRunRateLimited, bt as PlayRunResult, bu as PlayRunRowHistoryOptions, bv as PlayRunStart, bw as PlayRuntimeLimit, bx as PlayScheduledCapacity, by as PlaySecretCheck, bz as PlaySecretMetadata, bA as PlaySheetColumnStats, bB as PlaySheetRow, bC as PlaySheetRowsResult, bD as PlaySheetStats, bE as PlaySheetSummary, bF as PlayStatus, bG as PlayTriggerStatus, bH as PlaysActivityResponse, bI as PlaysListOptions, bJ as PlaysListPage, bK as PrebuiltPlayObservedCost, bL as ProductNotification, bM as ProductNotificationConfigurationChange, bN as ProductNotificationConfigurationResponse, bO as ProductNotificationDefaultPolicy, bP as ProductNotificationEventDefinition, bQ as ProductNotificationSettings, bR as ProductNotificationTypeCatalogItem, bS as ProviderDefinition, bT as PublishPlayVersionRequest, bU as PublishPlayVersionResult, bV as PublishSharePageRequest, bW as RerunOptions, bX as RerunPlayRunResult, bY as ResolvedConfig, bZ as RestorePlayResult, b_ as ResumePlayRunResult, b$ as RunBillingResult, c0 as RunBillingSummary, c1 as RunChildrenPage, c2 as RunGetStatus, c3 as RunLifecycleStatus, c4 as RunsChildrenOptions, c5 as RunsEventPayload, c6 as RunsEventSearchEntry, c7 as RunsEventSearchOptions, c8 as RunsEventSearchResult, c9 as RunsEventsCountResult, ca as RunsEventsCriteria, cb as RunsEventsFieldsOptions, cc as RunsEventsListOptions, cd as RunsEventsListResult, ce as RunsEventsNamespace, cf as RunsEventsSummaryOptions, cg as RunsEventsSummaryResult, ch as RunsGetOptions, ci as RunsHistoryItem, cj as RunsHistoryOptions, ck as RunsHistoryPage, cl as RunsListOptions, cm as RunsListPage, cn as RunsLogCriteria, co as RunsLogsCountResult, cp as RunsLogsNamespace, cq as RunsLogsOptions, cr as RunsLogsQueryOptions, cs as RunsLogsQueryResult, ct as RunsLogsResult, cu as RunsLogsSummaryOptions, cv as RunsLogsSummaryResult, cw as RunsNamespace, cx as RunsTailOptions, cy as RunsWatchOptions, cz as SearchOptions, cA as SearchResult, cB as SearchResultItem, cC as SearchType, cD as SharePageOwnerView, cE as SharePageRevisionOption, cF as SharePageStatus, cG as SlackNotificationTarget, cH as StartPlayRunRequest, cI as StopAllCandidate, cJ as StopAllPlayRunsDryRunResult, cK as StopAllPlayRunsResult, cL as StopAllPlayRunsStopResult, cM as StopAllRunsOptions, cN as StopPlayRunResult, cO as TargetAutoRechargeResult, cP as TargetAutoRechargeUpdateOptions, cQ as TargetBillingMutationResult, cR as TargetBillingOperation, cS as TargetBillingPlan, cT as TargetBillingPlanTransitionOptions, cU as TargetBillingPlansResult, cV as TargetBillingStatusResult, cW as ToolBatchCapability, cX as ToolCategoryListing, cY as ToolCategorySummary, cZ as ToolDefinition, c_ as ToolExecution, c$ as ToolExecutionMetadata, d0 as ToolExecutionMetadataFields, d1 as ToolMetadata, d2 as ToolPricingSummary, d3 as ToolRequestCondition, d4 as ToolRequestWarningRule, d5 as ToolSearchOptions, d6 as ToolSearchResult, d7 as UpdateNotificationInput, d8 as UpdateSharePageRequest, d9 as View, da as ViewAbilities, db as ViewAccess, dc as ViewDetail, dd as ViewPermissionLevel, de as ViewPermissionRules, df as ViewRunSummary, dg as WorkspaceCreateResult, dh as WorkspaceServiceAccount, di as WorkspaceServiceAccountKey, dj as WorkspaceServiceAccountsNamespace, dk as WorkspacesNamespace, dl as isStopAllPlayRunsDryRunResult } from './client-core-B-GPfmaC.js';
|
|
4
|
+
export { A as AuthError, C as ConfigError, a as CustomerDbQueryOutcomeUnknownError, R as RateLimitError, T as ToolRateLimitError } from './errors-Bk5h1D-C.js';
|
|
5
|
+
export { B as BillingEntitlements, D as DeeplineError, I as IncludedCompute, P as ProviderTransientError, a as ProviderTransientErrorCategory, b as ProviderUnavailableError, c as ProviderUnavailableReason, T as ToolExecutionError, d as ToolExecutionErrorCategory, e as ToolExecutionErrorOptions, f as ToolExecutionErrorOrigin, g as ToolExecutionFailureV1, h as ToolExecutionNetworkKind, i as ToolExecutionNetworkScope, j as ToolExecutionPublicDetails, k as ToolUpstreamResponse, l as getProviderUnavailableReason, m as isProviderUnavailable, n as isProviderWaterfallUnavailableError } from './compiler-manifest-DsxsQP-T.js';
|
|
6
6
|
import 'zod';
|
|
7
7
|
import './monitor-fleet-contract.js';
|
|
8
8
|
import '@sinclair/typebox';
|
package/dist/server.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkV7KUBDEBjs = require('./cli/chunk-V7KUBDEB.js');
|
|
4
4
|
require('./cli/chunk-E4CABWXL.js');
|
|
5
5
|
require('./cli/chunk-2KHUFWTK.js');
|
|
6
6
|
require('./cli/chunk-NMU3VR5U.js');
|
|
7
7
|
require('./cli/chunk-XDVT3GOM.js');
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
var
|
|
10
|
+
var _chunkOCT4SUJAjs = require('./cli/chunk-OCT4SUJA.js');
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
@@ -24,12 +24,12 @@ require('./cli/chunk-XNYIZMNQ.js');
|
|
|
24
24
|
|
|
25
25
|
|
|
26
26
|
var _chunkSQWET4SLjs = require('./cli/chunk-SQWET4SL.js');
|
|
27
|
-
require('./cli/chunk-
|
|
27
|
+
require('./cli/chunk-TZTWH53O.js');
|
|
28
28
|
require('./cli/chunk-OG64RBAC.js');
|
|
29
29
|
require('./cli/chunk-COGTRVWW.js');
|
|
30
30
|
|
|
31
31
|
// src/server.ts
|
|
32
|
-
var DeeplineClient2 = class extends
|
|
32
|
+
var DeeplineClient2 = class extends _chunkV7KUBDEBjs.DeeplineClient {
|
|
33
33
|
constructor(options) {
|
|
34
34
|
const apiKey = _optionalChain([options, 'access', _ => _.apiKey, 'optionalAccess', _2 => _2.trim, 'call', _3 => _3()]);
|
|
35
35
|
if (!apiKey)
|
|
@@ -57,7 +57,7 @@ var DeeplineClient2 = class extends _chunk4MF44THRjs.DeeplineClient {
|
|
|
57
57
|
maxRetries: _nullishCoalesce(options.maxRetries, () => ( 3)),
|
|
58
58
|
...options.headers ? { headers: { ...options.headers } } : {}
|
|
59
59
|
};
|
|
60
|
-
super(config, new (0,
|
|
60
|
+
super(config, new (0, _chunkOCT4SUJAjs.HttpClient)(config), options.timeout);
|
|
61
61
|
}
|
|
62
62
|
};
|
|
63
63
|
|
package/dist/server.mjs
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DeeplineClient
|
|
3
|
-
} from "./cli/chunk-
|
|
3
|
+
} from "./cli/chunk-HLAFGQPV.mjs";
|
|
4
4
|
import "./cli/chunk-L2VKAASU.mjs";
|
|
5
5
|
import "./cli/chunk-FKD3KL5Q.mjs";
|
|
6
6
|
import "./cli/chunk-S3A4IXBQ.mjs";
|
|
7
7
|
import "./cli/chunk-UBKA33KY.mjs";
|
|
8
8
|
import {
|
|
9
9
|
HttpClient
|
|
10
|
-
} from "./cli/chunk-
|
|
10
|
+
} from "./cli/chunk-OQ5G7RFQ.mjs";
|
|
11
11
|
import {
|
|
12
12
|
AuthError,
|
|
13
13
|
ConfigError,
|
|
@@ -24,7 +24,7 @@ import {
|
|
|
24
24
|
isProviderUnavailable,
|
|
25
25
|
isProviderWaterfallUnavailableError
|
|
26
26
|
} from "./cli/chunk-ZPGGW27Q.mjs";
|
|
27
|
-
import "./cli/chunk-
|
|
27
|
+
import "./cli/chunk-RIX26ZJD.mjs";
|
|
28
28
|
import "./cli/chunk-WZYKRD7T.mjs";
|
|
29
29
|
import "./cli/chunk-KRD6H754.mjs";
|
|
30
30
|
|
package/package.json
CHANGED
|
@@ -1,270 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }
|
|
2
|
-
|
|
3
|
-
var _chunk7JEN3FX4js = require('./chunk-7JEN3FX4.js');
|
|
4
|
-
require('./chunk-4MF44THR.js');
|
|
5
|
-
require('./chunk-E4CABWXL.js');
|
|
6
|
-
require('./chunk-2KHUFWTK.js');
|
|
7
|
-
require('./chunk-NMU3VR5U.js');
|
|
8
|
-
require('./chunk-XDVT3GOM.js');
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
var _chunkDRDZBRXVjs = require('./chunk-DRDZBRXV.js');
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
var _chunkGMYDVW7Zjs = require('./chunk-GMYDVW7Z.js');
|
|
15
|
-
require('./chunk-DLDWAPA5.js');
|
|
16
|
-
require('./chunk-T2N3B7IQ.js');
|
|
17
|
-
require('./chunk-XNYIZMNQ.js');
|
|
18
|
-
require('./chunk-SQWET4SL.js');
|
|
19
|
-
require('./chunk-ZUAKRBZB.js');
|
|
20
|
-
require('./chunk-OG64RBAC.js');
|
|
21
|
-
require('./chunk-COGTRVWW.js');
|
|
22
|
-
|
|
23
|
-
// src/cli/commands/artifacts.ts
|
|
24
|
-
var _promises = require('fs/promises');
|
|
25
|
-
var ARTIFACTS_FEATURE = "artifacts";
|
|
26
|
-
function print(command, json, data, lines) {
|
|
27
|
-
_chunkDRDZBRXVjs.printCommandEnvelope.call(void 0,
|
|
28
|
-
{ command, ...data, render: { sections: [{ title: command, lines }] } },
|
|
29
|
-
{ json: Boolean(json), text: `${lines.join("\n")}
|
|
30
|
-
` }
|
|
31
|
-
);
|
|
32
|
-
}
|
|
33
|
-
async function run(action) {
|
|
34
|
-
try {
|
|
35
|
-
await action();
|
|
36
|
-
} catch (error) {
|
|
37
|
-
console.error(error instanceof Error ? error.message : String(error));
|
|
38
|
-
process.exitCode = 1;
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
async function readJsonOption(value, flag) {
|
|
42
|
-
if (value === void 0) return void 0;
|
|
43
|
-
const text = value.startsWith("@") ? await _promises.readFile.call(void 0, value.slice(1), "utf8") : value;
|
|
44
|
-
try {
|
|
45
|
-
return JSON.parse(text);
|
|
46
|
-
} catch (e) {
|
|
47
|
-
throw new Error(`${flag} takes JSON, or @path to a JSON file.`);
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
function artifactLines(artifact) {
|
|
51
|
-
return [
|
|
52
|
-
artifact.name,
|
|
53
|
-
` ${artifact.url}`,
|
|
54
|
-
` id ${artifact.id} \xB7 Play ${artifact.play} \xB7 ${artifact.access === "public" ? "public" : "workspace members"}`,
|
|
55
|
-
...artifact.description ? [` ${artifact.description}`] : []
|
|
56
|
-
];
|
|
57
|
-
}
|
|
58
|
-
function registerArtifactsCommands(program) {
|
|
59
|
-
const artifacts = program.command("artifacts", { hidden: !_chunkGMYDVW7Zjs.cliFeatureEnabled.call(void 0, ARTIFACTS_FEATURE) }).description(
|
|
60
|
-
"Show what a Play returns at a fixed URL on artifacts.deepline.com."
|
|
61
|
-
).addHelpText(
|
|
62
|
-
"after",
|
|
63
|
-
`
|
|
64
|
-
Examples:
|
|
65
|
-
deepline artifacts create --name "Pipeline" --play score-accounts
|
|
66
|
-
deepline artifacts refresh <id>
|
|
67
|
-
deepline artifacts set-access <id> public
|
|
68
|
-
`
|
|
69
|
-
);
|
|
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
|
-
async (options) => run(async () => {
|
|
72
|
-
const result = await new (0, _chunk7JEN3FX4js.DeeplineClient)().listArtifacts({
|
|
73
|
-
cursor: options.cursor,
|
|
74
|
-
limit: options.limit
|
|
75
|
-
});
|
|
76
|
-
print("artifacts list", options.json, result, [
|
|
77
|
-
...result.artifacts.length === 0 ? [
|
|
78
|
-
"No artifacts yet. Create one: deepline artifacts create --name <name> --play <play>"
|
|
79
|
-
] : [],
|
|
80
|
-
...result.artifacts.flatMap(artifactLines),
|
|
81
|
-
...result.next_cursor ? [`More: --cursor ${result.next_cursor}`] : []
|
|
82
|
-
]);
|
|
83
|
-
})
|
|
84
|
-
);
|
|
85
|
-
artifacts.command("get <id>").description("Show one artifact and what you may do with it.").option("--json", "Emit raw JSON response").action(
|
|
86
|
-
async (id, options) => run(async () => {
|
|
87
|
-
const artifact = await new (0, _chunk7JEN3FX4js.DeeplineClient)().getArtifact(id);
|
|
88
|
-
print("artifacts get", options.json, artifact, [
|
|
89
|
-
...artifactLines(artifact),
|
|
90
|
-
` saved input ${JSON.stringify(artifact.input)}`
|
|
91
|
-
]);
|
|
92
|
-
})
|
|
93
|
-
);
|
|
94
|
-
artifacts.command("create").description("Create an artifact that shows a Play's runs at a fixed URL.").requiredOption("--name <name>", "Artifact name").requiredOption(
|
|
95
|
-
"--play <play>",
|
|
96
|
-
"Play in this workspace, or prebuilt/<name>"
|
|
97
|
-
).option(
|
|
98
|
-
"--input <json>",
|
|
99
|
-
"Saved input Refresh runs the Play with (JSON or @file)"
|
|
100
|
-
).option("--description <text>", "What the artifact is").option("--json", "Emit raw JSON response").addHelpText(
|
|
101
|
-
"after",
|
|
102
|
-
`
|
|
103
|
-
Examples:
|
|
104
|
-
deepline artifacts create --name "Pipeline" --play score-accounts
|
|
105
|
-
deepline artifacts create --name "Brief" --play meeting-brief --input '{"team":"Growth"}'
|
|
106
|
-
`
|
|
107
|
-
).action(
|
|
108
|
-
async (options) => run(async () => {
|
|
109
|
-
const artifact = await new (0, _chunk7JEN3FX4js.DeeplineClient)().createArtifact({
|
|
110
|
-
name: options.name,
|
|
111
|
-
play: options.play,
|
|
112
|
-
...options.input !== void 0 ? {
|
|
113
|
-
input: await readJsonOption(
|
|
114
|
-
options.input,
|
|
115
|
-
"--input"
|
|
116
|
-
)
|
|
117
|
-
} : {},
|
|
118
|
-
...options.description ? { description: options.description } : {}
|
|
119
|
-
});
|
|
120
|
-
print("artifacts create", options.json, artifact, [
|
|
121
|
-
`Created ${artifact.name}`,
|
|
122
|
-
...artifactLines(artifact)
|
|
123
|
-
]);
|
|
124
|
-
})
|
|
125
|
-
);
|
|
126
|
-
artifacts.command("edit <id>").description(
|
|
127
|
-
"Change an artifact's name, Play, saved input, or description."
|
|
128
|
-
).option("--name <name>", "New name").option("--play <play>", "Play in this workspace, or prebuilt/<name>").option(
|
|
129
|
-
"--input <json>",
|
|
130
|
-
"Saved input Refresh runs the Play with (JSON or @file)"
|
|
131
|
-
).option("--description <text>", "What the artifact is").option("--json", "Emit raw JSON response").action(
|
|
132
|
-
async (id, options) => run(async () => {
|
|
133
|
-
const fields = {
|
|
134
|
-
...options.name !== void 0 ? { name: options.name } : {},
|
|
135
|
-
...options.play !== void 0 ? { play: options.play } : {},
|
|
136
|
-
...options.description !== void 0 ? { description: options.description } : {},
|
|
137
|
-
...options.input !== void 0 ? {
|
|
138
|
-
input: await readJsonOption(
|
|
139
|
-
options.input,
|
|
140
|
-
"--input"
|
|
141
|
-
)
|
|
142
|
-
} : {}
|
|
143
|
-
};
|
|
144
|
-
if (Object.keys(fields).length === 0) {
|
|
145
|
-
throw new Error(
|
|
146
|
-
"Nothing to change. See: deepline artifacts edit --help"
|
|
147
|
-
);
|
|
148
|
-
}
|
|
149
|
-
const artifact = await new (0, _chunk7JEN3FX4js.DeeplineClient)().updateArtifact(id, fields);
|
|
150
|
-
print(
|
|
151
|
-
"artifacts edit",
|
|
152
|
-
options.json,
|
|
153
|
-
artifact,
|
|
154
|
-
artifactLines(artifact)
|
|
155
|
-
);
|
|
156
|
-
})
|
|
157
|
-
);
|
|
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
|
-
async (id, options) => run(async () => {
|
|
160
|
-
const result = await new (0, _chunk7JEN3FX4js.DeeplineClient)().listArtifactRuns(id, {
|
|
161
|
-
limit: options.limit
|
|
162
|
-
});
|
|
163
|
-
print("artifacts runs", options.json, result, [
|
|
164
|
-
...result.runs.length === 0 ? ["No runs yet. Run: deepline artifacts refresh " + id] : [],
|
|
165
|
-
...result.runs.map(
|
|
166
|
-
(r) => `${r.run_id} ${r.status} ${new Date(_nullishCoalesce(r.finished_at, () => ( r.created_at))).toISOString()}`
|
|
167
|
-
)
|
|
168
|
-
]);
|
|
169
|
-
})
|
|
170
|
-
);
|
|
171
|
-
artifacts.command("refresh <id>").description(
|
|
172
|
-
"Run the artifact's Play. The artifact shows the run when it finishes."
|
|
173
|
-
).option(
|
|
174
|
-
"--input <json>",
|
|
175
|
-
"Input for this run instead of the artifact's saved input"
|
|
176
|
-
).option("--json", "Emit raw JSON response").action(
|
|
177
|
-
async (id, options) => run(async () => {
|
|
178
|
-
const input = options.input !== void 0 ? await readJsonOption(options.input, "--input") : void 0;
|
|
179
|
-
const started = await new (0, _chunk7JEN3FX4js.DeeplineClient)().refreshArtifact(id, input);
|
|
180
|
-
print("artifacts refresh", options.json, started, [
|
|
181
|
-
`Started run ${started.workflowId}.`,
|
|
182
|
-
`Watch it: deepline runs get ${started.workflowId}`
|
|
183
|
-
]);
|
|
184
|
-
})
|
|
185
|
-
);
|
|
186
|
-
artifacts.command("set-access <id> <access>").description(
|
|
187
|
-
"Choose who can open an artifact: workspace or public. Public shows every run of its Play to anyone with the link."
|
|
188
|
-
).option("--json", "Emit raw JSON response").action(
|
|
189
|
-
async (id, access, options) => run(async () => {
|
|
190
|
-
if (access !== "workspace" && access !== "public") {
|
|
191
|
-
throw new Error("Access is workspace or public.");
|
|
192
|
-
}
|
|
193
|
-
const artifact = await new (0, _chunk7JEN3FX4js.DeeplineClient)().setArtifactAccess(
|
|
194
|
-
id,
|
|
195
|
-
access
|
|
196
|
-
);
|
|
197
|
-
print(
|
|
198
|
-
"artifacts set-access",
|
|
199
|
-
options.json,
|
|
200
|
-
artifact,
|
|
201
|
-
artifactLines(artifact)
|
|
202
|
-
);
|
|
203
|
-
})
|
|
204
|
-
);
|
|
205
|
-
artifacts.command("delete <id>").description("Delete an artifact. Its Play and runs are not touched.").option("--json", "Emit raw JSON response").action(
|
|
206
|
-
async (id, options) => run(async () => {
|
|
207
|
-
const result = await new (0, _chunk7JEN3FX4js.DeeplineClient)().deleteArtifact(id);
|
|
208
|
-
print("artifacts delete", options.json, result, [
|
|
209
|
-
`Deleted artifact ${id}.`
|
|
210
|
-
]);
|
|
211
|
-
})
|
|
212
|
-
);
|
|
213
|
-
const permissions = artifacts.command("permissions").description(
|
|
214
|
-
"Show or change who may create, edit, delete, publish, and refresh artifacts."
|
|
215
|
-
);
|
|
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
|
-
async (options) => run(async () => {
|
|
218
|
-
const result = await new (0, _chunk7JEN3FX4js.DeeplineClient)().getArtifactPermissions();
|
|
219
|
-
print("artifacts permissions", options.json, result, [
|
|
220
|
-
...Object.entries(result.rules).map(
|
|
221
|
-
([verb, level]) => `${verb}: ${level}`
|
|
222
|
-
),
|
|
223
|
-
...result.can ? [
|
|
224
|
-
`you may: ${Object.entries(result.can).filter(([, ok]) => ok).map(([verb]) => verb).join(", ") || "view only"}`
|
|
225
|
-
] : []
|
|
226
|
-
]);
|
|
227
|
-
})
|
|
228
|
-
);
|
|
229
|
-
const verbs = [
|
|
230
|
-
"create",
|
|
231
|
-
"edit",
|
|
232
|
-
"delete",
|
|
233
|
-
"setAccess",
|
|
234
|
-
"refresh"
|
|
235
|
-
];
|
|
236
|
-
permissions.command("set").description(
|
|
237
|
-
"Change artifact rules (admins only). Each is members or admins."
|
|
238
|
-
).option("--create <level>", "Create artifacts").option("--edit <level>", "Edit artifacts").option("--delete <level>", "Delete artifacts").option("--set-access <level>", "Make artifacts public or workspace-only").option("--refresh <level>", "Refresh artifacts and start Plays from them").option("--json", "Emit raw JSON response").action(
|
|
239
|
-
async (options) => run(async () => {
|
|
240
|
-
const rules = {};
|
|
241
|
-
for (const verb of verbs) {
|
|
242
|
-
const value = options[verb];
|
|
243
|
-
if (value === void 0) continue;
|
|
244
|
-
if (value !== "members" && value !== "admins") {
|
|
245
|
-
throw new Error(
|
|
246
|
-
`--${verb === "setAccess" ? "set-access" : verb} is members or admins.`
|
|
247
|
-
);
|
|
248
|
-
}
|
|
249
|
-
rules[verb] = value;
|
|
250
|
-
}
|
|
251
|
-
if (Object.keys(rules).length === 0) {
|
|
252
|
-
throw new Error(
|
|
253
|
-
"Pass at least one rule. See: deepline artifacts permissions set --help"
|
|
254
|
-
);
|
|
255
|
-
}
|
|
256
|
-
const result = await new (0, _chunk7JEN3FX4js.DeeplineClient)().setArtifactPermissions(rules);
|
|
257
|
-
print(
|
|
258
|
-
"artifacts permissions set",
|
|
259
|
-
options.json,
|
|
260
|
-
result,
|
|
261
|
-
Object.entries(result.rules).map(
|
|
262
|
-
([verb, level]) => `${verb}: ${level}`
|
|
263
|
-
)
|
|
264
|
-
);
|
|
265
|
-
})
|
|
266
|
-
);
|
|
267
|
-
}
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
exports.registerArtifactsCommands = registerArtifactsCommands;
|
|
@@ -1,43 +0,0 @@
|
|
|
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 _chunkDARD7TJ7js = require('./chunk-DARD7TJ7.js');
|
|
18
|
-
require('./chunk-DRDZBRXV.js');
|
|
19
|
-
require('./chunk-GMYDVW7Z.js');
|
|
20
|
-
require('./chunk-DLDWAPA5.js');
|
|
21
|
-
require('./chunk-T2N3B7IQ.js');
|
|
22
|
-
require('./chunk-XNYIZMNQ.js');
|
|
23
|
-
require('./chunk-SQWET4SL.js');
|
|
24
|
-
require('./chunk-ZUAKRBZB.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 = _chunkDARD7TJ7js.EXIT_WORKSPACE_MISMATCH; exports.authStatusLine = _chunkDARD7TJ7js.authStatusLine; exports.clearPendingClaim = _chunkDARD7TJ7js.clearPendingClaim; exports.clearSatisfiedPendingClaim = _chunkDARD7TJ7js.clearSatisfiedPendingClaim; exports.handleRegister = _chunkDARD7TJ7js.handleRegister; exports.handleStatus = _chunkDARD7TJ7js.handleStatus; exports.handleWait = _chunkDARD7TJ7js.handleWait; exports.httpJson = _chunkDARD7TJ7js.httpJson; exports.readPendingAuthClaim = _chunkDARD7TJ7js.readPendingAuthClaim; exports.readStatusBanner = _chunkDARD7TJ7js.readStatusBanner; exports.registerAuthCommands = _chunkDARD7TJ7js.registerAuthCommands; exports.reportApprovalLinkShown = _chunkDARD7TJ7js.reportApprovalLinkShown; exports.reportSetupCompleted = _chunkDARD7TJ7js.reportSetupCompleted; exports.resolvePendingAuthClaimForResume = _chunkDARD7TJ7js.resolvePendingAuthClaimForResume; exports.statusBannerLine = _chunkDARD7TJ7js.statusBannerLine;
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
var _chunkKMBF3N2Zjs = require('./chunk-KMBF3N2Z.js');
|
|
7
|
-
require('./chunk-EJBW7Y6Z.js');
|
|
8
|
-
require('./chunk-5H22VJPE.js');
|
|
9
|
-
require('./chunk-GVKW3LCA.js');
|
|
10
|
-
require('./chunk-D3BCSAN7.js');
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
var _chunkRVHUW4TNjs = require('./chunk-RVHUW4TN.js');
|
|
14
|
-
require('./chunk-BN5VKY4X.js');
|
|
15
|
-
require('./chunk-NTLBZUHD.js');
|
|
16
|
-
require('./chunk-AID3OYVJ.js');
|
|
17
|
-
require('./chunk-J33TSWO5.js');
|
|
18
|
-
require('./chunk-HGFFYVXN.js');
|
|
19
|
-
require('./chunk-7JEN3FX4.js');
|
|
20
|
-
require('./chunk-BLMB4N63.js');
|
|
21
|
-
require('./chunk-4MF44THR.js');
|
|
22
|
-
require('./chunk-E4CABWXL.js');
|
|
23
|
-
require('./chunk-2KHUFWTK.js');
|
|
24
|
-
require('./chunk-NMU3VR5U.js');
|
|
25
|
-
require('./chunk-XDVT3GOM.js');
|
|
26
|
-
require('./chunk-ZZLZCO6Y.js');
|
|
27
|
-
require('./chunk-DNJJ3ULJ.js');
|
|
28
|
-
require('./chunk-ISUUSSS4.js');
|
|
29
|
-
require('./chunk-6SJPZV5E.js');
|
|
30
|
-
require('./chunk-VIM6I7RC.js');
|
|
31
|
-
require('./chunk-37SXIFIU.js');
|
|
32
|
-
require('./chunk-XT25FX6T.js');
|
|
33
|
-
require('./chunk-5BQPEHEP.js');
|
|
34
|
-
require('./chunk-DRDZBRXV.js');
|
|
35
|
-
require('./chunk-GMYDVW7Z.js');
|
|
36
|
-
require('./chunk-DLDWAPA5.js');
|
|
37
|
-
require('./chunk-T2N3B7IQ.js');
|
|
38
|
-
require('./chunk-XNYIZMNQ.js');
|
|
39
|
-
require('./chunk-SQWET4SL.js');
|
|
40
|
-
require('./chunk-ZUAKRBZB.js');
|
|
41
|
-
require('./chunk-OG64RBAC.js');
|
|
42
|
-
require('./chunk-RLX5ZFNX.js');
|
|
43
|
-
require('./chunk-COGTRVWW.js');
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
exports.DEEPLINE_NAMESPACE = _chunkRVHUW4TNjs.DEEPLINE_NAMESPACE; exports.describeAnything = _chunkKMBF3N2Zjs.describeAnything; exports.findNamed = _chunkKMBF3N2Zjs.findNamed; exports.nothingNamed = _chunkKMBF3N2Zjs.nothingNamed; exports.registerDescribeCommand = _chunkKMBF3N2Zjs.registerDescribeCommand;
|
package/dist/cli/git-23T7TXAH.js
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
var _chunkF5D623KOjs = require('./chunk-F5D623KO.js');
|
|
9
|
-
require('./chunk-DRDZBRXV.js');
|
|
10
|
-
require('./chunk-GMYDVW7Z.js');
|
|
11
|
-
require('./chunk-DLDWAPA5.js');
|
|
12
|
-
require('./chunk-T2N3B7IQ.js');
|
|
13
|
-
require('./chunk-XNYIZMNQ.js');
|
|
14
|
-
require('./chunk-SQWET4SL.js');
|
|
15
|
-
require('./chunk-ZUAKRBZB.js');
|
|
16
|
-
require('./chunk-OG64RBAC.js');
|
|
17
|
-
require('./chunk-COGTRVWW.js');
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
exports.handleDeploymentGet = _chunkF5D623KOjs.handleDeploymentGet; exports.handleDeploymentsList = _chunkF5D623KOjs.handleDeploymentsList; exports.registerGitCommands = _chunkF5D623KOjs.registerGitCommands; exports.renderDeployment = _chunkF5D623KOjs.renderDeployment; exports.renderDeploymentMonitorLines = _chunkF5D623KOjs.renderDeploymentMonitorLines; exports.renderDeploymentPlayLines = _chunkF5D623KOjs.renderDeploymentPlayLines;
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
var _chunkGVKW3LCAjs = require('./chunk-GVKW3LCA.js');
|
|
9
|
-
require('./chunk-D3BCSAN7.js');
|
|
10
|
-
require('./chunk-7JEN3FX4.js');
|
|
11
|
-
require('./chunk-4MF44THR.js');
|
|
12
|
-
require('./chunk-E4CABWXL.js');
|
|
13
|
-
require('./chunk-2KHUFWTK.js');
|
|
14
|
-
require('./chunk-NMU3VR5U.js');
|
|
15
|
-
require('./chunk-XDVT3GOM.js');
|
|
16
|
-
require('./chunk-5BQPEHEP.js');
|
|
17
|
-
require('./chunk-DRDZBRXV.js');
|
|
18
|
-
require('./chunk-GMYDVW7Z.js');
|
|
19
|
-
require('./chunk-DLDWAPA5.js');
|
|
20
|
-
require('./chunk-T2N3B7IQ.js');
|
|
21
|
-
require('./chunk-XNYIZMNQ.js');
|
|
22
|
-
require('./chunk-SQWET4SL.js');
|
|
23
|
-
require('./chunk-ZUAKRBZB.js');
|
|
24
|
-
require('./chunk-OG64RBAC.js');
|
|
25
|
-
require('./chunk-COGTRVWW.js');
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
exports.SEARCH_TYPES = _chunkGVKW3LCAjs.SEARCH_TYPES; exports.appendCsv = _chunkGVKW3LCAjs.appendCsv; exports.parseTypes = _chunkGVKW3LCAjs.parseTypes; exports.pointAtDescribe = _chunkGVKW3LCAjs.pointAtDescribe; exports.registerDeprecatedSearchCommand = _chunkGVKW3LCAjs.registerDeprecatedSearchCommand; exports.registerSearchCommand = _chunkGVKW3LCAjs.registerSearchCommand;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
var _chunkFNHUDCJEjs = require('./chunk-FNHUDCJE.js');
|
|
5
|
-
require('./chunk-RI672VNY.js');
|
|
6
|
-
require('./chunk-DRDZBRXV.js');
|
|
7
|
-
require('./chunk-GMYDVW7Z.js');
|
|
8
|
-
require('./chunk-DLDWAPA5.js');
|
|
9
|
-
require('./chunk-T2N3B7IQ.js');
|
|
10
|
-
require('./chunk-XNYIZMNQ.js');
|
|
11
|
-
require('./chunk-SQWET4SL.js');
|
|
12
|
-
require('./chunk-ZUAKRBZB.js');
|
|
13
|
-
require('./chunk-OG64RBAC.js');
|
|
14
|
-
require('./chunk-COGTRVWW.js');
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
exports.registerSessionSendRenderCommands = _chunkFNHUDCJEjs.registerSessionSendRenderCommands; exports.registerSessionsCommands = _chunkFNHUDCJEjs.registerSessionsCommands;
|