create-principles-disciple 1.138.2 → 1.139.1

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 (103) hide show
  1. package/console/dist/server/config/pd-config-store.js +9 -2
  2. package/core/dist/evolution-store.d.ts +4 -2
  3. package/core/dist/evolution-store.d.ts.map +1 -1
  4. package/core/dist/evolution-store.js +20 -2
  5. package/core/dist/evolution-store.js.map +1 -1
  6. package/core/dist/evolution-store.test.js +8 -4
  7. package/core/dist/evolution-store.test.js.map +1 -1
  8. package/core/dist/runtime-v2/__tests__/architecture-regression.test.js +19 -133
  9. package/core/dist/runtime-v2/__tests__/architecture-regression.test.js.map +1 -1
  10. package/core/dist/runtime-v2/__tests__/pain-signal-observability.test.js +5 -6
  11. package/core/dist/runtime-v2/__tests__/pain-signal-observability.test.js.map +1 -1
  12. package/core/dist/runtime-v2/config/__tests__/pd-config-reasoning.test.d.ts +2 -0
  13. package/core/dist/runtime-v2/config/__tests__/pd-config-reasoning.test.d.ts.map +1 -0
  14. package/core/dist/runtime-v2/config/__tests__/pd-config-reasoning.test.js +99 -0
  15. package/core/dist/runtime-v2/config/__tests__/pd-config-reasoning.test.js.map +1 -0
  16. package/core/dist/runtime-v2/config/pd-config-agent-binding.d.ts +2 -0
  17. package/core/dist/runtime-v2/config/pd-config-agent-binding.d.ts.map +1 -1
  18. package/core/dist/runtime-v2/config/pd-config-agent-binding.js +3 -0
  19. package/core/dist/runtime-v2/config/pd-config-agent-binding.js.map +1 -1
  20. package/core/dist/runtime-v2/config/pd-config-types.d.ts +8 -0
  21. package/core/dist/runtime-v2/config/pd-config-types.d.ts.map +1 -1
  22. package/core/dist/runtime-v2/config/pd-config-types.js.map +1 -1
  23. package/core/dist/runtime-v2/config/pd-config-validate.d.ts.map +1 -1
  24. package/core/dist/runtime-v2/config/pd-config-validate.js +10 -0
  25. package/core/dist/runtime-v2/config/pd-config-validate.js.map +1 -1
  26. package/core/dist/runtime-v2/evolution/evolution-types.d.ts +6 -304
  27. package/core/dist/runtime-v2/evolution/evolution-types.d.ts.map +1 -1
  28. package/core/dist/runtime-v2/evolution/evolution-types.js +6 -173
  29. package/core/dist/runtime-v2/evolution/evolution-types.js.map +1 -1
  30. package/core/dist/runtime-v2/full-trace-contract.d.ts +1 -1
  31. package/core/dist/runtime-v2/full-trace-contract.js +1 -1
  32. package/core/dist/runtime-v2/index.d.ts +2 -12
  33. package/core/dist/runtime-v2/index.d.ts.map +1 -1
  34. package/core/dist/runtime-v2/index.js +1 -9
  35. package/core/dist/runtime-v2/index.js.map +1 -1
  36. package/core/dist/runtime-v2/pain-signal-observability.d.ts.map +1 -1
  37. package/core/dist/runtime-v2/pain-signal-observability.js +69 -63
  38. package/core/dist/runtime-v2/pain-signal-observability.js.map +1 -1
  39. package/core/dist/runtime-v2/pain-signal-runtime-factory.d.ts +2 -0
  40. package/core/dist/runtime-v2/pain-signal-runtime-factory.d.ts.map +1 -1
  41. package/core/dist/runtime-v2/pain-signal-runtime-factory.js +2 -0
  42. package/core/dist/runtime-v2/pain-signal-runtime-factory.js.map +1 -1
  43. package/core/dist/runtime-v2/types/index.d.ts +0 -2
  44. package/core/dist/runtime-v2/types/index.d.ts.map +1 -1
  45. package/core/dist/runtime-v2/types/index.js +0 -1
  46. package/core/dist/runtime-v2/types/index.js.map +1 -1
  47. package/core/package.json +1 -1
  48. package/host-runtime/dist/internalization-consumer-cycle.js +3 -0
  49. package/host-runtime/package.json +1 -1
  50. package/package.json +2 -2
  51. package/pd-cli/dist/commands/runtime-init.js +1 -1
  52. package/pd-cli/dist/commands/runtime-init.js.map +1 -1
  53. package/pd-cli/dist/services/runtime-adapter-resolver.d.ts.map +1 -1
  54. package/pd-cli/dist/services/runtime-adapter-resolver.js +2 -0
  55. package/pd-cli/dist/services/runtime-adapter-resolver.js.map +1 -1
  56. package/pd-cli/package.json +1 -1
  57. package/plugin/dist/bundle.js +483 -571
  58. package/plugin/dist/core/event-log.d.ts +1 -3
  59. package/plugin/dist/core/evolution-types.d.ts +9 -32
  60. package/plugin/dist/core/trajectory.d.ts +10 -4
  61. package/plugin/dist/governance-audit.js +204 -204
  62. package/plugin/dist/rulehost-evidence.js +251 -306
  63. package/plugin/dist/types/event-types.d.ts +1 -1
  64. package/plugin/openclaw.plugin.json +1 -1
  65. package/plugin/package.json +1 -1
  66. package/release-manager/package.json +2 -2
  67. package/core/dist/runtime-v2/__tests__/golden-trace-candidate-builder.test.d.ts +0 -2
  68. package/core/dist/runtime-v2/__tests__/golden-trace-candidate-builder.test.d.ts.map +0 -1
  69. package/core/dist/runtime-v2/__tests__/golden-trace-candidate-builder.test.js +0 -759
  70. package/core/dist/runtime-v2/__tests__/golden-trace-candidate-builder.test.js.map +0 -1
  71. package/core/dist/runtime-v2/__tests__/trace-refiner-agent.test.d.ts +0 -2
  72. package/core/dist/runtime-v2/__tests__/trace-refiner-agent.test.d.ts.map +0 -1
  73. package/core/dist/runtime-v2/__tests__/trace-refiner-agent.test.js +0 -726
  74. package/core/dist/runtime-v2/__tests__/trace-refiner-agent.test.js.map +0 -1
  75. package/core/dist/runtime-v2/__tests__/trace-refiner.test.d.ts +0 -2
  76. package/core/dist/runtime-v2/__tests__/trace-refiner.test.d.ts.map +0 -1
  77. package/core/dist/runtime-v2/__tests__/trace-refiner.test.js +0 -527
  78. package/core/dist/runtime-v2/__tests__/trace-refiner.test.js.map +0 -1
  79. package/core/dist/runtime-v2/evolution/index.d.ts +0 -2
  80. package/core/dist/runtime-v2/evolution/index.d.ts.map +0 -1
  81. package/core/dist/runtime-v2/evolution/index.js +0 -2
  82. package/core/dist/runtime-v2/evolution/index.js.map +0 -1
  83. package/core/dist/runtime-v2/golden-trace-candidate-builder.d.ts +0 -23
  84. package/core/dist/runtime-v2/golden-trace-candidate-builder.d.ts.map +0 -1
  85. package/core/dist/runtime-v2/golden-trace-candidate-builder.js +0 -193
  86. package/core/dist/runtime-v2/golden-trace-candidate-builder.js.map +0 -1
  87. package/core/dist/runtime-v2/golden-trace-replay-adapter.d.ts +0 -18
  88. package/core/dist/runtime-v2/golden-trace-replay-adapter.d.ts.map +0 -1
  89. package/core/dist/runtime-v2/golden-trace-replay-adapter.js +0 -18
  90. package/core/dist/runtime-v2/golden-trace-replay-adapter.js.map +0 -1
  91. package/core/dist/runtime-v2/trace-refiner-agent.d.ts +0 -71
  92. package/core/dist/runtime-v2/trace-refiner-agent.d.ts.map +0 -1
  93. package/core/dist/runtime-v2/trace-refiner-agent.js +0 -239
  94. package/core/dist/runtime-v2/trace-refiner-agent.js.map +0 -1
  95. package/core/dist/runtime-v2/trace-refiner.d.ts +0 -47
  96. package/core/dist/runtime-v2/trace-refiner.d.ts.map +0 -1
  97. package/core/dist/runtime-v2/trace-refiner.js +0 -261
  98. package/core/dist/runtime-v2/trace-refiner.js.map +0 -1
  99. package/core/dist/runtime-v2/types/queue-types.d.ts +0 -51
  100. package/core/dist/runtime-v2/types/queue-types.d.ts.map +0 -1
  101. package/core/dist/runtime-v2/types/queue-types.js +0 -44
  102. package/core/dist/runtime-v2/types/queue-types.js.map +0 -1
  103. package/plugin/dist/types/queue.d.ts +0 -2
