feat(sdk): deepen package seam for legacy query compatibility (#3419)
* feat(sdk): deepen compatibility seam for legacy profile path * chore(changeset): set PR number for #3419 * test(sdk): make query seam wiring assertion behavioral
This commit is contained in:
@@ -19,7 +19,7 @@ import { GSDError, ErrorClassification } from '../errors.js';
|
||||
import { detectRuntime, resolveGlobalSkillMarkdownPath } from './helpers.js';
|
||||
import { CLAUDE_INSTRUCTIONS } from './profile-questionnaire-data.js';
|
||||
import type { QueryHandler } from './utils.js';
|
||||
import { resolveBundledTemplatesDir } from '../sdk-package-compatibility.js';
|
||||
import { resolveBundledTemplatesDir, resolveLegacyUserProfilePath } from '../sdk-package-compatibility.js';
|
||||
|
||||
const TEMPLATE_DIR = resolveBundledTemplatesDir();
|
||||
|
||||
@@ -482,7 +482,7 @@ function cmdWriteProfileLogic(
|
||||
|
||||
let outputPath = options.output;
|
||||
if (!outputPath) {
|
||||
outputPath = join(homedir(), '.claude', 'get-shit-done', 'USER-PROFILE.md');
|
||||
outputPath = resolveLegacyUserProfilePath();
|
||||
} else if (!isAbsolute(outputPath)) {
|
||||
outputPath = join(cwd, outputPath);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user