GeezerVison is showing github.com — 同步bailian deployment能力 (#86) · modelstudioai/OpenAgentPack@9ccef75
File treeExpand file treeCollapse file tree Open diff view settings Expand file treeCollapse file tree Open diff view settings Collapse file Copy file name to clipboard +5Lines changed: 5 additions & 0 deletions - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
| | 1 | +--- | | 2 | +"@openagentpack/sdk": minor | | 3 | +--- | | 4 | + | | 5 | +Bailian: implement native Deployment support against the Agent Studio `/deployments` API (create, get, list, update, archive, run, pause/unpause), replacing the previous emulated session expansion. Deployment schedules now run server-side; `user.define_outcome` events and `github_repository` resources are dropped from the deployment payload and surface a warning on plan. |
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 |
|---|
@@ -147,7 +147,7 @@ Beta testers can install `@openagentpack/cli@beta`; see the [release guide](./do | 147 | 147 | | MCP Server | native | native | native | native | | 148 | 148 | | Memory Store | unsupported | native | native | native | | 149 | 149 | | Multi-Agent | unsupported | unsupported | native | native | | 150 | | -| Deployment | emulated | native | native | emulated | | | 150 | +| Deployment | native | native | native | emulated | | 151 | 151 | | Session | native | native | native | native | | 152 | 152 |
| 153 | 153 | 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 |
|---|
@@ -147,7 +147,7 @@ Beta 用户可以安装 `@openagentpack/cli@beta`;固定版本及切回稳定 | 147 | 147 | | MCP Server | native | native | native | native | | 148 | 148 | | Memory Store | unsupported | native | native | native | | 149 | 149 | | Multi-Agent | unsupported | unsupported | native | native | | 150 | | -| Deployment | emulated | native | native | emulated | | | 150 | +| Deployment | native | native | native | emulated | | 151 | 151 | | Session | native | native | native | native | | 152 | 152 |
| 153 | 153 | 完整能力矩阵与各 Provider 差异见 [Provider 参考](./docs/reference/providers.zh-CN.md)。 | |
Collapse file Copy file name to clipboardExpand all lines: bun.lock +2-2Lines changed: 2 additions & 2 deletions 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 Qoder and Claude they schedule server-side; on Bailian 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 Bailian, Qoder, and Claude they schedule server-side; on 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/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 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 +4-3Lines changed: 4 additions & 3 deletions - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
@@ -24,17 +24,18 @@ How a deployment *runs* depends on the provider's capability tier: | 24 | 24 | |----------|:--------------:|------------------------------------| | 25 | 25 | | Claude | native | schedules server-side through the deployments API | | 26 | 26 | | Qoder | native | creates a deployment run and associated session | | 27 | | -| Bailian, Ark | emulated | expands into a one-shot session at run time | | | 27 | +| Bailian | native | triggers a server-side run through the deployments API | | | 28 | +| Ark | emulated | expands into a one-shot session at run time | | 28 | 29 |
| 29 | | -On the emulated providers, scheduling and outcome rubrics are **not** enforced server-side — use external cron/CI for always-on or scheduled runs. | | 30 | +On Ark (the emulated provider), scheduling and outcome rubrics are **not** enforced server-side — use external cron/CI for always-on or scheduled runs. | 30 | 31 |
| 31 | 32 | ## The lifecycle in one picture | 32 | 33 |
| 33 | 34 | ```text | 34 | 35 | agents.yaml ──plan/apply──▶ managed resources (agent, environment, …) | 35 | 36 | │ | 36 | 37 | └─session create/run──▶ runtime session | 37 | | - └─deployment run──────▶ runtime session (emulated) or scheduled run (native) | | 38 | + └─deployment run──────▶ scheduled run (native) or runtime session (emulated on Ark) | 38 | 39 | ``` | 39 | 40 |
| 40 | 41 | Next: [Run sessions](../guides/run-sessions.md) and [Manage deployments](../guides/manage-deployments.md). |
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 |
|---|
@@ -53,7 +53,7 @@ agents destroy | 53 | 53 | | MCP Server | native | native | native | native | | 54 | 54 | | Memory Store | unsupported | native | native | native | | 55 | 55 | | Multi-Agent | unsupported | unsupported | native | native | | 56 | | -| Deployment | emulated | native | native | emulated | | | 56 | +| Deployment | native | native | native | emulated | | 57 | 57 | | Session | native | native | native | native | | 58 | 58 |
| 59 | 59 | 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 +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 |
|---|
@@ -484,7 +484,7 @@ Deployment 是介于「定义」与「运行」之间的声明式中间层。它 | 484 | 484 | - **部署层**(Deployment):声明「用哪个 Agent、带哪些绑定、以什么初始事件和调度运行」。 | 485 | 485 | - **运行层**(Session):一次具体的执行实例。 | 486 | 486 |
| 487 | | -> Provider 差异:Qoder 和 Claude 原生支持 Deployment(对应平台的 deployments API,可服务端调度);百炼、火山方舟为**模拟**实现——`apply` 只写本地状态(`remote_id` 为 `null`),`agents deployment run` 时展开为一个 Session。详见 [Provider 参考](../reference/providers.zh-CN.md#模拟emulated资源的能力降级)。 | | 487 | +> Provider 差异:百炼、Qoder 和 Claude 原生支持 Deployment(对应平台的 deployments API,可服务端调度);火山方舟为**模拟**实现——`apply` 只写本地状态(`remote_id` 为 `null`),`agents deployment run` 时展开为一个 Session。百炼上 `user.define_outcome` 事件和 `github_repository` 资源不在部署 payload 内,plan 时会输出警告。详见 [Provider 参考](../reference/providers.zh-CN.md#原生-deployment-的-payload-裁剪)。 | 488 | 488 |
| 489 | 489 | ### 定义 Deployment | 490 | 490 |
| |
Collapse file Copy file name to clipboardExpand all lines: docs/guides/deploy-to-bailian.md +2-2Lines changed: 2 additions & 2 deletions - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
@@ -26,11 +26,11 @@ providers: | 26 | 26 | | Environment, Vault, Skill, Agent, MCP Server, Session | native | | 27 | 27 | | Memory Store | unsupported | | 28 | 28 | | Multi-Agent | unsupported | | 29 | | -| Deployment | emulated | | | 29 | +| Deployment | native | | 30 | 30 |
| 31 | 31 | - Skills upload as a zip via the Files API (two-step). | 32 | 32 | - MCP servers are **official managed servers** referenced by `name` (no vault needed for them). | 33 | | -- `deployment run` expands into a one-shot session; scheduling/outcome rubrics are not enforced server-side. | | 33 | +- Deployments are native: `apply` creates the remote deployment, `schedule` runs server-side (cron + timezone), and `deployment run` triggers a server-side run. `user.define_outcome` events and `github_repository` resources are not part of the deployment payload and surface a warning on plan. | 34 | 34 |
| 35 | 35 | ## Minimal agent | 36 | 36 |
| |
|