@sentry/junior 0.160.0 → 0.161.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/dist/{agent-hooks-U6R3O2V4.js → agent-hooks-O75UJNC6.js} +13 -10
- package/dist/api/locations/detail.d.ts +17 -0
- package/dist/api/people/plugin-reports.d.ts +7 -0
- package/dist/api/schema/conversation.d.ts +77 -8
- package/dist/api/schema/location.d.ts +29 -0
- package/dist/api/schema/person.d.ts +29 -0
- package/dist/api/schema.js +1 -1
- package/dist/api.js +128 -27
- package/dist/app.js +73 -42
- package/dist/{catalog-runtime-HIDNHGOP.js → catalog-runtime-Z3FHU4ZY.js} +5 -5
- package/dist/chat/artifacts/store.d.ts +42 -0
- package/dist/chat/plugins/agent-hooks.d.ts +9 -1
- package/dist/chat/plugins/annotations.d.ts +3 -0
- package/dist/chat/plugins/conversation-sidebar.d.ts +3 -0
- package/dist/chat/plugins/viewer.d.ts +4 -0
- package/dist/chat/slack/mrkdwn.d.ts +3 -4
- package/dist/chat/tools/publish-image.d.ts +44 -0
- package/dist/chat/tools/unpublish-image.d.ts +35 -0
- package/dist/{chunk-MBDWMEO6.js → chunk-4WAZ6DGX.js} +10 -10
- package/dist/{chunk-FJR66CQT.js → chunk-6ILVZOF6.js} +4 -4
- package/dist/{chunk-42E7432W.js → chunk-6WTDZKFR.js} +1 -1
- package/dist/{chunk-2SFMRMDV.js → chunk-CGAIDDLD.js} +1 -1
- package/dist/{chunk-XPX3DYG7.js → chunk-DGKLYDX7.js} +2 -2
- package/dist/{chunk-ZNBGWMVQ.js → chunk-DNSIU27S.js} +1 -1
- package/dist/{chunk-TBRJGMTO.js → chunk-EAIQBR66.js} +1 -1
- package/dist/{chunk-4UO3UAW7.js → chunk-FLMD25Y5.js} +239 -199
- package/dist/{chunk-FKMWPA4A.js → chunk-G35DUPNB.js} +4 -4
- package/dist/{chunk-472VVYYV.js → chunk-HSFYTIS2.js} +1 -1
- package/dist/{chunk-LNUZXEEI.js → chunk-IRHX2S46.js} +1 -1
- package/dist/{chunk-TPFOVXRB.js → chunk-IW7C5C7E.js} +19 -21
- package/dist/{chunk-UNDTW2PY.js → chunk-IYFKONIL.js} +1 -1
- package/dist/{chunk-U26KRMYX.js → chunk-MNY5M7RB.js} +537 -27
- package/dist/{chunk-PZUJPPON.js → chunk-MVG5UPLM.js} +1 -1
- package/dist/{chunk-WACYTIIK.js → chunk-O7JTSJPU.js} +6 -6
- package/dist/{chunk-URPLKXLG.js → chunk-OPIJ6HY3.js} +9 -9
- package/dist/{chunk-756F567I.js → chunk-OY2DBUV4.js} +5 -5
- package/dist/{chunk-M5HCOMDR.js → chunk-OYQEO72I.js} +410 -108
- package/dist/{chunk-2MK6S2UA.js → chunk-QHXT7LLF.js} +1 -1
- package/dist/{chunk-3AHIB66R.js → chunk-QQ7SY5IZ.js} +5 -5
- package/dist/{chunk-BGVQGEKB.js → chunk-RULQD7OX.js} +4 -4
- package/dist/{chunk-J77DLAPE.js → chunk-RVENVPNO.js} +2 -2
- package/dist/{chunk-UYUS4L6F.js → chunk-SA6BEEAB.js} +16 -9
- package/dist/{chunk-RLOXMHLA.js → chunk-STZVUVMS.js} +4 -4
- package/dist/{chunk-JQZIUESN.js → chunk-U2XOBFDK.js} +3 -3
- package/dist/{chunk-PVIM2RWO.js → chunk-V67ORYKQ.js} +8 -10
- package/dist/{chunk-P7W3ZL5J.js → chunk-VXFDVY4C.js} +8 -36
- package/dist/{chunk-YPMDNE7R.js → chunk-WKN4ZQTZ.js} +1 -1
- package/dist/{chunk-HDPH4CHJ.js → chunk-WVSQ2SCS.js} +1 -1
- package/dist/{chunk-56TFPTZU.js → chunk-YSWHAOPQ.js} +1 -1
- package/dist/{chunk-RJGRXDA7.js → chunk-ZBCLWBMV.js} +5 -5
- package/dist/cli/chat.js +29 -30
- package/dist/cli/check.js +6 -6
- package/dist/cli/plugins.js +12 -13
- package/dist/cli/snapshot-create.js +9 -9
- package/dist/cli/upgrade.js +7 -7
- package/dist/db/schema/artifacts.d.ts +178 -0
- package/dist/db/schema.d.ts +179 -1
- package/dist/{db-2JKT3BB5.js → db-KKOZRE62.js} +7 -7
- package/dist/handlers/artifacts.d.ts +8 -0
- package/dist/instrumentation.js +4 -4
- package/dist/nitro.js +2 -2
- package/dist/{oauth-callback-server-7MC2UMQC.js → oauth-callback-server-5AUZDWXA.js} +22 -23
- package/dist/{runner-GUU4G7XO.js → runner-K5H5NDEC.js} +12 -13
- package/dist/{skills-7NW5N3VM.js → skills-OZGPB6G4.js} +6 -6
- package/dist/spawn-RCQSC2L5.js +37 -0
- package/dist/{validation-AQLI6N2C.js → validation-TVHCNCYL.js} +6 -6
- package/dist/version.js +1 -1
- package/dist/{work-FLFK5XNU.js → work-DXCQMJ5U.js} +17 -17
- package/dist/worker-24HZ5HRI.js +24 -0
- package/migrations/0028_artifacts.sql +16 -0
- package/migrations/meta/0028_snapshot.json +2685 -0
- package/migrations/meta/_journal.json +8 -1
- package/package.json +4 -4
- package/dist/chunk-OUAZDZTZ.js +0 -441
- package/dist/spawn-WGK4W3XF.js +0 -37
- package/dist/worker-KSJIRBQJ.js +0 -24
|
@@ -0,0 +1,178 @@
|
|
|
1
|
+
/** Durable metadata for conversation-owned public artifacts. */
|
|
2
|
+
export declare const juniorArtifacts: import("drizzle-orm/pg-core").PgTableWithColumns<{
|
|
3
|
+
name: "junior_artifacts";
|
|
4
|
+
schema: undefined;
|
|
5
|
+
columns: {
|
|
6
|
+
id: import("drizzle-orm/pg-core").PgColumn<{
|
|
7
|
+
name: "id";
|
|
8
|
+
tableName: "junior_artifacts";
|
|
9
|
+
dataType: "string";
|
|
10
|
+
columnType: "PgText";
|
|
11
|
+
data: string;
|
|
12
|
+
driverParam: string;
|
|
13
|
+
notNull: true;
|
|
14
|
+
hasDefault: false;
|
|
15
|
+
isPrimaryKey: true;
|
|
16
|
+
isAutoincrement: false;
|
|
17
|
+
hasRuntimeDefault: false;
|
|
18
|
+
enumValues: [string, ...string[]];
|
|
19
|
+
baseColumn: never;
|
|
20
|
+
identity: undefined;
|
|
21
|
+
generated: undefined;
|
|
22
|
+
}, {}, {}>;
|
|
23
|
+
conversationId: import("drizzle-orm/pg-core").PgColumn<{
|
|
24
|
+
name: "conversation_id";
|
|
25
|
+
tableName: "junior_artifacts";
|
|
26
|
+
dataType: "string";
|
|
27
|
+
columnType: "PgText";
|
|
28
|
+
data: string;
|
|
29
|
+
driverParam: string;
|
|
30
|
+
notNull: true;
|
|
31
|
+
hasDefault: false;
|
|
32
|
+
isPrimaryKey: false;
|
|
33
|
+
isAutoincrement: false;
|
|
34
|
+
hasRuntimeDefault: false;
|
|
35
|
+
enumValues: [string, ...string[]];
|
|
36
|
+
baseColumn: never;
|
|
37
|
+
identity: undefined;
|
|
38
|
+
generated: undefined;
|
|
39
|
+
}, {}, {}>;
|
|
40
|
+
sha256: import("drizzle-orm/pg-core").PgColumn<{
|
|
41
|
+
name: "sha256";
|
|
42
|
+
tableName: "junior_artifacts";
|
|
43
|
+
dataType: "string";
|
|
44
|
+
columnType: "PgText";
|
|
45
|
+
data: string;
|
|
46
|
+
driverParam: string;
|
|
47
|
+
notNull: true;
|
|
48
|
+
hasDefault: false;
|
|
49
|
+
isPrimaryKey: false;
|
|
50
|
+
isAutoincrement: false;
|
|
51
|
+
hasRuntimeDefault: false;
|
|
52
|
+
enumValues: [string, ...string[]];
|
|
53
|
+
baseColumn: never;
|
|
54
|
+
identity: undefined;
|
|
55
|
+
generated: undefined;
|
|
56
|
+
}, {}, {}>;
|
|
57
|
+
ext: import("drizzle-orm/pg-core").PgColumn<{
|
|
58
|
+
name: "ext";
|
|
59
|
+
tableName: "junior_artifacts";
|
|
60
|
+
dataType: "string";
|
|
61
|
+
columnType: "PgText";
|
|
62
|
+
data: string;
|
|
63
|
+
driverParam: string;
|
|
64
|
+
notNull: true;
|
|
65
|
+
hasDefault: false;
|
|
66
|
+
isPrimaryKey: false;
|
|
67
|
+
isAutoincrement: false;
|
|
68
|
+
hasRuntimeDefault: false;
|
|
69
|
+
enumValues: [string, ...string[]];
|
|
70
|
+
baseColumn: never;
|
|
71
|
+
identity: undefined;
|
|
72
|
+
generated: undefined;
|
|
73
|
+
}, {}, {}>;
|
|
74
|
+
storageKey: import("drizzle-orm/pg-core").PgColumn<{
|
|
75
|
+
name: "storage_key";
|
|
76
|
+
tableName: "junior_artifacts";
|
|
77
|
+
dataType: "string";
|
|
78
|
+
columnType: "PgText";
|
|
79
|
+
data: string;
|
|
80
|
+
driverParam: string;
|
|
81
|
+
notNull: true;
|
|
82
|
+
hasDefault: false;
|
|
83
|
+
isPrimaryKey: false;
|
|
84
|
+
isAutoincrement: false;
|
|
85
|
+
hasRuntimeDefault: false;
|
|
86
|
+
enumValues: [string, ...string[]];
|
|
87
|
+
baseColumn: never;
|
|
88
|
+
identity: undefined;
|
|
89
|
+
generated: undefined;
|
|
90
|
+
}, {}, {}>;
|
|
91
|
+
contentType: import("drizzle-orm/pg-core").PgColumn<{
|
|
92
|
+
name: "content_type";
|
|
93
|
+
tableName: "junior_artifacts";
|
|
94
|
+
dataType: "string";
|
|
95
|
+
columnType: "PgText";
|
|
96
|
+
data: string;
|
|
97
|
+
driverParam: string;
|
|
98
|
+
notNull: true;
|
|
99
|
+
hasDefault: false;
|
|
100
|
+
isPrimaryKey: false;
|
|
101
|
+
isAutoincrement: false;
|
|
102
|
+
hasRuntimeDefault: false;
|
|
103
|
+
enumValues: [string, ...string[]];
|
|
104
|
+
baseColumn: never;
|
|
105
|
+
identity: undefined;
|
|
106
|
+
generated: undefined;
|
|
107
|
+
}, {}, {}>;
|
|
108
|
+
bytes: import("drizzle-orm/pg-core").PgColumn<{
|
|
109
|
+
name: "bytes";
|
|
110
|
+
tableName: "junior_artifacts";
|
|
111
|
+
dataType: "number";
|
|
112
|
+
columnType: "PgInteger";
|
|
113
|
+
data: number;
|
|
114
|
+
driverParam: string | number;
|
|
115
|
+
notNull: true;
|
|
116
|
+
hasDefault: false;
|
|
117
|
+
isPrimaryKey: false;
|
|
118
|
+
isAutoincrement: false;
|
|
119
|
+
hasRuntimeDefault: false;
|
|
120
|
+
enumValues: undefined;
|
|
121
|
+
baseColumn: never;
|
|
122
|
+
identity: undefined;
|
|
123
|
+
generated: undefined;
|
|
124
|
+
}, {}, {}>;
|
|
125
|
+
public: import("drizzle-orm/pg-core").PgColumn<{
|
|
126
|
+
name: "public";
|
|
127
|
+
tableName: "junior_artifacts";
|
|
128
|
+
dataType: "boolean";
|
|
129
|
+
columnType: "PgBoolean";
|
|
130
|
+
data: boolean;
|
|
131
|
+
driverParam: boolean;
|
|
132
|
+
notNull: true;
|
|
133
|
+
hasDefault: false;
|
|
134
|
+
isPrimaryKey: false;
|
|
135
|
+
isAutoincrement: false;
|
|
136
|
+
hasRuntimeDefault: false;
|
|
137
|
+
enumValues: undefined;
|
|
138
|
+
baseColumn: never;
|
|
139
|
+
identity: undefined;
|
|
140
|
+
generated: undefined;
|
|
141
|
+
}, {}, {}>;
|
|
142
|
+
createdAt: import("drizzle-orm/pg-core").PgColumn<{
|
|
143
|
+
name: string;
|
|
144
|
+
tableName: "junior_artifacts";
|
|
145
|
+
dataType: "date";
|
|
146
|
+
columnType: "PgTimestamp";
|
|
147
|
+
data: Date;
|
|
148
|
+
driverParam: string;
|
|
149
|
+
notNull: true;
|
|
150
|
+
hasDefault: false;
|
|
151
|
+
isPrimaryKey: false;
|
|
152
|
+
isAutoincrement: false;
|
|
153
|
+
hasRuntimeDefault: false;
|
|
154
|
+
enumValues: undefined;
|
|
155
|
+
baseColumn: never;
|
|
156
|
+
identity: undefined;
|
|
157
|
+
generated: undefined;
|
|
158
|
+
}, {}, {}>;
|
|
159
|
+
deleteRequestedAt: import("drizzle-orm/pg-core").PgColumn<{
|
|
160
|
+
name: string;
|
|
161
|
+
tableName: "junior_artifacts";
|
|
162
|
+
dataType: "date";
|
|
163
|
+
columnType: "PgTimestamp";
|
|
164
|
+
data: Date;
|
|
165
|
+
driverParam: string;
|
|
166
|
+
notNull: false;
|
|
167
|
+
hasDefault: false;
|
|
168
|
+
isPrimaryKey: false;
|
|
169
|
+
isAutoincrement: false;
|
|
170
|
+
hasRuntimeDefault: false;
|
|
171
|
+
enumValues: undefined;
|
|
172
|
+
baseColumn: never;
|
|
173
|
+
identity: undefined;
|
|
174
|
+
generated: undefined;
|
|
175
|
+
}, {}, {}>;
|
|
176
|
+
};
|
|
177
|
+
dialect: "pg";
|
|
178
|
+
}>;
|
package/dist/db/schema.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { juniorArtifacts } from "./schema/artifacts";
|
|
1
2
|
import { juniorAttachments } from "./schema/attachments";
|
|
2
3
|
import { juniorConversationAnnotations } from "./schema/conversation-annotations";
|
|
3
4
|
import { juniorApiTokens } from "./schema/api-tokens";
|
|
@@ -14,8 +15,185 @@ import { juniorStats } from "./schema/stats";
|
|
|
14
15
|
import { juniorTaskExecutions } from "./schema/task-executions";
|
|
15
16
|
import { juniorSchedulerRuns, juniorSchedulerTasks } from "./schema/scheduled-tasks";
|
|
16
17
|
import { juniorUsers } from "./schema/users";
|
|
17
|
-
export { juniorAttachments, juniorConversationAnnotations, juniorApiTokens, juniorAgentBindings, juniorAgentInvocations, juniorConversationEvents, juniorConversationBindings, juniorConversationParticipants, juniorConversations, juniorLocationConfigurations, juniorDestinations, juniorEventTasks, juniorIdentities, juniorStats, juniorTaskExecutions, juniorSchedulerRuns, juniorSchedulerTasks, juniorUsers, };
|
|
18
|
+
export { juniorArtifacts, juniorAttachments, juniorConversationAnnotations, juniorApiTokens, juniorAgentBindings, juniorAgentInvocations, juniorConversationEvents, juniorConversationBindings, juniorConversationParticipants, juniorConversations, juniorLocationConfigurations, juniorDestinations, juniorEventTasks, juniorIdentities, juniorStats, juniorTaskExecutions, juniorSchedulerRuns, juniorSchedulerTasks, juniorUsers, };
|
|
18
19
|
export declare const juniorSqlSchema: {
|
|
20
|
+
juniorArtifacts: import("drizzle-orm/pg-core").PgTableWithColumns<{
|
|
21
|
+
name: "junior_artifacts";
|
|
22
|
+
schema: undefined;
|
|
23
|
+
columns: {
|
|
24
|
+
id: import("drizzle-orm/pg-core").PgColumn<{
|
|
25
|
+
name: "id";
|
|
26
|
+
tableName: "junior_artifacts";
|
|
27
|
+
dataType: "string";
|
|
28
|
+
columnType: "PgText";
|
|
29
|
+
data: string;
|
|
30
|
+
driverParam: string;
|
|
31
|
+
notNull: true;
|
|
32
|
+
hasDefault: false;
|
|
33
|
+
isPrimaryKey: true;
|
|
34
|
+
isAutoincrement: false;
|
|
35
|
+
hasRuntimeDefault: false;
|
|
36
|
+
enumValues: [string, ...string[]];
|
|
37
|
+
baseColumn: never;
|
|
38
|
+
identity: undefined;
|
|
39
|
+
generated: undefined;
|
|
40
|
+
}, {}, {}>;
|
|
41
|
+
conversationId: import("drizzle-orm/pg-core").PgColumn<{
|
|
42
|
+
name: "conversation_id";
|
|
43
|
+
tableName: "junior_artifacts";
|
|
44
|
+
dataType: "string";
|
|
45
|
+
columnType: "PgText";
|
|
46
|
+
data: string;
|
|
47
|
+
driverParam: string;
|
|
48
|
+
notNull: true;
|
|
49
|
+
hasDefault: false;
|
|
50
|
+
isPrimaryKey: false;
|
|
51
|
+
isAutoincrement: false;
|
|
52
|
+
hasRuntimeDefault: false;
|
|
53
|
+
enumValues: [string, ...string[]];
|
|
54
|
+
baseColumn: never;
|
|
55
|
+
identity: undefined;
|
|
56
|
+
generated: undefined;
|
|
57
|
+
}, {}, {}>;
|
|
58
|
+
sha256: import("drizzle-orm/pg-core").PgColumn<{
|
|
59
|
+
name: "sha256";
|
|
60
|
+
tableName: "junior_artifacts";
|
|
61
|
+
dataType: "string";
|
|
62
|
+
columnType: "PgText";
|
|
63
|
+
data: string;
|
|
64
|
+
driverParam: string;
|
|
65
|
+
notNull: true;
|
|
66
|
+
hasDefault: false;
|
|
67
|
+
isPrimaryKey: false;
|
|
68
|
+
isAutoincrement: false;
|
|
69
|
+
hasRuntimeDefault: false;
|
|
70
|
+
enumValues: [string, ...string[]];
|
|
71
|
+
baseColumn: never;
|
|
72
|
+
identity: undefined;
|
|
73
|
+
generated: undefined;
|
|
74
|
+
}, {}, {}>;
|
|
75
|
+
ext: import("drizzle-orm/pg-core").PgColumn<{
|
|
76
|
+
name: "ext";
|
|
77
|
+
tableName: "junior_artifacts";
|
|
78
|
+
dataType: "string";
|
|
79
|
+
columnType: "PgText";
|
|
80
|
+
data: string;
|
|
81
|
+
driverParam: string;
|
|
82
|
+
notNull: true;
|
|
83
|
+
hasDefault: false;
|
|
84
|
+
isPrimaryKey: false;
|
|
85
|
+
isAutoincrement: false;
|
|
86
|
+
hasRuntimeDefault: false;
|
|
87
|
+
enumValues: [string, ...string[]];
|
|
88
|
+
baseColumn: never;
|
|
89
|
+
identity: undefined;
|
|
90
|
+
generated: undefined;
|
|
91
|
+
}, {}, {}>;
|
|
92
|
+
storageKey: import("drizzle-orm/pg-core").PgColumn<{
|
|
93
|
+
name: "storage_key";
|
|
94
|
+
tableName: "junior_artifacts";
|
|
95
|
+
dataType: "string";
|
|
96
|
+
columnType: "PgText";
|
|
97
|
+
data: string;
|
|
98
|
+
driverParam: string;
|
|
99
|
+
notNull: true;
|
|
100
|
+
hasDefault: false;
|
|
101
|
+
isPrimaryKey: false;
|
|
102
|
+
isAutoincrement: false;
|
|
103
|
+
hasRuntimeDefault: false;
|
|
104
|
+
enumValues: [string, ...string[]];
|
|
105
|
+
baseColumn: never;
|
|
106
|
+
identity: undefined;
|
|
107
|
+
generated: undefined;
|
|
108
|
+
}, {}, {}>;
|
|
109
|
+
contentType: import("drizzle-orm/pg-core").PgColumn<{
|
|
110
|
+
name: "content_type";
|
|
111
|
+
tableName: "junior_artifacts";
|
|
112
|
+
dataType: "string";
|
|
113
|
+
columnType: "PgText";
|
|
114
|
+
data: string;
|
|
115
|
+
driverParam: string;
|
|
116
|
+
notNull: true;
|
|
117
|
+
hasDefault: false;
|
|
118
|
+
isPrimaryKey: false;
|
|
119
|
+
isAutoincrement: false;
|
|
120
|
+
hasRuntimeDefault: false;
|
|
121
|
+
enumValues: [string, ...string[]];
|
|
122
|
+
baseColumn: never;
|
|
123
|
+
identity: undefined;
|
|
124
|
+
generated: undefined;
|
|
125
|
+
}, {}, {}>;
|
|
126
|
+
bytes: import("drizzle-orm/pg-core").PgColumn<{
|
|
127
|
+
name: "bytes";
|
|
128
|
+
tableName: "junior_artifacts";
|
|
129
|
+
dataType: "number";
|
|
130
|
+
columnType: "PgInteger";
|
|
131
|
+
data: number;
|
|
132
|
+
driverParam: string | number;
|
|
133
|
+
notNull: true;
|
|
134
|
+
hasDefault: false;
|
|
135
|
+
isPrimaryKey: false;
|
|
136
|
+
isAutoincrement: false;
|
|
137
|
+
hasRuntimeDefault: false;
|
|
138
|
+
enumValues: undefined;
|
|
139
|
+
baseColumn: never;
|
|
140
|
+
identity: undefined;
|
|
141
|
+
generated: undefined;
|
|
142
|
+
}, {}, {}>;
|
|
143
|
+
public: import("drizzle-orm/pg-core").PgColumn<{
|
|
144
|
+
name: "public";
|
|
145
|
+
tableName: "junior_artifacts";
|
|
146
|
+
dataType: "boolean";
|
|
147
|
+
columnType: "PgBoolean";
|
|
148
|
+
data: boolean;
|
|
149
|
+
driverParam: boolean;
|
|
150
|
+
notNull: true;
|
|
151
|
+
hasDefault: false;
|
|
152
|
+
isPrimaryKey: false;
|
|
153
|
+
isAutoincrement: false;
|
|
154
|
+
hasRuntimeDefault: false;
|
|
155
|
+
enumValues: undefined;
|
|
156
|
+
baseColumn: never;
|
|
157
|
+
identity: undefined;
|
|
158
|
+
generated: undefined;
|
|
159
|
+
}, {}, {}>;
|
|
160
|
+
createdAt: import("drizzle-orm/pg-core").PgColumn<{
|
|
161
|
+
name: string;
|
|
162
|
+
tableName: "junior_artifacts";
|
|
163
|
+
dataType: "date";
|
|
164
|
+
columnType: "PgTimestamp";
|
|
165
|
+
data: Date;
|
|
166
|
+
driverParam: string;
|
|
167
|
+
notNull: true;
|
|
168
|
+
hasDefault: false;
|
|
169
|
+
isPrimaryKey: false;
|
|
170
|
+
isAutoincrement: false;
|
|
171
|
+
hasRuntimeDefault: false;
|
|
172
|
+
enumValues: undefined;
|
|
173
|
+
baseColumn: never;
|
|
174
|
+
identity: undefined;
|
|
175
|
+
generated: undefined;
|
|
176
|
+
}, {}, {}>;
|
|
177
|
+
deleteRequestedAt: import("drizzle-orm/pg-core").PgColumn<{
|
|
178
|
+
name: string;
|
|
179
|
+
tableName: "junior_artifacts";
|
|
180
|
+
dataType: "date";
|
|
181
|
+
columnType: "PgTimestamp";
|
|
182
|
+
data: Date;
|
|
183
|
+
driverParam: string;
|
|
184
|
+
notNull: false;
|
|
185
|
+
hasDefault: false;
|
|
186
|
+
isPrimaryKey: false;
|
|
187
|
+
isAutoincrement: false;
|
|
188
|
+
hasRuntimeDefault: false;
|
|
189
|
+
enumValues: undefined;
|
|
190
|
+
baseColumn: never;
|
|
191
|
+
identity: undefined;
|
|
192
|
+
generated: undefined;
|
|
193
|
+
}, {}, {}>;
|
|
194
|
+
};
|
|
195
|
+
dialect: "pg";
|
|
196
|
+
}>;
|
|
19
197
|
juniorAttachments: import("drizzle-orm/pg-core").PgTableWithColumns<{
|
|
20
198
|
name: "junior_attachments";
|
|
21
199
|
schema: undefined;
|
|
@@ -5,16 +5,16 @@ import {
|
|
|
5
5
|
getConversationStore,
|
|
6
6
|
getDb,
|
|
7
7
|
getSqlExecutor
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
8
|
+
} from "./chunk-U2XOBFDK.js";
|
|
9
|
+
import "./chunk-FLMD25Y5.js";
|
|
10
|
+
import "./chunk-RVENVPNO.js";
|
|
11
11
|
import "./chunk-VFUK3X5B.js";
|
|
12
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-EAIQBR66.js";
|
|
13
13
|
import "./chunk-V7YE4WCP.js";
|
|
14
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-DNSIU27S.js";
|
|
15
15
|
import "./chunk-6GWA276C.js";
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-WVSQ2SCS.js";
|
|
17
|
+
import "./chunk-WKN4ZQTZ.js";
|
|
18
18
|
import "./chunk-MLKGABMK.js";
|
|
19
19
|
export {
|
|
20
20
|
closeDb,
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { AttachmentStorage } from "@/chat/attachments/storage";
|
|
2
|
+
import type { JuniorSqlDatabase } from "@/db/db";
|
|
3
|
+
/** Serve one content-addressed public artifact without authentication. */
|
|
4
|
+
export declare function publicArtifactGET(args: {
|
|
5
|
+
db?: JuniorSqlDatabase;
|
|
6
|
+
filename: string;
|
|
7
|
+
storage?: Pick<AttachmentStorage, "get">;
|
|
8
|
+
}): Promise<Response>;
|
package/dist/instrumentation.js
CHANGED
|
@@ -3,8 +3,8 @@ import {
|
|
|
3
3
|
} from "./chunk-UIE3R5XU.js";
|
|
4
4
|
import {
|
|
5
5
|
getCurrentConversationPrivacy
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-EAIQBR66.js";
|
|
7
|
+
import "./chunk-DNSIU27S.js";
|
|
8
8
|
import {
|
|
9
9
|
getClient,
|
|
10
10
|
getGlobalScope,
|
|
@@ -15,8 +15,8 @@ import {
|
|
|
15
15
|
import {
|
|
16
16
|
getDeploymentServiceVersion,
|
|
17
17
|
getDeploymentTelemetryAttributes
|
|
18
|
-
} from "./chunk-
|
|
19
|
-
import "./chunk-
|
|
18
|
+
} from "./chunk-WVSQ2SCS.js";
|
|
19
|
+
import "./chunk-WKN4ZQTZ.js";
|
|
20
20
|
import "./chunk-MLKGABMK.js";
|
|
21
21
|
|
|
22
22
|
// src/chat/sentry-payload-filter.ts
|
package/dist/nitro.js
CHANGED
|
@@ -27,8 +27,8 @@ import {
|
|
|
27
27
|
JUNIOR_PLUGIN_TASK_CALLBACK_ROUTE,
|
|
28
28
|
JUNIOR_RETENTION_CRON_SCHEDULE,
|
|
29
29
|
JUNIOR_RETENTION_ROUTE
|
|
30
|
-
} from "./chunk-
|
|
31
|
-
import "./chunk-
|
|
30
|
+
} from "./chunk-WVSQ2SCS.js";
|
|
31
|
+
import "./chunk-WKN4ZQTZ.js";
|
|
32
32
|
import "./chunk-MLKGABMK.js";
|
|
33
33
|
|
|
34
34
|
// src/nitro.ts
|
|
@@ -2,46 +2,45 @@ import {
|
|
|
2
2
|
GET,
|
|
3
3
|
GET2,
|
|
4
4
|
syncLocalOAuthCredential
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-IW7C5C7E.js";
|
|
6
6
|
import "./chunk-FA6POGLH.js";
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
7
|
+
import "./chunk-IRHX2S46.js";
|
|
8
|
+
import "./chunk-HSFYTIS2.js";
|
|
9
|
+
import "./chunk-G35DUPNB.js";
|
|
10
|
+
import "./chunk-OPIJ6HY3.js";
|
|
11
|
+
import "./chunk-QQ7SY5IZ.js";
|
|
12
12
|
import "./chunk-WR76IVA5.js";
|
|
13
13
|
import "./chunk-JAL3CH4G.js";
|
|
14
14
|
import "./chunk-5I6ORJUY.js";
|
|
15
15
|
import {
|
|
16
16
|
createUserTokenStore
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-V67ORYKQ.js";
|
|
18
18
|
import "./chunk-RF6J3DIO.js";
|
|
19
|
-
import "./chunk-
|
|
19
|
+
import "./chunk-VXFDVY4C.js";
|
|
20
20
|
import "./chunk-5IDFPCON.js";
|
|
21
|
-
import "./chunk-
|
|
22
|
-
import "./chunk-
|
|
21
|
+
import "./chunk-YSWHAOPQ.js";
|
|
22
|
+
import "./chunk-STZVUVMS.js";
|
|
23
23
|
import "./chunk-3Y47VMHV.js";
|
|
24
24
|
import "./chunk-PDO5BLNM.js";
|
|
25
|
-
import "./chunk-
|
|
26
|
-
import "./chunk-
|
|
27
|
-
import "./chunk-
|
|
28
|
-
import "./chunk-4UO3UAW7.js";
|
|
25
|
+
import "./chunk-MNY5M7RB.js";
|
|
26
|
+
import "./chunk-U2XOBFDK.js";
|
|
27
|
+
import "./chunk-FLMD25Y5.js";
|
|
29
28
|
import "./chunk-EM225ITJ.js";
|
|
30
|
-
import "./chunk-
|
|
31
|
-
import "./chunk-
|
|
29
|
+
import "./chunk-IYFKONIL.js";
|
|
30
|
+
import "./chunk-RVENVPNO.js";
|
|
32
31
|
import "./chunk-VFUK3X5B.js";
|
|
33
|
-
import "./chunk-
|
|
34
|
-
import "./chunk-
|
|
35
|
-
import "./chunk-
|
|
36
|
-
import "./chunk-
|
|
32
|
+
import "./chunk-EAIQBR66.js";
|
|
33
|
+
import "./chunk-DGKLYDX7.js";
|
|
34
|
+
import "./chunk-CGAIDDLD.js";
|
|
35
|
+
import "./chunk-6WTDZKFR.js";
|
|
37
36
|
import "./chunk-BDUENQD3.js";
|
|
38
37
|
import "./chunk-V7YE4WCP.js";
|
|
39
|
-
import "./chunk-
|
|
38
|
+
import "./chunk-DNSIU27S.js";
|
|
40
39
|
import "./chunk-6GWA276C.js";
|
|
41
40
|
import "./chunk-OOUNJNMR.js";
|
|
42
41
|
import "./chunk-H4HBKISO.js";
|
|
43
|
-
import "./chunk-
|
|
44
|
-
import "./chunk-
|
|
42
|
+
import "./chunk-WVSQ2SCS.js";
|
|
43
|
+
import "./chunk-WKN4ZQTZ.js";
|
|
45
44
|
import "./chunk-MLKGABMK.js";
|
|
46
45
|
|
|
47
46
|
// src/chat/local/oauth-callback-server.ts
|
|
@@ -4,14 +4,14 @@ import {
|
|
|
4
4
|
finalizeFailedTurnReplyWithEvent,
|
|
5
5
|
processPluginTask,
|
|
6
6
|
scheduleSessionCompletedPluginTasks
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-OPIJ6HY3.js";
|
|
8
8
|
import {
|
|
9
9
|
ConversationTurnLifecycleService,
|
|
10
10
|
coerceThreadConversationState,
|
|
11
11
|
getPersistedSandboxState,
|
|
12
12
|
getPersistedThreadState,
|
|
13
13
|
persistThreadStateById
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-QQ7SY5IZ.js";
|
|
15
15
|
import "./chunk-5I6ORJUY.js";
|
|
16
16
|
import {
|
|
17
17
|
authorizationId
|
|
@@ -33,21 +33,20 @@ import {
|
|
|
33
33
|
startActiveTurn,
|
|
34
34
|
stripRuntimeTurnContext,
|
|
35
35
|
upsertConversationMessage
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-STZVUVMS.js";
|
|
37
37
|
import "./chunk-3Y47VMHV.js";
|
|
38
38
|
import "./chunk-PDO5BLNM.js";
|
|
39
|
-
import "./chunk-
|
|
40
|
-
import "./chunk-OUAZDZTZ.js";
|
|
39
|
+
import "./chunk-MNY5M7RB.js";
|
|
41
40
|
import {
|
|
42
41
|
getConversationEventStore,
|
|
43
42
|
getConversationStore
|
|
44
|
-
} from "./chunk-
|
|
45
|
-
import "./chunk-
|
|
43
|
+
} from "./chunk-U2XOBFDK.js";
|
|
44
|
+
import "./chunk-FLMD25Y5.js";
|
|
46
45
|
import "./chunk-EM225ITJ.js";
|
|
47
|
-
import "./chunk-
|
|
48
|
-
import "./chunk-
|
|
46
|
+
import "./chunk-IYFKONIL.js";
|
|
47
|
+
import "./chunk-RVENVPNO.js";
|
|
49
48
|
import "./chunk-VFUK3X5B.js";
|
|
50
|
-
import "./chunk-
|
|
49
|
+
import "./chunk-EAIQBR66.js";
|
|
51
50
|
import {
|
|
52
51
|
credentialContextForActor
|
|
53
52
|
} from "./chunk-BDUENQD3.js";
|
|
@@ -56,10 +55,10 @@ import {
|
|
|
56
55
|
logException,
|
|
57
56
|
setTags,
|
|
58
57
|
withLogContext
|
|
59
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-DNSIU27S.js";
|
|
60
59
|
import "./chunk-6GWA276C.js";
|
|
61
|
-
import "./chunk-
|
|
62
|
-
import "./chunk-
|
|
60
|
+
import "./chunk-WVSQ2SCS.js";
|
|
61
|
+
import "./chunk-WKN4ZQTZ.js";
|
|
63
62
|
import "./chunk-MLKGABMK.js";
|
|
64
63
|
|
|
65
64
|
// src/chat/local/runner.ts
|
|
@@ -6,17 +6,17 @@ import {
|
|
|
6
6
|
parseSkillInvocation,
|
|
7
7
|
resetSkillDiscoveryCache,
|
|
8
8
|
stripFrontmatter
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-DGKLYDX7.js";
|
|
10
|
+
import "./chunk-CGAIDDLD.js";
|
|
11
|
+
import "./chunk-6WTDZKFR.js";
|
|
12
12
|
import "./chunk-BDUENQD3.js";
|
|
13
13
|
import "./chunk-V7YE4WCP.js";
|
|
14
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-DNSIU27S.js";
|
|
15
15
|
import "./chunk-6GWA276C.js";
|
|
16
16
|
import "./chunk-OOUNJNMR.js";
|
|
17
17
|
import "./chunk-H4HBKISO.js";
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-WVSQ2SCS.js";
|
|
19
|
+
import "./chunk-WKN4ZQTZ.js";
|
|
20
20
|
import "./chunk-MLKGABMK.js";
|
|
21
21
|
export {
|
|
22
22
|
discoverSkills,
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import {
|
|
2
|
+
bindSpawnAgent
|
|
3
|
+
} from "./chunk-QHXT7LLF.js";
|
|
4
|
+
import "./chunk-O7JTSJPU.js";
|
|
5
|
+
import "./chunk-G35DUPNB.js";
|
|
6
|
+
import "./chunk-QQ7SY5IZ.js";
|
|
7
|
+
import "./chunk-JAL3CH4G.js";
|
|
8
|
+
import "./chunk-OY2DBUV4.js";
|
|
9
|
+
import "./chunk-DIB4GX3G.js";
|
|
10
|
+
import "./chunk-RF6J3DIO.js";
|
|
11
|
+
import "./chunk-VXFDVY4C.js";
|
|
12
|
+
import "./chunk-7MA4HV4W.js";
|
|
13
|
+
import "./chunk-STZVUVMS.js";
|
|
14
|
+
import "./chunk-3Y47VMHV.js";
|
|
15
|
+
import "./chunk-PDO5BLNM.js";
|
|
16
|
+
import "./chunk-MNY5M7RB.js";
|
|
17
|
+
import "./chunk-U2XOBFDK.js";
|
|
18
|
+
import "./chunk-FLMD25Y5.js";
|
|
19
|
+
import "./chunk-EM225ITJ.js";
|
|
20
|
+
import "./chunk-IYFKONIL.js";
|
|
21
|
+
import "./chunk-RVENVPNO.js";
|
|
22
|
+
import "./chunk-VFUK3X5B.js";
|
|
23
|
+
import "./chunk-EAIQBR66.js";
|
|
24
|
+
import "./chunk-CGAIDDLD.js";
|
|
25
|
+
import "./chunk-6WTDZKFR.js";
|
|
26
|
+
import "./chunk-BDUENQD3.js";
|
|
27
|
+
import "./chunk-V7YE4WCP.js";
|
|
28
|
+
import "./chunk-DNSIU27S.js";
|
|
29
|
+
import "./chunk-6GWA276C.js";
|
|
30
|
+
import "./chunk-OOUNJNMR.js";
|
|
31
|
+
import "./chunk-H4HBKISO.js";
|
|
32
|
+
import "./chunk-WVSQ2SCS.js";
|
|
33
|
+
import "./chunk-WKN4ZQTZ.js";
|
|
34
|
+
import "./chunk-MLKGABMK.js";
|
|
35
|
+
export {
|
|
36
|
+
bindSpawnAgent
|
|
37
|
+
};
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
validatePluginEgressCredentialHooks,
|
|
3
3
|
validatePluginRegistrations
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
6
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-MVG5UPLM.js";
|
|
5
|
+
import "./chunk-CGAIDDLD.js";
|
|
6
|
+
import "./chunk-6WTDZKFR.js";
|
|
7
7
|
import "./chunk-BDUENQD3.js";
|
|
8
8
|
import "./chunk-V7YE4WCP.js";
|
|
9
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-DNSIU27S.js";
|
|
10
10
|
import "./chunk-6GWA276C.js";
|
|
11
11
|
import "./chunk-OOUNJNMR.js";
|
|
12
12
|
import "./chunk-H4HBKISO.js";
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-WVSQ2SCS.js";
|
|
14
|
+
import "./chunk-WKN4ZQTZ.js";
|
|
15
15
|
import "./chunk-MLKGABMK.js";
|
|
16
16
|
export {
|
|
17
17
|
validatePluginEgressCredentialHooks,
|