@altimateai/altimate-code 0.5.14 → 0.5.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/CHANGELOG.md +35 -0
  2. package/package.json +19 -15
package/CHANGELOG.md CHANGED
@@ -5,6 +5,41 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [0.5.16] - 2026-03-30
9
+
10
+ ### Added
11
+
12
+ - **ClickHouse support** — Connect to ClickHouse Cloud, self-hosted clusters, or local Docker instances running ClickHouse 23.3+. Supports HTTP/HTTPS, TLS mutual auth, and dbt-clickhouse adapter auto-discovery. Includes MergeTree optimization guidance, materialized view design, partition pruning analysis, and query history via `system.query_log`. Requires `npm install @clickhouse/client` (#574)
13
+
14
+ ### Fixed
15
+
16
+ - **Agent loop detection** — The agent now detects when a single tool is called 30+ times in a session (a pattern seen with runaway tool loops) and pauses for confirmation before continuing. Complements the existing same-input repetition detection (#587)
17
+ - **Improved error diagnostics** — Tool failures now report more specific error categories (`not_configured`, `file_not_found`, `edit_mismatch`, `resource_exhausted`) instead of generic "unknown" classification, improving support triage (#587)
18
+ - **Session environment metadata** — `session_start` telemetry now includes `os`, `arch`, and `node_version` for environment-based segmentation (#587)
19
+
20
+ ## [0.5.15] - 2026-03-29
21
+
22
+ ### Added
23
+
24
+ - **Plan agent two-step approach** — outline first, confirm, then expand; plan refinement loop with edit-in-place (capped at 5 revisions); approval phrase detection ("looks good", "proceed", "lgtm") (#556)
25
+ - **Feature discovery & progressive disclosure** — contextual suggestions after warehouse connection (schema, SQL, lineage, PII); dbt auto-detection recommending `/dbt-develop`, `/dbt-troubleshoot` (#556)
26
+
27
+ ### Fixed
28
+
29
+ - **SQL classifier fallback security hardening** — invert fallback to whitelist reads (not blacklist writes), handle multi-statement SQL, strip line comments, fix `HARD_DENY_PATTERN` `\s` → `\b`; fix `computeSqlFingerprint` referencing undefined `core` after safe-import refactor (#582)
30
+ - **Edit tool nearest-match error messages** — `buildNotFoundMessage` with Levenshtein similarity search shows closest file content when `oldString` not found, helping LLM self-correct (#582)
31
+ - **Webfetch failure caching and actionable errors** — session-level URL failure cache (404/410/451) with 5-min TTL; status-specific error messages telling the model whether to retry; URL sanitization in errors to prevent token leakage (#582)
32
+ - **Nested `node_modules` in `NODE_PATH`** — `@altimateai/altimate-core` NAPI resolution now works for npm's hoisted and nested layouts (#576)
33
+ - **Null guards across 8 tool formatters** — prevent literal `undefined` in user-facing output for sql-analyze, schema-inspect, sql-translate, dbt-manifest, finops, and warehouse tools; DuckDB auto-retry on `database is locked` (#571)
34
+ - **Telemetry error classification** — add `http_error` class, expand connection/validation/permission patterns, redact sensitive keys in input signatures (#566)
35
+ - **Pre-release review findings** — remove dead code, fix `classifySkillTrigger()` unknown trigger handling, add null guards in lineage/translate tools (#580)
36
+ - **Binary alias hard copy** — use `cp` instead of symlink for `altimate-code` binary alias to fix cross-platform compatibility (#578)
37
+
38
+ ### Testing
39
+
40
+ - Verdaccio sanity suite: 50 new tests across 3 phases, added to CI and release workflows (#560, #562)
41
+ - 12 new tests for `buildNotFoundMessage`, `computeSqlFingerprint`, and webfetch error messages (#582)
42
+
8
43
  ## [0.5.14] - 2026-03-28
9
44
 
10
45
  ### Added
package/package.json CHANGED
@@ -7,24 +7,24 @@
7
7
  "scripts": {
8
8
  "postinstall": "bun ./postinstall.mjs || node ./postinstall.mjs"
9
9
  },
10
- "version": "0.5.14",
10
+ "version": "0.5.16",
11
11
  "license": "MIT",
12
12
  "dependencies": {
13
- "@altimateai/altimate-core": "0.2.5"
13
+ "@altimateai/altimate-core": "0.2.6"
14
14
  },
15
15
  "optionalDependencies": {
16
- "@altimateai/altimate-code-linux-arm64": "0.5.14",
17
- "@altimateai/altimate-code-windows-x64": "0.5.14",
18
- "@altimateai/altimate-code-windows-x64-baseline": "0.5.14",
19
- "@altimateai/altimate-code-darwin-x64": "0.5.14",
20
- "@altimateai/altimate-code-windows-arm64": "0.5.14",
21
- "@altimateai/altimate-code-linux-x64-baseline": "0.5.14",
22
- "@altimateai/altimate-code-linux-arm64-musl": "0.5.14",
23
- "@altimateai/altimate-code-linux-x64-musl": "0.5.14",
24
- "@altimateai/altimate-code-linux-x64": "0.5.14",
25
- "@altimateai/altimate-code-darwin-x64-baseline": "0.5.14",
26
- "@altimateai/altimate-code-linux-x64-baseline-musl": "0.5.14",
27
- "@altimateai/altimate-code-darwin-arm64": "0.5.14"
16
+ "@altimateai/altimate-code-linux-arm64": "0.5.16",
17
+ "@altimateai/altimate-code-windows-x64": "0.5.16",
18
+ "@altimateai/altimate-code-windows-x64-baseline": "0.5.16",
19
+ "@altimateai/altimate-code-darwin-x64": "0.5.16",
20
+ "@altimateai/altimate-code-windows-arm64": "0.5.16",
21
+ "@altimateai/altimate-code-linux-x64-baseline": "0.5.16",
22
+ "@altimateai/altimate-code-linux-arm64-musl": "0.5.16",
23
+ "@altimateai/altimate-code-linux-x64-musl": "0.5.16",
24
+ "@altimateai/altimate-code-linux-x64": "0.5.16",
25
+ "@altimateai/altimate-code-darwin-x64-baseline": "0.5.16",
26
+ "@altimateai/altimate-code-linux-x64-baseline-musl": "0.5.16",
27
+ "@altimateai/altimate-code-darwin-arm64": "0.5.16"
28
28
  },
29
29
  "peerDependencies": {
30
30
  "pg": ">=8",
@@ -34,7 +34,8 @@
34
34
  "mysql2": ">=3",
35
35
  "mssql": ">=11",
36
36
  "oracledb": ">=6",
37
- "duckdb": ">=1"
37
+ "duckdb": ">=1",
38
+ "@clickhouse/client": ">=1"
38
39
  },
39
40
  "peerDependenciesMeta": {
40
41
  "pg": {
@@ -60,6 +61,9 @@
60
61
  },
61
62
  "duckdb": {
62
63
  "optional": true
64
+ },
65
+ "@clickhouse/client": {
66
+ "optional": true
63
67
  }
64
68
  }
65
69
  }