deepline 0.3.61 → 0.3.63

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.
@@ -199,7 +199,7 @@ export const SDK_RELEASE = {
199
199
  // available at toolResponse.rawV2 while toolResponse.raw and all declared
200
200
  // getters keep their established compatibility behavior.
201
201
  // 0.3.1 deprecated the legacy `deepline enrich` command in favor of Plays.
202
- version: '0.3.61',
202
+ version: '0.3.63',
203
203
  updateSummary:
204
204
  'Automatic CLI updates are now enabled by default. To opt out, run `deepline settings autoupdate off`; use `deepline settings autoupdate on` to re-enable updates or `deepline settings autoupdate pin <version>` to hold an exact release. This release also adds raw-v2 tool responses at toolResponse.rawV2 while preserving existing toolResponse.raw and declared getters.',
205
205
  packageCapabilities: {
@@ -1941,7 +1941,15 @@ async function analyzeSourceGraph(
1941
1941
  ): Promise<SourceGraphAnalysis> {
1942
1942
  const absoluteEntryFile = await normalizeLocalPath(entryFile);
1943
1943
  const workspace = createPlayWorkspace(absoluteEntryFile);
1944
- const sourceIdentityRoot = adapter.sourceIdentityRoot;
1944
+ // Normalize the identity root exactly as its files are normalized. Every
1945
+ // path it is compared against has been through realpath, so a root that has
1946
+ // not — a build under a symlinked temp dir, say — makes every relative()
1947
+ // escape with `..`, and sourceIdentityPath falls back to the absolute path.
1948
+ // The build directory's name then lands in graphHash, so two byte-identical
1949
+ // builds hash differently and every play re-versions on every deploy.
1950
+ const sourceIdentityRoot = adapter.sourceIdentityRoot
1951
+ ? await normalizeLocalPath(adapter.sourceIdentityRoot)
1952
+ : undefined;
1945
1953
  const localFiles = new Map<string, string>();
1946
1954
  const nodeBuiltins = new Set<string>();
1947
1955
  const packages = new Map<string, string | null>();