deepline 0.3.85 → 0.3.86
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/cli/index.js +20 -11
- package/dist/cli/index.mjs +20 -11
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
|
@@ -199,7 +199,7 @@ export const SDK_RELEASE = {
|
|
|
199
199
|
// available at toolResponse.rawV2 while toolResponse.raw and all declared
|
|
200
200
|
// getters keep their established compatibility behavior.
|
|
201
201
|
// 0.3.1 deprecated the legacy `deepline enrich` command in favor of Plays.
|
|
202
|
-
version: '0.3.
|
|
202
|
+
version: '0.3.86',
|
|
203
203
|
updateSummary:
|
|
204
204
|
'Automatic CLI updates are now enabled by default. To opt out, run `deepline settings autoupdate off`; use `deepline settings autoupdate on` to re-enable updates or `deepline settings autoupdate pin <version>` to hold an exact release. This release also adds raw-v2 tool responses at toolResponse.rawV2 while preserving existing toolResponse.raw and declared getters.',
|
|
205
205
|
packageCapabilities: {
|
package/dist/cli/index.js
CHANGED
|
@@ -184,7 +184,7 @@ configureProxyFromEnv();
|
|
|
184
184
|
var import_promises11 = require("fs/promises");
|
|
185
185
|
var import_node_path29 = require("path");
|
|
186
186
|
var import_node_os18 = require("os");
|
|
187
|
-
var
|
|
187
|
+
var import_commander5 = require("commander");
|
|
188
188
|
|
|
189
189
|
// src/config.ts
|
|
190
190
|
var import_node_fs = require("fs");
|
|
@@ -1225,7 +1225,7 @@ var SDK_RELEASE = {
|
|
|
1225
1225
|
// available at toolResponse.rawV2 while toolResponse.raw and all declared
|
|
1226
1226
|
// getters keep their established compatibility behavior.
|
|
1227
1227
|
// 0.3.1 deprecated the legacy `deepline enrich` command in favor of Plays.
|
|
1228
|
-
version: "0.3.
|
|
1228
|
+
version: "0.3.86",
|
|
1229
1229
|
updateSummary: "Automatic CLI updates are now enabled by default. To opt out, run `deepline settings autoupdate off`; use `deepline settings autoupdate on` to re-enable updates or `deepline settings autoupdate pin <version>` to hold an exact release. This release also adds raw-v2 tool responses at toolResponse.rawV2 while preserving existing toolResponse.raw and declared getters.",
|
|
1230
1230
|
packageCapabilities: {
|
|
1231
1231
|
updatePreferences: 1
|
|
@@ -30821,6 +30821,7 @@ function registerEnrichCommand(program) {
|
|
|
30821
30821
|
}
|
|
30822
30822
|
|
|
30823
30823
|
// src/cli/commands/feedback.ts
|
|
30824
|
+
var import_commander3 = require("commander");
|
|
30824
30825
|
var import_node_fs13 = require("fs");
|
|
30825
30826
|
async function handleFeedback(text, options) {
|
|
30826
30827
|
const message = resolveFeedbackText(text, options.file);
|
|
@@ -30830,7 +30831,8 @@ async function handleFeedback(text, options) {
|
|
|
30830
30831
|
requested: options.requested === true,
|
|
30831
30832
|
environment: collectLocalEnvInfo(),
|
|
30832
30833
|
...options.command ? { command: options.command } : {},
|
|
30833
|
-
...options.payload ? { payload: options.payload } : {}
|
|
30834
|
+
...options.payload ? { payload: options.payload } : {},
|
|
30835
|
+
...options.errorOutcome ? { error_outcome: options.errorOutcome } : {}
|
|
30834
30836
|
});
|
|
30835
30837
|
printCommandEnvelope(
|
|
30836
30838
|
{
|
|
@@ -30880,10 +30882,12 @@ function registerFeedbackCommands(program) {
|
|
|
30880
30882
|
Notes:
|
|
30881
30883
|
Sends the feedback text plus local CLI environment info to Deepline support.
|
|
30882
30884
|
Use --command and --payload to attach a reproducible command shape.
|
|
30883
|
-
|
|
30885
|
+
For error reports, use --error-outcome to record whether the error stopped the
|
|
30886
|
+
task or work continued. Agents should pass --requested when the user asked them
|
|
30887
|
+
to submit the report.
|
|
30884
30888
|
|
|
30885
30889
|
Examples:
|
|
30886
|
-
deepline feedback send "plays run failed after upload" --command "deepline plays run my.play.ts --watch"
|
|
30890
|
+
deepline feedback send "plays run failed after upload" --command "deepline plays run my.play.ts --watch" --error-outcome terminal
|
|
30887
30891
|
deepline feedback send "unexpected billing output" --payload '{"command":"billing usage"}' --json
|
|
30888
30892
|
`
|
|
30889
30893
|
);
|
|
@@ -30895,9 +30899,14 @@ Examples:
|
|
|
30895
30899
|
deepline feedback send --file incident.md --requested --json
|
|
30896
30900
|
cat incident.md | deepline feedback send --requested --json
|
|
30897
30901
|
deepline feedback send "tools search returned stale results" --requested --json
|
|
30898
|
-
deepline feedback send "plays run failed after upload" --command "deepline plays run my.play.ts --watch"
|
|
30902
|
+
deepline feedback send "plays run failed after upload" --command "deepline plays run my.play.ts --watch" --error-outcome terminal
|
|
30899
30903
|
`
|
|
30900
|
-
).argument("[text]", "Feedback text").option("--file <path>", "Read feedback text from a file, or - for stdin").option("--command <command>", "Command that reproduced the issue").option("--payload <payload>", "JSON or plain-text payload for the repro").
|
|
30904
|
+
).argument("[text]", "Feedback text").option("--file <path>", "Read feedback text from a file, or - for stdin").option("--command <command>", "Command that reproduced the issue").option("--payload <payload>", "JSON or plain-text payload for the repro").addOption(
|
|
30905
|
+
new import_commander3.Option(
|
|
30906
|
+
"--error-outcome <outcome>",
|
|
30907
|
+
"Error impact on the task: terminal or continued"
|
|
30908
|
+
).choices(["terminal", "continued"])
|
|
30909
|
+
).option(
|
|
30901
30910
|
"--requested",
|
|
30902
30911
|
"Mark the report as explicitly requested by the user"
|
|
30903
30912
|
).option("--json", "Emit JSON output").action(handleFeedback);
|
|
@@ -40137,7 +40146,7 @@ chooses the connected Slack channel or member and the events it receives.
|
|
|
40137
40146
|
}
|
|
40138
40147
|
|
|
40139
40148
|
// src/cli/commands/tools.ts
|
|
40140
|
-
var
|
|
40149
|
+
var import_commander4 = require("commander");
|
|
40141
40150
|
var import_node_fs25 = require("fs");
|
|
40142
40151
|
var import_node_os17 = require("os");
|
|
40143
40152
|
var import_node_path27 = require("path");
|
|
@@ -41194,12 +41203,12 @@ Examples:
|
|
|
41194
41203
|
"--examples-only",
|
|
41195
41204
|
"Only print runnable examples and sample payloads"
|
|
41196
41205
|
).option("--getters-only", "Only print extracted list/value getters").addOption(
|
|
41197
|
-
new
|
|
41206
|
+
new import_commander4.Option(
|
|
41198
41207
|
"--compact",
|
|
41199
41208
|
"Compatibility alias for the default compact view"
|
|
41200
41209
|
).hideHelp()
|
|
41201
41210
|
).addOption(
|
|
41202
|
-
new
|
|
41211
|
+
new import_commander4.Option(
|
|
41203
41212
|
"--contract-json",
|
|
41204
41213
|
"Compatibility alias for compact contract JSON"
|
|
41205
41214
|
).hideHelp()
|
|
@@ -43851,7 +43860,7 @@ async function main() {
|
|
|
43851
43860
|
if (printStartupPhase) {
|
|
43852
43861
|
progress?.phase("loading deepline cli");
|
|
43853
43862
|
}
|
|
43854
|
-
const program = new
|
|
43863
|
+
const program = new import_commander5.Command();
|
|
43855
43864
|
program.name("deepline").description(
|
|
43856
43865
|
"Deepline CLI \u2014 GTM enrichment tools, plays, and runs from your terminal."
|
|
43857
43866
|
).version(SDK_VERSION, "-v, --version", "Show version").exitOverride().showHelpAfterError().showSuggestionAfterError(true).addHelpText(
|
package/dist/cli/index.mjs
CHANGED
|
@@ -161,7 +161,7 @@ configureProxyFromEnv();
|
|
|
161
161
|
import { mkdtemp as mkdtemp2, rm as rm2, writeFile as writeFile6 } from "fs/promises";
|
|
162
162
|
import { join as join24 } from "path";
|
|
163
163
|
import { tmpdir as tmpdir6 } from "os";
|
|
164
|
-
import { Command as
|
|
164
|
+
import { Command as Command5 } from "commander";
|
|
165
165
|
|
|
166
166
|
// src/config.ts
|
|
167
167
|
import {
|
|
@@ -1210,7 +1210,7 @@ var SDK_RELEASE = {
|
|
|
1210
1210
|
// available at toolResponse.rawV2 while toolResponse.raw and all declared
|
|
1211
1211
|
// getters keep their established compatibility behavior.
|
|
1212
1212
|
// 0.3.1 deprecated the legacy `deepline enrich` command in favor of Plays.
|
|
1213
|
-
version: "0.3.
|
|
1213
|
+
version: "0.3.86",
|
|
1214
1214
|
updateSummary: "Automatic CLI updates are now enabled by default. To opt out, run `deepline settings autoupdate off`; use `deepline settings autoupdate on` to re-enable updates or `deepline settings autoupdate pin <version>` to hold an exact release. This release also adds raw-v2 tool responses at toolResponse.rawV2 while preserving existing toolResponse.raw and declared getters.",
|
|
1215
1215
|
packageCapabilities: {
|
|
1216
1216
|
updatePreferences: 1
|
|
@@ -30883,6 +30883,7 @@ function registerEnrichCommand(program) {
|
|
|
30883
30883
|
}
|
|
30884
30884
|
|
|
30885
30885
|
// src/cli/commands/feedback.ts
|
|
30886
|
+
import { Option as Option2 } from "commander";
|
|
30886
30887
|
import { readFileSync as readFileSync9 } from "fs";
|
|
30887
30888
|
async function handleFeedback(text, options) {
|
|
30888
30889
|
const message = resolveFeedbackText(text, options.file);
|
|
@@ -30892,7 +30893,8 @@ async function handleFeedback(text, options) {
|
|
|
30892
30893
|
requested: options.requested === true,
|
|
30893
30894
|
environment: collectLocalEnvInfo(),
|
|
30894
30895
|
...options.command ? { command: options.command } : {},
|
|
30895
|
-
...options.payload ? { payload: options.payload } : {}
|
|
30896
|
+
...options.payload ? { payload: options.payload } : {},
|
|
30897
|
+
...options.errorOutcome ? { error_outcome: options.errorOutcome } : {}
|
|
30896
30898
|
});
|
|
30897
30899
|
printCommandEnvelope(
|
|
30898
30900
|
{
|
|
@@ -30942,10 +30944,12 @@ function registerFeedbackCommands(program) {
|
|
|
30942
30944
|
Notes:
|
|
30943
30945
|
Sends the feedback text plus local CLI environment info to Deepline support.
|
|
30944
30946
|
Use --command and --payload to attach a reproducible command shape.
|
|
30945
|
-
|
|
30947
|
+
For error reports, use --error-outcome to record whether the error stopped the
|
|
30948
|
+
task or work continued. Agents should pass --requested when the user asked them
|
|
30949
|
+
to submit the report.
|
|
30946
30950
|
|
|
30947
30951
|
Examples:
|
|
30948
|
-
deepline feedback send "plays run failed after upload" --command "deepline plays run my.play.ts --watch"
|
|
30952
|
+
deepline feedback send "plays run failed after upload" --command "deepline plays run my.play.ts --watch" --error-outcome terminal
|
|
30949
30953
|
deepline feedback send "unexpected billing output" --payload '{"command":"billing usage"}' --json
|
|
30950
30954
|
`
|
|
30951
30955
|
);
|
|
@@ -30957,9 +30961,14 @@ Examples:
|
|
|
30957
30961
|
deepline feedback send --file incident.md --requested --json
|
|
30958
30962
|
cat incident.md | deepline feedback send --requested --json
|
|
30959
30963
|
deepline feedback send "tools search returned stale results" --requested --json
|
|
30960
|
-
deepline feedback send "plays run failed after upload" --command "deepline plays run my.play.ts --watch"
|
|
30964
|
+
deepline feedback send "plays run failed after upload" --command "deepline plays run my.play.ts --watch" --error-outcome terminal
|
|
30961
30965
|
`
|
|
30962
|
-
).argument("[text]", "Feedback text").option("--file <path>", "Read feedback text from a file, or - for stdin").option("--command <command>", "Command that reproduced the issue").option("--payload <payload>", "JSON or plain-text payload for the repro").
|
|
30966
|
+
).argument("[text]", "Feedback text").option("--file <path>", "Read feedback text from a file, or - for stdin").option("--command <command>", "Command that reproduced the issue").option("--payload <payload>", "JSON or plain-text payload for the repro").addOption(
|
|
30967
|
+
new Option2(
|
|
30968
|
+
"--error-outcome <outcome>",
|
|
30969
|
+
"Error impact on the task: terminal or continued"
|
|
30970
|
+
).choices(["terminal", "continued"])
|
|
30971
|
+
).option(
|
|
30963
30972
|
"--requested",
|
|
30964
30973
|
"Mark the report as explicitly requested by the user"
|
|
30965
30974
|
).option("--json", "Emit JSON output").action(handleFeedback);
|
|
@@ -40254,7 +40263,7 @@ chooses the connected Slack channel or member and the events it receives.
|
|
|
40254
40263
|
}
|
|
40255
40264
|
|
|
40256
40265
|
// src/cli/commands/tools.ts
|
|
40257
|
-
import { Option as
|
|
40266
|
+
import { Option as Option3 } from "commander";
|
|
40258
40267
|
import {
|
|
40259
40268
|
chmodSync,
|
|
40260
40269
|
existsSync as existsSync19,
|
|
@@ -41323,12 +41332,12 @@ Examples:
|
|
|
41323
41332
|
"--examples-only",
|
|
41324
41333
|
"Only print runnable examples and sample payloads"
|
|
41325
41334
|
).option("--getters-only", "Only print extracted list/value getters").addOption(
|
|
41326
|
-
new
|
|
41335
|
+
new Option3(
|
|
41327
41336
|
"--compact",
|
|
41328
41337
|
"Compatibility alias for the default compact view"
|
|
41329
41338
|
).hideHelp()
|
|
41330
41339
|
).addOption(
|
|
41331
|
-
new
|
|
41340
|
+
new Option3(
|
|
41332
41341
|
"--contract-json",
|
|
41333
41342
|
"Compatibility alias for compact contract JSON"
|
|
41334
41343
|
).hideHelp()
|
|
@@ -43980,7 +43989,7 @@ async function main() {
|
|
|
43980
43989
|
if (printStartupPhase) {
|
|
43981
43990
|
progress?.phase("loading deepline cli");
|
|
43982
43991
|
}
|
|
43983
|
-
const program = new
|
|
43992
|
+
const program = new Command5();
|
|
43984
43993
|
program.name("deepline").description(
|
|
43985
43994
|
"Deepline CLI \u2014 GTM enrichment tools, plays, and runs from your terminal."
|
|
43986
43995
|
).version(SDK_VERSION, "-v, --version", "Show version").exitOverride().showHelpAfterError().showSuggestionAfterError(true).addHelpText(
|
package/dist/index.js
CHANGED
|
@@ -832,7 +832,7 @@ var SDK_RELEASE = {
|
|
|
832
832
|
// available at toolResponse.rawV2 while toolResponse.raw and all declared
|
|
833
833
|
// getters keep their established compatibility behavior.
|
|
834
834
|
// 0.3.1 deprecated the legacy `deepline enrich` command in favor of Plays.
|
|
835
|
-
version: "0.3.
|
|
835
|
+
version: "0.3.86",
|
|
836
836
|
updateSummary: "Automatic CLI updates are now enabled by default. To opt out, run `deepline settings autoupdate off`; use `deepline settings autoupdate on` to re-enable updates or `deepline settings autoupdate pin <version>` to hold an exact release. This release also adds raw-v2 tool responses at toolResponse.rawV2 while preserving existing toolResponse.raw and declared getters.",
|
|
837
837
|
packageCapabilities: {
|
|
838
838
|
updatePreferences: 1
|
package/dist/index.mjs
CHANGED
|
@@ -744,7 +744,7 @@ var SDK_RELEASE = {
|
|
|
744
744
|
// available at toolResponse.rawV2 while toolResponse.raw and all declared
|
|
745
745
|
// getters keep their established compatibility behavior.
|
|
746
746
|
// 0.3.1 deprecated the legacy `deepline enrich` command in favor of Plays.
|
|
747
|
-
version: "0.3.
|
|
747
|
+
version: "0.3.86",
|
|
748
748
|
updateSummary: "Automatic CLI updates are now enabled by default. To opt out, run `deepline settings autoupdate off`; use `deepline settings autoupdate on` to re-enable updates or `deepline settings autoupdate pin <version>` to hold an exact release. This release also adds raw-v2 tool responses at toolResponse.rawV2 while preserving existing toolResponse.raw and declared getters.",
|
|
749
749
|
packageCapabilities: {
|
|
750
750
|
updatePreferences: 1
|