contextclient

package
v0.149.2 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2026 License: MIT Imports: 14 Imported by: 0

Documentation

Overview

Package contextclient keeps Context impersonation credentials and tokens in the wing.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

func New

func New(cfg *config.ContextConfig) (*Client, error)

New is called only in the wing/roost, never in an egg process.

func (*Client) Call

func (c *Client) Call(ctx context.Context, owner, name string, arguments map[string]any) (string, error)

Call's owner must come from the authenticated session, independently of tool arguments and env.

Jump to

Keyboard shortcuts

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