From ff4b164075c4be4138a859f24c51fbdc1f571744 Mon Sep 17 00:00:00 2001 From: Kari Harju Date: Wed, 22 May 2024 14:32:57 +0300 Subject: [PATCH] Rename the extension to just `Sema4.ai` (#3) * Rename the extension to just `Sema4.ai` * Single-click to development scripts * Fixing lints * Fixed develop scripts: yarn was missing * Version bump 1.22.3 --------- Co-authored-by: Cosmin G. Popa --- .../3_robocorp-code-bug-report.md | 6 +- .../4_robocorp-code-feature-request.md | 6 +- .github/workflows/linting.yml | 14 ++-- .../workflows/pre-release-robocorp-code.yml | 38 ++++----- .../release-robocorp-code-vscode.yml | 50 ++++++------ .../workflows/tests-robocorp-code-vscode.yml | 16 ++-- docs/changelog.md | 20 ++--- docs/develop.md | 20 ++--- docs/release.md | 10 +-- {sema4ai-code => sema4ai}/.gitignore | 0 {sema4ai-code => sema4ai}/.prettierignore | 0 {sema4ai-code => sema4ai}/.project | 2 +- {sema4ai-code => sema4ai}/.pydevproject | 0 .../org.eclipse.core.resources.prefs | 0 .../.settings/org.python.pydev.yaml | 0 {sema4ai-code => sema4ai}/.vscode/launch.json | 4 +- .../.vscode/sema4ai-code.code-workspace | 0 {sema4ai-code => sema4ai}/.vscodeignore | 0 {sema4ai-code => sema4ai}/.yarnrc.yml | 0 {sema4ai-code => sema4ai}/README.md | 6 +- {sema4ai-code => sema4ai}/bin/.gitignore | 0 .../bin/create_env/conda.yaml | 0 .../create_env/conda_vscode_darwin_amd64.yaml | 0 .../create_env/conda_vscode_linux_amd64.yaml | 0 .../conda_vscode_windows_amd64.yaml | 0 .../bin/create_env/get_env_info.py | 0 .../bin/create_env/output/keep.txt | 0 .../bin/create_env/robot.yaml | 0 sema4ai/bin/develop.bat | 53 +++++++++++++ sema4ai/bin/develop.sh | 62 +++++++++++++++ sema4ai/bin/developer.yaml | 12 +++ .../codegen/codegen_package.py | 20 ++--- {sema4ai-code => sema4ai}/codegen/commands.py | 6 +- {sema4ai-code => sema4ai}/codegen/convert.py | 0 {sema4ai-code => sema4ai}/codegen/settings.py | 6 +- {sema4ai-code => sema4ai}/codegen/views.py | 38 ++++----- {sema4ai-code => sema4ai}/dev.py | 18 +++-- .../images/command-palette.png | Bin .../images/dark/debug.svg | 0 .../images/dark/refresh.svg | 0 {sema4ai-code => sema4ai}/images/dark/run.svg | 0 {sema4ai-code => sema4ai}/images/gif_run.gif | Bin {sema4ai-code => sema4ai}/images/icon.png | Bin .../images/light/debug.svg | 0 .../images/light/refresh.svg | 0 .../images/light/run.svg | 0 .../images/sema4ai-outline-4.svg | 0 .../images/sema4ai-outline.svg | 0 {sema4ai-code => sema4ai}/package.json | 72 +++++++++--------- {sema4ai-code => sema4ai}/poetry.lock | 0 {sema4ai-code => sema4ai}/pyproject.toml | 6 +- .../src/sema4ai_code/__dev__main.py | 0 .../src/sema4ai_code/__init__.py | 2 +- .../src/sema4ai_code/__main__.py | 4 +- .../sema4ai_code/_language_server_feedback.py | 0 .../sema4ai_code/_language_server_login.py | 0 .../_language_server_playwright.py | 2 +- .../_language_server_pre_run_scripts.py | 0 .../sema4ai_code/_language_server_profile.py | 0 .../sema4ai_code/_language_server_vault.py | 0 .../src/sema4ai_code/_lint.py | 2 +- .../src/sema4ai_code/commands.py | 4 +- .../src/sema4ai_code/compute_launch.py | 0 .../src/sema4ai_code/find_robot_yaml.py | 0 .../src/sema4ai_code/holetree_manager.py | 0 .../src/sema4ai_code/hover.py | 0 .../src/sema4ai_code/inspector/README.md | 4 +- .../src/sema4ai_code/inspector/__init__.py | 0 .../src/sema4ai_code/inspector/client.py | 0 .../src/sema4ai_code/inspector/common.py | 0 .../sema4ai_code/inspector/image/__init__.py | 0 .../sema4ai_code/inspector/image/_bridge.py | 0 .../inspector/image/_image_inspector.py | 0 .../inspector/image/_snipping_tool.py | 0 .../inspector/image/vendor/__init__.py | 0 .../inspector/image/vendor/utils.py | 0 .../inspector/inspector__main__.py | 0 .../sema4ai_code/inspector/inspector_api.py | 4 +- .../inspector/inspector_language_server.py | 0 .../inspector/inspector_server_manager.py | 0 .../sema4ai_code/inspector/java/__init__.py | 0 .../inspector/java/highlighter.py | 0 .../inspector/java/java_inspector.py | 0 .../src/sema4ai_code/inspector/java/picker.py | 0 .../inspector/java/robocorp_java/__init__.py | 0 .../inspector/java/robocorp_java/_errors.py | 0 .../java/robocorp_java/_event_pump.py | 0 .../java/robocorp_java/_inspector.py | 0 .../inspector/java/robocorp_java/_locators.py | 0 .../sema4ai_code/inspector/web/__init__.py | 0 .../inspector/web/_web_inspector.py | 0 .../inspector/web/resources/README.md | 2 +- .../resources/browser-recording-guide.html | 0 .../inspector/web/resources/guide.html | 0 .../inspector/web/resources/inspector.css | 0 .../inspector/web/resources/inspector.js | 0 .../inspector/windows/__init__.py | 0 .../windows/robocorp_windows/__init__.py | 0 .../windows/robocorp_windows/_com_error.py | 0 .../windows/robocorp_windows/_config.py | 0 .../robocorp_windows/_config_uiautomation.py | 0 .../robocorp_windows/_control_element.py | 0 .../windows/robocorp_windows/_desktop.py | 0 .../windows/robocorp_windows/_errors.py | 0 .../robocorp_windows/_find_ui_automation.py | 0 .../windows/robocorp_windows/_find_window.py | 0 .../robocorp_windows/_func_lru_cache.py | 0 .../_func_robocorp_tasks_cache.py | 0 .../robocorp_windows/_icon_from_file.py | 0 .../windows/robocorp_windows/_inspect.py | 0 .../windows/robocorp_windows/_iter_tree.py | 0 .../windows/robocorp_windows/_match_ast.py | 0 .../windows/robocorp_windows/_match_common.py | 0 .../robocorp_windows/_match_tokenization.py | 0 .../windows/robocorp_windows/_processes.py | 0 .../windows/robocorp_windows/_screenshot.py | 0 .../_ui_automation_wrapper.py | 0 .../robocorp_windows/_vendored/__init__.py | 0 .../_vendored/uiautomation/__init__.py | 0 .../bin/UIAutomationClient_VC140_X64.dll | Bin .../bin/UIAutomationClient_VC140_X86.dll | Bin .../_vendored/uiautomation/uiautomation.py | 0 .../_vendored/uiautomation/version.py | 0 .../robocorp_windows/_window_element.py | 0 .../windows/robocorp_windows/protocols.py | 0 .../windows/robocorp_windows/py.typed | 0 .../inspector/windows/windows_inspector.py | 0 .../src/sema4ai_code/locator_json_hover.py | 0 .../src/sema4ai_code/options.py | 0 .../src/sema4ai_code/path_operations.py | 0 .../src/sema4ai_code/playwright/__init__.py | 0 .../playwright/__playwright__main.py | 0 .../playwright/playwright_template.html | 0 .../playwright/robocorp_browser/README.md | 2 +- .../playwright/robocorp_browser/__init__.py | 0 .../playwright/robocorp_browser/_caches.py | 0 .../playwright/robocorp_browser/_config.py | 0 .../playwright/robocorp_browser/_context.py | 0 .../playwright/robocorp_browser/_engines.py | 0 .../playwright/robocorp_browser/_types.py | 0 .../src/sema4ai_code/plugins/__init__.py | 0 .../plugins/resolve_interpreter.py | 14 ++-- .../src/sema4ai_code/protocols.py | 0 .../src/sema4ai_code/py.typed | 0 .../src/sema4ai_code/rcc.py | 4 +- .../src/sema4ai_code/rcc_space_info.py | 0 .../src/sema4ai_code/robo/__init__.py | 0 .../src/sema4ai_code/robo/collect_actions.py | 0 .../src/sema4ai_code/robo/launch_actions.py | 0 .../src/sema4ai_code/robo/launch_code_lens.py | 0 .../src/sema4ai_code/robo/lint_action.py | 0 .../sema4ai_code/robo/lint_in_target_env.py | 0 .../src/sema4ai_code/robocorp_config.py | 0 .../sema4ai_code/robocorp_language_server.py | 2 +- .../src/sema4ai_code/settings.py | 0 .../subprocess_check_output_interactive.py | 0 .../src/sema4ai_code/vendored/README.md | 0 .../src/sema4ai_code/vendored/__init__.py | 0 .../vendored/locators/containers.py | 0 .../vendored/locators/database.py | 0 .../sema4ai_code/vendored/locators/literal.py | 0 .../src/sema4ai_code/vendored_deps/README.md | 0 .../sema4ai_code/vendored_deps/__init__.py | 0 .../action_package_handling/__init__.py | 0 .../action_package_handling/cli_errors.py | 0 .../vendored_deps/package_deps/__init__.py | 0 .../vendored_deps/package_deps/_conda_deps.py | 0 .../package_deps/_deps_protocols.py | 0 .../package_deps/_package_deps.py | 0 .../vendored_deps/package_deps/_pip_deps.py | 0 .../vendored_deps/package_deps/analyzer.py | 36 ++++----- .../vendored_deps/package_deps/conda_cloud.py | 0 .../package_deps/conda_impl/__init__.py | 0 .../package_deps/conda_impl/conda_channel.py | 0 .../conda_impl/conda_match_spec.py | 0 .../package_deps/conda_impl/conda_path.py | 0 .../package_deps/conda_impl/conda_url.py | 0 .../package_deps/conda_impl/conda_version.py | 0 .../package_deps/pip_impl/__init__.py | 0 .../package_deps/pip_impl/pip_distlib_util.py | 0 .../pip_impl/pip_packaging_structure.py | 0 .../pip_impl/pip_packaging_version.py | 0 .../vendored_deps/package_deps/pypi_cloud.py | 0 .../vendored_deps/termcolors/__init__.py | 0 .../sema4ai_code_debug_adapter/__init__.py | 0 .../sema4ai_code_debug_adapter/__main__.py | 0 .../sema4ai_code_debug_adapter/constants.py | 0 .../debug_adapter_comm.py | 0 .../launch_process.py | 2 +- {sema4ai-code => sema4ai}/tests/conftest.py | 0 {sema4ai-code => sema4ai}/tests/pytest.ini | 0 .../__init__.py | 0 .../_dap_resources/.gitignore | 0 .../_dap_resources/minimal/.gitignore | 0 .../_dap_resources/minimal/conda.yaml | 0 .../_dap_resources/minimal/robot.yaml | 0 .../_dap_resources/minimal/tasks.robot | 0 .../project_with_env/.gitignore | 0 .../project_with_env/conda.yaml | 0 .../project_with_env/devdata/env.json | 0 .../project_with_env/robot.yaml | 0 .../project_with_env/tasks.robot | 0 .../fixtures.py | 2 +- .../test_debug_adapter.py | 2 +- .../tests/sema4ai_code_tests/__init__.py | 0 .../sema4ai_code_tests/_resources/__init__.py | 0 .../_resources/action_package/my_action.py | 0 .../_resources/action_package/package.yaml | 0 .../.conda_indexes/index_0001/linux-64.db | Bin .../.conda_indexes/index_0001/noarch.db | Bin .../.conda_indexes/index_0001/osx-64.db | Bin .../.conda_indexes/index_0001/win-64.db | Bin .../.conda_indexes/latest_index_info.json | 0 .../_resources/conda-forge cache/README.txt | 0 .../_resources/custom_envs/__init__.py | 0 .../custom_envs/pysample/conda.yaml | 0 .../custom_envs/pysample/robot.yaml | 0 .../_resources/custom_envs/pysample/task.py | 0 .../simple-web-scraper/.gitattributes | 0 .../custom_envs/simple-web-scraper/.gitignore | 0 .../custom_envs/simple-web-scraper/README.md | 0 .../simple-web-scraper/config/README.md | 0 .../simple-web-scraper/config/conda.yaml | 0 .../simple-web-scraper/devdata/env.json | 0 .../entrypoints/INTRODUCTION.md | 0 .../entrypoints/___entrypoint.cmd | 0 .../entrypoints/___entrypoint.sh | 0 .../libraries/ExampleLibrary.py | 0 .../libraries/INTRODUCTION.md | 0 .../simple-web-scraper/libraries/__init__.py | 0 .../resources/INTRODUCTION.md | 0 .../resources/keywords.robot | 0 .../custom_envs/simple-web-scraper/robot.yaml | 0 .../simple-web-scraper/tasks/INTRODUCTION.md | 0 .../tasks/simple-web-scraper.robot | 0 .../variables/INTRODUCTION.md | 0 .../simple-web-scraper/variables/variables.py | 0 .../custom_envs/work_items/conda.yaml | 0 .../devdata/work-items-in/input-1/file.txt | 0 .../work-items-in/input-1/work-items.json | 0 .../devdata/work-items-in/input-2/file.txt | 0 .../work-items-in/input-2/work-items.json | 0 .../work-items-out/latest-run/work-items.json | 0 .../devdata/work-items-out/run-1/file.txt | 0 .../work-items-out/run-1/work-items.json | 0 .../work-items-out/run-no-json/unrelated.json | 0 .../custom_envs/work_items/robot.yaml | 0 .../_resources/custom_envs/work_items/task.py | 0 .../_resources/robots/robot1/conda.yaml | 0 .../_resources/robots/robot1/locators.json | 0 .../_resources/robots/robot1/robot.yaml | 0 .../_resources/robots/robot2/conda.yaml | 0 .../robots/robot2/page_to_test.html | 0 .../_resources/robots/robot2/robot.yaml | 0 .../tests/sema4ai_code_tests/deps/__init__.py | 0 .../deps/cloud_mock_data.py | 2 +- .../deps/test_conda_cloud.py | 0 .../test_conda_cloud/noarch-testdata.json | 0 .../test_conda_cloud_index.yml | 0 .../deps/test_conda_yaml_deps.py | 0 .../check_bad_conda/conda.yaml | 0 .../check_bad_version/conda.yaml | 0 .../check_bad_version2/conda.yaml | 0 .../check_conda_version/conda.yaml | 0 .../check_github/conda.yaml | 0 .../check_python_version/conda.yaml | 0 .../check_use_trustore/conda.yaml | 0 .../test_conda_version_old.yml | 2 +- .../test_github_custom_package.yml | 0 .../test_hover_conda_yaml_rpaframework.yml | 4 +- .../test_python_version_check_bad_conda_.yml | 2 +- ...est_python_version_check_bad_version2_.yml | 4 +- ...test_python_version_check_bad_version_.yml | 4 +- ...t_python_version_check_python_version_.yml | 4 +- ...est_python_version_check_use_trustore_.yml | 4 +- .../deps/test_package_yaml_deps.py | 0 .../check_bad_op/package.yaml | 0 .../check_bad_package_yaml/package.yaml | 0 .../check_bad_python_version/package.yaml | 0 .../check_bad_version/package.yaml | 0 .../check_deps_from_conda/package.yaml | 0 .../check_python_version/package.yaml | 0 .../test_hover_package_yaml_rpaframework.yml | 4 +- .../test_package_yaml_check_bad_op_.yml | 4 +- ...t_package_yaml_check_bad_package_yaml_.yml | 2 +- ...package_yaml_check_bad_python_version_.yml | 2 +- .../test_package_yaml_check_bad_version_.yml | 4 +- ...st_package_yaml_check_deps_from_conda_.yml | 2 +- .../tests/sema4ai_code_tests/fixtures.py | 0 .../sema4ai_code_tests/inspector/__init__.py | 0 .../inspector/test_inspector_api.py | 0 .../inspector/test_inspector_api/div1Pick.yml | 0 .../test_inspector_api/page_to_test.html | 0 .../inspector/test_web_inspector.py | 0 .../inspector/test_web_inspector/alink.yml | 0 .../inspector/test_web_inspector/div1.yml | 0 .../test_web_inspector/page_to_test.html | 0 .../test_web_inspector/page_to_test2.html | 0 .../inspector/test_web_inspector/withImg.yml | 0 .../inspector/test_web_inspector/withName.yml | 0 .../inspector/test_windows_inspector.py | 0 .../tests/sema4ai_code_tests/protocols.py | 0 .../robo/test_list_actions.py | 0 .../test_list_actions/test_list_actions.yml | 0 .../robo/test_tasks_code_lenses.py | 0 .../test_tasks_code_lenses.yml | 0 .../robocode_language_server_client.py | 0 .../tests/sema4ai_code_tests/snippet_tk.py | 0 .../test_check_output_interactive.py | 0 .../tests/sema4ai_code_tests/test_cli.py | 2 +- .../test_command_dispatch.py | 0 .../sema4ai_code_tests/test_compute_launch.py | 0 .../test_language_server_directly.py | 0 .../test_pre_run_scripts.py | 0 .../test_prebuilt_environments.py | 2 +- .../tests/sema4ai_code_tests/test_rcc.py | 2 +- .../test_rcc/bad_robot1/conda.yaml | 0 .../test_rcc/bad_robot1/robot.yaml | 0 .../test_rcc/robot1/conda.yaml | 0 .../test_rcc/robot1/robot.yaml | 0 .../test_rcc/robot2/conda.yaml | 0 .../test_rcc/robot2/robot.yaml | 0 .../test_rcc/robot3/conda.yaml | 0 .../test_rcc/robot3/robot.yaml | 0 .../test_rcc/robot3_new_comment/conda.yaml | 0 .../test_rcc/robot3_new_comment/robot.yaml | 0 .../test_resolve_interpreter.py | 0 .../robot3/conda.yaml | 0 .../robot3/devdata/env.json | 0 .../robot3/robot.yaml | 0 .../robot3a/conda.yaml | 0 .../robot3a/devdata/env.json | 0 .../robot3a/robot.yaml | 0 .../robot_envconfig/conda.yaml | 0 .../robot_envconfig/conda2.yaml | 0 .../robot_envconfig/conda2_linux.yaml | 0 .../robot_envconfig/conda2_windows.yaml | 0 .../environment_darwin_amd64_freeze.yaml | 0 .../environment_linux_amd64_freeze.yaml | 0 .../environment_windows_amd64_freeze.yaml | 0 .../robot_envconfig/robot.yaml | 0 .../test_vscode_integration.py | 0 .../sample_profile.yml | 0 .../test_cloud_list_workspaces_basic.yml | 0 .../test_cloud_list_workspaces_errors.yml | 0 ...kspaces_errors_single_ws_not_available.yml | 0 ..._conda_yaml_conda_forge_numpy_versions.yml | 0 ...conda_yaml_conda_forge_python_versions.yml | 0 ..._hover_conda_yaml_conda_forge_versions.yml | 0 .../test_hover_conda_yaml_pypi_versions.yml | 4 +- ..._hover_conda_yaml_versions_no_releases.yml | 4 +- ...over_package_yaml_conda_forge_versions.yml | 0 .../test_lint_python_action.yml | 0 .../test_lint_robot_integration_deps.yml | 2 +- .../test_lint_robot_integration_rcc.yml | 8 +- .../test_obtain_locator_info.yml | 0 .../sema4ai_code_tests/test_work_items.py | 0 .../test_list_work_items-1-no-increment.yml | 0 .../test_list_work_items-2.yml | 0 .../test_list_work_items-interactive-1.yml | 0 .../test_list_work_items-interactive-2.yml | 0 .../test_list_work_items-interactive-3.yml | 0 .../test_work_items/test_list_work_items.yml | 0 .../vscode-client/.gitignore | 0 .../vscode-client/.vscodeignore | 0 .../vscode-client/src/actionServer.ts | 2 +- .../vscode-client/src/activities.ts | 12 +-- .../vscode-client/src/ask.ts | 0 .../vscode-client/src/channel.ts | 2 +- .../vscode-client/src/clear.ts | 0 .../vscode-client/src/common.ts | 0 .../vscode-client/src/debugger.ts | 12 +-- .../vscode-client/src/extension.ts | 50 ++++++------ .../vscode-client/src/extensionCreateEnv.ts | 10 +-- .../vscode-client/src/files.ts | 0 .../vscode-client/src/inspector.ts | 0 .../src/inspector/inspectorView.ts | 0 .../vscode-client/src/inspector/protocols.ts | 0 .../vscode-client/src/inspector/types.ts | 0 .../vscode-client/src/inspector/utils.ts | 0 .../vscode-client/src/locators.ts | 0 .../vscode-client/src/mutex.ts | 0 .../vscode-client/src/output/outView.ts | 0 .../src/output/outViewRunIntegration.ts | 0 .../vscode-client/src/playwright.ts | 0 .../vscode-client/src/profiles.ts | 0 .../vscode-client/src/progress.ts | 0 .../vscode-client/src/protocols.ts | 0 .../vscode-client/src/pythonExtIntegration.ts | 0 .../vscode-client/src/rcc.ts | 2 +- .../vscode-client/src/rccTerminal.ts | 4 +- .../vscode-client/src/requestLight.ts | 0 .../vscode-client/src/robo/README.md | 0 .../vscode-client/src/robo/actionPackage.ts | 4 +- .../vscode-client/src/robo/linkProvider.ts | 0 .../src/robo/runRobocorpTasks.ts | 0 .../vscode-client/src/robocorpCommands.ts | 4 +- .../vscode-client/src/robocorpSettings.ts | 0 .../vscode-client/src/robocorpViews.ts | 10 +-- .../vscode-client/src/slugify.ts | 0 .../vscode-client/src/submitIssue.ts | 4 +- .../vscode-client/src/subprocess.ts | 0 .../src/tests/resources/pysample/conda.yaml | 0 .../src/tests/resources/pysample/robot.yaml | 0 .../src/tests/resources/pysample/task.py | 0 .../vscode-client/src/tests/runTests.ts | 0 .../src/tests/suite/extension.test.ts | 2 +- .../vscode-client/src/tests/suite/index.ts | 0 .../vscode-client/src/time.ts | 0 .../vscode-client/src/vault.ts | 0 .../vscode-client/src/views.ts | 8 +- .../vscode-client/src/viewsCommon.ts | 0 .../vscode-client/src/viewsLocators.ts | 0 .../vscode-client/src/viewsResources.ts | 0 .../vscode-client/src/viewsRobocorp.ts | 2 +- .../vscode-client/src/viewsRobotContent.ts | 0 .../src/viewsRobotSelectionTreeBase.ts | 0 .../vscode-client/src/viewsRobots.ts | 0 .../vscode-client/src/viewsWorkItems.ts | 0 .../vscode-client/templates/converter.html | 0 .../vscode-client/templates/inspector.html | 0 .../vscode-client/templates/output.html | 0 .../vscode-client/templates/submit_issue.html | 0 .../vscode-client/tsconfig.json | 0 {sema4ai-code => sema4ai}/yarn.lock | 0 425 files changed, 448 insertions(+), 321 deletions(-) rename {sema4ai-code => sema4ai}/.gitignore (100%) rename {sema4ai-code => sema4ai}/.prettierignore (100%) rename {sema4ai-code => sema4ai}/.project (96%) rename {sema4ai-code => sema4ai}/.pydevproject (100%) rename {sema4ai-code => sema4ai}/.settings/org.eclipse.core.resources.prefs (100%) rename {sema4ai-code => sema4ai}/.settings/org.python.pydev.yaml (100%) rename {sema4ai-code => sema4ai}/.vscode/launch.json (94%) rename {sema4ai-code => sema4ai}/.vscode/sema4ai-code.code-workspace (100%) rename {sema4ai-code => sema4ai}/.vscodeignore (100%) rename {sema4ai-code => sema4ai}/.yarnrc.yml (100%) rename {sema4ai-code => sema4ai}/README.md (94%) rename {sema4ai-code => sema4ai}/bin/.gitignore (100%) rename {sema4ai-code => sema4ai}/bin/create_env/conda.yaml (100%) rename {sema4ai-code => sema4ai}/bin/create_env/conda_vscode_darwin_amd64.yaml (100%) rename {sema4ai-code => sema4ai}/bin/create_env/conda_vscode_linux_amd64.yaml (100%) rename {sema4ai-code => sema4ai}/bin/create_env/conda_vscode_windows_amd64.yaml (100%) rename {sema4ai-code => sema4ai}/bin/create_env/get_env_info.py (100%) rename {sema4ai-code => sema4ai}/bin/create_env/output/keep.txt (100%) rename {sema4ai-code => sema4ai}/bin/create_env/robot.yaml (100%) create mode 100644 sema4ai/bin/develop.bat create mode 100644 sema4ai/bin/develop.sh create mode 100644 sema4ai/bin/developer.yaml rename {sema4ai-code => sema4ai}/codegen/codegen_package.py (95%) rename {sema4ai-code => sema4ai}/codegen/commands.py (99%) rename {sema4ai-code => sema4ai}/codegen/convert.py (100%) rename {sema4ai-code => sema4ai}/codegen/settings.py (91%) rename {sema4ai-code => sema4ai}/codegen/views.py (90%) rename {sema4ai-code => sema4ai}/dev.py (96%) rename {sema4ai-code => sema4ai}/images/command-palette.png (100%) rename {sema4ai-code => sema4ai}/images/dark/debug.svg (100%) rename {sema4ai-code => sema4ai}/images/dark/refresh.svg (100%) rename {sema4ai-code => sema4ai}/images/dark/run.svg (100%) rename {sema4ai-code => sema4ai}/images/gif_run.gif (100%) rename {sema4ai-code => sema4ai}/images/icon.png (100%) rename {sema4ai-code => sema4ai}/images/light/debug.svg (100%) rename {sema4ai-code => sema4ai}/images/light/refresh.svg (100%) rename {sema4ai-code => sema4ai}/images/light/run.svg (100%) rename {sema4ai-code => sema4ai}/images/sema4ai-outline-4.svg (100%) rename {sema4ai-code => sema4ai}/images/sema4ai-outline.svg (100%) rename {sema4ai-code => sema4ai}/package.json (95%) rename {sema4ai-code => sema4ai}/poetry.lock (100%) rename {sema4ai-code => sema4ai}/pyproject.toml (95%) rename {sema4ai-code => sema4ai}/src/sema4ai_code/__dev__main.py (100%) rename {sema4ai-code => sema4ai}/src/sema4ai_code/__init__.py (99%) rename {sema4ai-code => sema4ai}/src/sema4ai_code/__main__.py (97%) rename {sema4ai-code => sema4ai}/src/sema4ai_code/_language_server_feedback.py (100%) rename {sema4ai-code => sema4ai}/src/sema4ai_code/_language_server_login.py (100%) rename {sema4ai-code => sema4ai}/src/sema4ai_code/_language_server_playwright.py (99%) rename {sema4ai-code => sema4ai}/src/sema4ai_code/_language_server_pre_run_scripts.py (100%) rename {sema4ai-code => sema4ai}/src/sema4ai_code/_language_server_profile.py (100%) rename {sema4ai-code => sema4ai}/src/sema4ai_code/_language_server_vault.py (100%) rename {sema4ai-code => sema4ai}/src/sema4ai_code/_lint.py (99%) rename {sema4ai-code => sema4ai}/src/sema4ai_code/commands.py (98%) rename {sema4ai-code => sema4ai}/src/sema4ai_code/compute_launch.py (100%) rename {sema4ai-code => sema4ai}/src/sema4ai_code/find_robot_yaml.py (100%) rename {sema4ai-code => sema4ai}/src/sema4ai_code/holetree_manager.py (100%) rename {sema4ai-code => sema4ai}/src/sema4ai_code/hover.py (100%) rename {sema4ai-code => sema4ai}/src/sema4ai_code/inspector/README.md (87%) rename {sema4ai-code => sema4ai}/src/sema4ai_code/inspector/__init__.py (100%) rename {sema4ai-code => sema4ai}/src/sema4ai_code/inspector/client.py (100%) rename {sema4ai-code => sema4ai}/src/sema4ai_code/inspector/common.py (100%) rename {sema4ai-code => sema4ai}/src/sema4ai_code/inspector/image/__init__.py (100%) rename {sema4ai-code => sema4ai}/src/sema4ai_code/inspector/image/_bridge.py (100%) rename {sema4ai-code => sema4ai}/src/sema4ai_code/inspector/image/_image_inspector.py (100%) rename {sema4ai-code => sema4ai}/src/sema4ai_code/inspector/image/_snipping_tool.py (100%) rename {sema4ai-code => sema4ai}/src/sema4ai_code/inspector/image/vendor/__init__.py (100%) rename {sema4ai-code => sema4ai}/src/sema4ai_code/inspector/image/vendor/utils.py (100%) rename {sema4ai-code => sema4ai}/src/sema4ai_code/inspector/inspector__main__.py (100%) rename {sema4ai-code => sema4ai}/src/sema4ai_code/inspector/inspector_api.py (99%) rename {sema4ai-code => sema4ai}/src/sema4ai_code/inspector/inspector_language_server.py (100%) rename {sema4ai-code => sema4ai}/src/sema4ai_code/inspector/inspector_server_manager.py (100%) rename {sema4ai-code => sema4ai}/src/sema4ai_code/inspector/java/__init__.py (100%) rename {sema4ai-code => sema4ai}/src/sema4ai_code/inspector/java/highlighter.py (100%) rename {sema4ai-code => sema4ai}/src/sema4ai_code/inspector/java/java_inspector.py (100%) rename {sema4ai-code => sema4ai}/src/sema4ai_code/inspector/java/picker.py (100%) rename {sema4ai-code => sema4ai}/src/sema4ai_code/inspector/java/robocorp_java/__init__.py (100%) rename {sema4ai-code => sema4ai}/src/sema4ai_code/inspector/java/robocorp_java/_errors.py (100%) rename {sema4ai-code => sema4ai}/src/sema4ai_code/inspector/java/robocorp_java/_event_pump.py (100%) rename {sema4ai-code => sema4ai}/src/sema4ai_code/inspector/java/robocorp_java/_inspector.py (100%) rename {sema4ai-code => sema4ai}/src/sema4ai_code/inspector/java/robocorp_java/_locators.py (100%) rename {sema4ai-code => sema4ai}/src/sema4ai_code/inspector/web/__init__.py (100%) rename {sema4ai-code => sema4ai}/src/sema4ai_code/inspector/web/_web_inspector.py (100%) rename {sema4ai-code => sema4ai}/src/sema4ai_code/inspector/web/resources/README.md (69%) rename {sema4ai-code => sema4ai}/src/sema4ai_code/inspector/web/resources/browser-recording-guide.html (100%) rename {sema4ai-code => sema4ai}/src/sema4ai_code/inspector/web/resources/guide.html (100%) rename {sema4ai-code => sema4ai}/src/sema4ai_code/inspector/web/resources/inspector.css (100%) rename {sema4ai-code => sema4ai}/src/sema4ai_code/inspector/web/resources/inspector.js (100%) rename {sema4ai-code => sema4ai}/src/sema4ai_code/inspector/windows/__init__.py (100%) rename {sema4ai-code => sema4ai}/src/sema4ai_code/inspector/windows/robocorp_windows/__init__.py (100%) rename {sema4ai-code => sema4ai}/src/sema4ai_code/inspector/windows/robocorp_windows/_com_error.py (100%) rename {sema4ai-code => sema4ai}/src/sema4ai_code/inspector/windows/robocorp_windows/_config.py (100%) rename {sema4ai-code => sema4ai}/src/sema4ai_code/inspector/windows/robocorp_windows/_config_uiautomation.py (100%) rename {sema4ai-code => sema4ai}/src/sema4ai_code/inspector/windows/robocorp_windows/_control_element.py (100%) rename {sema4ai-code => sema4ai}/src/sema4ai_code/inspector/windows/robocorp_windows/_desktop.py (100%) rename {sema4ai-code => sema4ai}/src/sema4ai_code/inspector/windows/robocorp_windows/_errors.py (100%) rename {sema4ai-code => sema4ai}/src/sema4ai_code/inspector/windows/robocorp_windows/_find_ui_automation.py (100%) rename {sema4ai-code => sema4ai}/src/sema4ai_code/inspector/windows/robocorp_windows/_find_window.py (100%) rename {sema4ai-code => sema4ai}/src/sema4ai_code/inspector/windows/robocorp_windows/_func_lru_cache.py (100%) rename {sema4ai-code => sema4ai}/src/sema4ai_code/inspector/windows/robocorp_windows/_func_robocorp_tasks_cache.py (100%) rename {sema4ai-code => sema4ai}/src/sema4ai_code/inspector/windows/robocorp_windows/_icon_from_file.py (100%) rename {sema4ai-code => sema4ai}/src/sema4ai_code/inspector/windows/robocorp_windows/_inspect.py (100%) rename {sema4ai-code => sema4ai}/src/sema4ai_code/inspector/windows/robocorp_windows/_iter_tree.py (100%) rename {sema4ai-code => sema4ai}/src/sema4ai_code/inspector/windows/robocorp_windows/_match_ast.py (100%) rename {sema4ai-code => sema4ai}/src/sema4ai_code/inspector/windows/robocorp_windows/_match_common.py (100%) rename {sema4ai-code => sema4ai}/src/sema4ai_code/inspector/windows/robocorp_windows/_match_tokenization.py (100%) rename {sema4ai-code => sema4ai}/src/sema4ai_code/inspector/windows/robocorp_windows/_processes.py (100%) rename {sema4ai-code => sema4ai}/src/sema4ai_code/inspector/windows/robocorp_windows/_screenshot.py (100%) rename {sema4ai-code => sema4ai}/src/sema4ai_code/inspector/windows/robocorp_windows/_ui_automation_wrapper.py (100%) rename {sema4ai-code => sema4ai}/src/sema4ai_code/inspector/windows/robocorp_windows/_vendored/__init__.py (100%) rename {sema4ai-code => sema4ai}/src/sema4ai_code/inspector/windows/robocorp_windows/_vendored/uiautomation/__init__.py (100%) rename {sema4ai-code => sema4ai}/src/sema4ai_code/inspector/windows/robocorp_windows/_vendored/uiautomation/bin/UIAutomationClient_VC140_X64.dll (100%) rename {sema4ai-code => sema4ai}/src/sema4ai_code/inspector/windows/robocorp_windows/_vendored/uiautomation/bin/UIAutomationClient_VC140_X86.dll (100%) rename {sema4ai-code => sema4ai}/src/sema4ai_code/inspector/windows/robocorp_windows/_vendored/uiautomation/uiautomation.py (100%) rename {sema4ai-code => sema4ai}/src/sema4ai_code/inspector/windows/robocorp_windows/_vendored/uiautomation/version.py (100%) rename {sema4ai-code => sema4ai}/src/sema4ai_code/inspector/windows/robocorp_windows/_window_element.py (100%) rename {sema4ai-code => sema4ai}/src/sema4ai_code/inspector/windows/robocorp_windows/protocols.py (100%) rename {sema4ai-code => sema4ai}/src/sema4ai_code/inspector/windows/robocorp_windows/py.typed (100%) rename {sema4ai-code => sema4ai}/src/sema4ai_code/inspector/windows/windows_inspector.py (100%) rename {sema4ai-code => sema4ai}/src/sema4ai_code/locator_json_hover.py (100%) rename {sema4ai-code => sema4ai}/src/sema4ai_code/options.py (100%) rename {sema4ai-code => sema4ai}/src/sema4ai_code/path_operations.py (100%) rename {sema4ai-code => sema4ai}/src/sema4ai_code/playwright/__init__.py (100%) rename {sema4ai-code => sema4ai}/src/sema4ai_code/playwright/__playwright__main.py (100%) rename {sema4ai-code => sema4ai}/src/sema4ai_code/playwright/playwright_template.html (100%) rename {sema4ai-code => sema4ai}/src/sema4ai_code/playwright/robocorp_browser/README.md (84%) rename {sema4ai-code => sema4ai}/src/sema4ai_code/playwright/robocorp_browser/__init__.py (100%) rename {sema4ai-code => sema4ai}/src/sema4ai_code/playwright/robocorp_browser/_caches.py (100%) rename {sema4ai-code => sema4ai}/src/sema4ai_code/playwright/robocorp_browser/_config.py (100%) rename {sema4ai-code => sema4ai}/src/sema4ai_code/playwright/robocorp_browser/_context.py (100%) rename {sema4ai-code => sema4ai}/src/sema4ai_code/playwright/robocorp_browser/_engines.py (100%) rename {sema4ai-code => sema4ai}/src/sema4ai_code/playwright/robocorp_browser/_types.py (100%) rename {sema4ai-code => sema4ai}/src/sema4ai_code/plugins/__init__.py (100%) rename {sema4ai-code => sema4ai}/src/sema4ai_code/plugins/resolve_interpreter.py (98%) rename {sema4ai-code => sema4ai}/src/sema4ai_code/protocols.py (100%) rename {sema4ai-code => sema4ai}/src/sema4ai_code/py.typed (100%) rename {sema4ai-code => sema4ai}/src/sema4ai_code/rcc.py (99%) rename {sema4ai-code => sema4ai}/src/sema4ai_code/rcc_space_info.py (100%) rename {sema4ai-code => sema4ai}/src/sema4ai_code/robo/__init__.py (100%) rename {sema4ai-code => sema4ai}/src/sema4ai_code/robo/collect_actions.py (100%) rename {sema4ai-code => sema4ai}/src/sema4ai_code/robo/launch_actions.py (100%) rename {sema4ai-code => sema4ai}/src/sema4ai_code/robo/launch_code_lens.py (100%) rename {sema4ai-code => sema4ai}/src/sema4ai_code/robo/lint_action.py (100%) rename {sema4ai-code => sema4ai}/src/sema4ai_code/robo/lint_in_target_env.py (100%) rename {sema4ai-code => sema4ai}/src/sema4ai_code/robocorp_config.py (100%) rename {sema4ai-code => sema4ai}/src/sema4ai_code/robocorp_language_server.py (99%) rename {sema4ai-code => sema4ai}/src/sema4ai_code/settings.py (100%) rename {sema4ai-code => sema4ai}/src/sema4ai_code/subprocess_check_output_interactive.py (100%) rename {sema4ai-code => sema4ai}/src/sema4ai_code/vendored/README.md (100%) rename {sema4ai-code => sema4ai}/src/sema4ai_code/vendored/__init__.py (100%) rename {sema4ai-code => sema4ai}/src/sema4ai_code/vendored/locators/containers.py (100%) rename {sema4ai-code => sema4ai}/src/sema4ai_code/vendored/locators/database.py (100%) rename {sema4ai-code => sema4ai}/src/sema4ai_code/vendored/locators/literal.py (100%) rename {sema4ai-code => sema4ai}/src/sema4ai_code/vendored_deps/README.md (100%) rename {sema4ai-code => sema4ai}/src/sema4ai_code/vendored_deps/__init__.py (100%) rename {sema4ai-code => sema4ai}/src/sema4ai_code/vendored_deps/action_package_handling/__init__.py (100%) rename {sema4ai-code => sema4ai}/src/sema4ai_code/vendored_deps/action_package_handling/cli_errors.py (100%) rename {sema4ai-code => sema4ai}/src/sema4ai_code/vendored_deps/package_deps/__init__.py (100%) rename {sema4ai-code => sema4ai}/src/sema4ai_code/vendored_deps/package_deps/_conda_deps.py (100%) rename {sema4ai-code => sema4ai}/src/sema4ai_code/vendored_deps/package_deps/_deps_protocols.py (100%) rename {sema4ai-code => sema4ai}/src/sema4ai_code/vendored_deps/package_deps/_package_deps.py (100%) rename {sema4ai-code => sema4ai}/src/sema4ai_code/vendored_deps/package_deps/_pip_deps.py (100%) rename {sema4ai-code => sema4ai}/src/sema4ai_code/vendored_deps/package_deps/analyzer.py (95%) rename {sema4ai-code => sema4ai}/src/sema4ai_code/vendored_deps/package_deps/conda_cloud.py (100%) rename {sema4ai-code => sema4ai}/src/sema4ai_code/vendored_deps/package_deps/conda_impl/__init__.py (100%) rename {sema4ai-code => sema4ai}/src/sema4ai_code/vendored_deps/package_deps/conda_impl/conda_channel.py (100%) rename {sema4ai-code => sema4ai}/src/sema4ai_code/vendored_deps/package_deps/conda_impl/conda_match_spec.py (100%) rename {sema4ai-code => sema4ai}/src/sema4ai_code/vendored_deps/package_deps/conda_impl/conda_path.py (100%) rename {sema4ai-code => sema4ai}/src/sema4ai_code/vendored_deps/package_deps/conda_impl/conda_url.py (100%) rename {sema4ai-code => sema4ai}/src/sema4ai_code/vendored_deps/package_deps/conda_impl/conda_version.py (100%) rename {sema4ai-code => sema4ai}/src/sema4ai_code/vendored_deps/package_deps/pip_impl/__init__.py (100%) rename {sema4ai-code => sema4ai}/src/sema4ai_code/vendored_deps/package_deps/pip_impl/pip_distlib_util.py (100%) rename {sema4ai-code => sema4ai}/src/sema4ai_code/vendored_deps/package_deps/pip_impl/pip_packaging_structure.py (100%) rename {sema4ai-code => sema4ai}/src/sema4ai_code/vendored_deps/package_deps/pip_impl/pip_packaging_version.py (100%) rename {sema4ai-code => sema4ai}/src/sema4ai_code/vendored_deps/package_deps/pypi_cloud.py (100%) rename {sema4ai-code => sema4ai}/src/sema4ai_code/vendored_deps/termcolors/__init__.py (100%) rename {sema4ai-code => sema4ai}/src/sema4ai_code_debug_adapter/__init__.py (100%) rename {sema4ai-code => sema4ai}/src/sema4ai_code_debug_adapter/__main__.py (100%) rename {sema4ai-code => sema4ai}/src/sema4ai_code_debug_adapter/constants.py (100%) rename {sema4ai-code => sema4ai}/src/sema4ai_code_debug_adapter/debug_adapter_comm.py (100%) rename {sema4ai-code => sema4ai}/src/sema4ai_code_debug_adapter/launch_process.py (99%) rename {sema4ai-code => sema4ai}/tests/conftest.py (100%) rename {sema4ai-code => sema4ai}/tests/pytest.ini (100%) rename {sema4ai-code => sema4ai}/tests/sema4ai_code_debug_adapter_tests/__init__.py (100%) rename {sema4ai-code => sema4ai}/tests/sema4ai_code_debug_adapter_tests/_dap_resources/.gitignore (100%) rename {sema4ai-code => sema4ai}/tests/sema4ai_code_debug_adapter_tests/_dap_resources/minimal/.gitignore (100%) rename {sema4ai-code => sema4ai}/tests/sema4ai_code_debug_adapter_tests/_dap_resources/minimal/conda.yaml (100%) rename {sema4ai-code => sema4ai}/tests/sema4ai_code_debug_adapter_tests/_dap_resources/minimal/robot.yaml (100%) rename {sema4ai-code => sema4ai}/tests/sema4ai_code_debug_adapter_tests/_dap_resources/minimal/tasks.robot (100%) rename {sema4ai-code => sema4ai}/tests/sema4ai_code_debug_adapter_tests/_dap_resources/project_with_env/.gitignore (100%) rename {sema4ai-code => sema4ai}/tests/sema4ai_code_debug_adapter_tests/_dap_resources/project_with_env/conda.yaml (100%) rename {sema4ai-code => sema4ai}/tests/sema4ai_code_debug_adapter_tests/_dap_resources/project_with_env/devdata/env.json (100%) rename {sema4ai-code => sema4ai}/tests/sema4ai_code_debug_adapter_tests/_dap_resources/project_with_env/robot.yaml (100%) rename {sema4ai-code => sema4ai}/tests/sema4ai_code_debug_adapter_tests/_dap_resources/project_with_env/tasks.robot (100%) rename {sema4ai-code => sema4ai}/tests/sema4ai_code_debug_adapter_tests/fixtures.py (99%) rename {sema4ai-code => sema4ai}/tests/sema4ai_code_debug_adapter_tests/test_debug_adapter.py (99%) rename {sema4ai-code => sema4ai}/tests/sema4ai_code_tests/__init__.py (100%) rename {sema4ai-code => sema4ai}/tests/sema4ai_code_tests/_resources/__init__.py (100%) rename {sema4ai-code => sema4ai}/tests/sema4ai_code_tests/_resources/action_package/my_action.py (100%) rename {sema4ai-code => sema4ai}/tests/sema4ai_code_tests/_resources/action_package/package.yaml (100%) rename {sema4ai-code => sema4ai}/tests/sema4ai_code_tests/_resources/conda-forge cache/.conda_indexes/index_0001/linux-64.db (100%) rename {sema4ai-code => sema4ai}/tests/sema4ai_code_tests/_resources/conda-forge cache/.conda_indexes/index_0001/noarch.db (100%) rename {sema4ai-code => sema4ai}/tests/sema4ai_code_tests/_resources/conda-forge cache/.conda_indexes/index_0001/osx-64.db (100%) rename {sema4ai-code => sema4ai}/tests/sema4ai_code_tests/_resources/conda-forge cache/.conda_indexes/index_0001/win-64.db (100%) rename {sema4ai-code => sema4ai}/tests/sema4ai_code_tests/_resources/conda-forge cache/.conda_indexes/latest_index_info.json (100%) rename {sema4ai-code => sema4ai}/tests/sema4ai_code_tests/_resources/conda-forge cache/README.txt (100%) rename {sema4ai-code => sema4ai}/tests/sema4ai_code_tests/_resources/custom_envs/__init__.py (100%) rename {sema4ai-code => sema4ai}/tests/sema4ai_code_tests/_resources/custom_envs/pysample/conda.yaml (100%) rename {sema4ai-code => sema4ai}/tests/sema4ai_code_tests/_resources/custom_envs/pysample/robot.yaml (100%) rename {sema4ai-code => sema4ai}/tests/sema4ai_code_tests/_resources/custom_envs/pysample/task.py (100%) rename {sema4ai-code => sema4ai}/tests/sema4ai_code_tests/_resources/custom_envs/simple-web-scraper/.gitattributes (100%) rename {sema4ai-code => sema4ai}/tests/sema4ai_code_tests/_resources/custom_envs/simple-web-scraper/.gitignore (100%) rename {sema4ai-code => sema4ai}/tests/sema4ai_code_tests/_resources/custom_envs/simple-web-scraper/README.md (100%) rename {sema4ai-code => sema4ai}/tests/sema4ai_code_tests/_resources/custom_envs/simple-web-scraper/config/README.md (100%) rename {sema4ai-code => sema4ai}/tests/sema4ai_code_tests/_resources/custom_envs/simple-web-scraper/config/conda.yaml (100%) rename {sema4ai-code => sema4ai}/tests/sema4ai_code_tests/_resources/custom_envs/simple-web-scraper/devdata/env.json (100%) rename {sema4ai-code => sema4ai}/tests/sema4ai_code_tests/_resources/custom_envs/simple-web-scraper/entrypoints/INTRODUCTION.md (100%) rename {sema4ai-code => sema4ai}/tests/sema4ai_code_tests/_resources/custom_envs/simple-web-scraper/entrypoints/___entrypoint.cmd (100%) rename {sema4ai-code => sema4ai}/tests/sema4ai_code_tests/_resources/custom_envs/simple-web-scraper/entrypoints/___entrypoint.sh (100%) rename {sema4ai-code => sema4ai}/tests/sema4ai_code_tests/_resources/custom_envs/simple-web-scraper/libraries/ExampleLibrary.py (100%) rename {sema4ai-code => sema4ai}/tests/sema4ai_code_tests/_resources/custom_envs/simple-web-scraper/libraries/INTRODUCTION.md (100%) rename {sema4ai-code => sema4ai}/tests/sema4ai_code_tests/_resources/custom_envs/simple-web-scraper/libraries/__init__.py (100%) rename {sema4ai-code => sema4ai}/tests/sema4ai_code_tests/_resources/custom_envs/simple-web-scraper/resources/INTRODUCTION.md (100%) rename {sema4ai-code => sema4ai}/tests/sema4ai_code_tests/_resources/custom_envs/simple-web-scraper/resources/keywords.robot (100%) rename {sema4ai-code => sema4ai}/tests/sema4ai_code_tests/_resources/custom_envs/simple-web-scraper/robot.yaml (100%) rename {sema4ai-code => sema4ai}/tests/sema4ai_code_tests/_resources/custom_envs/simple-web-scraper/tasks/INTRODUCTION.md (100%) rename {sema4ai-code => sema4ai}/tests/sema4ai_code_tests/_resources/custom_envs/simple-web-scraper/tasks/simple-web-scraper.robot (100%) rename {sema4ai-code => sema4ai}/tests/sema4ai_code_tests/_resources/custom_envs/simple-web-scraper/variables/INTRODUCTION.md (100%) rename {sema4ai-code => sema4ai}/tests/sema4ai_code_tests/_resources/custom_envs/simple-web-scraper/variables/variables.py (100%) rename {sema4ai-code => sema4ai}/tests/sema4ai_code_tests/_resources/custom_envs/work_items/conda.yaml (100%) rename {sema4ai-code => sema4ai}/tests/sema4ai_code_tests/_resources/custom_envs/work_items/devdata/work-items-in/input-1/file.txt (100%) rename {sema4ai-code => sema4ai}/tests/sema4ai_code_tests/_resources/custom_envs/work_items/devdata/work-items-in/input-1/work-items.json (100%) rename {sema4ai-code => sema4ai}/tests/sema4ai_code_tests/_resources/custom_envs/work_items/devdata/work-items-in/input-2/file.txt (100%) rename {sema4ai-code => sema4ai}/tests/sema4ai_code_tests/_resources/custom_envs/work_items/devdata/work-items-in/input-2/work-items.json (100%) rename {sema4ai-code => sema4ai}/tests/sema4ai_code_tests/_resources/custom_envs/work_items/devdata/work-items-out/latest-run/work-items.json (100%) rename {sema4ai-code => sema4ai}/tests/sema4ai_code_tests/_resources/custom_envs/work_items/devdata/work-items-out/run-1/file.txt (100%) rename {sema4ai-code => sema4ai}/tests/sema4ai_code_tests/_resources/custom_envs/work_items/devdata/work-items-out/run-1/work-items.json (100%) rename {sema4ai-code => sema4ai}/tests/sema4ai_code_tests/_resources/custom_envs/work_items/devdata/work-items-out/run-no-json/unrelated.json (100%) rename {sema4ai-code => sema4ai}/tests/sema4ai_code_tests/_resources/custom_envs/work_items/robot.yaml (100%) rename {sema4ai-code => sema4ai}/tests/sema4ai_code_tests/_resources/custom_envs/work_items/task.py (100%) rename {sema4ai-code => sema4ai}/tests/sema4ai_code_tests/_resources/robots/robot1/conda.yaml (100%) rename {sema4ai-code => sema4ai}/tests/sema4ai_code_tests/_resources/robots/robot1/locators.json (100%) rename {sema4ai-code => sema4ai}/tests/sema4ai_code_tests/_resources/robots/robot1/robot.yaml (100%) rename {sema4ai-code => sema4ai}/tests/sema4ai_code_tests/_resources/robots/robot2/conda.yaml (100%) rename {sema4ai-code => sema4ai}/tests/sema4ai_code_tests/_resources/robots/robot2/page_to_test.html (100%) rename {sema4ai-code => sema4ai}/tests/sema4ai_code_tests/_resources/robots/robot2/robot.yaml (100%) rename {sema4ai-code => sema4ai}/tests/sema4ai_code_tests/deps/__init__.py (100%) rename {sema4ai-code => sema4ai}/tests/sema4ai_code_tests/deps/cloud_mock_data.py (99%) rename {sema4ai-code => sema4ai}/tests/sema4ai_code_tests/deps/test_conda_cloud.py (100%) rename {sema4ai-code => sema4ai}/tests/sema4ai_code_tests/deps/test_conda_cloud/noarch-testdata.json (100%) rename {sema4ai-code => sema4ai}/tests/sema4ai_code_tests/deps/test_conda_cloud/test_conda_cloud_index.yml (100%) rename {sema4ai-code => sema4ai}/tests/sema4ai_code_tests/deps/test_conda_yaml_deps.py (100%) rename {sema4ai-code => sema4ai}/tests/sema4ai_code_tests/deps/test_conda_yaml_deps/check_bad_conda/conda.yaml (100%) rename {sema4ai-code => sema4ai}/tests/sema4ai_code_tests/deps/test_conda_yaml_deps/check_bad_version/conda.yaml (100%) rename {sema4ai-code => sema4ai}/tests/sema4ai_code_tests/deps/test_conda_yaml_deps/check_bad_version2/conda.yaml (100%) rename {sema4ai-code => sema4ai}/tests/sema4ai_code_tests/deps/test_conda_yaml_deps/check_conda_version/conda.yaml (100%) rename {sema4ai-code => sema4ai}/tests/sema4ai_code_tests/deps/test_conda_yaml_deps/check_github/conda.yaml (100%) rename {sema4ai-code => sema4ai}/tests/sema4ai_code_tests/deps/test_conda_yaml_deps/check_python_version/conda.yaml (100%) rename {sema4ai-code => sema4ai}/tests/sema4ai_code_tests/deps/test_conda_yaml_deps/check_use_trustore/conda.yaml (100%) rename {sema4ai-code => sema4ai}/tests/sema4ai_code_tests/deps/test_conda_yaml_deps/test_conda_version_old.yml (94%) rename {sema4ai-code => sema4ai}/tests/sema4ai_code_tests/deps/test_conda_yaml_deps/test_github_custom_package.yml (100%) rename {sema4ai-code => sema4ai}/tests/sema4ai_code_tests/deps/test_conda_yaml_deps/test_hover_conda_yaml_rpaframework.yml (99%) rename {sema4ai-code => sema4ai}/tests/sema4ai_code_tests/deps/test_conda_yaml_deps/test_python_version_check_bad_conda_.yml (94%) rename {sema4ai-code => sema4ai}/tests/sema4ai_code_tests/deps/test_conda_yaml_deps/test_python_version_check_bad_version2_.yml (91%) rename {sema4ai-code => sema4ai}/tests/sema4ai_code_tests/deps/test_conda_yaml_deps/test_python_version_check_bad_version_.yml (91%) rename {sema4ai-code => sema4ai}/tests/sema4ai_code_tests/deps/test_conda_yaml_deps/test_python_version_check_python_version_.yml (93%) rename {sema4ai-code => sema4ai}/tests/sema4ai_code_tests/deps/test_conda_yaml_deps/test_python_version_check_use_trustore_.yml (93%) rename {sema4ai-code => sema4ai}/tests/sema4ai_code_tests/deps/test_package_yaml_deps.py (100%) rename {sema4ai-code => sema4ai}/tests/sema4ai_code_tests/deps/test_package_yaml_deps/check_bad_op/package.yaml (100%) rename {sema4ai-code => sema4ai}/tests/sema4ai_code_tests/deps/test_package_yaml_deps/check_bad_package_yaml/package.yaml (100%) rename {sema4ai-code => sema4ai}/tests/sema4ai_code_tests/deps/test_package_yaml_deps/check_bad_python_version/package.yaml (100%) rename {sema4ai-code => sema4ai}/tests/sema4ai_code_tests/deps/test_package_yaml_deps/check_bad_version/package.yaml (100%) rename {sema4ai-code => sema4ai}/tests/sema4ai_code_tests/deps/test_package_yaml_deps/check_deps_from_conda/package.yaml (100%) rename {sema4ai-code => sema4ai}/tests/sema4ai_code_tests/deps/test_package_yaml_deps/check_python_version/package.yaml (100%) rename {sema4ai-code => sema4ai}/tests/sema4ai_code_tests/deps/test_package_yaml_deps/test_hover_package_yaml_rpaframework.yml (99%) rename {sema4ai-code => sema4ai}/tests/sema4ai_code_tests/deps/test_package_yaml_deps/test_package_yaml_check_bad_op_.yml (91%) rename {sema4ai-code => sema4ai}/tests/sema4ai_code_tests/deps/test_package_yaml_deps/test_package_yaml_check_bad_package_yaml_.yml (95%) rename {sema4ai-code => sema4ai}/tests/sema4ai_code_tests/deps/test_package_yaml_deps/test_package_yaml_check_bad_python_version_.yml (92%) rename {sema4ai-code => sema4ai}/tests/sema4ai_code_tests/deps/test_package_yaml_deps/test_package_yaml_check_bad_version_.yml (91%) rename {sema4ai-code => sema4ai}/tests/sema4ai_code_tests/deps/test_package_yaml_deps/test_package_yaml_check_deps_from_conda_.yml (91%) rename {sema4ai-code => sema4ai}/tests/sema4ai_code_tests/fixtures.py (100%) rename {sema4ai-code => sema4ai}/tests/sema4ai_code_tests/inspector/__init__.py (100%) rename {sema4ai-code => sema4ai}/tests/sema4ai_code_tests/inspector/test_inspector_api.py (100%) rename {sema4ai-code => sema4ai}/tests/sema4ai_code_tests/inspector/test_inspector_api/div1Pick.yml (100%) rename {sema4ai-code => sema4ai}/tests/sema4ai_code_tests/inspector/test_inspector_api/page_to_test.html (100%) rename {sema4ai-code => sema4ai}/tests/sema4ai_code_tests/inspector/test_web_inspector.py (100%) rename {sema4ai-code => sema4ai}/tests/sema4ai_code_tests/inspector/test_web_inspector/alink.yml (100%) rename {sema4ai-code => sema4ai}/tests/sema4ai_code_tests/inspector/test_web_inspector/div1.yml (100%) rename {sema4ai-code => sema4ai}/tests/sema4ai_code_tests/inspector/test_web_inspector/page_to_test.html (100%) rename {sema4ai-code => sema4ai}/tests/sema4ai_code_tests/inspector/test_web_inspector/page_to_test2.html (100%) rename {sema4ai-code => sema4ai}/tests/sema4ai_code_tests/inspector/test_web_inspector/withImg.yml (100%) rename {sema4ai-code => sema4ai}/tests/sema4ai_code_tests/inspector/test_web_inspector/withName.yml (100%) rename {sema4ai-code => sema4ai}/tests/sema4ai_code_tests/inspector/test_windows_inspector.py (100%) rename {sema4ai-code => sema4ai}/tests/sema4ai_code_tests/protocols.py (100%) rename {sema4ai-code => sema4ai}/tests/sema4ai_code_tests/robo/test_list_actions.py (100%) rename {sema4ai-code => sema4ai}/tests/sema4ai_code_tests/robo/test_list_actions/test_list_actions.yml (100%) rename {sema4ai-code => sema4ai}/tests/sema4ai_code_tests/robo/test_tasks_code_lenses.py (100%) rename {sema4ai-code => sema4ai}/tests/sema4ai_code_tests/robo/test_tasks_code_lenses/test_tasks_code_lenses.yml (100%) rename {sema4ai-code => sema4ai}/tests/sema4ai_code_tests/robocode_language_server_client.py (100%) rename {sema4ai-code => sema4ai}/tests/sema4ai_code_tests/snippet_tk.py (100%) rename {sema4ai-code => sema4ai}/tests/sema4ai_code_tests/test_check_output_interactive.py (100%) rename {sema4ai-code => sema4ai}/tests/sema4ai_code_tests/test_cli.py (94%) rename {sema4ai-code => sema4ai}/tests/sema4ai_code_tests/test_command_dispatch.py (100%) rename {sema4ai-code => sema4ai}/tests/sema4ai_code_tests/test_compute_launch.py (100%) rename {sema4ai-code => sema4ai}/tests/sema4ai_code_tests/test_language_server_directly.py (100%) rename {sema4ai-code => sema4ai}/tests/sema4ai_code_tests/test_pre_run_scripts.py (100%) rename {sema4ai-code => sema4ai}/tests/sema4ai_code_tests/test_prebuilt_environments.py (99%) rename {sema4ai-code => sema4ai}/tests/sema4ai_code_tests/test_rcc.py (99%) rename {sema4ai-code => sema4ai}/tests/sema4ai_code_tests/test_rcc/bad_robot1/conda.yaml (100%) rename {sema4ai-code => sema4ai}/tests/sema4ai_code_tests/test_rcc/bad_robot1/robot.yaml (100%) rename {sema4ai-code => sema4ai}/tests/sema4ai_code_tests/test_rcc/robot1/conda.yaml (100%) rename {sema4ai-code => sema4ai}/tests/sema4ai_code_tests/test_rcc/robot1/robot.yaml (100%) rename {sema4ai-code => sema4ai}/tests/sema4ai_code_tests/test_rcc/robot2/conda.yaml (100%) rename {sema4ai-code => sema4ai}/tests/sema4ai_code_tests/test_rcc/robot2/robot.yaml (100%) rename {sema4ai-code => sema4ai}/tests/sema4ai_code_tests/test_rcc/robot3/conda.yaml (100%) rename {sema4ai-code => sema4ai}/tests/sema4ai_code_tests/test_rcc/robot3/robot.yaml (100%) rename {sema4ai-code => sema4ai}/tests/sema4ai_code_tests/test_rcc/robot3_new_comment/conda.yaml (100%) rename {sema4ai-code => sema4ai}/tests/sema4ai_code_tests/test_rcc/robot3_new_comment/robot.yaml (100%) rename {sema4ai-code => sema4ai}/tests/sema4ai_code_tests/test_resolve_interpreter.py (100%) rename {sema4ai-code => sema4ai}/tests/sema4ai_code_tests/test_resolve_interpreter/robot3/conda.yaml (100%) rename {sema4ai-code => sema4ai}/tests/sema4ai_code_tests/test_resolve_interpreter/robot3/devdata/env.json (100%) rename {sema4ai-code => sema4ai}/tests/sema4ai_code_tests/test_resolve_interpreter/robot3/robot.yaml (100%) rename {sema4ai-code => sema4ai}/tests/sema4ai_code_tests/test_resolve_interpreter/robot3a/conda.yaml (100%) rename {sema4ai-code => sema4ai}/tests/sema4ai_code_tests/test_resolve_interpreter/robot3a/devdata/env.json (100%) rename {sema4ai-code => sema4ai}/tests/sema4ai_code_tests/test_resolve_interpreter/robot3a/robot.yaml (100%) rename {sema4ai-code => sema4ai}/tests/sema4ai_code_tests/test_resolve_interpreter/robot_envconfig/conda.yaml (100%) rename {sema4ai-code => sema4ai}/tests/sema4ai_code_tests/test_resolve_interpreter/robot_envconfig/conda2.yaml (100%) rename {sema4ai-code => sema4ai}/tests/sema4ai_code_tests/test_resolve_interpreter/robot_envconfig/conda2_linux.yaml (100%) rename {sema4ai-code => sema4ai}/tests/sema4ai_code_tests/test_resolve_interpreter/robot_envconfig/conda2_windows.yaml (100%) rename {sema4ai-code => sema4ai}/tests/sema4ai_code_tests/test_resolve_interpreter/robot_envconfig/environment_darwin_amd64_freeze.yaml (100%) rename {sema4ai-code => sema4ai}/tests/sema4ai_code_tests/test_resolve_interpreter/robot_envconfig/environment_linux_amd64_freeze.yaml (100%) rename {sema4ai-code => sema4ai}/tests/sema4ai_code_tests/test_resolve_interpreter/robot_envconfig/environment_windows_amd64_freeze.yaml (100%) rename {sema4ai-code => sema4ai}/tests/sema4ai_code_tests/test_resolve_interpreter/robot_envconfig/robot.yaml (100%) rename {sema4ai-code => sema4ai}/tests/sema4ai_code_tests/test_vscode_integration.py (100%) rename {sema4ai-code => sema4ai}/tests/sema4ai_code_tests/test_vscode_integration/sample_profile.yml (100%) rename {sema4ai-code => sema4ai}/tests/sema4ai_code_tests/test_vscode_integration/test_cloud_list_workspaces_basic.yml (100%) rename {sema4ai-code => sema4ai}/tests/sema4ai_code_tests/test_vscode_integration/test_cloud_list_workspaces_errors.yml (100%) rename {sema4ai-code => sema4ai}/tests/sema4ai_code_tests/test_vscode_integration/test_cloud_list_workspaces_errors_single_ws_not_available.yml (100%) rename {sema4ai-code => sema4ai}/tests/sema4ai_code_tests/test_vscode_integration/test_hover_conda_yaml_conda_forge_numpy_versions.yml (100%) rename {sema4ai-code => sema4ai}/tests/sema4ai_code_tests/test_vscode_integration/test_hover_conda_yaml_conda_forge_python_versions.yml (100%) rename {sema4ai-code => sema4ai}/tests/sema4ai_code_tests/test_vscode_integration/test_hover_conda_yaml_conda_forge_versions.yml (100%) rename {sema4ai-code => sema4ai}/tests/sema4ai_code_tests/test_vscode_integration/test_hover_conda_yaml_pypi_versions.yml (99%) rename {sema4ai-code => sema4ai}/tests/sema4ai_code_tests/test_vscode_integration/test_hover_conda_yaml_versions_no_releases.yml (99%) rename {sema4ai-code => sema4ai}/tests/sema4ai_code_tests/test_vscode_integration/test_hover_package_yaml_conda_forge_versions.yml (100%) rename {sema4ai-code => sema4ai}/tests/sema4ai_code_tests/test_vscode_integration/test_lint_python_action.yml (100%) rename {sema4ai-code => sema4ai}/tests/sema4ai_code_tests/test_vscode_integration/test_lint_robot_integration_deps.yml (92%) rename {sema4ai-code => sema4ai}/tests/sema4ai_code_tests/test_vscode_integration/test_lint_robot_integration_rcc.yml (89%) rename {sema4ai-code => sema4ai}/tests/sema4ai_code_tests/test_vscode_integration/test_obtain_locator_info.yml (100%) rename {sema4ai-code => sema4ai}/tests/sema4ai_code_tests/test_work_items.py (100%) rename {sema4ai-code => sema4ai}/tests/sema4ai_code_tests/test_work_items/test_list_work_items-1-no-increment.yml (100%) rename {sema4ai-code => sema4ai}/tests/sema4ai_code_tests/test_work_items/test_list_work_items-2.yml (100%) rename {sema4ai-code => sema4ai}/tests/sema4ai_code_tests/test_work_items/test_list_work_items-interactive-1.yml (100%) rename {sema4ai-code => sema4ai}/tests/sema4ai_code_tests/test_work_items/test_list_work_items-interactive-2.yml (100%) rename {sema4ai-code => sema4ai}/tests/sema4ai_code_tests/test_work_items/test_list_work_items-interactive-3.yml (100%) rename {sema4ai-code => sema4ai}/tests/sema4ai_code_tests/test_work_items/test_list_work_items.yml (100%) rename {sema4ai-code => sema4ai}/vscode-client/.gitignore (100%) rename {sema4ai-code => sema4ai}/vscode-client/.vscodeignore (100%) rename {sema4ai-code => sema4ai}/vscode-client/src/actionServer.ts (99%) rename {sema4ai-code => sema4ai}/vscode-client/src/activities.ts (99%) rename {sema4ai-code => sema4ai}/vscode-client/src/ask.ts (100%) rename {sema4ai-code => sema4ai}/vscode-client/src/channel.ts (95%) rename {sema4ai-code => sema4ai}/vscode-client/src/clear.ts (100%) rename {sema4ai-code => sema4ai}/vscode-client/src/common.ts (100%) rename {sema4ai-code => sema4ai}/vscode-client/src/debugger.ts (96%) rename {sema4ai-code => sema4ai}/vscode-client/src/extension.ts (94%) rename {sema4ai-code => sema4ai}/vscode-client/src/extensionCreateEnv.ts (99%) rename {sema4ai-code => sema4ai}/vscode-client/src/files.ts (100%) rename {sema4ai-code => sema4ai}/vscode-client/src/inspector.ts (100%) rename {sema4ai-code => sema4ai}/vscode-client/src/inspector/inspectorView.ts (100%) rename {sema4ai-code => sema4ai}/vscode-client/src/inspector/protocols.ts (100%) rename {sema4ai-code => sema4ai}/vscode-client/src/inspector/types.ts (100%) rename {sema4ai-code => sema4ai}/vscode-client/src/inspector/utils.ts (100%) rename {sema4ai-code => sema4ai}/vscode-client/src/locators.ts (100%) rename {sema4ai-code => sema4ai}/vscode-client/src/mutex.ts (100%) rename {sema4ai-code => sema4ai}/vscode-client/src/output/outView.ts (100%) rename {sema4ai-code => sema4ai}/vscode-client/src/output/outViewRunIntegration.ts (100%) rename {sema4ai-code => sema4ai}/vscode-client/src/playwright.ts (100%) rename {sema4ai-code => sema4ai}/vscode-client/src/profiles.ts (100%) rename {sema4ai-code => sema4ai}/vscode-client/src/progress.ts (100%) rename {sema4ai-code => sema4ai}/vscode-client/src/protocols.ts (100%) rename {sema4ai-code => sema4ai}/vscode-client/src/pythonExtIntegration.ts (100%) rename {sema4ai-code => sema4ai}/vscode-client/src/rcc.ts (99%) rename {sema4ai-code => sema4ai}/vscode-client/src/rccTerminal.ts (97%) rename {sema4ai-code => sema4ai}/vscode-client/src/requestLight.ts (100%) rename {sema4ai-code => sema4ai}/vscode-client/src/robo/README.md (100%) rename {sema4ai-code => sema4ai}/vscode-client/src/robo/actionPackage.ts (99%) rename {sema4ai-code => sema4ai}/vscode-client/src/robo/linkProvider.ts (100%) rename {sema4ai-code => sema4ai}/vscode-client/src/robo/runRobocorpTasks.ts (100%) rename {sema4ai-code => sema4ai}/vscode-client/src/robocorpCommands.ts (99%) rename {sema4ai-code => sema4ai}/vscode-client/src/robocorpSettings.ts (100%) rename {sema4ai-code => sema4ai}/vscode-client/src/robocorpViews.ts (70%) rename {sema4ai-code => sema4ai}/vscode-client/src/slugify.ts (100%) rename {sema4ai-code => sema4ai}/vscode-client/src/submitIssue.ts (97%) rename {sema4ai-code => sema4ai}/vscode-client/src/subprocess.ts (100%) rename {sema4ai-code => sema4ai}/vscode-client/src/tests/resources/pysample/conda.yaml (100%) rename {sema4ai-code => sema4ai}/vscode-client/src/tests/resources/pysample/robot.yaml (100%) rename {sema4ai-code => sema4ai}/vscode-client/src/tests/resources/pysample/task.py (100%) rename {sema4ai-code => sema4ai}/vscode-client/src/tests/runTests.ts (100%) rename {sema4ai-code => sema4ai}/vscode-client/src/tests/suite/extension.test.ts (95%) rename {sema4ai-code => sema4ai}/vscode-client/src/tests/suite/index.ts (100%) rename {sema4ai-code => sema4ai}/vscode-client/src/time.ts (100%) rename {sema4ai-code => sema4ai}/vscode-client/src/vault.ts (100%) rename {sema4ai-code => sema4ai}/vscode-client/src/views.ts (98%) rename {sema4ai-code => sema4ai}/vscode-client/src/viewsCommon.ts (100%) rename {sema4ai-code => sema4ai}/vscode-client/src/viewsLocators.ts (100%) rename {sema4ai-code => sema4ai}/vscode-client/src/viewsResources.ts (100%) rename {sema4ai-code => sema4ai}/vscode-client/src/viewsRobocorp.ts (99%) rename {sema4ai-code => sema4ai}/vscode-client/src/viewsRobotContent.ts (100%) rename {sema4ai-code => sema4ai}/vscode-client/src/viewsRobotSelectionTreeBase.ts (100%) rename {sema4ai-code => sema4ai}/vscode-client/src/viewsRobots.ts (100%) rename {sema4ai-code => sema4ai}/vscode-client/src/viewsWorkItems.ts (100%) rename {sema4ai-code => sema4ai}/vscode-client/templates/converter.html (100%) rename {sema4ai-code => sema4ai}/vscode-client/templates/inspector.html (100%) rename {sema4ai-code => sema4ai}/vscode-client/templates/output.html (100%) rename {sema4ai-code => sema4ai}/vscode-client/templates/submit_issue.html (100%) rename {sema4ai-code => sema4ai}/vscode-client/tsconfig.json (100%) rename {sema4ai-code => sema4ai}/yarn.lock (100%) diff --git a/.github/ISSUE_TEMPLATE/3_robocorp-code-bug-report.md b/.github/ISSUE_TEMPLATE/3_robocorp-code-bug-report.md index 04fc687b7..e7be8e575 100644 --- a/.github/ISSUE_TEMPLATE/3_robocorp-code-bug-report.md +++ b/.github/ISSUE_TEMPLATE/3_robocorp-code-bug-report.md @@ -1,8 +1,8 @@ --- -name: Bug Report - Sema4.ai Code -about: Create a report to help us improve Sema4.ai Code +name: Bug Report - Sema4.ai +about: Create a report to help us improve Sema4.ai title: '' -labels: bug, sema4ai-code +labels: bug, sema4ai assignees: '' --- diff --git a/.github/ISSUE_TEMPLATE/4_robocorp-code-feature-request.md b/.github/ISSUE_TEMPLATE/4_robocorp-code-feature-request.md index 0e6fd4f48..2ea9ae773 100644 --- a/.github/ISSUE_TEMPLATE/4_robocorp-code-feature-request.md +++ b/.github/ISSUE_TEMPLATE/4_robocorp-code-feature-request.md @@ -1,8 +1,8 @@ --- -name: Feature request - Sema4.ai Code -about: Suggest an idea for Sema4.ai Code +name: Feature request - Sema4.ai +about: Suggest an idea for Sema4.ai title: '' -labels: enhancement, sema4ai-code +labels: enhancement, sema4ai assignees: '' --- diff --git a/.github/workflows/linting.yml b/.github/workflows/linting.yml index fe91c5382..5ca284169 100644 --- a/.github/workflows/linting.yml +++ b/.github/workflows/linting.yml @@ -21,7 +21,7 @@ jobs: run: | python -m pip install --upgrade pip fire poetry - cd sema4ai-code + cd sema4ai poetry config virtualenvs.prefer-active-python true poetry install @@ -30,13 +30,13 @@ jobs: run: | npm install -g prettier@2.4.1 - - name: Prettier Sema4.ai Code (yarn prettier --write vscode-client/**/*.ts to format files locally) - working-directory: ./sema4ai-code + - name: Prettier Sema4.ai (yarn prettier --write vscode-client/**/*.ts to format files locally) + working-directory: ./sema4ai if: always() run: prettier --check vscode-client/**/*.ts - - name: ruff format check sema4ai-code - working-directory: ./sema4ai-code + - name: ruff format check sema4ai + working-directory: ./sema4ai if: always() run: | echo $PWD @@ -44,9 +44,9 @@ jobs: # Fix with python -m dev ruff_format --format poetry run python -m dev ruff_format - - name: mypy sema4ai-code + - name: mypy sema4ai if: always() - working-directory: ./sema4ai-code + working-directory: ./sema4ai run: | poetry run mypy --follow-imports=silent --show-column-numbers $PWD/src $PWD/tests $PWD/codegen diff --git a/.github/workflows/pre-release-robocorp-code.yml b/.github/workflows/pre-release-robocorp-code.yml index 244a819e9..5b6ea6f44 100644 --- a/.github/workflows/pre-release-robocorp-code.yml +++ b/.github/workflows/pre-release-robocorp-code.yml @@ -4,13 +4,13 @@ on: version: description: 'Version' required: true -name: Pre-release - Sema4.ai Code Extension +name: Pre-release - Sema4.ai Extension jobs: deploy: runs-on: ubuntu-latest defaults: run: - working-directory: ./sema4ai-code + working-directory: ./sema4ai strategy: fail-fast: true @@ -54,7 +54,7 @@ jobs: run: python -m dev generate-license-file - name: Install locally - working-directory: ./sema4ai-code + working-directory: ./sema4ai run: poetry install - run: npm install -g vsce@2.15.0 @@ -66,15 +66,15 @@ jobs: - name: Download rcc for windows run: python -m dev download-rcc win32 - - run: vsce package --pre-release --target win32-x64 -o sema4ai-code-win32-x64.vsix + - run: vsce package --pre-release --target win32-x64 -o sema4ai-win32-x64.vsix - uses: actions/upload-artifact@v4 with: - name: sema4ai-code-win32-x64.vsix - path: ./sema4ai-code/sema4ai-code-win32-x64.vsix + name: sema4ai-win32-x64.vsix + path: ./sema4ai/sema4ai-win32-x64.vsix - name: Publish pre-release to vscode marketplace - run: vsce publish --packagePath ./sema4ai-code-win32-x64.vsix -p $VSCODE_VSCE_TOKEN --pre-release + run: vsce publish --packagePath ./sema4ai-win32-x64.vsix -p $VSCODE_VSCE_TOKEN --pre-release env: VSCODE_VSCE_TOKEN: ${{ secrets.VSCODE_VSCE_TOKEN }} @@ -82,15 +82,15 @@ jobs: - name: Download rcc for linux run: python -m dev download-rcc linux - - run: vsce package --pre-release --target linux-x64 -o sema4ai-code-linux-x64.vsix + - run: vsce package --pre-release --target linux-x64 -o sema4ai-linux-x64.vsix - uses: actions/upload-artifact@v4 with: - name: sema4ai-code-linux-x64.vsix - path: ./sema4ai-code/sema4ai-code-linux-x64.vsix + name: sema4ai-linux-x64.vsix + path: ./sema4ai/sema4ai-linux-x64.vsix - name: Publish pre-release to vscode marketplace - run: vsce publish --packagePath ./sema4ai-code-linux-x64.vsix -p $VSCODE_VSCE_TOKEN --pre-release + run: vsce publish --packagePath ./sema4ai-linux-x64.vsix -p $VSCODE_VSCE_TOKEN --pre-release env: VSCODE_VSCE_TOKEN: ${{ secrets.VSCODE_VSCE_TOKEN }} @@ -98,15 +98,15 @@ jobs: - name: Download rcc for darwin run: python -m dev download-rcc darwin - - run: vsce package --pre-release --target darwin-x64 -o sema4ai-code-darwin-x64.vsix + - run: vsce package --pre-release --target darwin-x64 -o sema4ai-darwin-x64.vsix - uses: actions/upload-artifact@v4 with: - name: sema4ai-code-darwin-x64.vsix - path: ./sema4ai-code/sema4ai-code-darwin-x64.vsix + name: sema4ai-darwin-x64.vsix + path: ./sema4ai/sema4ai-darwin-x64.vsix - name: Publish pre-release to vscode marketplace - run: vsce publish --packagePath ./sema4ai-code-darwin-x64.vsix -p $VSCODE_VSCE_TOKEN --pre-release + run: vsce publish --packagePath ./sema4ai-darwin-x64.vsix -p $VSCODE_VSCE_TOKEN --pre-release env: VSCODE_VSCE_TOKEN: ${{ secrets.VSCODE_VSCE_TOKEN }} @@ -114,14 +114,14 @@ jobs: - name: Download rcc for darwin run: python -m dev download-rcc darwin - - run: vsce package --pre-release --target darwin-arm64 -o sema4ai-code-darwin-arm64.vsix + - run: vsce package --pre-release --target darwin-arm64 -o sema4ai-darwin-arm64.vsix - uses: actions/upload-artifact@v4 with: - name: sema4ai-code-darwin-arm64.vsix - path: ./sema4ai-code/sema4ai-code-darwin-arm64.vsix + name: sema4ai-darwin-arm64.vsix + path: ./sema4ai/sema4ai-darwin-arm64.vsix - name: Publish pre-release to vscode marketplace - run: vsce publish --packagePath ./sema4ai-code-darwin-arm64.vsix -p $VSCODE_VSCE_TOKEN --pre-release + run: vsce publish --packagePath ./sema4ai-darwin-arm64.vsix -p $VSCODE_VSCE_TOKEN --pre-release env: VSCODE_VSCE_TOKEN: ${{ secrets.VSCODE_VSCE_TOKEN }} diff --git a/.github/workflows/release-robocorp-code-vscode.yml b/.github/workflows/release-robocorp-code-vscode.yml index ca34097d5..ca23410f6 100644 --- a/.github/workflows/release-robocorp-code-vscode.yml +++ b/.github/workflows/release-robocorp-code-vscode.yml @@ -1,16 +1,16 @@ on: push: branches: - - "release-sema4ai-code" + - "release-sema4ai" tags: - - "sema4ai-code-*" -name: Deploy - Sema4.ai Code Extension + - "sema4ai-*" +name: Deploy - Sema4.ai Extension jobs: deploy: runs-on: ubuntu-latest defaults: run: - working-directory: ./sema4ai-code + working-directory: ./sema4ai strategy: fail-fast: true @@ -36,7 +36,7 @@ jobs: - name: Generate LICENSE.md run: python -m dev generate-license-file - name: Install locally - working-directory: ./sema4ai-code + working-directory: ./sema4ai run: poetry install - run: npm install -g vsce@2.15.0 @@ -47,20 +47,20 @@ jobs: - name: Download rcc for windows run: python -m dev download-rcc win32 - - run: vsce package --target win32-x64 -o sema4ai-code-win32-x64.vsix + - run: vsce package --target win32-x64 -o sema4ai-win32-x64.vsix - uses: actions/upload-artifact@v4 with: - name: sema4ai-code-win32-x64.vsix - path: ./sema4ai-code/sema4ai-code-win32-x64.vsix + name: sema4ai-win32-x64.vsix + path: ./sema4ai/sema4ai-win32-x64.vsix - name: Publish pre-release to vscode marketplace - run: vsce publish --packagePath ./sema4ai-code-win32-x64.vsix -p $VSCODE_VSCE_TOKEN + run: vsce publish --packagePath ./sema4ai-win32-x64.vsix -p $VSCODE_VSCE_TOKEN env: VSCODE_VSCE_TOKEN: ${{ secrets.VSCODE_VSCE_TOKEN }} - name: Publish windows to open vsx marketplace - run: npx ovsx publish sema4ai-code-win32-x64.vsix -p $VSCODE_OPEN_VSX_TOKEN + run: npx ovsx publish sema4ai-win32-x64.vsix -p $VSCODE_OPEN_VSX_TOKEN env: VSCODE_OPEN_VSX_TOKEN: ${{ secrets.VSCODE_OPEN_VSX_TOKEN }} @@ -68,20 +68,20 @@ jobs: - name: Download rcc for linux run: python -m dev download-rcc linux - - run: vsce package --target linux-x64 -o sema4ai-code-linux-x64.vsix + - run: vsce package --target linux-x64 -o sema4ai-linux-x64.vsix - uses: actions/upload-artifact@v4 with: - name: sema4ai-code-linux-x64.vsix - path: ./sema4ai-code/sema4ai-code-linux-x64.vsix + name: sema4ai-linux-x64.vsix + path: ./sema4ai/sema4ai-linux-x64.vsix - name: Publish pre-release to vscode marketplace - run: vsce publish --packagePath ./sema4ai-code-linux-x64.vsix -p $VSCODE_VSCE_TOKEN + run: vsce publish --packagePath ./sema4ai-linux-x64.vsix -p $VSCODE_VSCE_TOKEN env: VSCODE_VSCE_TOKEN: ${{ secrets.VSCODE_VSCE_TOKEN }} - name: Publish linux to open vsx marketplace - run: npx ovsx publish sema4ai-code-linux-x64.vsix -p $VSCODE_OPEN_VSX_TOKEN + run: npx ovsx publish sema4ai-linux-x64.vsix -p $VSCODE_OPEN_VSX_TOKEN env: VSCODE_OPEN_VSX_TOKEN: ${{ secrets.VSCODE_OPEN_VSX_TOKEN }} @@ -89,20 +89,20 @@ jobs: - name: Download rcc for darwin run: python -m dev download-rcc darwin - - run: vsce package --target darwin-x64 -o sema4ai-code-darwin-x64.vsix + - run: vsce package --target darwin-x64 -o sema4ai-darwin-x64.vsix - uses: actions/upload-artifact@v4 with: - name: sema4ai-code-darwin-x64.vsix - path: ./sema4ai-code/sema4ai-code-darwin-x64.vsix + name: sema4ai-darwin-x64.vsix + path: ./sema4ai/sema4ai-darwin-x64.vsix - name: Publish pre-release to vscode marketplace - run: vsce publish --packagePath ./sema4ai-code-darwin-x64.vsix -p $VSCODE_VSCE_TOKEN + run: vsce publish --packagePath ./sema4ai-darwin-x64.vsix -p $VSCODE_VSCE_TOKEN env: VSCODE_VSCE_TOKEN: ${{ secrets.VSCODE_VSCE_TOKEN }} - name: Publish darwin to open vsx marketplace - run: npx ovsx publish sema4ai-code-darwin-x64.vsix -p $VSCODE_OPEN_VSX_TOKEN + run: npx ovsx publish sema4ai-darwin-x64.vsix -p $VSCODE_OPEN_VSX_TOKEN env: VSCODE_OPEN_VSX_TOKEN: ${{ secrets.VSCODE_OPEN_VSX_TOKEN }} @@ -110,19 +110,19 @@ jobs: - name: Download rcc for darwin run: python -m dev download-rcc darwin - - run: vsce package --target darwin-arm64 -o sema4ai-code-darwin-arm64.vsix + - run: vsce package --target darwin-arm64 -o sema4ai-darwin-arm64.vsix - uses: actions/upload-artifact@v4 with: - name: sema4ai-code-darwin-arm64.vsix - path: ./sema4ai-code/sema4ai-code-darwin-arm64.vsix + name: sema4ai-darwin-arm64.vsix + path: ./sema4ai/sema4ai-darwin-arm64.vsix - name: Publish pre-release to vscode marketplace - run: vsce publish --packagePath ./sema4ai-code-darwin-arm64.vsix -p $VSCODE_VSCE_TOKEN + run: vsce publish --packagePath ./sema4ai-darwin-arm64.vsix -p $VSCODE_VSCE_TOKEN env: VSCODE_VSCE_TOKEN: ${{ secrets.VSCODE_VSCE_TOKEN }} - name: Publish darwin to open vsx marketplace - run: npx ovsx publish sema4ai-code-darwin-arm64.vsix -p $VSCODE_OPEN_VSX_TOKEN + run: npx ovsx publish sema4ai-darwin-arm64.vsix -p $VSCODE_OPEN_VSX_TOKEN env: VSCODE_OPEN_VSX_TOKEN: ${{ secrets.VSCODE_OPEN_VSX_TOKEN }} \ No newline at end of file diff --git a/.github/workflows/tests-robocorp-code-vscode.yml b/.github/workflows/tests-robocorp-code-vscode.yml index 049b0a0de..4eae5f48f 100644 --- a/.github/workflows/tests-robocorp-code-vscode.yml +++ b/.github/workflows/tests-robocorp-code-vscode.yml @@ -1,15 +1,15 @@ -name: Tests - Sema4.ai Code (sema4ai-code) +name: Tests - Sema4.ai (sema4ai) on: push: paths: - - sema4ai-code/** + - sema4ai/** - sema4ai-python-ls-core/** - .github/** pull_request: paths: - - sema4ai-code/** + - sema4ai/** - sema4ai-python-ls-core/** - .github/** @@ -47,15 +47,15 @@ jobs: - name: Upgrade pip run: python -m pip install --upgrade pip - name: Vendor sema4ai_ls_core - working-directory: ./sema4ai-code + working-directory: ./sema4ai run: | pip install fire poetry python -m dev vendor-robocorp-ls-core - name: poetry install - working-directory: ./sema4ai-code + working-directory: ./sema4ai run: poetry install - name: Test - working-directory: ./sema4ai-code/tests + working-directory: ./sema4ai/tests env: PYTHONPATH: . CI_CREDENTIALS: ${{ secrets.CI_CREDENTIALS }} @@ -67,10 +67,10 @@ jobs: if: always() with: name: tests_output.${{ matrix.name }}.txt - path: sema4ai-code/tests/tests_output + path: sema4ai/tests/tests_output - uses: actions/upload-artifact@v4 if: always() with: name: log.${{ matrix.name }}.html - path: sema4ai-code/tests/output/log.html + path: sema4ai/tests/output/log.html diff --git a/docs/changelog.md b/docs/changelog.md index 518d9b0f4..094e0e7f9 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -52,7 +52,7 @@ New in 1.20.1 (2024-04-12) New in 1.19.0 (2024-03-12) ----------------------------- -- New action: `Sema4.ai Code: Download Action Server` (downloads the latest version of the Action Server). +- New action: `Sema4.ai: Download Action Server` (downloads the latest version of the Action Server). New in 1.18.0 (2024-02-29) ----------------------------- @@ -132,7 +132,7 @@ New in 1.11.0 (2023-09-07) - When hovering over conda dependencies in `conda.yaml`, information from conda-forge is shown. - Warning if the versions for conda-forge in `conda.yaml` have updates. -- RCC is now distributed along with `Sema4.ai Code` (so, it'll no longer be downloaded in the first activation). +- RCC is now distributed along with `Sema4.ai` (so, it'll no longer be downloaded in the first activation). - A warning is no longer shown if a pre-release is available in pypi and the latest version is actually being used already. - Fixed issue where a parse exception was shown when a git url was used to install a pip dependency. - Fixed issue where a method decorated with `@task_cache` would have code lenses which should only appear to `@task`. @@ -248,7 +248,7 @@ New in 1.2.0 (2023-03-17) New in 1.1.3 (2023-02-13) ----------------------------- -- `environmentConfigs` is now properly used in `Sema4.ai Code` (so, it's possible to use conda freeze files). +- `environmentConfigs` is now properly used in `Sema4.ai` (so, it's possible to use conda freeze files). New in 1.1.0 (2023-02-03) @@ -418,7 +418,7 @@ New in 0.29.0 (2022-04-04) New in 0.28.0 (2022-03-14) ----------------------------- -- Created action: `Robocorp: Clear Robocorp (RCC) environments and restart Sema4.ai Code`. +- Created action: `Robocorp: Clear Robocorp (RCC) environments and restart Sema4.ai`. - RCC updated to v11.6.6. - New Windows locator integrated. - Properly notify of timeouts executing RCC. @@ -462,7 +462,7 @@ New in 0.24.0 (2022-01-17) ----------------------------- - RCC updated to v11.6.3 -- The extension now runs with `-v` by default (to show info level messages on `OUTPUT > Sema4.ai Code`). +- The extension now runs with `-v` by default (to show info level messages on `OUTPUT > Sema4.ai`). New in 0.23.0 (2021-12-22) @@ -680,7 +680,7 @@ New in 0.8.0 (2021-02-24) New in 0.7.1 (2021-01-22) ----------------------------- -- Fixed issue starting Sema4.ai Code on Mac OS and Linux. +- Fixed issue starting Sema4.ai on Mac OS and Linux. New in 0.7.0 (2021-01-20) ----------------------------- @@ -690,8 +690,8 @@ New in 0.7.0 (2021-01-20) - Unlink credentials. - Refresh. - Workspaces/Robots available. -- Cloud credentials not entered in Sema4.ai Code are no longer used as a fallback. #230 -- Credentials now stored as `sema4ai-code` instead of `--sema4ai-code`. +- Cloud credentials not entered in Sema4.ai are no longer used as a fallback. #230 +- Credentials now stored as `sema4ai` instead of `--sema4ai`. - Upload Robot selected in Robots tree to the cloud. - Check that the Windows Long Path support is enabled. #235 - Metrics for feature usage. #234 @@ -743,7 +743,7 @@ New in 0.5.0 (2020-11-25) - New Robots view (lists robots and allows launching/debugging them). #183 - New action to set the pythonPath to be used by the Python extension based on the `robot.yaml`. #185 - Templates available now have a description. #181 -- The account used to login is now tied to Sema4.ai Code. #189 +- The account used to login is now tied to Sema4.ai. #189 - Initial debug configurations are now provided. #184 - Upgraded to use RCC v6.1.3. #194 @@ -817,7 +817,7 @@ New in 0.0.5 (2020-09-23) New in 0.0.4 (2020-09-02) ----------------------------- -- The extension name changed to Sema4.ai Code (so, if upgrading from 0.0.3, please +- The extension name changed to Sema4.ai (so, if upgrading from 0.0.3, please remove the previous version manually). - When a package.yaml is found, it's used to provide a different python environment when running/debugging `.robot` files using the RobotFramework Language Server. diff --git a/docs/develop.md b/docs/develop.md index 66bca8d8a..df2771b48 100644 --- a/docs/develop.md +++ b/docs/develop.md @@ -10,14 +10,14 @@ Download the sources, head to the root directory (where `package.json` is locate and run: `yarn install`. After this step, it should be possible to open the `sema4ai_code` folder in VSCode and launch -`Extension: Sema4.ai Code` to have a new instance of VSCode with the loaded extension. +`Extension: Sema4.ai` to have a new instance of VSCode with the loaded extension. Creating a local environment for python development ---------------------------------------------------- For local development, `poetry` should be used to install the libraries needed, -so, head on to `/sema4ai-code` and do `poetry install` to get your python +so, head on to `/sema4ai` and do `poetry install` to get your python environment setup. If everything went well, just pointing your IDE to use the python executable @@ -36,12 +36,12 @@ To build a VSIX, follow the steps in https://code.visualstudio.com/api/working-w Adding a new command --------------------- -To add a new command, add it at the `COMMANDS` in `/sema4ai-code/codegen/commands.py` and then execute -(in a shell in the `/sema4ai-code` directory) `python -m dev codegen`. +To add a new command, add it at the `COMMANDS` in `/sema4ai/codegen/commands.py` and then execute +(in a shell in the `/sema4ai` directory) `python -m dev codegen`. This should add the command to the `package.json` as well as the files related to the constants. -Then, you may handle the command either in `/sema4ai-code/vscode-client/src/extension.ts` if the +Then, you may handle the command either in `/sema4ai/vscode-client/src/extension.ts` if the command requires some VSCode-only API or in the language server (which is ideal as less work would be required when porting the extension to a different client). @@ -52,14 +52,14 @@ Note: the code in the extension side (in TypeScript) should be kept to a minimum redone if porting to a different client). Note: at least one integration test for each action must be added in -`/sema4ai-code/tests/sema4ai_code_tests/test_vscode_integration.py` +`/sema4ai/tests/sema4ai_code_tests/test_vscode_integration.py` Adding a new setting --------------------- -To add a new setting, add it at the `SETTINGS` in `/sema4ai-code/codegen/settings.py` and then execute -(in a shell in the `/sema4ai-code` directory) `python -m dev codegen`. +To add a new setting, add it at the `SETTINGS` in `/sema4ai/codegen/settings.py` and then execute +(in a shell in the `/sema4ai` directory) `python -m dev codegen`. Updating the dependencies needed @@ -75,7 +75,7 @@ and run the related processes with `Run with input data`, passing the related After the runs are done, the file: -`/sema4ai-code/vscode-client/src/rcc.ts` +`/sema4ai/vscode-client/src/rcc.ts` needs to be updated to set the `BASENAME_PREBUILT_XXX` global variables based on the new paths. @@ -87,7 +87,7 @@ is updated accordingly. Updating RCC -------------------- -- Open a shell at the proper place (something as `X:\vscode-robot\vscode-extension\sema4ai-code`) +- Open a shell at the proper place (something as `X:\vscode-robot\vscode-extension\sema4ai`) - Update version (`python -m dev set-rcc-version v11.14.5`). diff --git a/docs/release.md b/docs/release.md index f3d7e54b2..c40d44f2b 100644 --- a/docs/release.md +++ b/docs/release.md @@ -3,9 +3,9 @@ Steps to do a new release To release a new version: -- Open a shell at the proper place (something as `X:\robocorpws\vscode-extension\sema4ai-code`) +- Open a shell at the proper place (something as `X:\robocorpws\vscode-extension\sema4ai`) -- Create release branch (`git branch -D release-sema4ai-code & git checkout -b release-sema4ai-code`) +- Create release branch (`git branch -D release-sema4ai & git checkout -b release-sema4ai`) - Update version (`python -m dev set-version 1.22.1`). @@ -14,8 +14,8 @@ To release a new version: - Update changelog.md to add notes on features/fixes and set release date. - Push contents to release branch, get the build in https://github.com/Sema4AI/vscode-extension//actions and install locally to test. - - `mu acp Release Sema4.ai Code 1.22.1` + - `mu acp Release Sema4.ai 1.22.1` -- Rebase with master (`git checkout master & git rebase release-sema4ai-code`). +- Rebase with master (`git checkout master & git rebase release-sema4ai`). -- Create a tag (`git tag sema4ai-code-1.22.1`) and push it. +- Create a tag (`git tag sema4ai-1.22.1`) and push it. diff --git a/sema4ai-code/.gitignore b/sema4ai/.gitignore similarity index 100% rename from sema4ai-code/.gitignore rename to sema4ai/.gitignore diff --git a/sema4ai-code/.prettierignore b/sema4ai/.prettierignore similarity index 100% rename from sema4ai-code/.prettierignore rename to sema4ai/.prettierignore diff --git a/sema4ai-code/.project b/sema4ai/.project similarity index 96% rename from sema4ai-code/.project rename to sema4ai/.project index 07187b5a4..17b347f32 100644 --- a/sema4ai-code/.project +++ b/sema4ai/.project @@ -1,6 +1,6 @@ - sema4ai-code + sema4ai sema4ai-python-ls-core diff --git a/sema4ai-code/.pydevproject b/sema4ai/.pydevproject similarity index 100% rename from sema4ai-code/.pydevproject rename to sema4ai/.pydevproject diff --git a/sema4ai-code/.settings/org.eclipse.core.resources.prefs b/sema4ai/.settings/org.eclipse.core.resources.prefs similarity index 100% rename from sema4ai-code/.settings/org.eclipse.core.resources.prefs rename to sema4ai/.settings/org.eclipse.core.resources.prefs diff --git a/sema4ai-code/.settings/org.python.pydev.yaml b/sema4ai/.settings/org.python.pydev.yaml similarity index 100% rename from sema4ai-code/.settings/org.python.pydev.yaml rename to sema4ai/.settings/org.python.pydev.yaml diff --git a/sema4ai-code/.vscode/launch.json b/sema4ai/.vscode/launch.json similarity index 94% rename from sema4ai-code/.vscode/launch.json rename to sema4ai/.vscode/launch.json index 24a6e5ed4..475b096bc 100644 --- a/sema4ai-code/.vscode/launch.json +++ b/sema4ai/.vscode/launch.json @@ -3,7 +3,7 @@ "version": "0.1.0", "configurations": [ { - "name": "Extension: Sema4.ai Code", + "name": "Extension: Sema4.ai", "type": "extensionHost", "request": "launch", "runtimeExecutable": "${execPath}", @@ -26,7 +26,7 @@ } }, { - "name": "Extension Tests: Sema4.ai Code", + "name": "Extension Tests: Sema4.ai", "type": "extensionHost", "request": "launch", "runtimeExecutable": "${execPath}", diff --git a/sema4ai-code/.vscode/sema4ai-code.code-workspace b/sema4ai/.vscode/sema4ai-code.code-workspace similarity index 100% rename from sema4ai-code/.vscode/sema4ai-code.code-workspace rename to sema4ai/.vscode/sema4ai-code.code-workspace diff --git a/sema4ai-code/.vscodeignore b/sema4ai/.vscodeignore similarity index 100% rename from sema4ai-code/.vscodeignore rename to sema4ai/.vscodeignore diff --git a/sema4ai-code/.yarnrc.yml b/sema4ai/.yarnrc.yml similarity index 100% rename from sema4ai-code/.yarnrc.yml rename to sema4ai/.yarnrc.yml diff --git a/sema4ai-code/README.md b/sema4ai/README.md similarity index 94% rename from sema4ai-code/README.md rename to sema4ai/README.md index f3bf8d0e3..bf9541498 100644 --- a/sema4ai-code/README.md +++ b/sema4ai/README.md @@ -1,6 +1,6 @@ -This is the repository containing `Sema4.ai Code`: A Visual Studio Code Extension for `AI Actions` and `Robot Tasks` development. +This is the repository containing `Sema4.ai`: A Visual Studio Code Extension for `AI Actions` and `Robot Tasks` development. -Note: If you previously used `Robocorp Code`, `Sema4.ai Code` should now be used instead (it should contain most features +Note: If you previously used `Robocorp Code`, `Sema4.ai` should now be used instead (it should contain most features for `Robot Tasks` development from `Robocorp Code` along with new features to support the development of AI Actions) ## Sema4.ai VS Code extension @@ -42,7 +42,7 @@ Main features include: Find more examples and tutorials at the [Robocorp Portal](https://robocorp.com/robots/). You can also find helpful videos on the [YouTube Robocorp channel](https://www.youtube.com/watch?v=FaN7IUA8a0w&list=PLfXJKwwF049Dpl35x7i6sTTvIzlUaMChU). -Full instructions are available at the [Product Manual](https://robocorp.com/docs/product-manuals/sema4ai-code) for the VS Code Extension. +Full instructions are available at the [Product Manual](https://robocorp.com/docs/product-manuals/sema4ai) for the VS Code Extension. This is under active development, so please [contact us](https://robocorp.com/contact-us) for issues and feature requests. diff --git a/sema4ai-code/bin/.gitignore b/sema4ai/bin/.gitignore similarity index 100% rename from sema4ai-code/bin/.gitignore rename to sema4ai/bin/.gitignore diff --git a/sema4ai-code/bin/create_env/conda.yaml b/sema4ai/bin/create_env/conda.yaml similarity index 100% rename from sema4ai-code/bin/create_env/conda.yaml rename to sema4ai/bin/create_env/conda.yaml diff --git a/sema4ai-code/bin/create_env/conda_vscode_darwin_amd64.yaml b/sema4ai/bin/create_env/conda_vscode_darwin_amd64.yaml similarity index 100% rename from sema4ai-code/bin/create_env/conda_vscode_darwin_amd64.yaml rename to sema4ai/bin/create_env/conda_vscode_darwin_amd64.yaml diff --git a/sema4ai-code/bin/create_env/conda_vscode_linux_amd64.yaml b/sema4ai/bin/create_env/conda_vscode_linux_amd64.yaml similarity index 100% rename from sema4ai-code/bin/create_env/conda_vscode_linux_amd64.yaml rename to sema4ai/bin/create_env/conda_vscode_linux_amd64.yaml diff --git a/sema4ai-code/bin/create_env/conda_vscode_windows_amd64.yaml b/sema4ai/bin/create_env/conda_vscode_windows_amd64.yaml similarity index 100% rename from sema4ai-code/bin/create_env/conda_vscode_windows_amd64.yaml rename to sema4ai/bin/create_env/conda_vscode_windows_amd64.yaml diff --git a/sema4ai-code/bin/create_env/get_env_info.py b/sema4ai/bin/create_env/get_env_info.py similarity index 100% rename from sema4ai-code/bin/create_env/get_env_info.py rename to sema4ai/bin/create_env/get_env_info.py diff --git a/sema4ai-code/bin/create_env/output/keep.txt b/sema4ai/bin/create_env/output/keep.txt similarity index 100% rename from sema4ai-code/bin/create_env/output/keep.txt rename to sema4ai/bin/create_env/output/keep.txt diff --git a/sema4ai-code/bin/create_env/robot.yaml b/sema4ai/bin/create_env/robot.yaml similarity index 100% rename from sema4ai-code/bin/create_env/robot.yaml rename to sema4ai/bin/create_env/robot.yaml diff --git a/sema4ai/bin/develop.bat b/sema4ai/bin/develop.bat new file mode 100644 index 000000000..d861f2ef7 --- /dev/null +++ b/sema4ai/bin/develop.bat @@ -0,0 +1,53 @@ +@echo off + +pushd . +SET scriptPath=%~dp0 +SET scriptPath=%scriptPath:~0,-1% +cd /D %scriptPath% + +SET venvDir=venv + +:: Get RCC, binary with which we're going to create the master environment. +SET rccUrl=https://downloads.robocorp.com/rcc/releases/latest/windows64/rcc.exe +IF NOT EXIST ".\rcc.exe" ( + curl -o rcc.exe %rccUrl% --fail || goto venv_error +) + +:: Create a new or replace an already existing virtual environment. +cd .. & REM place/check the new/existing venv in the devtools root dir +IF EXIST ".\%venvDir%" ( + echo Detected existing development environment. + echo Do you want to create a clean environment? [Y/N] + choice /C YN /N /M "Select [Y]es (clean environment) or [N]o (use existing):" + IF ERRORLEVEL 2 GOTO venv_setup +) + +:venv_new +echo Creating a clean environment... +.\bin\rcc.exe venv .\bin\developer.yaml --space robocorp-development --force + +:venv_setup +:: Activate the virtual environment and install dependencies everytime. +call .\%venvDir%\Scripts\activate.bat +python -m poetry install + +cd sema4ai +yarn + +:: Start VS Code over the repo to open the entire project for development. +code .. || goto vscode_error +goto end + +:venv_error +echo. +echo Development environment setup failed! +goto end + +:vscode_error +echo. +echo Running VSCode failed! +goto end + +:end +popd +pause diff --git a/sema4ai/bin/develop.sh b/sema4ai/bin/develop.sh new file mode 100644 index 000000000..ebb293400 --- /dev/null +++ b/sema4ai/bin/develop.sh @@ -0,0 +1,62 @@ +#! /bin/bash -e + +# Save current directory and change to the script's directory. +pushd . > /dev/null +cd $(dirname $0) +venvDir=venv # better to not clash in naming with Poetry's ".venv" default name + +# Check first if we aren't sourcing the script instead of executing it, as sourcing +# will activate the environment instead. +if [[ "${BASH_SOURCE[0]}" != "${0}" ]]; then # it's sourced, not executed + echo "Activating an already existing virtual environment." + . ../$venvDir/bin/activate + popd > /dev/null + return # stops the rest of the execution without exiting the shell +fi + +# Get RCC, binary with which we're going to create the master environment. +if [ ! -f rcc ]; then + system=$(uname -s) + case ${system} in + Linux*) url=https://downloads.robocorp.com/rcc/releases/latest/linux64/rcc;; + Darwin*) url=https://downloads.robocorp.com/rcc/releases/latest/macos64/rcc;; + *) echo "Invalid platform '$system' detected!"; exit 1; + esac + curl -o rcc $url + chmod +x rcc +fi + +# Create a new or replace an already existing virtual environment. +cd .. # place/check the new/existing venv in the devtools root dir +if [ -d $venvDir ]; then + echo "Detected existing development environment." + read -r -p "Do you want to create a clean environment? [Y/N] " response + if [[ "$response" =~ ^[Yy] ]]; then + echo "Replacing existing environment with a clean one..." + newEnv=true + else + echo "Using existing development environment." + newEnv=false + fi +else + echo "Creating a new environment..." + newEnv=true +fi + +if $newEnv; then + ./bin/rcc venv developer.yaml --space robocorp-development --force +fi +. ./$venvDir/bin/activate # environment already exists at this point +# Install requirements all the time (due to updates). +python -m poetry install +cd sema4ai +yarn + +# Start VS Code over the repo to open the entire project for development. +code .. || echo "VSCode binary not available in PATH! (skip opening)" + +# Bring back the initial working directory. +popd > /dev/null + +echo "Source the development script to activate the environment, example:" +echo "$ source $0" diff --git a/sema4ai/bin/developer.yaml b/sema4ai/bin/developer.yaml new file mode 100644 index 000000000..4986947ba --- /dev/null +++ b/sema4ai/bin/developer.yaml @@ -0,0 +1,12 @@ +# Note: when updated the pre-built environments must be updated +# (run related robot in control-room and update values in getBaseAsZipBasename). +channels: + - conda-forge + +dependencies: + - python=3.10.14 + - pip=23.2.1 + - poetry=1.8.3 + - nodejs=20.12.2 + - yarn=4.2.2 + - robocorp-truststore=0.8.0 # https://github.com/sethmlarson/truststore/blob/main/CHANGELOG.md diff --git a/sema4ai-code/codegen/codegen_package.py b/sema4ai/codegen/codegen_package.py similarity index 95% rename from sema4ai-code/codegen/codegen_package.py rename to sema4ai/codegen/codegen_package.py index dbb1bcff5..5fbb855dd 100644 --- a/sema4ai-code/codegen/codegen_package.py +++ b/sema4ai/codegen/codegen_package.py @@ -30,11 +30,11 @@ def get_json_contents(): from sema4ai_code import __version__ base_package_contents = { - "name": "sema4ai-code", - "displayName": "Sema4.ai Code", - "description": "Sema4.ai Code: Visual Studio Code Extension for AI Actions and Robot Tasks development", + "name": "sema4ai", + "displayName": "Sema4.ai", + "description": "Sema4.ai: Visual Studio Code Extension for AI Actions and Robot Tasks development", "author": "Sema4.ai, Inc.", - "homepage": "https://github.com/Sema4AI/vscode-extension//blob/master/sema4ai-code/README.md", + "homepage": "https://github.com/Sema4AI/vscode-extension//blob/master/sema4ai/README.md", "repository": { "type": "git", "url": "https://github.com/Sema4AI/vscode-extension/.git", @@ -50,7 +50,7 @@ def get_json_contents(): + ["onLanguage:json", "onLanguage:yaml", "onLanguage:python"], "contributes": { "configuration": { - "title": "Sema4.ai Code Language Server Configuration", + "title": "Sema4.ai Language Server Configuration", "type": "object", "properties": get_settings_for_json(), }, @@ -60,8 +60,8 @@ def get_json_contents(): "grammars": [], "debuggers": [ { - "type": "sema4ai-code", - "label": "Sema4.ai Code", + "type": "sema4ai", + "label": "Sema4.ai", "languages": [], "configurationAttributes": { "launch": { @@ -101,11 +101,11 @@ def get_json_contents(): }, "configurationSnippets": [ { - "label": "Sema4.ai Code: Launch task from robot.yaml", + "label": "Sema4.ai: Launch task from robot.yaml", "description": "Add a new configuration for launching tasks from a robot.yaml.", "body": { - "type": "sema4ai-code", - "name": "Sema4.ai Code: Launch task from robot.yaml", + "type": "sema4ai", + "name": "Sema4.ai: Launch task from robot.yaml", "request": "launch", # "terminal": "integrated", "robot": '^"\\${file}"', diff --git a/sema4ai-code/codegen/commands.py b/sema4ai/codegen/commands.py similarity index 99% rename from sema4ai-code/codegen/commands.py rename to sema4ai/codegen/commands.py index 9b425b90d..43fef6be7 100644 --- a/sema4ai-code/codegen/commands.py +++ b/sema4ai/codegen/commands.py @@ -669,13 +669,13 @@ def __init__( ), Command( "sema4ai.clearEnvAndRestart", - "Clear Robocorp (RCC) environments and restart Sema4.ai Code", + "Clear Robocorp (RCC) environments and restart Sema4.ai", add_to_package_json=True, server_handled=False, ), Command( "sema4ai.showOutput", - "Show Sema4.ai Code > Output logs", + "Show Sema4.ai > Output logs", add_to_package_json=True, server_handled=False, ), @@ -826,6 +826,6 @@ def get_activation_events_for_json(): activation_events.append("onCommand:" + command.name) activation_events.append("onDebugInitialConfigurations") - activation_events.append("onDebugResolve:sema4ai-code") + activation_events.append("onDebugResolve:sema4ai") return activation_events diff --git a/sema4ai-code/codegen/convert.py b/sema4ai/codegen/convert.py similarity index 100% rename from sema4ai-code/codegen/convert.py rename to sema4ai/codegen/convert.py diff --git a/sema4ai-code/codegen/settings.py b/sema4ai/codegen/settings.py similarity index 91% rename from sema4ai-code/codegen/settings.py rename to sema4ai/codegen/settings.py index d312c74a8..36a56c4a2 100644 --- a/sema4ai-code/codegen/settings.py +++ b/sema4ai/codegen/settings.py @@ -40,14 +40,14 @@ def __init__( Setting( "sema4ai.language-server.args", [], - 'Specifies the arguments to be passed to the Sema4.ai Code language server (i.e.: ["-vv", "--log-file=~/sema4ai_code.log"]). Requires a VSCode restart to take effect.', + 'Specifies the arguments to be passed to the Sema4.ai language server (i.e.: ["-vv", "--log-file=~/sema4ai_code.log"]). Requires a VSCode restart to take effect.', setting_type="array", js_type="string[]", ), Setting( "sema4ai.language-server.python", "", - "Specifies the path to the python executable to be used for the Sema4.ai Code Language Server (the default is searching python on the PATH). Requires a VSCode restart to take effect.", + "Specifies the path to the python executable to be used for the Sema4.ai Language Server (the default is searching python on the PATH). Requires a VSCode restart to take effect.", setting_type="string", ), Setting( @@ -95,7 +95,7 @@ def __init__( Setting( "sema4ai.proceedWithLongPathsDisabled", False, - "Enables Sema4.ai Code to be started even with long paths disabled.", + "Enables Sema4.ai to be started even with long paths disabled.", setting_type="boolean", ), Setting( diff --git a/sema4ai-code/codegen/views.py b/sema4ai/codegen/views.py similarity index 90% rename from sema4ai-code/codegen/views.py rename to sema4ai/codegen/views.py index 4b618be34..6d47ceb01 100644 --- a/sema4ai-code/codegen/views.py +++ b/sema4ai/codegen/views.py @@ -40,7 +40,7 @@ def __init__( TREE_VIEW_CONTAINERS = [ TreeViewContainer( id="sem4ai-packages", - title="Sema4.ai Code", + title="Sema4.ai", icon="images/sema4ai-outline.svg", tree_views=[ TreeView( @@ -178,12 +178,12 @@ def __init__( Menu( "sema4ai.newFileInRobotContentView", MenuGroup.NAVIGATION, - when="sema4ai-code:single-robot-selected && viewItem == directoryItem", + when="sema4ai:single-robot-selected && viewItem == directoryItem", ), Menu( "sema4ai.newFolderInRobotContentView", MenuGroup.NAVIGATION, - when="sema4ai-code:single-robot-selected && viewItem == directoryItem", + when="sema4ai:single-robot-selected && viewItem == directoryItem", ), Menu("sema4ai.refreshRobotContentView", MenuGroup.NAVIGATION), ], @@ -191,37 +191,37 @@ def __init__( Menu( "sema4ai.newFileInRobotContentView", "0_new", - when="sema4ai-code:single-robot-selected && viewItem == directoryItem", + when="sema4ai:single-robot-selected && viewItem == directoryItem", ), Menu( "sema4ai.newFolderInRobotContentView", "0_new", - when="sema4ai-code:single-robot-selected && viewItem == directoryItem", + when="sema4ai:single-robot-selected && viewItem == directoryItem", ), Menu( "sema4ai.openExternally", "1_open", - when="sema4ai-code:single-robot-selected && viewItem == fileItem", + when="sema4ai:single-robot-selected && viewItem == fileItem", ), Menu( "sema4ai.openInVSCode", "1_open", - when="sema4ai-code:single-robot-selected && viewItem == fileItem", + when="sema4ai:single-robot-selected && viewItem == fileItem", ), Menu( "sema4ai.revealInExplorer", "1_open", - when="sema4ai-code:single-robot-selected", + when="sema4ai:single-robot-selected", ), Menu( "sema4ai.renameResourceInRobotContentView", "2_change", - when="sema4ai-code:single-robot-selected", + when="sema4ai:single-robot-selected", ), Menu( "sema4ai.deleteResourceInRobotContentView", "2_change", - when="sema4ai-code:single-robot-selected", + when="sema4ai:single-robot-selected", ), ], }, @@ -236,22 +236,22 @@ def __init__( Menu( "sema4ai.newRobocorpInspectorBrowser", MenuGroup.INLINE, - "sema4ai-code:single-robot-selected && viewItem == newBrowserLocator", + "sema4ai:single-robot-selected && viewItem == newBrowserLocator", ), Menu( "sema4ai.newRobocorpInspectorWindows", MenuGroup.INLINE, - "sema4ai-code:single-robot-selected && viewItem == newWindowsLocator", + "sema4ai:single-robot-selected && viewItem == newWindowsLocator", ), Menu( "sema4ai.newRobocorpInspectorImage", MenuGroup.INLINE, - "sema4ai-code:single-robot-selected && viewItem == newImageLocator", + "sema4ai:single-robot-selected && viewItem == newImageLocator", ), Menu( "sema4ai.newRobocorpInspectorJava", MenuGroup.INLINE, - "sema4ai-code:single-robot-selected && viewItem == newJavaLocator", + "sema4ai:single-robot-selected && viewItem == newJavaLocator", ), # Locators (root) Menu( @@ -263,29 +263,29 @@ def __init__( Menu( "sema4ai.editRobocorpInspectorLocator", MenuGroup.INLINE, - when="sema4ai-code:single-robot-selected && viewItem == locatorEntry", + when="sema4ai:single-robot-selected && viewItem == locatorEntry", ), Menu( "sema4ai.copyLocatorToClipboard.internal", MenuGroup.INLINE, - when="sema4ai-code:single-robot-selected && viewItem == locatorEntry", + when="sema4ai:single-robot-selected && viewItem == locatorEntry", ), Menu( "sema4ai.removeLocatorFromJson", MenuGroup.INLINE, - when="sema4ai-code:single-robot-selected && viewItem == locatorEntry", + when="sema4ai:single-robot-selected && viewItem == locatorEntry", ), # Work items (root) Menu( "sema4ai.helpWorkItems", MenuGroup.INLINE, - when="sema4ai-code:single-robot-selected && viewItem == workItemsRoot", + when="sema4ai:single-robot-selected && viewItem == workItemsRoot", ), # Work items (new) Menu( "sema4ai.newWorkItemInWorkItemsView", MenuGroup.INLINE, - when="sema4ai-code:single-robot-selected && viewItem == inputWorkItemDir", + when="sema4ai:single-robot-selected && viewItem == inputWorkItemDir", ), # Work items (entries) Menu( diff --git a/sema4ai-code/dev.py b/sema4ai/dev.py similarity index 96% rename from sema4ai-code/dev.py rename to sema4ai/dev.py index a6f7278c6..7c9da6eb8 100644 --- a/sema4ai-code/dev.py +++ b/sema4ai/dev.py @@ -63,9 +63,10 @@ def _fix_rcc_contents_version(contents, version): class Dev(object): + # CI call: python -m dev set-version def set_version(self, version): """ - Sets a new version for sema4ai-code in all the needed files. + Sets a new version for sema4ai in all the needed files. """ def update_version(version, filepath): @@ -108,11 +109,11 @@ def get_tag(self): import subprocess # i.e.: Gets the last tagged version - cmd = "git describe --tags --abbrev=0 --match sema4ai-code*".split() + cmd = "git describe --tags --abbrev=0 --match sema4ai*".split() popen = subprocess.Popen(cmd, stdout=subprocess.PIPE) stdout, stderr = popen.communicate() - # Something as: b'sema4ai-code-0.0.1' + # Something as: b'sema4ai-0.0.1' stdout = stdout.decode("utf-8") stdout = stdout.strip() return stdout @@ -190,6 +191,7 @@ def codegen(self): import codegen_package codegen_package.main() + # CI call: python -m dev fix-readme def fix_readme(self): """ Updates the links in the README.md to match the current tagged version. @@ -215,7 +217,7 @@ def fix_readme(self): new_content = re.sub( r"\(images/", - rf"(https://raw.githubusercontent.com/Sema4AI/vscode-extension/{tag}/sema4ai-code/images/", + rf"(https://raw.githubusercontent.com/Sema4AI/vscode-extension/{tag}/sema4ai/images/", content, ) @@ -290,7 +292,7 @@ def download_rcc(self, plat): def local_install(self): """ - Packages both Robotframework Language Server and Sema4.ai Code and installs + Packages both Robotframework Language Server and Sema4.ai and installs them in Visual Studio Code. """ print("Making local install") @@ -306,12 +308,12 @@ def get_version(): contents = json.loads(p.read_text()) return contents["version"] - print("\n--- installing Sema4.ai Code") - curdir = root / "sema4ai-code" + print("\n--- installing Sema4.ai") + curdir = root / "sema4ai" run("python -m dev vendor_robocorp_ls_core".split()) run("vsce package".split(), shell=sys.platform == "win32") run( - f"code --install-extension sema4ai-code-{get_version()}.vsix".split(), + f"code --install-extension sema4ai-{get_version()}.vsix".split(), shell=sys.platform == "win32", ) run("python -m dev remove_vendor_robocorp_ls_core".split()) diff --git a/sema4ai-code/images/command-palette.png b/sema4ai/images/command-palette.png similarity index 100% rename from sema4ai-code/images/command-palette.png rename to sema4ai/images/command-palette.png diff --git a/sema4ai-code/images/dark/debug.svg b/sema4ai/images/dark/debug.svg similarity index 100% rename from sema4ai-code/images/dark/debug.svg rename to sema4ai/images/dark/debug.svg diff --git a/sema4ai-code/images/dark/refresh.svg b/sema4ai/images/dark/refresh.svg similarity index 100% rename from sema4ai-code/images/dark/refresh.svg rename to sema4ai/images/dark/refresh.svg diff --git a/sema4ai-code/images/dark/run.svg b/sema4ai/images/dark/run.svg similarity index 100% rename from sema4ai-code/images/dark/run.svg rename to sema4ai/images/dark/run.svg diff --git a/sema4ai-code/images/gif_run.gif b/sema4ai/images/gif_run.gif similarity index 100% rename from sema4ai-code/images/gif_run.gif rename to sema4ai/images/gif_run.gif diff --git a/sema4ai-code/images/icon.png b/sema4ai/images/icon.png similarity index 100% rename from sema4ai-code/images/icon.png rename to sema4ai/images/icon.png diff --git a/sema4ai-code/images/light/debug.svg b/sema4ai/images/light/debug.svg similarity index 100% rename from sema4ai-code/images/light/debug.svg rename to sema4ai/images/light/debug.svg diff --git a/sema4ai-code/images/light/refresh.svg b/sema4ai/images/light/refresh.svg similarity index 100% rename from sema4ai-code/images/light/refresh.svg rename to sema4ai/images/light/refresh.svg diff --git a/sema4ai-code/images/light/run.svg b/sema4ai/images/light/run.svg similarity index 100% rename from sema4ai-code/images/light/run.svg rename to sema4ai/images/light/run.svg diff --git a/sema4ai-code/images/sema4ai-outline-4.svg b/sema4ai/images/sema4ai-outline-4.svg similarity index 100% rename from sema4ai-code/images/sema4ai-outline-4.svg rename to sema4ai/images/sema4ai-outline-4.svg diff --git a/sema4ai-code/images/sema4ai-outline.svg b/sema4ai/images/sema4ai-outline.svg similarity index 100% rename from sema4ai-code/images/sema4ai-outline.svg rename to sema4ai/images/sema4ai-outline.svg diff --git a/sema4ai-code/package.json b/sema4ai/package.json similarity index 95% rename from sema4ai-code/package.json rename to sema4ai/package.json index 409183cb1..e1e522595 100644 --- a/sema4ai-code/package.json +++ b/sema4ai/package.json @@ -1,15 +1,15 @@ { - "name": "sema4ai-code", - "displayName": "Sema4.ai Code", - "description": "Sema4.ai Code: Visual Studio Code Extension for AI Actions and Robot Tasks development", + "name": "sema4ai", + "displayName": "Sema4.ai", + "description": "Sema4.ai: Visual Studio Code Extension for AI Actions and Robot Tasks development", "author": "Sema4.ai, Inc.", - "homepage": "https://github.com/Sema4AI/vscode-extension//blob/master/sema4ai-code/README.md", + "homepage": "https://github.com/Sema4AI/vscode-extension//blob/master/sema4ai/README.md", "repository": { "type": "git", "url": "https://github.com/Sema4AI/vscode-extension/.git" }, "license": "SEE LICENSE IN LICENSE.txt", - "version": "1.22.1", + "version": "1.22.3", "icon": "images/icon.png", "publisher": "sema4ai", "engines": { @@ -127,7 +127,7 @@ "onCommand:sema4ai.listActions.internal", "onCommand:sema4ai.packageEnvironmentRebuild", "onDebugInitialConfigurations", - "onDebugResolve:sema4ai-code", + "onDebugResolve:sema4ai", "onView:sema4ai-task-packages-tree", "onView:sema4ai-package-content-tree", "onView:sema4ai-package-resources-tree", @@ -138,7 +138,7 @@ ], "contributes": { "configuration": { - "title": "Sema4.ai Code Language Server Configuration", + "title": "Sema4.ai Language Server Configuration", "type": "object", "properties": { "sema4ai.language-server.tcp-port": { @@ -149,12 +149,12 @@ "sema4ai.language-server.args": { "type": "array", "default": [], - "description": "Specifies the arguments to be passed to the Sema4.ai Code language server (i.e.: [\"-vv\", \"--log-file=~/sema4ai_code.log\"]). Requires a VSCode restart to take effect." + "description": "Specifies the arguments to be passed to the Sema4.ai language server (i.e.: [\"-vv\", \"--log-file=~/sema4ai_code.log\"]). Requires a VSCode restart to take effect." }, "sema4ai.language-server.python": { "type": "string", "default": "", - "description": "Specifies the path to the python executable to be used for the Sema4.ai Code Language Server (the default is searching python on the PATH). Requires a VSCode restart to take effect." + "description": "Specifies the path to the python executable to be used for the Sema4.ai Language Server (the default is searching python on the PATH). Requires a VSCode restart to take effect." }, "sema4ai.rcc.location": { "type": "string", @@ -194,7 +194,7 @@ "sema4ai.proceedWithLongPathsDisabled": { "type": "boolean", "default": false, - "description": "Enables Sema4.ai Code to be started even with long paths disabled." + "description": "Enables Sema4.ai to be started even with long paths disabled." }, "sema4ai.vaultTokenTimeoutInMinutes": { "type": "number", @@ -217,7 +217,7 @@ "activitybar": [ { "id": "sem4ai-packages", - "title": "Sema4.ai Code", + "title": "Sema4.ai", "icon": "images/sema4ai-outline.svg" } ], @@ -265,8 +265,8 @@ "grammars": [], "debuggers": [ { - "type": "sema4ai-code", - "label": "Sema4.ai Code", + "type": "sema4ai", + "label": "Sema4.ai", "languages": [], "configurationAttributes": { "launch": { @@ -293,11 +293,11 @@ }, "configurationSnippets": [ { - "label": "Sema4.ai Code: Launch task from robot.yaml", + "label": "Sema4.ai: Launch task from robot.yaml", "description": "Add a new configuration for launching tasks from a robot.yaml.", "body": { - "type": "sema4ai-code", - "name": "Sema4.ai Code: Launch task from robot.yaml", + "type": "sema4ai", + "name": "Sema4.ai: Launch task from robot.yaml", "request": "launch", "robot": "^\"\\${file}\"", "task": "" @@ -730,12 +730,12 @@ }, { "command": "sema4ai.clearEnvAndRestart", - "title": "Clear Robocorp (RCC) environments and restart Sema4.ai Code", + "title": "Clear Robocorp (RCC) environments and restart Sema4.ai", "category": "Sema4.ai" }, { "command": "sema4ai.showOutput", - "title": "Show Sema4.ai Code > Output logs", + "title": "Show Sema4.ai > Output logs", "category": "Sema4.ai" }, { @@ -831,12 +831,12 @@ }, { "command": "sema4ai.newFileInRobotContentView", - "when": "view == sema4ai-package-content-tree && sema4ai-code:single-robot-selected && viewItem == directoryItem", + "when": "view == sema4ai-package-content-tree && sema4ai:single-robot-selected && viewItem == directoryItem", "group": "navigation" }, { "command": "sema4ai.newFolderInRobotContentView", - "when": "view == sema4ai-package-content-tree && sema4ai-code:single-robot-selected && viewItem == directoryItem", + "when": "view == sema4ai-package-content-tree && sema4ai:single-robot-selected && viewItem == directoryItem", "group": "navigation" }, { @@ -953,57 +953,57 @@ }, { "command": "sema4ai.newFileInRobotContentView", - "when": "view == sema4ai-package-content-tree && sema4ai-code:single-robot-selected && viewItem == directoryItem", + "when": "view == sema4ai-package-content-tree && sema4ai:single-robot-selected && viewItem == directoryItem", "group": "0_new" }, { "command": "sema4ai.newFolderInRobotContentView", - "when": "view == sema4ai-package-content-tree && sema4ai-code:single-robot-selected && viewItem == directoryItem", + "when": "view == sema4ai-package-content-tree && sema4ai:single-robot-selected && viewItem == directoryItem", "group": "0_new" }, { "command": "sema4ai.openExternally", - "when": "view == sema4ai-package-content-tree && sema4ai-code:single-robot-selected && viewItem == fileItem", + "when": "view == sema4ai-package-content-tree && sema4ai:single-robot-selected && viewItem == fileItem", "group": "1_open" }, { "command": "sema4ai.openInVSCode", - "when": "view == sema4ai-package-content-tree && sema4ai-code:single-robot-selected && viewItem == fileItem", + "when": "view == sema4ai-package-content-tree && sema4ai:single-robot-selected && viewItem == fileItem", "group": "1_open" }, { "command": "sema4ai.revealInExplorer", - "when": "view == sema4ai-package-content-tree && sema4ai-code:single-robot-selected", + "when": "view == sema4ai-package-content-tree && sema4ai:single-robot-selected", "group": "1_open" }, { "command": "sema4ai.renameResourceInRobotContentView", - "when": "view == sema4ai-package-content-tree && sema4ai-code:single-robot-selected", + "when": "view == sema4ai-package-content-tree && sema4ai:single-robot-selected", "group": "2_change" }, { "command": "sema4ai.deleteResourceInRobotContentView", - "when": "view == sema4ai-package-content-tree && sema4ai-code:single-robot-selected", + "when": "view == sema4ai-package-content-tree && sema4ai:single-robot-selected", "group": "2_change" }, { "command": "sema4ai.newRobocorpInspectorBrowser", - "when": "view == sema4ai-package-resources-tree && sema4ai-code:single-robot-selected && viewItem == newBrowserLocator", + "when": "view == sema4ai-package-resources-tree && sema4ai:single-robot-selected && viewItem == newBrowserLocator", "group": "inline" }, { "command": "sema4ai.newRobocorpInspectorWindows", - "when": "view == sema4ai-package-resources-tree && sema4ai-code:single-robot-selected && viewItem == newWindowsLocator", + "when": "view == sema4ai-package-resources-tree && sema4ai:single-robot-selected && viewItem == newWindowsLocator", "group": "inline" }, { "command": "sema4ai.newRobocorpInspectorImage", - "when": "view == sema4ai-package-resources-tree && sema4ai-code:single-robot-selected && viewItem == newImageLocator", + "when": "view == sema4ai-package-resources-tree && sema4ai:single-robot-selected && viewItem == newImageLocator", "group": "inline" }, { "command": "sema4ai.newRobocorpInspectorJava", - "when": "view == sema4ai-package-resources-tree && sema4ai-code:single-robot-selected && viewItem == newJavaLocator", + "when": "view == sema4ai-package-resources-tree && sema4ai:single-robot-selected && viewItem == newJavaLocator", "group": "inline" }, { @@ -1013,27 +1013,27 @@ }, { "command": "sema4ai.editRobocorpInspectorLocator", - "when": "view == sema4ai-package-resources-tree && sema4ai-code:single-robot-selected && viewItem == locatorEntry", + "when": "view == sema4ai-package-resources-tree && sema4ai:single-robot-selected && viewItem == locatorEntry", "group": "inline" }, { "command": "sema4ai.copyLocatorToClipboard.internal", - "when": "view == sema4ai-package-resources-tree && sema4ai-code:single-robot-selected && viewItem == locatorEntry", + "when": "view == sema4ai-package-resources-tree && sema4ai:single-robot-selected && viewItem == locatorEntry", "group": "inline" }, { "command": "sema4ai.removeLocatorFromJson", - "when": "view == sema4ai-package-resources-tree && sema4ai-code:single-robot-selected && viewItem == locatorEntry", + "when": "view == sema4ai-package-resources-tree && sema4ai:single-robot-selected && viewItem == locatorEntry", "group": "inline" }, { "command": "sema4ai.helpWorkItems", - "when": "view == sema4ai-package-resources-tree && sema4ai-code:single-robot-selected && viewItem == workItemsRoot", + "when": "view == sema4ai-package-resources-tree && sema4ai:single-robot-selected && viewItem == workItemsRoot", "group": "inline" }, { "command": "sema4ai.newWorkItemInWorkItemsView", - "when": "view == sema4ai-package-resources-tree && sema4ai-code:single-robot-selected && viewItem == inputWorkItemDir", + "when": "view == sema4ai-package-resources-tree && sema4ai:single-robot-selected && viewItem == inputWorkItemDir", "group": "inline" }, { diff --git a/sema4ai-code/poetry.lock b/sema4ai/poetry.lock similarity index 100% rename from sema4ai-code/poetry.lock rename to sema4ai/poetry.lock diff --git a/sema4ai-code/pyproject.toml b/sema4ai/pyproject.toml similarity index 95% rename from sema4ai-code/pyproject.toml rename to sema4ai/pyproject.toml index 9ca1b9ae6..7c8e7aa02 100644 --- a/sema4ai-code/pyproject.toml +++ b/sema4ai/pyproject.toml @@ -1,7 +1,7 @@ [tool.poetry] -name = "sema4ai-code" -version = "1.22.1" -description = "Sema4.ai Code: Visual Studio Code Extension for AI Actions and Robot Tasks development" +name = "sema4ai" +version = "1.22.3" +description = "Sema4.ai: Visual Studio Code Extension for AI Actions and Robot Tasks development" authors = [ "Fabio Zadrozny ", ] diff --git a/sema4ai-code/src/sema4ai_code/__dev__main.py b/sema4ai/src/sema4ai_code/__dev__main.py similarity index 100% rename from sema4ai-code/src/sema4ai_code/__dev__main.py rename to sema4ai/src/sema4ai_code/__dev__main.py diff --git a/sema4ai-code/src/sema4ai_code/__init__.py b/sema4ai/src/sema4ai_code/__init__.py similarity index 99% rename from sema4ai-code/src/sema4ai_code/__init__.py rename to sema4ai/src/sema4ai_code/__init__.py index 090f2cecf..73d7cb13b 100644 --- a/sema4ai-code/src/sema4ai_code/__init__.py +++ b/sema4ai/src/sema4ai_code/__init__.py @@ -2,7 +2,7 @@ import sys from typing import List -__version__ = "1.22.1" +__version__ = "1.22.3" version_info: List[int] = [int(x) for x in __version__.split(".")] __file__ = os.path.abspath(__file__) diff --git a/sema4ai-code/src/sema4ai_code/__main__.py b/sema4ai/src/sema4ai_code/__main__.py similarity index 97% rename from sema4ai-code/src/sema4ai_code/__main__.py rename to sema4ai/src/sema4ai_code/__main__.py index ea4b37def..61bfae3a9 100644 --- a/sema4ai-code/src/sema4ai_code/__main__.py +++ b/sema4ai/src/sema4ai_code/__main__.py @@ -46,7 +46,7 @@ class DefaultOptions(object): port = 1456 verbose = 0 - parser.description = "Sema4.ai Code" + parser.description = "Sema4.ai" parser.add_argument( "--tcp", action="store_true", help="Use TCP server instead of stdio." @@ -174,7 +174,7 @@ def main( try: if sys.version_info[0] <= 2: raise AssertionError( - "Python 3+ is required for Sema4.ai Code.\nCurrent executable: " + "Python 3+ is required for Sema4.ai.\nCurrent executable: " + sys.executable ) main() diff --git a/sema4ai-code/src/sema4ai_code/_language_server_feedback.py b/sema4ai/src/sema4ai_code/_language_server_feedback.py similarity index 100% rename from sema4ai-code/src/sema4ai_code/_language_server_feedback.py rename to sema4ai/src/sema4ai_code/_language_server_feedback.py diff --git a/sema4ai-code/src/sema4ai_code/_language_server_login.py b/sema4ai/src/sema4ai_code/_language_server_login.py similarity index 100% rename from sema4ai-code/src/sema4ai_code/_language_server_login.py rename to sema4ai/src/sema4ai_code/_language_server_login.py diff --git a/sema4ai-code/src/sema4ai_code/_language_server_playwright.py b/sema4ai/src/sema4ai_code/_language_server_playwright.py similarity index 99% rename from sema4ai-code/src/sema4ai_code/_language_server_playwright.py rename to sema4ai/src/sema4ai_code/_language_server_playwright.py index 021329fa6..90e05fd05 100644 --- a/sema4ai-code/src/sema4ai_code/_language_server_playwright.py +++ b/sema4ai/src/sema4ai_code/_language_server_playwright.py @@ -190,7 +190,7 @@ def report_errors(): if playwright_recorder_returncode != 0: self._lsp_messages.show_message( - "There was some error running the Playwright recorder.\nPlease see `View > OUTPUT > Sema4.ai Code` for more details.", + "There was some error running the Playwright recorder.\nPlease see `View > OUTPUT > Sema4.ai` for more details.", MessageType.Error, ) diff --git a/sema4ai-code/src/sema4ai_code/_language_server_pre_run_scripts.py b/sema4ai/src/sema4ai_code/_language_server_pre_run_scripts.py similarity index 100% rename from sema4ai-code/src/sema4ai_code/_language_server_pre_run_scripts.py rename to sema4ai/src/sema4ai_code/_language_server_pre_run_scripts.py diff --git a/sema4ai-code/src/sema4ai_code/_language_server_profile.py b/sema4ai/src/sema4ai_code/_language_server_profile.py similarity index 100% rename from sema4ai-code/src/sema4ai_code/_language_server_profile.py rename to sema4ai/src/sema4ai_code/_language_server_profile.py diff --git a/sema4ai-code/src/sema4ai_code/_language_server_vault.py b/sema4ai/src/sema4ai_code/_language_server_vault.py similarity index 100% rename from sema4ai-code/src/sema4ai_code/_language_server_vault.py rename to sema4ai/src/sema4ai_code/_language_server_vault.py diff --git a/sema4ai-code/src/sema4ai_code/_lint.py b/sema4ai/src/sema4ai_code/_lint.py similarity index 99% rename from sema4ai-code/src/sema4ai_code/_lint.py rename to sema4ai/src/sema4ai_code/_lint.py index 667bc28d8..338a2d30e 100644 --- a/sema4ai-code/src/sema4ai_code/_lint.py +++ b/sema4ai/src/sema4ai_code/_lint.py @@ -129,7 +129,7 @@ def collect_rcc_configuration_diagnostics( "end": {"line": 1, "character": 0}, }, "severity": severity, - "source": "sema4ai-code", + "source": "sema4ai", "message": message, } ret.append(dct) diff --git a/sema4ai-code/src/sema4ai_code/commands.py b/sema4ai/src/sema4ai_code/commands.py similarity index 98% rename from sema4ai-code/src/sema4ai_code/commands.py rename to sema4ai/src/sema4ai_code/commands.py index 0fb993648..065167717 100644 --- a/sema4ai-code/src/sema4ai_code/commands.py +++ b/sema4ai/src/sema4ai_code/commands.py @@ -91,8 +91,8 @@ SEMA4AI_GET_CONNECTED_VAULT_WORKSPACE_INTERNAL = "sema4ai.getConnectedVaultWorkspace.internal" # Gets workspace id currently connected SEMA4AI_SET_CONNECTED_VAULT_WORKSPACE_INTERNAL = "sema4ai.setConnectedVaultWorkspace.internal" # Sets the currently connected Control Room Workspace SEMA4AI_OPEN_VAULT_HELP = "sema4ai.openVaultHelp" # Open vault help -SEMA4AI_CLEAR_ENV_AND_RESTART = "sema4ai.clearEnvAndRestart" # Clear Robocorp (RCC) environments and restart Sema4.ai Code -SEMA4AI_SHOW_OUTPUT = "sema4ai.showOutput" # Show Sema4.ai Code > Output logs +SEMA4AI_CLEAR_ENV_AND_RESTART = "sema4ai.clearEnvAndRestart" # Clear Robocorp (RCC) environments and restart Sema4.ai +SEMA4AI_SHOW_OUTPUT = "sema4ai.showOutput" # Show Sema4.ai > Output logs SEMA4AI_SHOW_INTERPRETER_ENV_ERROR = "sema4ai.showInterpreterEnvError" # Show error related to interpreter env creation SEMA4AI_OPEN_FLOW_EXPLORER_TREE_SELECTION = "sema4ai.openFlowExplorerTreeSelection" # Open Flow Explorer SEMA4AI_PROFILE_IMPORT = "sema4ai.profileImport" # Import Profile diff --git a/sema4ai-code/src/sema4ai_code/compute_launch.py b/sema4ai/src/sema4ai_code/compute_launch.py similarity index 100% rename from sema4ai-code/src/sema4ai_code/compute_launch.py rename to sema4ai/src/sema4ai_code/compute_launch.py diff --git a/sema4ai-code/src/sema4ai_code/find_robot_yaml.py b/sema4ai/src/sema4ai_code/find_robot_yaml.py similarity index 100% rename from sema4ai-code/src/sema4ai_code/find_robot_yaml.py rename to sema4ai/src/sema4ai_code/find_robot_yaml.py diff --git a/sema4ai-code/src/sema4ai_code/holetree_manager.py b/sema4ai/src/sema4ai_code/holetree_manager.py similarity index 100% rename from sema4ai-code/src/sema4ai_code/holetree_manager.py rename to sema4ai/src/sema4ai_code/holetree_manager.py diff --git a/sema4ai-code/src/sema4ai_code/hover.py b/sema4ai/src/sema4ai_code/hover.py similarity index 100% rename from sema4ai-code/src/sema4ai_code/hover.py rename to sema4ai/src/sema4ai_code/hover.py diff --git a/sema4ai-code/src/sema4ai_code/inspector/README.md b/sema4ai/src/sema4ai_code/inspector/README.md similarity index 87% rename from sema4ai-code/src/sema4ai_code/inspector/README.md rename to sema4ai/src/sema4ai_code/inspector/README.md index 3576fb6e6..3a0add363 100644 --- a/sema4ai-code/src/sema4ai_code/inspector/README.md +++ b/sema4ai/src/sema4ai_code/inspector/README.md @@ -2,11 +2,11 @@ The idea is that the available inspectors should be integrated into VSCode. The architecture proposed for that is the following: -1. /sema4ai-code/vscode-client/templates/inspector.html +1. /sema4ai/vscode-client/templates/inspector.html Should contain a react app which will provide a webview to work with inspectors. -2. /sema4ai-code/src/sema4ai_code/inspector (python package) +2. /sema4ai/src/sema4ai_code/inspector (python package) Should contain the actual code to control the inspector. diff --git a/sema4ai-code/src/sema4ai_code/inspector/__init__.py b/sema4ai/src/sema4ai_code/inspector/__init__.py similarity index 100% rename from sema4ai-code/src/sema4ai_code/inspector/__init__.py rename to sema4ai/src/sema4ai_code/inspector/__init__.py diff --git a/sema4ai-code/src/sema4ai_code/inspector/client.py b/sema4ai/src/sema4ai_code/inspector/client.py similarity index 100% rename from sema4ai-code/src/sema4ai_code/inspector/client.py rename to sema4ai/src/sema4ai_code/inspector/client.py diff --git a/sema4ai-code/src/sema4ai_code/inspector/common.py b/sema4ai/src/sema4ai_code/inspector/common.py similarity index 100% rename from sema4ai-code/src/sema4ai_code/inspector/common.py rename to sema4ai/src/sema4ai_code/inspector/common.py diff --git a/sema4ai-code/src/sema4ai_code/inspector/image/__init__.py b/sema4ai/src/sema4ai_code/inspector/image/__init__.py similarity index 100% rename from sema4ai-code/src/sema4ai_code/inspector/image/__init__.py rename to sema4ai/src/sema4ai_code/inspector/image/__init__.py diff --git a/sema4ai-code/src/sema4ai_code/inspector/image/_bridge.py b/sema4ai/src/sema4ai_code/inspector/image/_bridge.py similarity index 100% rename from sema4ai-code/src/sema4ai_code/inspector/image/_bridge.py rename to sema4ai/src/sema4ai_code/inspector/image/_bridge.py diff --git a/sema4ai-code/src/sema4ai_code/inspector/image/_image_inspector.py b/sema4ai/src/sema4ai_code/inspector/image/_image_inspector.py similarity index 100% rename from sema4ai-code/src/sema4ai_code/inspector/image/_image_inspector.py rename to sema4ai/src/sema4ai_code/inspector/image/_image_inspector.py diff --git a/sema4ai-code/src/sema4ai_code/inspector/image/_snipping_tool.py b/sema4ai/src/sema4ai_code/inspector/image/_snipping_tool.py similarity index 100% rename from sema4ai-code/src/sema4ai_code/inspector/image/_snipping_tool.py rename to sema4ai/src/sema4ai_code/inspector/image/_snipping_tool.py diff --git a/sema4ai-code/src/sema4ai_code/inspector/image/vendor/__init__.py b/sema4ai/src/sema4ai_code/inspector/image/vendor/__init__.py similarity index 100% rename from sema4ai-code/src/sema4ai_code/inspector/image/vendor/__init__.py rename to sema4ai/src/sema4ai_code/inspector/image/vendor/__init__.py diff --git a/sema4ai-code/src/sema4ai_code/inspector/image/vendor/utils.py b/sema4ai/src/sema4ai_code/inspector/image/vendor/utils.py similarity index 100% rename from sema4ai-code/src/sema4ai_code/inspector/image/vendor/utils.py rename to sema4ai/src/sema4ai_code/inspector/image/vendor/utils.py diff --git a/sema4ai-code/src/sema4ai_code/inspector/inspector__main__.py b/sema4ai/src/sema4ai_code/inspector/inspector__main__.py similarity index 100% rename from sema4ai-code/src/sema4ai_code/inspector/inspector__main__.py rename to sema4ai/src/sema4ai_code/inspector/inspector__main__.py diff --git a/sema4ai-code/src/sema4ai_code/inspector/inspector_api.py b/sema4ai/src/sema4ai_code/inspector/inspector_api.py similarity index 99% rename from sema4ai-code/src/sema4ai_code/inspector/inspector_api.py rename to sema4ai/src/sema4ai_code/inspector/inspector_api.py index d8ffa7d04..675e1589a 100644 --- a/sema4ai-code/src/sema4ai_code/inspector/inspector_api.py +++ b/sema4ai/src/sema4ai_code/inspector/inspector_api.py @@ -409,13 +409,13 @@ def __call__( if not isinstance(params, SearchParams): raise InvalidLocatorError( "Unable to flatten the or/and conditions as expected in the " - "locator.\nPlease report this as an error to sema4ai-code." + "locator.\nPlease report this as an error to sema4ai." f"\nLocator: {locator}" ) if params.empty(): raise InvalidLocatorError( "Unable to flatten the or/and conditions as expected in the " - "locator.\nPlease report this as an error to sema4ai-code." + "locator.\nPlease report this as an error to sema4ai." f"\nLocator: {locator}" ) only_ors.append(OrSearchParams(params)) diff --git a/sema4ai-code/src/sema4ai_code/inspector/inspector_language_server.py b/sema4ai/src/sema4ai_code/inspector/inspector_language_server.py similarity index 100% rename from sema4ai-code/src/sema4ai_code/inspector/inspector_language_server.py rename to sema4ai/src/sema4ai_code/inspector/inspector_language_server.py diff --git a/sema4ai-code/src/sema4ai_code/inspector/inspector_server_manager.py b/sema4ai/src/sema4ai_code/inspector/inspector_server_manager.py similarity index 100% rename from sema4ai-code/src/sema4ai_code/inspector/inspector_server_manager.py rename to sema4ai/src/sema4ai_code/inspector/inspector_server_manager.py diff --git a/sema4ai-code/src/sema4ai_code/inspector/java/__init__.py b/sema4ai/src/sema4ai_code/inspector/java/__init__.py similarity index 100% rename from sema4ai-code/src/sema4ai_code/inspector/java/__init__.py rename to sema4ai/src/sema4ai_code/inspector/java/__init__.py diff --git a/sema4ai-code/src/sema4ai_code/inspector/java/highlighter.py b/sema4ai/src/sema4ai_code/inspector/java/highlighter.py similarity index 100% rename from sema4ai-code/src/sema4ai_code/inspector/java/highlighter.py rename to sema4ai/src/sema4ai_code/inspector/java/highlighter.py diff --git a/sema4ai-code/src/sema4ai_code/inspector/java/java_inspector.py b/sema4ai/src/sema4ai_code/inspector/java/java_inspector.py similarity index 100% rename from sema4ai-code/src/sema4ai_code/inspector/java/java_inspector.py rename to sema4ai/src/sema4ai_code/inspector/java/java_inspector.py diff --git a/sema4ai-code/src/sema4ai_code/inspector/java/picker.py b/sema4ai/src/sema4ai_code/inspector/java/picker.py similarity index 100% rename from sema4ai-code/src/sema4ai_code/inspector/java/picker.py rename to sema4ai/src/sema4ai_code/inspector/java/picker.py diff --git a/sema4ai-code/src/sema4ai_code/inspector/java/robocorp_java/__init__.py b/sema4ai/src/sema4ai_code/inspector/java/robocorp_java/__init__.py similarity index 100% rename from sema4ai-code/src/sema4ai_code/inspector/java/robocorp_java/__init__.py rename to sema4ai/src/sema4ai_code/inspector/java/robocorp_java/__init__.py diff --git a/sema4ai-code/src/sema4ai_code/inspector/java/robocorp_java/_errors.py b/sema4ai/src/sema4ai_code/inspector/java/robocorp_java/_errors.py similarity index 100% rename from sema4ai-code/src/sema4ai_code/inspector/java/robocorp_java/_errors.py rename to sema4ai/src/sema4ai_code/inspector/java/robocorp_java/_errors.py diff --git a/sema4ai-code/src/sema4ai_code/inspector/java/robocorp_java/_event_pump.py b/sema4ai/src/sema4ai_code/inspector/java/robocorp_java/_event_pump.py similarity index 100% rename from sema4ai-code/src/sema4ai_code/inspector/java/robocorp_java/_event_pump.py rename to sema4ai/src/sema4ai_code/inspector/java/robocorp_java/_event_pump.py diff --git a/sema4ai-code/src/sema4ai_code/inspector/java/robocorp_java/_inspector.py b/sema4ai/src/sema4ai_code/inspector/java/robocorp_java/_inspector.py similarity index 100% rename from sema4ai-code/src/sema4ai_code/inspector/java/robocorp_java/_inspector.py rename to sema4ai/src/sema4ai_code/inspector/java/robocorp_java/_inspector.py diff --git a/sema4ai-code/src/sema4ai_code/inspector/java/robocorp_java/_locators.py b/sema4ai/src/sema4ai_code/inspector/java/robocorp_java/_locators.py similarity index 100% rename from sema4ai-code/src/sema4ai_code/inspector/java/robocorp_java/_locators.py rename to sema4ai/src/sema4ai_code/inspector/java/robocorp_java/_locators.py diff --git a/sema4ai-code/src/sema4ai_code/inspector/web/__init__.py b/sema4ai/src/sema4ai_code/inspector/web/__init__.py similarity index 100% rename from sema4ai-code/src/sema4ai_code/inspector/web/__init__.py rename to sema4ai/src/sema4ai_code/inspector/web/__init__.py diff --git a/sema4ai-code/src/sema4ai_code/inspector/web/_web_inspector.py b/sema4ai/src/sema4ai_code/inspector/web/_web_inspector.py similarity index 100% rename from sema4ai-code/src/sema4ai_code/inspector/web/_web_inspector.py rename to sema4ai/src/sema4ai_code/inspector/web/_web_inspector.py diff --git a/sema4ai-code/src/sema4ai_code/inspector/web/resources/README.md b/sema4ai/src/sema4ai_code/inspector/web/resources/README.md similarity index 69% rename from sema4ai-code/src/sema4ai_code/inspector/web/resources/README.md rename to sema4ai/src/sema4ai_code/inspector/web/resources/README.md index 2ba3b6db0..bfaa74a94 100644 --- a/sema4ai-code/src/sema4ai_code/inspector/web/resources/README.md +++ b/sema4ai/src/sema4ai_code/inspector/web/resources/README.md @@ -6,6 +6,6 @@ And running: `npm run build`. This will produce files in `dist` folder. The resource files needed for Browser Automation are found in `dist/browserTS`. -Copy all those files here - here is `vscode-extension/sema4ai-code/src/sema4ai_code/inspector/web/resources`. +Copy all those files here - here is `vscode-extension/sema4ai/src/sema4ai_code/inspector/web/resources`. You are DONE! 🚀 diff --git a/sema4ai-code/src/sema4ai_code/inspector/web/resources/browser-recording-guide.html b/sema4ai/src/sema4ai_code/inspector/web/resources/browser-recording-guide.html similarity index 100% rename from sema4ai-code/src/sema4ai_code/inspector/web/resources/browser-recording-guide.html rename to sema4ai/src/sema4ai_code/inspector/web/resources/browser-recording-guide.html diff --git a/sema4ai-code/src/sema4ai_code/inspector/web/resources/guide.html b/sema4ai/src/sema4ai_code/inspector/web/resources/guide.html similarity index 100% rename from sema4ai-code/src/sema4ai_code/inspector/web/resources/guide.html rename to sema4ai/src/sema4ai_code/inspector/web/resources/guide.html diff --git a/sema4ai-code/src/sema4ai_code/inspector/web/resources/inspector.css b/sema4ai/src/sema4ai_code/inspector/web/resources/inspector.css similarity index 100% rename from sema4ai-code/src/sema4ai_code/inspector/web/resources/inspector.css rename to sema4ai/src/sema4ai_code/inspector/web/resources/inspector.css diff --git a/sema4ai-code/src/sema4ai_code/inspector/web/resources/inspector.js b/sema4ai/src/sema4ai_code/inspector/web/resources/inspector.js similarity index 100% rename from sema4ai-code/src/sema4ai_code/inspector/web/resources/inspector.js rename to sema4ai/src/sema4ai_code/inspector/web/resources/inspector.js diff --git a/sema4ai-code/src/sema4ai_code/inspector/windows/__init__.py b/sema4ai/src/sema4ai_code/inspector/windows/__init__.py similarity index 100% rename from sema4ai-code/src/sema4ai_code/inspector/windows/__init__.py rename to sema4ai/src/sema4ai_code/inspector/windows/__init__.py diff --git a/sema4ai-code/src/sema4ai_code/inspector/windows/robocorp_windows/__init__.py b/sema4ai/src/sema4ai_code/inspector/windows/robocorp_windows/__init__.py similarity index 100% rename from sema4ai-code/src/sema4ai_code/inspector/windows/robocorp_windows/__init__.py rename to sema4ai/src/sema4ai_code/inspector/windows/robocorp_windows/__init__.py diff --git a/sema4ai-code/src/sema4ai_code/inspector/windows/robocorp_windows/_com_error.py b/sema4ai/src/sema4ai_code/inspector/windows/robocorp_windows/_com_error.py similarity index 100% rename from sema4ai-code/src/sema4ai_code/inspector/windows/robocorp_windows/_com_error.py rename to sema4ai/src/sema4ai_code/inspector/windows/robocorp_windows/_com_error.py diff --git a/sema4ai-code/src/sema4ai_code/inspector/windows/robocorp_windows/_config.py b/sema4ai/src/sema4ai_code/inspector/windows/robocorp_windows/_config.py similarity index 100% rename from sema4ai-code/src/sema4ai_code/inspector/windows/robocorp_windows/_config.py rename to sema4ai/src/sema4ai_code/inspector/windows/robocorp_windows/_config.py diff --git a/sema4ai-code/src/sema4ai_code/inspector/windows/robocorp_windows/_config_uiautomation.py b/sema4ai/src/sema4ai_code/inspector/windows/robocorp_windows/_config_uiautomation.py similarity index 100% rename from sema4ai-code/src/sema4ai_code/inspector/windows/robocorp_windows/_config_uiautomation.py rename to sema4ai/src/sema4ai_code/inspector/windows/robocorp_windows/_config_uiautomation.py diff --git a/sema4ai-code/src/sema4ai_code/inspector/windows/robocorp_windows/_control_element.py b/sema4ai/src/sema4ai_code/inspector/windows/robocorp_windows/_control_element.py similarity index 100% rename from sema4ai-code/src/sema4ai_code/inspector/windows/robocorp_windows/_control_element.py rename to sema4ai/src/sema4ai_code/inspector/windows/robocorp_windows/_control_element.py diff --git a/sema4ai-code/src/sema4ai_code/inspector/windows/robocorp_windows/_desktop.py b/sema4ai/src/sema4ai_code/inspector/windows/robocorp_windows/_desktop.py similarity index 100% rename from sema4ai-code/src/sema4ai_code/inspector/windows/robocorp_windows/_desktop.py rename to sema4ai/src/sema4ai_code/inspector/windows/robocorp_windows/_desktop.py diff --git a/sema4ai-code/src/sema4ai_code/inspector/windows/robocorp_windows/_errors.py b/sema4ai/src/sema4ai_code/inspector/windows/robocorp_windows/_errors.py similarity index 100% rename from sema4ai-code/src/sema4ai_code/inspector/windows/robocorp_windows/_errors.py rename to sema4ai/src/sema4ai_code/inspector/windows/robocorp_windows/_errors.py diff --git a/sema4ai-code/src/sema4ai_code/inspector/windows/robocorp_windows/_find_ui_automation.py b/sema4ai/src/sema4ai_code/inspector/windows/robocorp_windows/_find_ui_automation.py similarity index 100% rename from sema4ai-code/src/sema4ai_code/inspector/windows/robocorp_windows/_find_ui_automation.py rename to sema4ai/src/sema4ai_code/inspector/windows/robocorp_windows/_find_ui_automation.py diff --git a/sema4ai-code/src/sema4ai_code/inspector/windows/robocorp_windows/_find_window.py b/sema4ai/src/sema4ai_code/inspector/windows/robocorp_windows/_find_window.py similarity index 100% rename from sema4ai-code/src/sema4ai_code/inspector/windows/robocorp_windows/_find_window.py rename to sema4ai/src/sema4ai_code/inspector/windows/robocorp_windows/_find_window.py diff --git a/sema4ai-code/src/sema4ai_code/inspector/windows/robocorp_windows/_func_lru_cache.py b/sema4ai/src/sema4ai_code/inspector/windows/robocorp_windows/_func_lru_cache.py similarity index 100% rename from sema4ai-code/src/sema4ai_code/inspector/windows/robocorp_windows/_func_lru_cache.py rename to sema4ai/src/sema4ai_code/inspector/windows/robocorp_windows/_func_lru_cache.py diff --git a/sema4ai-code/src/sema4ai_code/inspector/windows/robocorp_windows/_func_robocorp_tasks_cache.py b/sema4ai/src/sema4ai_code/inspector/windows/robocorp_windows/_func_robocorp_tasks_cache.py similarity index 100% rename from sema4ai-code/src/sema4ai_code/inspector/windows/robocorp_windows/_func_robocorp_tasks_cache.py rename to sema4ai/src/sema4ai_code/inspector/windows/robocorp_windows/_func_robocorp_tasks_cache.py diff --git a/sema4ai-code/src/sema4ai_code/inspector/windows/robocorp_windows/_icon_from_file.py b/sema4ai/src/sema4ai_code/inspector/windows/robocorp_windows/_icon_from_file.py similarity index 100% rename from sema4ai-code/src/sema4ai_code/inspector/windows/robocorp_windows/_icon_from_file.py rename to sema4ai/src/sema4ai_code/inspector/windows/robocorp_windows/_icon_from_file.py diff --git a/sema4ai-code/src/sema4ai_code/inspector/windows/robocorp_windows/_inspect.py b/sema4ai/src/sema4ai_code/inspector/windows/robocorp_windows/_inspect.py similarity index 100% rename from sema4ai-code/src/sema4ai_code/inspector/windows/robocorp_windows/_inspect.py rename to sema4ai/src/sema4ai_code/inspector/windows/robocorp_windows/_inspect.py diff --git a/sema4ai-code/src/sema4ai_code/inspector/windows/robocorp_windows/_iter_tree.py b/sema4ai/src/sema4ai_code/inspector/windows/robocorp_windows/_iter_tree.py similarity index 100% rename from sema4ai-code/src/sema4ai_code/inspector/windows/robocorp_windows/_iter_tree.py rename to sema4ai/src/sema4ai_code/inspector/windows/robocorp_windows/_iter_tree.py diff --git a/sema4ai-code/src/sema4ai_code/inspector/windows/robocorp_windows/_match_ast.py b/sema4ai/src/sema4ai_code/inspector/windows/robocorp_windows/_match_ast.py similarity index 100% rename from sema4ai-code/src/sema4ai_code/inspector/windows/robocorp_windows/_match_ast.py rename to sema4ai/src/sema4ai_code/inspector/windows/robocorp_windows/_match_ast.py diff --git a/sema4ai-code/src/sema4ai_code/inspector/windows/robocorp_windows/_match_common.py b/sema4ai/src/sema4ai_code/inspector/windows/robocorp_windows/_match_common.py similarity index 100% rename from sema4ai-code/src/sema4ai_code/inspector/windows/robocorp_windows/_match_common.py rename to sema4ai/src/sema4ai_code/inspector/windows/robocorp_windows/_match_common.py diff --git a/sema4ai-code/src/sema4ai_code/inspector/windows/robocorp_windows/_match_tokenization.py b/sema4ai/src/sema4ai_code/inspector/windows/robocorp_windows/_match_tokenization.py similarity index 100% rename from sema4ai-code/src/sema4ai_code/inspector/windows/robocorp_windows/_match_tokenization.py rename to sema4ai/src/sema4ai_code/inspector/windows/robocorp_windows/_match_tokenization.py diff --git a/sema4ai-code/src/sema4ai_code/inspector/windows/robocorp_windows/_processes.py b/sema4ai/src/sema4ai_code/inspector/windows/robocorp_windows/_processes.py similarity index 100% rename from sema4ai-code/src/sema4ai_code/inspector/windows/robocorp_windows/_processes.py rename to sema4ai/src/sema4ai_code/inspector/windows/robocorp_windows/_processes.py diff --git a/sema4ai-code/src/sema4ai_code/inspector/windows/robocorp_windows/_screenshot.py b/sema4ai/src/sema4ai_code/inspector/windows/robocorp_windows/_screenshot.py similarity index 100% rename from sema4ai-code/src/sema4ai_code/inspector/windows/robocorp_windows/_screenshot.py rename to sema4ai/src/sema4ai_code/inspector/windows/robocorp_windows/_screenshot.py diff --git a/sema4ai-code/src/sema4ai_code/inspector/windows/robocorp_windows/_ui_automation_wrapper.py b/sema4ai/src/sema4ai_code/inspector/windows/robocorp_windows/_ui_automation_wrapper.py similarity index 100% rename from sema4ai-code/src/sema4ai_code/inspector/windows/robocorp_windows/_ui_automation_wrapper.py rename to sema4ai/src/sema4ai_code/inspector/windows/robocorp_windows/_ui_automation_wrapper.py diff --git a/sema4ai-code/src/sema4ai_code/inspector/windows/robocorp_windows/_vendored/__init__.py b/sema4ai/src/sema4ai_code/inspector/windows/robocorp_windows/_vendored/__init__.py similarity index 100% rename from sema4ai-code/src/sema4ai_code/inspector/windows/robocorp_windows/_vendored/__init__.py rename to sema4ai/src/sema4ai_code/inspector/windows/robocorp_windows/_vendored/__init__.py diff --git a/sema4ai-code/src/sema4ai_code/inspector/windows/robocorp_windows/_vendored/uiautomation/__init__.py b/sema4ai/src/sema4ai_code/inspector/windows/robocorp_windows/_vendored/uiautomation/__init__.py similarity index 100% rename from sema4ai-code/src/sema4ai_code/inspector/windows/robocorp_windows/_vendored/uiautomation/__init__.py rename to sema4ai/src/sema4ai_code/inspector/windows/robocorp_windows/_vendored/uiautomation/__init__.py diff --git a/sema4ai-code/src/sema4ai_code/inspector/windows/robocorp_windows/_vendored/uiautomation/bin/UIAutomationClient_VC140_X64.dll b/sema4ai/src/sema4ai_code/inspector/windows/robocorp_windows/_vendored/uiautomation/bin/UIAutomationClient_VC140_X64.dll similarity index 100% rename from sema4ai-code/src/sema4ai_code/inspector/windows/robocorp_windows/_vendored/uiautomation/bin/UIAutomationClient_VC140_X64.dll rename to sema4ai/src/sema4ai_code/inspector/windows/robocorp_windows/_vendored/uiautomation/bin/UIAutomationClient_VC140_X64.dll diff --git a/sema4ai-code/src/sema4ai_code/inspector/windows/robocorp_windows/_vendored/uiautomation/bin/UIAutomationClient_VC140_X86.dll b/sema4ai/src/sema4ai_code/inspector/windows/robocorp_windows/_vendored/uiautomation/bin/UIAutomationClient_VC140_X86.dll similarity index 100% rename from sema4ai-code/src/sema4ai_code/inspector/windows/robocorp_windows/_vendored/uiautomation/bin/UIAutomationClient_VC140_X86.dll rename to sema4ai/src/sema4ai_code/inspector/windows/robocorp_windows/_vendored/uiautomation/bin/UIAutomationClient_VC140_X86.dll diff --git a/sema4ai-code/src/sema4ai_code/inspector/windows/robocorp_windows/_vendored/uiautomation/uiautomation.py b/sema4ai/src/sema4ai_code/inspector/windows/robocorp_windows/_vendored/uiautomation/uiautomation.py similarity index 100% rename from sema4ai-code/src/sema4ai_code/inspector/windows/robocorp_windows/_vendored/uiautomation/uiautomation.py rename to sema4ai/src/sema4ai_code/inspector/windows/robocorp_windows/_vendored/uiautomation/uiautomation.py diff --git a/sema4ai-code/src/sema4ai_code/inspector/windows/robocorp_windows/_vendored/uiautomation/version.py b/sema4ai/src/sema4ai_code/inspector/windows/robocorp_windows/_vendored/uiautomation/version.py similarity index 100% rename from sema4ai-code/src/sema4ai_code/inspector/windows/robocorp_windows/_vendored/uiautomation/version.py rename to sema4ai/src/sema4ai_code/inspector/windows/robocorp_windows/_vendored/uiautomation/version.py diff --git a/sema4ai-code/src/sema4ai_code/inspector/windows/robocorp_windows/_window_element.py b/sema4ai/src/sema4ai_code/inspector/windows/robocorp_windows/_window_element.py similarity index 100% rename from sema4ai-code/src/sema4ai_code/inspector/windows/robocorp_windows/_window_element.py rename to sema4ai/src/sema4ai_code/inspector/windows/robocorp_windows/_window_element.py diff --git a/sema4ai-code/src/sema4ai_code/inspector/windows/robocorp_windows/protocols.py b/sema4ai/src/sema4ai_code/inspector/windows/robocorp_windows/protocols.py similarity index 100% rename from sema4ai-code/src/sema4ai_code/inspector/windows/robocorp_windows/protocols.py rename to sema4ai/src/sema4ai_code/inspector/windows/robocorp_windows/protocols.py diff --git a/sema4ai-code/src/sema4ai_code/inspector/windows/robocorp_windows/py.typed b/sema4ai/src/sema4ai_code/inspector/windows/robocorp_windows/py.typed similarity index 100% rename from sema4ai-code/src/sema4ai_code/inspector/windows/robocorp_windows/py.typed rename to sema4ai/src/sema4ai_code/inspector/windows/robocorp_windows/py.typed diff --git a/sema4ai-code/src/sema4ai_code/inspector/windows/windows_inspector.py b/sema4ai/src/sema4ai_code/inspector/windows/windows_inspector.py similarity index 100% rename from sema4ai-code/src/sema4ai_code/inspector/windows/windows_inspector.py rename to sema4ai/src/sema4ai_code/inspector/windows/windows_inspector.py diff --git a/sema4ai-code/src/sema4ai_code/locator_json_hover.py b/sema4ai/src/sema4ai_code/locator_json_hover.py similarity index 100% rename from sema4ai-code/src/sema4ai_code/locator_json_hover.py rename to sema4ai/src/sema4ai_code/locator_json_hover.py diff --git a/sema4ai-code/src/sema4ai_code/options.py b/sema4ai/src/sema4ai_code/options.py similarity index 100% rename from sema4ai-code/src/sema4ai_code/options.py rename to sema4ai/src/sema4ai_code/options.py diff --git a/sema4ai-code/src/sema4ai_code/path_operations.py b/sema4ai/src/sema4ai_code/path_operations.py similarity index 100% rename from sema4ai-code/src/sema4ai_code/path_operations.py rename to sema4ai/src/sema4ai_code/path_operations.py diff --git a/sema4ai-code/src/sema4ai_code/playwright/__init__.py b/sema4ai/src/sema4ai_code/playwright/__init__.py similarity index 100% rename from sema4ai-code/src/sema4ai_code/playwright/__init__.py rename to sema4ai/src/sema4ai_code/playwright/__init__.py diff --git a/sema4ai-code/src/sema4ai_code/playwright/__playwright__main.py b/sema4ai/src/sema4ai_code/playwright/__playwright__main.py similarity index 100% rename from sema4ai-code/src/sema4ai_code/playwright/__playwright__main.py rename to sema4ai/src/sema4ai_code/playwright/__playwright__main.py diff --git a/sema4ai-code/src/sema4ai_code/playwright/playwright_template.html b/sema4ai/src/sema4ai_code/playwright/playwright_template.html similarity index 100% rename from sema4ai-code/src/sema4ai_code/playwright/playwright_template.html rename to sema4ai/src/sema4ai_code/playwright/playwright_template.html diff --git a/sema4ai-code/src/sema4ai_code/playwright/robocorp_browser/README.md b/sema4ai/src/sema4ai_code/playwright/robocorp_browser/README.md similarity index 84% rename from sema4ai-code/src/sema4ai_code/playwright/robocorp_browser/README.md rename to sema4ai/src/sema4ai_code/playwright/robocorp_browser/README.md index 584965026..6ea006ba7 100644 --- a/sema4ai-code/src/sema4ai_code/playwright/robocorp_browser/README.md +++ b/sema4ai/src/sema4ai_code/playwright/robocorp_browser/README.md @@ -1,4 +1,4 @@ This package contains a copy/paste of `robocorp.browser` to be used in the -context of Sema4.ai Code. +context of Sema4.ai. Some minor adaptations were done to work without `robocorp.tasks`. \ No newline at end of file diff --git a/sema4ai-code/src/sema4ai_code/playwright/robocorp_browser/__init__.py b/sema4ai/src/sema4ai_code/playwright/robocorp_browser/__init__.py similarity index 100% rename from sema4ai-code/src/sema4ai_code/playwright/robocorp_browser/__init__.py rename to sema4ai/src/sema4ai_code/playwright/robocorp_browser/__init__.py diff --git a/sema4ai-code/src/sema4ai_code/playwright/robocorp_browser/_caches.py b/sema4ai/src/sema4ai_code/playwright/robocorp_browser/_caches.py similarity index 100% rename from sema4ai-code/src/sema4ai_code/playwright/robocorp_browser/_caches.py rename to sema4ai/src/sema4ai_code/playwright/robocorp_browser/_caches.py diff --git a/sema4ai-code/src/sema4ai_code/playwright/robocorp_browser/_config.py b/sema4ai/src/sema4ai_code/playwright/robocorp_browser/_config.py similarity index 100% rename from sema4ai-code/src/sema4ai_code/playwright/robocorp_browser/_config.py rename to sema4ai/src/sema4ai_code/playwright/robocorp_browser/_config.py diff --git a/sema4ai-code/src/sema4ai_code/playwright/robocorp_browser/_context.py b/sema4ai/src/sema4ai_code/playwright/robocorp_browser/_context.py similarity index 100% rename from sema4ai-code/src/sema4ai_code/playwright/robocorp_browser/_context.py rename to sema4ai/src/sema4ai_code/playwright/robocorp_browser/_context.py diff --git a/sema4ai-code/src/sema4ai_code/playwright/robocorp_browser/_engines.py b/sema4ai/src/sema4ai_code/playwright/robocorp_browser/_engines.py similarity index 100% rename from sema4ai-code/src/sema4ai_code/playwright/robocorp_browser/_engines.py rename to sema4ai/src/sema4ai_code/playwright/robocorp_browser/_engines.py diff --git a/sema4ai-code/src/sema4ai_code/playwright/robocorp_browser/_types.py b/sema4ai/src/sema4ai_code/playwright/robocorp_browser/_types.py similarity index 100% rename from sema4ai-code/src/sema4ai_code/playwright/robocorp_browser/_types.py rename to sema4ai/src/sema4ai_code/playwright/robocorp_browser/_types.py diff --git a/sema4ai-code/src/sema4ai_code/plugins/__init__.py b/sema4ai/src/sema4ai_code/plugins/__init__.py similarity index 100% rename from sema4ai-code/src/sema4ai_code/plugins/__init__.py rename to sema4ai/src/sema4ai_code/plugins/__init__.py diff --git a/sema4ai-code/src/sema4ai_code/plugins/resolve_interpreter.py b/sema4ai/src/sema4ai_code/plugins/resolve_interpreter.py similarity index 98% rename from sema4ai-code/src/sema4ai_code/plugins/resolve_interpreter.py rename to sema4ai/src/sema4ai_code/plugins/resolve_interpreter.py index 81e5c1fc9..48f4b41b5 100644 --- a/sema4ai-code/src/sema4ai_code/plugins/resolve_interpreter.py +++ b/sema4ai/src/sema4ai_code/plugins/resolve_interpreter.py @@ -1,11 +1,11 @@ """ Note: this code will actually run as a plugin in the RobotFramework Language -Server, or in the Sema4.ai Code environment, so, we need to be careful on the +Server, or in the Sema4.ai environment, so, we need to be careful on the imports so that it works on both cases. Also, the required version must be checked in the client (in case imports or APIs change in `sema4ai_ls_core` we need a compatible version both on robotframework-ls -as well as sema4ai-code). +as well as sema4ai). """ import itertools @@ -126,7 +126,7 @@ def on_env_creation_error(result: RCCActionResult): ) as f: if progress_reporter is not None and progress_reporter.cancelled: file_contents = f""" -Sema4.ai Code: Environment creation cancelled +Sema4.ai: Environment creation cancelled =============================================== The process to create the the environment for: @@ -145,10 +145,10 @@ def on_env_creation_error(result: RCCActionResult): "Developer: Reload Window" -- Clear all environments and restart Sema4.ai Code (advised if you suspect +- Clear all environments and restart Sema4.ai (advised if you suspect that some environment was partially created and is corrupt): - "Robocorp: Clear Robocorp (RCC) environments and restart Sema4.ai Code" + "Robocorp: Clear Robocorp (RCC) environments and restart Sema4.ai" Full error message ==================== @@ -158,7 +158,7 @@ def on_env_creation_error(result: RCCActionResult): else: file_contents = f""" -Sema4.ai Code: Unable to create environment +Sema4.ai: Unable to create environment ============================================= There was an error creating the environment for: @@ -185,7 +185,7 @@ def on_env_creation_error(result: RCCActionResult): - Clear all environments and restart Robocorp code (advised if you suspect that some environment was partially created and is corrupt): - "Robocorp: Clear Robocorp (RCC) environments and restart Sema4.ai Code" + "Robocorp: Clear Robocorp (RCC) environments and restart Sema4.ai" If you still can't get it to work, please submit an issue to Robocorp using the command: diff --git a/sema4ai-code/src/sema4ai_code/protocols.py b/sema4ai/src/sema4ai_code/protocols.py similarity index 100% rename from sema4ai-code/src/sema4ai_code/protocols.py rename to sema4ai/src/sema4ai_code/protocols.py diff --git a/sema4ai-code/src/sema4ai_code/py.typed b/sema4ai/src/sema4ai_code/py.typed similarity index 100% rename from sema4ai-code/src/sema4ai_code/py.typed rename to sema4ai/src/sema4ai_code/py.typed diff --git a/sema4ai-code/src/sema4ai_code/rcc.py b/sema4ai/src/sema4ai_code/rcc.py similarity index 99% rename from sema4ai-code/src/sema4ai_code/rcc.py rename to sema4ai/src/sema4ai_code/rcc.py index 41ee1d5f6..61ac79e02 100644 --- a/sema4ai-code/src/sema4ai_code/rcc.py +++ b/sema4ai/src/sema4ai_code/rcc.py @@ -37,7 +37,7 @@ RCC_CLOUD_ROBOT_MUTEX_NAME = "rcc_cloud_activity" RCC_CREDENTIALS_MUTEX_NAME = "rcc_credentials" -ACCOUNT_NAME = "sema4ai-code" +ACCOUNT_NAME = "sema4ai" def download_rcc( @@ -1210,7 +1210,7 @@ def make_numbered_in_temp( user = get_user() or "unknown" temproot = tmpdir if tmpdir else Path(tempfile.gettempdir()) - rootdir = temproot / f"sema4ai-code-{user}" + rootdir = temproot / f"sema4ai-{user}" rootdir.mkdir(exist_ok=True) return make_numbered_dir_with_cleanup( prefix="rcc-", diff --git a/sema4ai-code/src/sema4ai_code/rcc_space_info.py b/sema4ai/src/sema4ai_code/rcc_space_info.py similarity index 100% rename from sema4ai-code/src/sema4ai_code/rcc_space_info.py rename to sema4ai/src/sema4ai_code/rcc_space_info.py diff --git a/sema4ai-code/src/sema4ai_code/robo/__init__.py b/sema4ai/src/sema4ai_code/robo/__init__.py similarity index 100% rename from sema4ai-code/src/sema4ai_code/robo/__init__.py rename to sema4ai/src/sema4ai_code/robo/__init__.py diff --git a/sema4ai-code/src/sema4ai_code/robo/collect_actions.py b/sema4ai/src/sema4ai_code/robo/collect_actions.py similarity index 100% rename from sema4ai-code/src/sema4ai_code/robo/collect_actions.py rename to sema4ai/src/sema4ai_code/robo/collect_actions.py diff --git a/sema4ai-code/src/sema4ai_code/robo/launch_actions.py b/sema4ai/src/sema4ai_code/robo/launch_actions.py similarity index 100% rename from sema4ai-code/src/sema4ai_code/robo/launch_actions.py rename to sema4ai/src/sema4ai_code/robo/launch_actions.py diff --git a/sema4ai-code/src/sema4ai_code/robo/launch_code_lens.py b/sema4ai/src/sema4ai_code/robo/launch_code_lens.py similarity index 100% rename from sema4ai-code/src/sema4ai_code/robo/launch_code_lens.py rename to sema4ai/src/sema4ai_code/robo/launch_code_lens.py diff --git a/sema4ai-code/src/sema4ai_code/robo/lint_action.py b/sema4ai/src/sema4ai_code/robo/lint_action.py similarity index 100% rename from sema4ai-code/src/sema4ai_code/robo/lint_action.py rename to sema4ai/src/sema4ai_code/robo/lint_action.py diff --git a/sema4ai-code/src/sema4ai_code/robo/lint_in_target_env.py b/sema4ai/src/sema4ai_code/robo/lint_in_target_env.py similarity index 100% rename from sema4ai-code/src/sema4ai_code/robo/lint_in_target_env.py rename to sema4ai/src/sema4ai_code/robo/lint_in_target_env.py diff --git a/sema4ai-code/src/sema4ai_code/robocorp_config.py b/sema4ai/src/sema4ai_code/robocorp_config.py similarity index 100% rename from sema4ai-code/src/sema4ai_code/robocorp_config.py rename to sema4ai/src/sema4ai_code/robocorp_config.py diff --git a/sema4ai-code/src/sema4ai_code/robocorp_language_server.py b/sema4ai/src/sema4ai_code/robocorp_language_server.py similarity index 99% rename from sema4ai-code/src/sema4ai_code/robocorp_language_server.py rename to sema4ai/src/sema4ai_code/robocorp_language_server.py index 1be40f0a9..4061d7cfb 100644 --- a/sema4ai-code/src/sema4ai_code/robocorp_language_server.py +++ b/sema4ai/src/sema4ai_code/robocorp_language_server.py @@ -117,7 +117,7 @@ def __init__(self, read_stream, write_stream) -> None: user_home = os.getenv("ROBOCORP_CODE_USER_HOME", None) if user_home is None: user_home = os.path.expanduser("~") - cache_dir = os.path.join(user_home, ".sema4ai-code", ".cache") + cache_dir = os.path.join(user_home, ".sema4ai", ".cache") log.info(f"Cache dir: {cache_dir}") diff --git a/sema4ai-code/src/sema4ai_code/settings.py b/sema4ai/src/sema4ai_code/settings.py similarity index 100% rename from sema4ai-code/src/sema4ai_code/settings.py rename to sema4ai/src/sema4ai_code/settings.py diff --git a/sema4ai-code/src/sema4ai_code/subprocess_check_output_interactive.py b/sema4ai/src/sema4ai_code/subprocess_check_output_interactive.py similarity index 100% rename from sema4ai-code/src/sema4ai_code/subprocess_check_output_interactive.py rename to sema4ai/src/sema4ai_code/subprocess_check_output_interactive.py diff --git a/sema4ai-code/src/sema4ai_code/vendored/README.md b/sema4ai/src/sema4ai_code/vendored/README.md similarity index 100% rename from sema4ai-code/src/sema4ai_code/vendored/README.md rename to sema4ai/src/sema4ai_code/vendored/README.md diff --git a/sema4ai-code/src/sema4ai_code/vendored/__init__.py b/sema4ai/src/sema4ai_code/vendored/__init__.py similarity index 100% rename from sema4ai-code/src/sema4ai_code/vendored/__init__.py rename to sema4ai/src/sema4ai_code/vendored/__init__.py diff --git a/sema4ai-code/src/sema4ai_code/vendored/locators/containers.py b/sema4ai/src/sema4ai_code/vendored/locators/containers.py similarity index 100% rename from sema4ai-code/src/sema4ai_code/vendored/locators/containers.py rename to sema4ai/src/sema4ai_code/vendored/locators/containers.py diff --git a/sema4ai-code/src/sema4ai_code/vendored/locators/database.py b/sema4ai/src/sema4ai_code/vendored/locators/database.py similarity index 100% rename from sema4ai-code/src/sema4ai_code/vendored/locators/database.py rename to sema4ai/src/sema4ai_code/vendored/locators/database.py diff --git a/sema4ai-code/src/sema4ai_code/vendored/locators/literal.py b/sema4ai/src/sema4ai_code/vendored/locators/literal.py similarity index 100% rename from sema4ai-code/src/sema4ai_code/vendored/locators/literal.py rename to sema4ai/src/sema4ai_code/vendored/locators/literal.py diff --git a/sema4ai-code/src/sema4ai_code/vendored_deps/README.md b/sema4ai/src/sema4ai_code/vendored_deps/README.md similarity index 100% rename from sema4ai-code/src/sema4ai_code/vendored_deps/README.md rename to sema4ai/src/sema4ai_code/vendored_deps/README.md diff --git a/sema4ai-code/src/sema4ai_code/vendored_deps/__init__.py b/sema4ai/src/sema4ai_code/vendored_deps/__init__.py similarity index 100% rename from sema4ai-code/src/sema4ai_code/vendored_deps/__init__.py rename to sema4ai/src/sema4ai_code/vendored_deps/__init__.py diff --git a/sema4ai-code/src/sema4ai_code/vendored_deps/action_package_handling/__init__.py b/sema4ai/src/sema4ai_code/vendored_deps/action_package_handling/__init__.py similarity index 100% rename from sema4ai-code/src/sema4ai_code/vendored_deps/action_package_handling/__init__.py rename to sema4ai/src/sema4ai_code/vendored_deps/action_package_handling/__init__.py diff --git a/sema4ai-code/src/sema4ai_code/vendored_deps/action_package_handling/cli_errors.py b/sema4ai/src/sema4ai_code/vendored_deps/action_package_handling/cli_errors.py similarity index 100% rename from sema4ai-code/src/sema4ai_code/vendored_deps/action_package_handling/cli_errors.py rename to sema4ai/src/sema4ai_code/vendored_deps/action_package_handling/cli_errors.py diff --git a/sema4ai-code/src/sema4ai_code/vendored_deps/package_deps/__init__.py b/sema4ai/src/sema4ai_code/vendored_deps/package_deps/__init__.py similarity index 100% rename from sema4ai-code/src/sema4ai_code/vendored_deps/package_deps/__init__.py rename to sema4ai/src/sema4ai_code/vendored_deps/package_deps/__init__.py diff --git a/sema4ai-code/src/sema4ai_code/vendored_deps/package_deps/_conda_deps.py b/sema4ai/src/sema4ai_code/vendored_deps/package_deps/_conda_deps.py similarity index 100% rename from sema4ai-code/src/sema4ai_code/vendored_deps/package_deps/_conda_deps.py rename to sema4ai/src/sema4ai_code/vendored_deps/package_deps/_conda_deps.py diff --git a/sema4ai-code/src/sema4ai_code/vendored_deps/package_deps/_deps_protocols.py b/sema4ai/src/sema4ai_code/vendored_deps/package_deps/_deps_protocols.py similarity index 100% rename from sema4ai-code/src/sema4ai_code/vendored_deps/package_deps/_deps_protocols.py rename to sema4ai/src/sema4ai_code/vendored_deps/package_deps/_deps_protocols.py diff --git a/sema4ai-code/src/sema4ai_code/vendored_deps/package_deps/_package_deps.py b/sema4ai/src/sema4ai_code/vendored_deps/package_deps/_package_deps.py similarity index 100% rename from sema4ai-code/src/sema4ai_code/vendored_deps/package_deps/_package_deps.py rename to sema4ai/src/sema4ai_code/vendored_deps/package_deps/_package_deps.py diff --git a/sema4ai-code/src/sema4ai_code/vendored_deps/package_deps/_pip_deps.py b/sema4ai/src/sema4ai_code/vendored_deps/package_deps/_pip_deps.py similarity index 100% rename from sema4ai-code/src/sema4ai_code/vendored_deps/package_deps/_pip_deps.py rename to sema4ai/src/sema4ai_code/vendored_deps/package_deps/_pip_deps.py diff --git a/sema4ai-code/src/sema4ai_code/vendored_deps/package_deps/analyzer.py b/sema4ai/src/sema4ai_code/vendored_deps/package_deps/analyzer.py similarity index 95% rename from sema4ai-code/src/sema4ai_code/vendored_deps/package_deps/analyzer.py rename to sema4ai/src/sema4ai_code/vendored_deps/package_deps/analyzer.py index ee6e4bc48..656182c3e 100644 --- a/sema4ai-code/src/sema4ai_code/vendored_deps/package_deps/analyzer.py +++ b/sema4ai/src/sema4ai_code/vendored_deps/package_deps/analyzer.py @@ -159,7 +159,7 @@ def _load_yaml_info(self) -> None: diagnostic = { "range": create_range_from_location(0, 0), "severity": _DiagnosticSeverity.Error, - "source": "sema4ai-code", + "source": "sema4ai", "message": "Error: expected dict to be root of yaml", } self._load_errors.append(diagnostic) @@ -171,7 +171,7 @@ def _load_yaml_info(self) -> None: e.problem_mark.line, e.problem_mark.column ), "severity": _DiagnosticSeverity.Error, - "source": "sema4ai-code", + "source": "sema4ai", "message": f"Syntax error: {e}", } self._load_errors.append(diagnostic) @@ -184,7 +184,7 @@ def iter_pip_issues(self): diagnostic = { "range": dep_info.dep_range, "severity": _DiagnosticSeverity.Error, - "source": "sema4ai-code", + "source": "sema4ai", "message": dep_info.error_msg, } @@ -205,7 +205,7 @@ def iter_pip_issues(self): diagnostic = { "range": dep_info.dep_range, "severity": _DiagnosticSeverity.Warning, - "source": "sema4ai-code", + "source": "sema4ai", "message": f"Consider updating '{dep_info.name}' to the latest version: '{latest_cloud_version}'. " + f"Found {len(newer_cloud_versions)} versions newer than the current one: {', '.join(newer_cloud_versions)}.", } @@ -233,7 +233,7 @@ def iter_conda_issues(self) -> Iterator[_DiagnosticsTypedDict]: diagnostic = { "range": dep_range, "severity": _DiagnosticSeverity.Warning, - "source": "sema4ai-code", + "source": "sema4ai", "message": "The official support for versions lower than Python 3.8 has ended. " + " It is advisable to transition to a newer version " + "(Python 3.9 or newer is recommended).", @@ -254,7 +254,7 @@ def iter_conda_issues(self) -> Iterator[_DiagnosticsTypedDict]: diagnostic = { "range": dep_range, "severity": _DiagnosticSeverity.Warning, - "source": "sema4ai-code", + "source": "sema4ai", "message": "Consider updating pip to a newer version (at least pip 22 onwards is recommended).", } @@ -272,7 +272,7 @@ def iter_conda_issues(self) -> Iterator[_DiagnosticsTypedDict]: diagnostic = { "range": conda_dep.dep_range, "severity": _DiagnosticSeverity.Error, - "source": "sema4ai-code", + "source": "sema4ai", "message": conda_dep.error_msg, } @@ -302,7 +302,7 @@ def iter_conda_issues(self) -> Iterator[_DiagnosticsTypedDict]: diagnostic = { "range": conda_dep.dep_range, "severity": _DiagnosticSeverity.Warning, - "source": "sema4ai-code", + "source": "sema4ai", "message": f"Consider updating '{conda_dep.name}' to match the latest version: '{last_version}'. " + f"Found {len(newer_cloud_versions)} versions that don't match the version specification: {', '.join(newer_cloud_versions)}.", } @@ -378,7 +378,7 @@ def _load_yaml_info(self) -> None: diagnostic = { "range": create_range_from_location(0, 0), "severity": _DiagnosticSeverity.Error, - "source": "sema4ai-code", + "source": "sema4ai", "message": "Error: 'dependencies' entry not found", } self._additional_load_errors.append(diagnostic) @@ -388,7 +388,7 @@ def _load_yaml_info(self) -> None: diagnostic = { "range": create_range_from_location(0, 0), "severity": _DiagnosticSeverity.Error, - "source": "sema4ai-code", + "source": "sema4ai", "message": "Error: 'dependencies' entry must not be empty", } self._additional_load_errors.append(diagnostic) @@ -397,7 +397,7 @@ def _load_yaml_info(self) -> None: diagnostic = { "range": create_range_from_location(0, 0), "severity": _DiagnosticSeverity.Error, - "source": "sema4ai-code", + "source": "sema4ai", "message": f"Error: expected 'dependencies' entry to be a dict (with 'conda-forge' and 'pypi' entries). Found: '{type(dependencies)}'", } self._additional_load_errors.append(diagnostic) @@ -409,7 +409,7 @@ def _load_yaml_info(self) -> None: diagnostic = { "range": dep_name.as_range(), "severity": _DiagnosticSeverity.Error, - "source": "sema4ai-code", + "source": "sema4ai", "message": f"Error: expected the entries of pypi to be a list. Found: {type(dep)}", } self._additional_load_errors.append(diagnostic) @@ -420,7 +420,7 @@ def _load_yaml_info(self) -> None: diagnostic = { "range": dep_name.as_range(), "severity": _DiagnosticSeverity.Error, - "source": "sema4ai-code", + "source": "sema4ai", "message": f"Error: expected the entries of pypi to be strings. Found: {type(entry)}: {entry}", } self._additional_load_errors.append(diagnostic) @@ -433,7 +433,7 @@ def _load_yaml_info(self) -> None: diagnostic = { "range": entry.as_range(), "severity": _DiagnosticSeverity.Warning, - "source": "sema4ai-code", + "source": "sema4ai", "message": ( "--use-feature=truststore flag does not need to " "be specified (it is automatically used when a " @@ -447,7 +447,7 @@ def _load_yaml_info(self) -> None: diagnostic = { "range": entry.as_range(), "severity": _DiagnosticSeverity.Error, - "source": "sema4ai-code", + "source": "sema4ai", "message": f"Invalid entry in pypi: {entry.scalar}", } self._additional_load_errors.append(diagnostic) @@ -461,7 +461,7 @@ def _load_yaml_info(self) -> None: diagnostic = { "range": dep_name.as_range(), "severity": _DiagnosticSeverity.Error, - "source": "sema4ai-code", + "source": "sema4ai", "message": f"Error: expected the entries of conda-forge to be strings. Found: {type(entry)}: {entry}", } self._additional_load_errors.append(diagnostic) @@ -473,7 +473,7 @@ def _load_yaml_info(self) -> None: diagnostic = { "range": dep_name.as_range(), "severity": _DiagnosticSeverity.Error, - "source": "sema4ai-code", + "source": "sema4ai", "message": ( "Error: only expected children are pypi and conda (dict entries). " f"Found: {dep_name.scalar}" @@ -484,7 +484,7 @@ def _load_yaml_info(self) -> None: diagnostic = { "range": dependencies_key_entry.as_range(), "severity": _DiagnosticSeverity.Error, - "source": "sema4ai-code", + "source": "sema4ai", "message": "Error: found unexpected entry in dependencies.", } self._additional_load_errors.append(diagnostic) diff --git a/sema4ai-code/src/sema4ai_code/vendored_deps/package_deps/conda_cloud.py b/sema4ai/src/sema4ai_code/vendored_deps/package_deps/conda_cloud.py similarity index 100% rename from sema4ai-code/src/sema4ai_code/vendored_deps/package_deps/conda_cloud.py rename to sema4ai/src/sema4ai_code/vendored_deps/package_deps/conda_cloud.py diff --git a/sema4ai-code/src/sema4ai_code/vendored_deps/package_deps/conda_impl/__init__.py b/sema4ai/src/sema4ai_code/vendored_deps/package_deps/conda_impl/__init__.py similarity index 100% rename from sema4ai-code/src/sema4ai_code/vendored_deps/package_deps/conda_impl/__init__.py rename to sema4ai/src/sema4ai_code/vendored_deps/package_deps/conda_impl/__init__.py diff --git a/sema4ai-code/src/sema4ai_code/vendored_deps/package_deps/conda_impl/conda_channel.py b/sema4ai/src/sema4ai_code/vendored_deps/package_deps/conda_impl/conda_channel.py similarity index 100% rename from sema4ai-code/src/sema4ai_code/vendored_deps/package_deps/conda_impl/conda_channel.py rename to sema4ai/src/sema4ai_code/vendored_deps/package_deps/conda_impl/conda_channel.py diff --git a/sema4ai-code/src/sema4ai_code/vendored_deps/package_deps/conda_impl/conda_match_spec.py b/sema4ai/src/sema4ai_code/vendored_deps/package_deps/conda_impl/conda_match_spec.py similarity index 100% rename from sema4ai-code/src/sema4ai_code/vendored_deps/package_deps/conda_impl/conda_match_spec.py rename to sema4ai/src/sema4ai_code/vendored_deps/package_deps/conda_impl/conda_match_spec.py diff --git a/sema4ai-code/src/sema4ai_code/vendored_deps/package_deps/conda_impl/conda_path.py b/sema4ai/src/sema4ai_code/vendored_deps/package_deps/conda_impl/conda_path.py similarity index 100% rename from sema4ai-code/src/sema4ai_code/vendored_deps/package_deps/conda_impl/conda_path.py rename to sema4ai/src/sema4ai_code/vendored_deps/package_deps/conda_impl/conda_path.py diff --git a/sema4ai-code/src/sema4ai_code/vendored_deps/package_deps/conda_impl/conda_url.py b/sema4ai/src/sema4ai_code/vendored_deps/package_deps/conda_impl/conda_url.py similarity index 100% rename from sema4ai-code/src/sema4ai_code/vendored_deps/package_deps/conda_impl/conda_url.py rename to sema4ai/src/sema4ai_code/vendored_deps/package_deps/conda_impl/conda_url.py diff --git a/sema4ai-code/src/sema4ai_code/vendored_deps/package_deps/conda_impl/conda_version.py b/sema4ai/src/sema4ai_code/vendored_deps/package_deps/conda_impl/conda_version.py similarity index 100% rename from sema4ai-code/src/sema4ai_code/vendored_deps/package_deps/conda_impl/conda_version.py rename to sema4ai/src/sema4ai_code/vendored_deps/package_deps/conda_impl/conda_version.py diff --git a/sema4ai-code/src/sema4ai_code/vendored_deps/package_deps/pip_impl/__init__.py b/sema4ai/src/sema4ai_code/vendored_deps/package_deps/pip_impl/__init__.py similarity index 100% rename from sema4ai-code/src/sema4ai_code/vendored_deps/package_deps/pip_impl/__init__.py rename to sema4ai/src/sema4ai_code/vendored_deps/package_deps/pip_impl/__init__.py diff --git a/sema4ai-code/src/sema4ai_code/vendored_deps/package_deps/pip_impl/pip_distlib_util.py b/sema4ai/src/sema4ai_code/vendored_deps/package_deps/pip_impl/pip_distlib_util.py similarity index 100% rename from sema4ai-code/src/sema4ai_code/vendored_deps/package_deps/pip_impl/pip_distlib_util.py rename to sema4ai/src/sema4ai_code/vendored_deps/package_deps/pip_impl/pip_distlib_util.py diff --git a/sema4ai-code/src/sema4ai_code/vendored_deps/package_deps/pip_impl/pip_packaging_structure.py b/sema4ai/src/sema4ai_code/vendored_deps/package_deps/pip_impl/pip_packaging_structure.py similarity index 100% rename from sema4ai-code/src/sema4ai_code/vendored_deps/package_deps/pip_impl/pip_packaging_structure.py rename to sema4ai/src/sema4ai_code/vendored_deps/package_deps/pip_impl/pip_packaging_structure.py diff --git a/sema4ai-code/src/sema4ai_code/vendored_deps/package_deps/pip_impl/pip_packaging_version.py b/sema4ai/src/sema4ai_code/vendored_deps/package_deps/pip_impl/pip_packaging_version.py similarity index 100% rename from sema4ai-code/src/sema4ai_code/vendored_deps/package_deps/pip_impl/pip_packaging_version.py rename to sema4ai/src/sema4ai_code/vendored_deps/package_deps/pip_impl/pip_packaging_version.py diff --git a/sema4ai-code/src/sema4ai_code/vendored_deps/package_deps/pypi_cloud.py b/sema4ai/src/sema4ai_code/vendored_deps/package_deps/pypi_cloud.py similarity index 100% rename from sema4ai-code/src/sema4ai_code/vendored_deps/package_deps/pypi_cloud.py rename to sema4ai/src/sema4ai_code/vendored_deps/package_deps/pypi_cloud.py diff --git a/sema4ai-code/src/sema4ai_code/vendored_deps/termcolors/__init__.py b/sema4ai/src/sema4ai_code/vendored_deps/termcolors/__init__.py similarity index 100% rename from sema4ai-code/src/sema4ai_code/vendored_deps/termcolors/__init__.py rename to sema4ai/src/sema4ai_code/vendored_deps/termcolors/__init__.py diff --git a/sema4ai-code/src/sema4ai_code_debug_adapter/__init__.py b/sema4ai/src/sema4ai_code_debug_adapter/__init__.py similarity index 100% rename from sema4ai-code/src/sema4ai_code_debug_adapter/__init__.py rename to sema4ai/src/sema4ai_code_debug_adapter/__init__.py diff --git a/sema4ai-code/src/sema4ai_code_debug_adapter/__main__.py b/sema4ai/src/sema4ai_code_debug_adapter/__main__.py similarity index 100% rename from sema4ai-code/src/sema4ai_code_debug_adapter/__main__.py rename to sema4ai/src/sema4ai_code_debug_adapter/__main__.py diff --git a/sema4ai-code/src/sema4ai_code_debug_adapter/constants.py b/sema4ai/src/sema4ai_code_debug_adapter/constants.py similarity index 100% rename from sema4ai-code/src/sema4ai_code_debug_adapter/constants.py rename to sema4ai/src/sema4ai_code_debug_adapter/constants.py diff --git a/sema4ai-code/src/sema4ai_code_debug_adapter/debug_adapter_comm.py b/sema4ai/src/sema4ai_code_debug_adapter/debug_adapter_comm.py similarity index 100% rename from sema4ai-code/src/sema4ai_code_debug_adapter/debug_adapter_comm.py rename to sema4ai/src/sema4ai_code_debug_adapter/debug_adapter_comm.py diff --git a/sema4ai-code/src/sema4ai_code_debug_adapter/launch_process.py b/sema4ai/src/sema4ai_code_debug_adapter/launch_process.py similarity index 99% rename from sema4ai-code/src/sema4ai_code_debug_adapter/launch_process.py rename to sema4ai/src/sema4ai_code_debug_adapter/launch_process.py index 58ea20af0..8965631f7 100644 --- a/sema4ai-code/src/sema4ai_code_debug_adapter/launch_process.py +++ b/sema4ai/src/sema4ai_code_debug_adapter/launch_process.py @@ -296,7 +296,7 @@ def notify_elapsed_time(): workspace_args.append("--workspace") workspace_args.append(workspace_id) workspace_args.append("--account") - workspace_args.append("sema4ai-code") + workspace_args.append("sema4ai") cmdline = ( [ diff --git a/sema4ai-code/tests/conftest.py b/sema4ai/tests/conftest.py similarity index 100% rename from sema4ai-code/tests/conftest.py rename to sema4ai/tests/conftest.py diff --git a/sema4ai-code/tests/pytest.ini b/sema4ai/tests/pytest.ini similarity index 100% rename from sema4ai-code/tests/pytest.ini rename to sema4ai/tests/pytest.ini diff --git a/sema4ai-code/tests/sema4ai_code_debug_adapter_tests/__init__.py b/sema4ai/tests/sema4ai_code_debug_adapter_tests/__init__.py similarity index 100% rename from sema4ai-code/tests/sema4ai_code_debug_adapter_tests/__init__.py rename to sema4ai/tests/sema4ai_code_debug_adapter_tests/__init__.py diff --git a/sema4ai-code/tests/sema4ai_code_debug_adapter_tests/_dap_resources/.gitignore b/sema4ai/tests/sema4ai_code_debug_adapter_tests/_dap_resources/.gitignore similarity index 100% rename from sema4ai-code/tests/sema4ai_code_debug_adapter_tests/_dap_resources/.gitignore rename to sema4ai/tests/sema4ai_code_debug_adapter_tests/_dap_resources/.gitignore diff --git a/sema4ai-code/tests/sema4ai_code_debug_adapter_tests/_dap_resources/minimal/.gitignore b/sema4ai/tests/sema4ai_code_debug_adapter_tests/_dap_resources/minimal/.gitignore similarity index 100% rename from sema4ai-code/tests/sema4ai_code_debug_adapter_tests/_dap_resources/minimal/.gitignore rename to sema4ai/tests/sema4ai_code_debug_adapter_tests/_dap_resources/minimal/.gitignore diff --git a/sema4ai-code/tests/sema4ai_code_debug_adapter_tests/_dap_resources/minimal/conda.yaml b/sema4ai/tests/sema4ai_code_debug_adapter_tests/_dap_resources/minimal/conda.yaml similarity index 100% rename from sema4ai-code/tests/sema4ai_code_debug_adapter_tests/_dap_resources/minimal/conda.yaml rename to sema4ai/tests/sema4ai_code_debug_adapter_tests/_dap_resources/minimal/conda.yaml diff --git a/sema4ai-code/tests/sema4ai_code_debug_adapter_tests/_dap_resources/minimal/robot.yaml b/sema4ai/tests/sema4ai_code_debug_adapter_tests/_dap_resources/minimal/robot.yaml similarity index 100% rename from sema4ai-code/tests/sema4ai_code_debug_adapter_tests/_dap_resources/minimal/robot.yaml rename to sema4ai/tests/sema4ai_code_debug_adapter_tests/_dap_resources/minimal/robot.yaml diff --git a/sema4ai-code/tests/sema4ai_code_debug_adapter_tests/_dap_resources/minimal/tasks.robot b/sema4ai/tests/sema4ai_code_debug_adapter_tests/_dap_resources/minimal/tasks.robot similarity index 100% rename from sema4ai-code/tests/sema4ai_code_debug_adapter_tests/_dap_resources/minimal/tasks.robot rename to sema4ai/tests/sema4ai_code_debug_adapter_tests/_dap_resources/minimal/tasks.robot diff --git a/sema4ai-code/tests/sema4ai_code_debug_adapter_tests/_dap_resources/project_with_env/.gitignore b/sema4ai/tests/sema4ai_code_debug_adapter_tests/_dap_resources/project_with_env/.gitignore similarity index 100% rename from sema4ai-code/tests/sema4ai_code_debug_adapter_tests/_dap_resources/project_with_env/.gitignore rename to sema4ai/tests/sema4ai_code_debug_adapter_tests/_dap_resources/project_with_env/.gitignore diff --git a/sema4ai-code/tests/sema4ai_code_debug_adapter_tests/_dap_resources/project_with_env/conda.yaml b/sema4ai/tests/sema4ai_code_debug_adapter_tests/_dap_resources/project_with_env/conda.yaml similarity index 100% rename from sema4ai-code/tests/sema4ai_code_debug_adapter_tests/_dap_resources/project_with_env/conda.yaml rename to sema4ai/tests/sema4ai_code_debug_adapter_tests/_dap_resources/project_with_env/conda.yaml diff --git a/sema4ai-code/tests/sema4ai_code_debug_adapter_tests/_dap_resources/project_with_env/devdata/env.json b/sema4ai/tests/sema4ai_code_debug_adapter_tests/_dap_resources/project_with_env/devdata/env.json similarity index 100% rename from sema4ai-code/tests/sema4ai_code_debug_adapter_tests/_dap_resources/project_with_env/devdata/env.json rename to sema4ai/tests/sema4ai_code_debug_adapter_tests/_dap_resources/project_with_env/devdata/env.json diff --git a/sema4ai-code/tests/sema4ai_code_debug_adapter_tests/_dap_resources/project_with_env/robot.yaml b/sema4ai/tests/sema4ai_code_debug_adapter_tests/_dap_resources/project_with_env/robot.yaml similarity index 100% rename from sema4ai-code/tests/sema4ai_code_debug_adapter_tests/_dap_resources/project_with_env/robot.yaml rename to sema4ai/tests/sema4ai_code_debug_adapter_tests/_dap_resources/project_with_env/robot.yaml diff --git a/sema4ai-code/tests/sema4ai_code_debug_adapter_tests/_dap_resources/project_with_env/tasks.robot b/sema4ai/tests/sema4ai_code_debug_adapter_tests/_dap_resources/project_with_env/tasks.robot similarity index 100% rename from sema4ai-code/tests/sema4ai_code_debug_adapter_tests/_dap_resources/project_with_env/tasks.robot rename to sema4ai/tests/sema4ai_code_debug_adapter_tests/_dap_resources/project_with_env/tasks.robot diff --git a/sema4ai-code/tests/sema4ai_code_debug_adapter_tests/fixtures.py b/sema4ai/tests/sema4ai_code_debug_adapter_tests/fixtures.py similarity index 99% rename from sema4ai-code/tests/sema4ai_code_debug_adapter_tests/fixtures.py rename to sema4ai/tests/sema4ai_code_debug_adapter_tests/fixtures.py index 7b7e54fee..66d298a48 100644 --- a/sema4ai-code/tests/sema4ai_code_debug_adapter_tests/fixtures.py +++ b/sema4ai/tests/sema4ai_code_debug_adapter_tests/fixtures.py @@ -177,7 +177,7 @@ def initialize(self, rcc_config_location): self.write( InitializeRequest( InitializeRequestArguments( - adapterID="sema4ai-code-adapter", + adapterID="sema4ai-adapter", clientID="Stub", clientName="stub", locale="en-us", diff --git a/sema4ai-code/tests/sema4ai_code_debug_adapter_tests/test_debug_adapter.py b/sema4ai/tests/sema4ai_code_debug_adapter_tests/test_debug_adapter.py similarity index 99% rename from sema4ai-code/tests/sema4ai_code_debug_adapter_tests/test_debug_adapter.py rename to sema4ai/tests/sema4ai_code_debug_adapter_tests/test_debug_adapter.py index 47f902563..e2c5d5690 100644 --- a/sema4ai-code/tests/sema4ai_code_debug_adapter_tests/test_debug_adapter.py +++ b/sema4ai/tests/sema4ai_code_debug_adapter_tests/test_debug_adapter.py @@ -84,7 +84,7 @@ def test_work_item_variables_not_overridden( ): """ Verifies that variables from env.json don't override variables related - to work items set by Sema4.ai Code: + to work items set by Sema4.ai: - RPA_INPUT_WORKITEM_PATH - RPA_OUTPUT_WORKITEM_PATH - RPA_WORKITEMS_ADAPTER diff --git a/sema4ai-code/tests/sema4ai_code_tests/__init__.py b/sema4ai/tests/sema4ai_code_tests/__init__.py similarity index 100% rename from sema4ai-code/tests/sema4ai_code_tests/__init__.py rename to sema4ai/tests/sema4ai_code_tests/__init__.py diff --git a/sema4ai-code/tests/sema4ai_code_tests/_resources/__init__.py b/sema4ai/tests/sema4ai_code_tests/_resources/__init__.py similarity index 100% rename from sema4ai-code/tests/sema4ai_code_tests/_resources/__init__.py rename to sema4ai/tests/sema4ai_code_tests/_resources/__init__.py diff --git a/sema4ai-code/tests/sema4ai_code_tests/_resources/action_package/my_action.py b/sema4ai/tests/sema4ai_code_tests/_resources/action_package/my_action.py similarity index 100% rename from sema4ai-code/tests/sema4ai_code_tests/_resources/action_package/my_action.py rename to sema4ai/tests/sema4ai_code_tests/_resources/action_package/my_action.py diff --git a/sema4ai-code/tests/sema4ai_code_tests/_resources/action_package/package.yaml b/sema4ai/tests/sema4ai_code_tests/_resources/action_package/package.yaml similarity index 100% rename from sema4ai-code/tests/sema4ai_code_tests/_resources/action_package/package.yaml rename to sema4ai/tests/sema4ai_code_tests/_resources/action_package/package.yaml diff --git a/sema4ai-code/tests/sema4ai_code_tests/_resources/conda-forge cache/.conda_indexes/index_0001/linux-64.db b/sema4ai/tests/sema4ai_code_tests/_resources/conda-forge cache/.conda_indexes/index_0001/linux-64.db similarity index 100% rename from sema4ai-code/tests/sema4ai_code_tests/_resources/conda-forge cache/.conda_indexes/index_0001/linux-64.db rename to sema4ai/tests/sema4ai_code_tests/_resources/conda-forge cache/.conda_indexes/index_0001/linux-64.db diff --git a/sema4ai-code/tests/sema4ai_code_tests/_resources/conda-forge cache/.conda_indexes/index_0001/noarch.db b/sema4ai/tests/sema4ai_code_tests/_resources/conda-forge cache/.conda_indexes/index_0001/noarch.db similarity index 100% rename from sema4ai-code/tests/sema4ai_code_tests/_resources/conda-forge cache/.conda_indexes/index_0001/noarch.db rename to sema4ai/tests/sema4ai_code_tests/_resources/conda-forge cache/.conda_indexes/index_0001/noarch.db diff --git a/sema4ai-code/tests/sema4ai_code_tests/_resources/conda-forge cache/.conda_indexes/index_0001/osx-64.db b/sema4ai/tests/sema4ai_code_tests/_resources/conda-forge cache/.conda_indexes/index_0001/osx-64.db similarity index 100% rename from sema4ai-code/tests/sema4ai_code_tests/_resources/conda-forge cache/.conda_indexes/index_0001/osx-64.db rename to sema4ai/tests/sema4ai_code_tests/_resources/conda-forge cache/.conda_indexes/index_0001/osx-64.db diff --git a/sema4ai-code/tests/sema4ai_code_tests/_resources/conda-forge cache/.conda_indexes/index_0001/win-64.db b/sema4ai/tests/sema4ai_code_tests/_resources/conda-forge cache/.conda_indexes/index_0001/win-64.db similarity index 100% rename from sema4ai-code/tests/sema4ai_code_tests/_resources/conda-forge cache/.conda_indexes/index_0001/win-64.db rename to sema4ai/tests/sema4ai_code_tests/_resources/conda-forge cache/.conda_indexes/index_0001/win-64.db diff --git a/sema4ai-code/tests/sema4ai_code_tests/_resources/conda-forge cache/.conda_indexes/latest_index_info.json b/sema4ai/tests/sema4ai_code_tests/_resources/conda-forge cache/.conda_indexes/latest_index_info.json similarity index 100% rename from sema4ai-code/tests/sema4ai_code_tests/_resources/conda-forge cache/.conda_indexes/latest_index_info.json rename to sema4ai/tests/sema4ai_code_tests/_resources/conda-forge cache/.conda_indexes/latest_index_info.json diff --git a/sema4ai-code/tests/sema4ai_code_tests/_resources/conda-forge cache/README.txt b/sema4ai/tests/sema4ai_code_tests/_resources/conda-forge cache/README.txt similarity index 100% rename from sema4ai-code/tests/sema4ai_code_tests/_resources/conda-forge cache/README.txt rename to sema4ai/tests/sema4ai_code_tests/_resources/conda-forge cache/README.txt diff --git a/sema4ai-code/tests/sema4ai_code_tests/_resources/custom_envs/__init__.py b/sema4ai/tests/sema4ai_code_tests/_resources/custom_envs/__init__.py similarity index 100% rename from sema4ai-code/tests/sema4ai_code_tests/_resources/custom_envs/__init__.py rename to sema4ai/tests/sema4ai_code_tests/_resources/custom_envs/__init__.py diff --git a/sema4ai-code/tests/sema4ai_code_tests/_resources/custom_envs/pysample/conda.yaml b/sema4ai/tests/sema4ai_code_tests/_resources/custom_envs/pysample/conda.yaml similarity index 100% rename from sema4ai-code/tests/sema4ai_code_tests/_resources/custom_envs/pysample/conda.yaml rename to sema4ai/tests/sema4ai_code_tests/_resources/custom_envs/pysample/conda.yaml diff --git a/sema4ai-code/tests/sema4ai_code_tests/_resources/custom_envs/pysample/robot.yaml b/sema4ai/tests/sema4ai_code_tests/_resources/custom_envs/pysample/robot.yaml similarity index 100% rename from sema4ai-code/tests/sema4ai_code_tests/_resources/custom_envs/pysample/robot.yaml rename to sema4ai/tests/sema4ai_code_tests/_resources/custom_envs/pysample/robot.yaml diff --git a/sema4ai-code/tests/sema4ai_code_tests/_resources/custom_envs/pysample/task.py b/sema4ai/tests/sema4ai_code_tests/_resources/custom_envs/pysample/task.py similarity index 100% rename from sema4ai-code/tests/sema4ai_code_tests/_resources/custom_envs/pysample/task.py rename to sema4ai/tests/sema4ai_code_tests/_resources/custom_envs/pysample/task.py diff --git a/sema4ai-code/tests/sema4ai_code_tests/_resources/custom_envs/simple-web-scraper/.gitattributes b/sema4ai/tests/sema4ai_code_tests/_resources/custom_envs/simple-web-scraper/.gitattributes similarity index 100% rename from sema4ai-code/tests/sema4ai_code_tests/_resources/custom_envs/simple-web-scraper/.gitattributes rename to sema4ai/tests/sema4ai_code_tests/_resources/custom_envs/simple-web-scraper/.gitattributes diff --git a/sema4ai-code/tests/sema4ai_code_tests/_resources/custom_envs/simple-web-scraper/.gitignore b/sema4ai/tests/sema4ai_code_tests/_resources/custom_envs/simple-web-scraper/.gitignore similarity index 100% rename from sema4ai-code/tests/sema4ai_code_tests/_resources/custom_envs/simple-web-scraper/.gitignore rename to sema4ai/tests/sema4ai_code_tests/_resources/custom_envs/simple-web-scraper/.gitignore diff --git a/sema4ai-code/tests/sema4ai_code_tests/_resources/custom_envs/simple-web-scraper/README.md b/sema4ai/tests/sema4ai_code_tests/_resources/custom_envs/simple-web-scraper/README.md similarity index 100% rename from sema4ai-code/tests/sema4ai_code_tests/_resources/custom_envs/simple-web-scraper/README.md rename to sema4ai/tests/sema4ai_code_tests/_resources/custom_envs/simple-web-scraper/README.md diff --git a/sema4ai-code/tests/sema4ai_code_tests/_resources/custom_envs/simple-web-scraper/config/README.md b/sema4ai/tests/sema4ai_code_tests/_resources/custom_envs/simple-web-scraper/config/README.md similarity index 100% rename from sema4ai-code/tests/sema4ai_code_tests/_resources/custom_envs/simple-web-scraper/config/README.md rename to sema4ai/tests/sema4ai_code_tests/_resources/custom_envs/simple-web-scraper/config/README.md diff --git a/sema4ai-code/tests/sema4ai_code_tests/_resources/custom_envs/simple-web-scraper/config/conda.yaml b/sema4ai/tests/sema4ai_code_tests/_resources/custom_envs/simple-web-scraper/config/conda.yaml similarity index 100% rename from sema4ai-code/tests/sema4ai_code_tests/_resources/custom_envs/simple-web-scraper/config/conda.yaml rename to sema4ai/tests/sema4ai_code_tests/_resources/custom_envs/simple-web-scraper/config/conda.yaml diff --git a/sema4ai-code/tests/sema4ai_code_tests/_resources/custom_envs/simple-web-scraper/devdata/env.json b/sema4ai/tests/sema4ai_code_tests/_resources/custom_envs/simple-web-scraper/devdata/env.json similarity index 100% rename from sema4ai-code/tests/sema4ai_code_tests/_resources/custom_envs/simple-web-scraper/devdata/env.json rename to sema4ai/tests/sema4ai_code_tests/_resources/custom_envs/simple-web-scraper/devdata/env.json diff --git a/sema4ai-code/tests/sema4ai_code_tests/_resources/custom_envs/simple-web-scraper/entrypoints/INTRODUCTION.md b/sema4ai/tests/sema4ai_code_tests/_resources/custom_envs/simple-web-scraper/entrypoints/INTRODUCTION.md similarity index 100% rename from sema4ai-code/tests/sema4ai_code_tests/_resources/custom_envs/simple-web-scraper/entrypoints/INTRODUCTION.md rename to sema4ai/tests/sema4ai_code_tests/_resources/custom_envs/simple-web-scraper/entrypoints/INTRODUCTION.md diff --git a/sema4ai-code/tests/sema4ai_code_tests/_resources/custom_envs/simple-web-scraper/entrypoints/___entrypoint.cmd b/sema4ai/tests/sema4ai_code_tests/_resources/custom_envs/simple-web-scraper/entrypoints/___entrypoint.cmd similarity index 100% rename from sema4ai-code/tests/sema4ai_code_tests/_resources/custom_envs/simple-web-scraper/entrypoints/___entrypoint.cmd rename to sema4ai/tests/sema4ai_code_tests/_resources/custom_envs/simple-web-scraper/entrypoints/___entrypoint.cmd diff --git a/sema4ai-code/tests/sema4ai_code_tests/_resources/custom_envs/simple-web-scraper/entrypoints/___entrypoint.sh b/sema4ai/tests/sema4ai_code_tests/_resources/custom_envs/simple-web-scraper/entrypoints/___entrypoint.sh similarity index 100% rename from sema4ai-code/tests/sema4ai_code_tests/_resources/custom_envs/simple-web-scraper/entrypoints/___entrypoint.sh rename to sema4ai/tests/sema4ai_code_tests/_resources/custom_envs/simple-web-scraper/entrypoints/___entrypoint.sh diff --git a/sema4ai-code/tests/sema4ai_code_tests/_resources/custom_envs/simple-web-scraper/libraries/ExampleLibrary.py b/sema4ai/tests/sema4ai_code_tests/_resources/custom_envs/simple-web-scraper/libraries/ExampleLibrary.py similarity index 100% rename from sema4ai-code/tests/sema4ai_code_tests/_resources/custom_envs/simple-web-scraper/libraries/ExampleLibrary.py rename to sema4ai/tests/sema4ai_code_tests/_resources/custom_envs/simple-web-scraper/libraries/ExampleLibrary.py diff --git a/sema4ai-code/tests/sema4ai_code_tests/_resources/custom_envs/simple-web-scraper/libraries/INTRODUCTION.md b/sema4ai/tests/sema4ai_code_tests/_resources/custom_envs/simple-web-scraper/libraries/INTRODUCTION.md similarity index 100% rename from sema4ai-code/tests/sema4ai_code_tests/_resources/custom_envs/simple-web-scraper/libraries/INTRODUCTION.md rename to sema4ai/tests/sema4ai_code_tests/_resources/custom_envs/simple-web-scraper/libraries/INTRODUCTION.md diff --git a/sema4ai-code/tests/sema4ai_code_tests/_resources/custom_envs/simple-web-scraper/libraries/__init__.py b/sema4ai/tests/sema4ai_code_tests/_resources/custom_envs/simple-web-scraper/libraries/__init__.py similarity index 100% rename from sema4ai-code/tests/sema4ai_code_tests/_resources/custom_envs/simple-web-scraper/libraries/__init__.py rename to sema4ai/tests/sema4ai_code_tests/_resources/custom_envs/simple-web-scraper/libraries/__init__.py diff --git a/sema4ai-code/tests/sema4ai_code_tests/_resources/custom_envs/simple-web-scraper/resources/INTRODUCTION.md b/sema4ai/tests/sema4ai_code_tests/_resources/custom_envs/simple-web-scraper/resources/INTRODUCTION.md similarity index 100% rename from sema4ai-code/tests/sema4ai_code_tests/_resources/custom_envs/simple-web-scraper/resources/INTRODUCTION.md rename to sema4ai/tests/sema4ai_code_tests/_resources/custom_envs/simple-web-scraper/resources/INTRODUCTION.md diff --git a/sema4ai-code/tests/sema4ai_code_tests/_resources/custom_envs/simple-web-scraper/resources/keywords.robot b/sema4ai/tests/sema4ai_code_tests/_resources/custom_envs/simple-web-scraper/resources/keywords.robot similarity index 100% rename from sema4ai-code/tests/sema4ai_code_tests/_resources/custom_envs/simple-web-scraper/resources/keywords.robot rename to sema4ai/tests/sema4ai_code_tests/_resources/custom_envs/simple-web-scraper/resources/keywords.robot diff --git a/sema4ai-code/tests/sema4ai_code_tests/_resources/custom_envs/simple-web-scraper/robot.yaml b/sema4ai/tests/sema4ai_code_tests/_resources/custom_envs/simple-web-scraper/robot.yaml similarity index 100% rename from sema4ai-code/tests/sema4ai_code_tests/_resources/custom_envs/simple-web-scraper/robot.yaml rename to sema4ai/tests/sema4ai_code_tests/_resources/custom_envs/simple-web-scraper/robot.yaml diff --git a/sema4ai-code/tests/sema4ai_code_tests/_resources/custom_envs/simple-web-scraper/tasks/INTRODUCTION.md b/sema4ai/tests/sema4ai_code_tests/_resources/custom_envs/simple-web-scraper/tasks/INTRODUCTION.md similarity index 100% rename from sema4ai-code/tests/sema4ai_code_tests/_resources/custom_envs/simple-web-scraper/tasks/INTRODUCTION.md rename to sema4ai/tests/sema4ai_code_tests/_resources/custom_envs/simple-web-scraper/tasks/INTRODUCTION.md diff --git a/sema4ai-code/tests/sema4ai_code_tests/_resources/custom_envs/simple-web-scraper/tasks/simple-web-scraper.robot b/sema4ai/tests/sema4ai_code_tests/_resources/custom_envs/simple-web-scraper/tasks/simple-web-scraper.robot similarity index 100% rename from sema4ai-code/tests/sema4ai_code_tests/_resources/custom_envs/simple-web-scraper/tasks/simple-web-scraper.robot rename to sema4ai/tests/sema4ai_code_tests/_resources/custom_envs/simple-web-scraper/tasks/simple-web-scraper.robot diff --git a/sema4ai-code/tests/sema4ai_code_tests/_resources/custom_envs/simple-web-scraper/variables/INTRODUCTION.md b/sema4ai/tests/sema4ai_code_tests/_resources/custom_envs/simple-web-scraper/variables/INTRODUCTION.md similarity index 100% rename from sema4ai-code/tests/sema4ai_code_tests/_resources/custom_envs/simple-web-scraper/variables/INTRODUCTION.md rename to sema4ai/tests/sema4ai_code_tests/_resources/custom_envs/simple-web-scraper/variables/INTRODUCTION.md diff --git a/sema4ai-code/tests/sema4ai_code_tests/_resources/custom_envs/simple-web-scraper/variables/variables.py b/sema4ai/tests/sema4ai_code_tests/_resources/custom_envs/simple-web-scraper/variables/variables.py similarity index 100% rename from sema4ai-code/tests/sema4ai_code_tests/_resources/custom_envs/simple-web-scraper/variables/variables.py rename to sema4ai/tests/sema4ai_code_tests/_resources/custom_envs/simple-web-scraper/variables/variables.py diff --git a/sema4ai-code/tests/sema4ai_code_tests/_resources/custom_envs/work_items/conda.yaml b/sema4ai/tests/sema4ai_code_tests/_resources/custom_envs/work_items/conda.yaml similarity index 100% rename from sema4ai-code/tests/sema4ai_code_tests/_resources/custom_envs/work_items/conda.yaml rename to sema4ai/tests/sema4ai_code_tests/_resources/custom_envs/work_items/conda.yaml diff --git a/sema4ai-code/tests/sema4ai_code_tests/_resources/custom_envs/work_items/devdata/work-items-in/input-1/file.txt b/sema4ai/tests/sema4ai_code_tests/_resources/custom_envs/work_items/devdata/work-items-in/input-1/file.txt similarity index 100% rename from sema4ai-code/tests/sema4ai_code_tests/_resources/custom_envs/work_items/devdata/work-items-in/input-1/file.txt rename to sema4ai/tests/sema4ai_code_tests/_resources/custom_envs/work_items/devdata/work-items-in/input-1/file.txt diff --git a/sema4ai-code/tests/sema4ai_code_tests/_resources/custom_envs/work_items/devdata/work-items-in/input-1/work-items.json b/sema4ai/tests/sema4ai_code_tests/_resources/custom_envs/work_items/devdata/work-items-in/input-1/work-items.json similarity index 100% rename from sema4ai-code/tests/sema4ai_code_tests/_resources/custom_envs/work_items/devdata/work-items-in/input-1/work-items.json rename to sema4ai/tests/sema4ai_code_tests/_resources/custom_envs/work_items/devdata/work-items-in/input-1/work-items.json diff --git a/sema4ai-code/tests/sema4ai_code_tests/_resources/custom_envs/work_items/devdata/work-items-in/input-2/file.txt b/sema4ai/tests/sema4ai_code_tests/_resources/custom_envs/work_items/devdata/work-items-in/input-2/file.txt similarity index 100% rename from sema4ai-code/tests/sema4ai_code_tests/_resources/custom_envs/work_items/devdata/work-items-in/input-2/file.txt rename to sema4ai/tests/sema4ai_code_tests/_resources/custom_envs/work_items/devdata/work-items-in/input-2/file.txt diff --git a/sema4ai-code/tests/sema4ai_code_tests/_resources/custom_envs/work_items/devdata/work-items-in/input-2/work-items.json b/sema4ai/tests/sema4ai_code_tests/_resources/custom_envs/work_items/devdata/work-items-in/input-2/work-items.json similarity index 100% rename from sema4ai-code/tests/sema4ai_code_tests/_resources/custom_envs/work_items/devdata/work-items-in/input-2/work-items.json rename to sema4ai/tests/sema4ai_code_tests/_resources/custom_envs/work_items/devdata/work-items-in/input-2/work-items.json diff --git a/sema4ai-code/tests/sema4ai_code_tests/_resources/custom_envs/work_items/devdata/work-items-out/latest-run/work-items.json b/sema4ai/tests/sema4ai_code_tests/_resources/custom_envs/work_items/devdata/work-items-out/latest-run/work-items.json similarity index 100% rename from sema4ai-code/tests/sema4ai_code_tests/_resources/custom_envs/work_items/devdata/work-items-out/latest-run/work-items.json rename to sema4ai/tests/sema4ai_code_tests/_resources/custom_envs/work_items/devdata/work-items-out/latest-run/work-items.json diff --git a/sema4ai-code/tests/sema4ai_code_tests/_resources/custom_envs/work_items/devdata/work-items-out/run-1/file.txt b/sema4ai/tests/sema4ai_code_tests/_resources/custom_envs/work_items/devdata/work-items-out/run-1/file.txt similarity index 100% rename from sema4ai-code/tests/sema4ai_code_tests/_resources/custom_envs/work_items/devdata/work-items-out/run-1/file.txt rename to sema4ai/tests/sema4ai_code_tests/_resources/custom_envs/work_items/devdata/work-items-out/run-1/file.txt diff --git a/sema4ai-code/tests/sema4ai_code_tests/_resources/custom_envs/work_items/devdata/work-items-out/run-1/work-items.json b/sema4ai/tests/sema4ai_code_tests/_resources/custom_envs/work_items/devdata/work-items-out/run-1/work-items.json similarity index 100% rename from sema4ai-code/tests/sema4ai_code_tests/_resources/custom_envs/work_items/devdata/work-items-out/run-1/work-items.json rename to sema4ai/tests/sema4ai_code_tests/_resources/custom_envs/work_items/devdata/work-items-out/run-1/work-items.json diff --git a/sema4ai-code/tests/sema4ai_code_tests/_resources/custom_envs/work_items/devdata/work-items-out/run-no-json/unrelated.json b/sema4ai/tests/sema4ai_code_tests/_resources/custom_envs/work_items/devdata/work-items-out/run-no-json/unrelated.json similarity index 100% rename from sema4ai-code/tests/sema4ai_code_tests/_resources/custom_envs/work_items/devdata/work-items-out/run-no-json/unrelated.json rename to sema4ai/tests/sema4ai_code_tests/_resources/custom_envs/work_items/devdata/work-items-out/run-no-json/unrelated.json diff --git a/sema4ai-code/tests/sema4ai_code_tests/_resources/custom_envs/work_items/robot.yaml b/sema4ai/tests/sema4ai_code_tests/_resources/custom_envs/work_items/robot.yaml similarity index 100% rename from sema4ai-code/tests/sema4ai_code_tests/_resources/custom_envs/work_items/robot.yaml rename to sema4ai/tests/sema4ai_code_tests/_resources/custom_envs/work_items/robot.yaml diff --git a/sema4ai-code/tests/sema4ai_code_tests/_resources/custom_envs/work_items/task.py b/sema4ai/tests/sema4ai_code_tests/_resources/custom_envs/work_items/task.py similarity index 100% rename from sema4ai-code/tests/sema4ai_code_tests/_resources/custom_envs/work_items/task.py rename to sema4ai/tests/sema4ai_code_tests/_resources/custom_envs/work_items/task.py diff --git a/sema4ai-code/tests/sema4ai_code_tests/_resources/robots/robot1/conda.yaml b/sema4ai/tests/sema4ai_code_tests/_resources/robots/robot1/conda.yaml similarity index 100% rename from sema4ai-code/tests/sema4ai_code_tests/_resources/robots/robot1/conda.yaml rename to sema4ai/tests/sema4ai_code_tests/_resources/robots/robot1/conda.yaml diff --git a/sema4ai-code/tests/sema4ai_code_tests/_resources/robots/robot1/locators.json b/sema4ai/tests/sema4ai_code_tests/_resources/robots/robot1/locators.json similarity index 100% rename from sema4ai-code/tests/sema4ai_code_tests/_resources/robots/robot1/locators.json rename to sema4ai/tests/sema4ai_code_tests/_resources/robots/robot1/locators.json diff --git a/sema4ai-code/tests/sema4ai_code_tests/_resources/robots/robot1/robot.yaml b/sema4ai/tests/sema4ai_code_tests/_resources/robots/robot1/robot.yaml similarity index 100% rename from sema4ai-code/tests/sema4ai_code_tests/_resources/robots/robot1/robot.yaml rename to sema4ai/tests/sema4ai_code_tests/_resources/robots/robot1/robot.yaml diff --git a/sema4ai-code/tests/sema4ai_code_tests/_resources/robots/robot2/conda.yaml b/sema4ai/tests/sema4ai_code_tests/_resources/robots/robot2/conda.yaml similarity index 100% rename from sema4ai-code/tests/sema4ai_code_tests/_resources/robots/robot2/conda.yaml rename to sema4ai/tests/sema4ai_code_tests/_resources/robots/robot2/conda.yaml diff --git a/sema4ai-code/tests/sema4ai_code_tests/_resources/robots/robot2/page_to_test.html b/sema4ai/tests/sema4ai_code_tests/_resources/robots/robot2/page_to_test.html similarity index 100% rename from sema4ai-code/tests/sema4ai_code_tests/_resources/robots/robot2/page_to_test.html rename to sema4ai/tests/sema4ai_code_tests/_resources/robots/robot2/page_to_test.html diff --git a/sema4ai-code/tests/sema4ai_code_tests/_resources/robots/robot2/robot.yaml b/sema4ai/tests/sema4ai_code_tests/_resources/robots/robot2/robot.yaml similarity index 100% rename from sema4ai-code/tests/sema4ai_code_tests/_resources/robots/robot2/robot.yaml rename to sema4ai/tests/sema4ai_code_tests/_resources/robots/robot2/robot.yaml diff --git a/sema4ai-code/tests/sema4ai_code_tests/deps/__init__.py b/sema4ai/tests/sema4ai_code_tests/deps/__init__.py similarity index 100% rename from sema4ai-code/tests/sema4ai_code_tests/deps/__init__.py rename to sema4ai/tests/sema4ai_code_tests/deps/__init__.py diff --git a/sema4ai-code/tests/sema4ai_code_tests/deps/cloud_mock_data.py b/sema4ai/tests/sema4ai_code_tests/deps/cloud_mock_data.py similarity index 99% rename from sema4ai-code/tests/sema4ai_code_tests/deps/cloud_mock_data.py rename to sema4ai/tests/sema4ai_code_tests/deps/cloud_mock_data.py index 1c25828f0..fe525d728 100644 --- a/sema4ai-code/tests/sema4ai_code_tests/deps/cloud_mock_data.py +++ b/sema4ai/tests/sema4ai_code_tests/deps/cloud_mock_data.py @@ -9574,7 +9574,7 @@ "Topic :: Software Development :: Libraries", "Topic :: Software Development :: Libraries :: Python Modules", ], - "description": 'RPA Framework\n=============\n\nREQUEST for user input!\n-----------------------\n\nWe are looking at improving our keyword usage to cover situations where developer might be\nstruggling to smoothly write task for a Robot. Describe the situation where your **implementation speed slows** due to the lack of easier syntax.\n\n`Comment HERE `_\n\n.. contents:: Table of Contents\n :local:\n :depth: 1\n\n.. include-marker\n\n\n\nIntroduction\n------------\n\n`RPA Framework` is a collection of open-source libraries and tools for\nRobotic Process Automation (RPA), and it is designed to be used with both\n`Robot Framework`_ and `Python`_. The goal is to offer well-documented and\nactively maintained core libraries for Software Robot Developers.\n\nLearn more about RPA at `Robocorp Documentation`_.\n\n**The project is:**\n\n- 100% Open Source\n- Sponsored by Robocorp_\n- Optimized for Robocorp `Control Room`_ and `Developer Tools`_\n- Accepting external contributions\n\n.. _Robot Framework: https://robotframework.org\n.. _Robot Framework Foundation: https://robotframework.org/foundation/\n.. _Python: https://www.python.org/\n.. _Robocorp: https://robocorp.com\n.. _Robocorp Documentation: https://robocorp.com/docs/\n.. _Control Room: https://robocorp.com/docs/control-room\n.. _Developer Tools: https://robocorp.com/downloads\n.. _Installing Python Packages: https://robocorp.com/docs/setup/installing-python-package-dependencies\n\nLinks\n^^^^^\n\n- Homepage: ``_\n- Documentation: ``_\n- PyPI: ``_\n- Release notes: ``_\n- RSS feed: ``_\n\n------------\n\n.. image:: https://img.shields.io/github/actions/workflow/status/robocorp/rpaframework/main.yaml?style=for-the-badge\n :target: https://github.com/robocorp/rpaframework/actions/workflows/main.yaml\n :alt: Status\n\n.. image:: https://img.shields.io/pypi/dw/rpaframework?style=for-the-badge\n :target: https://pypi.python.org/pypi/rpaframework\n :alt: rpaframework\n\n.. image:: https://img.shields.io/pypi/l/rpaframework.svg?style=for-the-badge&color=brightgreen\n :target: http://www.apache.org/licenses/LICENSE-2.0.html\n :alt: License\n\n------------\n\nPackages\n--------\n\n.. image:: https://img.shields.io/pypi/v/rpaframework.svg?label=rpaframework&style=for-the-badge\n :target: https://pypi.python.org/pypi/rpaframework\n :alt: rpaframework latest version\n\n\n.. image:: https://img.shields.io/pypi/v/rpaframework-assistant.svg?label=rpaframework-assistant&style=for-the-badge\n :target: https://pypi.python.org/pypi/rpaframework-assistant\n :alt: rpaframework-assistant latest version\n\n\n.. image:: https://img.shields.io/pypi/v/rpaframework-aws.svg?label=rpaframework-aws&style=for-the-badge\n :target: https://pypi.python.org/pypi/rpaframework-aws\n :alt: rpaframework-aws latest version\n\n\n\n.. image:: https://img.shields.io/pypi/v/rpaframework-core.svg?label=rpaframework-core&style=for-the-badge\n :target: https://pypi.python.org/pypi/rpaframework-core\n :alt: rpaframework-core latest version\n\n\n\n.. image:: https://img.shields.io/pypi/v/rpaframework-dialogs.svg?label=rpaframework-dialogs&style=for-the-badge&color=blue\n :target: https://pypi.python.org/pypi/rpaframework-dialogs\n :alt: rpaframework-dialogs latest version\n\n\n\n.. image:: https://img.shields.io/pypi/v/rpaframework-google.svg?label=rpaframework-google&style=for-the-badge&color=blue\n :target: https://pypi.python.org/pypi/rpaframework-google\n :alt: rpaframework-google latest version\n\n\n.. image:: https://img.shields.io/pypi/v/rpaframework-openai.svg?label=rpaframework-openai&style=for-the-badge&color=blue\n :target: https://pypi.python.org/pypi/rpaframework-openai\n :alt: rpaframework-openai latest version\n\n\n.. image:: https://img.shields.io/pypi/v/rpaframework-pdf.svg?label=rpaframework-pdf&style=for-the-badge&color=blue\n :target: https://pypi.python.org/pypi/rpaframework-pdf\n :alt: rpaframework-pdf latest version\n\n\n\n.. image:: https://img.shields.io/pypi/v/rpaframework-recognition.svg?label=rpaframework-recognition&style=for-the-badge&color=blue\n :target: https://pypi.python.org/pypi/rpaframework-recognition\n :alt: rpaframework-recognition latest version\n\n\n\n.. image:: https://img.shields.io/pypi/v/rpaframework-windows.svg?label=rpaframework-windows&style=for-the-badge&color=blue\n :target: https://pypi.python.org/pypi/rpaframework-windows\n :alt: rpaframework-windows latest version\n\nFrom the above packages **rpaframework-core** and **rpaframework-recognition** are support packages, which themselves do **not** contain any libraries.\n\n\nLibraries\n---------\n\nThe RPA Framework project currently includes the following libraries:\n\nThe ``x`` in the **PACKAGE** column means that library **is** included in the **rpaframework** package and for example. ``x,dialogs`` means that ``RPA.Dialogs`` library is provided in both the **rpaframework** and **rpaframework-dialogs** packages.\n\n+----------------------------+-------------------------------------------------------+------------------------+\n| **LIBRARY NAME** | **DESCRIPTION** | **PACKAGE** |\n+----------------------------+-------------------------------------------------------+------------------------+\n| `Archive`_ | Archiving TAR and ZIP files | x |\n+----------------------------+-------------------------------------------------------+------------------------+\n| `Assistant`_ | Display information to a user and request input. | assistant |\n+----------------------------+-------------------------------------------------------+------------------------+\n| `Browser.Selenium`_ | Control browsers and automate the web | x |\n+----------------------------+-------------------------------------------------------+------------------------+\n| `Browser.Playwright`_ | Newer way to control browsers | special (more below) |\n+----------------------------+-------------------------------------------------------+------------------------+\n| `Calendar`_ | For date and time manipulations | x |\n+----------------------------+-------------------------------------------------------+------------------------+\n| `Cloud.AWS`_ | Use Amazon AWS services | x,aws |\n+----------------------------+-------------------------------------------------------+------------------------+\n| `Cloud.Azure`_ | Use Microsoft Azure services | x |\n+----------------------------+-------------------------------------------------------+------------------------+\n| `Cloud.Google`_ | Use Google Cloud services | google |\n+----------------------------+-------------------------------------------------------+------------------------+\n| `Crypto`_ | Common hashing and encryption operations | x |\n+----------------------------+-------------------------------------------------------+------------------------+\n| `Database`_ | Interact with databases | x |\n+----------------------------+-------------------------------------------------------+------------------------+\n| `Desktop`_ | Cross-platform desktop automation | x |\n+----------------------------+-------------------------------------------------------+------------------------+\n| `Desktop.Clipboard`_ | Interact with the system clipboard | x |\n+----------------------------+-------------------------------------------------------+------------------------+\n| `Desktop.OperatingSystem`_ | Read OS information and manipulate processes | x |\n+----------------------------+-------------------------------------------------------+------------------------+\n| `Dialogs`_ | Request user input during executions | dialogs |\n+----------------------------+-------------------------------------------------------+------------------------+\n| `DocumentAI`_ | Intelligent Document Processing wrapper | x |\n+----------------------------+-------------------------------------------------------+------------------------+\n| `DocumentAI.Base64AI`_ | Intelligent Document Processing service | x |\n+----------------------------+-------------------------------------------------------+------------------------+\n| `DocumentAI.Nanonets`_ | Intelligent Document Processing service | x |\n+----------------------------+-------------------------------------------------------+------------------------+\n| `Email.Exchange`_ | E-Mail operations (Exchange protocol) | x |\n+----------------------------+-------------------------------------------------------+------------------------+\n| `Email.ImapSmtp`_ | E-Mail operations (IMAP & SMTP) | x |\n+----------------------------+-------------------------------------------------------+------------------------+\n| `Excel.Application`_ | Control the Excel desktop application | x |\n+----------------------------+-------------------------------------------------------+------------------------+\n| `Excel.Files`_ | Manipulate Excel files directly | x |\n+----------------------------+-------------------------------------------------------+------------------------+\n| `FileSystem`_ | Read and manipulate files and paths | x |\n+----------------------------+-------------------------------------------------------+------------------------+\n| `FTP`_ | Interact with FTP servers | x |\n+----------------------------+-------------------------------------------------------+------------------------+\n| `HTTP`_ | Interact directly with web APIs | x |\n+----------------------------+-------------------------------------------------------+------------------------+\n| `Hubspot`_ | Access HubSpot CRM data objects | x |\n+----------------------------+-------------------------------------------------------+------------------------+\n| `Images`_ | Manipulate images | x |\n+----------------------------+-------------------------------------------------------+------------------------+\n| `JavaAccessBridge`_ | Control Java applications | x |\n+----------------------------+-------------------------------------------------------+------------------------+\n| `JSON`_ | Manipulate JSON objects | x |\n+----------------------------+-------------------------------------------------------+------------------------+\n| `MFA`_ | Authenticate using one-time passwords (OTP) & OAuth2 | x |\n+----------------------------+-------------------------------------------------------+------------------------+\n| `Notifier`_ | Notify messages using different services | x |\n+----------------------------+-------------------------------------------------------+------------------------+\n| `OpenAI`_ | Artificial Intelligence service | openai |\n+----------------------------+-------------------------------------------------------+------------------------+\n| `Outlook.Application`_ | Control the Outlook desktop application | x |\n+----------------------------+-------------------------------------------------------+------------------------+\n| `PDF`_ | Read and create PDF documents | x,pdf |\n+----------------------------+-------------------------------------------------------+------------------------+\n| `Robocorp.Process`_ | Use the Robocorp Process API | x |\n+----------------------------+-------------------------------------------------------+------------------------+\n| `Robocorp.WorkItems`_ | Use the Robocorp Work Items API | x |\n+----------------------------+-------------------------------------------------------+------------------------+\n| `Robocorp.Vault`_ | Use the Robocorp Secrets API | x |\n+----------------------------+-------------------------------------------------------+------------------------+\n| `Robocorp.Storage`_ | Use the Robocorp Asset Storage API | x |\n+----------------------------+-------------------------------------------------------+------------------------+\n| `Salesforce`_ | Salesforce operations | x |\n+----------------------------+-------------------------------------------------------+------------------------+\n| `SAP`_ | Control SAP GUI desktop client | x |\n+----------------------------+-------------------------------------------------------+------------------------+\n| `Smartsheet`_ | Access Smartsheet sheets | x |\n+----------------------------+-------------------------------------------------------+------------------------+\n| `Tables`_ | Manipulate, sort, and filter tabular data | x |\n+----------------------------+-------------------------------------------------------+------------------------+\n| `Tasks`_ | Control task execution | x |\n+----------------------------+-------------------------------------------------------+------------------------+\n| `Twitter`_ | Twitter API interface | x |\n+----------------------------+-------------------------------------------------------+------------------------+\n| `Windows`_ | Alternative library for Windows automation | x,windows |\n+----------------------------+-------------------------------------------------------+------------------------+\n| `Word.Application`_ | Control the Word desktop application | x |\n+----------------------------+-------------------------------------------------------+------------------------+\n\n.. _Archive: https://rpaframework.org/libraries/archive/\n.. _Assistant: https://rpaframework.org/libraries/assistant/\n.. _Browser.Playwright: https://rpaframework.org/libraries/browser_playwright/\n.. _Browser.Selenium: https://rpaframework.org/libraries/browser_selenium/\n.. _Calendar: https://rpaframework.org/libraries/calendar/\n.. _Cloud.AWS: https://rpaframework.org/libraries/cloud_aws/\n.. _Cloud.Azure: https://rpaframework.org/libraries/cloud_azure/\n.. _Cloud.Google: https://rpaframework.org/libraries/cloud_google/\n.. _Crypto: https://rpaframework.org/libraries/crypto/\n.. _Database: https://rpaframework.org/libraries/database/\n.. _Desktop: https://rpaframework.org/libraries/desktop/\n.. _Desktop.Clipboard: https://rpaframework.org/libraries/desktop_clipboard/\n.. _Desktop.Operatingsystem: https://rpaframework.org/libraries/desktop_operatingsystem/\n.. _Dialogs: https://rpaframework.org/libraries/dialogs/\n.. _DocumentAI: https://rpaframework.org/libraries/documentai\n.. _DocumentAI.Base64AI: https://rpaframework.org/libraries/documentai_base64ai/\n.. _DocumentAI.Nanonets: https://rpaframework.org/libraries/documentai_nanonets/\n.. _Email.Exchange: https://rpaframework.org/libraries/email_exchange/\n.. _Email.ImapSmtp: https://rpaframework.org/libraries/email_imapsmtp/\n.. _Excel.Application: https://rpaframework.org/libraries/excel_application/\n.. _Excel.Files: https://rpaframework.org/libraries/excel_files/\n.. _FileSystem: https://rpaframework.org/libraries/filesystem/\n.. _FTP: https://rpaframework.org/libraries/ftp/\n.. _HTTP: https://rpaframework.org/libraries/http/\n.. _Hubspot: https://rpaframework.org/libraries/hubspot/\n.. _Images: https://rpaframework.org/libraries/images/\n.. _JavaAccessBridge: https://rpaframework.org/libraries/javaaccessbridge/\n.. _JSON: https://rpaframework.org/libraries/json/\n.. _MFA: https://rpaframework.org/libraries/mfa/\n.. _Notifier: https://rpaframework.org/libraries/notifier/\n.. _OpenAI: https://rpaframework.org/libraries/openai/\n.. _Outlook.Application: https://rpaframework.org/libraries/outlook_application/\n.. _PDF: https://rpaframework.org/libraries/pdf/\n.. _Robocorp.Process: https://rpaframework.org/libraries/robocorp_process/\n.. _Robocorp.WorkItems: https://rpaframework.org/libraries/robocorp_workitems/\n.. _Robocorp.Vault: https://rpaframework.org/libraries/robocorp_vault/\n.. _Robocorp.Storage: https://rpaframework.org/libraries/robocorp_storage/\n.. _Salesforce: https://rpaframework.org/libraries/salesforce/\n.. _SAP: https://rpaframework.org/libraries/sap/\n.. _Smartsheet: https://rpaframework.org/libraries/smartsheet/\n.. _Tables: https://rpaframework.org/libraries/tables/\n.. _Tasks: https://rpaframework.org/libraries/tasks/\n.. _Twitter: https://rpaframework.org/libraries/twitter/\n.. _Windows: https://rpaframework.org/libraries/windows/\n.. _Word.Application: https://rpaframework.org/libraries/word_application/\n\nInstallation of RPA.Browser.Playwright\n--------------------------------------\n\nThe **RPA.Browser.Playwright** at the moment requires special installation, because\nof the package size and the post install step it needs to be fully installed.\n\nMinimum required conda.yaml to install Playwright:\n\n.. code-block:: yaml\n\n channels:\n - conda-forge\n dependencies:\n - python=3.9.13\n - pip=22.1.2\n - nodejs=16.4.2\n - pip:\n - robotframework-browser==13.3.0\n - rpaframework==22.2.1\n rccPostInstall:\n - rfbrowser init\n\nInstallation\n------------\n\nLearn about installing Python packages at `Installing Python Packages`_.\n\nDefault installation method with Robocorp `Developer Tools`_ using conda.yaml:\n\n.. code-block:: yaml\n\n channels:\n - conda-forge\n dependencies:\n - python=3.9.13\n - pip=22.1.2\n - pip:\n - rpaframework==22.2.1\n\nTo install all extra packages (including Playwright dependencies), you can use:\n\n.. code-block:: yaml\n\n channels:\n - conda-forge\n dependencies:\n - python=3.9.13\n - tesseract=4.1.1\n - pip=22.1.2\n - nodejs=16.14.2\n - pip:\n - robotframework-browser==13.3.0\n - rpaframework==22.2.1\n - rpaframework-aws==5.0.0\n - rpaframework-google==6.1.1\n - rpaframework-recognition==5.0.0\n rccPostInstall:\n - rfbrowser init\n\nSeparate installation of AWS, Dialogs, PDF and Windows libraries without main rpaframework:\n\n.. code-block:: yaml\n\n channels:\n - conda-forge\n dependencies:\n - python=3.9.13\n - pip=22.1.2\n - pip:\n - rpaframework-aws==5.0.0 # included in the rpaframework as an extra\n - rpaframework-dialogs==4.0.0 # included in the rpaframework by default\n - rpaframework-pdf==5.0.0 # included in the rpaframework by default\n - rpaframework-windows==6.0.1 # included in the rpaframework by default\n\n\n.. note:: Python 3.7 or higher is required\n\nExample\n-------\n\nAfter installation the libraries can be directly imported inside\n`Robot Framework`_:\n\n.. code:: robotframework\n\n *** Settings ***\n Library RPA.Browser.Selenium\n\n *** Tasks ***\n Login as user\n Open available browser https://example.com\n Input text id:user-name ${USERNAME}\n Input text id:password ${PASSWORD}\n\nThe libraries are also available inside Python_:\n\n.. code:: python\n\n from RPA.Browser.Selenium import Selenium\n\n lib = Selenium()\n\n lib.open_available_browser("https://example.com")\n lib.input_text("id:user-name", username)\n lib.input_text("id:password", password)\n\nSupport and contact\n-------------------\n\n- `rpaframework.org `_ for library documentation\n- `Robocorp Documentation`_ for guides and tutorials\n- **#rpaframework** channel in `Robot Framework Slack`_ if you\n have open questions or want to contribute\n- `Robocorp Forum`_ for discussions about RPA\n- Communicate with your fellow Software Robot Developers and Robocorp experts\n at `Robocorp Developers Slack`_\n\n.. _Robot Framework Slack: https://robotframework-slack-invite.herokuapp.com/\n.. _Robocorp Forum: https://forum.robocorp.com\n.. _Robocorp Developers Slack: https://robocorp-developers.slack.com\n\nContributing\n------------\n\nFound a bug? Missing a critical feature? Interested in contributing?\nHead over to the `Contribution guide `_\nto see where to get started.\n\nDevelopment\n-----------\n\nRepository development is `Python`_ based and requires at minimum\nPython version 3.7+ installed on the development machine. The default Python version used in the\nRobocorp Robot template is 3.7.5 so it is a good choice for the version to install. Not recommended\nversions are 3.7.6 and 3.8.1, because they have issues with some of the dependencies related to rpaframework.\nAt the time the newer Python versions starting from 3.9 are also not recommended, because some of\nthe dependencies might cause issues.\n\nRepository development tooling is based on basically on `poetry`_ and `invoke`_. Poetry is the\nunderlying tool used for compiling, building and running the package. Invoke is used for scripting\npurposes for example for linting, testing and publishing tasks.\n\nFirst steps to start developing:\n\n1. initial poetry configuration\n\n.. code:: shell\n\n poetry config virtualenvs.path null\n poetry config virtualenvs.in-project true\n poetry config repositories.devpi "https://devpi.robocorp.cloud/ci/test"\n\n2. git clone the repository\n#. create a new Git branch or switch to correct branch or stay in master branch\n\n - some branch naming conventions **feature/name-of-feature**, **hotfix/name-of-the-issue**, **release/number-of-release**\n\n#. ``poetry install`` which install package with its dependencies into the **.venv** directory of the package, for example **packages/main/.venv**\n#. if testing against Robocorp Robot which is using **devdata/env.json**\n\n - set environment variables\n - or ``poetry build`` and use resulting .whl file (in the **dist/** directory) in the Robot **conda.yaml**\n - or ``poetry build`` and push resulting .whl file (in the **dist/** directory) into a repository and use raw url\n to include it in the Robot **conda.yaml**\n - another possibility for Robocorp internal development is to use Robocorp **devpi** instance, by ``poetry publish --ci``\n and point **conda.yaml** to use rpaframework version in devpi\n\n#. ``poetry run python -m robot ``\n\n - common *ROBOT_ARGS* from Robocorp Robot template: ``--report NONE --outputdir output --logtitle "Task log"``\n\n#. ``poetry run python ``\n#. ``invoke lint`` to make sure that code formatting is according to **rpaframework** repository guidelines.\n It is possible and likely that Github action will fail the if developer has not linted the code changes. Code\n formatting is based on `black`_ and `flake8`_ and those are run with the ``invoke lint``.\n#. the library documentation can be created in the repository root (so called "meta" package level). The documentation is\n built by the docgen tools using the locally installed version of the project, local changes for the main package\n will be reflected each time you generate the docs, but if you want to see local changes for optional packages, you must\n utilize ``invoke install-local --package `` using the appropriate package name (e.g., ``rpaframework-aws``). This\n will reinstall that package as a local editable version instead of from PyPI. Multiple such packages can be added by\n repeating the use of the ``--package`` option. In order to reset this, use ``invoke install --reset``.\n\n - ``poetry update`` and/or ``invoke install-local --package ``\n - ``make docs``\n - open ``docs/build/html/index.html`` with the browser to view the changes or execute ``make local`` and navigate to\n ``localhost:8000`` to view docs as a live local webpage.\n\n .. code-block:: toml\n\n # Before\n [tool.poetry.dependencies]\n python = "^3.7"\n rpaframework = { path = "packages/main", extras = ["cv", "playwright", "aws"] }\n rpaframework-google = "^4.0.0"\n rpaframework-windows = "^4.0.0"\n\n # After\n [tool.poetry.dependencies]\n python = "^3.7"\n rpaframework = { path = "packages/main", extras = ["cv", "playwright"] }\n rpaframework-aws = { path = "packages/aws" }\n rpaframework-google = "^4.0.0"\n rpaframework-windows = "^4.0.0"\n\n#. ``invoke test`` (this will run both Python unittests and robotframework tests defined in the packages **tests/ directory**)\n\n - to run specific Python test: ``poetry run pytest path/to/test.py::test_function``\n - to run specific Robotframework test: ``inv testrobot -r -t ``\n\n#. git commit changes\n#. git push changes to remote\n#. create pull request from the branch describing changes included in the description\n#. update **docs/source/releasenotes.rst** with changes (commit and push)\n\nPackaging and publishing are done after changes have been merged into master branch.\nAll the following steps should be done within master branch.\n\n#. git pull latest changes into master branch\n#. in the package directory containing changes execute ``invoke lint`` and ``invoke test``\n#. update **pyproject.toml** with new version according to semantic versioning\n#. update **docs/source/releasenotes.rst** with changes\n#. in the repository root (so called "meta" package level) run command ``poetry update``\n#. git commit changed **poetry.lock** files (on meta and target package level), **releasenotes.rst**\n and **pyproject.toml** with message "PACKAGE. version x.y.z"\n#. git push\n#. ``invoke publish`` after Github action on master branch is all green\n\nSome recommended tools for development\n\n- `Visual Studio Code`_ as a code editor with following extensions:\n\n - `Sema4.ai Code`_\n - `Robot Framework Language Server`_\n - `GitLens`_\n - `Python extension`_\n\n- `GitHub Desktop`_ will make version management less prone to errors\n\n.. _poetry: https://python-poetry.org\n.. _invoke: https://www.pyinvoke.org\n.. _Visual Studio Code: https://code.visualstudio.com\n.. _GitHub Desktop: https://desktop.github.com\n.. _Robocorp Code: https://marketplace.visualstudio.com/items?itemName=robocorp.sema4ai-code\n.. _Robot Framework Language Server: https://marketplace.visualstudio.com/items?itemName=robocorp.robotframework-lsp\n.. _GitLens: https://marketplace.visualstudio.com/items?itemName=eamodio.gitlens\n.. _Python extension: https://marketplace.visualstudio.com/items?itemName=ms-python.python\n.. _black: https://pypi.org/project/black/\n.. _flake8: https://pypi.org/project/flake8/\n\nLicense\n-------\n\nThis project is open-source and licensed under the terms of the\n`Apache License 2.0 `_.\n', + "description": 'RPA Framework\n=============\n\nREQUEST for user input!\n-----------------------\n\nWe are looking at improving our keyword usage to cover situations where developer might be\nstruggling to smoothly write task for a Robot. Describe the situation where your **implementation speed slows** due to the lack of easier syntax.\n\n`Comment HERE `_\n\n.. contents:: Table of Contents\n :local:\n :depth: 1\n\n.. include-marker\n\n\n\nIntroduction\n------------\n\n`RPA Framework` is a collection of open-source libraries and tools for\nRobotic Process Automation (RPA), and it is designed to be used with both\n`Robot Framework`_ and `Python`_. The goal is to offer well-documented and\nactively maintained core libraries for Software Robot Developers.\n\nLearn more about RPA at `Robocorp Documentation`_.\n\n**The project is:**\n\n- 100% Open Source\n- Sponsored by Robocorp_\n- Optimized for Robocorp `Control Room`_ and `Developer Tools`_\n- Accepting external contributions\n\n.. _Robot Framework: https://robotframework.org\n.. _Robot Framework Foundation: https://robotframework.org/foundation/\n.. _Python: https://www.python.org/\n.. _Robocorp: https://robocorp.com\n.. _Robocorp Documentation: https://robocorp.com/docs/\n.. _Control Room: https://robocorp.com/docs/control-room\n.. _Developer Tools: https://robocorp.com/downloads\n.. _Installing Python Packages: https://robocorp.com/docs/setup/installing-python-package-dependencies\n\nLinks\n^^^^^\n\n- Homepage: ``_\n- Documentation: ``_\n- PyPI: ``_\n- Release notes: ``_\n- RSS feed: ``_\n\n------------\n\n.. image:: https://img.shields.io/github/actions/workflow/status/robocorp/rpaframework/main.yaml?style=for-the-badge\n :target: https://github.com/robocorp/rpaframework/actions/workflows/main.yaml\n :alt: Status\n\n.. image:: https://img.shields.io/pypi/dw/rpaframework?style=for-the-badge\n :target: https://pypi.python.org/pypi/rpaframework\n :alt: rpaframework\n\n.. image:: https://img.shields.io/pypi/l/rpaframework.svg?style=for-the-badge&color=brightgreen\n :target: http://www.apache.org/licenses/LICENSE-2.0.html\n :alt: License\n\n------------\n\nPackages\n--------\n\n.. image:: https://img.shields.io/pypi/v/rpaframework.svg?label=rpaframework&style=for-the-badge\n :target: https://pypi.python.org/pypi/rpaframework\n :alt: rpaframework latest version\n\n\n.. image:: https://img.shields.io/pypi/v/rpaframework-assistant.svg?label=rpaframework-assistant&style=for-the-badge\n :target: https://pypi.python.org/pypi/rpaframework-assistant\n :alt: rpaframework-assistant latest version\n\n\n.. image:: https://img.shields.io/pypi/v/rpaframework-aws.svg?label=rpaframework-aws&style=for-the-badge\n :target: https://pypi.python.org/pypi/rpaframework-aws\n :alt: rpaframework-aws latest version\n\n\n\n.. image:: https://img.shields.io/pypi/v/rpaframework-core.svg?label=rpaframework-core&style=for-the-badge\n :target: https://pypi.python.org/pypi/rpaframework-core\n :alt: rpaframework-core latest version\n\n\n\n.. image:: https://img.shields.io/pypi/v/rpaframework-dialogs.svg?label=rpaframework-dialogs&style=for-the-badge&color=blue\n :target: https://pypi.python.org/pypi/rpaframework-dialogs\n :alt: rpaframework-dialogs latest version\n\n\n\n.. image:: https://img.shields.io/pypi/v/rpaframework-google.svg?label=rpaframework-google&style=for-the-badge&color=blue\n :target: https://pypi.python.org/pypi/rpaframework-google\n :alt: rpaframework-google latest version\n\n\n.. image:: https://img.shields.io/pypi/v/rpaframework-openai.svg?label=rpaframework-openai&style=for-the-badge&color=blue\n :target: https://pypi.python.org/pypi/rpaframework-openai\n :alt: rpaframework-openai latest version\n\n\n.. image:: https://img.shields.io/pypi/v/rpaframework-pdf.svg?label=rpaframework-pdf&style=for-the-badge&color=blue\n :target: https://pypi.python.org/pypi/rpaframework-pdf\n :alt: rpaframework-pdf latest version\n\n\n\n.. image:: https://img.shields.io/pypi/v/rpaframework-recognition.svg?label=rpaframework-recognition&style=for-the-badge&color=blue\n :target: https://pypi.python.org/pypi/rpaframework-recognition\n :alt: rpaframework-recognition latest version\n\n\n\n.. image:: https://img.shields.io/pypi/v/rpaframework-windows.svg?label=rpaframework-windows&style=for-the-badge&color=blue\n :target: https://pypi.python.org/pypi/rpaframework-windows\n :alt: rpaframework-windows latest version\n\nFrom the above packages **rpaframework-core** and **rpaframework-recognition** are support packages, which themselves do **not** contain any libraries.\n\n\nLibraries\n---------\n\nThe RPA Framework project currently includes the following libraries:\n\nThe ``x`` in the **PACKAGE** column means that library **is** included in the **rpaframework** package and for example. ``x,dialogs`` means that ``RPA.Dialogs`` library is provided in both the **rpaframework** and **rpaframework-dialogs** packages.\n\n+----------------------------+-------------------------------------------------------+------------------------+\n| **LIBRARY NAME** | **DESCRIPTION** | **PACKAGE** |\n+----------------------------+-------------------------------------------------------+------------------------+\n| `Archive`_ | Archiving TAR and ZIP files | x |\n+----------------------------+-------------------------------------------------------+------------------------+\n| `Assistant`_ | Display information to a user and request input. | assistant |\n+----------------------------+-------------------------------------------------------+------------------------+\n| `Browser.Selenium`_ | Control browsers and automate the web | x |\n+----------------------------+-------------------------------------------------------+------------------------+\n| `Browser.Playwright`_ | Newer way to control browsers | special (more below) |\n+----------------------------+-------------------------------------------------------+------------------------+\n| `Calendar`_ | For date and time manipulations | x |\n+----------------------------+-------------------------------------------------------+------------------------+\n| `Cloud.AWS`_ | Use Amazon AWS services | x,aws |\n+----------------------------+-------------------------------------------------------+------------------------+\n| `Cloud.Azure`_ | Use Microsoft Azure services | x |\n+----------------------------+-------------------------------------------------------+------------------------+\n| `Cloud.Google`_ | Use Google Cloud services | google |\n+----------------------------+-------------------------------------------------------+------------------------+\n| `Crypto`_ | Common hashing and encryption operations | x |\n+----------------------------+-------------------------------------------------------+------------------------+\n| `Database`_ | Interact with databases | x |\n+----------------------------+-------------------------------------------------------+------------------------+\n| `Desktop`_ | Cross-platform desktop automation | x |\n+----------------------------+-------------------------------------------------------+------------------------+\n| `Desktop.Clipboard`_ | Interact with the system clipboard | x |\n+----------------------------+-------------------------------------------------------+------------------------+\n| `Desktop.OperatingSystem`_ | Read OS information and manipulate processes | x |\n+----------------------------+-------------------------------------------------------+------------------------+\n| `Dialogs`_ | Request user input during executions | dialogs |\n+----------------------------+-------------------------------------------------------+------------------------+\n| `DocumentAI`_ | Intelligent Document Processing wrapper | x |\n+----------------------------+-------------------------------------------------------+------------------------+\n| `DocumentAI.Base64AI`_ | Intelligent Document Processing service | x |\n+----------------------------+-------------------------------------------------------+------------------------+\n| `DocumentAI.Nanonets`_ | Intelligent Document Processing service | x |\n+----------------------------+-------------------------------------------------------+------------------------+\n| `Email.Exchange`_ | E-Mail operations (Exchange protocol) | x |\n+----------------------------+-------------------------------------------------------+------------------------+\n| `Email.ImapSmtp`_ | E-Mail operations (IMAP & SMTP) | x |\n+----------------------------+-------------------------------------------------------+------------------------+\n| `Excel.Application`_ | Control the Excel desktop application | x |\n+----------------------------+-------------------------------------------------------+------------------------+\n| `Excel.Files`_ | Manipulate Excel files directly | x |\n+----------------------------+-------------------------------------------------------+------------------------+\n| `FileSystem`_ | Read and manipulate files and paths | x |\n+----------------------------+-------------------------------------------------------+------------------------+\n| `FTP`_ | Interact with FTP servers | x |\n+----------------------------+-------------------------------------------------------+------------------------+\n| `HTTP`_ | Interact directly with web APIs | x |\n+----------------------------+-------------------------------------------------------+------------------------+\n| `Hubspot`_ | Access HubSpot CRM data objects | x |\n+----------------------------+-------------------------------------------------------+------------------------+\n| `Images`_ | Manipulate images | x |\n+----------------------------+-------------------------------------------------------+------------------------+\n| `JavaAccessBridge`_ | Control Java applications | x |\n+----------------------------+-------------------------------------------------------+------------------------+\n| `JSON`_ | Manipulate JSON objects | x |\n+----------------------------+-------------------------------------------------------+------------------------+\n| `MFA`_ | Authenticate using one-time passwords (OTP) & OAuth2 | x |\n+----------------------------+-------------------------------------------------------+------------------------+\n| `Notifier`_ | Notify messages using different services | x |\n+----------------------------+-------------------------------------------------------+------------------------+\n| `OpenAI`_ | Artificial Intelligence service | openai |\n+----------------------------+-------------------------------------------------------+------------------------+\n| `Outlook.Application`_ | Control the Outlook desktop application | x |\n+----------------------------+-------------------------------------------------------+------------------------+\n| `PDF`_ | Read and create PDF documents | x,pdf |\n+----------------------------+-------------------------------------------------------+------------------------+\n| `Robocorp.Process`_ | Use the Robocorp Process API | x |\n+----------------------------+-------------------------------------------------------+------------------------+\n| `Robocorp.WorkItems`_ | Use the Robocorp Work Items API | x |\n+----------------------------+-------------------------------------------------------+------------------------+\n| `Robocorp.Vault`_ | Use the Robocorp Secrets API | x |\n+----------------------------+-------------------------------------------------------+------------------------+\n| `Robocorp.Storage`_ | Use the Robocorp Asset Storage API | x |\n+----------------------------+-------------------------------------------------------+------------------------+\n| `Salesforce`_ | Salesforce operations | x |\n+----------------------------+-------------------------------------------------------+------------------------+\n| `SAP`_ | Control SAP GUI desktop client | x |\n+----------------------------+-------------------------------------------------------+------------------------+\n| `Smartsheet`_ | Access Smartsheet sheets | x |\n+----------------------------+-------------------------------------------------------+------------------------+\n| `Tables`_ | Manipulate, sort, and filter tabular data | x |\n+----------------------------+-------------------------------------------------------+------------------------+\n| `Tasks`_ | Control task execution | x |\n+----------------------------+-------------------------------------------------------+------------------------+\n| `Twitter`_ | Twitter API interface | x |\n+----------------------------+-------------------------------------------------------+------------------------+\n| `Windows`_ | Alternative library for Windows automation | x,windows |\n+----------------------------+-------------------------------------------------------+------------------------+\n| `Word.Application`_ | Control the Word desktop application | x |\n+----------------------------+-------------------------------------------------------+------------------------+\n\n.. _Archive: https://rpaframework.org/libraries/archive/\n.. _Assistant: https://rpaframework.org/libraries/assistant/\n.. _Browser.Playwright: https://rpaframework.org/libraries/browser_playwright/\n.. _Browser.Selenium: https://rpaframework.org/libraries/browser_selenium/\n.. _Calendar: https://rpaframework.org/libraries/calendar/\n.. _Cloud.AWS: https://rpaframework.org/libraries/cloud_aws/\n.. _Cloud.Azure: https://rpaframework.org/libraries/cloud_azure/\n.. _Cloud.Google: https://rpaframework.org/libraries/cloud_google/\n.. _Crypto: https://rpaframework.org/libraries/crypto/\n.. _Database: https://rpaframework.org/libraries/database/\n.. _Desktop: https://rpaframework.org/libraries/desktop/\n.. _Desktop.Clipboard: https://rpaframework.org/libraries/desktop_clipboard/\n.. _Desktop.Operatingsystem: https://rpaframework.org/libraries/desktop_operatingsystem/\n.. _Dialogs: https://rpaframework.org/libraries/dialogs/\n.. _DocumentAI: https://rpaframework.org/libraries/documentai\n.. _DocumentAI.Base64AI: https://rpaframework.org/libraries/documentai_base64ai/\n.. _DocumentAI.Nanonets: https://rpaframework.org/libraries/documentai_nanonets/\n.. _Email.Exchange: https://rpaframework.org/libraries/email_exchange/\n.. _Email.ImapSmtp: https://rpaframework.org/libraries/email_imapsmtp/\n.. _Excel.Application: https://rpaframework.org/libraries/excel_application/\n.. _Excel.Files: https://rpaframework.org/libraries/excel_files/\n.. _FileSystem: https://rpaframework.org/libraries/filesystem/\n.. _FTP: https://rpaframework.org/libraries/ftp/\n.. _HTTP: https://rpaframework.org/libraries/http/\n.. _Hubspot: https://rpaframework.org/libraries/hubspot/\n.. _Images: https://rpaframework.org/libraries/images/\n.. _JavaAccessBridge: https://rpaframework.org/libraries/javaaccessbridge/\n.. _JSON: https://rpaframework.org/libraries/json/\n.. _MFA: https://rpaframework.org/libraries/mfa/\n.. _Notifier: https://rpaframework.org/libraries/notifier/\n.. _OpenAI: https://rpaframework.org/libraries/openai/\n.. _Outlook.Application: https://rpaframework.org/libraries/outlook_application/\n.. _PDF: https://rpaframework.org/libraries/pdf/\n.. _Robocorp.Process: https://rpaframework.org/libraries/robocorp_process/\n.. _Robocorp.WorkItems: https://rpaframework.org/libraries/robocorp_workitems/\n.. _Robocorp.Vault: https://rpaframework.org/libraries/robocorp_vault/\n.. _Robocorp.Storage: https://rpaframework.org/libraries/robocorp_storage/\n.. _Salesforce: https://rpaframework.org/libraries/salesforce/\n.. _SAP: https://rpaframework.org/libraries/sap/\n.. _Smartsheet: https://rpaframework.org/libraries/smartsheet/\n.. _Tables: https://rpaframework.org/libraries/tables/\n.. _Tasks: https://rpaframework.org/libraries/tasks/\n.. _Twitter: https://rpaframework.org/libraries/twitter/\n.. _Windows: https://rpaframework.org/libraries/windows/\n.. _Word.Application: https://rpaframework.org/libraries/word_application/\n\nInstallation of RPA.Browser.Playwright\n--------------------------------------\n\nThe **RPA.Browser.Playwright** at the moment requires special installation, because\nof the package size and the post install step it needs to be fully installed.\n\nMinimum required conda.yaml to install Playwright:\n\n.. code-block:: yaml\n\n channels:\n - conda-forge\n dependencies:\n - python=3.9.13\n - pip=22.1.2\n - nodejs=16.4.2\n - pip:\n - robotframework-browser==13.3.0\n - rpaframework==22.2.1\n rccPostInstall:\n - rfbrowser init\n\nInstallation\n------------\n\nLearn about installing Python packages at `Installing Python Packages`_.\n\nDefault installation method with Robocorp `Developer Tools`_ using conda.yaml:\n\n.. code-block:: yaml\n\n channels:\n - conda-forge\n dependencies:\n - python=3.9.13\n - pip=22.1.2\n - pip:\n - rpaframework==22.2.1\n\nTo install all extra packages (including Playwright dependencies), you can use:\n\n.. code-block:: yaml\n\n channels:\n - conda-forge\n dependencies:\n - python=3.9.13\n - tesseract=4.1.1\n - pip=22.1.2\n - nodejs=16.14.2\n - pip:\n - robotframework-browser==13.3.0\n - rpaframework==22.2.1\n - rpaframework-aws==5.0.0\n - rpaframework-google==6.1.1\n - rpaframework-recognition==5.0.0\n rccPostInstall:\n - rfbrowser init\n\nSeparate installation of AWS, Dialogs, PDF and Windows libraries without main rpaframework:\n\n.. code-block:: yaml\n\n channels:\n - conda-forge\n dependencies:\n - python=3.9.13\n - pip=22.1.2\n - pip:\n - rpaframework-aws==5.0.0 # included in the rpaframework as an extra\n - rpaframework-dialogs==4.0.0 # included in the rpaframework by default\n - rpaframework-pdf==5.0.0 # included in the rpaframework by default\n - rpaframework-windows==6.0.1 # included in the rpaframework by default\n\n\n.. note:: Python 3.7 or higher is required\n\nExample\n-------\n\nAfter installation the libraries can be directly imported inside\n`Robot Framework`_:\n\n.. code:: robotframework\n\n *** Settings ***\n Library RPA.Browser.Selenium\n\n *** Tasks ***\n Login as user\n Open available browser https://example.com\n Input text id:user-name ${USERNAME}\n Input text id:password ${PASSWORD}\n\nThe libraries are also available inside Python_:\n\n.. code:: python\n\n from RPA.Browser.Selenium import Selenium\n\n lib = Selenium()\n\n lib.open_available_browser("https://example.com")\n lib.input_text("id:user-name", username)\n lib.input_text("id:password", password)\n\nSupport and contact\n-------------------\n\n- `rpaframework.org `_ for library documentation\n- `Robocorp Documentation`_ for guides and tutorials\n- **#rpaframework** channel in `Robot Framework Slack`_ if you\n have open questions or want to contribute\n- `Robocorp Forum`_ for discussions about RPA\n- Communicate with your fellow Software Robot Developers and Robocorp experts\n at `Robocorp Developers Slack`_\n\n.. _Robot Framework Slack: https://robotframework-slack-invite.herokuapp.com/\n.. _Robocorp Forum: https://forum.robocorp.com\n.. _Robocorp Developers Slack: https://robocorp-developers.slack.com\n\nContributing\n------------\n\nFound a bug? Missing a critical feature? Interested in contributing?\nHead over to the `Contribution guide `_\nto see where to get started.\n\nDevelopment\n-----------\n\nRepository development is `Python`_ based and requires at minimum\nPython version 3.7+ installed on the development machine. The default Python version used in the\nRobocorp Robot template is 3.7.5 so it is a good choice for the version to install. Not recommended\nversions are 3.7.6 and 3.8.1, because they have issues with some of the dependencies related to rpaframework.\nAt the time the newer Python versions starting from 3.9 are also not recommended, because some of\nthe dependencies might cause issues.\n\nRepository development tooling is based on basically on `poetry`_ and `invoke`_. Poetry is the\nunderlying tool used for compiling, building and running the package. Invoke is used for scripting\npurposes for example for linting, testing and publishing tasks.\n\nFirst steps to start developing:\n\n1. initial poetry configuration\n\n.. code:: shell\n\n poetry config virtualenvs.path null\n poetry config virtualenvs.in-project true\n poetry config repositories.devpi "https://devpi.robocorp.cloud/ci/test"\n\n2. git clone the repository\n#. create a new Git branch or switch to correct branch or stay in master branch\n\n - some branch naming conventions **feature/name-of-feature**, **hotfix/name-of-the-issue**, **release/number-of-release**\n\n#. ``poetry install`` which install package with its dependencies into the **.venv** directory of the package, for example **packages/main/.venv**\n#. if testing against Robocorp Robot which is using **devdata/env.json**\n\n - set environment variables\n - or ``poetry build`` and use resulting .whl file (in the **dist/** directory) in the Robot **conda.yaml**\n - or ``poetry build`` and push resulting .whl file (in the **dist/** directory) into a repository and use raw url\n to include it in the Robot **conda.yaml**\n - another possibility for Robocorp internal development is to use Robocorp **devpi** instance, by ``poetry publish --ci``\n and point **conda.yaml** to use rpaframework version in devpi\n\n#. ``poetry run python -m robot ``\n\n - common *ROBOT_ARGS* from Robocorp Robot template: ``--report NONE --outputdir output --logtitle "Task log"``\n\n#. ``poetry run python ``\n#. ``invoke lint`` to make sure that code formatting is according to **rpaframework** repository guidelines.\n It is possible and likely that Github action will fail the if developer has not linted the code changes. Code\n formatting is based on `black`_ and `flake8`_ and those are run with the ``invoke lint``.\n#. the library documentation can be created in the repository root (so called "meta" package level). The documentation is\n built by the docgen tools using the locally installed version of the project, local changes for the main package\n will be reflected each time you generate the docs, but if you want to see local changes for optional packages, you must\n utilize ``invoke install-local --package `` using the appropriate package name (e.g., ``rpaframework-aws``). This\n will reinstall that package as a local editable version instead of from PyPI. Multiple such packages can be added by\n repeating the use of the ``--package`` option. In order to reset this, use ``invoke install --reset``.\n\n - ``poetry update`` and/or ``invoke install-local --package ``\n - ``make docs``\n - open ``docs/build/html/index.html`` with the browser to view the changes or execute ``make local`` and navigate to\n ``localhost:8000`` to view docs as a live local webpage.\n\n .. code-block:: toml\n\n # Before\n [tool.poetry.dependencies]\n python = "^3.7"\n rpaframework = { path = "packages/main", extras = ["cv", "playwright", "aws"] }\n rpaframework-google = "^4.0.0"\n rpaframework-windows = "^4.0.0"\n\n # After\n [tool.poetry.dependencies]\n python = "^3.7"\n rpaframework = { path = "packages/main", extras = ["cv", "playwright"] }\n rpaframework-aws = { path = "packages/aws" }\n rpaframework-google = "^4.0.0"\n rpaframework-windows = "^4.0.0"\n\n#. ``invoke test`` (this will run both Python unittests and robotframework tests defined in the packages **tests/ directory**)\n\n - to run specific Python test: ``poetry run pytest path/to/test.py::test_function``\n - to run specific Robotframework test: ``inv testrobot -r -t ``\n\n#. git commit changes\n#. git push changes to remote\n#. create pull request from the branch describing changes included in the description\n#. update **docs/source/releasenotes.rst** with changes (commit and push)\n\nPackaging and publishing are done after changes have been merged into master branch.\nAll the following steps should be done within master branch.\n\n#. git pull latest changes into master branch\n#. in the package directory containing changes execute ``invoke lint`` and ``invoke test``\n#. update **pyproject.toml** with new version according to semantic versioning\n#. update **docs/source/releasenotes.rst** with changes\n#. in the repository root (so called "meta" package level) run command ``poetry update``\n#. git commit changed **poetry.lock** files (on meta and target package level), **releasenotes.rst**\n and **pyproject.toml** with message "PACKAGE. version x.y.z"\n#. git push\n#. ``invoke publish`` after Github action on master branch is all green\n\nSome recommended tools for development\n\n- `Visual Studio Code`_ as a code editor with following extensions:\n\n - `Sema4.ai`_\n - `Robot Framework Language Server`_\n - `GitLens`_\n - `Python extension`_\n\n- `GitHub Desktop`_ will make version management less prone to errors\n\n.. _poetry: https://python-poetry.org\n.. _invoke: https://www.pyinvoke.org\n.. _Visual Studio Code: https://code.visualstudio.com\n.. _GitHub Desktop: https://desktop.github.com\n.. _Robocorp Code: https://marketplace.visualstudio.com/items?itemName=robocorp.sema4ai\n.. _Robot Framework Language Server: https://marketplace.visualstudio.com/items?itemName=robocorp.robotframework-lsp\n.. _GitLens: https://marketplace.visualstudio.com/items?itemName=eamodio.gitlens\n.. _Python extension: https://marketplace.visualstudio.com/items?itemName=ms-python.python\n.. _black: https://pypi.org/project/black/\n.. _flake8: https://pypi.org/project/flake8/\n\nLicense\n-------\n\nThis project is open-source and licensed under the terms of the\n`Apache License 2.0 `_.\n', "description_content_type": "text/x-rst", "docs_url": None, "download_url": "", diff --git a/sema4ai-code/tests/sema4ai_code_tests/deps/test_conda_cloud.py b/sema4ai/tests/sema4ai_code_tests/deps/test_conda_cloud.py similarity index 100% rename from sema4ai-code/tests/sema4ai_code_tests/deps/test_conda_cloud.py rename to sema4ai/tests/sema4ai_code_tests/deps/test_conda_cloud.py diff --git a/sema4ai-code/tests/sema4ai_code_tests/deps/test_conda_cloud/noarch-testdata.json b/sema4ai/tests/sema4ai_code_tests/deps/test_conda_cloud/noarch-testdata.json similarity index 100% rename from sema4ai-code/tests/sema4ai_code_tests/deps/test_conda_cloud/noarch-testdata.json rename to sema4ai/tests/sema4ai_code_tests/deps/test_conda_cloud/noarch-testdata.json diff --git a/sema4ai-code/tests/sema4ai_code_tests/deps/test_conda_cloud/test_conda_cloud_index.yml b/sema4ai/tests/sema4ai_code_tests/deps/test_conda_cloud/test_conda_cloud_index.yml similarity index 100% rename from sema4ai-code/tests/sema4ai_code_tests/deps/test_conda_cloud/test_conda_cloud_index.yml rename to sema4ai/tests/sema4ai_code_tests/deps/test_conda_cloud/test_conda_cloud_index.yml diff --git a/sema4ai-code/tests/sema4ai_code_tests/deps/test_conda_yaml_deps.py b/sema4ai/tests/sema4ai_code_tests/deps/test_conda_yaml_deps.py similarity index 100% rename from sema4ai-code/tests/sema4ai_code_tests/deps/test_conda_yaml_deps.py rename to sema4ai/tests/sema4ai_code_tests/deps/test_conda_yaml_deps.py diff --git a/sema4ai-code/tests/sema4ai_code_tests/deps/test_conda_yaml_deps/check_bad_conda/conda.yaml b/sema4ai/tests/sema4ai_code_tests/deps/test_conda_yaml_deps/check_bad_conda/conda.yaml similarity index 100% rename from sema4ai-code/tests/sema4ai_code_tests/deps/test_conda_yaml_deps/check_bad_conda/conda.yaml rename to sema4ai/tests/sema4ai_code_tests/deps/test_conda_yaml_deps/check_bad_conda/conda.yaml diff --git a/sema4ai-code/tests/sema4ai_code_tests/deps/test_conda_yaml_deps/check_bad_version/conda.yaml b/sema4ai/tests/sema4ai_code_tests/deps/test_conda_yaml_deps/check_bad_version/conda.yaml similarity index 100% rename from sema4ai-code/tests/sema4ai_code_tests/deps/test_conda_yaml_deps/check_bad_version/conda.yaml rename to sema4ai/tests/sema4ai_code_tests/deps/test_conda_yaml_deps/check_bad_version/conda.yaml diff --git a/sema4ai-code/tests/sema4ai_code_tests/deps/test_conda_yaml_deps/check_bad_version2/conda.yaml b/sema4ai/tests/sema4ai_code_tests/deps/test_conda_yaml_deps/check_bad_version2/conda.yaml similarity index 100% rename from sema4ai-code/tests/sema4ai_code_tests/deps/test_conda_yaml_deps/check_bad_version2/conda.yaml rename to sema4ai/tests/sema4ai_code_tests/deps/test_conda_yaml_deps/check_bad_version2/conda.yaml diff --git a/sema4ai-code/tests/sema4ai_code_tests/deps/test_conda_yaml_deps/check_conda_version/conda.yaml b/sema4ai/tests/sema4ai_code_tests/deps/test_conda_yaml_deps/check_conda_version/conda.yaml similarity index 100% rename from sema4ai-code/tests/sema4ai_code_tests/deps/test_conda_yaml_deps/check_conda_version/conda.yaml rename to sema4ai/tests/sema4ai_code_tests/deps/test_conda_yaml_deps/check_conda_version/conda.yaml diff --git a/sema4ai-code/tests/sema4ai_code_tests/deps/test_conda_yaml_deps/check_github/conda.yaml b/sema4ai/tests/sema4ai_code_tests/deps/test_conda_yaml_deps/check_github/conda.yaml similarity index 100% rename from sema4ai-code/tests/sema4ai_code_tests/deps/test_conda_yaml_deps/check_github/conda.yaml rename to sema4ai/tests/sema4ai_code_tests/deps/test_conda_yaml_deps/check_github/conda.yaml diff --git a/sema4ai-code/tests/sema4ai_code_tests/deps/test_conda_yaml_deps/check_python_version/conda.yaml b/sema4ai/tests/sema4ai_code_tests/deps/test_conda_yaml_deps/check_python_version/conda.yaml similarity index 100% rename from sema4ai-code/tests/sema4ai_code_tests/deps/test_conda_yaml_deps/check_python_version/conda.yaml rename to sema4ai/tests/sema4ai_code_tests/deps/test_conda_yaml_deps/check_python_version/conda.yaml diff --git a/sema4ai-code/tests/sema4ai_code_tests/deps/test_conda_yaml_deps/check_use_trustore/conda.yaml b/sema4ai/tests/sema4ai_code_tests/deps/test_conda_yaml_deps/check_use_trustore/conda.yaml similarity index 100% rename from sema4ai-code/tests/sema4ai_code_tests/deps/test_conda_yaml_deps/check_use_trustore/conda.yaml rename to sema4ai/tests/sema4ai_code_tests/deps/test_conda_yaml_deps/check_use_trustore/conda.yaml diff --git a/sema4ai-code/tests/sema4ai_code_tests/deps/test_conda_yaml_deps/test_conda_version_old.yml b/sema4ai/tests/sema4ai_code_tests/deps/test_conda_yaml_deps/test_conda_version_old.yml similarity index 94% rename from sema4ai-code/tests/sema4ai_code_tests/deps/test_conda_yaml_deps/test_conda_version_old.yml rename to sema4ai/tests/sema4ai_code_tests/deps/test_conda_yaml_deps/test_conda_version_old.yml index 7723c303e..3884984ac 100644 --- a/sema4ai-code/tests/sema4ai_code_tests/deps/test_conda_yaml_deps/test_conda_version_old.yml +++ b/sema4ai/tests/sema4ai_code_tests/deps/test_conda_yaml_deps/test_conda_version_old.yml @@ -10,4 +10,4 @@ character: 4 line: 12 severity: 2 - source: sema4ai-code + source: sema4ai diff --git a/sema4ai-code/tests/sema4ai_code_tests/deps/test_conda_yaml_deps/test_github_custom_package.yml b/sema4ai/tests/sema4ai_code_tests/deps/test_conda_yaml_deps/test_github_custom_package.yml similarity index 100% rename from sema4ai-code/tests/sema4ai_code_tests/deps/test_conda_yaml_deps/test_github_custom_package.yml rename to sema4ai/tests/sema4ai_code_tests/deps/test_conda_yaml_deps/test_github_custom_package.yml diff --git a/sema4ai-code/tests/sema4ai_code_tests/deps/test_conda_yaml_deps/test_hover_conda_yaml_rpaframework.yml b/sema4ai/tests/sema4ai_code_tests/deps/test_conda_yaml_deps/test_hover_conda_yaml_rpaframework.yml similarity index 99% rename from sema4ai-code/tests/sema4ai_code_tests/deps/test_conda_yaml_deps/test_hover_conda_yaml_rpaframework.yml rename to sema4ai/tests/sema4ai_code_tests/deps/test_conda_yaml_deps/test_hover_conda_yaml_rpaframework.yml index f718426a1..addfac0f1 100644 --- a/sema4ai-code/tests/sema4ai_code_tests/deps/test_conda_yaml_deps/test_hover_conda_yaml_rpaframework.yml +++ b/sema4ai/tests/sema4ai_code_tests/deps/test_conda_yaml_deps/test_hover_conda_yaml_rpaframework.yml @@ -326,12 +326,12 @@ contents: \ **releasenotes.rst**\n and **pyproject.toml** with message \"PACKAGE. version\ \ x.y.z\"\n#. git push\n#. ``invoke publish`` after Github action on master branch\ \ is all green\n\nSome recommended tools for development\n\n- `Visual Studio Code`_\ - \ as a code editor with following extensions:\n\n - `Sema4.ai Code`_\n - `Robot\ + \ as a code editor with following extensions:\n\n - `Sema4.ai`_\n - `Robot\ \ Framework Language Server`_\n - `GitLens`_\n - `Python extension`_\n\n-\ \ `GitHub Desktop`_ will make version management less prone to errors\n\n.. _poetry:\ \ https://python-poetry.org\n.. _invoke: https://www.pyinvoke.org\n.. _Visual\ \ Studio Code: https://code.visualstudio.com\n.. _GitHub Desktop: https://desktop.github.com\n\ - .. _Robocorp Code: https://marketplace.visualstudio.com/items?itemName=robocorp.sema4ai-code\n\ + .. _Robocorp Code: https://marketplace.visualstudio.com/items?itemName=robocorp.sema4ai\n\ .. _Robot Framework Language Server: https://marketplace.visualstudio.com/items?itemName=robocorp.robotframework-lsp\n\ .. _GitLens: https://marketplace.visualstudio.com/items?itemName=eamodio.gitlens\n\ .. _Python extension: https://marketplace.visualstudio.com/items?itemName=ms-python.python\n\ diff --git a/sema4ai-code/tests/sema4ai_code_tests/deps/test_conda_yaml_deps/test_python_version_check_bad_conda_.yml b/sema4ai/tests/sema4ai_code_tests/deps/test_conda_yaml_deps/test_python_version_check_bad_conda_.yml similarity index 94% rename from sema4ai-code/tests/sema4ai_code_tests/deps/test_conda_yaml_deps/test_python_version_check_bad_conda_.yml rename to sema4ai/tests/sema4ai_code_tests/deps/test_conda_yaml_deps/test_python_version_check_bad_conda_.yml index 71b08d027..a6baf32d3 100644 --- a/sema4ai-code/tests/sema4ai_code_tests/deps/test_conda_yaml_deps/test_python_version_check_bad_conda_.yml +++ b/sema4ai/tests/sema4ai_code_tests/deps/test_conda_yaml_deps/test_python_version_check_bad_conda_.yml @@ -10,4 +10,4 @@ character: 3 line: 8 severity: 1 - source: sema4ai-code + source: sema4ai diff --git a/sema4ai-code/tests/sema4ai_code_tests/deps/test_conda_yaml_deps/test_python_version_check_bad_version2_.yml b/sema4ai/tests/sema4ai_code_tests/deps/test_conda_yaml_deps/test_python_version_check_bad_version2_.yml similarity index 91% rename from sema4ai-code/tests/sema4ai_code_tests/deps/test_conda_yaml_deps/test_python_version_check_bad_version2_.yml rename to sema4ai/tests/sema4ai_code_tests/deps/test_conda_yaml_deps/test_python_version_check_bad_version2_.yml index 2a1def363..7b1bf9e9f 100644 --- a/sema4ai-code/tests/sema4ai_code_tests/deps/test_conda_yaml_deps/test_python_version_check_bad_version2_.yml +++ b/sema4ai/tests/sema4ai_code_tests/deps/test_conda_yaml_deps/test_python_version_check_bad_version2_.yml @@ -8,7 +8,7 @@ character: 4 line: 10 severity: 2 - source: sema4ai-code + source: sema4ai - message: 'Error parsing ''22 a . 5.3'': invalid requirement: a . 5.3' range: end: @@ -18,4 +18,4 @@ character: 8 line: 14 severity: 1 - source: sema4ai-code + source: sema4ai diff --git a/sema4ai-code/tests/sema4ai_code_tests/deps/test_conda_yaml_deps/test_python_version_check_bad_version_.yml b/sema4ai/tests/sema4ai_code_tests/deps/test_conda_yaml_deps/test_python_version_check_bad_version_.yml similarity index 91% rename from sema4ai-code/tests/sema4ai_code_tests/deps/test_conda_yaml_deps/test_python_version_check_bad_version_.yml rename to sema4ai/tests/sema4ai_code_tests/deps/test_conda_yaml_deps/test_python_version_check_bad_version_.yml index b65162db1..160225b7d 100644 --- a/sema4ai-code/tests/sema4ai_code_tests/deps/test_conda_yaml_deps/test_python_version_check_bad_version_.yml +++ b/sema4ai/tests/sema4ai_code_tests/deps/test_conda_yaml_deps/test_python_version_check_bad_version_.yml @@ -8,7 +8,7 @@ character: 4 line: 10 severity: 2 - source: sema4ai-code + source: sema4ai - message: 'Error parsing ''rpaframework==22 a . 5.3'': invalid requirement: a . 5.3' range: end: @@ -18,4 +18,4 @@ character: 8 line: 14 severity: 1 - source: sema4ai-code + source: sema4ai diff --git a/sema4ai-code/tests/sema4ai_code_tests/deps/test_conda_yaml_deps/test_python_version_check_python_version_.yml b/sema4ai/tests/sema4ai_code_tests/deps/test_conda_yaml_deps/test_python_version_check_python_version_.yml similarity index 93% rename from sema4ai-code/tests/sema4ai_code_tests/deps/test_conda_yaml_deps/test_python_version_check_python_version_.yml rename to sema4ai/tests/sema4ai_code_tests/deps/test_conda_yaml_deps/test_python_version_check_python_version_.yml index 54836f0a8..ed955d819 100644 --- a/sema4ai-code/tests/sema4ai_code_tests/deps/test_conda_yaml_deps/test_python_version_check_python_version_.yml +++ b/sema4ai/tests/sema4ai_code_tests/deps/test_conda_yaml_deps/test_python_version_check_python_version_.yml @@ -8,7 +8,7 @@ character: 4 line: 10 severity: 2 - source: sema4ai-code + source: sema4ai - message: 'Consider updating ''rpaframework'' to the latest version: ''24.1.2''. Found 13 versions newer than the current one: 23.0.0, 23.1.0, 23.2.0, 23.2.1, 23.3.0, 23.4.0, 23.5.0, 23.5.1, 23.5.2, 24.0.0, 24.1.0, 24.1.1, 24.1.2.' @@ -20,4 +20,4 @@ character: 8 line: 14 severity: 2 - source: sema4ai-code + source: sema4ai diff --git a/sema4ai-code/tests/sema4ai_code_tests/deps/test_conda_yaml_deps/test_python_version_check_use_trustore_.yml b/sema4ai/tests/sema4ai_code_tests/deps/test_conda_yaml_deps/test_python_version_check_use_trustore_.yml similarity index 93% rename from sema4ai-code/tests/sema4ai_code_tests/deps/test_conda_yaml_deps/test_python_version_check_use_trustore_.yml rename to sema4ai/tests/sema4ai_code_tests/deps/test_conda_yaml_deps/test_python_version_check_use_trustore_.yml index 54836f0a8..ed955d819 100644 --- a/sema4ai-code/tests/sema4ai_code_tests/deps/test_conda_yaml_deps/test_python_version_check_use_trustore_.yml +++ b/sema4ai/tests/sema4ai_code_tests/deps/test_conda_yaml_deps/test_python_version_check_use_trustore_.yml @@ -8,7 +8,7 @@ character: 4 line: 10 severity: 2 - source: sema4ai-code + source: sema4ai - message: 'Consider updating ''rpaframework'' to the latest version: ''24.1.2''. Found 13 versions newer than the current one: 23.0.0, 23.1.0, 23.2.0, 23.2.1, 23.3.0, 23.4.0, 23.5.0, 23.5.1, 23.5.2, 24.0.0, 24.1.0, 24.1.1, 24.1.2.' @@ -20,4 +20,4 @@ character: 8 line: 14 severity: 2 - source: sema4ai-code + source: sema4ai diff --git a/sema4ai-code/tests/sema4ai_code_tests/deps/test_package_yaml_deps.py b/sema4ai/tests/sema4ai_code_tests/deps/test_package_yaml_deps.py similarity index 100% rename from sema4ai-code/tests/sema4ai_code_tests/deps/test_package_yaml_deps.py rename to sema4ai/tests/sema4ai_code_tests/deps/test_package_yaml_deps.py diff --git a/sema4ai-code/tests/sema4ai_code_tests/deps/test_package_yaml_deps/check_bad_op/package.yaml b/sema4ai/tests/sema4ai_code_tests/deps/test_package_yaml_deps/check_bad_op/package.yaml similarity index 100% rename from sema4ai-code/tests/sema4ai_code_tests/deps/test_package_yaml_deps/check_bad_op/package.yaml rename to sema4ai/tests/sema4ai_code_tests/deps/test_package_yaml_deps/check_bad_op/package.yaml diff --git a/sema4ai-code/tests/sema4ai_code_tests/deps/test_package_yaml_deps/check_bad_package_yaml/package.yaml b/sema4ai/tests/sema4ai_code_tests/deps/test_package_yaml_deps/check_bad_package_yaml/package.yaml similarity index 100% rename from sema4ai-code/tests/sema4ai_code_tests/deps/test_package_yaml_deps/check_bad_package_yaml/package.yaml rename to sema4ai/tests/sema4ai_code_tests/deps/test_package_yaml_deps/check_bad_package_yaml/package.yaml diff --git a/sema4ai-code/tests/sema4ai_code_tests/deps/test_package_yaml_deps/check_bad_python_version/package.yaml b/sema4ai/tests/sema4ai_code_tests/deps/test_package_yaml_deps/check_bad_python_version/package.yaml similarity index 100% rename from sema4ai-code/tests/sema4ai_code_tests/deps/test_package_yaml_deps/check_bad_python_version/package.yaml rename to sema4ai/tests/sema4ai_code_tests/deps/test_package_yaml_deps/check_bad_python_version/package.yaml diff --git a/sema4ai-code/tests/sema4ai_code_tests/deps/test_package_yaml_deps/check_bad_version/package.yaml b/sema4ai/tests/sema4ai_code_tests/deps/test_package_yaml_deps/check_bad_version/package.yaml similarity index 100% rename from sema4ai-code/tests/sema4ai_code_tests/deps/test_package_yaml_deps/check_bad_version/package.yaml rename to sema4ai/tests/sema4ai_code_tests/deps/test_package_yaml_deps/check_bad_version/package.yaml diff --git a/sema4ai-code/tests/sema4ai_code_tests/deps/test_package_yaml_deps/check_deps_from_conda/package.yaml b/sema4ai/tests/sema4ai_code_tests/deps/test_package_yaml_deps/check_deps_from_conda/package.yaml similarity index 100% rename from sema4ai-code/tests/sema4ai_code_tests/deps/test_package_yaml_deps/check_deps_from_conda/package.yaml rename to sema4ai/tests/sema4ai_code_tests/deps/test_package_yaml_deps/check_deps_from_conda/package.yaml diff --git a/sema4ai-code/tests/sema4ai_code_tests/deps/test_package_yaml_deps/check_python_version/package.yaml b/sema4ai/tests/sema4ai_code_tests/deps/test_package_yaml_deps/check_python_version/package.yaml similarity index 100% rename from sema4ai-code/tests/sema4ai_code_tests/deps/test_package_yaml_deps/check_python_version/package.yaml rename to sema4ai/tests/sema4ai_code_tests/deps/test_package_yaml_deps/check_python_version/package.yaml diff --git a/sema4ai-code/tests/sema4ai_code_tests/deps/test_package_yaml_deps/test_hover_package_yaml_rpaframework.yml b/sema4ai/tests/sema4ai_code_tests/deps/test_package_yaml_deps/test_hover_package_yaml_rpaframework.yml similarity index 99% rename from sema4ai-code/tests/sema4ai_code_tests/deps/test_package_yaml_deps/test_hover_package_yaml_rpaframework.yml rename to sema4ai/tests/sema4ai_code_tests/deps/test_package_yaml_deps/test_hover_package_yaml_rpaframework.yml index 5579dccde..0173b18a8 100644 --- a/sema4ai-code/tests/sema4ai_code_tests/deps/test_package_yaml_deps/test_hover_package_yaml_rpaframework.yml +++ b/sema4ai/tests/sema4ai_code_tests/deps/test_package_yaml_deps/test_hover_package_yaml_rpaframework.yml @@ -326,12 +326,12 @@ contents: \ **releasenotes.rst**\n and **pyproject.toml** with message \"PACKAGE. version\ \ x.y.z\"\n#. git push\n#. ``invoke publish`` after Github action on master branch\ \ is all green\n\nSome recommended tools for development\n\n- `Visual Studio Code`_\ - \ as a code editor with following extensions:\n\n - `Sema4.ai Code`_\n - `Robot\ + \ as a code editor with following extensions:\n\n - `Sema4.ai`_\n - `Robot\ \ Framework Language Server`_\n - `GitLens`_\n - `Python extension`_\n\n-\ \ `GitHub Desktop`_ will make version management less prone to errors\n\n.. _poetry:\ \ https://python-poetry.org\n.. _invoke: https://www.pyinvoke.org\n.. _Visual\ \ Studio Code: https://code.visualstudio.com\n.. _GitHub Desktop: https://desktop.github.com\n\ - .. _Robocorp Code: https://marketplace.visualstudio.com/items?itemName=robocorp.sema4ai-code\n\ + .. _Robocorp Code: https://marketplace.visualstudio.com/items?itemName=robocorp.sema4ai\n\ .. _Robot Framework Language Server: https://marketplace.visualstudio.com/items?itemName=robocorp.robotframework-lsp\n\ .. _GitLens: https://marketplace.visualstudio.com/items?itemName=eamodio.gitlens\n\ .. _Python extension: https://marketplace.visualstudio.com/items?itemName=ms-python.python\n\ diff --git a/sema4ai-code/tests/sema4ai_code_tests/deps/test_package_yaml_deps/test_package_yaml_check_bad_op_.yml b/sema4ai/tests/sema4ai_code_tests/deps/test_package_yaml_deps/test_package_yaml_check_bad_op_.yml similarity index 91% rename from sema4ai-code/tests/sema4ai_code_tests/deps/test_package_yaml_deps/test_package_yaml_check_bad_op_.yml rename to sema4ai/tests/sema4ai_code_tests/deps/test_package_yaml_deps/test_package_yaml_check_bad_op_.yml index e18c81208..e085b49f2 100644 --- a/sema4ai-code/tests/sema4ai_code_tests/deps/test_package_yaml_deps/test_package_yaml_check_bad_op_.yml +++ b/sema4ai/tests/sema4ai_code_tests/deps/test_package_yaml_deps/test_package_yaml_check_bad_op_.yml @@ -8,7 +8,7 @@ character: 4 line: 15 severity: 1 - source: sema4ai-code + source: sema4ai - message: 'Error parsing ''another>=33'': Error in entry: another>=33. Char: ''>'' not valid, currently only ''='' is a valid operator.' range: @@ -19,4 +19,4 @@ character: 4 line: 17 severity: 1 - source: sema4ai-code + source: sema4ai diff --git a/sema4ai-code/tests/sema4ai_code_tests/deps/test_package_yaml_deps/test_package_yaml_check_bad_package_yaml_.yml b/sema4ai/tests/sema4ai_code_tests/deps/test_package_yaml_deps/test_package_yaml_check_bad_package_yaml_.yml similarity index 95% rename from sema4ai-code/tests/sema4ai_code_tests/deps/test_package_yaml_deps/test_package_yaml_check_bad_package_yaml_.yml rename to sema4ai/tests/sema4ai_code_tests/deps/test_package_yaml_deps/test_package_yaml_check_bad_package_yaml_.yml index 4681745c7..f5e0123c2 100644 --- a/sema4ai-code/tests/sema4ai_code_tests/deps/test_package_yaml_deps/test_package_yaml_check_bad_package_yaml_.yml +++ b/sema4ai/tests/sema4ai_code_tests/deps/test_package_yaml_deps/test_package_yaml_check_bad_package_yaml_.yml @@ -10,4 +10,4 @@ character: 3 line: 10 severity: 1 - source: sema4ai-code + source: sema4ai diff --git a/sema4ai-code/tests/sema4ai_code_tests/deps/test_package_yaml_deps/test_package_yaml_check_bad_python_version_.yml b/sema4ai/tests/sema4ai_code_tests/deps/test_package_yaml_deps/test_package_yaml_check_bad_python_version_.yml similarity index 92% rename from sema4ai-code/tests/sema4ai_code_tests/deps/test_package_yaml_deps/test_package_yaml_check_bad_python_version_.yml rename to sema4ai/tests/sema4ai_code_tests/deps/test_package_yaml_deps/test_package_yaml_check_bad_python_version_.yml index 67555068b..c0e531224 100644 --- a/sema4ai-code/tests/sema4ai_code_tests/deps/test_package_yaml_deps/test_package_yaml_check_bad_python_version_.yml +++ b/sema4ai/tests/sema4ai_code_tests/deps/test_package_yaml_deps/test_package_yaml_check_bad_python_version_.yml @@ -8,4 +8,4 @@ character: 4 line: 13 severity: 2 - source: sema4ai-code + source: sema4ai diff --git a/sema4ai-code/tests/sema4ai_code_tests/deps/test_package_yaml_deps/test_package_yaml_check_bad_version_.yml b/sema4ai/tests/sema4ai_code_tests/deps/test_package_yaml_deps/test_package_yaml_check_bad_version_.yml similarity index 91% rename from sema4ai-code/tests/sema4ai_code_tests/deps/test_package_yaml_deps/test_package_yaml_check_bad_version_.yml rename to sema4ai/tests/sema4ai_code_tests/deps/test_package_yaml_deps/test_package_yaml_check_bad_version_.yml index 1173a990a..8b4d8cde0 100644 --- a/sema4ai-code/tests/sema4ai_code_tests/deps/test_package_yaml_deps/test_package_yaml_check_bad_version_.yml +++ b/sema4ai/tests/sema4ai_code_tests/deps/test_package_yaml_deps/test_package_yaml_check_bad_version_.yml @@ -8,7 +8,7 @@ character: 4 line: 13 severity: 2 - source: sema4ai-code + source: sema4ai - message: 'Error parsing ''rpaframework==22 a . 5.3'': invalid requirement: a . 5.3' range: end: @@ -18,4 +18,4 @@ character: 4 line: 16 severity: 1 - source: sema4ai-code + source: sema4ai diff --git a/sema4ai-code/tests/sema4ai_code_tests/deps/test_package_yaml_deps/test_package_yaml_check_deps_from_conda_.yml b/sema4ai/tests/sema4ai_code_tests/deps/test_package_yaml_deps/test_package_yaml_check_deps_from_conda_.yml similarity index 91% rename from sema4ai-code/tests/sema4ai_code_tests/deps/test_package_yaml_deps/test_package_yaml_check_deps_from_conda_.yml rename to sema4ai/tests/sema4ai_code_tests/deps/test_package_yaml_deps/test_package_yaml_check_deps_from_conda_.yml index d953e166f..3174b6c96 100644 --- a/sema4ai-code/tests/sema4ai_code_tests/deps/test_package_yaml_deps/test_package_yaml_check_deps_from_conda_.yml +++ b/sema4ai/tests/sema4ai_code_tests/deps/test_package_yaml_deps/test_package_yaml_check_deps_from_conda_.yml @@ -8,4 +8,4 @@ character: 0 line: 0 severity: 1 - source: sema4ai-code + source: sema4ai diff --git a/sema4ai-code/tests/sema4ai_code_tests/fixtures.py b/sema4ai/tests/sema4ai_code_tests/fixtures.py similarity index 100% rename from sema4ai-code/tests/sema4ai_code_tests/fixtures.py rename to sema4ai/tests/sema4ai_code_tests/fixtures.py diff --git a/sema4ai-code/tests/sema4ai_code_tests/inspector/__init__.py b/sema4ai/tests/sema4ai_code_tests/inspector/__init__.py similarity index 100% rename from sema4ai-code/tests/sema4ai_code_tests/inspector/__init__.py rename to sema4ai/tests/sema4ai_code_tests/inspector/__init__.py diff --git a/sema4ai-code/tests/sema4ai_code_tests/inspector/test_inspector_api.py b/sema4ai/tests/sema4ai_code_tests/inspector/test_inspector_api.py similarity index 100% rename from sema4ai-code/tests/sema4ai_code_tests/inspector/test_inspector_api.py rename to sema4ai/tests/sema4ai_code_tests/inspector/test_inspector_api.py diff --git a/sema4ai-code/tests/sema4ai_code_tests/inspector/test_inspector_api/div1Pick.yml b/sema4ai/tests/sema4ai_code_tests/inspector/test_inspector_api/div1Pick.yml similarity index 100% rename from sema4ai-code/tests/sema4ai_code_tests/inspector/test_inspector_api/div1Pick.yml rename to sema4ai/tests/sema4ai_code_tests/inspector/test_inspector_api/div1Pick.yml diff --git a/sema4ai-code/tests/sema4ai_code_tests/inspector/test_inspector_api/page_to_test.html b/sema4ai/tests/sema4ai_code_tests/inspector/test_inspector_api/page_to_test.html similarity index 100% rename from sema4ai-code/tests/sema4ai_code_tests/inspector/test_inspector_api/page_to_test.html rename to sema4ai/tests/sema4ai_code_tests/inspector/test_inspector_api/page_to_test.html diff --git a/sema4ai-code/tests/sema4ai_code_tests/inspector/test_web_inspector.py b/sema4ai/tests/sema4ai_code_tests/inspector/test_web_inspector.py similarity index 100% rename from sema4ai-code/tests/sema4ai_code_tests/inspector/test_web_inspector.py rename to sema4ai/tests/sema4ai_code_tests/inspector/test_web_inspector.py diff --git a/sema4ai-code/tests/sema4ai_code_tests/inspector/test_web_inspector/alink.yml b/sema4ai/tests/sema4ai_code_tests/inspector/test_web_inspector/alink.yml similarity index 100% rename from sema4ai-code/tests/sema4ai_code_tests/inspector/test_web_inspector/alink.yml rename to sema4ai/tests/sema4ai_code_tests/inspector/test_web_inspector/alink.yml diff --git a/sema4ai-code/tests/sema4ai_code_tests/inspector/test_web_inspector/div1.yml b/sema4ai/tests/sema4ai_code_tests/inspector/test_web_inspector/div1.yml similarity index 100% rename from sema4ai-code/tests/sema4ai_code_tests/inspector/test_web_inspector/div1.yml rename to sema4ai/tests/sema4ai_code_tests/inspector/test_web_inspector/div1.yml diff --git a/sema4ai-code/tests/sema4ai_code_tests/inspector/test_web_inspector/page_to_test.html b/sema4ai/tests/sema4ai_code_tests/inspector/test_web_inspector/page_to_test.html similarity index 100% rename from sema4ai-code/tests/sema4ai_code_tests/inspector/test_web_inspector/page_to_test.html rename to sema4ai/tests/sema4ai_code_tests/inspector/test_web_inspector/page_to_test.html diff --git a/sema4ai-code/tests/sema4ai_code_tests/inspector/test_web_inspector/page_to_test2.html b/sema4ai/tests/sema4ai_code_tests/inspector/test_web_inspector/page_to_test2.html similarity index 100% rename from sema4ai-code/tests/sema4ai_code_tests/inspector/test_web_inspector/page_to_test2.html rename to sema4ai/tests/sema4ai_code_tests/inspector/test_web_inspector/page_to_test2.html diff --git a/sema4ai-code/tests/sema4ai_code_tests/inspector/test_web_inspector/withImg.yml b/sema4ai/tests/sema4ai_code_tests/inspector/test_web_inspector/withImg.yml similarity index 100% rename from sema4ai-code/tests/sema4ai_code_tests/inspector/test_web_inspector/withImg.yml rename to sema4ai/tests/sema4ai_code_tests/inspector/test_web_inspector/withImg.yml diff --git a/sema4ai-code/tests/sema4ai_code_tests/inspector/test_web_inspector/withName.yml b/sema4ai/tests/sema4ai_code_tests/inspector/test_web_inspector/withName.yml similarity index 100% rename from sema4ai-code/tests/sema4ai_code_tests/inspector/test_web_inspector/withName.yml rename to sema4ai/tests/sema4ai_code_tests/inspector/test_web_inspector/withName.yml diff --git a/sema4ai-code/tests/sema4ai_code_tests/inspector/test_windows_inspector.py b/sema4ai/tests/sema4ai_code_tests/inspector/test_windows_inspector.py similarity index 100% rename from sema4ai-code/tests/sema4ai_code_tests/inspector/test_windows_inspector.py rename to sema4ai/tests/sema4ai_code_tests/inspector/test_windows_inspector.py diff --git a/sema4ai-code/tests/sema4ai_code_tests/protocols.py b/sema4ai/tests/sema4ai_code_tests/protocols.py similarity index 100% rename from sema4ai-code/tests/sema4ai_code_tests/protocols.py rename to sema4ai/tests/sema4ai_code_tests/protocols.py diff --git a/sema4ai-code/tests/sema4ai_code_tests/robo/test_list_actions.py b/sema4ai/tests/sema4ai_code_tests/robo/test_list_actions.py similarity index 100% rename from sema4ai-code/tests/sema4ai_code_tests/robo/test_list_actions.py rename to sema4ai/tests/sema4ai_code_tests/robo/test_list_actions.py diff --git a/sema4ai-code/tests/sema4ai_code_tests/robo/test_list_actions/test_list_actions.yml b/sema4ai/tests/sema4ai_code_tests/robo/test_list_actions/test_list_actions.yml similarity index 100% rename from sema4ai-code/tests/sema4ai_code_tests/robo/test_list_actions/test_list_actions.yml rename to sema4ai/tests/sema4ai_code_tests/robo/test_list_actions/test_list_actions.yml diff --git a/sema4ai-code/tests/sema4ai_code_tests/robo/test_tasks_code_lenses.py b/sema4ai/tests/sema4ai_code_tests/robo/test_tasks_code_lenses.py similarity index 100% rename from sema4ai-code/tests/sema4ai_code_tests/robo/test_tasks_code_lenses.py rename to sema4ai/tests/sema4ai_code_tests/robo/test_tasks_code_lenses.py diff --git a/sema4ai-code/tests/sema4ai_code_tests/robo/test_tasks_code_lenses/test_tasks_code_lenses.yml b/sema4ai/tests/sema4ai_code_tests/robo/test_tasks_code_lenses/test_tasks_code_lenses.yml similarity index 100% rename from sema4ai-code/tests/sema4ai_code_tests/robo/test_tasks_code_lenses/test_tasks_code_lenses.yml rename to sema4ai/tests/sema4ai_code_tests/robo/test_tasks_code_lenses/test_tasks_code_lenses.yml diff --git a/sema4ai-code/tests/sema4ai_code_tests/robocode_language_server_client.py b/sema4ai/tests/sema4ai_code_tests/robocode_language_server_client.py similarity index 100% rename from sema4ai-code/tests/sema4ai_code_tests/robocode_language_server_client.py rename to sema4ai/tests/sema4ai_code_tests/robocode_language_server_client.py diff --git a/sema4ai-code/tests/sema4ai_code_tests/snippet_tk.py b/sema4ai/tests/sema4ai_code_tests/snippet_tk.py similarity index 100% rename from sema4ai-code/tests/sema4ai_code_tests/snippet_tk.py rename to sema4ai/tests/sema4ai_code_tests/snippet_tk.py diff --git a/sema4ai-code/tests/sema4ai_code_tests/test_check_output_interactive.py b/sema4ai/tests/sema4ai_code_tests/test_check_output_interactive.py similarity index 100% rename from sema4ai-code/tests/sema4ai_code_tests/test_check_output_interactive.py rename to sema4ai/tests/sema4ai_code_tests/test_check_output_interactive.py diff --git a/sema4ai-code/tests/sema4ai_code_tests/test_cli.py b/sema4ai/tests/sema4ai_code_tests/test_cli.py similarity index 94% rename from sema4ai-code/tests/sema4ai_code_tests/test_cli.py rename to sema4ai/tests/sema4ai_code_tests/test_cli.py index 1989ecc8c..1269fdc8b 100644 --- a/sema4ai-code/tests/sema4ai_code_tests/test_cli.py +++ b/sema4ai/tests/sema4ai_code_tests/test_cli.py @@ -14,7 +14,7 @@ def test_cli_help(main_module): output = output.decode("utf-8") assert "Traceback" not in output assert "Python Language Server" not in output - assert "Sema4.ai Code" in output + assert "Sema4.ai" in output def test_cli_version(main_module): diff --git a/sema4ai-code/tests/sema4ai_code_tests/test_command_dispatch.py b/sema4ai/tests/sema4ai_code_tests/test_command_dispatch.py similarity index 100% rename from sema4ai-code/tests/sema4ai_code_tests/test_command_dispatch.py rename to sema4ai/tests/sema4ai_code_tests/test_command_dispatch.py diff --git a/sema4ai-code/tests/sema4ai_code_tests/test_compute_launch.py b/sema4ai/tests/sema4ai_code_tests/test_compute_launch.py similarity index 100% rename from sema4ai-code/tests/sema4ai_code_tests/test_compute_launch.py rename to sema4ai/tests/sema4ai_code_tests/test_compute_launch.py diff --git a/sema4ai-code/tests/sema4ai_code_tests/test_language_server_directly.py b/sema4ai/tests/sema4ai_code_tests/test_language_server_directly.py similarity index 100% rename from sema4ai-code/tests/sema4ai_code_tests/test_language_server_directly.py rename to sema4ai/tests/sema4ai_code_tests/test_language_server_directly.py diff --git a/sema4ai-code/tests/sema4ai_code_tests/test_pre_run_scripts.py b/sema4ai/tests/sema4ai_code_tests/test_pre_run_scripts.py similarity index 100% rename from sema4ai-code/tests/sema4ai_code_tests/test_pre_run_scripts.py rename to sema4ai/tests/sema4ai_code_tests/test_pre_run_scripts.py diff --git a/sema4ai-code/tests/sema4ai_code_tests/test_prebuilt_environments.py b/sema4ai/tests/sema4ai_code_tests/test_prebuilt_environments.py similarity index 99% rename from sema4ai-code/tests/sema4ai_code_tests/test_prebuilt_environments.py rename to sema4ai/tests/sema4ai_code_tests/test_prebuilt_environments.py index b5723d8b1..8723b7d99 100644 --- a/sema4ai-code/tests/sema4ai_code_tests/test_prebuilt_environments.py +++ b/sema4ai/tests/sema4ai_code_tests/test_prebuilt_environments.py @@ -23,7 +23,7 @@ def test_prebuilt_environments(rcc: IRcc, tmpdir): # In GitHub we're in the site-packages. import os - robocorp_code_root = Path(os.environ["GITHUB_WORKSPACE"]) / "sema4ai-code" + robocorp_code_root = Path(os.environ["GITHUB_WORKSPACE"]) / "sema4ai" if not robocorp_code_root.exists(): msg = [f"{robocorp_code_root} does not exist.", "Environment:"] for key, val in sorted(os.environ.items()): diff --git a/sema4ai-code/tests/sema4ai_code_tests/test_rcc.py b/sema4ai/tests/sema4ai_code_tests/test_rcc.py similarity index 99% rename from sema4ai-code/tests/sema4ai_code_tests/test_rcc.py rename to sema4ai/tests/sema4ai_code_tests/test_rcc.py index 672aca799..eea72c00e 100644 --- a/sema4ai-code/tests/sema4ai_code_tests/test_rcc.py +++ b/sema4ai/tests/sema4ai_code_tests/test_rcc.py @@ -37,7 +37,7 @@ def custom_handler(args, *sargs, **kwargs): "workspace", "--config", "--account", - "sema4ai-code", + "sema4ai", ]: # i.e.: we only list workspaces we can read from when listing. info = [ diff --git a/sema4ai-code/tests/sema4ai_code_tests/test_rcc/bad_robot1/conda.yaml b/sema4ai/tests/sema4ai_code_tests/test_rcc/bad_robot1/conda.yaml similarity index 100% rename from sema4ai-code/tests/sema4ai_code_tests/test_rcc/bad_robot1/conda.yaml rename to sema4ai/tests/sema4ai_code_tests/test_rcc/bad_robot1/conda.yaml diff --git a/sema4ai-code/tests/sema4ai_code_tests/test_rcc/bad_robot1/robot.yaml b/sema4ai/tests/sema4ai_code_tests/test_rcc/bad_robot1/robot.yaml similarity index 100% rename from sema4ai-code/tests/sema4ai_code_tests/test_rcc/bad_robot1/robot.yaml rename to sema4ai/tests/sema4ai_code_tests/test_rcc/bad_robot1/robot.yaml diff --git a/sema4ai-code/tests/sema4ai_code_tests/test_rcc/robot1/conda.yaml b/sema4ai/tests/sema4ai_code_tests/test_rcc/robot1/conda.yaml similarity index 100% rename from sema4ai-code/tests/sema4ai_code_tests/test_rcc/robot1/conda.yaml rename to sema4ai/tests/sema4ai_code_tests/test_rcc/robot1/conda.yaml diff --git a/sema4ai-code/tests/sema4ai_code_tests/test_rcc/robot1/robot.yaml b/sema4ai/tests/sema4ai_code_tests/test_rcc/robot1/robot.yaml similarity index 100% rename from sema4ai-code/tests/sema4ai_code_tests/test_rcc/robot1/robot.yaml rename to sema4ai/tests/sema4ai_code_tests/test_rcc/robot1/robot.yaml diff --git a/sema4ai-code/tests/sema4ai_code_tests/test_rcc/robot2/conda.yaml b/sema4ai/tests/sema4ai_code_tests/test_rcc/robot2/conda.yaml similarity index 100% rename from sema4ai-code/tests/sema4ai_code_tests/test_rcc/robot2/conda.yaml rename to sema4ai/tests/sema4ai_code_tests/test_rcc/robot2/conda.yaml diff --git a/sema4ai-code/tests/sema4ai_code_tests/test_rcc/robot2/robot.yaml b/sema4ai/tests/sema4ai_code_tests/test_rcc/robot2/robot.yaml similarity index 100% rename from sema4ai-code/tests/sema4ai_code_tests/test_rcc/robot2/robot.yaml rename to sema4ai/tests/sema4ai_code_tests/test_rcc/robot2/robot.yaml diff --git a/sema4ai-code/tests/sema4ai_code_tests/test_rcc/robot3/conda.yaml b/sema4ai/tests/sema4ai_code_tests/test_rcc/robot3/conda.yaml similarity index 100% rename from sema4ai-code/tests/sema4ai_code_tests/test_rcc/robot3/conda.yaml rename to sema4ai/tests/sema4ai_code_tests/test_rcc/robot3/conda.yaml diff --git a/sema4ai-code/tests/sema4ai_code_tests/test_rcc/robot3/robot.yaml b/sema4ai/tests/sema4ai_code_tests/test_rcc/robot3/robot.yaml similarity index 100% rename from sema4ai-code/tests/sema4ai_code_tests/test_rcc/robot3/robot.yaml rename to sema4ai/tests/sema4ai_code_tests/test_rcc/robot3/robot.yaml diff --git a/sema4ai-code/tests/sema4ai_code_tests/test_rcc/robot3_new_comment/conda.yaml b/sema4ai/tests/sema4ai_code_tests/test_rcc/robot3_new_comment/conda.yaml similarity index 100% rename from sema4ai-code/tests/sema4ai_code_tests/test_rcc/robot3_new_comment/conda.yaml rename to sema4ai/tests/sema4ai_code_tests/test_rcc/robot3_new_comment/conda.yaml diff --git a/sema4ai-code/tests/sema4ai_code_tests/test_rcc/robot3_new_comment/robot.yaml b/sema4ai/tests/sema4ai_code_tests/test_rcc/robot3_new_comment/robot.yaml similarity index 100% rename from sema4ai-code/tests/sema4ai_code_tests/test_rcc/robot3_new_comment/robot.yaml rename to sema4ai/tests/sema4ai_code_tests/test_rcc/robot3_new_comment/robot.yaml diff --git a/sema4ai-code/tests/sema4ai_code_tests/test_resolve_interpreter.py b/sema4ai/tests/sema4ai_code_tests/test_resolve_interpreter.py similarity index 100% rename from sema4ai-code/tests/sema4ai_code_tests/test_resolve_interpreter.py rename to sema4ai/tests/sema4ai_code_tests/test_resolve_interpreter.py diff --git a/sema4ai-code/tests/sema4ai_code_tests/test_resolve_interpreter/robot3/conda.yaml b/sema4ai/tests/sema4ai_code_tests/test_resolve_interpreter/robot3/conda.yaml similarity index 100% rename from sema4ai-code/tests/sema4ai_code_tests/test_resolve_interpreter/robot3/conda.yaml rename to sema4ai/tests/sema4ai_code_tests/test_resolve_interpreter/robot3/conda.yaml diff --git a/sema4ai-code/tests/sema4ai_code_tests/test_resolve_interpreter/robot3/devdata/env.json b/sema4ai/tests/sema4ai_code_tests/test_resolve_interpreter/robot3/devdata/env.json similarity index 100% rename from sema4ai-code/tests/sema4ai_code_tests/test_resolve_interpreter/robot3/devdata/env.json rename to sema4ai/tests/sema4ai_code_tests/test_resolve_interpreter/robot3/devdata/env.json diff --git a/sema4ai-code/tests/sema4ai_code_tests/test_resolve_interpreter/robot3/robot.yaml b/sema4ai/tests/sema4ai_code_tests/test_resolve_interpreter/robot3/robot.yaml similarity index 100% rename from sema4ai-code/tests/sema4ai_code_tests/test_resolve_interpreter/robot3/robot.yaml rename to sema4ai/tests/sema4ai_code_tests/test_resolve_interpreter/robot3/robot.yaml diff --git a/sema4ai-code/tests/sema4ai_code_tests/test_resolve_interpreter/robot3a/conda.yaml b/sema4ai/tests/sema4ai_code_tests/test_resolve_interpreter/robot3a/conda.yaml similarity index 100% rename from sema4ai-code/tests/sema4ai_code_tests/test_resolve_interpreter/robot3a/conda.yaml rename to sema4ai/tests/sema4ai_code_tests/test_resolve_interpreter/robot3a/conda.yaml diff --git a/sema4ai-code/tests/sema4ai_code_tests/test_resolve_interpreter/robot3a/devdata/env.json b/sema4ai/tests/sema4ai_code_tests/test_resolve_interpreter/robot3a/devdata/env.json similarity index 100% rename from sema4ai-code/tests/sema4ai_code_tests/test_resolve_interpreter/robot3a/devdata/env.json rename to sema4ai/tests/sema4ai_code_tests/test_resolve_interpreter/robot3a/devdata/env.json diff --git a/sema4ai-code/tests/sema4ai_code_tests/test_resolve_interpreter/robot3a/robot.yaml b/sema4ai/tests/sema4ai_code_tests/test_resolve_interpreter/robot3a/robot.yaml similarity index 100% rename from sema4ai-code/tests/sema4ai_code_tests/test_resolve_interpreter/robot3a/robot.yaml rename to sema4ai/tests/sema4ai_code_tests/test_resolve_interpreter/robot3a/robot.yaml diff --git a/sema4ai-code/tests/sema4ai_code_tests/test_resolve_interpreter/robot_envconfig/conda.yaml b/sema4ai/tests/sema4ai_code_tests/test_resolve_interpreter/robot_envconfig/conda.yaml similarity index 100% rename from sema4ai-code/tests/sema4ai_code_tests/test_resolve_interpreter/robot_envconfig/conda.yaml rename to sema4ai/tests/sema4ai_code_tests/test_resolve_interpreter/robot_envconfig/conda.yaml diff --git a/sema4ai-code/tests/sema4ai_code_tests/test_resolve_interpreter/robot_envconfig/conda2.yaml b/sema4ai/tests/sema4ai_code_tests/test_resolve_interpreter/robot_envconfig/conda2.yaml similarity index 100% rename from sema4ai-code/tests/sema4ai_code_tests/test_resolve_interpreter/robot_envconfig/conda2.yaml rename to sema4ai/tests/sema4ai_code_tests/test_resolve_interpreter/robot_envconfig/conda2.yaml diff --git a/sema4ai-code/tests/sema4ai_code_tests/test_resolve_interpreter/robot_envconfig/conda2_linux.yaml b/sema4ai/tests/sema4ai_code_tests/test_resolve_interpreter/robot_envconfig/conda2_linux.yaml similarity index 100% rename from sema4ai-code/tests/sema4ai_code_tests/test_resolve_interpreter/robot_envconfig/conda2_linux.yaml rename to sema4ai/tests/sema4ai_code_tests/test_resolve_interpreter/robot_envconfig/conda2_linux.yaml diff --git a/sema4ai-code/tests/sema4ai_code_tests/test_resolve_interpreter/robot_envconfig/conda2_windows.yaml b/sema4ai/tests/sema4ai_code_tests/test_resolve_interpreter/robot_envconfig/conda2_windows.yaml similarity index 100% rename from sema4ai-code/tests/sema4ai_code_tests/test_resolve_interpreter/robot_envconfig/conda2_windows.yaml rename to sema4ai/tests/sema4ai_code_tests/test_resolve_interpreter/robot_envconfig/conda2_windows.yaml diff --git a/sema4ai-code/tests/sema4ai_code_tests/test_resolve_interpreter/robot_envconfig/environment_darwin_amd64_freeze.yaml b/sema4ai/tests/sema4ai_code_tests/test_resolve_interpreter/robot_envconfig/environment_darwin_amd64_freeze.yaml similarity index 100% rename from sema4ai-code/tests/sema4ai_code_tests/test_resolve_interpreter/robot_envconfig/environment_darwin_amd64_freeze.yaml rename to sema4ai/tests/sema4ai_code_tests/test_resolve_interpreter/robot_envconfig/environment_darwin_amd64_freeze.yaml diff --git a/sema4ai-code/tests/sema4ai_code_tests/test_resolve_interpreter/robot_envconfig/environment_linux_amd64_freeze.yaml b/sema4ai/tests/sema4ai_code_tests/test_resolve_interpreter/robot_envconfig/environment_linux_amd64_freeze.yaml similarity index 100% rename from sema4ai-code/tests/sema4ai_code_tests/test_resolve_interpreter/robot_envconfig/environment_linux_amd64_freeze.yaml rename to sema4ai/tests/sema4ai_code_tests/test_resolve_interpreter/robot_envconfig/environment_linux_amd64_freeze.yaml diff --git a/sema4ai-code/tests/sema4ai_code_tests/test_resolve_interpreter/robot_envconfig/environment_windows_amd64_freeze.yaml b/sema4ai/tests/sema4ai_code_tests/test_resolve_interpreter/robot_envconfig/environment_windows_amd64_freeze.yaml similarity index 100% rename from sema4ai-code/tests/sema4ai_code_tests/test_resolve_interpreter/robot_envconfig/environment_windows_amd64_freeze.yaml rename to sema4ai/tests/sema4ai_code_tests/test_resolve_interpreter/robot_envconfig/environment_windows_amd64_freeze.yaml diff --git a/sema4ai-code/tests/sema4ai_code_tests/test_resolve_interpreter/robot_envconfig/robot.yaml b/sema4ai/tests/sema4ai_code_tests/test_resolve_interpreter/robot_envconfig/robot.yaml similarity index 100% rename from sema4ai-code/tests/sema4ai_code_tests/test_resolve_interpreter/robot_envconfig/robot.yaml rename to sema4ai/tests/sema4ai_code_tests/test_resolve_interpreter/robot_envconfig/robot.yaml diff --git a/sema4ai-code/tests/sema4ai_code_tests/test_vscode_integration.py b/sema4ai/tests/sema4ai_code_tests/test_vscode_integration.py similarity index 100% rename from sema4ai-code/tests/sema4ai_code_tests/test_vscode_integration.py rename to sema4ai/tests/sema4ai_code_tests/test_vscode_integration.py diff --git a/sema4ai-code/tests/sema4ai_code_tests/test_vscode_integration/sample_profile.yml b/sema4ai/tests/sema4ai_code_tests/test_vscode_integration/sample_profile.yml similarity index 100% rename from sema4ai-code/tests/sema4ai_code_tests/test_vscode_integration/sample_profile.yml rename to sema4ai/tests/sema4ai_code_tests/test_vscode_integration/sample_profile.yml diff --git a/sema4ai-code/tests/sema4ai_code_tests/test_vscode_integration/test_cloud_list_workspaces_basic.yml b/sema4ai/tests/sema4ai_code_tests/test_vscode_integration/test_cloud_list_workspaces_basic.yml similarity index 100% rename from sema4ai-code/tests/sema4ai_code_tests/test_vscode_integration/test_cloud_list_workspaces_basic.yml rename to sema4ai/tests/sema4ai_code_tests/test_vscode_integration/test_cloud_list_workspaces_basic.yml diff --git a/sema4ai-code/tests/sema4ai_code_tests/test_vscode_integration/test_cloud_list_workspaces_errors.yml b/sema4ai/tests/sema4ai_code_tests/test_vscode_integration/test_cloud_list_workspaces_errors.yml similarity index 100% rename from sema4ai-code/tests/sema4ai_code_tests/test_vscode_integration/test_cloud_list_workspaces_errors.yml rename to sema4ai/tests/sema4ai_code_tests/test_vscode_integration/test_cloud_list_workspaces_errors.yml diff --git a/sema4ai-code/tests/sema4ai_code_tests/test_vscode_integration/test_cloud_list_workspaces_errors_single_ws_not_available.yml b/sema4ai/tests/sema4ai_code_tests/test_vscode_integration/test_cloud_list_workspaces_errors_single_ws_not_available.yml similarity index 100% rename from sema4ai-code/tests/sema4ai_code_tests/test_vscode_integration/test_cloud_list_workspaces_errors_single_ws_not_available.yml rename to sema4ai/tests/sema4ai_code_tests/test_vscode_integration/test_cloud_list_workspaces_errors_single_ws_not_available.yml diff --git a/sema4ai-code/tests/sema4ai_code_tests/test_vscode_integration/test_hover_conda_yaml_conda_forge_numpy_versions.yml b/sema4ai/tests/sema4ai_code_tests/test_vscode_integration/test_hover_conda_yaml_conda_forge_numpy_versions.yml similarity index 100% rename from sema4ai-code/tests/sema4ai_code_tests/test_vscode_integration/test_hover_conda_yaml_conda_forge_numpy_versions.yml rename to sema4ai/tests/sema4ai_code_tests/test_vscode_integration/test_hover_conda_yaml_conda_forge_numpy_versions.yml diff --git a/sema4ai-code/tests/sema4ai_code_tests/test_vscode_integration/test_hover_conda_yaml_conda_forge_python_versions.yml b/sema4ai/tests/sema4ai_code_tests/test_vscode_integration/test_hover_conda_yaml_conda_forge_python_versions.yml similarity index 100% rename from sema4ai-code/tests/sema4ai_code_tests/test_vscode_integration/test_hover_conda_yaml_conda_forge_python_versions.yml rename to sema4ai/tests/sema4ai_code_tests/test_vscode_integration/test_hover_conda_yaml_conda_forge_python_versions.yml diff --git a/sema4ai-code/tests/sema4ai_code_tests/test_vscode_integration/test_hover_conda_yaml_conda_forge_versions.yml b/sema4ai/tests/sema4ai_code_tests/test_vscode_integration/test_hover_conda_yaml_conda_forge_versions.yml similarity index 100% rename from sema4ai-code/tests/sema4ai_code_tests/test_vscode_integration/test_hover_conda_yaml_conda_forge_versions.yml rename to sema4ai/tests/sema4ai_code_tests/test_vscode_integration/test_hover_conda_yaml_conda_forge_versions.yml diff --git a/sema4ai-code/tests/sema4ai_code_tests/test_vscode_integration/test_hover_conda_yaml_pypi_versions.yml b/sema4ai/tests/sema4ai_code_tests/test_vscode_integration/test_hover_conda_yaml_pypi_versions.yml similarity index 99% rename from sema4ai-code/tests/sema4ai_code_tests/test_vscode_integration/test_hover_conda_yaml_pypi_versions.yml rename to sema4ai/tests/sema4ai_code_tests/test_vscode_integration/test_hover_conda_yaml_pypi_versions.yml index 8b43f4034..75406a314 100644 --- a/sema4ai-code/tests/sema4ai_code_tests/test_vscode_integration/test_hover_conda_yaml_pypi_versions.yml +++ b/sema4ai/tests/sema4ai_code_tests/test_vscode_integration/test_hover_conda_yaml_pypi_versions.yml @@ -326,12 +326,12 @@ contents: \ **releasenotes.rst**\n and **pyproject.toml** with message \"PACKAGE. version\ \ x.y.z\"\n#. git push\n#. ``invoke publish`` after Github action on master branch\ \ is all green\n\nSome recommended tools for development\n\n- `Visual Studio Code`_\ - \ as a code editor with following extensions:\n\n - `Sema4.ai Code`_\n - `Robot\ + \ as a code editor with following extensions:\n\n - `Sema4.ai`_\n - `Robot\ \ Framework Language Server`_\n - `GitLens`_\n - `Python extension`_\n\n-\ \ `GitHub Desktop`_ will make version management less prone to errors\n\n.. _poetry:\ \ https://python-poetry.org\n.. _invoke: https://www.pyinvoke.org\n.. _Visual\ \ Studio Code: https://code.visualstudio.com\n.. _GitHub Desktop: https://desktop.github.com\n\ - .. _Robocorp Code: https://marketplace.visualstudio.com/items?itemName=robocorp.sema4ai-code\n\ + .. _Robocorp Code: https://marketplace.visualstudio.com/items?itemName=robocorp.sema4ai\n\ .. _Robot Framework Language Server: https://marketplace.visualstudio.com/items?itemName=robocorp.robotframework-lsp\n\ .. _GitLens: https://marketplace.visualstudio.com/items?itemName=eamodio.gitlens\n\ .. _Python extension: https://marketplace.visualstudio.com/items?itemName=ms-python.python\n\ diff --git a/sema4ai-code/tests/sema4ai_code_tests/test_vscode_integration/test_hover_conda_yaml_versions_no_releases.yml b/sema4ai/tests/sema4ai_code_tests/test_vscode_integration/test_hover_conda_yaml_versions_no_releases.yml similarity index 99% rename from sema4ai-code/tests/sema4ai_code_tests/test_vscode_integration/test_hover_conda_yaml_versions_no_releases.yml rename to sema4ai/tests/sema4ai_code_tests/test_vscode_integration/test_hover_conda_yaml_versions_no_releases.yml index e8a68461b..6c86f4d48 100644 --- a/sema4ai-code/tests/sema4ai_code_tests/test_vscode_integration/test_hover_conda_yaml_versions_no_releases.yml +++ b/sema4ai/tests/sema4ai_code_tests/test_vscode_integration/test_hover_conda_yaml_versions_no_releases.yml @@ -318,12 +318,12 @@ contents: \ **releasenotes.rst**\n and **pyproject.toml** with message \"PACKAGE. version\ \ x.y.z\"\n#. git push\n#. ``invoke publish`` after Github action on master branch\ \ is all green\n\nSome recommended tools for development\n\n- `Visual Studio Code`_\ - \ as a code editor with following extensions:\n\n - `Sema4.ai Code`_\n - `Robot\ + \ as a code editor with following extensions:\n\n - `Sema4.ai`_\n - `Robot\ \ Framework Language Server`_\n - `GitLens`_\n - `Python extension`_\n\n-\ \ `GitHub Desktop`_ will make version management less prone to errors\n\n.. _poetry:\ \ https://python-poetry.org\n.. _invoke: https://www.pyinvoke.org\n.. _Visual\ \ Studio Code: https://code.visualstudio.com\n.. _GitHub Desktop: https://desktop.github.com\n\ - .. _Robocorp Code: https://marketplace.visualstudio.com/items?itemName=robocorp.sema4ai-code\n\ + .. _Robocorp Code: https://marketplace.visualstudio.com/items?itemName=robocorp.sema4ai\n\ .. _Robot Framework Language Server: https://marketplace.visualstudio.com/items?itemName=robocorp.robotframework-lsp\n\ .. _GitLens: https://marketplace.visualstudio.com/items?itemName=eamodio.gitlens\n\ .. _Python extension: https://marketplace.visualstudio.com/items?itemName=ms-python.python\n\ diff --git a/sema4ai-code/tests/sema4ai_code_tests/test_vscode_integration/test_hover_package_yaml_conda_forge_versions.yml b/sema4ai/tests/sema4ai_code_tests/test_vscode_integration/test_hover_package_yaml_conda_forge_versions.yml similarity index 100% rename from sema4ai-code/tests/sema4ai_code_tests/test_vscode_integration/test_hover_package_yaml_conda_forge_versions.yml rename to sema4ai/tests/sema4ai_code_tests/test_vscode_integration/test_hover_package_yaml_conda_forge_versions.yml diff --git a/sema4ai-code/tests/sema4ai_code_tests/test_vscode_integration/test_lint_python_action.yml b/sema4ai/tests/sema4ai_code_tests/test_vscode_integration/test_lint_python_action.yml similarity index 100% rename from sema4ai-code/tests/sema4ai_code_tests/test_vscode_integration/test_lint_python_action.yml rename to sema4ai/tests/sema4ai_code_tests/test_vscode_integration/test_lint_python_action.yml diff --git a/sema4ai-code/tests/sema4ai_code_tests/test_vscode_integration/test_lint_robot_integration_deps.yml b/sema4ai/tests/sema4ai_code_tests/test_vscode_integration/test_lint_robot_integration_deps.yml similarity index 92% rename from sema4ai-code/tests/sema4ai_code_tests/test_vscode_integration/test_lint_robot_integration_deps.yml rename to sema4ai/tests/sema4ai_code_tests/test_vscode_integration/test_lint_robot_integration_deps.yml index 73ed8aa51..24f6f9f6b 100644 --- a/sema4ai-code/tests/sema4ai_code_tests/test_vscode_integration/test_lint_robot_integration_deps.yml +++ b/sema4ai/tests/sema4ai_code_tests/test_vscode_integration/test_lint_robot_integration_deps.yml @@ -8,4 +8,4 @@ character: 8 line: 4 severity: 2 - source: sema4ai-code + source: sema4ai diff --git a/sema4ai-code/tests/sema4ai_code_tests/test_vscode_integration/test_lint_robot_integration_rcc.yml b/sema4ai/tests/sema4ai_code_tests/test_vscode_integration/test_lint_robot_integration_rcc.yml similarity index 89% rename from sema4ai-code/tests/sema4ai_code_tests/test_vscode_integration/test_lint_robot_integration_rcc.yml rename to sema4ai/tests/sema4ai_code_tests/test_vscode_integration/test_lint_robot_integration_rcc.yml index 51af29d1d..c48065343 100644 --- a/sema4ai-code/tests/sema4ai_code_tests/test_vscode_integration/test_lint_robot_integration_rcc.yml +++ b/sema4ai/tests/sema4ai_code_tests/test_vscode_integration/test_lint_robot_integration_rcc.yml @@ -7,7 +7,7 @@ character: 0 line: 0 severity: 2 - source: sema4ai-code + source: sema4ai - message: Try to avoid defaults channel, and prefer using conda-forge instead. range: end: @@ -17,7 +17,7 @@ character: 0 line: 0 severity: 2 - source: sema4ai-code + source: sema4ai - message: Try to avoid multiple channel. They may cause problems with code compatibility. range: end: @@ -27,7 +27,7 @@ character: 0 line: 0 severity: 2 - source: sema4ai-code + source: sema4ai - message: Try to avoid putting defaults channel as first channel. range: end: @@ -37,4 +37,4 @@ character: 0 line: 0 severity: 2 - source: sema4ai-code + source: sema4ai diff --git a/sema4ai-code/tests/sema4ai_code_tests/test_vscode_integration/test_obtain_locator_info.yml b/sema4ai/tests/sema4ai_code_tests/test_vscode_integration/test_obtain_locator_info.yml similarity index 100% rename from sema4ai-code/tests/sema4ai_code_tests/test_vscode_integration/test_obtain_locator_info.yml rename to sema4ai/tests/sema4ai_code_tests/test_vscode_integration/test_obtain_locator_info.yml diff --git a/sema4ai-code/tests/sema4ai_code_tests/test_work_items.py b/sema4ai/tests/sema4ai_code_tests/test_work_items.py similarity index 100% rename from sema4ai-code/tests/sema4ai_code_tests/test_work_items.py rename to sema4ai/tests/sema4ai_code_tests/test_work_items.py diff --git a/sema4ai-code/tests/sema4ai_code_tests/test_work_items/test_list_work_items-1-no-increment.yml b/sema4ai/tests/sema4ai_code_tests/test_work_items/test_list_work_items-1-no-increment.yml similarity index 100% rename from sema4ai-code/tests/sema4ai_code_tests/test_work_items/test_list_work_items-1-no-increment.yml rename to sema4ai/tests/sema4ai_code_tests/test_work_items/test_list_work_items-1-no-increment.yml diff --git a/sema4ai-code/tests/sema4ai_code_tests/test_work_items/test_list_work_items-2.yml b/sema4ai/tests/sema4ai_code_tests/test_work_items/test_list_work_items-2.yml similarity index 100% rename from sema4ai-code/tests/sema4ai_code_tests/test_work_items/test_list_work_items-2.yml rename to sema4ai/tests/sema4ai_code_tests/test_work_items/test_list_work_items-2.yml diff --git a/sema4ai-code/tests/sema4ai_code_tests/test_work_items/test_list_work_items-interactive-1.yml b/sema4ai/tests/sema4ai_code_tests/test_work_items/test_list_work_items-interactive-1.yml similarity index 100% rename from sema4ai-code/tests/sema4ai_code_tests/test_work_items/test_list_work_items-interactive-1.yml rename to sema4ai/tests/sema4ai_code_tests/test_work_items/test_list_work_items-interactive-1.yml diff --git a/sema4ai-code/tests/sema4ai_code_tests/test_work_items/test_list_work_items-interactive-2.yml b/sema4ai/tests/sema4ai_code_tests/test_work_items/test_list_work_items-interactive-2.yml similarity index 100% rename from sema4ai-code/tests/sema4ai_code_tests/test_work_items/test_list_work_items-interactive-2.yml rename to sema4ai/tests/sema4ai_code_tests/test_work_items/test_list_work_items-interactive-2.yml diff --git a/sema4ai-code/tests/sema4ai_code_tests/test_work_items/test_list_work_items-interactive-3.yml b/sema4ai/tests/sema4ai_code_tests/test_work_items/test_list_work_items-interactive-3.yml similarity index 100% rename from sema4ai-code/tests/sema4ai_code_tests/test_work_items/test_list_work_items-interactive-3.yml rename to sema4ai/tests/sema4ai_code_tests/test_work_items/test_list_work_items-interactive-3.yml diff --git a/sema4ai-code/tests/sema4ai_code_tests/test_work_items/test_list_work_items.yml b/sema4ai/tests/sema4ai_code_tests/test_work_items/test_list_work_items.yml similarity index 100% rename from sema4ai-code/tests/sema4ai_code_tests/test_work_items/test_list_work_items.yml rename to sema4ai/tests/sema4ai_code_tests/test_work_items/test_list_work_items.yml diff --git a/sema4ai-code/vscode-client/.gitignore b/sema4ai/vscode-client/.gitignore similarity index 100% rename from sema4ai-code/vscode-client/.gitignore rename to sema4ai/vscode-client/.gitignore diff --git a/sema4ai-code/vscode-client/.vscodeignore b/sema4ai/vscode-client/.vscodeignore similarity index 100% rename from sema4ai-code/vscode-client/.vscodeignore rename to sema4ai/vscode-client/.vscodeignore diff --git a/sema4ai-code/vscode-client/src/actionServer.ts b/sema4ai/vscode-client/src/actionServer.ts similarity index 99% rename from sema4ai-code/vscode-client/src/actionServer.ts rename to sema4ai/vscode-client/src/actionServer.ts index 9071a5209..eb9a9c72e 100644 --- a/sema4ai-code/vscode-client/src/actionServer.ts +++ b/sema4ai/vscode-client/src/actionServer.ts @@ -19,7 +19,7 @@ if (process.platform === "win32") { DOWNLOAD_URL = "https://downloads.robocorp.com/action-server/releases/latest/macos64/action-server"; } -// Update so that Sema4.ai Code requests the latest version of the action server. +// Update so that Sema4.ai requests the latest version of the action server. const LATEST_ACTION_SERVER_VERSION = "0.3.2"; async function downloadActionServer(internalActionServerLocation: string) { diff --git a/sema4ai-code/vscode-client/src/activities.ts b/sema4ai/vscode-client/src/activities.ts similarity index 99% rename from sema4ai-code/vscode-client/src/activities.ts rename to sema4ai/vscode-client/src/activities.ts index 8324287bc..b6c001a21 100644 --- a/sema4ai-code/vscode-client/src/activities.ts +++ b/sema4ai/vscode-client/src/activities.ts @@ -149,7 +149,7 @@ export async function cloudLogout(): Promise { * Note that callers need to check both whether it was successful as well as if the interpreter was resolved. */ export async function resolveInterpreter(targetRobot: string): Promise> { - // Note: this may also activate `Sema4.ai Code` if it's still not activated + // Note: this may also activate `Sema4.ai` if it's still not activated // (so, it cannot be used during startup as there'd be a cyclic dependency). try { let interpreter: InterpreterInfo | undefined = await commands.executeCommand( @@ -330,7 +330,7 @@ export async function setPythonInterpreterFromRobotYaml() { window.showInformationMessage("Successfully set python executable path for vscode-python."); } else if (!pythonExecutableConfigured) { window.showInformationMessage( - "Unable to verify if vscode-python executable was properly set. See OUTPUT -> Sema4.ai Code for more info." + "Unable to verify if vscode-python executable was properly set. See OUTPUT -> Sema4.ai for more info." ); } else { if (pythonExecutableConfigured != interpreter.pythonExe) { @@ -701,7 +701,7 @@ export async function askAndRunRobotRCC(noDebug: boolean) { export async function runRobotRCC(noDebug: boolean, robotYaml: string, taskName: string) { let debugConfiguration: DebugConfiguration = { "name": "Config", - "type": "sema4ai-code", + "type": "sema4ai", "request": "launch", "robot": robotYaml, "task": taskName, @@ -855,7 +855,7 @@ export async function updateLaunchEnvironment(args): Promise<{ [key: string]: st if (error && error.message) { msg += ` (${error.message})`; } - msg += "See OUTPUT > Sema4.ai Code for more details."; + msg += "See OUTPUT > Sema4.ai for more details."; window.showErrorMessage(msg); logError("Error computing launch env.", error, "ERROR_LAUNCH_ENV"); throw error; @@ -872,7 +872,7 @@ export async function updateLaunchEnvironment(args): Promise<{ [key: string]: st await window.withProgress( { location: vscode.ProgressLocation.Notification, - title: "Running preRunScripts (see 'OUTPUT > Sema4.ai Code' for details).", + title: "Running preRunScripts (see 'OUTPUT > Sema4.ai' for details).", cancellable: false, }, async ( @@ -890,7 +890,7 @@ export async function updateLaunchEnvironment(args): Promise<{ [key: string]: st if (!result["success"]) { OUTPUT_CHANNEL.show(); window.showErrorMessage( - "There was a problem running preRunScripts. See `OUTPUT > Sema4.ai Code` for more details." + "There was a problem running preRunScripts. See `OUTPUT > Sema4.ai` for more details." ); } } diff --git a/sema4ai-code/vscode-client/src/ask.ts b/sema4ai/vscode-client/src/ask.ts similarity index 100% rename from sema4ai-code/vscode-client/src/ask.ts rename to sema4ai/vscode-client/src/ask.ts diff --git a/sema4ai-code/vscode-client/src/channel.ts b/sema4ai/vscode-client/src/channel.ts similarity index 95% rename from sema4ai-code/vscode-client/src/channel.ts rename to sema4ai/vscode-client/src/channel.ts index adda362bd..b9e981ec6 100644 --- a/sema4ai-code/vscode-client/src/channel.ts +++ b/sema4ai/vscode-client/src/channel.ts @@ -1,7 +1,7 @@ import { window } from "vscode"; import { feedbackRobocorpCodeError } from "./rcc"; -export const OUTPUT_CHANNEL_NAME = "Sema4.ai Code"; +export const OUTPUT_CHANNEL_NAME = "Sema4.ai"; export const OUTPUT_CHANNEL = window.createOutputChannel(OUTPUT_CHANNEL_NAME); export function buildErrorStr(err: Error | undefined) { diff --git a/sema4ai-code/vscode-client/src/clear.ts b/sema4ai/vscode-client/src/clear.ts similarity index 100% rename from sema4ai-code/vscode-client/src/clear.ts rename to sema4ai/vscode-client/src/clear.ts diff --git a/sema4ai-code/vscode-client/src/common.ts b/sema4ai/vscode-client/src/common.ts similarity index 100% rename from sema4ai-code/vscode-client/src/common.ts rename to sema4ai/vscode-client/src/common.ts diff --git a/sema4ai-code/vscode-client/src/debugger.ts b/sema4ai/vscode-client/src/debugger.ts similarity index 96% rename from sema4ai-code/vscode-client/src/debugger.ts rename to sema4ai/vscode-client/src/debugger.ts index b92d7be7e..681ce216f 100644 --- a/sema4ai-code/vscode-client/src/debugger.ts +++ b/sema4ai/vscode-client/src/debugger.ts @@ -33,8 +33,8 @@ export class RobocorpCodeDebugConfigurationProvider implements DebugConfiguratio provideDebugConfigurations?(folder: WorkspaceFolder | undefined, token?: CancellationToken): DebugConfiguration[] { let configurations: DebugConfiguration[] = []; configurations.push({ - "type": "sema4ai-code", - "name": "Sema4.ai Code: Launch task from robot.yaml", + "type": "sema4ai", + "name": "Sema4.ai: Launch task from robot.yaml", "request": "launch", "robot": '^"\\${file}"', "task": "", @@ -148,8 +148,8 @@ export class RobocorpCodeDebugConfigurationProvider implements DebugConfiguratio } // In a custom run we get the input contents -- something as: - // "type": "sema4ai-code", - // "name": "Sema4.ai Code: Launch task from current robot.yaml", + // "type": "sema4ai", + // "name": "Sema4.ai: Launch task from current robot.yaml", // "request": "launch", // "robot": "c:/robot.yaml", // "task": "entrypoint", @@ -246,12 +246,12 @@ export function registerDebugger() { } } - debug.registerDebugAdapterDescriptorFactory("sema4ai-code", { + debug.registerDebugAdapterDescriptorFactory("sema4ai", { createDebugAdapterDescriptor: (session) => { const config: DebugConfiguration = session.configuration; return createDebugAdapterExecutable(config); }, }); - debug.registerDebugConfigurationProvider("sema4ai-code", new RobocorpCodeDebugConfigurationProvider()); + debug.registerDebugConfigurationProvider("sema4ai", new RobocorpCodeDebugConfigurationProvider()); } diff --git a/sema4ai-code/vscode-client/src/extension.ts b/sema4ai/vscode-client/src/extension.ts similarity index 94% rename from sema4ai-code/vscode-client/src/extension.ts rename to sema4ai/vscode-client/src/extension.ts index 039c43242..bcd864d59 100644 --- a/sema4ai-code/vscode-client/src/extension.ts +++ b/sema4ai/vscode-client/src/extension.ts @@ -203,7 +203,7 @@ const serverOptions: ServerOptions = async function () { let executableAndEnv: InterpreterInfo | undefined; function onNoPython() { OUTPUT_CHANNEL.appendLine( - "Unable to activate Sema4.ai Code extension because python executable from RCC environment was not provided.\n" + + "Unable to activate Sema4.ai extension because python executable from RCC environment was not provided.\n" + " -- Most common reason is that the environment couldn't be created due to network connectivity issues.\n" + " -- Please fix the error and restart VSCode." ); @@ -263,9 +263,7 @@ const serverOptions: ServerOptions = async function () { args = args.concat(["-v"]); } - OUTPUT_CHANNEL.appendLine( - "Starting Sema4.ai Code with args: " + executableAndEnv.pythonExe + " " + args.join(" ") - ); + OUTPUT_CHANNEL.appendLine("Starting Sema4.ai with args: " + executableAndEnv.pythonExe + " " + args.join(" ")); let src: string = path.resolve(__dirname, "../../src"); let executableAndEnvEnviron = {}; @@ -288,10 +286,10 @@ const serverOptions: ServerOptions = async function () { async function notifyOfInitializationErrorShowOutputTab(msg?: string) { OUTPUT_CHANNEL.show(); if (!msg) { - msg = "Unable to activate Sema4.ai Code extension. Please see: Output > Sema4.ai Code for more details."; + msg = "Unable to activate Sema4.ai extension. Please see: Output > Sema4.ai for more details."; } window.showErrorMessage(msg); - const selection = await window.showErrorMessage(msg, "Show Output > Sema4.ai Code"); + const selection = await window.showErrorMessage(msg, "Show Output > Sema4.ai"); if (selection) { OUTPUT_CHANNEL.show(); } @@ -370,7 +368,7 @@ function registerRobocorpCodeCommands(C: CommandRegistry, context: ExtensionCont } catch (error) { logError("Error downloading latest action server", error, "ERR_DOWNLOAD_ACTION_SERVER"); window.showErrorMessage( - "There was an error downloading the action server. See `OUTPUT > Sema4.ai Code` for more information." + "There was an error downloading the action server. See `OUTPUT > Sema4.ai` for more information." ); } }); @@ -486,7 +484,7 @@ async function clearEnvAndRestart() { await window.withProgress( { location: vscode.ProgressLocation.Window, - title: "Clearing environments and restarting Sema4.ai Code.", + title: "Clearing environments and restarting Sema4.ai.", cancellable: false, }, clearEnvsAndRestart @@ -507,22 +505,22 @@ async function clearEnvsAndRestart(progress: vscode.Progress<{ message?: string; }); const timing = new Timing(); progress.report({ - "message": `Waiting for Sema4.ai Code to be ready.`, + "message": `Waiting for Sema4.ai to be ready.`, }); await langServer.onReady(); - let msg = "Restarted Sema4.ai Code. Took: " + timing.getTotalElapsedAsStr(); + let msg = "Restarted Sema4.ai. Took: " + timing.getTotalElapsedAsStr(); progress.report({ "message": msg, }); OUTPUT_CHANNEL.appendLine(msg); } catch (err) { allOk = false; - const msg = "Error restarting Sema4.ai Code"; + const msg = "Error restarting Sema4.ai"; notifyOfInitializationErrorShowOutputTab(msg); logError(msg, err, "INIT_RESTART_ROBOCORP_CODE"); } finally { if (allOk) { - window.showInformationMessage("RCC Environments cleared and Sema4.ai Code restarted."); + window.showInformationMessage("RCC Environments cleared and Sema4.ai restarted."); C.useErrorStubs = false; } else { C.useErrorStubs = true; @@ -556,7 +554,7 @@ async function clearEnvsLocked(progress: vscode.Progress<{ message?: string; inc globalCachedPythonInfo = undefined; C.useErrorStubs = true; // Prevent any calls while restarting... - C.errorMessage = "Unable to use Sema4.ai Code actions while clearing environments."; + C.errorMessage = "Unable to use Sema4.ai actions while clearing environments."; let okToRestartRFLS = false; try { let timing = new Timing(); @@ -574,10 +572,10 @@ async function clearEnvsLocked(progress: vscode.Progress<{ message?: string; inc let timingStop = new Timing(); progress.report({ - "message": `Stopping Sema4.ai Code.`, + "message": `Stopping Sema4.ai.`, }); await langServer.stop(); - OUTPUT_CHANNEL.appendLine("Stopped Sema4.ai Code. Took: " + timingStop.getTotalElapsedAsStr()); + OUTPUT_CHANNEL.appendLine("Stopped Sema4.ai. Took: " + timingStop.getTotalElapsedAsStr()); if (envsToLoCollect) { await clearRCCEnvironments(rccLocation, robocorpHome, envsToLoCollect, progress); @@ -585,16 +583,16 @@ async function clearEnvsLocked(progress: vscode.Progress<{ message?: string; inc try { progress.report({ - "message": `Clearing Sema4.ai Code caches.`, + "message": `Clearing Sema4.ai caches.`, }); await clearRobocorpCodeCaches(robocorpHome); } catch (error) { - let msg = "Error clearing Sema4.ai Code caches."; + let msg = "Error clearing Sema4.ai caches."; logError(msg, error, "RCC_CLEAR_ENV"); } progress.report({ - "message": `Starting Sema4.ai Code.`, + "message": `Starting Sema4.ai.`, }); langServer.start(); } finally { @@ -612,7 +610,7 @@ export let GLOBAL_STATE: undefined | vscode.Memento = undefined; export async function activate(context: ExtensionContext) { GLOBAL_STATE = context.globalState; let timing = new Timing(); - OUTPUT_CHANNEL.appendLine("Activating Sema4.ai Code extension."); + OUTPUT_CHANNEL.appendLine("Activating Sema4.ai extension."); registerLinkProviders(context); C = new CommandRegistry(context); @@ -620,11 +618,11 @@ export async function activate(context: ExtensionContext) { try { return await langServerMutex.dispatch(async () => { let ret = await doActivate(context, C); - OUTPUT_CHANNEL.appendLine("Sema4.ai Code initialization finished. Took: " + timing.getTotalElapsedAsStr()); + OUTPUT_CHANNEL.appendLine("Sema4.ai initialization finished. Took: " + timing.getTotalElapsedAsStr()); return ret; }); } catch (error) { - logError("Error initializing Sema4.ai Code extension", error, "INIT_ROBOCORP_CODE_ERROR"); + logError("Error initializing Sema4.ai extension", error, "INIT_ROBOCORP_CODE_ERROR"); C.useErrorStubs = true; notifyOfInitializationErrorShowOutputTab(); } @@ -731,9 +729,9 @@ export async function doActivate(context: ExtensionContext, C: CommandRegistry) const micro = parseInt(splitted[2]); if (major < 1 || (major == 1 && (minor < 7 || (minor == 7 && micro < 0)))) { const msg = - "Unable to initialize the Sema4.ai Code extension because the Robot Framework Language Server version (" + + "Unable to initialize the Sema4.ai extension because the Robot Framework Language Server version (" + version + - ") is not compatible with this version of Sema4.ai Code. Robot Framework Language Server 1.7.0 or newer is required. Please update to proceed. "; + ") is not compatible with this version of Sema4.ai. Robot Framework Language Server 1.7.0 or newer is required. Please update to proceed. "; OUTPUT_CHANNEL.appendLine(msg); C.useErrorStubs = true; notifyOfInitializationErrorShowOutputTab(msg); @@ -767,7 +765,7 @@ export async function doActivate(context: ExtensionContext, C: CommandRegistry) }); let startLsTiming = new Timing(); - langServer = new LanguageClient("Sema4.ai Code", serverOptions, clientOptions); + langServer = new LanguageClient("Sema4.ai", serverOptions, clientOptions); context.subscriptions.push( langServer.onDidChangeState((event) => { @@ -820,12 +818,12 @@ export async function doActivate(context: ExtensionContext, C: CommandRegistry) context.subscriptions.push(disposable); // i.e.: if we return before it's ready, the language server commands // may not be available. - OUTPUT_CHANNEL.appendLine("Waiting for Sema4.ai Code (python) language server to finish activating..."); + OUTPUT_CHANNEL.appendLine("Waiting for Sema4.ai (python) language server to finish activating..."); await langServer.onReady(); // If it started properly, mark that it worked. GLOBAL_STATE.update(CACHE_KEY_LAST_WORKED, true); OUTPUT_CHANNEL.appendLine( - "Took: " + startLsTiming.getTotalElapsedAsStr() + " to initialize Sema4.ai Code Language Server." + "Took: " + startLsTiming.getTotalElapsedAsStr() + " to initialize Sema4.ai Language Server." ); } catch (error) { logError("Error initializing Robocorp code.", error, "ERROR_INITIALIZING_ROBOCORP_CODE_LANG_SERVER"); diff --git a/sema4ai-code/vscode-client/src/extensionCreateEnv.ts b/sema4ai/vscode-client/src/extensionCreateEnv.ts similarity index 99% rename from sema4ai-code/vscode-client/src/extensionCreateEnv.ts rename to sema4ai/vscode-client/src/extensionCreateEnv.ts index 9d126214e..9134abf2d 100644 --- a/sema4ai-code/vscode-client/src/extensionCreateEnv.ts +++ b/sema4ai/vscode-client/src/extensionCreateEnv.ts @@ -212,7 +212,7 @@ async function verifyLongPathSupportOnWindows( const NO = "No (don't warn again)"; let result = await window.showErrorMessage( - "Windows long paths support is not enabled. Would you like to have Sema4.ai Code enable it now?", + "Windows long paths support is not enabled. Would you like to have Sema4.ai enable it now?", { "modal": true, "detail": @@ -303,7 +303,7 @@ export async function basicValidations( // Check that ROBOCORP_HOME is valid (i.e.: doesn't have any spaces in it). let rccDiagnostics: RCCDiagnostics | undefined = await configDiagnosticsPromise; if (!rccDiagnostics) { - let msg: string = "There was an error getting RCC diagnostics. Sema4.ai Code will not be started!"; + let msg: string = "There was an error getting RCC diagnostics. Sema4.ai will not be started!"; if (!failsPreventStartup) { msg = "There was an error getting RCC diagnostics."; } @@ -357,7 +357,7 @@ export async function basicValidations( robocorpHome = uriResult[0].fsPath; rccDiagnostics = await runConfigDiagnostics(rccLocation, robocorpHome); if (!rccDiagnostics) { - let msg: string = "There was an error getting RCC diagnostics. Sema4.ai Code will not be started!"; + let msg: string = "There was an error getting RCC diagnostics. Sema4.ai will not be started!"; if (!failsPreventStartup) { msg = "There was an error getting RCC diagnostics."; } @@ -498,10 +498,10 @@ async function createDefaultEnv( /** * Shows a messages saying that the extension is disabled (as an error message to the user) - * and logs it to OUTPUT > Sema4.ai Code. + * and logs it to OUTPUT > Sema4.ai. */ function disabled(msg: string): undefined { - msg = "Sema4.ai Code extension disabled. Reason: " + msg; + msg = "Sema4.ai extension disabled. Reason: " + msg; OUTPUT_CHANNEL.appendLine(msg); window.showErrorMessage(msg); OUTPUT_CHANNEL.show(); diff --git a/sema4ai-code/vscode-client/src/files.ts b/sema4ai/vscode-client/src/files.ts similarity index 100% rename from sema4ai-code/vscode-client/src/files.ts rename to sema4ai/vscode-client/src/files.ts diff --git a/sema4ai-code/vscode-client/src/inspector.ts b/sema4ai/vscode-client/src/inspector.ts similarity index 100% rename from sema4ai-code/vscode-client/src/inspector.ts rename to sema4ai/vscode-client/src/inspector.ts diff --git a/sema4ai-code/vscode-client/src/inspector/inspectorView.ts b/sema4ai/vscode-client/src/inspector/inspectorView.ts similarity index 100% rename from sema4ai-code/vscode-client/src/inspector/inspectorView.ts rename to sema4ai/vscode-client/src/inspector/inspectorView.ts diff --git a/sema4ai-code/vscode-client/src/inspector/protocols.ts b/sema4ai/vscode-client/src/inspector/protocols.ts similarity index 100% rename from sema4ai-code/vscode-client/src/inspector/protocols.ts rename to sema4ai/vscode-client/src/inspector/protocols.ts diff --git a/sema4ai-code/vscode-client/src/inspector/types.ts b/sema4ai/vscode-client/src/inspector/types.ts similarity index 100% rename from sema4ai-code/vscode-client/src/inspector/types.ts rename to sema4ai/vscode-client/src/inspector/types.ts diff --git a/sema4ai-code/vscode-client/src/inspector/utils.ts b/sema4ai/vscode-client/src/inspector/utils.ts similarity index 100% rename from sema4ai-code/vscode-client/src/inspector/utils.ts rename to sema4ai/vscode-client/src/inspector/utils.ts diff --git a/sema4ai-code/vscode-client/src/locators.ts b/sema4ai/vscode-client/src/locators.ts similarity index 100% rename from sema4ai-code/vscode-client/src/locators.ts rename to sema4ai/vscode-client/src/locators.ts diff --git a/sema4ai-code/vscode-client/src/mutex.ts b/sema4ai/vscode-client/src/mutex.ts similarity index 100% rename from sema4ai-code/vscode-client/src/mutex.ts rename to sema4ai/vscode-client/src/mutex.ts diff --git a/sema4ai-code/vscode-client/src/output/outView.ts b/sema4ai/vscode-client/src/output/outView.ts similarity index 100% rename from sema4ai-code/vscode-client/src/output/outView.ts rename to sema4ai/vscode-client/src/output/outView.ts diff --git a/sema4ai-code/vscode-client/src/output/outViewRunIntegration.ts b/sema4ai/vscode-client/src/output/outViewRunIntegration.ts similarity index 100% rename from sema4ai-code/vscode-client/src/output/outViewRunIntegration.ts rename to sema4ai/vscode-client/src/output/outViewRunIntegration.ts diff --git a/sema4ai-code/vscode-client/src/playwright.ts b/sema4ai/vscode-client/src/playwright.ts similarity index 100% rename from sema4ai-code/vscode-client/src/playwright.ts rename to sema4ai/vscode-client/src/playwright.ts diff --git a/sema4ai-code/vscode-client/src/profiles.ts b/sema4ai/vscode-client/src/profiles.ts similarity index 100% rename from sema4ai-code/vscode-client/src/profiles.ts rename to sema4ai/vscode-client/src/profiles.ts diff --git a/sema4ai-code/vscode-client/src/progress.ts b/sema4ai/vscode-client/src/progress.ts similarity index 100% rename from sema4ai-code/vscode-client/src/progress.ts rename to sema4ai/vscode-client/src/progress.ts diff --git a/sema4ai-code/vscode-client/src/protocols.ts b/sema4ai/vscode-client/src/protocols.ts similarity index 100% rename from sema4ai-code/vscode-client/src/protocols.ts rename to sema4ai/vscode-client/src/protocols.ts diff --git a/sema4ai-code/vscode-client/src/pythonExtIntegration.ts b/sema4ai/vscode-client/src/pythonExtIntegration.ts similarity index 100% rename from sema4ai-code/vscode-client/src/pythonExtIntegration.ts rename to sema4ai/vscode-client/src/pythonExtIntegration.ts diff --git a/sema4ai-code/vscode-client/src/rcc.ts b/sema4ai/vscode-client/src/rcc.ts similarity index 99% rename from sema4ai-code/vscode-client/src/rcc.ts rename to sema4ai/vscode-client/src/rcc.ts index 369aa17bb..364158da4 100644 --- a/sema4ai-code/vscode-client/src/rcc.ts +++ b/sema4ai/vscode-client/src/rcc.ts @@ -493,7 +493,7 @@ export async function collectIssueLogs(logPath: string): Promise } async function collectIssueBaseMetadata(): Promise { - let version = extensions.getExtension("sema4ai.sema4ai-code").packageJSON.version; + let version = extensions.getExtension("sema4ai.sema4ai").packageJSON.version; const metadata = { platform: os.platform(), osRelease: os.release(), diff --git a/sema4ai-code/vscode-client/src/rccTerminal.ts b/sema4ai/vscode-client/src/rccTerminal.ts similarity index 97% rename from sema4ai-code/vscode-client/src/rccTerminal.ts rename to sema4ai/vscode-client/src/rccTerminal.ts index c91440806..f65d40a1d 100644 --- a/sema4ai-code/vscode-client/src/rccTerminal.ts +++ b/sema4ai/vscode-client/src/rccTerminal.ts @@ -93,7 +93,7 @@ export async function createRccTerminal(robotInfo: LocalRobotMetadataInfo) { name: robotInfo.name + " Package environment", env: env, cwd: pathModule.dirname(robotInfo.filePath), - message: "Sema4.ai Code Package Activated Interpreter (Python Environment)", + message: "Sema4.ai Package Activated Interpreter (Python Environment)", shellPath: "C:\\Windows\\System32\\cmd.exe", }); const varsFilePath = pathModule.join(env.RCC_HOLOTREE_SPACE_ROOT, "environment_vars.bat"); @@ -112,7 +112,7 @@ export async function createRccTerminal(robotInfo: LocalRobotMetadataInfo) { name: robotInfo.name + " Package environment", env: env, cwd: pathModule.dirname(robotInfo.filePath), - message: "Sema4.ai Code Package Activated Interpreter (Python Environment)", + message: "Sema4.ai Package Activated Interpreter (Python Environment)", }); const varsFilePath = pathModule.join(env.RCC_HOLOTREE_SPACE_ROOT, "environment_vars.sh"); const envVarsContent = Object.keys(env) diff --git a/sema4ai-code/vscode-client/src/requestLight.ts b/sema4ai/vscode-client/src/requestLight.ts similarity index 100% rename from sema4ai-code/vscode-client/src/requestLight.ts rename to sema4ai/vscode-client/src/requestLight.ts diff --git a/sema4ai-code/vscode-client/src/robo/README.md b/sema4ai/vscode-client/src/robo/README.md similarity index 100% rename from sema4ai-code/vscode-client/src/robo/README.md rename to sema4ai/vscode-client/src/robo/README.md diff --git a/sema4ai-code/vscode-client/src/robo/actionPackage.ts b/sema4ai/vscode-client/src/robo/actionPackage.ts similarity index 99% rename from sema4ai-code/vscode-client/src/robo/actionPackage.ts rename to sema4ai/vscode-client/src/robo/actionPackage.ts index 7b433b591..5a77a59f2 100644 --- a/sema4ai-code/vscode-client/src/robo/actionPackage.ts +++ b/sema4ai/vscode-client/src/robo/actionPackage.ts @@ -201,7 +201,7 @@ export async function runActionFromActionPackage( // Ok, input available. Let's create the launch and run it. let debugConfiguration: vscode.DebugConfiguration = { "name": "Config", - "type": "sema4ai-code", + "type": "sema4ai", "request": "launch", "package": packageYaml, "uri": actionFileUri.toString(), @@ -324,6 +324,6 @@ export async function createActionPackage() { const errorMsg = "Error creating Action Package at: " + targetDir; logError(errorMsg, err, "ERR_CREATE_ACTION_PACKAGE"); OUTPUT_CHANNEL.appendLine(errorMsg); - window.showErrorMessage(errorMsg + " (see `OUTPUT > Sema4.ai Code` for more details)."); + window.showErrorMessage(errorMsg + " (see `OUTPUT > Sema4.ai` for more details)."); } } diff --git a/sema4ai-code/vscode-client/src/robo/linkProvider.ts b/sema4ai/vscode-client/src/robo/linkProvider.ts similarity index 100% rename from sema4ai-code/vscode-client/src/robo/linkProvider.ts rename to sema4ai/vscode-client/src/robo/linkProvider.ts diff --git a/sema4ai-code/vscode-client/src/robo/runRobocorpTasks.ts b/sema4ai/vscode-client/src/robo/runRobocorpTasks.ts similarity index 100% rename from sema4ai-code/vscode-client/src/robo/runRobocorpTasks.ts rename to sema4ai/vscode-client/src/robo/runRobocorpTasks.ts diff --git a/sema4ai-code/vscode-client/src/robocorpCommands.ts b/sema4ai/vscode-client/src/robocorpCommands.ts similarity index 99% rename from sema4ai-code/vscode-client/src/robocorpCommands.ts rename to sema4ai/vscode-client/src/robocorpCommands.ts index 3c8916d38..91e9cb554 100644 --- a/sema4ai-code/vscode-client/src/robocorpCommands.ts +++ b/sema4ai/vscode-client/src/robocorpCommands.ts @@ -90,8 +90,8 @@ export const SEMA4AI_DISCONNECT_WORKSPACE = "sema4ai.disconnectWorkspace"; // D export const SEMA4AI_GET_CONNECTED_VAULT_WORKSPACE_INTERNAL = "sema4ai.getConnectedVaultWorkspace.internal"; // Gets workspace id currently connected export const SEMA4AI_SET_CONNECTED_VAULT_WORKSPACE_INTERNAL = "sema4ai.setConnectedVaultWorkspace.internal"; // Sets the currently connected Control Room Workspace export const SEMA4AI_OPEN_VAULT_HELP = "sema4ai.openVaultHelp"; // Open vault help -export const SEMA4AI_CLEAR_ENV_AND_RESTART = "sema4ai.clearEnvAndRestart"; // Clear Robocorp (RCC) environments and restart Sema4.ai Code -export const SEMA4AI_SHOW_OUTPUT = "sema4ai.showOutput"; // Show Sema4.ai Code > Output logs +export const SEMA4AI_CLEAR_ENV_AND_RESTART = "sema4ai.clearEnvAndRestart"; // Clear Robocorp (RCC) environments and restart Sema4.ai +export const SEMA4AI_SHOW_OUTPUT = "sema4ai.showOutput"; // Show Sema4.ai > Output logs export const SEMA4AI_SHOW_INTERPRETER_ENV_ERROR = "sema4ai.showInterpreterEnvError"; // Show error related to interpreter env creation export const SEMA4AI_OPEN_FLOW_EXPLORER_TREE_SELECTION = "sema4ai.openFlowExplorerTreeSelection"; // Open Flow Explorer export const SEMA4AI_PROFILE_IMPORT = "sema4ai.profileImport"; // Import Profile diff --git a/sema4ai-code/vscode-client/src/robocorpSettings.ts b/sema4ai/vscode-client/src/robocorpSettings.ts similarity index 100% rename from sema4ai-code/vscode-client/src/robocorpSettings.ts rename to sema4ai/vscode-client/src/robocorpSettings.ts diff --git a/sema4ai-code/vscode-client/src/robocorpViews.ts b/sema4ai/vscode-client/src/robocorpViews.ts similarity index 70% rename from sema4ai-code/vscode-client/src/robocorpViews.ts rename to sema4ai/vscode-client/src/robocorpViews.ts index 2b2c8a61c..35518adff 100644 --- a/sema4ai-code/vscode-client/src/robocorpViews.ts +++ b/sema4ai/vscode-client/src/robocorpViews.ts @@ -1,7 +1,7 @@ // Warning: Don't edit file (autogenerated from python -m dev codegen). -export const TREE_VIEW_CONTAINER_SEM4AI_PACKAGES = "sem4ai-packages"; // Sema4.ai Code -export const TREE_VIEW_SEMA4AI_TASK_PACKAGES_TREE = "sema4ai-task-packages-tree"; // Sema4.ai Code -export const TREE_VIEW_SEMA4AI_PACKAGE_CONTENT_TREE = "sema4ai-package-content-tree"; // Sema4.ai Code -export const TREE_VIEW_SEMA4AI_PACKAGE_RESOURCES_TREE = "sema4ai-package-resources-tree"; // Sema4.ai Code -export const TREE_VIEW_SEMA4AI_CLOUD_TREE = "sema4ai-cloud-tree"; // Sema4.ai Code \ No newline at end of file +export const TREE_VIEW_CONTAINER_SEM4AI_PACKAGES = "sem4ai-packages"; // Sema4.ai +export const TREE_VIEW_SEMA4AI_TASK_PACKAGES_TREE = "sema4ai-task-packages-tree"; // Sema4.ai +export const TREE_VIEW_SEMA4AI_PACKAGE_CONTENT_TREE = "sema4ai-package-content-tree"; // Sema4.ai +export const TREE_VIEW_SEMA4AI_PACKAGE_RESOURCES_TREE = "sema4ai-package-resources-tree"; // Sema4.ai +export const TREE_VIEW_SEMA4AI_CLOUD_TREE = "sema4ai-cloud-tree"; // Sema4.ai \ No newline at end of file diff --git a/sema4ai-code/vscode-client/src/slugify.ts b/sema4ai/vscode-client/src/slugify.ts similarity index 100% rename from sema4ai-code/vscode-client/src/slugify.ts rename to sema4ai/vscode-client/src/slugify.ts diff --git a/sema4ai-code/vscode-client/src/submitIssue.ts b/sema4ai/vscode-client/src/submitIssue.ts similarity index 97% rename from sema4ai-code/vscode-client/src/submitIssue.ts rename to sema4ai/vscode-client/src/submitIssue.ts index dcbf2dc04..d2304033f 100644 --- a/sema4ai-code/vscode-client/src/submitIssue.ts +++ b/sema4ai/vscode-client/src/submitIssue.ts @@ -62,8 +62,8 @@ export async function showSubmitIssueUI(context: vscode.ExtensionContext) { await submitIssue( contents.details, contents.email, - "Sema4.ai Code", - "Sema4.ai Code", + "Sema4.ai", + "Sema4.ai", contents.summary, contents.files ); diff --git a/sema4ai-code/vscode-client/src/subprocess.ts b/sema4ai/vscode-client/src/subprocess.ts similarity index 100% rename from sema4ai-code/vscode-client/src/subprocess.ts rename to sema4ai/vscode-client/src/subprocess.ts diff --git a/sema4ai-code/vscode-client/src/tests/resources/pysample/conda.yaml b/sema4ai/vscode-client/src/tests/resources/pysample/conda.yaml similarity index 100% rename from sema4ai-code/vscode-client/src/tests/resources/pysample/conda.yaml rename to sema4ai/vscode-client/src/tests/resources/pysample/conda.yaml diff --git a/sema4ai-code/vscode-client/src/tests/resources/pysample/robot.yaml b/sema4ai/vscode-client/src/tests/resources/pysample/robot.yaml similarity index 100% rename from sema4ai-code/vscode-client/src/tests/resources/pysample/robot.yaml rename to sema4ai/vscode-client/src/tests/resources/pysample/robot.yaml diff --git a/sema4ai-code/vscode-client/src/tests/resources/pysample/task.py b/sema4ai/vscode-client/src/tests/resources/pysample/task.py similarity index 100% rename from sema4ai-code/vscode-client/src/tests/resources/pysample/task.py rename to sema4ai/vscode-client/src/tests/resources/pysample/task.py diff --git a/sema4ai-code/vscode-client/src/tests/runTests.ts b/sema4ai/vscode-client/src/tests/runTests.ts similarity index 100% rename from sema4ai-code/vscode-client/src/tests/runTests.ts rename to sema4ai/vscode-client/src/tests/runTests.ts diff --git a/sema4ai-code/vscode-client/src/tests/suite/extension.test.ts b/sema4ai/vscode-client/src/tests/suite/extension.test.ts similarity index 95% rename from sema4ai-code/vscode-client/src/tests/suite/extension.test.ts rename to sema4ai/vscode-client/src/tests/suite/extension.test.ts index 8d868dda9..ebfd95f65 100644 --- a/sema4ai-code/vscode-client/src/tests/suite/extension.test.ts +++ b/sema4ai/vscode-client/src/tests/suite/extension.test.ts @@ -8,7 +8,7 @@ import { sleep } from "../../time"; const testFolderLocation = "/resources/"; -suite("Sema4.ai Code Extension Test Suite", () => { +suite("Sema4.ai Extension Test Suite", () => { vscode.window.showInformationMessage("Start all tests."); test("Test that robots can be listed", async () => { diff --git a/sema4ai-code/vscode-client/src/tests/suite/index.ts b/sema4ai/vscode-client/src/tests/suite/index.ts similarity index 100% rename from sema4ai-code/vscode-client/src/tests/suite/index.ts rename to sema4ai/vscode-client/src/tests/suite/index.ts diff --git a/sema4ai-code/vscode-client/src/time.ts b/sema4ai/vscode-client/src/time.ts similarity index 100% rename from sema4ai-code/vscode-client/src/time.ts rename to sema4ai/vscode-client/src/time.ts diff --git a/sema4ai-code/vscode-client/src/vault.ts b/sema4ai/vscode-client/src/vault.ts similarity index 100% rename from sema4ai-code/vscode-client/src/vault.ts rename to sema4ai/vscode-client/src/vault.ts diff --git a/sema4ai-code/vscode-client/src/views.ts b/sema4ai/vscode-client/src/views.ts similarity index 98% rename from sema4ai-code/vscode-client/src/views.ts rename to sema4ai/vscode-client/src/views.ts index b9492f5c2..c0f8602f7 100644 --- a/sema4ai-code/vscode-client/src/views.ts +++ b/sema4ai/vscode-client/src/views.ts @@ -245,16 +245,16 @@ export function registerViews(context: ExtensionContext) { context.subscriptions.push( onSelectedRobotChanged(async (robotEntry: RobotEntry | undefined) => { if (!robotEntry) { - vscode.commands.executeCommand("setContext", "sema4ai-code:single-task-selected", false); - vscode.commands.executeCommand("setContext", "sema4ai-code:single-robot-selected", false); + vscode.commands.executeCommand("setContext", "sema4ai:single-task-selected", false); + vscode.commands.executeCommand("setContext", "sema4ai:single-robot-selected", false); return; } vscode.commands.executeCommand( "setContext", - "sema4ai-code:single-task-selected", + "sema4ai:single-task-selected", robotEntry.type == RobotEntryType.Task ); - vscode.commands.executeCommand("setContext", "sema4ai-code:single-robot-selected", true); + vscode.commands.executeCommand("setContext", "sema4ai:single-robot-selected", true); }) ); diff --git a/sema4ai-code/vscode-client/src/viewsCommon.ts b/sema4ai/vscode-client/src/viewsCommon.ts similarity index 100% rename from sema4ai-code/vscode-client/src/viewsCommon.ts rename to sema4ai/vscode-client/src/viewsCommon.ts diff --git a/sema4ai-code/vscode-client/src/viewsLocators.ts b/sema4ai/vscode-client/src/viewsLocators.ts similarity index 100% rename from sema4ai-code/vscode-client/src/viewsLocators.ts rename to sema4ai/vscode-client/src/viewsLocators.ts diff --git a/sema4ai-code/vscode-client/src/viewsResources.ts b/sema4ai/vscode-client/src/viewsResources.ts similarity index 100% rename from sema4ai-code/vscode-client/src/viewsResources.ts rename to sema4ai/vscode-client/src/viewsResources.ts diff --git a/sema4ai-code/vscode-client/src/viewsRobocorp.ts b/sema4ai/vscode-client/src/viewsRobocorp.ts similarity index 99% rename from sema4ai-code/vscode-client/src/viewsRobocorp.ts rename to sema4ai/vscode-client/src/viewsRobocorp.ts index 20317076f..bacb4c7f3 100644 --- a/sema4ai-code/vscode-client/src/viewsRobocorp.ts +++ b/sema4ai/vscode-client/src/viewsRobocorp.ts @@ -99,7 +99,7 @@ export class CloudTreeDataProvider implements vscode.TreeDataProvider Sema4.ai Code.", + "label": "Error initializing. Click to see Output > Sema4.ai.", "iconPath": "error", "command": { "title": "See output", diff --git a/sema4ai-code/vscode-client/src/viewsRobotContent.ts b/sema4ai/vscode-client/src/viewsRobotContent.ts similarity index 100% rename from sema4ai-code/vscode-client/src/viewsRobotContent.ts rename to sema4ai/vscode-client/src/viewsRobotContent.ts diff --git a/sema4ai-code/vscode-client/src/viewsRobotSelectionTreeBase.ts b/sema4ai/vscode-client/src/viewsRobotSelectionTreeBase.ts similarity index 100% rename from sema4ai-code/vscode-client/src/viewsRobotSelectionTreeBase.ts rename to sema4ai/vscode-client/src/viewsRobotSelectionTreeBase.ts diff --git a/sema4ai-code/vscode-client/src/viewsRobots.ts b/sema4ai/vscode-client/src/viewsRobots.ts similarity index 100% rename from sema4ai-code/vscode-client/src/viewsRobots.ts rename to sema4ai/vscode-client/src/viewsRobots.ts diff --git a/sema4ai-code/vscode-client/src/viewsWorkItems.ts b/sema4ai/vscode-client/src/viewsWorkItems.ts similarity index 100% rename from sema4ai-code/vscode-client/src/viewsWorkItems.ts rename to sema4ai/vscode-client/src/viewsWorkItems.ts diff --git a/sema4ai-code/vscode-client/templates/converter.html b/sema4ai/vscode-client/templates/converter.html similarity index 100% rename from sema4ai-code/vscode-client/templates/converter.html rename to sema4ai/vscode-client/templates/converter.html diff --git a/sema4ai-code/vscode-client/templates/inspector.html b/sema4ai/vscode-client/templates/inspector.html similarity index 100% rename from sema4ai-code/vscode-client/templates/inspector.html rename to sema4ai/vscode-client/templates/inspector.html diff --git a/sema4ai-code/vscode-client/templates/output.html b/sema4ai/vscode-client/templates/output.html similarity index 100% rename from sema4ai-code/vscode-client/templates/output.html rename to sema4ai/vscode-client/templates/output.html diff --git a/sema4ai-code/vscode-client/templates/submit_issue.html b/sema4ai/vscode-client/templates/submit_issue.html similarity index 100% rename from sema4ai-code/vscode-client/templates/submit_issue.html rename to sema4ai/vscode-client/templates/submit_issue.html diff --git a/sema4ai-code/vscode-client/tsconfig.json b/sema4ai/vscode-client/tsconfig.json similarity index 100% rename from sema4ai-code/vscode-client/tsconfig.json rename to sema4ai/vscode-client/tsconfig.json diff --git a/sema4ai-code/yarn.lock b/sema4ai/yarn.lock similarity index 100% rename from sema4ai-code/yarn.lock rename to sema4ai/yarn.lock