GeezerVison is showing github.com — feat(qoder): support native deployments (#26) · modelstudioai/OpenAgentPack@f00cad2
File treeExpand file treeCollapse file tree Open diff view settings src/internal/providers/qoder
Expand file treeCollapse file tree Open diff view settings Collapse file Copy file name to clipboardExpand all lines: README.md +1-1Lines changed: 1 addition & 1 deletion - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
@@ -149,7 +149,7 @@ Beta testers can install `@openagentpack/cli@beta`; see the [release guide](./do | 149 | 149 | | MCP Server | native | native | native | native | | 150 | 150 | | Memory Store | unsupported | native | unsupported | native | | 151 | 151 | | Multi-Agent | unsupported | unsupported | native | native | | 152 | | -| Deployment | emulated | emulated | native | emulated | | | 152 | +| Deployment | emulated | native | native | emulated | | 153 | 153 | | Session | native | native | native | native | | 154 | 154 |
| 155 | 155 | The full capability matrix and per-provider differences live in the [Provider reference](./docs/reference/providers.md). | |
Collapse file Copy file name to clipboardExpand all lines: README.zh-CN.md +1-1Lines changed: 1 addition & 1 deletion - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
@@ -149,7 +149,7 @@ Beta 用户可以安装 `@openagentpack/cli@beta`;固定版本及切回稳定 | 149 | 149 | | MCP Server | native | native | native | native | | 150 | 150 | | Memory Store | unsupported | native | unsupported | native | | 151 | 151 | | Multi-Agent | unsupported | unsupported | native | native | | 152 | | -| Deployment | emulated | emulated | native | emulated | | | 152 | +| Deployment | emulated | native | native | emulated | | 153 | 153 | | Session | native | native | native | native | | 154 | 154 |
| 155 | 155 | 完整能力矩阵与各 Provider 差异见 [Provider 参考](./docs/reference/providers.zh-CN.md)。 | |
Collapse file Copy file name to clipboardExpand all lines: docs/architecture/how-it-works.md +1-1Lines changed: 1 addition & 1 deletion - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
@@ -63,4 +63,4 @@ agents state import <address> <remote-id> | 63 | 63 |
| 64 | 64 | 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. | 65 | 65 |
| 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. |
Collapse file Copy file name to clipboardExpand all lines: docs/concepts/agents-as-code.md +1-1Lines changed: 1 addition & 1 deletion - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
@@ -19,7 +19,7 @@ Because the declaration is a file, it gets everything a file gets: code review, | 19 | 19 | - 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. | 20 | 20 | - The **agent infra** is the interchangeable execution substrate beneath the harness — the specific provider (Bailian, Qoder, Claude, Volcengine Ark) that runs the agent. | 21 | 21 |
| 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. | 23 | 23 |
| 24 | 24 | ## What this enables | 25 | 25 |
| |
Collapse file Copy file name to clipboardExpand all lines: docs/concepts/sessions-and-deployments.md +2-1Lines changed: 2 additions & 1 deletion - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
@@ -23,7 +23,8 @@ How a deployment *runs* depends on the provider's capability tier: | 23 | 23 | | Provider | Deployment tier | What `agents deployment run` does | | 24 | 24 | |----------|:--------------:|------------------------------------| | 25 | 25 | | 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 | | 27 | 28 |
| 28 | 29 | On the emulated providers, scheduling and outcome rubrics are **not** enforced server-side — use external cron/CI for always-on or scheduled runs. | 29 | 30 |
| |
Collapse file Copy file name to clipboardExpand all lines: docs/examples.md +1-1Lines changed: 1 addition & 1 deletion - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
@@ -52,7 +52,7 @@ agents destroy | 52 | 52 | | MCP Server | native | native | native | native | | 53 | 53 | | Memory Store | unsupported | native | unsupported | native | | 54 | 54 | | Multi-Agent | unsupported | unsupported | native | native | | 55 | | -| Deployment | emulated | emulated | native | emulated | | | 55 | +| Deployment | emulated | native | native | emulated | | 56 | 56 | | Session | native | native | native | native | | 57 | 57 |
| 58 | 58 | See [Provider reference](./reference/providers.md) for per-provider configuration and notes. |
Collapse file Copy file name to clipboardExpand all lines: docs/guides/configure-an-agent.zh-CN.md +6-6Lines changed: 6 additions & 6 deletions - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
@@ -460,7 +460,7 @@ Deployment 是介于「定义」与「运行」之间的声明式中间层。它 | 460 | 460 | - **部署层**(Deployment):声明「用哪个 Agent、带哪些绑定、以什么初始事件和调度运行」。 | 461 | 461 | - **运行层**(Session):一次具体的执行实例。 | 462 | 462 |
| 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资源的能力降级)。 | 464 | 464 |
| 465 | 465 | ### 定义 Deployment | 466 | 466 |
| @@ -498,7 +498,7 @@ deployments: | 498 | 498 |
| 499 | 499 | - `agent` 必填,引用顶层 `agents` 中定义的 Agent。 | 500 | 500 | - 未声明 `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 触发。 | 502 | 502 | - `initial_events` **必填**(1–50 条),在 Deployment 运行时按顺序投递给 Agent。 | 503 | 503 |
| 504 | 504 | ### 初始事件(initial_events) | @@ -507,17 +507,17 @@ deployments: | 507 | 507 | |---------|------|------| | 508 | 508 | | `user.message` | `content` | 以用户身份发送的消息 | | 509 | 509 | | `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 服务端执行评分) | | 511 | 511 |
| 512 | 512 | ### 资源(resources) | 513 | 513 |
| 514 | 514 | Deployment 运行时可挂载的资源: | 515 | 515 |
| 516 | 516 | | 资源类型 | 字段 | 说明 | | 517 | 517 | |---------|------|------| | 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` 时上传 | | 519 | 519 | | `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) | | 521 | 521 |
| 522 | 522 | ### 运行与查看 | 523 | 523 |
| @@ -669,7 +669,7 @@ Session 的架构遵循 Serverless Framework 模式:**定义管理**(`plan/a | 669 | 669 | | `memory_stores` | string[] | 否 | 覆盖 Agent 的 Memory Store | | 670 | 670 | | `resources` | array | 否 | 运行时挂载的资源(file / memory_store / github_repository) | | 671 | 671 | | `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 服务端执行 | | 673 | 673 | | `description` | string | 否 | 描述 | | 674 | 674 | | `provider` | string | 否 | 指定 Provider,覆盖 defaults | | 675 | 675 | | `metadata` | Record | 否 | 自定义元数据 | |
Collapse file Copy file name to clipboardExpand all lines: docs/guides/deploy-to-qoder.md +3-4Lines changed: 3 additions & 4 deletions - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
| 1 | 1 | # Deploy to Qoder | 2 | 2 |
| 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. | 4 | 4 |
| 5 | 5 | ## Provider configuration | 6 | 6 |
| @@ -20,11 +20,10 @@ providers: | 20 | 20 |
| 21 | 21 | | Feature | Tier | | 22 | 22 | |---------|:----:| | 23 | | -| Environment, Vault, Skill, Agent, MCP Server, Memory Store, Session | native | | | 23 | +| Environment, Vault, Skill, Agent, MCP Server, Memory Store, Deployment, Session | native | | 24 | 24 | | Multi-Agent | unsupported | | 25 | | -| Deployment | emulated | | 26 | 25 |
| 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. | 28 | 27 |
| 29 | 28 | ## Tool naming | 30 | 29 |
| |
Collapse file Copy file name to clipboardExpand all lines: docs/guides/manage-deployments.md +3-2Lines changed: 3 additions & 2 deletions - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
@@ -67,12 +67,13 @@ agents deployment run <name> # trigger a run | 67 | 67 | | Provider | Deployment tier | What `deployment run` does | | 68 | 68 | |----------|:--------------:|----------------------------| | 69 | 69 | | 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 | | 71 | 72 |
| 72 | 73 | On the emulated providers, scheduling and outcome rubrics are **not** enforced server-side — use external cron/CI for always-on or scheduled runs. | 73 | 74 |
| 74 | 75 | ## Examples | 75 | 76 |
| 76 | 77 | - 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/) | 78 | 79 | - Emulated deployment + file resources: [`examples/bailian/deployment/`](../../examples/bailian/deployment/) and [`examples/ark/deployment/`](../../examples/ark/deployment/) |
Collapse file Copy file name to clipboardExpand all lines: docs/reference/cli.md +1-1Lines changed: 1 addition & 1 deletion - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
@@ -120,7 +120,7 @@ Manage scheduled / triggered deployments. | 120 | 120 | |------------|-------------| | 121 | 121 | | `deployment list` | List deployments tracked in state. | | 122 | 122 | | `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). | | 124 | 124 |
| 125 | 125 | ## `agents models` | 126 | 126 |
| |
|