Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ body:
id: version
attributes:
label: T4 Code version
placeholder: "0.1.26"
placeholder: "0.1.27"
validations:
required: true
- type: dropdown
Expand Down
25 changes: 13 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ T4 Code is a free, open-source (MIT) desktop app for [Oh My Pi](https://github.c

![T4 Code main window](docs/assets/t4-code-main.png)

[**Download v0.1.26**](https://github.com/LycaonLLC/t4-code/releases/tag/v0.1.26) · [**Docs**](https://t4code.net/docs) · [**Get the source**](#build-from-source)
[**Download v0.1.27**](https://github.com/LycaonLLC/t4-code/releases/tag/v0.1.27) · [**Docs**](https://t4code.net/docs) · [**Get the source**](#build-from-source)

## Requirements

T4 Code needs an OMP build with desktop appserver support. For v0.1.26, use the public integration build below.
T4 Code needs an OMP build with desktop appserver support. For v0.1.27, use the public integration build below.

T4 Code v0.1.26 was verified with OMP 17.0.5 built from [`772e5e41`](https://github.com/lyc-aon/oh-my-pi/commit/772e5e41eb1537177349247add96a851721c5bfa), tagged [`t4code-17.0.5-appserver-5`](https://github.com/lyc-aon/oh-my-pi/tree/t4code-17.0.5-appserver-5). That public integration is based on the official upstream [`v17.0.5`](https://github.com/can1357/oh-my-pi/tree/v17.0.5) tag at [`9fd6e971`](https://github.com/can1357/oh-my-pi/commit/9fd6e97113f5ed3a847e66d346970efdf8afcad9). It adds faster appserver startup, cross-session attention and transcript search, the negotiated browser-preview command surface, redacted Codex transport diagnostics, the versioned Agent View lifecycle contract, session-owned cancellation, macOS system-temp aliases, workspace-native build artifacts, retry-safe release metadata, lock-aware session observation, complete transcript reconciliation, missing-lock-only promotion, the cooperative `/continue-in-t4` handoff, and deterministic session ordering. Fork CI verifies the exact upstream base, ancestry, release gates, and published binaries. The official upstream v17.0.5 tag has no `appserver` command, so it cannot host T4 Code. The verified runtime is a normal build from the public `lyc-aon/oh-my-pi` source. T4 Code vendors `@oh-my-pi/app-wire` 0.6.1 from integration commit [`e3e15c03`](https://github.com/lyc-aon/oh-my-pi/commit/e3e15c03ae95ebbda5f26495cd21213cc53518b1), source tree `e0f32b279eb4b8cbc403e47d765a226bee99c99f`.
T4 Code v0.1.27 was verified with OMP 17.0.5 built from [`772e5e41`](https://github.com/lyc-aon/oh-my-pi/commit/772e5e41eb1537177349247add96a851721c5bfa), tagged [`t4code-17.0.5-appserver-5`](https://github.com/lyc-aon/oh-my-pi/tree/t4code-17.0.5-appserver-5). That public integration is based on the official upstream [`v17.0.5`](https://github.com/can1357/oh-my-pi/tree/v17.0.5) tag at [`9fd6e971`](https://github.com/can1357/oh-my-pi/commit/9fd6e97113f5ed3a847e66d346970efdf8afcad9). It adds faster appserver startup, cross-session attention and transcript search, the negotiated browser-preview command surface, redacted Codex transport diagnostics, the versioned Agent View lifecycle contract, session-owned cancellation, macOS system-temp aliases, workspace-native build artifacts, retry-safe release metadata, lock-aware session observation, complete transcript reconciliation, missing-lock-only promotion, the cooperative `/continue-in-t4` handoff, and deterministic session ordering. Fork CI verifies the exact upstream base, ancestry, release gates, and published binaries. The official upstream v17.0.5 tag has no `appserver` command, so it cannot host T4 Code. The verified runtime is a normal build from the public `lyc-aon/oh-my-pi` source. T4 Code vendors `@oh-my-pi/app-wire` 0.6.1 from integration commit [`e3e15c03`](https://github.com/lyc-aon/oh-my-pi/commit/e3e15c03ae95ebbda5f26495cd21213cc53518b1), source tree `e0f32b279eb4b8cbc403e47d765a226bee99c99f`.

The current source tree advances the vendored contract to `@oh-my-pi/app-wire` 0.6.1 from integration commit [`e3e15c03`](https://github.com/lyc-aon/oh-my-pi/commit/e3e15c03ae95ebbda5f26495cd21213cc53518b1), source tree `e0f32b279eb4b8cbc403e47d765a226bee99c99f`. It supplies bounded cross-session transcript search, historical context, and the browser-preview wire contract.

Expand All @@ -20,10 +20,11 @@ The current source tree advances the vendored contract to `@oh-my-pi/app-wire` 0
| Linux | x86_64 | `.deb`, AppImage |
| macOS | Apple Silicon (arm64) | `.dmg`, `.zip` (**signed and notarized**) |

No Windows build and no Intel Mac build in v0.1.26. The iOS TestFlight build is coming soon.
No Windows build and no Intel Mac build in v0.1.27. The iOS TestFlight build is coming soon.

## What changed in v0.1.26
## What changed in v0.1.27

- Mac packaging now waits for code signing to finish before Apple notarization begins.
- Signed Mac builds now start their bundled OMP backend correctly. Only the OMP executable receives permission to load OMP's native module; the T4 Code app and Electron helpers keep normal library validation enabled.
- The app verifies the backend's exact Developer ID certificate before copying the signed bytes, while packaging still verifies the original public OMP download hash.
- macOS downloads remain signed with the project's pinned Developer ID identity, notarized by Apple, stapled, and checked by Gatekeeper before publication.
Expand All @@ -48,7 +49,7 @@ No Windows build and no Intel Mac build in v0.1.26. The iOS TestFlight build is
### Android

1. On the Android phone, sign in to Tailscale with an account that can reach the T4 Code host.
2. Download [`T4-Code-0.1.26-android.apk`](https://github.com/LycaonLLC/t4-code/releases/download/v0.1.26/T4-Code-0.1.26-android.apk).
2. Download [`T4-Code-0.1.27-android.apk`](https://github.com/LycaonLLC/t4-code/releases/download/v0.1.27/T4-Code-0.1.27-android.apk).
3. If Android asks, allow your browser or file manager to install unknown apps, then install the APK.
4. Open T4 Code and enter the host's HTTPS Tailscale address, including its port. The app saves the address; you can add more hosts later and switch between them.

Expand All @@ -57,23 +58,23 @@ The APK does not contain an appserver or expose one to the public internet. It c
### Linux (Debian/Ubuntu)

```sh
wget https://github.com/LycaonLLC/t4-code/releases/download/v0.1.26/T4-Code-0.1.26-linux-amd64.deb
sudo apt install ./T4-Code-0.1.26-linux-amd64.deb
wget https://github.com/LycaonLLC/t4-code/releases/download/v0.1.27/T4-Code-0.1.27-linux-amd64.deb
sudo apt install ./T4-Code-0.1.27-linux-amd64.deb
```

Use `apt install` rather than `dpkg -i` so system dependencies resolve automatically.

### Linux (AppImage)

```sh
wget https://github.com/LycaonLLC/t4-code/releases/download/v0.1.26/T4-Code-0.1.26-linux-x86_64.AppImage
chmod +x T4-Code-0.1.26-linux-x86_64.AppImage
./T4-Code-0.1.26-linux-x86_64.AppImage
wget https://github.com/LycaonLLC/t4-code/releases/download/v0.1.27/T4-Code-0.1.27-linux-x86_64.AppImage
chmod +x T4-Code-0.1.27-linux-x86_64.AppImage
./T4-Code-0.1.27-linux-x86_64.AppImage
```

### macOS (Apple Silicon)

1. Download [`T4-Code-0.1.26-mac-arm64.dmg`](https://github.com/LycaonLLC/t4-code/releases/download/v0.1.26/T4-Code-0.1.26-mac-arm64.dmg) (or [`T4-Code-0.1.26-mac-arm64.zip`](https://github.com/LycaonLLC/t4-code/releases/download/v0.1.26/T4-Code-0.1.26-mac-arm64.zip)).
1. Download [`T4-Code-0.1.27-mac-arm64.dmg`](https://github.com/LycaonLLC/t4-code/releases/download/v0.1.27/T4-Code-0.1.27-mac-arm64.dmg) (or [`T4-Code-0.1.27-mac-arm64.zip`](https://github.com/LycaonLLC/t4-code/releases/download/v0.1.27/T4-Code-0.1.27-mac-arm64.zip)).
2. Drag `T4 Code.app` into `/Applications`.
3. Open T4 Code normally. The release workflow verifies the pinned publisher, hardened runtime, secure timestamp, Apple notarization, stapled ticket, and Gatekeeper acceptance before publication.

Expand Down
2 changes: 1 addition & 1 deletion SECURITY.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,5 @@ We read every report and will reply to tell you what happens next. This is a sma

- T4 Code is a desktop client. The OMP runtime is a separate project; runtime vulnerabilities belong at <https://github.com/can1357/oh-my-pi>.
- Pairing credentials are encrypted with the OS keychain via Electron `safeStorage`. Reports about credential handling, the pairing flow, or the `t4-code://` deep-link handler are especially welcome.
- The macOS v0.1.26 build is signed with Apple Developer ID and notarized by Apple. Reports of certificate, Team ID, hardened-runtime, timestamp, Gatekeeper, or stapled-ticket drift are security-relevant.
- The macOS v0.1.27 build is signed with Apple Developer ID and notarized by Apple. Reports of certificate, Team ID, hardened-runtime, timestamp, Gatekeeper, or stapled-ticket drift are security-relevant.
- Starting with v0.1.24, the release workflow requires the pinned Developer ID identity, hardened runtime, Apple notarization, a stapled ticket, and a successful Gatekeeper assessment before publishing macOS artifacts.
2 changes: 1 addition & 1 deletion apps/desktop/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@t4-code/desktop",
"version": "0.1.26",
"version": "0.1.27",
"private": true,
"type": "module",
"main": "dist-electron/main.cjs",
Expand Down
2 changes: 1 addition & 1 deletion apps/desktop/src/target-manager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,7 @@ export class DesktopTargetManager {
capabilities: requestedCapabilities,
requestedFeatures: REQUESTED_FEATURES,
compatibilityRequestedFeatures: COMPATIBILITY_FEATURES,
client: { name: "T4 Code", version: "0.1.26", build: "desktop", platform: process.platform },
client: { name: "T4 Code", version: "0.1.27", build: "desktop", platform: process.platform },
reconnect: { baseMs: 250, maxMs: 10_000 },
};
const client = createOmpClient(clientOptions);
Expand Down
2 changes: 1 addition & 1 deletion apps/mobile/capacitor.config.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"appName": "T4 Code",
"webDir": "dist",
"loggingBehavior": "debug",
"appendUserAgent": " T4CodeMobile/0.1.26",
"appendUserAgent": " T4CodeMobile/0.1.27",
"android": {
"path": "android",
"minWebViewVersion": 60,
Expand Down
2 changes: 1 addition & 1 deletion apps/mobile/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@t4-code/mobile",
"version": "0.1.26",
"version": "0.1.27",
"private": true,
"type": "module",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion apps/site/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@t4-code/site",
"version": "0.1.26",
"version": "0.1.27",
"private": true,
"type": "module",
"scripts": {
Expand Down
14 changes: 7 additions & 7 deletions apps/site/src/release.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ export const OMP_UPSTREAM_TAG = "v17.0.5";
export const OMP_UPSTREAM_COMMIT = "9fd6e97113f5ed3a847e66d346970efdf8afcad9";
export const OMP_UPSTREAM_URL = `${OMP_URL}/tree/${OMP_UPSTREAM_TAG}`;
export const APP_WIRE_VERSION = "0.6.1";
export const RELEASE_TAG = "v0.1.26";
export const RELEASE_VERSION = "0.1.26";
export const RELEASE_TAG = "v0.1.27";
export const RELEASE_VERSION = "0.1.27";
export const RELEASES_URL = `${REPO_URL}/releases/tag/${RELEASE_TAG}`;
export const RELEASE_MANIFEST_URL = `${SITE_URL}/releases/latest.json`;

Expand Down Expand Up @@ -49,11 +49,11 @@ function asset(
}

export const RELEASE_ASSETS: readonly ReleaseAsset[] = [
asset("android", "apk", "universal", "T4-Code-0.1.26-android.apk", "Android APK"),
asset("linux", "deb", "x86_64", "T4-Code-0.1.26-linux-amd64.deb", "Linux .deb"),
asset("linux", "appimage", "x86_64", "T4-Code-0.1.26-linux-x86_64.AppImage", "Linux AppImage"),
asset("mac", "dmg", "arm64", "T4-Code-0.1.26-mac-arm64.dmg", "macOS .dmg"),
asset("mac", "zip", "arm64", "T4-Code-0.1.26-mac-arm64.zip", "macOS .zip"),
asset("android", "apk", "universal", "T4-Code-0.1.27-android.apk", "Android APK"),
asset("linux", "deb", "x86_64", "T4-Code-0.1.27-linux-amd64.deb", "Linux .deb"),
asset("linux", "appimage", "x86_64", "T4-Code-0.1.27-linux-x86_64.AppImage", "Linux AppImage"),
asset("mac", "dmg", "arm64", "T4-Code-0.1.27-mac-arm64.dmg", "macOS .dmg"),
asset("mac", "zip", "arm64", "T4-Code-0.1.27-mac-arm64.zip", "macOS .zip"),
];

export function assetsFor(platform: Platform): readonly ReleaseAsset[] {
Expand Down
18 changes: 9 additions & 9 deletions apps/site/test/release.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Release contract guard: exact v0.1.26 asset names and URLs, and the
// Release contract guard: exact v0.1.27 asset names and URLs, and the
// platform-detection rule the hero download button relies on.
import { describe, expect, it } from "vite-plus/test";
import {
Expand All @@ -20,13 +20,13 @@ import {
} from "../src/release.ts";

describe("release assets", () => {
it("carries the five contracted v0.1.26 filenames", () => {
it("carries the five contracted v0.1.27 filenames", () => {
expect(RELEASE_ASSETS.map((a) => a.filename)).toEqual([
"T4-Code-0.1.26-android.apk",
"T4-Code-0.1.26-linux-amd64.deb",
"T4-Code-0.1.26-linux-x86_64.AppImage",
"T4-Code-0.1.26-mac-arm64.dmg",
"T4-Code-0.1.26-mac-arm64.zip",
"T4-Code-0.1.27-android.apk",
"T4-Code-0.1.27-linux-amd64.deb",
"T4-Code-0.1.27-linux-x86_64.AppImage",
"T4-Code-0.1.27-mac-arm64.dmg",
"T4-Code-0.1.27-mac-arm64.zip",
]);
});

Expand All @@ -38,8 +38,8 @@ describe("release assets", () => {

it("targets the public LycaonLLC repo", () => {
expect(REPO_URL).toBe("https://github.com/LycaonLLC/t4-code");
expect(RELEASE_TAG).toBe("v0.1.26");
expect(RELEASE_VERSION).toBe("0.1.26");
expect(RELEASE_TAG).toBe("v0.1.27");
expect(RELEASE_VERSION).toBe("0.1.27");
expect(RELEASE_MANIFEST_URL).toBe("https://t4code.net/releases/latest.json");
});

Expand Down
2 changes: 1 addition & 1 deletion apps/web/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@t4-code/web",
"version": "0.1.26",
"version": "0.1.27",
"private": true,
"type": "module",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion apps/web/src/platform/browser-shell-port.ts
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ export function createBrowserShellPort(
},
client: {
name: "T4 Code",
version: "0.1.26",
version: "0.1.27",
build: mobilePlatform ?? "browser",
platform: mobilePlatform ?? (platform === "darwin" ? "darwin" : "linux"),
},
Expand Down
2 changes: 1 addition & 1 deletion compat/omp-app-matrix.json
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,6 @@
},
"desktop": {
"package": "@t4-code/protocol",
"version": "0.1.26"
"version": "0.1.27"
}
}
6 changes: 4 additions & 2 deletions docs/CURRENT_RELEASE_NOTES.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
## Signed Mac backend startup

T4 Code v0.1.26 lets the signed, bundled OMP backend load OMP's native module on macOS. The permission is applied only to the OMP executable inside the app. The top-level T4 Code app and its Electron helpers keep normal library validation enabled.
T4 Code v0.1.27 completes the signed Mac backend fix. Packaging now waits for the Promise-based signer to finish before notarization begins. The signed, bundled OMP backend can load OMP's native module, with that permission applied only to the OMP executable inside the app. The top-level T4 Code app and its Electron helpers keep normal library validation enabled.

The v0.1.26 tag did not publish release files: its Mac job stopped when notarization detected that the legacy callback signer had returned before signing finished. No partial v0.1.26 GitHub Release was published.

The protected release job verifies this boundary in both the DMG and ZIP before publication. It also checks the original OMP download's pinned size and SHA-256 hash, the project's exact Developer ID certificate and Team ID, hardened runtime, secure timestamp, stapled notarization ticket, and Gatekeeper result. Signing secrets are never bundled into the app.

Expand All @@ -26,7 +28,7 @@ Session-linked browser previews now open in a dedicated workspace. The client pr

## Runtime provenance

T4 Code v0.1.26 vendors app-wire 0.6.1 from integration commit [e3e15c03](https://github.com/lyc-aon/oh-my-pi/commit/e3e15c03ae95ebbda5f26495cd21213cc53518b1), source tree `e0f32b279eb4b8cbc403e47d765a226bee99c99f`. The client contract remains `omp-app/1`.
T4 Code v0.1.27 vendors app-wire 0.6.1 from integration commit [e3e15c03](https://github.com/lyc-aon/oh-my-pi/commit/e3e15c03ae95ebbda5f26495cd21213cc53518b1), source tree `e0f32b279eb4b8cbc403e47d765a226bee99c99f`. The client contract remains `omp-app/1`.

The verified OMP 17.0.5 runtime is built from commit [772e5e41](https://github.com/lyc-aon/oh-my-pi/commit/772e5e41eb1537177349247add96a851721c5bfa) and tagged [t4code-17.0.5-appserver-5](https://github.com/lyc-aon/oh-my-pi/tree/t4code-17.0.5-appserver-5). It provides the appserver used by the desktop and remote workflows, including faster startup, cross-session attention and transcript search, and the complete negotiated browser-preview command surface. Unsupported optional capabilities remain hidden when the host does not advertise them.

Expand Down
2 changes: 1 addition & 1 deletion e2e/site-mobile-docs.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ test("offers the Android APK without hiding desktop downloads", async ({ page })
await expect(androidDownload).toBeVisible();
await expect(androidDownload).toHaveAttribute(
"href",
"https://github.com/LycaonLLC/t4-code/releases/download/v0.1.26/T4-Code-0.1.26-android.apk",
"https://github.com/LycaonLLC/t4-code/releases/download/v0.1.27/T4-Code-0.1.27-android.apk",
);
await expect(page.getByRole("link", { name: /Linux/u }).first()).toBeVisible();
await expect(page.getByRole("link", { name: /macOS/u }).first()).toBeVisible();
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@t4-code/root",
"version": "0.1.26",
"version": "0.1.27",
"private": true,
"type": "module",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion packages/client/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@t4-code/client",
"version": "0.1.26",
"version": "0.1.27",
"private": true,
"type": "module",
"exports": {
Expand Down
2 changes: 1 addition & 1 deletion packages/client/src/omp-client-frames.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ export function sendClientHello(
} catch { fatal(); return; }
const encoded = encodeOutgoingMessage(provider, {
kind: "hello",
client: options.client ?? { name: "t4-code", version: "0.1.26", build: "client", platform: "electron" },
client: options.client ?? { name: "t4-code", version: "0.1.27", build: "client", platform: "electron" },
requestedFeatures: [...(options.requestedFeatures ?? ["resume"])],
savedCursors,
...(options.capabilities === undefined ? {} : { capabilities: options.capabilities }),
Expand Down
2 changes: 1 addition & 1 deletion packages/fixture-server/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@t4-code/fixture-server",
"version": "0.1.26",
"version": "0.1.27",
"private": true,
"type": "module",
"exports": {
Expand Down
2 changes: 1 addition & 1 deletion packages/protocol/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@t4-code/protocol",
"version": "0.1.26",
"version": "0.1.27",
"private": true,
"type": "module",
"exports": {
Expand Down
4 changes: 2 additions & 2 deletions packages/protocol/test/fixtures/platform-boundaries.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,15 @@ export const androidUpdateFixtures = Object.freeze({
},
{
currentVersion: "0.1.22",
latestVersion: "0.1.26",
latestVersion: "0.1.27",
checkedAt: 1_721_234_567_890,
phase: "available",
revision: 7,
message: "Update ready.",
},
{
currentVersion: "0.1.22",
latestVersion: "0.1.26",
latestVersion: "0.1.27",
phase: "installer",
revision: 8,
message: "Installer opened.\nReview Android's prompt.",
Expand Down
2 changes: 1 addition & 1 deletion packages/remote/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@t4-code/remote",
"version": "0.1.26",
"version": "0.1.27",
"private": true,
"type": "module",
"exports": {
Expand Down
2 changes: 1 addition & 1 deletion packages/service-manager/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@t4-code/service-manager",
"version": "0.1.26",
"version": "0.1.27",
"private": true,
"type": "module",
"exports": {
Expand Down
2 changes: 1 addition & 1 deletion packages/ui/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@t4-code/ui",
"version": "0.1.26",
"version": "0.1.27",
"private": true,
"type": "module",
"exports": {
Expand Down
Loading
Loading