deeplyzer 0.2.0 → 0.4.0

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.
Files changed (3) hide show
  1. package/README.md +43 -2
  2. package/index.js +6 -0
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -75,6 +75,30 @@ Install Deeplyzer using npm:
75
75
  npm install deeplyzer
76
76
  ```
77
77
 
78
+ ## Command Line Usage
79
+
80
+ - **Supply a configuration file**
81
+
82
+ ```bash
83
+ deeplyzer configFile.json
84
+ ```
85
+
86
+ This creates graphs and workflows, then runs static and deep analysis.
87
+
88
+ - **Clear the session**
89
+
90
+ ```bash
91
+ deeplyzer clear-session
92
+ ```
93
+
94
+ - **Reset the analysis session**
95
+
96
+ ```bash
97
+ deeplyzer reset-analysis-session
98
+ ```
99
+
100
+ This resets the session and performs only static and deep analysis.
101
+
78
102
  ## Configuration
79
103
 
80
104
  Create a configuration file (e.g. `deeplyzer.json`) in your project root.
@@ -88,7 +112,7 @@ Create a configuration file (e.g. `deeplyzer.json`) in your project root.
88
112
  "model": "gpt-6.1-sol",
89
113
  "apiKey": "<API key goes here>"
90
114
  },
91
- "log_path": "C:\\deeplyzer\\.logs",
115
+ "log_path": "C:\\<local path>\\.logs",
92
116
  "build_graph": false,
93
117
  "deep_analysis": true,
94
118
  "static_analysis": false,
@@ -96,6 +120,19 @@ Create a configuration file (e.g. `deeplyzer.json`) in your project root.
96
120
  }
97
121
  ```
98
122
 
123
+ ### Minimum Configuration
124
+
125
+ ```json
126
+ {
127
+ "sources": ["C:\\<source folder>"],
128
+ "llm": {
129
+ "provider": "openai",
130
+ "model": "gpt-6.1-sol",
131
+ "apiKey": "<API key goes here>"
132
+ }
133
+ }
134
+ ```
135
+
99
136
  ### Configuration Options
100
137
 
101
138
  | Option | Required | Default | Description |
@@ -109,7 +146,7 @@ Create a configuration file (e.g. `deeplyzer.json`) in your project root.
109
146
  | `deep_analysis` | No | true | Enable deep LLM-based analysis. |
110
147
  | `static_analysis` | No | `true` | Enable static code analysis. |
111
148
  | `batch_size` | No | `10` | Number of sources processed in each batch. |
112
- | `log_path` | No | - | Directory where analysis logs are written. |
149
+ | `log_path` | No | - | Windows or platform-specific directory where logs are written (example: `C:\\deeplyzer\\.logs`). |
113
150
 
114
151
  **Note:** `build_graph`, `static_analysis`, and `batch_size` are optional. If omitted, their default values are used.
115
152
 
@@ -118,6 +155,10 @@ Create a configuration file (e.g. `deeplyzer.json`) in your project root.
118
155
  - **GitHub Repository:** [github.com/areteqa/deeplyzer](https://github.com/areteqa/deeplyzer)
119
156
  - **NPM Package:** [npmjs.com/package/deeplyzer](https://www.npmjs.com/package/deeplyzer)
120
157
 
158
+ ### Workflow Runners
159
+
160
+ - **deeplyzer-web-engine:** [npmjs.com/package/deeplyzer-web-engine](https://www.npmjs.com/package/deeplyzer-web-engine)
161
+
121
162
  ## License
122
163
 
123
164
  Deeplyzer is open-source software licensed under the [MIT License](LICENSE).
package/index.js CHANGED
@@ -16,6 +16,12 @@ const path = require("path");
16
16
  return;
17
17
  }
18
18
 
19
+ if (argument === "reset-analysis-session") {
20
+ SessionManager.resetAnalysisSession();
21
+ console.log("[INFO] Session reset successfully.");
22
+ return;
23
+ }
24
+
19
25
  // Normal execution
20
26
  SessionManager.loadSession();
21
27
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "deeplyzer",
3
- "version": "0.2.0",
3
+ "version": "0.4.0",
4
4
  "description": "Go beyond static code analysis. End-to-end intelligence across code, execution flows, databases, and cloud infrastructure.",
5
5
  "main": "index.js",
6
6
  "type": "commonjs",