Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.
TypeScript agentic-aiagentsaiai-agentsaiagentsdeveloper-toolsfunction-callinggpt-4javascriptjsllmllmopsmcppythonremote-mcp-serverssetypescript
docs(connected-accounts): drop residual internal references
venkat8210b914fd43f6
diff --git a/ts/packages/core/src/types/connectedAccounts.types.ts b/ts/packages/core/src/types/connectedAccounts.types.tsindex 33f5b728e..26d828904 100644--- a/ts/packages/core/src/types/connectedAccounts.types.ts+++ b/ts/packages/core/src/types/connectedAccounts.types.ts@@ -302,8 +302,8 @@ export const CreateConnectedAccountLinkOptionsSchema = z.object({accountType: ConnectedAccountTypeSchema.optional(),/*** Per-user ACL for SHARED connections. Only valid when- * `accountType === 'SHARED'` — the backend rejects ACL on a PRIVATE- * connection with `ComposioAclOnlyForSharedError` (400).+ * `accountType === 'SHARED'`; raises `ComposioAclOnlyForSharedError`+ * on a PRIVATE connection.** Omit the block (or pass `{}`) to keep the deny-by-default state: only the* creator can use the connection. Grant access by setting@@ -342,8 +342,8 @@ export const UpdateConnectedAccountParamsSchema = z.object({* outer nesting at the boundary, so callers pass the three fields flat.** PATCH-style semantics — omit a field to leave it unchanged; pass an- * empty array to clear an allow/deny list. Backend rejects ACL writes on- * a PRIVATE connection with `ComposioAclOnlyForSharedError` (400).+ * empty array to clear an allow/deny list. Raises+ * `ComposioAclOnlyForSharedError` on a PRIVATE connection.** Each field is optional, but at least one must be provided — passing an* empty object is rejected as a no-op.diff --git a/ts/packages/core/test/models/toolRouter.test.ts b/ts/packages/core/test/models/toolRouter.test.tsindex 66b311d06..e97680bd5 100644--- a/ts/packages/core/test/models/toolRouter.test.ts+++ b/ts/packages/core/test/models/toolRouter.test.ts@@ -1849,9 +1849,8 @@ describe('ToolRouter', () => {expect(typeof connectionRequest.waitForConnection).toBe('function');});- // Bugbot-flagged gap: authorize() was passing aclConfigForShared straight- // to the wire while link() validated through Zod. These tests pin the- // parity — same 1000-entry list cap, same 256-char user_id cap.+ // authorize() validates aclConfigForShared at the SDK boundary, same+ // caps as link() — 1000-entry list, 256-char user_id.it('forwards accountType + nested acl_config_for_shared on the wire', async () => {mockClient.toolRouter.session.link.mockResolvedValueOnce(mockLinkResponse);