@iceinvein/agent-skills 0.10.0 → 0.10.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@iceinvein/agent-skills",
3
- "version": "0.10.0",
3
+ "version": "0.10.1",
4
4
  "description": "Install agent skills into AI coding tools",
5
5
  "author": "iceinvein",
6
6
  "license": "MIT",
package/skills/index.json CHANGED
@@ -283,7 +283,7 @@
283
283
  "name": "sluice",
284
284
  "description": "Routes work by change shape into four channels (bypass, fast, main, deep) and applies only the rules each channel needs, so a one-line fix does not pay the cost of a multi-subsystem build. Carries seven rules as one-liners in the router and the full treatment in references read only on friction. Checks the finished plan with plan.sh validate rather than trusting it to memory, seeds the run state from it, keeps a deep run's task breakdown in .sluice/run.json so a statusline segment and one status command can answer where the run is, and closes each run with a ledger read out of the session transcript: elapsed, tools, tokens, and what each dispatched agent cost where the transcript recorded it. Claude Code only; stands down where the superpowers pipeline governs the repo.",
285
285
  "type": "prompt",
286
- "version": "0.12.0"
286
+ "version": "0.12.1"
287
287
  },
288
288
  {
289
289
  "name": "temporal-coupling-detector",
@@ -169,6 +169,7 @@ state file existing so a session with no run spawns no process at all:
169
169
  sluice_line=""
170
170
  if [ -n "$cwd" ] && [ -f "$cwd/.sluice/run.json" ]; then
171
171
  for sluice_sh in "$cwd/.claude/skills/sluice/scripts/status.sh" \
172
+ "${CLAUDE_CONFIG_DIR:-$HOME/.claude}/skills/sluice/scripts/status.sh" \
172
173
  "$HOME/.claude/skills/sluice/scripts/status.sh"; do
173
174
  [ -f "$sluice_sh" ] || continue
174
175
  sluice_line=$(bash "$sluice_sh" line --full --dir "$cwd" 2>/dev/null)
@@ -187,7 +188,11 @@ if [ -n "$sluice_line" ]; then printf '%s\n' "$sluice_line"; fi
187
188
  short form makes it exit 1 on every render with no run live, which is the common
188
189
  case. `%s` rather than `%b`: the render already carries real escape bytes, and
189
190
  `%b` would reinterpret a backslash inside a task name. `$cwd` is
190
- `workspace.current_dir` from the JSON the harness sends on stdin. It renders as:
191
+ `workspace.current_dir` from the JSON the harness sends on stdin. The configured
192
+ config dir is read before the default because a session started with
193
+ `CLAUDE_CONFIG_DIR` set installs the skill there, which is the one place a
194
+ `$HOME/.claude` lookup will not find it; the two paths collapse to one when the
195
+ variable is unset, at the price of a second `[ -f ]`. It renders as:
191
196
 
192
197
  ```
193
198
  ⧗ deep · sluice-cross-harness ◷ 38m
@@ -40,7 +40,14 @@ if [ -z "$TRANSCRIPT" ]; then
40
40
  exit 1
41
41
  fi
42
42
  # The session id is unique across projects, so glob rather than guess the slug.
43
- TRANSCRIPT="$(ls "$HOME"/.claude/projects/*/"$sid".jsonl 2>/dev/null | head -1)"
43
+ # The harness writes under whichever config dir it was started with, so read
44
+ # CLAUDE_CONFIG_DIR first and fall back to the default: a machine that has run
45
+ # under both profiles keeps transcripts in both, and a miss under the
46
+ # configured one is not the end of the search.
47
+ for root in "${CLAUDE_CONFIG_DIR:-$HOME/.claude}" "$HOME/.claude"; do
48
+ TRANSCRIPT="$(ls "$root"/projects/*/"$sid".jsonl 2>/dev/null | head -1)"
49
+ [ -n "$TRANSCRIPT" ] && break
50
+ done
44
51
  fi
45
52
 
46
53
  if [ -z "$TRANSCRIPT" ] || [ ! -f "$TRANSCRIPT" ]; then
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sluice",
3
- "version": "0.12.0",
3
+ "version": "0.12.1",
4
4
  "description": "Routes work by change shape into four channels (bypass, fast, main, deep) and applies only the rules each channel needs, so a one-line fix does not pay the cost of a multi-subsystem build. Carries seven rules as one-liners in the router and the full treatment in references read only on friction. Checks the finished plan with plan.sh validate rather than trusting it to memory, seeds the run state from it, keeps a deep run's task breakdown in .sluice/run.json so a statusline segment and one status command can answer where the run is, and closes each run with a ledger read out of the session transcript: elapsed, tools, tokens, and what each dispatched agent cost where the transcript recorded it. Claude Code only; stands down where the superpowers pipeline governs the repo.",
5
5
  "author": "iceinvein",
6
6
  "type": "prompt",