libp2p-mesh 2026.6.4 → 2026.6.6

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.
@@ -16,7 +16,7 @@ export function registerLibp2pMesh(api) {
16
16
  const store = createInstancePeerStore({ logger: api.logger });
17
17
  const delivery = createOpenClawRuntimeInboundDelivery({
18
18
  config: api.config,
19
- loadAdapter: api.runtime.channel.outbound.loadAdapter,
19
+ loadAdapter: (channel) => api.runtime.channel.outbound.loadAdapter(channel),
20
20
  logger: api.logger,
21
21
  });
22
22
  const router = createInstanceRouter({
@@ -4,9 +4,15 @@ export interface PromptChoice {
4
4
  hint?: string;
5
5
  }
6
6
  export interface WizardPrompter {
7
- question(prompt: string, defaultValue?: string): Promise<string>;
8
- confirm(prompt: string, defaultValue?: boolean): Promise<boolean>;
9
- select(prompt: string, choices: PromptChoice[]): Promise<string>;
7
+ question(prompt: string, defaultValue?: string, options?: {
8
+ allowSkip?: boolean;
9
+ }): Promise<string>;
10
+ confirm(prompt: string, defaultValue?: boolean, options?: {
11
+ allowSkip?: boolean;
12
+ }): Promise<boolean | null>;
13
+ select(prompt: string, choices: PromptChoice[], options?: {
14
+ includeSkip?: boolean;
15
+ }): Promise<string>;
10
16
  multiline(prompt: string, helpText?: string): Promise<string[]>;
11
17
  displayBox(title: string, lines: string[]): void;
12
18
  displaySuccess(message: string): void;
@@ -20,3 +26,6 @@ export declare function runSetupWizard(prompter: WizardPrompter, currentConfig:
20
26
  export declare class WizardCancelledError extends Error {
21
27
  constructor();
22
28
  }
29
+ export declare class WizardFinishError extends Error {
30
+ constructor();
31
+ }