raiton 6.11.0-beta.29 → 6.12.0-beta.31

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 (74) hide show
  1. package/CHANGELOG.md +22 -0
  2. package/benchmarks/README.md +3 -3
  3. package/build/bin/index.mjs +2329 -361
  4. package/build/types/core/artifact-mount.d.ts +19 -0
  5. package/build/types/core/bridge/classifier.d.ts +30 -0
  6. package/build/types/core/bridge/definition.d.ts +10 -0
  7. package/build/types/core/bridge/diagnostics.d.ts +43 -0
  8. package/build/types/core/bridge/index.d.ts +8 -0
  9. package/build/types/core/bridge/loader.d.ts +75 -0
  10. package/build/types/core/bridge/packages.d.ts +27 -0
  11. package/build/types/core/bridge/paths.d.ts +37 -0
  12. package/build/types/core/bridge/registry.d.ts +50 -0
  13. package/build/types/core/bridge/resolver.d.ts +32 -0
  14. package/build/types/core/builder.d.ts +8 -1
  15. package/build/types/core/controller/builder.d.ts +9 -0
  16. package/build/types/core/controller/compiler.d.ts +8 -1
  17. package/build/types/core/controller/tracker.d.ts +10 -3
  18. package/build/types/core/hooks.d.ts +2 -0
  19. package/build/types/core/index.d.ts +1 -0
  20. package/build/types/core/injection/injection.d.ts +24 -0
  21. package/build/types/core/middleware/pipeline.d.ts +12 -1
  22. package/build/types/core/scheduler/manager.d.ts +5 -0
  23. package/build/types/framework/artifacts.d.ts +5 -0
  24. package/build/types/framework/constants/decorators.constant.d.ts +8 -0
  25. package/build/types/manifest/schema.d.ts +77 -0
  26. package/build/types/types/artifact.d.ts +16 -0
  27. package/build/types/types/bridge.d.ts +109 -0
  28. package/build/types/types/index.d.ts +1 -0
  29. package/docs/AGENTS.md +1 -1
  30. package/docs/CLAUDE.md +1 -1
  31. package/docs/generated/config-schema.json +26 -0
  32. package/docs/generated/manifest-schema.json +110 -0
  33. package/docs/generated/manifest.json +1 -1
  34. package/docs/llms-full.txt +176 -2
  35. package/docs/llms.txt +1 -1
  36. package/docs/user-guide/README.md +1 -0
  37. package/docs/user-guide/artifact-bridge.md +170 -0
  38. package/package.json +1 -1
  39. package/source/bin/project-utils.ts +9 -0
  40. package/source/commands/artifact.command.ts +24 -9
  41. package/source/commands/build.command.ts +3 -1
  42. package/source/commands/docs.command.ts +1 -0
  43. package/source/commands/doctor.command.ts +53 -1
  44. package/source/commands/inspect.command.ts +3 -0
  45. package/source/commands/start.command.ts +3 -1
  46. package/source/commands/why.command.ts +4 -0
  47. package/source/core/artifact-mount.ts +126 -0
  48. package/source/core/bridge/classifier.ts +112 -0
  49. package/source/core/bridge/definition.ts +35 -0
  50. package/source/core/bridge/diagnostics.ts +175 -0
  51. package/source/core/bridge/index.ts +8 -0
  52. package/source/core/bridge/loader.ts +914 -0
  53. package/source/core/bridge/packages.ts +196 -0
  54. package/source/core/bridge/paths.ts +152 -0
  55. package/source/core/bridge/registry.ts +177 -0
  56. package/source/core/bridge/resolver.ts +183 -0
  57. package/source/core/builder.ts +146 -7
  58. package/source/core/config/schema.ts +54 -9
  59. package/source/core/controller/builder.ts +49 -31
  60. package/source/core/controller/compiler.ts +13 -4
  61. package/source/core/controller/tracker.ts +29 -7
  62. package/source/core/hooks.ts +5 -0
  63. package/source/core/index.ts +2 -1
  64. package/source/core/injection/injection.ts +67 -0
  65. package/source/core/middleware/pipeline.ts +33 -2
  66. package/source/core/scheduler/manager.ts +15 -0
  67. package/source/core/thread.ts +21 -0
  68. package/source/framework/artifacts.ts +10 -0
  69. package/source/framework/constants/decorators.constant.ts +35 -27
  70. package/source/manifest/manifest.ts +46 -0
  71. package/source/manifest/schema.ts +48 -0
  72. package/source/types/artifact.ts +16 -0
  73. package/source/types/bridge.ts +136 -0
  74. package/source/types/index.ts +1 -0
