@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/README.md
CHANGED
|
@@ -34,6 +34,8 @@ const app = await createApp({
|
|
|
34
34
|
export default app;
|
|
35
35
|
```
|
|
36
36
|
|
|
37
|
+
Named repository Workspace recipes are stored in the Junior SQL database.
|
|
38
|
+
|
|
37
39
|
Run `junior init my-bot` to scaffold a complete project including `vercel.json` for Vercel deployment.
|
|
38
40
|
|
|
39
41
|
Use `defineJuniorPlugins([...])` in a runtime-safe plugin module, then point
|
|
@@ -13,19 +13,19 @@ import {
|
|
|
13
13
|
getPlugins,
|
|
14
14
|
setPlugins,
|
|
15
15
|
validatePlugins
|
|
16
|
-
} from "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
16
|
+
} from "./chunk-YHCTPDXS.js";
|
|
17
|
+
import "./chunk-LPLVNMVN.js";
|
|
18
|
+
import "./chunk-ZSNABC2E.js";
|
|
19
|
+
import "./chunk-BVREIWBD.js";
|
|
20
|
+
import "./chunk-BXBZDV3C.js";
|
|
21
|
+
import "./chunk-FX4PX3SA.js";
|
|
22
22
|
import "./chunk-VFUK3X5B.js";
|
|
23
|
-
import "./chunk-
|
|
23
|
+
import "./chunk-RBV4JHCP.js";
|
|
24
24
|
import "./chunk-V7YE4WCP.js";
|
|
25
|
-
import "./chunk-
|
|
25
|
+
import "./chunk-VHSEMJTS.js";
|
|
26
26
|
import "./chunk-6GWA276C.js";
|
|
27
|
-
import "./chunk-
|
|
28
|
-
import "./chunk-
|
|
27
|
+
import "./chunk-26JYGL2L.js";
|
|
28
|
+
import "./chunk-5GLGQHO3.js";
|
|
29
29
|
import "./chunk-MLKGABMK.js";
|
|
30
30
|
export {
|
|
31
31
|
PluginHookDeniedError,
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { StateAdapter } from "chat";
|
|
2
|
+
import type { ConversationStore } from "@/chat/conversations/store";
|
|
3
|
+
import type { ConversationWorkQueue } from "@/chat/task-execution/queue";
|
|
4
|
+
import type { ApiTurnCancellation } from "@/chat/api-turns/cancellation";
|
|
5
|
+
interface AcpRouteOptions {
|
|
6
|
+
cancellation: ApiTurnCancellation;
|
|
7
|
+
conversationStore?: ConversationStore;
|
|
8
|
+
queue: ConversationWorkQueue;
|
|
9
|
+
state?: StateAdapter;
|
|
10
|
+
}
|
|
11
|
+
/** Create one app-scoped remote ACP v1 HTTP handler. */
|
|
12
|
+
export declare function createAcpHttpHandler(options: AcpRouteOptions): (request: Request) => Promise<Response>;
|
|
13
|
+
export {};
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const workspaceRepoSchema: z.ZodObject<{
|
|
3
|
+
provider: z.ZodString;
|
|
4
|
+
repo: z.ZodString;
|
|
5
|
+
checkoutPath: z.ZodString;
|
|
6
|
+
isPrimary: z.ZodBoolean;
|
|
7
|
+
}, z.core.$strict>;
|
|
8
|
+
export declare const workspaceSchema: z.ZodObject<{
|
|
9
|
+
id: z.ZodString;
|
|
10
|
+
name: z.ZodString;
|
|
11
|
+
setupScript: z.ZodString;
|
|
12
|
+
repos: z.ZodArray<z.ZodObject<{
|
|
13
|
+
provider: z.ZodString;
|
|
14
|
+
repo: z.ZodString;
|
|
15
|
+
checkoutPath: z.ZodString;
|
|
16
|
+
isPrimary: z.ZodBoolean;
|
|
17
|
+
}, z.core.$strict>>;
|
|
18
|
+
}, z.core.$strict>;
|
|
19
|
+
export declare const workspaceListSchema: z.ZodObject<{
|
|
20
|
+
workspaces: z.ZodArray<z.ZodObject<{
|
|
21
|
+
id: z.ZodString;
|
|
22
|
+
name: z.ZodString;
|
|
23
|
+
setupScript: z.ZodString;
|
|
24
|
+
repos: z.ZodArray<z.ZodObject<{
|
|
25
|
+
provider: z.ZodString;
|
|
26
|
+
repo: z.ZodString;
|
|
27
|
+
checkoutPath: z.ZodString;
|
|
28
|
+
isPrimary: z.ZodBoolean;
|
|
29
|
+
}, z.core.$strict>>;
|
|
30
|
+
}, z.core.$strict>>;
|
|
31
|
+
}, z.core.$strict>;
|
|
32
|
+
export declare const workspaceBodySchema: z.ZodObject<{
|
|
33
|
+
name: z.ZodString;
|
|
34
|
+
setupScript: z.ZodOptional<z.ZodString>;
|
|
35
|
+
repos: z.ZodArray<z.ZodObject<{
|
|
36
|
+
provider: z.ZodString;
|
|
37
|
+
repo: z.ZodString;
|
|
38
|
+
isPrimary: z.ZodOptional<z.ZodBoolean>;
|
|
39
|
+
}, z.core.$strict>>;
|
|
40
|
+
}, z.core.$strict>;
|
|
41
|
+
export declare const workspaceParamsSchema: z.ZodObject<{
|
|
42
|
+
id: z.ZodString;
|
|
43
|
+
}, z.core.$strict>;
|
|
44
|
+
export declare const deleteWorkspaceResponseSchema: z.ZodObject<{
|
|
45
|
+
deleted: z.ZodLiteral<true>;
|
|
46
|
+
}, z.core.$strict>;
|
|
47
|
+
export type WorkspaceReport = z.infer<typeof workspaceSchema>;
|
package/dist/api/schema.d.ts
CHANGED
|
@@ -10,6 +10,8 @@ export { apiErrorSchema } from "./schema/common";
|
|
|
10
10
|
export type { ApiError } from "./schema/common";
|
|
11
11
|
export { createPersonalTokenBodySchema, createdPersonalTokenSchema, personalTokenListSchema, personalTokenMetadataSchema, personalTokenParamsSchema, revokePersonalTokenResponseSchema, } from "./schema/personal-token";
|
|
12
12
|
export type { PersonalTokenMetadata } from "./schema/personal-token";
|
|
13
|
+
export { deleteWorkspaceResponseSchema, workspaceBodySchema, workspaceListSchema, workspaceParamsSchema, workspaceRepoSchema, workspaceSchema, } from "./schema/workspace";
|
|
14
|
+
export type { WorkspaceReport } from "./schema/workspace";
|
|
13
15
|
export { eventTaskSummarySchema, scheduledTaskSummarySchema, taskExecutionListSchema, taskExecutionSchema, taskExecutionStatusDaySchema, taskExecutionStatusSchema, taskListSchema, taskParamsSchema, taskRunListSchema, taskRunSchema, taskSummarySchema, } from "./schema/task";
|
|
14
16
|
export type { TaskExecution, TaskExecutionDay, TaskExecutionList, TaskExecutionStatusDay, TaskList, TaskRun, TaskRunList, TaskSummary, } from "./schema/task";
|
|
15
17
|
export { statSchema, statsReportSchema } from "./schema/stats";
|
package/dist/api/schema.js
CHANGED
|
@@ -29,6 +29,7 @@ import {
|
|
|
29
29
|
createPersonalTokenBodySchema,
|
|
30
30
|
createdPersonalTokenSchema,
|
|
31
31
|
dailyConversationActivitySchema,
|
|
32
|
+
deleteWorkspaceResponseSchema,
|
|
32
33
|
eventTaskSummarySchema,
|
|
33
34
|
locationActivityDayReportSchema,
|
|
34
35
|
locationDetailReportSchema,
|
|
@@ -51,8 +52,13 @@ import {
|
|
|
51
52
|
taskParamsSchema,
|
|
52
53
|
taskRunListSchema,
|
|
53
54
|
taskRunSchema,
|
|
54
|
-
taskSummarySchema
|
|
55
|
-
|
|
55
|
+
taskSummarySchema,
|
|
56
|
+
workspaceBodySchema,
|
|
57
|
+
workspaceListSchema,
|
|
58
|
+
workspaceParamsSchema,
|
|
59
|
+
workspaceRepoSchema,
|
|
60
|
+
workspaceSchema
|
|
61
|
+
} from "../chunk-PU45BSBS.js";
|
|
56
62
|
import {
|
|
57
63
|
healthReportSchema,
|
|
58
64
|
pluginOperationalReportFeedSchema,
|
|
@@ -99,6 +105,7 @@ export {
|
|
|
99
105
|
createPersonalTokenBodySchema,
|
|
100
106
|
createdPersonalTokenSchema,
|
|
101
107
|
dailyConversationActivitySchema,
|
|
108
|
+
deleteWorkspaceResponseSchema,
|
|
102
109
|
eventTaskSummarySchema,
|
|
103
110
|
healthReportSchema,
|
|
104
111
|
locationActivityDayReportSchema,
|
|
@@ -131,5 +138,10 @@ export {
|
|
|
131
138
|
taskParamsSchema,
|
|
132
139
|
taskRunListSchema,
|
|
133
140
|
taskRunSchema,
|
|
134
|
-
taskSummarySchema
|
|
141
|
+
taskSummarySchema,
|
|
142
|
+
workspaceBodySchema,
|
|
143
|
+
workspaceListSchema,
|
|
144
|
+
workspaceParamsSchema,
|
|
145
|
+
workspaceRepoSchema,
|
|
146
|
+
workspaceSchema
|
|
135
147
|
};
|