@datalayer/agent-runtimes 1.0.4 → 1.0.6
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/README.md +182 -1
- package/lib/AgentNode.d.ts +3 -0
- package/lib/AgentNode.js +676 -0
- package/lib/App.js +1 -1
- package/lib/agent-node/themeStore.d.ts +3 -0
- package/lib/agent-node/themeStore.js +156 -0
- package/lib/agent-node-main.d.ts +1 -0
- package/lib/agent-node-main.js +14 -0
- package/lib/agents/AgentDetails.d.ts +22 -1
- package/lib/agents/AgentDetails.js +34 -47
- package/lib/api/index.d.ts +0 -1
- package/lib/api/index.js +4 -2
- package/lib/chat/Chat.d.ts +5 -106
- package/lib/chat/Chat.js +20 -14
- package/lib/chat/ChatFloating.d.ts +7 -140
- package/lib/chat/ChatFloating.js +3 -3
- package/lib/chat/ChatPopupStandalone.d.ts +8 -47
- package/lib/chat/ChatPopupStandalone.js +3 -3
- package/lib/chat/ChatSidebar.d.ts +4 -69
- package/lib/chat/ChatSidebar.js +83 -51
- package/lib/chat/ChatStandalone.d.ts +4 -54
- package/lib/chat/ChatStandalone.js +3 -3
- package/lib/chat/base/ChatBase.js +1414 -174
- package/lib/chat/display/FloatingBrandButton.js +8 -1
- package/lib/chat/header/ChatHeader.d.ts +3 -1
- package/lib/chat/header/ChatHeader.js +15 -12
- package/lib/chat/header/ChatHeaderBase.d.ts +30 -5
- package/lib/chat/header/ChatHeaderBase.js +41 -16
- package/lib/chat/indicators/McpStatusIndicator.d.ts +7 -4
- package/lib/chat/indicators/McpStatusIndicator.js +7 -32
- package/lib/chat/indicators/SandboxStatusIndicator.d.ts +4 -1
- package/lib/chat/indicators/SandboxStatusIndicator.js +91 -56
- package/lib/chat/indicators/SkillsStatusIndicator.d.ts +7 -0
- package/lib/chat/indicators/SkillsStatusIndicator.js +88 -0
- package/lib/chat/indicators/index.d.ts +1 -0
- package/lib/chat/indicators/index.js +1 -0
- package/lib/chat/messages/ChatMessageList.d.ts +1 -1
- package/lib/chat/messages/ChatMessageList.js +154 -114
- package/lib/chat/messages/ChatMessages.js +6 -2
- package/lib/chat/prompt/InputFooter.d.ts +21 -6
- package/lib/chat/prompt/InputFooter.js +76 -20
- package/lib/chat/prompt/InputPrompt.d.ts +5 -1
- package/lib/chat/prompt/InputPrompt.js +4 -4
- package/lib/chat/prompt/InputPromptFooter.d.ts +3 -1
- package/lib/chat/prompt/InputPromptFooter.js +3 -3
- package/lib/chat/prompt/InputPromptLexical.d.ts +3 -1
- package/lib/chat/prompt/InputPromptLexical.js +12 -5
- package/lib/chat/prompt/InputPromptText.d.ts +3 -1
- package/lib/chat/prompt/InputPromptText.js +2 -2
- package/lib/chat/tools/ToolApprovalBanner.js +1 -1
- package/lib/chat/tools/ToolCallDisplay.d.ts +3 -1
- package/lib/chat/tools/ToolCallDisplay.js +2 -2
- package/lib/chat/usage/TokenUsageBar.js +20 -2
- package/lib/client/AgentRuntimesClientContext.d.ts +53 -0
- package/lib/client/AgentRuntimesClientContext.js +55 -0
- package/lib/client/AgentsMixin.d.ts +0 -18
- package/lib/client/AgentsMixin.js +20 -30
- package/lib/client/IAgentRuntimesClient.d.ts +215 -0
- package/lib/client/IAgentRuntimesClient.js +5 -0
- package/lib/client/SdkAgentRuntimesClient.d.ts +151 -0
- package/lib/client/SdkAgentRuntimesClient.js +134 -0
- package/lib/client/index.d.ts +4 -1
- package/lib/client/index.js +3 -1
- package/lib/components/NotificationEventCard.js +5 -1
- package/lib/config/AgentConfiguration.d.ts +22 -0
- package/lib/config/AgentConfiguration.js +319 -64
- package/lib/context/ContextDistribution.d.ts +3 -1
- package/lib/context/ContextDistribution.js +8 -27
- package/lib/context/ContextInspector.d.ts +3 -1
- package/lib/context/ContextInspector.js +19 -67
- package/lib/context/ContextPanel.d.ts +3 -1
- package/lib/context/ContextPanel.js +104 -64
- package/lib/context/ContextUsage.d.ts +3 -1
- package/lib/context/ContextUsage.js +3 -3
- package/lib/context/CostTracker.d.ts +9 -3
- package/lib/context/CostTracker.js +26 -47
- package/lib/context/CostUsageChart.d.ts +12 -0
- package/lib/context/CostUsageChart.js +378 -0
- package/lib/context/GraphFlowChart.d.ts +16 -0
- package/lib/context/GraphFlowChart.js +182 -0
- package/lib/context/TokenUsageChart.d.ts +8 -1
- package/lib/context/TokenUsageChart.js +349 -211
- package/lib/context/TurnGraphChart.d.ts +39 -0
- package/lib/context/TurnGraphChart.js +538 -0
- package/lib/context/otelWsPool.d.ts +20 -0
- package/lib/context/otelWsPool.js +69 -0
- package/lib/examples/A2UiComponentGalleryExample.d.ts +0 -17
- package/lib/examples/A2UiComponentGalleryExample.js +315 -522
- package/lib/examples/A2UiContactCardExample.d.ts +0 -18
- package/lib/examples/A2UiContactCardExample.js +154 -411
- package/lib/examples/A2UiRestaurantExample.d.ts +0 -30
- package/lib/examples/A2UiRestaurantExample.js +114 -212
- package/lib/examples/A2UiViewerExample.d.ts +0 -18
- package/lib/examples/A2UiViewerExample.js +283 -532
- package/lib/examples/AgUiBackendToolRenderingExample.js +1 -1
- package/lib/examples/AgUiHaikuGenUiExample.d.ts +1 -1
- package/lib/examples/AgUiHaikuGenUiExample.js +1 -1
- package/lib/examples/AgUiSharedStateExample.js +2 -1
- package/lib/examples/AgentCheckpointsExample.js +14 -28
- package/lib/examples/AgentCodemodeExample.d.ts +4 -6
- package/lib/examples/AgentCodemodeExample.js +603 -169
- package/lib/examples/AgentEvalsExample.js +339 -53
- package/lib/examples/AgentGuardrailsExample.js +383 -66
- package/lib/examples/AgentHooksExample.d.ts +3 -0
- package/lib/examples/AgentHooksExample.js +122 -0
- package/lib/examples/AgentInferenceProviderExample.d.ts +3 -0
- package/lib/examples/AgentInferenceProviderExample.js +329 -0
- package/lib/examples/AgentMCPExample.d.ts +3 -0
- package/lib/examples/AgentMCPExample.js +481 -0
- package/lib/examples/AgentMemoryExample.d.ts +1 -2
- package/lib/examples/AgentMemoryExample.js +78 -33
- package/lib/examples/AgentMonitoringExample.js +261 -200
- package/lib/examples/AgentNotificationsExample.d.ts +1 -2
- package/lib/examples/AgentNotificationsExample.js +114 -33
- package/lib/examples/AgentOtelExample.js +32 -42
- package/lib/examples/AgentOutputsExample.d.ts +11 -6
- package/lib/examples/AgentOutputsExample.js +433 -81
- package/lib/examples/AgentParametersExample.d.ts +3 -0
- package/lib/examples/AgentParametersExample.js +248 -0
- package/lib/examples/AgentSandboxExample.d.ts +3 -3
- package/lib/examples/AgentSandboxExample.js +74 -45
- package/lib/examples/AgentSkillsExample.js +95 -103
- package/lib/examples/AgentSubagentsExample.d.ts +14 -0
- package/lib/examples/AgentSubagentsExample.js +228 -0
- package/lib/examples/AgentToolApprovalsExample.js +49 -561
- package/lib/examples/AgentTriggersExample.js +823 -569
- package/lib/examples/{AgentspecExample.d.ts → AgentspecsExample.d.ts} +2 -2
- package/lib/examples/AgentspecsExample.js +1096 -0
- package/lib/examples/ChatCustomExample.js +16 -28
- package/lib/examples/ChatExample.js +13 -29
- package/lib/examples/CopilotKitLexicalExample.js +2 -1
- package/lib/examples/CopilotKitNotebookExample.js +2 -1
- package/lib/examples/HomeExample.d.ts +15 -0
- package/lib/examples/HomeExample.js +77 -0
- package/lib/examples/Lexical2Example.js +4 -2
- package/lib/examples/{LexicalExample.d.ts → LexicalAgentExample.d.ts} +4 -4
- package/lib/examples/{LexicalExample.js → LexicalAgentExample.js} +66 -17
- package/lib/examples/{LexicalSidebarExample.d.ts → LexicalAgentSidebarExample.d.ts} +5 -5
- package/lib/examples/LexicalAgentSidebarExample.js +261 -0
- package/lib/examples/NotebookAgentExample.d.ts +9 -0
- package/lib/examples/NotebookAgentExample.js +192 -0
- package/lib/examples/{NotebookSidebarExample.d.ts → NotebookAgentSidebarExample.d.ts} +2 -2
- package/lib/examples/NotebookAgentSidebarExample.js +221 -0
- package/lib/examples/{DatalayerNotebookExample.d.ts → NotebookCollaborationExample.d.ts} +4 -4
- package/lib/examples/{DatalayerNotebookExample.js → NotebookCollaborationExample.js} +3 -3
- package/lib/examples/NotebookExample.d.ts +4 -7
- package/lib/examples/NotebookExample.js +14 -146
- package/lib/examples/components/AuthRequiredView.d.ts +6 -0
- package/lib/examples/components/AuthRequiredView.js +33 -0
- package/lib/examples/components/ExampleWrapper.d.ts +9 -3
- package/lib/examples/components/ExampleWrapper.js +45 -9
- package/lib/examples/{ag-ui → components}/haiku/HaikuDisplay.js +1 -1
- package/lib/examples/{ag-ui → components}/haiku/InlineHaikuCard.js +1 -1
- package/lib/examples/{ag-ui → components}/haiku/index.d.ts +1 -1
- package/lib/examples/{ag-ui → components}/haiku/index.js +1 -1
- package/lib/examples/components/index.d.ts +3 -0
- package/lib/examples/components/index.js +4 -0
- package/lib/examples/{ag-ui → components}/weather/index.d.ts +1 -1
- package/lib/examples/{ag-ui → components}/weather/index.js +1 -1
- package/lib/examples/example-selector.d.ts +17 -4
- package/lib/examples/example-selector.js +108 -41
- package/lib/examples/index.d.ts +10 -6
- package/lib/examples/index.js +10 -6
- package/lib/examples/lexical/initial-content.json +6 -6
- package/lib/examples/main.js +257 -27
- package/lib/examples/utils/a2ui.d.ts +18 -0
- package/lib/examples/utils/a2ui.js +69 -0
- package/lib/examples/utils/a2uiMarkdownProvider.d.ts +7 -0
- package/lib/examples/utils/a2uiMarkdownProvider.js +9 -0
- package/lib/examples/utils/agentId.d.ts +18 -0
- package/lib/examples/utils/agentId.js +54 -0
- package/lib/examples/utils/agents/earthquake-detector.json +11 -11
- package/lib/examples/utils/agents/sales-forecaster.json +11 -11
- package/lib/examples/utils/agents/social-post-generator.json +11 -11
- package/lib/examples/utils/agents/stock-market.json +11 -11
- package/lib/examples/utils/examplesStore.js +82 -27
- package/lib/examples/utils/useExampleAgentRuntimesUrl.d.ts +5 -0
- package/lib/examples/utils/useExampleAgentRuntimesUrl.js +19 -0
- package/lib/hooks/index.d.ts +8 -8
- package/lib/hooks/index.js +7 -7
- package/lib/hooks/useA2A.d.ts +2 -3
- package/lib/hooks/useAIAgentsWebSocket.d.ts +43 -4
- package/lib/hooks/useAIAgentsWebSocket.js +153 -12
- package/lib/hooks/useAcp.d.ts +1 -2
- package/lib/hooks/useAgUi.d.ts +1 -1
- package/lib/hooks/{useAgents.d.ts → useAgentRuntimes.d.ts} +70 -4
- package/lib/hooks/{useAgents.js → useAgentRuntimes.js} +237 -32
- package/lib/hooks/useAgentsCatalog.js +1 -1
- package/lib/hooks/useAgentsService.d.ts +2 -2
- package/lib/hooks/useAgentsService.js +7 -7
- package/lib/hooks/useCheckpoints.js +1 -1
- package/lib/hooks/useConfig.d.ts +4 -1
- package/lib/hooks/useConfig.js +10 -3
- package/lib/hooks/useContextSnapshot.d.ts +9 -4
- package/lib/hooks/useContextSnapshot.js +9 -37
- package/lib/hooks/useMonitoring.js +3 -0
- package/lib/hooks/useSandbox.d.ts +20 -8
- package/lib/hooks/useSandbox.js +105 -40
- package/lib/hooks/useSkills.d.ts +23 -5
- package/lib/hooks/useSkills.js +94 -39
- package/lib/hooks/useToolApprovals.d.ts +60 -36
- package/lib/hooks/useToolApprovals.js +318 -69
- package/lib/hooks/useVercelAI.d.ts +1 -1
- package/lib/index.d.ts +2 -1
- package/lib/index.js +1 -0
- package/lib/inference/index.d.ts +0 -1
- package/lib/middleware/index.d.ts +0 -1
- package/lib/protocols/AGUIAdapter.js +6 -0
- package/lib/protocols/VercelAIAdapter.d.ts +7 -0
- package/lib/protocols/VercelAIAdapter.js +59 -7
- package/lib/specs/agents/agents.d.ts +21 -4
- package/lib/specs/agents/agents.js +2879 -316
- package/lib/specs/agents/index.js +3 -1
- package/lib/specs/benchmarks.d.ts +20 -0
- package/lib/specs/benchmarks.js +205 -0
- package/lib/specs/envvars.js +27 -20
- package/lib/specs/evals.d.ts +10 -9
- package/lib/specs/evals.js +128 -88
- package/lib/specs/events.d.ts +3 -10
- package/lib/specs/events.js +127 -84
- package/lib/specs/frontendTools.js +2 -2
- package/lib/specs/guardrails.d.ts +0 -7
- package/lib/specs/guardrails.js +240 -159
- package/lib/specs/mcpServers.js +35 -6
- package/lib/specs/memory.d.ts +0 -2
- package/lib/specs/memory.js +4 -17
- package/lib/specs/models.d.ts +0 -2
- package/lib/specs/models.js +20 -15
- package/lib/specs/notifications.js +102 -18
- package/lib/specs/outputs.js +15 -9
- package/lib/specs/personas.d.ts +41 -0
- package/lib/specs/personas.js +168 -0
- package/lib/specs/skills.d.ts +1 -1
- package/lib/specs/skills.js +23 -23
- package/lib/specs/teams/index.js +3 -1
- package/lib/specs/teams/teams.js +468 -348
- package/lib/specs/tools.js +4 -4
- package/lib/specs/triggers.js +61 -11
- package/lib/stores/agentRuntimeStore.d.ts +208 -0
- package/lib/stores/agentRuntimeStore.js +650 -0
- package/lib/stores/conversationStore.js +2 -2
- package/lib/stores/index.d.ts +1 -1
- package/lib/stores/index.js +1 -1
- package/lib/tools/adapters/copilotkit/lexicalHooks.d.ts +1 -2
- package/lib/tools/adapters/copilotkit/lexicalHooks.js +1 -3
- package/lib/tools/adapters/copilotkit/notebookHooks.d.ts +1 -2
- package/lib/tools/adapters/copilotkit/notebookHooks.js +1 -3
- package/lib/tools/index.d.ts +0 -2
- package/lib/tools/index.js +0 -1
- package/lib/types/agents-lifecycle.d.ts +18 -0
- package/lib/types/agents.d.ts +6 -0
- package/lib/types/agentspecs.d.ts +54 -1
- package/lib/types/benchmarks.d.ts +43 -0
- package/lib/types/benchmarks.js +5 -0
- package/lib/types/chat.d.ts +325 -8
- package/lib/types/context.d.ts +27 -0
- package/lib/types/cost.d.ts +2 -2
- package/lib/types/evals.d.ts +26 -17
- package/lib/types/index.d.ts +3 -0
- package/lib/types/index.js +3 -0
- package/lib/types/mcp.d.ts +8 -0
- package/lib/types/models.d.ts +2 -2
- package/lib/types/personas.d.ts +25 -0
- package/lib/types/personas.js +5 -0
- package/lib/types/skills.d.ts +43 -1
- package/lib/types/stream.d.ts +110 -0
- package/lib/types/stream.js +36 -0
- package/lib/utils/utils.d.ts +9 -5
- package/lib/utils/utils.js +9 -5
- package/package.json +19 -11
- package/scripts/codegen/__pycache__/generate_agents.cpython-313.pyc +0 -0
- package/scripts/codegen/__pycache__/generate_benchmarks.cpython-313.pyc +0 -0
- package/scripts/codegen/__pycache__/generate_evals.cpython-313.pyc +0 -0
- package/scripts/codegen/__pycache__/generate_events.cpython-313.pyc +0 -0
- package/scripts/codegen/__pycache__/versioning.cpython-313.pyc +0 -0
- package/scripts/codegen/generate_agents.py +187 -45
- package/scripts/codegen/generate_benchmarks.py +441 -0
- package/scripts/codegen/generate_evals.py +94 -16
- package/scripts/codegen/generate_events.py +35 -14
- package/scripts/codegen/generate_personas.py +319 -0
- package/scripts/codegen/generate_skills.py +9 -9
- package/scripts/sync-jupyter.sh +26 -7
- package/lib/api/tool-approvals.d.ts +0 -62
- package/lib/api/tool-approvals.js +0 -145
- package/lib/examples/AgentspecExample.js +0 -705
- package/lib/examples/LexicalSidebarExample.js +0 -163
- package/lib/examples/NotebookSidebarExample.js +0 -119
- package/lib/examples/NotebookSimpleExample.d.ts +0 -6
- package/lib/examples/NotebookSimpleExample.js +0 -22
- package/lib/examples/ag-ui/index.d.ts +0 -10
- package/lib/examples/ag-ui/index.js +0 -16
- package/lib/hooks/useAgentsRegistry.d.ts +0 -10
- package/lib/hooks/useAgentsRegistry.js +0 -20
- package/lib/stores/agentsStore.d.ts +0 -123
- package/lib/stores/agentsStore.js +0 -270
- /package/lib/examples/{ag-ui → components}/haiku/HaikuDisplay.d.ts +0 -0
- /package/lib/examples/{ag-ui → components}/haiku/InlineHaikuCard.d.ts +0 -0
- /package/lib/examples/{ag-ui → components}/weather/InlineWeatherCard.d.ts +0 -0
- /package/lib/examples/{ag-ui → components}/weather/InlineWeatherCard.js +0 -0
package/lib/specs/guardrails.js
CHANGED
|
@@ -5,40 +5,6 @@
|
|
|
5
5
|
// ============================================================================
|
|
6
6
|
// Guardrail Definitions
|
|
7
7
|
// ============================================================================
|
|
8
|
-
export const ASYNC_GUARDRAIL_POLICY_GUARDRAIL_SPEC_0_0_1 = {
|
|
9
|
-
id: 'async-guardrail-policy',
|
|
10
|
-
version: '0.0.1',
|
|
11
|
-
name: 'Async Guardrail Policy',
|
|
12
|
-
description: 'Runs policy checks concurrently with model generation for lower latency and fail-fast blocking on unsafe prompts.',
|
|
13
|
-
identity_provider: 'datalayer',
|
|
14
|
-
identity_name: 'policy-bot@acme.com',
|
|
15
|
-
permissions: {
|
|
16
|
-
'read:data': true,
|
|
17
|
-
'write:data': false,
|
|
18
|
-
'execute:code': false,
|
|
19
|
-
'access:internet': false,
|
|
20
|
-
'send:email': false,
|
|
21
|
-
'deploy:production': false,
|
|
22
|
-
},
|
|
23
|
-
token_limits: { per_run: '20K', per_day: '200K', per_month: '2M' },
|
|
24
|
-
};
|
|
25
|
-
export const BLOCKED_KEYWORDS_INTERNAL_GUARDRAIL_SPEC_0_0_1 = {
|
|
26
|
-
id: 'blocked-keywords-internal',
|
|
27
|
-
version: '0.0.1',
|
|
28
|
-
name: 'Blocked Keywords Internal',
|
|
29
|
-
description: 'Blocks sensitive internal terms and accidental credential patterns in prompts.',
|
|
30
|
-
identity_provider: 'datalayer',
|
|
31
|
-
identity_name: 'internal-bot@acme.com',
|
|
32
|
-
permissions: {
|
|
33
|
-
'read:data': true,
|
|
34
|
-
'write:data': false,
|
|
35
|
-
'execute:code': false,
|
|
36
|
-
'access:internet': false,
|
|
37
|
-
'send:email': false,
|
|
38
|
-
'deploy:production': false,
|
|
39
|
-
},
|
|
40
|
-
token_limits: { per_run: '20K', per_day: '200K', per_month: '2M' },
|
|
41
|
-
};
|
|
42
8
|
export const DATA_ENGINEERING_POWER_USER_GUARDRAIL_SPEC_0_0_1 = {
|
|
43
9
|
id: 'data-engineering-power-user',
|
|
44
10
|
version: '0.0.1',
|
|
@@ -55,12 +21,49 @@ export const DATA_ENGINEERING_POWER_USER_GUARDRAIL_SPEC_0_0_1 = {
|
|
|
55
21
|
'deploy:production': true,
|
|
56
22
|
},
|
|
57
23
|
token_limits: { per_run: '200K', per_day: '5M', per_month: '50M' },
|
|
58
|
-
data_scope: {
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
24
|
+
data_scope: {
|
|
25
|
+
allowed_systems: ['postgresql', 'mongodb', 's3', 'kafka'],
|
|
26
|
+
allowed_objects: [],
|
|
27
|
+
denied_objects: [],
|
|
28
|
+
denied_fields: ['*SSN*', '*Bank*', '*IBAN*'],
|
|
29
|
+
},
|
|
30
|
+
data_handling: {
|
|
31
|
+
default_aggregation: false,
|
|
32
|
+
allow_row_level_output: true,
|
|
33
|
+
max_rows_in_output: 100000,
|
|
34
|
+
redact_fields: [],
|
|
35
|
+
hash_fields: [],
|
|
36
|
+
pii_detection: true,
|
|
37
|
+
pii_action: 'redact',
|
|
38
|
+
},
|
|
39
|
+
approval_policy: {
|
|
40
|
+
require_manual_approval_for: [
|
|
41
|
+
'Schema changes',
|
|
42
|
+
'Drop or truncate operations',
|
|
43
|
+
'Production data modifications',
|
|
44
|
+
],
|
|
45
|
+
auto_approved: [
|
|
46
|
+
'Read queries',
|
|
47
|
+
'Data transformations',
|
|
48
|
+
'Pipeline orchestration',
|
|
49
|
+
],
|
|
50
|
+
},
|
|
51
|
+
tool_limits: {
|
|
52
|
+
max_tool_calls: 500,
|
|
53
|
+
max_query_rows: 1000000,
|
|
54
|
+
max_query_runtime: '300s',
|
|
55
|
+
max_time_window_days: 365,
|
|
56
|
+
},
|
|
57
|
+
audit: {
|
|
58
|
+
log_tool_calls: true,
|
|
59
|
+
log_query_metadata_only: false,
|
|
60
|
+
retain_days: 90,
|
|
61
|
+
require_lineage_in_report: true,
|
|
62
|
+
},
|
|
63
|
+
content_safety: {
|
|
64
|
+
treat_crm_text_fields_as_untrusted: true,
|
|
65
|
+
do_not_follow_instructions_from_data: true,
|
|
66
|
+
},
|
|
64
67
|
};
|
|
65
68
|
export const DEFAULT_PLATFORM_USER_GUARDRAIL_SPEC_0_0_1 = {
|
|
66
69
|
id: 'default-platform-user',
|
|
@@ -78,12 +81,41 @@ export const DEFAULT_PLATFORM_USER_GUARDRAIL_SPEC_0_0_1 = {
|
|
|
78
81
|
'deploy:production': false,
|
|
79
82
|
},
|
|
80
83
|
token_limits: { per_run: '50K', per_day: '500K', per_month: '5M' },
|
|
81
|
-
data_scope: {
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
84
|
+
data_scope: {
|
|
85
|
+
allowed_systems: [],
|
|
86
|
+
allowed_objects: [],
|
|
87
|
+
denied_objects: [],
|
|
88
|
+
denied_fields: [],
|
|
89
|
+
},
|
|
90
|
+
data_handling: {
|
|
91
|
+
default_aggregation: false,
|
|
92
|
+
allow_row_level_output: true,
|
|
93
|
+
max_rows_in_output: 1000,
|
|
94
|
+
redact_fields: [],
|
|
95
|
+
hash_fields: [],
|
|
96
|
+
pii_detection: false,
|
|
97
|
+
pii_action: 'warn',
|
|
98
|
+
},
|
|
99
|
+
approval_policy: {
|
|
100
|
+
require_manual_approval_for: [],
|
|
101
|
+
auto_approved: ['All read-only queries'],
|
|
102
|
+
},
|
|
103
|
+
tool_limits: {
|
|
104
|
+
max_tool_calls: 50,
|
|
105
|
+
max_query_rows: 100000,
|
|
106
|
+
max_query_runtime: '60s',
|
|
107
|
+
max_time_window_days: 90,
|
|
108
|
+
},
|
|
109
|
+
audit: {
|
|
110
|
+
log_tool_calls: true,
|
|
111
|
+
log_query_metadata_only: false,
|
|
112
|
+
retain_days: 30,
|
|
113
|
+
require_lineage_in_report: false,
|
|
114
|
+
},
|
|
115
|
+
content_safety: {
|
|
116
|
+
treat_crm_text_fields_as_untrusted: false,
|
|
117
|
+
do_not_follow_instructions_from_data: true,
|
|
118
|
+
},
|
|
87
119
|
};
|
|
88
120
|
export const GITHUB_ACTIONS_DEPLOY_GUARDRAIL_SPEC_0_0_1 = {
|
|
89
121
|
id: 'github-actions-deploy',
|
|
@@ -101,12 +133,48 @@ export const GITHUB_ACTIONS_DEPLOY_GUARDRAIL_SPEC_0_0_1 = {
|
|
|
101
133
|
'deploy:production': true,
|
|
102
134
|
},
|
|
103
135
|
token_limits: { per_run: '150K', per_day: '3M', per_month: '30M' },
|
|
104
|
-
data_scope: {
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
136
|
+
data_scope: {
|
|
137
|
+
allowed_systems: ['github', 'kubernetes', 'docker', 'terraform'],
|
|
138
|
+
allowed_objects: [],
|
|
139
|
+
denied_objects: [],
|
|
140
|
+
denied_fields: [],
|
|
141
|
+
},
|
|
142
|
+
data_handling: {
|
|
143
|
+
default_aggregation: false,
|
|
144
|
+
allow_row_level_output: true,
|
|
145
|
+
max_rows_in_output: 50000,
|
|
146
|
+
redact_fields: [],
|
|
147
|
+
hash_fields: [],
|
|
148
|
+
pii_detection: false,
|
|
149
|
+
pii_action: 'warn',
|
|
150
|
+
},
|
|
151
|
+
approval_policy: {
|
|
152
|
+
require_manual_approval_for: [
|
|
153
|
+
'Production environment changes',
|
|
154
|
+
'Infrastructure scaling beyond limits',
|
|
155
|
+
],
|
|
156
|
+
auto_approved: [
|
|
157
|
+
'Staging deployments',
|
|
158
|
+
'Test environment operations',
|
|
159
|
+
'Build and package operations',
|
|
160
|
+
],
|
|
161
|
+
},
|
|
162
|
+
tool_limits: {
|
|
163
|
+
max_tool_calls: 300,
|
|
164
|
+
max_query_rows: 500000,
|
|
165
|
+
max_query_runtime: '180s',
|
|
166
|
+
max_time_window_days: 365,
|
|
167
|
+
},
|
|
168
|
+
audit: {
|
|
169
|
+
log_tool_calls: true,
|
|
170
|
+
log_query_metadata_only: false,
|
|
171
|
+
retain_days: 180,
|
|
172
|
+
require_lineage_in_report: true,
|
|
173
|
+
},
|
|
174
|
+
content_safety: {
|
|
175
|
+
treat_crm_text_fields_as_untrusted: false,
|
|
176
|
+
do_not_follow_instructions_from_data: true,
|
|
177
|
+
},
|
|
110
178
|
};
|
|
111
179
|
export const GITHUB_CI_BOT_GUARDRAIL_SPEC_0_0_1 = {
|
|
112
180
|
id: 'github-ci-bot',
|
|
@@ -124,12 +192,48 @@ export const GITHUB_CI_BOT_GUARDRAIL_SPEC_0_0_1 = {
|
|
|
124
192
|
'deploy:production': false,
|
|
125
193
|
},
|
|
126
194
|
token_limits: { per_run: '100K', per_day: '2M', per_month: '20M' },
|
|
127
|
-
data_scope: {
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
195
|
+
data_scope: {
|
|
196
|
+
allowed_systems: ['github', 'npm', 'pypi'],
|
|
197
|
+
allowed_objects: [],
|
|
198
|
+
denied_objects: [],
|
|
199
|
+
denied_fields: [],
|
|
200
|
+
},
|
|
201
|
+
data_handling: {
|
|
202
|
+
default_aggregation: false,
|
|
203
|
+
allow_row_level_output: true,
|
|
204
|
+
max_rows_in_output: 10000,
|
|
205
|
+
redact_fields: [],
|
|
206
|
+
hash_fields: [],
|
|
207
|
+
pii_detection: false,
|
|
208
|
+
pii_action: 'warn',
|
|
209
|
+
},
|
|
210
|
+
approval_policy: {
|
|
211
|
+
require_manual_approval_for: [
|
|
212
|
+
'Any production deployment',
|
|
213
|
+
'Any write to protected branches',
|
|
214
|
+
],
|
|
215
|
+
auto_approved: [
|
|
216
|
+
'Build and test operations',
|
|
217
|
+
'Package installation',
|
|
218
|
+
'Code analysis and linting',
|
|
219
|
+
],
|
|
220
|
+
},
|
|
221
|
+
tool_limits: {
|
|
222
|
+
max_tool_calls: 200,
|
|
223
|
+
max_query_rows: 500000,
|
|
224
|
+
max_query_runtime: '120s',
|
|
225
|
+
max_time_window_days: 365,
|
|
226
|
+
},
|
|
227
|
+
audit: {
|
|
228
|
+
log_tool_calls: true,
|
|
229
|
+
log_query_metadata_only: false,
|
|
230
|
+
retain_days: 90,
|
|
231
|
+
require_lineage_in_report: false,
|
|
232
|
+
},
|
|
233
|
+
content_safety: {
|
|
234
|
+
treat_crm_text_fields_as_untrusted: false,
|
|
235
|
+
do_not_follow_instructions_from_data: true,
|
|
236
|
+
},
|
|
133
237
|
};
|
|
134
238
|
export const GOOGLE_WORKSPACE_AGENT_GUARDRAIL_SPEC_0_0_1 = {
|
|
135
239
|
id: 'google-workspace-agent',
|
|
@@ -147,65 +251,54 @@ export const GOOGLE_WORKSPACE_AGENT_GUARDRAIL_SPEC_0_0_1 = {
|
|
|
147
251
|
'deploy:production': false,
|
|
148
252
|
},
|
|
149
253
|
token_limits: { per_run: '80K', per_day: '1M', per_month: '10M' },
|
|
150
|
-
data_scope: {
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
name: 'No Refusals',
|
|
161
|
-
description: 'Prevents pure refusal responses for fulfillment-oriented internal assistants.',
|
|
162
|
-
identity_provider: 'datalayer',
|
|
163
|
-
identity_name: 'fulfillment-bot@acme.com',
|
|
164
|
-
permissions: {
|
|
165
|
-
'read:data': true,
|
|
166
|
-
'write:data': true,
|
|
167
|
-
'execute:code': true,
|
|
168
|
-
'access:internet': true,
|
|
169
|
-
'send:email': false,
|
|
170
|
-
'deploy:production': false,
|
|
254
|
+
data_scope: {
|
|
255
|
+
allowed_systems: [
|
|
256
|
+
'gmail',
|
|
257
|
+
'google-drive',
|
|
258
|
+
'google-sheets',
|
|
259
|
+
'google-calendar',
|
|
260
|
+
],
|
|
261
|
+
allowed_objects: [],
|
|
262
|
+
denied_objects: [],
|
|
263
|
+
denied_fields: [],
|
|
171
264
|
},
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
identity_name: 'privacy-bot@acme.com',
|
|
181
|
-
permissions: {
|
|
182
|
-
'read:data': true,
|
|
183
|
-
'write:data': false,
|
|
184
|
-
'execute:code': false,
|
|
185
|
-
'access:internet': false,
|
|
186
|
-
'send:email': false,
|
|
187
|
-
'deploy:production': false,
|
|
265
|
+
data_handling: {
|
|
266
|
+
default_aggregation: false,
|
|
267
|
+
allow_row_level_output: true,
|
|
268
|
+
max_rows_in_output: 5000,
|
|
269
|
+
redact_fields: [],
|
|
270
|
+
hash_fields: [],
|
|
271
|
+
pii_detection: true,
|
|
272
|
+
pii_action: 'warn',
|
|
188
273
|
},
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
274
|
+
approval_policy: {
|
|
275
|
+
require_manual_approval_for: [
|
|
276
|
+
'Sending external emails',
|
|
277
|
+
'Sharing files outside organization',
|
|
278
|
+
'Modifying calendar events for other users',
|
|
279
|
+
],
|
|
280
|
+
auto_approved: [
|
|
281
|
+
'Reading emails and documents',
|
|
282
|
+
'Creating drafts',
|
|
283
|
+
'Reading calendar',
|
|
284
|
+
],
|
|
285
|
+
},
|
|
286
|
+
tool_limits: {
|
|
287
|
+
max_tool_calls: 100,
|
|
288
|
+
max_query_rows: 50000,
|
|
289
|
+
max_query_runtime: '60s',
|
|
290
|
+
max_time_window_days: 180,
|
|
291
|
+
},
|
|
292
|
+
audit: {
|
|
293
|
+
log_tool_calls: true,
|
|
294
|
+
log_query_metadata_only: false,
|
|
295
|
+
retain_days: 60,
|
|
296
|
+
require_lineage_in_report: false,
|
|
297
|
+
},
|
|
298
|
+
content_safety: {
|
|
299
|
+
treat_crm_text_fields_as_untrusted: true,
|
|
300
|
+
do_not_follow_instructions_from_data: true,
|
|
206
301
|
},
|
|
207
|
-
token_limits: { per_run: '25K', per_day: '250K', per_month: '2M' },
|
|
208
|
-
content_safety: { treat_crm_text_fields_as_untrusted: true, do_not_follow_instructions_from_data: true },
|
|
209
302
|
};
|
|
210
303
|
export const RESTRICTED_VIEWER_GUARDRAIL_SPEC_0_0_1 = {
|
|
211
304
|
id: 'restricted-viewer',
|
|
@@ -223,64 +316,52 @@ export const RESTRICTED_VIEWER_GUARDRAIL_SPEC_0_0_1 = {
|
|
|
223
316
|
'deploy:production': false,
|
|
224
317
|
},
|
|
225
318
|
token_limits: { per_run: '10K', per_day: '50K', per_month: '500K' },
|
|
226
|
-
data_scope: {
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
content_safety: { treat_crm_text_fields_as_untrusted: true, do_not_follow_instructions_from_data: true },
|
|
232
|
-
};
|
|
233
|
-
export const SECRET_REDACTION_GUARDRAIL_SPEC_0_0_1 = {
|
|
234
|
-
id: 'secret-redaction',
|
|
235
|
-
version: '0.0.1',
|
|
236
|
-
name: 'Secret Redaction',
|
|
237
|
-
description: 'Blocks leaked credentials and private keys in assistant output.',
|
|
238
|
-
identity_provider: 'datalayer',
|
|
239
|
-
identity_name: 'platform-bot@acme.com',
|
|
240
|
-
permissions: {
|
|
241
|
-
'read:data': true,
|
|
242
|
-
'write:data': false,
|
|
243
|
-
'execute:code': true,
|
|
244
|
-
'access:internet': true,
|
|
245
|
-
'send:email': false,
|
|
246
|
-
'deploy:production': false,
|
|
319
|
+
data_scope: {
|
|
320
|
+
allowed_systems: [],
|
|
321
|
+
allowed_objects: [],
|
|
322
|
+
denied_objects: [],
|
|
323
|
+
denied_fields: ['*SSN*', '*Bank*', '*IBAN*', '*Password*', '*Secret*'],
|
|
247
324
|
},
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
'read
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
325
|
+
data_handling: {
|
|
326
|
+
default_aggregation: true,
|
|
327
|
+
allow_row_level_output: false,
|
|
328
|
+
max_rows_in_output: 0,
|
|
329
|
+
redact_fields: [],
|
|
330
|
+
hash_fields: [],
|
|
331
|
+
pii_detection: true,
|
|
332
|
+
pii_action: 'redact',
|
|
333
|
+
},
|
|
334
|
+
approval_policy: {
|
|
335
|
+
require_manual_approval_for: ['Any operation beyond read'],
|
|
336
|
+
auto_approved: ['Aggregated read-only queries'],
|
|
337
|
+
},
|
|
338
|
+
tool_limits: {
|
|
339
|
+
max_tool_calls: 10,
|
|
340
|
+
max_query_rows: 10000,
|
|
341
|
+
max_query_runtime: '15s',
|
|
342
|
+
max_time_window_days: 30,
|
|
343
|
+
},
|
|
344
|
+
audit: {
|
|
345
|
+
log_tool_calls: true,
|
|
346
|
+
log_query_metadata_only: true,
|
|
347
|
+
retain_days: 90,
|
|
348
|
+
require_lineage_in_report: false,
|
|
349
|
+
},
|
|
350
|
+
content_safety: {
|
|
351
|
+
treat_crm_text_fields_as_untrusted: true,
|
|
352
|
+
do_not_follow_instructions_from_data: true,
|
|
264
353
|
},
|
|
265
|
-
token_limits: { per_run: '30K', per_day: '300K', per_month: '3M' },
|
|
266
354
|
};
|
|
267
355
|
// ============================================================================
|
|
268
356
|
// Guardrail Catalog
|
|
269
357
|
// ============================================================================
|
|
270
358
|
export const GUARDRAIL_CATALOG = {
|
|
271
|
-
'async-guardrail-policy': ASYNC_GUARDRAIL_POLICY_GUARDRAIL_SPEC_0_0_1,
|
|
272
|
-
'blocked-keywords-internal': BLOCKED_KEYWORDS_INTERNAL_GUARDRAIL_SPEC_0_0_1,
|
|
273
359
|
'data-engineering-power-user': DATA_ENGINEERING_POWER_USER_GUARDRAIL_SPEC_0_0_1,
|
|
274
360
|
'default-platform-user': DEFAULT_PLATFORM_USER_GUARDRAIL_SPEC_0_0_1,
|
|
275
361
|
'github-actions-deploy': GITHUB_ACTIONS_DEPLOY_GUARDRAIL_SPEC_0_0_1,
|
|
276
362
|
'github-ci-bot': GITHUB_CI_BOT_GUARDRAIL_SPEC_0_0_1,
|
|
277
363
|
'google-workspace-agent': GOOGLE_WORKSPACE_AGENT_GUARDRAIL_SPEC_0_0_1,
|
|
278
|
-
'no-refusals': NO_REFUSALS_GUARDRAIL_SPEC_0_0_1,
|
|
279
|
-
'pii-protection': PII_PROTECTION_GUARDRAIL_SPEC_0_0_1,
|
|
280
|
-
'prompt-injection-strict': PROMPT_INJECTION_STRICT_GUARDRAIL_SPEC_0_0_1,
|
|
281
364
|
'restricted-viewer': RESTRICTED_VIEWER_GUARDRAIL_SPEC_0_0_1,
|
|
282
|
-
'secret-redaction': SECRET_REDACTION_GUARDRAIL_SPEC_0_0_1,
|
|
283
|
-
'tool-guard-strict': TOOL_GUARD_STRICT_GUARDRAIL_SPEC_0_0_1,
|
|
284
365
|
};
|
|
285
366
|
/**
|
|
286
367
|
* Map identity provider to an icon key for the UI.
|
package/lib/specs/mcpServers.js
CHANGED
|
@@ -94,7 +94,14 @@ export const GITHUB_MCP_SERVER_0_0_1 = {
|
|
|
94
94
|
emoji: '🐙 - git - collaboration',
|
|
95
95
|
url: '',
|
|
96
96
|
command: 'docker',
|
|
97
|
-
args: [
|
|
97
|
+
args: [
|
|
98
|
+
'run',
|
|
99
|
+
'-i',
|
|
100
|
+
'--rm',
|
|
101
|
+
'-e',
|
|
102
|
+
'GITHUB_PERSONAL_ACCESS_TOKEN',
|
|
103
|
+
'ghcr.io/github/github-mcp-server',
|
|
104
|
+
],
|
|
98
105
|
transport: 'stdio',
|
|
99
106
|
enabled: true,
|
|
100
107
|
isAvailable: false,
|
|
@@ -115,7 +122,10 @@ export const GOOGLE_WORKSPACE_MCP_SERVER_0_0_1 = {
|
|
|
115
122
|
enabled: true,
|
|
116
123
|
isAvailable: false,
|
|
117
124
|
tools: [],
|
|
118
|
-
requiredEnvVars: [
|
|
125
|
+
requiredEnvVars: [
|
|
126
|
+
'GOOGLE_OAUTH_CLIENT_ID:0.0.1',
|
|
127
|
+
'GOOGLE_OAUTH_CLIENT_SECRET:0.0.1',
|
|
128
|
+
],
|
|
119
129
|
};
|
|
120
130
|
export const HUGGINGFACE_MCP_SERVER_0_0_1 = {
|
|
121
131
|
id: 'huggingface',
|
|
@@ -126,7 +136,13 @@ export const HUGGINGFACE_MCP_SERVER_0_0_1 = {
|
|
|
126
136
|
emoji: '🤗',
|
|
127
137
|
url: '',
|
|
128
138
|
command: 'npx',
|
|
129
|
-
args: [
|
|
139
|
+
args: [
|
|
140
|
+
'-y',
|
|
141
|
+
'mcp-remote',
|
|
142
|
+
'https://huggingface.co/mcp',
|
|
143
|
+
'--header',
|
|
144
|
+
'Authorization: Bearer ${HF_TOKEN}',
|
|
145
|
+
],
|
|
130
146
|
transport: 'stdio',
|
|
131
147
|
enabled: true,
|
|
132
148
|
isAvailable: false,
|
|
@@ -142,7 +158,13 @@ export const KAGGLE_MCP_SERVER_0_0_1 = {
|
|
|
142
158
|
emoji: '📊',
|
|
143
159
|
url: '',
|
|
144
160
|
command: 'npx',
|
|
145
|
-
args: [
|
|
161
|
+
args: [
|
|
162
|
+
'-y',
|
|
163
|
+
'mcp-remote',
|
|
164
|
+
'https://www.kaggle.com/mcp',
|
|
165
|
+
'--header',
|
|
166
|
+
'Authorization: Bearer ${KAGGLE_TOKEN}',
|
|
167
|
+
],
|
|
146
168
|
transport: 'stdio',
|
|
147
169
|
enabled: true,
|
|
148
170
|
isAvailable: false,
|
|
@@ -163,7 +185,10 @@ export const SALESFORCE_MCP_SERVER_0_0_1 = {
|
|
|
163
185
|
enabled: true,
|
|
164
186
|
isAvailable: false,
|
|
165
187
|
tools: [],
|
|
166
|
-
requiredEnvVars: [
|
|
188
|
+
requiredEnvVars: [
|
|
189
|
+
'SALESFORCE_ACCESS_TOKEN:0.0.1',
|
|
190
|
+
'SALESFORCE_INSTANCE_URL:0.0.1',
|
|
191
|
+
],
|
|
167
192
|
};
|
|
168
193
|
export const SLACK_MCP_SERVER_0_0_1 = {
|
|
169
194
|
id: 'slack',
|
|
@@ -179,7 +204,11 @@ export const SLACK_MCP_SERVER_0_0_1 = {
|
|
|
179
204
|
enabled: true,
|
|
180
205
|
isAvailable: false,
|
|
181
206
|
tools: [],
|
|
182
|
-
requiredEnvVars: [
|
|
207
|
+
requiredEnvVars: [
|
|
208
|
+
'SLACK_BOT_TOKEN:0.0.1',
|
|
209
|
+
'SLACK_TEAM_ID:0.0.1',
|
|
210
|
+
'SLACK_CHANNEL_IDS:0.0.1',
|
|
211
|
+
],
|
|
183
212
|
};
|
|
184
213
|
export const TAVILY_MCP_SERVER_0_0_1 = {
|
|
185
214
|
id: 'tavily',
|
package/lib/specs/memory.d.ts
CHANGED
|
@@ -10,14 +10,12 @@ import type { MemorySpec } from '../types';
|
|
|
10
10
|
export declare const Memories: {
|
|
11
11
|
readonly EPHEMERAL: "ephemeral";
|
|
12
12
|
readonly MEM0: "mem0";
|
|
13
|
-
readonly MEMPALACE: "mempalace";
|
|
14
13
|
readonly MEMU: "memu";
|
|
15
14
|
readonly SIMPLEMEM: "simplemem";
|
|
16
15
|
};
|
|
17
16
|
export type MemoryId = (typeof Memories)[keyof typeof Memories];
|
|
18
17
|
export declare const EPHEMERAL_MEMORY_0_0_1: MemorySpec;
|
|
19
18
|
export declare const MEM0_MEMORY_0_0_1: MemorySpec;
|
|
20
|
-
export declare const MEMPALACE_MEMORY_0_0_1: MemorySpec;
|
|
21
19
|
export declare const MEMU_MEMORY_0_0_1: MemorySpec;
|
|
22
20
|
export declare const SIMPLEMEM_MEMORY_0_0_1: MemorySpec;
|
|
23
21
|
export declare const MEMORY_CATALOGUE: Record<string, MemorySpec>;
|
package/lib/specs/memory.js
CHANGED
|
@@ -8,7 +8,6 @@
|
|
|
8
8
|
export const Memories = {
|
|
9
9
|
EPHEMERAL: 'ephemeral',
|
|
10
10
|
MEM0: 'mem0',
|
|
11
|
-
MEMPALACE: 'mempalace',
|
|
12
11
|
MEMU: 'memu',
|
|
13
12
|
SIMPLEMEM: 'simplemem',
|
|
14
13
|
};
|
|
@@ -37,17 +36,6 @@ export const MEM0_MEMORY_0_0_1 = {
|
|
|
37
36
|
icon: 'brain',
|
|
38
37
|
emoji: '🧠',
|
|
39
38
|
};
|
|
40
|
-
export const MEMPALACE_MEMORY_0_0_1 = {
|
|
41
|
-
id: 'mempalace',
|
|
42
|
-
version: '0.0.1',
|
|
43
|
-
name: 'MemPalace Memory',
|
|
44
|
-
description: 'Highest-scoring AI memory system ever benchmarked (96.6% LongMemEval R@5 raw, 100% with Haiku rerank). Inspired by the ancient Greek method of loci, MemPalace organizes memories into a navigable palace: wings (people/projects), halls (memory types), rooms (specific topics), closets (compressed summaries), and drawers (verbatim originals). Includes AAAK lossless compression (30x token reduction), a temporal knowledge graph, specialist agents with diaries, and contradiction detection. Entirely local — no cloud, no API keys, no subscription. Works with any LLM.',
|
|
45
|
-
persistence: 'permanent',
|
|
46
|
-
scope: 'user',
|
|
47
|
-
backend: 'chromadb',
|
|
48
|
-
icon: 'castle',
|
|
49
|
-
emoji: '🏰',
|
|
50
|
-
};
|
|
51
39
|
export const MEMU_MEMORY_0_0_1 = {
|
|
52
40
|
id: 'memu',
|
|
53
41
|
version: '0.0.1',
|
|
@@ -74,11 +62,10 @@ export const SIMPLEMEM_MEMORY_0_0_1 = {
|
|
|
74
62
|
// Memory Catalog
|
|
75
63
|
// ============================================================================
|
|
76
64
|
export const MEMORY_CATALOGUE = {
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
'simplemem': SIMPLEMEM_MEMORY_0_0_1,
|
|
65
|
+
ephemeral: EPHEMERAL_MEMORY_0_0_1,
|
|
66
|
+
mem0: MEM0_MEMORY_0_0_1,
|
|
67
|
+
memu: MEMU_MEMORY_0_0_1,
|
|
68
|
+
simplemem: SIMPLEMEM_MEMORY_0_0_1,
|
|
82
69
|
};
|
|
83
70
|
export const DEFAULT_MEMORY = Memories.EPHEMERAL;
|
|
84
71
|
function resolveMemoryId(memoryId) {
|
package/lib/specs/models.d.ts
CHANGED
|
@@ -17,7 +17,6 @@ export declare const AIModels: {
|
|
|
17
17
|
readonly AZURE_OPENAI_GPT_4_1: "azure-openai:gpt-4.1";
|
|
18
18
|
readonly AZURE_OPENAI_GPT_4O_MINI: "azure-openai:gpt-4o-mini";
|
|
19
19
|
readonly AZURE_OPENAI_GPT_4O: "azure-openai:gpt-4o";
|
|
20
|
-
readonly BEDROCK_US_ANTHROPIC_CLAUDE_3_5_HAIKU_20241022_V1_0: "bedrock:us.anthropic.claude-3-5-haiku-20241022-v1:0";
|
|
21
20
|
readonly BEDROCK_US_ANTHROPIC_CLAUDE_OPUS_4_6_V1: "bedrock:us.anthropic.claude-opus-4-6-v1";
|
|
22
21
|
readonly BEDROCK_US_ANTHROPIC_CLAUDE_OPUS_4_20250514_V1_0: "bedrock:us.anthropic.claude-opus-4-20250514-v1:0";
|
|
23
22
|
readonly BEDROCK_US_ANTHROPIC_CLAUDE_SONNET_4_5_20250929_V1_0: "bedrock:us.anthropic.claude-sonnet-4-5-20250929-v1:0";
|
|
@@ -39,7 +38,6 @@ export declare const AZURE_OPENAI_GPT_4_1_NANO_0_0_1: AIModel;
|
|
|
39
38
|
export declare const AZURE_OPENAI_GPT_4_1_0_0_1: AIModel;
|
|
40
39
|
export declare const AZURE_OPENAI_GPT_4O_MINI_0_0_1: AIModel;
|
|
41
40
|
export declare const AZURE_OPENAI_GPT_4O_0_0_1: AIModel;
|
|
42
|
-
export declare const BEDROCK_US_ANTHROPIC_CLAUDE_3_5_HAIKU_20241022_V1_0_0_0_1: AIModel;
|
|
43
41
|
export declare const BEDROCK_US_ANTHROPIC_CLAUDE_OPUS_4_6_V1_0_0_1: AIModel;
|
|
44
42
|
export declare const BEDROCK_US_ANTHROPIC_CLAUDE_OPUS_4_20250514_V1_0_0_0_1: AIModel;
|
|
45
43
|
export declare const BEDROCK_US_ANTHROPIC_CLAUDE_SONNET_4_5_20250929_V1_0_0_0_1: AIModel;
|