@remnic/plugin-claude-code 10.0.130 → 10.0.132
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.
|
@@ -693,7 +693,17 @@ function run(config) {
|
|
|
693
693
|
// snake_case wins when both are present so existing hosts are unchanged.
|
|
694
694
|
const transcriptPath = input.transcript_path || input.transcriptPath || "";
|
|
695
695
|
if (isString(transcriptPath) && transcriptPath) {
|
|
696
|
-
|
|
696
|
+
// A payload path that exists is authoritative. A missing path falls
|
|
697
|
+
// through to the host resolver: agy sends a transcriptPath pointing
|
|
698
|
+
// at a .jsonl file that never materializes, while the real transcript
|
|
699
|
+
// lives in the host-resolved SQLite db.
|
|
700
|
+
try {
|
|
701
|
+
if (fs.existsSync(transcriptPath) && fs.statSync(transcriptPath).isFile()) {
|
|
702
|
+
return transcriptPath;
|
|
703
|
+
}
|
|
704
|
+
} catch {
|
|
705
|
+
/* fall through to host resolver */
|
|
706
|
+
}
|
|
697
707
|
}
|
|
698
708
|
if (config.resolveTranscriptPath instanceof Function) {
|
|
699
709
|
try {
|