@litfamily/litmuse 0.1.7 → 0.1.8
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/CHANGELOG.md +4 -0
- package/lib/install.mjs +25 -3
- package/package.json +1 -1
- package/plugin/.muse-plugin/plugin.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.1.8 — 2026-11-04
|
|
4
|
+
|
|
5
|
+
- `install --approve` no longer prints a stale waiting list computed before approving. It now says it is approving the capabilities, then reports what was approved and lists only what is really still waiting (or says none are). Without `--approve` the waiting list stays as it was.
|
|
6
|
+
|
|
3
7
|
## 0.1.7 — 2026-11-03
|
|
4
8
|
|
|
5
9
|
- Muse keeps the cached conversation across turns more often. The once-a-day suggestion to run `lit adhd` used to sit in the session-start text, which Muse rebuilds on every resume and places before the whole conversation; the line appeared on one resume and vanished on the next, so the cached history behind it was thrown away twice. The suggestion now rides on the first plain prompt instead, once per day as before and never while a route is live, and the session-start text stays the same for the whole session.
|
package/lib/install.mjs
CHANGED
|
@@ -129,14 +129,21 @@ export async function install({ env = process.env, flags = {}, interactive = fal
|
|
|
129
129
|
let states = approvalStates(muse(env, ['plugins', 'inspect', 'litmuse', '--json']).json);
|
|
130
130
|
const pending = states.filter((s) => s.status !== 'trusted_enabled');
|
|
131
131
|
if (pending.length) {
|
|
132
|
-
print('');
|
|
133
|
-
print(`Muse runs plugin hooks and agents only after you approve them (an update re-arms the agent approvals, and the hook approvals whenever hook code changed). ${pending.length} are waiting:`);
|
|
134
|
-
for (const s of pending) print(` ${s.id} (${s.what})`);
|
|
135
132
|
let approve = Boolean(flags.approve);
|
|
133
|
+
const decided = approve;
|
|
134
|
+
if (!decided) {
|
|
135
|
+
print('');
|
|
136
|
+
print(`Muse runs plugin hooks and agents only after you approve them (an update re-arms the agent approvals, and the hook approvals whenever hook code changed). ${pending.length} are waiting:`);
|
|
137
|
+
for (const s of pending) print(` ${s.id} (${s.what})`);
|
|
138
|
+
}
|
|
136
139
|
if (!approve && interactive && ask) {
|
|
137
140
|
approve = await ask(`Approve these ${pending.length} LitMuse capabilities now? [y/N] `);
|
|
138
141
|
}
|
|
139
142
|
if (approve) {
|
|
143
|
+
if (decided) {
|
|
144
|
+
print('');
|
|
145
|
+
print(`Approving ${pending.length} LitMuse capabilities...`);
|
|
146
|
+
}
|
|
140
147
|
const failed = [];
|
|
141
148
|
for (const s of pending) {
|
|
142
149
|
const r = muse(env, ['plugins', 'approve', s.id, '--json']);
|
|
@@ -145,6 +152,21 @@ export async function install({ env = process.env, flags = {}, interactive = fal
|
|
|
145
152
|
written.push(`${p.museSettings} (runtime_capabilities for litmuse)`);
|
|
146
153
|
for (const f of failed) print(` FAIL approve ${f}`);
|
|
147
154
|
states = approvalStates(muse(env, ['plugins', 'inspect', 'litmuse', '--json']).json);
|
|
155
|
+
const byId = new Map(states.map((s) => [s.id, s]));
|
|
156
|
+
const approved = pending.filter((s) => byId.get(s.id)?.status === 'trusted_enabled');
|
|
157
|
+
const still = states.filter((s) => s.status !== 'trusted_enabled');
|
|
158
|
+
if (approved.length) {
|
|
159
|
+
print('');
|
|
160
|
+
print(`Approved ${approved.length} LitMuse capabilities:`);
|
|
161
|
+
for (const s of approved) print(` ${s.id} (${s.what})`);
|
|
162
|
+
}
|
|
163
|
+
if (still.length) {
|
|
164
|
+
print('');
|
|
165
|
+
print(`${still.length} are still waiting:`);
|
|
166
|
+
for (const s of still) print(` ${s.id} (${s.what})`);
|
|
167
|
+
} else {
|
|
168
|
+
print('No capabilities are still waiting for approval.');
|
|
169
|
+
}
|
|
148
170
|
} else {
|
|
149
171
|
print('');
|
|
150
172
|
print('Approval needed. Run these when you are ready (or rerun install with --approve):');
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"schemaVersion": 1,
|
|
3
3
|
"name": "litmuse",
|
|
4
4
|
"displayName": "LitMuse",
|
|
5
|
-
"version": "0.1.
|
|
5
|
+
"version": "0.1.8",
|
|
6
6
|
"description": "LitFamily workflows for Muse Code: bare lit activation, planning, evidence-bound execution, review, research, handoff and Korean prose care.",
|
|
7
7
|
"compat": {
|
|
8
8
|
"source": "native",
|