Skip to content

Rename package to @cloudglue/cloudglue-js#93

Merged
kdr merged 1 commit into
mainfrom
kdr-rename-package
Feb 27, 2026
Merged

Rename package to @cloudglue/cloudglue-js#93
kdr merged 1 commit into
mainfrom
kdr-rename-package

Conversation

@kdr

@kdr kdr commented Feb 27, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Rename npm package from @aviaryhq/cloudglue-js to @cloudglue/cloudglue-js
  • Update all GitHub org references from aviaryhq to cloudglue (repo URLs, submodule, Makefile)
  • Normalize public API casing: CloudGlueCloudglue, CloudGlueErrorCloudglueError, CloudGlueConfigCloudglueConfig
  • Bump version to 0.7.0

Test plan

  • npm run build compiles cleanly
  • grep -r "CloudGlue" src/ returns zero matches
  • grep -r "aviaryhq" returns zero matches (excluding spec/ submodule)
  • npm pack --dry-run shows @cloudglue/cloudglue-js@0.7.0
  • Verify downstream imports: import { Cloudglue, CloudglueError } from '@cloudglue/cloudglue-js'

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Refactor

    • Renamed main client class from CloudGlue to Cloudglue.
    • Renamed error class from CloudGlueError to CloudglueError.
    • Renamed config interface from CloudGlueConfig to CloudglueConfig.
    • Package scope changed from @aviaryhq/cloudglue-js to @cloudglue/cloudglue-js.
  • Chores

    • Version bumped to 0.7.0.
    • Updated repository URLs and submodule references.

Rename npm package from @aviaryhq/cloudglue-js to @cloudglue/cloudglue-js,
update all GitHub org references from aviaryhq to cloudglue, and normalize
CloudGlue/CloudGlueError/CloudGlueConfig to Cloudglue/CloudglueError/CloudglueConfig.
Bump version to 0.7.0.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Feb 27, 2026

Copy link
Copy Markdown
📝 Walkthrough

Walkthrough

Organizational rebrand from Aviaryheq to Cloudglue. Updates package metadata, repository URLs, and renames public API classes (CloudGlue/CloudGlueError/CloudGlueConfig to Cloudglue/CloudglueError/CloudglueConfig) throughout codebase with version bump to 0.7.0.

Changes

Cohort / File(s) Summary
Repository & Package Configuration
.gitmodules, Makefile, package.json
Updated submodule and repository URLs from aviaryhq organization to cloudglue. Bumped package version from 0.6.4 to 0.7.0 and renamed package from @aviaryhq/cloudglue-js to @cloudglue/cloudglue-js.
Documentation
CLAUDE.md, README.md
Updated API documentation and examples to reflect renamed classes (CloudGlue→Cloudglue, CloudGlueError→CloudglueError, CloudGlueConfig→CloudglueConfig) and new package scope (@cloudglue/cloudglue-js).
Public API Definitions
src/client.ts, src/error.ts, src/types.ts, src/index.ts
Renamed exported public classes and interfaces: CloudGlue→Cloudglue, CloudGlueError→CloudglueError, CloudGlueConfig→CloudglueConfig. Updated documentation comments and internal error name properties.
API Implementation Files
src/api/chat-completion.api.ts, src/api/collections.api.ts, src/api/describe.api.ts, src/api/extract.api.ts, src/api/face-detection.api.ts, src/api/face-match.api.ts, src/api/files.api.ts, src/api/frame-extraction.api.ts, src/api/response.api.ts, src/api/segments.api.ts, src/api/transcribe.api.ts
Updated error class imports and throws from CloudGlueError to CloudglueError across all API modules. Updated JSDoc @throws annotations to reflect renamed error class.

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~20 minutes

Poem

