@burdenoff/mcp-libs 2026.1107.5 → 2026.1110.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/modules/botmanor/index.cjs +2018 -0
- package/dist/modules/botmanor/index.cjs.map +1 -0
- package/dist/modules/botmanor/index.d.ts +3 -0
- package/dist/modules/botmanor/index.js +1940 -0
- package/dist/modules/botmanor/index.js.map +1 -0
- package/dist/modules/botmanor/operations.d.ts +62 -0
- package/dist/modules/botmanor/prompts.d.ts +3 -0
- package/dist/modules/botmanor/resources.d.ts +3 -0
- package/dist/modules/botmanor/tool-annotations.d.ts +2 -0
- package/dist/modules/botmanor/tools/agents.d.ts +3 -0
- package/dist/modules/botmanor/tools/app-agents.d.ts +3 -0
- package/dist/modules/botmanor/tools/apps.d.ts +3 -0
- package/dist/modules/botmanor/tools/channels.d.ts +3 -0
- package/dist/modules/botmanor/tools/chat.d.ts +3 -0
- package/dist/modules/botmanor/tools/executions.d.ts +3 -0
- package/dist/modules/botmanor/tools/knowledge.d.ts +3 -0
- package/dist/modules/botmanor/tools/shared.d.ts +142 -0
- package/dist/modules/botmanor/tools/store.d.ts +3 -0
- package/dist/modules/cosmicintersection/tools/shared.d.ts +1 -1
- package/dist/modules/ggnomad/tools/shared.d.ts +1 -1
- package/dist/modules/headshotmarketing/tools/shared.d.ts +5 -5
- package/dist/modules/intelwatchtower/tools/shared.d.ts +1 -1
- package/dist/modules/mybodyshield/tools/shared.d.ts +2 -2
- package/dist/modules/planmagnet/tools/shared.d.ts +2 -2
- package/dist/modules/proserviceworld/index.cjs +59 -0
- package/dist/modules/proserviceworld/index.cjs.map +1 -1
- package/dist/modules/proserviceworld/index.js +59 -0
- package/dist/modules/proserviceworld/index.js.map +1 -1
- package/dist/modules/proserviceworld/operations.d.ts +1 -0
- package/dist/modules/proserviceworld/tools/precedents.d.ts +3 -0
- package/dist/modules/semanticfed/index.cjs +127 -20
- package/dist/modules/semanticfed/index.cjs.map +1 -1
- package/dist/modules/semanticfed/index.d.ts +1 -1
- package/dist/modules/semanticfed/index.js +110 -19
- package/dist/modules/semanticfed/index.js.map +1 -1
- package/dist/modules/semanticfed/tool-annotations.d.ts +4 -0
- package/dist/modules/subscriberbot/tools/shared.d.ts +4 -4
- package/package.json +1 -1
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import type { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
|
|
3
|
+
import { type McpContext } from '../../../core/index.js';
|
|
4
|
+
type Variables = Record<string, unknown>;
|
|
5
|
+
export declare const JsonObject: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
6
|
+
export declare const Id: z.ZodString;
|
|
7
|
+
export declare const BotAppStatusEnum: z.ZodEnum<{
|
|
8
|
+
ARCHIVED: "ARCHIVED";
|
|
9
|
+
DRAFT: "DRAFT";
|
|
10
|
+
ACTIVE: "ACTIVE";
|
|
11
|
+
PAUSED: "PAUSED";
|
|
12
|
+
}>;
|
|
13
|
+
export declare const BotAppTypeEnum: z.ZodEnum<{
|
|
14
|
+
ASSISTANT: "ASSISTANT";
|
|
15
|
+
AUTOMATION: "AUTOMATION";
|
|
16
|
+
ANALYST: "ANALYST";
|
|
17
|
+
SPECIALIST: "SPECIALIST";
|
|
18
|
+
}>;
|
|
19
|
+
export declare const BotAppVisibilityEnum: z.ZodEnum<{
|
|
20
|
+
PRIVATE: "PRIVATE";
|
|
21
|
+
PUBLIC: "PUBLIC";
|
|
22
|
+
WORKSPACE: "WORKSPACE";
|
|
23
|
+
}>;
|
|
24
|
+
export declare const RoutingStrategyEnum: z.ZodEnum<{
|
|
25
|
+
CUSTOM: "CUSTOM";
|
|
26
|
+
SINGLE: "SINGLE";
|
|
27
|
+
ROUND_ROBIN: "ROUND_ROBIN";
|
|
28
|
+
INTELLIGENT: "INTELLIGENT";
|
|
29
|
+
}>;
|
|
30
|
+
export declare const BotmanorAgentStatusEnum: z.ZodEnum<{
|
|
31
|
+
ARCHIVED: "ARCHIVED";
|
|
32
|
+
DRAFT: "DRAFT";
|
|
33
|
+
ACTIVE: "ACTIVE";
|
|
34
|
+
PAUSED: "PAUSED";
|
|
35
|
+
TRAINING: "TRAINING";
|
|
36
|
+
}>;
|
|
37
|
+
export declare const BotmanorAgentTypeEnum: z.ZodEnum<{
|
|
38
|
+
ASSISTANT: "ASSISTANT";
|
|
39
|
+
AUTOMATION: "AUTOMATION";
|
|
40
|
+
ANALYST: "ANALYST";
|
|
41
|
+
SPECIALIST: "SPECIALIST";
|
|
42
|
+
}>;
|
|
43
|
+
export declare const AgentVisibilityEnum: z.ZodEnum<{
|
|
44
|
+
PRIVATE: "PRIVATE";
|
|
45
|
+
PUBLIC: "PUBLIC";
|
|
46
|
+
WORKSPACE: "WORKSPACE";
|
|
47
|
+
}>;
|
|
48
|
+
export declare const BotmanorAgentCapabilityEnum: z.ZodEnum<{
|
|
49
|
+
RAG: "RAG";
|
|
50
|
+
MCP_TOOLS: "MCP_TOOLS";
|
|
51
|
+
MEMORY: "MEMORY";
|
|
52
|
+
WEB_BROWSING: "WEB_BROWSING";
|
|
53
|
+
CODE_EXECUTION: "CODE_EXECUTION";
|
|
54
|
+
MULTIMODAL: "MULTIMODAL";
|
|
55
|
+
REASONING: "REASONING";
|
|
56
|
+
A2A: "A2A";
|
|
57
|
+
}>;
|
|
58
|
+
export declare const ExecutionStatusEnum: z.ZodEnum<{
|
|
59
|
+
PENDING: "PENDING";
|
|
60
|
+
CANCELLED: "CANCELLED";
|
|
61
|
+
FAILED: "FAILED";
|
|
62
|
+
RUNNING: "RUNNING";
|
|
63
|
+
COMPLETED: "COMPLETED";
|
|
64
|
+
TIMEOUT: "TIMEOUT";
|
|
65
|
+
}>;
|
|
66
|
+
export declare const ExecutionTypeEnum: z.ZodEnum<{
|
|
67
|
+
APP: "APP";
|
|
68
|
+
AGENT: "AGENT";
|
|
69
|
+
WORKFLOW: "WORKFLOW";
|
|
70
|
+
}>;
|
|
71
|
+
export declare const IndexStatusEnum: z.ZodEnum<{
|
|
72
|
+
FAILED: "FAILED";
|
|
73
|
+
EMPTY: "EMPTY";
|
|
74
|
+
INDEXING: "INDEXING";
|
|
75
|
+
READY: "READY";
|
|
76
|
+
REBUILDING: "REBUILDING";
|
|
77
|
+
}>;
|
|
78
|
+
export declare const ChannelTypeEnum: z.ZodEnum<{
|
|
79
|
+
CUSTOM: "CUSTOM";
|
|
80
|
+
SMS: "SMS";
|
|
81
|
+
EMAIL: "EMAIL";
|
|
82
|
+
SLACK: "SLACK";
|
|
83
|
+
DISCORD: "DISCORD";
|
|
84
|
+
WHATSAPP: "WHATSAPP";
|
|
85
|
+
TEAMS: "TEAMS";
|
|
86
|
+
WEB_WIDGET: "WEB_WIDGET";
|
|
87
|
+
WEBHOOK: "WEBHOOK";
|
|
88
|
+
}>;
|
|
89
|
+
export declare const EntityStatusEnum: z.ZodEnum<{
|
|
90
|
+
ARCHIVED: "ARCHIVED";
|
|
91
|
+
DEPRECATED: "DEPRECATED";
|
|
92
|
+
DRAFT: "DRAFT";
|
|
93
|
+
ACTIVE: "ACTIVE";
|
|
94
|
+
}>;
|
|
95
|
+
export declare const ConnectorVisibilityEnum: z.ZodEnum<{
|
|
96
|
+
PRIVATE: "PRIVATE";
|
|
97
|
+
PUBLIC: "PUBLIC";
|
|
98
|
+
WORKSPACE: "WORKSPACE";
|
|
99
|
+
}>;
|
|
100
|
+
export declare const PackageKindEnum: z.ZodEnum<{
|
|
101
|
+
APP: "APP";
|
|
102
|
+
AGENT: "AGENT";
|
|
103
|
+
WORKFLOW: "WORKFLOW";
|
|
104
|
+
KNOWLEDGE_BASE: "KNOWLEDGE_BASE";
|
|
105
|
+
KB_TEMPLATE: "KB_TEMPLATE";
|
|
106
|
+
PROMPT: "PROMPT";
|
|
107
|
+
PROMPT_TEMPLATE: "PROMPT_TEMPLATE";
|
|
108
|
+
RETRIEVAL_PROFILE: "RETRIEVAL_PROFILE";
|
|
109
|
+
SKILL: "SKILL";
|
|
110
|
+
TOOL: "TOOL";
|
|
111
|
+
MCP_PACK: "MCP_PACK";
|
|
112
|
+
CHANNEL_TEMPLATE: "CHANNEL_TEMPLATE";
|
|
113
|
+
INTEGRATION: "INTEGRATION";
|
|
114
|
+
POLICY_BUNDLE: "POLICY_BUNDLE";
|
|
115
|
+
TEMPLATE: "TEMPLATE";
|
|
116
|
+
A2A_AGENT: "A2A_AGENT";
|
|
117
|
+
}>;
|
|
118
|
+
export declare const InstallModeEnum: z.ZodEnum<{
|
|
119
|
+
LINKED: "LINKED";
|
|
120
|
+
FORKED: "FORKED";
|
|
121
|
+
}>;
|
|
122
|
+
export declare const PaginationArgs: {
|
|
123
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
124
|
+
offset: z.ZodOptional<z.ZodNumber>;
|
|
125
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
126
|
+
};
|
|
127
|
+
export declare function paginationOf(args: Record<string, unknown>): Variables | undefined;
|
|
128
|
+
export declare function listVariables(args: Record<string, unknown>, filterKeys: readonly string[]): Variables;
|
|
129
|
+
export declare function buildInput(args: Record<string, unknown>, keys: readonly string[]): Variables;
|
|
130
|
+
export interface ToolSpec {
|
|
131
|
+
name: string;
|
|
132
|
+
title: string;
|
|
133
|
+
description: string;
|
|
134
|
+
inputSchema: Record<string, z.ZodTypeAny>;
|
|
135
|
+
document: string;
|
|
136
|
+
variables: (args: Record<string, unknown>) => Variables;
|
|
137
|
+
notFoundWhenNull?: boolean;
|
|
138
|
+
before?: (variables: Variables) => string | null;
|
|
139
|
+
}
|
|
140
|
+
export declare function registerToolSet(server: McpServer, ctx: McpContext, track: (n: string) => string, specs: readonly ToolSpec[]): void;
|
|
141
|
+
export declare function requireNonEmptyInput(title: string): (variables: Variables) => string | null;
|
|
142
|
+
export {};
|
|
@@ -50,9 +50,9 @@ export declare const CosPipelineStatusEnum: z.ZodEnum<{
|
|
|
50
50
|
}>;
|
|
51
51
|
export declare const CosPipelineTriggerEnum: z.ZodEnum<{
|
|
52
52
|
SCHEDULED: "SCHEDULED";
|
|
53
|
+
WEBHOOK: "WEBHOOK";
|
|
53
54
|
MANUAL: "MANUAL";
|
|
54
55
|
ON_INGEST: "ON_INGEST";
|
|
55
|
-
WEBHOOK: "WEBHOOK";
|
|
56
56
|
}>;
|
|
57
57
|
export declare const CosRunStatusEnum: z.ZodEnum<{
|
|
58
58
|
CANCELLED: "CANCELLED";
|
|
@@ -19,7 +19,7 @@ export declare const GgnomadListingStatusEnum: z.ZodEnum<{
|
|
|
19
19
|
ARCHIVED: "ARCHIVED";
|
|
20
20
|
DRAFT: "DRAFT";
|
|
21
21
|
ACTIVE: "ACTIVE";
|
|
22
|
-
PENDING_REVIEW: "PENDING_REVIEW";
|
|
23
22
|
PAUSED: "PAUSED";
|
|
23
|
+
PENDING_REVIEW: "PENDING_REVIEW";
|
|
24
24
|
}>;
|
|
25
25
|
export declare const JsonObject: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
@@ -20,11 +20,11 @@ export declare const AssetTypeEnum: z.ZodEnum<{
|
|
|
20
20
|
AUDIO: "AUDIO";
|
|
21
21
|
VIDEO: "VIDEO";
|
|
22
22
|
OTHER: "OTHER";
|
|
23
|
+
TEMPLATE: "TEMPLATE";
|
|
23
24
|
DOCUMENT: "DOCUMENT";
|
|
24
25
|
FONT: "FONT";
|
|
25
26
|
ICON: "ICON";
|
|
26
27
|
IMAGE: "IMAGE";
|
|
27
|
-
TEMPLATE: "TEMPLATE";
|
|
28
28
|
}>;
|
|
29
29
|
export declare const ContentItemStatusEnum: z.ZodEnum<{
|
|
30
30
|
ARCHIVED: "ARCHIVED";
|
|
@@ -67,16 +67,16 @@ export declare const AdCampaignStatusEnum: z.ZodEnum<{
|
|
|
67
67
|
REJECTED: "REJECTED";
|
|
68
68
|
ACTIVE: "ACTIVE";
|
|
69
69
|
COMPLETED: "COMPLETED";
|
|
70
|
-
PENDING_REVIEW: "PENDING_REVIEW";
|
|
71
70
|
PAUSED: "PAUSED";
|
|
71
|
+
PENDING_REVIEW: "PENDING_REVIEW";
|
|
72
72
|
}>;
|
|
73
73
|
export declare const AdCreativeStatusEnum: z.ZodEnum<{
|
|
74
74
|
DRAFT: "DRAFT";
|
|
75
75
|
APPROVED: "APPROVED";
|
|
76
76
|
REJECTED: "REJECTED";
|
|
77
77
|
ACTIVE: "ACTIVE";
|
|
78
|
-
PENDING_REVIEW: "PENDING_REVIEW";
|
|
79
78
|
PAUSED: "PAUSED";
|
|
79
|
+
PENDING_REVIEW: "PENDING_REVIEW";
|
|
80
80
|
}>;
|
|
81
81
|
export declare const AdCreativeTypeEnum: z.ZodEnum<{
|
|
82
82
|
VIDEO: "VIDEO";
|
|
@@ -144,9 +144,9 @@ export declare const InfluencerCampaignStatusEnum: z.ZodEnum<{
|
|
|
144
144
|
}>;
|
|
145
145
|
export declare const InfluencerRelationshipStatusEnum: z.ZodEnum<{
|
|
146
146
|
ACTIVE: "ACTIVE";
|
|
147
|
+
PAUSED: "PAUSED";
|
|
147
148
|
PROSPECT: "PROSPECT";
|
|
148
149
|
ENDED: "ENDED";
|
|
149
|
-
PAUSED: "PAUSED";
|
|
150
150
|
NEGOTIATING: "NEGOTIATING";
|
|
151
151
|
OUTREACH: "OUTREACH";
|
|
152
152
|
}>;
|
|
@@ -239,8 +239,8 @@ export declare const WorkflowStatusEnum: z.ZodEnum<{
|
|
|
239
239
|
PAUSED: "PAUSED";
|
|
240
240
|
}>;
|
|
241
241
|
export declare const WorkflowTriggerTypeEnum: z.ZodEnum<{
|
|
242
|
-
MANUAL: "MANUAL";
|
|
243
242
|
WEBHOOK: "WEBHOOK";
|
|
243
|
+
MANUAL: "MANUAL";
|
|
244
244
|
EVENT: "EVENT";
|
|
245
245
|
CONDITION: "CONDITION";
|
|
246
246
|
SCHEDULE: "SCHEDULE";
|
|
@@ -71,8 +71,8 @@ export declare const MissionStatusEnum: z.ZodEnum<{
|
|
|
71
71
|
ACTIVE: "ACTIVE";
|
|
72
72
|
COMPLETED: "COMPLETED";
|
|
73
73
|
PAUSED: "PAUSED";
|
|
74
|
-
ABORTED: "ABORTED";
|
|
75
74
|
READY: "READY";
|
|
75
|
+
ABORTED: "ABORTED";
|
|
76
76
|
}>;
|
|
77
77
|
export declare const ReportStatusEnum: z.ZodEnum<{
|
|
78
78
|
ARCHIVED: "ARCHIVED";
|
|
@@ -9,9 +9,9 @@ export declare const GoalTypeEnum: z.ZodEnum<{
|
|
|
9
9
|
}>;
|
|
10
10
|
export declare const GoalStatusEnum: z.ZodEnum<{
|
|
11
11
|
ACTIVE: "ACTIVE";
|
|
12
|
+
PAUSED: "PAUSED";
|
|
12
13
|
ABANDONED: "ABANDONED";
|
|
13
14
|
ACHIEVED: "ACHIEVED";
|
|
14
|
-
PAUSED: "PAUSED";
|
|
15
15
|
}>;
|
|
16
16
|
export declare const FitnessLevelEnum: z.ZodEnum<{
|
|
17
17
|
ADVANCED: "ADVANCED";
|
|
@@ -80,6 +80,6 @@ export declare const RecoveryMetricEnum: z.ZodEnum<{
|
|
|
80
80
|
export declare const CoachingStatusEnum: z.ZodEnum<{
|
|
81
81
|
PENDING: "PENDING";
|
|
82
82
|
ACTIVE: "ACTIVE";
|
|
83
|
-
ENDED: "ENDED";
|
|
84
83
|
PAUSED: "PAUSED";
|
|
84
|
+
ENDED: "ENDED";
|
|
85
85
|
}>;
|
|
@@ -174,8 +174,8 @@ export declare const AutomationStatusEnum: z.ZodEnum<{
|
|
|
174
174
|
PAUSED: "PAUSED";
|
|
175
175
|
}>;
|
|
176
176
|
export declare const AutomationTriggerTypeEnum: z.ZodEnum<{
|
|
177
|
-
MANUAL: "MANUAL";
|
|
178
177
|
WEBHOOK: "WEBHOOK";
|
|
178
|
+
MANUAL: "MANUAL";
|
|
179
179
|
SCHEDULE: "SCHEDULE";
|
|
180
180
|
MILESTONE_DUE: "MILESTONE_DUE";
|
|
181
181
|
SPRINT_COMPLETED: "SPRINT_COMPLETED";
|
|
@@ -234,8 +234,8 @@ export declare const SyncDirectionEnum: z.ZodEnum<{
|
|
|
234
234
|
export declare const SyncStatusEnum: z.ZodEnum<{
|
|
235
235
|
DISABLED: "DISABLED";
|
|
236
236
|
FAILED: "FAILED";
|
|
237
|
-
SYNCING: "SYNCING";
|
|
238
237
|
PAUSED: "PAUSED";
|
|
238
|
+
SYNCING: "SYNCING";
|
|
239
239
|
SUCCESS: "SUCCESS";
|
|
240
240
|
IDLE: "IDLE";
|
|
241
241
|
}>;
|
|
@@ -232,6 +232,18 @@ var CLOSE_MATTER = `
|
|
|
232
232
|
}
|
|
233
233
|
}
|
|
234
234
|
`;
|
|
235
|
+
var PRECEDENT_MATCH_FIELDS = `
|
|
236
|
+
sourceType sourceId matterId engagementId clientId title snippet
|
|
237
|
+
matchedFields score isPrivileged updatedAt
|
|
238
|
+
`;
|
|
239
|
+
var FIND_PRECEDENTS = `
|
|
240
|
+
query PswFindPrecedents($input: PswFindPrecedentsInput!, $pagination: PaginationInput) {
|
|
241
|
+
pswFindPrecedents(input: $input, pagination: $pagination) {
|
|
242
|
+
items { ${PRECEDENT_MATCH_FIELDS} }
|
|
243
|
+
${PAGE_INFO}
|
|
244
|
+
}
|
|
245
|
+
}
|
|
246
|
+
`;
|
|
235
247
|
var LIST_INVOICES = `
|
|
236
248
|
query PswListInvoices(
|
|
237
249
|
$clientId: ID
|
|
@@ -1116,6 +1128,52 @@ function registerHealthTools(server, ctx, track) {
|
|
|
1116
1128
|
}
|
|
1117
1129
|
);
|
|
1118
1130
|
}
|
|
1131
|
+
var PrecedentEntityTypeEnum = zod.z.enum(["MATTER", "ENGAGEMENT", "DELIVERABLE", "DOCUMENT"]);
|
|
1132
|
+
function registerPrecedentTools(server, ctx, track) {
|
|
1133
|
+
server.registerTool(
|
|
1134
|
+
track(mcpToolName(ctx.productName, "precedents_find")),
|
|
1135
|
+
{
|
|
1136
|
+
title: "Find Precedents",
|
|
1137
|
+
description: `Search the firm's own prior work \u2014 matters, engagements, deliverables, and documents \u2014 for precedents matching a free-text query or an existing matter ("have we done this before?"). Returns ranked hits with cited evidence (source entity, matter/engagement/client ids, matched fields, excerpt). Results are access-scoped: matters the caller is walled off from never appear.`,
|
|
1138
|
+
inputSchema: {
|
|
1139
|
+
query: zod.z.string().optional().describe("Free-text search query. Omit only when matterId is given."),
|
|
1140
|
+
matterId: zod.z.string().optional().describe(
|
|
1141
|
+
"Derive the search text from this matter (the matter itself is excluded from results)"
|
|
1142
|
+
),
|
|
1143
|
+
entityTypes: zod.z.array(PrecedentEntityTypeEnum).optional().describe("Restrict to specific source types (default: all)"),
|
|
1144
|
+
practiceAreaId: zod.z.string().optional().describe("Filter by practice-area ID"),
|
|
1145
|
+
clientId: zod.z.string().optional().describe("Filter by client ID"),
|
|
1146
|
+
status: zod.z.string().optional().describe("Filter by source entity status"),
|
|
1147
|
+
limit: zod.z.number().int().optional().describe("Page size (default 20)"),
|
|
1148
|
+
offset: zod.z.number().int().optional().describe("Pagination offset (default 0)")
|
|
1149
|
+
}
|
|
1150
|
+
},
|
|
1151
|
+
async ({ query, matterId, entityTypes, practiceAreaId, clientId, status, limit, offset }) => {
|
|
1152
|
+
try {
|
|
1153
|
+
if (query === void 0 && matterId === void 0) {
|
|
1154
|
+
return errorResult("Provide either query or matterId");
|
|
1155
|
+
}
|
|
1156
|
+
const input = {};
|
|
1157
|
+
if (query !== void 0) input.query = query;
|
|
1158
|
+
if (matterId !== void 0) input.matterId = matterId;
|
|
1159
|
+
if (entityTypes !== void 0) input.entityTypes = entityTypes;
|
|
1160
|
+
if (practiceAreaId !== void 0) input.practiceAreaId = practiceAreaId;
|
|
1161
|
+
if (clientId !== void 0) input.clientId = clientId;
|
|
1162
|
+
if (status !== void 0) input.status = status;
|
|
1163
|
+
const data = await ctx.gql.workspace.request(FIND_PRECEDENTS, {
|
|
1164
|
+
input,
|
|
1165
|
+
pagination: { limit: limit ?? 20, offset: offset ?? 0 }
|
|
1166
|
+
});
|
|
1167
|
+
return jsonResult(data.pswFindPrecedents);
|
|
1168
|
+
} catch (error) {
|
|
1169
|
+
ctx.logger.error("proserviceworld precedents_find failed", { error: String(error) });
|
|
1170
|
+
return errorResult(
|
|
1171
|
+
`Failed to find precedents: ${error instanceof Error ? error.message : String(error)}`
|
|
1172
|
+
);
|
|
1173
|
+
}
|
|
1174
|
+
}
|
|
1175
|
+
);
|
|
1176
|
+
}
|
|
1119
1177
|
|
|
1120
1178
|
// src/modules/proserviceworld/resources.ts
|
|
1121
1179
|
function registerProserviceworldResources(server, ctx, track) {
|
|
@@ -1393,6 +1451,7 @@ var proserviceworldModule = {
|
|
|
1393
1451
|
registerComplianceTools(server, ctx, trackTool);
|
|
1394
1452
|
registerPracticeTools(server, ctx, trackTool);
|
|
1395
1453
|
registerHealthTools(server, ctx, trackTool);
|
|
1454
|
+
registerPrecedentTools(server, ctx, trackTool);
|
|
1396
1455
|
registerProserviceworldResources(server, ctx, trackResource);
|
|
1397
1456
|
registerProserviceworldPrompts(server, ctx, trackPrompt);
|
|
1398
1457
|
return { tools, resources, prompts };
|