Skip to content

@commercetools/commerce-agent@2.0.0

Latest

Choose a tag to compare

@ct-changesets ct-changesets released this 11 May 13:38
· 2 commits to main since this release
f510382

Major Changes

  • #39 df51410 Thanks @ajimae! - major package updates and bug fixes

    What Changed

    • Tool output now is defaulted to json
      this means if --toolOutputFormat option is not specified then it defaults to json
    • Tool output text in json format has been dropped
      the root explanatory text for tool output json object has been removed
    // before
    {
      "READ CART DISCOUNT RESULT": {
        limit: 10,
        offset: 0,
        count: 10,
        results: [
          {
            id: '123',
            name: 'Cart Discount 1',
            description: 'This is a cart discount',
            code: '1234567890',
          }
        ],
      },
    }
    
    // after
    {
      limit: 10,
      offset: 0,
      count: 10,
      results: [
        {
          id: '123',
          name: 'Cart Discount 1',
          description: 'This is a cart discount',
          code: '1234567890',
        }
      ],
    }

    The READ CART DISCOUNT RESULT text has been dropped

    • The all tool now requires setting isAdmin option to true
    npx -y @commercetools/commerce-mcp --tools="all" --isAdmin=true ...

Patch Changes