deepline 0.3.84 → 0.3.85
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 +6 -4
- package/dist/cli/index.mjs +6 -4
- 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.85',
|
|
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
|
@@ -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.85",
|
|
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
|
|
@@ -8458,6 +8458,7 @@ var EXIT_OK = 0;
|
|
|
8458
8458
|
var EXIT_AUTH = 3;
|
|
8459
8459
|
var EXIT_SERVER = 5;
|
|
8460
8460
|
var AUTH_HTTP_TIMEOUT_MS = 1e4;
|
|
8461
|
+
var AUTH_REGISTER_HTTP_TIMEOUT_MS = 3e4;
|
|
8461
8462
|
function statusBannerLine(value) {
|
|
8462
8463
|
if (!value || typeof value !== "object" || Array.isArray(value)) return null;
|
|
8463
8464
|
const banner = value;
|
|
@@ -8610,7 +8611,7 @@ function activeOrgEnvValues(data) {
|
|
|
8610
8611
|
[ACTIVE_ORG_NAME_ENV]: orgName
|
|
8611
8612
|
};
|
|
8612
8613
|
}
|
|
8613
|
-
async function httpJson(method, url, apiKey, body) {
|
|
8614
|
+
async function httpJson(method, url, apiKey, body, timeoutMs = AUTH_HTTP_TIMEOUT_MS) {
|
|
8614
8615
|
const headers = {
|
|
8615
8616
|
"Content-Type": "application/json",
|
|
8616
8617
|
"User-Agent": `deepline-ts-sdk/${SDK_VERSION}`,
|
|
@@ -8631,7 +8632,7 @@ async function httpJson(method, url, apiKey, body) {
|
|
|
8631
8632
|
const timeout = setTimeout(() => {
|
|
8632
8633
|
requestTimedOut = true;
|
|
8633
8634
|
controller.abort();
|
|
8634
|
-
},
|
|
8635
|
+
}, timeoutMs);
|
|
8635
8636
|
try {
|
|
8636
8637
|
const response = await fetch(candidateUrl, {
|
|
8637
8638
|
method,
|
|
@@ -8790,7 +8791,8 @@ async function handleRegister(args) {
|
|
|
8790
8791
|
"POST",
|
|
8791
8792
|
`${baseUrl}/api/v2/auth/cli/register`,
|
|
8792
8793
|
null,
|
|
8793
|
-
payload
|
|
8794
|
+
payload,
|
|
8795
|
+
AUTH_REGISTER_HTTP_TIMEOUT_MS
|
|
8794
8796
|
);
|
|
8795
8797
|
if (status >= 400) {
|
|
8796
8798
|
console.error(`Auth register failed (status ${status}).`);
|
package/dist/cli/index.mjs
CHANGED
|
@@ -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.85",
|
|
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
|
|
@@ -8455,6 +8455,7 @@ var EXIT_OK = 0;
|
|
|
8455
8455
|
var EXIT_AUTH = 3;
|
|
8456
8456
|
var EXIT_SERVER = 5;
|
|
8457
8457
|
var AUTH_HTTP_TIMEOUT_MS = 1e4;
|
|
8458
|
+
var AUTH_REGISTER_HTTP_TIMEOUT_MS = 3e4;
|
|
8458
8459
|
function statusBannerLine(value) {
|
|
8459
8460
|
if (!value || typeof value !== "object" || Array.isArray(value)) return null;
|
|
8460
8461
|
const banner = value;
|
|
@@ -8607,7 +8608,7 @@ function activeOrgEnvValues(data) {
|
|
|
8607
8608
|
[ACTIVE_ORG_NAME_ENV]: orgName
|
|
8608
8609
|
};
|
|
8609
8610
|
}
|
|
8610
|
-
async function httpJson(method, url, apiKey, body) {
|
|
8611
|
+
async function httpJson(method, url, apiKey, body, timeoutMs = AUTH_HTTP_TIMEOUT_MS) {
|
|
8611
8612
|
const headers = {
|
|
8612
8613
|
"Content-Type": "application/json",
|
|
8613
8614
|
"User-Agent": `deepline-ts-sdk/${SDK_VERSION}`,
|
|
@@ -8628,7 +8629,7 @@ async function httpJson(method, url, apiKey, body) {
|
|
|
8628
8629
|
const timeout = setTimeout(() => {
|
|
8629
8630
|
requestTimedOut = true;
|
|
8630
8631
|
controller.abort();
|
|
8631
|
-
},
|
|
8632
|
+
}, timeoutMs);
|
|
8632
8633
|
try {
|
|
8633
8634
|
const response = await fetch(candidateUrl, {
|
|
8634
8635
|
method,
|
|
@@ -8787,7 +8788,8 @@ async function handleRegister(args) {
|
|
|
8787
8788
|
"POST",
|
|
8788
8789
|
`${baseUrl}/api/v2/auth/cli/register`,
|
|
8789
8790
|
null,
|
|
8790
|
-
payload
|
|
8791
|
+
payload,
|
|
8792
|
+
AUTH_REGISTER_HTTP_TIMEOUT_MS
|
|
8791
8793
|
);
|
|
8792
8794
|
if (status >= 400) {
|
|
8793
8795
|
console.error(`Auth register failed (status ${status}).`);
|
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.85",
|
|
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.85",
|
|
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
|