@@ -4557,8 +4557,8 @@ describe("codex manager cli commands", () => {
45574557 const selectSequence = queueSettingsSelectSequence ( [
45584558 { type : "experimental" } ,
45594559 requireSettingsHotkey ( "1" , { type : "sync" } ) ,
4560- requireSettingsHotkey ( "a " , { type : "apply" } ) ,
4561- requireSettingsHotkey ( "q " , { type : "back" } ) ,
4560+ requireSettingsHotkey ( "A " , { type : "apply" } ) ,
4561+ requireSettingsHotkey ( "Q " , { type : "back" } ) ,
45624562 { type : "back" } ,
45634563 { type : "back" } ,
45644564 ] ) ;
@@ -4631,7 +4631,7 @@ describe("codex manager cli commands", () => {
46314631 const selectSequence = queueSettingsSelectSequence ( [
46324632 { type : "experimental" } ,
46334633 requireSettingsHotkey ( "2" , { type : "backup" } ) ,
4634- requireSettingsHotkey ( "q " , { type : "back" } ) ,
4634+ requireSettingsHotkey ( "Q " , { type : "back" } ) ,
46354635 { type : "back" } ,
46364636 { type : "back" } ,
46374637 ] ) ;
@@ -4700,13 +4700,19 @@ describe("codex manager cli commands", () => {
47004700 const now = Date . now ( ) ;
47014701 setupInteractiveSettingsLogin ( createSettingsStorage ( now ) ) ;
47024702 const configModule = await import ( "../lib/config.js" ) ;
4703- const defaults = configModule . getDefaultPluginConfig ( ) ;
4703+ const defaults = {
4704+ ...configModule . getDefaultPluginConfig ( ) ,
4705+ proactiveRefreshGuardian : false ,
4706+ proactiveRefreshIntervalMs : 180_000 ,
4707+ } ;
47044708 loadPluginConfigMock . mockReturnValue ( structuredClone ( defaults ) ) ;
47054709 const selectSequence = queueSettingsSelectSequence ( [
47064710 { type : "experimental" } ,
47074711 requireSettingsHotkey ( "3" , { type : "toggle-refresh-guardian" } ) ,
4708- requireSettingsHotkey ( "]" , { type : "increase-refresh-interval" } ) ,
4709- requireSettingsHotkey ( "s" , { type : "save" } ) ,
4712+ requireSettingsHotkey ( "[" , { type : "decrease-refresh-interval" } ) ,
4713+ requireSettingsHotkey ( "-" , { type : "decrease-refresh-interval" } ) ,
4714+ requireSettingsHotkey ( "+" , { type : "increase-refresh-interval" } ) ,
4715+ requireSettingsHotkey ( "S" , { type : "save" } ) ,
47104716 { type : "back" } ,
47114717 ] ) ;
47124718
@@ -4718,8 +4724,7 @@ describe("codex manager cli commands", () => {
47184724 expect ( savePluginConfigMock ) . toHaveBeenCalledWith (
47194725 expect . objectContaining ( {
47204726 proactiveRefreshGuardian : ! ( defaults . proactiveRefreshGuardian ?? false ) ,
4721- proactiveRefreshIntervalMs :
4722- ( defaults . proactiveRefreshIntervalMs ?? 60000 ) + 60000 ,
4727+ proactiveRefreshIntervalMs : 120_000 ,
47234728 } ) ,
47244729 ) ;
47254730 } ) ;
@@ -4745,7 +4750,7 @@ describe("codex manager cli commands", () => {
47454750 const selectSequence = queueSettingsSelectSequence ( [
47464751 { type : "experimental" } ,
47474752 { type : "sync" } ,
4748- requireSettingsHotkey ( "q " , { type : "back" } ) ,
4753+ requireSettingsHotkey ( "Q " , { type : "back" } ) ,
47494754 { type : "back" } ,
47504755 { type : "back" } ,
47514756 ] ) ;
@@ -4798,7 +4803,7 @@ describe("codex manager cli commands", () => {
47984803 const selectSequence = queueSettingsSelectSequence ( [
47994804 { type : "experimental" } ,
48004805 requireSettingsHotkey ( "1" , { type : "sync" } ) ,
4801- requireSettingsHotkey ( "q " , { type : "back" } ) ,
4806+ requireSettingsHotkey ( "Q " , { type : "back" } ) ,
48024807 { type : "back" } ,
48034808 { type : "back" } ,
48044809 ] ) ;
0 commit comments