mrmainspring 0.2.5 → 0.2.7

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 (2) hide show
  1. package/dist/cli.js +15 -15
  2. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -67,7 +67,8 @@ export async function runCliCommand(args) {
67
67
  return true;
68
68
  }
69
69
  if (command === "setup") {
70
- if (process.stdin.isTTY) {
70
+ const forceInteractive = args.includes("--interactive") || args.includes("-i");
71
+ if (forceInteractive || (process.stdin.isTTY ?? process.stdout.isTTY)) {
71
72
  await runInteractiveSetup();
72
73
  }
73
74
  else {
@@ -117,20 +118,19 @@ export async function runCliCommand(args) {
117
118
  return true;
118
119
  }
119
120
  const CLOCK_ART = [
120
- "",
121
- " ╭────┴────╮ ",
122
- " ╭╯ 12 ╰╮ ",
123
- " 11 │ 1 │ ",
124
- " │ │ ",
125
- " 9 ─┤ ──◎ ├─ 3 ",
126
- " │ │ ",
127
- " │ 8 4 │ ",
128
- " ╰╮ 7 5 ╭╯ ",
129
- " ╰╮ 6 ╭╯ ",
130
- " ╰────────╯ ",
131
- " ",
132
- " Mr Mainspring ",
133
- " Memory · Anchor · Pay ",
121
+ " .-.-. ",
122
+ " (( (__I__) )) ",
123
+ " .'_....._'. ",
124
+ " / / .12 . \\ \\ ",
125
+ " | | ' | ' | | ",
126
+ " | | 9 / 3 | | ",
127
+ " \\ \\ '.6.' / / ",
128
+ " '.`-...-'.' ",
129
+ " /'-- --'\\ ",
130
+ " `\"\"\"\"\"\"\"\"\"` ",
131
+ " ",
132
+ " Mr Mainspring ",
133
+ " Memory · Anchor · Pay ",
134
134
  ].join("\n");
135
135
  async function runInteractiveSetup() {
136
136
  process.stdout.write(`\n${CLOCK_ART}\n\n`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mrmainspring",
3
- "version": "0.2.5",
3
+ "version": "0.2.7",
4
4
  "description": "Mr Mainspring MCP backend with memory, Grimoire policies, audit, Casper anchoring, and x402 settlement boundaries.",
5
5
  "license": "MIT",
6
6
  "type": "module",