github statelyai/xstate @xstate/webmcp@0.1.0-beta.1

latest releases: @xstate/vue@6.0.0-beta.2, @xstate/test@2.0.0-beta.5, @xstate/react@7.0.0-beta.1...
pre-releaseone hour ago

Minor Changes

  • 374005a: The toolName option now receives the event schema as its second argument, so a tool name can depend on the schema.

    createWebMCP(todoStore, {
      events: ['todo.*'],
      toolName: (eventType, schema) =>
        schema === todoStore.schemas?.events?.['todo.add']
          ? 'add_todo'
          : toToolName(eventType)
    });

Don't miss a new xstate release

NewReleases is sending notifications on new releases.