taskidentity

package
v0.49.0 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package taskidentity derives the canonical task identity for an agent session.

Index

Constants

View Source
const ResumePromptPrefix = "Resume where you left off"

Variables

This section is empty.

Functions

func CanonicalDirective

func CanonicalDirective(headRecords []map[string]any) string

CanonicalDirective returns the real first task directive, skipping harness boilerplate.

func Identity

func Identity(project, cwd string, headRecords []map[string]any) (string, string)

Identity returns the canonical directive and signature in one call.

func Signature

func Signature(project, cwd, directive string) string

Signature returns the stable 16-hex signature of a task identity.

func TextOf

func TextOf(content any) string

TextOf flattens a transcript message content field to human-readable text.

Types

This section is empty.

Jump to

Keyboard shortcuts

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