@uniqbit/mate-core 0.15.5-canary.3 → 0.15.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
package/src/lib/install.ts
CHANGED
|
@@ -130,6 +130,8 @@ export async function resolveInstallContext(
|
|
|
130
130
|
if (root.kind === "working") return workingContext();
|
|
131
131
|
if (root.kind === "core" || !root.rootPath || !root.config) return coreContext();
|
|
132
132
|
|
|
133
|
+
const { hub: _hub, ...installConfig } = root.config;
|
|
134
|
+
|
|
133
135
|
return {
|
|
134
136
|
kind: root.kind,
|
|
135
137
|
companionPath: root.rootPath,
|
|
@@ -137,7 +139,7 @@ export async function resolveInstallContext(
|
|
|
137
139
|
fingerprint: fingerprint({
|
|
138
140
|
kind: root.kind,
|
|
139
141
|
companionPath: root.rootPath,
|
|
140
|
-
config:
|
|
142
|
+
config: installConfig,
|
|
141
143
|
}),
|
|
142
144
|
};
|
|
143
145
|
}
|
|
@@ -62,7 +62,11 @@ async function configureClaudeGuidance(companionPath: string): Promise<void> {
|
|
|
62
62
|
);
|
|
63
63
|
}
|
|
64
64
|
|
|
65
|
-
const COMPANION_GITIGNORE_ENTRIES = [
|
|
65
|
+
const COMPANION_GITIGNORE_ENTRIES = [
|
|
66
|
+
".claude/settings.local.json",
|
|
67
|
+
".claude/settings.local.json.bak",
|
|
68
|
+
".claude/state/",
|
|
69
|
+
];
|
|
66
70
|
|
|
67
71
|
// Command substrings that mark a working-repo hook group as Mate-managed.
|
|
68
72
|
// The mate plugin hooks (validate-artifact-path, mate-session-banner,
|