@altimateai/altimate-code 0.5.15 → 0.5.17
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.
- package/CHANGELOG.md +27 -0
- package/package.json +18 -14
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,33 @@ 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.17] - 2026-04-02
|
|
9
|
+
|
|
10
|
+
### Added
|
|
11
|
+
|
|
12
|
+
- **Custom dbt `profiles.yml` path resolution** — Altimate Code now resolves `profiles.yml` using dbt's standard priority: explicit path → `DBT_PROFILES_DIR` env var → project-local `profiles.yml` → `~/.dbt/profiles.yml`. Teams using `DBT_PROFILES_DIR` in CI get zero-friction auto-discovery. Jinja `{{ env_var('NAME') }}` patterns are resolved automatically. A warning is shown when `DBT_PROFILES_DIR` is set but the file is not found. (#605)
|
|
13
|
+
|
|
14
|
+
### Fixed
|
|
15
|
+
|
|
16
|
+
- **ClickHouse: SQL comment injection bypass** — Comments could previously mask write statements from the read-only LIMIT guard. String literals are now stripped before comment removal to prevent false matches. (#591)
|
|
17
|
+
- **ClickHouse: `LowCardinality(Nullable(...))` nullability** — Schema inspection previously reported these columns as non-nullable; now correctly detected as nullable. (#591)
|
|
18
|
+
- **ClickHouse: connection lifecycle guards** — All query methods now throw a clear error if called before `connect()`, preventing cryptic TypeErrors. (#591)
|
|
19
|
+
- **ClickHouse: `binds` parameter handling** — Queries with parameterized binds no longer throw a driver error; the parameter is safely ignored (ClickHouse uses `query_params` natively). (#591)
|
|
20
|
+
- **Stale file retry loops on WSL and network drives** — `FileTime.read()` now uses filesystem mtime instead of wall-clock, eliminating 782-iteration retry loops caused by clock skew on WSL (NTFS-over-9P), NFS, and CIFS mounts. Set `OPENCODE_DISABLE_FILETIME_CHECK=true` as escape hatch if needed. (#611)
|
|
21
|
+
- **Error classification: `file_stale` split and keyword fix** — `file_stale` is now a distinct error class; HTTP 4xx errors no longer misclassify as validation failures; restored `"does not exist"` keyword for SQL errors like `"column foo does not exist"`. (#611, #614)
|
|
22
|
+
|
|
23
|
+
## [0.5.16] - 2026-03-30
|
|
24
|
+
|
|
25
|
+
### Added
|
|
26
|
+
|
|
27
|
+
- **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)
|
|
28
|
+
|
|
29
|
+
### Fixed
|
|
30
|
+
|
|
31
|
+
- **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)
|
|
32
|
+
- **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)
|
|
33
|
+
- **Session environment metadata** — `session_start` telemetry now includes `os`, `arch`, and `node_version` for environment-based segmentation (#587)
|
|
34
|
+
|
|
8
35
|
## [0.5.15] - 2026-03-29
|
|
9
36
|
|
|
10
37
|
### 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.
|
|
10
|
+
"version": "0.5.17",
|
|
11
11
|
"license": "MIT",
|
|
12
12
|
"dependencies": {
|
|
13
13
|
"@altimateai/altimate-core": "0.2.6"
|
|
14
14
|
},
|
|
15
15
|
"optionalDependencies": {
|
|
16
|
-
"@altimateai/altimate-code-linux-arm64": "0.5.
|
|
17
|
-
"@altimateai/altimate-code-windows-x64": "0.5.
|
|
18
|
-
"@altimateai/altimate-code-windows-x64-baseline": "0.5.
|
|
19
|
-
"@altimateai/altimate-code-darwin-x64": "0.5.
|
|
20
|
-
"@altimateai/altimate-code-windows-arm64": "0.5.
|
|
21
|
-
"@altimateai/altimate-code-linux-x64-baseline": "0.5.
|
|
22
|
-
"@altimateai/altimate-code-linux-arm64-musl": "0.5.
|
|
23
|
-
"@altimateai/altimate-code-linux-x64-musl": "0.5.
|
|
24
|
-
"@altimateai/altimate-code-linux-x64": "0.5.
|
|
25
|
-
"@altimateai/altimate-code-darwin-x64-baseline": "0.5.
|
|
26
|
-
"@altimateai/altimate-code-linux-x64-baseline-musl": "0.5.
|
|
27
|
-
"@altimateai/altimate-code-darwin-arm64": "0.5.
|
|
16
|
+
"@altimateai/altimate-code-linux-arm64": "0.5.17",
|
|
17
|
+
"@altimateai/altimate-code-windows-x64": "0.5.17",
|
|
18
|
+
"@altimateai/altimate-code-windows-x64-baseline": "0.5.17",
|
|
19
|
+
"@altimateai/altimate-code-darwin-x64": "0.5.17",
|
|
20
|
+
"@altimateai/altimate-code-windows-arm64": "0.5.17",
|
|
21
|
+
"@altimateai/altimate-code-linux-x64-baseline": "0.5.17",
|
|
22
|
+
"@altimateai/altimate-code-linux-arm64-musl": "0.5.17",
|
|
23
|
+
"@altimateai/altimate-code-linux-x64-musl": "0.5.17",
|
|
24
|
+
"@altimateai/altimate-code-linux-x64": "0.5.17",
|
|
25
|
+
"@altimateai/altimate-code-darwin-x64-baseline": "0.5.17",
|
|
26
|
+
"@altimateai/altimate-code-linux-x64-baseline-musl": "0.5.17",
|
|
27
|
+
"@altimateai/altimate-code-darwin-arm64": "0.5.17"
|
|
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
|
}
|