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:
Tom Boucher
2026-05-11 21:12:29 -04:00
committed by GitHub
parent dd49abd32f
commit 5c35eceb41
8 changed files with 37 additions and 5 deletions

View File

@@ -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);
}