Skip to content

refactor(askui): delegate controller path to askui-agent-os package#246

Merged
mlikasam-askui merged 3 commits intomainfrom
integrate-agent-os-package
Mar 19, 2026
Merged

refactor(askui): delegate controller path to askui-agent-os package#246
mlikasam-askui merged 3 commits intomainfrom
integrate-agent-os-package

Conversation

@mlikasam-askui
Copy link
Contributor

@mlikasam-askui mlikasam-askui commented Mar 12, 2026

Summary

Delegate AskUI Remote Device Controller path resolution to the askui-agent-os package instead of implementing it in the sdk repo.

Changes

  • Dependency: Add askui-agent-os>=26.1.1 in pyproject.toml.
  • AskUiControllerSettings:
    • Remove component_registry_file, installation_directory, and controller_path_setting (and related env vars).
    • Implement controller_path as AgentOS.controller_path() from askui-agent-os.
    • Drop in-repo logic for registry file, installation directory, and platform-specific paths.
  • Tests: Remove unit tests for the old resolution behavior; keep and adjust tests for controller_args and settings that still exist.

Motivation

  • Single source of truth for controller discovery in askui-agent-os.
  • Less duplication and easier maintenance when resolution rules change.

- Add askui-agent-os>=26.2.1 dependency
- Replace custom controller path resolution (component registry, installation
  directory, ASKUI_CONTROLLER_PATH) with AgentOS.controller_path()
- Remove deprecated installation_directory and related settings
- Simplify AskUiControllerSettings and trim unit tests to match
Copy link
Collaborator

@programminx-askui programminx-askui left a comment

Choose a reason for hiding this comment

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

Let's have a talk about the overall concept.

pip install askui
```

## AgentOS Installation
Copy link
Collaborator

Choose a reason for hiding this comment

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

We need to talk about how we want to communicate the AgentOS installer

Copy link
Collaborator

Choose a reason for hiding this comment

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

Remark: @programminx-askui need to decide how to communicate the AgentOS Installer

pip install askui
```

## AgentOS Installation
Copy link
Collaborator

Choose a reason for hiding this comment

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

Remark: @programminx-askui need to decide how to communicate the AgentOS Installer

@mlikasam-askui mlikasam-askui merged commit a9847aa into main Mar 19, 2026
1 check passed
@mlikasam-askui mlikasam-askui deleted the integrate-agent-os-package branch March 19, 2026 06:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants