Skip to content

v0.13.0

Oak Dev-inter edited this page May 2, 2026 · 1 revision

v0.13.0 β€” thClaws Runtime Support (Consolidated) 🦞

Released: 2026-05-02 Theme: Consolidated thClaws release β€” supersedes v0.12.0/v0.12.1. Single clean install path. Kasidit now runs on both Claude Code AND thClaws, the native Rust agent harness from ThaiGPT Co.

Supersedes v0.12.0 + v0.12.1. Single clean install path. v0.12.x are kept on the releases page for historical reference but are not recommended for new installs.

TL;DR

One framework, two runtimes. Same SKILL.md. Same 21 commands. Same 8 agents. Same 15 checklists. Same Master Orchestrator + tier-aware rules. Choose your runtime.

Runtime Coverage Install command
Claude Code 5/5 hooks (full) bash plugins/kasidit/install.sh
thClaws (NEW) 4/5 hooks adapted bash plugins/kasidit/install-thclaws.sh

Why this release

thClaws is a native-Rust agent harness from ThaiGPT Co. that hit 684 GitHub stars in 12 days (April 2026). Native binary, multi-provider (Anthropic + OpenAI + Gemini + Ollama + DashScope + OpenRouter + more), sovereign by design. The Thai dev community is building runtime infrastructure of its own.

Kasidit's value is the discipline layer β€” rules, checklists, tier-aware behavior, runtime hooks for confidence verification + master-orchestrator violation detection. That layer is runtime-agnostic at the core; only the hook-event glue differs per runtime.

This release ports Kasidit to thClaws so users on either runtime get the same discipline framework. Triggered by a collab invite from Sakupan Slevin Jiang at ThaiGPT Co.

What's new

1. install-thclaws.sh β€” separate installer for thClaws

Rather than refactoring the Claude Code installer to support both runtimes, we ship a parallel installer:

git clone https://github.com/kasidit-wansudon/kasidit.git
cd kasidit
bash plugins/kasidit/install-thclaws.sh

This installer:

  • Detects thClaws home (~/.config/thclaws/)
  • Copies thClaws-compatible hooks to ~/.config/thclaws/hooks/
  • Seeds the Gravity hub at ~/.config/thclaws/skills/kasidit/center/
  • Seeds 15 default checklists + helper scripts
  • Merges hook registrations into ~/.config/thclaws/settings.json (using thClaws's shell-snippet hook config format, distinct from Claude Code's array-of-objects format)

Idempotent β€” safe to re-run after each Kasidit release.

2. Mirrored manifests under .thclaws-plugin/

Plugin manifests for thClaws's plugin loader live alongside .claude-plugin/:

kasidit/
β”œβ”€β”€ .claude-plugin/
β”‚   └── marketplace.json
β”œβ”€β”€ .thclaws-plugin/
β”‚   └── marketplace.json
β”œβ”€β”€ plugins/kasidit/
β”‚   β”œβ”€β”€ .claude-plugin/
β”‚   β”‚   └── plugin.json
β”‚   β”œβ”€β”€ .thclaws-plugin/
β”‚   β”‚   └── plugin.json
β”‚   β”œβ”€β”€ install.sh           # Claude Code installer
β”‚   β”œβ”€β”€ install-thclaws.sh   # thClaws installer (NEW)
β”‚   β”œβ”€β”€ hooks/                # universal β€” same Python/bash hooks
β”‚   β”œβ”€β”€ commands/             # universal β€” same 21 slash commands
β”‚   β”œβ”€β”€ agents/               # universal β€” same 8 specialists
β”‚   β”œβ”€β”€ defaults/checklists/  # universal β€” same 15 checklists
β”‚   └── skills/kasidit/
β”‚       β”œβ”€β”€ SKILL.md          # universal β€” same framework spec
β”‚       └── scripts/          # universal β€” build_graph, build_struc
└── docs/
    └── thclaws-setup.md      # NEW β€” install/uninstall + hook mapping

