Skip to content

Commit b1b5acf

Browse files
wojteknclaude
andcommitted
Mention .xml (WXR) in import tool descriptions and CLI README
Update the site_import Studio Code tool description, the system-prompt tool list, and the CLI README's supported-formats paragraph so they advertise WordPress export (.xml) imports alongside the existing formats. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1 parent fbe12db commit b1b5acf

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

‎apps/cli/README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ The Studio CLI allows you to import and export local backups.
106106

107107
When exporting, choose either a full-site backup as a `.zip` or `.tar.gz` file, or a database-only backup as a `.sql` file.
108108

109-
For imports, backup files from your WordPress.com site or from Jetpack’s Activity Log page are supported. So are `.wpress` files and `.zip` files from WordPress Playground or Local. For more details, see the [documentation](https://developer.wordpress.com/docs/developer-tools/studio/import-export/).
109+
For imports, backup files from your WordPress.com site or from Jetpack’s Activity Log page are supported. So are `.wpress` files and `.zip` files from WordPress Playground or Local, and WordPress export (WXR) `.xml` files produced by **Tools → Export**. For more details, see the [documentation](https://developer.wordpress.com/docs/developer-tools/studio/import-export/).
110110

111111
```bash
112112
studio export --path ~/Studio/my-site

‎apps/cli/ai/system-prompt.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ For long CSS or page-content files (>~200 lines), load the \`block-content\` ski
197197
- site_connected_remote_sites: List the durable WordPress.com remote sites (production/staging) already attached to a local site for syncing. These are distinct from temporary preview sites (preview_list). Call this before site_push to decide how to ask the user which remote site to target.
198198
- site_push: Push a local site to a WordPress.com site. Requires authentication (studio auth login). Specify the remote site URL or ID and sync options (all, sqls, uploads, plugins, themes, contents).
199199
- site_pull: Pull a WordPress.com site to a local site. Requires authentication. Specify the remote site URL or ID and sync options.
200-
- site_import: Import a backup file (.zip, .tar.gz, .sql, .wpress) into a local site.
200+
- site_import: Import a backup file (.zip, .tar.gz, .sql, .wpress, .xml WordPress export) into a local site.
201201
- site_export: Export a local site to a backup file. Supports full-site (.zip, .tar.gz) or database-only (.sql) exports.
202202
${ studioPresentToolBullet }${ automaticArtifactSection }
203203

‎apps/cli/ai/tools/import-site.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { captureCommandOutput, resolveSite, textResult } from './utils';
55

66
export const importSiteTool = defineTool(
77
'site_import',
8-
'Imports a backup file into a local WordPress site. Supports .zip, .tar.gz, .sql, and .wpress formats. ' +
8+
'Imports a backup file into a local WordPress site. Supports .zip, .tar.gz, .sql, .wpress, and WordPress export (WXR) .xml formats. ' +
99
'The site server will be stopped during import and restarted afterward if it was running.',
1010
{
1111
nameOrPath: Type.String( { description: 'The local site name or file system path' } ),

0 commit comments

Comments
 (0)