deepline 0.2.38 → 0.2.39

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.
@@ -160,7 +160,7 @@ export const SDK_RELEASE = {
160
160
  // 0.2.0 makes Dataset Handles uniformly async-only after 0.1.320 briefly
161
161
  // exposed storage-dependent synchronous access. This deliberate minor
162
162
  // release keeps lazy paging semantics independent of row residency.
163
- version: '0.2.38',
163
+ version: '0.2.39',
164
164
  contracts: {
165
165
  api: {
166
166
  name: 'sdk-http-api',
package/dist/cli/index.js CHANGED
@@ -1044,7 +1044,7 @@ var SDK_RELEASE = {
1044
1044
  // 0.2.0 makes Dataset Handles uniformly async-only after 0.1.320 briefly
1045
1045
  // exposed storage-dependent synchronous access. This deliberate minor
1046
1046
  // release keeps lazy paging semantics independent of row residency.
1047
- version: "0.2.38",
1047
+ version: "0.2.39",
1048
1048
  contracts: {
1049
1049
  api: {
1050
1050
  name: "sdk-http-api",
@@ -30394,7 +30394,7 @@ function monitorsErrorExitCode(error) {
30394
30394
  const status = error.statusCode;
30395
30395
  if (status === 401 || status === 403) return 3;
30396
30396
  if (status === 404) return 4;
30397
- if (status === 400 || status === 422) return 7;
30397
+ if (status === 400 || status === 409 || status === 422) return 7;
30398
30398
  return 5;
30399
30399
  }
30400
30400
  return 5;
@@ -30829,6 +30829,8 @@ function renderDeployedListText(payload, requestedStatus) {
30829
30829
  const name = asString(entry.name);
30830
30830
  const outputTable = asString(entry.output_table);
30831
30831
  const webhookState = asString(entry.webhook_state);
30832
+ const hasLastReceivedEvent = "last_received_event" in entry;
30833
+ const lastReceivedEvent = asString(entry.last_received_event);
30832
30834
  const boundPlays = Array.isArray(entry.bound_plays) ? entry.bound_plays.length : void 0;
30833
30835
  lines.push(
30834
30836
  ` ${key}${status ? ` ${status}` : ""}${tool ? ` ${tool}` : ""}${name ? ` (${name})` : ""}`
@@ -30842,6 +30844,9 @@ function renderDeployedListText(payload, requestedStatus) {
30842
30844
  ].filter(Boolean).join(" ")}`
30843
30845
  );
30844
30846
  }
30847
+ if (hasLastReceivedEvent) {
30848
+ lines.push(` last received: ${lastReceivedEvent ?? "never"}`);
30849
+ }
30845
30850
  }
30846
30851
  const applied = asString(payload.status_filter_applied) ?? requestedStatus ?? "active";
30847
30852
  lines.push(
@@ -30918,6 +30923,8 @@ function renderMonitorGet(payload) {
30918
30923
  const tool = asString(payload.tool);
30919
30924
  if (!key || !tool) return void 0;
30920
30925
  const status = asString(payload.status);
30926
+ const hasLastReceivedEvent = "last_received_event" in payload;
30927
+ const lastReceivedEvent = asString(payload.last_received_event);
30921
30928
  const definition = asRecord2(payload.definition);
30922
30929
  const pricingLine = monitorPricingLine(payload.pricing);
30923
30930
  const billing = asRecord2(payload.billing);
@@ -30930,6 +30937,7 @@ function renderMonitorGet(payload) {
30930
30937
  `Monitor: ${key}`,
30931
30938
  `Tool: ${tool}`,
30932
30939
  ...status ? [`Status: ${status}`] : [],
30940
+ ...hasLastReceivedEvent ? [`Last received: ${lastReceivedEvent ?? "never"}`] : [],
30933
30941
  ...pricingLine ? [`Pricing: ${pricingLine}`] : [],
30934
30942
  ...nextRenewalAt ? [`Next renewal: ${nextRenewalAt}`] : []
30935
30943
  ];
@@ -1030,7 +1030,7 @@ var SDK_RELEASE = {
1030
1030
  // 0.2.0 makes Dataset Handles uniformly async-only after 0.1.320 briefly
1031
1031
  // exposed storage-dependent synchronous access. This deliberate minor
1032
1032
  // release keeps lazy paging semantics independent of row residency.
1033
- version: "0.2.38",
1033
+ version: "0.2.39",
1034
1034
  contracts: {
1035
1035
  api: {
1036
1036
  name: "sdk-http-api",
@@ -30445,7 +30445,7 @@ function monitorsErrorExitCode(error) {
30445
30445
  const status = error.statusCode;
30446
30446
  if (status === 401 || status === 403) return 3;
30447
30447
  if (status === 404) return 4;
30448
- if (status === 400 || status === 422) return 7;
30448
+ if (status === 400 || status === 409 || status === 422) return 7;
30449
30449
  return 5;
30450
30450
  }
30451
30451
  return 5;
@@ -30880,6 +30880,8 @@ function renderDeployedListText(payload, requestedStatus) {
30880
30880
  const name = asString(entry.name);
30881
30881
  const outputTable = asString(entry.output_table);
30882
30882
  const webhookState = asString(entry.webhook_state);
30883
+ const hasLastReceivedEvent = "last_received_event" in entry;
30884
+ const lastReceivedEvent = asString(entry.last_received_event);
30883
30885
  const boundPlays = Array.isArray(entry.bound_plays) ? entry.bound_plays.length : void 0;
30884
30886
  lines.push(
30885
30887
  ` ${key}${status ? ` ${status}` : ""}${tool ? ` ${tool}` : ""}${name ? ` (${name})` : ""}`
@@ -30893,6 +30895,9 @@ function renderDeployedListText(payload, requestedStatus) {
30893
30895
  ].filter(Boolean).join(" ")}`
30894
30896
  );
30895
30897
  }
30898
+ if (hasLastReceivedEvent) {
30899
+ lines.push(` last received: ${lastReceivedEvent ?? "never"}`);
30900
+ }
30896
30901
  }
30897
30902
  const applied = asString(payload.status_filter_applied) ?? requestedStatus ?? "active";
30898
30903
  lines.push(
@@ -30969,6 +30974,8 @@ function renderMonitorGet(payload) {
30969
30974
  const tool = asString(payload.tool);
30970
30975
  if (!key || !tool) return void 0;
30971
30976
  const status = asString(payload.status);
30977
+ const hasLastReceivedEvent = "last_received_event" in payload;
30978
+ const lastReceivedEvent = asString(payload.last_received_event);
30972
30979
  const definition = asRecord2(payload.definition);
30973
30980
  const pricingLine = monitorPricingLine(payload.pricing);
30974
30981
  const billing = asRecord2(payload.billing);
@@ -30981,6 +30988,7 @@ function renderMonitorGet(payload) {
30981
30988
  `Monitor: ${key}`,
30982
30989
  `Tool: ${tool}`,
30983
30990
  ...status ? [`Status: ${status}`] : [],
30991
+ ...hasLastReceivedEvent ? [`Last received: ${lastReceivedEvent ?? "never"}`] : [],
30984
30992
  ...pricingLine ? [`Pricing: ${pricingLine}`] : [],
30985
30993
  ...nextRenewalAt ? [`Next renewal: ${nextRenewalAt}`] : []
30986
30994
  ];
package/dist/index.js CHANGED
@@ -763,7 +763,7 @@ var SDK_RELEASE = {
763
763
  // 0.2.0 makes Dataset Handles uniformly async-only after 0.1.320 briefly
764
764
  // exposed storage-dependent synchronous access. This deliberate minor
765
765
  // release keeps lazy paging semantics independent of row residency.
766
- version: "0.2.38",
766
+ version: "0.2.39",
767
767
  contracts: {
768
768
  api: {
769
769
  name: "sdk-http-api",
package/dist/index.mjs CHANGED
@@ -689,7 +689,7 @@ var SDK_RELEASE = {
689
689
  // 0.2.0 makes Dataset Handles uniformly async-only after 0.1.320 briefly
690
690
  // exposed storage-dependent synchronous access. This deliberate minor
691
691
  // release keeps lazy paging semantics independent of row residency.
692
- version: "0.2.38",
692
+ version: "0.2.39",
693
693
  contracts: {
694
694
  api: {
695
695
  name: "sdk-http-api",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "deepline",
3
- "version": "0.2.38",
3
+ "version": "0.2.39",
4
4
  "description": "Deepline SDK + CLI — B2B data enrichment powered by durable cloud execution",
5
5
  "license": "MIT",
6
6
  "repository": {