Commit 91feb87
feat: upgrade rig-core to 0.28 and fix OpenAI Responses API multi-turn
Breaking Changes:
- Upgrade rig-core from 0.27 to 0.28
- Fix ToolCallDeltaContent API change in bedrock streaming
OpenAI Responses API Fix:
- Add simplify_history_for_openai_reasoning() to handle strict pairing requirements
- Add ensure_history_starts_with_user() for history truncation edge cases
- Strip reasoning/tool_calls/tool_results from history, keep only User/Assistant text
- Prevents "rs_... without required following item" and "fc_... without required reasoning item" errors
New Tools:
- K8sOptimizeTool: Static analysis of K8s resource requests/limits
- K8sCostsTool: Cost estimation for K8s workloads
- K8sDriftTool: Detect drift between manifests and cluster state
- PrometheusDiscoverTool: Auto-discover Prometheus in K8s clusters
- PrometheusConnectTool: Connect to Prometheus for live metrics
- RetrieveOutputTool/ListOutputsTool: RAG retrieval for compressed tool outputs
New Analyzer Module:
- src/analyzer/k8s_optimize/: Complete K8s resource optimization framework
- Static analysis rules (K8S_OPT_001 through K8S_OPT_010)
- Prometheus metrics client for live analysis
- Cost calculation and trend analysis
- Terraform kubernetes resource parsing
Dependency Updates:
- yaml-rust2: 0.9 → 0.11
- inquire: 0.7 → 0.9
- rustsec: 0.30 → 0.31
- reqwest: 0.12 → 0.13
- rand: 0.8 → 0.9
- schemars: 0.8 → 1
- termimad: 0.30 → 0.34
- New: kube 2.0, k8s-openapi 0.26, hcl-rs 0.19.4
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>1 parent a4978e6 commit 91feb87
67 files changed
Lines changed: 16606 additions & 561 deletions
File tree
- .cargo
- docs
- src
- agent
- prompts
- tools
- ui
- analyzer
- k8s_optimize
- cost
- fix
- formatter
- live
- parser
- rules
- kubelint
- bedrock
- handlers
- tests/test-lint/terraform
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
4 | 7 | | |
5 | 8 | | |
6 | 9 | | |
| |||
0 commit comments