@codemation/host 0.5.0 → 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.
- package/CHANGELOG.md +43 -0
- package/dist/{AppConfigFactory-CvpFScwB.js → AppConfigFactory-C6q-CSKb.js} +7 -6
- package/dist/{AppConfigFactory-CvpFScwB.js.map → AppConfigFactory-C6q-CSKb.js.map} +1 -1
- package/dist/{AppConfigFactory-LK76niPc.d.ts → AppConfigFactory-YnveXE9k.d.ts} +40 -4
- package/dist/{AppContainerFactory-BlLrm6_h.js → AppContainerFactory-qaqc-R1D.js} +21 -13
- package/dist/AppContainerFactory-qaqc-R1D.js.map +1 -0
- package/dist/{CodemationAppContext-CvWi5gey.d.ts → CodemationAppContext-DRu1Dpri.d.ts} +3 -3
- package/dist/{CodemationAuthoring.types-BuKNTDC1.d.ts → CodemationAuthoring.types-fBRppnmi.d.ts} +4 -4
- package/dist/{CodemationConfigNormalizer-CYdR0PR5.d.ts → CodemationConfigNormalizer-DVko3cVN.d.ts} +3 -3
- package/dist/{CodemationConsumerConfigLoader-C3nAj9Bj.d.ts → CodemationConsumerConfigLoader-DJWr86f-.d.ts} +2 -2
- package/dist/{CodemationPluginListMerger-D-gwVwtw.d.ts → CodemationPluginListMerger-DGc-jfa2.d.ts} +7 -7
- package/dist/{CredentialContractsRegistry-D7mcPed2.d.ts → CredentialContractsRegistry-DrMIDSw8.d.ts} +2 -2
- package/dist/CredentialServices-CgxwguAv.js.map +1 -1
- package/dist/{CredentialServices-DdCEP2xt.d.ts → CredentialServices-UfvHB-rN.d.ts} +4 -4
- package/dist/{ItemsInputNormalizer-D1WppVMU.d.ts → ItemsInputNormalizer-C-KHg9Mo.d.ts} +20 -1
- package/dist/{PublicFrontendBootstrapFactory-BMWqNM9a.d.ts → PublicFrontendBootstrapFactory-Cb2pLmDd.d.ts} +2 -2
- package/dist/{TelemetryContracts-BsOD_Y17.d.ts → TelemetryContracts-DbaNomrH.d.ts} +2 -2
- package/dist/{WorkflowPolicyUiPresentationFactory-DNE5oAI6.d.ts → WorkflowPolicyUiPresentationFactory-DQEY-h_S.d.ts} +2 -2
- package/dist/{WorkflowViewContracts-0ZgsHQdp.d.ts → WorkflowViewContracts-CzK2KFuz.d.ts} +6 -1
- package/dist/authoring.d.ts +4 -4
- package/dist/consumer.d.ts +5 -5
- package/dist/credentials.d.ts +5 -5
- package/dist/devServerSidecar.d.ts +2 -2
- package/dist/dto.d.ts +5 -5
- package/dist/{index-BlGs9e9Q.d.ts → index-BbBk26m0.d.ts} +2 -2
- package/dist/index.d.ts +15 -15
- package/dist/index.js +4 -4
- package/dist/mapping.d.ts +2 -2
- package/dist/nextServer.d.ts +12 -12
- package/dist/nextServer.js +2 -2
- package/dist/{persistenceServer-CpNFYa_q.js → persistenceServer-CmsIKnO9.js} +2 -2
- package/dist/{persistenceServer-CpNFYa_q.js.map → persistenceServer-CmsIKnO9.js.map} +1 -1
- package/dist/{persistenceServer-CIVt3UOX.d.ts → persistenceServer-vtJAGDat.d.ts} +2 -2
- package/dist/persistenceServer.d.ts +6 -6
- package/dist/persistenceServer.js +2 -2
- package/dist/{server-BK43OKxW.js → server-CJFfY67o.js} +3 -3
- package/dist/{server-BK43OKxW.js.map → server-CJFfY67o.js.map} +1 -1
- package/dist/{server-CQWdkT7t.d.ts → server-MUNGsBYK.d.ts} +5 -5
- package/dist/server.d.ts +10 -10
- package/dist/server.js +4 -4
- package/package.json +5 -5
- package/prisma/migrations/20260507120000_execution_instance_child_run_id/migration.sql +5 -0
- package/prisma/migrations.sqlite/20260507120000_execution_instance_child_run_id/migration.sql +5 -0
- package/prisma/schema.postgresql.prisma +1 -0
- package/prisma/schema.sqlite.prisma +1 -0
- package/prisma-generated/prisma-postgresql-client/edge.js +6 -5
- package/prisma-generated/prisma-postgresql-client/index-browser.js +2 -1
- package/prisma-generated/prisma-postgresql-client/index.d.ts +38 -2
- package/prisma-generated/prisma-postgresql-client/index.js +6 -5
- package/prisma-generated/prisma-postgresql-client/package.json +1 -1
- package/prisma-generated/prisma-postgresql-client/schema.prisma +1 -0
- package/prisma-generated/prisma-sqlite-client/edge.js +6 -5
- package/prisma-generated/prisma-sqlite-client/index-browser.js +2 -1
- package/prisma-generated/prisma-sqlite-client/index.d.ts +38 -2
- package/prisma-generated/prisma-sqlite-client/index.js +6 -5
- package/prisma-generated/prisma-sqlite-client/package.json +1 -1
- package/prisma-generated/prisma-sqlite-client/schema.prisma +1 -0
- package/src/application/contracts/WorkflowViewContracts.ts +5 -0
- package/src/application/mapping/WorkflowDefinitionMapper.ts +4 -0
- package/src/domain/credentials/CredentialSecretCipher.ts +4 -0
- package/src/infrastructure/persistence/InMemoryWorkflowRunRepository.ts +1 -0
- package/src/infrastructure/persistence/PrismaWorkflowRunRepository.ts +7 -0
- package/dist/AppContainerFactory-BlLrm6_h.js.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,48 @@
|
|
|
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
|
+
|
|
37
|
+
## 0.5.1
|
|
38
|
+
|
|
39
|
+
### Patch Changes
|
|
40
|
+
|
|
41
|
+
- Updated dependencies [[`1f10121`](https://github.com/MadeRelevant/codemation/commit/1f10121a093ef0612a33c873419b032709c9964d), [`c191557`](https://github.com/MadeRelevant/codemation/commit/c19155783a012d293568f55427ae36b31171af11), [`d0f2bd9`](https://github.com/MadeRelevant/codemation/commit/d0f2bd9a670ff80c2e2e12f7c410c63d14c94b55)]:
|
|
42
|
+
- @codemation/core@0.10.1
|
|
43
|
+
- @codemation/core-nodes@0.7.0
|
|
44
|
+
- @codemation/eventbus-redis@0.0.36
|
|
45
|
+
|
|
3
46
|
## 0.5.0
|
|
4
47
|
|
|
5
48
|
### Minor Changes
|