| @@ -462,9 +462,9 @@ | ||
| 462 | 462 | wp_register_ability( |
| 463 | 463 | 'desktop-mode/read-source-excerpt', |
| 464 | 464 | array( |
| 465 | 465 | 'label' => __( 'Read source around a logged line', 'desktop-mode' ), |
| 466 | - 'description' => 'Reads the PHP (or JS/CSS) source around a line the error log named, so you can see the code that failed instead of guessing at it. Pass a `file` path and `line` taken from an issue or from its stack trace. Returns numbered lines so you can quote them precisely. IMPORTANT LIMITS, and they are refusals rather than empty results: only files the CURRENT log actually mentions can be read, only inside this WordPress install, only source extensions, and never wp-config.php or a .env — if you need a value from configuration, ask the user for it. You are reading this file to EXPLAIN and to PROPOSE a change; you have no ability to write it, so give the user the edit to make.', | |
| 466 | + 'description' => 'Reads the PHP (or JS/CSS) source around a line the error log named, so you can see the code that failed instead of guessing at it. Pass a `file` path and `line` taken from an issue or from its stack trace. Returns numbered lines so you can quote them precisely. Limits, each returned as a refusal rather than an empty result: only files the current log mentions, only inside this WordPress install, only source extensions, and never wp-config.php or a .env (ask the user for any configuration value you need). Read-only: the file cannot be changed through any tool.', | |
| 467 | 467 | 'category' => OPENSTATION_AI_ABILITY_CATEGORY, |
| 468 | 468 | 'input_schema' => array( |
| 469 | 469 | 'type' => 'object', |
| 470 | 470 | 'additionalProperties' => false, |