@blockrun/clawrouter 0.12.291 → 0.12.293
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/dist/cli.js +9815 -6953
- package/dist/index.d.ts +11 -1
- package/dist/index.js +9771 -6919
- package/dist/router/index.js +110 -41
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -1869,6 +1869,16 @@ declare function injectModelsConfig(logger: {
|
|
|
1869
1869
|
forceWrite?: boolean;
|
|
1870
1870
|
catalogModels?: typeof VISIBLE_OPENCLAW_MODELS;
|
|
1871
1871
|
}): void;
|
|
1872
|
+
/**
|
|
1873
|
+
* Add the runtime provider entry when the host exposes a mutable config.
|
|
1874
|
+
*
|
|
1875
|
+
* OpenClaw 2026.10.x freezes the plugin API config during registration. The
|
|
1876
|
+
* persisted config has already been handled by injectModelsConfig(), and
|
|
1877
|
+
* registerProvider() is the authoritative runtime registration path, so a
|
|
1878
|
+
* frozen runtime config must not make plugin registration fail.
|
|
1879
|
+
*/
|
|
1880
|
+
declare function setRuntimeProviderConfig(api: Pick<OpenClawPluginApi, "config" | "logger">, runtimePort: number): void;
|
|
1881
|
+
declare function removeRuntimeMcpConfig(api: Pick<OpenClawPluginApi, "config" | "logger">): boolean;
|
|
1872
1882
|
/**
|
|
1873
1883
|
* Repair the per-agent model cache OpenClaw keeps at
|
|
1874
1884
|
* `~/.openclaw/agents/<agent>/agent/models.json`.
|
|
@@ -1944,4 +1954,4 @@ declare function buildImageGenerationProvider(): ImageGenerationProviderPlugin;
|
|
|
1944
1954
|
|
|
1945
1955
|
declare const plugin: OpenClawPluginDefinition;
|
|
1946
1956
|
|
|
1947
|
-
export { type AggregatedStats, BALANCE_THRESHOLDS, BLOCKRUN_MODELS, BLOCKRUN_PLUGIN_ID, type BalanceInfo, BalanceMonitor, CAIP2_BASE, CAIP2_SOLANA_MAINNET, type CachedLLMResponse, type CachedResponse, type CheckResult, type CounterpartyInfo, DEFAULT_RETRY_CONFIG, DEFAULT_SESSION_CONFIG, type DailyStats, type DerivedKeys, EmptyWalletError, FileSpendControlStorage, InMemorySpendControlStorage, InsufficientFundsError, type InsufficientFundsInfo, type LowBalanceInfo, MODEL_ALIASES, MalformedSpendPolicyError, OPENCLAW_MODELS, PARTNER_SERVICES, PAYABLE_NETWORKS, type PartnerServiceDefinition, type PartnerToolDefinition, type PaymentChain, type PolicyList, type ProxyHandle, type ProxyOptions, RequestDeduplicator, ResponseCache, type ResponseCacheConfig, type RetryConfig, RpcError, type SessionConfig, type SessionEntry, SessionStore, type SolanaBalanceInfo, SolanaBalanceMonitor, SpendControl, type SpendControlOptions, type SpendControlStorage, type SpendLimits, SpendPolicyError, type SpendRecord, type SpendWindow, type SpendingStatus, type SufficiencyResult, UnreadableSpendPolicyError, type UsageEntry, VISIBLE_OPENCLAW_MODELS, type WalletConfig, type WalletResolution, blockrunProvider, buildImageGenerationProvider, buildPartnerTools, buildProviderModels, clearStats, plugin as default, deriveAllKeys, deriveEvmKey, deriveSolanaKeyBytes, fetchWithRetry, formatDuration, formatStatsAscii, generateWalletMnemonic, getAgenticModels, getModelContextWindow, getPartnerService, getProxyPort, getSessionId, getStats, hashRequestContent, injectAuthProfile, injectModelsConfig, isAgenticModel, isBalanceError, isBlockrunWebSearchDisabled, isEmptyWalletError, isInsufficientFundsError, isRetryable, isRpcError, isValidMnemonic, loadPaymentChain, logUsage, parseCallArgs, registerSpendPolicyHook, resolveModelAlias, resolvePaymentChain, savePaymentChain, setupSolana, startProxy, syncAgentModelCache };
|
|
1957
|
+
export { type AggregatedStats, BALANCE_THRESHOLDS, BLOCKRUN_MODELS, BLOCKRUN_PLUGIN_ID, type BalanceInfo, BalanceMonitor, CAIP2_BASE, CAIP2_SOLANA_MAINNET, type CachedLLMResponse, type CachedResponse, type CheckResult, type CounterpartyInfo, DEFAULT_RETRY_CONFIG, DEFAULT_SESSION_CONFIG, type DailyStats, type DerivedKeys, EmptyWalletError, FileSpendControlStorage, InMemorySpendControlStorage, InsufficientFundsError, type InsufficientFundsInfo, type LowBalanceInfo, MODEL_ALIASES, MalformedSpendPolicyError, OPENCLAW_MODELS, PARTNER_SERVICES, PAYABLE_NETWORKS, type PartnerServiceDefinition, type PartnerToolDefinition, type PaymentChain, type PolicyList, type ProxyHandle, type ProxyOptions, RequestDeduplicator, ResponseCache, type ResponseCacheConfig, type RetryConfig, RpcError, type SessionConfig, type SessionEntry, SessionStore, type SolanaBalanceInfo, SolanaBalanceMonitor, SpendControl, type SpendControlOptions, type SpendControlStorage, type SpendLimits, SpendPolicyError, type SpendRecord, type SpendWindow, type SpendingStatus, type SufficiencyResult, UnreadableSpendPolicyError, type UsageEntry, VISIBLE_OPENCLAW_MODELS, type WalletConfig, type WalletResolution, blockrunProvider, buildImageGenerationProvider, buildPartnerTools, buildProviderModels, clearStats, plugin as default, deriveAllKeys, deriveEvmKey, deriveSolanaKeyBytes, fetchWithRetry, formatDuration, formatStatsAscii, generateWalletMnemonic, getAgenticModels, getModelContextWindow, getPartnerService, getProxyPort, getSessionId, getStats, hashRequestContent, injectAuthProfile, injectModelsConfig, isAgenticModel, isBalanceError, isBlockrunWebSearchDisabled, isEmptyWalletError, isInsufficientFundsError, isRetryable, isRpcError, isValidMnemonic, loadPaymentChain, logUsage, parseCallArgs, registerSpendPolicyHook, removeRuntimeMcpConfig, resolveModelAlias, resolvePaymentChain, savePaymentChain, setRuntimeProviderConfig, setupSolana, startProxy, syncAgentModelCache };
|