foreignactivation

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package foreignactivation carries consent-gated MCP runtime descriptors between Plasmid packages without adding them to the public foreign catalog.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Descriptor

type Descriptor struct {
	ID, Transport, Command, URL string
	Args                        []string
	Env, Headers                map[string]string
}

Descriptor contains secret-bearing runtime configuration. It must never be serialized into normalized catalogs, warnings, or fixtures.

type Vault

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

Vault is an internal one-way capability used by the extension catalog.

func (*Vault) Capture

func (v *Vault) Capture(value Descriptor) string

Capture retains a defensive descriptor copy.

func (*Vault) Take

func (v *Vault) Take(key string) (Descriptor, bool)

Take returns a defensive copy and removes the selected descriptor.

Jump to

Keyboard shortcuts

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