deepline 0.3.294 → 0.3.295

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.
Files changed (136) hide show
  1. package/dist/bundling-sources/sdk/src/compat.ts +35 -7
  2. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  3. package/dist/bundling-sources/shared_libs/play-runtime/tool-http-errors.ts +14 -1
  4. package/dist/cli/auth-EDTRERZP.mjs +31 -0
  5. package/dist/cli/auth-TDHKB277.js +31 -0
  6. package/dist/cli/billing-ELIDPILY.js +1749 -0
  7. package/dist/cli/billing-EXGXJVAU.mjs +1749 -0
  8. package/dist/cli/chunk-2S5Y3TZP.js +5688 -0
  9. package/dist/cli/chunk-3KC45UVF.js +150 -0
  10. package/dist/cli/chunk-3XX5TEA4.js +15 -0
  11. package/dist/cli/chunk-4MBOJQPL.mjs +0 -0
  12. package/dist/cli/chunk-4NEFYBF7.js +2240 -0
  13. package/dist/cli/chunk-5JLQPVNX.js +3056 -0
  14. package/dist/cli/chunk-5KDKFHZI.js +1269 -0
  15. package/dist/cli/chunk-6A3TJUWC.js +76 -0
  16. package/dist/cli/chunk-6O5YZOVN.mjs +890 -0
  17. package/dist/cli/chunk-7P5AA3SN.js +344 -0
  18. package/dist/cli/chunk-AYHLUHE5.js +52 -0
  19. package/dist/cli/chunk-CBVIJSHF.mjs +560 -0
  20. package/dist/cli/chunk-CFVVCN4A.js +735 -0
  21. package/dist/cli/chunk-COGTRVWW.js +30 -0
  22. package/dist/cli/chunk-D4AZUZO4.js +190 -0
  23. package/dist/cli/chunk-DLIRSHV6.mjs +28 -0
  24. package/dist/cli/chunk-EACVZI6N.mjs +1995 -0
  25. package/dist/cli/chunk-EDWJY6T4.mjs +3056 -0
  26. package/dist/cli/chunk-EXMLR72R.mjs +0 -0
  27. package/dist/cli/chunk-F35VOIQL.js +890 -0
  28. package/dist/cli/chunk-GAMFK2ZP.mjs +148 -0
  29. package/dist/cli/chunk-GHRQQPW2.mjs +2240 -0
  30. package/dist/cli/chunk-GONRLVV3.js +3440 -0
  31. package/dist/cli/chunk-GVUJJJ5G.mjs +76 -0
  32. package/dist/cli/chunk-H7HIDGZ7.mjs +150 -0
  33. package/dist/cli/chunk-HUZXWOSK.mjs +503 -0
  34. package/dist/cli/chunk-I5YZLGMG.js +1 -0
  35. package/dist/cli/chunk-ITOFSXIU.mjs +15 -0
  36. package/dist/cli/chunk-J5NA2TTX.js +503 -0
  37. package/dist/cli/chunk-JCS5TPNY.mjs +3440 -0
  38. package/dist/cli/chunk-JNNOCMQY.js +47 -0
  39. package/dist/cli/chunk-KRD6H754.mjs +30 -0
  40. package/dist/cli/chunk-LA46MMTL.js +560 -0
  41. package/dist/cli/chunk-LDWT7RJK.mjs +190 -0
  42. package/dist/cli/chunk-M2V26OR5.js +499 -0
  43. package/dist/cli/chunk-MIMASXO4.mjs +389 -0
  44. package/dist/cli/chunk-MROPCKW2.mjs +190 -0
  45. package/dist/cli/chunk-NXDRDJ4K.js +389 -0
  46. package/dist/cli/chunk-NXGCO4JB.mjs +344 -0
  47. package/dist/cli/chunk-OG64RBAC.js +6 -0
  48. package/dist/cli/chunk-OQYEC4GL.mjs +34 -0
  49. package/dist/cli/chunk-OWJZUE3Y.mjs +103 -0
  50. package/dist/cli/chunk-SDK3ZA2C.js +103 -0
  51. package/dist/cli/chunk-SFLARO4Y.mjs +47 -0
  52. package/dist/cli/chunk-SVIIIYIQ.js +923 -0
  53. package/dist/cli/chunk-TAC3JIFE.mjs +354 -0
  54. package/dist/cli/chunk-U3PI7HBM.js +34 -0
  55. package/dist/cli/chunk-UFS752TU.mjs +52 -0
  56. package/dist/cli/chunk-UI37DQE7.mjs +499 -0
  57. package/dist/cli/chunk-UNEMDKXN.js +1 -0
  58. package/dist/cli/chunk-WB6Z2Q44.mjs +1622 -0
  59. package/dist/cli/chunk-WJYPBHTE.js +148 -0
  60. package/dist/cli/chunk-WOHBA5PV.js +354 -0
  61. package/dist/cli/chunk-WQICC2B3.js +190 -0
  62. package/dist/cli/chunk-WZYKRD7T.mjs +6 -0
  63. package/dist/cli/chunk-XL2FO6CW.mjs +5688 -0
  64. package/dist/cli/chunk-XNYIZMNQ.js +28 -0
  65. package/dist/cli/chunk-XRK2TZT5.js +1995 -0
  66. package/dist/cli/chunk-YJYPL5OK.mjs +1269 -0
  67. package/dist/cli/chunk-YWNDYCXR.mjs +735 -0
  68. package/dist/cli/chunk-YWWAF7KZ.mjs +923 -0
  69. package/dist/cli/chunk-ZDO3TO3M.js +1622 -0
  70. package/dist/cli/client-4JVOYVC5.js +20 -0
  71. package/dist/cli/client-EEN2IJN2.mjs +20 -0
  72. package/dist/cli/csv-BOHBEP2I.mjs +585 -0
  73. package/dist/cli/csv-S5NYRUEX.js +585 -0
  74. package/dist/cli/db-CLODWCOB.mjs +486 -0
  75. package/dist/cli/db-F6PKFOOV.js +486 -0
  76. package/dist/cli/executions-5TQAKLJU.js +28 -0
  77. package/dist/cli/executions-MAKW6QOY.mjs +28 -0
  78. package/dist/cli/feedback-GV4QJFEN.js +107 -0
  79. package/dist/cli/feedback-XY24TW7H.mjs +107 -0
  80. package/dist/cli/getting-started.js +18 -76
  81. package/dist/cli/getting-started.mjs +10 -37
  82. package/dist/cli/git-6S2C22T5.js +23 -0
  83. package/dist/cli/git-OZLBD5HH.mjs +23 -0
  84. package/dist/cli/index.js +291 -54294
  85. package/dist/cli/index.mjs +209 -54352
  86. package/dist/cli/legacy-noops-LLCGDPQE.js +157 -0
  87. package/dist/cli/legacy-noops-TYH3TW2D.mjs +157 -0
  88. package/dist/cli/monitors-CABMB4DW.js +3251 -0
  89. package/dist/cli/monitors-TTD55HMK.mjs +3251 -0
  90. package/dist/cli/org-MSF3RG76.js +849 -0
  91. package/dist/cli/org-SFJ77MWY.mjs +849 -0
  92. package/dist/cli/play-NXHJSCKL.mjs +18439 -0
  93. package/dist/cli/play-OKSFNNO4.js +18439 -0
  94. package/dist/cli/providers-QC2ERERL.js +95 -0
  95. package/dist/cli/providers-TIIAZEUA.mjs +95 -0
  96. package/dist/cli/proxy-env-EBANZHPV.js +161 -0
  97. package/dist/cli/proxy-env-M4ZHXHRL.mjs +161 -0
  98. package/dist/cli/quickstart-ICANHLMI.js +69 -0
  99. package/dist/cli/quickstart-KWUOP3FI.mjs +69 -0
  100. package/dist/cli/search-U5H2FDOO.mjs +18 -0
  101. package/dist/cli/search-XQRQOLWS.js +18 -0
  102. package/dist/cli/secrets-3J6YTWFA.mjs +400 -0
  103. package/dist/cli/secrets-YNMNZNOM.js +400 -0
  104. package/dist/cli/sessions-CLEES4L6.mjs +15 -0
  105. package/dist/cli/sessions-J6VR47FG.js +15 -0
  106. package/dist/cli/settings-EEKZMTY4.js +846 -0
  107. package/dist/cli/settings-UVLOQZRH.mjs +846 -0
  108. package/dist/cli/setup-DLMDXPGJ.mjs +1257 -0
  109. package/dist/cli/setup-HC4Q7QM4.js +1257 -0
  110. package/dist/cli/skills-33PHFBSB.mjs +28 -0
  111. package/dist/cli/skills-LFRY3KPX.js +28 -0
  112. package/dist/cli/tools-3COEPKML.mjs +2955 -0
  113. package/dist/cli/tools-QXEVCN45.js +2955 -0
  114. package/dist/cli/update-LSAC4FF5.mjs +28 -0
  115. package/dist/cli/update-NXHSPYXA.js +28 -0
  116. package/dist/cli/workflow-7S44OECF.mjs +1936 -0
  117. package/dist/cli/workflow-QPZWYSZE.js +1936 -0
  118. package/dist/helpers.js +6 -32
  119. package/dist/helpers.mjs +2 -0
  120. package/dist/index.js +1972 -12825
  121. package/dist/index.mjs +1910 -12672
  122. package/dist/install-integrity.json +110 -0
  123. package/dist/monitor-fleet-contract.js +31 -730
  124. package/dist/monitor-fleet-contract.mjs +18 -667
  125. package/dist/monitor-input-contract.js +10 -390
  126. package/dist/monitor-input-contract.mjs +7 -348
  127. package/dist/plays/bundle-play-file.mjs +13 -5178
  128. package/dist/plays/csv-data-input.js +5 -3132
  129. package/dist/plays/csv-data-input.mjs +5 -3105
  130. package/dist/plays/run-request.js +56 -664
  131. package/dist/plays/run-request.mjs +30 -588
  132. package/dist/release.d.mts +1 -1
  133. package/dist/release.d.ts +1 -1
  134. package/dist/release.js +5 -212
  135. package/dist/release.mjs +5 -185
  136. package/package.json +1 -1
