@sentry/junior 0.146.0 → 0.148.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-SLJADYE5.js → agent-hooks-VAUYT6PD.js} +10 -10
- package/dist/api/conversations/access.d.ts +2 -1
- package/dist/api/conversations/archive.d.ts +3 -5
- package/dist/api/conversations/create.d.ts +6 -0
- package/dist/api/conversations/detail.d.ts +2 -295
- package/dist/api/conversations/event-list.d.ts +2 -192
- package/dist/api/conversations/list.d.ts +4 -66
- package/dist/api/conversations/routes.d.ts +1 -1
- package/dist/api/conversations/stats.d.ts +0 -54
- package/dist/api/http.d.ts +2 -6
- package/dist/api/locations/detail.d.ts +3 -111
- package/dist/api/locations/list.d.ts +0 -45
- package/dist/api/locations/query.d.ts +2 -1
- package/dist/api/locations/routes.d.ts +1 -1
- package/dist/api/people/list.d.ts +0 -29
- package/dist/api/people/profile.d.ts +2 -106
- package/dist/api/people/profile.query.d.ts +2 -1
- package/dist/api/people/routes.d.ts +1 -1
- package/dist/api/people/shared.d.ts +1 -1
- package/dist/api/people/spend.d.ts +3 -4
- package/dist/api/personal-tokens/routes.d.ts +2 -2
- package/dist/api/route.d.ts +8 -14
- package/dist/api/schema/conversation.d.ts +64 -29
- package/dist/api/schema/location.d.ts +4 -0
- package/dist/api/schema/person.d.ts +7 -3
- package/dist/api/schema.d.ts +2 -2
- package/dist/api/schema.js +7 -1
- package/dist/api/stats.d.ts +0 -13
- package/dist/api/validation.d.ts +7 -0
- package/dist/api/viewer.d.ts +3 -0
- package/dist/api.d.ts +2 -1
- package/dist/api.js +630 -564
- package/dist/app.js +369 -309
- package/dist/{catalog-runtime-RQIMSDPR.js → catalog-runtime-WADOZVTB.js} +5 -5
- package/dist/chat/actor.d.ts +4 -1
- package/dist/chat/agent/prompt.d.ts +0 -2
- package/dist/chat/agent/request.d.ts +4 -5
- package/dist/chat/agent/resume.d.ts +1 -0
- package/dist/chat/agent/sandbox.d.ts +2 -2
- package/dist/chat/agent/tools.d.ts +0 -2
- package/dist/chat/agent-dispatch/context.d.ts +2 -2
- package/dist/chat/agent-dispatch/types.d.ts +2 -2
- package/dist/chat/agent-invocations/types.d.ts +52 -0
- package/dist/chat/api-turns/work.d.ts +103 -0
- 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 +63 -0
- package/dist/chat/conversations/projection.d.ts +10 -0
- package/dist/chat/conversations/provenance.d.ts +6 -0
- package/dist/chat/conversations/sql/actor-identity.d.ts +19 -0
- package/dist/chat/conversations/store.d.ts +1 -1
- package/dist/chat/credentials/unlink-provider.d.ts +2 -1
- package/dist/chat/credentials/user-token-store.d.ts +2 -0
- 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/resource-events/store.d.ts +1 -1
- package/dist/chat/runtime/delivered-turn-state.d.ts +1 -4
- package/dist/chat/runtime/reply-executor.d.ts +1 -1
- package/dist/chat/runtime/slack-runtime.d.ts +2 -1
- 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 +11 -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 +7 -5
- package/dist/chat/scheduled-tasks/tools/create.d.ts +4 -2
- package/dist/chat/scheduled-tasks/tools/delete.d.ts +4 -2
- package/dist/chat/scheduled-tasks/tools/list.d.ts +4 -2
- package/dist/chat/scheduled-tasks/tools/run-now.d.ts +4 -2
- package/dist/chat/scheduled-tasks/tools/update.d.ts +4 -2
- 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/channel.d.ts +26 -0
- package/dist/chat/slack/dispatch-turn.d.ts +2 -1
- package/dist/chat/slack/timestamp-param.d.ts +0 -2
- package/dist/chat/slack/{tools → tool-support}/canvas/api.d.ts +1 -1
- package/dist/chat/slack/tool-support/canvas/context.d.ts +11 -0
- package/dist/chat/slack/tool-support/channel-access.d.ts +42 -0
- package/dist/chat/slack/tool-support/channel-target.d.ts +27 -0
- package/dist/chat/slack/{tools → tool-support}/list/api.d.ts +8 -1
- package/dist/chat/slack/tool-support/list/params.d.ts +5 -0
- package/dist/chat/slack/tools/canvas/create.d.ts +3 -1
- 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/{user-lookup.d.ts → channel-join.d.ts} +6 -5
- package/dist/chat/slack/tools/channel-list-messages.d.ts +5 -2
- package/dist/chat/slack/tools/conversation-message-search.d.ts +4 -8
- package/dist/chat/slack/tools/list/add-items.d.ts +4 -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 +3 -1
- package/dist/chat/slack/tools/public-search.d.ts +65 -2
- package/dist/chat/slack/tools/send-files.d.ts +3 -1
- package/dist/chat/slack/tools/thread-read.d.ts +4 -5
- package/dist/chat/slack/vision-cache.d.ts +5 -0
- package/dist/chat/source.d.ts +2 -0
- package/dist/chat/state/conversation.d.ts +4 -5
- package/dist/chat/task-execution/checkpoint.d.ts +1 -0
- package/dist/chat/task-execution/state.d.ts +9 -4
- package/dist/chat/task-execution/store.d.ts +3 -2
- package/dist/chat/task-execution/turn-cursor.d.ts +2 -0
- package/dist/chat/task-execution/worker.d.ts +2 -0
- package/dist/chat/tasks/read.d.ts +1 -1
- 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/search-conversation-events.d.ts +3 -1
- 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 +11 -10
- 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 +4 -2
- 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-GYEKOX7N.js → chunk-2B3PT3V2.js} +1 -1
- package/dist/{chunk-JLMVCNXL.js → chunk-45LOR4PU.js} +22 -4
- package/dist/{chunk-FGHADGIC.js → chunk-4AQZYNHM.js} +2 -2
- package/dist/{chunk-W65V465O.js → chunk-4EA2SFK2.js} +66 -4
- package/dist/{chunk-MKRIZ4VG.js → chunk-4GXJUYJV.js} +4 -2
- package/dist/{chunk-F7REGDKO.js → chunk-55F4QU2V.js} +2 -1
- package/dist/{chunk-M6ZWP4RI.js → chunk-7OEIXFC3.js} +2 -2
- package/dist/{chunk-MCFIXAV5.js → chunk-D3WPMGEX.js} +55 -37
- package/dist/{chunk-AISNSNDV.js → chunk-D6YX4NNN.js} +22 -10
- package/dist/chunk-DUY5CDAM.js +36 -0
- package/dist/{chunk-B63BF443.js → chunk-EAI67NTM.js} +9 -1
- package/dist/{chunk-FEKQHPVA.js → chunk-EINWQFXI.js} +9 -8
- package/dist/chunk-GDFF3BQG.js +136 -0
- package/dist/{chunk-X22KCSCO.js → chunk-GXYDVZKM.js} +7 -5
- package/dist/{chunk-X2WMBTS3.js → chunk-HLPLT3NY.js} +8 -5
- package/dist/{chunk-PB222GIA.js → chunk-HWQGBIH7.js} +1 -1
- package/dist/chunk-IL4EDBMV.js +566 -0
- package/dist/{chunk-HQE6EJS5.js → chunk-LAZGHEYU.js} +1 -1
- package/dist/{chunk-QG7OOKIN.js → chunk-LE5H7LMT.js} +1 -1
- package/dist/chunk-LNVEIJ2L.js +48 -0
- package/dist/{chunk-JUA6VU2Z.js → chunk-OJCP3C3J.js} +12 -23
- package/dist/{chunk-37JJDS4H.js → chunk-POSZWRGL.js} +1 -1
- package/dist/{chunk-TCEJ7XXM.js → chunk-QOWHHM3F.js} +1 -1
- package/dist/{chunk-H6U2U3EP.js → chunk-RRJV5UR5.js} +304 -65
- package/dist/{chunk-OFPYOC3M.js → chunk-ULAU5ZGU.js} +127 -120
- package/dist/{chunk-V6SRLKUB.js → chunk-V2FXMOEA.js} +2 -2
- package/dist/{chunk-GDQEU4I7.js → chunk-VCYSOXON.js} +296 -526
- package/dist/{chunk-BLETMLRX.js → chunk-VMNRXKAH.js} +1374 -989
- package/dist/{chunk-37EVZP66.js → chunk-VRHTNBA6.js} +167 -92
- package/dist/{chunk-FXDDDSPL.js → chunk-VY6W3T43.js} +4 -4
- package/dist/{chunk-ZDGHGY74.js → chunk-WCN4YSH7.js} +13 -6
- package/dist/{chunk-PH4Q3A6W.js → chunk-WOONT5ZP.js} +1 -1
- package/dist/{chunk-47OSH2ZO.js → chunk-XJ42NBP5.js} +395 -206
- package/dist/{chunk-SCGVWUZX.js → chunk-ZCHIC2GM.js} +92 -75
- package/dist/chunk-ZPL2RR7F.js +798 -0
- package/dist/cli/chat.js +33 -35
- 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/agent-invocations.d.ts +20 -0
- package/dist/db/schema/conversation-annotations.d.ts +2 -2
- package/dist/db/schema/location-configurations.d.ts +127 -0
- package/dist/db/schema.d.ts +150 -3
- package/dist/{db-WWOMXWTT.js → db-XUKZRFFK.js} +7 -7
- package/dist/instrumentation.js +4 -4
- package/dist/nitro.js +2 -2
- package/dist/{oauth-callback-server-A6ZZX74U.js → oauth-callback-server-LPZMMGFI.js} +25 -26
- package/dist/{runner-KSGB2UAV.js → runner-DGKUTMPX.js} +22 -41
- package/dist/{skills-26QPWKVS.js → skills-P7YUFSXM.js} +6 -6
- package/dist/spawn-DSK3ZEVD.js +38 -0
- package/dist/{validation-OPSRGFGH.js → validation-S7U5M5NR.js} +6 -6
- package/dist/version.js +1 -1
- package/dist/{work-VMSW7STJ.js → work-GAA7TVAD.js} +18 -19
- package/dist/{worker-2JNFB7C7.js → worker-JXPJH3QB.js} +11 -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 +6 -5
- package/dist/api/health.d.ts +0 -7
- package/dist/api/personal-tokens/create.d.ts +0 -11
- package/dist/api/personal-tokens/list.d.ts +0 -12
- package/dist/api/personal-tokens/revoke.d.ts +0 -5
- package/dist/api/plugin-reports.d.ts +0 -63
- package/dist/api/plugins.d.ts +0 -8
- package/dist/api/runtime.d.ts +0 -24
- package/dist/api/skills.d.ts +0 -6
- package/dist/chat/slack/tools/canvas/context.d.ts +0 -18
- package/dist/chat/slack/tools/channel-access.d.ts +0 -30
- package/dist/chat/state/artifacts.d.ts +0 -30
- package/dist/chat/tool-support/turn-deadline-result.d.ts +0 -3
- package/dist/chunk-HLXXQI5Q.js +0 -238
- package/dist/chunk-LVW7BLLT.js +0 -115
- package/dist/chunk-Q6QZTTLS.js +0 -55
- package/dist/chunk-QSXZ42KX.js +0 -285
- package/dist/chunk-R776HKPK.js +0 -81
- package/dist/chunk-T5GXFFLA.js +0 -67
- package/dist/spawn-5LAJXZ2P.js +0 -39
- /package/dist/chat/slack/{tools → tool-support}/canvas/markdown.d.ts +0 -0
- /package/dist/chat/slack/{tools → tool-support}/channel-capabilities.d.ts +0 -0
- /package/dist/chat/slack/{tools → tool-support}/context.d.ts +0 -0
- /package/dist/chat/slack/{tools → tool-support}/slack-message-url.d.ts +0 -0
|
@@ -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-VRHTNBA6.js";
|
|
9
|
+
import "./chunk-D3WPMGEX.js";
|
|
10
|
+
import "./chunk-4GXJUYJV.js";
|
|
11
11
|
import "./chunk-VFUK3X5B.js";
|
|
12
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-LE5H7LMT.js";
|
|
13
13
|
import "./chunk-F3B2YJ76.js";
|
|
14
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-EAI67NTM.js";
|
|
15
15
|
import "./chunk-6GWA276C.js";
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-LAZGHEYU.js";
|
|
17
|
+
import "./chunk-55F4QU2V.js";
|
|
18
18
|
import "./chunk-MLKGABMK.js";
|
|
19
19
|
export {
|
|
20
20
|
closeDb,
|
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-LE5H7LMT.js";
|
|
7
|
+
import "./chunk-EAI67NTM.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-LAZGHEYU.js";
|
|
19
|
+
import "./chunk-55F4QU2V.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-LAZGHEYU.js";
|
|
31
|
+
import "./chunk-55F4QU2V.js";
|
|
32
32
|
import "./chunk-MLKGABMK.js";
|
|
33
33
|
|
|
34
34
|
// src/nitro.ts
|
|
@@ -2,49 +2,48 @@ import {
|
|
|
2
2
|
GET,
|
|
3
3
|
GET2,
|
|
4
4
|
syncLocalOAuthCredential
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-ULAU5ZGU.js";
|
|
6
6
|
import "./chunk-FA6POGLH.js";
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-Q6QZTTLS.js";
|
|
7
|
+
import "./chunk-DUY5CDAM.js";
|
|
8
|
+
import "./chunk-LNVEIJ2L.js";
|
|
10
9
|
import "./chunk-4CODA7P5.js";
|
|
11
|
-
import "./chunk-
|
|
10
|
+
import "./chunk-HLPLT3NY.js";
|
|
11
|
+
import "./chunk-RRJV5UR5.js";
|
|
12
|
+
import "./chunk-IL4EDBMV.js";
|
|
12
13
|
import "./chunk-WR76IVA5.js";
|
|
13
14
|
import "./chunk-JAL3CH4G.js";
|
|
14
15
|
import "./chunk-5I6ORJUY.js";
|
|
15
16
|
import {
|
|
16
17
|
createUserTokenStore
|
|
17
|
-
} from "./chunk-
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
18
|
+
} from "./chunk-XJ42NBP5.js";
|
|
19
|
+
import "./chunk-GDFF3BQG.js";
|
|
20
|
+
import "./chunk-WCN4YSH7.js";
|
|
21
|
+
import "./chunk-WOONT5ZP.js";
|
|
22
|
+
import "./chunk-4EA2SFK2.js";
|
|
23
|
+
import "./chunk-VCYSOXON.js";
|
|
22
24
|
import "./chunk-3Y47VMHV.js";
|
|
23
|
-
import "./chunk-PH4Q3A6W.js";
|
|
24
|
-
import "./chunk-W65V465O.js";
|
|
25
|
-
import "./chunk-HLXXQI5Q.js";
|
|
26
25
|
import "./chunk-PDO5BLNM.js";
|
|
27
|
-
import "./chunk-
|
|
28
|
-
import "./chunk-
|
|
29
|
-
import "./chunk-
|
|
30
|
-
import "./chunk-
|
|
26
|
+
import "./chunk-ZCHIC2GM.js";
|
|
27
|
+
import "./chunk-V2FXMOEA.js";
|
|
28
|
+
import "./chunk-VRHTNBA6.js";
|
|
29
|
+
import "./chunk-D3WPMGEX.js";
|
|
31
30
|
import "./chunk-EM225ITJ.js";
|
|
32
|
-
import "./chunk-
|
|
33
|
-
import "./chunk-
|
|
31
|
+
import "./chunk-2B3PT3V2.js";
|
|
32
|
+
import "./chunk-4GXJUYJV.js";
|
|
34
33
|
import "./chunk-VFUK3X5B.js";
|
|
35
|
-
import "./chunk-
|
|
36
|
-
import "./chunk-
|
|
37
|
-
import "./chunk-
|
|
38
|
-
import "./chunk-
|
|
34
|
+
import "./chunk-LE5H7LMT.js";
|
|
35
|
+
import "./chunk-4AQZYNHM.js";
|
|
36
|
+
import "./chunk-HWQGBIH7.js";
|
|
37
|
+
import "./chunk-POSZWRGL.js";
|
|
39
38
|
import "./chunk-RUIXF3YQ.js";
|
|
40
39
|
import "./chunk-HZF5P5UN.js";
|
|
41
40
|
import "./chunk-F3B2YJ76.js";
|
|
42
|
-
import "./chunk-
|
|
41
|
+
import "./chunk-EAI67NTM.js";
|
|
43
42
|
import "./chunk-6GWA276C.js";
|
|
44
43
|
import "./chunk-OOUNJNMR.js";
|
|
45
44
|
import "./chunk-H4HBKISO.js";
|
|
46
|
-
import "./chunk-
|
|
47
|
-
import "./chunk-
|
|
45
|
+
import "./chunk-LAZGHEYU.js";
|
|
46
|
+
import "./chunk-55F4QU2V.js";
|
|
48
47
|
import "./chunk-MLKGABMK.js";
|
|
49
48
|
|
|
50
49
|
// src/chat/local/oauth-callback-server.ts
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
+
import {
|
|
2
|
+
completeAuthPauseTurn
|
|
3
|
+
} from "./chunk-LNVEIJ2L.js";
|
|
1
4
|
import {
|
|
2
5
|
buildConversationContext,
|
|
3
6
|
buildDeliveredTurnStatePatch,
|
|
4
|
-
completeAuthPauseTurn,
|
|
5
7
|
finalizeFailedTurnReplyWithEvent,
|
|
6
8
|
markConversationMessage,
|
|
7
9
|
normalizeConversationText,
|
|
@@ -9,51 +11,47 @@ import {
|
|
|
9
11
|
recordDeliveredAssistantMessage,
|
|
10
12
|
scheduleSessionCompletedPluginTasks,
|
|
11
13
|
upsertConversationMessage
|
|
12
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-RRJV5UR5.js";
|
|
13
15
|
import {
|
|
14
|
-
ConversationTurnLifecycleService
|
|
15
|
-
|
|
16
|
-
|
|
16
|
+
ConversationTurnLifecycleService,
|
|
17
|
+
coerceThreadConversationState,
|
|
18
|
+
getPersistedSandboxState,
|
|
19
|
+
getPersistedThreadState,
|
|
20
|
+
persistThreadStateById
|
|
21
|
+
} from "./chunk-IL4EDBMV.js";
|
|
17
22
|
import "./chunk-5I6ORJUY.js";
|
|
18
23
|
import {
|
|
19
24
|
authorizationId
|
|
20
25
|
} from "./chunk-DIB4GX3G.js";
|
|
21
|
-
import "./chunk-
|
|
26
|
+
import "./chunk-4EA2SFK2.js";
|
|
22
27
|
import {
|
|
23
|
-
coerceThreadArtifactsState,
|
|
24
|
-
coerceThreadConversationState,
|
|
25
28
|
commitAcceptedReply,
|
|
26
29
|
getAssistantReplyText,
|
|
27
|
-
getPersistedSandboxState,
|
|
28
|
-
getPersistedThreadState,
|
|
29
30
|
hydrateConversationMessages,
|
|
30
31
|
loadProjection,
|
|
31
32
|
markTurnFailed,
|
|
32
33
|
persistConversationMessages,
|
|
33
|
-
persistThreadStateById,
|
|
34
34
|
persistWithRetry,
|
|
35
35
|
recordAuthorizationCompleted,
|
|
36
36
|
saveTurnCheckpoint,
|
|
37
37
|
startActiveTurn,
|
|
38
38
|
stripRuntimeTurnContext,
|
|
39
39
|
trimTrailingAssistantMessages
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-VCYSOXON.js";
|
|
41
41
|
import "./chunk-3Y47VMHV.js";
|
|
42
|
-
import "./chunk-W65V465O.js";
|
|
43
|
-
import "./chunk-HLXXQI5Q.js";
|
|
44
42
|
import "./chunk-PDO5BLNM.js";
|
|
45
|
-
import "./chunk-
|
|
46
|
-
import "./chunk-
|
|
43
|
+
import "./chunk-ZCHIC2GM.js";
|
|
44
|
+
import "./chunk-V2FXMOEA.js";
|
|
47
45
|
import {
|
|
48
46
|
getConversationEventStore,
|
|
49
47
|
getConversationStore
|
|
50
|
-
} from "./chunk-
|
|
51
|
-
import "./chunk-
|
|
48
|
+
} from "./chunk-VRHTNBA6.js";
|
|
49
|
+
import "./chunk-D3WPMGEX.js";
|
|
52
50
|
import "./chunk-EM225ITJ.js";
|
|
53
|
-
import "./chunk-
|
|
54
|
-
import "./chunk-
|
|
51
|
+
import "./chunk-2B3PT3V2.js";
|
|
52
|
+
import "./chunk-4GXJUYJV.js";
|
|
55
53
|
import "./chunk-VFUK3X5B.js";
|
|
56
|
-
import "./chunk-
|
|
54
|
+
import "./chunk-LE5H7LMT.js";
|
|
57
55
|
import {
|
|
58
56
|
credentialContextForActor
|
|
59
57
|
} from "./chunk-RUIXF3YQ.js";
|
|
@@ -63,10 +61,10 @@ import {
|
|
|
63
61
|
logException,
|
|
64
62
|
setTags,
|
|
65
63
|
withLogContext
|
|
66
|
-
} from "./chunk-
|
|
64
|
+
} from "./chunk-EAI67NTM.js";
|
|
67
65
|
import "./chunk-6GWA276C.js";
|
|
68
|
-
import "./chunk-
|
|
69
|
-
import "./chunk-
|
|
66
|
+
import "./chunk-LAZGHEYU.js";
|
|
67
|
+
import "./chunk-55F4QU2V.js";
|
|
70
68
|
import "./chunk-MLKGABMK.js";
|
|
71
69
|
|
|
72
70
|
// src/chat/local/runner.ts
|
|
@@ -156,9 +154,7 @@ async function runLocalAgentTurnInContext(input, deps) {
|
|
|
156
154
|
conversation,
|
|
157
155
|
conversationId: input.conversationId
|
|
158
156
|
});
|
|
159
|
-
let artifacts = coerceThreadArtifactsState(persisted);
|
|
160
157
|
let sandboxRef = getPersistedSandboxState(persisted);
|
|
161
|
-
const initialArtifacts = artifacts;
|
|
162
158
|
const initialSandboxRef = sandboxRef;
|
|
163
159
|
const turnId = localTurnId();
|
|
164
160
|
const userMessageId = `${turnId}:user`;
|
|
@@ -280,7 +276,6 @@ async function runLocalAgentTurnInContext(input, deps) {
|
|
|
280
276
|
sandboxEgressSignals: deps.sandboxEgressSignals
|
|
281
277
|
},
|
|
282
278
|
state: {
|
|
283
|
-
artifactState: artifacts,
|
|
284
279
|
pendingAuth: conversation.processing.pendingAuth,
|
|
285
280
|
sandboxRef
|
|
286
281
|
},
|
|
@@ -297,18 +292,9 @@ async function runLocalAgentTurnInContext(input, deps) {
|
|
|
297
292
|
},
|
|
298
293
|
delivery: deliverAssistantMessage,
|
|
299
294
|
durability: {
|
|
300
|
-
onArtifactStateUpdated: async (nextArtifacts) => {
|
|
301
|
-
artifacts = nextArtifacts;
|
|
302
|
-
await persistThreadStateById(input.conversationId, {
|
|
303
|
-
artifacts,
|
|
304
|
-
conversation,
|
|
305
|
-
sandboxRef
|
|
306
|
-
});
|
|
307
|
-
},
|
|
308
295
|
onSandboxRefChanged: async (nextSandboxRef) => {
|
|
309
296
|
sandboxRef = nextSandboxRef;
|
|
310
297
|
await persistThreadStateById(input.conversationId, {
|
|
311
|
-
artifacts,
|
|
312
298
|
conversation,
|
|
313
299
|
sandboxRef
|
|
314
300
|
});
|
|
@@ -316,7 +302,6 @@ async function runLocalAgentTurnInContext(input, deps) {
|
|
|
316
302
|
recordPendingAuth: async (pendingAuth) => {
|
|
317
303
|
conversation.processing.pendingAuth = pendingAuth;
|
|
318
304
|
await persistThreadStateById(input.conversationId, {
|
|
319
|
-
artifacts,
|
|
320
305
|
conversation,
|
|
321
306
|
sandboxRef
|
|
322
307
|
});
|
|
@@ -334,7 +319,6 @@ async function runLocalAgentTurnInContext(input, deps) {
|
|
|
334
319
|
}
|
|
335
320
|
completeAuthPauseTurn({ conversation, sessionId: turnId });
|
|
336
321
|
await persistThreadStateById(input.conversationId, {
|
|
337
|
-
artifacts,
|
|
338
322
|
conversation,
|
|
339
323
|
sandboxRef
|
|
340
324
|
});
|
|
@@ -372,7 +356,6 @@ async function runLocalAgentTurnInContext(input, deps) {
|
|
|
372
356
|
await deliverAssistantMessage(reply.text);
|
|
373
357
|
}
|
|
374
358
|
completedState = buildDeliveredTurnStatePatch({
|
|
375
|
-
artifacts,
|
|
376
359
|
conversation,
|
|
377
360
|
reply,
|
|
378
361
|
sessionId: turnId,
|
|
@@ -396,7 +379,6 @@ async function runLocalAgentTurnInContext(input, deps) {
|
|
|
396
379
|
markConversationMessage
|
|
397
380
|
});
|
|
398
381
|
await persistThreadStateById(input.conversationId, {
|
|
399
|
-
artifacts: initialArtifacts,
|
|
400
382
|
conversation,
|
|
401
383
|
sandboxRef: initialSandboxRef ?? null
|
|
402
384
|
});
|
|
@@ -432,7 +414,6 @@ async function runLocalAgentTurnInContext(input, deps) {
|
|
|
432
414
|
deps.authorization?.cancel();
|
|
433
415
|
try {
|
|
434
416
|
await persistThreadStateById(input.conversationId, {
|
|
435
|
-
artifacts: completedState.artifacts ?? artifacts,
|
|
436
417
|
conversation: completedState.conversation,
|
|
437
418
|
sandboxRef: reply.sandboxRef ?? sandboxRef
|
|
438
419
|
});
|
|
@@ -6,18 +6,18 @@ import {
|
|
|
6
6
|
parseSkillInvocation,
|
|
7
7
|
resetSkillDiscoveryCache,
|
|
8
8
|
stripFrontmatter
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-4AQZYNHM.js";
|
|
10
|
+
import "./chunk-HWQGBIH7.js";
|
|
11
|
+
import "./chunk-POSZWRGL.js";
|
|
12
12
|
import "./chunk-RUIXF3YQ.js";
|
|
13
13
|
import "./chunk-HZF5P5UN.js";
|
|
14
14
|
import "./chunk-F3B2YJ76.js";
|
|
15
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-EAI67NTM.js";
|
|
16
16
|
import "./chunk-6GWA276C.js";
|
|
17
17
|
import "./chunk-OOUNJNMR.js";
|
|
18
18
|
import "./chunk-H4HBKISO.js";
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
19
|
+
import "./chunk-LAZGHEYU.js";
|
|
20
|
+
import "./chunk-55F4QU2V.js";
|
|
21
21
|
import "./chunk-MLKGABMK.js";
|
|
22
22
|
export {
|
|
23
23
|
discoverSkills,
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import {
|
|
2
|
+
bindSpawnAgent
|
|
3
|
+
} from "./chunk-7OEIXFC3.js";
|
|
4
|
+
import "./chunk-OJCP3C3J.js";
|
|
5
|
+
import "./chunk-HLPLT3NY.js";
|
|
6
|
+
import "./chunk-IL4EDBMV.js";
|
|
7
|
+
import "./chunk-JAL3CH4G.js";
|
|
8
|
+
import "./chunk-EINWQFXI.js";
|
|
9
|
+
import "./chunk-DIB4GX3G.js";
|
|
10
|
+
import "./chunk-GDFF3BQG.js";
|
|
11
|
+
import "./chunk-WCN4YSH7.js";
|
|
12
|
+
import "./chunk-HUO3UTAQ.js";
|
|
13
|
+
import "./chunk-VCYSOXON.js";
|
|
14
|
+
import "./chunk-3Y47VMHV.js";
|
|
15
|
+
import "./chunk-PDO5BLNM.js";
|
|
16
|
+
import "./chunk-V2FXMOEA.js";
|
|
17
|
+
import "./chunk-VRHTNBA6.js";
|
|
18
|
+
import "./chunk-D3WPMGEX.js";
|
|
19
|
+
import "./chunk-EM225ITJ.js";
|
|
20
|
+
import "./chunk-2B3PT3V2.js";
|
|
21
|
+
import "./chunk-4GXJUYJV.js";
|
|
22
|
+
import "./chunk-VFUK3X5B.js";
|
|
23
|
+
import "./chunk-LE5H7LMT.js";
|
|
24
|
+
import "./chunk-HWQGBIH7.js";
|
|
25
|
+
import "./chunk-POSZWRGL.js";
|
|
26
|
+
import "./chunk-RUIXF3YQ.js";
|
|
27
|
+
import "./chunk-HZF5P5UN.js";
|
|
28
|
+
import "./chunk-F3B2YJ76.js";
|
|
29
|
+
import "./chunk-EAI67NTM.js";
|
|
30
|
+
import "./chunk-6GWA276C.js";
|
|
31
|
+
import "./chunk-OOUNJNMR.js";
|
|
32
|
+
import "./chunk-H4HBKISO.js";
|
|
33
|
+
import "./chunk-LAZGHEYU.js";
|
|
34
|
+
import "./chunk-55F4QU2V.js";
|
|
35
|
+
import "./chunk-MLKGABMK.js";
|
|
36
|
+
export {
|
|
37
|
+
bindSpawnAgent
|
|
38
|
+
};
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
validatePluginEgressCredentialHooks,
|
|
3
3
|
validatePluginRegistrations
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
6
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-QOWHHM3F.js";
|
|
5
|
+
import "./chunk-HWQGBIH7.js";
|
|
6
|
+
import "./chunk-POSZWRGL.js";
|
|
7
7
|
import "./chunk-RUIXF3YQ.js";
|
|
8
8
|
import "./chunk-HZF5P5UN.js";
|
|
9
9
|
import "./chunk-F3B2YJ76.js";
|
|
10
|
-
import "./chunk-
|
|
10
|
+
import "./chunk-EAI67NTM.js";
|
|
11
11
|
import "./chunk-6GWA276C.js";
|
|
12
12
|
import "./chunk-OOUNJNMR.js";
|
|
13
13
|
import "./chunk-H4HBKISO.js";
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-LAZGHEYU.js";
|
|
15
|
+
import "./chunk-55F4QU2V.js";
|
|
16
16
|
import "./chunk-MLKGABMK.js";
|
|
17
17
|
export {
|
|
18
18
|
validatePluginEgressCredentialHooks,
|
package/dist/version.js
CHANGED
|
@@ -5,37 +5,36 @@ import {
|
|
|
5
5
|
enqueueAgentInvocation,
|
|
6
6
|
resolveAgentInvocationId,
|
|
7
7
|
routeAgentInvocationWork
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
8
|
+
} from "./chunk-OJCP3C3J.js";
|
|
9
|
+
import "./chunk-HLPLT3NY.js";
|
|
10
|
+
import "./chunk-IL4EDBMV.js";
|
|
11
11
|
import "./chunk-JAL3CH4G.js";
|
|
12
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-EINWQFXI.js";
|
|
13
13
|
import "./chunk-DIB4GX3G.js";
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-GDQEU4I7.js";
|
|
16
|
-
import "./chunk-3Y47VMHV.js";
|
|
14
|
+
import "./chunk-WCN4YSH7.js";
|
|
17
15
|
import "./chunk-HUO3UTAQ.js";
|
|
18
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-VCYSOXON.js";
|
|
17
|
+
import "./chunk-3Y47VMHV.js";
|
|
19
18
|
import "./chunk-PDO5BLNM.js";
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
22
|
-
import "./chunk-
|
|
19
|
+
import "./chunk-V2FXMOEA.js";
|
|
20
|
+
import "./chunk-VRHTNBA6.js";
|
|
21
|
+
import "./chunk-D3WPMGEX.js";
|
|
23
22
|
import "./chunk-EM225ITJ.js";
|
|
24
|
-
import "./chunk-
|
|
25
|
-
import "./chunk-
|
|
23
|
+
import "./chunk-2B3PT3V2.js";
|
|
24
|
+
import "./chunk-4GXJUYJV.js";
|
|
26
25
|
import "./chunk-VFUK3X5B.js";
|
|
27
|
-
import "./chunk-
|
|
28
|
-
import "./chunk-
|
|
29
|
-
import "./chunk-
|
|
26
|
+
import "./chunk-LE5H7LMT.js";
|
|
27
|
+
import "./chunk-HWQGBIH7.js";
|
|
28
|
+
import "./chunk-POSZWRGL.js";
|
|
30
29
|
import "./chunk-RUIXF3YQ.js";
|
|
31
30
|
import "./chunk-HZF5P5UN.js";
|
|
32
31
|
import "./chunk-F3B2YJ76.js";
|
|
33
|
-
import "./chunk-
|
|
32
|
+
import "./chunk-EAI67NTM.js";
|
|
34
33
|
import "./chunk-6GWA276C.js";
|
|
35
34
|
import "./chunk-OOUNJNMR.js";
|
|
36
35
|
import "./chunk-H4HBKISO.js";
|
|
37
|
-
import "./chunk-
|
|
38
|
-
import "./chunk-
|
|
36
|
+
import "./chunk-LAZGHEYU.js";
|
|
37
|
+
import "./chunk-55F4QU2V.js";
|
|
39
38
|
import "./chunk-MLKGABMK.js";
|
|
40
39
|
export {
|
|
41
40
|
buildAgentInvocationInboundMessage,
|
|
@@ -1,22 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
CONVERSATION_WORK_DEFER_DELAY_MS,
|
|
3
3
|
processConversationWork
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-D6YX4NNN.js";
|
|
5
|
+
import "./chunk-DUY5CDAM.js";
|
|
6
|
+
import "./chunk-HLPLT3NY.js";
|
|
6
7
|
import "./chunk-JAL3CH4G.js";
|
|
7
8
|
import "./chunk-3Y47VMHV.js";
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-VRHTNBA6.js";
|
|
10
|
+
import "./chunk-D3WPMGEX.js";
|
|
11
|
+
import "./chunk-2B3PT3V2.js";
|
|
12
|
+
import "./chunk-4GXJUYJV.js";
|
|
12
13
|
import "./chunk-VFUK3X5B.js";
|
|
13
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-LE5H7LMT.js";
|
|
14
15
|
import "./chunk-HZF5P5UN.js";
|
|
15
16
|
import "./chunk-F3B2YJ76.js";
|
|
16
|
-
import "./chunk-
|
|
17
|
+
import "./chunk-EAI67NTM.js";
|
|
17
18
|
import "./chunk-6GWA276C.js";
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
19
|
+
import "./chunk-LAZGHEYU.js";
|
|
20
|
+
import "./chunk-55F4QU2V.js";
|
|
20
21
|
import "./chunk-MLKGABMK.js";
|
|
21
22
|
export {
|
|
22
23
|
CONVERSATION_WORK_DEFER_DELAY_MS,
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
CREATE TABLE "junior_location_configurations" (
|
|
2
|
+
"location_id" text NOT NULL,
|
|
3
|
+
"key" text NOT NULL,
|
|
4
|
+
"value" text NOT NULL,
|
|
5
|
+
"updated_at" timestamp with time zone NOT NULL,
|
|
6
|
+
"updated_by" text,
|
|
7
|
+
"source" text,
|
|
8
|
+
"expires_at" text,
|
|
9
|
+
CONSTRAINT "junior_location_configurations_location_id_key_pk" PRIMARY KEY("location_id","key")
|
|
10
|
+
);
|
|
11
|
+
--> statement-breakpoint
|
|
12
|
+
ALTER TABLE "junior_location_configurations" ADD CONSTRAINT "junior_location_configurations_location_id_junior_destinations_id_fk" FOREIGN KEY ("location_id") REFERENCES "public"."junior_destinations"("id") ON DELETE cascade ON UPDATE no action;
|