aps-agent/server/index.ts

13 lines
699 B
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/**
* 平台服务(架构设计第 2 节):引擎中立的服务端。
*
* 内部模块与边界:
* entry/ HTTP / SSE 入口、会话、鉴权(只做协议,不做业务)
* app/ 应用服务:请求编排、能力查询、审批流转、事件推送
* agent/ 引擎适配:统一 AgentRuntime 接口 + Pi / Codex 实现(唯一允许 import 引擎的地方)
* core/ 控制面:能力目录、身份、策略、凭据、执行、审计
* workflows/ 跨系统顺序流程
*
* 依赖方向:contracts ← provider-sdk ← server ← client。server 不 import client 与 providers/*。
*/
export const SERVER_PACKAGE = '@aps/server';