Commit Graph

1653 Commits

Author SHA1 Message Date
Musthaq Ahamad af5d5f2370 Release: update version (#2393)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@composio/vercel@0.5.1 @composio/openai@0.5.1 @composio/openai-agents@0.5.1 @composio/mastra@0.5.1 @composio/llamaindex@0.5.1 @composio/langchain@0.5.1 @composio/google@0.5.1 @composio/core@0.5.1 @composio/cloudflare@0.5.1 @composio/claude-agent-sdk@0.5.1 @composio/anthropic@0.5.1
2026-01-14 17:12:14 +05:30
Musthaq Ahamad 30550484a1 Update composio client package to fix authConfig update changes (#2391)
Co-authored-by: Anshu Garg <166364920+anshugarg15@users.noreply.github.com>
2026-01-14 17:06:49 +05:30
Sushmitha Mallesh 469ed328ac feat(fumadocs): add Twoslash type checking for code blocks (#2371) 2026-01-13 17:05:26 -08:00
Sushmithamallesh 53a48aec8a chore: retrigger checks 2026-01-13 16:58:35 -08:00
Sushmithamallesh 3da7a44381 chore(fumadocs): add next-env.d.ts to gitignore 2026-01-13 16:36:32 -08:00
Sushmithamallesh 950e9fb5b1 fix(fumadocs): move Twoslash cache to .next/cache for Vercel persistence
Vercel automatically persists .next/cache between builds but not custom
directories. Moving the cache ensures it's reused across deployments.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-13 16:34:23 -08:00
Sushmithamallesh 3b0dc6b88b perf(fumadocs): add Twoslash type caching for faster builds
- Install @shikijs/vitepress-twoslash for createFileSystemTypesCache
- Configure typesCache in source.config.ts
- Cache stored in .cache/twoslash (gitignored)
- First build creates cache, subsequent builds reuse it

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-13 16:33:00 -08:00
Sushmithamallesh 251f8b0bdf docs(fumadocs): document Twoslash patterns and SDK types
- Add reference docs exclusion documentation
- Document SDK-exported modifier types (beforeExecuteModifier,
  afterExecuteModifier, TransformToolSchemaModifier)
- Add declare pattern for external variables
- Add troubleshooting tips for callback types
- Update README with TypeScript code block validation section

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-13 16:18:48 -08:00
Sushmithamallesh 3e0a30049e Merge branch 'next' into feat/fumadocs-twoslash 2026-01-13 16:13:24 -08:00
Sushmithamallesh ccef8806c9 fix(fumadocs): add @noErrors to modifier docs for Twoslash
Add // @noErrors to all TypeScript code blocks in modifier documentation
to temporarily skip type checking while keeping the examples readable.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-13 16:11:40 -08:00
Sushmithamallesh 8a7f822709 fix(fumadocs): add Twoslash fixes for examples and exclude reference docs
- Exclude /reference/ docs from Twoslash validation via collection-level mdxOptions
- Fix hono.mdx with proper imports and declares for type checking
- Fix vercel-chat.mdx with @noErrors for partial code snippets
- Add @noErrors to changelog code blocks

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-13 15:37:13 -08:00
Sushmitha Mallesh d2a23b68a1 Fumadocs: refine dark theme and hover styles (#2380) 2026-01-13 10:50:12 -08:00
Sushmithamallesh 3d2849cce1 Fix Tailwind opacity modifier with CSS variable and hydration mismatch
- Use color-mix() for hover border color since Tailwind's opacity
  modifier doesn't work with arbitrary CSS variable values
- Add stable id to Tabs component to prevent React hydration mismatch

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-13 10:45:42 -08:00
Sushmitha Mallesh ac42b954b0 Merge branch 'next' into fumadocs/dark-theme-tweaks 2026-01-13 10:36:14 -08:00
Musthaq Ahamad 3fe9c58957 Chore: update provider packages to 0.5.0 (#2384) 2026-01-13 15:04:51 +05:30
Musthaq Ahamad d80f3e2482 Bump dependencies (#2382) 2026-01-13 14:45:00 +05:30
Musthaq Ahamad 42eb49644c Bump py packages to 0.10.6 (#2381) v0.10.6 2026-01-13 14:10:44 +05:30
Musthaq Ahamad f33ad41e42 Release: update version (#2378)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@composio/vercel@1.0.0 @composio/openai-agents@1.0.0 @composio/mastra@1.0.0 @composio/llamaindex@1.0.0 @composio/langchain@1.0.0 @composio/google@1.0.0 @composio/core@0.5.0 @composio/cloudflare@1.0.0 @composio/claude-agent-sdk@1.0.0 @composio/anthropic@1.0.0
2026-01-13 14:05:47 +05:30
Sushmithamallesh 1342d469ca chore: trigger fumadocs build 2026-01-13 00:11:51 -08:00
Sushmithamallesh e5dad0c78f chore: trigger fumadocs rebuild 2026-01-13 00:02:38 -08:00
Malay Vasa 313ece7cc4 fix(tabs): remove unnecessary background class from TabsContent component 2026-01-13 13:22:13 +05:30
Malay Vasa 56117646b4 Fumadocs: refine dark theme and hover styles 2026-01-13 13:14:06 +05:30
Alberto Schiabel b28c2d7bb1 fix(core): support v1, v2, v3 in composio.triggers.verifyWebhooks (#2361)
Co-authored-by: jkomyno <12381818+jkomyno@users.noreply.github.com>
2026-01-13 13:06:03 +05:30
Alberto Schiabel ded64beb75 feat(ts): support Cloudflare Workers + refactor build pipeline with tsdown + introduce e2e tests (#2360)
Co-authored-by: jkomyno <12381818+jkomyno@users.noreply.github.com>
2026-01-13 13:02:58 +05:30
devin-ai-integration[bot] 16f17459b7 docs: hide labs/tool_router/session endpoint from API reference (#2376)
Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-authored-by: himanshu@composio.dev <himanshu@composio.dev>
2026-01-13 12:11:24 +05:30
Sushmithamallesh aa2b0d13c5 fix(fumadocs): add Twoslash setup for core docs
- toolkit-versioning.mdx: Remove non-existent toolkit.meta.version,
  add optional chaining for availableVersions
- user-management.mdx: Add stubs for user, organization, req, app,
  storeConnectionRequest, userCanSendMessages
- using-triggers.mdx: Add type stubs for NextApiRequest/Response,
  TriggerEvent, crypto import

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-12 21:15:11 -08:00
Sushmithamallesh 91683f7e98 fix(fumadocs): add Twoslash setup code for TypeScript validation
Add setup code with `// ---cut---` pattern to TypeScript code blocks
so they pass Twoslash type checking at build time.

Changes:
- Tool router docs: authentication, users-and-sessions, managing-multiple-accounts,
  manually-authenticating-users, tools-and-toolkits, using-custom-auth-configs,
  using-in-chat-authentication, white-labeling-authentication, beta-to-stable migration
- Core docs: fetching-tools, executing-tools, custom-tools, authenticating-tools,
  connected-accounts, custom-auth-configs, custom-auth-params, programmatic-auth-configs,
  mcp-quickstart, mcp-providers, mcp-server-management, toolkit-versioning
- Provider docs: anthropic, google, mastra, vercel, custom-providers/typescript
- Migration guides: new-sdk, toolkit-versioning
- Changelog files: fixed missing callouts and formatting

Also:
- Fixed doc bug: `callbackUri` -> `callbackUrl` in using-in-chat-authentication.mdx
- Fixed optional chaining for `toolkit.connection?.connectedAccount`
- Added dependencies for type checking: @anthropic-ai/claude-agent-sdk, @ai-sdk/mcp

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-12 21:15:11 -08:00
Sushmitha Mallesh 777b989ecf fix(fumadocs): fix PostHog initialization race condition (#2375) 2026-01-12 17:36:16 -08:00
Sushmithamallesh a2bdc64da1 Fix PostHog initialization when already loaded
Handle the case when posthog.__loaded is already true (e.g., during HMR
or React StrictMode remounts). Previously, the init block was skipped
but isInitialized was never set to true, preventing pageview tracking.

Now we check posthog.__loaded first and set isInitialized immediately
if PostHog is already initialized.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-12 17:22:08 -08:00
Sushmitha Mallesh 8c3eb75a47 Merge branch 'next' into claude/work-branch 2026-01-12 17:13:46 -08:00
Sushmithamallesh 145a249e1a fix(fumadocs): fix PostHog initialization race condition
- Add isInitialized state to track when PostHog is ready
- Check posthog.__loaded to prevent double initialization
- Only render pageview tracker after PostHog is loaded

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-12 17:09:49 -08:00
Sushmitha Mallesh 87b5f3cad2 feat(fumadocs): add PostHog analytics integration (#2372) 2026-01-12 16:58:57 -08:00
Sushmitha Mallesh a24f45ce54 Merge branch 'next' into feat/fumadocs-twoslash 2026-01-12 16:35:48 -08:00
Sushmitha Mallesh 32584923c3 Merge branch 'next' into claude/work-branch 2026-01-12 16:31:26 -08:00
Sushmitha Mallesh 8ae4b3fa6c docs(fumadocs): sync missing changelogs from fern (#2373) 2026-01-12 16:22:46 -08:00
Sushmithamallesh c3ca84a0f9 docs(fumadocs): sync missing changelogs from fern
Add 7 changelog entries that were added to fern after initial migration:
- 12-30-25-proxy-binary-data: Binary Data Support for Proxy Execute
- 12-30-25: Webhook Payload V3 announcement
- 12-31-25: Deprecating BEARER_TOKEN auth scheme
- 01-07-26: Consistent Error Response & Union Types
- 01-08-26-mcp-api-key-enforcement: Optional API Key for MCP
- 01-09-26: Tool Enum Name Shortening
- 01-12-26-tool-router-improvements: Tool Router improvements

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-12 15:37:13 -08:00
Sushmithamallesh 840435fc8e docs: update CLAUDE.md for default-on Twoslash
Updated documentation to reflect that Twoslash type checking is now
the default for all TypeScript blocks (explicitTrigger: false).

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-12 15:08:08 -08:00
Sushmithamallesh 564d4e2fb3 feat(fumadocs): make Twoslash type checking the default
Changed explicitTrigger from true to false so ALL TypeScript code
blocks are validated at build time. This matches the industry
standard approach used by TypeScript's official docs.

Build will now fail if any TypeScript snippet has type errors,
ensuring documentation stays in sync with the SDK.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-12 15:07:40 -08:00
Sushmithamallesh 4248a1b93f revert: remove Twoslash annotations from docs content
Revert all content changes from the previous Twoslash implementation
to start fresh with a cleaner approach.

The Twoslash infrastructure remains in place (source.config.ts with
explicitTrigger: true), but content files are restored to their
original state without annotations.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-12 15:06:04 -08:00
Sushmithamallesh d22f7ace0b feat(fumadocs): add Twoslash type checking to core docs pages
Added TypeScript type validation via Twoslash to:
- authenticating-tools.mdx (7 blocks)
- connected-accounts.mdx (8 blocks)
- custom-auth-configs.mdx (2 blocks)
- custom-auth-params.mdx (4 blocks)
- custom-tools.mdx (5 blocks)
- executing-tools.mdx (7 blocks)
- fetching-tools.mdx (6 blocks)
- quickstart.mdx (2 blocks)

Fixed type errors caught by Twoslash:
- connected-accounts: redirect_url property name
- executing-tools: file upload property name (filePath -> file)
- custom-auth-params: beforeExecute modifier signature

Uses // ---cut--- for hidden setup code and // @noErrors for
examples with external dependencies (Anthropic, Vercel AI SDK)
or complex Zod types.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-12 14:27:20 -08:00
Sushmithamallesh 49fd92e2de chore: resolve merge conflicts with next branch
Update next to 16.1.0 while keeping posthog-js dependency.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-12 14:14:14 -08:00
Sushmithamallesh f708f54a01 feat(fumadocs): add PostHog analytics integration
Add PostHog analytics to the documentation site for tracking pageviews
and user engagement. The integration is optional and only activates
when environment variables are configured.

- Add posthog-js dependency
- Create PostHogProvider component with automatic pageview tracking
- Wrap app layout with PostHogProvider
- Add PostHog env vars to .env.example

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-12 14:09:49 -08:00
Sushmithamallesh a5aa415ddc refactor: rename workflow from Fumadocs to Docs 2026-01-12 14:03:21 -08:00
Sushmithamallesh 1688803dee refactor: rename workflow to explicitly indicate TypeScript validation 2026-01-12 13:55:14 -08:00
Sushmithamallesh 515b83c2c6 docs: clarify Twoslash is TypeScript-only, Python needs separate pipeline 2026-01-12 13:53:06 -08:00
Sushmithamallesh 4311a17900 chore: remove test file and document Twoslash in CLAUDE.md 2026-01-12 13:50:42 -08:00
Sushmithamallesh c6de67025d fix: remove broken test block so CI passes 2026-01-12 13:49:13 -08:00
Sushmithamallesh 0f5bf5c514 test: add broken twoslash block to verify CI fails 2026-01-12 13:44:50 -08:00
Sushmitha Mallesh 54faa4cb46 Merge branch 'next' into feat/fumadocs-twoslash 2026-01-12 13:41:53 -08:00
Sushmithamallesh 1b91babad7 fix(fumadocs): add required themes config for rehypeCodeOptions 2026-01-12 13:34:04 -08:00