@twin3-ai/agent-id 0.3.55 → 0.3.56
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/browser-sdk.js +1 -1
- package/mcp-runtime.js +1 -229
- package/package.json +1 -1
package/browser-sdk.js
CHANGED
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
// browser script and shipped in the package byte-for-byte, so it can
|
|
17
17
|
// neither read the package at runtime nor go through a build step:
|
|
18
18
|
// the version is written once here and CI refuses a mismatch.
|
|
19
|
-
var SDK_VERSION = "0.3.
|
|
19
|
+
var SDK_VERSION = "0.3.56";
|
|
20
20
|
var w = window;
|
|
21
21
|
var d = document;
|
|
22
22
|
var s = d.currentScript || {};
|
package/mcp-runtime.js
CHANGED
|
@@ -138,7 +138,7 @@ function tool(name, description, inputSchema, http) {
|
|
|
138
138
|
}
|
|
139
139
|
|
|
140
140
|
// Tool declarations pinned to the production manifest captured for J1.
|
|
141
|
-
// Manifest SHA-256:
|
|
141
|
+
// Manifest SHA-256: 25c15be057e320fccf65979605b57595a4118743a853f0a20fef1fb56e95acd1.
|
|
142
142
|
// Legacy guards, graph claim arrays and inbox booleans remain for J5 to
|
|
143
143
|
// reconcile in the manifest; the original required/action/key guards stay strict.
|
|
144
144
|
const PUBLIC_EVIDENCE_INPUT_SCHEMA = freeze({
|
|
@@ -701,30 +701,6 @@ const P2_PARITY_INSPECT_INPUT_SCHEMA = freeze({
|
|
|
701
701
|
});
|
|
702
702
|
|
|
703
703
|
const TOOL_REGISTRY = Object.freeze([
|
|
704
|
-
tool("portable_trust_verification",
|
|
705
|
-
"Verify signed Trust Claims and fresh independent runtime receipts from a portable bundle without trusting the issuer runtime.",
|
|
706
|
-
PUBLIC_EVIDENCE_INPUT_SCHEMA,
|
|
707
|
-
{ method: "POST", route: "/api/agent/trust_verify" }),
|
|
708
|
-
tool("continuous_trust_graph",
|
|
709
|
-
"Evaluate signed claims, runtime receipts, revocations, expiry, and conflicts while retaining negative evidence.",
|
|
710
|
-
{"type": "object", "properties": {"url": {"type": "string"}, "target_url": {"type": "string"}, "intent": {"type": "string"}, "evidence": {"type": "object"}, "public_metadata": {"type": "object"}, "setup_metadata": {"type": "object"}, "submission": {"type": "object"}, "platform_id": {"type": "string"}, "status": {"type": "string"}, "listing_url": {"type": "string"}, "platform_receipt_id": {"type": "string"}, "proof_url": {"type": "string"}, "jwt": {"type": "string"}, "token_context": {"type": "object"}, "claims": {"type": "array", "items": {"type": "object"}}, "signature_verified": {"type": "boolean"}, "expected_audience": {"type": "string"}, "expected_email": {"type": "string"}, "evidence_type": {"type": "string"}, "certs": {"type": "object"}, "execution": {"type": "object"}, "store": {"type": "boolean"}, "events": {"type": "array", "items": {"type": "object"}}, "logs": {"type": "array", "items": {"type": "object"}}, "user_agent": {"type": "string"}, "probes": {"type": "array", "items": {"type": "object"}}, "probe_set": {"type": "object"}, "prompt": {"type": "string"}, "answer": {"type": "string"}, "citations": {"type": "array", "items": {}}, "engine": {"type": "string"}, "engines": {"anyOf": [{"type": "string"}, {"type": "array", "items": {"type": "string"}}]}, "competitors": {"type": "array", "items": {"type": "string"}}, "conversions": {"type": "array", "items": {"type": "object"}}, "event": {"type": "string"}, "referrer": {"type": "string"}, "survey_source": {"type": "string"}, "value": {"type": "number"}, "currency": {"type": "string"}, "fetch": {"type": "boolean"}, "report": {"type": "object"}, "reports": {"type": "array", "items": {"type": "object"}}, "result": {"type": "object"}, "results": {"type": "array", "items": {"type": "object"}}, "product_metadata": {"type": "object"}, "pricing_metadata": {"type": "object"}, "receipt": {"type": "object"}, "receipts": {"type": "array", "items": {"type": "object"}}, "before": {"type": "object"}, "after": {"type": "object"}, "audit": {"type": "object"}, "content": {"type": "string"}, "page": {"type": "object"}, "questions": {"type": "array", "items": {"type": "string"}}, "topics": {"anyOf": [{"type": "string"}, {"type": "array", "items": {"type": "string"}}]}, "market": {"type": "string"}, "cadence": {"type": "string"}, "period": {"type": "object"}, "verify_artifacts": {"type": "boolean"}, "published_items": {"type": "array", "items": {"type": "object"}}, "items": {"type": "array", "items": {"type": "object"}}, "verify_publication": {"type": "boolean"}, "content_pack": {"type": "object"}, "pack": {"type": "object"}, "content_workflow_package": {"type": "object"}, "package": {"type": "object"}, "sheet": {"type": "object"}, "rows": {"type": "array", "items": {"type": "object"}}, "completed_rows": {"type": "array", "items": {"type": "object"}}, "insights": {"type": "object"}, "provider": {"type": "string"}, "evaluator": {"type": "string"}, "budget": {"type": "number"}, "draft": {"type": "object"}, "create_payload": {"type": "object"}, "job_type": {"type": "string"}, "job_id": {"type": "string"}, "payment_reference": {"type": "string"}, "payment_proof": {"type": "object"}, "payment_signature": {"type": "string"}, "deliverable_uri": {"type": "string"}, "deliverable": {"type": "object"}, "decision": {"type": "string"}, "reason": {"type": "string"}, "plan": {"type": "string"}, "email": {"type": "string"}, "method": {"type": "string"}, "procurement_event": {"type": "object"}, "action": {"type": "object"}, "execute": {"type": "boolean"}, "access_token": {"type": "string"}, "token_source": {"anyOf": [{"type": "string"}, {"type": "object"}]}, "metadata_base": {"type": "string"}, "service_name": {"type": "string"}, "usage_reporting_id": {"type": "string"}, "metric_name": {"type": "string"}, "metric_value": {"anyOf": [{"type": "number"}, {"type": "string"}]}, "start_time": {"type": "string"}, "end_time": {"type": "string"}, "operation_id": {"type": "string"}, "user_labels": {"type": "object"}, "payload": {"type": "object"}, "provider_id": {"type": "string"}, "account_id": {"type": "string"}, "entitlement_id": {"type": "string"}, "twin3_agent_id": {"type": "string"}, "pricing_model": {"type": "string", "enum": ["free", "subscription", "usage", "combined", "subscription_plus_usage"]}}, "required": []},
|
|
711
|
-
{ method: "POST", route: "/api/agent/continuous_trust_graph" }),
|
|
712
|
-
tool("tenant_zero_trust_gate",
|
|
713
|
-
"Gate Twin3 Tenant 0 using external black-box negative tests, a live customer change, and independent public refetch.",
|
|
714
|
-
PUBLIC_EVIDENCE_INPUT_SCHEMA,
|
|
715
|
-
{ method: "POST", route: "/api/agent/tenant_zero_trust_gate" }),
|
|
716
|
-
tool("continuous_observation_gate",
|
|
717
|
-
"Gate the required observation window from real checkpoint samples.",
|
|
718
|
-
PUBLIC_EVIDENCE_INPUT_SCHEMA,
|
|
719
|
-
{ method: "POST", route: "/api/agent/continuous_observation_gate" }),
|
|
720
|
-
tool("external_pilot_trust_gate",
|
|
721
|
-
"Require two external hosts and an independent portable verifier before pilot completion.",
|
|
722
|
-
PUBLIC_EVIDENCE_INPUT_SCHEMA,
|
|
723
|
-
{ method: "POST", route: "/api/agent/external_pilot_trust_gate" }),
|
|
724
|
-
tool("google_marketplace_trust_gate",
|
|
725
|
-
"Require real external Google review receipts before claiming Marketplace submission readiness.",
|
|
726
|
-
PUBLIC_EVIDENCE_INPUT_SCHEMA,
|
|
727
|
-
{ method: "POST", route: "/api/agent/google_marketplace_trust_gate" }),
|
|
728
704
|
tool("w1_workflow_router",
|
|
729
705
|
"Choose the next AEO workflow route: audit, content execution, measurement, or continuous Site Agent loop.",
|
|
730
706
|
{"type": "object", "properties": {"url": {"type": "string"}, "intent": {"type": "string"}, "evidence": {"type": "object"}}, "required": []},
|
|
@@ -737,190 +713,6 @@ const TOOL_REGISTRY = Object.freeze([
|
|
|
737
713
|
"Validate an S1 Skill package for source-map, OpenAPI, MCP, examples, credentials, and claim-boundary consistency.",
|
|
738
714
|
{"type": "object", "properties": {"url": {"type": "string"}, "package": {"type": "object"}}, "required": []},
|
|
739
715
|
{ route: "/api/agent/skill_package_validate", method: "GET", postWhen: args => Boolean(args.package), query: ["url"] }),
|
|
740
|
-
tool("marketplace_submission_pack",
|
|
741
|
-
"Bundle listing copy, attachments, S2 review, S1 validation, billing boundaries, and non-claims for Agent Store or registry submission.",
|
|
742
|
-
S2_PACKAGE_REVIEW_INPUT_SCHEMA,
|
|
743
|
-
{ route: "/api/agent/marketplace_submission", method: "GET", postWhen: args => Boolean(args.public_metadata || args.setup_metadata || args.public || args.setup), query: ["url"] }),
|
|
744
|
-
tool("marketplace_readiness_score",
|
|
745
|
-
"Score Agent Store / registry readiness, list blockers, and preserve non-claims before human submission.",
|
|
746
|
-
{"type": "object", "properties": {"url": {"type": "string"}, "submission": {"type": "object"}, "public_metadata": {"type": "object"}, "setup_metadata": {"type": "object"}}, "required": []},
|
|
747
|
-
{ route: "/api/agent/marketplace_readiness", method: "GET", postWhen: args => Boolean(args.submission || args.pack || args.public_metadata || args.setup_metadata || args.public || args.setup), query: ["url"] }),
|
|
748
|
-
tool("marketplace_approval_receipts",
|
|
749
|
-
"Normalize and summarize real marketplace approval receipts without claiming ranking, runtime behavior, or AI recommendation.",
|
|
750
|
-
{"type": "object", "properties": {"url": {"type": "string"}, "platform_id": {"type": "string"}, "status": {"type": "string"}, "listing_url": {"type": "string"}, "platform_receipt_id": {"type": "string"}, "proof_url": {"type": "string"}}, "required": []},
|
|
751
|
-
{ route: "/api/agent/marketplace_approval_receipts", method: "GET", postWhen: args => Boolean(args.platform_id || args.platform || args.listing_url || args.platform_receipt_id || args.proof_url || args.evidence_url), query: ["url"] }),
|
|
752
|
-
tool("agent_trust_package",
|
|
753
|
-
"Bundle Agent Card, MCP, OpenAPI, Passport, Proof Graph, domain verification receipt, and protocol alignment for Agent reviewers.",
|
|
754
|
-
AGENT_TRUST_PACKAGE_INPUT_SCHEMA,
|
|
755
|
-
{ method: "GET", query: ["url"], postWhen: args => Boolean(args.audit || args.marketplace_receipts || args.approval_receipts), route: "/api/agent/trust_package" }),
|
|
756
|
-
tool("google_marketplace_agent_card",
|
|
757
|
-
"Generate a Google Cloud Marketplace-oriented A2A Agent Card candidate for Partner Engineer review.",
|
|
758
|
-
GOOGLE_MARKETPLACE_AGENT_CARD_INPUT_SCHEMA,
|
|
759
|
-
{ route: "/api/agent/google_marketplace_agent_card", method: "GET", postWhen: args => Boolean(args.product_metadata || args.product || args.public_metadata), query: ["url"] }),
|
|
760
|
-
tool("google_marketplace_submission_pack",
|
|
761
|
-
"Bundle Google Cloud Marketplace product metadata, Agent Card, pricing, technical integration, and claim boundaries.",
|
|
762
|
-
GOOGLE_MARKETPLACE_SUBMISSION_PACK_INPUT_SCHEMA,
|
|
763
|
-
{ route: "/api/agent/google_marketplace_submission", method: "GET", postWhen: args => Boolean(args.product_metadata || args.setup_metadata || args.product || args.setup || args.public_metadata), query: ["url"] }),
|
|
764
|
-
tool("google_marketplace_readiness_score",
|
|
765
|
-
"Score Google Cloud Marketplace readiness without claiming Google submission, validation, or approval.",
|
|
766
|
-
{"type": "object", "properties": {"url": {"type": "string"}, "submission": {"type": "object"}, "product_metadata": {"type": "object"}, "setup_metadata": {"type": "object"}}, "required": []},
|
|
767
|
-
{ route: "/api/agent/google_marketplace_readiness", method: "GET", postWhen: args => Boolean(args.submission || args.pack || args.product_metadata || args.setup_metadata || args.product || args.setup || args.public_metadata), query: ["url"] }),
|
|
768
|
-
tool("google_marketplace_pricing_pack",
|
|
769
|
-
"Return Google Cloud Marketplace AI Agent pricing review material, plans, features, and blockers.",
|
|
770
|
-
GOOGLE_MARKETPLACE_PRICING_PACK_INPUT_SCHEMA,
|
|
771
|
-
{ route: "/api/agent/google_marketplace_pricing", method: "GET" }),
|
|
772
|
-
tool("google_marketplace_develop_flow_gate",
|
|
773
|
-
"Map Google's Marketplace develop flow to exact AgentX evidence files, blockers, and next submission phase.",
|
|
774
|
-
GOOGLE_MARKETPLACE_DEVELOP_FLOW_GATE_INPUT_SCHEMA,
|
|
775
|
-
{ route: "/api/agent/google_marketplace_develop_flow_gate", method: "GET", postWhen: args => Boolean(args.setup_metadata || args.product_metadata || args.pricing_metadata || args.setup || args.product || args.pricing), query: ["url"] }),
|
|
776
|
-
tool("google_marketplace_listing_requirements_gate",
|
|
777
|
-
"Track Google Cloud Marketplace base listing requirements evidence before Producer Portal submission.",
|
|
778
|
-
GOOGLE_MARKETPLACE_SUBMISSION_PACK_INPUT_SCHEMA,
|
|
779
|
-
{ route: "/api/agent/google_marketplace_listing_requirements_gate", method: "GET", postWhen: args => Boolean(args.product_metadata || args.setup_metadata || args.product || args.setup || args.public_metadata), query: ["url"] }),
|
|
780
|
-
tool("google_marketplace_listing_pack",
|
|
781
|
-
"Return Google Cloud Marketplace product details, listing metadata, enhanced-discovery fields, and blockers.",
|
|
782
|
-
GOOGLE_MARKETPLACE_AGENT_CARD_INPUT_SCHEMA,
|
|
783
|
-
{ route: "/api/agent/google_marketplace_listing", method: "GET", postWhen: args => Boolean(args.product_metadata || args.product || args.public_metadata) }),
|
|
784
|
-
tool("google_marketplace_discovery_metadata_gate",
|
|
785
|
-
"Validate explicit Google Marketplace AI discovery metadata before Product details review.",
|
|
786
|
-
GOOGLE_MARKETPLACE_AGENT_CARD_INPUT_SCHEMA,
|
|
787
|
-
{ route: "/api/agent/google_marketplace_discovery_metadata", method: "GET", postWhen: args => Boolean(args.product_metadata || args.product || args.public_metadata) }),
|
|
788
|
-
tool("google_marketplace_product_details_review_gate",
|
|
789
|
-
"Track Google Marketplace Product details completeness and review approval evidence.",
|
|
790
|
-
GOOGLE_MARKETPLACE_SUBMISSION_PACK_INPUT_SCHEMA,
|
|
791
|
-
{ route: "/api/agent/google_marketplace_product_details_review_gate", method: "GET", postWhen: args => Boolean(args.setup_metadata || args.setup || args.product_metadata || args.product || args.public_metadata), query: ["url"] }),
|
|
792
|
-
tool("google_marketplace_technical_integration_pack",
|
|
793
|
-
"Return Google Cloud Marketplace technical integration material for Pub/Sub, Partner Procurement API, account linking, entitlement handling, and Service Control boundaries.",
|
|
794
|
-
GOOGLE_MARKETPLACE_TECHNICAL_INTEGRATION_PACK_INPUT_SCHEMA,
|
|
795
|
-
{ route: "/api/agent/google_marketplace_technical", method: "GET", postWhen: args => Boolean(args.setup_metadata || args.setup || args.pricing_metadata || args.pricing), query: ["url"] }),
|
|
796
|
-
tool("google_marketplace_backend_gate",
|
|
797
|
-
"Gate executable Google Marketplace backend evidence for JWT verification, Pub/Sub, account approval, entitlement lifecycle, and usage reporting.",
|
|
798
|
-
GOOGLE_MARKETPLACE_TECHNICAL_INTEGRATION_PACK_INPUT_SCHEMA,
|
|
799
|
-
{ route: "/api/agent/google_marketplace_backend_gate", method: "GET", postWhen: args => Boolean(args.setup_metadata || args.setup || args.pricing_metadata || args.pricing), query: ["url"] }),
|
|
800
|
-
tool("google_marketplace_lifecycle_smoke",
|
|
801
|
-
"Run a local Google Marketplace procurement lifecycle smoke test for account approval, entitlement approval, plan change, and cancellation.",
|
|
802
|
-
{"type": "object", "properties": {"url": {"type": "string"}, "provider_id": {"type": "string"}, "account_id": {"type": "string"}, "entitlement_id": {"type": "string"}}, "required": []},
|
|
803
|
-
{ route: "/api/agent/google_marketplace_lifecycle_smoke", method: "GET", query: ["url", "provider_id", "account_id", "entitlement_id"] }),
|
|
804
|
-
tool("google_marketplace_runtime_smoke",
|
|
805
|
-
"Run one local Google Marketplace runtime smoke across account linking, procurement lifecycle, and usage-reporting dry-run gates.",
|
|
806
|
-
{"type": "object", "properties": {"url": {"type": "string"}, "provider_id": {"type": "string"}, "account_id": {"type": "string"}, "entitlement_id": {"type": "string"}, "pricing_model": {"type": "string", "enum": ["free", "subscription", "usage", "combined", "subscription_plus_usage"]}}, "required": []},
|
|
807
|
-
{ route: "/api/agent/google_marketplace_runtime_smoke", method: "GET", query: ["url", "provider_id", "account_id", "entitlement_id", "pricing_model"] }),
|
|
808
|
-
tool("google_marketplace_runtime_receipt",
|
|
809
|
-
"Generate a server-attested runtime receipt from a verified Google Marketplace JWT, Pub/Sub, Procurement API, or Service Control signal.",
|
|
810
|
-
{"type": "object", "properties": {"url": {"type": "string"}, "evidence_type": {"type": "string"}, "evidence": {"type": "object"}, "jwt": {"type": "string"}, "token_context": {"type": "object"}, "expected_audience": {"type": "string"}, "expected_email": {"type": "string"}, "certs": {"type": "object"}, "payload": {"type": "object"}, "execution": {"type": "object"}, "store": {"type": "boolean"}, "pricing_metadata": {"type": "object"}}, "required": []},
|
|
811
|
-
{ route: "/api/agent/google_marketplace_runtime_receipt", method: "POST" }),
|
|
812
|
-
tool("google_marketplace_runtime_evidence_ledger",
|
|
813
|
-
"Store redacted Google Marketplace runtime receipts and materialize them for the strict runtime evidence gate.",
|
|
814
|
-
{"type": "object", "properties": {"url": {"type": "string"}, "receipt": {"type": "object"}, "receipts": {"type": "array", "items": {"type": "object"}}, "pricing_metadata": {"type": "object"}}, "required": []},
|
|
815
|
-
{ route: "/api/agent/google_marketplace_runtime_evidence_ledger", method: "GET", postWhen: args => Boolean(args.receipt || args.receipts || args.pricing_metadata || args.pricing || args.evidence_kind || args.receipt_type || args.schema), query: ["url"] }),
|
|
816
|
-
tool("google_marketplace_runtime_evidence_gate",
|
|
817
|
-
"Gate real Google Marketplace runtime evidence separately from local synthetic smoke before technical review.",
|
|
818
|
-
GOOGLE_MARKETPLACE_TECHNICAL_INTEGRATION_PACK_INPUT_SCHEMA,
|
|
819
|
-
{ route: "/api/agent/google_marketplace_runtime_evidence_gate", method: "GET", postWhen: args => Boolean(args.setup_metadata || args.setup || args.pricing_metadata || args.pricing), query: ["url"] }),
|
|
820
|
-
tool("google_marketplace_test_billing_gate",
|
|
821
|
-
"Track Google Marketplace test billing, product preview, pricing preview, purchase-flow, and usage-reporting evidence.",
|
|
822
|
-
GOOGLE_MARKETPLACE_TECHNICAL_INTEGRATION_PACK_INPUT_SCHEMA,
|
|
823
|
-
{ route: "/api/agent/google_marketplace_test_billing_gate", method: "GET", postWhen: args => Boolean(args.setup_metadata || args.setup || args.pricing_metadata || args.pricing), query: ["url"] }),
|
|
824
|
-
tool("google_marketplace_agent_card_validation_gate",
|
|
825
|
-
"Track same-project Cloud Storage upload and Producer Portal Save and Validate evidence for the Google Marketplace Agent Card.",
|
|
826
|
-
GOOGLE_MARKETPLACE_SUBMISSION_PACK_INPUT_SCHEMA,
|
|
827
|
-
{ route: "/api/agent/google_marketplace_agent_card_validation_gate", method: "GET", postWhen: args => Boolean(args.setup_metadata || args.setup || args.product_metadata || args.product || args.public_metadata), query: ["url"] }),
|
|
828
|
-
tool("google_marketplace_agent_card_gcs_upload_pack",
|
|
829
|
-
"Prepare the same-project Cloud Storage Agent Card upload pack, gcloud commands, and Producer Portal Save and Validate steps.",
|
|
830
|
-
GOOGLE_MARKETPLACE_SUBMISSION_PACK_INPUT_SCHEMA,
|
|
831
|
-
{ route: "/api/agent/google_marketplace_agent_card_gcs_pack", method: "GET", postWhen: args => Boolean(args.setup_metadata || args.setup || args.product_metadata || args.product || args.public_metadata), query: ["url"] }),
|
|
832
|
-
tool("google_marketplace_review_bundle",
|
|
833
|
-
"Export Google Marketplace review files for Producer Portal, Agent Card upload, pricing review, technical integration review, and Partner Engineer handoff.",
|
|
834
|
-
GOOGLE_MARKETPLACE_DEVELOP_FLOW_GATE_INPUT_SCHEMA,
|
|
835
|
-
{ route: "/api/agent/google_marketplace_review_bundle", method: "GET", postWhen: args => Boolean(args.product_metadata || args.setup_metadata || args.pricing_metadata || args.product || args.setup || args.pricing || args.public_metadata), query: ["url"] }),
|
|
836
|
-
tool("google_marketplace_review_index",
|
|
837
|
-
"Map Google Marketplace review areas to files, endpoints, commands, evidence keys, and claim boundaries.",
|
|
838
|
-
GOOGLE_MARKETPLACE_DEVELOP_FLOW_GATE_INPUT_SCHEMA,
|
|
839
|
-
{ route: "/api/agent/google_marketplace_review_index", method: "GET", postWhen: args => Boolean(args.product_metadata || args.setup_metadata || args.pricing_metadata || args.product || args.setup || args.pricing || args.public_metadata), query: ["url"] }),
|
|
840
|
-
tool("google_marketplace_core_technology_source_map",
|
|
841
|
-
"Map core product capabilities to the international engine, the managed-service layer, and Google Marketplace-specific implementation sources.",
|
|
842
|
-
AGENT_TRUST_PACKAGE_INPUT_SCHEMA,
|
|
843
|
-
{ route: "/api/agent/google_marketplace_core_source_map", method: "GET", query: ["url"] }),
|
|
844
|
-
tool("google_marketplace_application_status",
|
|
845
|
-
"Track Google Marketplace external evidence, review readiness, publish readiness, and non-claims.",
|
|
846
|
-
GOOGLE_MARKETPLACE_DEVELOP_FLOW_GATE_INPUT_SCHEMA,
|
|
847
|
-
{ route: "/api/agent/google_marketplace_application_status", method: "GET", postWhen: args => Boolean(args.setup_metadata || args.product_metadata || args.pricing_metadata || args.setup || args.product || args.pricing || args.public_metadata) }),
|
|
848
|
-
tool("google_marketplace_application_evidence",
|
|
849
|
-
"Persist Google Marketplace application evidence and recompute the external review gate.",
|
|
850
|
-
GOOGLE_MARKETPLACE_DEVELOP_FLOW_GATE_INPUT_SCHEMA,
|
|
851
|
-
{ route: "/api/agent/google_marketplace_application_evidence", method: "GET", postWhen: args => Boolean(args.setup_metadata || args.product_metadata || args.pricing_metadata || args.setup || args.product || args.pricing || args.public_metadata) }),
|
|
852
|
-
tool("google_marketplace_partner_application_gate",
|
|
853
|
-
"Track Google Partner, vendor, and Producer Portal access evidence before product configuration.",
|
|
854
|
-
GOOGLE_MARKETPLACE_PARTNER_APPLICATION_GATE_INPUT_SCHEMA,
|
|
855
|
-
{ route: "/api/agent/google_marketplace_partner_application_gate", method: "GET", postWhen: args => Boolean(args.setup_metadata || args.setup || args.project_info_form || args.partner_network || args.vendor_account || args.producer_portal_access || args.producer_portal_product_id) }),
|
|
856
|
-
tool("google_marketplace_operations_gate",
|
|
857
|
-
"Track Producer Portal IAM, test billing account, and App Lifecycle Manager operations readiness.",
|
|
858
|
-
GOOGLE_MARKETPLACE_PARTNER_APPLICATION_GATE_INPUT_SCHEMA,
|
|
859
|
-
{ route: "/api/agent/google_marketplace_operations_gate", method: "GET", postWhen: args => Boolean(args.setup_metadata || args.setup), query: ["url"] }),
|
|
860
|
-
tool("google_marketplace_ops_identity_gate",
|
|
861
|
-
"Track Producer Portal IAM, restricted Partner Procurement API access, service accounts, App Lifecycle Manager, and usage-reporting identity evidence.",
|
|
862
|
-
GOOGLE_MARKETPLACE_TECHNICAL_INTEGRATION_PACK_INPUT_SCHEMA,
|
|
863
|
-
{ route: "/api/agent/google_marketplace_ops_identity_gate", method: "GET", postWhen: args => Boolean(args.setup_metadata || args.pricing_metadata || args.setup || args.pricing || args.producer_portal_iam || args.partner_procurement_api), query: ["url"] }),
|
|
864
|
-
tool("google_marketplace_cloud_run_deployment_gate",
|
|
865
|
-
"Track Cloud Run runtime evidence, public Agent endpoints, service identity, and metadata token sources before Google technical review.",
|
|
866
|
-
GOOGLE_MARKETPLACE_TECHNICAL_INTEGRATION_PACK_INPUT_SCHEMA,
|
|
867
|
-
{ route: "/api/agent/google_marketplace_cloud_run_deployment_gate", method: "GET", postWhen: args => Boolean(args.setup_metadata || args.pricing_metadata || args.setup || args.pricing || args.cloud_run || args.cloud_run_deployment), query: ["url"] }),
|
|
868
|
-
tool("google_marketplace_live_surface_gate",
|
|
869
|
-
"Fetch a public HTTPS Agent runtime and verify Agent Card, MCP, OpenAPI, review index, and Google Marketplace preflight surfaces are reachable before Partner Engineer review.",
|
|
870
|
-
AGENT_TRUST_PACKAGE_INPUT_SCHEMA,
|
|
871
|
-
{ route: "/api/agent/google_marketplace_live_surface_gate", method: "GET", query: ["url"] }),
|
|
872
|
-
tool("google_marketplace_preflight_check",
|
|
873
|
-
"Run one strict Google Marketplace preflight before Producer Portal submit-for-review.",
|
|
874
|
-
GOOGLE_MARKETPLACE_DEVELOP_FLOW_GATE_INPUT_SCHEMA,
|
|
875
|
-
{ route: "/api/agent/google_marketplace_preflight", method: "GET", postWhen: args => Boolean(args.setup_metadata || args.product_metadata || args.pricing_metadata || args.setup || args.product || args.pricing || args.public_metadata), query: ["url"] }),
|
|
876
|
-
tool("google_marketplace_publish_gate",
|
|
877
|
-
"Track Google Marketplace publish evidence before claiming public Marketplace availability.",
|
|
878
|
-
GOOGLE_MARKETPLACE_PARTNER_APPLICATION_GATE_INPUT_SCHEMA,
|
|
879
|
-
{ route: "/api/agent/google_marketplace_publish_gate", method: "GET", postWhen: args => Boolean(args.setup_metadata || args.setup), query: ["url"] }),
|
|
880
|
-
tool("google_marketplace_review_receipt_gate",
|
|
881
|
-
"Track external Google and Producer Portal review receipts before submission or publication claims.",
|
|
882
|
-
GOOGLE_MARKETPLACE_PARTNER_APPLICATION_GATE_INPUT_SCHEMA,
|
|
883
|
-
{ route: "/api/agent/google_marketplace_review_receipt_gate", method: "GET", postWhen: args => Boolean(args.setup_metadata || args.setup), query: ["url"] }),
|
|
884
|
-
tool("google_marketplace_evidence_template",
|
|
885
|
-
"Generate a fillable Google Marketplace application evidence template for operators.",
|
|
886
|
-
AGENT_TRUST_PACKAGE_INPUT_SCHEMA,
|
|
887
|
-
{ route: "/api/agent/google_marketplace_evidence_template", method: "GET" }),
|
|
888
|
-
tool("google_marketplace_evidence_example",
|
|
889
|
-
"Generate an example-only Google Marketplace evidence starter file for operators.",
|
|
890
|
-
AGENT_TRUST_PACKAGE_INPUT_SCHEMA,
|
|
891
|
-
{ route: "/api/agent/google_marketplace_evidence_example", method: "GET" }),
|
|
892
|
-
tool("google_marketplace_procurement_event",
|
|
893
|
-
"Normalize Google Marketplace Pub/Sub procurement events and produce non-executing action plans.",
|
|
894
|
-
{"type": "object", "properties": {"procurement_event": {"type": "object"}}, "required": []},
|
|
895
|
-
{ route: "/api/agent/google_marketplace_procurement_event", method: "POST" }),
|
|
896
|
-
tool("google_marketplace_procurement_state",
|
|
897
|
-
"Read local Google Marketplace procurement account, entitlement, and action-queue state.",
|
|
898
|
-
GOOGLE_MARKETPLACE_PRICING_PACK_INPUT_SCHEMA,
|
|
899
|
-
{ route: "/api/agent/google_marketplace_procurement_state", method: "GET" }),
|
|
900
|
-
tool("google_marketplace_procurement_execute",
|
|
901
|
-
"Execute one explicit Google Partner Procurement API action with execute=true and a provided or Cloud Run metadata OAuth token source.",
|
|
902
|
-
{"type": "object", "properties": {"action": {"type": "object"}, "execute": {"type": "boolean"}}, "required": ["action"]},
|
|
903
|
-
{ route: "/api/agent/google_marketplace_procurement_execute", method: "POST" }),
|
|
904
|
-
tool("google_marketplace_usage_report_payload",
|
|
905
|
-
"Build a Google Service Control usage report payload from entitlement usageReportingId, metric, interval, and labels.",
|
|
906
|
-
{"type": "object", "properties": {"service_name": {"type": "string"}, "usage_reporting_id": {"type": "string"}, "metric_name": {"type": "string"}, "metric_value": {"anyOf": [{"type": "number"}, {"type": "string"}]}, "start_time": {"type": "string"}, "end_time": {"type": "string"}, "operation_id": {"type": "string"}, "user_labels": {"type": "object"}}, "required": []},
|
|
907
|
-
{ route: "/api/agent/google_marketplace_usage_report_payload", method: "GET", postWhen: args => Boolean(args.service_name || args.usage_reporting_id || args.metric_name || args.metric_value || args.start_time || args.end_time || args.operation_id || args.user_labels) }),
|
|
908
|
-
tool("google_marketplace_usage_report_execute",
|
|
909
|
-
"Execute Service Control services.check followed by services.report only with execute=true and an OAuth token source.",
|
|
910
|
-
{"type": "object", "properties": {"payload": {"type": "object"}, "execute": {"type": "boolean"}}, "required": ["payload"]},
|
|
911
|
-
{ route: "/api/agent/google_marketplace_usage_report_execute", method: "POST" }),
|
|
912
|
-
tool("google_marketplace_frontend_integration",
|
|
913
|
-
"Return Google Marketplace sign-up/login URLs and JWT requirements.",
|
|
914
|
-
GOOGLE_MARKETPLACE_PRICING_PACK_INPUT_SCHEMA,
|
|
915
|
-
{ route: "/api/agent/google_marketplace_frontend_integration", method: "GET" }),
|
|
916
|
-
tool("google_marketplace_account_link",
|
|
917
|
-
"Validate Google Marketplace account-linking inputs and return non-executing approval actions.",
|
|
918
|
-
{"type": "object", "properties": {"jwt": {"type": "string"}, "claims": {"type": "object"}, "signature_verified": {"type": "boolean"}, "expected_audience": {"type": "string"}}, "required": []},
|
|
919
|
-
{ route: "/api/agent/google_marketplace_account_link", method: "POST" }),
|
|
920
|
-
tool("google_marketplace_jwt_verifier_gate",
|
|
921
|
-
"Track Google Marketplace x-gcp-marketplace-token verifier evidence before account linking.",
|
|
922
|
-
{"type": "object", "properties": {"url": {"type": "string"}, "setup_metadata": {"type": "object"}, "jwt": {"type": "string"}, "token_context": {"type": "object"}}, "required": []},
|
|
923
|
-
{ route: "/api/agent/google_marketplace_jwt_verifier_gate", method: "GET", postWhen: args => Boolean(args.setup_metadata || args.setup || args.jwt || args.token || args.token_context || args["x-gcp-marketplace-token"]) }),
|
|
924
716
|
tool("agentx_passport_verify",
|
|
925
717
|
MCP_MESSAGES.en.agentx_passport_verify,
|
|
926
718
|
PUBLIC_EVIDENCE_INPUT_SCHEMA,
|
|
@@ -953,18 +745,10 @@ const TOOL_REGISTRY = Object.freeze([
|
|
|
953
745
|
"Create a checkout session for paid AEO Agent work.",
|
|
954
746
|
{"type": "object", "properties": {"plan": {"type": "string"}}, "required": ["plan"]},
|
|
955
747
|
{ route: "/api/agent/checkout", method: "POST" }),
|
|
956
|
-
tool("self_audit",
|
|
957
|
-
"Audit this AEO Agent service's own Agent-first surfaces.",
|
|
958
|
-
GOOGLE_MARKETPLACE_PRICING_PACK_INPUT_SCHEMA,
|
|
959
|
-
{ route: "/api/agent/self_audit", method: "GET" }),
|
|
960
748
|
tool("get_health",
|
|
961
749
|
"Read this service's Agent-first health state.",
|
|
962
750
|
GOOGLE_MARKETPLACE_PRICING_PACK_INPUT_SCHEMA,
|
|
963
751
|
{ route: "/agent/health.json", method: "GET" }),
|
|
964
|
-
tool("self_backlog",
|
|
965
|
-
"Generate this service's self-optimization backlog.",
|
|
966
|
-
GOOGLE_MARKETPLACE_PRICING_PACK_INPUT_SCHEMA,
|
|
967
|
-
{ route: "/api/agent/self_backlog", method: "GET" }),
|
|
968
752
|
tool("agentx_passport",
|
|
969
753
|
"Read this service's AgentX.ID Passport.",
|
|
970
754
|
GOOGLE_MARKETPLACE_PRICING_PACK_INPUT_SCHEMA,
|
|
@@ -1309,18 +1093,6 @@ const TOOL_REGISTRY = Object.freeze([
|
|
|
1309
1093
|
"Attach implementation evidence to one of the verified website agent's own jobs.",
|
|
1310
1094
|
{"type": "object", "properties": {"url": {"type": "string"}, "agent_key": {"type": "string"}, "action": {"type": "string", "const": "report_job_evidence"}, "job_id": {"type": "string"}, "evidence_uri": {"type": "string"}, "evidence": {"type": "object"}}, "required": ["url", "agent_key", "action", "job_id"]},
|
|
1311
1095
|
{ route: "/api/site_agents/call", method: "POST", action: "report_job_evidence", auth: "site-body", requirements: ["verified_domain", "site_agent_key"] }),
|
|
1312
|
-
tool("google_cloud_alignment",
|
|
1313
|
-
"Read the Google Cloud Enterprise Agent Platform alignment brief.",
|
|
1314
|
-
GOOGLE_MARKETPLACE_PRICING_PACK_INPUT_SCHEMA,
|
|
1315
|
-
{ route: "/api/agent/google_alignment", method: "GET" }),
|
|
1316
|
-
tool("google_agent_identity_bridge",
|
|
1317
|
-
"Prepare Google Agent Identity onboarding or validate an unverified effectiveIdentity binding candidate without importing Google credentials.",
|
|
1318
|
-
{"type": "object", "properties": {"twin3_agent_id": {"type": "string"}, "evidence": {"type": "object"}}, "required": []},
|
|
1319
|
-
{ route: "/api/agent/google_identity_bridge", method: "GET", postWhen: args => Boolean(args.evidence), query: ["twin3_agent_id"], queryDefaults: {"twin3_agent_id": "agt_0000"} }),
|
|
1320
|
-
tool("trust_commerce_stack",
|
|
1321
|
-
"Read the AgentX.ID Passport, SBT, ERC-8004, x402, ERC-8183, and AP2 architecture plan.",
|
|
1322
|
-
GOOGLE_MARKETPLACE_PRICING_PACK_INPUT_SCHEMA,
|
|
1323
|
-
{ route: "/api/agent/trust_stack", method: "GET" }),
|
|
1324
1096
|
tool("aeo_job_drafts",
|
|
1325
1097
|
"Turn failed audit checks and Agentic Browsing gaps into scoped AEO job drafts.",
|
|
1326
1098
|
PUBLIC_EVIDENCE_INPUT_SCHEMA,
|