package/CHANGELOG.md CHANGED
@@ -1,3 +1,24 @@
1
+ ## [6.12.0-beta.31](https://github.com/protorians/raiton/compare/v6.11.1-beta.30...v6.12.0-beta.31) (2026-11-27)
2
+
3
+ ### Features
4
+
5
+ * feat(bridge): livrer l'artifact bridge pour les artefacts hors convention ([b6dd7d9](https://github.com/protorians/raiton/commit/b6dd7d9c82b137b78b93cb90c807d5e57a635019))
6
+
7
+ ### Bug Fixes
8
+
9
+ * docs(specs): déclarer implémentée la spec 004 d'artifact bridge ([6f68777](https://github.com/protorians/raiton/commit/6f68777651463f061dbd5a422f9577c4835c1087))
10
+ * docs(bridge): documenter la configuration, le manifeste et les diagnostics ([36b5f50](https://github.com/protorians/raiton/commit/36b5f5079a7456384aab2f9a41959fb02e9f07ef))
11
+
12
+ ### Other Changes
13
+
14
+ * test(bridge): couvrir la découverte, le montage et le rechargement des artefacts ([4dbdc99](https://github.com/protorians/raiton/commit/4dbdc990475b8de6933f675a31edc717176e5dc6))
15
+
16
+ ## [6.11.1-beta.30](https://github.com/protorians/raiton/compare/v6.11.0-beta.29...v6.11.1-beta.30) (2026-11-27)
17
+
18
+ ### Bug Fixes
19
+
20
+ * docs(specs): retirer les renvois vers la spec 003 non publiée ([4812776](https://github.com/protorians/raiton/commit/481277629ec39729bc072ba01186a67fab7bb142))
21
+
1
22
  ## [6.11.0-beta.29](https://github.com/protorians/raiton/compare/v6.10.0-beta.28...v6.11.0-beta.29) (2026-11-27)
2
23
 
3
24
  ### Features
@@ -20,6 +41,7 @@
20
41
  ### Features
21
42
 
22
43
  * **debug**: AI-assisted runtime debug (spec 003) — `raiton call`, `requests`, `explain`, `replay` and `verify`; bounded in-memory request journal with redaction, timeline, source locations and HMR staleness; HTTP and stdio debug MCP server (`raiton-debug`) with scopes, audit and conformance; enriched, actionable errors; route examples and error documentation in the manifest and OpenAPI; opt-in configuration, local-only defaults and constant-time token protection.
44
+ * **artifact-bridge** (spec 004) — auto-discovered `artifacts.bridge.ts`, metadata-based classification for package/local/non-conventional artifacts, middleware and hooks descriptors, plugin delegation, direct-dependency `package.json#raiton.artifacts` discovery, stable bridge diagnostics, manifest/CLI origin reporting, hot reload with bridge-owned route tracking, and Node.js compiled bridge output (`artifacts.bridge.mjs`).
23
45
 
24
46
  ## [6.10.0-beta.28](https://github.com/protorians/raiton/compare/v6.8.9-beta.25...v6.10.0-beta.28) (2026-11-27)
25
47
 
@@ -19,7 +19,7 @@ body parser, démarrage à froid, reload HMR et classification d'artefacts.
19
19
 
20
20
  ```bash
21
21
  bun run bench:ai # benchmarks/ai-debug.{md,json}
22
- bun run bench:ai --check # vérifie les budgets de la spec 003
22
+ bun run bench:ai --check # vérifie les budgets de performance
23
23
  ```
24
24
 
25
25
  Ce harnais mesure le `DebugJournal` livré (métadonnées et capture complète,
@@ -27,5 +27,5 @@ index, sérialisation, mémoire) ainsi que le prototype de référence, la taill
27
27
  en tokens des artefacts du dépôt et les projections d'économie de tokens pour
28
28
  `call`, `explain` et `verify`. Les mesures de performance sont réelles ; les
29
29
  économies de tokens sont marquées « Estimé » tant qu'aucune campagne sur agents
30
- réels n'a été exécutée. Le protocole est décrit dans
31
- [`specs/003-ai-runtime-debug/metrics.md`](../specs/003-ai-runtime-debug/metrics.md).
30
+ réels n'a été exécutée. Le protocole de mesure est décrit dans le harnais
31
+ `scripts/bench-ai-debug.ts`.