internals

package
v0.6.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 26, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package internals provides embedded container-side scripts and source code that run inside clawker containers to communicate with the host proxy and socketbridge. These are leaf assets (stdlib + embed only) consumed by the bundler package when assembling Docker build contexts.

IMPORTANT: All embedded scripts in this package are automatically included in image content hashing via AllScripts(). When adding new scripts, export them as package-level vars and add them to AllScripts() to ensure image rebuilds when scripts change.

Index

Constants

This section is empty.

Variables

View Source
var CallbackForwarderSource string

CallbackForwarderSource is the Go source for the callback-forwarder binary. It polls the host proxy for captured OAuth callbacks and forwards them to the local HTTP server inside the container. Compiled during Docker image build via multi-stage Dockerfile.

View Source
var GitCredentialScript string

GitCredentialScript is a git credential helper that forwards credential requests to the host proxy for HTTPS git authentication.

View Source
var HostOpenScript string

HostOpenScript is a shell script used as the BROWSER env var inside containers. It opens URLs via the host proxy and handles OAuth callback interception.

View Source
var SocketForwarderSource string

SocketForwarderSource is the Go source for the clawker-socket-server binary. It provides unified socket forwarding (GPG, SSH) via muxrpc-style protocol over stdin/stdout, replacing the separate agent proxy binaries. Compiled during Docker image build via multi-stage Dockerfile.

Functions

func AllScripts

func AllScripts() []string

AllScripts returns all embedded script contents for content hashing. This is used by the bundler package to ensure image rebuilds when any container-side script changes.

IMPORTANT: When adding new embedded scripts to this package, add them to this list to ensure they are included in image content hashing.

Types

This section is empty.

Directories

Path Synopsis
cmd
callback-forwarder command
callback-forwarder polls the host proxy for captured OAuth callback data and forwards it to the local HTTP server (Claude Code's callback listener).
callback-forwarder polls the host proxy for captured OAuth callback data and forwards it to the local HTTP server (Claude Code's callback listener).
clawker-socket-server command
socket-forwarder is a multiplexing socket forwarder that runs inside clawker containers.
socket-forwarder is a multiplexing socket forwarder that runs inside clawker containers.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL