@datalayer/agent-runtimes 1.6.74 โ 1.6.77
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 +3 -3
- package/lib/specs/actions.js +2 -0
- package/lib/specs/apps.d.ts +1 -0
- package/lib/specs/apps.js +188 -0
- package/lib/specs/scenes.d.ts +1 -0
- package/lib/specs/scenes.js +251 -0
- package/lib/specs/stages.d.ts +1 -0
- package/lib/specs/stages.js +18 -0
- package/lib/specs/teams/teams.d.ts +1 -0
- package/lib/specs/teams/teams.js +77 -0
- package/package.json +1 -1
package/lib/specs/teams/teams.js
CHANGED
|
@@ -572,6 +572,82 @@ export const AUTOMATE_REGULATORY_REPORTING_TEAM_SPEC_0_0_1 = {
|
|
|
572
572
|
storage: 's3://reports/regulatory-submissions/',
|
|
573
573
|
},
|
|
574
574
|
};
|
|
575
|
+
export const BUY_FROM_A_SHOP_TEAM_SPEC_0_0_1 = {
|
|
576
|
+
id: 'buy-from-a-shop',
|
|
577
|
+
version: '0.0.1',
|
|
578
|
+
name: 'Buy from a shop',
|
|
579
|
+
description: `A person's Shopper in the browser that buys from the Demo Shop, a company application on a runtime, over A2A: the shop finds its products with their photos, quotes the basket and places a test order โ nothing is charged and nothing ships.`,
|
|
580
|
+
tags: ['example', 'shopping', 'commerce', 'a2a', 'companies'],
|
|
581
|
+
enabled: true,
|
|
582
|
+
icon: 'gift',
|
|
583
|
+
emoji: '๐๏ธ',
|
|
584
|
+
color: 'yellow',
|
|
585
|
+
agentSpecId: '',
|
|
586
|
+
orchestrationProtocol: 'a2a',
|
|
587
|
+
executionMode: 'supervisor',
|
|
588
|
+
supervisor: {
|
|
589
|
+
name: 'Shopper',
|
|
590
|
+
ref: '',
|
|
591
|
+
app: 'shopper:0.0.2',
|
|
592
|
+
model: '',
|
|
593
|
+
goal: ``,
|
|
594
|
+
instructions: ``,
|
|
595
|
+
approval: 'auto',
|
|
596
|
+
canTerminate: true,
|
|
597
|
+
},
|
|
598
|
+
routingInstructions: `The Shopper asks the Demo Shop for every product, quote and order, one request each time, and reports what the shop answers without adding to it.`,
|
|
599
|
+
entry: 'shopper',
|
|
600
|
+
suggestions: [
|
|
601
|
+
{
|
|
602
|
+
text: 'Find me what the shop has for tennis, and say which you would pick.',
|
|
603
|
+
emoji: '๐พ',
|
|
604
|
+
},
|
|
605
|
+
{ text: 'Quote two tennis balls and the tennis racket.', emoji: '๐งพ' },
|
|
606
|
+
{ text: 'Place the test order for that basket.', emoji: '๐ฆ' },
|
|
607
|
+
],
|
|
608
|
+
delegation: {
|
|
609
|
+
maxDepth: 1,
|
|
610
|
+
allowPeerDelegation: true,
|
|
611
|
+
includeGeneralPurpose: false,
|
|
612
|
+
},
|
|
613
|
+
context: { sharing: 'shared' },
|
|
614
|
+
validation: { timeout: '300s', retryOnFailure: false, maxRetries: 0 },
|
|
615
|
+
agents: [
|
|
616
|
+
{
|
|
617
|
+
id: 'shopper',
|
|
618
|
+
name: '',
|
|
619
|
+
ref: '',
|
|
620
|
+
app: 'shopper:0.0.2',
|
|
621
|
+
runsIn: 'browser',
|
|
622
|
+
talksTo: [{ member: 'demo-shop', over: 'a2a' }],
|
|
623
|
+
role: 'initiator',
|
|
624
|
+
goal: `Take the person's request, ask the Demo Shop for it, and hand over what the shop answered.`,
|
|
625
|
+
dependsOn: [],
|
|
626
|
+
subagents: [],
|
|
627
|
+
model: '',
|
|
628
|
+
mcpServer: '',
|
|
629
|
+
tools: [],
|
|
630
|
+
trigger: '',
|
|
631
|
+
approval: 'auto',
|
|
632
|
+
},
|
|
633
|
+
{
|
|
634
|
+
id: 'demo-shop',
|
|
635
|
+
name: '',
|
|
636
|
+
ref: '',
|
|
637
|
+
app: 'demo-shop:0.0.1',
|
|
638
|
+
runsIn: 'runtime',
|
|
639
|
+
role: 'contributor',
|
|
640
|
+
goal: `Answer from the shop's own catalogue over A2A: its products with their photos, a basket quoted, a test order placed once asked.`,
|
|
641
|
+
dependsOn: [],
|
|
642
|
+
subagents: [],
|
|
643
|
+
model: '',
|
|
644
|
+
mcpServer: '',
|
|
645
|
+
tools: [],
|
|
646
|
+
trigger: '',
|
|
647
|
+
approval: 'auto',
|
|
648
|
+
},
|
|
649
|
+
],
|
|
650
|
+
};
|
|
575
651
|
export const CODING_AGENTS_TEAM_SPEC_0_0_1 = {
|
|
576
652
|
id: 'coding-agents',
|
|
577
653
|
version: '0.0.1',
|
|
@@ -2011,6 +2087,7 @@ export const TEAM_SPECS = {
|
|
|
2011
2087
|
'analyze-support-tickets': ANALYZE_SUPPORT_TICKETS_TEAM_SPEC_0_0_1,
|
|
2012
2088
|
'audit-inventory-levels': AUDIT_INVENTORY_LEVELS_TEAM_SPEC_0_0_1,
|
|
2013
2089
|
'automate-regulatory-reporting': AUTOMATE_REGULATORY_REPORTING_TEAM_SPEC_0_0_1,
|
|
2090
|
+
'buy-from-a-shop': BUY_FROM_A_SHOP_TEAM_SPEC_0_0_1,
|
|
2014
2091
|
'coding-agents': CODING_AGENTS_TEAM_SPEC_0_0_1,
|
|
2015
2092
|
'comprehensive-sales-analytics': COMPREHENSIVE_SALES_ANALYTICS_TEAM_SPEC_0_0_1,
|
|
2016
2093
|
'crop-monitoring': CROP_MONITORING_TEAM_SPEC_0_0_2,
|