deepline 0.1.105 → 0.1.106
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 +15 -4
- package/dist/cli/index.mjs +15 -4
- package/dist/index.js +3 -2
- package/dist/index.mjs +3 -2
- package/dist/repo/sdk/src/release.ts +3 -2
- package/package.json +1 -1
package/dist/cli/index.js
CHANGED
|
@@ -241,10 +241,11 @@ var SDK_RELEASE = {
|
|
|
241
241
|
// 0.1.104 ships postgres_fast suspension/billing parity and runtime worker hardening.
|
|
242
242
|
// 0.1.105 ships the billing catalog surface: billing plans, subscribe,
|
|
243
243
|
// subscription status/cancel, invoices, and the client.billing namespace.
|
|
244
|
-
|
|
244
|
+
// 0.1.106 ships play cell provenance metadata and v2 preview retry hardening.
|
|
245
|
+
version: "0.1.106",
|
|
245
246
|
apiContract: "2026-06-dataset-column-cell-stale-hard-cutover",
|
|
246
247
|
supportPolicy: {
|
|
247
|
-
latest: "0.1.
|
|
248
|
+
latest: "0.1.106",
|
|
248
249
|
minimumSupported: "0.1.53",
|
|
249
250
|
deprecatedBelow: "0.1.53"
|
|
250
251
|
}
|
|
@@ -12271,8 +12272,13 @@ function exportableSheetRow(row) {
|
|
|
12271
12272
|
function mergeExportColumns(preferredColumns, rows) {
|
|
12272
12273
|
const columns = [];
|
|
12273
12274
|
const seen = /* @__PURE__ */ new Set();
|
|
12275
|
+
const hasActualColumn = (column) => rows.some((row) => Object.prototype.hasOwnProperty.call(row, column));
|
|
12276
|
+
const hasCanonicalReplacement = (column) => {
|
|
12277
|
+
const canonical = sqlSafeExportColumnName(column);
|
|
12278
|
+
return canonical !== column && hasActualColumn(canonical);
|
|
12279
|
+
};
|
|
12274
12280
|
for (const column of preferredColumns) {
|
|
12275
|
-
if (!column || seen.has(column)) {
|
|
12281
|
+
if (!column || seen.has(column) || hasCanonicalReplacement(column)) {
|
|
12276
12282
|
continue;
|
|
12277
12283
|
}
|
|
12278
12284
|
seen.add(column);
|
|
@@ -12280,7 +12286,7 @@ function mergeExportColumns(preferredColumns, rows) {
|
|
|
12280
12286
|
}
|
|
12281
12287
|
for (const row of rows) {
|
|
12282
12288
|
for (const column of Object.keys(row)) {
|
|
12283
|
-
if (seen.has(column)) {
|
|
12289
|
+
if (seen.has(column) || hasCanonicalReplacement(column)) {
|
|
12284
12290
|
continue;
|
|
12285
12291
|
}
|
|
12286
12292
|
seen.add(column);
|
|
@@ -12289,6 +12295,11 @@ function mergeExportColumns(preferredColumns, rows) {
|
|
|
12289
12295
|
}
|
|
12290
12296
|
return columns;
|
|
12291
12297
|
}
|
|
12298
|
+
function sqlSafeExportColumnName(id) {
|
|
12299
|
+
const normalized = id.trim().replace(/\.+/g, "__").replace(/[^A-Za-z0-9_]+/g, "_").replace(/^_+|_+$/g, "").toLowerCase();
|
|
12300
|
+
const safe = normalized || "column";
|
|
12301
|
+
return /^[A-Za-z_]/.test(safe) ? safe : `c_${safe}`;
|
|
12302
|
+
}
|
|
12292
12303
|
async function fetchBackingDatasetRows(input2) {
|
|
12293
12304
|
const playName = extractRunPlayName(input2.status);
|
|
12294
12305
|
const tableNamespace = input2.rowsInfo.tableNamespace?.trim();
|
package/dist/cli/index.mjs
CHANGED
|
@@ -218,10 +218,11 @@ var SDK_RELEASE = {
|
|
|
218
218
|
// 0.1.104 ships postgres_fast suspension/billing parity and runtime worker hardening.
|
|
219
219
|
// 0.1.105 ships the billing catalog surface: billing plans, subscribe,
|
|
220
220
|
// subscription status/cancel, invoices, and the client.billing namespace.
|
|
221
|
-
|
|
221
|
+
// 0.1.106 ships play cell provenance metadata and v2 preview retry hardening.
|
|
222
|
+
version: "0.1.106",
|
|
222
223
|
apiContract: "2026-06-dataset-column-cell-stale-hard-cutover",
|
|
223
224
|
supportPolicy: {
|
|
224
|
-
latest: "0.1.
|
|
225
|
+
latest: "0.1.106",
|
|
225
226
|
minimumSupported: "0.1.53",
|
|
226
227
|
deprecatedBelow: "0.1.53"
|
|
227
228
|
}
|
|
@@ -12288,8 +12289,13 @@ function exportableSheetRow(row) {
|
|
|
12288
12289
|
function mergeExportColumns(preferredColumns, rows) {
|
|
12289
12290
|
const columns = [];
|
|
12290
12291
|
const seen = /* @__PURE__ */ new Set();
|
|
12292
|
+
const hasActualColumn = (column) => rows.some((row) => Object.prototype.hasOwnProperty.call(row, column));
|
|
12293
|
+
const hasCanonicalReplacement = (column) => {
|
|
12294
|
+
const canonical = sqlSafeExportColumnName(column);
|
|
12295
|
+
return canonical !== column && hasActualColumn(canonical);
|
|
12296
|
+
};
|
|
12291
12297
|
for (const column of preferredColumns) {
|
|
12292
|
-
if (!column || seen.has(column)) {
|
|
12298
|
+
if (!column || seen.has(column) || hasCanonicalReplacement(column)) {
|
|
12293
12299
|
continue;
|
|
12294
12300
|
}
|
|
12295
12301
|
seen.add(column);
|
|
@@ -12297,7 +12303,7 @@ function mergeExportColumns(preferredColumns, rows) {
|
|
|
12297
12303
|
}
|
|
12298
12304
|
for (const row of rows) {
|
|
12299
12305
|
for (const column of Object.keys(row)) {
|
|
12300
|
-
if (seen.has(column)) {
|
|
12306
|
+
if (seen.has(column) || hasCanonicalReplacement(column)) {
|
|
12301
12307
|
continue;
|
|
12302
12308
|
}
|
|
12303
12309
|
seen.add(column);
|
|
@@ -12306,6 +12312,11 @@ function mergeExportColumns(preferredColumns, rows) {
|
|
|
12306
12312
|
}
|
|
12307
12313
|
return columns;
|
|
12308
12314
|
}
|
|
12315
|
+
function sqlSafeExportColumnName(id) {
|
|
12316
|
+
const normalized = id.trim().replace(/\.+/g, "__").replace(/[^A-Za-z0-9_]+/g, "_").replace(/^_+|_+$/g, "").toLowerCase();
|
|
12317
|
+
const safe = normalized || "column";
|
|
12318
|
+
return /^[A-Za-z_]/.test(safe) ? safe : `c_${safe}`;
|
|
12319
|
+
}
|
|
12309
12320
|
async function fetchBackingDatasetRows(input2) {
|
|
12310
12321
|
const playName = extractRunPlayName(input2.status);
|
|
12311
12322
|
const tableNamespace = input2.rowsInfo.tableNamespace?.trim();
|
package/dist/index.js
CHANGED
|
@@ -269,10 +269,11 @@ var SDK_RELEASE = {
|
|
|
269
269
|
// 0.1.104 ships postgres_fast suspension/billing parity and runtime worker hardening.
|
|
270
270
|
// 0.1.105 ships the billing catalog surface: billing plans, subscribe,
|
|
271
271
|
// subscription status/cancel, invoices, and the client.billing namespace.
|
|
272
|
-
|
|
272
|
+
// 0.1.106 ships play cell provenance metadata and v2 preview retry hardening.
|
|
273
|
+
version: "0.1.106",
|
|
273
274
|
apiContract: "2026-06-dataset-column-cell-stale-hard-cutover",
|
|
274
275
|
supportPolicy: {
|
|
275
|
-
latest: "0.1.
|
|
276
|
+
latest: "0.1.106",
|
|
276
277
|
minimumSupported: "0.1.53",
|
|
277
278
|
deprecatedBelow: "0.1.53"
|
|
278
279
|
}
|
package/dist/index.mjs
CHANGED
|
@@ -191,10 +191,11 @@ var SDK_RELEASE = {
|
|
|
191
191
|
// 0.1.104 ships postgres_fast suspension/billing parity and runtime worker hardening.
|
|
192
192
|
// 0.1.105 ships the billing catalog surface: billing plans, subscribe,
|
|
193
193
|
// subscription status/cancel, invoices, and the client.billing namespace.
|
|
194
|
-
|
|
194
|
+
// 0.1.106 ships play cell provenance metadata and v2 preview retry hardening.
|
|
195
|
+
version: "0.1.106",
|
|
195
196
|
apiContract: "2026-06-dataset-column-cell-stale-hard-cutover",
|
|
196
197
|
supportPolicy: {
|
|
197
|
-
latest: "0.1.
|
|
198
|
+
latest: "0.1.106",
|
|
198
199
|
minimumSupported: "0.1.53",
|
|
199
200
|
deprecatedBelow: "0.1.53"
|
|
200
201
|
}
|
|
@@ -62,10 +62,11 @@ export const SDK_RELEASE = {
|
|
|
62
62
|
// 0.1.104 ships postgres_fast suspension/billing parity and runtime worker hardening.
|
|
63
63
|
// 0.1.105 ships the billing catalog surface: billing plans, subscribe,
|
|
64
64
|
// subscription status/cancel, invoices, and the client.billing namespace.
|
|
65
|
-
|
|
65
|
+
// 0.1.106 ships play cell provenance metadata and v2 preview retry hardening.
|
|
66
|
+
version: '0.1.106',
|
|
66
67
|
apiContract: '2026-06-dataset-column-cell-stale-hard-cutover',
|
|
67
68
|
supportPolicy: {
|
|
68
|
-
latest: '0.1.
|
|
69
|
+
latest: '0.1.106',
|
|
69
70
|
minimumSupported: '0.1.53',
|
|
70
71
|
deprecatedBelow: '0.1.53',
|
|
71
72
|
},
|