deepline 0.3.20 → 0.3.21

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.
@@ -192,7 +192,7 @@ export const SDK_RELEASE = {
192
192
  // 0.3.0 introduces raw-v2: complete scrubbed provider responses are
193
193
  // available at toolResponse.rawV2 while toolResponse.raw and all declared
194
194
  // getters keep their established compatibility behavior.
195
- version: '0.3.20',
195
+ version: '0.3.21',
196
196
  updateSummary:
197
197
  'New raw-v2 tool responses preserve complete scrubbed provider envelopes at toolResponse.rawV2, including JSON:API included resources, links, cursors, and totals. Existing toolResponse.raw and declared getters keep working unchanged.',
198
198
  contracts: {
@@ -1343,8 +1343,9 @@ type ToolExecutionApiOptions = {
1343
1343
  durableCallReceiptKey?: string | null;
1344
1344
  executionAuthScopeDigest?: string | null;
1345
1345
  /**
1346
- * Historical receipt identity that anchors external provider idempotency
1347
- * while a newer response contract uses a distinct durable receipt.
1346
+ * Historical receipt identity used for the API's provider/billing
1347
+ * idempotency receipt. This can differ from the worker-owned durable cache
1348
+ * receipt while a response contract migrates.
1348
1349
  */
1349
1350
  providerIdempotencyReceiptKey?: string | null;
1350
1351
  providerIdempotencyKey?: string | null;
@@ -11890,9 +11891,14 @@ export class PlayContextImpl implements ScalarPlayAuthoringRuntimeContext {
11890
11891
  ...(requestsDurableInvocationFence
11891
11892
  ? { invocation_fence_version: 1 }
11892
11893
  : {}),
11893
- ...(durableCallReceiptKey
11894
+ // This is deliberately the provider receipt, rather than the
11895
+ // worker-owned response cache receipt. It keeps a newer
11896
+ // worker wire-compatible with an already active Vercel app
11897
+ // while its runtime cache can still partition by response
11898
+ // representation.
11899
+ ...(providerIdempotencyReceiptKey
11894
11900
  ? {
11895
- durable_call_receipt_key: durableCallReceiptKey,
11901
+ durable_call_receipt_key: providerIdempotencyReceiptKey,
11896
11902
  ...(executionAuthScopeDigest
11897
11903
  ? {
11898
11904
  execution_auth_scope_digest:
@@ -11924,12 +11930,6 @@ export class PlayContextImpl implements ScalarPlayAuthoringRuntimeContext {
11924
11930
  ...(providerIdempotencyKey
11925
11931
  ? { provider_idempotency_key: providerIdempotencyKey }
11926
11932
  : {}),
11927
- ...(providerIdempotencyReceiptKey
11928
- ? {
11929
- provider_idempotency_receipt_key:
11930
- providerIdempotencyReceiptKey,
11931
- }
11932
- : {}),
11933
11933
  ...(playNodeScope
11934
11934
  ? { play_node_scope: playNodeScopeToWire(playNodeScope) }
11935
11935
  : {}),
package/dist/cli/index.js CHANGED
@@ -1047,7 +1047,7 @@ var SDK_RELEASE = {
1047
1047
  // 0.3.0 introduces raw-v2: complete scrubbed provider responses are
1048
1048
  // available at toolResponse.rawV2 while toolResponse.raw and all declared
1049
1049
  // getters keep their established compatibility behavior.
1050
- version: "0.3.20",
1050
+ version: "0.3.21",
1051
1051
  updateSummary: "New raw-v2 tool responses preserve complete scrubbed provider envelopes at toolResponse.rawV2, including JSON:API included resources, links, cursors, and totals. Existing toolResponse.raw and declared getters keep working unchanged.",
1052
1052
  contracts: {
1053
1053
  api: {
@@ -1033,7 +1033,7 @@ var SDK_RELEASE = {
1033
1033
  // 0.3.0 introduces raw-v2: complete scrubbed provider responses are
1034
1034
  // available at toolResponse.rawV2 while toolResponse.raw and all declared
1035
1035
  // getters keep their established compatibility behavior.
1036
- version: "0.3.20",
1036
+ version: "0.3.21",
1037
1037
  updateSummary: "New raw-v2 tool responses preserve complete scrubbed provider envelopes at toolResponse.rawV2, including JSON:API included resources, links, cursors, and totals. Existing toolResponse.raw and declared getters keep working unchanged.",
1038
1038
  contracts: {
1039
1039
  api: {
package/dist/index.js CHANGED
@@ -783,7 +783,7 @@ var SDK_RELEASE = {
783
783
  // 0.3.0 introduces raw-v2: complete scrubbed provider responses are
784
784
  // available at toolResponse.rawV2 while toolResponse.raw and all declared
785
785
  // getters keep their established compatibility behavior.
786
- version: "0.3.20",
786
+ version: "0.3.21",
787
787
  updateSummary: "New raw-v2 tool responses preserve complete scrubbed provider envelopes at toolResponse.rawV2, including JSON:API included resources, links, cursors, and totals. Existing toolResponse.raw and declared getters keep working unchanged.",
788
788
  contracts: {
789
789
  api: {
package/dist/index.mjs CHANGED
@@ -706,7 +706,7 @@ var SDK_RELEASE = {
706
706
  // 0.3.0 introduces raw-v2: complete scrubbed provider responses are
707
707
  // available at toolResponse.rawV2 while toolResponse.raw and all declared
708
708
  // getters keep their established compatibility behavior.
709
- version: "0.3.20",
709
+ version: "0.3.21",
710
710
  updateSummary: "New raw-v2 tool responses preserve complete scrubbed provider envelopes at toolResponse.rawV2, including JSON:API included resources, links, cursors, and totals. Existing toolResponse.raw and declared getters keep working unchanged.",
711
711
  contracts: {
712
712
  api: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "deepline",
3
- "version": "0.3.20",
3
+ "version": "0.3.21",
4
4
  "description": "GTM data CLI and TypeScript SDK for coding agents",
5
5
  "license": "MIT",
6
6
  "homepage": "https://code.deepline.com",