@bike4mind/cli 0.2.30 → 0.2.31-b4m-cli-undo-command.19493
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/{HydrationEngine-WGYKF46H.js → HydrationEngine-YL2HWJ3V.js} +1 -1
- package/dist/{artifactExtractor-JQMWU272.js → artifactExtractor-Z6CL6QFN.js} +1 -1
- package/dist/{chunk-LLA44SW7.js → chunk-2LLA4MTN.js} +2 -2
- package/dist/{chunk-T4VPCTBM.js → chunk-GE7Q64MS.js} +834 -5
- package/dist/{chunk-RUI6HNLO.js → chunk-GQGOWACU.js} +8 -4
- package/dist/{chunk-BQAPZP5Y.js → chunk-RI45VJW3.js} +234 -16
- package/dist/{chunk-WIB75EEX.js → chunk-T67NGQW6.js} +2 -2
- package/dist/{chunk-U63VANTQ.js → chunk-ZOWCX4MQ.js} +2 -2
- package/dist/{create-4WOBQ5JM.js → create-JNUW7ICC.js} +3 -3
- package/dist/index.js +3241 -414
- package/dist/{llmMarkdownGenerator-2O24TMGD.js → llmMarkdownGenerator-KGA4HTQN.js} +1 -1
- package/dist/{markdownGenerator-6LAK3FQM.js → markdownGenerator-ERG7FI5H.js} +1 -1
- package/dist/{mementoService-NRR7NQ4C.js → mementoService-I56R5DNA.js} +3 -3
- package/dist/{src-3FQBHGOM.js → src-EMANOLFK.js} +12 -2
- package/dist/{src-VMQ5TKYR.js → src-IAR65K73.js} +27 -1
- package/dist/{subtractCredits-HK72MSDY.js → subtractCredits-3MEQF5CV.js} +3 -3
- package/package.json +6 -6
|
@@ -324,7 +324,15 @@ var b4mLLMTools = z5.enum([
|
|
|
324
324
|
"iss_tracker",
|
|
325
325
|
"planet_visibility",
|
|
326
326
|
// Knowledge base search
|
|
327
|
-
"search_knowledge_base"
|
|
327
|
+
"search_knowledge_base",
|
|
328
|
+
"retrieve_knowledge_content",
|
|
329
|
+
// Agent delegation
|
|
330
|
+
"delegate_to_agent",
|
|
331
|
+
// Quantum optimization tools
|
|
332
|
+
"quantum_schedule",
|
|
333
|
+
"quantum_formulate",
|
|
334
|
+
// Navigation tool
|
|
335
|
+
"navigate_view"
|
|
328
336
|
]);
|
|
329
337
|
var B4MLLMToolsList = b4mLLMTools.options.map((tool) => tool);
|
|
330
338
|
var RechartsChartTypeSchema = z5.enum([
|
|
@@ -1075,6 +1083,15 @@ var WebhookDeliveryStatus;
|
|
|
1075
1083
|
WebhookDeliveryStatus2["Pending"] = "pending";
|
|
1076
1084
|
})(WebhookDeliveryStatus || (WebhookDeliveryStatus = {}));
|
|
1077
1085
|
|
|
1086
|
+
// ../../b4m-core/packages/common/dist/src/types/entities/WebhookAuditLogTypes.js
|
|
1087
|
+
var WebhookAuditStatus;
|
|
1088
|
+
(function(WebhookAuditStatus2) {
|
|
1089
|
+
WebhookAuditStatus2["Received"] = "received";
|
|
1090
|
+
WebhookAuditStatus2["Processing"] = "processing";
|
|
1091
|
+
WebhookAuditStatus2["Completed"] = "completed";
|
|
1092
|
+
WebhookAuditStatus2["Failed"] = "failed";
|
|
1093
|
+
})(WebhookAuditStatus || (WebhookAuditStatus = {}));
|
|
1094
|
+
|
|
1078
1095
|
// ../../b4m-core/packages/common/dist/src/types/entities/JiraWebhookConfigTypes.js
|
|
1079
1096
|
var COMMON_JIRA_WEBHOOK_EVENTS = [
|
|
1080
1097
|
"jira:issue_created",
|
|
@@ -1200,6 +1217,29 @@ var VoiceSessionSendTranscriptAction = z10.object({
|
|
|
1200
1217
|
conversationItemId: z10.string(),
|
|
1201
1218
|
timestamp: z10.coerce.date().optional()
|
|
1202
1219
|
});
|
|
1220
|
+
var CliCompletionRequestAction = z10.object({
|
|
1221
|
+
action: z10.literal("cli_completion_request"),
|
|
1222
|
+
accessToken: z10.string(),
|
|
1223
|
+
requestId: z10.string().uuid(),
|
|
1224
|
+
model: z10.string(),
|
|
1225
|
+
messages: z10.array(z10.object({
|
|
1226
|
+
role: z10.enum(["user", "assistant", "system"]),
|
|
1227
|
+
content: z10.union([z10.string(), z10.array(z10.unknown())])
|
|
1228
|
+
})),
|
|
1229
|
+
options: z10.object({
|
|
1230
|
+
temperature: z10.number().optional(),
|
|
1231
|
+
maxTokens: z10.number().optional(),
|
|
1232
|
+
stream: z10.boolean().optional(),
|
|
1233
|
+
tools: z10.array(z10.unknown()).optional()
|
|
1234
|
+
}).optional()
|
|
1235
|
+
});
|
|
1236
|
+
var CliToolRequestAction = z10.object({
|
|
1237
|
+
action: z10.literal("cli_tool_request"),
|
|
1238
|
+
accessToken: z10.string(),
|
|
1239
|
+
requestId: z10.string().uuid(),
|
|
1240
|
+
toolName: z10.string(),
|
|
1241
|
+
input: z10.record(z10.unknown())
|
|
1242
|
+
});
|
|
1203
1243
|
var VoiceSessionEndedAction = z10.object({
|
|
1204
1244
|
action: z10.literal("voice_session_ended"),
|
|
1205
1245
|
userId: z10.string(),
|
|
@@ -1488,6 +1528,36 @@ var VoiceCreditsExhaustedAction = z10.object({
|
|
|
1488
1528
|
creditsUsed: z10.number(),
|
|
1489
1529
|
clientId: z10.string().optional()
|
|
1490
1530
|
});
|
|
1531
|
+
var CliCompletionChunkAction = z10.object({
|
|
1532
|
+
action: z10.literal("cli_completion_chunk"),
|
|
1533
|
+
requestId: z10.string(),
|
|
1534
|
+
chunk: z10.object({
|
|
1535
|
+
type: z10.enum(["content", "tool_use"]),
|
|
1536
|
+
text: z10.string(),
|
|
1537
|
+
tools: z10.array(z10.unknown()).optional(),
|
|
1538
|
+
usage: z10.object({
|
|
1539
|
+
inputTokens: z10.number().optional(),
|
|
1540
|
+
outputTokens: z10.number().optional()
|
|
1541
|
+
}).optional(),
|
|
1542
|
+
thinking: z10.array(z10.unknown()).optional()
|
|
1543
|
+
})
|
|
1544
|
+
});
|
|
1545
|
+
var CliCompletionDoneAction = z10.object({
|
|
1546
|
+
action: z10.literal("cli_completion_done"),
|
|
1547
|
+
requestId: z10.string()
|
|
1548
|
+
});
|
|
1549
|
+
var CliCompletionErrorAction = z10.object({
|
|
1550
|
+
action: z10.literal("cli_completion_error"),
|
|
1551
|
+
requestId: z10.string(),
|
|
1552
|
+
error: z10.string()
|
|
1553
|
+
});
|
|
1554
|
+
var CliToolResponseAction = z10.object({
|
|
1555
|
+
action: z10.literal("cli_tool_response"),
|
|
1556
|
+
requestId: z10.string(),
|
|
1557
|
+
success: z10.boolean(),
|
|
1558
|
+
content: z10.unknown().optional(),
|
|
1559
|
+
error: z10.string().optional()
|
|
1560
|
+
});
|
|
1491
1561
|
var SessionCreatedAction = shareableDocumentSchema.extend({
|
|
1492
1562
|
action: z10.literal("session.created"),
|
|
1493
1563
|
id: z10.string(),
|
|
@@ -1522,7 +1592,9 @@ var MessageDataToServer = z10.discriminatedUnion("action", [
|
|
|
1522
1592
|
DataUnsubscribeRequestAction,
|
|
1523
1593
|
HeartbeatAction,
|
|
1524
1594
|
VoiceSessionSendTranscriptAction,
|
|
1525
|
-
VoiceSessionEndedAction
|
|
1595
|
+
VoiceSessionEndedAction,
|
|
1596
|
+
CliCompletionRequestAction,
|
|
1597
|
+
CliToolRequestAction
|
|
1526
1598
|
]);
|
|
1527
1599
|
var MessageDataToClient = z10.discriminatedUnion("action", [
|
|
1528
1600
|
DataSubscriptionUpdateAction,
|
|
@@ -1548,7 +1620,11 @@ var MessageDataToClient = z10.discriminatedUnion("action", [
|
|
|
1548
1620
|
PiHistoryCompleteAction,
|
|
1549
1621
|
PiHistoryErrorAction,
|
|
1550
1622
|
SessionCreatedAction,
|
|
1551
|
-
VoiceCreditsExhaustedAction
|
|
1623
|
+
VoiceCreditsExhaustedAction,
|
|
1624
|
+
CliCompletionChunkAction,
|
|
1625
|
+
CliCompletionDoneAction,
|
|
1626
|
+
CliCompletionErrorAction,
|
|
1627
|
+
CliToolResponseAction
|
|
1552
1628
|
]);
|
|
1553
1629
|
|
|
1554
1630
|
// ../../b4m-core/packages/common/dist/src/schemas/cliCompletions.js
|
|
@@ -2432,6 +2508,8 @@ var SettingKeySchema = z21.enum([
|
|
|
2432
2508
|
"githubMcpClientSecret",
|
|
2433
2509
|
"atlassianClientId",
|
|
2434
2510
|
"atlassianClientSecret",
|
|
2511
|
+
"qWorkUrl",
|
|
2512
|
+
"qWorkToken",
|
|
2435
2513
|
// BRANDING RELATED SETTINGS
|
|
2436
2514
|
"FacebookLink",
|
|
2437
2515
|
"RedditLink",
|
|
@@ -2498,7 +2576,11 @@ var SettingKeySchema = z21.enum([
|
|
|
2498
2576
|
// LIVEOPS TRIAGE AUTOMATION SETTINGS
|
|
2499
2577
|
"liveopsTriageConfig",
|
|
2500
2578
|
// HELP CENTER SETTINGS
|
|
2501
|
-
"EnableHelpChat"
|
|
2579
|
+
"EnableHelpChat",
|
|
2580
|
+
// B4M PI SETTINGS
|
|
2581
|
+
"EnableBmPi",
|
|
2582
|
+
// QUANTUM CANVASSER SETTINGS
|
|
2583
|
+
"EnableQuantumCanvasser"
|
|
2502
2584
|
]);
|
|
2503
2585
|
var CategoryOrder = [
|
|
2504
2586
|
"AI",
|
|
@@ -2856,6 +2938,16 @@ var API_SERVICE_GROUPS = {
|
|
|
2856
2938
|
{ key: "atlassianClientSecret", order: 5 }
|
|
2857
2939
|
]
|
|
2858
2940
|
},
|
|
2941
|
+
Q_WORK: {
|
|
2942
|
+
id: "qWorkAPIService",
|
|
2943
|
+
name: "Q/Work",
|
|
2944
|
+
description: "Q/Work integration settings",
|
|
2945
|
+
icon: "Handyman",
|
|
2946
|
+
settings: [
|
|
2947
|
+
{ key: "qWorkUrl", order: 1 },
|
|
2948
|
+
{ key: "qWorkToken", order: 2 }
|
|
2949
|
+
]
|
|
2950
|
+
},
|
|
2859
2951
|
SEARCH: {
|
|
2860
2952
|
id: "searchAPIService",
|
|
2861
2953
|
name: "Search Service",
|
|
@@ -2919,7 +3011,9 @@ var API_SERVICE_GROUPS = {
|
|
|
2919
3011
|
{ key: "EnableMcpToolFiltering", order: 15 },
|
|
2920
3012
|
{ key: "McpToolFilteringMaxTools", order: 16 },
|
|
2921
3013
|
{ key: "EnableParallelToolExecution", order: 17 },
|
|
2922
|
-
{ key: "EnableHelpChat", order: 18 }
|
|
3014
|
+
{ key: "EnableHelpChat", order: 18 },
|
|
3015
|
+
{ key: "EnableBmPi", order: 19 },
|
|
3016
|
+
{ key: "EnableQuantumCanvasser", order: 20 }
|
|
2923
3017
|
]
|
|
2924
3018
|
},
|
|
2925
3019
|
NOTEBOOK: {
|
|
@@ -3737,6 +3831,25 @@ var settingsMap = {
|
|
|
3737
3831
|
order: 5,
|
|
3738
3832
|
isSensitive: true
|
|
3739
3833
|
}),
|
|
3834
|
+
qWorkUrl: makeStringSetting({
|
|
3835
|
+
key: "qWorkUrl",
|
|
3836
|
+
name: "Q/Work URL",
|
|
3837
|
+
defaultValue: "",
|
|
3838
|
+
description: "The base URL for the Q/Work API (for example: https://q.bike4mind.com).",
|
|
3839
|
+
category: "Tools",
|
|
3840
|
+
group: API_SERVICE_GROUPS.Q_WORK.id,
|
|
3841
|
+
order: 1
|
|
3842
|
+
}),
|
|
3843
|
+
qWorkToken: makeStringSetting({
|
|
3844
|
+
key: "qWorkToken",
|
|
3845
|
+
name: "Q/Work Token",
|
|
3846
|
+
defaultValue: "",
|
|
3847
|
+
description: "The bearer token used to authenticate requests to Q/Work.",
|
|
3848
|
+
category: "Tools",
|
|
3849
|
+
group: API_SERVICE_GROUPS.Q_WORK.id,
|
|
3850
|
+
order: 2,
|
|
3851
|
+
isSensitive: true
|
|
3852
|
+
}),
|
|
3740
3853
|
EnableOllama: makeBooleanSetting({
|
|
3741
3854
|
key: "EnableOllama",
|
|
3742
3855
|
name: "Enable Ollama",
|
|
@@ -4109,6 +4222,26 @@ var settingsMap = {
|
|
|
4109
4222
|
category: "Experimental",
|
|
4110
4223
|
group: API_SERVICE_GROUPS.EXPERIMENTAL.id,
|
|
4111
4224
|
order: 17
|
|
4225
|
+
}),
|
|
4226
|
+
// B4M Pi (Project Intelligence) Settings
|
|
4227
|
+
EnableBmPi: makeBooleanSetting({
|
|
4228
|
+
key: "EnableBmPi",
|
|
4229
|
+
name: "Enable B4M Pi",
|
|
4230
|
+
defaultValue: true,
|
|
4231
|
+
description: "Enable the B4M Pi (Project Intelligence) module for repository analysis, task scheduling, and team activity dashboards.",
|
|
4232
|
+
category: "Experimental",
|
|
4233
|
+
group: API_SERVICE_GROUPS.EXPERIMENTAL.id,
|
|
4234
|
+
order: 18
|
|
4235
|
+
}),
|
|
4236
|
+
// OptiHashi Settings
|
|
4237
|
+
EnableQuantumCanvasser: makeBooleanSetting({
|
|
4238
|
+
key: "EnableQuantumCanvasser",
|
|
4239
|
+
name: "Enable OptiHashi",
|
|
4240
|
+
defaultValue: false,
|
|
4241
|
+
description: "Enable OptiHashi, the quantum optimizer module for AI-driven optimization across classical and quantum solvers.",
|
|
4242
|
+
category: "Experimental",
|
|
4243
|
+
group: API_SERVICE_GROUPS.EXPERIMENTAL.id,
|
|
4244
|
+
order: 18
|
|
4112
4245
|
})
|
|
4113
4246
|
// Add more settings as needed
|
|
4114
4247
|
};
|
|
@@ -4631,6 +4764,16 @@ var SlackEvents;
|
|
|
4631
4764
|
SlackEvents2["CHANNEL_EXPORT_FAILED"] = "Slack Channel Export Failed";
|
|
4632
4765
|
})(SlackEvents || (SlackEvents = {}));
|
|
4633
4766
|
|
|
4767
|
+
// ../../b4m-core/packages/common/dist/src/schemas/analytics/events/help.js
|
|
4768
|
+
var HelpEvents;
|
|
4769
|
+
(function(HelpEvents2) {
|
|
4770
|
+
HelpEvents2["HELP_ARTICLE_VIEW"] = "Help Article Viewed";
|
|
4771
|
+
HelpEvents2["HELP_SEARCH"] = "Help Search";
|
|
4772
|
+
HelpEvents2["HELP_ARTICLE_FEEDBACK"] = "Help Article Feedback";
|
|
4773
|
+
HelpEvents2["HELP_CHAT_QUERY"] = "Help Chat Query";
|
|
4774
|
+
HelpEvents2["HELP_CHAT_FEEDBACK"] = "Help Chat Feedback";
|
|
4775
|
+
})(HelpEvents || (HelpEvents = {}));
|
|
4776
|
+
|
|
4634
4777
|
// ../../b4m-core/packages/common/dist/src/schemas/team.js
|
|
4635
4778
|
import { z as z24 } from "zod";
|
|
4636
4779
|
var InternalTeamMemberSchema = z24.object({
|
|
@@ -9295,6 +9438,679 @@ function serializeSSEEvent(event) {
|
|
|
9295
9438
|
}
|
|
9296
9439
|
var SSE_DONE_SIGNAL = "data: [DONE]\n\n";
|
|
9297
9440
|
|
|
9441
|
+
// ../../b4m-core/packages/common/dist/src/navigation/viewRegistry.js
|
|
9442
|
+
var VIEW_REGISTRY = [
|
|
9443
|
+
// ── OptiHashi (Quantum Optimizer) ──────────────────────────────────────
|
|
9444
|
+
{
|
|
9445
|
+
id: "opti.root",
|
|
9446
|
+
section: "opti",
|
|
9447
|
+
label: "OptiHashi Home",
|
|
9448
|
+
description: "The OptiHashi Quantum Optimizer landing page showing all 8 pattern family cards",
|
|
9449
|
+
navigationType: "route",
|
|
9450
|
+
target: "/opti",
|
|
9451
|
+
keywords: ["optimization", "canvasser", "home", "patterns", "families"]
|
|
9452
|
+
},
|
|
9453
|
+
{
|
|
9454
|
+
id: "opti.scheduling",
|
|
9455
|
+
section: "opti",
|
|
9456
|
+
label: "Scheduling",
|
|
9457
|
+
description: "Scheduling optimization: job-shop, flow-shop, shift scheduling, makespan minimization",
|
|
9458
|
+
navigationType: "action",
|
|
9459
|
+
target: "scheduling",
|
|
9460
|
+
keywords: ["scheduling", "job-shop", "flow-shop", "shifts", "makespan", "calendar"]
|
|
9461
|
+
},
|
|
9462
|
+
{
|
|
9463
|
+
id: "opti.scheduling.problem",
|
|
9464
|
+
section: "opti",
|
|
9465
|
+
label: "Problem Editor",
|
|
9466
|
+
description: "Define and preview scheduling problems \u2014 job-shop matrix, QUBO encoding",
|
|
9467
|
+
navigationType: "action",
|
|
9468
|
+
target: "scheduling.problem",
|
|
9469
|
+
keywords: ["problem", "editor", "QUBO", "matrix", "jobs", "machines", "operations", "custom problem"]
|
|
9470
|
+
},
|
|
9471
|
+
{
|
|
9472
|
+
id: "opti.scheduling.solvers",
|
|
9473
|
+
section: "opti",
|
|
9474
|
+
label: "Solver Selection",
|
|
9475
|
+
description: "Configure which solvers to race \u2014 greedy, simulated annealing, tabu search, genetic algorithm, ant colony",
|
|
9476
|
+
navigationType: "action",
|
|
9477
|
+
target: "scheduling.solvers",
|
|
9478
|
+
keywords: [
|
|
9479
|
+
"solvers",
|
|
9480
|
+
"tabu",
|
|
9481
|
+
"simulated annealing",
|
|
9482
|
+
"genetic algorithm",
|
|
9483
|
+
"ant colony",
|
|
9484
|
+
"greedy",
|
|
9485
|
+
"solver race",
|
|
9486
|
+
"configure solvers"
|
|
9487
|
+
]
|
|
9488
|
+
},
|
|
9489
|
+
{
|
|
9490
|
+
id: "opti.scheduling.results",
|
|
9491
|
+
section: "opti",
|
|
9492
|
+
label: "Race Results",
|
|
9493
|
+
description: "View solver race results \u2014 progress, best schedule, makespan comparison, utilization",
|
|
9494
|
+
navigationType: "action",
|
|
9495
|
+
target: "scheduling.results",
|
|
9496
|
+
keywords: [
|
|
9497
|
+
"results",
|
|
9498
|
+
"race results",
|
|
9499
|
+
"makespan",
|
|
9500
|
+
"comparison",
|
|
9501
|
+
"best schedule",
|
|
9502
|
+
"utilization",
|
|
9503
|
+
"solver comparison"
|
|
9504
|
+
]
|
|
9505
|
+
},
|
|
9506
|
+
{
|
|
9507
|
+
id: "opti.scheduling.gantt",
|
|
9508
|
+
section: "opti",
|
|
9509
|
+
label: "Gantt Chart",
|
|
9510
|
+
description: "Gantt chart visualization of the best scheduling solution",
|
|
9511
|
+
navigationType: "action",
|
|
9512
|
+
target: "scheduling.gantt",
|
|
9513
|
+
keywords: ["gantt", "chart", "visualization", "timeline", "schedule view"]
|
|
9514
|
+
},
|
|
9515
|
+
{
|
|
9516
|
+
id: "opti.scheduling.qwork",
|
|
9517
|
+
section: "opti",
|
|
9518
|
+
label: "Q/Work",
|
|
9519
|
+
description: "View quantum job history and status from Q/Work",
|
|
9520
|
+
navigationType: "action",
|
|
9521
|
+
target: "scheduling.qwork",
|
|
9522
|
+
keywords: ["quantum", "q/work", "qwork", "hardware", "quantum computer", "jobs", "status", "history"]
|
|
9523
|
+
},
|
|
9524
|
+
{
|
|
9525
|
+
id: "opti.routing",
|
|
9526
|
+
section: "opti",
|
|
9527
|
+
label: "Routing",
|
|
9528
|
+
description: "Vehicle routing, TSP, logistics, delivery routes, fleet management",
|
|
9529
|
+
navigationType: "action",
|
|
9530
|
+
target: "routing",
|
|
9531
|
+
keywords: ["routing", "TSP", "vehicle", "logistics", "delivery", "fleet", "path"]
|
|
9532
|
+
},
|
|
9533
|
+
{
|
|
9534
|
+
id: "opti.packing",
|
|
9535
|
+
section: "opti",
|
|
9536
|
+
label: "Packing",
|
|
9537
|
+
description: "Bin packing, knapsack, container loading, space optimization",
|
|
9538
|
+
navigationType: "action",
|
|
9539
|
+
target: "packing",
|
|
9540
|
+
keywords: ["packing", "bin", "knapsack", "container", "loading", "space"]
|
|
9541
|
+
},
|
|
9542
|
+
{
|
|
9543
|
+
id: "opti.network",
|
|
9544
|
+
section: "opti",
|
|
9545
|
+
label: "Network Design",
|
|
9546
|
+
description: "Network flow, facility location, supply chain network design",
|
|
9547
|
+
navigationType: "action",
|
|
9548
|
+
target: "network",
|
|
9549
|
+
keywords: ["network", "flow", "facility", "location", "supply chain", "graph"]
|
|
9550
|
+
},
|
|
9551
|
+
{
|
|
9552
|
+
id: "opti.selection",
|
|
9553
|
+
section: "opti",
|
|
9554
|
+
label: "Selection",
|
|
9555
|
+
description: "Portfolio selection, feature selection, subset optimization",
|
|
9556
|
+
navigationType: "action",
|
|
9557
|
+
target: "selection",
|
|
9558
|
+
keywords: ["selection", "portfolio", "feature", "subset", "pick", "choose"]
|
|
9559
|
+
},
|
|
9560
|
+
{
|
|
9561
|
+
id: "opti.economic",
|
|
9562
|
+
section: "opti",
|
|
9563
|
+
label: "Economic",
|
|
9564
|
+
description: "Resource allocation, pricing, budgeting, economic optimization",
|
|
9565
|
+
navigationType: "action",
|
|
9566
|
+
target: "economic",
|
|
9567
|
+
keywords: ["economic", "resource", "allocation", "pricing", "budget", "cost"]
|
|
9568
|
+
},
|
|
9569
|
+
{
|
|
9570
|
+
id: "opti.assignment",
|
|
9571
|
+
section: "opti",
|
|
9572
|
+
label: "Assignment",
|
|
9573
|
+
description: "Task assignment, matching, workforce allocation, team formation",
|
|
9574
|
+
navigationType: "action",
|
|
9575
|
+
target: "assignment",
|
|
9576
|
+
keywords: ["assignment", "matching", "workforce", "team", "allocate", "assign"]
|
|
9577
|
+
},
|
|
9578
|
+
{
|
|
9579
|
+
id: "opti.partitioning",
|
|
9580
|
+
section: "opti",
|
|
9581
|
+
label: "Partitioning",
|
|
9582
|
+
description: "Graph partitioning, clustering, load balancing, data partitioning",
|
|
9583
|
+
navigationType: "action",
|
|
9584
|
+
target: "partitioning",
|
|
9585
|
+
keywords: ["partitioning", "clustering", "balancing", "partition", "divide", "split"]
|
|
9586
|
+
},
|
|
9587
|
+
// ── Admin ──────────────────────────────────────────────────────────────
|
|
9588
|
+
{
|
|
9589
|
+
id: "admin.users",
|
|
9590
|
+
section: "admin",
|
|
9591
|
+
label: "User Management",
|
|
9592
|
+
description: "View and manage user accounts, roles, and permissions",
|
|
9593
|
+
navigationType: "tab",
|
|
9594
|
+
target: "0",
|
|
9595
|
+
// AdminTab.Users
|
|
9596
|
+
keywords: ["users", "accounts", "roles", "permissions", "manage users"],
|
|
9597
|
+
requiresAdmin: true
|
|
9598
|
+
},
|
|
9599
|
+
{
|
|
9600
|
+
id: "admin.credit_analytics",
|
|
9601
|
+
section: "admin",
|
|
9602
|
+
label: "Credit Analytics",
|
|
9603
|
+
description: "View credit usage, add credits to users, billing analytics",
|
|
9604
|
+
navigationType: "tab",
|
|
9605
|
+
target: "15",
|
|
9606
|
+
// AdminTab.CreditAnalytics
|
|
9607
|
+
keywords: ["credits", "billing", "usage", "add credits", "balance", "cost"],
|
|
9608
|
+
requiresAdmin: true
|
|
9609
|
+
},
|
|
9610
|
+
{
|
|
9611
|
+
id: "admin.settings",
|
|
9612
|
+
section: "admin",
|
|
9613
|
+
label: "Admin Settings",
|
|
9614
|
+
description: "System-wide administration settings and configuration",
|
|
9615
|
+
navigationType: "tab",
|
|
9616
|
+
target: "1",
|
|
9617
|
+
// AdminTab.AdminSettings
|
|
9618
|
+
keywords: ["settings", "configuration", "admin", "system settings"],
|
|
9619
|
+
requiresAdmin: true
|
|
9620
|
+
},
|
|
9621
|
+
{
|
|
9622
|
+
id: "admin.system_health",
|
|
9623
|
+
section: "admin",
|
|
9624
|
+
label: "System Health",
|
|
9625
|
+
description: "Monitor system health, uptime, and performance metrics",
|
|
9626
|
+
navigationType: "tab",
|
|
9627
|
+
target: "29",
|
|
9628
|
+
// AdminTab.SystemHealth
|
|
9629
|
+
keywords: ["health", "uptime", "monitoring", "performance", "status"],
|
|
9630
|
+
requiresAdmin: true
|
|
9631
|
+
},
|
|
9632
|
+
{
|
|
9633
|
+
id: "admin.llm_dashboard",
|
|
9634
|
+
section: "admin",
|
|
9635
|
+
label: "LLM Dashboard",
|
|
9636
|
+
description: "LLM model usage, costs, and performance monitoring",
|
|
9637
|
+
navigationType: "tab",
|
|
9638
|
+
target: "24",
|
|
9639
|
+
// AdminTab.LLMDashboard
|
|
9640
|
+
keywords: ["llm", "model", "ai", "costs", "tokens", "dashboard"],
|
|
9641
|
+
requiresAdmin: true
|
|
9642
|
+
},
|
|
9643
|
+
{
|
|
9644
|
+
id: "admin.tool_definitions",
|
|
9645
|
+
section: "admin",
|
|
9646
|
+
label: "Tool Definitions",
|
|
9647
|
+
description: "Manage LLM tool definitions and configurations",
|
|
9648
|
+
navigationType: "tab",
|
|
9649
|
+
target: "31",
|
|
9650
|
+
// AdminTab.ToolDefinitions
|
|
9651
|
+
keywords: ["tools", "tool definitions", "functions", "capabilities"],
|
|
9652
|
+
requiresAdmin: true
|
|
9653
|
+
},
|
|
9654
|
+
{
|
|
9655
|
+
id: "admin.organizations",
|
|
9656
|
+
section: "admin",
|
|
9657
|
+
label: "Organizations",
|
|
9658
|
+
description: "Manage organizations, teams, and multi-tenant settings",
|
|
9659
|
+
navigationType: "tab",
|
|
9660
|
+
target: "14",
|
|
9661
|
+
// AdminTab.Organizations
|
|
9662
|
+
keywords: ["organizations", "teams", "tenants", "companies"],
|
|
9663
|
+
requiresAdmin: true
|
|
9664
|
+
},
|
|
9665
|
+
{
|
|
9666
|
+
id: "admin.analytics",
|
|
9667
|
+
section: "admin",
|
|
9668
|
+
label: "Analytics",
|
|
9669
|
+
description: "User activity analytics, engagement metrics, and reports",
|
|
9670
|
+
navigationType: "tab",
|
|
9671
|
+
target: "3",
|
|
9672
|
+
// AdminTab.Analytics
|
|
9673
|
+
keywords: ["analytics", "metrics", "reports", "engagement", "activity"],
|
|
9674
|
+
requiresAdmin: true
|
|
9675
|
+
},
|
|
9676
|
+
{
|
|
9677
|
+
id: "admin.subscribers",
|
|
9678
|
+
section: "admin",
|
|
9679
|
+
label: "Subscribers",
|
|
9680
|
+
description: "Manage subscriber waitlist and access approvals",
|
|
9681
|
+
navigationType: "tab",
|
|
9682
|
+
target: "12",
|
|
9683
|
+
// AdminTab.Subscribers
|
|
9684
|
+
keywords: ["subscribers", "waitlist", "approvals", "signups"],
|
|
9685
|
+
requiresAdmin: true
|
|
9686
|
+
},
|
|
9687
|
+
{
|
|
9688
|
+
id: "admin.subscriptions",
|
|
9689
|
+
section: "admin",
|
|
9690
|
+
label: "Subscriptions",
|
|
9691
|
+
description: "Manage subscription plans, tiers, and billing",
|
|
9692
|
+
navigationType: "tab",
|
|
9693
|
+
target: "13",
|
|
9694
|
+
// AdminTab.Subscriptions
|
|
9695
|
+
keywords: ["subscriptions", "plans", "tiers", "billing", "pricing"],
|
|
9696
|
+
requiresAdmin: true
|
|
9697
|
+
},
|
|
9698
|
+
{
|
|
9699
|
+
id: "admin.invite_codes",
|
|
9700
|
+
section: "admin",
|
|
9701
|
+
label: "Invite Codes",
|
|
9702
|
+
description: "Create and manage registration invite codes",
|
|
9703
|
+
navigationType: "tab",
|
|
9704
|
+
target: "5",
|
|
9705
|
+
// AdminTab.RegistrationInvites
|
|
9706
|
+
keywords: ["invite", "codes", "registration", "invitations"],
|
|
9707
|
+
requiresAdmin: true
|
|
9708
|
+
},
|
|
9709
|
+
{
|
|
9710
|
+
id: "admin.agent_ops",
|
|
9711
|
+
section: "admin",
|
|
9712
|
+
label: "Agent Operations",
|
|
9713
|
+
description: "Monitor and manage AI agent operations and tasks",
|
|
9714
|
+
navigationType: "tab",
|
|
9715
|
+
target: "23",
|
|
9716
|
+
// AdminTab.AgentOps
|
|
9717
|
+
keywords: ["agents", "operations", "tasks", "agent ops"],
|
|
9718
|
+
requiresAdmin: true
|
|
9719
|
+
},
|
|
9720
|
+
{
|
|
9721
|
+
id: "admin.security_dashboard",
|
|
9722
|
+
section: "admin",
|
|
9723
|
+
label: "Security Dashboard",
|
|
9724
|
+
description: "Security monitoring, threat detection, and audit logs",
|
|
9725
|
+
navigationType: "tab",
|
|
9726
|
+
target: "26",
|
|
9727
|
+
// AdminTab.SecurityDashboard
|
|
9728
|
+
keywords: ["security", "threats", "audit", "logs", "vulnerabilities"],
|
|
9729
|
+
requiresAdmin: true
|
|
9730
|
+
},
|
|
9731
|
+
{
|
|
9732
|
+
id: "admin.system_prompts",
|
|
9733
|
+
section: "admin",
|
|
9734
|
+
label: "System Prompts",
|
|
9735
|
+
description: "Edit and manage system prompts for AI models",
|
|
9736
|
+
navigationType: "tab",
|
|
9737
|
+
target: "21",
|
|
9738
|
+
// AdminTab.SystemPrompts
|
|
9739
|
+
keywords: ["prompts", "system prompts", "instructions", "AI prompts"],
|
|
9740
|
+
requiresAdmin: true
|
|
9741
|
+
},
|
|
9742
|
+
{
|
|
9743
|
+
id: "admin.modals",
|
|
9744
|
+
section: "admin",
|
|
9745
|
+
label: "Modals",
|
|
9746
|
+
description: "Manage modal dialogs and popup configurations",
|
|
9747
|
+
navigationType: "tab",
|
|
9748
|
+
target: "7",
|
|
9749
|
+
// AdminTab.Modals
|
|
9750
|
+
keywords: ["modals", "dialogs", "popups", "announcements"],
|
|
9751
|
+
requiresAdmin: true
|
|
9752
|
+
},
|
|
9753
|
+
{
|
|
9754
|
+
id: "admin.whats_new",
|
|
9755
|
+
section: "admin",
|
|
9756
|
+
label: "What's New",
|
|
9757
|
+
description: "Manage What's New release notes and changelogs",
|
|
9758
|
+
navigationType: "tab",
|
|
9759
|
+
target: "32",
|
|
9760
|
+
// AdminTab.WhatsNewModals
|
|
9761
|
+
keywords: ["whats new", "release notes", "changelog", "updates"],
|
|
9762
|
+
requiresAdmin: true
|
|
9763
|
+
},
|
|
9764
|
+
{
|
|
9765
|
+
id: "admin.rapid_reply",
|
|
9766
|
+
section: "admin",
|
|
9767
|
+
label: "Rapid Reply",
|
|
9768
|
+
description: "Configure rapid reply templates and shortcuts",
|
|
9769
|
+
navigationType: "tab",
|
|
9770
|
+
target: "25",
|
|
9771
|
+
// AdminTab.RapidReply
|
|
9772
|
+
keywords: ["rapid reply", "templates", "shortcuts", "quick responses"],
|
|
9773
|
+
requiresAdmin: true
|
|
9774
|
+
},
|
|
9775
|
+
{
|
|
9776
|
+
id: "admin.slack_workspaces",
|
|
9777
|
+
section: "admin",
|
|
9778
|
+
label: "Slack Workspaces",
|
|
9779
|
+
description: "Manage connected Slack workspace integrations",
|
|
9780
|
+
navigationType: "tab",
|
|
9781
|
+
target: "30",
|
|
9782
|
+
// AdminTab.SlackWorkspaces
|
|
9783
|
+
keywords: ["slack", "workspaces", "integrations", "messaging"],
|
|
9784
|
+
requiresAdmin: true
|
|
9785
|
+
},
|
|
9786
|
+
{
|
|
9787
|
+
id: "admin.secrets_rotation",
|
|
9788
|
+
section: "admin",
|
|
9789
|
+
label: "Secrets Rotation",
|
|
9790
|
+
description: "Manage API key rotation and secret lifecycle",
|
|
9791
|
+
navigationType: "tab",
|
|
9792
|
+
target: "16",
|
|
9793
|
+
// AdminTab.SecretsRotation
|
|
9794
|
+
keywords: ["secrets", "rotation", "API keys", "credentials"],
|
|
9795
|
+
requiresAdmin: true
|
|
9796
|
+
},
|
|
9797
|
+
{
|
|
9798
|
+
id: "admin.bulk_import",
|
|
9799
|
+
section: "admin",
|
|
9800
|
+
label: "Bulk Import",
|
|
9801
|
+
description: "Bulk import users and data from CSV or other formats",
|
|
9802
|
+
navigationType: "tab",
|
|
9803
|
+
target: "17",
|
|
9804
|
+
// AdminTab.BulkImport
|
|
9805
|
+
keywords: ["bulk", "import", "CSV", "migration", "data import"],
|
|
9806
|
+
requiresAdmin: true
|
|
9807
|
+
},
|
|
9808
|
+
{
|
|
9809
|
+
id: "admin.feedbacks",
|
|
9810
|
+
section: "admin",
|
|
9811
|
+
label: "Feedbacks",
|
|
9812
|
+
description: "View and manage user feedback, bug reports, and feature requests",
|
|
9813
|
+
navigationType: "tab",
|
|
9814
|
+
target: "2",
|
|
9815
|
+
// AdminTab.Feedbacks
|
|
9816
|
+
keywords: ["feedback", "bug reports", "feature requests", "user feedback", "complaints"],
|
|
9817
|
+
requiresAdmin: true
|
|
9818
|
+
},
|
|
9819
|
+
{
|
|
9820
|
+
id: "admin.files",
|
|
9821
|
+
section: "admin",
|
|
9822
|
+
label: "Files",
|
|
9823
|
+
description: "Manage uploaded files across all users, storage analytics",
|
|
9824
|
+
navigationType: "tab",
|
|
9825
|
+
target: "8",
|
|
9826
|
+
// AdminTab.Files
|
|
9827
|
+
keywords: ["files", "uploads", "storage", "documents", "file management"],
|
|
9828
|
+
requiresAdmin: true
|
|
9829
|
+
},
|
|
9830
|
+
{
|
|
9831
|
+
id: "admin.documentation",
|
|
9832
|
+
section: "admin",
|
|
9833
|
+
label: "Documentation",
|
|
9834
|
+
description: "System documentation and internal reference guides",
|
|
9835
|
+
navigationType: "tab",
|
|
9836
|
+
target: "9",
|
|
9837
|
+
// AdminTab.Documentation
|
|
9838
|
+
keywords: ["documentation", "docs", "guides", "reference", "help docs"],
|
|
9839
|
+
requiresAdmin: true
|
|
9840
|
+
},
|
|
9841
|
+
{
|
|
9842
|
+
id: "admin.world_time",
|
|
9843
|
+
section: "admin",
|
|
9844
|
+
label: "World Time",
|
|
9845
|
+
description: "View current time across multiple time zones",
|
|
9846
|
+
navigationType: "tab",
|
|
9847
|
+
target: "10",
|
|
9848
|
+
// AdminTab.WorldTime
|
|
9849
|
+
keywords: ["world time", "time zones", "clocks", "UTC", "international time"],
|
|
9850
|
+
requiresAdmin: true
|
|
9851
|
+
},
|
|
9852
|
+
{
|
|
9853
|
+
id: "admin.model_logs",
|
|
9854
|
+
section: "admin",
|
|
9855
|
+
label: "Model Logs",
|
|
9856
|
+
description: "View LLM model request/response logs and debugging information",
|
|
9857
|
+
navigationType: "tab",
|
|
9858
|
+
target: "18",
|
|
9859
|
+
// AdminTab.ModelLogs
|
|
9860
|
+
keywords: ["model logs", "LLM logs", "request logs", "debugging", "API logs"],
|
|
9861
|
+
requiresAdmin: true
|
|
9862
|
+
},
|
|
9863
|
+
{
|
|
9864
|
+
id: "admin.model_metrics",
|
|
9865
|
+
section: "admin",
|
|
9866
|
+
label: "Model Metrics",
|
|
9867
|
+
description: "LLM model performance metrics, latency, and usage statistics",
|
|
9868
|
+
navigationType: "tab",
|
|
9869
|
+
target: "19",
|
|
9870
|
+
// AdminTab.ModelMetrics
|
|
9871
|
+
keywords: ["model metrics", "performance", "latency", "tokens", "model usage"],
|
|
9872
|
+
requiresAdmin: true
|
|
9873
|
+
},
|
|
9874
|
+
{
|
|
9875
|
+
id: "admin.event_metrics",
|
|
9876
|
+
section: "admin",
|
|
9877
|
+
label: "Event Metrics",
|
|
9878
|
+
description: "Track system events, user activity events, and event analytics",
|
|
9879
|
+
navigationType: "tab",
|
|
9880
|
+
target: "20",
|
|
9881
|
+
// AdminTab.EventMetrics
|
|
9882
|
+
keywords: ["event metrics", "events", "activity tracking", "event analytics"],
|
|
9883
|
+
requiresAdmin: true
|
|
9884
|
+
},
|
|
9885
|
+
{
|
|
9886
|
+
id: "admin.identity_providers",
|
|
9887
|
+
section: "admin",
|
|
9888
|
+
label: "Identity Providers",
|
|
9889
|
+
description: "Configure SSO, SAML, and identity provider integrations",
|
|
9890
|
+
navigationType: "tab",
|
|
9891
|
+
target: "22",
|
|
9892
|
+
// AdminTab.IdentityProviders
|
|
9893
|
+
keywords: ["identity", "SSO", "SAML", "providers", "authentication", "login providers"],
|
|
9894
|
+
requiresAdmin: true
|
|
9895
|
+
},
|
|
9896
|
+
{
|
|
9897
|
+
id: "admin.email_verification",
|
|
9898
|
+
section: "admin",
|
|
9899
|
+
label: "Email Verification",
|
|
9900
|
+
description: "Manage email verification status and send verification emails",
|
|
9901
|
+
navigationType: "tab",
|
|
9902
|
+
target: "27",
|
|
9903
|
+
// AdminTab.EmailVerification
|
|
9904
|
+
keywords: ["email", "verification", "verify email", "email status"],
|
|
9905
|
+
requiresAdmin: true
|
|
9906
|
+
},
|
|
9907
|
+
{
|
|
9908
|
+
id: "admin.team",
|
|
9909
|
+
section: "admin",
|
|
9910
|
+
label: "Team",
|
|
9911
|
+
description: "Manage team members, roles, and team settings",
|
|
9912
|
+
navigationType: "tab",
|
|
9913
|
+
target: "28",
|
|
9914
|
+
// AdminTab.Team
|
|
9915
|
+
keywords: ["team", "members", "roles", "team management", "staff"],
|
|
9916
|
+
requiresAdmin: true
|
|
9917
|
+
},
|
|
9918
|
+
{
|
|
9919
|
+
id: "admin.slack_metrics",
|
|
9920
|
+
section: "admin",
|
|
9921
|
+
label: "Slack Metrics",
|
|
9922
|
+
description: "Slack integration usage metrics and message analytics",
|
|
9923
|
+
navigationType: "tab",
|
|
9924
|
+
target: "33",
|
|
9925
|
+
// AdminTab.SlackMetrics
|
|
9926
|
+
keywords: ["slack metrics", "slack usage", "message analytics", "slack stats"],
|
|
9927
|
+
requiresAdmin: true
|
|
9928
|
+
},
|
|
9929
|
+
{
|
|
9930
|
+
id: "admin.system_secrets",
|
|
9931
|
+
section: "admin",
|
|
9932
|
+
label: "System Secrets",
|
|
9933
|
+
description: "View and manage system-level secrets and environment variables",
|
|
9934
|
+
navigationType: "tab",
|
|
9935
|
+
target: "34",
|
|
9936
|
+
// AdminTab.SystemSecrets
|
|
9937
|
+
keywords: ["system secrets", "environment variables", "env vars", "secrets", "configuration"],
|
|
9938
|
+
requiresAdmin: true
|
|
9939
|
+
},
|
|
9940
|
+
{
|
|
9941
|
+
id: "admin.liveops_triage",
|
|
9942
|
+
section: "admin",
|
|
9943
|
+
label: "LiveOps Triage",
|
|
9944
|
+
description: "Real-time error triage, production issue monitoring, and incident response",
|
|
9945
|
+
navigationType: "tab",
|
|
9946
|
+
target: "35",
|
|
9947
|
+
// AdminTab.LiveOpsTriage
|
|
9948
|
+
keywords: ["liveops", "triage", "errors", "incidents", "production issues", "monitoring"],
|
|
9949
|
+
requiresAdmin: true
|
|
9950
|
+
},
|
|
9951
|
+
// ── Global ─────────────────────────────────────────────────────────────
|
|
9952
|
+
{
|
|
9953
|
+
id: "global.chat",
|
|
9954
|
+
section: "global",
|
|
9955
|
+
label: "Chat",
|
|
9956
|
+
description: "Main AI chat interface for conversations",
|
|
9957
|
+
navigationType: "route",
|
|
9958
|
+
target: "/",
|
|
9959
|
+
keywords: ["chat", "conversation", "talk", "message", "ask"]
|
|
9960
|
+
},
|
|
9961
|
+
{
|
|
9962
|
+
id: "global.projects",
|
|
9963
|
+
section: "global",
|
|
9964
|
+
label: "Projects",
|
|
9965
|
+
description: "View and manage projects and workspaces",
|
|
9966
|
+
navigationType: "route",
|
|
9967
|
+
target: "/projects",
|
|
9968
|
+
keywords: ["projects", "workspaces", "organize", "folders"]
|
|
9969
|
+
},
|
|
9970
|
+
{
|
|
9971
|
+
id: "global.agents",
|
|
9972
|
+
section: "global",
|
|
9973
|
+
label: "Agents",
|
|
9974
|
+
description: "Browse and configure AI agents",
|
|
9975
|
+
navigationType: "route",
|
|
9976
|
+
target: "/agents",
|
|
9977
|
+
keywords: ["agents", "AI assistants", "bots", "configure agents"]
|
|
9978
|
+
},
|
|
9979
|
+
{
|
|
9980
|
+
id: "global.agents_create",
|
|
9981
|
+
section: "global",
|
|
9982
|
+
label: "Create Agent",
|
|
9983
|
+
description: "Create a new AI agent with personality, motivation, system prompt, and capabilities",
|
|
9984
|
+
navigationType: "route",
|
|
9985
|
+
target: "/agents/new",
|
|
9986
|
+
keywords: ["create agent", "new agent", "build agent", "agent personality", "agent motivation", "agent setup"]
|
|
9987
|
+
},
|
|
9988
|
+
{
|
|
9989
|
+
id: "global.profile",
|
|
9990
|
+
section: "global",
|
|
9991
|
+
label: "Profile",
|
|
9992
|
+
description: "User profile settings and preferences",
|
|
9993
|
+
navigationType: "route",
|
|
9994
|
+
target: "/profile",
|
|
9995
|
+
keywords: ["profile", "account", "preferences", "personal settings"]
|
|
9996
|
+
},
|
|
9997
|
+
{
|
|
9998
|
+
id: "global.profile_security",
|
|
9999
|
+
section: "global",
|
|
10000
|
+
label: "Security Settings",
|
|
10001
|
+
description: "MFA, password, and security settings for your account",
|
|
10002
|
+
navigationType: "route",
|
|
10003
|
+
target: "/profile/security",
|
|
10004
|
+
keywords: ["security", "MFA", "password", "two-factor", "2FA"]
|
|
10005
|
+
},
|
|
10006
|
+
{
|
|
10007
|
+
id: "global.profile_api_keys",
|
|
10008
|
+
section: "global",
|
|
10009
|
+
label: "API Keys",
|
|
10010
|
+
description: "Manage your personal API keys for integrations",
|
|
10011
|
+
navigationType: "route",
|
|
10012
|
+
target: "/profile/api-keys",
|
|
10013
|
+
keywords: ["API keys", "tokens", "integrations", "developer"]
|
|
10014
|
+
},
|
|
10015
|
+
{
|
|
10016
|
+
id: "global.admin",
|
|
10017
|
+
section: "global",
|
|
10018
|
+
label: "Admin Panel",
|
|
10019
|
+
description: "Admin dashboard for system management",
|
|
10020
|
+
navigationType: "route",
|
|
10021
|
+
target: "/admin",
|
|
10022
|
+
keywords: ["admin", "dashboard", "management", "administration"],
|
|
10023
|
+
requiresAdmin: true
|
|
10024
|
+
},
|
|
10025
|
+
{
|
|
10026
|
+
id: "global.help",
|
|
10027
|
+
section: "global",
|
|
10028
|
+
label: "Help",
|
|
10029
|
+
description: "Help documentation and support resources",
|
|
10030
|
+
navigationType: "route",
|
|
10031
|
+
target: "/help",
|
|
10032
|
+
keywords: ["help", "support", "documentation", "FAQ", "guide"]
|
|
10033
|
+
},
|
|
10034
|
+
{
|
|
10035
|
+
id: "global.knowledge_base",
|
|
10036
|
+
section: "global",
|
|
10037
|
+
label: "Knowledge Base",
|
|
10038
|
+
description: "Browse uploaded files and documents in your knowledge base",
|
|
10039
|
+
navigationType: "route",
|
|
10040
|
+
target: "/knowledge",
|
|
10041
|
+
keywords: ["knowledge", "files", "documents", "uploads", "library"]
|
|
10042
|
+
},
|
|
10043
|
+
{
|
|
10044
|
+
id: "global.settings",
|
|
10045
|
+
section: "global",
|
|
10046
|
+
label: "Settings",
|
|
10047
|
+
description: "Application settings and preferences",
|
|
10048
|
+
navigationType: "route",
|
|
10049
|
+
target: "/settings",
|
|
10050
|
+
keywords: ["settings", "preferences", "configuration", "options"]
|
|
10051
|
+
}
|
|
10052
|
+
];
|
|
10053
|
+
function getViewById(viewId) {
|
|
10054
|
+
return VIEW_REGISTRY.find((v) => v.id === viewId);
|
|
10055
|
+
}
|
|
10056
|
+
function getFilteredViews(options) {
|
|
10057
|
+
return VIEW_REGISTRY.filter((v) => {
|
|
10058
|
+
if (options?.section && v.section !== options.section)
|
|
10059
|
+
return false;
|
|
10060
|
+
if (v.requiresAdmin && !options?.isAdmin)
|
|
10061
|
+
return false;
|
|
10062
|
+
return true;
|
|
10063
|
+
});
|
|
10064
|
+
}
|
|
10065
|
+
function getViewSummaryForLLM(options) {
|
|
10066
|
+
const views = getFilteredViews(options);
|
|
10067
|
+
const grouped = {};
|
|
10068
|
+
for (const v of views) {
|
|
10069
|
+
const key = v.section.toUpperCase();
|
|
10070
|
+
if (!grouped[key])
|
|
10071
|
+
grouped[key] = [];
|
|
10072
|
+
grouped[key].push(`- ${v.id}: ${v.label} \u2014 ${v.description}`);
|
|
10073
|
+
}
|
|
10074
|
+
const sections = Object.entries(grouped).map(([section, lines]) => `[${section}]
|
|
10075
|
+
${lines.join("\n")}`).join("\n\n");
|
|
10076
|
+
return [
|
|
10077
|
+
"# MANDATORY: navigate_view Tool Usage",
|
|
10078
|
+
"",
|
|
10079
|
+
"You have a navigate_view tool that renders clickable navigation buttons in your response.",
|
|
10080
|
+
"",
|
|
10081
|
+
"RULE: If your response mentions or relates to ANY view listed below, you MUST call the navigate_view tool.",
|
|
10082
|
+
"Do NOT just mention a view in text \u2014 you MUST also call the tool so the user sees a clickable button.",
|
|
10083
|
+
"Call navigate_view AND write your text answer. Both. Every time.",
|
|
10084
|
+
"",
|
|
10085
|
+
"Example \u2014 if the user asks about scheduling:",
|
|
10086
|
+
'1. Call navigate_view with suggestions: [{viewId: "opti.scheduling", reason: "Try scheduling algorithms here"}]',
|
|
10087
|
+
"2. AND write your text answer about scheduling",
|
|
10088
|
+
"",
|
|
10089
|
+
"Example \u2014 if the user asks about user management:",
|
|
10090
|
+
'1. Call navigate_view with suggestions: [{viewId: "admin.users", reason: "Manage user accounts"}]',
|
|
10091
|
+
"2. AND write your text answer about user management",
|
|
10092
|
+
"",
|
|
10093
|
+
sections
|
|
10094
|
+
].join("\n");
|
|
10095
|
+
}
|
|
10096
|
+
function resolveNavigationIntents(suggestions, isAdmin) {
|
|
10097
|
+
return suggestions.map((s) => {
|
|
10098
|
+
const view = getViewById(s.viewId);
|
|
10099
|
+
if (!view)
|
|
10100
|
+
return null;
|
|
10101
|
+
if (view.requiresAdmin && !isAdmin)
|
|
10102
|
+
return null;
|
|
10103
|
+
return {
|
|
10104
|
+
viewId: view.id,
|
|
10105
|
+
label: view.label,
|
|
10106
|
+
description: view.description,
|
|
10107
|
+
navigationType: view.navigationType,
|
|
10108
|
+
target: view.target,
|
|
10109
|
+
reason: s.reason
|
|
10110
|
+
};
|
|
10111
|
+
}).filter((intent) => intent !== null);
|
|
10112
|
+
}
|
|
10113
|
+
|
|
9298
10114
|
// ../../b4m-core/packages/common/dist/src/utils/dayjsConfig.js
|
|
9299
10115
|
import dayjs from "dayjs";
|
|
9300
10116
|
import timezone from "dayjs/plugin/timezone.js";
|
|
@@ -9424,6 +10240,7 @@ export {
|
|
|
9424
10240
|
isPlaceholderValue,
|
|
9425
10241
|
SecretAuditEvents,
|
|
9426
10242
|
WebhookDeliveryStatus,
|
|
10243
|
+
WebhookAuditStatus,
|
|
9427
10244
|
COMMON_JIRA_WEBHOOK_EVENTS,
|
|
9428
10245
|
JiraWebhookDeliveryStatus,
|
|
9429
10246
|
SupportedFabFileMimeTypes,
|
|
@@ -9434,6 +10251,8 @@ export {
|
|
|
9434
10251
|
DataUnsubscribeRequestAction,
|
|
9435
10252
|
HeartbeatAction,
|
|
9436
10253
|
VoiceSessionSendTranscriptAction,
|
|
10254
|
+
CliCompletionRequestAction,
|
|
10255
|
+
CliToolRequestAction,
|
|
9437
10256
|
VoiceSessionEndedAction,
|
|
9438
10257
|
DataSubscriptionUpdateAction,
|
|
9439
10258
|
LLMStatusUpdateAction,
|
|
@@ -9458,6 +10277,10 @@ export {
|
|
|
9458
10277
|
ImportHistoryJobProgressUpdateAction,
|
|
9459
10278
|
ResearchModeStreamAction,
|
|
9460
10279
|
VoiceCreditsExhaustedAction,
|
|
10280
|
+
CliCompletionChunkAction,
|
|
10281
|
+
CliCompletionDoneAction,
|
|
10282
|
+
CliCompletionErrorAction,
|
|
10283
|
+
CliToolResponseAction,
|
|
9461
10284
|
SessionCreatedAction,
|
|
9462
10285
|
MessageDataToServer,
|
|
9463
10286
|
MessageDataToClient,
|
|
@@ -9546,6 +10369,7 @@ export {
|
|
|
9546
10369
|
OrganizationEvents,
|
|
9547
10370
|
UserApiKeyEvents,
|
|
9548
10371
|
SlackEvents,
|
|
10372
|
+
HelpEvents,
|
|
9549
10373
|
InternalTeamMemberSchema,
|
|
9550
10374
|
InternalTeamMemberListSchema,
|
|
9551
10375
|
LatticeDataTypeSchema,
|
|
@@ -9741,5 +10565,10 @@ export {
|
|
|
9741
10565
|
formatSSEError,
|
|
9742
10566
|
serializeSSEEvent,
|
|
9743
10567
|
SSE_DONE_SIGNAL,
|
|
10568
|
+
VIEW_REGISTRY,
|
|
10569
|
+
getViewById,
|
|
10570
|
+
getFilteredViews,
|
|
10571
|
+
getViewSummaryForLLM,
|
|
10572
|
+
resolveNavigationIntents,
|
|
9744
10573
|
dayjsConfig_default
|
|
9745
10574
|
};
|