@sentry/junior 0.106.0 → 0.107.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.
- package/dist/{agent-hooks-KR5BCWOK.js → agent-hooks-ICPIJAFY.js} +9 -7
- package/dist/api/conversations/detail.d.ts +1 -1
- package/dist/api/conversations/events.d.ts +14 -0
- package/dist/api/conversations/schema.d.ts +196 -463
- package/dist/api/schema.d.ts +2 -7
- package/dist/api/schema.js +10 -8
- package/dist/api.js +377 -810
- package/dist/app.js +3586 -3614
- package/dist/{catalog-runtime-5CVM2DOF.js → catalog-runtime-FOFNPR3P.js} +3 -2
- package/dist/chat/agent/prompt.d.ts +1 -1
- package/dist/chat/agent/request.d.ts +28 -29
- package/dist/chat/agent/resume.d.ts +7 -7
- package/dist/chat/agent/session.d.ts +5 -6
- package/dist/chat/agent/tools.d.ts +3 -3
- package/dist/chat/agent-dispatch/runner.d.ts +2 -0
- package/dist/chat/config.d.ts +2 -2
- package/dist/chat/conversations/history.d.ts +582 -167
- package/dist/chat/conversations/message-projection.d.ts +6 -0
- package/dist/chat/conversations/message-summaries.d.ts +9 -0
- package/dist/chat/conversations/messages.d.ts +13 -27
- package/dist/chat/conversations/projection.d.ts +30 -53
- package/dist/chat/conversations/provenance.d.ts +42 -0
- package/dist/chat/conversations/search.d.ts +2 -2
- package/dist/chat/conversations/sql/conversation-row.d.ts +1 -1
- package/dist/chat/conversations/sql/event-lock.d.ts +3 -0
- package/dist/chat/conversations/sql/history.d.ts +3 -3
- package/dist/chat/conversations/sql/privacy.d.ts +27 -0
- package/dist/chat/conversations/sql/purge.d.ts +2 -10
- package/dist/chat/conversations/sql/store.d.ts +0 -5
- package/dist/chat/conversations/store.d.ts +8 -13
- package/dist/chat/conversations/turn-lifecycle.d.ts +41 -0
- package/dist/chat/db.d.ts +4 -10
- package/dist/chat/model-profile.d.ts +10 -0
- package/dist/chat/oauth-flow.d.ts +0 -5
- package/dist/chat/pi/conversation-events.d.ts +33 -0
- package/dist/chat/pi/sql-model-usage.d.ts +10 -0
- package/dist/chat/plugins/agent-hooks.d.ts +4 -2
- package/dist/chat/resource-events/ingest.d.ts +0 -13
- package/dist/chat/runtime/delivered-turn-state.d.ts +1 -1
- package/dist/chat/runtime/generated-artifacts.d.ts +1 -1
- package/dist/chat/runtime/reply-executor.d.ts +2 -0
- package/dist/chat/runtime/slack-resume.d.ts +23 -28
- package/dist/chat/runtime/slack-runtime.d.ts +2 -0
- package/dist/chat/runtime/turn.d.ts +14 -1
- package/dist/chat/services/context-compaction-marker.d.ts +0 -1
- package/dist/chat/services/context-compaction.d.ts +1 -0
- package/dist/chat/services/conversation-memory.d.ts +9 -0
- package/dist/chat/services/plugin-auth-orchestration.d.ts +1 -4
- package/dist/chat/services/subscribed-decision.d.ts +1 -1
- package/dist/chat/services/turn-failure-response.d.ts +10 -3
- package/dist/chat/services/turn-result.d.ts +7 -12
- package/dist/chat/services/{turn-reasoning-level.d.ts → turn-router.d.ts} +12 -8
- package/dist/chat/services/turn-session-record.d.ts +15 -16
- package/dist/chat/slack/adapter.d.ts +2 -2
- package/dist/chat/slack/errors.d.ts +2 -0
- package/dist/chat/slack/outbound.d.ts +0 -1
- package/dist/chat/slack/reply.d.ts +2 -8
- package/dist/chat/slack/tools/channel-capabilities.d.ts +2 -2
- package/dist/chat/slack/tools/{send-message.d.ts → send-files.d.ts} +27 -19
- package/dist/chat/state/conversation.d.ts +4 -4
- package/dist/chat/state/turn-id.d.ts +2 -0
- package/dist/chat/state/turn-session-keys.d.ts +6 -0
- package/dist/chat/state/turn-session.d.ts +11 -9
- package/dist/chat/task-execution/state.d.ts +6 -1
- package/dist/chat/task-execution/store.d.ts +1 -1
- package/dist/chat/tool-support/pi-tool-adapter.d.ts +1 -1
- package/dist/chat/tool-support/tool-execution-report.d.ts +1 -0
- package/dist/chat/tools/handoff/tool.d.ts +2 -2
- package/dist/chat/tools/sandbox/file-uploads.d.ts +28 -6
- package/dist/chat/tools/types.d.ts +6 -9
- package/dist/chat/tools/web/image-generate.d.ts +4 -6
- package/dist/{chunk-DDRQ4U7I.js → chunk-4YF7Z6IA.js} +390 -270
- package/dist/{chunk-AZ5OMSN5.js → chunk-AUUOHQAT.js} +2 -2
- package/dist/chunk-B2Z2H66D.js +250 -0
- package/dist/{chunk-4W4O4DCV.js → chunk-CQ7KSO2B.js} +75 -45
- package/dist/{chunk-MJSJAHBW.js → chunk-DY7TRYB5.js} +1 -1
- package/dist/{chunk-GPPUTY5M.js → chunk-EDLNHZH3.js} +861 -891
- package/dist/{chunk-R5BFYK2O.js → chunk-IGHMVDWI.js} +134 -18
- package/dist/chunk-MU6HHZEN.js +99 -0
- package/dist/{chunk-XTKJPSMF.js → chunk-NVOTGWYX.js} +458 -684
- package/dist/{chunk-AEWZ7F65.js → chunk-O24R4DCK.js} +2 -179
- package/dist/{chunk-CCFROYAV.js → chunk-PUAMO4PI.js} +115 -125
- package/dist/{chunk-ZMRLBBD5.js → chunk-RMVOAJRL.js} +30 -13
- package/dist/{chunk-3NYUCBLE.js → chunk-SPUAJVVH.js} +6 -4
- package/dist/{chunk-4UYIRWDW.js → chunk-SS67LUOK.js} +41 -290
- package/dist/{chunk-FXFQNHRU.js → chunk-VFUK3X5B.js} +4 -2
- package/dist/{chunk-3MPPVPGZ.js → chunk-VH6KWKG2.js} +2 -2
- package/dist/chunk-VIXFG2VC.js +182 -0
- package/dist/{chunk-BKM4UXUD.js → chunk-YFQ7CQDE.js} +669 -18
- package/dist/{chunk-77LHNQK4.js → chunk-YIPD3L6L.js} +4 -2
- package/dist/{chunk-3OUSJPR7.js → chunk-YNP2ATQX.js} +6 -4
- package/dist/{chunk-WR7H7VLJ.js → chunk-YT72TOEK.js} +2 -2
- package/dist/cli/chat.js +21 -20
- package/dist/cli/check.js +4 -3
- package/dist/cli/plugins.js +11 -9
- package/dist/cli/snapshot-warmup.js +7 -5
- package/dist/cli/upgrade.js +2041 -105
- package/dist/db/schema/{agent-steps.d.ts → conversation-events.d.ts} +37 -21
- package/dist/db/schema.d.ts +28 -159
- package/dist/{db-S33LFWG2.js → db-DIGO4TGW.js} +6 -8
- package/dist/{runner-HA5XAL6K.js → runner-ACR2HAIC.js} +209 -101
- package/dist/{skills-722AXRV5.js → skills-ITNHBARB.js} +4 -3
- package/dist/{validation-EUI2UFRM.js → validation-AGQ46ZGV.js} +4 -3
- package/migrations/0005_conversation_events.sql +122 -0
- package/migrations/README.md +23 -10
- package/migrations/meta/0005_snapshot.json +948 -0
- package/migrations/meta/_journal.json +7 -0
- package/package.json +5 -5
- package/dist/api/conversations/activity.d.ts +0 -40
- package/dist/api/conversations/detail-projection.d.ts +0 -11
- package/dist/api/conversations/detail.query.d.ts +0 -3
- package/dist/api/conversations/subagent.d.ts +0 -10
- package/dist/api/conversations/transcript.d.ts +0 -28
- package/dist/chat/conversations/legacy-advisor-session.d.ts +0 -7
- package/dist/chat/conversations/legacy-import.d.ts +0 -38
- package/dist/chat/conversations/sql/legacy-history-import.d.ts +0 -55
- package/dist/chat/conversations/sql/messages.d.ts +0 -4
- package/dist/chat/conversations/visible-compactions.d.ts +0 -11
- package/dist/chat/conversations/visible-messages.d.ts +0 -47
- package/dist/chat/services/reply-delivery-plan.d.ts +0 -5
- package/dist/chat/state/session-log.d.ts +0 -384
- package/dist/chunk-P4P7O5WG.js +0 -1072
- package/dist/chunk-XIMUQ4IU.js +0 -147
- package/dist/db/schema/conversation-messages.d.ts +0 -153
- package/dist/handlers/github-webhook/check-suite.d.ts +0 -3
- package/dist/handlers/github-webhook/issue-comment.d.ts +0 -3
- package/dist/handlers/github-webhook/pull-request-review-comment.d.ts +0 -3
- package/dist/handlers/github-webhook/pull-request-review.d.ts +0 -3
- package/dist/handlers/github-webhook/pull-request.d.ts +0 -3
- package/dist/handlers/github-webhook/resource.d.ts +0 -10
- package/dist/handlers/github-webhook.d.ts +0 -15
- package/dist/legacy-import-TMJISRKO.js +0 -18
|
@@ -1,16 +1,15 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Append-only
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
* key doubles as the lease-fencing tripwire — a conflicting append fails loudly.
|
|
2
|
+
* Append-only canonical conversation history. `history_version` partitions
|
|
3
|
+
* model-history replacements, while `(conversation_id, seq)` is the stable
|
|
4
|
+
* event identity and lease-fencing tripwire.
|
|
6
5
|
*/
|
|
7
|
-
export declare const
|
|
8
|
-
name: "
|
|
6
|
+
export declare const juniorConversationEvents: import("drizzle-orm/pg-core").PgTableWithColumns<{
|
|
7
|
+
name: "junior_conversation_events";
|
|
9
8
|
schema: undefined;
|
|
10
9
|
columns: {
|
|
11
10
|
conversationId: import("drizzle-orm/pg-core").PgColumn<{
|
|
12
11
|
name: "conversation_id";
|
|
13
|
-
tableName: "
|
|
12
|
+
tableName: "junior_conversation_events";
|
|
14
13
|
dataType: "string";
|
|
15
14
|
columnType: "PgText";
|
|
16
15
|
data: string;
|
|
@@ -27,7 +26,7 @@ export declare const juniorAgentSteps: import("drizzle-orm/pg-core").PgTableWith
|
|
|
27
26
|
}, {}, {}>;
|
|
28
27
|
seq: import("drizzle-orm/pg-core").PgColumn<{
|
|
29
28
|
name: "seq";
|
|
30
|
-
tableName: "
|
|
29
|
+
tableName: "junior_conversation_events";
|
|
31
30
|
dataType: "number";
|
|
32
31
|
columnType: "PgInteger";
|
|
33
32
|
data: number;
|
|
@@ -42,9 +41,9 @@ export declare const juniorAgentSteps: import("drizzle-orm/pg-core").PgTableWith
|
|
|
42
41
|
identity: undefined;
|
|
43
42
|
generated: undefined;
|
|
44
43
|
}, {}, {}>;
|
|
45
|
-
|
|
46
|
-
name: "
|
|
47
|
-
tableName: "
|
|
44
|
+
historyVersion: import("drizzle-orm/pg-core").PgColumn<{
|
|
45
|
+
name: "history_version";
|
|
46
|
+
tableName: "junior_conversation_events";
|
|
48
47
|
dataType: "number";
|
|
49
48
|
columnType: "PgInteger";
|
|
50
49
|
data: number;
|
|
@@ -59,14 +58,31 @@ export declare const juniorAgentSteps: import("drizzle-orm/pg-core").PgTableWith
|
|
|
59
58
|
identity: undefined;
|
|
60
59
|
generated: undefined;
|
|
61
60
|
}, {}, {}>;
|
|
62
|
-
|
|
63
|
-
name: "
|
|
64
|
-
tableName: "
|
|
61
|
+
schemaVersion: import("drizzle-orm/pg-core").PgColumn<{
|
|
62
|
+
name: "schema_version";
|
|
63
|
+
tableName: "junior_conversation_events";
|
|
64
|
+
dataType: "number";
|
|
65
|
+
columnType: "PgInteger";
|
|
66
|
+
data: number;
|
|
67
|
+
driverParam: string | number;
|
|
68
|
+
notNull: true;
|
|
69
|
+
hasDefault: true;
|
|
70
|
+
isPrimaryKey: false;
|
|
71
|
+
isAutoincrement: false;
|
|
72
|
+
hasRuntimeDefault: false;
|
|
73
|
+
enumValues: undefined;
|
|
74
|
+
baseColumn: never;
|
|
75
|
+
identity: undefined;
|
|
76
|
+
generated: undefined;
|
|
77
|
+
}, {}, {}>;
|
|
78
|
+
idempotencyKey: import("drizzle-orm/pg-core").PgColumn<{
|
|
79
|
+
name: "idempotency_key";
|
|
80
|
+
tableName: "junior_conversation_events";
|
|
65
81
|
dataType: "string";
|
|
66
82
|
columnType: "PgText";
|
|
67
83
|
data: string;
|
|
68
84
|
driverParam: string;
|
|
69
|
-
notNull:
|
|
85
|
+
notNull: false;
|
|
70
86
|
hasDefault: false;
|
|
71
87
|
isPrimaryKey: false;
|
|
72
88
|
isAutoincrement: false;
|
|
@@ -76,14 +92,14 @@ export declare const juniorAgentSteps: import("drizzle-orm/pg-core").PgTableWith
|
|
|
76
92
|
identity: undefined;
|
|
77
93
|
generated: undefined;
|
|
78
94
|
}, {}, {}>;
|
|
79
|
-
|
|
80
|
-
name: "
|
|
81
|
-
tableName: "
|
|
95
|
+
type: import("drizzle-orm/pg-core").PgColumn<{
|
|
96
|
+
name: "type";
|
|
97
|
+
tableName: "junior_conversation_events";
|
|
82
98
|
dataType: "string";
|
|
83
99
|
columnType: "PgText";
|
|
84
100
|
data: string;
|
|
85
101
|
driverParam: string;
|
|
86
|
-
notNull:
|
|
102
|
+
notNull: true;
|
|
87
103
|
hasDefault: false;
|
|
88
104
|
isPrimaryKey: false;
|
|
89
105
|
isAutoincrement: false;
|
|
@@ -95,7 +111,7 @@ export declare const juniorAgentSteps: import("drizzle-orm/pg-core").PgTableWith
|
|
|
95
111
|
}, {}, {}>;
|
|
96
112
|
payload: import("drizzle-orm/pg-core").PgColumn<{
|
|
97
113
|
name: "payload";
|
|
98
|
-
tableName: "
|
|
114
|
+
tableName: "junior_conversation_events";
|
|
99
115
|
dataType: "json";
|
|
100
116
|
columnType: "PgJsonb";
|
|
101
117
|
data: Record<string, unknown>;
|
|
@@ -114,7 +130,7 @@ export declare const juniorAgentSteps: import("drizzle-orm/pg-core").PgTableWith
|
|
|
114
130
|
}>;
|
|
115
131
|
createdAt: import("drizzle-orm/pg-core").PgColumn<{
|
|
116
132
|
name: string;
|
|
117
|
-
tableName: "
|
|
133
|
+
tableName: "junior_conversation_events";
|
|
118
134
|
dataType: "date";
|
|
119
135
|
columnType: "PgTimestamp";
|
|
120
136
|
data: Date;
|
package/dist/db/schema.d.ts
CHANGED
|
@@ -1,18 +1,17 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { juniorConversationMessages } from "./schema/conversation-messages";
|
|
1
|
+
import { juniorConversationEvents } from "./schema/conversation-events";
|
|
3
2
|
import { juniorConversations } from "./schema/conversations";
|
|
4
3
|
import { juniorDestinations } from "./schema/destinations";
|
|
5
4
|
import { juniorIdentities } from "./schema/identities";
|
|
6
5
|
import { juniorUsers } from "./schema/users";
|
|
7
|
-
export {
|
|
6
|
+
export { juniorConversationEvents, juniorConversations, juniorDestinations, juniorIdentities, juniorUsers, };
|
|
8
7
|
export declare const juniorSqlSchema: {
|
|
9
|
-
|
|
10
|
-
name: "
|
|
8
|
+
juniorConversationEvents: import("drizzle-orm/pg-core").PgTableWithColumns<{
|
|
9
|
+
name: "junior_conversation_events";
|
|
11
10
|
schema: undefined;
|
|
12
11
|
columns: {
|
|
13
12
|
conversationId: import("drizzle-orm/pg-core").PgColumn<{
|
|
14
13
|
name: "conversation_id";
|
|
15
|
-
tableName: "
|
|
14
|
+
tableName: "junior_conversation_events";
|
|
16
15
|
dataType: "string";
|
|
17
16
|
columnType: "PgText";
|
|
18
17
|
data: string;
|
|
@@ -29,7 +28,7 @@ export declare const juniorSqlSchema: {
|
|
|
29
28
|
}, {}, {}>;
|
|
30
29
|
seq: import("drizzle-orm/pg-core").PgColumn<{
|
|
31
30
|
name: "seq";
|
|
32
|
-
tableName: "
|
|
31
|
+
tableName: "junior_conversation_events";
|
|
33
32
|
dataType: "number";
|
|
34
33
|
columnType: "PgInteger";
|
|
35
34
|
data: number;
|
|
@@ -44,9 +43,9 @@ export declare const juniorSqlSchema: {
|
|
|
44
43
|
identity: undefined;
|
|
45
44
|
generated: undefined;
|
|
46
45
|
}, {}, {}>;
|
|
47
|
-
|
|
48
|
-
name: "
|
|
49
|
-
tableName: "
|
|
46
|
+
historyVersion: import("drizzle-orm/pg-core").PgColumn<{
|
|
47
|
+
name: "history_version";
|
|
48
|
+
tableName: "junior_conversation_events";
|
|
50
49
|
dataType: "number";
|
|
51
50
|
columnType: "PgInteger";
|
|
52
51
|
data: number;
|
|
@@ -61,68 +60,15 @@ export declare const juniorSqlSchema: {
|
|
|
61
60
|
identity: undefined;
|
|
62
61
|
generated: undefined;
|
|
63
62
|
}, {}, {}>;
|
|
64
|
-
|
|
65
|
-
name: "
|
|
66
|
-
tableName: "
|
|
67
|
-
dataType: "
|
|
68
|
-
columnType: "
|
|
69
|
-
data:
|
|
70
|
-
driverParam: string;
|
|
71
|
-
notNull: true;
|
|
72
|
-
hasDefault: false;
|
|
73
|
-
isPrimaryKey: false;
|
|
74
|
-
isAutoincrement: false;
|
|
75
|
-
hasRuntimeDefault: false;
|
|
76
|
-
enumValues: [string, ...string[]];
|
|
77
|
-
baseColumn: never;
|
|
78
|
-
identity: undefined;
|
|
79
|
-
generated: undefined;
|
|
80
|
-
}, {}, {}>;
|
|
81
|
-
role: import("drizzle-orm/pg-core").PgColumn<{
|
|
82
|
-
name: "role";
|
|
83
|
-
tableName: "junior_agent_steps";
|
|
84
|
-
dataType: "string";
|
|
85
|
-
columnType: "PgText";
|
|
86
|
-
data: string;
|
|
87
|
-
driverParam: string;
|
|
88
|
-
notNull: false;
|
|
89
|
-
hasDefault: false;
|
|
90
|
-
isPrimaryKey: false;
|
|
91
|
-
isAutoincrement: false;
|
|
92
|
-
hasRuntimeDefault: false;
|
|
93
|
-
enumValues: [string, ...string[]];
|
|
94
|
-
baseColumn: never;
|
|
95
|
-
identity: undefined;
|
|
96
|
-
generated: undefined;
|
|
97
|
-
}, {}, {}>;
|
|
98
|
-
payload: import("drizzle-orm/pg-core").PgColumn<{
|
|
99
|
-
name: "payload";
|
|
100
|
-
tableName: "junior_agent_steps";
|
|
101
|
-
dataType: "json";
|
|
102
|
-
columnType: "PgJsonb";
|
|
103
|
-
data: Record<string, unknown>;
|
|
104
|
-
driverParam: unknown;
|
|
105
|
-
notNull: true;
|
|
106
|
-
hasDefault: false;
|
|
107
|
-
isPrimaryKey: false;
|
|
108
|
-
isAutoincrement: false;
|
|
109
|
-
hasRuntimeDefault: false;
|
|
110
|
-
enumValues: undefined;
|
|
111
|
-
baseColumn: never;
|
|
112
|
-
identity: undefined;
|
|
113
|
-
generated: undefined;
|
|
114
|
-
}, {}, {
|
|
115
|
-
$type: Record<string, unknown>;
|
|
116
|
-
}>;
|
|
117
|
-
createdAt: import("drizzle-orm/pg-core").PgColumn<{
|
|
118
|
-
name: string;
|
|
119
|
-
tableName: "junior_agent_steps";
|
|
120
|
-
dataType: "date";
|
|
121
|
-
columnType: "PgTimestamp";
|
|
122
|
-
data: Date;
|
|
123
|
-
driverParam: string;
|
|
63
|
+
schemaVersion: import("drizzle-orm/pg-core").PgColumn<{
|
|
64
|
+
name: "schema_version";
|
|
65
|
+
tableName: "junior_conversation_events";
|
|
66
|
+
dataType: "number";
|
|
67
|
+
columnType: "PgInteger";
|
|
68
|
+
data: number;
|
|
69
|
+
driverParam: string | number;
|
|
124
70
|
notNull: true;
|
|
125
|
-
hasDefault:
|
|
71
|
+
hasDefault: true;
|
|
126
72
|
isPrimaryKey: false;
|
|
127
73
|
isAutoincrement: false;
|
|
128
74
|
hasRuntimeDefault: false;
|
|
@@ -131,69 +77,9 @@ export declare const juniorSqlSchema: {
|
|
|
131
77
|
identity: undefined;
|
|
132
78
|
generated: undefined;
|
|
133
79
|
}, {}, {}>;
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
juniorConversationMessages: import("drizzle-orm/pg-core").PgTableWithColumns<{
|
|
138
|
-
name: "junior_conversation_messages";
|
|
139
|
-
schema: undefined;
|
|
140
|
-
columns: {
|
|
141
|
-
conversationId: import("drizzle-orm/pg-core").PgColumn<{
|
|
142
|
-
name: "conversation_id";
|
|
143
|
-
tableName: "junior_conversation_messages";
|
|
144
|
-
dataType: "string";
|
|
145
|
-
columnType: "PgText";
|
|
146
|
-
data: string;
|
|
147
|
-
driverParam: string;
|
|
148
|
-
notNull: true;
|
|
149
|
-
hasDefault: false;
|
|
150
|
-
isPrimaryKey: false;
|
|
151
|
-
isAutoincrement: false;
|
|
152
|
-
hasRuntimeDefault: false;
|
|
153
|
-
enumValues: [string, ...string[]];
|
|
154
|
-
baseColumn: never;
|
|
155
|
-
identity: undefined;
|
|
156
|
-
generated: undefined;
|
|
157
|
-
}, {}, {}>;
|
|
158
|
-
messageId: import("drizzle-orm/pg-core").PgColumn<{
|
|
159
|
-
name: "message_id";
|
|
160
|
-
tableName: "junior_conversation_messages";
|
|
161
|
-
dataType: "string";
|
|
162
|
-
columnType: "PgText";
|
|
163
|
-
data: string;
|
|
164
|
-
driverParam: string;
|
|
165
|
-
notNull: true;
|
|
166
|
-
hasDefault: false;
|
|
167
|
-
isPrimaryKey: false;
|
|
168
|
-
isAutoincrement: false;
|
|
169
|
-
hasRuntimeDefault: false;
|
|
170
|
-
enumValues: [string, ...string[]];
|
|
171
|
-
baseColumn: never;
|
|
172
|
-
identity: undefined;
|
|
173
|
-
generated: undefined;
|
|
174
|
-
}, {}, {}>;
|
|
175
|
-
role: import("drizzle-orm/pg-core").PgColumn<{
|
|
176
|
-
name: "role";
|
|
177
|
-
tableName: "junior_conversation_messages";
|
|
178
|
-
dataType: "string";
|
|
179
|
-
columnType: "PgText";
|
|
180
|
-
data: import("../chat/conversations/messages").ConversationMessageRole;
|
|
181
|
-
driverParam: string;
|
|
182
|
-
notNull: true;
|
|
183
|
-
hasDefault: false;
|
|
184
|
-
isPrimaryKey: false;
|
|
185
|
-
isAutoincrement: false;
|
|
186
|
-
hasRuntimeDefault: false;
|
|
187
|
-
enumValues: [string, ...string[]];
|
|
188
|
-
baseColumn: never;
|
|
189
|
-
identity: undefined;
|
|
190
|
-
generated: undefined;
|
|
191
|
-
}, {}, {
|
|
192
|
-
$type: import("../chat/conversations/messages").ConversationMessageRole;
|
|
193
|
-
}>;
|
|
194
|
-
authorIdentityId: import("drizzle-orm/pg-core").PgColumn<{
|
|
195
|
-
name: "author_identity_id";
|
|
196
|
-
tableName: "junior_conversation_messages";
|
|
80
|
+
idempotencyKey: import("drizzle-orm/pg-core").PgColumn<{
|
|
81
|
+
name: "idempotency_key";
|
|
82
|
+
tableName: "junior_conversation_events";
|
|
197
83
|
dataType: "string";
|
|
198
84
|
columnType: "PgText";
|
|
199
85
|
data: string;
|
|
@@ -208,9 +94,9 @@ export declare const juniorSqlSchema: {
|
|
|
208
94
|
identity: undefined;
|
|
209
95
|
generated: undefined;
|
|
210
96
|
}, {}, {}>;
|
|
211
|
-
|
|
212
|
-
name: "
|
|
213
|
-
tableName: "
|
|
97
|
+
type: import("drizzle-orm/pg-core").PgColumn<{
|
|
98
|
+
name: "type";
|
|
99
|
+
tableName: "junior_conversation_events";
|
|
214
100
|
dataType: "string";
|
|
215
101
|
columnType: "PgText";
|
|
216
102
|
data: string;
|
|
@@ -225,14 +111,14 @@ export declare const juniorSqlSchema: {
|
|
|
225
111
|
identity: undefined;
|
|
226
112
|
generated: undefined;
|
|
227
113
|
}, {}, {}>;
|
|
228
|
-
|
|
229
|
-
name: "
|
|
230
|
-
tableName: "
|
|
114
|
+
payload: import("drizzle-orm/pg-core").PgColumn<{
|
|
115
|
+
name: "payload";
|
|
116
|
+
tableName: "junior_conversation_events";
|
|
231
117
|
dataType: "json";
|
|
232
118
|
columnType: "PgJsonb";
|
|
233
119
|
data: Record<string, unknown>;
|
|
234
120
|
driverParam: unknown;
|
|
235
|
-
notNull:
|
|
121
|
+
notNull: true;
|
|
236
122
|
hasDefault: false;
|
|
237
123
|
isPrimaryKey: false;
|
|
238
124
|
isAutoincrement: false;
|
|
@@ -244,26 +130,9 @@ export declare const juniorSqlSchema: {
|
|
|
244
130
|
}, {}, {
|
|
245
131
|
$type: Record<string, unknown>;
|
|
246
132
|
}>;
|
|
247
|
-
repliedAt: import("drizzle-orm/pg-core").PgColumn<{
|
|
248
|
-
name: string;
|
|
249
|
-
tableName: "junior_conversation_messages";
|
|
250
|
-
dataType: "date";
|
|
251
|
-
columnType: "PgTimestamp";
|
|
252
|
-
data: Date;
|
|
253
|
-
driverParam: string;
|
|
254
|
-
notNull: false;
|
|
255
|
-
hasDefault: false;
|
|
256
|
-
isPrimaryKey: false;
|
|
257
|
-
isAutoincrement: false;
|
|
258
|
-
hasRuntimeDefault: false;
|
|
259
|
-
enumValues: undefined;
|
|
260
|
-
baseColumn: never;
|
|
261
|
-
identity: undefined;
|
|
262
|
-
generated: undefined;
|
|
263
|
-
}, {}, {}>;
|
|
264
133
|
createdAt: import("drizzle-orm/pg-core").PgColumn<{
|
|
265
134
|
name: string;
|
|
266
|
-
tableName: "
|
|
135
|
+
tableName: "junior_conversation_events";
|
|
267
136
|
dataType: "date";
|
|
268
137
|
columnType: "PgTimestamp";
|
|
269
138
|
data: Date;
|
|
@@ -1,25 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
closeDb,
|
|
3
|
-
|
|
4
|
-
getConversationMessageStore,
|
|
3
|
+
getConversationEventStore,
|
|
5
4
|
getConversationSearchStore,
|
|
6
5
|
getConversationStore,
|
|
7
6
|
getDb,
|
|
8
7
|
getSqlExecutor
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
8
|
+
} from "./chunk-NVOTGWYX.js";
|
|
9
|
+
import "./chunk-SS67LUOK.js";
|
|
10
|
+
import "./chunk-VFUK3X5B.js";
|
|
12
11
|
import "./chunk-RT5BUHR5.js";
|
|
13
12
|
import "./chunk-B7PUBQQM.js";
|
|
14
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-O24R4DCK.js";
|
|
15
14
|
import "./chunk-OB42YVAE.js";
|
|
16
15
|
import "./chunk-6GWA276C.js";
|
|
17
16
|
import "./chunk-7FBGKXPE.js";
|
|
18
17
|
import "./chunk-MLKGABMK.js";
|
|
19
18
|
export {
|
|
20
19
|
closeDb,
|
|
21
|
-
|
|
22
|
-
getConversationMessageStore,
|
|
20
|
+
getConversationEventStore,
|
|
23
21
|
getConversationSearchStore,
|
|
24
22
|
getConversationStore,
|
|
25
23
|
getDb,
|