@wipcomputer/wip-ldm-os 0.4.42 → 0.4.44
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/README.md +6 -9
- package/SKILL.md +1 -1
- package/bin/ldm.js +24 -0
- package/package.json +2 -2
- package/shared/rules/release-pipeline.md +13 -0
- package/shared/templates/install-prompt.md +28 -0
package/README.md
CHANGED
|
@@ -22,28 +22,25 @@ Open your AI and paste this:
|
|
|
22
22
|
```
|
|
23
23
|
Read https://wip.computer/install/wip-ldm-os.txt
|
|
24
24
|
|
|
25
|
-
|
|
25
|
+
Check if LDM OS is already installed. If it is, run ldm install --dry-run and show me what I have and what's new.
|
|
26
|
+
|
|
27
|
+
If not, walk me through setup and explain:
|
|
28
|
+
|
|
26
29
|
1. What is LDM OS?
|
|
27
30
|
2. What does it install on my system?
|
|
28
31
|
3. What changes for us? (this AI)
|
|
29
32
|
4. What changes across all my AIs?
|
|
30
33
|
|
|
31
|
-
Check if LDM OS is already installed.
|
|
32
|
-
|
|
33
|
-
If it is, show me what I have and what's new.
|
|
34
|
-
|
|
35
|
-
If not, walk me through setup.
|
|
36
|
-
|
|
37
34
|
Then ask:
|
|
38
35
|
- Do you have questions?
|
|
39
36
|
- Want to see a dry run?
|
|
40
37
|
|
|
41
|
-
If I say yes:
|
|
38
|
+
If I say yes: Install the CLI first (npm install -g @wipcomputer/wip-ldm-os) and then run ldm install --dry-run.
|
|
42
39
|
|
|
43
40
|
Show me exactly what will change. Don't install anything until I say "install".
|
|
44
41
|
```
|
|
45
42
|
|
|
46
|
-
That's it. Your AI reads the spec,
|
|
43
|
+
That's it. Your AI reads the spec, checks what you have, and walks you through a dry run before touching anything.
|
|
47
44
|
|
|
48
45
|
## Included Skills
|
|
49
46
|
|
package/SKILL.md
CHANGED
package/bin/ldm.js
CHANGED
|
@@ -481,6 +481,30 @@ async function cmdInit() {
|
|
|
481
481
|
console.log(` + Level 1 CLAUDE.md deployed to ~/.claude/CLAUDE.md`);
|
|
482
482
|
}
|
|
483
483
|
|
|
484
|
+
// Deploy shared templates to workspace settings/templates/
|
|
485
|
+
const templatesSrc = join(__dirname, '..', 'shared', 'templates');
|
|
486
|
+
if (existsSync(templatesSrc)) {
|
|
487
|
+
// Read workspace path from ~/.ldm/config.json
|
|
488
|
+
let workspacePath = '';
|
|
489
|
+
try {
|
|
490
|
+
const ldmConfig = JSON.parse(readFileSync(join(LDM_ROOT, 'config.json'), 'utf8'));
|
|
491
|
+
workspacePath = (ldmConfig.workspace || '').replace('~', HOME);
|
|
492
|
+
} catch {}
|
|
493
|
+
if (workspacePath && existsSync(workspacePath)) {
|
|
494
|
+
const templatesDest = join(workspacePath, 'settings', 'templates');
|
|
495
|
+
mkdirSync(templatesDest, { recursive: true });
|
|
496
|
+
let templatesCount = 0;
|
|
497
|
+
for (const file of readdirSync(templatesSrc)) {
|
|
498
|
+
if (file === 'claude-md-level1.md') continue; // deployed separately above
|
|
499
|
+
cpSync(join(templatesSrc, file), join(templatesDest, file));
|
|
500
|
+
templatesCount++;
|
|
501
|
+
}
|
|
502
|
+
if (templatesCount > 0) {
|
|
503
|
+
console.log(` + ${templatesCount} template(s) deployed to ${templatesDest.replace(HOME, '~')}/`);
|
|
504
|
+
}
|
|
505
|
+
}
|
|
506
|
+
}
|
|
507
|
+
|
|
484
508
|
// Deploy shared prompts to ~/.ldm/shared/prompts/
|
|
485
509
|
const promptsSrc = join(__dirname, '..', 'shared', 'prompts');
|
|
486
510
|
const promptsDest = join(LDM_ROOT, 'shared', 'prompts');
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wipcomputer/wip-ldm-os",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.44",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "LDM OS: identity, memory, and sovereignty infrastructure for AI agents",
|
|
6
6
|
"engines": {
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
],
|
|
45
45
|
"repository": {
|
|
46
46
|
"type": "git",
|
|
47
|
-
"url": "git+https://github.com/wipcomputer/wip-ldm-os.git"
|
|
47
|
+
"url": "git+https://github.com/wipcomputer/wip-ldm-os-private.git"
|
|
48
48
|
},
|
|
49
49
|
"author": "WIP Computer, Inc.",
|
|
50
50
|
"license": "MIT"
|
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# Release Pipeline
|
|
2
2
|
|
|
3
|
+
## Never touch deployed files. The installer is the only deploy path.
|
|
4
|
+
|
|
5
|
+
Files at `~/.ldm/`, `~/.claude/`, `~/.openclaw/` are DEPLOYED by `ldm install`. Never edit them directly. Every change goes through the repo and the installer.
|
|
6
|
+
|
|
7
|
+
The plan for any feature must answer:
|
|
8
|
+
1. What source files change? (in the repo)
|
|
9
|
+
2. What does `ldm install` deploy? (templates, rules, docs, boot config, CLAUDE.md)
|
|
10
|
+
3. What needs to update for fresh install vs existing install?
|
|
11
|
+
4. What docs need updating?
|
|
12
|
+
5. What are ALL the files the installer touches on deploy?
|
|
13
|
+
|
|
14
|
+
Then: repo change, PR, merge, release, `ldm install`. That's the only path.
|
|
15
|
+
|
|
3
16
|
## Three steps. Never combine. Never skip.
|
|
4
17
|
|
|
5
18
|
| Step | What happens | What it means |
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# Install LDM OS
|
|
2
|
+
|
|
3
|
+
Open your AI and paste this:
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
Read https://wip.computer/install/wip-ldm-os.txt
|
|
8
|
+
|
|
9
|
+
Check if LDM OS is already installed. If it is, run ldm install --dry-run and show me what I have and what's new.
|
|
10
|
+
|
|
11
|
+
If not, walk me through setup and explain:
|
|
12
|
+
|
|
13
|
+
1. What is LDM OS?
|
|
14
|
+
2. What does it install on my system?
|
|
15
|
+
3. What changes for us? (this AI)
|
|
16
|
+
4. What changes across all my AIs?
|
|
17
|
+
|
|
18
|
+
Then ask:
|
|
19
|
+
- Do you have questions?
|
|
20
|
+
- Want to see a dry run?
|
|
21
|
+
|
|
22
|
+
If I say yes: Install the CLI first (npm install -g @wipcomputer/wip-ldm-os) and then run ldm install --dry-run.
|
|
23
|
+
|
|
24
|
+
Show me exactly what will change. Don't install anything until I say "install".
|
|
25
|
+
|
|
26
|
+
---
|
|
27
|
+
|
|
28
|
+
That's it. Your AI reads the spec, explains what it does, and walks you through a dry run before touching anything.
|