mirror of
https://github.com/affaan-m/everything-claude-code.git
synced 2026-05-12 07:37:24 +08: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:
@@ -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' },
|
||||
|
||||
Reference in New Issue
Block a user