Commit Graph

49 Commits

Author SHA1 Message Date
Soham Basu 42ce7609a2 feat(docs): launch unified support knowledge MVP 2026-08-21 15:03:54 -07:00
Kshitij Jhunjhunwala 5ca29e857e docs: restore auth pages to the sidebar as an Authentication folder
PR #4099 dropped 8 auth pages from meta.json. That was a net win for
machines (Loop 5 eval: 84/100 vs 77/100, tool-routing failure mode gone)
but it made the pages unreachable by clicking. PostHog, weekday-matched
and control-adjusted, shows the affected pages down 14-64pp beyond the
site-wide baseline drift.

Restore human navigation without touching the machine-facing wins:

- authentication.mdx becomes authentication/index.mdx and the 7 sibling
  auth pages move into the folder. /docs/authentication keeps its URL
  (fumadocs serves index.mdx at the folder route), so Core concepts
  still shows one row and the top-level sidebar row count stays 20.
- shared-connections moves into extending-sessions: it is experimental
  and is a session capability, not a core auth concept.
- "Migration and security" splits into "Migration" and "Security and
  data" — separator headings, not clickable rows.
- Drop AUTHENTICATION_GUIDE_URLS from app/llms.txt/route.ts. The pages
  are back in the page tree, so they emit automatically under Core
  concepts -> Authentication; the hardcoded list would now duplicate.
- 8 permanent redirects for the old URLs (36-42% Google entry rate on
  most of them), plus existing redirect destinations repointed so none
  of them chain.
- ~90 inbound links rewritten across content, api-overviews, app, lib
  and agent instructions. lint:links is the gate: 0 errors.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-14 12:02:53 -07:00
