create-principles-disciple 1.139.0 → 1.140.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 (85) hide show
  1. package/core/dist/evolution-store.d.ts +4 -2
  2. package/core/dist/evolution-store.d.ts.map +1 -1
  3. package/core/dist/evolution-store.js +20 -2
  4. package/core/dist/evolution-store.js.map +1 -1
  5. package/core/dist/evolution-store.test.js +8 -4
  6. package/core/dist/evolution-store.test.js.map +1 -1
  7. package/core/dist/runtime-v2/__tests__/architecture-regression.test.js +19 -133
  8. package/core/dist/runtime-v2/__tests__/architecture-regression.test.js.map +1 -1
  9. package/core/dist/runtime-v2/__tests__/pain-signal-observability.test.js +5 -6
  10. package/core/dist/runtime-v2/__tests__/pain-signal-observability.test.js.map +1 -1
  11. package/core/dist/runtime-v2/evolution/evolution-types.d.ts +6 -304
  12. package/core/dist/runtime-v2/evolution/evolution-types.d.ts.map +1 -1
  13. package/core/dist/runtime-v2/evolution/evolution-types.js +6 -173
  14. package/core/dist/runtime-v2/evolution/evolution-types.js.map +1 -1
  15. package/core/dist/runtime-v2/full-trace-contract.d.ts +3 -1
  16. package/core/dist/runtime-v2/full-trace-contract.d.ts.map +1 -1
  17. package/core/dist/runtime-v2/full-trace-contract.js +3 -1
  18. package/core/dist/runtime-v2/full-trace-contract.js.map +1 -1
  19. package/core/dist/runtime-v2/index.d.ts +2 -12
  20. package/core/dist/runtime-v2/index.d.ts.map +1 -1
  21. package/core/dist/runtime-v2/index.js +1 -9
  22. package/core/dist/runtime-v2/index.js.map +1 -1
  23. package/core/dist/runtime-v2/pain-signal-observability.d.ts.map +1 -1
  24. package/core/dist/runtime-v2/pain-signal-observability.js +69 -63
  25. package/core/dist/runtime-v2/pain-signal-observability.js.map +1 -1
  26. package/core/dist/runtime-v2/types/index.d.ts +0 -2
  27. package/core/dist/runtime-v2/types/index.d.ts.map +1 -1
  28. package/core/dist/runtime-v2/types/index.js +0 -1
  29. package/core/dist/runtime-v2/types/index.js.map +1 -1
  30. package/core/package.json +1 -1
  31. package/dist/installer.js +1 -1
  32. package/dist/installer.js.map +1 -1
  33. package/package.json +2 -2
  34. package/pd-cli/dist/commands/runtime-init.js +1 -1
  35. package/pd-cli/dist/commands/runtime-init.js.map +1 -1
  36. package/pd-cli/package.json +1 -1
  37. package/plugin/dist/bundle.js +483 -571
  38. package/plugin/dist/core/event-log.d.ts +1 -3
  39. package/plugin/dist/core/evolution-types.d.ts +9 -32
  40. package/plugin/dist/core/trajectory.d.ts +10 -4
  41. package/plugin/dist/governance-audit.js +204 -204
  42. package/plugin/dist/rulehost-evidence.js +251 -306
  43. package/plugin/dist/types/event-types.d.ts +1 -1
  44. package/plugin/openclaw.plugin.json +1 -1
  45. package/plugin/package.json +1 -1
  46. package/release-manager/dist/installer.js +1 -1
  47. package/release-manager/dist/installer.js.map +1 -1
  48. package/release-manager/package.json +2 -2
  49. package/core/dist/runtime-v2/__tests__/golden-trace-candidate-builder.test.d.ts +0 -2
  50. package/core/dist/runtime-v2/__tests__/golden-trace-candidate-builder.test.d.ts.map +0 -1
  51. package/core/dist/runtime-v2/__tests__/golden-trace-candidate-builder.test.js +0 -759
  52. package/core/dist/runtime-v2/__tests__/golden-trace-candidate-builder.test.js.map +0 -1
  53. package/core/dist/runtime-v2/__tests__/trace-refiner-agent.test.d.ts +0 -2
  54. package/core/dist/runtime-v2/__tests__/trace-refiner-agent.test.d.ts.map +0 -1
  55. package/core/dist/runtime-v2/__tests__/trace-refiner-agent.test.js +0 -726
  56. package/core/dist/runtime-v2/__tests__/trace-refiner-agent.test.js.map +0 -1
  57. package/core/dist/runtime-v2/__tests__/trace-refiner.test.d.ts +0 -2
  58. package/core/dist/runtime-v2/__tests__/trace-refiner.test.d.ts.map +0 -1
  59. package/core/dist/runtime-v2/__tests__/trace-refiner.test.js +0 -527
  60. package/core/dist/runtime-v2/__tests__/trace-refiner.test.js.map +0 -1
  61. package/core/dist/runtime-v2/evolution/index.d.ts +0 -2
  62. package/core/dist/runtime-v2/evolution/index.d.ts.map +0 -1
  63. package/core/dist/runtime-v2/evolution/index.js +0 -2
  64. package/core/dist/runtime-v2/evolution/index.js.map +0 -1
  65. package/core/dist/runtime-v2/golden-trace-candidate-builder.d.ts +0 -23
  66. package/core/dist/runtime-v2/golden-trace-candidate-builder.d.ts.map +0 -1
  67. package/core/dist/runtime-v2/golden-trace-candidate-builder.js +0 -193
  68. package/core/dist/runtime-v2/golden-trace-candidate-builder.js.map +0 -1
  69. package/core/dist/runtime-v2/golden-trace-replay-adapter.d.ts +0 -18
  70. package/core/dist/runtime-v2/golden-trace-replay-adapter.d.ts.map +0 -1
  71. package/core/dist/runtime-v2/golden-trace-replay-adapter.js +0 -18
  72. package/core/dist/runtime-v2/golden-trace-replay-adapter.js.map +0 -1
  73. package/core/dist/runtime-v2/trace-refiner-agent.d.ts +0 -71
  74. package/core/dist/runtime-v2/trace-refiner-agent.d.ts.map +0 -1
  75. package/core/dist/runtime-v2/trace-refiner-agent.js +0 -239
  76. package/core/dist/runtime-v2/trace-refiner-agent.js.map +0 -1
  77. package/core/dist/runtime-v2/trace-refiner.d.ts +0 -47
  78. package/core/dist/runtime-v2/trace-refiner.d.ts.map +0 -1
  79. package/core/dist/runtime-v2/trace-refiner.js +0 -261
  80. package/core/dist/runtime-v2/trace-refiner.js.map +0 -1
  81. package/core/dist/runtime-v2/types/queue-types.d.ts +0 -51
  82. package/core/dist/runtime-v2/types/queue-types.d.ts.map +0 -1
  83. package/core/dist/runtime-v2/types/queue-types.js +0 -44
  84. package/core/dist/runtime-v2/types/queue-types.js.map +0 -1
  85. 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';