@datalayer/agent-runtimes 1.5.118 โ 1.5.124
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-embed/datalayer-app-main.js +93 -93
- package/lib/chat/indicators/McpStatusIndicator.js +2 -2
- package/lib/specs/actions.js +72 -9
- package/lib/specs/agents/agents.js +228 -14
- package/lib/specs/apps.js +4 -10
- package/lib/specs/cogs.js +17 -2
- package/lib/specs/mcpServers.js +66 -31
- package/lib/specs/models.d.ts +8 -1
- package/lib/specs/models.js +40 -2
- package/lib/specs/scenes.js +1 -5
- package/lib/types/agentspecs.d.ts +16 -0
- package/lib/types/mcp.d.ts +5 -0
- package/package.json +1 -1
- package/scripts/codegen/generate_agents.py +2 -0
- package/scripts/codegen/generate_models.py +17 -4
- package/scripts/codegen/generate_sandbox_agents.py +5 -0
package/lib/specs/apps.js
CHANGED
|
@@ -161,10 +161,7 @@ export const ACCOUNTING_APP_0_0_2 = {
|
|
|
161
161
|
emoji: '๐งพ',
|
|
162
162
|
avatar: '',
|
|
163
163
|
banner: '',
|
|
164
|
-
setup: [
|
|
165
|
-
"The agent 'worker-accountant:0.0.1' is not enabled.",
|
|
166
|
-
"The MCP server 'odoo-accounting:0.0.1' is not enabled.",
|
|
167
|
-
],
|
|
164
|
+
setup: ["The agent 'worker-accountant:0.0.1' is not enabled."],
|
|
168
165
|
};
|
|
169
166
|
export const BOOKKEEPING_DESK_APP_0_0_3 = {
|
|
170
167
|
schema: 'loop.app/v1',
|
|
@@ -2522,7 +2519,7 @@ export const INBOX_TRIAGE_APP_0_0_2 = {
|
|
|
2522
2519
|
emoji: '๐ฌ',
|
|
2523
2520
|
avatar: '',
|
|
2524
2521
|
banner: '',
|
|
2525
|
-
setup: [],
|
|
2522
|
+
setup: ["The agent 'worker-mail-triage:0.0.1' is not enabled."],
|
|
2526
2523
|
};
|
|
2527
2524
|
export const LIVE_SHOP_CHAT_APP_0_0_2 = {
|
|
2528
2525
|
schema: 'loop.app/v1',
|
|
@@ -3316,10 +3313,7 @@ export const MONTH_END_CLOSE_APP_0_0_2 = {
|
|
|
3316
3313
|
emoji: '๐๏ธ',
|
|
3317
3314
|
avatar: '',
|
|
3318
3315
|
banner: '',
|
|
3319
|
-
setup: [
|
|
3320
|
-
"The agent 'worker-month-end-close:0.0.1' is not enabled.",
|
|
3321
|
-
"The MCP server 'odoo-accounting:0.0.1' is not enabled.",
|
|
3322
|
-
],
|
|
3316
|
+
setup: ["The agent 'worker-month-end-close:0.0.1' is not enabled."],
|
|
3323
3317
|
};
|
|
3324
3318
|
export const ORDER_DESK_APP_0_0_2 = {
|
|
3325
3319
|
schema: 'loop.app/v1',
|
|
@@ -6528,7 +6522,7 @@ export const SUPPORT_DESK_APP_0_0_5 = {
|
|
|
6528
6522
|
emoji: '๐',
|
|
6529
6523
|
avatar: '',
|
|
6530
6524
|
banner: '',
|
|
6531
|
-
setup: [],
|
|
6525
|
+
setup: ["The agent 'worker-document-qa:0.0.1' is not enabled."],
|
|
6532
6526
|
};
|
|
6533
6527
|
export const TRAVEL_DESK_APP_0_0_2 = {
|
|
6534
6528
|
schema: 'loop.app/v1',
|
package/lib/specs/cogs.js
CHANGED
|
@@ -81,6 +81,18 @@ const COG_CRAWLER_AGENTSPEC_0_0_1 = {
|
|
|
81
81
|
SKILL_MAP['events:0.0.1']
|
|
82
82
|
? toAgentSkillSpec(SKILL_MAP['events:0.0.1'])
|
|
83
83
|
: undefined,
|
|
84
|
+
SKILL_MAP['datalayer-memory-add:0.0.1']
|
|
85
|
+
? toAgentSkillSpec(SKILL_MAP['datalayer-memory-add:0.0.1'])
|
|
86
|
+
: undefined,
|
|
87
|
+
SKILL_MAP['datalayer-memory-search:0.0.1']
|
|
88
|
+
? toAgentSkillSpec(SKILL_MAP['datalayer-memory-search:0.0.1'])
|
|
89
|
+
: undefined,
|
|
90
|
+
SKILL_MAP['datalayer-memory-list:0.0.1']
|
|
91
|
+
? toAgentSkillSpec(SKILL_MAP['datalayer-memory-list:0.0.1'])
|
|
92
|
+
: undefined,
|
|
93
|
+
SKILL_MAP['datalayer-memory-delete:0.0.1']
|
|
94
|
+
? toAgentSkillSpec(SKILL_MAP['datalayer-memory-delete:0.0.1'])
|
|
95
|
+
: undefined,
|
|
84
96
|
SKILL_MAP['crawl:0.0.1']
|
|
85
97
|
? toAgentSkillSpec(SKILL_MAP['crawl:0.0.1'])
|
|
86
98
|
: undefined,
|
|
@@ -117,7 +129,7 @@ const COG_CRAWLER_AGENTSPEC_0_0_1 = {
|
|
|
117
129
|
welcomeDocument: undefined,
|
|
118
130
|
sandboxVariant: 'jupyter-server',
|
|
119
131
|
harness: 'pydantic-ai',
|
|
120
|
-
systemPrompt: `You are a web crawling and research assistant with access to Tavily search and GitHub tools. Use Tavily to search the web for current information and search GitHub repositories for relevant projects. Synthesize information from multiple sources and provide clear summaries with sources cited.
|
|
132
|
+
systemPrompt: `You are a web crawling and research assistant with access to Tavily search and GitHub tools. Use Tavily to search the web for current information and search GitHub repositories for relevant projects. Synthesize information from multiple sources and provide clear summaries with sources cited. You keep durable memory of the person across sessions: when they ask you to remember, recall, list or forget something, use the datalayer-memory skills, and never delete everything they remember without their explicit confirmation of how many.
|
|
121
133
|
|
|
122
134
|
## Frames
|
|
123
135
|
|
|
@@ -228,8 +240,9 @@ Check your output against every Guard before you hand it over, and say which you
|
|
|
228
240
|
advanced: undefined,
|
|
229
241
|
checkpoints: undefined,
|
|
230
242
|
authorizationPolicy: undefined,
|
|
243
|
+
policy: { shield: { egress: ['*'] } },
|
|
231
244
|
notifications: undefined,
|
|
232
|
-
memory: '
|
|
245
|
+
memory: 'mem0',
|
|
233
246
|
preHooks: undefined,
|
|
234
247
|
postHooks: undefined,
|
|
235
248
|
toolHooks: undefined,
|
|
@@ -391,6 +404,7 @@ Check your output against every Guard before you hand it over, and say which you
|
|
|
391
404
|
advanced: undefined,
|
|
392
405
|
checkpoints: undefined,
|
|
393
406
|
authorizationPolicy: undefined,
|
|
407
|
+
policy: { shield: { egress: ['*'] } },
|
|
394
408
|
notifications: undefined,
|
|
395
409
|
memory: 'mem0',
|
|
396
410
|
preHooks: undefined,
|
|
@@ -571,6 +585,7 @@ Check your output against every Guard before you hand it over, and say which you
|
|
|
571
585
|
advanced: undefined,
|
|
572
586
|
checkpoints: undefined,
|
|
573
587
|
authorizationPolicy: undefined,
|
|
588
|
+
policy: { shield: { egress: ['*'] } },
|
|
574
589
|
notifications: undefined,
|
|
575
590
|
memory: 'ephemeral',
|
|
576
591
|
preHooks: undefined,
|
package/lib/specs/mcpServers.js
CHANGED
|
@@ -259,6 +259,18 @@ export const DATALAYER_MCP_SERVER_0_0_1 = {
|
|
|
259
259
|
odoo_accounting_list_untagged_tax_lines: 'read',
|
|
260
260
|
odoo_accounting_set_tax_periodicity: 'write',
|
|
261
261
|
odoo_accounting_set_tax_grids: 'write',
|
|
262
|
+
odoo_accounting_find_document: 'read',
|
|
263
|
+
odoo_accounting_import_ubl_bill: 'write',
|
|
264
|
+
odoo_accounting_attach_document: 'write',
|
|
265
|
+
odoo_accounting_list_attachments: 'read',
|
|
266
|
+
odoo_accounting_reset_to_draft: 'write',
|
|
267
|
+
odoo_accounting_delete_draft: 'delete',
|
|
268
|
+
odoo_accounting_book_bank_line_split: 'write',
|
|
269
|
+
odoo_accounting_prepare_vendor_payments: 'write',
|
|
270
|
+
odoo_accounting_list_vendor_payments: 'read',
|
|
271
|
+
odoo_accounting_vat_close_check: 'read',
|
|
272
|
+
odoo_accounting_intervat_xml: 'read',
|
|
273
|
+
odoo_accounting_record_return_submission: 'write',
|
|
262
274
|
read_benchmark: 'read',
|
|
263
275
|
read_benchmark_task: 'read',
|
|
264
276
|
read_benchmark_task_trajectory: 'read',
|
|
@@ -821,26 +833,28 @@ export const ODOO_ACCOUNTING_MCP_SERVER_0_0_1 = {
|
|
|
821
833
|
id: 'odoo-accounting',
|
|
822
834
|
version: '0.0.1',
|
|
823
835
|
name: 'Odoo Accounting',
|
|
824
|
-
description: "An accountant's day in Odoo โ invoices, bills, journal entries, reconciliations, bank lines and tax returns โ through the Datalayer MCP server",
|
|
836
|
+
description: "An accountant's day in Odoo โ invoices, bills, journal entries, reconciliations, bank lines, payments and tax returns โ in one company, through the Datalayer MCP server",
|
|
825
837
|
icon: '@datalayer/icons-react:odoo',
|
|
826
838
|
emoji: '๐งฎ',
|
|
827
839
|
url: 'https://mcp.datalayer.run/mcp?only=odoo-accounting',
|
|
828
840
|
args: [],
|
|
829
841
|
headers: { Authorization: 'Bearer ${DATALAYER_API_KEY}' },
|
|
830
842
|
transport: 'streamable-http',
|
|
831
|
-
enabled:
|
|
843
|
+
enabled: true,
|
|
832
844
|
isAvailable: false,
|
|
833
845
|
tools: [],
|
|
834
846
|
requiredEnvVars: ['DATALAYER_API_KEY:0.0.1'],
|
|
835
847
|
tags: ['erp', 'accounting', 'finance', 'odoo', 'datalayer'],
|
|
836
|
-
documentationUrl: 'https://
|
|
848
|
+
documentationUrl: 'https://datalayer.ai/docs/accountant',
|
|
837
849
|
signupUrl: 'https://datalayer.ai/signin',
|
|
838
850
|
apiKeyUrl: 'https://datalayer.ai/settings/api-keys',
|
|
839
|
-
setup: "Datalayer's gateway with its odoo-accounting toolset
|
|
851
|
+
setup: "Datalayer's gateway with its odoo-accounting toolset: your Datalayer API key as the bearer, made under [Settings, API keys](https://datalayer.ai/settings/api-keys) and put in `DATALAYER_API_KEY`; your Odoo in your Datalayer secrets (`DATALAYER_ODOO_URL`, `DATALAYER_ODOO_API_KEY`, and `DATALAYER_ODOO_DATABASE` when the host does not name it). One company per session: your default in Odoo, or the one the url names with `&odoo-company=<name or id>`.",
|
|
840
852
|
actions: {
|
|
841
853
|
tools: {
|
|
842
854
|
odoo_accounting_list_invoices: 'read',
|
|
843
855
|
odoo_accounting_get_invoice: 'read',
|
|
856
|
+
odoo_accounting_create_draft_invoice: 'write',
|
|
857
|
+
odoo_accounting_post_invoice: 'write',
|
|
844
858
|
odoo_accounting_list_journal_entries: 'read',
|
|
845
859
|
odoo_accounting_list_open_balances: 'read',
|
|
846
860
|
odoo_accounting_list_accounts: 'read',
|
|
@@ -848,8 +862,6 @@ export const ODOO_ACCOUNTING_MCP_SERVER_0_0_1 = {
|
|
|
848
862
|
odoo_accounting_get_journal_entry: 'read',
|
|
849
863
|
odoo_accounting_trial_balance: 'read',
|
|
850
864
|
odoo_accounting_general_ledger: 'read',
|
|
851
|
-
odoo_accounting_create_draft_invoice: 'write',
|
|
852
|
-
odoo_accounting_post_invoice: 'write',
|
|
853
865
|
odoo_accounting_create_draft_journal_entry: 'write',
|
|
854
866
|
odoo_accounting_post_journal_entry: 'write',
|
|
855
867
|
odoo_accounting_list_partners: 'read',
|
|
@@ -866,60 +878,83 @@ export const ODOO_ACCOUNTING_MCP_SERVER_0_0_1 = {
|
|
|
866
878
|
odoo_accounting_suggest_bank_matches: 'read',
|
|
867
879
|
odoo_accounting_suggest_reconciliations: 'read',
|
|
868
880
|
odoo_accounting_explain_account_balance: 'read',
|
|
869
|
-
odoo_accounting_list_bank_feeds: 'read',
|
|
870
|
-
odoo_accounting_list_currency_rates: 'read',
|
|
871
|
-
odoo_accounting_get_lock_dates: 'read',
|
|
872
881
|
odoo_accounting_book_bank_line: 'write',
|
|
882
|
+
odoo_accounting_book_bank_line_split: 'write',
|
|
873
883
|
odoo_accounting_match_bank_line: 'write',
|
|
874
884
|
odoo_accounting_reset_bank_line: 'write',
|
|
875
885
|
odoo_accounting_remove_duplicate_bank_lines: 'delete',
|
|
886
|
+
odoo_accounting_list_bank_feeds: 'read',
|
|
876
887
|
odoo_accounting_link_bank_feed: 'write',
|
|
877
888
|
odoo_accounting_create_vendor_bill: 'write',
|
|
878
889
|
odoo_accounting_create_customer_invoice: 'write',
|
|
890
|
+
odoo_accounting_list_currency_rates: 'read',
|
|
879
891
|
odoo_accounting_set_currency_rates: 'write',
|
|
892
|
+
odoo_accounting_get_lock_dates: 'read',
|
|
880
893
|
odoo_accounting_set_lock_date: 'write',
|
|
881
894
|
odoo_accounting_create_matching_model: 'write',
|
|
895
|
+
odoo_accounting_find_document: 'read',
|
|
896
|
+
odoo_accounting_import_ubl_bill: 'write',
|
|
897
|
+
odoo_accounting_attach_document: 'write',
|
|
898
|
+
odoo_accounting_list_attachments: 'read',
|
|
899
|
+
odoo_accounting_reset_to_draft: 'write',
|
|
900
|
+
odoo_accounting_delete_draft: 'delete',
|
|
901
|
+
odoo_accounting_prepare_vendor_payments: 'write',
|
|
902
|
+
odoo_accounting_list_vendor_payments: 'read',
|
|
882
903
|
odoo_accounting_get_tax_settings: 'read',
|
|
904
|
+
odoo_accounting_set_tax_periodicity: 'write',
|
|
883
905
|
odoo_accounting_list_tax_returns: 'read',
|
|
884
906
|
odoo_accounting_get_tax_return: 'read',
|
|
885
907
|
odoo_accounting_tax_grids: 'read',
|
|
886
908
|
odoo_accounting_list_tax_grid_lines: 'read',
|
|
887
|
-
odoo_accounting_check_tax_period: 'read',
|
|
888
909
|
odoo_accounting_list_untagged_tax_lines: 'read',
|
|
889
|
-
odoo_accounting_set_tax_periodicity: 'write',
|
|
890
910
|
odoo_accounting_set_tax_grids: 'write',
|
|
911
|
+
odoo_accounting_check_tax_period: 'read',
|
|
912
|
+
odoo_accounting_vat_close_check: 'read',
|
|
913
|
+
odoo_accounting_intervat_xml: 'read',
|
|
914
|
+
odoo_accounting_record_return_submission: 'write',
|
|
891
915
|
},
|
|
892
|
-
checked: '2026-
|
|
893
|
-
note: "
|
|
916
|
+
checked: '2026-11-08',
|
|
917
|
+
note: "Exactly the tools the gateway's odoo-accounting toolset registers, read off its code (datalayer-mcp-server's extensions/odoo, odoo.py's accounting_tools, then reports, banking, bills, payments and taxes; datalayer-mcp-server 0.0.104), each classed as the datalayer server classes it (its tool_policy). The comment over each tool is the gateway's own description of it. The odoo and odoo-accounting toolsets share no tool.",
|
|
894
918
|
},
|
|
895
919
|
};
|
|
896
920
|
export const ODOO_MCP_SERVER_0_0_1 = {
|
|
897
921
|
id: 'odoo',
|
|
898
922
|
version: '0.0.1',
|
|
899
923
|
name: 'Odoo',
|
|
900
|
-
description: 'Odoo
|
|
924
|
+
description: 'Any record of your Odoo โ models, fields, searches, grouped counts, creates, updates and deletes โ in one company, through the Datalayer MCP server',
|
|
901
925
|
icon: '@datalayer/icons-react:odoo',
|
|
902
926
|
emoji: '๐งพ',
|
|
903
|
-
url: '',
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
transport: '
|
|
907
|
-
enabled:
|
|
927
|
+
url: 'https://mcp.datalayer.run/mcp?only=odoo',
|
|
928
|
+
args: [],
|
|
929
|
+
headers: { Authorization: 'Bearer ${DATALAYER_API_KEY}' },
|
|
930
|
+
transport: 'streamable-http',
|
|
931
|
+
enabled: true,
|
|
908
932
|
isAvailable: false,
|
|
909
933
|
tools: [],
|
|
910
|
-
requiredEnvVars: [],
|
|
911
|
-
tags: ['erp', '
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
ODOO_LOCALE: '${ODOO_LOCALE}',
|
|
917
|
-
},
|
|
918
|
-
documentationUrl: 'https://github.com/ivnvxd/mcp-server-odoo',
|
|
919
|
-
setup: "Runs with `uvx` against the Odoo instance its env names, with that Odoo user's API key ([mcp-server-odoo](https://github.com/ivnvxd/mcp-server-odoo)).",
|
|
934
|
+
requiredEnvVars: ['DATALAYER_API_KEY:0.0.1'],
|
|
935
|
+
tags: ['erp', 'odoo', 'datalayer'],
|
|
936
|
+
documentationUrl: 'https://datalayer.ai/docs/mcp-toolsets',
|
|
937
|
+
signupUrl: 'https://datalayer.ai/signin',
|
|
938
|
+
apiKeyUrl: 'https://datalayer.ai/settings/api-keys',
|
|
939
|
+
setup: "Datalayer's gateway with its generic odoo toolset: your Datalayer API key as the bearer, made under [Settings, API keys](https://datalayer.ai/settings/api-keys) and put in `DATALAYER_API_KEY`; your Odoo in your Datalayer secrets (`DATALAYER_ODOO_URL`, `DATALAYER_ODOO_API_KEY`, and `DATALAYER_ODOO_DATABASE` when the host does not name it). One company per session: your default in Odoo, or the one the url names with `&odoo-company=<name or id>`.",
|
|
920
940
|
actions: {
|
|
921
|
-
tools: {
|
|
922
|
-
|
|
941
|
+
tools: {
|
|
942
|
+
odoo_get_context: 'read',
|
|
943
|
+
odoo_get_account: 'read',
|
|
944
|
+
odoo_get_settings: 'read',
|
|
945
|
+
odoo_list_companies: 'read',
|
|
946
|
+
odoo_set_company: 'write',
|
|
947
|
+
odoo_list_models: 'read',
|
|
948
|
+
odoo_get_fields: 'read',
|
|
949
|
+
odoo_search_records: 'read',
|
|
950
|
+
odoo_read_records: 'read',
|
|
951
|
+
odoo_group_records: 'read',
|
|
952
|
+
odoo_create_record: 'write',
|
|
953
|
+
odoo_update_records: 'write',
|
|
954
|
+
odoo_delete_records: 'delete',
|
|
955
|
+
},
|
|
956
|
+
checked: '2026-11-08',
|
|
957
|
+
note: "Exactly the tools the gateway's odoo toolset registers, read off its code (datalayer-mcp-server's extensions/odoo, odoo.py's base_tools; datalayer-mcp-server 0.0.104), each classed as the datalayer server classes it (its tool_policy). The comment over each tool is the gateway's own description of it. The odoo and odoo-accounting toolsets share no tool.",
|
|
923
958
|
},
|
|
924
959
|
};
|
|
925
960
|
export const SALESFORCE_MCP_SERVER_0_0_1 = {
|
package/lib/specs/models.d.ts
CHANGED
|
@@ -22,6 +22,8 @@ export declare const AIModels: {
|
|
|
22
22
|
readonly AZURE_OPENAI_GPT_4_1: "azure-openai:gpt-4.1";
|
|
23
23
|
readonly AZURE_OPENAI_GPT_4O_MINI: "azure-openai:gpt-4o-mini";
|
|
24
24
|
readonly AZURE_OPENAI_GPT_4O: "azure-openai:gpt-4o";
|
|
25
|
+
readonly BEDROCK_AMAZON_TITAN_EMBED_TEXT_V1: "bedrock:amazon.titan-embed-text-v1";
|
|
26
|
+
readonly BEDROCK_AMAZON_TITAN_EMBED_TEXT_V2_0: "bedrock:amazon.titan-embed-text-v2:0";
|
|
25
27
|
readonly BEDROCK_US_ANTHROPIC_CLAUDE_FABLE_5: "bedrock:us.anthropic.claude-fable-5";
|
|
26
28
|
readonly BEDROCK_US_ANTHROPIC_CLAUDE_OPUS_4_6_V1: "bedrock:us.anthropic.claude-opus-4-6-v1";
|
|
27
29
|
readonly BEDROCK_US_ANTHROPIC_CLAUDE_OPUS_4_8: "bedrock:us.anthropic.claude-opus-4-8";
|
|
@@ -64,6 +66,8 @@ export declare const AZURE_OPENAI_GPT_4_1_NANO_0_0_1: AIModel;
|
|
|
64
66
|
export declare const AZURE_OPENAI_GPT_4_1_0_0_1: AIModel;
|
|
65
67
|
export declare const AZURE_OPENAI_GPT_4O_MINI_0_0_1: AIModel;
|
|
66
68
|
export declare const AZURE_OPENAI_GPT_4O_0_0_1: AIModel;
|
|
69
|
+
export declare const BEDROCK_AMAZON_TITAN_EMBED_TEXT_V1_0_0_1: AIModel;
|
|
70
|
+
export declare const BEDROCK_AMAZON_TITAN_EMBED_TEXT_V2_0_0_0_1: AIModel;
|
|
67
71
|
export declare const BEDROCK_US_ANTHROPIC_CLAUDE_FABLE_5_0_0_1: AIModel;
|
|
68
72
|
export declare const BEDROCK_US_ANTHROPIC_CLAUDE_OPUS_4_6_V1_0_0_1: AIModel;
|
|
69
73
|
export declare const BEDROCK_US_ANTHROPIC_CLAUDE_OPUS_4_8_0_0_1: AIModel;
|
|
@@ -98,9 +102,12 @@ export declare const AI_MODEL_CATALOGUE: Record<string, AIModel>;
|
|
|
98
102
|
export declare const AI_MODEL_ALIASES: Record<string, string>;
|
|
99
103
|
/** A model by its id, or by an id it had before; undefined when the catalogue has neither. */
|
|
100
104
|
export declare function getModel(modelId: string): AIModel | undefined;
|
|
105
|
+
/** A typed-decision model (Jev): answers typed questions about a state. */
|
|
106
|
+
export declare function isDecisionModel(model: AIModel): boolean;
|
|
101
107
|
/**
|
|
102
108
|
* A model a chat can run on: not a typed-decision model (Jev), which
|
|
103
|
-
* answers typed questions about a state and nothing else
|
|
109
|
+
* answers typed questions about a state and nothing else, nor an
|
|
110
|
+
* embedding model (Titan), which turns texts into vectors. A spec that
|
|
104
111
|
* states no capability is read as a chat model.
|
|
105
112
|
*/
|
|
106
113
|
export declare function isChatModel(model: AIModel): boolean;
|
package/lib/specs/models.js
CHANGED
|
@@ -20,6 +20,8 @@ export const AIModels = {
|
|
|
20
20
|
AZURE_OPENAI_GPT_4_1: 'azure-openai:gpt-4.1',
|
|
21
21
|
AZURE_OPENAI_GPT_4O_MINI: 'azure-openai:gpt-4o-mini',
|
|
22
22
|
AZURE_OPENAI_GPT_4O: 'azure-openai:gpt-4o',
|
|
23
|
+
BEDROCK_AMAZON_TITAN_EMBED_TEXT_V1: 'bedrock:amazon.titan-embed-text-v1',
|
|
24
|
+
BEDROCK_AMAZON_TITAN_EMBED_TEXT_V2_0: 'bedrock:amazon.titan-embed-text-v2:0',
|
|
23
25
|
BEDROCK_US_ANTHROPIC_CLAUDE_FABLE_5: 'bedrock:us.anthropic.claude-fable-5',
|
|
24
26
|
BEDROCK_US_ANTHROPIC_CLAUDE_OPUS_4_6_V1: 'bedrock:us.anthropic.claude-opus-4-6-v1',
|
|
25
27
|
BEDROCK_US_ANTHROPIC_CLAUDE_OPUS_4_8: 'bedrock:us.anthropic.claude-opus-4-8',
|
|
@@ -233,6 +235,34 @@ export const AZURE_OPENAI_GPT_4O_0_0_1 = {
|
|
|
233
235
|
tokensLimit: 16384,
|
|
234
236
|
pricing: { inputUsdPerMillion: 2.5, outputUsdPerMillion: 10.0 },
|
|
235
237
|
};
|
|
238
|
+
export const BEDROCK_AMAZON_TITAN_EMBED_TEXT_V1_0_0_1 = {
|
|
239
|
+
id: 'bedrock:amazon.titan-embed-text-v1',
|
|
240
|
+
version: '0.0.1',
|
|
241
|
+
name: 'Bedrock Titan Text Embeddings',
|
|
242
|
+
description: "Amazon Titan Embeddings G1 - Text via AWS Bedrock - 1536 dimensions, what an agent's memories are embedded with on a Datalayer runtime",
|
|
243
|
+
provider: 'bedrock',
|
|
244
|
+
providerUrl: 'https://aws.amazon.com/bedrock/titan/',
|
|
245
|
+
default: false,
|
|
246
|
+
available: true,
|
|
247
|
+
requiredEnvVars: [],
|
|
248
|
+
capabilities: ['embeddings'],
|
|
249
|
+
contextWindow: 8192,
|
|
250
|
+
pricing: { inputUsdPerMillion: 0.1, outputUsdPerMillion: 0.0 },
|
|
251
|
+
};
|
|
252
|
+
export const BEDROCK_AMAZON_TITAN_EMBED_TEXT_V2_0_0_0_1 = {
|
|
253
|
+
id: 'bedrock:amazon.titan-embed-text-v2:0',
|
|
254
|
+
version: '0.0.1',
|
|
255
|
+
name: 'Bedrock Titan Text Embeddings V2',
|
|
256
|
+
description: 'Amazon Titan Text Embeddings V2 via AWS Bedrock - 1024, 512 or 256 dimensions',
|
|
257
|
+
provider: 'bedrock',
|
|
258
|
+
providerUrl: 'https://aws.amazon.com/bedrock/titan/',
|
|
259
|
+
default: false,
|
|
260
|
+
available: true,
|
|
261
|
+
requiredEnvVars: [],
|
|
262
|
+
capabilities: ['embeddings'],
|
|
263
|
+
contextWindow: 8192,
|
|
264
|
+
pricing: { inputUsdPerMillion: 0.02, outputUsdPerMillion: 0.0 },
|
|
265
|
+
};
|
|
236
266
|
export const BEDROCK_US_ANTHROPIC_CLAUDE_FABLE_5_0_0_1 = {
|
|
237
267
|
id: 'bedrock:us.anthropic.claude-fable-5',
|
|
238
268
|
version: '0.0.1',
|
|
@@ -667,6 +697,8 @@ export const AI_MODEL_CATALOGUE = {
|
|
|
667
697
|
'azure-openai:gpt-4.1': AZURE_OPENAI_GPT_4_1_0_0_1,
|
|
668
698
|
'azure-openai:gpt-4o-mini': AZURE_OPENAI_GPT_4O_MINI_0_0_1,
|
|
669
699
|
'azure-openai:gpt-4o': AZURE_OPENAI_GPT_4O_0_0_1,
|
|
700
|
+
'bedrock:amazon.titan-embed-text-v1': BEDROCK_AMAZON_TITAN_EMBED_TEXT_V1_0_0_1,
|
|
701
|
+
'bedrock:amazon.titan-embed-text-v2:0': BEDROCK_AMAZON_TITAN_EMBED_TEXT_V2_0_0_0_1,
|
|
670
702
|
'bedrock:us.anthropic.claude-fable-5': BEDROCK_US_ANTHROPIC_CLAUDE_FABLE_5_0_0_1,
|
|
671
703
|
'bedrock:us.anthropic.claude-opus-4-6-v1': BEDROCK_US_ANTHROPIC_CLAUDE_OPUS_4_6_V1_0_0_1,
|
|
672
704
|
'bedrock:us.anthropic.claude-opus-4-8': BEDROCK_US_ANTHROPIC_CLAUDE_OPUS_4_8_0_0_1,
|
|
@@ -710,13 +742,19 @@ export const AI_MODEL_ALIASES = {
|
|
|
710
742
|
export function getModel(modelId) {
|
|
711
743
|
return AI_MODEL_CATALOGUE[AI_MODEL_ALIASES[modelId] ?? modelId];
|
|
712
744
|
}
|
|
745
|
+
/** A typed-decision model (Jev): answers typed questions about a state. */
|
|
746
|
+
export function isDecisionModel(model) {
|
|
747
|
+
return (model.capabilities ?? []).includes('decisions');
|
|
748
|
+
}
|
|
713
749
|
/**
|
|
714
750
|
* A model a chat can run on: not a typed-decision model (Jev), which
|
|
715
|
-
* answers typed questions about a state and nothing else
|
|
751
|
+
* answers typed questions about a state and nothing else, nor an
|
|
752
|
+
* embedding model (Titan), which turns texts into vectors. A spec that
|
|
716
753
|
* states no capability is read as a chat model.
|
|
717
754
|
*/
|
|
718
755
|
export function isChatModel(model) {
|
|
719
|
-
|
|
756
|
+
const capabilities = model.capabilities ?? [];
|
|
757
|
+
return (!capabilities.includes('decisions') && !capabilities.includes('embeddings'));
|
|
720
758
|
}
|
|
721
759
|
/** The models a person choosing a chat model is offered from. */
|
|
722
760
|
export function listChatModels() {
|
package/lib/specs/scenes.js
CHANGED
|
@@ -1213,10 +1213,7 @@ export const MONTH_END_CLOSE_SCENE_0_0_1 = {
|
|
|
1213
1213
|
actors: [],
|
|
1214
1214
|
lines: [],
|
|
1215
1215
|
live: '',
|
|
1216
|
-
setup: [
|
|
1217
|
-
"The agent 'worker-month-end-close:0.0.1' is not enabled.",
|
|
1218
|
-
"The MCP server 'odoo-accounting:0.0.1' is not enabled.",
|
|
1219
|
-
],
|
|
1216
|
+
setup: ["The agent 'worker-month-end-close:0.0.1' is not enabled."],
|
|
1220
1217
|
played: {
|
|
1221
1218
|
at: '2026-10-29T14:17:04+00:00',
|
|
1222
1219
|
where: 'on Datalayer',
|
|
@@ -2428,7 +2425,6 @@ export const SALES_AND_ACCOUNTING_SCENE_0_0_1 = {
|
|
|
2428
2425
|
setup: [
|
|
2429
2426
|
"The agent 'worker-sales-pipeline-board-report:0.0.1' is not enabled.",
|
|
2430
2427
|
"The agent 'worker-accountant:0.0.1' is not enabled.",
|
|
2431
|
-
"The MCP server 'odoo-accounting:0.0.1' is not enabled.",
|
|
2432
2428
|
],
|
|
2433
2429
|
played: {
|
|
2434
2430
|
at: '2026-10-29T14:00:28+00:00',
|
|
@@ -1766,6 +1766,20 @@ export interface AppSpec {
|
|
|
1766
1766
|
/** Its banner, by name, from the same profile's set. Empty, its id seeds one. */
|
|
1767
1767
|
banner: string;
|
|
1768
1768
|
}
|
|
1769
|
+
/**
|
|
1770
|
+
* agent-shield's firewall rules for an agent's runtime (`policy.shield`).
|
|
1771
|
+
* `egress`: '*' alone (any public address), or exact hosts, host:port, IPv4
|
|
1772
|
+
* addresses and CIDRs with an optional port; `ingress`: 'platform' (the
|
|
1773
|
+
* default), '*', or addresses and CIDRs with the agent's port.
|
|
1774
|
+
*/
|
|
1775
|
+
export interface AgentShieldFirewall {
|
|
1776
|
+
egress?: string[];
|
|
1777
|
+
ingress?: string[];
|
|
1778
|
+
}
|
|
1779
|
+
/** An agent's own ask of the Shield. */
|
|
1780
|
+
export interface AgentPolicy {
|
|
1781
|
+
shield?: AgentShieldFirewall;
|
|
1782
|
+
}
|
|
1769
1783
|
export interface Agentspec {
|
|
1770
1784
|
/** Unique agent identifier */
|
|
1771
1785
|
id: string;
|
|
@@ -1877,6 +1891,8 @@ export interface Agentspec {
|
|
|
1877
1891
|
checkpoints?: AgentCheckpointsConfig;
|
|
1878
1892
|
/** Authorization policy */
|
|
1879
1893
|
authorizationPolicy?: string;
|
|
1894
|
+
/** The agent's own ask of the Shield: its firewall rules under `shield`. */
|
|
1895
|
+
policy?: AgentPolicy;
|
|
1880
1896
|
/** Notification configuration (email, slack) */
|
|
1881
1897
|
notifications?: AgentNotificationConfig;
|
|
1882
1898
|
/** Memory backend identifier (e.g., 'ephemeral', 'mem0', 'memu', 'simplemem') */
|
package/lib/types/mcp.d.ts
CHANGED
|
@@ -98,6 +98,8 @@ export interface McpServerStatus {
|
|
|
98
98
|
id: string;
|
|
99
99
|
status: 'none' | 'not_started' | 'starting' | 'failed' | 'started';
|
|
100
100
|
error?: string;
|
|
101
|
+
/** Why it failed, in a sentence a page shows: "tavily could not start: the runtime cannot reach registry.npmjs.org." */
|
|
102
|
+
reason?: string | null;
|
|
101
103
|
tools_count?: number;
|
|
102
104
|
tools?: Array<{
|
|
103
105
|
name: string;
|
|
@@ -109,6 +111,9 @@ export interface McpServerStatus {
|
|
|
109
111
|
* Full response from `/api/v1/configure/mcp-toolsets-status`.
|
|
110
112
|
*/
|
|
111
113
|
export interface McpToolsetsStatusResponse {
|
|
114
|
+
/** The agent asked about (`?agent_id=`), and whether it answers with its model now. */
|
|
115
|
+
agent_id?: string;
|
|
116
|
+
agent_ready?: boolean;
|
|
112
117
|
initialized: boolean;
|
|
113
118
|
ready_count: number;
|
|
114
119
|
failed_count: number;
|
package/package.json
CHANGED
|
@@ -763,6 +763,7 @@ from agent_runtimes.types import (
|
|
|
763
763
|
advanced={_fmt_py_literal(advanced_val)},
|
|
764
764
|
checkpoints={_fmt_py_literal(checkpoints_val)},
|
|
765
765
|
authorization_policy={auth_policy_str},
|
|
766
|
+
policy={_fmt_py_literal(spec.get("policy"))},
|
|
766
767
|
notifications={_fmt_py_literal(notifs)},
|
|
767
768
|
memory={memory_str},
|
|
768
769
|
pre_hooks={_fmt_py_literal(pre_hooks_val)},
|
|
@@ -1342,6 +1343,7 @@ const FRONTEND_TOOL_MAP: Record<string, any> = {
|
|
|
1342
1343
|
advanced: {_fmt_ts_literal(advanced_val)},
|
|
1343
1344
|
checkpoints: {_fmt_ts_literal(checkpoints_val)},
|
|
1344
1345
|
authorizationPolicy: {auth_policy_ts},
|
|
1346
|
+
policy: {_fmt_ts_literal(spec.get("policy"))},
|
|
1345
1347
|
notifications: {_fmt_ts_literal(notifs)},
|
|
1346
1348
|
memory: {memory_ts},
|
|
1347
1349
|
preHooks: {_fmt_ts_literal(pre_hooks_val)},
|
|
@@ -326,12 +326,18 @@ def generate_python_code(specs: list[dict[str, Any]]) -> str:
|
|
|
326
326
|
" return list(AI_MODEL_CATALOGUE.values())",
|
|
327
327
|
"",
|
|
328
328
|
"",
|
|
329
|
+
"def is_decision_model(model: AIModel) -> bool:",
|
|
330
|
+
' """A typed-decision model (Jev): answers typed questions about a state."""',
|
|
331
|
+
' return "decisions" in model.capabilities',
|
|
332
|
+
"",
|
|
333
|
+
"",
|
|
329
334
|
"def is_chat_model(model: AIModel) -> bool:",
|
|
330
335
|
' """A model a chat can run on: not a typed-decision model (Jev), which',
|
|
331
|
-
" answers typed questions about a state and nothing else
|
|
336
|
+
" answers typed questions about a state and nothing else, nor an",
|
|
337
|
+
" embedding model (Titan), which turns texts into vectors. A spec that",
|
|
332
338
|
" states no capability is read as a chat model.",
|
|
333
339
|
' """',
|
|
334
|
-
' return "decisions" not in model.capabilities',
|
|
340
|
+
' return "decisions" not in model.capabilities and "embeddings" not in model.capabilities',
|
|
335
341
|
"",
|
|
336
342
|
"",
|
|
337
343
|
"def list_chat_models() -> list[AIModel]:",
|
|
@@ -503,13 +509,20 @@ def generate_typescript_code(specs: list[dict[str, Any]]) -> str:
|
|
|
503
509
|
" return AI_MODEL_CATALOGUE[AI_MODEL_ALIASES[modelId] ?? modelId];",
|
|
504
510
|
"}",
|
|
505
511
|
"",
|
|
512
|
+
"/** A typed-decision model (Jev): answers typed questions about a state. */",
|
|
513
|
+
"export function isDecisionModel(model: AIModel): boolean {",
|
|
514
|
+
" return (model.capabilities ?? []).includes('decisions');",
|
|
515
|
+
"}",
|
|
516
|
+
"",
|
|
506
517
|
"/**",
|
|
507
518
|
" * A model a chat can run on: not a typed-decision model (Jev), which",
|
|
508
|
-
" * answers typed questions about a state and nothing else
|
|
519
|
+
" * answers typed questions about a state and nothing else, nor an",
|
|
520
|
+
" * embedding model (Titan), which turns texts into vectors. A spec that",
|
|
509
521
|
" * states no capability is read as a chat model.",
|
|
510
522
|
" */",
|
|
511
523
|
"export function isChatModel(model: AIModel): boolean {",
|
|
512
|
-
"
|
|
524
|
+
" const capabilities = model.capabilities ?? [];",
|
|
525
|
+
" return !capabilities.includes('decisions') && !capabilities.includes('embeddings');",
|
|
513
526
|
"}",
|
|
514
527
|
"",
|
|
515
528
|
"/** The models a person choosing a chat model is offered from. */",
|