product-discovery-cli 0.0.5 → 0.0.6

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "product-discovery-cli",
3
- "version": "0.0.5",
3
+ "version": "0.0.6",
4
4
  "description": "CLI to consume the Product Discovery Agent API",
5
5
  "license": "Apache-2.0",
6
6
  "author": "AuronForge",
@@ -82,3 +82,5 @@ class RunDiscoveryFlow {
82
82
  this.presenter.goodbye();
83
83
  }
84
84
  }
85
+
86
+ module.exports = { RunDiscoveryFlow };
package/src/index.js CHANGED
@@ -10,7 +10,7 @@ const { RunDiscoveryFlow } = require("./application/RunDiscoveryFlow");
10
10
  const DEFAULT_API_URL = process.env.API_URL || "http://localhost:3000/api/v1/discovery";
11
11
 
12
12
  const prompt = new PromptService();
13
- const presenter = new ConsolePresenter();
13
+ const presenter = new ConsolePresenter(null);
14
14
  const apiClient = new ProductDiscoveryApi();
15
15
  const storage = new JsonFileStorage();
16
16
  const useCase = new RunDiscoveryFlow({ prompt, apiClient, storage, presenter });
@@ -75,3 +75,5 @@ class ConsolePresenter {
75
75
  output.write("\n");
76
76
  }
77
77
  }
78
+
79
+ module.exports = { ConsolePresenter };