uipath 2.1.98__tar.gz → 2.1.99__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of uipath might be problematic. Click here for more details.
- {uipath-2.1.98 → uipath-2.1.99}/PKG-INFO +1 -1
- {uipath-2.1.98 → uipath-2.1.99}/pyproject.toml +2 -4
- {uipath-2.1.98 → uipath-2.1.99}/src/uipath/_cli/cli_init.py +40 -10
- {uipath-2.1.98 → uipath-2.1.99}/src/uipath/_resources/CLI_REFERENCE.md +1 -0
- {uipath-2.1.98 → uipath-2.1.99}/src/uipath/_services/documents_service.py +4 -0
- {uipath-2.1.98 → uipath-2.1.99}/src/uipath/models/job.py +1 -1
- {uipath-2.1.98 → uipath-2.1.99}/tests/cli/test_init_agents_md.py +60 -20
- {uipath-2.1.98 → uipath-2.1.99}/uv.lock +1 -1
- {uipath-2.1.98 → uipath-2.1.99}/.claude/agents/command-tester.md +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/.claude/commands/prepare-pr.md +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/.cursorrules +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/.editorconfig +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/.gitattributes +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/.github/labeler.yml +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/.github/workflows/auto-label.yml +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/.github/workflows/cd.yml +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/.github/workflows/ci.yml +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/.github/workflows/commitlint.yml +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/.github/workflows/integration_tests.yml +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/.github/workflows/lint.yml +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/.github/workflows/publish-dev.yml +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/.github/workflows/publish-docs.yml +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/.github/workflows/slack.yml +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/.github/workflows/test-uipath-langchain.yml +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/.github/workflows/test-uipath-llamaindex.yml +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/.github/workflows/test.yml +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/.gitignore +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/.pre-commit-config.yaml +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/.python-version +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/.vscode/extensions.json +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/.vscode/launch.json +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/.vscode/settings.json +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/CONTRIBUTING.md +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/LICENSE +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/README.md +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/docs/CONTRIBUTING.md +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/docs/FAQ.md +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/docs/assets/env-preparation-failed-dark.png +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/docs/assets/env-preparation-failed-light.png +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/docs/assets/favicon.png +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/docs/assets/llms.txt +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/docs/assets/logo-dark.svg +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/docs/assets/logo-light.svg +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/docs/cli/index.md +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/docs/core/actions.md +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/docs/core/assets/cloud_env_var_dark.gif +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/docs/core/assets/cloud_env_var_light.gif +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/docs/core/assets/cloud_env_var_secret_dark.png +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/docs/core/assets/cloud_env_var_secret_light.png +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/docs/core/assets/copy_path_dark.png +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/docs/core/assets/copy_path_light.png +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/docs/core/assets.md +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/docs/core/attachments.md +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/docs/core/buckets.md +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/docs/core/connections.md +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/docs/core/context_grounding.md +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/docs/core/documents.md +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/docs/core/documents_models.md +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/docs/core/environment_variables.md +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/docs/core/getting_started.md +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/docs/core/jobs.md +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/docs/core/llm_gateway.md +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/docs/core/processes.md +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/docs/core/queues.md +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/docs/core/traced.md +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/docs/hooks.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/docs/index.md +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/docs/javascripts/extra.js +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/docs/overrides/main.html +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/docs/overrides/partials/actions.html +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/docs/overrides/partials/logo.html +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/docs/release_policy.md +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/docs/sample_images/google-ADK-agent/agent-output.png +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/docs/stylesheets/extra.css +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/justfile +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/mkdocs.yml +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/py.typed +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/samples/asset-modifier-agent/.env.example +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/samples/asset-modifier-agent/README.md +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/samples/asset-modifier-agent/input.json +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/samples/asset-modifier-agent/main.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/samples/asset-modifier-agent/pyproject.toml +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/samples/asset-modifier-agent/uv.lock +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/samples/calculator/README.md +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/samples/calculator/evals/eval-sets/default.json +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/samples/calculator/evals/evaluators/equality.json +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/samples/calculator/evals/evaluators/llm-as-a-judge.json +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/samples/calculator/main.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/samples/calculator/pyproject.toml +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/samples/calculator/uipath.json +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/samples/event-trigger/.python-version +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/samples/event-trigger/README.md +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/samples/event-trigger/main.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/samples/event-trigger/pyproject.toml +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/samples/google-ADK-agent/.env.example +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/samples/google-ADK-agent/README.md +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/samples/google-ADK-agent/input.json +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/samples/google-ADK-agent/multi_tool_agent/__init__.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/samples/google-ADK-agent/multi_tool_agent/agent.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/samples/google-ADK-agent/pyproject.toml +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/samples/google-ADK-agent/uv.lock +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/scripts/debug_test.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/scripts/lint_httpx_client.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/scripts/update_agents_md.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/src/uipath/__init__.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/src/uipath/_cli/README.md +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/src/uipath/_cli/__init__.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/src/uipath/_cli/_auth/_auth_server.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/src/uipath/_cli/_auth/_auth_service.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/src/uipath/_cli/_auth/_models.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/src/uipath/_cli/_auth/_oidc_utils.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/src/uipath/_cli/_auth/_portal_service.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/src/uipath/_cli/_auth/_url_utils.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/src/uipath/_cli/_auth/_utils.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/src/uipath/_cli/_auth/auth_config.json +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/src/uipath/_cli/_auth/index.html +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/src/uipath/_cli/_auth/localhost.crt +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/src/uipath/_cli/_auth/localhost.key +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/src/uipath/_cli/_debug/_bridge.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/src/uipath/_cli/_debug/_runtime.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/src/uipath/_cli/_dev/_terminal/__init__.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/src/uipath/_cli/_dev/_terminal/_components/_chat.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/src/uipath/_cli/_dev/_terminal/_components/_details.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/src/uipath/_cli/_dev/_terminal/_components/_history.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/src/uipath/_cli/_dev/_terminal/_components/_json_input.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/src/uipath/_cli/_dev/_terminal/_components/_new.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/src/uipath/_cli/_dev/_terminal/_models/_execution.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/src/uipath/_cli/_dev/_terminal/_models/_messages.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/src/uipath/_cli/_dev/_terminal/_styles/terminal.tcss +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/src/uipath/_cli/_dev/_terminal/_utils/_chat.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/src/uipath/_cli/_dev/_terminal/_utils/_exporter.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/src/uipath/_cli/_dev/_terminal/_utils/_logger.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/src/uipath/_cli/_evals/_console_progress_reporter.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/src/uipath/_cli/_evals/_evaluator_factory.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/src/uipath/_cli/_evals/_models/_evaluation_set.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/src/uipath/_cli/_evals/_models/_evaluator.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/src/uipath/_cli/_evals/_models/_evaluator_base_params.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/src/uipath/_cli/_evals/_models/_exceptions.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/src/uipath/_cli/_evals/_models/_mocks.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/src/uipath/_cli/_evals/_models/_output.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/src/uipath/_cli/_evals/_models/_sw_reporting.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/src/uipath/_cli/_evals/_progress_reporter.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/src/uipath/_cli/_evals/_runtime.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/src/uipath/_cli/_evals/_span_collection.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/src/uipath/_cli/_evals/mocks/__init__.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/src/uipath/_cli/_evals/mocks/input_mocker.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/src/uipath/_cli/_evals/mocks/llm_mocker.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/src/uipath/_cli/_evals/mocks/mocker.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/src/uipath/_cli/_evals/mocks/mocker_factory.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/src/uipath/_cli/_evals/mocks/mockito_mocker.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/src/uipath/_cli/_evals/mocks/mocks.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/src/uipath/_cli/_push/sw_file_handler.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/src/uipath/_cli/_runtime/_contracts.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/src/uipath/_cli/_runtime/_escalation.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/src/uipath/_cli/_runtime/_hitl.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/src/uipath/_cli/_runtime/_logging.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/src/uipath/_cli/_runtime/_runtime.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/src/uipath/_cli/_runtime/_runtime_factory.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/src/uipath/_cli/_runtime/_script_executor.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/src/uipath/_cli/_templates/.psmdcp.template +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/src/uipath/_cli/_templates/.rels.template +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/src/uipath/_cli/_templates/[Content_Types].xml.template +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/src/uipath/_cli/_templates/main.py.template +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/src/uipath/_cli/_templates/package.nuspec.template +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/src/uipath/_cli/_utils/_common.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/src/uipath/_cli/_utils/_console.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/src/uipath/_cli/_utils/_constants.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/src/uipath/_cli/_utils/_debug.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/src/uipath/_cli/_utils/_eval_set.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/src/uipath/_cli/_utils/_folders.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/src/uipath/_cli/_utils/_input_args.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/src/uipath/_cli/_utils/_parse_ast.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/src/uipath/_cli/_utils/_processes.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/src/uipath/_cli/_utils/_project_files.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/src/uipath/_cli/_utils/_studio_project.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/src/uipath/_cli/_utils/_tracing.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/src/uipath/_cli/_utils/_uv_helpers.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/src/uipath/_cli/cli_auth.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/src/uipath/_cli/cli_debug.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/src/uipath/_cli/cli_deploy.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/src/uipath/_cli/cli_dev.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/src/uipath/_cli/cli_eval.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/src/uipath/_cli/cli_invoke.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/src/uipath/_cli/cli_new.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/src/uipath/_cli/cli_pack.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/src/uipath/_cli/cli_publish.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/src/uipath/_cli/cli_pull.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/src/uipath/_cli/cli_push.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/src/uipath/_cli/cli_run.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/src/uipath/_cli/middlewares.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/src/uipath/_cli/models/__init__.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/src/uipath/_cli/models/runtime_schema.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/src/uipath/_cli/spinner.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/src/uipath/_config.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/src/uipath/_events/__init__.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/src/uipath/_events/_event_bus.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/src/uipath/_events/_events.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/src/uipath/_execution_context.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/src/uipath/_folder_context.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/src/uipath/_resources/AGENTS.md +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/src/uipath/_resources/CLAUDE.md +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/src/uipath/_resources/REQUIRED_STRUCTURE.md +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/src/uipath/_resources/SDK_REFERENCE.md +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/src/uipath/_services/__init__.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/src/uipath/_services/_base_service.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/src/uipath/_services/actions_service.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/src/uipath/_services/api_client.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/src/uipath/_services/assets_service.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/src/uipath/_services/attachments_service.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/src/uipath/_services/buckets_service.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/src/uipath/_services/connections_service.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/src/uipath/_services/context_grounding_service.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/src/uipath/_services/entities_service.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/src/uipath/_services/external_application_service.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/src/uipath/_services/folder_service.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/src/uipath/_services/jobs_service.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/src/uipath/_services/llm_gateway_service.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/src/uipath/_services/processes_service.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/src/uipath/_services/queues_service.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/src/uipath/_uipath.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/src/uipath/_utils/__init__.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/src/uipath/_utils/_auth.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/src/uipath/_utils/_endpoint.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/src/uipath/_utils/_infer_bindings.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/src/uipath/_utils/_logs.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/src/uipath/_utils/_read_overwrites.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/src/uipath/_utils/_request_override.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/src/uipath/_utils/_request_spec.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/src/uipath/_utils/_ssl_context.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/src/uipath/_utils/_url.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/src/uipath/_utils/_user_agent.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/src/uipath/_utils/constants.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/src/uipath/agent/_utils.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/src/uipath/agent/conversation/__init__.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/src/uipath/agent/conversation/async_stream.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/src/uipath/agent/conversation/citation.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/src/uipath/agent/conversation/content.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/src/uipath/agent/conversation/conversation.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/src/uipath/agent/conversation/event.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/src/uipath/agent/conversation/exchange.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/src/uipath/agent/conversation/message.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/src/uipath/agent/conversation/meta.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/src/uipath/agent/conversation/tool.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/src/uipath/agent/loop/__init__.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/src/uipath/agent/loop/prompts.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/src/uipath/agent/loop/tools.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/src/uipath/agent/models/agent.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/src/uipath/agent/models/evals.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/src/uipath/eval/_helpers/__init__.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/src/uipath/eval/_helpers/helpers.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/src/uipath/eval/evaluators/__init__.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/src/uipath/eval/evaluators/base_evaluator.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/src/uipath/eval/evaluators/deterministic_evaluator_base.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/src/uipath/eval/evaluators/exact_match_evaluator.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/src/uipath/eval/evaluators/json_similarity_evaluator.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/src/uipath/eval/evaluators/llm_as_judge_evaluator.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/src/uipath/eval/evaluators/trajectory_evaluator.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/src/uipath/eval/mocks/__init__.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/src/uipath/eval/mocks/mockable.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/src/uipath/eval/models/__init__.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/src/uipath/eval/models/models.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/src/uipath/models/__init__.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/src/uipath/models/action_schema.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/src/uipath/models/actions.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/src/uipath/models/assets.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/src/uipath/models/attachment.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/src/uipath/models/auth.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/src/uipath/models/buckets.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/src/uipath/models/connections.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/src/uipath/models/context_grounding.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/src/uipath/models/context_grounding_index.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/src/uipath/models/documents.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/src/uipath/models/entities.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/src/uipath/models/errors.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/src/uipath/models/exceptions.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/src/uipath/models/interrupt_models.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/src/uipath/models/llm_gateway.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/src/uipath/models/processes.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/src/uipath/models/queues.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/src/uipath/py.typed +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/src/uipath/telemetry/__init__.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/src/uipath/telemetry/_constants.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/src/uipath/telemetry/_track.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/src/uipath/tracing/__init__.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/src/uipath/tracing/_otel_exporters.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/src/uipath/tracing/_traced.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/src/uipath/tracing/_utils.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/src/uipath/utils/__init__.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/src/uipath/utils/_endpoints_manager.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/src/uipath/utils/dynamic_schema.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/testcases/apicalls-testcase/main.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/testcases/apicalls-testcase/pyproject.toml +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/testcases/apicalls-testcase/run.sh +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/testcases/apicalls-testcase/src/assert.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/testcases/basic-testcase/main.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/testcases/basic-testcase/pyproject.toml +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/testcases/basic-testcase/run.sh +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/testcases/basic-testcase/src/assert.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/testcases/common/validate_output.sh +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/testcases/langchain-cross/agent.mermaid +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/testcases/langchain-cross/langgraph.json +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/testcases/langchain-cross/pyproject.toml +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/testcases/langchain-cross/run.sh +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/testcases/langchain-cross/src/assert.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/testcases/langchain-cross/src/main.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/testcases/llamaindex-cross/agent.mermaid +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/testcases/llamaindex-cross/llama_index.json +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/testcases/llamaindex-cross/pyproject.toml +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/testcases/llamaindex-cross/run.sh +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/testcases/llamaindex-cross/src/assert.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/testcases/llamaindex-cross/src/main.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/tests/__init__.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/tests/agent/models/test_agent.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/tests/agent/models/test_evals.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/tests/cli/conftest.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/tests/cli/eval/mocks/test_input_mocker.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/tests/cli/eval/mocks/test_mocks.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/tests/cli/evaluators/test_json_similarity_evaluator.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/tests/cli/mocks/bindings_script.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/tests/cli/mocks/pyproject.toml +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/tests/cli/mocks/simple_script.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/tests/cli/mocks/uipath-mock.json +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/tests/cli/mocks/uipath-simple-script-mock.json +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/tests/cli/models/test_runtime_schema.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/tests/cli/test_auth.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/tests/cli/test_hitl.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/tests/cli/test_init.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/tests/cli/test_input_args.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/tests/cli/test_invoke.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/tests/cli/test_new.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/tests/cli/test_oidc_utils.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/tests/cli/test_pack.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/tests/cli/test_portal_service_ensure_valid_token.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/tests/cli/test_portal_service_refresh_token.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/tests/cli/test_publish.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/tests/cli/test_pull.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/tests/cli/test_push.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/tests/cli/test_run.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/tests/cli/test_utils.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/tests/cli/utils/common.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/tests/cli/utils/project_details.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/tests/cli/utils/test_dynamic_schema.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/tests/cli/utils/uipath_json.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/tests/conftest.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/tests/sdk/services/conftest.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/tests/sdk/services/test_actions_service.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/tests/sdk/services/test_api_client.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/tests/sdk/services/test_assets_service.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/tests/sdk/services/test_attachments_service.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/tests/sdk/services/test_base_service.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/tests/sdk/services/test_buckets_service.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/tests/sdk/services/test_connections_service.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/tests/sdk/services/test_context_grounding_service.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/tests/sdk/services/test_documents_service.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/tests/sdk/services/test_entities_service.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/tests/sdk/services/test_external_application_service.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/tests/sdk/services/test_folder_service.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/tests/sdk/services/test_jobs_service.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/tests/sdk/services/test_llm_integration.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/tests/sdk/services/test_llm_schema_cleanup.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/tests/sdk/services/test_llm_service.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/tests/sdk/services/test_processes_service.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/tests/sdk/services/test_queues_service.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/tests/sdk/services/test_uipath_llm_integration.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/tests/sdk/services/tests_data/documents_service/create_validation_action_response.json +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/tests/sdk/services/tests_data/documents_service/extraction_response.json +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/tests/sdk/services/tests_data/documents_service/validated_result.json +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/tests/sdk/test_bindings_inference.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/tests/sdk/test_config.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/tests/sdk/test_overwrites.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/tests/tracing/test_otel_exporters.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/tests/tracing/test_span_utils.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/tests/tracing/test_traced.py +0 -0
- {uipath-2.1.98 → uipath-2.1.99}/tests/tracing/test_tracing_manager.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: uipath
|
|
3
|
-
Version: 2.1.
|
|
3
|
+
Version: 2.1.99
|
|
4
4
|
Summary: Python SDK and CLI for UiPath Platform, enabling programmatic interaction with automation services, process management, and deployment tools.
|
|
5
5
|
Project-URL: Homepage, https://uipath.com
|
|
6
6
|
Project-URL: Repository, https://github.com/UiPath/uipath-python
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "uipath"
|
|
3
|
-
version = "2.1.
|
|
3
|
+
version = "2.1.99"
|
|
4
4
|
description = "Python SDK and CLI for UiPath Platform, enabling programmatic interaction with automation services, process management, and deployment tools."
|
|
5
5
|
readme = { file = "README.md", content-type = "text/markdown" }
|
|
6
6
|
requires-python = ">=3.10"
|
|
@@ -76,9 +76,7 @@ dev = [
|
|
|
76
76
|
|
|
77
77
|
[tool.hatch.build.targets.wheel]
|
|
78
78
|
packages = ["src/uipath"]
|
|
79
|
-
include = [
|
|
80
|
-
"src/uipath/_resources"
|
|
81
|
-
]
|
|
79
|
+
include = ["src/uipath/_resources"]
|
|
82
80
|
|
|
83
81
|
[tool.ruff]
|
|
84
82
|
line-length = 88
|
|
@@ -60,18 +60,25 @@ def generate_env_file(target_directory):
|
|
|
60
60
|
console.success(f"Created '{relative_path}' file.")
|
|
61
61
|
|
|
62
62
|
|
|
63
|
-
def generate_agent_md_file(
|
|
63
|
+
def generate_agent_md_file(
|
|
64
|
+
target_directory: str, file_name: str, no_agents_md_override: bool
|
|
65
|
+
) -> bool:
|
|
64
66
|
"""Generate an agent-specific file from the packaged resource.
|
|
65
67
|
|
|
66
68
|
Args:
|
|
67
69
|
target_directory: The directory where the file should be created.
|
|
68
70
|
file_name: The name of the file should be created.
|
|
71
|
+
no_agents_md_override: Whether to override existing files.
|
|
69
72
|
"""
|
|
70
73
|
target_path = os.path.join(target_directory, file_name)
|
|
71
74
|
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
+
will_override = os.path.exists(target_path)
|
|
76
|
+
|
|
77
|
+
if will_override and no_agents_md_override:
|
|
78
|
+
console.success(
|
|
79
|
+
f"File {click.style(target_path, fg='cyan')} already exists. Skipping."
|
|
80
|
+
)
|
|
81
|
+
return False
|
|
75
82
|
|
|
76
83
|
try:
|
|
77
84
|
source_path = importlib.resources.files("uipath._resources").joinpath(file_name)
|
|
@@ -79,15 +86,23 @@ def generate_agent_md_file(target_directory: str, file_name: str) -> None:
|
|
|
79
86
|
with importlib.resources.as_file(source_path) as s_path:
|
|
80
87
|
shutil.copy(s_path, target_path)
|
|
81
88
|
|
|
89
|
+
if will_override:
|
|
90
|
+
logger.debug(f"File '{target_path}' has been overridden.")
|
|
91
|
+
|
|
92
|
+
return will_override
|
|
93
|
+
|
|
82
94
|
except Exception as e:
|
|
83
95
|
console.warning(f"Could not create {file_name}: {e}")
|
|
84
96
|
|
|
97
|
+
return False
|
|
98
|
+
|
|
85
99
|
|
|
86
|
-
def generate_agent_md_files(target_directory: str) -> None:
|
|
100
|
+
def generate_agent_md_files(target_directory: str, no_agents_md_override: bool) -> None:
|
|
87
101
|
"""Generate an agent-specific file from the packaged resource.
|
|
88
102
|
|
|
89
103
|
Args:
|
|
90
104
|
target_directory: The directory where the files should be created.
|
|
105
|
+
no_agents_md_override: Whether to override existing files.
|
|
91
106
|
"""
|
|
92
107
|
agent_dir = os.path.join(target_directory, ".agent")
|
|
93
108
|
os.makedirs(agent_dir, exist_ok=True)
|
|
@@ -96,13 +111,21 @@ def generate_agent_md_files(target_directory: str) -> None:
|
|
|
96
111
|
|
|
97
112
|
agent_files = ["CLI_REFERENCE.md", "REQUIRED_STRUCTURE.md", "SDK_REFERENCE.md"]
|
|
98
113
|
|
|
114
|
+
any_overridden = False
|
|
115
|
+
|
|
99
116
|
for file_name in root_files:
|
|
100
|
-
generate_agent_md_file(target_directory, file_name)
|
|
117
|
+
if generate_agent_md_file(target_directory, file_name, no_agents_md_override):
|
|
118
|
+
any_overridden = True
|
|
101
119
|
|
|
102
120
|
for file_name in agent_files:
|
|
103
|
-
generate_agent_md_file(agent_dir, file_name)
|
|
121
|
+
if generate_agent_md_file(agent_dir, file_name, no_agents_md_override):
|
|
122
|
+
any_overridden = True
|
|
104
123
|
|
|
105
|
-
|
|
124
|
+
if any_overridden:
|
|
125
|
+
console.success(f"Updated {click.style('AGENTS.md', fg='cyan')} related files.")
|
|
126
|
+
return
|
|
127
|
+
|
|
128
|
+
console.success(f"Created {click.style('AGENTS.md', fg='cyan')} related files.")
|
|
106
129
|
|
|
107
130
|
|
|
108
131
|
def get_existing_settings(config_path: str) -> Optional[Dict[str, Any]]:
|
|
@@ -149,8 +172,15 @@ def write_config_file(config_data: Dict[str, Any] | RuntimeSchema) -> None:
|
|
|
149
172
|
default=True,
|
|
150
173
|
help="Infer bindings from the script.",
|
|
151
174
|
)
|
|
175
|
+
@click.option(
|
|
176
|
+
"--no-agents-md-override",
|
|
177
|
+
is_flag=True,
|
|
178
|
+
required=False,
|
|
179
|
+
default=False,
|
|
180
|
+
help="Won't override existing .agent files and AGENTS.md file.",
|
|
181
|
+
)
|
|
152
182
|
@track
|
|
153
|
-
def init(entrypoint: str, infer_bindings: bool) -> None:
|
|
183
|
+
def init(entrypoint: str, infer_bindings: bool, no_agents_md_override: bool) -> None:
|
|
154
184
|
"""Create uipath.json with input/output schemas and bindings."""
|
|
155
185
|
with console.spinner("Initializing UiPath project ..."):
|
|
156
186
|
current_directory = os.getcwd()
|
|
@@ -175,7 +205,7 @@ def init(entrypoint: str, infer_bindings: bool) -> None:
|
|
|
175
205
|
if not result.should_continue:
|
|
176
206
|
return
|
|
177
207
|
|
|
178
|
-
generate_agent_md_files(current_directory)
|
|
208
|
+
generate_agent_md_files(current_directory, no_agents_md_override)
|
|
179
209
|
script_path = get_user_script(current_directory, entrypoint=entrypoint)
|
|
180
210
|
if not script_path:
|
|
181
211
|
return
|
|
@@ -27,6 +27,7 @@ The UiPath Python SDK provides a comprehensive CLI for managing coded agents and
|
|
|
27
27
|
| Option | Type | Default | Description |
|
|
28
28
|
|--------|------|---------|-------------|
|
|
29
29
|
| `--infer-bindings` | flag | false | Infer bindings from the script. |
|
|
30
|
+
| `--no-agents-md-override` | flag | false | Won't override existing .agent files and AGENTS.md file. |
|
|
30
31
|
|
|
31
32
|
**Usage Examples:**
|
|
32
33
|
|
|
@@ -27,6 +27,10 @@ class DocumentsService(FolderContext, BaseService):
|
|
|
27
27
|
"""Service for managing UiPath DocumentUnderstanding Document Operations.
|
|
28
28
|
|
|
29
29
|
This service provides methods to extract data from documents using UiPath's Document Understanding capabilities.
|
|
30
|
+
|
|
31
|
+
!!! warning "Preview Feature"
|
|
32
|
+
This function is currently experimental.
|
|
33
|
+
Behavior and parameters are subject to change in future versions.
|
|
30
34
|
"""
|
|
31
35
|
|
|
32
36
|
def __init__(self, config: Config, execution_context: ExecutionContext) -> None:
|
|
@@ -15,7 +15,7 @@ class JobErrorInfo(BaseModel):
|
|
|
15
15
|
title: Optional[str] = Field(default=None, alias="Title")
|
|
16
16
|
detail: Optional[str] = Field(default=None, alias="Detail")
|
|
17
17
|
category: Optional[str] = Field(default=None, alias="Category")
|
|
18
|
-
status: Optional[
|
|
18
|
+
status: Optional[int] = Field(default=None, alias="Status")
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
class Job(BaseModel):
|
|
@@ -44,22 +44,42 @@ class TestGenerateAgentMdFile:
|
|
|
44
44
|
mock_as_file.return_value.__enter__.return_value = mock_source
|
|
45
45
|
mock_as_file.return_value.__exit__.return_value = None
|
|
46
46
|
|
|
47
|
-
generate_agent_md_file(temp_dir, "AGENTS.md")
|
|
47
|
+
generate_agent_md_file(temp_dir, "AGENTS.md", False)
|
|
48
48
|
|
|
49
49
|
assert (Path(temp_dir) / "AGENTS.md").exists()
|
|
50
50
|
finally:
|
|
51
51
|
os.chdir(original_cwd)
|
|
52
52
|
|
|
53
|
-
def
|
|
54
|
-
"""Test that existing AGENTS.md is
|
|
53
|
+
def test_generate_agents_md_overwrites_existing_file(self) -> None:
|
|
54
|
+
"""Test that existing AGENTS.md is overwritten."""
|
|
55
55
|
with tempfile.TemporaryDirectory() as temp_dir:
|
|
56
56
|
agents_path = Path(temp_dir) / "AGENTS.md"
|
|
57
57
|
original_content = "Original content"
|
|
58
58
|
agents_path.write_text(original_content)
|
|
59
59
|
|
|
60
|
-
|
|
60
|
+
mock_source = (
|
|
61
|
+
Path(__file__).parent.parent.parent
|
|
62
|
+
/ "src"
|
|
63
|
+
/ "uipath"
|
|
64
|
+
/ "_resources"
|
|
65
|
+
/ "AGENTS.md"
|
|
66
|
+
)
|
|
61
67
|
|
|
62
|
-
|
|
68
|
+
with (
|
|
69
|
+
patch("uipath._cli.cli_init.importlib.resources.files") as mock_files,
|
|
70
|
+
patch(
|
|
71
|
+
"uipath._cli.cli_init.importlib.resources.as_file"
|
|
72
|
+
) as mock_as_file,
|
|
73
|
+
):
|
|
74
|
+
mock_path = MagicMock()
|
|
75
|
+
mock_files.return_value.joinpath.return_value = mock_path
|
|
76
|
+
mock_as_file.return_value.__enter__.return_value = mock_source
|
|
77
|
+
mock_as_file.return_value.__exit__.return_value = None
|
|
78
|
+
|
|
79
|
+
generate_agent_md_file(temp_dir, "AGENTS.md", False)
|
|
80
|
+
|
|
81
|
+
assert agents_path.read_text() != original_content
|
|
82
|
+
assert agents_path.exists()
|
|
63
83
|
|
|
64
84
|
def test_generate_agents_md_handles_errors_gracefully(self) -> None:
|
|
65
85
|
"""Test that errors are handled gracefully."""
|
|
@@ -70,7 +90,7 @@ class TestGenerateAgentMdFile:
|
|
|
70
90
|
):
|
|
71
91
|
mock_files.side_effect = RuntimeError("Test error")
|
|
72
92
|
|
|
73
|
-
generate_agent_md_file(temp_dir, "AGENTS.md")
|
|
93
|
+
generate_agent_md_file(temp_dir, "AGENTS.md", False)
|
|
74
94
|
|
|
75
95
|
mock_console.warning.assert_called_once()
|
|
76
96
|
assert "Could not create AGENTS.md: Test error" in str(
|
|
@@ -100,7 +120,7 @@ class TestGenerateAgentMdFiles:
|
|
|
100
120
|
mock_as_file.return_value.__enter__.return_value = temp_source
|
|
101
121
|
mock_as_file.return_value.__exit__.return_value = None
|
|
102
122
|
|
|
103
|
-
generate_agent_md_files(temp_dir)
|
|
123
|
+
generate_agent_md_files(temp_dir, False)
|
|
104
124
|
|
|
105
125
|
agent_dir = Path(temp_dir) / ".agent"
|
|
106
126
|
assert agent_dir.exists()
|
|
@@ -113,8 +133,8 @@ class TestGenerateAgentMdFiles:
|
|
|
113
133
|
assert (agent_dir / "REQUIRED_STRUCTURE.md").exists()
|
|
114
134
|
assert (agent_dir / "SDK_REFERENCE.md").exists()
|
|
115
135
|
|
|
116
|
-
def
|
|
117
|
-
"""Test that existing files are
|
|
136
|
+
def test_generate_agent_md_files_overwrites_existing_files(self) -> None:
|
|
137
|
+
"""Test that existing files are overwritten."""
|
|
118
138
|
with tempfile.TemporaryDirectory() as temp_dir:
|
|
119
139
|
agent_dir = Path(temp_dir) / ".agent"
|
|
120
140
|
agent_dir.mkdir()
|
|
@@ -132,6 +152,7 @@ class TestGenerateAgentMdFiles:
|
|
|
132
152
|
patch(
|
|
133
153
|
"uipath._cli.cli_init.importlib.resources.as_file"
|
|
134
154
|
) as mock_as_file,
|
|
155
|
+
patch("uipath._cli.cli_init.console"),
|
|
135
156
|
):
|
|
136
157
|
temp_source = Path(temp_dir) / "temp_source.md"
|
|
137
158
|
temp_source.write_text("Test content")
|
|
@@ -141,10 +162,12 @@ class TestGenerateAgentMdFiles:
|
|
|
141
162
|
mock_as_file.return_value.__enter__.return_value = temp_source
|
|
142
163
|
mock_as_file.return_value.__exit__.return_value = None
|
|
143
164
|
|
|
144
|
-
generate_agent_md_files(temp_dir)
|
|
165
|
+
generate_agent_md_files(temp_dir, False)
|
|
145
166
|
|
|
146
|
-
assert agents_path.read_text()
|
|
147
|
-
assert
|
|
167
|
+
assert agents_path.read_text() != agents_content
|
|
168
|
+
assert agents_path.read_text() == "Test content"
|
|
169
|
+
assert cli_ref_path.read_text() != cli_ref_content
|
|
170
|
+
assert cli_ref_path.read_text() == "Test content"
|
|
148
171
|
|
|
149
172
|
|
|
150
173
|
class TestInitWithAgentsMd:
|
|
@@ -187,10 +210,10 @@ class TestInitWithAgentsMd:
|
|
|
187
210
|
assert os.path.exists(".agent/REQUIRED_STRUCTURE.md")
|
|
188
211
|
assert os.path.exists(".agent/SDK_REFERENCE.md")
|
|
189
212
|
|
|
190
|
-
def
|
|
213
|
+
def test_init_overwrites_existing_agents_md(
|
|
191
214
|
self, runner: CliRunner, temp_dir: str
|
|
192
215
|
) -> None:
|
|
193
|
-
"""Test that existing AGENTS.md is
|
|
216
|
+
"""Test that existing AGENTS.md is overwritten."""
|
|
194
217
|
with runner.isolated_filesystem(temp_dir=temp_dir):
|
|
195
218
|
# Create a simple Python file
|
|
196
219
|
with open("main.py", "w") as f:
|
|
@@ -201,11 +224,28 @@ class TestInitWithAgentsMd:
|
|
|
201
224
|
with open("AGENTS.md", "w") as f:
|
|
202
225
|
f.write(original_content)
|
|
203
226
|
|
|
204
|
-
|
|
205
|
-
|
|
227
|
+
temp_source = Path(temp_dir) / "temp_source.md"
|
|
228
|
+
temp_source.write_text("Test content")
|
|
206
229
|
|
|
207
|
-
|
|
230
|
+
with (
|
|
231
|
+
patch("uipath._cli.cli_init.importlib.resources.files") as mock_files,
|
|
232
|
+
patch(
|
|
233
|
+
"uipath._cli.cli_init.importlib.resources.as_file"
|
|
234
|
+
) as mock_as_file,
|
|
235
|
+
):
|
|
236
|
+
# Setup mocks
|
|
237
|
+
mock_path = MagicMock()
|
|
238
|
+
mock_files.return_value.joinpath.return_value = mock_path
|
|
239
|
+
mock_as_file.return_value.__enter__.return_value = temp_source
|
|
240
|
+
mock_as_file.return_value.__exit__.return_value = None
|
|
241
|
+
|
|
242
|
+
# Run init (AGENTS.md creation is now default)
|
|
243
|
+
result = runner.invoke(cli, ["init"])
|
|
244
|
+
|
|
245
|
+
assert result.exit_code == 0
|
|
208
246
|
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
247
|
+
# Verify content was changed
|
|
248
|
+
with open("AGENTS.md", "r") as f:
|
|
249
|
+
content = f.read()
|
|
250
|
+
assert content != original_content
|
|
251
|
+
assert content == "Test content"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|