File tree Expand file tree Collapse file tree 5 files changed +29
-44
lines changed
.claude/cat/issues/v2/v2.1/fix-utf8-encoding-all-launchers
src/main/java/io/github/cowwoc/cat/hooks/skills Expand file tree Collapse file tree 5 files changed +29
-44
lines changed Original file line number Diff line number Diff line change 11# State
22
3- - ** Status:** open
4- - ** Progress:** 0%
3+ - ** Status:** closed
4+ - ** Progress:** 100%
5+ - ** Resolution:** implemented
56- ** Dependencies:** [ ]
67- ** Blocks:** [ ]
78- ** Last Updated:** 2026-02-13
Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ readonly -a HANDLERS=(
4646 " get-checkpoint-box:skills.GetCheckpointOutput"
4747 " get-issue-complete-box:skills.GetIssueCompleteOutput"
4848 " get-next-task-box:skills.GetNextTaskOutput"
49- " get-status-output:skills.RunGetStatusOutput "
49+ " get-status-output:skills.GetStatusOutput "
5050 " get-render-diff-output:skills.GetRenderDiffOutput"
5151)
5252
@@ -299,7 +299,9 @@ generate_launchers() {
299299DIR=`dirname $0`
300300exec "$DIR/java" \
301301 -Xms16m -Xmx96m \
302+ -Dstdin.encoding=UTF-8 \
302303 -Dstdout.encoding=UTF-8 \
304+ -Dstderr.encoding=UTF-8 \
303305 -XX:+UseSerialGC \
304306 -XX:TieredStopAtLevel=1 \
305307 -XX:AOTCache="$DIR/../lib/server/aot-cache.aot" \
Original file line number Diff line number Diff line change 1515import java .util .stream .Stream ;
1616
1717import io .github .cowwoc .cat .hooks .JvmScope ;
18+ import io .github .cowwoc .cat .hooks .MainJvmScope ;
1819import io .github .cowwoc .cat .hooks .util .SkillOutput ;
1920
2021import static io .github .cowwoc .requirements13 .java .DefaultJavaValidators .requireThat ;
@@ -757,4 +758,24 @@ private static final class Agent
757758 long ageSeconds ;
758759 String worktree = "" ;
759760 }
761+
762+ /**
763+ * Main entry point.
764+ *
765+ * @param args command line arguments (unused)
766+ */
767+ public static void main (String [] args )
768+ {
769+ try (JvmScope scope = new MainJvmScope ())
770+ {
771+ GetStatusOutput generator = new GetStatusOutput (scope );
772+ String output = generator .getOutput ();
773+ System .out .println (output );
774+ }
775+ catch (IOException e )
776+ {
777+ System .err .println ("Error generating status: " + e .getMessage ());
778+ System .exit (1 );
779+ }
780+ }
760781}
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -28,7 +28,9 @@ CLAUDE_SESSION_ID="$3"
2828" $CLAUDE_PLUGIN_ROOT /hooks/bin/java" \
2929 -Xms16m \
3030 -Xmx96m \
31+ -Dstdin.encoding=UTF-8 \
3132 -Dstdout.encoding=UTF-8 \
33+ -Dstderr.encoding=UTF-8 \
3234 -XX:+UseSerialGC \
3335 -XX:TieredStopAtLevel=1 \
3436 -m io.github.cowwoc.cat.hooks/io.github.cowwoc.cat.hooks.util.SkillLoader \
You can’t perform that action at this time.
0 commit comments