TypeScript SDK 0.14.0 hardens file uploads and tool execution
TypeScript SDK@composio/core 0.14.0 closes file-upload and telemetry exposure paths, prevents duplicate tool side effects after retries, and aligns trigger creation with backend connection resolution.
SDK versions
File and telemetry security
- URL file uploads and automatic uploads during tool execution reject private, loopback, link-local, carrier-grade NAT, and reserved addresses. Redirects are checked at every hop, and blocked requests raise
ComposioBlockedInternalUrlError. - Error telemetry redacts URL query strings, authorization credentials, and secret-like key-value pairs before transport.
- The package root exports
assertSafeFileUploadPath,isBlockedSensitiveFileUploadPath, andBUILTIN_FILE_UPLOAD_PATH_DENY_SEGMENTSso downstream packages can apply the same sensitive-file denylist.
Tool execution reliability
tools.execute()andtools.proxyExecute()no longer retry non-idempotent writes, preventing a timeout from repeating side effects such as sending the same email twice.OpenAIProvider.handleToolCalls()executes every tool call from the first assistant choice and returns one result for eachtool_call_idin deterministic order.- Provider tool schemas normalize duplicate JSON Schema
requiredentries before they are emitted.
Trigger and toolkit behavior
triggers.create() now sends user_id directly to the backend when connectedAccountId is omitted. This removes the extra connected-account lookup and lets the backend select the first active connection for the user and toolkit.
Toolkit version pins are also case-insensitive in configuration objects and environment variables, so casing differences no longer fall back silently to latest.