Anshu Garg 57557fc54b docs(webhooks): render the webhook payload reference (PLEN-2793) (#3910)
## Summary

Implements the docs half of **PLEN-2793** — renders a typed public
reference for the payloads Composio delivers to customer webhook URLs,
under **API Reference → Webhook Events**.

Pairs with platform PR ComposioHQ/platform#11389, which generates the
spec.

## What's here

- **`docs/public/openapi-webhooks.json`** — the generated OpenAPI
**3.1** spec (top-level `webhooks`: `composio.trigger.message`,
`composio.connected_account.expired`, `composio.trigger.disabled`),
produced from the webhook payload Zod schemas in Apollo (SSOT). Finishes
the earlier untracked WIP: adds the missing `trigger.disabled` event and
reuses shared schemas as `$ref` (`WebhookEventEnvelope`,
`ConnectedAccountDetailed`).
- **`docs/lib/openapi.ts`** — adds the spec as a **second input** to the
v3.1 reference source. Fumadocs (`fumadocs-openapi`) renders the
`webhooks` block natively; operations group under the "Webhook Events"
tag at `api-reference/webhook-events/*`.
- **`webhook-events/index.mdx`** — landing page listing the three
events, cross-linked to the Webhook Subscriptions API and signature
verification.

## Why a separate 3.1 spec

`webhooks` is a 3.1-only top-level field; the main `openapi.json` is
3.0. A separate file keeps the main spec (and its sync pipeline)
untouched and avoids the docs' union-normalisation pass. See the
platform PR for the full rationale.

## Verified locally

- [x] `bun scripts/validate-links.ts` — **0 errors** (the generated
`handle_composio_*` webhook pages resolve; no collision with the
hand-authored `index.mdx`)
- [x] `bun test tests/static/` — 33 pass / 0 fail
- [x] `bun run types:check` — clean

## Notes

- Setup, subscription, and signature-verification docs already exist
(`setting-up-triggers/*`) and are cross-linked, not rewritten.
- Follow-up (optional): auto-sync the webhooks spec from Apollo on prod
deploy (currently committed by hand), mirroring the main-spec
`docs-update-data` pipeline.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

---------

Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
Co-authored-by: claude[bot] <41898282+claude[bot]@users.noreply.github.com>
Co-authored-by: jkomyno <alberto@composio.dev>
2026-07-27 22:17:22 +05:30
Rahul Tarak d17a268d3f docs: sessions-first rewrite — new guides, examples & components (+ core 0.13.0 SDK changes) (#3637)
Integration branch for the next docs release: a **sessions-first
documentation rewrite** — new and rewritten guides, example pages,
interactive components, and docs tooling — plus the supporting SDK
changes that the new docs describe.

The bulk of this PR is docs (~24k lines across ~150 commits); the SDK
changes (~5k lines) back the new guides.

## Documentation (the bulk)

- **Sessions-first restructure** — reorganized navigation and section
structure (incl. the "Sandbox (prev workbench)" section), with
v3-reorganization redirects so old URLs keep resolving.
- **Rewritten core guides** — quickstart, configuring sessions, triggers
(creating + subscribing to events), proxy-execute, toolkits
enable/disable, and common FAQ, rewritten in the house voice.
- **New example pages** — local-sandbox PR reviewer, daily standup bot,
and slack bot, with runnable build-ups.
- **New interactive components & diagrams** — triggers flow animation,
manage-connections visual, connection-refresh visual, and the
terminal-kit components.
- **Docs tooling** — a docs-graph link-graph connectivity checker,
search reprioritization (deprioritize legacy pages), and SDK-reference
regeneration.

## Supporting SDK changes

**`@composio/core` → 0.13.0 (minor)**
- `composio.sessions.create()` as the first-class sessions API
(`composio.create()` kept as an alias).
- **MCP is opt-in:** default `create()` / `use()` return native-tool
sessions (`SessionWithoutMcp`); pass `{ mcp: true }` to surface
`session.mcp`. _Migration: read `session.mcp` only after creating with
`{ mcp: true }`._
- `session.sandbox` is the canonical resolved config;
`session.workbench` kept as a deprecated alias. `sandbox` is the
preferred session-config key (`workbench` still accepted).
- `connectedAccounts.updateAcl()` graduated from experimental (alias
kept).
- `triggers.parse()` (parse + optionally verify an incoming webhook) and
`triggers.setWebhookSubscription()`.

**`@composio/experimental` → minor** — local-workbench helpers moved
onto the `@composio/experimental/workbench` subpath (out of
`@composio/core/experimental`), keeping the ~14 KB embedded Python
helper out of core. Plus the experimental Pi provider.

**`@composio/slim` → minor.**

**Python → 0.17.0** — mirrors the TS surface: `composio.sessions` mount
(`tool_router` deprecated), `triggers.parse()` /
`set_webhook_subscription()`, the `sandbox` config key, and
`connected_accounts.update_acl()`.

## Review response (#3664)

Addressed the `@composio/core` review:
- **Security:** `triggers.parse()` no longer fails open — a
present-but-empty `verifySecret` (e.g. unset `COMPOSIO_WEBHOOK_SECRET`)
now throws instead of silently skipping verification; omitting it stays
an explicit opt-out (both SDKs).
- Removed snake_case leakage from `transformWebhookSubscription` (+ the
index signature that allowed it).
- **Removed** the TS-only `connectedAccounts.link()` toolkit
auto-resolve (shipped with cancellability / orphaned-auth-config bugs
and was effectively undocumented; to be reintroduced properly later).
- Unified Python error types on `ValidationError`; added `mcp=True`
Python tests; fixed runtime-portability + error-type test assertions.
- Polished deprecation messages; fixed the backwards `/experimental`
`@deprecated` note and the `SessionWithMcp` JSDoc.

## Testing

- **TS:** `@composio/core` + `@composio/experimental` typecheck pass;
vitest green for the touched suites.
- **Python:** `test_tool_router.py` + `test_triggers.py` pass (161
tests).

---------

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-authored-by: Kshitij Jhunjhunwala <kj@composio.dev>
Co-authored-by: Malay Vasa <malayvasa@gmail.com>
Co-authored-by: Sarah Simionescu <sarah@composio.dev>
Co-authored-by: Kshitij Jhunjhunwala <113939507+KJ-11@users.noreply.github.com>
2026-06-25 18:27:43 -07:00
Alberto Schiabel 80448048a8 docs: remove legacy custom tools references and retarget redirects (#3510)
This PR is **part 3 of 3** splitting
https://github.com/ComposioHQ/composio/pull/3505 to make the removal of
the old 2025 custom tools easier to review. It carries the **docs**
slice.

- builds on top of https://github.com/ComposioHQ/composio/pull/3509
(stacked — this PR's base is `remove-ts-custom-tools`)
- deletes the legacy `/docs/tools-direct/custom-tools` page and prunes
its `meta.json` entry
- retargets redirects for `/docs/tools-direct/custom-tools` and the
`:path*` wildcard to `/docs/toolkits/custom-tools-and-toolkits`, with
matching `redirects.test.ts` expectations
- updates migration-guide, glossary, proxy-execute, and executing-tools
prose; fixes the `ctx.proxyExecute` example to include the required
GitHub toolkit
- updates agent guidance (`AGENTS.md`, `building-agents` skills) to the
experimental custom tools API

## Notes

- This slice is a byte-identical subset of #3505 — the three split
branches recombine to that PR's exact tree. Docs link/redirect checks
could not run in the source checkout (missing docs deps); CI runs them
per PR.
2026-06-04 23:54:08 -07:00
Rahul Tarak 3411c39adc docs: update CLI and reference navigation (#3462)
## Summary
- Rework the CLI docs around Composio for You / Claude Code usage, with
sections for knowledge work, `run`/sub-agents, trigger listening,
developer workflows, and unsupported direct CLI embedding.
- Move CLI into the top of Other topics and remove single-toolkit MCP
from the Docs sidebar.
- Move Changelog into Reference after Errors, with a grouped single-page
changelog, scroll-based date anchors, and redirects from old
`/docs/changelog` URLs.
- Add the Claude logo to the “Open in Claude” page action.

## Tests
- `cd docs && bun run lint:links`
- `cd docs && bun test tests/static/navigation.test.ts`
- `cd docs && bun run build`
2026-05-19 17:01:58 -07:00
Rahul Tarak e842e68e4b docs: merge and group guide content (#3456)
## Summary
- Stack this PR on top of #3455 (`docs/love-fixes`).
- Rework the former Core Concepts / Getting Started / Guides / Features
area into a smaller set of sections:
  - Build with sessions
  - Authenticate users
  - Triggers and webhooks
  - Direct Tool Execution Guides (Legacy)
  - Other topics
- Move conceptual session pages (`how-composio-works`, users/sessions,
tools/toolkits, authentication, workbench, triggers) into the
appropriate grouped sections.
- Merge duplicated custom-auth content into `Managed vs custom auth`
(`/docs/custom-app-vs-managed-app`) and redirect the old
`/docs/using-custom-auth-configuration` URL.
- Trim repeated OAuth-app setup from white-labeling docs so that page
focuses on branding, callback-domain routing, and post-auth redirect UX.
- Clean up “What to read next” cards so non-legacy pages no longer point
at direct-execution docs and first point to the next item in their
section where possible.
- Fix the session lifecycle contradiction in `how-composio-works` so it
matches the current persisted/reusable session model.

## Checks
- `cd docs && bun run lint:links`
- `cd docs && bun test tests/static/navigation.test.ts`
2026-05-19 05:17:31 -07:00
Rahul Tarak 9acfa852b2 docs: tidy welcome page, fix playground link, hide ugly Ask AI tab (#3455)
## Summary

Three small docs polishes:

- **Hide the disgusting "Ask AI" side tab.** The Decimal widget renders
its own `.decimal-widget-sidebar-tab` launcher (vertical pill with
sideways text) on every page. We already trigger the widget from our own
"Ask AI" button in the nav, so the third-party launcher is redundant
*and* ugly. Hidden via CSS in `app/global.css`.
- **Fix the Playground nav link.** It pointed at
`platform.composio.dev/auth?next_page=/tool-router` — which (a) hits a
dead host now that platform has moved to `dashboard.composio.dev`, and
(b) lost the playground's connect check on the redirect. Repointed to
`https://dashboard.composio.dev/~/project/playground`, which is the
dashboard's smart-resolver route: it handles login (`?next=`), looks up
`last_visited` / default org+project, and lands the user on
`/{org}/{project}/playground` with the connect step intact. Same fix
applied to the toolkits landing CTA and the welcome-page Playground
card.
- **Trim the welcome page.** Dropped the duplicated intro Cards row, the
"Get Started" / "Explore" / "Features" / "Community" headers, and the
secondary Features grid. Now it's: intro → AIToolsBanner → Quickstart →
Toolkits + Playground → Providers. Much cleaner.

## Test plan

- [ ] `bun run scripts/validate-links.ts` passes (already verified
locally — 0 errors)
- [ ] On preview deploy, the side "Ask AI" tab is gone
- [ ] Clicking "Playground" in the nav (logged out) lands on login →
playground; (logged in) lands on `/{org}/{project}/playground`
- [ ] Welcome page renders without missing-icon errors

🤖 Generated with [Claude Code](https://claude.com/claude-code)

---------

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-19 04:09:48 -07:00
Sushmitha Mallesh 4676e6aab4 docs: fix misleading redirect comment in next.config.mjs
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-04 20:43:48 -08:00
Sushmitha Mallesh e54aaee13b docs: add long_redirect_url section, improve redirect headings, add /docs/white-labeling redirect
- Add "Sending users directly to the OAuth provider" section to direct execution white-labeling page
- Rename redirect sections on both pages for clarity: "Routing the callback through your domain"
- Add 301 redirect from /docs/white-labeling to /docs/white-labeling-authentication
- Fix Python code example to use correct ConnectionState structure

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-04 01:41:02 -08:00
Sushmitha Mallesh 2838ba7629 docs: remove Full Stack Chat App cookbook, redirect to Build a Chat App
The vercel-chat cookbook pointed to an external repo with outdated patterns.
Build a Chat App covers the same use case with the session-based approach.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-25 19:01:40 -08:00
Sushmithamallesh e88c77a5aa docs: fix providers redirect, put Agent Frameworks above AI SDKs
- Remove old /docs/providers → /docs/tools-and-toolkits redirect
- Reorder providers index: Agent Frameworks section first, then AI SDKs

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-17 19:17:03 -08:00
Sushmithamallesh b720461495 docs: Rename Examples → Cookbooks across entire docs site
Renames the "Examples" section to "Cookbooks" - directory structure,
routes, navigation, search, LLM endpoints, sitemap, and redirects.
Adds /examples/* → /cookbooks/* permanent redirects for backwards compat.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-16 02:23:09 -08:00
Sushmithamallesh d2c99e63ab fix: remove more wildcard redirects that could shadow reference pages
Removes wildcards for /reference/api-reference/v3/*, connectedaccounts/*,
/reference/connected-accounts/*, /reference/auth-configs/*, and
/reference/app-connector/* to prevent blocking dynamically generated pages.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-11 17:43:01 -08:00
Sushmithamallesh 5045680e17 fix: remove wildcard redirects blocking API reference endpoint pages
These redirects were catching all /reference/api-reference/{tag}/:operationId
URLs and redirecting them to the index page, preventing real OpenAPI-generated
endpoint pages from loading (e.g. projects/getOrgProjectConfig returned 308).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-11 17:35:46 -08:00
Sushmithamallesh b8f69170c3 docs: restructure webhook and event notification guides
Separate webhook verification and connection expiry events from
triggers into standalone guides, since they are distinct concepts.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-11 12:58:21 -08:00
sohamganatra c87790a880 fix(docs): Replace /features/* wildcard with specific redirects
Wildcard could block future /features/ pages. Replace with:
- /features/authentication → /docs/authentication
- /features/triggers → /docs/triggers

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-02-11 00:45:43 -08:00
sohamganatra 600ef1d727 fix(docs): Add redirect for /docs/how-tools-work
- /docs/how-tools-work → /docs/tools-and-toolkits

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-02-11 00:44:53 -08:00
sohamganatra c16201c7e3 fix(docs): Add redirects for /triggers and /features/* paths
- /triggers → /docs/triggers
- /features/* → /docs (AI agents hitting these bare paths)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-02-11 00:44:31 -08:00
Sushmitha Mallesh de111b64d5 Merge branch 'next' into docs/use-triggers-docs 2026-02-10 14:54:20 -08:00
sohamganatra 8169d1ba96 fix(docs): Correct redirect destinations per review feedback
- /tool-router/using-with-mcp-clients → /docs/quickstart (not single-toolkit-mcp)
- /docs/authenticating-users → /docs/tools-direct/authenticating-tools (not in-chat-auth)
- /docs/ai-sdk/* → /docs/providers/vercel (not generic providers)
- Remove /docs/guides/* catch-all (would break future guide pages)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-02-10 11:43:34 -08:00
Soham 4c324ae80d Merge branch 'next' into fix/docs-datadog-404s 2026-02-10 11:17:03 -08:00
sohamganatra cde822409f fix(docs): Add redirects for confirmed 404s from Datadog analysis
Analyzed 14K+ Datadog logs from the last week, tested all URLs against
the live site, and added redirects for the 98 confirmed real 404s.

Key fixes:
- /docs/frameworks/claude-code → /docs/providers/anthropic (AI agents hitting this)
- /apps/* → /toolkits/* (old URL scheme)
- /docs/guides/* → their new locations
- /tool-router/* remaining gaps
- Old concept/auth/cryptokit paths from v1 docs
- API reference operation ID gaps (apps, connections, api-keys, etc.)
- Old versioned API paths (v1, v-1, v3)

Build tested locally, all redirects return 308, existing pages unaffected.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-02-10 11:15:55 -08:00
Sushmithamallesh 25c509d7da docs: rename triggers nav to "Using Triggers" and fix redirect
Update /docs/using-triggers redirect to point to /docs/setting-up-triggers/creating-triggers instead of the old /docs/triggers.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-10 08:20:46 -08:00
Sushmithamallesh 90267c7c7d fix(docs): remove operationId redirects that break API pages
The catch-all :operationId redirects would intercept valid OpenAPI-generated
operation pages (e.g., /reference/api-reference/tool-router/postToolRouterSession)
and incorrectly redirect them to section indexes.

These pages ARE dynamically generated by fumadocs-openapi and linked from
the index.mdx files in each section.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-04 14:05:27 -08:00
sohamganatra b16374fc91 fix(docs): Add redirects for Fern operation ID 404s
Add redirects for old Fern API reference operation ID pages to their
section index pages. These operation-specific pages (e.g.,
postToolRouterSession) don't exist in the new fumadocs structure -
only index.mdx files exist for each section.

Uses :operationId (single segment) pattern to avoid redirecting the
working index pages while catching the broken operation ID URLs.

From Datadog 404 monitoring:
- /reference/api-reference/tool-router/postToolRouterSession → /reference/api-reference/tool-router
- /reference/api-reference/triggers/postTriggerInstancesBySlugUpsert → /reference/api-reference/triggers
- etc.

Also adds redirects for old Fern SDK reference and example URLs.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-03 10:03:41 -08:00
Sushmithamallesh c84493d997 fix: Add redirect for old Fern API reference URLs
Old Fern URLs like /api-reference/tools/post-tools-execute-by-tool-slug
now redirect to /reference/api-reference/tools/post-tools-execute-by-tool-slug,
where proxy.ts handles the kebab-to-camelCase conversion.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-30 19:25:51 -08:00
sohamganatra 6a427317e7 fix(docs): Add redirects for 27 monitored 404 paths
Add permanent redirects for old Fern documentation URLs discovered
via Datadog 404 monitoring. Covers old introduction, tool-calling,
framework, python SDK, authentication, changelog, MCP, patterns,
guides, and moved docs pages.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-28 18:23:07 -08:00
sohamganatra e28c09928c fix(docs): Add redirects for old Fern URLs returning 404
Redirect old documentation paths found via Datadog 404 logging:
- /introduction/foundations/components/triggers/* → /docs/triggers
- /toolkits/introduction → /docs/tools-and-toolkits
- /apps/usecases/crewai/* → /docs/providers/crewai
- /js-sdk/tools/execute → /docs/tools-direct/executing-tools
- /frameworks/others/* → /docs/providers
- /guides/examples/* → /examples
- /custom-tools/* → /docs/tools-direct/custom-tools

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-28 17:08:06 -08:00
sohamganatra 0346f0e893 fix(docs): Also redirect bare /tools to /toolkits
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-28 17:03:02 -08:00
sohamganatra ced2881cf5 fix(docs): Redirect /tools/* to /toolkits/*
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-28 17:02:04 -08:00
Sushmithamallesh dc2d9f5748 fix: Add redirect for /getting-started/welcome to /docs
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-28 16:07:40 -08:00
Sushmithamallesh 447c790825 perf(docs): Optimize image and video loading performance
- Figure component: Use Next.js Image with fade-in transition
- Video component: Simplify to thin wrapper, use consistently
- next.config: Enable AVIF/WebP formats, add responsive sizes
- Standardize video usage across MDX files

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-28 15:26:53 -08:00
Sushmithamallesh 0c59c984ae feat(docs): Add redirect from old error handling URL
Redirect /errors/error-handling to /reference/errors

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-28 12:50:07 -08:00
Sushmithamallesh aeeb96c560 docs: flatten MCP to single page, remove dropdown
- Move mcp/index.mdx to single-toolkit-mcp.mdx (no folder)
- Update all references and redirects
- Remove Multi-toolkit servers section

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-25 23:18:38 -08:00
Sushmithamallesh b43040447a docs: remove quickstart-tool-router, consolidate into quickstart
- Delete quickstart-tool-router.mdx (content merged into quickstart.mdx)
- Remove from navigation meta.json
- Update redirect to point to /docs/quickstart

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-25 22:38:59 -08:00
Sushmithamallesh 40725effa4 docs: Move Tools section to collapsible folder under Direct Tools
- Created tools-direct/ folder with all tool-related pages
- Made Tools folder collapsible (defaultOpen: false)
- Added redirects for old URLs

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-24 02:48:27 -08:00
Sushmithamallesh d1c561306e docs: Move Authentication to collapsible folder under Advanced section
- Created new "Advanced" section after Features
- Moved auth pages to auth-configuration/ folder
- Made Authentication folder collapsible (defaultOpen: false)
- Added redirects for old URLs

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-24 02:29:47 -08:00
Sushmithamallesh ade05f2060 docs: restructure Users & Sessions, flatten guides, add Configuring Sessions
- Rewrite users-and-sessions.mdx with cleaner conceptual content
- Create configuring-sessions.mdx guide for session configuration
- Flatten guides folder structure (move files to docs root)
- Update Anthropic provider page with Claude Agents SDK section
- Delete user-management.mdx (redirect to users-and-sessions#users)
- Delete multitenancy.mdx
- Update redirects in next.config.mjs

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-24 00:40:03 -08:00
Sushmithamallesh 119473dd45 fix(docs): add redirect for migration-guide/beta-to-stable
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-22 22:08:40 -08:00
Sushmithamallesh c5369010b3 docs: merge Tool Router section into main docs
- Move Tool Router content to main docs section:
  - Authentication pages → /docs/authenticating-users/
  - Guide pages → /docs/guides/
  - Toolkit pages → /docs/toolkits/
- Add MCP and native tool examples to provider pages:
  - openai-agents.mdx: Usage with Tools, Usage with MCP, Usage with direct tools
  - vercel.mdx: Usage with Tools, Usage with MCP, Usage with direct tools
  - anthropic.mdx: Usage with MCP, Usage with direct tools
- Remove Tool Router section entirely:
  - Delete content/tool-router/ folder
  - Delete app/(home)/tool-router/ routes
  - Remove from navigation, search, and LLM routes
- Remove "Usage with direct MCP servers" sections (deprecated approach)
- Update all internal links from /tool-router/* to /docs/*
- Add redirects for old Tool Router URLs

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-22 22:08:40 -08:00
Sushmithamallesh e880a9d8d3 Restructure docs: add Features section, update welcome page
- Create Features section with Triggers, CLI, and MCP
- Move MCP pages to expandable mcp/ folder
- Rename using-triggers.mdx to triggers.mdx
- Update welcome page with cleaner layout (Quickstart, Playground, Toolkits, Auth cards)
- Add redirects for old URLs
- Update toolkit count from 500+ to 800+
- Add Play and Terminal icons to mdx-components

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-22 15:43:55 -08:00
Sushmithamallesh 0cf789601a Move Tool Router migration guide to docs
- Create tool-router-beta.mdx in docs/migration-guide/
- Add to migration guide index and meta
- Remove from tool-router meta.json
- Add redirect from /tool-router/migration-guide
2026-01-22 01:21:30 -08:00
Sushmithamallesh f0f0883998 fix(docs): add redirects for moved core concepts pages 2026-01-22 01:10:37 -08:00
Sushmithamallesh 56ec74e23c refactor(docs): simplify .md routes with single catch-all
Replace 4 separate routes + 16 rewrites with:
- 1 unified route that handles all sources
- 2 rewrite rules: /:path*.md and /:path*.mdx

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-19 15:22:39 -08:00
Sushmithamallesh 9b076b0ec8 feat(docs): add PageActions and .md support to all sections
- Add PageActions to createDocsPage (fixes tool-router, examples)
- Add PageActions to reference pages
- Add .md routes for tool-router, examples, reference
- Extend rewrites to support all sections including index pages

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-19 15:20:23 -08:00
Sushmithamallesh 121691e970 feat(docs): add .md support and Accept header for AI agents
Following Lee Robinson's Agent-Ready principles:
- Add .md URL extension support (in addition to .mdx)
- Add proxy.ts for Accept: text/markdown header support
- Same URL serves HTML to browsers, Markdown to AI agents

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-19 14:12:52 -08:00
Sushmithamallesh 78a8af6001 feat(docs): add .mdx endpoint for AI agents
Add route handler and rewrite to serve markdown content at /docs/:path*.mdx
for AI agents to fetch page content directly.

- Add app/llms.mdx/docs/[[...slug]]/route.ts route handler
- Add rewrite rule in next.config.mjs
- Update getLLMText to include page URL in title

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-19 02:21:57 -08:00
Sushmithamallesh a4ec83a83a chore: rename fumadocs directory to docs
- Rename fumadocs/ directory to docs/
- Update all path references in GitHub workflows
- Update CODEOWNERS
- Update SDK doc generation scripts output paths
- Rename workflow file fumadocs-check-links.yml to docs-check-links.yml
- Update package.json name to @composio/docs

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-16 12:41:58 -08:00