Skip to content

Commit 330c137

Browse files
authored
Merge branch 'main' into feat/blog
2 parents f828ceb + f00cad2 commit 330c137

19 files changed

Lines changed: 320 additions & 110 deletions

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ Beta testers can install `@openagentpack/cli@beta`; see the [release guide](./do
147147
| MCP Server | native | native | native | native |
148148
| Memory Store | unsupported | native | unsupported | native |
149149
| Multi-Agent | unsupported | unsupported | native | native |
150-
| Deployment | emulated | emulated | native | emulated |
150+
| Deployment | emulated | native | native | emulated |
151151
| Session | native | native | native | native |
152152

153153
The full capability matrix and per-provider differences live in the [Provider reference](./docs/reference/providers.md).

README.zh-CN.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ Beta 用户可以安装 `@openagentpack/cli@beta`;固定版本及切回稳定
147147
| MCP Server | native | native | native | native |
148148
| Memory Store | unsupported | native | unsupported | native |
149149
| Multi-Agent | unsupported | unsupported | native | native |
150-
| Deployment | emulated | emulated | native | emulated |
150+
| Deployment | emulated | native | native | emulated |
151151
| Session | native | native | native | native |
152152

153153
完整能力矩阵与各 Provider 差异见 [Provider 参考](./docs/reference/providers.zh-CN.md)。

docs/architecture/how-it-works.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,4 +63,4 @@ agents state import <address> <remote-id>
6363

6464
Resources (agents, environments, skills…) are **infrastructure** — long-lived, managed by `plan`/`apply`. A **session** is a **runtime** conversation started from an agent. Sessions are managed separately with `agents session` and are not part of the plan/apply lifecycle.
6565

66-
Deployments sit between the two: they are declared as resources but produce runs. On Claude they schedule server-side; on Bailian, Qoder, and Volcengine Ark a `deployment run` expands into a session.
66+
Deployments sit between the two: they are declared as resources but produce runs. On Qoder and Claude they schedule server-side; on Bailian and Volcengine Ark a `deployment run` expands into a session.

docs/concepts/agents-as-code.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Because the declaration is a file, it gets everything a file gets: code review,
1919
- The **agent harness** is the provider-managed layer that wraps a model into an agent: knowledge base, skills, MCP wiring, prompt/instructions, vault, deployment, multi-agent orchestration. These are the customer's portable assets.
2020
- The **agent infra** is the interchangeable execution substrate beneath the harness — the specific provider (Bailian, Qoder, Claude, Volcengine Ark) that runs the agent.
2121

22-
OpenAgentPack's portability claim is that the same harness declaration can target different agent infra. Portability means the *core declaration* is portable and the per-provider **capability contract** is explicit — unsupported facets degrade gracefully (for example, an emulated `Deployment` on Bailian/Qoder/Volcengine Ark) — not that every feature is identical on every provider.
22+
OpenAgentPack's portability claim is that the same harness declaration can target different agent infra. Portability means the *core declaration* is portable and the per-provider **capability contract** is explicit — unsupported facets degrade gracefully (for example, an emulated `Deployment` on Bailian/Volcengine Ark) — not that every feature is identical on every provider.
2323

2424
## What this enables
2525

docs/concepts/sessions-and-deployments.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@ How a deployment *runs* depends on the provider's capability tier:
2323
| Provider | Deployment tier | What `agents deployment run` does |
2424
|----------|:--------------:|------------------------------------|
2525
| Claude | native | schedules server-side through the deployments API |
26-
| Qoder, Bailian, Ark | emulated | expands into a one-shot session at run time |
26+
| Qoder | native | creates a deployment run and associated session |
27+
| Bailian, Ark | emulated | expands into a one-shot session at run time |
2728

2829
On the emulated providers, scheduling and outcome rubrics are **not** enforced server-side — use external cron/CI for always-on or scheduled runs.
2930

docs/examples.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ agents destroy
5252
| MCP Server | native | native | native | native |
5353
| Memory Store | unsupported | native | unsupported | native |
5454
| Multi-Agent | unsupported | unsupported | native | native |
55-
| Deployment | emulated | emulated | native | emulated |
55+
| Deployment | emulated | native | native | emulated |
5656
| Session | native | native | native | native |
5757

5858
See [Provider reference](./reference/providers.md) for per-provider configuration and notes.

docs/guides/configure-an-agent.zh-CN.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -460,7 +460,7 @@ Deployment 是介于「定义」与「运行」之间的声明式中间层。它
460460
- **部署层**(Deployment):声明「用哪个 Agent、带哪些绑定、以什么初始事件和调度运行」。
461461
- **运行层**(Session):一次具体的执行实例。
462462

463-
> Provider 差异:Claude 原生支持 Deployment(对应平台的 deployments API,可服务端调度);百炼、Qoder、火山方舟为**模拟**实现——`apply` 只写本地状态(`remote_id` 为 `null`),`agents deployment run` 时展开为一个 Session。详见 [Provider 参考](../reference/providers.zh-CN.md#模拟emulated资源的能力降级)。
463+
> Provider 差异:Qoder 和 Claude 原生支持 Deployment(对应平台的 deployments API,可服务端调度);百炼、火山方舟为**模拟**实现——`apply` 只写本地状态(`remote_id` 为 `null`),`agents deployment run` 时展开为一个 Session。详见 [Provider 参考](../reference/providers.zh-CN.md#模拟emulated资源的能力降级)。
464464

465465
### 定义 Deployment
466466

@@ -498,7 +498,7 @@ deployments:
498498

499499
- `agent` 必填,引用顶层 `agents` 中定义的 Agent。
500500
- 未声明 `environment` / `vaults` / `memory_stores` 时,**继承所引用 Agent 的声明**;显式声明则覆盖。
501-
- `schedule.expression` 为 cron 表达式;`timezone` 为必填的 IANA 时区标识。Claude 在服务端执行调度,百炼、Qoder、火山方舟需用外部 cron/CI 触发。
501+
- `schedule.expression` 为 cron 表达式;`timezone` 为必填的 IANA 时区标识。Qoder 和 Claude 在服务端执行调度,百炼、火山方舟需用外部 cron/CI 触发。
502502
- `initial_events` **必填**(1–50 条),在 Deployment 运行时按顺序投递给 Agent。
503503

504504
### 初始事件(initial_events)
@@ -507,17 +507,17 @@ deployments:
507507
|---------|------|------|
508508
| `user.message` | `content` | 以用户身份发送的消息 |
509509
| `system.message` | `content` | 系统提示(Qoder 上展平为 `user.message`) |
510-
| `user.define_outcome` | `description` / `rubric` / `rubric_file` / `max_iterations` | 定义结果评分目标( Claude 服务端执行评分) |
510+
| `user.define_outcome` | `description` / `rubric` / `rubric_file` / `max_iterations` | 定义结果评分目标(Qoder 和 Claude 服务端执行评分) |
511511

512512
### 资源(resources)
513513

514514
Deployment 运行时可挂载的资源:
515515

516516
| 资源类型 | 字段 | 说明 |
517517
|---------|------|------|
518-
| `file` | `file_id` / `source` / `mount_path` | 文件资源;`file_id` 引用已上传文件;`source` 为本地路径,Claude 在 `apply` 时上传、Qoder 在 `run` 时上传 |
518+
| `file` | `file_id` / `source` / `mount_path` | 文件资源;`file_id` 引用已上传文件;`source` 为本地路径,Qoder 和 Claude 在 `apply` 时上传 |
519519
| `memory_store` | `memory_store` / `access` / `instructions` | 引用 Memory Store;`access` 为 `read_write`(默认)或 `read_only` |
520-
| `github_repository` | `url` / `checkout` / `mount_path` / `authorization_token` | 检出 Git 仓库( Claude) |
520+
| `github_repository` | `url` / `checkout` / `mount_path` / `authorization_token` | 检出 Git 仓库(Qoder 和 Claude) |
521521

522522
### 运行与查看
523523

@@ -669,7 +669,7 @@ Session 的架构遵循 Serverless Framework 模式:**定义管理**(`plan/a
669669
| `memory_stores` | string[] | 否 | 覆盖 Agent 的 Memory Store |
670670
| `resources` | array | 否 | 运行时挂载的资源(file / memory_store / github_repository) |
671671
| `initial_events` | array | 是 | 运行时投递的初始事件(user.message / system.message / user.define_outcome),1–50 条 |
672-
| `schedule` | object | 否 | cron 调度(`expression` + 必填 `timezone`), Claude 服务端执行 |
672+
| `schedule` | object | 否 | cron 调度(`expression` + 必填 `timezone`),Qoder 和 Claude 服务端执行 |
673673
| `description` | string | 否 | 描述 |
674674
| `provider` | string | 否 | 指定 Provider,覆盖 defaults |
675675
| `metadata` | Record | 否 | 自定义元数据 |

docs/guides/deploy-to-qoder.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Deploy to Qoder
22

3-
Qoder is a managed-agent platform with native **memory stores** but no multi-agent or server-side deployment primitive.
3+
Qoder is a managed-agent platform with native **memory stores** and **deployments**, but no multi-agent primitive.
44

55
## Provider configuration
66

@@ -20,11 +20,10 @@ providers:
2020

2121
| Feature | Tier |
2222
|---------|:----:|
23-
| Environment, Vault, Skill, Agent, MCP Server, Memory Store, Session | native |
23+
| Environment, Vault, Skill, Agent, MCP Server, Memory Store, Deployment, Session | native |
2424
| Multi-Agent | unsupported |
25-
| Deployment | emulated |
2625

27-
A `deployment run` on Qoder expands into a one-shot session at run time; scheduling and outcome rubrics are not enforced server-side — use external cron/CI for scheduled runs.
26+
A `deployment run` on Qoder creates a native Deployment Run and associated Session. Cron schedules run server-side.
2827

2928
## Tool naming
3029

docs/guides/manage-deployments.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,12 +67,13 @@ agents deployment run <name> # trigger a run
6767
| Provider | Deployment tier | What `deployment run` does |
6868
|----------|:--------------:|----------------------------|
6969
| Claude | native | schedules server-side through the deployments API |
70-
| Qoder, Bailian, Ark | emulated | expands into a one-shot session at run time |
70+
| Qoder | native | creates a deployment run and associated session |
71+
| Bailian, Ark | emulated | expands into a one-shot session at run time |
7172

7273
On the emulated providers, scheduling and outcome rubrics are **not** enforced server-side — use external cron/CI for always-on or scheduled runs.
7374

7475
## Examples
7576

7677
- Native deployment + outcome rubric: [`examples/claude/deployment/`](../../examples/claude/deployment/)
77-
- Emulated deployment + memory store: [`examples/qoder/deployment/`](../../examples/qoder/deployment/)
78+
- Native deployment + memory store: [`examples/qoder/deployment/`](../../examples/qoder/deployment/)
7879
- Emulated deployment + file resources: [`examples/bailian/deployment/`](../../examples/bailian/deployment/) and [`examples/ark/deployment/`](../../examples/ark/deployment/)

docs/reference/cli.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ Manage scheduled / triggered deployments.
120120
|------------|-------------|
121121
| `deployment list` | List deployments tracked in state. |
122122
| `deployment get <name>` | Show a deployment's status and resolved bindings. |
123-
| `deployment run <name>` | Trigger a deployment run (native on Claude, emulated as a session on Bailian/Qoder/Volcengine Ark). |
123+
| `deployment run <name>` | Trigger a deployment run (native on Qoder/Claude, emulated as a session on Bailian/Volcengine Ark). |
124124

125125
## `agents models`
126126

0 commit comments

Comments
 (0)