@@ -1,44 +0,0 @@
1
- /**
2
- * Branded types for queue and workflow domain identifiers.
3
- * These prevent accidental interchange of plain strings with domain-specific IDs.
4
- */
5
- /**
6
- * Constructor for QueueItemId.
7
- * @param id - raw string ID from queue operations
8
- */
9
- export function toQueueItemId(id) {
10
- return id;
11
- }
12
- /**
13
- * Constructor for WorkflowId.
14
- * @param id - raw string ID from workflow operations
15
- */
16
- export function toWorkflowId(id) {
17
- return id;
18
- }
19
- /**
20
- * Constructor for SessionKey.
21
- * @param key - raw string key from session operations
22
- */
23
- export function toSessionKey(key) {
24
- return key;
25
- }
26
- /**
27
- * Type predicate: true if value is a QueueItemId.
28
- */
29
- export function isQueueItemId(value) {
30
- return typeof value === 'string';
31
- }
32
- /**
33
- * Type predicate: true if value is a WorkflowId.
34
- */
35
- export function isWorkflowId(value) {
36
- return typeof value === 'string';
37
- }
38
- /**
39
- * Type predicate: true if value is a SessionKey.
40
- */
41
- export function isSessionKey(value) {
42
- return typeof value === 'string';
43
- }
44
- //# sourceMappingURL=queue-types.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"queue-types.js","sourceRoot":"","sources":["../../../src/runtime-v2/types/queue-types.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAuBH;;;GAGG;AACH,MAAM,UAAU,aAAa,CAAC,EAAU;IACtC,OAAO,EAAiB,CAAC;AAC3B,CAAC;AAED;;;GAGG;AACH,MAAM,UAAU,YAAY,CAAC,EAAU;IACrC,OAAO,EAAgB,CAAC;AAC1B,CAAC;AAED;;;GAGG;AACH,MAAM,UAAU,YAAY,CAAC,GAAW;IACtC,OAAO,GAAiB,CAAC;AAC3B,CAAC;AAED;;GAEG;AACH,MAAM,UAAU,aAAa,CAAC,KAAc;IAC1C,OAAO,OAAO,KAAK,KAAK,QAAQ,CAAC;AACnC,CAAC;AAED;;GAEG;AACH,MAAM,UAAU,YAAY,CAAC,KAAc;IACzC,OAAO,OAAO,KAAK,KAAK,QAAQ,CAAC;AACnC,CAAC;AAED;;GAEG;AACH,MAAM,UAAU,YAAY,CAAC,KAAc;IACzC,OAAO,OAAO,KAAK,KAAK,QAAQ,CAAC;AACnC,CAAC"}
@@ -1,2 +0,0 @@
1
- export type { Brand, QueueItemId, WorkflowId, SessionKey, } from '@principles/core/runtime-v2';
2
- export { toQueueItemId, toWorkflowId, toSessionKey, isQueueItemId, isWorkflowId, isSessionKey, } from '@principles/core/runtime-v2';