Repository navigation
v0.5.3-beta.1
[0.5.3-beta.1] - 2026-10-06
Added
-
SDK
PipefyClient.send_inbox_email_draft: sends anInboxEmailDraft(fromdraft_email_from_templateor built by hand) as-is. The MCP send tools andpipefy email inbox sendcall it after the preview, so the approved draft is the value that reaches the mutation. -
SDK methods named after MCP tools:
PipefyClient.get_ai_automation,get_ai_automations,delete_ai_automation,remove_member_from_pipe, andfill_card_phase_fieldsexpose those operations as client methods, with the MCP tool names and parameters. The corresponding MCP tools and CLI commands now call these methods (MCPfill_card_phase_fieldsstill elicits when a form can be shown). The AI-list filter, member-removal verification, and editable-field filter move into the SDK. Skills retargetget_labelstoget_pipeandget_pipe_reporttoget_pipe_reports; those two names stay MCP aliases (projection remains in MCP and CLI). (#696) -
SDK pre-write validation:
PipefyClient.validate_ai_agent_behaviorsandPipefyClient.validate_ai_automation_promptexpose the two read-only validators as client methods, with the MCP tool names and parameters, so an agent that builds its tools fromPipefyClientcan validate before it writes. The MCP tools and CLI commands now call these methods. Thepipefy_sdk.ai_preflightmodule functions stay. (#694) -
Skills (
pipefy-process-impact): a consulting skill for where an automation or AI agent returns the most time. Each turn names one manual hop, shows the hours-returned arithmetic with the user's numbers or the gaps named, picks the cheapest step (a rule before AI), and ends with one question or one offer. When the user names a pipe, it first checks, read-only, whether an active automation or AI agent already covers the hop. Lead time and time per phase come from oneexecute_graphqlread of the cards' dates and phase history, so the number lands in the chat; a pipe report export covers whole-pipe volume, and the skill asks before it creates a report.pipefy-process-designandpipefy-process-intelligenceadd a one-line Impact entry to their output, andpipefy-buildingroutes worth-it and ROI asks to the new skill. -
CI (skills lint):
lint_skill_refs.pyresolves everypipefyinvocation written as code in a skill against the CLI's command tree (subcommand path and--options), and checks thename=arguments of operation examples against the MCP tool orPipefyClientsignature, so a renamed command, option or argument fails the build. The workflow also runs when CLI commands or MCP tool code change.
Changed
-
Phase field types:
create_phase_fielddeclares the API'sFieldTypeIdvalues. The MCP input schema givesfield_typeananyOfof anenumof the values and a plain string, so a client can list them. The SDK exportsFieldTypeIdandFIELD_TYPE_IDS, andPipefyClient.create_phase_fieldtakesFieldTypeId | str.pipefy field create --typelists the values in its help and completes them in the shell. It is a soft enum: another string still reaches the API, which validates it. The docs point at the tool's input schema, and the skills also nameintrospect_type('FieldTypeId'), instead of theCreatePhaseFieldInputdescription. Both say that aconnectorfield also needsconnectedRepoId. (#746) -
SDK AI agent create:
PipefyClient.create_ai_agentnow writes the agent's instruction and behaviors. It creates the agent and chainsupdate_ai_agent, as the MCP tool and CLI command did on their own; before, it dropped the requiredinstructionandbehaviorsand returned an empty, disabled agent. When the update fails, it raises the newAiAgentConfigureError, which carries the createdagent_uuid.CreateAiAgentInputandUpdateAiAgentInputnow expandtemplate_params/instruction_templateand normalize instruction token aliases while they validate, so SDK callers get the same prep as the MCP tools. As a result, a raw behavior dict with a literal{{name}}and notemplate_paramsnow failsCreateAiAgentInput/UpdateAiAgentInputvalidation, as it already failed in the MCP tools. Callers that expanded behaviors themselves can drop that step: a second expansion fails when a substituted value contains{{name}}. The MCP tools and CLI commands call these methods. A CLIagent createwhose update fails now prints the created agent's UUID. The unusedpipefy_mcp.tools.behavior_placeholder_interpolationre-export is removed; import the helpers frompipefy_sdk.behavior_placeholders. (#695) -
MCP
fill_card_phase_fields: no longer writes when the phase has no editable fields, on every path including a shown form; dropped keys return inskipped_field_ids. CLIpipefy card fill --fields {}on a phase with editable fields now returns the collected-nothing envelope instead of short-circuiting with "No fields to update." -
CLI
pipefy member remove: verifies membership after the mutation.--jsonnow prints{"data": <mutation result>, "warning": ...}instead of the mutation result at the top level.warningisnullwhen every member is gone.
Fixed
-
SDK (
gql< 4.4): a fresh install ofpipefy-mcp-serverresolvedgql4.4.0, whose HTTPX transport builds anhttpx2client wheneverhttpx2is installed, andmcpdepends onhttpx2. That client rejects thehttpx.Authsubclasses inpipefy_auth, so every GraphQL call failed withTypeError: Invalid "auth" argument, on the stdio and remote profiles alike.pipefynow declaresgql[httpx]>=4.0.0,<4.4. The packaging smoke install (scripts/smoke_entry_points.py, run by CI, the daily schedule, and the release flow) now also makes one authenticatedget_mecall through the installed SDK against a local stub endpoint, so this class of break fails the gate instead of a user's first tool call. Closes #741. -
MCP
create_phase_field: aRESOURCE_NOT_FOUNDfrom the API came back asPhase not found (ID: …)whatever its cause, so an unknown field type (SHORT_TEXT) or aconnectorwithoutconnectedRepoIdtold the agent that an existing phase did not exist. The tool now returns the API's own message, which names the phase, the field type, or the connected repo. APERMISSION_DENIEDstill gets the access hint, and an invalid-arguments error still gets itsHint:. (#746) -
Skills (
pipefy-process-intelligence): the diagnosis asked the agent to find stale cards and cards stuck in a phase for more than 7 days, butget_pipeandget_cardsreturn no creation, update or phase timestamps, so the agent had nothing to measure them with. The skill now measures time-based signals with oneexecute_graphqlread of the cards'updated_at,current_phase_ageandphases_history, uses a pipe report export only for whole-pipe throughput (asking before it creates a report), or asks the user. Round 1 also reads the behaviors of active AI agents, so a hop an agent already runs is not reported as manual. An empty phase now points to a merge or an automation rather than removal, and the skill does not recommend deleting a pipe. -
Skills (
pipefy-reports): the CLI reference now says whichreport-pipecommands take the pipe UUID (list,get,columns,filterable-fields) and which take the numeric pipe id (create,export), thatexport --columnstakes columnnamevalues, and that--format csvwrites the XLSX file the API serves. The report tool docstrings (fieldson create and update,columnson export), the SDK export methods, and thereport-pipe export --columnshelp said "column ids" for the same value; they now say columnnamevalues and that date columns appear only when named. -
Automation conditions: the
pipefy-automationsskill, thecreate_automationandupdate_automationdescriptions, the SDKAutomationConditionInputdocs and the MCP tool docs describedexpressions_structureas AND-of-ORs, so a compound condition built from them matched the inverted rule. Pipefy evaluates it as OR-of-ANDs: the expressions in one inner array are AND'd and the inner arrays are OR'd, so[[0, 1], [2]]is(expr0 AND expr1) OR expr2.pipefy automation create/update --conditionhelp now states the rule too. The skill, the docs andcreate_automationalso say the numbers arestructure_idvalues and name what the API drops on save without an error. Dropping one expression from an AND group can make the rule match more cards; dropping the only expression in an OR group removes that group, so the rule matches fewer cards. Two expressions that share astructure_id, sent as[[0], [0]], save withexpressionsempty andexpressions_structurestill[[0], [0]], and that rule does not match cards.create_field_conditionno longer calls them positions. The old rule shipped in 0.4.0-beta.2 and is in every release through 0.5.2-beta.1. -
Portal layout:
get_portalnow reads the full page layout, and SDK/MCP/CLI page-layout updates accept the API's row array instead of an object.create_portal_elementaccepts the same row array withelement_idto create and place an element in one call (CLI--element-id/--layout), and rejects a layout that does not reference the new element. Each row needs a non-empty id, type "row", and children as non-empty strings; an incomplete row is rejected before the call because the API stores layout JSON verbatim, while[]stays valid for an empty page.delete_portal_element(CLI--layout) accepts the same row array with the element removed and writes it in the same call, rejecting a layout that still lists the deleted element; the MCP preview names the layout rewrite and its confirmation token covers the exact rows. Row ids and children reach the API without surrounding whitespace. Guidance distinguishes row placement from element dimensions and requires read-back after edits (#524). -
Claude Code plugin: the plugin now loads its MCP server and its skill catalog.
.mcp.jsondeclares"type": "http"andoauth.clientId, the two keys Claude Code reads (withouttypeit parsed the hosted entry as stdio and dropped it at load; the Cursor keysauth.CLIENT_IDstay in the same file, since each client ignores the other's key)..claude-plugin/plugin.jsonlists the 17skills/<domain>/<skill>directories, which the default one-levelskills/scan did not find, so an install exposed onlyinstallandpipefy-login. The plugin description names the hosted MCP connection and browser sign-in for pipes, cards, tables, reports, automations, AI agents, and process skills; the marketplace file carries a description and the entry a category.lint_plugin_packaging.pypins the two new keys alongside the Cursor ones, and checks that.claude-plugin/plugin.jsonlists every tracked skill directory the same way it checks the Cursor manifest. A missing or stale path names which file. -
Automation listings: SDK, MCP, and CLI now return trigger IDs, event parameters, conditions,
actionEnabled, anddisabledReasonfor organization and pipe listings, avoiding a detail call per rule to audit its filters and whether the action is enabled. Listings are paged: the API caps a page at 50 rules, soget_automations/pipefy automation listacceptfirst/afterand reporttotalCountandhasNextPageinstead of silently returning the first 50.get_ai_automations/pipefy ai-automation listexpose the same page block for the mixed connection they filter. Humanpipefy automation listprints a table of each row's scalar columns plus the page counts, leaving the nestedevent_paramsandconditionto--json. Phase-delete preview follows every page of rules, reads their details under a concurrency bound instead of one simultaneous call per rule, and says when the dependents list is a lower bound because a page or a detail read failed. An empty pipe no longer failsget_automation_logs_by_repo. The last page of an audit names itself so11 of 61is not read as a shortfall. (#612) -
Automations skill and docs, event and action compatibility: the skill named
field_updated+move_single_carda dead pairing and told agents to gate a rule on the action'striggerEvents. The pairing fires, andtriggerEventsis not a compatibility allowlist: actions return it empty, list their owneventsBlacklistentries inside it, and run with events outside it. Both surfaces now state the rule the catalog supports, a pair is invalid when the event is in the action'seventsBlacklist, name theevent_action_blacklistrejectioncreate_automationreturns for one, and record thatupdate_automationdoes not enforce the denylist, so a rule can be patched into a blacklisted pair. The skill also carries the full catalog-to-input spelling map forevent_params(trigger_field_idsistriggerFieldIds, andto_phase_idis the only key that stays snake_case) and thescheduler_frequencyplus five-fieldschedulerCronshape recurring rules need. (#689)
Changed
- SDK
get_automations: returns the connection page (nodes,totalCount,pageInfo) instead of a bare list, so callers can detect a truncated listing.