raiton 6.4.0-beta.12 → 6.6.0-beta.14

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 (55) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/build/bin/index.mjs +20449 -2153
  3. package/docs/contributors/framework/plugins/csrf.md +277 -0
  4. package/docs/contributors/framework/plugins/security.md +40 -6
  5. package/docs/user-guide/README.md +9 -4
  6. package/docs/user-guide/best-practices.md +1 -0
  7. package/docs/user-guide/csrf.md +557 -0
  8. package/docs/user-guide/decorators/README.md +4 -0
  9. package/docs/user-guide/decorators/health-check.md +125 -0
  10. package/docs/user-guide/decorators/mcp.md +70 -0
  11. package/docs/user-guide/health-check.md +117 -0
  12. package/docs/user-guide/mcp.md +120 -0
  13. package/docs/user-guide/plugins.md +1 -0
  14. package/docs/user-guide/security.md +8 -2
  15. package/package.json +1 -1
  16. package/source/core/application.ts +1 -1
  17. package/source/core/builder.ts +12 -0
  18. package/source/core/controller/builder.ts +31 -2
  19. package/source/core/index.ts +1 -0
  20. package/source/core/mcp/builder.ts +76 -0
  21. package/source/core/mcp/index.ts +3 -0
  22. package/source/core/mcp/metadata.ts +80 -0
  23. package/source/core/mcp/tracker.ts +28 -0
  24. package/source/core/thread.ts +5 -1
  25. package/source/framework/artifacts.ts +32 -0
  26. package/source/framework/constants/decorators.constant.ts +6 -0
  27. package/source/framework/decorators/csrf-guard.decorator.ts +60 -0
  28. package/source/framework/decorators/csrf-token.decorator.ts +20 -0
  29. package/source/framework/decorators/health-check.decorator.ts +50 -0
  30. package/source/framework/decorators/index.ts +5 -1
  31. package/source/framework/decorators/mcp.decorator.ts +170 -0
  32. package/source/framework/enums/csrf.enum.ts +4 -0
  33. package/source/framework/enums/index.ts +2 -1
  34. package/source/framework/health-check.ts +137 -0
  35. package/source/framework/index.ts +2 -0
  36. package/source/framework/mcp/handler.ts +369 -0
  37. package/source/framework/mcp/index.ts +3 -0
  38. package/source/framework/mcp/protocol.ts +50 -0
  39. package/source/framework/mcp/streamable-http.ts +94 -0
  40. package/source/framework/plugins/index.ts +2 -1
  41. package/source/framework/plugins/mcp.plugin.ts +87 -0
  42. package/source/framework/plugins/security/csrf.ts +145 -0
  43. package/source/framework/plugins/security/index.ts +2 -0
  44. package/source/framework/utilities/artifact.util.ts +8 -0
  45. package/source/framework/utilities/csrf.util.ts +162 -0
  46. package/source/framework/utilities/index.ts +2 -1
  47. package/source/framework/utilities/openapi.utils.ts +81 -0
  48. package/source/types/application.ts +1 -1
  49. package/source/types/csrf.ts +38 -0
  50. package/source/types/index.ts +3 -1
  51. package/source/types/mcp.ts +118 -0
  52. package/source/types/raiton.ts +1 -0
  53. package/source/types/runtime.ts +1 -1
  54. /package/source/framework/utilities/{https.ts → https.util.ts} +0 -0
  55. /package/source/framework/utilities/{url.ts → url.util.ts} +0 -0
package/CHANGELOG.md CHANGED
@@ -1,3 +1,30 @@
1
+ ## [6.6.0-beta.14](https://github.com/protorians/raiton/compare/v6.5.0-beta.13...v6.6.0-beta.14) (2026-09-04)
2
+
3
+ ### Features
4
+
5
+ * feat: add DI artifact loading with artifact classification and timestamp-based caching ([fa30f50](https://github.com/protorians/raiton/commit/fa30f501a49161559faea0ca594de56edba45916))
6
+ * feat: add health-check support with default endpoint, decorator, and customizable configurations (#17) ([c6ca71d](https://github.com/protorians/raiton/commit/c6ca71dc62c99ce5ee0ec77de3bada333fcddfe6))
7
+ * feat: Add CSRF protection middleware and improve related utilities (#16) ([de401f4](https://github.com/protorians/raiton/commit/de401f49a71af4088426990007934fa354ad0549))
8
+ * feat: add DI artifact loading with artifact classification and timestamp-based caching ([eed2a57](https://github.com/protorians/raiton/commit/eed2a5798d1b692718a5fc1d28ab34a408012a59))
9
+ * feat: add health-check support with default endpoint, decorator, and customizable configurations (#17) ([69c6a62](https://github.com/protorians/raiton/commit/69c6a62106d9eaf47eae2637a3816082fa7efdd9))
10
+
11
+ ### Bug Fixes
12
+
13
+ * chore(workflows): allow non-conventional commits in publish step ([792adff](https://github.com/protorians/raiton/commit/792adff7555042da6a427bd57e2410df8f8c300d))
14
+ * docs(user-guide): recommend import type for type-only symbols ([6d2655b](https://github.com/protorians/raiton/commit/6d2655b8f682b48b1a846f63ba764bb27e3e9629))
15
+ * docs(user-guide): recommend import type for type-only symbols ([98afa0f](https://github.com/protorians/raiton/commit/98afa0f6f62db8fecdb0fe62b1463f47d8777618))
16
+
17
+ ### Other Changes
18
+
19
+ * Merge remote-tracking branch 'origin/beta' into beta ([d312e8a](https://github.com/protorians/raiton/commit/d312e8ad801ebf0a14687e28b80d5f022c1e543f))
20
+ * Add CSRF protection middleware and improve related utilities (#16) ([ba48340](https://github.com/protorians/raiton/commit/ba4834036ef0a4e363d36135dbba82b12b3638b7))
21
+
22
+ ## [6.5.0-beta.13](https://github.com/protorians/raiton/compare/v6.4.0-beta.12...v6.5.0-beta.13) (2026-09-03)
23
+
24
+ ### Features
25
+
26
+ * feat: integrate MCP (Model Context Protocol) support, including server registration, routing, OpenAPI documentation, and artifact handling ([436464c](https://github.com/protorians/raiton/commit/436464c166b8123a291b868e48b711866f09bc8b))
27
+
1
28
  ## [6.4.0-beta.12](https://github.com/protorians/raiton/compare/v6.3.1-beta.11...v6.4.0-beta.12) (2026-09-02)
2
29
 
3
30
  ### Features