Changelog, dev startup, README, AgentHub 0.4.0, model catalog, and landing site (#7)
Branch-length batch covering tooling, the model layer, the Web App and the public surfaces. Highlights: - Changelog: a per-release `changelog/<version>/` tree, grouped by the surface each change touches, with a root CHANGELOG.md holding one line per release. - Dev startup: `scripts/dev-prebuild.mjs` serializes the skills+core prebuild behind a lock and keeps `pnpm install` current; `pnpm dev` runs server+web together. - AgentHub 0.3.3 -> 0.4.0: OmniMessage complete payloads carry one opaque `fidelity` object in place of item-level `signature`/`phase`, threaded verbatim through Trace, replay and resume; malformed classification adapted to the new error types. - Model layer: a model is always referenced by an explicit `(provider, model_id)` pair. The provider is never inferred, guessed or defaulted -- both the catalog inference and the unique-match config resolution are gone, and CLI, SDK, server routes and run_subagent all require the complete pair. Catalog gains the Qwen Token Plan, Qwen Pay-As-You-Go and Fireworks AI gateways, plus an expanded OpenRouter group. - Web App: catalog preset sync and per-group speed test on the Models page, positional slash commands, a markdown renderer, skill-library update reminders, and a vertically centred draft page whose upward menus size themselves to the room available. - Public surfaces: restructured READMEs, the penguin.ooo landing site and blog, refreshed benchmark results for both suites, and the demo videos playing on the landing page. Includes the fixes from a full review of the branch: 23 confirmed findings, among them a provider-inference bug that could send one vendor's API key to another vendor's endpoint, and an Escape handler that destroyed the composer's contents unrecoverably. Verified on the branch head: pnpm test (1127 passing, 7 packages), pnpm typecheck and pnpm format:check clean, Playwright e2e 14/14.
This commit is contained in:
@@ -35,7 +35,7 @@ openrouter、siliconflow 与 custom 分组走 OpenAI 兼容协议,因此复用
|
||||
|
||||
## Project 配置
|
||||
|
||||
`<root>/<project>/.project_config.toml` 是 Project 唯一的配置文件:隐藏文件,落盘权限 0600,凭证内联在模型条目上。模型身份始终是 `(provider, model_id)` 成对引用,禁止任何形式的字符串拼接。
|
||||
`<root>/<project>/.project_config.toml` 是 Project 唯一的配置文件:隐藏文件,落盘权限 0600,凭证内联在模型条目上。模型身份始终是 `(provider, model_id)` 成对引用,禁止任何形式的字符串拼接;指向本文件的每一处引用都要带上两半,provider 绝不由裸 `model_id` 推断。
|
||||
|
||||
| 字段 | 说明 |
|
||||
| --- | --- |
|
||||
@@ -143,9 +143,11 @@ compaction:
|
||||
| `{{PLATFORM}}` | 运行平台 |
|
||||
| `{{OS_VERSION}}` | 操作系统版本 |
|
||||
| `{{DATE}}` | 当前日期 |
|
||||
| `{{CWD}}` | Workspace 路径 |
|
||||
| `{{AGENT_ID}}` | Agent id |
|
||||
| `{{PROJECT_DIR}}` | Project 目录 |
|
||||
| `{{AGENT_ID}}` | Agent id |
|
||||
| `{{CWD}}` | Workspace 路径 |
|
||||
| `{{PROVIDER}}` | 模型 provider 分组 |
|
||||
| `{{MODEL_ID}}` | 上游模型 id |
|
||||
| `{{SESSION_ID}}` | Session id |
|
||||
|
||||
`agent_state/AGENTS.md` 是开发者可编辑的指令文件,经 `{{AGENTS_MD}}` 注入系统提示词,缺省为空——它也是优化器最常改动的文件(见[自我进化](/self-improvement))。
|
||||
@@ -157,6 +159,7 @@ compaction:
|
||||
- 键名须匹配 `^[A-Za-z_][A-Za-z0-9_]*$`(shell 环境变量命名规则);
|
||||
- 值只注入工具子进程的环境变量,永远不进入模型上下文与 Trace;
|
||||
- 系统提示词中经 `{{VAULT_KEYS}}` 只披露键名;
|
||||
- 经 Web/API 保存会使该 Agent 已缓存的 Session 运行时失效:其任意 Session 的下一个任务会重新恢复(resume)并使用新值;进行中的任务保持其启动时的值(CLI 直接改文件对运行中的 server 则要等 Session 下次创建或恢复时生效);
|
||||
- 通过 CLI `penguin config vault set/list/remove` 或 Web 的 Vault 标签页管理。
|
||||
|
||||
## 定时任务
|
||||
@@ -172,7 +175,7 @@ compaction:
|
||||
| `end_at` | 否 | 结束时刻,须晚于 `start_at` |
|
||||
| `session_id` | 否 | 绑定既有 Session;与下列三项互斥 |
|
||||
| `workspace` | 否 | 新建 Session 模式的 Workspace |
|
||||
| `provider` / `model_id` | 否 | 新建 Session 模式的模型成对引用 |
|
||||
| `provider` / `model_id` | 否 | 新建 Session 模式的模型成对引用;要写就两个都写,只写 `model_id` 会被拒绝,两个都不写则使用 Project 默认模型 |
|
||||
|
||||
```toml
|
||||
prompt = "检查昨日构建结果并汇总失败原因"
|
||||
|
||||
Reference in New Issue
Block a user