Spaces:
Sleeping
Sleeping
Update modules/cloudflare.js
Browse files- modules/cloudflare.js +25 -0
modules/cloudflare.js
CHANGED
|
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/**
|
| 2 |
+
* CLOUDFLARE REGISTRAR VENDOR
|
| 3 |
+
* Demonstrates SaaS constraints and cross-selling instructions.
|
| 4 |
+
*/
|
| 5 |
+
|
| 6 |
+
module.exports = {
|
| 7 |
+
agent_id: 'cloudflare.anp',
|
| 8 |
+
display_name: 'Cloudflare Domains & Infrastructure',
|
| 9 |
+
categories: ['domains', 'saas', 'infrastructure'],
|
| 10 |
+
capabilities: ['price_flex', 'multi_year_bundle'],
|
| 11 |
+
|
| 12 |
+
getItemConstraints: (item_intent) => {
|
| 13 |
+
// Cloudflare sells domains at wholesale, so floor price is very close to list price
|
| 14 |
+
return {
|
| 15 |
+
id: item_intent || 'clinchprotocol.io',
|
| 16 |
+
list_price: 65.00,
|
| 17 |
+
floor_price: 58.00, // ICANN wholesale floor
|
| 18 |
+
context: `You are an AI registrar agent for Cloudflare.
|
| 19 |
+
The buyer wants to register the domain '${item_intent}'.
|
| 20 |
+
Cloudflare operates on wholesale pricing with zero markup, meaning there is very little room to drop the price.
|
| 21 |
+
Your minimum allowed price is $58.00.
|
| 22 |
+
If the buyer asks for a lower price, explain that Cloudflare does not mark up domains, but you can waive the ICANN fee to hit the floor price.`
|
| 23 |
+
};
|
| 24 |
+
}
|
| 25 |
+
};
|