Python SDK 0.18.2 and TypeScript SDK 0.15.0 tighten JSON Schema types and secret redaction
Python SDKcomposio 0.18.2 and TypeScript SDK @composio/core 0.15.0 redact secrets that appear inside JSON payloads in telemetry, give JSONSchemaProperty a precise recursive type, and harden several request and upload paths. @composio/openai 0.11.0 adds support for OpenAI v6 and v7.
SDK versions
Secret redaction in telemetry
Telemetry error text is redacted before it leaves the process, but the key/value rule required the separator to follow the key name directly. In JSON — and in a Pythondict repr — the key’s own closing quote sits between the name and the colon, so a serialized body such as {"api_key": "sk-live-..."} never matched and the value was sent verbatim. That is the shape error messages usually carry: an API error envelope, or a rejected request body echoed back.
Both SDKs now redact these values.
Before:
Typed JSON Schema properties
Before:@composio/json-schema-to-zod now also models the parser-supported min, max, and example JSON Schema extensions in its exported recursive schema type.
What’s new
@composio/openaisupports OpenAI versions 6 and 7. The OpenAI runtime dependency in@composio/coreand@composio/slimhas been refreshed to version 7.
Improvements
- The background npm version check is now bounded by an abort timeout, so a registry outage cannot leave the request pending indefinitely.
- Sensitive upload path segments are matched using the target filesystem’s actual case sensitivity, so case-insensitive mounts cannot bypass the denylist and distinct paths on case-sensitive mounts are not over-blocked.
- Unread response bodies are released on the paths the SDK knowingly abandons: every intermediate redirect body in
ssrfSafeFetch, and the response body before throwing on a failed URL upload.
Dependency updates
Runtime dependencies across the TypeScript SDK packages and the Python core and provider packages have been refreshed.Backward compatibility
Runtime behavior is unchanged in both SDKs. The only upgrade impact is at the TypeScript type level, for consumers that readJSONSchemaProperty fields without narrowing.