@elaraai/e3-core 0.0.2-beta.12 → 0.0.2-beta.14

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 (95) hide show
  1. package/dist/src/dataflow.d.ts +118 -9
  2. package/dist/src/dataflow.d.ts.map +1 -1
  3. package/dist/src/dataflow.js +283 -54
  4. package/dist/src/dataflow.js.map +1 -1
  5. package/dist/src/errors.d.ts +11 -6
  6. package/dist/src/errors.d.ts.map +1 -1
  7. package/dist/src/errors.js +10 -3
  8. package/dist/src/errors.js.map +1 -1
  9. package/dist/src/execution/index.d.ts +14 -0
  10. package/dist/src/execution/index.d.ts.map +1 -0
  11. package/dist/src/execution/index.js +6 -0
  12. package/dist/src/execution/index.js.map +1 -0
  13. package/dist/src/execution/interfaces.d.ts +244 -0
  14. package/dist/src/execution/interfaces.d.ts.map +1 -0
  15. package/dist/src/execution/interfaces.js +6 -0
  16. package/dist/src/execution/interfaces.js.map +1 -0
  17. package/dist/src/executions.d.ts +48 -38
  18. package/dist/src/executions.d.ts.map +1 -1
  19. package/dist/src/executions.js +117 -162
  20. package/dist/src/executions.js.map +1 -1
  21. package/dist/src/gc.d.ts +9 -2
  22. package/dist/src/gc.d.ts.map +1 -1
  23. package/dist/src/gc.js +19 -9
  24. package/dist/src/gc.js.map +1 -1
  25. package/dist/src/index.d.ts +8 -6
  26. package/dist/src/index.d.ts.map +1 -1
  27. package/dist/src/index.js +22 -5
  28. package/dist/src/index.js.map +1 -1
  29. package/dist/src/objects.d.ts +6 -6
  30. package/dist/src/objects.js +6 -6
  31. package/dist/src/packages.d.ts +22 -14
  32. package/dist/src/packages.d.ts.map +1 -1
  33. package/dist/src/packages.js +45 -79
  34. package/dist/src/packages.js.map +1 -1
  35. package/dist/src/repository.d.ts +8 -4
  36. package/dist/src/repository.d.ts.map +1 -1
  37. package/dist/src/repository.js +25 -29
  38. package/dist/src/repository.js.map +1 -1
  39. package/dist/src/storage/index.d.ts +17 -0
  40. package/dist/src/storage/index.d.ts.map +1 -0
  41. package/dist/src/storage/index.js +8 -0
  42. package/dist/src/storage/index.js.map +1 -0
  43. package/dist/src/storage/interfaces.d.ts +299 -0
  44. package/dist/src/storage/interfaces.d.ts.map +1 -0
  45. package/dist/src/storage/interfaces.js +6 -0
  46. package/dist/src/storage/interfaces.js.map +1 -0
  47. package/dist/src/storage/local/LocalBackend.d.ts +51 -0
  48. package/dist/src/storage/local/LocalBackend.d.ts.map +1 -0
  49. package/dist/src/storage/local/LocalBackend.js +73 -0
  50. package/dist/src/storage/local/LocalBackend.js.map +1 -0
  51. package/dist/src/storage/local/LocalLockService.d.ts +22 -0
  52. package/dist/src/storage/local/LocalLockService.d.ts.map +1 -0
  53. package/dist/src/storage/local/LocalLockService.js +38 -0
  54. package/dist/src/storage/local/LocalLockService.js.map +1 -0
  55. package/dist/src/storage/local/LocalLogStore.d.ts +23 -0
  56. package/dist/src/storage/local/LocalLogStore.d.ts.map +1 -0
  57. package/dist/src/storage/local/LocalLogStore.js +66 -0
  58. package/dist/src/storage/local/LocalLogStore.js.map +1 -0
  59. package/dist/src/storage/local/LocalObjectStore.d.ts +19 -0
  60. package/dist/src/storage/local/LocalObjectStore.d.ts.map +1 -0
  61. package/dist/src/storage/local/LocalObjectStore.js +68 -0
  62. package/dist/src/storage/local/LocalObjectStore.js.map +1 -0
  63. package/dist/src/storage/local/LocalRefStore.d.ts +35 -0
  64. package/dist/src/storage/local/LocalRefStore.d.ts.map +1 -0
  65. package/dist/src/storage/local/LocalRefStore.js +233 -0
  66. package/dist/src/storage/local/LocalRefStore.js.map +1 -0
  67. package/dist/src/storage/local/index.d.ts +16 -0
  68. package/dist/src/storage/local/index.d.ts.map +1 -0
  69. package/dist/src/storage/local/index.js +16 -0
  70. package/dist/src/storage/local/index.js.map +1 -0
  71. package/dist/src/tasks.d.ts +16 -10
  72. package/dist/src/tasks.d.ts.map +1 -1
  73. package/dist/src/tasks.js +35 -41
  74. package/dist/src/tasks.js.map +1 -1
  75. package/dist/src/test-helpers.d.ts +4 -4
  76. package/dist/src/test-helpers.d.ts.map +1 -1
  77. package/dist/src/test-helpers.js +6 -20
  78. package/dist/src/test-helpers.js.map +1 -1
  79. package/dist/src/trees.d.ts +41 -29
  80. package/dist/src/trees.d.ts.map +1 -1
  81. package/dist/src/trees.js +112 -109
  82. package/dist/src/trees.js.map +1 -1
  83. package/dist/src/workspaceLock.d.ts +29 -7
  84. package/dist/src/workspaceLock.d.ts.map +1 -1
  85. package/dist/src/workspaceLock.js +130 -40
  86. package/dist/src/workspaceLock.js.map +1 -1
  87. package/dist/src/workspaceStatus.d.ts +6 -4
  88. package/dist/src/workspaceStatus.d.ts.map +1 -1
  89. package/dist/src/workspaceStatus.js +42 -58
  90. package/dist/src/workspaceStatus.js.map +1 -1
  91. package/dist/src/workspaces.d.ts +35 -26
  92. package/dist/src/workspaces.d.ts.map +1 -1
  93. package/dist/src/workspaces.js +93 -116
  94. package/dist/src/workspaces.js.map +1 -1
  95. package/package.json +3 -3
