@ghostpaw/questlog 0.9.1 → 0.10.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/README.md +180 -18
- package/SKILL.md +161 -32
- package/dist/{chunk-3Y5F3SMB.js → chunk-55JAQORX.js} +245 -665
- package/dist/{questlog_skill_spec-LOQ2FNOF.js → chunk-D2W5MYNO.js} +9 -54
- package/dist/chunk-GVD6A3RR.js +108 -0
- package/dist/chunk-IL2QRKZL.js +14 -0
- package/dist/chunk-N7V7VUI5.js +982 -0
- package/dist/chunk-QYSIJ2YN.js +47 -0
- package/dist/{chunk-3B6FMHZU.js → chunk-ZHTX64KD.js} +24 -0
- package/dist/cli.js +1 -1
- package/dist/{cli_main-ELAKW6KW.js → cli_main-7AIEZV75.js} +136 -120
- package/dist/index.cjs +2046 -1393
- package/dist/index.d.cts +142 -11
- package/dist/index.d.ts +142 -11
- package/dist/index.js +2046 -1394
- package/dist/mcp-server.js +959 -386
- package/dist/mcp.cjs +810 -328
- package/dist/mcp.js +811 -329
- package/dist/open_questlog_db-LAEH7UDM.js +2 -0
- package/dist/questlog_skill_spec-HEW2B6EB.js +76 -0
- package/dist/run_hook_command-C42BQC36.js +95 -0
- package/dist/{serve_questlog_mcp-QSHMNNFT.js → serve_questlog_mcp-W3R63HW4.js} +14 -4
- package/dist/{skill_markdown-7HCMSJYR.js → skill_markdown-HXYQ3K6U.js} +34 -6
- package/package.json +6 -3
- package/skills/questlog/SKILL.md +161 -32
- package/skills/questlog/references/webhooks.md +91 -0
- package/dist/chunk-KRQDV4KF.js +0 -58
- package/dist/open_questlog_db-SH3DAU4C.js +0 -2
package/dist/index.d.cts
CHANGED
|
@@ -1,5 +1,113 @@
|
|
|
1
1
|
import { Q as QuestlogDb } from './database-DShQ4N46.cjs';
|
|
2
2
|
|
|
3
|
+
declare const hookEventTypes: readonly ["quest.due", "quest.overdue", "quest.unblocked", "repeatable.spawned", "rumor.captured"];
|
|
4
|
+
type HookEventType = (typeof hookEventTypes)[number];
|
|
5
|
+
interface HookEvent {
|
|
6
|
+
id: string;
|
|
7
|
+
type: HookEventType | 'hook.test';
|
|
8
|
+
questId?: number;
|
|
9
|
+
rumorId?: number;
|
|
10
|
+
repeatableId?: number;
|
|
11
|
+
occurredAt: string;
|
|
12
|
+
}
|
|
13
|
+
interface HookTarget {
|
|
14
|
+
id: number;
|
|
15
|
+
url: string;
|
|
16
|
+
tag: string | null;
|
|
17
|
+
scope: 'database' | 'tag';
|
|
18
|
+
events: HookEventType[];
|
|
19
|
+
minGap: number;
|
|
20
|
+
createdAt: number;
|
|
21
|
+
lastWake: number | null;
|
|
22
|
+
pending: number;
|
|
23
|
+
failed: number;
|
|
24
|
+
}
|
|
25
|
+
interface HookDelivery {
|
|
26
|
+
id: string;
|
|
27
|
+
targetId: number;
|
|
28
|
+
events: HookEvent[];
|
|
29
|
+
status: 'pending' | 'delivered' | 'failed';
|
|
30
|
+
attempts: number;
|
|
31
|
+
lastAttemptAt: number | null;
|
|
32
|
+
httpStatus: number | null;
|
|
33
|
+
errorClass: string | null;
|
|
34
|
+
nextAttemptAt: number;
|
|
35
|
+
}
|
|
36
|
+
interface TickOptions {
|
|
37
|
+
now?: number;
|
|
38
|
+
clock?: () => number;
|
|
39
|
+
fetch?: typeof globalThis.fetch;
|
|
40
|
+
dryRun?: boolean;
|
|
41
|
+
timeoutMs?: number;
|
|
42
|
+
}
|
|
43
|
+
interface TickResult {
|
|
44
|
+
events: HookEvent[];
|
|
45
|
+
batches: {
|
|
46
|
+
targetId: number;
|
|
47
|
+
events: HookEvent[];
|
|
48
|
+
}[];
|
|
49
|
+
sent: number;
|
|
50
|
+
queued: number;
|
|
51
|
+
retrying: number;
|
|
52
|
+
failed: number;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
/** The secret is returned only at creation. Store it securely at the receiver. */
|
|
56
|
+
declare function addHook(db: QuestlogDb, input: {
|
|
57
|
+
url: string;
|
|
58
|
+
tag?: string;
|
|
59
|
+
events?: HookEventType[];
|
|
60
|
+
minGap?: number;
|
|
61
|
+
secret?: string;
|
|
62
|
+
now?: number;
|
|
63
|
+
}): {
|
|
64
|
+
id: number;
|
|
65
|
+
secret: string;
|
|
66
|
+
};
|
|
67
|
+
|
|
68
|
+
declare function hookLabel(db: QuestlogDb, name?: string): string;
|
|
69
|
+
|
|
70
|
+
declare function listDeliveries(db: QuestlogDb, options?: {
|
|
71
|
+
questId?: number;
|
|
72
|
+
includeDelivered?: boolean;
|
|
73
|
+
}): HookDelivery[];
|
|
74
|
+
|
|
75
|
+
declare function listHooks(db: QuestlogDb): HookTarget[];
|
|
76
|
+
|
|
77
|
+
declare function removeHook(db: QuestlogDb, id: number): void;
|
|
78
|
+
|
|
79
|
+
declare function testHook(db: QuestlogDb, id: number, options?: TickOptions): Promise<{
|
|
80
|
+
id: string;
|
|
81
|
+
delivered: boolean;
|
|
82
|
+
}>;
|
|
83
|
+
|
|
84
|
+
declare function tickQuestlog(db: QuestlogDb, options?: TickOptions): Promise<TickResult>;
|
|
85
|
+
|
|
86
|
+
declare function watchQuestlog(db: QuestlogDb, options: TickOptions & {
|
|
87
|
+
interval?: number;
|
|
88
|
+
signal: AbortSignal;
|
|
89
|
+
onTick?: (result: TickResult) => void;
|
|
90
|
+
}): Promise<void>;
|
|
91
|
+
|
|
92
|
+
type index$3_HookDelivery = HookDelivery;
|
|
93
|
+
type index$3_HookEvent = HookEvent;
|
|
94
|
+
type index$3_HookEventType = HookEventType;
|
|
95
|
+
type index$3_HookTarget = HookTarget;
|
|
96
|
+
type index$3_TickOptions = TickOptions;
|
|
97
|
+
type index$3_TickResult = TickResult;
|
|
98
|
+
declare const index$3_addHook: typeof addHook;
|
|
99
|
+
declare const index$3_hookEventTypes: typeof hookEventTypes;
|
|
100
|
+
declare const index$3_hookLabel: typeof hookLabel;
|
|
101
|
+
declare const index$3_listDeliveries: typeof listDeliveries;
|
|
102
|
+
declare const index$3_listHooks: typeof listHooks;
|
|
103
|
+
declare const index$3_removeHook: typeof removeHook;
|
|
104
|
+
declare const index$3_testHook: typeof testHook;
|
|
105
|
+
declare const index$3_tickQuestlog: typeof tickQuestlog;
|
|
106
|
+
declare const index$3_watchQuestlog: typeof watchQuestlog;
|
|
107
|
+
declare namespace index$3 {
|
|
108
|
+
export { type index$3_HookDelivery as HookDelivery, type index$3_HookEvent as HookEvent, type index$3_HookEventType as HookEventType, type index$3_HookTarget as HookTarget, type index$3_TickOptions as TickOptions, type index$3_TickResult as TickResult, index$3_addHook as addHook, index$3_hookEventTypes as hookEventTypes, index$3_hookLabel as hookLabel, index$3_listDeliveries as listDeliveries, index$3_listHooks as listHooks, index$3_removeHook as removeHook, index$3_testHook as testHook, index$3_tickQuestlog as tickQuestlog, index$3_watchQuestlog as watchQuestlog };
|
|
109
|
+
}
|
|
110
|
+
|
|
3
111
|
/**
|
|
4
112
|
* Creates the full standalone questlog schema, including FTS and indexing.
|
|
5
113
|
*/
|
|
@@ -1097,7 +1205,7 @@ interface JsonSchema {
|
|
|
1097
1205
|
anyOf?: ReadonlyArray<JsonSchema> | undefined;
|
|
1098
1206
|
}
|
|
1099
1207
|
type ToolSideEffects = 'none' | 'writes_state';
|
|
1100
|
-
interface QuestlogToolDefinition<TInput, TResult extends ToolResult<unknown
|
|
1208
|
+
interface QuestlogToolDefinition<TInput, TResult extends ToolResult<unknown> | Promise<ToolResult<unknown>>> {
|
|
1101
1209
|
name: string;
|
|
1102
1210
|
description: string;
|
|
1103
1211
|
whenToUse: string;
|
|
@@ -1111,8 +1219,8 @@ interface QuestlogToolDefinition<TInput, TResult extends ToolResult<unknown>> {
|
|
|
1111
1219
|
inputSchema: JsonSchema;
|
|
1112
1220
|
handler: (db: QuestlogDb, input: TInput) => TResult;
|
|
1113
1221
|
}
|
|
1114
|
-
type ToolDefinitionRegistry = readonly QuestlogToolDefinition<never, ToolResult<unknown
|
|
1115
|
-
declare function defineQuestlogTool<TInput, TResult extends ToolResult<unknown
|
|
1222
|
+
type ToolDefinitionRegistry = readonly QuestlogToolDefinition<never, ToolResult<unknown> | Promise<ToolResult<unknown>>>[];
|
|
1223
|
+
declare function defineQuestlogTool<TInput, TResult extends ToolResult<unknown> | Promise<ToolResult<unknown>>>(definition: QuestlogToolDefinition<TInput, TResult>): QuestlogToolDefinition<TInput, TResult>;
|
|
1116
1224
|
declare function stringSchema(description: string, options?: Partial<JsonSchema>): JsonSchema;
|
|
1117
1225
|
declare function numberSchema(description: string, options?: Partial<JsonSchema>): JsonSchema;
|
|
1118
1226
|
declare function integerSchema(description: string, options?: Partial<JsonSchema>): JsonSchema;
|
|
@@ -1149,6 +1257,7 @@ interface InspectQuestlogItemToolInput {
|
|
|
1149
1257
|
}
|
|
1150
1258
|
interface InspectQuestlogItemToolData {
|
|
1151
1259
|
item: QuestInspectItem;
|
|
1260
|
+
deliveries?: HookDelivery[];
|
|
1152
1261
|
related: ToolEntityRef[];
|
|
1153
1262
|
detailLevel: 'compact' | 'full';
|
|
1154
1263
|
}
|
|
@@ -1213,6 +1322,12 @@ type InspectQuestlogItemToolResult = ToolResult<InspectQuestlogItemToolData>;
|
|
|
1213
1322
|
declare function inspectQuestlogItemToolHandler(db: Parameters<typeof getQuestDetail>[0], input: InspectQuestlogItemToolInput): InspectQuestlogItemToolResult;
|
|
1214
1323
|
declare const inspectQuestlogItemTool: QuestlogToolDefinition<InspectQuestlogItemToolInput, InspectQuestlogItemToolResult>;
|
|
1215
1324
|
|
|
1325
|
+
declare const manageHooksTool: QuestlogToolDefinition<{
|
|
1326
|
+
action: "list" | "remove" | "tick" | "deliveries";
|
|
1327
|
+
id?: number;
|
|
1328
|
+
dry_run?: boolean;
|
|
1329
|
+
}, Promise<ToolResult<unknown>>>;
|
|
1330
|
+
|
|
1216
1331
|
/**
|
|
1217
1332
|
* Loads a single active repeatable quest or throws.
|
|
1218
1333
|
*/
|
|
@@ -1322,7 +1437,7 @@ type RetireWorkToolResult = ToolResult<RetireWorkToolData>;
|
|
|
1322
1437
|
declare function retireWorkToolHandler(db: QuestlogDb, input: RetireWorkToolInput): RetireWorkToolResult;
|
|
1323
1438
|
declare const retireWorkTool: QuestlogToolDefinition<RetireWorkToolInput, RetireWorkToolResult>;
|
|
1324
1439
|
|
|
1325
|
-
type ReviewQuestlogToolView = 'questlines' | 'quests.active' | 'quests.available' | 'quests.blocked' | 'quests.deferred' | 'quests.due_soon' | 'quests.in_progress' | 'quests.missed_scheduled' | 'quests.open' | 'quests.overdue' | 'quests.resolved' | 'quests.scheduled_for_day' | 'quests.scheduled_now' | 'repeatables.due_anchors' | 'rumors';
|
|
1440
|
+
type ReviewQuestlogToolView = 'deliveries' | 'questlines' | 'quests.active' | 'quests.available' | 'quests.blocked' | 'quests.deferred' | 'quests.due_soon' | 'quests.in_progress' | 'quests.missed_scheduled' | 'quests.open' | 'quests.overdue' | 'quests.resolved' | 'quests.scheduled_for_day' | 'quests.scheduled_now' | 'repeatables.due_anchors' | 'rumors';
|
|
1326
1441
|
interface ReviewQuestlogToolInput {
|
|
1327
1442
|
view: ReviewQuestlogToolView;
|
|
1328
1443
|
filters?: {
|
|
@@ -1336,6 +1451,7 @@ interface ReviewQuestlogToolInput {
|
|
|
1336
1451
|
interface ReviewQuestlogToolData {
|
|
1337
1452
|
view: ReviewQuestlogToolView;
|
|
1338
1453
|
items: ToolListItem[];
|
|
1454
|
+
deliveries?: HookDelivery[];
|
|
1339
1455
|
count: number;
|
|
1340
1456
|
appliedFilters: ReviewQuestlogToolInput['filters'] | undefined;
|
|
1341
1457
|
evaluatedAt: number;
|
|
@@ -1555,14 +1671,27 @@ declare const manageRepeatableToolName = "manage_repeatable";
|
|
|
1555
1671
|
declare const tagWorkToolName = "tag_work";
|
|
1556
1672
|
declare const rewardWorkToolName = "reward_work";
|
|
1557
1673
|
declare const retireWorkToolName = "retire_work";
|
|
1558
|
-
|
|
1559
|
-
|
|
1560
|
-
declare
|
|
1561
|
-
|
|
1674
|
+
declare const manageHooksToolName = "manage_hooks";
|
|
1675
|
+
|
|
1676
|
+
declare const questlogTools: (QuestlogToolDefinition<CaptureRumorInput, CaptureRumorToolResult> | QuestlogToolDefinition<InspectQuestlogItemToolInput, InspectQuestlogItemToolResult> | QuestlogToolDefinition<{
|
|
1677
|
+
action: "list" | "remove" | "tick" | "deliveries";
|
|
1678
|
+
id?: number;
|
|
1679
|
+
dry_run?: boolean;
|
|
1680
|
+
}, Promise<ToolResult<unknown>>> | QuestlogToolDefinition<ManageRepeatableToolInput, ManageRepeatableToolResult> | QuestlogToolDefinition<OrganizeWorkToolInput, OrganizeWorkToolResult> | QuestlogToolDefinition<PlanQuestToolInput, PlanQuestToolResult> | QuestlogToolDefinition<RetireWorkToolInput, RetireWorkToolResult> | QuestlogToolDefinition<ReviewQuestlogToolInput, ReviewQuestlogToolResult> | QuestlogToolDefinition<RewardWorkToolInput, RewardWorkToolResult> | QuestlogToolDefinition<RunQuestToolInput, RunQuestToolResult> | QuestlogToolDefinition<SearchQuestlogToolInput, SearchQuestlogToolResult> | QuestlogToolDefinition<ShapeWorkToolInput, ShapeWorkToolResult> | QuestlogToolDefinition<TagWorkToolInput, TagWorkToolResult>)[];
|
|
1681
|
+
declare function listQuestlogToolDefinitions(): (QuestlogToolDefinition<CaptureRumorInput, CaptureRumorToolResult> | QuestlogToolDefinition<InspectQuestlogItemToolInput, InspectQuestlogItemToolResult> | QuestlogToolDefinition<{
|
|
1682
|
+
action: "list" | "remove" | "tick" | "deliveries";
|
|
1683
|
+
id?: number;
|
|
1684
|
+
dry_run?: boolean;
|
|
1685
|
+
}, Promise<ToolResult<unknown>>> | QuestlogToolDefinition<ManageRepeatableToolInput, ManageRepeatableToolResult> | QuestlogToolDefinition<OrganizeWorkToolInput, OrganizeWorkToolResult> | QuestlogToolDefinition<PlanQuestToolInput, PlanQuestToolResult> | QuestlogToolDefinition<RetireWorkToolInput, RetireWorkToolResult> | QuestlogToolDefinition<ReviewQuestlogToolInput, ReviewQuestlogToolResult> | QuestlogToolDefinition<RewardWorkToolInput, RewardWorkToolResult> | QuestlogToolDefinition<RunQuestToolInput, RunQuestToolResult> | QuestlogToolDefinition<SearchQuestlogToolInput, SearchQuestlogToolResult> | QuestlogToolDefinition<ShapeWorkToolInput, ShapeWorkToolResult> | QuestlogToolDefinition<TagWorkToolInput, TagWorkToolResult>)[];
|
|
1686
|
+
declare function getQuestlogToolByName(name: string): QuestlogToolDefinition<CaptureRumorInput, CaptureRumorToolResult> | QuestlogToolDefinition<InspectQuestlogItemToolInput, InspectQuestlogItemToolResult> | QuestlogToolDefinition<{
|
|
1687
|
+
action: "list" | "remove" | "tick" | "deliveries";
|
|
1688
|
+
id?: number;
|
|
1689
|
+
dry_run?: boolean;
|
|
1690
|
+
}, Promise<ToolResult<unknown>>> | QuestlogToolDefinition<ManageRepeatableToolInput, ManageRepeatableToolResult> | QuestlogToolDefinition<OrganizeWorkToolInput, OrganizeWorkToolResult> | QuestlogToolDefinition<PlanQuestToolInput, PlanQuestToolResult> | QuestlogToolDefinition<RetireWorkToolInput, RetireWorkToolResult> | QuestlogToolDefinition<ReviewQuestlogToolInput, ReviewQuestlogToolResult> | QuestlogToolDefinition<RewardWorkToolInput, RewardWorkToolResult> | QuestlogToolDefinition<RunQuestToolInput, RunQuestToolResult> | QuestlogToolDefinition<SearchQuestlogToolInput, SearchQuestlogToolResult> | QuestlogToolDefinition<ShapeWorkToolInput, ShapeWorkToolResult> | QuestlogToolDefinition<TagWorkToolInput, TagWorkToolResult> | null;
|
|
1562
1691
|
|
|
1563
1692
|
type index_JsonSchema = JsonSchema;
|
|
1564
1693
|
type index_JsonSchemaType = JsonSchemaType;
|
|
1565
|
-
type index_QuestlogToolDefinition<TInput, TResult extends ToolResult<unknown
|
|
1694
|
+
type index_QuestlogToolDefinition<TInput, TResult extends ToolResult<unknown> | Promise<ToolResult<unknown>>> = QuestlogToolDefinition<TInput, TResult>;
|
|
1566
1695
|
type index_QuestlogToolMapping = QuestlogToolMapping;
|
|
1567
1696
|
type index_ToolClarificationCode = ToolClarificationCode;
|
|
1568
1697
|
type index_ToolDefinitionRegistry = ToolDefinitionRegistry;
|
|
@@ -1597,6 +1726,8 @@ declare const index_inspectQuestlogItemToolName: typeof inspectQuestlogItemToolN
|
|
|
1597
1726
|
declare const index_integerSchema: typeof integerSchema;
|
|
1598
1727
|
declare const index_listQuestlogToolDefinitions: typeof listQuestlogToolDefinitions;
|
|
1599
1728
|
declare const index_literalSchema: typeof literalSchema;
|
|
1729
|
+
declare const index_manageHooksTool: typeof manageHooksTool;
|
|
1730
|
+
declare const index_manageHooksToolName: typeof manageHooksToolName;
|
|
1600
1731
|
declare const index_manageRepeatableTool: typeof manageRepeatableTool;
|
|
1601
1732
|
declare const index_manageRepeatableToolHandler: typeof manageRepeatableToolHandler;
|
|
1602
1733
|
declare const index_manageRepeatableToolName: typeof manageRepeatableToolName;
|
|
@@ -1639,7 +1770,7 @@ declare const index_toolNoOp: typeof toolNoOp;
|
|
|
1639
1770
|
declare const index_toolSuccess: typeof toolSuccess;
|
|
1640
1771
|
declare const index_toolWarning: typeof toolWarning;
|
|
1641
1772
|
declare namespace index {
|
|
1642
|
-
export { type index_JsonSchema as JsonSchema, type index_JsonSchemaType as JsonSchemaType, type index_QuestlogToolDefinition as QuestlogToolDefinition, type index_QuestlogToolMapping as QuestlogToolMapping, type index_ToolClarificationCode as ToolClarificationCode, type index_ToolDefinitionRegistry as ToolDefinitionRegistry, type index_ToolEntityKind as ToolEntityKind, type index_ToolEntityRef as ToolEntityRef, type index_ToolErrorCode as ToolErrorCode, type index_ToolErrorKind as ToolErrorKind, type index_ToolFailure as ToolFailure, type index_ToolInputDescriptions as ToolInputDescriptions, type index_ToolListItem as ToolListItem, type index_ToolNeedsClarification as ToolNeedsClarification, type index_ToolNextStepHint as ToolNextStepHint, type index_ToolNextStepHintKind as ToolNextStepHintKind, type index_ToolOutcomeKind as ToolOutcomeKind, type index_ToolOutputDescription as ToolOutputDescription, type index_ToolResult as ToolResult, type index_ToolSideEffects as ToolSideEffects, type index_ToolSuccess as ToolSuccess, type index_ToolWarning as ToolWarning, type index_ToolWarningCode as ToolWarningCode, index_arraySchema as arraySchema, index_booleanSchema as booleanSchema, index_captureRumorTool as captureRumorTool, index_captureRumorToolHandler as captureRumorToolHandler, index_captureRumorToolName as captureRumorToolName, index_defineQuestlogTool as defineQuestlogTool, index_enumSchema as enumSchema, index_getQuestlogToolByName as getQuestlogToolByName, index_inspectQuestlogItemTool as inspectQuestlogItemTool, index_inspectQuestlogItemToolHandler as inspectQuestlogItemToolHandler, index_inspectQuestlogItemToolName as inspectQuestlogItemToolName, index_integerSchema as integerSchema, index_listQuestlogToolDefinitions as listQuestlogToolDefinitions, index_literalSchema as literalSchema, index_manageRepeatableTool as manageRepeatableTool, index_manageRepeatableToolHandler as manageRepeatableToolHandler, index_manageRepeatableToolName as manageRepeatableToolName, index_numberSchema as numberSchema, index_objectSchema as objectSchema, index_oneOfSchema as oneOfSchema, index_organizeWorkTool as organizeWorkTool, index_organizeWorkToolHandler as organizeWorkToolHandler, index_organizeWorkToolName as organizeWorkToolName, index_planQuestTool as planQuestTool, index_planQuestToolHandler as planQuestToolHandler, index_planQuestToolName as planQuestToolName, index_questlogToolMappings as questlogToolMappings, index_questlogTools as questlogTools, index_retireWorkTool as retireWorkTool, index_retireWorkToolHandler as retireWorkToolHandler, index_retireWorkToolName as retireWorkToolName, index_reviewQuestlogTool as reviewQuestlogTool, index_reviewQuestlogToolHandler as reviewQuestlogToolHandler, index_reviewQuestlogToolName as reviewQuestlogToolName, index_rewardWorkTool as rewardWorkTool, index_rewardWorkToolHandler as rewardWorkToolHandler, index_rewardWorkToolName as rewardWorkToolName, index_runQuestTool as runQuestTool, index_runQuestToolHandler as runQuestToolHandler, index_runQuestToolName as runQuestToolName, index_searchQuestlogTool as searchQuestlogTool, index_searchQuestlogToolHandler as searchQuestlogToolHandler, index_searchQuestlogToolName as searchQuestlogToolName, index_shapeWorkTool as shapeWorkTool, index_shapeWorkToolHandler as shapeWorkToolHandler, index_shapeWorkToolName as shapeWorkToolName, index_stringSchema as stringSchema, index_tagWorkTool as tagWorkTool, index_tagWorkToolHandler as tagWorkToolHandler, index_tagWorkToolName as tagWorkToolName, index_toolFailure as toolFailure, index_toolNeedsClarification as toolNeedsClarification, index_toolNoOp as toolNoOp, index_toolSuccess as toolSuccess, index_toolWarning as toolWarning };
|
|
1773
|
+
export { type index_JsonSchema as JsonSchema, type index_JsonSchemaType as JsonSchemaType, type index_QuestlogToolDefinition as QuestlogToolDefinition, type index_QuestlogToolMapping as QuestlogToolMapping, type index_ToolClarificationCode as ToolClarificationCode, type index_ToolDefinitionRegistry as ToolDefinitionRegistry, type index_ToolEntityKind as ToolEntityKind, type index_ToolEntityRef as ToolEntityRef, type index_ToolErrorCode as ToolErrorCode, type index_ToolErrorKind as ToolErrorKind, type index_ToolFailure as ToolFailure, type index_ToolInputDescriptions as ToolInputDescriptions, type index_ToolListItem as ToolListItem, type index_ToolNeedsClarification as ToolNeedsClarification, type index_ToolNextStepHint as ToolNextStepHint, type index_ToolNextStepHintKind as ToolNextStepHintKind, type index_ToolOutcomeKind as ToolOutcomeKind, type index_ToolOutputDescription as ToolOutputDescription, type index_ToolResult as ToolResult, type index_ToolSideEffects as ToolSideEffects, type index_ToolSuccess as ToolSuccess, type index_ToolWarning as ToolWarning, type index_ToolWarningCode as ToolWarningCode, index_arraySchema as arraySchema, index_booleanSchema as booleanSchema, index_captureRumorTool as captureRumorTool, index_captureRumorToolHandler as captureRumorToolHandler, index_captureRumorToolName as captureRumorToolName, index_defineQuestlogTool as defineQuestlogTool, index_enumSchema as enumSchema, index_getQuestlogToolByName as getQuestlogToolByName, index_inspectQuestlogItemTool as inspectQuestlogItemTool, index_inspectQuestlogItemToolHandler as inspectQuestlogItemToolHandler, index_inspectQuestlogItemToolName as inspectQuestlogItemToolName, index_integerSchema as integerSchema, index_listQuestlogToolDefinitions as listQuestlogToolDefinitions, index_literalSchema as literalSchema, index_manageHooksTool as manageHooksTool, index_manageHooksToolName as manageHooksToolName, index_manageRepeatableTool as manageRepeatableTool, index_manageRepeatableToolHandler as manageRepeatableToolHandler, index_manageRepeatableToolName as manageRepeatableToolName, index_numberSchema as numberSchema, index_objectSchema as objectSchema, index_oneOfSchema as oneOfSchema, index_organizeWorkTool as organizeWorkTool, index_organizeWorkToolHandler as organizeWorkToolHandler, index_organizeWorkToolName as organizeWorkToolName, index_planQuestTool as planQuestTool, index_planQuestToolHandler as planQuestToolHandler, index_planQuestToolName as planQuestToolName, index_questlogToolMappings as questlogToolMappings, index_questlogTools as questlogTools, index_retireWorkTool as retireWorkTool, index_retireWorkToolHandler as retireWorkToolHandler, index_retireWorkToolName as retireWorkToolName, index_reviewQuestlogTool as reviewQuestlogTool, index_reviewQuestlogToolHandler as reviewQuestlogToolHandler, index_reviewQuestlogToolName as reviewQuestlogToolName, index_rewardWorkTool as rewardWorkTool, index_rewardWorkToolHandler as rewardWorkToolHandler, index_rewardWorkToolName as rewardWorkToolName, index_runQuestTool as runQuestTool, index_runQuestToolHandler as runQuestToolHandler, index_runQuestToolName as runQuestToolName, index_searchQuestlogTool as searchQuestlogTool, index_searchQuestlogToolHandler as searchQuestlogToolHandler, index_searchQuestlogToolName as searchQuestlogToolName, index_shapeWorkTool as shapeWorkTool, index_shapeWorkToolHandler as shapeWorkToolHandler, index_shapeWorkToolName as shapeWorkToolName, index_stringSchema as stringSchema, index_tagWorkTool as tagWorkTool, index_tagWorkToolHandler as tagWorkToolHandler, index_tagWorkToolName as tagWorkToolName, index_toolFailure as toolFailure, index_toolNeedsClarification as toolNeedsClarification, index_toolNoOp as toolNoOp, index_toolSuccess as toolSuccess, index_toolWarning as toolWarning };
|
|
1643
1774
|
}
|
|
1644
1775
|
|
|
1645
1776
|
/**
|
|
@@ -1710,4 +1841,4 @@ declare namespace write {
|
|
|
1710
1841
|
export { write_abandonQuest as abandonQuest, write_abandonQuestAndSpawnFollowups as abandonQuestAndSpawnFollowups, write_addQuestReward as addQuestReward, write_addUnlock as addUnlock, write_archiveQuestline as archiveQuestline, write_archiveRepeatableQuest as archiveRepeatableQuest, write_captureRumor as captureRumor, write_claimQuestReward as claimQuestReward, write_createQuest as createQuest, write_createQuestline as createQuestline, write_createRepeatableQuest as createRepeatableQuest, write_detachQuestFromQuestline as detachQuestFromQuestline, write_dismissRumor as dismissRumor, write_finishQuest as finishQuest, write_logQuestEffort as logQuestEffort, write_moveQuestToQuestline as moveQuestToQuestline, write_planQuestTime as planQuestTime, write_removeQuestReward as removeQuestReward, write_removeUnlock as removeUnlock, write_reopenRumor as reopenRumor, write_replaceQuestTags as replaceQuestTags, write_replaceRepeatableQuestRewards as replaceRepeatableQuestRewards, write_replaceRepeatableQuestTags as replaceRepeatableQuestTags, write_replaceUnlocks as replaceUnlocks, write_reviseQuestObjective as reviseQuestObjective, write_settleRumor as settleRumor, write_softDeleteQuest as softDeleteQuest, write_softDeleteQuestline as softDeleteQuestline, write_softDeleteRepeatableQuest as softDeleteRepeatableQuest, write_softDeleteRumor as softDeleteRumor, write_spawnDueRepeatableQuests as spawnDueRepeatableQuests, write_startQuest as startQuest, write_tagQuest as tagQuest, write_untagQuest as untagQuest, write_updateQuestReward as updateQuestReward, write_updateQuestline as updateQuestline, write_updateRepeatableQuest as updateRepeatableQuest, write_updateRumor as updateRumor };
|
|
1711
1842
|
}
|
|
1712
1843
|
|
|
1713
|
-
export { type AbandonQuestResult, type CaptureRumorInput, type CreateQuestInput, type CreateQuestlineInput, type CreateRepeatableQuestInput, type DueRepeatableAnchor, type FollowupQuestInput, type JsonSchema, type JsonSchemaType, type MarkerDefinition, type MarkerId, type PlanQuestTimeInput, type Quest, type QuestDetail, type QuestListFilters, type QuestReward, type QuestRewardInput, type QuestState, type QuestUnlock, type Questline, type QuestlineDetail, QuestlogDb, type QuestlogSearchResult, type QuestlogSkill, type QuestlogSkillRegistry, type QuestlogSoul, type QuestlogSoulTrait, type QuestlogToolDefinition, type QuestlogToolMapping, type RepeatableQuest, type RepeatableQuestReward, type RepeatableQuestRewardInput, type Rumor, type RumorDetail, type RumorOutput, type RumorState, type SettleRumorInput, type SettleRumorResult, type Tag, type ToolClarificationCode, type ToolDefinitionRegistry, type ToolEntityKind, type ToolEntityRef, type ToolErrorCode, type ToolErrorKind, type ToolFailure, type ToolInputDescriptions, type ToolListItem, type ToolNeedsClarification, type ToolNextStepHint, type ToolNextStepHintKind, type ToolOutcomeKind, type ToolOutputDescription, type ToolResult, type ToolSideEffects, type ToolSuccess, type ToolWarning, type ToolWarningCode, type UpdateQuestlineInput, type UpdateRepeatableQuestInput, type UpdateRumorInput, abandonQuest, abandonQuestAndSpawnFollowups, addQuestReward, addUnlock, archiveDeleteAndPruneSkill, archiveQuestline, archiveRepeatableQuest, arraySchema, booleanSchema, captureRumor, captureRumorTool, captureRumorToolHandler, captureRumorToolName, chooseWorkShapeSkill, claimQuestReward, clarifyAmbiguousRequestsSkill, closeWorkAndClaimOutcomesSkill, createConcreteQuestSkill, createQuest, createQuestline, createRepeatableQuest, defineQuestlogSkill, defineQuestlogTool, detachQuestFromQuestline, detectSlipsAndStalenessSkill, dismissRumor, enumSchema, escalateAndUnblockSkill, finishQuest, frameInitiativeQuestlineSkill, getQuestDetail, getQuestlineDetail, getQuestlogSkillByName, getQuestlogToolByName, getRumorDetail, getRumorOutputs, handleExceptionsAndWeirdCasesSkill, initQuestlogTables, inspectQuestlogItemTool, inspectQuestlogItemToolHandler, inspectQuestlogItemToolName, intakeTriageSkill, integerSchema, listActiveQuests, listAvailableQuests, listBlockedQuests, listDeferredQuests, listDueRepeatableQuestAnchors, listDueSoonQuests, listInProgressQuests, listMissedScheduledQuests, listOpenQuests, listOverdueQuests, listQuestlines, listQuestlogSkills, listQuestlogToolDefinitions, listResolvedQuests, listRumors, listScheduledForDay, listScheduledNow, literalSchema, logQuestEffort, maintainClearOwnershipSkill, manageApprovalsAndPromisesSkill, manageRepeatableTool, manageRepeatableToolHandler, manageRepeatableToolName, index$2 as markers, moveQuestToQuestline, numberSchema, objectSchema, oneOfSchema, organizeWorkTool, organizeWorkToolHandler, organizeWorkToolName, planQuestTime, planQuestTool, planQuestToolHandler, planQuestToolName, planSuccessorWorkSkill, planTimeCorrectlySkill, prioritizeAcrossStreamsSkill, protectCapacityAndFocusSkill, questlogSkills, questlogToolMappings, questlogTools, read, recoverFromModelingMistakesSkill, removeQuestReward, removeUnlock, reopenRumor, replaceQuestTags, replaceRepeatableQuestRewards, replaceRepeatableQuestTags, replaceUnlocks, reportStatusAndManageExpectationsSkill, retireWorkTool, retireWorkToolHandler, retireWorkToolName, reviewQuestlogTool, reviewQuestlogToolHandler, reviewQuestlogToolName, reviseOrReshapeCommitmentSkill, reviseQuestObjective, rewardWorkTool, rewardWorkToolHandler, rewardWorkToolName, runOperationalReviewSkill, runQuestTool, runQuestToolHandler, runQuestToolName, runRecurringRhythmsSkill, searchAndRetrieveContextSkill, searchQuestlogTool, searchQuestlogToolHandler, searchQuestlogToolName, sequenceWithUnlocksSkill, settleRumor, settleRumorIntoStructureSkill, shapeWorkTool, shapeWorkToolHandler, shapeWorkToolName, index$1 as skills, softDeleteQuest, softDeleteQuestline, softDeleteRepeatableQuest, softDeleteRumor, soul, spawnDueRepeatableQuests, startQuest, stringSchema, tagAndFilterPortfoliosSkill, tagQuest, tagWorkTool, tagWorkToolHandler, tagWorkToolName, toolFailure, toolNeedsClarification, toolNoOp, toolSuccess, toolWarning, index as tools, untagQuest, updateQuestReward, updateQuestline, updateRepeatableQuest, updateRumor, write };
|
|
1844
|
+
export { type AbandonQuestResult, type CaptureRumorInput, type CreateQuestInput, type CreateQuestlineInput, type CreateRepeatableQuestInput, type DueRepeatableAnchor, type FollowupQuestInput, type JsonSchema, type JsonSchemaType, type MarkerDefinition, type MarkerId, type PlanQuestTimeInput, type Quest, type QuestDetail, type QuestListFilters, type QuestReward, type QuestRewardInput, type QuestState, type QuestUnlock, type Questline, type QuestlineDetail, QuestlogDb, type QuestlogSearchResult, type QuestlogSkill, type QuestlogSkillRegistry, type QuestlogSoul, type QuestlogSoulTrait, type QuestlogToolDefinition, type QuestlogToolMapping, type RepeatableQuest, type RepeatableQuestReward, type RepeatableQuestRewardInput, type Rumor, type RumorDetail, type RumorOutput, type RumorState, type SettleRumorInput, type SettleRumorResult, type Tag, type ToolClarificationCode, type ToolDefinitionRegistry, type ToolEntityKind, type ToolEntityRef, type ToolErrorCode, type ToolErrorKind, type ToolFailure, type ToolInputDescriptions, type ToolListItem, type ToolNeedsClarification, type ToolNextStepHint, type ToolNextStepHintKind, type ToolOutcomeKind, type ToolOutputDescription, type ToolResult, type ToolSideEffects, type ToolSuccess, type ToolWarning, type ToolWarningCode, type UpdateQuestlineInput, type UpdateRepeatableQuestInput, type UpdateRumorInput, abandonQuest, abandonQuestAndSpawnFollowups, addQuestReward, addUnlock, archiveDeleteAndPruneSkill, archiveQuestline, archiveRepeatableQuest, arraySchema, booleanSchema, captureRumor, captureRumorTool, captureRumorToolHandler, captureRumorToolName, chooseWorkShapeSkill, claimQuestReward, clarifyAmbiguousRequestsSkill, closeWorkAndClaimOutcomesSkill, createConcreteQuestSkill, createQuest, createQuestline, createRepeatableQuest, defineQuestlogSkill, defineQuestlogTool, detachQuestFromQuestline, detectSlipsAndStalenessSkill, dismissRumor, enumSchema, escalateAndUnblockSkill, finishQuest, frameInitiativeQuestlineSkill, getQuestDetail, getQuestlineDetail, getQuestlogSkillByName, getQuestlogToolByName, getRumorDetail, getRumorOutputs, handleExceptionsAndWeirdCasesSkill, index$3 as hooks, initQuestlogTables, inspectQuestlogItemTool, inspectQuestlogItemToolHandler, inspectQuestlogItemToolName, intakeTriageSkill, integerSchema, listActiveQuests, listAvailableQuests, listBlockedQuests, listDeferredQuests, listDueRepeatableQuestAnchors, listDueSoonQuests, listInProgressQuests, listMissedScheduledQuests, listOpenQuests, listOverdueQuests, listQuestlines, listQuestlogSkills, listQuestlogToolDefinitions, listResolvedQuests, listRumors, listScheduledForDay, listScheduledNow, literalSchema, logQuestEffort, maintainClearOwnershipSkill, manageApprovalsAndPromisesSkill, manageHooksTool, manageHooksToolName, manageRepeatableTool, manageRepeatableToolHandler, manageRepeatableToolName, index$2 as markers, moveQuestToQuestline, numberSchema, objectSchema, oneOfSchema, organizeWorkTool, organizeWorkToolHandler, organizeWorkToolName, planQuestTime, planQuestTool, planQuestToolHandler, planQuestToolName, planSuccessorWorkSkill, planTimeCorrectlySkill, prioritizeAcrossStreamsSkill, protectCapacityAndFocusSkill, questlogSkills, questlogToolMappings, questlogTools, read, recoverFromModelingMistakesSkill, removeQuestReward, removeUnlock, reopenRumor, replaceQuestTags, replaceRepeatableQuestRewards, replaceRepeatableQuestTags, replaceUnlocks, reportStatusAndManageExpectationsSkill, retireWorkTool, retireWorkToolHandler, retireWorkToolName, reviewQuestlogTool, reviewQuestlogToolHandler, reviewQuestlogToolName, reviseOrReshapeCommitmentSkill, reviseQuestObjective, rewardWorkTool, rewardWorkToolHandler, rewardWorkToolName, runOperationalReviewSkill, runQuestTool, runQuestToolHandler, runQuestToolName, runRecurringRhythmsSkill, searchAndRetrieveContextSkill, searchQuestlogTool, searchQuestlogToolHandler, searchQuestlogToolName, sequenceWithUnlocksSkill, settleRumor, settleRumorIntoStructureSkill, shapeWorkTool, shapeWorkToolHandler, shapeWorkToolName, index$1 as skills, softDeleteQuest, softDeleteQuestline, softDeleteRepeatableQuest, softDeleteRumor, soul, spawnDueRepeatableQuests, startQuest, stringSchema, tagAndFilterPortfoliosSkill, tagQuest, tagWorkTool, tagWorkToolHandler, tagWorkToolName, toolFailure, toolNeedsClarification, toolNoOp, toolSuccess, toolWarning, index as tools, untagQuest, updateQuestReward, updateQuestline, updateRepeatableQuest, updateRumor, write };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,113 @@
|
|
|
1
1
|
import { Q as QuestlogDb } from './database-DShQ4N46.js';
|
|
2
2
|
|
|
3
|
+
declare const hookEventTypes: readonly ["quest.due", "quest.overdue", "quest.unblocked", "repeatable.spawned", "rumor.captured"];
|
|
4
|
+
type HookEventType = (typeof hookEventTypes)[number];
|
|
5
|
+
interface HookEvent {
|
|
6
|
+
id: string;
|
|
7
|
+
type: HookEventType | 'hook.test';
|
|
8
|
+
questId?: number;
|
|
9
|
+
rumorId?: number;
|
|
10
|
+
repeatableId?: number;
|
|
11
|
+
occurredAt: string;
|
|
12
|
+
}
|
|
13
|
+
interface HookTarget {
|
|
14
|
+
id: number;
|
|
15
|
+
url: string;
|
|
16
|
+
tag: string | null;
|
|
17
|
+
scope: 'database' | 'tag';
|
|
18
|
+
events: HookEventType[];
|
|
19
|
+
minGap: number;
|
|
20
|
+
createdAt: number;
|
|
21
|
+
lastWake: number | null;
|
|
22
|
+
pending: number;
|
|
23
|
+
failed: number;
|
|
24
|
+
}
|
|
25
|
+
interface HookDelivery {
|
|
26
|
+
id: string;
|
|
27
|
+
targetId: number;
|
|
28
|
+
events: HookEvent[];
|
|
29
|
+
status: 'pending' | 'delivered' | 'failed';
|
|
30
|
+
attempts: number;
|
|
31
|
+
lastAttemptAt: number | null;
|
|
32
|
+
httpStatus: number | null;
|
|
33
|
+
errorClass: string | null;
|
|
34
|
+
nextAttemptAt: number;
|
|
35
|
+
}
|
|
36
|
+
interface TickOptions {
|
|
37
|
+
now?: number;
|
|
38
|
+
clock?: () => number;
|
|
39
|
+
fetch?: typeof globalThis.fetch;
|
|
40
|
+
dryRun?: boolean;
|
|
41
|
+
timeoutMs?: number;
|
|
42
|
+
}
|
|
43
|
+
interface TickResult {
|
|
44
|
+
events: HookEvent[];
|
|
45
|
+
batches: {
|
|
46
|
+
targetId: number;
|
|
47
|
+
events: HookEvent[];
|
|
48
|
+
}[];
|
|
49
|
+
sent: number;
|
|
50
|
+
queued: number;
|
|
51
|
+
retrying: number;
|
|
52
|
+
failed: number;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
/** The secret is returned only at creation. Store it securely at the receiver. */
|
|
56
|
+
declare function addHook(db: QuestlogDb, input: {
|
|
57
|
+
url: string;
|
|
58
|
+
tag?: string;
|
|
59
|
+
events?: HookEventType[];
|
|
60
|
+
minGap?: number;
|
|
61
|
+
secret?: string;
|
|
62
|
+
now?: number;
|
|
63
|
+
}): {
|
|
64
|
+
id: number;
|
|
65
|
+
secret: string;
|
|
66
|
+
};
|
|
67
|
+
|
|
68
|
+
declare function hookLabel(db: QuestlogDb, name?: string): string;
|
|
69
|
+
|
|
70
|
+
declare function listDeliveries(db: QuestlogDb, options?: {
|
|
71
|
+
questId?: number;
|
|
72
|
+
includeDelivered?: boolean;
|
|
73
|
+
}): HookDelivery[];
|
|
74
|
+
|
|
75
|
+
declare function listHooks(db: QuestlogDb): HookTarget[];
|
|
76
|
+
|
|
77
|
+
declare function removeHook(db: QuestlogDb, id: number): void;
|
|
78
|
+
|
|
79
|
+
declare function testHook(db: QuestlogDb, id: number, options?: TickOptions): Promise<{
|
|
80
|
+
id: string;
|
|
81
|
+
delivered: boolean;
|
|
82
|
+
}>;
|
|
83
|
+
|
|
84
|
+
declare function tickQuestlog(db: QuestlogDb, options?: TickOptions): Promise<TickResult>;
|
|
85
|
+
|
|
86
|
+
declare function watchQuestlog(db: QuestlogDb, options: TickOptions & {
|
|
87
|
+
interval?: number;
|
|
88
|
+
signal: AbortSignal;
|
|
89
|
+
onTick?: (result: TickResult) => void;
|
|
90
|
+
}): Promise<void>;
|
|
91
|
+
|
|
92
|
+
type index$3_HookDelivery = HookDelivery;
|
|
93
|
+
type index$3_HookEvent = HookEvent;
|
|
94
|
+
type index$3_HookEventType = HookEventType;
|
|
95
|
+
type index$3_HookTarget = HookTarget;
|
|
96
|
+
type index$3_TickOptions = TickOptions;
|
|
97
|
+
type index$3_TickResult = TickResult;
|
|
98
|
+
declare const index$3_addHook: typeof addHook;
|
|
99
|
+
declare const index$3_hookEventTypes: typeof hookEventTypes;
|
|
100
|
+
declare const index$3_hookLabel: typeof hookLabel;
|
|
101
|
+
declare const index$3_listDeliveries: typeof listDeliveries;
|
|
102
|
+
declare const index$3_listHooks: typeof listHooks;
|
|
103
|
+
declare const index$3_removeHook: typeof removeHook;
|
|
104
|
+
declare const index$3_testHook: typeof testHook;
|
|
105
|
+
declare const index$3_tickQuestlog: typeof tickQuestlog;
|
|
106
|
+
declare const index$3_watchQuestlog: typeof watchQuestlog;
|
|
107
|
+
declare namespace index$3 {
|
|
108
|
+
export { type index$3_HookDelivery as HookDelivery, type index$3_HookEvent as HookEvent, type index$3_HookEventType as HookEventType, type index$3_HookTarget as HookTarget, type index$3_TickOptions as TickOptions, type index$3_TickResult as TickResult, index$3_addHook as addHook, index$3_hookEventTypes as hookEventTypes, index$3_hookLabel as hookLabel, index$3_listDeliveries as listDeliveries, index$3_listHooks as listHooks, index$3_removeHook as removeHook, index$3_testHook as testHook, index$3_tickQuestlog as tickQuestlog, index$3_watchQuestlog as watchQuestlog };
|
|
109
|
+
}
|
|
110
|
+
|
|
3
111
|
/**
|
|
4
112
|
* Creates the full standalone questlog schema, including FTS and indexing.
|
|
5
113
|
*/
|
|
@@ -1097,7 +1205,7 @@ interface JsonSchema {
|
|
|
1097
1205
|
anyOf?: ReadonlyArray<JsonSchema> | undefined;
|
|
1098
1206
|
}
|
|
1099
1207
|
type ToolSideEffects = 'none' | 'writes_state';
|
|
1100
|
-
interface QuestlogToolDefinition<TInput, TResult extends ToolResult<unknown
|
|
1208
|
+
interface QuestlogToolDefinition<TInput, TResult extends ToolResult<unknown> | Promise<ToolResult<unknown>>> {
|
|
1101
1209
|
name: string;
|
|
1102
1210
|
description: string;
|
|
1103
1211
|
whenToUse: string;
|
|
@@ -1111,8 +1219,8 @@ interface QuestlogToolDefinition<TInput, TResult extends ToolResult<unknown>> {
|
|
|
1111
1219
|
inputSchema: JsonSchema;
|
|
1112
1220
|
handler: (db: QuestlogDb, input: TInput) => TResult;
|
|
1113
1221
|
}
|
|
1114
|
-
type ToolDefinitionRegistry = readonly QuestlogToolDefinition<never, ToolResult<unknown
|
|
1115
|
-
declare function defineQuestlogTool<TInput, TResult extends ToolResult<unknown
|
|
1222
|
+
type ToolDefinitionRegistry = readonly QuestlogToolDefinition<never, ToolResult<unknown> | Promise<ToolResult<unknown>>>[];
|
|
1223
|
+
declare function defineQuestlogTool<TInput, TResult extends ToolResult<unknown> | Promise<ToolResult<unknown>>>(definition: QuestlogToolDefinition<TInput, TResult>): QuestlogToolDefinition<TInput, TResult>;
|
|
1116
1224
|
declare function stringSchema(description: string, options?: Partial<JsonSchema>): JsonSchema;
|
|
1117
1225
|
declare function numberSchema(description: string, options?: Partial<JsonSchema>): JsonSchema;
|
|
1118
1226
|
declare function integerSchema(description: string, options?: Partial<JsonSchema>): JsonSchema;
|
|
@@ -1149,6 +1257,7 @@ interface InspectQuestlogItemToolInput {
|
|
|
1149
1257
|
}
|
|
1150
1258
|
interface InspectQuestlogItemToolData {
|
|
1151
1259
|
item: QuestInspectItem;
|
|
1260
|
+
deliveries?: HookDelivery[];
|
|
1152
1261
|
related: ToolEntityRef[];
|
|
1153
1262
|
detailLevel: 'compact' | 'full';
|
|
1154
1263
|
}
|
|
@@ -1213,6 +1322,12 @@ type InspectQuestlogItemToolResult = ToolResult<InspectQuestlogItemToolData>;
|
|
|
1213
1322
|
declare function inspectQuestlogItemToolHandler(db: Parameters<typeof getQuestDetail>[0], input: InspectQuestlogItemToolInput): InspectQuestlogItemToolResult;
|
|
1214
1323
|
declare const inspectQuestlogItemTool: QuestlogToolDefinition<InspectQuestlogItemToolInput, InspectQuestlogItemToolResult>;
|
|
1215
1324
|
|
|
1325
|
+
declare const manageHooksTool: QuestlogToolDefinition<{
|
|
1326
|
+
action: "list" | "remove" | "tick" | "deliveries";
|
|
1327
|
+
id?: number;
|
|
1328
|
+
dry_run?: boolean;
|
|
1329
|
+
}, Promise<ToolResult<unknown>>>;
|
|
1330
|
+
|
|
1216
1331
|
/**
|
|
1217
1332
|
* Loads a single active repeatable quest or throws.
|
|
1218
1333
|
*/
|
|
@@ -1322,7 +1437,7 @@ type RetireWorkToolResult = ToolResult<RetireWorkToolData>;
|
|
|
1322
1437
|
declare function retireWorkToolHandler(db: QuestlogDb, input: RetireWorkToolInput): RetireWorkToolResult;
|
|
1323
1438
|
declare const retireWorkTool: QuestlogToolDefinition<RetireWorkToolInput, RetireWorkToolResult>;
|
|
1324
1439
|
|
|
1325
|
-
type ReviewQuestlogToolView = 'questlines' | 'quests.active' | 'quests.available' | 'quests.blocked' | 'quests.deferred' | 'quests.due_soon' | 'quests.in_progress' | 'quests.missed_scheduled' | 'quests.open' | 'quests.overdue' | 'quests.resolved' | 'quests.scheduled_for_day' | 'quests.scheduled_now' | 'repeatables.due_anchors' | 'rumors';
|
|
1440
|
+
type ReviewQuestlogToolView = 'deliveries' | 'questlines' | 'quests.active' | 'quests.available' | 'quests.blocked' | 'quests.deferred' | 'quests.due_soon' | 'quests.in_progress' | 'quests.missed_scheduled' | 'quests.open' | 'quests.overdue' | 'quests.resolved' | 'quests.scheduled_for_day' | 'quests.scheduled_now' | 'repeatables.due_anchors' | 'rumors';
|
|
1326
1441
|
interface ReviewQuestlogToolInput {
|
|
1327
1442
|
view: ReviewQuestlogToolView;
|
|
1328
1443
|
filters?: {
|
|
@@ -1336,6 +1451,7 @@ interface ReviewQuestlogToolInput {
|
|
|
1336
1451
|
interface ReviewQuestlogToolData {
|
|
1337
1452
|
view: ReviewQuestlogToolView;
|
|
1338
1453
|
items: ToolListItem[];
|
|
1454
|
+
deliveries?: HookDelivery[];
|
|
1339
1455
|
count: number;
|
|
1340
1456
|
appliedFilters: ReviewQuestlogToolInput['filters'] | undefined;
|
|
1341
1457
|
evaluatedAt: number;
|
|
@@ -1555,14 +1671,27 @@ declare const manageRepeatableToolName = "manage_repeatable";
|
|
|
1555
1671
|
declare const tagWorkToolName = "tag_work";
|
|
1556
1672
|
declare const rewardWorkToolName = "reward_work";
|
|
1557
1673
|
declare const retireWorkToolName = "retire_work";
|
|
1558
|
-
|
|
1559
|
-
|
|
1560
|
-
declare
|
|
1561
|
-
|
|
1674
|
+
declare const manageHooksToolName = "manage_hooks";
|
|
1675
|
+
|
|
1676
|
+
declare const questlogTools: (QuestlogToolDefinition<CaptureRumorInput, CaptureRumorToolResult> | QuestlogToolDefinition<InspectQuestlogItemToolInput, InspectQuestlogItemToolResult> | QuestlogToolDefinition<{
|
|
1677
|
+
action: "list" | "remove" | "tick" | "deliveries";
|
|
1678
|
+
id?: number;
|
|
1679
|
+
dry_run?: boolean;
|
|
1680
|
+
}, Promise<ToolResult<unknown>>> | QuestlogToolDefinition<ManageRepeatableToolInput, ManageRepeatableToolResult> | QuestlogToolDefinition<OrganizeWorkToolInput, OrganizeWorkToolResult> | QuestlogToolDefinition<PlanQuestToolInput, PlanQuestToolResult> | QuestlogToolDefinition<RetireWorkToolInput, RetireWorkToolResult> | QuestlogToolDefinition<ReviewQuestlogToolInput, ReviewQuestlogToolResult> | QuestlogToolDefinition<RewardWorkToolInput, RewardWorkToolResult> | QuestlogToolDefinition<RunQuestToolInput, RunQuestToolResult> | QuestlogToolDefinition<SearchQuestlogToolInput, SearchQuestlogToolResult> | QuestlogToolDefinition<ShapeWorkToolInput, ShapeWorkToolResult> | QuestlogToolDefinition<TagWorkToolInput, TagWorkToolResult>)[];
|
|
1681
|
+
declare function listQuestlogToolDefinitions(): (QuestlogToolDefinition<CaptureRumorInput, CaptureRumorToolResult> | QuestlogToolDefinition<InspectQuestlogItemToolInput, InspectQuestlogItemToolResult> | QuestlogToolDefinition<{
|
|
1682
|
+
action: "list" | "remove" | "tick" | "deliveries";
|
|
1683
|
+
id?: number;
|
|
1684
|
+
dry_run?: boolean;
|
|
1685
|
+
}, Promise<ToolResult<unknown>>> | QuestlogToolDefinition<ManageRepeatableToolInput, ManageRepeatableToolResult> | QuestlogToolDefinition<OrganizeWorkToolInput, OrganizeWorkToolResult> | QuestlogToolDefinition<PlanQuestToolInput, PlanQuestToolResult> | QuestlogToolDefinition<RetireWorkToolInput, RetireWorkToolResult> | QuestlogToolDefinition<ReviewQuestlogToolInput, ReviewQuestlogToolResult> | QuestlogToolDefinition<RewardWorkToolInput, RewardWorkToolResult> | QuestlogToolDefinition<RunQuestToolInput, RunQuestToolResult> | QuestlogToolDefinition<SearchQuestlogToolInput, SearchQuestlogToolResult> | QuestlogToolDefinition<ShapeWorkToolInput, ShapeWorkToolResult> | QuestlogToolDefinition<TagWorkToolInput, TagWorkToolResult>)[];
|
|
1686
|
+
declare function getQuestlogToolByName(name: string): QuestlogToolDefinition<CaptureRumorInput, CaptureRumorToolResult> | QuestlogToolDefinition<InspectQuestlogItemToolInput, InspectQuestlogItemToolResult> | QuestlogToolDefinition<{
|
|
1687
|
+
action: "list" | "remove" | "tick" | "deliveries";
|
|
1688
|
+
id?: number;
|
|
1689
|
+
dry_run?: boolean;
|
|
1690
|
+
}, Promise<ToolResult<unknown>>> | QuestlogToolDefinition<ManageRepeatableToolInput, ManageRepeatableToolResult> | QuestlogToolDefinition<OrganizeWorkToolInput, OrganizeWorkToolResult> | QuestlogToolDefinition<PlanQuestToolInput, PlanQuestToolResult> | QuestlogToolDefinition<RetireWorkToolInput, RetireWorkToolResult> | QuestlogToolDefinition<ReviewQuestlogToolInput, ReviewQuestlogToolResult> | QuestlogToolDefinition<RewardWorkToolInput, RewardWorkToolResult> | QuestlogToolDefinition<RunQuestToolInput, RunQuestToolResult> | QuestlogToolDefinition<SearchQuestlogToolInput, SearchQuestlogToolResult> | QuestlogToolDefinition<ShapeWorkToolInput, ShapeWorkToolResult> | QuestlogToolDefinition<TagWorkToolInput, TagWorkToolResult> | null;
|
|
1562
1691
|
|
|
1563
1692
|
type index_JsonSchema = JsonSchema;
|
|
1564
1693
|
type index_JsonSchemaType = JsonSchemaType;
|
|
1565
|
-
type index_QuestlogToolDefinition<TInput, TResult extends ToolResult<unknown
|
|
1694
|
+
type index_QuestlogToolDefinition<TInput, TResult extends ToolResult<unknown> | Promise<ToolResult<unknown>>> = QuestlogToolDefinition<TInput, TResult>;
|
|
1566
1695
|
type index_QuestlogToolMapping = QuestlogToolMapping;
|
|
1567
1696
|
type index_ToolClarificationCode = ToolClarificationCode;
|
|
1568
1697
|
type index_ToolDefinitionRegistry = ToolDefinitionRegistry;
|
|
@@ -1597,6 +1726,8 @@ declare const index_inspectQuestlogItemToolName: typeof inspectQuestlogItemToolN
|
|
|
1597
1726
|
declare const index_integerSchema: typeof integerSchema;
|
|
1598
1727
|
declare const index_listQuestlogToolDefinitions: typeof listQuestlogToolDefinitions;
|
|
1599
1728
|
declare const index_literalSchema: typeof literalSchema;
|
|
1729
|
+
declare const index_manageHooksTool: typeof manageHooksTool;
|
|
1730
|
+
declare const index_manageHooksToolName: typeof manageHooksToolName;
|
|
1600
1731
|
declare const index_manageRepeatableTool: typeof manageRepeatableTool;
|
|
1601
1732
|
declare const index_manageRepeatableToolHandler: typeof manageRepeatableToolHandler;
|
|
1602
1733
|
declare const index_manageRepeatableToolName: typeof manageRepeatableToolName;
|
|
@@ -1639,7 +1770,7 @@ declare const index_toolNoOp: typeof toolNoOp;
|
|
|
1639
1770
|
declare const index_toolSuccess: typeof toolSuccess;
|
|
1640
1771
|
declare const index_toolWarning: typeof toolWarning;
|
|
1641
1772
|
declare namespace index {
|
|
1642
|
-
export { type index_JsonSchema as JsonSchema, type index_JsonSchemaType as JsonSchemaType, type index_QuestlogToolDefinition as QuestlogToolDefinition, type index_QuestlogToolMapping as QuestlogToolMapping, type index_ToolClarificationCode as ToolClarificationCode, type index_ToolDefinitionRegistry as ToolDefinitionRegistry, type index_ToolEntityKind as ToolEntityKind, type index_ToolEntityRef as ToolEntityRef, type index_ToolErrorCode as ToolErrorCode, type index_ToolErrorKind as ToolErrorKind, type index_ToolFailure as ToolFailure, type index_ToolInputDescriptions as ToolInputDescriptions, type index_ToolListItem as ToolListItem, type index_ToolNeedsClarification as ToolNeedsClarification, type index_ToolNextStepHint as ToolNextStepHint, type index_ToolNextStepHintKind as ToolNextStepHintKind, type index_ToolOutcomeKind as ToolOutcomeKind, type index_ToolOutputDescription as ToolOutputDescription, type index_ToolResult as ToolResult, type index_ToolSideEffects as ToolSideEffects, type index_ToolSuccess as ToolSuccess, type index_ToolWarning as ToolWarning, type index_ToolWarningCode as ToolWarningCode, index_arraySchema as arraySchema, index_booleanSchema as booleanSchema, index_captureRumorTool as captureRumorTool, index_captureRumorToolHandler as captureRumorToolHandler, index_captureRumorToolName as captureRumorToolName, index_defineQuestlogTool as defineQuestlogTool, index_enumSchema as enumSchema, index_getQuestlogToolByName as getQuestlogToolByName, index_inspectQuestlogItemTool as inspectQuestlogItemTool, index_inspectQuestlogItemToolHandler as inspectQuestlogItemToolHandler, index_inspectQuestlogItemToolName as inspectQuestlogItemToolName, index_integerSchema as integerSchema, index_listQuestlogToolDefinitions as listQuestlogToolDefinitions, index_literalSchema as literalSchema, index_manageRepeatableTool as manageRepeatableTool, index_manageRepeatableToolHandler as manageRepeatableToolHandler, index_manageRepeatableToolName as manageRepeatableToolName, index_numberSchema as numberSchema, index_objectSchema as objectSchema, index_oneOfSchema as oneOfSchema, index_organizeWorkTool as organizeWorkTool, index_organizeWorkToolHandler as organizeWorkToolHandler, index_organizeWorkToolName as organizeWorkToolName, index_planQuestTool as planQuestTool, index_planQuestToolHandler as planQuestToolHandler, index_planQuestToolName as planQuestToolName, index_questlogToolMappings as questlogToolMappings, index_questlogTools as questlogTools, index_retireWorkTool as retireWorkTool, index_retireWorkToolHandler as retireWorkToolHandler, index_retireWorkToolName as retireWorkToolName, index_reviewQuestlogTool as reviewQuestlogTool, index_reviewQuestlogToolHandler as reviewQuestlogToolHandler, index_reviewQuestlogToolName as reviewQuestlogToolName, index_rewardWorkTool as rewardWorkTool, index_rewardWorkToolHandler as rewardWorkToolHandler, index_rewardWorkToolName as rewardWorkToolName, index_runQuestTool as runQuestTool, index_runQuestToolHandler as runQuestToolHandler, index_runQuestToolName as runQuestToolName, index_searchQuestlogTool as searchQuestlogTool, index_searchQuestlogToolHandler as searchQuestlogToolHandler, index_searchQuestlogToolName as searchQuestlogToolName, index_shapeWorkTool as shapeWorkTool, index_shapeWorkToolHandler as shapeWorkToolHandler, index_shapeWorkToolName as shapeWorkToolName, index_stringSchema as stringSchema, index_tagWorkTool as tagWorkTool, index_tagWorkToolHandler as tagWorkToolHandler, index_tagWorkToolName as tagWorkToolName, index_toolFailure as toolFailure, index_toolNeedsClarification as toolNeedsClarification, index_toolNoOp as toolNoOp, index_toolSuccess as toolSuccess, index_toolWarning as toolWarning };
|
|
1773
|
+
export { type index_JsonSchema as JsonSchema, type index_JsonSchemaType as JsonSchemaType, type index_QuestlogToolDefinition as QuestlogToolDefinition, type index_QuestlogToolMapping as QuestlogToolMapping, type index_ToolClarificationCode as ToolClarificationCode, type index_ToolDefinitionRegistry as ToolDefinitionRegistry, type index_ToolEntityKind as ToolEntityKind, type index_ToolEntityRef as ToolEntityRef, type index_ToolErrorCode as ToolErrorCode, type index_ToolErrorKind as ToolErrorKind, type index_ToolFailure as ToolFailure, type index_ToolInputDescriptions as ToolInputDescriptions, type index_ToolListItem as ToolListItem, type index_ToolNeedsClarification as ToolNeedsClarification, type index_ToolNextStepHint as ToolNextStepHint, type index_ToolNextStepHintKind as ToolNextStepHintKind, type index_ToolOutcomeKind as ToolOutcomeKind, type index_ToolOutputDescription as ToolOutputDescription, type index_ToolResult as ToolResult, type index_ToolSideEffects as ToolSideEffects, type index_ToolSuccess as ToolSuccess, type index_ToolWarning as ToolWarning, type index_ToolWarningCode as ToolWarningCode, index_arraySchema as arraySchema, index_booleanSchema as booleanSchema, index_captureRumorTool as captureRumorTool, index_captureRumorToolHandler as captureRumorToolHandler, index_captureRumorToolName as captureRumorToolName, index_defineQuestlogTool as defineQuestlogTool, index_enumSchema as enumSchema, index_getQuestlogToolByName as getQuestlogToolByName, index_inspectQuestlogItemTool as inspectQuestlogItemTool, index_inspectQuestlogItemToolHandler as inspectQuestlogItemToolHandler, index_inspectQuestlogItemToolName as inspectQuestlogItemToolName, index_integerSchema as integerSchema, index_listQuestlogToolDefinitions as listQuestlogToolDefinitions, index_literalSchema as literalSchema, index_manageHooksTool as manageHooksTool, index_manageHooksToolName as manageHooksToolName, index_manageRepeatableTool as manageRepeatableTool, index_manageRepeatableToolHandler as manageRepeatableToolHandler, index_manageRepeatableToolName as manageRepeatableToolName, index_numberSchema as numberSchema, index_objectSchema as objectSchema, index_oneOfSchema as oneOfSchema, index_organizeWorkTool as organizeWorkTool, index_organizeWorkToolHandler as organizeWorkToolHandler, index_organizeWorkToolName as organizeWorkToolName, index_planQuestTool as planQuestTool, index_planQuestToolHandler as planQuestToolHandler, index_planQuestToolName as planQuestToolName, index_questlogToolMappings as questlogToolMappings, index_questlogTools as questlogTools, index_retireWorkTool as retireWorkTool, index_retireWorkToolHandler as retireWorkToolHandler, index_retireWorkToolName as retireWorkToolName, index_reviewQuestlogTool as reviewQuestlogTool, index_reviewQuestlogToolHandler as reviewQuestlogToolHandler, index_reviewQuestlogToolName as reviewQuestlogToolName, index_rewardWorkTool as rewardWorkTool, index_rewardWorkToolHandler as rewardWorkToolHandler, index_rewardWorkToolName as rewardWorkToolName, index_runQuestTool as runQuestTool, index_runQuestToolHandler as runQuestToolHandler, index_runQuestToolName as runQuestToolName, index_searchQuestlogTool as searchQuestlogTool, index_searchQuestlogToolHandler as searchQuestlogToolHandler, index_searchQuestlogToolName as searchQuestlogToolName, index_shapeWorkTool as shapeWorkTool, index_shapeWorkToolHandler as shapeWorkToolHandler, index_shapeWorkToolName as shapeWorkToolName, index_stringSchema as stringSchema, index_tagWorkTool as tagWorkTool, index_tagWorkToolHandler as tagWorkToolHandler, index_tagWorkToolName as tagWorkToolName, index_toolFailure as toolFailure, index_toolNeedsClarification as toolNeedsClarification, index_toolNoOp as toolNoOp, index_toolSuccess as toolSuccess, index_toolWarning as toolWarning };
|
|
1643
1774
|
}
|
|
1644
1775
|
|
|
1645
1776
|
/**
|
|
@@ -1710,4 +1841,4 @@ declare namespace write {
|
|
|
1710
1841
|
export { write_abandonQuest as abandonQuest, write_abandonQuestAndSpawnFollowups as abandonQuestAndSpawnFollowups, write_addQuestReward as addQuestReward, write_addUnlock as addUnlock, write_archiveQuestline as archiveQuestline, write_archiveRepeatableQuest as archiveRepeatableQuest, write_captureRumor as captureRumor, write_claimQuestReward as claimQuestReward, write_createQuest as createQuest, write_createQuestline as createQuestline, write_createRepeatableQuest as createRepeatableQuest, write_detachQuestFromQuestline as detachQuestFromQuestline, write_dismissRumor as dismissRumor, write_finishQuest as finishQuest, write_logQuestEffort as logQuestEffort, write_moveQuestToQuestline as moveQuestToQuestline, write_planQuestTime as planQuestTime, write_removeQuestReward as removeQuestReward, write_removeUnlock as removeUnlock, write_reopenRumor as reopenRumor, write_replaceQuestTags as replaceQuestTags, write_replaceRepeatableQuestRewards as replaceRepeatableQuestRewards, write_replaceRepeatableQuestTags as replaceRepeatableQuestTags, write_replaceUnlocks as replaceUnlocks, write_reviseQuestObjective as reviseQuestObjective, write_settleRumor as settleRumor, write_softDeleteQuest as softDeleteQuest, write_softDeleteQuestline as softDeleteQuestline, write_softDeleteRepeatableQuest as softDeleteRepeatableQuest, write_softDeleteRumor as softDeleteRumor, write_spawnDueRepeatableQuests as spawnDueRepeatableQuests, write_startQuest as startQuest, write_tagQuest as tagQuest, write_untagQuest as untagQuest, write_updateQuestReward as updateQuestReward, write_updateQuestline as updateQuestline, write_updateRepeatableQuest as updateRepeatableQuest, write_updateRumor as updateRumor };
|
|
1711
1842
|
}
|
|
1712
1843
|
|
|
1713
|
-
export { type AbandonQuestResult, type CaptureRumorInput, type CreateQuestInput, type CreateQuestlineInput, type CreateRepeatableQuestInput, type DueRepeatableAnchor, type FollowupQuestInput, type JsonSchema, type JsonSchemaType, type MarkerDefinition, type MarkerId, type PlanQuestTimeInput, type Quest, type QuestDetail, type QuestListFilters, type QuestReward, type QuestRewardInput, type QuestState, type QuestUnlock, type Questline, type QuestlineDetail, QuestlogDb, type QuestlogSearchResult, type QuestlogSkill, type QuestlogSkillRegistry, type QuestlogSoul, type QuestlogSoulTrait, type QuestlogToolDefinition, type QuestlogToolMapping, type RepeatableQuest, type RepeatableQuestReward, type RepeatableQuestRewardInput, type Rumor, type RumorDetail, type RumorOutput, type RumorState, type SettleRumorInput, type SettleRumorResult, type Tag, type ToolClarificationCode, type ToolDefinitionRegistry, type ToolEntityKind, type ToolEntityRef, type ToolErrorCode, type ToolErrorKind, type ToolFailure, type ToolInputDescriptions, type ToolListItem, type ToolNeedsClarification, type ToolNextStepHint, type ToolNextStepHintKind, type ToolOutcomeKind, type ToolOutputDescription, type ToolResult, type ToolSideEffects, type ToolSuccess, type ToolWarning, type ToolWarningCode, type UpdateQuestlineInput, type UpdateRepeatableQuestInput, type UpdateRumorInput, abandonQuest, abandonQuestAndSpawnFollowups, addQuestReward, addUnlock, archiveDeleteAndPruneSkill, archiveQuestline, archiveRepeatableQuest, arraySchema, booleanSchema, captureRumor, captureRumorTool, captureRumorToolHandler, captureRumorToolName, chooseWorkShapeSkill, claimQuestReward, clarifyAmbiguousRequestsSkill, closeWorkAndClaimOutcomesSkill, createConcreteQuestSkill, createQuest, createQuestline, createRepeatableQuest, defineQuestlogSkill, defineQuestlogTool, detachQuestFromQuestline, detectSlipsAndStalenessSkill, dismissRumor, enumSchema, escalateAndUnblockSkill, finishQuest, frameInitiativeQuestlineSkill, getQuestDetail, getQuestlineDetail, getQuestlogSkillByName, getQuestlogToolByName, getRumorDetail, getRumorOutputs, handleExceptionsAndWeirdCasesSkill, initQuestlogTables, inspectQuestlogItemTool, inspectQuestlogItemToolHandler, inspectQuestlogItemToolName, intakeTriageSkill, integerSchema, listActiveQuests, listAvailableQuests, listBlockedQuests, listDeferredQuests, listDueRepeatableQuestAnchors, listDueSoonQuests, listInProgressQuests, listMissedScheduledQuests, listOpenQuests, listOverdueQuests, listQuestlines, listQuestlogSkills, listQuestlogToolDefinitions, listResolvedQuests, listRumors, listScheduledForDay, listScheduledNow, literalSchema, logQuestEffort, maintainClearOwnershipSkill, manageApprovalsAndPromisesSkill, manageRepeatableTool, manageRepeatableToolHandler, manageRepeatableToolName, index$2 as markers, moveQuestToQuestline, numberSchema, objectSchema, oneOfSchema, organizeWorkTool, organizeWorkToolHandler, organizeWorkToolName, planQuestTime, planQuestTool, planQuestToolHandler, planQuestToolName, planSuccessorWorkSkill, planTimeCorrectlySkill, prioritizeAcrossStreamsSkill, protectCapacityAndFocusSkill, questlogSkills, questlogToolMappings, questlogTools, read, recoverFromModelingMistakesSkill, removeQuestReward, removeUnlock, reopenRumor, replaceQuestTags, replaceRepeatableQuestRewards, replaceRepeatableQuestTags, replaceUnlocks, reportStatusAndManageExpectationsSkill, retireWorkTool, retireWorkToolHandler, retireWorkToolName, reviewQuestlogTool, reviewQuestlogToolHandler, reviewQuestlogToolName, reviseOrReshapeCommitmentSkill, reviseQuestObjective, rewardWorkTool, rewardWorkToolHandler, rewardWorkToolName, runOperationalReviewSkill, runQuestTool, runQuestToolHandler, runQuestToolName, runRecurringRhythmsSkill, searchAndRetrieveContextSkill, searchQuestlogTool, searchQuestlogToolHandler, searchQuestlogToolName, sequenceWithUnlocksSkill, settleRumor, settleRumorIntoStructureSkill, shapeWorkTool, shapeWorkToolHandler, shapeWorkToolName, index$1 as skills, softDeleteQuest, softDeleteQuestline, softDeleteRepeatableQuest, softDeleteRumor, soul, spawnDueRepeatableQuests, startQuest, stringSchema, tagAndFilterPortfoliosSkill, tagQuest, tagWorkTool, tagWorkToolHandler, tagWorkToolName, toolFailure, toolNeedsClarification, toolNoOp, toolSuccess, toolWarning, index as tools, untagQuest, updateQuestReward, updateQuestline, updateRepeatableQuest, updateRumor, write };
|
|
1844
|
+
export { type AbandonQuestResult, type CaptureRumorInput, type CreateQuestInput, type CreateQuestlineInput, type CreateRepeatableQuestInput, type DueRepeatableAnchor, type FollowupQuestInput, type JsonSchema, type JsonSchemaType, type MarkerDefinition, type MarkerId, type PlanQuestTimeInput, type Quest, type QuestDetail, type QuestListFilters, type QuestReward, type QuestRewardInput, type QuestState, type QuestUnlock, type Questline, type QuestlineDetail, QuestlogDb, type QuestlogSearchResult, type QuestlogSkill, type QuestlogSkillRegistry, type QuestlogSoul, type QuestlogSoulTrait, type QuestlogToolDefinition, type QuestlogToolMapping, type RepeatableQuest, type RepeatableQuestReward, type RepeatableQuestRewardInput, type Rumor, type RumorDetail, type RumorOutput, type RumorState, type SettleRumorInput, type SettleRumorResult, type Tag, type ToolClarificationCode, type ToolDefinitionRegistry, type ToolEntityKind, type ToolEntityRef, type ToolErrorCode, type ToolErrorKind, type ToolFailure, type ToolInputDescriptions, type ToolListItem, type ToolNeedsClarification, type ToolNextStepHint, type ToolNextStepHintKind, type ToolOutcomeKind, type ToolOutputDescription, type ToolResult, type ToolSideEffects, type ToolSuccess, type ToolWarning, type ToolWarningCode, type UpdateQuestlineInput, type UpdateRepeatableQuestInput, type UpdateRumorInput, abandonQuest, abandonQuestAndSpawnFollowups, addQuestReward, addUnlock, archiveDeleteAndPruneSkill, archiveQuestline, archiveRepeatableQuest, arraySchema, booleanSchema, captureRumor, captureRumorTool, captureRumorToolHandler, captureRumorToolName, chooseWorkShapeSkill, claimQuestReward, clarifyAmbiguousRequestsSkill, closeWorkAndClaimOutcomesSkill, createConcreteQuestSkill, createQuest, createQuestline, createRepeatableQuest, defineQuestlogSkill, defineQuestlogTool, detachQuestFromQuestline, detectSlipsAndStalenessSkill, dismissRumor, enumSchema, escalateAndUnblockSkill, finishQuest, frameInitiativeQuestlineSkill, getQuestDetail, getQuestlineDetail, getQuestlogSkillByName, getQuestlogToolByName, getRumorDetail, getRumorOutputs, handleExceptionsAndWeirdCasesSkill, index$3 as hooks, initQuestlogTables, inspectQuestlogItemTool, inspectQuestlogItemToolHandler, inspectQuestlogItemToolName, intakeTriageSkill, integerSchema, listActiveQuests, listAvailableQuests, listBlockedQuests, listDeferredQuests, listDueRepeatableQuestAnchors, listDueSoonQuests, listInProgressQuests, listMissedScheduledQuests, listOpenQuests, listOverdueQuests, listQuestlines, listQuestlogSkills, listQuestlogToolDefinitions, listResolvedQuests, listRumors, listScheduledForDay, listScheduledNow, literalSchema, logQuestEffort, maintainClearOwnershipSkill, manageApprovalsAndPromisesSkill, manageHooksTool, manageHooksToolName, manageRepeatableTool, manageRepeatableToolHandler, manageRepeatableToolName, index$2 as markers, moveQuestToQuestline, numberSchema, objectSchema, oneOfSchema, organizeWorkTool, organizeWorkToolHandler, organizeWorkToolName, planQuestTime, planQuestTool, planQuestToolHandler, planQuestToolName, planSuccessorWorkSkill, planTimeCorrectlySkill, prioritizeAcrossStreamsSkill, protectCapacityAndFocusSkill, questlogSkills, questlogToolMappings, questlogTools, read, recoverFromModelingMistakesSkill, removeQuestReward, removeUnlock, reopenRumor, replaceQuestTags, replaceRepeatableQuestRewards, replaceRepeatableQuestTags, replaceUnlocks, reportStatusAndManageExpectationsSkill, retireWorkTool, retireWorkToolHandler, retireWorkToolName, reviewQuestlogTool, reviewQuestlogToolHandler, reviewQuestlogToolName, reviseOrReshapeCommitmentSkill, reviseQuestObjective, rewardWorkTool, rewardWorkToolHandler, rewardWorkToolName, runOperationalReviewSkill, runQuestTool, runQuestToolHandler, runQuestToolName, runRecurringRhythmsSkill, searchAndRetrieveContextSkill, searchQuestlogTool, searchQuestlogToolHandler, searchQuestlogToolName, sequenceWithUnlocksSkill, settleRumor, settleRumorIntoStructureSkill, shapeWorkTool, shapeWorkToolHandler, shapeWorkToolName, index$1 as skills, softDeleteQuest, softDeleteQuestline, softDeleteRepeatableQuest, softDeleteRumor, soul, spawnDueRepeatableQuests, startQuest, stringSchema, tagAndFilterPortfoliosSkill, tagQuest, tagWorkTool, tagWorkToolHandler, tagWorkToolName, toolFailure, toolNeedsClarification, toolNoOp, toolSuccess, toolWarning, index as tools, untagQuest, updateQuestReward, updateQuestline, updateRepeatableQuest, updateRumor, write };
|