apptask

package
v0.16.397 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2026 License: AGPL-3.0 Imports: 5 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 apptask is the envelope of a task an app gives an agent in the person's name: an inbox that hands a tracker card to a new chat. The agent reads who set the task; the feed draws it as the app's card, not as words the person typed.

<app-task app="inbox" label="Inbox">
…the task…
</app-task>

Index

Constants

View Source
const Tag = "app-task"

Tag is the envelope's element.

Variables

This section is empty.

Functions

func Wrap

func Wrap(from *wire.ChatFrom, text string) string

Wrap is the task as the agent gets it. The attributes are escaped; a tag of the envelope inside the text gets a zero-width space, so the text cannot end its own envelope. A nil from leaves the text as it is.

Types

This section is empty.

Jump to

Keyboard shortcuts

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