deepline 0.3.523 → 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 +60 -60
- 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 +359 -22
- 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/cli/auth-OKPHHMMP.js +43 -0
- package/dist/cli/{auth-ENQUQS56.mjs → auth-QXJMVLPN.mjs} +5 -5
- package/dist/cli/{billing-6HONTJOY.js → billing-N5R4HTHT.js} +82 -82
- package/dist/cli/{billing-6A27ULCX.mjs → billing-SNSIFM4B.mjs} +7 -7
- package/dist/cli/{chunk-326WVSWS.js → chunk-2ZWNIS54.js} +98 -98
- package/dist/cli/{chunk-JGZQBDYG.mjs → chunk-2ZX7XSAQ.mjs} +4 -4
- package/dist/cli/{chunk-6DBRBWHC.mjs → chunk-3WWTBQHC.mjs} +2 -2
- package/dist/cli/{chunk-KILRUAXF.mjs → chunk-536TGWR6.mjs} +1 -1
- package/dist/cli/{chunk-MZROKQV3.js → chunk-66N76YZG.js} +44 -44
- package/dist/cli/{chunk-IEVXYHGJ.js → chunk-7E6B7VMS.js} +5 -5
- package/dist/cli/{chunk-QYXIODWH.js → chunk-7OQGZBDG.js} +31 -23
- package/dist/cli/{chunk-4NWY7JBB.js → chunk-7QM6DNR4.js} +11 -11
- package/dist/cli/{chunk-HUC5SGJQ.js → chunk-ANKD3AIR.js} +2 -2
- package/dist/cli/{chunk-2BRDHM4S.js → chunk-ATATJNJ6.js} +9 -9
- package/dist/cli/{chunk-QSAC3IVI.mjs → chunk-BXIQD2IY.mjs} +1 -1
- package/dist/cli/{chunk-S4YKRH3W.js → chunk-BXVYVIMB.js} +3 -3
- package/dist/cli/{chunk-NWTMQGPP.mjs → chunk-CH7JVSA7.mjs} +6 -6
- package/dist/cli/{chunk-4V63IJCL.mjs → chunk-EO55Y4QW.mjs} +5 -5
- package/dist/cli/{chunk-FBMOBNJY.js → chunk-EQNAQENZ.js} +2 -2
- package/dist/cli/{chunk-QOO5W5XS.mjs → chunk-FXTV5B3D.mjs} +10 -10
- package/dist/cli/{chunk-HSVGP4CI.mjs → chunk-GMO3JDZA.mjs} +2 -2
- package/dist/cli/{chunk-V46J3UTM.js → chunk-GTGJBZVH.js} +7 -7
- package/dist/cli/{chunk-WVQOXYTQ.mjs → chunk-HLAFGQPV.mjs} +33 -33
- package/dist/cli/{chunk-PESMXAUG.js → chunk-HTYT2OHB.js} +6 -6
- package/dist/cli/{chunk-ZWN4RXC2.js → chunk-I75VRGQG.js} +22 -22
- package/dist/cli/{chunk-PCORO245.mjs → chunk-II3BJKCH.mjs} +2 -2
- package/dist/cli/{chunk-WGVJA4I5.js → chunk-JDIQBZ6O.js} +14 -14
- package/dist/cli/{chunk-UH3EAFFN.mjs → chunk-KKPBCB6D.mjs} +2 -2
- package/dist/cli/{chunk-RKREB7MU.mjs → chunk-KSQXBLRW.mjs} +3 -3
- package/dist/cli/{chunk-36LQQL5C.js → chunk-LRWDZDBS.js} +5 -5
- package/dist/cli/{chunk-SXTVJIGB.mjs → chunk-MW3YMPD2.mjs} +1 -1
- package/dist/cli/{chunk-5WFQXAD4.mjs → chunk-NUC7ZVDG.mjs} +5 -5
- package/dist/cli/{chunk-UQN4VTZL.js → chunk-OCT4SUJA.js} +4 -4
- package/dist/cli/{chunk-JCTTXLAZ.mjs → chunk-OQ5G7RFQ.mjs} +1 -1
- package/dist/cli/{chunk-XVXEARHC.js → chunk-PFKKZVFK.js} +41 -41
- package/dist/cli/{chunk-F3WRLFFM.mjs → chunk-PFKWKWUJ.mjs} +2 -2
- package/dist/cli/{chunk-I62LJ7NU.mjs → chunk-R457IMHJ.mjs} +1 -1
- package/dist/cli/{chunk-JVEFMOY2.mjs → chunk-RIX26ZJD.mjs} +1 -1
- package/dist/cli/{chunk-QMBL5ZIQ.mjs → chunk-RTDX5NNN.mjs} +3 -3
- package/dist/cli/{chunk-K326BEVR.js → chunk-RUULUCBP.js} +10 -10
- package/dist/cli/{chunk-MCXPJYBN.js → chunk-SF4QJVBE.js} +3 -3
- package/dist/cli/{chunk-HUIFUE4L.js → chunk-SMWFOGUT.js} +53 -53
- package/dist/cli/{chunk-LZL6V5M5.mjs → chunk-T43FF5PF.mjs} +2 -2
- package/dist/cli/{chunk-JMMNCJ7Z.js → chunk-TZTWH53O.js} +1 -1
- package/dist/cli/{chunk-U6DLLV3S.mjs → chunk-V2YIBBVT.mjs} +1 -1
- package/dist/cli/{chunk-XYL26236.js → chunk-V4RJ57MA.js} +2 -2
- package/dist/cli/{chunk-N5MLEXZ7.js → chunk-V7KUBDEB.js} +39 -39
- package/dist/cli/{chunk-MT3WG3KR.js → chunk-VHTVXS5A.js} +16 -16
- package/dist/cli/{chunk-H7275EZU.mjs → chunk-WCVIPZWX.mjs} +5 -5
- package/dist/cli/{chunk-SBGKKOCC.js → chunk-WOEPDSO3.js} +26 -26
- package/dist/cli/{chunk-MHTRYBXY.mjs → chunk-XURWFEXM.mjs} +31 -23
- package/dist/cli/{chunk-7M5FRSFP.mjs → chunk-YCIXY66B.mjs} +2 -2
- package/dist/cli/{chunk-6OZ2WSHD.mjs → chunk-YGOI5ZE5.mjs} +1 -1
- package/dist/cli/{chunk-DNXP3D5H.mjs → chunk-YKFW3NNA.mjs} +5 -5
- package/dist/cli/{chunk-7GNKAACY.js → chunk-YXVYPYIP.js} +6 -6
- package/dist/cli/{chunk-RQN4PHRE.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-YFJ2JLUP.mjs → csv-HT2JBCW2.mjs} +4 -4
- package/dist/cli/{csv-UBACJK75.js → csv-Q2LWKXAV.js} +13 -13
- package/dist/cli/{db-NKGYTAQO.mjs → db-CS3XQ2LX.mjs} +6 -6
- package/dist/cli/{db-2ZPA2LZ7.js → db-XEV4WEE4.js} +27 -27
- package/dist/cli/describe-5G5NXO5E.js +50 -0
- package/dist/cli/{describe-GX7DRKWZ.mjs → describe-OUTXLDGZ.mjs} +18 -18
- package/dist/cli/describe-core.d.mts +2 -2
- package/dist/cli/describe-core.d.ts +2 -2
- package/dist/cli/{executions-NXMRGPIL.js → executions-JCC34WAD.js} +8 -8
- package/dist/cli/{executions-HTHQ7KKD.mjs → executions-L6XFG5MP.mjs} +6 -6
- package/dist/cli/{feedback-USP4T34P.mjs → feedback-AWBDO5I6.mjs} +5 -5
- package/dist/cli/{feedback-TGVQACRO.js → feedback-HV2M2G7N.js} +10 -10
- package/dist/cli/git-GDPTG52F.js +25 -0
- package/dist/cli/{git-KUONEHCD.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-B2GMHU42.mjs → legacy-noops-7MOKBL4O.mjs} +6 -6
- package/dist/cli/{legacy-noops-2JY3CQ24.js → legacy-noops-RGSZUD6V.js} +9 -9
- package/dist/cli/{monitors-XI6I52AX.js → monitors-JEFM2C5W.js} +100 -100
- package/dist/cli/{monitors-2OVBZJ6Z.mjs → monitors-XQNXDZPQ.mjs} +7 -7
- package/dist/cli/{org-5TUQ2H6Y.js → org-GYLA5V32.js} +86 -86
- package/dist/cli/{org-BNJW764Y.mjs → org-KTMJZGTN.mjs} +6 -6
- package/dist/cli/{pages-UXCLX53Y.js → pages-RY4U7OCL.js} +18 -18
- package/dist/cli/{pages-QC3TQIPW.mjs → pages-WOMU2T2O.mjs} +6 -6
- package/dist/cli/{play-KRWMZ7FG.js → play-2Q6MWJ3D.js} +363 -323
- package/dist/cli/{play-45PPG5SZ.mjs → play-KOYGGNYS.mjs} +64 -24
- package/dist/cli/{providers-JDT35MRL.mjs → providers-7YKDITJC.mjs} +6 -6
- package/dist/cli/{providers-RBUJ72Y3.js → providers-HOIRHMN2.js} +9 -9
- package/dist/cli/{quickstart-JZ4Q3HFT.js → quickstart-OWCJOSQA.js} +6 -6
- package/dist/cli/{quickstart-GD2SWGAC.mjs → quickstart-RDXHSMVX.mjs} +4 -4
- package/dist/cli/{run-JEAHA367.js → run-MT2ABKO5.js} +41 -41
- package/dist/cli/{run-KIZ3HBI2.mjs → run-RT73NDP5.mjs} +23 -23
- package/dist/cli/search-7VBA6IGS.js +33 -0
- package/dist/cli/{search-5UFNXHFK.mjs → search-CJPKIGSA.mjs} +8 -8
- package/dist/cli/{search-output-HAXPKQO6.mjs → search-output-AREMA544.mjs} +4 -4
- package/dist/cli/{search-output-W3RDSVLE.js → search-output-OSBZ7WK6.js} +6 -6
- package/dist/cli/{secrets-JAWT66B2.mjs → secrets-BTIY2FEJ.mjs} +6 -6
- package/dist/cli/{secrets-PC7C2Q32.js → secrets-OV6KH633.js} +15 -15
- package/dist/cli/{sessions-325V7G35.mjs → sessions-3CO3ZFOD.mjs} +6 -6
- package/dist/cli/sessions-B3WNEWRW.js +18 -0
- package/dist/cli/{settings-FKHTA65P.mjs → settings-7BQIC7QN.mjs} +13 -13
- package/dist/cli/{settings-RGU6Y2QR.js → settings-LBIECYDB.js} +86 -86
- package/dist/cli/{setup-ZMZ7HU2I.js → setup-QZE7QR3F.js} +50 -50
- package/dist/cli/{setup-43GOYTFC.mjs → setup-XPTSNNES.mjs} +10 -10
- package/dist/cli/{skills-Q2VAHSXM.mjs → skills-TGGKIQLT.mjs} +8 -8
- package/dist/cli/skills-TXBRTWEV.js +37 -0
- package/dist/cli/{tools-BUH7ZWDS.mjs → tools-MKIFX2TQ.mjs} +17 -17
- package/dist/cli/tools-RZJV4X3J.js +57 -0
- package/dist/cli/{update-JFALWOHD.mjs → update-5R3D3WNH.mjs} +10 -10
- package/dist/cli/update-YWGGPWUA.js +35 -0
- package/dist/cli/{artifacts-RBHR2DG4.mjs → views-VHKDHHUP.mjs} +76 -76
- package/dist/cli/views-VPWEINIA.js +270 -0
- package/dist/cli/{workflow-YELST32A.js → workflow-7K2VEQ4V.js} +17 -17
- package/dist/cli/{workflow-ISJKLY6X.mjs → workflow-D5DF65N6.mjs} +7 -7
- package/dist/{client-C2N7MofG.d.mts → client-C5_6W8yd.d.mts} +1 -1
- package/dist/{client-core-hmhBi7Ib.d.ts → client-core-B-GPfmaC.d.ts} +43 -43
- package/dist/{client-core-BTkDSKGn.d.mts → client-core-Dob428Z4.d.mts} +43 -43
- package/dist/{client-C7lTRJjw.d.ts → client-iXW4TOat.d.ts} +1 -1
- package/dist/index.d.mts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +9 -9
- package/dist/index.mjs +6 -6
- package/dist/install-integrity.json +110 -110
- 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/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 +5 -5
- package/dist/server.mjs +3 -3
- package/package.json +1 -1
- package/dist/cli/artifacts-RZTS2JHZ.js +0 -270
- package/dist/cli/auth-DPWYFQR5.js +0 -43
- package/dist/cli/describe-WQZF7MEG.js +0 -50
- package/dist/cli/git-X3SCQREB.js +0 -25
- package/dist/cli/search-6JULJMD7.js +0 -33
- package/dist/cli/sessions-WFUCOJHZ.js +0 -18
- package/dist/cli/skills-3XTQ6FFM.js +0 -37
- package/dist/cli/tools-UK2R4YXQ.js +0 -57
- package/dist/cli/update-LNKPHS54.js +0 -35
package/dist/server.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference path="./text-imports.d.ts" />
|
|
2
|
-
import { D as DeeplineClient$1, a as DeeplineClientOptions } from './client-core-
|
|
3
|
-
export { A as
|
|
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
4
|
export { A as AuthError, C as ConfigError, a as CustomerDbQueryOutcomeUnknownError, R as RateLimitError, T as ToolRateLimitError } from './errors-qdJUVQ3g.mjs';
|
|
5
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';
|
package/dist/server.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference path="./text-imports.d.ts" />
|
|
2
|
-
import { D as DeeplineClient$1, a as DeeplineClientOptions } from './client-core-
|
|
3
|
-
export { A as
|
|
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
4
|
export { A as AuthError, C as ConfigError, a as CustomerDbQueryOutcomeUnknownError, R as RateLimitError, T as ToolRateLimitError } from './errors-Bk5h1D-C.js';
|
|
5
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';
|
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 _chunkN5MLEXZ7js.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 _chunk36LQQL5Cjs = require('./chunk-36LQQL5C.js');
|
|
4
|
-
require('./chunk-N5MLEXZ7.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 _chunkV46J3UTMjs = require('./chunk-V46J3UTM.js');
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
var _chunkMCXPJYBNjs = require('./chunk-MCXPJYBN.js');
|
|
15
|
-
require('./chunk-UQN4VTZL.js');
|
|
16
|
-
require('./chunk-T2N3B7IQ.js');
|
|
17
|
-
require('./chunk-XNYIZMNQ.js');
|
|
18
|
-
require('./chunk-SQWET4SL.js');
|
|
19
|
-
require('./chunk-JMMNCJ7Z.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
|
-
_chunkV46J3UTMjs.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: !_chunkMCXPJYBNjs.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, _chunk36LQQL5Cjs.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, _chunk36LQQL5Cjs.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, _chunk36LQQL5Cjs.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, _chunk36LQQL5Cjs.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, _chunk36LQQL5Cjs.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, _chunk36LQQL5Cjs.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, _chunk36LQQL5Cjs.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, _chunk36LQQL5Cjs.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, _chunk36LQQL5Cjs.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, _chunk36LQQL5Cjs.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 _chunkHUIFUE4Ljs = require('./chunk-HUIFUE4L.js');
|
|
18
|
-
require('./chunk-V46J3UTM.js');
|
|
19
|
-
require('./chunk-MCXPJYBN.js');
|
|
20
|
-
require('./chunk-UQN4VTZL.js');
|
|
21
|
-
require('./chunk-T2N3B7IQ.js');
|
|
22
|
-
require('./chunk-XNYIZMNQ.js');
|
|
23
|
-
require('./chunk-SQWET4SL.js');
|
|
24
|
-
require('./chunk-JMMNCJ7Z.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 = _chunkHUIFUE4Ljs.EXIT_WORKSPACE_MISMATCH; exports.authStatusLine = _chunkHUIFUE4Ljs.authStatusLine; exports.clearPendingClaim = _chunkHUIFUE4Ljs.clearPendingClaim; exports.clearSatisfiedPendingClaim = _chunkHUIFUE4Ljs.clearSatisfiedPendingClaim; exports.handleRegister = _chunkHUIFUE4Ljs.handleRegister; exports.handleStatus = _chunkHUIFUE4Ljs.handleStatus; exports.handleWait = _chunkHUIFUE4Ljs.handleWait; exports.httpJson = _chunkHUIFUE4Ljs.httpJson; exports.readPendingAuthClaim = _chunkHUIFUE4Ljs.readPendingAuthClaim; exports.readStatusBanner = _chunkHUIFUE4Ljs.readStatusBanner; exports.registerAuthCommands = _chunkHUIFUE4Ljs.registerAuthCommands; exports.reportApprovalLinkShown = _chunkHUIFUE4Ljs.reportApprovalLinkShown; exports.reportSetupCompleted = _chunkHUIFUE4Ljs.reportSetupCompleted; exports.resolvePendingAuthClaimForResume = _chunkHUIFUE4Ljs.resolvePendingAuthClaimForResume; exports.statusBannerLine = _chunkHUIFUE4Ljs.statusBannerLine;
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
var _chunkRQN4PHREjs = require('./chunk-RQN4PHRE.js');
|
|
7
|
-
require('./chunk-326WVSWS.js');
|
|
8
|
-
require('./chunk-7GNKAACY.js');
|
|
9
|
-
require('./chunk-4NWY7JBB.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-36LQQL5C.js');
|
|
20
|
-
require('./chunk-BLMB4N63.js');
|
|
21
|
-
require('./chunk-N5MLEXZ7.js');
|
|
22
|
-
require('./chunk-E4CABWXL.js');
|
|
23
|
-
require('./chunk-2KHUFWTK.js');
|
|
24
|
-
require('./chunk-NMU3VR5U.js');
|
|
25
|
-
require('./chunk-XDVT3GOM.js');
|
|
26
|
-
require('./chunk-ZWN4RXC2.js');
|
|
27
|
-
require('./chunk-HUC5SGJQ.js');
|
|
28
|
-
require('./chunk-MT3WG3KR.js');
|
|
29
|
-
require('./chunk-XYL26236.js');
|
|
30
|
-
require('./chunk-XVXEARHC.js');
|
|
31
|
-
require('./chunk-MZROKQV3.js');
|
|
32
|
-
require('./chunk-S4YKRH3W.js');
|
|
33
|
-
require('./chunk-WGVJA4I5.js');
|
|
34
|
-
require('./chunk-V46J3UTM.js');
|
|
35
|
-
require('./chunk-MCXPJYBN.js');
|
|
36
|
-
require('./chunk-UQN4VTZL.js');
|
|
37
|
-
require('./chunk-T2N3B7IQ.js');
|
|
38
|
-
require('./chunk-XNYIZMNQ.js');
|
|
39
|
-
require('./chunk-SQWET4SL.js');
|
|
40
|
-
require('./chunk-JMMNCJ7Z.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 = _chunkRQN4PHREjs.describeAnything; exports.findNamed = _chunkRQN4PHREjs.findNamed; exports.nothingNamed = _chunkRQN4PHREjs.nothingNamed; exports.registerDescribeCommand = _chunkRQN4PHREjs.registerDescribeCommand;
|
package/dist/cli/git-X3SCQREB.js
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
var _chunkSBGKKOCCjs = require('./chunk-SBGKKOCC.js');
|
|
9
|
-
require('./chunk-V46J3UTM.js');
|
|
10
|
-
require('./chunk-MCXPJYBN.js');
|
|
11
|
-
require('./chunk-UQN4VTZL.js');
|
|
12
|
-
require('./chunk-T2N3B7IQ.js');
|
|
13
|
-
require('./chunk-XNYIZMNQ.js');
|
|
14
|
-
require('./chunk-SQWET4SL.js');
|
|
15
|
-
require('./chunk-JMMNCJ7Z.js');
|
|
16
|
-
require('./chunk-OG64RBAC.js');
|
|
17
|
-
require('./chunk-COGTRVWW.js');
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
exports.handleDeploymentGet = _chunkSBGKKOCCjs.handleDeploymentGet; exports.handleDeploymentsList = _chunkSBGKKOCCjs.handleDeploymentsList; exports.registerGitCommands = _chunkSBGKKOCCjs.registerGitCommands; exports.renderDeployment = _chunkSBGKKOCCjs.renderDeployment; exports.renderDeploymentMonitorLines = _chunkSBGKKOCCjs.renderDeploymentMonitorLines; exports.renderDeploymentPlayLines = _chunkSBGKKOCCjs.renderDeploymentPlayLines;
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
var _chunk4NWY7JBBjs = require('./chunk-4NWY7JBB.js');
|
|
9
|
-
require('./chunk-D3BCSAN7.js');
|
|
10
|
-
require('./chunk-36LQQL5C.js');
|
|
11
|
-
require('./chunk-N5MLEXZ7.js');
|
|
12
|
-
require('./chunk-E4CABWXL.js');
|
|
13
|
-
require('./chunk-2KHUFWTK.js');
|
|
14
|
-
require('./chunk-NMU3VR5U.js');
|
|
15
|
-
require('./chunk-XDVT3GOM.js');
|
|
16
|
-
require('./chunk-WGVJA4I5.js');
|
|
17
|
-
require('./chunk-V46J3UTM.js');
|
|
18
|
-
require('./chunk-MCXPJYBN.js');
|
|
19
|
-
require('./chunk-UQN4VTZL.js');
|
|
20
|
-
require('./chunk-T2N3B7IQ.js');
|
|
21
|
-
require('./chunk-XNYIZMNQ.js');
|
|
22
|
-
require('./chunk-SQWET4SL.js');
|
|
23
|
-
require('./chunk-JMMNCJ7Z.js');
|
|
24
|
-
require('./chunk-OG64RBAC.js');
|
|
25
|
-
require('./chunk-COGTRVWW.js');
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
exports.SEARCH_TYPES = _chunk4NWY7JBBjs.SEARCH_TYPES; exports.appendCsv = _chunk4NWY7JBBjs.appendCsv; exports.parseTypes = _chunk4NWY7JBBjs.parseTypes; exports.pointAtDescribe = _chunk4NWY7JBBjs.pointAtDescribe; exports.registerDeprecatedSearchCommand = _chunk4NWY7JBBjs.registerDeprecatedSearchCommand; exports.registerSearchCommand = _chunk4NWY7JBBjs.registerSearchCommand;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
var _chunkK326BEVRjs = require('./chunk-K326BEVR.js');
|
|
5
|
-
require('./chunk-FBMOBNJY.js');
|
|
6
|
-
require('./chunk-V46J3UTM.js');
|
|
7
|
-
require('./chunk-MCXPJYBN.js');
|
|
8
|
-
require('./chunk-UQN4VTZL.js');
|
|
9
|
-
require('./chunk-T2N3B7IQ.js');
|
|
10
|
-
require('./chunk-XNYIZMNQ.js');
|
|
11
|
-
require('./chunk-SQWET4SL.js');
|
|
12
|
-
require('./chunk-JMMNCJ7Z.js');
|
|
13
|
-
require('./chunk-OG64RBAC.js');
|
|
14
|
-
require('./chunk-COGTRVWW.js');
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
exports.registerSessionSendRenderCommands = _chunkK326BEVRjs.registerSessionSendRenderCommands; exports.registerSessionsCommands = _chunkK326BEVRjs.registerSessionsCommands;
|