@axiom-lattice/pg-stores 1.0.94 → 2.0.0
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 +8 -8
- package/CHANGELOG.md +23 -0
- package/dist/index.js +19 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +19 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -3
- package/src/migrations/add_project_folder_path.ts +27 -0
- package/src/migrations/drop_project_folder_path.ts +27 -0
- package/src/stores/PostgreSQLProjectStore.ts +2 -0
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
> @axiom-lattice/pg-stores@
|
|
2
|
+
> @axiom-lattice/pg-stores@2.0.0 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
|
-
[
|
|
12
|
-
[
|
|
13
|
-
[
|
|
14
|
-
[
|
|
15
|
-
[
|
|
16
|
-
[
|
|
11
|
+
[32mCJS[39m [1mdist/index.js [22m[32m271.37 KB[39m
|
|
12
|
+
[32mCJS[39m [1mdist/index.js.map [22m[32m507.36 KB[39m
|
|
13
|
+
[32mCJS[39m ⚡️ Build success in 893ms
|
|
14
|
+
[32mESM[39m [1mdist/index.mjs [22m[32m265.05 KB[39m
|
|
15
|
+
[32mESM[39m [1mdist/index.mjs.map [22m[32m507.10 KB[39m
|
|
16
|
+
[32mESM[39m ⚡️ Build success in 893ms
|
|
17
17
|
[34mDTS[39m Build start
|
|
18
|
-
[32mDTS[39m ⚡️ Build success in
|
|
18
|
+
[32mDTS[39m ⚡️ Build success in 15168ms
|
|
19
19
|
[32mDTS[39m [1mdist/index.d.ts [22m[32m61.16 KB[39m
|
|
20
20
|
[32mDTS[39m [1mdist/index.d.mts [22m[32m61.16 KB[39m
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,28 @@
|
|
|
1
1
|
# @axiom-lattice/pg-stores
|
|
2
2
|
|
|
3
|
+
## 2.0.0
|
|
4
|
+
|
|
5
|
+
### Major Changes
|
|
6
|
+
|
|
7
|
+
- 3a124ab: **BREAKING**: Remove `LocalA2ATemplateStore` from store lattice, replacing it with static template config.
|
|
8
|
+
|
|
9
|
+
- Deleted `LocalA2ATemplateStoreProtocol` and all implementations (InMemory, PostgreSQL, SQLite)
|
|
10
|
+
- Removed `localA2ATemplate` entry from `StoreTypeMap` and store lattice default registrations
|
|
11
|
+
- Removed obsolete PostgreSQL Local A2A template migration source; existing database tables are not dropped
|
|
12
|
+
- Removed `LocalA2ATemplateEntry`, `CreateLocalA2ATemplateRequest`, `UpdateLocalA2ATemplateRequest` types
|
|
13
|
+
- `client.assistants.localA2A.templates` now only supports `.list()` (returns `LocalA2ATemplateDefinition[]`)
|
|
14
|
+
- Templates are now defined in `packages/gateway/src/config/local-a2a-templates.ts`
|
|
15
|
+
- Gateway resolves the managed CLI through the installed `@axiom-lattice/cli-a2a/cli-path` export and declares the CLI package as a runtime dependency
|
|
16
|
+
- Templates no longer contain port or agentCardUrl; those are user-supplied at creation time
|
|
17
|
+
- `CreateAssistantModal` appends the Agent Card URL port to template commands as `--port <port>` when the template does not already declare a port
|
|
18
|
+
- CLI session files are isolated by provider and server port when no explicit store path is configured
|
|
19
|
+
|
|
20
|
+
### Patch Changes
|
|
21
|
+
|
|
22
|
+
- Updated dependencies [3a124ab]
|
|
23
|
+
- @axiom-lattice/protocols@3.0.0
|
|
24
|
+
- @axiom-lattice/core@3.0.0
|
|
25
|
+
|
|
3
26
|
## 1.0.94
|
|
4
27
|
|
|
5
28
|
### Patch Changes
|
package/dist/index.js
CHANGED
|
@@ -2436,6 +2436,24 @@ var addProjectConfigColumn = {
|
|
|
2436
2436
|
}
|
|
2437
2437
|
};
|
|
2438
2438
|
|
|
2439
|
+
// src/migrations/drop_project_folder_path.ts
|
|
2440
|
+
var dropProjectFolderPathColumn = {
|
|
2441
|
+
version: 162,
|
|
2442
|
+
name: "drop_project_folder_path_column",
|
|
2443
|
+
up: async (client) => {
|
|
2444
|
+
await client.query(`
|
|
2445
|
+
ALTER TABLE lattice_projects
|
|
2446
|
+
DROP COLUMN IF EXISTS folder_path
|
|
2447
|
+
`);
|
|
2448
|
+
},
|
|
2449
|
+
down: async (client) => {
|
|
2450
|
+
await client.query(`
|
|
2451
|
+
ALTER TABLE lattice_projects
|
|
2452
|
+
ADD COLUMN IF NOT EXISTS folder_path TEXT
|
|
2453
|
+
`);
|
|
2454
|
+
}
|
|
2455
|
+
};
|
|
2456
|
+
|
|
2439
2457
|
// src/stores/PostgreSQLProjectStore.ts
|
|
2440
2458
|
var PostgreSQLProjectStore = class {
|
|
2441
2459
|
constructor(options) {
|
|
@@ -2457,6 +2475,7 @@ var PostgreSQLProjectStore = class {
|
|
|
2457
2475
|
this.migrationManager = new MigrationManager(this.pool);
|
|
2458
2476
|
this.migrationManager.register(createProjectsTable);
|
|
2459
2477
|
this.migrationManager.register(addProjectConfigColumn);
|
|
2478
|
+
this.migrationManager.register(dropProjectFolderPathColumn);
|
|
2460
2479
|
if (options.autoMigrate !== false) {
|
|
2461
2480
|
this.initialize().catch((error) => {
|
|
2462
2481
|
console.error("Failed to initialize PostgreSQLProjectStore:", error);
|