@bike4mind/cli 0.2.29 → 0.2.30-feat-quantum-optimize-architecture.19202
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/{artifactExtractor-4SBIE5OK.js → artifactExtractor-32UT6LCJ.js} +1 -1
- package/dist/{chunk-TNFZP7FG.js → chunk-DUEP3HCS.js} +703 -3
- package/dist/{chunk-22VR7SKO.js → chunk-KKZY4BRH.js} +2 -2
- package/dist/{chunk-5J4RL57F.js → chunk-TSB6M7IB.js} +11 -3
- package/dist/{chunk-YQWFK5O2.js → chunk-VRGHGJAL.js} +2 -2
- package/dist/{chunk-UYN4HMRF.js → chunk-Z3I7SVZ6.js} +2 -2
- package/dist/{create-DCHG36CP.js → create-GWZUB27T.js} +3 -3
- package/dist/index.js +1380 -140
- package/dist/{llmMarkdownGenerator-6MQKVOWW.js → llmMarkdownGenerator-B23C23LK.js} +1 -1
- package/dist/{markdownGenerator-4GDO3PTY.js → markdownGenerator-XAWABETH.js} +1 -1
- package/dist/{mementoService-WDQFLLRV.js → mementoService-3VASE5H2.js} +3 -3
- package/dist/{src-ZAT7QMNA.js → src-BFBWKNAI.js} +15 -1
- package/dist/{src-DVEE3PS5.js → src-MCOAMTTD.js} +2 -2
- package/dist/{subtractCredits-LE54FRKC.js → subtractCredits-RBXIX27T.js} +3 -3
- package/package.json +6 -6
|
@@ -310,7 +310,13 @@ var b4mLLMTools = z5.enum([
|
|
|
310
310
|
"iss_tracker",
|
|
311
311
|
"planet_visibility",
|
|
312
312
|
// Knowledge base search
|
|
313
|
-
"search_knowledge_base"
|
|
313
|
+
"search_knowledge_base",
|
|
314
|
+
"retrieve_knowledge_content",
|
|
315
|
+
// Quantum optimization tools
|
|
316
|
+
"quantum_schedule",
|
|
317
|
+
"quantum_formulate",
|
|
318
|
+
// Navigation tool
|
|
319
|
+
"navigate_view"
|
|
314
320
|
]);
|
|
315
321
|
var B4MLLMToolsList = b4mLLMTools.options.map((tool) => tool);
|
|
316
322
|
var RechartsChartTypeSchema = z5.enum([
|
|
@@ -1105,6 +1111,24 @@ var SupportedFabFileMimeTypes;
|
|
|
1105
1111
|
SupportedFabFileMimeTypes2["INI"] = "text/plain";
|
|
1106
1112
|
SupportedFabFileMimeTypes2["CONF"] = "text/plain";
|
|
1107
1113
|
})(SupportedFabFileMimeTypes || (SupportedFabFileMimeTypes = {}));
|
|
1114
|
+
var REASONING_EFFORT_LABELS = {
|
|
1115
|
+
auto: "Auto (recommended)",
|
|
1116
|
+
none: "None - Fastest",
|
|
1117
|
+
minimal: "Minimal",
|
|
1118
|
+
low: "Low",
|
|
1119
|
+
medium: "Medium",
|
|
1120
|
+
high: "High",
|
|
1121
|
+
xhigh: "Extra High - Best Quality"
|
|
1122
|
+
};
|
|
1123
|
+
var REASONING_EFFORT_DESCRIPTIONS = {
|
|
1124
|
+
auto: "Automatically adjusts reasoning effort based on query complexity",
|
|
1125
|
+
none: "No extended reasoning, fastest responses",
|
|
1126
|
+
minimal: "Very light reasoning for simple queries",
|
|
1127
|
+
low: "Light reasoning for straightforward tasks",
|
|
1128
|
+
medium: "Balanced reasoning for most tasks",
|
|
1129
|
+
high: "Deep reasoning for complex problems",
|
|
1130
|
+
xhigh: "Maximum reasoning depth for highest quality (GPT-5.2 Pro/Thinking only)"
|
|
1131
|
+
};
|
|
1108
1132
|
var CODE_FILE_MIME_TYPES = [
|
|
1109
1133
|
SupportedFabFileMimeTypes.TS,
|
|
1110
1134
|
SupportedFabFileMimeTypes.JS,
|
|
@@ -2447,7 +2471,9 @@ var SettingKeySchema = z21.enum([
|
|
|
2447
2471
|
// LIVEOPS TRIAGE AUTOMATION SETTINGS
|
|
2448
2472
|
"liveopsTriageConfig",
|
|
2449
2473
|
// HELP CENTER SETTINGS
|
|
2450
|
-
"EnableHelpChat"
|
|
2474
|
+
"EnableHelpChat",
|
|
2475
|
+
// QUANTUM CANVASSER SETTINGS
|
|
2476
|
+
"EnableQuantumCanvasser"
|
|
2451
2477
|
]);
|
|
2452
2478
|
var CategoryOrder = [
|
|
2453
2479
|
"AI",
|
|
@@ -2868,7 +2894,8 @@ var API_SERVICE_GROUPS = {
|
|
|
2868
2894
|
{ key: "EnableMcpToolFiltering", order: 15 },
|
|
2869
2895
|
{ key: "McpToolFilteringMaxTools", order: 16 },
|
|
2870
2896
|
{ key: "EnableParallelToolExecution", order: 17 },
|
|
2871
|
-
{ key: "EnableHelpChat", order: 18 }
|
|
2897
|
+
{ key: "EnableHelpChat", order: 18 },
|
|
2898
|
+
{ key: "EnableQuantumCanvasser", order: 19 }
|
|
2872
2899
|
]
|
|
2873
2900
|
},
|
|
2874
2901
|
NOTEBOOK: {
|
|
@@ -4058,6 +4085,16 @@ var settingsMap = {
|
|
|
4058
4085
|
category: "Experimental",
|
|
4059
4086
|
group: API_SERVICE_GROUPS.EXPERIMENTAL.id,
|
|
4060
4087
|
order: 17
|
|
4088
|
+
}),
|
|
4089
|
+
// Optimization Canvasser Settings
|
|
4090
|
+
EnableQuantumCanvasser: makeBooleanSetting({
|
|
4091
|
+
key: "EnableQuantumCanvasser",
|
|
4092
|
+
name: "Enable Optimization Canvasser",
|
|
4093
|
+
defaultValue: false,
|
|
4094
|
+
description: "Enable the Optimization Canvasser module for AI-driven optimization across classical and quantum solvers.",
|
|
4095
|
+
category: "Experimental",
|
|
4096
|
+
group: API_SERVICE_GROUPS.EXPERIMENTAL.id,
|
|
4097
|
+
order: 18
|
|
4061
4098
|
})
|
|
4062
4099
|
// Add more settings as needed
|
|
4063
4100
|
};
|
|
@@ -8555,6 +8592,662 @@ function serializeSSEEvent(event) {
|
|
|
8555
8592
|
}
|
|
8556
8593
|
var SSE_DONE_SIGNAL = "data: [DONE]\n\n";
|
|
8557
8594
|
|
|
8595
|
+
// ../../b4m-core/packages/common/dist/src/navigation/viewRegistry.js
|
|
8596
|
+
var VIEW_REGISTRY = [
|
|
8597
|
+
// ── Opti (Optimization Canvasser) ──────────────────────────────────────
|
|
8598
|
+
{
|
|
8599
|
+
id: "opti.root",
|
|
8600
|
+
section: "opti",
|
|
8601
|
+
label: "Optimization Home",
|
|
8602
|
+
description: "The Optimization Canvasser landing page showing all 8 pattern family cards",
|
|
8603
|
+
navigationType: "route",
|
|
8604
|
+
target: "/opti",
|
|
8605
|
+
keywords: ["optimization", "canvasser", "home", "patterns", "families"]
|
|
8606
|
+
},
|
|
8607
|
+
{
|
|
8608
|
+
id: "opti.scheduling",
|
|
8609
|
+
section: "opti",
|
|
8610
|
+
label: "Scheduling",
|
|
8611
|
+
description: "Scheduling optimization: job-shop, flow-shop, shift scheduling, makespan minimization",
|
|
8612
|
+
navigationType: "action",
|
|
8613
|
+
target: "scheduling",
|
|
8614
|
+
keywords: ["scheduling", "job-shop", "flow-shop", "shifts", "makespan", "calendar"]
|
|
8615
|
+
},
|
|
8616
|
+
{
|
|
8617
|
+
id: "opti.scheduling.problem",
|
|
8618
|
+
section: "opti",
|
|
8619
|
+
label: "Problem Editor",
|
|
8620
|
+
description: "Define and preview scheduling problems \u2014 job-shop matrix, QUBO encoding",
|
|
8621
|
+
navigationType: "action",
|
|
8622
|
+
target: "scheduling.problem",
|
|
8623
|
+
keywords: ["problem", "editor", "QUBO", "matrix", "jobs", "machines", "operations", "custom problem"]
|
|
8624
|
+
},
|
|
8625
|
+
{
|
|
8626
|
+
id: "opti.scheduling.solvers",
|
|
8627
|
+
section: "opti",
|
|
8628
|
+
label: "Solver Selection",
|
|
8629
|
+
description: "Configure which solvers to race \u2014 greedy, simulated annealing, tabu search, genetic algorithm, ant colony",
|
|
8630
|
+
navigationType: "action",
|
|
8631
|
+
target: "scheduling.solvers",
|
|
8632
|
+
keywords: ["solvers", "tabu", "simulated annealing", "genetic algorithm", "ant colony", "greedy", "solver race", "configure solvers"]
|
|
8633
|
+
},
|
|
8634
|
+
{
|
|
8635
|
+
id: "opti.scheduling.results",
|
|
8636
|
+
section: "opti",
|
|
8637
|
+
label: "Race Results",
|
|
8638
|
+
description: "View solver race results \u2014 progress, best schedule, makespan comparison, utilization",
|
|
8639
|
+
navigationType: "action",
|
|
8640
|
+
target: "scheduling.results",
|
|
8641
|
+
keywords: ["results", "race results", "makespan", "comparison", "best schedule", "utilization", "solver comparison"]
|
|
8642
|
+
},
|
|
8643
|
+
{
|
|
8644
|
+
id: "opti.scheduling.gantt",
|
|
8645
|
+
section: "opti",
|
|
8646
|
+
label: "Gantt Chart",
|
|
8647
|
+
description: "Gantt chart visualization of the best scheduling solution",
|
|
8648
|
+
navigationType: "action",
|
|
8649
|
+
target: "scheduling.gantt",
|
|
8650
|
+
keywords: ["gantt", "chart", "visualization", "timeline", "schedule view"]
|
|
8651
|
+
},
|
|
8652
|
+
{
|
|
8653
|
+
id: "opti.scheduling.qportal",
|
|
8654
|
+
section: "opti",
|
|
8655
|
+
label: "Q-Portal",
|
|
8656
|
+
description: "Submit scheduling problems to quantum hardware via Q-Portal",
|
|
8657
|
+
navigationType: "action",
|
|
8658
|
+
target: "scheduling.qportal",
|
|
8659
|
+
keywords: ["quantum", "q-portal", "hardware", "quantum computer", "submit", "quantum annealing"]
|
|
8660
|
+
},
|
|
8661
|
+
{
|
|
8662
|
+
id: "opti.routing",
|
|
8663
|
+
section: "opti",
|
|
8664
|
+
label: "Routing",
|
|
8665
|
+
description: "Vehicle routing, TSP, logistics, delivery routes, fleet management",
|
|
8666
|
+
navigationType: "action",
|
|
8667
|
+
target: "routing",
|
|
8668
|
+
keywords: ["routing", "TSP", "vehicle", "logistics", "delivery", "fleet", "path"]
|
|
8669
|
+
},
|
|
8670
|
+
{
|
|
8671
|
+
id: "opti.packing",
|
|
8672
|
+
section: "opti",
|
|
8673
|
+
label: "Packing",
|
|
8674
|
+
description: "Bin packing, knapsack, container loading, space optimization",
|
|
8675
|
+
navigationType: "action",
|
|
8676
|
+
target: "packing",
|
|
8677
|
+
keywords: ["packing", "bin", "knapsack", "container", "loading", "space"]
|
|
8678
|
+
},
|
|
8679
|
+
{
|
|
8680
|
+
id: "opti.network",
|
|
8681
|
+
section: "opti",
|
|
8682
|
+
label: "Network Design",
|
|
8683
|
+
description: "Network flow, facility location, supply chain network design",
|
|
8684
|
+
navigationType: "action",
|
|
8685
|
+
target: "network",
|
|
8686
|
+
keywords: ["network", "flow", "facility", "location", "supply chain", "graph"]
|
|
8687
|
+
},
|
|
8688
|
+
{
|
|
8689
|
+
id: "opti.selection",
|
|
8690
|
+
section: "opti",
|
|
8691
|
+
label: "Selection",
|
|
8692
|
+
description: "Portfolio selection, feature selection, subset optimization",
|
|
8693
|
+
navigationType: "action",
|
|
8694
|
+
target: "selection",
|
|
8695
|
+
keywords: ["selection", "portfolio", "feature", "subset", "pick", "choose"]
|
|
8696
|
+
},
|
|
8697
|
+
{
|
|
8698
|
+
id: "opti.economic",
|
|
8699
|
+
section: "opti",
|
|
8700
|
+
label: "Economic",
|
|
8701
|
+
description: "Resource allocation, pricing, budgeting, economic optimization",
|
|
8702
|
+
navigationType: "action",
|
|
8703
|
+
target: "economic",
|
|
8704
|
+
keywords: ["economic", "resource", "allocation", "pricing", "budget", "cost"]
|
|
8705
|
+
},
|
|
8706
|
+
{
|
|
8707
|
+
id: "opti.assignment",
|
|
8708
|
+
section: "opti",
|
|
8709
|
+
label: "Assignment",
|
|
8710
|
+
description: "Task assignment, matching, workforce allocation, team formation",
|
|
8711
|
+
navigationType: "action",
|
|
8712
|
+
target: "assignment",
|
|
8713
|
+
keywords: ["assignment", "matching", "workforce", "team", "allocate", "assign"]
|
|
8714
|
+
},
|
|
8715
|
+
{
|
|
8716
|
+
id: "opti.partitioning",
|
|
8717
|
+
section: "opti",
|
|
8718
|
+
label: "Partitioning",
|
|
8719
|
+
description: "Graph partitioning, clustering, load balancing, data partitioning",
|
|
8720
|
+
navigationType: "action",
|
|
8721
|
+
target: "partitioning",
|
|
8722
|
+
keywords: ["partitioning", "clustering", "balancing", "partition", "divide", "split"]
|
|
8723
|
+
},
|
|
8724
|
+
// ── Admin ──────────────────────────────────────────────────────────────
|
|
8725
|
+
{
|
|
8726
|
+
id: "admin.users",
|
|
8727
|
+
section: "admin",
|
|
8728
|
+
label: "User Management",
|
|
8729
|
+
description: "View and manage user accounts, roles, and permissions",
|
|
8730
|
+
navigationType: "tab",
|
|
8731
|
+
target: "0",
|
|
8732
|
+
// AdminTab.Users
|
|
8733
|
+
keywords: ["users", "accounts", "roles", "permissions", "manage users"],
|
|
8734
|
+
requiresAdmin: true
|
|
8735
|
+
},
|
|
8736
|
+
{
|
|
8737
|
+
id: "admin.credit_analytics",
|
|
8738
|
+
section: "admin",
|
|
8739
|
+
label: "Credit Analytics",
|
|
8740
|
+
description: "View credit usage, add credits to users, billing analytics",
|
|
8741
|
+
navigationType: "tab",
|
|
8742
|
+
target: "15",
|
|
8743
|
+
// AdminTab.CreditAnalytics
|
|
8744
|
+
keywords: ["credits", "billing", "usage", "add credits", "balance", "cost"],
|
|
8745
|
+
requiresAdmin: true
|
|
8746
|
+
},
|
|
8747
|
+
{
|
|
8748
|
+
id: "admin.settings",
|
|
8749
|
+
section: "admin",
|
|
8750
|
+
label: "Admin Settings",
|
|
8751
|
+
description: "System-wide administration settings and configuration",
|
|
8752
|
+
navigationType: "tab",
|
|
8753
|
+
target: "1",
|
|
8754
|
+
// AdminTab.AdminSettings
|
|
8755
|
+
keywords: ["settings", "configuration", "admin", "system settings"],
|
|
8756
|
+
requiresAdmin: true
|
|
8757
|
+
},
|
|
8758
|
+
{
|
|
8759
|
+
id: "admin.system_health",
|
|
8760
|
+
section: "admin",
|
|
8761
|
+
label: "System Health",
|
|
8762
|
+
description: "Monitor system health, uptime, and performance metrics",
|
|
8763
|
+
navigationType: "tab",
|
|
8764
|
+
target: "29",
|
|
8765
|
+
// AdminTab.SystemHealth
|
|
8766
|
+
keywords: ["health", "uptime", "monitoring", "performance", "status"],
|
|
8767
|
+
requiresAdmin: true
|
|
8768
|
+
},
|
|
8769
|
+
{
|
|
8770
|
+
id: "admin.llm_dashboard",
|
|
8771
|
+
section: "admin",
|
|
8772
|
+
label: "LLM Dashboard",
|
|
8773
|
+
description: "LLM model usage, costs, and performance monitoring",
|
|
8774
|
+
navigationType: "tab",
|
|
8775
|
+
target: "24",
|
|
8776
|
+
// AdminTab.LLMDashboard
|
|
8777
|
+
keywords: ["llm", "model", "ai", "costs", "tokens", "dashboard"],
|
|
8778
|
+
requiresAdmin: true
|
|
8779
|
+
},
|
|
8780
|
+
{
|
|
8781
|
+
id: "admin.tool_definitions",
|
|
8782
|
+
section: "admin",
|
|
8783
|
+
label: "Tool Definitions",
|
|
8784
|
+
description: "Manage LLM tool definitions and configurations",
|
|
8785
|
+
navigationType: "tab",
|
|
8786
|
+
target: "31",
|
|
8787
|
+
// AdminTab.ToolDefinitions
|
|
8788
|
+
keywords: ["tools", "tool definitions", "functions", "capabilities"],
|
|
8789
|
+
requiresAdmin: true
|
|
8790
|
+
},
|
|
8791
|
+
{
|
|
8792
|
+
id: "admin.organizations",
|
|
8793
|
+
section: "admin",
|
|
8794
|
+
label: "Organizations",
|
|
8795
|
+
description: "Manage organizations, teams, and multi-tenant settings",
|
|
8796
|
+
navigationType: "tab",
|
|
8797
|
+
target: "14",
|
|
8798
|
+
// AdminTab.Organizations
|
|
8799
|
+
keywords: ["organizations", "teams", "tenants", "companies"],
|
|
8800
|
+
requiresAdmin: true
|
|
8801
|
+
},
|
|
8802
|
+
{
|
|
8803
|
+
id: "admin.analytics",
|
|
8804
|
+
section: "admin",
|
|
8805
|
+
label: "Analytics",
|
|
8806
|
+
description: "User activity analytics, engagement metrics, and reports",
|
|
8807
|
+
navigationType: "tab",
|
|
8808
|
+
target: "3",
|
|
8809
|
+
// AdminTab.Analytics
|
|
8810
|
+
keywords: ["analytics", "metrics", "reports", "engagement", "activity"],
|
|
8811
|
+
requiresAdmin: true
|
|
8812
|
+
},
|
|
8813
|
+
{
|
|
8814
|
+
id: "admin.subscribers",
|
|
8815
|
+
section: "admin",
|
|
8816
|
+
label: "Subscribers",
|
|
8817
|
+
description: "Manage subscriber waitlist and access approvals",
|
|
8818
|
+
navigationType: "tab",
|
|
8819
|
+
target: "12",
|
|
8820
|
+
// AdminTab.Subscribers
|
|
8821
|
+
keywords: ["subscribers", "waitlist", "approvals", "signups"],
|
|
8822
|
+
requiresAdmin: true
|
|
8823
|
+
},
|
|
8824
|
+
{
|
|
8825
|
+
id: "admin.subscriptions",
|
|
8826
|
+
section: "admin",
|
|
8827
|
+
label: "Subscriptions",
|
|
8828
|
+
description: "Manage subscription plans, tiers, and billing",
|
|
8829
|
+
navigationType: "tab",
|
|
8830
|
+
target: "13",
|
|
8831
|
+
// AdminTab.Subscriptions
|
|
8832
|
+
keywords: ["subscriptions", "plans", "tiers", "billing", "pricing"],
|
|
8833
|
+
requiresAdmin: true
|
|
8834
|
+
},
|
|
8835
|
+
{
|
|
8836
|
+
id: "admin.invite_codes",
|
|
8837
|
+
section: "admin",
|
|
8838
|
+
label: "Invite Codes",
|
|
8839
|
+
description: "Create and manage registration invite codes",
|
|
8840
|
+
navigationType: "tab",
|
|
8841
|
+
target: "5",
|
|
8842
|
+
// AdminTab.RegistrationInvites
|
|
8843
|
+
keywords: ["invite", "codes", "registration", "invitations"],
|
|
8844
|
+
requiresAdmin: true
|
|
8845
|
+
},
|
|
8846
|
+
{
|
|
8847
|
+
id: "admin.agent_ops",
|
|
8848
|
+
section: "admin",
|
|
8849
|
+
label: "Agent Operations",
|
|
8850
|
+
description: "Monitor and manage AI agent operations and tasks",
|
|
8851
|
+
navigationType: "tab",
|
|
8852
|
+
target: "23",
|
|
8853
|
+
// AdminTab.AgentOps
|
|
8854
|
+
keywords: ["agents", "operations", "tasks", "agent ops"],
|
|
8855
|
+
requiresAdmin: true
|
|
8856
|
+
},
|
|
8857
|
+
{
|
|
8858
|
+
id: "admin.security_dashboard",
|
|
8859
|
+
section: "admin",
|
|
8860
|
+
label: "Security Dashboard",
|
|
8861
|
+
description: "Security monitoring, threat detection, and audit logs",
|
|
8862
|
+
navigationType: "tab",
|
|
8863
|
+
target: "26",
|
|
8864
|
+
// AdminTab.SecurityDashboard
|
|
8865
|
+
keywords: ["security", "threats", "audit", "logs", "vulnerabilities"],
|
|
8866
|
+
requiresAdmin: true
|
|
8867
|
+
},
|
|
8868
|
+
{
|
|
8869
|
+
id: "admin.system_prompts",
|
|
8870
|
+
section: "admin",
|
|
8871
|
+
label: "System Prompts",
|
|
8872
|
+
description: "Edit and manage system prompts for AI models",
|
|
8873
|
+
navigationType: "tab",
|
|
8874
|
+
target: "21",
|
|
8875
|
+
// AdminTab.SystemPrompts
|
|
8876
|
+
keywords: ["prompts", "system prompts", "instructions", "AI prompts"],
|
|
8877
|
+
requiresAdmin: true
|
|
8878
|
+
},
|
|
8879
|
+
{
|
|
8880
|
+
id: "admin.modals",
|
|
8881
|
+
section: "admin",
|
|
8882
|
+
label: "Modals",
|
|
8883
|
+
description: "Manage modal dialogs and popup configurations",
|
|
8884
|
+
navigationType: "tab",
|
|
8885
|
+
target: "7",
|
|
8886
|
+
// AdminTab.Modals
|
|
8887
|
+
keywords: ["modals", "dialogs", "popups", "announcements"],
|
|
8888
|
+
requiresAdmin: true
|
|
8889
|
+
},
|
|
8890
|
+
{
|
|
8891
|
+
id: "admin.whats_new",
|
|
8892
|
+
section: "admin",
|
|
8893
|
+
label: "What's New",
|
|
8894
|
+
description: "Manage What's New release notes and changelogs",
|
|
8895
|
+
navigationType: "tab",
|
|
8896
|
+
target: "32",
|
|
8897
|
+
// AdminTab.WhatsNewModals
|
|
8898
|
+
keywords: ["whats new", "release notes", "changelog", "updates"],
|
|
8899
|
+
requiresAdmin: true
|
|
8900
|
+
},
|
|
8901
|
+
{
|
|
8902
|
+
id: "admin.rapid_reply",
|
|
8903
|
+
section: "admin",
|
|
8904
|
+
label: "Rapid Reply",
|
|
8905
|
+
description: "Configure rapid reply templates and shortcuts",
|
|
8906
|
+
navigationType: "tab",
|
|
8907
|
+
target: "25",
|
|
8908
|
+
// AdminTab.RapidReply
|
|
8909
|
+
keywords: ["rapid reply", "templates", "shortcuts", "quick responses"],
|
|
8910
|
+
requiresAdmin: true
|
|
8911
|
+
},
|
|
8912
|
+
{
|
|
8913
|
+
id: "admin.slack_workspaces",
|
|
8914
|
+
section: "admin",
|
|
8915
|
+
label: "Slack Workspaces",
|
|
8916
|
+
description: "Manage connected Slack workspace integrations",
|
|
8917
|
+
navigationType: "tab",
|
|
8918
|
+
target: "30",
|
|
8919
|
+
// AdminTab.SlackWorkspaces
|
|
8920
|
+
keywords: ["slack", "workspaces", "integrations", "messaging"],
|
|
8921
|
+
requiresAdmin: true
|
|
8922
|
+
},
|
|
8923
|
+
{
|
|
8924
|
+
id: "admin.secrets_rotation",
|
|
8925
|
+
section: "admin",
|
|
8926
|
+
label: "Secrets Rotation",
|
|
8927
|
+
description: "Manage API key rotation and secret lifecycle",
|
|
8928
|
+
navigationType: "tab",
|
|
8929
|
+
target: "16",
|
|
8930
|
+
// AdminTab.SecretsRotation
|
|
8931
|
+
keywords: ["secrets", "rotation", "API keys", "credentials"],
|
|
8932
|
+
requiresAdmin: true
|
|
8933
|
+
},
|
|
8934
|
+
{
|
|
8935
|
+
id: "admin.bulk_import",
|
|
8936
|
+
section: "admin",
|
|
8937
|
+
label: "Bulk Import",
|
|
8938
|
+
description: "Bulk import users and data from CSV or other formats",
|
|
8939
|
+
navigationType: "tab",
|
|
8940
|
+
target: "17",
|
|
8941
|
+
// AdminTab.BulkImport
|
|
8942
|
+
keywords: ["bulk", "import", "CSV", "migration", "data import"],
|
|
8943
|
+
requiresAdmin: true
|
|
8944
|
+
},
|
|
8945
|
+
{
|
|
8946
|
+
id: "admin.feedbacks",
|
|
8947
|
+
section: "admin",
|
|
8948
|
+
label: "Feedbacks",
|
|
8949
|
+
description: "View and manage user feedback, bug reports, and feature requests",
|
|
8950
|
+
navigationType: "tab",
|
|
8951
|
+
target: "2",
|
|
8952
|
+
// AdminTab.Feedbacks
|
|
8953
|
+
keywords: ["feedback", "bug reports", "feature requests", "user feedback", "complaints"],
|
|
8954
|
+
requiresAdmin: true
|
|
8955
|
+
},
|
|
8956
|
+
{
|
|
8957
|
+
id: "admin.files",
|
|
8958
|
+
section: "admin",
|
|
8959
|
+
label: "Files",
|
|
8960
|
+
description: "Manage uploaded files across all users, storage analytics",
|
|
8961
|
+
navigationType: "tab",
|
|
8962
|
+
target: "8",
|
|
8963
|
+
// AdminTab.Files
|
|
8964
|
+
keywords: ["files", "uploads", "storage", "documents", "file management"],
|
|
8965
|
+
requiresAdmin: true
|
|
8966
|
+
},
|
|
8967
|
+
{
|
|
8968
|
+
id: "admin.documentation",
|
|
8969
|
+
section: "admin",
|
|
8970
|
+
label: "Documentation",
|
|
8971
|
+
description: "System documentation and internal reference guides",
|
|
8972
|
+
navigationType: "tab",
|
|
8973
|
+
target: "9",
|
|
8974
|
+
// AdminTab.Documentation
|
|
8975
|
+
keywords: ["documentation", "docs", "guides", "reference", "help docs"],
|
|
8976
|
+
requiresAdmin: true
|
|
8977
|
+
},
|
|
8978
|
+
{
|
|
8979
|
+
id: "admin.world_time",
|
|
8980
|
+
section: "admin",
|
|
8981
|
+
label: "World Time",
|
|
8982
|
+
description: "View current time across multiple time zones",
|
|
8983
|
+
navigationType: "tab",
|
|
8984
|
+
target: "10",
|
|
8985
|
+
// AdminTab.WorldTime
|
|
8986
|
+
keywords: ["world time", "time zones", "clocks", "UTC", "international time"],
|
|
8987
|
+
requiresAdmin: true
|
|
8988
|
+
},
|
|
8989
|
+
{
|
|
8990
|
+
id: "admin.model_logs",
|
|
8991
|
+
section: "admin",
|
|
8992
|
+
label: "Model Logs",
|
|
8993
|
+
description: "View LLM model request/response logs and debugging information",
|
|
8994
|
+
navigationType: "tab",
|
|
8995
|
+
target: "18",
|
|
8996
|
+
// AdminTab.ModelLogs
|
|
8997
|
+
keywords: ["model logs", "LLM logs", "request logs", "debugging", "API logs"],
|
|
8998
|
+
requiresAdmin: true
|
|
8999
|
+
},
|
|
9000
|
+
{
|
|
9001
|
+
id: "admin.model_metrics",
|
|
9002
|
+
section: "admin",
|
|
9003
|
+
label: "Model Metrics",
|
|
9004
|
+
description: "LLM model performance metrics, latency, and usage statistics",
|
|
9005
|
+
navigationType: "tab",
|
|
9006
|
+
target: "19",
|
|
9007
|
+
// AdminTab.ModelMetrics
|
|
9008
|
+
keywords: ["model metrics", "performance", "latency", "tokens", "model usage"],
|
|
9009
|
+
requiresAdmin: true
|
|
9010
|
+
},
|
|
9011
|
+
{
|
|
9012
|
+
id: "admin.event_metrics",
|
|
9013
|
+
section: "admin",
|
|
9014
|
+
label: "Event Metrics",
|
|
9015
|
+
description: "Track system events, user activity events, and event analytics",
|
|
9016
|
+
navigationType: "tab",
|
|
9017
|
+
target: "20",
|
|
9018
|
+
// AdminTab.EventMetrics
|
|
9019
|
+
keywords: ["event metrics", "events", "activity tracking", "event analytics"],
|
|
9020
|
+
requiresAdmin: true
|
|
9021
|
+
},
|
|
9022
|
+
{
|
|
9023
|
+
id: "admin.identity_providers",
|
|
9024
|
+
section: "admin",
|
|
9025
|
+
label: "Identity Providers",
|
|
9026
|
+
description: "Configure SSO, SAML, and identity provider integrations",
|
|
9027
|
+
navigationType: "tab",
|
|
9028
|
+
target: "22",
|
|
9029
|
+
// AdminTab.IdentityProviders
|
|
9030
|
+
keywords: ["identity", "SSO", "SAML", "providers", "authentication", "login providers"],
|
|
9031
|
+
requiresAdmin: true
|
|
9032
|
+
},
|
|
9033
|
+
{
|
|
9034
|
+
id: "admin.email_verification",
|
|
9035
|
+
section: "admin",
|
|
9036
|
+
label: "Email Verification",
|
|
9037
|
+
description: "Manage email verification status and send verification emails",
|
|
9038
|
+
navigationType: "tab",
|
|
9039
|
+
target: "27",
|
|
9040
|
+
// AdminTab.EmailVerification
|
|
9041
|
+
keywords: ["email", "verification", "verify email", "email status"],
|
|
9042
|
+
requiresAdmin: true
|
|
9043
|
+
},
|
|
9044
|
+
{
|
|
9045
|
+
id: "admin.team",
|
|
9046
|
+
section: "admin",
|
|
9047
|
+
label: "Team",
|
|
9048
|
+
description: "Manage team members, roles, and team settings",
|
|
9049
|
+
navigationType: "tab",
|
|
9050
|
+
target: "28",
|
|
9051
|
+
// AdminTab.Team
|
|
9052
|
+
keywords: ["team", "members", "roles", "team management", "staff"],
|
|
9053
|
+
requiresAdmin: true
|
|
9054
|
+
},
|
|
9055
|
+
{
|
|
9056
|
+
id: "admin.slack_metrics",
|
|
9057
|
+
section: "admin",
|
|
9058
|
+
label: "Slack Metrics",
|
|
9059
|
+
description: "Slack integration usage metrics and message analytics",
|
|
9060
|
+
navigationType: "tab",
|
|
9061
|
+
target: "33",
|
|
9062
|
+
// AdminTab.SlackMetrics
|
|
9063
|
+
keywords: ["slack metrics", "slack usage", "message analytics", "slack stats"],
|
|
9064
|
+
requiresAdmin: true
|
|
9065
|
+
},
|
|
9066
|
+
{
|
|
9067
|
+
id: "admin.system_secrets",
|
|
9068
|
+
section: "admin",
|
|
9069
|
+
label: "System Secrets",
|
|
9070
|
+
description: "View and manage system-level secrets and environment variables",
|
|
9071
|
+
navigationType: "tab",
|
|
9072
|
+
target: "34",
|
|
9073
|
+
// AdminTab.SystemSecrets
|
|
9074
|
+
keywords: ["system secrets", "environment variables", "env vars", "secrets", "configuration"],
|
|
9075
|
+
requiresAdmin: true
|
|
9076
|
+
},
|
|
9077
|
+
{
|
|
9078
|
+
id: "admin.liveops_triage",
|
|
9079
|
+
section: "admin",
|
|
9080
|
+
label: "LiveOps Triage",
|
|
9081
|
+
description: "Real-time error triage, production issue monitoring, and incident response",
|
|
9082
|
+
navigationType: "tab",
|
|
9083
|
+
target: "35",
|
|
9084
|
+
// AdminTab.LiveOpsTriage
|
|
9085
|
+
keywords: ["liveops", "triage", "errors", "incidents", "production issues", "monitoring"],
|
|
9086
|
+
requiresAdmin: true
|
|
9087
|
+
},
|
|
9088
|
+
// ── Global ─────────────────────────────────────────────────────────────
|
|
9089
|
+
{
|
|
9090
|
+
id: "global.chat",
|
|
9091
|
+
section: "global",
|
|
9092
|
+
label: "Chat",
|
|
9093
|
+
description: "Main AI chat interface for conversations",
|
|
9094
|
+
navigationType: "route",
|
|
9095
|
+
target: "/",
|
|
9096
|
+
keywords: ["chat", "conversation", "talk", "message", "ask"]
|
|
9097
|
+
},
|
|
9098
|
+
{
|
|
9099
|
+
id: "global.projects",
|
|
9100
|
+
section: "global",
|
|
9101
|
+
label: "Projects",
|
|
9102
|
+
description: "View and manage projects and workspaces",
|
|
9103
|
+
navigationType: "route",
|
|
9104
|
+
target: "/projects",
|
|
9105
|
+
keywords: ["projects", "workspaces", "organize", "folders"]
|
|
9106
|
+
},
|
|
9107
|
+
{
|
|
9108
|
+
id: "global.agents",
|
|
9109
|
+
section: "global",
|
|
9110
|
+
label: "Agents",
|
|
9111
|
+
description: "Browse and configure AI agents",
|
|
9112
|
+
navigationType: "route",
|
|
9113
|
+
target: "/agents",
|
|
9114
|
+
keywords: ["agents", "AI assistants", "bots", "configure agents"]
|
|
9115
|
+
},
|
|
9116
|
+
{
|
|
9117
|
+
id: "global.agents_create",
|
|
9118
|
+
section: "global",
|
|
9119
|
+
label: "Create Agent",
|
|
9120
|
+
description: "Create a new AI agent with personality, motivation, system prompt, and capabilities",
|
|
9121
|
+
navigationType: "route",
|
|
9122
|
+
target: "/agents/new",
|
|
9123
|
+
keywords: ["create agent", "new agent", "build agent", "agent personality", "agent motivation", "agent setup"]
|
|
9124
|
+
},
|
|
9125
|
+
{
|
|
9126
|
+
id: "global.profile",
|
|
9127
|
+
section: "global",
|
|
9128
|
+
label: "Profile",
|
|
9129
|
+
description: "User profile settings and preferences",
|
|
9130
|
+
navigationType: "route",
|
|
9131
|
+
target: "/profile",
|
|
9132
|
+
keywords: ["profile", "account", "preferences", "personal settings"]
|
|
9133
|
+
},
|
|
9134
|
+
{
|
|
9135
|
+
id: "global.profile_security",
|
|
9136
|
+
section: "global",
|
|
9137
|
+
label: "Security Settings",
|
|
9138
|
+
description: "MFA, password, and security settings for your account",
|
|
9139
|
+
navigationType: "route",
|
|
9140
|
+
target: "/profile/security",
|
|
9141
|
+
keywords: ["security", "MFA", "password", "two-factor", "2FA"]
|
|
9142
|
+
},
|
|
9143
|
+
{
|
|
9144
|
+
id: "global.profile_api_keys",
|
|
9145
|
+
section: "global",
|
|
9146
|
+
label: "API Keys",
|
|
9147
|
+
description: "Manage your personal API keys for integrations",
|
|
9148
|
+
navigationType: "route",
|
|
9149
|
+
target: "/profile/api-keys",
|
|
9150
|
+
keywords: ["API keys", "tokens", "integrations", "developer"]
|
|
9151
|
+
},
|
|
9152
|
+
{
|
|
9153
|
+
id: "global.admin",
|
|
9154
|
+
section: "global",
|
|
9155
|
+
label: "Admin Panel",
|
|
9156
|
+
description: "Admin dashboard for system management",
|
|
9157
|
+
navigationType: "route",
|
|
9158
|
+
target: "/admin",
|
|
9159
|
+
keywords: ["admin", "dashboard", "management", "administration"],
|
|
9160
|
+
requiresAdmin: true
|
|
9161
|
+
},
|
|
9162
|
+
{
|
|
9163
|
+
id: "global.help",
|
|
9164
|
+
section: "global",
|
|
9165
|
+
label: "Help",
|
|
9166
|
+
description: "Help documentation and support resources",
|
|
9167
|
+
navigationType: "route",
|
|
9168
|
+
target: "/help",
|
|
9169
|
+
keywords: ["help", "support", "documentation", "FAQ", "guide"]
|
|
9170
|
+
},
|
|
9171
|
+
{
|
|
9172
|
+
id: "global.knowledge_base",
|
|
9173
|
+
section: "global",
|
|
9174
|
+
label: "Knowledge Base",
|
|
9175
|
+
description: "Browse uploaded files and documents in your knowledge base",
|
|
9176
|
+
navigationType: "route",
|
|
9177
|
+
target: "/knowledge",
|
|
9178
|
+
keywords: ["knowledge", "files", "documents", "uploads", "library"]
|
|
9179
|
+
},
|
|
9180
|
+
{
|
|
9181
|
+
id: "global.settings",
|
|
9182
|
+
section: "global",
|
|
9183
|
+
label: "Settings",
|
|
9184
|
+
description: "Application settings and preferences",
|
|
9185
|
+
navigationType: "route",
|
|
9186
|
+
target: "/settings",
|
|
9187
|
+
keywords: ["settings", "preferences", "configuration", "options"]
|
|
9188
|
+
}
|
|
9189
|
+
];
|
|
9190
|
+
function getViewById(viewId) {
|
|
9191
|
+
return VIEW_REGISTRY.find((v) => v.id === viewId);
|
|
9192
|
+
}
|
|
9193
|
+
function getFilteredViews(options) {
|
|
9194
|
+
return VIEW_REGISTRY.filter((v) => {
|
|
9195
|
+
if (options?.section && v.section !== options.section)
|
|
9196
|
+
return false;
|
|
9197
|
+
if (v.requiresAdmin && !options?.isAdmin)
|
|
9198
|
+
return false;
|
|
9199
|
+
return true;
|
|
9200
|
+
});
|
|
9201
|
+
}
|
|
9202
|
+
function getViewSummaryForLLM(options) {
|
|
9203
|
+
const views = getFilteredViews(options);
|
|
9204
|
+
const grouped = {};
|
|
9205
|
+
for (const v of views) {
|
|
9206
|
+
const key = v.section.toUpperCase();
|
|
9207
|
+
if (!grouped[key])
|
|
9208
|
+
grouped[key] = [];
|
|
9209
|
+
grouped[key].push(`- ${v.id}: ${v.label} \u2014 ${v.description}`);
|
|
9210
|
+
}
|
|
9211
|
+
const sections = Object.entries(grouped).map(([section, lines]) => `[${section}]
|
|
9212
|
+
${lines.join("\n")}`).join("\n\n");
|
|
9213
|
+
return [
|
|
9214
|
+
"# MANDATORY: navigate_view Tool Usage",
|
|
9215
|
+
"",
|
|
9216
|
+
"You have a navigate_view tool that renders clickable navigation buttons in your response.",
|
|
9217
|
+
"",
|
|
9218
|
+
"RULE: If your response mentions or relates to ANY view listed below, you MUST call the navigate_view tool.",
|
|
9219
|
+
"Do NOT just mention a view in text \u2014 you MUST also call the tool so the user sees a clickable button.",
|
|
9220
|
+
"Call navigate_view AND write your text answer. Both. Every time.",
|
|
9221
|
+
"",
|
|
9222
|
+
"Example \u2014 if the user asks about scheduling:",
|
|
9223
|
+
'1. Call navigate_view with suggestions: [{viewId: "opti.scheduling", reason: "Try scheduling algorithms here"}]',
|
|
9224
|
+
"2. AND write your text answer about scheduling",
|
|
9225
|
+
"",
|
|
9226
|
+
"Example \u2014 if the user asks about user management:",
|
|
9227
|
+
'1. Call navigate_view with suggestions: [{viewId: "admin.users", reason: "Manage user accounts"}]',
|
|
9228
|
+
"2. AND write your text answer about user management",
|
|
9229
|
+
"",
|
|
9230
|
+
sections
|
|
9231
|
+
].join("\n");
|
|
9232
|
+
}
|
|
9233
|
+
function resolveNavigationIntents(suggestions, isAdmin) {
|
|
9234
|
+
return suggestions.map((s) => {
|
|
9235
|
+
const view = getViewById(s.viewId);
|
|
9236
|
+
if (!view)
|
|
9237
|
+
return null;
|
|
9238
|
+
if (view.requiresAdmin && !isAdmin)
|
|
9239
|
+
return null;
|
|
9240
|
+
return {
|
|
9241
|
+
viewId: view.id,
|
|
9242
|
+
label: view.label,
|
|
9243
|
+
description: view.description,
|
|
9244
|
+
navigationType: view.navigationType,
|
|
9245
|
+
target: view.target,
|
|
9246
|
+
reason: s.reason
|
|
9247
|
+
};
|
|
9248
|
+
}).filter((intent) => intent !== null);
|
|
9249
|
+
}
|
|
9250
|
+
|
|
8558
9251
|
// ../../b4m-core/packages/common/dist/src/utils/dayjsConfig.js
|
|
8559
9252
|
import dayjs from "dayjs";
|
|
8560
9253
|
import timezone from "dayjs/plugin/timezone.js";
|
|
@@ -8684,6 +9377,8 @@ export {
|
|
|
8684
9377
|
SecretAuditEvents,
|
|
8685
9378
|
WebhookDeliveryStatus,
|
|
8686
9379
|
SupportedFabFileMimeTypes,
|
|
9380
|
+
REASONING_EFFORT_LABELS,
|
|
9381
|
+
REASONING_EFFORT_DESCRIPTIONS,
|
|
8687
9382
|
CODE_FILE_MIME_TYPES,
|
|
8688
9383
|
DataSubscribeRequestAction,
|
|
8689
9384
|
DataUnsubscribeRequestAction,
|
|
@@ -8983,5 +9678,10 @@ export {
|
|
|
8983
9678
|
formatSSEError,
|
|
8984
9679
|
serializeSSEEvent,
|
|
8985
9680
|
SSE_DONE_SIGNAL,
|
|
9681
|
+
VIEW_REGISTRY,
|
|
9682
|
+
getViewById,
|
|
9683
|
+
getFilteredViews,
|
|
9684
|
+
getViewSummaryForLLM,
|
|
9685
|
+
resolveNavigationIntents,
|
|
8986
9686
|
dayjsConfig_default
|
|
8987
9687
|
};
|