@dcyfr/ai 3.2.3 → 3.3.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 (46) hide show
  1. package/CHANGELOG.md +28 -0
  2. package/README.md +3 -3
  3. package/bin/cli.js +11 -7
  4. package/bin/dcyfr-ai.js +12 -7
  5. package/bin/tui.js +5 -4
  6. package/config/default.yaml +1 -1
  7. package/config/schema.json +818 -0
  8. package/dist/.tsbuildinfo +1 -1
  9. package/dist/ai/agents/agent-loader.js +5 -4
  10. package/dist/ai/agents/agent-loader.js.map +1 -1
  11. package/dist/ai/delegation/contract-manager.d.ts.map +1 -1
  12. package/dist/ai/delegation/contract-manager.js +2 -4
  13. package/dist/ai/delegation/contract-manager.js.map +1 -1
  14. package/dist/ai/delegation/delegation-manager.d.ts.map +1 -1
  15. package/dist/ai/delegation/delegation-manager.js +1 -1
  16. package/dist/ai/delegation/delegation-manager.js.map +1 -1
  17. package/dist/ai/generated/version.d.ts +2 -0
  18. package/dist/ai/generated/version.d.ts.map +1 -0
  19. package/dist/ai/generated/version.js +4 -0
  20. package/dist/ai/generated/version.js.map +1 -0
  21. package/dist/ai/index.d.ts +1 -1
  22. package/dist/ai/index.d.ts.map +1 -1
  23. package/dist/ai/index.js +2 -2
  24. package/dist/ai/index.js.map +1 -1
  25. package/dist/ai/memory/working-memory-persistence.d.ts.map +1 -1
  26. package/dist/ai/memory/working-memory-persistence.js +3 -1
  27. package/dist/ai/memory/working-memory-persistence.js.map +1 -1
  28. package/dist/ai/runtime/agent-runtime.d.ts.map +1 -1
  29. package/dist/ai/runtime/agent-runtime.js +4 -1
  30. package/dist/ai/runtime/agent-runtime.js.map +1 -1
  31. package/dist/ai/src/container/kubernetes-backend.d.ts.map +1 -1
  32. package/dist/ai/src/container/kubernetes-backend.js +3 -1
  33. package/dist/ai/src/container/kubernetes-backend.js.map +1 -1
  34. package/dist/ai/src/plugins/runtime/wasm-plugin-runner.d.ts.map +1 -1
  35. package/dist/ai/src/plugins/runtime/wasm-plugin-runner.js +4 -2
  36. package/dist/ai/src/plugins/runtime/wasm-plugin-runner.js.map +1 -1
  37. package/dist/ai/src/plugins/security/license-checker.d.ts.map +1 -1
  38. package/dist/ai/src/plugins/security/license-checker.js +6 -0
  39. package/dist/ai/src/plugins/security/license-checker.js.map +1 -1
  40. package/dist/ai/src/plugins/security/malware-scanner.d.ts.map +1 -1
  41. package/dist/ai/src/plugins/security/malware-scanner.js +30 -14
  42. package/dist/ai/src/plugins/security/malware-scanner.js.map +1 -1
  43. package/dist/ai/src/security/prompt-scan-worker.d.ts.map +1 -1
  44. package/dist/ai/src/security/prompt-scan-worker.js +24 -6
  45. package/dist/ai/src/security/prompt-scan-worker.js.map +1 -1
  46. package/package.json +13 -3
package/CHANGELOG.md CHANGED
@@ -1,5 +1,33 @@
1
1
  # Changelog
2
2
 
3
+ ## [3.3.0](https://github.com/dcyfr-labs/dcyfr-ai/compare/v3.2.4...v3.3.0) (2026-06-14)
4
+
5
+
6
+ ### Features
7
+
8
+ * **ci:** add documentation-parity gates and fix stale VERSION export ([#277](https://github.com/dcyfr-labs/dcyfr-ai/issues/277)) ([1c21a08](https://github.com/dcyfr-labs/dcyfr-ai/commit/1c21a085a4dbfed435a1b827cbd3fbfa0b7bc8fb))
9
+
10
+ ## [3.2.4](https://github.com/dcyfr-labs/dcyfr-ai/compare/v3.2.3...v3.2.4) (2026-06-12)
11
+
12
+
13
+ ### Bug Fixes
14
+
15
+ * 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))
16
+
17
+
18
+ ### Dependencies
19
+
20
+ * 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))
21
+ * 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))
22
+ * 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))
23
+ * 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))
24
+ * 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))
25
+ * 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))
26
+ * 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))
27
+ * 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))
28
+ * 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))
29
+ * 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))
30
+
3
31
  ## [3.2.3](https://github.com/dcyfr-labs/dcyfr-ai/compare/v3.2.2...v3.2.3) (2026-06-11)
4
32
 
5
33
 
package/README.md CHANGED
@@ -785,7 +785,7 @@ deps: bump @anthropic-ai/sdk to 0.95.2
785
785
  **Issue: `npm install @dcyfr/ai` fails with 404**
786
786
 
787
787
  - **Cause:** Package may not be published yet or npm registry issue
788
- - **Solution:** Verify package exists: `npm view @dcyfr/ai`, or install from GitHub: `npm install git+https://github.com/dcyfr/dcyfr-ai.git`
788
+ - **Solution:** Verify package exists: `npm view @dcyfr/ai`, or install from GitHub: `npm install git+https://github.com/dcyfr-labs/dcyfr-ai.git`
789
789
  - **Check:** Visit https://www.npmjs.com/package/@dcyfr/ai to confirm publication status
790
790
 
791
791
  **Issue: "Cannot find module '@dcyfr/ai'"**
