@juho0719/cckit 0.2.6 → 0.2.8
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/README.md +88 -0
- package/dist/agents-AEKT67A6.js +9 -0
- package/dist/{chunk-T5VPG46W.js → chunk-3GUKEMND.js} +0 -5
- package/dist/{chunk-33CGM7PI.js → chunk-3Y26YU4R.js} +3 -7
- package/dist/{chunk-4NEXS2FY.js → chunk-5XOKKPAA.js} +0 -5
- package/dist/{chunk-6COBMJZ6.js → chunk-E3INXQNO.js} +1 -5
- package/dist/{chunk-ZBGGTONN.js → chunk-EYY2IZ7N.js} +3 -7
- package/dist/{chunk-H4YDYF2X.js → chunk-ID643AV4.js} +3 -7
- package/dist/{chunk-FLBB3OH4.js → chunk-K25UZZVG.js} +0 -5
- package/dist/{chunk-MSCXXA2X.js → chunk-KEENFBLL.js} +2 -6
- package/dist/{chunk-7VVGOZDZ.js → chunk-SW3OJLHC.js} +1 -5
- package/dist/{chunk-VN5S6JGZ.js → chunk-W63UKEIT.js} +0 -5
- package/dist/{chunk-52Q6TDAH.js → chunk-W7RWPDBH.js} +3 -7
- package/dist/claudemd-KKQ2DL7P.js +7 -0
- package/dist/cli-DABSKXWN.js +477 -0
- package/dist/commands-P5LILVZ5.js +9 -0
- package/dist/hooks-A2WQ2LGG.js +9 -0
- package/dist/index.js +17 -21
- package/dist/mcps-67Q7TBGW.js +6 -0
- package/dist/{paths-B754SP2D.js → paths-FT6KBIRD.js} +1 -2
- package/dist/{registry-6CLDID6R.js → registry-KRLOB4TH.js} +2 -3
- package/dist/rules-EFSJ3L3A.js +9 -0
- package/dist/skills-ULMW3UCM.js +8 -0
- package/dist/{uninstall-cli-XU7E26JX.js → uninstall-cli-GLYJG5V2.js} +2 -14
- package/package.json +2 -1
- package/assets/agents/architect.md +0 -211
- package/assets/agents/build-error-resolver.md +0 -114
- package/assets/agents/ccwin-code-reviewer.md +0 -224
- package/assets/agents/database-reviewer.md +0 -91
- package/assets/agents/doc-updater.md +0 -107
- package/assets/agents/e2e-runner.md +0 -107
- package/assets/agents/planner.md +0 -212
- package/assets/agents/python-reviewer.md +0 -98
- package/assets/agents/refactor-cleaner.md +0 -85
- package/assets/agents/security-reviewer.md +0 -108
- package/assets/agents/superpower-code-reviewer.md +0 -48
- package/assets/agents/tdd-guide.md +0 -80
- package/assets/commands/build-fix.md +0 -62
- package/assets/commands/checkpoint.md +0 -74
- package/assets/commands/code-review.md +0 -40
- package/assets/commands/e2e.md +0 -362
- package/assets/commands/eval.md +0 -120
- package/assets/commands/orchestrate.md +0 -172
- package/assets/commands/plan.md +0 -113
- package/assets/commands/python-review.md +0 -297
- package/assets/commands/refactor-clean.md +0 -80
- package/assets/commands/sessions.md +0 -305
- package/assets/commands/tdd.md +0 -326
- package/assets/commands/test-coverage.md +0 -69
- package/assets/commands/update-codemaps.md +0 -72
- package/assets/commands/update-docs.md +0 -84
- package/assets/commands/verify.md +0 -59
- package/assets/hooks/agent-track.sh +0 -53
- package/assets/hooks/auto-commit-push.sh +0 -123
- package/assets/hooks/on-prompt-start.sh +0 -6
- package/assets/hooks/post-edit-format.js +0 -48
- package/assets/hooks/post-edit-typecheck.js +0 -94
- package/assets/hooks/skill-track.sh +0 -26
- package/assets/hooks/subagent-notify.sh +0 -20
- package/assets/rules/common/agents.md +0 -49
- package/assets/rules/common/coding-style.md +0 -48
- package/assets/rules/common/git-workflow.md +0 -45
- package/assets/rules/common/hooks.md +0 -30
- package/assets/rules/common/patterns.md +0 -31
- package/assets/rules/common/performance.md +0 -55
- package/assets/rules/common/security.md +0 -29
- package/assets/rules/common/testing.md +0 -29
- package/assets/rules/python/coding-style.md +0 -42
- package/assets/rules/python/hooks.md +0 -19
- package/assets/rules/python/patterns.md +0 -39
- package/assets/rules/python/security.md +0 -30
- package/assets/rules/python/testing.md +0 -38
- package/assets/rules/typescript/coding-style.md +0 -18
- package/assets/rules/typescript/hooks.md +0 -19
- package/assets/rules/typescript/patterns.md +0 -39
- package/assets/rules/typescript/security.md +0 -30
- package/assets/rules/typescript/testing.md +0 -38
- package/assets/skills/api-design/SKILL.md +0 -522
- package/assets/skills/backend-patterns/SKILL.md +0 -597
- package/assets/skills/brainstorming/SKILL.md +0 -96
- package/assets/skills/coding-standards/SKILL.md +0 -529
- package/assets/skills/database-migrations/SKILL.md +0 -334
- package/assets/skills/deployment-patterns/SKILL.md +0 -426
- package/assets/skills/dispatching-parallel-agents/SKILL.md +0 -180
- package/assets/skills/docker-patterns/SKILL.md +0 -363
- package/assets/skills/e2e-testing/SKILL.md +0 -325
- package/assets/skills/eval-harness/SKILL.md +0 -235
- package/assets/skills/executing-plans/SKILL.md +0 -84
- package/assets/skills/finishing-a-development-branch/SKILL.md +0 -200
- package/assets/skills/frontend-patterns/SKILL.md +0 -641
- package/assets/skills/iterative-retrieval/SKILL.md +0 -210
- package/assets/skills/postgres-patterns/SKILL.md +0 -145
- package/assets/skills/python-patterns/SKILL.md +0 -749
- package/assets/skills/python-testing/SKILL.md +0 -815
- package/assets/skills/receiving-code-review/SKILL.md +0 -213
- package/assets/skills/requesting-code-review/SKILL.md +0 -105
- package/assets/skills/requesting-code-review/code-reviewer-template.md +0 -146
- package/assets/skills/subagent-driven-development/SKILL.md +0 -242
- package/assets/skills/subagent-driven-development/code-quality-reviewer-prompt.md +0 -20
- package/assets/skills/subagent-driven-development/implementer-prompt.md +0 -78
- package/assets/skills/subagent-driven-development/spec-reviewer-prompt.md +0 -61
- package/assets/skills/systematic-debugging/CREATION-LOG.md +0 -114
- package/assets/skills/systematic-debugging/SKILL.md +0 -296
- package/assets/skills/systematic-debugging/condition-based-waiting-example.ts +0 -158
- package/assets/skills/systematic-debugging/condition-based-waiting.md +0 -115
- package/assets/skills/systematic-debugging/defense-in-depth.md +0 -122
- package/assets/skills/systematic-debugging/root-cause-tracing.md +0 -169
- package/assets/skills/systematic-debugging/scripts/find-polluter.sh +0 -63
- package/assets/skills/systematic-debugging/test-academic.md +0 -14
- package/assets/skills/systematic-debugging/test-pressure-1.md +0 -58
- package/assets/skills/systematic-debugging/test-pressure-2.md +0 -68
- package/assets/skills/systematic-debugging/test-pressure-3.md +0 -69
- package/assets/skills/tdd-workflow/SKILL.md +0 -409
- package/assets/skills/test-driven-development/SKILL.md +0 -371
- package/assets/skills/test-driven-development/testing-anti-patterns.md +0 -299
- package/assets/skills/using-git-worktrees/SKILL.md +0 -218
- package/assets/skills/verification-before-completion/SKILL.md +0 -139
- package/assets/skills/verification-loop/SKILL.md +0 -125
- package/assets/skills/writing-plans/SKILL.md +0 -116
- package/assets/statusline/statusline.sh +0 -186
- package/dist/agents-LI3AHTTX.js +0 -10
- package/dist/chunk-TLOORH3N.js +0 -50
- package/dist/claudemd-NWG63O2G.js +0 -8
- package/dist/cli-KHRWBZPV.js +0 -2735
- package/dist/commands-UAOYWGUX.js +0 -10
- package/dist/hooks-NONUWI6V.js +0 -10
- package/dist/mcps-ISPG3F7T.js +0 -7
- package/dist/rules-GZEAGCSL.js +0 -10
- package/dist/skills-ML3QLXUK.js +0 -9
|
@@ -1,186 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env bash
|
|
2
|
-
# Docs:
|
|
3
|
-
# - https://code.claude.com/docs/en/statusline
|
|
4
|
-
# - https://code.claude.com/docs/en/settings
|
|
5
|
-
#
|
|
6
|
-
# Notes:
|
|
7
|
-
# - Claude Code reruns the statusline when conversation state changes, debounced at about 300ms.
|
|
8
|
-
# - `agent.name` is officially provided.
|
|
9
|
-
# - Active skills are not officially exposed in the statusline JSON, so `skills` below is a best-effort
|
|
10
|
-
# inference from recent `/skill-name` or `$skill-name` mentions in the transcript.
|
|
11
|
-
|
|
12
|
-
if ! command -v jq >/dev/null 2>&1; then
|
|
13
|
-
printf '[--] | 📁 -- | default\n'
|
|
14
|
-
printf '◉ CTX unavailable | 🤖 main | 🧩 --\n'
|
|
15
|
-
exit 0
|
|
16
|
-
fi
|
|
17
|
-
|
|
18
|
-
input=$(cat 2>/dev/null)
|
|
19
|
-
[ -n "$input" ] || exit 0
|
|
20
|
-
|
|
21
|
-
repeat_char() {
|
|
22
|
-
local count="$1"
|
|
23
|
-
local char="$2"
|
|
24
|
-
local out=""
|
|
25
|
-
while [ "$count" -gt 0 ]; do
|
|
26
|
-
out="${out}${char}"
|
|
27
|
-
count=$((count - 1))
|
|
28
|
-
done
|
|
29
|
-
printf '%s' "$out"
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
shorten() {
|
|
33
|
-
local text="$1"
|
|
34
|
-
local max="${2:-24}"
|
|
35
|
-
if [ "${#text}" -le "$max" ]; then
|
|
36
|
-
printf '%s' "$text"
|
|
37
|
-
else
|
|
38
|
-
printf '%s…' "${text:0:max-1}"
|
|
39
|
-
fi
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
current_dir_name() {
|
|
43
|
-
local path="$1"
|
|
44
|
-
path="${path%/}"
|
|
45
|
-
|
|
46
|
-
if [ -z "$path" ]; then
|
|
47
|
-
printf '/'
|
|
48
|
-
elif [ "$path" = "$HOME" ]; then
|
|
49
|
-
printf '~'
|
|
50
|
-
else
|
|
51
|
-
printf '%s' "${path##*/}"
|
|
52
|
-
fi
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
current_effort() {
|
|
56
|
-
if [ "${MAX_THINKING_TOKENS:-}" = "0" ]; then
|
|
57
|
-
printf 'off'
|
|
58
|
-
elif [ -n "${CLAUDE_CODE_EFFORT_LEVEL:-}" ]; then
|
|
59
|
-
printf '%s' "$CLAUDE_CODE_EFFORT_LEVEL"
|
|
60
|
-
elif [ "${CLAUDE_CODE_DISABLE_ADAPTIVE_THINKING:-}" = "1" ] && [ -n "${MAX_THINKING_TOKENS:-}" ]; then
|
|
61
|
-
printf 'think:%s' "$MAX_THINKING_TOKENS"
|
|
62
|
-
elif [ "${CLAUDE_CODE_DISABLE_ADAPTIVE_THINKING:-}" = "1" ]; then
|
|
63
|
-
printf 'fixed'
|
|
64
|
-
else
|
|
65
|
-
printf 'default'
|
|
66
|
-
fi
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
infer_skills() {
|
|
70
|
-
local transcript="$1"
|
|
71
|
-
local skills
|
|
72
|
-
|
|
73
|
-
if [ -z "$transcript" ] || [ ! -f "$transcript" ]; then
|
|
74
|
-
printf '%s' '--'
|
|
75
|
-
return
|
|
76
|
-
fi
|
|
77
|
-
|
|
78
|
-
skills=$(
|
|
79
|
-
tail -n 200 "$transcript" 2>/dev/null |
|
|
80
|
-
jq -r '.. | .text? // empty' 2>/dev/null |
|
|
81
|
-
grep -Eo '(^|[[:space:]])(\$|/)[A-Za-z][A-Za-z0-9_-]+' |
|
|
82
|
-
sed -E 's/^[[:space:]]+//; s#^[/$]##' |
|
|
83
|
-
grep -Evi '^(add-dir|agents|bug|clear|compact|config|cost|doctor|help|init|login|logout|mcp|memory|model|permissions|plugin|plugins|pr-comments|review|status|statusline|terminal-setup|vim)$' |
|
|
84
|
-
awk '!seen[$0]++' |
|
|
85
|
-
head -n 3 |
|
|
86
|
-
awk 'BEGIN{ORS=""} {if (NR>1) printf ", "; printf $0}'
|
|
87
|
-
)
|
|
88
|
-
|
|
89
|
-
printf '%s' "${skills:---}"
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
ctx_color() {
|
|
93
|
-
local pct="$1"
|
|
94
|
-
if [ "$pct" -ge 85 ]; then
|
|
95
|
-
printf '\033[38;2;255;107;107m'
|
|
96
|
-
elif [ "$pct" -ge 60 ]; then
|
|
97
|
-
printf '\033[38;2;255;184;77m'
|
|
98
|
-
else
|
|
99
|
-
printf '\033[38;2;92;224;163m'
|
|
100
|
-
fi
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
IFS=$'\t' read -r model dir agent transcript ctx_size cur_in cur_cache_create cur_cache_read used_fallback worktree_branch < <(
|
|
104
|
-
printf '%s' "$input" | jq -r '[
|
|
105
|
-
.model.display_name // .model.id // "--",
|
|
106
|
-
.workspace.current_dir // .cwd // "",
|
|
107
|
-
.agent.name // "main",
|
|
108
|
-
.transcript_path // "",
|
|
109
|
-
(.context_window.context_window_size // 0),
|
|
110
|
-
(.context_window.current_usage.input_tokens? // 0),
|
|
111
|
-
(.context_window.current_usage.cache_creation_input_tokens? // 0),
|
|
112
|
-
(.context_window.current_usage.cache_read_input_tokens? // 0),
|
|
113
|
-
(.context_window.used_percentage // 0 | floor),
|
|
114
|
-
.worktree.branch // ""
|
|
115
|
-
] | @tsv'
|
|
116
|
-
)
|
|
117
|
-
|
|
118
|
-
dir="${dir:-$PWD}"
|
|
119
|
-
model="${model:---}"
|
|
120
|
-
agent="${agent:-main}"
|
|
121
|
-
|
|
122
|
-
used_tokens=$((cur_in + cur_cache_create + cur_cache_read))
|
|
123
|
-
if [ "$ctx_size" -gt 0 ] && [ "$used_tokens" -gt 0 ]; then
|
|
124
|
-
used_pct=$((used_tokens * 100 / ctx_size))
|
|
125
|
-
else
|
|
126
|
-
used_pct="${used_fallback:-0}"
|
|
127
|
-
fi
|
|
128
|
-
|
|
129
|
-
case "$used_pct" in
|
|
130
|
-
''|*[!0-9]*)
|
|
131
|
-
used_pct=0
|
|
132
|
-
;;
|
|
133
|
-
esac
|
|
134
|
-
|
|
135
|
-
[ "$used_pct" -lt 0 ] && used_pct=0
|
|
136
|
-
[ "$used_pct" -gt 100 ] && used_pct=100
|
|
137
|
-
|
|
138
|
-
branch="$worktree_branch"
|
|
139
|
-
if [ -z "$branch" ] && [ -n "$dir" ] && git -C "$dir" rev-parse --is-inside-work-tree >/dev/null 2>&1; then
|
|
140
|
-
branch="$(git -C "$dir" symbolic-ref --quiet --short HEAD 2>/dev/null || git -C "$dir" rev-parse --short HEAD 2>/dev/null)"
|
|
141
|
-
fi
|
|
142
|
-
|
|
143
|
-
skills="$(infer_skills "$transcript")"
|
|
144
|
-
effort="$(current_effort)"
|
|
145
|
-
|
|
146
|
-
dir_label="$(shorten "$(current_dir_name "$dir")" 24)"
|
|
147
|
-
branch_label="$(shorten "$branch" 26)"
|
|
148
|
-
agent_label="$(shorten "$agent" 18)"
|
|
149
|
-
skills_label="$(shorten "$skills" 32)"
|
|
150
|
-
|
|
151
|
-
bar_width=20
|
|
152
|
-
filled=$((used_pct * bar_width / 100))
|
|
153
|
-
empty=$((bar_width - filled))
|
|
154
|
-
|
|
155
|
-
RESET=$'\033[0m'
|
|
156
|
-
BOLD=$'\033[1m'
|
|
157
|
-
DIM=$'\033[2m'
|
|
158
|
-
|
|
159
|
-
MODEL_C=$'\033[1;38;2;110;200;255m'
|
|
160
|
-
DIR_C=$'\033[38;2;142;180;255m'
|
|
161
|
-
BRANCH_C=$'\033[38;2;120;230;160m'
|
|
162
|
-
EFFORT_C=$'\033[38;2;255;196;107m'
|
|
163
|
-
AGENT_C=$'\033[38;2;94;234;212m'
|
|
164
|
-
SKILL_C=$'\033[38;2;255;121;198m'
|
|
165
|
-
SEP_C=$'\033[38;2;108;114;134m'
|
|
166
|
-
FRAME_C=$'\033[38;2;96;103;122m'
|
|
167
|
-
TRACK_C=$'\033[38;2;62;68;84m'
|
|
168
|
-
LABEL_C=$'\033[38;2;145;215;255m'
|
|
169
|
-
PCT_C="$(ctx_color "$used_pct")"
|
|
170
|
-
|
|
171
|
-
filled_bar="$(repeat_char "$filled" '█')"
|
|
172
|
-
empty_bar="$(repeat_char "$empty" '░')"
|
|
173
|
-
|
|
174
|
-
line1="${MODEL_C}[${model}]${RESET} ${SEP_C}|${RESET} ${DIR_C}📁 ${dir_label}${RESET}"
|
|
175
|
-
if [ -n "$branch_label" ]; then
|
|
176
|
-
line1="${line1} ${SEP_C}|${RESET} ${BRANCH_C}⎇ ${branch_label}${RESET}"
|
|
177
|
-
fi
|
|
178
|
-
line1="${line1} ${SEP_C}|${RESET} ${EFFORT_C}${effort}${RESET}"
|
|
179
|
-
|
|
180
|
-
line2="${LABEL_C}◉ CTX ${FRAME_C}▕${PCT_C}${filled_bar}${TRACK_C}${empty_bar}${FRAME_C}▏ ${PCT_C}${used_pct}%${RESET}"
|
|
181
|
-
line2="${line2} ${SEP_C}|${RESET} ${AGENT_C}🤖 ${agent_label}${RESET}"
|
|
182
|
-
line2="${line2} ${SEP_C}|${RESET} ${SKILL_C}🧩 ${skills_label}${RESET}"
|
|
183
|
-
|
|
184
|
-
printf '%b\n' "$line1"
|
|
185
|
-
printf '%b\n' "$line2"
|
|
186
|
-
|
package/dist/agents-LI3AHTTX.js
DELETED
package/dist/chunk-TLOORH3N.js
DELETED
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
var __create = Object.create;
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __getProtoOf = Object.getPrototypeOf;
|
|
6
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
-
var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, {
|
|
8
|
-
get: (a, b) => (typeof require !== "undefined" ? require : a)[b]
|
|
9
|
-
}) : x)(function(x) {
|
|
10
|
-
if (typeof require !== "undefined") return require.apply(this, arguments);
|
|
11
|
-
throw Error('Dynamic require of "' + x + '" is not supported');
|
|
12
|
-
});
|
|
13
|
-
var __esm = (fn, res) => function __init() {
|
|
14
|
-
return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res;
|
|
15
|
-
};
|
|
16
|
-
var __commonJS = (cb, mod) => function __require2() {
|
|
17
|
-
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
|
|
18
|
-
};
|
|
19
|
-
var __copyProps = (to, from, except, desc) => {
|
|
20
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
21
|
-
for (let key of __getOwnPropNames(from))
|
|
22
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
23
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
24
|
-
}
|
|
25
|
-
return to;
|
|
26
|
-
};
|
|
27
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
28
|
-
// If the importer is in node compatibility mode or this is not an ESM
|
|
29
|
-
// file that has been converted to a CommonJS file using a Babel-
|
|
30
|
-
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
31
|
-
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
32
|
-
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
33
|
-
mod
|
|
34
|
-
));
|
|
35
|
-
|
|
36
|
-
// node_modules/tsup/assets/esm_shims.js
|
|
37
|
-
import path from "path";
|
|
38
|
-
import { fileURLToPath } from "url";
|
|
39
|
-
var init_esm_shims = __esm({
|
|
40
|
-
"node_modules/tsup/assets/esm_shims.js"() {
|
|
41
|
-
"use strict";
|
|
42
|
-
}
|
|
43
|
-
});
|
|
44
|
-
|
|
45
|
-
export {
|
|
46
|
-
__require,
|
|
47
|
-
__commonJS,
|
|
48
|
-
__toESM,
|
|
49
|
-
init_esm_shims
|
|
50
|
-
};
|