@uipath/skills 1.204.0 → 1.204.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 (191) hide show
  1. package/.claude-plugin/marketplace.json +1 -1
  2. package/.claude-plugin/plugin.json +1 -1
  3. package/.cursor-plugin/plugin.json +1 -1
  4. package/CODEOWNERS +12 -14
  5. package/package.json +1 -1
  6. package/skills/uipath-agents/references/coded/embedding-in-flows.md +1 -3
  7. package/skills/uipath-agents/references/coded/quickstart.md +0 -2
  8. package/skills/uipath-agents/references/lowcode/capabilities/inline-in-flow/inline-in-flow.md +10 -8
  9. package/skills/uipath-agents/references/lowcode/prompting/autonomous-agent-prompting-guide.md +1 -1
  10. package/skills/uipath-human-in-the-loop/SKILL.md +1 -3
  11. package/skills/uipath-human-in-the-loop/references/hitl-node-apptask.md +0 -2
  12. package/skills/uipath-human-in-the-loop/references/hitl-node-coded-action-app.md +0 -2
  13. package/skills/uipath-human-in-the-loop/references/hitl-node-quickform.md +2 -2
  14. package/skills/uipath-maestro-flow/.maintenance/README.md +265 -0
  15. package/skills/uipath-maestro-flow/.maintenance/check-all.sh +40 -0
  16. package/skills/uipath-maestro-flow/.maintenance/check-anchors.sh +101 -0
  17. package/skills/uipath-maestro-flow/.maintenance/check-depth.sh +132 -0
  18. package/skills/uipath-maestro-flow/.maintenance/check-link-text.sh +123 -0
  19. package/skills/uipath-maestro-flow/.maintenance/check-links.sh +73 -0
  20. package/skills/uipath-maestro-flow/.maintenance/check-orphans.sh +93 -0
  21. package/skills/uipath-maestro-flow/.maintenance/check-plugin-pairs.sh +39 -0
  22. package/skills/uipath-maestro-flow/.maintenance/check-template.sh +42 -0
  23. package/skills/uipath-maestro-flow/.maintenance/check-uip-commands.sh +270 -0
  24. package/skills/uipath-maestro-flow/.maintenance/check-versions.sh +160 -0
  25. package/skills/uipath-maestro-flow/SKILL.md +69 -886
  26. package/skills/uipath-maestro-flow/references/author/CAPABILITY.md +207 -0
  27. package/skills/uipath-maestro-flow/references/author/brownfield.md +91 -0
  28. package/skills/uipath-maestro-flow/references/author/editing-operations-cli.md +190 -0
  29. package/skills/uipath-maestro-flow/references/author/editing-operations-json.md +374 -0
  30. package/skills/uipath-maestro-flow/references/author/editing-operations.md +104 -0
  31. package/skills/uipath-maestro-flow/references/author/greenfield.md +420 -0
  32. package/skills/uipath-maestro-flow/references/author/planning-arch.md +364 -0
  33. package/skills/uipath-maestro-flow/references/author/planning-impl.md +291 -0
  34. package/skills/uipath-maestro-flow/references/author/plugins/agent/impl.md +237 -0
  35. package/skills/uipath-maestro-flow/references/author/plugins/agent/planning.md +97 -0
  36. package/skills/uipath-maestro-flow/references/author/plugins/agentic-process/impl.md +107 -0
  37. package/skills/uipath-maestro-flow/references/author/plugins/agentic-process/planning.md +61 -0
  38. package/skills/uipath-maestro-flow/references/author/plugins/api-workflow/impl.md +108 -0
  39. package/skills/uipath-maestro-flow/references/author/plugins/api-workflow/planning.md +60 -0
  40. package/skills/uipath-maestro-flow/references/author/plugins/batch-transform/impl.md +171 -0
  41. package/skills/uipath-maestro-flow/references/author/plugins/batch-transform/planning.md +72 -0
  42. package/skills/uipath-maestro-flow/references/author/plugins/connector/impl-inline.md +120 -0
  43. package/skills/uipath-maestro-flow/references/author/plugins/connector/impl.md +463 -0
  44. package/skills/uipath-maestro-flow/references/author/plugins/connector/planning.md +186 -0
  45. package/skills/uipath-maestro-flow/references/author/plugins/connector-trigger/impl.md +517 -0
  46. package/skills/uipath-maestro-flow/references/author/plugins/connector-trigger/planning.md +115 -0
  47. package/skills/uipath-maestro-flow/references/author/plugins/conversational-agent/impl.md +309 -0
  48. package/skills/uipath-maestro-flow/references/author/plugins/conversational-agent/planning.md +133 -0
  49. package/skills/uipath-maestro-flow/references/author/plugins/data-fabric/impl.md +428 -0
  50. package/skills/uipath-maestro-flow/references/author/plugins/data-fabric/planning.md +188 -0
  51. package/skills/uipath-maestro-flow/references/author/plugins/decision/impl.md +83 -0
  52. package/skills/uipath-maestro-flow/references/author/plugins/decision/planning.md +38 -0
  53. package/skills/uipath-maestro-flow/references/author/plugins/delay/impl.md +38 -0
  54. package/skills/uipath-maestro-flow/references/author/plugins/delay/planning.md +53 -0
  55. package/skills/uipath-maestro-flow/references/author/plugins/end/impl.md +56 -0
  56. package/skills/uipath-maestro-flow/references/author/plugins/end/planning.md +28 -0
  57. package/skills/uipath-maestro-flow/references/author/plugins/flow/impl.md +107 -0
  58. package/skills/uipath-maestro-flow/references/author/plugins/flow/planning.md +58 -0
  59. package/skills/uipath-maestro-flow/references/author/plugins/hitl/impl.md +181 -0
  60. package/skills/uipath-maestro-flow/references/author/plugins/hitl/planning.md +166 -0
  61. package/skills/uipath-maestro-flow/references/author/plugins/http/impl-connector.md +86 -0
  62. package/skills/uipath-maestro-flow/references/author/plugins/http/impl-manual.md +68 -0
  63. package/skills/uipath-maestro-flow/references/author/plugins/http/impl.md +173 -0
  64. package/skills/uipath-maestro-flow/references/author/plugins/http/planning.md +107 -0
  65. package/skills/uipath-maestro-flow/references/author/plugins/inline-agent/impl.md +540 -0
  66. package/skills/uipath-maestro-flow/references/author/plugins/inline-agent/planning.md +115 -0
  67. package/skills/uipath-maestro-flow/references/author/plugins/inline-voice-agent/impl.md +269 -0
  68. package/skills/uipath-maestro-flow/references/author/plugins/inline-voice-agent/planning.md +128 -0
  69. package/skills/uipath-maestro-flow/references/author/plugins/ixp/impl.md +424 -0
  70. package/skills/uipath-maestro-flow/references/author/plugins/ixp/planning.md +95 -0
  71. package/skills/uipath-maestro-flow/references/author/plugins/loop/impl.md +403 -0
  72. package/skills/uipath-maestro-flow/references/author/plugins/loop/planning.md +60 -0
  73. package/skills/uipath-maestro-flow/references/author/plugins/merge/impl.md +43 -0
  74. package/skills/uipath-maestro-flow/references/author/plugins/merge/planning.md +24 -0
  75. package/skills/uipath-maestro-flow/references/author/plugins/queue/impl.md +82 -0
  76. package/skills/uipath-maestro-flow/references/author/plugins/queue/planning.md +44 -0
  77. package/skills/uipath-maestro-flow/references/author/plugins/rpa/impl.md +117 -0
  78. package/skills/uipath-maestro-flow/references/author/plugins/rpa/planning.md +61 -0
  79. package/skills/uipath-maestro-flow/references/author/plugins/scheduled-trigger/impl.md +56 -0
  80. package/skills/uipath-maestro-flow/references/author/plugins/scheduled-trigger/planning.md +93 -0
  81. package/skills/uipath-maestro-flow/references/author/plugins/script/impl.md +98 -0
  82. package/skills/uipath-maestro-flow/references/author/plugins/script/planning.md +42 -0
  83. package/skills/uipath-maestro-flow/references/author/plugins/subflow/impl.md +164 -0
  84. package/skills/uipath-maestro-flow/references/author/plugins/subflow/planning.md +35 -0
  85. package/skills/uipath-maestro-flow/references/author/plugins/summarize/impl.md +189 -0
  86. package/skills/uipath-maestro-flow/references/author/plugins/summarize/planning.md +66 -0
  87. package/skills/uipath-maestro-flow/references/author/plugins/switch/impl.md +72 -0
  88. package/skills/uipath-maestro-flow/references/author/plugins/switch/planning.md +34 -0
  89. package/skills/uipath-maestro-flow/references/author/plugins/terminate/impl.md +48 -0
  90. package/skills/uipath-maestro-flow/references/author/plugins/terminate/planning.md +29 -0
  91. package/skills/uipath-maestro-flow/references/author/plugins/transform/impl.md +252 -0
  92. package/skills/uipath-maestro-flow/references/author/plugins/transform/planning.md +47 -0
  93. package/skills/uipath-maestro-flow/references/diagnose/CAPABILITY.md +73 -0
  94. package/skills/uipath-maestro-flow/references/diagnose/failure-modes.md +353 -0
  95. package/skills/uipath-maestro-flow/references/diagnose/troubleshooting-guide.md +174 -0
  96. package/skills/uipath-maestro-flow/references/evaluate/CAPABILITY.md +134 -0
  97. package/skills/uipath-maestro-flow/references/evaluate/commands-reference.md +376 -0
  98. package/skills/uipath-maestro-flow/references/evaluate/eval-sets-guide.md +227 -0
  99. package/skills/uipath-maestro-flow/references/evaluate/evaluators-guide.md +143 -0
  100. package/skills/uipath-maestro-flow/references/evaluate/running-guide.md +215 -0
  101. package/skills/uipath-maestro-flow/references/evaluate/upload-safety.md +94 -0
  102. package/skills/uipath-maestro-flow/references/operate/CAPABILITY.md +77 -0
  103. package/skills/uipath-maestro-flow/references/operate/manage.md +39 -0
  104. package/skills/uipath-maestro-flow/references/operate/run.md +121 -0
  105. package/skills/uipath-maestro-flow/references/operate/ship.md +57 -0
  106. package/skills/uipath-maestro-flow/references/shared/action-nodes.md +100 -0
  107. package/skills/uipath-maestro-flow/references/shared/cli-commands.md +269 -0
  108. package/skills/uipath-maestro-flow/references/shared/cli-conventions.md +178 -0
  109. package/skills/uipath-maestro-flow/references/shared/file-format.md +582 -0
  110. package/skills/uipath-maestro-flow/references/shared/node-output-wiring.md +86 -0
  111. package/skills/uipath-maestro-flow/references/shared/ux-narration-and-todos.md +113 -0
  112. package/skills/uipath-maestro-flow/references/shared/variables-and-expressions.md +787 -0
  113. package/skills/uipath-platform/references/integration-service/activities.md +2 -2
  114. package/skills/uipath-platform/references/integration-service/activity-generation.md +8 -1
  115. package/skills/uipath-platform/references/integration-service/triggers.md +1 -3
  116. package/version-manifest.json +1 -1
  117. package/skills/uipath-maestro-flow/examples/AquariumSafetyStop.flow.ts +0 -26
  118. package/skills/uipath-maestro-flow/examples/ArchiveCardExtract.flow.ts +0 -38
  119. package/skills/uipath-maestro-flow/examples/BakeOffEntryForm.flow.ts +0 -27
  120. package/skills/uipath-maestro-flow/examples/BeeHiveLedger.flow.ts +0 -61
  121. package/skills/uipath-maestro-flow/examples/BeltProgression.flow.ts +0 -53
  122. package/skills/uipath-maestro-flow/examples/BirdCountLookup.flow.ts +0 -24
  123. package/skills/uipath-maestro-flow/examples/ClubDirectory.flow.ts +0 -56
  124. package/skills/uipath-maestro-flow/examples/ConcertSoundcheck.flow.ts +0 -59
  125. package/skills/uipath-maestro-flow/examples/DoorbellLog.flow.ts +0 -45
  126. package/skills/uipath-maestro-flow/examples/FestivalMapScaffold.flow.ts +0 -22
  127. package/skills/uipath-maestro-flow/examples/FieldTripQuickForm.flow.ts +0 -45
  128. package/skills/uipath-maestro-flow/examples/FossilCatalogEnrich.flow.ts +0 -26
  129. package/skills/uipath-maestro-flow/examples/GallerySubmission.flow.ts +0 -67
  130. package/skills/uipath-maestro-flow/examples/GreenhouseWatering.flow.ts +0 -39
  131. package/skills/uipath-maestro-flow/examples/HarbourRadioLine.flow.ts +0 -31
  132. package/skills/uipath-maestro-flow/examples/HerbariumDispatch.flow.ts +0 -34
  133. package/skills/uipath-maestro-flow/examples/KilnReview.flow.ts +0 -38
  134. package/skills/uipath-maestro-flow/examples/LibraryDeskChat.flow.ts +0 -39
  135. package/skills/uipath-maestro-flow/examples/LighthouseSignal.flow.ts +0 -30
  136. package/skills/uipath-maestro-flow/examples/MeteorShowerPages.flow.ts +0 -39
  137. package/skills/uipath-maestro-flow/examples/NeighborhoodWalkPlanner.flow.ts +0 -27
  138. package/skills/uipath-maestro-flow/examples/ObservatorySeeing.flow.ts +0 -51
  139. package/skills/uipath-maestro-flow/examples/OralHistoryDigest.flow.ts +0 -31
  140. package/skills/uipath-maestro-flow/examples/PlanetariumConfirmation.flow.ts +0 -34
  141. package/skills/uipath-maestro-flow/examples/PlantNameAdvisor.flow.ts +0 -28
  142. package/skills/uipath-maestro-flow/examples/PostcardCaption.flow.ts +0 -44
  143. package/skills/uipath-maestro-flow/examples/PotteryStudioCallback.flow.ts +0 -41
  144. package/skills/uipath-maestro-flow/examples/RecipeScaler.flow.ts +0 -62
  145. package/skills/uipath-maestro-flow/examples/SeedPacketReader.flow.ts +0 -49
  146. package/skills/uipath-maestro-flow/examples/TideTableConverter.flow.ts +0 -35
  147. package/skills/uipath-maestro-flow/examples/TrailLogSummary.flow.ts +0 -75
  148. package/skills/uipath-maestro-flow/examples/WorkshopInventory.flow.ts +0 -27
  149. package/skills/uipath-maestro-flow/examples/bindings.json +0 -85
  150. package/skills/uipath-maestro-flow/references/CLI-LOOP.md +0 -309
  151. package/skills/uipath-maestro-flow/references/agent-resources.md +0 -74
  152. package/skills/uipath-maestro-flow/references/agent.md +0 -175
  153. package/skills/uipath-maestro-flow/references/agentic-process.md +0 -41
  154. package/skills/uipath-maestro-flow/references/api-workflow.md +0 -29
  155. package/skills/uipath-maestro-flow/references/author.md +0 -178
  156. package/skills/uipath-maestro-flow/references/batch-transform.md +0 -23
  157. package/skills/uipath-maestro-flow/references/bindings.md +0 -178
  158. package/skills/uipath-maestro-flow/references/branch.md +0 -18
  159. package/skills/uipath-maestro-flow/references/brownfield.md +0 -152
  160. package/skills/uipath-maestro-flow/references/connector-params.md +0 -624
  161. package/skills/uipath-maestro-flow/references/conversational.md +0 -77
  162. package/skills/uipath-maestro-flow/references/data-fabric.md +0 -268
  163. package/skills/uipath-maestro-flow/references/delay.md +0 -26
  164. package/skills/uipath-maestro-flow/references/diagnose.md +0 -141
  165. package/skills/uipath-maestro-flow/references/document-pipeline.md +0 -47
  166. package/skills/uipath-maestro-flow/references/error-handling.md +0 -75
  167. package/skills/uipath-maestro-flow/references/evaluate.md +0 -168
  168. package/skills/uipath-maestro-flow/references/event-trigger.md +0 -155
  169. package/skills/uipath-maestro-flow/references/form-trigger.md +0 -41
  170. package/skills/uipath-maestro-flow/references/hitl.md +0 -169
  171. package/skills/uipath-maestro-flow/references/http.md +0 -105
  172. package/skills/uipath-maestro-flow/references/inline-agent.md +0 -132
  173. package/skills/uipath-maestro-flow/references/ixp.md +0 -167
  174. package/skills/uipath-maestro-flow/references/loops.md +0 -77
  175. package/skills/uipath-maestro-flow/references/manual-trigger.md +0 -39
  176. package/skills/uipath-maestro-flow/references/operate.md +0 -204
  177. package/skills/uipath-maestro-flow/references/or-processes.md +0 -91
  178. package/skills/uipath-maestro-flow/references/parallel-merge.md +0 -21
  179. package/skills/uipath-maestro-flow/references/placeholder.md +0 -70
  180. package/skills/uipath-maestro-flow/references/published-function.md +0 -66
  181. package/skills/uipath-maestro-flow/references/queue.md +0 -53
  182. package/skills/uipath-maestro-flow/references/return.md +0 -20
  183. package/skills/uipath-maestro-flow/references/rpa-workflow.md +0 -27
  184. package/skills/uipath-maestro-flow/references/scheduled-trigger.md +0 -34
  185. package/skills/uipath-maestro-flow/references/script.md +0 -52
  186. package/skills/uipath-maestro-flow/references/subflow.md +0 -33
  187. package/skills/uipath-maestro-flow/references/summarize.md +0 -20
  188. package/skills/uipath-maestro-flow/references/switch.md +0 -20
  189. package/skills/uipath-maestro-flow/references/terminate.md +0 -22
  190. package/skills/uipath-maestro-flow/references/transform.md +0 -32
  191. package/skills/uipath-maestro-flow/references/voice.md +0 -70
