core

package
v0.68.2 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2026 License: AGPL-3.0 Imports: 0 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package core groups the leaf kernels every other internal package needs and that need almost nothing back: tool metadata, agent context keys, sentinel errors, agent access checks, provider credentials.

Admission rule, enforced by internal/boundary_test.go: internal/core/** may import the standard library, third-party modules, github.com/CherryHQ/stella/pkg/**, other internal/core/**, internal/authz, and internal/platform/config — nothing else inside the repo.

A package that needs more than that is not a kernel; it is a domain package with a runtime dependency and it stays where it lives. internal/agent/settingspolicy is the worked example: its Available() takes a runtime.RunnerParams.

This directory holds no code of its own; each kernel is a subpackage keeping its original package name (toolmeta, access, agentctx, agenterr, providercred), so moving a package here changes import lines and nothing else.

Directories

Path Synopsis
Package access is the policy-enforcement point for Agent resources.
Package access is the policy-enforcement point for Agent resources.
Package providercred owns per-Agent LLM Provider API-key overrides.
Package providercred owns per-Agent LLM Provider API-key overrides.
Package toolmeta describes generated model-facing tools: the name, the family it belongs to, and the exact input schema bound to one action.
Package toolmeta describes generated model-facing tools: the name, the family it belongs to, and the exact input schema bound to one action.

Jump to

Keyboard shortcuts

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