Add a Go client for OpenChamber built with Asuka's native widgets. - internal/ocapi: health, password-to-device-token auth, session and message paging, prompt/interrupt/model/agent, permissions, SSE events, HTTP/SOCKS5 proxies and certificate pinning - internal/storage: connection settings plus a device token in the platform keystore, with a per-install id for server-side dedupe - internal/appui: connect, session list and chat screens with streaming Markdown, reasoning/tool folding, permission cards and session actions - netcfg: native module that enables cleartext HTTP in release builds - cmd/ocprobe: terminal probe for the API - headless UI tests (uitest) and the research/plan document
19 lines
558 B
Go
19 lines
558 B
Go
// OpenChamber Native is a lightweight OpenChamber client for phones,
|
|
// written in Go with Asuka's native widgets.
|
|
package main
|
|
|
|
import (
|
|
"github.com/egoist/asuka/app"
|
|
"github.com/openchamber/openchamber-native/internal/appui"
|
|
|
|
// The native module that lets a release build reach self-hosted
|
|
// servers over plain HTTP (its Android manifest merges the flag). It
|
|
// has no Go API this app calls; importing it is what puts its Gradle
|
|
// module in the build.
|
|
_ "github.com/openchamber/openchamber-native/netcfg"
|
|
)
|
|
|
|
func main() {
|
|
app.Run(appui.Root)
|
|
}
|