deepline 0.1.264 → 0.1.266
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bundling-sources/sdk/src/release.ts +1 -1
- package/dist/bundling-sources/sdk/src/types.ts +58 -0
- package/dist/bundling-sources/shared_libs/play-runtime/context.ts +20 -1
- package/dist/bundling-sources/shared_libs/play-runtime/csv-rename.ts +50 -4
- package/dist/bundling-sources/shared_libs/play-runtime/secret-resolution-retry-policy.ts +6 -0
- package/dist/cli/index.js +131 -257
- package/dist/cli/index.mjs +129 -255
- package/dist/index.d.mts +56 -0
- package/dist/index.d.ts +56 -0
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -667,6 +667,62 @@ interface PlayStatus {
|
|
|
667
667
|
};
|
|
668
668
|
/** Exact ordinary `plays run` command that can rerun a failed execution. */
|
|
669
669
|
rerunCommand?: string;
|
|
670
|
+
/**
|
|
671
|
+
* Projected settled-charge billing for the run. Returned by `runs.get`.
|
|
672
|
+
* `totalCredits`/`providerEvents` describe THIS run only; `rollup` (present
|
|
673
|
+
* with `--full`) carries the true subtree cost including ctx.runPlay children.
|
|
674
|
+
* Deepline credits only — provider spend is never exposed.
|
|
675
|
+
*/
|
|
676
|
+
billing?: RunBillingSummary;
|
|
677
|
+
/**
|
|
678
|
+
* True subtree cost in Deepline credits (this run + every descendant run),
|
|
679
|
+
* mirrored to the top level for convenience. Present only with `--full`.
|
|
680
|
+
*/
|
|
681
|
+
billingTotalCreditsRollup?: number;
|
|
682
|
+
/** Deepline credits attributable to descendant runs only. Present with `--full`. */
|
|
683
|
+
billingChildCredits?: number;
|
|
684
|
+
/** True when the child-run billing rollup could not be fully resolved. */
|
|
685
|
+
billingRollupIncomplete?: boolean;
|
|
686
|
+
/** Durable summaries of ctx.runPlay children, returned by `runs.get --full`. */
|
|
687
|
+
childRuns?: ChildRunSummary[];
|
|
688
|
+
}
|
|
689
|
+
/** One ctx.runPlay child run exposed on the parent's `--full` payload. */
|
|
690
|
+
interface ChildRunSummary {
|
|
691
|
+
runId: string;
|
|
692
|
+
playName?: string | null;
|
|
693
|
+
status: string;
|
|
694
|
+
parentRunId?: string | null;
|
|
695
|
+
rootRunId?: string | null;
|
|
696
|
+
createdAt?: number | null;
|
|
697
|
+
startedAt?: number | null;
|
|
698
|
+
finishedAt?: number | null;
|
|
699
|
+
}
|
|
700
|
+
/**
|
|
701
|
+
* Rolled-up billing for a run subtree, projected from settled Charge Lifecycle
|
|
702
|
+
* facts. Deepline credits only — never provider spend.
|
|
703
|
+
*/
|
|
704
|
+
interface RunBillingSummary {
|
|
705
|
+
runId: string;
|
|
706
|
+
/** THIS run's own charges (parent-only; excludes descendant runs). */
|
|
707
|
+
totalCalls: number;
|
|
708
|
+
totalCredits: number;
|
|
709
|
+
providerEvents: number;
|
|
710
|
+
computeEvents: number;
|
|
711
|
+
/** Subtree rollup including descendant ctx.runPlay runs. Present with `--full`. */
|
|
712
|
+
rollup?: {
|
|
713
|
+
totalCreditsRollup: number;
|
|
714
|
+
childCredits: number;
|
|
715
|
+
ownCredits: number;
|
|
716
|
+
totalCallsRollup: number;
|
|
717
|
+
providerEventsRollup: number;
|
|
718
|
+
computeEventsRollup: number;
|
|
719
|
+
childProviderEvents: number;
|
|
720
|
+
childComputeEvents: number;
|
|
721
|
+
descendantRunCount: number;
|
|
722
|
+
rollupComplete: boolean;
|
|
723
|
+
rollupError?: string;
|
|
724
|
+
};
|
|
725
|
+
[key: string]: unknown;
|
|
670
726
|
}
|
|
671
727
|
type LiveEventScope = 'play' | 'agent';
|
|
672
728
|
interface LiveEventEnvelope<TPayload = unknown> {
|
package/dist/index.d.ts
CHANGED
|
@@ -667,6 +667,62 @@ interface PlayStatus {
|
|
|
667
667
|
};
|
|
668
668
|
/** Exact ordinary `plays run` command that can rerun a failed execution. */
|
|
669
669
|
rerunCommand?: string;
|
|
670
|
+
/**
|
|
671
|
+
* Projected settled-charge billing for the run. Returned by `runs.get`.
|
|
672
|
+
* `totalCredits`/`providerEvents` describe THIS run only; `rollup` (present
|
|
673
|
+
* with `--full`) carries the true subtree cost including ctx.runPlay children.
|
|
674
|
+
* Deepline credits only — provider spend is never exposed.
|
|
675
|
+
*/
|
|
676
|
+
billing?: RunBillingSummary;
|
|
677
|
+
/**
|
|
678
|
+
* True subtree cost in Deepline credits (this run + every descendant run),
|
|
679
|
+
* mirrored to the top level for convenience. Present only with `--full`.
|
|
680
|
+
*/
|
|
681
|
+
billingTotalCreditsRollup?: number;
|
|
682
|
+
/** Deepline credits attributable to descendant runs only. Present with `--full`. */
|
|
683
|
+
billingChildCredits?: number;
|
|
684
|
+
/** True when the child-run billing rollup could not be fully resolved. */
|
|
685
|
+
billingRollupIncomplete?: boolean;
|
|
686
|
+
/** Durable summaries of ctx.runPlay children, returned by `runs.get --full`. */
|
|
687
|
+
childRuns?: ChildRunSummary[];
|
|
688
|
+
}
|
|
689
|
+
/** One ctx.runPlay child run exposed on the parent's `--full` payload. */
|
|
690
|
+
interface ChildRunSummary {
|
|
691
|
+
runId: string;
|
|
692
|
+
playName?: string | null;
|
|
693
|
+
status: string;
|
|
694
|
+
parentRunId?: string | null;
|
|
695
|
+
rootRunId?: string | null;
|
|
696
|
+
createdAt?: number | null;
|
|
697
|
+
startedAt?: number | null;
|
|
698
|
+
finishedAt?: number | null;
|
|
699
|
+
}
|
|
700
|
+
/**
|
|
701
|
+
* Rolled-up billing for a run subtree, projected from settled Charge Lifecycle
|
|
702
|
+
* facts. Deepline credits only — never provider spend.
|
|
703
|
+
*/
|
|
704
|
+
interface RunBillingSummary {
|
|
705
|
+
runId: string;
|
|
706
|
+
/** THIS run's own charges (parent-only; excludes descendant runs). */
|
|
707
|
+
totalCalls: number;
|
|
708
|
+
totalCredits: number;
|
|
709
|
+
providerEvents: number;
|
|
710
|
+
computeEvents: number;
|
|
711
|
+
/** Subtree rollup including descendant ctx.runPlay runs. Present with `--full`. */
|
|
712
|
+
rollup?: {
|
|
713
|
+
totalCreditsRollup: number;
|
|
714
|
+
childCredits: number;
|
|
715
|
+
ownCredits: number;
|
|
716
|
+
totalCallsRollup: number;
|
|
717
|
+
providerEventsRollup: number;
|
|
718
|
+
computeEventsRollup: number;
|
|
719
|
+
childProviderEvents: number;
|
|
720
|
+
childComputeEvents: number;
|
|
721
|
+
descendantRunCount: number;
|
|
722
|
+
rollupComplete: boolean;
|
|
723
|
+
rollupError?: string;
|
|
724
|
+
};
|
|
725
|
+
[key: string]: unknown;
|
|
670
726
|
}
|
|
671
727
|
type LiveEventScope = 'play' | 'agent';
|
|
672
728
|
interface LiveEventEnvelope<TPayload = unknown> {
|
package/dist/index.js
CHANGED
|
@@ -437,7 +437,7 @@ var SDK_RELEASE = {
|
|
|
437
437
|
// 0.1.253 makes play-page browser opening opt-in and retires --no-open.
|
|
438
438
|
// 0.1.254 removes the internal operations tree from the published SDK CLI.
|
|
439
439
|
// Operators use the checkout-local deepline-admin binary instead.
|
|
440
|
-
version: "0.1.
|
|
440
|
+
version: "0.1.266",
|
|
441
441
|
apiContract: "2026-07-admin-cli-local-cutover",
|
|
442
442
|
supportPolicy: {
|
|
443
443
|
minimumSupported: "0.1.53",
|
package/dist/index.mjs
CHANGED
|
@@ -367,7 +367,7 @@ var SDK_RELEASE = {
|
|
|
367
367
|
// 0.1.253 makes play-page browser opening opt-in and retires --no-open.
|
|
368
368
|
// 0.1.254 removes the internal operations tree from the published SDK CLI.
|
|
369
369
|
// Operators use the checkout-local deepline-admin binary instead.
|
|
370
|
-
version: "0.1.
|
|
370
|
+
version: "0.1.266",
|
|
371
371
|
apiContract: "2026-07-admin-cli-local-cutover",
|
|
372
372
|
supportPolicy: {
|
|
373
373
|
minimumSupported: "0.1.53",
|