deepline 0.3.62 → 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.62',
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>();
package/dist/cli/index.js CHANGED
@@ -1120,7 +1120,7 @@ var SDK_RELEASE = {
1120
1120
  // available at toolResponse.rawV2 while toolResponse.raw and all declared
1121
1121
  // getters keep their established compatibility behavior.
1122
1122
  // 0.3.1 deprecated the legacy `deepline enrich` command in favor of Plays.
1123
- version: "0.3.62",
1123
+ version: "0.3.63",
1124
1124
  updateSummary: "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.",
1125
1125
  packageCapabilities: {
1126
1126
  updatePreferences: 1
@@ -1105,7 +1105,7 @@ var SDK_RELEASE = {
1105
1105
  // available at toolResponse.rawV2 while toolResponse.raw and all declared
1106
1106
  // getters keep their established compatibility behavior.
1107
1107
  // 0.3.1 deprecated the legacy `deepline enrich` command in favor of Plays.
1108
- version: "0.3.62",
1108
+ version: "0.3.63",
1109
1109
  updateSummary: "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.",
1110
1110
  packageCapabilities: {
1111
1111
  updatePreferences: 1
package/dist/index.js CHANGED
@@ -826,7 +826,7 @@ var SDK_RELEASE = {
826
826
  // available at toolResponse.rawV2 while toolResponse.raw and all declared
827
827
  // getters keep their established compatibility behavior.
828
828
  // 0.3.1 deprecated the legacy `deepline enrich` command in favor of Plays.
829
- version: "0.3.62",
829
+ version: "0.3.63",
830
830
  updateSummary: "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.",
831
831
  packageCapabilities: {
832
832
  updatePreferences: 1
package/dist/index.mjs CHANGED
@@ -738,7 +738,7 @@ var SDK_RELEASE = {
738
738
  // available at toolResponse.rawV2 while toolResponse.raw and all declared
739
739
  // getters keep their established compatibility behavior.
740
740
  // 0.3.1 deprecated the legacy `deepline enrich` command in favor of Plays.
741
- version: "0.3.62",
741
+ version: "0.3.63",
742
742
  updateSummary: "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.",
743
743
  packageCapabilities: {
744
744
  updatePreferences: 1
@@ -3907,7 +3907,7 @@ function resolvePackageImport(specifier, fromFile, adapter) {
3907
3907
  async function analyzeSourceGraph(entryFile, adapter, exportName) {
3908
3908
  const absoluteEntryFile = await normalizeLocalPath(entryFile);
3909
3909
  const workspace = createPlayWorkspace(absoluteEntryFile);
3910
- const sourceIdentityRoot = adapter.sourceIdentityRoot;
3910
+ const sourceIdentityRoot = adapter.sourceIdentityRoot ? await normalizeLocalPath(adapter.sourceIdentityRoot) : void 0;
3911
3911
  const localFiles = /* @__PURE__ */ new Map();
3912
3912
  const nodeBuiltins = /* @__PURE__ */ new Set();
3913
3913
  const packages = /* @__PURE__ */ new Map();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "deepline",
3
- "version": "0.3.62",
3
+ "version": "0.3.63",
4
4
  "description": "GTM data CLI and TypeScript SDK for coding agents",
5
5
  "license": "MIT",
6
6
  "homepage": "https://code.deepline.com",