deepline 0.3.140 → 0.3.142

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.
Files changed (26) hide show
  1. package/dist/bundling-sources/sdk/src/client.ts +18 -0
  2. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  3. package/dist/bundling-sources/sdk/src/types.ts +65 -2
  4. package/dist/bundling-sources/shared_libs/observability/dlq.ts +11 -0
  5. package/dist/bundling-sources/shared_libs/observability/queue-health.ts +111 -0
  6. package/dist/bundling-sources/shared_libs/play-runtime/bettercontact-batching.ts +34 -8
  7. package/dist/bundling-sources/shared_libs/play-runtime/context.ts +271 -44
  8. package/dist/bundling-sources/shared_libs/play-runtime/ctx-types.ts +25 -6
  9. package/dist/bundling-sources/shared_libs/play-runtime/governor/app-runtime-rate-state-backend.ts +132 -8
  10. package/dist/bundling-sources/shared_libs/play-runtime/play-runtime-batching-registry.ts +3 -1
  11. package/dist/bundling-sources/shared_libs/play-runtime/runner-app/index.ts +49 -54
  12. package/dist/bundling-sources/shared_libs/play-runtime/runtime-api.ts +14 -7
  13. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres-rate-state.ts +118 -29
  14. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runtime-queue-health.ts +183 -36
  15. package/dist/bundling-sources/shared_libs/product-notifications/events.ts +4 -1
  16. package/dist/cli/index.js +247 -12
  17. package/dist/cli/index.mjs +247 -12
  18. package/dist/index.d.mts +69 -2
  19. package/dist/index.d.ts +69 -2
  20. package/dist/index.js +2 -1
  21. package/dist/index.mjs +2 -1
  22. package/dist/release.d.mts +1 -1
  23. package/dist/release.d.ts +1 -1
  24. package/dist/release.js +1 -1
  25. package/dist/release.mjs +1 -1
  26. package/package.json +1 -1
package/dist/index.mjs CHANGED
@@ -768,7 +768,7 @@ var SDK_RELEASE = {
768
768
  // getters keep their established compatibility behavior.
769
769
  // 0.3.1 deprecated the legacy `deepline enrich` command in favor of Plays.
770
770
  // 0.3.90 is the first deliberately versioned SDK release for API v3.
771
- version: "0.3.140",
771
+ version: "0.3.142",
772
772
  updateSummary: "Play grep now returns concise results with the matched fields and terms. Automatic CLI updates are enabled by default; use `deepline settings autoupdate off` to opt out, `deepline settings autoupdate on` to re-enable updates, or `deepline settings autoupdate pin <version>` to hold an exact release.",
773
773
  packageCapabilities: {
774
774
  updatePreferences: 1
@@ -7208,6 +7208,7 @@ var DeeplineClient = class _DeeplineClient {
7208
7208
  "/api/v2/billing/plan-transitions",
7209
7209
  {
7210
7210
  action: options.action,
7211
+ ...options.action === "start_or_change" && options.billingEmail ? { billing_email: options.billingEmail } : {},
7211
7212
  ...options.targetPlanSku ? { target_plan_sku: options.targetPlanSku } : {}
7212
7213
  },
7213
7214
  { "Idempotency-Key": idempotencyKey },
@@ -149,7 +149,7 @@ type SdkRelease = {
149
149
  supportPolicy: SdkSupportPolicy;
150
150
  };
151
151
  declare const SDK_RELEASE: {
152
- readonly version: "0.3.140";
152
+ readonly version: "0.3.142";
153
153
  readonly updateSummary: "Play grep now returns concise results with the matched fields and terms. Automatic CLI updates are enabled by default; use `deepline settings autoupdate off` to opt out, `deepline settings autoupdate on` to re-enable updates, or `deepline settings autoupdate pin <version>` to hold an exact release.";
154
154
  readonly packageCapabilities: {
155
155
  readonly updatePreferences: 1;
package/dist/release.d.ts CHANGED
@@ -149,7 +149,7 @@ type SdkRelease = {
149
149
  supportPolicy: SdkSupportPolicy;
150
150
  };
151
151
  declare const SDK_RELEASE: {
152
- readonly version: "0.3.140";
152
+ readonly version: "0.3.142";
153
153
  readonly updateSummary: "Play grep now returns concise results with the matched fields and terms. Automatic CLI updates are enabled by default; use `deepline settings autoupdate off` to opt out, `deepline settings autoupdate on` to re-enable updates, or `deepline settings autoupdate pin <version>` to hold an exact release.";
154
154
  readonly packageCapabilities: {
155
155
  readonly updatePreferences: 1;
package/dist/release.js CHANGED
@@ -74,7 +74,7 @@ var SDK_RELEASE = {
74
74
  // getters keep their established compatibility behavior.
75
75
  // 0.3.1 deprecated the legacy `deepline enrich` command in favor of Plays.
76
76
  // 0.3.90 is the first deliberately versioned SDK release for API v3.
77
- version: "0.3.140",
77
+ version: "0.3.142",
78
78
  updateSummary: "Play grep now returns concise results with the matched fields and terms. Automatic CLI updates are enabled by default; use `deepline settings autoupdate off` to opt out, `deepline settings autoupdate on` to re-enable updates, or `deepline settings autoupdate pin <version>` to hold an exact release.",
79
79
  packageCapabilities: {
80
80
  updatePreferences: 1
package/dist/release.mjs CHANGED
@@ -48,7 +48,7 @@ var SDK_RELEASE = {
48
48
  // getters keep their established compatibility behavior.
49
49
  // 0.3.1 deprecated the legacy `deepline enrich` command in favor of Plays.
50
50
  // 0.3.90 is the first deliberately versioned SDK release for API v3.
51
- version: "0.3.140",
51
+ version: "0.3.142",
52
52
  updateSummary: "Play grep now returns concise results with the matched fields and terms. Automatic CLI updates are enabled by default; use `deepline settings autoupdate off` to opt out, `deepline settings autoupdate on` to re-enable updates, or `deepline settings autoupdate pin <version>` to hold an exact release.",
53
53
  packageCapabilities: {
54
54
  updatePreferences: 1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "deepline",
3
- "version": "0.3.140",
3
+ "version": "0.3.142",
4
4
  "description": "GTM data CLI and TypeScript SDK for coding agents",
5
5
  "license": "MIT",
6
6
  "homepage": "https://code.deepline.com",