@codemation/host 0.5.1 → 0.6.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 (61) hide show
  1. package/CHANGELOG.md +34 -0
  2. package/dist/{AppConfigFactory-CvpFScwB.js → AppConfigFactory-C6q-CSKb.js} +7 -6
  3. package/dist/{AppConfigFactory-CvpFScwB.js.map → AppConfigFactory-C6q-CSKb.js.map} +1 -1
  4. package/dist/{AppConfigFactory-LK76niPc.d.ts → AppConfigFactory-YnveXE9k.d.ts} +40 -4
  5. package/dist/{AppContainerFactory-BlLrm6_h.js → AppContainerFactory-qaqc-R1D.js} +21 -13
  6. package/dist/AppContainerFactory-qaqc-R1D.js.map +1 -0
  7. package/dist/{CodemationAppContext-CvWi5gey.d.ts → CodemationAppContext-DRu1Dpri.d.ts} +3 -3
  8. package/dist/{CodemationAuthoring.types-BuKNTDC1.d.ts → CodemationAuthoring.types-fBRppnmi.d.ts} +4 -4
  9. package/dist/{CodemationConfigNormalizer-CYdR0PR5.d.ts → CodemationConfigNormalizer-DVko3cVN.d.ts} +3 -3
  10. package/dist/{CodemationConsumerConfigLoader-C3nAj9Bj.d.ts → CodemationConsumerConfigLoader-DJWr86f-.d.ts} +2 -2
  11. package/dist/{CodemationPluginListMerger-D-gwVwtw.d.ts → CodemationPluginListMerger-DGc-jfa2.d.ts} +7 -7
  12. package/dist/{CredentialContractsRegistry-D7mcPed2.d.ts → CredentialContractsRegistry-DrMIDSw8.d.ts} +2 -2
  13. package/dist/{CredentialServices-DdCEP2xt.d.ts → CredentialServices-UfvHB-rN.d.ts} +4 -4
  14. package/dist/{ItemsInputNormalizer-D1WppVMU.d.ts → ItemsInputNormalizer-C-KHg9Mo.d.ts} +20 -1
  15. package/dist/{PublicFrontendBootstrapFactory-BMWqNM9a.d.ts → PublicFrontendBootstrapFactory-Cb2pLmDd.d.ts} +2 -2
  16. package/dist/{TelemetryContracts-BsOD_Y17.d.ts → TelemetryContracts-DbaNomrH.d.ts} +2 -2
  17. package/dist/{WorkflowPolicyUiPresentationFactory-DNE5oAI6.d.ts → WorkflowPolicyUiPresentationFactory-DQEY-h_S.d.ts} +2 -2
  18. package/dist/{WorkflowViewContracts-0ZgsHQdp.d.ts → WorkflowViewContracts-CzK2KFuz.d.ts} +6 -1
  19. package/dist/authoring.d.ts +4 -4
  20. package/dist/consumer.d.ts +5 -5
  21. package/dist/credentials.d.ts +5 -5
  22. package/dist/devServerSidecar.d.ts +2 -2
  23. package/dist/dto.d.ts +5 -5
  24. package/dist/{index-BlGs9e9Q.d.ts → index-BbBk26m0.d.ts} +2 -2
  25. package/dist/index.d.ts +15 -15
  26. package/dist/index.js +4 -4
  27. package/dist/mapping.d.ts +2 -2
  28. package/dist/nextServer.d.ts +12 -12
  29. package/dist/nextServer.js +2 -2
  30. package/dist/{persistenceServer-CpNFYa_q.js → persistenceServer-CmsIKnO9.js} +2 -2
  31. package/dist/{persistenceServer-CpNFYa_q.js.map → persistenceServer-CmsIKnO9.js.map} +1 -1
  32. package/dist/{persistenceServer-CIVt3UOX.d.ts → persistenceServer-vtJAGDat.d.ts} +2 -2
  33. package/dist/persistenceServer.d.ts +6 -6
  34. package/dist/persistenceServer.js +2 -2
  35. package/dist/{server-BK43OKxW.js → server-CJFfY67o.js} +3 -3
  36. package/dist/{server-BK43OKxW.js.map → server-CJFfY67o.js.map} +1 -1
  37. package/dist/{server-CQWdkT7t.d.ts → server-MUNGsBYK.d.ts} +5 -5
  38. package/dist/server.d.ts +10 -10
  39. package/dist/server.js +4 -4
  40. package/package.json +5 -5
  41. package/prisma/migrations/20260507120000_execution_instance_child_run_id/migration.sql +5 -0
  42. package/prisma/migrations.sqlite/20260507120000_execution_instance_child_run_id/migration.sql +5 -0
  43. package/prisma/schema.postgresql.prisma +1 -0
  44. package/prisma/schema.sqlite.prisma +1 -0
  45. package/prisma-generated/prisma-postgresql-client/edge.js +6 -5
  46. package/prisma-generated/prisma-postgresql-client/index-browser.js +2 -1
  47. package/prisma-generated/prisma-postgresql-client/index.d.ts +38 -2
  48. package/prisma-generated/prisma-postgresql-client/index.js +6 -5
  49. package/prisma-generated/prisma-postgresql-client/package.json +1 -1
  50. package/prisma-generated/prisma-postgresql-client/schema.prisma +1 -0
  51. package/prisma-generated/prisma-sqlite-client/edge.js +6 -5
  52. package/prisma-generated/prisma-sqlite-client/index-browser.js +2 -1
  53. package/prisma-generated/prisma-sqlite-client/index.d.ts +38 -2
  54. package/prisma-generated/prisma-sqlite-client/index.js +6 -5
  55. package/prisma-generated/prisma-sqlite-client/package.json +1 -1
  56. package/prisma-generated/prisma-sqlite-client/schema.prisma +1 -0
  57. package/src/application/contracts/WorkflowViewContracts.ts +5 -0
  58. package/src/application/mapping/WorkflowDefinitionMapper.ts +4 -0
  59. package/src/infrastructure/persistence/InMemoryWorkflowRunRepository.ts +1 -0
  60. package/src/infrastructure/persistence/PrismaWorkflowRunRepository.ts +7 -0
  61. package/dist/AppContainerFactory-BlLrm6_h.js.map +0 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,39 @@
