Skip to content

Conversation

AlexAndriesUiPath
Copy link
Contributor

@AlexAndriesUiPath AlexAndriesUiPath commented Oct 17, 2025

Override AGENTS.md and Related Files on Init

Summary

This PR updates the uipath init command to override existing agent documentation files (AGENTS.md, CLAUDE.md, and reference files) instead of skipping them when they already exist. This ensures users always get the latest version of these files when running uipath init.

Motivation

Previously, when users ran uipath init, the command would skip creating AGENTS.md and related files if they already existed in the project directory. This meant that users would not receive updates to these important documentation files when:

  • The SDK is updated with new features or CLI commands
  • Reference documentation is improved or corrected
  • New services or methods are added to the SDK

By overriding these files on each uipath init run, users automatically get the most up-to-date documentation that matches their installed SDK version.

Impact

User-facing changes:

  • Users running uipath init will now receive updated documentation files automatically
  • Any manual edits to these files will be overwritten (users should not edit these auto-generated files)

Development Package

  • Add this package as a dependency in your pyproject.toml:
[project]
dependencies = [
  # Exact version:
  "uipath==2.1.91.dev1007231832",

  # Any version from PR
  "uipath>=2.1.91.dev1007230000,<2.1.91.dev1007240000"
]

[[tool.uv.index]]
name = "testpypi"
url = "https://test.pypi.org/simple/"
publish-url = "https://test.pypi.org/legacy/"
explicit = true

[tool.uv.sources]
uipath = { index = "testpypi" }

@AlexAndriesUiPath AlexAndriesUiPath added the build:dev Create a dev build from the pr label Oct 17, 2025
@github-actions github-actions bot added test:uipath-langchain Triggers tests in the uipath-langchain-python repository test:uipath-llamaindex Triggers tests in the uipath-llamaindex-python repository labels Oct 17, 2025
@gheorghitahurmuz
Copy link
Contributor

I think we should show what we’re going to override. otherwise if the user has custom instructions we might override them

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

Labels

build:dev Create a dev build from the pr test:uipath-langchain Triggers tests in the uipath-langchain-python repository test:uipath-llamaindex Triggers tests in the uipath-llamaindex-python repository

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants