Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
main
command
|
|
|
run_sse
Package run_sse 是 sse server 模式的前端入口:起一个标准库 net/http 服务, 接受 POST /chat(body 携带 session_id / task),为每个请求装配一个独立的 ReActService,把 ReActEventConsumerF 收到的 ReAct 事件以细粒度语义 SSE 帧流式 回传,本轮结束发 done(成功)或 error(失败)帧收尾。
|
Package run_sse 是 sse server 模式的前端入口:起一个标准库 net/http 服务, 接受 POST /chat(body 携带 session_id / task),为每个请求装配一个独立的 ReActService,把 ReActEventConsumerF 收到的 ReAct 事件以细粒度语义 SSE 帧流式 回传,本轮结束发 done(成功)或 error(失败)帧收尾。 |
|
docs
|
|
|
about_me
Package aboutme bundles the public articles with laxcode-proxy.
|
Package aboutme bundles the public articles with laxcode-proxy. |
|
examples
|
|
|
sse-client
command
Package main 是 LaxCode sse server 模式(cmd/run_sse)的示例客户端。
|
Package main 是 LaxCode sse server 模式(cmd/run_sse)的示例客户端。 |
|
internal
|
|
|
domain/compactor
Package compactor 提供 agent 运行时上下文的纯内存压缩策略。
|
Package compactor 提供 agent 运行时上下文的纯内存压缩策略。 |
|
domain/session
Package session 承载会话聚合:消息序列(系统提示词恒居首)、token 账目 (累计用量 / 窗口占用)与上下文压缩的落地。
|
Package session 承载会话聚合:消息序列(系统提示词恒居首)、token 账目 (累计用量 / 窗口占用)与上下文压缩的落地。 |
|
domain/telemetry
Package telemetry 是 DDD 架构下领域层的可观测性词汇包:集中定义 span 名与属性键常量、OTel API 类型的别名(Tracer/Span/KeyValue,见 trace.go)、 session_id / agent_role 的 ctx 传播、span 开启与关闭辅助、noop 缺省。
|
Package telemetry 是 DDD 架构下领域层的可观测性词汇包:集中定义 span 名与属性键常量、OTel API 类型的别名(Tracer/Span/KeyValue,见 trace.go)、 session_id / agent_role 的 ctx 传播、span 开启与关闭辅助、noop 缺省。 |
|
infrastructure/ai_models
Package ai_models owns each user's model catalog and runtime selections.
|
Package ai_models owns each user's model catalog and runtime selections. |
|
infrastructure/layout
Package layout 是 LaxCode 磁盘布局的单一真源(single source of truth)。
|
Package layout 是 LaxCode 磁盘布局的单一真源(single source of truth)。 |
|
infrastructure/sandbox
Package sandbox defines the host-verified contract shared by proxy and manager.
|
Package sandbox defines the host-verified contract shared by proxy and manager. |
|
infrastructure/skillrepo
Package skillrepo 是 prompt.SkillSource 端口的文件系统实现:扫描用户主目录下 ${HOME}/.laxcode/skills/ 恰好一层子目录中的 SKILL.md,把原文交给领域层 解析校验。
|
Package skillrepo 是 prompt.SkillSource 端口的文件系统实现:扫描用户主目录下 ${HOME}/.laxcode/skills/ 恰好一层子目录中的 SKILL.md,把原文交给领域层 解析校验。 |
|
infrastructure/skillstore
Package skillstore persists complete global Skill packages beneath one fixed root.
|
Package skillstore persists complete global Skill packages beneath one fixed root. |
|
infrastructure/taskevents
Package taskevents owns a per-workplace embedded JetStream.
|
Package taskevents owns a per-workplace embedded JetStream. |
|
infrastructure/tracing
Package tracing 是 DDD 架构下 OpenTelemetry 的装配入口:负责 TracerProvider 的选择、Handle 的构造与进程退出前的 Shutdown。
|
Package tracing 是 DDD 架构下 OpenTelemetry 的装配入口:负责 TracerProvider 的选择、Handle 的构造与进程退出前的 Shutdown。 |
|
infrastructure/tracing/filetrace
Package filetrace 提供一个把 span 以 JSON Lines 形式追加到本地文件的 trace.TracerProvider 实现。
|
Package filetrace 提供一个把 span 以 JSON Lines 形式追加到本地文件的 trace.TracerProvider 实现。 |
|
infrastructure/workfs
Package workfs 实现 domain/tools.WorkFS:文件类工具(read/write/edit) 唯一的 os 触点。
|
Package workfs 实现 domain/tools.WorkFS:文件类工具(read/write/edit) 唯一的 os 触点。 |
|
laxcode-proxy owns user routing and Docker lifecycle.
|
laxcode-proxy owns user routing and Docker lifecycle. |
|
Package webui exposes the browser bundle to the cloud proxy.
|
Package webui exposes the browser bundle to the cloud proxy. |
|
Package workspace serves persisted user data without starting an agent or sandbox.
|
Package workspace serves persisted user data without starting an agent or sandbox. |
Click to show internal directories.
Click to hide internal directories.
