@sentry/junior 0.145.0 → 0.147.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-L7D2BDVV.js → agent-hooks-HS6VGUPM.js} +10 -10
- package/dist/api/conversations/detail.d.ts +1 -0
- package/dist/api/conversations/event-list.d.ts +1 -0
- package/dist/api/schema/conversation.d.ts +4 -0
- package/dist/api/schema.js +1 -1
- package/dist/api.js +26 -22
- package/dist/app.js +285 -290
- package/dist/{catalog-runtime-QLAC4Q3W.js → catalog-runtime-M6ZTPYRV.js} +5 -5
- package/dist/chat/agent/prompt.d.ts +0 -2
- package/dist/chat/agent/request.d.ts +2 -5
- package/dist/chat/agent/resume.d.ts +0 -3
- package/dist/chat/agent/sandbox.d.ts +2 -2
- package/dist/chat/agent/skills.d.ts +0 -1
- package/dist/chat/agent/tools.d.ts +0 -3
- package/dist/chat/agent-dispatch/types.d.ts +2 -2
- package/dist/chat/capabilities/jr-rpc-command.d.ts +2 -2
- package/dist/chat/configuration/service.d.ts +5 -2
- package/dist/chat/configuration/sql.d.ts +9 -0
- package/dist/chat/configuration/types.d.ts +17 -13
- package/dist/chat/conversations/history.d.ts +3 -0
- package/dist/chat/conversations/message-search.d.ts +32 -0
- package/dist/chat/conversations/projection.d.ts +10 -0
- package/dist/chat/conversations/sql/message-search.d.ts +4 -0
- package/dist/chat/conversations/tool-source.d.ts +5 -0
- package/dist/chat/credentials/unlink-provider.d.ts +2 -1
- package/dist/chat/credentials/user-token-store.d.ts +2 -0
- package/dist/chat/db.d.ts +2 -2
- package/dist/chat/event-tasks/tool-support.d.ts +2 -0
- package/dist/chat/identities/sql.d.ts +8 -0
- package/dist/chat/logging.d.ts +2 -0
- package/dist/chat/mcp/auth-store.d.ts +0 -2
- package/dist/chat/mcp/oauth.d.ts +0 -2
- package/dist/chat/oauth-flow.d.ts +3 -1
- package/dist/chat/pi/client.d.ts +2 -0
- package/dist/chat/plugins/credential-hooks.d.ts +2 -0
- package/dist/chat/prompt.d.ts +0 -2
- package/dist/chat/resource-events/notification.d.ts +2 -1
- package/dist/chat/runtime/delivered-turn-state.d.ts +1 -4
- package/dist/chat/runtime/thread-state.d.ts +8 -11
- package/dist/chat/runtime/turn-input.d.ts +4 -2
- package/dist/chat/runtime/turn-preparation.d.ts +2 -4
- package/dist/chat/sandbox/command-result.d.ts +2 -0
- package/dist/chat/sandbox/egress/schemas.d.ts +6 -0
- package/dist/chat/scheduled-tasks/tool-support.d.ts +2 -0
- package/dist/chat/scheduled-tasks/tools/create.d.ts +2 -0
- package/dist/chat/scheduled-tasks/tools/delete.d.ts +2 -0
- package/dist/chat/scheduled-tasks/tools/list.d.ts +2 -0
- package/dist/chat/scheduled-tasks/tools/run-now.d.ts +2 -0
- package/dist/chat/scheduled-tasks/tools/update.d.ts +2 -0
- package/dist/chat/services/mcp-auth-orchestration.d.ts +0 -3
- package/dist/chat/services/plugin-auth-orchestration.d.ts +2 -1
- package/dist/chat/services/provider-default-config.d.ts +2 -2
- package/dist/chat/services/subscribed-decision.d.ts +3 -0
- package/dist/chat/services/subscribed-reply-policy.d.ts +1 -0
- package/dist/chat/services/turn-result.d.ts +0 -3
- package/dist/chat/services/turn-router.d.ts +3 -0
- package/dist/chat/slack/assistant-thread/lifecycle.d.ts +0 -1
- package/dist/chat/slack/assistant-thread/title.d.ts +0 -3
- package/dist/chat/slack/dispatch-turn.d.ts +1 -1
- package/dist/chat/slack/message/attachments.d.ts +2 -0
- package/dist/chat/slack/message/blocks.d.ts +2 -0
- package/dist/chat/slack/message/content.d.ts +18 -0
- package/dist/chat/slack/message/identity.d.ts +7 -0
- package/dist/chat/slack/tools/canvas/context.d.ts +0 -10
- package/dist/chat/slack/tools/canvas/create.d.ts +2 -0
- package/dist/chat/slack/tools/canvas/edit.d.ts +2 -0
- package/dist/chat/slack/tools/canvas/read.d.ts +2 -0
- package/dist/chat/slack/tools/canvas/write.d.ts +2 -0
- package/dist/chat/slack/tools/channel-list-messages.d.ts +2 -0
- package/dist/chat/slack/tools/{conversation-search.d.ts → conversation-message-search.d.ts} +23 -14
- package/dist/chat/slack/tools/list/add-items.d.ts +4 -1
- package/dist/chat/slack/tools/list/api.d.ts +8 -1
- package/dist/chat/slack/tools/list/create.d.ts +2 -0
- package/dist/chat/slack/tools/list/get-items.d.ts +5 -3
- package/dist/chat/slack/tools/list/update-item.d.ts +5 -1
- package/dist/chat/slack/tools/message-add-reaction.d.ts +2 -0
- package/dist/chat/slack/tools/public-search.d.ts +2 -0
- package/dist/chat/slack/tools/send-files.d.ts +2 -0
- package/dist/chat/slack/tools/thread-read.d.ts +2 -0
- package/dist/chat/slack/vision-cache.d.ts +5 -0
- package/dist/chat/state/conversation.d.ts +4 -5
- package/dist/chat/task-execution/checkpoint.d.ts +1 -3
- package/dist/chat/task-execution/turn-cursor.d.ts +0 -9
- package/dist/chat/tool-support/structured-result.d.ts +1 -0
- package/dist/chat/tool-support/timed-out-tool-result.d.ts +11 -0
- package/dist/chat/tools/create-event-task.d.ts +2 -0
- package/dist/chat/tools/delete-event-task.d.ts +2 -0
- package/dist/chat/tools/handoff/tool.d.ts +2 -0
- package/dist/chat/tools/list-event-tasks.d.ts +2 -0
- package/dist/chat/tools/list-resource-event-subscriptions.d.ts +2 -0
- package/dist/chat/tools/runtime/report-progress.d.ts +2 -0
- package/dist/chat/tools/runtime/spawn-agent.d.ts +2 -0
- package/dist/chat/tools/{query-conversation-events.d.ts → search-conversation-events.d.ts} +5 -3
- package/dist/chat/tools/search-resource-event-types.d.ts +2 -0
- package/dist/chat/tools/search-tools.d.ts +2 -0
- package/dist/chat/tools/skill/load-skill.d.ts +2 -0
- package/dist/chat/tools/skill/search-mcp-tools.d.ts +2 -0
- package/dist/chat/tools/stop-watching-resources.d.ts +2 -0
- package/dist/chat/tools/system-time.d.ts +2 -0
- package/dist/chat/tools/types.d.ts +0 -6
- package/dist/chat/tools/update-event-task.d.ts +2 -0
- package/dist/chat/tools/user-lookup.d.ts +29 -0
- package/dist/chat/tools/watch-resource-events.d.ts +2 -0
- package/dist/chat/tools/web/fetch-tool.d.ts +2 -0
- package/dist/chat/tools/web/image-generate.d.ts +2 -0
- package/dist/chat/tools/web/search.d.ts +2 -0
- package/dist/{chunk-PJ4NMVQB.js → chunk-34GS7B6L.js} +2 -2
- package/dist/{chunk-2LWPFSB4.js → chunk-4LJO56OJ.js} +9 -1
- package/dist/{chunk-QJBDABQA.js → chunk-6H5SZR24.js} +16 -20
- package/dist/{chunk-LVVSIMBB.js → chunk-745QJ3ZA.js} +1 -1
- package/dist/{chunk-64SBYW2O.js → chunk-7A4M7PCV.js} +613 -561
- package/dist/{chunk-XFKIRN3Q.js → chunk-7NVJVJID.js} +4 -3
- package/dist/{chunk-FUBRJA5F.js → chunk-7UQIVT6G.js} +13 -6
- package/dist/{chunk-ZIAMN2UW.js → chunk-AIOK6LAG.js} +40 -513
- package/dist/{chunk-EIX2LQ6L.js → chunk-AVOCH2Z5.js} +3 -3
- package/dist/{chunk-GUWLDMGF.js → chunk-AVZDSUFB.js} +4 -4
- package/dist/{chunk-2XET6PKP.js → chunk-AYU72WO7.js} +102 -73
- package/dist/chunk-AZ7EAOBE.js +566 -0
- package/dist/{chunk-DXEQAIUV.js → chunk-CSZINQJ2.js} +1 -1
- package/dist/{chunk-HLOUZC5C.js → chunk-CWP5RHVX.js} +4 -4
- package/dist/{chunk-DS3J6WGY.js → chunk-DLDRQHG5.js} +1 -1
- package/dist/{chunk-27TEJTZO.js → chunk-DU74WPIC.js} +55 -37
- package/dist/{chunk-YD54Q45G.js → chunk-EFLJ2WJH.js} +6 -4
- package/dist/{chunk-CD2XFGYQ.js → chunk-GGB4WL5A.js} +1 -1
- package/dist/{chunk-GDV5LXRA.js → chunk-IIOOO4FQ.js} +1 -1
- package/dist/{chunk-SIN3MXH6.js → chunk-JUUKWRBE.js} +1 -1
- package/dist/{chunk-VTDMB7XX.js → chunk-K4SZAP3K.js} +1 -1
- package/dist/{chunk-QUG4JSZK.js → chunk-ORO3PWKQ.js} +1 -1
- package/dist/{chunk-RUSS62EN.js → chunk-PVNG6UMU.js} +3 -3
- package/dist/{chunk-I47UGQPJ.js → chunk-Q4R73I43.js} +365 -206
- package/dist/{chunk-JTGS3ZZE.js → chunk-RXBVB2JM.js} +1 -1
- package/dist/{chunk-TZRXYWRE.js → chunk-SGZO7UWH.js} +2 -2
- package/dist/{chunk-JLMVCNXL.js → chunk-SVHUEHUL.js} +1 -0
- package/dist/{chunk-B46ZMVOV.js → chunk-X5UY34KT.js} +6 -5
- package/dist/{chunk-5PNPQYTO.js → chunk-YBVXBNSV.js} +2 -2
- package/dist/{chunk-HISR3DTV.js → chunk-YEO3VX72.js} +10 -25
- package/dist/{chunk-ZIMRGFYL.js → chunk-YHDERDRO.js} +7 -6
- package/dist/{chunk-WF5HVH3M.js → chunk-YNTTROJT.js} +1 -1
- package/dist/{chunk-2UH3JI64.js → chunk-YSB2N563.js} +87 -34
- package/dist/{chunk-ZYAJMESY.js → chunk-Z4YU7Z4L.js} +3 -2
- package/dist/cli/chat.js +32 -32
- package/dist/cli/check.js +6 -6
- package/dist/cli/plugins.js +13 -13
- package/dist/cli/snapshot-create.js +9 -9
- package/dist/cli/upgrade.js +7 -7
- package/dist/db/schema/location-configurations.d.ts +127 -0
- package/dist/db/schema.d.ts +128 -1
- package/dist/{db-62PW6LM3.js → db-CSEW4RII.js} +9 -9
- package/dist/instrumentation.js +4 -4
- package/dist/nitro.js +2 -2
- package/dist/{oauth-callback-server-6NZNHJAM.js → oauth-callback-server-FUEV5HNG.js} +24 -24
- package/dist/{runner-GCRPG3GQ.js → runner-U3XHSKSH.js} +21 -41
- package/dist/{skills-2S3MDFIQ.js → skills-AKE6W3WI.js} +6 -6
- package/dist/spawn-B6GDTWJ4.js +39 -0
- package/dist/{validation-HAOLCJ5A.js → validation-WDTAULUF.js} +6 -6
- package/dist/version.js +1 -1
- package/dist/{work-R4XYKMUW.js → work-C3HAO2BG.js} +17 -17
- package/dist/{worker-U2UCVR7M.js → worker-LNP4YKBM.js} +10 -10
- package/migrations/0024_misty_typhoid_mary.sql +12 -0
- package/migrations/meta/0024_snapshot.json +2275 -0
- package/migrations/meta/_journal.json +7 -0
- package/package.json +4 -4
- package/dist/chat/conversations/search.d.ts +0 -24
- package/dist/chat/conversations/sql/search.d.ts +0 -4
- package/dist/chat/slack/legacy-attachments.d.ts +0 -4
- package/dist/chat/slack/message.d.ts +0 -12
- package/dist/chat/slack/tools/user-lookup.d.ts +0 -26
- package/dist/chat/state/artifacts.d.ts +0 -30
- package/dist/chat/tool-support/turn-deadline-result.d.ts +0 -3
- package/dist/chunk-Q6QZTTLS.js +0 -55
- package/dist/spawn-7WK37BTD.js +0 -39
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create,
|
|
3
3
|
resolve
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-AVZDSUFB.js";
|
|
5
5
|
import "../chunk-EM225ITJ.js";
|
|
6
6
|
import {
|
|
7
7
|
disconnectStateAdapter
|
|
8
|
-
} from "../chunk-
|
|
9
|
-
import "../chunk-
|
|
10
|
-
import "../chunk-
|
|
8
|
+
} from "../chunk-ORO3PWKQ.js";
|
|
9
|
+
import "../chunk-7NVJVJID.js";
|
|
10
|
+
import "../chunk-RXBVB2JM.js";
|
|
11
11
|
import {
|
|
12
12
|
pluginCatalogRuntime
|
|
13
|
-
} from "../chunk-
|
|
14
|
-
import "../chunk-
|
|
13
|
+
} from "../chunk-JUUKWRBE.js";
|
|
14
|
+
import "../chunk-GGB4WL5A.js";
|
|
15
15
|
import "../chunk-RUIXF3YQ.js";
|
|
16
16
|
import "../chunk-HZF5P5UN.js";
|
|
17
17
|
import "../chunk-F3B2YJ76.js";
|
|
18
|
-
import "../chunk-
|
|
18
|
+
import "../chunk-4LJO56OJ.js";
|
|
19
19
|
import "../chunk-6GWA276C.js";
|
|
20
20
|
import "../chunk-OOUNJNMR.js";
|
|
21
21
|
import "../chunk-H4HBKISO.js";
|
|
22
|
-
import "../chunk-
|
|
23
|
-
import "../chunk-
|
|
22
|
+
import "../chunk-DLDRQHG5.js";
|
|
23
|
+
import "../chunk-IIOOO4FQ.js";
|
|
24
24
|
import "../chunk-MLKGABMK.js";
|
|
25
25
|
|
|
26
26
|
// src/cli/snapshot-create.ts
|
package/dist/cli/upgrade.js
CHANGED
|
@@ -8,24 +8,24 @@ import {
|
|
|
8
8
|
} from "../chunk-Y2CM7HXH.js";
|
|
9
9
|
import {
|
|
10
10
|
createJuniorSqlExecutor
|
|
11
|
-
} from "../chunk-
|
|
11
|
+
} from "../chunk-DU74WPIC.js";
|
|
12
12
|
import {
|
|
13
13
|
getChatConfig
|
|
14
|
-
} from "../chunk-
|
|
14
|
+
} from "../chunk-7NVJVJID.js";
|
|
15
15
|
import "../chunk-VFUK3X5B.js";
|
|
16
|
-
import "../chunk-
|
|
16
|
+
import "../chunk-RXBVB2JM.js";
|
|
17
17
|
import {
|
|
18
18
|
createPluginCatalogRuntime
|
|
19
|
-
} from "../chunk-
|
|
19
|
+
} from "../chunk-GGB4WL5A.js";
|
|
20
20
|
import "../chunk-RUIXF3YQ.js";
|
|
21
21
|
import "../chunk-HZF5P5UN.js";
|
|
22
22
|
import "../chunk-F3B2YJ76.js";
|
|
23
|
-
import "../chunk-
|
|
23
|
+
import "../chunk-4LJO56OJ.js";
|
|
24
24
|
import "../chunk-6GWA276C.js";
|
|
25
25
|
import "../chunk-OOUNJNMR.js";
|
|
26
26
|
import "../chunk-H4HBKISO.js";
|
|
27
|
-
import "../chunk-
|
|
28
|
-
import "../chunk-
|
|
27
|
+
import "../chunk-DLDRQHG5.js";
|
|
28
|
+
import "../chunk-IIOOO4FQ.js";
|
|
29
29
|
import "../chunk-MLKGABMK.js";
|
|
30
30
|
|
|
31
31
|
// src/chat/conversations/sql/migrations.ts
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
/** Durable user configuration entries scoped to provider Locations. */
|
|
2
|
+
export declare const juniorLocationConfigurations: import("drizzle-orm/pg-core").PgTableWithColumns<{
|
|
3
|
+
name: "junior_location_configurations";
|
|
4
|
+
schema: undefined;
|
|
5
|
+
columns: {
|
|
6
|
+
locationId: import("drizzle-orm/pg-core").PgColumn<{
|
|
7
|
+
name: "location_id";
|
|
8
|
+
tableName: "junior_location_configurations";
|
|
9
|
+
dataType: "string";
|
|
10
|
+
columnType: "PgText";
|
|
11
|
+
data: string;
|
|
12
|
+
driverParam: string;
|
|
13
|
+
notNull: true;
|
|
14
|
+
hasDefault: false;
|
|
15
|
+
isPrimaryKey: false;
|
|
16
|
+
isAutoincrement: false;
|
|
17
|
+
hasRuntimeDefault: false;
|
|
18
|
+
enumValues: [string, ...string[]];
|
|
19
|
+
baseColumn: never;
|
|
20
|
+
identity: undefined;
|
|
21
|
+
generated: undefined;
|
|
22
|
+
}, {}, {}>;
|
|
23
|
+
key: import("drizzle-orm/pg-core").PgColumn<{
|
|
24
|
+
name: "key";
|
|
25
|
+
tableName: "junior_location_configurations";
|
|
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
|
+
value: import("drizzle-orm/pg-core").PgColumn<{
|
|
41
|
+
name: "value";
|
|
42
|
+
tableName: "junior_location_configurations";
|
|
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
|
+
updatedAt: import("drizzle-orm/pg-core").PgColumn<{
|
|
58
|
+
name: string;
|
|
59
|
+
tableName: "junior_location_configurations";
|
|
60
|
+
dataType: "date";
|
|
61
|
+
columnType: "PgTimestamp";
|
|
62
|
+
data: Date;
|
|
63
|
+
driverParam: string;
|
|
64
|
+
notNull: true;
|
|
65
|
+
hasDefault: false;
|
|
66
|
+
isPrimaryKey: false;
|
|
67
|
+
isAutoincrement: false;
|
|
68
|
+
hasRuntimeDefault: false;
|
|
69
|
+
enumValues: undefined;
|
|
70
|
+
baseColumn: never;
|
|
71
|
+
identity: undefined;
|
|
72
|
+
generated: undefined;
|
|
73
|
+
}, {}, {}>;
|
|
74
|
+
updatedBy: import("drizzle-orm/pg-core").PgColumn<{
|
|
75
|
+
name: "updated_by";
|
|
76
|
+
tableName: "junior_location_configurations";
|
|
77
|
+
dataType: "string";
|
|
78
|
+
columnType: "PgText";
|
|
79
|
+
data: string;
|
|
80
|
+
driverParam: string;
|
|
81
|
+
notNull: false;
|
|
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
|
+
source: import("drizzle-orm/pg-core").PgColumn<{
|
|
92
|
+
name: "source";
|
|
93
|
+
tableName: "junior_location_configurations";
|
|
94
|
+
dataType: "string";
|
|
95
|
+
columnType: "PgText";
|
|
96
|
+
data: string;
|
|
97
|
+
driverParam: string;
|
|
98
|
+
notNull: false;
|
|
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
|
+
expiresAt: import("drizzle-orm/pg-core").PgColumn<{
|
|
109
|
+
name: "expires_at";
|
|
110
|
+
tableName: "junior_location_configurations";
|
|
111
|
+
dataType: "string";
|
|
112
|
+
columnType: "PgText";
|
|
113
|
+
data: string;
|
|
114
|
+
driverParam: string;
|
|
115
|
+
notNull: false;
|
|
116
|
+
hasDefault: false;
|
|
117
|
+
isPrimaryKey: false;
|
|
118
|
+
isAutoincrement: false;
|
|
119
|
+
hasRuntimeDefault: false;
|
|
120
|
+
enumValues: [string, ...string[]];
|
|
121
|
+
baseColumn: never;
|
|
122
|
+
identity: undefined;
|
|
123
|
+
generated: undefined;
|
|
124
|
+
}, {}, {}>;
|
|
125
|
+
};
|
|
126
|
+
dialect: "pg";
|
|
127
|
+
}>;
|
package/dist/db/schema.d.ts
CHANGED
|
@@ -4,6 +4,7 @@ import { juniorConversationEvents } from "./schema/conversation-events";
|
|
|
4
4
|
import { juniorConversationBindings } from "./schema/conversation-bindings";
|
|
5
5
|
import { juniorConversations } from "./schema/conversations";
|
|
6
6
|
import { juniorAgentBindings, juniorAgentInvocations } from "./schema/agent-invocations";
|
|
7
|
+
import { juniorLocationConfigurations } from "./schema/location-configurations";
|
|
7
8
|
import { juniorDestinations } from "./schema/destinations";
|
|
8
9
|
import { juniorEventTasks } from "./schema/event-tasks";
|
|
9
10
|
import { juniorIdentities } from "./schema/identities";
|
|
@@ -11,7 +12,7 @@ import { juniorStats } from "./schema/stats";
|
|
|
11
12
|
import { juniorTaskExecutions } from "./schema/task-executions";
|
|
12
13
|
import { juniorSchedulerRuns, juniorSchedulerTasks } from "./schema/scheduled-tasks";
|
|
13
14
|
import { juniorUsers } from "./schema/users";
|
|
14
|
-
export { juniorConversationAnnotations, juniorApiTokens, juniorAgentBindings, juniorAgentInvocations, juniorConversationEvents, juniorConversationBindings, juniorConversations, juniorDestinations, juniorEventTasks, juniorIdentities, juniorStats, juniorTaskExecutions, juniorSchedulerRuns, juniorSchedulerTasks, juniorUsers, };
|
|
15
|
+
export { juniorConversationAnnotations, juniorApiTokens, juniorAgentBindings, juniorAgentInvocations, juniorConversationEvents, juniorConversationBindings, juniorConversations, juniorLocationConfigurations, juniorDestinations, juniorEventTasks, juniorIdentities, juniorStats, juniorTaskExecutions, juniorSchedulerRuns, juniorSchedulerTasks, juniorUsers, };
|
|
15
16
|
export declare const juniorSqlSchema: {
|
|
16
17
|
juniorConversationAnnotations: import("drizzle-orm/pg-core").PgTableWithColumns<{
|
|
17
18
|
name: "junior_conversation_annotations";
|
|
@@ -1759,6 +1760,132 @@ export declare const juniorSqlSchema: {
|
|
|
1759
1760
|
};
|
|
1760
1761
|
dialect: "pg";
|
|
1761
1762
|
}>;
|
|
1763
|
+
juniorLocationConfigurations: import("drizzle-orm/pg-core").PgTableWithColumns<{
|
|
1764
|
+
name: "junior_location_configurations";
|
|
1765
|
+
schema: undefined;
|
|
1766
|
+
columns: {
|
|
1767
|
+
locationId: import("drizzle-orm/pg-core").PgColumn<{
|
|
1768
|
+
name: "location_id";
|
|
1769
|
+
tableName: "junior_location_configurations";
|
|
1770
|
+
dataType: "string";
|
|
1771
|
+
columnType: "PgText";
|
|
1772
|
+
data: string;
|
|
1773
|
+
driverParam: string;
|
|
1774
|
+
notNull: true;
|
|
1775
|
+
hasDefault: false;
|
|
1776
|
+
isPrimaryKey: false;
|
|
1777
|
+
isAutoincrement: false;
|
|
1778
|
+
hasRuntimeDefault: false;
|
|
1779
|
+
enumValues: [string, ...string[]];
|
|
1780
|
+
baseColumn: never;
|
|
1781
|
+
identity: undefined;
|
|
1782
|
+
generated: undefined;
|
|
1783
|
+
}, {}, {}>;
|
|
1784
|
+
key: import("drizzle-orm/pg-core").PgColumn<{
|
|
1785
|
+
name: "key";
|
|
1786
|
+
tableName: "junior_location_configurations";
|
|
1787
|
+
dataType: "string";
|
|
1788
|
+
columnType: "PgText";
|
|
1789
|
+
data: string;
|
|
1790
|
+
driverParam: string;
|
|
1791
|
+
notNull: true;
|
|
1792
|
+
hasDefault: false;
|
|
1793
|
+
isPrimaryKey: false;
|
|
1794
|
+
isAutoincrement: false;
|
|
1795
|
+
hasRuntimeDefault: false;
|
|
1796
|
+
enumValues: [string, ...string[]];
|
|
1797
|
+
baseColumn: never;
|
|
1798
|
+
identity: undefined;
|
|
1799
|
+
generated: undefined;
|
|
1800
|
+
}, {}, {}>;
|
|
1801
|
+
value: import("drizzle-orm/pg-core").PgColumn<{
|
|
1802
|
+
name: "value";
|
|
1803
|
+
tableName: "junior_location_configurations";
|
|
1804
|
+
dataType: "string";
|
|
1805
|
+
columnType: "PgText";
|
|
1806
|
+
data: string;
|
|
1807
|
+
driverParam: string;
|
|
1808
|
+
notNull: true;
|
|
1809
|
+
hasDefault: false;
|
|
1810
|
+
isPrimaryKey: false;
|
|
1811
|
+
isAutoincrement: false;
|
|
1812
|
+
hasRuntimeDefault: false;
|
|
1813
|
+
enumValues: [string, ...string[]];
|
|
1814
|
+
baseColumn: never;
|
|
1815
|
+
identity: undefined;
|
|
1816
|
+
generated: undefined;
|
|
1817
|
+
}, {}, {}>;
|
|
1818
|
+
updatedAt: import("drizzle-orm/pg-core").PgColumn<{
|
|
1819
|
+
name: string;
|
|
1820
|
+
tableName: "junior_location_configurations";
|
|
1821
|
+
dataType: "date";
|
|
1822
|
+
columnType: "PgTimestamp";
|
|
1823
|
+
data: Date;
|
|
1824
|
+
driverParam: string;
|
|
1825
|
+
notNull: true;
|
|
1826
|
+
hasDefault: false;
|
|
1827
|
+
isPrimaryKey: false;
|
|
1828
|
+
isAutoincrement: false;
|
|
1829
|
+
hasRuntimeDefault: false;
|
|
1830
|
+
enumValues: undefined;
|
|
1831
|
+
baseColumn: never;
|
|
1832
|
+
identity: undefined;
|
|
1833
|
+
generated: undefined;
|
|
1834
|
+
}, {}, {}>;
|
|
1835
|
+
updatedBy: import("drizzle-orm/pg-core").PgColumn<{
|
|
1836
|
+
name: "updated_by";
|
|
1837
|
+
tableName: "junior_location_configurations";
|
|
1838
|
+
dataType: "string";
|
|
1839
|
+
columnType: "PgText";
|
|
1840
|
+
data: string;
|
|
1841
|
+
driverParam: string;
|
|
1842
|
+
notNull: false;
|
|
1843
|
+
hasDefault: false;
|
|
1844
|
+
isPrimaryKey: false;
|
|
1845
|
+
isAutoincrement: false;
|
|
1846
|
+
hasRuntimeDefault: false;
|
|
1847
|
+
enumValues: [string, ...string[]];
|
|
1848
|
+
baseColumn: never;
|
|
1849
|
+
identity: undefined;
|
|
1850
|
+
generated: undefined;
|
|
1851
|
+
}, {}, {}>;
|
|
1852
|
+
source: import("drizzle-orm/pg-core").PgColumn<{
|
|
1853
|
+
name: "source";
|
|
1854
|
+
tableName: "junior_location_configurations";
|
|
1855
|
+
dataType: "string";
|
|
1856
|
+
columnType: "PgText";
|
|
1857
|
+
data: string;
|
|
1858
|
+
driverParam: string;
|
|
1859
|
+
notNull: false;
|
|
1860
|
+
hasDefault: false;
|
|
1861
|
+
isPrimaryKey: false;
|
|
1862
|
+
isAutoincrement: false;
|
|
1863
|
+
hasRuntimeDefault: false;
|
|
1864
|
+
enumValues: [string, ...string[]];
|
|
1865
|
+
baseColumn: never;
|
|
1866
|
+
identity: undefined;
|
|
1867
|
+
generated: undefined;
|
|
1868
|
+
}, {}, {}>;
|
|
1869
|
+
expiresAt: import("drizzle-orm/pg-core").PgColumn<{
|
|
1870
|
+
name: "expires_at";
|
|
1871
|
+
tableName: "junior_location_configurations";
|
|
1872
|
+
dataType: "string";
|
|
1873
|
+
columnType: "PgText";
|
|
1874
|
+
data: string;
|
|
1875
|
+
driverParam: string;
|
|
1876
|
+
notNull: false;
|
|
1877
|
+
hasDefault: false;
|
|
1878
|
+
isPrimaryKey: false;
|
|
1879
|
+
isAutoincrement: false;
|
|
1880
|
+
hasRuntimeDefault: false;
|
|
1881
|
+
enumValues: [string, ...string[]];
|
|
1882
|
+
baseColumn: never;
|
|
1883
|
+
identity: undefined;
|
|
1884
|
+
generated: undefined;
|
|
1885
|
+
}, {}, {}>;
|
|
1886
|
+
};
|
|
1887
|
+
dialect: "pg";
|
|
1888
|
+
}>;
|
|
1762
1889
|
juniorDestinations: import("drizzle-orm/pg-core").PgTableWithColumns<{
|
|
1763
1890
|
name: "junior_destinations";
|
|
1764
1891
|
schema: undefined;
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
2
|
closeDb,
|
|
3
3
|
getConversationEventStore,
|
|
4
|
-
|
|
4
|
+
getConversationMessageSearchStore,
|
|
5
5
|
getConversationStore,
|
|
6
6
|
getDb,
|
|
7
7
|
getSqlExecutor
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
8
|
+
} from "./chunk-YSB2N563.js";
|
|
9
|
+
import "./chunk-DU74WPIC.js";
|
|
10
|
+
import "./chunk-7NVJVJID.js";
|
|
11
11
|
import "./chunk-VFUK3X5B.js";
|
|
12
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-RXBVB2JM.js";
|
|
13
13
|
import "./chunk-F3B2YJ76.js";
|
|
14
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-4LJO56OJ.js";
|
|
15
15
|
import "./chunk-6GWA276C.js";
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-DLDRQHG5.js";
|
|
17
|
+
import "./chunk-IIOOO4FQ.js";
|
|
18
18
|
import "./chunk-MLKGABMK.js";
|
|
19
19
|
export {
|
|
20
20
|
closeDb,
|
|
21
21
|
getConversationEventStore,
|
|
22
|
-
|
|
22
|
+
getConversationMessageSearchStore,
|
|
23
23
|
getConversationStore,
|
|
24
24
|
getDb,
|
|
25
25
|
getSqlExecutor
|
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-RXBVB2JM.js";
|
|
7
|
+
import "./chunk-4LJO56OJ.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-DLDRQHG5.js";
|
|
19
|
+
import "./chunk-IIOOO4FQ.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-DLDRQHG5.js";
|
|
31
|
+
import "./chunk-IIOOO4FQ.js";
|
|
32
32
|
import "./chunk-MLKGABMK.js";
|
|
33
33
|
|
|
34
34
|
// src/nitro.ts
|
|
@@ -2,49 +2,49 @@ import {
|
|
|
2
2
|
GET,
|
|
3
3
|
GET2,
|
|
4
4
|
syncLocalOAuthCredential
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-AYU72WO7.js";
|
|
6
6
|
import "./chunk-FA6POGLH.js";
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
7
|
+
import "./chunk-CWP5RHVX.js";
|
|
8
|
+
import "./chunk-6H5SZR24.js";
|
|
9
|
+
import "./chunk-AZ7EAOBE.js";
|
|
10
10
|
import "./chunk-4CODA7P5.js";
|
|
11
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-AVOCH2Z5.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-Q4R73I43.js";
|
|
18
18
|
import "./chunk-R776HKPK.js";
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
19
|
+
import "./chunk-7UQIVT6G.js";
|
|
20
|
+
import "./chunk-K4SZAP3K.js";
|
|
21
|
+
import "./chunk-AIOK6LAG.js";
|
|
22
22
|
import "./chunk-3Y47VMHV.js";
|
|
23
|
-
import "./chunk-
|
|
24
|
-
import "./chunk-
|
|
23
|
+
import "./chunk-CSZINQJ2.js";
|
|
24
|
+
import "./chunk-Z4YU7Z4L.js";
|
|
25
25
|
import "./chunk-HLXXQI5Q.js";
|
|
26
26
|
import "./chunk-PDO5BLNM.js";
|
|
27
|
-
import "./chunk-
|
|
28
|
-
import "./chunk-
|
|
29
|
-
import "./chunk-
|
|
30
|
-
import "./chunk-
|
|
27
|
+
import "./chunk-YHDERDRO.js";
|
|
28
|
+
import "./chunk-SGZO7UWH.js";
|
|
29
|
+
import "./chunk-YSB2N563.js";
|
|
30
|
+
import "./chunk-DU74WPIC.js";
|
|
31
31
|
import "./chunk-EM225ITJ.js";
|
|
32
|
-
import "./chunk-
|
|
33
|
-
import "./chunk-
|
|
32
|
+
import "./chunk-ORO3PWKQ.js";
|
|
33
|
+
import "./chunk-7NVJVJID.js";
|
|
34
34
|
import "./chunk-VFUK3X5B.js";
|
|
35
|
-
import "./chunk-
|
|
36
|
-
import "./chunk-
|
|
37
|
-
import "./chunk-
|
|
38
|
-
import "./chunk-
|
|
35
|
+
import "./chunk-RXBVB2JM.js";
|
|
36
|
+
import "./chunk-YBVXBNSV.js";
|
|
37
|
+
import "./chunk-JUUKWRBE.js";
|
|
38
|
+
import "./chunk-GGB4WL5A.js";
|
|
39
39
|
import "./chunk-RUIXF3YQ.js";
|
|
40
40
|
import "./chunk-HZF5P5UN.js";
|
|
41
41
|
import "./chunk-F3B2YJ76.js";
|
|
42
|
-
import "./chunk-
|
|
42
|
+
import "./chunk-4LJO56OJ.js";
|
|
43
43
|
import "./chunk-6GWA276C.js";
|
|
44
44
|
import "./chunk-OOUNJNMR.js";
|
|
45
45
|
import "./chunk-H4HBKISO.js";
|
|
46
|
-
import "./chunk-
|
|
47
|
-
import "./chunk-
|
|
46
|
+
import "./chunk-DLDRQHG5.js";
|
|
47
|
+
import "./chunk-IIOOO4FQ.js";
|
|
48
48
|
import "./chunk-MLKGABMK.js";
|
|
49
49
|
|
|
50
50
|
// src/chat/local/oauth-callback-server.ts
|
|
@@ -9,51 +9,50 @@ import {
|
|
|
9
9
|
recordDeliveredAssistantMessage,
|
|
10
10
|
scheduleSessionCompletedPluginTasks,
|
|
11
11
|
upsertConversationMessage
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-6H5SZR24.js";
|
|
13
13
|
import {
|
|
14
|
-
ConversationTurnLifecycleService
|
|
15
|
-
|
|
16
|
-
|
|
14
|
+
ConversationTurnLifecycleService,
|
|
15
|
+
coerceThreadConversationState,
|
|
16
|
+
getPersistedSandboxState,
|
|
17
|
+
getPersistedThreadState,
|
|
18
|
+
persistThreadStateById
|
|
19
|
+
} from "./chunk-AZ7EAOBE.js";
|
|
20
|
+
import "./chunk-AVOCH2Z5.js";
|
|
17
21
|
import "./chunk-5I6ORJUY.js";
|
|
18
22
|
import {
|
|
19
23
|
authorizationId
|
|
20
24
|
} from "./chunk-DIB4GX3G.js";
|
|
21
|
-
import "./chunk-
|
|
25
|
+
import "./chunk-K4SZAP3K.js";
|
|
22
26
|
import {
|
|
23
|
-
coerceThreadArtifactsState,
|
|
24
|
-
coerceThreadConversationState,
|
|
25
27
|
commitAcceptedReply,
|
|
26
28
|
getAssistantReplyText,
|
|
27
|
-
getPersistedSandboxState,
|
|
28
|
-
getPersistedThreadState,
|
|
29
29
|
hydrateConversationMessages,
|
|
30
30
|
loadProjection,
|
|
31
31
|
markTurnFailed,
|
|
32
32
|
persistConversationMessages,
|
|
33
|
-
persistThreadStateById,
|
|
34
33
|
persistWithRetry,
|
|
35
34
|
recordAuthorizationCompleted,
|
|
36
35
|
saveTurnCheckpoint,
|
|
37
36
|
startActiveTurn,
|
|
38
37
|
stripRuntimeTurnContext,
|
|
39
38
|
trimTrailingAssistantMessages
|
|
40
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-AIOK6LAG.js";
|
|
41
40
|
import "./chunk-3Y47VMHV.js";
|
|
42
|
-
import "./chunk-
|
|
41
|
+
import "./chunk-Z4YU7Z4L.js";
|
|
43
42
|
import "./chunk-HLXXQI5Q.js";
|
|
44
43
|
import "./chunk-PDO5BLNM.js";
|
|
45
|
-
import "./chunk-
|
|
46
|
-
import "./chunk-
|
|
44
|
+
import "./chunk-YHDERDRO.js";
|
|
45
|
+
import "./chunk-SGZO7UWH.js";
|
|
47
46
|
import {
|
|
48
47
|
getConversationEventStore,
|
|
49
48
|
getConversationStore
|
|
50
|
-
} from "./chunk-
|
|
51
|
-
import "./chunk-
|
|
49
|
+
} from "./chunk-YSB2N563.js";
|
|
50
|
+
import "./chunk-DU74WPIC.js";
|
|
52
51
|
import "./chunk-EM225ITJ.js";
|
|
53
|
-
import "./chunk-
|
|
54
|
-
import "./chunk-
|
|
52
|
+
import "./chunk-ORO3PWKQ.js";
|
|
53
|
+
import "./chunk-7NVJVJID.js";
|
|
55
54
|
import "./chunk-VFUK3X5B.js";
|
|
56
|
-
import "./chunk-
|
|
55
|
+
import "./chunk-RXBVB2JM.js";
|
|
57
56
|
import {
|
|
58
57
|
credentialContextForActor
|
|
59
58
|
} from "./chunk-RUIXF3YQ.js";
|
|
@@ -63,10 +62,10 @@ import {
|
|
|
63
62
|
logException,
|
|
64
63
|
setTags,
|
|
65
64
|
withLogContext
|
|
66
|
-
} from "./chunk-
|
|
65
|
+
} from "./chunk-4LJO56OJ.js";
|
|
67
66
|
import "./chunk-6GWA276C.js";
|
|
68
|
-
import "./chunk-
|
|
69
|
-
import "./chunk-
|
|
67
|
+
import "./chunk-DLDRQHG5.js";
|
|
68
|
+
import "./chunk-IIOOO4FQ.js";
|
|
70
69
|
import "./chunk-MLKGABMK.js";
|
|
71
70
|
|
|
72
71
|
// src/chat/local/runner.ts
|
|
@@ -156,9 +155,7 @@ async function runLocalAgentTurnInContext(input, deps) {
|
|
|
156
155
|
conversation,
|
|
157
156
|
conversationId: input.conversationId
|
|
158
157
|
});
|
|
159
|
-
let artifacts = coerceThreadArtifactsState(persisted);
|
|
160
158
|
let sandboxRef = getPersistedSandboxState(persisted);
|
|
161
|
-
const initialArtifacts = artifacts;
|
|
162
159
|
const initialSandboxRef = sandboxRef;
|
|
163
160
|
const turnId = localTurnId();
|
|
164
161
|
const userMessageId = `${turnId}:user`;
|
|
@@ -280,7 +277,6 @@ async function runLocalAgentTurnInContext(input, deps) {
|
|
|
280
277
|
sandboxEgressSignals: deps.sandboxEgressSignals
|
|
281
278
|
},
|
|
282
279
|
state: {
|
|
283
|
-
artifactState: artifacts,
|
|
284
280
|
pendingAuth: conversation.processing.pendingAuth,
|
|
285
281
|
sandboxRef
|
|
286
282
|
},
|
|
@@ -297,18 +293,9 @@ async function runLocalAgentTurnInContext(input, deps) {
|
|
|
297
293
|
},
|
|
298
294
|
delivery: deliverAssistantMessage,
|
|
299
295
|
durability: {
|
|
300
|
-
onArtifactStateUpdated: async (nextArtifacts) => {
|
|
301
|
-
artifacts = nextArtifacts;
|
|
302
|
-
await persistThreadStateById(input.conversationId, {
|
|
303
|
-
artifacts,
|
|
304
|
-
conversation,
|
|
305
|
-
sandboxRef
|
|
306
|
-
});
|
|
307
|
-
},
|
|
308
296
|
onSandboxRefChanged: async (nextSandboxRef) => {
|
|
309
297
|
sandboxRef = nextSandboxRef;
|
|
310
298
|
await persistThreadStateById(input.conversationId, {
|
|
311
|
-
artifacts,
|
|
312
299
|
conversation,
|
|
313
300
|
sandboxRef
|
|
314
301
|
});
|
|
@@ -316,7 +303,6 @@ async function runLocalAgentTurnInContext(input, deps) {
|
|
|
316
303
|
recordPendingAuth: async (pendingAuth) => {
|
|
317
304
|
conversation.processing.pendingAuth = pendingAuth;
|
|
318
305
|
await persistThreadStateById(input.conversationId, {
|
|
319
|
-
artifacts,
|
|
320
306
|
conversation,
|
|
321
307
|
sandboxRef
|
|
322
308
|
});
|
|
@@ -334,7 +320,6 @@ async function runLocalAgentTurnInContext(input, deps) {
|
|
|
334
320
|
}
|
|
335
321
|
completeAuthPauseTurn({ conversation, sessionId: turnId });
|
|
336
322
|
await persistThreadStateById(input.conversationId, {
|
|
337
|
-
artifacts,
|
|
338
323
|
conversation,
|
|
339
324
|
sandboxRef
|
|
340
325
|
});
|
|
@@ -372,7 +357,6 @@ async function runLocalAgentTurnInContext(input, deps) {
|
|
|
372
357
|
await deliverAssistantMessage(reply.text);
|
|
373
358
|
}
|
|
374
359
|
completedState = buildDeliveredTurnStatePatch({
|
|
375
|
-
artifacts,
|
|
376
360
|
conversation,
|
|
377
361
|
reply,
|
|
378
362
|
sessionId: turnId,
|
|
@@ -396,7 +380,6 @@ async function runLocalAgentTurnInContext(input, deps) {
|
|
|
396
380
|
markConversationMessage
|
|
397
381
|
});
|
|
398
382
|
await persistThreadStateById(input.conversationId, {
|
|
399
|
-
artifacts: initialArtifacts,
|
|
400
383
|
conversation,
|
|
401
384
|
sandboxRef: initialSandboxRef ?? null
|
|
402
385
|
});
|
|
@@ -432,7 +415,6 @@ async function runLocalAgentTurnInContext(input, deps) {
|
|
|
432
415
|
deps.authorization?.cancel();
|
|
433
416
|
try {
|
|
434
417
|
await persistThreadStateById(input.conversationId, {
|
|
435
|
-
artifacts: completedState.artifacts ?? artifacts,
|
|
436
418
|
conversation: completedState.conversation,
|
|
437
419
|
sandboxRef: reply.sandboxRef ?? sandboxRef
|
|
438
420
|
});
|
|
@@ -443,10 +425,8 @@ async function runLocalAgentTurnInContext(input, deps) {
|
|
|
443
425
|
turnId,
|
|
444
426
|
sliceId: completionSliceId,
|
|
445
427
|
messages: reply.piMessages,
|
|
446
|
-
modelId: reply.diagnostics.modelId,
|
|
447
428
|
durationMs: reply.diagnostics.durationMs,
|
|
448
429
|
usage: reply.diagnostics.usage,
|
|
449
|
-
reasoningLevel: reply.diagnostics.reasoningLevel,
|
|
450
430
|
destination,
|
|
451
431
|
source,
|
|
452
432
|
actor: localActor,
|