@bike4mind/cli 0.2.29-feat-quantum-optimize-architecture.18875 → 0.2.29-feat-cli-websocket-streaming.18881
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-FZXFXCQR.js → artifactExtractor-SNWW3EVH.js} +1 -1
- package/dist/{chunk-Z7V2ITXT.js → chunk-BXCARBUQ.js} +2 -2
- package/dist/{chunk-KFGSOQ6A.js → chunk-EC2VEDD2.js} +2 -2
- package/dist/{chunk-KISWANWA.js → chunk-KPOK6V6E.js} +70 -631
- package/dist/{chunk-MHDNMNRT.js → chunk-QQL3OBKL.js} +2 -2
- package/dist/{chunk-H66G775W.js → chunk-TY6Z2UV2.js} +1 -1
- package/dist/{create-G7TEBA4G.js → create-QOJPAIOR.js} +3 -3
- package/dist/index.js +805 -1525
- package/dist/{llmMarkdownGenerator-KPG7F7QB.js → llmMarkdownGenerator-JPDNDGE4.js} +1 -1
- package/dist/{markdownGenerator-W2NSNHET.js → markdownGenerator-NHN4MNEA.js} +1 -1
- package/dist/{mementoService-MMKUXPLN.js → mementoService-EN7FZK7B.js} +3 -3
- package/dist/{src-37LZNPYL.js → src-36AL3BJR.js} +13 -11
- package/dist/{src-DHPEY75W.js → src-JZN5O6F3.js} +2 -2
- package/dist/{subtractCredits-J3ULMOTE.js → subtractCredits-FCBMFPIP.js} +3 -3
- package/package.json +6 -6
|
@@ -310,13 +310,7 @@ var b4mLLMTools = z5.enum([
|
|
|
310
310
|
"iss_tracker",
|
|
311
311
|
"planet_visibility",
|
|
312
312
|
// Knowledge base search
|
|
313
|
-
"search_knowledge_base"
|
|
314
|
-
"retrieve_knowledge_content",
|
|
315
|
-
// Quantum optimization tools
|
|
316
|
-
"quantum_schedule",
|
|
317
|
-
"quantum_formulate",
|
|
318
|
-
// Navigation tool
|
|
319
|
-
"navigate_view"
|
|
313
|
+
"search_knowledge_base"
|
|
320
314
|
]);
|
|
321
315
|
var B4MLLMToolsList = b4mLLMTools.options.map((tool) => tool);
|
|
322
316
|
var RechartsChartTypeSchema = z5.enum([
|
|
@@ -1018,6 +1012,29 @@ var VoiceSessionSendTranscriptAction = z10.object({
|
|
|
1018
1012
|
conversationItemId: z10.string(),
|
|
1019
1013
|
timestamp: z10.coerce.date().optional()
|
|
1020
1014
|
});
|
|
1015
|
+
var CliCompletionRequestAction = z10.object({
|
|
1016
|
+
action: z10.literal("cli_completion_request"),
|
|
1017
|
+
accessToken: z10.string(),
|
|
1018
|
+
requestId: z10.string().uuid(),
|
|
1019
|
+
model: z10.string(),
|
|
1020
|
+
messages: z10.array(z10.object({
|
|
1021
|
+
role: z10.enum(["user", "assistant", "system"]),
|
|
1022
|
+
content: z10.union([z10.string(), z10.array(z10.unknown())])
|
|
1023
|
+
})),
|
|
1024
|
+
options: z10.object({
|
|
1025
|
+
temperature: z10.number().optional(),
|
|
1026
|
+
maxTokens: z10.number().optional(),
|
|
1027
|
+
stream: z10.boolean().optional(),
|
|
1028
|
+
tools: z10.array(z10.unknown()).optional()
|
|
1029
|
+
}).optional()
|
|
1030
|
+
});
|
|
1031
|
+
var CliToolRequestAction = z10.object({
|
|
1032
|
+
action: z10.literal("cli_tool_request"),
|
|
1033
|
+
accessToken: z10.string(),
|
|
1034
|
+
requestId: z10.string().uuid(),
|
|
1035
|
+
toolName: z10.string(),
|
|
1036
|
+
input: z10.record(z10.unknown())
|
|
1037
|
+
});
|
|
1021
1038
|
var VoiceSessionEndedAction = z10.object({
|
|
1022
1039
|
action: z10.literal("voice_session_ended"),
|
|
1023
1040
|
userId: z10.string(),
|
|
@@ -1264,6 +1281,36 @@ var ResearchModeStreamAction = z10.object({
|
|
|
1264
1281
|
completionInfo: z10.any().optional()
|
|
1265
1282
|
}).optional()
|
|
1266
1283
|
});
|
|
1284
|
+
var CliCompletionChunkAction = z10.object({
|
|
1285
|
+
action: z10.literal("cli_completion_chunk"),
|
|
1286
|
+
requestId: z10.string(),
|
|
1287
|
+
chunk: z10.object({
|
|
1288
|
+
type: z10.enum(["content", "tool_use"]),
|
|
1289
|
+
text: z10.string(),
|
|
1290
|
+
tools: z10.array(z10.unknown()).optional(),
|
|
1291
|
+
usage: z10.object({
|
|
1292
|
+
inputTokens: z10.number().optional(),
|
|
1293
|
+
outputTokens: z10.number().optional()
|
|
1294
|
+
}).optional(),
|
|
1295
|
+
thinking: z10.array(z10.unknown()).optional()
|
|
1296
|
+
})
|
|
1297
|
+
});
|
|
1298
|
+
var CliCompletionDoneAction = z10.object({
|
|
1299
|
+
action: z10.literal("cli_completion_done"),
|
|
1300
|
+
requestId: z10.string()
|
|
1301
|
+
});
|
|
1302
|
+
var CliCompletionErrorAction = z10.object({
|
|
1303
|
+
action: z10.literal("cli_completion_error"),
|
|
1304
|
+
requestId: z10.string(),
|
|
1305
|
+
error: z10.string()
|
|
1306
|
+
});
|
|
1307
|
+
var CliToolResponseAction = z10.object({
|
|
1308
|
+
action: z10.literal("cli_tool_response"),
|
|
1309
|
+
requestId: z10.string(),
|
|
1310
|
+
success: z10.boolean(),
|
|
1311
|
+
content: z10.unknown().optional(),
|
|
1312
|
+
error: z10.string().optional()
|
|
1313
|
+
});
|
|
1267
1314
|
var SessionCreatedAction = shareableDocumentSchema.extend({
|
|
1268
1315
|
action: z10.literal("session.created"),
|
|
1269
1316
|
id: z10.string(),
|
|
@@ -1298,7 +1345,9 @@ var MessageDataToServer = z10.discriminatedUnion("action", [
|
|
|
1298
1345
|
DataUnsubscribeRequestAction,
|
|
1299
1346
|
HeartbeatAction,
|
|
1300
1347
|
VoiceSessionSendTranscriptAction,
|
|
1301
|
-
VoiceSessionEndedAction
|
|
1348
|
+
VoiceSessionEndedAction,
|
|
1349
|
+
CliCompletionRequestAction,
|
|
1350
|
+
CliToolRequestAction
|
|
1302
1351
|
]);
|
|
1303
1352
|
var MessageDataToClient = z10.discriminatedUnion("action", [
|
|
1304
1353
|
DataSubscriptionUpdateAction,
|
|
@@ -1320,7 +1369,11 @@ var MessageDataToClient = z10.discriminatedUnion("action", [
|
|
|
1320
1369
|
SpiderProgressUpdateAction,
|
|
1321
1370
|
SpiderCompleteAction,
|
|
1322
1371
|
SpiderErrorAction,
|
|
1323
|
-
SessionCreatedAction
|
|
1372
|
+
SessionCreatedAction,
|
|
1373
|
+
CliCompletionChunkAction,
|
|
1374
|
+
CliCompletionDoneAction,
|
|
1375
|
+
CliCompletionErrorAction,
|
|
1376
|
+
CliToolResponseAction
|
|
1324
1377
|
]);
|
|
1325
1378
|
|
|
1326
1379
|
// ../../b4m-core/packages/common/dist/src/schemas/cliCompletions.js
|
|
@@ -2269,9 +2322,7 @@ var SettingKeySchema = z21.enum([
|
|
|
2269
2322
|
// LIVEOPS TRIAGE AUTOMATION SETTINGS
|
|
2270
2323
|
"liveopsTriageConfig",
|
|
2271
2324
|
// HELP CENTER SETTINGS
|
|
2272
|
-
"EnableHelpChat"
|
|
2273
|
-
// QUANTUM CANVASSER SETTINGS
|
|
2274
|
-
"EnableQuantumCanvasser"
|
|
2325
|
+
"EnableHelpChat"
|
|
2275
2326
|
]);
|
|
2276
2327
|
var CategoryOrder = [
|
|
2277
2328
|
"AI",
|
|
@@ -2691,8 +2742,7 @@ var API_SERVICE_GROUPS = {
|
|
|
2691
2742
|
{ key: "EnableMcpToolFiltering", order: 14 },
|
|
2692
2743
|
{ key: "McpToolFilteringMaxTools", order: 15 },
|
|
2693
2744
|
{ key: "EnableParallelToolExecution", order: 16 },
|
|
2694
|
-
{ key: "EnableHelpChat", order: 17 }
|
|
2695
|
-
{ key: "EnableQuantumCanvasser", order: 18 }
|
|
2745
|
+
{ key: "EnableHelpChat", order: 17 }
|
|
2696
2746
|
]
|
|
2697
2747
|
},
|
|
2698
2748
|
NOTEBOOK: {
|
|
@@ -3873,16 +3923,6 @@ var settingsMap = {
|
|
|
3873
3923
|
category: "Experimental",
|
|
3874
3924
|
group: API_SERVICE_GROUPS.EXPERIMENTAL.id,
|
|
3875
3925
|
order: 17
|
|
3876
|
-
}),
|
|
3877
|
-
// Optimization Canvasser Settings
|
|
3878
|
-
EnableQuantumCanvasser: makeBooleanSetting({
|
|
3879
|
-
key: "EnableQuantumCanvasser",
|
|
3880
|
-
name: "Enable Optimization Canvasser",
|
|
3881
|
-
defaultValue: false,
|
|
3882
|
-
description: "Enable the Optimization Canvasser module for AI-driven optimization across classical and quantum solvers.",
|
|
3883
|
-
category: "Experimental",
|
|
3884
|
-
group: API_SERVICE_GROUPS.EXPERIMENTAL.id,
|
|
3885
|
-
order: 18
|
|
3886
3926
|
})
|
|
3887
3927
|
// Add more settings as needed
|
|
3888
3928
|
};
|
|
@@ -7819,608 +7859,6 @@ function serializeSSEEvent(event) {
|
|
|
7819
7859
|
}
|
|
7820
7860
|
var SSE_DONE_SIGNAL = "data: [DONE]\n\n";
|
|
7821
7861
|
|
|
7822
|
-
// ../../b4m-core/packages/common/dist/src/navigation/viewRegistry.js
|
|
7823
|
-
var VIEW_REGISTRY = [
|
|
7824
|
-
// ── Opti (Optimization Canvasser) ──────────────────────────────────────
|
|
7825
|
-
{
|
|
7826
|
-
id: "opti.root",
|
|
7827
|
-
section: "opti",
|
|
7828
|
-
label: "Optimization Home",
|
|
7829
|
-
description: "The Optimization Canvasser landing page showing all 8 pattern family cards",
|
|
7830
|
-
navigationType: "route",
|
|
7831
|
-
target: "/opti",
|
|
7832
|
-
keywords: ["optimization", "canvasser", "home", "patterns", "families"]
|
|
7833
|
-
},
|
|
7834
|
-
{
|
|
7835
|
-
id: "opti.scheduling",
|
|
7836
|
-
section: "opti",
|
|
7837
|
-
label: "Scheduling",
|
|
7838
|
-
description: "Scheduling optimization: job-shop, flow-shop, shift scheduling, makespan minimization",
|
|
7839
|
-
navigationType: "action",
|
|
7840
|
-
target: "scheduling",
|
|
7841
|
-
keywords: ["scheduling", "job-shop", "flow-shop", "shifts", "makespan", "gantt", "calendar"]
|
|
7842
|
-
},
|
|
7843
|
-
{
|
|
7844
|
-
id: "opti.routing",
|
|
7845
|
-
section: "opti",
|
|
7846
|
-
label: "Routing",
|
|
7847
|
-
description: "Vehicle routing, TSP, logistics, delivery routes, fleet management",
|
|
7848
|
-
navigationType: "action",
|
|
7849
|
-
target: "routing",
|
|
7850
|
-
keywords: ["routing", "TSP", "vehicle", "logistics", "delivery", "fleet", "path"]
|
|
7851
|
-
},
|
|
7852
|
-
{
|
|
7853
|
-
id: "opti.packing",
|
|
7854
|
-
section: "opti",
|
|
7855
|
-
label: "Packing",
|
|
7856
|
-
description: "Bin packing, knapsack, container loading, space optimization",
|
|
7857
|
-
navigationType: "action",
|
|
7858
|
-
target: "packing",
|
|
7859
|
-
keywords: ["packing", "bin", "knapsack", "container", "loading", "space"]
|
|
7860
|
-
},
|
|
7861
|
-
{
|
|
7862
|
-
id: "opti.network",
|
|
7863
|
-
section: "opti",
|
|
7864
|
-
label: "Network Design",
|
|
7865
|
-
description: "Network flow, facility location, supply chain network design",
|
|
7866
|
-
navigationType: "action",
|
|
7867
|
-
target: "network",
|
|
7868
|
-
keywords: ["network", "flow", "facility", "location", "supply chain", "graph"]
|
|
7869
|
-
},
|
|
7870
|
-
{
|
|
7871
|
-
id: "opti.selection",
|
|
7872
|
-
section: "opti",
|
|
7873
|
-
label: "Selection",
|
|
7874
|
-
description: "Portfolio selection, feature selection, subset optimization",
|
|
7875
|
-
navigationType: "action",
|
|
7876
|
-
target: "selection",
|
|
7877
|
-
keywords: ["selection", "portfolio", "feature", "subset", "pick", "choose"]
|
|
7878
|
-
},
|
|
7879
|
-
{
|
|
7880
|
-
id: "opti.economic",
|
|
7881
|
-
section: "opti",
|
|
7882
|
-
label: "Economic",
|
|
7883
|
-
description: "Resource allocation, pricing, budgeting, economic optimization",
|
|
7884
|
-
navigationType: "action",
|
|
7885
|
-
target: "economic",
|
|
7886
|
-
keywords: ["economic", "resource", "allocation", "pricing", "budget", "cost"]
|
|
7887
|
-
},
|
|
7888
|
-
{
|
|
7889
|
-
id: "opti.assignment",
|
|
7890
|
-
section: "opti",
|
|
7891
|
-
label: "Assignment",
|
|
7892
|
-
description: "Task assignment, matching, workforce allocation, team formation",
|
|
7893
|
-
navigationType: "action",
|
|
7894
|
-
target: "assignment",
|
|
7895
|
-
keywords: ["assignment", "matching", "workforce", "team", "allocate", "assign"]
|
|
7896
|
-
},
|
|
7897
|
-
{
|
|
7898
|
-
id: "opti.partitioning",
|
|
7899
|
-
section: "opti",
|
|
7900
|
-
label: "Partitioning",
|
|
7901
|
-
description: "Graph partitioning, clustering, load balancing, data partitioning",
|
|
7902
|
-
navigationType: "action",
|
|
7903
|
-
target: "partitioning",
|
|
7904
|
-
keywords: ["partitioning", "clustering", "balancing", "partition", "divide", "split"]
|
|
7905
|
-
},
|
|
7906
|
-
// ── Admin ──────────────────────────────────────────────────────────────
|
|
7907
|
-
{
|
|
7908
|
-
id: "admin.users",
|
|
7909
|
-
section: "admin",
|
|
7910
|
-
label: "User Management",
|
|
7911
|
-
description: "View and manage user accounts, roles, and permissions",
|
|
7912
|
-
navigationType: "tab",
|
|
7913
|
-
target: "0",
|
|
7914
|
-
// AdminTab.Users
|
|
7915
|
-
keywords: ["users", "accounts", "roles", "permissions", "manage users"],
|
|
7916
|
-
requiresAdmin: true
|
|
7917
|
-
},
|
|
7918
|
-
{
|
|
7919
|
-
id: "admin.credit_analytics",
|
|
7920
|
-
section: "admin",
|
|
7921
|
-
label: "Credit Analytics",
|
|
7922
|
-
description: "View credit usage, add credits to users, billing analytics",
|
|
7923
|
-
navigationType: "tab",
|
|
7924
|
-
target: "15",
|
|
7925
|
-
// AdminTab.CreditAnalytics
|
|
7926
|
-
keywords: ["credits", "billing", "usage", "add credits", "balance", "cost"],
|
|
7927
|
-
requiresAdmin: true
|
|
7928
|
-
},
|
|
7929
|
-
{
|
|
7930
|
-
id: "admin.settings",
|
|
7931
|
-
section: "admin",
|
|
7932
|
-
label: "Admin Settings",
|
|
7933
|
-
description: "System-wide administration settings and configuration",
|
|
7934
|
-
navigationType: "tab",
|
|
7935
|
-
target: "1",
|
|
7936
|
-
// AdminTab.AdminSettings
|
|
7937
|
-
keywords: ["settings", "configuration", "admin", "system settings"],
|
|
7938
|
-
requiresAdmin: true
|
|
7939
|
-
},
|
|
7940
|
-
{
|
|
7941
|
-
id: "admin.system_health",
|
|
7942
|
-
section: "admin",
|
|
7943
|
-
label: "System Health",
|
|
7944
|
-
description: "Monitor system health, uptime, and performance metrics",
|
|
7945
|
-
navigationType: "tab",
|
|
7946
|
-
target: "29",
|
|
7947
|
-
// AdminTab.SystemHealth
|
|
7948
|
-
keywords: ["health", "uptime", "monitoring", "performance", "status"],
|
|
7949
|
-
requiresAdmin: true
|
|
7950
|
-
},
|
|
7951
|
-
{
|
|
7952
|
-
id: "admin.llm_dashboard",
|
|
7953
|
-
section: "admin",
|
|
7954
|
-
label: "LLM Dashboard",
|
|
7955
|
-
description: "LLM model usage, costs, and performance monitoring",
|
|
7956
|
-
navigationType: "tab",
|
|
7957
|
-
target: "24",
|
|
7958
|
-
// AdminTab.LLMDashboard
|
|
7959
|
-
keywords: ["llm", "model", "ai", "costs", "tokens", "dashboard"],
|
|
7960
|
-
requiresAdmin: true
|
|
7961
|
-
},
|
|
7962
|
-
{
|
|
7963
|
-
id: "admin.tool_definitions",
|
|
7964
|
-
section: "admin",
|
|
7965
|
-
label: "Tool Definitions",
|
|
7966
|
-
description: "Manage LLM tool definitions and configurations",
|
|
7967
|
-
navigationType: "tab",
|
|
7968
|
-
target: "31",
|
|
7969
|
-
// AdminTab.ToolDefinitions
|
|
7970
|
-
keywords: ["tools", "tool definitions", "functions", "capabilities"],
|
|
7971
|
-
requiresAdmin: true
|
|
7972
|
-
},
|
|
7973
|
-
{
|
|
7974
|
-
id: "admin.organizations",
|
|
7975
|
-
section: "admin",
|
|
7976
|
-
label: "Organizations",
|
|
7977
|
-
description: "Manage organizations, teams, and multi-tenant settings",
|
|
7978
|
-
navigationType: "tab",
|
|
7979
|
-
target: "14",
|
|
7980
|
-
// AdminTab.Organizations
|
|
7981
|
-
keywords: ["organizations", "teams", "tenants", "companies"],
|
|
7982
|
-
requiresAdmin: true
|
|
7983
|
-
},
|
|
7984
|
-
{
|
|
7985
|
-
id: "admin.analytics",
|
|
7986
|
-
section: "admin",
|
|
7987
|
-
label: "Analytics",
|
|
7988
|
-
description: "User activity analytics, engagement metrics, and reports",
|
|
7989
|
-
navigationType: "tab",
|
|
7990
|
-
target: "3",
|
|
7991
|
-
// AdminTab.Analytics
|
|
7992
|
-
keywords: ["analytics", "metrics", "reports", "engagement", "activity"],
|
|
7993
|
-
requiresAdmin: true
|
|
7994
|
-
},
|
|
7995
|
-
{
|
|
7996
|
-
id: "admin.subscribers",
|
|
7997
|
-
section: "admin",
|
|
7998
|
-
label: "Subscribers",
|
|
7999
|
-
description: "Manage subscriber waitlist and access approvals",
|
|
8000
|
-
navigationType: "tab",
|
|
8001
|
-
target: "12",
|
|
8002
|
-
// AdminTab.Subscribers
|
|
8003
|
-
keywords: ["subscribers", "waitlist", "approvals", "signups"],
|
|
8004
|
-
requiresAdmin: true
|
|
8005
|
-
},
|
|
8006
|
-
{
|
|
8007
|
-
id: "admin.subscriptions",
|
|
8008
|
-
section: "admin",
|
|
8009
|
-
label: "Subscriptions",
|
|
8010
|
-
description: "Manage subscription plans, tiers, and billing",
|
|
8011
|
-
navigationType: "tab",
|
|
8012
|
-
target: "13",
|
|
8013
|
-
// AdminTab.Subscriptions
|
|
8014
|
-
keywords: ["subscriptions", "plans", "tiers", "billing", "pricing"],
|
|
8015
|
-
requiresAdmin: true
|
|
8016
|
-
},
|
|
8017
|
-
{
|
|
8018
|
-
id: "admin.invite_codes",
|
|
8019
|
-
section: "admin",
|
|
8020
|
-
label: "Invite Codes",
|
|
8021
|
-
description: "Create and manage registration invite codes",
|
|
8022
|
-
navigationType: "tab",
|
|
8023
|
-
target: "5",
|
|
8024
|
-
// AdminTab.RegistrationInvites
|
|
8025
|
-
keywords: ["invite", "codes", "registration", "invitations"],
|
|
8026
|
-
requiresAdmin: true
|
|
8027
|
-
},
|
|
8028
|
-
{
|
|
8029
|
-
id: "admin.agent_ops",
|
|
8030
|
-
section: "admin",
|
|
8031
|
-
label: "Agent Operations",
|
|
8032
|
-
description: "Monitor and manage AI agent operations and tasks",
|
|
8033
|
-
navigationType: "tab",
|
|
8034
|
-
target: "23",
|
|
8035
|
-
// AdminTab.AgentOps
|
|
8036
|
-
keywords: ["agents", "operations", "tasks", "agent ops"],
|
|
8037
|
-
requiresAdmin: true
|
|
8038
|
-
},
|
|
8039
|
-
{
|
|
8040
|
-
id: "admin.security_dashboard",
|
|
8041
|
-
section: "admin",
|
|
8042
|
-
label: "Security Dashboard",
|
|
8043
|
-
description: "Security monitoring, threat detection, and audit logs",
|
|
8044
|
-
navigationType: "tab",
|
|
8045
|
-
target: "26",
|
|
8046
|
-
// AdminTab.SecurityDashboard
|
|
8047
|
-
keywords: ["security", "threats", "audit", "logs", "vulnerabilities"],
|
|
8048
|
-
requiresAdmin: true
|
|
8049
|
-
},
|
|
8050
|
-
{
|
|
8051
|
-
id: "admin.system_prompts",
|
|
8052
|
-
section: "admin",
|
|
8053
|
-
label: "System Prompts",
|
|
8054
|
-
description: "Edit and manage system prompts for AI models",
|
|
8055
|
-
navigationType: "tab",
|
|
8056
|
-
target: "21",
|
|
8057
|
-
// AdminTab.SystemPrompts
|
|
8058
|
-
keywords: ["prompts", "system prompts", "instructions", "AI prompts"],
|
|
8059
|
-
requiresAdmin: true
|
|
8060
|
-
},
|
|
8061
|
-
{
|
|
8062
|
-
id: "admin.modals",
|
|
8063
|
-
section: "admin",
|
|
8064
|
-
label: "Modals",
|
|
8065
|
-
description: "Manage modal dialogs and popup configurations",
|
|
8066
|
-
navigationType: "tab",
|
|
8067
|
-
target: "7",
|
|
8068
|
-
// AdminTab.Modals
|
|
8069
|
-
keywords: ["modals", "dialogs", "popups", "announcements"],
|
|
8070
|
-
requiresAdmin: true
|
|
8071
|
-
},
|
|
8072
|
-
{
|
|
8073
|
-
id: "admin.whats_new",
|
|
8074
|
-
section: "admin",
|
|
8075
|
-
label: "What's New",
|
|
8076
|
-
description: "Manage What's New release notes and changelogs",
|
|
8077
|
-
navigationType: "tab",
|
|
8078
|
-
target: "32",
|
|
8079
|
-
// AdminTab.WhatsNewModals
|
|
8080
|
-
keywords: ["whats new", "release notes", "changelog", "updates"],
|
|
8081
|
-
requiresAdmin: true
|
|
8082
|
-
},
|
|
8083
|
-
{
|
|
8084
|
-
id: "admin.rapid_reply",
|
|
8085
|
-
section: "admin",
|
|
8086
|
-
label: "Rapid Reply",
|
|
8087
|
-
description: "Configure rapid reply templates and shortcuts",
|
|
8088
|
-
navigationType: "tab",
|
|
8089
|
-
target: "25",
|
|
8090
|
-
// AdminTab.RapidReply
|
|
8091
|
-
keywords: ["rapid reply", "templates", "shortcuts", "quick responses"],
|
|
8092
|
-
requiresAdmin: true
|
|
8093
|
-
},
|
|
8094
|
-
{
|
|
8095
|
-
id: "admin.slack_workspaces",
|
|
8096
|
-
section: "admin",
|
|
8097
|
-
label: "Slack Workspaces",
|
|
8098
|
-
description: "Manage connected Slack workspace integrations",
|
|
8099
|
-
navigationType: "tab",
|
|
8100
|
-
target: "30",
|
|
8101
|
-
// AdminTab.SlackWorkspaces
|
|
8102
|
-
keywords: ["slack", "workspaces", "integrations", "messaging"],
|
|
8103
|
-
requiresAdmin: true
|
|
8104
|
-
},
|
|
8105
|
-
{
|
|
8106
|
-
id: "admin.secrets_rotation",
|
|
8107
|
-
section: "admin",
|
|
8108
|
-
label: "Secrets Rotation",
|
|
8109
|
-
description: "Manage API key rotation and secret lifecycle",
|
|
8110
|
-
navigationType: "tab",
|
|
8111
|
-
target: "16",
|
|
8112
|
-
// AdminTab.SecretsRotation
|
|
8113
|
-
keywords: ["secrets", "rotation", "API keys", "credentials"],
|
|
8114
|
-
requiresAdmin: true
|
|
8115
|
-
},
|
|
8116
|
-
{
|
|
8117
|
-
id: "admin.bulk_import",
|
|
8118
|
-
section: "admin",
|
|
8119
|
-
label: "Bulk Import",
|
|
8120
|
-
description: "Bulk import users and data from CSV or other formats",
|
|
8121
|
-
navigationType: "tab",
|
|
8122
|
-
target: "17",
|
|
8123
|
-
// AdminTab.BulkImport
|
|
8124
|
-
keywords: ["bulk", "import", "CSV", "migration", "data import"],
|
|
8125
|
-
requiresAdmin: true
|
|
8126
|
-
},
|
|
8127
|
-
{
|
|
8128
|
-
id: "admin.feedbacks",
|
|
8129
|
-
section: "admin",
|
|
8130
|
-
label: "Feedbacks",
|
|
8131
|
-
description: "View and manage user feedback, bug reports, and feature requests",
|
|
8132
|
-
navigationType: "tab",
|
|
8133
|
-
target: "2",
|
|
8134
|
-
// AdminTab.Feedbacks
|
|
8135
|
-
keywords: ["feedback", "bug reports", "feature requests", "user feedback", "complaints"],
|
|
8136
|
-
requiresAdmin: true
|
|
8137
|
-
},
|
|
8138
|
-
{
|
|
8139
|
-
id: "admin.files",
|
|
8140
|
-
section: "admin",
|
|
8141
|
-
label: "Files",
|
|
8142
|
-
description: "Manage uploaded files across all users, storage analytics",
|
|
8143
|
-
navigationType: "tab",
|
|
8144
|
-
target: "8",
|
|
8145
|
-
// AdminTab.Files
|
|
8146
|
-
keywords: ["files", "uploads", "storage", "documents", "file management"],
|
|
8147
|
-
requiresAdmin: true
|
|
8148
|
-
},
|
|
8149
|
-
{
|
|
8150
|
-
id: "admin.documentation",
|
|
8151
|
-
section: "admin",
|
|
8152
|
-
label: "Documentation",
|
|
8153
|
-
description: "System documentation and internal reference guides",
|
|
8154
|
-
navigationType: "tab",
|
|
8155
|
-
target: "9",
|
|
8156
|
-
// AdminTab.Documentation
|
|
8157
|
-
keywords: ["documentation", "docs", "guides", "reference", "help docs"],
|
|
8158
|
-
requiresAdmin: true
|
|
8159
|
-
},
|
|
8160
|
-
{
|
|
8161
|
-
id: "admin.world_time",
|
|
8162
|
-
section: "admin",
|
|
8163
|
-
label: "World Time",
|
|
8164
|
-
description: "View current time across multiple time zones",
|
|
8165
|
-
navigationType: "tab",
|
|
8166
|
-
target: "10",
|
|
8167
|
-
// AdminTab.WorldTime
|
|
8168
|
-
keywords: ["world time", "time zones", "clocks", "UTC", "international time"],
|
|
8169
|
-
requiresAdmin: true
|
|
8170
|
-
},
|
|
8171
|
-
{
|
|
8172
|
-
id: "admin.model_logs",
|
|
8173
|
-
section: "admin",
|
|
8174
|
-
label: "Model Logs",
|
|
8175
|
-
description: "View LLM model request/response logs and debugging information",
|
|
8176
|
-
navigationType: "tab",
|
|
8177
|
-
target: "18",
|
|
8178
|
-
// AdminTab.ModelLogs
|
|
8179
|
-
keywords: ["model logs", "LLM logs", "request logs", "debugging", "API logs"],
|
|
8180
|
-
requiresAdmin: true
|
|
8181
|
-
},
|
|
8182
|
-
{
|
|
8183
|
-
id: "admin.model_metrics",
|
|
8184
|
-
section: "admin",
|
|
8185
|
-
label: "Model Metrics",
|
|
8186
|
-
description: "LLM model performance metrics, latency, and usage statistics",
|
|
8187
|
-
navigationType: "tab",
|
|
8188
|
-
target: "19",
|
|
8189
|
-
// AdminTab.ModelMetrics
|
|
8190
|
-
keywords: ["model metrics", "performance", "latency", "tokens", "model usage"],
|
|
8191
|
-
requiresAdmin: true
|
|
8192
|
-
},
|
|
8193
|
-
{
|
|
8194
|
-
id: "admin.event_metrics",
|
|
8195
|
-
section: "admin",
|
|
8196
|
-
label: "Event Metrics",
|
|
8197
|
-
description: "Track system events, user activity events, and event analytics",
|
|
8198
|
-
navigationType: "tab",
|
|
8199
|
-
target: "20",
|
|
8200
|
-
// AdminTab.EventMetrics
|
|
8201
|
-
keywords: ["event metrics", "events", "activity tracking", "event analytics"],
|
|
8202
|
-
requiresAdmin: true
|
|
8203
|
-
},
|
|
8204
|
-
{
|
|
8205
|
-
id: "admin.identity_providers",
|
|
8206
|
-
section: "admin",
|
|
8207
|
-
label: "Identity Providers",
|
|
8208
|
-
description: "Configure SSO, SAML, and identity provider integrations",
|
|
8209
|
-
navigationType: "tab",
|
|
8210
|
-
target: "22",
|
|
8211
|
-
// AdminTab.IdentityProviders
|
|
8212
|
-
keywords: ["identity", "SSO", "SAML", "providers", "authentication", "login providers"],
|
|
8213
|
-
requiresAdmin: true
|
|
8214
|
-
},
|
|
8215
|
-
{
|
|
8216
|
-
id: "admin.email_verification",
|
|
8217
|
-
section: "admin",
|
|
8218
|
-
label: "Email Verification",
|
|
8219
|
-
description: "Manage email verification status and send verification emails",
|
|
8220
|
-
navigationType: "tab",
|
|
8221
|
-
target: "27",
|
|
8222
|
-
// AdminTab.EmailVerification
|
|
8223
|
-
keywords: ["email", "verification", "verify email", "email status"],
|
|
8224
|
-
requiresAdmin: true
|
|
8225
|
-
},
|
|
8226
|
-
{
|
|
8227
|
-
id: "admin.team",
|
|
8228
|
-
section: "admin",
|
|
8229
|
-
label: "Team",
|
|
8230
|
-
description: "Manage team members, roles, and team settings",
|
|
8231
|
-
navigationType: "tab",
|
|
8232
|
-
target: "28",
|
|
8233
|
-
// AdminTab.Team
|
|
8234
|
-
keywords: ["team", "members", "roles", "team management", "staff"],
|
|
8235
|
-
requiresAdmin: true
|
|
8236
|
-
},
|
|
8237
|
-
{
|
|
8238
|
-
id: "admin.slack_metrics",
|
|
8239
|
-
section: "admin",
|
|
8240
|
-
label: "Slack Metrics",
|
|
8241
|
-
description: "Slack integration usage metrics and message analytics",
|
|
8242
|
-
navigationType: "tab",
|
|
8243
|
-
target: "33",
|
|
8244
|
-
// AdminTab.SlackMetrics
|
|
8245
|
-
keywords: ["slack metrics", "slack usage", "message analytics", "slack stats"],
|
|
8246
|
-
requiresAdmin: true
|
|
8247
|
-
},
|
|
8248
|
-
{
|
|
8249
|
-
id: "admin.system_secrets",
|
|
8250
|
-
section: "admin",
|
|
8251
|
-
label: "System Secrets",
|
|
8252
|
-
description: "View and manage system-level secrets and environment variables",
|
|
8253
|
-
navigationType: "tab",
|
|
8254
|
-
target: "34",
|
|
8255
|
-
// AdminTab.SystemSecrets
|
|
8256
|
-
keywords: ["system secrets", "environment variables", "env vars", "secrets", "configuration"],
|
|
8257
|
-
requiresAdmin: true
|
|
8258
|
-
},
|
|
8259
|
-
{
|
|
8260
|
-
id: "admin.liveops_triage",
|
|
8261
|
-
section: "admin",
|
|
8262
|
-
label: "LiveOps Triage",
|
|
8263
|
-
description: "Real-time error triage, production issue monitoring, and incident response",
|
|
8264
|
-
navigationType: "tab",
|
|
8265
|
-
target: "35",
|
|
8266
|
-
// AdminTab.LiveOpsTriage
|
|
8267
|
-
keywords: ["liveops", "triage", "errors", "incidents", "production issues", "monitoring"],
|
|
8268
|
-
requiresAdmin: true
|
|
8269
|
-
},
|
|
8270
|
-
// ── Global ─────────────────────────────────────────────────────────────
|
|
8271
|
-
{
|
|
8272
|
-
id: "global.chat",
|
|
8273
|
-
section: "global",
|
|
8274
|
-
label: "Chat",
|
|
8275
|
-
description: "Main AI chat interface for conversations",
|
|
8276
|
-
navigationType: "route",
|
|
8277
|
-
target: "/",
|
|
8278
|
-
keywords: ["chat", "conversation", "talk", "message", "ask"]
|
|
8279
|
-
},
|
|
8280
|
-
{
|
|
8281
|
-
id: "global.projects",
|
|
8282
|
-
section: "global",
|
|
8283
|
-
label: "Projects",
|
|
8284
|
-
description: "View and manage projects and workspaces",
|
|
8285
|
-
navigationType: "route",
|
|
8286
|
-
target: "/projects",
|
|
8287
|
-
keywords: ["projects", "workspaces", "organize", "folders"]
|
|
8288
|
-
},
|
|
8289
|
-
{
|
|
8290
|
-
id: "global.agents",
|
|
8291
|
-
section: "global",
|
|
8292
|
-
label: "Agents",
|
|
8293
|
-
description: "Browse and configure AI agents",
|
|
8294
|
-
navigationType: "route",
|
|
8295
|
-
target: "/agents",
|
|
8296
|
-
keywords: ["agents", "AI assistants", "bots", "configure agents"]
|
|
8297
|
-
},
|
|
8298
|
-
{
|
|
8299
|
-
id: "global.profile",
|
|
8300
|
-
section: "global",
|
|
8301
|
-
label: "Profile",
|
|
8302
|
-
description: "User profile settings and preferences",
|
|
8303
|
-
navigationType: "route",
|
|
8304
|
-
target: "/profile",
|
|
8305
|
-
keywords: ["profile", "account", "preferences", "personal settings"]
|
|
8306
|
-
},
|
|
8307
|
-
{
|
|
8308
|
-
id: "global.profile_security",
|
|
8309
|
-
section: "global",
|
|
8310
|
-
label: "Security Settings",
|
|
8311
|
-
description: "MFA, password, and security settings for your account",
|
|
8312
|
-
navigationType: "route",
|
|
8313
|
-
target: "/profile/security",
|
|
8314
|
-
keywords: ["security", "MFA", "password", "two-factor", "2FA"]
|
|
8315
|
-
},
|
|
8316
|
-
{
|
|
8317
|
-
id: "global.profile_api_keys",
|
|
8318
|
-
section: "global",
|
|
8319
|
-
label: "API Keys",
|
|
8320
|
-
description: "Manage your personal API keys for integrations",
|
|
8321
|
-
navigationType: "route",
|
|
8322
|
-
target: "/profile/api-keys",
|
|
8323
|
-
keywords: ["API keys", "tokens", "integrations", "developer"]
|
|
8324
|
-
},
|
|
8325
|
-
{
|
|
8326
|
-
id: "global.admin",
|
|
8327
|
-
section: "global",
|
|
8328
|
-
label: "Admin Panel",
|
|
8329
|
-
description: "Admin dashboard for system management",
|
|
8330
|
-
navigationType: "route",
|
|
8331
|
-
target: "/admin",
|
|
8332
|
-
keywords: ["admin", "dashboard", "management", "administration"],
|
|
8333
|
-
requiresAdmin: true
|
|
8334
|
-
},
|
|
8335
|
-
{
|
|
8336
|
-
id: "global.help",
|
|
8337
|
-
section: "global",
|
|
8338
|
-
label: "Help",
|
|
8339
|
-
description: "Help documentation and support resources",
|
|
8340
|
-
navigationType: "route",
|
|
8341
|
-
target: "/help",
|
|
8342
|
-
keywords: ["help", "support", "documentation", "FAQ", "guide"]
|
|
8343
|
-
},
|
|
8344
|
-
{
|
|
8345
|
-
id: "global.knowledge_base",
|
|
8346
|
-
section: "global",
|
|
8347
|
-
label: "Knowledge Base",
|
|
8348
|
-
description: "Browse uploaded files and documents in your knowledge base",
|
|
8349
|
-
navigationType: "route",
|
|
8350
|
-
target: "/knowledge",
|
|
8351
|
-
keywords: ["knowledge", "files", "documents", "uploads", "library"]
|
|
8352
|
-
},
|
|
8353
|
-
{
|
|
8354
|
-
id: "global.settings",
|
|
8355
|
-
section: "global",
|
|
8356
|
-
label: "Settings",
|
|
8357
|
-
description: "Application settings and preferences",
|
|
8358
|
-
navigationType: "route",
|
|
8359
|
-
target: "/settings",
|
|
8360
|
-
keywords: ["settings", "preferences", "configuration", "options"]
|
|
8361
|
-
}
|
|
8362
|
-
];
|
|
8363
|
-
function getViewById(viewId) {
|
|
8364
|
-
return VIEW_REGISTRY.find((v) => v.id === viewId);
|
|
8365
|
-
}
|
|
8366
|
-
function getFilteredViews(options) {
|
|
8367
|
-
return VIEW_REGISTRY.filter((v) => {
|
|
8368
|
-
if (options?.section && v.section !== options.section)
|
|
8369
|
-
return false;
|
|
8370
|
-
if (v.requiresAdmin && !options?.isAdmin)
|
|
8371
|
-
return false;
|
|
8372
|
-
return true;
|
|
8373
|
-
});
|
|
8374
|
-
}
|
|
8375
|
-
function getViewSummaryForLLM(options) {
|
|
8376
|
-
const views = getFilteredViews(options);
|
|
8377
|
-
const grouped = {};
|
|
8378
|
-
for (const v of views) {
|
|
8379
|
-
const key = v.section.toUpperCase();
|
|
8380
|
-
if (!grouped[key])
|
|
8381
|
-
grouped[key] = [];
|
|
8382
|
-
grouped[key].push(`- ${v.id}: ${v.label} \u2014 ${v.description}`);
|
|
8383
|
-
}
|
|
8384
|
-
const sections = Object.entries(grouped).map(([section, lines]) => `[${section}]
|
|
8385
|
-
${lines.join("\n")}`).join("\n\n");
|
|
8386
|
-
return [
|
|
8387
|
-
"# MANDATORY: navigate_view Tool Usage",
|
|
8388
|
-
"",
|
|
8389
|
-
"You have a navigate_view tool that renders clickable navigation buttons in your response.",
|
|
8390
|
-
"",
|
|
8391
|
-
"RULE: If your response mentions or relates to ANY view listed below, you MUST call the navigate_view tool.",
|
|
8392
|
-
"Do NOT just mention a view in text \u2014 you MUST also call the tool so the user sees a clickable button.",
|
|
8393
|
-
"Call navigate_view AND write your text answer. Both. Every time.",
|
|
8394
|
-
"",
|
|
8395
|
-
"Example \u2014 if the user asks about scheduling:",
|
|
8396
|
-
'1. Call navigate_view with suggestions: [{viewId: "opti.scheduling", reason: "Try scheduling algorithms here"}]',
|
|
8397
|
-
"2. AND write your text answer about scheduling",
|
|
8398
|
-
"",
|
|
8399
|
-
"Example \u2014 if the user asks about user management:",
|
|
8400
|
-
'1. Call navigate_view with suggestions: [{viewId: "admin.users", reason: "Manage user accounts"}]',
|
|
8401
|
-
"2. AND write your text answer about user management",
|
|
8402
|
-
"",
|
|
8403
|
-
sections
|
|
8404
|
-
].join("\n");
|
|
8405
|
-
}
|
|
8406
|
-
function resolveNavigationIntents(suggestions, isAdmin) {
|
|
8407
|
-
return suggestions.map((s) => {
|
|
8408
|
-
const view = getViewById(s.viewId);
|
|
8409
|
-
if (!view)
|
|
8410
|
-
return null;
|
|
8411
|
-
if (view.requiresAdmin && !isAdmin)
|
|
8412
|
-
return null;
|
|
8413
|
-
return {
|
|
8414
|
-
viewId: view.id,
|
|
8415
|
-
label: view.label,
|
|
8416
|
-
description: view.description,
|
|
8417
|
-
navigationType: view.navigationType,
|
|
8418
|
-
target: view.target,
|
|
8419
|
-
reason: s.reason
|
|
8420
|
-
};
|
|
8421
|
-
}).filter((intent) => intent !== null);
|
|
8422
|
-
}
|
|
8423
|
-
|
|
8424
7862
|
// ../../b4m-core/packages/common/dist/src/utils/dayjsConfig.js
|
|
8425
7863
|
import dayjs from "dayjs";
|
|
8426
7864
|
import timezone from "dayjs/plugin/timezone.js";
|
|
@@ -8547,6 +7985,8 @@ export {
|
|
|
8547
7985
|
DataUnsubscribeRequestAction,
|
|
8548
7986
|
HeartbeatAction,
|
|
8549
7987
|
VoiceSessionSendTranscriptAction,
|
|
7988
|
+
CliCompletionRequestAction,
|
|
7989
|
+
CliToolRequestAction,
|
|
8550
7990
|
VoiceSessionEndedAction,
|
|
8551
7991
|
DataSubscriptionUpdateAction,
|
|
8552
7992
|
LLMStatusUpdateAction,
|
|
@@ -8567,6 +8007,10 @@ export {
|
|
|
8567
8007
|
UpdateResearchTaskStatusAction,
|
|
8568
8008
|
ImportHistoryJobProgressUpdateAction,
|
|
8569
8009
|
ResearchModeStreamAction,
|
|
8010
|
+
CliCompletionChunkAction,
|
|
8011
|
+
CliCompletionDoneAction,
|
|
8012
|
+
CliCompletionErrorAction,
|
|
8013
|
+
CliToolResponseAction,
|
|
8570
8014
|
SessionCreatedAction,
|
|
8571
8015
|
MessageDataToServer,
|
|
8572
8016
|
MessageDataToClient,
|
|
@@ -8773,10 +8217,5 @@ export {
|
|
|
8773
8217
|
formatSSEError,
|
|
8774
8218
|
serializeSSEEvent,
|
|
8775
8219
|
SSE_DONE_SIGNAL,
|
|
8776
|
-
VIEW_REGISTRY,
|
|
8777
|
-
getViewById,
|
|
8778
|
-
getFilteredViews,
|
|
8779
|
-
getViewSummaryForLLM,
|
|
8780
|
-
resolveNavigationIntents,
|
|
8781
8220
|
dayjsConfig_default
|
|
8782
8221
|
};
|