@dcyfr/ai 3.0.0 → 3.0.2

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 (65) hide show
  1. package/CHANGELOG.md +10 -0
  2. package/LICENSE +11 -30
  3. package/README.md +211 -138
  4. package/dist/.tsbuildinfo +1 -1
  5. package/dist/ai/core/provider-registry.d.ts +8 -0
  6. package/dist/ai/core/provider-registry.d.ts.map +1 -1
  7. package/dist/ai/core/provider-registry.js +17 -2
  8. package/dist/ai/core/provider-registry.js.map +1 -1
  9. package/dist/ai/metacognition/config.d.ts +41 -0
  10. package/dist/ai/metacognition/config.d.ts.map +1 -0
  11. package/dist/ai/metacognition/config.js +51 -0
  12. package/dist/ai/metacognition/config.js.map +1 -0
  13. package/dist/ai/metacognition/governance.d.ts +68 -0
  14. package/dist/ai/metacognition/governance.d.ts.map +1 -0
  15. package/dist/ai/metacognition/governance.js +118 -0
  16. package/dist/ai/metacognition/governance.js.map +1 -0
  17. package/dist/ai/metacognition/index.d.ts +24 -0
  18. package/dist/ai/metacognition/index.d.ts.map +1 -0
  19. package/dist/ai/metacognition/index.js +18 -0
  20. package/dist/ai/metacognition/index.js.map +1 -0
  21. package/dist/ai/metacognition/ledger.d.ts +121 -0
  22. package/dist/ai/metacognition/ledger.d.ts.map +1 -0
  23. package/dist/ai/metacognition/ledger.js +268 -0
  24. package/dist/ai/metacognition/ledger.js.map +1 -0
  25. package/dist/ai/metacognition/runtime.d.ts +205 -0
  26. package/dist/ai/metacognition/runtime.d.ts.map +1 -0
  27. package/dist/ai/metacognition/runtime.js +391 -0
  28. package/dist/ai/metacognition/runtime.js.map +1 -0
  29. package/dist/ai/metacognition/telemetry.d.ts +144 -0
  30. package/dist/ai/metacognition/telemetry.d.ts.map +1 -0
  31. package/dist/ai/metacognition/telemetry.js +149 -0
  32. package/dist/ai/metacognition/telemetry.js.map +1 -0
  33. package/dist/ai/metacognition/transfer.d.ts +153 -0
  34. package/dist/ai/metacognition/transfer.d.ts.map +1 -0
  35. package/dist/ai/metacognition/transfer.js +182 -0
  36. package/dist/ai/metacognition/transfer.js.map +1 -0
  37. package/dist/ai/metacognition/types.d.ts +302 -0
  38. package/dist/ai/metacognition/types.d.ts.map +1 -0
  39. package/dist/ai/metacognition/types.js +79 -0
  40. package/dist/ai/metacognition/types.js.map +1 -0
  41. package/dist/ai/runtime/agent-runtime.d.ts.map +1 -1
  42. package/dist/ai/runtime/agent-runtime.js.map +1 -1
  43. package/dist/ai/src/integrations/linear/index.d.ts +19 -0
  44. package/dist/ai/src/integrations/linear/index.d.ts.map +1 -0
  45. package/dist/ai/src/integrations/linear/index.js +20 -0
  46. package/dist/ai/src/integrations/linear/index.js.map +1 -0
  47. package/dist/ai/src/integrations/linear/issue-mapper.d.ts +93 -0
  48. package/dist/ai/src/integrations/linear/issue-mapper.d.ts.map +1 -0
  49. package/dist/ai/src/integrations/linear/issue-mapper.js +186 -0
  50. package/dist/ai/src/integrations/linear/issue-mapper.js.map +1 -0
  51. package/dist/ai/src/integrations/linear/linear-client.d.ts +199 -0
  52. package/dist/ai/src/integrations/linear/linear-client.d.ts.map +1 -0
  53. package/dist/ai/src/integrations/linear/linear-client.js +300 -0
  54. package/dist/ai/src/integrations/linear/linear-client.js.map +1 -0
  55. package/dist/ai/src/runtime/agent-runtime.js +1 -1
  56. package/dist/ai/src/runtime/agent-runtime.js.map +1 -1
  57. package/dist/ai/src/security/prompt-scan-worker.d.ts +63 -0
  58. package/dist/ai/src/security/prompt-scan-worker.d.ts.map +1 -0
  59. package/dist/ai/src/security/prompt-scan-worker.js +174 -0
  60. package/dist/ai/src/security/prompt-scan-worker.js.map +1 -0
  61. package/dist/ai/src/telemetry/delegation-telemetry.d.ts +10 -0
  62. package/dist/ai/src/telemetry/delegation-telemetry.d.ts.map +1 -1
  63. package/dist/ai/src/telemetry/delegation-telemetry.js +23 -0
  64. package/dist/ai/src/telemetry/delegation-telemetry.js.map +1 -1
  65. package/package.json +29 -19
