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 { getCurrentWorktreeSession } from '../utils/worktree.js'
|
||||||
import { getSessionStartDate } from './common.js'
|
import { getSessionStartDate } from './common.js'
|
||||||
import { getInitialSettings } from '../utils/settings/settings.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 {
|
import {
|
||||||
AGENT_TOOL_NAME,
|
AGENT_TOOL_NAME,
|
||||||
VERIFICATION_AGENT_TYPE,
|
VERIFICATION_AGENT_TYPE,
|
||||||
|
|
|
||||||
|
|
@ -281,10 +281,10 @@ const extractSessionMemory = sequential(async function (
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
// Poor mode: skip to reduce token consumption
|
// Poor mode: skip to reduce token consumption (stubbed — poor mode removed from CCP)
|
||||||
if (feature('POOR')) {
|
if (feature('POOR')) {
|
||||||
const { isPoorModeActive } = await import('../../commands/poor/poorMode.js')
|
// isPoorModeActive stub — poor/poorMode.js not present in CCP
|
||||||
if (isPoorModeActive()) return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
// Check gate lazily when hook runs (cached, non-blocking)
|
// Check gate lazily when hook runs (cached, non-blocking)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user