diff --git a/rust/crates/sift_cli/CHANGELOG.md b/rust/crates/sift_cli/CHANGELOG.md index d8d0acbce..090d08c0f 100644 --- a/rust/crates/sift_cli/CHANGELOG.md +++ b/rust/crates/sift_cli/CHANGELOG.md @@ -7,6 +7,32 @@ This project adheres to [Semantic Versioning](http://semver.org/). ### What's New +## [v0.5.0] - August 26, 2026 + +### What's New + +- Added MCP tools for managing calculated channels: `list_calculated_channels`, + `list_calculated_channel_versions`, `create_calculated_channel`, + `update_calculated_channel`, `archive_calculated_channel`, and + `unarchive_calculated_channel`. +- `get_data` now serves saved calculated channels. A name in `channel_names` + with no raw-channel match resolves as an active saved calculated channel for + the asset and run; unresolvable names are reported explicitly. +- `get_data` now accepts `asset_id` as an alternative to `asset_name`; exactly + one must be set. +- Added `preview_rule`, which dry-runs a saved rule or an ad-hoc draft rule + config against a run without persisting anything. +- Added MCP tools for managing user-defined functions: + `list_user_defined_functions`, `list_user_defined_function_versions`, + `create_user_defined_function`, `update_user_defined_function`, + `archive_user_defined_function`, and `unarchive_user_defined_function`. +- `update_annotation` now requires `annotation_ids` instead of `annotation_id`, + a breaking change for existing callers; pass a one-element list for one + annotation. It updates 1 to 1000 annotations per call with per-ID failure + reporting, and its new `is_archived` parameter archives or unarchives + annotations. +- Refreshed the bundled Sift agent skill to cover the expanded MCP tool surface. + ## [v0.4.4] - August 24, 2026 ### What's New diff --git a/rust/crates/sift_cli/Cargo.toml b/rust/crates/sift_cli/Cargo.toml index 933525bd9..f1b096a04 100644 --- a/rust/crates/sift_cli/Cargo.toml +++ b/rust/crates/sift_cli/Cargo.toml @@ -3,7 +3,7 @@ test-reports = ["sift_mcp/test-reports"] [package] name = "sift_cli" -version = "0.4.4" +version = "0.5.0" authors.workspace = true edition.workspace = true categories.workspace = true diff --git a/rust/crates/sift_cli/assets/skills/sift/SKILL.md b/rust/crates/sift_cli/assets/skills/sift/SKILL.md index de9eab083..47f56b3cb 100644 --- a/rust/crates/sift_cli/assets/skills/sift/SKILL.md +++ b/rust/crates/sift_cli/assets/skills/sift/SKILL.md @@ -1,19 +1,21 @@ --- name: sift description: >- - Use when working with Sift: ingesting or importing time-series data, - querying assets/runs/channels/users, exporting data, decimating or running - SQL over data, opening a view in the Sift Explore web app, writing code that - integrates with Sift, installing, updating, or diagnosing the Sift agent - integration, or looking up how Sift works in its product and API - documentation. Covers the Sift MCP server (started by `sift-cli mcp`), the - `sift-cli` itself, the Sift REST API over cURL, the Sift Python library - (`sift_client`), and the Sift Rust streaming library (`sift_stream`). + Use for Sift tasks: ingesting or importing time-series data, querying + assets/runs/channels/users, managing calculated channels, rules, and + user-defined functions, exporting or decimating data, running SQL over data, + opening a view in Sift Explore, writing code that integrates with Sift, + installing, updating, or diagnosing the Sift agent integration, or looking + up how Sift works in its product and API documentation. Covers the Sift MCP + server (started by `sift-cli mcp`), `sift-cli`, the Sift REST API over cURL, + the Sift Python library (`sift_client`), and the Sift Rust streaming library + (`sift_stream`). Triggers include phrases like "import this file into Sift", "stream data to Sift", "list assets/runs/channels", "runs I created", "runs a teammate - created", "export a run", "query Sift", "graph", "plot", "visualize", "open - in Explore", "write code to integrate with Sift", "how does X work in Sift", - "what does this endpoint do", or "look up the Sift API reference". + created", "export a run", "query Sift", "graph", "plot", "visualize", "open in + Explore", "write code to integrate with Sift", "how does X work in Sift", + "what does this endpoint do", "list calculated channels", "preview a rule", + or "look up the Sift API reference". ---