@devries-cameron20 / composio-1 / commits / fa933a6f9
Fork 0

Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.

fix(ts): point published package homepage links at the next branch (#3821)

```markdown The `homepage` field in every published TypeScript package points at `https://github.com/ComposioHQ/composio/tree/main/ts/packages/<pkg>#readme`. The repository's default branch is `next` and there is no `main` branch, and GitHub does not redirect `tree/<branch>` paths to the default branch when that branch does not exist. As a result each of these homepage links returns a 404 wherever it is surfaced (the package page on npmjs.com, editor/IntelliSense hovers, and `npm view <pkg> homepage`). This repoints each `homepage` to `tree/next/...` so the links resolve. The `repository.url` (plain `.git` URL) and `bugs.url` fields were already correct and are left untouched. The metadata was originally added in #3611; this only corrects the branch in the `homepage` URLs. Fixes # ## Changes - Update the `homepage` field from `tree/main/...` to `tree/next/...` in the 14 published packages that carry one: `@composio/core`, `@composio/slim`, `@composio/experimental`, `@composio/json-schema-to-zod`, and the providers `@composio/anthropic`, `@composio/claude-agent-sdk`, `@composio/cloudflare`, `@composio/google`, `@composio/langchain`, `@composio/llamaindex`, `@composio/mastra`, `@composio/openai`, `@composio/openai-agents`, `@composio/vercel`. - Add a Changeset (patch) covering those 14 published packages. ## Type of change - [x] Bug fix - [ ] New feature - [ ] Refactor/Chore - [ ] Documentation - [ ] Breaking change ## How Has This Been Tested? Metadata-only change, so there is no unit test to add. Verified with: - Confirmed the target branch: `git ls-remote --symref origin HEAD` reports `refs/heads/next`, and `git ls-remote --heads origin main` is empty (no `main`). - Confirmed the links resolve: `https://github.com/ComposioHQ/composio/tree/main/ts/packages/core` returns HTTP 404 while `.../tree/next/ts/packages/core` returns HTTP 200 (same for the provider packages). - All 14 edited `package.json` files still parse as valid JSON. - `pnpm exec prettier --check` on the 14 `package.json` files and the changeset: all pass. - `pnpm changeset status --since=origin/next` lists exactly these 14 packages bumping at `patch` (no missing or extra packages), so the changeset CI check is satisfied. Environment: node 26, pnpm 10.28.0. ## Screenshots (if applicable) ## Checklist - [x] I have read the Code of Conduct and this PR adheres to it - [x] I ran linters/tests locally and they passed - [ ] I updated documentation as needed - [x] I added tests or explain why not applicable - [x] I added a changeset if this change affects published packages ## Additional context The `homepage` URLs pin an explicit branch (`tree/<branch>`), so they will break again if the default branch is ever renamed. If you would prefer a branch-agnostic form (for example dropping the `tree/<branch>` segment so the URL tracks the default branch, or linking to the published README), I am happy to switch to that instead; I went with the smallest correct fix of pointing at the actual default branch. ``` Signed-off-by: Anas Khan <83116240+anxkhn@users.noreply.github.com>

Anas Khan committed Jul 13, 2026 at 21:36 UTC fa933a6f9be5247bdd38b2a4b71ae56e9704bf51
15 files changed +32 -14
.changeset/fix-package-homepage-branch.md new
+18
@@ -0,0 +1,18 @@
1 +---
2 +'@composio/core': patch
3 +'@composio/slim': patch
4 +'@composio/experimental': patch
5 +'@composio/json-schema-to-zod': patch
6 +'@composio/anthropic': patch
7 +'@composio/claude-agent-sdk': patch
8 +'@composio/cloudflare': patch
9 +'@composio/google': patch
10 +'@composio/langchain': patch
11 +'@composio/llamaindex': patch
12 +'@composio/mastra': patch
13 +'@composio/openai': patch
14 +'@composio/openai-agents': patch
15 +'@composio/vercel': patch
16 +---
17 +
18 +Fix the `homepage` links in these packages' `package.json`. They pointed at `github.com/ComposioHQ/composio/tree/main/...`, but the default branch is `next` and no `main` branch exists, so every link 404'd on npm and in editor tooltips. They now point at `tree/next/...`.
ts/packages/core/package.json
+1 -1
@@ -124,5 +124,5 @@
124 "bugs": {
125 "url": "https://github.com/ComposioHQ/composio/issues"
126 },
127 - "homepage": "https://github.com/ComposioHQ/composio/tree/main/ts/packages/core#readme"
127 + "homepage": "https://github.com/ComposioHQ/composio/tree/next/ts/packages/core#readme"
128 }
ts/packages/experimental/package.json
+1 -1
@@ -12,7 +12,7 @@
12 "bugs": {
13 "url": "https://github.com/ComposioHQ/composio/issues"
14 },
15 - "homepage": "https://github.com/ComposioHQ/composio/tree/main/ts/packages/experimental#readme",
15 + "homepage": "https://github.com/ComposioHQ/composio/tree/next/ts/packages/experimental#readme",
16 "publishConfig": {
17 "access": "public",
18 "main": "dist/index.mjs",
ts/packages/json-schema-to-zod/package.json
+1 -1
@@ -12,7 +12,7 @@
12 "bugs": {
13 "url": "https://github.com/ComposioHQ/composio/issues"
14 },
15 - "homepage": "https://github.com/ComposioHQ/composio/tree/main/ts/packages/json-schema-to-zod#readme",
15 + "homepage": "https://github.com/ComposioHQ/composio/tree/next/ts/packages/json-schema-to-zod#readme",
16 "publishConfig": {
17 "access": "public",
18 "main": "dist/index.mjs",
ts/packages/providers/anthropic/package.json
+1 -1
@@ -12,7 +12,7 @@
12 "bugs": {
13 "url": "https://github.com/ComposioHQ/composio/issues"
14 },
15 - "homepage": "https://github.com/ComposioHQ/composio/tree/main/ts/packages/providers/anthropic#readme",
15 + "homepage": "https://github.com/ComposioHQ/composio/tree/next/ts/packages/providers/anthropic#readme",
16 "publishConfig": {
17 "access": "public",
18 "main": "dist/index.mjs",
ts/packages/providers/claude-agent-sdk/package.json
+1 -1
@@ -12,7 +12,7 @@
12 "bugs": {
13 "url": "https://github.com/ComposioHQ/composio/issues"
14 },
15 - "homepage": "https://github.com/ComposioHQ/composio/tree/main/ts/packages/providers/claude-agent-sdk#readme",
15 + "homepage": "https://github.com/ComposioHQ/composio/tree/next/ts/packages/providers/claude-agent-sdk#readme",
16 "publishConfig": {
17 "access": "public",
18 "main": "dist/index.mjs",
ts/packages/providers/cloudflare/package.json
+1 -1
@@ -12,7 +12,7 @@
12 "bugs": {
13 "url": "https://github.com/ComposioHQ/composio/issues"
14 },
15 - "homepage": "https://github.com/ComposioHQ/composio/tree/main/ts/packages/providers/cloudflare#readme",
15 + "homepage": "https://github.com/ComposioHQ/composio/tree/next/ts/packages/providers/cloudflare#readme",
16 "publishConfig": {
17 "access": "public",
18 "main": "dist/index.mjs",
ts/packages/providers/google/package.json
+1 -1
@@ -12,7 +12,7 @@
12 "bugs": {
13 "url": "https://github.com/ComposioHQ/composio/issues"
14 },
15 - "homepage": "https://github.com/ComposioHQ/composio/tree/main/ts/packages/providers/google#readme",
15 + "homepage": "https://github.com/ComposioHQ/composio/tree/next/ts/packages/providers/google#readme",
16 "publishConfig": {
17 "access": "public",
18 "main": "dist/index.mjs",
ts/packages/providers/langchain/package.json
+1 -1
@@ -12,7 +12,7 @@
12 "bugs": {
13 "url": "https://github.com/ComposioHQ/composio/issues"
14 },
15 - "homepage": "https://github.com/ComposioHQ/composio/tree/main/ts/packages/providers/langchain#readme",
15 + "homepage": "https://github.com/ComposioHQ/composio/tree/next/ts/packages/providers/langchain#readme",
16 "publishConfig": {
17 "access": "public",
18 "main": "dist/index.mjs",
ts/packages/providers/llamaindex/package.json
+1 -1
@@ -12,7 +12,7 @@
12 "bugs": {
13 "url": "https://github.com/ComposioHQ/composio/issues"
14 },
15 - "homepage": "https://github.com/ComposioHQ/composio/tree/main/ts/packages/providers/llamaindex#readme",
15 + "homepage": "https://github.com/ComposioHQ/composio/tree/next/ts/packages/providers/llamaindex#readme",
16 "publishConfig": {
17 "access": "public",
18 "main": "dist/index.mjs",
ts/packages/providers/mastra/package.json
+1 -1
@@ -12,7 +12,7 @@
12 "bugs": {
13 "url": "https://github.com/ComposioHQ/composio/issues"
14 },
15 - "homepage": "https://github.com/ComposioHQ/composio/tree/main/ts/packages/providers/mastra#readme",
15 + "homepage": "https://github.com/ComposioHQ/composio/tree/next/ts/packages/providers/mastra#readme",
16 "publishConfig": {
17 "access": "public",
18 "main": "dist/index.mjs",
ts/packages/providers/openai-agents/package.json
+1 -1
@@ -12,7 +12,7 @@
12 "bugs": {
13 "url": "https://github.com/ComposioHQ/composio/issues"
14 },
15 - "homepage": "https://github.com/ComposioHQ/composio/tree/main/ts/packages/providers/openai-agents#readme",
15 + "homepage": "https://github.com/ComposioHQ/composio/tree/next/ts/packages/providers/openai-agents#readme",
16 "publishConfig": {
17 "access": "public",
18 "main": "dist/index.mjs",
ts/packages/providers/openai/package.json
+1 -1
@@ -12,7 +12,7 @@
12 "bugs": {
13 "url": "https://github.com/ComposioHQ/composio/issues"
14 },
15 - "homepage": "https://github.com/ComposioHQ/composio/tree/main/ts/packages/providers/openai#readme",
15 + "homepage": "https://github.com/ComposioHQ/composio/tree/next/ts/packages/providers/openai#readme",
16 "publishConfig": {
17 "access": "public",
18 "main": "dist/index.mjs",
ts/packages/providers/vercel/package.json
+1 -1
@@ -12,7 +12,7 @@
12 "bugs": {
13 "url": "https://github.com/ComposioHQ/composio/issues"
14 },
15 - "homepage": "https://github.com/ComposioHQ/composio/tree/main/ts/packages/providers/vercel#readme",
15 + "homepage": "https://github.com/ComposioHQ/composio/tree/next/ts/packages/providers/vercel#readme",
16 "publishConfig": {
17 "access": "public",
18 "main": "dist/index.mjs",
ts/packages/slim/package.json
+1 -1
@@ -115,5 +115,5 @@
115 "bugs": {
116 "url": "https://github.com/ComposioHQ/composio/issues"
117 },
118 - "homepage": "https://github.com/ComposioHQ/composio/tree/main/ts/packages/slim#readme"
118 + "homepage": "https://github.com/ComposioHQ/composio/tree/next/ts/packages/slim#readme"
119 }