🐰 From Aviaryheq to Cloudglue we hop,
Classes renamed from top to bottom non-stop,
Errors now Cloud-flavored, configs cloud-bright,
Package scope shifted to new orgs' delight!
Version bumped high as we bound through the sky. ☁️

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Title check ✅ Passed The title directly and accurately summarizes the primary change: renaming the npm package from @aviaryhq/cloudglue-js to @cloudglue/cloudglue-js. It is concise, clear, and specific.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
  • 📝 Generate docstrings (stacked PR)
  • 📝 Generate docstrings (commit on current branch)
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch kdr-rename-package

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 2

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@README.md`:
- Line 7: Update the intro sentence in README.md by hyphenating the compound
adjective: change "LLM ready" to "LLM-ready" in the line "Cloudglue makes it
easy to turn video into LLM ready data. Official JavaScript SDK for the
Cloudglue API." so the first sentence reads "Cloudglue makes it easy to turn
video into LLM-ready data." to use the correct compound adjective form.

In `@src/api/chat-completion.api.ts`:
- Line 2: Remove the unused import CloudglueError from the top of the file;
locate the import statement "import { CloudglueError } from '../error';" and
delete it so the file no longer imports an identifier that is never referenced
by the EnhancedChatApi class or any functions in this module.

ℹ️ Review info

Configuration used: defaults

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 23c5983 and ce02cf8.

⛔ Files ignored due to path filters (1)
  • package-lock.json is excluded by !**/package-lock.json
📒 Files selected for processing (20)
  • .gitmodules
  • CLAUDE.md
  • Makefile
  • README.md
  • package.json
  • src/api/chat-completion.api.ts
  • src/api/collections.api.ts
  • src/api/describe.api.ts
  • src/api/extract.api.ts
  • src/api/face-detection.api.ts
  • src/api/face-match.api.ts
  • src/api/files.api.ts
  • src/api/frame-extraction.api.ts
  • src/api/response.api.ts
  • src/api/segments.api.ts
  • src/api/transcribe.api.ts
  • src/client.ts
  • src/error.ts
  • src/index.ts
  • src/types.ts

Comment thread README.md
[![Discord](https://img.shields.io/discord/1366541583272382536?logo=discord&label=Discord)](https://discord.gg/QD5KWFVner)

Cloudglue makes it easy to turn video into LLM ready data. Official JavaScript SDK for the Cloudglue API.
Cloudglue makes it easy to turn video into LLM ready data. Official JavaScript SDK for the Cloudglue API.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟡 Minor

Hyphenate “LLM-ready” in the intro sentence.

Line 7 should use the compound adjective form for correct grammar.

✏️ Suggested doc fix
-Cloudglue makes it easy to turn video into LLM ready data. Official JavaScript SDK for the Cloudglue API.
+Cloudglue makes it easy to turn video into LLM-ready data. Official JavaScript SDK for the Cloudglue API.
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
Cloudglue makes it easy to turn video into LLM ready data. Official JavaScript SDK for the Cloudglue API.
Cloudglue makes it easy to turn video into LLM-ready data. Official JavaScript SDK for the Cloudglue API.
🧰 Tools
🪛 LanguageTool

[grammar] ~7-~7: Use a hyphen to join words.
Context: ...lue makes it easy to turn video into LLM ready data. Official JavaScript SDK for ...

(QB_NEW_EN_HYPHEN)

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@README.md` at line 7, Update the intro sentence in README.md by hyphenating
the compound adjective: change "LLM ready" to "LLM-ready" in the line "Cloudglue
makes it easy to turn video into LLM ready data. Official JavaScript SDK for the
Cloudglue API." so the first sentence reads "Cloudglue makes it easy to turn
video into LLM-ready data." to use the correct compound adjective form.

@@ -1,5 +1,5 @@
import { ChatApi } from '../../generated';
import { CloudGlueError } from '../error';
import { CloudglueError } from '../error';

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟡 Minor

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
# Search for CloudglueError usage in the file
rg -n 'CloudglueError' src/api/chat-completion.api.ts

Repository: cloudglue/cloudglue-js

Length of output: 110


🏁 Script executed:

#!/bin/bash
# Read the full content of the file to verify CloudglueError usage
cat -n src/api/chat-completion.api.ts

Repository: cloudglue/cloudglue-js

Length of output: 1133


Remove unused import CloudglueError.

CloudglueError is imported on line 2 but never referenced anywhere in the file. No methods in EnhancedChatApi use error handling that would require this import.

♻️ Proposed fix
 import { ChatApi } from '../../generated';
-import { CloudglueError } from '../error';
 import { schemas as chatSchemas } from '../../generated/Chat';
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
import { CloudglueError } from '../error';
import { ChatApi } from '../../generated';
import { schemas as chatSchemas } from '../../generated/Chat';
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@src/api/chat-completion.api.ts` at line 2, Remove the unused import
CloudglueError from the top of the file; locate the import statement "import {
CloudglueError } from '../error';" and delete it so the file no longer imports
an identifier that is never referenced by the EnhancedChatApi class or any
functions in this module.

@kdr kdr requested a review from amyxst February 27, 2026 01:14
@kdr kdr merged commit 99ef223 into main Feb 27, 2026
1 check passed
@kdr kdr deleted the kdr-rename-package branch February 27, 2026 01:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants