local-operator-ui 0.1.1 → 0.1.2-beta.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -11,6 +11,10 @@
11
11
  <p><i>Real-time code execution on your device through natural conversation</i></p>
12
12
  </div>
13
13
 
14
+ <picture>
15
+ <img src="./resources/preview-example.png" alt="Local Operator Dashboard Example">
16
+ </picture>
17
+
14
18
  **<span style="color: #38C96A">Local Operator</span>** empowers you to run Python code safely on your own machine through an intuitive chat interface. The AI agent:
15
19
 
16
20
  🎯 **Plans & Executes** - Breaks down complex goals into manageable steps and executes them with precision.
@@ -44,7 +48,8 @@ The Local Operator UI is a user interface for managing and interacting with the
44
48
  Before you begin, ensure you have the following installed:
45
49
 
46
50
  - **Node.js**: Version 22.13.1 or higher. It's recommended to use [nvm](https://github.com/nvm-sh/nvm) for managing Node.js versions.
47
- - **Local Operator Backend**: The UI connects to the Local Operator backend API. See the [Local Operator GitHub repository](https://github.com/damianvtran/local-operator) for installation instructions. Install it globally or in a virtual environment with `pip install local-operator` and then boot it up on `localhost:1111` with `local-operator serve`.
51
+
52
+ The Local Operator backend is now bundled with the application and will be installed automatically when you first run the application. If you prefer to use an existing Local Operator backend installation, the application will detect it and use it instead.
48
53
 
49
54
  ### NPM Installation
50
55
 
@@ -71,6 +76,49 @@ local-operator-ui
71
76
 
72
77
  After installation, the application will automatically connect to the Local Operator backend API at `http://localhost:1111` by default.
73
78
 
79
+ ### Desktop Applications
80
+
81
+ Pre-built desktop applications are available for macOS, Windows, and Linux. Visit the [Releases](https://github.com/damianvtran/local-operator-ui/releases) page to download the latest version for your platform.
82
+
83
+ - **macOS**: Download the `.dmg` file and drag the application to your Applications folder.
84
+ - **Windows**: Download the `.exe` installer and follow the installation prompts.
85
+ - **Linux**: Download the appropriate package (`.deb`, `.rpm`, or `.AppImage`) for your distribution.
86
+
87
+ ### Building from Source
88
+
89
+ If you want to build the application from source, see the [BUILD.md](./docs/BUILD.md) file for detailed instructions.
90
+
91
+ #### Python Bundling
92
+
93
+ For macOS builds, we now bundle a standalone Python directly with the application instead of requiring Homebrew installation. This approach:
94
+
95
+ - Eliminates the need for admin privileges during installation
96
+ - Makes the application more self-contained
97
+ - Works offline
98
+ - Provides a more reliable user experience
99
+ - Supports installation of Python packages via pip
100
+
101
+ To set up the standalone Python for development:
102
+
103
+ ```bash
104
+ # Run the setup script to download and configure standalone Python
105
+ yarn setup-python-standalone
106
+ ```
107
+
108
+ This uses [python-build-standalone](https://github.com/indygreg/python-build-standalone), the same approach used by Datasette Desktop and PyOxidizer.
109
+
110
+ For more details, see the [PYTHON_BUNDLING.md](./docs/PYTHON_BUNDLING.md) documentation.
111
+
112
+ ### Code Signing and Notarization
113
+
114
+ All desktop applications are code signed and notarized to ensure security and trust:
115
+
116
+ - **macOS**: Applications are signed with an Apple Developer ID and notarized with Apple's notarization service
117
+ - **Windows**: Applications are signed with a trusted code signing certificate
118
+ - **Linux**: While code signing is less common on Linux, packages are built with integrity checks
119
+
120
+ For detailed information about the code signing and notarization process, see the [CODE_SIGNING.md](./docs/CODE_SIGNING.md) document.
121
+
74
122
  ## ✨ Features
75
123
 
76
124
  The Local Operator UI provides a comprehensive interface for interacting with AI agents:
@@ -102,6 +150,13 @@ The Local Operator UI provides a comprehensive interface for interacting with AI
102
150
  - Real-time status updates for long-running operations
103
151
  - Error handling and retry mechanisms
104
152
 
153
+ ### Bundled Backend
154
+
155
+ - The Local Operator backend is now bundled with the application
156
+ - Automatic installation of the backend when first running the application
157
+ - Automatic detection and use of existing backend installations
158
+ - Cross-platform support for Windows, macOS, and Linux
159
+
105
160
  ## 🤝 Contributing
106
161
 
107
162
  Contributions are welcome! Please see our [Contributing Guide](./CONTRIBUTING.md) for details on how to get started with development, code style guidelines, and our contribution process.
@@ -112,10 +167,19 @@ Contributions are welcome! Please see our [Contributing Guide](./CONTRIBUTING.md
112
167
 
113
168
  #### Application fails to connect to the backend
114
169
 
115
- - Ensure the Local Operator backend is running and hosting on `http://localhost:1111`
116
- - Check that the `VITE_LOCAL_OPERATOR_API_URL` environment variable has not been set to a different URL. This value is set automatically to `http://localhost:1111` if a custom `.env` doesn't specify otherwise.
170
+ - The application will automatically install and start the Local Operator backend if it's not already running
171
+ - If you have an existing backend running on `http://localhost:1111`, the application will use that instead
172
+ - Check that the `VITE_LOCAL_OPERATOR_API_URL` environment variable has not been set to a different URL. This value is set automatically to `http://localhost:1111` if a custom `.env` doesn't specify otherwise
173
+ - If you want to disable the automatic backend management, set the `VITE_DISABLE_BACKEND_MANAGER` environment variable to `true`
117
174
  - Verify network connectivity between the UI and the backend
118
175
 
176
+ #### Backend installation fails
177
+
178
+ - Check the application logs for error messages
179
+ - For macOS, the application now uses a bundled Python framework instead of requiring Homebrew and pyenv
180
+ - If you encounter issues with the bundled Python, see the [PYTHON_BUNDLING.md](./docs/PYTHON_BUNDLING.md) documentation
181
+ - As a fallback, you can try installing the backend manually with `pip install local-operator` and then start it with `local-operator serve`
182
+
119
183
  #### Development server crashes
120
184
 
121
185
  - Check the console for error messages
Binary file
Binary file