@sentry/junior 0.162.0 → 0.164.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/README.md +2 -0
- package/dist/{agent-hooks-TL2SGC5W.js → agent-hooks-WTBPNRTC.js} +10 -10
- package/dist/api/acp/route.d.ts +13 -0
- package/dist/api/schema/workspace.d.ts +47 -0
- package/dist/api/schema.d.ts +2 -0
- package/dist/api/schema.js +15 -3
- package/dist/api/workspaces/routes.d.ts +4 -0
- package/dist/api.js +321 -408
- package/dist/app.d.ts +2 -2
- package/dist/app.js +482 -38
- package/dist/{catalog-runtime-IGSMIADJ.js → catalog-runtime-CZ2SQINY.js} +5 -5
- package/dist/chat/agent/sandbox.d.ts +4 -0
- package/dist/chat/api-turns/cancellation.d.ts +27 -0
- package/dist/chat/api-turns/routing.d.ts +31 -0
- package/dist/chat/api-turns/work.d.ts +12 -29
- package/dist/chat/app/conversation-work.d.ts +6 -1
- package/dist/chat/app/production.d.ts +2 -2
- package/dist/chat/conversations/history.d.ts +3 -0
- package/dist/chat/conversations/turn-lifecycle.d.ts +1 -1
- package/dist/chat/experimental.d.ts +1 -1
- package/dist/chat/plugins/agent-hooks.d.ts +4 -0
- package/dist/chat/repository-instructions.d.ts +1 -1
- package/dist/chat/sandbox/paths.d.ts +1 -0
- package/dist/chat/sandbox/prepare-workspace.d.ts +11 -0
- package/dist/chat/sandbox/ref.d.ts +1 -0
- package/dist/chat/sandbox/sandbox.d.ts +4 -0
- package/dist/chat/sandbox/session.d.ts +4 -0
- package/dist/chat/sandbox/snapshot/profile.d.ts +4 -3
- package/dist/chat/sandbox/snapshot/resolve.d.ts +4 -0
- package/dist/chat/sandbox/workspace.d.ts +4 -0
- package/dist/chat/tools/types.d.ts +5 -0
- package/dist/chat/workspaces/checkout-path.d.ts +4 -0
- package/dist/chat/workspaces/store.d.ts +37 -0
- package/dist/chat/workspaces/tools.d.ts +4 -0
- package/dist/chat/workspaces/types.d.ts +13 -0
- package/dist/chat/workspaces/validation.d.ts +21 -0
- package/dist/{chunk-THXMSSFZ.js → chunk-26JYGL2L.js} +1 -1
- package/dist/{chunk-OPNJRQDP.js → chunk-2K25MRZK.js} +9 -6
- package/dist/{chunk-C3KUKA27.js → chunk-3L23VTY7.js} +17 -17
- package/dist/{chunk-JJ3VXFDI.js → chunk-4GTOFUQF.js} +1 -1
- package/dist/{chunk-RDV4BQRZ.js → chunk-5FWQ73UZ.js} +1 -1
- package/dist/{chunk-BPZQWAZJ.js → chunk-5GLGQHO3.js} +4 -1
- package/dist/{chunk-K7IV6UV3.js → chunk-6BXV63YX.js} +5 -5
- package/dist/{chunk-4WYGQ47U.js → chunk-6ENAACWN.js} +5 -5
- package/dist/{chunk-EHQLTK3X.js → chunk-7WKWMMYQ.js} +323 -127
- package/dist/chunk-BVREIWBD.js +131 -0
- package/dist/{chunk-DZC3F2UI.js → chunk-BXBZDV3C.js} +1 -1
- package/dist/{chunk-HW4BW3PC.js → chunk-CGCNFEAU.js} +4 -4
- package/dist/{chunk-JRVURR3H.js → chunk-FKDY7NTC.js} +543 -164
- package/dist/{chunk-MNCEGXEH.js → chunk-FX4PX3SA.js} +2 -2
- package/dist/{chunk-OBFRMQBY.js → chunk-H36GJVJV.js} +9 -9
- package/dist/{chunk-V7QL4QMW.js → chunk-HHW6ZVIZ.js} +12 -7
- package/dist/{chunk-O6P7DZ6O.js → chunk-JW23XD4I.js} +6 -6
- package/dist/{chunk-DDQ43S5Q.js → chunk-LPLVNMVN.js} +4 -4
- package/dist/{chunk-5NEBOHRG.js → chunk-NAGI2XH3.js} +4 -4
- package/dist/{chunk-FEWT5KPP.js → chunk-NLTQRYNP.js} +2 -2
- package/dist/{chunk-SA6BEEAB.js → chunk-PU45BSBS.js} +108 -74
- package/dist/{chunk-7DTPFFQX.js → chunk-RBV4JHCP.js} +1 -1
- package/dist/{chunk-6BJFIWEV.js → chunk-RJHZNPDH.js} +46 -87
- package/dist/{chunk-FESUWAYU.js → chunk-RULIISEI.js} +1 -1
- package/dist/{chunk-MMBMDSRK.js → chunk-RYYEHWIL.js} +1 -1
- package/dist/{chunk-Y75ZDQB5.js → chunk-VHSEMJTS.js} +1 -1
- package/dist/{chunk-5IDFPCON.js → chunk-VRS6WDK5.js} +1 -1
- package/dist/{chunk-EBEHJPFF.js → chunk-VV2DN24T.js} +1 -1
- package/dist/{chunk-WHAJ3QVY.js → chunk-WJUKESU2.js} +1 -1
- package/dist/{chunk-H2KW7AZC.js → chunk-XAIRI54J.js} +1 -1
- package/dist/{chunk-AJ7J2HWY.js → chunk-Y2B6AXZQ.js} +6 -6
- package/dist/{chunk-QHCIZLIX.js → chunk-YHCTPDXS.js} +356 -13
- package/dist/{chunk-CZ6EHOU5.js → chunk-ZSNABC2E.js} +40 -2
- package/dist/{chunk-KQSO4DJ4.js → chunk-ZUTAGCPH.js} +9 -9
- 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 +10 -10
- package/dist/cli/upgrade.js +7 -7
- package/dist/db/schema/workspaces.d.ts +169 -0
- package/dist/db/schema.d.ts +169 -1
- package/dist/{db-66XZ4HHQ.js → db-32KRFS6L.js} +7 -7
- package/dist/{experimental-HH6OM6UH.js → experimental-XVDOSRBS.js} +1 -1
- package/dist/instrumentation.js +4 -4
- package/dist/nitro.js +2 -2
- package/dist/{oauth-callback-server-FMLKDUUF.js → oauth-callback-server-CGZP2Z6U.js} +24 -24
- package/dist/{runner-YZONUMNY.js → runner-S5N4Q2XL.js} +32 -34
- package/dist/{skills-3UDJJXSO.js → skills-KYPSHSQR.js} +6 -6
- package/dist/spawn-EGOB3CLV.js +37 -0
- package/dist/{validation-3HTDBONC.js → validation-SZBE7JNF.js} +6 -6
- package/dist/version.js +1 -1
- package/dist/{work-O4YTIS54.js → work-GCZKHEZX.js} +18 -18
- package/dist/worker-6MY5Q4A2.js +24 -0
- package/migrations/0029_dizzy_barracuda.sql +19 -0
- package/migrations/meta/0029_snapshot.json +2709 -0
- package/migrations/meta/_journal.json +8 -1
- package/package.json +7 -4
- package/dist/chunk-EM225ITJ.js +0 -56
- package/dist/spawn-TBPVA5S2.js +0 -37
- package/dist/worker-WHURUEYX.js +0 -24
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sentry/junior",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.164.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -52,6 +52,7 @@
|
|
|
52
52
|
"skills"
|
|
53
53
|
],
|
|
54
54
|
"dependencies": {
|
|
55
|
+
"@agentclientprotocol/sdk": "1.3.0",
|
|
55
56
|
"@ai-sdk/gateway": "^3.0.119",
|
|
56
57
|
"@chat-adapter/slack": "4.29.0",
|
|
57
58
|
"@chat-adapter/state-memory": "4.29.0",
|
|
@@ -84,9 +85,10 @@
|
|
|
84
85
|
"pg": "^8.16.3",
|
|
85
86
|
"yaml": "^2.9.0",
|
|
86
87
|
"zod": "^4.4.3",
|
|
87
|
-
"@sentry/junior-plugin-api": "0.
|
|
88
|
+
"@sentry/junior-plugin-api": "0.164.0"
|
|
88
89
|
},
|
|
89
90
|
"devDependencies": {
|
|
91
|
+
"@hono/node-server": "1.19.14",
|
|
90
92
|
"@emnapi/core": "^1.10.0",
|
|
91
93
|
"@emnapi/runtime": "^1.10.0",
|
|
92
94
|
"@types/node": "^25.9.1",
|
|
@@ -101,12 +103,13 @@
|
|
|
101
103
|
"typescript": "^6.0.3",
|
|
102
104
|
"vercel": "^54.4.0",
|
|
103
105
|
"vitest": "^4.1.7",
|
|
104
|
-
"@sentry/junior-github": "0.
|
|
105
|
-
"@sentry/junior-memory": "0.
|
|
106
|
+
"@sentry/junior-github": "0.164.0",
|
|
107
|
+
"@sentry/junior-memory": "0.164.0",
|
|
106
108
|
"@sentry/junior-testing": "0.0.0"
|
|
107
109
|
},
|
|
108
110
|
"scripts": {
|
|
109
111
|
"build": "tsup && tsc -p tsconfig.build.json --emitDeclarationOnly",
|
|
112
|
+
"acp:smoke": "pnpm exec tsx scripts/acp-smoke.ts",
|
|
110
113
|
"db:generate": "pnpm exec drizzle-kit generate --config drizzle.config.ts",
|
|
111
114
|
"lint": "oxlint --config .oxlintrc.json --deny-warnings src tests scripts bin tsup.config.ts && depcruise --config .dependency-cruiser.mjs src/chat",
|
|
112
115
|
"lint:fix": "oxlint --config .oxlintrc.json --deny-warnings --fix src tests scripts bin tsup.config.ts",
|
package/dist/chunk-EM225ITJ.js
DELETED
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
// src/chat/sandbox/paths.ts
|
|
2
|
-
function normalizeWorkspaceRoot(input) {
|
|
3
|
-
const candidate = (input ?? "").trim();
|
|
4
|
-
if (!candidate) {
|
|
5
|
-
return "/vercel/sandbox";
|
|
6
|
-
}
|
|
7
|
-
const normalized = candidate.replace(/\/+$/, "");
|
|
8
|
-
return normalized.startsWith("/") ? normalized : `/${normalized}`;
|
|
9
|
-
}
|
|
10
|
-
var SANDBOX_WORKSPACE_ROOT = normalizeWorkspaceRoot(
|
|
11
|
-
process.env.VERCEL_SANDBOX_WORKSPACE_DIR
|
|
12
|
-
);
|
|
13
|
-
var SANDBOX_SKILLS_ROOT = `${SANDBOX_WORKSPACE_ROOT}/skills`;
|
|
14
|
-
var SANDBOX_DATA_ROOT = `${SANDBOX_WORKSPACE_ROOT}/data`;
|
|
15
|
-
function sandboxSkillDir(skillName) {
|
|
16
|
-
return `${SANDBOX_SKILLS_ROOT}/${skillName}`;
|
|
17
|
-
}
|
|
18
|
-
function sandboxSkillFile(skillName) {
|
|
19
|
-
return `${sandboxSkillDir(skillName)}/SKILL.md`;
|
|
20
|
-
}
|
|
21
|
-
function sandboxSkillPathResolution(skillName) {
|
|
22
|
-
const skillDir = sandboxSkillDir(skillName);
|
|
23
|
-
return `Resolve relative paths in this skill against ${skillDir}. For bash commands from this skill, cd to ${skillDir} first or use absolute paths.`;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
// src/chat/sleep.ts
|
|
27
|
-
function sleep(ms, signal) {
|
|
28
|
-
if (!signal) {
|
|
29
|
-
return new Promise((resolve) => setTimeout(resolve, ms));
|
|
30
|
-
}
|
|
31
|
-
return new Promise((resolve, reject) => {
|
|
32
|
-
if (signal.aborted) {
|
|
33
|
-
reject(signal.reason);
|
|
34
|
-
return;
|
|
35
|
-
}
|
|
36
|
-
const timeoutId = setTimeout(() => {
|
|
37
|
-
signal.removeEventListener("abort", onAbort);
|
|
38
|
-
resolve();
|
|
39
|
-
}, ms);
|
|
40
|
-
const onAbort = () => {
|
|
41
|
-
clearTimeout(timeoutId);
|
|
42
|
-
reject(signal.reason);
|
|
43
|
-
};
|
|
44
|
-
signal.addEventListener("abort", onAbort, { once: true });
|
|
45
|
-
});
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
export {
|
|
49
|
-
SANDBOX_WORKSPACE_ROOT,
|
|
50
|
-
SANDBOX_SKILLS_ROOT,
|
|
51
|
-
SANDBOX_DATA_ROOT,
|
|
52
|
-
sandboxSkillDir,
|
|
53
|
-
sandboxSkillFile,
|
|
54
|
-
sandboxSkillPathResolution,
|
|
55
|
-
sleep
|
|
56
|
-
};
|
package/dist/spawn-TBPVA5S2.js
DELETED
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
bindSpawnAgent
|
|
3
|
-
} from "./chunk-H2KW7AZC.js";
|
|
4
|
-
import "./chunk-AJ7J2HWY.js";
|
|
5
|
-
import "./chunk-5NEBOHRG.js";
|
|
6
|
-
import "./chunk-OPNJRQDP.js";
|
|
7
|
-
import "./chunk-JAL3CH4G.js";
|
|
8
|
-
import "./chunk-K7IV6UV3.js";
|
|
9
|
-
import "./chunk-DIB4GX3G.js";
|
|
10
|
-
import "./chunk-RF6J3DIO.js";
|
|
11
|
-
import "./chunk-O6P7DZ6O.js";
|
|
12
|
-
import "./chunk-7MA4HV4W.js";
|
|
13
|
-
import "./chunk-V7QL4QMW.js";
|
|
14
|
-
import "./chunk-3Y47VMHV.js";
|
|
15
|
-
import "./chunk-PDO5BLNM.js";
|
|
16
|
-
import "./chunk-QHCIZLIX.js";
|
|
17
|
-
import "./chunk-DDQ43S5Q.js";
|
|
18
|
-
import "./chunk-CZ6EHOU5.js";
|
|
19
|
-
import "./chunk-EM225ITJ.js";
|
|
20
|
-
import "./chunk-DZC3F2UI.js";
|
|
21
|
-
import "./chunk-MNCEGXEH.js";
|
|
22
|
-
import "./chunk-VFUK3X5B.js";
|
|
23
|
-
import "./chunk-7DTPFFQX.js";
|
|
24
|
-
import "./chunk-FESUWAYU.js";
|
|
25
|
-
import "./chunk-EBEHJPFF.js";
|
|
26
|
-
import "./chunk-BDUENQD3.js";
|
|
27
|
-
import "./chunk-V7YE4WCP.js";
|
|
28
|
-
import "./chunk-Y75ZDQB5.js";
|
|
29
|
-
import "./chunk-6GWA276C.js";
|
|
30
|
-
import "./chunk-OOUNJNMR.js";
|
|
31
|
-
import "./chunk-H4HBKISO.js";
|
|
32
|
-
import "./chunk-THXMSSFZ.js";
|
|
33
|
-
import "./chunk-BPZQWAZJ.js";
|
|
34
|
-
import "./chunk-MLKGABMK.js";
|
|
35
|
-
export {
|
|
36
|
-
bindSpawnAgent
|
|
37
|
-
};
|
package/dist/worker-WHURUEYX.js
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
CONVERSATION_WORK_DEFER_DELAY_MS,
|
|
3
|
-
processConversationWork
|
|
4
|
-
} from "./chunk-HW4BW3PC.js";
|
|
5
|
-
import "./chunk-MMBMDSRK.js";
|
|
6
|
-
import "./chunk-5NEBOHRG.js";
|
|
7
|
-
import "./chunk-JAL3CH4G.js";
|
|
8
|
-
import "./chunk-3Y47VMHV.js";
|
|
9
|
-
import "./chunk-DDQ43S5Q.js";
|
|
10
|
-
import "./chunk-CZ6EHOU5.js";
|
|
11
|
-
import "./chunk-DZC3F2UI.js";
|
|
12
|
-
import "./chunk-MNCEGXEH.js";
|
|
13
|
-
import "./chunk-VFUK3X5B.js";
|
|
14
|
-
import "./chunk-7DTPFFQX.js";
|
|
15
|
-
import "./chunk-V7YE4WCP.js";
|
|
16
|
-
import "./chunk-Y75ZDQB5.js";
|
|
17
|
-
import "./chunk-6GWA276C.js";
|
|
18
|
-
import "./chunk-THXMSSFZ.js";
|
|
19
|
-
import "./chunk-BPZQWAZJ.js";
|
|
20
|
-
import "./chunk-MLKGABMK.js";
|
|
21
|
-
export {
|
|
22
|
-
CONVERSATION_WORK_DEFER_DELAY_MS,
|
|
23
|
-
processConversationWork
|
|
24
|
-
};
|