@axiom-lattice/pg-stores 1.0.57 → 1.0.58

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,5 +1,5 @@
1
1
 
2
- > @axiom-lattice/pg-stores@1.0.57 build /home/runner/work/agentic/agentic/packages/pg-stores
2
+ > @axiom-lattice/pg-stores@1.0.58 build /home/runner/work/agentic/agentic/packages/pg-stores
3
3
  > tsup src/index.ts --format cjs,esm --dts --sourcemap
4
4
 
5
5
  CLI Building entry: src/index.ts
@@ -8,13 +8,13 @@
8
8
  CLI Target: es2020
9
9
  CJS Build start
10
10
  ESM Build start
11
- CJS dist/index.js 203.65 KB
12
- CJS dist/index.js.map 374.87 KB
13
- CJS ⚡️ Build success in 414ms
14
- ESM dist/index.mjs 198.63 KB
15
- ESM dist/index.mjs.map 374.71 KB
16
- ESM ⚡️ Build success in 413ms
11
+ CJS dist/index.js 203.81 KB
12
+ CJS dist/index.js.map 375.16 KB
13
+ CJS ⚡️ Build success in 515ms
14
+ ESM dist/index.mjs 198.79 KB
15
+ ESM dist/index.mjs.map 375.00 KB
16
+ ESM ⚡️ Build success in 515ms
17
17
  DTS Build start
18
- DTS ⚡️ Build success in 12128ms
19
- DTS dist/index.d.ts 47.49 KB
20
- DTS dist/index.d.mts 47.49 KB
18
+ DTS ⚡️ Build success in 12721ms
19
+ DTS dist/index.d.ts 47.54 KB
20
+ DTS dist/index.d.mts 47.54 KB
package/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # @axiom-lattice/pg-stores
2
2
 
3
+ ## 1.0.58
4
+
5
+ ### Patch Changes
6
+
7
+ - 6446394: up workflow
8
+ - Updated dependencies [6446394]
9
+ - @axiom-lattice/protocols@2.1.35
10
+ - @axiom-lattice/core@2.1.68
11
+
3
12
  ## 1.0.57
4
13
 
5
14
  ### Patch Changes
package/dist/index.d.mts CHANGED
@@ -1325,6 +1325,7 @@ declare class PostgreSQLWorkflowTrackingStore implements WorkflowTrackingStore {
1325
1325
  createWorkflowRun(request: CreateWorkflowRunRequest): Promise<WorkflowRun>;
1326
1326
  getWorkflowRun(runId: string): Promise<WorkflowRun | null>;
1327
1327
  updateWorkflowRun(runId: string, updates: UpdateWorkflowRunRequest): Promise<WorkflowRun | null>;
1328
+ deleteWorkflowRun(runId: string): Promise<void>;
1328
1329
  getWorkflowRunsByThreadId(tenantId: string, threadId: string): Promise<WorkflowRun[]>;
1329
1330
  getWorkflowRunsByAssistantId(tenantId: string, assistantId: string): Promise<WorkflowRun[]>;
1330
1331
  getWorkflowRunsByTenantId(tenantId: string): Promise<WorkflowRun[]>;
package/dist/index.d.ts CHANGED
@@ -1325,6 +1325,7 @@ declare class PostgreSQLWorkflowTrackingStore implements WorkflowTrackingStore {
1325
1325
  createWorkflowRun(request: CreateWorkflowRunRequest): Promise<WorkflowRun>;
1326
1326
  getWorkflowRun(runId: string): Promise<WorkflowRun | null>;
1327
1327
  updateWorkflowRun(runId: string, updates: UpdateWorkflowRunRequest): Promise<WorkflowRun | null>;
1328
+ deleteWorkflowRun(runId: string): Promise<void>;
1328
1329
  getWorkflowRunsByThreadId(tenantId: string, threadId: string): Promise<WorkflowRun[]>;
1329
1330
  getWorkflowRunsByAssistantId(tenantId: string, assistantId: string): Promise<WorkflowRun[]>;
1330
1331
  getWorkflowRunsByTenantId(tenantId: string): Promise<WorkflowRun[]>;
package/dist/index.js CHANGED
@@ -5337,6 +5337,10 @@ var PostgreSQLWorkflowTrackingStore = class {
5337
5337
  await this.pool.query(query, values);
5338
5338
  return this.getWorkflowRun(runId);
5339
5339
  }
5340
+ async deleteWorkflowRun(runId) {
5341
+ await this.ensureInitialized();
5342
+ await this.pool.query(`DELETE FROM lattice_workflow_runs WHERE id = $1`, [runId]);
5343
+ }
5340
5344
  async getWorkflowRunsByThreadId(tenantId, threadId) {
5341
5345
  await this.ensureInitialized();
5342
5346
  const result = await this.pool.query(