@@ -0,0 +1,157 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
+
3
+ var _chunkCFVVCN4Ajs = require('./chunk-CFVVCN4A.js');
4
+
5
+
6
+ var _chunk3XX5TEA4js = require('./chunk-3XX5TEA4.js');
7
+
8
+
9
+ var _chunkF35VOIQLjs = require('./chunk-F35VOIQL.js');
10
+ require('./chunk-XRK2TZT5.js');
11
+ require('./chunk-XNYIZMNQ.js');
12
+ require('./chunk-D4AZUZO4.js');
13
+ require('./chunk-7P5AA3SN.js');
14
+ require('./chunk-OG64RBAC.js');
15
+ require('./chunk-COGTRVWW.js');
16
+
17
+ // src/cli/commands/legacy-noops.ts
18
+ var SESSION_SUBCOMMANDS = [
19
+ "start",
20
+ "status",
21
+ "output",
22
+ "alert",
23
+ "usage",
24
+ "limit"
25
+ ];
26
+ var BACKEND_SUBCOMMANDS = [
27
+ "start",
28
+ "stop",
29
+ "status",
30
+ "refresh-runtime",
31
+ "sync-runtime"
32
+ ];
33
+ function deprecatedCommandEnvelope(input) {
34
+ const command = ["deepline", input.family, input.subcommand].filter(Boolean).join(" ");
35
+ const commandLabel = input.family === "session" ? "Legacy session command" : "Legacy backend command";
36
+ const note = input.family === "session" ? "This command was retired with the legacy Python Session UI. Use `deepline sessions send` or `deepline sessions render`." : "This command was retired with the legacy local backend. Use `deepline-admin dev start`, `deepline-admin dev status`, or `deepline-admin dev stop`.";
37
+ return {
38
+ ok: false,
39
+ command,
40
+ code: "DEPRECATED_COMMAND",
41
+ error: `${commandLabel} is deprecated. ${note}`,
42
+ next: input.family === "session" ? "deepline sessions send --current-session --json" : "deepline-admin dev status --json",
43
+ render: {
44
+ sections: [
45
+ {
46
+ title: `${commandLabel} deprecated`,
47
+ lines: [note]
48
+ }
49
+ ]
50
+ }
51
+ };
52
+ }
53
+ function printDeprecatedCommand(input) {
54
+ _chunkF35VOIQLjs.printCommandEnvelope.call(void 0, deprecatedCommandEnvelope(input), {
55
+ json: input.options.json
56
+ });
57
+ process.exitCode = 2;
58
+ }
59
+ function legacySubcommandFromArgv(family) {
60
+ const args = process.argv.slice(2);
61
+ const familyIndex = args.indexOf(family);
62
+ const nextToken = familyIndex >= 0 ? args[familyIndex + 1] : void 0;
63
+ return nextToken && !nextToken.startsWith("-") ? nextToken : void 0;
64
+ }
65
+ function addDeprecatedSubcommand(parent, family, subcommand, description) {
66
+ parent.command(subcommand).description(description).allowUnknownOption(true).allowExcessArguments(true).option("--json", "Emit JSON output").argument("[args...]").action((_args, options) => {
67
+ printDeprecatedCommand({ family, subcommand, options });
68
+ });
69
+ }
70
+ function registerDeprecatedCommands(program) {
71
+ program.command("enrich", { hidden: true }).description("Deprecated CSV enrichment command.").allowUnknownOption(true).allowExcessArguments(true).option("--json", "Emit JSON output").argument("[args...]").addHelpText("after", `
72
+ ${_chunk3XX5TEA4js.ENRICH_COMMAND_DEPRECATION_MESSAGE}
73
+ `).action((_args, options) => {
74
+ _chunkF35VOIQLjs.printCommandEnvelope.call(void 0,
75
+ {
76
+ ok: false,
77
+ command: "deepline enrich",
78
+ code: "DEPRECATED_COMMAND",
79
+ error: _chunk3XX5TEA4js.ENRICH_COMMAND_DEPRECATION_MESSAGE,
80
+ next: "deepline plays --help",
81
+ render: {
82
+ sections: [
83
+ {
84
+ title: "Deprecated command",
85
+ lines: [_chunk3XX5TEA4js.ENRICH_COMMAND_DEPRECATION_MESSAGE]
86
+ }
87
+ ]
88
+ }
89
+ },
90
+ { json: options.json }
91
+ );
92
+ process.exitCode = 2;
93
+ });
94
+ const session = program.command("session", { hidden: true }).description("Deprecated legacy session command namespace.").allowUnknownOption(true).allowExcessArguments(true).option("--json", "Emit JSON output").argument("[args...]").addHelpText(
95
+ "after",
96
+ `
97
+ Notes:
98
+ The legacy Python Session UI was retired. Legacy session commands now fail
99
+ with a migration instruction; they no longer report a successful no-op.
100
+ Use "deepline sessions send" or "deepline sessions render" for real SDK
101
+ transcript workflows. "deepline session send" and "deepline session render"
102
+ are accepted aliases for those real SDK workflows.
103
+
104
+ Examples:
105
+ deepline session start --steps '["Inspect CSV","Run pilot"]'
106
+ deepline session status --message "Running pilot"
107
+ deepline session output --csv ./results.csv --label "Results"
108
+ `
109
+ ).action((args, options) => {
110
+ void args;
111
+ printDeprecatedCommand({
112
+ family: "session",
113
+ subcommand: legacySubcommandFromArgv("session"),
114
+ options
115
+ });
116
+ });
117
+ _chunkCFVVCN4Ajs.registerSessionSendRenderCommands.call(void 0, session, "session");
118
+ for (const subcommand of SESSION_SUBCOMMANDS) {
119
+ addDeprecatedSubcommand(
120
+ session,
121
+ "session",
122
+ subcommand,
123
+ `Deprecated legacy "deepline session ${subcommand}" command.`
124
+ );
125
+ }
126
+ const backend = program.command("backend", { hidden: true }).description("Deprecated legacy local backend command namespace.").allowUnknownOption(true).allowExcessArguments(true).option("--json", "Emit JSON output").argument("[args...]").addHelpText(
127
+ "after",
128
+ `
129
+ Notes:
130
+ The legacy local backend was retired. Use deepline-admin for local runtime
131
+ lifecycle operations.
132
+
133
+ Examples:
134
+ deepline backend start
135
+ deepline backend stop --just-backend
136
+ deepline backend status --json
137
+ `
138
+ ).action((args, options) => {
139
+ void args;
140
+ printDeprecatedCommand({
141
+ family: "backend",
142
+ subcommand: legacySubcommandFromArgv("backend"),
143
+ options
144
+ });
145
+ });
146
+ for (const subcommand of BACKEND_SUBCOMMANDS) {
147
+ addDeprecatedSubcommand(
148
+ backend,
149
+ "backend",
150
+ subcommand,
151
+ `Deprecated legacy "deepline backend ${subcommand}" command.`
152
+ );
153
+ }
154
+ }
155
+
156
+
157
+ exports.registerDeprecatedCommands = registerDeprecatedCommands;
@@ -0,0 +1,157 @@
1
+ import {
2
+ registerSessionSendRenderCommands
3
+ } from "./chunk-YWNDYCXR.mjs";
4
+ import {
5
+ ENRICH_COMMAND_DEPRECATION_MESSAGE
6
+ } from "./chunk-ITOFSXIU.mjs";
7
+ import {
8
+ printCommandEnvelope
9
+ } from "./chunk-6O5YZOVN.mjs";
10
+ import "./chunk-EACVZI6N.mjs";
11
+ import "./chunk-DLIRSHV6.mjs";
12
+ import "./chunk-LDWT7RJK.mjs";
13
+ import "./chunk-NXGCO4JB.mjs";
14
+ import "./chunk-WZYKRD7T.mjs";
15
+ import "./chunk-KRD6H754.mjs";
16
+
17
+ // src/cli/commands/legacy-noops.ts
18
+ var SESSION_SUBCOMMANDS = [
19
+ "start",
20
+ "status",
21
+ "output",
22
+ "alert",
23
+ "usage",
24
+ "limit"
25
+ ];
26
+ var BACKEND_SUBCOMMANDS = [
27
+ "start",
28
+ "stop",
29
+ "status",
30
+ "refresh-runtime",
31
+ "sync-runtime"
32
+ ];
33
+ function deprecatedCommandEnvelope(input) {
34
+ const command = ["deepline", input.family, input.subcommand].filter(Boolean).join(" ");
35
+ const commandLabel = input.family === "session" ? "Legacy session command" : "Legacy backend command";
36
+ const note = input.family === "session" ? "This command was retired with the legacy Python Session UI. Use `deepline sessions send` or `deepline sessions render`." : "This command was retired with the legacy local backend. Use `deepline-admin dev start`, `deepline-admin dev status`, or `deepline-admin dev stop`.";
37
+ return {
38
+ ok: false,
39
+ command,
40
+ code: "DEPRECATED_COMMAND",
41
+ error: `${commandLabel} is deprecated. ${note}`,
42
+ next: input.family === "session" ? "deepline sessions send --current-session --json" : "deepline-admin dev status --json",
43
+ render: {
44
+ sections: [
45
+ {
46
+ title: `${commandLabel} deprecated`,
47
+ lines: [note]
48
+ }
49
+ ]
50
+ }
51
+ };
52
+ }
53
+ function printDeprecatedCommand(input) {
54
+ printCommandEnvelope(deprecatedCommandEnvelope(input), {
55
+ json: input.options.json
56
+ });
57
+ process.exitCode = 2;
58
+ }
59
+ function legacySubcommandFromArgv(family) {
60
+ const args = process.argv.slice(2);
61
+ const familyIndex = args.indexOf(family);
62
+ const nextToken = familyIndex >= 0 ? args[familyIndex + 1] : void 0;
63
+ return nextToken && !nextToken.startsWith("-") ? nextToken : void 0;
64
+ }
65
+ function addDeprecatedSubcommand(parent, family, subcommand, description) {
66
+ parent.command(subcommand).description(description).allowUnknownOption(true).allowExcessArguments(true).option("--json", "Emit JSON output").argument("[args...]").action((_args, options) => {
67
+ printDeprecatedCommand({ family, subcommand, options });
68
+ });
69
+ }
70
+ function registerDeprecatedCommands(program) {
71
+ program.command("enrich", { hidden: true }).description("Deprecated CSV enrichment command.").allowUnknownOption(true).allowExcessArguments(true).option("--json", "Emit JSON output").argument("[args...]").addHelpText("after", `
72
+ ${ENRICH_COMMAND_DEPRECATION_MESSAGE}
73
+ `).action((_args, options) => {
74
+ printCommandEnvelope(
75
+ {
76
+ ok: false,
77
+ command: "deepline enrich",
78
+ code: "DEPRECATED_COMMAND",
79
+ error: ENRICH_COMMAND_DEPRECATION_MESSAGE,
80
+ next: "deepline plays --help",
81
+ render: {
82
+ sections: [
83
+ {
84
+ title: "Deprecated command",
85
+ lines: [ENRICH_COMMAND_DEPRECATION_MESSAGE]
86
+ }
87
+ ]
88
+ }
89
+ },
90
+ { json: options.json }
91
+ );
92
+ process.exitCode = 2;
93
+ });
94
+ const session = program.command("session", { hidden: true }).description("Deprecated legacy session command namespace.").allowUnknownOption(true).allowExcessArguments(true).option("--json", "Emit JSON output").argument("[args...]").addHelpText(
95
+ "after",
96
+ `
97
+ Notes:
98
+ The legacy Python Session UI was retired. Legacy session commands now fail
99
+ with a migration instruction; they no longer report a successful no-op.
100
+ Use "deepline sessions send" or "deepline sessions render" for real SDK
101
+ transcript workflows. "deepline session send" and "deepline session render"
102
+ are accepted aliases for those real SDK workflows.
103
+
104
+ Examples:
105
+ deepline session start --steps '["Inspect CSV","Run pilot"]'
106
+ deepline session status --message "Running pilot"
107
+ deepline session output --csv ./results.csv --label "Results"
108
+ `
109
+ ).action((args, options) => {
110
+ void args;
111
+ printDeprecatedCommand({
112
+ family: "session",
113
+ subcommand: legacySubcommandFromArgv("session"),
114
+ options
115
+ });
116
+ });
117
+ registerSessionSendRenderCommands(session, "session");
118
+ for (const subcommand of SESSION_SUBCOMMANDS) {
119
+ addDeprecatedSubcommand(
120
+ session,
121
+ "session",
122
+ subcommand,
123
+ `Deprecated legacy "deepline session ${subcommand}" command.`
124
+ );
125
+ }
126
+ const backend = program.command("backend", { hidden: true }).description("Deprecated legacy local backend command namespace.").allowUnknownOption(true).allowExcessArguments(true).option("--json", "Emit JSON output").argument("[args...]").addHelpText(
127
+ "after",
128
+ `
129
+ Notes:
130
+ The legacy local backend was retired. Use deepline-admin for local runtime
131
+ lifecycle operations.
132
+
133
+ Examples:
134
+ deepline backend start
135
+ deepline backend stop --just-backend
136
+ deepline backend status --json
137
+ `
138
+ ).action((args, options) => {
139
+ void args;
140
+ printDeprecatedCommand({
141
+ family: "backend",
142
+ subcommand: legacySubcommandFromArgv("backend"),
143
+ options
144
+ });
145
+ });
146
+ for (const subcommand of BACKEND_SUBCOMMANDS) {
147
+ addDeprecatedSubcommand(
148
+ backend,
149
+ "backend",
150
+ subcommand,
151
+ `Deprecated legacy "deepline backend ${subcommand}" command.`
152
+ );
153
+ }
154
+ }
155
+ export {
156
+ registerDeprecatedCommands
157
+ };