@klarkxy/dsh-session-manager 0.4.0 → 0.5.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/lib/index.d.ts CHANGED
@@ -23,6 +23,10 @@ interface Config$1 {
23
23
  autoContinueMode?: AutoContinueMode;
24
24
  /** Automatic continuations allowed after each human message in an auto-continue session. */
25
25
  autoContinueMax?: number;
26
+ /** Register the fork_session tool: one-call forks of the calling session, approved once by the toggle. */
27
+ allowSelfFork?: boolean;
28
+ /** Register the send_session_message tool: agent-attributed messages to other unarchived sessions, approved once by the toggle. */
29
+ allowSendMessage?: boolean;
26
30
  }
27
31
  //#endregion
28
32
  //#region src/index.d.ts
@@ -38,6 +42,8 @@ interface Config {
38
42
  continueMode?: 'fixed' | 'auto';
39
43
  autoContinueMode?: 'off' | 'cautious' | 'bold';
40
44
  autoContinueMax?: number;
45
+ allowSelfFork?: boolean;
46
+ allowSendMessage?: boolean;
41
47
  }
42
48
  declare const Config: Schema<Config>;
43
49
  declare function apply(ctx: Context, config?: Config$1): void;