@invarn/cli 0.2.4 → 0.2.5

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/dist/sdk.mjs CHANGED
@@ -8853,6 +8853,15 @@ async function handleAgentRegister(args) {
8853
8853
  lines.push(`Pipeline file written to: ${result.pipelinePath}`);
8854
8854
  lines.push(`Commit and push the file when ready \u2014 the agent can run locally in the meantime.`);
8855
8855
  }
8856
+ if (Array.isArray(result.warnings) && result.warnings.length > 0) {
8857
+ lines.push("");
8858
+ lines.push("\u26A0\uFE0F Warnings:");
8859
+ for (const w of result.warnings) {
8860
+ lines.push(` - ${w}`);
8861
+ }
8862
+ lines.push("");
8863
+ lines.push("Consider re-registering with split commands if the chained phases are distinct concepts. See STEP SPLITTING in the registration guidance.");
8864
+ }
8856
8865
  return { content: [{ type: "text", text: lines.join("\n") }] };
8857
8866
  } catch (err) {
8858
8867
  return { content: [{ type: "text", text: `Error: ${err.message}` }], isError: true };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@invarn/cli",
3
- "version": "0.2.4",
3
+ "version": "0.2.5",
4
4
  "description": "Invarn CLI — run builds, check artifacts, and ship from your terminal",
5
5
  "type": "module",
6
6
  "main": "dist/invarn.cjs",