secaudit 0.1.2 → 0.1.3

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
@@ -401,7 +401,7 @@ function buildCli() {
401
401
  };
402
402
  let resolved;
403
403
  if (opts.llm) {
404
- const { routeIntentWithLlm } = await import("./llm-router-JZRXUHBF.js");
404
+ const { routeIntentWithLlm } = await import("./llm-router-VJY3IEQA.js");
405
405
  resolved = await routeIntentWithLlm(text, overrides, opts.model);
406
406
  } else {
407
407
  resolved = routeIntent(text, overrides);
@@ -33,10 +33,8 @@ Respond with ONLY a JSON object in this exact format:
33
33
  "reasoning": "brief explanation of your choices"
34
34
  }
35
35
 
36
- IMPORTANT: Only include steps you believe are necessary to fulfill the user's request.
37
- If the user only asks about risks, you may not need financials.
38
- If the request seems straightforward, you may skip validation.
39
- Use your judgment \u2014 include only what's needed.`;
36
+ Given the user's request, select only the steps needed to produce the requested output.
37
+ Not every request requires every step.`;
40
38
  var DEFAULT_MODEL = "gpt-4o-mini";
41
39
  async function routeIntentWithLlm(text, overrides, model) {
42
40
  const apiKey = process.env.OPENAI_API_KEY;
@@ -50,7 +48,7 @@ async function routeIntentWithLlm(text, overrides, model) {
50
48
  console.log(` [llm] Sending intent to ${selectedModel}...`);
51
49
  const response = await client.chat.completions.create({
52
50
  model: selectedModel,
53
- temperature: 0.7,
51
+ temperature: 1,
54
52
  messages: [
55
53
  { role: "system", content: SYSTEM_PROMPT },
56
54
  { role: "user", content: text }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "secaudit",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "description": "Deterministic 10-K filing analyzer — command-driven vs intent-based invocation. Proves that intent-based invocation is probabilistic; command-driven invocation is deterministic and auditable.",
5
5
  "type": "module",
6
6
  "bin": {