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.
- package/.claude-plugin/marketplace.json +15 -0
- package/README.md +71 -36
- package/package.json +7 -9
- package/plugin/.claude-plugin/plugin.json +1 -1
- package/plugin/dist/hooks/handler.d.ts +1 -3
- package/plugin/dist/hooks/handler.d.ts.map +1 -1
- package/plugin/dist/hooks/handler.js +22 -310
- package/plugin/dist/hooks/handler.js.map +1 -1
- package/plugin/dist/index.d.ts +1 -3
- package/plugin/dist/index.d.ts.map +1 -1
- package/plugin/dist/index.js +392 -1895
- package/plugin/dist/index.js.map +1 -1
- package/plugin/dist/{observations-CorAAc1A.d.mts → observations-Ch0nc47i.d.mts} +1 -23
- package/plugin/dist/observations-Ch0nc47i.d.mts.map +1 -0
- package/plugin/dist/{tool-registry-e710BvXq.mjs → tool-registry-CZ3mJ4iR.mjs} +13 -932
- package/plugin/dist/tool-registry-CZ3mJ4iR.mjs.map +1 -0
- package/plugin/hooks/hooks.json +6 -6
- package/plugin/scripts/README.md +1 -19
- package/plugin/scripts/bump-version.sh +3 -1
- package/plugin/scripts/ensure-deps.sh +2 -5
- package/plugin/scripts/install.sh +39 -115
- package/plugin/scripts/local-install.sh +58 -93
- package/plugin/scripts/setup-tmpdir.sh +65 -0
- package/plugin/scripts/uninstall.sh +38 -76
- package/plugin/scripts/update.sh +69 -20
- package/plugin/scripts/verify-install.sh +25 -69
- package/plugin/ui/activity.js +0 -12
- package/plugin/ui/app.js +54 -24
- package/plugin/ui/graph.js +186 -413
- package/plugin/ui/help.js +172 -876
- package/plugin/ui/index.html +242 -506
- package/plugin/ui/settings.js +17 -781
- package/plugin/ui/styles.css +44 -990
- package/plugin/ui/timeline.js +2 -2
- package/plugin/CLAUDE.md +0 -10
- package/plugin/commands/recall.md +0 -55
- package/plugin/commands/remember.md +0 -34
- package/plugin/commands/resume.md +0 -45
- package/plugin/commands/stash.md +0 -34
- package/plugin/commands/status.md +0 -33
- package/plugin/dist/observations-CorAAc1A.d.mts.map +0 -1
- package/plugin/dist/tool-registry-e710BvXq.mjs.map +0 -1
- package/plugin/laminark.db +0 -0
- package/plugin/package.json +0 -17
- package/plugin/scripts/dev-sync.sh +0 -58
- package/plugin/ui/help/activity-feed.png +0 -0
- package/plugin/ui/help/analysis-panel.png +0 -0
- package/plugin/ui/help/graph-toolbar.png +0 -0
- package/plugin/ui/help/graph-view.png +0 -0
- package/plugin/ui/help/settings.png +0 -0
- package/plugin/ui/help/timeline.png +0 -0
- 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
|