@wipcomputer/wip-ldm-os 0.2.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/README.md +128 -0
- package/SKILL.md +162 -0
- package/bin/ldm.mjs +671 -0
- package/bin/scaffold.sh +97 -0
- package/catalog.json +95 -0
- package/lib/deploy.mjs +697 -0
- package/lib/detect.mjs +130 -0
- package/package.json +35 -0
- package/src/boot/README.md +61 -0
- package/src/boot/boot-config.json +65 -0
- package/src/boot/boot-hook.mjs +242 -0
- package/src/boot/install-cli.mjs +27 -0
- package/src/boot/installer.mjs +279 -0
- package/templates/cc/CONTEXT.md +18 -0
- package/templates/cc/REFERENCE.md +22 -0
- package/templates/cc/config.json +14 -0
- package/templates/config.json +5 -0
package/README.md
ADDED
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
###### WIP Computer
|
|
2
|
+
|
|
3
|
+
# LDM OS
|
|
4
|
+
|
|
5
|
+
## All your AIs. One system.
|
|
6
|
+
|
|
7
|
+
You use Claude Code, GPT, OpenClaw, others. They don't share memory. They don't know each other. They don't know how to work together.
|
|
8
|
+
|
|
9
|
+
LDM OS is a shared infrastructure that enables:
|
|
10
|
+
|
|
11
|
+
- **Identity** ... each AI gets its own behavior, personality, and skills
|
|
12
|
+
- **Memory** ... shared memory across all your AIs, secure, sovereign, yours to take anywhere
|
|
13
|
+
- **Ownership** ... every interaction, every memory, across every AI you use is yours, portable, encrypted, never locked in
|
|
14
|
+
- **Collaboration** ... your AIs communicate, share tools, and work together
|
|
15
|
+
- **Compatibility** ... any skill, plugin, or tool works with all your AIs. Install once, use everywhere.
|
|
16
|
+
- **Payments** ... your AI hits a paywall, you approve it with Face ID, Apple Pay for your AI
|
|
17
|
+
|
|
18
|
+
## Teach Your AI to Install LDM OS
|
|
19
|
+
|
|
20
|
+
Open your AI and paste this:
|
|
21
|
+
|
|
22
|
+
```
|
|
23
|
+
Read the SKILL.md at github.com/wipcomputer/wip-ldm-os/blob/main/SKILL.md.
|
|
24
|
+
|
|
25
|
+
Then explain to me:
|
|
26
|
+
1. What is LDM OS?
|
|
27
|
+
2. What does it do?
|
|
28
|
+
3. What would it change about how my AI works?
|
|
29
|
+
|
|
30
|
+
If I say yes, run: ldm install --dry-run
|
|
31
|
+
|
|
32
|
+
Show me exactly what will change. When I'm ready, install for real.
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
That's it. Your AI reads the spec, explains what LDM OS is, and walks you through a dry run before touching anything.
|
|
36
|
+
|
|
37
|
+
## Included Skills
|
|
38
|
+
|
|
39
|
+
Ships with LDM OS.
|
|
40
|
+
|
|
41
|
+
**Universal Installer**
|
|
42
|
+
- Point any skill, application, or plugin at any AI running LDM OS, and it will convert those skills to work with all of your AIs.
|
|
43
|
+
- Build applications that work with any AI, even ones that don't have LDM OS.
|
|
44
|
+
- [Read more about Universal Installer](docs/universal-installer.md)
|
|
45
|
+
|
|
46
|
+
**Shared Workspace**
|
|
47
|
+
- One directory for all your AIs. Memories, tools, identity files, boot config. Every AI you use reads from and writes to the same place.
|
|
48
|
+
- Lives in one folder on your computer. Easy to back up, easy to move, easy to own.
|
|
49
|
+
- [Read more about Shared Workspace](docs/shared-workspace.md)
|
|
50
|
+
|
|
51
|
+
**System Pulse**
|
|
52
|
+
- Is everything working? What's installed? What needs fixing? A complete picture of your AI setup in seconds.
|
|
53
|
+
- [Read more about System Pulse](docs/system-pulse.md)
|
|
54
|
+
|
|
55
|
+
**Recall**
|
|
56
|
+
- Every session, your AI starts with full context. Identity, memory, tools, what happened yesterday. No blank slates. No repeating yourself.
|
|
57
|
+
- [Read more about Recall](docs/recall.md)
|
|
58
|
+
|
|
59
|
+
**LUME**
|
|
60
|
+
- Language for Unified Memory and Emergence. A memory language for AI agents to document their own learning and maintain continuity across sessions. Not a programming language. A way for your AI to write memories to itself, retrieve past learnings, track unfinished thoughts, and pass context between sessions.
|
|
61
|
+
- [Read more about LUME](https://wipcomputer.github.io/wip-homepage/)
|
|
62
|
+
|
|
63
|
+
## Optional Skills
|
|
64
|
+
|
|
65
|
+
The OS connects your AIs. Add-ons are what they actually use. Each one is a full product that plugs into LDM OS and works with every AI you run.
|
|
66
|
+
|
|
67
|
+
**Memory Crystal**
|
|
68
|
+
- All your AI tools. One shared memory. Private, searchable, sovereign. Memory Crystal lets all your AIs remember you ... together. You use multiple AIs. They don't talk to each other. They can't search what the others know. Memory Crystal fixes this. All your AIs share one memory. Searchable and private. Anywhere in the world.
|
|
69
|
+
- *Stable*
|
|
70
|
+
- [Read more about Memory Crystal](https://github.com/wipcomputer/memory-crystal)
|
|
71
|
+
|
|
72
|
+
**AI DevOps Toolbox**
|
|
73
|
+
- Your AI writes code. But does it know how to release it? Check license compliance? Protect your identity files? Sync private repos to public? Follow a real development process? AI DevOps Toolbox is the complete toolkit. Built by a team of humans and AIs shipping real software together.
|
|
74
|
+
- *Stable*
|
|
75
|
+
- [Read more about AI DevOps Toolbox](https://github.com/wipcomputer/wip-ai-devops-toolbox)
|
|
76
|
+
|
|
77
|
+
**Agent Pay**
|
|
78
|
+
- Micropayments for AI agents. Your AI hits a paywall, you approve it with Face ID. Apple Pay for your AI.
|
|
79
|
+
- *Coming Soon*
|
|
80
|
+
|
|
81
|
+
**Dream Weaver Protocol**
|
|
82
|
+
- Memory consolidation protocol for AI agents with bounded context windows. A practical guide for remembering memories.
|
|
83
|
+
- [Read more about Dream Weaver Protocol](https://github.com/wipcomputer/dream-weaver-protocol)
|
|
84
|
+
|
|
85
|
+
**Bridge**
|
|
86
|
+
- Cross-platform agent bridge. Enables Claude Code CLI to talk to OpenClaw CLI without a human in the middle.
|
|
87
|
+
- [Read more about Bridge](https://github.com/wipcomputer/wip-bridge)
|
|
88
|
+
|
|
89
|
+
[See all skills](docs/optional-skills.md)
|
|
90
|
+
|
|
91
|
+
## More Info
|
|
92
|
+
|
|
93
|
+
- [Architecture, principles, and technical details](TECHNICAL.md)
|
|
94
|
+
|
|
95
|
+
## License
|
|
96
|
+
|
|
97
|
+
Dual-license model designed to keep tools free while preventing commercial resellers.
|
|
98
|
+
|
|
99
|
+
```
|
|
100
|
+
MIT All CLI tools, MCP servers, skills, and hooks (use anywhere, no restrictions).
|
|
101
|
+
AGPLv3 Commercial redistribution, marketplace listings, or bundling into paid services.
|
|
102
|
+
```
|
|
103
|
+
|
|
104
|
+
AGPLv3 for personal use is free. Commercial licenses available.
|
|
105
|
+
|
|
106
|
+
### Can I use this?
|
|
107
|
+
|
|
108
|
+
**Yes, freely:**
|
|
109
|
+
- Use any tool locally or on your own servers
|
|
110
|
+
- Modify the code for your own projects
|
|
111
|
+
- Include in your internal CI/CD pipelines
|
|
112
|
+
- Fork it and send us feedback via PRs (we'd love that)
|
|
113
|
+
|
|
114
|
+
**Need a commercial license:**
|
|
115
|
+
- Bundle into a product you sell
|
|
116
|
+
- List on a marketplace (VS Code, JetBrains, etc.)
|
|
117
|
+
- Offer as part of a hosted/SaaS platform
|
|
118
|
+
- Redistribute commercially
|
|
119
|
+
|
|
120
|
+
Using these tools to build your own software is fine. Reselling the tools themselves is what requires a commercial license.
|
|
121
|
+
|
|
122
|
+
By submitting a PR, you agree to the [Contributor License Agreement](CLA.md).
|
|
123
|
+
|
|
124
|
+
Built by Parker Todd Brooks, Lēsa (OpenClaw, Claude Opus 4.6), Claude Code (Claude Opus 4.6).
|
|
125
|
+
|
|
126
|
+
---
|
|
127
|
+
|
|
128
|
+
*WIP.computer. Learning Dreaming Machines.*
|
package/SKILL.md
ADDED
|
@@ -0,0 +1,162 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: wip-ldm-os
|
|
3
|
+
description: LDM OS ... shared infrastructure for AI agents. Identity, memory, ownership, collaboration, compatibility, payments. One system across all your AIs.
|
|
4
|
+
license: MIT
|
|
5
|
+
interface: [cli, skill]
|
|
6
|
+
metadata:
|
|
7
|
+
display-name: "LDM OS"
|
|
8
|
+
version: "0.2.1"
|
|
9
|
+
homepage: "https://github.com/wipcomputer/wip-ldm-os"
|
|
10
|
+
author: "Parker Todd Brooks"
|
|
11
|
+
category: infrastructure
|
|
12
|
+
capabilities:
|
|
13
|
+
- extension-install
|
|
14
|
+
- interface-detection
|
|
15
|
+
- agent-identity
|
|
16
|
+
- extension-registry
|
|
17
|
+
- health-check
|
|
18
|
+
requires:
|
|
19
|
+
bins: [git, npm, node]
|
|
20
|
+
openclaw:
|
|
21
|
+
requires:
|
|
22
|
+
bins: [git, npm, node]
|
|
23
|
+
install:
|
|
24
|
+
- id: node
|
|
25
|
+
kind: node
|
|
26
|
+
package: "@wipcomputer/wip-ldm-os"
|
|
27
|
+
bins: [ldm]
|
|
28
|
+
label: "Install LDM OS via npm"
|
|
29
|
+
emoji: "🧠"
|
|
30
|
+
compatibility: Requires git, npm, node. Node.js 18+.
|
|
31
|
+
---
|
|
32
|
+
|
|
33
|
+
# LDM OS
|
|
34
|
+
|
|
35
|
+
You use Claude Code, GPT, OpenClaw, others. They don't share memory. They don't know each other. They don't know how to work together.
|
|
36
|
+
|
|
37
|
+
LDM OS is the shared infrastructure layer. Install it once and every AI you use gets:
|
|
38
|
+
|
|
39
|
+
- **Identity** ... each AI gets its own behavior, personality, and skills
|
|
40
|
+
- **Memory** ... shared memory across all your AIs, secure, sovereign, yours to take anywhere
|
|
41
|
+
- **Ownership** ... every interaction, every memory, across every AI you use is yours, portable, encrypted, never locked in
|
|
42
|
+
- **Collaboration** ... your AIs communicate, share tools, and work together
|
|
43
|
+
- **Compatibility** ... any skill, plugin, or tool works with all your AIs. Install once, use everywhere.
|
|
44
|
+
- **Payments** ... your AI hits a paywall, you approve it with Face ID, Apple Pay for your AI
|
|
45
|
+
|
|
46
|
+
## Platform Compatibility
|
|
47
|
+
|
|
48
|
+
| Interface | Requires | Examples |
|
|
49
|
+
|-----------|----------|----------|
|
|
50
|
+
| CLI | Shell access (run bash/node commands) | `ldm init`, `ldm install`, `ldm doctor` |
|
|
51
|
+
| Skill | SKILL.md file (works in Claude Code and OpenClaw) | You're reading it right now |
|
|
52
|
+
|
|
53
|
+
**Built and tested on:**
|
|
54
|
+
- **Claude Code CLI** ... full support (shell, CLI)
|
|
55
|
+
- **OpenClaw** ... full support (shell, CLI)
|
|
56
|
+
|
|
57
|
+
## Operating Rules
|
|
58
|
+
|
|
59
|
+
**Always dry-run first.** Before installing or making changes, run with `--dry-run` so the user can see exactly what will happen. Only proceed when the user explicitly says to.
|
|
60
|
+
|
|
61
|
+
**Never touch sacred data.** The installer never overwrites: crystal.db, agent data, secrets, state files. Code gets updated. Data stays.
|
|
62
|
+
|
|
63
|
+
## Install
|
|
64
|
+
|
|
65
|
+
### Step 1: Install LDM OS
|
|
66
|
+
|
|
67
|
+
```bash
|
|
68
|
+
npm install -g @wipcomputer/wip-ldm-os
|
|
69
|
+
ldm init --dry-run
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
Show the user the dry run output. Explain what each directory is for:
|
|
73
|
+
- `~/.ldm/extensions/` ... where tools and plugins live
|
|
74
|
+
- `~/.ldm/agents/` ... agent identity files (SOUL.md, journals, daily logs)
|
|
75
|
+
- `~/.ldm/memory/` ... shared memory database
|
|
76
|
+
- `~/.ldm/state/` ... watermarks, role config
|
|
77
|
+
- `~/.ldm/secrets/` ... encryption keys
|
|
78
|
+
|
|
79
|
+
When the user approves:
|
|
80
|
+
```bash
|
|
81
|
+
ldm init
|
|
82
|
+
```
|
|
83
|
+
|
|
84
|
+
### Step 2: Install Skills
|
|
85
|
+
|
|
86
|
+
LDM OS ships with a skill catalog. Show the user what's available:
|
|
87
|
+
|
|
88
|
+
| Skill | What it is | Status |
|
|
89
|
+
|-------|-----------|--------|
|
|
90
|
+
| **Memory Crystal** (recommended) | Persistent memory. Search, capture, consolidation. | Stable |
|
|
91
|
+
| **AI DevOps Toolbox** | Release, deploy, license, repo management. | Stable |
|
|
92
|
+
| **Agent Pay** | Micropayments for AI agents. Apple Pay. | Coming Soon |
|
|
93
|
+
|
|
94
|
+
To install a skill:
|
|
95
|
+
```bash
|
|
96
|
+
ldm install wipcomputer/memory-crystal --dry-run
|
|
97
|
+
```
|
|
98
|
+
|
|
99
|
+
Show the dry run. When approved:
|
|
100
|
+
```bash
|
|
101
|
+
ldm install wipcomputer/memory-crystal
|
|
102
|
+
```
|
|
103
|
+
|
|
104
|
+
The installer detects what a repo supports (CLI, MCP Server, OpenClaw Plugin, Skill, CC Hook, Module) and deploys each interface to the right location automatically.
|
|
105
|
+
|
|
106
|
+
### Step 3: Verify
|
|
107
|
+
|
|
108
|
+
```bash
|
|
109
|
+
ldm doctor
|
|
110
|
+
```
|
|
111
|
+
|
|
112
|
+
This checks: LDM root exists, version.json valid, registry intact, all extensions deployed, hooks configured, MCP servers registered.
|
|
113
|
+
|
|
114
|
+
## Commands
|
|
115
|
+
|
|
116
|
+
| Command | What it does |
|
|
117
|
+
|---------|-------------|
|
|
118
|
+
| `ldm init` | Scaffold `~/.ldm/` and write version.json |
|
|
119
|
+
| `ldm install <org/repo>` | Clone, detect interfaces, deploy, register |
|
|
120
|
+
| `ldm install /path/to/repo` | Install from local path |
|
|
121
|
+
| `ldm install` | Update all registered extensions |
|
|
122
|
+
| `ldm doctor` | Check health of all extensions |
|
|
123
|
+
| `ldm status` | Show version and extension list |
|
|
124
|
+
| `ldm --version` | Show version |
|
|
125
|
+
|
|
126
|
+
All commands support `--dry-run` (preview changes) and `--json` (machine-readable output).
|
|
127
|
+
|
|
128
|
+
## Interface Detection
|
|
129
|
+
|
|
130
|
+
When you run `ldm install`, it automatically detects what a repo supports:
|
|
131
|
+
|
|
132
|
+
| Interface | How it's detected | Where it deploys |
|
|
133
|
+
|-----------|------------------|-----------------|
|
|
134
|
+
| CLI | `package.json` has `bin` entries | `npm install -g` |
|
|
135
|
+
| MCP Server | Has `mcp-server.mjs` or `mcp-server.js` | `claude mcp add --scope user` |
|
|
136
|
+
| OpenClaw Plugin | Has `openclaw.plugin.json` | `~/.ldm/extensions/` + `~/.openclaw/extensions/` |
|
|
137
|
+
| Skill | Has `SKILL.md` or `skills/` directory | `~/.openclaw/skills/` |
|
|
138
|
+
| CC Hook | Has `guard.mjs` or `claudeCode.hook` in package.json | `~/.claude/settings.json` |
|
|
139
|
+
| Module | Has `main` or `exports` in package.json | Importable via `node_modules` |
|
|
140
|
+
|
|
141
|
+
No manual configuration needed. Point it at a repo and it figures out the rest.
|
|
142
|
+
|
|
143
|
+
## Update
|
|
144
|
+
|
|
145
|
+
If LDM OS is already installed:
|
|
146
|
+
|
|
147
|
+
```bash
|
|
148
|
+
ldm status # show current version and extensions
|
|
149
|
+
ldm install # update all registered extensions
|
|
150
|
+
ldm doctor # verify everything works
|
|
151
|
+
```
|
|
152
|
+
|
|
153
|
+
Updates deploy new code without touching data. crystal.db, agent files, secrets, and state are never overwritten.
|
|
154
|
+
|
|
155
|
+
## Part of LDM OS
|
|
156
|
+
|
|
157
|
+
LDM OS is the runtime. Skills plug into it:
|
|
158
|
+
|
|
159
|
+
- **Memory Crystal** ... `wipcomputer/memory-crystal`
|
|
160
|
+
- **AI DevOps Toolbox** ... `wipcomputer/wip-ai-devops-toolbox`
|
|
161
|
+
|
|
162
|
+
Run `ldm install` anytime to add more skills.
|