@burdenoff/mcp-libs 2026.1110.1 → 2026.1110.3
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/bigconsole/index.cjs +1135 -0
- package/dist/modules/bigconsole/index.cjs.map +1 -1
- package/dist/modules/bigconsole/index.js +1135 -0
- package/dist/modules/bigconsole/index.js.map +1 -1
- package/dist/modules/bigconsole/operations.d.ts +32 -0
- package/dist/modules/bigconsole/tools/call.d.ts +19 -0
- package/dist/modules/bigconsole/tools/linked-workflows.d.ts +3 -0
- package/dist/modules/bigconsole/tools/pipelines.d.ts +3 -0
- package/dist/modules/bigconsole/tools/prompts.d.ts +3 -0
- package/dist/modules/bigconsole/tools/shared.d.ts +26 -0
- package/dist/modules/kadaikodi/tools/shared.d.ts +1 -1
- package/dist/modules/theglobalfuel/index.cjs +22 -3
- package/dist/modules/theglobalfuel/index.cjs.map +1 -1
- package/dist/modules/theglobalfuel/index.js +22 -3
- package/dist/modules/theglobalfuel/index.js.map +1 -1
- package/dist/modules/theglobalfuel/tools/shared.d.ts +1 -1
- package/package.json +1 -1
|
@@ -17,3 +17,35 @@ export declare const VALIDATE_DASHBOARD_IMPORT = "\n query BigConsoleMcpValidat
|
|
|
17
17
|
export declare const GENERATE_DASHBOARD_FROM_PROMPT = "\n mutation BigConsoleMcpGenerateDashboardFromPrompt($input: BigConsoleGenerateDashboardFromPromptInput!) {\n generateDashboardFromPrompt(input: $input) {\n id\n status\n }\n }\n";
|
|
18
18
|
export declare const GET_PROMPT_GENERATION = "\n query BigConsoleMcpGetPromptGeneration($id: ID!) {\n getPromptGeneration(id: $id) {\n id\n status\n errorMessage\n generatedSpecDigest\n dashboardId\n }\n }\n";
|
|
19
19
|
export declare const CREATE_DASHBOARD_FROM_GENERATION = "\n mutation BigConsoleMcpCreateDashboardFromGeneration($input: BigConsoleCreateDashboardFromGenerationInput!) {\n createDashboardFromGeneration(input: $input) {\n id\n name\n pageCount\n widgetCount\n }\n }\n";
|
|
20
|
+
export declare const UPDATE_DASHBOARD = "\n mutation BigConsoleMcpUpdateDashboard($input: BigConsoleUpdateDashboardInput!) {\n updateBigConsoleDashboard(input: $input) {\n id\n name\n description\n category\n visibility\n status\n version\n updatedAt\n }\n }\n";
|
|
21
|
+
export declare const CLONE_DASHBOARD = "\n mutation BigConsoleMcpCloneDashboard($input: BigConsoleCloneDashboardInput!) {\n cloneDashboard(input: $input) {\n id\n name\n description\n category\n createdAt\n }\n }\n";
|
|
22
|
+
export declare const SEARCH_DASHBOARDS = "\n query BigConsoleMcpSearchDashboards(\n $query: String!\n $category: BigConsoleDashboardCategory\n $visibility: BigConsoleDashboardVisibility\n $first: Int\n $after: String\n ) {\n searchDashboards(\n query: $query\n category: $category\n visibility: $visibility\n first: $first\n after: $after\n ) {\n id\n name\n description\n category\n visibility\n status\n createdAt\n }\n }\n";
|
|
23
|
+
export declare const GET_WIDGET = "\n query BigConsoleMcpGetWidget($id: ID!) {\n getWidget(id: $id) {\n id\n pageId\n dashboardId\n type\n title\n renderer\n config\n position\n dataSinkId\n parserId\n refreshInterval\n lastRefreshedAt\n createdAt\n updatedAt\n }\n }\n";
|
|
24
|
+
export declare const LIST_WIDGETS_BY_DASHBOARD = "\n query BigConsoleMcpListWidgetsByDashboard($dashboardId: ID!, $type: BigConsoleWidgetType) {\n listWidgetsByDashboard(dashboardId: $dashboardId, type: $type) {\n id\n pageId\n type\n title\n renderer\n position\n dataSinkId\n parserId\n updatedAt\n }\n }\n";
|
|
25
|
+
export declare const UPDATE_WIDGET = "\n mutation BigConsoleMcpUpdateWidget($input: BigConsoleUpdateWidgetInput!) {\n updateBigConsoleWidget(input: $input) {\n id\n type\n title\n position\n updatedAt\n }\n }\n";
|
|
26
|
+
export declare const DUPLICATE_WIDGET = "\n mutation BigConsoleMcpDuplicateWidget(\n $id: ID!\n $newPosition: BigConsoleWidgetPositionInput\n $newTitle: String\n ) {\n duplicateWidget(id: $id, newPosition: $newPosition, newTitle: $newTitle) {\n id\n pageId\n type\n title\n position\n createdAt\n }\n }\n";
|
|
27
|
+
export declare const REFRESH_WIDGET_DATA = "\n mutation BigConsoleMcpRefreshWidgetData($widgetId: ID!) {\n refreshWidgetData(widgetId: $widgetId) {\n fetchedAt\n }\n }\n";
|
|
28
|
+
export declare const GET_WIDGET_TYPES = "\n query BigConsoleMcpGetWidgetTypes {\n getWidgetTypes {\n type\n label\n category\n description\n defaultConfig\n defaultSize {\n width\n height\n }\n }\n }\n";
|
|
29
|
+
export declare const GET_WIDGET_RENDERERS = "\n query BigConsoleMcpGetWidgetRenderers {\n getAvailableRenderers {\n type\n name\n description\n supportedWidgetTypes\n }\n }\n";
|
|
30
|
+
export declare const REFRESH_DATA_SINK = "\n mutation BigConsoleMcpRefreshDataSink($input: RefreshDataSinkInput!) {\n refreshDataSink(input: $input) {\n id\n key\n name\n status\n lastRefreshedAt\n }\n }\n";
|
|
31
|
+
export declare const INVALIDATE_DATA_SINK_CACHE = "\n mutation BigConsoleMcpInvalidateDataSinkCache($id: ID) {\n invalidateDataSinkCache(id: $id) {\n success\n count\n invalidatedIds\n message\n }\n }\n";
|
|
32
|
+
export declare const GET_PARSER = "\n query BigConsoleMcpGetParser($id: ID!) {\n parser(id: $id) {\n id\n consoleId\n name\n description\n type\n expression\n inputSinkKey\n outputKey\n outputWidgetId\n ttl\n status\n version\n createdAt\n updatedAt\n }\n }\n";
|
|
33
|
+
export declare const EXECUTE_PARSER = "\n mutation BigConsoleMcpExecuteParser($id: ID!) {\n executeParser(id: $id) {\n success\n error\n executionTimeMs\n }\n }\n";
|
|
34
|
+
export declare const GET_PIPELINE = "\n query BigConsoleMcpGetPipeline($id: ID!) {\n pipeline(id: $id) {\n id\n consoleId\n name\n description\n status\n stages {\n id\n position\n parserId\n parserName\n parserType\n expression\n inputKey\n outputKey\n enabled\n onError\n fallbackValue\n description\n }\n lastExecutedAt\n version\n createdAt\n updatedAt\n }\n }\n";
|
|
35
|
+
export declare const LIST_PIPELINES = "\n query BigConsoleMcpListPipelines($filter: PipelineFilterInput, $first: Int, $after: String) {\n listPipelines(filter: $filter, first: $first, after: $after) {\n edges {\n node {\n id\n consoleId\n name\n description\n status\n lastExecutedAt\n version\n updatedAt\n }\n }\n totalCount\n pageInfo {\n hasNextPage\n endCursor\n }\n }\n }\n";
|
|
36
|
+
export declare const CREATE_PIPELINE = "\n mutation BigConsoleMcpCreatePipeline($input: CreatePipelineInput!) {\n createPipeline(input: $input) {\n id\n consoleId\n name\n status\n version\n }\n }\n";
|
|
37
|
+
export declare const UPDATE_PIPELINE = "\n mutation BigConsoleMcpUpdatePipeline($id: ID!, $input: UpdatePipelineInput!, $version: Int!) {\n updatePipeline(id: $id, input: $input, version: $version) {\n id\n name\n status\n version\n updatedAt\n }\n }\n";
|
|
38
|
+
export declare const EXECUTE_PIPELINE = "\n mutation BigConsoleMcpExecutePipeline($input: ExecutePipelineInput!) {\n executePipeline(input: $input) {\n id\n pipelineId\n status\n startedAt\n }\n }\n";
|
|
39
|
+
export declare const TEST_PIPELINE = "\n mutation BigConsoleMcpTestPipeline($input: TestPipelineInput!) {\n testPipeline(input: $input) {\n id\n pipelineId\n status\n startedAt\n completedAt\n totalExecutionTimeMs\n error\n }\n }\n";
|
|
40
|
+
export declare const LIST_PIPELINE_EXECUTIONS = "\n query BigConsoleMcpListPipelineExecutions($pipelineId: ID!, $first: Int, $after: String) {\n listPipelineExecutions(pipelineId: $pipelineId, first: $first, after: $after) {\n id\n pipelineVersion\n status\n startedAt\n completedAt\n totalExecutionTimeMs\n error\n }\n }\n";
|
|
41
|
+
export declare const GET_LINKED_WORKFLOW = "\n query BigConsoleMcpGetLinkedWorkflow($id: ID!) {\n workflow(id: $id) {\n id\n name\n key\n description\n externalWorkflowId\n status\n lastExecutedAt\n lastExecutionId\n executionCount\n linkedDataSinkCount\n version\n createdAt\n updatedAt\n }\n }\n";
|
|
42
|
+
export declare const LIST_LINKED_WORKFLOWS = "\n query BigConsoleMcpListLinkedWorkflows($filter: FluidGridsWorkflowFilterInput) {\n workflows(filter: $filter) {\n id\n name\n key\n description\n status\n lastExecutedAt\n executionCount\n linkedDataSinkCount\n version\n updatedAt\n }\n }\n";
|
|
43
|
+
export declare const GET_LINKED_WORKFLOW_BY_KEY = "\n query BigConsoleMcpGetLinkedWorkflowByKey($key: String!) {\n workflowByKey(key: $key) {\n id\n name\n key\n description\n externalWorkflowId\n status\n lastExecutedAt\n executionCount\n linkedDataSinkCount\n version\n updatedAt\n }\n }\n";
|
|
44
|
+
export declare const LIST_LINKED_WORKFLOW_DATA_SINK_LINKS = "\n query BigConsoleMcpListLinkedWorkflowDataSinkLinks($workflowId: ID!) {\n workflowDataSinkLinks(workflowId: $workflowId) {\n id\n dataSinkId\n workflowId\n isEnabled\n priority\n dataMapping\n updatedAt\n }\n }\n";
|
|
45
|
+
export declare const CREATE_LINKED_WORKFLOW = "\n mutation BigConsoleMcpCreateLinkedWorkflow($input: CreateWorkflowInput!) {\n createWorkflow(input: $input) {\n id\n name\n key\n status\n version\n }\n }\n";
|
|
46
|
+
export declare const UPDATE_LINKED_WORKFLOW = "\n mutation BigConsoleMcpUpdateLinkedWorkflow($id: ID!, $input: UpdateWorkflowInput!, $version: Int!) {\n updateWorkflow(id: $id, input: $input, version: $version) {\n id\n name\n status\n version\n updatedAt\n }\n }\n";
|
|
47
|
+
export declare const EXECUTE_LINKED_WORKFLOW = "\n mutation BigConsoleMcpExecuteLinkedWorkflow($id: ID!, $triggerData: JSON) {\n executeWorkflow(id: $id, triggerData: $triggerData) {\n id\n name\n status\n lastExecutedAt\n lastExecutionId\n }\n }\n";
|
|
48
|
+
export declare const LIST_PROMPT_GENERATIONS = "\n query BigConsoleMcpListPromptGenerations($status: PromptGenerationStatus, $first: Int, $after: String) {\n listPromptGenerations(status: $status, first: $first, after: $after) {\n edges {\n node {\n id\n prompt\n status\n dashboardId\n errorMessage\n createdAt\n completedAt\n }\n }\n totalCount\n pageInfo {\n hasNextPage\n endCursor\n }\n }\n }\n";
|
|
49
|
+
export declare const CANCEL_PROMPT_GENERATION = "\n mutation BigConsoleMcpCancelPromptGeneration($generationId: ID!) {\n cancelPromptGeneration(generationId: $generationId) {\n id\n status\n }\n }\n";
|
|
50
|
+
export declare const GET_PROMPT_SUGGESTIONS = "\n query BigConsoleMcpGetPromptSuggestions($category: String, $search: String, $limit: Int) {\n getPromptSuggestions(category: $category, search: $search, limit: $limit) {\n id\n title\n prompt\n category\n exampleDescription\n tags\n }\n }\n";
|
|
51
|
+
export declare const PREVIEW_PROMPT_ANALYSIS = "\n query BigConsoleMcpPreviewPromptAnalysis($prompt: String!) {\n previewPromptAnalysis(prompt: $prompt) {\n detectedIntent\n detectedMetrics\n dataRequirements\n suggestedCategory\n suggestedWidgetTypes\n suggestedRefinements\n estimatedWidgetCount\n confidence\n }\n }\n";
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { type McpContext, type ToolResult } from '../../../core/index.js';
|
|
2
|
+
export declare const READ_ONLY: {
|
|
3
|
+
readonly readOnlyHint: true;
|
|
4
|
+
readonly destructiveHint: false;
|
|
5
|
+
readonly idempotentHint: true;
|
|
6
|
+
};
|
|
7
|
+
export declare const WRITE: {
|
|
8
|
+
readonly readOnlyHint: false;
|
|
9
|
+
readonly destructiveHint: false;
|
|
10
|
+
};
|
|
11
|
+
export declare const WRITE_EXTERNAL: {
|
|
12
|
+
readonly readOnlyHint: false;
|
|
13
|
+
readonly destructiveHint: false;
|
|
14
|
+
readonly openWorldHint: true;
|
|
15
|
+
};
|
|
16
|
+
export declare function describeTool(text: string): string;
|
|
17
|
+
export declare function safeErrorMessage(error: unknown): string;
|
|
18
|
+
export declare function definedInput(obj: Record<string, unknown>): Record<string, unknown>;
|
|
19
|
+
export declare function gqlCall(ctx: McpContext, label: string, root: string, document: string, variables: Record<string, unknown>): Promise<ToolResult>;
|
|
@@ -55,3 +55,29 @@ export declare const VersionInt: z.ZodNumber;
|
|
|
55
55
|
export declare const VERSION_OMITTED_MESSAGE: string;
|
|
56
56
|
export declare const PageSize: z.ZodDefault<z.ZodNumber>;
|
|
57
57
|
export declare const PageCursor: z.ZodOptional<z.ZodString>;
|
|
58
|
+
export declare const DashboardLayoutEnum: z.ZodEnum<{
|
|
59
|
+
FLEX: "FLEX";
|
|
60
|
+
GRID: "GRID";
|
|
61
|
+
TABS: "TABS";
|
|
62
|
+
}>;
|
|
63
|
+
export declare const PipelineStatusEnum: z.ZodEnum<{
|
|
64
|
+
error: "error";
|
|
65
|
+
active: "active";
|
|
66
|
+
inactive: "inactive";
|
|
67
|
+
draft: "draft";
|
|
68
|
+
}>;
|
|
69
|
+
export declare const WorkflowStatusEnum: z.ZodEnum<{
|
|
70
|
+
error: "error";
|
|
71
|
+
active: "active";
|
|
72
|
+
draft: "draft";
|
|
73
|
+
archived: "archived";
|
|
74
|
+
paused: "paused";
|
|
75
|
+
}>;
|
|
76
|
+
export declare const PromptGenerationStatusEnum: z.ZodEnum<{
|
|
77
|
+
PENDING: "PENDING";
|
|
78
|
+
CANCELLED: "CANCELLED";
|
|
79
|
+
FAILED: "FAILED";
|
|
80
|
+
COMPLETED: "COMPLETED";
|
|
81
|
+
PROCESSING: "PROCESSING";
|
|
82
|
+
GENERATING: "GENERATING";
|
|
83
|
+
}>;
|
|
@@ -36,9 +36,9 @@ export declare const OrderStatusEnum: z.ZodEnum<{
|
|
|
36
36
|
export declare const PaymentStatusEnum: z.ZodEnum<{
|
|
37
37
|
PENDING: "PENDING";
|
|
38
38
|
FAILED: "FAILED";
|
|
39
|
+
PROCESSING: "PROCESSING";
|
|
39
40
|
REFUNDED: "REFUNDED";
|
|
40
41
|
PAID: "PAID";
|
|
41
|
-
PROCESSING: "PROCESSING";
|
|
42
42
|
}>;
|
|
43
43
|
export declare const InvestmentStatusEnum: z.ZodEnum<{
|
|
44
44
|
DRAFT: "DRAFT";
|
|
@@ -613,7 +613,13 @@ function registerAssetTools(server, ctx, track) {
|
|
|
613
613
|
{
|
|
614
614
|
title: "Retire Asset",
|
|
615
615
|
description: "Retire (decommission) an asset. Returns true on success.",
|
|
616
|
-
inputSchema: { id: zod.z.string().describe("Asset ID") }
|
|
616
|
+
inputSchema: { id: zod.z.string().describe("Asset ID") },
|
|
617
|
+
// BOFF-5751: retiring an asset is terminal — the backend state machine
|
|
618
|
+
// (wspace-theglobalfuel-svc ASSET_TRANSITIONS) gives RETIRED no outgoing
|
|
619
|
+
// transitions. `retire` is not in the name-inference verb set
|
|
620
|
+
// (tool-name.ts), so the explicit annotation is what engages the
|
|
621
|
+
// confirmation gate theglobalfuel-mcp/src/index.ts enables.
|
|
622
|
+
annotations: { destructiveHint: true }
|
|
617
623
|
},
|
|
618
624
|
async ({ id }) => {
|
|
619
625
|
try {
|
|
@@ -1040,7 +1046,14 @@ function registerShipmentTools(server, ctx, track) {
|
|
|
1040
1046
|
{
|
|
1041
1047
|
title: "Deliver Shipment",
|
|
1042
1048
|
description: "Mark a shipment delivered and roll its volume into the contract's delivered total.",
|
|
1043
|
-
inputSchema: { id: zod.z.string().describe("Shipment ID") }
|
|
1049
|
+
inputSchema: { id: zod.z.string().describe("Shipment ID") },
|
|
1050
|
+
// BOFF-5751: delivery is terminal (SHIPMENT_TRANSITIONS gives DELIVERED
|
|
1051
|
+
// no outgoing transitions) and rolls the shipment volume into the
|
|
1052
|
+
// parent contract's delivered total exactly once — an irreversible
|
|
1053
|
+
// commercial commitment an external agent must not auto-run. `deliver`
|
|
1054
|
+
// is not in the name-inference verb set, hence the explicit annotation
|
|
1055
|
+
// (same calibration as ggnomad bookings_create, BOFF-5746).
|
|
1056
|
+
annotations: { destructiveHint: true }
|
|
1044
1057
|
},
|
|
1045
1058
|
async ({ id }) => {
|
|
1046
1059
|
try {
|
|
@@ -1227,7 +1240,13 @@ function registerEmissionTools(server, ctx, track) {
|
|
|
1227
1240
|
{
|
|
1228
1241
|
title: "Verify Emission",
|
|
1229
1242
|
description: "Mark an emission figure third-party verified.",
|
|
1230
|
-
inputSchema: { id: zod.z.string().describe("Emission record ID") }
|
|
1243
|
+
inputSchema: { id: zod.z.string().describe("Emission record ID") },
|
|
1244
|
+
// BOFF-5751: verification stamps verifiedAt as a third-party attestation
|
|
1245
|
+
// with no un-verify path in the backend — an irreversible compliance
|
|
1246
|
+
// claim (same class as labsofscience notebook_sign in the BOFF-3907
|
|
1247
|
+
// audit). `verify` is not in the name-inference verb set, hence the
|
|
1248
|
+
// explicit annotation.
|
|
1249
|
+
annotations: { destructiveHint: true }
|
|
1231
1250
|
},
|
|
1232
1251
|
async ({ id }) => {
|
|
1233
1252
|
try {
|