daimon 0.4.3 → 0.5.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.
Files changed (50) hide show
  1. package/CHANGELOG.md +177 -0
  2. package/dist/cli.js +67 -58
  3. package/dist/dashboard/3rdpartylicenses.txt +461 -0
  4. package/dist/dashboard/browser/chunk-3TYCIBMV.js +1 -0
  5. package/dist/dashboard/browser/chunk-5UAN6ETO.js +1 -0
  6. package/dist/dashboard/browser/chunk-AEERNAF7.js +1 -0
  7. package/dist/dashboard/browser/chunk-AX3RJNG4.js +1 -0
  8. package/dist/dashboard/browser/chunk-BADBUP5C.js +3 -0
  9. package/dist/dashboard/browser/chunk-BF6RQFHS.js +2 -0
  10. package/dist/dashboard/browser/chunk-C65CUT7O.js +4 -0
  11. package/dist/dashboard/browser/chunk-CNIZYK4A.js +1 -0
  12. package/dist/dashboard/browser/chunk-D4BFRQ63.js +4 -0
  13. package/dist/dashboard/browser/chunk-E235WGFQ.js +3 -0
  14. package/dist/dashboard/browser/chunk-F2EDJ6FT.js +4 -0
  15. package/dist/dashboard/browser/chunk-HFAARBWL.js +1 -0
  16. package/dist/dashboard/browser/chunk-HFJ25UTJ.js +4 -0
  17. package/dist/dashboard/browser/chunk-JX3IOOXU.js +4 -0
  18. package/dist/dashboard/browser/chunk-LQNYSOSZ.js +1 -0
  19. package/dist/dashboard/browser/chunk-MBVVV35N.js +1 -0
  20. package/dist/dashboard/browser/chunk-NC2VPB4Y.js +2 -0
  21. package/dist/dashboard/browser/chunk-NXNVIINH.js +1 -0
  22. package/dist/dashboard/browser/chunk-Q7R63OUT.js +3 -0
  23. package/dist/dashboard/browser/chunk-QLKOKZDG.js +9 -0
  24. package/dist/dashboard/browser/chunk-QQSPJIPQ.js +1 -0
  25. package/dist/dashboard/browser/chunk-SCAIGUJL.js +6 -0
  26. package/dist/dashboard/browser/chunk-SLQ2WBUA.js +1 -0
  27. package/dist/dashboard/browser/chunk-TSB6OOH2.js +6 -0
  28. package/dist/dashboard/browser/chunk-WAN7TQQW.js +1 -0
  29. package/dist/dashboard/browser/chunk-WWUKM5OG.js +1 -0
  30. package/dist/dashboard/browser/chunk-ZVU34B5S.js +1 -0
  31. package/dist/dashboard/browser/chunk-ZYE3XQS4.js +2 -0
  32. package/dist/dashboard/browser/index.html +15 -0
  33. package/dist/dashboard/browser/main-Z6L5VPBT.js +4 -0
  34. package/dist/dashboard/browser/styles-SIPYJLMG.css +1 -0
  35. package/dist/dashboard/prerendered-routes.json +3 -0
  36. package/dist/main.js +49 -44
  37. package/dist/mcp.js +2 -2
  38. package/package.json +5 -4
  39. package/src/templates/claude/skill.md.tmpl +23 -31
  40. package/src/dashboard.html +0 -451
  41. package/src/templates/claude/commands/doctor.md.tmpl +0 -10
  42. package/src/templates/claude/commands/errors.md.tmpl +0 -10
  43. package/src/templates/claude/commands/logs.md.tmpl +0 -10
  44. package/src/templates/claude/commands/restart.md.tmpl +0 -10
  45. package/src/templates/claude/commands/start.md.tmpl +0 -12
  46. package/src/templates/claude/commands/status.md.tmpl +0 -10
  47. package/src/templates/claude/commands/stop.md.tmpl +0 -10
  48. package/src/templates/claude/commands/up.md.tmpl +0 -10
  49. package/src/templates/claude/commands/wait.md.tmpl +0 -10
  50. package/src/templates/claude/commands/why.md.tmpl +0 -10
