Skip to content

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(docs): Add @noErrors to TypeScript snippets in changelog

Sushmithamalleshfb81672444a2
diff --git a/docs/content/changelog/01-08-26-mcp-api-key-enforcement.mdx b/docs/content/changelog/01-08-26-mcp-api-key-enforcement.mdx
index c42afb3c4..58a359a3c 100644
--- a/docs/content/changelog/01-08-26-mcp-api-key-enforcement.mdx
+++ b/docs/content/changelog/01-08-26-mcp-api-key-enforcement.mdx
@@ -102,6 +102,7 @@ print(response.json())
</Tab>
<Tab value="TypeScript">
```typescript
+// @noErrors
const response = await fetch(
"https://backend.composio.dev/api/v3/org/project/config",
{
diff --git a/docs/content/changelog/01-12-26-tool-router-improvements.mdx b/docs/content/changelog/01-12-26-tool-router-improvements.mdx
index b169c450a..bf7a4609d 100644
--- a/docs/content/changelog/01-12-26-tool-router-improvements.mdx
+++ b/docs/content/changelog/01-12-26-tool-router-improvements.mdx
@@ -21,6 +21,7 @@ Added `waitForConnections` (TypeScript) / `wait_for_connections` (Python) proper
**TypeScript:**
```typescript
+// @noErrors
const session = await composio.toolRouter.create(userId, {
manageConnections: {
enable: true,
@@ -48,6 +49,7 @@ Introduced new modifier types for better session-based tool execution: `SessionE
**TypeScript:**
```typescript
+// @noErrors
const tools = await session.tools({
modifySchema: ({ toolSlug, toolkitSlug, schema }) => schema,
beforeExecute: ({ toolSlug, toolkitSlug, sessionId, params }) => params,
@@ -76,6 +78,7 @@ Added `getRawToolRouterMetaTools` (TypeScript) / `get_raw_tool_router_meta_tools
**TypeScript:**
```typescript
+// @noErrors
const metaTools = await composio.tools.getRawToolRouterMetaTools('session_123', {
modifySchema: ({ toolSlug, toolkitSlug, schema }) => {
// Customize schema
diff --git a/docs/content/changelog/01-14-26-auth-config-patch-semantics.mdx b/docs/content/changelog/01-14-26-auth-config-patch-semantics.mdx
index 39f7aef4b..657a5a077 100644
--- a/docs/content/changelog/01-14-26-auth-config-patch-semantics.mdx
+++ b/docs/content/changelog/01-14-26-auth-config-patch-semantics.mdx
@@ -62,6 +62,7 @@ composio.auth_configs.update(
</Tab>
<Tab value="TypeScript">
```typescript
+// @noErrors
import { Composio } from "@composio/core";
const composio = new Composio();
@@ -103,6 +104,7 @@ composio.auth_configs.update(
</Tab>
<Tab value="TypeScript">
```typescript
+// @noErrors
import { Composio } from "@composio/core";
const composio = new Composio();
@@ -158,6 +160,7 @@ composio.auth_configs.update(
</Tab>
<Tab value="TypeScript">
```typescript
+// @noErrors
import { Composio } from "@composio/core";
const composio = new Composio();
diff --git a/docs/content/changelog/01-20-26-file-modifier-anyof-support.mdx b/docs/content/changelog/01-20-26-file-modifier-anyof-support.mdx
index 5e68e979a..18bff6bd1 100644
--- a/docs/content/changelog/01-20-26-file-modifier-anyof-support.mdx
+++ b/docs/content/changelog/01-20-26-file-modifier-anyof-support.mdx
@@ -28,6 +28,7 @@ We recommend updating to version `0.5.3` (TypeScript) or `0.10.8` (Python) or la
File properties inside `anyOf`, `oneOf`, or `allOf` were not detected:
```typescript
+// @noErrors
// This schema's file_uploadable was NOT being processed
inputParameters: {
type: 'object',
@@ -52,6 +53,7 @@ inputParameters: {
File properties are now correctly detected and processed at any nesting level:
```typescript
+// @noErrors
// Now properly detected and transformed
inputParameters: {
type: 'object',
diff --git a/docs/content/changelog/01-21-26-initiate-active-status-filter.mdx b/docs/content/changelog/01-21-26-initiate-active-status-filter.mdx
index be095ae45..45db9de33 100644
--- a/docs/content/changelog/01-21-26-initiate-active-status-filter.mdx
+++ b/docs/content/changelog/01-21-26-initiate-active-status-filter.mdx
@@ -24,6 +24,7 @@ When calling `connectedAccounts.initiate()`, the SDK now filters by `statuses: [
### Before (Bug)
```typescript
+// @noErrors
// Expired accounts would incorrectly trigger ComposioMultipleConnectedAccountsError
await composio.connectedAccounts.initiate(userId, authConfigId);
// ❌ Error: Multiple connected accounts found (even if they're all expired)
@@ -32,6 +33,7 @@ await composio.connectedAccounts.initiate(userId, authConfigId);
### After (Fixed)
```typescript
+// @noErrors
// Only ACTIVE accounts are considered
await composio.connectedAccounts.initiate(userId, authConfigId);
// ✅ Works - expired/inactive accounts are ignored
diff --git a/docs/content/changelog/01-22-26-experimental-assistive-prompts.mdx b/docs/content/changelog/01-22-26-experimental-assistive-prompts.mdx
index 64ae5de0c..d4ac29cf2 100644
--- a/docs/content/changelog/01-22-26-experimental-assistive-prompts.mdx
+++ b/docs/content/changelog/01-22-26-experimental-assistive-prompts.mdx
@@ -47,6 +47,7 @@ if session.experimental:
</Tab>
<Tab value="TypeScript">
```typescript
+// @noErrors
import { Composio } from "@composio/core";
const composio = new Composio();
@@ -95,11 +96,12 @@ triggers = composio.triggers.list_active(cursor="cursor_string", limit=10)
</Tab>
<Tab value="TypeScript">
```typescript
+// @noErrors
// Before (deprecated)
const triggers = await composio.triggers.listActive({ page: 1, limit: 10 });
// After
-const triggers = await composio.triggers.listActive({ cursor: "cursor_string", limit: 10 });
+const triggers2 = await composio.triggers.listActive({ cursor: "cursor_string", limit: 10 });
// Use response.nextCursor for the next page
```
</Tab>