@axiom-lattice/pg-stores 1.0.41 → 1.0.43
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 +16 -0
- package/dist/index.js +7 -16
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -10
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -3
- package/src/index.ts +2 -1
- package/src/stores/ChannelIdentityMappingStore.ts +2 -1
- package/src/stores/PostgreSQLAssistantStore.ts +2 -1
- package/src/stores/PostgreSQLChannelInstallationStore.ts +2 -1
- package/src/stores/PostgreSQLDatabaseConfigStore.ts +2 -1
- package/src/stores/PostgreSQLMcpServerConfigStore.ts +2 -1
- package/src/stores/PostgreSQLMetricsServerConfigStore.ts +2 -1
- package/src/stores/PostgreSQLProjectStore.ts +2 -1
- package/src/stores/PostgreSQLScheduleStorage.ts +2 -1
- package/src/stores/PostgreSQLSkillStore.ts +2 -1
- package/src/stores/PostgreSQLTenantStore.ts +2 -1
- package/src/stores/PostgreSQLThreadStore.ts +2 -1
- package/src/stores/PostgreSQLUserStore.ts +2 -1
- package/src/stores/PostgreSQLUserTenantLinkStore.ts +2 -1
- package/src/stores/PostgreSQLWorkspaceStore.ts +2 -1
- package/src/stores/ThreadMessageQueueStore.ts +2 -2
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.43 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[32m148.83 KB[39m
|
|
12
|
+
[32mCJS[39m [1mdist/index.js.map [22m[32m276.74 KB[39m
|
|
13
|
+
[32mCJS[39m ⚡️ Build success in 431ms
|
|
14
|
+
[32mESM[39m [1mdist/index.mjs [22m[32m144.60 KB[39m
|
|
15
|
+
[32mESM[39m [1mdist/index.mjs.map [22m[32m276.65 KB[39m
|
|
16
|
+
[32mESM[39m ⚡️ Build success in 434ms
|
|
17
17
|
[34mDTS[39m Build start
|
|
18
|
-
[32mDTS[39m ⚡️ Build success in
|
|
18
|
+
[32mDTS[39m ⚡️ Build success in 11895ms
|
|
19
19
|
[32mDTS[39m [1mdist/index.d.ts [22m[32m38.33 KB[39m
|
|
20
20
|
[32mDTS[39m [1mdist/index.d.mts [22m[32m38.33 KB[39m
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# @axiom-lattice/pg-stores
|
|
2
2
|
|
|
3
|
+
## 1.0.43
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [505d7c1]
|
|
8
|
+
- @axiom-lattice/core@2.1.53
|
|
9
|
+
|
|
10
|
+
## 1.0.42
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- 64a0971: fix path resolve
|
|
15
|
+
- Updated dependencies [64a0971]
|
|
16
|
+
- @axiom-lattice/core@2.1.52
|
|
17
|
+
- @axiom-lattice/protocols@2.1.29
|
|
18
|
+
|
|
3
19
|
## 1.0.41
|
|
4
20
|
|
|
5
21
|
### Patch Changes
|
package/dist/index.js
CHANGED
|
@@ -30,12 +30,9 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
|
|
|
30
30
|
// src/index.ts
|
|
31
31
|
var index_exports = {};
|
|
32
32
|
__export(index_exports, {
|
|
33
|
-
AddMessageParams: () => import_core4.AddMessageParams,
|
|
34
33
|
ChannelIdentityMappingStore: () => ChannelIdentityMappingStore,
|
|
35
34
|
MigrationManager: () => MigrationManager,
|
|
36
|
-
PendingMessage: () => import_core4.PendingMessage,
|
|
37
35
|
Pool: () => import_pg15.Pool,
|
|
38
|
-
PoolConfig: () => import_pg15.PoolConfig,
|
|
39
36
|
PostgreSQLAssistantStore: () => PostgreSQLAssistantStore,
|
|
40
37
|
PostgreSQLChannelInstallationStore: () => PostgreSQLChannelInstallationStore,
|
|
41
38
|
PostgreSQLDatabaseConfigStore: () => PostgreSQLDatabaseConfigStore,
|
|
@@ -49,7 +46,6 @@ __export(index_exports, {
|
|
|
49
46
|
PostgreSQLUserStore: () => PostgreSQLUserStore,
|
|
50
47
|
PostgreSQLUserTenantLinkStore: () => PostgreSQLUserTenantLinkStore,
|
|
51
48
|
PostgreSQLWorkspaceStore: () => PostgreSQLWorkspaceStore,
|
|
52
|
-
ThreadInfo: () => import_core4.ThreadInfo,
|
|
53
49
|
ThreadMessageQueueStore: () => ThreadMessageQueueStore,
|
|
54
50
|
addAssistantTenantId: () => addAssistantTenantId,
|
|
55
51
|
addScheduleTenantId: () => addScheduleTenantId,
|
|
@@ -4174,7 +4170,6 @@ var createChannelInstallationsTable = {
|
|
|
4174
4170
|
|
|
4175
4171
|
// src/stores/ThreadMessageQueueStore.ts
|
|
4176
4172
|
var import_crypto = __toESM(require("crypto"));
|
|
4177
|
-
var import_core4 = require("@axiom-lattice/core");
|
|
4178
4173
|
|
|
4179
4174
|
// src/migrations/add_priority_command_columns.ts
|
|
4180
4175
|
var addPriorityAndCommandColumns = {
|
|
@@ -4682,7 +4677,7 @@ function mapRowToChannelIdentityMapping(row) {
|
|
|
4682
4677
|
|
|
4683
4678
|
// src/stores/PostgreSQLChannelInstallationStore.ts
|
|
4684
4679
|
var import_pg14 = require("pg");
|
|
4685
|
-
var
|
|
4680
|
+
var import_core4 = require("@axiom-lattice/core");
|
|
4686
4681
|
var PostgreSQLChannelInstallationStore = class {
|
|
4687
4682
|
constructor(options) {
|
|
4688
4683
|
this.initialized = false;
|
|
@@ -4850,17 +4845,17 @@ var PostgreSQLChannelInstallationStore = class {
|
|
|
4850
4845
|
encryptSecrets(config) {
|
|
4851
4846
|
return {
|
|
4852
4847
|
...config,
|
|
4853
|
-
appSecret: typeof config.appSecret === "string" ? (0,
|
|
4854
|
-
verificationToken: typeof config.verificationToken === "string" ? (0,
|
|
4855
|
-
encryptKey: typeof config.encryptKey === "string" ? (0,
|
|
4848
|
+
appSecret: typeof config.appSecret === "string" ? (0, import_core4.encrypt)(config.appSecret) : config.appSecret,
|
|
4849
|
+
verificationToken: typeof config.verificationToken === "string" ? (0, import_core4.encrypt)(config.verificationToken) : config.verificationToken,
|
|
4850
|
+
encryptKey: typeof config.encryptKey === "string" ? (0, import_core4.encrypt)(config.encryptKey) : config.encryptKey
|
|
4856
4851
|
};
|
|
4857
4852
|
}
|
|
4858
4853
|
decryptSecrets(config) {
|
|
4859
4854
|
return {
|
|
4860
4855
|
appId: String(config.appId || ""),
|
|
4861
|
-
appSecret: typeof config.appSecret === "string" ? (0,
|
|
4862
|
-
verificationToken: typeof config.verificationToken === "string" ? (0,
|
|
4863
|
-
encryptKey: typeof config.encryptKey === "string" ? (0,
|
|
4856
|
+
appSecret: typeof config.appSecret === "string" ? (0, import_core4.decrypt)(config.appSecret) : "",
|
|
4857
|
+
verificationToken: typeof config.verificationToken === "string" ? (0, import_core4.decrypt)(config.verificationToken) : void 0,
|
|
4858
|
+
encryptKey: typeof config.encryptKey === "string" ? (0, import_core4.decrypt)(config.encryptKey) : void 0,
|
|
4864
4859
|
mappingMode: config.mappingMode === "user" || config.mappingMode === "group" || config.mappingMode === "hybrid" ? config.mappingMode : "hybrid",
|
|
4865
4860
|
assistantId: String(config.assistantId || ""),
|
|
4866
4861
|
workspaceId: typeof config.workspaceId === "string" ? config.workspaceId : void 0,
|
|
@@ -4870,12 +4865,9 @@ var PostgreSQLChannelInstallationStore = class {
|
|
|
4870
4865
|
};
|
|
4871
4866
|
// Annotate the CommonJS export names for ESM import in node:
|
|
4872
4867
|
0 && (module.exports = {
|
|
4873
|
-
AddMessageParams,
|
|
4874
4868
|
ChannelIdentityMappingStore,
|
|
4875
4869
|
MigrationManager,
|
|
4876
|
-
PendingMessage,
|
|
4877
4870
|
Pool,
|
|
4878
|
-
PoolConfig,
|
|
4879
4871
|
PostgreSQLAssistantStore,
|
|
4880
4872
|
PostgreSQLChannelInstallationStore,
|
|
4881
4873
|
PostgreSQLDatabaseConfigStore,
|
|
@@ -4889,7 +4881,6 @@ var PostgreSQLChannelInstallationStore = class {
|
|
|
4889
4881
|
PostgreSQLUserStore,
|
|
4890
4882
|
PostgreSQLUserTenantLinkStore,
|
|
4891
4883
|
PostgreSQLWorkspaceStore,
|
|
4892
|
-
ThreadInfo,
|
|
4893
4884
|
ThreadMessageQueueStore,
|
|
4894
4885
|
addAssistantTenantId,
|
|
4895
4886
|
addScheduleTenantId,
|