bingocode 1.1.200-beta.4 → 1.1.200-beta.5

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bingocode",
3
- "version": "1.1.200-beta.4",
3
+ "version": "1.1.200-beta.5",
4
4
  "type": "module",
5
5
  "bin": {
6
6
  "claude": "bin/claude-win.cjs",
@@ -2769,7 +2769,7 @@ export function restoreSessionMetadata(meta: {
2769
2769
  agentName?: string
2770
2770
  agentColor?: string
2771
2771
  agentSetting?: string
2772
- mode?: 'coordinator' | 'normal',
2772
+ mode?: 'coordinator' | 'normal'
2773
2773
  brainMode?: boolean
2774
2774
  worktreeSession?: PersistedWorktreeSession | null
2775
2775
  prNumber?: number
@@ -2888,13 +2888,15 @@ export function cacheSessionTitle(customTitle: string): void {
2888
2888
  * Cache-only here to avoid creating metadata-only session files at startup.
2889
2889
  */
2890
2890
  export function saveMode(mode: 'coordinator' | 'normal'): void {
2891
- export function saveBrainMode(enabled: boolean): void {
2892
- export function getCurrentSessionBrainMode(): boolean | undefined {
2893
- return getProject().currentSessionBrainMode
2891
+ getProject().currentSessionMode = mode
2894
2892
  }
2893
+
2894
+ export function saveBrainMode(enabled: boolean): void {
2895
2895
  getProject().currentSessionBrainMode = enabled
2896
2896
  }
2897
- getProject().currentSessionMode = mode
2897
+
2898
+ export function getCurrentSessionBrainMode(): boolean | undefined {
2899
+ return getProject().currentSessionBrainMode
2898
2900
  }
2899
2901
 
2900
2902
  /**