1
1
  # @codemation/host
2
2
 
3
+ ## 0.6.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#133](https://github.com/MadeRelevant/codemation/pull/133) [`d283b48`](https://github.com/MadeRelevant/codemation/commit/d283b481f01a1a259d38d25c1482006eff963384) Thanks [@cblokland90](https://github.com/cblokland90)! - feat: deep-link from parent run to specific subworkflow execution
8
+
9
+ Adds `childRunId` to `NodeExecutionSnapshot` so the UI can navigate directly to the
10
+ child run when a `SubWorkflow` node is selected in the execution inspector, instead of
11
+ only linking to the child workflow's editor. Fixes the gap from PR [#131](https://github.com/MadeRelevant/codemation/issues/131).
12
+ - `@codemation/core` (patch): `NodeExecutionSnapshot` gains `childRunId?: RunId`;
13
+ `ExecutionInstanceDto` gains `childRunId?: string`;
14
+ `NodeExecutionStatePublisher` gains optional `setChildRunId` method;
15
+ `NodeExecutionSnapshotFactory` propagates `previous.childRunId` through
16
+ `completed`, `failed`, and `skipped` transitions.
17
+ - `@codemation/host` (minor): `ExecutionInstance` table gains `child_run_id` column
18
+ (nullable, backward-compatible); `PrismaWorkflowRunRepository` persists and reads
19
+ `childRunId` on node-activation snapshots.
20
+ - `@codemation/next-host` (minor): `NodeExecutionSnapshot` type gains `childRunId`;
21
+ `WorkflowExecutionInspectorDetailBody` renders "Open subworkflow run" (with
22
+ `?run=<childRunId>`) when a child run id is present, falling back to
23
+ "Open subworkflow editor" for pre-existing snapshots.
24
+
25
+ - [#131](https://github.com/MadeRelevant/codemation/pull/131) [`5b509e8`](https://github.com/MadeRelevant/codemation/commit/5b509e83e1e963e0c03cb0cbad018dc1fb0a04c5) Thanks [@cblokland90](https://github.com/cblokland90)! - feat: SubWorkflow editor link, workflow info popover, and child-run navigation
26
+ - **2.3a** — SubWorkflow nodes in the node-properties panel now show an "Open in editor" link that navigates to the referenced workflow. Requires the new `referencedWorkflowId` field added to `WorkflowNodeDto` (populated from `SubWorkflow.workflowId` in `WorkflowDefinitionMapper` and `PersistedWorkflowSnapshotMapper`).
27
+ - **2.3b** — A workflow info popover (ⓘ icon) appears in the detail-page header, showing workflow id, discovery-path segments, trigger type, and active status.
28
+ - **2.4** — When a SubWorkflow node is selected in the execution inspector, an "Open workflow" link appears navigating to that child workflow's editor. Note: jump to the _specific child run_ is not yet possible because the parent's node execution snapshot does not carry the child `runId`; this is a backend follow-up item.
29
+
30
+ ### Patch Changes
31
+
32
+ - Updated dependencies [[`d283b48`](https://github.com/MadeRelevant/codemation/commit/d283b481f01a1a259d38d25c1482006eff963384), [`e8e3935`](https://github.com/MadeRelevant/codemation/commit/e8e39358a4282e0a780efb428ae0d71d105afd5f)]:
33
+ - @codemation/core@0.10.2
34
+ - @codemation/core-nodes@0.7.1
35
+ - @codemation/eventbus-redis@0.0.37
36
+
3
37
  ## 0.5.1
4
38
 
5
39
  ### Patch Changes