Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
catalog-doc
command
Command catalog-doc renders the standard event-type and tool catalogs as a Markdown document in one locale:
|
Command catalog-doc renders the standard event-type and tool catalogs as a Markdown document in one locale: |
|
dws-gateway
command
Command dws-gateway runs the DingTalk Event Gateway for one conversation: it listens through the dws CLI, normalizes messages into events for the Employee Loop's ingress (-loop) and serves the delivery API (-serve) that sends the loop's replies back through dws.
|
Command dws-gateway runs the DingTalk Event Gateway for one conversation: it listens through the dws CLI, normalizes messages into events for the Employee Loop's ingress (-loop) and serves the delivery API (-serve) that sends the loop's replies back through dws. |
|
employee-loop
command
Command employee-loop runs the Employee Loop service with in-memory storage.
|
Command employee-loop runs the Employee Loop service with in-memory storage. |
|
task-manager
command
Command task-manager runs the Task Manager service: an in-memory task manager with the echo executor, serving the Task Manager API over HTTP and reporting every task only by publishing execution events to the event ingress of the task's employee: -loops maps employees to their loops, and -loop receives the events of every other employee.
|
Command task-manager runs the Task Manager service: an in-memory task manager with the echo executor, serving the Task Manager API over HTTP and reporting every task only by publishing execution events to the event ingress of the task's employee: -loops maps employees to their loops, and -loop receives the events of every other employee. |
|
Package contract is the portable, dependency-free contract of the Employee Loop: the events an employee receives, how each event is routed to a scene session, the tools and Host methods a wake may use, and the storage ports that back them.
|
Package contract is the portable, dependency-free contract of the Employee Loop: the events an employee receives, how each event is routed to a scene session, the tools and Host methods a wake may use, and the storage ports that back them. |
|
Package employeeloop assembles one Employee Loop service from the loop packages:
|
Package employeeloop assembles one Employee Loop service from the loop packages: |
|
examples
|
|
|
hostext
Package hostext is an example host extension profile: event types and tool specs that an embedding platform adds for flows the Employee Loop does not implement (plans, collections, reminders, scene configuration).
|
Package hostext is an example host extension profile: event types and tool specs that an embedding platform adds for flows the Employee Loop does not implement (plans, collections, reminders, scene configuration). |
|
gateway
|
|
|
dws
Package dws is the DingTalk Workspace CLI (dws) side of the Event Gateway.
|
Package dws is the DingTalk Workspace CLI (dws) side of the Event Gateway. |
|
stdin
Package stdin is a local Event Gateway for one scene: every input line is published as a message.addressed event from one person, and deliveries are printed.
|
Package stdin is a local Event Gateway for one scene: every input line is published as a message.addressed event from one person, and deliveries are printed. |
|
Package i18n resolves the natural-language strings of the Employee Loop: prompts, repair instructions, context labels, tool and event descriptions and user-visible loop text.
|
Package i18n resolves the natural-language strings of the Employee Loop: prompts, repair instructions, context labels, tool and event descriptions and user-visible loop text. |
|
internal
|
|
|
catalogdoc
Package catalogdoc renders the event-type and tool catalogs as Markdown: the standard catalogs, then optionally a platform's extension profile (the committed documents render the standard catalogs only).
|
Package catalogdoc renders the event-type and tool catalogs as Markdown: the standard catalogs, then optionally a platform's extension profile (the committed documents render the standard catalogs only). |
|
cli
Package cli holds the small helpers shared by the service commands: locale resolution, localized output and flag parsing helpers.
|
Package cli holds the small helpers shared by the service commands: locale resolution, localized output and flag parsing helpers. |
|
Package kernel runs one Employee Loop wake on CloudWeGo Eino components.
|
Package kernel runs one Employee Loop wake on CloudWeGo Eino components. |
|
kerneltest
Package kerneltest provides a scripted Eino chat model and an in-memory journal for tests of hosts and assemblies that embed the kernel.
|
Package kerneltest provides a scripted Eino chat model and an in-memory journal for tests of hosts and assemblies that embed the kernel. |
|
prototype
|
|
|
adapters/dws
Package dws adapts the gateway/dws CLI client to the prototype's core.IMProvider.
|
Package dws adapts the gateway/dws CLI client to the prototype's core.IMProvider. |
|
cmd/demo
command
Local demo: local.Stack (SQLite + checkpoint + stdin + mock) wired into core.Runtime.
|
Local demo: local.Stack (SQLite + checkpoint + stdin + mock) wired into core.Runtime. |
|
cmd/dws-consumer
command
DWS conversation consumer — DingTalk adapter + local stack + core.Runtime.
|
DWS conversation consumer — DingTalk adapter + local stack + core.Runtime. |
|
core
Store ports of the prototype runtime: TaskStore, MemoryStore, KV.
|
Store ports of the prototype runtime: TaskStore, MemoryStore, KV. |
|
local
Package local provides an Eino adk/compose CheckPointStore backed by SQLite.
|
Package local provides an Eino adk/compose CheckPointStore backed by SQLite. |
|
providers
|
|
|
llm
Package llm builds Eino chat models for DeepSeek-native and OpenAI-compatible endpoints (for example Alibaba Cloud Bailian / DashScope compatible mode) from configuration or the environment.
|
Package llm builds Eino chat models for DeepSeek-native and OpenAI-compatible endpoints (for example Alibaba Cloud Bailian / DashScope compatible mode) from configuration or the environment. |
|
Package scene drives an employee from events: every event is admitted, routed to its scene, and processed by the scene's foreground session or one of its queued background sessions.
|
Package scene drives an employee from events: every event is admitted, routed to its scene, and processed by the scene's foreground session or one of its queued background sessions. |
|
Package schema embeds the wire and storage schemas of the Employee Loop:
|
Package schema embeds the wire and storage schemas of the Employee Loop: |
|
store
|
|
|
memstore
Package memstore is an in-memory reference implementation of the EventLog, SessionQueue, Journal and Outbox ports.
|
Package memstore is an in-memory reference implementation of the EventLog, SessionQueue, Journal and Outbox ports. |
|
Package taskmgr defines the Task Manager side of the Employee Loop: the Executor port that performs background work and the wire values a Task Manager publishes back to the loop.
|
Package taskmgr defines the Task Manager side of the Employee Loop: the Executor port that performs background work and the wire values a Task Manager publishes back to the loop. |
|
executors
Package executors provides small taskmgr.Executor implementations for tests, demos and adapters.
|
Package executors provides small taskmgr.Executor implementations for tests, demos and adapters. |
|
memtask
Package memtask is an in-memory contract.TaskManager.
|
Package memtask is an in-memory contract.TaskManager. |
|
Package toolhost implements the standard tools of the Employee Loop over the contract ports, so a loop runs with no platform behind it:
|
Package toolhost implements the standard tools of the Employee Loop over the contract ports, so a loop runs with no platform behind it: |
|
transport
|
|
|
httpapi
Package httpapi carries the Employee Loop service boundaries as JSON over HTTP.
|
Package httpapi carries the Employee Loop service boundaries as JSON over HTTP. |
Click to show internal directories.
Click to hide internal directories.