deepline 0.3.63 → 0.3.64

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.
package/dist/index.js CHANGED
@@ -553,7 +553,13 @@ function parseEnvFile(filePath) {
553
553
  if (eqIndex < 0) continue;
554
554
  const key = trimmed.slice(0, eqIndex).trim();
555
555
  let value = trimmed.slice(eqIndex + 1).trim();
556
- if (value.length >= 2 && (value.startsWith('"') && value.endsWith('"') || value.startsWith("'") && value.endsWith("'"))) {
556
+ if (value.length >= 2 && value.startsWith('"') && value.endsWith('"')) {
557
+ try {
558
+ value = JSON.parse(value);
559
+ } catch {
560
+ value = value.slice(1, -1);
561
+ }
562
+ } else if (value.length >= 2 && value.startsWith("'") && value.endsWith("'")) {
557
563
  value = value.slice(1, -1);
558
564
  }
559
565
  if (key && value) {
@@ -826,7 +832,7 @@ var SDK_RELEASE = {
826
832
  // available at toolResponse.rawV2 while toolResponse.raw and all declared
827
833
  // getters keep their established compatibility behavior.
828
834
  // 0.3.1 deprecated the legacy `deepline enrich` command in favor of Plays.
829
- version: "0.3.63",
835
+ version: "0.3.64",
830
836
  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
837
  packageCapabilities: {
832
838
  updatePreferences: 1
package/dist/index.mjs CHANGED
@@ -465,7 +465,13 @@ function parseEnvFile(filePath) {
465
465
  if (eqIndex < 0) continue;
466
466
  const key = trimmed.slice(0, eqIndex).trim();
467
467
  let value = trimmed.slice(eqIndex + 1).trim();
468
- if (value.length >= 2 && (value.startsWith('"') && value.endsWith('"') || value.startsWith("'") && value.endsWith("'"))) {
468
+ if (value.length >= 2 && value.startsWith('"') && value.endsWith('"')) {
469
+ try {
470
+ value = JSON.parse(value);
471
+ } catch {
472
+ value = value.slice(1, -1);
473
+ }
474
+ } else if (value.length >= 2 && value.startsWith("'") && value.endsWith("'")) {
469
475
  value = value.slice(1, -1);
470
476
  }
471
477
  if (key && value) {
@@ -738,7 +744,7 @@ var SDK_RELEASE = {
738
744
  // available at toolResponse.rawV2 while toolResponse.raw and all declared
739
745
  // getters keep their established compatibility behavior.
740
746
  // 0.3.1 deprecated the legacy `deepline enrich` command in favor of Plays.
741
- version: "0.3.63",
747
+ version: "0.3.64",
742
748
  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
749
  packageCapabilities: {
744
750
  updatePreferences: 1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "deepline",
3
- "version": "0.3.63",
3
+ "version": "0.3.64",
4
4
  "description": "GTM data CLI and TypeScript SDK for coding agents",
5
5
  "license": "MIT",
6
6
  "homepage": "https://code.deepline.com",