@@ -970,7 +970,7 @@ A: Yes! @dcyfr/ai is used in production at dcyfr-labs and other projects. It has
970
970
 
971
971
  Found a security issue? Report it privately:
972
972
 
973
- - **GitHub Security Advisories:** [dcyfr-ai/security](https://github.com/dcyfr/dcyfr-ai/security/advisories/new)
973
+ - **GitHub Security Advisories:** [dcyfr-ai/security](https://github.com/dcyfr-labs/dcyfr-ai/security/advisories/new)
974
974
  - **Expected Response:** Within 48 hours
975
975
 
976
976
  ### Security Considerations
@@ -1018,7 +1018,7 @@ Found a security issue? Report it privately:
1018
1018
  - [ ] Enhanced provider feature parity (streaming, function calling, vision)
1019
1019
  - [ ] CommonJS compatibility mode (for legacy projects)
1020
1020
 
1021
- See [GitHub Issues](https://github.com/dcyfr/dcyfr-ai/issues) for tracked feature requests and bugs.
1021
+ See [GitHub Issues](https://github.com/dcyfr-labs/dcyfr-ai/issues) for tracked feature requests and bugs.
1022
1022
 
1023
1023
  [⬆️ Back to top](#dcyfr-ai)
1024
1024
 
package/bin/cli.js CHANGED
@@ -6,8 +6,7 @@
6
6
  */
7
7
 
8
8
  import { ConfigLoader } from '../dist/ai/config/loader.js';
9
- import { FrameworkConfigSchema } from '../dist/ai/config/schema.js';
10
- import { existsSync } from 'fs';
9
+ import { existsSync, readFileSync } from 'fs';
11
10
  import { join, dirname } from 'path';
12
11
  import { fileURLToPath } from 'url';
13
12
 
@@ -111,10 +110,15 @@ async function validateConfig(options) {
111
110
  */
112
111
  async function showSchema() {
113
112
  console.log('📋 DCYFR Configuration Schema\n');
114
- console.log('The configuration supports the following structure:\n');
115
- console.log(FrameworkConfigSchema.description || 'Framework configuration schema');
116
- console.log('\nFor detailed documentation, visit:');
117
- console.log('https://github.com/dcyfr/dcyfr-ai/blob/main/docs/configuration.md');
113
+ const schemaPath = join(__dirname, '../config/schema.json');
114
+ if (existsSync(schemaPath)) {
115
+ console.log(readFileSync(schemaPath, 'utf8'));
116
+ } else {
117
+ console.log('Generated JSON Schema not found.');
118
+ console.log('Run `npm run build && npm run docs:gen:config` to produce config/schema.json.');
119
+ }
120
+ console.log('\nFor the documented key reference, see:');
121
+ console.log('https://github.com/dcyfr-labs/dcyfr-ai/blob/main/docs/CONFIG_REFERENCE.md');
118
122
  process.exit(0);
119
123
  }
120
124
 
@@ -205,7 +209,7 @@ Examples:
205
209
  npx dcyfr-ai config:validate --verbose
206
210
 
207
211
  Documentation:
208
- https://github.com/dcyfr/dcyfr-ai
212
+ https://github.com/dcyfr-labs/dcyfr-ai
209
213
  `);
210
214
  process.exit(0);
211
215
  }
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;
@@ -316,7 +321,7 @@ EXAMPLES:
316
321
  dcyfr-ai validate-runtime
317
322
  dcyfr-ai telemetry --help # full telemetry / validate-runtime options
318
323
 
319
- For more information, visit: https://github.com/dcyfr/dcyfr-ai
324
+ For more information, visit: https://github.com/dcyfr-labs/dcyfr-ai
320
325
  `);
321
326
  }
322
327
 
@@ -355,12 +360,12 @@ async function main() {
355
360
  case 'test':
356
361
  console.log('🔍 Validation runner');
357
362
  console.log('ℹ️ Use PluginLoader and ValidationFramework in your code');
358
- console.log('See: https://github.com/dcyfr/dcyfr-ai/blob/main/docs/GETTING-STARTED.md\n');
363
+ console.log('See: https://github.com/dcyfr-labs/dcyfr-ai/blob/main/docs/GETTING-STARTED.md\n');
359
364
  break;
360
365
  case 'report':
361
366
  console.log('📊 Telemetry report generator');
362
367
  console.log('ℹ️ Use TelemetryEngine API to generate reports');
363
- console.log('See: https://github.com/dcyfr/dcyfr-ai/blob/main/examples/standalone-nextjs/scripts/telemetry-report.js\n');
368
+ console.log('See: https://github.com/dcyfr-labs/dcyfr-ai/blob/main/examples/standalone-nextjs/scripts/telemetry-report.js\n');
364
369
  break;
365
370
  case 'telemetry':
366
371
  case 'validate-runtime': {
package/bin/tui.js CHANGED
@@ -193,7 +193,7 @@ Keyboard Shortcuts:
193
193
  Ctrl+C Exit
194
194
 
195
195
  Documentation:
196
- https://github.com/dcyfr/dcyfr-ai/blob/main/docs/TUI.md
196
+ https://github.com/dcyfr-labs/dcyfr-ai/blob/main/docs/TUI.md
197
197
  `);
198
198
  process.exit(0);
199
199
  }
@@ -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
  }
@@ -1,6 +1,6 @@
1
1
  # DCYFR AI Framework Configuration
2
2
  # Version: 1.0.0
3
- # Documentation: https://github.com/dcyfr/dcyfr-ai
3
+ # Documentation: https://github.com/dcyfr-labs/dcyfr-ai
4
4
 
5
5
  # Framework version
6
6
  version: '1.0.0'