@adcp/client 4.9.0 → 4.10.0
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/bin/adcp.js +338 -0
- package/dist/lib/core/AgentClient.d.ts +92 -1
- package/dist/lib/core/AgentClient.d.ts.map +1 -1
- package/dist/lib/core/AgentClient.js +237 -0
- package/dist/lib/core/AgentClient.js.map +1 -1
- package/dist/lib/core/AsyncHandler.d.ts +18 -1
- package/dist/lib/core/AsyncHandler.d.ts.map +1 -1
- package/dist/lib/core/AsyncHandler.js.map +1 -1
- package/dist/lib/core/SingleAgentClient.d.ts +69 -1
- package/dist/lib/core/SingleAgentClient.d.ts.map +1 -1
- package/dist/lib/core/SingleAgentClient.js +106 -0
- package/dist/lib/core/SingleAgentClient.js.map +1 -1
- package/dist/lib/registry/types.generated.d.ts +12 -12
- package/dist/lib/registry/types.generated.js +1 -1
- package/dist/lib/testing/agent-tester.d.ts.map +1 -1
- package/dist/lib/testing/agent-tester.js.map +1 -1
- package/dist/lib/testing/client.d.ts +6 -1
- package/dist/lib/testing/client.d.ts.map +1 -1
- package/dist/lib/testing/client.js +36 -19
- package/dist/lib/testing/client.js.map +1 -1
- package/dist/lib/testing/compliance/briefs.d.ts +12 -0
- package/dist/lib/testing/compliance/briefs.d.ts.map +1 -0
- package/dist/lib/testing/compliance/briefs.js +157 -0
- package/dist/lib/testing/compliance/briefs.js.map +1 -0
- package/dist/lib/testing/compliance/comply.d.ts +26 -0
- package/dist/lib/testing/compliance/comply.d.ts.map +1 -0
- package/dist/lib/testing/compliance/comply.js +540 -0
- package/dist/lib/testing/compliance/comply.js.map +1 -0
- package/dist/lib/testing/compliance/convince.d.ts +27 -0
- package/dist/lib/testing/compliance/convince.d.ts.map +1 -0
- package/dist/lib/testing/compliance/convince.js +418 -0
- package/dist/lib/testing/compliance/convince.js.map +1 -0
- package/dist/lib/testing/compliance/index.d.ts +13 -0
- package/dist/lib/testing/compliance/index.d.ts.map +1 -0
- package/dist/lib/testing/compliance/index.js +22 -0
- package/dist/lib/testing/compliance/index.js.map +1 -0
- package/dist/lib/testing/compliance/types.d.ts +123 -0
- package/dist/lib/testing/compliance/types.d.ts.map +1 -0
- package/dist/lib/testing/compliance/types.js +9 -0
- package/dist/lib/testing/compliance/types.js.map +1 -0
- package/dist/lib/testing/index.d.ts +1 -0
- package/dist/lib/testing/index.d.ts.map +1 -1
- package/dist/lib/testing/index.js +15 -1
- package/dist/lib/testing/index.js.map +1 -1
- package/dist/lib/testing/scenarios/capabilities.d.ts.map +1 -1
- package/dist/lib/testing/scenarios/capabilities.js +14 -13
- package/dist/lib/testing/scenarios/capabilities.js.map +1 -1
- package/dist/lib/testing/scenarios/creative.d.ts.map +1 -1
- package/dist/lib/testing/scenarios/creative.js +21 -14
- package/dist/lib/testing/scenarios/creative.js.map +1 -1
- package/dist/lib/testing/scenarios/discovery.d.ts.map +1 -1
- package/dist/lib/testing/scenarios/discovery.js +7 -5
- package/dist/lib/testing/scenarios/discovery.js.map +1 -1
- package/dist/lib/testing/scenarios/edge-cases.d.ts.map +1 -1
- package/dist/lib/testing/scenarios/edge-cases.js +90 -112
- package/dist/lib/testing/scenarios/edge-cases.js.map +1 -1
- package/dist/lib/testing/scenarios/governance.d.ts.map +1 -1
- package/dist/lib/testing/scenarios/governance.js +50 -39
- package/dist/lib/testing/scenarios/governance.js.map +1 -1
- package/dist/lib/testing/scenarios/media-buy.d.ts +6 -5
- package/dist/lib/testing/scenarios/media-buy.d.ts.map +1 -1
- package/dist/lib/testing/scenarios/media-buy.js +140 -51
- package/dist/lib/testing/scenarios/media-buy.js.map +1 -1
- package/dist/lib/testing/scenarios/schema-compliance.d.ts.map +1 -1
- package/dist/lib/testing/scenarios/schema-compliance.js +26 -22
- package/dist/lib/testing/scenarios/schema-compliance.js.map +1 -1
- package/dist/lib/testing/scenarios/signals.d.ts +4 -8
- package/dist/lib/testing/scenarios/signals.d.ts.map +1 -1
- package/dist/lib/testing/scenarios/signals.js +17 -59
- package/dist/lib/testing/scenarios/signals.js.map +1 -1
- package/dist/lib/testing/scenarios/sponsored-intelligence.d.ts.map +1 -1
- package/dist/lib/testing/scenarios/sponsored-intelligence.js +23 -19
- package/dist/lib/testing/scenarios/sponsored-intelligence.js.map +1 -1
- package/dist/lib/testing/types.d.ts +2 -1
- package/dist/lib/testing/types.d.ts.map +1 -1
- package/dist/lib/types/core.generated.d.ts +1 -1
- package/dist/lib/types/core.generated.d.ts.map +1 -1
- package/dist/lib/types/core.generated.js +1 -1
- package/dist/lib/types/schemas.generated.d.ts +35 -35
- package/dist/lib/types/schemas.generated.d.ts.map +1 -1
- package/dist/lib/types/schemas.generated.js +2 -2
- package/dist/lib/types/schemas.generated.js.map +1 -1
- package/dist/lib/types/tools.generated.d.ts +1 -1
- package/dist/lib/types/tools.generated.d.ts.map +1 -1
- package/package.json +5 -2
|
@@ -0,0 +1,157 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Sample Brief Library for Convince Assessment
|
|
4
|
+
*
|
|
5
|
+
* Curated briefs across verticals, objectives, and constraints.
|
|
6
|
+
* Each brief includes evaluation hints that guide the AI assessor
|
|
7
|
+
* on what a strong response looks like.
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
exports.SAMPLE_BRIEFS = void 0;
|
|
11
|
+
exports.getBriefById = getBriefById;
|
|
12
|
+
exports.getBriefsByVertical = getBriefsByVertical;
|
|
13
|
+
exports.SAMPLE_BRIEFS = [
|
|
14
|
+
{
|
|
15
|
+
id: 'luxury_auto_ev',
|
|
16
|
+
name: 'Luxury Auto EV Launch',
|
|
17
|
+
vertical: 'Automotive',
|
|
18
|
+
brief: 'Luxury automotive brand launching a new electric crossover SUV. ' +
|
|
19
|
+
'Targeting high-income households ($150K+ HHI), ages 30-55, in major US metros. ' +
|
|
20
|
+
'Need high-impact video and premium display placements. ' +
|
|
21
|
+
'$500,000 budget, Q3 flight (July-September). ' +
|
|
22
|
+
'Key message: "The future of luxury driving." Brand safety is critical — no UGC or controversial adjacency.',
|
|
23
|
+
evaluation_hints: 'Strong response returns both video AND display products (the brief explicitly asks for both). ' +
|
|
24
|
+
'Products should reference auto/luxury vertical targeting or premium audience segments. ' +
|
|
25
|
+
'Pricing should make sense for a $500K budget. ' +
|
|
26
|
+
'Products with audience targeting fields populated score higher. ' +
|
|
27
|
+
'Weak response: only one format, generic descriptions, no audience data.',
|
|
28
|
+
budget_context: '$500,000 total campaign budget',
|
|
29
|
+
expected_channels: ['display', 'olv', 'ctv'],
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
id: 'dtc_skincare_genZ',
|
|
33
|
+
name: 'DTC Skincare Gen Z Sprint',
|
|
34
|
+
vertical: 'Beauty & Personal Care',
|
|
35
|
+
brief: 'Direct-to-consumer skincare brand targeting Gen Z females (18-25). ' +
|
|
36
|
+
'Social-first campaign with UGC-style creative preferred. ' +
|
|
37
|
+
'$50,000 test budget, 2-week sprint. ' +
|
|
38
|
+
'Goal is driving trial purchases through a 20% off promo code. ' +
|
|
39
|
+
'Performance-oriented: need clear CPA/CPC pricing.',
|
|
40
|
+
evaluation_hints: 'Strong response returns products with performance pricing models (CPC, CPA) — not just CPM. ' +
|
|
41
|
+
'Social or native placements are ideal given the brief. ' +
|
|
42
|
+
'Products should be appropriate for a $50K test budget (not enterprise minimums). ' +
|
|
43
|
+
'Audience targeting for younger demographics is a plus. ' +
|
|
44
|
+
'Weak response: only premium CPM products, high minimums, no performance options.',
|
|
45
|
+
budget_context: '$50,000 test budget',
|
|
46
|
+
expected_channels: ['social', 'display'],
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
id: 'b2b_saas_awareness',
|
|
50
|
+
name: 'B2B SaaS Brand Awareness',
|
|
51
|
+
vertical: 'Technology / B2B',
|
|
52
|
+
brief: 'Enterprise SaaS company building brand awareness among IT decision-makers and C-suite executives. ' +
|
|
53
|
+
'Looking for premium editorial environments — business, technology, and finance publishers. ' +
|
|
54
|
+
'$200,000 budget over 6 weeks. ' +
|
|
55
|
+
'Display and native content placements preferred. CTV is acceptable if targeting is precise. ' +
|
|
56
|
+
'Viewability benchmarks are important — need 70%+ viewability guarantee.',
|
|
57
|
+
evaluation_hints: 'Strong response returns products with premium publisher placements (not just programmatic remnant). ' +
|
|
58
|
+
'Products mentioning B2B audience segments, professional targeting, or contextual targeting score higher. ' +
|
|
59
|
+
'Viewability guarantees or benchmarks in the product metadata are valuable. ' +
|
|
60
|
+
'Native content placements alongside editorial content are ideal. ' +
|
|
61
|
+
'Weak response: generic display products with no premium differentiation.',
|
|
62
|
+
budget_context: '$200,000 over 6 weeks',
|
|
63
|
+
expected_channels: ['display', 'ctv'],
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
id: 'restaurant_local',
|
|
67
|
+
name: 'Restaurant Chain Local Promotion',
|
|
68
|
+
vertical: 'QSR / Restaurant',
|
|
69
|
+
brief: 'Regional restaurant chain promoting a new menu launch across 15 metro areas. ' +
|
|
70
|
+
'Need geo-targeted mobile and display ads within 5-mile radius of each location. ' +
|
|
71
|
+
'$75,000 budget, 3-week flight. ' +
|
|
72
|
+
'Audio/podcast ads are also interesting if available. ' +
|
|
73
|
+
'Performance tracking: need foot traffic attribution or store visit metrics.',
|
|
74
|
+
evaluation_hints: 'Strong response returns products with geo-targeting capabilities at the metro or zip level. ' +
|
|
75
|
+
'Mobile-specific products score higher given the local intent. ' +
|
|
76
|
+
'Audio/podcast products show catalog breadth. ' +
|
|
77
|
+
'Products with attribution/measurement capabilities (foot traffic, store visits) are very valuable. ' +
|
|
78
|
+
'Weak response: national-only products with no geo-targeting capability.',
|
|
79
|
+
budget_context: '$75,000 across 15 metros',
|
|
80
|
+
expected_channels: ['display', 'streaming_audio', 'podcast', 'dooh'],
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
id: 'streaming_ctv_entertainment',
|
|
84
|
+
name: 'Streaming Service CTV Campaign',
|
|
85
|
+
vertical: 'Entertainment / Media',
|
|
86
|
+
brief: 'Major streaming service promoting original content launch. ' +
|
|
87
|
+
'CTV and OLV-focused campaign targeting cord-cutters ages 18-49. ' +
|
|
88
|
+
'$1,000,000 budget, 4-week premiere window. ' +
|
|
89
|
+
'Need non-skippable pre-roll and mid-roll video placements. ' +
|
|
90
|
+
'Frequency cap of 3x/week per household. ' +
|
|
91
|
+
'Must support VAST 4.2 tags.',
|
|
92
|
+
evaluation_hints: 'Strong response returns CTV and OLV products with clear video format specifications. ' +
|
|
93
|
+
'Products should mention non-skip capabilities, VAST support, or programmatic video standards. ' +
|
|
94
|
+
'Frequency capping capability in the product metadata is important. ' +
|
|
95
|
+
'Premium/long-form video inventory scores higher than short-form. ' +
|
|
96
|
+
'Weak response: display-only products, no video inventory, no mention of VAST/video specs.',
|
|
97
|
+
budget_context: '$1,000,000 premiere campaign',
|
|
98
|
+
expected_channels: ['ctv', 'olv'],
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
id: 'ecommerce_holiday',
|
|
102
|
+
name: 'E-Commerce Holiday Retargeting',
|
|
103
|
+
vertical: 'Retail / E-Commerce',
|
|
104
|
+
brief: 'E-commerce retailer running holiday retargeting campaign. ' +
|
|
105
|
+
'Targeting past site visitors and cart abandoners with dynamic product ads. ' +
|
|
106
|
+
'$150,000 budget across Black Friday through Cyber Monday (5 days). ' +
|
|
107
|
+
'Need dynamic creative optimization and product feed integration. ' +
|
|
108
|
+
'Pricing: CPC or CPA preferred for direct response.',
|
|
109
|
+
evaluation_hints: 'Strong response returns products supporting dynamic creative, retargeting audiences, or product feed integration. ' +
|
|
110
|
+
'CPC/CPA pricing models are better fits than CPM for this performance brief. ' +
|
|
111
|
+
'Products with audience targeting or first-party data capabilities score higher. ' +
|
|
112
|
+
'Short flight window means products should support fast activation. ' +
|
|
113
|
+
'Weak response: awareness-only products, no performance pricing, no dynamic creative capabilities.',
|
|
114
|
+
budget_context: '$150,000 over 5 days (intensive)',
|
|
115
|
+
expected_channels: ['display', 'social'],
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
id: 'pharma_awareness',
|
|
119
|
+
name: 'Pharmaceutical HCP Campaign',
|
|
120
|
+
vertical: 'Healthcare / Pharma',
|
|
121
|
+
brief: 'Pharmaceutical company promoting a new treatment to healthcare professionals (HCPs). ' +
|
|
122
|
+
'Targeting physicians, pharmacists, and nurse practitioners in oncology. ' +
|
|
123
|
+
'Need endemic medical publisher placements — JAMA, Medscape, WebMD Pro. ' +
|
|
124
|
+
'$300,000 budget, 8-week awareness flight. ' +
|
|
125
|
+
'Strict regulatory compliance: all ads must include ISI (Important Safety Information). ' +
|
|
126
|
+
'No programmatic open exchange — direct or PMP only.',
|
|
127
|
+
evaluation_hints: 'Strong response returns products on medical/healthcare publisher inventory with HCP targeting. ' +
|
|
128
|
+
'Direct or PMP deal types (not open exchange) match the brief requirements. ' +
|
|
129
|
+
'Products mentioning compliance, regulatory support, or ISI handling score higher. ' +
|
|
130
|
+
'Endemic publisher inventory is more valuable than general programmatic for this brief. ' +
|
|
131
|
+
'Weak response: open exchange programmatic with no vertical targeting or compliance features.',
|
|
132
|
+
budget_context: '$300,000 over 8 weeks',
|
|
133
|
+
expected_channels: ['display'],
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
id: 'small_budget_test',
|
|
137
|
+
name: 'Small Budget Performance Test',
|
|
138
|
+
vertical: 'General',
|
|
139
|
+
brief: 'Small business testing digital advertising for the first time. ' +
|
|
140
|
+
'$5,000 total budget, 2-week test. ' +
|
|
141
|
+
'Looking for the most efficient way to drive website traffic. ' +
|
|
142
|
+
'Open to any format or channel. Needs clear reporting.',
|
|
143
|
+
evaluation_hints: 'Strong response returns accessible products with low minimums that work at $5K scale. ' +
|
|
144
|
+
'CPC pricing is ideal for traffic-driving goals. ' +
|
|
145
|
+
'Products should be actionable without complex setup. ' +
|
|
146
|
+
'Showing variety of options at accessible price points demonstrates good catalog design. ' +
|
|
147
|
+
'Weak response: enterprise-only products with $50K minimums, or no products at this budget level.',
|
|
148
|
+
budget_context: '$5,000 total (very small)',
|
|
149
|
+
},
|
|
150
|
+
];
|
|
151
|
+
function getBriefById(id) {
|
|
152
|
+
return exports.SAMPLE_BRIEFS.find(b => b.id === id);
|
|
153
|
+
}
|
|
154
|
+
function getBriefsByVertical(vertical) {
|
|
155
|
+
return exports.SAMPLE_BRIEFS.filter(b => b.vertical.toLowerCase().includes(vertical.toLowerCase()));
|
|
156
|
+
}
|
|
157
|
+
//# sourceMappingURL=briefs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"briefs.js","sourceRoot":"","sources":["../../../../src/lib/testing/compliance/briefs.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;AA+JH,oCAEC;AAED,kDAEC;AAjKY,QAAA,aAAa,GAAkB;IAC1C;QACE,EAAE,EAAE,gBAAgB;QACpB,IAAI,EAAE,uBAAuB;QAC7B,QAAQ,EAAE,YAAY;QACtB,KAAK,EACH,kEAAkE;YAClE,iFAAiF;YACjF,yDAAyD;YACzD,+CAA+C;YAC/C,4GAA4G;QAC9G,gBAAgB,EACd,gGAAgG;YAChG,yFAAyF;YACzF,gDAAgD;YAChD,kEAAkE;YAClE,yEAAyE;QAC3E,cAAc,EAAE,gCAAgC;QAChD,iBAAiB,EAAE,CAAC,SAAS,EAAE,KAAK,EAAE,KAAK,CAAC;KAC7C;IACD;QACE,EAAE,EAAE,mBAAmB;QACvB,IAAI,EAAE,2BAA2B;QACjC,QAAQ,EAAE,wBAAwB;QAClC,KAAK,EACH,qEAAqE;YACrE,2DAA2D;YAC3D,sCAAsC;YACtC,gEAAgE;YAChE,mDAAmD;QACrD,gBAAgB,EACd,8FAA8F;YAC9F,yDAAyD;YACzD,mFAAmF;YACnF,yDAAyD;YACzD,kFAAkF;QACpF,cAAc,EAAE,qBAAqB;QACrC,iBAAiB,EAAE,CAAC,QAAQ,EAAE,SAAS,CAAC;KACzC;IACD;QACE,EAAE,EAAE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4
|
+
* Runs all applicable capability tracks against an agent
|
|
5
|
+
* and reports results for every track — never stops at the first failure.
|
|
6
|
+
*/
|
|
7
|
+
import type { TestOptions } from '../types';
|
|
8
|
+
import type { ComplianceTrack, ComplianceResult } from './types';
|
|
9
|
+
export interface ComplyOptions extends TestOptions {
|
|
10
|
+
/** Only run specific tracks (default: all applicable) */
|
|
11
|
+
tracks?: ComplianceTrack[];
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* Run compliance assessment against an agent.
|
|
15
|
+
* Assesses all applicable tracks independently — never stops at first failure.
|
|
16
|
+
*/
|
|
17
|
+
export declare function comply(agentUrl: string, options?: ComplyOptions): Promise<ComplianceResult>;
|
|
18
|
+
/**
|
|
19
|
+
* Format compliance results for terminal display.
|
|
20
|
+
*/
|
|
21
|
+
export declare function formatComplianceResults(result: ComplianceResult): string;
|
|
22
|
+
/**
|
|
23
|
+
* Format compliance results as JSON.
|
|
24
|
+
*/
|
|
25
|
+
export declare function formatComplianceResultsJSON(result: ComplianceResult): string;
|
|
26
|
+
//# sourceMappingURL=comply.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"comply.d.ts","sourceRoot":"","sources":["../../../../src/lib/testing/compliance/comply.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAKH,OAAO,KAAK,EAAgB,WAAW,EAA4B,MAAM,UAAU,CAAC;AACpF,OAAO,KAAK,EACV,eAAe,EAGf,gBAAgB,EAGjB,MAAM,SAAS,CAAC;AA0OjB,MAAM,WAAW,aAAc,SAAQ,WAAW;IAChD,yDAAyD;IACzD,MAAM,CAAC,EAAE,eAAe,EAAE,CAAC;CAC5B;AAED;;;GAGG;AACH,wBAAsB,MAAM,CAAC,QAAQ,EAAE,MAAM,EAAE,OAAO,GAAE,aAAkB,GAAG,OAAO,CAAC,gBAAgB,CAAC,CAyLrG;AA4BD;;GAEG;AACH,wBAAgB,uBAAuB,CAAC,MAAM,EAAE,gBAAgB,GAAG,MAAM,CA+ExE;AAED;;GAEG;AACH,wBAAgB,2BAA2B,CAAC,MAAM,EAAE,gBAAgB,GAAG,MAAM,CAE5E"}
|