Skip to content

feat: add createDirectory method to FileClient - #342

Open
waterWang wants to merge 1 commit into
OpenHands:mainfrom
waterWang:fix/add-create-directory
Open

feat: add createDirectory method to FileClient#342
waterWang wants to merge 1 commit into
OpenHands:mainfrom
waterWang:fix/add-create-directory

Conversation

@waterWang

Copy link
Copy Markdown

Add createDirectory method to FileClient for the POST /api/file/create_directory endpoint.

The backend endpoint POST /api/file/create_directory was already added in software-agent-sdk#4482. This change adds the companion TypeScript client method.

Changes

  • Added createDirectory(path: string): Promise<Success> to FileClient
  • Uses POST /api/file/create_directory?path=<abs> with query parameter

Related

@github-actions github-actions Bot added the type: feat A new feature label Aug 13, 2026
@all-hands-bot

Copy link
Copy Markdown
Contributor

👋 This PR needs a couple of things fixed before OpenHands can review it:

  • the PR description's HUMAN: section needs at least 20 characters describing what you tested, not just the template placeholder

Push an update once this is addressed and this check re-runs automatically.

This is an automated check - no AI was used to generate this comment.

@georgeglarson georgeglarson left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: feat A new feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants