internal/

directory
v0.3.9 Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2026 License: Apache-2.0

Directories

Path Synopsis
api
api 包提供 Leros 的 HTTP API 层
api 包提供 Leros 的 HTTP API 层
connectors
connectors 包提供不同交互渠道的连接器接口定义和路由管理
connectors 包提供不同交互渠道的连接器接口定义和路由管理
connectors/github
github 包提供 GitHub 平台的连接器实现
github 包提供 GitHub 平台的连接器实现
connectors/gitlab
gitlab 包提供 GitLab 平台的连接器实现
gitlab 包提供 GitLab 平台的连接器实现
connectors/wework
wework 包提供企业微信(WeWork)平台的连接器实现
wework 包提供企业微信(WeWork)平台的连接器实现
dto
infra
db
定义 Automation 数据访问层
定义 Automation 数据访问层
git
Package git 封装通过 Gitea API 操作远端 Git 仓库的基础设施能力。
Package git 封装通过 Gitea API 操作远端 Git 仓库的基础设施能力。
mq
mq 包提供消息队列的抽象和实现
mq 包提供消息队列的抽象和实现
providers/baidunetdisk
Package baidunetdisk implements the server-side Baidu Netdisk OAuth client.
Package baidunetdisk implements the server-side Baidu Netdisk OAuth client.
providers/github
githubprovider 包提供 GitHub provider client 工厂。
githubprovider 包提供 GitHub provider client 工厂。
sms
integration
Package llm 提供统一的 LLM 模型管理、调用、调用记录和用量信息能力。
Package llm 提供统一的 LLM 模型管理、调用、调用记录和用量信息能力。
memory
local
Package local implements Leros built-in file-backed memory.
Package local implements Leros built-in file-backed memory.
自动化 Run 状态投影到 AutomationExecution 与 cron Task。
自动化 Run 状态投影到 AutomationExecution 与 cron Task。
自动化调度纯逻辑组件(不访问数据库)。
自动化调度纯逻辑组件(不访问数据库)。
archive
Package skillarchive validates and extracts untrusted Skill zip bundles.
Package skillarchive validates and extracts untrusted Skill zip bundles.
builtin
Package builtin provides external CLI discovery and default-runtime selection.
Package builtin provides external CLI discovery and default-runtime selection.
cache
Package cache provides skill archive utilities shared by plugin import and installation paths.
Package cache provides skill archive utilities shared by plugin import and installation paths.
fetch
Package fetch 提供从远程源发现和下载 Skill 的能力。
Package fetch 提供从远程源发现和下载 Skill 的能力。
store
Package store persists user-managed skills under the Leros workspace.
Package store persists user-managed skills under the Leros workspace.
app
command
Package command 提供统一的 Worker Command 分发器。
Package command 提供统一的 Worker Command 分发器。
command/interaction
Package interaction 处理 cmd.interaction lane 的交互式命令 (approval.resolve 和 question.answer),通过 Resolver 接口转发。
Package interaction 处理 cmd.interaction lane 的交互式命令 (approval.resolve 和 question.answer),通过 Resolver 接口转发。
command/projectfile
Package projectfile handles project file commands on the worker that owns the workspace.
Package projectfile handles project file commands on the worker that owns the workspace.
command/run
Package run 提供 worker agent run 命令的 cmd.run lane handler。
Package run 提供 worker agent run 命令的 cmd.run lane handler。
command/run/inbox
Package inbox provides a strongly-typed durable inbox for worker run commands.
Package inbox provides a strongly-typed durable inbox for worker run commands.
eventpub
Package eventpub publishes fully constructed Worker business events.
Package eventpub publishes fully constructed Worker business events.
mcp
Package mcp 通过 Model Context Protocol 暴露 Leros 运行时能力。
Package mcp 通过 Model Context Protocol 暴露 Leros 运行时能力。
router
Package router 提供 Worker HTTP 服务的 Gin 路由组装。
Package router 提供 Worker HTTP 服务的 Gin 路由组装。
run
Package run provides the Worker-side RunCoordinator.
Package run provides the Worker-side RunCoordinator.
runtimehost
Package runtimehost provides Worker-specific implementations of agent ports.
Package runtimehost provides Worker-specific implementations of agent ports.
status
Package status 提供 Worker 本地运行状态的 Core NATS 查询订阅。
Package status 提供 Worker 本地运行状态的 Core NATS 查询订阅。
Package workspace 提供 Agent 任务运行所需的共享文件系统约定。
Package workspace 提供 Agent 任务运行所需的共享文件系统约定。

Jump to

Keyboard shortcuts

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