donmai is in 0.x preview. APIs may change between minor releases. See the changelog.

donmai does not ship a standalone workflow executor with built-in core.* nodes. The workflow contract layer (ActionDefinition, TriggerDefinition, etc.) is defined in @donmai/core, but concrete node implementations live in the closed platform.

What donmai does ship are in-process MCP tools that agents receive when they run via the Claude provider. These are not workflow nodes — they are typed tool calls the agent can make during a session.

Linear tools (@donmai/plugin-linear)

Provided by @donmai/plugin-linear. Agents call these instead of shelling out to rensei linear.

ToolDescription
af_linear_get_issueGet a Linear issue by ID or identifier
af_linear_create_issueCreate a new Linear issue
af_linear_update_issueUpdate an existing issue (title, description, state, labels)
af_linear_create_commentPost a comment on an issue
af_linear_list_commentsList comments on an issue
af_linear_list_issuesList issues with filters (project, status, label, assignee, etc.)
af_linear_add_relationAdd a relation between two issues
af_linear_list_relationsList relations for an issue
af_linear_remove_relationRemove a relation by ID
af_linear_list_sub_issuesList sub-issues of a parent issue
af_linear_list_sub_issue_statusesGet status of each sub-issue
af_linear_update_sub_issueUpdate a sub-issue's state or post a completion comment
af_linear_check_blockedCheck whether an issue has unresolved blocking relations
af_linear_list_backlog_issuesList backlog issues for a project
af_linear_list_unblocked_backlogList backlog issues with no blocking relations
af_linear_create_blockerCreate a blocker issue linked to a source issue
af_linear_check_deploymentCheck whether a PR has been deployed to production

Code intelligence tools (@renseiai/agentfactory-code-intelligence)

Provided when @renseiai/agentfactory-code-intelligence is installed. These tools are optional — agents work without them.

ToolDescription
af_code_get_repo_mapPageRank-ranked map of the most important files
af_code_search_symbolsFind function/class/type definitions by name
af_code_search_codeBM25 keyword search with code-aware tokenization
af_code_check_duplicateExact and near-duplicate detection before writing code
af_code_find_type_usagesFind all switch/case, mapping objects, and usage sites for a type
af_code_validate_cross_depsCheck cross-package import declarations

Adding tools

Custom tools are added via the ToolPlugin interface. See Authoring a plugin for the full createTools() API and a worked example.