prjct-cli 3.57.0 → 3.59.0
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/CHANGELOG.md +17 -0
- package/assets/statusline/components/context.sh +11 -4
- package/dist/bin/prjct-core.mjs +538 -533
- package/dist/bin/prjct-hooks.mjs +297 -292
- package/dist/daemon/entry.mjs +470 -465
- package/dist/mcp/server.mjs +239 -234
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,23 @@
|
|
|
2
2
|
|
|
3
3
|
## [Unreleased]
|
|
4
4
|
|
|
5
|
+
## [3.59.0] - 2026-07-14
|
|
6
|
+
|
|
7
|
+
### Added
|
|
8
|
+
- Tech debt trio: anti-basura capture, multi-install doctor, honest token breakdown
|
|
9
|
+
- Anti-basura capture gate (`isJunkCaptureContent`) + dream forgets junk inbox/tool dumps
|
|
10
|
+
- Doctor multi-install check; install surfaces parallel copies (`prjct update` consolidates)
|
|
11
|
+
- `sumTranscriptUsageDetailed` — cache_read max vs per-turn new input (honest work-cost)
|
|
12
|
+
|
|
13
|
+
## [3.58.0] - 2026-07-14
|
|
14
|
+
|
|
15
|
+
### Added
|
|
16
|
+
- Fix ship_* retention archive + context-pressure compact path
|
|
17
|
+
|
|
18
|
+
### Fixed
|
|
19
|
+
- Retention/dream: `ship_*` candidates archive via `shipped_features` delete (no more wouldArchive>0 while archived=0)
|
|
20
|
+
- Context pressure: warn (≥60%) is hard compact-path (land→prime); Claude statusline shows `→land` at ≥60% host context
|
|
21
|
+
|
|
5
22
|
## [3.57.0] - 2026-07-14
|
|
6
23
|
|
|
7
24
|
### Added
|
|
@@ -5,21 +5,28 @@
|
|
|
5
5
|
component_context() {
|
|
6
6
|
component_enabled "context" || return
|
|
7
7
|
|
|
8
|
-
# CTX_PERCENT is set by parse_stdin in cache.sh
|
|
8
|
+
# CTX_PERCENT is set by parse_stdin in cache.sh (host context-window fill %)
|
|
9
9
|
local min_percent="${CONFIG_CONTEXT_MIN_PERCENT:-30}"
|
|
10
10
|
|
|
11
11
|
# Only show when usage is significant
|
|
12
|
+
[[ -z "$CTX_PERCENT" || ! "$CTX_PERCENT" =~ ^[0-9]+$ ]] && return
|
|
12
13
|
[[ "$CTX_PERCENT" -lt "$min_percent" ]] && return
|
|
13
14
|
|
|
14
|
-
# Determine color based on usage
|
|
15
|
+
# Determine color based on usage — ≥60% is prjct compact-path territory
|
|
16
|
+
# (align with context-pressure WARN_RATIO 0.6 / Claude utilization guard).
|
|
15
17
|
local color
|
|
16
|
-
|
|
18
|
+
local suffix=""
|
|
19
|
+
if [[ "$CTX_PERCENT" -ge 70 ]]; then
|
|
17
20
|
color="$ERROR"
|
|
21
|
+
suffix=" →land"
|
|
22
|
+
elif [[ "$CTX_PERCENT" -ge 60 ]]; then
|
|
23
|
+
color="$ERROR"
|
|
24
|
+
suffix=" →land"
|
|
18
25
|
elif [[ "$CTX_PERCENT" -ge 50 ]]; then
|
|
19
26
|
color="$ACCENT"
|
|
20
27
|
else
|
|
21
28
|
color="$MUTED"
|
|
22
29
|
fi
|
|
23
30
|
|
|
24
|
-
echo -e "${color}${CTX_PERCENT}%${NC}"
|
|
31
|
+
echo -e "${color}${CTX_PERCENT}%${suffix}${NC}"
|
|
25
32
|
}
|