@opengeni/db 3.0.2-canary.38894290271001 → 3.1.2
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/dist/index.js
CHANGED
|
@@ -2207,7 +2207,7 @@ import {
|
|
|
2207
2207
|
writeCompanyProfileLearning,
|
|
2208
2208
|
writeSessionContentBlobs,
|
|
2209
2209
|
writeSiteDataPath
|
|
2210
|
-
} from "./chunk-
|
|
2210
|
+
} from "./chunk-JMX6XSIF.js";
|
|
2211
2211
|
import {
|
|
2212
2212
|
BROKERED_CREDENTIAL_SHAPE_HINT,
|
|
2213
2213
|
ConnectionRefreshHttpError,
|
package/dist/migrate.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opengeni/db",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1.2",
|
|
4
4
|
"description": "Opengeni persistence: Drizzle schema, RLS-scoped query layer, the SQL migration runner, and role provisioning.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -117,14 +117,14 @@
|
|
|
117
117
|
"prepublishOnly": "bash ../../scripts/prepublish-guard"
|
|
118
118
|
},
|
|
119
119
|
"dependencies": {
|
|
120
|
-
"@opengeni/codemode": "3.
|
|
121
|
-
"@opengeni/codex": "3.
|
|
122
|
-
"@opengeni/config": "3.
|
|
123
|
-
"@opengeni/contracts": "3.
|
|
124
|
-
"@opengeni/network": "3.
|
|
125
|
-
"@opengeni/observability": "3.
|
|
126
|
-
"@opengeni/subscriptions": "3.
|
|
127
|
-
"@opengeni/xai-subscription": "3.
|
|
120
|
+
"@opengeni/codemode": "3.1.2",
|
|
121
|
+
"@opengeni/codex": "3.1.2",
|
|
122
|
+
"@opengeni/config": "3.1.2",
|
|
123
|
+
"@opengeni/contracts": "3.1.2",
|
|
124
|
+
"@opengeni/network": "3.1.2",
|
|
125
|
+
"@opengeni/observability": "3.1.2",
|
|
126
|
+
"@opengeni/subscriptions": "3.1.2",
|
|
127
|
+
"@opengeni/xai-subscription": "3.1.2",
|
|
128
128
|
"drizzle-orm": "^0.45.2",
|
|
129
129
|
"postgres": "^3.4.7"
|
|
130
130
|
},
|
package/src/index.ts
CHANGED
|
@@ -827,6 +827,8 @@ import {
|
|
|
827
827
|
type WorkspaceArchiveObjectRef,
|
|
828
828
|
stableJson,
|
|
829
829
|
MODEL_ATTACHMENT_REFS_FIELD,
|
|
830
|
+
MODEL_ATTACHMENT_IMAGE_MAX_DIMENSION,
|
|
831
|
+
MODEL_ATTACHMENT_IMAGE_MAX_DIMENSION_FIELD,
|
|
830
832
|
MODEL_TIMELINE_ANNOTATIONS_FIELD,
|
|
831
833
|
TimelineAnnotations,
|
|
832
834
|
renderUserMessageContentForModel,
|
|
@@ -8013,7 +8015,12 @@ export function durableUserHistoryItem(
|
|
|
8013
8015
|
sentAt,
|
|
8014
8016
|
sender,
|
|
8015
8017
|
),
|
|
8016
|
-
...(attachmentRefs.length > 0
|
|
8018
|
+
...(attachmentRefs.length > 0
|
|
8019
|
+
? {
|
|
8020
|
+
[MODEL_ATTACHMENT_REFS_FIELD]: attachmentRefs,
|
|
8021
|
+
[MODEL_ATTACHMENT_IMAGE_MAX_DIMENSION_FIELD]: MODEL_ATTACHMENT_IMAGE_MAX_DIMENSION,
|
|
8022
|
+
}
|
|
8023
|
+
: {}),
|
|
8017
8024
|
...(annotations.length > 0
|
|
8018
8025
|
? {
|
|
8019
8026
|
[MODEL_TIMELINE_ANNOTATIONS_FIELD]: TimelineAnnotations.parse(annotations),
|