laminark 0.1.0 → 2.21.7

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 (52) hide show
  1. package/.claude-plugin/marketplace.json +15 -0
  2. package/README.md +71 -36
  3. package/package.json +7 -9
  4. package/plugin/.claude-plugin/plugin.json +1 -1
  5. package/plugin/dist/hooks/handler.d.ts +1 -3
  6. package/plugin/dist/hooks/handler.d.ts.map +1 -1
  7. package/plugin/dist/hooks/handler.js +22 -310
  8. package/plugin/dist/hooks/handler.js.map +1 -1
  9. package/plugin/dist/index.d.ts +1 -3
  10. package/plugin/dist/index.d.ts.map +1 -1
  11. package/plugin/dist/index.js +392 -1895
  12. package/plugin/dist/index.js.map +1 -1
  13. package/plugin/dist/{observations-CorAAc1A.d.mts → observations-Ch0nc47i.d.mts} +1 -23
  14. package/plugin/dist/observations-Ch0nc47i.d.mts.map +1 -0
  15. package/plugin/dist/{tool-registry-e710BvXq.mjs → tool-registry-CZ3mJ4iR.mjs} +13 -932
  16. package/plugin/dist/tool-registry-CZ3mJ4iR.mjs.map +1 -0
  17. package/plugin/hooks/hooks.json +6 -6
  18. package/plugin/scripts/README.md +1 -19
  19. package/plugin/scripts/bump-version.sh +3 -1
  20. package/plugin/scripts/ensure-deps.sh +2 -5
  21. package/plugin/scripts/install.sh +39 -115
  22. package/plugin/scripts/local-install.sh +58 -93
  23. package/plugin/scripts/setup-tmpdir.sh +65 -0
  24. package/plugin/scripts/uninstall.sh +38 -76
  25. package/plugin/scripts/update.sh +69 -20
  26. package/plugin/scripts/verify-install.sh +25 -69
  27. package/plugin/ui/activity.js +0 -12
  28. package/plugin/ui/app.js +54 -24
  29. package/plugin/ui/graph.js +186 -413
  30. package/plugin/ui/help.js +172 -876
  31. package/plugin/ui/index.html +242 -506
  32. package/plugin/ui/settings.js +17 -781
  33. package/plugin/ui/styles.css +44 -990
  34. package/plugin/ui/timeline.js +2 -2
  35. package/plugin/CLAUDE.md +0 -10
  36. package/plugin/commands/recall.md +0 -55
  37. package/plugin/commands/remember.md +0 -34
  38. package/plugin/commands/resume.md +0 -45
  39. package/plugin/commands/stash.md +0 -34
  40. package/plugin/commands/status.md +0 -33
  41. package/plugin/dist/observations-CorAAc1A.d.mts.map +0 -1
  42. package/plugin/dist/tool-registry-e710BvXq.mjs.map +0 -1
  43. package/plugin/laminark.db +0 -0
  44. package/plugin/package.json +0 -17
  45. package/plugin/scripts/dev-sync.sh +0 -58
  46. package/plugin/ui/help/activity-feed.png +0 -0
  47. package/plugin/ui/help/analysis-panel.png +0 -0
  48. package/plugin/ui/help/graph-toolbar.png +0 -0
  49. package/plugin/ui/help/graph-view.png +0 -0
  50. package/plugin/ui/help/settings.png +0 -0
  51. package/plugin/ui/help/timeline.png +0 -0
  52. package/plugin/ui/tools.js +0 -826
@@ -1,58 +0,0 @@
1
- #!/bin/bash
2
- # Sync dev plugin build to the cached Claude Code plugin installation.
3
- # Run after `npm run build` to hot-update the running plugin without restarting.
4
- #
5
- # Usage: ./plugin/scripts/dev-sync.sh
6
- #
7
- # Note: Static files (UI, hooks) take effect immediately on next page load.
8
- # Compiled server code (dist/) requires a Claude Code session restart
9
- # to pick up API changes.
10
-
11
- set -e
12
-
13
- CLAUDE_HOME="${CLAUDE_HOME:-$HOME/.claude}"
14
- CACHE_BASE="$CLAUDE_HOME/plugins/cache/laminark/laminark"
15
-
16
- # Resolve the repo root (script lives in plugin/scripts/)
17
- SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
18
- REPO_ROOT="$(cd "$SCRIPT_DIR/../.." && pwd)"
19
- PLUGIN_SRC="$REPO_ROOT/plugin"
20
-
21
- # Verify source exists
22
- if [ ! -d "$PLUGIN_SRC/dist" ]; then
23
- echo "Error: plugin/dist/ not found. Run 'npm run build' first."
24
- exit 1
25
- fi
26
-
27
- # Find cached installation(s)
28
- if [ ! -d "$CACHE_BASE" ]; then
29
- echo "Error: No cached Laminark plugin found at $CACHE_BASE"
30
- echo "Install Laminark first: claude plugin add laminark"
31
- exit 1
32
- fi
33
-
34
- # Sync to every cached version (usually just one)
35
- SYNCED=0
36
- for CACHE_DIR in "$CACHE_BASE"/*/; do
37
- [ -d "$CACHE_DIR" ] || continue
38
- VERSION=$(basename "$CACHE_DIR")
39
-
40
- rsync -a --delete \
41
- --exclude '*.db' \
42
- --exclude '*.db-wal' \
43
- --exclude '*.db-shm' \
44
- --exclude 'node_modules' \
45
- "$PLUGIN_SRC/" "$CACHE_DIR"
46
-
47
- echo "Synced to $VERSION"
48
- SYNCED=$((SYNCED + 1))
49
- done
50
-
51
- if [ "$SYNCED" -eq 0 ]; then
52
- echo "Error: No version directories found in $CACHE_BASE"
53
- exit 1
54
- fi
55
-
56
- echo ""
57
- echo "Done. $SYNCED cached installation(s) updated."
58
- echo "UI changes are live. API changes need a session restart."
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file