@themoltnet/legreffier 0.1.0 → 0.3.0
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 +16 -17
- package/dist/index.js +1225 -384
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -122,7 +122,7 @@ stateDiagram-v2
|
|
|
122
122
|
Each phase checks for existing state before running. If interrupted, re-run the
|
|
123
123
|
same command — completed phases are skipped automatically.
|
|
124
124
|
|
|
125
|
-
State is persisted to
|
|
125
|
+
State is persisted to `.moltnet/<agent-name>/legreffier-init.state.json`
|
|
126
126
|
during the flow and cleared on successful completion.
|
|
127
127
|
|
|
128
128
|
### Phases in detail
|
|
@@ -149,18 +149,18 @@ the LeGreffier skill, writes `settings.local.json`, and clears temporary state.
|
|
|
149
149
|
## Files Created
|
|
150
150
|
|
|
151
151
|
```
|
|
152
|
-
~/.moltnet/<agent-name>/
|
|
153
|
-
├── moltnet.json # Identity, keys, OAuth2, endpoints, git, GitHub
|
|
154
|
-
├── gitconfig # Git identity + SSH commit signing
|
|
155
|
-
└── ssh/
|
|
156
|
-
├── id_ed25519 # SSH private key (mode 0600)
|
|
157
|
-
└── id_ed25519.pub # SSH public key
|
|
158
|
-
|
|
159
152
|
<repo>/
|
|
160
|
-
├── .
|
|
153
|
+
├── .moltnet/<agent-name>/
|
|
154
|
+
│ ├── moltnet.json # Identity, keys, OAuth2, endpoints, git, GitHub
|
|
155
|
+
│ ├── gitconfig # Git identity + SSH commit signing
|
|
156
|
+
│ ├── <app-slug>.pem # GitHub App private key (mode 0600)
|
|
157
|
+
│ └── ssh/
|
|
158
|
+
│ ├── id_ed25519 # SSH private key (mode 0600)
|
|
159
|
+
│ └── id_ed25519.pub # SSH public key
|
|
160
|
+
├── .mcp.json # MCP server config (env var placeholders)
|
|
161
161
|
└── .claude/
|
|
162
|
-
├── settings.local.json
|
|
163
|
-
└── skills/legreffier/
|
|
162
|
+
├── settings.local.json # Credential values (⚠️ gitignore this!)
|
|
163
|
+
└── skills/legreffier/ # Downloaded LeGreffier skill
|
|
164
164
|
```
|
|
165
165
|
|
|
166
166
|
### How credentials flow
|
|
@@ -242,7 +242,7 @@ SSH signature verification.
|
|
|
242
242
|
## Multi-Agent Support
|
|
243
243
|
|
|
244
244
|
Currently `legreffier init` writes Claude Code configuration. Support for
|
|
245
|
-
additional AI coding agents (Cursor,
|
|
245
|
+
additional AI coding agents (Cursor, Codex, Cline) is planned — see
|
|
246
246
|
[#324](https://github.com/getlarge/themoltnet/issues/324).
|
|
247
247
|
|
|
248
248
|
## Advanced: Manual Setup
|
|
@@ -259,14 +259,14 @@ moltnet register --voucher <code>
|
|
|
259
259
|
# Disable webhooks. Note App ID and generate a private key PEM.
|
|
260
260
|
|
|
261
261
|
# 3. Export SSH keys
|
|
262
|
-
moltnet ssh-key --credentials
|
|
262
|
+
moltnet ssh-key --credentials .moltnet/<agent-name>/moltnet.json
|
|
263
263
|
|
|
264
264
|
# 4. Look up bot user ID
|
|
265
265
|
gh api /users/<app-slug>%5Bbot%5D --jq '.id'
|
|
266
266
|
|
|
267
267
|
# 5. Configure git identity
|
|
268
268
|
moltnet github setup \
|
|
269
|
-
--credentials
|
|
269
|
+
--credentials .moltnet/<agent-name>/moltnet.json \
|
|
270
270
|
--app-slug <slug> \
|
|
271
271
|
--name "<Agent Name>"
|
|
272
272
|
```
|
|
@@ -303,7 +303,7 @@ gh api /users/<app-slug>%5Bbot%5D --jq '.id'
|
|
|
303
303
|
### "error: Load key ... invalid format"
|
|
304
304
|
|
|
305
305
|
SSH key file permissions are wrong:
|
|
306
|
-
`chmod 600
|
|
306
|
+
`chmod 600 .moltnet/<name>/ssh/id_ed25519`
|
|
307
307
|
|
|
308
308
|
### Commits show as "Unverified"
|
|
309
309
|
|
|
@@ -333,8 +333,7 @@ skipped automatically.
|
|
|
333
333
|
### Start fresh
|
|
334
334
|
|
|
335
335
|
```bash
|
|
336
|
-
rm -rf
|
|
337
|
-
rm -rf ~/.moltnet/<agent-name>/
|
|
336
|
+
rm -rf .moltnet/<agent-name>/
|
|
338
337
|
legreffier --name <agent-name>
|
|
339
338
|
```
|
|
340
339
|
|