@@ -1,10 +0,0 @@
1
- ---
2
- name: daimon-doctor
3
- description: Sanity-check the daimon config and environment. Exits 1 if anything is wrong.
4
- daimon-version: {{daimon_version}}
5
- generated-at: {{generated_at}}
6
- ---
7
-
8
- Run: `daimon doctor`
9
-
10
- Does not require the daemon. Returns `{ checks: [{name, ok, detail?}], ok: bool }`. On `ok: false`, report each failed check.
@@ -1,10 +0,0 @@
1
- ---
2
- name: daimon-errors
3
- description: Get deduplicated errors for an app. Prefer --structured for parsed TS errors (file:line:col, code).
4
- daimon-version: {{daimon_version}}
5
- generated-at: {{generated_at}}
6
- ---
7
-
8
- Run: `daimon errors $1 --structured`
9
-
10
- Add `--since 5m` to scope to a recent window. For diff-mode (only errors newer than your last query), use `--since-last --client <your-id>`.
@@ -1,10 +0,0 @@
1
- ---
2
- name: daimon-logs
3
- description: Tail recent log lines for an app. Default tail is 50.
4
- daimon-version: {{daimon_version}}
5
- generated-at: {{generated_at}}
6
- ---
7
-
8
- Run: `daimon logs $1 --tail ${2:-50}`
9
-
10
- Returns `{ lines: string[] }`. ANSI-stripped, in chronological order.
@@ -1,10 +0,0 @@
1
- ---
2
- name: daimon-restart
3
- description: Restart an daimon-managed dev server. Then block until healthy.
4
- daimon-version: {{daimon_version}}
5
- generated-at: {{generated_at}}
6
- ---
7
-
8
- Run: `daimon restart $1`
9
-
10
- Then: `daimon wait $1 --until healthy --timeout 60s`. On timeout, call `daimon errors $1 --structured` and `daimon why $1`.
@@ -1,12 +0,0 @@
1
- ---
2
- name: daimon-start
3
- description: Start an daimon-managed dev server. Prefer "daimon up <profile>" when starting multiple apps with dependencies.
4
- daimon-version: {{daimon_version}}
5
- generated-at: {{generated_at}}
6
- ---
7
-
8
- Run: `daimon start $1`
9
-
10
- Then block until healthy: `daimon wait $1 --until healthy --timeout 60s`.
11
-
12
- If `wait` exits with code 2 (timeout), run `daimon errors $1 --structured` and `daimon why $1` and report both.
@@ -1,10 +0,0 @@
1
- ---
2
- name: daimon-status
3
- description: Get the current status of an daimon-managed dev server (status, port, health, uptime, error count).
4
- daimon-version: {{daimon_version}}
5
- generated-at: {{generated_at}}
6
- ---
7
-
8
- Run: `daimon status $1`
9
-
10
- Return the JSON object as-is. If exit code 1, the app is unknown or the daemon is unreachable.
@@ -1,10 +0,0 @@
1
- ---
2
- name: daimon-stop
3
- description: Stop an daimon-managed dev server. Idempotent.
4
- daimon-version: {{daimon_version}}
5
- generated-at: {{generated_at}}
6
- ---
7
-
8
- Run: `daimon stop $1`
9
-
10
- Returns `{ ok: true, status: "stopped" }`. Always safe to call.
@@ -1,10 +0,0 @@
1
- ---
2
- name: daimon-up
3
- description: Bring up a profile or autoStart set. Cascades dependencies and blocks until each app is healthy (120s budget).
4
- daimon-version: {{daimon_version}}
5
- generated-at: {{generated_at}}
6
- ---
7
-
8
- Run: `daimon up $1` (or just `daimon up` to use autoStart).
9
-
10
- Returns an array of `{ name, status, health }`. Any entry with `status != "serving"` or `health != "healthy"` indicates a failure — follow up with `daimon errors <name>` and `daimon why <name>`.
@@ -1,10 +0,0 @@
1
- ---
2
- name: daimon-wait
3
- description: Block until an app reaches a target state. Prefer over polling. Default state is "serving"; pass --until healthy for full readiness.
4
- daimon-version: {{daimon_version}}
5
- generated-at: {{generated_at}}
6
- ---
7
-
8
- Run: `daimon wait $1 --until ${2:-healthy} --timeout ${3:-60s}`
9
-
10
- Exit 0 = condition met, exit 2 = timed out (stdout still has the JSON), exit 1 = unknown app or other error.
@@ -1,10 +0,0 @@
1
- ---
2
- name: daimon-why
3
- description: Diagnose why an app is in error — returns the last status transition plus 5 preceding events.
4
- daimon-version: {{daimon_version}}
5
- generated-at: {{generated_at}}
6
- ---
7
-
8
- Run: `daimon why $1`
9
-
10
- Returns one JSON object with the trigger event and surrounding context. Combine with `daimon errors $1 --structured` for a complete picture.