fix: restore poor mode stubs (CCP-specific, prevents build failure)
This commit is contained in:
parent
39a3ff8d7a
commit
23ea5a67d3
|
|
@ -7,7 +7,8 @@ import { getIsNonInteractiveSession } from '../bootstrap/state.js'
|
|||
import { getCurrentWorktreeSession } from '../utils/worktree.js'
|
||||
import { getSessionStartDate } from './common.js'
|
||||
import { getInitialSettings } from '../utils/settings/settings.js'
|
||||
import { isPoorModeActive } from '../commands/poor/poorMode.js'
|
||||
// Stub: poor mode removed from CCP
|
||||
const isPoorModeActive = () => false
|
||||
import {
|
||||
AGENT_TOOL_NAME,
|
||||
VERIFICATION_AGENT_TYPE,
|
||||
|
|
|
|||
|
|
@ -281,10 +281,10 @@ const extractSessionMemory = sequential(async function (
|
|||
return
|
||||
}
|
||||
|
||||
// Poor mode: skip to reduce token consumption
|
||||
// Poor mode: skip to reduce token consumption (stubbed — poor mode removed from CCP)
|
||||
if (feature('POOR')) {
|
||||
const { isPoorModeActive } = await import('../../commands/poor/poorMode.js')
|
||||
if (isPoorModeActive()) return
|
||||
// isPoorModeActive stub — poor/poorMode.js not present in CCP
|
||||
return
|
||||
}
|
||||
|
||||
// Check gate lazily when hook runs (cached, non-blocking)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user