deepline 0.2.15 → 0.2.16

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.15',
163
+ version: '0.2.16',
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.15",
1047
+ version: "0.2.16",
1048
1048
  contracts: {
1049
1049
  api: {
1050
1050
  name: "sdk-http-api",
@@ -7787,6 +7787,7 @@ async function handleUsage(options) {
7787
7787
  const params = new URLSearchParams();
7788
7788
  if (options.limit) params.set("recent_limit", options.limit);
7789
7789
  if (options.offset) params.set("recent_offset", options.offset);
7790
+ if (options.cursor) params.set("recent_cursor", options.cursor);
7790
7791
  if (options.runId) params.set("run_id", options.runId);
7791
7792
  const suffix = Array.from(params).length > 0 ? `?${params.toString()}` : "";
7792
7793
  const payload = await http.get(
@@ -7804,7 +7805,10 @@ async function handleUsage(options) {
7804
7805
  `Monthly limit: ${quota.enabled ? quota.monthly_credits_limit ?? "(unknown)" : "off"}`,
7805
7806
  ...recentUsageLines(
7806
7807
  Array.isArray(recent.entries) ? recent.entries : []
7807
- )
7808
+ ),
7809
+ ...typeof recent.next_cursor === "string" && recent.next_cursor.length > 0 ? [
7810
+ `Next page: deepline billing usage --cursor ${recent.next_cursor}${options.limit ? ` --limit ${options.limit}` : ""}`
7811
+ ] : []
7808
7812
  ];
7809
7813
  printCommandEnvelope(
7810
7814
  {
@@ -8527,14 +8531,17 @@ Examples:
8527
8531
  `
8528
8532
  Notes:
8529
8533
  Read-only. Shows last-30-day Deepline credit usage plus a bounded recent-call
8530
- page. Use --limit/--offset to paginate the recent-call section.
8534
+ page. Use --limit/--cursor to paginate the recent-call section.
8531
8535
 
8532
8536
  Examples:
8533
8537
  deepline billing usage
8534
- deepline billing usage --limit 50 --offset 50 --json
8538
+ deepline billing usage --limit 50 --cursor <next_cursor> --json
8535
8539
  deepline billing usage --run-id play/example/run/20260630t120000-000-abcdef --json
8536
8540
  `
8537
- ).option("--limit <n>", "Recent-call page size").option("--offset <n>", "Recent-call offset").option("--run-id <run_id>", "Show recent usage for one play run").option("--json", "Emit JSON output. Also automatic when stdout is piped").action(handleUsage);
8541
+ ).option("--limit <n>", "Recent-call page size").option("--offset <n>", "Recent-call offset").option(
8542
+ "--cursor <cursor>",
8543
+ "Recent-call cursor from the previous response"
8544
+ ).option("--run-id <run_id>", "Show recent usage for one play run").option("--json", "Emit JSON output. Also automatic when stdout is piped").action(handleUsage);
8538
8545
  billing.command("limit").description("Show configured monthly limit state.").addHelpText(
8539
8546
  "after",
8540
8547
  `
@@ -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.15",
1033
+ version: "0.2.16",
1034
1034
  contracts: {
1035
1035
  api: {
1036
1036
  name: "sdk-http-api",
@@ -7785,6 +7785,7 @@ async function handleUsage(options) {
7785
7785
  const params = new URLSearchParams();
7786
7786
  if (options.limit) params.set("recent_limit", options.limit);
7787
7787
  if (options.offset) params.set("recent_offset", options.offset);
7788
+ if (options.cursor) params.set("recent_cursor", options.cursor);
7788
7789
  if (options.runId) params.set("run_id", options.runId);
7789
7790
  const suffix = Array.from(params).length > 0 ? `?${params.toString()}` : "";
7790
7791
  const payload = await http.get(
@@ -7802,7 +7803,10 @@ async function handleUsage(options) {
7802
7803
  `Monthly limit: ${quota.enabled ? quota.monthly_credits_limit ?? "(unknown)" : "off"}`,
7803
7804
  ...recentUsageLines(
7804
7805
  Array.isArray(recent.entries) ? recent.entries : []
7805
- )
7806
+ ),
7807
+ ...typeof recent.next_cursor === "string" && recent.next_cursor.length > 0 ? [
7808
+ `Next page: deepline billing usage --cursor ${recent.next_cursor}${options.limit ? ` --limit ${options.limit}` : ""}`
7809
+ ] : []
7806
7810
  ];
7807
7811
  printCommandEnvelope(
7808
7812
  {
@@ -8525,14 +8529,17 @@ Examples:
8525
8529
  `
8526
8530
  Notes:
8527
8531
  Read-only. Shows last-30-day Deepline credit usage plus a bounded recent-call
8528
- page. Use --limit/--offset to paginate the recent-call section.
8532
+ page. Use --limit/--cursor to paginate the recent-call section.
8529
8533
 
8530
8534
  Examples:
8531
8535
  deepline billing usage
8532
- deepline billing usage --limit 50 --offset 50 --json
8536
+ deepline billing usage --limit 50 --cursor <next_cursor> --json
8533
8537
  deepline billing usage --run-id play/example/run/20260630t120000-000-abcdef --json
8534
8538
  `
8535
- ).option("--limit <n>", "Recent-call page size").option("--offset <n>", "Recent-call offset").option("--run-id <run_id>", "Show recent usage for one play run").option("--json", "Emit JSON output. Also automatic when stdout is piped").action(handleUsage);
8539
+ ).option("--limit <n>", "Recent-call page size").option("--offset <n>", "Recent-call offset").option(
8540
+ "--cursor <cursor>",
8541
+ "Recent-call cursor from the previous response"
8542
+ ).option("--run-id <run_id>", "Show recent usage for one play run").option("--json", "Emit JSON output. Also automatic when stdout is piped").action(handleUsage);
8536
8543
  billing.command("limit").description("Show configured monthly limit state.").addHelpText(
8537
8544
  "after",
8538
8545
  `
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.15",
766
+ version: "0.2.16",
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.15",
692
+ version: "0.2.16",
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.15",
3
+ "version": "0.2.16",
4
4
  "description": "Deepline SDK + CLI — B2B data enrichment powered by durable cloud execution",
5
5
  "license": "MIT",
6
6
  "repository": {