deepline 0.1.281 → 0.1.282

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.
@@ -155,7 +155,7 @@ export const SDK_RELEASE = {
155
155
  // 0.1.253 makes play-page browser opening opt-in and retires --no-open.
156
156
  // 0.1.254 removes the internal operations tree from the published SDK CLI.
157
157
  // Operators use the checkout-local deepline-admin binary instead.
158
- version: '0.1.281',
158
+ version: '0.1.282',
159
159
  contracts: {
160
160
  api: {
161
161
  name: 'sdk-http-api',
@@ -142,6 +142,7 @@ import {
142
142
  isQueryResultDatasetReadRequest,
143
143
  isQueryResultDatasetTool,
144
144
  } from './query-result-dataset';
145
+ import { isAlwaysFreshIntegrationTool } from './tool-cache-policy';
145
146
  import { isRowIsolationExemptError } from './row-isolation';
146
147
  import {
147
148
  createRuntimePersistenceLatch,
@@ -6355,7 +6356,9 @@ export class PlayContextImpl {
6355
6356
  const eventWaitHandler =
6356
6357
  (await this.#options.getIntegrationEventWaitHandler?.(toolId)) ?? null;
6357
6358
  const cacheableToolResult =
6358
- !eventWaitHandler && !isQueryResultDatasetReadRequest(toolId, input);
6359
+ !eventWaitHandler &&
6360
+ !isQueryResultDatasetReadRequest(toolId, input) &&
6361
+ !isAlwaysFreshIntegrationTool(toolId);
6359
6362
  let durableCacheKey = await this.durableToolCallCacheKey({
6360
6363
  toolId,
6361
6364
  requestInput: input,
@@ -0,0 +1,14 @@
1
+ const ALWAYS_FRESH_INTEGRATION_TOOL_IDS = new Set([
2
+ 'google_workspace_request',
3
+ 'google_workspace_export_dataset',
4
+ // Unique public operation alias for google_workspace_export_dataset.
5
+ 'export_dataset',
6
+ ]);
7
+
8
+ /**
9
+ * These tools read or mutate reviewer-owned live state. Reusing a checkpoint or
10
+ * durable receipt would hide edits or skip the export's conflict checks.
11
+ */
12
+ export function isAlwaysFreshIntegrationTool(toolId: string): boolean {
13
+ return ALWAYS_FRESH_INTEGRATION_TOOL_IDS.has(toolId.trim());
14
+ }
package/dist/cli/index.js CHANGED
@@ -718,7 +718,7 @@ var SDK_RELEASE = {
718
718
  // 0.1.253 makes play-page browser opening opt-in and retires --no-open.
719
719
  // 0.1.254 removes the internal operations tree from the published SDK CLI.
720
720
  // Operators use the checkout-local deepline-admin binary instead.
721
- version: "0.1.281",
721
+ version: "0.1.282",
722
722
  contracts: {
723
723
  api: {
724
724
  name: "sdk-http-api",
@@ -703,7 +703,7 @@ var SDK_RELEASE = {
703
703
  // 0.1.253 makes play-page browser opening opt-in and retires --no-open.
704
704
  // 0.1.254 removes the internal operations tree from the published SDK CLI.
705
705
  // Operators use the checkout-local deepline-admin binary instead.
706
- version: "0.1.281",
706
+ version: "0.1.282",
707
707
  contracts: {
708
708
  api: {
709
709
  name: "sdk-http-api",
package/dist/index.js CHANGED
@@ -438,7 +438,7 @@ var SDK_RELEASE = {
438
438
  // 0.1.253 makes play-page browser opening opt-in and retires --no-open.
439
439
  // 0.1.254 removes the internal operations tree from the published SDK CLI.
440
440
  // Operators use the checkout-local deepline-admin binary instead.
441
- version: "0.1.281",
441
+ version: "0.1.282",
442
442
  contracts: {
443
443
  api: {
444
444
  name: "sdk-http-api",
package/dist/index.mjs CHANGED
@@ -367,7 +367,7 @@ var SDK_RELEASE = {
367
367
  // 0.1.253 makes play-page browser opening opt-in and retires --no-open.
368
368
  // 0.1.254 removes the internal operations tree from the published SDK CLI.
369
369
  // Operators use the checkout-local deepline-admin binary instead.
370
- version: "0.1.281",
370
+ version: "0.1.282",
371
371
  contracts: {
372
372
  api: {
373
373
  name: "sdk-http-api",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "deepline",
3
- "version": "0.1.281",
3
+ "version": "0.1.282",
4
4
  "description": "Deepline SDK + CLI — B2B data enrichment powered by durable cloud execution",
5
5
  "license": "MIT",
6
6
  "repository": {