@sentry/junior 0.115.0 → 0.116.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-4EUUXP2F.js → agent-hooks-67NFITDH.js} +9 -9
- package/dist/api/conversations/detail.d.ts +18 -0
- package/dist/api/conversations/event-page.d.ts +1 -1
- package/dist/api/conversations/events.d.ts +1 -1
- package/dist/api/people/profile.d.ts +2 -2
- package/dist/api/people/shared.d.ts +1 -1
- package/dist/api/personal-tokens/create.d.ts +11 -0
- package/dist/api/personal-tokens/list.d.ts +12 -0
- package/dist/api/personal-tokens/revoke.d.ts +5 -0
- package/dist/api/personal-tokens/routes.d.ts +4 -0
- package/dist/api/plugins.d.ts +0 -1
- package/dist/api/route.d.ts +1 -1
- package/dist/api/schema/conversation.d.ts +18 -0
- package/dist/api/schema/person.d.ts +3 -3
- package/dist/api/schema/personal-token.d.ts +38 -0
- package/dist/api/schema.d.ts +2 -0
- package/dist/api/schema.js +15 -3
- package/dist/api.d.ts +1 -0
- package/dist/api.js +179 -39
- package/dist/app.js +1035 -853
- package/dist/{catalog-runtime-Y32UEQLB.js → catalog-runtime-CWZY6GTH.js} +5 -5
- package/dist/chat/agent/request.d.ts +1 -0
- package/dist/chat/agent/resume.d.ts +1 -0
- package/dist/chat/agent/sandbox.d.ts +1 -0
- package/dist/chat/agent/tools.d.ts +1 -0
- package/dist/chat/agent-dispatch/context.d.ts +2 -0
- package/dist/chat/agent-dispatch/heartbeat.d.ts +11 -5
- package/dist/chat/agent-dispatch/signing.d.ts +14 -5
- package/dist/chat/agent-dispatch/store.d.ts +36 -15
- package/dist/chat/agent-dispatch/types.d.ts +23 -10
- package/dist/chat/agent-dispatch/work.d.ts +58 -0
- package/dist/chat/app/factory.d.ts +12 -3
- package/dist/chat/conversations/history.d.ts +285 -290
- package/dist/chat/conversations/projection.d.ts +2 -2
- package/dist/chat/mcp/tool-manager.d.ts +2 -1
- package/dist/chat/pi/conversation-events.d.ts +6 -2
- package/dist/chat/plugins/annotations.d.ts +8 -0
- package/dist/chat/plugins/registry.d.ts +0 -3
- package/dist/chat/plugins/types.d.ts +0 -2
- package/dist/chat/runtime/agent-continue-runner.d.ts +4 -0
- package/dist/chat/runtime/reply-executor.d.ts +6 -1
- package/dist/chat/runtime/slack-resume.d.ts +5 -1
- package/dist/chat/runtime/turn-input.d.ts +3 -0
- package/dist/chat/sandbox/sandbox.d.ts +2 -1
- package/dist/chat/sandbox/session.d.ts +2 -11
- package/dist/chat/sandbox/workspace.d.ts +10 -2
- package/dist/chat/services/turn-session-record.d.ts +14 -1
- package/dist/chat/slack/dispatch-turn.d.ts +25 -0
- package/dist/chat/state/turn-session.d.ts +11 -0
- package/dist/chat/tool-support/text-range-result.d.ts +3 -0
- package/dist/chat/tool-support/zod-tool.d.ts +1 -0
- package/dist/chat/tools/definition.d.ts +3 -10
- package/dist/chat/tools/query-conversation-events.d.ts +68 -0
- package/dist/chat/tools/sandbox/file-utils.d.ts +8 -1
- package/dist/chat/tools/sandbox/find-files.d.ts +2 -1
- package/dist/chat/tools/sandbox/grep.d.ts +2 -1
- package/dist/{chunk-6FKLPVF3.js → chunk-25GU5B5E.js} +1 -1
- package/dist/{chunk-PVZHG2XZ.js → chunk-3H45VOBZ.js} +32 -7
- package/dist/{chunk-NVUQSFWX.js → chunk-3JOGUT46.js} +3 -15
- package/dist/{chunk-G5SX4UPR.js → chunk-4DD6AOCG.js} +2 -2
- package/dist/{chunk-67CVNDJ7.js → chunk-53ZKTQO6.js} +1 -1
- package/dist/{chunk-43RYMWJ2.js → chunk-5UNB623T.js} +809 -213
- package/dist/{chunk-2QG4MZQ7.js → chunk-6RQ5GCWH.js} +2 -2
- package/dist/{chunk-MIAKQNYX.js → chunk-6ZK6FZIV.js} +1 -1
- package/dist/{chunk-6V762AB4.js → chunk-BXLS3I4W.js} +1 -1
- package/dist/{chunk-CWEZEPD4.js → chunk-CI3VK7X5.js} +68 -2
- package/dist/{chunk-EW5MLKT5.js → chunk-JZPQ5K4V.js} +1 -55
- package/dist/{chunk-HWCQRGLL.js → chunk-KBNDFU6J.js} +105 -37
- package/dist/{chunk-FHC4JUSF.js → chunk-MGH5ADQS.js} +1 -2
- package/dist/{chunk-TVE25LPW.js → chunk-N7TMYLF2.js} +1 -1
- package/dist/{chunk-CEYOL62C.js → chunk-OF5FODBL.js} +120 -20
- package/dist/{chunk-6OPTF4BQ.js → chunk-PE44LDDQ.js} +0 -1
- package/dist/{chunk-LYA2AB5G.js → chunk-PGKWXHYJ.js} +8 -52
- package/dist/{chunk-SYJT7AKB.js → chunk-PZGPCOSD.js} +1 -1
- package/dist/{chunk-JQFJO5WH.js → chunk-RXRQJF7Y.js} +74 -17
- package/dist/{chunk-G36V2YGB.js → chunk-TC4ZEM2D.js} +33 -1
- package/dist/{chunk-AGLQYELI.js → chunk-UEVLIYK5.js} +170 -170
- package/dist/{chunk-YCLO7D7M.js → chunk-VKZ6WVAY.js} +77 -26
- package/dist/{chunk-RAVKCKXA.js → chunk-VZCSLYCE.js} +20 -5
- package/dist/{chunk-SG5WAA7H.js → chunk-WKU7TY22.js} +0 -3
- package/dist/cli/chat.js +23 -23
- package/dist/cli/check.js +6 -6
- package/dist/cli/plugins.js +13 -13
- package/dist/cli/snapshot-warmup.js +8 -8
- package/dist/cli/upgrade.js +7 -7
- package/dist/db/schema/api-tokens.d.ts +160 -0
- package/dist/db/schema/conversation-annotations.d.ts +142 -0
- package/dist/db/schema.d.ts +305 -1
- package/dist/{db-KBSJHAZU.js → db-57FHVGGQ.js} +6 -6
- package/dist/handlers/agent-dispatch.d.ts +7 -3
- package/dist/instrumentation.js +2 -2
- package/dist/nitro.js +5 -5
- package/dist/{oauth-callback-server-EYRMJTCS.js → oauth-callback-server-PAQRPXZX.js} +18 -18
- package/dist/personal-tokens/store.d.ts +27 -0
- package/dist/{plugins-PZMDS7AT.js → plugins-IUJA4VBU.js} +1 -1
- package/dist/reporting-schema.d.ts +0 -2
- package/dist/{runner-RQGZ5Z2S.js → runner-4ISZYJEX.js} +12 -12
- package/dist/{skills-JJQIE3BT.js → skills-UE2KXQMB.js} +6 -6
- package/dist/{validation-MZ47PZP5.js → validation-PO5LHTJT.js} +6 -6
- package/dist/version.js +1 -1
- package/migrations/0008_sticky_rage.sql +14 -0
- package/migrations/0009_slippery_harrier.sql +12 -0
- package/migrations/0010_native_conversation_history.sql +142 -0
- package/migrations/meta/0008_snapshot.json +1076 -0
- package/migrations/meta/0009_snapshot.json +1146 -0
- package/migrations/meta/0010_snapshot.json +1190 -0
- package/migrations/meta/_journal.json +22 -1
- package/package.json +6 -7
- package/dist/chat/agent-dispatch/runner.d.ts +0 -13
- package/dist/chat/capabilities/catalog.d.ts +0 -16
- package/dist/{chunk-KNFROR7R.js → chunk-5I6ORJUY.js} +1 -1
|
@@ -11,22 +11,22 @@ import {
|
|
|
11
11
|
getPlugins,
|
|
12
12
|
setPlugins,
|
|
13
13
|
validatePlugins
|
|
14
|
-
} from "./chunk-
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
14
|
+
} from "./chunk-VZCSLYCE.js";
|
|
15
|
+
import "./chunk-53ZKTQO6.js";
|
|
16
|
+
import "./chunk-CI3VK7X5.js";
|
|
17
|
+
import "./chunk-KBNDFU6J.js";
|
|
18
|
+
import "./chunk-RXRQJF7Y.js";
|
|
19
19
|
import "./chunk-4ZNGQH7C.js";
|
|
20
|
-
import "./chunk-
|
|
20
|
+
import "./chunk-PZGPCOSD.js";
|
|
21
21
|
import "./chunk-VFUK3X5B.js";
|
|
22
22
|
import "./chunk-FXOYURO4.js";
|
|
23
23
|
import "./chunk-HZF5P5UN.js";
|
|
24
|
-
import "./chunk-
|
|
24
|
+
import "./chunk-3JOGUT46.js";
|
|
25
25
|
import "./chunk-OB42YVAE.js";
|
|
26
26
|
import "./chunk-F3B2YJ76.js";
|
|
27
27
|
import "./chunk-6GWA276C.js";
|
|
28
|
-
import "./chunk-
|
|
29
|
-
import "./chunk-
|
|
28
|
+
import "./chunk-N7TMYLF2.js";
|
|
29
|
+
import "./chunk-MGH5ADQS.js";
|
|
30
30
|
import "./chunk-MLKGABMK.js";
|
|
31
31
|
export {
|
|
32
32
|
PluginHookDeniedError,
|
|
@@ -52,6 +52,24 @@ declare const _default: import("../route").ApiRoute<import("zod").ZodObject<{
|
|
|
52
52
|
locationId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
53
53
|
sentryTraceUrl: import("zod").ZodOptional<import("zod").ZodString>;
|
|
54
54
|
traceId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
55
|
+
annotations: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodIntersection<import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
56
|
+
kind: import("zod").ZodLiteral<"resource_link">;
|
|
57
|
+
key: import("zod").ZodString;
|
|
58
|
+
label: import("zod").ZodString;
|
|
59
|
+
url: import("zod").ZodString;
|
|
60
|
+
description: import("zod").ZodOptional<import("zod").ZodString>;
|
|
61
|
+
status: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
62
|
+
warning: "warning";
|
|
63
|
+
open: "open";
|
|
64
|
+
draft: "draft";
|
|
65
|
+
closed: "closed";
|
|
66
|
+
merged: "merged";
|
|
67
|
+
}>>;
|
|
68
|
+
}, import("zod/v4/core").$strict>], "kind">, import("zod").ZodObject<{
|
|
69
|
+
plugin: import("zod").ZodString;
|
|
70
|
+
createdAt: import("zod").ZodString;
|
|
71
|
+
updatedAt: import("zod").ZodString;
|
|
72
|
+
}, import("zod/v4/core").$strip>>>>;
|
|
55
73
|
modelUsage: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
56
74
|
modelId: import("zod").ZodString;
|
|
57
75
|
usage: import("zod").ZodObject<{
|
|
@@ -5,7 +5,7 @@ import type { ConversationReportEvent } from "../schema/conversation";
|
|
|
5
5
|
*
|
|
6
6
|
* Source rows are scanned in bounded chunks until the requested projected page
|
|
7
7
|
* and one older event are known. This keeps ordinary pages bounded without
|
|
8
|
-
* assuming every
|
|
8
|
+
* assuming every agent history event produces a reporting event.
|
|
9
9
|
*/
|
|
10
10
|
export declare function readConversationEventPage(executor: JuniorSqlDatabase, args: {
|
|
11
11
|
beforeSeq?: number;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { ConversationEvent } from "@/chat/conversations/history";
|
|
2
2
|
import { type ConversationReportEvent } from "../schema/conversation";
|
|
3
3
|
/** Canonical event types that can contribute to the reporting projection. */
|
|
4
|
-
export declare const conversationReportSourceEventTypes: readonly ["message", "message_handled", "
|
|
4
|
+
export declare const conversationReportSourceEventTypes: readonly ["message", "message_handled", "assistant_message", "tool_result", "tool_execution_started", "turn_started", "turn_routed", "turn_completed", "turn_failed", "compaction", "handoff", "subagent_started", "subagent_ended"];
|
|
5
5
|
/** Return tool result ids that may need start metadata from outside a page. */
|
|
6
6
|
export declare function conversationReportToolResultIds(events: ConversationEvent[]): string[];
|
|
7
7
|
/**
|
|
@@ -16,8 +16,8 @@ declare const _default: import("../route").ApiRoute<import("zod").ZodObject<{
|
|
|
16
16
|
}, import("zod/v4/core").$strict>>;
|
|
17
17
|
generatedAt: import("zod").ZodString;
|
|
18
18
|
locations: import("zod").ZodArray<import("zod").ZodObject<{
|
|
19
|
-
failed: import("zod").ZodNumber;
|
|
20
19
|
label: import("zod").ZodString;
|
|
20
|
+
failed: import("zod").ZodNumber;
|
|
21
21
|
durationMs: import("zod").ZodNumber;
|
|
22
22
|
active: import("zod").ZodNumber;
|
|
23
23
|
conversations: import("zod").ZodNumber;
|
|
@@ -79,8 +79,8 @@ declare const _default: import("../route").ApiRoute<import("zod").ZodObject<{
|
|
|
79
79
|
}, import("zod/v4/core").$strict>;
|
|
80
80
|
source: import("zod").ZodLiteral<"conversation_index">;
|
|
81
81
|
surfaces: import("zod").ZodArray<import("zod").ZodObject<{
|
|
82
|
-
failed: import("zod").ZodNumber;
|
|
83
82
|
label: import("zod").ZodString;
|
|
83
|
+
failed: import("zod").ZodNumber;
|
|
84
84
|
durationMs: import("zod").ZodNumber;
|
|
85
85
|
active: import("zod").ZodNumber;
|
|
86
86
|
conversations: import("zod").ZodNumber;
|
|
@@ -1229,8 +1229,8 @@ export declare function emptyActivityDay(date: string): ActorActivityDayReport;
|
|
|
1229
1229
|
export declare function activityDays(days: Map<string, ActorActivityDayReport>, nowMs: number): ActorActivityDayReport[];
|
|
1230
1230
|
/** Return deterministic stats rows for people API responses. */
|
|
1231
1231
|
export declare function statsItems(map: Map<string, ConversationStatsItem>): {
|
|
1232
|
-
failed: number;
|
|
1233
1232
|
label: string;
|
|
1233
|
+
failed: number;
|
|
1234
1234
|
durationMs: number;
|
|
1235
1235
|
active: number;
|
|
1236
1236
|
conversations: number;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/** Create a personal API token for the authenticated viewer. */
|
|
2
|
+
declare const _default: import("../route").ApiRoute<import("zod").ZodObject<{
|
|
3
|
+
id: import("zod").ZodString;
|
|
4
|
+
name: import("zod").ZodString;
|
|
5
|
+
tokenSuffix: import("zod").ZodString;
|
|
6
|
+
createdAt: import("zod").ZodString;
|
|
7
|
+
expiresAt: import("zod").ZodString;
|
|
8
|
+
lastUsedAt: import("zod").ZodNullable<import("zod").ZodString>;
|
|
9
|
+
token: import("zod").ZodString;
|
|
10
|
+
}, import("zod/v4/core").$strict>>;
|
|
11
|
+
export default _default;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/** List active personal API tokens owned by the authenticated viewer. */
|
|
2
|
+
declare const _default: import("../route").ApiRoute<import("zod").ZodObject<{
|
|
3
|
+
tokens: import("zod").ZodArray<import("zod").ZodObject<{
|
|
4
|
+
id: import("zod").ZodString;
|
|
5
|
+
name: import("zod").ZodString;
|
|
6
|
+
tokenSuffix: import("zod").ZodString;
|
|
7
|
+
createdAt: import("zod").ZodString;
|
|
8
|
+
expiresAt: import("zod").ZodString;
|
|
9
|
+
lastUsedAt: import("zod").ZodNullable<import("zod").ZodString>;
|
|
10
|
+
}, import("zod/v4/core").$strict>>;
|
|
11
|
+
}, import("zod/v4/core").$strict>>;
|
|
12
|
+
export default _default;
|
package/dist/api/plugins.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
/** Serve safe manifest metadata for loaded plugins. */
|
|
2
2
|
declare const _default: import("./route").ApiRoute<import("zod").ZodArray<import("zod").ZodObject<{
|
|
3
|
-
capabilities: import("zod").ZodArray<import("zod").ZodString>;
|
|
4
3
|
configKeys: import("zod").ZodArray<import("zod").ZodString>;
|
|
5
4
|
description: import("zod").ZodString;
|
|
6
5
|
displayName: import("zod").ZodString;
|
package/dist/api/route.d.ts
CHANGED
|
@@ -11,7 +11,7 @@ export type JuniorApiEnv = {
|
|
|
11
11
|
/** Describe one schema-owned REST endpoint. */
|
|
12
12
|
export type ApiRoute<TResponseSchema extends z.ZodType = z.ZodType> = {
|
|
13
13
|
handler: (context: Context<JuniorApiEnv>) => Promise<z.input<TResponseSchema>> | z.input<TResponseSchema>;
|
|
14
|
-
method: "get" | "patch";
|
|
14
|
+
method: "delete" | "get" | "patch" | "post";
|
|
15
15
|
path: string;
|
|
16
16
|
responseSchema: TResponseSchema;
|
|
17
17
|
};
|
|
@@ -373,6 +373,24 @@ export declare const conversationDetailReportSchema: z.ZodObject<{
|
|
|
373
373
|
locationId: z.ZodOptional<z.ZodString>;
|
|
374
374
|
sentryTraceUrl: z.ZodOptional<z.ZodString>;
|
|
375
375
|
traceId: z.ZodOptional<z.ZodString>;
|
|
376
|
+
annotations: z.ZodOptional<z.ZodArray<z.ZodIntersection<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
377
|
+
kind: z.ZodLiteral<"resource_link">;
|
|
378
|
+
key: z.ZodString;
|
|
379
|
+
label: z.ZodString;
|
|
380
|
+
url: z.ZodString;
|
|
381
|
+
description: z.ZodOptional<z.ZodString>;
|
|
382
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
383
|
+
warning: "warning";
|
|
384
|
+
open: "open";
|
|
385
|
+
draft: "draft";
|
|
386
|
+
closed: "closed";
|
|
387
|
+
merged: "merged";
|
|
388
|
+
}>>;
|
|
389
|
+
}, z.core.$strict>], "kind">, z.ZodObject<{
|
|
390
|
+
plugin: z.ZodString;
|
|
391
|
+
createdAt: z.ZodString;
|
|
392
|
+
updatedAt: z.ZodString;
|
|
393
|
+
}, z.core.$strip>>>>;
|
|
376
394
|
modelUsage: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
377
395
|
modelId: z.ZodString;
|
|
378
396
|
usage: z.ZodObject<{
|
|
@@ -4,8 +4,8 @@ export declare const personParamsSchema: z.ZodObject<{
|
|
|
4
4
|
email: z.ZodString;
|
|
5
5
|
}, z.core.$strict>;
|
|
6
6
|
export declare const peopleConversationStatsItemSchema: z.ZodObject<{
|
|
7
|
-
failed: z.ZodNumber;
|
|
8
7
|
label: z.ZodString;
|
|
8
|
+
failed: z.ZodNumber;
|
|
9
9
|
durationMs: z.ZodNumber;
|
|
10
10
|
active: z.ZodNumber;
|
|
11
11
|
conversations: z.ZodNumber;
|
|
@@ -94,8 +94,8 @@ export declare const actorProfileReportSchema: z.ZodObject<{
|
|
|
94
94
|
}, z.core.$strict>>;
|
|
95
95
|
generatedAt: z.ZodString;
|
|
96
96
|
locations: z.ZodArray<z.ZodObject<{
|
|
97
|
-
failed: z.ZodNumber;
|
|
98
97
|
label: z.ZodString;
|
|
98
|
+
failed: z.ZodNumber;
|
|
99
99
|
durationMs: z.ZodNumber;
|
|
100
100
|
active: z.ZodNumber;
|
|
101
101
|
conversations: z.ZodNumber;
|
|
@@ -157,8 +157,8 @@ export declare const actorProfileReportSchema: z.ZodObject<{
|
|
|
157
157
|
}, z.core.$strict>;
|
|
158
158
|
source: z.ZodLiteral<"conversation_index">;
|
|
159
159
|
surfaces: z.ZodArray<z.ZodObject<{
|
|
160
|
-
failed: z.ZodNumber;
|
|
161
160
|
label: z.ZodString;
|
|
161
|
+
failed: z.ZodNumber;
|
|
162
162
|
durationMs: z.ZodNumber;
|
|
163
163
|
active: z.ZodNumber;
|
|
164
164
|
conversations: z.ZodNumber;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const personalTokenMetadataSchema: z.ZodObject<{
|
|
3
|
+
id: z.ZodString;
|
|
4
|
+
name: z.ZodString;
|
|
5
|
+
tokenSuffix: z.ZodString;
|
|
6
|
+
createdAt: z.ZodString;
|
|
7
|
+
expiresAt: z.ZodString;
|
|
8
|
+
lastUsedAt: z.ZodNullable<z.ZodString>;
|
|
9
|
+
}, z.core.$strict>;
|
|
10
|
+
export declare const personalTokenListSchema: z.ZodObject<{
|
|
11
|
+
tokens: z.ZodArray<z.ZodObject<{
|
|
12
|
+
id: z.ZodString;
|
|
13
|
+
name: z.ZodString;
|
|
14
|
+
tokenSuffix: z.ZodString;
|
|
15
|
+
createdAt: z.ZodString;
|
|
16
|
+
expiresAt: z.ZodString;
|
|
17
|
+
lastUsedAt: z.ZodNullable<z.ZodString>;
|
|
18
|
+
}, z.core.$strict>>;
|
|
19
|
+
}, z.core.$strict>;
|
|
20
|
+
export declare const createPersonalTokenBodySchema: z.ZodObject<{
|
|
21
|
+
name: z.ZodString;
|
|
22
|
+
}, z.core.$strict>;
|
|
23
|
+
export declare const createdPersonalTokenSchema: z.ZodObject<{
|
|
24
|
+
id: z.ZodString;
|
|
25
|
+
name: z.ZodString;
|
|
26
|
+
tokenSuffix: z.ZodString;
|
|
27
|
+
createdAt: z.ZodString;
|
|
28
|
+
expiresAt: z.ZodString;
|
|
29
|
+
lastUsedAt: z.ZodNullable<z.ZodString>;
|
|
30
|
+
token: z.ZodString;
|
|
31
|
+
}, z.core.$strict>;
|
|
32
|
+
export declare const personalTokenParamsSchema: z.ZodObject<{
|
|
33
|
+
id: z.ZodString;
|
|
34
|
+
}, z.core.$strict>;
|
|
35
|
+
export declare const revokePersonalTokenResponseSchema: z.ZodObject<{
|
|
36
|
+
revoked: z.ZodLiteral<true>;
|
|
37
|
+
}, z.core.$strict>;
|
|
38
|
+
export type PersonalTokenMetadata = z.infer<typeof personalTokenMetadataSchema>;
|
package/dist/api/schema.d.ts
CHANGED
|
@@ -8,5 +8,7 @@ export type { LocationActorSummaryReport, LocationActivityDayReport, LocationDet
|
|
|
8
8
|
export type { ActorActivityDayReport, ActorDirectoryReport, ActorProfileReport, ActorSummaryReport, ActorTotalsReport, PeopleActivityDayReport, PersonParams, } from "./schema/person";
|
|
9
9
|
export { apiErrorSchema } from "./schema/common";
|
|
10
10
|
export type { ApiError } from "./schema/common";
|
|
11
|
+
export { createPersonalTokenBodySchema, createdPersonalTokenSchema, personalTokenListSchema, personalTokenMetadataSchema, personalTokenParamsSchema, revokePersonalTokenResponseSchema, } from "./schema/personal-token";
|
|
12
|
+
export type { PersonalTokenMetadata } from "./schema/personal-token";
|
|
11
13
|
export { healthReportSchema, pluginOperationalReportFeedSchema, pluginOperationalReportSchema, pluginPackageContentItemReportSchema, pluginPackageContentReportSchema, pluginSchema, pluginsSchema, runtimeInfoReportSchema, skillReportSchema, skillReportsSchema, } from "../reporting-schema";
|
|
12
14
|
export type { HealthReport, PluginOperationalReport, PluginOperationalReportFeed, PluginPackageContentItemReport, PluginPackageContentReport, Plugin, Plugins, RuntimeInfoReport, SkillReport, SkillReports, } from "../reporting-schema";
|
package/dist/api/schema.js
CHANGED
|
@@ -16,13 +16,19 @@ import {
|
|
|
16
16
|
conversationReportEventSchema,
|
|
17
17
|
conversationStatsReportSchema,
|
|
18
18
|
conversationSummaryReportSchema,
|
|
19
|
+
createPersonalTokenBodySchema,
|
|
20
|
+
createdPersonalTokenSchema,
|
|
19
21
|
dailyConversationActivitySchema,
|
|
20
22
|
locationActivityDayReportSchema,
|
|
21
23
|
locationDetailReportSchema,
|
|
22
24
|
locationDirectoryReportSchema,
|
|
23
25
|
locationParamsSchema,
|
|
24
|
-
personParamsSchema
|
|
25
|
-
|
|
26
|
+
personParamsSchema,
|
|
27
|
+
personalTokenListSchema,
|
|
28
|
+
personalTokenMetadataSchema,
|
|
29
|
+
personalTokenParamsSchema,
|
|
30
|
+
revokePersonalTokenResponseSchema
|
|
31
|
+
} from "../chunk-TC4ZEM2D.js";
|
|
26
32
|
import {
|
|
27
33
|
healthReportSchema,
|
|
28
34
|
pluginOperationalReportFeedSchema,
|
|
@@ -34,7 +40,7 @@ import {
|
|
|
34
40
|
runtimeInfoReportSchema,
|
|
35
41
|
skillReportSchema,
|
|
36
42
|
skillReportsSchema
|
|
37
|
-
} from "../chunk-
|
|
43
|
+
} from "../chunk-PE44LDDQ.js";
|
|
38
44
|
import "../chunk-PDO5BLNM.js";
|
|
39
45
|
import "../chunk-VFUK3X5B.js";
|
|
40
46
|
import "../chunk-MLKGABMK.js";
|
|
@@ -56,6 +62,8 @@ export {
|
|
|
56
62
|
conversationReportEventSchema,
|
|
57
63
|
conversationStatsReportSchema,
|
|
58
64
|
conversationSummaryReportSchema,
|
|
65
|
+
createPersonalTokenBodySchema,
|
|
66
|
+
createdPersonalTokenSchema,
|
|
59
67
|
dailyConversationActivitySchema,
|
|
60
68
|
healthReportSchema,
|
|
61
69
|
locationActivityDayReportSchema,
|
|
@@ -63,12 +71,16 @@ export {
|
|
|
63
71
|
locationDirectoryReportSchema,
|
|
64
72
|
locationParamsSchema,
|
|
65
73
|
personParamsSchema,
|
|
74
|
+
personalTokenListSchema,
|
|
75
|
+
personalTokenMetadataSchema,
|
|
76
|
+
personalTokenParamsSchema,
|
|
66
77
|
pluginOperationalReportFeedSchema,
|
|
67
78
|
pluginOperationalReportSchema,
|
|
68
79
|
pluginPackageContentItemReportSchema,
|
|
69
80
|
pluginPackageContentReportSchema,
|
|
70
81
|
pluginSchema,
|
|
71
82
|
pluginsSchema,
|
|
83
|
+
revokePersonalTokenResponseSchema,
|
|
72
84
|
runtimeInfoReportSchema,
|
|
73
85
|
skillReportSchema,
|
|
74
86
|
skillReportsSchema
|
package/dist/api.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { Hono } from "hono";
|
|
2
2
|
import { jsonResponse } from "./api/http";
|
|
3
3
|
import { type JuniorApiEnv, type JuniorApiVariables } from "./api/route";
|
|
4
|
+
export { authenticatePersonalToken } from "./personal-tokens/store";
|
|
4
5
|
export type { JuniorApiVariables };
|
|
5
6
|
export { jsonResponse };
|
|
6
7
|
/** Create Junior's production REST API for authenticated dashboard consumers. */
|