deepline 0.1.116 → 0.1.118
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/cli/index.js +32 -3
- package/dist/cli/index.mjs +32 -3
- package/dist/index.js +3 -3
- package/dist/index.mjs +3 -3
- package/dist/repo/sdk/src/http.ts +5 -1
- package/dist/repo/sdk/src/release.ts +2 -2
- package/package.json +1 -1
package/dist/cli/index.js
CHANGED
|
@@ -403,10 +403,10 @@ var SDK_RELEASE = {
|
|
|
403
403
|
// skill on the sdk sync surface, and the people-search-to-email prebuilt.
|
|
404
404
|
// 0.1.108 ships explicit dataset column/tool recompute policy and removes
|
|
405
405
|
// the SDK enrich generator's one-second stale policy.
|
|
406
|
-
version: "0.1.
|
|
406
|
+
version: "0.1.118",
|
|
407
407
|
apiContract: "2026-06-dataset-column-cell-stale-hard-cutover",
|
|
408
408
|
supportPolicy: {
|
|
409
|
-
latest: "0.1.
|
|
409
|
+
latest: "0.1.118",
|
|
410
410
|
minimumSupported: "0.1.53",
|
|
411
411
|
deprecatedBelow: "0.1.53",
|
|
412
412
|
commandMinimumSupported: [
|
|
@@ -653,7 +653,7 @@ var HttpClient = class {
|
|
|
653
653
|
}
|
|
654
654
|
const errorValue = typeof parsed === "object" && parsed && "error" in parsed ? parsed.error : void 0;
|
|
655
655
|
const msg = typeof errorValue === "string" ? errorValue : errorValue && typeof errorValue === "object" && "message" in errorValue && typeof errorValue.message === "string" ? errorValue.message : typeof parsed === "object" && parsed && "message" in parsed && typeof parsed.message === "string" ? parsed.message : `HTTP ${response.status}`;
|
|
656
|
-
const apiErrorCode = errorValue && typeof errorValue === "object" && typeof errorValue.code === "string" ? errorValue.code : "API_ERROR";
|
|
656
|
+
const apiErrorCode = errorValue && typeof errorValue === "object" && typeof errorValue.code === "string" ? errorValue.code : typeof parsed === "object" && parsed && typeof parsed.code === "string" ? parsed.code : "API_ERROR";
|
|
657
657
|
lastError = new DeeplineError(msg, response.status, apiErrorCode, {
|
|
658
658
|
response: parsed
|
|
659
659
|
});
|
|
@@ -12608,6 +12608,34 @@ function readFirstDatasetActions(packaged) {
|
|
|
12608
12608
|
}
|
|
12609
12609
|
return {};
|
|
12610
12610
|
}
|
|
12611
|
+
function formatInlinePackageValue(value) {
|
|
12612
|
+
const compacted = compactReturnValue(value);
|
|
12613
|
+
const json = JSON.stringify(compacted);
|
|
12614
|
+
return clampJsonPreviewText(json ?? String(compacted), 500);
|
|
12615
|
+
}
|
|
12616
|
+
function formatPackageValueOutputLines(packaged) {
|
|
12617
|
+
const outputs = packaged.outputs && typeof packaged.outputs === "object" && !Array.isArray(packaged.outputs) ? packaged.outputs : null;
|
|
12618
|
+
if (!outputs) return [];
|
|
12619
|
+
const valueOutputs = Object.entries(outputs).filter(([, output2]) => {
|
|
12620
|
+
return output2 && typeof output2 === "object" && !Array.isArray(output2) && output2.kind === "value" && Object.prototype.hasOwnProperty.call(output2, "value");
|
|
12621
|
+
});
|
|
12622
|
+
if (valueOutputs.length === 0) return [];
|
|
12623
|
+
const lines = [" outputs:"];
|
|
12624
|
+
for (const [name, output2] of valueOutputs.slice(0, 8)) {
|
|
12625
|
+
const value = output2.value;
|
|
12626
|
+
const compacted = compactReturnValue(value);
|
|
12627
|
+
if (compacted && typeof compacted === "object") {
|
|
12628
|
+
lines.push(` ${name}:`);
|
|
12629
|
+
lines.push(...formatJsonPreview(compacted).map((line) => ` ${line}`));
|
|
12630
|
+
} else {
|
|
12631
|
+
lines.push(` ${name}: ${formatInlinePackageValue(value)}`);
|
|
12632
|
+
}
|
|
12633
|
+
}
|
|
12634
|
+
if (valueOutputs.length > 8) {
|
|
12635
|
+
lines.push(` ... ${valueOutputs.length - 8} more output(s)`);
|
|
12636
|
+
}
|
|
12637
|
+
return lines;
|
|
12638
|
+
}
|
|
12611
12639
|
function buildRunPackageTextLines(packaged) {
|
|
12612
12640
|
const run = readRunPackageRun(packaged);
|
|
12613
12641
|
const runId = typeof run.id === "string" ? run.id : "unknown";
|
|
@@ -12632,6 +12660,7 @@ function buildRunPackageTextLines(packaged) {
|
|
|
12632
12660
|
if (playName) {
|
|
12633
12661
|
lines.push(` play: ${playName}`);
|
|
12634
12662
|
}
|
|
12663
|
+
lines.push(...formatPackageValueOutputLines(packaged));
|
|
12635
12664
|
const next = packaged.next && typeof packaged.next === "object" && !Array.isArray(packaged.next) ? packaged.next : {};
|
|
12636
12665
|
const billingCommand = actionToCommand(next.billing);
|
|
12637
12666
|
if (billingCommand) {
|
package/dist/cli/index.mjs
CHANGED
|
@@ -380,10 +380,10 @@ var SDK_RELEASE = {
|
|
|
380
380
|
// skill on the sdk sync surface, and the people-search-to-email prebuilt.
|
|
381
381
|
// 0.1.108 ships explicit dataset column/tool recompute policy and removes
|
|
382
382
|
// the SDK enrich generator's one-second stale policy.
|
|
383
|
-
version: "0.1.
|
|
383
|
+
version: "0.1.118",
|
|
384
384
|
apiContract: "2026-06-dataset-column-cell-stale-hard-cutover",
|
|
385
385
|
supportPolicy: {
|
|
386
|
-
latest: "0.1.
|
|
386
|
+
latest: "0.1.118",
|
|
387
387
|
minimumSupported: "0.1.53",
|
|
388
388
|
deprecatedBelow: "0.1.53",
|
|
389
389
|
commandMinimumSupported: [
|
|
@@ -630,7 +630,7 @@ var HttpClient = class {
|
|
|
630
630
|
}
|
|
631
631
|
const errorValue = typeof parsed === "object" && parsed && "error" in parsed ? parsed.error : void 0;
|
|
632
632
|
const msg = typeof errorValue === "string" ? errorValue : errorValue && typeof errorValue === "object" && "message" in errorValue && typeof errorValue.message === "string" ? errorValue.message : typeof parsed === "object" && parsed && "message" in parsed && typeof parsed.message === "string" ? parsed.message : `HTTP ${response.status}`;
|
|
633
|
-
const apiErrorCode = errorValue && typeof errorValue === "object" && typeof errorValue.code === "string" ? errorValue.code : "API_ERROR";
|
|
633
|
+
const apiErrorCode = errorValue && typeof errorValue === "object" && typeof errorValue.code === "string" ? errorValue.code : typeof parsed === "object" && parsed && typeof parsed.code === "string" ? parsed.code : "API_ERROR";
|
|
634
634
|
lastError = new DeeplineError(msg, response.status, apiErrorCode, {
|
|
635
635
|
response: parsed
|
|
636
636
|
});
|
|
@@ -12626,6 +12626,34 @@ function readFirstDatasetActions(packaged) {
|
|
|
12626
12626
|
}
|
|
12627
12627
|
return {};
|
|
12628
12628
|
}
|
|
12629
|
+
function formatInlinePackageValue(value) {
|
|
12630
|
+
const compacted = compactReturnValue(value);
|
|
12631
|
+
const json = JSON.stringify(compacted);
|
|
12632
|
+
return clampJsonPreviewText(json ?? String(compacted), 500);
|
|
12633
|
+
}
|
|
12634
|
+
function formatPackageValueOutputLines(packaged) {
|
|
12635
|
+
const outputs = packaged.outputs && typeof packaged.outputs === "object" && !Array.isArray(packaged.outputs) ? packaged.outputs : null;
|
|
12636
|
+
if (!outputs) return [];
|
|
12637
|
+
const valueOutputs = Object.entries(outputs).filter(([, output2]) => {
|
|
12638
|
+
return output2 && typeof output2 === "object" && !Array.isArray(output2) && output2.kind === "value" && Object.prototype.hasOwnProperty.call(output2, "value");
|
|
12639
|
+
});
|
|
12640
|
+
if (valueOutputs.length === 0) return [];
|
|
12641
|
+
const lines = [" outputs:"];
|
|
12642
|
+
for (const [name, output2] of valueOutputs.slice(0, 8)) {
|
|
12643
|
+
const value = output2.value;
|
|
12644
|
+
const compacted = compactReturnValue(value);
|
|
12645
|
+
if (compacted && typeof compacted === "object") {
|
|
12646
|
+
lines.push(` ${name}:`);
|
|
12647
|
+
lines.push(...formatJsonPreview(compacted).map((line) => ` ${line}`));
|
|
12648
|
+
} else {
|
|
12649
|
+
lines.push(` ${name}: ${formatInlinePackageValue(value)}`);
|
|
12650
|
+
}
|
|
12651
|
+
}
|
|
12652
|
+
if (valueOutputs.length > 8) {
|
|
12653
|
+
lines.push(` ... ${valueOutputs.length - 8} more output(s)`);
|
|
12654
|
+
}
|
|
12655
|
+
return lines;
|
|
12656
|
+
}
|
|
12629
12657
|
function buildRunPackageTextLines(packaged) {
|
|
12630
12658
|
const run = readRunPackageRun(packaged);
|
|
12631
12659
|
const runId = typeof run.id === "string" ? run.id : "unknown";
|
|
@@ -12650,6 +12678,7 @@ function buildRunPackageTextLines(packaged) {
|
|
|
12650
12678
|
if (playName) {
|
|
12651
12679
|
lines.push(` play: ${playName}`);
|
|
12652
12680
|
}
|
|
12681
|
+
lines.push(...formatPackageValueOutputLines(packaged));
|
|
12653
12682
|
const next = packaged.next && typeof packaged.next === "object" && !Array.isArray(packaged.next) ? packaged.next : {};
|
|
12654
12683
|
const billingCommand = actionToCommand(next.billing);
|
|
12655
12684
|
if (billingCommand) {
|
package/dist/index.js
CHANGED
|
@@ -274,10 +274,10 @@ var SDK_RELEASE = {
|
|
|
274
274
|
// skill on the sdk sync surface, and the people-search-to-email prebuilt.
|
|
275
275
|
// 0.1.108 ships explicit dataset column/tool recompute policy and removes
|
|
276
276
|
// the SDK enrich generator's one-second stale policy.
|
|
277
|
-
version: "0.1.
|
|
277
|
+
version: "0.1.118",
|
|
278
278
|
apiContract: "2026-06-dataset-column-cell-stale-hard-cutover",
|
|
279
279
|
supportPolicy: {
|
|
280
|
-
latest: "0.1.
|
|
280
|
+
latest: "0.1.118",
|
|
281
281
|
minimumSupported: "0.1.53",
|
|
282
282
|
deprecatedBelow: "0.1.53",
|
|
283
283
|
commandMinimumSupported: [
|
|
@@ -524,7 +524,7 @@ var HttpClient = class {
|
|
|
524
524
|
}
|
|
525
525
|
const errorValue = typeof parsed === "object" && parsed && "error" in parsed ? parsed.error : void 0;
|
|
526
526
|
const msg = typeof errorValue === "string" ? errorValue : errorValue && typeof errorValue === "object" && "message" in errorValue && typeof errorValue.message === "string" ? errorValue.message : typeof parsed === "object" && parsed && "message" in parsed && typeof parsed.message === "string" ? parsed.message : `HTTP ${response.status}`;
|
|
527
|
-
const apiErrorCode = errorValue && typeof errorValue === "object" && typeof errorValue.code === "string" ? errorValue.code : "API_ERROR";
|
|
527
|
+
const apiErrorCode = errorValue && typeof errorValue === "object" && typeof errorValue.code === "string" ? errorValue.code : typeof parsed === "object" && parsed && typeof parsed.code === "string" ? parsed.code : "API_ERROR";
|
|
528
528
|
lastError = new DeeplineError(msg, response.status, apiErrorCode, {
|
|
529
529
|
response: parsed
|
|
530
530
|
});
|
package/dist/index.mjs
CHANGED
|
@@ -196,10 +196,10 @@ var SDK_RELEASE = {
|
|
|
196
196
|
// skill on the sdk sync surface, and the people-search-to-email prebuilt.
|
|
197
197
|
// 0.1.108 ships explicit dataset column/tool recompute policy and removes
|
|
198
198
|
// the SDK enrich generator's one-second stale policy.
|
|
199
|
-
version: "0.1.
|
|
199
|
+
version: "0.1.118",
|
|
200
200
|
apiContract: "2026-06-dataset-column-cell-stale-hard-cutover",
|
|
201
201
|
supportPolicy: {
|
|
202
|
-
latest: "0.1.
|
|
202
|
+
latest: "0.1.118",
|
|
203
203
|
minimumSupported: "0.1.53",
|
|
204
204
|
deprecatedBelow: "0.1.53",
|
|
205
205
|
commandMinimumSupported: [
|
|
@@ -446,7 +446,7 @@ var HttpClient = class {
|
|
|
446
446
|
}
|
|
447
447
|
const errorValue = typeof parsed === "object" && parsed && "error" in parsed ? parsed.error : void 0;
|
|
448
448
|
const msg = typeof errorValue === "string" ? errorValue : errorValue && typeof errorValue === "object" && "message" in errorValue && typeof errorValue.message === "string" ? errorValue.message : typeof parsed === "object" && parsed && "message" in parsed && typeof parsed.message === "string" ? parsed.message : `HTTP ${response.status}`;
|
|
449
|
-
const apiErrorCode = errorValue && typeof errorValue === "object" && typeof errorValue.code === "string" ? errorValue.code : "API_ERROR";
|
|
449
|
+
const apiErrorCode = errorValue && typeof errorValue === "object" && typeof errorValue.code === "string" ? errorValue.code : typeof parsed === "object" && parsed && typeof parsed.code === "string" ? parsed.code : "API_ERROR";
|
|
450
450
|
lastError = new DeeplineError(msg, response.status, apiErrorCode, {
|
|
451
451
|
response: parsed
|
|
452
452
|
});
|
|
@@ -335,7 +335,11 @@ export class HttpClient {
|
|
|
335
335
|
typeof errorValue === 'object' &&
|
|
336
336
|
typeof (errorValue as Record<string, unknown>).code === 'string'
|
|
337
337
|
? (errorValue as Record<string, string>).code
|
|
338
|
-
: '
|
|
338
|
+
: typeof parsed === 'object' &&
|
|
339
|
+
parsed &&
|
|
340
|
+
typeof (parsed as Record<string, unknown>).code === 'string'
|
|
341
|
+
? (parsed as Record<string, string>).code
|
|
342
|
+
: 'API_ERROR';
|
|
339
343
|
lastError = new DeeplineError(msg, response.status, apiErrorCode, {
|
|
340
344
|
response: parsed,
|
|
341
345
|
});
|
|
@@ -99,10 +99,10 @@ export const SDK_RELEASE = {
|
|
|
99
99
|
// skill on the sdk sync surface, and the people-search-to-email prebuilt.
|
|
100
100
|
// 0.1.108 ships explicit dataset column/tool recompute policy and removes
|
|
101
101
|
// the SDK enrich generator's one-second stale policy.
|
|
102
|
-
version: '0.1.
|
|
102
|
+
version: '0.1.118',
|
|
103
103
|
apiContract: '2026-06-dataset-column-cell-stale-hard-cutover',
|
|
104
104
|
supportPolicy: {
|
|
105
|
-
latest: '0.1.
|
|
105
|
+
latest: '0.1.118',
|
|
106
106
|
minimumSupported: '0.1.53',
|
|
107
107
|
deprecatedBelow: '0.1.53',
|
|
108
108
|
commandMinimumSupported: [
|