deepline 0.3.396 → 0.3.397
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/shared_libs/play-runtime/fixture-behavior.ts +2 -2
- package/dist/cli/{auth-3LTD62VL.mjs → auth-AZJFXGKP.mjs} +5 -4
- package/dist/cli/auth-CZJQU7B5.js +40 -0
- package/dist/cli/{billing-PA5OXEM5.js → billing-MQV5AGDJ.js} +76 -75
- package/dist/cli/{billing-DP7ZAJBO.mjs → billing-MZAAUHGH.mjs} +5 -4
- package/dist/cli/{chunk-VE3U3SQC.mjs → chunk-2LDADJNO.mjs} +7 -107
- package/dist/cli/{chunk-772W2SAU.js → chunk-3VP34TAU.js} +8 -8
- package/dist/cli/{chunk-QHGPA362.mjs → chunk-4D745XZO.mjs} +6 -108
- package/dist/cli/chunk-7DRPTGCK.js +930 -0
- package/dist/cli/{chunk-NSOTASOP.js → chunk-BQR6UN3C.js} +1 -83
- package/dist/cli/{chunk-RTO5QZWT.js → chunk-DQ65ZVHN.js} +6 -6
- package/dist/cli/{chunk-3T4MCB5R.mjs → chunk-F3BUFYKE.mjs} +89 -969
- package/dist/cli/chunk-FIVKWNMT.mjs +210 -0
- package/dist/cli/{describe-6O2ENKTP.mjs → chunk-HFYQBC2D.mjs} +22 -160
- package/dist/cli/chunk-HGFFYVXN.js +210 -0
- package/dist/cli/{chunk-5WNJF2T3.mjs → chunk-IHG7UAHD.mjs} +1 -83
- package/dist/cli/{chunk-GNN4MY5X.js → chunk-IZ74ABSX.js} +1 -1
- package/dist/cli/{chunk-MR6XCBQJ.mjs → chunk-J7ABTQQ7.mjs} +4 -2
- package/dist/cli/{chunk-2VOLOWYZ.js → chunk-K33MXVXQ.js} +293 -1173
- package/dist/cli/chunk-LJ5747UC.mjs +107 -0
- package/dist/cli/{chunk-NHB5YUCS.mjs → chunk-MRXMMERY.mjs} +1 -1
- package/dist/cli/{chunk-TLQ3FZOC.mjs → chunk-MV7QRALK.mjs} +3 -3
- package/dist/cli/{chunk-AUYXWELC.mjs → chunk-MYPH2LUU.mjs} +2 -2
- package/dist/cli/{chunk-LWERJUKN.js → chunk-NA4T3B62.js} +7 -215
- package/dist/cli/{chunk-23GAA3YO.mjs → chunk-NOX2TCBP.mjs} +1 -1
- package/dist/cli/chunk-OSDXE27V.mjs +88 -0
- package/dist/cli/{chunk-KAEZNPUM.js → chunk-PSGEDGLT.js} +13 -115
- package/dist/cli/chunk-Q2E4E4FJ.js +112 -0
- package/dist/cli/{describe-EFWNECHI.js → chunk-RFG3MRAC.js} +37 -175
- package/dist/cli/{chunk-XKZXO7D3.mjs → chunk-RNSWDKBM.mjs} +1 -1
- package/dist/cli/{chunk-V7UP2F4U.js → chunk-RYW4HPSM.js} +21 -121
- package/dist/cli/{chunk-7Z66NHUC.js → chunk-SO7RUVTY.js} +26 -26
- package/dist/cli/{chunk-H5KLUGY7.mjs → chunk-TXZVVBQZ.mjs} +1 -209
- package/dist/cli/{chunk-WQJJNIMQ.js → chunk-UVXBVUZQ.js} +11 -9
- package/dist/cli/{chunk-AVHLATII.js → chunk-VTF4RRWJ.js} +50 -50
- package/dist/cli/{chunk-LOGGNW4H.mjs → chunk-W3HMGKMI.mjs} +2 -2
- package/dist/cli/{chunk-JCN4DHF7.mjs → chunk-WM2QEHZL.mjs} +2 -2
- package/dist/cli/chunk-YHPYUZZX.mjs +112 -0
- package/dist/cli/chunk-YHZUZO3U.mjs +930 -0
- package/dist/cli/{chunk-ME6XRFLY.js → chunk-YLRME7MK.js} +15 -15
- package/dist/cli/{chunk-DC6LTULT.js → chunk-YSVORIEW.js} +2 -2
- package/dist/cli/{chunk-I4T4XAA2.mjs → chunk-YUDKBQUD.mjs} +4 -4
- package/dist/cli/chunk-ZAAKSJAS.js +88 -0
- package/dist/cli/{chunk-RMTASUAK.js → chunk-ZHUMDMOS.js} +65 -65
- package/dist/cli/chunk-ZM2YPJQJ.js +107 -0
- package/dist/cli/{csv-TF576S77.js → csv-AQBQ5O3I.js} +13 -12
- package/dist/cli/{csv-RLRR74RQ.mjs → csv-MB7PJMYQ.mjs} +4 -3
- package/dist/cli/{db-FDBJUTFO.js → db-JPUYC5RB.js} +30 -29
- package/dist/cli/{db-XORGNBIC.mjs → db-L5IEI2AU.mjs} +5 -4
- package/dist/cli/describe-6WT74AOR.js +164 -0
- package/dist/cli/describe-S6BFANVI.mjs +164 -0
- package/dist/cli/describe-core.d.mts +100 -0
- package/dist/cli/describe-core.d.ts +100 -0
- package/dist/cli/describe-core.js +18 -0
- package/dist/cli/describe-core.mjs +18 -0
- package/dist/cli/{executions-SFYAXPF4.js → executions-6TMQTFP4.js} +7 -6
- package/dist/cli/{executions-YPP7WR77.mjs → executions-L7I2ZW4Z.mjs} +5 -4
- package/dist/cli/{feedback-RBGA5ARU.mjs → feedback-DSJ63HK6.mjs} +4 -3
- package/dist/cli/{feedback-5UZFYMGB.js → feedback-XF7CQGMD.js} +8 -7
- package/dist/cli/{git-IRSAJEK2.mjs → git-C3ENM67D.mjs} +5 -4
- package/dist/cli/git-HYDZK2QR.js +24 -0
- package/dist/cli/index.js +93 -91
- package/dist/cli/index.mjs +35 -33
- package/dist/cli/{legacy-noops-CVAOQY2F.js → legacy-noops-B2NHWIVD.js} +8 -7
- package/dist/cli/{legacy-noops-NA7N6ZOU.mjs → legacy-noops-VFG2K6HK.mjs} +5 -4
- package/dist/cli/{monitors-4OMRXCXP.js → monitors-ORFWOVZB.js} +86 -85
- package/dist/cli/{monitors-ILZ2XHYG.mjs → monitors-TCEDBDGY.mjs} +5 -4
- package/dist/cli/{org-QDDXAE3J.mjs → org-45KREIKZ.mjs} +5 -4
- package/dist/cli/{org-YGNJDD2X.js → org-T74CJESN.js} +65 -64
- package/dist/cli/{play-VT6OHB2D.mjs → play-MU7MYBIM.mjs} +19 -15
- package/dist/cli/{play-L535H26U.js → play-XHK2LPON.js} +251 -247
- package/dist/cli/{providers-GPZ6PQAL.js → providers-4MGQKYFD.js} +8 -7
- package/dist/cli/{providers-KG4W5MPK.mjs → providers-VYCXIJT5.mjs} +5 -4
- package/dist/cli/{quickstart-UI27S5LO.js → quickstart-47G3VEOT.js} +6 -5
- package/dist/cli/{quickstart-2JDGTXIG.mjs → quickstart-H724EFM2.mjs} +4 -3
- package/dist/cli/search-3356ENLD.js +30 -0
- package/dist/cli/{search-PW3RAUX7.mjs → search-VQHXEFQ4.mjs} +7 -5
- package/dist/cli/{secrets-WFAXOUZE.js → secrets-ALLKCU35.js} +14 -13
- package/dist/cli/{secrets-HNOMK5A2.mjs → secrets-CPBNGA44.mjs} +5 -4
- package/dist/cli/{sessions-XLX3E5UO.mjs → sessions-7RSQB7IX.mjs} +5 -4
- package/dist/cli/sessions-FKGAY7WQ.js +16 -0
- package/dist/cli/{settings-YNZ4YKCH.mjs → settings-UYSGV4IC.mjs} +8 -7
- package/dist/cli/{settings-GADAG2UK.js → settings-Y5BI42P7.js} +75 -74
- package/dist/cli/{setup-PSEHIUXO.mjs → setup-L3ZBBTS4.mjs} +7 -6
- package/dist/cli/{setup-R5YO7GT6.js → setup-VXQPEU3E.js} +42 -41
- package/dist/cli/skills-DUZQTDTE.js +29 -0
- package/dist/cli/{skills-LTQBP6CZ.mjs → skills-QHVDLSFE.mjs} +5 -4
- package/dist/cli/{tools-UAXDWU63.mjs → tools-LSCEK4K2.mjs} +13 -8
- package/dist/cli/tools-YWU5QOQ5.js +39 -0
- package/dist/cli/update-5LYQAI55.js +29 -0
- package/dist/cli/{update-SMNIBIMS.mjs → update-CU22OTBM.mjs} +7 -6
- package/dist/cli/{workflow-AOQVZHMD.js → workflow-ERFLTRNX.js} +16 -15
- package/dist/cli/{workflow-IKGMBGF6.mjs → workflow-KQARK5BZ.mjs} +6 -5
- package/dist/{client-DiGl8ska.d.mts → client-D0j-_aaa.d.mts} +1 -1
- package/dist/{client-Bgis7F6-.d.ts → client-DflfVyj6.d.ts} +1 -1
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +14 -10
- package/dist/index.mjs +19 -15
- package/dist/install-integrity.json +92 -76
- 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/package.json +6 -1
- package/dist/cli/auth-562JPKOM.js +0 -39
- package/dist/cli/git-5LDY5ZID.js +0 -23
- package/dist/cli/search-MGWROZ33.js +0 -28
- package/dist/cli/sessions-366KROUA.js +0 -15
- package/dist/cli/skills-JF2LPEGM.js +0 -28
- package/dist/cli/tools-CP2PEFRN.js +0 -34
- package/dist/cli/update-HZHZOU6C.js +0 -28
|
@@ -682,85 +682,6 @@ function describedPlay(play) {
|
|
|
682
682
|
};
|
|
683
683
|
}
|
|
684
684
|
|
|
685
|
-
// src/cli/describe-options.ts
|
|
686
|
-
function addDescribeOptions(command, options = {}) {
|
|
687
|
-
command.option(
|
|
688
|
-
"--prebuilt",
|
|
689
|
-
"Show the Deepline tool or play, not a play your workspace created under the same name"
|
|
690
|
-
).option("--tool", "Same as --prebuilt").option(
|
|
691
|
-
"--verbose",
|
|
692
|
-
"Show secondary fields, and fill in every input and read every output in the examples"
|
|
693
|
-
).option(
|
|
694
|
-
"--cli-example",
|
|
695
|
-
"Show only the CLI example, and explain how it takes inputs and returns outputs"
|
|
696
|
-
).option(
|
|
697
|
-
"--play-example",
|
|
698
|
-
"Show only the in-play example, and explain how it takes inputs and returns outputs"
|
|
699
|
-
).option("--no-example", "Hide the run examples").option(
|
|
700
|
-
"--full-schema",
|
|
701
|
-
`Print every field: a long schema unfolded (over ${SCHEMA_LINE_LIMIT} lines), list rows, and a tool's raw response`
|
|
702
|
-
).option(
|
|
703
|
-
"--fields <names>",
|
|
704
|
-
"Show only these fields, comma-separated, plus every required input"
|
|
705
|
-
).option(
|
|
706
|
-
"--feature <name[=value]>",
|
|
707
|
-
"Describe one feature of a tool, such as a model: --feature model=openai/gpt-5.6-luna. A tool lists its features."
|
|
708
|
-
).option(
|
|
709
|
-
"-o, --out <path>",
|
|
710
|
-
"Save the output to this file instead of printing it"
|
|
711
|
-
);
|
|
712
|
-
if (options.schemaOnly !== false) {
|
|
713
|
-
command.option(
|
|
714
|
-
"--schema-only",
|
|
715
|
-
"Print only the schema, with every field, and nothing else"
|
|
716
|
-
);
|
|
717
|
-
}
|
|
718
|
-
if (options.json !== false) {
|
|
719
|
-
command.option(
|
|
720
|
-
"--json",
|
|
721
|
-
"Print JSON instead of text; with --schema-only, only the input and output JSON Schemas"
|
|
722
|
-
);
|
|
723
|
-
}
|
|
724
|
-
return command;
|
|
725
|
-
}
|
|
726
|
-
|
|
727
|
-
// src/cli/execution-observation.ts
|
|
728
|
-
import { writeFileSync, renameSync } from "fs";
|
|
729
|
-
function writeObservation(observation) {
|
|
730
|
-
const path = process.env.DEEPLINE_EXECUTION_OBSERVATION_PATH;
|
|
731
|
-
const invocationId = process.env.DEEPLINE_EXECUTION_OBSERVATION_ID;
|
|
732
|
-
if (!path || !invocationId) return;
|
|
733
|
-
const pending = `${path}.pending`;
|
|
734
|
-
writeFileSync(
|
|
735
|
-
pending,
|
|
736
|
-
JSON.stringify({
|
|
737
|
-
schema_version: 1,
|
|
738
|
-
invocation_id: invocationId,
|
|
739
|
-
...observation
|
|
740
|
-
}),
|
|
741
|
-
{ mode: 384 }
|
|
742
|
-
);
|
|
743
|
-
renameSync(pending, path);
|
|
744
|
-
}
|
|
745
|
-
function recordApiResponse(observation) {
|
|
746
|
-
writeObservation({
|
|
747
|
-
kind: "api_response",
|
|
748
|
-
received_at_ms: observation.receivedAtMs,
|
|
749
|
-
state: observation.state,
|
|
750
|
-
http_status: observation.httpStatus
|
|
751
|
-
});
|
|
752
|
-
}
|
|
753
|
-
function recordPlayTermination(run) {
|
|
754
|
-
if (typeof run.id !== "string" || !["completed", "failed", "cancelled", "canceled"].includes(
|
|
755
|
-
String(run.status)
|
|
756
|
-
) || typeof run.finishedAt !== "number" || !Number.isSafeInteger(run.finishedAt) || run.finishedAt <= 0)
|
|
757
|
-
return;
|
|
758
|
-
writeObservation({
|
|
759
|
-
kind: "play_terminal",
|
|
760
|
-
run: { id: run.id, status: run.status, finishedAt: run.finishedAt }
|
|
761
|
-
});
|
|
762
|
-
}
|
|
763
|
-
|
|
764
685
|
export {
|
|
765
686
|
byokLines,
|
|
766
687
|
SCHEMA_LINE_LIMIT,
|
|
@@ -773,8 +694,5 @@ export {
|
|
|
773
694
|
topLevelField,
|
|
774
695
|
describedJson,
|
|
775
696
|
buildPlayDashboardUrl,
|
|
776
|
-
describedPlay
|
|
777
|
-
addDescribeOptions,
|
|
778
|
-
recordApiResponse,
|
|
779
|
-
recordPlayTermination
|
|
697
|
+
describedPlay
|
|
780
698
|
};
|
|
@@ -49,7 +49,7 @@ var SDK_RELEASE = {
|
|
|
49
49
|
// getters keep their established compatibility behavior.
|
|
50
50
|
// 0.3.1 deprecated the legacy `deepline enrich` command in favor of Plays.
|
|
51
51
|
// 0.3.90 is the first deliberately versioned SDK release for API v3.
|
|
52
|
-
version: "0.3.
|
|
52
|
+
version: "0.3.397",
|
|
53
53
|
updateSummary: "Play grep now returns concise results with the matched fields and terms. Automatic CLI updates are enabled by default; use `deepline settings autoupdate off` to opt out, `deepline settings autoupdate on` to re-enable updates, or `deepline settings autoupdate pin <version>` to hold an exact release.",
|
|
54
54
|
packageCapabilities: {
|
|
55
55
|
updatePreferences: 1,
|
|
@@ -20,12 +20,14 @@ import {
|
|
|
20
20
|
} from "./chunk-EIMG75BT.mjs";
|
|
21
21
|
import {
|
|
22
22
|
COORDINATOR_INTERNAL_TOKEN_HEADER,
|
|
23
|
-
CustomerDbQueryOutcomeUnknownError,
|
|
24
23
|
HttpClient,
|
|
25
24
|
RETAINED_PIPELINE_RECEIVERS_HEADER,
|
|
26
25
|
RUNTIME_ENVIRONMENT_TOKEN_HEADER,
|
|
27
26
|
resolveConfig
|
|
28
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-2LDADJNO.mjs";
|
|
28
|
+
import {
|
|
29
|
+
CustomerDbQueryOutcomeUnknownError
|
|
30
|
+
} from "./chunk-YHPYUZZX.mjs";
|
|
29
31
|
import {
|
|
30
32
|
DeeplineError,
|
|
31
33
|
TOOL_EXECUTION_ERROR_SCHEMA_HEADER,
|