mnemospark 0.9.2 → 1.0.0

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/index.d.ts CHANGED
@@ -643,7 +643,7 @@ type MnemosparkSubagentTaskV1 = {
643
643
  args: string;
644
644
  timeoutSeconds?: number;
645
645
  requestedBy: {
646
- pluginCommand: "mnemospark_cloud";
646
+ pluginCommand: "mnemospark";
647
647
  chatId?: string;
648
648
  senderId?: string;
649
649
  };
@@ -740,6 +740,14 @@ type OpenClawCronAdapter = {
740
740
  };
741
741
  declare function createCloudCommand(options?: CreateCloudCommandOptions): OpenClawPluginCommandDefinition;
742
742
 
743
+ type RunMnemosparkSlashHandlerOptions = {
744
+ cloudCommandHandler?: PluginCommandHandler;
745
+ };
746
+ /**
747
+ * OpenClaw + CLI: same handler for `/mnemospark` (args = everything after the command name).
748
+ */
749
+ declare function runMnemosparkSlashHandler(ctx: PluginCommandContext, options?: RunMnemosparkSlashHandlerOptions): Promise<PluginCommandResult>;
750
+
743
751
  /**
744
752
  * mnemospark plugin entrypoint.
745
753
  *
@@ -749,4 +757,4 @@ declare function createCloudCommand(options?: CreateCloudCommandOptions): OpenCl
749
757
 
750
758
  declare const plugin: OpenClawPluginDefinition;
751
759
 
752
- export { BALANCE_THRESHOLDS, type BalanceInfo, BalanceMonitor, type CachedPaymentParams, DEFAULT_RETRY_CONFIG, EmptyWalletError, InsufficientFundsError, type InsufficientFundsInfo, type LowBalanceInfo, PaymentCache, type PaymentFetchResult, type PreAuthParams, type ProxyHandle, type ProxyOptions, type RetryConfig, RpcError, type SufficiencyResult, createCloudCommand, createPaymentFetch, plugin as default, fetchWithRetry, getProxyPort, isBalanceError, isEmptyWalletError, isInsufficientFundsError, isRetryable, isRpcError, startProxy };
760
+ export { BALANCE_THRESHOLDS, type BalanceInfo, BalanceMonitor, type CachedPaymentParams, DEFAULT_RETRY_CONFIG, EmptyWalletError, InsufficientFundsError, type InsufficientFundsInfo, type LowBalanceInfo, PaymentCache, type PaymentFetchResult, type PreAuthParams, type ProxyHandle, type ProxyOptions, type RetryConfig, RpcError, type SufficiencyResult, createCloudCommand, createPaymentFetch, plugin as default, fetchWithRetry, getProxyPort, isBalanceError, isEmptyWalletError, isInsufficientFundsError, isRetryable, isRpcError, runMnemosparkSlashHandler, startProxy };