onako 0.1.0__py3-none-any.whl → 0.1.1__py3-none-any.whl
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.
- onako/__init__.py +1 -1
- onako/cli.py +6 -6
- {onako-0.1.0.dist-info → onako-0.1.1.dist-info}/METADATA +2 -2
- {onako-0.1.0.dist-info → onako-0.1.1.dist-info}/RECORD +7 -7
- {onako-0.1.0.dist-info → onako-0.1.1.dist-info}/WHEEL +0 -0
- {onako-0.1.0.dist-info → onako-0.1.1.dist-info}/entry_points.txt +0 -0
- {onako-0.1.0.dist-info → onako-0.1.1.dist-info}/top_level.txt +0 -0
onako/__init__.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = "0.1.
|
|
1
|
+
__version__ = "0.1.1"
|
onako/cli.py
CHANGED
|
@@ -25,8 +25,8 @@ def version():
|
|
|
25
25
|
|
|
26
26
|
|
|
27
27
|
@main.command()
|
|
28
|
-
@click.option("--host", default="
|
|
29
|
-
@click.option("--port", default=
|
|
28
|
+
@click.option("--host", default="0.0.0.0", help="Host to bind to.")
|
|
29
|
+
@click.option("--port", default=8787, type=int, help="Port to bind to.")
|
|
30
30
|
def serve(host, port):
|
|
31
31
|
"""Start the Onako server."""
|
|
32
32
|
_check_prerequisites()
|
|
@@ -43,8 +43,8 @@ def serve(host, port):
|
|
|
43
43
|
|
|
44
44
|
|
|
45
45
|
@main.command()
|
|
46
|
-
@click.option("--host", default="
|
|
47
|
-
@click.option("--port", default=
|
|
46
|
+
@click.option("--host", default="0.0.0.0", help="Host to bind to.")
|
|
47
|
+
@click.option("--port", default=8787, type=int, help="Port to bind to.")
|
|
48
48
|
def install(host, port):
|
|
49
49
|
"""Install Onako as a background service (launchd on macOS, systemd on Linux)."""
|
|
50
50
|
system = platform.system()
|
|
@@ -140,11 +140,11 @@ def status():
|
|
|
140
140
|
"""Check if Onako is running."""
|
|
141
141
|
import urllib.request
|
|
142
142
|
try:
|
|
143
|
-
r = urllib.request.urlopen("http://127.0.0.1:
|
|
143
|
+
r = urllib.request.urlopen("http://127.0.0.1:8787/health", timeout=2)
|
|
144
144
|
data = r.read().decode()
|
|
145
145
|
if '"ok"' in data:
|
|
146
146
|
click.echo("Onako server: running")
|
|
147
|
-
click.echo(" URL: http://127.0.0.1:
|
|
147
|
+
click.echo(" URL: http://127.0.0.1:8787")
|
|
148
148
|
else:
|
|
149
149
|
click.echo("Onako server: not responding correctly")
|
|
150
150
|
except Exception:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: onako
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.1
|
|
4
4
|
Summary: Dispatch and monitor Claude Code tasks from your phone
|
|
5
5
|
Author: Amir
|
|
6
6
|
License-Expression: MIT
|
|
@@ -35,7 +35,7 @@ Requires [tmux](https://github.com/tmux/tmux) and [Claude Code](https://docs.ant
|
|
|
35
35
|
onako serve
|
|
36
36
|
```
|
|
37
37
|
|
|
38
|
-
Open http://localhost:
|
|
38
|
+
Open http://localhost:8787 on your phone (same network) or set up [Tailscale](https://tailscale.com) for access from anywhere.
|
|
39
39
|
|
|
40
40
|
### Auto-start on boot
|
|
41
41
|
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
onako/__init__.py,sha256=
|
|
2
|
-
onako/cli.py,sha256=
|
|
1
|
+
onako/__init__.py,sha256=rnObPjuBcEStqSO0S6gsdS_ot8ITOQjVj_-P1LUUYpg,22
|
|
2
|
+
onako/cli.py,sha256=RiID9IjtbU7-SbqZkMKHjo2PTB_G89AXn6tu3sz892s,5722
|
|
3
3
|
onako/server.py,sha256=lBNaT8Xq5Jw8EpN1CZNWzKQ2TudAMpSE4L0PY4ucW10,2065
|
|
4
4
|
onako/tmux_orchestrator.py,sha256=rLNVrCcam2iF412WKX_5hAiMCBHmi8sNhDPD4KvEiU8,6080
|
|
5
5
|
onako/static/index.html,sha256=7TjxfF38Spnuerd6u0vbwGpJApstsxzVS3F-YUGCp7I,14403
|
|
6
6
|
onako/templates/com.onako.server.plist.tpl,sha256=kOFbOXVLP8ULAyV66fEloI4y1iFPmUSrudyjSCB-pwc,857
|
|
7
7
|
onako/templates/onako.service.tpl,sha256=TKGFoDraWyA4VEQYXZodtJF2m5ZjIVSezaDAAB83Vl4,229
|
|
8
|
-
onako-0.1.
|
|
9
|
-
onako-0.1.
|
|
10
|
-
onako-0.1.
|
|
11
|
-
onako-0.1.
|
|
12
|
-
onako-0.1.
|
|
8
|
+
onako-0.1.1.dist-info/METADATA,sha256=BT5LSob6dcplSilqAh5Z-V-A-FcEuAq0hBTi_JE3CLQ,1593
|
|
9
|
+
onako-0.1.1.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
|
|
10
|
+
onako-0.1.1.dist-info/entry_points.txt,sha256=51KRJzuVpr69iT_k4JO0Lj3DQv_HbgtGjTBTev13JAQ,41
|
|
11
|
+
onako-0.1.1.dist-info/top_level.txt,sha256=EZsc5qq2paM9GTbaFE9Xar4B5wFdfIqK9l_bDQVcmZ4,6
|
|
12
|
+
onako-0.1.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|