oc-phone-link 2.4.1 → 2.4.2
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/CHANGELOG.md +13 -2
- package/README.md +12 -1
- package/assets/icon.svg +8 -0
- package/package.json +8 -6
package/CHANGELOG.md
CHANGED
|
@@ -9,8 +9,6 @@ are attributed to the app repository's own changelog
|
|
|
9
9
|
|
|
10
10
|
## [Unreleased]
|
|
11
11
|
|
|
12
|
-
## [2.4.1] - 2026-11-29
|
|
13
|
-
|
|
14
12
|
Ships with the 2.4.0 app. The app and beacon must be upgraded together.
|
|
15
13
|
|
|
16
14
|
- Upgrading a state written by 2.2.0/2.3.x: a v5 PIN record with no recorded
|
|
@@ -54,6 +52,19 @@ Proof: `node --test beacon.test.mjs` EXIT 0 — 42 tests, 42 pass, 0 fail
|
|
|
54
52
|
unrelated `packages/janua` MCP conformance timeout; the `oc-phone-link`
|
|
55
53
|
workspace portion passes 37/37.
|
|
56
54
|
|
|
55
|
+
On-device verification (2026-11-29): the owner installed the 2.4.0 app APK
|
|
56
|
+
attached to the `oc-phone-link@2.4.1` release (asset sha256
|
|
57
|
+
`2550d7bea6b10966f52d9fa2b271a98cf2735c7f018e88b9a2c1c5120d3009ed`) on a
|
|
58
|
+
phone and confirmed it paired and worked against the 2.4.1 server. This is the
|
|
59
|
+
first on-device evidence for this pairing; every earlier report had on-device
|
|
60
|
+
behaviour unverified.
|
|
61
|
+
|
|
62
|
+
## [2.4.2] - 2026-11-30
|
|
63
|
+
|
|
64
|
+
### Changed
|
|
65
|
+
|
|
66
|
+
- Documentation only: the README now leads with the official `opencode plugin add` command, keeps the config-array route as an alternative, and states the Windows and macOS/Linux config paths once each. No runtime behaviour changed.
|
|
67
|
+
|
|
57
68
|
## 2.3.3
|
|
58
69
|
|
|
59
70
|
- Tagged as `oc-phone-link@2.3.3` (commit `680ff40`) and published as npm
|
package/README.md
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
<p align="center"><img src="https://raw.githubusercontent.com/nathwn12/oc-collections/main/packages/oc-phone-link/assets/icon.svg" width="120" height="120" alt="oc-phone-link icon" /></p>
|
|
1
2
|
<h1 align="center">oc-phone-link</h1>
|
|
2
3
|
|
|
3
4
|
<p align="center"><strong>Drive OpenCode from an Android phone on the same Wi-Fi: in-server beacon, pinned TLS, one PIN, no tray, no QR.</strong></p>
|
|
@@ -10,12 +11,22 @@
|
|
|
10
11
|
|
|
11
12
|
## Install
|
|
12
13
|
|
|
13
|
-
Install the published [oc-phone-link plugin](https://www.npmjs.com/package/oc-phone-link)
|
|
14
|
+
Install the published [oc-phone-link plugin](https://www.npmjs.com/package/oc-phone-link) with the official OpenCode command, then restart OpenCode:
|
|
15
|
+
|
|
16
|
+
```sh
|
|
17
|
+
opencode plugin add oc-phone-link
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
Or add the plugin to your config yourself:
|
|
14
21
|
|
|
15
22
|
```json
|
|
16
23
|
{ "plugins": ["oc-phone-link"] }
|
|
17
24
|
```
|
|
18
25
|
|
|
26
|
+
Config file: `%USERPROFILE%\.config\opencode\opencode.jsonc` on Windows or `~/.config/opencode/opencode.jsonc` on macOS/Linux.
|
|
27
|
+
|
|
28
|
+
Inside config values OpenCode also substitutes `{env:USERPROFILE}` (Windows) and `{env:HOME}` (macOS/Linux) — config-string syntax, not shell syntax.
|
|
29
|
+
|
|
19
30
|
There is no version pin here on purpose: npm's published version changes on every release of this package, so the install line stays true after the next publish. The PC plugin and Android app use separate version numbers. The plugin starts the beacon during setup and stops it when the session disposes. There is no tray app, no separate service and no QR code: the beacon is a keyed reverse proxy in front of the OpenCode server your PC already runs.
|
|
20
31
|
|
|
21
32
|
## Upgrading from 2.2.0 or 2.3.x
|
package/assets/icon.svg
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">
|
|
2
|
+
<rect x="16" y="16" width="480" height="480" rx="112" fill="#0B0F14"/>
|
|
3
|
+
<rect x="64" y="128" width="232" height="176" rx="28" fill="#EEF3F6"/>
|
|
4
|
+
<rect x="88" y="328" width="184" height="16" rx="8" fill="#EEF3F6"/>
|
|
5
|
+
<rect x="296" y="160" width="128" height="240" rx="28" fill="#4DD4E8"/>
|
|
6
|
+
<path d="M296,256 H350" stroke="#0B0F14" stroke-width="16" stroke-linecap="round"/>
|
|
7
|
+
<circle cx="180" cy="216" r="28" fill="#4DD4E8"/>
|
|
8
|
+
</svg>
|
package/package.json
CHANGED
|
@@ -1,18 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "oc-phone-link",
|
|
3
|
-
"version": "2.4.
|
|
3
|
+
"version": "2.4.2",
|
|
4
4
|
"description": "Drive OpenCode from an Android phone on the same Wi-Fi: in-server beacon, pinned TLS, one PIN, no tray, no QR.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "nathwn12",
|
|
7
7
|
"keywords": [
|
|
8
8
|
"opencode",
|
|
9
9
|
"opencode-plugin",
|
|
10
|
-
"plugin",
|
|
10
|
+
"opencode-plugin-local",
|
|
11
|
+
"ai-agent",
|
|
12
|
+
"ai-coding-agent",
|
|
11
13
|
"android",
|
|
12
|
-
"
|
|
13
|
-
"remote",
|
|
14
|
+
"remote-control",
|
|
14
15
|
"beacon",
|
|
15
|
-
"
|
|
16
|
+
"phone"
|
|
16
17
|
],
|
|
17
18
|
"engines": {
|
|
18
19
|
"node": ">=22"
|
|
@@ -35,7 +36,8 @@
|
|
|
35
36
|
"whitelist.json",
|
|
36
37
|
"README.md",
|
|
37
38
|
"LICENSE",
|
|
38
|
-
"CHANGELOG.md"
|
|
39
|
+
"CHANGELOG.md",
|
|
40
|
+
"assets"
|
|
39
41
|
],
|
|
40
42
|
"scripts": {
|
|
41
43
|
"test": "node --test beacon.test.mjs"
|