nini-computer-use 0.4.4__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- nini_computer_use-0.4.4/LICENSE +21 -0
- nini_computer_use-0.4.4/PKG-INFO +38 -0
- nini_computer_use-0.4.4/README.pypi.md +22 -0
- nini_computer_use-0.4.4/native/main.swift +618 -0
- nini_computer_use-0.4.4/nini_computer_use/__init__.py +21 -0
- nini_computer_use-0.4.4/nini_computer_use/__main__.py +131 -0
- nini_computer_use-0.4.4/nini_computer_use/audit.py +131 -0
- nini_computer_use-0.4.4/nini_computer_use/errors.py +92 -0
- nini_computer_use-0.4.4/nini_computer_use/helper.py +271 -0
- nini_computer_use-0.4.4/nini_computer_use/paths.py +112 -0
- nini_computer_use-0.4.4/nini_computer_use/permissions.py +225 -0
- nini_computer_use-0.4.4/nini_computer_use/safety.py +157 -0
- nini_computer_use-0.4.4/nini_computer_use/server.py +213 -0
- nini_computer_use-0.4.4/nini_computer_use/tools.py +542 -0
- nini_computer_use-0.4.4/nini_computer_use/validate.py +306 -0
- nini_computer_use-0.4.4/pyproject.toml +32 -0
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Nini contributors
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
Metadata-Version: 2.5
|
|
2
|
+
Name: nini-computer-use
|
|
3
|
+
Version: 0.4.4
|
|
4
|
+
Summary: Nini computer-use MCP server (macOS): screenshot, windows, mouse and keyboard control
|
|
5
|
+
Project-URL: Homepage, https://nini.flygpt.cc
|
|
6
|
+
Project-URL: Repository, https://github.com/xusai2014/Nini
|
|
7
|
+
Author-email: Jerry xu <jerryxu521@gmail.com>
|
|
8
|
+
License: MIT
|
|
9
|
+
License-File: LICENSE
|
|
10
|
+
Classifier: Environment :: Console
|
|
11
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
12
|
+
Classifier: Operating System :: MacOS
|
|
13
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
14
|
+
Requires-Python: >=3.12
|
|
15
|
+
Description-Content-Type: text/markdown
|
|
16
|
+
|
|
17
|
+
# nini-computer-use
|
|
18
|
+
|
|
19
|
+
The Nini computer-use MCP server (macOS): screenshot, window enumeration,
|
|
20
|
+
mouse/keyboard injection and permission probes, exposed over MCP stdio so the
|
|
21
|
+
CLI, web console, remote sessions and the desktop app all drive the same tools.
|
|
22
|
+
|
|
23
|
+
```bash
|
|
24
|
+
pip install nini-computer-use
|
|
25
|
+
nini-computer-use # speak MCP over stdio (what ~/.nini/mcp.json starts)
|
|
26
|
+
nini-computer-use --info # helper / permissions / tools as one JSON object
|
|
27
|
+
nini-computer-use --doctor # same probe, human-readable; exit 1 if a permission is missing
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
- macOS only: it is installed automatically on macOS by `pipx install nini`
|
|
31
|
+
(`nini-computer-use; sys_platform == 'darwin'`).
|
|
32
|
+
- The wheel ships `native/main.swift`; on first use the Python side compiles it
|
|
33
|
+
once into `~/.nini/computer-use/bin/nini-cu` (AppKit + CGEvent + screencapture).
|
|
34
|
+
Grant Screen Recording and Accessibility when macOS asks.
|
|
35
|
+
- Every tool call passes validate → permission → safety → helper, then writes an
|
|
36
|
+
append-only `~/.nini/computer-use/audit.jsonl` (0600).
|
|
37
|
+
|
|
38
|
+
Docs: <https://github.com/xusai2014/Nini> · License: MIT
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# nini-computer-use
|
|
2
|
+
|
|
3
|
+
The Nini computer-use MCP server (macOS): screenshot, window enumeration,
|
|
4
|
+
mouse/keyboard injection and permission probes, exposed over MCP stdio so the
|
|
5
|
+
CLI, web console, remote sessions and the desktop app all drive the same tools.
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
pip install nini-computer-use
|
|
9
|
+
nini-computer-use # speak MCP over stdio (what ~/.nini/mcp.json starts)
|
|
10
|
+
nini-computer-use --info # helper / permissions / tools as one JSON object
|
|
11
|
+
nini-computer-use --doctor # same probe, human-readable; exit 1 if a permission is missing
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
- macOS only: it is installed automatically on macOS by `pipx install nini`
|
|
15
|
+
(`nini-computer-use; sys_platform == 'darwin'`).
|
|
16
|
+
- The wheel ships `native/main.swift`; on first use the Python side compiles it
|
|
17
|
+
once into `~/.nini/computer-use/bin/nini-cu` (AppKit + CGEvent + screencapture).
|
|
18
|
+
Grant Screen Recording and Accessibility when macOS asks.
|
|
19
|
+
- Every tool call passes validate → permission → safety → helper, then writes an
|
|
20
|
+
append-only `~/.nini/computer-use/audit.jsonl` (0600).
|
|
21
|
+
|
|
22
|
+
Docs: <https://github.com/xusai2014/Nini> · License: MIT
|