@dcyfr/ai 3.2.2 → 3.2.4

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 (34) hide show
  1. package/CHANGELOG.md +29 -0
  2. package/bin/dcyfr-ai.js +9 -4
  3. package/bin/tui.js +4 -3
  4. package/dist/.tsbuildinfo +1 -1
  5. package/dist/ai/agents/agent-loader.js +5 -4
  6. package/dist/ai/agents/agent-loader.js.map +1 -1
  7. package/dist/ai/delegation/contract-manager.d.ts.map +1 -1
  8. package/dist/ai/delegation/contract-manager.js +2 -4
  9. package/dist/ai/delegation/contract-manager.js.map +1 -1
  10. package/dist/ai/delegation/delegation-manager.d.ts.map +1 -1
  11. package/dist/ai/delegation/delegation-manager.js +1 -1
  12. package/dist/ai/delegation/delegation-manager.js.map +1 -1
  13. package/dist/ai/memory/working-memory-persistence.d.ts.map +1 -1
  14. package/dist/ai/memory/working-memory-persistence.js +3 -1
  15. package/dist/ai/memory/working-memory-persistence.js.map +1 -1
  16. package/dist/ai/runtime/agent-runtime.d.ts.map +1 -1
  17. package/dist/ai/runtime/agent-runtime.js +4 -1
  18. package/dist/ai/runtime/agent-runtime.js.map +1 -1
  19. package/dist/ai/src/container/kubernetes-backend.d.ts.map +1 -1
  20. package/dist/ai/src/container/kubernetes-backend.js +3 -1
  21. package/dist/ai/src/container/kubernetes-backend.js.map +1 -1
  22. package/dist/ai/src/plugins/runtime/wasm-plugin-runner.d.ts.map +1 -1
  23. package/dist/ai/src/plugins/runtime/wasm-plugin-runner.js +4 -2
  24. package/dist/ai/src/plugins/runtime/wasm-plugin-runner.js.map +1 -1
  25. package/dist/ai/src/plugins/security/license-checker.d.ts.map +1 -1
  26. package/dist/ai/src/plugins/security/license-checker.js +6 -0
  27. package/dist/ai/src/plugins/security/license-checker.js.map +1 -1
  28. package/dist/ai/src/plugins/security/malware-scanner.d.ts.map +1 -1
  29. package/dist/ai/src/plugins/security/malware-scanner.js +30 -14
  30. package/dist/ai/src/plugins/security/malware-scanner.js.map +1 -1
  31. package/dist/ai/src/security/prompt-scan-worker.d.ts.map +1 -1
  32. package/dist/ai/src/security/prompt-scan-worker.js +24 -6
  33. package/dist/ai/src/security/prompt-scan-worker.js.map +1 -1
  34. package/package.json +5 -5
package/CHANGELOG.md CHANGED
@@ -1,5 +1,34 @@
1
1
  # Changelog
2
2
 