@@ -1,152 +0,0 @@
1
- # True-brownfield decompile, edit, and merge
2
-
3
- Use this procedure when a task supplies a deployed `.flow` and no `.flow.ts`.
4
- Do not hand-transcribe the graph: decompile it to builder source, edit that
5
- source, and merge only the delta back into the original.
6
-
7
- ## The safe project loop
8
-
9
- Keep authored source beside the canonical Flow so relative sidecars still
10
- resolve, but put every compiled working artifact outside the Flow project. The
11
- project must contain exactly one `.flow` file when product validation discovers
12
- it recursively.
13
-
14
- ```bash
15
- PROJECT=Solution/Deployed
16
- CANONICAL="$PROJECT/Deployed.flow"
17
- WORK=.flow-work/Deployed
18
- mkdir -p "$WORK"
19
-
20
- uip maestro flow decompile "$CANONICAL" -o "$PROJECT/Deployed.flow.ts" --no-pipeline
21
- uip maestro flow compile "$PROJECT/Deployed.flow.ts" -o "$WORK/baseline.flow"
22
- # Edit $PROJECT/Deployed.flow.ts narrowly; preserve existing step ids.
23
- uip maestro flow compile "$PROJECT/Deployed.flow.ts" -o "$WORK/edited.flow"
24
- uip maestro flow merge "$CANONICAL" "$WORK/edited.flow" \
25
- -o "$WORK/candidate.flow" --baseline "$WORK/baseline.flow"
26
-
27
- uip maestro flow validate "$WORK/candidate.flow" --output json
28
- cp "$WORK/candidate.flow" "$CANONICAL"
29
- uip maestro flow validate "$CANONICAL" --output json
30
- ```
31
-
32
- Replace the canonical artifact only after the candidate validates. Do not copy
33
- `baseline.flow`, `edited.flow`, or `candidate.flow` into the project, and do not
34
- leave an earlier `*.merged.flow` there: the project validator treats every
35
- `.flow` below the project directory as a deliverable.
36
-
37
- ## The generated pipeline
38
-
39
- `decompile` writes `<Name>.pipeline.mjs` into the `.flow-sdk/` work directory
40
- beside the source. Prefer it for any narrow edit: it chains all four steps below,
41
- and it captures the baseline before your edit rather than after, which is the
42
- ordering mistake that forces a rebuild.
43
-
44
- ```bash
45
- uip maestro flow decompile Deployed.flow -o .flow-sdk/Deployed.flow.ts
46
- node .flow-sdk/Deployed.pipeline.mjs # compiles the pristine baseline; stops there
47
- # Edit .flow-sdk/Deployed.flow.ts narrowly; preserve existing step ids.
48
- node .flow-sdk/Deployed.pipeline.mjs # compiles the edit, merges into .flow-sdk/Deployed.merged.flow
49
- ```
50
-
51
- Re-running it after further edits repeats only the compile and merge — the
52
- baseline is captured once and reused. Pass `--no-pipeline` to `decompile` when
53
- you deliberately want the manual sequence instead. The pipeline writes its
54
- `.flow` artifacts into that `.flow-sdk/` directory; use it only when the
55
- directory is outside the canonical Flow project, because product validation
56
- treats every `.flow` below the project, hidden folders included, as a
57
- deliverable. When source must remain in the
58
- project for relative sidecars, use the safe project loop above.
59
-
60
- ## The same loop by hand
61
-
62
- ```bash
63
- uip maestro flow decompile Deployed.flow -o .flow-sdk/Deployed.flow.ts --no-pipeline
64
- uip maestro flow compile .flow-sdk/Deployed.flow.ts -o .flow-sdk/Deployed.baseline.flow
65
- # Edit .flow-sdk/Deployed.flow.ts narrowly; preserve existing step ids.
66
- uip maestro flow compile .flow-sdk/Deployed.flow.ts -o .flow-sdk/Deployed.edited.flow
67
- uip maestro flow merge Deployed.flow .flow-sdk/Deployed.edited.flow \
68
- -o .flow-sdk/Deployed.merged.flow --baseline .flow-sdk/Deployed.baseline.flow
69
- ```
70
-
71
- Like the pipeline, this keeps every candidate in `.flow-sdk/`; validate
72
- `.flow-sdk/Deployed.merged.flow`, then replace the original with it.
73
-
74
- The baseline must be compiled from the pristine decompiled source, before any
75
- edit. It lets merge distinguish authored changes from reconstructed content;
76
- without it, merge falls back to taking the compiled graph wholesale, including
77
- layout.
78
-
79
- Decompile reconstructs branch, switch, loop, parallel, error/ref, and
80
- subflow structure. It preserves original node ids so merge can reattach them.
81
- Every family the SDK can AUTHOR is reconstructed through its own factory —
82
- including human tasks, agents and their attached resources, the published
83
- resource families, queue items, the AI patterns, document steps, conversational
84
- and voice steps, and connector event subscriptions. A recovered agent keeps its
85
- `source` uuid, so its `agent.json` sidecar still resolves.
86
-
87
- A node type the SDK has no factory for still round-trips: it comes back as
88
- `rawNode({ nodeType, version, manifest, inputs })`, carrying the definition the
89
- file supplied, so the node keeps its type, its version and its inputs. Leave it
90
- alone unless the task asks you to change it — and if you do, edit its `inputs`,
91
- not the hoisted `…Definition` const, which is the platform's own manifest.
92
-
93
- `mock()` in decompiled source therefore means the flow really contains a
94
- placeholder node (`core.logic.mock`). The one case that still degrades is a node
95
- whose definition is MISSING from the file — nothing can carry it, so it lowers
96
- to `mock() /* TODO: unsupported node type … */`; leave that node untouched and
97
- merge restores the original.
98
-
99
- ## The file's schema version comes back out
100
-
101
- `decompile` emits `.schemaVersion("<the file's version>")` as the first line of
102
- the chain, so the recompile declares the version the file had — not the SDK's
103
- own floor. Most deployed flows are `1.8`; the writable band is `1.6`–`1.10`.
104
- Leave that call alone unless you mean to retarget the document, and note that
105
- `check` warns either way off the `1.9` floor (`SCHEMA_VERSION_ABOVE_FLOOR`: a
106
- reader pinned lower refuses the file; `SCHEMA_VERSION_BELOW_FLOOR`: every reader
107
- migrates it forward on open). Changing versions is `uip maestro flow migrate`'s
108
- job, not an edit to this call.
109
-
110
- Three findings the source cannot carry are printed on stderr as
111
- `flow-decompile: warning: …` (and `--strict` turns the first and third into an
112
- error):
113
-
114
- - A node **no trigger reaches** — no edge leads to it, as when a designer or
115
- `node add` left it unconnected. The builder has no detached-node construct,
116
- so the source omits it and marks the spot with `// TODO: node "<id>" … is not
117
- reachable`; recompiling drops that node. If it is your edit target, connect
118
- it in the `.flow` first or edit that node's JSON directly.
119
- - A core `(type, typeVersion)` **this SDK does not bundle** — the registry
120
- serves `core.trigger.manual@1.0`, the SDK ships `1.0.0`, and versions resolve
121
- exactly. The source keeps the file's pair, so `compile` refuses it until you
122
- drop that `{ version }`; the node then takes the SDK's pinned version.
123
- - A **file-format version outside the writable band** (below `1.6`) — the source
124
- omits the `.schemaVersion()` call, marks the spot with a `// TODO:` line, and
125
- recompiling writes `1.9`. Migrate the file first, or keep the original and
126
- merge into it: `merge` preserves the original's declared version.
127
-
128
- Validate `Deployed.merged.flow`, not the intermediate edited compile. Before
129
- placing it in a solution, copy it over the canonical artifact rather than next
130
- to it, then validate the canonical project path again.
131
-
132
- ## Split (`$ref`) artifacts
133
-
134
- A deployed `.flow` may be SPLIT across sibling files with JSON Reference —
135
- `"definitions": { "$ref": "./definitions.json" }`, or the same for layout or an
136
- extracted subflow. Decompile resolves those into one model as it reads the file:
137
- point it at the main file and nothing else is needed. Do NOT inline the sidecar
138
- by hand first, and do not edit either file to "prepare" it — the recovered source
139
- is identical either way.
140
-
141
- Only relative paths resolve. An absolute path, a Windows drive letter, a
142
- protocol URI (`https://…`, `file:///…`) or a traversal above the referencing
143
- file's root is refused by design: a `.flow` is untrusted input, and the
144
- alternative is a way to read arbitrary files. A same-document pointer
145
- (`{"$ref": "#/definitions/…"}`) is left alone — those are legitimate internal
146
- JSON-Schema pointers, not file references. A missing or unreadable target is an
147
- error naming the file, not a silent gap.
148
-
149
- Compile always writes ONE file. Write-through splitting is deliberately not
150
- supported: nothing in the designer or the skills splits files today, so there is
151
- no producer to round-trip against. Expect the recompiled artifact to carry the
152
- sidecar's content inline, and no `$ref` — that is correct, not drift.