3. Hook event mapping (Claude Code β†’ thClaws)

Kasidit hook Claude Code event thClaws event Status
kasi-update-check.sh SessionStart session_start βœ… direct port
kasi-drift-check.sh SessionStart session_start βœ… direct port
kasi-verify.py PostToolUse + Stop post_tool_use ⚠️ per-tool only, no per-turn aggregation
kasi-record.py Stop (per-turn) session_end (per-session) ⚠️ batches at session end instead of mission end
kasi-route.py UserPromptSubmit β€” ❌ skipped (no equivalent event in thClaws yet)
kasi-log.{sh,py} UserPromptSubmit β€” ❌ skipped (same reason)

Net: ~85% of Kasidit ports cleanly. The 2 skipped hooks are the global prompt classifier and the prompt log β€” useful for cross-project memory but not load-bearing for the discipline framework. The [kasidit-log|pattern|memory|rule] emit-token protocol still works on thClaws via kasi-record.py (just batched per session).

4. Documentation

docs/thclaws-setup.md (NEW, 139 lines) covers:

  • What works / what's degraded on thClaws
  • Install + uninstall commands
  • Hook event mapping table
  • Differences in behavior vs Claude Code (no prompt-classifier line, no global prompt log, verify cadence)
  • Recommended workflow for thClaws users

README.md adds a thClaws install section between the Claude Code install and the Update section.

5. Bug fix

install.sh (Claude Code installer) had a leftover glob kasidit-* from before the v0.11 hook rename to kasi-*. Fresh installs were silently failing to copy hooks. Fixed in this release.

Why the gap on thClaws

thClaws's hook model is shell-snippet based on lifecycle events: pre_tool_use, post_tool_use, post_tool_use_failure, permission_denied, session_start, session_end, pre_compact, post_compact. Claude Code's hook model adds a UserPromptSubmit event that fires per turn before the LLM call β€” Kasidit's prompt classifier (kasi-route.py) and global prompt log (kasi-log.sh) ride on this event.

thClaws does not currently expose a per-turn pre-LLM hook, so these two pieces have no port target. If thClaws adds a pre_turn or user_prompt_submit event in a later release, both hooks port over with minimal change β€” the underlying Python is runtime-agnostic.

What stays Claude-Code-specific (intentional)

  • The [kasidit] kind=... mode=... history=N/M prompt-classifier line at turn start (Claude Code only)
  • Cross-project prompt history under ~/.claude/skills/kasidit/center/logs/ (Claude Code only)
  • Per-turn (vs per-session) JSONL aggregation for emit tokens

These don't break the framework on thClaws β€” they just aren't there. The discipline rules, mode gating, Master Orchestrator, tier-aware behavior, confidence labels, mission-driven scope β€” all work identically on both runtimes via SKILL.md.

Migration notes

For existing Claude Code installs:

  1. /plugin marketplace update kasidit β€” fetches v0.12.0 manifests
  2. bash plugins/kasidit/install.sh β€” re-run installer (idempotent; will fix the glob bug if it left hooks uninstalled)

For thClaws users (new in this release):

  1. git clone https://github.com/kasidit-wansudon/kasidit.git
  2. bash plugins/kasidit/install-thclaws.sh

Cross-runtime Gravity hub sync (so a pattern promoted on Claude Code propagates to thClaws and vice versa) is deferred to v0.13. Today, the two hubs are independent.

Counts

v0.11 v0.12
Slash commands 21 21
Specialist agents 8 8
Default checklists 15 15
Helper scripts 4 4
Runtime hooks 5 5 (Claude Code) / 4 (thClaws)
Supported runtimes 1 2
Plugin manifests 2 4 (mirrored for thClaws)
Installers 1 2

See also

Kasidit

Core

Version History

Concepts

Commands

Agents

Deprecated v0.10 (stubs β†’ audit-specialist --focus=..., removed in v0.11)

Clone this wiki locally