| Name | Modified | Size | Downloads / 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.ExecHandlerdeclaredvar execResult stringand calledExecute(&execResult), butcallbacks.ExecuteCommandreflect-checks that dest must be*[]byte, returning the "dest must be a pointer to a byte slice" error on every call. This made MCP toolrun_command_in_k8s_podunusable (downstream weibaohui/k8m issue [#468]). Now declared as[]byteand passes*[]byte.Execute(dest interface{})signature is unchanged; other callers already used[]byteand are unaffected.- Behavior change for MCP clients: response text now goes through
TextResult's[]bytecase (string([]byte)) instead of the default JSON-marshaled string case. Closer to rawkubectl execbytes; 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