@axiom-lattice/pg-stores 1.0.94 → 2.0.1

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.94 build /home/runner/work/agentic/agentic/packages/pg-stores
2
+ > @axiom-lattice/pg-stores@2.0.1 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
- ESM dist/index.mjs 264.57 KB
12
- ESM dist/index.mjs.map 505.84 KB
13
- ESM ⚡️ Build success in 658ms
14
- CJS dist/index.js 270.88 KB
15
- CJS dist/index.js.map 506.11 KB
16
- CJS ⚡️ Build success in 693ms
11
+ ESM dist/index.mjs 265.05 KB
12
+ ESM dist/index.mjs.map 507.10 KB
13
+ ESM ⚡️ Build success in 884ms
14
+ CJS dist/index.js 271.37 KB
15
+ CJS dist/index.js.map 507.36 KB
16
+ CJS ⚡️ Build success in 884ms
17
17
  DTS Build start
18
- DTS ⚡️ Build success in 16549ms
18
+ DTS ⚡️ Build success in 15432ms
19
19
  DTS dist/index.d.ts 61.16 KB
20
20
  DTS dist/index.d.mts 61.16 KB
package/CHANGELOG.md CHANGED
@@ -1,5 +1,37 @@
1
1
  # @axiom-lattice/pg-stores
2
2
 
3
+ ## 2.0.1
4
+
5
+ ### Patch Changes
6
+
7
+ - c6b8984: add document agent
8
+ - Updated dependencies [c6b8984]
9
+ - @axiom-lattice/core@3.0.1
10
+ - @axiom-lattice/protocols@3.0.1
11
+
12
+ ## 2.0.0
13
+
14
+ ### Major Changes
15
+
16
+ - 3a124ab: **BREAKING**: Remove `LocalA2ATemplateStore` from store lattice, replacing it with static template config.
17
+
18
+ - Deleted `LocalA2ATemplateStoreProtocol` and all implementations (InMemory, PostgreSQL, SQLite)
19
+ - Removed `localA2ATemplate` entry from `StoreTypeMap` and store lattice default registrations
20
+ - Removed obsolete PostgreSQL Local A2A template migration source; existing database tables are not dropped
21
+ - Removed `LocalA2ATemplateEntry`, `CreateLocalA2ATemplateRequest`, `UpdateLocalA2ATemplateRequest` types
22
+ - `client.assistants.localA2A.templates` now only supports `.list()` (returns `LocalA2ATemplateDefinition[]`)
23
+ - Templates are now defined in `packages/gateway/src/config/local-a2a-templates.ts`
24
+ - Gateway resolves the managed CLI through the installed `@axiom-lattice/cli-a2a/cli-path` export and declares the CLI package as a runtime dependency
25
+ - Templates no longer contain port or agentCardUrl; those are user-supplied at creation time
26
+ - `CreateAssistantModal` appends the Agent Card URL port to template commands as `--port <port>` when the template does not already declare a port
27
+ - CLI session files are isolated by provider and server port when no explicit store path is configured
28
+
29
+ ### Patch Changes
30
+
31
+ - Updated dependencies [3a124ab]
32
+ - @axiom-lattice/protocols@3.0.0
33
+ - @axiom-lattice/core@3.0.0
34
+
3
35
  ## 1.0.94
4
36
 
5
37
  ### 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);