@datalayer/agent-runtimes 1.5.118 → 1.5.121
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 +11 -11
- package/lib/specs/actions.js +72 -9
- package/lib/specs/agents/agents.js +32 -9
- package/lib/specs/apps.js +2 -8
- 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/package.json +1 -1
- package/scripts/codegen/generate_models.py +17 -4
package/lib/specs/actions.js
CHANGED
|
@@ -209,6 +209,18 @@ export const SERVER_ACTIONS = {
|
|
|
209
209
|
odoo_accounting_list_untagged_tax_lines: ['read'],
|
|
210
210
|
odoo_accounting_set_tax_periodicity: ['write'],
|
|
211
211
|
odoo_accounting_set_tax_grids: ['write'],
|
|
212
|
+
odoo_accounting_find_document: ['read'],
|
|
213
|
+
odoo_accounting_import_ubl_bill: ['write'],
|
|
214
|
+
odoo_accounting_attach_document: ['write'],
|
|
215
|
+
odoo_accounting_list_attachments: ['read'],
|
|
216
|
+
odoo_accounting_reset_to_draft: ['write'],
|
|
217
|
+
odoo_accounting_delete_draft: ['delete'],
|
|
218
|
+
odoo_accounting_book_bank_line_split: ['write'],
|
|
219
|
+
odoo_accounting_prepare_vendor_payments: ['write'],
|
|
220
|
+
odoo_accounting_list_vendor_payments: ['read'],
|
|
221
|
+
odoo_accounting_vat_close_check: ['read'],
|
|
222
|
+
odoo_accounting_intervat_xml: ['read'],
|
|
223
|
+
odoo_accounting_record_return_submission: ['write'],
|
|
212
224
|
read_benchmark: ['read'],
|
|
213
225
|
read_benchmark_task: ['read'],
|
|
214
226
|
read_benchmark_task_trajectory: ['read'],
|
|
@@ -710,17 +722,34 @@ export const SERVER_ACTIONS = {
|
|
|
710
722
|
signs: {},
|
|
711
723
|
},
|
|
712
724
|
odoo: {
|
|
725
|
+
checked: '2026-11-08',
|
|
713
726
|
default: [],
|
|
714
|
-
tools: {
|
|
727
|
+
tools: {
|
|
728
|
+
odoo_get_context: ['read'],
|
|
729
|
+
odoo_get_account: ['read'],
|
|
730
|
+
odoo_get_settings: ['read'],
|
|
731
|
+
odoo_list_companies: ['read'],
|
|
732
|
+
odoo_set_company: ['write'],
|
|
733
|
+
odoo_list_models: ['read'],
|
|
734
|
+
odoo_get_fields: ['read'],
|
|
735
|
+
odoo_search_records: ['read'],
|
|
736
|
+
odoo_read_records: ['read'],
|
|
737
|
+
odoo_group_records: ['read'],
|
|
738
|
+
odoo_create_record: ['write'],
|
|
739
|
+
odoo_update_records: ['write'],
|
|
740
|
+
odoo_delete_records: ['delete'],
|
|
741
|
+
},
|
|
715
742
|
conditions: {},
|
|
716
743
|
signs: {},
|
|
717
744
|
},
|
|
718
745
|
'odoo-accounting': {
|
|
719
|
-
checked: '2026-
|
|
746
|
+
checked: '2026-11-08',
|
|
720
747
|
default: [],
|
|
721
748
|
tools: {
|
|
722
749
|
odoo_accounting_list_invoices: ['read'],
|
|
723
750
|
odoo_accounting_get_invoice: ['read'],
|
|
751
|
+
odoo_accounting_create_draft_invoice: ['write'],
|
|
752
|
+
odoo_accounting_post_invoice: ['write'],
|
|
724
753
|
odoo_accounting_list_journal_entries: ['read'],
|
|
725
754
|
odoo_accounting_list_open_balances: ['read'],
|
|
726
755
|
odoo_accounting_list_accounts: ['read'],
|
|
@@ -728,8 +757,6 @@ export const SERVER_ACTIONS = {
|
|
|
728
757
|
odoo_accounting_get_journal_entry: ['read'],
|
|
729
758
|
odoo_accounting_trial_balance: ['read'],
|
|
730
759
|
odoo_accounting_general_ledger: ['read'],
|
|
731
|
-
odoo_accounting_create_draft_invoice: ['write'],
|
|
732
|
-
odoo_accounting_post_invoice: ['write'],
|
|
733
760
|
odoo_accounting_create_draft_journal_entry: ['write'],
|
|
734
761
|
odoo_accounting_post_journal_entry: ['write'],
|
|
735
762
|
odoo_accounting_list_partners: ['read'],
|
|
@@ -746,28 +773,40 @@ export const SERVER_ACTIONS = {
|
|
|
746
773
|
odoo_accounting_suggest_bank_matches: ['read'],
|
|
747
774
|
odoo_accounting_suggest_reconciliations: ['read'],
|
|
748
775
|
odoo_accounting_explain_account_balance: ['read'],
|
|
749
|
-
odoo_accounting_list_bank_feeds: ['read'],
|
|
750
|
-
odoo_accounting_list_currency_rates: ['read'],
|
|
751
|
-
odoo_accounting_get_lock_dates: ['read'],
|
|
752
776
|
odoo_accounting_book_bank_line: ['write'],
|
|
777
|
+
odoo_accounting_book_bank_line_split: ['write'],
|
|
753
778
|
odoo_accounting_match_bank_line: ['write'],
|
|
754
779
|
odoo_accounting_reset_bank_line: ['write'],
|
|
755
780
|
odoo_accounting_remove_duplicate_bank_lines: ['delete'],
|
|
781
|
+
odoo_accounting_list_bank_feeds: ['read'],
|
|
756
782
|
odoo_accounting_link_bank_feed: ['write'],
|
|
757
783
|
odoo_accounting_create_vendor_bill: ['write'],
|
|
758
784
|
odoo_accounting_create_customer_invoice: ['write'],
|
|
785
|
+
odoo_accounting_list_currency_rates: ['read'],
|
|
759
786
|
odoo_accounting_set_currency_rates: ['write'],
|
|
787
|
+
odoo_accounting_get_lock_dates: ['read'],
|
|
760
788
|
odoo_accounting_set_lock_date: ['write'],
|
|
761
789
|
odoo_accounting_create_matching_model: ['write'],
|
|
790
|
+
odoo_accounting_find_document: ['read'],
|
|
791
|
+
odoo_accounting_import_ubl_bill: ['write'],
|
|
792
|
+
odoo_accounting_attach_document: ['write'],
|
|
793
|
+
odoo_accounting_list_attachments: ['read'],
|
|
794
|
+
odoo_accounting_reset_to_draft: ['write'],
|
|
795
|
+
odoo_accounting_delete_draft: ['delete'],
|
|
796
|
+
odoo_accounting_prepare_vendor_payments: ['write'],
|
|
797
|
+
odoo_accounting_list_vendor_payments: ['read'],
|
|
762
798
|
odoo_accounting_get_tax_settings: ['read'],
|
|
799
|
+
odoo_accounting_set_tax_periodicity: ['write'],
|
|
763
800
|
odoo_accounting_list_tax_returns: ['read'],
|
|
764
801
|
odoo_accounting_get_tax_return: ['read'],
|
|
765
802
|
odoo_accounting_tax_grids: ['read'],
|
|
766
803
|
odoo_accounting_list_tax_grid_lines: ['read'],
|
|
767
|
-
odoo_accounting_check_tax_period: ['read'],
|
|
768
804
|
odoo_accounting_list_untagged_tax_lines: ['read'],
|
|
769
|
-
odoo_accounting_set_tax_periodicity: ['write'],
|
|
770
805
|
odoo_accounting_set_tax_grids: ['write'],
|
|
806
|
+
odoo_accounting_check_tax_period: ['read'],
|
|
807
|
+
odoo_accounting_vat_close_check: ['read'],
|
|
808
|
+
odoo_accounting_intervat_xml: ['read'],
|
|
809
|
+
odoo_accounting_record_return_submission: ['write'],
|
|
771
810
|
},
|
|
772
811
|
conditions: {},
|
|
773
812
|
signs: {},
|
|
@@ -887,15 +926,19 @@ export const PROTOCOL_TOOL_CLASSES = {
|
|
|
887
926
|
export const APP_BEHAVIOURS = {
|
|
888
927
|
accounting: {
|
|
889
928
|
'odoo-accounting.odoo_accounting_aged_balance': 'do_it',
|
|
929
|
+
'odoo-accounting.odoo_accounting_attach_document': 'leave_to_me',
|
|
890
930
|
'odoo-accounting.odoo_accounting_bank_status': 'do_it',
|
|
891
931
|
'odoo-accounting.odoo_accounting_book_bank_line': 'leave_to_me',
|
|
932
|
+
'odoo-accounting.odoo_accounting_book_bank_line_split': 'leave_to_me',
|
|
892
933
|
'odoo-accounting.odoo_accounting_check_tax_period': 'do_it',
|
|
893
934
|
'odoo-accounting.odoo_accounting_create_customer_invoice': 'leave_to_me',
|
|
894
935
|
'odoo-accounting.odoo_accounting_create_draft_invoice': 'leave_to_me',
|
|
895
936
|
'odoo-accounting.odoo_accounting_create_draft_journal_entry': 'leave_to_me',
|
|
896
937
|
'odoo-accounting.odoo_accounting_create_matching_model': 'leave_to_me',
|
|
897
938
|
'odoo-accounting.odoo_accounting_create_vendor_bill': 'leave_to_me',
|
|
939
|
+
'odoo-accounting.odoo_accounting_delete_draft': 'leave_to_me',
|
|
898
940
|
'odoo-accounting.odoo_accounting_explain_account_balance': 'do_it',
|
|
941
|
+
'odoo-accounting.odoo_accounting_find_document': 'do_it',
|
|
899
942
|
'odoo-accounting.odoo_accounting_general_ledger': 'do_it',
|
|
900
943
|
'odoo-accounting.odoo_accounting_get_asset': 'do_it',
|
|
901
944
|
'odoo-accounting.odoo_accounting_get_bank_line': 'do_it',
|
|
@@ -904,9 +947,12 @@ export const APP_BEHAVIOURS = {
|
|
|
904
947
|
'odoo-accounting.odoo_accounting_get_lock_dates': 'do_it',
|
|
905
948
|
'odoo-accounting.odoo_accounting_get_tax_return': 'do_it',
|
|
906
949
|
'odoo-accounting.odoo_accounting_get_tax_settings': 'do_it',
|
|
950
|
+
'odoo-accounting.odoo_accounting_import_ubl_bill': 'leave_to_me',
|
|
951
|
+
'odoo-accounting.odoo_accounting_intervat_xml': 'do_it',
|
|
907
952
|
'odoo-accounting.odoo_accounting_link_bank_feed': 'leave_to_me',
|
|
908
953
|
'odoo-accounting.odoo_accounting_list_accounts': 'do_it',
|
|
909
954
|
'odoo-accounting.odoo_accounting_list_assets': 'do_it',
|
|
955
|
+
'odoo-accounting.odoo_accounting_list_attachments': 'do_it',
|
|
910
956
|
'odoo-accounting.odoo_accounting_list_bank_feeds': 'do_it',
|
|
911
957
|
'odoo-accounting.odoo_accounting_list_bank_lines': 'do_it',
|
|
912
958
|
'odoo-accounting.odoo_accounting_list_currency_rates': 'do_it',
|
|
@@ -919,13 +965,17 @@ export const APP_BEHAVIOURS = {
|
|
|
919
965
|
'odoo-accounting.odoo_accounting_list_tax_returns': 'do_it',
|
|
920
966
|
'odoo-accounting.odoo_accounting_list_taxes': 'do_it',
|
|
921
967
|
'odoo-accounting.odoo_accounting_list_untagged_tax_lines': 'do_it',
|
|
968
|
+
'odoo-accounting.odoo_accounting_list_vendor_payments': 'do_it',
|
|
922
969
|
'odoo-accounting.odoo_accounting_match_bank_line': 'leave_to_me',
|
|
923
970
|
'odoo-accounting.odoo_accounting_partner_ledger': 'do_it',
|
|
924
971
|
'odoo-accounting.odoo_accounting_post_invoice': 'leave_to_me',
|
|
925
972
|
'odoo-accounting.odoo_accounting_post_journal_entry': 'leave_to_me',
|
|
973
|
+
'odoo-accounting.odoo_accounting_prepare_vendor_payments': 'leave_to_me',
|
|
926
974
|
'odoo-accounting.odoo_accounting_reconcile_lines': 'leave_to_me',
|
|
975
|
+
'odoo-accounting.odoo_accounting_record_return_submission': 'leave_to_me',
|
|
927
976
|
'odoo-accounting.odoo_accounting_remove_duplicate_bank_lines': 'leave_to_me',
|
|
928
977
|
'odoo-accounting.odoo_accounting_reset_bank_line': 'leave_to_me',
|
|
978
|
+
'odoo-accounting.odoo_accounting_reset_to_draft': 'leave_to_me',
|
|
929
979
|
'odoo-accounting.odoo_accounting_set_currency_rates': 'leave_to_me',
|
|
930
980
|
'odoo-accounting.odoo_accounting_set_lock_date': 'leave_to_me',
|
|
931
981
|
'odoo-accounting.odoo_accounting_set_tax_grids': 'leave_to_me',
|
|
@@ -935,6 +985,7 @@ export const APP_BEHAVIOURS = {
|
|
|
935
985
|
'odoo-accounting.odoo_accounting_tax_grids': 'do_it',
|
|
936
986
|
'odoo-accounting.odoo_accounting_trial_balance': 'do_it',
|
|
937
987
|
'odoo-accounting.odoo_accounting_unreconcile_lines': 'leave_to_me',
|
|
988
|
+
'odoo-accounting.odoo_accounting_vat_close_check': 'do_it',
|
|
938
989
|
},
|
|
939
990
|
'bookkeeping-desk': {},
|
|
940
991
|
'change-detection': {
|
|
@@ -1213,15 +1264,19 @@ export const APP_BEHAVIOURS = {
|
|
|
1213
1264
|
'model-choice': {},
|
|
1214
1265
|
'month-end-close': {
|
|
1215
1266
|
'odoo-accounting.odoo_accounting_aged_balance': 'do_it',
|
|
1267
|
+
'odoo-accounting.odoo_accounting_attach_document': 'leave_to_me',
|
|
1216
1268
|
'odoo-accounting.odoo_accounting_bank_status': 'do_it',
|
|
1217
1269
|
'odoo-accounting.odoo_accounting_book_bank_line': 'leave_to_me',
|
|
1270
|
+
'odoo-accounting.odoo_accounting_book_bank_line_split': 'leave_to_me',
|
|
1218
1271
|
'odoo-accounting.odoo_accounting_check_tax_period': 'do_it',
|
|
1219
1272
|
'odoo-accounting.odoo_accounting_create_customer_invoice': 'leave_to_me',
|
|
1220
1273
|
'odoo-accounting.odoo_accounting_create_draft_invoice': 'leave_to_me',
|
|
1221
1274
|
'odoo-accounting.odoo_accounting_create_draft_journal_entry': 'leave_to_me',
|
|
1222
1275
|
'odoo-accounting.odoo_accounting_create_matching_model': 'leave_to_me',
|
|
1223
1276
|
'odoo-accounting.odoo_accounting_create_vendor_bill': 'leave_to_me',
|
|
1277
|
+
'odoo-accounting.odoo_accounting_delete_draft': 'leave_to_me',
|
|
1224
1278
|
'odoo-accounting.odoo_accounting_explain_account_balance': 'do_it',
|
|
1279
|
+
'odoo-accounting.odoo_accounting_find_document': 'do_it',
|
|
1225
1280
|
'odoo-accounting.odoo_accounting_general_ledger': 'do_it',
|
|
1226
1281
|
'odoo-accounting.odoo_accounting_get_asset': 'do_it',
|
|
1227
1282
|
'odoo-accounting.odoo_accounting_get_bank_line': 'do_it',
|
|
@@ -1230,9 +1285,12 @@ export const APP_BEHAVIOURS = {
|
|
|
1230
1285
|
'odoo-accounting.odoo_accounting_get_lock_dates': 'do_it',
|
|
1231
1286
|
'odoo-accounting.odoo_accounting_get_tax_return': 'do_it',
|
|
1232
1287
|
'odoo-accounting.odoo_accounting_get_tax_settings': 'do_it',
|
|
1288
|
+
'odoo-accounting.odoo_accounting_import_ubl_bill': 'leave_to_me',
|
|
1289
|
+
'odoo-accounting.odoo_accounting_intervat_xml': 'do_it',
|
|
1233
1290
|
'odoo-accounting.odoo_accounting_link_bank_feed': 'leave_to_me',
|
|
1234
1291
|
'odoo-accounting.odoo_accounting_list_accounts': 'do_it',
|
|
1235
1292
|
'odoo-accounting.odoo_accounting_list_assets': 'do_it',
|
|
1293
|
+
'odoo-accounting.odoo_accounting_list_attachments': 'do_it',
|
|
1236
1294
|
'odoo-accounting.odoo_accounting_list_bank_feeds': 'do_it',
|
|
1237
1295
|
'odoo-accounting.odoo_accounting_list_bank_lines': 'do_it',
|
|
1238
1296
|
'odoo-accounting.odoo_accounting_list_currency_rates': 'do_it',
|
|
@@ -1245,13 +1303,17 @@ export const APP_BEHAVIOURS = {
|
|
|
1245
1303
|
'odoo-accounting.odoo_accounting_list_tax_returns': 'do_it',
|
|
1246
1304
|
'odoo-accounting.odoo_accounting_list_taxes': 'do_it',
|
|
1247
1305
|
'odoo-accounting.odoo_accounting_list_untagged_tax_lines': 'do_it',
|
|
1306
|
+
'odoo-accounting.odoo_accounting_list_vendor_payments': 'do_it',
|
|
1248
1307
|
'odoo-accounting.odoo_accounting_match_bank_line': 'leave_to_me',
|
|
1249
1308
|
'odoo-accounting.odoo_accounting_partner_ledger': 'do_it',
|
|
1250
1309
|
'odoo-accounting.odoo_accounting_post_invoice': 'leave_to_me',
|
|
1251
1310
|
'odoo-accounting.odoo_accounting_post_journal_entry': 'leave_to_me',
|
|
1311
|
+
'odoo-accounting.odoo_accounting_prepare_vendor_payments': 'leave_to_me',
|
|
1252
1312
|
'odoo-accounting.odoo_accounting_reconcile_lines': 'leave_to_me',
|
|
1313
|
+
'odoo-accounting.odoo_accounting_record_return_submission': 'leave_to_me',
|
|
1253
1314
|
'odoo-accounting.odoo_accounting_remove_duplicate_bank_lines': 'leave_to_me',
|
|
1254
1315
|
'odoo-accounting.odoo_accounting_reset_bank_line': 'leave_to_me',
|
|
1316
|
+
'odoo-accounting.odoo_accounting_reset_to_draft': 'leave_to_me',
|
|
1255
1317
|
'odoo-accounting.odoo_accounting_set_currency_rates': 'leave_to_me',
|
|
1256
1318
|
'odoo-accounting.odoo_accounting_set_lock_date': 'leave_to_me',
|
|
1257
1319
|
'odoo-accounting.odoo_accounting_set_tax_grids': 'leave_to_me',
|
|
@@ -1261,6 +1323,7 @@ export const APP_BEHAVIOURS = {
|
|
|
1261
1323
|
'odoo-accounting.odoo_accounting_tax_grids': 'do_it',
|
|
1262
1324
|
'odoo-accounting.odoo_accounting_trial_balance': 'do_it',
|
|
1263
1325
|
'odoo-accounting.odoo_accounting_unreconcile_lines': 'leave_to_me',
|
|
1326
|
+
'odoo-accounting.odoo_accounting_vat_close_check': 'do_it',
|
|
1264
1327
|
},
|
|
1265
1328
|
'order-desk': {},
|
|
1266
1329
|
'order-tracker': {},
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Copyright (c) 2025-2026 Datalayer, Inc.
|
|
3
3
|
* Distributed under the terms of the Modified BSD License.
|
|
4
4
|
*/
|
|
5
|
-
import { ALPHAVANTAGE_MCP_SERVER_0_0_1, BLUESKY_MCP_SERVER_0_0_1, CHART_MCP_SERVER_0_0_1, DISCORD_MCP_SERVER_0_0_1, EARTHDATA_MCP_SERVER_0_0_1, EURUS_MCP_SERVER_0_0_1, FILESYSTEM_MCP_SERVER_0_0_1, GITHUB_MCP_SERVER_0_0_1, GOOGLE_WORKSPACE_MCP_SERVER_0_0_1, HUGGINGFACE_MCP_SERVER_0_0_1, KAGGLE_MCP_SERVER_0_0_1, LINKEDIN_MCP_SERVER_0_0_1, ODOO_MCP_SERVER_0_0_1, SALESFORCE_MCP_SERVER_0_0_1, SLACK_MCP_SERVER_0_0_1, TAVILY_MCP_SERVER_0_0_1, X_MCP_SERVER_0_0_1, } from '../mcpServers.js';
|
|
5
|
+
import { ALPHAVANTAGE_MCP_SERVER_0_0_1, BLUESKY_MCP_SERVER_0_0_1, CHART_MCP_SERVER_0_0_1, DISCORD_MCP_SERVER_0_0_1, EARTHDATA_MCP_SERVER_0_0_1, EURUS_MCP_SERVER_0_0_1, FILESYSTEM_MCP_SERVER_0_0_1, GITHUB_MCP_SERVER_0_0_1, GOOGLE_WORKSPACE_MCP_SERVER_0_0_1, HUGGINGFACE_MCP_SERVER_0_0_1, KAGGLE_MCP_SERVER_0_0_1, LINKEDIN_MCP_SERVER_0_0_1, ODOO_MCP_SERVER_0_0_1, ODOO_ACCOUNTING_MCP_SERVER_0_0_1, SALESFORCE_MCP_SERVER_0_0_1, SLACK_MCP_SERVER_0_0_1, TAVILY_MCP_SERVER_0_0_1, X_MCP_SERVER_0_0_1, } from '../mcpServers.js';
|
|
6
6
|
import { ACCOUNTING_SKILL_SPEC_0_0_1, CRAWL_SKILL_SPEC_0_0_1, EVENTS_SKILL_SPEC_0_0_1, GITHUB_SKILL_SPEC_0_0_1, IMAGE_SKILL_SPEC_0_0_1, JOKES_SKILL_SPEC_0_0_1, PDF_SKILL_SPEC_0_0_1, TEXT_SUMMARIZER_SKILL_SPEC_0_0_1, VIDEO_SKILL_SPEC_0_0_1, } from '../skills.js';
|
|
7
7
|
import { DECIDE_BACKEND_TOOL_SPEC_0_0_1, EXAMPLE_CREATE_PLAN_BACKEND_TOOL_SPEC_0_0_1, EXAMPLE_CURRENT_TIME_BACKEND_TOOL_SPEC_0_0_1, EXAMPLE_DISPLAY_RECIPE_BACKEND_TOOL_SPEC_0_0_1, EXAMPLE_GENERATE_HAIKU_BACKEND_TOOL_SPEC_0_0_1, EXAMPLE_GENERATE_TASK_STEPS_BACKEND_TOOL_SPEC_0_0_1, EXAMPLE_GET_WEATHER_BACKEND_TOOL_SPEC_0_0_1, EXAMPLE_RENDER_A2UI_SURFACE_BACKEND_TOOL_SPEC_0_0_1, EXAMPLE_UPDATE_PLAN_STEP_BACKEND_TOOL_SPEC_0_0_1, RUNTIME_ECHO_BACKEND_TOOL_SPEC_0_0_1, RUNTIME_SEND_MAIL_BACKEND_TOOL_SPEC_0_0_1, RUNTIME_SENSITIVE_ECHO_BACKEND_TOOL_SPEC_0_0_1, } from '../backendTools.js';
|
|
8
8
|
import { ARENA_INVADERS_FRONTEND_TOOL_SPEC_0_0_1, ARENA_PONG_FRONTEND_TOOL_SPEC_0_0_1, CELLS_FRONTEND_TOOL_SPEC_0_0_1, DECKS_FRONTEND_TOOL_SPEC_0_0_1, JUPYTER_NOTEBOOK_EDIT_FRONTEND_TOOL_SPEC_0_0_1, JUPYTER_NOTEBOOK_PROPOSE_FRONTEND_TOOL_SPEC_0_0_1, JUPYTER_NOTEBOOK_READ_FRONTEND_TOOL_SPEC_0_0_1, JUPYTER_NOTEBOOK_FRONTEND_TOOL_SPEC_0_0_1, LEXICAL_DOCUMENT_FRONTEND_TOOL_SPEC_0_0_1, } from '../frontendTools.js';
|
|
@@ -36,6 +36,8 @@ const MCP_SERVER_MAP = {
|
|
|
36
36
|
linkedin: LINKEDIN_MCP_SERVER_0_0_1,
|
|
37
37
|
'odoo:0.0.1': ODOO_MCP_SERVER_0_0_1,
|
|
38
38
|
odoo: ODOO_MCP_SERVER_0_0_1,
|
|
39
|
+
'odoo-accounting:0.0.1': ODOO_ACCOUNTING_MCP_SERVER_0_0_1,
|
|
40
|
+
'odoo-accounting': ODOO_ACCOUNTING_MCP_SERVER_0_0_1,
|
|
39
41
|
'salesforce:0.0.1': SALESFORCE_MCP_SERVER_0_0_1,
|
|
40
42
|
salesforce: SALESFORCE_MCP_SERVER_0_0_1,
|
|
41
43
|
'slack:0.0.1': SLACK_MCP_SERVER_0_0_1,
|
|
@@ -6333,7 +6335,10 @@ export const WORKER_ACCOUNTANT_AGENTSPEC_0_0_1 = {
|
|
|
6333
6335
|
domain: 'accounting',
|
|
6334
6336
|
enabled: false,
|
|
6335
6337
|
model: 'bedrock:us.anthropic.claude-sonnet-4-6',
|
|
6336
|
-
mcpServers: [
|
|
6338
|
+
mcpServers: [
|
|
6339
|
+
MCP_SERVER_MAP['odoo:0.0.1'],
|
|
6340
|
+
MCP_SERVER_MAP['odoo-accounting:0.0.1'],
|
|
6341
|
+
],
|
|
6337
6342
|
skills: [
|
|
6338
6343
|
SKILL_MAP['accounting:0.0.1']
|
|
6339
6344
|
? toAgentSkillSpec(SKILL_MAP['accounting:0.0.1'])
|
|
@@ -6367,7 +6372,7 @@ export const WORKER_ACCOUNTANT_AGENTSPEC_0_0_1 = {
|
|
|
6367
6372
|
welcomeDocument: undefined,
|
|
6368
6373
|
sandboxVariant: 'jupyter-server',
|
|
6369
6374
|
harness: 'pydantic-ai',
|
|
6370
|
-
systemPrompt: `You are a specialized assistant for this gallery workflow: Accountant. Objective: Use Odoo data to perform accounting workflows including reconciliation, aging analysis, journal checks, and close summaries. Use the Odoo MCP server for
|
|
6375
|
+
systemPrompt: `You are a specialized assistant for this gallery workflow: Accountant. Objective: Use Odoo data to perform accounting workflows including reconciliation, aging analysis, journal checks, and close summaries. Use the Odoo Accounting MCP server for invoices, entries, ledgers, bank lines and taxes, the Odoo MCP server for any other record, and the notebook/runtime tools for calculations and structured outputs. Keep results concise, auditable, and action-oriented.`,
|
|
6371
6376
|
systemPromptCodemodeAddons: `Prefer deterministic steps, preserve traceability of calculations, and present clear exceptions with recommended follow-up actions.`,
|
|
6372
6377
|
goal: undefined,
|
|
6373
6378
|
delegable: [
|
|
@@ -6736,7 +6741,10 @@ export const WORKER_AP_INVOICE_AGENTSPEC_0_0_1 = {
|
|
|
6736
6741
|
domain: 'accounting',
|
|
6737
6742
|
enabled: false,
|
|
6738
6743
|
model: 'bedrock:us.anthropic.claude-sonnet-4-6',
|
|
6739
|
-
mcpServers: [
|
|
6744
|
+
mcpServers: [
|
|
6745
|
+
MCP_SERVER_MAP['odoo:0.0.1'],
|
|
6746
|
+
MCP_SERVER_MAP['odoo-accounting:0.0.1'],
|
|
6747
|
+
],
|
|
6740
6748
|
skills: [
|
|
6741
6749
|
SKILL_MAP['accounting:0.0.1']
|
|
6742
6750
|
? toAgentSkillSpec(SKILL_MAP['accounting:0.0.1'])
|
|
@@ -6909,7 +6917,10 @@ export const WORKER_AUDIT_PACK_BUILDER_AGENTSPEC_0_0_1 = {
|
|
|
6909
6917
|
domain: 'accounting',
|
|
6910
6918
|
enabled: false,
|
|
6911
6919
|
model: 'bedrock:us.anthropic.claude-sonnet-4-6',
|
|
6912
|
-
mcpServers: [
|
|
6920
|
+
mcpServers: [
|
|
6921
|
+
MCP_SERVER_MAP['odoo:0.0.1'],
|
|
6922
|
+
MCP_SERVER_MAP['odoo-accounting:0.0.1'],
|
|
6923
|
+
],
|
|
6913
6924
|
skills: [
|
|
6914
6925
|
SKILL_MAP['accounting:0.0.1']
|
|
6915
6926
|
? toAgentSkillSpec(SKILL_MAP['accounting:0.0.1'])
|
|
@@ -7173,7 +7184,10 @@ export const WORKER_BANK_RECONCILIATION_AGENTSPEC_0_0_1 = {
|
|
|
7173
7184
|
domain: 'accounting',
|
|
7174
7185
|
enabled: false,
|
|
7175
7186
|
model: 'bedrock:us.anthropic.claude-sonnet-4-6',
|
|
7176
|
-
mcpServers: [
|
|
7187
|
+
mcpServers: [
|
|
7188
|
+
MCP_SERVER_MAP['odoo:0.0.1'],
|
|
7189
|
+
MCP_SERVER_MAP['odoo-accounting:0.0.1'],
|
|
7190
|
+
],
|
|
7177
7191
|
skills: [
|
|
7178
7192
|
SKILL_MAP['accounting:0.0.1']
|
|
7179
7193
|
? toAgentSkillSpec(SKILL_MAP['accounting:0.0.1'])
|
|
@@ -7828,7 +7842,10 @@ export const WORKER_COLLECTIONS_AGENTSPEC_0_0_1 = {
|
|
|
7828
7842
|
domain: 'accounting',
|
|
7829
7843
|
enabled: false,
|
|
7830
7844
|
model: 'bedrock:us.anthropic.claude-sonnet-4-6',
|
|
7831
|
-
mcpServers: [
|
|
7845
|
+
mcpServers: [
|
|
7846
|
+
MCP_SERVER_MAP['odoo:0.0.1'],
|
|
7847
|
+
MCP_SERVER_MAP['odoo-accounting:0.0.1'],
|
|
7848
|
+
],
|
|
7832
7849
|
skills: [
|
|
7833
7850
|
SKILL_MAP['accounting:0.0.1']
|
|
7834
7851
|
? toAgentSkillSpec(SKILL_MAP['accounting:0.0.1'])
|
|
@@ -9434,7 +9451,10 @@ export const WORKER_EXPENSE_AUDIT_AGENTSPEC_0_0_1 = {
|
|
|
9434
9451
|
domain: 'accounting',
|
|
9435
9452
|
enabled: false,
|
|
9436
9453
|
model: 'bedrock:us.anthropic.claude-sonnet-4-6',
|
|
9437
|
-
mcpServers: [
|
|
9454
|
+
mcpServers: [
|
|
9455
|
+
MCP_SERVER_MAP['odoo:0.0.1'],
|
|
9456
|
+
MCP_SERVER_MAP['odoo-accounting:0.0.1'],
|
|
9457
|
+
],
|
|
9438
9458
|
skills: [
|
|
9439
9459
|
SKILL_MAP['accounting:0.0.1']
|
|
9440
9460
|
? toAgentSkillSpec(SKILL_MAP['accounting:0.0.1'])
|
|
@@ -11086,7 +11106,10 @@ export const WORKER_MONTH_END_CLOSE_AGENTSPEC_0_0_1 = {
|
|
|
11086
11106
|
domain: 'accounting',
|
|
11087
11107
|
enabled: false,
|
|
11088
11108
|
model: 'bedrock:us.anthropic.claude-sonnet-4-6',
|
|
11089
|
-
mcpServers: [
|
|
11109
|
+
mcpServers: [
|
|
11110
|
+
MCP_SERVER_MAP['odoo:0.0.1'],
|
|
11111
|
+
MCP_SERVER_MAP['odoo-accounting:0.0.1'],
|
|
11112
|
+
],
|
|
11090
11113
|
skills: [
|
|
11091
11114
|
SKILL_MAP['accounting:0.0.1']
|
|
11092
11115
|
? toAgentSkillSpec(SKILL_MAP['accounting:0.0.1'])
|
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',
|
|
@@ -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',
|
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() {
|