mirror of
https://github.com/Jeuners/ECC.git
synced 2026-09-09 15:02:30 +02:00
fix: port continuous-learning observer fixes
Ports continuous-learning observer signal, storage, remote normalization, and v1 deprecation fixes onto current main.
This commit is contained in:
parent
e674a7dbd7
commit
12e1bc424d
17 changed files with 512 additions and 56 deletions
|
|
@ -10,7 +10,6 @@
|
|||
*/
|
||||
|
||||
const {
|
||||
getClaudeDir,
|
||||
getSessionsDir,
|
||||
getSessionSearchDirs,
|
||||
getLearnedSkillsDir,
|
||||
|
|
@ -21,7 +20,7 @@ const {
|
|||
stripAnsi,
|
||||
log
|
||||
} = require('../lib/utils');
|
||||
const { resolveProjectContext, writeSessionLease, resolveSessionId } = require('../lib/observer-sessions');
|
||||
const { resolveProjectContext, writeSessionLease, resolveSessionId, getHomunculusDir } = require('../lib/observer-sessions');
|
||||
const { getPackageManager, getSelectionPrompt } = require('../lib/package-manager');
|
||||
const { listAliases } = require('../lib/session-aliases');
|
||||
const { detectProjectType } = require('../lib/project-detect');
|
||||
|
|
@ -325,7 +324,7 @@ function extractInstinctAction(content) {
|
|||
}
|
||||
|
||||
function summarizeActiveInstincts(observerContext) {
|
||||
const homunculusDir = path.join(getClaudeDir(), 'homunculus');
|
||||
const homunculusDir = getHomunculusDir();
|
||||
const globalDirs = [
|
||||
{ dir: path.join(homunculusDir, 'instincts', 'personal'), scope: 'global' },
|
||||
{ dir: path.join(homunculusDir, 'instincts', 'inherited'), scope: 'global' },
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue