deepline 0.1.21 → 0.1.23

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.
@@ -1,9 +1,8 @@
1
1
  /**
2
2
  * Execution profile = the (scheduler, runner, dedup) tuple selected for a run.
3
3
  *
4
- * Profiles let us hot-swap whole architectures for benchmarking and migration:
4
+ * Profiles define the supported execution architectures:
5
5
  * - `workers_edge` — Full-CF: Dynamic Workers + Cloudflare Workflows + DO dedup (default)
6
- * - `legacy` — Daytona + Temporal + in-memory dedup (deprecated; kept for benchmarking)
7
6
  * - `local` — Local subprocess + in-process scheduler (for tests)
8
7
  *
9
8
  * Selection: the API hardcodes `workers_edge` as the default. Per-run
@@ -30,7 +29,6 @@ export type PlayExecutionProfile = {
30
29
  };
31
30
 
32
31
  export const PLAY_EXECUTION_PROFILE_IDS = {
33
- legacy: 'legacy',
34
32
  workersEdge: 'workers_edge',
35
33
  local: 'local',
36
34
  } as const;
@@ -42,13 +40,6 @@ export const PLAY_EXECUTION_PROFILES: Record<
42
40
  PlayExecutionProfileId,
43
41
  PlayExecutionProfile
44
42
  > = {
45
- legacy: {
46
- id: 'legacy',
47
- scheduler: PLAY_SCHEDULER_BACKENDS.temporal,
48
- runner: PLAY_RUNTIME_BACKENDS.daytona,
49
- dedup: PLAY_DEDUP_BACKENDS.inMemory,
50
- label: 'Daytona + Temporal (production today)',
51
- },
52
43
  workers_edge: {
53
44
  id: 'workers_edge',
54
45
  scheduler: PLAY_SCHEDULER_BACKENDS.cfWorkflows,
@@ -67,10 +58,9 @@ export const PLAY_EXECUTION_PROFILES: Record<
67
58
 
68
59
  export function defaultExecutionProfile(): PlayExecutionProfile {
69
60
  // Hardcoded. The full-Cloudflare path is the only production execution
70
- // story Dynamic Workflows + Dynamic Workers + DO dedup. legacy/local
71
- // remain selectable via the per-run `profile` body field on
72
- // POST /api/v2/plays/run for benchmarking and tests; do NOT reintroduce
73
- // env-var-based switching here.
61
+ // story: Dynamic Workflows + Dynamic Workers + DO dedup. local remains
62
+ // selectable via the per-run `profile` body field on POST /api/v2/plays/run
63
+ // for tests; do not reintroduce env-var-based switching here.
74
64
  return PLAY_EXECUTION_PROFILES.workers_edge;
75
65
  }
76
66
 
@@ -7,7 +7,7 @@ export type RuntimeRunStatusAction = {
7
7
  action: 'update_run_status';
8
8
  playId: string;
9
9
  status: string;
10
- error?: string;
10
+ error?: string | null;
11
11
  runtimeBackend?: string | null;
12
12
  artifactHash?: string | null;
13
13
  graphHash?: string | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "deepline",
3
- "version": "0.1.21",
3
+ "version": "0.1.23",
4
4
  "description": "Deepline SDK + CLI — B2B data enrichment powered by durable cloud execution",
5
5
  "license": "MIT",
6
6
  "repository": {