@wipcomputer/wip-ldm-os 0.3.6 → 0.4.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.
package/SKILL.md CHANGED
@@ -5,7 +5,7 @@ license: MIT
5
5
  interface: [cli, skill]
6
6
  metadata:
7
7
  display-name: "LDM OS"
8
- version: "0.3.6"
8
+ version: "0.4.1"
9
9
  homepage: "https://github.com/wipcomputer/wip-ldm-os"
10
10
  author: "Parker Todd Brooks"
11
11
  category: infrastructure
package/bin/ldm.js CHANGED
@@ -1056,6 +1056,235 @@ async function cmdUpdates() {
1056
1056
  console.log('');
1057
1057
  }
1058
1058
 
1059
+ // ── ldm stack ──
1060
+
1061
+ async function cmdStack() {
1062
+ const subcommand = args[1];
1063
+
1064
+ if (!subcommand || subcommand === 'list') {
1065
+ return cmdStackList();
1066
+ }
1067
+ if (subcommand === 'install') {
1068
+ return cmdStackInstall();
1069
+ }
1070
+
1071
+ console.error(` Unknown stack subcommand: ${subcommand}`);
1072
+ console.error(' Usage: ldm stack [list | install <name>]');
1073
+ process.exit(1);
1074
+ }
1075
+
1076
+ function loadStacks() {
1077
+ return CATALOG.stacks || {};
1078
+ }
1079
+
1080
+ function resolveStack(name) {
1081
+ const stacks = loadStacks();
1082
+ const stack = stacks[name];
1083
+ if (!stack) return null;
1084
+
1085
+ // Resolve "includes" (compose stacks from other stacks)
1086
+ let components = [...(stack.components || [])];
1087
+ let mcpServers = [...(stack.mcpServers || [])];
1088
+
1089
+ if (stack.includes) {
1090
+ for (const inc of stack.includes) {
1091
+ const sub = stacks[inc];
1092
+ if (sub) {
1093
+ components = [...(sub.components || []), ...components];
1094
+ mcpServers = [...(sub.mcpServers || []), ...mcpServers];
1095
+ }
1096
+ }
1097
+ }
1098
+
1099
+ // Deduplicate
1100
+ components = [...new Set(components)];
1101
+ const seenMcp = new Set();
1102
+ mcpServers = mcpServers.filter(m => {
1103
+ if (seenMcp.has(m.name)) return false;
1104
+ seenMcp.add(m.name);
1105
+ return true;
1106
+ });
1107
+
1108
+ return { ...stack, components, mcpServers };
1109
+ }
1110
+
1111
+ function cmdStackList() {
1112
+ const stacks = loadStacks();
1113
+
1114
+ console.log('');
1115
+ console.log(' Available Stacks');
1116
+ console.log(' ────────────────────────────────────');
1117
+
1118
+ if (Object.keys(stacks).length === 0) {
1119
+ console.log(' No stacks defined in catalog.');
1120
+ console.log('');
1121
+ return;
1122
+ }
1123
+
1124
+ for (const [id, stack] of Object.entries(stacks)) {
1125
+ const resolved = resolveStack(id);
1126
+ const compCount = resolved.components.length;
1127
+ const mcpCount = resolved.mcpServers.length;
1128
+ console.log(` ${id}: ${stack.name}`);
1129
+ console.log(` ${stack.description}`);
1130
+ console.log(` ${compCount} component(s), ${mcpCount} MCP server(s)`);
1131
+ console.log('');
1132
+ }
1133
+
1134
+ console.log(' Install: ldm stack install <name>');
1135
+ console.log(' Preview: ldm stack install <name> --dry-run');
1136
+ console.log('');
1137
+ }
1138
+
1139
+ async function cmdStackInstall() {
1140
+ const stackName = args.slice(2).find(a => !a.startsWith('--'));
1141
+
1142
+ if (!stackName) {
1143
+ console.error(' Usage: ldm stack install <name> [--dry-run]');
1144
+ console.error(' Run: ldm stack list');
1145
+ process.exit(1);
1146
+ }
1147
+
1148
+ const stack = resolveStack(stackName);
1149
+ if (!stack) {
1150
+ console.error(` Unknown stack: "${stackName}"`);
1151
+ console.error(' Run: ldm stack list');
1152
+ process.exit(1);
1153
+ }
1154
+
1155
+ console.log('');
1156
+ console.log(` Stack: ${stack.name}`);
1157
+ console.log(` ────────────────────────────────────`);
1158
+ console.log(` ${stack.description}`);
1159
+ console.log('');
1160
+
1161
+ // Check what's already installed
1162
+ const registry = readJSON(REGISTRY_PATH);
1163
+ const registeredNames = Object.keys(registry?.extensions || {});
1164
+
1165
+ const ccUserPath = join(HOME, '.claude.json');
1166
+ const ccUser = readJSON(ccUserPath);
1167
+ const registeredMcp = Object.keys(ccUser?.mcpServers || {});
1168
+
1169
+ // Components
1170
+ const componentsToInstall = [];
1171
+ const componentsInstalled = [];
1172
+ for (const compId of stack.components) {
1173
+ const entry = findInCatalog(compId);
1174
+ if (!entry) continue;
1175
+
1176
+ // Check if already installed
1177
+ const matches = entry.registryMatches || [compId];
1178
+ const installed = matches.some(m => registeredNames.includes(m));
1179
+ if (installed) {
1180
+ componentsInstalled.push(entry);
1181
+ } else {
1182
+ componentsToInstall.push(entry);
1183
+ }
1184
+ }
1185
+
1186
+ // MCP servers
1187
+ const mcpToInstall = [];
1188
+ const mcpInstalled = [];
1189
+ for (const mcp of stack.mcpServers) {
1190
+ if (registeredMcp.includes(mcp.name)) {
1191
+ mcpInstalled.push(mcp);
1192
+ } else {
1193
+ mcpToInstall.push(mcp);
1194
+ }
1195
+ }
1196
+
1197
+ // Show status
1198
+ if (componentsInstalled.length > 0) {
1199
+ console.log(` Already installed (${componentsInstalled.length}):`);
1200
+ for (const c of componentsInstalled) {
1201
+ console.log(` [x] ${c.name}`);
1202
+ }
1203
+ console.log('');
1204
+ }
1205
+
1206
+ if (mcpInstalled.length > 0) {
1207
+ console.log(` MCP servers already registered (${mcpInstalled.length}):`);
1208
+ for (const m of mcpInstalled) {
1209
+ console.log(` [x] ${m.name}`);
1210
+ }
1211
+ console.log('');
1212
+ }
1213
+
1214
+ if (componentsToInstall.length > 0) {
1215
+ console.log(` Components to install (${componentsToInstall.length}):`);
1216
+ for (const c of componentsToInstall) {
1217
+ console.log(` [ ] ${c.name} (${c.repo})`);
1218
+ }
1219
+ console.log('');
1220
+ }
1221
+
1222
+ if (mcpToInstall.length > 0) {
1223
+ console.log(` MCP servers to add (${mcpToInstall.length}):`);
1224
+ for (const m of mcpToInstall) {
1225
+ console.log(` [ ] ${m.name} (${m.command} ${m.args.join(' ')})`);
1226
+ }
1227
+ console.log('');
1228
+ }
1229
+
1230
+ if (componentsToInstall.length === 0 && mcpToInstall.length === 0) {
1231
+ console.log(' Everything in this stack is already installed.');
1232
+ console.log('');
1233
+ return;
1234
+ }
1235
+
1236
+ if (DRY_RUN) {
1237
+ console.log(` Would install ${componentsToInstall.length} component(s) and ${mcpToInstall.length} MCP server(s).`);
1238
+ console.log(' Dry run complete. No changes made.');
1239
+ console.log('');
1240
+ return;
1241
+ }
1242
+
1243
+ // Install components via ldm install
1244
+ let installed = 0;
1245
+ for (const c of componentsToInstall) {
1246
+ console.log(` Installing ${c.name}...`);
1247
+ try {
1248
+ execSync(`ldm install ${c.repo}`, { stdio: 'inherit' });
1249
+ installed++;
1250
+ } catch (e) {
1251
+ console.error(` x Failed to install ${c.name}: ${e.message}`);
1252
+ }
1253
+ }
1254
+
1255
+ // Register MCP servers
1256
+ let mcpAdded = 0;
1257
+ for (const mcp of mcpToInstall) {
1258
+ console.log(` Adding MCP: ${mcp.name}...`);
1259
+ try {
1260
+ const mcpArgs = mcp.args.map(a => `"${a}"`).join(' ');
1261
+ execSync(`claude mcp add --scope user ${mcp.name} -- ${mcp.command} ${mcpArgs}`, { stdio: 'pipe' });
1262
+ console.log(` + MCP: ${mcp.name} registered (user scope)`);
1263
+ mcpAdded++;
1264
+ } catch (e) {
1265
+ // Fallback: write directly to ~/.claude.json
1266
+ try {
1267
+ const config = readJSON(ccUserPath) || {};
1268
+ if (!config.mcpServers) config.mcpServers = {};
1269
+ config.mcpServers[mcp.name] = {
1270
+ command: mcp.command,
1271
+ args: mcp.args,
1272
+ };
1273
+ writeJSON(ccUserPath, config);
1274
+ console.log(` + MCP: ${mcp.name} registered in ~/.claude.json (fallback)`);
1275
+ mcpAdded++;
1276
+ } catch (e2) {
1277
+ console.error(` x MCP: ${mcp.name} failed: ${e2.message}`);
1278
+ }
1279
+ }
1280
+ }
1281
+
1282
+ console.log('');
1283
+ console.log(` Done. ${installed} component(s) installed, ${mcpAdded} MCP server(s) added.`);
1284
+ console.log(' Restart your session to load new MCP servers.');
1285
+ console.log('');
1286
+ }
1287
+
1059
1288
  // ── Main ──
