mixdog 0.7.11 → 0.7.13

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.
Files changed (67) hide show
  1. package/.claude-plugin/marketplace.json +5 -2
  2. package/.claude-plugin/plugin.json +1 -1
  3. package/CHANGELOG.md +28 -74
  4. package/README.md +193 -249
  5. package/bin/statusline-launcher.mjs +5 -1
  6. package/bin/statusline-lib.mjs +14 -6
  7. package/bin/statusline.mjs +14 -6
  8. package/bun.lock +128 -3
  9. package/defaults/hidden-roles.json +3 -0
  10. package/defaults/user-workflow.json +1 -2
  11. package/defaults/user-workflow.md +5 -1
  12. package/hooks/lib/settings-loader.cjs +4 -3
  13. package/hooks/pre-tool-subagent.cjs +7 -2
  14. package/hooks/session-start.cjs +52 -24
  15. package/lib/mixdog-debug.cjs +163 -0
  16. package/native/prebuilt/linux-aarch64/mixdog-shim +0 -0
  17. package/native/prebuilt/linux-x86_64/mixdog-shim +0 -0
  18. package/native/prebuilt/macos-aarch64/mixdog-shim +0 -0
  19. package/native/prebuilt/macos-x86_64/mixdog-shim +0 -0
  20. package/native/prebuilt/windows-x86_64/mixdog-shim.exe +0 -0
  21. package/package.json +9 -2
  22. package/scripts/builtin-utils-smoke.mjs +14 -8
  23. package/scripts/bump.mjs +80 -0
  24. package/scripts/doctor.mjs +8 -3
  25. package/scripts/ensure-deps.mjs +2 -2
  26. package/scripts/mutation-io-smoke.mjs +17 -1
  27. package/scripts/permission-eval-smoke.mjs +18 -1
  28. package/scripts/run-mcp.mjs +65 -9
  29. package/scripts/statusline-launcher-smoke.mjs +2 -2
  30. package/scripts/webhook-selfheal-smoke.mjs +1 -3
  31. package/server-main.mjs +57 -3
  32. package/setup/install.mjs +574 -574
  33. package/setup/launch-core.mjs +0 -1
  34. package/setup/setup-server.mjs +90 -35
  35. package/setup/setup.html +44 -11
  36. package/skills/setup/SKILL.md +12 -2
  37. package/src/agent/index.mjs +1 -1
  38. package/src/agent/orchestrator/config.mjs +58 -6
  39. package/src/agent/orchestrator/providers/model-catalog.mjs +1 -1
  40. package/src/agent/orchestrator/providers/openai-oauth.mjs +9 -2
  41. package/src/agent/orchestrator/providers/openai-ws.mjs +23 -0
  42. package/src/agent/orchestrator/session/loop.mjs +3 -3
  43. package/src/agent/orchestrator/smart-bridge/bridge-llm.mjs +6 -2
  44. package/src/agent/orchestrator/tools/bash-session.mjs +1 -0
  45. package/src/agent/orchestrator/tools/builtin/builtin-tools.mjs +1 -1
  46. package/src/agent/orchestrator/tools/builtin/glob-walk.mjs +29 -6
  47. package/src/agent/orchestrator/tools/builtin/list-tool.mjs +8 -4
  48. package/src/agent/orchestrator/tools/builtin/native-edit-runner.mjs +29 -8
  49. package/src/agent/orchestrator/tools/builtin.mjs +5 -2
  50. package/src/agent/orchestrator/tools/cwd-tool.mjs +17 -17
  51. package/src/agent/orchestrator/tools/graph-manifest.json +11 -11
  52. package/src/agent/orchestrator/tools/patch-manifest.json +11 -11
  53. package/src/agent/tool-defs.mjs +1 -1
  54. package/src/channels/index.mjs +39 -9
  55. package/src/channels/lib/event-queue.mjs +24 -1
  56. package/src/channels/lib/hook-pipe-server.mjs +21 -8
  57. package/src/channels/lib/webhook.mjs +159 -20
  58. package/src/memory/index.mjs +5 -1
  59. package/src/memory/lib/core-memory-store.mjs +1 -1
  60. package/src/memory/lib/memory-cycle1.mjs +8 -4
  61. package/src/memory/lib/memory-cycle2.mjs +1 -1
  62. package/src/memory/lib/memory-cycle3.mjs +1 -1
  63. package/src/memory/lib/memory-recall-store.mjs +27 -10
  64. package/src/search/lib/backends/openai-oauth.mjs +6 -2
  65. package/src/search/lib/cache.mjs +55 -7
  66. package/tools.json +2 -2
  67. package/scripts/test-config-rmw-restore.mjs +0 -122
