From c5271eeeab840976370ab6d24ee62da2a5862d22 Mon Sep 17 00:00:00 2001 From: a2a-platform Date: Sun, 19 Jul 2026 22:28:25 +0000 Subject: [PATCH] deploy --- .a2a/agent.dsl.json | 743 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 743 insertions(+) create mode 100644 .a2a/agent.dsl.json diff --git a/.a2a/agent.dsl.json b/.a2a/agent.dsl.json new file mode 100644 index 0000000..c8d5d15 --- /dev/null +++ b/.a2a/agent.dsl.json @@ -0,0 +1,743 @@ +{ + "schema_version": "2026-06-04", + "language": "python", + "name": "production-proof-v116-high-utili-7255-3", + "description": "One-page B2B sales ops dashboard that turns recurring operational updates into filters, trends, exceptions, durable history, receipts, downloadable outputs, and MCP-callable tools.", + "version": "0.1.0", + "entrypoint": { + "module": "agent", + "class_name": "ProductionProofV116HighUtili72553", + "function": null, + "command": [] + }, + "skills": [ + { + "name": "build_dashboard", + "description": "Build and persist a one-page B2B sales operations dashboard with filters, trends, exceptions, history, receipt, and CSV artifact.", + "handler": "build_dashboard", + "tags": [], + "scopes": [], + "stream": false, + "policy": { + "timeout_seconds": 60.0, + "idempotent": false, + "max_retries": 0, + "cost_class": "standard", + "allow_scope_expansion": false, + "grant_mode": "read_write_overlay", + "grant_allow_patterns": [ + "outputs/dashboards/**" + ], + "grant_deny_patterns": [], + "grant_outputs_prefix": "outputs/dashboards/", + "grant_write_prefixes": [ + "outputs/dashboards/" + ], + "grant_ttl_seconds": null, + "grant_run_timeout_seconds": null, + "grant_approval_timeout_seconds": null, + "grant_scope_approval_timeout_seconds": null + }, + "input_schema": { + "type": "object", + "properties": { + "request": { + "$defs": { + "SalesUpdate": { + "properties": { + "account": { + "maxLength": 80, + "minLength": 1, + "title": "Account", + "type": "string" + }, + "owner": { + "maxLength": 80, + "minLength": 1, + "title": "Owner", + "type": "string" + }, + "stage": { + "maxLength": 40, + "minLength": 1, + "title": "Stage", + "type": "string" + }, + "amount_usd": { + "maximum": 10000000, + "minimum": 0, + "title": "Amount Usd", + "type": "number" + }, + "forecast_category": { + "default": "pipeline", + "enum": [ + "commit", + "best_case", + "pipeline", + "omitted" + ], + "title": "Forecast Category", + "type": "string" + }, + "status": { + "default": "on_track", + "enum": [ + "on_track", + "at_risk", + "blocked", + "slipped", + "won", + "lost" + ], + "title": "Status", + "type": "string" + }, + "days_in_stage": { + "maximum": 365, + "minimum": 0, + "title": "Days In Stage", + "type": "integer" + }, + "update": { + "default": "", + "maxLength": 400, + "title": "Update", + "type": "string" + } + }, + "required": [ + "account", + "owner", + "stage", + "amount_usd", + "days_in_stage" + ], + "title": "SalesUpdate", + "type": "object" + } + }, + "properties": { + "dashboard_name": { + "default": "Weekly Sales Ops Pulse", + "maxLength": 80, + "minLength": 3, + "title": "Dashboard Name", + "type": "string" + }, + "segment": { + "default": "Mid-market", + "maxLength": 80, + "minLength": 1, + "title": "Segment", + "type": "string" + }, + "period_label": { + "default": "This week", + "maxLength": 60, + "minLength": 1, + "title": "Period Label", + "type": "string" + }, + "min_exception_amount_usd": { + "default": 25000, + "maximum": 10000000, + "minimum": 0, + "title": "Min Exception Amount Usd", + "type": "number" + }, + "updates": { + "items": { + "$ref": "#/$defs/SalesUpdate" + }, + "maxItems": 24, + "title": "Updates", + "type": "array" + }, + "notes": { + "default": "", + "maxLength": 6000, + "title": "Notes", + "type": "string" + } + }, + "title": "BuildDashboardRequest", + "type": "object" + } + }, + "required": [ + "request" + ], + "additionalProperties": false + }, + "output_schema": { + "$defs": { + "DashboardArtifact": { + "properties": { + "name": { + "title": "Name", + "type": "string" + }, + "media_type": { + "title": "Media Type", + "type": "string" + }, + "uri": { + "title": "Uri", + "type": "string" + }, + "size_bytes": { + "title": "Size Bytes", + "type": "integer" + }, + "content": { + "title": "Content", + "type": "string" + } + }, + "required": [ + "name", + "media_type", + "uri", + "size_bytes", + "content" + ], + "title": "DashboardArtifact", + "type": "object" + } + }, + "properties": { + "status": { + "enum": [ + "ok", + "setup_required", + "error" + ], + "title": "Status", + "type": "string" + }, + "dashboard_id": { + "title": "Dashboard Id", + "type": "string" + }, + "receipt_id": { + "title": "Receipt Id", + "type": "string" + }, + "dashboard-data": { + "items": { + "additionalProperties": true, + "type": "object" + }, + "title": "Dashboard-Data", + "type": "array" + }, + "filters": { + "additionalProperties": true, + "title": "Filters", + "type": "object" + }, + "trends": { + "items": { + "additionalProperties": true, + "type": "object" + }, + "title": "Trends", + "type": "array" + }, + "exceptions": { + "items": { + "additionalProperties": true, + "type": "object" + }, + "title": "Exceptions", + "type": "array" + }, + "history": { + "items": { + "additionalProperties": true, + "type": "object" + }, + "title": "History", + "type": "array" + }, + "summary": { + "title": "Summary", + "type": "string" + }, + "artifact": { + "anyOf": [ + { + "$ref": "#/$defs/DashboardArtifact" + }, + { + "type": "null" + } + ], + "default": null + } + }, + "required": [ + "status", + "dashboard_id", + "receipt_id", + "dashboard-data", + "filters", + "trends", + "exceptions", + "history", + "summary" + ], + "title": "DashboardResult", + "type": "object" + } + }, + { + "name": "list_dashboard_history", + "description": "List durable dashboard history for the signed-in user.", + "handler": "list_dashboard_history", + "tags": [], + "scopes": [], + "stream": false, + "policy": { + "timeout_seconds": 30.0, + "idempotent": true, + "max_retries": 0, + "cost_class": "cheap", + "allow_scope_expansion": false, + "grant_mode": null, + "grant_allow_patterns": [], + "grant_deny_patterns": [], + "grant_outputs_prefix": null, + "grant_write_prefixes": [], + "grant_ttl_seconds": null, + "grant_run_timeout_seconds": null, + "grant_approval_timeout_seconds": null, + "grant_scope_approval_timeout_seconds": null + }, + "input_schema": { + "type": "object", + "properties": { + "limit": { + "type": "integer" + } + }, + "required": [], + "additionalProperties": false + }, + "output_schema": { + "properties": { + "status": { + "enum": [ + "ok", + "setup_required", + "error" + ], + "title": "Status", + "type": "string" + }, + "history": { + "items": { + "additionalProperties": true, + "type": "object" + }, + "title": "History", + "type": "array" + } + }, + "required": [ + "status", + "history" + ], + "title": "HistoryResult", + "type": "object" + } + }, + { + "name": "run_scheduled_snapshot", + "description": "Idempotent scheduled sales dashboard snapshot. Safe for recurring platform schedule/MCP calls using a stable run key.", + "handler": "run_scheduled_snapshot", + "tags": [], + "scopes": [], + "stream": false, + "policy": { + "timeout_seconds": 60.0, + "idempotent": true, + "max_retries": 0, + "cost_class": "cheap", + "allow_scope_expansion": false, + "grant_mode": "read_write_overlay", + "grant_allow_patterns": [ + "outputs/dashboards/**" + ], + "grant_deny_patterns": [], + "grant_outputs_prefix": "outputs/dashboards/", + "grant_write_prefixes": [ + "outputs/dashboards/" + ], + "grant_ttl_seconds": null, + "grant_run_timeout_seconds": null, + "grant_approval_timeout_seconds": null, + "grant_scope_approval_timeout_seconds": null + }, + "input_schema": { + "type": "object", + "properties": { + "run_key": { + "type": "string" + }, + "segment": { + "type": "string" + } + }, + "required": [ + "run_key" + ], + "additionalProperties": false + }, + "output_schema": { + "$defs": { + "DashboardArtifact": { + "properties": { + "name": { + "title": "Name", + "type": "string" + }, + "media_type": { + "title": "Media Type", + "type": "string" + }, + "uri": { + "title": "Uri", + "type": "string" + }, + "size_bytes": { + "title": "Size Bytes", + "type": "integer" + }, + "content": { + "title": "Content", + "type": "string" + } + }, + "required": [ + "name", + "media_type", + "uri", + "size_bytes", + "content" + ], + "title": "DashboardArtifact", + "type": "object" + } + }, + "properties": { + "status": { + "enum": [ + "ok", + "setup_required", + "error" + ], + "title": "Status", + "type": "string" + }, + "dashboard_id": { + "title": "Dashboard Id", + "type": "string" + }, + "receipt_id": { + "title": "Receipt Id", + "type": "string" + }, + "dashboard-data": { + "items": { + "additionalProperties": true, + "type": "object" + }, + "title": "Dashboard-Data", + "type": "array" + }, + "filters": { + "additionalProperties": true, + "title": "Filters", + "type": "object" + }, + "trends": { + "items": { + "additionalProperties": true, + "type": "object" + }, + "title": "Trends", + "type": "array" + }, + "exceptions": { + "items": { + "additionalProperties": true, + "type": "object" + }, + "title": "Exceptions", + "type": "array" + }, + "history": { + "items": { + "additionalProperties": true, + "type": "object" + }, + "title": "History", + "type": "array" + }, + "summary": { + "title": "Summary", + "type": "string" + }, + "artifact": { + "anyOf": [ + { + "$ref": "#/$defs/DashboardArtifact" + }, + { + "type": "null" + } + ], + "default": null + } + }, + "required": [ + "status", + "dashboard_id", + "receipt_id", + "dashboard-data", + "filters", + "trends", + "exceptions", + "history", + "summary" + ], + "title": "DashboardResult", + "type": "object" + } + } + ], + "capabilities": { + "mcp": { + "tools": [ + "build_dashboard", + "list_dashboard_history", + "run_scheduled_snapshot" + ] + }, + "schedules": { + "tool": "run_scheduled_snapshot", + "idempotent": true + }, + "artifacts": { + "tool": "build_dashboard", + "media_type": "text/csv" + } + }, + "input_modes": [ + "application/json" + ], + "output_modes": [ + "application/json" + ], + "required_secrets": [], + "required_env": [], + "consumer_setup": { + "fields": [] + }, + "runtime": { + "lifecycle": "ephemeral", + "availability": "on_demand", + "state": "durable", + "sandbox": "microsandbox", + "resources": { + "cpu": "500m", + "memory": "512Mi", + "gpu": 0, + "max_runtime_seconds": 600 + }, + "concurrency": 1, + "egress": { + "allow_hosts": [], + "allow_internal_services": [], + "deny_internet_by_default": true + }, + "tools_used": [ + "postgres", + "mcp", + "artifacts", + "scheduled-snapshot" + ], + "llm_provisioning": "platform", + "account_access": { + "required": true, + "platform_skill_calls": 3, + "after_trial": "byok" + }, + "pricing": { + "price_per_call_usd": 0.0, + "caller_pays_llm": false, + "notes": "Deterministic dashboard logic. Account trial funds exactly 3 platform skill calls, then BYOK is required by the platform." + }, + "wants_cp_jwt": false, + "platform_resources": { + "memory": null, + "databases": [ + { + "name": "production-proof-v116-high-utili-7255-3-data", + "engine": "postgres", + "provider": "neon", + "scope": "user", + "branch": "main", + "access_mode": "read_write", + "env": { + "url": "DATABASE_URL" + }, + "migrations": { + "path": "db/migrations" + }, + "scale_to_zero": true + } + ], + "mailbox": null + }, + "endpoints": [], + "apt_packages": [] + }, + "template_lineage": null, + "meta_agent_manifest": null, + "state_schema": { + "properties": { + "last_dashboard_id": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "default": null, + "title": "Last Dashboard Id" + } + }, + "title": "DurableDashboardState", + "type": "object" + }, + "workspace_access": { + "enabled": true, + "max_files": 16, + "allowed_modes": [ + "read_write_overlay" + ], + "require_reason": false, + "deny_patterns": [], + "require_human_approval": false, + "max_total_size_bytes": 104857600 + }, + "config_schema": { + "properties": { + "default_window_days": { + "default": 30, + "maximum": 90, + "minimum": 7, + "title": "Default Window Days", + "type": "integer" + } + }, + "title": "ProductionProofV116HighUtili72553Config", + "type": "object" + }, + "auth": { + "model": "a2a_pack.auth.PlatformUserAuth", + "strategy": "platform_user", + "principal_schema": { + "additionalProperties": false, + "description": "Caller authenticated by the A2A platform session.\n\nUse this for packed frontend apps that should require a logged-in A2A\nCloud user without wiring a custom OAuth/OIDC resolver.", + "properties": { + "sub": { + "title": "Sub", + "type": "string" + }, + "user_id": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ], + "default": null, + "title": "User Id" + }, + "email": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "default": null, + "title": "Email" + }, + "org_id": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "default": null, + "title": "Org Id" + }, + "org_slug": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "default": null, + "title": "Org Slug" + }, + "scopes": { + "items": { + "type": "string" + }, + "title": "Scopes", + "type": "array" + } + }, + "required": [ + "sub" + ], + "title": "PlatformUserAuth", + "type": "object" + }, + "resolver": null, + "required": true + }, + "metadata": { + "source": "python-a2a-pack", + "project_manifest": { + "name": "production-proof-v116-high-utili-7255-3", + "version": "0.1.0", + "entrypoint": "agent:ProductionProofV116HighUtili72553", + "frontend": { + "path": "frontend", + "build": "npm run build", + "dist": "dist", + "mount": "/app", + "auth": "inherit" + } + } + } +}