@axiom-lattice/pg-stores 1.0.57 → 1.0.59
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.
- package/.turbo/turbo-build.log +10 -10
- package/CHANGELOG.md +17 -0
- package/dist/index.d.mts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +4 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -3
- package/src/stores/PostgreSQLWorkflowTrackingStore.ts +5 -0
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
> @axiom-lattice/pg-stores@1.0.
|
|
2
|
+
> @axiom-lattice/pg-stores@1.0.59 build /home/runner/work/agentic/agentic/packages/pg-stores
|
|
3
3
|
> tsup src/index.ts --format cjs,esm --dts --sourcemap
|
|
4
4
|
|
|
5
5
|
[34mCLI[39m Building entry: src/index.ts
|
|
@@ -8,13 +8,13 @@
|
|
|
8
8
|
[34mCLI[39m Target: es2020
|
|
9
9
|
[34mCJS[39m Build start
|
|
10
10
|
[34mESM[39m Build start
|
|
11
|
-
[32mCJS[39m [1mdist/index.js [22m[32m203.
|
|
12
|
-
[32mCJS[39m [1mdist/index.js.map [22m[
|
|
13
|
-
[32mCJS[39m ⚡️ Build success in
|
|
14
|
-
[32mESM[39m [1mdist/index.mjs [22m[32m198.
|
|
15
|
-
[32mESM[39m [1mdist/index.mjs.map [22m[
|
|
16
|
-
[32mESM[39m ⚡️ Build success in
|
|
11
|
+
[32mCJS[39m [1mdist/index.js [22m[32m203.81 KB[39m
|
|
12
|
+
[32mCJS[39m [1mdist/index.js.map [22m[32m375.16 KB[39m
|
|
13
|
+
[32mCJS[39m ⚡️ Build success in 346ms
|
|
14
|
+
[32mESM[39m [1mdist/index.mjs [22m[32m198.79 KB[39m
|
|
15
|
+
[32mESM[39m [1mdist/index.mjs.map [22m[32m375.00 KB[39m
|
|
16
|
+
[32mESM[39m ⚡️ Build success in 361ms
|
|
17
17
|
[34mDTS[39m Build start
|
|
18
|
-
[32mDTS[39m ⚡️ Build success in
|
|
19
|
-
[32mDTS[39m [1mdist/index.d.ts [22m[32m47.
|
|
20
|
-
[32mDTS[39m [1mdist/index.d.mts [22m[32m47.
|
|
18
|
+
[32mDTS[39m ⚡️ Build success in 11380ms
|
|
19
|
+
[32mDTS[39m [1mdist/index.d.ts [22m[32m47.54 KB[39m
|
|
20
|
+
[32mDTS[39m [1mdist/index.d.mts [22m[32m47.54 KB[39m
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
# @axiom-lattice/pg-stores
|
|
2
2
|
|
|
3
|
+
## 1.0.59
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [c560d5d]
|
|
8
|
+
- @axiom-lattice/core@2.1.69
|
|
9
|
+
- @axiom-lattice/protocols@2.1.36
|
|
10
|
+
|
|
11
|
+
## 1.0.58
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- 6446394: up workflow
|
|
16
|
+
- Updated dependencies [6446394]
|
|
17
|
+
- @axiom-lattice/protocols@2.1.35
|
|
18
|
+
- @axiom-lattice/core@2.1.68
|
|
19
|
+
|
|
3
20
|
## 1.0.57
|
|
4
21
|
|
|
5
22
|
### 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(
|