发布

  • Release: update version (#3425)

    frostbyte_neo 发布于 2026-05-13 17:23:33 +00:00

    This PR was opened by the Changesets
    release
    GitHub action. When
    you're ready to do a release, you can merge this and the packages will
    be published to npm automatically. If you're not ready to do a release
    yet, that's fine, whenever you add more changesets to next, this PR will
    be updated.

    Releases

    @composio/core@0.10.0

    Minor Changes

    • 42ebff3: feat(connected-accounts): namespace SHARED-connection surface
      under experimental

    Aligns the TypeScript SDK with the experimental wire shape used by
    Shared Connections. The flat accountType / aclConfigForShared
    options on connectedAccounts.link() and session.authorize() have
    moved under a single experimental block, and
    connectedAccounts.updateAcl() has moved off the class onto a top-level
    experimental_updateAcl(composio, id, opts) export — same precedent as
    experimental_createTool / experimental_createToolkit.

    The experimental namespace is the signal that the shape may change in
    future releases. Pinning a SHARED connection in a session config
    (connectedAccounts: { gmail: [...] }) and direct execute by
    connectedAccountId are unchanged — only the connection-create / patch
    / authorize surfaces are namespaced.

    Also surfaces the accountType filter on connectedAccounts.list() so
    SHARED connections can be listed without dropping to the raw client. The
    wire keeps this as a flat query param, so the SDK keeps it flat too.

    @composio/client bumped from 0.1.0-alpha.710.1.0-alpha.72 so
    the generated typed client carries the Experimental namespaces for
    link.create, toolRouter.session.link, and connectedAccounts.patch.

    Caller migration:
    
    ```typescript
    // before
    await composio.connectedAccounts.link('user_id', 'auth_config_id', {
      accountType: 'SHARED',
      aclConfigForShared: { allowAllUsers: true },
    });
    

    await composio.connectedAccounts.updateAcl('ca_abc', { allowAllUsers:
    true });
    await session.authorize('github', {
    accountType: 'SHARED',
    aclConfigForShared: { allowAllUsers: true },
    });

    // after
    await composio.connectedAccounts.link('user_id', 'auth_config_id', {
      experimental: {
        accountType: 'SHARED',
        aclConfigForShared: { allowAllUsers: true },
      },
    });
    

    await experimental_updateAcl(composio, 'ca_abc', { allowAllUsers: true
    });
    await session.authorize('github', {
    experimental: {
    accountType: 'SHARED',
    aclConfigForShared: { allowAllUsers: true },
    },
    });

    // new — list SHARED connections
    const shared = await composio.connectedAccounts.list({
      accountType: 'SHARED',
      userIds: ['user_creator'],
    });
    ```
    

    @composio/cli-local-tools@0.0.4

    Patch Changes

    @composio/anthropic@1.0.0

    Patch Changes

    @composio/claude-agent-sdk@1.0.0

    Patch Changes

    @composio/cloudflare@1.0.0

    Patch Changes

    @composio/google@1.0.0

    Patch Changes

    @composio/langchain@1.0.0

    Patch Changes

    @composio/llamaindex@1.0.0

    Patch Changes

    @composio/mastra@1.0.0

    Patch Changes

    @composio/openai@1.0.0

    Patch Changes

    @composio/openai-agents@1.0.0

    Patch Changes

    @composio/vercel@1.0.0

    Patch Changes

    @composio/cli@0.2.30

    Patch Changes


    Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
    Co-authored-by: jkomyno 12381818+jkomyno@users.noreply.github.com

    下载附件