/** * @name core/constants * @description Compile-time and runtime constants for the SAP MCP Server. * * Includes default program IDs, RPC URLs, commitment levels, HTTP ports, * transaction limits, MCP server metadata, protocol treasury, registration * fees, tool categories, risk thresholds, and supported clusters. * * @module core/constants */ /** * @name DEFAULT_SAP_PROGRAM_ID * @description Default SAP on-chain program ID used when none is specified in config. * * @usedBy `config/defaults.ts`, config pipeline */ export declare const DEFAULT_SAP_PROGRAM_ID = "SAPpUhsWLJG1FfkGRcXagEDMrMsWGjbky7AyhGpFETZ"; /** * @name DEFAULT_RPC_URLS * @description Default Solana RPC endpoints for each supported cluster. * * @usedBy config pipeline, `adapters/solana/connection.ts` */ export declare const DEFAULT_RPC_URLS: { mainnet: string; devnet: string; testnet: string; localnet: string; }; /** * @name DEFAULT_COMMITMENT * @description Default Solana commitment level used when none is configured. * * @usedBy config pipeline */ export declare const DEFAULT_COMMITMENT: "confirmed"; /** * @name DEFAULT_HTTP_PORT * @description Default HTTP port for the SAP MCP server in API mode. * * @usedBy config pipeline */ export declare const DEFAULT_HTTP_PORT = 8787; /** * Default log level */ export declare const DEFAULT_LOG_LEVEL: "info"; /** * Default transaction limits (in SOL) */ export declare const DEFAULT_MAX_TRANSACTION_VALUE_SOL = 1; /** * Shared default require approval above sol definition used by the SAP MCP runtime. */ export declare const DEFAULT_REQUIRE_APPROVAL_ABOVE_SOL = 0.5; /** * Session expiration (24 hours) */ export declare const DEFAULT_SESSION_EXPIRATION_MS: number; /** * MCP Server metadata */ export declare const MCP_SERVER_NAME = "sap-mcp-server"; /** * Human-readable MCP server title shown by registry and client UIs. */ export declare const MCP_SERVER_TITLE = "SAP MCP Server | OOBE Protocol"; /** * Public MCP server description shown by registries and hosted discovery surfaces. */ export declare const MCP_SERVER_DESCRIPTION = "Solana-native MCP gateway for Synapse Agent Protocol tools, DeFi protocols, SNS identity, x402/pay.sh payments, and user-controlled agent operations."; /** * Neutral catalog metadata used for third-party catalogs where the acronym * "SAP" could be confused with SAP SE. */ export declare const OOBE_CATALOG_SERVER_NAME = "oobe-protocol"; export declare const OOBE_CATALOG_SERVER_TITLE = "OOBE Protocol MCP"; export declare const OOBE_CATALOG_SERVER_DESCRIPTION = "Read-only OOBE Protocol agent discovery on Solana: public agent profiles, protocol indexes, network stats, SNS records, and bundled skill metadata."; export declare const OOBE_CATALOG_SERVER_WEBSITE_URL = "https://mcp.sap.oobeprotocol.ai/"; export declare const OOBE_CATALOG_SERVER_INSTRUCTIONS: string; /** * MCP initialize instructions. Clients may surface this text to the model as * server guidance, so keep it concise, standard-compliant, and action-oriented. */ export declare const MCP_SERVER_INSTRUCTIONS: string; /** * Public homepage for hosted SAP MCP documentation and runtime onboarding. */ export declare const MCP_SERVER_WEBSITE_URL = "https://mcp.sap.oobeprotocol.ai/"; /** * Public PNG icon used by MCP clients and registries. */ export declare const MCP_SERVER_ICON_URL = "https://mcp.sap.oobeprotocol.ai/favicon.png"; /** * Shared mcp server version definition used by the SAP MCP runtime. */ export declare const MCP_SERVER_VERSION = "0.9.85"; /** * Read-only tool surface intended for third-party catalogs whose presence * implies endorsement. It excludes spend, signing, submit, builder, install, * self-update, memory-write, webhook, and meta-execution helpers. */ export declare const CATALOG_READONLY_TOOL_ALLOWLIST: readonly ["sap_agent_start", "sap_agent_runtime_status", "sap_pricing_catalog", "sap_network_stats", "sap_protocol_invariants", "sap_get_agent", "sap_get_agent_stats", "sap_get_global_state", "sap_get_network_overview", "sap_agent_context", "sap_get_agent_profile", "sap_is_agent_active", "sap_discover_agents", "sap_list_agents", "sap_list_all_agents", "sap_fetch_capability_index", "sap_fetch_protocol_index", "sap_fetch_tool_category_index", "sap_fetch_tool", "sap_fetch_feedback", "sap_fetch_attestation", "sap_fetch_escrow", "sap_fetch_escrow_v2", "sap_fetch_pending_settlement", "sap_fetch_dispute", "sap_fetch_vault", "sap_fetch_session", "sap_fetch_epoch_page", "sap_fetch_stake", "sap_fetch_subscription", "sap_sns_check_domain", "sap_sns_batch_check_domains", "sap_sns_resolve_domain", "sap_sns_validate_records", "sap_sns_get_domain_pda", "sap_sns_get_record_pda", "sap_sns_get_domain_records", "sap_sns_get_record", "sap_sns_resolve_wallet", "sap_sns_check_ownership", "sap_skills_list", "sap_skills_bundle", "sap_skills_upgrade_plan", "sap_skills_check_updates", "sap_profile_current", "sap_profile_list", "sap_profile_public_key"]; export declare function isCatalogReadonlyAllowedTools(allowedTools: readonly string[] | 'all'): boolean; /** * SAP protocol treasury that should receive protocol-owned registration fees. */ export declare const SAP_PROTOCOL_TREASURY = "J7PyZAGKvprCz4SQ5DKBLAHstJxgVqZcz6kguUoWpP7P"; /** * Current SAP agent registration protocol fee in lamports. */ export declare const SAP_REGISTRATION_FEE_LAMPORTS = 100000000n; /** * Tool categories */ export declare const TOOL_CATEGORIES: { readonly REGISTRY: "registry"; readonly IDENTITY: "identity"; readonly TOOL_SCHEMA: "tool-schema"; readonly REPUTATION: "reputation"; readonly PAYMENTS: "payments"; readonly SETTLEMENT: "settlement"; readonly EXECUTION_PROOF: "execution-proof"; readonly MEMORY: "memory"; readonly DEVELOPER: "developer"; readonly TRANSACTION: "transaction"; }; /** * Risk level thresholds (in SOL) */ export declare const RISK_THRESHOLDS: { safe: number; low: number; medium: number; high: number; critical: number; }; /** * Supported Solana clusters */ export declare const SUPPORTED_CLUSTERS: readonly ["mainnet-beta", "devnet", "testnet", "localnet"]; //# sourceMappingURL=constants.d.ts.map