@@ -14,36 +14,26 @@
14
14
  */
15
15
  import { decodeBeast2For, variant } from '@elaraai/east';
16
16
  import { PackageObjectType, TaskObjectType, WorkspaceStateType, pathToString, } from '@elaraai/e3-types';
17
- import { objectRead } from './objects.js';
18
17
  import { executionGet, inputsHash, isProcessAlive, } from './executions.js';
19
18
  import { workspaceGetDatasetHash } from './trees.js';
20
- import { WorkspaceNotFoundError, WorkspaceNotDeployedError, isNotFoundError, } from './errors.js';
21
- import { getWorkspaceLockHolder } from './workspaceLock.js';
22
- import * as fs from 'fs/promises';
23
- import * as path from 'path';
19
+ import { WorkspaceNotFoundError, WorkspaceNotDeployedError, } from './errors.js';
20
+ import { lockStateToHolderInfo } from './workspaceLock.js';
24
21
  // =============================================================================
25
- // Workspace State Reader (duplicated to avoid circular deps)
22
+ // Workspace State Reader
26
23
  // =============================================================================
27
24
  /**
28
- * Read workspace state from file.
25
+ * Read workspace state.
29
26
  */
30
- async function readWorkspaceState(repoPath, ws) {
31
- const stateFile = path.join(repoPath, 'workspaces', `${ws}.beast2`);
32
- let data;
33
- try {
34
- data = await fs.readFile(stateFile);
35
- }
36
- catch (err) {
37
- if (isNotFoundError(err)) {
38
- throw new WorkspaceNotFoundError(ws);
39
- }
40
- throw err;
27
+ async function readWorkspaceState(storage, repo, ws) {
28
+ const data = await storage.refs.workspaceRead(repo, ws);
29
+ if (data === null) {
30
+ throw new WorkspaceNotFoundError(ws);
41
31
  }
42
32
  if (data.length === 0) {
43
33
  throw new WorkspaceNotDeployedError(ws);
44
34
  }
45
35
  const decoder = decodeBeast2For(WorkspaceStateType);
46
- return decoder(data);
36
+ return decoder(Buffer.from(data));
47
37
  }
48
38
  // =============================================================================
49
39
  // Main Function
@@ -59,19 +49,21 @@ async function readWorkspaceState(repoPath, ws) {
59
49
  * This is a read-only operation that does not modify workspace state
60
50
  * and does not require acquiring a lock.
61
51
  *
62
- * @param repoPath - Path to .e3 repository
52
+ * @param storage - Storage backend
53
+ * @param repo - Repository identifier (for local storage, the path to e3 repository directory)
63
54
  * @param ws - Workspace name
64
55
  * @returns Complete status report
65
56
  * @throws {WorkspaceNotFoundError} If workspace doesn't exist
66
57
  * @throws {WorkspaceNotDeployedError} If workspace has no package deployed
67
58
  */
68
- export async function workspaceStatus(repoPath, ws) {
59
+ export async function workspaceStatus(storage, repo, ws) {
69
60
  // Check lock status first
70
- const lock = await getWorkspaceLockHolder(repoPath, ws);
61
+ const lockState = await storage.locks.getState(repo, ws);
62
+ const lock = lockState ? lockStateToHolderInfo(lockState) : null;
71
63
  // Read workspace state
72
- const state = await readWorkspaceState(repoPath, ws);
64
+ const state = await readWorkspaceState(storage, repo, ws);
73
65
  // Read package object to get tasks and structure
74
- const pkgData = await objectRead(repoPath, state.packageHash);
66
+ const pkgData = await storage.objects.read(repo, state.packageHash);
75
67
  const pkgDecoder = decodeBeast2For(PackageObjectType);
76
68
  const pkgObject = pkgDecoder(Buffer.from(pkgData));
77
69
  // Build task nodes
@@ -79,7 +71,7 @@ export async function workspaceStatus(repoPath, ws) {
79
71
  const outputToTask = new Map(); // output path -> task name
80
72
  const taskDecoder = decodeBeast2For(TaskObjectType);
81
73
  for (const [taskName, taskHash] of pkgObject.tasks) {
82
- const taskData = await objectRead(repoPath, taskHash);
74
+ const taskData = await storage.objects.read(repo, taskHash);
83
75
  const task = taskDecoder(Buffer.from(taskData));
84
76
  const outputPathStr = pathToString(task.output);
85
77
  outputToTask.set(outputPathStr, taskName);
@@ -116,7 +108,7 @@ export async function workspaceStatus(repoPath, ws) {
116
108
  const taskStatus = new Map();
117
109
  // First pass: determine which tasks have valid cached executions
118
110
  for (const [taskName, node] of taskNodes) {
119
- const status = await computeTaskStatus(repoPath, ws, node, outputToTask, taskNodes, taskIsStale);
111
+ const status = await computeTaskStatus(storage, repo, ws, node, outputToTask, taskNodes, taskIsStale);
120
112
  taskStatus.set(taskName, status);
121
113
  taskIsStale.set(taskName, status.type !== 'up-to-date');
122
114
  }
@@ -141,7 +133,7 @@ export async function workspaceStatus(repoPath, ws) {
141
133
  const datasetStatusInfos = [];
142
134
  for (const datasetPath of datasetPaths) {
143
135
  const pathStr = pathToString(datasetPath);
144
- const { refType, hash } = await workspaceGetDatasetHash(repoPath, ws, datasetPath);
136
+ const { refType, hash } = await workspaceGetDatasetHash(storage, repo, ws, datasetPath);
145
137
  const producerTask = outputToTask.get(pathStr) ?? null;
146
138
  const isTaskOutput = producerTask !== null;
147
139
  let status;
@@ -221,9 +213,9 @@ function collectDatasetPaths(structure, currentPath, result) {
221
213
  /**
222
214
  * Compute the status of a task.
223
215
  */
224
- async function computeTaskStatus(repoPath, ws, node, outputToTask, _taskNodes, _taskIsStale) {
216
+ async function computeTaskStatus(storage, repo, ws, node, outputToTask, _taskNodes, _taskIsStale) {
225
217
  // First, check if execution is in progress
226
- const inProgressStatus = await checkInProgress(repoPath, node.hash);
218
+ const inProgressStatus = await checkInProgress(storage, repo, node.hash);
227
219
  if (inProgressStatus) {
228
220
  return inProgressStatus;
229
221
  }
@@ -233,7 +225,7 @@ async function computeTaskStatus(repoPath, ws, node, outputToTask, _taskNodes, _
233
225
  let waitingOnTasks = [];
234
226
  for (const inputPath of node.inputPaths) {
235
227
  const inputPathStr = pathToString(inputPath);
236
- const { refType, hash } = await workspaceGetDatasetHash(repoPath, ws, inputPath);
228
+ const { refType, hash } = await workspaceGetDatasetHash(storage, repo, ws, inputPath);
237
229
  if (refType === 'unassigned' || hash === null) {
238
230
  hasUnsetInputs = true;
239
231
  // Check if this is produced by another task
@@ -269,7 +261,7 @@ async function computeTaskStatus(repoPath, ws, node, outputToTask, _taskNodes, _
269
261
  }
270
262
  // Check the execution status for these inputs
271
263
  const inHash = inputsHash(currentInputHashes);
272
- const execStatus = await executionGet(repoPath, node.hash, inHash);
264
+ const execStatus = await executionGet(storage, repo, node.hash, inHash);
273
265
  if (execStatus === null) {
274
266
  // No execution attempted - task is ready to run
275
267
  return { type: 'ready' };
@@ -305,7 +297,7 @@ async function computeTaskStatus(repoPath, ws, node, outputToTask, _taskNodes, _
305
297
  case 'success': {
306
298
  // Execution succeeded - check if workspace output matches
307
299
  const cachedOutputHash = execStatus.value.outputHash;
308
- const { refType, hash: wsOutputHash } = await workspaceGetDatasetHash(repoPath, ws, node.outputPath);
300
+ const { refType, hash: wsOutputHash } = await workspaceGetDatasetHash(storage, repo, ws, node.outputPath);
309
301
  if (refType !== 'value' || wsOutputHash !== cachedOutputHash) {
310
302
  // Workspace output doesn't match - task needs to run
311
303
  // (This might happen if workspace was modified externally)
@@ -325,36 +317,28 @@ async function computeTaskStatus(repoPath, ws, node, outputToTask, _taskNodes, _
325
317
  * Looks for a 'running' execution status that is still alive.
326
318
  * Only returns in-progress if the process is actually running.
327
319
  */
328
- async function checkInProgress(repoPath, taskHash) {
320
+ async function checkInProgress(storage, repo, taskHash) {
329
321
  // List all executions for this task
330
- const execDir = path.join(repoPath, 'executions', taskHash);
331
- try {
332
- const entries = await fs.readdir(execDir);
333
- for (const inHash of entries) {
334
- if (!/^[a-f0-9]{64}$/.test(inHash))
335
- continue;
336
- const status = await executionGet(repoPath, taskHash, inHash);
337
- if (status?.type === 'running') {
338
- // Found a running execution - verify process is actually alive
339
- const pid = Number(status.value.pid);
340
- const pidStartTime = Number(status.value.pidStartTime);
341
- const bootId = status.value.bootId;
342
- const alive = await isProcessAlive(pid, pidStartTime, bootId);
343
- if (alive) {
344
- return {
345
- type: 'in-progress',
346
- pid,
347
- startedAt: status.value.startedAt.toISOString(),
348
- };
349
- }
350
- // Process is dead - this is a stale running status, skip it
351
- // (it will be reported as stale-running if it's the current inputs)
322
+ const inputsHashes = await storage.refs.executionListForTask(repo, taskHash);
323
+ for (const inHash of inputsHashes) {
324
+ const status = await storage.refs.executionGet(repo, taskHash, inHash);
325
+ if (status?.type === 'running') {
326
+ // Found a running execution - verify process is actually alive
327
+ const pid = Number(status.value.pid);
328
+ const pidStartTime = Number(status.value.pidStartTime);
329
+ const bootId = status.value.bootId;
330
+ const alive = await isProcessAlive(pid, pidStartTime, bootId);
331
+ if (alive) {
332
+ return {
333
+ type: 'in-progress',
334
+ pid,
335
+ startedAt: status.value.startedAt.toISOString(),
336
+ };
352
337
  }
338
+ // Process is dead - this is a stale running status, skip it
339
+ // (it will be reported as stale-running if it's the current inputs)
353
340
  }
354
341
  }
355
- catch {
356
- // No executions directory
357
- }
358
342
  return null;
359
343
  }
360
344
  //# sourceMappingURL=workspaceStatus.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"workspaceStatus.js","sourceRoot":"","sources":["../../src/workspaceStatus.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;;;;;GASG;AAEH,OAAO,EAAE,eAAe,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AACzD,OAAO,EACL,iBAAiB,EACjB,cAAc,EACd,kBAAkB,EAClB,YAAY,GAIb,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EACL,YAAY,E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OAAuB,EACvB,IAAY,EACZ,QAAgB;IAEhB,oCAAoC;IACpC,MAAM,YAAY,GAAG,MAAM,OAAO,CAAC,IAAI,CAAC,oBAAoB,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;IAE7E,KAAK,MAAM,MAAM,IAAI,YAAY,EAAE,CAAC;QAClC,MAAM,MAAM,GAAG,MAAM,OAAO,CAAC,IAAI,CAAC,YAAY,CAAC,IAAI,EAAE,QAAQ,EAAE,MAAM,CAAC,CAAC;QACvE,IAAI,MAAM,EAAE,IAAI,KAAK,SAAS,EAAE,CAAC;YAC/B,+DAA+D;YAC/D,MAAM,GAAG,GAAG,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;YACrC,MAAM,YAAY,GAAG,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC;YACvD,MAAM,MAAM,GAAG,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC;YAEnC,MAAM,KAAK,GAAG,MAAM,cAAc,CAAC,GAAG,EAAE,YAAY,EAAE,MAAM,CAAC,CAAC;YAC9D,IAAI,KAAK,EAAE,CAAC;gBACV,OAAO;oBACL,IAAI,EAAE,aAAa;oBACnB,GAAG;oBACH,SAAS,EAAE,MAAM,CAAC,KAAK,CAAC,SAAS,CAAC,WAAW,EAAE;iBAChD,CAAC;YACJ,CAAC;YACD,4DAA4D;YAC5D,oEAAoE;QACtE,CAAC;IACH,CAAC;IAED,OAAO,IAAI,CAAC;AACd,CAAC"}
@@ -3,18 +3,27 @@
3
3
  * Licensed under BSL 1.1. See LICENSE for details.
4
4
  */
5
5
  import type { WorkspaceState } from '@elaraai/e3-types';
6
- import { type WorkspaceLockHandle } from './workspaceLock.js';
6
+ import type { StorageBackend, LockHandle } from './storage/interfaces.js';
7
+ /**
8
+ * List workspace names.
9
+ *
10
+ * @param storage - Storage backend
11
+ * @param repo - Repository identifier
12
+ * @returns Array of workspace names
13
+ */
14
+ export declare function workspaceList(storage: StorageBackend, repo: string): Promise<string[]>;
7
15
  /**
8
16
  * Create an empty workspace.
9
17
  *
10
18
  * Creates an undeployed workspace (state file with null package info).
11
19
  * Use workspaceDeploy to deploy a package.
12
20
  *
13
- * @param repoPath - Path to .e3 repository
21
+ * @param storage - Storage backend
22
+ * @param repo - Repository identifier
14
23
  * @param name - Workspace name
15
24
  * @throws {WorkspaceExistsError} If workspace already exists
16
25
  */
17
- export declare function workspaceCreate(repoPath: string, name: string): Promise<void>;
26
+ export declare function workspaceCreate(storage: StorageBackend, repo: string, name: string): Promise<void>;
18
27
  /**
19
28
  * Options for workspace removal.
20
29
  */
@@ -24,7 +33,7 @@ export interface WorkspaceRemoveOptions {
24
33
  * for releasing the lock after the operation. If not provided, workspaceRemove
25
34
  * will acquire and release a lock internally.
26
35
  */
27
- lock?: WorkspaceLockHandle;
36
+ lock?: LockHandle;
28
37
  }
29
38
  /**
30
39
  * Remove a workspace.
@@ -34,38 +43,34 @@ export interface WorkspaceRemoveOptions {
34
43
  * Acquires a workspace lock to prevent removing a workspace while a dataflow
35
44
  * is running. Throws WorkspaceLockError if the workspace is currently locked.
36
45
  *
37
- * @param repoPath - Path to .e3 repository
46
+ * @param storage - Storage backend
47
+ * @param repo - Repository identifier
38
48
  * @param name - Workspace name
39
49
  * @param options - Optional settings including external lock
40
50
  * @throws {WorkspaceNotFoundError} If workspace doesn't exist
41
51
  * @throws {WorkspaceLockError} If workspace is locked by another process
42
52
  */
43
- export declare function workspaceRemove(repoPath: string, name: string, options?: WorkspaceRemoveOptions): Promise<void>;
44
- /**
45
- * List workspace names.
46
- *
47
- * @param repoPath - Path to .e3 repository
48
- * @returns Array of workspace names
49
- */
50
- export declare function workspaceList(repoPath: string): Promise<string[]>;
53
+ export declare function workspaceRemove(storage: StorageBackend, repo: string, name: string, options?: WorkspaceRemoveOptions): Promise<void>;
51
54
  /**
52
55
  * Get the full state for a workspace.
53
56
  *
54
- * @param repoPath - Path to .e3 repository
57
+ * @param storage - Storage backend
58
+ * @param repo - Repository identifier
55
59
  * @param name - Workspace name
56
60
  * @returns Workspace state, or null if workspace doesn't exist or is not deployed
57
61
  */
58
- export declare function workspaceGetState(repoPath: string, name: string): Promise<WorkspaceState | null>;
62
+ export declare function workspaceGetState(storage: StorageBackend, repo: string, name: string): Promise<WorkspaceState | null>;
59
63
  /**
60
64
  * Get the deployed package for a workspace.
61
65
  *
62
- * @param repoPath - Path to .e3 repository
66
+ * @param storage - Storage backend
67
+ * @param repo - Repository identifier
63
68
  * @param name - Workspace name
64
69
  * @returns Package name, version, and hash
65
70
  * @throws {WorkspaceNotFoundError} If workspace doesn't exist
66
71
  * @throws {WorkspaceNotDeployedError} If workspace exists but has no package deployed
67
72
  */
68
- export declare function workspaceGetPackage(repoPath: string, name: string): Promise<{
73
+ export declare function workspaceGetPackage(storage: StorageBackend, repo: string, name: string): Promise<{
69
74
  name: string;
70
75
  version: string;
71
76
  hash: string;
@@ -73,23 +78,25 @@ export declare function workspaceGetPackage(repoPath: string, name: string): Pro
73
78
  /**
74
79
  * Get the root tree hash for a workspace.
75
80
  *
76
- * @param repoPath - Path to .e3 repository
81
+ * @param storage - Storage backend
82
+ * @param repo - Repository identifier
77
83
  * @param name - Workspace name
78
84
  * @returns Root tree object hash
79
85
  * @throws {WorkspaceNotFoundError} If workspace doesn't exist
80
86
  * @throws {WorkspaceNotDeployedError} If workspace exists but has no package deployed
81
87
  */
82
- export declare function workspaceGetRoot(repoPath: string, name: string): Promise<string>;
88
+ export declare function workspaceGetRoot(storage: StorageBackend, repo: string, name: string): Promise<string>;
83
89
  /**
84
90
  * Atomically update the root tree hash for a workspace.
85
91
  *
86
- * @param repoPath - Path to .e3 repository
92
+ * @param storage - Storage backend
93
+ * @param repo - Repository identifier
87
94
  * @param name - Workspace name
88
95
  * @param hash - New root tree object hash
89
96
  * @throws {WorkspaceNotFoundError} If workspace doesn't exist
90
97
  * @throws {WorkspaceNotDeployedError} If workspace exists but has no package deployed
91
98
  */
92
- export declare function workspaceSetRoot(repoPath: string, name: string, hash: string): Promise<void>;
99
+ export declare function workspaceSetRoot(storage: StorageBackend, repo: string, name: string, hash: string): Promise<void>;
93
100
  /**
94
101
  * Options for workspace deployment.
95
102
  */
@@ -99,7 +106,7 @@ export interface WorkspaceDeployOptions {
99
106
  * for releasing the lock after the operation. If not provided, workspaceDeploy
100
107
  * will acquire and release a lock internally.
101
108
  */
102
- lock?: WorkspaceLockHandle;
109
+ lock?: LockHandle;
103
110
  }
104
111
  /**
105
112
  * Deploy a package to a workspace.
@@ -111,14 +118,15 @@ export interface WorkspaceDeployOptions {
111
118
  * or concurrent deploys. Throws WorkspaceLockError if the workspace is
112
119
  * currently locked by another process.
113
120
  *
114
- * @param repoPath - Path to .e3 repository
121
+ * @param storage - Storage backend
122
+ * @param repo - Repository identifier
115
123
  * @param name - Workspace name
116
124
  * @param pkgName - Package name
117
125
  * @param pkgVersion - Package version
118
126
  * @param options - Optional settings including external lock
119
127
  * @throws {WorkspaceLockError} If workspace is locked by another process
120
128
  */
121
- export declare function workspaceDeploy(repoPath: string, name: string, pkgName: string, pkgVersion: string, options?: WorkspaceDeployOptions): Promise<void>;
129
+ export declare function workspaceDeploy(storage: StorageBackend, repo: string, name: string, pkgName: string, pkgVersion: string, options?: WorkspaceDeployOptions): Promise<void>;
122
130
  /**
123
131
  * Result of exporting a workspace
124
132
  */
@@ -137,7 +145,8 @@ export interface WorkspaceExportResult {
137
145
  * 4. Collect all referenced objects
138
146
  * 5. Write to .zip
139
147
  *
140
- * @param repoPath - Path to .e3 repository
148
+ * @param storage - Storage backend
149
+ * @param repo - Repository identifier
141
150
  * @param name - Workspace name
142
151
  * @param zipPath - Path to write the .zip file
143
152
  * @param outputName - Package name (default: deployed package name)
@@ -146,5 +155,5 @@ export interface WorkspaceExportResult {
146
155
  * @throws {WorkspaceNotFoundError} If workspace doesn't exist
147
156
  * @throws {WorkspaceNotDeployedError} If workspace exists but has no package deployed
148
157
  */
149
- export declare function workspaceExport(repoPath: string, name: string, zipPath: string, outputName?: string, version?: string): Promise<WorkspaceExportResult>;
158
+ export declare function workspaceExport(storage: StorageBackend, repo: string, name: string, zipPath: string, outputName?: string, version?: string): Promise<WorkspaceExportResult>;
150
159
  //# sourceMappingURL=workspaces.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"workspaces.d.ts","sourceRoot":"","sources":["../../src/workspaces.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAoBH,OAAO,KAAK,EAAiB,cAAc,EAAE,MAAM,mBAAmB,CAAC;AASvE,OAAO,EAAwB,KAAK,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AA6EpF;;;;;;;;;GASG;AACH,wBAAsB,eAAe,CACnC,QAAQ,EAAE,MAAM,EAChB,IAAI,EAAE,MAAM,GACX,OAAO,CAAC,IAAI,CAAC,CAqBf;AAED;;GAEG;AACH,MAAM,WAAW,sBAAsB;IACrC;;;;OAIG;IACH,IAAI,CAAC,EAAE,mBAAmB,CAAC;CAC5B;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAsB,eAAe,CACnC,QAAQ,EAAE,MAAM,EAChB,IAAI,EAAE,MAAM,EACZ,OAAO,GAAE,sBAA2B,GACnC,OAAO,CAAC,IAAI,CAAC,CAoBf;AAED;;;;;GAKG;AACH,wBAAsB,aAAa,CACjC,QAAQ,EAAE,MAAM,GACf,OAAO,CAAC,MAAM,EAAE,CAAC,CAgBnB;AAED;;;;;;GAMG;AACH,wBAAsB,iBAAiB,CACrC,QAAQ,EAAE,MAAM,EAChB,IAAI,EAAE,MAAM,GACX,OAAO,CAAC,cAAc,GAAG,IAAI,CAAC,CAMhC;AAED;;;;;;;;GAQG;AACH,wBAAsB,mBAAmB,CACvC,QAAQ,EAAE,MAAM,EAChB,IAAI,EAAE,MAAM,GACX,OAAO,CAAC;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAA;CAAE,CAAC,CAO1D;AAED;;;;;;;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