@@ -12,13 +12,16 @@
12
12
  "category": "productivity",
13
13
  "source": {
14
14
  "source": "url",
15
- "url": "https://github.com/trib-plugin/mixdog.git"
15
+ "url": "https://github.com/trib-plugin/mixdog.git",
16
+ "ref": "v0.7.13"
16
17
  },
17
18
  "strict": false,
18
19
  "mcpServers": {
19
20
  "mixdog": {
20
21
  "command": "node",
21
- "args": ["${CLAUDE_PLUGIN_ROOT}/scripts/bootstrap.mjs"],
22
+ "args": [
23
+ "${CLAUDE_PLUGIN_ROOT}/scripts/bootstrap.mjs"
24
+ ],
22
25
  "cwd": "${CLAUDE_PLUGIN_ROOT}",
23
26
  "timeout": 3600000,
24
27
  "env": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mixdog",
3
- "version": "0.7.6",
3
+ "version": "0.7.13",
4
4
  "description": "Claude Code all-in-one agent plugin — autonomous agents, continuous memory, cost-aware sub-agents, and syntax-aware code editing.",
5
5
  "hooks": "./hooks/hooks.json",
6
6
  "mcpServers": {
package/CHANGELOG.md CHANGED
@@ -1,76 +1,30 @@
1
1
  # Changelog
2
2
 
3
- Notable changes are tracked per release, starting at 0.7.1.
4
-
5
- ## 0.7.10 — 2026-06-18
6
-
7
- - Replace the interactive setup wizard with a non-interactive install. `npx
8
- mixdog` now relies on the seeded default config (presets, role→preset
9
- mapping, search) instead of asking. It detects Claude (anthropic-oauth) and
10
- Codex (openai-oauth) logins and offers an inline browser login for each when
11
- missing; Grok Build (grok-oauth) is detect-only its xAI flow shows a paste
12
- code, so the official `grok` CLI owns login and mixdog reads
13
- ~/.grok/auth.json. Per-feature setup (Discord, voice, webhooks, address,
14
- provider API keys) now lives in the `/setup` UI.
15
- - The final GitHub-star step stars the repo directly when a local GitHub
16
- credential is available (`GH_TOKEN`/`GITHUB_TOKEN`, else the authenticated
17
- `gh` CLI), and falls back to opening the repo in the browser otherwise.
18
- - Trim `setup/tui.mjs` to the widgets the installer actually uses (confirm,
19
- spinner, outro), dropping the wizard-only prompts and arrow-key back
20
- navigation.
21
- - Fix browser auto-open on Windows during OAuth login: the old `start "<url>"`
22
- form made cmd treat the URL as a window title, so nothing opened. A shared
23
- opener (`src/shared/open-url.mjs`) now uses `rundll32
24
- url.dll,FileProtocolHandler`, which is shell-free and safe for `&`-laden URLs.
25
- - Fix a first-install seeding race that could leave `user-workflow.json`
26
- (role→preset mapping) unseeded depending on boot order, degrading bridge
27
- roles. All default files are now seeded together by `ensureDataSeeds`.
28
-
29
- ## 0.7.9 2026-06-18
30
-
31
- - Polish the setup wizard UI: clack-style menus, checkboxes, a connected
32
- left rail, intro/outro, and progress/spinners. Internal backup/seed info
33
- logs are kept off-screen during install so the wizard stays clean.
34
- - Add clickable (OSC 8) links next to each credential prompt pointing to
35
- where to get it (Discord developer portal, ngrok dashboard, and each
36
- provider/search API-key page).
37
- - Discord step now asks "Connect Discord now?" (yes/no) before requesting a
38
- token. The address step asks a single plain question and stores only how
39
- you want to be addressed (no separate display name).
40
- - Friendlier, English-only prompts that no longer expose internal config
41
- keys.
42
- - The wizard ends on a Step 9/9 "all set" screen with an optional
43
- one-keystroke GitHub star.
44
-
45
- ## 0.7.8 — 2026-06-18
46
-
47
- - Add `mixdog install --demo`: runs the real setup-wizard UI (menus,
48
- checkboxes, progress) in an isolated temp sandbox that is auto-cleaned, so
49
- you can try the install experience without writing anything to your real
50
- config.
51
- - Honor `CLAUDE_CONFIG_DIR` in the first-install seed helpers
52
- (`disable-claude-builtins`, user-data backups) instead of hardcoding
53
- `~/.claude` — fixes a latent path bug for anyone using `CLAUDE_CONFIG_DIR`
54
- and makes the demo sandbox fully isolated.
55
-
56
- ## 0.7.7 — 2026-06-18
57
-
58
- - Add in-app OAuth sign-in for the Codex (`openai-oauth`) and Claude
59
- (`anthropic-oauth`) providers, mirroring the existing Grok login: the
60
- Setup UI can sign in directly when no CLI credentials are detected.
61
- - `npx mixdog` (no args) now runs the installer directly; `mixdog install`
62
- and `mixdog install --dry-run` (a no-side-effect install preview) are the
63
- install/test entry points. Any other args launch Claude Code.
64
- - Add a Claude Code CLI preflight to setup: if `claude` is missing, offer to
65
- run the official native installer (consent-prompted; never in CI).
66
- - Polished terminal setup wizard: arrow-key menus, checkboxes, progress bars,
67
- and spinners (zero-dependency, grapheme/CJK-aware) replace the plain prompts.
68
- - Bridge workers stay visible in the statusline correctly: completed workers
69
- persist as idle for 1h (was swept at 5 min), and worker scoping survives a
70
- daemon restart (clientHostPid instead of the volatile owner-session id).
71
- - Fix `bridge list includeClosed:true` so closed-session tombstones are
72
- actually returned.
73
-
74
- ## 0.7.1 — 2026-06-12
75
-
76
- Initial versioned release.
3
+ Notable changes are tracked per release.
4
+
5
+ ## 0.8.0 — 2026-06-19
6
+
7
+ - **Fix first-boot MCP initialize loss.** When the MCP child died before
8
+ answering the client's `initialize` (multi-instance boot contention), the
9
+ supervisor errored that request with `-32603` and replayed initialize under an
10
+ internal id whose response was swallowed so the client marked the server
11
+ failed and only a manual `/mcp` reconnect recovered. The client's initialize
12
+ now survives a child death and is re-driven against the fresh child under its
13
+ own id, so startup recovers on its own.
14
+ - Stream every provider path via SSE (compat chat / opencode-go, xAI responses,
15
+ native Anthropic and Gemini): real first-byte latency, an idle watchdog, and a
16
+ total backstop, fixing long-turn timeouts.
17
+ - Ship mode: verbose hook/daemon debug logging is gated behind `MIXDOG_DEBUG`
18
+ (default off); only critical fail-open lines persist, to a bounded log.
19
+ - Performance: batched memory root resolution (was N+1), capped cycle1 fan-out,
20
+ byte+count-bounded search cache, O(1) webhook dedup, and an agent-IPC priority
21
+ lane that serves interactive (user) work ahead of background maintenance.
22
+ - Unified, gated release pipeline: all platform binaries build *before* tagging,
23
+ then `bump.mjs` moves npm, the plugin manifest, and the marketplace ref in
24
+ lockstep so the channels can never drift.
25
+ - Add the `opencode-go` provider preset and model-catalog price auto-fill
26
+ (deepseek / glm / minimax via models.dev) with collision and masking guards.
27
+ - `doctor` and the edit auto-path honor `CLAUDE_CONFIG_DIR`; malformed tool-call
28
+ arguments are retried as a truncated stream instead of hard-failing.
29
+ - Remove the unused NVIDIA agent provider; fix the webhook Domain field not
30
+ saving in the `/setup` UI.