@exposify/cli 0.0.4 → 0.0.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/index.js +4 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1780,7 +1780,9 @@ ${bold("Step 2/5")} \xB7 Print "[agentready] MCP ready \u2026" when your server
|
|
|
1780
1780
|
}
|
|
1781
1781
|
const alreadyExposed = new Set(result.routes.filter((r) => r.exposed).map(routeKey));
|
|
1782
1782
|
const unchanged = result.aiReady && differences(result.routes, selected, alreadyExposed).length === 0 && (current?.startupLog ?? true) === startupLog && currentNuclear === nuclear && sameActions(current?.actions);
|
|
1783
|
-
|
|
1783
|
+
const step = adapter.configStep({ result, config, current, root, readLine: readLineAt });
|
|
1784
|
+
const pendingAlso = step.apply && "plan" in step.apply ? step.apply.also?.length ?? 0 : 0;
|
|
1785
|
+
if (unchanged && pendingAlso === 0) {
|
|
1784
1786
|
console.log(`
|
|
1785
1787
|
${green("\u2713 Already set up")}: your aiReady() config already matches. Nothing to change.`);
|
|
1786
1788
|
if (tty && !args.quick) {
|
|
@@ -1791,7 +1793,7 @@ ${green("\u2713 Already set up")}: your aiReady() config already matches. Nothin
|
|
|
1791
1793
|
await offerSnapshot(args, tty, toolRows(result.routes, result.actions), root, cwd);
|
|
1792
1794
|
return 0;
|
|
1793
1795
|
}
|
|
1794
|
-
const { code, hint, apply } =
|
|
1796
|
+
const { code, hint, apply } = step;
|
|
1795
1797
|
const shouldCopy = args.copy ?? tty;
|
|
1796
1798
|
const copied = shouldCopy ? copyToClipboard(code) : null;
|
|
1797
1799
|
const copyNote = copied?.certain ? green(" (copied to clipboard \u2713)") : copied ? dim(" (sent to your terminal's clipboard, if it supports that)") : "";
|