Merge origin/master into feat/website-docs

Conflict resolution notes:
- package.json/run-gates: both sides' new doc-sync gates kept (master's
  scoped-events/readme gates + this branch's website-api/website-yaml);
  js-yaml devDeps deduped (master added them independently).
- pnpm-workspace/knip: website AND python/sdk-runtime entries kept.
- doc-typecheck/verify-type-equiv: master's condensed headers kept, website
  glob retained in both scan scopes.
- vendor/cordis/src/fiber.ts: master's lifecycle-hardening code taken; this
  branch's richer FiberState JSDoc reapplied on top. vendor/README.md logs
  both local modifications (hardening = 6, JSDoc enrichment = 7).
- pnpm-lock: regenerated from master's side (pnpm install).

Post-merge sync the gates forced (the system working as designed):
- verify-website-yaml caught 4 stale plugin names from master's package
  reorg (dsh-stdio-agent -> dsh-stdio-demo, dsh-acp-agent -> dsh-acp-demo);
  8 references fixed across guide/ and develop/.
- gen-website-api picked up master's 6 new services automatically
  (ctx.approval/permission/sandbox/sessionQuery/skills/tasks -> 6 new pages
  + sidebar); api/index.md hub updated to list them.
- AGENTS.md budget ceiling 1370 -> 1400: the website rows (layout line + two
  command lines) and master's own growth collided with the old ceiling; all
  three website rows are load-bearing (new top-level dir, new CI command).
This commit is contained in:
lintianle
2026-07-16 21:36:43 +08:00
1132 changed files with 71533 additions and 19566 deletions

View File

@@ -18,15 +18,21 @@ Cordis 微内核提供的基础能力,所有插件开发都建立在这些 API
- [ctx.agentLoop](./harness/agent-loop) — ReAct 循环的创建与恢复
- [ctx.agents](./harness/agents) — Agent 注册表与工厂
- [ctx.approval](./harness/approval) — 用户审批
- [ctx.bash](./harness/bash) — Bash 执行接口(抽象缝)
- [ctx.codeRuntime](./harness/code-runtime) — 代码执行接口(抽象缝)
- [ctx.compact](./harness/compact) — 上下文压缩接口(抽象缝)
- [ctx.fs](./harness/fs) — 文件系统接口(抽象缝)
- [ctx.llm](./harness/llm) — LLM 服务与适配器注册
- [ctx.permission](./harness/permission) — 权限策略
- [ctx.sandbox](./harness/sandbox) — 沙箱执行接口(抽象缝)
- [ctx.sessionPersistence](./harness/session-persistence) — 会话持久化接口(抽象缝)
- [ctx.sessionQuery](./harness/session-query) — 会话检索
- [ctx.sessions](./harness/sessions) — 会话存储
- [ctx.skills](./harness/skills) — 技能加载
- [ctx.subagents](./harness/subagents) — 子代理委派
- [ctx.systemPrompt](./harness/system-prompt) — 系统提示词组装
- [ctx.tasks](./harness/tasks) — 后台任务
- [ctx.tools](./harness/tools) — Tool 注册表
- [ctx.userInteraction](./harness/user-interaction) — 用户交互接口
- [ctx.web](./harness/web) — Web 搜索与抓取