# extendify/3.1.5/src/Agent/lib/abilities.js

Extendify, version 3.1.5. 11 lines.

- Page: https://pluginprobe.com/plugins/extendify/3.1.5/code/src/Agent/lib/abilities.js
- Raw: https://pluginprobe.com/plugins/extendify/3.1.5/raw/src/Agent/lib/abilities.js
- Modified: 2026-08-12T16:23:58+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/extendify/3.1.5/code/src/Agent/lib/abilities.js#L10-L20`.

```javascript
// Ability workflows are synthesized per-request by the backend under a
// `wp-ability:` id prefix, so they carry no static workflow definition.
export const isAbilityWorkflow = (id) =>
	typeof id === 'string' && id.startsWith('wp-ability:');

// Confirmed abilities are writes, and nothing else re-renders what they changed.
export const isAbilityTool = (id) =>
	(window.extAgentData?.wpAbilities ?? []).some((category) =>
		category.abilities?.some((ability) => ability.name === id),
	);

```
