Download Latest Version v0.2.72 source code.zip (406.7 kB)
Email in envelope

Get an email when there's a new version of KOM

Home / v0.2.72
Name Modified Size InfoDownloads / Week
Parent folder
README.md 2026-08-14 978 Bytes
v0.2.72 source code.tar.gz 2026-08-14 269.6 kB
v0.2.72 source code.zip 2026-08-14 406.7 kB
Totals: 3 Items   677.2 kB 0

What's Changed

  • fix(mcp): use *[]byte for ExecHandler dest (#81) @weibaohui
  • mcp/tools/pod.ExecHandler declared var execResult string and called Execute(&execResult), but callbacks.ExecuteCommand reflect-checks that dest must be *[]byte, returning the "dest must be a pointer to a byte slice" error on every call. This made MCP tool run_command_in_k8s_pod unusable (downstream weibaohui/k8m issue [#468]). Now declared as []byte and passes *[]byte. Execute(dest interface{}) signature is unchanged; other callers already used []byte and are unaffected.
  • Behavior change for MCP clients: response text now goes through TextResult's []byte case (string([]byte)) instead of the default JSON-marshaled string case. Closer to raw kubectl exec bytes; clients that depended on JSON escaping for special characters may need to update.
  • Make testcase (#78) @weibaohui

Full Changelog: https://github.com/weibaohui/kom/compare/v0.2.71...v0.2.72

Source: README.md, updated 2026-08-14