@altimateai/altimate-code 0.5.7 → 0.5.9

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 CHANGED
@@ -5,6 +5,46 @@ 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.9] - 2026-03-23
9
+
10
+ ### Fixed
11
+
12
+ - **Codespaces support** — skip machine-scoped `GITHUB_TOKEN` that lacks repo access, cap provider retries to prevent infinite loops, fix phantom `/discover-and-add-mcps` command that was missing from builtin commands (#415)
13
+ - **`sql_analyze` reports "unknown error" for successful analyses** — tool returned error status even when analysis completed successfully (AI-5975) (#426)
14
+ - **Remove `semver` dependency from upgrade path** — replaced with zero-dependency version comparison to prevent users getting locked on old versions when `semver` fails to load (#421)
15
+ - **Ship `discover-and-add-mcps` as a builtin command** — moved from `.opencode/command/` config directory to embedded template so it works out of the box (#409)
16
+
17
+ ### Testing
18
+
19
+ - Comprehensive upgrade decision tests covering version comparison, downgrade prevention, and edge cases (#421)
20
+ - Codespace E2E tests for `GITHUB_TOKEN` filtering, retry caps, and provider initialization (#415)
21
+
22
+ ## [0.5.8] - 2026-03-23
23
+
24
+ ### Fixed
25
+
26
+ - **dbt commands crash with `SyntaxError: Cannot use import statement`** — bundled `dbt-tools/` was missing `package.json` with `"type": "module"`, causing Node to default to CJS and reject ESM imports. Broken since v0.5.3. (#407)
27
+ - **Publish script idempotency** — re-running `publish.ts` without cleaning `dist/` would crash because the synthesized `dbt-tools/package.json` (no `name`/`version`) polluted the binary glob scan (#407)
28
+ - **Skill builder `ctrl+i` keybind** — ESC navigation and dialog lifecycle fixes in TUI skill management (#386)
29
+ - **Upgrade notification silently skipped** — multiple scenarios where the upgrade check was bypassed (#389)
30
+ - **Phantom `sql_validate` tool** — removed non-existent tool reference from analyst agent permissions, replaced with `altimate_core_validate` (#352)
31
+ - **CI test suite stability** — eliminated 29 pre-existing test failures: added `duckdb` devDependency, fixed native binding contention with retry logic and `beforeAll` connections, increased timeouts for slow bootstrap operations, added `--timeout 30000` to CI workflow (#411)
32
+
33
+ ### Added
34
+
35
+ - **Recap (renamed from Tracer)** — session recap with loop detection and enhanced viewer (#381)
36
+ - **ESM bundling regression tests** — 9 e2e tests verifying Node can load `altimate-dbt` via symlink, wrapper, and direct invocation paths
37
+
38
+ ### Testing
39
+
40
+ - 133 new tests across 9 modules: finops role access, tool lookup, config path parsing, ID generation, file ignore/traversal, patch operations, session instructions/messages/summaries, shell utilities (#403)
41
+ - SQL validation adversarial + e2e test suites (#352)
42
+ - Provider error classification — overflow detection and message extraction (#375)
43
+ - Impact analysis DAG traversal and training import parsing (#384)
44
+ - RPC client protocol and `abortAfter`/`abortAfterAny` coverage (#382)
45
+ - Color, signal, and defer utility coverage (#379)
46
+ - MCP config CRUD + Locale utility coverage (#369)
47
+
8
48
  ## [0.5.7] - 2026-03-22
9
49
 
10
50
  ### Added
@@ -0,0 +1,3 @@
1
+ {
2
+ "type": "module"
3
+ }
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.7",
10
+ "version": "0.5.9",
11
11
  "license": "MIT",
12
12
  "dependencies": {
13
13
  "@altimateai/altimate-core": "^0.2.5"
14
14
  },
15
15
  "optionalDependencies": {
16
- "@altimateai/altimate-code-linux-x64": "0.5.7",
17
- "@altimateai/altimate-code-windows-arm64": "0.5.7",
18
- "@altimateai/altimate-code-linux-arm64-musl": "0.5.7",
19
- "@altimateai/altimate-code-darwin-x64": "0.5.7",
20
- "@altimateai/altimate-code-windows-x64": "0.5.7",
21
- "@altimateai/altimate-code-linux-x64-musl": "0.5.7",
22
- "@altimateai/altimate-code-darwin-x64-baseline": "0.5.7",
23
- "@altimateai/altimate-code-linux-x64-baseline-musl": "0.5.7",
24
- "@altimateai/altimate-code-linux-x64-baseline": "0.5.7",
25
- "@altimateai/altimate-code-linux-arm64": "0.5.7",
26
- "@altimateai/altimate-code-darwin-arm64": "0.5.7",
27
- "@altimateai/altimate-code-windows-x64-baseline": "0.5.7"
16
+ "@altimateai/altimate-code-linux-x64": "0.5.9",
17
+ "@altimateai/altimate-code-windows-arm64": "0.5.9",
18
+ "@altimateai/altimate-code-linux-arm64-musl": "0.5.9",
19
+ "@altimateai/altimate-code-darwin-x64": "0.5.9",
20
+ "@altimateai/altimate-code-windows-x64": "0.5.9",
21
+ "@altimateai/altimate-code-linux-x64-musl": "0.5.9",
22
+ "@altimateai/altimate-code-darwin-x64-baseline": "0.5.9",
23
+ "@altimateai/altimate-code-linux-x64-baseline-musl": "0.5.9",
24
+ "@altimateai/altimate-code-linux-x64-baseline": "0.5.9",
25
+ "@altimateai/altimate-code-linux-arm64": "0.5.9",
26
+ "@altimateai/altimate-code-darwin-arm64": "0.5.9",
27
+ "@altimateai/altimate-code-windows-x64-baseline": "0.5.9"
28
28
  },
29
29
  "peerDependencies": {
30
30
  "pg": ">=8",
@@ -7,7 +7,7 @@ description: Translate SQL queries between database dialects (Snowflake, BigQuer
7
7
 
8
8
  ## Requirements
9
9
  **Agent:** builder or migrator (may write translated SQL to files)
10
- **Tools used:** sql_translate, read, write, sql_validate
10
+ **Tools used:** sql_translate, read, write, altimate_core_validate
11
11
 
12
12
  Translate SQL queries from one database dialect to another using sqlglot's transpilation engine.
13
13
 
@@ -36,7 +36,7 @@ Translate SQL queries from one database dialect to another using sqlglot's trans
36
36
  - Any warnings about lossy translations or features that need manual review
37
37
 
38
38
  6. **Offer next steps** if applicable:
39
- - Suggest running `sql_validate` on the translated SQL to verify syntax
39
+ - Suggest running `altimate_core_validate` on the translated SQL to verify syntax
40
40
  - Offer to write the translated SQL to a file
41
41
  - Offer to translate additional queries
42
42
 
@@ -65,4 +65,4 @@ The user invokes this skill with optional dialect and SQL arguments:
65
65
  | Oracle | `oracle` |
66
66
  | Trino/Presto | `trino` / `presto` |
67
67
 
68
- Use the tools: `sql_translate`, `read`, `write`, `sql_validate`.
68
+ Use the tools: `sql_translate`, `read`, `write`, `altimate_core_validate`.