@datalayer/agent-runtimes 1.3.84 → 1.3.86
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/lib/chat/ChatFloating.d.ts +5 -4
- package/lib/chat/ChatFloating.js +8 -6
- package/lib/chat/ChatLanguage.d.ts +17 -0
- package/lib/chat/ChatLanguage.js +29 -0
- package/lib/chat/assistant/AssistantStage.d.ts +4 -4
- package/lib/chat/assistant/AssistantStage.js +4 -2
- package/lib/chat/assistant/BalloonParts.d.ts +2 -1
- package/lib/chat/assistant/BalloonParts.js +12 -5
- package/lib/chat/assistant/BalloonVisual.js +3 -1
- package/lib/chat/assistant/ConversationBalloon.d.ts +1 -1
- package/lib/chat/assistant/ConversationBalloon.js +3 -2
- package/lib/chat/assistant/SpeechBalloon.d.ts +1 -1
- package/lib/chat/assistant/SpeechBalloon.js +10 -7
- package/lib/chat/assistant/toolLine.d.ts +8 -4
- package/lib/chat/assistant/toolLine.js +13 -9
- package/lib/chat/base/ChatBase.js +14 -11
- package/lib/chat/display/EmptyState.js +3 -1
- package/lib/chat/index.d.ts +2 -0
- package/lib/chat/index.js +3 -0
- package/lib/chat/messages/ChatMessages.js +3 -1
- package/lib/chat/messages/TurnFooter.js +3 -1
- package/lib/chat/prompt/InputPrompt.js +3 -1
- package/lib/chat/prompt/InputPromptLexical.js +3 -1
- package/lib/chat/prompt/footer/InPromptFooter.js +3 -1
- package/lib/chat/tools/ToolApprovalBanner.js +5 -3
- package/lib/chat/tools/ToolApprovalDialog.js +5 -3
- package/lib/chat/tools/ToolCallDisplay.js +29 -25
- package/lib/chat/words.d.ts +102 -0
- package/lib/chat/words.js +460 -0
- package/lib/components/a2ui/custom/index.d.ts +39 -0
- package/lib/components/a2ui/custom/index.js +95 -0
- package/lib/components/a2ui/custom/sandbox.d.ts +73 -0
- package/lib/components/a2ui/custom/sandbox.js +188 -0
- package/lib/components/a2ui/datalayer/index.d.ts +1 -1
- package/lib/components/a2ui/datalayer/index.js +1 -1
- package/lib/components/a2ui/datalayer/schema.d.ts +10 -0
- package/lib/components/a2ui/datalayer/schema.js +12 -1
- package/lib/components/a2ui/index.d.ts +1 -0
- package/lib/components/a2ui/index.js +1 -0
- package/lib/components/a2ui/visibleWhen.d.ts +12 -1
- package/lib/components/a2ui/visibleWhen.js +24 -3
- package/lib/components/inspector/AgentInspector.d.ts +25 -44
- package/lib/components/inspector/AgentInspector.js +27 -215
- package/lib/components/inspector/AgentInspectorDialog.d.ts +6 -6
- package/lib/components/inspector/AgentInspectorDialog.js +2 -2
- package/lib/components/inspector/a2aSpans.d.ts +51 -0
- package/lib/components/inspector/a2aSpans.js +373 -0
- package/lib/components/inspector/agentSpans.d.ts +120 -0
- package/lib/components/inspector/agentSpans.js +253 -0
- package/lib/components/inspector/chatSpans.d.ts +36 -0
- package/lib/components/inspector/chatSpans.js +50 -0
- package/lib/components/inspector/classify.d.ts +11 -8
- package/lib/components/inspector/classify.js +23 -24
- package/lib/components/inspector/index.d.ts +7 -7
- package/lib/components/inspector/index.js +7 -7
- package/lib/components/teams/A2ATeamGraph.d.ts +117 -22
- package/lib/components/teams/A2ATeamGraph.js +217 -97
- package/lib/components/teams/SceneTranscript.d.ts +29 -0
- package/lib/components/teams/SceneTranscript.js +54 -0
- package/lib/components/teams/SceneView.d.ts +41 -0
- package/lib/components/teams/SceneView.js +28 -0
- package/lib/components/teams/index.d.ts +4 -0
- package/lib/components/teams/index.js +4 -0
- package/lib/components/teams/sceneStage.d.ts +120 -0
- package/lib/components/teams/sceneStage.js +170 -0
- package/lib/components/teams/sceneTranscript.d.ts +74 -0
- package/lib/components/teams/sceneTranscript.js +294 -0
- package/lib/components/teams/teamConnections.d.ts +2 -2
- package/lib/components/teams/teamConnections.js +3 -3
- package/lib/components/teams/useA2ATeam.d.ts +94 -22
- package/lib/components/teams/useA2ATeam.js +356 -140
- package/lib/examples/AgentA2ATeamExample.d.ts +10 -9
- package/lib/examples/AgentA2ATeamExample.js +70 -60
- package/lib/examples/AssistantExample.js +2 -2
- package/lib/examples/ScenesExample.d.ts +26 -0
- package/lib/examples/ScenesExample.js +241 -0
- package/lib/examples/example-selector.js +1 -0
- package/lib/examples/exampleGroups.js +3 -0
- package/lib/examples/index.d.ts +1 -0
- package/lib/examples/index.js +1 -0
- package/lib/examples/main.js +4 -0
- package/lib/loop/apps/AppComposer.d.ts +2 -1
- package/lib/loop/apps/AppComposer.js +6 -3
- package/lib/loop/apps/AppRenderer.d.ts +2 -1
- package/lib/loop/apps/AppRenderer.js +34 -25
- package/lib/loop/apps/appspec.d.ts +11 -1
- package/lib/loop/apps/appspec.js +115 -1
- package/lib/loop/apps/checks.d.ts +8 -0
- package/lib/loop/apps/checks.js +106 -4
- package/lib/loop/apps/customComponents.d.ts +41 -0
- package/lib/loop/apps/customComponents.js +260 -0
- package/lib/loop/apps/hostTools.d.ts +8 -1
- package/lib/loop/apps/hostTools.js +9 -0
- package/lib/loop/apps/index.d.ts +1 -0
- package/lib/loop/apps/index.js +1 -0
- package/lib/loop/core/a2uiComponents.d.ts +10 -0
- package/lib/loop/core/a2uiComponents.js +15 -0
- package/lib/loop/core/index.d.ts +1 -0
- package/lib/loop/core/index.js +3 -0
- package/lib/loop/embed/AppEmbed.d.ts +11 -3
- package/lib/loop/embed/AppEmbed.js +42 -16
- package/lib/loop/embed/element.d.ts +5 -0
- package/lib/loop/embed/element.js +61 -5
- package/lib/loop/embed/embedConfig.d.ts +8 -0
- package/lib/loop/embed/embedConfig.js +18 -0
- package/lib/loop/embed/hostBridge.d.ts +28 -2
- package/lib/loop/embed/hostBridge.js +22 -2
- package/lib/loop/index.d.ts +4 -3
- package/lib/loop/index.js +4 -3
- package/lib/loop/plugins/a2ui-surface/InlineSurface.d.ts +7 -1
- package/lib/loop/plugins/a2ui-surface/InlineSurface.js +7 -2
- package/lib/loop/plugins/a2ui-surface/SurfaceToolResult.js +4 -1
- package/lib/loop/plugins/a2ui-surface/ownComponents.d.ts +6 -0
- package/lib/loop/plugins/a2ui-surface/ownComponents.js +30 -0
- package/lib/loop/plugins/app-components/index.d.ts +26 -0
- package/lib/loop/plugins/app-components/index.js +56 -0
- package/lib/loop/plugins/app-elements/AppElements.js +4 -1
- package/lib/loop/plugins/app-page/AppPage.d.ts +9 -0
- package/lib/loop/plugins/app-page/AppPage.js +106 -8
- package/lib/loop/plugins/app-page/appPageModel.d.ts +17 -1
- package/lib/loop/plugins/app-page/appPageModel.js +120 -4
- package/lib/loop/plugins/app-page/index.d.ts +1 -0
- package/lib/loop/plugins/app-page/index.js +1 -0
- package/lib/loop/plugins/app-page/pageRun.d.ts +46 -0
- package/lib/loop/plugins/app-page/pageRun.js +111 -0
- package/lib/loop/plugins/assistant/index.js +8 -6
- package/lib/loop/plugins/chat/ChatView.js +6 -4
- package/lib/loop/plugins/chat/index.d.ts +1 -1
- package/lib/loop/plugins/chat/index.js +2 -1
- package/lib/models/PageTag.d.ts +1 -1
- package/lib/runtimes/browser/a2aPeer.d.ts +2 -1
- package/lib/specs/actions.js +78 -1
- package/lib/specs/apps.d.ts +5 -0
- package/lib/specs/apps.js +1384 -231
- package/lib/specs/appspecSchema.js +191 -1
- package/lib/specs/index.d.ts +1 -0
- package/lib/specs/index.js +1 -0
- package/lib/specs/mcpServers.js +8 -2
- package/lib/specs/scenes.d.ts +21 -0
- package/lib/specs/scenes.js +1191 -0
- package/lib/specs/teams/teams.d.ts +3 -0
- package/lib/specs/teams/teams.js +249 -0
- package/lib/types/agentspecs.d.ts +70 -0
- package/lib/types/chat.d.ts +6 -5
- package/lib/types/index.d.ts +1 -0
- package/lib/types/index.js +1 -0
- package/lib/types/scenes.d.ts +207 -0
- package/lib/types/scenes.js +5 -0
- package/lib/types/teams.d.ts +13 -2
- package/package.json +4 -4
- package/scripts/codegen/generate_agents.py +1 -0
- package/scripts/codegen/generate_apps.py +4 -2
- package/scripts/codegen/generate_scenes.py +301 -0
- package/scripts/codegen/generate_teams.py +15 -2
- package/lib/components/inspector/JsonTree.d.ts +0 -24
- package/lib/components/inspector/JsonTree.js +0 -89
- package/lib/components/inspector/a2aInspect.d.ts +0 -56
- package/lib/components/inspector/a2aInspect.js +0 -478
- package/lib/components/inspector/agentInspector.d.ts +0 -179
- package/lib/components/inspector/agentInspector.js +0 -267
- package/lib/components/inspector/chatInspect.d.ts +0 -38
- package/lib/components/inspector/chatInspect.js +0 -65
|
@@ -78,7 +78,7 @@ export type ChatPluginConfig = {
|
|
|
78
78
|
* Configured on the plugin rather than passed to the workspace: the prompt
|
|
79
79
|
* belongs to the chat, and a shell that has no chat plugin has no prompt to
|
|
80
80
|
* put a placeholder in. A host that wants different words says so where the
|
|
81
|
-
* words are.
|
|
81
|
+
* words are. Empty, the chat's own, in the person's language (LOOP P-26).
|
|
82
82
|
*/
|
|
83
83
|
placeholder: string;
|
|
84
84
|
/**
|
|
@@ -38,7 +38,8 @@ export const CHAT_PLUGIN_NAME = '@datalayer/loop-plugin-chat';
|
|
|
38
38
|
export const ChatPlugin = definePlugin({
|
|
39
39
|
name: CHAT_PLUGIN_NAME,
|
|
40
40
|
config: {
|
|
41
|
-
|
|
41
|
+
// The chat's own words, in the person's language (`chat/words`).
|
|
42
|
+
placeholder: '',
|
|
42
43
|
// The notebook: it is what most of these agents work on, and a workspace
|
|
43
44
|
// that opens on an empty chat hides the half of itself that does the work.
|
|
44
45
|
defaultSurface: 'notebook',
|
package/lib/models/PageTag.d.ts
CHANGED
|
@@ -15,5 +15,5 @@ export type PageTag = {
|
|
|
15
15
|
export declare const PAGE_TAGE_NONE: PageTag;
|
|
16
16
|
export declare const PAGE_TAGS: PageTag[];
|
|
17
17
|
export declare const PAGE_TAGS_BY_NAME_MAP: Map<PageTagName | undefined, PageTag>;
|
|
18
|
-
export declare const PAGE_TAGS_BY_COLOR_MAP: Map<"default" | "
|
|
18
|
+
export declare const PAGE_TAGS_BY_COLOR_MAP: Map<"default" | "green" | "lime" | "blue" | "coral" | "gray" | "indigo" | "orange" | "pink" | "purple" | "red" | "teal" | "yellow" | "lemon", PageTag>;
|
|
19
19
|
export {};
|
|
@@ -56,7 +56,8 @@ export type ConnectA2APeerOptions = {
|
|
|
56
56
|
key?: string;
|
|
57
57
|
/**
|
|
58
58
|
* The fetch to use, for tests and hosts that wrap the network — such as
|
|
59
|
-
* the Agent Inspector's `
|
|
59
|
+
* the Agent Inspector's `traceA2AFetch`, which records the traffic as
|
|
60
|
+
* OpenTelemetry spans.
|
|
60
61
|
*/
|
|
61
62
|
fetch?: typeof globalThis.fetch;
|
|
62
63
|
};
|
package/lib/specs/actions.js
CHANGED
|
@@ -229,8 +229,13 @@ export const SERVER_ACTIONS = {
|
|
|
229
229
|
conditions: {},
|
|
230
230
|
},
|
|
231
231
|
earthdata: {
|
|
232
|
+
checked: '2026-10-07',
|
|
232
233
|
default: [],
|
|
233
|
-
tools: {
|
|
234
|
+
tools: {
|
|
235
|
+
search_earth_datasets: ['read'],
|
|
236
|
+
search_earth_datagranules: ['read'],
|
|
237
|
+
download_earth_data_granules: ['write'],
|
|
238
|
+
},
|
|
234
239
|
conditions: {},
|
|
235
240
|
},
|
|
236
241
|
eurus: {
|
|
@@ -693,9 +698,25 @@ export const APP_BEHAVIOURS = {
|
|
|
693
698
|
'odoo-accounting.odoo_accounting_trial_balance': 'do_it',
|
|
694
699
|
'odoo-accounting.odoo_accounting_unreconcile_lines': 'leave_to_me',
|
|
695
700
|
},
|
|
701
|
+
'change-detection': {
|
|
702
|
+
'earthdata.download_earth_data_granules': 'leave_to_me',
|
|
703
|
+
'earthdata.search_earth_datagranules': 'do_it',
|
|
704
|
+
'earthdata.search_earth_datasets': 'do_it',
|
|
705
|
+
},
|
|
706
|
+
'crop-monitoring': {
|
|
707
|
+
'earthdata.download_earth_data_granules': 'leave_to_me',
|
|
708
|
+
'earthdata.search_earth_datagranules': 'do_it',
|
|
709
|
+
'earthdata.search_earth_datasets': 'do_it',
|
|
710
|
+
},
|
|
696
711
|
'customer-interview': {},
|
|
697
712
|
'data-quality': {},
|
|
698
713
|
decide: {},
|
|
714
|
+
'disaster-assessment': {
|
|
715
|
+
'earthdata.download_earth_data_granules': 'leave_to_me',
|
|
716
|
+
'earthdata.search_earth_datagranules': 'do_it',
|
|
717
|
+
'earthdata.search_earth_datasets': 'do_it',
|
|
718
|
+
},
|
|
719
|
+
'event-response': {},
|
|
699
720
|
'inbox-triage': {
|
|
700
721
|
'google-workspace.append_table_rows': 'leave_to_me',
|
|
701
722
|
'google-workspace.batch_modify_gmail_message_labels': 'do_it',
|
|
@@ -819,6 +840,57 @@ export const APP_BEHAVIOURS = {
|
|
|
819
840
|
'google-workspace.update_paragraph_style': 'leave_to_me',
|
|
820
841
|
},
|
|
821
842
|
'model-choice': {},
|
|
843
|
+
'month-end-close': {
|
|
844
|
+
'odoo-accounting.odoo_accounting_aged_balance': 'do_it',
|
|
845
|
+
'odoo-accounting.odoo_accounting_bank_status': 'do_it',
|
|
846
|
+
'odoo-accounting.odoo_accounting_book_bank_line': 'leave_to_me',
|
|
847
|
+
'odoo-accounting.odoo_accounting_check_tax_period': 'do_it',
|
|
848
|
+
'odoo-accounting.odoo_accounting_create_customer_invoice': 'leave_to_me',
|
|
849
|
+
'odoo-accounting.odoo_accounting_create_draft_invoice': 'leave_to_me',
|
|
850
|
+
'odoo-accounting.odoo_accounting_create_draft_journal_entry': 'leave_to_me',
|
|
851
|
+
'odoo-accounting.odoo_accounting_create_matching_model': 'leave_to_me',
|
|
852
|
+
'odoo-accounting.odoo_accounting_create_vendor_bill': 'leave_to_me',
|
|
853
|
+
'odoo-accounting.odoo_accounting_explain_account_balance': 'do_it',
|
|
854
|
+
'odoo-accounting.odoo_accounting_general_ledger': 'do_it',
|
|
855
|
+
'odoo-accounting.odoo_accounting_get_asset': 'do_it',
|
|
856
|
+
'odoo-accounting.odoo_accounting_get_bank_line': 'do_it',
|
|
857
|
+
'odoo-accounting.odoo_accounting_get_invoice': 'do_it',
|
|
858
|
+
'odoo-accounting.odoo_accounting_get_journal_entry': 'do_it',
|
|
859
|
+
'odoo-accounting.odoo_accounting_get_lock_dates': 'do_it',
|
|
860
|
+
'odoo-accounting.odoo_accounting_get_tax_return': 'do_it',
|
|
861
|
+
'odoo-accounting.odoo_accounting_get_tax_settings': 'do_it',
|
|
862
|
+
'odoo-accounting.odoo_accounting_link_bank_feed': 'leave_to_me',
|
|
863
|
+
'odoo-accounting.odoo_accounting_list_accounts': 'do_it',
|
|
864
|
+
'odoo-accounting.odoo_accounting_list_assets': 'do_it',
|
|
865
|
+
'odoo-accounting.odoo_accounting_list_bank_feeds': 'do_it',
|
|
866
|
+
'odoo-accounting.odoo_accounting_list_bank_lines': 'do_it',
|
|
867
|
+
'odoo-accounting.odoo_accounting_list_currency_rates': 'do_it',
|
|
868
|
+
'odoo-accounting.odoo_accounting_list_invoices': 'do_it',
|
|
869
|
+
'odoo-accounting.odoo_accounting_list_journal_entries': 'do_it',
|
|
870
|
+
'odoo-accounting.odoo_accounting_list_journals': 'do_it',
|
|
871
|
+
'odoo-accounting.odoo_accounting_list_open_balances': 'do_it',
|
|
872
|
+
'odoo-accounting.odoo_accounting_list_partners': 'do_it',
|
|
873
|
+
'odoo-accounting.odoo_accounting_list_tax_grid_lines': 'do_it',
|
|
874
|
+
'odoo-accounting.odoo_accounting_list_tax_returns': 'do_it',
|
|
875
|
+
'odoo-accounting.odoo_accounting_list_taxes': 'do_it',
|
|
876
|
+
'odoo-accounting.odoo_accounting_list_untagged_tax_lines': 'do_it',
|
|
877
|
+
'odoo-accounting.odoo_accounting_match_bank_line': 'leave_to_me',
|
|
878
|
+
'odoo-accounting.odoo_accounting_partner_ledger': 'do_it',
|
|
879
|
+
'odoo-accounting.odoo_accounting_post_invoice': 'leave_to_me',
|
|
880
|
+
'odoo-accounting.odoo_accounting_post_journal_entry': 'leave_to_me',
|
|
881
|
+
'odoo-accounting.odoo_accounting_reconcile_lines': 'leave_to_me',
|
|
882
|
+
'odoo-accounting.odoo_accounting_remove_duplicate_bank_lines': 'leave_to_me',
|
|
883
|
+
'odoo-accounting.odoo_accounting_reset_bank_line': 'leave_to_me',
|
|
884
|
+
'odoo-accounting.odoo_accounting_set_currency_rates': 'leave_to_me',
|
|
885
|
+
'odoo-accounting.odoo_accounting_set_lock_date': 'leave_to_me',
|
|
886
|
+
'odoo-accounting.odoo_accounting_set_tax_grids': 'leave_to_me',
|
|
887
|
+
'odoo-accounting.odoo_accounting_set_tax_periodicity': 'leave_to_me',
|
|
888
|
+
'odoo-accounting.odoo_accounting_suggest_bank_matches': 'do_it',
|
|
889
|
+
'odoo-accounting.odoo_accounting_suggest_reconciliations': 'do_it',
|
|
890
|
+
'odoo-accounting.odoo_accounting_tax_grids': 'do_it',
|
|
891
|
+
'odoo-accounting.odoo_accounting_trial_balance': 'do_it',
|
|
892
|
+
'odoo-accounting.odoo_accounting_unreconcile_lines': 'leave_to_me',
|
|
893
|
+
},
|
|
822
894
|
'pipeline-report': {},
|
|
823
895
|
'quote-calculator': {},
|
|
824
896
|
'report-from-a-file': {},
|
|
@@ -840,9 +912,13 @@ export const APP_BEHAVIOURS = {
|
|
|
840
912
|
*/
|
|
841
913
|
export const APP_ESCALATIONS = {
|
|
842
914
|
accounting: {},
|
|
915
|
+
'change-detection': {},
|
|
916
|
+
'crop-monitoring': {},
|
|
843
917
|
'customer-interview': {},
|
|
844
918
|
'data-quality': {},
|
|
845
919
|
decide: {},
|
|
920
|
+
'disaster-assessment': {},
|
|
921
|
+
'event-response': {},
|
|
846
922
|
'inbox-triage': {
|
|
847
923
|
'google-workspace.batch_modify_gmail_message_labels': [
|
|
848
924
|
{
|
|
@@ -878,6 +954,7 @@ export const APP_ESCALATIONS = {
|
|
|
878
954
|
],
|
|
879
955
|
},
|
|
880
956
|
'model-choice': {},
|
|
957
|
+
'month-end-close': {},
|
|
881
958
|
'pipeline-report': {},
|
|
882
959
|
'quote-calculator': {},
|
|
883
960
|
'report-from-a-file': {},
|
package/lib/specs/apps.d.ts
CHANGED
|
@@ -9,11 +9,16 @@
|
|
|
9
9
|
*/
|
|
10
10
|
import type { AppBuilt, AppKind, AppSpec } from '../types/agentspecs';
|
|
11
11
|
export declare const ACCOUNTING_APP_0_0_1: AppSpec;
|
|
12
|
+
export declare const CHANGE_DETECTION_APP_0_0_1: AppSpec;
|
|
13
|
+
export declare const CROP_MONITORING_APP_0_0_1: AppSpec;
|
|
12
14
|
export declare const CUSTOMER_INTERVIEW_APP_0_0_1: AppSpec;
|
|
13
15
|
export declare const DATA_QUALITY_APP_0_0_1: AppSpec;
|
|
14
16
|
export declare const DECIDE_APP_0_0_1: AppSpec;
|
|
17
|
+
export declare const DISASTER_ASSESSMENT_APP_0_0_1: AppSpec;
|
|
18
|
+
export declare const EVENT_RESPONSE_APP_0_0_1: AppSpec;
|
|
15
19
|
export declare const INBOX_TRIAGE_APP_0_0_1: AppSpec;
|
|
16
20
|
export declare const MODEL_CHOICE_APP_0_0_1: AppSpec;
|
|
21
|
+
export declare const MONTH_END_CLOSE_APP_0_0_1: AppSpec;
|
|
17
22
|
export declare const PIPELINE_REPORT_APP_0_0_1: AppSpec;
|
|
18
23
|
export declare const QUOTE_CALCULATOR_APP_0_0_1: AppSpec;
|
|
19
24
|
export declare const REPORT_FROM_A_FILE_APP_0_0_1: AppSpec;
|