explore

package
v1.5.162 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2026 License: MIT Imports: 1 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 explore describes the read-only operations folded into an Explore transcript cell. It is presentation policy, not an authorization decision.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsTool

func IsTool(name string) bool

IsTool names the same deliberately narrow set in both GUI and TUI. Shell, network, and result-bearing tools retain their own cards.

func Step

func Step(name string, input map[string]any) (verb, detail string)

Step summarizes one native exploration tool without guessing from its output.

Types

type Builder

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

Builder merges adjacent reads, retaining their original order and envelope.

func (*Builder) Add

func (b *Builder) Add(name string, input map[string]any, envelope string)

Add appends one tool call in transcript order.

func (*Builder) Finish

func (b *Builder) Finish() []Row

Finish returns the summary accumulated so far.

type Row

type Row struct {
	Text     string
	Envelope string
}

Row carries the execution envelope of the calls it summarizes, so mixed sandbox/unconfined groups never give one misleading group-wide label.

Jump to

Keyboard shortcuts

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