internal/

directory
v2.19.2 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2026 License: GPL-3.0

Directories

Path Synopsis
Package agentsession owns deferred cleanup of coding-agent provider sessions.
Package agentsession owns deferred cleanup of coding-agent provider sessions.
Package audit provides a generic audit logging system for tracking user actions.
Package audit provides a generic audit logging system for tracking user actions.
Package browserhost manages Chrome processes that browser steps keep alive between step executions: their durable records, reachability probes, and cleanup.
Package browserhost manages Chrome processes that browser steps keep alive between step executions: their durable records, reachability probes, and cleanup.
certproxy
Package certproxy presents TLS client certificates on behalf of a browser.
Package certproxy presents TLS client certificates on behalf of a browser.
Package build owns local file materialization evaluation.
Package build owns local file materialization evaluation.
Package cloudreport reports the health and DAG runs of a server with an online license to Dagu Console.
Package cloudreport reports the health and DAG runs of a server with an online license to Dagu Console.
cmn
artifactpath
Package artifactpath builds and parses the on-disk layout of DAG-run artifact directories.
Package artifactpath builds and parses the on-disk layout of DAG-run artifact directories.
dirlock
Package dirlock provides a directory-based locking mechanism for coordinating access to shared resources across multiple processes.
Package dirlock provides a directory-based locking mechanism for coordinating access to shared resources across multiple processes.
filenotify
Package filenotify provides a mechanism for watching file(s) for changes.
Package filenotify provides a mechanism for watching file(s) for changes.
hostpattern
Package hostpattern matches host names against patterns: an exact host, *.example.com for every subdomain of example.com, or * for every host.
Package hostpattern matches host names against patterns: an exact host, *.example.com for every subdomain of example.com, or * for every host.
logger/tag
Package tag provides standardized tag functions for structured logging.
Package tag provides standardized tag functions for structured logging.
mailbox
Package mailbox reads and organizes email in an IMAP mailbox or, through the Gmail API, in a Gmail mailbox.
Package mailbox reads and organizes email in an IMAP mailbox or, through the Gmail API, in a Gmail mailbox.
mailer/oauthconfig
Package oauthconfig defines OAuth configuration for SMTP and mail accounts.
Package oauthconfig defines OAuth configuration for SMTP and mail accounts.
runenv
Package runenv defines environment variable keys shared across DAG run layers.
Package runenv defines environment variable keys shared across DAG run layers.
schema
Package schema provides embedded JSON schemas for use across the codebase.
Package schema provides embedded JSON schemas for use across the codebase.
workbook
Package workbook reads and writes .xlsx workbooks without a spreadsheet application.
Package workbook reads and writes .xlsx workbooks without a spreadsheet application.
yamlutil
Package yamlutil holds helpers that work around YAML parser quirks.
Package yamlutil holds helpers that work around YAML parser quirks.
Package computerhost keeps the state of computer steps that the server, CLI and executor share.
Package computerhost keeps the state of computer steps that the server, CLI and executor share.
Package dagpin defines the server-wide set of pinned DAGs.
Package dagpin defines the server-wide set of pinned DAGs.
Package dagsettings contains server-side DAG settings.
Package dagsettings contains server-side DAG settings.
Package desktop captures the screen and sends pointer and keyboard input to the desktop of the current user session.
Package desktop captures the screen and sends pointer and keyboard input to the desktop of the current user session.
Package dispatch holds control-plane policy for deciding how a DAG run is executed.
Package dispatch holds control-plane policy for deciding how a DAG run is executed.
executor
Package ir defines the canonical serialized workflow representation, including normalized DAG definitions and persisted run snapshots.
Package ir defines the canonical serialized workflow representation, including normalized DAG definitions and persisted run snapshots.
llm
Package llm provides a generic abstraction layer for interacting with Large Language Model providers.
Package llm provides a generic abstraction layer for interacting with Large Language Model providers.
allproviders
Package allproviders imports all LLM providers to register them.
Package allproviders imports all LLM providers to register them.
claudemodel
Package claudemodel reads Claude model IDs as the providers that serve Claude spell them, to tell what a model accepts.
Package claudemodel reads Claude model IDs as the providers that serve Claude spell them, to tell what a model accepts.
computeruse
Package computeruse lets a model operate a desktop through screenshots and pointer and keyboard actions.
Package computeruse lets a model operate a desktop through screenshots and pointer and keyboard actions.
llmtest
Package llmtest provides test doubles for LLM provider APIs.
Package llmtest provides test doubles for LLM provider APIs.
providers/anthropic
Package anthropic provides an LLM provider implementation for Anthropic's Claude API.
Package anthropic provides an LLM provider implementation for Anthropic's Claude API.
providers/chatcontent
Package chatcontent builds message content for OpenAI-compatible chat completion APIs.
Package chatcontent builds message content for OpenAI-compatible chat completion APIs.
providers/gemini
Package gemini provides an LLM provider implementation for Google's Gemini API.
Package gemini provides an LLM provider implementation for Google's Gemini API.
providers/local
Package local provides an LLM provider implementation for local OpenAI-compatible servers.
Package local provides an LLM provider implementation for local OpenAI-compatible servers.
providers/openai
Package openai provides an LLM provider implementation for OpenAI's API.
Package openai provides an LLM provider implementation for OpenAI's API.
providers/openrouter
Package openrouter provides an LLM provider implementation for OpenRouter's API.
Package openrouter provides an LLM provider implementation for OpenRouter's API.
providers/zai
Package zai provides an LLM provider implementation for Z.AI's API.
Package zai provides an LLM provider implementation for Z.AI's API.
toolschema
Package toolschema derives LLM function-calling parameter schemas from DAG parameter definitions.
Package toolschema derives LLM function-calling parameter schemas from DAG parameter definitions.
Package output provides tree-structured rendering for DAG execution status.
Package output provides tree-structured rendering for DAG execution status.
Package pagination defines page- and cursor-based result metadata.
Package pagination defines page- and cursor-based result metadata.
Package persis defines persistence contracts for Dagu's control plane.
Package persis defines persistence contracts for Dagu's control plane.
file
Package file provides filesystem persistence implementations.
Package file provides filesystem persistence implementations.
file/artifact
Package artifact stores the per-run index of DAG-run artifact directories.
Package artifact stores the per-run index of DAG-run artifact directories.
file/audit
Package audit provides a file-based implementation of the audit Store interface.
Package audit provides a file-based implementation of the audit Store interface.
file/eventstore
Package eventstore provides a file-based implementation of the event store.
Package eventstore provides a file-based implementation of the event store.
store
Package store consolidates small persistence stores that each wrap a persis.Collection.
Package store consolidates small persistence stores that each wrap a persis.Collection.
testutil
Package testutil provides test helpers for the persistence layer.
Package testutil provides test helpers for the persistence layer.
Package proc owns process liveness and control addressing.
Package proc owns process liveness and control addressing.
Package profile contains runtime profile domain models.
Package profile contains runtime profile domain models.
proto
convert
Package convert provides conversion functions between execution types and proto messages.
Package convert provides conversion functions between execution types and proto messages.
agentloop
Package agentloop implements the decision layer of an agent DAG: the catalog of actions offered to the LLM, the goal state it works against, and the planner that turns a conversation into the next action.
Package agentloop implements the decision layer of an agent DAG: the catalog of actions offered to the LLM, the goal state it works against, and the planner that turns a conversation into the next action.
builtin/agent
Package agent registers the executor identity of the synthesized step that drives an agent DAG.
Package agent registers the executor identity of the synthesized step that drives an agent DAG.
builtin/browser
Package browser implements the browser.extract and browser.run actions.
Package browser implements the browser.extract and browser.run actions.
builtin/chat
Package chat provides an executor for chat (LLM-based session) steps.
Package chat provides an executor for chat (LLM-based session) steps.
builtin/computer
Package computer implements the computer.extract and computer.run actions, which operate the desktop of the worker's user session.
Package computer implements the computer.extract and computer.run actions, which operate the desktop of the worker's user session.
builtin/internal/agentstep
Package agentstep holds what the built-in steps that drive a model themselves, such as browser, computer, and chat, share: with-block validation helpers, the respond tool, and lock upkeep.
Package agentstep holds what the built-in steps that drive a model themselves, such as browser, computer, and chat, share: with-block validation helpers, the respond tool, and lock upkeep.
builtin/js
Package js runs a sandboxed JavaScript function body as a workflow step.
Package js runs a sandboxed JavaScript function body as a workflow step.
builtin/redis
Package redis provides Redis executor capabilities for Dagu workflows.
Package redis provides Redis executor capabilities for Dagu workflows.
builtin/sql
Package sql provides SQL executor capabilities for PostgreSQL and SQLite databases.
Package sql provides SQL executor capabilities for PostgreSQL and SQLite databases.
builtin/sql/drivers/postgres
Package postgres provides the PostgreSQL driver for the SQL executor.
Package postgres provides the PostgreSQL driver for the SQL executor.
builtin/sql/drivers/sqlite
Package sqlite provides the SQLite driver for the SQL executor.
Package sqlite provides the SQLite driver for the SQL executor.
builtin/xlsx
Package xlsx implements the xlsx.* built-in actions over internal/cmn/workbook: reading, inspecting, and writing .xlsx workbooks without a spreadsheet application.
Package xlsx implements the xlsx.* built-in actions over internal/cmn/workbook: reading, inspecting, and writing .xlsx workbooks without a spreadsheet application.
runstate
Package runstate defines the execution-state port used by the runtime.
Package runstate defines the execution-state port used by the runtime.
runstate/memstore
Package memstore provides an in-memory runtime run-state store.
Package memstore provides an in-memory runtime run-state store.
Package runtimeenv resolves the environment used by a DAG run.
Package runtimeenv resolves the environment used by a DAG run.
transport
Package transport prepares resolved environment snapshots for subprocess transport.
Package transport prepares resolved environment snapshots for subprocess transport.
Package schedulerstate defines durable scheduler state and its persistence contract.
Package schedulerstate defines durable scheduler state and its persistence contract.
Package secret contains the team secret registry domain model.
Package secret contains the team secret registry domain model.
ref
Package ref defines references to external secrets.
Package ref defines references to external secrets.
service
authmapping
Package authmapping maps external group memberships to Dagu authorization.
Package authmapping maps external group memberships to Dagu authorization.
coordinator/subflow
Package subflow adapts Dagu child workflow execution to the runtime executor's child workflow interface.
Package subflow adapts Dagu child workflow execution to the runtime executor's child workflow interface.
frontend/file
Package file creates file-backed dependencies for the frontend service.
Package file creates file-backed dependencies for the frontend service.
frontend/terminal
Package terminal provides a web-based terminal for admin users.
Package terminal provides a web-based terminal for admin users.
mcp
oidcprovision
Package oidcprovision provides OIDC user provisioning functionality for builtin auth mode.
Package oidcprovision provides OIDC user provisioning functionality for builtin auth mode.
scheduler/file
Package file creates file-backed dependencies for the scheduler service.
Package file creates file-backed dependencies for the scheduler service.
trustedproxyprovision
Package trustedproxyprovision provisions users through proxy authentication.
Package trustedproxyprovision provisions users through proxy authentication.
types
Package types provides typed union types for YAML fields that accept multiple formats.
Package types provides typed union types for YAML fields that accept multiple formats.
Package sysproxy describes how this device routes web requests through proxies, as a proxy auto-config (PAC) script.
Package sysproxy describes how this device routes web requests through proxies, as a proxy auto-config (PAC) script.
mailtest
Package mailtest runs in-process IMAP and SMTP servers over TLS for tests.
Package mailtest runs in-process IMAP and SMTP servers over TLS for tests.
llmsgen/cmd command
Package view defines shared saved view configurations.
Package view defines shared saved view configurations.

Jump to

Keyboard shortcuts

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