1060
1289
 
1061
1290
  async function main() {
@@ -1075,6 +1304,8 @@ async function main() {
1075
1304
  console.log(' ldm msg send <to> <body> Send a message to a session');
1076
1305
  console.log(' ldm msg list List pending messages');
1077
1306
  console.log(' ldm msg broadcast <body> Send to all sessions');
1307
+ console.log(' ldm stack list Show available stacks');
1308
+ console.log(' ldm stack install <name> Install a stack (core, web, all)');
1078
1309
  console.log(' ldm updates Show available updates from cache');
1079
1310
  console.log(' ldm updates --check Re-check npm registry for updates');
1080
1311
  console.log('');
@@ -1125,6 +1356,9 @@ async function main() {
1125
1356
  case 'msg':
1126
1357
  await cmdMsg();
1127
1358
  break;
1359
+ case 'stack':
1360
+ await cmdStack();
1361
+ break;
1128
1362
  case 'updates':
1129
1363
  await cmdUpdates();
1130
1364
  break;
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env node
2
+ // wip-install: thin bootstrap + delegate to ldm install.
3
+ // If ldm is on PATH, delegates immediately.
4
+ // If not, installs LDM OS from npm, then delegates.
5
+ // Replaces the standalone 700-line install.js from wip-ai-devops-toolbox.
6
+
7
+ import { run } from '../lib/bootstrap.mjs';
8
+ run(process.argv.slice(2));
package/catalog.json CHANGED
@@ -1,5 +1,31 @@
1
1
  {
2
- "version": "0.2.0",
2
+ "version": "0.3.0",
3
+ "stacks": {
4
+ "core": {
5
+ "name": "WIP Core",
6
+ "description": "Essential tools for all WIP.computer team members.",
7
+ "components": ["memory-crystal", "wip-ai-devops-toolbox", "wip-1password", "wip-markdown-viewer"],
8
+ "mcpServers": []
9
+ },
10
+ "web": {
11
+ "name": "Web Development",
12
+ "description": "Frontend tools for Next.js, React, Tailwind projects.",
13
+ "components": [],
14
+ "mcpServers": [
15
+ { "name": "playwright", "command": "npx", "args": ["-y", "@playwright/mcp@latest", "--browser", "chromium"] },
16
+ { "name": "next-devtools", "command": "npx", "args": ["-y", "next-devtools-mcp@latest"] },
17
+ { "name": "shadcn", "command": "npx", "args": ["-y", "shadcn@latest", "mcp"] },
18
+ { "name": "tailwindcss-docs", "command": "npx", "args": ["-y", "tailwindcss-docs-mcp"] }
19
+ ]
20
+ },
21
+ "all": {
22
+ "name": "Everything",
23
+ "description": "All WIP tools + web dev stack.",
24
+ "includes": ["core", "web"],
25
+ "components": ["wip-xai-grok", "wip-xai-x"],
26
+ "mcpServers": []
27
+ }
28
+ },
3
29
  "components": [
4
30
  {
5
31
  "id": "memory-crystal",
@@ -0,0 +1,206 @@
1
+ # The Universal Interface Specification
2
+
3
+ Every tool is a sensor, an actuator, or both. Every tool should be accessible through multiple interfaces. We call this the Universal Interface.
4
+
5
+ This is the spec.
6
+
7
+ ## The Six Interfaces
8
+
9
+ ### 1. CLI
10
+
11
+ A shell command. The most universal interface. If it has a terminal, it works.
12
+
13
+ **Convention:** `package.json` with a `bin` field.
14
+
15
+ **Detection:** `pkg.bin` exists.
16
+
17
+ **Install:** `npm install -g .` or `npm link`.
18
+
19
+ ```json
20
+ {
21
+ "bin": {
22
+ "wip-grok": "./cli.mjs"
23
+ }
24
+ }
25
+ ```
26
+
27
+ ### 2. Module
28
+
29
+ An importable ES module. The programmatic interface. Other tools compose with it.
30
+
31
+ **Convention:** `package.json` with `main` or `exports` field. File is `core.mjs` by convention.
32
+
33
+ **Detection:** `pkg.main` or `pkg.exports` exists.
34
+
35
+ **Install:** `npm install <package>` or import directly from path.
36
+
37
+ ```json
38
+ {
39
+ "type": "module",
40
+ "main": "core.mjs",
41
+ "exports": {
42
+ ".": "./core.mjs",
43
+ "./cli": "./cli.mjs"
44
+ }
45
+ }
46
+ ```
47
+
48
+ ### 3. MCP Server
49
+
50
+ A JSON-RPC server implementing the Model Context Protocol. Any MCP-compatible agent can use it.
51
+
52
+ **Convention:** `mcp-server.mjs` (or `.js`, `.ts`) at the repo root. Uses `@modelcontextprotocol/sdk`.
53
+
54
+ **Detection:** One of `mcp-server.mjs`, `mcp-server.js`, `mcp-server.ts`, `dist/mcp-server.js` exists.
55
+
56
+ **Install:** Add to `.mcp.json`:
57
+
58
+ ```json
59
+ {
60
+ "tool-name": {
61
+ "command": "node",
62
+ "args": ["/path/to/mcp-server.mjs"]
63
+ }
64
+ }
65
+ ```
66
+
67
+ ### 4. OpenClaw Plugin
68
+
69
+ A plugin for OpenClaw agents. Lifecycle hooks, tool registration, settings.
70
+
71
+ **Convention:** `openclaw.plugin.json` at the repo root.
72
+
73
+ **Detection:** `openclaw.plugin.json` exists.
74
+
75
+ **Install:** Copy to `~/.openclaw/extensions/<name>/`, run `npm install --omit=dev`.
76
+
77
+ ### 5. Skill (SKILL.md)
78
+
79
+ A markdown file that teaches agents when and how to use the tool. The instruction interface.
80
+
81
+ **Convention:** `SKILL.md` at the repo root. YAML frontmatter with name, version, description, metadata.
82
+
83
+ **Detection:** `SKILL.md` exists.
84
+
85
+ **Install:** Referenced by path. Agents read it when they need the tool.
86
+
87
+ ```yaml
88
+ ---
89
+ name: wip-grok
90
+ version: 1.0.0
91
+ description: xAI Grok API. Search the web, search X, generate images.
92
+ metadata:
93
+ category: search,media
94
+ capabilities:
95
+ - web-search
96
+ - image-generation
97
+ ---
98
+ ```
99
+
100
+ ### 6. Claude Code Hook
101
+
102
+ A hook that runs during Claude Code's tool lifecycle (PreToolUse, Stop, etc.).
103
+
104
+ **Convention:** `guard.mjs` at repo root, or `claudeCode.hook` in `package.json`.
105
+
106
+ **Detection:** `guard.mjs` exists, or `pkg.claudeCode.hook` is defined.
107
+
108
+ **Install:** Added to `~/.claude/settings.json` under `hooks`.
109
+
110
+ ```json
111
+ {
112
+ "hooks": {
113
+ "PreToolUse": [{
114
+ "matcher": "Edit|Write",
115
+ "hooks": [{
116
+ "type": "command",
117
+ "command": "node /path/to/guard.mjs",
118
+ "timeout": 5
119
+ }]
120
+ }]
121
+ }
122
+ }
123
+ ```
124
+
125
+ ## Architecture
126
+
127
+ Every repo that follows this spec has the same basic structure:
128
+
129
+ ```
130
+ your-tool/
131
+ core.mjs pure logic, zero or minimal deps
132
+ cli.mjs thin CLI wrapper around core
133
+ mcp-server.mjs MCP server wrapping core functions as tools
134
+ SKILL.md agent instructions with YAML frontmatter
135
+ package.json name, bin, main, exports, type: module
136
+ README.md human documentation
137
+ ai/ development process (plans, todos, notes)
138
+ ```
139
+
140
+ Not every tool needs all six interfaces. Build the ones that make sense.
141
+
142
+ The minimum viable agent-native tool has two interfaces: **Module** (importable) and **Skill** (agent instructions). Add CLI for humans. Add MCP for agents that speak MCP. Add OpenClaw/CC Hook for specific platforms.
143
+
144
+ ## The `ai/` Folder
145
+
146
+ Every repo should have an `ai/` folder. This is where agents and humans collaborate on the project ... plans, todos, dev updates, research notes, conversations.
147
+
148
+ ```
149
+ ai/
150
+ plan/ architecture plans, roadmaps
151
+ dev-updates/ what was built, session logs
152
+ todos/
153
+ PUNCHLIST.md blockers to ship
154
+ inboxes/ per-agent action items
155
+ notes/ research, references, raw conversation logs
156
+ ```
157
+
158
+ The `ai/` folder is the development process. It is not part of the published product.
159
+
160
+ **Public/private split:** If a repo is public, the `ai/` folder should not ship. The recommended pattern is to maintain a private working repo (with `ai/`) and a public repo (everything except `ai/`). The public repo has everything an LLM or human needs to understand and use the tool. The `ai/` folder is operational context for the team building it.
161
+
162
+ ## The Reference Installer
163
+
164
+ `ldm install` is the primary installer (part of LDM OS). `wip-install` is the standalone fallback. Both scan a repo, detect which interfaces exist, and install them all. One command.
165
+
166
+ ```bash
167
+ ldm install /path/to/repo # local (via LDM OS)
168
+ ldm install org/repo # from GitHub
169
+ ldm install org/repo --dry-run # detect only
170
+ wip-install /path/to/repo # standalone fallback (bootstraps LDM OS if needed)
171
+ wip-install --json /path/to/repo # JSON output
172
+ ```
173
+
174
+ For toolbox repos (with a `tools/` directory containing sub-tools), the installer enters toolbox mode and installs each sub-tool.
175
+
176
+ ## Examples
177
+
178
+ ### AI DevOps Toolbox (this repo)
179
+
180
+ | # | Tool | Interfaces |
181
+ |---|------|------------|
182
+ | | **Repo Management** | |
183
+ | 1 | [Repo Visibility Guard](tools/wip-repo-permissions-hook/) | CLI + Module + MCP + OpenClaw + Skill + CC Hook |
184
+ | 2 | [Repo Manifest Reconciler](tools/wip-repos/) | CLI + Module + MCP + Skill |
185
+ | 3 | [Repo Init](tools/wip-repo-init/) | CLI + Skill |
186
+ | 4 | [README Formatter](tools/wip-readme-format/) | CLI + Skill |
187
+ | 5 | [Branch Guard](tools/wip-branch-guard/) | CLI + Module + CC Hook |
188
+ | | **License, Compliance, and Protection** | |
189
+ | 6 | [Identity File Protection](tools/wip-file-guard/) | CLI + Module + OpenClaw + Skill + CC Hook |
190
+ | 7 | [License Guard](tools/wip-license-guard/) | CLI + Skill |
191
+ | 8 | [License Rug-Pull Detection](tools/wip-license-hook/) | CLI + Module + MCP + Skill |
192
+ | | **Release & Deploy** | |
193
+ | 9 | [Release Pipeline](tools/wip-release/) | CLI + Module + MCP + Skill |
194
+ | 10 | [Private-to-Public Sync](tools/deploy-public/) | CLI + Skill |
195
+ | 11 | [Post-Merge Branch Naming](tools/post-merge-rename/) | CLI + Skill |
196
+ | 12 | [Universal Installer](tools/wip-universal-installer/) | CLI + Module + Skill |
197
+
198
+ ### Other WIP Computer Tools
199
+
200
+ | Repo | Interfaces |
201
+ |------|------------|
202
+ | [Memory Crystal](https://github.com/wipcomputer/memory-crystal) | CLI + Module + MCP + OpenClaw + Skill |
203
+ | [LDM OS](https://github.com/wipcomputer/wip-ldm-os) | CLI + Module + Skill + CC Hook |
204
+ | [wip-grok](https://github.com/wipcomputer/wip-grok) | CLI + Module + MCP + Skill |
205
+ | [wip-x](https://github.com/wipcomputer/wip-x) | CLI + Module + MCP + Skill |
206
+ | [Markdown Viewer](https://github.com/wipcomputer/wip-markdown-viewer) | CLI + Module |
@@ -0,0 +1,92 @@
1
+ /**
2
+ * lib/bootstrap.mjs
3
+ * Thin bootstrap for wip-install.
4
+ * If ldm is on PATH, delegates to ldm install.
5
+ * If not, installs LDM OS from npm, then delegates.
6
+ * This replaces the 700-line standalone install.js from the toolbox.
7
+ * Zero external dependencies.
8
+ */
9
+
10
+ import { execSync } from 'node:child_process';
11
+
12
+ /**
13
+ * Check if ldm CLI is available on PATH.
14
+ * @returns {boolean}
15
+ */
16
+ export function isLdmAvailable() {
17
+ try {
18
+ execSync('ldm --version', { stdio: 'pipe', timeout: 5000 });
19
+ return true;
20
+ } catch {
21
+ return false;
22
+ }
23
+ }
24
+
25
+ /**
26
+ * Install LDM OS from npm registry.
27
+ * @returns {boolean} true if install succeeded
28
+ */
29
+ export function bootstrapLdmOs() {
30
+ try {
31
+ execSync('npm install -g @wipcomputer/wip-ldm-os', { stdio: 'pipe', timeout: 120000 });
32
+ execSync('ldm init --yes --none', { stdio: 'pipe', timeout: 30000 });
33
+ return isLdmAvailable();
34
+ } catch {
35
+ return false;
36
+ }
37
+ }
38
+
39
+ /**
40
+ * Delegate to ldm install with the given arguments.
41
+ * @param {string} target - what to install (org/repo, path, or empty for update-all)
42
+ * @param {string[]} flags - CLI flags (--dry-run, --json, etc.)
43
+ */
44
+ export function delegateToLdm(target, flags = []) {
45
+ const cmd = target
46
+ ? `ldm install ${target} ${flags.join(' ')}`
47
+ : `ldm install ${flags.join(' ')}`;
48
+ execSync(cmd.trim(), { stdio: 'inherit' });
49
+ }
50
+
51
+ /**
52
+ * Full bootstrap + delegate flow.
53
+ * Called by wip-install as the entry point.
54
+ * @param {string[]} argv - process.argv.slice(2)
55
+ */
56
+ export function run(argv) {
57
+ const target = argv.find(a => !a.startsWith('--'));
58
+ const flags = argv.filter(a => a.startsWith('--'));
59
+ const jsonOutput = flags.includes('--json');
60
+
61
+ if (isLdmAvailable()) {
62
+ if (!jsonOutput) {
63
+ console.log('');
64
+ console.log(' LDM OS detected. Delegating to ldm install...');
65
+ console.log('');
66
+ }
67
+ delegateToLdm(target, flags);
68
+ return;
69
+ }
70
+
71
+ // LDM not on PATH, try bootstrap
72
+ if (!jsonOutput) {
73
+ console.log('');
74
+ console.log(' LDM OS not found. Installing...');
75
+ console.log('');
76
+ }
77
+
78
+ if (bootstrapLdmOs()) {
79
+ if (!jsonOutput) {
80
+ console.log(' LDM OS installed. Delegating to ldm install...');
81
+ console.log('');
82
+ }
83
+ delegateToLdm(target, flags);
84
+ } else {
85
+ if (!jsonOutput) {
86
+ console.log(' LDM OS could not be installed automatically.');
87
+ console.log(' Install manually: npm install -g @wipcomputer/wip-ldm-os');
88
+ console.log('');
89
+ }
90
+ process.exit(1);
91
+ }
92
+ }
package/package.json CHANGED
@@ -1,12 +1,13 @@
1
1
  {
2
2
  "name": "@wipcomputer/wip-ldm-os",
3
- "version": "0.3.6",
3
+ "version": "0.4.1",
4
4
  "type": "module",
5
5
  "description": "LDM OS: identity, memory, and sovereignty infrastructure for AI agents",
6
6
  "main": "src/boot/boot-hook.mjs",
7
7
  "bin": {
8
8
  "ldm": "bin/ldm.js",
9
9
  "wip-ldm-os": "bin/ldm.js",
10
+ "wip-install": "bin/wip-install.js",
10
11
  "ldm-scaffold": "bin/scaffold.sh",
11
12
  "ldm-boot-install": "src/boot/install-cli.js",
12
13
  "lesa": "dist/bridge/cli.js"
File without changes
File without changes
File without changes