@prbe.ai/electron-sdk 0.1.15 → 0.1.16

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.mjs CHANGED
@@ -1,3 +1,6 @@
1
+ // package.json
2
+ var version = "0.1.16";
3
+
1
4
  // src/agent.ts
2
5
  import * as fs3 from "fs";
3
6
  import * as path5 from "path";
@@ -1959,7 +1962,7 @@ var PRBEAgent = class _PRBEAgent {
1959
1962
  };
1960
1963
  this.interactionHandler = config.interactionHandler;
1961
1964
  this.appDataPath = config.appDataPath;
1962
- this.sessionMetadata = config.sessionMetadata ?? {};
1965
+ this.sessionMetadata = { sdk_version: version, ...config.sessionMetadata };
1963
1966
  if (this.appDataPath && !this.config.autoApprovedDirs.includes(this.appDataPath)) {
1964
1967
  this.config.autoApprovedDirs.push(this.appDataPath);
1965
1968
  }
@@ -2721,6 +2724,7 @@ export {
2721
2724
  PROBE_MARK_SVG,
2722
2725
  ReadAppLogsTool,
2723
2726
  ReadFileTool,
2727
+ version as SDK_VERSION,
2724
2728
  SearchAppLogsTool,
2725
2729
  SearchContentTool,
2726
2730
  ToolName,