deepline 0.3.291 → 0.3.292
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 +17 -7
- package/dist/cli/index.mjs +17 -7
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/dist/release.d.mts +1 -1
- package/dist/release.d.ts +1 -1
- package/dist/release.js +1 -1
- package/dist/release.mjs +1 -1
- package/package.json +1 -1
|
@@ -200,7 +200,7 @@ export const SDK_RELEASE = {
|
|
|
200
200
|
// getters keep their established compatibility behavior.
|
|
201
201
|
// 0.3.1 deprecated the legacy `deepline enrich` command in favor of Plays.
|
|
202
202
|
// 0.3.90 is the first deliberately versioned SDK release for API v3.
|
|
203
|
-
version: '0.3.
|
|
203
|
+
version: '0.3.292',
|
|
204
204
|
updateSummary:
|
|
205
205
|
'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.',
|
|
206
206
|
packageCapabilities: {
|
package/dist/cli/index.js
CHANGED
|
@@ -3515,7 +3515,7 @@ var SDK_RELEASE = {
|
|
|
3515
3515
|
// getters keep their established compatibility behavior.
|
|
3516
3516
|
// 0.3.1 deprecated the legacy `deepline enrich` command in favor of Plays.
|
|
3517
3517
|
// 0.3.90 is the first deliberately versioned SDK release for API v3.
|
|
3518
|
-
version: "0.3.
|
|
3518
|
+
version: "0.3.292",
|
|
3519
3519
|
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.",
|
|
3520
3520
|
packageCapabilities: {
|
|
3521
3521
|
updatePreferences: 1
|
|
@@ -11520,6 +11520,9 @@ function errorToJsonPayload(error) {
|
|
|
11520
11520
|
if (maybeRecord?.details && typeof maybeRecord.details === "object" && !Array.isArray(maybeRecord.details)) {
|
|
11521
11521
|
details.details = maybeRecord.details;
|
|
11522
11522
|
}
|
|
11523
|
+
if (maybeRecord?.guidance && typeof maybeRecord.guidance === "object" && !Array.isArray(maybeRecord.guidance)) {
|
|
11524
|
+
details.guidance = maybeRecord.guidance;
|
|
11525
|
+
}
|
|
11523
11526
|
const providerConcurrency = providerConcurrencyDiagnostic(maybeRecord);
|
|
11524
11527
|
if (providerConcurrency) {
|
|
11525
11528
|
details.providerConcurrency = providerConcurrency;
|
|
@@ -15088,7 +15091,9 @@ async function handleDbQuery(args) {
|
|
|
15088
15091
|
actions: [{ label: "Tool equivalent", command: toolCommand }]
|
|
15089
15092
|
}
|
|
15090
15093
|
},
|
|
15091
|
-
{
|
|
15094
|
+
{
|
|
15095
|
+
json: explicitJsonOutput || format === "json" || format !== "table" && jsonOutput
|
|
15096
|
+
}
|
|
15092
15097
|
);
|
|
15093
15098
|
return 0;
|
|
15094
15099
|
}
|
|
@@ -15164,8 +15169,9 @@ Examples:
|
|
|
15164
15169
|
"after",
|
|
15165
15170
|
`
|
|
15166
15171
|
Notes:
|
|
15167
|
-
Requires --sql (inline SQL or @file.sql). Output
|
|
15168
|
-
|
|
15172
|
+
Requires --sql (inline SQL or @file.sql). Output defaults to a compact table in a terminal
|
|
15173
|
+
and JSON when stdout is piped. --format table forces a table even in pipes.
|
|
15174
|
+
--json overrides --format for stdout. The active auth workspace determines scope.
|
|
15169
15175
|
Read permitted schemas with SELECT, EXPLAIN, or read-only WITH.
|
|
15170
15176
|
Write only to schema-qualified storage tables. For example, use
|
|
15171
15177
|
CREATE TABLE storage.blocked (...) instead of CREATE TABLE blocked (...).
|
|
@@ -52041,9 +52047,13 @@ async function executeTool(args) {
|
|
|
52041
52047
|
}).catch((error) => {
|
|
52042
52048
|
const guidanceLines = toolGuidanceLines(metadata.guidance);
|
|
52043
52049
|
if (guidanceLines.length > 0) {
|
|
52044
|
-
|
|
52045
|
-
|
|
52046
|
-
|
|
52050
|
+
if (args.includes("--json") && error instanceof Error) {
|
|
52051
|
+
Object.assign(error, { guidance: metadata.guidance });
|
|
52052
|
+
} else {
|
|
52053
|
+
console.error(
|
|
52054
|
+
[`Guidance for ${parsed.toolId}:`, ...guidanceLines].join("\n")
|
|
52055
|
+
);
|
|
52056
|
+
}
|
|
52047
52057
|
}
|
|
52048
52058
|
throw error;
|
|
52049
52059
|
});
|
package/dist/cli/index.mjs
CHANGED
|
@@ -3510,7 +3510,7 @@ var SDK_RELEASE = {
|
|
|
3510
3510
|
// getters keep their established compatibility behavior.
|
|
3511
3511
|
// 0.3.1 deprecated the legacy `deepline enrich` command in favor of Plays.
|
|
3512
3512
|
// 0.3.90 is the first deliberately versioned SDK release for API v3.
|
|
3513
|
-
version: "0.3.
|
|
3513
|
+
version: "0.3.292",
|
|
3514
3514
|
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.",
|
|
3515
3515
|
packageCapabilities: {
|
|
3516
3516
|
updatePreferences: 1
|
|
@@ -11527,6 +11527,9 @@ function errorToJsonPayload(error) {
|
|
|
11527
11527
|
if (maybeRecord?.details && typeof maybeRecord.details === "object" && !Array.isArray(maybeRecord.details)) {
|
|
11528
11528
|
details.details = maybeRecord.details;
|
|
11529
11529
|
}
|
|
11530
|
+
if (maybeRecord?.guidance && typeof maybeRecord.guidance === "object" && !Array.isArray(maybeRecord.guidance)) {
|
|
11531
|
+
details.guidance = maybeRecord.guidance;
|
|
11532
|
+
}
|
|
11530
11533
|
const providerConcurrency = providerConcurrencyDiagnostic(maybeRecord);
|
|
11531
11534
|
if (providerConcurrency) {
|
|
11532
11535
|
details.providerConcurrency = providerConcurrency;
|
|
@@ -15103,7 +15106,9 @@ async function handleDbQuery(args) {
|
|
|
15103
15106
|
actions: [{ label: "Tool equivalent", command: toolCommand }]
|
|
15104
15107
|
}
|
|
15105
15108
|
},
|
|
15106
|
-
{
|
|
15109
|
+
{
|
|
15110
|
+
json: explicitJsonOutput || format === "json" || format !== "table" && jsonOutput
|
|
15111
|
+
}
|
|
15107
15112
|
);
|
|
15108
15113
|
return 0;
|
|
15109
15114
|
}
|
|
@@ -15179,8 +15184,9 @@ Examples:
|
|
|
15179
15184
|
"after",
|
|
15180
15185
|
`
|
|
15181
15186
|
Notes:
|
|
15182
|
-
Requires --sql (inline SQL or @file.sql). Output
|
|
15183
|
-
|
|
15187
|
+
Requires --sql (inline SQL or @file.sql). Output defaults to a compact table in a terminal
|
|
15188
|
+
and JSON when stdout is piped. --format table forces a table even in pipes.
|
|
15189
|
+
--json overrides --format for stdout. The active auth workspace determines scope.
|
|
15184
15190
|
Read permitted schemas with SELECT, EXPLAIN, or read-only WITH.
|
|
15185
15191
|
Write only to schema-qualified storage tables. For example, use
|
|
15186
15192
|
CREATE TABLE storage.blocked (...) instead of CREATE TABLE blocked (...).
|
|
@@ -52182,9 +52188,13 @@ async function executeTool(args) {
|
|
|
52182
52188
|
}).catch((error) => {
|
|
52183
52189
|
const guidanceLines = toolGuidanceLines(metadata.guidance);
|
|
52184
52190
|
if (guidanceLines.length > 0) {
|
|
52185
|
-
|
|
52186
|
-
|
|
52187
|
-
|
|
52191
|
+
if (args.includes("--json") && error instanceof Error) {
|
|
52192
|
+
Object.assign(error, { guidance: metadata.guidance });
|
|
52193
|
+
} else {
|
|
52194
|
+
console.error(
|
|
52195
|
+
[`Guidance for ${parsed.toolId}:`, ...guidanceLines].join("\n")
|
|
52196
|
+
);
|
|
52197
|
+
}
|
|
52188
52198
|
}
|
|
52189
52199
|
throw error;
|
|
52190
52200
|
});
|
package/dist/index.js
CHANGED
|
@@ -1328,7 +1328,7 @@ var SDK_RELEASE = {
|
|
|
1328
1328
|
// getters keep their established compatibility behavior.
|
|
1329
1329
|
// 0.3.1 deprecated the legacy `deepline enrich` command in favor of Plays.
|
|
1330
1330
|
// 0.3.90 is the first deliberately versioned SDK release for API v3.
|
|
1331
|
-
version: "0.3.
|
|
1331
|
+
version: "0.3.292",
|
|
1332
1332
|
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.",
|
|
1333
1333
|
packageCapabilities: {
|
|
1334
1334
|
updatePreferences: 1
|
package/dist/index.mjs
CHANGED
|
@@ -1232,7 +1232,7 @@ var SDK_RELEASE = {
|
|
|
1232
1232
|
// getters keep their established compatibility behavior.
|
|
1233
1233
|
// 0.3.1 deprecated the legacy `deepline enrich` command in favor of Plays.
|
|
1234
1234
|
// 0.3.90 is the first deliberately versioned SDK release for API v3.
|
|
1235
|
-
version: "0.3.
|
|
1235
|
+
version: "0.3.292",
|
|
1236
1236
|
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.",
|
|
1237
1237
|
packageCapabilities: {
|
|
1238
1238
|
updatePreferences: 1
|
package/dist/release.d.mts
CHANGED
|
@@ -149,7 +149,7 @@ type SdkRelease = {
|
|
|
149
149
|
supportPolicy: SdkSupportPolicy;
|
|
150
150
|
};
|
|
151
151
|
declare const SDK_RELEASE: {
|
|
152
|
-
readonly version: "0.3.
|
|
152
|
+
readonly version: "0.3.292";
|
|
153
153
|
readonly 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.";
|
|
154
154
|
readonly packageCapabilities: {
|
|
155
155
|
readonly updatePreferences: 1;
|
package/dist/release.d.ts
CHANGED
|
@@ -149,7 +149,7 @@ type SdkRelease = {
|
|
|
149
149
|
supportPolicy: SdkSupportPolicy;
|
|
150
150
|
};
|
|
151
151
|
declare const SDK_RELEASE: {
|
|
152
|
-
readonly version: "0.3.
|
|
152
|
+
readonly version: "0.3.292";
|
|
153
153
|
readonly 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.";
|
|
154
154
|
readonly packageCapabilities: {
|
|
155
155
|
readonly updatePreferences: 1;
|
package/dist/release.js
CHANGED
|
@@ -74,7 +74,7 @@ var SDK_RELEASE = {
|
|
|
74
74
|
// getters keep their established compatibility behavior.
|
|
75
75
|
// 0.3.1 deprecated the legacy `deepline enrich` command in favor of Plays.
|
|
76
76
|
// 0.3.90 is the first deliberately versioned SDK release for API v3.
|
|
77
|
-
version: "0.3.
|
|
77
|
+
version: "0.3.292",
|
|
78
78
|
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.",
|
|
79
79
|
packageCapabilities: {
|
|
80
80
|
updatePreferences: 1
|
package/dist/release.mjs
CHANGED
|
@@ -48,7 +48,7 @@ var SDK_RELEASE = {
|
|
|
48
48
|
// getters keep their established compatibility behavior.
|
|
49
49
|
// 0.3.1 deprecated the legacy `deepline enrich` command in favor of Plays.
|
|
50
50
|
// 0.3.90 is the first deliberately versioned SDK release for API v3.
|
|
51
|
-
version: "0.3.
|
|
51
|
+
version: "0.3.292",
|
|
52
52
|
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.",
|
|
53
53
|
packageCapabilities: {
|
|
54
54
|
updatePreferences: 1
|