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
12 lines
275 B
Go
12 lines
275 B
Go
// Package netcfg is a native module: Netcfg, which each platform's native
|
|
// code implements (asuka native).
|
|
package netcfg
|
|
|
|
// Netcfg greets in each platform's own code.
|
|
//
|
|
//asuka:native
|
|
type Netcfg interface {
|
|
// Hello greets name.
|
|
Hello(name string) (string, error)
|
|
}
|