package/CHANGELOG.md CHANGED
@@ -1,5 +1,15 @@
1
1
  # Changelog
2
2
 
3
+ ## 3.0.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [`b3c3d56`](https://github.com/dcyfr/dcyfr-ai/commit/b3c3d5699812327ddaa42ecb71c2a99324f10fc3) Thanks [@dcyfr](https://github.com/dcyfr)! - Bump runtime SDK dependencies to latest major versions:
8
+ - groq-sdk 0.3.0 → 1.1.1 (used via OpenAI-compatible API, no callsite changes)
9
+ - cloudflare 4.5.0 → 5.2.0 (Cloudflare v5 binding types)
10
+ - better-sqlite3 11.10.0 → 12.6.2 (reputation engine; no BigInt columns, no .safeIntegers() needed)
11
+ - Fix z.record() key type in container/types.ts for Zod 4 compatibility
12
+
3
13
  ## 3.0.0
4
14
 
5
15
  ### Major Changes
package/LICENSE CHANGED
@@ -1,13 +1,15 @@
1
- MIT License
1
+ SPDX-License-Identifier: MIT
2
2
 
3
- Copyright (c) 2025-2026 DCYFR Labs (https://www.dcyfr.ai)
3
+ # MIT License
4
+
5
+ Copyright © 2025-2026 DCYFR Labs
4
6
 
5
7
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
8
  of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
9
+ in the Software without restriction, including without limitation the rights to
10
+ use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
11
+ of the Software, and to permit persons to whom the Software is furnished to do
12
+ so, subject to the following conditions:
11
13
 
12
14
  The above copyright notice and this permission notice shall be included in all
13
15
  copies or substantial portions of the Software.
@@ -20,28 +22,7 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
22
  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
23
  SOFTWARE.
22
24
 
23
- ---
24
-
25
- ## Commercial Use
26
-
27
- This software is dual-licensed:
28
-
29
- - **MIT License** applies to personal, educational, and non-commercial use
30
- - **Commercial License** required for business and revenue-generating use
31
-
32
- ### Commercial use includes:
33
- - Using @dcyfr/ai in a product or service that generates revenue
34
- - Deploying in a business environment (>5 employees)
35
- - Providing consulting/services using @dcyfr/ai for profit
36
- - Distributing as part of a commercial offering
37
-
38
- ### To obtain a commercial license:
39
- - View tiers: https://github.com/dcyfr/workspace/blob/main/SPONSORSHIP.md
40
- - Contact: licensing@dcyfr.ai
41
- - GitHub Sponsors: https://github.com/sponsors/dcyfr
42
-
43
- For questions about whether your use requires a commercial license, contact licensing@dcyfr.ai.
44
-
45
- ## Trademark
25
+ ## Trademark Notice
46
26
 
47
- "DCYFR" is a trademark of DCYFR Labs. See TRADEMARK.md for usage guidelines.
27
+ DCYFR is a trademark of DCYFR Labs. When using DCYFR in titles, product names,
28
+ or branding, proper trademark notation should be used (DCYFR™, DCYFR Labs®).