@scotthamilton77/sidekick 0.1.14 → 0.1.16
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.
|
@@ -18,6 +18,34 @@ settings:
|
|
|
18
18
|
user-prompt-submit: 10
|
|
19
19
|
remember-your-persona: 5
|
|
20
20
|
|
|
21
|
+
# Command runner prefixes that trigger unanchored pattern matching.
|
|
22
|
+
# When a bash command starts with one of these prefixes, the tool pattern
|
|
23
|
+
# matcher drops its first-token anchor and scans for the tool name at any
|
|
24
|
+
# position. This allows commands like 'uv run mypy' to match pattern 'mypy'.
|
|
25
|
+
# Array merge strategy: replace (project/user config replaces defaults entirely).
|
|
26
|
+
command_runners:
|
|
27
|
+
# Python
|
|
28
|
+
- prefix: "uv run"
|
|
29
|
+
- prefix: "poetry run"
|
|
30
|
+
- prefix: "pipx run"
|
|
31
|
+
- prefix: "pdm run"
|
|
32
|
+
- prefix: "hatch run"
|
|
33
|
+
- prefix: "conda run"
|
|
34
|
+
# Node.js
|
|
35
|
+
- prefix: "npx"
|
|
36
|
+
- prefix: "pnpx"
|
|
37
|
+
- prefix: "bunx"
|
|
38
|
+
- prefix: "pnpm dlx"
|
|
39
|
+
- prefix: "pnpm exec"
|
|
40
|
+
- prefix: "bun run"
|
|
41
|
+
- prefix: "yarn dlx"
|
|
42
|
+
- prefix: "yarn exec"
|
|
43
|
+
- prefix: "npm exec"
|
|
44
|
+
# Ruby
|
|
45
|
+
- prefix: "bundle exec"
|
|
46
|
+
# .NET
|
|
47
|
+
- prefix: "dotnet tool run"
|
|
48
|
+
|
|
21
49
|
# Glob patterns that trigger verify-completion reminder on file edit.
|
|
22
50
|
# Uses picomatch syntax: https://github.com/micromatch/picomatch
|
|
23
51
|
# Only edits to files matching these patterns will stage the reminder.
|
|
@@ -23,11 +23,11 @@ settings:
|
|
|
23
23
|
# {cost} - Session cost (e.g., "$0.15")
|
|
24
24
|
# {duration} - Session duration (e.g., "12m")
|
|
25
25
|
# {cwd} - Current working directory (home-shortened)
|
|
26
|
-
# {branch} - Git branch name (raw,
|
|
26
|
+
# {branch} - Git branch name (raw, no decoration)
|
|
27
|
+
# {branchWT} - Branch name + [wt] indicator when in worktree
|
|
27
28
|
# {projectDirShort} - Project directory basename (e.g., "claude-code-sidekick")
|
|
28
29
|
# {projectDirFull} - Project directory full path (home-shortened)
|
|
29
30
|
# {worktreeName} - Worktree name (empty if not in worktree)
|
|
30
|
-
# {worktreeOrBranch} - Worktree name if in worktree, else branch name
|
|
31
31
|
# {title} - Session title
|
|
32
32
|
# {summary} - Session summary/intent
|
|
33
33
|
# {personaName} - Current persona name (empty if disabled or no persona)
|
|
@@ -57,11 +57,10 @@ settings:
|
|
|
57
57
|
# Bar + percent: "{contextBar} {tokenPercentageActual}" → "🪙 ▓▓▒|░░░ 22%"
|
|
58
58
|
# With buffer: "{tokenUsageActual}|{tokenUsageEffective}" → "45k|90k"
|
|
59
59
|
# Verbose: "{contextBar} {tokenUsageActual}/{contextWindow} ({tokenPercentageEffective})"
|
|
60
|
-
# Worktree-aware: "{
|
|
60
|
+
# Worktree-aware: "{branchWT,prefix=' | '}" → " | main" or " | feat/auth [wt]"
|
|
61
61
|
# Project name: "{projectDirShort}" → "claude-code-sidekick"
|
|
62
|
-
# Worktree badge: "{worktreeName,prefix=' [wt:',suffix=']'}" → " [wt:feature-x]" or ""
|
|
63
62
|
#
|
|
64
|
-
format: "{personaName,prefix='[',suffix='] | '}{model,prefix='[',suffix='] | '}{contextBar} {tokenPercentageActual} | {logs} | {projectDirShort,maxLength=40}: {cwd,maxLength=40,truncateStyle='path'}{
|
|
63
|
+
format: "{personaName,prefix='[',suffix='] | '}{model,prefix='[',suffix='] | '}{contextBar} {tokenPercentageActual} | {logs} | {projectDirShort,maxLength=40}: {cwd,maxLength=40,truncateStyle='path'}{branchWT,prefix=' | ',maxLength=40}{title,wrapAt=120,prefix=' | ',wrapPrefix='\\n'}{summary,wrapAt=120,prefix=' | ',wrapPrefix='\\n'}"
|
|
65
64
|
|
|
66
65
|
# Threshold configuration for visual warnings
|
|
67
66
|
thresholds:
|
|
@@ -114,3 +113,4 @@ settings:
|
|
|
114
113
|
persona: cyan
|
|
115
114
|
# branch: magenta # Optional: if set, overrides pattern-based coloring
|
|
116
115
|
# Pattern-based defaults: main/master=green, feature/*=blue, hotfix/*=red, other=magenta
|
|
116
|
+
# worktreeIndicator: dim # Optional: color for [wt] suffix in branchWT (default: dim)
|