Sign inSign up

richardaubin/billion-context-kit

By richardaubin

•Updated about 5 hours ago

Sandbox Kit
0

118

richardaubin/billion-context-kit repository overview

Digest

sha256:8a402df58f20…

Size

33 MB

Schema

v3

Pushed

about 5 hours ago

Specificationspec.yaml

MIXIN

Vendored billion-context (`bili`) plus the loopback relay its tunnel needs for a host-gateway model endpoint. A startup hook starts the relay and registers upstream's own pi extension with pi's installer, after which compression runs in-process inside pi. long-running@1 is declared because that relay carries every model call; no egress is declared.


Arguments
NameRequiredDefaultDescription
forward_portOptional18080

sandbox loopback port of the relay onto the host model gateway; this is the port pi's provider baseUrl names (kits/pi-strata)

gateway_hostOptionalhost.docker.internal

name the relay dials for the host model gateway; Docker's host-gateway name, never its link-local address (a sandbox policy denies the literal 169.254.1.1 and bili denies it too)

gateway_portOptional8989

TCP port of the host model gateway (the strata gateway listens on the host's loopback only, which is what the host-gateway name reaches)

versionOptional0.1.215

billion-context (npm) release this kit vendors as pkg/billion-context-<version>.tgz with its sha512 recorded in checksums.txt. A published kit takes no version arg: change the tag.



CapabilitiesExpand a row to see its full configuration. See the full spec for the complete descriptor.
TypeRequiredDescription
com.docker.sandbox/long-running@1Required—
com.docker.sandbox/lifecycle@1Required—
com.docker.sandbox/agent-context@2Optional—

Requirespi >= 1.5.2, < 2.0.0

Apply this mixin to a sandbox

sbx run <agent> --kit richardaubin/billion-context-kit:latest

Make sure you have docker sbx installed

Run the following command to install sbx on your machine.

macOS
brew install docker/tap/sbx
Windows
winget install Docker.sbx
Learn more about docker sbx⁠
No overview available
This repository doesn't have an overview