@sentry/junior 0.106.0 → 0.107.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{agent-hooks-KR5BCWOK.js → agent-hooks-ICPIJAFY.js} +9 -7
- package/dist/api/conversations/detail.d.ts +1 -1
- package/dist/api/conversations/events.d.ts +14 -0
- package/dist/api/conversations/schema.d.ts +196 -463
- package/dist/api/schema.d.ts +2 -7
- package/dist/api/schema.js +10 -8
- package/dist/api.js +377 -810
- package/dist/app.js +3586 -3614
- package/dist/{catalog-runtime-5CVM2DOF.js → catalog-runtime-FOFNPR3P.js} +3 -2
- package/dist/chat/agent/prompt.d.ts +1 -1
- package/dist/chat/agent/request.d.ts +28 -29
- package/dist/chat/agent/resume.d.ts +7 -7
- package/dist/chat/agent/session.d.ts +5 -6
- package/dist/chat/agent/tools.d.ts +3 -3
- package/dist/chat/agent-dispatch/runner.d.ts +2 -0
- package/dist/chat/config.d.ts +2 -2
- package/dist/chat/conversations/history.d.ts +582 -167
- package/dist/chat/conversations/message-projection.d.ts +6 -0
- package/dist/chat/conversations/message-summaries.d.ts +9 -0
- package/dist/chat/conversations/messages.d.ts +13 -27
- package/dist/chat/conversations/projection.d.ts +30 -53
- package/dist/chat/conversations/provenance.d.ts +42 -0
- package/dist/chat/conversations/search.d.ts +2 -2
- package/dist/chat/conversations/sql/conversation-row.d.ts +1 -1
- package/dist/chat/conversations/sql/event-lock.d.ts +3 -0
- package/dist/chat/conversations/sql/history.d.ts +3 -3
- package/dist/chat/conversations/sql/privacy.d.ts +27 -0
- package/dist/chat/conversations/sql/purge.d.ts +2 -10
- package/dist/chat/conversations/sql/store.d.ts +0 -5
- package/dist/chat/conversations/store.d.ts +8 -13
- package/dist/chat/conversations/turn-lifecycle.d.ts +41 -0
- package/dist/chat/db.d.ts +4 -10
- package/dist/chat/model-profile.d.ts +10 -0
- package/dist/chat/oauth-flow.d.ts +0 -5
- package/dist/chat/pi/conversation-events.d.ts +33 -0
- package/dist/chat/pi/sql-model-usage.d.ts +10 -0
- package/dist/chat/plugins/agent-hooks.d.ts +4 -2
- package/dist/chat/resource-events/ingest.d.ts +0 -13
- package/dist/chat/runtime/delivered-turn-state.d.ts +1 -1
- package/dist/chat/runtime/generated-artifacts.d.ts +1 -1
- package/dist/chat/runtime/reply-executor.d.ts +2 -0
- package/dist/chat/runtime/slack-resume.d.ts +23 -28
- package/dist/chat/runtime/slack-runtime.d.ts +2 -0
- package/dist/chat/runtime/turn.d.ts +14 -1
- package/dist/chat/services/context-compaction-marker.d.ts +0 -1
- package/dist/chat/services/context-compaction.d.ts +1 -0
- package/dist/chat/services/conversation-memory.d.ts +9 -0
- package/dist/chat/services/plugin-auth-orchestration.d.ts +1 -4
- package/dist/chat/services/subscribed-decision.d.ts +1 -1
- package/dist/chat/services/turn-failure-response.d.ts +10 -3
- package/dist/chat/services/turn-result.d.ts +7 -12
- package/dist/chat/services/{turn-reasoning-level.d.ts → turn-router.d.ts} +12 -8
- package/dist/chat/services/turn-session-record.d.ts +15 -16
- package/dist/chat/slack/adapter.d.ts +2 -2
- package/dist/chat/slack/errors.d.ts +2 -0
- package/dist/chat/slack/outbound.d.ts +0 -1
- package/dist/chat/slack/reply.d.ts +2 -8
- package/dist/chat/slack/tools/channel-capabilities.d.ts +2 -2
- package/dist/chat/slack/tools/{send-message.d.ts → send-files.d.ts} +27 -19
- package/dist/chat/state/conversation.d.ts +4 -4
- package/dist/chat/state/turn-id.d.ts +2 -0
- package/dist/chat/state/turn-session-keys.d.ts +6 -0
- package/dist/chat/state/turn-session.d.ts +11 -9
- package/dist/chat/task-execution/state.d.ts +6 -1
- package/dist/chat/task-execution/store.d.ts +1 -1
- package/dist/chat/tool-support/pi-tool-adapter.d.ts +1 -1
- package/dist/chat/tool-support/tool-execution-report.d.ts +1 -0
- package/dist/chat/tools/handoff/tool.d.ts +2 -2
- package/dist/chat/tools/sandbox/file-uploads.d.ts +28 -6
- package/dist/chat/tools/types.d.ts +6 -9
- package/dist/chat/tools/web/image-generate.d.ts +4 -6
- package/dist/{chunk-DDRQ4U7I.js → chunk-4YF7Z6IA.js} +390 -270
- package/dist/{chunk-AZ5OMSN5.js → chunk-AUUOHQAT.js} +2 -2
- package/dist/chunk-B2Z2H66D.js +250 -0
- package/dist/{chunk-4W4O4DCV.js → chunk-CQ7KSO2B.js} +75 -45
- package/dist/{chunk-MJSJAHBW.js → chunk-DY7TRYB5.js} +1 -1
- package/dist/{chunk-GPPUTY5M.js → chunk-EDLNHZH3.js} +861 -891
- package/dist/{chunk-R5BFYK2O.js → chunk-IGHMVDWI.js} +134 -18
- package/dist/chunk-MU6HHZEN.js +99 -0
- package/dist/{chunk-XTKJPSMF.js → chunk-NVOTGWYX.js} +458 -684
- package/dist/{chunk-AEWZ7F65.js → chunk-O24R4DCK.js} +2 -179
- package/dist/{chunk-CCFROYAV.js → chunk-PUAMO4PI.js} +115 -125
- package/dist/{chunk-ZMRLBBD5.js → chunk-RMVOAJRL.js} +30 -13
- package/dist/{chunk-3NYUCBLE.js → chunk-SPUAJVVH.js} +6 -4
- package/dist/{chunk-4UYIRWDW.js → chunk-SS67LUOK.js} +41 -290
- package/dist/{chunk-FXFQNHRU.js → chunk-VFUK3X5B.js} +4 -2
- package/dist/{chunk-3MPPVPGZ.js → chunk-VH6KWKG2.js} +2 -2
- package/dist/chunk-VIXFG2VC.js +182 -0
- package/dist/{chunk-BKM4UXUD.js → chunk-YFQ7CQDE.js} +669 -18
- package/dist/{chunk-77LHNQK4.js → chunk-YIPD3L6L.js} +4 -2
- package/dist/{chunk-3OUSJPR7.js → chunk-YNP2ATQX.js} +6 -4
- package/dist/{chunk-WR7H7VLJ.js → chunk-YT72TOEK.js} +2 -2
- package/dist/cli/chat.js +21 -20
- package/dist/cli/check.js +4 -3
- package/dist/cli/plugins.js +11 -9
- package/dist/cli/snapshot-warmup.js +7 -5
- package/dist/cli/upgrade.js +2041 -105
- package/dist/db/schema/{agent-steps.d.ts → conversation-events.d.ts} +37 -21
- package/dist/db/schema.d.ts +28 -159
- package/dist/{db-S33LFWG2.js → db-DIGO4TGW.js} +6 -8
- package/dist/{runner-HA5XAL6K.js → runner-ACR2HAIC.js} +209 -101
- package/dist/{skills-722AXRV5.js → skills-ITNHBARB.js} +4 -3
- package/dist/{validation-EUI2UFRM.js → validation-AGQ46ZGV.js} +4 -3
- package/migrations/0005_conversation_events.sql +122 -0
- package/migrations/README.md +23 -10
- package/migrations/meta/0005_snapshot.json +948 -0
- package/migrations/meta/_journal.json +7 -0
- package/package.json +5 -5
- package/dist/api/conversations/activity.d.ts +0 -40
- package/dist/api/conversations/detail-projection.d.ts +0 -11
- package/dist/api/conversations/detail.query.d.ts +0 -3
- package/dist/api/conversations/subagent.d.ts +0 -10
- package/dist/api/conversations/transcript.d.ts +0 -28
- package/dist/chat/conversations/legacy-advisor-session.d.ts +0 -7
- package/dist/chat/conversations/legacy-import.d.ts +0 -38
- package/dist/chat/conversations/sql/legacy-history-import.d.ts +0 -55
- package/dist/chat/conversations/sql/messages.d.ts +0 -4
- package/dist/chat/conversations/visible-compactions.d.ts +0 -11
- package/dist/chat/conversations/visible-messages.d.ts +0 -47
- package/dist/chat/services/reply-delivery-plan.d.ts +0 -5
- package/dist/chat/state/session-log.d.ts +0 -384
- package/dist/chunk-P4P7O5WG.js +0 -1072
- package/dist/chunk-XIMUQ4IU.js +0 -147
- package/dist/db/schema/conversation-messages.d.ts +0 -153
- package/dist/handlers/github-webhook/check-suite.d.ts +0 -3
- package/dist/handlers/github-webhook/issue-comment.d.ts +0 -3
- package/dist/handlers/github-webhook/pull-request-review-comment.d.ts +0 -3
- package/dist/handlers/github-webhook/pull-request-review.d.ts +0 -3
- package/dist/handlers/github-webhook/pull-request.d.ts +0 -3
- package/dist/handlers/github-webhook/resource.d.ts +0 -10
- package/dist/handlers/github-webhook.d.ts +0 -15
- package/dist/legacy-import-TMJISRKO.js +0 -18
|
@@ -1,9 +1,11 @@
|
|
|
1
|
+
import {
|
|
2
|
+
parseActorUserId
|
|
3
|
+
} from "./chunk-VIXFG2VC.js";
|
|
1
4
|
import {
|
|
2
5
|
logInfo,
|
|
3
6
|
logWarn,
|
|
4
|
-
parseActorUserId,
|
|
5
7
|
setSpanAttributes
|
|
6
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-O24R4DCK.js";
|
|
7
9
|
import {
|
|
8
10
|
discoverInstalledPluginPackageContent,
|
|
9
11
|
normalizePluginPackageNames
|
|
@@ -1,18 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
JUNIOR_THREAD_STATE_TTL_MS
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-4YF7Z6IA.js";
|
|
4
4
|
import {
|
|
5
|
-
getChatConfig,
|
|
6
5
|
getDefaultRedisStateAdapterFor,
|
|
7
6
|
getStateAdapter
|
|
8
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-B2Z2H66D.js";
|
|
8
|
+
import {
|
|
9
|
+
getChatConfig
|
|
10
|
+
} from "./chunk-SS67LUOK.js";
|
|
9
11
|
import {
|
|
10
12
|
parseDestination,
|
|
11
13
|
sameDestination
|
|
12
14
|
} from "./chunk-B7PUBQQM.js";
|
|
13
15
|
import {
|
|
14
16
|
parseStoredSlackActor
|
|
15
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-VIXFG2VC.js";
|
|
16
18
|
import {
|
|
17
19
|
isRecord,
|
|
18
20
|
toOptionalNumber,
|
package/dist/cli/chat.js
CHANGED
|
@@ -1,30 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createAgentRunner,
|
|
3
3
|
executeAgentRun
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
6
|
-
import "../chunk-
|
|
7
|
-
import "../chunk-
|
|
8
|
-
import "../chunk-
|
|
9
|
-
import "../chunk-P4P7O5WG.js";
|
|
4
|
+
} from "../chunk-EDLNHZH3.js";
|
|
5
|
+
import "../chunk-YFQ7CQDE.js";
|
|
6
|
+
import "../chunk-4YF7Z6IA.js";
|
|
7
|
+
import "../chunk-SPUAJVVH.js";
|
|
8
|
+
import "../chunk-MU6HHZEN.js";
|
|
10
9
|
import "../chunk-PDO5BLNM.js";
|
|
11
10
|
import "../chunk-UIE3R5XU.js";
|
|
12
11
|
import {
|
|
13
12
|
loadAppPluginSet
|
|
14
13
|
} from "../chunk-Y2CM7HXH.js";
|
|
15
|
-
import "../chunk-
|
|
16
|
-
import "../chunk-
|
|
14
|
+
import "../chunk-RMVOAJRL.js";
|
|
15
|
+
import "../chunk-AUUOHQAT.js";
|
|
17
16
|
import "../chunk-G3E7SCME.js";
|
|
18
|
-
import "../chunk-
|
|
19
|
-
import "../chunk-
|
|
17
|
+
import "../chunk-B2Z2H66D.js";
|
|
18
|
+
import "../chunk-VH6KWKG2.js";
|
|
19
|
+
import "../chunk-NVOTGWYX.js";
|
|
20
20
|
import "../chunk-4ZNGQH7C.js";
|
|
21
|
-
import "../chunk-
|
|
22
|
-
import "../chunk-
|
|
21
|
+
import "../chunk-SS67LUOK.js";
|
|
22
|
+
import "../chunk-VFUK3X5B.js";
|
|
23
23
|
import "../chunk-RT5BUHR5.js";
|
|
24
24
|
import "../chunk-B7PUBQQM.js";
|
|
25
|
-
import "../chunk-
|
|
26
|
-
import "../chunk-
|
|
27
|
-
import "../chunk-
|
|
25
|
+
import "../chunk-YT72TOEK.js";
|
|
26
|
+
import "../chunk-YIPD3L6L.js";
|
|
27
|
+
import "../chunk-VIXFG2VC.js";
|
|
28
|
+
import "../chunk-O24R4DCK.js";
|
|
28
29
|
import "../chunk-OB42YVAE.js";
|
|
29
30
|
import "../chunk-6GWA276C.js";
|
|
30
31
|
import "../chunk-B3IT5END.js";
|
|
@@ -152,10 +153,10 @@ async function configureLocalChatPlugins(pluginSet) {
|
|
|
152
153
|
databaseModule
|
|
153
154
|
] = await Promise.all([
|
|
154
155
|
import("../plugins-PZMDS7AT.js"),
|
|
155
|
-
import("../agent-hooks-
|
|
156
|
-
import("../catalog-runtime-
|
|
157
|
-
import("../validation-
|
|
158
|
-
import("../db-
|
|
156
|
+
import("../agent-hooks-ICPIJAFY.js"),
|
|
157
|
+
import("../catalog-runtime-FOFNPR3P.js"),
|
|
158
|
+
import("../validation-AGQ46ZGV.js"),
|
|
159
|
+
import("../db-DIGO4TGW.js")
|
|
159
160
|
]);
|
|
160
161
|
const resolvedPluginSet = pluginSet === void 0 ? await loadLocalPluginSet() : pluginSet ?? void 0;
|
|
161
162
|
const plugins = pluginsModule.pluginRuntimeRegistrationsFromPluginSet(resolvedPluginSet);
|
|
@@ -216,7 +217,7 @@ function newRunConversationId() {
|
|
|
216
217
|
async function prepareLocalChatRun(io, pluginSet) {
|
|
217
218
|
defaultStateAdapterForLocalChat();
|
|
218
219
|
await configureLocalChatPlugins(pluginSet);
|
|
219
|
-
const { runLocalAgentTurn } = await import("../runner-
|
|
220
|
+
const { runLocalAgentTurn } = await import("../runner-ACR2HAIC.js");
|
|
220
221
|
const deps = {
|
|
221
222
|
agentRunner: createAgentRunner(executeAgentRun),
|
|
222
223
|
deliverReply: async (reply) => {
|
package/dist/cli/check.js
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
parseSkillFile
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-YT72TOEK.js";
|
|
4
4
|
import {
|
|
5
5
|
parseInlinePluginManifest,
|
|
6
6
|
parsePluginManifest
|
|
7
|
-
} from "../chunk-
|
|
8
|
-
import "../chunk-
|
|
7
|
+
} from "../chunk-YIPD3L6L.js";
|
|
8
|
+
import "../chunk-VIXFG2VC.js";
|
|
9
|
+
import "../chunk-O24R4DCK.js";
|
|
9
10
|
import "../chunk-OB42YVAE.js";
|
|
10
11
|
import "../chunk-6GWA276C.js";
|
|
11
12
|
import "../chunk-B3IT5END.js";
|
package/dist/cli/plugins.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
validatePluginEgressCredentialHooks,
|
|
3
3
|
validatePluginRegistrations
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-DY7TRYB5.js";
|
|
5
5
|
import {
|
|
6
6
|
pluginCatalogConfigFromPluginSet,
|
|
7
7
|
pluginCliRegistrationsFromPluginSet,
|
|
@@ -13,24 +13,26 @@ import {
|
|
|
13
13
|
import {
|
|
14
14
|
setPlugins,
|
|
15
15
|
validatePlugins
|
|
16
|
-
} from "../chunk-
|
|
16
|
+
} from "../chunk-RMVOAJRL.js";
|
|
17
17
|
import {
|
|
18
18
|
createPluginLogger
|
|
19
|
-
} from "../chunk-
|
|
19
|
+
} from "../chunk-AUUOHQAT.js";
|
|
20
20
|
import "../chunk-G3E7SCME.js";
|
|
21
|
-
import "../chunk-
|
|
21
|
+
import "../chunk-B2Z2H66D.js";
|
|
22
|
+
import "../chunk-VH6KWKG2.js";
|
|
22
23
|
import {
|
|
23
24
|
getDb
|
|
24
|
-
} from "../chunk-
|
|
25
|
+
} from "../chunk-NVOTGWYX.js";
|
|
25
26
|
import "../chunk-4ZNGQH7C.js";
|
|
26
|
-
import "../chunk-
|
|
27
|
-
import "../chunk-
|
|
27
|
+
import "../chunk-SS67LUOK.js";
|
|
28
|
+
import "../chunk-VFUK3X5B.js";
|
|
28
29
|
import "../chunk-RT5BUHR5.js";
|
|
29
30
|
import "../chunk-B7PUBQQM.js";
|
|
30
31
|
import {
|
|
31
32
|
pluginCatalogRuntime
|
|
32
|
-
} from "../chunk-
|
|
33
|
-
import "../chunk-
|
|
33
|
+
} from "../chunk-YIPD3L6L.js";
|
|
34
|
+
import "../chunk-VIXFG2VC.js";
|
|
35
|
+
import "../chunk-O24R4DCK.js";
|
|
34
36
|
import "../chunk-OB42YVAE.js";
|
|
35
37
|
import "../chunk-6GWA276C.js";
|
|
36
38
|
import "../chunk-B3IT5END.js";
|
|
@@ -1,17 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
GLOBAL_RUNTIME_DEPENDENCIES,
|
|
3
3
|
resolveRuntimeDependencySnapshot
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-SPUAJVVH.js";
|
|
5
5
|
import "../chunk-G3E7SCME.js";
|
|
6
|
-
import "../chunk-4ZNGQH7C.js";
|
|
7
6
|
import {
|
|
8
7
|
disconnectStateAdapter
|
|
9
|
-
} from "../chunk-
|
|
8
|
+
} from "../chunk-B2Z2H66D.js";
|
|
9
|
+
import "../chunk-4ZNGQH7C.js";
|
|
10
|
+
import "../chunk-SS67LUOK.js";
|
|
10
11
|
import "../chunk-RT5BUHR5.js";
|
|
11
12
|
import {
|
|
12
13
|
pluginCatalogRuntime
|
|
13
|
-
} from "../chunk-
|
|
14
|
-
import "../chunk-
|
|
14
|
+
} from "../chunk-YIPD3L6L.js";
|
|
15
|
+
import "../chunk-VIXFG2VC.js";
|
|
16
|
+
import "../chunk-O24R4DCK.js";
|
|
15
17
|
import "../chunk-OB42YVAE.js";
|
|
16
18
|
import "../chunk-6GWA276C.js";
|
|
17
19
|
import "../chunk-B3IT5END.js";
|