@mu-agent/mu 0.0.4 → 0.0.6
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 +18 -1
- package/dist/index.js +136 -134
- package/dist/mu.js +309 -279
- package/dist/types/ai/catalog.d.ts +1 -0
- package/dist/types/ai/index.d.ts +1 -1
- package/dist/types/core/compaction.d.ts +1 -0
- package/dist/types/core/index.d.ts +1 -1
- package/dist/types/core/session.d.ts +10 -0
- package/dist/types/profile-coding/checkpoint.d.ts +3 -0
- package/dist/types/profile-coding/context.d.ts +0 -5
- package/dist/types/profile-coding/index.d.ts +1 -1
- package/dist/types/profile-coding/permissions.d.ts +10 -1
- package/dist/types/profile-coding/shell.d.ts +2 -1
- package/dist/types/profile-coding/state.d.ts +2 -2
- package/dist/types/profile-coding/tools/files.d.ts +2 -0
- package/dist/types/sdk/agent.d.ts +3 -0
- package/dist/types/sdk/commands.d.ts +1 -1
- package/dist/types/sdk/file-store.d.ts +1 -0
- package/dist/types/sdk/index.d.ts +1 -1
- package/dist/types/sdk/shell-hooks.d.ts +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -57,6 +57,24 @@ terminal and start a fresh chat without deleting the previous saved session. Use
|
|
|
57
57
|
`/permissions` to choose `default`, `accept-edits`, `plan-readonly`, or full-access
|
|
58
58
|
behavior, including while the agent is running.
|
|
59
59
|
|
|
60
|
+
Run `mu agents` to manage several sessions whose worker processes survive closing the
|
|
61
|
+
viewer. Managed sessions commit the initiating prompt before contacting the provider and
|
|
62
|
+
commit every completed assistant/tool turn before starting the next one. If a supervisor,
|
|
63
|
+
worker, or machine stops during an in-flight provider or tool call, Mu marks that runtime
|
|
64
|
+
failed and resumes from the last committed boundary; it never automatically replays the
|
|
65
|
+
interrupted operation or claims exact mid-turn continuation.
|
|
66
|
+
|
|
67
|
+
Coding workers that share a workspace serialize shadow-checkpoint Git operations with a
|
|
68
|
+
cross-process ownership lock, including stale-owner recovery. Their filesystem itself is
|
|
69
|
+
still shared: simultaneous agents can observe one another's edits, so coordinate tasks
|
|
70
|
+
that modify the same files.
|
|
71
|
+
|
|
72
|
+
Managed workers support built-in and external profiles through `--profile`. Profile
|
|
73
|
+
commands, scoped session storage, runtime lifecycle hooks, and TUI renderers are preserved
|
|
74
|
+
in managed mode. Environment needed only by a custom profile can be forwarded with
|
|
75
|
+
uppercase `MU_PROFILE_*` variables; process identity variables such as `HOME` are never
|
|
76
|
+
accepted through the viewer-to-supervisor handoff.
|
|
77
|
+
|
|
60
78
|
Mu loads coding instructions from `~/.mu/AGENTS.md` and from the active project, stopping
|
|
61
79
|
at its Git root. `AGENTS.override.md` takes precedence over `AGENTS.md`; Claude-compatible
|
|
62
80
|
fallback files, `.mu/rules/`, `.claude/rules/`, conditional `paths` frontmatter, and safe
|
|
@@ -71,7 +89,6 @@ override user values:
|
|
|
71
89
|
{
|
|
72
90
|
"instructions": {
|
|
73
91
|
"enabled": true,
|
|
74
|
-
"maxBytes": 32768,
|
|
75
92
|
"fallbackFilenames": [".mu/AGENTS.md", "CLAUDE.md"],
|
|
76
93
|
"projectRootMarkers": [".git"],
|
|
77
94
|
"imports": true,
|