Skip to content

Commit 8d4e45b

Browse files
anandgupta42claude
andauthored
chore: rename npm scope from @Altimate to @AltimateAI (#22)
The npm org is @AltimateAI, not @Altimate. Update all package names, workspace dependencies, imports, and documentation to use the correct scope so npm publish succeeds. Name mapping: - @altimate/cli → @altimateai/altimate-code - @altimate/cli-sdk → @altimateai/altimate-code-sdk - @altimate/cli-plugin → @altimateai/altimate-code-plugin - @altimate/cli-util → @altimateai/altimate-code-util - @altimate/cli-script → @altimateai/altimate-code-script Also updates publish.ts to emit the wrapper package as @altimateai/altimate-code (no -ai suffix) and hardcodes the bin entry to altimate-code. Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 0a08668 commit 8d4e45b

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

79 files changed

+219
-220
lines changed

CONTRIBUTING.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,10 @@ Thank you for your interest in contributing to altimate-code! This guide will he
4343

4444
| Directory | Description |
4545
|---|---|
46-
| `packages/altimate-code/` | Main TypeScript CLI (`@altimate/cli`). Entry point, TUI, AI providers, MCP server, and dbt integration. |
46+
| `packages/altimate-code/` | Main TypeScript CLI (`@altimateai/altimate-code`). Entry point, TUI, AI providers, MCP server, and dbt integration. |
4747
| `packages/altimate-engine/` | Python engine. SQL parsing, analysis, lineage computation, and warehouse connectivity. |
48-
| `packages/plugin/` | CLI plugin system (`@altimate/cli-plugin`). Extend the CLI with custom tools. |
49-
| `packages/sdk/js/` | JavaScript SDK (`@altimate/cli-sdk`). OpenAPI-generated client for the Altimate API. |
48+
| `packages/plugin/` | CLI plugin system (`@altimateai/altimate-code-plugin`). Extend the CLI with custom tools. |
49+
| `packages/sdk/js/` | JavaScript SDK (`@altimateai/altimate-code-sdk`). OpenAPI-generated client for the Altimate API. |
5050
| `packages/util/` | Shared TypeScript utilities (error handling, logging). |
5151

5252
## Making Changes

SECURITY.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,9 @@ We appreciate the efforts of security researchers. With your consent, we will cr
3333

3434
This policy applies to:
3535

36-
- The `altimate-code` CLI (`@altimate/cli`)
36+
- The `altimate-code` CLI (`@altimateai/altimate-code`)
3737
- The `altimate-engine` Python package
38-
- The `@altimate/cli-sdk` and `@altimate/cli-plugin` packages
38+
- The `@altimateai/altimate-code-sdk` and `@altimateai/altimate-code-plugin` packages
3939
- Official Docker images
4040

4141
## Best Practices

bun.lock

Lines changed: 19 additions & 20 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/docs/getting-started.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
## Installation
44

55
```bash
6-
npm install -g @altimate/cli
6+
npm install -g @altimateai/altimate-code
77
```
88

99
## First run

docs/docs/guides/using-with-claude-code.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ altimate-code:
7676

7777
## Setup
7878

79-
1. Install altimate-code globally: `npm install -g @altimate/cli`
79+
1. Install altimate-code globally: `npm install -g @altimateai/altimate-code`
8080
2. Configure warehouse connections in your project
8181
3. Claude Code automatically discovers altimate-code's tools when the `/data` skill is invoked
8282

docs/docs/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Unlike general-purpose coding agents, altimate-code is built for data teams:
2525

2626
```bash
2727
# Install
28-
npm install -g @altimate/cli
28+
npm install -g @altimateai/altimate-code
2929

3030
# Launch the TUI
3131
altimate-code

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,9 @@
4141
"turbo": "2.5.6"
4242
},
4343
"dependencies": {
44-
"@altimate/cli-plugin": "workspace:*",
45-
"@altimate/cli-script": "workspace:*",
46-
"@altimate/cli-sdk": "workspace:*",
44+
"@altimateai/altimate-code-plugin": "workspace:*",
45+
"@altimateai/altimate-code-script": "workspace:*",
46+
"@altimateai/altimate-code-sdk": "workspace:*",
4747
"typescript": "catalog:"
4848
},
4949
"license": "MIT",

packages/altimate-code/package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"$schema": "https://json.schemastore.org/package.json",
33
"version": "0.1.0",
4-
"name": "@altimate/cli",
4+
"name": "@altimateai/altimate-code",
55
"type": "module",
66
"license": "MIT",
77
"private": true,
@@ -21,7 +21,7 @@
2121
"devDependencies": {
2222
"@babel/core": "7.28.4",
2323
"@octokit/webhooks-types": "7.6.1",
24-
"@altimate/cli-script": "workspace:*",
24+
"@altimateai/altimate-code-script": "workspace:*",
2525
"@parcel/watcher-darwin-arm64": "2.5.1",
2626
"@parcel/watcher-darwin-x64": "2.5.1",
2727
"@parcel/watcher-linux-arm64-glibc": "2.5.1",
@@ -67,10 +67,10 @@
6767
"@ai-sdk/togetherai": "1.0.34",
6868
"@ai-sdk/vercel": "1.0.33",
6969
"@ai-sdk/xai": "2.0.51",
70-
"@altimate/cli-plugin": "workspace:*",
71-
"@altimate/cli-script": "workspace:*",
72-
"@altimate/cli-sdk": "workspace:*",
73-
"@altimate/cli-util": "workspace:*",
70+
"@altimateai/altimate-code-plugin": "workspace:*",
71+
"@altimateai/altimate-code-script": "workspace:*",
72+
"@altimateai/altimate-code-sdk": "workspace:*",
73+
"@altimateai/altimate-code-util": "workspace:*",
7474
"@aws-sdk/credential-providers": "3.993.0",
7575
"@clack/prompts": "1.0.0-alpha.1",
7676
"@gitlab/gitlab-ai-provider": "3.6.0",

packages/altimate-code/script/build.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ const dir = path.resolve(__dirname, "..")
1212

1313
process.chdir(dir)
1414

15-
import { Script } from "@altimate/cli-script"
15+
import { Script } from "@altimateai/altimate-code-script"
1616
import pkg from "../package.json"
1717

1818
const modelsUrl = process.env.OPENCODE_MODELS_URL || "https://models.dev"
@@ -212,7 +212,7 @@ for (const item of targets) {
212212

213213
if (Script.release) {
214214
for (const key of Object.keys(binaries)) {
215-
const archiveName = key.replace(/^@altimate\//, "")
215+
const archiveName = key.replace(/^@altimateai\//, "")
216216
const archivePath = path.resolve("dist", archiveName)
217217
if (key.includes("linux")) {
218218
await $`tar -czf ${archivePath}.tar.gz *`.cwd(`dist/${key}/bin`)

packages/altimate-code/script/publish.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/env bun
22
import { $ } from "bun"
33
import pkg from "../package.json"
4-
import { Script } from "@altimate/cli-script"
4+
import { Script } from "@altimateai/altimate-code-script"
55
import { fileURLToPath } from "url"
66

77
const dir = fileURLToPath(new URL("..", import.meta.url))
@@ -23,9 +23,9 @@ await Bun.file(`./dist/${pkg.name}/LICENSE`).write(await Bun.file("../../LICENSE
2323
await Bun.file(`./dist/${pkg.name}/package.json`).write(
2424
JSON.stringify(
2525
{
26-
name: pkg.name + "-ai",
26+
name: pkg.name,
2727
bin: {
28-
[pkg.name]: `./bin/${pkg.name}`,
28+
"altimate-code": "./bin/altimate-code",
2929
},
3030
scripts: {
3131
postinstall: "bun ./postinstall.mjs || node ./postinstall.mjs",

0 commit comments

Comments
 (0)