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,88 +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
|
-
var _fs = require('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
|
-
_fs.writeFileSync.call(void 0,
|
|
735
|
-
pending,
|
|
736
|
-
JSON.stringify({
|
|
737
|
-
schema_version: 1,
|
|
738
|
-
invocation_id: invocationId,
|
|
739
|
-
...observation
|
|
740
|
-
}),
|
|
741
|
-
{ mode: 384 }
|
|
742
|
-
);
|
|
743
|
-
_fs.renameSync.call(void 0, 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
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
685
|
|
|
768
686
|
|
|
769
687
|
|
|
@@ -777,4 +695,4 @@ function recordPlayTermination(run) {
|
|
|
777
695
|
|
|
778
696
|
|
|
779
697
|
|
|
780
|
-
exports.byokLines = byokLines; exports.SCHEMA_LINE_LIMIT = SCHEMA_LINE_LIMIT; exports.schemaField = schemaField; exports.schemaFields = schemaFields; exports.rateLimitSummary = rateLimitSummary; exports.schemaLines = schemaLines; exports.examples = examples; exports.describedLines = describedLines; exports.topLevelField = topLevelField; exports.describedJson = describedJson; exports.buildPlayDashboardUrl = buildPlayDashboardUrl; exports.describedPlay = describedPlay;
|
|
698
|
+
exports.byokLines = byokLines; exports.SCHEMA_LINE_LIMIT = SCHEMA_LINE_LIMIT; exports.schemaField = schemaField; exports.schemaFields = schemaFields; exports.rateLimitSummary = rateLimitSummary; exports.schemaLines = schemaLines; exports.examples = examples; exports.describedLines = describedLines; exports.topLevelField = topLevelField; exports.describedJson = describedJson; exports.buildPlayDashboardUrl = buildPlayDashboardUrl; exports.describedPlay = describedPlay;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkRYW4HPSMjs = require('./chunk-RYW4HPSM.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
@@ -226,8 +226,8 @@ var BROWSER_OPEN_COOLDOWN_MS = 3e4;
|
|
|
226
226
|
var SAME_URL_BROWSER_OPEN_COOLDOWN_MS = 5 * 6e4;
|
|
227
227
|
var defaultBrowserCommandRunner = childProcess;
|
|
228
228
|
function getAuthedHttpClient() {
|
|
229
|
-
const config =
|
|
230
|
-
return { config, http: new (0,
|
|
229
|
+
const config = _chunkRYW4HPSMjs.resolveConfig.call(void 0, );
|
|
230
|
+
return { config, http: new (0, _chunkRYW4HPSMjs.HttpClient)(config) };
|
|
231
231
|
}
|
|
232
232
|
function stableOsUserId() {
|
|
233
233
|
try {
|
|
@@ -567,7 +567,7 @@ function collectLocalEnvInfo() {
|
|
|
567
567
|
os: `${process.platform} ${process.arch}`,
|
|
568
568
|
node_version: process.version,
|
|
569
569
|
home_dir: homeDir,
|
|
570
|
-
agent_runtime:
|
|
570
|
+
agent_runtime: _chunkRYW4HPSMjs.detectAgentRuntime.call(void 0, )
|
|
571
571
|
};
|
|
572
572
|
const env = process.env;
|
|
573
573
|
const optional = {
|
|
@@ -814,9 +814,9 @@ function markdownTableFromRows(rows, preferredColumns = []) {
|
|
|
814
814
|
}
|
|
815
815
|
function withAgentCommandContext(value) {
|
|
816
816
|
const valueRecord = value !== null && typeof value === "object" && !Array.isArray(value) ? value : null;
|
|
817
|
-
return
|
|
817
|
+
return _chunkRYW4HPSMjs.detectAgentRuntime.call(void 0, ) !== "unknown" && valueRecord && !Object.prototype.hasOwnProperty.call(valueRecord, "command_context") ? {
|
|
818
818
|
...valueRecord,
|
|
819
|
-
command_context:
|
|
819
|
+
command_context: _chunkRYW4HPSMjs.resolveCliCommandContext.call(void 0, )
|
|
820
820
|
} : value;
|
|
821
821
|
}
|
|
822
822
|
function printJson(value, fields) {
|