3
+ ## [3.2.4](https://github.com/dcyfr-labs/dcyfr-ai/compare/v3.2.3...v3.2.4) (2026-06-12)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * resolve 8 SonarCloud new-code reliability bugs ([#270](https://github.com/dcyfr-labs/dcyfr-ai/issues/270)) ([8608ba4](https://github.com/dcyfr-labs/dcyfr-ai/commit/8608ba44091117663cd9b0f83ee2d5712b09834d))
9
+
10
+
11
+ ### Dependencies
12
+
13
+ * bump @anthropic-ai/sdk from 0.102.0 to 0.104.1 ([#263](https://github.com/dcyfr-labs/dcyfr-ai/issues/263)) ([251ffd6](https://github.com/dcyfr-labs/dcyfr-ai/commit/251ffd64a069e698388f434daed058eb839bdd92))
14
+ * bump @supabase/supabase-js from 2.107.0 to 2.108.1 ([#264](https://github.com/dcyfr-labs/dcyfr-ai/issues/264)) ([e806aa1](https://github.com/dcyfr-labs/dcyfr-ai/commit/e806aa1ed2979988256a03ee933f118c40b589b5))
15
+ * bump @types/node from 25.9.2 to 25.9.3 ([#260](https://github.com/dcyfr-labs/dcyfr-ai/issues/260)) ([ebf5d3f](https://github.com/dcyfr-labs/dcyfr-ai/commit/ebf5d3f4b26a4f44cf2460c800b4dab311c13a30))
16
+ * bump @vitest/coverage-v8 from 4.1.7 to 4.1.8 ([#265](https://github.com/dcyfr-labs/dcyfr-ai/issues/265)) ([d5ce391](https://github.com/dcyfr-labs/dcyfr-ai/commit/d5ce3917bda992b7121b38587637d5081a31a075))
17
+ * bump cloudflare from 6.3.0 to 6.4.0 ([#259](https://github.com/dcyfr-labs/dcyfr-ai/issues/259)) ([93fb6b7](https://github.com/dcyfr-labs/dcyfr-ai/commit/93fb6b72b4568739c02885ea6bf8497de53a52d9))
18
+ * bump fastmcp from 4.0.2 to 4.1.0 ([#266](https://github.com/dcyfr-labs/dcyfr-ai/issues/266)) ([54bf404](https://github.com/dcyfr-labs/dcyfr-ai/commit/54bf404d67f32611df6395d5dc34bbcecc7d73e2))
19
+ * bump groq-sdk from 1.2.0 to 1.2.1 ([#267](https://github.com/dcyfr-labs/dcyfr-ai/issues/267)) ([3991460](https://github.com/dcyfr-labs/dcyfr-ai/commit/399146015f65fba9ca35c5fadbdefa212b0aab7b))
20
+ * bump mem0ai from 3.0.6 to 3.0.7 ([#268](https://github.com/dcyfr-labs/dcyfr-ai/issues/268)) ([d06cabb](https://github.com/dcyfr-labs/dcyfr-ai/commit/d06cabb97f59e4e8bbf8ca7542d9267d96e331d3))
21
+ * bump openai from 6.39.1 to 6.42.0 ([#262](https://github.com/dcyfr-labs/dcyfr-ai/issues/262)) ([5c2c613](https://github.com/dcyfr-labs/dcyfr-ai/commit/5c2c613f594618f51a813d252ee436e9897a0bec))
22
+ * bump typescript-eslint from 8.60.1 to 8.61.0 ([#261](https://github.com/dcyfr-labs/dcyfr-ai/issues/261)) ([d68c286](https://github.com/dcyfr-labs/dcyfr-ai/commit/d68c2861bced87a05ba9fdfc370626baa90401af))
23
+
24
+ ## [3.2.3](https://github.com/dcyfr-labs/dcyfr-ai/compare/v3.2.2...v3.2.3) (2026-06-11)
25
+
26
+
27
+ ### Dependencies
28
+
29
+ * bump neo4j-driver from 5.28.3 to 6.1.0 ([#244](https://github.com/dcyfr-labs/dcyfr-ai/issues/244)) ([9fa8cd2](https://github.com/dcyfr-labs/dcyfr-ai/commit/9fa8cd21d6e2360d9b8811844208ce5f4214e25d))
30
+ * bump redis from 5.12.1 to 6.0.0 ([#245](https://github.com/dcyfr-labs/dcyfr-ai/issues/245)) ([cf56322](https://github.com/dcyfr-labs/dcyfr-ai/commit/cf5632213182363f3e31f6f03c1cbc4d151fa64b))
31
+
3
32
  ## [3.2.2](https://github.com/dcyfr-labs/dcyfr-ai/compare/v3.2.1...v3.2.2) (2026-06-11)
4
33
 
5
34
 
package/bin/dcyfr-ai.js CHANGED
@@ -27,10 +27,15 @@ function parseArgs() {
27
27
  const arg = args[i];
28
28
 
29
29
  if (arg.startsWith('--')) {
30
- const [key, value] = arg.substring(2).split('=');
31
- flags[key] = value !== undefined ? value : args[i + 1];
32
- if (value === undefined && args[i + 1] && !args[i + 1].startsWith('-')) {
33
- i++; // Skip next arg if it was used as value
30
+ const parts = arg.substring(2).split('=');
31
+ const key = parts[0];
32
+ if (parts.length > 1) {
33
+ flags[key] = parts[1];
34
+ } else {
35
+ flags[key] = args[i + 1];
36
+ if (args[i + 1] && !args[i + 1].startsWith('-')) {
37
+ i++; // Skip next arg if it was used as value
38
+ }
34
39
  }
35
40
  } else if (arg.startsWith('-')) {
36
41
  flags[arg.substring(1)] = true;
package/bin/tui.js CHANGED
@@ -210,9 +210,10 @@ function parseArgs() {
210
210
  const arg = args[i];
211
211
 
212
212
  if (arg.startsWith('--')) {
213
- const [key, value] = arg.substring(2).split('=');
214
- if (value !== undefined) {
215
- flags[key] = value;
213
+ const parts = arg.substring(2).split('=');
214
+ const key = parts[0];
215
+ if (parts.length > 1) {
216
+ flags[key] = parts[1];
216
217
  } else {
217
218
  flags[key] = args[i + 1]?.startsWith('--') ? true : args[++i] || true;
218
219
  }