From 78a5474314b2046f3e89f59d6bd854e90a0bbd60 Mon Sep 17 00:00:00 2001 From: tianxiaochannel-oss88 Date: Sun, 22 Nov 2026 12:10:25 +0800 Subject: [PATCH 001/147] feat(dev-workflow): verify current candidates with host-owned evidence --- .../design/ling-app-server-detailed-design.md | 4 + .../ling-app-server-implementation-plan.md | 15 +- packages/api-client/src/app-server.ts | 6 + packages/cli/src/main.ts | 69 +++++++- packages/contracts/src/app-server.ts | 19 +++ packages/contracts/src/threads.ts | 27 +++- packages/core/src/builtin-skill-packs.ts | 34 +++- packages/core/src/goal-supervision.ts | 36 +++-- packages/core/src/run-types.ts | 10 +- packages/core/src/skill-source-definition.ts | 2 +- .../src/storage/sqlite/goal-acceptance.ts | 51 +++++- .../src/storage/sqlite/ling-thread-store.ts | 6 + packages/core/test/skill-packs.test.mjs | 4 +- packages/daemon/src/config.ts | 4 + .../daemon/src/features/runs/thread-routes.ts | 22 ++- .../src/server/app-server-development.ts | 58 ++++--- .../server/app-server-verification-config.ts | 70 +++++++++ .../server/app-server-verification-recipes.ts | 148 +++++++++++++++--- packages/daemon/src/server/rpc.ts | 7 +- .../app-server-release-acceptance.test.ts | 141 ++++++++++++++++- 20 files changed, 641 insertions(+), 92 deletions(-) create mode 100644 packages/daemon/src/server/app-server-verification-config.ts diff --git a/docs/design/ling-app-server-detailed-design.md b/docs/design/ling-app-server-detailed-design.md index 126befd3d..9ed9b65f1 100644 --- a/docs/design/ling-app-server-detailed-design.md +++ b/docs/design/ling-app-server-detailed-design.md @@ -274,6 +274,10 @@ type CheckEvidence = { - 校验候选、计划、配方、环境和篡改/截断状态后再重用绿色结果。候选变化保留旧结果和旧日志,当前候选需要自己的证据。重跑创建新的检查 Attempt。验证报告尽量链接已有 Terminal Report 与 Run 事件。模型文字可解释结果,可信的运行回执与断言决定状态。 - Bug 修复记录复现或明确的直接行为证据、现象与根因。适用时保留回归用例,并核对修复前失败和修复后通过。已有等价覆盖可直接引用。环境无法复现时显示缺失条件,能完成的代码定位和诊断仍可保存。 +Daemon 启动参数 `appServerVerificationRecipes` 或启动环境中的 `LING_STACK_APP_SERVER_VERIFICATION_RECIPES_FILE` 接收配方数组。每项包括 `id`、`label`、`kind`、`required`、工作区的绝对路径 `workspaceRoot` 和以绝对可执行文件开头的 `argv`。可选的 `paths` 使用 Git 相对路径,由 Host 在捕获候选后匹配文件或目录。未匹配时使用默认检查,显式请求的未知 ID 显示为 `blocked`。 + +要为 Goal 提供独立证据,在配方的 `verifier` 中登记 `coverage` 和 `sources`。每项 source 绑定候选仓库之外的绝对文件路径及 `sha256`。Host 管理员负责这些文件和可执行环境的写入权限,并登记决定实际断言的全部输入。执行前后核对文件摘要和候选摘要,通过的检查才返回 verifier basis。用 `ling app-server verify --plan --thread ` 查看检查名和依据,用 `ling app-server verify --thread ` 启动,随后以 `ling app-server verify-status ` 读取有界输出和结果。Goal 的 `verification_passed` 条件绑定 `checkId`、`verifierBasisRef` 和 `coverageDigest`,完成时提交同一会话的 verification operation ID。 + ### 3.3 Review、交付和 CI 验收依据独立性规则如下。Goal/Plan 接受时冻结必需断言、覆盖要求、检查选择依据和可信验证器来源。验证器依据包含脚本入口、选择器、测试发现配置、固定 fixture、关键断言或受信 CI workflow 的引用。候选可以修改测试和配方,但这些修改只形成待审查的替代依据,不能凭同一命令名和零退出码自动替换已接受依据。 diff --git a/docs/design/ling-app-server-implementation-plan.md b/docs/design/ling-app-server-implementation-plan.md index 29b30a64d..0f0ea1d04 100644 --- a/docs/design/ling-app-server-implementation-plan.md +++ b/docs/design/ling-app-server-implementation-plan.md @@ -9,11 +9,18 @@ ## 当前实现证据 -当前支持回环 WebSocket、stdio JSONL、私有 Unix socket 和 TypeScript 客户端。CLI 的 `app-server probe|stdio|listen|mcp` 复用同一连接,使用 `server/capabilities` 确认当前连接的方法,支持范围随 Daemon 认证和已有能力变化。上一版的 HTTP/SSE 与 `/rpc/stream` 沿用原入口。只有持 Daemon bearer 的客户端可提交 Run 审批和提问答案、启动 Verify 或 Review,以及触发满足 conformance 的只读外部 Runner 派发。连接按工作区绑定。未登记的检查显示 `blocked`。`thread/snapshot` 返回当前 Turn、Run、Goal、待决审批/提问和持久游标,`context/inspect` 返回已封存的上下文与项目规则清单。 +当前支持回环 WebSocket、stdio JSONL、私有 Unix socket 和 TypeScript 客户端。CLI 的 `app-server probe|stdio|listen|mcp` 复用同一连接,使用 `server/capabilities` 确认当前连接的方法,支持范围随 Daemon 认证和已有能力变化。CLI 还提供 `app-server instructions-init`、`app-server verify` 和 `app-server verify-status`,用于预览项目约定、按当前候选创建验证计划和读取持久验证结果。上一版的 HTTP/SSE 与 `/rpc/stream` 沿用原入口。只有持 Daemon bearer 的客户端可提交 Run 审批和提问答案、启动 Verify 或 Review,以及触发满足 conformance 的只读外部 Runner 派发。连接按工作区绑定。未登记的检查显示 `blocked`。`thread/snapshot` 返回当前 Turn、Run、Goal、待决审批/提问和持久游标,`context/inspect` 返回已封存的上下文与项目规则清单。 实现分支已经把协议合同、WebSocket 协商、Thread/Turn 生命周期、Work Item 控制与证据、开发工作流入口、协作记录、审议触发策略、外部 Agent 注册与任务受理接入同一个 App Server RPC。协作记录复用 Work Item 证据板的持久 CAS 与幂等边界,外部 Agent 任务在派发前核对 Work Item 当前 revision 和 control state。 -已验证的关键回归包括 App Server WebSocket、stdio/Unix socket、MCP bridge、Work Item 控制与证据、协作记录回放、开发工作流服务、外部 Agent federation、配置的 Pi Runner 和 API Client。Verify plan/operation 和 Federation ledger 已接入工作区 SQLite 的 app_server_state,按来源工作区恢复,Daemon 重启后会把无法确认的 queued/running Verify 和外部 running task 标记为 unknown,要求原所有者重新核对。Verify 只接受主机登记的配方,执行前后核对候选 digest,重复 start/cancel 使用同一收据,取消会传递给实际检查进程。Work Item acceptance 通过同一 SQLite 事务写入 receipt、状态和 revision。外部任务在 Work Item revision/control、Runner external boundary、工具 conformance、只读工具范围和 admission fence 通过后调用已配置的真实 Adapter。注册、能力读取、任务接入、重连和取消均以请求工作区选择 federation ledger,重复提交不重复派发,Adapter 失败、取消未确认和断线重启均保留 unknown。普通 `turn/start` 通过同一会话受理、准备快照和 Run 入口,`submission/read` 与 `turn/resume` 可在重连后读取原收据,已准备但尚未派发的 Turn 通过原请求恢复同一 Turn。停止的 Turn 在实际执行和效果收敛后,可用明确的恢复键受理后继 Turn。用户提问由 Host 事务产生 `pending` 事件,认证客户端从线程快照取得短期 authority,通过 `input/respond` 复用公共解析、权限和版本 CAS,答复事件在重启后按原身份回放,已结束的问题不会再次要求应答。项目规则在准备快照时按路径读取并封存 digest,`instructions/init` 只在预览版本仍匹配且目标未被占用时原子写入。Review 先捕获候选两次,再读取基线的 `Code Review Rules` 和显式 `REVIEW.md`,规则与发现项处置由同一候选和幂等收据约束。App Server 的 operator 写操作要求认证凭据,能力与方法表只公布当前连接可用的实现。已用本机安装的 Codex App Server 通过 MCP bridge 创建 Ling Thread、提交配置 Pi Runner Turn,并从 Ling 游标恢复 Turn 事件。平台和兼容证据随 PR 检查及发行矩阵记录。 +已验证的关键回归包括 App Server WebSocket、stdio/Unix socket、MCP bridge、Work Item 控制与证据、协作记录回放、开发工作流服务、外部 Agent federation、配置的 Pi Runner 和 API Client。Verify plan/operation 和 Federation ledger 已接入工作区 SQLite 的 app_server_state,按来源工作区恢复,Daemon 重启后会把无法确认的 queued/running Verify 和外部 running task 标记为 unknown,要求原所有者重新核对。Verify 只接受默认或 Host 登记的配方,执行前后核对候选 digest。Host 登记的配方还绑定路径选择、独立 verifier source、coverage digest 和 producer refs,命令输出以有限大小保存并脱敏。重复 start/cancel 使用同一收据,取消会传递给实际检查进程。Work Item acceptance 通过同一 SQLite 事务写入 receipt、状态和 revision。外部任务在 Work Item revision/control、Runner external boundary、工具 conformance、只读工具范围和 admission fence 通过后调用已配置的真实 Adapter。注册、能力读取、任务接入、重连和取消均以请求工作区选择 federation ledger,重复提交不重复派发,Adapter 失败、取消未确认和断线重启均保留 unknown。普通 `turn/start` 通过同一会话受理、准备快照和 Run 入口,`submission/read` 与 `turn/resume` 可在重连后读取原收据,已准备但尚未派发的 Turn 通过原请求恢复同一 Turn。停止的 Turn 在实际执行和效果收敛后,可用明确的恢复键受理后继 Turn。用户提问由 Host 事务产生 `pending` 事件,认证客户端从线程快照取得短期 authority,通过 `input/respond` 复用公共解析、权限和版本 CAS,答复事件在重启后按原身份回放,已结束的问题不会再次要求应答。项目规则在准备快照时按路径读取并封存 digest,`instructions/init` 只在预览版本仍匹配且目标未被占用时原子写入。Review 先捕获候选两次,再读取基线的 `Code Review Rules` 和显式 `REVIEW.md`,规则与发现项处置由同一候选和幂等收据约束。App Server 的 operator 写操作要求认证凭据,能力与方法表只公布当前连接可用的实现。已用本机安装的 Codex App Server 通过 MCP bridge 创建 Ling Thread、提交配置 Pi Runner Turn,并从 Ling 游标恢复 Turn 事件。平台和兼容证据随 PR 检查及发行矩阵记录。 + +### 项目约定与验证 + +- 内置 `init-project-instructions` 和 `verify-current-changes` 技能通过 CLI 预览项目约定、捕获候选、生成计划、启动检查并读取状态。应用初始化草稿需要当前预览 revision 和 operator 授权。 +- Host 登记的 Verify 配方可以选择受影响路径,并把独立 verifier source 的摘要、coverage 和 producer refs 封存到每个检查结果。 +- Goal 的 `verification_passed` 条件要求同一 Thread 的已完成 Verify operation、当前候选摘要、匹配的 verifier basis、coverage 和 producer refs。候选漂移、检查来源漂移、缺少独立证据和过期的接受版本都会阻止完成。 +- CLI 和 TypeScript client 可以直接进入上述流程。Daemon 重启、重复请求、取消未确认和未知配方仍保持已有的持久回执语义。 | 工作包 | 已验证场景与证据边界 | | --- | --- | @@ -23,7 +30,7 @@ | B2 在途输入 | `turn/queue` 将输入交给持久 Run intervention。前驱已记录执行结束及副作用收敛时,Daemon 可在重启后用同一收据启动后继 Turn。用配置 Pi Runner 核对实际投递一次、重连事件及新旧 Turn 的关联。`turn/interrupt` 可携带明确的重定向输入。`turn/steer` 在当前 Runner 无同 Turn 安全注入能力时返回 `steer_unsupported`。已安装的 Codex 通过 MCP 验证了快照、追加消息、Turn 恢复入口和事件读取。 | | C2/F2 版本兼容 | 用 `v0.6.1@3fe77440e` 源码构建在 macOS 上创建 Thread、Turn、待决审批和游标,候选 Daemon 接手原 SQLite,旧 SDK 可读取 Thread 和处置后的审批。候选 SDK 向旧 `/rpc/stream` 尝试提交时,在协商阶段返回 `protocol_version_unsupported`。候选 Daemon 的 `/rpc/stream` 仅提供原有方法。测试覆盖 App Server 专属方法拒绝、旧客户端的 Run 启动和取消。候选 CLI probe 和本机 Codex MCP 已通过。v0.6.1 未提供 App Server 协议。发布安装包、远程连接及回退对账另行验收。 | | E1 Verify 与用户输入恢复 | Verify 按幂等键在 SQLite 写事务内受理。两个连接同时提交复用原操作及其事件。取消受理与停止意图一起写入,重启后可按原键读取回执。`verify/status` 记录确认退出后的 `cancelled`。执行器无法确认停止时,返回 `unknown` 并附 `verification_cancellation_unconfirmed`。已绑定工作项的 Verify 状态和 Control Plane 事件同事务提交。用户提问的 authority、答案 CAS、投递收据和 `pending/answered/cancelled` 事件也在重启后保持同一请求身份。 | -| E2 交付前验收 | App Server 与 HTTP 使用同一套 Goal 验收解析和证据检查。实际 Pi Run 通过后,可用同 Thread 证据完成 Goal。缺证据和引用其他 Thread 的 Run 会被拒绝。Review 已验证候选绑定、发现项处置重放及 freshness 持久化。`simplify/start` 对同一候选运行只读简化审查,`simplify/status` 可分页读取建议和报告引用,重启后重试复用原操作。可信验证器来源与 GitHub CI 交付证据仍需接入 Goal。 | +| E2 交付前验收 | App Server 与 HTTP 使用同一套 Goal 验收解析和证据检查。实际 Pi Run 通过后,可用同 Thread 证据完成 Goal。Verify 结果还可以用绑定当前候选的 `verification_passed` 条件完成 Goal,独立 verifier basis、coverage 和 producer refs 不匹配时会被拒绝。缺证据和引用其他 Thread 的 Run 会被拒绝。Review 已验证候选绑定、发现项处置重放及 freshness 持久化。`simplify/start` 对同一候选运行只读简化审查,`simplify/status` 可分页读取建议和报告引用,重启后重试复用原操作。GitHub CI 交付证据仍需接入 Goal。 | | O1/O8/O9 接单、控制和协作 | App Server 按来源标识创建或取得现有工作项。工作项创建、控制、接单、证据和协作写入各自与对应的事件同事务提交。控制回执在后继操作和 Daemon 重启后可按原请求找回。两个客户端验证了幂等、冲突错误、事件写入失败回滚和游标回放。阶段运行、定时轮次、交接、裁决与恢复的联合验收仍待下方矩阵。 | 源码兼容用例由 `LING_APP_SERVER_PREVIOUS_BUILD` 指向已构建的上一版源码目录。`LING_APP_SERVER_CODEX_EXECUTABLE` 指向已安装的 Codex。两项均使用隔离状态和回环服务,配置 Pi Runner 使用脚本化 Provider。 [发行验收测试](../../packages/daemon/test/app-server-release-acceptance.test.ts) @@ -33,7 +40,7 @@ | 工作包 | 代码或验收差距 | | --- | --- | | A1、B1、C1、C2 | 全方法的 Schema 校验、细粒度按身份授予的控制和审批范围、认证 WSS。App Server 目标游标已绑定存储代次、授权代次和目标,现有兼容用例覆盖本机的上一版源码与候选组合。 | -| D1、D2、E1、E2 | 项目规则的内置 Skill 与完整工作树工作流、验证配方覆盖及运行报告,可信验证器和 GitHub CI 结果进入 Goal 验收。当前仓库命令结果绑定候选摘要,可信验证器来源需要独立证明。 | +| D1、D2、E1、E2 | 开工时的项目规则加载、两个开发 Skill、工作区 Verify 和独立 verifier basis 已接入。仍需运行中进入新目录的局部规则、完整工作树 App Server 方法、浏览器/平台配方、可信 GitHub CI 结果进入 Goal 验收,以及 UI 运行报告。 | | F1、F2 | 跨会话 Handoff 的执行归属与接手恢复。已有 Codex MCP 联调,双端宿主界面和授权变更后重订阅需要实测。 | | O1、O3–O9 | 跨入口任务归并和首次派发、自治策略、GitHub 交付、经验与设备反馈、阶段和定时轮次、在途改计划、交接和审议裁决。现有协作记录的持久化、版本冲突和回放已验证,原 Workflow/Automation 执行与联合验收还要接通。 | | G | 自研切换和回退日志对账、签名安装产物、远程 WSS 和三个真实 Provider 自研试点。macOS 打包预检仍缺当前打包输入的 Office 审查、对应 Electron/OS 的受限运行时审查和 gstack 平台资源。T01 离线预检达到评审条件,真实试点仍需按 Framework Assurance 准入。 | diff --git a/packages/api-client/src/app-server.ts b/packages/api-client/src/app-server.ts index d715f6ae1..914d0fd3d 100644 --- a/packages/api-client/src/app-server.ts +++ b/packages/api-client/src/app-server.ts @@ -2,6 +2,7 @@ import type { LingAppServerDoctorRunParams, LingAppServerDoctorRunResult, LingAppServerCapability, + LingAppServerCaptureChangesResult, LingAppServerCapabilitiesResult, LingAppServerContextInspectParams, LingAppServerContextInspectResult, @@ -232,6 +233,11 @@ export class LingAppServerClient { return await this.request("input/respond", params); } + async captureChanges(): Promise { + await this.connect(); + return await this.request("changes/capture", {}); + } + async planVerification(params: LingAppServerVerifyPlanParams): Promise { await this.connect(); return await this.request("verify/plan", params); diff --git a/packages/cli/src/main.ts b/packages/cli/src/main.ts index 2f9378e8a..c731198c3 100644 --- a/packages/cli/src/main.ts +++ b/packages/cli/src/main.ts @@ -258,11 +258,14 @@ export async function main(): Promise { async function handleAppServer(args: readonly string[], options: GlobalOptions): Promise { const [mode = "stdio", socketPath, ...rest] = args; + const transportOptions = { daemonUrl: options.daemonUrl, cwd: options.cwd, authToken: process.env.LING_STACK_AUTH_TOKEN }; + if (mode === "instructions-init" || mode === "verify" || mode === "verify-status") { + return handleAppServerDevelopment(mode, args.slice(1), transportOptions); + } if (!["stdio", "probe", "mcp", "listen"].includes(mode) || rest.length || (mode === "listen" ? !socketPath : socketPath !== undefined)) { - throw new CliError(2, "bad_usage", "Use app-server [stdio|probe|mcp|listen ]."); + throw new CliError(2, "bad_usage", "Use app-server with stdio, probe, mcp, listen, instructions-init, verify, or verify-status."); } - const transportOptions = { daemonUrl: options.daemonUrl, cwd: options.cwd, authToken: process.env.LING_STACK_AUTH_TOKEN }; if (mode === "mcp") { const { runLingAppServerMcp } = await import("@ling-stack/daemon/dist/server/app-server-mcp.js"); await runLingAppServerMcp(transportOptions); @@ -288,6 +291,64 @@ async function handleAppServer(args: readonly string[], options: GlobalOptions): return 0; } +async function handleAppServerDevelopment( + command: "instructions-init" | "verify" | "verify-status", + args: readonly string[], + transport: import("@ling-stack/daemon/dist/server/app-server-local-transport.js").AppServerLocalTransportOptions, +): Promise { + const { connectToAppServer } = await import("@ling-stack/daemon/dist/server/app-server-local-transport.js"); + const client = connectToAppServer(transport, "ling-cli"); + try { + if (command === "instructions-init") { + const parsed = parseCommandArgs(args, { stringFlags: new Set(["path", "apply"]) }); + assertNoPositionals(parsed.positionals, "app-server instructions-init"); + const expectedWorkspaceRevision = getFlag(parsed, "apply"); + printJson(await client.initializeInstructions({ + taskPath: getFlag(parsed, "path"), + mode: expectedWorkspaceRevision === undefined ? "preview" : "apply", + expectedWorkspaceRevision, + idempotencyKey: randomUUID(), + })); + } else if (command === "verify-status") { + const parsed = parseCommandArgs(args); + const operationId = singlePositional(parsed.positionals, "app-server verify-status "); + printJson(await client.getVerificationStatus({ operationId })); + } else { + const parsed = parseCommandArgs(args, { + stringFlags: new Set(["thread", "work-item"]), + repeatableFlags: new Set(["check"]), + booleanFlags: new Set(["plan"]), + }); + assertNoPositionals(parsed.positionals, "app-server verify"); + const capture = await client.captureChanges(); + if (capture.coverage !== "complete") { + throw new CliError(1, "candidate_incomplete", "Verification requires a candidate with complete coverage."); + } + const plan = await client.planVerification({ + candidate: capture.candidate, + requestedChecks: getFlagValues(parsed, "check"), + threadId: getFlag(parsed, "thread"), + workItemId: getFlag(parsed, "work-item"), + idempotencyKey: randomUUID(), + }); + if (parsed.booleans.has("plan")) { + printJson({ plan }); + } else { + const operation = await client.startVerification({ + planId: plan.planId, + planRevision: plan.planRevision, + candidateDigest: plan.candidate.candidateDigest, + idempotencyKey: randomUUID(), + }); + printJson({ plan, operation }); + } + } + return 0; + } finally { + client.close(); + } +} + async function dispatch(parsed: ParsedGlobalArgs): Promise { const [command, ...rest] = parsed.args; @@ -7737,6 +7798,9 @@ function shellQuote(value: string): string { function printCommandHelp(command: string, subcommand?: string): void { if (command === "app-server") { console.log("Usage: ling-stack [global options] app-server [stdio|probe|mcp|listen ]"); + console.log(" ling-stack [global options] app-server instructions-init [--path ] [--apply ]"); + console.log(" ling-stack [global options] app-server verify [--plan] [--check ] [--thread ] [--work-item ]"); + console.log(" ling-stack [global options] app-server verify-status "); return; } if (command === "engine") { @@ -7841,6 +7905,7 @@ Usage: ling-stack [global options] daemon restart ling-stack [global options] daemon logs ling-stack [global options] app-server [stdio|probe|mcp|listen ] + ling-stack [global options] app-server [instructions-init|verify|verify-status] ling-stack [global options] engine authorize --origin ling-stack [global options] browser-host install ling-stack [global options] browser-host status diff --git a/packages/contracts/src/app-server.ts b/packages/contracts/src/app-server.ts index ef5481189..f3ae14e90 100644 --- a/packages/contracts/src/app-server.ts +++ b/packages/contracts/src/app-server.ts @@ -623,6 +623,13 @@ export interface LingAppServerCandidateReference { readonly filePaths?: readonly string[]; } +export interface LingAppServerCaptureChangesResult { + readonly cwd: string; + readonly candidate: LingAppServerCandidateReference; + readonly coverage: "complete" | "partial"; + readonly headCommit: string; +} + export type LingAppServerVerificationCheckKind = "command" | "test" | "typecheck" | "browser" | "platform"; export type LingAppServerVerificationCheckStatus = | "pending" @@ -641,6 +648,8 @@ export interface LingAppServerVerificationCheckPlan { readonly command?: string; readonly recipeDigest: string; readonly verifierBasisRef?: string; + readonly coverageDigest?: string; + readonly producerRefs?: readonly string[]; readonly required: boolean; readonly estimatedDurationMs?: number; } @@ -688,6 +697,16 @@ export interface LingAppServerCheckEvidence { readonly attemptId: string; readonly status: LingAppServerVerificationCheckStatus; readonly evidenceRefs: readonly string[]; + readonly execution?: LingAppServerVerificationExecution; +} + +export interface LingAppServerVerificationExecution { + readonly startedAt: string; + readonly endedAt: string; + readonly exitCode: number | null; + readonly timedOut: boolean; + readonly output: string; + readonly outputTruncated: boolean; } export interface LingAppServerVerifyOperation { diff --git a/packages/contracts/src/threads.ts b/packages/contracts/src/threads.ts index 328c061ed..6b269ba7c 100644 --- a/packages/contracts/src/threads.ts +++ b/packages/contracts/src/threads.ts @@ -75,7 +75,28 @@ export type GoalEvidenceRef = | { readonly kind: "turn"; readonly id: string } | { readonly kind: "artifact"; readonly id: string } | { readonly kind: "approval"; readonly id: string } - | { readonly kind: "workflow"; readonly id: string }; + | { readonly kind: "workflow"; readonly id: string } + | { readonly kind: "verification"; readonly id: string }; + +export interface GoalVerificationRequirement { + readonly checkId: string; + readonly verifierBasisRef: string; + readonly coverageDigest: string; +} + +export interface GoalAcceptanceCriterion { + readonly id: string; + readonly description: string; + readonly kind: "run_succeeded" | "workflow_succeeded" | "artifact" | "verification_passed"; + readonly contentSha256?: string; + readonly evidenceId?: string; + readonly verification?: GoalVerificationRequirement; +} + +export interface GoalAcceptanceEvidence { + readonly criterionId: string; + readonly evidence: GoalEvidenceRef; +} export interface GoalContinuationEvidenceDelta { readonly newEvidenceRefs: number; @@ -118,6 +139,8 @@ export interface LingThreadGoal { readonly lastRunId?: string; readonly blockedReason?: string; readonly completionEvidenceRefs: readonly GoalEvidenceRef[]; + readonly acceptanceCriteria?: readonly GoalAcceptanceCriterion[]; + readonly acceptanceEvidence?: readonly GoalAcceptanceEvidence[]; readonly completedBy?: LingThreadGoalCompletionActor; readonly completedReason?: string; readonly completionVerificationSummary?: string; @@ -136,6 +159,7 @@ export interface LingThreadGoalPutRequest { readonly objective: string; readonly tokenBudget?: number | null; readonly replaceExisting?: boolean; + readonly acceptanceCriteria?: readonly GoalAcceptanceCriterion[]; } export interface LingThreadGoalPatchRequest { @@ -154,6 +178,7 @@ export interface LingThreadGoalCompleteRequest { readonly reason?: string; readonly evidenceRefs?: readonly GoalEvidenceRef[]; readonly completionVerificationSummary?: string; + readonly acceptanceEvidence?: readonly GoalAcceptanceEvidence[]; } export interface ProposedPlanArtifact { diff --git a/packages/core/src/builtin-skill-packs.ts b/packages/core/src/builtin-skill-packs.ts index 6ec506153..8e4fca863 100644 --- a/packages/core/src/builtin-skill-packs.ts +++ b/packages/core/src/builtin-skill-packs.ts @@ -225,6 +225,34 @@ const gstackDefaultSkills: readonly SkillDefinition[] = [ approvalProfile: standardApproval, stateEffects: ["starts_run", "creates_artifact"], }), + skill({ + id: "init-project-instructions", + name: "Initialize Project Instructions", + summary: "Prepare an AGENTS.md draft using the repository's setup and verification rules.", + roleAffinity: ["engineer", "docs"], + promptFragments: [ + "Inspect the README, test scripts, CI workflows, and applicable AGENTS.md files for the target directory.", + "Use ling app-server instructions-init to preview a draft in the bound workspace. Include --path for a scoped draft.", + "Present the proposed changes and cited sources for review. Preserve existing instructions and apply only the reviewed revision with explicit permission.", + ], + requiredTools: testTools, + requiredProviderCapabilities: toolCallingCapabilities, + approvalProfile: standardApproval, + }), + skill({ + id: "verify-current-changes", + name: "Verify Current Changes", + summary: "Run registered workspace checks and report their results against the captured candidate.", + roleAffinity: ["engineer", "qa"], + promptFragments: [ + "Use ling app-server verify --plan to inspect the candidate and the registered checks for the bound workspace.", + "Use ling app-server verify under the existing workspace authorization. Pass the current thread or work item when its ID is available.", + "Read the operation with ling app-server verify-status. Report the candidate digest, operation ID, individual results, and checks that could not run.", + ], + requiredTools: testTools, + requiredProviderCapabilities: toolCallingCapabilities, + approvalProfile: standardApproval, + }), skill({ id: "review", name: "Code Review", @@ -792,6 +820,8 @@ export const LING_AGENT_DEFAULT_SKILL_IDS: readonly string[] = [ "implement", "investigate", "health", + "init-project-instructions", + "verify-current-changes", "review", "design-review", "qa", @@ -844,7 +874,7 @@ const gstackDefaultTeammates: readonly AiTeammateTemplate[] = [ name: "Engineer", roleKey: "engineer", summary: "Implements approved tasks and investigates failures within approval policy.", - defaultSkillIds: ["implement", "investigate", "review", "health", "design-html", "claude", "context-save", "context-restore"], + defaultSkillIds: ["implement", "investigate", "review", "health", "init-project-instructions", "verify-current-changes", "design-html", "claude", "context-save", "context-restore"], allowedTools: codingTools, requiredProviderCapabilities: toolCallingCapabilities, approvalProfile: standardApproval, @@ -866,7 +896,7 @@ const gstackDefaultTeammates: readonly AiTeammateTemplate[] = [ name: "QA", roleKey: "qa", summary: "Verifies behavior, regression scenarios, and user-facing workflows.", - defaultSkillIds: ["qa", "qa-only", "investigate", "design-review", "devex-review", "benchmark", "benchmark-models", "browse", "scrape", "ios-qa", "ios-design-review"], + defaultSkillIds: ["qa", "qa-only", "investigate", "design-review", "devex-review", "verify-current-changes", "benchmark", "benchmark-models", "browse", "scrape", "ios-qa", "ios-design-review"], allowedTools: testTools, requiredProviderCapabilities: toolCallingCapabilities, approvalProfile: standardApproval, diff --git a/packages/core/src/goal-supervision.ts b/packages/core/src/goal-supervision.ts index 9d1cb0e3b..1d647e488 100644 --- a/packages/core/src/goal-supervision.ts +++ b/packages/core/src/goal-supervision.ts @@ -1,16 +1,5 @@ -import type { GoalEvidenceRef } from "./run-types.js"; - -export interface GoalAcceptanceCriterion { - readonly id: string; - readonly description: string; - readonly kind: "run_succeeded" | "workflow_succeeded" | "artifact"; - readonly contentSha256?: string; - readonly evidenceId?: string; -} -export interface GoalAcceptanceEvidence { - readonly criterionId: string; - readonly evidence: GoalEvidenceRef; -} +import type { GoalAcceptanceCriterion, GoalAcceptanceEvidence, GoalEvidenceRef, GoalVerificationRequirement } from "@ling-stack/contracts"; +export type { GoalAcceptanceCriterion, GoalAcceptanceEvidence } from "@ling-stack/contracts"; export interface GoalSupervisionPolicy { readonly maxContinuations: number; readonly maxNoEvidenceContinuations: number; @@ -41,19 +30,32 @@ export function parseGoalAcceptanceCriteria(value: unknown): GoalAcceptanceCrite const ids = new Set(); return value.map(item => { const criterion = record(item); - if (Object.keys(criterion).some(key => !["id", "description", "kind", "contentSha256", "evidenceId"].includes(key)) + if (Object.keys(criterion).some(key => !["id", "description", "kind", "contentSha256", "evidenceId", "verification"].includes(key)) || typeof criterion.id !== "string" || !/^[a-zA-Z0-9_.:-]{1,100}$/.test(criterion.id) || ids.has(criterion.id) || typeof criterion.description !== "string" || !criterion.description.trim() || criterion.description.length > 2000 - || !["run_succeeded", "workflow_succeeded", "artifact"].includes(String(criterion.kind)) + || !["run_succeeded", "workflow_succeeded", "artifact", "verification_passed"].includes(String(criterion.kind)) + || criterion.kind !== "verification_passed" && criterion.verification !== undefined || criterion.evidenceId !== undefined && (typeof criterion.evidenceId !== "string" || !criterion.evidenceId.trim() || criterion.evidenceId.length > 200) || criterion.contentSha256 !== undefined && (criterion.kind !== "artifact" || typeof criterion.contentSha256 !== "string" || !/^[a-f0-9]{64}$/.test(criterion.contentSha256))) throw new Error("goal_acceptance_criteria_invalid"); ids.add(criterion.id); return { id: criterion.id, description: criterion.description.trim(), kind: criterion.kind as GoalAcceptanceCriterion["kind"], ...(criterion.evidenceId === undefined ? {} : { evidenceId: criterion.evidenceId as string }), - ...(criterion.contentSha256 === undefined ? {} : { contentSha256: criterion.contentSha256 as string }) }; + ...(criterion.contentSha256 === undefined ? {} : { contentSha256: criterion.contentSha256 as string }), + ...(criterion.kind === "verification_passed" ? { verification: parseVerificationRequirement(criterion.verification) } : {}) }; }); } + +function parseVerificationRequirement(value: unknown): GoalVerificationRequirement { + const requirement = record(value); + const { checkId, verifierBasisRef, coverageDigest } = requirement; + if (Object.keys(requirement).some(key => !["checkId", "verifierBasisRef", "coverageDigest"].includes(key)) + || typeof checkId !== "string" || !/^[A-Za-z0-9_.:-]{1,128}$/u.test(checkId) + || typeof verifierBasisRef !== "string" || !/^verify_basis_[a-f0-9]{64}$/u.test(verifierBasisRef) + || typeof coverageDigest !== "string" || !/^[a-f0-9]{64}$/u.test(coverageDigest)) throw new Error("goal_acceptance_criteria_invalid"); + return { checkId, verifierBasisRef, coverageDigest }; +} + export function parseGoalAcceptanceEvidence(value: unknown): GoalAcceptanceEvidence[] { if (!Array.isArray(value) || value.length > 32) throw new Error("goal_acceptance_evidence_invalid"); const ids = new Set(); @@ -62,7 +64,7 @@ export function parseGoalAcceptanceEvidence(value: unknown): GoalAcceptanceEvide if (Object.keys(entry).some(key => !["criterionId", "evidence"].includes(key)) || Object.keys(evidence).some(key => !["kind", "id"].includes(key)) || typeof entry.criterionId !== "string" || !/^[a-zA-Z0-9_.:-]{1,100}$/.test(entry.criterionId) || ids.has(entry.criterionId) - || !["run", "artifact", "workflow"].includes(String(evidence.kind)) || typeof evidence.id !== "string" || !evidence.id || evidence.id.length > 200) throw new Error("goal_acceptance_evidence_invalid"); + || !["run", "artifact", "workflow", "verification"].includes(String(evidence.kind)) || typeof evidence.id !== "string" || !evidence.id || evidence.id.length > 200) throw new Error("goal_acceptance_evidence_invalid"); ids.add(entry.criterionId); return { criterionId: entry.criterionId, evidence: { kind: evidence.kind, id: evidence.id } as GoalEvidenceRef }; }); diff --git a/packages/core/src/run-types.ts b/packages/core/src/run-types.ts index bec705a82..4bdfee754 100644 --- a/packages/core/src/run-types.ts +++ b/packages/core/src/run-types.ts @@ -847,12 +847,7 @@ export interface ConversationModeState { readonly updatedAt?: string; } -export type GoalEvidenceRef = - | { readonly kind: "run"; readonly id: string } - | { readonly kind: "turn"; readonly id: string } - | { readonly kind: "artifact"; readonly id: string } - | { readonly kind: "approval"; readonly id: string } - | { readonly kind: "workflow"; readonly id: string }; +export type GoalEvidenceRef = import("@ling-stack/contracts").GoalEvidenceRef; export interface GoalContinuationEvidenceDelta { readonly newEvidenceRefs: number; @@ -926,6 +921,9 @@ export interface CreateLingThreadGoalInput { export interface UpdateLingThreadGoalInput { readonly acceptanceCriteria?: readonly GoalAcceptanceCriterion[]; readonly acceptanceEvidence?: readonly GoalAcceptanceEvidence[]; + /** Captured by the Host when settling verification-based acceptance. */ + readonly verificationCandidateDigest?: string; + readonly verificationGoalRevision?: string; readonly supervisionPolicy?: GoalSupervisionPolicy; readonly objective?: string; readonly status?: LingThreadGoalStatus; diff --git a/packages/core/src/skill-source-definition.ts b/packages/core/src/skill-source-definition.ts index 8933fb956..c4ec1c88c 100644 --- a/packages/core/src/skill-source-definition.ts +++ b/packages/core/src/skill-source-definition.ts @@ -67,7 +67,7 @@ export function isSourceManagedSkill(entry: SkillRegistryEntry): boolean { } export function isLingNativeSkillId(id: string): boolean { - return id === "implement" || id === "checkpoint"; + return id === "implement" || id === "checkpoint" || id === "init-project-instructions" || id === "verify-current-changes"; } export function refreshSourceManagedSkillDefinition( diff --git a/packages/core/src/storage/sqlite/goal-acceptance.ts b/packages/core/src/storage/sqlite/goal-acceptance.ts index ddcead346..32a4585a9 100644 --- a/packages/core/src/storage/sqlite/goal-acceptance.ts +++ b/packages/core/src/storage/sqlite/goal-acceptance.ts @@ -1,5 +1,6 @@ import { createHash } from "node:crypto"; import type { DatabaseSync } from "node:sqlite"; +import type { LingAppServerVerifyOperation, LingAppServerVerifyPlanResult } from "@ling-stack/contracts"; import type { GoalEvidenceRef, LingThreadGoal, UpdateLingThreadGoalInput } from "../../run-types.js"; import { parseGoalAcceptanceEvidence } from "../../goal-supervision.js"; @@ -7,13 +8,16 @@ import { parseGoalAcceptanceEvidence } from "../../goal-supervision.js"; export function assertGoalCompletion(db: DatabaseSync, goal: LingThreadGoal, input: UpdateLingThreadGoalInput): void { const criteria = goal.acceptanceCriteria ?? [], evidence = parseGoalAcceptanceEvidence(input.acceptanceEvidence ?? []); const refs = input.completionEvidenceRefs ?? goal.completionEvidenceRefs; - const strict = criteria.length > 0 || input.completedBy === "ling-agent"; + const strict = criteria.length > 0 || input.completedBy === "ling-agent" || refs.some(ref => ref.kind === "verification"); if (!strict) return; if (goal.status !== "active" && goal.status !== "blocked") throw new Error("goal_completion_not_active"); + if (criteria.some(criterion => criterion.kind === "verification_passed") + && input.verificationGoalRevision !== goal.updatedAt) throw new Error("goal_verification_acceptance_revision_required"); if (!input.completionVerificationSummary?.trim()) throw new Error("goal_completion_summary_required"); if (db.prepare("SELECT 1 FROM run_sessions WHERE thread_id=? AND status IN ('queued','running','waiting_for_approval','yielded') LIMIT 1").get(goal.threadId) || db.prepare(`SELECT 1 FROM approval_requests a JOIN run_sessions r ON r.id=a.run_id WHERE r.thread_id=? AND a.status='pending' LIMIT 1`).get(goal.threadId)) throw new Error("goal_completion_work_pending"); + const verifications = new Map(); const verify = (ref: GoalEvidenceRef): void => { if (ref.kind === "run") { const run = db.prepare("SELECT status,thread_id,created_at FROM run_sessions WHERE id=?").get(ref.id); @@ -37,6 +41,12 @@ export function assertGoalCompletion(db: DatabaseSync, goal: LingThreadGoal, inp } else if (ref.kind === "approval") { const approval = db.prepare("SELECT a.status,r.thread_id FROM approval_requests a JOIN run_sessions r ON r.id=a.run_id WHERE a.id=?").get(ref.id); if (!approval || approval.thread_id !== goal.threadId || approval.status !== "approved") throw new Error("goal_completion_evidence_invalid"); + } else if (ref.kind === "verification" && !verifications.has(ref.id)) { + if (!evidence.some(binding => binding.evidence.kind === "verification" && binding.evidence.id === ref.id + && criteria.some(criterion => criterion.id === binding.criterionId && criterion.kind === "verification_passed"))) { + throw new Error("goal_completion_evidence_invalid"); + } + verifications.set(ref.id, getGoalVerification(db, goal, ref.id, input.verificationCandidateDigest)); } }; if (!refs.length) throw new Error("goal_completion_evidence_required"); @@ -44,9 +54,46 @@ export function assertGoalCompletion(db: DatabaseSync, goal: LingThreadGoal, inp if (evidence.length !== criteria.length) throw new Error("goal_acceptance_incomplete"); for (const criterion of criteria) { const binding = evidence.find(item => item.criterionId === criterion.id); - const kind = criterion.kind === "run_succeeded" ? "run" : criterion.kind === "workflow_succeeded" ? "workflow" : "artifact"; + const kind = criterion.kind === "run_succeeded" ? "run" : criterion.kind === "workflow_succeeded" ? "workflow" + : criterion.kind === "verification_passed" ? "verification" : "artifact"; if (!binding || criterion.evidenceId !== undefined && binding.evidence.id !== criterion.evidenceId || binding.evidence.kind !== kind || !refs.some(ref => ref.kind === kind && ref.id === binding.evidence.id)) throw new Error("goal_acceptance_incomplete"); verify(binding.evidence); + if (kind === "verification") { + const requirement = criterion.verification!; + const { operation, plan } = verifications.get(binding.evidence.id)!; + const proof = operation.checks.find(check => check.checkId === requirement.checkId); + const plannedCheck = plan.checks.find(check => check.checkId === requirement.checkId); + if (proof?.status !== "passed" || proof.candidateDigest !== operation.candidateDigest + || proof.planRevision !== plan.planRevision || proof.recipeDigest !== plannedCheck?.recipeDigest + || proof.verifierBasisRef !== requirement.verifierBasisRef || proof.coverageDigest !== requirement.coverageDigest + || proof.verifierBasisRef !== plannedCheck.verifierBasisRef || proof.coverageDigest !== plannedCheck.coverageDigest + || !proof.producerRefs.length || JSON.stringify(proof.producerRefs) !== JSON.stringify(plannedCheck.producerRefs)) { + throw new Error("goal_verification_basis_mismatch"); + } + } if (criterion.contentSha256 && db.prepare("SELECT content_sha256 FROM artifacts WHERE id=?").get(binding.evidence.id)?.content_sha256 !== criterion.contentSha256) throw new Error("goal_acceptance_digest_mismatch"); } } + +interface PersistedVerification { + readonly operation: LingAppServerVerifyOperation; + readonly plan: LingAppServerVerifyPlanResult; +} + +function getGoalVerification( + db: DatabaseSync, goal: LingThreadGoal, operationId: string, candidateDigest: string | undefined, +): PersistedVerification { + if (!candidateDigest) throw new Error("goal_verification_candidate_required"); + const row = db.prepare(`SELECT payload_json, created_at FROM app_server_state + WHERE workspace_id=? AND kind='verify_operation' AND record_id=?`).get(goal.workspaceId, operationId); + if (typeof row?.payload_json !== "string" || String(row.created_at) < goal.createdAt) throw new Error("goal_completion_evidence_invalid"); + const result = JSON.parse(row.payload_json) as PersistedVerification; + const { operation, plan } = result; + if (!operation || !plan || operation.operationId !== operationId || operation.planId !== plan.planId + || operation.threadId !== goal.threadId || plan.threadId !== goal.threadId + || operation.status !== "passed" || !operation.completedAt) throw new Error("goal_completion_evidence_invalid"); + if (operation.candidateDigest !== candidateDigest || plan.candidate.candidateDigest !== candidateDigest) { + throw new Error("goal_verification_candidate_stale"); + } + return result; +} diff --git a/packages/core/src/storage/sqlite/ling-thread-store.ts b/packages/core/src/storage/sqlite/ling-thread-store.ts index af3a0427f..0d76ec77c 100644 --- a/packages/core/src/storage/sqlite/ling-thread-store.ts +++ b/packages/core/src/storage/sqlite/ling-thread-store.ts @@ -492,6 +492,12 @@ export class SqliteLingThreadStore { } const criteria = parseGoalAcceptanceCriteria(input.acceptanceCriteria ?? existing.acceptanceCriteria ?? []); const evidence = parseGoalAcceptanceEvidence(input.acceptanceEvidence ?? existing.acceptanceEvidence ?? []); + const previousCriteria = existing.acceptanceCriteria ?? []; + if (JSON.stringify(criteria) !== JSON.stringify(previousCriteria) + && (previousCriteria.some(criterion => criterion.kind === "verification_passed") + || input.status === "complete" && criteria.some(criterion => criterion.kind === "verification_passed"))) { + throw new Error("goal_verification_acceptance_revision_required"); + } if (input.status === "complete" && existing.status !== "complete") { assertGoalCompletion(this.context.database, { ...existing, acceptanceCriteria: criteria }, input); } diff --git a/packages/core/test/skill-packs.test.mjs b/packages/core/test/skill-packs.test.mjs index 703d0db22..f1800ed4a 100644 --- a/packages/core/test/skill-packs.test.mjs +++ b/packages/core/test/skill-packs.test.mjs @@ -61,6 +61,7 @@ test("gstack default skill pack mirrors the adapted current gstack workflow surf "guard", "qa-only", "health", + "init-project-instructions", "investigate", "ios-clean", "ios-design-review", @@ -90,6 +91,7 @@ test("gstack default skill pack mirrors the adapted current gstack workflow surf "spec", "sync-gbrain", "unfreeze", + "verify-current-changes", "gstack-upgrade", ]) { assert.equal(skillIds.has(skillId), true, `${skillId} should be adapted into the Ling-native pack`); @@ -97,7 +99,7 @@ test("gstack default skill pack mirrors the adapted current gstack workflow surf assert.equal(skillIds.has("gstack"), false, "The gstack meta/root skill should remain outside the static Ling pack"); assert.equal(skillIds.has("implement"), true, "Ling keeps its native implementation skill alongside adapted gstack skills"); - assert.equal(pack.skills.length, 55); + assert.equal(pack.skills.length, 57); }); test("Ling Agent default skill list references executable non-strict skills", () => { diff --git a/packages/daemon/src/config.ts b/packages/daemon/src/config.ts index 9252703e4..44dc4a457 100644 --- a/packages/daemon/src/config.ts +++ b/packages/daemon/src/config.ts @@ -8,6 +8,7 @@ import { type ResolvedRuntimeConcurrencyPolicy, } from "./runtime/concurrency-policy.js"; import type { RestrictedCommandRuntimeConfig } from "./runtime/sandbox/restricted-command-runtime.js"; +import { resolveVerificationRecipes, type AppServerVerificationRecipeConfig } from "./server/app-server-verification-config.js"; export interface DaemonConfig { readonly host?: string; @@ -23,6 +24,7 @@ export interface DaemonConfig { /** Trusted Host startup limits; never read from workspace/runtime HTTP settings. */ readonly concurrency?: RuntimeConcurrencyFeatureConfig; readonly transports?: TransportFeatureConfig; + readonly appServerVerificationRecipes?: readonly AppServerVerificationRecipeConfig[]; readonly channels?: ChannelFeatureConfig; readonly cuaDriver?: CuaDriverFeatureConfig; readonly remoteAccess?: RemoteAccessFeatureConfig; @@ -187,6 +189,7 @@ export interface ResolvedDaemonConfig { readonly runtimeTools: RuntimeToolFeatureConfig; readonly concurrency: ResolvedRuntimeConcurrencyPolicy; readonly transports: Required; + readonly appServerVerificationRecipes: readonly AppServerVerificationRecipeConfig[]; readonly channels: ChannelFeatureConfig; readonly cuaDriver: { readonly bundledEmbedded: { @@ -248,6 +251,7 @@ export function resolveConfig(config: DaemonConfig): ResolvedDaemonConfig { readBooleanEnv(process.env.LING_STACK_RUNTIME_SHELL_SNAPSHOT, false), }, concurrency: resolveRuntimeConcurrencyPolicy(config.concurrency), + appServerVerificationRecipes: resolveVerificationRecipes(config.appServerVerificationRecipes), transports: { providerWebSocketFallback: config.transports?.providerWebSocketFallback ?? readBooleanEnv(process.env.LING_STACK_PROVIDER_WS_FALLBACK, true), diff --git a/packages/daemon/src/features/runs/thread-routes.ts b/packages/daemon/src/features/runs/thread-routes.ts index 106c69f32..474cc491a 100644 --- a/packages/daemon/src/features/runs/thread-routes.ts +++ b/packages/daemon/src/features/runs/thread-routes.ts @@ -19,6 +19,7 @@ import { type CreateProposedPlanArtifactInput, type LingApprovalCheckpoint, type LingThread, + type LingThreadGoal, type LingThreadSearchMatch, type LingThreadArchivedFilter, type LingThreadGoalStatus, @@ -404,7 +405,8 @@ async function handleLingThreadGoal( } const body = await readOptionalJsonBody(request, 1024 * 1024); const patch = parsePatchLingThreadGoalBody(body); - const goal = store.updateLingThreadGoal(existing.id, patch, new Date().toISOString()); + const input = await bindGoalVerificationCandidate(store.paths.cwd, existing, patch); + const goal = store.updateLingThreadGoal(existing.id, input, new Date().toISOString()); writeJson(response, 200, { cwd, threadId, goal: goal ?? null }); return; } @@ -444,7 +446,8 @@ async function handleLingThreadGoalComplete( return; } const body = await readOptionalJsonBody(request, 1024 * 1024); - const goal = store.updateLingThreadGoal(existing.id, parseCompleteLingThreadGoalBody(body), new Date().toISOString()); + const input = await bindGoalVerificationCandidate(store.paths.cwd, existing, parseCompleteLingThreadGoalBody(body)); + const goal = store.updateLingThreadGoal(existing.id, input, new Date().toISOString()); writeJson(response, 200, { cwd, threadId, goal: goal ?? null }); } catch (error) { writeLingThreadRouteError(response, error); @@ -2225,6 +2228,19 @@ export function parseCompleteLingThreadGoalBody(value: unknown): UpdateLingThrea }; } +export async function bindGoalVerificationCandidate( + cwd: string, goal: LingThreadGoal, input: UpdateLingThreadGoalInput, +): Promise { + if (input.status !== "complete" || goal.status === "complete" + || !goal.acceptanceCriteria?.some(criterion => criterion.kind === "verification_passed")) return input; + const { captureCodeAssessmentSnapshot } = await import("../code-assessments/snapshot.js"); + const snapshot = await captureCodeAssessmentSnapshot(cwd, { type: "working_tree" }); + if (snapshot.coverage !== "complete") { + throw new HttpError(409, "goal_verification_candidate_incomplete", "Goal verification requires complete coverage of the current candidate."); + } + return { ...input, verificationCandidateDigest: snapshot.digest, verificationGoalRevision: goal.updatedAt }; +} + const lingThreadGoalStatuses = [ "active", "paused", @@ -2547,7 +2563,7 @@ function readOptionalPlanVersion(record: Record, key: string): return readOptionalGoalNumber(record, key, true); } -const goalEvidenceKinds = ["run", "turn", "artifact", "approval", "workflow"] as const; +const goalEvidenceKinds = ["run", "turn", "artifact", "approval", "workflow", "verification"] as const; function findActiveChannelDiscussionRootThread(store: RunStore, channelId: string): LingThread | undefined { return store diff --git a/packages/daemon/src/server/app-server-development.ts b/packages/daemon/src/server/app-server-development.ts index 0aa5c71ad..1627a624d 100644 --- a/packages/daemon/src/server/app-server-development.ts +++ b/packages/daemon/src/server/app-server-development.ts @@ -19,8 +19,6 @@ import type { LingAppServerSimplifyStartResult, LingAppServerSimplifyStatusParams, LingAppServerSimplifyStatusResult, - LingAppServerVerificationCheckPlan, - LingAppServerVerificationCheckStatus, LingAppServerVerifyCancelParams, LingAppServerVerifyCancelResult, LingAppServerVerifyPlanParams, @@ -40,7 +38,8 @@ import type { RunStoreRegistry } from "../runtime/store-registry.js"; import { captureCodeAssessmentSnapshot } from "../features/code-assessments/snapshot.js"; import { reconcileCodeAssessments, startCodeAssessment, type StartCodeAssessmentRun } from "../features/code-assessments/service.js"; import { parseReviewRuleRefs } from "../features/code-assessments/review-rules.js"; -import { verificationRecipes } from "./app-server-verification-recipes.js"; +import { verificationRecipePlan, verificationRecipes, type AppServerVerificationCheckResult } from "./app-server-verification-recipes.js"; +import type { AppServerVerificationRecipeConfig } from "./app-server-verification-config.js"; import { collectProjectInstructions } from "../features/conversations/project-instructions.js"; import { initializeProjectInstructions } from "../features/conversations/project-instructions-draft.js"; import { trimOversizedEvent } from "../features/control-plane/events.js"; @@ -62,10 +61,11 @@ export interface AppServerDevelopmentOptions { /** Host-owned verification execution. It must use the normal daemon authority. */ readonly executeVerificationCheck?: (input: { readonly cwd: string; - readonly check: LingAppServerVerificationCheckPlan; + readonly check: LingAppServerVerifyPlanResult["checks"][number]; readonly candidate: LingAppServerCandidateReference; + readonly recipes?: readonly AppServerVerificationRecipeConfig[]; readonly signal: AbortSignal; - }) => Promise; + }) => Promise; } /** Coordinates durable verification state and delegates code assessment to its Run owner. */ @@ -96,17 +96,19 @@ export class AppServerDevelopmentService { throw Object.assign(new Error("The accepted Work Item plan changed."), { jsonRpcCode: -32030, code: "stale_revision" }); } const acceptedPlanRevision = workItem?.planRevision ?? input.planRevision; - const candidate = { ...input.candidate, workspaceId: store.paths.cwd }; - const checks = verificationRecipes(input.requestedChecks).map(({ id, kind, label, argv, required }) => { - return { - checkId: id, - kind, - label, - ...(argv.length ? { command: argv.join(" ") } : {}), - recipeDigest: digest(JSON.stringify({ id, kind, argv, candidateDigest: candidate.candidateDigest })), - required, - } satisfies LingAppServerVerificationCheckPlan; - }); + const candidateWorkspace = store.paths.cwd; + const configured = this.verificationRecipes(cwd); + let paths: readonly string[] | undefined; + if (configured.length && !input.requestedChecks?.length) { + const snapshot = await captureCodeAssessmentSnapshot(cwd, { type: "working_tree" }); + if (snapshot.coverage !== "complete" || snapshot.digest !== input.candidate.candidateDigest) { + throw new HttpError(409, "candidate_stale", "Verification planning requires a current candidate with complete coverage."); + } + paths = snapshot.files.flatMap(file => file.originalPath ? [file.path, file.originalPath] : [file.path]); + } + const candidate = { ...input.candidate, workspaceId: candidateWorkspace, ...(paths ? { filePaths: [...new Set(paths)] } : {}) }; + const checks = verificationRecipes(input.requestedChecks, configured, paths) + .map(recipe => verificationRecipePlan(recipe, candidate.candidateDigest)); const plan: LingAppServerVerifyPlanResult = { planId: `verify_plan_${randomUUID()}`, planRevision: digest(JSON.stringify({ candidate, checks, acceptedPlanRevision, threadId: input.threadId, workItemId: input.workItemId })), @@ -115,7 +117,7 @@ export class AppServerDevelopmentService { ...(acceptedPlanRevision ? { acceptedPlanRevision } : {}), candidate, checks, - rationale: ["Selected deterministic workspace checks for the candidate."], + rationale: [paths ? "Selected Host-registered checks using the captured diff." : "Selected registered checks for the candidate."], environmentRequirements: ["workspace_store", "authorized_host_execution"], }; const result = store.putAppServerState({ @@ -495,16 +497,19 @@ export class AppServerDevelopmentService { stored = this.updateVerification(store, stored, record); for (const check of record.plan.checks) { if (record.cancelRequested || signal.aborted) break; - stored = this.updateVerification(store, stored, setCheckStatus(record, check.checkId, "running")); - let status: LingAppServerVerificationCheckStatus; + stored = this.updateVerification(store, stored, setCheckResult(record, check.checkId, { status: "running" })); + let result: AppServerVerificationCheckResult; try { - status = await executeCheck({ cwd: store.paths.cwd, check, candidate: record.plan.candidate, signal }); + const checked = await executeCheck({ + cwd: store.paths.cwd, check, candidate: record.plan.candidate, recipes: this.verificationRecipes(store.paths.cwd), signal, + }); + result = typeof checked === "string" ? { status: checked } : checked; } catch { - status = "unknown"; + result = { status: "unknown" }; } stored = store.getAppServerState("verify_operation", operationId)!; record = stored.payload as VerifyRecord; - record = setCheckStatus(record, check.checkId, status); + record = setCheckResult(record, check.checkId, result); stored = this.updateVerification(store, stored, record); if (record.cancelRequested || signal.aborted) break; } @@ -518,6 +523,10 @@ export class AppServerDevelopmentService { const blocker = status === "unknown" && stopRequested ? "verification_cancellation_unconfirmed" : undefined; this.updateVerification(store, stored, finishVerification(record, status, blocker)); } + + private verificationRecipes(cwd: string): readonly AppServerVerificationRecipeConfig[] { + return (this.options.context.config.appServerVerificationRecipes ?? []).filter(recipe => recipe.workspaceRoot === cwd); + } } function assertVerificationPlan(stored: AppServerStateRecord, plan: LingAppServerVerifyPlanResult): VerifyRecord { @@ -540,8 +549,9 @@ function verificationInFlight(record: VerifyRecord): boolean { return record.operation.status === "queued" || record.operation.status === "running"; } -function setCheckStatus(record: VerifyRecord, checkId: string, status: LingAppServerVerificationCheckStatus): VerifyRecord { - const checks = record.operation.checks.map(check => check.checkId === checkId ? { ...check, status } : check); +function setCheckResult(record: VerifyRecord, checkId: string, result: AppServerVerificationCheckResult): VerifyRecord { + const { verifier, ...outcome } = result; + const checks = record.operation.checks.map(check => check.checkId === checkId ? { ...check, ...outcome, ...verifier } : check); return { ...record, operation: { ...record.operation, checks } }; } diff --git a/packages/daemon/src/server/app-server-verification-config.ts b/packages/daemon/src/server/app-server-verification-config.ts new file mode 100644 index 000000000..6dd2fd6a5 --- /dev/null +++ b/packages/daemon/src/server/app-server-verification-config.ts @@ -0,0 +1,70 @@ +import { readFileSync, realpathSync } from "node:fs"; +import { isAbsolute, normalize } from "node:path"; +import type { LingAppServerVerificationCheckKind } from "@ling-stack/contracts"; + +export interface AppServerVerificationRecipeConfig { + readonly id: string; + readonly kind: LingAppServerVerificationCheckKind; + readonly label: string; + readonly workspaceRoot: string; + readonly argv: readonly [string, ...string[]]; + /** Git-relative files or directories that select the recipe. */ + readonly paths?: readonly string[]; + readonly required: boolean; + readonly verifier?: { + readonly coverage: string; + readonly sources: readonly { readonly path: string; readonly sha256: string }[]; + }; +} + +/** Registration comes from the Host startup configuration. */ +export function resolveVerificationRecipes( + configured: readonly AppServerVerificationRecipeConfig[] | undefined, +): readonly AppServerVerificationRecipeConfig[] { + const path = process.env.LING_STACK_APP_SERVER_VERIFICATION_RECIPES_FILE; + let input = configured; + if (input === undefined && path) { + try { input = JSON.parse(readFileSync(path, "utf8")); } + catch { throw new Error("The App Server verification recipe file must contain valid JSON."); } + } + if (input === undefined) return []; + if (!Array.isArray(input) || input.length > 16) throw new Error("App Server supports at most 16 configured verification recipes."); + const seen = new Set(); + return input.map((value: AppServerVerificationRecipeConfig) => { + if (!value || typeof value.id !== "string" || !/^[A-Za-z0-9_.:-]{1,128}$/u.test(value.id) + || !["typecheck", "test", "command", "browser", "platform"].includes(value.kind) + || typeof value.label !== "string" || !value.label.trim() || value.label.length > 160 + || typeof value.required !== "boolean" + || typeof value.workspaceRoot !== "string" || !isAbsolute(value.workspaceRoot) + || !Array.isArray(value.argv) || !value.argv.length || value.argv.length > 64 + || !value.argv.every(arg => typeof arg === "string" && arg.length <= 2048 && !arg.includes("\0")) + || !isAbsolute(value.argv[0]) + || value.paths !== undefined && (!Array.isArray(value.paths) || !value.paths.length || value.paths.length > 64 + || !value.paths.every(path => typeof path === "string" && path.length <= 512 + && path.split("/").every(segment => segment && segment !== "." && segment !== ".." && !/[:\\\0]/u.test(segment))))) { + throw new Error("Invalid App Server verification recipe configuration."); + } + const workspaceRoot = realpathSync(value.workspaceRoot); + const key = JSON.stringify([workspaceRoot, value.id]); + if (seen.has(key)) throw new Error("Duplicate App Server verification recipe for a workspace."); + seen.add(key); + const verifier = value.verifier === undefined ? undefined : normalizeVerifier(value.verifier); + return { ...value, workspaceRoot, verifier, argv: [value.argv[0], ...value.argv.slice(1)] as const }; + }); +} + +function normalizeVerifier(value: NonNullable) { + if (!value || typeof value.coverage !== "string" || !value.coverage.trim() || value.coverage.length > 2000 + || !Array.isArray(value.sources) || !value.sources.length || value.sources.length > 16) { + throw new Error("Invalid App Server verifier coverage or source list."); + } + const sources = value.sources.map((source: (typeof value.sources)[number]) => { + if (!source || typeof source.path !== "string" || !isAbsolute(source.path) + || typeof source.sha256 !== "string" || !/^[a-f0-9]{64}$/u.test(source.sha256)) { + throw new Error("App Server verifier sources require absolute paths and SHA-256 digests."); + } + return { path: normalize(source.path), sha256: source.sha256 }; + }).sort((left, right) => left.path.localeCompare(right.path)); + if (new Set(sources.map(source => source.path)).size !== sources.length) throw new Error("Duplicate App Server verifier source."); + return { coverage: value.coverage.trim(), sources }; +} diff --git a/packages/daemon/src/server/app-server-verification-recipes.ts b/packages/daemon/src/server/app-server-verification-recipes.ts index d59188452..0a8954ebd 100644 --- a/packages/daemon/src/server/app-server-verification-recipes.ts +++ b/packages/daemon/src/server/app-server-verification-recipes.ts @@ -1,13 +1,20 @@ import { spawn } from "node:child_process"; +import { createHash } from "node:crypto"; +import { constants } from "node:fs"; +import { open, realpath } from "node:fs/promises"; +import { isAbsolute, relative, sep } from "node:path"; import type { LingAppServerCandidateReference, LingAppServerVerificationCheckKind, LingAppServerVerificationCheckPlan, LingAppServerVerificationCheckStatus, + LingAppServerVerificationExecution, } from "@ling-stack/contracts"; +import { redactSecrets } from "@ling-stack/core"; import { captureCodeAssessmentSnapshot } from "../features/code-assessments/snapshot.js"; +import type { AppServerVerificationRecipeConfig } from "./app-server-verification-config.js"; -const recipes = [ +const defaultRecipes = [ { id: "typecheck", kind: "typecheck", label: "Typecheck", argv: ["pnpm", "run", "typecheck:ci"], required: true }, { id: "test", kind: "test", label: "Tests", argv: ["pnpm", "run", "test"], required: true }, ] as const satisfies readonly { @@ -18,15 +25,54 @@ const recipes = [ required: boolean; }[]; -export function verificationRecipes(requested: readonly string[] | undefined) { - const ids = requested?.length ? [...new Set(requested)] : recipes.map(recipe => recipe.id); - return ids.map(id => { +type VerificationRecipe = AppServerVerificationRecipeConfig | (typeof defaultRecipes)[number]; +type VerifierEvidence = Required>; + +export interface AppServerVerificationCheckResult { + readonly status: LingAppServerVerificationCheckStatus; + readonly execution?: LingAppServerVerificationExecution; + readonly verifier?: VerifierEvidence; +} + +export function verificationRecipes( + requested: readonly string[] | undefined, + configured: readonly AppServerVerificationRecipeConfig[] = [], + paths?: readonly string[], +) { + if (!requested?.length) { + const selected = configured.filter(recipe => { + const targets = recipe.paths; + return !targets || paths?.some(path => targets.some(prefix => path === prefix || path.startsWith(prefix + "/"))); + }); + return selected.length ? selected : [...defaultRecipes]; + } + const recipes: readonly VerificationRecipe[] = [...configured, ...defaultRecipes]; + return [...new Set(requested)].map(id => { const recipe = recipes.find(candidate => candidate.id === id); if (recipe) return recipe; return { id, kind: inferCheckKind(id), label: id, argv: [] as readonly string[], required: false }; }); } +export function verificationRecipePlan(recipe: ReturnType[number], candidateDigest: string): LingAppServerVerificationCheckPlan { + const { id, kind, label, argv, required } = recipe; + const verifier = "verifier" in recipe ? recipe.verifier : undefined; + const recipeDigest = hash([id, kind, argv, required, verifier]); + const basis: VerifierEvidence | undefined = verifier && { + verifierBasisRef: `verify_basis_${recipeDigest}`, + coverageDigest: hash([id, verifier.coverage, verifier.sources]), + producerRefs: verifier.sources.map(source => `file:${hash(source.path)}:sha256:${source.sha256}`), + }; + return { + checkId: id, kind, label, required, + ...(argv.length ? { command: "workspaceRoot" in recipe ? id : argv.join(" ") } : {}), + recipeDigest: "workspaceRoot" in recipe + ? hash([recipeDigest, candidateDigest]) + : createHash("sha256").update(JSON.stringify({ id, kind, argv, candidateDigest })).digest("hex"), + ...basis, + }; +} + function inferCheckKind(id: string): LingAppServerVerificationCheckKind { if (/type|tsc|compile/u.test(id)) return "typecheck"; if (/browser|playwright|e2e/u.test(id)) return "browser"; @@ -39,36 +85,97 @@ export async function executeAppServerVerificationCheck(input: { readonly cwd: string; readonly check: LingAppServerVerificationCheckPlan; readonly candidate: LingAppServerCandidateReference; + readonly recipes?: readonly AppServerVerificationRecipeConfig[]; readonly signal: AbortSignal; -}): Promise { - const recipe = recipes.find(item => item.id === input.check.checkId); - if (!recipe || input.check.command !== recipe.argv.join(" ") || process.platform === "win32") return "blocked"; - if (input.signal.aborted) return "cancelled"; +}): Promise { + if (process.platform === "win32") return { status: "blocked" }; + const matching = [...(input.recipes ?? []), ...defaultRecipes] + .filter(recipe => recipe.id === input.check.checkId) + .map(recipe => ({ recipe, planned: verificationRecipePlan(recipe, input.candidate.candidateDigest) })) + .find(({ planned }) => planned.recipeDigest === input.check.recipeDigest && planned.command === input.check.command); + if (!matching) return { status: "blocked" }; + const { recipe, planned } = matching; + if (input.signal.aborted) return { status: "cancelled" }; const matchesCandidate = async () => { const snapshot = await captureCodeAssessmentSnapshot(input.cwd, { type: "working_tree" }); return snapshot.coverage === "complete" && snapshot.digest === input.candidate.candidateDigest; }; - if (!await matchesCandidate()) return "blocked"; - if (input.signal.aborted) return "cancelled"; - const status = await runCheck(recipe.argv, input.cwd, input.signal); - return status === "passed" && !await matchesCandidate() ? "blocked" : status; + const sources = "verifier" in recipe ? recipe.verifier?.sources : undefined; + const matchesSources = () => sources ? matchesVerifierSources(input.cwd, sources) : true; + if (!await matchesCandidate() || !await matchesSources()) return { status: "blocked" }; + if (input.signal.aborted) return { status: "cancelled" }; + const result = await runCheck(recipe.argv, input.cwd, input.signal); + if (result.status !== "passed") return result; + if (!await matchesCandidate() || !await matchesSources()) return { ...result, status: "blocked" }; + return planned.verifierBasisRef && planned.coverageDigest && planned.producerRefs ? { + ...result, verifier: { verifierBasisRef: planned.verifierBasisRef, coverageDigest: planned.coverageDigest, producerRefs: planned.producerRefs }, + } : result; +} + +async function matchesVerifierSources(cwd: string, sources: NonNullable["sources"]): Promise { + const repository = await realpath(cwd); + for (const source of sources) { + try { + const canonical = await realpath(source.path); + const child = relative(repository, canonical); + const outside = child === ".." || child.startsWith(`..${sep}`) || isAbsolute(child); + if (!outside || canonical !== source.path) return false; + const file = await open(canonical, constants.O_RDONLY | (constants.O_NOFOLLOW ?? 0) | (constants.O_NONBLOCK ?? 0)); + try { + const stat = await file.stat(); + if (!stat.isFile() || stat.nlink !== 1 || stat.size > 64 * 1024 * 1024) return false; + const stream = file.createReadStream({ autoClose: false, end: stat.size }); + const sha256 = createHash("sha256"); + for await (const chunk of stream) sha256.update(chunk); + if (sha256.digest("hex") !== source.sha256) return false; + } finally { + await file.close(); + } + } catch { + return false; + } + } + return true; } -function runCheck([file, ...args]: readonly [string, ...string[]], cwd: string, signal: AbortSignal): Promise { +function hash(value: unknown): string { + return createHash("sha256").update(JSON.stringify(value)).digest("hex"); +} + +function runCheck([file, ...args]: readonly [string, ...string[]], cwd: string, signal: AbortSignal): Promise { return new Promise(resolve => { + const startedAt = new Date().toISOString(); const child = spawn(file, args, { cwd, detached: true, - stdio: "ignore", + stdio: ["ignore", "pipe", "pipe"], env: { PATH: process.env.PATH, TMPDIR: process.env.TMPDIR, CI: "true" }, }); + const outputLimit = 1024; + const chunks: Buffer[] = []; + let capturedBytes = 0; + let outputTruncated = false; + const capture = (data: Buffer): void => { + const count = Math.min(data.length, outputLimit - capturedBytes); + if (count > 0) { + chunks.push(data.subarray(0, count)); + capturedBytes += count; + } + outputTruncated ||= count < data.length; + }; + child.stdout.on("data", capture); + child.stderr.on("data", capture); let stopStatus: "cancelled" | "unknown" | undefined; + let timedOut = false; let cleanupDeadline: ReturnType | undefined; - const finish = (status: LingAppServerVerificationCheckStatus) => { + const finish = (status: LingAppServerVerificationCheckStatus, exitCode: number | null = null) => { clearTimeout(deadline); clearTimeout(cleanupDeadline); signal.removeEventListener("abort", abort); - resolve(status); + const output = Buffer.concat(chunks).toString("utf8").replace(/[\x00-\x08\x0b-\x1f\x7f]/gu, ""); + resolve({ status, execution: { + startedAt, endedAt: new Date().toISOString(), exitCode, timedOut, output: redactSecrets(output) as string, outputTruncated, + } }); }; const stop = (status: "cancelled" | "unknown") => { if (stopStatus) return; @@ -76,14 +183,19 @@ function runCheck([file, ...args]: readonly [string, ...string[]], cwd: string, if (child.pid === undefined) return; try { process.kill(-child.pid, "SIGKILL"); } catch { stopStatus = "unknown"; } cleanupDeadline = setTimeout(() => { + child.stdout.destroy(); + child.stderr.destroy(); child.unref(); finish("unknown"); }, 5_000); }; const abort = () => stop("cancelled"); - const deadline = setTimeout(() => stop("unknown"), 5 * 60 * 1000); + const deadline = setTimeout(() => { + timedOut = true; + stop("unknown"); + }, 5 * 60 * 1000); signal.addEventListener("abort", abort, { once: true }); child.once("error", error => finish(stopStatus ?? ((error as NodeJS.ErrnoException).code === "ENOENT" ? "blocked" : "failed"))); - child.once("close", code => finish(stopStatus ?? (code === 0 ? "passed" : "failed"))); + child.once("close", code => finish(stopStatus ?? (code === 0 ? "passed" : "failed"), code)); }); } diff --git a/packages/daemon/src/server/rpc.ts b/packages/daemon/src/server/rpc.ts index 2bf8e066b..104e7b786 100644 --- a/packages/daemon/src/server/rpc.ts +++ b/packages/daemon/src/server/rpc.ts @@ -71,7 +71,7 @@ import { appendControlPlaneEvent } from "../features/control-plane/events.js"; import { toApprovalSummary } from "../features/control-plane/snapshots.js"; import { executeRunRequest, type RunExecutionSink } from "../features/runs/orchestrator.js"; import { parseRunRequest, type RunRequest } from "../features/runs/schemas.js"; -import { buildLingThreadResumeContext, parseCompleteLingThreadGoalBody, parsePutLingThreadGoalBody } from "../features/runs/thread-routes.js"; +import { bindGoalVerificationCandidate, buildLingThreadResumeContext, parseCompleteLingThreadGoalBody, parsePutLingThreadGoalBody } from "../features/runs/thread-routes.js"; import { projectPublicRunSession } from "../features/runs/public-execution-snapshots.js"; import { projectPublicLingThread, projectPublicLingTurn } from "../features/runs/public-execution-snapshots.js"; import { maybeQueueGoalContinuation, maybeStartNextRunInterventionContinuation, recordUserRunIntervention, requestRunInterventionRedirect } from "../features/runs/interventions.js"; @@ -1376,7 +1376,7 @@ class RpcConnection { return { cwd, threadId, goal }; } - private completeThreadGoal(params: unknown): unknown { + private async completeThreadGoal(params: unknown): Promise { const record = readParamsRecord(params); const cwd = readRpcCwd(record, this.defaultCwd); const threadId = readStringField(record, "threadId"); @@ -1389,7 +1389,8 @@ class RpcConnection { evidenceRefs: record.evidenceRefs ?? record.completionEvidenceRefs, completionVerificationSummary: record.completionVerificationSummary ?? record.verificationSummary, }); - const updated = store.updateLingThreadGoal(goal.id, input, new Date().toISOString()); + const prepared = await bindGoalVerificationCandidate(store.paths.cwd, goal, input); + const updated = store.updateLingThreadGoal(goal.id, prepared, new Date().toISOString()); if (!updated) throw rpcError(-32040, "workspace_binding_invalid", `Goal was not found: ${goal.id}`); this.publishThreadGoal(store, cwd, updated); return { cwd, threadId, goal: updated }; diff --git a/packages/daemon/test/app-server-release-acceptance.test.ts b/packages/daemon/test/app-server-release-acceptance.test.ts index 1df7a930a..cbd399268 100644 --- a/packages/daemon/test/app-server-release-acceptance.test.ts +++ b/packages/daemon/test/app-server-release-acceptance.test.ts @@ -1,6 +1,6 @@ import assert from "node:assert/strict"; import { execFile, execFileSync, spawn } from "node:child_process"; -import { randomUUID } from "node:crypto"; +import { createHash, randomUUID } from "node:crypto"; import { once } from "node:events"; import { chmod, link, lstat, mkdir, mkdtemp, readFile, realpath, rm, symlink, unlink, writeFile } from "node:fs/promises"; import { createConnection, createServer } from "node:net"; @@ -60,6 +60,7 @@ test("App Server deduplicates verification starts and restores completed checks, await writeFile(join(fixture.cwd, "package.json"), JSON.stringify({ scripts: { test: "node check.cjs" } })); await writeFile(join(fixture.cwd, "check.cjs"), [ 'const fs = require("node:fs");', + 'console.log("verified fixture behavior");', `fs.appendFileSync(${JSON.stringify(marker)}, "checked\\n");`, `if (fs.existsSync(${JSON.stringify(hold)})) setTimeout(() => {}, 15000);`, ].join("\n")); @@ -90,6 +91,10 @@ test("App Server deduplicates verification starts and restores completed checks, }); assert.equal(finished.status, "blocked"); assert.deepEqual(finished.checks.map(check => check.status), ["passed", "blocked"]); + assert.equal(finished.checks[0]?.execution?.exitCode, 0); + assert.match(finished.checks[0]?.execution?.output ?? "", /verified fixture behavior/u); + assert.equal(finished.checks[0]?.execution?.timedOut, false); + assert.equal(finished.checks[1]?.execution, undefined); const finalEvent = await waitFor(() => peer.notices.find(notice => notice.method === "verification/updated" && notice.params?.event?.entityId === finished.operationId && notice.params?.revision === finished.revision)); @@ -126,6 +131,93 @@ test("App Server deduplicates verification starts and restores completed checks, assert.deepEqual(await afterCancellation.call("verify/cancel", cancel), receipt); }); +test("Goal completion requires a current candidate and a Host-verified independent check", { timeout: 30_000 }, async t => { + const verifier = 'const {readFileSync} = require("node:fs");\n' + + 'if (readFileSync("subject.txt", "utf8") !== "accepted behavior\\n") process.exit(1);\n' + + 'console.log("verified accepted behavior");\n'; + const fixture = await releaseFixture(t, { + async verificationRecipes(root, cwd) { + const source = join(root, "trusted-check.cjs"); + await writeFile(source, verifier); + return [{ + id: "independent-check", label: "Independent check", kind: "test", workspaceRoot: cwd, + argv: [process.execPath, source], paths: ["subject.txt"], required: true, + verifier: { + coverage: "Checks the accepted behavior of subject.txt", + sources: [{ path: source, sha256: createHash("sha256").update(verifier).digest("hex") }], + }, + }]; + }, + }); + const git = (...args: string[]) => execFileSync("git", args, { cwd: fixture.cwd, stdio: "ignore" }); + const manifest = join(fixture.cwd, "package.json"); + await writeFile(join(fixture.cwd, ".gitignore"), ".ling-stack/\nnode_modules/\npnpm-lock.yaml\n"); + await writeFile(manifest, JSON.stringify({ scripts: { test: "node candidate-test.cjs" } })); + await writeFile(join(fixture.cwd, "candidate-test.cjs"), "console.log('candidate tests');\n"); + await writeFile(join(fixture.cwd, "subject.txt"), "previous behavior\n"); + git("init", "-q"); + git("add", "."); + git("-c", "user.name=Fixture", "-c", "user.email=fixture@example.test", "commit", "-qm", "Baseline"); + await writeFile(join(fixture.cwd, "subject.txt"), "accepted behavior\n"); + + const client = await fixture.connect(); + const { thread } = await client.call<{ thread: { id: string } }>("thread/start", { title: "Independent verification" }); + const createPlan = async (requestedChecks?: string[]) => { + const { candidate } = await client.call<{ candidate: LingAppServerCandidateReference }>("changes/capture"); + return client.call("verify/plan", { + candidate: { ...candidate, filePaths: ["unrelated/path"] }, threadId: thread.id, requestedChecks, + }); + }; + const planned = await createPlan(); + assert.deepEqual(planned.checks.map(check => check.checkId), ["independent-check"]); + const { verifierBasisRef, coverageDigest } = planned.checks[0]; + assert.ok(verifierBasisRef && coverageDigest); + await client.call("thread/goal/set", { + threadId: thread.id, objective: "Verify accepted behavior", + acceptanceCriteria: [{ id: "assertion", description: "Independent behavioral check", kind: "verification_passed", + verification: { checkId: "independent-check", verifierBasisRef, coverageDigest } }], + }); + const runCheck = async (plan: LingAppServerVerifyPlanResult) => { + const { operationId } = await client.call("verify/start", { + planId: plan.planId, planRevision: plan.planRevision, candidateDigest: plan.candidate.candidateDigest, idempotencyKey: randomUUID(), + }); + return waitFor(async () => { + const { operation } = await client.call("verify/status", { operationId }); + return operation.completedAt ? operation : undefined; + }); + }; + const complete = (connection: typeof client, operationId: string) => { + const evidence = { kind: "verification", id: operationId }; + return connection.call<{ goal: { status: string } }>("thread/goal/complete", { + threadId: thread.id, actor: "ling-agent", completionVerificationSummary: "Verified accepted behavior", + evidenceRefs: [evidence], acceptanceEvidence: [{ criterionId: "assertion", evidence }], + }); + }; + const original = await runCheck(planned); + assert.equal(original.status, "passed"); + assert.equal(original.checks[0].verifierBasisRef, verifierBasisRef); + assert.deepEqual(original.checks[0].producerRefs, planned.checks[0].producerRefs); + assert.match(original.checks[0].execution?.output ?? "", /verified accepted behavior/u); + + await writeFile(join(fixture.cwd, "candidate-test.cjs"), "console.log('changed candidate tests');\n"); + await assert.rejects(complete(client, original.operationId), /goal_verification_candidate_stale/u); + const ordinary = await runCheck(await createPlan(["test"])); + assert.equal(ordinary.status, "passed"); + assert.deepEqual(ordinary.checks[0].producerRefs, []); + await assert.rejects(complete(client, ordinary.operationId), /goal_verification_basis_mismatch/u); + + await writeFile(join(fixture.root, "trusted-check.cjs"), verifier + "\n"); + const drifted = await runCheck(await createPlan()); + assert.equal(drifted.status, "blocked"); + assert.deepEqual(drifted.checks[0].producerRefs, []); + await writeFile(join(fixture.root, "trusted-check.cjs"), verifier); + const verified = await runCheck(await createPlan()); + assert.equal(verified.status, "passed"); + await fixture.restart(); + const reconnected = await fixture.connect(); + assert.equal((await complete(reconnected, verified.operationId)).goal.status, "complete"); +}); + test("App Server submits a durable Turn through the configured Pi Runner and replays it after reconnect", { timeout: 30_000 }, async t => { const provider = await startLoopbackPiProvider(() => ({ text: "Runner accepted the task" })); t.after(() => provider.close()); @@ -1306,10 +1398,36 @@ test("candidate App Server recovers v0.6.1 Thread state and preserves legacy cli const { daemonUrl, authToken } = fixture.transportOptions(); const cli = fileURLToPath(new URL("../../cli/dist/index.js", import.meta.url)); - const { stdout } = await promisify(execFile)(process.execPath, [ - cli, "--cwd", fixture.cwd, "--daemon-url", daemonUrl, "app-server", "probe", - ], { env: { ...process.env, LING_STACK_AUTH_TOKEN: authToken }, timeout: 8_000 }); - assert.equal(JSON.parse(stdout).ok, true); + const callCli = async (...args: string[]) => { + const { stdout } = await promisify(execFile)(process.execPath, [ + cli, "--cwd", fixture.cwd, "--daemon-url", daemonUrl, "app-server", ...args, + ], { env: { ...process.env, LING_STACK_AUTH_TOKEN: authToken }, timeout: 8_000 }); + return JSON.parse(stdout); + }; + assert.equal((await callCli("probe")).ok, true); + const git = (...args: string[]) => execFileSync("git", args, { cwd: fixture.cwd, stdio: "ignore" }); + await writeFile(join(fixture.cwd, ".gitignore"), ".ling-stack/\n"); + await writeFile(join(fixture.cwd, "README.md"), "# Source compatibility fixture\n"); + git("init", "-q"); + git("add", ".gitignore", "README.md"); + git("-c", "user.name=Fixture", "-c", "user.email=fixture@example.test", "commit", "-qm", "CLI candidate"); + const draft = await callCli("instructions-init"); + assert.equal(draft.status, "draft"); + assert.equal(draft.draft.path, "AGENTS.md"); + await assert.rejects(readFile(join(fixture.cwd, "AGENTS.md")), { code: "ENOENT" }); + + const candidate = await current.captureChanges(); + const planned = await callCli("verify", "--plan", "--thread", thread.id, "--check", "unregistered-check"); + assert.equal(planned.operation, undefined); + assert.equal(planned.plan.candidate.candidateDigest, candidate.candidate.candidateDigest); + assert.equal(planned.plan.threadId, thread.id); + const started = await callCli("verify", "--thread", thread.id, "--check", "unregistered-check"); + const operation = await waitFor(async () => { + const result = await callCli("verify-status", started.operation.operationId); + return result.operation.completedAt ? result.operation : undefined; + }); + assert.equal(operation.candidateDigest, candidate.candidate.candidateDigest); + assert.deepEqual(operation.checks.map((check: { status: string }) => check.status), ["blocked"]); }); type JsonLine = { @@ -1356,18 +1474,25 @@ type ReleaseRuntime = { const candidateRuntime: ReleaseRuntime = { createDaemonServer, createSqliteRunStore, resolveStoragePaths }; async function releaseFixture(t: TestContext, { - runner, initialRuntime = candidateRuntime, harness, requireAuth = true, -}: { runner?: RunnerRegistrationInput; initialRuntime?: ReleaseRuntime; harness?: DaemonConfig["harness"]; requireAuth?: boolean } = {}) { + runner, initialRuntime = candidateRuntime, harness, requireAuth = true, verificationRecipes, +}: { + runner?: RunnerRegistrationInput; + initialRuntime?: ReleaseRuntime; + harness?: DaemonConfig["harness"]; + requireAuth?: boolean; + verificationRecipes?: (root: string, cwd: string) => Promise; +} = {}) { const root = await realpath(await mkdtemp(join(tmpdir(), "ling-as-"))); const cwd = join(root, "workspace"); await mkdir(cwd); + const appServerVerificationRecipes = await verificationRecipes?.(root, cwd); let authToken = randomUUID(); const priorLingHome = process.env.LING_STACK_HOME; process.env.LING_STACK_HOME = join(root, "fixture-home"); const stores = new Map(); const clients = new Set(); const makeDaemon = (runtime: ReleaseRuntime) => runtime.createDaemonServer({ - host: "127.0.0.1", port: 0, defaultWorkspaceCwd: cwd, authToken: requireAuth ? authToken : undefined, harness, + host: "127.0.0.1", port: 0, defaultWorkspaceCwd: cwd, authToken: requireAuth ? authToken : undefined, harness, appServerVerificationRecipes, }, { ...(runner ? { runnerRegistry: createRunnerRegistry([runner]) } : {}), chromeBrowserNativeMessagingEnabled: false, From aa734d5241e52ab8a7b8654b3233923419a2e16b Mon Sep 17 00:00:00 2001 From: tianxiaochannel-oss88 Date: Sun, 22 Nov 2026 12:48:44 +0800 Subject: [PATCH 002/147] feat(app-server): manage worktrees, scoped grants, and conversation handoffs --- .../design/ling-app-server-detailed-design.md | 3 + .../ling-app-server-implementation-plan.md | 9 +- packages/api-client/src/app-server.ts | 69 ++++++ packages/contracts/src/app-server.ts | 105 +++++++++ packages/contracts/src/threads.ts | 2 + packages/core/src/app-server-state-types.ts | 2 +- .../conversations/normal-conversation-fork.ts | 6 +- .../daemon/src/features/runs/thread-routes.ts | 2 +- .../features/teammates/direct-workspace.ts | 2 +- .../workspaces/worktree-management.ts | 42 +++- .../features/workspaces/worktree-recovery.ts | 3 +- .../src/server/app-server-authorization.ts | 141 ++++++++++++ .../daemon/src/server/app-server-handoff.ts | 125 +++++++++++ .../daemon/src/server/app-server-worktrees.ts | 128 +++++++++++ packages/daemon/src/server/rpc-outbound.ts | 7 +- packages/daemon/src/server/rpc.ts | 209 ++++++++++++++++-- .../app-server-release-acceptance.test.ts | 204 ++++++++++++++++- 17 files changed, 1018 insertions(+), 41 deletions(-) create mode 100644 packages/daemon/src/server/app-server-authorization.ts create mode 100644 packages/daemon/src/server/app-server-handoff.ts create mode 100644 packages/daemon/src/server/app-server-worktrees.ts diff --git a/docs/design/ling-app-server-detailed-design.md b/docs/design/ling-app-server-detailed-design.md index 9ed9b65f1..046993a06 100644 --- a/docs/design/ling-app-server-detailed-design.md +++ b/docs/design/ling-app-server-detailed-design.md @@ -34,6 +34,8 @@ App Server 作为 Daemon 的会话协议入口,以 `ling-app-server/1` 发布 用户通过本机受信管理入口创建连接配置,选定允许的工作区、操作范围、过期时间及适用的 Thread 或 Work Item 范围。配置名标记操作者与用途。服务端颁发独立、可撤销的凭据,仅返回授权摘要。存放凭据用现有本机秘密管理,运行日志和 URL 只记录公开配置 ID。WSS 客户端在 Upgrade 使用认证头。需要浏览器集成的宿主通过自己的受信后端或 Desktop 桥接保持认证。监听器校验配置的 Host/Origin,认证与 TLS 终止的位置随部署明确。现有移动端配对凭据按其自身用途管理。 +App Server grant 使用 `las1..` bearer 形式。Daemon 只在创建时接收 secret 的 SHA-256,持久状态只保存摘要。grant 绑定 workspace、Thread 或 Work Item subject,scope 取 `observe`、`control`、`approve` 和 `respond` 的子集,带独立过期时间和 revision。连接握手时用 grant 的 revision 参与 replay identity,连接中的每个请求重新检查 subject 和 scope。撤销会关闭同 workspace 的 grant 连接,旧 cursor、缓存的 answer authority 和新的副作用请求都失效。grant 不能创建或撤销其他 grant,也不能跨 subject 读取事件。 + [Ling Device Fabric](ling-device-fabric.md#5-cross-device-task-graph) 的项目节点继续引用其执行主机的 WorkUnit 与证据。App Server 的游标与权限绑定本 Daemon 的工作区。远端设备动作及其状态由对应主机的日志、授权与配对投影管理。 绑定以 Daemon 解析的规范化仓库、worktree 和当前授权版本为准。请求 ID 及客户端展示名用于关联与审计,可信 Actor 来自连接凭据。按操作取连接、工作区、目标 Work Item 或 Thread 和运行政策的交集。进入关联 Thread 的上下文还要核对它的访问授权。在受理、执行和提交决策前分别核对当前权属。撤销关闭对应订阅和新动作入口,已受理工作交由 Daemon 按其取消和恢复策略处置。 @@ -297,6 +299,7 @@ Goal 使用已接受的验收项。代码工作可以指定候选检查、检查 - Handoff 保存源 Thread/Turn/Goal、接受的目标与设计决定、候选和 worktree、已验证证据、待决请求/副作用、变更范围、阻塞及下一步。持久记录通过现有 artifact 与 Goal/Turn 归属。摘要引用原始任务及验收项。跨会话接手可以引用当前阶段简报、未决问答、工作项交接回执与所属 Workflow。审议引用证据板修订、封存结果和已记录的决定。 [阶段简报与交接](ling-agent-operating-model-detailed-design.md#57-plan-stages-and-stage-briefs) - `handoff/resume` 在新会话检查源是否可交接、worktree 版本与写入租约、候选、证据修订和当前授权。兼容则带版本接手,漂移则显示差异和需要重新验证的项。Runner 重启走已有 checkpoint 恢复,交接走普通 Turn 的新派发。多 Agent 使用现有 Workflow 归属、独立授权和可核对的产物合并。 - 每个开发任务记录 Provider、Runner、工作树和构建输入。调试长任务可看模型调用预算、失速原因和最近一个有证据的阶段。正常开发从稳定 Ling 使用独立 worktree 和 Agent 环境。候选 Daemon 和 UI 用独立数据、端口和测试配置启动。代码或配置需要换模型或 Runner 时,交接优先从明确的候选快照进入普通新任务。 +- `handoff/create` 只接受最新已收敛的普通 conversation Turn。它封存当前候选摘要、源 Turn/Run revision、Goal 进度、已接受计划和产物引用。`handoff/resume` 先复核这些摘要,再用普通 conversation fork 和受理收据创建一个子 Thread。重复请求复用同一 child Thread 和 Run,候选或源状态漂移返回 `handoff_stale`。 ### 3.5 Codex 控制宿主 diff --git a/docs/design/ling-app-server-implementation-plan.md b/docs/design/ling-app-server-implementation-plan.md index 0f0ea1d04..9f422f474 100644 --- a/docs/design/ling-app-server-implementation-plan.md +++ b/docs/design/ling-app-server-implementation-plan.md @@ -20,6 +20,9 @@ - 内置 `init-project-instructions` 和 `verify-current-changes` 技能通过 CLI 预览项目约定、捕获候选、生成计划、启动检查并读取状态。应用初始化草稿需要当前预览 revision 和 operator 授权。 - Host 登记的 Verify 配方可以选择受影响路径,并把独立 verifier source 的摘要、coverage 和 producer refs 封存到每个检查结果。 - Goal 的 `verification_passed` 条件要求同一 Thread 的已完成 Verify operation、当前候选摘要、匹配的 verifier basis、coverage 和 producer refs。候选漂移、检查来源漂移、缺少独立证据和过期的接受版本都会阻止完成。 +- App Server 可以为已绑定的频道或队友会话创建、刷新和归档托管工作树。归档按检视过的候选和目录身份校验,恢复日志保留同一预览请求的归档快照。 +- 普通会话可从最新已收敛的 Turn 封存 Handoff。记录包含候选、原 Goal 进度、接受的计划和产物引用。接手通过正常会话分支和提交受理复用原回执。候选、Goal 或计划变化时需要更新 Handoff。 +- App Server operator grant 支持 workspace、Thread 和 Work Item 范围,按 scope 分开观察、控制、审批和答复权限。grant 的 revision、过期和撤销参与握手、请求和推送路径。 - CLI 和 TypeScript client 可以直接进入上述流程。Daemon 重启、重复请求、取消未确认和未知配方仍保持已有的持久回执语义。 | 工作包 | 已验证场景与证据边界 | @@ -39,9 +42,9 @@ | 工作包 | 代码或验收差距 | | --- | --- | -| A1、B1、C1、C2 | 全方法的 Schema 校验、细粒度按身份授予的控制和审批范围、认证 WSS。App Server 目标游标已绑定存储代次、授权代次和目标,现有兼容用例覆盖本机的上一版源码与候选组合。 | -| D1、D2、E1、E2 | 开工时的项目规则加载、两个开发 Skill、工作区 Verify 和独立 verifier basis 已接入。仍需运行中进入新目录的局部规则、完整工作树 App Server 方法、浏览器/平台配方、可信 GitHub CI 结果进入 Goal 验收,以及 UI 运行报告。 | -| F1、F2 | 跨会话 Handoff 的执行归属与接手恢复。已有 Codex MCP 联调,双端宿主界面和授权变更后重订阅需要实测。 | +| A1、B1、C1、C2 | 全方法的 Schema 校验、远程认证 WSS 和更多宿主兼容组合。workspace、Thread、Work Item 的 grant 范围已接入,审批和用户答复仍需按不同真实宿主和远程部署做验收。App Server 目标游标已绑定存储代次、授权代次和目标,现有兼容用例覆盖本机的上一版源码与候选组合。 | +| D1、D2、E1、E2 | 开工时的项目规则加载、两个开发 Skill、工作区 Verify、独立 verifier basis 和托管工作树管理已接入。仍需运行中进入新目录的局部规则、候选补丁的应用预览和提交、浏览器/平台配方、可信 GitHub CI 结果进入 Goal 验收,以及 UI 运行报告。 | +| F1、F2 | 普通会话已接入 Handoff 的候选封存和接手。仍需跨 Agent Workflow 的执行归属和预算承接。已有 Codex MCP 联调,双端宿主界面和授权变更后重订阅需要实测。 | | O1、O3–O9 | 跨入口任务归并和首次派发、自治策略、GitHub 交付、经验与设备反馈、阶段和定时轮次、在途改计划、交接和审议裁决。现有协作记录的持久化、版本冲突和回放已验证,原 Workflow/Automation 执行与联合验收还要接通。 | | G | 自研切换和回退日志对账、签名安装产物、远程 WSS 和三个真实 Provider 自研试点。macOS 打包预检仍缺当前打包输入的 Office 审查、对应 Electron/OS 的受限运行时审查和 gstack 平台资源。T01 离线预检达到评审条件,真实试点仍需按 Framework Assurance 准入。 | diff --git a/packages/api-client/src/app-server.ts b/packages/api-client/src/app-server.ts index 914d0fd3d..c17e8c0d2 100644 --- a/packages/api-client/src/app-server.ts +++ b/packages/api-client/src/app-server.ts @@ -21,6 +21,13 @@ import type { LingAppServerExternalAgentTaskReconnectResult, LingAppServerExternalAgentTaskStartParams, LingAppServerExternalAgentTaskStartResult, + LingAppServerGrant, + LingAppServerGrantCreateParams, + LingAppServerHandoffCreateParams, + LingAppServerHandoffReadParams, + LingAppServerHandoffResumeParams, + LingAppServerHandoffResumeResult, + LingAppServerHandoffResult, LingAppServerInitializeParams, LingAppServerInitializeResult, LingAppServerInputRespondParams, @@ -57,6 +64,13 @@ import type { LingAppServerWorkItemCollaborationAppendResult, LingAppServerWorkItemCollaborationReadParams, LingAppServerWorkItemCollaborationReadResult, + LingAppServerWorktreeTarget, + LingAppServerWorktreeCreateParams, + LingAppServerWorktreeResult, + LingAppServerWorktreeCleanupParams, + LingAppServerWorktreeCleanupPreview, + LingAppServerWorktreeCleanupResult, + ManagedWorktreeListResponse, } from "@ling-stack/contracts"; export interface LingAppServerSocket { @@ -158,6 +172,21 @@ export class LingAppServerClient { return await this.request("thread/read", { threadId }); } + async createGrant(params: LingAppServerGrantCreateParams): Promise<{ cwd: string; grant: LingAppServerGrant }> { + await this.connect(); + return await this.request("server/grants/create", params); + } + + async listGrants(): Promise<{ cwd: string; grants: readonly LingAppServerGrant[] }> { + await this.connect(); + return await this.request("server/grants/list", {}); + } + + async revokeGrant(grantId: string, expectedRevision: number): Promise<{ cwd: string; grant: LingAppServerGrant }> { + await this.connect(); + return await this.request("server/grants/revoke", { grantId, expectedRevision }); + } + async readThreadSnapshot(params: LingAppServerThreadSnapshotParams): Promise { await this.connect(); return await this.request("thread/snapshot", params); @@ -168,6 +197,21 @@ export class LingAppServerClient { return await this.request("context/inspect", params); } + async createHandoff(params: LingAppServerHandoffCreateParams): Promise { + await this.connect(); + return await this.request("handoff/create", params); + } + + async readHandoff(params: LingAppServerHandoffReadParams): Promise { + await this.connect(); + return await this.request("handoff/read", params); + } + + async resumeHandoff(params: LingAppServerHandoffResumeParams): Promise { + await this.connect(); + return await this.request("handoff/resume", params); + } + async readThreadEvents(params: { readonly threadId: string; readonly cursor?: string; readonly limit?: number }): Promise { await this.connect(); return await this.request("thread/events/read", params); @@ -238,6 +282,31 @@ export class LingAppServerClient { return await this.request("changes/capture", {}); } + async listWorktrees(): Promise { + await this.connect(); + return await this.request("worktree/list", {}); + } + + async createWorktree(params: LingAppServerWorktreeCreateParams): Promise { + await this.connect(); + return await this.request("worktree/create", params); + } + + async refreshWorktree(params: LingAppServerWorktreeTarget): Promise { + await this.connect(); + return await this.request("worktree/refresh", params); + } + + async previewWorktreeCleanup(params: LingAppServerWorktreeTarget): Promise { + await this.connect(); + return await this.request("worktree/cleanup/preview", params); + } + + async cleanupWorktree(params: LingAppServerWorktreeCleanupParams): Promise { + await this.connect(); + return await this.request("worktree/cleanup", params); + } + async planVerification(params: LingAppServerVerifyPlanParams): Promise { await this.connect(); return await this.request("verify/plan", params); diff --git a/packages/contracts/src/app-server.ts b/packages/contracts/src/app-server.ts index f3ae14e90..35ab098cf 100644 --- a/packages/contracts/src/app-server.ts +++ b/packages/contracts/src/app-server.ts @@ -4,6 +4,7 @@ import type { ConversationContextProjectionMetadata } from "./conversation-conti import type { RunSession } from "./runtime.js"; import type { LingThread, LingThreadGoal } from "./threads.js"; import type { LingTurn, LingTurnRun } from "./turns.js"; +import type { ManagedWorktreeEntry, ManagedWorktreeOwnerKind, WorktreeRecoverySnapshot } from "./worktrees.js"; import type { UserInputAnswerAcceptedResponseV1, UserInputAnswerCommandV1 } from "./user-input.js"; import type { UserInputRequestTranscriptV1 } from "./user-input-transcript.js"; @@ -62,6 +63,9 @@ export const LING_APP_SERVER_METHODS = [ "initialize", "server/capabilities", "server/ping", + "server/grants/create", + "server/grants/list", + "server/grants/revoke", "workspace/list", "workspace/read", "worktree/list", @@ -178,6 +182,33 @@ export const LING_APP_SERVER_METHODS = [ export type LingAppServerMethod = (typeof LING_APP_SERVER_METHODS)[number]; +export const LING_APP_SERVER_GRANT_SCOPES = ["observe", "control", "approve", "respond"] as const; +export type LingAppServerGrantScope = (typeof LING_APP_SERVER_GRANT_SCOPES)[number]; + +export type LingAppServerGrantSubject = + | { readonly kind: "workspace" } + | { readonly kind: "thread" | "workItem"; readonly id: string }; + +export interface LingAppServerGrant { + readonly grantId: string; + readonly label: string; + readonly subject: LingAppServerGrantSubject; + readonly scopes: readonly LingAppServerGrantScope[]; + readonly revision: number; + readonly createdAt: string; + readonly expiresAt: string; + readonly revokedAt?: string; +} + +export interface LingAppServerGrantCreateParams { + readonly label: string; + readonly subject: LingAppServerGrantSubject; + readonly scopes: readonly LingAppServerGrantScope[]; + readonly expiresAt: string; + readonly credentialSha256: string; + readonly idempotencyKey: string; +} + export const LING_APP_SERVER_NOTIFICATION_METHODS = [ "initialized", "thread/started", @@ -630,6 +661,80 @@ export interface LingAppServerCaptureChangesResult { readonly headCommit: string; } +export interface LingAppServerWorktreeTarget { + readonly cwd?: string; + readonly ownerKind: ManagedWorktreeOwnerKind; + readonly ownerId: string; +} + +export interface LingAppServerWorktreeCreateParams extends LingAppServerWorktreeTarget { + readonly baseBranch?: string; +} + +export interface LingAppServerWorktreeResult { + readonly cwd: string; + readonly entry: ManagedWorktreeEntry; +} + +export interface LingAppServerWorktreeCleanupPreview extends LingAppServerWorktreeResult { + readonly expectedRevision: string; +} + +export interface LingAppServerWorktreeCleanupParams extends LingAppServerWorktreeTarget { + readonly expectedRevision: string; + readonly confirmed: true; +} + +export interface LingAppServerWorktreeCleanupResult extends LingAppServerWorktreeResult { + readonly snapshot: WorktreeRecoverySnapshot; +} + +export interface LingAppServerHandoffCreateParams { + readonly cwd?: string; + readonly threadId: string; + readonly turnId: string; + readonly idempotencyKey: string; + readonly nextInstruction: string; +} + +export interface LingAppServerHandoffReadParams { + readonly cwd?: string; + readonly handoffId: string; +} + +export interface LingAppServerHandoffResumeParams extends LingAppServerHandoffReadParams { + readonly providerPresetId: string; +} + +export interface LingAppServerHandoff { + readonly handoffId: string; + readonly sourceThreadId: string; + readonly sourceTurnId: string; + readonly sourceRunId: string; + readonly sourceTurnRevision: string; + readonly createdAt: string; + readonly candidate: LingAppServerCandidateReference; + readonly nextInstruction: string; + readonly goal?: Pick; + readonly plan?: { readonly id: string; readonly revision: number }; + readonly artifactIds: readonly string[]; +} + +export interface LingAppServerHandoffResult { + readonly cwd: string; + readonly handoff: LingAppServerHandoff; +} + +export interface LingAppServerHandoffResumeResult { + readonly cwd: string; + readonly handoffId: string; + readonly thread: LingThread; + readonly turn?: LingTurn; + readonly run?: RunSession; + readonly replayed: boolean; +} + export type LingAppServerVerificationCheckKind = "command" | "test" | "typecheck" | "browser" | "platform"; export type LingAppServerVerificationCheckStatus = | "pending" diff --git a/packages/contracts/src/threads.ts b/packages/contracts/src/threads.ts index 6b269ba7c..6791b7dc6 100644 --- a/packages/contracts/src/threads.ts +++ b/packages/contracts/src/threads.ts @@ -26,6 +26,8 @@ export type LingThreadGoalCompletionActor = "local-user" | "ling-agent"; export type GoalUsageSource = "provider" | "estimated" | "mixed"; export type GoalContinuationStopReason = | "max_depth" + | "time_budget" + | "supervision_disabled" | "no_evidence_threshold" | "same_blocker_threshold" | "plan_mode_active" diff --git a/packages/core/src/app-server-state-types.ts b/packages/core/src/app-server-state-types.ts index 9c45b57dc..bdef8c037 100644 --- a/packages/core/src/app-server-state-types.ts +++ b/packages/core/src/app-server-state-types.ts @@ -2,7 +2,7 @@ import type { ControlPlaneEvent } from "./run-types.js"; export type AppServerStateKind = "verify_plan" | "verify_operation" | "review_submission" | "review_finding_update" | "simplify_submission" | "external_federation" | "work_item_creation" | "work_item_acceptance" | "work_item_control" - | "replay_identity"; + | "replay_identity" | "handoff" | "authorization_grant"; export interface AppServerStateRecord { readonly workspaceId: string; diff --git a/packages/daemon/src/features/conversations/normal-conversation-fork.ts b/packages/daemon/src/features/conversations/normal-conversation-fork.ts index 6538c8c2c..63c0e3daa 100644 --- a/packages/daemon/src/features/conversations/normal-conversation-fork.ts +++ b/packages/daemon/src/features/conversations/normal-conversation-fork.ts @@ -23,7 +23,7 @@ export function createNormalConversationThreadFork(input: { const { store, sourceThread, body } = input; const value = isRecord(body) ? body : {}; const key = readOptionalString(value, "idempotencyKey")?.trim(); - const childThreadId = key ? `thread_normal_fork_${createHash("sha256").update(JSON.stringify([sourceThread.id, key])).digest("hex")}` + const childThreadId = key ? normalConversationForkId(sourceThread.id, key) : `thread_normal_fork_${randomUUID()}`; try { const existing = store.getLingThread(childThreadId); @@ -49,6 +49,10 @@ export function createNormalConversationThreadFork(input: { } } +export function normalConversationForkId(parentThreadId: string, key: string): string { + return `thread_normal_fork_${createHash("sha256").update(JSON.stringify([parentThreadId, key])).digest("hex")}`; +} + /** Normal fork-run uses the same canonical acceptance and first-winner preparation as ordinary input. */ export function prepareNormalConversationForkRun(input: { readonly store: RunStore; readonly fork: NormalFork; readonly instruction: string; readonly operationKey: string; readonly now: string; diff --git a/packages/daemon/src/features/runs/thread-routes.ts b/packages/daemon/src/features/runs/thread-routes.ts index 474cc491a..1812bb392 100644 --- a/packages/daemon/src/features/runs/thread-routes.ts +++ b/packages/daemon/src/features/runs/thread-routes.ts @@ -968,7 +968,7 @@ async function handleLingThreadResume( } } -function createLingThreadFork(input: { +export function createLingThreadFork(input: { readonly store: RunStore; readonly sourceThread: LingThread; readonly body: unknown; diff --git a/packages/daemon/src/features/teammates/direct-workspace.ts b/packages/daemon/src/features/teammates/direct-workspace.ts index 3b6277a5a..5f97ff2a7 100644 --- a/packages/daemon/src/features/teammates/direct-workspace.ts +++ b/packages/daemon/src/features/teammates/direct-workspace.ts @@ -395,7 +395,7 @@ async function readHandoffBinding( return await refreshDirectWorkspaceBinding({ ...thread, workspaceBinding: existing }, workspaceCwd, workspacePaths, now); } -async function createManagedDirectWorktreeBinding( +export async function createManagedDirectWorktreeBinding( thread: DirectWorktreeTarget, workspaceCwd: string, workspacePaths: LingStackRuntimePaths, diff --git a/packages/daemon/src/features/workspaces/worktree-management.ts b/packages/daemon/src/features/workspaces/worktree-management.ts index 047b0a662..c3903e455 100644 --- a/packages/daemon/src/features/workspaces/worktree-management.ts +++ b/packages/daemon/src/features/workspaces/worktree-management.ts @@ -91,26 +91,46 @@ export async function listManagedWorktrees(store: RunStore, cwd: string): Promis const policy = store.getWorkspaceSettings().worktreePolicy ?? { fetchBeforeCreate: false }; const entries: ManagedWorktreeEntry[] = []; for (let i = 0; i < owned.entries.length; i += 4) { - entries.push(...await Promise.all(owned.entries.slice(i, i + 4).map(async (owner): Promise => { - const path = owner.path; - const inspection = await inspectOwnedWorktree(store, owner); - return { ownerKind: owner.kind, ownerId: owner.id, ownerName: owner.name, path, branchName: owner.binding.branchName, - status: !inspection.exists && owner.binding.status === "not_created" ? "not_created" : inspection.status, - isDirty: inspection.isDirty, inUse: inUse(store, path), pinned: owner.pinned, - kept: (policy.protectedOwners ?? []).some((item) => item.ownerKind === owner.kind && item.ownerId === owner.id), lastUsedAt: owner.lastUsedAt, - initialization: publicInitialization(inspection.initialization), errorMessage: inspection.status === "blocked" ? inspection.errorMessage : undefined }; - }))); + entries.push(...await Promise.all(owned.entries.slice(i, i + 4).map(owner => projectWorktreeEntry(store, owner)))); } return { cwd, policy: redactWorktreePolicy(policy)!, defaultRootDir: store.paths.worktreesDir, effectiveRootDir: worktreeRoot(store.paths, policy), snapshots: await listWorktreeSnapshots(store.paths), entries, limitReached: owned.limitReached }; } +async function projectWorktreeEntry(store: RunStore, owner: OwnedWorktree): Promise { + const path = owner.path; + const inspection = await inspectOwnedWorktree(store, owner); + const protectedOwners = store.getWorkspaceSettings().worktreePolicy?.protectedOwners ?? []; + return { + ownerKind: owner.kind, ownerId: owner.id, ownerName: owner.name, path, branchName: owner.binding.branchName, + status: !inspection.exists && owner.binding.status === "not_created" ? "not_created" : inspection.status, + isDirty: inspection.isDirty, inUse: inUse(store, path), pinned: owner.pinned, + kept: protectedOwners.some(item => item.ownerKind === owner.kind && item.ownerId === owner.id), lastUsedAt: owner.lastUsedAt, + initialization: publicInitialization(inspection.initialization), errorMessage: inspection.status === "blocked" ? inspection.errorMessage : undefined, + }; +} + +export async function readManagedWorktreeEntry( + store: RunStore, target: Pick, +): Promise { + const owner = owners(store).entries.find(item => item.kind === target.ownerKind && item.id === target.ownerId); + if (!owner) throw new WorktreeActionError("worktree_not_found", "未找到 Ling 托管的工作树。"); + return projectWorktreeEntry(store, owner); +} + +export function findManagedTeammateWorktreeOwner(store: RunStore, id: string) { + return allPages(offset => store.listTeammateDirectThreads({ limit: 500, offset })).find(thread => thread.id === id); +} + export async function actOnManagedWorktree(store: RunStore, cwd: string, input: ManagedWorktreeActionRequest): Promise { return coordinateWorktreeMutation(store, () => actOnManagedWorktreeLocked(store, cwd, input)); } /** Caller owns the workspace mutation queue; the durable fence also blocks Run admission. */ -export async function actOnManagedWorktreeLocked(store: RunStore, cwd: string, input: ManagedWorktreeActionRequest, automatic = false, initializationApproval?: InitializationApproval): Promise { +export async function actOnManagedWorktreeLocked(store: RunStore, cwd: string, + input: ManagedWorktreeActionRequest & { readonly archiveId?: string }, automatic = false, + initializationApproval?: InitializationApproval, +): Promise { await recoverWorktreeOperations(store); store.assertWorkspaceSnapshotFence(cwd); const owner = owners(store).entries.find((entry) => entry.kind === input.ownerKind && entry.id === input.ownerId); @@ -161,7 +181,7 @@ export async function actOnManagedWorktreeLocked(store: RunStore, cwd: string, i if (inspection.initialization?.status === "running") throw new WorktreeActionError("worktree_in_use", "工作树初始化尚未结束。"); if (automatic && inspection.isDirty) throw new WorktreeActionError("worktree_dirty", "包含未提交改动的工作树保留。"); await archiveWorktree(store, { repoRoot: identity.repoRoot, path, branchName: owner.binding.branchName ?? "", ownerKind: owner.kind, ownerId: owner.id, - ownerName: owner.name, expectedIdentity: identity, assertIdle, finalize: assertIdle }); + ownerName: owner.name, expectedIdentity: identity, archiveId: input.archiveId, assertIdle, finalize: assertIdle }); } if (input.action === "restore" || input.action === "cleanup") return path; const inspection = await inspectManagedWorktree(path); diff --git a/packages/daemon/src/features/workspaces/worktree-recovery.ts b/packages/daemon/src/features/workspaces/worktree-recovery.ts index b67a8ca67..8d929da2e 100644 --- a/packages/daemon/src/features/workspaces/worktree-recovery.ts +++ b/packages/daemon/src/features/workspaces/worktree-recovery.ts @@ -70,11 +70,12 @@ export async function archiveWorktree(store: WorktreeLifecycleStore, input: { readonly repoRoot: string; readonly path: string; readonly branchName: string; readonly ownerKind: "channel" | "teammate"; readonly ownerId: string; readonly ownerName: string; readonly expectedIdentity?: ManagedWorktreeIdentity; + readonly archiveId?: string; readonly assertIdle: () => void; readonly finalize?: (record: WorktreeRecoverySnapshot, fence: { readonly ownerRequestId: string; readonly epoch: number }) => void | Promise; }): Promise { const identity = await assertOwnedLinkedWorktree(input.repoRoot, input.path, input.branchName, input.expectedIdentity); - const id = `${WORKTREE_FENCE_PREFIX}${randomUUID()}`; + const id = input.archiveId ?? `${WORKTREE_FENCE_PREFIX}${randomUUID()}`; let record: RecoveryRecord = { id, ownerKind: input.ownerKind, ownerId: input.ownerId, ownerName: input.ownerName, originalPath: resolve(input.path), snapshotPath: join(dirname(resolve(input.path)), ".ling-recovery", id), branchName: input.branchName, ...identity, createdAt: new Date().toISOString(), state: "prepared" }; diff --git a/packages/daemon/src/server/app-server-authorization.ts b/packages/daemon/src/server/app-server-authorization.ts new file mode 100644 index 000000000..bbb6b055c --- /dev/null +++ b/packages/daemon/src/server/app-server-authorization.ts @@ -0,0 +1,141 @@ +import { createHash, randomUUID, timingSafeEqual } from "node:crypto"; +import { + LING_APP_SERVER_GRANT_SCOPES, + type LingAppServerGrant, + type LingAppServerGrantScope, + type LingAppServerGrantSubject, +} from "@ling-stack/contracts"; +import type { RunStore } from "@ling-stack/core"; +import { HttpError } from "../errors.js"; +import { isRecord } from "../shared/validation.js"; + +interface GrantRecord { + readonly grant: LingAppServerGrant; + readonly credentialSha256: string; +} + +export const appServerGrantBearerPrefix = "Bearer las1."; +const grantCredential = /^Bearer las1\.([a-f0-9-]{36})\.([a-f0-9]{64})$/u; +const sha256 = (value: string) => createHash("sha256").update(value).digest("hex"); + +export function authenticateAppServerGrant(store: RunStore, authorization: string): LingAppServerGrant | undefined { + const match = grantCredential.exec(authorization); + if (!match) return undefined; + const record = readGrant(store, match[1]); + if (!record || !grantActive(record.grant)) return undefined; + return timingSafeEqual(Buffer.from(sha256(match[2]), "hex"), Buffer.from(record.credentialSha256, "hex")) + ? record.grant : undefined; +} + +export function appServerGrantStillActive(store: RunStore, grant: LingAppServerGrant): boolean { + const current = readGrant(store, grant.grantId)?.grant; + return current?.revision === grant.revision && grantActive(current); +} + +function grantActive(grant: LingAppServerGrant): boolean { + return !grant.revokedAt && Date.parse(grant.expiresAt) > Date.now(); +} + +function readGrant(store: RunStore, grantId: string): GrantRecord | undefined { + return store.getAppServerState("authorization_grant", grantId)?.payload as GrantRecord | undefined; +} + +export function createAppServerGrant(store: RunStore, input: Record): LingAppServerGrant { + const { label, subject, scopes, expiresAt, credentialSha256, idempotencyKey } = input; + const expires = typeof expiresAt === "string" ? Date.parse(expiresAt) : Number.NaN; + if (typeof label !== "string" || !label.trim() || label.length > 160 + || typeof idempotencyKey !== "string" || !idempotencyKey.trim() || idempotencyKey.length > 200 || /[\r\n]/u.test(idempotencyKey) + || typeof credentialSha256 !== "string" || !/^[a-f0-9]{64}$/u.test(credentialSha256) + || !Array.isArray(scopes) || !scopes.length || scopes.length > LING_APP_SERVER_GRANT_SCOPES.length + || scopes.some(scope => !LING_APP_SERVER_GRANT_SCOPES.includes(scope)) || new Set(scopes).size !== scopes.length + || !Number.isFinite(expires) || expires <= Date.now()) { + throw new HttpError(400, "invalid_params", "Supply a label, scopes, future expiry, credential digest and idempotency key."); + } + const validatedSubject = grantSubject(store, subject); + if (validatedSubject.kind === "workItem" && (scopes.includes("approve") || scopes.includes("respond"))) { + throw new HttpError(400, "invalid_params", "Approval and input scopes require a Thread or workspace grant."); + } + const grant: LingAppServerGrant = { + grantId: randomUUID(), label: label.trim(), subject: validatedSubject, + scopes: [...scopes].sort(), revision: 1, createdAt: new Date().toISOString(), expiresAt: new Date(expires).toISOString(), + }; + const record: GrantRecord = { grant, credentialSha256 }; + const retained = store.putAppServerState({ + kind: "authorization_grant", recordId: grant.grantId, expectedRevision: 0, idempotencyKey, + replayByIdempotencyKey: true, payload: record, + }, grant.createdAt); + if (!retained) throw new HttpError(409, "grant_conflict", "The App Server grant could not be committed."); + const saved = retained.record.payload as GrantRecord; + if (saved.credentialSha256 !== credentialSha256 || saved.grant.label !== grant.label || saved.grant.expiresAt !== grant.expiresAt + || JSON.stringify(saved.grant.scopes) !== JSON.stringify(grant.scopes) || JSON.stringify(saved.grant.subject) !== JSON.stringify(grant.subject)) { + throw new HttpError(409, "idempotency_conflict", "The grant key belongs to a different request."); + } + return saved.grant; +} + +function grantSubject(store: RunStore, value: unknown): LingAppServerGrantSubject { + if (isRecord(value)) { + if (value.kind === "workspace") return { kind: "workspace" }; + if (typeof value.id === "string" && (value.kind === "thread" && store.getLingThread(value.id) + || value.kind === "workItem" && store.getWorkItem(value.id))) return { kind: value.kind, id: value.id }; + } + throw new HttpError(400, "invalid_params", "The grant subject must exist in the bound workspace."); +} + +export function listAppServerGrants(store: RunStore): readonly LingAppServerGrant[] { + return store.listAppServerState("authorization_grant").map(record => (record.payload as GrantRecord).grant); +} + +export function revokeAppServerGrant(store: RunStore, grantId: string, expectedRevision: number): LingAppServerGrant { + const saved = store.getAppServerState("authorization_grant", grantId); + if (!saved) throw new HttpError(404, "grant_not_found", "The App Server grant was not found."); + const record = saved.payload as GrantRecord; + if (record.grant.revokedAt && expectedRevision === saved.revision - 1) return record.grant; + if (saved.revision !== expectedRevision || record.grant.revokedAt) throw new HttpError(409, "stale_revision", "The App Server grant revision changed."); + const revokedAt = new Date().toISOString(); + const grant: LingAppServerGrant = { ...record.grant, revision: saved.revision + 1, revokedAt }; + if (!store.putAppServerState({ kind: "authorization_grant", recordId: grantId, expectedRevision, + payload: { ...record, grant } }, revokedAt)) throw new HttpError(409, "stale_revision", "The App Server grant revision changed."); + return grant; +} + +const serverMethods = new Set(["initialize", "server/ping", "server/capabilities"]); +const threadReads = new Set([ + "thread/read", "thread/resume", "thread/snapshot", "thread/turns/list", "thread/items/list", "thread/events/read", + "thread/subscribe", "thread/unsubscribe", "thread/mode/get", "thread/goal/get", "item/read", "context/inspect", +]); +const threadControls = new Set(["turn/start", "turn/queue", "turn/interrupt", "turn/resume"]); +const workItemReads = new Set([ + "workItem/read", "workItem/subscribe", "workItem/unsubscribe", "workItem/evidence/read", "workItem/collaboration/read", + "workItem/stage/read", "workItem/stage/brief/read", "workItem/coordination/read", "workItem/deliberation/read", + "workItem/message/read", "workItem/message/list", "workItem/question/read", "workItem/handoff/read", +]); +const workItemControls = new Set(["workItem/pause", "workItem/resume", "workItem/cancel"]); + +export function grantAllowsMethod(grant: LingAppServerGrant, method: string): boolean { + if (serverMethods.has(method)) return true; + const hasScope = (scope: LingAppServerGrantScope) => grant.scopes.includes(scope); + const thread = grant.subject.kind !== "workItem"; + const workItem = grant.subject.kind !== "thread"; + if (thread && threadReads.has(method) || workItem && workItemReads.has(method)) return hasScope("observe"); + if (thread && threadControls.has(method) || workItem && workItemControls.has(method)) return hasScope("control"); + if (thread && method === "approval/respond") return hasScope("approve"); + if (thread && method === "input/respond") return hasScope("respond"); + return false; +} + +export function grantAllowsRequest(store: RunStore, grant: LingAppServerGrant, method: string, input: Record): boolean { + if (!grantAllowsMethod(grant, method)) return false; + const subject = grant.subject; + if (subject.kind === "workspace" || serverMethods.has(method) || method.endsWith("/unsubscribe")) return true; + if (subject.kind === "workItem") return input.workItemId === subject.id; + if (method === "approval/respond") { + const approval = typeof input.approvalId === "string" ? store.getApprovalRequest(input.approvalId) : undefined; + return !!approval?.runId && store.getRun(approval.runId)?.threadId === subject.id; + } + if (method === "input/respond") return isRecord(input.authority) && input.authority.threadId === subject.id; + if (method === "turn/resume") { + return typeof input.turnId === "string" && store.getLingTurn(input.turnId)?.threadId === subject.id; + } + return input.threadId === subject.id; +} diff --git a/packages/daemon/src/server/app-server-handoff.ts b/packages/daemon/src/server/app-server-handoff.ts new file mode 100644 index 000000000..36b978f06 --- /dev/null +++ b/packages/daemon/src/server/app-server-handoff.ts @@ -0,0 +1,125 @@ +import { createHash, randomUUID } from "node:crypto"; +import { realpath } from "node:fs/promises"; +import type { LingAppServerHandoff, LingAppServerHandoffCreateParams } from "@ling-stack/contracts"; +import { DEFAULT_WORKSPACE_ID, type RunStore } from "@ling-stack/core"; +import type { DaemonContext } from "../context.js"; +import { HttpError } from "../errors.js"; +import { captureCodeAssessmentSnapshot } from "../features/code-assessments/snapshot.js"; +import { trimOversizedEvent } from "../features/control-plane/events.js"; +import { continuationSourceReady } from "../runtime/continuation-source-barrier.js"; + +interface HandoffRecord { + readonly fingerprint: string; + readonly handoff: LingAppServerHandoff; +} + +export async function createAppServerHandoff( + context: DaemonContext, store: RunStore, input: LingAppServerHandoffCreateParams, +): Promise { + const { threadId, turnId, idempotencyKey, nextInstruction } = input; + const cwd = store.paths.cwd; + if (!idempotencyKey.trim() || idempotencyKey.length > 200 || /[\r\n]/u.test(idempotencyKey) + || !nextInstruction.trim() || nextInstruction.length > 8192) { + throw new HttpError(400, "invalid_params", "Supply the handoff instruction and a non-empty idempotency key."); + } + const fingerprint = createHash("sha256").update(JSON.stringify([threadId, turnId, nextInstruction])).digest("hex"); + const replay = (payload: unknown) => { + const record = payload as HandoffRecord; + if (record.fingerprint !== fingerprint) { + throw new HttpError(409, "idempotency_conflict", "The handoff key belongs to a different request."); + } + if (!store.getLingThread(threadId)) { + throw new HttpError(404, "handoff_not_found", "The source of the handoff is no longer available."); + } + return record.handoff; + }; + const existing = store.findAppServerStateByIdempotencyKey("handoff", idempotencyKey); + if (existing) return replay(existing.payload); + const candidate = await captureHandoffCandidate(cwd); + const { turn, run, goal, plan } = handoffSource(context, store, threadId, turnId); + if (await realpath(run.cwd) !== cwd) { + throw new HttpError(409, "workspace_binding_invalid", "The handoff source ran in a different worktree."); + } + const handoff: LingAppServerHandoff = { + handoffId: `handoff_${randomUUID()}`, + sourceThreadId: threadId, sourceTurnId: turnId, sourceTurnRevision: turn.updatedAt, sourceRunId: run.id, + candidate, nextInstruction, plan, + createdAt: new Date().toISOString(), + artifactIds: store.listArtifacts(run.id).slice(0, 32).map(artifact => artifact.id), + ...(goal ? { goal: { + id: goal.id, objective: goal.objective, updatedAt: goal.updatedAt, status: goal.status, + completionEvidenceRefs: goal.completionEvidenceRefs.slice(0, 32), tokenBudget: goal.tokenBudget, + tokensUsed: goal.tokensUsed, continuationDepth: goal.continuationDepth, blockedReason: goal.blockedReason, + lastContinuationStopReason: goal.lastContinuationStopReason, + } } : {}), + }; + const saved = store.putAppServerState({ + kind: "handoff", recordId: handoff.handoffId, expectedRevision: 0, idempotencyKey, + replayByIdempotencyKey: true, payload: { fingerprint, handoff } satisfies HandoffRecord, + }, handoff.createdAt, { + workspaceId: DEFAULT_WORKSPACE_ID, cwd, domain: "runs", entityType: "handoff", + entityId: handoff.handoffId, action: "handoff.created", + data: { threadId, turnId, runId: run.id, handoffId: handoff.handoffId, candidateDigest: candidate.candidateDigest }, + }); + if (!saved) throw new HttpError(409, "handoff_conflict", "The handoff could not be recorded."); + if (saved.event) context.controlPlaneEvents.publish(trimOversizedEvent(saved.event)); + return saved.status === "replayed" ? replay(saved.record.payload) : handoff; +} + +export function readAppServerHandoff(store: RunStore, handoffId: string): LingAppServerHandoff { + const record = store.getAppServerState("handoff", handoffId)?.payload as HandoffRecord | undefined; + if (!record || !store.getLingThread(record.handoff.sourceThreadId)) { + throw new HttpError(404, "handoff_not_found", "The handoff is unavailable in this workspace."); + } + return record.handoff; +} + +export async function checkAppServerHandoff(context: DaemonContext, store: RunStore, handoff: LingAppServerHandoff) { + const candidate = await captureHandoffCandidate(store.paths.cwd); + const source = handoffSource(context, store, handoff.sourceThreadId, handoff.sourceTurnId); + if (candidate.candidateDigest !== handoff.candidate.candidateDigest || source.turn.updatedAt !== handoff.sourceTurnRevision + || source.run.id !== handoff.sourceRunId || source.goal?.id !== handoff.goal?.id || source.goal?.updatedAt !== handoff.goal?.updatedAt + || source.plan?.id !== handoff.plan?.id || source.plan?.revision !== handoff.plan?.revision) { + throw new HttpError(409, "handoff_stale", "The source candidate, accepted plan, or evidence changed since the handoff was recorded."); + } + return source.thread; +} + +export function handoffInstruction(handoff: LingAppServerHandoff): string { + const lines = [ + `Continue from Ling handoff ${handoff.handoffId} and source Turn ${handoff.sourceTurnId}.`, + `Candidate SHA-256 ${handoff.candidate.candidateDigest}.`, + ]; + if (handoff.goal) { + lines.push(`Accepted goal ${handoff.goal.id}: ${handoff.goal.objective}`); + lines.push(`Goal status ${handoff.goal.status}. Continuation depth ${handoff.goal.continuationDepth}. Tokens used ${handoff.goal.tokensUsed}.`); + if (handoff.goal.tokenBudget !== undefined) lines.push(`Source goal token budget ${handoff.goal.tokenBudget}.`); + if (handoff.goal.blockedReason) lines.push(`Source blocker: ${handoff.goal.blockedReason}`); + if (handoff.goal.completionEvidenceRefs.length) lines.push(`Goal evidence: ${JSON.stringify(handoff.goal.completionEvidenceRefs)}`); + } + if (handoff.plan) lines.push(`Accepted plan ${handoff.plan.id} revision ${handoff.plan.revision}.`); + if (handoff.artifactIds.length) lines.push(`Source artifacts: ${handoff.artifactIds.join(", ")}.`); + return [...lines, "", handoff.nextInstruction].join("\n"); +} + +function handoffSource(context: DaemonContext, store: RunStore, threadId: string, turnId: string) { + const thread = store.getLingThread(threadId); + const turn = store.listLingTurns({ threadId, orderBy: "createdAt", limit: 1 })[0]; + const run = turn?.lastRunId ? store.getRun(turn.lastRunId) : undefined; + const unit = run?.workUnitId ? store.getWorkUnit(run.workUnitId) : undefined; + if (!thread || thread.kind !== "conversation" || thread.channelId || thread.archivedAt || thread.status === "archived" + || thread.activeRunId || !turn || turn.id !== turnId || !run || !unit || unit.linkedRunId !== run.id + || !["succeeded", "failed", "cancelled"].includes(turn.status) + || !continuationSourceReady(store, unit, context.activeRuns, "app-server-handoff", () => undefined)) { + throw new HttpError(409, "resume_blocked", "Handoff requires the latest settled conversation Turn with reconciled execution effects."); + } + const goal = store.getLingThreadGoal(threadId); + const plan = store.listProposedPlanArtifacts({ threadId, statuses: ["accepted"], limit: 1 })[0]; + return { thread, turn, run, goal, plan: plan && { id: plan.id, revision: plan.revision } }; +} + +async function captureHandoffCandidate(cwd: string) { + const snapshot = await captureCodeAssessmentSnapshot(cwd, { type: "working_tree" }); + if (snapshot.coverage !== "complete") throw new HttpError(409, "candidate_incomplete", "Handoff requires complete candidate coverage."); + return { workspaceId: cwd, candidateDigest: snapshot.digest, filePaths: snapshot.files.map(file => file.path) }; +} diff --git a/packages/daemon/src/server/app-server-worktrees.ts b/packages/daemon/src/server/app-server-worktrees.ts new file mode 100644 index 000000000..e775b43dd --- /dev/null +++ b/packages/daemon/src/server/app-server-worktrees.ts @@ -0,0 +1,128 @@ +import { createHash } from "node:crypto"; +import { lstat, realpath } from "node:fs/promises"; +import type { + LingAppServerWorktreeCleanupParams, + LingAppServerWorktreeCleanupPreview, + LingAppServerWorktreeCleanupResult, + LingAppServerWorktreeCreateParams, + LingAppServerWorktreeResult, + LingAppServerWorktreeTarget, +} from "@ling-stack/contracts"; +import type { RunStore } from "@ling-stack/core"; +import { HttpError } from "../errors.js"; +import { createManagedWorktreeBinding } from "../features/channels/workspace.js"; +import { captureCodeAssessmentSnapshot } from "../features/code-assessments/snapshot.js"; +import { createManagedDirectWorktreeBinding } from "../features/teammates/direct-workspace.js"; +import { resolveWorktreeSource } from "../features/workspaces/worktree-identity.js"; +import { + actOnManagedWorktreeLocked, + findManagedTeammateWorktreeOwner, + readManagedWorktreeEntry, + WorktreeActionError, +} from "../features/workspaces/worktree-management.js"; +import { coordinateWorktreeMutation } from "../features/workspaces/worktree-mutation.js"; +import { listWorktreeSnapshots, recoverWorktreeOperations, WORKTREE_FENCE_PREFIX } from "../features/workspaces/worktree-recovery.js"; + +export async function createAppServerWorktree( + store: RunStore, target: LingAppServerWorktreeCreateParams, +): Promise { + return coordinateWorktreeMutation(store, async () => { + const cwd = store.paths.cwd; + store.assertWorkspaceSnapshotFence(cwd); + const owner = await boundOwner(store, target); + if (target.baseBranch !== undefined && !/^[A-Za-z0-9][A-Za-z0-9_./-]{0,255}$/u.test(target.baseBranch)) { + throw new HttpError(400, "invalid_params", "Supply a branch name or commit for the worktree base."); + } + const existingBase = owner.record.workspaceBinding?.baseBranch; + if (existingBase && target.baseBranch && existingBase !== target.baseBranch) { + throw new WorktreeActionError("worktree_conflict", "The existing worktree is bound to a different base."); + } + const policy = store.getWorkspaceSettings().worktreePolicy; + if (owner.kind === "channel") { + const result = await createManagedWorktreeBinding(owner.record, cwd, store.paths, target.baseBranch, policy, store); + if (!result.ok) throw new WorktreeActionError(result.code, result.message); + store.updateChannel(owner.record.id, { workspaceBinding: result.binding }, result.binding.updatedAt); + } else { + const result = await createManagedDirectWorktreeBinding(owner.record, cwd, store.paths, target.baseBranch, policy, store); + if (!result.ok) throw new WorktreeActionError(result.code, result.message); + store.updateTeammateDirectThreadWorkspace(owner.record.id, result.binding, result.binding.updatedAt); + } + return { cwd, entry: await readManagedWorktreeEntry(store, target) }; + }); +} + +export async function refreshAppServerWorktree( + store: RunStore, target: LingAppServerWorktreeTarget, +): Promise { + await boundOwner(store, target); + return { cwd: store.paths.cwd, entry: await readManagedWorktreeEntry(store, target) }; +} + +export async function previewAppServerWorktreeCleanup( + store: RunStore, target: LingAppServerWorktreeTarget, +): Promise { + const owner = await boundOwner(store, target); + const cwd = store.paths.cwd; + const entry = await readManagedWorktreeEntry(store, target); + if (entry.status !== "ready" || entry.inUse) { + throw new WorktreeActionError("worktree_conflict", "The worktree must be ready and idle before cleanup."); + } + const directory = await lstat(entry.path, { bigint: true }); + const candidate = await captureCodeAssessmentSnapshot(entry.path, { type: "working_tree" }); + if (candidate.coverage !== "complete") { + throw new WorktreeActionError("worktree_conflict", "Cleanup requires a candidate with complete coverage."); + } + const expectedRevision = createHash("sha256").update(JSON.stringify([ + cwd, entry.ownerKind, entry.ownerId, entry.path, entry.branchName, owner.record.workspaceBinding?.updatedAt, + directory.dev.toString(), directory.ino.toString(), candidate.digest, + ])).digest("hex"); + return { cwd, entry, expectedRevision }; +} + +export async function cleanupAppServerWorktree( + store: RunStore, target: LingAppServerWorktreeCleanupParams, +): Promise { + return coordinateWorktreeMutation(store, async () => { + if (target.confirmed !== true) throw new HttpError(400, "worktree_confirmation_required", "Confirm the worktree cleanup preview."); + if (!/^[a-f0-9]{64}$/u.test(target.expectedRevision)) throw new HttpError(400, "invalid_params", "A valid cleanup preview revision is required."); + await recoverWorktreeOperations(store); + const archiveId = WORKTREE_FENCE_PREFIX + target.expectedRevision.slice(0, 36); + const findArchive = async () => (await listWorktreeSnapshots(store.paths)).find(item => item.id === archiveId + && item.ownerKind === target.ownerKind && item.ownerId === target.ownerId && item.state === "archived"); + const prior = await findArchive(); + if (prior) { + const refreshed = await refreshAppServerWorktree(store, target); + return { ...refreshed, snapshot: prior }; + } + const preview = await previewAppServerWorktreeCleanup(store, target); + if (target.expectedRevision !== preview.expectedRevision) { + throw new WorktreeActionError("stale_revision", "The worktree changed since cleanup was previewed."); + } + await actOnManagedWorktreeLocked(store, preview.cwd, { ...target, action: "cleanup", archiveId }); + const snapshot = await findArchive(); + if (!snapshot) throw new WorktreeActionError("unknown_outcome", "The cleanup recovery snapshot could not be confirmed."); + return { cwd: preview.cwd, entry: await readManagedWorktreeEntry(store, target), snapshot }; + }); +} + +async function boundOwner(store: RunStore, { ownerKind, ownerId }: LingAppServerWorktreeTarget) { + if (ownerKind === "channel") { + const record = store.getChannel(ownerId); + if (!record) throw new WorktreeActionError("worktree_not_found", "The channel worktree owner was not found."); + const source = await resolveWorktreeSource(store.paths, { kind: ownerKind, id: record.id, boundPath: record.boundPath }, record.workspaceBinding); + await assertBoundSource(store.paths.cwd, source); + return { kind: ownerKind, record } as const; + } + const record = findManagedTeammateWorktreeOwner(store, ownerId); + if (!record) throw new WorktreeActionError("worktree_not_found", "The teammate worktree owner was not found."); + const source = await resolveWorktreeSource(store.paths, { kind: ownerKind, id: record.id, teammateId: record.teammateId }, record.workspaceBinding); + await assertBoundSource(store.paths.cwd, source); + return { kind: ownerKind, record } as const; +} + +async function assertBoundSource(cwd: string, source: Awaited>) { + if (!source.ok) throw new WorktreeActionError(source.code, source.message); + if (source.repoRoot !== await realpath(cwd)) { + throw new WorktreeActionError("workspace_binding_invalid", "The worktree repository differs from the connection workspace."); + } +} diff --git a/packages/daemon/src/server/rpc-outbound.ts b/packages/daemon/src/server/rpc-outbound.ts index bffab4c84..84ae47b4a 100644 --- a/packages/daemon/src/server/rpc-outbound.ts +++ b/packages/daemon/src/server/rpc-outbound.ts @@ -20,6 +20,7 @@ export interface RpcOutboundWriterOptions { readonly sendTimeoutMs?: number; readonly closeGraceMs?: number; readonly onClose?: () => void; + readonly canSend?: () => boolean; } interface PendingFrame { @@ -31,7 +32,7 @@ interface PendingFrame { export class RpcOutboundWriter { private readonly pending: PendingFrame[] = []; private readonly reservations = new Map(); - private readonly limits: Required>; + private readonly limits: Required>; private pendingBytes = 0; private upstreamBytes = 0; private upstreamCount = 0; @@ -196,6 +197,10 @@ export class RpcOutboundWriter { this.pumping = true; try { while (!this.closed && !this.inFlight && this.pending.length > 0) { + if (this.options.canSend && !this.options.canSend()) { + this.close(1008, "authorization_changed"); + return; + } if (this.ws.readyState !== WebSocket.OPEN) { this.close(1000, "transport_not_open"); return; diff --git a/packages/daemon/src/server/rpc.ts b/packages/daemon/src/server/rpc.ts index 104e7b786..197eaf3ce 100644 --- a/packages/daemon/src/server/rpc.ts +++ b/packages/daemon/src/server/rpc.ts @@ -29,6 +29,7 @@ import { type ControlPlaneSubscribeResult, type LingAppServerContextInspectResult, type LingAppServerInputRespondResult, + type LingAppServerGrant, type LingAppServerJsonRpcId, type LingAppServerThreadEventsResult, type LingAppServerThreadSnapshotResult, @@ -71,7 +72,7 @@ import { appendControlPlaneEvent } from "../features/control-plane/events.js"; import { toApprovalSummary } from "../features/control-plane/snapshots.js"; import { executeRunRequest, type RunExecutionSink } from "../features/runs/orchestrator.js"; import { parseRunRequest, type RunRequest } from "../features/runs/schemas.js"; -import { bindGoalVerificationCandidate, buildLingThreadResumeContext, parseCompleteLingThreadGoalBody, parsePutLingThreadGoalBody } from "../features/runs/thread-routes.js"; +import { bindGoalVerificationCandidate, buildLingThreadResumeContext, createLingThreadFork, parseCompleteLingThreadGoalBody, parsePutLingThreadGoalBody } from "../features/runs/thread-routes.js"; import { projectPublicRunSession } from "../features/runs/public-execution-snapshots.js"; import { projectPublicLingThread, projectPublicLingTurn } from "../features/runs/public-execution-snapshots.js"; import { maybeQueueGoalContinuation, maybeStartNextRunInterventionContinuation, recordUserRunIntervention, requestRunInterventionRedirect } from "../features/runs/interventions.js"; @@ -82,7 +83,14 @@ import { RpcOutboundWriter, type RpcOutboundFrame } from "./rpc-outbound.js"; import { AppServerDevelopmentService } from "./app-server-development.js"; import { executeAppServerVerificationCheck } from "./app-server-verification-recipes.js"; import { captureCodeAssessmentSnapshot } from "../features/code-assessments/snapshot.js"; -import { listManagedWorktrees } from "../features/workspaces/worktree-management.js"; +import { listManagedWorktrees, WorktreeActionError } from "../features/workspaces/worktree-management.js"; +import { cleanupAppServerWorktree, createAppServerWorktree, previewAppServerWorktreeCleanup, refreshAppServerWorktree } from "./app-server-worktrees.js"; +import { checkAppServerHandoff, createAppServerHandoff, handoffInstruction, readAppServerHandoff } from "./app-server-handoff.js"; +import { normalConversationForkId } from "../features/conversations/normal-conversation-fork.js"; +import { + appServerGrantBearerPrefix, appServerGrantStillActive, authenticateAppServerGrant, createAppServerGrant, + grantAllowsMethod, grantAllowsRequest, listAppServerGrants, revokeAppServerGrant, +} from "./app-server-authorization.js"; import { ExternalAgentFederationService, externalAgentRpcError, @@ -137,9 +145,8 @@ const legacyRpcMethods = new Set([ "controlPlane.subscribe", "controlPlane.unsubscribe", "runs.start", "runs.cancel", ]); const UNIMPLEMENTED_APP_SERVER_METHODS = new Set([ - "worktree/create", "worktree/refresh", "worktree/cleanup/preview", "worktree/cleanup", - "turn/retry", "turn/steer", "thread/fork", "thread/compact/start", "thread/revert", - "handoff/create", "handoff/read", "handoff/resume", "changes/read", + "turn/retry", "turn/steer", "thread/compact/start", "thread/revert", + "changes/read", "changes/apply/preview", "changes/apply", "artifact/read", "workItem/delivery/read", "delivery/read", "github/subject/read", "github/delivery/reconcile", "model/list", "skill/read", "permissionProfile/list", ]); @@ -149,6 +156,9 @@ const operatorMethods = new Set([ "simplify/start", "simplify/status", "runs.start", "runs.cancel", "turn/queue", "turn/interrupt", "thread/delete", "thread/goal/set", "thread/goal/pause", "thread/goal/resume", "thread/goal/clear", "thread/goal/complete", "plan/accept", + "worktree/create", "worktree/cleanup", + "thread/fork", "handoff/create", "handoff/resume", + "server/grants/create", "server/grants/list", "server/grants/revoke", ]); const IMPLEMENTED_APP_SERVER_METHODS = LING_APP_SERVER_METHODS.filter(method => !UNIMPLEMENTED_APP_SERVER_METHODS.has(method)); const appServerMethods = new Set([...IMPLEMENTED_APP_SERVER_METHODS, "runs.start", "runs.cancel", "turn/steer"]); @@ -171,11 +181,15 @@ export function attachRpcWebSocketServer(server: Server, context: DaemonContext) rejectUpgrade(socket, 404, "WebSocket RPC transport is disabled"); return; } - if (!daemonRequestIsAuthorized(context.config.authToken, request.headers.authorization)) { + const authorization = request.headers.authorization; + const daemonAuthorized = daemonRequestIsAuthorized(context.config.authToken, authorization); + const scopedBearer = appServer && typeof authorization === "string" && authorization.startsWith(appServerGrantBearerPrefix) + && !(context.config.authToken && daemonAuthorized); + if (!daemonAuthorized && !scopedBearer) { rejectUpgrade(socket, 401, "A valid bearer token is required for WebSocket RPC access."); return; } - if (appServer && !context.config.authToken && (!isDirectLoopbackRequest(request) || !isAllowedLocalOrigin(request.headers.origin))) { + if (appServer && !scopedBearer && !context.config.authToken && (!isDirectLoopbackRequest(request) || !isAllowedLocalOrigin(request.headers.origin))) { rejectUpgrade(socket, 403, "WebSocket RPC access requires a direct loopback Ling page or bearer token."); return; } @@ -197,8 +211,20 @@ export function attachRpcWebSocketServer(server: Server, context: DaemonContext) return; } } + let grant: LingAppServerGrant | undefined; + if (scopedBearer) { + try { grant = authenticateAppServerGrant(context.storeRegistry.getStore(workspaceCwd), authorization); } + catch { /* A grant cannot authenticate while its workspace store is unavailable. */ } + if (!grant) { + rejectUpgrade(socket, 401, "The App Server grant is unavailable."); + return; + } + } wss.handleUpgrade(request, socket, head, (ws) => { - const connection = new RpcConnection(ws, workspaceCwd, context, appServer, Boolean(context.config.authToken), () => draining); + const connection = new RpcConnection(ws, workspaceCwd, context, appServer, Boolean(context.config.authToken && daemonAuthorized), + () => draining, grant, (cwd, id) => { + for (const peer of appServerConnections) peer.invalidateGrant(cwd, id); + }); if (appServer) { appServerConnections.add(connection); ws.once("close", () => appServerConnections.delete(connection)); @@ -257,8 +283,13 @@ class RpcConnection { private readonly appServer: boolean, private readonly authenticated: boolean, private readonly draining: () => boolean, + private readonly grant: LingAppServerGrant | undefined, + private readonly revokeGrantConnection: (cwd: string, id: string) => void, ) { - this.outbound = new RpcOutboundWriter(ws, { onClose: () => this.close() }); + this.outbound = new RpcOutboundWriter(ws, { + onClose: () => this.close(), + ...(grant ? { canSend: () => this.grantIsCurrent() } : {}), + }); this.development = getAppServerDevelopmentService(context); } @@ -268,6 +299,10 @@ class RpcConnection { this.ws.on("error", this.onConnectionError); } + invalidateGrant(cwd: string, grantId: string): void { + if (this.grant?.grantId === grantId && this.defaultCwd === cwd) this.outbound.close(1008, "authorization_changed"); + } + notifyDraining(drainId: string, startedAt: string): void { if (this.initialized) this.send({ jsonrpc: "2.0", method: "server/draining", params: { drainId, startedAt } }); } @@ -319,6 +354,10 @@ class RpcConnection { throw rpcError(-32601, "method_not_found", `Unsupported App Server method: ${request.method}`); } const params = this.appServer ? this.workspaceParams(request.params, operatorMethods.has(request.method)) : request.params; + if (this.grant && (!this.grantIsCurrent() + || !grantAllowsRequest(this.context.storeRegistry.getStore(this.defaultCwd), this.grant, request.method, readParamsRecord(params)))) { + throw rpcError(-32021, "capability_denied", "The App Server grant does not authorize this method or subject."); + } if (request.method === "controlPlane.subscribe") { if (request.id === undefined) { throw rpcError(-32600, "subscription_response_required", "controlPlane.subscribe requires a request id."); @@ -364,7 +403,7 @@ class RpcConnection { } const result = await this.dispatch(request.method, params); if (request.id !== undefined && !this.cancelledRequests.has(requestKey!)) { - if (this.appServer && this.authenticated && (request.method === "thread/snapshot" || request.method === "thread/resume")) { + if (this.appServer && this.canRespondToInput() && (request.method === "thread/snapshot" || request.method === "thread/resume")) { this.outbound.sendThreadSnapshot(id as LingAppServerJsonRpcId, result as LingAppServerThreadSnapshotResult); } else { this.send({ jsonrpc: "2.0", id, result }); @@ -399,7 +438,7 @@ class RpcConnection { protocolVersion: LING_APP_SERVER_PROTOCOL_VERSION, serverInfo: { name: "ling-stack-daemon", version: LING_PRODUCT_VERSION }, connectionId: this.connectionId, - effectiveScopes: ["controlPlane.read", + effectiveScopes: this.grant?.scopes ?? ["controlPlane.read", ...(this.authenticated ? ["runs.control", "approval.decide", "input.respond", "verification.execute"] : [])], capabilities: this.availableCapabilities(), ...(identity ? { storeIncarnation: identity.storeIncarnation, authorizationEpoch: identity.authorizationEpoch } : {}), @@ -425,9 +464,21 @@ class RpcConnection { return { protocolVersion: LING_APP_SERVER_PROTOCOL_VERSION, capabilities: this.availableCapabilities(), - methods: IMPLEMENTED_APP_SERVER_METHODS.filter(method => this.authenticated || !operatorMethods.has(method)), + methods: IMPLEMENTED_APP_SERVER_METHODS.filter(method => this.grant + ? grantAllowsMethod(this.grant, method) : this.authenticated || !operatorMethods.has(method)), notifications: LING_APP_SERVER_NOTIFICATION_METHODS, }; + case "server/grants/create": + case "server/grants/list": + case "server/grants/revoke": { + const record = this.workspaceParams(params, true); + const store = this.context.storeRegistry.getStore(record.cwd); + if (method === "server/grants/create") return { cwd: record.cwd, grant: createAppServerGrant(store, record) }; + if (method === "server/grants/list") return { cwd: record.cwd, grants: listAppServerGrants(store) }; + const grant = revokeAppServerGrant(store, readStringField(record, "grantId"), readIntegerField(record, "expectedRevision", "revision")); + this.revokeGrantConnection(record.cwd, grant.grantId); + return { cwd: record.cwd, grant }; + } case "workspace/list": return { workspaces: [{ workspaceId: DEFAULT_WORKSPACE_ID, cwd: this.defaultCwd }] }; case "workspace/read": @@ -439,6 +490,25 @@ class RpcConnection { } return listManagedWorktrees(this.context.storeRegistry.getStore(cwd), cwd); } + case "worktree/create": + case "worktree/refresh": + case "worktree/cleanup/preview": + case "worktree/cleanup": { + const record = this.workspaceParams(params); + const ownerKind = readStringField(record, "ownerKind"); + if (ownerKind !== "channel" && ownerKind !== "teammate") { + throw rpcError(-32602, "invalid_params", "ownerKind must be channel or teammate."); + } + const target = { ownerKind, ownerId: readStringField(record, "ownerId") } as const; + const store = this.context.storeRegistry.getStore(record.cwd); + if (method === "worktree/create") return createAppServerWorktree(store, { ...target, baseBranch: readOptionalStringField(record, "baseBranch") }); + if (method === "worktree/refresh") return refreshAppServerWorktree(store, target); + if (method === "worktree/cleanup/preview") return previewAppServerWorktreeCleanup(store, target); + if (record.confirmed !== true) { + throw rpcError(-32602, "worktree_confirmation_required", "Confirm the worktree cleanup preview."); + } + return cleanupAppServerWorktree(store, { ...target, expectedRevision: readStringField(record, "expectedRevision"), confirmed: true }); + } case "provider/list": return this.readControlPlaneDomain(params, "providers"); case "skill/list": @@ -447,6 +517,8 @@ class RpcConnection { return this.startThread(params); case "thread/read": return this.readThread(params); + case "thread/fork": + return this.forkThread(params); case "thread/resume": return this.readThreadSnapshot(params); case "thread/snapshot": @@ -543,6 +615,22 @@ class RpcConnection { return await this.development.initInstructions(this.workspaceParams(params, readParamsRecord(params).mode === "apply") as never); case "context/inspect": return this.inspectTurnContext(params); + case "handoff/create": { + const record = this.workspaceParams(params, true); + const store = this.context.storeRegistry.getStore(record.cwd); + const handoff = await createAppServerHandoff(this.context, store, { + threadId: readStringField(record, "threadId"), turnId: readStringField(record, "turnId"), + idempotencyKey: readStringField(record, "idempotencyKey"), nextInstruction: readStringField(record, "nextInstruction"), + }); + return { cwd: record.cwd, handoff }; + } + case "handoff/read": { + const record = this.workspaceParams(params); + const handoff = readAppServerHandoff(this.context.storeRegistry.getStore(record.cwd), readStringField(record, "handoffId")); + return { cwd: record.cwd, handoff }; + } + case "handoff/resume": + return this.resumeHandoff(params); case "turn/start": return this.startTurn(params); case "approval/respond": @@ -664,17 +752,43 @@ class RpcConnection { } private availableCapabilities(): readonly string[] { + if (this.grant) { + const capabilities = ["server/ping"]; + if (grantAllowsMethod(this.grant, "thread/subscribe")) capabilities.push("thread.events"); + if (grantAllowsMethod(this.grant, "turn/start")) capabilities.push("turn.control"); + if (grantAllowsMethod(this.grant, "approval/respond")) capabilities.push("approval.respond"); + if (grantAllowsMethod(this.grant, "input/respond")) capabilities.push("input.respond"); + if (grantAllowsMethod(this.grant, "workItem/read")) capabilities.push("workItem.read", "workItem.evidence"); + if (grantAllowsMethod(this.grant, "workItem/pause")) capabilities.push("workItem.control"); + return capabilities; + } return LING_APP_SERVER_IMPLEMENTED_CAPABILITIES.filter(capability => this.authenticated || (capability !== "turn.control" && capability !== "approval.respond" && capability !== "input.respond" && capability !== "development.simplify")); } private replayIdentity(cwd: string, store = this.context.storeRegistry.getStore(cwd)) { - return loadAppServerReplayIdentity(store, cwd, this.context.config.authToken); + const key = this.grant + ? JSON.stringify([this.context.config.authToken, this.grant.grantId, this.grant.revision]) + : this.context.config.authToken; + return loadAppServerReplayIdentity(store, cwd, key); + } + + private grantIsCurrent(): boolean { + if (!this.grant) return true; + try { + return appServerGrantStillActive(this.context.storeRegistry.getStore(this.defaultCwd), this.grant); + } catch { + return false; + } + } + + private canRespondToInput(): boolean { + return this.authenticated || Boolean(this.grant?.scopes.includes("respond")); } private workspaceParams(params: unknown, operator = false): Record & { readonly cwd: string } { - if (operator && (!this.appServer || !this.authenticated)) { + if (operator && (!this.appServer || !this.authenticated && !this.grant)) { throw rpcError(-32020, "authorization_required", "This App Server method requires the daemon operator bearer credential."); } const record = readParamsRecord(params); @@ -1129,6 +1243,59 @@ class RpcConnection { }; } + private forkThread(params: unknown): unknown { + const record = this.workspaceParams(params, true); + const store = this.context.storeRegistry.getStore(record.cwd); + const sourceThread = store.getLingThread(readStringField(record, "threadId")); + if (!sourceThread) throw rpcError(-32040, "workspace_binding_invalid", "The source Thread was not found."); + const fork = createLingThreadFork({ store, sourceThread, body: record, now: new Date().toISOString() }); + this.publishForkedThread(store, record.cwd, fork.childThread, sourceThread.id); + return { + cwd: record.cwd, sourceThreadId: sourceThread.id, sourceTurnId: fork.sourceTurn?.id, sourceRunId: fork.sourceRun?.id, + thread: projectPublicLingThread(fork.childThread), replayed: !fork.created, + }; + } + + private async resumeHandoff(params: unknown) { + const record = this.workspaceParams(params, true); + const store = this.context.storeRegistry.getStore(record.cwd); + const handoff = readAppServerHandoff(store, readStringField(record, "handoffId")); + const providerPresetId = readStringField(record, "providerPresetId"); + if (!store.getProviderPreset(providerPresetId)) { + throw rpcError(-32602, "invalid_params", "The Handoff requires an available provider preset."); + } + const idempotencyKey = `app-server-handoff:${handoff.handoffId}`; + const childId = normalConversationForkId(handoff.sourceThreadId, idempotencyKey); + let child = store.getLingThread(childId); + const receipt = readConversationSubmission(store, { surface: "normal", threadId: childId, idempotencyKey }); + const acceptedTurn = receipt.status === "accepted" && receipt.turnId ? store.getLingTurn(receipt.turnId) : undefined; + if (child && store.getNormalConversationForkSeed(child.id)?.threadId !== handoff.sourceThreadId) { + throw rpcError(-32031, "idempotency_conflict", "The Handoff child Thread has a different origin."); + } + if (!acceptedTurn || !acceptedTurn.activeRunId && !acceptedTurn.lastRunId) { + const sourceThread = await checkAppServerHandoff(this.context, store, handoff); + child = createLingThreadFork({ + store, sourceThread, now: new Date().toISOString(), + body: { turnId: handoff.sourceTurnId, sourceRunId: handoff.sourceRunId, idempotencyKey, + title: `Handoff: ${sourceThread.title}`, objective: handoff.goal?.objective ?? sourceThread.objective }, + }).childThread; + } + if (!child) throw rpcError(-32061, "resume_blocked", "The Handoff receipt has no available child Thread."); + this.publishForkedThread(store, record.cwd, child, handoff.sourceThreadId); + const result = await this.startConversationTurn({ idempotencyKey, providerPresetId }, child, record.cwd, handoffInstruction(handoff)); + return { ...result, handoffId: handoff.handoffId }; + } + + private publishForkedThread(store: RunStore, cwd: string, thread: LingThread, sourceThreadId: string): void { + const idempotencyKey = `app-server-fork:${thread.id}`; + if (store.getControlPlaneEventByIdempotency(thread.workspaceId, idempotencyKey)) return; + const event = store.appendControlPlaneEvent({ + workspaceId: thread.workspaceId, cwd, domain: "runs", entityType: "thread", entityId: thread.id, + action: "thread.started", idempotencyKey, data: { threadId: thread.id, sourceThreadId, status: thread.status }, + }, new Date().toISOString()); + this.context.controlPlaneEvents.publish(trimOversizedEvent(event)); + } + private readThreadSnapshot(params: unknown): LingAppServerThreadSnapshotResult { const { cwd, ...record } = this.workspaceParams(params); const threadId = readStringField(record, "threadId"); @@ -1147,7 +1314,7 @@ class RpcConnection { .filter(item => item.kind === "user_input_request").map(item => item.id) : []; const pendingInputs = itemIds.length ? store.readUserInputTranscript({ threadId, itemIds }).flatMap(item => { if (item.availability !== "available" || item.kind !== "user_input_request" || item.status !== "pending") return []; - return [this.authenticated ? item : { ...item, answerAuthority: undefined }]; + return [this.canRespondToInput() ? item : { ...item, answerAuthority: undefined }]; }) : []; return { cwd, thread: projectPublicLingThread(thread), turn: projectPublicLingTurn(turn, thread) ?? null, goal: goal ? { id: goal.id, objective: goal.objective, status: goal.status, @@ -1591,7 +1758,7 @@ class RpcConnection { } private async startConversationTurn(record: Record, thread: import("@ling-stack/core").LingThread, cwd: string, - instruction: string | undefined): Promise { + instruction: string | undefined) { if (thread.kind !== "conversation" || thread.channelId || thread.archivedAt || thread.status === "archived") { throw rpcError(-32040, "workspace_binding_invalid", "This Thread cannot accept a normal conversation Turn."); } @@ -1624,6 +1791,7 @@ class RpcConnection { || input.executionBinding && JSON.stringify(input.executionBinding) !== JSON.stringify(runRequest.executionBinding)) { throw rpcError(-32031, "idempotency_conflict", "The original submission used a different execution configuration."); } + if (!this.grantIsCurrent()) throw rpcError(-32020, "authorization_required", "The App Server grant expired or was revoked before dispatch."); this.publishConversationTurnStarted(store, cwd, turn); const receipt = readConversationSubmission(store, { surface: "normal", threadId: thread.id, idempotencyKey: input.idempotencyKey! }); const runId = turn.activeRunId ?? turn.lastRunId ?? await this.executeConversationRun(runRequest); @@ -1820,7 +1988,7 @@ class RpcConnection { const record = readParamsRecord(params); const cwd = readRpcCwd(record, this.defaultCwd); const workItemId = readStringField(record, "workItemId"); - const actorId = readStringField(record, "actorId"); + const actorId = this.grant ? `app-server-grant:${this.grant.grantId}` : readStringField(record, "actorId"); const idempotencyKey = readStringField(record, "idempotencyKey"); const expectedRevision = readIntegerField(record, "expectedWorkItemRevision", "expectedRevision"); const expectedControlGeneration = readIntegerField(record, "expectedControlGeneration", "controlGeneration"); @@ -2526,6 +2694,12 @@ function normalizeRpcError(error: unknown): { readonly jsonRpcCode: number; read if (error instanceof HttpError) { return { jsonRpcCode: error.statusCode === 400 ? -32602 : -32061, code: error.code, message: error.message }; } + if (error instanceof WorktreeActionError) { + const jsonRpcCode = error.code === "stale_revision" ? -32030 + : error.code === "workspace_binding_invalid" || error.code === "worktree_not_found" ? -32040 + : error.code === "unknown_outcome" ? -32060 : -32041; + return { jsonRpcCode, code: error.code, message: error.message }; + } if (error instanceof UserInputStoreError) { const message = "The answer could not be accepted for the current question."; switch (error.code) { @@ -2652,6 +2826,7 @@ function appServerServerRequestForEvent(event: ControlPlaneEvent, readStore: () function appServerEventMethod(event: ControlPlaneEvent): string | undefined { if (event.entityType === "verify_operation") return "verification/updated"; + if (event.entityType === "handoff" && event.action === "handoff.created") return "handoff/created"; if (event.entityType === "conversation_item" && event.action === "conversation_narration.published") return "item/completed"; if (event.action === "thread.goal.updated") return "thread/goal/updated"; if (event.entityType === "run" && typeof event.data.turnId === "string") { diff --git a/packages/daemon/test/app-server-release-acceptance.test.ts b/packages/daemon/test/app-server-release-acceptance.test.ts index cbd399268..38ecc3ae3 100644 --- a/packages/daemon/test/app-server-release-acceptance.test.ts +++ b/packages/daemon/test/app-server-release-acceptance.test.ts @@ -19,6 +19,10 @@ import type { LingAppServerExternalAgentRegisterResult, LingAppServerExternalAgentTaskReconnectResult, LingAppServerExternalAgentTaskStartResult, + LingAppServerGrant, + LingAppServerGrantScope, + LingAppServerHandoffResult, + LingAppServerHandoffResumeResult, LingAppServerInputRespondParams, LingAppServerInputRespondResult, LingAppServerVerifyOperation, @@ -29,6 +33,9 @@ import type { LingAppServerWorkItemReadResult, LingAppServerWorkItemResult, LingAppServerWorkItemSnapshot, + LingAppServerWorktreeCleanupPreview, + LingAppServerWorktreeCleanupResult, + LingAppServerWorktreeResult, LingAppServerReviewStartResult, LingAppServerReviewStatusResult, LingAppServerReviewFindingUpdateResult, @@ -218,6 +225,60 @@ test("Goal completion requires a current candidate and a Host-verified independe assert.equal((await complete(reconnected, verified.operationId)).goal.status, "complete"); }); +test("App Server manages an owned worktree and archives the reviewed candidate", { timeout: 30_000 }, async t => { + const fixture = await releaseFixture(t); + const source = join(fixture.cwd, "subject.txt"); + const git = (cwd: string, ...args: string[]) => execFileSync("git", args, { cwd, stdio: "ignore" }); + await writeFile(join(fixture.cwd, ".gitignore"), ".ling-stack/\n"); + await writeFile(source, "base\n"); + git(fixture.cwd, "init", "-q", "-b", "main"); + git(fixture.cwd, "add", ".gitignore", "subject.txt"); + git(fixture.cwd, "-c", "user.name=Fixture", "-c", "user.email=fixture@example.test", "commit", "-qm", "Baseline"); + await writeFile(source, "local work in progress\n"); + const client = await fixture.connect(); + const store = fixture.getStore(); + const channel = store.createChannel({ name: "Engineering", boundPath: fixture.cwd }, new Date().toISOString()); + const target = { ownerKind: "channel", ownerId: channel.id } as const; + + const { entry } = await client.call("worktree/create", { ...target, baseBranch: "main" }); + assert.equal(entry.status, "ready"); + assert.equal(await readFile(join(entry.path, "subject.txt"), "utf8"), "base\n"); + assert.equal(await readFile(source, "utf8"), "local work in progress\n"); + const repeated = await client.call("worktree/create", { ...target, baseBranch: "main" }); + assert.equal(repeated.entry.path, entry.path); + + const outside = join(fixture.root, "other-repository"); + await mkdir(outside); + git(outside, "init", "-q"); + const external = store.createChannel({ name: "Other", boundPath: outside }, new Date().toISOString()); + await assert.rejects(client.call("worktree/create", { ...target, ownerId: external.id }), { code: "workspace_binding_invalid" }); + + const subject = join(entry.path, "subject.txt"); + await writeFile(subject, "first candidate\n"); + const refreshed = await client.call("worktree/refresh", target); + assert.equal(refreshed.entry.isDirty, true); + const preview = await client.call("worktree/cleanup/preview", target); + await writeFile(subject, "second candidate\n"); + await assert.rejects(client.call("worktree/cleanup", { ...target, expectedRevision: preview.expectedRevision, confirmed: true }), + { code: "stale_revision" }); + assert.equal(await readFile(subject, "utf8"), "second candidate\n"); + const current = await client.call("worktree/cleanup/preview", target); + await assert.rejects(client.call("worktree/cleanup", { ...target, expectedRevision: current.expectedRevision }), + { code: "worktree_confirmation_required" }); + const result = await client.call("worktree/cleanup", + { ...target, expectedRevision: current.expectedRevision, confirmed: true }); + assert.equal(result.entry.status, "not_created"); + assert.equal(await readFile(join(result.snapshot.snapshotPath, "subject.txt"), "utf8"), "second candidate\n"); + assert.equal(await readFile(source, "utf8"), "local work in progress\n"); + await assert.rejects(readFile(subject), { code: "ENOENT" }); + await fixture.restart(); + const resumed = await fixture.connect(); + const replay = await resumed.call("worktree/cleanup", + { ...target, expectedRevision: current.expectedRevision, confirmed: true }); + assert.equal(replay.snapshot.id, result.snapshot.id); + assert.equal(replay.entry.status, "not_created"); +}); + test("App Server submits a durable Turn through the configured Pi Runner and replays it after reconnect", { timeout: 30_000 }, async t => { const provider = await startLoopbackPiProvider(() => ({ text: "Runner accepted the task" })); t.after(() => provider.close()); @@ -318,6 +379,64 @@ test("App Server submits a durable Turn through the configured Pi Runner and rep && notice.params?.subject?.threadId === request.threadId)); }); +test("a sealed Handoff resumes one new conversation from the current candidate", { timeout: 30_000 }, async t => { + const provider = await startLoopbackPiProvider(() => ({ text: "Work recorded." })); + t.after(() => provider.close()); + const fixture = await releaseFixture(t); + const git = (...args: string[]) => execFileSync("git", args, { cwd: fixture.cwd, stdio: "ignore" }); + await writeFile(join(fixture.cwd, ".gitignore"), ".ling-stack/\n"); + const subject = join(fixture.cwd, "subject.txt"); + await writeFile(subject, "accepted candidate\n"); + git("init", "-q"); + git("add", ".gitignore", "subject.txt"); + git("-c", "user.name=Fixture", "-c", "user.email=fixture@example.test", "commit", "-qm", "Baseline"); + const origin = await fixture.connect(); + const store = fixture.getStore(); + const preset = addLoopbackPreset(store, provider.baseUrl); + const { thread } = await origin.call<{ thread: { id: string } }>("thread/start", { title: "Development workflow" }); + const { goal } = await origin.call<{ goal: LingThreadGoal }>("thread/goal/set", { + threadId: thread.id, objective: "Preserve the delivery contract", supervisionPolicy: { autoContinue: false }, + }); + const { turn, run } = await origin.call<{ turn: { id: string }; run: { id: string } }>("turn/start", { + threadId: thread.id, message: "Write down the delivery contract.", + providerPresetId: preset.id, idempotencyKey: "source", + }); + await waitFor(async () => { + const snapshot = await origin.call("thread/snapshot", { threadId: thread.id }); + return snapshot.turn?.status === "succeeded" && snapshot.run?.status === "succeeded" ? true : undefined; + }); + const capture = { threadId: thread.id, turnId: turn.id, nextInstruction: "Implement only the delivery contract.", idempotencyKey: "handoff" }; + const { handoff } = await origin.call("handoff/create", capture); + assert.equal(handoff.sourceRunId, run.id); + assert.equal(handoff.goal?.id, goal.id); + assert.equal(handoff.goal?.objective, "Preserve the delivery contract"); + assert.deepEqual(await origin.call("handoff/create", capture), { cwd: fixture.cwd, handoff }); + await assert.rejects(origin.call("handoff/create", { ...capture, nextInstruction: "Different task" }), { code: "idempotency_conflict" }); + + await fixture.restart(); + const receiver = await fixture.connect(); + const peer = await fixture.connect(); + const resume = { handoffId: handoff.handoffId, providerPresetId: preset.id }; + assert.deepEqual(await receiver.call("handoff/read", { handoffId: handoff.handoffId }), { cwd: fixture.cwd, handoff }); + await writeFile(subject, "changed candidate\n"); + await assert.rejects(receiver.call("handoff/resume", resume), { code: "handoff_stale" }); + assert.equal(provider.requests.length, 1); + await writeFile(subject, "accepted candidate\n"); + const [first, duplicate] = await Promise.all([ + receiver.call("handoff/resume", resume), + peer.call("handoff/resume", resume), + ]); + assert.equal(first.thread.parentThreadId, thread.id); + assert.equal(first.thread.parentTurnId, turn.id); + assert.ok(first.run?.id); + assert.equal(duplicate.run?.id, first.run.id); + assert.equal(duplicate.thread.id, first.thread.id); + await waitFor(() => provider.requests.length === 2 ? true : undefined); + assert.match(JSON.stringify(provider.requests[1]), /Implement only the delivery contract/u); + assert.match(JSON.stringify(provider.requests[1]), /Preserve the delivery contract/u); + assert.match(JSON.stringify(provider.requests[1]), /Write down the delivery contract/u); +}); + test("thread resume attaches without dispatch and turn resume recovers a prepared request exactly once after restart", { timeout: 30_000 }, async t => { const provider = await startLoopbackPiProvider(() => ({ text: "Recovered the prepared request." })); t.after(() => provider.close()); @@ -1117,6 +1236,83 @@ test("an authenticated connection can decide its Run approval and rejects a diff await assert.rejects(client.call("approval/respond", params), { code: "request_already_resolved" }); }); +test("App Server grants restrict observers, controllers and approvers to their subject and revoke live access", { timeout: 30_000 }, async t => { + const fixture = await releaseFixture(t); + const operator = await fixture.connect(); + const store = fixture.getStore(); + const now = new Date().toISOString(); + const subject = store.createLingThread({ kind: "conversation", title: "Scoped thread", objective: "Observe scoped progress" }, now); + const other = store.createLingThread({ kind: "conversation", title: "Separate thread", objective: "Preserve privacy" }, now); + const expiresAt = new Date(Date.now() + 60_000).toISOString(); + const grant = async (label: string, scopes: readonly LingAppServerGrantScope[]) => { + const secret = createHash("sha256").update(randomUUID()).digest("hex"); + const input = { + label, scopes, expiresAt, subject: { kind: "thread", id: subject.id }, + credentialSha256: createHash("sha256").update(secret).digest("hex"), idempotencyKey: label, + }; + const result = await operator.call<{ grant: LingAppServerGrant }>("server/grants/create", input); + assert.deepEqual(await operator.call("server/grants/create", input), result); + assert.equal("credentialSha256" in result.grant, false); + return { ...result, bearer: `las1.${result.grant.grantId}.${secret}` }; + }; + const observation = await grant("Observer", ["observe"]); + const control = await grant("Controller", ["observe", "control"]); + const approvals = await grant("Approver", ["observe", "approve"]); + const observer = await fixture.connect("/app-server/rpc", fixture.cwd, observation.bearer); + const controller = await fixture.connect("/app-server/rpc", fixture.cwd, control.bearer); + const approver = await fixture.connect("/app-server/rpc", fixture.cwd, approvals.bearer); + assert.deepEqual(observer.initialization?.effectiveScopes, ["observe"]); + assert.ok(observer.initialization?.capabilities.includes("thread.events")); + assert.ok(!observer.initialization?.capabilities.includes("turn.control")); + const current = await observer.call("thread/snapshot", { threadId: subject.id }); + const privileged = await operator.call("thread/snapshot", { threadId: subject.id }); + assert.equal(current.thread.id, subject.id); + await assert.rejects(observer.call("thread/snapshot", { threadId: other.id }), { code: "capability_denied" }); + await assert.rejects(observer.call("thread/subscribe", {}), { code: "capability_denied" }); + await assert.rejects(observer.call("thread/list"), { code: "capability_denied" }); + await assert.rejects(observer.call("server/grants/list"), { code: "capability_denied" }); + await assert.rejects(observer.call("turn/start", { threadId: subject.id, message: "Record this." }), { code: "capability_denied" }); + const rejectedCursor = await observer.call("thread/events/read", { threadId: subject.id, cursor: privileged.cursor }); + assert.equal(rejectedCursor.window.disposition, "snapshot_required"); + + await observer.call("thread/subscribe", { threadId: subject.id, cursor: current.cursor }); + const turn = await controller.call<{ turn: { id: string } }>("turn/start", { threadId: subject.id, message: "Record this.", turnId: "scoped-turn" }); + assert.equal(turn.turn.id, "scoped-turn"); + await waitFor(() => observer.notices.find(notice => notice.method === "turn/started" && notice.params?.subject?.threadId === subject.id)); + await assert.rejects(controller.call("turn/start", { threadId: other.id, message: "Outside the grant." }), { code: "capability_denied" }); + const makeApproval = (threadId: string, id: string) => { + const run = store.createRun({ + id, threadId, cwd: fixture.cwd, taskId: id, providerName: "fixture", providerModel: "fixture", + taskSnapshot: {}, providerSnapshot: {}, requestSnapshot: {}, createdAt: now, + }); + store.markRunStarted(run.id, now); + return store.createApprovalRequest({ + runId: run.id, taskId: id, toolCallId: "approved-tool", actionType: "bash", risk: "medium", + title: "Fixture approval", description: "Check approval ownership", + payload: { type: "bash", cwd: fixture.cwd, command: "true", riskFlags: [] }, + }, now); + }; + const allowedApproval = makeApproval(subject.id, "approved-run"); + const unrelatedApproval = makeApproval(other.id, "other-run"); + await assert.rejects(controller.call("approval/respond", { approvalId: allowedApproval.id, decision: "deny" }), { code: "capability_denied" }); + await assert.rejects(approver.call("approval/respond", { approvalId: unrelatedApproval.id, decision: "deny" }), { code: "capability_denied" }); + await approver.call("approval/respond", { approvalId: allowedApproval.id, decision: "deny" }); + assert.equal(store.getApprovalRequest(allowedApproval.id)?.status, "denied"); + assert.equal(store.getApprovalRequest(unrelatedApproval.id)?.status, "pending"); + + const closing = observer.waitForClose(); + await operator.call("server/grants/revoke", { grantId: observation.grant.grantId, expectedRevision: observation.grant.revision }); + const [code, reason] = await closing; + assert.equal(code, 1008); + assert.equal(String(reason), "authorization_changed"); + await fixture.restart(); + await assert.rejects(fixture.connect("/app-server/rpc", fixture.cwd, observation.bearer), /401/u); + const restored = await fixture.connect("/app-server/rpc", fixture.cwd, control.bearer); + const snapshot = await restored.call("thread/snapshot", { threadId: subject.id }); + assert.equal(snapshot.thread.id, subject.id); + await assert.rejects(fixture.connect("/rpc/stream", fixture.cwd, control.bearer), /401/u); +}); + test("stdio and the private Unix socket deliver the same App Server Thread events", { timeout: 20_000 }, async t => { const fixture = await releaseFixture(t); const options = fixture.transportOptions(); @@ -1539,11 +1735,11 @@ async function releaseFixture(t: TestContext, { daemon = makeDaemon(candidateRuntime); await daemon.start(); }, - async connect(path: "/app-server/rpc" | "/rpc/stream" = "/app-server/rpc", workspaceCwd = cwd) { + async connect(path: "/app-server/rpc" | "/rpc/stream" = "/app-server/rpc", workspaceCwd = cwd, credential?: string) { const address = daemon.server.address(); assert.ok(address && typeof address === "object"); const socket = new WebSocket(`ws://127.0.0.1:${address.port}${path}?cwd=${encodeURIComponent(workspaceCwd)}`, { - headers: requireAuth ? { Authorization: `Bearer ${authToken}` } : undefined, + headers: credential || requireAuth ? { Authorization: `Bearer ${credential ?? authToken}` } : undefined, }); clients.add(socket); await once(socket, "open"); @@ -1566,12 +1762,12 @@ async function releaseFixture(t: TestContext, { const initialization = path === "/app-server/rpc" ? await call("initialize", { protocolVersions: ["ling-app-server/1"] }) : undefined; if (initialization) { - await call("workItem/list"); + await call(credential ? "server/ping" : "workItem/list"); } else { const initialized = await call<{ ok: boolean }>("initialize"); assert.equal(initialized.ok, true); } - return { call, notices, initialization, close: () => socket.terminate() }; + return { call, notices, initialization, close: () => socket.terminate(), waitForClose: () => once(socket, "close") }; }, }; } From 33af2bc28035adc78b91a9675e7af02e727c9cbb Mon Sep 17 00:00:00 2001 From: tianxiaochannel-oss88 Date: Sun, 22 Nov 2026 13:03:37 +0800 Subject: [PATCH 003/147] feat(work-items): bind GitHub occurrences to verified subjects --- packages/api-client/src/app-server.ts | 11 ++- packages/contracts/src/app-server.ts | 46 ++++++++++ packages/core/src/app-server-state-types.ts | 2 +- .../src/storage/sqlite/work-item-store.ts | 35 ++++++-- packages/core/src/work-item-types.ts | 3 + packages/daemon/src/config.ts | 4 + .../src/server/app-server-github-sources.ts | 39 ++++++++ .../src/server/app-server-github-subject.ts | 88 +++++++++++++++++++ packages/daemon/src/server/rpc.ts | 24 ++++- .../app-server-release-acceptance.test.ts | 71 ++++++++++++++- 10 files changed, 310 insertions(+), 13 deletions(-) create mode 100644 packages/daemon/src/server/app-server-github-sources.ts create mode 100644 packages/daemon/src/server/app-server-github-subject.ts diff --git a/packages/api-client/src/app-server.ts b/packages/api-client/src/app-server.ts index c17e8c0d2..c9b8083c8 100644 --- a/packages/api-client/src/app-server.ts +++ b/packages/api-client/src/app-server.ts @@ -21,6 +21,8 @@ import type { LingAppServerExternalAgentTaskReconnectResult, LingAppServerExternalAgentTaskStartParams, LingAppServerExternalAgentTaskStartResult, + LingAppServerGitHubSubjectParams, + LingAppServerGitHubSubjectResult, LingAppServerGrant, LingAppServerGrantCreateParams, LingAppServerHandoffCreateParams, @@ -58,7 +60,9 @@ import type { LingAppServerVerifyStatusResult, LingAppServerWorkItemControlParams, LingAppServerWorkItemControlResult, + LingAppServerWorkItemCreateParams, LingAppServerWorkItemReadResult, + LingAppServerWorkItemResult, LingAppServerWorkItemSnapshot, LingAppServerWorkItemCollaborationAppendParams, LingAppServerWorkItemCollaborationAppendResult, @@ -222,11 +226,16 @@ export class LingAppServerClient { return await this.request("workItem/list", params); } - async createWorkItem(params: Record): Promise { + async createWorkItem(params: LingAppServerWorkItemCreateParams): Promise { await this.connect(); return await this.request("workItem/create", params); } + async readGitHubSubject(params: LingAppServerGitHubSubjectParams): Promise { + await this.connect(); + return await this.request("github/subject/read", params); + } + async acceptWorkItem(params: Record): Promise { await this.connect(); return await this.request("workItem/accept", params); diff --git a/packages/contracts/src/app-server.ts b/packages/contracts/src/app-server.ts index 35ab098cf..c83486fff 100644 --- a/packages/contracts/src/app-server.ts +++ b/packages/contracts/src/app-server.ts @@ -488,6 +488,20 @@ export interface LingAppServerWorkItemSnapshot { export interface LingAppServerWorkItemResult { readonly cwd: string; readonly workItem: LingAppServerWorkItemSnapshot; + readonly sourceReceipt?: LingAppServerWorkItemSourceReceipt; +} + +export interface LingAppServerWorkItemCreateParams { + readonly cwd?: string; + readonly workItemId?: string; + readonly sourceType?: "channel_task" | "channel_workflow_step" | "external_work" | "external_work_action" | "approval" | "run" | "manual"; + readonly sourceId: string; + readonly title: string; + readonly description?: string; + readonly priority?: "low" | "normal" | "high" | "urgent"; + readonly labels?: readonly string[]; + readonly idempotencyKey?: string; + readonly gitHubSubject?: Omit; } export interface LingAppServerWorkItemReadResult extends LingAppServerWorkItemResult { @@ -735,6 +749,38 @@ export interface LingAppServerHandoffResumeResult { readonly replayed: boolean; } +export interface LingAppServerGitHubSubjectParams { + readonly cwd?: string; + readonly repository: string; + readonly kind: "issue" | "pull_request"; + readonly number: number; +} + +export interface LingAppServerGitHubSubject extends Omit { + readonly githubInstanceId: "github.com"; + readonly repositoryId: string; + readonly title: string; + readonly state: "open" | "closed"; + readonly sourceRevision: string; + readonly baseRef?: string; + readonly baseSha?: string; + readonly headSha?: string; + readonly mergeSha?: string; + readonly merged?: boolean; +} + +export interface LingAppServerGitHubSubjectResult { + readonly cwd: string; + readonly subject: LingAppServerGitHubSubject; +} + +export interface LingAppServerWorkItemSourceReceipt { + readonly workItemId: string; + readonly sourceType: string; + readonly sourceId: string; + readonly targetKey: string; +} + export type LingAppServerVerificationCheckKind = "command" | "test" | "typecheck" | "browser" | "platform"; export type LingAppServerVerificationCheckStatus = | "pending" diff --git a/packages/core/src/app-server-state-types.ts b/packages/core/src/app-server-state-types.ts index bdef8c037..f7cf4b959 100644 --- a/packages/core/src/app-server-state-types.ts +++ b/packages/core/src/app-server-state-types.ts @@ -2,7 +2,7 @@ import type { ControlPlaneEvent } from "./run-types.js"; export type AppServerStateKind = "verify_plan" | "verify_operation" | "review_submission" | "review_finding_update" | "simplify_submission" | "external_federation" | "work_item_creation" | "work_item_acceptance" | "work_item_control" - | "replay_identity" | "handoff" | "authorization_grant"; + | "replay_identity" | "handoff" | "authorization_grant" | "work_item_target" | "work_item_source"; export interface AppServerStateRecord { readonly workspaceId: string; diff --git a/packages/core/src/storage/sqlite/work-item-store.ts b/packages/core/src/storage/sqlite/work-item-store.ts index 33ec526ae..30a78b982 100644 --- a/packages/core/src/storage/sqlite/work-item-store.ts +++ b/packages/core/src/storage/sqlite/work-item-store.ts @@ -31,6 +31,7 @@ import { workItemSelectSql } from "./select-sql.js"; import type { SqliteStoreContext } from "./store-context.js"; import type { SqliteAppServerStateStore } from "./app-server-state-store.js"; import type { SqliteControlPlaneStore } from "./control-plane-store.js"; +import type { LingAppServerWorkItemSourceReceipt } from "@ling-stack/contracts"; export interface SqliteWorkItemStorePorts { readonly assertChannelExists: (channelId: string) => void; @@ -76,11 +77,24 @@ export class SqliteWorkItemStore { const { database } = this.context; database.exec("BEGIN IMMEDIATE"); try { - const existing = this.getWorkItemBySource(input.sourceType, input.sourceId); + const sourceWorkItem = this.getWorkItemBySource(input.sourceType, input.sourceId); + const targetKey = input.verifiedTargetKey; + const sourceKey = createHash("sha256").update(JSON.stringify([input.sourceType, input.sourceId])).digest("hex"); + const target = (targetKey ? state.get("work_item_target", targetKey)?.payload : undefined) as { workItemId: string } | undefined; + const source = state.get("work_item_source", sourceKey)?.payload as LingAppServerWorkItemSourceReceipt | undefined; + const boundId = target?.workItemId ?? source?.workItemId; + if ((targetKey && source && source.targetKey !== targetKey) + || (source && target && source.workItemId !== target.workItemId) + || (boundId && sourceWorkItem && sourceWorkItem.id !== boundId)) { + throw new Error("work_item_creation_source_conflict"); + } + const existing = boundId ? this.getWorkItem(boundId) : sourceWorkItem; + if (boundId && !existing) throw new Error("work_item_creation_source_conflict"); const submission = input.idempotencyKey ? { recordId: createHash("sha256").update(input.idempotencyKey).digest("hex"), fingerprint: createHash("sha256").update(JSON.stringify([ input.id, input.sourceType, input.sourceId, input.title, input.description, input.priority, input.labels, + ...(targetKey ? [targetKey] : []), ])).digest("hex"), } : undefined; const prior = submission ? state.get("work_item_creation", submission.recordId)?.payload as WorkItemCreationReceipt | undefined : undefined; @@ -91,17 +105,28 @@ export class SqliteWorkItemStore { throw new Error("work_item_creation_source_conflict"); } const workItem = existing ?? this.saveWorkItem(input, now); + let sourceReceipt = source; + if (targetKey && !source) { + sourceReceipt = { workItemId: workItem.id, targetKey, sourceType: input.sourceType, sourceId: input.sourceId }; + if (!target) state.putWithinTransaction({ + kind: "work_item_target", recordId: targetKey, expectedRevision: 0, payload: { workItemId: workItem.id }, + }, now); + state.putWithinTransaction({ + kind: "work_item_source", recordId: sourceKey, expectedRevision: 0, payload: sourceReceipt, + }, now); + } if (submission && !prior) { state.putWithinTransaction({ kind: "work_item_creation", recordId: submission.recordId, expectedRevision: 0, payload: { fingerprint: submission.fingerprint, workItemId: workItem.id } satisfies WorkItemCreationReceipt }, now); } - const event = existing ? undefined : events.store.appendControlPlaneEventWithinTransaction({ + const action = !existing ? "work_item.created" : sourceReceipt && !source ? "work_item.source_linked" : undefined; + const event = action ? events.store.appendControlPlaneEventWithinTransaction({ workspaceId: workItem.workspaceId, cwd: events.cwd, domain: "work_items", - entityType: "work_item", entityId: workItem.id, action: "work_item.created", + entityType: "work_item", entityId: workItem.id, action, data: { workItemId: workItem.id, revision: workItem.revision, status: workItem.status }, - }, now); + }, now) : undefined; database.exec("COMMIT"); - return { workItem, event }; + return { workItem, event, sourceReceipt }; } catch (error) { rollbackOwnedSqliteTransaction(database); throw error; diff --git a/packages/core/src/work-item-types.ts b/packages/core/src/work-item-types.ts index 48a59c650..bbacf86c4 100644 --- a/packages/core/src/work-item-types.ts +++ b/packages/core/src/work-item-types.ts @@ -135,11 +135,14 @@ export interface CreateWorkItemInput extends Pick { readonly idempotencyKey?: string; + /** Host-resolved target identity shared by the source occurrences. */ + readonly verifiedTargetKey?: string; } export interface CreateWorkItemResult { readonly workItem: WorkItem; readonly event?: ControlPlaneEvent; + readonly sourceReceipt?: import("@ling-stack/contracts").LingAppServerWorkItemSourceReceipt; } export interface ListWorkItemsOptions { diff --git a/packages/daemon/src/config.ts b/packages/daemon/src/config.ts index 44dc4a457..5dd1e9653 100644 --- a/packages/daemon/src/config.ts +++ b/packages/daemon/src/config.ts @@ -9,6 +9,7 @@ import { } from "./runtime/concurrency-policy.js"; import type { RestrictedCommandRuntimeConfig } from "./runtime/sandbox/restricted-command-runtime.js"; import { resolveVerificationRecipes, type AppServerVerificationRecipeConfig } from "./server/app-server-verification-config.js"; +import { resolveAppServerGitHubSources, type AppServerGitHubSourceConfig } from "./server/app-server-github-sources.js"; export interface DaemonConfig { readonly host?: string; @@ -25,6 +26,7 @@ export interface DaemonConfig { readonly concurrency?: RuntimeConcurrencyFeatureConfig; readonly transports?: TransportFeatureConfig; readonly appServerVerificationRecipes?: readonly AppServerVerificationRecipeConfig[]; + readonly appServerGitHubSources?: readonly AppServerGitHubSourceConfig[]; readonly channels?: ChannelFeatureConfig; readonly cuaDriver?: CuaDriverFeatureConfig; readonly remoteAccess?: RemoteAccessFeatureConfig; @@ -190,6 +192,7 @@ export interface ResolvedDaemonConfig { readonly concurrency: ResolvedRuntimeConcurrencyPolicy; readonly transports: Required; readonly appServerVerificationRecipes: readonly AppServerVerificationRecipeConfig[]; + readonly appServerGitHubSources: readonly AppServerGitHubSourceConfig[]; readonly channels: ChannelFeatureConfig; readonly cuaDriver: { readonly bundledEmbedded: { @@ -252,6 +255,7 @@ export function resolveConfig(config: DaemonConfig): ResolvedDaemonConfig { }, concurrency: resolveRuntimeConcurrencyPolicy(config.concurrency), appServerVerificationRecipes: resolveVerificationRecipes(config.appServerVerificationRecipes), + appServerGitHubSources: resolveAppServerGitHubSources(config.appServerGitHubSources), transports: { providerWebSocketFallback: config.transports?.providerWebSocketFallback ?? readBooleanEnv(process.env.LING_STACK_PROVIDER_WS_FALLBACK, true), diff --git a/packages/daemon/src/server/app-server-github-sources.ts b/packages/daemon/src/server/app-server-github-sources.ts new file mode 100644 index 000000000..85e862221 --- /dev/null +++ b/packages/daemon/src/server/app-server-github-sources.ts @@ -0,0 +1,39 @@ +import { readFileSync, realpathSync } from "node:fs"; +import { isAbsolute } from "node:path"; + +export interface AppServerGitHubSourceConfig { + readonly workspaceRoot: string; + readonly repository: string; + readonly repositoryId: string; + readonly secretRef?: string; +} + +export const githubRepositoryPattern = /^[A-Za-z0-9][A-Za-z0-9-]{0,99}\/(?!\.{1,2}$)[A-Za-z0-9_.-]{1,100}$/u; + +export function resolveAppServerGitHubSources( + configured: readonly AppServerGitHubSourceConfig[] | undefined, +): readonly AppServerGitHubSourceConfig[] { + const configPath = process.env.LING_STACK_APP_SERVER_GITHUB_SOURCES_FILE; + let sources = configured; + if (sources === undefined && configPath) { + try { sources = JSON.parse(readFileSync(configPath, "utf8")); } + catch { throw new Error("The App Server GitHub source file must contain valid JSON."); } + } + if (sources === undefined) return []; + if (!Array.isArray(sources) || sources.length > 64) throw new Error("App Server GitHub sources must be a bounded array."); + const seen = new Set(); + return sources.map((config: AppServerGitHubSourceConfig) => { + if (!config || typeof config.repository !== "string" || !githubRepositoryPattern.test(config.repository) + || typeof config.repositoryId !== "string" || !/^[1-9]\d{0,19}$/u.test(config.repositoryId) + || typeof config.workspaceRoot !== "string" || !isAbsolute(config.workspaceRoot) + || config.secretRef !== undefined && (typeof config.secretRef !== "string" || !config.secretRef.trim() || config.secretRef.length > 256)) { + throw new Error("Invalid App Server GitHub source configuration."); + } + const workspaceRoot = realpathSync(config.workspaceRoot); + const repository = config.repository.toLowerCase(); + const key = JSON.stringify([workspaceRoot, repository]); + if (seen.has(key)) throw new Error("Duplicate App Server GitHub source for a workspace."); + seen.add(key); + return { workspaceRoot, repository, repositoryId: config.repositoryId, secretRef: config.secretRef }; + }); +} diff --git a/packages/daemon/src/server/app-server-github-subject.ts b/packages/daemon/src/server/app-server-github-subject.ts new file mode 100644 index 000000000..064d4063b --- /dev/null +++ b/packages/daemon/src/server/app-server-github-subject.ts @@ -0,0 +1,88 @@ +import { createHash } from "node:crypto"; +import type { LingAppServerGitHubSubject, LingAppServerGitHubSubjectParams } from "@ling-stack/contracts"; +import type { DaemonContext } from "../context.js"; +import { HttpError } from "../errors.js"; +import { isRecord } from "../shared/validation.js"; +import { githubRepositoryPattern } from "./app-server-github-sources.js"; + +export function parseGitHubSubjectParams(value: unknown): LingAppServerGitHubSubjectParams { + if (!isRecord(value) || typeof value.repository !== "string" || !githubRepositoryPattern.test(value.repository) + || value.kind !== "issue" && value.kind !== "pull_request" || typeof value.number !== "number" + || !Number.isSafeInteger(value.number) || value.number < 1) { + throw new HttpError(400, "invalid_params", "Supply a GitHub repository, subject kind and positive object number."); + } + return { repository: value.repository.toLowerCase(), kind: value.kind, number: value.number }; +} + +export function gitHubWorkItemTargetKey(subject: LingAppServerGitHubSubject): string { + return `github_${digest([subject.githubInstanceId, subject.repositoryId, subject.kind, subject.number])}`; +} + +export function gitHubReadClient(context: DaemonContext, cwd: string, repository: string) { + const source = context.config.appServerGitHubSources.find(item => item.workspaceRoot === cwd && item.repository === repository); + if (!source) throw new HttpError(403, "github_subject_unavailable", "The GitHub repository is unavailable in this workspace."); + const secret = source.secretRef ? context.secretResolver.resolve(source.secretRef, "github_token") : undefined; + if (source.secretRef && (!secret || !secret.value)) { + throw new HttpError(403, "github_subject_unavailable", "The GitHub repository is unavailable in this workspace."); + } + const fetcher = context.externalWorkFetch ?? globalThis.fetch; + return { + source, + async get(path: string): Promise> { + let response: Response; + try { + response = await fetcher(`https://api.github.com/repos/${repository}${path}`, { + headers: { Accept: "application/vnd.github+json", "User-Agent": "ling-stack-app-server", + ...(secret?.value ? { Authorization: `Bearer ${secret.value}` } : {}) }, + redirect: "error", signal: AbortSignal.timeout(8000), + }); + } catch { + throw new HttpError(502, "github_observation_unavailable", "GitHub could not confirm the requested object."); + } + if (!response.ok) { + throw new HttpError(response.status === 404 || response.status === 403 ? 404 : 502, + "github_observation_unavailable", "GitHub could not confirm the requested object."); + } + const body: unknown = await response.json().catch(() => undefined); + if (!isRecord(body)) throw new HttpError(502, "github_observation_invalid", "GitHub returned an invalid record."); + return body; + }, + }; +} + +export type GitHubReadClient = ReturnType; + +export async function readAppServerGitHubSubject(client: GitHubReadClient, params: LingAppServerGitHubSubjectParams): Promise { + const path = params.kind === "issue" ? "/issues/" : "/pulls/"; + const [repo, item] = await Promise.all([client.get(""), client.get(path + params.number)]); + if (String(repo.id) !== client.source.repositoryId || typeof repo.full_name !== "string" + || repo.full_name.toLowerCase() !== client.source.repository || item.number !== params.number + || typeof item.title !== "string" || !item.title.trim() || item.state !== "open" && item.state !== "closed" + || params.kind === "issue" && item.pull_request) { + throw new HttpError(404, "github_subject_unavailable", "The GitHub object did not match the registered subject."); + } + const base = isRecord(item.base) ? item.base : undefined; + const head = isRecord(item.head) ? item.head : undefined; + const baseSha = commitSha(base?.sha); + const headSha = commitSha(head?.sha); + const baseRef = typeof base?.ref === "string" ? base.ref : undefined; + if (params.kind === "pull_request" && (!baseSha || !headSha || !baseRef || !isRecord(base?.repo) + || String(base.repo.id) !== client.source.repositoryId)) { + throw new HttpError(502, "github_observation_invalid", "GitHub did not confirm the pull request's head and base."); + } + const mergeSha = commitSha(item.merge_commit_sha); + const merged = params.kind === "pull_request" ? item.merged === true : undefined; + const facts = { + githubInstanceId: "github.com" as const, repositoryId: client.source.repositoryId, repository: client.source.repository, + kind: params.kind, number: params.number, title: item.title, state: item.state, baseRef, baseSha, headSha, mergeSha, merged, + } satisfies Omit; + return { ...facts, sourceRevision: digest([facts, item.updated_at]) }; +} + +export function commitSha(value: unknown): string | undefined { + return typeof value === "string" && /^[a-f0-9]{40}$/u.test(value) ? value : undefined; +} + +export function digest(value: unknown): string { + return createHash("sha256").update(JSON.stringify(value)).digest("hex"); +} diff --git a/packages/daemon/src/server/rpc.ts b/packages/daemon/src/server/rpc.ts index 197eaf3ce..d3ce28a4b 100644 --- a/packages/daemon/src/server/rpc.ts +++ b/packages/daemon/src/server/rpc.ts @@ -91,6 +91,7 @@ import { appServerGrantBearerPrefix, appServerGrantStillActive, authenticateAppServerGrant, createAppServerGrant, grantAllowsMethod, grantAllowsRequest, listAppServerGrants, revokeAppServerGrant, } from "./app-server-authorization.js"; +import { gitHubReadClient, gitHubWorkItemTargetKey, parseGitHubSubjectParams, readAppServerGitHubSubject } from "./app-server-github-subject.js"; import { ExternalAgentFederationService, externalAgentRpcError, @@ -148,7 +149,7 @@ const UNIMPLEMENTED_APP_SERVER_METHODS = new Set([ "turn/retry", "turn/steer", "thread/compact/start", "thread/revert", "changes/read", "changes/apply/preview", "changes/apply", "artifact/read", "workItem/delivery/read", "delivery/read", - "github/subject/read", "github/delivery/reconcile", "model/list", "skill/read", "permissionProfile/list", + "github/delivery/reconcile", "model/list", "skill/read", "permissionProfile/list", ]); const activeExternalDispatches = new WeakMap>(); const operatorMethods = new Set([ @@ -159,6 +160,7 @@ const operatorMethods = new Set([ "worktree/create", "worktree/cleanup", "thread/fork", "handoff/create", "handoff/resume", "server/grants/create", "server/grants/list", "server/grants/revoke", + "github/subject/read", ]); const IMPLEMENTED_APP_SERVER_METHODS = LING_APP_SERVER_METHODS.filter(method => !UNIMPLEMENTED_APP_SERVER_METHODS.has(method)); const appServerMethods = new Set([...IMPLEMENTED_APP_SERVER_METHODS, "runs.start", "runs.cancel", "turn/steer"]); @@ -674,6 +676,12 @@ class RpcConnection { return this.listWorkItems(params); case "workItem/create": return this.createWorkItem(params); + case "github/subject/read": { + const record = this.workspaceParams(params, true); + const subjectParams = parseGitHubSubjectParams(record); + const subject = await readAppServerGitHubSubject(gitHubReadClient(this.context, record.cwd, subjectParams.repository), subjectParams); + return { cwd: record.cwd, subject }; + } case "workItem/accept": return this.acceptWorkItem(params); case "workItem/clarify": @@ -852,7 +860,7 @@ class RpcConnection { return { cwd, workspaceId: snapshot.workspaceId, domain, snapshot: snapshot.domains[domain] }; } - private createWorkItem(params: unknown): LingAppServerWorkItemResult { + private async createWorkItem(params: unknown): Promise { const record = readParamsRecord(params); const cwd = readRpcCwd(record, this.defaultCwd); const sourceType = readOptionalWorkItemSourceType(record.sourceType) ?? "manual"; @@ -863,6 +871,13 @@ class RpcConnection { throw rpcError(-32602, "invalid_params", "idempotencyKey must be a non-empty string of up to 200 characters."); } const store = this.context.storeRegistry.getStore(cwd); + let verifiedTargetKey: string | undefined; + if (record.gitHubSubject !== undefined) { + this.workspaceParams(params, true); + const subjectParams = parseGitHubSubjectParams(record.gitHubSubject); + const subject = await readAppServerGitHubSubject(gitHubReadClient(this.context, cwd, subjectParams.repository), subjectParams); + verifiedTargetKey = gitHubWorkItemTargetKey(subject); + } const input = { id: readOptionalStringField(record, "workItemId"), sourceType, @@ -873,11 +888,12 @@ class RpcConnection { priority: readOptionalWorkItemPriority(record.priority), labels: Array.isArray(record.labels) && record.labels.every((value) => typeof value === "string") ? record.labels as string[] : undefined, idempotencyKey, + verifiedTargetKey, }; try { - const { workItem, event } = store.createWorkItem(input, new Date().toISOString(), cwd); + const { workItem, event, sourceReceipt } = store.createWorkItem(input, new Date().toISOString(), cwd); if (event) this.context.controlPlaneEvents.publish(trimOversizedEvent(event)); - return { cwd, workItem: projectWorkItemSnapshot(workItem) }; + return { cwd, workItem: projectWorkItemSnapshot(workItem), ...(sourceReceipt ? { sourceReceipt } : {}) }; } catch (error) { if (error instanceof Error && error.message === "work_item_creation_idempotency_conflict") { throw rpcError(-32031, "idempotency_conflict", "The creation key was reused with different input."); diff --git a/packages/daemon/test/app-server-release-acceptance.test.ts b/packages/daemon/test/app-server-release-acceptance.test.ts index 38ecc3ae3..ab8fb597e 100644 --- a/packages/daemon/test/app-server-release-acceptance.test.ts +++ b/packages/daemon/test/app-server-release-acceptance.test.ts @@ -19,6 +19,7 @@ import type { LingAppServerExternalAgentRegisterResult, LingAppServerExternalAgentTaskReconnectResult, LingAppServerExternalAgentTaskStartResult, + LingAppServerGitHubSubjectResult, LingAppServerGrant, LingAppServerGrantScope, LingAppServerHandoffResult, @@ -1007,6 +1008,67 @@ test("a second App Server connection cancels the same external dispatch and reco assert.deepEqual(starts, [start.task.taskId]); }); +test("authorized GitHub occurrences converge on one Work Item and retain their original receipts", { timeout: 20_000 }, async t => { + let repositoryId = 73; + const fixture = await releaseFixture(t, { + githubSources: cwd => [{ workspaceRoot: cwd, repository: "example/ling", repositoryId: "73" }], + externalWorkFetch: async input => { + const url = new URL(String(input)); + assert.equal(url.origin, "https://api.github.com"); + if (url.pathname === "/repos/example/ling") return Response.json({ id: repositoryId, full_name: "Example/Ling" }); + const number = Number(url.pathname.split("/").at(-1)); + assert.ok([7, 8].includes(number)); + return Response.json({ number, title: "Correct event replay", state: "open" }); + }, + }); + const [first, second] = await Promise.all([fixture.connect(), fixture.connect()]); + const gitHubSubject = { repository: "Example/Ling", kind: "issue", number: 7 } as const; + const { subject } = await first.call("github/subject/read", gitHubSubject); + assert.equal(subject.repositoryId, "73"); + assert.equal(subject.repository, "example/ling"); + const request = { gitHubSubject, title: "Correct event replay" }; + const chat = { ...request, sourceId: "chat-input", idempotencyKey: "chat" }; + const codex = { ...request, sourceId: "codex-input", idempotencyKey: "codex" }; + const [chatResult, codexResult] = await Promise.all([ + first.call("workItem/create", chat), + second.call("workItem/create", codex), + ]); + const { workItemId, workspaceId, revision } = chatResult.workItem; + assert.deepEqual(codexResult.workItem, chatResult.workItem); + assert.equal(chatResult.sourceReceipt?.sourceId, chat.sourceId); + assert.equal(codexResult.sourceReceipt?.sourceId, codex.sourceId); + assert.equal(chatResult.sourceReceipt?.targetKey, codexResult.sourceReceipt?.targetKey); + const accept = { workItemId, expectedWorkItemRevision: Number(revision), idempotencyKey: "first-accept" }; + type Accepted = { acceptance: { id: string }; replayed: boolean }; + const accepted = await Promise.all([ + first.call("workItem/accept", accept), + second.call("workItem/accept", accept), + ]); + assert.deepEqual(accepted[0].acceptance, accepted[1].acceptance); + assert.equal(accepted.filter(result => !result.replayed).length, 1); + await assert.rejects(first.call("workItem/create", { + ...codex, idempotencyKey: "other-target", gitHubSubject: { ...gitHubSubject, number: 8 }, + }), { code: "workspace_binding_invalid" }); + await assert.rejects(first.call("workItem/create", { + ...request, sourceId: "unregistered", gitHubSubject: { ...gitHubSubject, repository: "other/repo" }, + }), { code: "github_subject_unavailable" }); + repositoryId = 74; + await assert.rejects(first.call("workItem/create", { ...request, sourceId: "transferred" }), { + code: "github_subject_unavailable", + }); + repositoryId = 73; + assert.deepEqual(fixture.getStore().listControlPlaneEvents({ workspaceId, entityId: workItemId }).map(event => event.action), + ["work_item.created", "work_item.source_linked", "work_item.accepted"]); + await fixture.restart(); + const restored = await fixture.connect(); + const replay = await restored.call("workItem/create", codex); + assert.equal(replay.workItem.workItemId, workItemId); + assert.deepEqual(replay.sourceReceipt, codexResult.sourceReceipt); + const { gitHubSubject: _, idempotencyKey: __, ...bareSource } = codex; + assert.deepEqual(await restored.call("workItem/create", bareSource), replay); + assert.equal(fixture.getStore().listWorkItems().length, 1); +}); + test("Work Item creation, acceptance, evidence and collaboration retries keep one event per committed revision", { timeout: 20_000 }, async t => { const fixture = await releaseFixture(t); const client = await fixture.connect(); @@ -1670,28 +1732,33 @@ type ReleaseRuntime = { const candidateRuntime: ReleaseRuntime = { createDaemonServer, createSqliteRunStore, resolveStoragePaths }; async function releaseFixture(t: TestContext, { - runner, initialRuntime = candidateRuntime, harness, requireAuth = true, verificationRecipes, + runner, initialRuntime = candidateRuntime, harness, requireAuth = true, verificationRecipes, githubSources, externalWorkFetch, }: { runner?: RunnerRegistrationInput; initialRuntime?: ReleaseRuntime; harness?: DaemonConfig["harness"]; requireAuth?: boolean; verificationRecipes?: (root: string, cwd: string) => Promise; + githubSources?: (cwd: string) => DaemonConfig["appServerGitHubSources"]; + externalWorkFetch?: typeof fetch; } = {}) { const root = await realpath(await mkdtemp(join(tmpdir(), "ling-as-"))); const cwd = join(root, "workspace"); await mkdir(cwd); const appServerVerificationRecipes = await verificationRecipes?.(root, cwd); + const appServerGitHubSources = githubSources?.(cwd); let authToken = randomUUID(); const priorLingHome = process.env.LING_STACK_HOME; process.env.LING_STACK_HOME = join(root, "fixture-home"); const stores = new Map(); const clients = new Set(); const makeDaemon = (runtime: ReleaseRuntime) => runtime.createDaemonServer({ - host: "127.0.0.1", port: 0, defaultWorkspaceCwd: cwd, authToken: requireAuth ? authToken : undefined, harness, appServerVerificationRecipes, + host: "127.0.0.1", port: 0, defaultWorkspaceCwd: cwd, authToken: requireAuth ? authToken : undefined, harness, + appServerVerificationRecipes, appServerGitHubSources, }, { ...(runner ? { runnerRegistry: createRunnerRegistry([runner]) } : {}), chromeBrowserNativeMessagingEnabled: false, + externalWorkFetch, remoteReplyDispatcher: null, storeFactory(workspace) { const store = runtime.createSqliteRunStore(workspace, runtime.resolveStoragePaths(workspace, { From 3c563d37368304cc0bfc6a20e7f9eca65a4ac87f Mon Sep 17 00:00:00 2001 From: tianxiaochannel-oss88 Date: Sun, 22 Nov 2026 13:17:59 +0800 Subject: [PATCH 004/147] feat(delivery): reconcile trusted GitHub checks and merge receipts --- .../ling-app-server-implementation-plan.md | 5 +- packages/api-client/src/app-server.ts | 12 ++ packages/contracts/src/app-server.ts | 54 +++++++ packages/contracts/src/threads.ts | 11 +- packages/core/src/app-server-state-types.ts | 3 +- packages/core/src/goal-supervision.ts | 21 ++- packages/core/src/run-types.ts | 4 + packages/core/src/storage/sqlite-run-store.ts | 4 + .../src/storage/sqlite/goal-acceptance.ts | 27 +++- .../src/storage/sqlite/work-item-store.ts | 54 ++++++- packages/core/src/work-item-types.ts | 15 +- .../daemon/src/features/runs/thread-routes.ts | 50 ++++-- .../daemon/src/server/app-server-github-ci.ts | 151 ++++++++++++++++++ .../src/server/app-server-github-delivery.ts | 62 +++++++ .../src/server/app-server-github-sources.ts | 46 +++++- .../src/server/app-server-github-subject.ts | 2 +- packages/daemon/src/server/router.ts | 2 + packages/daemon/src/server/rpc.ts | 32 +++- .../app-server-release-acceptance.test.ts | 149 +++++++++++++++++ 19 files changed, 671 insertions(+), 33 deletions(-) create mode 100644 packages/daemon/src/server/app-server-github-ci.ts create mode 100644 packages/daemon/src/server/app-server-github-delivery.ts diff --git a/docs/design/ling-app-server-implementation-plan.md b/docs/design/ling-app-server-implementation-plan.md index 9f422f474..00ae3574f 100644 --- a/docs/design/ling-app-server-implementation-plan.md +++ b/docs/design/ling-app-server-implementation-plan.md @@ -33,7 +33,8 @@ | B2 在途输入 | `turn/queue` 将输入交给持久 Run intervention。前驱已记录执行结束及副作用收敛时,Daemon 可在重启后用同一收据启动后继 Turn。用配置 Pi Runner 核对实际投递一次、重连事件及新旧 Turn 的关联。`turn/interrupt` 可携带明确的重定向输入。`turn/steer` 在当前 Runner 无同 Turn 安全注入能力时返回 `steer_unsupported`。已安装的 Codex 通过 MCP 验证了快照、追加消息、Turn 恢复入口和事件读取。 | | C2/F2 版本兼容 | 用 `v0.6.1@3fe77440e` 源码构建在 macOS 上创建 Thread、Turn、待决审批和游标,候选 Daemon 接手原 SQLite,旧 SDK 可读取 Thread 和处置后的审批。候选 SDK 向旧 `/rpc/stream` 尝试提交时,在协商阶段返回 `protocol_version_unsupported`。候选 Daemon 的 `/rpc/stream` 仅提供原有方法。测试覆盖 App Server 专属方法拒绝、旧客户端的 Run 启动和取消。候选 CLI probe 和本机 Codex MCP 已通过。v0.6.1 未提供 App Server 协议。发布安装包、远程连接及回退对账另行验收。 | | E1 Verify 与用户输入恢复 | Verify 按幂等键在 SQLite 写事务内受理。两个连接同时提交复用原操作及其事件。取消受理与停止意图一起写入,重启后可按原键读取回执。`verify/status` 记录确认退出后的 `cancelled`。执行器无法确认停止时,返回 `unknown` 并附 `verification_cancellation_unconfirmed`。已绑定工作项的 Verify 状态和 Control Plane 事件同事务提交。用户提问的 authority、答案 CAS、投递收据和 `pending/answered/cancelled` 事件也在重启后保持同一请求身份。 | -| E2 交付前验收 | App Server 与 HTTP 使用同一套 Goal 验收解析和证据检查。实际 Pi Run 通过后,可用同 Thread 证据完成 Goal。Verify 结果还可以用绑定当前候选的 `verification_passed` 条件完成 Goal,独立 verifier basis、coverage 和 producer refs 不匹配时会被拒绝。缺证据和引用其他 Thread 的 Run 会被拒绝。Review 已验证候选绑定、发现项处置重放及 freshness 持久化。`simplify/start` 对同一候选运行只读简化审查,`simplify/status` 可分页读取建议和报告引用,重启后重试复用原操作。GitHub CI 交付证据仍需接入 Goal。 | +| E2 交付前验收 | App Server 与 HTTP 使用同一套 Goal 验收解析和证据检查。实际 Pi Run 通过后,可用同 Thread 证据完成 Goal。Verify 结果用绑定当前候选的 `verification_passed` 条件完成 Goal,独立 verifier basis、coverage 和 producer refs 不匹配时会被拒绝。Review 已验证候选绑定、发现项处置和 freshness 持久化。`simplify/start` 与 `simplify/status` 支持只读简化审查及重启重放。`github_delivered` 要求当前已提交候选、同 Thread 与 Work Item、已接受的检查政策和 Host 重新核对的实际合并结果。 | +| O4 GitHub 证据核对 | 配置注册仓库、不可变仓库 ID 与分支政策。对已受理工作项重读 PR、实时 base ref、集成提交父链、检查 App、冻结的 workflow 文件、实际测试对象和最新 attempt。夹具覆盖同名异源检查、工作流改动、保持 head 更新 base、迟到尝试和合并后重新核对。工作项保留以前的观察和稳定交付 ID。GitHub merge queue 与实际仓库合并保护仍需验收。 | | O1/O8/O9 接单、控制和协作 | App Server 按来源标识创建或取得现有工作项。工作项创建、控制、接单、证据和协作写入各自与对应的事件同事务提交。控制回执在后继操作和 Daemon 重启后可按原请求找回。两个客户端验证了幂等、冲突错误、事件写入失败回滚和游标回放。阶段运行、定时轮次、交接、裁决与恢复的联合验收仍待下方矩阵。 | 源码兼容用例由 `LING_APP_SERVER_PREVIOUS_BUILD` 指向已构建的上一版源码目录。`LING_APP_SERVER_CODEX_EXECUTABLE` 指向已安装的 Codex。两项均使用隔离状态和回环服务,配置 Pi Runner 使用脚本化 Provider。 [发行验收测试](../../packages/daemon/test/app-server-release-acceptance.test.ts) @@ -43,7 +44,7 @@ | 工作包 | 代码或验收差距 | | --- | --- | | A1、B1、C1、C2 | 全方法的 Schema 校验、远程认证 WSS 和更多宿主兼容组合。workspace、Thread、Work Item 的 grant 范围已接入,审批和用户答复仍需按不同真实宿主和远程部署做验收。App Server 目标游标已绑定存储代次、授权代次和目标,现有兼容用例覆盖本机的上一版源码与候选组合。 | -| D1、D2、E1、E2 | 开工时的项目规则加载、两个开发 Skill、工作区 Verify、独立 verifier basis 和托管工作树管理已接入。仍需运行中进入新目录的局部规则、候选补丁的应用预览和提交、浏览器/平台配方、可信 GitHub CI 结果进入 Goal 验收,以及 UI 运行报告。 | +| D1、D2、E1、E2 | 开工时的项目规则加载、两个开发 Skill、工作区 Verify、独立 verifier basis、托管工作树管理和外部 GitHub 合并结果验收已接入。仍需运行中进入新目录的局部规则、候选补丁的应用预览和提交、浏览器/平台配方,以及 UI 运行报告。 | | F1、F2 | 普通会话已接入 Handoff 的候选封存和接手。仍需跨 Agent Workflow 的执行归属和预算承接。已有 Codex MCP 联调,双端宿主界面和授权变更后重订阅需要实测。 | | O1、O3–O9 | 跨入口任务归并和首次派发、自治策略、GitHub 交付、经验与设备反馈、阶段和定时轮次、在途改计划、交接和审议裁决。现有协作记录的持久化、版本冲突和回放已验证,原 Workflow/Automation 执行与联合验收还要接通。 | | G | 自研切换和回退日志对账、签名安装产物、远程 WSS 和三个真实 Provider 自研试点。macOS 打包预检仍缺当前打包输入的 Office 审查、对应 Electron/OS 的受限运行时审查和 gstack 平台资源。T01 离线预检达到评审条件,真实试点仍需按 Framework Assurance 准入。 | diff --git a/packages/api-client/src/app-server.ts b/packages/api-client/src/app-server.ts index c9b8083c8..b3bc924ea 100644 --- a/packages/api-client/src/app-server.ts +++ b/packages/api-client/src/app-server.ts @@ -23,6 +23,8 @@ import type { LingAppServerExternalAgentTaskStartResult, LingAppServerGitHubSubjectParams, LingAppServerGitHubSubjectResult, + LingAppServerGitHubDeliveryResult, + LingAppServerReconcileGitHubDeliveryParams, LingAppServerGrant, LingAppServerGrantCreateParams, LingAppServerHandoffCreateParams, @@ -236,6 +238,16 @@ export class LingAppServerClient { return await this.request("github/subject/read", params); } + async reconcileGitHubDelivery(params: LingAppServerReconcileGitHubDeliveryParams): Promise { + await this.connect(); + return await this.request("github/delivery/reconcile", params); + } + + async readGitHubDelivery(params: { readonly workItemId: string; readonly deliveryId?: string }): Promise { + await this.connect(); + return await this.request(params.deliveryId === undefined ? "workItem/delivery/read" : "delivery/read", params); + } + async acceptWorkItem(params: Record): Promise { await this.connect(); return await this.request("workItem/accept", params); diff --git a/packages/contracts/src/app-server.ts b/packages/contracts/src/app-server.ts index c83486fff..1cb5840a0 100644 --- a/packages/contracts/src/app-server.ts +++ b/packages/contracts/src/app-server.ts @@ -774,6 +774,60 @@ export interface LingAppServerGitHubSubjectResult { readonly subject: LingAppServerGitHubSubject; } +export type LingGitHubVerificationBasis = "head" | "integration" | "merge_group"; + +export interface LingGitHubRequiredCheck { + readonly name: string; + readonly appId: number; + readonly workflowId: number; + readonly workflowPath: string; + readonly workflowSha256: string; + readonly basis: LingGitHubVerificationBasis; + readonly coverageRefs: readonly string[]; +} + +export interface LingGitHubCiEvidence { + readonly check: LingGitHubRequiredCheck; + readonly testedCommit?: string; + readonly checkRunId?: number; + readonly runId?: number; + readonly runAttempt?: number; + readonly jobId?: number; + readonly outcome: "passed" | "failed" | "pending" | "unavailable"; + readonly reason?: "applicable_check_missing" | "current_attempt_pending" | "integration_unavailable" + | "merge_group_membership_unavailable" | "ambiguous_run" | "observation_window_exceeded" | "workflow_source_changed"; +} + +export interface LingAppServerGitHubDelivery { + readonly deliveryId: string; + readonly workItemId: string; + readonly acceptanceId: string; + readonly threadId: string; + readonly candidateDigest: string; + readonly policyRevision: string; + readonly subject: LingAppServerGitHubSubject; + readonly baseCommit: string; + readonly checks: readonly LingGitHubCiEvidence[]; + readonly status: "ci_pending" | "ci_failed" | "delivery_pending" | "delivered"; + readonly mergedCommit?: string; + readonly observedAt: string; +} + +export interface LingAppServerReconcileGitHubDeliveryParams { + readonly cwd?: string; + readonly workItemId: string; + readonly threadId: string; + readonly expectedWorkItemRevision: number; + readonly candidateDigest: string; + readonly repository: string; + readonly pullRequestNumber: number; +} + +export interface LingAppServerGitHubDeliveryResult { + readonly cwd: string; + readonly delivery: LingAppServerGitHubDelivery; +} + export interface LingAppServerWorkItemSourceReceipt { readonly workItemId: string; readonly sourceType: string; diff --git a/packages/contracts/src/threads.ts b/packages/contracts/src/threads.ts index 6791b7dc6..93121d396 100644 --- a/packages/contracts/src/threads.ts +++ b/packages/contracts/src/threads.ts @@ -78,7 +78,8 @@ export type GoalEvidenceRef = | { readonly kind: "artifact"; readonly id: string } | { readonly kind: "approval"; readonly id: string } | { readonly kind: "workflow"; readonly id: string } - | { readonly kind: "verification"; readonly id: string }; + | { readonly kind: "verification"; readonly id: string } + | { readonly kind: "github_delivery"; readonly id: string }; export interface GoalVerificationRequirement { readonly checkId: string; @@ -86,13 +87,19 @@ export interface GoalVerificationRequirement { readonly coverageDigest: string; } +export interface GoalGitHubDeliveryRequirement { + readonly workItemId: string; + readonly policyRevision: string; +} + export interface GoalAcceptanceCriterion { readonly id: string; readonly description: string; - readonly kind: "run_succeeded" | "workflow_succeeded" | "artifact" | "verification_passed"; + readonly kind: "run_succeeded" | "workflow_succeeded" | "artifact" | "verification_passed" | "github_delivered"; readonly contentSha256?: string; readonly evidenceId?: string; readonly verification?: GoalVerificationRequirement; + readonly githubDelivery?: GoalGitHubDeliveryRequirement; } export interface GoalAcceptanceEvidence { diff --git a/packages/core/src/app-server-state-types.ts b/packages/core/src/app-server-state-types.ts index f7cf4b959..0eb7e4029 100644 --- a/packages/core/src/app-server-state-types.ts +++ b/packages/core/src/app-server-state-types.ts @@ -2,7 +2,8 @@ import type { ControlPlaneEvent } from "./run-types.js"; export type AppServerStateKind = "verify_plan" | "verify_operation" | "review_submission" | "review_finding_update" | "simplify_submission" | "external_federation" | "work_item_creation" | "work_item_acceptance" | "work_item_control" - | "replay_identity" | "handoff" | "authorization_grant" | "work_item_target" | "work_item_source"; + | "replay_identity" | "handoff" | "authorization_grant" | "work_item_target" | "work_item_source" + | "github_delivery" | "github_delivery_current"; export interface AppServerStateRecord { readonly workspaceId: string; diff --git a/packages/core/src/goal-supervision.ts b/packages/core/src/goal-supervision.ts index 1d647e488..abd58a3aa 100644 --- a/packages/core/src/goal-supervision.ts +++ b/packages/core/src/goal-supervision.ts @@ -1,4 +1,4 @@ -import type { GoalAcceptanceCriterion, GoalAcceptanceEvidence, GoalEvidenceRef, GoalVerificationRequirement } from "@ling-stack/contracts"; +import type { GoalAcceptanceCriterion, GoalAcceptanceEvidence, GoalEvidenceRef, GoalGitHubDeliveryRequirement, GoalVerificationRequirement } from "@ling-stack/contracts"; export type { GoalAcceptanceCriterion, GoalAcceptanceEvidence } from "@ling-stack/contracts"; export interface GoalSupervisionPolicy { readonly maxContinuations: number; @@ -30,11 +30,12 @@ export function parseGoalAcceptanceCriteria(value: unknown): GoalAcceptanceCrite const ids = new Set(); return value.map(item => { const criterion = record(item); - if (Object.keys(criterion).some(key => !["id", "description", "kind", "contentSha256", "evidenceId", "verification"].includes(key)) + if (Object.keys(criterion).some(key => !["id", "description", "kind", "contentSha256", "evidenceId", "verification", "githubDelivery"].includes(key)) || typeof criterion.id !== "string" || !/^[a-zA-Z0-9_.:-]{1,100}$/.test(criterion.id) || ids.has(criterion.id) || typeof criterion.description !== "string" || !criterion.description.trim() || criterion.description.length > 2000 - || !["run_succeeded", "workflow_succeeded", "artifact", "verification_passed"].includes(String(criterion.kind)) + || !["run_succeeded", "workflow_succeeded", "artifact", "verification_passed", "github_delivered"].includes(String(criterion.kind)) || criterion.kind !== "verification_passed" && criterion.verification !== undefined + || criterion.kind !== "github_delivered" && criterion.githubDelivery !== undefined || criterion.evidenceId !== undefined && (typeof criterion.evidenceId !== "string" || !criterion.evidenceId.trim() || criterion.evidenceId.length > 200) || criterion.contentSha256 !== undefined && (criterion.kind !== "artifact" || typeof criterion.contentSha256 !== "string" || !/^[a-f0-9]{64}$/.test(criterion.contentSha256))) throw new Error("goal_acceptance_criteria_invalid"); @@ -42,10 +43,20 @@ export function parseGoalAcceptanceCriteria(value: unknown): GoalAcceptanceCrite return { id: criterion.id, description: criterion.description.trim(), kind: criterion.kind as GoalAcceptanceCriterion["kind"], ...(criterion.evidenceId === undefined ? {} : { evidenceId: criterion.evidenceId as string }), ...(criterion.contentSha256 === undefined ? {} : { contentSha256: criterion.contentSha256 as string }), - ...(criterion.kind === "verification_passed" ? { verification: parseVerificationRequirement(criterion.verification) } : {}) }; + ...(criterion.kind === "verification_passed" ? { verification: parseVerificationRequirement(criterion.verification) } : {}), + ...(criterion.kind === "github_delivered" ? { githubDelivery: parseGitHubDeliveryRequirement(criterion.githubDelivery) } : {}) }; }); } +function parseGitHubDeliveryRequirement(value: unknown): GoalGitHubDeliveryRequirement { + const requirement = record(value); + const { workItemId, policyRevision } = requirement; + if (Object.keys(requirement).some(key => key !== "workItemId" && key !== "policyRevision") + || typeof workItemId !== "string" || !workItemId.trim() || workItemId.length > 200 + || typeof policyRevision !== "string" || !/^[a-f0-9]{64}$/u.test(policyRevision)) throw new Error("goal_acceptance_criteria_invalid"); + return { workItemId, policyRevision }; +} + function parseVerificationRequirement(value: unknown): GoalVerificationRequirement { const requirement = record(value); const { checkId, verifierBasisRef, coverageDigest } = requirement; @@ -64,7 +75,7 @@ export function parseGoalAcceptanceEvidence(value: unknown): GoalAcceptanceEvide if (Object.keys(entry).some(key => !["criterionId", "evidence"].includes(key)) || Object.keys(evidence).some(key => !["kind", "id"].includes(key)) || typeof entry.criterionId !== "string" || !/^[a-zA-Z0-9_.:-]{1,100}$/.test(entry.criterionId) || ids.has(entry.criterionId) - || !["run", "artifact", "workflow", "verification"].includes(String(evidence.kind)) || typeof evidence.id !== "string" || !evidence.id || evidence.id.length > 200) throw new Error("goal_acceptance_evidence_invalid"); + || !["run", "artifact", "workflow", "verification", "github_delivery"].includes(String(evidence.kind)) || typeof evidence.id !== "string" || !evidence.id || evidence.id.length > 200) throw new Error("goal_acceptance_evidence_invalid"); ids.add(entry.criterionId); return { criterionId: entry.criterionId, evidence: { kind: evidence.kind, id: evidence.id } as GoalEvidenceRef }; }); diff --git a/packages/core/src/run-types.ts b/packages/core/src/run-types.ts index 4bdfee754..4edfa9fd5 100644 --- a/packages/core/src/run-types.ts +++ b/packages/core/src/run-types.ts @@ -924,6 +924,8 @@ export interface UpdateLingThreadGoalInput { /** Captured by the Host when settling verification-based acceptance. */ readonly verificationCandidateDigest?: string; readonly verificationGoalRevision?: string; + /** Receipt IDs reconciled against GitHub by the Host during completion. */ + readonly reconciledGitHubDeliveryIds?: readonly string[]; readonly supervisionPolicy?: GoalSupervisionPolicy; readonly objective?: string; readonly status?: LingThreadGoalStatus; @@ -2689,6 +2691,7 @@ export interface RunStore extends AutomationEventStore, CodeAssessmentStore, Cod ): ExternalWorkSchedulerState | undefined; upsertWorkItem(input: UpsertWorkItemInput, now: string): WorkItem; createWorkItem(input: import("./work-item-types.js").CreateWorkItemInput, now: string, eventCwd?: string): import("./work-item-types.js").CreateWorkItemResult; + commitWorkItemGitHubDelivery(input: import("./work-item-types.js").CommitWorkItemGitHubDeliveryInput, eventCwd?: string): import("./work-item-types.js").CommitWorkItemGitHubDeliveryResult; getWorkItem(id: string): WorkItem | undefined; listWorkItems(options?: ListWorkItemsOptions, now?: string): WorkItem[]; routeWorkItem(id: string, input: WorkItemRouteRequest, now: string): WorkItem | undefined; @@ -3298,6 +3301,7 @@ export type WorkItemStoreFacet = RunStoreFacet< | "listWorkItems" | "routeWorkItem" | "claimWorkItem" + | "commitWorkItemGitHubDelivery" | "heartbeatWorkItem" | "releaseWorkItem" | "completeWorkItem" diff --git a/packages/core/src/storage/sqlite-run-store.ts b/packages/core/src/storage/sqlite-run-store.ts index ee80f091a..2e58144ca 100644 --- a/packages/core/src/storage/sqlite-run-store.ts +++ b/packages/core/src/storage/sqlite-run-store.ts @@ -6102,6 +6102,10 @@ export class SqliteRunStore implements RunStore { return this.workItems.createWorkItem(input, now, this.appServerState, { store: this.controlPlane, cwd: eventCwd }); } + commitWorkItemGitHubDelivery(input: Parameters[0], eventCwd = this.paths.cwd) { + return this.workItems.commitGitHubDelivery(input, this.appServerState, { store: this.controlPlane, cwd: eventCwd }); + } + getWorkItem(id: string): WorkItem | undefined { return this.workItems.getWorkItem(id); } diff --git a/packages/core/src/storage/sqlite/goal-acceptance.ts b/packages/core/src/storage/sqlite/goal-acceptance.ts index 32a4585a9..11becde8c 100644 --- a/packages/core/src/storage/sqlite/goal-acceptance.ts +++ b/packages/core/src/storage/sqlite/goal-acceptance.ts @@ -1,6 +1,6 @@ import { createHash } from "node:crypto"; import type { DatabaseSync } from "node:sqlite"; -import type { LingAppServerVerifyOperation, LingAppServerVerifyPlanResult } from "@ling-stack/contracts"; +import type { LingAppServerGitHubDelivery, LingAppServerVerifyOperation, LingAppServerVerifyPlanResult } from "@ling-stack/contracts"; import type { GoalEvidenceRef, LingThreadGoal, UpdateLingThreadGoalInput } from "../../run-types.js"; import { parseGoalAcceptanceEvidence } from "../../goal-supervision.js"; @@ -8,16 +8,17 @@ import { parseGoalAcceptanceEvidence } from "../../goal-supervision.js"; export function assertGoalCompletion(db: DatabaseSync, goal: LingThreadGoal, input: UpdateLingThreadGoalInput): void { const criteria = goal.acceptanceCriteria ?? [], evidence = parseGoalAcceptanceEvidence(input.acceptanceEvidence ?? []); const refs = input.completionEvidenceRefs ?? goal.completionEvidenceRefs; - const strict = criteria.length > 0 || input.completedBy === "ling-agent" || refs.some(ref => ref.kind === "verification"); + const strict = criteria.length > 0 || input.completedBy === "ling-agent" || refs.some(ref => ref.kind === "verification" || ref.kind === "github_delivery"); if (!strict) return; if (goal.status !== "active" && goal.status !== "blocked") throw new Error("goal_completion_not_active"); - if (criteria.some(criterion => criterion.kind === "verification_passed") + if (criteria.some(criterion => criterion.kind === "verification_passed" || criterion.kind === "github_delivered") && input.verificationGoalRevision !== goal.updatedAt) throw new Error("goal_verification_acceptance_revision_required"); if (!input.completionVerificationSummary?.trim()) throw new Error("goal_completion_summary_required"); if (db.prepare("SELECT 1 FROM run_sessions WHERE thread_id=? AND status IN ('queued','running','waiting_for_approval','yielded') LIMIT 1").get(goal.threadId) || db.prepare(`SELECT 1 FROM approval_requests a JOIN run_sessions r ON r.id=a.run_id WHERE r.thread_id=? AND a.status='pending' LIMIT 1`).get(goal.threadId)) throw new Error("goal_completion_work_pending"); const verifications = new Map(); + const deliveries = new Map(); const verify = (ref: GoalEvidenceRef): void => { if (ref.kind === "run") { const run = db.prepare("SELECT status,thread_id,created_at FROM run_sessions WHERE id=?").get(ref.id); @@ -47,6 +48,18 @@ export function assertGoalCompletion(db: DatabaseSync, goal: LingThreadGoal, inp throw new Error("goal_completion_evidence_invalid"); } verifications.set(ref.id, getGoalVerification(db, goal, ref.id, input.verificationCandidateDigest)); + } else if (ref.kind === "github_delivery" && !deliveries.has(ref.id)) { + const criterion = criteria.find(criterion => criterion.kind === "github_delivered" + && evidence.some(binding => binding.criterionId === criterion.id && binding.evidence.kind === "github_delivery" && binding.evidence.id === ref.id)); + const requirement = criterion?.githubDelivery; + const current = requirement && db.prepare(`SELECT payload_json FROM app_server_state + WHERE workspace_id=? AND kind='github_delivery_current' AND record_id=?`).get(goal.workspaceId, requirement.workItemId); + const delivery = typeof current?.payload_json === "string" ? JSON.parse(current.payload_json) as LingAppServerGitHubDelivery : undefined; + if (!requirement || !delivery || delivery.deliveryId !== ref.id || delivery.threadId !== goal.threadId + || !input.reconciledGitHubDeliveryIds?.includes(ref.id) || delivery.status !== "delivered" || !delivery.mergedCommit + || delivery.candidateDigest !== input.verificationCandidateDigest || !delivery.checks.length + || delivery.checks.some(check => check.outcome !== "passed")) throw new Error("goal_completion_evidence_invalid"); + deliveries.set(ref.id, delivery); } }; if (!refs.length) throw new Error("goal_completion_evidence_required"); @@ -55,9 +68,15 @@ export function assertGoalCompletion(db: DatabaseSync, goal: LingThreadGoal, inp for (const criterion of criteria) { const binding = evidence.find(item => item.criterionId === criterion.id); const kind = criterion.kind === "run_succeeded" ? "run" : criterion.kind === "workflow_succeeded" ? "workflow" - : criterion.kind === "verification_passed" ? "verification" : "artifact"; + : criterion.kind === "verification_passed" ? "verification" : criterion.kind === "github_delivered" ? "github_delivery" : "artifact"; if (!binding || criterion.evidenceId !== undefined && binding.evidence.id !== criterion.evidenceId || binding.evidence.kind !== kind || !refs.some(ref => ref.kind === kind && ref.id === binding.evidence.id)) throw new Error("goal_acceptance_incomplete"); verify(binding.evidence); + if (kind === "github_delivery") { + const delivery = deliveries.get(binding.evidence.id)!; + if (delivery.policyRevision !== criterion.githubDelivery?.policyRevision || delivery.workItemId !== criterion.githubDelivery.workItemId) { + throw new Error("goal_acceptance_delivery_policy_mismatch"); + } + } if (kind === "verification") { const requirement = criterion.verification!; const { operation, plan } = verifications.get(binding.evidence.id)!; diff --git a/packages/core/src/storage/sqlite/work-item-store.ts b/packages/core/src/storage/sqlite/work-item-store.ts index 30a78b982..5ab51d363 100644 --- a/packages/core/src/storage/sqlite/work-item-store.ts +++ b/packages/core/src/storage/sqlite/work-item-store.ts @@ -2,6 +2,8 @@ import { createHash, randomUUID } from "node:crypto"; import type { SQLOutputValue } from "node:sqlite"; import { createWorkItemId, + type CommitWorkItemGitHubDeliveryInput, + type CommitWorkItemGitHubDeliveryResult, type CreateWorkItemInput, type CreateWorkItemResult, type ListWorkItemsOptions, @@ -31,7 +33,7 @@ import { workItemSelectSql } from "./select-sql.js"; import type { SqliteStoreContext } from "./store-context.js"; import type { SqliteAppServerStateStore } from "./app-server-state-store.js"; import type { SqliteControlPlaneStore } from "./control-plane-store.js"; -import type { LingAppServerWorkItemSourceReceipt } from "@ling-stack/contracts"; +import type { LingAppServerGitHubDelivery, LingAppServerWorkItemSourceReceipt } from "@ling-stack/contracts"; export interface SqliteWorkItemStorePorts { readonly assertChannelExists: (channelId: string) => void; @@ -133,6 +135,56 @@ export class SqliteWorkItemStore { } } + commitGitHubDelivery( + { delivery, targetKey, expectedWorkItemRevision, expectedDeliveryRevision }: CommitWorkItemGitHubDeliveryInput, + state: SqliteAppServerStateStore, + events: { readonly store: SqliteControlPlaneStore; readonly cwd: string }, + ): CommitWorkItemGitHubDeliveryResult { + const { database } = this.context; + database.exec("BEGIN IMMEDIATE"); + try { + const { workItemId, deliveryId, observedAt } = delivery; + const workItem = this.getWorkItem(workItemId); + const acceptance = state.get("work_item_acceptance", workItemId)?.payload as WorkItemAcceptanceReceipt | undefined; + const existingTarget = state.get("work_item_target", targetKey)?.payload as { workItemId: string } | undefined; + const current = state.get("github_delivery_current", workItemId); + const prior = current?.payload as LingAppServerGitHubDelivery | undefined; + if (existingTarget && existingTarget.workItemId !== workItemId + || prior && (prior.threadId !== delivery.threadId || prior.subject.repositoryId !== delivery.subject.repositoryId + || prior.subject.number !== delivery.subject.number)) throw new Error("github_delivery_binding_conflict"); + if (!workItem || workItem.revision !== expectedWorkItemRevision || acceptance?.id !== delivery.acceptanceId + || !database.prepare("SELECT 1 FROM ling_threads WHERE id=? AND archived_at IS NULL").get(delivery.threadId)) { + throw new Error("github_delivery_stale"); + } + if (prior?.deliveryId === deliveryId) { + database.exec("COMMIT"); + return { delivery: prior }; + } + if (expectedDeliveryRevision !== (current?.revision ?? 0)) throw new Error("github_delivery_stale"); + if (!existingTarget) state.putWithinTransaction({ + kind: "work_item_target", recordId: targetKey, expectedRevision: 0, payload: { workItemId }, + }, observedAt); + const retained = state.get("github_delivery", deliveryId)?.payload as LingAppServerGitHubDelivery | undefined; + if (!retained) state.putWithinTransaction({ + kind: "github_delivery", recordId: deliveryId, expectedRevision: 0, payload: delivery, + }, observedAt); + const committed = retained ?? delivery; + state.putWithinTransaction({ + kind: "github_delivery_current", recordId: workItemId, expectedRevision: expectedDeliveryRevision, payload: committed, + }, observedAt); + const event = events.store.appendControlPlaneEventWithinTransaction({ + workspaceId: workItem.workspaceId, cwd: events.cwd, domain: "work_items", entityType: "work_item", entityId: workItemId, + action: "work_item.delivery.reconciled", + data: { workItemId, deliveryId, status: delivery.status, revision: workItem.revision }, + }, observedAt); + database.exec("COMMIT"); + return { delivery: committed, event }; + } catch (error) { + rollbackOwnedSqliteTransaction(database); + throw error; + } + } + private saveWorkItem(input: UpsertWorkItemInput, now: string, existing?: WorkItem): WorkItem { if (input.channelId) { this.ports.assertChannelExists(input.channelId); diff --git a/packages/core/src/work-item-types.ts b/packages/core/src/work-item-types.ts index bbacf86c4..462db1e01 100644 --- a/packages/core/src/work-item-types.ts +++ b/packages/core/src/work-item-types.ts @@ -1,4 +1,5 @@ import { randomUUID } from "node:crypto"; +import type { LingAppServerGitHubDelivery, LingAppServerWorkItemSourceReceipt } from "@ling-stack/contracts"; import type { ControlPlaneEvent } from "./run-types.js"; export type WorkItemStatus = @@ -142,7 +143,19 @@ export interface CreateWorkItemInput extends Pick Promise; export type StartLingThreadForkRun = (runRequest: RunRequest) => Promise; +type ReconcileGoalGitHubDelivery = (params: LingAppServerReconcileGitHubDeliveryParams & { readonly cwd: string }) => Promise; export interface HandleLingThreadRouteOptions { readonly maxBodyBytes: number; readonly startResumeRun?: StartLingThreadResumeRun; readonly startForkRun?: StartLingThreadForkRun; + readonly reconcileGitHubDelivery?: ReconcileGoalGitHubDelivery; } export interface ResumeContextPreview { @@ -273,10 +277,10 @@ export function handleLingThreadItem( return handleLingThreadMode(request, response, url, storeRegistry, route.threadId, options); } if (route.kind === "goal") { - return handleLingThreadGoal(request, response, url, storeRegistry, route.threadId); + return handleLingThreadGoal(request, response, url, storeRegistry, route.threadId, options?.reconcileGitHubDelivery); } if (route.kind === "goal-complete") { - return handleLingThreadGoalComplete(request, response, url, storeRegistry, route.threadId); + return handleLingThreadGoalComplete(request, response, url, storeRegistry, route.threadId, options?.reconcileGitHubDelivery); } if (route.kind === "proposed-plans") { return handleLingThreadProposedPlans(request, response, url, storeRegistry, route.threadId, route.planId, route.action, options); @@ -356,6 +360,7 @@ async function handleLingThreadGoal( url: URL, storeRegistry: RunStoreRegistry, threadId: string, + reconcileDelivery?: ReconcileGoalGitHubDelivery, ): Promise { const supportedMethods = new Set(["GET", "PUT", "PATCH", "DELETE"]); if (!request.method || !supportedMethods.has(request.method)) { @@ -405,7 +410,7 @@ async function handleLingThreadGoal( } const body = await readOptionalJsonBody(request, 1024 * 1024); const patch = parsePatchLingThreadGoalBody(body); - const input = await bindGoalVerificationCandidate(store.paths.cwd, existing, patch); + const input = await bindGoalAcceptanceEvidence(store, existing, patch, reconcileDelivery); const goal = store.updateLingThreadGoal(existing.id, input, new Date().toISOString()); writeJson(response, 200, { cwd, threadId, goal: goal ?? null }); return; @@ -423,6 +428,7 @@ async function handleLingThreadGoalComplete( url: URL, storeRegistry: RunStoreRegistry, threadId: string, + reconcileDelivery?: ReconcileGoalGitHubDelivery, ): Promise { if (request.method !== "POST") { writeJson(response, 405, { error: "method_not_allowed", message: `${request.method} is not supported for goal completion` }); @@ -446,7 +452,7 @@ async function handleLingThreadGoalComplete( return; } const body = await readOptionalJsonBody(request, 1024 * 1024); - const input = await bindGoalVerificationCandidate(store.paths.cwd, existing, parseCompleteLingThreadGoalBody(body)); + const input = await bindGoalAcceptanceEvidence(store, existing, parseCompleteLingThreadGoalBody(body), reconcileDelivery); const goal = store.updateLingThreadGoal(existing.id, input, new Date().toISOString()); writeJson(response, 200, { cwd, threadId, goal: goal ?? null }); } catch (error) { @@ -2228,17 +2234,41 @@ export function parseCompleteLingThreadGoalBody(value: unknown): UpdateLingThrea }; } -export async function bindGoalVerificationCandidate( - cwd: string, goal: LingThreadGoal, input: UpdateLingThreadGoalInput, +export async function bindGoalAcceptanceEvidence( + store: RunStore, goal: LingThreadGoal, input: UpdateLingThreadGoalInput, reconcileDelivery?: ReconcileGoalGitHubDelivery, ): Promise { - if (input.status !== "complete" || goal.status === "complete" - || !goal.acceptanceCriteria?.some(criterion => criterion.kind === "verification_passed")) return input; + if (input.status !== "complete" || goal.status === "complete") return input; + const deliveryCriteria = goal.acceptanceCriteria?.filter(criterion => criterion.kind === "github_delivered") ?? []; + if (!deliveryCriteria.length && !goal.acceptanceCriteria?.some(criterion => criterion.kind === "verification_passed")) return input; + const cwd = store.paths.cwd; const { captureCodeAssessmentSnapshot } = await import("../code-assessments/snapshot.js"); const snapshot = await captureCodeAssessmentSnapshot(cwd, { type: "working_tree" }); if (snapshot.coverage !== "complete") { throw new HttpError(409, "goal_verification_candidate_incomplete", "Goal verification requires complete coverage of the current candidate."); } - return { ...input, verificationCandidateDigest: snapshot.digest, verificationGoalRevision: goal.updatedAt }; + const reconciledGitHubDeliveryIds = new Set(); + for (const criterion of deliveryCriteria) { + const requirement = criterion.githubDelivery!; + const binding = input.acceptanceEvidence?.find(item => item.criterionId === criterion.id); + const workItem = store.getWorkItem(requirement.workItemId); + const observed = binding?.evidence.kind === "github_delivery" + ? readGitHubDelivery(store, requirement.workItemId, binding.evidence.id) : undefined; + if (!observed || !reconcileDelivery || !workItem || observed.threadId !== goal.threadId + || observed.policyRevision !== requirement.policyRevision) { + throw new HttpError(409, "goal_completion_evidence_invalid", "The Goal requires delivery evidence for its accepted Work Item and policy."); + } + if (reconciledGitHubDeliveryIds.has(observed.deliveryId)) continue; + const current = await reconcileDelivery({ + cwd, workItemId: workItem.id, threadId: goal.threadId, expectedWorkItemRevision: workItem.revision, + candidateDigest: snapshot.digest, repository: observed.subject.repository, pullRequestNumber: observed.subject.number, + }); + if (current.deliveryId !== observed.deliveryId || current.status !== "delivered") { + throw new HttpError(409, "goal_completion_evidence_invalid", "The observed merge or its applicable checks have changed."); + } + reconciledGitHubDeliveryIds.add(current.deliveryId); + } + return { ...input, verificationCandidateDigest: snapshot.digest, verificationGoalRevision: goal.updatedAt, + reconciledGitHubDeliveryIds: [...reconciledGitHubDeliveryIds] }; } const lingThreadGoalStatuses = [ @@ -2563,7 +2593,7 @@ function readOptionalPlanVersion(record: Record, key: string): return readOptionalGoalNumber(record, key, true); } -const goalEvidenceKinds = ["run", "turn", "artifact", "approval", "workflow", "verification"] as const; +const goalEvidenceKinds = ["run", "turn", "artifact", "approval", "workflow", "verification", "github_delivery"] as const; function findActiveChannelDiscussionRootThread(store: RunStore, channelId: string): LingThread | undefined { return store diff --git a/packages/daemon/src/server/app-server-github-ci.ts b/packages/daemon/src/server/app-server-github-ci.ts new file mode 100644 index 000000000..08628bd37 --- /dev/null +++ b/packages/daemon/src/server/app-server-github-ci.ts @@ -0,0 +1,151 @@ +import { createHash } from "node:crypto"; +import type { LingAppServerGitHubSubject, LingGitHubCiEvidence, LingGitHubRequiredCheck } from "@ling-stack/contracts"; +import { HttpError } from "../errors.js"; +import { isRecord } from "../shared/validation.js"; +import { commitSha, digest, readAppServerGitHubSubject, type GitHubReadClient } from "./app-server-github-subject.js"; + +/** Reconcile checks through their provider-owned App, workflow, latest run and attempt. */ +export async function observeGitHubDelivery(client: GitHubReadClient, pullRequestNumber: number) { + const params = { repository: client.source.repository, kind: "pull_request" as const, number: pullRequestNumber }; + const subject = await readAppServerGitHubSubject(client, params); + const policy = client.source.deliveryPolicies?.find(item => item.baseRef === subject.baseRef); + if (!policy) throw new HttpError(409, "github_delivery_policy_missing", "The pull request has no registered delivery policy."); + const readBase = () => readDeliveryBase(client, subject); + const { baseCommit, integrationCommit, mergedCommit } = await readBase(); + const reads = new Map>>(); + const get = (path: string) => { + let result = reads.get(path); + if (!result) { + result = client.get(path); + reads.set(path, result); + } + return result; + }; + const checks = await Promise.all(policy.requiredChecks.map(async check => { + if (check.basis === "merge_group") return unavailable(check, "merge_group_membership_unavailable"); + const testedCommit = check.basis === "head" ? subject.headSha : integrationCommit; + if (!testedCommit) return unavailable(check, "integration_unavailable"); + return readCurrentCheck(get, client.source.repository, check, testedCommit); + })); + // The effective attempt and PR basis must still match after the separate evidence reads. + const [current, currentBase] = await Promise.all([readAppServerGitHubSubject(client, params), readBase()]); + if (current.sourceRevision !== subject.sourceRevision || currentBase.baseCommit !== baseCommit + || currentBase.integrationCommit !== integrationCommit) { + throw new HttpError(409, "stale_revision", "The GitHub delivery basis changed during reconciliation."); + } + const boundRuns = new Map(checks.flatMap(check => check.runId && check.runAttempt + ? [[check.runId, check.runAttempt] as const] : [])); + await Promise.all([...boundRuns].map(async ([runId, attempt]) => { + const currentRun = await client.get(`/actions/runs/${runId}`); + if (currentRun.id !== runId || currentRun.run_attempt !== attempt) { + throw new HttpError(409, "stale_revision", "A GitHub workflow attempt changed during reconciliation."); + } + })); + const status = checks.some(item => item.outcome === "failed") ? "ci_failed" + : checks.some(item => item.outcome !== "passed") ? "ci_pending" + : mergedCommit ? "delivered" : "delivery_pending"; + return { + subject, baseCommit, checks, status, mergedCommit, + policyRevision: digest([client.source.repositoryId, policy]), + } as const; +} + +async function readDeliveryBase(client: GitHubReadClient, subject: LingAppServerGitHubSubject) { + if (subject.merged && subject.mergeSha) { + const parents = await commitParents(client, subject.mergeSha); + if (!parents?.[0]) throw new HttpError(502, "github_observation_invalid", "GitHub did not confirm the merged commit."); + return { baseCommit: parents[0], mergedCommit: subject.mergeSha, + integrationCommit: parents.length === 2 && parents[1] === subject.headSha ? subject.mergeSha : undefined }; + } + const escapedRef = subject.baseRef!.split("/").map(encodeURIComponent).join("/"); + const ref = await client.get(`/git/ref/heads/${escapedRef}`); + const baseCommit = isRecord(ref.object) && ref.object.type === "commit" ? commitSha(ref.object.sha) : undefined; + if (!baseCommit || ref.ref !== `refs/heads/${subject.baseRef}`) { + throw new HttpError(502, "github_observation_invalid", "GitHub did not confirm the current base branch."); + } + const parents = subject.mergeSha && subject.state === "open" ? await commitParents(client, subject.mergeSha) : undefined; + return { baseCommit, mergedCommit: undefined, + integrationCommit: parents?.length === 2 && parents[0] === baseCommit && parents[1] === subject.headSha ? subject.mergeSha : undefined }; +} + +async function commitParents(client: GitHubReadClient, oid: string): Promise { + let commit: Record; + try { commit = await client.get(`/git/commits/${oid}`); } catch (error) { + if (error instanceof HttpError && error.statusCode === 404) return undefined; + throw error; + } + if (commit.sha !== oid || !Array.isArray(commit.parents)) return undefined; + const parents = commit.parents.map(parent => isRecord(parent) ? commitSha(parent.sha) : undefined); + return parents.every((parent): parent is string => parent !== undefined) ? parents : undefined; +} + +function unavailable(check: LingGitHubRequiredCheck, reason: NonNullable): LingGitHubCiEvidence { + return { check, outcome: "unavailable", reason }; +} + +async function readCurrentCheck( + get: GitHubReadClient["get"], repository: string, check: LingGitHubRequiredCheck, testedCommit: string, +): Promise { + const runs = await get(`/actions/workflows/${check.workflowId}/runs?head_sha=${testedCommit}&per_page=100`); + const workflowRuns = boundedRecords(runs, "workflow_runs"); + if (!workflowRuns) return unavailable(check, "observation_window_exceeded"); + const applicable = workflowRuns.filter(run => run.workflow_id === check.workflowId && run.head_sha === testedCommit) + .sort((a, b) => String(b.created_at).localeCompare(String(a.created_at)) || Number(b.id) - Number(a.id)); + const run = applicable[0]; + if (!run) return { check, testedCommit, outcome: "pending", reason: "applicable_check_missing" }; + const runId = positiveId(run.id); + const runAttempt = positiveId(run.run_attempt); + if (!runId || !runAttempt || typeof run.created_at !== "string") return unavailable(check, "ambiguous_run"); + const proof = { check, testedCommit, runId, runAttempt }; + if (run.status !== "completed") return { ...proof, outcome: "pending", reason: "current_attempt_pending" }; + if (typeof run.path !== "string" || run.path.split("@", 1)[0] !== check.workflowPath + || !["push", "pull_request", "workflow_dispatch"].includes(String(run.event))) { + return { ...proof, outcome: "unavailable", reason: "workflow_source_changed" }; + } + const [jobs, checks, workflow] = await Promise.all([ + get(`/actions/runs/${runId}/attempts/${runAttempt}/jobs?per_page=100`), + get(`/commits/${testedCommit}/check-runs?per_page=100&filter=latest`), + get(`/contents/${check.workflowPath}?ref=${testedCommit}`).catch(error => { + if (error instanceof HttpError && error.statusCode === 404) return undefined; + throw error; + }), + ]); + if (workflow?.type !== "file" || workflow.path !== check.workflowPath || workflow.encoding !== "base64" + || typeof workflow.content !== "string" || workflow.content.length > 128 * 1024 + || createHash("sha256").update(Buffer.from(workflow.content, "base64")).digest("hex") !== check.workflowSha256) { + return { ...proof, outcome: "unavailable", reason: "workflow_source_changed" }; + } + const jobRecords = boundedRecords(jobs, "jobs"); + const checkRecords = boundedRecords(checks, "check_runs"); + if (!jobRecords || !checkRecords) return unavailable(check, "observation_window_exceeded"); + const matchingJobs = jobRecords.filter(job => job.name === check.name && job.run_id === runId && job.head_sha === testedCommit); + const job = matchingJobs[0]; + const jobId = positiveId(job?.id); + if (matchingJobs.length !== 1 || !jobId) { + return { ...proof, outcome: "pending", reason: "applicable_check_missing" }; + } + const matched = checkRecords.filter(run => run.name === check.name && run.head_sha === testedCommit + && isRecord(run.app) && run.app.id === check.appId && positiveId(run.id) !== undefined + && typeof job.check_run_url === "string" + && job.check_run_url.toLowerCase() === `https://api.github.com/repos/${repository}/check-runs/${run.id}` + && run.url === job.check_run_url); + const checkRunId = positiveId(matched[0]?.id); + if (matched.length !== 1 || !checkRunId) return { ...proof, outcome: "pending", reason: "applicable_check_missing" }; + const evidence = { ...proof, checkRunId, jobId }; + const confirmed = matched[0]!; + if (job.status !== "completed" || confirmed.status !== "completed" || !job.conclusion || confirmed.conclusion !== job.conclusion) { + return { ...evidence, outcome: "pending", reason: "current_attempt_pending" }; + } + return { ...evidence, outcome: job.conclusion === "success" ? "passed" : "failed" }; +} + +function boundedRecords(value: Record, key: string): Record[] | undefined { + const values = value[key]; + if (!Array.isArray(values) || typeof value.total_count !== "number" || value.total_count > values.length + || values.length > 100 || !values.every(isRecord)) return undefined; + return values; +} + +function positiveId(value: unknown): number | undefined { + return typeof value === "number" && Number.isSafeInteger(value) && value > 0 ? value : undefined; +} diff --git a/packages/daemon/src/server/app-server-github-delivery.ts b/packages/daemon/src/server/app-server-github-delivery.ts new file mode 100644 index 000000000..c54be02d5 --- /dev/null +++ b/packages/daemon/src/server/app-server-github-delivery.ts @@ -0,0 +1,62 @@ +import type { LingAppServerGitHubDelivery, LingAppServerReconcileGitHubDeliveryParams } from "@ling-stack/contracts"; +import type { RunStore, WorkItemAcceptanceReceipt } from "@ling-stack/core"; +import type { DaemonContext } from "../context.js"; +import { HttpError } from "../errors.js"; +import { captureCodeAssessmentSnapshot } from "../features/code-assessments/snapshot.js"; +import { trimOversizedEvent } from "../features/control-plane/events.js"; +import { observeGitHubDelivery } from "./app-server-github-ci.js"; +import { digest, gitHubReadClient, gitHubWorkItemTargetKey } from "./app-server-github-subject.js"; + +export function readGitHubDelivery(store: RunStore, workItemId: string, deliveryId?: string): LingAppServerGitHubDelivery | undefined { + const record = deliveryId + ? store.getAppServerState("github_delivery", deliveryId) + : store.getAppServerState("github_delivery_current", workItemId); + const delivery = record?.payload as LingAppServerGitHubDelivery | undefined; + return delivery?.workItemId === workItemId ? delivery : undefined; +} + +export async function reconcileGitHubDelivery( + context: Pick, + params: LingAppServerReconcileGitHubDeliveryParams & { readonly cwd: string }, +): Promise { + const { cwd, threadId, workItemId, expectedWorkItemRevision, candidateDigest, repository, pullRequestNumber } = params; + const store = context.storeRegistry.getStore(cwd); + const workItem = store.getWorkItem(workItemId); + const acceptance = store.getAppServerState("work_item_acceptance", workItemId)?.payload as WorkItemAcceptanceReceipt | undefined; + const thread = store.getLingThread(threadId); + if (!workItem || !acceptance || !thread || thread.archivedAt || thread.workspaceId !== workItem.workspaceId) { + throw new HttpError(404, "github_delivery_binding_unavailable", "Delivery requires an accepted Work Item and a current Thread."); + } + if (workItem.revision !== expectedWorkItemRevision) { + throw new HttpError(409, "stale_revision", "The Work Item revision changed before delivery reconciliation."); + } + const client = gitHubReadClient(context, cwd, repository); + const previous = store.getAppServerState("github_delivery_current", workItemId); + const capture = () => captureCodeAssessmentSnapshot(cwd, { type: "working_tree" }); + const candidate = await capture(); + if (candidate.coverage !== "complete" || candidate.totalFileCount !== 0 || candidate.digest !== candidateDigest) { + throw new HttpError(409, "candidate_stale", "Delivery requires the current committed candidate with full capture coverage."); + } + const observation = await observeGitHubDelivery(client, pullRequestNumber); + if (observation.subject.headSha !== candidate.headSha || (await capture()).digest !== candidateDigest) { + throw new HttpError(409, "candidate_stale", "The committed candidate differs from the observed pull request head."); + } + const frozen = { workItemId, threadId, acceptanceId: acceptance.id, candidateDigest, ...observation }; + const delivery = { ...frozen, deliveryId: `github_delivery_${digest(frozen)}`, observedAt: new Date().toISOString() }; + try { + const result = store.commitWorkItemGitHubDelivery({ + delivery, targetKey: gitHubWorkItemTargetKey(observation.subject), expectedWorkItemRevision, + expectedDeliveryRevision: previous?.revision ?? 0, + }, cwd); + if (result.event) context.controlPlaneEvents.publish(trimOversizedEvent(result.event)); + return result.delivery; + } catch (error) { + if (error instanceof Error && error.message === "github_delivery_stale") { + throw new HttpError(409, "stale_revision", "Delivery or Work Item revision changed during reconciliation."); + } + if (error instanceof Error && error.message === "github_delivery_binding_conflict") { + throw new HttpError(409, "github_delivery_binding_conflict", "The pull request or Thread has a different delivery owner."); + } + throw error; + } +} diff --git a/packages/daemon/src/server/app-server-github-sources.ts b/packages/daemon/src/server/app-server-github-sources.ts index 85e862221..f2f63b4a9 100644 --- a/packages/daemon/src/server/app-server-github-sources.ts +++ b/packages/daemon/src/server/app-server-github-sources.ts @@ -1,11 +1,22 @@ import { readFileSync, realpathSync } from "node:fs"; import { isAbsolute } from "node:path"; +import type { LingGitHubRequiredCheck } from "@ling-stack/contracts"; + +export interface AppServerGitHubDeliveryPolicy { + readonly baseRef: string; + /** + * Each named workflow must test the GitHub-attested check subject and must + * source its acceptance configuration from the trusted CI environment. + */ + readonly requiredChecks: readonly LingGitHubRequiredCheck[]; +} export interface AppServerGitHubSourceConfig { readonly workspaceRoot: string; readonly repository: string; readonly repositoryId: string; readonly secretRef?: string; + readonly deliveryPolicies?: readonly AppServerGitHubDeliveryPolicy[]; } export const githubRepositoryPattern = /^[A-Za-z0-9][A-Za-z0-9-]{0,99}\/(?!\.{1,2}$)[A-Za-z0-9_.-]{1,100}$/u; @@ -34,6 +45,39 @@ export function resolveAppServerGitHubSources( const key = JSON.stringify([workspaceRoot, repository]); if (seen.has(key)) throw new Error("Duplicate App Server GitHub source for a workspace."); seen.add(key); - return { workspaceRoot, repository, repositoryId: config.repositoryId, secretRef: config.secretRef }; + return { + workspaceRoot, repository, repositoryId: config.repositoryId, secretRef: config.secretRef, + deliveryPolicies: resolveDeliveryPolicies(config.deliveryPolicies), + }; + }); +} + +function resolveDeliveryPolicies(policies: readonly AppServerGitHubDeliveryPolicy[] | undefined): readonly AppServerGitHubDeliveryPolicy[] { + if (policies === undefined) return []; + if (!Array.isArray(policies) || policies.length > 32) throw new Error("GitHub delivery policies must be a bounded array."); + const baseRefs = new Set(); + return policies.map((policy: AppServerGitHubDeliveryPolicy) => { + if (!policy || typeof policy.baseRef !== "string" || !policy.baseRef.trim() || baseRefs.has(policy.baseRef) + || !Array.isArray(policy.requiredChecks) || !policy.requiredChecks.length || policy.requiredChecks.length > 32) { + throw new Error("Invalid App Server GitHub delivery policy."); + } + baseRefs.add(policy.baseRef); + const names = new Set(); + const requiredChecks = policy.requiredChecks.map((check: LingGitHubRequiredCheck) => { + if (!check || typeof check.name !== "string" || !check.name.trim() || check.name.length > 160 + || names.has(check.name) || !Number.isSafeInteger(check.appId) || check.appId < 1 + || !Number.isSafeInteger(check.workflowId) || check.workflowId < 1 + || typeof check.workflowPath !== "string" || !/^\.github\/workflows\/[A-Za-z0-9_.-]+\.ya?ml$/u.test(check.workflowPath) + || typeof check.workflowSha256 !== "string" || !/^[a-f0-9]{64}$/u.test(check.workflowSha256) + || !["head", "integration", "merge_group"].includes(check.basis) + || !Array.isArray(check.coverageRefs) || !check.coverageRefs.length || check.coverageRefs.length > 8 + || check.coverageRefs.some(ref => typeof ref !== "string" || !ref.trim() || ref.length > 160)) { + throw new Error("Invalid trusted GitHub check."); + } + names.add(check.name); + return { name: check.name, appId: check.appId, workflowId: check.workflowId, workflowPath: check.workflowPath, + workflowSha256: check.workflowSha256, basis: check.basis, coverageRefs: [...check.coverageRefs] }; + }); + return { baseRef: policy.baseRef, requiredChecks }; }); } diff --git a/packages/daemon/src/server/app-server-github-subject.ts b/packages/daemon/src/server/app-server-github-subject.ts index 064d4063b..a4355a5aa 100644 --- a/packages/daemon/src/server/app-server-github-subject.ts +++ b/packages/daemon/src/server/app-server-github-subject.ts @@ -18,7 +18,7 @@ export function gitHubWorkItemTargetKey(subject: LingAppServerGitHubSubject): st return `github_${digest([subject.githubInstanceId, subject.repositoryId, subject.kind, subject.number])}`; } -export function gitHubReadClient(context: DaemonContext, cwd: string, repository: string) { +export function gitHubReadClient(context: Pick, cwd: string, repository: string) { const source = context.config.appServerGitHubSources.find(item => item.workspaceRoot === cwd && item.repository === repository); if (!source) throw new HttpError(403, "github_subject_unavailable", "The GitHub repository is unavailable in this workspace."); const secret = source.secretRef ? context.secretResolver.resolve(source.secretRef, "github_token") : undefined; diff --git a/packages/daemon/src/server/router.ts b/packages/daemon/src/server/router.ts index 6d534e74a..887733cae 100644 --- a/packages/daemon/src/server/router.ts +++ b/packages/daemon/src/server/router.ts @@ -271,6 +271,7 @@ import { handleGetNodeRerunTargetReadiness } from "../features/runs/node-rerun-r import { handlePostRunAssuranceEvaluationAssociation } from "../features/harness/evaluations/assurance-association-route.js"; import { handleUserInputAnswerSubmission } from "../features/runs/user-input-answer-routes.js"; import { handleLingThreadItem, handleLingThreadsCollection } from "../features/runs/thread-routes.js"; +import { reconcileGitHubDelivery } from "./app-server-github-delivery.js"; import { handleHostCapabilityBridgeRoute } from "../features/runs/host-capability-bridge-routes.js"; import { handleToolLoadRequestsCollection, handleToolSurfacesCollection } from "../features/runs/tool-surfaces.js"; import { handleTraceItem, handleTracesCollection } from "../features/runs/traces-routes.js"; @@ -1411,6 +1412,7 @@ export async function routeRequest( if (lingThreadRoute) { await handleLingThreadItem(request, response, url, storeRegistry, lingThreadRoute, { maxBodyBytes: config.maxBodyBytes, + reconcileGitHubDelivery: params => reconcileGitHubDelivery(context, params), startResumeRun: async (runRequest) => await startDetachedRunAndResolveReady((onRunReady) => executeRunRequest( diff --git a/packages/daemon/src/server/rpc.ts b/packages/daemon/src/server/rpc.ts index d3ce28a4b..698480471 100644 --- a/packages/daemon/src/server/rpc.ts +++ b/packages/daemon/src/server/rpc.ts @@ -30,6 +30,7 @@ import { type LingAppServerContextInspectResult, type LingAppServerInputRespondResult, type LingAppServerGrant, + type LingAppServerGitHubDeliveryResult, type LingAppServerJsonRpcId, type LingAppServerThreadEventsResult, type LingAppServerThreadSnapshotResult, @@ -72,7 +73,7 @@ import { appendControlPlaneEvent } from "../features/control-plane/events.js"; import { toApprovalSummary } from "../features/control-plane/snapshots.js"; import { executeRunRequest, type RunExecutionSink } from "../features/runs/orchestrator.js"; import { parseRunRequest, type RunRequest } from "../features/runs/schemas.js"; -import { bindGoalVerificationCandidate, buildLingThreadResumeContext, createLingThreadFork, parseCompleteLingThreadGoalBody, parsePutLingThreadGoalBody } from "../features/runs/thread-routes.js"; +import { bindGoalAcceptanceEvidence, buildLingThreadResumeContext, createLingThreadFork, parseCompleteLingThreadGoalBody, parsePutLingThreadGoalBody } from "../features/runs/thread-routes.js"; import { projectPublicRunSession } from "../features/runs/public-execution-snapshots.js"; import { projectPublicLingThread, projectPublicLingTurn } from "../features/runs/public-execution-snapshots.js"; import { maybeQueueGoalContinuation, maybeStartNextRunInterventionContinuation, recordUserRunIntervention, requestRunInterventionRedirect } from "../features/runs/interventions.js"; @@ -92,6 +93,7 @@ import { grantAllowsMethod, grantAllowsRequest, listAppServerGrants, revokeAppServerGrant, } from "./app-server-authorization.js"; import { gitHubReadClient, gitHubWorkItemTargetKey, parseGitHubSubjectParams, readAppServerGitHubSubject } from "./app-server-github-subject.js"; +import { readGitHubDelivery, reconcileGitHubDelivery } from "./app-server-github-delivery.js"; import { ExternalAgentFederationService, externalAgentRpcError, @@ -148,8 +150,8 @@ const legacyRpcMethods = new Set([ const UNIMPLEMENTED_APP_SERVER_METHODS = new Set([ "turn/retry", "turn/steer", "thread/compact/start", "thread/revert", "changes/read", - "changes/apply/preview", "changes/apply", "artifact/read", "workItem/delivery/read", "delivery/read", - "github/delivery/reconcile", "model/list", "skill/read", "permissionProfile/list", + "changes/apply/preview", "changes/apply", "artifact/read", + "model/list", "skill/read", "permissionProfile/list", ]); const activeExternalDispatches = new WeakMap>(); const operatorMethods = new Set([ @@ -160,7 +162,7 @@ const operatorMethods = new Set([ "worktree/create", "worktree/cleanup", "thread/fork", "handoff/create", "handoff/resume", "server/grants/create", "server/grants/list", "server/grants/revoke", - "github/subject/read", + "github/subject/read", "github/delivery/reconcile", "workItem/delivery/read", "delivery/read", ]); const IMPLEMENTED_APP_SERVER_METHODS = LING_APP_SERVER_METHODS.filter(method => !UNIMPLEMENTED_APP_SERVER_METHODS.has(method)); const appServerMethods = new Set([...IMPLEMENTED_APP_SERVER_METHODS, "runs.start", "runs.cancel", "turn/steer"]); @@ -682,6 +684,26 @@ class RpcConnection { const subject = await readAppServerGitHubSubject(gitHubReadClient(this.context, record.cwd, subjectParams.repository), subjectParams); return { cwd: record.cwd, subject }; } + case "github/delivery/reconcile": { + const record = this.workspaceParams(params, true); + const subject = parseGitHubSubjectParams({ repository: record.repository, kind: "pull_request", number: record.pullRequestNumber }); + const delivery = await reconcileGitHubDelivery(this.context, { + cwd: record.cwd, repository: subject.repository, pullRequestNumber: subject.number, + workItemId: readStringField(record, "workItemId"), threadId: readStringField(record, "threadId"), + candidateDigest: readStringField(record, "candidateDigest"), + expectedWorkItemRevision: readIntegerField(record, "expectedWorkItemRevision", "expectedRevision"), + }); + return { cwd: record.cwd, delivery } satisfies LingAppServerGitHubDeliveryResult; + } + case "workItem/delivery/read": + case "delivery/read": { + const record = this.workspaceParams(params, true); + const workItemId = readStringField(record, "workItemId"); + const deliveryId = method === "delivery/read" ? readStringField(record, "deliveryId") : undefined; + const delivery = readGitHubDelivery(this.context.storeRegistry.getStore(record.cwd), workItemId, deliveryId); + if (!delivery) throw rpcError(-32040, "github_delivery_binding_unavailable", "Delivery was not found for this Work Item."); + return { cwd: record.cwd, delivery } satisfies LingAppServerGitHubDeliveryResult; + } case "workItem/accept": return this.acceptWorkItem(params); case "workItem/clarify": @@ -1572,7 +1594,7 @@ class RpcConnection { evidenceRefs: record.evidenceRefs ?? record.completionEvidenceRefs, completionVerificationSummary: record.completionVerificationSummary ?? record.verificationSummary, }); - const prepared = await bindGoalVerificationCandidate(store.paths.cwd, goal, input); + const prepared = await bindGoalAcceptanceEvidence(store, goal, input, params => reconcileGitHubDelivery(this.context, params)); const updated = store.updateLingThreadGoal(goal.id, prepared, new Date().toISOString()); if (!updated) throw rpcError(-32040, "workspace_binding_invalid", `Goal was not found: ${goal.id}`); this.publishThreadGoal(store, cwd, updated); diff --git a/packages/daemon/test/app-server-release-acceptance.test.ts b/packages/daemon/test/app-server-release-acceptance.test.ts index ab8fb597e..8ad90a398 100644 --- a/packages/daemon/test/app-server-release-acceptance.test.ts +++ b/packages/daemon/test/app-server-release-acceptance.test.ts @@ -15,11 +15,13 @@ import { promisify } from "node:util"; import { parseUserInputAnswerCommandV1 } from "@ling-stack/contracts"; import type { LingAppServerCandidateReference, + LingAppServerCaptureChangesResult, LingAppServerContextInspectResult, LingAppServerExternalAgentRegisterResult, LingAppServerExternalAgentTaskReconnectResult, LingAppServerExternalAgentTaskStartResult, LingAppServerGitHubSubjectResult, + LingAppServerGitHubDeliveryResult, LingAppServerGrant, LingAppServerGrantScope, LingAppServerHandoffResult, @@ -1069,6 +1071,153 @@ test("authorized GitHub occurrences converge on one Work Item and retain their o assert.equal(fixture.getStore().listWorkItems().length, 1); }); +test("GitHub delivery keeps head checks across base changes and completes a Goal only with current trusted merge evidence", { timeout: 30_000 }, async t => { + const originalBase = "b".repeat(40); + const newBase = "c".repeat(40); + const originalIntegration = "d".repeat(40); + const newIntegration = "e".repeat(40); + const workflowPath = ".github/workflows/verify.yml"; + const workflow = "name: Trusted verification\n"; + const workflowSha256 = createHash("sha256").update(workflow).digest("hex"); + let head = ""; + let base = originalBase; + let integration = originalIntegration; + let wrongSource = true; + let changedWorkflow = false; + let latestAttempt = 1; + let attemptChanges = false; + let merged = false; + let baseChanges = false; + let integratedCheckAvailable = true; + const fixture = await releaseFixture(t, { + githubSources: cwd => [{ + workspaceRoot: cwd, repository: "example/ling", repositoryId: "73", + deliveryPolicies: [{ baseRef: "main", requiredChecks: [ + { name: "unit", appId: 19, workflowId: 5, workflowPath, workflowSha256, basis: "head", coverageRefs: ["unit-contracts"] }, + { name: "integration", appId: 19, workflowId: 6, workflowPath, workflowSha256, basis: "integration", coverageRefs: ["workflow-integration"] }, + ] }], + }], + externalWorkFetch: async input => { + const url = new URL(String(input)); + assert.equal(url.origin, "https://api.github.com"); + const prefix = "/repos/example/ling"; + assert.ok(url.pathname.startsWith(prefix)); + const path = url.pathname.slice(prefix.length); + if (path === "") return Response.json({ id: 73, full_name: "example/ling" }); + if (path === "/pulls/12") return Response.json({ + number: 12, title: "Fix replay", state: merged ? "closed" : "open", merged, + base: { sha: originalBase, ref: "main", repo: { id: 73 } }, head: { sha: head }, merge_commit_sha: integration, + }); + if (path === "/git/ref/heads/main") return Response.json({ ref: "refs/heads/main", object: { type: "commit", sha: base } }); + if (path === `/git/commits/${integration}`) return Response.json({ + sha: integration, parents: [{ sha: integration === originalIntegration ? originalBase : newBase }, { sha: head }], + }); + const subject = url.searchParams.get("head_sha"); + const run = subject === head ? { id: 15, workflow_id: 5, head_sha: head, name: "unit" } + : { id: 16, workflow_id: 6, head_sha: integration, name: "integration" }; + if (path === `/actions/workflows/${run.workflow_id}/runs`) { + if (baseChanges && subject === integration) base = newBase; + const workflow_runs = subject === integration && !integratedCheckAvailable ? [] : [{ + ...run, created_at: "2026-11-22T00:00:00Z", run_attempt: latestAttempt, status: "completed", + path: workflowPath, event: "push", + }]; + return Response.json({ total_count: workflow_runs.length, workflow_runs }); + } + if (path === `/contents/${workflowPath}`) return Response.json({ + type: "file", path: workflowPath, encoding: "base64", + content: Buffer.from(changedWorkflow ? "name: Replaced verification\n" : workflow).toString("base64"), + }); + const runId = path.includes("/15") || path.includes(head) ? 15 : 16; + const testedCommit = runId === 15 ? head : integration; + const name = runId === 15 ? "unit" : "integration"; + const checkRunId = 100 + runId; + const checkRunUrl = `https://api.github.com${prefix}/check-runs/${checkRunId}`; + if (path === `/actions/runs/${runId}/attempts/${latestAttempt}/jobs`) { + return Response.json({ total_count: 1, jobs: [{ + id: 200 + runId, run_id: runId, head_sha: testedCommit, name, check_run_url: checkRunUrl, + status: "completed", conclusion: "success", + }] }); + } + if (path === `/commits/${testedCommit}/check-runs`) return Response.json({ total_count: 1, check_runs: [{ + id: checkRunId, name, head_sha: testedCommit, status: "completed", conclusion: "success", url: checkRunUrl, + app: { id: wrongSource && runId === 16 ? 27 : 19 }, + }] }); + if (path === `/actions/runs/${runId}`) return Response.json({ id: runId, run_attempt: attemptChanges ? latestAttempt + 1 : latestAttempt }); + return Response.json({}, { status: 404 }); + }, + }); + const git = (...args: string[]) => execFileSync("git", args, { cwd: fixture.cwd, encoding: "utf8" }).trim(); + await writeFile(join(fixture.cwd, ".gitignore"), ".ling-stack/\n"); + await writeFile(join(fixture.cwd, "replay.txt"), "accepted replay\n"); + git("init", "-q", "-b", "main"); + git("add", "."); + git("-c", "user.name=Fixture", "-c", "user.email=fixture@example.test", "commit", "-qm", "Candidate"); + head = git("rev-parse", "HEAD"); + const client = await fixture.connect(); + const created = await client.call("workItem/create", { sourceId: "delivery", title: "Fix replay" }); + const { workItemId } = created.workItem; + const accepted = await client.call("workItem/accept", { + workItemId, expectedWorkItemRevision: Number(created.workItem.revision), idempotencyKey: "accept-delivery", + }); + const { thread } = await client.call("thread/start", { title: "Fix replay" }); + const { candidate } = await client.call("changes/capture"); + const input = { workItemId, threadId: thread.id, expectedWorkItemRevision: Number(accepted.workItem.revision), + repository: "example/ling", pullRequestNumber: 12, candidateDigest: candidate.candidateDigest }; + const reconcile = async (connection = client) => (await connection.call("github/delivery/reconcile", input)).delivery; + + assert.deepEqual((await reconcile()).checks.map(check => check.outcome), ["passed", "pending"]); + wrongSource = false; + changedWorkflow = true; + assert.equal((await reconcile()).checks[0]?.reason, "workflow_source_changed"); + changedWorkflow = false; + const initial = await reconcile(); + assert.equal(initial.status, "delivery_pending"); + assert.deepEqual(await reconcile(), initial); + baseChanges = true; + await assert.rejects(reconcile(), { code: "stale_revision" }); + baseChanges = false; + const advanced = await reconcile(); + assert.equal(advanced.baseCommit, newBase); + assert.deepEqual(advanced.checks.map(check => [check.outcome, check.testedCommit]), [["passed", head], ["unavailable", undefined]]); + integration = newIntegration; + integratedCheckAvailable = false; + assert.equal((await reconcile()).status, "ci_pending"); + integratedCheckAvailable = true; + attemptChanges = true; + await assert.rejects(reconcile(), { code: "stale_revision" }); + attemptChanges = false; + latestAttempt = 2; + const current = await reconcile(); + assert.deepEqual(current.checks.map(check => [check.testedCommit, check.runAttempt]), [[head, 2], [newIntegration, 2]]); + const { delivery: old } = await client.call("delivery/read", { + workItemId, deliveryId: initial.deliveryId, + }); + assert.deepEqual(old, initial); + + await client.call("thread/goal/set", { threadId: thread.id, objective: "Deliver the verified fix", + acceptanceCriteria: [{ id: "merged", description: "Trusted checks on the merged candidate", kind: "github_delivered", + githubDelivery: { workItemId, policyRevision: current.policyRevision } }] }); + const complete = (connection: typeof client, deliveryId: string) => { + const evidence = { kind: "github_delivery", id: deliveryId }; + return connection.call<{ goal: LingThreadGoal }>("thread/goal/complete", { + threadId: thread.id, actor: "ling-agent", completionVerificationSummary: "Confirmed merge and required checks.", + evidenceRefs: [evidence], acceptanceEvidence: [{ criterionId: "merged", evidence }], + }); + }; + await assert.rejects(complete(client, current.deliveryId), { code: "goal_completion_evidence_invalid" }); + merged = true; + const delivered = await reconcile(); + assert.equal(delivered.status, "delivered"); + assert.equal(delivered.mergedCommit, newIntegration); + await fixture.restart(); + const restored = await fixture.connect(); + assert.deepEqual((await restored.call("workItem/delivery/read", { workItemId })).delivery, delivered); + latestAttempt = 3; + await assert.rejects(complete(restored, delivered.deliveryId), { code: "goal_completion_evidence_invalid" }); + const fresh = await reconcile(restored); + assert.equal((await complete(restored, fresh.deliveryId)).goal.status, "complete"); +}); + test("Work Item creation, acceptance, evidence and collaboration retries keep one event per committed revision", { timeout: 20_000 }, async t => { const fixture = await releaseFixture(t); const client = await fixture.connect(); From 4d1e08542e5bab775c29cfcceb1bc4f1c3ad33aa Mon Sep 17 00:00:00 2001 From: tianxiaochannel-oss88 Date: Sun, 22 Nov 2026 13:50:03 +0800 Subject: [PATCH 005/147] feat(app-server): fence first dispatch and serve scoped WSS --- .../design/ling-app-server-detailed-design.md | 2 + .../ling-app-server-implementation-plan.md | 4 +- packages/api-client/src/app-server.ts | 4 +- packages/contracts/src/app-server.ts | 38 +++++ packages/core/src/app-server-state-types.ts | 2 +- .../core/src/conversation-item-store-types.ts | 4 + packages/core/src/run-types.ts | 2 + packages/core/src/storage/sqlite-run-store.ts | 24 +++ .../sqlite/ling-thread-cleanup-store.ts | 15 ++ .../src/storage/sqlite/run-session-store.ts | 13 +- .../src/storage/sqlite/work-item-store.ts | 57 ++++++- packages/core/src/work-item-types.ts | 19 ++- packages/core/src/workspace-types.ts | 1 + packages/daemon/src/config.ts | 4 + .../conversations/conversation-submission.ts | 5 + .../normal-conversation-input.ts | 4 +- .../src/features/conversations/routes.ts | 3 +- .../conversations/submission-receipts.ts | 4 +- .../daemon/src/features/runs/concurrency.ts | 2 + .../daemon/src/features/runs/orchestrator.ts | 9 +- .../features/runs/thread-hard-delete-route.ts | 4 + .../work-items/conversation-admission.ts | 13 ++ packages/daemon/src/index.ts | 11 +- packages/daemon/src/server/app-server-mcp.ts | 14 ++ .../src/server/app-server-wss-config.ts | 42 ++++++ packages/daemon/src/server/app-server-wss.ts | 51 +++++++ packages/daemon/src/server/rpc.ts | 118 ++++++++++++--- .../app-server-release-acceptance.test.ts | 140 +++++++++++++++++- 28 files changed, 564 insertions(+), 45 deletions(-) create mode 100644 packages/daemon/src/features/work-items/conversation-admission.ts create mode 100644 packages/daemon/src/server/app-server-wss-config.ts create mode 100644 packages/daemon/src/server/app-server-wss.ts diff --git a/docs/design/ling-app-server-detailed-design.md b/docs/design/ling-app-server-detailed-design.md index 046993a06..558608bba 100644 --- a/docs/design/ling-app-server-detailed-design.md +++ b/docs/design/ling-app-server-detailed-design.md @@ -36,6 +36,8 @@ App Server 作为 Daemon 的会话协议入口,以 `ling-app-server/1` 发布 App Server grant 使用 `las1..` bearer 形式。Daemon 只在创建时接收 secret 的 SHA-256,持久状态只保存摘要。grant 绑定 workspace、Thread 或 Work Item subject,scope 取 `observe`、`control`、`approve` 和 `respond` 的子集,带独立过期时间和 revision。连接握手时用 grant 的 revision 参与 replay identity,连接中的每个请求重新检查 subject 和 scope。撤销会关闭同 workspace 的 grant 连接,旧 cursor、缓存的 answer authority 和新的副作用请求都失效。grant 不能创建或撤销其他 grant,也不能跨 subject 读取事件。 +独立 WSS 监听器通过 Host 的 `appServerWss` 或 `LING_STACK_APP_SERVER_WSS_CONFIG` 指向的 JSON 文件配置。配置包括 `host`、`port`、TLS 的 `certificateFile` 与 `privateKeyFile` 绝对路径、`allowedHosts` 和可选 `allowedOrigins`。它要求 scoped grant,并在同一 Daemon 的本机管理入口接受撤销。原有明文 App Server 升级入口限定直连回环。 + [Ling Device Fabric](ling-device-fabric.md#5-cross-device-task-graph) 的项目节点继续引用其执行主机的 WorkUnit 与证据。App Server 的游标与权限绑定本 Daemon 的工作区。远端设备动作及其状态由对应主机的日志、授权与配对投影管理。 绑定以 Daemon 解析的规范化仓库、worktree 和当前授权版本为准。请求 ID 及客户端展示名用于关联与审计,可信 Actor 来自连接凭据。按操作取连接、工作区、目标 Work Item 或 Thread 和运行政策的交集。进入关联 Thread 的上下文还要核对它的访问授权。在受理、执行和提交决策前分别核对当前权属。撤销关闭对应订阅和新动作入口,已受理工作交由 Daemon 按其取消和恢复策略处置。 diff --git a/docs/design/ling-app-server-implementation-plan.md b/docs/design/ling-app-server-implementation-plan.md index 00ae3574f..0fb7b5279 100644 --- a/docs/design/ling-app-server-implementation-plan.md +++ b/docs/design/ling-app-server-implementation-plan.md @@ -29,6 +29,7 @@ | --- | --- | | A2/B1 会话恢复和事件 | `thread/resume` 从读快照取得当前 Turn 和事件游标。两个连接同时恢复已准备的 Turn 只启动一个 Run,并使用原来封存的项目规则。停止的 Turn 以原 Run 效果收敛和请求键为前提续接。订阅者可以接收普通 Pi Turn 的实时增量、结束通知和最终 Item 引用。App Server 的 Thread/Work Item 游标由持久存储代次、授权代次和目标签名,跨重启可复用,主体、工作区、目标或凭据变化返回 `snapshot_required`。SDK 在订阅确认时登记连接内的订阅 ID,紧接确认到达的回放也会推进下次重连的游标。 | | C1 工作区绑定 | App Server 握手校验 Daemon 已授权的工作区,并固定解析后的路径。端到端回归验证越界握手返回 403,目录别名变化后连接继续使用原绑定。 | +| C2 认证 WSS | Host 可配置独立 TLS 监听器,只接受 App Server 上的 scoped grant。实际 TLS 回归覆盖证书校验、Host/Origin 范围、控制和推送、旧 RPC 路径隔离、另一个监听器撤销现有连接。公网部署与多平台安装仍需实测。 | | O2 外部 Runner | 真实 Daemon 使用配置的 Codex Runner Adapter 调用回环模拟后端,核对协商、任务身份、工作区和只读工具范围。完成状态与 Adapter 事件在重启后可重放。未确认的取消保留 `unknown`,存储写入失败时从最后提交状态恢复。 | | B2 在途输入 | `turn/queue` 将输入交给持久 Run intervention。前驱已记录执行结束及副作用收敛时,Daemon 可在重启后用同一收据启动后继 Turn。用配置 Pi Runner 核对实际投递一次、重连事件及新旧 Turn 的关联。`turn/interrupt` 可携带明确的重定向输入。`turn/steer` 在当前 Runner 无同 Turn 安全注入能力时返回 `steer_unsupported`。已安装的 Codex 通过 MCP 验证了快照、追加消息、Turn 恢复入口和事件读取。 | | C2/F2 版本兼容 | 用 `v0.6.1@3fe77440e` 源码构建在 macOS 上创建 Thread、Turn、待决审批和游标,候选 Daemon 接手原 SQLite,旧 SDK 可读取 Thread 和处置后的审批。候选 SDK 向旧 `/rpc/stream` 尝试提交时,在协商阶段返回 `protocol_version_unsupported`。候选 Daemon 的 `/rpc/stream` 仅提供原有方法。测试覆盖 App Server 专属方法拒绝、旧客户端的 Run 启动和取消。候选 CLI probe 和本机 Codex MCP 已通过。v0.6.1 未提供 App Server 协议。发布安装包、远程连接及回退对账另行验收。 | @@ -36,6 +37,7 @@ | E2 交付前验收 | App Server 与 HTTP 使用同一套 Goal 验收解析和证据检查。实际 Pi Run 通过后,可用同 Thread 证据完成 Goal。Verify 结果用绑定当前候选的 `verification_passed` 条件完成 Goal,独立 verifier basis、coverage 和 producer refs 不匹配时会被拒绝。Review 已验证候选绑定、发现项处置和 freshness 持久化。`simplify/start` 与 `simplify/status` 支持只读简化审查及重启重放。`github_delivered` 要求当前已提交候选、同 Thread 与 Work Item、已接受的检查政策和 Host 重新核对的实际合并结果。 | | O4 GitHub 证据核对 | 配置注册仓库、不可变仓库 ID 与分支政策。对已受理工作项重读 PR、实时 base ref、集成提交父链、检查 App、冻结的 workflow 文件、实际测试对象和最新 attempt。夹具覆盖同名异源检查、工作流改动、保持 head 更新 base、迟到尝试和合并后重新核对。工作项保留以前的观察和稳定交付 ID。GitHub merge queue 与实际仓库合并保护仍需验收。 | | O1/O8/O9 接单、控制和协作 | App Server 按来源标识创建或取得现有工作项。工作项创建、控制、接单、证据和协作写入各自与对应的事件同事务提交。控制回执在后继操作和 Daemon 重启后可按原请求找回。两个客户端验证了幂等、冲突错误、事件写入失败回滚和游标回放。阶段运行、定时轮次、交接、裁决与恢复的联合验收仍待下方矩阵。 | +| O1 首次会话派发 | `workItem/accept` 可选定主执行会话,接单和首发意图同事务保存。正常会话 Run 创建核对该意图并原子更新 Work Item。脚本化 Pi Provider 验证了重启、两个并发受理、暂停恢复、实际派发一次,以及当前绑定阻止删除会话。Codex MCP 已提供同一创建和受理入口。 | 源码兼容用例由 `LING_APP_SERVER_PREVIOUS_BUILD` 指向已构建的上一版源码目录。`LING_APP_SERVER_CODEX_EXECUTABLE` 指向已安装的 Codex。两项均使用隔离状态和回环服务,配置 Pi Runner 使用脚本化 Provider。 [发行验收测试](../../packages/daemon/test/app-server-release-acceptance.test.ts) @@ -43,7 +45,7 @@ | 工作包 | 代码或验收差距 | | --- | --- | -| A1、B1、C1、C2 | 全方法的 Schema 校验、远程认证 WSS 和更多宿主兼容组合。workspace、Thread、Work Item 的 grant 范围已接入,审批和用户答复仍需按不同真实宿主和远程部署做验收。App Server 目标游标已绑定存储代次、授权代次和目标,现有兼容用例覆盖本机的上一版源码与候选组合。 | +| A1、B1、C1、C2 | 全方法的 Schema 校验和更多宿主兼容组合。workspace、Thread、Work Item 的 grant 和 WSS 已接入,审批和用户答复仍需按不同真实宿主与远程部署做验收。App Server 目标游标已绑定存储代次、授权代次和目标,现有兼容用例覆盖本机的上一版源码与候选组合。 | | D1、D2、E1、E2 | 开工时的项目规则加载、两个开发 Skill、工作区 Verify、独立 verifier basis、托管工作树管理和外部 GitHub 合并结果验收已接入。仍需运行中进入新目录的局部规则、候选补丁的应用预览和提交、浏览器/平台配方,以及 UI 运行报告。 | | F1、F2 | 普通会话已接入 Handoff 的候选封存和接手。仍需跨 Agent Workflow 的执行归属和预算承接。已有 Codex MCP 联调,双端宿主界面和授权变更后重订阅需要实测。 | | O1、O3–O9 | 跨入口任务归并和首次派发、自治策略、GitHub 交付、经验与设备反馈、阶段和定时轮次、在途改计划、交接和审议裁决。现有协作记录的持久化、版本冲突和回放已验证,原 Workflow/Automation 执行与联合验收还要接通。 | diff --git a/packages/api-client/src/app-server.ts b/packages/api-client/src/app-server.ts index b3bc924ea..d1bfac65e 100644 --- a/packages/api-client/src/app-server.ts +++ b/packages/api-client/src/app-server.ts @@ -63,6 +63,8 @@ import type { LingAppServerWorkItemControlParams, LingAppServerWorkItemControlResult, LingAppServerWorkItemCreateParams, + LingAppServerWorkItemAcceptParams, + LingAppServerWorkItemAcceptResult, LingAppServerWorkItemReadResult, LingAppServerWorkItemResult, LingAppServerWorkItemSnapshot, @@ -248,7 +250,7 @@ export class LingAppServerClient { return await this.request(params.deliveryId === undefined ? "workItem/delivery/read" : "delivery/read", params); } - async acceptWorkItem(params: Record): Promise { + async acceptWorkItem(params: LingAppServerWorkItemAcceptParams): Promise { await this.connect(); return await this.request("workItem/accept", params); } diff --git a/packages/contracts/src/app-server.ts b/packages/contracts/src/app-server.ts index 1cb5840a0..ccb70ea8f 100644 --- a/packages/contracts/src/app-server.ts +++ b/packages/contracts/src/app-server.ts @@ -504,6 +504,44 @@ export interface LingAppServerWorkItemCreateParams { readonly gitHubSubject?: Omit; } +export interface LingAppServerWorkItemConversationDispatch { + readonly threadId: string; + readonly message: string; + readonly providerPresetId?: string; +} + +export interface LingAppServerWorkItemAcceptParams { + readonly cwd?: string; + readonly workItemId: string; + readonly expectedWorkItemRevision: number; + readonly idempotencyKey: string; + readonly actorId?: string; + readonly dispatch?: LingAppServerWorkItemConversationDispatch; +} + +export interface LingAppServerWorkItemAcceptance { + readonly id: string; + readonly workItemId: string; + readonly acceptedRevision: number; + readonly workItemRevision: number; + readonly actorId: string; + readonly idempotencyKey: string; + readonly acceptedAt: string; +} + +export interface LingAppServerWorkItemAcceptResult extends LingAppServerWorkItemResult { + readonly accepted: true; + readonly acceptance: LingAppServerWorkItemAcceptance; + readonly replayed: boolean; + readonly dispatch?: { + readonly threadId: string; + readonly submissionKey: string; + readonly status: "pending" | "admitted" | "held"; + readonly runId?: string; + readonly blocker?: string; + }; +} + export interface LingAppServerWorkItemReadResult extends LingAppServerWorkItemResult { readonly cursor: string; } diff --git a/packages/core/src/app-server-state-types.ts b/packages/core/src/app-server-state-types.ts index 0eb7e4029..a07b8b31a 100644 --- a/packages/core/src/app-server-state-types.ts +++ b/packages/core/src/app-server-state-types.ts @@ -3,7 +3,7 @@ import type { ControlPlaneEvent } from "./run-types.js"; export type AppServerStateKind = "verify_plan" | "verify_operation" | "review_submission" | "review_finding_update" | "simplify_submission" | "external_federation" | "work_item_creation" | "work_item_acceptance" | "work_item_control" | "replay_identity" | "handoff" | "authorization_grant" | "work_item_target" | "work_item_source" - | "github_delivery" | "github_delivery_current"; + | "github_delivery" | "github_delivery_current" | "work_item_thread"; export interface AppServerStateRecord { readonly workspaceId: string; diff --git a/packages/core/src/conversation-item-store-types.ts b/packages/core/src/conversation-item-store-types.ts index f7e04b749..6b0919938 100644 --- a/packages/core/src/conversation-item-store-types.ts +++ b/packages/core/src/conversation-item-store-types.ts @@ -107,3 +107,7 @@ export class ConversationItemStoreError extends Error { this.code = code; } } + +export function normalConversationSubmissionKey(threadId: string, submissionKey: string): string { + return `normal-conversation:${threadId}:${submissionKey}`; +} diff --git a/packages/core/src/run-types.ts b/packages/core/src/run-types.ts index 4edfa9fd5..b04ba2bf0 100644 --- a/packages/core/src/run-types.ts +++ b/packages/core/src/run-types.ts @@ -1749,6 +1749,7 @@ export interface RunStore extends AutomationEventStore, CodeAssessmentStore, Cod ): ResolveOrCreateConversationThreadResult; getLingThread(threadId: string): LingThread | undefined; hardDeleteLingThread(threadId: string, input: HardDeleteLingThreadInput, now: string): HardDeleteLingThreadResult | undefined; + listLingThreadWorkItemDependencies(threadId: string): readonly string[]; findLingThreadByOwner(input: { readonly kind: LingThreadKind; readonly surfaceKind?: LingThread["surfaceKind"]; @@ -2696,6 +2697,7 @@ export interface RunStore extends AutomationEventStore, CodeAssessmentStore, Cod listWorkItems(options?: ListWorkItemsOptions, now?: string): WorkItem[]; routeWorkItem(id: string, input: WorkItemRouteRequest, now: string): WorkItem | undefined; acceptWorkItem(id: string, input: import("./work-item-types.js").WorkItemAcceptanceRequest, now: string, eventCwd?: string): import("./work-item-types.js").WorkItemAcceptanceResult | undefined; + checkWorkItemConversationAdmission(threadId: string, submissionKey: unknown): WorkItem | undefined; claimWorkItem(id: string, input: WorkItemClaimRequest, now: string): { readonly workItem: WorkItem; readonly claimToken?: string; readonly blocker?: WorkItemClaimBlocker } | undefined; heartbeatWorkItem(id: string, input: WorkItemHeartbeatRequest, now: string): WorkItem | undefined; releaseWorkItem(id: string, input: WorkItemReleaseRequest, now: string): WorkItem | undefined; diff --git a/packages/core/src/storage/sqlite-run-store.ts b/packages/core/src/storage/sqlite-run-store.ts index 2e58144ca..d73e60f58 100644 --- a/packages/core/src/storage/sqlite-run-store.ts +++ b/packages/core/src/storage/sqlite-run-store.ts @@ -1338,6 +1338,21 @@ export class SqliteRunStore implements RunStore { recordRunSelection: (run) => this.recordRunSkillUsage(run, "selected", run.createdAt), assertWorkspaceSnapshotFence: (cwd) => this.assertWorkspaceSnapshotFence(cwd), getDelegationCompletionEvidence: (input) => this.getDelegationCompletionEvidence(input), + checkWorkItemAdmission: (threadId, turnId, request) => { + const snapshot = request as { idempotencyKey?: string; normalConversationPreparedRequestRef?: { id: string; fingerprint: string } } | null; + const workItem = this.checkWorkItemConversationAdmission(threadId, snapshot?.idempotencyKey); + if (workItem && !workItem.runId) { + const turn = turnId ? this.getLingTurn(turnId) : undefined; + const prepared = turn?.sourceItemId && this.getConversationPreparedInput(turn.sourceItemId, "request"); + if (!prepared || prepared.threadId !== threadId || prepared.id !== snapshot?.normalConversationPreparedRequestRef?.id + || prepared.fingerprint !== snapshot?.normalConversationPreparedRequestRef?.fingerprint) { + throw new Error("work_item_dispatch_intent_required"); + } + } + return workItem; + }, + linkWorkItemRun: (workItem, runId, now) => this.workItems.linkFirstConversationRun(workItem, runId, now, + { store: this.controlPlane, cwd: this.paths.cwd }), }, ); this.nodeRerunTargets = new SqliteNodeRerunTargetStore({ database: this.database }, this, @@ -2646,6 +2661,11 @@ export class SqliteRunStore implements RunStore { return this.lingThreadCleanup.hardDeleteLingThread(threadId, input, now); } + listLingThreadWorkItemDependencies(threadId: string): readonly string[] { + const thread = this.getLingThread(threadId); + return thread ? this.lingThreadCleanup.listWorkItemDependencies(threadId, thread.workspaceId) : []; + } + findLingThreadByOwner(input: { readonly kind: LingThreadKind; readonly surfaceKind?: LingThread["surfaceKind"]; @@ -6122,6 +6142,10 @@ export class SqliteRunStore implements RunStore { return this.workItems.acceptWorkItem(id, input, now, this.appServerState, { store: this.controlPlane, cwd: eventCwd }); } + checkWorkItemConversationAdmission(threadId: string, submissionKey: unknown): WorkItem | undefined { + return this.workItems.checkConversationAdmission(threadId, submissionKey, this.appServerState); + } + claimWorkItem( id: string, input: WorkItemClaimRequest, diff --git a/packages/core/src/storage/sqlite/ling-thread-cleanup-store.ts b/packages/core/src/storage/sqlite/ling-thread-cleanup-store.ts index 47544c97a..dbdc518e5 100644 --- a/packages/core/src/storage/sqlite/ling-thread-cleanup-store.ts +++ b/packages/core/src/storage/sqlite/ling-thread-cleanup-store.ts @@ -63,6 +63,12 @@ export class SqliteLingThreadCleanupStore { this.context.database.exec("BEGIN IMMEDIATE TRANSACTION"); try { + const current = this.ports.getLingThread(threadId); + if (!current || current.updatedAt !== thread.updatedAt + || input.expectedThreadRevision !== undefined && current.updatedAt !== input.expectedThreadRevision) { + throw new Error("thread_delete_preview_stale"); + } + if (this.listWorkItemDependencies(threadId, thread.workspaceId).length) throw new Error("thread_work_item_dependency"); prepareNormalForkRetentionForThreadDelete(this.context, threadId); this.context.database .prepare(` @@ -97,6 +103,15 @@ export class SqliteLingThreadCleanupStore { return { tombstone, deletedAttachmentPaths }; } + + listWorkItemDependencies(threadId: string, workspaceId: string): readonly string[] { + return this.context.database.prepare(`SELECT DISTINCT w.id FROM app_server_state s JOIN work_items w + ON w.workspace_id=s.workspace_id AND w.id=json_extract(s.payload_json, '$.workItemId') + WHERE s.workspace_id=? AND w.status!='archived' AND ( + s.kind='work_item_thread' AND s.record_id=? OR + s.kind='github_delivery_current' AND json_extract(s.payload_json, '$.threadId')=? + ) ORDER BY w.id`).all(workspaceId, threadId, threadId).map(row => readString(row, "id")); + } } function countWhere( diff --git a/packages/core/src/storage/sqlite/run-session-store.ts b/packages/core/src/storage/sqlite/run-session-store.ts index a6350fbeb..71a7f50e1 100644 --- a/packages/core/src/storage/sqlite/run-session-store.ts +++ b/packages/core/src/storage/sqlite/run-session-store.ts @@ -31,6 +31,7 @@ import { isCurrentRunExecutionOwner, runExecutionOwnerParameters, runExecutionOw import { assertDelegationCompletionSatisfied } from "../../delegation-completion-barrier.js"; import { normalizeRunnerIdsInSnapshot } from "../../runner-ids.js"; import { parseNullableChannelWorkspaceBinding, parseNullableDirectWorkspaceBinding } from "./workspace-binding-parsers.js"; +import type { WorkItem } from "../../work-item-types.js"; export interface SqliteRunSessionStorePorts { readonly insertLingTurnRun: (turnId: string, runId: string, role: LingTurnRunRole, createdAt: string) => LingTurnRun; @@ -49,6 +50,8 @@ export interface SqliteRunSessionStorePorts { /** Reject new/promoted execution while an explicit workspace restore owns the fence. */ readonly assertWorkspaceSnapshotFence?: (cwd: string) => void; readonly getDelegationCompletionEvidence: RunStore["getDelegationCompletionEvidence"]; + readonly checkWorkItemAdmission?: (threadId: string, turnId: string | undefined, request: unknown) => WorkItem | undefined; + readonly linkWorkItemRun?: (workItem: WorkItem, runId: string, now: string) => void; } export class SqliteRunSessionStore { @@ -104,7 +107,11 @@ export class SqliteRunSessionStore { if (sourceThreadId && sourceThread?.channel_id) { assertChannelSessionThreadWritable(this.context.database, sourceThreadId); } - this.assertManagedWorkspaceBinding(captured, prepared.requestJson, sourceThread); + const requestSnapshot: unknown = JSON.parse(prepared.requestJson); + const workItem = sourceThreadId + ? readSqliteWithinTransaction(this.context.database, () => this.ports.checkWorkItemAdmission?.(sourceThreadId, captured.turnId, requestSnapshot)) + : undefined; + this.assertManagedWorkspaceBinding(captured, requestSnapshot, sourceThread); const eventLogPath = getRunEventLogPath(this.paths, captured.id); this.context.database .prepare(` @@ -188,15 +195,15 @@ export class SqliteRunSessionStore { this.assertCreationTransactionActive(); this.ports.recordRunSelection(session); this.assertCreationTransactionActive(); + if (workItem) this.ports.linkWorkItemRun?.(workItem, session.id, session.createdAt); return session; } private assertManagedWorkspaceBinding( input: CreateRunInput, - requestJson: string, + request: unknown, sourceThread: Record | undefined, ): void { - const request: unknown = JSON.parse(requestJson); if (!isRecord(request)) return; const channelSnapshot = isRecord(request.channelWorkspaceBinding) ? request.channelWorkspaceBinding : undefined; const directSnapshot = isRecord(request.directWorkspaceSnapshot) ? request.directWorkspaceSnapshot : undefined; diff --git a/packages/core/src/storage/sqlite/work-item-store.ts b/packages/core/src/storage/sqlite/work-item-store.ts index 5ab51d363..9c4b096cc 100644 --- a/packages/core/src/storage/sqlite/work-item-store.ts +++ b/packages/core/src/storage/sqlite/work-item-store.ts @@ -19,6 +19,7 @@ import { type WorkItemControlRequest, type WorkItemControlReceipt, type WorkItemControlResult, + type WorkItemConversationBinding, type WorkItemFailRequest, type WorkItemHeartbeatRequest, type WorkItemReleaseRequest, @@ -34,6 +35,7 @@ import type { SqliteStoreContext } from "./store-context.js"; import type { SqliteAppServerStateStore } from "./app-server-state-store.js"; import type { SqliteControlPlaneStore } from "./control-plane-store.js"; import type { LingAppServerGitHubDelivery, LingAppServerWorkItemSourceReceipt } from "@ling-stack/contracts"; +import { normalConversationSubmissionKey } from "../../conversation-item-store-types.js"; export interface SqliteWorkItemStorePorts { readonly assertChannelExists: (channelId: string) => void; @@ -153,6 +155,7 @@ export class SqliteWorkItemStore { || prior && (prior.threadId !== delivery.threadId || prior.subject.repositoryId !== delivery.subject.repositoryId || prior.subject.number !== delivery.subject.number)) throw new Error("github_delivery_binding_conflict"); if (!workItem || workItem.revision !== expectedWorkItemRevision || acceptance?.id !== delivery.acceptanceId + || acceptance.dispatch && acceptance.dispatch.threadId !== delivery.threadId || !database.prepare("SELECT 1 FROM ling_threads WHERE id=? AND archived_at IS NULL").get(delivery.threadId)) { throw new Error("github_delivery_stale"); } @@ -403,7 +406,7 @@ export class SqliteWorkItemStore { const { workItem, receipt } = result; const event = events.store.appendControlPlaneEventWithinTransaction({ workspaceId: workItem.workspaceId, cwd: events.cwd, domain: "work_items", - entityType: "work_item", entityId: id, action: "work_item.accepted", idempotencyKey: receipt.id, + entityType: "work_item", entityId: id, action: receipt.dispatch ? "work_item.thread.linked" : "work_item.accepted", idempotencyKey: receipt.id, data: { workItemId: id, revision: receipt.workItemRevision, actorId: receipt.actorId, acceptanceId: receipt.id }, }, now); database.exec("COMMIT"); @@ -420,9 +423,11 @@ export class SqliteWorkItemStore { const prior = state.get("work_item_acceptance", id)?.payload as WorkItemAcceptanceReceipt | undefined; if (prior) { if (prior.idempotencyKey !== input.idempotencyKey) { + if (prior.dispatch && input.dispatch) return { workItem, receipt: prior, replayed: true }; throw new Error("work_item_acceptance_already_committed"); } - if (prior.actorId !== input.actorId || prior.acceptedRevision !== input.expectedRevision) { + if (prior.actorId !== input.actorId || prior.acceptedRevision !== input.expectedRevision + || !sameConversationDispatch(prior.dispatch, input.dispatch)) { throw new Error("work_item_acceptance_idempotency_conflict"); } return { workItem, receipt: prior, replayed: true }; @@ -430,14 +435,27 @@ export class SqliteWorkItemStore { if (workItem.revision !== input.expectedRevision || workItem.control.state !== "active" || workItem.holds.some(hold => hold.blocksNewAdmission) || !["intake", "triage", "backlog", "ready"].includes(workItem.status)) return undefined; + const acceptanceId = `work_item_acceptance_${randomUUID()}`; + const dispatch = input.dispatch ? { ...input.dispatch, submissionKey: `work-item:${acceptanceId}` } : undefined; + if (dispatch) { + const thread = this.context.database.prepare(`SELECT active_run_id FROM ling_threads + WHERE id=? AND workspace_id=? AND kind='conversation' AND channel_id IS NULL AND archived_at IS NULL AND status!='archived'`) + .get(dispatch.threadId, workItem.workspaceId); + if (!thread || thread.active_run_id || state.get("work_item_thread", dispatch.threadId) + || this.context.database.prepare(`SELECT 1 FROM ling_turns WHERE thread_id=? AND status IN ('queued','running','waiting_for_approval','waiting_for_input') LIMIT 1`) + .get(dispatch.threadId)) throw new Error("work_item_dispatch_thread_unavailable"); + const binding: WorkItemConversationBinding = { workItemId: id, acceptanceId, submissionKey: dispatch.submissionKey }; + state.putWithinTransaction({ kind: "work_item_thread", recordId: dispatch.threadId, expectedRevision: 0, payload: binding }, now); + } const receipt: WorkItemAcceptanceReceipt = { - id: `work_item_acceptance_${randomUUID()}`, + id: acceptanceId, workItemId: id, acceptedRevision: workItem.revision, workItemRevision: workItem.revision + 1, actorId: input.actorId, idempotencyKey: input.idempotencyKey, acceptedAt: now, + ...(dispatch ? { dispatch } : {}), }; this.context.database.prepare("UPDATE work_items SET status='ready', waiting_reason=NULL, revision=revision+1, updated_at=? WHERE workspace_id=? AND id=?") .run(now, workItem.workspaceId, id); @@ -445,6 +463,35 @@ export class SqliteWorkItemStore { return { workItem: this.getWorkItem(id)!, receipt, replayed: false }; } + getConversationBinding(threadId: string, state: SqliteAppServerStateStore): WorkItemConversationBinding | undefined { + return state.get("work_item_thread", threadId)?.payload as WorkItemConversationBinding | undefined; + } + + checkConversationAdmission(threadId: string, submissionKey: unknown, state: SqliteAppServerStateStore): WorkItem | undefined { + const binding = this.getConversationBinding(threadId, state); + if (!binding) return undefined; + const workItem = this.getWorkItem(binding.workItemId); + if (!workItem || workItem.control.state !== "active" || workItem.control.unresolvedEffectIds.length > 0 + || workItem.holds.some(hold => hold.blocksNewAdmission) + || ["done", "cancelled", "superseded", "archived"].includes(workItem.status)) throw new Error("work_item_dispatch_held"); + if (!workItem.runId && binding.submissionKey !== submissionKey + && normalConversationSubmissionKey(threadId, binding.submissionKey) !== submissionKey) throw new Error("work_item_dispatch_intent_required"); + return workItem; + } + + linkFirstConversationRun( + workItem: WorkItem, runId: string, now: string, events: { readonly store: SqliteControlPlaneStore; readonly cwd: string }, + ): void { + if (workItem.runId) return; + this.context.database.prepare("UPDATE work_items SET run_id=?, revision=revision+1, updated_at=? WHERE id=?") + .run(runId, now, workItem.id); + events.store.appendControlPlaneEventWithinTransaction({ + workspaceId: workItem.workspaceId, cwd: events.cwd, domain: "work_items", entityType: "work_item", entityId: workItem.id, + action: "work_item.dispatch.admitted", idempotencyKey: `work-item-dispatch:${workItem.id}`, + data: { workItemId: workItem.id, revision: workItem.revision + 1, dispatchStatus: "admitted" }, + }, now); + } + claimWorkItem( id: string, input: WorkItemClaimRequest, @@ -710,6 +757,10 @@ export class SqliteWorkItemStore { } } +function sameConversationDispatch(left: WorkItemAcceptanceReceipt["dispatch"], right: WorkItemAcceptanceRequest["dispatch"]): boolean { + return left?.threadId === right?.threadId && left?.message === right?.message && left?.providerPresetId === right?.providerPresetId; +} + function nextWorkItemControlState(state: WorkItemControlState, action: WorkItemControlAction, unresolvedEffectCount: number): WorkItemControlState | undefined { if (action === "pause") { return state === "active" || state === "blocked" ? "paused" : undefined; diff --git a/packages/core/src/work-item-types.ts b/packages/core/src/work-item-types.ts index 462db1e01..379dd86fe 100644 --- a/packages/core/src/work-item-types.ts +++ b/packages/core/src/work-item-types.ts @@ -1,5 +1,7 @@ import { randomUUID } from "node:crypto"; -import type { LingAppServerGitHubDelivery, LingAppServerWorkItemSourceReceipt } from "@ling-stack/contracts"; +import type { + LingAppServerGitHubDelivery, LingAppServerWorkItemAcceptance, LingAppServerWorkItemConversationDispatch, LingAppServerWorkItemSourceReceipt, +} from "@ling-stack/contracts"; import type { ControlPlaneEvent } from "./run-types.js"; export type WorkItemStatus = @@ -176,16 +178,17 @@ export interface WorkItemAcceptanceRequest { readonly expectedRevision: number; readonly actorId: string; readonly idempotencyKey: string; + readonly dispatch?: LingAppServerWorkItemConversationDispatch; } -export interface WorkItemAcceptanceReceipt { - readonly id: string; +export interface WorkItemConversationBinding { readonly workItemId: string; - readonly acceptedRevision: number; - readonly workItemRevision: number; - readonly actorId: string; - readonly idempotencyKey: string; - readonly acceptedAt: string; + readonly acceptanceId: string; + readonly submissionKey: string; +} + +export interface WorkItemAcceptanceReceipt extends LingAppServerWorkItemAcceptance { + readonly dispatch?: LingAppServerWorkItemConversationDispatch & { readonly submissionKey: string }; } export interface WorkItemAcceptanceResult { diff --git a/packages/core/src/workspace-types.ts b/packages/core/src/workspace-types.ts index 94372533c..865ab5003 100644 --- a/packages/core/src/workspace-types.ts +++ b/packages/core/src/workspace-types.ts @@ -1273,6 +1273,7 @@ export interface HardDeleteAiTeammateResult { export interface HardDeleteLingThreadInput { readonly reason?: string; + readonly expectedThreadRevision?: string; } export interface HardDeleteLingThreadResult { diff --git a/packages/daemon/src/config.ts b/packages/daemon/src/config.ts index 5dd1e9653..6c883bf89 100644 --- a/packages/daemon/src/config.ts +++ b/packages/daemon/src/config.ts @@ -10,6 +10,7 @@ import { import type { RestrictedCommandRuntimeConfig } from "./runtime/sandbox/restricted-command-runtime.js"; import { resolveVerificationRecipes, type AppServerVerificationRecipeConfig } from "./server/app-server-verification-config.js"; import { resolveAppServerGitHubSources, type AppServerGitHubSourceConfig } from "./server/app-server-github-sources.js"; +import { resolveAppServerWssConfig, type AppServerWssConfig } from "./server/app-server-wss-config.js"; export interface DaemonConfig { readonly host?: string; @@ -27,6 +28,7 @@ export interface DaemonConfig { readonly transports?: TransportFeatureConfig; readonly appServerVerificationRecipes?: readonly AppServerVerificationRecipeConfig[]; readonly appServerGitHubSources?: readonly AppServerGitHubSourceConfig[]; + readonly appServerWss?: AppServerWssConfig; readonly channels?: ChannelFeatureConfig; readonly cuaDriver?: CuaDriverFeatureConfig; readonly remoteAccess?: RemoteAccessFeatureConfig; @@ -193,6 +195,7 @@ export interface ResolvedDaemonConfig { readonly transports: Required; readonly appServerVerificationRecipes: readonly AppServerVerificationRecipeConfig[]; readonly appServerGitHubSources: readonly AppServerGitHubSourceConfig[]; + readonly appServerWss?: AppServerWssConfig; readonly channels: ChannelFeatureConfig; readonly cuaDriver: { readonly bundledEmbedded: { @@ -256,6 +259,7 @@ export function resolveConfig(config: DaemonConfig): ResolvedDaemonConfig { concurrency: resolveRuntimeConcurrencyPolicy(config.concurrency), appServerVerificationRecipes: resolveVerificationRecipes(config.appServerVerificationRecipes), appServerGitHubSources: resolveAppServerGitHubSources(config.appServerGitHubSources), + appServerWss: resolveAppServerWssConfig(config.appServerWss), transports: { providerWebSocketFallback: config.transports?.providerWebSocketFallback ?? readBooleanEnv(process.env.LING_STACK_PROVIDER_WS_FALLBACK, true), diff --git a/packages/daemon/src/features/conversations/conversation-submission.ts b/packages/daemon/src/features/conversations/conversation-submission.ts index e35779310..f099ac05d 100644 --- a/packages/daemon/src/features/conversations/conversation-submission.ts +++ b/packages/daemon/src/features/conversations/conversation-submission.ts @@ -10,6 +10,7 @@ import { prepareNormalConversationInput } from "./normal-conversation-input.js"; import { saveNormalConversationPreparedRequest } from "./normal-conversation-prepared-request.js"; import { readConversationSubmission } from "./submission-receipts.js"; import { withProjectInstructions } from "./project-instructions.js"; +import { assertWorkItemConversationAdmission } from "../work-items/conversation-admission.js"; export async function prepareConversationSubmission(options: { readonly store: RunStore; @@ -28,6 +29,10 @@ export async function prepareConversationSubmission(options: { }) : undefined; const selection = accepted?.status === "accepted" ? undefined : resolveConversationExecutionSelection(store, runnerRegistry, input); const thread = options.resolveThread(); + const acceptedTurn = accepted?.status === "accepted" && accepted.turnId ? store.getLingTurn(accepted.turnId) : undefined; + if (!(acceptedTurn?.activeRunId || acceptedTurn?.lastRunId)) { + assertWorkItemConversationAdmission(store, thread.id, input.idempotencyKey); + } const fileRefs = input.fileRefs ?? []; const prepared = prepareNormalConversationInput({ store, thread, message: input.message, diff --git a/packages/daemon/src/features/conversations/normal-conversation-input.ts b/packages/daemon/src/features/conversations/normal-conversation-input.ts index 61f84414c..3a87f4caf 100644 --- a/packages/daemon/src/features/conversations/normal-conversation-input.ts +++ b/packages/daemon/src/features/conversations/normal-conversation-input.ts @@ -1,5 +1,5 @@ import { createHash } from "node:crypto"; -import { createLingTurnId, type AppendConversationAcceptedInput, type ConversationAttachment, type LingThread, type LingTurn, type LingTurnKind, type RunStore } from "@ling-stack/core"; +import { createLingTurnId, normalConversationSubmissionKey, type AppendConversationAcceptedInput, type ConversationAttachment, type LingThread, type LingTurn, type LingTurnKind, type RunStore } from "@ling-stack/core"; import type { ChannelMessageFileRef } from "@ling-stack/contracts"; import { HttpError } from "../../errors.js"; import type { RunRequest } from "../runs/schemas.js"; @@ -34,7 +34,7 @@ export function prepareNormalConversationInput(input: { readonly now: string; }): PreparedNormalConversationInput { const { store, thread } = input; - const idempotencyKey = `normal-conversation:${thread.id}:${input.idempotencyKey ?? createLingTurnId()}`; + const idempotencyKey = normalConversationSubmissionKey(thread.id, input.idempotencyKey ?? createLingTurnId()); const existing = store.getConversationItemByIdempotencyKey(thread.id, idempotencyKey); const previousTurn = existing?.turnId ? store.getLingTurn(existing.turnId) : undefined; // Stable IDs let processes that both missed this read converge inside SQLite. diff --git a/packages/daemon/src/features/conversations/routes.ts b/packages/daemon/src/features/conversations/routes.ts index 8a095cabe..43070a434 100644 --- a/packages/daemon/src/features/conversations/routes.ts +++ b/packages/daemon/src/features/conversations/routes.ts @@ -5,6 +5,7 @@ import { listAllConversationTurns } from "./all-turns.js"; import { DEFAULT_WORKSPACE_ID, LING_AGENT_ID, + normalConversationSubmissionKey, type ConversationAttachment, type LingConversationTone, type LingThread, @@ -111,7 +112,7 @@ export async function startConversationReplacementRun(input: { } const replacementKey = `message-edit:${revision.id}`; const existingInput = input.store.getConversationItemByIdempotencyKey(input.thread.id, - `normal-conversation:${input.thread.id}:${replacementKey}`); + normalConversationSubmissionKey(input.thread.id, replacementKey)); // New replacements require a selection before creating a canonical turn. // Accepted replacements retain their persisted replay even after revocation. const selection = existingInput ? undefined diff --git a/packages/daemon/src/features/conversations/submission-receipts.ts b/packages/daemon/src/features/conversations/submission-receipts.ts index f64c6ef97..b7ad76324 100644 --- a/packages/daemon/src/features/conversations/submission-receipts.ts +++ b/packages/daemon/src/features/conversations/submission-receipts.ts @@ -1,7 +1,7 @@ import { findChannelDefaultConversationThread } from "../channels/conversation-thread-resolution.js"; import { createHash } from "node:crypto"; import type { ServerResponse } from "node:http"; -import type { RunStore } from "@ling-stack/core"; +import { normalConversationSubmissionKey, type RunStore } from "@ling-stack/core"; import type { ConversationSubmissionQuery, ConversationSubmissionReceipt } from "@ling-stack/contracts"; import { HttpError } from "../../errors.js"; import { writeJson } from "../../shared/response.js"; @@ -19,7 +19,7 @@ export function readConversationSubmission(store: RunStore, query: ConversationS if (!thread) return unknown; if (query.surface === "normal" ? thread.kind !== "conversation" || Boolean(thread.channelId || thread.teammateId && thread.teammateId !== "ling_agent") : thread.kind !== "channel_discussion" || thread.channelId !== query.channelId) return unknown; - const itemKey = query.surface === "normal" ? `normal-conversation:${thread.id}:${query.idempotencyKey}` : query.idempotencyKey; + const itemKey = query.surface === "normal" ? normalConversationSubmissionKey(thread.id, query.idempotencyKey) : query.idempotencyKey; const item = store.getConversationItemByIdempotencyKey(thread.id, itemKey); const turn = item?.turnId ? store.getLingTurn(item.turnId) : undefined; if (!item || item.kind !== "user_message" || item.threadId !== thread.id || item.workspaceId !== thread.workspaceId diff --git a/packages/daemon/src/features/runs/concurrency.ts b/packages/daemon/src/features/runs/concurrency.ts index 9dc2cd5f1..326e35bc4 100644 --- a/packages/daemon/src/features/runs/concurrency.ts +++ b/packages/daemon/src/features/runs/concurrency.ts @@ -19,6 +19,7 @@ import { usesSideEffectTools } from "./approvals.js"; import type { RunRequest } from "./schemas.js"; import { createWorkflowSafetyAdmission } from "./workflow-safety.js"; import { assertWorkflowRepositoryRunAllowed } from "../workspaces/workflow-repository-fence.js"; +import { assertWorkItemConversationAdmission } from "../work-items/conversation-admission.js"; const RESOURCE_LEASE_TTL_MS = 6 * 60 * 60 * 1000; @@ -42,6 +43,7 @@ export function prepareRunConcurrency(input: { readonly now: string; }): PreparedRunConcurrency { assertWorkflowRepositoryRunAllowed(input.store, input.runRequest); + if (input.runRequest.threadId) assertWorkItemConversationAdmission(input.store, input.runRequest.threadId, input.runRequest.idempotencyKey); input.store.expireResourceLeases(input.now); const taskId = input.runRequest.task.id; diff --git a/packages/daemon/src/features/runs/orchestrator.ts b/packages/daemon/src/features/runs/orchestrator.ts index d95834a46..fbb59817f 100644 --- a/packages/daemon/src/features/runs/orchestrator.ts +++ b/packages/daemon/src/features/runs/orchestrator.ts @@ -115,7 +115,8 @@ import { transitionWorkUnitTerminal, } from "../../runtime/work-units.js"; import type { ControlPlaneEventHub } from "../control-plane/events.js"; -import { appendControlPlaneEvent } from "../control-plane/events.js"; +import { appendControlPlaneEvent, trimOversizedEvent } from "../control-plane/events.js"; +import type { WorkItemConversationBinding } from "@ling-stack/core"; import { CuaDriverComputerUseProjectionProducer } from "../computer-use/cua-driver-producer.js"; import { resolveEligibleCuaDriverProjectionServerIds } from "../computer-use/provider-eligibility.js"; import type { ComputerUseProjectionRegistry } from "../computer-use/registry.js"; @@ -4820,6 +4821,12 @@ export function appendRunCreatedControlPlaneEvent( if (!hub) { return; } + const binding = run.threadId + ? store.getAppServerState("work_item_thread", run.threadId)?.payload as WorkItemConversationBinding | undefined : undefined; + if (binding && store.getWorkItem(binding.workItemId)?.runId === run.id) { + const event = store.getControlPlaneEventByIdempotency(DEFAULT_WORKSPACE_ID, `work-item-dispatch:${binding.workItemId}`); + if (event) hub.publish(trimOversizedEvent(event)); + } appendControlPlaneEvent(store, hub, { workspaceId: DEFAULT_WORKSPACE_ID, cwd, diff --git a/packages/daemon/src/features/runs/thread-hard-delete-route.ts b/packages/daemon/src/features/runs/thread-hard-delete-route.ts index 925351038..00aceabc9 100644 --- a/packages/daemon/src/features/runs/thread-hard-delete-route.ts +++ b/packages/daemon/src/features/runs/thread-hard-delete-route.ts @@ -64,6 +64,10 @@ export async function handleLingThreadHardDelete( } writeJson(response, 200, { tombstone: result.tombstone }); } catch (error) { + if (error instanceof Error && ["thread_delete_preview_stale", "thread_work_item_dependency"].includes(error.message)) { + writeJson(response, 409, { error: error.message, message: "The conversation has a current Work Item dependency or its revision changed." }); + return; + } if (error instanceof NormalConversationForkSourceInUseError) { writeJson(response, 409, { error: error.code, message: error.message }); return; diff --git a/packages/daemon/src/features/work-items/conversation-admission.ts b/packages/daemon/src/features/work-items/conversation-admission.ts new file mode 100644 index 000000000..81e49091b --- /dev/null +++ b/packages/daemon/src/features/work-items/conversation-admission.ts @@ -0,0 +1,13 @@ +import type { RunStore } from "@ling-stack/core"; +import { HttpError } from "../../errors.js"; + +export function assertWorkItemConversationAdmission(store: RunStore, threadId: string, submissionKey: string | undefined): void { + try { + store.checkWorkItemConversationAdmission(threadId, submissionKey); + } catch (error) { + if (error instanceof Error && (error.message === "work_item_dispatch_held" || error.message === "work_item_dispatch_intent_required")) { + throw new HttpError(409, error.message, "The Work Item cannot admit this conversation execution."); + } + throw error; + } +} diff --git a/packages/daemon/src/index.ts b/packages/daemon/src/index.ts index fc5a26d1f..b1ec07096 100644 --- a/packages/daemon/src/index.ts +++ b/packages/daemon/src/index.ts @@ -115,6 +115,7 @@ import { } from "./runtime/work-units.js"; import { routeRequest } from "./server/router.js"; import { attachRpcWebSocketServer } from "./server/rpc.js"; +import { createAppServerWssListener } from "./server/app-server-wss.js"; import { CHROME_BROWSER_DEFAULT_EXTENSION_IDS, CHROME_BROWSER_PLUGIN_ID, @@ -278,6 +279,7 @@ export { export interface DaemonServer { readonly server: Server; + readonly appServerWss?: Pick; readonly config: ResolvedDaemonConfig; readonly extensionRegistry: LingExtensionRegistry; readonly startupState: StartupStateRegistry; @@ -1146,6 +1148,7 @@ export function createDaemonServer( activeRuns.trackCompletion(completion); }); const rpcWebSocketServer = attachRpcWebSocketServer(server, context); + const appServerWss = resolvedConfig.appServerWss ? createAppServerWssListener(resolvedConfig.appServerWss, context) : undefined; const chromeBrowserWebSocketServer = attachChromeBrowserWebSocketServer({ server, controller: chromeBrowserSessions, @@ -1168,6 +1171,7 @@ export function createDaemonServer( : undefined; let networkShutdown: Promise | undefined; + let appServerWssShutdown: Promise | undefined; let remoteAccessShutdown: Promise | undefined; let providerImportShutdown: Promise | undefined; const runShutdown = createRunShutdownCoordinator({ activeRuns, delegations: delegationRuntimeRegistry, @@ -1176,6 +1180,7 @@ export function createDaemonServer( stopExternalAdmission: () => { harnessShuttingDown = true; rpcWebSocketServer.beginShutdown(); + appServerWssShutdown = appServerWss?.beginShutdown(); learningReviewCoordinator?.beginShutdown(); for (const service of memorySemanticServices.values()) service.beginShutdown(); humanEvaluations.close(); @@ -1237,6 +1242,7 @@ export function createDaemonServer( learningReviewCoordinator?.drain() ?? Promise.resolve(), Promise.all([...memorySemanticServices.values()].map(service => service.drain())), runShutdown.shutdown("daemon_restart").then(() => networkShutdown), + appServerWssShutdown ?? Promise.resolve(), remoteAccessShutdown ?? Promise.resolve(), ]), }); @@ -1256,7 +1262,7 @@ export function createDaemonServer( await runShutdown.shutdown("daemon_restart"); } catch (error) { const failures = [error]; - for (const close of [() => controlPlaneEvents.closeAll(), () => rpcWebSocketServer.close(), + for (const close of [() => controlPlaneEvents.closeAll(), () => rpcWebSocketServer.close(), () => appServerWss?.close(), () => server.closeAllConnections()]) { try { close(); } catch (closeError) { failures.push(closeError); } } @@ -1274,6 +1280,7 @@ export function createDaemonServer( desktopBrowser.close(); chromeBrowserWebSocketServer.close(); rpcWebSocketServer.close(); + appServerWss?.close(); server.closeAllConnections(); }); }, @@ -1311,6 +1318,7 @@ export function createDaemonServer( const daemon: DaemonServer = { server, + ...(appServerWss ? { appServerWss: appServerWss.server } : {}), config: resolvedConfig, extensionRegistry, startupState, @@ -1368,6 +1376,7 @@ export function createDaemonServer( if (resolvedConfig.port !== 0) { await remoteAccess.startIfEnabled(); } + await appServerWss?.start(); startupOptionalWarmups.start(resolvedConfig.defaultWorkspaceCwd, storeRegistry.getStore(resolvedConfig.defaultWorkspaceCwd)); companionSchedulers?.start(resolvedConfig.defaultWorkspaceCwd); taskSupervisor.start(resolvedConfig.defaultWorkspaceCwd); diff --git a/packages/daemon/src/server/app-server-mcp.ts b/packages/daemon/src/server/app-server-mcp.ts index 4c4cccb1b..49a2e7e06 100644 --- a/packages/daemon/src/server/app-server-mcp.ts +++ b/packages/daemon/src/server/app-server-mcp.ts @@ -53,6 +53,20 @@ export async function runLingAppServerMcp( }), annotations: { idempotentHint: true }, }, async params => describe(await client.startTurn(params))); + server.registerTool("ling_work_item_create", { + description: "Submit a source occurrence to the Ling task inbox. Use a structured GitHub subject to join existing work.", + inputSchema: z.strictObject({ sourceId: objectId, title: z.string().min(1).max(200), idempotencyKey: requestKey, + gitHubSubject: z.strictObject({ repository: z.string().min(3).max(201), kind: z.enum(["issue", "pull_request"]), number: z.number().int().positive() }).optional(), + }), + annotations: { idempotentHint: true, destructiveHint: false }, + }, async params => describe(await client.createWorkItem(params))); + server.registerTool("ling_work_item_accept", { + description: "Accept a Work Item and give its primary execution to a Ling conversation. A retry uses the original dispatch.", + inputSchema: z.strictObject({ workItemId: objectId, expectedWorkItemRevision: z.number().int().positive(), idempotencyKey: requestKey, + dispatch: z.strictObject({ threadId: objectId, message: z.string().min(1).max(16_384), providerPresetId: objectId.optional() }).optional(), + }), + annotations: { idempotentHint: true }, + }, async params => describe(await client.acceptWorkItem(params))); server.registerTool("ling_turn_queue", { description: "Queue a follow-up for the active Ling Turn from ling_thread_snapshot. Retry with the same request key.", inputSchema: followupInput, diff --git a/packages/daemon/src/server/app-server-wss-config.ts b/packages/daemon/src/server/app-server-wss-config.ts new file mode 100644 index 000000000..995e4e337 --- /dev/null +++ b/packages/daemon/src/server/app-server-wss-config.ts @@ -0,0 +1,42 @@ +import { readFileSync } from "node:fs"; +import { isAbsolute } from "node:path"; + +export interface AppServerWssConfig { + readonly host: string; + readonly port: number; + readonly certificateFile: string; + readonly privateKeyFile: string; + readonly allowedHosts: readonly string[]; + readonly allowedOrigins?: readonly string[]; +} + +export function resolveAppServerWssConfig(configured: AppServerWssConfig | undefined): AppServerWssConfig | undefined { + const configPath = process.env.LING_STACK_APP_SERVER_WSS_CONFIG; + let config = configured; + if (config === undefined && configPath) { + try { config = JSON.parse(readFileSync(configPath, "utf8")); } + catch { throw new Error("The App Server WSS configuration file must contain valid JSON."); } + } + if (config === undefined) return undefined; + if (!config || typeof config.host !== "string" || !config.host.trim() + || !Number.isInteger(config.port) || config.port < 0 || config.port > 65535 + || typeof config.certificateFile !== "string" || !isAbsolute(config.certificateFile) + || typeof config.privateKeyFile !== "string" || !isAbsolute(config.privateKeyFile) + || !Array.isArray(config.allowedHosts) || !config.allowedHosts.length || config.allowedHosts.length > 32 + || config.allowedHosts.some(host => typeof host !== "string" || !isHostName(host)) + || config.allowedOrigins !== undefined && (!Array.isArray(config.allowedOrigins) || config.allowedOrigins.length > 32 + || config.allowedOrigins.some(origin => typeof origin !== "string" || !isHttpsOrigin(origin)))) { + throw new Error("App Server WSS requires a bind address, port, TLS files and allowed hosts."); + } + return { ...config, allowedHosts: config.allowedHosts.map(host => host.toLowerCase()), allowedOrigins: config.allowedOrigins ?? [] }; +} + +function isHostName(host: string): boolean { + try { return host.length <= 253 && new URL(`https://${host}`).hostname === host.toLowerCase(); } + catch { return false; } +} + +function isHttpsOrigin(origin: string): boolean { + try { return new URL(origin).protocol === "https:" && new URL(origin).origin === origin; } + catch { return false; } +} diff --git a/packages/daemon/src/server/app-server-wss.ts b/packages/daemon/src/server/app-server-wss.ts new file mode 100644 index 000000000..8aa584a52 --- /dev/null +++ b/packages/daemon/src/server/app-server-wss.ts @@ -0,0 +1,51 @@ +import { readFileSync } from "node:fs"; +import { createServer } from "node:https"; +import type { IncomingMessage } from "node:http"; +import type { AppServerWssConfig } from "./app-server-wss-config.js"; +import type { DaemonContext } from "../context.js"; +import { attachRpcWebSocketServer } from "./rpc.js"; + +export function createAppServerWssListener(config: AppServerWssConfig, context: DaemonContext) { + const server = createServer({ + key: readFileSync(config.privateKeyFile), cert: readFileSync(config.certificateFile), minVersion: "TLSv1.2", + }, (_request, response) => { + response.writeHead(404, { "Content-Type": "text/plain; charset=utf-8" }); + response.end("App Server WebSocket upgrade required."); + }); + const allowedHosts = new Set(config.allowedHosts); + const allowedOrigins = new Set(config.allowedOrigins); + const permitsUpgrade = (request: IncomingMessage): boolean => { + if (!request.headers.host || request.headers.origin !== undefined && !allowedOrigins.has(request.headers.origin)) return false; + try { + const host = new URL(`https://${request.headers.host}`); + return allowedHosts.has(host.hostname) && !host.username && !host.password && host.pathname === "/" && !host.search && !host.hash; + } catch { return false; } + }; + const rpc = attachRpcWebSocketServer(server, context, { permitsRemoteUpgrade: permitsUpgrade }); + let shutdown: Promise | undefined; + return { + server, + async start() { + await new Promise((resolve, reject) => { + server.once("error", reject); + server.listen(config.port, config.host, () => { + server.off("error", reject); + resolve(); + }); + }); + }, + beginShutdown() { + rpc.beginShutdown(); + shutdown ??= new Promise((resolve, reject) => { + if (!server.listening) resolve(); + else server.close(error => error ? reject(error) : resolve()); + }); + void shutdown.catch(() => undefined); + return shutdown; + }, + close() { + rpc.close(); + server.closeAllConnections(); + }, + }; +} diff --git a/packages/daemon/src/server/rpc.ts b/packages/daemon/src/server/rpc.ts index 698480471..106a85e4f 100644 --- a/packages/daemon/src/server/rpc.ts +++ b/packages/daemon/src/server/rpc.ts @@ -1,4 +1,4 @@ -import type { Server } from "node:http"; +import type { IncomingMessage, Server } from "node:http"; import type { Duplex } from "node:stream"; import { createHash, randomUUID } from "node:crypto"; import { realpathSync } from "node:fs"; @@ -36,6 +36,8 @@ import { type LingAppServerThreadSnapshotResult, type LingAppServerTurnResumeResult, type LingAppServerWorkItemControlResult, + type LingAppServerWorkItemAcceptResult, + type LingAppServerWorkItemConversationDispatch, type LingAppServerWorkItemReadResult, type LingAppServerWorkItemResult, } from "@ling-stack/contracts"; @@ -94,6 +96,7 @@ import { } from "./app-server-authorization.js"; import { gitHubReadClient, gitHubWorkItemTargetKey, parseGitHubSubjectParams, readAppServerGitHubSubject } from "./app-server-github-subject.js"; import { readGitHubDelivery, reconcileGitHubDelivery } from "./app-server-github-delivery.js"; +import { assertWorkItemConversationAdmission } from "../features/work-items/conversation-admission.js"; import { ExternalAgentFederationService, externalAgentRpcError, @@ -154,6 +157,7 @@ const UNIMPLEMENTED_APP_SERVER_METHODS = new Set([ "model/list", "skill/read", "permissionProfile/list", ]); const activeExternalDispatches = new WeakMap>(); +const appServerConnectionsByContext = new WeakMap>(); const operatorMethods = new Set([ "approval/respond", "input/respond", "verify/start", "verify/cancel", "review/start", "review/finding/update", "simplify/start", "simplify/status", "runs.start", "runs.cancel", "turn/queue", "turn/interrupt", @@ -163,17 +167,30 @@ const operatorMethods = new Set([ "thread/fork", "handoff/create", "handoff/resume", "server/grants/create", "server/grants/list", "server/grants/revoke", "github/subject/read", "github/delivery/reconcile", "workItem/delivery/read", "delivery/read", + "workItem/accept", ]); const IMPLEMENTED_APP_SERVER_METHODS = LING_APP_SERVER_METHODS.filter(method => !UNIMPLEMENTED_APP_SERVER_METHODS.has(method)); const appServerMethods = new Set([...IMPLEMENTED_APP_SERVER_METHODS, "runs.start", "runs.cancel", "turn/steer"]); -export function attachRpcWebSocketServer(server: Server, context: DaemonContext): RpcWebSocketServerHandle { +export function attachRpcWebSocketServer( + server: Pick, context: DaemonContext, + options: { readonly permitsRemoteUpgrade?: (request: IncomingMessage) => boolean } = {}, +): RpcWebSocketServerHandle { const wss = new WebSocketServer({ noServer: true, maxPayload: 1024 * 1024 }); const appServerConnections = new Set(); + const daemonConnections = appServerConnectionsByContext.get(context) ?? new Set(); + appServerConnectionsByContext.set(context, daemonConnections); + const remote = Boolean(options.permitsRemoteUpgrade); let closed = false; let draining = false; const handleUpgrade: Parameters[1] = (request, socket, head) => { - const url = new URL(request.url ?? "/", `http://${request.headers.host ?? `${context.config.host}:${context.config.port}`}`); + let url: URL; + try { url = new URL(request.url ?? "/", "http://localhost"); } + catch { rejectUpgrade(socket, 400, "Invalid WebSocket request path."); return; } const appServer = url.pathname === APP_SERVER_RPC_PATH; + if (remote && !appServer) { + rejectUpgrade(socket, 404, "The remote listener exposes only App Server RPC."); + return; + } if (url.pathname !== "/rpc/stream" && !appServer) { return; } @@ -181,7 +198,7 @@ export function attachRpcWebSocketServer(server: Server, context: DaemonContext) rejectUpgrade(socket, 503, "App Server is draining."); return; } - if (!context.config.transports.localWebSocketRpc) { + if (!remote && !context.config.transports.localWebSocketRpc) { rejectUpgrade(socket, 404, "WebSocket RPC transport is disabled"); return; } @@ -189,12 +206,17 @@ export function attachRpcWebSocketServer(server: Server, context: DaemonContext) const daemonAuthorized = daemonRequestIsAuthorized(context.config.authToken, authorization); const scopedBearer = appServer && typeof authorization === "string" && authorization.startsWith(appServerGrantBearerPrefix) && !(context.config.authToken && daemonAuthorized); - if (!daemonAuthorized && !scopedBearer) { - rejectUpgrade(socket, 401, "A valid bearer token is required for WebSocket RPC access."); + if (remote && !options.permitsRemoteUpgrade?.(request) + || appServer && !remote && (!isDirectLoopbackRequest(request) || !isAllowedLocalOrigin(request.headers.origin))) { + rejectUpgrade(socket, 403, "The App Server listener does not permit this host or origin."); return; } - if (appServer && !scopedBearer && !context.config.authToken && (!isDirectLoopbackRequest(request) || !isAllowedLocalOrigin(request.headers.origin))) { - rejectUpgrade(socket, 403, "WebSocket RPC access requires a direct loopback Ling page or bearer token."); + if (remote && !scopedBearer) { + rejectUpgrade(socket, 401, "Remote App Server access requires a scoped grant."); + return; + } + if (!daemonAuthorized && !scopedBearer) { + rejectUpgrade(socket, 401, "A valid bearer token is required for WebSocket RPC access."); return; } const cwd = url.searchParams.get("cwd"); @@ -227,11 +249,15 @@ export function attachRpcWebSocketServer(server: Server, context: DaemonContext) wss.handleUpgrade(request, socket, head, (ws) => { const connection = new RpcConnection(ws, workspaceCwd, context, appServer, Boolean(context.config.authToken && daemonAuthorized), () => draining, grant, (cwd, id) => { - for (const peer of appServerConnections) peer.invalidateGrant(cwd, id); + for (const peer of daemonConnections) peer.invalidateGrant(cwd, id); }); if (appServer) { appServerConnections.add(connection); - ws.once("close", () => appServerConnections.delete(connection)); + daemonConnections.add(connection); + ws.once("close", () => { + appServerConnections.delete(connection); + daemonConnections.delete(connection); + }); } connection.start(); }); @@ -927,7 +953,7 @@ class RpcConnection { } } - private acceptWorkItem(params: unknown): unknown { + private async acceptWorkItem(params: unknown): Promise { const record = this.workspaceParams(params); const { cwd } = record; const workItemId = readStringField(record, "workItemId"); @@ -937,6 +963,7 @@ class RpcConnection { expectedRevision: readIntegerField(record, "expectedWorkItemRevision", "expectedRevision"), actorId: readOptionalStringField(record, "actorId") ?? "local-user", idempotencyKey: readStringField(record, "idempotencyKey"), + dispatch: readOptionalWorkItemConversationDispatch(record.dispatch), }; let result; try { @@ -948,12 +975,41 @@ class RpcConnection { if (error instanceof Error && error.message === "work_item_acceptance_already_committed") { throw rpcError(-32030, "stale_revision", "The Work Item already has an accepted dispatch."); } + if (error instanceof Error && error.message === "work_item_dispatch_thread_unavailable") { + throw rpcError(-32040, "workspace_binding_invalid", "The selected conversation is unavailable for first dispatch."); + } throw error; } if (!result) throw rpcError(-32030, "stale_revision", "The Work Item is no longer eligible for acceptance at this revision."); const { workItem, receipt, replayed, event } = result; if (event) this.context.controlPlaneEvents.publish(trimOversizedEvent(event)); - return { cwd, accepted: true, workItem: projectWorkItemSnapshot(workItem), acceptance: receipt, replayed }; + const { dispatch, ...acceptance } = receipt; + const started = dispatch ? await this.dispatchAcceptedWorkItem(store, cwd, workItem, dispatch) : undefined; + return { + cwd, accepted: true, workItem: projectWorkItemSnapshot(store.getWorkItem(workItemId) ?? workItem), acceptance, replayed, + ...(started ? { dispatch: started } : {}), + }; + } + + private async dispatchAcceptedWorkItem( + store: RunStore, cwd: string, workItem: WorkItem, + intent: LingAppServerWorkItemConversationDispatch & { readonly submissionKey: string }, + ): Promise> { + const { threadId, submissionKey, providerPresetId, message } = intent; + const identity = { threadId, submissionKey }; + const thread = store.getLingThread(threadId); + if (workItem.runId) return { ...identity, status: "admitted", runId: workItem.runId }; + if (!thread) return { ...identity, status: "held", blocker: "work_item_dispatch_thread_unavailable" }; + try { + await this.startConversationTurn({ threadId, providerPresetId, idempotencyKey: submissionKey }, thread, cwd, message); + } catch (error) { + const blocker = normalizeRpcError(error).code; + const runId = store.getWorkItem(workItem.id)?.runId; + if (runId) return { ...identity, status: "admitted", runId }; + return { ...identity, status: blocker === "work_item_dispatch_held" ? "held" : "pending", blocker }; + } + const runId = store.getWorkItem(workItem.id)?.runId; + return runId ? { ...identity, status: "admitted", runId } : { ...identity, status: "pending" }; } private clarifyWorkItem(params: unknown): unknown { @@ -1446,6 +1502,8 @@ class RpcConnection { const turns = store.listLingTurns({ threadId, limit: 500 }); const goal = store.getLingThreadGoal(threadId); const plans = store.listProposedPlanArtifacts({ threadId, limit: 200 }); + const workItemIds = store.listLingThreadWorkItemDependencies(threadId); + if (workItemIds.length) blockers.push("current Work Item depends on thread"); if (goal && ["active", "paused", "blocked", "usage_limited", "budget_limited"].includes(goal.status)) blockers.push("active goal depends on thread"); if (plans.some((plan) => plan.status === "accepted")) blockers.push("accepted plan depends on thread"); return { @@ -1454,7 +1512,7 @@ class RpcConnection { revision: thread.updatedAt, allowed: blockers.length === 0, blockers, - dependencies: { turnCount: turns.length, goalId: goal?.id, planIds: plans.filter((plan) => plan.status === "accepted").map((plan) => plan.id) }, + dependencies: { turnCount: turns.length, goalId: goal?.id, planIds: plans.filter((plan) => plan.status === "accepted").map((plan) => plan.id), workItemIds }, }; } @@ -1468,7 +1526,10 @@ class RpcConnection { readonly blockers: readonly string[]; }; if (!preview.allowed) throw rpcError(-32061, "resume_blocked", `Thread deletion is blocked: ${preview.blockers.join("; ")}`); - const result = store.hardDeleteLingThread(threadId, { reason: readOptionalStringField(record, "reason") }, new Date().toISOString()); + const result = store.hardDeleteLingThread(threadId, { + reason: readOptionalStringField(record, "reason"), + expectedThreadRevision: readOptionalStringField(record, "expectedRevision"), + }, new Date().toISOString()); if (!result) throw rpcError(-32040, "workspace_binding_invalid", `Thread was not found: ${threadId}`); appendControlPlaneEvent(store, this.context.controlPlaneEvents, { workspaceId: DEFAULT_WORKSPACE_ID, @@ -1775,6 +1836,7 @@ class RpcConnection { } return { cwd, thread: projectPublicLingThread(thread), turn: projectPublicLingTurn(prior, thread), replayed: true }; } + assertWorkItemConversationAdmission(store, threadId, undefined); const turn = store.createLingTurn({ id: turnId, threadId, @@ -2018,7 +2080,8 @@ class RpcConnection { if (!workItem) { throw rpcError(-32040, "workspace_binding_invalid", `Work Item was not found: ${workItemId}`); } - return { cwd, workItem: projectWorkItemSnapshot(workItem), cursor: scope.issue(store.getLatestControlPlaneEventSeq(DEFAULT_WORKSPACE_ID)) }; + return { cwd, workItem: projectWorkItemSnapshot(workItem, this.grant?.subject.kind !== "workItem"), + cursor: scope.issue(store.getLatestControlPlaneEventSeq(DEFAULT_WORKSPACE_ID)) }; }); } @@ -2047,7 +2110,7 @@ class RpcConnection { throw rpcError(-32061, "resume_blocked", `Work Item cannot accept ${action} while control state is ${result.workItem.control.state}.`); case "applied": case "replayed": { - const workItem = projectWorkItemSnapshot(result.workItem); + const workItem = projectWorkItemSnapshot(result.workItem, this.grant?.subject.kind !== "workItem"); if (result.event) { this.context.controlPlaneEvents.publish(trimOversizedEvent(result.event)); this.send({ jsonrpc: "2.0", method: "workItem/control/updated", params: { @@ -2523,14 +2586,14 @@ function parseJsonRpcRequest(data: RawData): JsonRpcRequest | undefined { } } -function projectWorkItemSnapshot(workItem: WorkItem) { - const currentExecutionRefs = [ +function projectWorkItemSnapshot(workItem: WorkItem, includeExecutionRefs = true) { + const currentExecutionRefs = includeExecutionRefs ? [ workItem.taskId, workItem.runId, workItem.workflowId, workItem.workflowStepId, workItem.approvalId, - ].filter((value): value is string => typeof value === "string" && value.length > 0); + ].filter((value): value is string => typeof value === "string" && value.length > 0) : []; return { workspaceId: workItem.workspaceId, workItemId: workItem.id, @@ -2704,6 +2767,16 @@ function readOptionalStringField(record: Record, key: string): return value; } +function readOptionalWorkItemConversationDispatch(value: unknown): LingAppServerWorkItemConversationDispatch | undefined { + if (value === undefined) return undefined; + const record = readParamsRecord(value); + const threadId = readStringField(record, "threadId"); + const message = readStringField(record, "message"); + if (!message.trim() || message.length > 16_384) throw rpcError(-32602, "invalid_params", "dispatch.message must be 1–16384 characters."); + const providerPresetId = readOptionalStringField(record, "providerPresetId"); + return { threadId, message, ...(providerPresetId ? { providerPresetId } : {}) }; +} + function rpcError(jsonRpcCode: number, code: string, message: string): Error & { readonly jsonRpcCode: number; readonly code: string } { return Object.assign(new Error(message), { jsonRpcCode, code }); } @@ -2753,6 +2826,12 @@ function normalizeRpcError(error: unknown): { readonly jsonRpcCode: number; read if (error instanceof Error && error.message === "work_item_evidence_idempotency_conflict") { return { jsonRpcCode: -32031, code: "idempotency_conflict", message: "The evidence key was reused with different input." }; } + if (error instanceof Error && error.message === "thread_delete_preview_stale") { + return { jsonRpcCode: -32030, code: "stale_revision", message: "The Thread changed after the deletion preview." }; + } + if (error instanceof Error && error.message === "thread_work_item_dependency") { + return { jsonRpcCode: -32061, code: "resume_blocked", message: "The Thread has a current Work Item dependency." }; + } if (error instanceof Error && /^goal_(acceptance|completion|supervision)_/u.test(error.message)) { return { jsonRpcCode: -32061, code: error.message, message: error.message }; } @@ -2886,6 +2965,7 @@ function appServerEventMethod(event: ControlPlaneEvent): string | undefined { } if (event.entityType === "work_item") { if (event.action === "work_item.created") return "workItem/created"; + if (event.action === "work_item.thread.linked") return "workItem/thread/linked"; if (event.action.includes("evidence")) return "workItem/evidence/updated"; if (event.action.includes("control")) return "workItem/control/updated"; if (event.action.includes("collaboration")) return "workItem/collaboration/updated"; diff --git a/packages/daemon/test/app-server-release-acceptance.test.ts b/packages/daemon/test/app-server-release-acceptance.test.ts index 8ad90a398..8b59a10fd 100644 --- a/packages/daemon/test/app-server-release-acceptance.test.ts +++ b/packages/daemon/test/app-server-release-acceptance.test.ts @@ -32,6 +32,7 @@ import type { LingAppServerVerifyPlanResult, LingAppServerVerifyStatusResult, LingAppServerWorkItemCollaborationAppendResult, + LingAppServerWorkItemAcceptResult, LingAppServerWorkItemControlResult, LingAppServerWorkItemReadResult, LingAppServerWorkItemResult, @@ -1071,6 +1072,66 @@ test("authorized GitHub occurrences converge on one Work Item and retain their o assert.equal(fixture.getStore().listWorkItems().length, 1); }); +test("a reserved Work Item dispatch recovers once through the conversation owner and obeys pause and deletion fences", { timeout: 25_000 }, async t => { + const provider = await startLoopbackPiProvider(() => ({ text: "First assignment complete." })); + t.after(() => provider.close()); + const fixture = await releaseFixture(t); + const first = await fixture.connect(); + const { thread } = await first.call("thread/start", { title: "Primary assignment" }); + const { thread: alternate } = await first.call("thread/start", { title: "Competing assignment" }); + const { workItem } = await first.call("workItem/create", { sourceId: "dispatch", title: "Accept one assignment" }); + const store = fixture.getStore(); + const preset = addLoopbackPreset(store, provider.baseUrl); + const dispatch = { threadId: thread.id, message: "Inspect primary assignment", providerPresetId: preset.id }; + const input = { workItemId: workItem.workItemId, expectedWorkItemRevision: Number(workItem.revision), + actorId: "local-user", idempotencyKey: "accept-primary", dispatch }; + const before = await first.call("workItem/read", { workItemId: workItem.workItemId }); + const reserved = store.acceptWorkItem(workItem.workItemId, { + expectedRevision: input.expectedWorkItemRevision, actorId: input.actorId, idempotencyKey: input.idempotencyKey, dispatch, + }, new Date().toISOString()); + assert.ok(reserved?.receipt.dispatch); + assert.equal(store.listRuns({ threadId: thread.id }).length, 0); + await assert.rejects(first.call("turn/start", { ...dispatch, idempotencyKey: "different-execution" }), { code: "work_item_dispatch_intent_required" }); + const pause = await first.call("workItem/pause", { + workItemId: workItem.workItemId, expectedWorkItemRevision: reserved.workItem.revision, expectedControlGeneration: 0, + idempotencyKey: "pause-primary", actorId: "local-user", + }); + const held = await first.call("workItem/accept", input); + assert.equal(held.dispatch?.status, "held"); + assert.equal(held.acceptance.id, reserved.receipt.id); + assert.equal(provider.requests.length, 0); + await fixture.restart(); + const [restored, peer] = await Promise.all([fixture.connect(), fixture.connect()]); + await peer.call("workItem/subscribe", { workItemId: workItem.workItemId, cursor: before.cursor }); + await waitFor(() => peer.notices.find(value => value.method === "workItem/thread/linked")); + await restored.call("workItem/resume", { + workItemId: workItem.workItemId, expectedWorkItemRevision: Number(pause.workItem.revision), expectedControlGeneration: 1, + idempotencyKey: "resume-primary", actorId: "local-user", + }); + const [primary, competing] = await Promise.all([ + restored.call("workItem/accept", input), + peer.call("workItem/accept", { + ...input, idempotencyKey: "accept-competing", dispatch: { ...dispatch, threadId: alternate.id }, + }), + ]); + assert.deepEqual(primary.acceptance, competing.acceptance); + assert.equal(primary.acceptance.id, reserved.receipt.id); + const runId = primary.dispatch?.runId; + assert.ok(runId, `Expected an admitted primary run, got ${primary.dispatch?.status}: ${primary.dispatch?.blocker}`); + assert.deepEqual(competing.dispatch, primary.dispatch); + await waitFor(() => fixture.getStore().getRun(runId)?.status === "succeeded" ? true : undefined); + await waitFor(() => peer.notices.find(value => value.params?.event?.action === "work_item.dispatch.admitted")); + assert.equal(provider.requests.length, 1); + assert.equal(fixture.getStore().listRuns({ threadId: thread.id }).length, 1); + assert.equal(fixture.getStore().listRuns({ threadId: alternate.id }).length, 0); + assert.equal(fixture.getStore().getWorkItem(workItem.workItemId)?.runId, runId); + await restored.call("thread/archive", { threadId: thread.id }); + const preview = await restored.call<{ allowed: boolean; dependencies: { workItemIds: string[] } }>("thread/delete/preview", { threadId: thread.id }); + assert.equal(preview.allowed, false); + assert.deepEqual(preview.dependencies.workItemIds, [workItem.workItemId]); + assert.throws(() => fixture.getStore().hardDeleteLingThread(thread.id, {}, new Date().toISOString()), /thread_work_item_dependency/u); +}); + test("GitHub delivery keeps head checks across base changes and completes a Goal only with current trusted merge evidence", { timeout: 30_000 }, async t => { const originalBase = "b".repeat(40); const newBase = "c".repeat(40); @@ -1524,6 +1585,74 @@ test("App Server grants restrict observers, controllers and approvers to their s await assert.rejects(fixture.connect("/rpc/stream", fixture.cwd, control.bearer), /401/u); }); +test("the dedicated TLS App Server accepts scoped controllers and revokes access across listeners", { timeout: 30_000 }, async t => { + const fixture = await releaseFixture(t, { + wssConfig: async root => { + const certificateFile = join(root, "certificate.pem"); + const privateKeyFile = join(root, "private-key.pem"); + const opensslConfig = join(root, "tls.cnf"); + await writeFile(opensslConfig, [ + "[req]", "prompt=no", "distinguished_name=dn", "x509_extensions=extensions", "[dn]", "CN=127.0.0.1", + "[extensions]", "subjectAltName=IP:127.0.0.1", "basicConstraints=critical,CA:TRUE", + ].join("\n")); + execFileSync("openssl", ["req", "-x509", "-nodes", "-newkey", "rsa:2048", "-days", "1", "-config", opensslConfig, + "-keyout", privateKeyFile, "-out", certificateFile], { stdio: "ignore" }); + return { certificateFile, privateKeyFile, host: "127.0.0.1", port: 0, allowedHosts: ["127.0.0.1"] }; + }, + }); + const host = await fixture.connect(); + const { thread } = await host.call("thread/start", { title: "Remote authorized task" }); + const { thread: other } = await host.call("thread/start", { title: "Unrelated task" }); + const secret = createHash("sha256").update(randomUUID()).digest("hex"); + const { grant } = await host.call<{ grant: LingAppServerGrant }>("server/grants/create", { + label: "Remote controller", scopes: ["observe", "control"], subject: { kind: "thread", id: thread.id }, + expiresAt: new Date(Date.now() + 60_000).toISOString(), idempotencyKey: "remote-grant", + credentialSha256: createHash("sha256").update(secret).digest("hex"), + }); + const credential = `las1.${grant.grantId}.${secret}`; + const url = new URL(fixture.wssUrl()); + url.pathname = "/app-server/rpc"; + url.searchParams.set("cwd", fixture.cwd); + const ca = await readFile(join(fixture.root, "certificate.pem")); + const open = (credential: string | undefined, options: { host?: string; origin?: string; trust?: boolean } = {}) => once(new WebSocket(url, { + ca: options.trust === false ? undefined : ca, + headers: { ...(credential ? { Authorization: `Bearer ${credential}` } : {}), + ...(options.host ? { Host: options.host } : {}), ...(options.origin ? { Origin: options.origin } : {}) }, + }), "open"); + await assert.rejects(open(undefined), /401/u); + await assert.rejects(open(fixture.transportOptions().authToken), /401/u); + await assert.rejects(open(credential, { host: "unapproved.example.test" }), /403/u); + await assert.rejects(open(credential, { origin: "https://unapproved.example.test" }), /403/u); + await assert.rejects(open(credential, { trust: false }), /certificate/u); + const legacy = new URL(url); + legacy.pathname = "/rpc/stream"; + await assert.rejects(once(new WebSocket(legacy, { ca, headers: { Authorization: `Bearer ${credential}` } }), "open"), /404/u); + + let socket: WebSocket | undefined; + const client = new LingAppServerClient({ + url: url.href, clientInfo: { name: "remote-contract-test", version: "1" }, autoReconnect: false, + createSocket: address => { + socket = new WebSocket(address, { ca, headers: { Authorization: `Bearer ${credential}` } }); + return socket as unknown as LingAppServerSocket; + }, + }); + t.after(() => client.close()); + const notifications: string[] = []; + client.onNotification(notification => notifications.push(notification.method)); + const remote = await client.connect(); + assert.deepEqual(remote.effectiveScopes, ["control", "observe"]); + await client.subscribe({ threadId: thread.id }); + await assert.rejects(client.readThread(other.id), { code: "capability_denied" }); + const action = await client.startTurn({ threadId: thread.id, turnId: "wss-turn", message: "Record a remote control input." }) as { turn: { id: string } }; + assert.equal(action.turn.id, "wss-turn"); + await waitFor(() => notifications.includes("turn/started") ? true : undefined); + assert.ok(socket); + const closed = once(socket, "close"); + await host.call("server/grants/revoke", { grantId: grant.grantId, expectedRevision: grant.revision }); + await closed; + await assert.rejects(open(credential), /401/u); +}); + test("stdio and the private Unix socket deliver the same App Server Thread events", { timeout: 20_000 }, async t => { const fixture = await releaseFixture(t); const options = fixture.transportOptions(); @@ -1881,7 +2010,7 @@ type ReleaseRuntime = { const candidateRuntime: ReleaseRuntime = { createDaemonServer, createSqliteRunStore, resolveStoragePaths }; async function releaseFixture(t: TestContext, { - runner, initialRuntime = candidateRuntime, harness, requireAuth = true, verificationRecipes, githubSources, externalWorkFetch, + runner, initialRuntime = candidateRuntime, harness, requireAuth = true, verificationRecipes, githubSources, externalWorkFetch, wssConfig, }: { runner?: RunnerRegistrationInput; initialRuntime?: ReleaseRuntime; @@ -1890,12 +2019,14 @@ async function releaseFixture(t: TestContext, { verificationRecipes?: (root: string, cwd: string) => Promise; githubSources?: (cwd: string) => DaemonConfig["appServerGitHubSources"]; externalWorkFetch?: typeof fetch; + wssConfig?: (root: string) => Promise; } = {}) { const root = await realpath(await mkdtemp(join(tmpdir(), "ling-as-"))); const cwd = join(root, "workspace"); await mkdir(cwd); const appServerVerificationRecipes = await verificationRecipes?.(root, cwd); const appServerGitHubSources = githubSources?.(cwd); + const appServerWss = await wssConfig?.(root); let authToken = randomUUID(); const priorLingHome = process.env.LING_STACK_HOME; process.env.LING_STACK_HOME = join(root, "fixture-home"); @@ -1903,7 +2034,7 @@ async function releaseFixture(t: TestContext, { const clients = new Set(); const makeDaemon = (runtime: ReleaseRuntime) => runtime.createDaemonServer({ host: "127.0.0.1", port: 0, defaultWorkspaceCwd: cwd, authToken: requireAuth ? authToken : undefined, harness, - appServerVerificationRecipes, appServerGitHubSources, + appServerVerificationRecipes, appServerGitHubSources, appServerWss, }, { ...(runner ? { runnerRegistry: createRunnerRegistry([runner]) } : {}), chromeBrowserNativeMessagingEnabled: false, @@ -1939,6 +2070,11 @@ async function releaseFixture(t: TestContext, { assert.ok(address && typeof address === "object"); return { daemonUrl: `http://127.0.0.1:${address.port}`, cwd, authToken }; }, + wssUrl() { + const address = daemon.appServerWss?.address(); + assert.ok(address && typeof address === "object"); + return `wss://127.0.0.1:${address.port}`; + }, getStore() { const store = stores.get(cwd); assert.ok(store); From 099fde6d5bb9bbfb5b02757bfe961283f529ccec Mon Sep 17 00:00:00 2001 From: tianxiaochannel-oss88 Date: Sun, 22 Nov 2026 14:58:46 +0800 Subject: [PATCH 006/147] feat(work-items): schedule durable coordination rounds --- ...g-agent-operating-model-detailed-design.md | 2 + .../ling-app-server-implementation-plan.md | 5 +- packages/api-client/src/app-server.ts | 12 + packages/contracts/src/app-server.ts | 30 +++ packages/contracts/src/automations.ts | 1 + packages/core/src/app-server-state-types.ts | 3 +- packages/core/src/automation-types.ts | 1 + packages/core/src/run-types.ts | 7 + packages/core/src/storage/sqlite-run-store.ts | 41 +++- .../sqlite/scheduled-coordination-store.ts | 212 ++++++++++++++++++ .../sqlite/work-item-evidence-store.ts | 185 +++++++-------- .../daemon/src/features/automations/routes.ts | 1 + .../daemon/src/features/automations/run.ts | 23 +- .../src/features/automations/scheduler.ts | 64 +++++- packages/daemon/src/server/rpc.ts | 42 ++++ .../test/app-server-development-rpc.test.mjs | 113 ---------- .../test/app-server-development-rpc.test.ts | 100 +++++++++ .../app-server-release-acceptance.test.ts | 84 +++++++ scripts/ci/daemon-test-platforms.json | 2 +- 19 files changed, 713 insertions(+), 215 deletions(-) create mode 100644 packages/core/src/storage/sqlite/scheduled-coordination-store.ts delete mode 100644 packages/daemon/test/app-server-development-rpc.test.mjs create mode 100644 packages/daemon/test/app-server-development-rpc.test.ts diff --git a/docs/design/ling-agent-operating-model-detailed-design.md b/docs/design/ling-agent-operating-model-detailed-design.md index e7a49ab4f..15522536b 100644 --- a/docs/design/ling-agent-operating-model-detailed-design.md +++ b/docs/design/ling-agent-operating-model-detailed-design.md @@ -591,6 +591,8 @@ Reuse the existing recurrence, time zone and missed-run calculation. The occurre This action writes a terminal occurrence directly. Agent participation, when authorized, is admitted independently through the existing Workflow and Runtime paths. A user-triggered Run now uses the same atomic action and the existing manual Automation receipt key. Schedule advancement follows the committed scheduled occurrence. If the process stops before commit, any remaining due slot follows the existing `skip` or `run_one` policy for unadmitted occurrences. If it stops after commit, a repeat tick sees the original terminal receipt and startup reopens the existing round projection and restores its deadline. An already expired open round uses the ordinary close or invalidation path. Transport replay consumes the committed event and its existing identity. [Automation scheduler](../../packages/daemon/src/features/automations/scheduler.ts) · [AutomationRun store](../../packages/core/src/storage/sqlite/automation-store.ts) · [Transactional Control Plane append](../../packages/core/src/storage/sqlite/control-plane-store.ts) +The implementation stores the schedule binding, occurrence receipt, open round and close brief in the same workspace SQLite store. A timer restart reads the round deadline rather than generating a new Run. A paused Work Item commits a typed `skipped` occurrence. Closing a round appends a brief and terminal coordination record atomically, and a changed Work Item control generation produces an `inputs_changed` close reason. + ## 6. External Agent Federation Protocol External Agents use the Ling App Server protocol or a runner adapter. The federation facade adds Work Item identity and capability mapping. diff --git a/docs/design/ling-app-server-implementation-plan.md b/docs/design/ling-app-server-implementation-plan.md index 0fb7b5279..2a339efa2 100644 --- a/docs/design/ling-app-server-implementation-plan.md +++ b/docs/design/ling-app-server-implementation-plan.md @@ -36,7 +36,8 @@ | E1 Verify 与用户输入恢复 | Verify 按幂等键在 SQLite 写事务内受理。两个连接同时提交复用原操作及其事件。取消受理与停止意图一起写入,重启后可按原键读取回执。`verify/status` 记录确认退出后的 `cancelled`。执行器无法确认停止时,返回 `unknown` 并附 `verification_cancellation_unconfirmed`。已绑定工作项的 Verify 状态和 Control Plane 事件同事务提交。用户提问的 authority、答案 CAS、投递收据和 `pending/answered/cancelled` 事件也在重启后保持同一请求身份。 | | E2 交付前验收 | App Server 与 HTTP 使用同一套 Goal 验收解析和证据检查。实际 Pi Run 通过后,可用同 Thread 证据完成 Goal。Verify 结果用绑定当前候选的 `verification_passed` 条件完成 Goal,独立 verifier basis、coverage 和 producer refs 不匹配时会被拒绝。Review 已验证候选绑定、发现项处置和 freshness 持久化。`simplify/start` 与 `simplify/status` 支持只读简化审查及重启重放。`github_delivered` 要求当前已提交候选、同 Thread 与 Work Item、已接受的检查政策和 Host 重新核对的实际合并结果。 | | O4 GitHub 证据核对 | 配置注册仓库、不可变仓库 ID 与分支政策。对已受理工作项重读 PR、实时 base ref、集成提交父链、检查 App、冻结的 workflow 文件、实际测试对象和最新 attempt。夹具覆盖同名异源检查、工作流改动、保持 head 更新 base、迟到尝试和合并后重新核对。工作项保留以前的观察和稳定交付 ID。GitHub merge queue 与实际仓库合并保护仍需验收。 | -| O1/O8/O9 接单、控制和协作 | App Server 按来源标识创建或取得现有工作项。工作项创建、控制、接单、证据和协作写入各自与对应的事件同事务提交。控制回执在后继操作和 Daemon 重启后可按原请求找回。两个客户端验证了幂等、冲突错误、事件写入失败回滚和游标回放。阶段运行、定时轮次、交接、裁决与恢复的联合验收仍待下方矩阵。 | +| O1/O8/O9 接单、控制和协作 | 工作项创建、控制、接单、证据和协作写入各自与对应事件同事务提交。两个客户端验证了幂等、冲突、写入失败回滚和游标回放。阶段运行、交接、裁决与恢复的联合验收仍待下方矩阵。 | +| O7 定时协调轮次 | 已配置的 Automation 在同一事务中写入终态回执、轮次和事件。实际调度器从重启前的时段恢复。故障注入验证提交失败不会留下回执或轮次。回执重放复用原轮次。截止后生成简报和关闭事件,暂停的工作项产生跳过回执。该用例启动的 Runner 数量为零。 | | O1 首次会话派发 | `workItem/accept` 可选定主执行会话,接单和首发意图同事务保存。正常会话 Run 创建核对该意图并原子更新 Work Item。脚本化 Pi Provider 验证了重启、两个并发受理、暂停恢复、实际派发一次,以及当前绑定阻止删除会话。Codex MCP 已提供同一创建和受理入口。 | 源码兼容用例由 `LING_APP_SERVER_PREVIOUS_BUILD` 指向已构建的上一版源码目录。`LING_APP_SERVER_CODEX_EXECUTABLE` 指向已安装的 Codex。两项均使用隔离状态和回环服务,配置 Pi Runner 使用脚本化 Provider。 [发行验收测试](../../packages/daemon/test/app-server-release-acceptance.test.ts) @@ -48,7 +49,7 @@ | A1、B1、C1、C2 | 全方法的 Schema 校验和更多宿主兼容组合。workspace、Thread、Work Item 的 grant 和 WSS 已接入,审批和用户答复仍需按不同真实宿主与远程部署做验收。App Server 目标游标已绑定存储代次、授权代次和目标,现有兼容用例覆盖本机的上一版源码与候选组合。 | | D1、D2、E1、E2 | 开工时的项目规则加载、两个开发 Skill、工作区 Verify、独立 verifier basis、托管工作树管理和外部 GitHub 合并结果验收已接入。仍需运行中进入新目录的局部规则、候选补丁的应用预览和提交、浏览器/平台配方,以及 UI 运行报告。 | | F1、F2 | 普通会话已接入 Handoff 的候选封存和接手。仍需跨 Agent Workflow 的执行归属和预算承接。已有 Codex MCP 联调,双端宿主界面和授权变更后重订阅需要实测。 | -| O1、O3–O9 | 跨入口任务归并和首次派发、自治策略、GitHub 交付、经验与设备反馈、阶段和定时轮次、在途改计划、交接和审议裁决。现有协作记录的持久化、版本冲突和回放已验证,原 Workflow/Automation 执行与联合验收还要接通。 | +| O1、O3–O9 | GitHub webhook/poll 归并与派发、自治接单、合并队列、经验和设备反馈、阶段简报、在途改计划、交接、审议裁决和跨 Run 预算。现有工作项状态、会话首发、定时轮次和 GitHub 实际合并核对已有对应回归。仍需接入原 Workflow 并完成联合 UI 验收。 | | G | 自研切换和回退日志对账、签名安装产物、远程 WSS 和三个真实 Provider 自研试点。macOS 打包预检仍缺当前打包输入的 Office 审查、对应 Electron/OS 的受限运行时审查和 gstack 平台资源。T01 离线预检达到评审条件,真实试点仍需按 Framework Assurance 准入。 | ## 目标与开工顺序 diff --git a/packages/api-client/src/app-server.ts b/packages/api-client/src/app-server.ts index d1bfac65e..87096a52b 100644 --- a/packages/api-client/src/app-server.ts +++ b/packages/api-client/src/app-server.ts @@ -25,6 +25,8 @@ import type { LingAppServerGitHubSubjectResult, LingAppServerGitHubDeliveryResult, LingAppServerReconcileGitHubDeliveryParams, + LingAppServerCoordinationSchedule, + LingAppServerCoordinationScheduleParams, LingAppServerGrant, LingAppServerGrantCreateParams, LingAppServerHandoffCreateParams, @@ -250,6 +252,16 @@ export class LingAppServerClient { return await this.request(params.deliveryId === undefined ? "workItem/delivery/read" : "delivery/read", params); } + async readCoordinationSchedule(params: { readonly automationId: string; readonly workItemId: string }): Promise<{ readonly cwd: string; readonly schedule: LingAppServerCoordinationSchedule | null }> { + await this.connect(); + return await this.request("workItem/coordination/schedule/read", params); + } + + async setCoordinationSchedule(params: LingAppServerCoordinationScheduleParams): Promise<{ readonly cwd: string; readonly schedule: LingAppServerCoordinationSchedule }> { + await this.connect(); + return await this.request("workItem/coordination/schedule/set", params); + } + async acceptWorkItem(params: LingAppServerWorkItemAcceptParams): Promise { await this.connect(); return await this.request("workItem/accept", params); diff --git a/packages/contracts/src/app-server.ts b/packages/contracts/src/app-server.ts index ccb70ea8f..1b745b846 100644 --- a/packages/contracts/src/app-server.ts +++ b/packages/contracts/src/app-server.ts @@ -159,6 +159,8 @@ export const LING_APP_SERVER_METHODS = [ "workItem/coordination/start", "workItem/coordination/read", "workItem/coordination/close", + "workItem/coordination/schedule/read", + "workItem/coordination/schedule/set", "workItem/message/send", "workItem/message/read", "workItem/message/list", @@ -576,6 +578,34 @@ export const LING_APP_SERVER_COLLABORATION_KINDS = [ export type LingAppServerCollaborationKind = (typeof LING_APP_SERVER_COLLABORATION_KINDS)[number]; +export interface LingAppServerCoordinationSchedule { + readonly automationId: string; + readonly workItemId: string; + readonly revision: number; + readonly enabled: boolean; + readonly kind: "checkpoint" | "retrospective"; + readonly durationMs: number; +} + +export interface LingAppServerCoordinationScheduleParams extends Omit { + readonly cwd?: string; + readonly expectedRevision: number; +} + +export interface LingAppServerScheduledCoordinationRound { + readonly automationId: string; + readonly automationRunId: string; + readonly workItemId: string; + readonly recordId: string; + readonly policyRevision: number; + readonly subjectRevision: number; + readonly controlGeneration: number; + readonly kind: LingAppServerCoordinationSchedule["kind"]; + readonly deadlineAt: string; + readonly scheduledFor?: string; + readonly closedRecordId?: string; +} + export const LING_APP_SERVER_COLLABORATION_ACTIONS = [ "created", "updated", diff --git a/packages/contracts/src/automations.ts b/packages/contracts/src/automations.ts index 560a18b41..53f609901 100644 --- a/packages/contracts/src/automations.ts +++ b/packages/contracts/src/automations.ts @@ -152,6 +152,7 @@ export interface AutomationRun { readonly channelId?: string; readonly threadId: string; readonly runId?: string; + readonly coordinationRoundId?: string; readonly triggerType: AutomationTrigger["type"]; readonly scheduledFor?: string; readonly firedAt: string; diff --git a/packages/core/src/app-server-state-types.ts b/packages/core/src/app-server-state-types.ts index a07b8b31a..a9497dfcb 100644 --- a/packages/core/src/app-server-state-types.ts +++ b/packages/core/src/app-server-state-types.ts @@ -3,7 +3,8 @@ import type { ControlPlaneEvent } from "./run-types.js"; export type AppServerStateKind = "verify_plan" | "verify_operation" | "review_submission" | "review_finding_update" | "simplify_submission" | "external_federation" | "work_item_creation" | "work_item_acceptance" | "work_item_control" | "replay_identity" | "handoff" | "authorization_grant" | "work_item_target" | "work_item_source" - | "github_delivery" | "github_delivery_current" | "work_item_thread"; + | "github_delivery" | "github_delivery_current" | "work_item_thread" + | "automation_coordination" | "coordination_round" | "coordination_automation_run"; export interface AppServerStateRecord { readonly workspaceId: string; diff --git a/packages/core/src/automation-types.ts b/packages/core/src/automation-types.ts index 67cdc1041..2a6cf14aa 100644 --- a/packages/core/src/automation-types.ts +++ b/packages/core/src/automation-types.ts @@ -298,6 +298,7 @@ export interface AutomationRun { readonly channelId?: string; readonly threadId: string; readonly runId?: string; + readonly coordinationRoundId?: string; readonly triggerType: AutomationRunTriggerType; readonly scheduledFor?: string; readonly firedAt: string; diff --git a/packages/core/src/run-types.ts b/packages/core/src/run-types.ts index b04ba2bf0..b092f4fa3 100644 --- a/packages/core/src/run-types.ts +++ b/packages/core/src/run-types.ts @@ -2766,6 +2766,13 @@ export interface RunStore extends AutomationEventStore, CodeAssessmentStore, Cod discardAutomationDraft(draftId: string, now: string): AutomationDraft | undefined; confirmAutomationDraft(expectedDraft: AutomationDraft, now: string): AutomationDraftConfirmationResult; createAutomationRun(input: CreateAutomationRunInput, now: string): AutomationRun; + getAutomationCoordinationSchedule(automationId: string): import("@ling-stack/contracts").LingAppServerCoordinationSchedule | undefined; + configureAutomationCoordination(input: import("@ling-stack/contracts").LingAppServerCoordinationScheduleParams, now: string): import("@ling-stack/contracts").LingAppServerCoordinationSchedule; + admitScheduledCoordination(input: import("./storage/sqlite/scheduled-coordination-store.js").AdmitScheduledCoordinationInput, now: string, cwd?: string): import("./storage/sqlite/scheduled-coordination-store.js").ScheduledCoordinationAdmission; + readScheduledCoordinationRound(recordId: string): import("@ling-stack/contracts").LingAppServerScheduledCoordinationRound | undefined; + findScheduledCoordinationRound(automationRunId: string): import("@ling-stack/contracts").LingAppServerScheduledCoordinationRound | undefined; + listOpenScheduledCoordinationRounds(): readonly import("@ling-stack/contracts").LingAppServerScheduledCoordinationRound[]; + closeScheduledCoordination(input: import("./storage/sqlite/scheduled-coordination-store.js").CloseScheduledCoordinationInput, now: string, cwd?: string): import("./storage/sqlite/scheduled-coordination-store.js").ScheduledCoordinationClose | undefined; getAutomationRun(automationRunId: string): AutomationRun | undefined; findAutomationRunByIdempotencyKey(idempotencyKey: string): AutomationRun | undefined; listAutomationRuns(options?: ListAutomationRunsOptions): AutomationRun[]; diff --git a/packages/core/src/storage/sqlite-run-store.ts b/packages/core/src/storage/sqlite-run-store.ts index d73e60f58..68eaece09 100644 --- a/packages/core/src/storage/sqlite-run-store.ts +++ b/packages/core/src/storage/sqlite-run-store.ts @@ -868,6 +868,7 @@ import { SqliteExternalWorkSchedulerStore } from "./sqlite/external-work-schedul import { SqliteExternalWorkWorkflowCoordinator } from "./sqlite/external-work-workflow-coordinator.js"; import { SqliteWorkItemStore } from "./sqlite/work-item-store.js"; import { SqliteWorkItemEvidenceStore } from "./sqlite/work-item-evidence-store.js"; +import { SqliteScheduledCoordinationStore } from "./sqlite/scheduled-coordination-store.js"; import { SqliteAppServerStateStore } from "./sqlite/app-server-state-store.js"; import { SqliteWorkspaceProvenanceStore } from "./sqlite/workspace-provenance-store.js"; import { SqlitePostCompactionUndoStore } from "./sqlite/post-compaction-undo-store.js"; @@ -1031,6 +1032,7 @@ export class SqliteRunStore implements RunStore { private readonly externalWorkWorkflows: SqliteExternalWorkWorkflowCoordinator; private readonly workItems: SqliteWorkItemStore; private readonly workItemEvidence: SqliteWorkItemEvidenceStore; + private readonly scheduledCoordination: SqliteScheduledCoordinationStore; private readonly appServerState: SqliteAppServerStateStore; private readonly workspaceProvenance: SqliteWorkspaceProvenanceStore; private readonly postCompactionUndo: SqlitePostCompactionUndoStore; @@ -1763,6 +1765,8 @@ export class SqliteRunStore implements RunStore { ); this.workItemEvidence = new SqliteWorkItemEvidenceStore({ database: this.database }); this.appServerState = new SqliteAppServerStateStore({ database: this.database }, this.controlPlane); + this.scheduledCoordination = new SqliteScheduledCoordinationStore({ database: this.database }, this.appServerState, + this.automations, this.workItemEvidence, this.controlPlane, this); this.approvalResumes = new SqliteApprovalResumeStore( { database: this.database }, { @@ -6464,8 +6468,38 @@ export class SqliteRunStore implements RunStore { return this.automations.createAutomationRun(input, now); } + getAutomationCoordinationSchedule(automationId: string) { + return this.scheduledCoordination.schedule(automationId); + } + + configureAutomationCoordination(input: Parameters[0], now: string) { + return this.scheduledCoordination.configure(input, now); + } + + admitScheduledCoordination(input: Parameters[0], now: string, cwd = this.paths.cwd) { + return this.scheduledCoordination.admit(input, now, cwd); + } + + readScheduledCoordinationRound(recordId: string) { + return this.scheduledCoordination.readRound(recordId); + } + + findScheduledCoordinationRound(automationRunId: string) { + return this.scheduledCoordination.findRound(automationRunId); + } + + listOpenScheduledCoordinationRounds() { + return this.scheduledCoordination.listOpenRounds(); + } + + closeScheduledCoordination(input: Parameters[0], now: string, cwd = this.paths.cwd) { + return this.scheduledCoordination.close(input, now, cwd); + } + getAutomationRun(automationRunId: string): AutomationRun | undefined { - return this.automations.getAutomationRun(automationRunId); + const run = this.automations.getAutomationRun(automationRunId); + const round = run && this.findScheduledCoordinationRound(run.id); + return run && round ? { ...run, coordinationRoundId: round.recordId } : run; } findAutomationRunByIdempotencyKey(idempotencyKey: string): AutomationRun | undefined { @@ -6473,7 +6507,10 @@ export class SqliteRunStore implements RunStore { } listAutomationRuns(options: ListAutomationRunsOptions = {}): AutomationRun[] { - return this.automations.listAutomationRuns(options); + return this.automations.listAutomationRuns(options).map(run => { + const round = this.findScheduledCoordinationRound(run.id); + return round ? { ...run, coordinationRoundId: round.recordId } : run; + }); } updateAutomationRun(automationRunId: string, input: UpdateAutomationRunInput, now: string): AutomationRun | undefined { diff --git a/packages/core/src/storage/sqlite/scheduled-coordination-store.ts b/packages/core/src/storage/sqlite/scheduled-coordination-store.ts new file mode 100644 index 000000000..3e360c195 --- /dev/null +++ b/packages/core/src/storage/sqlite/scheduled-coordination-store.ts @@ -0,0 +1,212 @@ +import { LING_AGENT_ID } from "../../workspace-types.js"; +import type { + LingAppServerCoordinationSchedule, LingAppServerCoordinationScheduleParams, LingAppServerScheduledCoordinationRound, +} from "@ling-stack/contracts"; +import type { AutomationDefinition, AutomationRun } from "../../automation-types.js"; +import type { ControlPlaneEvent, RunStore } from "../../run-types.js"; +import { appendWorkItemCollaboration, findWorkItemCollaborationById, type AppendWorkItemCollaborationResult } from "../../work-item-collaboration.js"; +import type { SqliteAppServerStateStore } from "./app-server-state-store.js"; +import type { SqliteAutomationStore } from "./automation-store.js"; +import type { SqliteControlPlaneStore } from "./control-plane-store.js"; +import { rollbackOwnedSqliteTransaction } from "./helpers.js"; +import type { SqliteStoreContext } from "./store-context.js"; +import type { SqliteWorkItemEvidenceStore } from "./work-item-evidence-store.js"; + +export interface AdmitScheduledCoordinationInput { + readonly automationId: string; + readonly expectedDefinitionRevision: string; + readonly expectedPolicyRevision: number; + readonly triggerType: "manual" | "schedule"; + readonly scheduledFor?: string; + readonly idempotencyKey: string; +} + +export interface ScheduledCoordinationAdmission { + readonly automationRun: AutomationRun; + readonly round?: LingAppServerScheduledCoordinationRound; + readonly event?: ControlPlaneEvent; +} + +export interface CloseScheduledCoordinationInput { + readonly workItemId: string; + readonly recordId: string; + readonly actorId: string; + readonly cause: "owner_closed" | "deadline"; + readonly expectedWorkItemRevision?: number; + readonly expectedCollaborationRevision?: number; +} + +export interface ScheduledCoordinationClose { + readonly result: AppendWorkItemCollaborationResult; + readonly briefEvent?: ControlPlaneEvent; +} + +export class SqliteScheduledCoordinationStore { + constructor( + private readonly context: SqliteStoreContext, + private readonly state: SqliteAppServerStateStore, + private readonly automations: SqliteAutomationStore, + private readonly evidence: SqliteWorkItemEvidenceStore, + private readonly events: SqliteControlPlaneStore, + private readonly workspace: Pick, + ) {} + + schedule(automationId: string): LingAppServerCoordinationSchedule | undefined { + return this.state.get("automation_coordination", automationId)?.payload as LingAppServerCoordinationSchedule | undefined; + } + + configure(input: LingAppServerCoordinationScheduleParams, now: string): LingAppServerCoordinationSchedule { + return this.transaction(() => { + const { automationId, workItemId, kind, durationMs, expectedRevision, enabled } = input; + const automation = this.automations.getAutomationDefinition(automationId); + const workItem = this.workspace.getWorkItem(workItemId); + if (!automation || automation.automationMode !== "cron" || automation.trigger.type !== "schedule" + || !workItem || workItem.workspaceId !== automation.workspaceId + || !this.workspace.getLingThread(automation.threadId)) throw new Error("coordination_target_unavailable"); + const old = this.schedule(automationId); + if (old?.workItemId && old.workItemId !== workItemId || expectedRevision !== (old?.revision ?? 0)) { + throw new Error("coordination_schedule_stale"); + } + const schedule = { automationId, workItemId, kind, durationMs, enabled, revision: expectedRevision + 1 }; + this.state.putWithinTransaction({ kind: "automation_coordination", recordId: automationId, payload: schedule, expectedRevision }, now); + return schedule; + }); + } + + findRound(automationRunId: string): LingAppServerScheduledCoordinationRound | undefined { + const binding = this.state.get("coordination_automation_run", automationRunId)?.payload as { recordId: string } | undefined; + return binding ? this.readRound(binding.recordId) : undefined; + } + + readRound(recordId: string): LingAppServerScheduledCoordinationRound | undefined { + return this.state.get("coordination_round", recordId)?.payload as LingAppServerScheduledCoordinationRound | undefined; + } + + listOpenRounds(): readonly LingAppServerScheduledCoordinationRound[] { + return this.state.list("coordination_round").map(record => record.payload as LingAppServerScheduledCoordinationRound) + .filter(round => !round.closedRecordId); + } + + admit(input: AdmitScheduledCoordinationInput, now: string, cwd: string): ScheduledCoordinationAdmission { + return this.transaction(() => { + const existing = this.automations.findAutomationRunByIdempotencyKey(input.idempotencyKey); + if (existing) { + if (existing.automationId !== input.automationId || existing.triggerType !== input.triggerType + || existing.scheduledFor !== input.scheduledFor || !["succeeded", "skipped"].includes(existing.status)) { + throw new Error("coordination_occurrence_conflict"); + } + return { automationRun: existing, round: this.findRound(existing.id) }; + } + const automation = this.automations.getAutomationDefinition(input.automationId); + const policy = this.schedule(input.automationId); + if (!automation || !policy || automation.status !== "enabled" || automation.trigger.type !== "schedule" + || automation.automationMode !== "cron" || automation.updatedAt !== input.expectedDefinitionRevision + || policy.revision !== input.expectedPolicyRevision + || input.triggerType === "schedule" && (!input.scheduledFor || input.scheduledFor !== automation.nextRunAt || input.scheduledFor > now)) { + throw new Error("coordination_schedule_stale"); + } + const workItem = this.workspace.getWorkItem(policy.workItemId); + const thread = this.workspace.getLingThread(automation.threadId); + const skipReason = !workItem || !thread || thread.archivedAt || thread.status === "archived" ? "coordination_target_unavailable" + : !policy.enabled || workItem.control.state !== "active" || workItem.holds.some(hold => hold.blocksNewAdmission) + || ["archived", "cancelled", "superseded"].includes(workItem.status) ? "coordination_policy_denied" + : this.listOpenRounds().some(round => round.workItemId === workItem.id && round.kind === policy.kind && round.deadlineAt > now) + ? "coordination_already_open" : undefined; + const automationRun = this.recordOccurrence(automation, input, now, skipReason); + if (skipReason || !workItem) return { automationRun }; + const deadlineAt = new Date(Date.parse(now) + policy.durationMs).toISOString(); + const appended = this.append({ + workItemId: workItem.id, expectedWorkItemRevision: workItem.revision, kind: "coordination", action: "started", + actorId: LING_AGENT_ID, idempotencyKey: `coordination-open:${automationRun.id}`, + payload: { + kind: policy.kind, status: "open", subjectRevision: workItem.revision, policyRevision: policy.revision, + deadlineAt, trigger: { kind: input.triggerType, automationId: automation.id, automationRunId: automationRun.id, scheduledFor: input.scheduledFor }, + }, + }, now, cwd); + if (!appended) throw new Error("coordination_subject_unavailable"); + const round: LingAppServerScheduledCoordinationRound = { + automationId: automation.id, automationRunId: automationRun.id, workItemId: workItem.id, kind: policy.kind, + policyRevision: policy.revision, subjectRevision: workItem.revision, controlGeneration: workItem.control.generation, + recordId: appended.record.id, deadlineAt, ...(input.scheduledFor ? { scheduledFor: input.scheduledFor } : {}), + }; + this.state.putWithinTransaction({ kind: "coordination_round", recordId: round.recordId, expectedRevision: 0, payload: round }, now); + this.state.putWithinTransaction({ kind: "coordination_automation_run", recordId: automationRun.id, expectedRevision: 0, + payload: { recordId: round.recordId } }, now); + return { automationRun, round, event: appended.event }; + }); + } + + close(input: CloseScheduledCoordinationInput, now: string, cwd: string): ScheduledCoordinationClose | undefined { + return this.transaction(() => { + const saved = this.state.get("coordination_round", input.recordId); + const round = saved?.payload as LingAppServerScheduledCoordinationRound | undefined; + const workItem = this.workspace.getWorkItem(input.workItemId); + if (!saved || !round || round.workItemId !== input.workItemId || !workItem) return undefined; + if (round.closedRecordId) { + const record = findWorkItemCollaborationById(this.collaboration(), workItem.id, round.closedRecordId); + return record ? { result: { status: "replayed", record, workItemRevision: workItem.revision } } : undefined; + } + const currentSequence = this.context.database.prepare("SELECT COALESCE(MAX(sequence),0) AS revision FROM work_item_evidence WHERE work_item_id=?") + .get(workItem.id)?.revision; + if (input.expectedWorkItemRevision !== undefined && input.expectedWorkItemRevision !== workItem.revision + || input.expectedCollaborationRevision !== undefined && input.expectedCollaborationRevision !== currentSequence) { + throw new Error("coordination_round_stale"); + } + if (input.cause === "deadline" && round.deadlineAt > now) return undefined; + const policy = this.schedule(round.automationId); + const inputsCurrent = workItem.control.generation === round.controlGeneration && policy?.enabled && policy.revision === round.policyRevision; + const disposition = inputsCurrent ? "closed" : "stale"; + const closeReason = inputsCurrent ? input.cause : "inputs_changed"; + const brief = this.append({ + workItemId: workItem.id, kind: "brief", action: "created", actorId: input.actorId, parentRecordId: round.recordId, + idempotencyKey: `coordination-brief:${round.recordId}`, + payload: { kind: round.kind, status: disposition, throughEvidenceSequence: currentSequence, + workItemStatus: workItem.status, holds: workItem.holds.map(hold => ({ id: hold.id, kind: hold.kind })) }, + }, now, cwd); + if (!brief) throw new Error("coordination_subject_unavailable"); + const result = this.append({ + workItemId: workItem.id, kind: "coordination", action: "closed", actorId: input.actorId, parentRecordId: round.recordId, + idempotencyKey: `coordination-close:${round.recordId}`, + payload: { status: disposition, closeReason, deadlineAt: round.deadlineAt, throughEvidenceSequence: currentSequence, + briefId: brief.record.id }, + }, now, cwd); + if (!result) throw new Error("coordination_subject_unavailable"); + this.state.putWithinTransaction({ kind: "coordination_round", recordId: round.recordId, expectedRevision: saved.revision, + payload: { ...round, closedRecordId: result.record.id } }, now); + return { result, briefEvent: brief.event }; + }); + } + + private recordOccurrence(automation: AutomationDefinition, input: AdmitScheduledCoordinationInput, now: string, skipReason?: string): AutomationRun { + return this.automations.createAutomationRun({ + automationId: automation.id, workspaceId: automation.workspaceId, channelId: automation.channelId, threadId: automation.threadId, + triggerType: input.triggerType, scheduledFor: input.scheduledFor, firedAt: now, completedAt: now, + status: skipReason ? "skipped" : "succeeded", skipReason, idempotencyKey: input.idempotencyKey, + }, now); + } + + private append(input: Parameters[1], now: string, cwd: string): AppendWorkItemCollaborationResult | undefined { + return appendWorkItemCollaboration(this.collaboration(), input, now, cwd); + } + + private collaboration(): Parameters[0] { + return { + getWorkItem: id => this.workspace.getWorkItem(id), + listWorkItemEvidence: options => this.evidence.listWorkItemEvidence(options), + appendWorkItemEvidence: (input, now, event) => this.evidence.appendWithinTransaction(input, now, event && { ...event, store: this.events }), + }; + } + + private transaction(operation: () => T): T { + const { database } = this.context; + database.exec("BEGIN IMMEDIATE"); + try { + const value = operation(); + database.exec("COMMIT"); + return value; + } catch (error) { + rollbackOwnedSqliteTransaction(database); + throw error; + } + } +} diff --git a/packages/core/src/storage/sqlite/work-item-evidence-store.ts b/packages/core/src/storage/sqlite/work-item-evidence-store.ts index ee54a33d5..1870db585 100644 --- a/packages/core/src/storage/sqlite/work-item-evidence-store.ts +++ b/packages/core/src/storage/sqlite/work-item-evidence-store.ts @@ -22,105 +22,110 @@ export class SqliteWorkItemEvidenceStore { input: AppendWorkItemEvidenceInput, now: string, events?: WorkItemEvidenceEventOptions & { readonly store: SqliteControlPlaneStore }, ): AppendWorkItemEvidenceResult | undefined { - validateEvidenceInput(input); this.context.database.exec("BEGIN IMMEDIATE"); try { - const workItem = this.context.database - .prepare("SELECT revision FROM work_items WHERE workspace_id = ? AND id = ?") - .get(DEFAULT_WORKSPACE_ID, input.workItemId) as Record | undefined; - if (!workItem) { - this.context.database.exec("ROLLBACK"); - return undefined; - } - const existingRow = this.context.database - .prepare("SELECT * FROM work_item_evidence WHERE workspace_id = ? AND work_item_id = ? AND idempotency_key = ?") - .get(DEFAULT_WORKSPACE_ID, input.workItemId, input.idempotencyKey) as Record | undefined; - if (existingRow) { - const existing = mapWorkItemEvidence(existingRow); - if (!sameEvidenceInput(existing, input)) { - throw new Error("work_item_evidence_idempotency_conflict"); - } - const currentRevision = readNumber(workItem, "revision"); - this.context.database.exec("COMMIT"); - return { status: "replayed", entry: existing, workItemRevision: currentRevision }; - } - - const workItemRevision = readNumber(workItem, "revision"); - if (input.expectedWorkItemRevision !== undefined && input.expectedWorkItemRevision !== workItemRevision) { - this.context.database.exec("ROLLBACK"); - return undefined; - } - const currentEvidenceRevision = Number((this.context.database - .prepare("SELECT COALESCE(MAX(sequence), 0) AS revision FROM work_item_evidence WHERE workspace_id = ? AND work_item_id = ?") - .get(DEFAULT_WORKSPACE_ID, input.workItemId) as Record).revision ?? 0); - if (input.expectedEvidenceRevision !== undefined && input.expectedEvidenceRevision !== currentEvidenceRevision) { - this.context.database.exec("ROLLBACK"); - return undefined; - } - const sequence = currentEvidenceRevision + 1; - const entry: WorkItemEvidenceEntry = { - id: input.id ?? createWorkItemEvidenceId(), - workspaceId: DEFAULT_WORKSPACE_ID, - workItemId: input.workItemId, - revision: sequence, - sequence, - subjectRevision: input.subjectRevision, - kind: input.kind, - actorId: input.actorId, - content: input.content, - optionId: input.optionId, - sourceRefs: input.sourceRefs ?? [], - visibility: input.visibility ?? "work_item", - idempotencyKey: input.idempotencyKey, - createdAt: now, - updatedAt: now, - }; - this.context.database.prepare(` - INSERT INTO work_item_evidence ( - id, workspace_id, work_item_id, revision, sequence, subject_revision, kind, actor_id, - content, option_id, source_refs_json, visibility, idempotency_key, created_at, updated_at - ) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) - `).run( - entry.id, - entry.workspaceId, - entry.workItemId, - entry.revision, - entry.sequence, - entry.subjectRevision, - entry.kind, - entry.actorId, - entry.content, - entry.optionId ?? null, - stringifyJson(entry.sourceRefs), - entry.visibility, - entry.idempotencyKey, - entry.createdAt, - entry.updatedAt, - ); - const updated = this.context.database - .prepare("UPDATE work_items SET revision = revision + 1, updated_at = ? WHERE workspace_id = ? AND id = ? AND revision = ?") - .run(now, DEFAULT_WORKSPACE_ID, input.workItemId, workItemRevision); - if (updated.changes !== 1) { - throw new Error("work_item_evidence_work_item_revision_conflict"); - } - const committedRevision = workItemRevision + 1; - const event = events?.store.appendControlPlaneEventWithinTransaction({ - workspaceId: entry.workspaceId, cwd: events.cwd, domain: "work_items", - entityType: "work_item", entityId: entry.workItemId, - idempotencyKey: `work-item-evidence:${entry.id}`, - ...(events.project?.(entry, committedRevision) ?? { - action: "work_item.evidence.updated", - data: { workItemId: entry.workItemId, evidenceId: entry.id, sequence, workItemRevision: committedRevision }, - }), - }, now); + const result = this.appendWithinTransaction(input, now, events); this.context.database.exec("COMMIT"); - return { status: "appended", entry, workItemRevision: committedRevision, ...(event ? { event } : {}) }; + return result; } catch (error) { try { this.context.database.exec("ROLLBACK"); } catch { /* Preserve the original error. */ } throw error; } } + appendWithinTransaction( + input: AppendWorkItemEvidenceInput, now: string, + events?: WorkItemEvidenceEventOptions & { readonly store: SqliteControlPlaneStore }, + ): AppendWorkItemEvidenceResult | undefined { + if (!this.context.database.isTransaction) throw new Error("work_item_evidence_requires_transaction"); + validateEvidenceInput(input); + const workItem = this.context.database + .prepare("SELECT revision FROM work_items WHERE workspace_id = ? AND id = ?") + .get(DEFAULT_WORKSPACE_ID, input.workItemId) as Record | undefined; + if (!workItem) { + return undefined; + } + const existingRow = this.context.database + .prepare("SELECT * FROM work_item_evidence WHERE workspace_id = ? AND work_item_id = ? AND idempotency_key = ?") + .get(DEFAULT_WORKSPACE_ID, input.workItemId, input.idempotencyKey) as Record | undefined; + if (existingRow) { + const existing = mapWorkItemEvidence(existingRow); + if (!sameEvidenceInput(existing, input)) { + throw new Error("work_item_evidence_idempotency_conflict"); + } + const currentRevision = readNumber(workItem, "revision"); + return { status: "replayed", entry: existing, workItemRevision: currentRevision }; + } + + const workItemRevision = readNumber(workItem, "revision"); + if (input.expectedWorkItemRevision !== undefined && input.expectedWorkItemRevision !== workItemRevision) { + return undefined; + } + const currentEvidenceRevision = Number((this.context.database + .prepare("SELECT COALESCE(MAX(sequence), 0) AS revision FROM work_item_evidence WHERE workspace_id = ? AND work_item_id = ?") + .get(DEFAULT_WORKSPACE_ID, input.workItemId) as Record).revision ?? 0); + if (input.expectedEvidenceRevision !== undefined && input.expectedEvidenceRevision !== currentEvidenceRevision) { + return undefined; + } + const sequence = currentEvidenceRevision + 1; + const entry: WorkItemEvidenceEntry = { + id: input.id ?? createWorkItemEvidenceId(), + workspaceId: DEFAULT_WORKSPACE_ID, + workItemId: input.workItemId, + revision: sequence, + sequence, + subjectRevision: input.subjectRevision, + kind: input.kind, + actorId: input.actorId, + content: input.content, + optionId: input.optionId, + sourceRefs: input.sourceRefs ?? [], + visibility: input.visibility ?? "work_item", + idempotencyKey: input.idempotencyKey, + createdAt: now, + updatedAt: now, + }; + this.context.database.prepare(` + INSERT INTO work_item_evidence ( + id, workspace_id, work_item_id, revision, sequence, subject_revision, kind, actor_id, + content, option_id, source_refs_json, visibility, idempotency_key, created_at, updated_at + ) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) + `).run( + entry.id, + entry.workspaceId, + entry.workItemId, + entry.revision, + entry.sequence, + entry.subjectRevision, + entry.kind, + entry.actorId, + entry.content, + entry.optionId ?? null, + stringifyJson(entry.sourceRefs), + entry.visibility, + entry.idempotencyKey, + entry.createdAt, + entry.updatedAt, + ); + const updated = this.context.database + .prepare("UPDATE work_items SET revision = revision + 1, updated_at = ? WHERE workspace_id = ? AND id = ? AND revision = ?") + .run(now, DEFAULT_WORKSPACE_ID, input.workItemId, workItemRevision); + if (updated.changes !== 1) { + throw new Error("work_item_evidence_work_item_revision_conflict"); + } + const committedRevision = workItemRevision + 1; + const event = events?.store.appendControlPlaneEventWithinTransaction({ + workspaceId: entry.workspaceId, cwd: events.cwd, domain: "work_items", + entityType: "work_item", entityId: entry.workItemId, + idempotencyKey: `work-item-evidence:${entry.id}`, + ...(events.project?.(entry, committedRevision) ?? { + action: "work_item.evidence.updated", + data: { workItemId: entry.workItemId, evidenceId: entry.id, sequence, workItemRevision: committedRevision }, + }), + }, now); + return { status: "appended", entry, workItemRevision: committedRevision, ...(event ? { event } : {}) }; + } + getWorkItemEvidence(id: string): WorkItemEvidenceEntry | undefined { const row = this.context.database.prepare("SELECT * FROM work_item_evidence WHERE workspace_id = ? AND id = ?") .get(DEFAULT_WORKSPACE_ID, id) as Record | undefined; diff --git a/packages/daemon/src/features/automations/routes.ts b/packages/daemon/src/features/automations/routes.ts index 3a356a95a..7b38159db 100644 --- a/packages/daemon/src/features/automations/routes.ts +++ b/packages/daemon/src/features/automations/routes.ts @@ -349,6 +349,7 @@ export async function handleAutomationItem( request: parseAutomationRunRequest(body), startRun, notificationHub, + onCoordinationRound: (cwd, event) => schedulerRegistry.publishCoordinationRound(cwd, event), }); writeJson(response, 202, { ...result, run: projectPublicRunSession(result.run, store) }); return; diff --git a/packages/daemon/src/features/automations/run.ts b/packages/daemon/src/features/automations/run.ts index 69efc94a7..12b51ff89 100644 --- a/packages/daemon/src/features/automations/run.ts +++ b/packages/daemon/src/features/automations/run.ts @@ -6,6 +6,7 @@ import { type AutomationDefinition, type AutomationRun, type AutomationRunStatus, + type ControlPlaneEvent, type LingThread, type RunSession, type RunStore, @@ -38,6 +39,7 @@ export interface RunAutomationInput { readonly request: AutomationRunRequest; readonly startRun: StartAutomationRunExecution; readonly notificationHub?: NotificationHub; + readonly onCoordinationRound?: (cwd: string, event: ControlPlaneEvent) => void; readonly event?: { readonly envelope: import("@ling-stack/core").AutomationEventEnvelope; readonly assertCurrent: () => void }; } @@ -56,17 +58,30 @@ export async function runAutomation(input: RunAutomationInput): Promise(); private readonly inFlightTasks = new Set>(); + private readonly coordinationTimers = new Map>(); + private coordinationStopping = false; constructor( private readonly runnerRegistry: RunnerRegistry, @@ -119,6 +123,7 @@ export class AutomationSchedulerRegistry { this.scheduleAutomation(entry, automation, new Date()); } this.refreshStateSummary(entry); + this.restoreCoordinationDeadlines(cwd); this.startupState?.setPhase(cwd, "automation_scheduler", "ready"); return { scheduler: entry.state, duplicate: false }; } catch (error) { @@ -205,11 +210,52 @@ export class AutomationSchedulerRegistry { } stopAll(): void { + this.coordinationStopping = true; + for (const timer of this.coordinationTimers.values()) clearTimeout(timer); + this.coordinationTimers.clear(); for (const cwd of [...this.entriesByCwd.keys()]) { this.stop(cwd); } } + publishCoordinationRound(cwd: string, event: ControlPlaneEvent): void { + this.controlPlaneEvents.publish(trimOversizedEvent(event)); + this.restoreCoordinationDeadlines(cwd); + } + + restoreCoordinationDeadlines(cwd: string): void { + if (this.coordinationStopping) return; + const prior = this.coordinationTimers.get(cwd); + if (prior) clearTimeout(prior); + this.coordinationTimers.delete(cwd); + const open = this.storeRegistry.getStore(cwd).listOpenScheduledCoordinationRounds(); + const next = open.map(round => round.deadlineAt).sort()[0]; + if (next) this.armCoordinationDeadline(cwd, Math.max(1, Date.parse(next) - Date.now())); + } + + private armCoordinationDeadline(cwd: string, delayMs: number): void { + const timer = setTimeout(() => { + if (this.coordinationStopping || this.coordinationTimers.get(cwd) !== timer) return; + this.coordinationTimers.delete(cwd); + try { + const store = this.storeRegistry.getStore(cwd); + const now = new Date().toISOString(); + for (const round of store.listOpenScheduledCoordinationRounds().filter(round => round.deadlineAt <= now)) { + const closed = store.closeScheduledCoordination({ + workItemId: round.workItemId, recordId: round.recordId, actorId: LING_AGENT_ID, cause: "deadline", + }, now, cwd); + if (closed?.briefEvent) this.controlPlaneEvents.publish(trimOversizedEvent(closed.briefEvent)); + if (closed?.result.event) this.controlPlaneEvents.publish(trimOversizedEvent(closed.result.event)); + } + this.restoreCoordinationDeadlines(cwd); + } catch { + this.armCoordinationDeadline(cwd, 1000); + } + }, Math.min(delayMs, MAX_TIMER_DELAY_MS)); + timer.unref?.(); + this.coordinationTimers.set(cwd, timer); + } + async waitForIdle(): Promise { while (this.inFlightTasks.size > 0) { await Promise.allSettled([...this.inFlightTasks]); @@ -308,11 +354,12 @@ export class AutomationSchedulerRegistry { automation: AutomationDefinition, scheduledFor: string, generation: number, + retryDelayMs = 0, ): void { if (!this.isCurrentEntry(entry, generation)) { return; } - const delayMs = Math.min(Math.max(Date.parse(scheduledFor) - Date.now(), 1), MAX_TIMER_DELAY_MS); + const delayMs = Math.min(Math.max(Date.parse(scheduledFor) - Date.now(), 1, retryDelayMs), MAX_TIMER_DELAY_MS); const existingTimer = entry.timers.get(automation.id); if (existingTimer) { clearTimeout(existingTimer); @@ -352,6 +399,8 @@ export class AutomationSchedulerRegistry { entry.runningAutomationIds.add(automationId); const firedAt = new Date().toISOString(); let executionEntered = false; + let coordination: AutomationDefinition | undefined; + let retryCoordination = false; try { const store = this.storeRegistry.getStore(entry.state.cwd); const automation = store.getAutomationDefinition(automationId); @@ -387,6 +436,7 @@ export class AutomationSchedulerRegistry { return; } executionEntered = true; + if (store.getAutomationCoordinationSchedule(automation.id)) coordination = automation; const result = await this.executeAutomationRun(entry.state.cwd, automationId, { triggerType: "schedule", scheduledFor, @@ -419,6 +469,11 @@ export class AutomationSchedulerRegistry { return; } const message = error instanceof Error ? error.message : String(error); + if (coordination) { + retryCoordination = true; + this.upsertItem(entry, { automationId, title: coordination.title, lastErrorMessage: message }); + return; + } entry.state = { ...entry.state, status: "running", @@ -436,6 +491,10 @@ export class AutomationSchedulerRegistry { store.updateAutomationDefinition(automationId, { status: "error", lastErrorMessage: message }, new Date().toISOString()); } finally { entry.runningAutomationIds.delete(automationId); + if (retryCoordination && coordination) { + this.armAutomationTimer(entry, coordination, scheduledFor, generation, 1000); + return; + } if (executionEntered) { // Mark the admitted slot consumed before rearming. Otherwise a // run_one restart could mistake the just-fired persisted due for a @@ -623,6 +682,7 @@ export class AutomationSchedulerRegistry { storeRegistry: this.storeRegistry, request, notificationHub: this.notificationHub, + onCoordinationRound: (cwd, event) => this.publishCoordinationRound(cwd, event), startRun: async (runRequest, hooks) => await executeRunRequest( runRequest, diff --git a/packages/daemon/src/server/rpc.ts b/packages/daemon/src/server/rpc.ts index 106a85e4f..93cc60828 100644 --- a/packages/daemon/src/server/rpc.ts +++ b/packages/daemon/src/server/rpc.ts @@ -168,6 +168,7 @@ const operatorMethods = new Set([ "server/grants/create", "server/grants/list", "server/grants/revoke", "github/subject/read", "github/delivery/reconcile", "workItem/delivery/read", "delivery/read", "workItem/accept", + "workItem/coordination/schedule/read", "workItem/coordination/schedule/set", ]); const IMPLEMENTED_APP_SERVER_METHODS = LING_APP_SERVER_METHODS.filter(method => !UNIMPLEMENTED_APP_SERVER_METHODS.has(method)); const appServerMethods = new Set([...IMPLEMENTED_APP_SERVER_METHODS, "runs.start", "runs.cancel", "turn/steer"]); @@ -768,6 +769,9 @@ class RpcConnection { return this.appendCollaboration("coordination", "closed", params); case "workItem/coordination/read": return this.readCollaboration("coordination", params); + case "workItem/coordination/schedule/read": + case "workItem/coordination/schedule/set": + return this.coordinationSchedule(method, params); case "workItem/message/send": return this.appendCollaboration("message", "created", params); case "workItem/message/read": @@ -1040,6 +1044,27 @@ class RpcConnection { return { cwd, workItemId, evidence, nextAfterSequence: evidence.at(-1)?.sequence ?? afterSequence }; } + private coordinationSchedule(method: "workItem/coordination/schedule/read" | "workItem/coordination/schedule/set", params: unknown): unknown { + const record = this.workspaceParams(params, true); + const automationId = readStringField(record, "automationId"); + const workItemId = readStringField(record, "workItemId"); + const store = this.context.storeRegistry.getStore(record.cwd); + if (method === "workItem/coordination/schedule/read") { + const schedule = store.getAutomationCoordinationSchedule(automationId); + return { cwd: record.cwd, schedule: schedule?.workItemId === workItemId ? schedule : null }; + } + const { enabled, kind } = record; + const expectedRevision = readOptionalIntegerField(record, "expectedRevision"); + const durationMs = readOptionalIntegerField(record, "durationMs"); + if (typeof enabled !== "boolean" || kind !== "checkpoint" && kind !== "retrospective" + || expectedRevision === undefined || expectedRevision < 0 || durationMs === undefined || durationMs < 1000 || durationMs > 24 * 60 * 60_000) { + throw rpcError(-32602, "invalid_params", "Supply the schedule kind, enabled state, revision and a duration between one second and one day."); + } + const schedule = store.configureAutomationCoordination({ automationId, workItemId, enabled, kind, expectedRevision, durationMs }, + new Date().toISOString()); + return { cwd: record.cwd, schedule }; + } + private appendWorkItemEvidence(params: unknown): unknown { const record = readParamsRecord(params); const cwd = readRpcCwd(record, this.defaultCwd); @@ -1109,6 +1134,20 @@ class RpcConnection { } const store = this.context.storeRegistry.getStore(cwd); const scope = this.replayIdentity(cwd, store).scope("workItem", workItemId); + const parentRecordId = readOptionalStringField(record, "parentRecordId"); + if (kind === "coordination" && action === "closed" && parentRecordId && store.readScheduledCoordinationRound(parentRecordId)) { + this.workspaceParams(params, true); + const closed = store.closeScheduledCoordination({ + workItemId, recordId: parentRecordId, actorId: readStringField(record, "actorId"), cause: "owner_closed", + expectedWorkItemRevision: readOptionalIntegerField(record, "expectedWorkItemRevision"), + expectedCollaborationRevision: readOptionalIntegerField(record, "expectedCollaborationRevision"), + }, new Date().toISOString(), cwd); + if (!closed) throw rpcError(-32040, "coordination_subject_unavailable", "The coordination round is unavailable."); + const { event, ...result } = closed.result; + if (closed.briefEvent) this.context.controlPlaneEvents.publish(trimOversizedEvent(closed.briefEvent)); + if (event) this.context.controlPlaneEvents.publish(trimOversizedEvent(event)); + return { cwd, ...result }; + } const { event, ...result } = appendAppServerWorkItemCollaboration(store, { ...record, cwd, @@ -2832,6 +2871,9 @@ function normalizeRpcError(error: unknown): { readonly jsonRpcCode: number; read if (error instanceof Error && error.message === "thread_work_item_dependency") { return { jsonRpcCode: -32061, code: "resume_blocked", message: "The Thread has a current Work Item dependency." }; } + if (error instanceof Error && /^(?:coordination_schedule_stale|coordination_round_stale)$/u.test(error.message)) { + return { jsonRpcCode: -32030, code: "stale_revision", message: "The coordination definition or Work Item revision changed." }; + } if (error instanceof Error && /^goal_(acceptance|completion|supervision)_/u.test(error.message)) { return { jsonRpcCode: -32061, code: error.message, message: error.message }; } diff --git a/packages/daemon/test/app-server-development-rpc.test.mjs b/packages/daemon/test/app-server-development-rpc.test.mjs deleted file mode 100644 index 309e53e29..000000000 --- a/packages/daemon/test/app-server-development-rpc.test.mjs +++ /dev/null @@ -1,113 +0,0 @@ -import assert from "node:assert/strict"; -import { once } from "node:events"; -import { mkdtemp, rm } from "node:fs/promises"; -import { tmpdir } from "node:os"; -import { join } from "node:path"; -import test from "node:test"; -import { WebSocket } from "ws"; -import { createDaemonServer } from "../dist/index.js"; - -test("App Server exposes development checks and external Agent admission", { timeout: 10_000 }, async () => { - const cwd = await mkdtemp(join(tmpdir(), "ling-app-server-development-rpc-")); - const daemon = createDaemonServer({ host: "127.0.0.1", port: 0, defaultWorkspaceCwd: cwd }); - await daemon.start(); - const address = daemon.server.address(); - assert.ok(address && typeof address === "object"); - const socket = new WebSocket(`ws://127.0.0.1:${address.port}/app-server/rpc?cwd=${encodeURIComponent(cwd)}`); - const messages = []; - socket.on("message", data => messages.push(JSON.parse(String(data)))); - const send = (id, method, params) => socket.send(JSON.stringify({ jsonrpc: "2.0", id, method, params })); - try { - await once(socket, "open"); - send(1, "initialize", { - protocolVersions: ["ling-app-server/1"], - requiredCapabilities: ["development.verify", "development.instructions", "externalAgent.federation"], - }); - await waitFor(messages, message => message.id === 1); - - send(2, "doctor/run", { cwd }); - const doctor = await waitFor(messages, message => message.id === 2); - assert.ok(["ok", "warning", "fail"].includes(doctor.result.overallStatus)); - - send(3, "instructions/init", { cwd, mode: "preview", idempotencyKey: "instructions-1" }); - const instructions = await waitFor(messages, message => message.id === 3); - assert.equal(instructions.result.status, "draft"); - - send(4, "verify/plan", { - cwd, - candidate: { workspaceId: cwd, candidateDigest: "candidate-rpc" }, - requestedChecks: ["typecheck"], - }); - const plan = await waitFor(messages, message => message.id === 4); - assert.equal(plan.result.checks.length, 1); - assert.equal(plan.result.checks[0].kind, "typecheck"); - send(40, "verify/start", { - planId: plan.result.planId, planRevision: plan.result.planRevision, - candidateDigest: "candidate-rpc", idempotencyKey: "start-without-operator", - }); - assert.equal((await waitFor(messages, message => message.id === 40)).error.data.code, "authorization_required"); - - send(5, "workItem/create", { cwd, sourceType: "manual", sourceId: "external-rpc", title: "External task" }); - const created = await waitFor(messages, message => message.id === 5); - assert.equal(created.result.workItem.status, "intake"); - const acceptance = { workItemId: created.result.workItem.workItemId, expectedWorkItemRevision: Number(created.result.workItem.revision), idempotencyKey: "accept-rpc-1" }; - send(50, "workItem/accept", acceptance); - const accepted = (await waitFor(messages, message => message.id === 50)).result; - assert.equal(accepted.workItem.status, "ready"); - send(51, "workItem/accept", acceptance); - const replayed = (await waitFor(messages, message => message.id === 51)).result; - assert.equal(replayed.replayed, true); - assert.deepEqual(replayed.acceptance, accepted.acceptance); - const workItem = accepted.workItem; - send(6, "externalAgent/register", { - registration: { - agentId: "agent-rpc", - adapterKind: "acp", - protocolVersion: "acp/1", - displayName: "RPC Agent", - capabilities: ["task.start", "task.reconnect", "task.cancel", "workItem.dispatch"], - workspaceScopes: ["workspace_default"], - toolScopes: ["read"], - approvalModes: ["host"], - source: "local", - version: "1", - }, - idempotencyKey: "register-rpc-1", - }); - const registered = await waitFor(messages, message => message.id === 6); - assert.ok(registered.result.acceptedCapabilities.includes("task.start")); - send(7, "externalAgent/task/start", { - cwd, - registrationId: registered.result.registrationId, - submission: { - workItemId: workItem.workItemId, - workItemRevision: workItem.revision, - objective: "Inspect the candidate", - acceptanceSnapshot: { candidateDigest: "candidate-rpc" }, - workspaceId: "workspace_default", - instructionManifestDigest: "instructions-rpc", - idempotencyKey: "submission-rpc-1", - }, - }); - const started = await waitFor(messages, message => message.id === 7); - assert.equal(started.result.task.status, "accepted"); - } finally { - socket.terminate(); - await daemon.stop(); - await rm(cwd, { recursive: true, force: true }); - } -}); - -async function waitFor(messages, predicate) { - for (const message of messages) if (predicate(message)) return message; - return new Promise((resolve, reject) => { - const deadline = setTimeout(() => reject(new Error("Timed out waiting for App Server response")), 2_000); - const timer = setInterval(() => { - const message = messages.find(predicate); - if (!message) return; - clearTimeout(deadline); - clearInterval(timer); - resolve(message); - }, 10); - }); -} diff --git a/packages/daemon/test/app-server-development-rpc.test.ts b/packages/daemon/test/app-server-development-rpc.test.ts new file mode 100644 index 000000000..8ea0b7bb7 --- /dev/null +++ b/packages/daemon/test/app-server-development-rpc.test.ts @@ -0,0 +1,100 @@ +import assert from "node:assert/strict"; +import { randomUUID } from "node:crypto"; +import { mkdir, mkdtemp, rm } from "node:fs/promises"; +import { tmpdir } from "node:os"; +import { join } from "node:path"; +import test from "node:test"; +import { LingAppServerClient, type LingAppServerSocket } from "@ling-stack/api-client"; +import { createSqliteRunStore, resolveStoragePaths } from "@ling-stack/core"; +import { WebSocket } from "ws"; +import { createDaemonServer } from "../dist/index.js"; + +test("App Server exposes development checks and external Agent admission", { timeout: 15_000 }, async t => { + const root = await mkdtemp(join(tmpdir(), "ling-app-server-development-rpc-")); + const cwd = join(root, "workspace"); + await mkdir(cwd); + const authToken = randomUUID(); + const createDaemon = (token?: string) => createDaemonServer({ + host: "127.0.0.1", port: 0, defaultWorkspaceCwd: cwd, authToken: token, + }, { + storeFactory(workspace) { + return createSqliteRunStore(workspace, resolveStoragePaths(workspace, { + homeDir: root, env: {}, workspaceStateLocation: "repo-local", + }).workspace); + }, + }); + let daemon = createDaemon(authToken); + const connect = async (token?: string) => { + const address = daemon.server.address(); + assert.ok(address && typeof address === "object"); + const url = new URL(`ws://127.0.0.1:${address.port}/app-server/rpc`); + url.searchParams.set("cwd", cwd); + const client = new LingAppServerClient({ + url: url.href, clientInfo: { name: "Development RPC tests", version: "1" }, + requiredCapabilities: ["development.verify", "development.instructions", "externalAgent.federation"], + createSocket: address => new WebSocket(address, { + headers: token ? { Authorization: `Bearer ${token}` } : undefined, + }) as unknown as LingAppServerSocket, + }); + t.after(() => client.close()); + await client.connect(); + return client; + }; + t.after(async () => { + await daemon.stop(); + await rm(root, { recursive: true, force: true }); + }); + + await daemon.start(); + const operator = await connect(authToken); + const doctor = await operator.runDoctor({ cwd }); + assert.ok(["ok", "warning", "fail"].includes(doctor.overallStatus)); + const instructions = await operator.initializeInstructions({ cwd, mode: "preview", idempotencyKey: "instructions-1" }); + assert.equal(instructions.status, "draft"); + + const plan = await operator.planVerification({ + cwd, candidate: { workspaceId: cwd, candidateDigest: "candidate-rpc" }, requestedChecks: ["typecheck"], + }); + assert.deepEqual(plan.checks.map(check => check.kind), ["typecheck"]); + + const { workItem: created } = await operator.createWorkItem({ cwd, sourceType: "manual", sourceId: "external-rpc", title: "External task" }); + assert.equal(created.status, "intake"); + const acceptance = { + workItemId: created.workItemId, expectedWorkItemRevision: Number(created.revision), idempotencyKey: "accept-rpc-1", + }; + const accepted = await operator.acceptWorkItem(acceptance); + assert.equal(accepted.workItem.status, "ready"); + const replayed = await operator.acceptWorkItem(acceptance); + assert.equal(replayed.replayed, true); + assert.deepEqual(replayed.acceptance, accepted.acceptance); + + operator.close(); + await daemon.stop(); + daemon = createDaemon(); + await daemon.start(); + const observer = await connect(); + await assert.rejects(observer.startVerification({ + planId: plan.planId, planRevision: plan.planRevision, + candidateDigest: "candidate-rpc", idempotencyKey: "start-without-operator", + }), { code: "authorization_required" }); + await assert.rejects(observer.acceptWorkItem(acceptance), { code: "authorization_required" }); + + const registered = await observer.registerExternalAgent({ + registration: { + agentId: "agent-rpc", adapterKind: "acp", protocolVersion: "acp/1", displayName: "RPC Agent", + capabilities: ["task.start", "task.reconnect", "task.cancel", "workItem.dispatch"], + workspaceScopes: ["workspace_default"], toolScopes: ["read"], approvalModes: ["host"], source: "local", version: "1", + }, + idempotencyKey: "register-rpc-1", + }); + assert.ok(registered.acceptedCapabilities.includes("task.start")); + const started = await observer.startExternalAgentTask({ + registrationId: registered.registrationId, + submission: { + workItemId: accepted.workItem.workItemId, workItemRevision: accepted.workItem.revision, + objective: "Inspect the candidate", acceptanceSnapshot: { candidateDigest: "candidate-rpc" }, + workspaceId: "workspace_default", instructionManifestDigest: "instructions-rpc", idempotencyKey: "submission-rpc-1", + }, + }); + assert.equal(started.task.status, "accepted"); +}); diff --git a/packages/daemon/test/app-server-release-acceptance.test.ts b/packages/daemon/test/app-server-release-acceptance.test.ts index 8b59a10fd..af25ebf6c 100644 --- a/packages/daemon/test/app-server-release-acceptance.test.ts +++ b/packages/daemon/test/app-server-release-acceptance.test.ts @@ -15,6 +15,7 @@ import { promisify } from "node:util"; import { parseUserInputAnswerCommandV1 } from "@ling-stack/contracts"; import type { LingAppServerCandidateReference, + AutomationRun, LingAppServerCaptureChangesResult, LingAppServerContextInspectResult, LingAppServerExternalAgentRegisterResult, @@ -22,6 +23,8 @@ import type { LingAppServerExternalAgentTaskStartResult, LingAppServerGitHubSubjectResult, LingAppServerGitHubDeliveryResult, + LingAppServerCoordinationSchedule, + LingAppServerWorkItemCollaborationReadResult, LingAppServerGrant, LingAppServerGrantScope, LingAppServerHandoffResult, @@ -1373,6 +1376,87 @@ test("Work Item creation, acceptance, evidence and collaboration retries keep on assert.equal((await sdk.readWorkItem(workItem.workspaceId, workItemId)).revision, resumed.revision); }); +test("a scheduled coordination occurrence commits with its round, restores its deadline and skips a paused Work Item", { timeout: 25_000 }, async t => { + const fixture = await releaseFixture(t); + const client = await fixture.connect(); + const { workItem } = await client.call("workItem/create", { sourceId: "coordination", title: "Review the stage" }); + const { workItemId, workspaceId } = workItem; + const store = fixture.getStore(); + const now = new Date().toISOString(); + const home = store.createLingThread({ kind: "automation", title: "Daily checkpoint", objective: "Review the team progress" }, now); + const due = new Date(Date.now() - 100).toISOString(); + const automation = store.createAutomationDefinition({ + threadId: home.id, title: "Daily checkpoint", kind: "custom_prompt", + trigger: { type: "schedule", timezone: "UTC", missedRunPolicy: "run_one", + schedule: { cadence: "daily", timeOfDay: "00:00" } }, + target: { scope: "workspace", workspaceId }, executionPolicy: {}, + promptTemplate: { templateVersion: 1, promptMarkdown: "Review the current Work Item.", contextSelectors: [] }, + outputPolicy: { artifactFormat: "markdown", destinations: [{ type: "automation_thread" }] }, + nextRunAt: due, + }, now); + const policy = { automationId: automation.id, workItemId, expectedRevision: 0, enabled: true, kind: "checkpoint", durationMs: 2200 }; + const configured = await client.call<{ schedule: LingAppServerCoordinationSchedule }>("workItem/coordination/schedule/set", policy); + assert.equal(configured.schedule.revision, 1); + await assert.rejects(client.call("workItem/coordination/schedule/set", { ...policy, enabled: false }), { code: "stale_revision" }); + const runAutomation = (body: object) => { + const { daemonUrl, authToken, cwd } = fixture.transportOptions(); + return fetch(`${daemonUrl}/automations/${automation.id}/run?cwd=${encodeURIComponent(cwd)}`, { + method: "POST", body: JSON.stringify(body), headers: { "Content-Type": "application/json", Authorization: `Bearer ${authToken}` }, + }); + }; + const before = await client.call("workItem/read", { workItemId }); + const occurrence = { triggerType: "schedule", scheduledFor: due, idempotencyKey: `automation:${automation.id}:schedule:${due}` }; + const database = new DatabaseSync(store.paths.databasePath); + try { + database.exec(`CREATE TRIGGER fixture_fail_coordination BEFORE INSERT ON control_plane_events + WHEN NEW.action = 'work_item.collaboration.coordination.started' + BEGIN SELECT RAISE(ABORT, 'fixture_coordination_write_failed'); END`); + const failed = await runAutomation(occurrence); + assert.ok(!failed.ok); + assert.equal(store.listAutomationRuns({ automationId: automation.id }).length, 0); + assert.equal(store.listWorkItemEvidence({ workItemId }).length, 0); + database.exec("DROP TRIGGER fixture_fail_coordination"); + } finally { + database.close(); + } + await fixture.restart(); + const restored = await fixture.connect(); + await restored.call("workItem/subscribe", { workItemId, cursor: before.cursor }); + const scheduled = await waitFor(() => fixture.getStore().listAutomationRuns({ automationId: automation.id })[0]); + assert.equal(scheduled.scheduledFor, due); + assert.equal(scheduled.status, "succeeded"); + assert.ok(scheduled.coordinationRoundId && scheduled.completedAt); + assert.equal(scheduled.runId, undefined); + const round = fixture.getStore().readScheduledCoordinationRound(scheduled.coordinationRoundId); + assert.ok(round); + await waitFor(() => restored.notices.find(value => value.params?.event?.action === "work_item.collaboration.coordination.started")); + const replay = await runAutomation(occurrence); + assert.equal(replay.status, 202); + assert.deepEqual((await replay.json() as { automationRun: AutomationRun }).automationRun, scheduled); + assert.equal(fixture.getStore().listAutomationRuns({ automationId: automation.id }).length, 1); + + await fixture.restart(); + const observer = await fixture.connect(); + const afterRestart = fixture.getStore().readScheduledCoordinationRound(round.recordId); + assert.equal(afterRestart?.deadlineAt, round.deadlineAt); + const closed = await waitFor(() => fixture.getStore().readScheduledCoordinationRound(round.recordId)?.closedRecordId); + const records = await observer.call("workItem/collaboration/read", { workItemId }); + assert.deepEqual(records.records.map(record => record.kind), ["coordination", "brief", "coordination"]); + assert.equal(records.records[2]?.id, closed); + const terminal = records.records[2]?.payload as { closeReason: string; briefId: string }; + assert.equal(terminal.closeReason, "deadline"); + assert.equal(terminal.briefId, records.records[1]?.id); + const current = await observer.call("workItem/read", { workItemId }); + await observer.call("workItem/pause", { workItemId, expectedWorkItemRevision: Number(current.workItem.revision), + expectedControlGeneration: 0, actorId: "local-user", idempotencyKey: "pause-coordination" }); + const skipped = await runAutomation({ idempotencyKey: "paused-coordination" }); + assert.equal(skipped.status, 202); + const skipReceipt = (await skipped.json() as { automationRun: AutomationRun }).automationRun; + assert.equal(skipReceipt.status, "skipped"); + assert.equal(skipReceipt.skipReason, "coordination_policy_denied"); + assert.equal(fixture.getStore().listRuns().length, 0); +}); + test("Work Item controls commit state, receipt and event together and replay after a later control", { timeout: 20_000 }, async t => { const fixture = await releaseFixture(t); const client = await fixture.connect(); diff --git a/scripts/ci/daemon-test-platforms.json b/scripts/ci/daemon-test-platforms.json index ea619ed20..2f00bd175 100644 --- a/scripts/ci/daemon-test-platforms.json +++ b/scripts/ci/daemon-test-platforms.json @@ -16,7 +16,7 @@ "test/agent-capabilities-integration.test.ts", "test/agent-capabilities.test.ts", "test/app-server-collaboration.test.mjs", - "test/app-server-development-rpc.test.mjs", + "test/app-server-development-rpc.test.ts", "test/app-server-development.test.ts", "test/app-server-release-acceptance.test.ts", "test/app-server-restart-acceptance.test.mjs", From e954fe8c934c8b9be62702fe22f4ab2bae3cad14 Mon Sep 17 00:00:00 2001 From: tianxiaochannel-oss88 Date: Sun, 22 Nov 2026 15:03:01 +0800 Subject: [PATCH 007/147] fix(app-server): enforce scoped subscription and work item grants --- packages/daemon/src/server/app-server-authorization.ts | 6 +++++- packages/daemon/src/server/rpc.ts | 3 +++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/packages/daemon/src/server/app-server-authorization.ts b/packages/daemon/src/server/app-server-authorization.ts index bbb6b055c..2a529f843 100644 --- a/packages/daemon/src/server/app-server-authorization.ts +++ b/packages/daemon/src/server/app-server-authorization.ts @@ -109,8 +109,12 @@ const workItemReads = new Set([ "workItem/read", "workItem/subscribe", "workItem/unsubscribe", "workItem/evidence/read", "workItem/collaboration/read", "workItem/stage/read", "workItem/stage/brief/read", "workItem/coordination/read", "workItem/deliberation/read", "workItem/message/read", "workItem/message/list", "workItem/question/read", "workItem/handoff/read", + "workItem/coordination/schedule/read", +]); +const workItemControls = new Set([ + "workItem/pause", "workItem/resume", "workItem/cancel", "workItem/accept", + "workItem/coordination/schedule/set", ]); -const workItemControls = new Set(["workItem/pause", "workItem/resume", "workItem/cancel"]); export function grantAllowsMethod(grant: LingAppServerGrant, method: string): boolean { if (serverMethods.has(method)) return true; diff --git a/packages/daemon/src/server/rpc.ts b/packages/daemon/src/server/rpc.ts index 93cc60828..029702f4e 100644 --- a/packages/daemon/src/server/rpc.ts +++ b/packages/daemon/src/server/rpc.ts @@ -390,6 +390,9 @@ class RpcConnection { throw rpcError(-32021, "capability_denied", "The App Server grant does not authorize this method or subject."); } if (request.method === "controlPlane.subscribe") { + if (this.appServer) { + throw rpcError(-32601, "method_not_found", "Use thread/subscribe or workItem/subscribe on the App Server."); + } if (request.id === undefined) { throw rpcError(-32600, "subscription_response_required", "controlPlane.subscribe requires a request id."); } From f6ba9a9029d760808513b0152fea6ac45af282ab Mon Sep 17 00:00:00 2001 From: tianxiaochannel-oss88 Date: Sun, 22 Nov 2026 15:07:40 +0800 Subject: [PATCH 008/147] fix(automations): refresh stale coordination schedules --- .../ling-agent-operating-model-detailed-design.md | 2 +- docs/design/ling-agent-operating-model.md | 2 +- docs/design/ling-app-server-detailed-design.md | 4 ++-- docs/design/ling-app-server-implementation-plan.md | 4 ++-- docs/design/ling-app-server.md | 2 +- .../daemon/src/features/automations/scheduler.ts | 13 +++++++++++++ 6 files changed, 20 insertions(+), 7 deletions(-) diff --git a/docs/design/ling-agent-operating-model-detailed-design.md b/docs/design/ling-agent-operating-model-detailed-design.md index 15522536b..691ee45d9 100644 --- a/docs/design/ling-agent-operating-model-detailed-design.md +++ b/docs/design/ling-agent-operating-model-detailed-design.md @@ -2,7 +2,7 @@ - **Status** 目标态详细设计,待实施 - **Owner** Conversation、Core、Daemon、External Agent、GitHub Automation 与开发工具维护者 -- **Last verified** 2026-11-21 against `origin/main@50f73b852` +- **Last verified** 2026-11-22 against `origin/main@a9dd29921` - **Document type** 跨域状态、授权、事件与恢复详细设计 - **Contract** [Ling Agent Operating Model](ling-agent-operating-model.md) - **Related contracts** [Ling Agent Session](ling-agent-session.md) · [Channel Team Operating System](channel-team-operating-system.md) · [Ling App Server Detailed Design](ling-app-server-detailed-design.md) · [GitHub Automation](github-automation.md) · [Ling Device Fabric](ling-device-fabric.md) diff --git a/docs/design/ling-agent-operating-model.md b/docs/design/ling-agent-operating-model.md index 918ce731c..2b5036c33 100644 --- a/docs/design/ling-agent-operating-model.md +++ b/docs/design/ling-agent-operating-model.md @@ -2,7 +2,7 @@ - **Status** 目标态整合设计,待实施 - **Owner** Conversation、Teammate、Workflow、External Agent、GitHub Automation 与开发工具维护者 -- **Last verified** 2026-11-21 against `origin/main@50f73b852` +- **Last verified** 2026-11-22 against `origin/main@a9dd29921` - **Document type** 产品整合合同 - **Detailed design** [Ling Agent Operating Model Detailed Design](ling-agent-operating-model-detailed-design.md) - **Related contracts** [Channel Team Operating System](channel-team-operating-system.md) · [Ling Agent Session](ling-agent-session.md) · [Ling 多 Agent 完整目标设计](ling-multi-agent-complete-target.md) · [Automations](automations.md) · [GitHub Automation](github-automation.md) · [Ling App Server](ling-app-server.md) diff --git a/docs/design/ling-app-server-detailed-design.md b/docs/design/ling-app-server-detailed-design.md index 558608bba..5c1f9376c 100644 --- a/docs/design/ling-app-server-detailed-design.md +++ b/docs/design/ling-app-server-detailed-design.md @@ -1,8 +1,8 @@ # Ling App Server 详细设计 -- **状态** 目标态详细设计,待实施 +- **状态** 协议、执行与恢复合同,运行时实现状态见实施计划 - **维护者** Contracts、Daemon、API Client、Runner 与开发工具维护者 -- **核对基线** 2026-11-21,`origin/main@50f73b852` +- **核对基线** 2026-11-22,`origin/main@a9dd29921` - **类型** 协议、执行、存储与恢复合同 - **上位合同** [Ling App Server 与开发工作流](ling-app-server.md) - **交付计划** [实施计划与验收](ling-app-server-implementation-plan.md) diff --git a/docs/design/ling-app-server-implementation-plan.md b/docs/design/ling-app-server-implementation-plan.md index 2a339efa2..ca0788e26 100644 --- a/docs/design/ling-app-server-implementation-plan.md +++ b/docs/design/ling-app-server-implementation-plan.md @@ -2,7 +2,7 @@ - **状态** App Server 本机传输、Turn 控制与恢复、Verify 和 Federation 已通过定向验收。Agent Operating Model 已接入工作项接单、控制和协作记录。下文列出完整实施与发行仍需完成的工作包。 - **维护者** Contracts、Daemon、Runtime、API Client、CLI 与开发工具维护者 -- **核对基线** 2026-11-22,`origin/main@4eb8798b0` +- **核对基线** 2026-11-22,`origin/main@a9dd29921` - **类型** 开发准备、依赖顺序和验收计划 - **合同** [产品与架构设计](ling-app-server.md) · [详细设计](ling-app-server-detailed-design.md) - **代码与测试锚点** [Daemon RPC](../../packages/daemon/src/server/rpc.ts) · [控制面往返测试](../../packages/daemon/test/control-plane-api.test.mjs) · [会话受理收据](../../packages/daemon/test/conversation-submission-receipts.test.mjs) · [框架验收](ling-framework-complementary-implementation-plan.md) @@ -161,7 +161,7 @@ corepack pnpm --filter @ling-stack/api-client typecheck:ci | 项目 | 状态 | | --- | --- | -| 隔离开发分支 | `codex/ling-app-server-implementation` 已合入 `origin/main@4eb8798b0`。 | +| 隔离开发分支 | `codex/ling-app-server-completion` 已合入 `origin/main@a9dd29921`。 | | 目标态、协议、验收与索引 | 本组设计文档,按上表的真实代码入口接入。 | | 重叠工作搜索 | 核对主线的 Ling Server Connectivity、Ling Device Fabric、原生执行引擎和现有 RPC,GitHub 开放 Issue/PR 的 “app server” 搜索均为空。 | | 依赖及源码基线 | macOS arm64,Node 24.22.1、pnpm 10.0.0、Rust 1.97.1。完整锁文件安装后,Contracts、API Client、Daemon 和 CLI 的 `build:ci`/`typecheck:ci` 通过。 | diff --git a/docs/design/ling-app-server.md b/docs/design/ling-app-server.md index a57405e9f..519f2315c 100644 --- a/docs/design/ling-app-server.md +++ b/docs/design/ling-app-server.md @@ -2,7 +2,7 @@ - **状态** 目标态设计,待实施 - **维护者** Daemon、Conversation、Workspace 与开发工具维护者 -- **核对基线** 2026-11-21,`origin/main@50f73b852` +- **核对基线** 2026-11-22,`origin/main@a9dd29921` - **类型** 产品与架构合同 - **代码锚点** [Daemon RPC](../../packages/daemon/src/server/rpc.ts) · [普通会话入口](../../packages/daemon/src/features/conversations/routes.ts) · [Goal 验收](../../packages/core/src/storage/sqlite/goal-acceptance.ts) diff --git a/packages/daemon/src/features/automations/scheduler.ts b/packages/daemon/src/features/automations/scheduler.ts index 9ec7b3314..465444aca 100644 --- a/packages/daemon/src/features/automations/scheduler.ts +++ b/packages/daemon/src/features/automations/scheduler.ts @@ -470,6 +470,19 @@ export class AutomationSchedulerRegistry { } const message = error instanceof Error ? error.message : String(error); if (coordination) { + if (message === "coordination_schedule_stale") { + // A policy or definition revision changed after this timer was armed. + // Refresh the durable schedule without consuming an occurrence that + // never reached the coordination store. + executionEntered = false; + const current = this.storeRegistry.getStore(entry.state.cwd).getAutomationDefinition(automationId); + if (current && current.status === "enabled" && current.trigger.type === "schedule") { + this.scheduleAutomation(entry, current, new Date()); + } else { + this.removeTimer(entry, automationId); + } + return; + } retryCoordination = true; this.upsertItem(entry, { automationId, title: coordination.title, lastErrorMessage: message }); return; From ac8f7e029da4b962339e9d67845e154a22a81661 Mon Sep 17 00:00:00 2001 From: tianxiaochannel-oss88 Date: Sun, 22 Nov 2026 15:13:18 +0800 Subject: [PATCH 009/147] test(api-client): cover App Server workflow methods --- packages/api-client/test/app-server.test.ts | 42 +++++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/packages/api-client/test/app-server.test.ts b/packages/api-client/test/app-server.test.ts index 9e6753ee8..6f702c73c 100644 --- a/packages/api-client/test/app-server.test.ts +++ b/packages/api-client/test/app-server.test.ts @@ -66,6 +66,8 @@ class FakeSocket implements LingAppServerSocket { params: { subscriptionId: this.subscriptionId, cursor, event: seq === undefined ? undefined : { seq } }, })); } + } else { + this.emit("message", JSON.stringify({ jsonrpc: "2.0", id: request.id, result: {} })); } }); } @@ -156,6 +158,46 @@ test("Ling App Server client reconnects and resumes subscriptions from the lates client.close(); }); +test("Ling App Server client routes the development, delivery, grant, worktree and coordination methods", async () => { + const socket = new FakeSocket(); + const client = new LingAppServerClient({ + url: "ws://fixture/app-server/rpc", + createSocket: () => socket, + clientInfo: { name: "fixture-client", version: "1" }, + }); + await client.connect(); + await client.createGrant({ label: "fixture", subject: { kind: "workspace" }, scopes: ["observe"], + expiresAt: "2099-01-01T00:00:00.000Z", credentialSha256: "0".repeat(64), idempotencyKey: "grant-1" }); + await client.listGrants(); + await client.revokeGrant("grant-1", 1); + await client.createHandoff({ threadId: "thread", turnId: "turn", idempotencyKey: "handoff-1", nextInstruction: "continue" }); + await client.readHandoff({ handoffId: "handoff" }); + await client.resumeHandoff({ handoffId: "handoff", providerPresetId: "provider" }); + await client.readGitHubSubject({ repository: "ling-stack-org/ling-stack", kind: "issue", number: 1 }); + await client.reconcileGitHubDelivery({ workItemId: "item", threadId: "thread", expectedWorkItemRevision: 1, + candidateDigest: "candidate", repository: "ling-stack-org/ling-stack", pullRequestNumber: 1 }); + await client.readGitHubDelivery({ workItemId: "item" }); + await client.readGitHubDelivery({ workItemId: "item", deliveryId: "delivery" }); + await client.readCoordinationSchedule({ automationId: "automation", workItemId: "item" }); + await client.setCoordinationSchedule({ automationId: "automation", workItemId: "item", expectedRevision: 0, + enabled: true, kind: "checkpoint", durationMs: 1000 }); + await client.createWorkItem({ sourceId: "source", title: "Fixture" }); + await client.acceptWorkItem({ workItemId: "item", expectedWorkItemRevision: 1, idempotencyKey: "accept" }); + await client.captureChanges(); + await client.listWorktrees(); + await client.createWorktree({ ownerKind: "teammate", ownerId: "thread" }); + await client.refreshWorktree({ ownerKind: "teammate", ownerId: "thread" }); + await client.previewWorktreeCleanup({ ownerKind: "teammate", ownerId: "thread" }); + await client.cleanupWorktree({ ownerKind: "teammate", ownerId: "thread", expectedRevision: "revision", confirmed: true }); + assert.deepEqual(socket.sent.filter(request => request.id !== undefined).slice(1).map(request => request.method), [ + "server/grants/create", "server/grants/list", "server/grants/revoke", "handoff/create", "handoff/read", "handoff/resume", + "github/subject/read", "github/delivery/reconcile", "workItem/delivery/read", "delivery/read", + "workItem/coordination/schedule/read", "workItem/coordination/schedule/set", "workItem/create", "workItem/accept", + "changes/capture", "worktree/list", "worktree/create", "worktree/refresh", "worktree/cleanup/preview", "worktree/cleanup", + ]); + client.close(); +}); + async function waitForCondition(predicate: () => boolean): Promise { const deadline = Date.now() + 1_000; while (!predicate()) { From 1b620ee2a1d4bba9b3e3470543fb5e340cc12195 Mon Sep 17 00:00:00 2001 From: tianxiaochannel-oss88 Date: Sun, 22 Nov 2026 15:22:11 +0800 Subject: [PATCH 010/147] docs(app-server): align implementation status --- docs/design/ling-agent-operating-model-detailed-design.md | 2 +- docs/design/ling-agent-operating-model.md | 2 +- docs/design/ling-app-server.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/design/ling-agent-operating-model-detailed-design.md b/docs/design/ling-agent-operating-model-detailed-design.md index 691ee45d9..9abca384f 100644 --- a/docs/design/ling-agent-operating-model-detailed-design.md +++ b/docs/design/ling-agent-operating-model-detailed-design.md @@ -1,6 +1,6 @@ # Ling Agent Operating Model 详细设计 -- **Status** 目标态详细设计,待实施 +- **Status** 目标态详细合同,运行时实现状态见 App Server 实施计划 - **Owner** Conversation、Core、Daemon、External Agent、GitHub Automation 与开发工具维护者 - **Last verified** 2026-11-22 against `origin/main@a9dd29921` - **Document type** 跨域状态、授权、事件与恢复详细设计 diff --git a/docs/design/ling-agent-operating-model.md b/docs/design/ling-agent-operating-model.md index 2b5036c33..e2eac8edc 100644 --- a/docs/design/ling-agent-operating-model.md +++ b/docs/design/ling-agent-operating-model.md @@ -1,6 +1,6 @@ # Ling Agent Operating Model -- **Status** 目标态整合设计,待实施 +- **Status** 目标态整合合同,运行时实现状态见 App Server 实施计划 - **Owner** Conversation、Teammate、Workflow、External Agent、GitHub Automation 与开发工具维护者 - **Last verified** 2026-11-22 against `origin/main@a9dd29921` - **Document type** 产品整合合同 diff --git a/docs/design/ling-app-server.md b/docs/design/ling-app-server.md index 519f2315c..e1fccfd8a 100644 --- a/docs/design/ling-app-server.md +++ b/docs/design/ling-app-server.md @@ -1,6 +1,6 @@ # Ling App Server 与开发工作流 -- **状态** 目标态设计,待实施 +- **状态** 目标态合同,运行时实现状态见实施计划 - **维护者** Daemon、Conversation、Workspace 与开发工具维护者 - **核对基线** 2026-11-22,`origin/main@a9dd29921` - **类型** 产品与架构合同 From 87577e0e590dc422e45ef9fcd84d4068e9e16769 Mon Sep 17 00:00:00 2001 From: tianxiaochannel-oss88 Date: Sun, 22 Nov 2026 15:43:15 +0800 Subject: [PATCH 011/147] feat(dev-workflow): present scoped project rules during Pi runs --- .../design/ling-app-server-detailed-design.md | 2 + .../ling-app-server-implementation-plan.md | 3 +- packages/contracts/src/app-server.ts | 9 ++ packages/core/src/app-server-state-types.ts | 2 +- .../sqlite/ling-thread-cleanup-store.ts | 4 + .../conversations/project-instructions.ts | 40 +++-- .../runtime-project-instructions.ts | 138 ++++++++++++++++++ .../daemon/src/features/runs/orchestrator.ts | 15 +- .../daemon/src/features/runs/patch-actions.ts | 2 +- .../src/server/app-server-authorization.ts | 5 +- packages/daemon/src/server/rpc.ts | 4 + .../app-server-release-acceptance.test.ts | 76 ++++++++++ packages/runner-pi/src/task-boundary.ts | 12 +- packages/runner-pi/src/types.ts | 2 + 14 files changed, 290 insertions(+), 24 deletions(-) create mode 100644 packages/daemon/src/features/conversations/runtime-project-instructions.ts diff --git a/docs/design/ling-app-server-detailed-design.md b/docs/design/ling-app-server-detailed-design.md index 5c1f9376c..0d7a9cffc 100644 --- a/docs/design/ling-app-server-detailed-design.md +++ b/docs/design/ling-app-server-detailed-design.md @@ -250,6 +250,8 @@ sequenceDiagram 4. Skill 显式调用或建议调用都经过现有有效绑定检查。记录定义 revision、来源 checksum、工具和能力要求以及配方引用。带副作用的动作走对应工具或工作流授权。可信 Hook 使用现有 workspace digest pin 和规划策略,记录失败、阻塞和执行时序。 5. `instructions/init` 使用当前仓库资料提案,含来源和可预览补丁。只读 Doctor 报规则优先级、配置冲突、受信配方、工具缺失和状态。初始化补丁经现有改动应用服务处理。独立模型审查从基线 SHA 取适用 `Code Review Rules` 或选定的 `REVIEW.md`,记录版本并覆盖变更位置。 +普通 Pi 会话根据结构化文件工具的目标路径发现新增目录规则。规则内容随 Run 封存,并在下一次任务模型请求进入 Provider 适配器前参与上下文容量计算。新范围内的 `edit` 和 `write` 会等到这次模型请求受理再重试。相同 Run 使用首次发现的规则版本。`context/inspect` 返回开工规则和运行中增加的来源摘要,Thread 事件分别报告发现和模型请求受理。 [运行中的项目规则](../../packages/daemon/src/features/conversations/runtime-project-instructions.ts) + ### 3.2 候选、验证计划和结果 候选引用包括 `workspaceId`、`worktreeId`、`baseCommit`、`headCommit`、`candidateDigest`、相关文件范围与覆盖状态。Daemon 从 Git 事实及授权范围内的工作树内容计算候选,包括声明要交付的未暂存和未跟踪改动,复用 Code Assessment 的双次采集和范围保护。文件移动、截断、敏感或不可读内容有明确的覆盖原因。发布证据绑定当前候选和实际输入,审查的脱敏视图另带其自身 digest。 diff --git a/docs/design/ling-app-server-implementation-plan.md b/docs/design/ling-app-server-implementation-plan.md index ca0788e26..1be564201 100644 --- a/docs/design/ling-app-server-implementation-plan.md +++ b/docs/design/ling-app-server-implementation-plan.md @@ -18,6 +18,7 @@ ### 项目约定与验证 - 内置 `init-project-instructions` 和 `verify-current-changes` 技能通过 CLI 预览项目约定、捕获候选、生成计划、启动检查并读取状态。应用初始化草稿需要当前预览 revision 和 operator 授权。 +- 普通 Pi 会话进入新目录时可发现并封存逐级项目规则。验收验证首次写入等待模型收到子目录规则、第二次写入生效,以及重启后从 Thread 游标读取原规则凭据。 - Host 登记的 Verify 配方可以选择受影响路径,并把独立 verifier source 的摘要、coverage 和 producer refs 封存到每个检查结果。 - Goal 的 `verification_passed` 条件要求同一 Thread 的已完成 Verify operation、当前候选摘要、匹配的 verifier basis、coverage 和 producer refs。候选漂移、检查来源漂移、缺少独立证据和过期的接受版本都会阻止完成。 - App Server 可以为已绑定的频道或队友会话创建、刷新和归档托管工作树。归档按检视过的候选和目录身份校验,恢复日志保留同一预览请求的归档快照。 @@ -47,7 +48,7 @@ | 工作包 | 代码或验收差距 | | --- | --- | | A1、B1、C1、C2 | 全方法的 Schema 校验和更多宿主兼容组合。workspace、Thread、Work Item 的 grant 和 WSS 已接入,审批和用户答复仍需按不同真实宿主与远程部署做验收。App Server 目标游标已绑定存储代次、授权代次和目标,现有兼容用例覆盖本机的上一版源码与候选组合。 | -| D1、D2、E1、E2 | 开工时的项目规则加载、两个开发 Skill、工作区 Verify、独立 verifier basis、托管工作树管理和外部 GitHub 合并结果验收已接入。仍需运行中进入新目录的局部规则、候选补丁的应用预览和提交、浏览器/平台配方,以及 UI 运行报告。 | +| D1、D2、E1、E2 | 开工与 Pi 运行中的项目规则加载、两个开发 Skill、工作区 Verify、独立 verifier basis、托管工作树管理和外部 GitHub 合并结果验收已接入。仍需显式导入 Claude 规则、候选补丁的应用预览和提交、浏览器/平台配方,以及 UI 运行报告。 | | F1、F2 | 普通会话已接入 Handoff 的候选封存和接手。仍需跨 Agent Workflow 的执行归属和预算承接。已有 Codex MCP 联调,双端宿主界面和授权变更后重订阅需要实测。 | | O1、O3–O9 | GitHub webhook/poll 归并与派发、自治接单、合并队列、经验和设备反馈、阶段简报、在途改计划、交接、审议裁决和跨 Run 预算。现有工作项状态、会话首发、定时轮次和 GitHub 实际合并核对已有对应回归。仍需接入原 Workflow 并完成联合 UI 验收。 | | G | 自研切换和回退日志对账、签名安装产物、远程 WSS 和三个真实 Provider 自研试点。macOS 打包预检仍缺当前打包输入的 Office 审查、对应 Electron/OS 的受限运行时审查和 gstack 平台资源。T01 离线预检达到评审条件,真实试点仍需按 Framework Assurance 准入。 | diff --git a/packages/contracts/src/app-server.ts b/packages/contracts/src/app-server.ts index 1b745b846..5a5c6c027 100644 --- a/packages/contracts/src/app-server.ts +++ b/packages/contracts/src/app-server.ts @@ -222,6 +222,7 @@ export const LING_APP_SERVER_NOTIFICATION_METHODS = [ "turn/status/changed", "turn/completed", "turn/plan/updated", + "turn/projectInstructions/updated", "turn/diff/updated", "item/started", "item/delta", @@ -1141,6 +1142,7 @@ export interface LingAppServerInstructionSource { readonly digest: string; readonly scope: string; readonly applicable: boolean; + readonly textBytes?: number; } export interface LingAppServerProjectInstructionManifest { @@ -1193,9 +1195,16 @@ export interface LingAppServerContextInspectParams extends LingAppServerThreadSn export interface LingAppServerContextInspectResult extends Omit { readonly cwd: string; readonly projectInstructions: LingAppServerProjectInstructionManifest | null; + readonly projectInstructionUpdates?: readonly LingAppServerProjectInstructionUpdate[]; readonly context: ConversationContextProjectionMetadata | null; } +export interface LingAppServerProjectInstructionUpdate { + readonly runId: string; + readonly manifest: LingAppServerProjectInstructionManifest; + readonly presentedSourceCount: number; +} + export interface LingAppServerInstructionsInitResult { readonly proposalId: string; readonly status: "draft" | "applied" | "blocked"; diff --git a/packages/core/src/app-server-state-types.ts b/packages/core/src/app-server-state-types.ts index a9497dfcb..1d0f9b9da 100644 --- a/packages/core/src/app-server-state-types.ts +++ b/packages/core/src/app-server-state-types.ts @@ -4,7 +4,7 @@ export type AppServerStateKind = "verify_plan" | "verify_operation" | "review_su | "simplify_submission" | "external_federation" | "work_item_creation" | "work_item_acceptance" | "work_item_control" | "replay_identity" | "handoff" | "authorization_grant" | "work_item_target" | "work_item_source" | "github_delivery" | "github_delivery_current" | "work_item_thread" - | "automation_coordination" | "coordination_round" | "coordination_automation_run"; + | "automation_coordination" | "coordination_round" | "coordination_automation_run" | "project_instruction_update"; export interface AppServerStateRecord { readonly workspaceId: string; diff --git a/packages/core/src/storage/sqlite/ling-thread-cleanup-store.ts b/packages/core/src/storage/sqlite/ling-thread-cleanup-store.ts index dbdc518e5..b2c755b19 100644 --- a/packages/core/src/storage/sqlite/ling-thread-cleanup-store.ts +++ b/packages/core/src/storage/sqlite/ling-thread-cleanup-store.ts @@ -91,6 +91,10 @@ export class SqliteLingThreadCleanupStore { stringifyJson(tombstone.deletedCounts), tombstone.createdAt, ); + this.context.database.prepare(`DELETE FROM app_server_state WHERE workspace_id = ? + AND kind = 'project_instruction_update' AND record_id IN ( + SELECT id FROM run_sessions WHERE thread_id = ? + )`).run(thread.workspaceId, threadId); this.context.database.prepare("UPDATE run_sessions SET thread_id = NULL, updated_at = ? WHERE thread_id = ?").run(now, threadId); this.context.database.prepare("DELETE FROM ling_thread_proposed_plans WHERE workspace_id = ? AND thread_id = ?").run(DEFAULT_WORKSPACE_ID, threadId); this.context.database.prepare("DELETE FROM ling_thread_goals WHERE workspace_id = ? AND thread_id = ?").run(DEFAULT_WORKSPACE_ID, threadId); diff --git a/packages/daemon/src/features/conversations/project-instructions.ts b/packages/daemon/src/features/conversations/project-instructions.ts index 02372e6f5..86fcf7712 100644 --- a/packages/daemon/src/features/conversations/project-instructions.ts +++ b/packages/daemon/src/features/conversations/project-instructions.ts @@ -8,8 +8,8 @@ import { HttpError } from "../../errors.js"; import type { RunRequest } from "../runs/schemas.js"; const maxSourceBytes = 24 * 1024; -const maxManifestBytes = 48 * 1024; -const maxScopes = 32; +export const maxProjectInstructionBytes = 48 * 1024; +export const maxProjectInstructionScopes = 32; export async function withProjectInstructions(workspaceCwd: string, request: RunRequest): Promise { const rules = await collectProjectInstructions(workspaceCwd, [resolve(request.cwd), @@ -25,7 +25,11 @@ export async function withProjectInstructions(workspaceCwd: string, request: Run appendSystemPrompt: [...(request.appendSystemPrompt ?? []), ...prompt] }; } -export async function collectProjectInstructions(workspaceCwd: string, scopePaths: readonly string[] = []) { +export async function collectProjectInstructions(workspaceCwd: string, scopePaths: readonly string[] = [], limits?: { + readonly frozenScopes: ReadonlySet; + readonly remainingBytes: number; + readonly remainingSources: number; +}) { const root = await realpath(workspaceCwd); const openedPath = resolve(workspaceCwd); const scopes = new Set([root]); @@ -38,7 +42,7 @@ export async function collectProjectInstructions(workspaceCwd: string, scopePath for (let directory = candidate; directory !== root; directory = dirname(directory)) lineage.push(directory); for (const directory of lineage.reverse()) { if (scopes.has(directory)) continue; - if (scopes.size >= maxScopes || await realpath(directory).catch(() => undefined) !== directory) { + if (scopes.size >= maxProjectInstructionScopes || await realpath(directory).catch(() => undefined) !== directory) { omitted.push(relative(root, directory)); break; } @@ -48,31 +52,37 @@ export async function collectProjectInstructions(workspaceCwd: string, scopePath const sources: LingAppServerInstructionSource[] = []; const prompt: string[] = []; - let availableBytes = maxManifestBytes; + let availableBytes = limits?.remainingBytes ?? maxProjectInstructionBytes; for (const scope of scopes) { + const relativeScope = relative(root, scope) || "."; + if (limits?.frozenScopes.has(relativeScope)) continue; for (const basename of ["AGENTS.override.md", "AGENTS.md"]) { const path = relative(root, resolve(scope, basename)); const source = await readProjectText(root, path); if (source === undefined) continue; - const applicable = typeof source === "string" && Buffer.byteLength(source, "utf8") <= availableBytes; - if (typeof source === "string") { - sources.push({ path, scope: relative(root, scope) || ".", digest: textDigest(source), applicable }); + const textBytes = typeof source === "string" ? Buffer.byteLength(source, "utf8") : undefined; + const canRecord = !limits || sources.length < limits.remainingSources; + const applicable = textBytes !== undefined && textBytes <= availableBytes && canRecord; + if (typeof source === "string" && canRecord) { + sources.push({ path, scope: relativeScope, digest: textDigest(source), applicable, textBytes }); if (applicable) { - availableBytes -= Buffer.byteLength(source, "utf8"); - prompt.push(`Project conventions from ${JSON.stringify(path)}, applicable within ${JSON.stringify(relative(root, scope) || ".")}. Follow the user's request and workspace policy.\n${redactSecrets(source)}`); + availableBytes -= textBytes; + prompt.push(`Project conventions from ${JSON.stringify(path)}, applicable within ${JSON.stringify(relativeScope)}. Follow the user's request and workspace policy.\n${redactSecrets(source)}`); } } if (!applicable) omitted.push(path); break; } } - const uniqueOmissions = [...new Set(omitted)]; - const manifest: LingAppServerProjectInstructionManifest = { - version: 1, sources, omitted: uniqueOmissions, digest: textDigest(JSON.stringify([sources, uniqueOmissions])), - }; + const manifest = projectInstructionManifest(sources, [...new Set(omitted)]); return { root, manifest, prompt }; } +export function projectInstructionManifest(sources: readonly LingAppServerInstructionSource[], + omitted: readonly string[]): LingAppServerProjectInstructionManifest { + return { version: 1, sources, omitted, digest: textDigest(JSON.stringify([sources, omitted])) }; +} + export async function projectInstructionDirectory(workspaceCwd: string, taskPath?: string): Promise { const root = await realpath(workspaceCwd); const target = resolve(root, taskPath ?? "."); @@ -116,7 +126,7 @@ export function textDigest(value: string): string { return createHash("sha256").update(value).digest("hex"); } -function isInside(root: string, path: string): boolean { +export function isInside(root: string, path: string): boolean { const child = relative(root, path); return child !== ".." && !child.startsWith(`..${sep}`) && !isAbsolute(child); } diff --git a/packages/daemon/src/features/conversations/runtime-project-instructions.ts b/packages/daemon/src/features/conversations/runtime-project-instructions.ts new file mode 100644 index 000000000..73332ab62 --- /dev/null +++ b/packages/daemon/src/features/conversations/runtime-project-instructions.ts @@ -0,0 +1,138 @@ +import { lstat, realpath } from "node:fs/promises"; +import { dirname, resolve } from "node:path"; +import type { LingAppServerProjectInstructionManifest, LingAppServerProjectInstructionUpdate } from "@ling-stack/contracts"; +import { DEFAULT_WORKSPACE_ID, parseApplyPatch, redactSecrets, type RunSession, type RunStore } from "@ling-stack/core"; +import type { PiRunnerRunOptions } from "@ling-stack/runner-pi"; +import { isRecord } from "../../shared/validation.js"; +import { trimOversizedEvent, type ControlPlaneEventHub } from "../control-plane/events.js"; +import { readPatchText } from "../runs/patch-actions.js"; +import { collectProjectInstructions, isInside, maxProjectInstructionBytes, maxProjectInstructionScopes, + projectInstructionManifest } from "./project-instructions.js"; + +interface StoredInstructions extends LingAppServerProjectInstructionUpdate { + readonly threadId: string; + readonly prompt: readonly string[]; +} + +type ToolCheck = NonNullable; +type ProjectContext = NonNullable; + +export function createRuntimeProjectInstructions(input: { + readonly store: RunStore; + readonly run: RunSession; + readonly cwd: string; + readonly threadId: string; + readonly turnId: string; + readonly prepared?: LingAppServerProjectInstructionManifest; + readonly extraSecrets: readonly (string | undefined)[]; + readonly events?: ControlPlaneEventHub; + readonly assertCurrent: () => void; +}): { readonly checkTool: ToolCheck; readonly projectContext: ProjectContext } { + const { store, run, threadId, turnId } = input; + const initial = input.prepared?.sources ?? []; + const retained = store.getAppServerState("project_instruction_update", run.id); + let revision = retained?.revision ?? 0; + let state = retained?.payload as StoredInstructions | undefined ?? { + runId: run.id, threadId, manifest: projectInstructionManifest([], []), prompt: [], presentedSourceCount: 0, + }; + let discoveries: Promise = Promise.resolve(); + + function save(next: StoredInstructions, action: "discovered" | "presented"): void { + input.assertCurrent(); + const saved = store.putAppServerState({ + kind: "project_instruction_update", recordId: run.id, expectedRevision: revision, payload: next, + }, new Date().toISOString(), { + workspaceId: DEFAULT_WORKSPACE_ID, cwd: input.cwd, domain: "runs", entityType: "turn", entityId: turnId, + action: `turn.project_instructions.${action}`, + data: { threadId, turnId, runId: run.id, revision: revision + 1, + manifestDigest: next.manifest.digest, presentedSourceCount: next.presentedSourceCount }, + }); + if (!saved) throw new Error("Project instruction evidence changed during execution."); + revision = saved.record.revision; + state = next; + if (saved.event) input.events?.publish(trimOversizedEvent(saved.event)); + } + + const checkTool: ToolCheck = request => { + const paths = scopedToolPaths(request); + if (!paths.length) return { allowed: true }; + const mutates = request.toolName === "edit" || request.toolName === "write"; + const next = discoveries.then(async () => { + const root = await realpath(input.cwd); + const executionRoot = await realpath(run.cwd); + if (!isInside(root, executionRoot)) return { allowed: true } as const; + const directories = (await Promise.all(paths.map(path => instructionDirectory(root, executionRoot, path, mutates)))) + .filter((directory): directory is string => directory !== undefined); + if (!directories.length) return { allowed: true } as const; + const known = [...initial, ...state.manifest.sources]; + const usedBytes = known.reduce((sum, source) => sum + (source.applicable ? source.textBytes ?? 0 : 0), 0); + const rules = await collectProjectInstructions(root, directories, { + frozenScopes: new Set(known.map(source => source.scope)), + remainingBytes: maxProjectInstructionBytes - usedBytes, + remainingSources: maxProjectInstructionScopes - known.length, + }); + const omitted = [...new Set([...state.manifest.omitted, ...rules.manifest.omitted])].slice(0, maxProjectInstructionScopes); + if (rules.manifest.sources.length || omitted.length !== state.manifest.omitted.length) { + save({ ...state, + manifest: projectInstructionManifest([...state.manifest.sources, ...rules.manifest.sources], omitted), + prompt: [...state.prompt, ...rules.prompt.map(prompt => String(redactSecrets(prompt, input.extraSecrets)))], + }, "discovered"); + } + input.assertCurrent(); + if (!mutates) return { allowed: true }; + const affectsDirectory = (scope: string) => directories.some(directory => isInside(resolve(root, scope), directory)); + if (rules.manifest.omitted.length || state.manifest.sources.some(source => !source.applicable && affectsDirectory(source.scope))) { + return { allowed: false, code: "project_instructions_unavailable", reason: "Project conventions in this scope could not be loaded." }; + } + const unpresented = state.manifest.sources.filter(source => source.applicable).slice(state.presentedSourceCount); + return unpresented.some(source => affectsDirectory(source.scope)) + ? { allowed: false, code: "project_instructions_pending", reason: "Scoped project conventions are included in your next model request. Review them before retrying this edit." } + : { allowed: true }; + }) satisfies Promise>>; + discoveries = next.catch(() => undefined); + return next; + }; + + const projectContext: ProjectContext = () => { + const { prompt } = state; + if (!prompt.length) return undefined; + return { + prompt: prompt.join("\n\n"), + onAdmitted() { + if (prompt.length > state.presentedSourceCount) save({ ...state, presentedSourceCount: prompt.length }, "presented"); + }, + }; + }; + return { checkTool, projectContext }; +} + +export function readRuntimeProjectInstructions(store: RunStore, turnId: string): LingAppServerProjectInstructionUpdate[] { + return store.listLingTurnRuns(turnId).slice(-16).flatMap(({ runId }) => { + const record = store.getAppServerState("project_instruction_update", runId)?.payload as StoredInstructions | undefined; + return record ? [{ runId, manifest: record.manifest, presentedSourceCount: record.presentedSourceCount }] : []; + }); +} + +function scopedToolPaths(request: Parameters[0]): readonly string[] { + if (!["read", "grep", "find", "ls", "edit", "write"].includes(request.toolName) || !isRecord(request.input)) return []; + const patch = readPatchText(request.toolName, request.input); + if (patch) return parseApplyPatch(patch).operations.map(operation => operation.path); + return typeof request.input.path === "string" && request.input.path.trim() ? [request.input.path] : []; +} + +async function instructionDirectory(root: string, cwd: string, path: string, mutates: boolean): Promise { + let target = resolve(cwd, !mutates && path.startsWith("@") ? path.slice(1) : path); + while (isInside(root, target)) { + const canonical = await realpath(target).catch(error => { + if ((error as NodeJS.ErrnoException).code === "ENOENT") return undefined; + throw error; + }); + if (canonical) { + if (!isInside(root, canonical)) return undefined; + return (await lstat(canonical)).isDirectory() ? canonical : dirname(canonical); + } + if (target === root) break; + target = dirname(target); + } + return undefined; +} diff --git a/packages/daemon/src/features/runs/orchestrator.ts b/packages/daemon/src/features/runs/orchestrator.ts index fbb59817f..cb0554ec0 100644 --- a/packages/daemon/src/features/runs/orchestrator.ts +++ b/packages/daemon/src/features/runs/orchestrator.ts @@ -193,6 +193,7 @@ import type { RunExecutionSink } from "./run-execution-sink.js"; export { createDetachedRunExecutionSink, createSseRunExecutionSink, type RunExecutionSink } from "./run-execution-sink.js"; import { prepareNormalConversationExecution, readNormalConversationPreparedExecution, restoreNormalConversationExecutionOptions, assertPreparedExecutionMemoryCurrent } from "../conversations/normal-conversation-prepared-execution.js"; +import { createRuntimeProjectInstructions } from "../conversations/runtime-project-instructions.js"; import { assertPreparedRunnerMemoryCurrent, capturePreparedRunnerInput, @@ -3495,8 +3496,20 @@ async function executeAdmittedRunRequest( signal: abortController.signal, }) : undefined; + const projectInstructions = runRequest.normalConversationContext && thread.kind === "conversation" && !delegatedExecution + && runnerResolution.runner.adapter instanceof PiRunnerAdapter ? createRuntimeProjectInstructions({ + store, run, cwd: workspaceCwd, threadId: thread.id, turnId: turn.id, prepared: runRequest.projectInstructionManifest, + events: options.controlPlaneEvents, extraSecrets: resolvedSecretValues, + assertCurrent() { + assertCurrentRunAdmission(); + if (!store.isCurrentRunExecutionOwner(run.id, runnerCallbackFence)) { + throw new Error("The project instruction discovery no longer owns the Run."); + } + }, + }) : undefined; const boundRunnerRequest: PiRunnerRunOptions = { ...runnerRequest, + ...(projectInstructions ? { projectInstructionContext: projectInstructions.projectContext } : {}), ...(!isolatedExecution && runnerResolution.runner.adapter instanceof PiRunnerAdapter && runtimeSupervisor.getHarnessFeatures().delegations.mode !== "off" && (!run.parentRunId || delegatedExecution) ? { providerBudget: bindOriginalDelegationProviderBudget({ store, run, attempt, originalProvider: activeProvider }) } : {}), ...(delegationRunnerToolHandler ? { onDelegationToolCall: delegationRunnerToolHandler } : {}), @@ -3551,7 +3564,7 @@ async function executeAdmittedRunRequest( const hostRejection = hostCapabilityAuthority?.check({ ...request, task: runnerRequest.task }); if (hostRejection) return { allowed: false, code: hostRejection.code, reason: hostRejection.reason }; } - return { allowed: true }; + return projectInstructions?.checkTool(request) ?? { allowed: true }; }, onApprovalRequired: async (request) => { const definition = mcpTools.find((tool) => tool.registeredName === request.toolName); diff --git a/packages/daemon/src/features/runs/patch-actions.ts b/packages/daemon/src/features/runs/patch-actions.ts index 5bd62c920..418aa7195 100644 --- a/packages/daemon/src/features/runs/patch-actions.ts +++ b/packages/daemon/src/features/runs/patch-actions.ts @@ -403,7 +403,7 @@ function clonePatchPlan(plan: PatchPlan): PatchPlan { }; } -function readPatchText(toolName: string, input: unknown): string | undefined { +export function readPatchText(toolName: string, input: unknown): string | undefined { if (toolName !== "edit" && toolName !== "write") { return undefined; } diff --git a/packages/daemon/src/server/app-server-authorization.ts b/packages/daemon/src/server/app-server-authorization.ts index 2a529f843..0589cdb9c 100644 --- a/packages/daemon/src/server/app-server-authorization.ts +++ b/packages/daemon/src/server/app-server-authorization.ts @@ -111,10 +111,7 @@ const workItemReads = new Set([ "workItem/message/read", "workItem/message/list", "workItem/question/read", "workItem/handoff/read", "workItem/coordination/schedule/read", ]); -const workItemControls = new Set([ - "workItem/pause", "workItem/resume", "workItem/cancel", "workItem/accept", - "workItem/coordination/schedule/set", -]); +const workItemControls = new Set(["workItem/pause", "workItem/resume", "workItem/cancel"]); export function grantAllowsMethod(grant: LingAppServerGrant, method: string): boolean { if (serverMethods.has(method)) return true; diff --git a/packages/daemon/src/server/rpc.ts b/packages/daemon/src/server/rpc.ts index 029702f4e..8cfa120d7 100644 --- a/packages/daemon/src/server/rpc.ts +++ b/packages/daemon/src/server/rpc.ts @@ -55,6 +55,7 @@ import { prepareConversationSubmission } from "../features/conversations/convers import { parseConversationStreamRequest } from "../features/conversations/routes.js"; import { readConversationSubmission } from "../features/conversations/submission-receipts.js"; import { readNormalConversationPreparedRequest } from "../features/conversations/normal-conversation-prepared-request.js"; +import { readRuntimeProjectInstructions } from "../features/conversations/runtime-project-instructions.js"; import { CONTROL_PLANE_POLL_DEFAULT_LIMIT, CONTROL_PLANE_POLL_MAX_LIMIT, @@ -1469,7 +1470,9 @@ class RpcConnection { const turn = store.getLingTurn(turnId); if (!turn || turn.threadId !== threadId) throw rpcError(-32040, "workspace_binding_invalid", "Turn is outside the supplied Thread."); const request = turn.sourceItemId ? readNormalConversationPreparedRequest(store, turn.sourceItemId) : undefined; + const projectInstructionUpdates = readRuntimeProjectInstructions(store, turnId); return { cwd, threadId, turnId, projectInstructions: request?.projectInstructionManifest ?? null, + ...(projectInstructionUpdates.length ? { projectInstructionUpdates } : {}), context: request?.normalConversationContext?.projection ?? null }; } @@ -3004,6 +3007,7 @@ function appServerEventMethod(event: ControlPlaneEvent): string | undefined { if (event.entityType === "turn") { if (event.action === "turn.started") return "turn/started"; if (event.action === "turn.completed") return "turn/completed"; + if (event.action.startsWith("turn.project_instructions.")) return "turn/projectInstructions/updated"; if (event.action.includes("plan")) return "turn/plan/updated"; if (event.action.includes("diff")) return "turn/diff/updated"; if (event.action.startsWith("turn.")) return "turn/status/changed"; diff --git a/packages/daemon/test/app-server-release-acceptance.test.ts b/packages/daemon/test/app-server-release-acceptance.test.ts index af25ebf6c..bde0d321e 100644 --- a/packages/daemon/test/app-server-release-acceptance.test.ts +++ b/packages/daemon/test/app-server-release-acceptance.test.ts @@ -386,6 +386,71 @@ test("App Server submits a durable Turn through the configured Pi Runner and rep && notice.params?.subject?.threadId === request.threadId)); }); +test("Pi receives scoped project instructions before editing a newly discovered directory", { timeout: 20_000 }, async t => { + const fixture = await releaseFixture(t); + const instructions = join(fixture.cwd, "feature/AGENTS.override.md"); + const target = join(fixture.cwd, "feature/status.txt"); + await mkdir(join(fixture.cwd, "feature")); + await writeFile(join(fixture.cwd, "AGENTS.md"), "Run the root verification.\n"); + await writeFile(join(fixture.cwd, "feature/AGENTS.md"), "Unused local fallback.\n"); + await writeFile(instructions, "Feature status must read ready.\n"); + await writeFile(target, "pending\n"); + const provider = await startLoopbackPiProvider(async (body: unknown, count: number) => { + const payload = JSON.stringify(body); + const edit = (newText: string) => ({ tool: "edit", input: { + path: "feature/status.txt", edits: [{ oldText: "pending", newText }], + } }); + if (count === 1) { + assert.doesNotMatch(payload, /Feature status must read ready/u); + return edit("premature"); + } + assert.match(payload, /Feature status must read ready/u); + assert.doesNotMatch(payload, /Unused local fallback|Changed during execution/u); + if (count === 2) { + assert.match(payload, /project_instructions_pending/u); + assert.equal(await readFile(target, "utf8"), "pending\n"); + await writeFile(instructions, "Changed during execution.\n"); + return edit("ready"); + } + assert.equal(await readFile(target, "utf8"), "ready\n"); + return { text: "Feature status is ready." }; + }); + t.after(() => provider.close()); + const client = await fixture.connect(); + const { thread } = await client.call("thread/start", { title: "Scoped project rules" }); + const { cursor } = await client.call("thread/subscribe", { threadId: thread.id }); + const preset = addLoopbackPreset(fixture.getStore(), provider.baseUrl); + const { turn, run } = await client.call<{ turn: { id: string }; run: { id: string } }>("turn/start", { + threadId: thread.id, message: "Prepare the status file", idempotencyKey: "scoped-project-rules", + providerPresetId: preset.id, tools: ["edit"], authorizationMode: "always", workspaceAccessMode: "workspace_write", + }); + const settled = await waitFor(() => { + const current = fixture.getStore().getRun(run.id); + return current?.endedAt ? current : undefined; + }); + assert.equal(settled.status, "succeeded", settled.errorMessage ?? "The scoped edit should succeed after the model receives the rules."); + assert.equal(provider.requests.length, 3); + assert.equal(await readFile(target, "utf8"), "ready\n"); + const query = { threadId: thread.id, turnId: turn.id }; + const context = await client.call("context/inspect", query); + assert.deepEqual(context.projectInstructions?.sources.map(source => source.path), ["AGENTS.md"]); + const [update] = context.projectInstructionUpdates ?? []; + assert.equal(update?.runId, run.id); + assert.equal(update?.presentedSourceCount, 1); + assert.deepEqual(update?.manifest.sources.map(source => source.path), ["feature/AGENTS.override.md"]); + assert.equal(update?.manifest.sources[0]?.digest, createHash("sha256").update("Feature status must read ready.\n").digest("hex")); + assert.equal("prompt" in update!, false); + + await fixture.restart(); + const reconnected = await fixture.connect(); + await reconnected.call("thread/subscribe", { threadId: thread.id, cursor }); + await waitFor(() => reconnected.notices.find(notice => notice.method === "thread/replay/ready")); + assert.deepEqual(await reconnected.call("context/inspect", query), context); + assert.deepEqual(reconnected.notices.filter(notice => notice.method === "turn/projectInstructions/updated").map(notice => notice.params?.event?.action), [ + "turn.project_instructions.discovered", "turn.project_instructions.presented", + ]); +}); + test("a sealed Handoff resumes one new conversation from the current candidate", { timeout: 30_000 }, async t => { const provider = await startLoopbackPiProvider(() => ({ text: "Work recorded." })); t.after(() => provider.close()); @@ -1455,6 +1520,17 @@ test("a scheduled coordination occurrence commits with its round, restores its d assert.equal(skipReceipt.status, "skipped"); assert.equal(skipReceipt.skipReason, "coordination_policy_denied"); assert.equal(fixture.getStore().listRuns().length, 0); + const secret = createHash("sha256").update(randomUUID()).digest("hex"); + const { grant } = await observer.call<{ grant: LingAppServerGrant }>("server/grants/create", { + label: "Work Item coordination observer", subject: { kind: "workItem", id: workItemId }, scopes: ["observe", "control"], + expiresAt: new Date(Date.now() + 60_000).toISOString(), credentialSha256: createHash("sha256").update(secret).digest("hex"), + idempotencyKey: "scoped-coordination", + }); + const scoped = await fixture.connect("/app-server/rpc", fixture.cwd, `las1.${grant.grantId}.${secret}`); + assert.deepEqual(await scoped.call("workItem/coordination/schedule/read", { workItemId, automationId: automation.id }), configured); + await assert.rejects(scoped.call("workItem/coordination/schedule/set", { ...policy, expectedRevision: 1 }), { code: "capability_denied" }); + await assert.rejects(scoped.call("workItem/accept", { workItemId, expectedWorkItemRevision: Number(current.workItem.revision), + dispatch: { threadId: home.id, message: "Start on another thread" }, idempotencyKey: "scoped-accept" }), { code: "capability_denied" }); }); test("Work Item controls commit state, receipt and event together and replay after a later control", { timeout: 20_000 }, async t => { diff --git a/packages/runner-pi/src/task-boundary.ts b/packages/runner-pi/src/task-boundary.ts index 1ce4ee06a..2485d106a 100644 --- a/packages/runner-pi/src/task-boundary.ts +++ b/packages/runner-pi/src/task-boundary.ts @@ -340,17 +340,20 @@ export function createPiTaskBoundary(options: PiRunnerRunOptions, readTaskContex } : undefined; verifyInitialInput?.(); let modelContext: typeof context; + let projectInstructions: ReturnType>; try { const taskContext = readTaskContext?.(); if (taskContext && taskContext.sessionId !== undefined && streamOptions?.sessionId === taskContext.sessionId) { assertPreparedPiModelContext(taskContext.preparedInput, model, context, { allowRestoredMessages: true }); if (firstRequest && options.compactionRecovery) assertCompactionRecoveryModelContext(options.compactionRecovery, context); if (firstRequest && options.ordinaryProgressRecovery) assertOrdinaryProgressRecoveryModelContext(options.ordinaryProgressRecovery, context); + projectInstructions = options.projectInstructionContext?.(); } if (taskContext && getCurrentSystemPrompt(piTranscript(context).messages) === taskContext.systemPrompt && hasCompactionSummary(taskContext.messages)) { assertAcceptedTaskAnchor(context.messages, taskContext.acceptedTaskPrompt); } - modelContext = assertPiModelContextCapacity(model, context); + modelContext = assertPiModelContextCapacity(model, projectInstructions + ? appendProjectInstructions(context, projectInstructions.prompt) : context); if (firstRequest && options.ordinaryProgressRecovery) { // No lossy extra capacity projection may silently change the committed ordinary view. assertOrdinaryProgressRecoveryModelContext(options.ordinaryProgressRecovery, modelContext); @@ -399,6 +402,7 @@ export function createPiTaskBoundary(options: PiRunnerRunOptions, readTaskContex const candidate = next ?? payload; const summaryPayload = applyReasoningSummaryModeToPayload(candidate, requestModel.api, options.reasoningSummary); const reservedPayload = budget.authorize(summaryPayload ?? candidate, requestModel); + projectInstructions?.onAdmitted(); // This wrapper also covers SDK summary streams without an Agent // extension hook. It observes logical admission, not network I/O. invocation.admit(requestModel); @@ -426,6 +430,12 @@ export function createPiTaskBoundary(options: PiRunnerRunOptions, readTaskContex }; } +function appendProjectInstructions(context: Parameters[0], prompt: string) { + const [system, ...messages] = piTranscript(context).messages; + if (system?.role !== "system") throw new Error("The task's system instructions are unavailable."); + return { messages: [{ ...system, sections: { ...system.sections, lingProjectInstructions: prompt } }, ...messages] }; +} + function directiveKind(value: unknown): unknown { if (!value || typeof value !== "object" || Array.isArray(value)) return undefined; if (types.isProxy(value)) throw new Error("Invalid Pi Host continuation directive."); diff --git a/packages/runner-pi/src/types.ts b/packages/runner-pi/src/types.ts index 1d58bba2b..fd32adb54 100644 --- a/packages/runner-pi/src/types.ts +++ b/packages/runner-pi/src/types.ts @@ -551,6 +551,8 @@ export interface PiRunnerRunOptions { readonly reasoningSummary?: PiRunnerReasoningSummaryMode; readonly systemPrompt?: string; readonly appendSystemPrompt?: readonly string[]; + /** Host-owned scoped rules for a task model request, with a receipt at local payload admission. */ + readonly projectInstructionContext?: () => { readonly prompt: string; readonly onAdmitted: () => void } | undefined; readonly agentDir?: string; readonly runtimePaths?: PiRunnerRuntimePaths; readonly runtimeToolFeatures?: PiRunnerRuntimeToolFeatures; From 561f0b62526784d963cdd2ab5e83010d9ca0a9a6 Mon Sep 17 00:00:00 2001 From: tianxiaochannel-oss88 Date: Sun, 22 Nov 2026 15:44:44 +0800 Subject: [PATCH 012/147] test(app-server): verify scoped coordination grants --- packages/daemon/test/app-server-release-acceptance.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/daemon/test/app-server-release-acceptance.test.ts b/packages/daemon/test/app-server-release-acceptance.test.ts index bde0d321e..3047a8893 100644 --- a/packages/daemon/test/app-server-release-acceptance.test.ts +++ b/packages/daemon/test/app-server-release-acceptance.test.ts @@ -1522,7 +1522,7 @@ test("a scheduled coordination occurrence commits with its round, restores its d assert.equal(fixture.getStore().listRuns().length, 0); const secret = createHash("sha256").update(randomUUID()).digest("hex"); const { grant } = await observer.call<{ grant: LingAppServerGrant }>("server/grants/create", { - label: "Work Item coordination observer", subject: { kind: "workItem", id: workItemId }, scopes: ["observe", "control"], + label: "Work Item coordination observer", subject: { kind: "workItem", id: workItemId }, scopes: ["observe"], expiresAt: new Date(Date.now() + 60_000).toISOString(), credentialSha256: createHash("sha256").update(secret).digest("hex"), idempotencyKey: "scoped-coordination", }); From a37952c22a5b060f0b655c8fa7dd259716291ad7 Mon Sep 17 00:00:00 2001 From: tianxiaochannel-oss88 Date: Sun, 22 Nov 2026 16:40:07 +0800 Subject: [PATCH 013/147] feat(app-server): preview Turn recovery and admit verified GitHub suggestions --- ...g-agent-operating-model-detailed-design.md | 4 + .../design/ling-app-server-detailed-design.md | 4 + .../ling-app-server-implementation-plan.md | 6 +- packages/api-client/src/app-server.ts | 36 ++++ packages/contracts/src/app-server.ts | 94 +++++++- packages/contracts/src/index.ts | 1 + packages/contracts/src/settings.ts | 12 ++ packages/core/src/app-server-state-types.ts | 3 +- packages/core/src/automation-event-source.ts | 3 +- packages/core/src/automation-event-types.ts | 14 +- .../storage/sqlite/automation-event-store.ts | 16 +- .../src/storage/sqlite/work-item-store.ts | 15 +- .../sqlite/workspace-settings-store.ts | 5 +- packages/core/src/work-item-types.ts | 5 +- packages/core/src/workspace-types.ts | 2 + .../core/test/ai-teammate-workspace.test.mjs | 9 +- .../src/features/automations/event-ingress.ts | 20 +- .../src/features/automations/event-routes.ts | 10 +- .../src/features/automations/event-worker.ts | 5 +- .../conversations/claude-project-rules.ts | 38 ++++ .../conversations/conversation-submission.ts | 3 +- .../normal-conversation-prepared-request.ts | 4 +- .../conversations/project-instructions.ts | 51 +++-- .../src/features/conversations/routes.ts | 3 +- .../runtime-project-instructions.ts | 38 ++-- .../runs/workspace-change-recovery.ts | 17 +- .../src/features/settings/effective-config.ts | 4 +- packages/daemon/src/index.ts | 8 +- .../daemon/src/server/app-server-changes.ts | 167 ++++++++++++++ .../src/server/app-server-development.ts | 3 +- .../src/server/app-server-github-intake.ts | 171 +++++++++++++++ .../src/server/app-server-github-sources.ts | 19 +- .../src/server/app-server-github-subject.ts | 35 ++- packages/daemon/src/server/rpc.ts | 43 +++- .../app-server-release-acceptance.test.ts | 204 +++++++++++++++++- .../test/automation-event-ingress.test.ts | 14 ++ 36 files changed, 1008 insertions(+), 78 deletions(-) create mode 100644 packages/daemon/src/features/conversations/claude-project-rules.ts create mode 100644 packages/daemon/src/server/app-server-changes.ts create mode 100644 packages/daemon/src/server/app-server-github-intake.ts diff --git a/docs/design/ling-agent-operating-model-detailed-design.md b/docs/design/ling-agent-operating-model-detailed-design.md index 9abca384f..0415b93f0 100644 --- a/docs/design/ling-agent-operating-model-detailed-design.md +++ b/docs/design/ling-agent-operating-model-detailed-design.md @@ -168,6 +168,10 @@ Qualification and dispatch recheck the source policy and revision. Paused source ### 3.2 Work Item Target Identity +A registered App Server GitHub repository can set an `intake` policy with `mode`, `enabled`, optional `requiredLabel` and `priority`, and a signed Automation `webhookSourceId`. The local operator can poll a page of open subjects using `github/intake/poll`. Without an explicit mode the poll records a manual evaluation. A suggested subject uses the existing intake Work Item and waits for acceptance. + +The signed webhook route validates the immutable repository ID and commits its inbox event with the pending intake target. The Automation event worker rechecks its source revision and registered repository, reads the current subject from GitHub, and records the evaluation. Suggestions bind the Work Item, source occurrence and evaluation in one transaction. `github/intake/read` can recover the occurrence receipt by ID. Poll and webhook receipts have separate occurrence IDs and share the verified target identity. + Each workspace has one default Work Item binding for an exact target. The target is either a resolved Work Item ID or a GitHub subject identified by the verified GitHub instance, immutable repository ID, subject kind and number. An existing Work Item ID addresses that item directly. For GitHub, the adapter resolves an authorized repository-qualified URL, structured submission or an explicit Issue/PR number in a conversation with a single repository binding. An unresolved or ambiguous target uses clarification or an authorization outcome before implementation dispatch. Titles, matching descriptions, labels, branches and references copied from issue bodies are context for a proposal. Automatic binding requires an explicit target from authorized input or a verified source event. type WorkItemTarget = diff --git a/docs/design/ling-app-server-detailed-design.md b/docs/design/ling-app-server-detailed-design.md index 0d7a9cffc..bcb361c64 100644 --- a/docs/design/ling-app-server-detailed-design.md +++ b/docs/design/ling-app-server-detailed-design.md @@ -252,8 +252,12 @@ sequenceDiagram 普通 Pi 会话根据结构化文件工具的目标路径发现新增目录规则。规则内容随 Run 封存,并在下一次任务模型请求进入 Provider 适配器前参与上下文容量计算。新范围内的 `edit` 和 `write` 会等到这次模型请求受理再重试。相同 Run 使用首次发现的规则版本。`context/inspect` 返回开工规则和运行中增加的来源摘要,Thread 事件分别报告发现和模型请求受理。 [运行中的项目规则](../../packages/daemon/src/features/conversations/runtime-project-instructions.ts) +通过 `PATCH /workspace-settings` 的 `claudeProjectRules` 显式登记根目录 `CLAUDE.md` 或 `.claude/rules/` 下的 Markdown 文件。带 `paths` frontmatter 的目录规则只对匹配的仓库相对路径生效,执行清单保留文件、匹配模式和 digest。规则内容参与上下文预算,适用的 `AGENTS.md` 决定冲突时遵循的仓库约定。 + ### 3.2 候选、验证计划和结果 +`changes/read` 按当前候选 digest 返回文件分页。`changes/apply/preview` 接受已收敛的本工作区 Turn 和 `undo` 或 `reapply`,返回原始 Turn 的不可变变更视图和预览 revision。`changes/apply` 以 operator 凭据、已确认的 revision 与幂等键进入原有工作区恢复路径,应用范围覆盖该 Turn 的原始可恢复改动。 + 候选引用包括 `workspaceId`、`worktreeId`、`baseCommit`、`headCommit`、`candidateDigest`、相关文件范围与覆盖状态。Daemon 从 Git 事实及授权范围内的工作树内容计算候选,包括声明要交付的未暂存和未跟踪改动,复用 Code Assessment 的双次采集和范围保护。文件移动、截断、敏感或不可读内容有明确的覆盖原因。发布证据绑定当前候选和实际输入,审查的脱敏视图另带其自身 digest。 ```ts diff --git a/docs/design/ling-app-server-implementation-plan.md b/docs/design/ling-app-server-implementation-plan.md index 1be564201..ec26d42f3 100644 --- a/docs/design/ling-app-server-implementation-plan.md +++ b/docs/design/ling-app-server-implementation-plan.md @@ -18,6 +18,8 @@ ### 项目约定与验证 - 内置 `init-project-instructions` 和 `verify-current-changes` 技能通过 CLI 预览项目约定、捕获候选、生成计划、启动检查并读取状态。应用初始化草稿需要当前预览 revision 和 operator 授权。 +- 工作区设置可以显式登记仓库内的 `CLAUDE.md` 和带 `paths` frontmatter 的 `.claude/rules/*.md`。Host 在 Turn 准备时按目标路径读取并封存 digest,运行中同样要求规则先呈现给模型,再允许写入。 +- `changes/read` 以候选 digest 分页返回受限 diff 和排除原因。`changes/apply/preview` 与 `changes/apply` 复用 Turn 的不可变变更快照、工作区 fence、幂等收据和重启恢复,候选或工作区漂移会拒绝旧预览。 - 普通 Pi 会话进入新目录时可发现并封存逐级项目规则。验收验证首次写入等待模型收到子目录规则、第二次写入生效,以及重启后从 Thread 游标读取原规则凭据。 - Host 登记的 Verify 配方可以选择受影响路径,并把独立 verifier source 的摘要、coverage 和 producer refs 封存到每个检查结果。 - Goal 的 `verification_passed` 条件要求同一 Thread 的已完成 Verify operation、当前候选摘要、匹配的 verifier basis、coverage 和 producer refs。候选漂移、检查来源漂移、缺少独立证据和过期的接受版本都会阻止完成。 @@ -48,9 +50,9 @@ | 工作包 | 代码或验收差距 | | --- | --- | | A1、B1、C1、C2 | 全方法的 Schema 校验和更多宿主兼容组合。workspace、Thread、Work Item 的 grant 和 WSS 已接入,审批和用户答复仍需按不同真实宿主与远程部署做验收。App Server 目标游标已绑定存储代次、授权代次和目标,现有兼容用例覆盖本机的上一版源码与候选组合。 | -| D1、D2、E1、E2 | 开工与 Pi 运行中的项目规则加载、两个开发 Skill、工作区 Verify、独立 verifier basis、托管工作树管理和外部 GitHub 合并结果验收已接入。仍需显式导入 Claude 规则、候选补丁的应用预览和提交、浏览器/平台配方,以及 UI 运行报告。 | +| D1、D2、E1、E2 | 开工与 Pi 运行中的项目规则加载、显式 Claude 规则、两个开发 Skill、工作区 Verify、独立 verifier basis、托管工作树管理、候选改动分页和 Turn 改动恢复已接入。仍需选中 hunk 与跨工作树应用、浏览器/平台配方和 UI 运行报告。 | | F1、F2 | 普通会话已接入 Handoff 的候选封存和接手。仍需跨 Agent Workflow 的执行归属和预算承接。已有 Codex MCP 联调,双端宿主界面和授权变更后重订阅需要实测。 | -| O1、O3–O9 | GitHub webhook/poll 归并与派发、自治接单、合并队列、经验和设备反馈、阶段简报、在途改计划、交接、审议裁决和跨 Run 预算。现有工作项状态、会话首发、定时轮次和 GitHub 实际合并核对已有对应回归。仍需接入原 Workflow 并完成联合 UI 验收。 | +| O1、O3–O9 | 已验证 GitHub 签名 webhook、独立轮询和显式接单可以归并到同一工作项。Webhook 入箱和待处理目标同事务提交,Daemon 重启后重试原目标。人工与建议模式保留评估收据。仍需自治派发及配置视图、合并队列、经验和设备反馈、阶段简报、在途改计划、交接、审议裁决和跨 Run 预算,以及原 Workflow 的联合 UI 验收。 | | G | 自研切换和回退日志对账、签名安装产物、远程 WSS 和三个真实 Provider 自研试点。macOS 打包预检仍缺当前打包输入的 Office 审查、对应 Electron/OS 的受限运行时审查和 gstack 平台资源。T01 离线预检达到评审条件,真实试点仍需按 Framework Assurance 准入。 | ## 目标与开工顺序 diff --git a/packages/api-client/src/app-server.ts b/packages/api-client/src/app-server.ts index 87096a52b..4410960c2 100644 --- a/packages/api-client/src/app-server.ts +++ b/packages/api-client/src/app-server.ts @@ -1,4 +1,10 @@ import type { + LingAppServerApplyChangesParams, + LingAppServerApplyChangesResult, + LingAppServerChangeRecoveryPreview, + LingAppServerPreviewChangeRecoveryParams, + LingAppServerReadChangesParams, + LingAppServerReadChangesResult, LingAppServerDoctorRunParams, LingAppServerDoctorRunResult, LingAppServerCapability, @@ -24,6 +30,10 @@ import type { LingAppServerGitHubSubjectParams, LingAppServerGitHubSubjectResult, LingAppServerGitHubDeliveryResult, + LingAppServerGitHubIntakePollParams, + LingAppServerGitHubIntakePollResult, + LingAppServerGitHubIntakeReadParams, + LingAppServerGitHubIntakeReceipt, LingAppServerReconcileGitHubDeliveryParams, LingAppServerCoordinationSchedule, LingAppServerCoordinationScheduleParams, @@ -317,6 +327,32 @@ export class LingAppServerClient { return await this.request("changes/capture", {}); } + async pollGitHubIntake(params: LingAppServerGitHubIntakePollParams): Promise { + await this.connect(); + return await this.request("github/intake/poll", params); + } + + async readGitHubIntake(params: LingAppServerGitHubIntakeReadParams): Promise { + await this.connect(); + const result = await this.request<{ receipt: LingAppServerGitHubIntakeReceipt }>("github/intake/read", params); + return result.receipt; + } + + async readChanges(params: LingAppServerReadChangesParams): Promise { + await this.connect(); + return await this.request("changes/read", params); + } + + async previewChangeRecovery(params: LingAppServerPreviewChangeRecoveryParams): Promise { + await this.connect(); + return await this.request("changes/apply/preview", params); + } + + async applyChanges(params: LingAppServerApplyChangesParams): Promise { + await this.connect(); + return await this.request("changes/apply", params); + } + async listWorktrees(): Promise { await this.connect(); return await this.request("worktree/list", {}); diff --git a/packages/contracts/src/app-server.ts b/packages/contracts/src/app-server.ts index 5a5c6c027..9cd21f865 100644 --- a/packages/contracts/src/app-server.ts +++ b/packages/contracts/src/app-server.ts @@ -1,4 +1,4 @@ -import type { CodeAssessmentFinding, CodeAssessmentReviewRules, CodeFindingCloseReason } from "./code-assessments.js"; +import type { CodeAssessmentFinding, CodeAssessmentReviewRules, CodeAssessmentSnapshot, CodeFindingCloseReason } from "./code-assessments.js"; import type { ApprovalSummary, ControlPlaneEventsResponse, ControlPlaneReplayWindow } from "./control-plane.js"; import type { ConversationContextProjectionMetadata } from "./conversation-continuity.js"; import type { RunSession } from "./runtime.js"; @@ -7,6 +7,7 @@ import type { LingTurn, LingTurnRun } from "./turns.js"; import type { ManagedWorktreeEntry, ManagedWorktreeOwnerKind, WorktreeRecoverySnapshot } from "./worktrees.js"; import type { UserInputAnswerAcceptedResponseV1, UserInputAnswerCommandV1 } from "./user-input.js"; import type { UserInputRequestTranscriptV1 } from "./user-input-transcript.js"; +import type { TurnWorkspaceChangesResponse } from "./workspace-changes.js"; /** Public Ling App Server protocol contract. Transport implementations may add * framing, authentication and backpressure, but they must preserve these names @@ -28,6 +29,7 @@ export const LING_APP_SERVER_CAPABILITIES = [ "development.review", "development.simplify", "development.instructions", + "development.changes", "workItem.read", "workItem.control", "workItem.evidence", @@ -49,6 +51,7 @@ export const LING_APP_SERVER_IMPLEMENTED_CAPABILITIES = [ "development.review", "development.simplify", "development.instructions", + "development.changes", "workItem.read", "workItem.control", "workItem.evidence", @@ -145,6 +148,8 @@ export const LING_APP_SERVER_METHODS = [ "workItem/feedback/add", "delivery/read", "github/subject/read", + "github/intake/poll", + "github/intake/read", "github/delivery/reconcile", "workItem/evidence/read", "workItem/evidence/append", @@ -744,6 +749,51 @@ export interface LingAppServerCaptureChangesResult { readonly headCommit: string; } +export interface LingAppServerReadChangesParams { + readonly cwd?: string; + readonly candidateDigest: string; + readonly offset?: number; + readonly limit?: number; +} + +export interface LingAppServerReadChangesResult extends LingAppServerCaptureChangesResult { + readonly files: readonly (Omit & { + readonly diff?: string; + readonly diffOmitted?: "frame_limit"; + })[]; + readonly exclusions: CodeAssessmentSnapshot["exclusions"]; + readonly exclusionCount: number; + readonly totalFileCount: number; + readonly nextOffset?: number; +} + +export interface LingAppServerPreviewChangeRecoveryParams { + readonly cwd?: string; + readonly threadId: string; + readonly turnId: string; + readonly action: "undo" | "reapply"; +} + +export interface LingAppServerChangeRecoveryPreview extends LingAppServerCaptureChangesResult { + readonly expectedRevision: string; + readonly action: LingAppServerPreviewChangeRecoveryParams["action"]; + readonly changes: TurnWorkspaceChangesResponse; +} + +export interface LingAppServerApplyChangesParams extends LingAppServerPreviewChangeRecoveryParams { + readonly expectedRevision: string; + readonly idempotencyKey: string; + readonly confirmed: true; +} + +export interface LingAppServerApplyChangesResult { + readonly cwd: string; + readonly turnId: string; + readonly action: LingAppServerPreviewChangeRecoveryParams["action"]; + readonly receiptId: string; + readonly state: TurnWorkspaceChangesResponse["state"]; +} + export interface LingAppServerWorktreeTarget { readonly cwd?: string; readonly ownerKind: ManagedWorktreeOwnerKind; @@ -829,6 +879,7 @@ export interface LingAppServerGitHubSubject extends Omit 16 || value.some(path => typeof path !== "string" + || path.length > 250 || path !== "CLAUDE.md" && ( + !/^\.claude\/rules\/(?:[A-Za-z0-9_.-]+\/)*[A-Za-z0-9_.-]+\.md$/u.test(path) + || path.split("/").some(part => part === "." || part === "..")))) { + throw new Error("claudeProjectRules accepts up to 16 repository-relative CLAUDE.md or .claude/rules Markdown files."); + } + return [...new Set(value as string[])]; +} + export interface WorkspaceSettingsResponse { readonly cwd: string; readonly settings: WorkspaceSettings; diff --git a/packages/core/src/app-server-state-types.ts b/packages/core/src/app-server-state-types.ts index 1d0f9b9da..e45b9aff0 100644 --- a/packages/core/src/app-server-state-types.ts +++ b/packages/core/src/app-server-state-types.ts @@ -4,7 +4,8 @@ export type AppServerStateKind = "verify_plan" | "verify_operation" | "review_su | "simplify_submission" | "external_federation" | "work_item_creation" | "work_item_acceptance" | "work_item_control" | "replay_identity" | "handoff" | "authorization_grant" | "work_item_target" | "work_item_source" | "github_delivery" | "github_delivery_current" | "work_item_thread" - | "automation_coordination" | "coordination_round" | "coordination_automation_run" | "project_instruction_update"; + | "automation_coordination" | "coordination_round" | "coordination_automation_run" | "project_instruction_update" + | "change_recovery_request" | "github_intake_pending" | "github_intake_receipt"; export interface AppServerStateRecord { readonly workspaceId: string; diff --git a/packages/core/src/automation-event-source.ts b/packages/core/src/automation-event-source.ts index 1c5857464..46a722c9e 100644 --- a/packages/core/src/automation-event-source.ts +++ b/packages/core/src/automation-event-source.ts @@ -15,7 +15,8 @@ export function parseAutomationEventSource(value: unknown): PutAutomationEventSo || source.secretRefs.some(ref => typeof ref !== "string" || ref.length > 256 || !isSupportedSecretRef(ref)) || source.repository !== undefined && (typeof source.repository !== "string" || !/^[\w.-]+\/[\w.-]+$/.test(source.repository)) || source.adapter === "github" && source.repository === undefined - || !Array.isArray(source.rules) || !source.rules.length || source.rules.length > 32) throw new Error("automation_event_configuration_invalid"); + || !Array.isArray(source.rules) || !source.rules.length && source.adapter !== "github" + || source.rules.length > 32) throw new Error("automation_event_configuration_invalid"); const ids = new Set(); for (const value of source.rules) { const rule = object(value, ["automationId", "types", "predicates", "destinationIds"]); diff --git a/packages/core/src/automation-event-types.ts b/packages/core/src/automation-event-types.ts index 06ebbd5d7..35ff66db4 100644 --- a/packages/core/src/automation-event-types.ts +++ b/packages/core/src/automation-event-types.ts @@ -31,6 +31,17 @@ export interface AutomationEventEnvelope { readonly payloadDigest: string; readonly payload: Readonly>; } +export interface AutomationGitHubIntakeTarget { + readonly repository: string; + readonly kind: "issue" | "pull_request"; + readonly number: number; + readonly policyRevision: string; +} +export interface AutomationGitHubIntakePending extends AutomationGitHubIntakeTarget { + readonly sourceId: string; + readonly sourceRevision: number; + readonly sourceEventId: string; +} export interface AutomationEventDispatch { readonly id: string; readonly eventId: string; @@ -62,7 +73,8 @@ export interface AutomationEventStore { putAutomationEventSource(input: PutAutomationEventSource, expectedRevision: number | undefined, now: string): AutomationEventSource; getAutomationEventSource(id: string): AutomationEventSource | undefined; listAutomationEventSources(): AutomationEventSource[]; - acceptAutomationEvent(input: Omit, sourceRevision: number, now: string): { event: AutomationEventEnvelope; duplicate: boolean }; + acceptAutomationEvent(input: Omit, sourceRevision: number, now: string, + gitHubIntake?: AutomationGitHubIntakeTarget): { event: AutomationEventEnvelope; duplicate: boolean }; listAutomationEvents(limit?: number): AutomationEventEnvelope[]; getAutomationEvent(id: string): AutomationEventEnvelope | undefined; claimAutomationEventDispatch(now: string): AutomationEventDispatch | undefined; diff --git a/packages/core/src/storage/sqlite/automation-event-store.ts b/packages/core/src/storage/sqlite/automation-event-store.ts index cad711f06..83b449abe 100644 --- a/packages/core/src/storage/sqlite/automation-event-store.ts +++ b/packages/core/src/storage/sqlite/automation-event-store.ts @@ -1,9 +1,11 @@ import { randomUUID } from "node:crypto"; import { automationDefinitionDigestInput, type AutomationEventStore, type AutomationEventPorts, type AutomationEventSource, - type AutomationEventEnvelope, type AutomationEventDispatch, type AutomationDelivery, type PutAutomationEventSource } from "../../automation-event-types.js"; + type AutomationEventEnvelope, type AutomationEventDispatch, type AutomationDelivery, type PutAutomationEventSource, + type AutomationGitHubIntakeTarget, type AutomationGitHubIntakePending } from "../../automation-event-types.js"; import { automationEventDigest, automationEventMatches, parseAutomationEventSource } from "../../automation-event-source.js"; import { rollbackOwnedSqliteTransaction } from "./helpers.js"; import type { SqliteStoreContext } from "./store-context.js"; +import { SqliteAppServerStateStore } from "./app-server-state-store.js"; type Row = Record; const parse = (value: unknown): T => JSON.parse(String(value)) as T; @@ -52,7 +54,8 @@ export class SqliteAutomationEventStore implements AutomationEventStore { listAutomationEventSources(): AutomationEventSource[] { return this.context.database.prepare("SELECT source_json FROM automation_event_sources ORDER BY id LIMIT 64").all().map(row => parse(row.source_json)); } - acceptAutomationEvent(input: Omit, sourceRevision: number, now: string) { + acceptAutomationEvent(input: Omit, sourceRevision: number, now: string, + gitHubIntake?: AutomationGitHubIntakeTarget) { if (!/^[a-f0-9]{64}$/.test(input.payloadDigest) || input.externalId.length > 160 || !input.externalId || !/^[a-zA-Z0-9_.:-]{1,160}$/.test(input.type) || Buffer.byteLength(JSON.stringify(input.payload)) > 64 * 1024 || !Number.isFinite(Date.parse(input.occurredAt))) throw new Error("automation_event_envelope_invalid"); @@ -79,6 +82,15 @@ export class SqliteAutomationEventStore implements AutomationEventStore { if (Number(pending?.count) + eligibleRules.length > 5000) throw new Error("automation_event_inbox_capacity"); const event: AutomationEventEnvelope = { ...input, id: `ae_${randomUUID()}`, receivedAt: now }; db.prepare("INSERT INTO automation_events VALUES(?,?,?,?,?,?)").run(event.id, source.id, event.externalId, event.payloadDigest, now, JSON.stringify(event)); + if (gitHubIntake) { + const backlog = db.prepare("SELECT COUNT(*) AS count FROM app_server_state WHERE kind = 'github_intake_pending'").get(); + if (Number(backlog?.count) >= 1000) throw new Error("automation_event_inbox_capacity"); + const payload: AutomationGitHubIntakePending = { ...gitHubIntake, sourceId: source.id, sourceRevision, sourceEventId: event.id }; + const pending = new SqliteAppServerStateStore(this.context).putWithinTransaction({ + kind: "github_intake_pending", recordId: event.id, expectedRevision: 0, payload, + }, now); + if (!pending) throw new Error("automation_event_intake_conflict"); + } for (const { rule, definition } of eligibleRules) { db.prepare(`INSERT INTO automation_event_dispatches(id,event_id,source_id,source_revision,automation_id,definition_digest,destinations_json,status) VALUES(?,?,?,?,?,?,?,'queued')`).run(`aed_${randomUUID()}`, event.id, source.id, source.revision, definition.id, diff --git a/packages/core/src/storage/sqlite/work-item-store.ts b/packages/core/src/storage/sqlite/work-item-store.ts index 9c4b096cc..b408dbabc 100644 --- a/packages/core/src/storage/sqlite/work-item-store.ts +++ b/packages/core/src/storage/sqlite/work-item-store.ts @@ -34,7 +34,7 @@ import { workItemSelectSql } from "./select-sql.js"; import type { SqliteStoreContext } from "./store-context.js"; import type { SqliteAppServerStateStore } from "./app-server-state-store.js"; import type { SqliteControlPlaneStore } from "./control-plane-store.js"; -import type { LingAppServerGitHubDelivery, LingAppServerWorkItemSourceReceipt } from "@ling-stack/contracts"; +import type { LingAppServerGitHubDelivery, LingAppServerGitHubIntakeReceipt, LingAppServerWorkItemSourceReceipt } from "@ling-stack/contracts"; import { normalConversationSubmissionKey } from "../../conversation-item-store-types.js"; export interface SqliteWorkItemStorePorts { @@ -129,8 +129,19 @@ export class SqliteWorkItemStore { entityType: "work_item", entityId: workItem.id, action, data: { workItemId: workItem.id, revision: workItem.revision, status: workItem.status }, }, now) : undefined; + let gitHubIntakeReceipt: LingAppServerGitHubIntakeReceipt | undefined; + if (input.gitHubIntake) { + const intake = input.gitHubIntake; + const prior = state.get("github_intake_receipt", intake.receiptId)?.payload as LingAppServerGitHubIntakeReceipt | undefined; + if (prior && prior.workItemId !== workItem.id) throw new Error("github_intake_conflict"); + gitHubIntakeReceipt = prior ?? { ...intake, workItemId: workItem.id, outcome: existing ? "deduplicated" : "suggested", + reasonCode: existing ? "existing_target" : "suggested_for_acceptance" }; + if (!prior && !state.putWithinTransaction({ + kind: "github_intake_receipt", recordId: intake.receiptId, expectedRevision: 0, payload: gitHubIntakeReceipt, + }, now)) throw new Error("github_intake_conflict"); + } database.exec("COMMIT"); - return { workItem, event, sourceReceipt }; + return { workItem, event, sourceReceipt, gitHubIntakeReceipt }; } catch (error) { rollbackOwnedSqliteTransaction(database); throw error; diff --git a/packages/core/src/storage/sqlite/workspace-settings-store.ts b/packages/core/src/storage/sqlite/workspace-settings-store.ts index 0a761f391..4349888ae 100644 --- a/packages/core/src/storage/sqlite/workspace-settings-store.ts +++ b/packages/core/src/storage/sqlite/workspace-settings-store.ts @@ -1,4 +1,4 @@ -import { parseDesktopBrowserPolicy } from "@ling-stack/contracts"; +import { parseClaudeProjectRules, parseDesktopBrowserPolicy } from "@ling-stack/contracts"; import type { SQLOutputValue } from "node:sqlite"; import { isSupportedLocale } from "@ling-stack/localization"; import { @@ -45,6 +45,8 @@ export class SqliteWorkspaceSettingsStore { const next: WorkspaceSettings = omitUndefined({ schemaVersion: 1 as const, worktreePolicy: nullableUpdate(input.worktreePolicy, current.worktreePolicy), + claudeProjectRules: input.claudeProjectRules === undefined ? current.claudeProjectRules + : input.claudeProjectRules === null ? undefined : parseClaudeProjectRules(input.claudeProjectRules), workspaceCwd: nullableUpdate(input.workspaceCwd, current.workspaceCwd), theme: nullableUpdate(input.theme, current.theme), locale: nullableUpdate(input.locale, current.locale), @@ -124,6 +126,7 @@ function parseWorkspaceSettings(value: string, updatedAt: string): WorkspaceSett return omitUndefined({ schemaVersion: 1 as const, worktreePolicy: parseWorktreePolicy(parsed.worktreePolicy), + claudeProjectRules: parsed.claudeProjectRules === undefined ? undefined : parseClaudeProjectRules(parsed.claudeProjectRules), workspaceCwd: typeof parsed.workspaceCwd === "string" && parsed.workspaceCwd.trim() ? parsed.workspaceCwd : undefined, theme: parsedTheme, locale: isSupportedLocale(parsed.locale) ? parsed.locale : undefined, diff --git a/packages/core/src/work-item-types.ts b/packages/core/src/work-item-types.ts index 379dd86fe..ea95cc126 100644 --- a/packages/core/src/work-item-types.ts +++ b/packages/core/src/work-item-types.ts @@ -1,6 +1,7 @@ import { randomUUID } from "node:crypto"; import type { - LingAppServerGitHubDelivery, LingAppServerWorkItemAcceptance, LingAppServerWorkItemConversationDispatch, LingAppServerWorkItemSourceReceipt, + LingAppServerGitHubDelivery, LingAppServerGitHubIntakeReceipt, LingAppServerWorkItemAcceptance, + LingAppServerWorkItemConversationDispatch, LingAppServerWorkItemSourceReceipt, } from "@ling-stack/contracts"; import type { ControlPlaneEvent } from "./run-types.js"; @@ -140,12 +141,14 @@ export interface CreateWorkItemInput extends Pick; } export interface CreateWorkItemResult { readonly workItem: WorkItem; readonly event?: ControlPlaneEvent; readonly sourceReceipt?: LingAppServerWorkItemSourceReceipt; + readonly gitHubIntakeReceipt?: LingAppServerGitHubIntakeReceipt; } export interface CommitWorkItemGitHubDeliveryInput { diff --git a/packages/core/src/workspace-types.ts b/packages/core/src/workspace-types.ts index 865ab5003..9a3afb7d9 100644 --- a/packages/core/src/workspace-types.ts +++ b/packages/core/src/workspace-types.ts @@ -507,6 +507,7 @@ export function createChannelWorkspaceSnapshot(channel: Channel, workspaceCwd: s export interface WorkspaceSettings { readonly worktreePolicy?: import("@ling-stack/contracts").WorktreePolicy; + readonly claudeProjectRules?: readonly string[]; readonly desktopBrowserPolicy?: import("@ling-stack/contracts").DesktopBrowserPolicy; readonly schemaVersion: 1; readonly workspaceCwd?: string; @@ -529,6 +530,7 @@ export interface WorkspaceSettings { export interface UpdateWorkspaceSettingsInput { readonly worktreePolicy?: import("@ling-stack/contracts").WorktreePolicy | null; + readonly claudeProjectRules?: readonly string[] | null; readonly desktopBrowserPolicy?: import("@ling-stack/contracts").DesktopBrowserPolicy | null; readonly schemaVersion?: 2; readonly workspaceCwd?: string | null; diff --git a/packages/core/test/ai-teammate-workspace.test.mjs b/packages/core/test/ai-teammate-workspace.test.mjs index 5f2611b05..ffa3e9fb8 100644 --- a/packages/core/test/ai-teammate-workspace.test.mjs +++ b/packages/core/test/ai-teammate-workspace.test.mjs @@ -412,6 +412,7 @@ test("sqlite backfills current template skill defaults for existing builtin team "scrape", "ios-qa", "ios-design-review", + "verify-current-changes", ]) { assert.ok(bySkill.has(skillId), `${skillId} should be present after template backfill`); } @@ -420,14 +421,14 @@ test("sqlite backfills current template skill defaults for existing builtin team assert.equal(bySkill.get("health").source, "user", "custom user binding should stay present"); assert.equal(bySkill.get("qa-only").source, "template"); assert.equal(bySkill.get("qa-only").enabled, true); - assert.equal(bindings.length, 12); + assert.equal(bindings.length, 13); } finally { reopened.close(); } const reopenedAgain = createSqliteRunStore(cwd); try { - assert.equal(reopenedAgain.listTeammateSkillBindings(qaId).length, 12, "backfill should be idempotent"); + assert.equal(reopenedAgain.listTeammateSkillBindings(qaId).length, 13, "backfill should be idempotent"); } finally { reopenedAgain.close(); } @@ -669,9 +670,11 @@ test("sqlite persists AI teammate direct thread, messages, channel memberships, ["design-html", "template", true], ["health", "template", true], ["implement", "template", false], + ["init-project-instructions", "template", true], ["investigate", "template", true], ["plan-eng-review", "user", true], ["review", "template", true], + ["verify-current-changes", "template", true], ]); const deletedUserSkillBindings = store.replaceTeammateSkillBindings( engineerId, @@ -685,9 +688,11 @@ test("sqlite persists AI teammate direct thread, messages, channel memberships, ["design-html", "template", true], ["health", "template", true], ["implement", "template", false], + ["init-project-instructions", "template", true], ["investigate", "template", true], ["review", "template", true], ["triage-playbook", "user", true], + ["verify-current-changes", "template", true], ]); const memberships = store.replaceTeammateChannelMemberships( diff --git a/packages/daemon/src/features/automations/event-ingress.ts b/packages/daemon/src/features/automations/event-ingress.ts index 1334ec1a2..8e3017529 100644 --- a/packages/daemon/src/features/automations/event-ingress.ts +++ b/packages/daemon/src/features/automations/event-ingress.ts @@ -41,12 +41,20 @@ export function authenticateAutomationEvent(input: { source: AutomationEventSour let normalizedType = type; let occurredAt = timestamp!; if (github) { - const issue = record(payload.issue), comment = record(payload.comment), repository = record(payload.repository); - if (!["issues", "issue_comment"].includes(type) || repository.full_name !== source.repository - || !Number.isSafeInteger(issue.number) || typeof payload.action !== "string" || !/^[a-z_]{1,40}$/.test(payload.action) - || type === "issue_comment" && !Number.isSafeInteger(comment.id)) throw new HttpError(400, "automation_event_github_scope_invalid", "GitHub event does not match the configured repository/issue adapter."); - normalizedType = `github.${type}.${payload.action}`; - occurredAt = String((type === "issue_comment" ? comment : issue).updated_at ?? ""); + const issue = record(payload.issue), pullRequest = record(payload.pull_request), comment = record(payload.comment), repository = record(payload.repository); + const subject = type === "pull_request" || type === "pull_request_review" || type === "pull_request_review_comment" ? pullRequest : issue; + const supported = ["issues", "issue_comment", "pull_request", "pull_request_review", "pull_request_review_comment"].includes(type); + if (!supported || repository.full_name !== source.repository + || !Number.isSafeInteger(subject.number) || typeof payload.action !== "string" || !/^[a-z_]{1,40}$/.test(payload.action) + || type === "issue_comment" && !Number.isSafeInteger(comment.id) + || type === "pull_request_review" && !Number.isSafeInteger(record(payload.review).id) + || type === "pull_request_review_comment" && !Number.isSafeInteger(comment.id)) { + throw new HttpError(400, "automation_event_github_scope_invalid", "GitHub event does not match the configured repository subject adapter."); + } + normalizedType = "github." + type + "." + payload.action; + const timestampRecord = type === "issue_comment" || type === "pull_request_review_comment" ? comment + : type === "pull_request_review" ? record(payload.review) : subject; + occurredAt = String(timestampRecord.updated_at ?? timestampRecord.submitted_at ?? ""); } const when = Date.parse(occurredAt), now = Date.parse(input.now); if (!Number.isFinite(when) || Math.abs(now - when) > 5 * 60_000) throw new HttpError(401, "automation_event_timestamp_invalid", "Event timestamp is outside the five-minute acceptance window."); diff --git a/packages/daemon/src/features/automations/event-routes.ts b/packages/daemon/src/features/automations/event-routes.ts index ef98c1567..f5d96241b 100644 --- a/packages/daemon/src/features/automations/event-routes.ts +++ b/packages/daemon/src/features/automations/event-routes.ts @@ -6,6 +6,7 @@ import { allowLocalServiceRequest } from "../../shared/local-workspace-access.js import { readJsonBody, readRequestBody } from "../../shared/request.js"; import { writeJson } from "../../shared/response.js"; import { authenticateAutomationEvent } from "./event-ingress.js"; +import { gitHubIntakeReceiptId, gitHubWebhookIntakeTarget } from "../../server/app-server-github-intake.js"; export const isAutomationEventIngress = (pathname: string, method?: string): boolean => method === "POST" && /^\/automation-event-sources\/[a-zA-Z0-9_.:-]{1,160}\/events$/.test(pathname); @@ -29,9 +30,14 @@ export async function handleAutomationEventRoute(request: IncomingMessage, respo catch { throw new HttpError(413, "automation_event_body_limit", "Event body exceeds its limit."); } const now = new Date().toISOString(); const envelope = authenticateAutomationEvent({ source, headers: request.headers, body, secretResolver: context.secretResolver, now }); - const accepted = store.acceptAutomationEvent(envelope, source.revision, now); + const intake = gitHubWebhookIntakeTarget(context, store.paths.cwd, source, envelope); + const accepted = store.acceptAutomationEvent(envelope, source.revision, now, intake); context.automationEvents.start(cwd); context.automationEvents.poke(cwd); - writeJson(response, accepted.duplicate ? 200 : 202, { eventId: accepted.event.id, duplicate: accepted.duplicate }); + const intakeReceiptId = gitHubIntakeReceiptId("webhook", accepted.event.id); + const tracked = store.getAppServerState("github_intake_pending", accepted.event.id) + || store.getAppServerState("github_intake_receipt", intakeReceiptId); + writeJson(response, accepted.duplicate ? 200 : 202, { eventId: accepted.event.id, duplicate: accepted.duplicate, + ...(tracked ? { intakeReceiptId } : {}) }); } else if (sourceRoute && !sourceRoute[2]) { if (request.method === "GET") { writeJson(response, 200, sourceRoute[1] ? { source: store.getAutomationEventSource(sourceRoute[1]) ?? null } diff --git a/packages/daemon/src/features/automations/event-worker.ts b/packages/daemon/src/features/automations/event-worker.ts index d1fc2e99a..23b208ec3 100644 --- a/packages/daemon/src/features/automations/event-worker.ts +++ b/packages/daemon/src/features/automations/event-worker.ts @@ -10,7 +10,8 @@ export class AutomationEventWorker { private readonly pending = new Set>(); private closed = false; constructor(private readonly stores: RunStoreRegistry, private readonly destinations: ImDestinationRegistry, - private readonly startRun: StartAutomationRunExecution) {} + private readonly startRun: StartAutomationRunExecution, + private readonly processIntake?: (store: RunStore, signal: AbortSignal) => Promise) {} start(cwd: string): void { if (this.closed) throw new Error("automation_event_worker_closed"); @@ -67,6 +68,8 @@ export class AutomationEventWorker { } } if (signal.aborted) return; + await this.processIntake?.(store, signal); + if (signal.aborted) return; store.reconcileAutomationDeliveries(new Date().toISOString()); await this.destinations.ensureLoaded(); for (let count = 0; count < 8 && !signal.aborted; count++) { diff --git a/packages/daemon/src/features/conversations/claude-project-rules.ts b/packages/daemon/src/features/conversations/claude-project-rules.ts new file mode 100644 index 000000000..24fcccc83 --- /dev/null +++ b/packages/daemon/src/features/conversations/claude-project-rules.ts @@ -0,0 +1,38 @@ +import { posix, relative, resolve, sep } from "node:path"; +import { parseDocument } from "yaml"; + +export function readClaudeRule(source: string): { readonly text: string; readonly pathPatterns?: readonly string[] } | undefined { + const lines = source.split(/\r?\n/u); + if (lines[0]?.trimEnd() !== "---") return { text: source }; + const end = lines.findIndex((line, index) => index > 0 && line.trimEnd() === "---"); + if (end < 0) return undefined; + try { + const header = parseDocument(lines.slice(1, end).join("\n"), { uniqueKeys: true }); + if (header.errors.length) return undefined; + const parsed: unknown = header.toJS({ maxAliasCount: 0 }); + if (parsed !== null && (typeof parsed !== "object" || Array.isArray(parsed))) return undefined; + const paths: unknown = (parsed as { paths?: unknown } | null)?.paths; + const text = lines.slice(end + 1).join("\n"); + if (paths === undefined) return { text }; + if (!Array.isArray(paths) || !paths.length || paths.length > 32 || paths.some(pattern => !validPattern(pattern))) return undefined; + return { text, pathPatterns: paths }; + } catch { + return undefined; + } +} + +function validPattern(value: unknown): value is string { + return typeof value === "string" && value.length > 0 && value.length <= 160 && !value.startsWith("/") + && !/[\\{}()!:\x00-\x1f]/u.test(value) + && value.split("/").every(part => part && part !== "." && part !== ".."); +} + +export function claudeRuleApplies(patterns: readonly string[] | undefined, paths: readonly string[]): boolean { + return !patterns || paths.some(path => patterns.some(pattern => + path === pattern || path.startsWith(pattern + "/") || posix.matchesGlob(path, pattern))); +} + +export function ruleTargetPaths(root: string, paths: readonly string[]): string[] { + return paths.map(path => relative(root, resolve(root, path)).split(sep).join("/") || ".") + .filter(path => path !== ".." && !path.startsWith("../")); +} diff --git a/packages/daemon/src/features/conversations/conversation-submission.ts b/packages/daemon/src/features/conversations/conversation-submission.ts index f099ac05d..f11585c28 100644 --- a/packages/daemon/src/features/conversations/conversation-submission.ts +++ b/packages/daemon/src/features/conversations/conversation-submission.ts @@ -55,7 +55,8 @@ export async function prepareConversationSubmission(options: { attachments, attachmentMaterializations, normalConversationContext: prepared.context, normalConversationAcceptedSnapshotId: prepared.acceptedSnapshotId, }); - const runRequest = saveNormalConversationPreparedRequest(store, await withProjectInstructions(workspaceCwd, request), now); + const runRequest = saveNormalConversationPreparedRequest(store, + await withProjectInstructions(workspaceCwd, request, store.getWorkspaceSettings().claudeProjectRules), now); return { thread, turn, attachments, runRequest, replayed: accepted?.status === "accepted" }; } diff --git a/packages/daemon/src/features/conversations/normal-conversation-prepared-request.ts b/packages/daemon/src/features/conversations/normal-conversation-prepared-request.ts index 223db856a..44f938849 100644 --- a/packages/daemon/src/features/conversations/normal-conversation-prepared-request.ts +++ b/packages/daemon/src/features/conversations/normal-conversation-prepared-request.ts @@ -107,7 +107,9 @@ function validatePayload(value: unknown, expected: { threadId: string; turnId: s readNativeResponsePreferences(request.nativeResponsePreferences); const manifest = request.projectInstructionManifest; if (manifest !== undefined && (!isRecord(manifest) || manifest.version !== 1 || !Array.isArray(manifest.sources) - || !Array.isArray(manifest.omitted) || manifest.digest !== textDigest(JSON.stringify([manifest.sources, manifest.omitted])))) { + || !Array.isArray(manifest.omitted) || (manifest.digest !== textDigest(JSON.stringify( + Array.isArray(manifest.claudeProjectRules) && manifest.claudeProjectRules.length + ? [manifest.sources, manifest.omitted, manifest.claudeProjectRules] : [manifest.sources, manifest.omitted]))))) { throw new Error("Invalid prepared project instruction manifest."); } if (Object.keys(request).some((key) => !requestKeys.has(key))) throw new Error("Invalid prepared request fields"); diff --git a/packages/daemon/src/features/conversations/project-instructions.ts b/packages/daemon/src/features/conversations/project-instructions.ts index 86fcf7712..1bde92cf0 100644 --- a/packages/daemon/src/features/conversations/project-instructions.ts +++ b/packages/daemon/src/features/conversations/project-instructions.ts @@ -6,15 +6,17 @@ import type { LingAppServerInstructionSource, LingAppServerProjectInstructionMan import { redactSecrets } from "@ling-stack/core"; import { HttpError } from "../../errors.js"; import type { RunRequest } from "../runs/schemas.js"; +import { claudeRuleApplies, readClaudeRule, ruleTargetPaths } from "./claude-project-rules.js"; const maxSourceBytes = 24 * 1024; export const maxProjectInstructionBytes = 48 * 1024; export const maxProjectInstructionScopes = 32; -export async function withProjectInstructions(workspaceCwd: string, request: RunRequest): Promise { +export async function withProjectInstructions(workspaceCwd: string, request: RunRequest, claudeProjectRules?: readonly string[]): Promise { + const referencedFiles = (request.conversationFileRefs ?? []).map(ref => ref.path); const rules = await collectProjectInstructions(workspaceCwd, [resolve(request.cwd), - ...(request.conversationFileRefs ?? []).map(ref => dirname(ref.path))]); - if (!rules.manifest.sources.length && !rules.manifest.omitted.length) return request; + ...referencedFiles.map(path => dirname(path))], { claudeProjectRules, targetPaths: [request.cwd, ...referencedFiles] }); + if (!rules.manifest.sources.length && !rules.manifest.omitted.length && !claudeProjectRules?.length) return request; const { manifest, prompt } = rules; if (!prompt.length) return { ...request, projectInstructionManifest: manifest }; if (request.nativeResponsePreferences) { @@ -26,9 +28,12 @@ export async function withProjectInstructions(workspaceCwd: string, request: Run } export async function collectProjectInstructions(workspaceCwd: string, scopePaths: readonly string[] = [], limits?: { - readonly frozenScopes: ReadonlySet; - readonly remainingBytes: number; - readonly remainingSources: number; + readonly frozenScopes?: ReadonlySet; + readonly frozenPaths?: ReadonlySet; + readonly remainingBytes?: number; + readonly remainingSources?: number; + readonly claudeProjectRules?: readonly string[]; + readonly targetPaths?: readonly string[]; }) { const root = await realpath(workspaceCwd); const openedPath = resolve(workspaceCwd); @@ -55,13 +60,13 @@ export async function collectProjectInstructions(workspaceCwd: string, scopePath let availableBytes = limits?.remainingBytes ?? maxProjectInstructionBytes; for (const scope of scopes) { const relativeScope = relative(root, scope) || "."; - if (limits?.frozenScopes.has(relativeScope)) continue; + if (limits?.frozenScopes?.has(relativeScope)) continue; for (const basename of ["AGENTS.override.md", "AGENTS.md"]) { const path = relative(root, resolve(scope, basename)); const source = await readProjectText(root, path); if (source === undefined) continue; const textBytes = typeof source === "string" ? Buffer.byteLength(source, "utf8") : undefined; - const canRecord = !limits || sources.length < limits.remainingSources; + const canRecord = sources.length < (limits?.remainingSources ?? maxProjectInstructionScopes); const applicable = textBytes !== undefined && textBytes <= availableBytes && canRecord; if (typeof source === "string" && canRecord) { sources.push({ path, scope: relativeScope, digest: textDigest(source), applicable, textBytes }); @@ -74,13 +79,35 @@ export async function collectProjectInstructions(workspaceCwd: string, scopePath break; } } - const manifest = projectInstructionManifest(sources, [...new Set(omitted)]); - return { root, manifest, prompt }; + + const claudeProjectRules = limits?.claudeProjectRules; + const claudePrompt: string[] = []; + const targets = ruleTargetPaths(openedPath, limits?.targetPaths ?? scopePaths); + for (const path of claudeProjectRules ?? []) { + if (limits?.frozenPaths?.has(path)) continue; + const source = await readProjectText(root, path); + const rule = typeof source === "string" ? path === "CLAUDE.md" ? { text: source } : readClaudeRule(source) : undefined; + if (typeof source !== "string" || !rule) { omitted.push(path); continue; } + if (!claudeRuleApplies(rule.pathPatterns, targets)) continue; + const textBytes = Buffer.byteLength(source, "utf8"); + const canRecord = sources.length < (limits?.remainingSources ?? maxProjectInstructionScopes); + const applicable = canRecord && textBytes <= availableBytes; + if (canRecord) sources.push({ path, scope: ".", digest: textDigest(source), origin: "claude", pathPatterns: rule.pathPatterns, + applicable, textBytes }); + if (!applicable) { omitted.push(path); continue; } + availableBytes -= textBytes; + const scope = rule.pathPatterns ? `paths matching ${JSON.stringify(rule.pathPatterns)}` : "the workspace"; + claudePrompt.push(`Adopted project conventions from ${JSON.stringify(path)}, applicable within ${scope}. Use applicable AGENTS.md instructions to resolve repository rule conflicts. Follow the user's request and workspace policy.\n${redactSecrets(rule.text)}`); + } + const manifest = projectInstructionManifest(sources, [...new Set(omitted)], claudeProjectRules); + return { root, manifest, prompt: [...claudePrompt, ...prompt] }; } export function projectInstructionManifest(sources: readonly LingAppServerInstructionSource[], - omitted: readonly string[]): LingAppServerProjectInstructionManifest { - return { version: 1, sources, omitted, digest: textDigest(JSON.stringify([sources, omitted])) }; + omitted: readonly string[], claudeProjectRules?: readonly string[]): LingAppServerProjectInstructionManifest { + const adopted = claudeProjectRules?.length ? { claudeProjectRules } : {}; + return { version: 1, sources, omitted, ...adopted, + digest: textDigest(JSON.stringify(claudeProjectRules?.length ? [sources, omitted, claudeProjectRules] : [sources, omitted])) }; } export async function projectInstructionDirectory(workspaceCwd: string, taskPath?: string): Promise { diff --git a/packages/daemon/src/features/conversations/routes.ts b/packages/daemon/src/features/conversations/routes.ts index 43070a434..58f7fb942 100644 --- a/packages/daemon/src/features/conversations/routes.ts +++ b/packages/daemon/src/features/conversations/routes.ts @@ -167,7 +167,8 @@ export async function startConversationReplacementRun(input: { }), permissionConfirmation: input.permissionConfirmation, }; - const runRequest = saveNormalConversationPreparedRequest(input.store, await withProjectInstructions(input.workspaceCwd, request), now); + const runRequest = saveNormalConversationPreparedRequest(input.store, await withProjectInstructions( + input.workspaceCwd, request, input.store.getWorkspaceSettings().claudeProjectRules), now); const runId = await startRunAndWaitUntilReady(runRequest, input.startRun); return { turn, runId }; } diff --git a/packages/daemon/src/features/conversations/runtime-project-instructions.ts b/packages/daemon/src/features/conversations/runtime-project-instructions.ts index 73332ab62..12f0be069 100644 --- a/packages/daemon/src/features/conversations/runtime-project-instructions.ts +++ b/packages/daemon/src/features/conversations/runtime-project-instructions.ts @@ -1,11 +1,12 @@ import { lstat, realpath } from "node:fs/promises"; -import { dirname, resolve } from "node:path"; +import { dirname, relative, resolve } from "node:path"; import type { LingAppServerProjectInstructionManifest, LingAppServerProjectInstructionUpdate } from "@ling-stack/contracts"; import { DEFAULT_WORKSPACE_ID, parseApplyPatch, redactSecrets, type RunSession, type RunStore } from "@ling-stack/core"; import type { PiRunnerRunOptions } from "@ling-stack/runner-pi"; import { isRecord } from "../../shared/validation.js"; import { trimOversizedEvent, type ControlPlaneEventHub } from "../control-plane/events.js"; import { readPatchText } from "../runs/patch-actions.js"; +import { claudeRuleApplies, ruleTargetPaths } from "./claude-project-rules.js"; import { collectProjectInstructions, isInside, maxProjectInstructionBytes, maxProjectInstructionScopes, projectInstructionManifest } from "./project-instructions.js"; @@ -30,6 +31,7 @@ export function createRuntimeProjectInstructions(input: { }): { readonly checkTool: ToolCheck; readonly projectContext: ProjectContext } { const { store, run, threadId, turnId } = input; const initial = input.prepared?.sources ?? []; + const claudeProjectRules = input.prepared?.claudeProjectRules; const retained = store.getAppServerState("project_instruction_update", run.id); let revision = retained?.revision ?? 0; let state = retained?.payload as StoredInstructions | undefined ?? { @@ -61,31 +63,39 @@ export function createRuntimeProjectInstructions(input: { const root = await realpath(input.cwd); const executionRoot = await realpath(run.cwd); if (!isInside(root, executionRoot)) return { allowed: true } as const; - const directories = (await Promise.all(paths.map(path => instructionDirectory(root, executionRoot, path, mutates)))) - .filter((directory): directory is string => directory !== undefined); - if (!directories.length) return { allowed: true } as const; + const targets = (await Promise.all(paths.map(path => instructionTarget(root, executionRoot, path, mutates)))) + .filter(target => target !== undefined); + if (!targets.length) return { allowed: true } as const; + const directories = targets.map(target => target.directory); + const targetPaths = targets.map(target => target.path); const known = [...initial, ...state.manifest.sources]; const usedBytes = known.reduce((sum, source) => sum + (source.applicable ? source.textBytes ?? 0 : 0), 0); const rules = await collectProjectInstructions(root, directories, { - frozenScopes: new Set(known.map(source => source.scope)), + frozenScopes: new Set(known.filter(source => source.origin !== "claude").map(source => source.scope)), + frozenPaths: new Set(known.map(source => source.path)), remainingBytes: maxProjectInstructionBytes - usedBytes, remainingSources: maxProjectInstructionScopes - known.length, + claudeProjectRules, targetPaths, }); const omitted = [...new Set([...state.manifest.omitted, ...rules.manifest.omitted])].slice(0, maxProjectInstructionScopes); if (rules.manifest.sources.length || omitted.length !== state.manifest.omitted.length) { save({ ...state, - manifest: projectInstructionManifest([...state.manifest.sources, ...rules.manifest.sources], omitted), + manifest: projectInstructionManifest([...state.manifest.sources, ...rules.manifest.sources], omitted, claudeProjectRules), prompt: [...state.prompt, ...rules.prompt.map(prompt => String(redactSecrets(prompt, input.extraSecrets)))], }, "discovered"); } input.assertCurrent(); if (!mutates) return { allowed: true }; - const affectsDirectory = (scope: string) => directories.some(directory => isInside(resolve(root, scope), directory)); - if (rules.manifest.omitted.length || state.manifest.sources.some(source => !source.applicable && affectsDirectory(source.scope))) { + const relativeTargets = ruleTargetPaths(root, targetPaths); + const applies = (source: LingAppServerProjectInstructionManifest["sources"][number]) => source.origin === "claude" + ? claudeRuleApplies(source.pathPatterns, relativeTargets) + : directories.some(directory => isInside(resolve(root, source.scope), directory)); + if (rules.manifest.omitted.some(path => !claudeProjectRules?.includes(path)) + || [...initial, ...state.manifest.sources].some(source => !source.applicable && applies(source))) { return { allowed: false, code: "project_instructions_unavailable", reason: "Project conventions in this scope could not be loaded." }; } const unpresented = state.manifest.sources.filter(source => source.applicable).slice(state.presentedSourceCount); - return unpresented.some(source => affectsDirectory(source.scope)) + return unpresented.some(applies) ? { allowed: false, code: "project_instructions_pending", reason: "Scoped project conventions are included in your next model request. Review them before retrying this edit." } : { allowed: true }; }) satisfies Promise>>; @@ -120,8 +130,9 @@ function scopedToolPaths(request: Parameters[0]): readonly string[] { return typeof request.input.path === "string" && request.input.path.trim() ? [request.input.path] : []; } -async function instructionDirectory(root: string, cwd: string, path: string, mutates: boolean): Promise { - let target = resolve(cwd, !mutates && path.startsWith("@") ? path.slice(1) : path); +async function instructionTarget(root: string, cwd: string, path: string, mutates: boolean) { + const requested = resolve(cwd, !mutates && path.startsWith("@") ? path.slice(1) : path); + let target = requested; while (isInside(root, target)) { const canonical = await realpath(target).catch(error => { if ((error as NodeJS.ErrnoException).code === "ENOENT") return undefined; @@ -129,7 +140,10 @@ async function instructionDirectory(root: string, cwd: string, path: string, mut }); if (canonical) { if (!isInside(root, canonical)) return undefined; - return (await lstat(canonical)).isDirectory() ? canonical : dirname(canonical); + if ((await lstat(canonical)).isDirectory()) { + return { directory: canonical, path: resolve(canonical, relative(target, requested)) }; + } + return { directory: dirname(canonical), path: canonical }; } if (target === root) break; target = dirname(target); diff --git a/packages/daemon/src/features/runs/workspace-change-recovery.ts b/packages/daemon/src/features/runs/workspace-change-recovery.ts index a33b878d2..c2ecbf749 100644 --- a/packages/daemon/src/features/runs/workspace-change-recovery.ts +++ b/packages/daemon/src/features/runs/workspace-change-recovery.ts @@ -28,6 +28,7 @@ import { assertNoInternalPatchPaths, assertNoSymlinkEscapes, assertPatchPathsWithinAllowedWritePaths, + atomicCreateWorkspaceTextFile, atomicWriteWorkspaceTextFile, deleteWorkspaceFile, readWorkspaceTextFile, @@ -192,6 +193,10 @@ export async function recoverTurnWorkspaceChanges( turn: import("@ling-stack/core").LingTurn, action: RecoveryAction, idempotencyKey: string, + confirmation?: { + readonly validate: (cwd: string) => Promise; + readonly assertCurrent: (cwd: string) => void; + }, ): Promise { if (!idempotencyKey.trim()) throw new RunWorkspaceRecoveryError(400, "idempotency_key_required", "A recovery idempotency key is required."); const links = store.listLingTurnRuns(turn.id); @@ -349,6 +354,10 @@ export async function recoverTurnWorkspaceChanges( }); throw new RunWorkspaceRecoveryError(409, "workspace_change_conflict", "Workspace changed after the recovery request was validated; retry with a new idempotency key."); } + if (confirmation) { + await confirmation.validate(cwd); + confirmation.assertCurrent(cwd); + } const recoveryRecord = durableRecord ?? store.createPostCompactionUndoRecord({ idempotencyKey, workspaceId: turn.workspaceId, @@ -878,14 +887,14 @@ export function commitRecovery(cwd: string, preflight: RecoveryPreflight): void if (readWorkspaceTextFile(cwd, path) !== before) { throw new ApplyPatchError(`Workspace file changed after recovery preflight: ${path}`); } - writeWorkspaceState(cwd, path, after); + writeWorkspaceState(cwd, path, before, after); committed.push(path); } } catch (error) { for (const path of committed.reverse()) { try { if (readWorkspaceTextFile(cwd, path) === preflight.after.get(path)) { - writeWorkspaceState(cwd, path, preflight.before.get(path)); + writeWorkspaceState(cwd, path, preflight.after.get(path), preflight.before.get(path)); } } catch { // Best-effort rollback preserves the original error while limiting partial recovery. @@ -900,9 +909,11 @@ export function commitRecovery(cwd: string, preflight: RecoveryPreflight): void } } -function writeWorkspaceState(cwd: string, path: string, content: string | undefined): void { +function writeWorkspaceState(cwd: string, path: string, current: string | undefined, content: string | undefined): void { if (content === undefined) { deleteWorkspaceFile(cwd, path); + } else if (current === undefined) { + atomicCreateWorkspaceTextFile(cwd, path, content, true); } else { atomicWriteWorkspaceTextFile(cwd, path, content); } diff --git a/packages/daemon/src/features/settings/effective-config.ts b/packages/daemon/src/features/settings/effective-config.ts index d19346896..5f315d25d 100644 --- a/packages/daemon/src/features/settings/effective-config.ts +++ b/packages/daemon/src/features/settings/effective-config.ts @@ -1,4 +1,4 @@ -import { parseDesktopBrowserPolicy } from "@ling-stack/contracts"; +import { parseClaudeProjectRules, parseDesktopBrowserPolicy } from "@ling-stack/contracts"; import { readFile } from "node:fs/promises"; import { parseWorktreePolicy } from "../workspaces/worktree-policy.js"; import { redactWorktreePolicy } from "../workspaces/worktree-policy.js"; @@ -202,6 +202,8 @@ export function parseWorkspaceSettingsUpdate(value: unknown): UpdateWorkspaceSet channelActivityViews: readNullableUnknownRecord(record.channelActivityViews, "channelActivityViews"), skillGovernancePolicy: readNullableSkillGovernancePolicy(record.skillGovernancePolicy), worktreePolicy: parseWorktreePolicy(record.worktreePolicy), + claudeProjectRules: record.claudeProjectRules === undefined || record.claudeProjectRules === null + ? record.claudeProjectRules : parseClaudeProjectRules(record.claudeProjectRules), }; } diff --git a/packages/daemon/src/index.ts b/packages/daemon/src/index.ts index b1ec07096..44bb5e6ad 100644 --- a/packages/daemon/src/index.ts +++ b/packages/daemon/src/index.ts @@ -1,4 +1,5 @@ import { AutomationEventWorker } from "./features/automations/event-worker.js"; +import { processGitHubWebhookIntake } from "./server/app-server-github-intake.js"; import { startDetachedRunAndResolveReady } from "./features/runs/detached.js"; import { resolveProviderForRun } from "./features/runs/providers.js"; import { TaskSupervisor } from "./features/runs/task-supervisor.js"; @@ -563,7 +564,8 @@ export function createDaemonServer( if (channelTurnDispatchReady) channelTurnDispatchWorker?.start(store); companionSchedulers?.start(cwd); worktreeMaintenance.registerStore(cwd, store); - if (store.listAutomationEventSources().some(source => source.enabled)) automationEvents?.start(cwd); + if (store.listAutomationEventSources().some(source => source.enabled) + || store.listAppServerState("github_intake_pending").length) automationEvents?.start(cwd); taskSupervisor?.start(cwd); learningReviewCoordinator?.registerStore(store); if (!memorySemanticServices.has(store)) { @@ -743,7 +745,9 @@ export function createDaemonServer( runnerRegistry, storeRegistry, activeRuns, runtimeSupervisor, secretResolver, mcpBroker, { onRunReady: (id, info) => { hooks.onRunReady?.(id, info); onReady(id); }, afterRunTerminal: hooks.afterRunTerminal, controlPlaneEvents, startupState, computerUsePreviews, nativeRunDispatcher, - }))); + })), (store, signal) => processGitHubWebhookIntake({ + config: resolvedConfig, secretResolver, externalWorkFetch, controlPlaneEvents, + }, store, signal)); automationSchedulers = new AutomationSchedulerRegistry( runnerRegistry, storeRegistry, diff --git a/packages/daemon/src/server/app-server-changes.ts b/packages/daemon/src/server/app-server-changes.ts new file mode 100644 index 000000000..5b5392930 --- /dev/null +++ b/packages/daemon/src/server/app-server-changes.ts @@ -0,0 +1,167 @@ +import { createHash } from "node:crypto"; +import { realpathSync, statSync } from "node:fs"; +import type { + CodeAssessmentSnapshot, + LingAppServerApplyChangesResult, + LingAppServerCaptureChangesResult, + LingAppServerChangeRecoveryPreview, + LingAppServerPreviewChangeRecoveryParams, + LingAppServerReadChangesResult, +} from "@ling-stack/contracts"; +import type { LingTurn, RunStore } from "@ling-stack/core"; +import { HttpError } from "../errors.js"; +import { captureCodeAssessmentSnapshot, isSensitiveAssessmentPath } from "../features/code-assessments/snapshot.js"; +import { + buildTurnWorkspaceChangesResponse, + recoverTurnWorkspaceChanges, + RunWorkspaceRecoveryError, + withWorkspaceRecoveryLock, +} from "../features/runs/workspace-change-recovery.js"; +import { assertWorktreeIdle } from "../features/workspaces/worktree-mutation.js"; + +const digestPattern = /^[a-f0-9]{64}$/u; +const maxResultBytes = 112 * 1024; +const hash = (value: unknown) => createHash("sha256").update(JSON.stringify(value)).digest("hex"); + +function summarizeCandidate(cwd: string, snapshot: CodeAssessmentSnapshot): LingAppServerCaptureChangesResult { + if (!snapshot.headSha) throw new HttpError(409, "candidate_unavailable", "The worktree has no committed candidate baseline."); + return { + cwd, + candidate: { + workspaceId: cwd, + candidateDigest: snapshot.digest, filePaths: snapshot.files.map(file => file.path), + }, + coverage: snapshot.coverage, headCommit: snapshot.headSha, + }; +} + +export async function captureAppServerChanges(cwd: string): Promise { + return summarizeCandidate(cwd, await captureCodeAssessmentSnapshot(cwd, { type: "working_tree" })); +} + +export async function readAppServerChanges(cwd: string, input: Record): Promise { + const { candidateDigest, offset = 0, limit = 20 } = input; + if (typeof candidateDigest !== "string" || !digestPattern.test(candidateDigest) + || typeof offset !== "number" || !Number.isSafeInteger(offset) || offset < 0 + || typeof limit !== "number" || !Number.isSafeInteger(limit) || limit < 1 || limit > 50) { + throw new HttpError(400, "invalid_params", "Supply a candidate digest and valid file pagination."); + } + const snapshot = await captureCodeAssessmentSnapshot(cwd, { type: "working_tree" }); + if (snapshot.digest !== candidateDigest) throw stale("The worktree changed since the candidate was captured."); + const summary = summarizeCandidate(cwd, snapshot); + const files: LingAppServerReadChangesResult["files"][number][] = []; + const result = { ...summary, candidate: { ...summary.candidate, filePaths: undefined }, + files, exclusions: snapshot.exclusions.slice(0, 20), exclusionCount: snapshot.exclusions.length, + totalFileCount: snapshot.totalFileCount }; + let remaining = maxResultBytes - responseBytes(result); + let nextOffset = offset; + for (const file of snapshot.files.slice(offset, offset + limit)) { + let entry: LingAppServerReadChangesResult["files"][number] = file; + if (remaining < responseBytes(entry) + 1) { + if (files.length) break; + const { diff: _diff, ...metadata } = file; + entry = { ...metadata, diffOmitted: "frame_limit" }; + } + files.push(entry); + remaining -= responseBytes(entry) + 1; + nextOffset++; + } + return { ...result, ...(nextOffset < snapshot.files.length ? { nextOffset } : {}) }; +} + +export async function previewAppServerChangeRecovery( + store: RunStore, input: Record, +): Promise { + const { turn, action } = recoveryTarget(store, input); + return withWorkspaceRecoveryLock(store.paths.cwd, () => previewRecovery(store, turn, action)); +} + +export async function applyAppServerChanges(store: RunStore, input: Record): Promise { + const { turn, action } = recoveryTarget(store, input); + const { expectedRevision, idempotencyKey, confirmed } = input; + if (typeof expectedRevision !== "string" || !digestPattern.test(expectedRevision) + || typeof idempotencyKey !== "string" || !idempotencyKey.trim() || idempotencyKey.length > 200 + || /[\r\n\0]/u.test(idempotencyKey) || confirmed !== true) { + throw new HttpError(400, "invalid_params", "Confirm the recovery preview with its revision and a request key."); + } + const receiptId = `change_recovery_${hash(idempotencyKey)}`; + const fingerprint = hash([turn.id, action, expectedRevision]); + const checkReceipt = () => { + const stored = store.getAppServerState("change_recovery_request", receiptId); + if (stored && stored.payload !== fingerprint) { + throw Object.assign(new Error("The change recovery key belongs to a different request."), + { jsonRpcCode: -32031, code: "idempotency_conflict" }); + } + return stored; + }; + checkReceipt(); + await recoverTurnWorkspaceChanges(store, turn, action, receiptId, { + validate: async () => { + const preview = await previewRecovery(store, turn, action); + if (preview.expectedRevision !== expectedRevision) throw stale("The candidate or recovery basis changed after preview."); + }, + assertCurrent: (cwd) => { + assertRecoveryIdle(store, cwd); + if (!checkReceipt() && !store.putAppServerState({ + kind: "change_recovery_request", recordId: receiptId, expectedRevision: 0, payload: fingerprint, + }, new Date().toISOString())) throw stale("The change recovery request changed during admission."); + }, + }); + if (!checkReceipt()) throw new HttpError(409, "unknown_outcome", "The accepted recovery request could not be confirmed."); + return { cwd: store.paths.cwd, turnId: turn.id, action, receiptId, state: action === "undo" ? "undone" : "applied" }; +} + +function recoveryTarget(store: RunStore, input: Record) { + const { threadId, turnId, action } = input; + if (typeof threadId !== "string" || !threadId || typeof turnId !== "string" || !turnId + || action !== "undo" && action !== "reapply") throw new HttpError(400, "invalid_params", "Supply the Thread, Turn and recovery action."); + const turn = store.getLingTurn(turnId); + if (!turn || turn.threadId !== threadId || !store.getLingThread(threadId)) { + throw new HttpError(404, "workspace_binding_invalid", "The Turn does not belong to this Thread."); + } + const runs = store.listLingTurnRuns(turnId); + if (runs.some(link => { + const run = store.getRun(link.runId); + return !run || run.cwd !== store.paths.cwd; + })) throw new HttpError(409, "workspace_binding_invalid", "Recovery requires a Turn in the bound project checkout."); + return { turn, action } as const; +} + +async function previewRecovery( + store: RunStore, turn: LingTurn, action: LingAppServerPreviewChangeRecoveryParams["action"], +): Promise { + const cwd = store.paths.cwd; + assertRecoveryIdle(store, cwd); + const { dev, ino } = statSync(cwd, { bigint: true }); + const changes = await buildTurnWorkspaceChangesResponse(store, turn); + if (changes.review?.state !== "exact" || changes.files.some(file => isSensitiveAssessmentPath(file.path)) + || !(action === "undo" ? changes.canUndo : changes.canReapply)) { + throw new HttpError(409, "workspace_changes_unavailable", "Recovery requires the complete reviewed Turn patch in its expected state."); + } + const candidate = await captureAppServerChanges(cwd); + if (candidate.coverage !== "complete") { + throw new HttpError(409, "candidate_incomplete", "Recovery requires complete coverage of the current candidate."); + } + const expectedRevision = hash([cwd, String(dev), String(ino), turn.id, action, candidate.candidate.candidateDigest, + changes.runIds, changes.review.revision, changes.updatedAt]); + const preview = { ...candidate, action, changes, expectedRevision }; + if (responseBytes(preview) > maxResultBytes) throw new HttpError(413, "change_preview_limit", "The recovery preview exceeds the response limit."); + assertRecoveryIdle(store, cwd); + return preview; +} + +function assertRecoveryIdle(store: RunStore, cwd: string): void { + if (cwd !== store.paths.cwd || realpathSync(cwd) !== cwd) { + throw new RunWorkspaceRecoveryError(409, "workspace_binding_invalid", "The recovery checkout identity changed."); + } + store.assertWorkspaceSnapshotFence(cwd); + assertWorktreeIdle(store, cwd); +} + +function stale(message: string) { + return Object.assign(new Error(message), { jsonRpcCode: -32030, code: "stale_revision" }); +} + +function responseBytes(value: unknown): number { + return Buffer.byteLength(JSON.stringify(value), "utf8"); +} diff --git a/packages/daemon/src/server/app-server-development.ts b/packages/daemon/src/server/app-server-development.ts index 1627a624d..2cac9844d 100644 --- a/packages/daemon/src/server/app-server-development.ts +++ b/packages/daemon/src/server/app-server-development.ts @@ -424,7 +424,8 @@ export class AppServerDevelopmentService { } checks.push({ id: "feature_flags", category: "config", status: "ok", summary: "Feature configuration loaded", details: `channels.autoRoute: ${this.options.context.config.channels.autoRoute === true}` }); if (input.scope === "project") { - const { manifest } = await collectProjectInstructions(cwd); + const { claudeProjectRules } = this.storeRegistry().getStore(cwd).getWorkspaceSettings(); + const { manifest } = await collectProjectInstructions(cwd, [], { claudeProjectRules }); checks.push({ id: "project_instructions", category: "instructions", status: manifest.omitted.length ? "warning" : "ok", summary: manifest.sources.length ? "Project instruction sources discovered" : "No project instruction files found", details: JSON.stringify(manifest) }); diff --git a/packages/daemon/src/server/app-server-github-intake.ts b/packages/daemon/src/server/app-server-github-intake.ts new file mode 100644 index 000000000..1a94bb546 --- /dev/null +++ b/packages/daemon/src/server/app-server-github-intake.ts @@ -0,0 +1,171 @@ +import type { + LingAppServerGitHubIntakePolicy, + LingAppServerGitHubIntakePollResult, + LingAppServerGitHubIntakeReceipt, + LingAppServerGitHubSubject, +} from "@ling-stack/contracts"; +import type { AutomationEventEnvelope, AutomationEventSource, AutomationGitHubIntakePending, AutomationGitHubIntakeTarget, RunStore } from "@ling-stack/core"; +import type { DaemonContext } from "../context.js"; +import { HttpError } from "../errors.js"; +import { trimOversizedEvent } from "../features/control-plane/events.js"; +import { isRecord } from "../shared/validation.js"; +import { assertGitHubRepository, digest, gitHubReadClient, gitHubWorkItemTargetKey, readAppServerGitHubSubject } from "./app-server-github-subject.js"; +import { githubRepositoryPattern, type AppServerGitHubSourceConfig } from "./app-server-github-sources.js"; + +type IntakeContext = Pick; +type IntakeSubject = Pick; +type ReceiptBasis = Omit; +const defaultPolicy: LingAppServerGitHubIntakePolicy = { mode: "manual", enabled: true }; +const pageSize = 20; + +function policyRevision(source: AppServerGitHubSourceConfig): string { + return digest([source.repositoryId, source.intake ?? defaultPolicy]); +} + +export function gitHubWebhookIntakeTarget( + context: Pick, cwd: string, source: AutomationEventSource, + envelope: Pick, +): AutomationGitHubIntakeTarget | undefined { + if (source.adapter !== "github") return undefined; + const configured = context.config.appServerGitHubSources.find(item => item.workspaceRoot === cwd + && item.repository === source.repository?.toLowerCase() && item.intake?.webhookSourceId === source.id); + if (!configured) return undefined; + const repository = envelope.payload.repository; + if (!isRecord(repository) || String(repository.id) !== configured.repositoryId) { + throw new HttpError(403, "github_intake_repository_mismatch", "The signed event repository differs from the configured identity."); + } + const pr = envelope.payload.pull_request; + const issue = envelope.payload.issue; + const item = isRecord(pr) ? pr : issue; + if (!isRecord(item) || typeof item.number !== "number" || !Number.isSafeInteger(item.number) || item.number < 1) return undefined; + return { repository: configured.repository, kind: isRecord(pr) || isRecord(item.pull_request) ? "pull_request" : "issue", + number: item.number, policyRevision: policyRevision(configured) }; +} + +export function gitHubIntakeReceiptId(origin: LingAppServerGitHubIntakeReceipt["origin"], sourceEventId: string): string { + return `github_intake_${digest([origin, sourceEventId])}`; +} + +export async function pollGitHubIntake(context: IntakeContext, store: RunStore, input: Record): Promise { + const { repository, page = 1 } = input; + if (typeof repository !== "string" || !githubRepositoryPattern.test(repository) + || typeof page !== "number" || !Number.isSafeInteger(page) || page < 1 || page > 500) { + throw new HttpError(400, "invalid_params", "Supply a registered GitHub repository and a positive page."); + } + const cwd = store.paths.cwd; + const client = gitHubReadClient(context, cwd, repository.toLowerCase()); + const { source } = client; + const policy = source.intake ?? defaultPolicy; + const revision = policyRevision(source); + const [repo, items] = await Promise.all([client.get(""), client.list(`/issues?state=open&per_page=${pageSize}&page=${page}`, pageSize)]); + assertGitHubRepository(client, repo); + const receipts = items.map(item => { + if (typeof item.number !== "number" || !Number.isSafeInteger(item.number) || item.number < 1 + || typeof item.title !== "string" || !item.title.trim() || item.state !== "open" && item.state !== "closed") { + throw new HttpError(502, "github_observation_invalid", "GitHub returned an invalid issue or pull request."); + } + const subject: IntakeSubject = { + githubInstanceId: "github.com", repositoryId: source.repositoryId, repository: source.repository, + kind: isRecord(item.pull_request) ? "pull_request" : "issue", number: item.number, title: item.title, + state: item.state, + labels: Array.isArray(item.labels) ? item.labels.slice(0, 100).flatMap(label => + isRecord(label) && typeof label.name === "string" ? [label.name.slice(0, 80)] : []) : [], + }; + const sourceEventId = `poll_${digest([subject, item.updated_at, revision])}`; + const basis = receiptBasis("poll", sourceEventId, subject, revision); + return evaluateGitHubIntake(context, store, basis, policy, subject); + }); + return { cwd, receipts, ...(items.length === pageSize && page < 500 ? { nextPage: page + 1 } : {}) }; +} + +export function readGitHubIntake(store: RunStore, receiptId: unknown): LingAppServerGitHubIntakeReceipt { + if (typeof receiptId !== "string" || !/^github_intake_[a-f0-9]{64}$/u.test(receiptId)) { + throw new HttpError(400, "invalid_params", "Supply a valid GitHub intake receipt ID."); + } + const result = readReceipt(store, receiptId); + if (!result) throw new HttpError(404, "intake_receipt_not_found", "The GitHub intake receipt is unavailable."); + return result; +} + +export async function processGitHubWebhookIntake(context: IntakeContext, store: RunStore, signal: AbortSignal): Promise { + const now = Date.now(); + const pending = store.listAppServerState("github_intake_pending").reverse().filter(record => + record.revision === 1 || Date.parse(record.updatedAt) + 2000 * 2 ** (record.revision - 1) <= now).slice(0, 4); + for (const record of pending) { + signal.throwIfAborted(); + const target = record.payload as AutomationGitHubIntakePending; + const basis = receiptBasis("webhook", target.sourceEventId, target, target.policyRevision); + if (!readReceipt(store, basis.receiptId)) { + const source = context.config.appServerGitHubSources.find(item => item.workspaceRoot === store.paths.cwd + && item.repository === target.repository && item.intake?.webhookSourceId === target.sourceId); + const current = () => { + const eventSource = store.getAutomationEventSource(target.sourceId); + return source && policyRevision(source) === target.policyRevision && eventSource?.enabled && eventSource.revision === target.sourceRevision; + }; + if (!current()) { + saveReceipt(store, { ...basis, outcome: "paused", reasonCode: "source_authority_changed" }); + } else { + try { + const client = gitHubReadClient(context, store.paths.cwd, target.repository); + const subject = await readAppServerGitHubSubject(client, target); + signal.throwIfAborted(); + if (!current()) saveReceipt(store, { ...basis, outcome: "paused", reasonCode: "source_authority_changed" }); + else evaluateGitHubIntake(context, store, basis, source?.intake ?? defaultPolicy, subject); + } catch (error) { + signal.throwIfAborted(); + if (error instanceof HttpError && error.statusCode === 404) { + saveReceipt(store, { ...basis, outcome: "suppressed", reasonCode: "subject_unavailable" }); + } else if (record.revision >= 5) { + saveReceipt(store, { ...basis, outcome: "paused", reasonCode: "github_observation_unavailable" }); + } else { + store.putAppServerState({ kind: "github_intake_pending", recordId: record.recordId, + expectedRevision: record.revision, payload: target }, new Date().toISOString()); + continue; + } + } + } + } + store.deleteAppServerState("github_intake_pending", record.recordId); + } +} + +function receiptBasis( + origin: ReceiptBasis["origin"], sourceEventId: string, + { repository, kind, number }: Pick, policyRevision: string, +): ReceiptBasis { + return { receiptId: gitHubIntakeReceiptId(origin, sourceEventId), sourceEventId, origin, repository, + policyRevision, subject: { kind, number }, evaluatedAt: new Date().toISOString() }; +} + +function evaluateGitHubIntake(context: IntakeContext, store: RunStore, basis: ReceiptBasis, + policy: LingAppServerGitHubIntakePolicy, subject: IntakeSubject): LingAppServerGitHubIntakeReceipt { + const retained = readReceipt(store, basis.receiptId); + if (retained) return retained; + if (!policy.enabled) return saveReceipt(store, { ...basis, outcome: "paused", reasonCode: "policy_disabled" }); + if (subject.state !== "open") return saveReceipt(store, { ...basis, outcome: "suppressed", reasonCode: "subject_closed" }); + if (policy.requiredLabel && !subject.labels?.includes(policy.requiredLabel)) { + return saveReceipt(store, { ...basis, outcome: "suppressed", reasonCode: "required_label_missing" }); + } + if (policy.mode === "manual") return saveReceipt(store, { ...basis, outcome: "manual", reasonCode: "manual_intake" }); + const result = store.createWorkItem({ + sourceType: "external_work", sourceId: basis.receiptId, title: subject.title.slice(0, 500), initialStatus: "intake", + priority: policy.priority ?? "normal", verifiedTargetKey: gitHubWorkItemTargetKey(subject), + description: `GitHub ${subject.kind} ${subject.repository}#${subject.number}`, gitHubIntake: basis, + }, basis.evaluatedAt, store.paths.cwd); + if (result.event) context.controlPlaneEvents.publish(trimOversizedEvent(result.event)); + if (!result.gitHubIntakeReceipt) throw new HttpError(409, "intake_conflict", "The GitHub intake receipt was not committed."); + return result.gitHubIntakeReceipt; +} + +function readReceipt(store: RunStore, receiptId: string): LingAppServerGitHubIntakeReceipt | undefined { + return store.getAppServerState("github_intake_receipt", receiptId)?.payload as LingAppServerGitHubIntakeReceipt | undefined; +} + +function saveReceipt(store: RunStore, receipt: LingAppServerGitHubIntakeReceipt): LingAppServerGitHubIntakeReceipt { + const saved = store.putAppServerState({ + kind: "github_intake_receipt", recordId: receipt.receiptId, expectedRevision: 0, payload: receipt, + }, receipt.evaluatedAt); + const retained = saved ? receipt : readReceipt(store, receipt.receiptId); + if (!retained) throw new HttpError(409, "intake_conflict", "The GitHub intake receipt changed during evaluation."); + return retained; +} diff --git a/packages/daemon/src/server/app-server-github-sources.ts b/packages/daemon/src/server/app-server-github-sources.ts index f2f63b4a9..babcfeba3 100644 --- a/packages/daemon/src/server/app-server-github-sources.ts +++ b/packages/daemon/src/server/app-server-github-sources.ts @@ -1,6 +1,7 @@ import { readFileSync, realpathSync } from "node:fs"; import { isAbsolute } from "node:path"; -import type { LingGitHubRequiredCheck } from "@ling-stack/contracts"; +import type { LingAppServerGitHubIntakePolicy, LingGitHubRequiredCheck } from "@ling-stack/contracts"; +import { isRecord } from "../shared/validation.js"; export interface AppServerGitHubDeliveryPolicy { readonly baseRef: string; @@ -17,6 +18,7 @@ export interface AppServerGitHubSourceConfig { readonly repositoryId: string; readonly secretRef?: string; readonly deliveryPolicies?: readonly AppServerGitHubDeliveryPolicy[]; + readonly intake?: LingAppServerGitHubIntakePolicy; } export const githubRepositoryPattern = /^[A-Za-z0-9][A-Za-z0-9-]{0,99}\/(?!\.{1,2}$)[A-Za-z0-9_.-]{1,100}$/u; @@ -48,10 +50,25 @@ export function resolveAppServerGitHubSources( return { workspaceRoot, repository, repositoryId: config.repositoryId, secretRef: config.secretRef, deliveryPolicies: resolveDeliveryPolicies(config.deliveryPolicies), + intake: resolveIntakePolicy(config.intake), }; }); } +function resolveIntakePolicy(policy: unknown): LingAppServerGitHubIntakePolicy | undefined { + if (policy === undefined) return undefined; + if (!isRecord(policy) || policy.mode !== "manual" && policy.mode !== "suggest" || typeof policy.enabled !== "boolean" + || policy.requiredLabel !== undefined && (typeof policy.requiredLabel !== "string" || !policy.requiredLabel.trim() + || policy.requiredLabel.length > 50 || /[,\r\n\0]/u.test(policy.requiredLabel)) + || policy.webhookSourceId !== undefined && (typeof policy.webhookSourceId !== "string" || !/^[A-Za-z0-9_.:-]{1,160}$/u.test(policy.webhookSourceId)) + || policy.priority !== undefined && policy.priority !== "low" && policy.priority !== "normal" + && policy.priority !== "high" && policy.priority !== "urgent") { + throw new Error("Invalid App Server GitHub intake policy."); + } + return { mode: policy.mode, enabled: policy.enabled, requiredLabel: policy.requiredLabel, + webhookSourceId: policy.webhookSourceId, priority: policy.priority }; +} + function resolveDeliveryPolicies(policies: readonly AppServerGitHubDeliveryPolicy[] | undefined): readonly AppServerGitHubDeliveryPolicy[] { if (policies === undefined) return []; if (!Array.isArray(policies) || policies.length > 32) throw new Error("GitHub delivery policies must be a bounded array."); diff --git a/packages/daemon/src/server/app-server-github-subject.ts b/packages/daemon/src/server/app-server-github-subject.ts index a4355a5aa..3cd34c0b8 100644 --- a/packages/daemon/src/server/app-server-github-subject.ts +++ b/packages/daemon/src/server/app-server-github-subject.ts @@ -14,7 +14,7 @@ export function parseGitHubSubjectParams(value: unknown): LingAppServerGitHubSub return { repository: value.repository.toLowerCase(), kind: value.kind, number: value.number }; } -export function gitHubWorkItemTargetKey(subject: LingAppServerGitHubSubject): string { +export function gitHubWorkItemTargetKey(subject: Pick): string { return `github_${digest([subject.githubInstanceId, subject.repositoryId, subject.kind, subject.number])}`; } @@ -26,9 +26,7 @@ export function gitHubReadClient(context: Pick> { + async function getJson(path: string): Promise { let response: Response; try { response = await fetcher(`https://api.github.com/repos/${repository}${path}`, { @@ -43,10 +41,22 @@ export function gitHubReadClient(context: Pick undefined); + return await response.json().catch(() => undefined); + } + return { + source, + async get(path: string): Promise> { + const body = await getJson(path); if (!isRecord(body)) throw new HttpError(502, "github_observation_invalid", "GitHub returned an invalid record."); return body; }, + async list(path: string, limit: number): Promise[]> { + const body = await getJson(path); + if (!Array.isArray(body) || body.length > limit || !body.every(isRecord)) { + throw new HttpError(502, "github_observation_invalid", "GitHub returned an invalid collection."); + } + return body; + }, }; } @@ -55,8 +65,8 @@ export type GitHubReadClient = ReturnType; export async function readAppServerGitHubSubject(client: GitHubReadClient, params: LingAppServerGitHubSubjectParams): Promise { const path = params.kind === "issue" ? "/issues/" : "/pulls/"; const [repo, item] = await Promise.all([client.get(""), client.get(path + params.number)]); - if (String(repo.id) !== client.source.repositoryId || typeof repo.full_name !== "string" - || repo.full_name.toLowerCase() !== client.source.repository || item.number !== params.number + assertGitHubRepository(client, repo); + if (item.number !== params.number || typeof item.title !== "string" || !item.title.trim() || item.state !== "open" && item.state !== "closed" || params.kind === "issue" && item.pull_request) { throw new HttpError(404, "github_subject_unavailable", "The GitHub object did not match the registered subject."); @@ -72,13 +82,22 @@ export async function readAppServerGitHubSubject(client: GitHubReadClient, param } const mergeSha = commitSha(item.merge_commit_sha); const merged = params.kind === "pull_request" ? item.merged === true : undefined; + const labels = Array.isArray(item.labels) ? item.labels.slice(0, 100).flatMap(label => + isRecord(label) && typeof label.name === "string" ? [label.name.slice(0, 80)] : []) : undefined; const facts = { githubInstanceId: "github.com" as const, repositoryId: client.source.repositoryId, repository: client.source.repository, - kind: params.kind, number: params.number, title: item.title, state: item.state, baseRef, baseSha, headSha, mergeSha, merged, + kind: params.kind, number: params.number, title: item.title, state: item.state, baseRef, baseSha, headSha, mergeSha, merged, labels, } satisfies Omit; return { ...facts, sourceRevision: digest([facts, item.updated_at]) }; } +export function assertGitHubRepository(client: GitHubReadClient, repo: Record): void { + if (String(repo.id) !== client.source.repositoryId || typeof repo.full_name !== "string" + || repo.full_name.toLowerCase() !== client.source.repository) { + throw new HttpError(404, "github_subject_unavailable", "The GitHub repository did not match the registered identity."); + } +} + export function commitSha(value: unknown): string | undefined { return typeof value === "string" && /^[a-f0-9]{40}$/u.test(value) ? value : undefined; } diff --git a/packages/daemon/src/server/rpc.ts b/packages/daemon/src/server/rpc.ts index 8cfa120d7..69508e26f 100644 --- a/packages/daemon/src/server/rpc.ts +++ b/packages/daemon/src/server/rpc.ts @@ -85,8 +85,9 @@ import { submitAuthorizedUserInputAnswer } from "../features/runs/user-input-ans import { publishUserInputAnswerAcceptance } from "../features/runs/user-input-events.js"; import { RpcOutboundWriter, type RpcOutboundFrame } from "./rpc-outbound.js"; import { AppServerDevelopmentService } from "./app-server-development.js"; +import { applyAppServerChanges, captureAppServerChanges, previewAppServerChangeRecovery, readAppServerChanges } from "./app-server-changes.js"; +import { RunWorkspaceRecoveryError } from "../features/runs/workspace-change-recovery.js"; import { executeAppServerVerificationCheck } from "./app-server-verification-recipes.js"; -import { captureCodeAssessmentSnapshot } from "../features/code-assessments/snapshot.js"; import { listManagedWorktrees, WorktreeActionError } from "../features/workspaces/worktree-management.js"; import { cleanupAppServerWorktree, createAppServerWorktree, previewAppServerWorktreeCleanup, refreshAppServerWorktree } from "./app-server-worktrees.js"; import { checkAppServerHandoff, createAppServerHandoff, handoffInstruction, readAppServerHandoff } from "./app-server-handoff.js"; @@ -96,6 +97,7 @@ import { grantAllowsMethod, grantAllowsRequest, listAppServerGrants, revokeAppServerGrant, } from "./app-server-authorization.js"; import { gitHubReadClient, gitHubWorkItemTargetKey, parseGitHubSubjectParams, readAppServerGitHubSubject } from "./app-server-github-subject.js"; +import { pollGitHubIntake, readGitHubIntake } from "./app-server-github-intake.js"; import { readGitHubDelivery, reconcileGitHubDelivery } from "./app-server-github-delivery.js"; import { assertWorkItemConversationAdmission } from "../features/work-items/conversation-admission.js"; import { @@ -153,8 +155,7 @@ const legacyRpcMethods = new Set([ ]); const UNIMPLEMENTED_APP_SERVER_METHODS = new Set([ "turn/retry", "turn/steer", "thread/compact/start", "thread/revert", - "changes/read", - "changes/apply/preview", "changes/apply", "artifact/read", + "artifact/read", "model/list", "skill/read", "permissionProfile/list", ]); const activeExternalDispatches = new WeakMap>(); @@ -168,8 +169,10 @@ const operatorMethods = new Set([ "thread/fork", "handoff/create", "handoff/resume", "server/grants/create", "server/grants/list", "server/grants/revoke", "github/subject/read", "github/delivery/reconcile", "workItem/delivery/read", "delivery/read", + "github/intake/poll", "github/intake/read", "workItem/accept", "workItem/coordination/schedule/read", "workItem/coordination/schedule/set", + "changes/read", "changes/apply/preview", "changes/apply", ]); const IMPLEMENTED_APP_SERVER_METHODS = LING_APP_SERVER_METHODS.filter(method => !UNIMPLEMENTED_APP_SERVER_METHODS.has(method)); const appServerMethods = new Set([...IMPLEMENTED_APP_SERVER_METHODS, "runs.start", "runs.cancel", "turn/steer"]); @@ -620,13 +623,19 @@ class RpcConnection { return await this.development.planVerification(this.workspaceParams(params) as never); case "changes/capture": { const { cwd } = this.workspaceParams(params); - const snapshot = await captureCodeAssessmentSnapshot(cwd, { type: "working_tree" }); - return { - cwd, - candidate: { workspaceId: cwd, candidateDigest: snapshot.digest, filePaths: snapshot.files.map(file => file.path) }, - coverage: snapshot.coverage, - headCommit: snapshot.headSha, - }; + return await captureAppServerChanges(cwd); + } + case "changes/read": { + const record = this.workspaceParams(params, true); + return await readAppServerChanges(record.cwd, record); + } + case "changes/apply/preview": + case "changes/apply": { + const record = this.workspaceParams(params, true); + const store = this.context.storeRegistry.getStore(record.cwd); + return method === "changes/apply/preview" + ? await previewAppServerChangeRecovery(store, record) + : await applyAppServerChanges(store, record); } case "verify/start": return await this.development.startVerification(params as never); @@ -715,6 +724,15 @@ class RpcConnection { const subject = await readAppServerGitHubSubject(gitHubReadClient(this.context, record.cwd, subjectParams.repository), subjectParams); return { cwd: record.cwd, subject }; } + case "github/intake/poll": { + const record = this.workspaceParams(params, true); + return await pollGitHubIntake(this.context, this.context.storeRegistry.getStore(record.cwd), record); + } + case "github/intake/read": { + const record = this.workspaceParams(params, true); + const receipt = readGitHubIntake(this.context.storeRegistry.getStore(record.cwd), record.receiptId); + return { cwd: record.cwd, receipt }; + } case "github/delivery/reconcile": { const record = this.workspaceParams(params, true); const subject = parseGitHubSubjectParams({ repository: record.repository, kind: "pull_request", number: record.pullRequestNumber }); @@ -828,7 +846,7 @@ class RpcConnection { } return LING_APP_SERVER_IMPLEMENTED_CAPABILITIES.filter(capability => this.authenticated || (capability !== "turn.control" && capability !== "approval.respond" - && capability !== "input.respond" && capability !== "development.simplify")); + && capability !== "input.respond" && capability !== "development.simplify" && capability !== "development.changes")); } private replayIdentity(cwd: string, store = this.context.storeRegistry.getStore(cwd)) { @@ -2856,6 +2874,9 @@ function normalizeRpcError(error: unknown): { readonly jsonRpcCode: number; read : error.code === "unknown_outcome" ? -32060 : -32041; return { jsonRpcCode, code: error.code, message: error.message }; } + if (error instanceof RunWorkspaceRecoveryError) { + return { jsonRpcCode: error.statusCode === 400 ? -32602 : -32061, code: error.code, message: error.message }; + } if (error instanceof UserInputStoreError) { const message = "The answer could not be accepted for the current question."; switch (error.code) { diff --git a/packages/daemon/test/app-server-release-acceptance.test.ts b/packages/daemon/test/app-server-release-acceptance.test.ts index 3047a8893..50865f590 100644 --- a/packages/daemon/test/app-server-release-acceptance.test.ts +++ b/packages/daemon/test/app-server-release-acceptance.test.ts @@ -1,6 +1,6 @@ import assert from "node:assert/strict"; import { execFile, execFileSync, spawn } from "node:child_process"; -import { createHash, randomUUID } from "node:crypto"; +import { createHash, createHmac, randomUUID } from "node:crypto"; import { once } from "node:events"; import { chmod, link, lstat, mkdir, mkdtemp, readFile, realpath, rm, symlink, unlink, writeFile } from "node:fs/promises"; import { createConnection, createServer } from "node:net"; @@ -22,6 +22,8 @@ import type { LingAppServerExternalAgentTaskReconnectResult, LingAppServerExternalAgentTaskStartResult, LingAppServerGitHubSubjectResult, + LingAppServerGitHubIntakePollResult, + LingAppServerGitHubIntakeReceipt, LingAppServerGitHubDeliveryResult, LingAppServerCoordinationSchedule, LingAppServerWorkItemCollaborationReadResult, @@ -451,6 +453,137 @@ test("Pi receives scoped project instructions before editing a newly discovered ]); }); +test("an operator previews and recovers a Turn patch against the current candidate", { timeout: 30_000 }, async t => { + const fixture = await releaseFixture(t); + const statusFile = join(fixture.cwd, "status.txt"); + const extraFile = join(fixture.cwd, "local.txt"); + await writeFile(join(fixture.cwd, ".gitignore"), ".ling-stack/\n"); + await writeFile(statusFile, "pending\n"); + const git = (...args: string[]) => execFileSync("git", args, { cwd: fixture.cwd, stdio: "ignore" }); + git("init", "-q"); + git("add", "."); + git("-c", "user.name=Fixture", "-c", "user.email=fixture@example.test", "commit", "-qm", "Recovery baseline"); + const provider = await startLoopbackPiProvider((_body: unknown, count: number) => count === 1 + ? { tool: "edit", input: { path: "status.txt", edits: [{ oldText: "pending", newText: "ready" }] } } + : { text: "Status updated." }); + t.after(() => provider.close()); + const startClient = () => { + const { daemonUrl, authToken } = fixture.transportOptions(); + const client = new LingAppServerClient({ + url: daemonUrl.replace("http:", "ws:") + `/app-server/rpc?cwd=${encodeURIComponent(fixture.cwd)}`, + createSocket: url => new WebSocket(url, { headers: { Authorization: `Bearer ${authToken}` } }) as unknown as LingAppServerSocket, + clientInfo: { name: "patch-recovery-test", version: "1" }, + }); + t.after(() => client.close()); + return client; + }; + const peer = await fixture.connect(); + const { thread } = await peer.call("thread/start", { title: "Recover reviewed status change" }); + const preset = addLoopbackPreset(fixture.getStore(), provider.baseUrl); + const { turn, run } = await peer.call<{ turn: { id: string }; run: { id: string } }>("turn/start", { + threadId: thread.id, message: "Update the status", idempotencyKey: "change-status", + providerPresetId: preset.id, tools: ["edit"], authorizationMode: "always", workspaceAccessMode: "workspace_write", + }); + await waitFor(() => fixture.getStore().getRun(run.id)?.endedAt); + assert.equal(await readFile(statusFile, "utf8"), "ready\n"); + const client = startClient(); + const scope = { threadId: thread.id, turnId: turn.id }; + const undo = { ...scope, action: "undo" } as const; + const preview = await client.previewChangeRecovery(undo); + assert.equal(preview.changes.review?.state, "exact"); + assert.match(preview.changes.review?.files[0]?.diff ?? "", /-pending\n\+ready/u); + const captured = await client.captureChanges(); + const changes = await client.readChanges({ candidateDigest: captured.candidate.candidateDigest, limit: 1 }); + assert.equal(changes.files[0]?.path, "status.txt"); + assert.equal(changes.nextOffset, undefined); + + const confirm = { ...undo, expectedRevision: preview.expectedRevision, idempotencyKey: "undo-status", confirmed: true } as const; + await writeFile(extraFile, "local work\n"); + await assert.rejects(client.readChanges({ candidateDigest: captured.candidate.candidateDigest }), { code: "stale_revision" }); + await assert.rejects(client.applyChanges(confirm), { code: "stale_revision" }); + assert.equal(await readFile(statusFile, "utf8"), "ready\n"); + const refreshed = await client.previewChangeRecovery(undo); + const accepted = { ...confirm, expectedRevision: refreshed.expectedRevision }; + const [first, duplicate] = await Promise.all([client.applyChanges(accepted), client.applyChanges(accepted)]); + assert.deepEqual(duplicate, first); + assert.equal(first.state, "undone"); + assert.equal(await readFile(statusFile, "utf8"), "pending\n"); + assert.equal(await readFile(extraFile, "utf8"), "local work\n"); + await assert.rejects(client.applyChanges(confirm), { code: "idempotency_conflict" }); + + client.close(); + await fixture.restart(); + const reconnected = startClient(); + assert.deepEqual(await reconnected.applyChanges(accepted), first); + const reapply = { ...scope, action: "reapply" } as const; + const redo = await reconnected.previewChangeRecovery(reapply); + const recovered = await reconnected.applyChanges({ ...reapply, expectedRevision: redo.expectedRevision, idempotencyKey: "redo-status", confirmed: true }); + assert.equal(recovered.state, "applied"); + assert.equal(await readFile(statusFile, "utf8"), "ready\n"); + assert.equal(await readFile(extraFile, "utf8"), "local work\n"); +}); + +test("configured Claude project rules are scoped, presented and sealed with the Turn", { timeout: 20_000 }, async t => { + const fixture = await releaseFixture(t); + const target = join(fixture.cwd, "feature/status.txt"); + await mkdir(join(fixture.cwd, "feature")); + await mkdir(join(fixture.cwd, ".claude/rules"), { recursive: true }); + await writeFile(join(fixture.cwd, "CLAUDE.md"), "Use the workspace verification recipe.\n"); + await writeFile(join(fixture.cwd, ".claude/rules/feature.md"), [ + "---", "paths:", ' - "feature/**/*.txt"', "---", "Feature files must be marked ready.", "", + ].join("\n")); + await writeFile(target, "pending\n"); + const configured = ["CLAUDE.md", ".claude/rules/feature.md"]; + const { daemonUrl, authToken } = fixture.transportOptions(); + const configure = (claudeProjectRules: readonly string[]) => fetch( + `${daemonUrl}/workspace-settings?cwd=${encodeURIComponent(fixture.cwd)}`, { + method: "PATCH", body: JSON.stringify({ claudeProjectRules }), + headers: { Authorization: `Bearer ${authToken}`, "Content-Type": "application/json" }, + }, + ); + const invalid = await configure([".claude/rules/../private.md"]); + assert.equal(invalid.status, 400); + const adopted = await configure(configured); + assert.equal(adopted.status, 200, adopted.ok ? "Workspace rules adopted" : await adopted.text()); + const provider = await startLoopbackPiProvider(async (body: unknown, count: number) => { + const payload = JSON.stringify(body); + assert.match(payload, /Use the workspace verification recipe/u); + const edit = (newText: string) => ({ tool: "edit", input: { path: "feature/status.txt", edits: [{ oldText: "pending", newText }] } }); + if (count === 1) { + assert.doesNotMatch(payload, /Feature files must be marked ready/u); + return edit("premature"); + } + assert.match(payload, /Feature files must be marked ready/u); + if (count === 2) { + assert.match(payload, /project_instructions_pending/u); + assert.equal(await readFile(target, "utf8"), "pending\n"); + return edit("ready"); + } + return { text: "Status file updated." }; + }); + t.after(() => provider.close()); + const client = await fixture.connect(); + const { thread } = await client.call("thread/start", { title: "Claude rules" }); + const preset = addLoopbackPreset(fixture.getStore(), provider.baseUrl); + const { turn, run } = await client.call<{ turn: { id: string }; run: { id: string } }>("turn/start", { + threadId: thread.id, message: "Update the feature status", idempotencyKey: "claude-rule-turn", + providerPresetId: preset.id, tools: ["edit"], authorizationMode: "always", workspaceAccessMode: "workspace_write", + }); + const settled = await waitFor(() => { + const current = fixture.getStore().getRun(run.id); + return current?.endedAt ? current : undefined; + }); + assert.equal(settled.status, "succeeded", settled.errorMessage ?? "The configured rules should allow the second edit."); + assert.equal(provider.requests.length, 3); + assert.equal(await readFile(target, "utf8"), "ready\n"); + const context = await client.call("context/inspect", { threadId: thread.id, turnId: turn.id }); + assert.deepEqual(context.projectInstructions?.sources.map(source => [source.path, source.origin]), [["CLAUDE.md", "claude"]]); + assert.deepEqual(context.projectInstructions?.claudeProjectRules, configured); + const update = context.projectInstructionUpdates?.[0]; + assert.deepEqual(update?.manifest.sources[0]?.pathPatterns, ["feature/**/*.txt"]); + assert.equal(update?.presentedSourceCount, 1); +}); + test("a sealed Handoff resumes one new conversation from the current candidate", { timeout: 30_000 }, async t => { const provider = await startLoopbackPiProvider(() => ({ text: "Work recorded." })); t.after(() => provider.close()); @@ -1140,6 +1273,75 @@ test("authorized GitHub occurrences converge on one Work Item and retain their o assert.equal(fixture.getStore().listWorkItems().length, 1); }); +test("signed GitHub webhooks and polling converge on one work item across restart", { timeout: 30_000 }, async t => { + const signingKey = randomUUID(); + const secretName = "LING_APP_SERVER_FIXTURE_GITHUB_INTAKE"; + process.env[secretName] = signingKey; + t.after(() => { delete process.env[secretName]; }); + const repo = { id: 710, full_name: "example/ling" }; + const issue = { number: 12, title: "Review inbox behavior", state: "open", labels: [{ name: "triage" }], + updated_at: new Date().toISOString() }; + const unlabelled = { ...issue, number: 13, labels: [] }; + let unavailable = true; + const fixture = await releaseFixture(t, { + githubSources: cwd => [{ workspaceRoot: cwd, repository: repo.full_name, repositoryId: String(repo.id), + intake: { enabled: true, mode: "suggest", requiredLabel: "triage", webhookSourceId: "fixture-github", priority: "high" } }], + externalWorkFetch: async input => { + const url = new URL(String(input)); + if (url.pathname === "/repos/example/ling/issues/12") return unavailable + ? new Response(null, { status: 502 }) : Response.json(issue); + if (url.pathname === "/repos/example/ling/issues") return Response.json([issue, unlabelled]); + if (url.pathname === "/repos/example/ling") return Response.json(repo); + return new Response(null, { status: 404 }); + }, + }); + const client = await fixture.connect(); + const github = fixture.getStore().putAutomationEventSource({ + id: "fixture-github", label: "GitHub triage", adapter: "github", enabled: true, + repository: repo.full_name, secretRefs: [`env:${secretName}`], rules: [], + }, 0, new Date().toISOString()); + assert.equal(github.revision, 1); + async function webhook(repository: typeof repo, deliveryId: string) { + const { daemonUrl } = fixture.transportOptions(); + const body = JSON.stringify({ action: "opened", repository, issue }); + return await fetch(`${daemonUrl}/automation-event-sources/fixture-github/events?cwd=${encodeURIComponent(fixture.cwd)}`, { + method: "POST", body, + headers: { "X-GitHub-Event": "issues", "X-GitHub-Delivery": deliveryId, + "X-Hub-Signature-256": `sha256=${createHmac("sha256", signingKey).update(body).digest("hex")}` }, + }); + } + const rejected = await webhook({ ...repo, id: 711 }, "wrong-identity"); + assert.equal(rejected.status, 403); + const accepted = await webhook(repo, "opened-issue"); + assert.equal(accepted.status, 202, accepted.ok ? "Webhook accepted" : await accepted.text()); + const acceptedBody = await accepted.json() as { eventId: string; intakeReceiptId: string }; + assert.ok(acceptedBody.intakeReceiptId); + await waitFor(() => { + const pending = fixture.getStore().getAppServerState("github_intake_pending", acceptedBody.eventId); + return pending && pending.revision > 1 ? pending : undefined; + }); + const poll = await client.call("github/intake/poll", { repository: repo.full_name }); + assert.equal(poll.receipts[0]?.outcome, "suggested"); + assert.equal(poll.receipts[1]?.reasonCode, "required_label_missing"); + assert.ok(poll.receipts[0]?.workItemId); + assert.equal(fixture.getStore().getWorkItem(poll.receipts[0].workItemId)?.priority, "high"); + await fixture.restart(); + unavailable = false; + const after = await fixture.connect(); + const receipt = await waitFor(() => fixture.getStore().getAppServerState("github_intake_receipt", acceptedBody.intakeReceiptId)); + assert.ok(receipt); + const observed = await after.call<{ receipt: LingAppServerGitHubIntakeReceipt }>("github/intake/read", { receiptId: acceptedBody.intakeReceiptId }); + assert.equal(observed.receipt.outcome, "deduplicated"); + assert.equal(observed.receipt.workItemId, poll.receipts[0].workItemId); + const duplicate = await webhook(repo, "opened-issue"); + assert.equal(duplicate.status, 200); + assert.deepEqual(await duplicate.json(), { ...acceptedBody, duplicate: true }); + const repeatedPoll = await after.call("github/intake/poll", { repository: repo.full_name }); + assert.deepEqual(repeatedPoll.receipts, poll.receipts); + assert.equal(fixture.getStore().listWorkItems({ sourceType: "external_work" }).length, 1); + assert.equal(fixture.getStore().listWorkItems({ sourceType: "external_work" })[0]?.status, "intake"); +}); + test("a reserved Work Item dispatch recovers once through the conversation owner and obeys pause and deletion fences", { timeout: 25_000 }, async t => { const provider = await startLoopbackPiProvider(() => ({ text: "First assignment complete." })); t.after(() => provider.close()); diff --git a/packages/daemon/test/automation-event-ingress.test.ts b/packages/daemon/test/automation-event-ingress.test.ts index a585f2d42..625ff9585 100644 --- a/packages/daemon/test/automation-event-ingress.test.ts +++ b/packages/daemon/test/automation-event-ingress.test.ts @@ -47,3 +47,17 @@ test("only the exact signed-ingress POST path uses source authentication", () => } assert.equal(isAutomationEventIngress("/automation-event-sources/source/events", "GET"), false); }); + +test("GitHub pull request and review events preserve their subject identity", () => { + const github = { ...source, adapter: "github" as const, repository: "org/repo" }; + for (const [type, action, extra] of [ + ["pull_request", "opened", { pull_request: { number: 13, updated_at: now } }], + ["pull_request_review", "submitted", { pull_request: { number: 13 }, review: { id: 4, submitted_at: now } }], + ["pull_request_review_comment", "created", { pull_request: { number: 13 }, comment: { id: 5, updated_at: now } }], + ] as const) { + const body = Buffer.from(JSON.stringify({ action, repository: { full_name: "org/repo" }, ...extra })); + const headers = { "x-github-event": type, "x-github-delivery": `delivery-${type}`, + "x-hub-signature-256": `sha256=${createHmac("sha256", "new-key").update(body).digest("hex")}` }; + assert.equal(authenticateAutomationEvent({ source: github, headers, body, secretResolver, now }).type, `github.${type}.${action}`); + } +}); From 512fafb552f17fdb11b3f1f8a631d9e089961693 Mon Sep 17 00:00:00 2001 From: tianxiaochannel-oss88 Date: Sun, 22 Nov 2026 17:39:32 +0800 Subject: [PATCH 014/147] feat(dev-workflow): verify candidates from the review workbench --- apps/web/e2e/workspace-verification.spec.ts | 123 ++++++++++++++++++ apps/web/package.json | 5 +- apps/web/src/api/workspace-verification.ts | 14 ++ .../code-assessments/CodeAssessmentDock.tsx | 11 +- .../WorkspaceVerificationPanel.tsx | 115 ++++++++++++++++ .../right-dock/WorkspaceRightDock.tsx | 2 +- apps/web/src/i18n/locales/zh-CN.ts | 10 ++ apps/web/src/styles/code-assessments.css | 19 +++ apps/web/tsconfig.e2e.json | 1 + .../ling-app-server-implementation-plan.md | 3 +- .../api-client/src/endpoints/operations.ts | 9 ++ packages/contracts/src/app-server.ts | 12 ++ packages/core/src/automation-types.ts | 33 ++++- packages/core/src/run-types.ts | 5 +- packages/core/src/storage/sqlite-run-store.ts | 4 + .../storage/sqlite/app-server-state-store.ts | 9 ++ .../sqlite/scheduled-coordination-store.ts | 36 +---- .../src/server/app-server-development.ts | 70 +++++++++- packages/daemon/src/server/app-server-mcp.ts | 30 +++++ packages/daemon/src/server/router.ts | 5 + packages/daemon/src/server/rpc.ts | 21 +-- .../server/workspace-verification-routes.ts | 67 ++++++++++ .../app-server-release-acceptance.test.ts | 53 ++++++++ pnpm-lock.yaml | 3 + 24 files changed, 598 insertions(+), 62 deletions(-) create mode 100644 apps/web/e2e/workspace-verification.spec.ts create mode 100644 apps/web/src/api/workspace-verification.ts create mode 100644 apps/web/src/features/code-assessments/WorkspaceVerificationPanel.tsx create mode 100644 packages/daemon/src/server/workspace-verification-routes.ts diff --git a/apps/web/e2e/workspace-verification.spec.ts b/apps/web/e2e/workspace-verification.spec.ts new file mode 100644 index 000000000..bab7eb53d --- /dev/null +++ b/apps/web/e2e/workspace-verification.spec.ts @@ -0,0 +1,123 @@ +import { execFileSync } from "node:child_process"; +import { createHash } from "node:crypto"; +import { mkdir, mkdtemp, realpath, rm, writeFile } from "node:fs/promises"; +import { tmpdir } from "node:os"; +import { join } from "node:path"; +import { expect, test } from "@playwright/test"; +import { createSqliteRunStore, resolveStoragePaths } from "@ling-stack/core"; +import { createDaemonServer } from "@ling-stack/daemon"; +import { mockDaemon } from "./support/mock-daemon"; +import { createBaseState } from "./support/mock-state"; +import { openEngineeringChannel } from "./support/test-helpers"; + +test("Review workbench runs a registered browser check and restores the candidate-bound report", async ({ page }, testInfo) => { + test.skip(process.platform === "win32", "Host verification process-group cleanup is available on macOS and Linux."); + test.setTimeout(45_000); + const root = await realpath(await mkdtemp(join(tmpdir(), "ling-verification-web-"))); + const cwd = join(root, "project"); + const home = join(root, "state"); + const previousHome = process.env.LING_STACK_HOME; + process.env.LING_STACK_HOME = home; + await mkdir(cwd); + await writeFile(join(cwd, ".gitignore"), ".ling-stack/\nnode_modules/\n"); + const subject = join(cwd, "status.txt"); + await writeFile(subject, "pending\n"); + const git = (...args: string[]) => execFileSync("git", args, { cwd, stdio: "ignore" }); + git("init", "-q"); + git("add", ".gitignore", "status.txt"); + git("-c", "user.name=Verification", "-c", "user.email=verification@example.test", "commit", "-qm", "Verification fixture baseline"); + await writeFile(subject, "ready\n"); + + const verifier = join(root, "verify-browser.mjs"); + const playwrightModule = import.meta.resolve("@playwright/test"); + const content = [ + 'import { createServer } from "node:http";', + 'import { readFileSync } from "node:fs";', + `import { chromium } from ${JSON.stringify(playwrightModule)};`, + 'const server = createServer((_request, response) => {', + ' response.writeHead(200, { "Content-Type": "text/html; charset=utf-8" });', + ' response.end("
" + readFileSync("status.txt", "utf8") + "
");', + '});', + 'await new Promise(resolve => server.listen(0, "127.0.0.1", resolve));', + 'try {', + ' const browser = await chromium.launch({ headless: true });', + ' try {', + ' const page = await browser.newPage();', + ' await page.goto("http://127.0.0.1:" + server.address().port);', + ' if ((await page.locator("main").textContent({ timeout: 5_000 })).trim() !== "ready") throw new Error("Unexpected project status");', + ' console.log("Chromium confirmed the project status");', + ' } finally { await browser.close(); }', + '} finally { server.close(); }', + ].join("\n"); + await writeFile(verifier, content); + + const store = createSqliteRunStore(cwd, resolveStoragePaths(cwd, { homeDir: home, env: {} }).workspace); + const daemon = createDaemonServer({ + host: "127.0.0.1", port: 0, defaultWorkspaceCwd: cwd, + appServerVerificationRecipes: [{ + id: "browser-status", label: "Browser status check", workspaceRoot: cwd, kind: "browser", + argv: [process.execPath, verifier], paths: ["status.txt"], required: true, + verifier: { coverage: "Chromium displays the status from status.txt", + sources: [{ path: verifier, sha256: createHash("sha256").update(content).digest("hex") }] }, + }], + }, { + chromeBrowserNativeMessagingEnabled: false, + remoteReplyDispatcher: null, + storeFactory: () => store, + }); + try { + await daemon.start(); + const address = daemon.server.address(); + if (!address || typeof address === "string") throw new Error("Verification fixture has no TCP listener."); + await page.addInitScript(() => localStorage.setItem("ling-stack.locale", "en-US")); + await mockDaemon(page, createBaseState({ approvalStatus: "expired" }), { defaultWorkspaceCwd: cwd }); + await page.route("**/workspace/verification?*", async route => { + const request = route.request(); + const forwarded = new URL(request.url()); + forwarded.host = "127.0.0.1:" + address.port; + forwarded.searchParams.set("cwd", cwd); + const threadId = request.method() === "POST" ? request.postDataJSON()?.threadId : forwarded.searchParams.get("threadId"); + if (typeof threadId === "string" && !store.getLingThread(threadId)) { + store.createLingThread({ id: threadId, kind: "conversation", title: "Browser verification", objective: "Verify the candidate", status: "open" }, new Date().toISOString()); + } + await route.fulfill({ response: await route.fetch({ url: forwarded.href }) }); + }); + const errors: string[] = []; + page.on("pageerror", error => errors.push(error.message)); + + async function openVerification() { + await openEngineeringChannel(page); + await page.getByRole("toolbar", { name: "Workspace task toolbar" }).getByRole("button", { name: "Show details" }).click(); + const dock = page.getByRole("complementary", { name: "Channel workspace dock" }); + await dock.getByRole("button", { name: "Review", exact: true }).click(); + await dock.getByRole("button", { name: "Verification", exact: true }).click(); + return dock.getByRole("region", { name: "Verification", exact: true }); + } + + await page.goto("/"); + const panel = await openVerification(); + await expect(panel.getByText("Not run", { exact: true })).toBeVisible(); + await panel.getByRole("button", { name: "Verify", exact: true }).click(); + await expect(panel.getByText("Passed", { exact: true }).first()).toBeVisible({ timeout: 15_000 }); + await expect(panel.getByText("Browser status check", { exact: true })).toBeVisible(); + await panel.getByText("Check output", { exact: true }).click(); + await expect(panel.getByText("Chromium confirmed the project status", { exact: true })).toBeVisible(); + + await writeFile(subject, "changed after verification\n"); + await page.reload(); + const restored = await openVerification(); + await expect(restored.getByText("Candidate changed since verification", { exact: true })).toBeVisible(); + await expect(restored.getByText("Passed", { exact: true }).first()).toBeVisible(); + await expect(page.locator("vite-error-overlay")).toHaveCount(0); + expect(errors).toEqual([]); + if (process.env.LING_CAPTURE_UI2_EVIDENCE === "1") { + await testInfo.attach("verification-report", { body: await page.screenshot(), contentType: "image/png" }); + } + } finally { + try { await daemon.stop(); } finally { + if (previousHome === undefined) delete process.env.LING_STACK_HOME; + else process.env.LING_STACK_HOME = previousHome; + await rm(root, { force: true, recursive: true }); + } + } +}); diff --git a/apps/web/package.json b/apps/web/package.json index 6d3ba9c00..4e9146561 100644 --- a/apps/web/package.json +++ b/apps/web/package.json @@ -11,13 +11,13 @@ "test:ci": "node --experimental-strip-types --test test/*.test.mjs test/*.test.ts", "dev": "vite --host 127.0.0.1", "build": "corepack pnpm --filter @ling-stack/localization build && corepack pnpm --filter @ling-stack/ui-react build && corepack pnpm --filter @ling-stack/conversation-ui-core build && corepack pnpm --filter @ling-stack/conversation-ui-react build && corepack pnpm --filter @ling-stack/api-client build && corepack pnpm --filter @ling-stack/core build && tsc -p tsconfig.json && vite build", - "typecheck": "corepack pnpm --filter @ling-stack/localization build && corepack pnpm --filter @ling-stack/ui-react build && corepack pnpm --filter @ling-stack/conversation-ui-core build && corepack pnpm --filter @ling-stack/conversation-ui-react build && corepack pnpm --filter @ling-stack/api-client build && corepack pnpm --filter @ling-stack/core build && tsc -p tsconfig.json --noEmit && corepack pnpm run typecheck:tests", + "typecheck": "corepack pnpm --filter '@ling-stack/web^...' -r build:ci && corepack pnpm run typecheck:ci", "preview": "vite preview --host 127.0.0.1", "lint": "node scripts/check-appshell-imports.mjs && node scripts/check-select-controls.mjs && node scripts/check-ui2-imports.mjs && node scripts/check-ui2-overlays.mjs && node scripts/check-ui2-text-controls.mjs && node scripts/check-ui2-icons.mjs && node scripts/check-ui2-motion.mjs && node scripts/check-ui2-feedback.mjs && node scripts/check-browser-blocking-dialogs.mjs", "check:i18n": "node scripts/check-i18n.mjs", "check:select-controls": "node scripts/check-select-controls.mjs", "test": "node --experimental-strip-types --test test/*.test.mjs test/*.test.ts", - "test:e2e": "corepack pnpm --filter @ling-stack/ui-react build && corepack pnpm --filter @ling-stack/conversation-ui-core build && corepack pnpm --filter @ling-stack/conversation-ui-react build && corepack pnpm --filter @ling-stack/api-client build && corepack pnpm --filter @ling-stack/core build && corepack pnpm run typecheck:e2e && playwright test", + "test:e2e": "corepack pnpm --filter '@ling-stack/web^...' -r build:ci && corepack pnpm run typecheck:e2e && playwright test", "test:e2e:work-cell": "playwright test e2e/channel-work-cell.spec.ts e2e/conversation-terminal-response-actions.spec.ts e2e/conversation-transcript-color-hierarchy.spec.ts e2e/conversation-turn-change-review.spec.ts e2e/conversation-change-summary.spec.ts e2e/ui2-conversation-message-transcript-ownership.spec.ts e2e/ui2-conversation-work-cell-activity.spec.ts e2e/ui2-conversation-work-cell-shell-artifacts.spec.ts" }, "dependencies": { @@ -39,6 +39,7 @@ "shiki": "^4.3.0" }, "devDependencies": { + "@ling-stack/daemon": "workspace:*", "@playwright/test": "1.65.0", "@types/react": "^19.2.18", "@types/react-dom": "^19.2.4", diff --git a/apps/web/src/api/workspace-verification.ts b/apps/web/src/api/workspace-verification.ts new file mode 100644 index 000000000..0253c668f --- /dev/null +++ b/apps/web/src/api/workspace-verification.ts @@ -0,0 +1,14 @@ +import type { LingAppServerVerifyCancelParams, StartWorkspaceVerificationRequest, WorkspaceVerificationReport } from "@ling-stack/contracts"; +import { daemonClient } from "./client.js"; + +export function getWorkspaceVerification(cwd: string, threadId?: string, operationId?: string): Promise { + return daemonClient.getWorkspaceVerification(cwd, threadId, operationId); +} + +export function startWorkspaceVerification(cwd: string, input: StartWorkspaceVerificationRequest): Promise { + return daemonClient.startWorkspaceVerification(cwd, input); +} + +export function cancelWorkspaceVerification(cwd: string, input: Omit) { + return daemonClient.cancelWorkspaceVerification(cwd, input); +} diff --git a/apps/web/src/features/code-assessments/CodeAssessmentDock.tsx b/apps/web/src/features/code-assessments/CodeAssessmentDock.tsx index 9392d0b88..e810d22af 100644 --- a/apps/web/src/features/code-assessments/CodeAssessmentDock.tsx +++ b/apps/web/src/features/code-assessments/CodeAssessmentDock.tsx @@ -2,15 +2,20 @@ import { useState, type ReactNode } from "react"; import { Button } from "../../shared/ui/index.js"; import { useI18n } from "../../i18n.js"; import { CodeAssessmentPage } from "./CodeAssessmentPage.js"; +import { WorkspaceVerificationPanel } from "./WorkspaceVerificationPanel.js"; -export function CodeAssessmentDock({ cwd, changes, onOpenRun }: { readonly cwd?: string; readonly changes: ReactNode; readonly onOpenRun?: (runId: string) => void }): React.JSX.Element { +export function CodeAssessmentDock({ cwd, threadId, changes, onOpenRun }: { readonly cwd?: string; readonly threadId?: string; readonly changes: ReactNode; readonly onOpenRun?: (runId: string) => void }): React.JSX.Element { const { t } = useI18n(); - const [view, setView] = useState<"changes" | "assessment">("changes"); + const [view, setView] = useState<"changes" | "assessment" | "verification">("changes"); return
+ {cwd ? : null}
- {view === "changes" ? changes : cwd ? :

{t("Open a project to start an assessment.")}

} + {view === "changes" ? changes + : !cwd ?

{t("Open a project to start an assessment.")}

+ : view === "verification" ? + : }
; } diff --git a/apps/web/src/features/code-assessments/WorkspaceVerificationPanel.tsx b/apps/web/src/features/code-assessments/WorkspaceVerificationPanel.tsx new file mode 100644 index 000000000..4b0632564 --- /dev/null +++ b/apps/web/src/features/code-assessments/WorkspaceVerificationPanel.tsx @@ -0,0 +1,115 @@ +import { useCallback, useEffect, useRef, useState } from "react"; +import { Play, RefreshCw, Square } from "lucide-react"; +import type { LingAppServerVerificationCheckStatus, LingAppServerVerifyOperation, WorkspaceVerificationReport } from "@ling-stack/contracts"; +import { cancelWorkspaceVerification, getWorkspaceVerification, startWorkspaceVerification } from "../../api/workspace-verification.js"; +import { useI18n } from "../../i18n.js"; +import { Badge, Button, InlineFeedback } from "../../shared/ui/index.js"; + +const labels: Record = { + queued: "Queued", pending: "Pending", running: "Running", passed: "Passed", failed: "Failed", + not_run: "Not run", blocked: "Blocked", cancelled: "Cancelled", unknown: "Unknown status", +}; + +export function WorkspaceVerificationPanel({ cwd, threadId }: { readonly cwd: string; readonly threadId?: string }): React.JSX.Element { + const { t } = useI18n(); + const [report, setReport] = useState(); + const [loading, setLoading] = useState(true); + const [starting, setStarting] = useState(false); + const [stopping, setStopping] = useState(false); + const [error, setError] = useState(); + const sequence = useRef(0); + const requestKey = useRef(undefined); + const operation = report?.operation; + const active = Boolean(operation && !operation.completedAt); + const status = operation?.status ?? "not_run"; + const refresh = useCallback(async (operationId?: string) => { + const current = ++sequence.current; + try { + const next = await getWorkspaceVerification(cwd, threadId, operationId); + if (sequence.current === current) { + setReport(next); + setError(undefined); + if (next.operation?.completedAt || !next.operation) requestKey.current = undefined; + } + } catch (cause) { + if (sequence.current === current) setError(cause instanceof Error ? cause.message : String(cause)); + } finally { + if (sequence.current === current) setLoading(false); + } + }, [cwd, threadId]); + + useEffect(() => { + void refresh(); + return () => { sequence.current++; }; + }, [refresh]); + + useEffect(() => { + if (!operation || !active || error || stopping) return; + const timer = window.setTimeout(() => void refresh(operation.operationId), 1200); + return () => window.clearTimeout(timer); + }, [active, operation, refresh, error, stopping]); + + async function runVerification() { + if (starting || active || loading) return; + const current = ++sequence.current; + setStarting(true); + setError(undefined); + try { + const idempotencyKey = requestKey.current ??= crypto.randomUUID(); + const next = await startWorkspaceVerification(cwd, { idempotencyKey, threadId }); + if (sequence.current === current) { + requestKey.current = undefined; + setReport(next); + } + } catch (cause) { + if (sequence.current === current) setError(cause instanceof Error ? cause.message : String(cause)); + } finally { + if (sequence.current === current) setStarting(false); + } + } + + async function stopVerification() { + if (!operation || !active || stopping) return; + const current = ++sequence.current; + setStopping(true); + setError(undefined); + try { + await cancelWorkspaceVerification(cwd, { operationId: operation.operationId, + idempotencyKey: `web_verify_cancel:${operation.operationId}` }); + } catch (cause) { + if (sequence.current === current) setError(cause instanceof Error ? cause.message : String(cause)); + } finally { + if (sequence.current === current) setStopping(false); + } + } + + return
+
+ {t("Verify current changes")} +
+ + : } +
+
+ {error ? {error} : null} + {loading ?

{t("Loading")}

:
+ + {t(labels[status])} + + {operation ? {operation.candidateDigest.slice(0, 12)} : null} + {report?.candidateState === "changed" ? {t("Candidate changed since verification")} : null} + {report?.candidateState === "unavailable" ? {t("Candidate comparison unavailable")} : null} +
} + {operation?.checks.length ?
    {operation.checks.map(check => { + const label = report?.plan?.checks.find(entry => entry.checkId === check.checkId)?.label ?? check.checkId; + return
  • +
    {label}{t(labels[check.status])}
    + {check.execution?.output ?
    {t("Check output")}
    {check.execution.output}
    : null} +
  • ; + })}
: null} +
; +} diff --git a/apps/web/src/features/workspace/right-dock/WorkspaceRightDock.tsx b/apps/web/src/features/workspace/right-dock/WorkspaceRightDock.tsx index 8384ea935..8559e203b 100644 --- a/apps/web/src/features/workspace/right-dock/WorkspaceRightDock.tsx +++ b/apps/web/src/features/workspace/right-dock/WorkspaceRightDock.tsx @@ -481,7 +481,7 @@ export function WorkspaceRightDock({ severity: codeChangeActionCount > 0 ? "warning" : reviewFileCount > 0 ? "info" : "neutral", }, render: () => ( - { return this._get(`/workspace/code-assessments/${encodeURIComponent(assessmentId)}`, { cwd, view: "overview" }); }, + async getWorkspaceVerification(this: LingDaemonEndpointContext, cwd: string, threadId?: string, operationId?: string): Promise { + return this._get("/workspace/verification", { cwd, threadId, operationId }); + }, + async startWorkspaceVerification(this: LingDaemonEndpointContext, cwd: string, input: import("@ling-stack/contracts").StartWorkspaceVerificationRequest): Promise { + return this._post("/workspace/verification", { cwd }, input); + }, + async cancelWorkspaceVerification(this: LingDaemonEndpointContext, cwd: string, input: Omit): Promise { + return this._post("/workspace/verification/cancel", { cwd }, input); + }, async createCodeAssessmentOverview(this: LingDaemonEndpointContext, cwd: string, input: CreateCodeAssessmentRequest): Promise { return this._post("/workspace/code-assessments", { cwd, view: "overview" }, input); }, diff --git a/packages/contracts/src/app-server.ts b/packages/contracts/src/app-server.ts index 9cd21f865..be9a8f8f3 100644 --- a/packages/contracts/src/app-server.ts +++ b/packages/contracts/src/app-server.ts @@ -1095,6 +1095,18 @@ export interface LingAppServerVerifyStatusResult { readonly operation: LingAppServerVerifyOperation; } +export interface WorkspaceVerificationReport { + readonly cwd: string; + readonly operation: LingAppServerVerifyOperation | null; + readonly plan: LingAppServerVerifyPlanResult | null; + readonly candidateState?: "current" | "changed" | "unavailable"; +} + +export interface StartWorkspaceVerificationRequest { + readonly idempotencyKey: string; + readonly threadId?: string; +} + export interface LingAppServerVerifyCancelParams { readonly cwd?: string; readonly operationId: string; diff --git a/packages/core/src/automation-types.ts b/packages/core/src/automation-types.ts index 2a6cf14aa..38c5dd603 100644 --- a/packages/core/src/automation-types.ts +++ b/packages/core/src/automation-types.ts @@ -2,7 +2,9 @@ import { randomUUID } from "node:crypto"; import type { RunTool } from "./approval-policy.js"; import type { SessionPermissionMode } from "./session-permissions.js"; import type { SkillApprovalProfile } from "./skill-types.js"; -import type { LingThread } from "./run-types.js"; +import type { LingAppServerScheduledCoordinationRound } from "@ling-stack/contracts"; +import type { ControlPlaneEvent, LingThread } from "./run-types.js"; +import type { AppendWorkItemCollaborationResult } from "./work-item-collaboration.js"; export type AutomationStatus = "enabled" | "disabled" | "paused" | "archived" | "error"; export type AutomationKind = "daily_brief" | "weekly_review" | "project_monitor" | "custom_prompt"; @@ -19,6 +21,35 @@ export type AutomationRunStatus = | "failed" | "cancelled"; +export interface AdmitScheduledCoordinationInput { + readonly automationId: string; + readonly expectedDefinitionRevision: string; + readonly expectedPolicyRevision: number; + readonly triggerType: "manual" | "schedule"; + readonly scheduledFor?: string; + readonly idempotencyKey: string; +} + +export interface ScheduledCoordinationAdmission { + readonly automationRun: AutomationRun; + readonly round?: LingAppServerScheduledCoordinationRound; + readonly event?: ControlPlaneEvent; +} + +export interface CloseScheduledCoordinationInput { + readonly workItemId: string; + readonly recordId: string; + readonly actorId: string; + readonly cause: "owner_closed" | "deadline"; + readonly expectedWorkItemRevision?: number; + readonly expectedCollaborationRevision?: number; +} + +export interface ScheduledCoordinationClose { + readonly result: AppendWorkItemCollaborationResult; + readonly briefEvent?: ControlPlaneEvent; +} + export type AutomationRunTriggerType = AutomationTrigger["type"] | "event"; export type AutomationTrigger = diff --git a/packages/core/src/run-types.ts b/packages/core/src/run-types.ts index b092f4fa3..2079be623 100644 --- a/packages/core/src/run-types.ts +++ b/packages/core/src/run-types.ts @@ -2709,6 +2709,7 @@ export interface RunStore extends AutomationEventStore, CodeAssessmentStore, Cod getAppServerState(kind: import("./app-server-state-types.js").AppServerStateKind, recordId: string, workspaceId?: string): import("./app-server-state-types.js").AppServerStateRecord | undefined; findAppServerStateByIdempotencyKey(kind: import("./app-server-state-types.js").AppServerStateKind, idempotencyKey: string, workspaceId?: string): import("./app-server-state-types.js").AppServerStateRecord | undefined; listAppServerState(kind?: import("./app-server-state-types.js").AppServerStateKind, workspaceId?: string): import("./app-server-state-types.js").AppServerStateRecord[]; + getLatestVerificationState(threadId?: string): import("./app-server-state-types.js").AppServerStateRecord | undefined; putAppServerState(input: import("./app-server-state-types.js").PutAppServerStateInput, now: string, publication?: AppendControlPlaneEventInput): import("./app-server-state-types.js").PutAppServerStateResult | undefined; deleteAppServerState(kind: import("./app-server-state-types.js").AppServerStateKind, recordId: string, workspaceId?: string): boolean; pauseWorkItem(id: string, input: WorkItemControlRequest, now: string): WorkItem | undefined; @@ -2768,11 +2769,11 @@ export interface RunStore extends AutomationEventStore, CodeAssessmentStore, Cod createAutomationRun(input: CreateAutomationRunInput, now: string): AutomationRun; getAutomationCoordinationSchedule(automationId: string): import("@ling-stack/contracts").LingAppServerCoordinationSchedule | undefined; configureAutomationCoordination(input: import("@ling-stack/contracts").LingAppServerCoordinationScheduleParams, now: string): import("@ling-stack/contracts").LingAppServerCoordinationSchedule; - admitScheduledCoordination(input: import("./storage/sqlite/scheduled-coordination-store.js").AdmitScheduledCoordinationInput, now: string, cwd?: string): import("./storage/sqlite/scheduled-coordination-store.js").ScheduledCoordinationAdmission; + admitScheduledCoordination(input: import("./automation-types.js").AdmitScheduledCoordinationInput, now: string, cwd?: string): import("./automation-types.js").ScheduledCoordinationAdmission; readScheduledCoordinationRound(recordId: string): import("@ling-stack/contracts").LingAppServerScheduledCoordinationRound | undefined; findScheduledCoordinationRound(automationRunId: string): import("@ling-stack/contracts").LingAppServerScheduledCoordinationRound | undefined; listOpenScheduledCoordinationRounds(): readonly import("@ling-stack/contracts").LingAppServerScheduledCoordinationRound[]; - closeScheduledCoordination(input: import("./storage/sqlite/scheduled-coordination-store.js").CloseScheduledCoordinationInput, now: string, cwd?: string): import("./storage/sqlite/scheduled-coordination-store.js").ScheduledCoordinationClose | undefined; + closeScheduledCoordination(input: import("./automation-types.js").CloseScheduledCoordinationInput, now: string, cwd?: string): import("./automation-types.js").ScheduledCoordinationClose | undefined; getAutomationRun(automationRunId: string): AutomationRun | undefined; findAutomationRunByIdempotencyKey(idempotencyKey: string): AutomationRun | undefined; listAutomationRuns(options?: ListAutomationRunsOptions): AutomationRun[]; diff --git a/packages/core/src/storage/sqlite-run-store.ts b/packages/core/src/storage/sqlite-run-store.ts index 68eaece09..2b5c0da60 100644 --- a/packages/core/src/storage/sqlite-run-store.ts +++ b/packages/core/src/storage/sqlite-run-store.ts @@ -6198,6 +6198,10 @@ export class SqliteRunStore implements RunStore { return this.appServerState.list(kind, workspaceId); } + getLatestVerificationState(threadId?: string): import("../app-server-state-types.js").AppServerStateRecord | undefined { + return this.appServerState.latestVerification(threadId); + } + putAppServerState(input: import("../app-server-state-types.js").PutAppServerStateInput, now: string, publication?: AppendControlPlaneEventInput): import("../app-server-state-types.js").PutAppServerStateResult | undefined { return this.appServerState.put(input, now, publication); } diff --git a/packages/core/src/storage/sqlite/app-server-state-store.ts b/packages/core/src/storage/sqlite/app-server-state-store.ts index 0937482e0..a10b45488 100644 --- a/packages/core/src/storage/sqlite/app-server-state-store.ts +++ b/packages/core/src/storage/sqlite/app-server-state-store.ts @@ -35,6 +35,15 @@ export class SqliteAppServerStateStore { return rows.map((row) => mapRecord(row as Record)); } + latestVerification(threadId?: string, workspaceId = DEFAULT_WORKSPACE_ID): AppServerStateRecord | undefined { + const row = threadId === undefined + ? this.context.database.prepare(`SELECT * FROM app_server_state WHERE workspace_id = ? AND kind = 'verify_operation' + ORDER BY created_at DESC, rowid DESC LIMIT 1`).get(workspaceId) + : this.context.database.prepare(`SELECT * FROM app_server_state WHERE workspace_id = ? AND kind = 'verify_operation' + AND json_extract(payload_json, '$.operation.threadId') = ? ORDER BY created_at DESC, rowid DESC LIMIT 1`).get(workspaceId, threadId); + return row ? mapRecord(row) : undefined; + } + put(input: PutAppServerStateInput, now: string, publication?: AppendControlPlaneEventInput): PutAppServerStateResult | undefined { this.context.database.exec("BEGIN IMMEDIATE"); try { diff --git a/packages/core/src/storage/sqlite/scheduled-coordination-store.ts b/packages/core/src/storage/sqlite/scheduled-coordination-store.ts index 3e360c195..83cf4a29d 100644 --- a/packages/core/src/storage/sqlite/scheduled-coordination-store.ts +++ b/packages/core/src/storage/sqlite/scheduled-coordination-store.ts @@ -2,8 +2,11 @@ import { LING_AGENT_ID } from "../../workspace-types.js"; import type { LingAppServerCoordinationSchedule, LingAppServerCoordinationScheduleParams, LingAppServerScheduledCoordinationRound, } from "@ling-stack/contracts"; -import type { AutomationDefinition, AutomationRun } from "../../automation-types.js"; -import type { ControlPlaneEvent, RunStore } from "../../run-types.js"; +import type { + AdmitScheduledCoordinationInput, AutomationDefinition, AutomationRun, CloseScheduledCoordinationInput, + ScheduledCoordinationAdmission, ScheduledCoordinationClose, +} from "../../automation-types.js"; +import type { RunStore } from "../../run-types.js"; import { appendWorkItemCollaboration, findWorkItemCollaborationById, type AppendWorkItemCollaborationResult } from "../../work-item-collaboration.js"; import type { SqliteAppServerStateStore } from "./app-server-state-store.js"; import type { SqliteAutomationStore } from "./automation-store.js"; @@ -12,35 +15,6 @@ import { rollbackOwnedSqliteTransaction } from "./helpers.js"; import type { SqliteStoreContext } from "./store-context.js"; import type { SqliteWorkItemEvidenceStore } from "./work-item-evidence-store.js"; -export interface AdmitScheduledCoordinationInput { - readonly automationId: string; - readonly expectedDefinitionRevision: string; - readonly expectedPolicyRevision: number; - readonly triggerType: "manual" | "schedule"; - readonly scheduledFor?: string; - readonly idempotencyKey: string; -} - -export interface ScheduledCoordinationAdmission { - readonly automationRun: AutomationRun; - readonly round?: LingAppServerScheduledCoordinationRound; - readonly event?: ControlPlaneEvent; -} - -export interface CloseScheduledCoordinationInput { - readonly workItemId: string; - readonly recordId: string; - readonly actorId: string; - readonly cause: "owner_closed" | "deadline"; - readonly expectedWorkItemRevision?: number; - readonly expectedCollaborationRevision?: number; -} - -export interface ScheduledCoordinationClose { - readonly result: AppendWorkItemCollaborationResult; - readonly briefEvent?: ControlPlaneEvent; -} - export class SqliteScheduledCoordinationStore { constructor( private readonly context: SqliteStoreContext, diff --git a/packages/daemon/src/server/app-server-development.ts b/packages/daemon/src/server/app-server-development.ts index 2cac9844d..dba8f85d0 100644 --- a/packages/daemon/src/server/app-server-development.ts +++ b/packages/daemon/src/server/app-server-development.ts @@ -27,23 +27,26 @@ import type { LingAppServerVerifyStatusParams, LingAppServerVerifyStatusResult, LingAppServerVerifyOperation, + StartWorkspaceVerificationRequest, + WorkspaceVerificationReport, CreateCodeAssessmentRequest, CodeAssessmentDetail, } from "@ling-stack/contracts"; import type { DaemonContext } from "../context.js"; import { HttpError } from "../errors.js"; import type { ActiveRunRegistry } from "../runtime/active-runs.js"; -import { DEFAULT_WORKSPACE_ID, type AppServerStateRecord, type PutAppServerStateResult, type RunStore } from "@ling-stack/core"; +import { DEFAULT_WORKSPACE_ID, type AppServerStateRecord, type PutAppServerStateResult, type RunStore, type WorkItemConversationBinding } from "@ling-stack/core"; import type { RunStoreRegistry } from "../runtime/store-registry.js"; import { captureCodeAssessmentSnapshot } from "../features/code-assessments/snapshot.js"; import { reconcileCodeAssessments, startCodeAssessment, type StartCodeAssessmentRun } from "../features/code-assessments/service.js"; import { parseReviewRuleRefs } from "../features/code-assessments/review-rules.js"; -import { verificationRecipePlan, verificationRecipes, type AppServerVerificationCheckResult } from "./app-server-verification-recipes.js"; +import { executeAppServerVerificationCheck, verificationRecipePlan, verificationRecipes, type AppServerVerificationCheckResult } from "./app-server-verification-recipes.js"; import type { AppServerVerificationRecipeConfig } from "./app-server-verification-config.js"; import { collectProjectInstructions } from "../features/conversations/project-instructions.js"; import { initializeProjectInstructions } from "../features/conversations/project-instructions-draft.js"; import { trimOversizedEvent } from "../features/control-plane/events.js"; import { isRecord } from "../shared/validation.js"; +import { captureAppServerChanges } from "./app-server-changes.js"; const DEFAULT_PROVIDER_PRESET = "default"; type VerifyRecord = { @@ -202,6 +205,50 @@ export class AppServerDevelopmentService { return { operation: this.readVerification(store, record).operation }; } + async readWorkspaceVerification(cwd: string, filters: { readonly operationId?: string; readonly threadId?: string }): Promise { + const store = this.workspaceStore(cwd); + const record = filters.operationId ? store.getAppServerState("verify_operation", filters.operationId) : store.getLatestVerificationState(filters.threadId); + if (!record && filters.operationId) throw new HttpError(404, "verification_not_found", "The verification operation was not found."); + if (!record) return { cwd, operation: null, plan: null }; + const { operation, plan } = this.readVerification(store, record); + if (filters.threadId && operation.threadId !== filters.threadId) { + throw new HttpError(404, "verification_not_found", "The verification operation was not found in this Thread."); + } + if (!operation.completedAt) return { cwd, operation, plan }; + const current = await captureAppServerChanges(cwd).catch(() => undefined); + const candidateState = current?.coverage === "complete" + ? current.candidate.candidateDigest === operation.candidateDigest ? "current" : "changed" + : "unavailable"; + return { cwd, operation, plan, candidateState }; + } + + async startWorkspaceVerification(cwd: string, input: StartWorkspaceVerificationRequest): Promise { + assertVerificationKey(input.idempotencyKey); + const store = this.workspaceStore(cwd); + const keyDigest = digest(input.idempotencyKey); + const planKey = `workspace_verify_plan:${keyDigest}`; + const operationKey = `workspace_verify:${keyDigest}`; + const retained = store.findAppServerStateByIdempotencyKey("verify_plan", planKey); + let plan: LingAppServerVerifyPlanResult; + if (retained) { + plan = retained.payload as LingAppServerVerifyPlanResult; + if (plan.threadId !== input.threadId) throw verificationConflict(); + } else { + const candidate = await captureAppServerChanges(cwd); + if (candidate.coverage !== "complete") { + throw new HttpError(409, "candidate_incomplete", "Verification requires a candidate with complete coverage."); + } + const binding = input.threadId ? store.getAppServerState("work_item_thread", input.threadId)?.payload as WorkItemConversationBinding | undefined : undefined; + plan = await this.planVerification({ cwd, candidate: candidate.candidate, threadId: input.threadId, + workItemId: binding?.workItemId, idempotencyKey: planKey }); + } + const operation = await this.startVerification({ cwd, planId: plan.planId, planRevision: plan.planRevision, + candidateDigest: plan.candidate.candidateDigest, idempotencyKey: operationKey }); + return operation.completedAt + ? this.readWorkspaceVerification(cwd, { operationId: operation.operationId, threadId: input.threadId }) + : { cwd, operation, plan }; + } + cancelVerification(input: LingAppServerVerifyCancelParams): LingAppServerVerifyCancelResult { assertVerificationKey(input.idempotencyKey); const store = this.workspaceStore(input.cwd); @@ -530,6 +577,21 @@ export class AppServerDevelopmentService { } } +const developmentByContext = new WeakMap(); + +export function getAppServerDevelopmentService(context: DaemonContext): AppServerDevelopmentService { + const existing = developmentByContext.get(context); + if (existing) return existing; + const service = new AppServerDevelopmentService({ + context, + activeRuns: context.activeRuns, + startCodeAssessmentRun: context.startCodeAssessmentRun, + executeVerificationCheck: executeAppServerVerificationCheck, + }); + developmentByContext.set(context, service); + return service; +} + function assertVerificationPlan(stored: AppServerStateRecord, plan: LingAppServerVerifyPlanResult): VerifyRecord { const record = stored.payload as VerifyRecord; if (record.plan.planId !== plan.planId || record.plan.planRevision !== plan.planRevision) throw verificationConflict(); @@ -650,3 +712,7 @@ export function asDiagnosticsCheck(check: LingAppServerDoctorRunResult["checks"] ...(check.remediation ? { remediation: check.remediation } : {}), }; } + +export function abortAppServerVerifications(context: DaemonContext): void { + developmentByContext.get(context)?.abortVerifications(); +} diff --git a/packages/daemon/src/server/app-server-mcp.ts b/packages/daemon/src/server/app-server-mcp.ts index 49a2e7e06..6b6cca18d 100644 --- a/packages/daemon/src/server/app-server-mcp.ts +++ b/packages/daemon/src/server/app-server-mcp.ts @@ -67,6 +67,36 @@ export async function runLingAppServerMcp( }), annotations: { idempotentHint: true }, }, async params => describe(await client.acceptWorkItem(params))); + server.registerTool("ling_changes_capture", { + description: "Capture the current working-tree candidate and its coverage.", + inputSchema: z.strictObject({}), + annotations: { readOnlyHint: true }, + }, async () => describe(await client.captureChanges())); + server.registerTool("ling_changes_read", { + description: "Read the bounded current candidate diff for a captured candidate digest.", + inputSchema: z.strictObject({ candidateDigest: z.string().length(64), offset: z.number().int().nonnegative().optional(), limit: z.number().int().min(1).max(50).optional() }), + annotations: { readOnlyHint: true }, + }, async params => describe(await client.readChanges(params))); + server.registerTool("ling_changes_preview_recovery", { + description: "Preview undo or reapply for a completed Ling Turn before committing the workspace recovery.", + inputSchema: z.strictObject({ threadId: objectId, turnId: objectId, action: z.enum(["undo", "reapply"]) }), + annotations: { readOnlyHint: true }, + }, async params => describe(await client.previewChangeRecovery(params))); + server.registerTool("ling_changes_apply_recovery", { + description: "Apply a previously reviewed Turn recovery preview using its exact revision and idempotency key.", + inputSchema: z.strictObject({ threadId: objectId, turnId: objectId, action: z.enum(["undo", "reapply"]), expectedRevision: z.string().length(64), idempotencyKey: requestKey, confirmed: z.literal(true) }), + annotations: { idempotentHint: true, destructiveHint: true }, + }, async params => describe(await client.applyChanges(params))); + server.registerTool("ling_github_intake_poll", { + description: "Evaluate a configured GitHub intake page and create suggestion Work Items without dispatching them.", + inputSchema: z.strictObject({ repository: z.string().min(3).max(201), page: z.number().int().min(1).max(500).optional() }), + annotations: { idempotentHint: true, destructiveHint: false }, + }, async params => describe(await client.pollGitHubIntake(params))); + server.registerTool("ling_github_intake_read", { + description: "Read a durable GitHub intake evaluation receipt.", + inputSchema: z.strictObject({ receiptId: objectId }), + annotations: { readOnlyHint: true }, + }, async params => describe(await client.readGitHubIntake(params))); server.registerTool("ling_turn_queue", { description: "Queue a follow-up for the active Ling Turn from ling_thread_snapshot. Retry with the same request key.", inputSchema: followupInput, diff --git a/packages/daemon/src/server/router.ts b/packages/daemon/src/server/router.ts index 887733cae..bbd30a681 100644 --- a/packages/daemon/src/server/router.ts +++ b/packages/daemon/src/server/router.ts @@ -279,6 +279,7 @@ import { resolveProviderForRun } from "../features/runs/providers.js"; import { createWorkflowParallelCapabilityResolver } from "../features/runs/workflow-safety.js"; import { handleGetWorkspaceChanges } from "../features/previews/workspace-changes.js"; import { handleCodeAssessmentRoutes } from "../features/code-assessments/routes.js"; +import { handleWorkspaceVerificationRoute } from "./workspace-verification-routes.js"; import { handleGetWorkspaceFileContent, handleGetWorkspaceFileOpenIcon, @@ -1692,6 +1693,10 @@ export async function routeRequest( )); return; } + if (url.pathname === "/workspace/verification" || url.pathname === "/workspace/verification/cancel") { + await handleWorkspaceVerificationRoute(request, response, url, context); + return; + } if (url.pathname.startsWith("/workspace/code-assessments")) { if (await handleCodeAssessmentRoutes(request, response, url, { storeRegistry, activeRuns, startRun: startCodeAssessmentRun })) return; } diff --git a/packages/daemon/src/server/rpc.ts b/packages/daemon/src/server/rpc.ts index 69508e26f..e657c8cc5 100644 --- a/packages/daemon/src/server/rpc.ts +++ b/packages/daemon/src/server/rpc.ts @@ -84,10 +84,9 @@ import { assertNoUnsafeRequiredPause } from "../features/runs/user-input-cancell import { submitAuthorizedUserInputAnswer } from "../features/runs/user-input-answer.js"; import { publishUserInputAnswerAcceptance } from "../features/runs/user-input-events.js"; import { RpcOutboundWriter, type RpcOutboundFrame } from "./rpc-outbound.js"; -import { AppServerDevelopmentService } from "./app-server-development.js"; +import { abortAppServerVerifications, getAppServerDevelopmentService, type AppServerDevelopmentService } from "./app-server-development.js"; import { applyAppServerChanges, captureAppServerChanges, previewAppServerChangeRecovery, readAppServerChanges } from "./app-server-changes.js"; import { RunWorkspaceRecoveryError } from "../features/runs/workspace-change-recovery.js"; -import { executeAppServerVerificationCheck } from "./app-server-verification-recipes.js"; import { listManagedWorktrees, WorktreeActionError } from "../features/workspaces/worktree-management.js"; import { cleanupAppServerWorktree, createAppServerWorktree, previewAppServerWorktreeCleanup, refreshAppServerWorktree } from "./app-server-worktrees.js"; import { checkAppServerHandoff, createAppServerHandoff, handoffInstruction, readAppServerHandoff } from "./app-server-handoff.js"; @@ -274,7 +273,7 @@ export function attachRpcWebSocketServer( const drainId = randomUUID(); const startedAt = new Date().toISOString(); for (const connection of appServerConnections) connection.notifyDraining(drainId, startedAt); - developmentByContext.get(context)?.abortVerifications(); + abortAppServerVerifications(context); for (const controller of activeExternalDispatches.get(context)?.values() ?? []) controller.abort(); }; const closeAll = (): void => { @@ -2937,22 +2936,6 @@ function collaborationNotificationMethod(kind: import("@ling-stack/contracts").L } } -const developmentByContext = new WeakMap(); - -function getAppServerDevelopmentService(context: DaemonContext): AppServerDevelopmentService { - const existing = developmentByContext.get(context); - if (existing) return existing; - const created = new AppServerDevelopmentService({ - context, - storeRegistry: context.storeRegistry, - activeRuns: context.activeRuns, - startCodeAssessmentRun: context.startCodeAssessmentRun, - executeVerificationCheck: executeAppServerVerificationCheck, - }); - developmentByContext.set(context, created); - return created; -} - function controlPlaneNotification(subscriptionId: string, event: ControlPlaneEvent, cursor?: string): unknown { return { jsonrpc: "2.0", method: "$/control_plane_event", params: { subscriptionId, event, cursor } }; } diff --git a/packages/daemon/src/server/workspace-verification-routes.ts b/packages/daemon/src/server/workspace-verification-routes.ts new file mode 100644 index 000000000..a7b737a43 --- /dev/null +++ b/packages/daemon/src/server/workspace-verification-routes.ts @@ -0,0 +1,67 @@ +import type { IncomingMessage, ServerResponse } from "node:http"; +import type { DaemonContext } from "../context.js"; +import { HttpError } from "../errors.js"; +import { allowLocalWorkspaceRequest } from "../shared/local-workspace-access.js"; +import { readJsonBody } from "../shared/request.js"; +import { writeJson } from "../shared/response.js"; +import { isRecord } from "../shared/validation.js"; +import { getAppServerDevelopmentService } from "./app-server-development.js"; + +export async function handleWorkspaceVerificationRoute(request: IncomingMessage, response: ServerResponse, url: URL, context: DaemonContext): Promise { + const cwd = url.searchParams.get("cwd")?.trim(); + if (!cwd) { + writeJson(response, 400, { error: "cwd_required", message: "cwd query parameter is required." }); + return; + } + if (!allowLocalWorkspaceRequest({ request, response, storeRegistry: context.storeRegistry, cwd })) return; + const store = context.storeRegistry.getInitializedStore(cwd); + if (!store) { + writeJson(response, 404, { error: "workspace_not_loaded", message: "Open this project before reading verification." }); + return; + } + + const development = getAppServerDevelopmentService(context); + const cancel = url.pathname.endsWith("/cancel"); + try { + if (!cancel && request.method === "GET") { + writeJson(response, 200, await development.readWorkspaceVerification(store.paths.cwd, { + operationId: readOptionalIdentifier(url.searchParams.get("operationId") ?? undefined), + threadId: readOptionalIdentifier(url.searchParams.get("threadId") ?? undefined), + })); + } else if (request.method === "POST") { + if (context.activeRuns.isShuttingDown()) throw new HttpError(503, "server_draining", "The daemon is shutting down."); + const body = await readJsonBody(request, 16 * 1024); + if (!isRecord(body) || typeof body.idempotencyKey !== "string") throw invalidRequest(); + if (cancel) { + const operationId = readOptionalIdentifier(body.operationId); + if (!operationId) throw invalidRequest(); + writeJson(response, 200, development.cancelVerification({ cwd: store.paths.cwd, operationId, + idempotencyKey: body.idempotencyKey, expectedRevision: readOptionalIdentifier(body.expectedRevision) })); + } else { + const result = await development.startWorkspaceVerification(store.paths.cwd, { + idempotencyKey: body.idempotencyKey, threadId: readOptionalIdentifier(body.threadId), + }); + writeJson(response, 202, result); + } + } else { + writeJson(response, 405, { error: "method_not_allowed" }); + } + } catch (error) { + const code = error instanceof HttpError ? error.code + : isRecord(error) && typeof error.code === "string" ? error.code : "verification_unavailable"; + writeJson(response, error instanceof HttpError ? error.statusCode + : ["stale_revision", "idempotency_conflict", "resume_blocked"].includes(code) ? 409 : 400, { + error: code, message: error instanceof Error ? error.message : "The verification request could not be completed.", + }); + } +} + +function readOptionalIdentifier(value: unknown): string | undefined { + if (value === undefined) return undefined; + if (typeof value !== "string" || !value.trim() || value.length > 256 || /[\r\n\0]/u.test(value)) throw invalidRequest(); + return value; +} + +function invalidRequest(): HttpError { + return new HttpError(400, "invalid_verification_request", "Supply valid verification parameters."); +} diff --git a/packages/daemon/test/app-server-release-acceptance.test.ts b/packages/daemon/test/app-server-release-acceptance.test.ts index 50865f590..8a77a4db7 100644 --- a/packages/daemon/test/app-server-release-acceptance.test.ts +++ b/packages/daemon/test/app-server-release-acceptance.test.ts @@ -111,6 +111,15 @@ test("App Server deduplicates verification starts and restores completed checks, assert.match(finished.checks[0]?.execution?.output ?? "", /verified fixture behavior/u); assert.equal(finished.checks[0]?.execution?.timedOut, false); assert.equal(finished.checks[1]?.execution, undefined); + const { daemonUrl, authToken } = fixture.transportOptions(); + const verificationResponse = await fetch(`${daemonUrl}/workspace/verification?cwd=${encodeURIComponent(fixture.cwd)}`, { + headers: { Authorization: `Bearer ${authToken}` }, + }); + assert.equal(verificationResponse.status, 200); + const verificationReport = await verificationResponse.json() as { operation: { operationId: string; status: string }; candidateState: string }; + assert.equal(verificationReport.operation.operationId, finished.operationId); + assert.equal(verificationReport.operation.status, "blocked"); + assert.equal(verificationReport.candidateState, "current"); const finalEvent = await waitFor(() => peer.notices.find(notice => notice.method === "verification/updated" && notice.params?.event?.entityId === finished.operationId && notice.params?.revision === finished.revision)); @@ -147,6 +156,50 @@ test("App Server deduplicates verification starts and restores completed checks, assert.deepEqual(await afterCancellation.call("verify/cancel", cancel), receipt); }); +test("workspace verification replays the accepted candidate and respects the bound Work Item", { timeout: 20_000 }, async t => { + const fixture = await releaseFixture(t); + const file = join(fixture.cwd, "subject.txt"); + await writeFile(join(fixture.cwd, ".gitignore"), ".ling-stack/\n"); + await writeFile(file, "baseline\n"); + const git = (...args: string[]) => execFileSync("git", args, { cwd: fixture.cwd, stdio: "ignore" }); + git("init", "-q"); + git("add", ".gitignore", "subject.txt"); + git("-c", "user.name=Fixture", "-c", "user.email=fixture@example.test", "commit", "-qm", "baseline"); + await writeFile(file, "first candidate\n"); + const client = await fixture.connect(); + const store = fixture.getStore(); + const now = new Date().toISOString(); + const thread = store.createLingThread({ kind: "conversation", status: "open", title: "Verification", objective: "Verify" }, now); + const { workItem } = await client.call<{ workItem: LingAppServerWorkItemSnapshot }>("workItem/create", { + sourceId: "verify-bound-thread", title: "Verify the bound Work Item", + }); + const accepted = store.acceptWorkItem(workItem.workItemId, { expectedRevision: Number(workItem.revision), + actorId: "fixture", idempotencyKey: "accept-verification-work", dispatch: { threadId: thread.id, message: "Verify" } }, now); + assert.ok(accepted); + const { daemonUrl, authToken } = fixture.transportOptions(); + const start = (idempotencyKey: string, threadId: string) => fetch(`${daemonUrl}/workspace/verification?cwd=${encodeURIComponent(fixture.cwd)}`, { + method: "POST", headers: { Authorization: `Bearer ${authToken}`, "Content-Type": "application/json" }, + body: JSON.stringify({ idempotencyKey, threadId }), + }); + const response = await start("workspace-start", thread.id); + assert.equal(response.status, 202, response.ok ? "Verification accepted" : await response.text()); + const { operation } = await response.json() as { operation: LingAppServerVerifyOperation }; + assert.equal(operation.workItemId, workItem.workItemId); + await waitFor(async () => (await client.call("verify/status", { operationId: operation.operationId })).operation.completedAt); + await writeFile(file, "changed after verification\n"); + await client.call("workItem/pause", { workItemId: workItem.workItemId, expectedWorkItemRevision: accepted.workItem.revision, + expectedControlGeneration: accepted.workItem.control.generation, actorId: "fixture", idempotencyKey: "pause-verification-work" }); + const replay = await start("workspace-start", thread.id); + assert.equal(replay.status, 202); + const report = await replay.json() as { operation: LingAppServerVerifyOperation; candidateState: string }; + assert.equal(report.operation.operationId, operation.operationId); + assert.equal(report.candidateState, "changed"); + assert.equal((await start("workspace-start", "different-thread")).status, 409); + const blocked = await start("workspace-next", thread.id); + assert.equal(blocked.status, 409); + assert.equal((await blocked.json() as { error: string }).error, "resume_blocked"); +}); + test("Goal completion requires a current candidate and a Host-verified independent check", { timeout: 30_000 }, async t => { const verifier = 'const {readFileSync} = require("node:fs");\n' + 'if (readFileSync("subject.txt", "utf8") !== "accepted behavior\\n") process.exit(1);\n' diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 1c1c08da0..2d0f21369 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -290,6 +290,9 @@ importers: specifier: ^4.3.0 version: 4.6.0 devDependencies: + '@ling-stack/daemon': + specifier: workspace:* + version: link:../../packages/daemon '@playwright/test': specifier: 1.65.0 version: 1.65.0 From 972fcca888a8c0f8506e09cdd08a7f0867d5b576 Mon Sep 17 00:00:00 2001 From: "ling-stack-model-catalog[bot]" <345092909+ling-stack-model-catalog[bot]@users.noreply.github.com> Date: Sun, 22 Nov 2026 09:44:51 +0000 Subject: [PATCH 015/147] chore: translate catalogs for new source strings --- packages/localization/catalogs/bg-BG.json | 22 +++++++++++++++++++++- packages/localization/catalogs/bn-BD.json | 22 +++++++++++++++++++++- packages/localization/catalogs/bs-BA.json | 22 +++++++++++++++++++++- packages/localization/catalogs/ca-ES.json | 22 +++++++++++++++++++++- packages/localization/catalogs/cs-CZ.json | 22 +++++++++++++++++++++- packages/localization/catalogs/da-DK.json | 22 +++++++++++++++++++++- packages/localization/catalogs/de-DE.json | 22 +++++++++++++++++++++- packages/localization/catalogs/el-GR.json | 22 +++++++++++++++++++++- packages/localization/catalogs/en-US.json | 22 +++++++++++++++++++++- packages/localization/catalogs/es-419.json | 22 +++++++++++++++++++++- packages/localization/catalogs/es-ES.json | 22 +++++++++++++++++++++- packages/localization/catalogs/et-EE.json | 22 +++++++++++++++++++++- packages/localization/catalogs/fi-FI.json | 22 +++++++++++++++++++++- packages/localization/catalogs/fr-CA.json | 22 +++++++++++++++++++++- packages/localization/catalogs/fr-FR.json | 22 +++++++++++++++++++++- packages/localization/catalogs/gu-IN.json | 22 +++++++++++++++++++++- packages/localization/catalogs/hi-IN.json | 22 +++++++++++++++++++++- packages/localization/catalogs/hr-HR.json | 22 +++++++++++++++++++++- packages/localization/catalogs/hu-HU.json | 22 +++++++++++++++++++++- packages/localization/catalogs/hy-AM.json | 22 +++++++++++++++++++++- packages/localization/catalogs/id-ID.json | 22 +++++++++++++++++++++- packages/localization/catalogs/is-IS.json | 22 +++++++++++++++++++++- packages/localization/catalogs/it-IT.json | 22 +++++++++++++++++++++- packages/localization/catalogs/ja-JP.json | 22 +++++++++++++++++++++- packages/localization/catalogs/ka-GE.json | 22 +++++++++++++++++++++- packages/localization/catalogs/kn-IN.json | 22 +++++++++++++++++++++- packages/localization/catalogs/ko-KR.json | 22 +++++++++++++++++++++- packages/localization/catalogs/lv-LV.json | 22 +++++++++++++++++++++- packages/localization/catalogs/mk-MK.json | 22 +++++++++++++++++++++- packages/localization/catalogs/mr-IN.json | 22 +++++++++++++++++++++- packages/localization/catalogs/ms-MY.json | 22 +++++++++++++++++++++- packages/localization/catalogs/my-MM.json | 22 +++++++++++++++++++++- packages/localization/catalogs/nb-NO.json | 22 +++++++++++++++++++++- packages/localization/catalogs/nl-NL.json | 22 +++++++++++++++++++++- packages/localization/catalogs/pl-PL.json | 22 +++++++++++++++++++++- packages/localization/catalogs/pt-BR.json | 22 +++++++++++++++++++++- packages/localization/catalogs/pt-PT.json | 22 +++++++++++++++++++++- packages/localization/catalogs/ro-RO.json | 22 +++++++++++++++++++++- packages/localization/catalogs/ru-RU.json | 22 +++++++++++++++++++++- packages/localization/catalogs/sk-SK.json | 22 +++++++++++++++++++++- packages/localization/catalogs/sl-SI.json | 22 +++++++++++++++++++++- packages/localization/catalogs/so-SO.json | 22 +++++++++++++++++++++- packages/localization/catalogs/sq-AL.json | 22 +++++++++++++++++++++- packages/localization/catalogs/sr-RS.json | 22 +++++++++++++++++++++- packages/localization/catalogs/sv-SE.json | 22 +++++++++++++++++++++- packages/localization/catalogs/sw-TZ.json | 22 +++++++++++++++++++++- packages/localization/catalogs/ta-IN.json | 22 +++++++++++++++++++++- packages/localization/catalogs/te-IN.json | 22 +++++++++++++++++++++- packages/localization/catalogs/th-TH.json | 22 +++++++++++++++++++++- packages/localization/catalogs/tr-TR.json | 22 +++++++++++++++++++++- packages/localization/catalogs/uk-UA.json | 22 +++++++++++++++++++++- packages/localization/catalogs/vi-VN.json | 22 +++++++++++++++++++++- packages/localization/catalogs/zh-CN.json | 22 +++++++++++++++++++++- packages/localization/catalogs/zh-HK.json | 22 +++++++++++++++++++++- packages/localization/catalogs/zh-TW.json | 22 +++++++++++++++++++++- 55 files changed, 1155 insertions(+), 55 deletions(-) diff --git a/packages/localization/catalogs/bg-BG.json b/packages/localization/catalogs/bg-BG.json index c3fd35472..d397da926 100644 --- a/packages/localization/catalogs/bg-BG.json +++ b/packages/localization/catalogs/bg-BG.json @@ -1,6 +1,6 @@ { "locale": "bg-BG", - "sourceRevision": "72f77c6fb25583bb1468e040086563074b7830e025f2fc657144dc0e4aad37c1", + "sourceRevision": "214db76d79f1a5c0fd915c110a2ead6dbb978b58398846e982a0c1ff0cb53108", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -1081,9 +1081,11 @@ "cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Candidate approved for draft": "59a57b9b459b3215e76b651f73f6521bc1bd71fa66bb52e046368a559db6632b", + "Candidate changed since verification": "a2808e03661077a04403dab2204b7ce8d78310c296600bd03c5766a754f216a6", "Candidate cluster is not bound to a channel.": "6066a4e8725d065a7c2b8d2c8974a60c41c0a94124deeabd972f620ddd815786", "Candidate Clusters": "b617f8ce5325fa8984c324816b08d3a26c05dac3c3276bcc4f4ab7196222dbe4", "Candidate commit: {commit}": "09bfd331d31184edc3eb1f8eab93bb1f6bc0cb640c0d1e1b53178e9eca4babbd", + "Candidate comparison unavailable": "f3bcf514a4febc720648d70be4d772e8ed9228ec5e7651edda3c229ddab6b627", "Candidate details": "17394d22b095121d9f0d77ff6d121c01383175fa17242bcd9f04bd61f182b5c9", "Candidate generation": "9d360a71a5d82995775df6401ac1d1f7257a68ad462bab70abb494e14239d3d3", "Candidate generation and recording": "d3af53b1912f971078c187ce9260949e68e49f0c2ea954c216a06fe2baa2acc9", @@ -1257,6 +1259,7 @@ "Check member status": "ff155af014d0b6e94cbf2fca3b01cf8d5725732f178eee985083478adb4a62f5", "Check member status to load readiness.": "6f7f338e22e626b134643fbaec898cf8e8efd19b85eeb6193b4ca0d5d63c4528", "Check needed": "561a32f0c83e5a4fe8d77d891bd4b954d514ea021b4a18e68a3607f5d8747841", + "Check output": "250d2e9675d6d399c668a5e496d0caf2913e14b5ea21036fa8ee2dad94ad4d46", "Check passed": "2f6697a2389d7a3c059e7c0435569b37c78275d752bdf9b9e1c5d94f3d0eeeaf", "Check preset": "85e9cc57cbd02e87de7d5213d2627e64f0ae2e3211dd62045b7c2e3dc2bcd45c", "Check provider": "655b6b054c32b6850e6bc245f79b03cb2513ab227e96e7e4a6fb3269daf60119", @@ -4645,6 +4648,7 @@ "Participant label": "ac9acb52867f8141cbc1741f20bbd2766f819aa569c1191dcac3855ba53b59fc", "Participants": "0e27279b3302db0448a2acf5d923ffb09b75270c2e957bfb93f54815d2146aa4", "Pass": "ebdf8cc00bc4d9ceee633c56c63b49955769a92ca060825c9b08e4af61326e2b", + "Passed": "436fe71bb9561f0596161c4d50c7b23327b4189acaf63dc89f4f9205b67a7528", "Password": "e7cf3ef4f17c3999a94f2c6f612e8a888e5b1026878e4e19398b23bd38ec221a", "Paste a Ling memory Markdown export": "3efbebfd30ffeb6bfba59beb91961665a830db73fea934f7fed5394666a7c901", "Paste an API key in Model Workbench, then Save.": "07d4307d7f787295b9cfe97f60114a53060c0f9319a38a5c935fb3f76aceb2cc", @@ -5250,6 +5254,7 @@ "Refresh the library to load Ling built-in skills.": "c1c70580c6d18d99477517ed4d8e7b1b2d7ce26b1c7e932cb3260eeef43008c2", "Refresh to load member readiness.": "b7018c54ba477bad3f292cefce02f582783c67f459e84182d3fe06e53cfe3236", "Refresh to load the selected channel's workflow and credential state.": "290fe59158244da3b9914566b3df31b8f15d3a66fd3ffd9661da282028522f59", + "Refresh verification": "c444d5a4e36d9ec9e448c2eb179a6ef45d3594cd02c264f699a83a04bb51749f", "Refresh work summary": "ccd4dcacf0460eb1ca7749ead055fbffcd395e4f8a0c0f9292d390394b80a78e", "Refresh workflow templates": "1d5c58c6bb31f588e7992a8fe14fc3bb3ad2f52396c0302dd980d4dfdaf1acaa", "Refresh workspace": "306960dcad4c285f46eb5bffbb815be8ebe98657bfed1a901e44b68c7c9f417d", @@ -6477,6 +6482,7 @@ "Stop scheduler": "da6153337089386cf80b918ffbd2f2a43a8876a76da3ca671200898a73695940", "Stop the current reply or queue new guidance.": "ef65bd0c8e0943cd194a61f0b0714870faf9081eeebdccb2967aabf880477457", "Stop using": "ef22ba68c9e447df816d52baba2d198b9d230a7b92291b0e683c38dd39fd94d7", + "Stop verification": "4d90de345e4b79787a78322b9da1ef2fd9c70098caae9af1208c37adc972ec73", "Stopped": "1a4f630ac1b69fd00728fa8a672ded71d0eae8516cb23e78f94529113399b79b", "Stopped {title}": "a2bb8d21f8b1fc6f69326965aabb4596bb14403cfc02644e3da7c3d99bda4a7f", "Stopped at {step}: {status}.": "a911b75c20e85b6fc45f8d484a34b9f7b844947fd5de54f289305ebd339951b7", @@ -7186,6 +7192,7 @@ "Unknown provider": "59080be0f444945a37e28b48166f9ddeb710cda7f656bb3827a684fffbcf4524", "Unknown size": "fffbd4ecf2ad3884acfc08d4fe61477737434672c0307bb3c08d2e876c0fd704", "Unknown source": "cbc86fd9d9357166a3076a90fd8957b816b3a516b79dc76d84e066daf984f83f", + "Unknown status": "15eebb6f74cc8a5a2a3eb6897533ded3d7c3e52b32cf617087a4793fef134ba0", "Unknown teammate": "491ea2ec8a112ef7fe0bc1368d78168f5a9208e5f9ca8587f8dd5ce1c1c5ef1f", "unknown_outcome": "164557364fc9e34fcc5fa0329a356a7d7042c4797b82a38cf0954e95185ad11d", "unknown_provider_capability": "f7ac373b31c9f98e1b1017117bf429d8b16a92030073b5b5eb5c30de06cdec8b", @@ -7360,12 +7367,15 @@ "Vector dimensions": "9d95d3f89905adeb9db91dc8afa0187d3e97858b2ec6e5ce78c0312ce1e99254", "Vector retrieval": "48180b50b6fc222ac72ac2cb38ac7d89c9b1cccd51392b6eae57b46a8ec6cd44", "Verdict": "4a36f89dafb0a1014671aaf16e3a380a999a33836e4c3a31fe5594a7da034da5", + "Verification": "7140f4f19dec525960aabacb5741a125876c7d85f8cfa9c899cc8880651ddf61", "verified": "1c34f88707b55e6104c4eb20e71ffa3d33e414b71ef689a15fad0640d0ac58cb", "Verified": "4f7838402f37674e8ebedb6cf048c0aea66bacdb25607aa3eee4b53093d83f5c", "Verified by execution": "1c4dd61aa39a909b81e11acea882bee4dec628b47763cc4dccca63dbc5f885bb", "Verified catalog": "8f408d980918dbb3a719ced82bf7e18c80a41382f2e3d444528defc5fa24623a", "Verifies behavior, regression scenarios, and user-facing workflows.": "b0845a7154f2567bfbe99c9649c79df3019b654217110f0d1b94f477dd91c78d", + "Verify": "eea2745e2867a6772adc3e813211e6ce7b6ebd312d7e84a7c1b1aa2f8c75fd4b", "Verify before use": "687f00a3911b398fd3e9df5675ecd82fba1fd114e17e2f868f4b04914679db33", + "Verify current changes": "547006b60c4136a531a18526bb7822b118268902f4f457bff86ab03e2a5e7e3f", "Verify the key, account access, balance, and model permission for this provider.": "5ba03b132333df8c1d7b130335bfa5a4034517c93f2a8725019d0d0eec7eb401", "Verifying": "a7d4a9f301edaa61ef561aaba1847d2729a900ea00bbf358953f99d99d913666", "Verifying integration candidate": "05a26deacc8035b95bfce5888134aaa287046d2727ef374e1ae39b07a59daadc", @@ -8790,9 +8800,11 @@ "cancelling": "Отмяна", "Cancelling": "Отмяна", "Candidate approved for draft": "Кандидатът е одобрен за проект", + "Candidate changed since verification": "Кандидатът е променен след проверката", "Candidate cluster is not bound to a channel.": "Клъстерът кандидат не е обвързан с канал.", "Candidate Clusters": "Клъстери кандидати", "Candidate commit: {commit}": "Кандидат ангажимент: {commit}", + "Candidate comparison unavailable": "Не е налично сравнение на кандидати", "Candidate details": "Данни за кандидата", "Candidate generation": "Кандидат поколение", "Candidate generation and recording": "Генериране и записване на кандидати", @@ -8966,6 +8978,7 @@ "Check member status": "Проверете статуса на член", "Check member status to load readiness.": "Проверете състоянието на член, за да заредите готовност.", "Check needed": "Необходима е проверка", + "Check output": "Проверете изхода", "Check passed": "Проверката премина", "Check preset": "Проверете предварителна настройка", "Check provider": "Проверете доставчика", @@ -12354,6 +12367,7 @@ "Participant label": "Етикет на участник", "Participants": "Участници", "Pass": "Пас", + "Passed": "премина", "Password": "Парола", "Paste a Ling memory Markdown export": "Поставете Ling памет Markdown експортиране", "Paste an API key in Model Workbench, then Save.": "Поставете ключ API в Model Workbench, след което Запазете.", @@ -12959,6 +12973,7 @@ "Refresh the library to load Ling built-in skills.": "Обновете библиотеката, за да заредите Ling вградени умения.", "Refresh to load member readiness.": "Опреснете, за да заредите готовността на членовете.", "Refresh to load the selected channel's workflow and credential state.": "Опреснете, за да заредите работния процес и състоянието на идентификационните данни на избрания канал.", + "Refresh verification": "Опресняване на проверката", "Refresh work summary": "Refresh work summary", "Refresh workflow templates": "Refresh workflow templates", "Refresh workspace": "Опресняване на работното пространство", @@ -14186,6 +14201,7 @@ "Stop scheduler": "Спрете планировчика", "Stop the current reply or queue new guidance.": "Спрете текущия отговор или поставете в опашката ново напътствие.", "Stop using": "Спрете да използвате", + "Stop verification": "Спрете проверката", "Stopped": "Спряно", "Stopped {title}": "Спряно {title}", "Stopped at {step}: {status}.": "Спрян на {step}: {status}.", @@ -14895,6 +14911,7 @@ "Unknown provider": "Неизвестен доставчик", "Unknown size": "Неизвестен размер", "Unknown source": "Неизвестен източник", + "Unknown status": "Неизвестен статус", "Unknown teammate": "Неизвестен съотборник", "unknown_outcome": "Резултатът е неизвестен", "unknown_provider_capability": "Възможност за неизвестен доставчик", @@ -15069,12 +15086,15 @@ "Vector dimensions": "Векторни размери", "Vector retrieval": "Векторно извличане", "Verdict": "Присъда", + "Verification": "Проверка", "verified": "проверени", "Verified": "Проверен", "Verified by execution": "Проверено чрез изпълнение", "Verified catalog": "Проверен каталог", "Verifies behavior, regression scenarios, and user-facing workflows.": "Проверява поведението, сценариите за регресия и работните процеси, насочени към потребителя.", + "Verify": "Проверете", "Verify before use": "Проверете преди употреба", + "Verify current changes": "Проверете текущите промени", "Verify the key, account access, balance, and model permission for this provider.": "Проверете ключа, достъпа до акаунта, баланса и разрешението за модел за този доставчик.", "Verifying": "Проверка", "Verifying integration candidate": "Кандидатът за интегриране се проверява", diff --git a/packages/localization/catalogs/bn-BD.json b/packages/localization/catalogs/bn-BD.json index 42fc33ed7..ffe863e56 100644 --- a/packages/localization/catalogs/bn-BD.json +++ b/packages/localization/catalogs/bn-BD.json @@ -1,6 +1,6 @@ { "locale": "bn-BD", - "sourceRevision": "72f77c6fb25583bb1468e040086563074b7830e025f2fc657144dc0e4aad37c1", + "sourceRevision": "214db76d79f1a5c0fd915c110a2ead6dbb978b58398846e982a0c1ff0cb53108", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -1081,9 +1081,11 @@ "cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Candidate approved for draft": "59a57b9b459b3215e76b651f73f6521bc1bd71fa66bb52e046368a559db6632b", + "Candidate changed since verification": "a2808e03661077a04403dab2204b7ce8d78310c296600bd03c5766a754f216a6", "Candidate cluster is not bound to a channel.": "6066a4e8725d065a7c2b8d2c8974a60c41c0a94124deeabd972f620ddd815786", "Candidate Clusters": "b617f8ce5325fa8984c324816b08d3a26c05dac3c3276bcc4f4ab7196222dbe4", "Candidate commit: {commit}": "09bfd331d31184edc3eb1f8eab93bb1f6bc0cb640c0d1e1b53178e9eca4babbd", + "Candidate comparison unavailable": "f3bcf514a4febc720648d70be4d772e8ed9228ec5e7651edda3c229ddab6b627", "Candidate details": "17394d22b095121d9f0d77ff6d121c01383175fa17242bcd9f04bd61f182b5c9", "Candidate generation": "9d360a71a5d82995775df6401ac1d1f7257a68ad462bab70abb494e14239d3d3", "Candidate generation and recording": "d3af53b1912f971078c187ce9260949e68e49f0c2ea954c216a06fe2baa2acc9", @@ -1257,6 +1259,7 @@ "Check member status": "ff155af014d0b6e94cbf2fca3b01cf8d5725732f178eee985083478adb4a62f5", "Check member status to load readiness.": "6f7f338e22e626b134643fbaec898cf8e8efd19b85eeb6193b4ca0d5d63c4528", "Check needed": "561a32f0c83e5a4fe8d77d891bd4b954d514ea021b4a18e68a3607f5d8747841", + "Check output": "250d2e9675d6d399c668a5e496d0caf2913e14b5ea21036fa8ee2dad94ad4d46", "Check passed": "2f6697a2389d7a3c059e7c0435569b37c78275d752bdf9b9e1c5d94f3d0eeeaf", "Check preset": "85e9cc57cbd02e87de7d5213d2627e64f0ae2e3211dd62045b7c2e3dc2bcd45c", "Check provider": "655b6b054c32b6850e6bc245f79b03cb2513ab227e96e7e4a6fb3269daf60119", @@ -4645,6 +4648,7 @@ "Participant label": "ac9acb52867f8141cbc1741f20bbd2766f819aa569c1191dcac3855ba53b59fc", "Participants": "0e27279b3302db0448a2acf5d923ffb09b75270c2e957bfb93f54815d2146aa4", "Pass": "ebdf8cc00bc4d9ceee633c56c63b49955769a92ca060825c9b08e4af61326e2b", + "Passed": "436fe71bb9561f0596161c4d50c7b23327b4189acaf63dc89f4f9205b67a7528", "Password": "e7cf3ef4f17c3999a94f2c6f612e8a888e5b1026878e4e19398b23bd38ec221a", "Paste a Ling memory Markdown export": "3efbebfd30ffeb6bfba59beb91961665a830db73fea934f7fed5394666a7c901", "Paste an API key in Model Workbench, then Save.": "07d4307d7f787295b9cfe97f60114a53060c0f9319a38a5c935fb3f76aceb2cc", @@ -5250,6 +5254,7 @@ "Refresh the library to load Ling built-in skills.": "c1c70580c6d18d99477517ed4d8e7b1b2d7ce26b1c7e932cb3260eeef43008c2", "Refresh to load member readiness.": "b7018c54ba477bad3f292cefce02f582783c67f459e84182d3fe06e53cfe3236", "Refresh to load the selected channel's workflow and credential state.": "290fe59158244da3b9914566b3df31b8f15d3a66fd3ffd9661da282028522f59", + "Refresh verification": "c444d5a4e36d9ec9e448c2eb179a6ef45d3594cd02c264f699a83a04bb51749f", "Refresh work summary": "ccd4dcacf0460eb1ca7749ead055fbffcd395e4f8a0c0f9292d390394b80a78e", "Refresh workflow templates": "1d5c58c6bb31f588e7992a8fe14fc3bb3ad2f52396c0302dd980d4dfdaf1acaa", "Refresh workspace": "306960dcad4c285f46eb5bffbb815be8ebe98657bfed1a901e44b68c7c9f417d", @@ -6477,6 +6482,7 @@ "Stop scheduler": "da6153337089386cf80b918ffbd2f2a43a8876a76da3ca671200898a73695940", "Stop the current reply or queue new guidance.": "ef65bd0c8e0943cd194a61f0b0714870faf9081eeebdccb2967aabf880477457", "Stop using": "ef22ba68c9e447df816d52baba2d198b9d230a7b92291b0e683c38dd39fd94d7", + "Stop verification": "4d90de345e4b79787a78322b9da1ef2fd9c70098caae9af1208c37adc972ec73", "Stopped": "1a4f630ac1b69fd00728fa8a672ded71d0eae8516cb23e78f94529113399b79b", "Stopped {title}": "a2bb8d21f8b1fc6f69326965aabb4596bb14403cfc02644e3da7c3d99bda4a7f", "Stopped at {step}: {status}.": "a911b75c20e85b6fc45f8d484a34b9f7b844947fd5de54f289305ebd339951b7", @@ -7186,6 +7192,7 @@ "Unknown provider": "59080be0f444945a37e28b48166f9ddeb710cda7f656bb3827a684fffbcf4524", "Unknown size": "fffbd4ecf2ad3884acfc08d4fe61477737434672c0307bb3c08d2e876c0fd704", "Unknown source": "cbc86fd9d9357166a3076a90fd8957b816b3a516b79dc76d84e066daf984f83f", + "Unknown status": "15eebb6f74cc8a5a2a3eb6897533ded3d7c3e52b32cf617087a4793fef134ba0", "Unknown teammate": "491ea2ec8a112ef7fe0bc1368d78168f5a9208e5f9ca8587f8dd5ce1c1c5ef1f", "unknown_outcome": "164557364fc9e34fcc5fa0329a356a7d7042c4797b82a38cf0954e95185ad11d", "unknown_provider_capability": "f7ac373b31c9f98e1b1017117bf429d8b16a92030073b5b5eb5c30de06cdec8b", @@ -7360,12 +7367,15 @@ "Vector dimensions": "9d95d3f89905adeb9db91dc8afa0187d3e97858b2ec6e5ce78c0312ce1e99254", "Vector retrieval": "48180b50b6fc222ac72ac2cb38ac7d89c9b1cccd51392b6eae57b46a8ec6cd44", "Verdict": "4a36f89dafb0a1014671aaf16e3a380a999a33836e4c3a31fe5594a7da034da5", + "Verification": "7140f4f19dec525960aabacb5741a125876c7d85f8cfa9c899cc8880651ddf61", "verified": "1c34f88707b55e6104c4eb20e71ffa3d33e414b71ef689a15fad0640d0ac58cb", "Verified": "4f7838402f37674e8ebedb6cf048c0aea66bacdb25607aa3eee4b53093d83f5c", "Verified by execution": "1c4dd61aa39a909b81e11acea882bee4dec628b47763cc4dccca63dbc5f885bb", "Verified catalog": "8f408d980918dbb3a719ced82bf7e18c80a41382f2e3d444528defc5fa24623a", "Verifies behavior, regression scenarios, and user-facing workflows.": "b0845a7154f2567bfbe99c9649c79df3019b654217110f0d1b94f477dd91c78d", + "Verify": "eea2745e2867a6772adc3e813211e6ce7b6ebd312d7e84a7c1b1aa2f8c75fd4b", "Verify before use": "687f00a3911b398fd3e9df5675ecd82fba1fd114e17e2f868f4b04914679db33", + "Verify current changes": "547006b60c4136a531a18526bb7822b118268902f4f457bff86ab03e2a5e7e3f", "Verify the key, account access, balance, and model permission for this provider.": "5ba03b132333df8c1d7b130335bfa5a4034517c93f2a8725019d0d0eec7eb401", "Verifying": "a7d4a9f301edaa61ef561aaba1847d2729a900ea00bbf358953f99d99d913666", "Verifying integration candidate": "05a26deacc8035b95bfce5888134aaa287046d2727ef374e1ae39b07a59daadc", @@ -8790,9 +8800,11 @@ "cancelling": "বাতিল হচ্ছে", "Cancelling": "বাতিল হচ্ছে", "Candidate approved for draft": "খসড়া জন্য অনুমোদিত প্রার্থী", + "Candidate changed since verification": "যাচাইকরণের পর থেকে প্রার্থী পরিবর্তন হয়েছে", "Candidate cluster is not bound to a channel.": "প্রার্থী ক্লাস্টার একটি চ্যানেলে আবদ্ধ নয়।", "Candidate Clusters": "প্রার্থী ক্লাস্টার", "Candidate commit: {commit}": "প্রার্থী প্রতিশ্রুতি: {commit}", + "Candidate comparison unavailable": "প্রার্থী তুলনা অনুপলব্ধ", "Candidate details": "প্রার্থীর বিবরণ", "Candidate generation": "প্রার্থী প্রজন্ম", "Candidate generation and recording": "প্রার্থী প্রজন্ম এবং রেকর্ডিং", @@ -8966,6 +8978,7 @@ "Check member status": "সদস্য অবস্থা চেক করুন", "Check member status to load readiness.": "প্রস্তুতি লোড করতে সদস্যের স্থিতি পরীক্ষা করুন।", "Check needed": "চেক প্রয়োজন", + "Check output": "আউটপুট চেক করুন", "Check passed": "চেক পাস হয়েছে", "Check preset": "প্রিসেট চেক করুন", "Check provider": "প্রদানকারী চেক করুন", @@ -12354,6 +12367,7 @@ "Participant label": "অংশগ্রহণকারী লেবেল", "Participants": "অংশগ্রহণকারীরা", "Pass": "পাস", + "Passed": "পাস করেছে", "Password": "পাসওয়ার্ড", "Paste a Ling memory Markdown export": "একটি Ling মেমরি মার্কডাউন এক্সপোর্ট পেস্ট করুন", "Paste an API key in Model Workbench, then Save.": "মডেল ওয়ার্কবেঞ্চে একটি API কী পেস্ট করুন, তারপর সংরক্ষণ করুন।", @@ -12959,6 +12973,7 @@ "Refresh the library to load Ling built-in skills.": "Ling অন্তর্নির্মিত দক্ষতা লোড করতে লাইব্রেরি রিফ্রেশ করুন।", "Refresh to load member readiness.": "সদস্য প্রস্তুতি লোড করতে রিফ্রেশ করুন।", "Refresh to load the selected channel's workflow and credential state.": "নির্বাচিত চ্যানেলের কর্মপ্রবাহ এবং শংসাপত্রের অবস্থা লোড করতে রিফ্রেশ করুন।", + "Refresh verification": "যাচাইকরণ রিফ্রেশ করুন", "Refresh work summary": "Refresh work summary", "Refresh workflow templates": "Refresh workflow templates", "Refresh workspace": "কর্মক্ষেত্র রিফ্রেশ করুন", @@ -14186,6 +14201,7 @@ "Stop scheduler": "সময়সূচী বন্ধ করুন", "Stop the current reply or queue new guidance.": "বর্তমান উত্তর বন্ধ করুন বা নতুন নির্দেশিকা সারি করুন।", "Stop using": "ব্যবহার বন্ধ করুন", + "Stop verification": "যাচাইকরণ বন্ধ করুন", "Stopped": "থেমে গেল", "Stopped {title}": "থেমে গেছে {title}", "Stopped at {step}: {status}.": "{step} এ থামে: {status}।", @@ -14895,6 +14911,7 @@ "Unknown provider": "অজানা প্রদানকারী", "Unknown size": "অজানা আকার", "Unknown source": "অজানা উৎস", + "Unknown status": "অজানা অবস্থা", "Unknown teammate": "অচেনা সতীর্থ", "unknown_outcome": "ফলাফল অজানা", "unknown_provider_capability": "অজানা প্রদানকারী ক্ষমতা", @@ -15069,12 +15086,15 @@ "Vector dimensions": "ভেক্টর মাত্রা", "Vector retrieval": "ভেক্টর পুনরুদ্ধার", "Verdict": "রায়", + "Verification": "যাচাইকরণ", "verified": "যাচাই করা হয়েছে", "Verified": "যাচাই করা হয়েছে", "Verified by execution": "মৃত্যুদন্ড দ্বারা যাচাই করা হয়েছে", "Verified catalog": "যাচাইকৃত ক্যাটালগ", "Verifies behavior, regression scenarios, and user-facing workflows.": "আচরণ, রিগ্রেশন পরিস্থিতি এবং ব্যবহারকারী-মুখী কর্মপ্রবাহ যাচাই করে।", + "Verify": "যাচাই করুন", "Verify before use": "ব্যবহারের আগে যাচাই করুন", + "Verify current changes": "বর্তমান পরিবর্তন যাচাই করুন", "Verify the key, account access, balance, and model permission for this provider.": "এই প্রদানকারীর জন্য কী, অ্যাকাউন্ট অ্যাক্সেস, ব্যালেন্স এবং মডেলের অনুমতি যাচাই করুন।", "Verifying": "যাচাই করা হচ্ছে", "Verifying integration candidate": "একীকরণ প্রার্থী যাচাই করা হচ্ছে", diff --git a/packages/localization/catalogs/bs-BA.json b/packages/localization/catalogs/bs-BA.json index af2be858b..1e89a6251 100644 --- a/packages/localization/catalogs/bs-BA.json +++ b/packages/localization/catalogs/bs-BA.json @@ -1,6 +1,6 @@ { "locale": "bs-BA", - "sourceRevision": "72f77c6fb25583bb1468e040086563074b7830e025f2fc657144dc0e4aad37c1", + "sourceRevision": "214db76d79f1a5c0fd915c110a2ead6dbb978b58398846e982a0c1ff0cb53108", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -1081,9 +1081,11 @@ "cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Candidate approved for draft": "59a57b9b459b3215e76b651f73f6521bc1bd71fa66bb52e046368a559db6632b", + "Candidate changed since verification": "a2808e03661077a04403dab2204b7ce8d78310c296600bd03c5766a754f216a6", "Candidate cluster is not bound to a channel.": "6066a4e8725d065a7c2b8d2c8974a60c41c0a94124deeabd972f620ddd815786", "Candidate Clusters": "b617f8ce5325fa8984c324816b08d3a26c05dac3c3276bcc4f4ab7196222dbe4", "Candidate commit: {commit}": "09bfd331d31184edc3eb1f8eab93bb1f6bc0cb640c0d1e1b53178e9eca4babbd", + "Candidate comparison unavailable": "f3bcf514a4febc720648d70be4d772e8ed9228ec5e7651edda3c229ddab6b627", "Candidate details": "17394d22b095121d9f0d77ff6d121c01383175fa17242bcd9f04bd61f182b5c9", "Candidate generation": "9d360a71a5d82995775df6401ac1d1f7257a68ad462bab70abb494e14239d3d3", "Candidate generation and recording": "d3af53b1912f971078c187ce9260949e68e49f0c2ea954c216a06fe2baa2acc9", @@ -1257,6 +1259,7 @@ "Check member status": "ff155af014d0b6e94cbf2fca3b01cf8d5725732f178eee985083478adb4a62f5", "Check member status to load readiness.": "6f7f338e22e626b134643fbaec898cf8e8efd19b85eeb6193b4ca0d5d63c4528", "Check needed": "561a32f0c83e5a4fe8d77d891bd4b954d514ea021b4a18e68a3607f5d8747841", + "Check output": "250d2e9675d6d399c668a5e496d0caf2913e14b5ea21036fa8ee2dad94ad4d46", "Check passed": "2f6697a2389d7a3c059e7c0435569b37c78275d752bdf9b9e1c5d94f3d0eeeaf", "Check preset": "85e9cc57cbd02e87de7d5213d2627e64f0ae2e3211dd62045b7c2e3dc2bcd45c", "Check provider": "655b6b054c32b6850e6bc245f79b03cb2513ab227e96e7e4a6fb3269daf60119", @@ -4645,6 +4648,7 @@ "Participant label": "ac9acb52867f8141cbc1741f20bbd2766f819aa569c1191dcac3855ba53b59fc", "Participants": "0e27279b3302db0448a2acf5d923ffb09b75270c2e957bfb93f54815d2146aa4", "Pass": "ebdf8cc00bc4d9ceee633c56c63b49955769a92ca060825c9b08e4af61326e2b", + "Passed": "436fe71bb9561f0596161c4d50c7b23327b4189acaf63dc89f4f9205b67a7528", "Password": "e7cf3ef4f17c3999a94f2c6f612e8a888e5b1026878e4e19398b23bd38ec221a", "Paste a Ling memory Markdown export": "3efbebfd30ffeb6bfba59beb91961665a830db73fea934f7fed5394666a7c901", "Paste an API key in Model Workbench, then Save.": "07d4307d7f787295b9cfe97f60114a53060c0f9319a38a5c935fb3f76aceb2cc", @@ -5250,6 +5254,7 @@ "Refresh the library to load Ling built-in skills.": "c1c70580c6d18d99477517ed4d8e7b1b2d7ce26b1c7e932cb3260eeef43008c2", "Refresh to load member readiness.": "b7018c54ba477bad3f292cefce02f582783c67f459e84182d3fe06e53cfe3236", "Refresh to load the selected channel's workflow and credential state.": "290fe59158244da3b9914566b3df31b8f15d3a66fd3ffd9661da282028522f59", + "Refresh verification": "c444d5a4e36d9ec9e448c2eb179a6ef45d3594cd02c264f699a83a04bb51749f", "Refresh work summary": "ccd4dcacf0460eb1ca7749ead055fbffcd395e4f8a0c0f9292d390394b80a78e", "Refresh workflow templates": "1d5c58c6bb31f588e7992a8fe14fc3bb3ad2f52396c0302dd980d4dfdaf1acaa", "Refresh workspace": "306960dcad4c285f46eb5bffbb815be8ebe98657bfed1a901e44b68c7c9f417d", @@ -6477,6 +6482,7 @@ "Stop scheduler": "da6153337089386cf80b918ffbd2f2a43a8876a76da3ca671200898a73695940", "Stop the current reply or queue new guidance.": "ef65bd0c8e0943cd194a61f0b0714870faf9081eeebdccb2967aabf880477457", "Stop using": "ef22ba68c9e447df816d52baba2d198b9d230a7b92291b0e683c38dd39fd94d7", + "Stop verification": "4d90de345e4b79787a78322b9da1ef2fd9c70098caae9af1208c37adc972ec73", "Stopped": "1a4f630ac1b69fd00728fa8a672ded71d0eae8516cb23e78f94529113399b79b", "Stopped {title}": "a2bb8d21f8b1fc6f69326965aabb4596bb14403cfc02644e3da7c3d99bda4a7f", "Stopped at {step}: {status}.": "a911b75c20e85b6fc45f8d484a34b9f7b844947fd5de54f289305ebd339951b7", @@ -7186,6 +7192,7 @@ "Unknown provider": "59080be0f444945a37e28b48166f9ddeb710cda7f656bb3827a684fffbcf4524", "Unknown size": "fffbd4ecf2ad3884acfc08d4fe61477737434672c0307bb3c08d2e876c0fd704", "Unknown source": "cbc86fd9d9357166a3076a90fd8957b816b3a516b79dc76d84e066daf984f83f", + "Unknown status": "15eebb6f74cc8a5a2a3eb6897533ded3d7c3e52b32cf617087a4793fef134ba0", "Unknown teammate": "491ea2ec8a112ef7fe0bc1368d78168f5a9208e5f9ca8587f8dd5ce1c1c5ef1f", "unknown_outcome": "164557364fc9e34fcc5fa0329a356a7d7042c4797b82a38cf0954e95185ad11d", "unknown_provider_capability": "f7ac373b31c9f98e1b1017117bf429d8b16a92030073b5b5eb5c30de06cdec8b", @@ -7360,12 +7367,15 @@ "Vector dimensions": "9d95d3f89905adeb9db91dc8afa0187d3e97858b2ec6e5ce78c0312ce1e99254", "Vector retrieval": "48180b50b6fc222ac72ac2cb38ac7d89c9b1cccd51392b6eae57b46a8ec6cd44", "Verdict": "4a36f89dafb0a1014671aaf16e3a380a999a33836e4c3a31fe5594a7da034da5", + "Verification": "7140f4f19dec525960aabacb5741a125876c7d85f8cfa9c899cc8880651ddf61", "verified": "1c34f88707b55e6104c4eb20e71ffa3d33e414b71ef689a15fad0640d0ac58cb", "Verified": "4f7838402f37674e8ebedb6cf048c0aea66bacdb25607aa3eee4b53093d83f5c", "Verified by execution": "1c4dd61aa39a909b81e11acea882bee4dec628b47763cc4dccca63dbc5f885bb", "Verified catalog": "8f408d980918dbb3a719ced82bf7e18c80a41382f2e3d444528defc5fa24623a", "Verifies behavior, regression scenarios, and user-facing workflows.": "b0845a7154f2567bfbe99c9649c79df3019b654217110f0d1b94f477dd91c78d", + "Verify": "eea2745e2867a6772adc3e813211e6ce7b6ebd312d7e84a7c1b1aa2f8c75fd4b", "Verify before use": "687f00a3911b398fd3e9df5675ecd82fba1fd114e17e2f868f4b04914679db33", + "Verify current changes": "547006b60c4136a531a18526bb7822b118268902f4f457bff86ab03e2a5e7e3f", "Verify the key, account access, balance, and model permission for this provider.": "5ba03b132333df8c1d7b130335bfa5a4034517c93f2a8725019d0d0eec7eb401", "Verifying": "a7d4a9f301edaa61ef561aaba1847d2729a900ea00bbf358953f99d99d913666", "Verifying integration candidate": "05a26deacc8035b95bfce5888134aaa287046d2727ef374e1ae39b07a59daadc", @@ -8790,9 +8800,11 @@ "cancelling": "Otkazivanje", "Cancelling": "Otkazivanje", "Candidate approved for draft": "Kandidat odobren za nacrt", + "Candidate changed since verification": "Kandidat je promijenjen od verifikacije", "Candidate cluster is not bound to a channel.": "Klaster kandidata nije vezan za kanal.", "Candidate Clusters": "Klasteri kandidata", "Candidate commit: {commit}": "Potvrda kandidata: {commit}", + "Candidate comparison unavailable": "Poređenje kandidata nije dostupno", "Candidate details": "Detalji kandidata", "Candidate generation": "Generacija kandidata", "Candidate generation and recording": "Generisanje i snimanje kandidata", @@ -8966,6 +8978,7 @@ "Check member status": "Provjerite status člana", "Check member status to load readiness.": "Provjerite status člana da učitate spremnost.", "Check needed": "Potrebna je provjera", + "Check output": "Provjerite izlaz", "Check passed": "Provjera prošla", "Check preset": "Proverite unapred podešeno", "Check provider": "Provjerite dobavljača", @@ -12354,6 +12367,7 @@ "Participant label": "Oznaka učesnika", "Participants": "Učesnici", "Pass": "Proći", + "Passed": "Prošao", "Password": "Lozinka", "Paste a Ling memory Markdown export": "Zalijepite izvoz Ling memorije Markdown", "Paste an API key in Model Workbench, then Save.": "Zalijepite ključ API u Model Workbench, a zatim Sačuvaj.", @@ -12959,6 +12973,7 @@ "Refresh the library to load Ling built-in skills.": "Osvježite biblioteku da učitate Ling ugrađene vještine.", "Refresh to load member readiness.": "Osvježite za učitavanje spremnosti člana.", "Refresh to load the selected channel's workflow and credential state.": "Osvježite da biste učitali tok rada odabranog kanala i stanje vjerodajnica.", + "Refresh verification": "Osvježi verifikaciju", "Refresh work summary": "Refresh work summary", "Refresh workflow templates": "Refresh workflow templates", "Refresh workspace": "Osvježite radni prostor", @@ -14186,6 +14201,7 @@ "Stop scheduler": "Zaustavi planer", "Stop the current reply or queue new guidance.": "Zaustavite trenutni odgovor ili stavite u red nove upute.", "Stop using": "Prestanite koristiti", + "Stop verification": "Zaustavi verifikaciju", "Stopped": "Zaustavljeno", "Stopped {title}": "Zaustavljeno {title}", "Stopped at {step}: {status}.": "Zaustavljeno na {step}: {status}.", @@ -14895,6 +14911,7 @@ "Unknown provider": "Nepoznati provajder", "Unknown size": "Nepoznata veličina", "Unknown source": "Nepoznat izvor", + "Unknown status": "Nepoznat status", "Unknown teammate": "Nepoznati saigrač", "unknown_outcome": "Ishod nepoznat", "unknown_provider_capability": "Mogućnost nepoznatog provajdera", @@ -15069,12 +15086,15 @@ "Vector dimensions": "Vektorske dimenzije", "Vector retrieval": "Vektorsko traženje", "Verdict": "Presuda", + "Verification": "Verifikacija", "verified": "verified", "Verified": "Verified", "Verified by execution": "Provjereno izvršenjem", "Verified catalog": "Provjereni katalog", "Verifies behavior, regression scenarios, and user-facing workflows.": "Provjerava ponašanje, scenarije regresije i tokove rada okrenute korisniku.", + "Verify": "Verify", "Verify before use": "Provjerite prije upotrebe", + "Verify current changes": "Provjerite trenutne promjene", "Verify the key, account access, balance, and model permission for this provider.": "Provjerite ključ, pristup računu, stanje i dozvolu modela za ovog provajdera.", "Verifying": "Provjera", "Verifying integration candidate": "Potvrđivanje kandidata za integraciju", diff --git a/packages/localization/catalogs/ca-ES.json b/packages/localization/catalogs/ca-ES.json index c79d79290..1dd007b1e 100644 --- a/packages/localization/catalogs/ca-ES.json +++ b/packages/localization/catalogs/ca-ES.json @@ -1,6 +1,6 @@ { "locale": "ca-ES", - "sourceRevision": "72f77c6fb25583bb1468e040086563074b7830e025f2fc657144dc0e4aad37c1", + "sourceRevision": "214db76d79f1a5c0fd915c110a2ead6dbb978b58398846e982a0c1ff0cb53108", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -1081,9 +1081,11 @@ "cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Candidate approved for draft": "59a57b9b459b3215e76b651f73f6521bc1bd71fa66bb52e046368a559db6632b", + "Candidate changed since verification": "a2808e03661077a04403dab2204b7ce8d78310c296600bd03c5766a754f216a6", "Candidate cluster is not bound to a channel.": "6066a4e8725d065a7c2b8d2c8974a60c41c0a94124deeabd972f620ddd815786", "Candidate Clusters": "b617f8ce5325fa8984c324816b08d3a26c05dac3c3276bcc4f4ab7196222dbe4", "Candidate commit: {commit}": "09bfd331d31184edc3eb1f8eab93bb1f6bc0cb640c0d1e1b53178e9eca4babbd", + "Candidate comparison unavailable": "f3bcf514a4febc720648d70be4d772e8ed9228ec5e7651edda3c229ddab6b627", "Candidate details": "17394d22b095121d9f0d77ff6d121c01383175fa17242bcd9f04bd61f182b5c9", "Candidate generation": "9d360a71a5d82995775df6401ac1d1f7257a68ad462bab70abb494e14239d3d3", "Candidate generation and recording": "d3af53b1912f971078c187ce9260949e68e49f0c2ea954c216a06fe2baa2acc9", @@ -1257,6 +1259,7 @@ "Check member status": "ff155af014d0b6e94cbf2fca3b01cf8d5725732f178eee985083478adb4a62f5", "Check member status to load readiness.": "6f7f338e22e626b134643fbaec898cf8e8efd19b85eeb6193b4ca0d5d63c4528", "Check needed": "561a32f0c83e5a4fe8d77d891bd4b954d514ea021b4a18e68a3607f5d8747841", + "Check output": "250d2e9675d6d399c668a5e496d0caf2913e14b5ea21036fa8ee2dad94ad4d46", "Check passed": "2f6697a2389d7a3c059e7c0435569b37c78275d752bdf9b9e1c5d94f3d0eeeaf", "Check preset": "85e9cc57cbd02e87de7d5213d2627e64f0ae2e3211dd62045b7c2e3dc2bcd45c", "Check provider": "655b6b054c32b6850e6bc245f79b03cb2513ab227e96e7e4a6fb3269daf60119", @@ -4645,6 +4648,7 @@ "Participant label": "ac9acb52867f8141cbc1741f20bbd2766f819aa569c1191dcac3855ba53b59fc", "Participants": "0e27279b3302db0448a2acf5d923ffb09b75270c2e957bfb93f54815d2146aa4", "Pass": "ebdf8cc00bc4d9ceee633c56c63b49955769a92ca060825c9b08e4af61326e2b", + "Passed": "436fe71bb9561f0596161c4d50c7b23327b4189acaf63dc89f4f9205b67a7528", "Password": "e7cf3ef4f17c3999a94f2c6f612e8a888e5b1026878e4e19398b23bd38ec221a", "Paste a Ling memory Markdown export": "3efbebfd30ffeb6bfba59beb91961665a830db73fea934f7fed5394666a7c901", "Paste an API key in Model Workbench, then Save.": "07d4307d7f787295b9cfe97f60114a53060c0f9319a38a5c935fb3f76aceb2cc", @@ -5250,6 +5254,7 @@ "Refresh the library to load Ling built-in skills.": "c1c70580c6d18d99477517ed4d8e7b1b2d7ce26b1c7e932cb3260eeef43008c2", "Refresh to load member readiness.": "b7018c54ba477bad3f292cefce02f582783c67f459e84182d3fe06e53cfe3236", "Refresh to load the selected channel's workflow and credential state.": "290fe59158244da3b9914566b3df31b8f15d3a66fd3ffd9661da282028522f59", + "Refresh verification": "c444d5a4e36d9ec9e448c2eb179a6ef45d3594cd02c264f699a83a04bb51749f", "Refresh work summary": "ccd4dcacf0460eb1ca7749ead055fbffcd395e4f8a0c0f9292d390394b80a78e", "Refresh workflow templates": "1d5c58c6bb31f588e7992a8fe14fc3bb3ad2f52396c0302dd980d4dfdaf1acaa", "Refresh workspace": "306960dcad4c285f46eb5bffbb815be8ebe98657bfed1a901e44b68c7c9f417d", @@ -6477,6 +6482,7 @@ "Stop scheduler": "da6153337089386cf80b918ffbd2f2a43a8876a76da3ca671200898a73695940", "Stop the current reply or queue new guidance.": "ef65bd0c8e0943cd194a61f0b0714870faf9081eeebdccb2967aabf880477457", "Stop using": "ef22ba68c9e447df816d52baba2d198b9d230a7b92291b0e683c38dd39fd94d7", + "Stop verification": "4d90de345e4b79787a78322b9da1ef2fd9c70098caae9af1208c37adc972ec73", "Stopped": "1a4f630ac1b69fd00728fa8a672ded71d0eae8516cb23e78f94529113399b79b", "Stopped {title}": "a2bb8d21f8b1fc6f69326965aabb4596bb14403cfc02644e3da7c3d99bda4a7f", "Stopped at {step}: {status}.": "a911b75c20e85b6fc45f8d484a34b9f7b844947fd5de54f289305ebd339951b7", @@ -7186,6 +7192,7 @@ "Unknown provider": "59080be0f444945a37e28b48166f9ddeb710cda7f656bb3827a684fffbcf4524", "Unknown size": "fffbd4ecf2ad3884acfc08d4fe61477737434672c0307bb3c08d2e876c0fd704", "Unknown source": "cbc86fd9d9357166a3076a90fd8957b816b3a516b79dc76d84e066daf984f83f", + "Unknown status": "15eebb6f74cc8a5a2a3eb6897533ded3d7c3e52b32cf617087a4793fef134ba0", "Unknown teammate": "491ea2ec8a112ef7fe0bc1368d78168f5a9208e5f9ca8587f8dd5ce1c1c5ef1f", "unknown_outcome": "164557364fc9e34fcc5fa0329a356a7d7042c4797b82a38cf0954e95185ad11d", "unknown_provider_capability": "f7ac373b31c9f98e1b1017117bf429d8b16a92030073b5b5eb5c30de06cdec8b", @@ -7360,12 +7367,15 @@ "Vector dimensions": "9d95d3f89905adeb9db91dc8afa0187d3e97858b2ec6e5ce78c0312ce1e99254", "Vector retrieval": "48180b50b6fc222ac72ac2cb38ac7d89c9b1cccd51392b6eae57b46a8ec6cd44", "Verdict": "4a36f89dafb0a1014671aaf16e3a380a999a33836e4c3a31fe5594a7da034da5", + "Verification": "7140f4f19dec525960aabacb5741a125876c7d85f8cfa9c899cc8880651ddf61", "verified": "1c34f88707b55e6104c4eb20e71ffa3d33e414b71ef689a15fad0640d0ac58cb", "Verified": "4f7838402f37674e8ebedb6cf048c0aea66bacdb25607aa3eee4b53093d83f5c", "Verified by execution": "1c4dd61aa39a909b81e11acea882bee4dec628b47763cc4dccca63dbc5f885bb", "Verified catalog": "8f408d980918dbb3a719ced82bf7e18c80a41382f2e3d444528defc5fa24623a", "Verifies behavior, regression scenarios, and user-facing workflows.": "b0845a7154f2567bfbe99c9649c79df3019b654217110f0d1b94f477dd91c78d", + "Verify": "eea2745e2867a6772adc3e813211e6ce7b6ebd312d7e84a7c1b1aa2f8c75fd4b", "Verify before use": "687f00a3911b398fd3e9df5675ecd82fba1fd114e17e2f868f4b04914679db33", + "Verify current changes": "547006b60c4136a531a18526bb7822b118268902f4f457bff86ab03e2a5e7e3f", "Verify the key, account access, balance, and model permission for this provider.": "5ba03b132333df8c1d7b130335bfa5a4034517c93f2a8725019d0d0eec7eb401", "Verifying": "a7d4a9f301edaa61ef561aaba1847d2729a900ea00bbf358953f99d99d913666", "Verifying integration candidate": "05a26deacc8035b95bfce5888134aaa287046d2727ef374e1ae39b07a59daadc", @@ -8790,9 +8800,11 @@ "cancelling": "S'està cancel·lant", "Cancelling": "S'està cancel·lant", "Candidate approved for draft": "Candidat aprovat per esborrany", + "Candidate changed since verification": "El candidat ha canviat des de la verificació", "Candidate cluster is not bound to a channel.": "El clúster de candidats no està vinculat a un canal.", "Candidate Clusters": "Clústers de candidats", "Candidate commit: {commit}": "Compromís de candidats: {commit}", + "Candidate comparison unavailable": "La comparació de candidats no està disponible", "Candidate details": "Dades del candidat", "Candidate generation": "Generació de candidats", "Candidate generation and recording": "Generació i gravació de candidats", @@ -8966,6 +8978,7 @@ "Check member status": "Comproveu l'estat del membre", "Check member status to load readiness.": "Comproveu l'estat del membre per carregar la preparació.", "Check needed": "Cal comprovar", + "Check output": "Comproveu la sortida", "Check passed": "Control aprovat", "Check preset": "Comproveu el preajust", "Check provider": "Comproveu el proveïdor", @@ -12354,6 +12367,7 @@ "Participant label": "Etiqueta de participant", "Participants": "Participants", "Pass": "Passar", + "Passed": "Aprovat", "Password": "Contrasenya", "Paste a Ling memory Markdown export": "Enganxeu una exportació de Markdown de memòria Ling", "Paste an API key in Model Workbench, then Save.": "Enganxeu una clau API a Model Workbench i després Desa.", @@ -12959,6 +12973,7 @@ "Refresh the library to load Ling built-in skills.": "Actualitzeu la biblioteca per carregar Ling habilitats integrades.", "Refresh to load member readiness.": "Actualitza per carregar la preparació dels membres.", "Refresh to load the selected channel's workflow and credential state.": "Actualitza per carregar el flux de treball i l'estat de credencials del canal seleccionat.", + "Refresh verification": "Actualitza la verificació", "Refresh work summary": "Refresh work summary", "Refresh workflow templates": "Refresh workflow templates", "Refresh workspace": "Actualitza l'espai de treball", @@ -14186,6 +14201,7 @@ "Stop scheduler": "Atura el programador", "Stop the current reply or queue new guidance.": "Atura la resposta actual o posa en cua una guia nova.", "Stop using": "Deixa d'utilitzar", + "Stop verification": "Atura la verificació", "Stopped": "Parat", "Stopped {title}": "Aturat {title}", "Stopped at {step}: {status}.": "Aturada a {step}: {status}.", @@ -14895,6 +14911,7 @@ "Unknown provider": "Proveïdor desconegut", "Unknown size": "Mida desconeguda", "Unknown source": "Font desconeguda", + "Unknown status": "Estat desconegut", "Unknown teammate": "Company desconegut", "unknown_outcome": "Resultat desconegut", "unknown_provider_capability": "Capacitat del proveïdor desconeguda", @@ -15069,12 +15086,15 @@ "Vector dimensions": "Dimensions vectorials", "Vector retrieval": "Recuperació de vectors", "Verdict": "Veredicte", + "Verification": "Verificació", "verified": "verificat", "Verified": "Verificat", "Verified by execution": "Verificat per execució", "Verified catalog": "Catàleg verificat", "Verifies behavior, regression scenarios, and user-facing workflows.": "Verifica el comportament, els escenaris de regressió i els fluxos de treball orientats a l'usuari.", + "Verify": "Verificar", "Verify before use": "Comproveu abans d'utilitzar", + "Verify current changes": "Comproveu els canvis actuals", "Verify the key, account access, balance, and model permission for this provider.": "Verifiqueu la clau, l'accés al compte, el saldo i el permís de model d'aquest proveïdor.", "Verifying": "S'està verificant", "Verifying integration candidate": "Verificació del candidat a la integració", diff --git a/packages/localization/catalogs/cs-CZ.json b/packages/localization/catalogs/cs-CZ.json index 160534d0f..67d2aa4c6 100644 --- a/packages/localization/catalogs/cs-CZ.json +++ b/packages/localization/catalogs/cs-CZ.json @@ -1,6 +1,6 @@ { "locale": "cs-CZ", - "sourceRevision": "72f77c6fb25583bb1468e040086563074b7830e025f2fc657144dc0e4aad37c1", + "sourceRevision": "214db76d79f1a5c0fd915c110a2ead6dbb978b58398846e982a0c1ff0cb53108", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -1081,9 +1081,11 @@ "cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Candidate approved for draft": "59a57b9b459b3215e76b651f73f6521bc1bd71fa66bb52e046368a559db6632b", + "Candidate changed since verification": "a2808e03661077a04403dab2204b7ce8d78310c296600bd03c5766a754f216a6", "Candidate cluster is not bound to a channel.": "6066a4e8725d065a7c2b8d2c8974a60c41c0a94124deeabd972f620ddd815786", "Candidate Clusters": "b617f8ce5325fa8984c324816b08d3a26c05dac3c3276bcc4f4ab7196222dbe4", "Candidate commit: {commit}": "09bfd331d31184edc3eb1f8eab93bb1f6bc0cb640c0d1e1b53178e9eca4babbd", + "Candidate comparison unavailable": "f3bcf514a4febc720648d70be4d772e8ed9228ec5e7651edda3c229ddab6b627", "Candidate details": "17394d22b095121d9f0d77ff6d121c01383175fa17242bcd9f04bd61f182b5c9", "Candidate generation": "9d360a71a5d82995775df6401ac1d1f7257a68ad462bab70abb494e14239d3d3", "Candidate generation and recording": "d3af53b1912f971078c187ce9260949e68e49f0c2ea954c216a06fe2baa2acc9", @@ -1257,6 +1259,7 @@ "Check member status": "ff155af014d0b6e94cbf2fca3b01cf8d5725732f178eee985083478adb4a62f5", "Check member status to load readiness.": "6f7f338e22e626b134643fbaec898cf8e8efd19b85eeb6193b4ca0d5d63c4528", "Check needed": "561a32f0c83e5a4fe8d77d891bd4b954d514ea021b4a18e68a3607f5d8747841", + "Check output": "250d2e9675d6d399c668a5e496d0caf2913e14b5ea21036fa8ee2dad94ad4d46", "Check passed": "2f6697a2389d7a3c059e7c0435569b37c78275d752bdf9b9e1c5d94f3d0eeeaf", "Check preset": "85e9cc57cbd02e87de7d5213d2627e64f0ae2e3211dd62045b7c2e3dc2bcd45c", "Check provider": "655b6b054c32b6850e6bc245f79b03cb2513ab227e96e7e4a6fb3269daf60119", @@ -4645,6 +4648,7 @@ "Participant label": "ac9acb52867f8141cbc1741f20bbd2766f819aa569c1191dcac3855ba53b59fc", "Participants": "0e27279b3302db0448a2acf5d923ffb09b75270c2e957bfb93f54815d2146aa4", "Pass": "ebdf8cc00bc4d9ceee633c56c63b49955769a92ca060825c9b08e4af61326e2b", + "Passed": "436fe71bb9561f0596161c4d50c7b23327b4189acaf63dc89f4f9205b67a7528", "Password": "e7cf3ef4f17c3999a94f2c6f612e8a888e5b1026878e4e19398b23bd38ec221a", "Paste a Ling memory Markdown export": "3efbebfd30ffeb6bfba59beb91961665a830db73fea934f7fed5394666a7c901", "Paste an API key in Model Workbench, then Save.": "07d4307d7f787295b9cfe97f60114a53060c0f9319a38a5c935fb3f76aceb2cc", @@ -5250,6 +5254,7 @@ "Refresh the library to load Ling built-in skills.": "c1c70580c6d18d99477517ed4d8e7b1b2d7ce26b1c7e932cb3260eeef43008c2", "Refresh to load member readiness.": "b7018c54ba477bad3f292cefce02f582783c67f459e84182d3fe06e53cfe3236", "Refresh to load the selected channel's workflow and credential state.": "290fe59158244da3b9914566b3df31b8f15d3a66fd3ffd9661da282028522f59", + "Refresh verification": "c444d5a4e36d9ec9e448c2eb179a6ef45d3594cd02c264f699a83a04bb51749f", "Refresh work summary": "ccd4dcacf0460eb1ca7749ead055fbffcd395e4f8a0c0f9292d390394b80a78e", "Refresh workflow templates": "1d5c58c6bb31f588e7992a8fe14fc3bb3ad2f52396c0302dd980d4dfdaf1acaa", "Refresh workspace": "306960dcad4c285f46eb5bffbb815be8ebe98657bfed1a901e44b68c7c9f417d", @@ -6477,6 +6482,7 @@ "Stop scheduler": "da6153337089386cf80b918ffbd2f2a43a8876a76da3ca671200898a73695940", "Stop the current reply or queue new guidance.": "ef65bd0c8e0943cd194a61f0b0714870faf9081eeebdccb2967aabf880477457", "Stop using": "ef22ba68c9e447df816d52baba2d198b9d230a7b92291b0e683c38dd39fd94d7", + "Stop verification": "4d90de345e4b79787a78322b9da1ef2fd9c70098caae9af1208c37adc972ec73", "Stopped": "1a4f630ac1b69fd00728fa8a672ded71d0eae8516cb23e78f94529113399b79b", "Stopped {title}": "a2bb8d21f8b1fc6f69326965aabb4596bb14403cfc02644e3da7c3d99bda4a7f", "Stopped at {step}: {status}.": "a911b75c20e85b6fc45f8d484a34b9f7b844947fd5de54f289305ebd339951b7", @@ -7186,6 +7192,7 @@ "Unknown provider": "59080be0f444945a37e28b48166f9ddeb710cda7f656bb3827a684fffbcf4524", "Unknown size": "fffbd4ecf2ad3884acfc08d4fe61477737434672c0307bb3c08d2e876c0fd704", "Unknown source": "cbc86fd9d9357166a3076a90fd8957b816b3a516b79dc76d84e066daf984f83f", + "Unknown status": "15eebb6f74cc8a5a2a3eb6897533ded3d7c3e52b32cf617087a4793fef134ba0", "Unknown teammate": "491ea2ec8a112ef7fe0bc1368d78168f5a9208e5f9ca8587f8dd5ce1c1c5ef1f", "unknown_outcome": "164557364fc9e34fcc5fa0329a356a7d7042c4797b82a38cf0954e95185ad11d", "unknown_provider_capability": "f7ac373b31c9f98e1b1017117bf429d8b16a92030073b5b5eb5c30de06cdec8b", @@ -7360,12 +7367,15 @@ "Vector dimensions": "9d95d3f89905adeb9db91dc8afa0187d3e97858b2ec6e5ce78c0312ce1e99254", "Vector retrieval": "48180b50b6fc222ac72ac2cb38ac7d89c9b1cccd51392b6eae57b46a8ec6cd44", "Verdict": "4a36f89dafb0a1014671aaf16e3a380a999a33836e4c3a31fe5594a7da034da5", + "Verification": "7140f4f19dec525960aabacb5741a125876c7d85f8cfa9c899cc8880651ddf61", "verified": "1c34f88707b55e6104c4eb20e71ffa3d33e414b71ef689a15fad0640d0ac58cb", "Verified": "4f7838402f37674e8ebedb6cf048c0aea66bacdb25607aa3eee4b53093d83f5c", "Verified by execution": "1c4dd61aa39a909b81e11acea882bee4dec628b47763cc4dccca63dbc5f885bb", "Verified catalog": "8f408d980918dbb3a719ced82bf7e18c80a41382f2e3d444528defc5fa24623a", "Verifies behavior, regression scenarios, and user-facing workflows.": "b0845a7154f2567bfbe99c9649c79df3019b654217110f0d1b94f477dd91c78d", + "Verify": "eea2745e2867a6772adc3e813211e6ce7b6ebd312d7e84a7c1b1aa2f8c75fd4b", "Verify before use": "687f00a3911b398fd3e9df5675ecd82fba1fd114e17e2f868f4b04914679db33", + "Verify current changes": "547006b60c4136a531a18526bb7822b118268902f4f457bff86ab03e2a5e7e3f", "Verify the key, account access, balance, and model permission for this provider.": "5ba03b132333df8c1d7b130335bfa5a4034517c93f2a8725019d0d0eec7eb401", "Verifying": "a7d4a9f301edaa61ef561aaba1847d2729a900ea00bbf358953f99d99d913666", "Verifying integration candidate": "05a26deacc8035b95bfce5888134aaa287046d2727ef374e1ae39b07a59daadc", @@ -8790,9 +8800,11 @@ "cancelling": "Probíhá zrušení", "Cancelling": "Probíhá zrušení", "Candidate approved for draft": "Kandidát schválen pro návrh", + "Candidate changed since verification": "Kandidát se od ověření změnil", "Candidate cluster is not bound to a channel.": "Kandidátský klastr není vázán na kanál.", "Candidate Clusters": "Kandidátské klastry", "Candidate commit: {commit}": "Závazek kandidáta: {commit}", + "Candidate comparison unavailable": "Srovnání kandidátů není k dispozici", "Candidate details": "Podrobnosti o kandidátovi", "Candidate generation": "Generování kandidátů", "Candidate generation and recording": "Generování a nahrávání kandidátů", @@ -8966,6 +8978,7 @@ "Check member status": "Zkontrolujte stav člena", "Check member status to load readiness.": "Chcete-li načíst připravenost, zkontrolujte stav člena.", "Check needed": "Kontrola nutná", + "Check output": "Zkontrolujte výstup", "Check passed": "Kontrola prošla", "Check preset": "Zkontrolujte předvolbu", "Check provider": "Zkontrolujte poskytovatele", @@ -12354,6 +12367,7 @@ "Participant label": "Účastnický štítek", "Participants": "Účastníci", "Pass": "Přihrávka", + "Passed": "Prošel", "Password": "Heslo", "Paste a Ling memory Markdown export": "Vložte export Ling paměti Markdown", "Paste an API key in Model Workbench, then Save.": "Vložte klíč API do Model Workbench a poté Uložit.", @@ -12959,6 +12973,7 @@ "Refresh the library to load Ling built-in skills.": "Obnovte knihovnu a načtěte Ling vestavěných dovedností.", "Refresh to load member readiness.": "Obnovením načtete připravenost člena.", "Refresh to load the selected channel's workflow and credential state.": "Obnovit pro načtení pracovního postupu a stavu pověření vybraného kanálu.", + "Refresh verification": "Obnovit ověření", "Refresh work summary": "Refresh work summary", "Refresh workflow templates": "Refresh workflow templates", "Refresh workspace": "Obnovit pracovní prostor", @@ -14186,6 +14201,7 @@ "Stop scheduler": "Zastavit plánovač", "Stop the current reply or queue new guidance.": "Zastavte aktuální odpověď nebo zařaďte do fronty nové pokyny.", "Stop using": "Přestaňte používat", + "Stop verification": "Zastavit ověřování", "Stopped": "Zastaveno", "Stopped {title}": "Zastaveno {title}", "Stopped at {step}: {status}.": "Zastaveno na {step}: {status}.", @@ -14895,6 +14911,7 @@ "Unknown provider": "Neznámý poskytovatel", "Unknown size": "Neznámá velikost", "Unknown source": "Neznámý zdroj", + "Unknown status": "Neznámý stav", "Unknown teammate": "Neznámý spoluhráč", "unknown_outcome": "Výsledek neznámý", "unknown_provider_capability": "Neznámá schopnost poskytovatele", @@ -15069,12 +15086,15 @@ "Vector dimensions": "Vektorové rozměry", "Vector retrieval": "Vektorové vyhledávání", "Verdict": "Výrok", + "Verification": "Ověření", "verified": "ověřeno", "Verified": "Ověřeno", "Verified by execution": "Ověřeno provedením", "Verified catalog": "Ověřený katalog", "Verifies behavior, regression scenarios, and user-facing workflows.": "Ověřuje chování, regresní scénáře a pracovní postupy orientované na uživatele.", + "Verify": "Ověřte", "Verify before use": "Před použitím ověřte", + "Verify current changes": "Ověřte aktuální změny", "Verify the key, account access, balance, and model permission for this provider.": "Ověřte klíč, přístup k účtu, zůstatek a oprávnění k modelu pro tohoto poskytovatele.", "Verifying": "Ověřování", "Verifying integration candidate": "Ověření kandidáta na integraci", diff --git a/packages/localization/catalogs/da-DK.json b/packages/localization/catalogs/da-DK.json index c41fef50d..df8c11aa8 100644 --- a/packages/localization/catalogs/da-DK.json +++ b/packages/localization/catalogs/da-DK.json @@ -1,6 +1,6 @@ { "locale": "da-DK", - "sourceRevision": "72f77c6fb25583bb1468e040086563074b7830e025f2fc657144dc0e4aad37c1", + "sourceRevision": "214db76d79f1a5c0fd915c110a2ead6dbb978b58398846e982a0c1ff0cb53108", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -1081,9 +1081,11 @@ "cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Candidate approved for draft": "59a57b9b459b3215e76b651f73f6521bc1bd71fa66bb52e046368a559db6632b", + "Candidate changed since verification": "a2808e03661077a04403dab2204b7ce8d78310c296600bd03c5766a754f216a6", "Candidate cluster is not bound to a channel.": "6066a4e8725d065a7c2b8d2c8974a60c41c0a94124deeabd972f620ddd815786", "Candidate Clusters": "b617f8ce5325fa8984c324816b08d3a26c05dac3c3276bcc4f4ab7196222dbe4", "Candidate commit: {commit}": "09bfd331d31184edc3eb1f8eab93bb1f6bc0cb640c0d1e1b53178e9eca4babbd", + "Candidate comparison unavailable": "f3bcf514a4febc720648d70be4d772e8ed9228ec5e7651edda3c229ddab6b627", "Candidate details": "17394d22b095121d9f0d77ff6d121c01383175fa17242bcd9f04bd61f182b5c9", "Candidate generation": "9d360a71a5d82995775df6401ac1d1f7257a68ad462bab70abb494e14239d3d3", "Candidate generation and recording": "d3af53b1912f971078c187ce9260949e68e49f0c2ea954c216a06fe2baa2acc9", @@ -1257,6 +1259,7 @@ "Check member status": "ff155af014d0b6e94cbf2fca3b01cf8d5725732f178eee985083478adb4a62f5", "Check member status to load readiness.": "6f7f338e22e626b134643fbaec898cf8e8efd19b85eeb6193b4ca0d5d63c4528", "Check needed": "561a32f0c83e5a4fe8d77d891bd4b954d514ea021b4a18e68a3607f5d8747841", + "Check output": "250d2e9675d6d399c668a5e496d0caf2913e14b5ea21036fa8ee2dad94ad4d46", "Check passed": "2f6697a2389d7a3c059e7c0435569b37c78275d752bdf9b9e1c5d94f3d0eeeaf", "Check preset": "85e9cc57cbd02e87de7d5213d2627e64f0ae2e3211dd62045b7c2e3dc2bcd45c", "Check provider": "655b6b054c32b6850e6bc245f79b03cb2513ab227e96e7e4a6fb3269daf60119", @@ -4645,6 +4648,7 @@ "Participant label": "ac9acb52867f8141cbc1741f20bbd2766f819aa569c1191dcac3855ba53b59fc", "Participants": "0e27279b3302db0448a2acf5d923ffb09b75270c2e957bfb93f54815d2146aa4", "Pass": "ebdf8cc00bc4d9ceee633c56c63b49955769a92ca060825c9b08e4af61326e2b", + "Passed": "436fe71bb9561f0596161c4d50c7b23327b4189acaf63dc89f4f9205b67a7528", "Password": "e7cf3ef4f17c3999a94f2c6f612e8a888e5b1026878e4e19398b23bd38ec221a", "Paste a Ling memory Markdown export": "3efbebfd30ffeb6bfba59beb91961665a830db73fea934f7fed5394666a7c901", "Paste an API key in Model Workbench, then Save.": "07d4307d7f787295b9cfe97f60114a53060c0f9319a38a5c935fb3f76aceb2cc", @@ -5250,6 +5254,7 @@ "Refresh the library to load Ling built-in skills.": "c1c70580c6d18d99477517ed4d8e7b1b2d7ce26b1c7e932cb3260eeef43008c2", "Refresh to load member readiness.": "b7018c54ba477bad3f292cefce02f582783c67f459e84182d3fe06e53cfe3236", "Refresh to load the selected channel's workflow and credential state.": "290fe59158244da3b9914566b3df31b8f15d3a66fd3ffd9661da282028522f59", + "Refresh verification": "c444d5a4e36d9ec9e448c2eb179a6ef45d3594cd02c264f699a83a04bb51749f", "Refresh work summary": "ccd4dcacf0460eb1ca7749ead055fbffcd395e4f8a0c0f9292d390394b80a78e", "Refresh workflow templates": "1d5c58c6bb31f588e7992a8fe14fc3bb3ad2f52396c0302dd980d4dfdaf1acaa", "Refresh workspace": "306960dcad4c285f46eb5bffbb815be8ebe98657bfed1a901e44b68c7c9f417d", @@ -6477,6 +6482,7 @@ "Stop scheduler": "da6153337089386cf80b918ffbd2f2a43a8876a76da3ca671200898a73695940", "Stop the current reply or queue new guidance.": "ef65bd0c8e0943cd194a61f0b0714870faf9081eeebdccb2967aabf880477457", "Stop using": "ef22ba68c9e447df816d52baba2d198b9d230a7b92291b0e683c38dd39fd94d7", + "Stop verification": "4d90de345e4b79787a78322b9da1ef2fd9c70098caae9af1208c37adc972ec73", "Stopped": "1a4f630ac1b69fd00728fa8a672ded71d0eae8516cb23e78f94529113399b79b", "Stopped {title}": "a2bb8d21f8b1fc6f69326965aabb4596bb14403cfc02644e3da7c3d99bda4a7f", "Stopped at {step}: {status}.": "a911b75c20e85b6fc45f8d484a34b9f7b844947fd5de54f289305ebd339951b7", @@ -7186,6 +7192,7 @@ "Unknown provider": "59080be0f444945a37e28b48166f9ddeb710cda7f656bb3827a684fffbcf4524", "Unknown size": "fffbd4ecf2ad3884acfc08d4fe61477737434672c0307bb3c08d2e876c0fd704", "Unknown source": "cbc86fd9d9357166a3076a90fd8957b816b3a516b79dc76d84e066daf984f83f", + "Unknown status": "15eebb6f74cc8a5a2a3eb6897533ded3d7c3e52b32cf617087a4793fef134ba0", "Unknown teammate": "491ea2ec8a112ef7fe0bc1368d78168f5a9208e5f9ca8587f8dd5ce1c1c5ef1f", "unknown_outcome": "164557364fc9e34fcc5fa0329a356a7d7042c4797b82a38cf0954e95185ad11d", "unknown_provider_capability": "f7ac373b31c9f98e1b1017117bf429d8b16a92030073b5b5eb5c30de06cdec8b", @@ -7360,12 +7367,15 @@ "Vector dimensions": "9d95d3f89905adeb9db91dc8afa0187d3e97858b2ec6e5ce78c0312ce1e99254", "Vector retrieval": "48180b50b6fc222ac72ac2cb38ac7d89c9b1cccd51392b6eae57b46a8ec6cd44", "Verdict": "4a36f89dafb0a1014671aaf16e3a380a999a33836e4c3a31fe5594a7da034da5", + "Verification": "7140f4f19dec525960aabacb5741a125876c7d85f8cfa9c899cc8880651ddf61", "verified": "1c34f88707b55e6104c4eb20e71ffa3d33e414b71ef689a15fad0640d0ac58cb", "Verified": "4f7838402f37674e8ebedb6cf048c0aea66bacdb25607aa3eee4b53093d83f5c", "Verified by execution": "1c4dd61aa39a909b81e11acea882bee4dec628b47763cc4dccca63dbc5f885bb", "Verified catalog": "8f408d980918dbb3a719ced82bf7e18c80a41382f2e3d444528defc5fa24623a", "Verifies behavior, regression scenarios, and user-facing workflows.": "b0845a7154f2567bfbe99c9649c79df3019b654217110f0d1b94f477dd91c78d", + "Verify": "eea2745e2867a6772adc3e813211e6ce7b6ebd312d7e84a7c1b1aa2f8c75fd4b", "Verify before use": "687f00a3911b398fd3e9df5675ecd82fba1fd114e17e2f868f4b04914679db33", + "Verify current changes": "547006b60c4136a531a18526bb7822b118268902f4f457bff86ab03e2a5e7e3f", "Verify the key, account access, balance, and model permission for this provider.": "5ba03b132333df8c1d7b130335bfa5a4034517c93f2a8725019d0d0eec7eb401", "Verifying": "a7d4a9f301edaa61ef561aaba1847d2729a900ea00bbf358953f99d99d913666", "Verifying integration candidate": "05a26deacc8035b95bfce5888134aaa287046d2727ef374e1ae39b07a59daadc", @@ -8790,9 +8800,11 @@ "cancelling": "Annullerer", "Cancelling": "Annullerer", "Candidate approved for draft": "Kandidat godkendt til udkast", + "Candidate changed since verification": "Kandidat ændret siden verifikation", "Candidate cluster is not bound to a channel.": "Kandidatklyngen er ikke bundet til en kanal.", "Candidate Clusters": "Kandidatklynger", "Candidate commit: {commit}": "Kandidatforpligtelse: {commit}", + "Candidate comparison unavailable": "Kandidatsammenligning er ikke tilgængelig", "Candidate details": "Kandidatoplysninger", "Candidate generation": "Kandidatgenerering", "Candidate generation and recording": "Kandidatgenerering og optagelse", @@ -8966,6 +8978,7 @@ "Check member status": "Tjek medlemsstatus", "Check member status to load readiness.": "Tjek medlemsstatus for at indlæse parathed.", "Check needed": "Tjek nødvendig", + "Check output": "Tjek output", "Check passed": "Check bestået", "Check preset": "Tjek forudindstilling", "Check provider": "Tjek udbyder", @@ -12354,6 +12367,7 @@ "Participant label": "Deltagermærke", "Participants": "Deltagere", "Pass": "Passere", + "Passed": "Bestået", "Password": "Adgangskode", "Paste a Ling memory Markdown export": "Indsæt en Ling hukommelse Markdown eksport", "Paste an API key in Model Workbench, then Save.": "Indsæt en API-nøgle i Model Workbench, og derefter Gem.", @@ -12959,6 +12973,7 @@ "Refresh the library to load Ling built-in skills.": "Opdater biblioteket for at indlæse Ling indbyggede færdigheder.", "Refresh to load member readiness.": "Opdater for at indlæse medlemsparathed.", "Refresh to load the selected channel's workflow and credential state.": "Opdater for at indlæse den valgte kanals arbejdsgang og legitimationsstatus.", + "Refresh verification": "Opdater bekræftelse", "Refresh work summary": "Refresh work summary", "Refresh workflow templates": "Refresh workflow templates", "Refresh workspace": "Opdater arbejdsområdet", @@ -14186,6 +14201,7 @@ "Stop scheduler": "Stop skemalæggeren", "Stop the current reply or queue new guidance.": "Stop det aktuelle svar, eller sæt ny vejledning i kø.", "Stop using": "Stop med at bruge", + "Stop verification": "Stop verifikation", "Stopped": "Stoppet", "Stopped {title}": "Stoppet {title}", "Stopped at {step}: {status}.": "Stoppet ved {step}: {status}.", @@ -14895,6 +14911,7 @@ "Unknown provider": "Ukendt udbyder", "Unknown size": "Ukendt størrelse", "Unknown source": "Ukendt kilde", + "Unknown status": "Ukendt status", "Unknown teammate": "Ukendt holdkammerat", "unknown_outcome": "Udfald ukendt", "unknown_provider_capability": "Ukendt udbyderkapacitet", @@ -15069,12 +15086,15 @@ "Vector dimensions": "Vektor dimensioner", "Vector retrieval": "Vector hentning", "Verdict": "Dom", + "Verification": "Verifikation", "verified": "verificeret", "Verified": "Verificeret", "Verified by execution": "Verificeret ved udførelse", "Verified catalog": "Verificeret katalog", "Verifies behavior, regression scenarios, and user-facing workflows.": "Verificerer adfærd, regressionsscenarier og brugervendte arbejdsgange.", + "Verify": "Verificere", "Verify before use": "Bekræft før brug", + "Verify current changes": "Bekræft aktuelle ændringer", "Verify the key, account access, balance, and model permission for this provider.": "Bekræft nøglen, kontoadgangen, saldoen og modeltilladelsen for denne udbyder.", "Verifying": "Bekræfter", "Verifying integration candidate": "Bekræftelse af integrationskandidat", diff --git a/packages/localization/catalogs/de-DE.json b/packages/localization/catalogs/de-DE.json index 4b5759cb5..ecd63e01f 100644 --- a/packages/localization/catalogs/de-DE.json +++ b/packages/localization/catalogs/de-DE.json @@ -1,6 +1,6 @@ { "locale": "de-DE", - "sourceRevision": "72f77c6fb25583bb1468e040086563074b7830e025f2fc657144dc0e4aad37c1", + "sourceRevision": "214db76d79f1a5c0fd915c110a2ead6dbb978b58398846e982a0c1ff0cb53108", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -1081,9 +1081,11 @@ "cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Candidate approved for draft": "59a57b9b459b3215e76b651f73f6521bc1bd71fa66bb52e046368a559db6632b", + "Candidate changed since verification": "a2808e03661077a04403dab2204b7ce8d78310c296600bd03c5766a754f216a6", "Candidate cluster is not bound to a channel.": "6066a4e8725d065a7c2b8d2c8974a60c41c0a94124deeabd972f620ddd815786", "Candidate Clusters": "b617f8ce5325fa8984c324816b08d3a26c05dac3c3276bcc4f4ab7196222dbe4", "Candidate commit: {commit}": "09bfd331d31184edc3eb1f8eab93bb1f6bc0cb640c0d1e1b53178e9eca4babbd", + "Candidate comparison unavailable": "f3bcf514a4febc720648d70be4d772e8ed9228ec5e7651edda3c229ddab6b627", "Candidate details": "17394d22b095121d9f0d77ff6d121c01383175fa17242bcd9f04bd61f182b5c9", "Candidate generation": "9d360a71a5d82995775df6401ac1d1f7257a68ad462bab70abb494e14239d3d3", "Candidate generation and recording": "d3af53b1912f971078c187ce9260949e68e49f0c2ea954c216a06fe2baa2acc9", @@ -1257,6 +1259,7 @@ "Check member status": "ff155af014d0b6e94cbf2fca3b01cf8d5725732f178eee985083478adb4a62f5", "Check member status to load readiness.": "6f7f338e22e626b134643fbaec898cf8e8efd19b85eeb6193b4ca0d5d63c4528", "Check needed": "561a32f0c83e5a4fe8d77d891bd4b954d514ea021b4a18e68a3607f5d8747841", + "Check output": "250d2e9675d6d399c668a5e496d0caf2913e14b5ea21036fa8ee2dad94ad4d46", "Check passed": "2f6697a2389d7a3c059e7c0435569b37c78275d752bdf9b9e1c5d94f3d0eeeaf", "Check preset": "85e9cc57cbd02e87de7d5213d2627e64f0ae2e3211dd62045b7c2e3dc2bcd45c", "Check provider": "655b6b054c32b6850e6bc245f79b03cb2513ab227e96e7e4a6fb3269daf60119", @@ -4645,6 +4648,7 @@ "Participant label": "ac9acb52867f8141cbc1741f20bbd2766f819aa569c1191dcac3855ba53b59fc", "Participants": "0e27279b3302db0448a2acf5d923ffb09b75270c2e957bfb93f54815d2146aa4", "Pass": "ebdf8cc00bc4d9ceee633c56c63b49955769a92ca060825c9b08e4af61326e2b", + "Passed": "436fe71bb9561f0596161c4d50c7b23327b4189acaf63dc89f4f9205b67a7528", "Password": "e7cf3ef4f17c3999a94f2c6f612e8a888e5b1026878e4e19398b23bd38ec221a", "Paste a Ling memory Markdown export": "3efbebfd30ffeb6bfba59beb91961665a830db73fea934f7fed5394666a7c901", "Paste an API key in Model Workbench, then Save.": "07d4307d7f787295b9cfe97f60114a53060c0f9319a38a5c935fb3f76aceb2cc", @@ -5250,6 +5254,7 @@ "Refresh the library to load Ling built-in skills.": "c1c70580c6d18d99477517ed4d8e7b1b2d7ce26b1c7e932cb3260eeef43008c2", "Refresh to load member readiness.": "b7018c54ba477bad3f292cefce02f582783c67f459e84182d3fe06e53cfe3236", "Refresh to load the selected channel's workflow and credential state.": "290fe59158244da3b9914566b3df31b8f15d3a66fd3ffd9661da282028522f59", + "Refresh verification": "c444d5a4e36d9ec9e448c2eb179a6ef45d3594cd02c264f699a83a04bb51749f", "Refresh work summary": "ccd4dcacf0460eb1ca7749ead055fbffcd395e4f8a0c0f9292d390394b80a78e", "Refresh workflow templates": "1d5c58c6bb31f588e7992a8fe14fc3bb3ad2f52396c0302dd980d4dfdaf1acaa", "Refresh workspace": "306960dcad4c285f46eb5bffbb815be8ebe98657bfed1a901e44b68c7c9f417d", @@ -6477,6 +6482,7 @@ "Stop scheduler": "da6153337089386cf80b918ffbd2f2a43a8876a76da3ca671200898a73695940", "Stop the current reply or queue new guidance.": "ef65bd0c8e0943cd194a61f0b0714870faf9081eeebdccb2967aabf880477457", "Stop using": "ef22ba68c9e447df816d52baba2d198b9d230a7b92291b0e683c38dd39fd94d7", + "Stop verification": "4d90de345e4b79787a78322b9da1ef2fd9c70098caae9af1208c37adc972ec73", "Stopped": "1a4f630ac1b69fd00728fa8a672ded71d0eae8516cb23e78f94529113399b79b", "Stopped {title}": "a2bb8d21f8b1fc6f69326965aabb4596bb14403cfc02644e3da7c3d99bda4a7f", "Stopped at {step}: {status}.": "a911b75c20e85b6fc45f8d484a34b9f7b844947fd5de54f289305ebd339951b7", @@ -7186,6 +7192,7 @@ "Unknown provider": "59080be0f444945a37e28b48166f9ddeb710cda7f656bb3827a684fffbcf4524", "Unknown size": "fffbd4ecf2ad3884acfc08d4fe61477737434672c0307bb3c08d2e876c0fd704", "Unknown source": "cbc86fd9d9357166a3076a90fd8957b816b3a516b79dc76d84e066daf984f83f", + "Unknown status": "15eebb6f74cc8a5a2a3eb6897533ded3d7c3e52b32cf617087a4793fef134ba0", "Unknown teammate": "491ea2ec8a112ef7fe0bc1368d78168f5a9208e5f9ca8587f8dd5ce1c1c5ef1f", "unknown_outcome": "164557364fc9e34fcc5fa0329a356a7d7042c4797b82a38cf0954e95185ad11d", "unknown_provider_capability": "f7ac373b31c9f98e1b1017117bf429d8b16a92030073b5b5eb5c30de06cdec8b", @@ -7360,12 +7367,15 @@ "Vector dimensions": "9d95d3f89905adeb9db91dc8afa0187d3e97858b2ec6e5ce78c0312ce1e99254", "Vector retrieval": "48180b50b6fc222ac72ac2cb38ac7d89c9b1cccd51392b6eae57b46a8ec6cd44", "Verdict": "4a36f89dafb0a1014671aaf16e3a380a999a33836e4c3a31fe5594a7da034da5", + "Verification": "7140f4f19dec525960aabacb5741a125876c7d85f8cfa9c899cc8880651ddf61", "verified": "1c34f88707b55e6104c4eb20e71ffa3d33e414b71ef689a15fad0640d0ac58cb", "Verified": "4f7838402f37674e8ebedb6cf048c0aea66bacdb25607aa3eee4b53093d83f5c", "Verified by execution": "1c4dd61aa39a909b81e11acea882bee4dec628b47763cc4dccca63dbc5f885bb", "Verified catalog": "8f408d980918dbb3a719ced82bf7e18c80a41382f2e3d444528defc5fa24623a", "Verifies behavior, regression scenarios, and user-facing workflows.": "b0845a7154f2567bfbe99c9649c79df3019b654217110f0d1b94f477dd91c78d", + "Verify": "eea2745e2867a6772adc3e813211e6ce7b6ebd312d7e84a7c1b1aa2f8c75fd4b", "Verify before use": "687f00a3911b398fd3e9df5675ecd82fba1fd114e17e2f868f4b04914679db33", + "Verify current changes": "547006b60c4136a531a18526bb7822b118268902f4f457bff86ab03e2a5e7e3f", "Verify the key, account access, balance, and model permission for this provider.": "5ba03b132333df8c1d7b130335bfa5a4034517c93f2a8725019d0d0eec7eb401", "Verifying": "a7d4a9f301edaa61ef561aaba1847d2729a900ea00bbf358953f99d99d913666", "Verifying integration candidate": "05a26deacc8035b95bfce5888134aaa287046d2727ef374e1ae39b07a59daadc", @@ -8790,9 +8800,11 @@ "cancelling": "Stornieren", "Cancelling": "Stornieren", "Candidate approved for draft": "Der Kandidat wurde für den Entwurf zugelassen", + "Candidate changed since verification": "Der Kandidat hat sich seit der Überprüfung geändert", "Candidate cluster is not bound to a channel.": "Der Kandidatencluster ist nicht an einen Kanal gebunden.", "Candidate Clusters": "Kandidatencluster", "Candidate commit: {commit}": "Kandidaten-Commit: {commit}", + "Candidate comparison unavailable": "Kandidatenvergleich nicht verfügbar", "Candidate details": "Angaben zum Kandidaten", "Candidate generation": "Kandidatengeneration", "Candidate generation and recording": "Kandidatengenerierung und -aufnahme", @@ -8966,6 +8978,7 @@ "Check member status": "Überprüfen Sie den Mitgliedsstatus", "Check member status to load readiness.": "Überprüfen Sie den Mitgliedsstatus, um die Ladebereitschaft zu ermitteln.", "Check needed": "Scheck erforderlich", + "Check output": "Ausgabe überprüfen", "Check passed": "Scheck bestanden", "Check preset": "Voreinstellung prüfen", "Check provider": "Anbieter prüfen", @@ -12354,6 +12367,7 @@ "Participant label": "Teilnehmeretikett", "Participants": "Teilnehmer", "Pass": "Passieren", + "Passed": "Bestanden", "Password": "Passwort", "Paste a Ling memory Markdown export": "Fügen Sie einen Ling-Speicher-Markdown-Export ein", "Paste an API key in Model Workbench, then Save.": "Fügen Sie einen API-Schlüssel in Model Workbench ein und speichern Sie ihn.", @@ -12959,6 +12973,7 @@ "Refresh the library to load Ling built-in skills.": "Aktualisieren Sie die Bibliothek, um Ling integrierte Fähigkeiten zu laden.", "Refresh to load member readiness.": "Aktualisieren, um die Mitgliederbereitschaft zu laden.", "Refresh to load the selected channel's workflow and credential state.": "Aktualisieren, um den Workflow und den Anmeldeinformationsstatus des ausgewählten Kanals zu laden.", + "Refresh verification": "Verifizierung aktualisieren", "Refresh work summary": "Refresh work summary", "Refresh workflow templates": "Refresh workflow templates", "Refresh workspace": "Arbeitsbereich aktualisieren", @@ -14186,6 +14201,7 @@ "Stop scheduler": "Stoppen Sie den Planer", "Stop the current reply or queue new guidance.": "Stoppen Sie die aktuelle Antwort oder stellen Sie neue Anleitungen in die Warteschlange.", "Stop using": "Hören Sie auf zu verwenden", + "Stop verification": "Stoppen Sie die Verifizierung", "Stopped": "Angehalten", "Stopped {title}": "Gestoppt {title}", "Stopped at {step}: {status}.": "Angehalten bei {step}: {status}.", @@ -14895,6 +14911,7 @@ "Unknown provider": "Unbekannter Anbieter", "Unknown size": "Unbekannte Größe", "Unknown source": "Unbekannte Quelle", + "Unknown status": "Unbekannter Status", "Unknown teammate": "Unbekannter Teamkollege", "unknown_outcome": "Ergebnis unbekannt", "unknown_provider_capability": "Unbekannte Anbieterfunktion", @@ -15069,12 +15086,15 @@ "Vector dimensions": "Vektorabmessungen", "Vector retrieval": "Vektorabruf", "Verdict": "Urteil", + "Verification": "Überprüfung", "verified": "verifiziert", "Verified": "Verifiziert", "Verified by execution": "Durch Ausführung bestätigt", "Verified catalog": "Verifizierter Katalog", "Verifies behavior, regression scenarios, and user-facing workflows.": "Überprüft Verhalten, Regressionsszenarien und benutzerorientierte Arbeitsabläufe.", + "Verify": "Verifizieren", "Verify before use": "Vor Gebrauch überprüfen", + "Verify current changes": "Überprüfen Sie aktuelle Änderungen", "Verify the key, account access, balance, and model permission for this provider.": "Überprüfen Sie den Schlüssel, den Kontozugriff, den Kontostand und die Modellberechtigung für diesen Anbieter.", "Verifying": "Verifizieren", "Verifying integration candidate": "Überprüfung des Integrationskandidaten", diff --git a/packages/localization/catalogs/el-GR.json b/packages/localization/catalogs/el-GR.json index fc6b40f47..253e91e82 100644 --- a/packages/localization/catalogs/el-GR.json +++ b/packages/localization/catalogs/el-GR.json @@ -1,6 +1,6 @@ { "locale": "el-GR", - "sourceRevision": "72f77c6fb25583bb1468e040086563074b7830e025f2fc657144dc0e4aad37c1", + "sourceRevision": "214db76d79f1a5c0fd915c110a2ead6dbb978b58398846e982a0c1ff0cb53108", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -1081,9 +1081,11 @@ "cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Candidate approved for draft": "59a57b9b459b3215e76b651f73f6521bc1bd71fa66bb52e046368a559db6632b", + "Candidate changed since verification": "a2808e03661077a04403dab2204b7ce8d78310c296600bd03c5766a754f216a6", "Candidate cluster is not bound to a channel.": "6066a4e8725d065a7c2b8d2c8974a60c41c0a94124deeabd972f620ddd815786", "Candidate Clusters": "b617f8ce5325fa8984c324816b08d3a26c05dac3c3276bcc4f4ab7196222dbe4", "Candidate commit: {commit}": "09bfd331d31184edc3eb1f8eab93bb1f6bc0cb640c0d1e1b53178e9eca4babbd", + "Candidate comparison unavailable": "f3bcf514a4febc720648d70be4d772e8ed9228ec5e7651edda3c229ddab6b627", "Candidate details": "17394d22b095121d9f0d77ff6d121c01383175fa17242bcd9f04bd61f182b5c9", "Candidate generation": "9d360a71a5d82995775df6401ac1d1f7257a68ad462bab70abb494e14239d3d3", "Candidate generation and recording": "d3af53b1912f971078c187ce9260949e68e49f0c2ea954c216a06fe2baa2acc9", @@ -1257,6 +1259,7 @@ "Check member status": "ff155af014d0b6e94cbf2fca3b01cf8d5725732f178eee985083478adb4a62f5", "Check member status to load readiness.": "6f7f338e22e626b134643fbaec898cf8e8efd19b85eeb6193b4ca0d5d63c4528", "Check needed": "561a32f0c83e5a4fe8d77d891bd4b954d514ea021b4a18e68a3607f5d8747841", + "Check output": "250d2e9675d6d399c668a5e496d0caf2913e14b5ea21036fa8ee2dad94ad4d46", "Check passed": "2f6697a2389d7a3c059e7c0435569b37c78275d752bdf9b9e1c5d94f3d0eeeaf", "Check preset": "85e9cc57cbd02e87de7d5213d2627e64f0ae2e3211dd62045b7c2e3dc2bcd45c", "Check provider": "655b6b054c32b6850e6bc245f79b03cb2513ab227e96e7e4a6fb3269daf60119", @@ -4645,6 +4648,7 @@ "Participant label": "ac9acb52867f8141cbc1741f20bbd2766f819aa569c1191dcac3855ba53b59fc", "Participants": "0e27279b3302db0448a2acf5d923ffb09b75270c2e957bfb93f54815d2146aa4", "Pass": "ebdf8cc00bc4d9ceee633c56c63b49955769a92ca060825c9b08e4af61326e2b", + "Passed": "436fe71bb9561f0596161c4d50c7b23327b4189acaf63dc89f4f9205b67a7528", "Password": "e7cf3ef4f17c3999a94f2c6f612e8a888e5b1026878e4e19398b23bd38ec221a", "Paste a Ling memory Markdown export": "3efbebfd30ffeb6bfba59beb91961665a830db73fea934f7fed5394666a7c901", "Paste an API key in Model Workbench, then Save.": "07d4307d7f787295b9cfe97f60114a53060c0f9319a38a5c935fb3f76aceb2cc", @@ -5250,6 +5254,7 @@ "Refresh the library to load Ling built-in skills.": "c1c70580c6d18d99477517ed4d8e7b1b2d7ce26b1c7e932cb3260eeef43008c2", "Refresh to load member readiness.": "b7018c54ba477bad3f292cefce02f582783c67f459e84182d3fe06e53cfe3236", "Refresh to load the selected channel's workflow and credential state.": "290fe59158244da3b9914566b3df31b8f15d3a66fd3ffd9661da282028522f59", + "Refresh verification": "c444d5a4e36d9ec9e448c2eb179a6ef45d3594cd02c264f699a83a04bb51749f", "Refresh work summary": "ccd4dcacf0460eb1ca7749ead055fbffcd395e4f8a0c0f9292d390394b80a78e", "Refresh workflow templates": "1d5c58c6bb31f588e7992a8fe14fc3bb3ad2f52396c0302dd980d4dfdaf1acaa", "Refresh workspace": "306960dcad4c285f46eb5bffbb815be8ebe98657bfed1a901e44b68c7c9f417d", @@ -6477,6 +6482,7 @@ "Stop scheduler": "da6153337089386cf80b918ffbd2f2a43a8876a76da3ca671200898a73695940", "Stop the current reply or queue new guidance.": "ef65bd0c8e0943cd194a61f0b0714870faf9081eeebdccb2967aabf880477457", "Stop using": "ef22ba68c9e447df816d52baba2d198b9d230a7b92291b0e683c38dd39fd94d7", + "Stop verification": "4d90de345e4b79787a78322b9da1ef2fd9c70098caae9af1208c37adc972ec73", "Stopped": "1a4f630ac1b69fd00728fa8a672ded71d0eae8516cb23e78f94529113399b79b", "Stopped {title}": "a2bb8d21f8b1fc6f69326965aabb4596bb14403cfc02644e3da7c3d99bda4a7f", "Stopped at {step}: {status}.": "a911b75c20e85b6fc45f8d484a34b9f7b844947fd5de54f289305ebd339951b7", @@ -7186,6 +7192,7 @@ "Unknown provider": "59080be0f444945a37e28b48166f9ddeb710cda7f656bb3827a684fffbcf4524", "Unknown size": "fffbd4ecf2ad3884acfc08d4fe61477737434672c0307bb3c08d2e876c0fd704", "Unknown source": "cbc86fd9d9357166a3076a90fd8957b816b3a516b79dc76d84e066daf984f83f", + "Unknown status": "15eebb6f74cc8a5a2a3eb6897533ded3d7c3e52b32cf617087a4793fef134ba0", "Unknown teammate": "491ea2ec8a112ef7fe0bc1368d78168f5a9208e5f9ca8587f8dd5ce1c1c5ef1f", "unknown_outcome": "164557364fc9e34fcc5fa0329a356a7d7042c4797b82a38cf0954e95185ad11d", "unknown_provider_capability": "f7ac373b31c9f98e1b1017117bf429d8b16a92030073b5b5eb5c30de06cdec8b", @@ -7360,12 +7367,15 @@ "Vector dimensions": "9d95d3f89905adeb9db91dc8afa0187d3e97858b2ec6e5ce78c0312ce1e99254", "Vector retrieval": "48180b50b6fc222ac72ac2cb38ac7d89c9b1cccd51392b6eae57b46a8ec6cd44", "Verdict": "4a36f89dafb0a1014671aaf16e3a380a999a33836e4c3a31fe5594a7da034da5", + "Verification": "7140f4f19dec525960aabacb5741a125876c7d85f8cfa9c899cc8880651ddf61", "verified": "1c34f88707b55e6104c4eb20e71ffa3d33e414b71ef689a15fad0640d0ac58cb", "Verified": "4f7838402f37674e8ebedb6cf048c0aea66bacdb25607aa3eee4b53093d83f5c", "Verified by execution": "1c4dd61aa39a909b81e11acea882bee4dec628b47763cc4dccca63dbc5f885bb", "Verified catalog": "8f408d980918dbb3a719ced82bf7e18c80a41382f2e3d444528defc5fa24623a", "Verifies behavior, regression scenarios, and user-facing workflows.": "b0845a7154f2567bfbe99c9649c79df3019b654217110f0d1b94f477dd91c78d", + "Verify": "eea2745e2867a6772adc3e813211e6ce7b6ebd312d7e84a7c1b1aa2f8c75fd4b", "Verify before use": "687f00a3911b398fd3e9df5675ecd82fba1fd114e17e2f868f4b04914679db33", + "Verify current changes": "547006b60c4136a531a18526bb7822b118268902f4f457bff86ab03e2a5e7e3f", "Verify the key, account access, balance, and model permission for this provider.": "5ba03b132333df8c1d7b130335bfa5a4034517c93f2a8725019d0d0eec7eb401", "Verifying": "a7d4a9f301edaa61ef561aaba1847d2729a900ea00bbf358953f99d99d913666", "Verifying integration candidate": "05a26deacc8035b95bfce5888134aaa287046d2727ef374e1ae39b07a59daadc", @@ -8790,9 +8800,11 @@ "cancelling": "Ακύρωση", "Cancelling": "Ακύρωση", "Candidate approved for draft": "Εγκρίθηκε ο υποψήφιος για σχέδιο", + "Candidate changed since verification": "Ο υποψήφιος άλλαξε από την επαλήθευση", "Candidate cluster is not bound to a channel.": "Το σύμπλεγμα υποψηφίων δεν δεσμεύεται σε κανάλι.", "Candidate Clusters": "Συστάδες υποψηφίων", "Candidate commit: {commit}": "Δέσμευση υποψηφίου: {commit}", + "Candidate comparison unavailable": "Η σύγκριση υποψηφίων δεν είναι διαθέσιμη", "Candidate details": "Στοιχεία υποψηφίου", "Candidate generation": "Υποψήφια γενιά", "Candidate generation and recording": "Δημιουργία και ηχογράφηση υποψηφίων", @@ -8966,6 +8978,7 @@ "Check member status": "Ελέγξτε την κατάσταση μέλους", "Check member status to load readiness.": "Ελέγξτε την κατάσταση μέλους για ετοιμότητα φόρτωσης.", "Check needed": "Απαιτείται έλεγχος", + "Check output": "Ελέγξτε την έξοδο", "Check passed": "Ο έλεγχος πέρασε", "Check preset": "Ελέγξτε την προεπιλογή", "Check provider": "Ελέγξτε τον πάροχο", @@ -12354,6 +12367,7 @@ "Participant label": "Ετικέτα συμμετέχοντος", "Participants": "Συμμετέχοντες", "Pass": "Πέρασμα", + "Passed": "Πέρασε", "Password": "Σύνθημα", "Paste a Ling memory Markdown export": "Επικολλήστε μια Ling εξαγωγή Markdown μνήμης", "Paste an API key in Model Workbench, then Save.": "Επικολλήστε ένα κλειδί API στον πάγκο εργασίας μοντέλου και, στη συνέχεια, Αποθήκευση.", @@ -12959,6 +12973,7 @@ "Refresh the library to load Ling built-in skills.": "Ανανεώστε τη βιβλιοθήκη για να φορτώσετε Ling ενσωματωμένες δεξιότητες.", "Refresh to load member readiness.": "Ανανέωση για φόρτωση ετοιμότητας μέλους.", "Refresh to load the selected channel's workflow and credential state.": "Κάντε ανανέωση για να φορτώσετε τη ροή εργασίας και την κατάσταση διαπιστευτηρίων του επιλεγμένου καναλιού.", + "Refresh verification": "Ανανέωση επαλήθευσης", "Refresh work summary": "Refresh work summary", "Refresh workflow templates": "Refresh workflow templates", "Refresh workspace": "Ανανεώστε τον χώρο εργασίας", @@ -14186,6 +14201,7 @@ "Stop scheduler": "Διακοπή προγραμματιστή", "Stop the current reply or queue new guidance.": "Διακόψτε την τρέχουσα απάντηση ή βάλτε νέα καθοδήγηση στην ουρά.", "Stop using": "Σταματήστε τη χρήση", + "Stop verification": "Διακοπή επαλήθευσης", "Stopped": "Σταμάτησε", "Stopped {title}": "Σταμάτησε {title}", "Stopped at {step}: {status}.": "Σταμάτησε στο {step}: {status}.", @@ -14895,6 +14911,7 @@ "Unknown provider": "Άγνωστος πάροχος", "Unknown size": "Άγνωστο μέγεθος", "Unknown source": "Άγνωστη πηγή", + "Unknown status": "Άγνωστη κατάσταση", "Unknown teammate": "Άγνωστος συμπαίκτης", "unknown_outcome": "Το αποτέλεσμα άγνωστο", "unknown_provider_capability": "Άγνωστη δυνατότητα παρόχου", @@ -15069,12 +15086,15 @@ "Vector dimensions": "Διανυσματικές διαστάσεις", "Vector retrieval": "Ανάκτηση φορέα", "Verdict": "Ετυμηγορία", + "Verification": "Επαλήθευση", "verified": "επαληθεύτηκε", "Verified": "Επαληθεύτηκε", "Verified by execution": "Επαληθεύτηκε με εκτέλεση", "Verified catalog": "Επαληθευμένος κατάλογος", "Verifies behavior, regression scenarios, and user-facing workflows.": "Επαληθεύει τη συμπεριφορά, τα σενάρια παλινδρόμησης και τις ροές εργασίας που αντιμετωπίζουν οι χρήστες.", + "Verify": "Επαληθεύω", "Verify before use": "Επαληθεύστε πριν από τη χρήση", + "Verify current changes": "Επαληθεύστε τις τρέχουσες αλλαγές", "Verify the key, account access, balance, and model permission for this provider.": "Επαληθεύστε την άδεια κλειδιού, πρόσβασης λογαριασμού, υπολοίπου και μοντέλου για αυτόν τον πάροχο.", "Verifying": "Επαλήθευση", "Verifying integration candidate": "Επαλήθευση υποψηφίου ένταξης", diff --git a/packages/localization/catalogs/en-US.json b/packages/localization/catalogs/en-US.json index e52cfb628..6d43e5d50 100644 --- a/packages/localization/catalogs/en-US.json +++ b/packages/localization/catalogs/en-US.json @@ -1,6 +1,6 @@ { "locale": "en-US", - "sourceRevision": "72f77c6fb25583bb1468e040086563074b7830e025f2fc657144dc0e4aad37c1", + "sourceRevision": "214db76d79f1a5c0fd915c110a2ead6dbb978b58398846e982a0c1ff0cb53108", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -1081,9 +1081,11 @@ "cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Candidate approved for draft": "59a57b9b459b3215e76b651f73f6521bc1bd71fa66bb52e046368a559db6632b", + "Candidate changed since verification": "a2808e03661077a04403dab2204b7ce8d78310c296600bd03c5766a754f216a6", "Candidate cluster is not bound to a channel.": "6066a4e8725d065a7c2b8d2c8974a60c41c0a94124deeabd972f620ddd815786", "Candidate Clusters": "b617f8ce5325fa8984c324816b08d3a26c05dac3c3276bcc4f4ab7196222dbe4", "Candidate commit: {commit}": "09bfd331d31184edc3eb1f8eab93bb1f6bc0cb640c0d1e1b53178e9eca4babbd", + "Candidate comparison unavailable": "f3bcf514a4febc720648d70be4d772e8ed9228ec5e7651edda3c229ddab6b627", "Candidate details": "17394d22b095121d9f0d77ff6d121c01383175fa17242bcd9f04bd61f182b5c9", "Candidate generation": "9d360a71a5d82995775df6401ac1d1f7257a68ad462bab70abb494e14239d3d3", "Candidate generation and recording": "d3af53b1912f971078c187ce9260949e68e49f0c2ea954c216a06fe2baa2acc9", @@ -1257,6 +1259,7 @@ "Check member status": "ff155af014d0b6e94cbf2fca3b01cf8d5725732f178eee985083478adb4a62f5", "Check member status to load readiness.": "6f7f338e22e626b134643fbaec898cf8e8efd19b85eeb6193b4ca0d5d63c4528", "Check needed": "561a32f0c83e5a4fe8d77d891bd4b954d514ea021b4a18e68a3607f5d8747841", + "Check output": "250d2e9675d6d399c668a5e496d0caf2913e14b5ea21036fa8ee2dad94ad4d46", "Check passed": "2f6697a2389d7a3c059e7c0435569b37c78275d752bdf9b9e1c5d94f3d0eeeaf", "Check preset": "85e9cc57cbd02e87de7d5213d2627e64f0ae2e3211dd62045b7c2e3dc2bcd45c", "Check provider": "655b6b054c32b6850e6bc245f79b03cb2513ab227e96e7e4a6fb3269daf60119", @@ -4645,6 +4648,7 @@ "Participant label": "ac9acb52867f8141cbc1741f20bbd2766f819aa569c1191dcac3855ba53b59fc", "Participants": "0e27279b3302db0448a2acf5d923ffb09b75270c2e957bfb93f54815d2146aa4", "Pass": "ebdf8cc00bc4d9ceee633c56c63b49955769a92ca060825c9b08e4af61326e2b", + "Passed": "436fe71bb9561f0596161c4d50c7b23327b4189acaf63dc89f4f9205b67a7528", "Password": "e7cf3ef4f17c3999a94f2c6f612e8a888e5b1026878e4e19398b23bd38ec221a", "Paste a Ling memory Markdown export": "3efbebfd30ffeb6bfba59beb91961665a830db73fea934f7fed5394666a7c901", "Paste an API key in Model Workbench, then Save.": "07d4307d7f787295b9cfe97f60114a53060c0f9319a38a5c935fb3f76aceb2cc", @@ -5250,6 +5254,7 @@ "Refresh the library to load Ling built-in skills.": "c1c70580c6d18d99477517ed4d8e7b1b2d7ce26b1c7e932cb3260eeef43008c2", "Refresh to load member readiness.": "b7018c54ba477bad3f292cefce02f582783c67f459e84182d3fe06e53cfe3236", "Refresh to load the selected channel's workflow and credential state.": "290fe59158244da3b9914566b3df31b8f15d3a66fd3ffd9661da282028522f59", + "Refresh verification": "c444d5a4e36d9ec9e448c2eb179a6ef45d3594cd02c264f699a83a04bb51749f", "Refresh work summary": "ccd4dcacf0460eb1ca7749ead055fbffcd395e4f8a0c0f9292d390394b80a78e", "Refresh workflow templates": "1d5c58c6bb31f588e7992a8fe14fc3bb3ad2f52396c0302dd980d4dfdaf1acaa", "Refresh workspace": "306960dcad4c285f46eb5bffbb815be8ebe98657bfed1a901e44b68c7c9f417d", @@ -6477,6 +6482,7 @@ "Stop scheduler": "da6153337089386cf80b918ffbd2f2a43a8876a76da3ca671200898a73695940", "Stop the current reply or queue new guidance.": "ef65bd0c8e0943cd194a61f0b0714870faf9081eeebdccb2967aabf880477457", "Stop using": "ef22ba68c9e447df816d52baba2d198b9d230a7b92291b0e683c38dd39fd94d7", + "Stop verification": "4d90de345e4b79787a78322b9da1ef2fd9c70098caae9af1208c37adc972ec73", "Stopped": "1a4f630ac1b69fd00728fa8a672ded71d0eae8516cb23e78f94529113399b79b", "Stopped {title}": "a2bb8d21f8b1fc6f69326965aabb4596bb14403cfc02644e3da7c3d99bda4a7f", "Stopped at {step}: {status}.": "a911b75c20e85b6fc45f8d484a34b9f7b844947fd5de54f289305ebd339951b7", @@ -7186,6 +7192,7 @@ "Unknown provider": "59080be0f444945a37e28b48166f9ddeb710cda7f656bb3827a684fffbcf4524", "Unknown size": "fffbd4ecf2ad3884acfc08d4fe61477737434672c0307bb3c08d2e876c0fd704", "Unknown source": "cbc86fd9d9357166a3076a90fd8957b816b3a516b79dc76d84e066daf984f83f", + "Unknown status": "15eebb6f74cc8a5a2a3eb6897533ded3d7c3e52b32cf617087a4793fef134ba0", "Unknown teammate": "491ea2ec8a112ef7fe0bc1368d78168f5a9208e5f9ca8587f8dd5ce1c1c5ef1f", "unknown_outcome": "164557364fc9e34fcc5fa0329a356a7d7042c4797b82a38cf0954e95185ad11d", "unknown_provider_capability": "f7ac373b31c9f98e1b1017117bf429d8b16a92030073b5b5eb5c30de06cdec8b", @@ -7360,12 +7367,15 @@ "Vector dimensions": "9d95d3f89905adeb9db91dc8afa0187d3e97858b2ec6e5ce78c0312ce1e99254", "Vector retrieval": "48180b50b6fc222ac72ac2cb38ac7d89c9b1cccd51392b6eae57b46a8ec6cd44", "Verdict": "4a36f89dafb0a1014671aaf16e3a380a999a33836e4c3a31fe5594a7da034da5", + "Verification": "7140f4f19dec525960aabacb5741a125876c7d85f8cfa9c899cc8880651ddf61", "verified": "1c34f88707b55e6104c4eb20e71ffa3d33e414b71ef689a15fad0640d0ac58cb", "Verified": "4f7838402f37674e8ebedb6cf048c0aea66bacdb25607aa3eee4b53093d83f5c", "Verified by execution": "1c4dd61aa39a909b81e11acea882bee4dec628b47763cc4dccca63dbc5f885bb", "Verified catalog": "8f408d980918dbb3a719ced82bf7e18c80a41382f2e3d444528defc5fa24623a", "Verifies behavior, regression scenarios, and user-facing workflows.": "b0845a7154f2567bfbe99c9649c79df3019b654217110f0d1b94f477dd91c78d", + "Verify": "eea2745e2867a6772adc3e813211e6ce7b6ebd312d7e84a7c1b1aa2f8c75fd4b", "Verify before use": "687f00a3911b398fd3e9df5675ecd82fba1fd114e17e2f868f4b04914679db33", + "Verify current changes": "547006b60c4136a531a18526bb7822b118268902f4f457bff86ab03e2a5e7e3f", "Verify the key, account access, balance, and model permission for this provider.": "5ba03b132333df8c1d7b130335bfa5a4034517c93f2a8725019d0d0eec7eb401", "Verifying": "a7d4a9f301edaa61ef561aaba1847d2729a900ea00bbf358953f99d99d913666", "Verifying integration candidate": "05a26deacc8035b95bfce5888134aaa287046d2727ef374e1ae39b07a59daadc", @@ -8790,9 +8800,11 @@ "cancelling": "Cancelling", "Cancelling": "Cancelling", "Candidate approved for draft": "Candidate approved for draft", + "Candidate changed since verification": "Candidate changed since verification", "Candidate cluster is not bound to a channel.": "Candidate cluster is not bound to a channel.", "Candidate Clusters": "Candidate Clusters", "Candidate commit: {commit}": "Candidate commit: {commit}", + "Candidate comparison unavailable": "Candidate comparison unavailable", "Candidate details": "Candidate details", "Candidate generation": "Candidate generation", "Candidate generation and recording": "Candidate generation and recording", @@ -8966,6 +8978,7 @@ "Check member status": "Check member status", "Check member status to load readiness.": "Check member status to load readiness.", "Check needed": "Check needed", + "Check output": "Check output", "Check passed": "Check passed", "Check preset": "Check preset", "Check provider": "Check provider", @@ -12354,6 +12367,7 @@ "Participant label": "Participant label", "Participants": "Participants", "Pass": "Pass", + "Passed": "Passed", "Password": "Password", "Paste a Ling memory Markdown export": "Paste a Ling memory Markdown export", "Paste an API key in Model Workbench, then Save.": "Paste an API key in Model Workbench, then Save.", @@ -12959,6 +12973,7 @@ "Refresh the library to load Ling built-in skills.": "Refresh the library to load Ling built-in skills.", "Refresh to load member readiness.": "Refresh to load member readiness.", "Refresh to load the selected channel's workflow and credential state.": "Refresh to load the selected channel's workflow and credential state.", + "Refresh verification": "Refresh verification", "Refresh work summary": "Refresh work summary", "Refresh workflow templates": "Refresh workflow templates", "Refresh workspace": "Refresh workspace", @@ -14186,6 +14201,7 @@ "Stop scheduler": "Stop scheduler", "Stop the current reply or queue new guidance.": "Stop the current reply or queue new guidance.", "Stop using": "Stop using", + "Stop verification": "Stop verification", "Stopped": "Stopped", "Stopped {title}": "Stopped {title}", "Stopped at {step}: {status}.": "Stopped at {step}: {status}.", @@ -14895,6 +14911,7 @@ "Unknown provider": "Unknown provider", "Unknown size": "Unknown size", "Unknown source": "Unknown source", + "Unknown status": "Unknown status", "Unknown teammate": "Unknown teammate", "unknown_outcome": "Outcome unknown", "unknown_provider_capability": "Unknown provider capability", @@ -15069,12 +15086,15 @@ "Vector dimensions": "Vector dimensions", "Vector retrieval": "Vector retrieval", "Verdict": "Verdict", + "Verification": "Verification", "verified": "verified", "Verified": "Verified", "Verified by execution": "Verified by execution", "Verified catalog": "Verified catalog", "Verifies behavior, regression scenarios, and user-facing workflows.": "Verifies behavior, regression scenarios, and user-facing workflows.", + "Verify": "Verify", "Verify before use": "Verify before use", + "Verify current changes": "Verify current changes", "Verify the key, account access, balance, and model permission for this provider.": "Verify the key, account access, balance, and model permission for this provider.", "Verifying": "Verifying", "Verifying integration candidate": "Verifying integration candidate", diff --git a/packages/localization/catalogs/es-419.json b/packages/localization/catalogs/es-419.json index 94c40d70b..747ff2753 100644 --- a/packages/localization/catalogs/es-419.json +++ b/packages/localization/catalogs/es-419.json @@ -1,6 +1,6 @@ { "locale": "es-419", - "sourceRevision": "72f77c6fb25583bb1468e040086563074b7830e025f2fc657144dc0e4aad37c1", + "sourceRevision": "214db76d79f1a5c0fd915c110a2ead6dbb978b58398846e982a0c1ff0cb53108", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -1081,9 +1081,11 @@ "cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Candidate approved for draft": "59a57b9b459b3215e76b651f73f6521bc1bd71fa66bb52e046368a559db6632b", + "Candidate changed since verification": "a2808e03661077a04403dab2204b7ce8d78310c296600bd03c5766a754f216a6", "Candidate cluster is not bound to a channel.": "6066a4e8725d065a7c2b8d2c8974a60c41c0a94124deeabd972f620ddd815786", "Candidate Clusters": "b617f8ce5325fa8984c324816b08d3a26c05dac3c3276bcc4f4ab7196222dbe4", "Candidate commit: {commit}": "09bfd331d31184edc3eb1f8eab93bb1f6bc0cb640c0d1e1b53178e9eca4babbd", + "Candidate comparison unavailable": "f3bcf514a4febc720648d70be4d772e8ed9228ec5e7651edda3c229ddab6b627", "Candidate details": "17394d22b095121d9f0d77ff6d121c01383175fa17242bcd9f04bd61f182b5c9", "Candidate generation": "9d360a71a5d82995775df6401ac1d1f7257a68ad462bab70abb494e14239d3d3", "Candidate generation and recording": "d3af53b1912f971078c187ce9260949e68e49f0c2ea954c216a06fe2baa2acc9", @@ -1257,6 +1259,7 @@ "Check member status": "ff155af014d0b6e94cbf2fca3b01cf8d5725732f178eee985083478adb4a62f5", "Check member status to load readiness.": "6f7f338e22e626b134643fbaec898cf8e8efd19b85eeb6193b4ca0d5d63c4528", "Check needed": "561a32f0c83e5a4fe8d77d891bd4b954d514ea021b4a18e68a3607f5d8747841", + "Check output": "250d2e9675d6d399c668a5e496d0caf2913e14b5ea21036fa8ee2dad94ad4d46", "Check passed": "2f6697a2389d7a3c059e7c0435569b37c78275d752bdf9b9e1c5d94f3d0eeeaf", "Check preset": "85e9cc57cbd02e87de7d5213d2627e64f0ae2e3211dd62045b7c2e3dc2bcd45c", "Check provider": "655b6b054c32b6850e6bc245f79b03cb2513ab227e96e7e4a6fb3269daf60119", @@ -4645,6 +4648,7 @@ "Participant label": "ac9acb52867f8141cbc1741f20bbd2766f819aa569c1191dcac3855ba53b59fc", "Participants": "0e27279b3302db0448a2acf5d923ffb09b75270c2e957bfb93f54815d2146aa4", "Pass": "ebdf8cc00bc4d9ceee633c56c63b49955769a92ca060825c9b08e4af61326e2b", + "Passed": "436fe71bb9561f0596161c4d50c7b23327b4189acaf63dc89f4f9205b67a7528", "Password": "e7cf3ef4f17c3999a94f2c6f612e8a888e5b1026878e4e19398b23bd38ec221a", "Paste a Ling memory Markdown export": "3efbebfd30ffeb6bfba59beb91961665a830db73fea934f7fed5394666a7c901", "Paste an API key in Model Workbench, then Save.": "07d4307d7f787295b9cfe97f60114a53060c0f9319a38a5c935fb3f76aceb2cc", @@ -5250,6 +5254,7 @@ "Refresh the library to load Ling built-in skills.": "c1c70580c6d18d99477517ed4d8e7b1b2d7ce26b1c7e932cb3260eeef43008c2", "Refresh to load member readiness.": "b7018c54ba477bad3f292cefce02f582783c67f459e84182d3fe06e53cfe3236", "Refresh to load the selected channel's workflow and credential state.": "290fe59158244da3b9914566b3df31b8f15d3a66fd3ffd9661da282028522f59", + "Refresh verification": "c444d5a4e36d9ec9e448c2eb179a6ef45d3594cd02c264f699a83a04bb51749f", "Refresh work summary": "ccd4dcacf0460eb1ca7749ead055fbffcd395e4f8a0c0f9292d390394b80a78e", "Refresh workflow templates": "1d5c58c6bb31f588e7992a8fe14fc3bb3ad2f52396c0302dd980d4dfdaf1acaa", "Refresh workspace": "306960dcad4c285f46eb5bffbb815be8ebe98657bfed1a901e44b68c7c9f417d", @@ -6477,6 +6482,7 @@ "Stop scheduler": "da6153337089386cf80b918ffbd2f2a43a8876a76da3ca671200898a73695940", "Stop the current reply or queue new guidance.": "ef65bd0c8e0943cd194a61f0b0714870faf9081eeebdccb2967aabf880477457", "Stop using": "ef22ba68c9e447df816d52baba2d198b9d230a7b92291b0e683c38dd39fd94d7", + "Stop verification": "4d90de345e4b79787a78322b9da1ef2fd9c70098caae9af1208c37adc972ec73", "Stopped": "1a4f630ac1b69fd00728fa8a672ded71d0eae8516cb23e78f94529113399b79b", "Stopped {title}": "a2bb8d21f8b1fc6f69326965aabb4596bb14403cfc02644e3da7c3d99bda4a7f", "Stopped at {step}: {status}.": "a911b75c20e85b6fc45f8d484a34b9f7b844947fd5de54f289305ebd339951b7", @@ -7186,6 +7192,7 @@ "Unknown provider": "59080be0f444945a37e28b48166f9ddeb710cda7f656bb3827a684fffbcf4524", "Unknown size": "fffbd4ecf2ad3884acfc08d4fe61477737434672c0307bb3c08d2e876c0fd704", "Unknown source": "cbc86fd9d9357166a3076a90fd8957b816b3a516b79dc76d84e066daf984f83f", + "Unknown status": "15eebb6f74cc8a5a2a3eb6897533ded3d7c3e52b32cf617087a4793fef134ba0", "Unknown teammate": "491ea2ec8a112ef7fe0bc1368d78168f5a9208e5f9ca8587f8dd5ce1c1c5ef1f", "unknown_outcome": "164557364fc9e34fcc5fa0329a356a7d7042c4797b82a38cf0954e95185ad11d", "unknown_provider_capability": "f7ac373b31c9f98e1b1017117bf429d8b16a92030073b5b5eb5c30de06cdec8b", @@ -7360,12 +7367,15 @@ "Vector dimensions": "9d95d3f89905adeb9db91dc8afa0187d3e97858b2ec6e5ce78c0312ce1e99254", "Vector retrieval": "48180b50b6fc222ac72ac2cb38ac7d89c9b1cccd51392b6eae57b46a8ec6cd44", "Verdict": "4a36f89dafb0a1014671aaf16e3a380a999a33836e4c3a31fe5594a7da034da5", + "Verification": "7140f4f19dec525960aabacb5741a125876c7d85f8cfa9c899cc8880651ddf61", "verified": "1c34f88707b55e6104c4eb20e71ffa3d33e414b71ef689a15fad0640d0ac58cb", "Verified": "4f7838402f37674e8ebedb6cf048c0aea66bacdb25607aa3eee4b53093d83f5c", "Verified by execution": "1c4dd61aa39a909b81e11acea882bee4dec628b47763cc4dccca63dbc5f885bb", "Verified catalog": "8f408d980918dbb3a719ced82bf7e18c80a41382f2e3d444528defc5fa24623a", "Verifies behavior, regression scenarios, and user-facing workflows.": "b0845a7154f2567bfbe99c9649c79df3019b654217110f0d1b94f477dd91c78d", + "Verify": "eea2745e2867a6772adc3e813211e6ce7b6ebd312d7e84a7c1b1aa2f8c75fd4b", "Verify before use": "687f00a3911b398fd3e9df5675ecd82fba1fd114e17e2f868f4b04914679db33", + "Verify current changes": "547006b60c4136a531a18526bb7822b118268902f4f457bff86ab03e2a5e7e3f", "Verify the key, account access, balance, and model permission for this provider.": "5ba03b132333df8c1d7b130335bfa5a4034517c93f2a8725019d0d0eec7eb401", "Verifying": "a7d4a9f301edaa61ef561aaba1847d2729a900ea00bbf358953f99d99d913666", "Verifying integration candidate": "05a26deacc8035b95bfce5888134aaa287046d2727ef374e1ae39b07a59daadc", @@ -8790,9 +8800,11 @@ "cancelling": "Cancelado", "Cancelling": "Cancelado", "Candidate approved for draft": "Candidato aprobado para borrador", + "Candidate changed since verification": "Candidato cambiado desde la verificación", "Candidate cluster is not bound to a channel.": "El grupo de candidatos no está vinculado a un canal.", "Candidate Clusters": "Clústeres de candidatos", "Candidate commit: {commit}": "Compromiso del candidato: {commit}", + "Candidate comparison unavailable": "Comparación de candidatos no disponible", "Candidate details": "Detalles del candidato", "Candidate generation": "generación de candidatos", "Candidate generation and recording": "Generación y grabación de candidatos.", @@ -8966,6 +8978,7 @@ "Check member status": "Verificar estado de miembro", "Check member status to load readiness.": "Verifique el estado del miembro para cargar la preparación.", "Check needed": "Cheque necesario", + "Check output": "Comprobar salida", "Check passed": "Cheque aprobado", "Check preset": "Verificar preajuste", "Check provider": "Consultar proveedor", @@ -12354,6 +12367,7 @@ "Participant label": "Etiqueta de participante", "Participants": "Participantes", "Pass": "Aprobar", + "Passed": "Aprobado", "Password": "Contraseña", "Paste a Ling memory Markdown export": "Pegue una exportación de Markdown de memoria Ling", "Paste an API key in Model Workbench, then Save.": "Pegue una clave API en Model Workbench y luego guarde.", @@ -12959,6 +12973,7 @@ "Refresh the library to load Ling built-in skills.": "Actualice la biblioteca para cargar Ling habilidades integradas.", "Refresh to load member readiness.": "Actualice para cargar la preparación de los miembros.", "Refresh to load the selected channel's workflow and credential state.": "Actualice para cargar el flujo de trabajo y el estado de las credenciales del canal seleccionado.", + "Refresh verification": "Actualizar verificación", "Refresh work summary": "Refresh work summary", "Refresh workflow templates": "Refresh workflow templates", "Refresh workspace": "Actualizar espacio de trabajo", @@ -14186,6 +14201,7 @@ "Stop scheduler": "Detener programador", "Stop the current reply or queue new guidance.": "Detenga la respuesta actual o ponga en cola nuevas instrucciones.", "Stop using": "dejar de usar", + "Stop verification": "Detener la verificación", "Stopped": "Interrumpido", "Stopped {title}": "Detenido {title}", "Stopped at {step}: {status}.": "Se detuvo en {step}: {status}.", @@ -14895,6 +14911,7 @@ "Unknown provider": "Proveedor desconocido", "Unknown size": "Tamaño desconocido", "Unknown source": "Fuente desconocida", + "Unknown status": "Estado desconocido", "Unknown teammate": "Compañero desconocido", "unknown_outcome": "Resultado desconocido", "unknown_provider_capability": "Capacidad del proveedor desconocido", @@ -15069,12 +15086,15 @@ "Vector dimensions": "Dimensiones vectoriales", "Vector retrieval": "Recuperación de vectores", "Verdict": "Veredicto", + "Verification": "Verificación", "verified": "verificado", "Verified": "Verificado", "Verified by execution": "Verificado por ejecución", "Verified catalog": "Catálogo verificado", "Verifies behavior, regression scenarios, and user-facing workflows.": "Verifica el comportamiento, los escenarios de regresión y los flujos de trabajo de cara al usuario.", + "Verify": "Verificar", "Verify before use": "Verificar antes de usar", + "Verify current changes": "Verificar los cambios actuales", "Verify the key, account access, balance, and model permission for this provider.": "Verifique la clave, el acceso a la cuenta, el saldo y el permiso del modelo para este proveedor.", "Verifying": "Verificando", "Verifying integration candidate": "Verificando candidato de integración", diff --git a/packages/localization/catalogs/es-ES.json b/packages/localization/catalogs/es-ES.json index ee09372da..8ce188b2d 100644 --- a/packages/localization/catalogs/es-ES.json +++ b/packages/localization/catalogs/es-ES.json @@ -1,6 +1,6 @@ { "locale": "es-ES", - "sourceRevision": "72f77c6fb25583bb1468e040086563074b7830e025f2fc657144dc0e4aad37c1", + "sourceRevision": "214db76d79f1a5c0fd915c110a2ead6dbb978b58398846e982a0c1ff0cb53108", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -1081,9 +1081,11 @@ "cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Candidate approved for draft": "59a57b9b459b3215e76b651f73f6521bc1bd71fa66bb52e046368a559db6632b", + "Candidate changed since verification": "a2808e03661077a04403dab2204b7ce8d78310c296600bd03c5766a754f216a6", "Candidate cluster is not bound to a channel.": "6066a4e8725d065a7c2b8d2c8974a60c41c0a94124deeabd972f620ddd815786", "Candidate Clusters": "b617f8ce5325fa8984c324816b08d3a26c05dac3c3276bcc4f4ab7196222dbe4", "Candidate commit: {commit}": "09bfd331d31184edc3eb1f8eab93bb1f6bc0cb640c0d1e1b53178e9eca4babbd", + "Candidate comparison unavailable": "f3bcf514a4febc720648d70be4d772e8ed9228ec5e7651edda3c229ddab6b627", "Candidate details": "17394d22b095121d9f0d77ff6d121c01383175fa17242bcd9f04bd61f182b5c9", "Candidate generation": "9d360a71a5d82995775df6401ac1d1f7257a68ad462bab70abb494e14239d3d3", "Candidate generation and recording": "d3af53b1912f971078c187ce9260949e68e49f0c2ea954c216a06fe2baa2acc9", @@ -1257,6 +1259,7 @@ "Check member status": "ff155af014d0b6e94cbf2fca3b01cf8d5725732f178eee985083478adb4a62f5", "Check member status to load readiness.": "6f7f338e22e626b134643fbaec898cf8e8efd19b85eeb6193b4ca0d5d63c4528", "Check needed": "561a32f0c83e5a4fe8d77d891bd4b954d514ea021b4a18e68a3607f5d8747841", + "Check output": "250d2e9675d6d399c668a5e496d0caf2913e14b5ea21036fa8ee2dad94ad4d46", "Check passed": "2f6697a2389d7a3c059e7c0435569b37c78275d752bdf9b9e1c5d94f3d0eeeaf", "Check preset": "85e9cc57cbd02e87de7d5213d2627e64f0ae2e3211dd62045b7c2e3dc2bcd45c", "Check provider": "655b6b054c32b6850e6bc245f79b03cb2513ab227e96e7e4a6fb3269daf60119", @@ -4645,6 +4648,7 @@ "Participant label": "ac9acb52867f8141cbc1741f20bbd2766f819aa569c1191dcac3855ba53b59fc", "Participants": "0e27279b3302db0448a2acf5d923ffb09b75270c2e957bfb93f54815d2146aa4", "Pass": "ebdf8cc00bc4d9ceee633c56c63b49955769a92ca060825c9b08e4af61326e2b", + "Passed": "436fe71bb9561f0596161c4d50c7b23327b4189acaf63dc89f4f9205b67a7528", "Password": "e7cf3ef4f17c3999a94f2c6f612e8a888e5b1026878e4e19398b23bd38ec221a", "Paste a Ling memory Markdown export": "3efbebfd30ffeb6bfba59beb91961665a830db73fea934f7fed5394666a7c901", "Paste an API key in Model Workbench, then Save.": "07d4307d7f787295b9cfe97f60114a53060c0f9319a38a5c935fb3f76aceb2cc", @@ -5250,6 +5254,7 @@ "Refresh the library to load Ling built-in skills.": "c1c70580c6d18d99477517ed4d8e7b1b2d7ce26b1c7e932cb3260eeef43008c2", "Refresh to load member readiness.": "b7018c54ba477bad3f292cefce02f582783c67f459e84182d3fe06e53cfe3236", "Refresh to load the selected channel's workflow and credential state.": "290fe59158244da3b9914566b3df31b8f15d3a66fd3ffd9661da282028522f59", + "Refresh verification": "c444d5a4e36d9ec9e448c2eb179a6ef45d3594cd02c264f699a83a04bb51749f", "Refresh work summary": "ccd4dcacf0460eb1ca7749ead055fbffcd395e4f8a0c0f9292d390394b80a78e", "Refresh workflow templates": "1d5c58c6bb31f588e7992a8fe14fc3bb3ad2f52396c0302dd980d4dfdaf1acaa", "Refresh workspace": "306960dcad4c285f46eb5bffbb815be8ebe98657bfed1a901e44b68c7c9f417d", @@ -6477,6 +6482,7 @@ "Stop scheduler": "da6153337089386cf80b918ffbd2f2a43a8876a76da3ca671200898a73695940", "Stop the current reply or queue new guidance.": "ef65bd0c8e0943cd194a61f0b0714870faf9081eeebdccb2967aabf880477457", "Stop using": "ef22ba68c9e447df816d52baba2d198b9d230a7b92291b0e683c38dd39fd94d7", + "Stop verification": "4d90de345e4b79787a78322b9da1ef2fd9c70098caae9af1208c37adc972ec73", "Stopped": "1a4f630ac1b69fd00728fa8a672ded71d0eae8516cb23e78f94529113399b79b", "Stopped {title}": "a2bb8d21f8b1fc6f69326965aabb4596bb14403cfc02644e3da7c3d99bda4a7f", "Stopped at {step}: {status}.": "a911b75c20e85b6fc45f8d484a34b9f7b844947fd5de54f289305ebd339951b7", @@ -7186,6 +7192,7 @@ "Unknown provider": "59080be0f444945a37e28b48166f9ddeb710cda7f656bb3827a684fffbcf4524", "Unknown size": "fffbd4ecf2ad3884acfc08d4fe61477737434672c0307bb3c08d2e876c0fd704", "Unknown source": "cbc86fd9d9357166a3076a90fd8957b816b3a516b79dc76d84e066daf984f83f", + "Unknown status": "15eebb6f74cc8a5a2a3eb6897533ded3d7c3e52b32cf617087a4793fef134ba0", "Unknown teammate": "491ea2ec8a112ef7fe0bc1368d78168f5a9208e5f9ca8587f8dd5ce1c1c5ef1f", "unknown_outcome": "164557364fc9e34fcc5fa0329a356a7d7042c4797b82a38cf0954e95185ad11d", "unknown_provider_capability": "f7ac373b31c9f98e1b1017117bf429d8b16a92030073b5b5eb5c30de06cdec8b", @@ -7360,12 +7367,15 @@ "Vector dimensions": "9d95d3f89905adeb9db91dc8afa0187d3e97858b2ec6e5ce78c0312ce1e99254", "Vector retrieval": "48180b50b6fc222ac72ac2cb38ac7d89c9b1cccd51392b6eae57b46a8ec6cd44", "Verdict": "4a36f89dafb0a1014671aaf16e3a380a999a33836e4c3a31fe5594a7da034da5", + "Verification": "7140f4f19dec525960aabacb5741a125876c7d85f8cfa9c899cc8880651ddf61", "verified": "1c34f88707b55e6104c4eb20e71ffa3d33e414b71ef689a15fad0640d0ac58cb", "Verified": "4f7838402f37674e8ebedb6cf048c0aea66bacdb25607aa3eee4b53093d83f5c", "Verified by execution": "1c4dd61aa39a909b81e11acea882bee4dec628b47763cc4dccca63dbc5f885bb", "Verified catalog": "8f408d980918dbb3a719ced82bf7e18c80a41382f2e3d444528defc5fa24623a", "Verifies behavior, regression scenarios, and user-facing workflows.": "b0845a7154f2567bfbe99c9649c79df3019b654217110f0d1b94f477dd91c78d", + "Verify": "eea2745e2867a6772adc3e813211e6ce7b6ebd312d7e84a7c1b1aa2f8c75fd4b", "Verify before use": "687f00a3911b398fd3e9df5675ecd82fba1fd114e17e2f868f4b04914679db33", + "Verify current changes": "547006b60c4136a531a18526bb7822b118268902f4f457bff86ab03e2a5e7e3f", "Verify the key, account access, balance, and model permission for this provider.": "5ba03b132333df8c1d7b130335bfa5a4034517c93f2a8725019d0d0eec7eb401", "Verifying": "a7d4a9f301edaa61ef561aaba1847d2729a900ea00bbf358953f99d99d913666", "Verifying integration candidate": "05a26deacc8035b95bfce5888134aaa287046d2727ef374e1ae39b07a59daadc", @@ -8790,9 +8800,11 @@ "cancelling": "Cancelado", "Cancelling": "Cancelado", "Candidate approved for draft": "Candidato aprobado para borrador", + "Candidate changed since verification": "Candidato cambiado desde la verificación", "Candidate cluster is not bound to a channel.": "El grupo de candidatos no está vinculado a un canal.", "Candidate Clusters": "Clústeres de candidatos", "Candidate commit: {commit}": "Compromiso del candidato: {commit}", + "Candidate comparison unavailable": "Comparación de candidatos no disponible", "Candidate details": "Detalles del candidato", "Candidate generation": "generación de candidatos", "Candidate generation and recording": "Generación y grabación de candidatos.", @@ -8966,6 +8978,7 @@ "Check member status": "Verificar estado de miembro", "Check member status to load readiness.": "Verifique el estado del miembro para cargar la preparación.", "Check needed": "Cheque necesario", + "Check output": "Comprobar salida", "Check passed": "Cheque aprobado", "Check preset": "Verificar preajuste", "Check provider": "Consultar proveedor", @@ -12354,6 +12367,7 @@ "Participant label": "Etiqueta de participante", "Participants": "Participantes", "Pass": "Aprobar", + "Passed": "Aprobado", "Password": "Contraseña", "Paste a Ling memory Markdown export": "Pegue una exportación de Markdown de memoria Ling", "Paste an API key in Model Workbench, then Save.": "Pegue una clave API en Model Workbench y luego guarde.", @@ -12959,6 +12973,7 @@ "Refresh the library to load Ling built-in skills.": "Actualice la biblioteca para cargar Ling habilidades integradas.", "Refresh to load member readiness.": "Actualice para cargar la preparación de los miembros.", "Refresh to load the selected channel's workflow and credential state.": "Actualice para cargar el flujo de trabajo y el estado de las credenciales del canal seleccionado.", + "Refresh verification": "Actualizar verificación", "Refresh work summary": "Refresh work summary", "Refresh workflow templates": "Refresh workflow templates", "Refresh workspace": "Actualizar espacio de trabajo", @@ -14186,6 +14201,7 @@ "Stop scheduler": "Detener programador", "Stop the current reply or queue new guidance.": "Detenga la respuesta actual o ponga en cola nuevas instrucciones.", "Stop using": "dejar de usar", + "Stop verification": "Detener la verificación", "Stopped": "Interrumpido", "Stopped {title}": "Detenido {title}", "Stopped at {step}: {status}.": "Se detuvo en {step}: {status}.", @@ -14895,6 +14911,7 @@ "Unknown provider": "Proveedor desconocido", "Unknown size": "Tamaño desconocido", "Unknown source": "Fuente desconocida", + "Unknown status": "Estado desconocido", "Unknown teammate": "Compañero desconocido", "unknown_outcome": "Resultado desconocido", "unknown_provider_capability": "Capacidad del proveedor desconocido", @@ -15069,12 +15086,15 @@ "Vector dimensions": "Dimensiones vectoriales", "Vector retrieval": "Recuperación de vectores", "Verdict": "Veredicto", + "Verification": "Verificación", "verified": "verificado", "Verified": "Verificado", "Verified by execution": "Verificado por ejecución", "Verified catalog": "Catálogo verificado", "Verifies behavior, regression scenarios, and user-facing workflows.": "Verifica el comportamiento, los escenarios de regresión y los flujos de trabajo de cara al usuario.", + "Verify": "Verificar", "Verify before use": "Verificar antes de usar", + "Verify current changes": "Verificar los cambios actuales", "Verify the key, account access, balance, and model permission for this provider.": "Verifique la clave, el acceso a la cuenta, el saldo y el permiso del modelo para este proveedor.", "Verifying": "Verificando", "Verifying integration candidate": "Verificando candidato de integración", diff --git a/packages/localization/catalogs/et-EE.json b/packages/localization/catalogs/et-EE.json index 77382ee9c..e72698db3 100644 --- a/packages/localization/catalogs/et-EE.json +++ b/packages/localization/catalogs/et-EE.json @@ -1,6 +1,6 @@ { "locale": "et-EE", - "sourceRevision": "72f77c6fb25583bb1468e040086563074b7830e025f2fc657144dc0e4aad37c1", + "sourceRevision": "214db76d79f1a5c0fd915c110a2ead6dbb978b58398846e982a0c1ff0cb53108", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -1081,9 +1081,11 @@ "cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Candidate approved for draft": "59a57b9b459b3215e76b651f73f6521bc1bd71fa66bb52e046368a559db6632b", + "Candidate changed since verification": "a2808e03661077a04403dab2204b7ce8d78310c296600bd03c5766a754f216a6", "Candidate cluster is not bound to a channel.": "6066a4e8725d065a7c2b8d2c8974a60c41c0a94124deeabd972f620ddd815786", "Candidate Clusters": "b617f8ce5325fa8984c324816b08d3a26c05dac3c3276bcc4f4ab7196222dbe4", "Candidate commit: {commit}": "09bfd331d31184edc3eb1f8eab93bb1f6bc0cb640c0d1e1b53178e9eca4babbd", + "Candidate comparison unavailable": "f3bcf514a4febc720648d70be4d772e8ed9228ec5e7651edda3c229ddab6b627", "Candidate details": "17394d22b095121d9f0d77ff6d121c01383175fa17242bcd9f04bd61f182b5c9", "Candidate generation": "9d360a71a5d82995775df6401ac1d1f7257a68ad462bab70abb494e14239d3d3", "Candidate generation and recording": "d3af53b1912f971078c187ce9260949e68e49f0c2ea954c216a06fe2baa2acc9", @@ -1257,6 +1259,7 @@ "Check member status": "ff155af014d0b6e94cbf2fca3b01cf8d5725732f178eee985083478adb4a62f5", "Check member status to load readiness.": "6f7f338e22e626b134643fbaec898cf8e8efd19b85eeb6193b4ca0d5d63c4528", "Check needed": "561a32f0c83e5a4fe8d77d891bd4b954d514ea021b4a18e68a3607f5d8747841", + "Check output": "250d2e9675d6d399c668a5e496d0caf2913e14b5ea21036fa8ee2dad94ad4d46", "Check passed": "2f6697a2389d7a3c059e7c0435569b37c78275d752bdf9b9e1c5d94f3d0eeeaf", "Check preset": "85e9cc57cbd02e87de7d5213d2627e64f0ae2e3211dd62045b7c2e3dc2bcd45c", "Check provider": "655b6b054c32b6850e6bc245f79b03cb2513ab227e96e7e4a6fb3269daf60119", @@ -4645,6 +4648,7 @@ "Participant label": "ac9acb52867f8141cbc1741f20bbd2766f819aa569c1191dcac3855ba53b59fc", "Participants": "0e27279b3302db0448a2acf5d923ffb09b75270c2e957bfb93f54815d2146aa4", "Pass": "ebdf8cc00bc4d9ceee633c56c63b49955769a92ca060825c9b08e4af61326e2b", + "Passed": "436fe71bb9561f0596161c4d50c7b23327b4189acaf63dc89f4f9205b67a7528", "Password": "e7cf3ef4f17c3999a94f2c6f612e8a888e5b1026878e4e19398b23bd38ec221a", "Paste a Ling memory Markdown export": "3efbebfd30ffeb6bfba59beb91961665a830db73fea934f7fed5394666a7c901", "Paste an API key in Model Workbench, then Save.": "07d4307d7f787295b9cfe97f60114a53060c0f9319a38a5c935fb3f76aceb2cc", @@ -5250,6 +5254,7 @@ "Refresh the library to load Ling built-in skills.": "c1c70580c6d18d99477517ed4d8e7b1b2d7ce26b1c7e932cb3260eeef43008c2", "Refresh to load member readiness.": "b7018c54ba477bad3f292cefce02f582783c67f459e84182d3fe06e53cfe3236", "Refresh to load the selected channel's workflow and credential state.": "290fe59158244da3b9914566b3df31b8f15d3a66fd3ffd9661da282028522f59", + "Refresh verification": "c444d5a4e36d9ec9e448c2eb179a6ef45d3594cd02c264f699a83a04bb51749f", "Refresh work summary": "ccd4dcacf0460eb1ca7749ead055fbffcd395e4f8a0c0f9292d390394b80a78e", "Refresh workflow templates": "1d5c58c6bb31f588e7992a8fe14fc3bb3ad2f52396c0302dd980d4dfdaf1acaa", "Refresh workspace": "306960dcad4c285f46eb5bffbb815be8ebe98657bfed1a901e44b68c7c9f417d", @@ -6477,6 +6482,7 @@ "Stop scheduler": "da6153337089386cf80b918ffbd2f2a43a8876a76da3ca671200898a73695940", "Stop the current reply or queue new guidance.": "ef65bd0c8e0943cd194a61f0b0714870faf9081eeebdccb2967aabf880477457", "Stop using": "ef22ba68c9e447df816d52baba2d198b9d230a7b92291b0e683c38dd39fd94d7", + "Stop verification": "4d90de345e4b79787a78322b9da1ef2fd9c70098caae9af1208c37adc972ec73", "Stopped": "1a4f630ac1b69fd00728fa8a672ded71d0eae8516cb23e78f94529113399b79b", "Stopped {title}": "a2bb8d21f8b1fc6f69326965aabb4596bb14403cfc02644e3da7c3d99bda4a7f", "Stopped at {step}: {status}.": "a911b75c20e85b6fc45f8d484a34b9f7b844947fd5de54f289305ebd339951b7", @@ -7186,6 +7192,7 @@ "Unknown provider": "59080be0f444945a37e28b48166f9ddeb710cda7f656bb3827a684fffbcf4524", "Unknown size": "fffbd4ecf2ad3884acfc08d4fe61477737434672c0307bb3c08d2e876c0fd704", "Unknown source": "cbc86fd9d9357166a3076a90fd8957b816b3a516b79dc76d84e066daf984f83f", + "Unknown status": "15eebb6f74cc8a5a2a3eb6897533ded3d7c3e52b32cf617087a4793fef134ba0", "Unknown teammate": "491ea2ec8a112ef7fe0bc1368d78168f5a9208e5f9ca8587f8dd5ce1c1c5ef1f", "unknown_outcome": "164557364fc9e34fcc5fa0329a356a7d7042c4797b82a38cf0954e95185ad11d", "unknown_provider_capability": "f7ac373b31c9f98e1b1017117bf429d8b16a92030073b5b5eb5c30de06cdec8b", @@ -7360,12 +7367,15 @@ "Vector dimensions": "9d95d3f89905adeb9db91dc8afa0187d3e97858b2ec6e5ce78c0312ce1e99254", "Vector retrieval": "48180b50b6fc222ac72ac2cb38ac7d89c9b1cccd51392b6eae57b46a8ec6cd44", "Verdict": "4a36f89dafb0a1014671aaf16e3a380a999a33836e4c3a31fe5594a7da034da5", + "Verification": "7140f4f19dec525960aabacb5741a125876c7d85f8cfa9c899cc8880651ddf61", "verified": "1c34f88707b55e6104c4eb20e71ffa3d33e414b71ef689a15fad0640d0ac58cb", "Verified": "4f7838402f37674e8ebedb6cf048c0aea66bacdb25607aa3eee4b53093d83f5c", "Verified by execution": "1c4dd61aa39a909b81e11acea882bee4dec628b47763cc4dccca63dbc5f885bb", "Verified catalog": "8f408d980918dbb3a719ced82bf7e18c80a41382f2e3d444528defc5fa24623a", "Verifies behavior, regression scenarios, and user-facing workflows.": "b0845a7154f2567bfbe99c9649c79df3019b654217110f0d1b94f477dd91c78d", + "Verify": "eea2745e2867a6772adc3e813211e6ce7b6ebd312d7e84a7c1b1aa2f8c75fd4b", "Verify before use": "687f00a3911b398fd3e9df5675ecd82fba1fd114e17e2f868f4b04914679db33", + "Verify current changes": "547006b60c4136a531a18526bb7822b118268902f4f457bff86ab03e2a5e7e3f", "Verify the key, account access, balance, and model permission for this provider.": "5ba03b132333df8c1d7b130335bfa5a4034517c93f2a8725019d0d0eec7eb401", "Verifying": "a7d4a9f301edaa61ef561aaba1847d2729a900ea00bbf358953f99d99d913666", "Verifying integration candidate": "05a26deacc8035b95bfce5888134aaa287046d2727ef374e1ae39b07a59daadc", @@ -8790,9 +8800,11 @@ "cancelling": "Tühistamine", "Cancelling": "Tühistamine", "Candidate approved for draft": "Kandidaat kinnitatud eelnõusse", + "Candidate changed since verification": "Pärast kinnitamist on kandidaat muutunud", "Candidate cluster is not bound to a channel.": "Kandidaatide klaster ei ole kanaliga seotud.", "Candidate Clusters": "Kandidaatide klastrid", "Candidate commit: {commit}": "Kandidaadi kohustus: {commit}", + "Candidate comparison unavailable": "Kandidaatide võrdlus pole saadaval", "Candidate details": "Kandidaadi üksikasjad", "Candidate generation": "Kandidaatide põlvkond", "Candidate generation and recording": "Kandidaatide genereerimine ja salvestamine", @@ -8966,6 +8978,7 @@ "Check member status": "Kontrollige liikmestaatust", "Check member status to load readiness.": "Kontrollige laadimisvalmiduse liikmestaatust.", "Check needed": "Vajalik kontroll", + "Check output": "Kontrollige väljundit", "Check passed": "Kontroll läbitud", "Check preset": "Kontrollige eelseadistust", "Check provider": "Kontrollige pakkujat", @@ -12354,6 +12367,7 @@ "Participant label": "Osaleja silt", "Participants": "Osalejad", "Pass": "Läbida", + "Passed": "Läbitud", "Password": "Parool", "Paste a Ling memory Markdown export": "Kleepige Ling mälu Markdowni eksport", "Paste an API key in Model Workbench, then Save.": "Kleepige Model Workbenchi võti API ja seejärel Salvesta.", @@ -12959,6 +12973,7 @@ "Refresh the library to load Ling built-in skills.": "Ling sisseehitatud oskuste laadimiseks värskendage raamatukogu.", "Refresh to load member readiness.": "Liikme valmisoleku laadimiseks värskendage.", "Refresh to load the selected channel's workflow and credential state.": "Värskendage valitud kanali töövoo ja mandaadi oleku laadimiseks.", + "Refresh verification": "Värskenda kinnitust", "Refresh work summary": "Refresh work summary", "Refresh workflow templates": "Refresh workflow templates", "Refresh workspace": "Värskendage tööruumi", @@ -14186,6 +14201,7 @@ "Stop scheduler": "Peatage ajakava", "Stop the current reply or queue new guidance.": "Peatage praegune vastus või asetage uued juhised järjekorda.", "Stop using": "Lõpetage kasutamine", + "Stop verification": "Lõpeta kinnitamine", "Stopped": "Peatatud", "Stopped {title}": "Peatatud {title}", "Stopped at {step}: {status}.": "Peatus {step}: {status}.", @@ -14895,6 +14911,7 @@ "Unknown provider": "Tundmatu pakkuja", "Unknown size": "Tundmatu suurus", "Unknown source": "Tundmatu allikas", + "Unknown status": "Tundmatu olek", "Unknown teammate": "Tundmatu meeskonnakaaslane", "unknown_outcome": "Tulemus teadmata", "unknown_provider_capability": "Tundmatu pakkuja võimalus", @@ -15069,12 +15086,15 @@ "Vector dimensions": "Vektori mõõtmed", "Vector retrieval": "Vektori otsimine", "Verdict": "Kohtuotsus", + "Verification": "Kontrollimine", "verified": "kontrollitud", "Verified": "Kinnitatud", "Verified by execution": "Kinnitatud täitmisega", "Verified catalog": "Kontrollitud kataloog", "Verifies behavior, regression scenarios, and user-facing workflows.": "Kontrollib käitumist, regressioonistsenaariume ja kasutajale suunatud töövooge.", + "Verify": "Kinnitage", "Verify before use": "Kontrollige enne kasutamist", + "Verify current changes": "Kinnitage praegused muudatused", "Verify the key, account access, balance, and model permission for this provider.": "Kinnitage selle teenusepakkuja võtme, konto juurdepääsu, saldo ja mudeli luba.", "Verifying": "Kontrollimine", "Verifying integration candidate": "Integratsiooni kandidaadi kinnitamine", diff --git a/packages/localization/catalogs/fi-FI.json b/packages/localization/catalogs/fi-FI.json index 9f333f812..35294bb9e 100644 --- a/packages/localization/catalogs/fi-FI.json +++ b/packages/localization/catalogs/fi-FI.json @@ -1,6 +1,6 @@ { "locale": "fi-FI", - "sourceRevision": "72f77c6fb25583bb1468e040086563074b7830e025f2fc657144dc0e4aad37c1", + "sourceRevision": "214db76d79f1a5c0fd915c110a2ead6dbb978b58398846e982a0c1ff0cb53108", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -1081,9 +1081,11 @@ "cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Candidate approved for draft": "59a57b9b459b3215e76b651f73f6521bc1bd71fa66bb52e046368a559db6632b", + "Candidate changed since verification": "a2808e03661077a04403dab2204b7ce8d78310c296600bd03c5766a754f216a6", "Candidate cluster is not bound to a channel.": "6066a4e8725d065a7c2b8d2c8974a60c41c0a94124deeabd972f620ddd815786", "Candidate Clusters": "b617f8ce5325fa8984c324816b08d3a26c05dac3c3276bcc4f4ab7196222dbe4", "Candidate commit: {commit}": "09bfd331d31184edc3eb1f8eab93bb1f6bc0cb640c0d1e1b53178e9eca4babbd", + "Candidate comparison unavailable": "f3bcf514a4febc720648d70be4d772e8ed9228ec5e7651edda3c229ddab6b627", "Candidate details": "17394d22b095121d9f0d77ff6d121c01383175fa17242bcd9f04bd61f182b5c9", "Candidate generation": "9d360a71a5d82995775df6401ac1d1f7257a68ad462bab70abb494e14239d3d3", "Candidate generation and recording": "d3af53b1912f971078c187ce9260949e68e49f0c2ea954c216a06fe2baa2acc9", @@ -1257,6 +1259,7 @@ "Check member status": "ff155af014d0b6e94cbf2fca3b01cf8d5725732f178eee985083478adb4a62f5", "Check member status to load readiness.": "6f7f338e22e626b134643fbaec898cf8e8efd19b85eeb6193b4ca0d5d63c4528", "Check needed": "561a32f0c83e5a4fe8d77d891bd4b954d514ea021b4a18e68a3607f5d8747841", + "Check output": "250d2e9675d6d399c668a5e496d0caf2913e14b5ea21036fa8ee2dad94ad4d46", "Check passed": "2f6697a2389d7a3c059e7c0435569b37c78275d752bdf9b9e1c5d94f3d0eeeaf", "Check preset": "85e9cc57cbd02e87de7d5213d2627e64f0ae2e3211dd62045b7c2e3dc2bcd45c", "Check provider": "655b6b054c32b6850e6bc245f79b03cb2513ab227e96e7e4a6fb3269daf60119", @@ -4645,6 +4648,7 @@ "Participant label": "ac9acb52867f8141cbc1741f20bbd2766f819aa569c1191dcac3855ba53b59fc", "Participants": "0e27279b3302db0448a2acf5d923ffb09b75270c2e957bfb93f54815d2146aa4", "Pass": "ebdf8cc00bc4d9ceee633c56c63b49955769a92ca060825c9b08e4af61326e2b", + "Passed": "436fe71bb9561f0596161c4d50c7b23327b4189acaf63dc89f4f9205b67a7528", "Password": "e7cf3ef4f17c3999a94f2c6f612e8a888e5b1026878e4e19398b23bd38ec221a", "Paste a Ling memory Markdown export": "3efbebfd30ffeb6bfba59beb91961665a830db73fea934f7fed5394666a7c901", "Paste an API key in Model Workbench, then Save.": "07d4307d7f787295b9cfe97f60114a53060c0f9319a38a5c935fb3f76aceb2cc", @@ -5250,6 +5254,7 @@ "Refresh the library to load Ling built-in skills.": "c1c70580c6d18d99477517ed4d8e7b1b2d7ce26b1c7e932cb3260eeef43008c2", "Refresh to load member readiness.": "b7018c54ba477bad3f292cefce02f582783c67f459e84182d3fe06e53cfe3236", "Refresh to load the selected channel's workflow and credential state.": "290fe59158244da3b9914566b3df31b8f15d3a66fd3ffd9661da282028522f59", + "Refresh verification": "c444d5a4e36d9ec9e448c2eb179a6ef45d3594cd02c264f699a83a04bb51749f", "Refresh work summary": "ccd4dcacf0460eb1ca7749ead055fbffcd395e4f8a0c0f9292d390394b80a78e", "Refresh workflow templates": "1d5c58c6bb31f588e7992a8fe14fc3bb3ad2f52396c0302dd980d4dfdaf1acaa", "Refresh workspace": "306960dcad4c285f46eb5bffbb815be8ebe98657bfed1a901e44b68c7c9f417d", @@ -6477,6 +6482,7 @@ "Stop scheduler": "da6153337089386cf80b918ffbd2f2a43a8876a76da3ca671200898a73695940", "Stop the current reply or queue new guidance.": "ef65bd0c8e0943cd194a61f0b0714870faf9081eeebdccb2967aabf880477457", "Stop using": "ef22ba68c9e447df816d52baba2d198b9d230a7b92291b0e683c38dd39fd94d7", + "Stop verification": "4d90de345e4b79787a78322b9da1ef2fd9c70098caae9af1208c37adc972ec73", "Stopped": "1a4f630ac1b69fd00728fa8a672ded71d0eae8516cb23e78f94529113399b79b", "Stopped {title}": "a2bb8d21f8b1fc6f69326965aabb4596bb14403cfc02644e3da7c3d99bda4a7f", "Stopped at {step}: {status}.": "a911b75c20e85b6fc45f8d484a34b9f7b844947fd5de54f289305ebd339951b7", @@ -7186,6 +7192,7 @@ "Unknown provider": "59080be0f444945a37e28b48166f9ddeb710cda7f656bb3827a684fffbcf4524", "Unknown size": "fffbd4ecf2ad3884acfc08d4fe61477737434672c0307bb3c08d2e876c0fd704", "Unknown source": "cbc86fd9d9357166a3076a90fd8957b816b3a516b79dc76d84e066daf984f83f", + "Unknown status": "15eebb6f74cc8a5a2a3eb6897533ded3d7c3e52b32cf617087a4793fef134ba0", "Unknown teammate": "491ea2ec8a112ef7fe0bc1368d78168f5a9208e5f9ca8587f8dd5ce1c1c5ef1f", "unknown_outcome": "164557364fc9e34fcc5fa0329a356a7d7042c4797b82a38cf0954e95185ad11d", "unknown_provider_capability": "f7ac373b31c9f98e1b1017117bf429d8b16a92030073b5b5eb5c30de06cdec8b", @@ -7360,12 +7367,15 @@ "Vector dimensions": "9d95d3f89905adeb9db91dc8afa0187d3e97858b2ec6e5ce78c0312ce1e99254", "Vector retrieval": "48180b50b6fc222ac72ac2cb38ac7d89c9b1cccd51392b6eae57b46a8ec6cd44", "Verdict": "4a36f89dafb0a1014671aaf16e3a380a999a33836e4c3a31fe5594a7da034da5", + "Verification": "7140f4f19dec525960aabacb5741a125876c7d85f8cfa9c899cc8880651ddf61", "verified": "1c34f88707b55e6104c4eb20e71ffa3d33e414b71ef689a15fad0640d0ac58cb", "Verified": "4f7838402f37674e8ebedb6cf048c0aea66bacdb25607aa3eee4b53093d83f5c", "Verified by execution": "1c4dd61aa39a909b81e11acea882bee4dec628b47763cc4dccca63dbc5f885bb", "Verified catalog": "8f408d980918dbb3a719ced82bf7e18c80a41382f2e3d444528defc5fa24623a", "Verifies behavior, regression scenarios, and user-facing workflows.": "b0845a7154f2567bfbe99c9649c79df3019b654217110f0d1b94f477dd91c78d", + "Verify": "eea2745e2867a6772adc3e813211e6ce7b6ebd312d7e84a7c1b1aa2f8c75fd4b", "Verify before use": "687f00a3911b398fd3e9df5675ecd82fba1fd114e17e2f868f4b04914679db33", + "Verify current changes": "547006b60c4136a531a18526bb7822b118268902f4f457bff86ab03e2a5e7e3f", "Verify the key, account access, balance, and model permission for this provider.": "5ba03b132333df8c1d7b130335bfa5a4034517c93f2a8725019d0d0eec7eb401", "Verifying": "a7d4a9f301edaa61ef561aaba1847d2729a900ea00bbf358953f99d99d913666", "Verifying integration candidate": "05a26deacc8035b95bfce5888134aaa287046d2727ef374e1ae39b07a59daadc", @@ -8790,9 +8800,11 @@ "cancelling": "Peruutetaan", "Cancelling": "Peruutetaan", "Candidate approved for draft": "Ehdokas hyväksytty luonnokseen", + "Candidate changed since verification": "Ehdokas muuttui vahvistuksen jälkeen", "Candidate cluster is not bound to a channel.": "Ehdokasklusteri ei ole sidottu kanavaan.", "Candidate Clusters": "Ehdokasklusterit", "Candidate commit: {commit}": "Ehdokassitoumus: {commit}", + "Candidate comparison unavailable": "Ehdokasvertailu ei ole käytettävissä", "Candidate details": "Ehdokkaan tiedot", "Candidate generation": "Ehdokassukupolvi", "Candidate generation and recording": "Ehdokassukupolvi ja äänitys", @@ -8966,6 +8978,7 @@ "Check member status": "Tarkista jäsentilanne", "Check member status to load readiness.": "Tarkista jäsentilan latausvalmius.", "Check needed": "Tarkasta tarvitaan", + "Check output": "Tarkista lähtö", "Check passed": "Sekki läpäissyt", "Check preset": "Tarkista esiasetus", "Check provider": "Tarkista palveluntarjoaja", @@ -12354,6 +12367,7 @@ "Participant label": "Osallistujan merkki", "Participants": "Osallistujat", "Pass": "Syöttö", + "Passed": "Läpäisty", "Password": "Salasana", "Paste a Ling memory Markdown export": "Liitä Ling-muistin Markdown-vienti", "Paste an API key in Model Workbench, then Save.": "Liitä avain API Model Workbenchiin ja sitten Tallenna.", @@ -12959,6 +12973,7 @@ "Refresh the library to load Ling built-in skills.": "Päivitä kirjasto ladataksesi Ling sisäänrakennetut taidot.", "Refresh to load member readiness.": "Päivitä ladataksesi jäsenvalmiuden.", "Refresh to load the selected channel's workflow and credential state.": "Päivitä ladataksesi valitun kanavan työnkulku ja tunnistetietojen tila.", + "Refresh verification": "Päivitä vahvistus", "Refresh work summary": "Refresh work summary", "Refresh workflow templates": "Refresh workflow templates", "Refresh workspace": "Päivitä työtila", @@ -14186,6 +14201,7 @@ "Stop scheduler": "Pysäytä ajoitus", "Stop the current reply or queue new guidance.": "Pysäytä nykyinen vastaus tai aseta uusi opastus jonoon.", "Stop using": "Lopeta käyttö", + "Stop verification": "Lopeta vahvistus", "Stopped": "Pysähtynyt", "Stopped {title}": "Pysäytetty {title}", "Stopped at {step}: {status}.": "Pysähtyi {step}: {status}.", @@ -14895,6 +14911,7 @@ "Unknown provider": "Tuntematon palveluntarjoaja", "Unknown size": "Tuntematon koko", "Unknown source": "Tuntematon lähde", + "Unknown status": "Tuntematon tila", "Unknown teammate": "Tuntematon joukkuetoveri", "unknown_outcome": "Tulos tuntematon", "unknown_provider_capability": "Tuntemattoman palveluntarjoajan ominaisuus", @@ -15069,12 +15086,15 @@ "Vector dimensions": "Vektorin mitat", "Vector retrieval": "Vektorin haku", "Verdict": "Tuomio", + "Verification": "Vahvistus", "verified": "vahvistettu", "Verified": "Vahvistettu", "Verified by execution": "Varmistettu suorittamalla", "Verified catalog": "Vahvistettu katalogi", "Verifies behavior, regression scenarios, and user-facing workflows.": "Tarkistaa käyttäytymisen, regressio-skenaariot ja käyttäjäkohtaiset työnkulut.", + "Verify": "Vahvista", "Verify before use": "Tarkista ennen käyttöä", + "Verify current changes": "Tarkista nykyiset muutokset", "Verify the key, account access, balance, and model permission for this provider.": "Vahvista tämän palveluntarjoajan avain, tilin käyttöoikeus, saldo ja mallilupa.", "Verifying": "Vahvistetaan", "Verifying integration candidate": "Vahvistetaan integraatioehdokasta", diff --git a/packages/localization/catalogs/fr-CA.json b/packages/localization/catalogs/fr-CA.json index fd4e8bcbb..db871491b 100644 --- a/packages/localization/catalogs/fr-CA.json +++ b/packages/localization/catalogs/fr-CA.json @@ -1,6 +1,6 @@ { "locale": "fr-CA", - "sourceRevision": "72f77c6fb25583bb1468e040086563074b7830e025f2fc657144dc0e4aad37c1", + "sourceRevision": "214db76d79f1a5c0fd915c110a2ead6dbb978b58398846e982a0c1ff0cb53108", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -1081,9 +1081,11 @@ "cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Candidate approved for draft": "59a57b9b459b3215e76b651f73f6521bc1bd71fa66bb52e046368a559db6632b", + "Candidate changed since verification": "a2808e03661077a04403dab2204b7ce8d78310c296600bd03c5766a754f216a6", "Candidate cluster is not bound to a channel.": "6066a4e8725d065a7c2b8d2c8974a60c41c0a94124deeabd972f620ddd815786", "Candidate Clusters": "b617f8ce5325fa8984c324816b08d3a26c05dac3c3276bcc4f4ab7196222dbe4", "Candidate commit: {commit}": "09bfd331d31184edc3eb1f8eab93bb1f6bc0cb640c0d1e1b53178e9eca4babbd", + "Candidate comparison unavailable": "f3bcf514a4febc720648d70be4d772e8ed9228ec5e7651edda3c229ddab6b627", "Candidate details": "17394d22b095121d9f0d77ff6d121c01383175fa17242bcd9f04bd61f182b5c9", "Candidate generation": "9d360a71a5d82995775df6401ac1d1f7257a68ad462bab70abb494e14239d3d3", "Candidate generation and recording": "d3af53b1912f971078c187ce9260949e68e49f0c2ea954c216a06fe2baa2acc9", @@ -1257,6 +1259,7 @@ "Check member status": "ff155af014d0b6e94cbf2fca3b01cf8d5725732f178eee985083478adb4a62f5", "Check member status to load readiness.": "6f7f338e22e626b134643fbaec898cf8e8efd19b85eeb6193b4ca0d5d63c4528", "Check needed": "561a32f0c83e5a4fe8d77d891bd4b954d514ea021b4a18e68a3607f5d8747841", + "Check output": "250d2e9675d6d399c668a5e496d0caf2913e14b5ea21036fa8ee2dad94ad4d46", "Check passed": "2f6697a2389d7a3c059e7c0435569b37c78275d752bdf9b9e1c5d94f3d0eeeaf", "Check preset": "85e9cc57cbd02e87de7d5213d2627e64f0ae2e3211dd62045b7c2e3dc2bcd45c", "Check provider": "655b6b054c32b6850e6bc245f79b03cb2513ab227e96e7e4a6fb3269daf60119", @@ -4645,6 +4648,7 @@ "Participant label": "ac9acb52867f8141cbc1741f20bbd2766f819aa569c1191dcac3855ba53b59fc", "Participants": "0e27279b3302db0448a2acf5d923ffb09b75270c2e957bfb93f54815d2146aa4", "Pass": "ebdf8cc00bc4d9ceee633c56c63b49955769a92ca060825c9b08e4af61326e2b", + "Passed": "436fe71bb9561f0596161c4d50c7b23327b4189acaf63dc89f4f9205b67a7528", "Password": "e7cf3ef4f17c3999a94f2c6f612e8a888e5b1026878e4e19398b23bd38ec221a", "Paste a Ling memory Markdown export": "3efbebfd30ffeb6bfba59beb91961665a830db73fea934f7fed5394666a7c901", "Paste an API key in Model Workbench, then Save.": "07d4307d7f787295b9cfe97f60114a53060c0f9319a38a5c935fb3f76aceb2cc", @@ -5250,6 +5254,7 @@ "Refresh the library to load Ling built-in skills.": "c1c70580c6d18d99477517ed4d8e7b1b2d7ce26b1c7e932cb3260eeef43008c2", "Refresh to load member readiness.": "b7018c54ba477bad3f292cefce02f582783c67f459e84182d3fe06e53cfe3236", "Refresh to load the selected channel's workflow and credential state.": "290fe59158244da3b9914566b3df31b8f15d3a66fd3ffd9661da282028522f59", + "Refresh verification": "c444d5a4e36d9ec9e448c2eb179a6ef45d3594cd02c264f699a83a04bb51749f", "Refresh work summary": "ccd4dcacf0460eb1ca7749ead055fbffcd395e4f8a0c0f9292d390394b80a78e", "Refresh workflow templates": "1d5c58c6bb31f588e7992a8fe14fc3bb3ad2f52396c0302dd980d4dfdaf1acaa", "Refresh workspace": "306960dcad4c285f46eb5bffbb815be8ebe98657bfed1a901e44b68c7c9f417d", @@ -6477,6 +6482,7 @@ "Stop scheduler": "da6153337089386cf80b918ffbd2f2a43a8876a76da3ca671200898a73695940", "Stop the current reply or queue new guidance.": "ef65bd0c8e0943cd194a61f0b0714870faf9081eeebdccb2967aabf880477457", "Stop using": "ef22ba68c9e447df816d52baba2d198b9d230a7b92291b0e683c38dd39fd94d7", + "Stop verification": "4d90de345e4b79787a78322b9da1ef2fd9c70098caae9af1208c37adc972ec73", "Stopped": "1a4f630ac1b69fd00728fa8a672ded71d0eae8516cb23e78f94529113399b79b", "Stopped {title}": "a2bb8d21f8b1fc6f69326965aabb4596bb14403cfc02644e3da7c3d99bda4a7f", "Stopped at {step}: {status}.": "a911b75c20e85b6fc45f8d484a34b9f7b844947fd5de54f289305ebd339951b7", @@ -7186,6 +7192,7 @@ "Unknown provider": "59080be0f444945a37e28b48166f9ddeb710cda7f656bb3827a684fffbcf4524", "Unknown size": "fffbd4ecf2ad3884acfc08d4fe61477737434672c0307bb3c08d2e876c0fd704", "Unknown source": "cbc86fd9d9357166a3076a90fd8957b816b3a516b79dc76d84e066daf984f83f", + "Unknown status": "15eebb6f74cc8a5a2a3eb6897533ded3d7c3e52b32cf617087a4793fef134ba0", "Unknown teammate": "491ea2ec8a112ef7fe0bc1368d78168f5a9208e5f9ca8587f8dd5ce1c1c5ef1f", "unknown_outcome": "164557364fc9e34fcc5fa0329a356a7d7042c4797b82a38cf0954e95185ad11d", "unknown_provider_capability": "f7ac373b31c9f98e1b1017117bf429d8b16a92030073b5b5eb5c30de06cdec8b", @@ -7360,12 +7367,15 @@ "Vector dimensions": "9d95d3f89905adeb9db91dc8afa0187d3e97858b2ec6e5ce78c0312ce1e99254", "Vector retrieval": "48180b50b6fc222ac72ac2cb38ac7d89c9b1cccd51392b6eae57b46a8ec6cd44", "Verdict": "4a36f89dafb0a1014671aaf16e3a380a999a33836e4c3a31fe5594a7da034da5", + "Verification": "7140f4f19dec525960aabacb5741a125876c7d85f8cfa9c899cc8880651ddf61", "verified": "1c34f88707b55e6104c4eb20e71ffa3d33e414b71ef689a15fad0640d0ac58cb", "Verified": "4f7838402f37674e8ebedb6cf048c0aea66bacdb25607aa3eee4b53093d83f5c", "Verified by execution": "1c4dd61aa39a909b81e11acea882bee4dec628b47763cc4dccca63dbc5f885bb", "Verified catalog": "8f408d980918dbb3a719ced82bf7e18c80a41382f2e3d444528defc5fa24623a", "Verifies behavior, regression scenarios, and user-facing workflows.": "b0845a7154f2567bfbe99c9649c79df3019b654217110f0d1b94f477dd91c78d", + "Verify": "eea2745e2867a6772adc3e813211e6ce7b6ebd312d7e84a7c1b1aa2f8c75fd4b", "Verify before use": "687f00a3911b398fd3e9df5675ecd82fba1fd114e17e2f868f4b04914679db33", + "Verify current changes": "547006b60c4136a531a18526bb7822b118268902f4f457bff86ab03e2a5e7e3f", "Verify the key, account access, balance, and model permission for this provider.": "5ba03b132333df8c1d7b130335bfa5a4034517c93f2a8725019d0d0eec7eb401", "Verifying": "a7d4a9f301edaa61ef561aaba1847d2729a900ea00bbf358953f99d99d913666", "Verifying integration candidate": "05a26deacc8035b95bfce5888134aaa287046d2727ef374e1ae39b07a59daadc", @@ -8790,9 +8800,11 @@ "cancelling": "Annulation", "Cancelling": "Annulation", "Candidate approved for draft": "Candidat approuvé pour le repêchage", + "Candidate changed since verification": "Candidat modifié depuis la vérification", "Candidate cluster is not bound to a channel.": "Le groupe candidat n'est pas lié à un canal.", "Candidate Clusters": "Groupes candidats", "Candidate commit: {commit}": "Engagement du candidat : {commit}", + "Candidate comparison unavailable": "Comparaison des candidats indisponibles", "Candidate details": "Détails du candidat", "Candidate generation": "Génération de candidats", "Candidate generation and recording": "Génération et enregistrement des candidats", @@ -8966,6 +8978,7 @@ "Check member status": "Vérifier le statut de membre", "Check member status to load readiness.": "Vérifiez le statut du membre pour être prêt à charger.", "Check needed": "Chèque requis", + "Check output": "Vérifier la sortie", "Check passed": "Chèque réussi", "Check preset": "Vérifier le préréglage", "Check provider": "Vérifier le fournisseur", @@ -12354,6 +12367,7 @@ "Participant label": "Étiquette du participant", "Participants": "Participants", "Pass": "Passer", + "Passed": "Passé", "Password": "Mot de passe", "Paste a Ling memory Markdown export": "Collez une exportation Markdown de mémoire Ling", "Paste an API key in Model Workbench, then Save.": "Collez une clé API dans Model Workbench, puis enregistrez.", @@ -12959,6 +12973,7 @@ "Refresh the library to load Ling built-in skills.": "Actualisez la bibliothèque pour charger les compétences intégrées Ling.", "Refresh to load member readiness.": "Actualisez pour charger la préparation des membres.", "Refresh to load the selected channel's workflow and credential state.": "Actualisez pour charger le flux de travail et l'état des informations d'identification du canal sélectionné.", + "Refresh verification": "Mettre à jour la vérification", "Refresh work summary": "Refresh work summary", "Refresh workflow templates": "Refresh workflow templates", "Refresh workspace": "Rafraîchir l'espace de travail", @@ -14186,6 +14201,7 @@ "Stop scheduler": "Arrêter le planificateur", "Stop the current reply or queue new guidance.": "Arrêtez la réponse actuelle ou mettez en file d'attente les nouveaux conseils.", "Stop using": "Arrêtez d'utiliser", + "Stop verification": "Arrêter la vérification", "Stopped": "Arrêté", "Stopped {title}": "Arrêté {title}", "Stopped at {step}: {status}.": "Arrêté à {step} : {status}.", @@ -14895,6 +14911,7 @@ "Unknown provider": "Fournisseur inconnu", "Unknown size": "Taille inconnue", "Unknown source": "Source inconnue", + "Unknown status": "Statut inconnu", "Unknown teammate": "Coéquipier inconnu", "unknown_outcome": "Résultat inconnu", "unknown_provider_capability": "Capacité du fournisseur inconnue", @@ -15069,12 +15086,15 @@ "Vector dimensions": "Dimensions vectorielles", "Vector retrieval": "Récupération de vecteurs", "Verdict": "Verdict", + "Verification": "Vérification", "verified": "vérifié", "Verified": "Vérifié", "Verified by execution": "Vérifié par exécution", "Verified catalog": "Catalogue vérifié", "Verifies behavior, regression scenarios, and user-facing workflows.": "Vérifie le comportement, les scénarios de régression et les flux de travail destinés aux utilisateurs.", + "Verify": "Vérifier", "Verify before use": "Vérifier avant utilisation", + "Verify current changes": "Vérifier les changements actuels", "Verify the key, account access, balance, and model permission for this provider.": "Vérifiez la clé, l'accès au compte, le solde et l'autorisation de modèle pour ce fournisseur.", "Verifying": "Vérification", "Verifying integration candidate": "Vérification du candidat à l'intégration", diff --git a/packages/localization/catalogs/fr-FR.json b/packages/localization/catalogs/fr-FR.json index 33f78a924..f157f8c56 100644 --- a/packages/localization/catalogs/fr-FR.json +++ b/packages/localization/catalogs/fr-FR.json @@ -1,6 +1,6 @@ { "locale": "fr-FR", - "sourceRevision": "72f77c6fb25583bb1468e040086563074b7830e025f2fc657144dc0e4aad37c1", + "sourceRevision": "214db76d79f1a5c0fd915c110a2ead6dbb978b58398846e982a0c1ff0cb53108", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -1081,9 +1081,11 @@ "cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Candidate approved for draft": "59a57b9b459b3215e76b651f73f6521bc1bd71fa66bb52e046368a559db6632b", + "Candidate changed since verification": "a2808e03661077a04403dab2204b7ce8d78310c296600bd03c5766a754f216a6", "Candidate cluster is not bound to a channel.": "6066a4e8725d065a7c2b8d2c8974a60c41c0a94124deeabd972f620ddd815786", "Candidate Clusters": "b617f8ce5325fa8984c324816b08d3a26c05dac3c3276bcc4f4ab7196222dbe4", "Candidate commit: {commit}": "09bfd331d31184edc3eb1f8eab93bb1f6bc0cb640c0d1e1b53178e9eca4babbd", + "Candidate comparison unavailable": "f3bcf514a4febc720648d70be4d772e8ed9228ec5e7651edda3c229ddab6b627", "Candidate details": "17394d22b095121d9f0d77ff6d121c01383175fa17242bcd9f04bd61f182b5c9", "Candidate generation": "9d360a71a5d82995775df6401ac1d1f7257a68ad462bab70abb494e14239d3d3", "Candidate generation and recording": "d3af53b1912f971078c187ce9260949e68e49f0c2ea954c216a06fe2baa2acc9", @@ -1257,6 +1259,7 @@ "Check member status": "ff155af014d0b6e94cbf2fca3b01cf8d5725732f178eee985083478adb4a62f5", "Check member status to load readiness.": "6f7f338e22e626b134643fbaec898cf8e8efd19b85eeb6193b4ca0d5d63c4528", "Check needed": "561a32f0c83e5a4fe8d77d891bd4b954d514ea021b4a18e68a3607f5d8747841", + "Check output": "250d2e9675d6d399c668a5e496d0caf2913e14b5ea21036fa8ee2dad94ad4d46", "Check passed": "2f6697a2389d7a3c059e7c0435569b37c78275d752bdf9b9e1c5d94f3d0eeeaf", "Check preset": "85e9cc57cbd02e87de7d5213d2627e64f0ae2e3211dd62045b7c2e3dc2bcd45c", "Check provider": "655b6b054c32b6850e6bc245f79b03cb2513ab227e96e7e4a6fb3269daf60119", @@ -4645,6 +4648,7 @@ "Participant label": "ac9acb52867f8141cbc1741f20bbd2766f819aa569c1191dcac3855ba53b59fc", "Participants": "0e27279b3302db0448a2acf5d923ffb09b75270c2e957bfb93f54815d2146aa4", "Pass": "ebdf8cc00bc4d9ceee633c56c63b49955769a92ca060825c9b08e4af61326e2b", + "Passed": "436fe71bb9561f0596161c4d50c7b23327b4189acaf63dc89f4f9205b67a7528", "Password": "e7cf3ef4f17c3999a94f2c6f612e8a888e5b1026878e4e19398b23bd38ec221a", "Paste a Ling memory Markdown export": "3efbebfd30ffeb6bfba59beb91961665a830db73fea934f7fed5394666a7c901", "Paste an API key in Model Workbench, then Save.": "07d4307d7f787295b9cfe97f60114a53060c0f9319a38a5c935fb3f76aceb2cc", @@ -5250,6 +5254,7 @@ "Refresh the library to load Ling built-in skills.": "c1c70580c6d18d99477517ed4d8e7b1b2d7ce26b1c7e932cb3260eeef43008c2", "Refresh to load member readiness.": "b7018c54ba477bad3f292cefce02f582783c67f459e84182d3fe06e53cfe3236", "Refresh to load the selected channel's workflow and credential state.": "290fe59158244da3b9914566b3df31b8f15d3a66fd3ffd9661da282028522f59", + "Refresh verification": "c444d5a4e36d9ec9e448c2eb179a6ef45d3594cd02c264f699a83a04bb51749f", "Refresh work summary": "ccd4dcacf0460eb1ca7749ead055fbffcd395e4f8a0c0f9292d390394b80a78e", "Refresh workflow templates": "1d5c58c6bb31f588e7992a8fe14fc3bb3ad2f52396c0302dd980d4dfdaf1acaa", "Refresh workspace": "306960dcad4c285f46eb5bffbb815be8ebe98657bfed1a901e44b68c7c9f417d", @@ -6477,6 +6482,7 @@ "Stop scheduler": "da6153337089386cf80b918ffbd2f2a43a8876a76da3ca671200898a73695940", "Stop the current reply or queue new guidance.": "ef65bd0c8e0943cd194a61f0b0714870faf9081eeebdccb2967aabf880477457", "Stop using": "ef22ba68c9e447df816d52baba2d198b9d230a7b92291b0e683c38dd39fd94d7", + "Stop verification": "4d90de345e4b79787a78322b9da1ef2fd9c70098caae9af1208c37adc972ec73", "Stopped": "1a4f630ac1b69fd00728fa8a672ded71d0eae8516cb23e78f94529113399b79b", "Stopped {title}": "a2bb8d21f8b1fc6f69326965aabb4596bb14403cfc02644e3da7c3d99bda4a7f", "Stopped at {step}: {status}.": "a911b75c20e85b6fc45f8d484a34b9f7b844947fd5de54f289305ebd339951b7", @@ -7186,6 +7192,7 @@ "Unknown provider": "59080be0f444945a37e28b48166f9ddeb710cda7f656bb3827a684fffbcf4524", "Unknown size": "fffbd4ecf2ad3884acfc08d4fe61477737434672c0307bb3c08d2e876c0fd704", "Unknown source": "cbc86fd9d9357166a3076a90fd8957b816b3a516b79dc76d84e066daf984f83f", + "Unknown status": "15eebb6f74cc8a5a2a3eb6897533ded3d7c3e52b32cf617087a4793fef134ba0", "Unknown teammate": "491ea2ec8a112ef7fe0bc1368d78168f5a9208e5f9ca8587f8dd5ce1c1c5ef1f", "unknown_outcome": "164557364fc9e34fcc5fa0329a356a7d7042c4797b82a38cf0954e95185ad11d", "unknown_provider_capability": "f7ac373b31c9f98e1b1017117bf429d8b16a92030073b5b5eb5c30de06cdec8b", @@ -7360,12 +7367,15 @@ "Vector dimensions": "9d95d3f89905adeb9db91dc8afa0187d3e97858b2ec6e5ce78c0312ce1e99254", "Vector retrieval": "48180b50b6fc222ac72ac2cb38ac7d89c9b1cccd51392b6eae57b46a8ec6cd44", "Verdict": "4a36f89dafb0a1014671aaf16e3a380a999a33836e4c3a31fe5594a7da034da5", + "Verification": "7140f4f19dec525960aabacb5741a125876c7d85f8cfa9c899cc8880651ddf61", "verified": "1c34f88707b55e6104c4eb20e71ffa3d33e414b71ef689a15fad0640d0ac58cb", "Verified": "4f7838402f37674e8ebedb6cf048c0aea66bacdb25607aa3eee4b53093d83f5c", "Verified by execution": "1c4dd61aa39a909b81e11acea882bee4dec628b47763cc4dccca63dbc5f885bb", "Verified catalog": "8f408d980918dbb3a719ced82bf7e18c80a41382f2e3d444528defc5fa24623a", "Verifies behavior, regression scenarios, and user-facing workflows.": "b0845a7154f2567bfbe99c9649c79df3019b654217110f0d1b94f477dd91c78d", + "Verify": "eea2745e2867a6772adc3e813211e6ce7b6ebd312d7e84a7c1b1aa2f8c75fd4b", "Verify before use": "687f00a3911b398fd3e9df5675ecd82fba1fd114e17e2f868f4b04914679db33", + "Verify current changes": "547006b60c4136a531a18526bb7822b118268902f4f457bff86ab03e2a5e7e3f", "Verify the key, account access, balance, and model permission for this provider.": "5ba03b132333df8c1d7b130335bfa5a4034517c93f2a8725019d0d0eec7eb401", "Verifying": "a7d4a9f301edaa61ef561aaba1847d2729a900ea00bbf358953f99d99d913666", "Verifying integration candidate": "05a26deacc8035b95bfce5888134aaa287046d2727ef374e1ae39b07a59daadc", @@ -8790,9 +8800,11 @@ "cancelling": "Annulation", "Cancelling": "Annulation", "Candidate approved for draft": "Candidat approuvé pour le repêchage", + "Candidate changed since verification": "Candidat modifié depuis la vérification", "Candidate cluster is not bound to a channel.": "Le cluster candidat n’est pas lié à un canal.", "Candidate Clusters": "Groupes candidats", "Candidate commit: {commit}": "Engagement du candidat : {commit}", + "Candidate comparison unavailable": "Comparaison des candidats indisponible", "Candidate details": "Détails du candidat", "Candidate generation": "Génération de candidats", "Candidate generation and recording": "Génération et enregistrement des candidats", @@ -8966,6 +8978,7 @@ "Check member status": "Vérifier le statut de membre", "Check member status to load readiness.": "Vérifiez le statut du membre pour être prêt à charger.", "Check needed": "Chèque nécessaire", + "Check output": "Vérifier la sortie", "Check passed": "Chèque réussi", "Check preset": "Vérifier le préréglage", "Check provider": "Vérifier le fournisseur", @@ -12354,6 +12367,7 @@ "Participant label": "Étiquette du participant", "Participants": "Participants", "Pass": "Passer", + "Passed": "Passé", "Password": "Mot de passe", "Paste a Ling memory Markdown export": "Collez une exportation Markdown de mémoire Ling", "Paste an API key in Model Workbench, then Save.": "Collez une clé API dans Model Workbench, puis enregistrez.", @@ -12959,6 +12973,7 @@ "Refresh the library to load Ling built-in skills.": "Actualisez la bibliothèque pour charger les compétences intégrées Ling.", "Refresh to load member readiness.": "Actualisez pour charger la préparation des membres.", "Refresh to load the selected channel's workflow and credential state.": "Actualisez pour charger le flux de travail et l'état des informations d'identification du canal sélectionné.", + "Refresh verification": "Actualiser la vérification", "Refresh work summary": "Refresh work summary", "Refresh workflow templates": "Refresh workflow templates", "Refresh workspace": "Actualiser l'espace de travail", @@ -14186,6 +14201,7 @@ "Stop scheduler": "Arrêter le planificateur", "Stop the current reply or queue new guidance.": "Arrêtez la réponse en cours ou mettez en file d'attente les nouveaux conseils.", "Stop using": "Arrêtez d'utiliser", + "Stop verification": "Arrêter la vérification", "Stopped": "Arrêté", "Stopped {title}": "Arrêté {title}", "Stopped at {step}: {status}.": "Arrêté à {step} : {status}.", @@ -14895,6 +14911,7 @@ "Unknown provider": "Fournisseur inconnu", "Unknown size": "Taille inconnue", "Unknown source": "Source inconnue", + "Unknown status": "Statut inconnu", "Unknown teammate": "Coéquipier inconnu", "unknown_outcome": "Résultat inconnu", "unknown_provider_capability": "Capacité du fournisseur inconnue", @@ -15069,12 +15086,15 @@ "Vector dimensions": "Dimensions vectorielles", "Vector retrieval": "Récupération de vecteurs", "Verdict": "Verdict", + "Verification": "Vérification", "verified": "vérifié", "Verified": "Vérifié", "Verified by execution": "Vérifié par exécution", "Verified catalog": "Catalogue vérifié", "Verifies behavior, regression scenarios, and user-facing workflows.": "Vérifie le comportement, les scénarios de régression et les flux de travail destinés aux utilisateurs.", + "Verify": "Vérifier", "Verify before use": "Vérifier avant utilisation", + "Verify current changes": "Vérifier les modifications actuelles", "Verify the key, account access, balance, and model permission for this provider.": "Vérifiez la clé, l'accès au compte, le solde et l'autorisation de modèle pour ce fournisseur.", "Verifying": "Vérification", "Verifying integration candidate": "Vérification du candidat à l'intégration", diff --git a/packages/localization/catalogs/gu-IN.json b/packages/localization/catalogs/gu-IN.json index b16db79a2..6477b819e 100644 --- a/packages/localization/catalogs/gu-IN.json +++ b/packages/localization/catalogs/gu-IN.json @@ -1,6 +1,6 @@ { "locale": "gu-IN", - "sourceRevision": "72f77c6fb25583bb1468e040086563074b7830e025f2fc657144dc0e4aad37c1", + "sourceRevision": "214db76d79f1a5c0fd915c110a2ead6dbb978b58398846e982a0c1ff0cb53108", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -1081,9 +1081,11 @@ "cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Candidate approved for draft": "59a57b9b459b3215e76b651f73f6521bc1bd71fa66bb52e046368a559db6632b", + "Candidate changed since verification": "a2808e03661077a04403dab2204b7ce8d78310c296600bd03c5766a754f216a6", "Candidate cluster is not bound to a channel.": "6066a4e8725d065a7c2b8d2c8974a60c41c0a94124deeabd972f620ddd815786", "Candidate Clusters": "b617f8ce5325fa8984c324816b08d3a26c05dac3c3276bcc4f4ab7196222dbe4", "Candidate commit: {commit}": "09bfd331d31184edc3eb1f8eab93bb1f6bc0cb640c0d1e1b53178e9eca4babbd", + "Candidate comparison unavailable": "f3bcf514a4febc720648d70be4d772e8ed9228ec5e7651edda3c229ddab6b627", "Candidate details": "17394d22b095121d9f0d77ff6d121c01383175fa17242bcd9f04bd61f182b5c9", "Candidate generation": "9d360a71a5d82995775df6401ac1d1f7257a68ad462bab70abb494e14239d3d3", "Candidate generation and recording": "d3af53b1912f971078c187ce9260949e68e49f0c2ea954c216a06fe2baa2acc9", @@ -1257,6 +1259,7 @@ "Check member status": "ff155af014d0b6e94cbf2fca3b01cf8d5725732f178eee985083478adb4a62f5", "Check member status to load readiness.": "6f7f338e22e626b134643fbaec898cf8e8efd19b85eeb6193b4ca0d5d63c4528", "Check needed": "561a32f0c83e5a4fe8d77d891bd4b954d514ea021b4a18e68a3607f5d8747841", + "Check output": "250d2e9675d6d399c668a5e496d0caf2913e14b5ea21036fa8ee2dad94ad4d46", "Check passed": "2f6697a2389d7a3c059e7c0435569b37c78275d752bdf9b9e1c5d94f3d0eeeaf", "Check preset": "85e9cc57cbd02e87de7d5213d2627e64f0ae2e3211dd62045b7c2e3dc2bcd45c", "Check provider": "655b6b054c32b6850e6bc245f79b03cb2513ab227e96e7e4a6fb3269daf60119", @@ -4645,6 +4648,7 @@ "Participant label": "ac9acb52867f8141cbc1741f20bbd2766f819aa569c1191dcac3855ba53b59fc", "Participants": "0e27279b3302db0448a2acf5d923ffb09b75270c2e957bfb93f54815d2146aa4", "Pass": "ebdf8cc00bc4d9ceee633c56c63b49955769a92ca060825c9b08e4af61326e2b", + "Passed": "436fe71bb9561f0596161c4d50c7b23327b4189acaf63dc89f4f9205b67a7528", "Password": "e7cf3ef4f17c3999a94f2c6f612e8a888e5b1026878e4e19398b23bd38ec221a", "Paste a Ling memory Markdown export": "3efbebfd30ffeb6bfba59beb91961665a830db73fea934f7fed5394666a7c901", "Paste an API key in Model Workbench, then Save.": "07d4307d7f787295b9cfe97f60114a53060c0f9319a38a5c935fb3f76aceb2cc", @@ -5250,6 +5254,7 @@ "Refresh the library to load Ling built-in skills.": "c1c70580c6d18d99477517ed4d8e7b1b2d7ce26b1c7e932cb3260eeef43008c2", "Refresh to load member readiness.": "b7018c54ba477bad3f292cefce02f582783c67f459e84182d3fe06e53cfe3236", "Refresh to load the selected channel's workflow and credential state.": "290fe59158244da3b9914566b3df31b8f15d3a66fd3ffd9661da282028522f59", + "Refresh verification": "c444d5a4e36d9ec9e448c2eb179a6ef45d3594cd02c264f699a83a04bb51749f", "Refresh work summary": "ccd4dcacf0460eb1ca7749ead055fbffcd395e4f8a0c0f9292d390394b80a78e", "Refresh workflow templates": "1d5c58c6bb31f588e7992a8fe14fc3bb3ad2f52396c0302dd980d4dfdaf1acaa", "Refresh workspace": "306960dcad4c285f46eb5bffbb815be8ebe98657bfed1a901e44b68c7c9f417d", @@ -6477,6 +6482,7 @@ "Stop scheduler": "da6153337089386cf80b918ffbd2f2a43a8876a76da3ca671200898a73695940", "Stop the current reply or queue new guidance.": "ef65bd0c8e0943cd194a61f0b0714870faf9081eeebdccb2967aabf880477457", "Stop using": "ef22ba68c9e447df816d52baba2d198b9d230a7b92291b0e683c38dd39fd94d7", + "Stop verification": "4d90de345e4b79787a78322b9da1ef2fd9c70098caae9af1208c37adc972ec73", "Stopped": "1a4f630ac1b69fd00728fa8a672ded71d0eae8516cb23e78f94529113399b79b", "Stopped {title}": "a2bb8d21f8b1fc6f69326965aabb4596bb14403cfc02644e3da7c3d99bda4a7f", "Stopped at {step}: {status}.": "a911b75c20e85b6fc45f8d484a34b9f7b844947fd5de54f289305ebd339951b7", @@ -7186,6 +7192,7 @@ "Unknown provider": "59080be0f444945a37e28b48166f9ddeb710cda7f656bb3827a684fffbcf4524", "Unknown size": "fffbd4ecf2ad3884acfc08d4fe61477737434672c0307bb3c08d2e876c0fd704", "Unknown source": "cbc86fd9d9357166a3076a90fd8957b816b3a516b79dc76d84e066daf984f83f", + "Unknown status": "15eebb6f74cc8a5a2a3eb6897533ded3d7c3e52b32cf617087a4793fef134ba0", "Unknown teammate": "491ea2ec8a112ef7fe0bc1368d78168f5a9208e5f9ca8587f8dd5ce1c1c5ef1f", "unknown_outcome": "164557364fc9e34fcc5fa0329a356a7d7042c4797b82a38cf0954e95185ad11d", "unknown_provider_capability": "f7ac373b31c9f98e1b1017117bf429d8b16a92030073b5b5eb5c30de06cdec8b", @@ -7360,12 +7367,15 @@ "Vector dimensions": "9d95d3f89905adeb9db91dc8afa0187d3e97858b2ec6e5ce78c0312ce1e99254", "Vector retrieval": "48180b50b6fc222ac72ac2cb38ac7d89c9b1cccd51392b6eae57b46a8ec6cd44", "Verdict": "4a36f89dafb0a1014671aaf16e3a380a999a33836e4c3a31fe5594a7da034da5", + "Verification": "7140f4f19dec525960aabacb5741a125876c7d85f8cfa9c899cc8880651ddf61", "verified": "1c34f88707b55e6104c4eb20e71ffa3d33e414b71ef689a15fad0640d0ac58cb", "Verified": "4f7838402f37674e8ebedb6cf048c0aea66bacdb25607aa3eee4b53093d83f5c", "Verified by execution": "1c4dd61aa39a909b81e11acea882bee4dec628b47763cc4dccca63dbc5f885bb", "Verified catalog": "8f408d980918dbb3a719ced82bf7e18c80a41382f2e3d444528defc5fa24623a", "Verifies behavior, regression scenarios, and user-facing workflows.": "b0845a7154f2567bfbe99c9649c79df3019b654217110f0d1b94f477dd91c78d", + "Verify": "eea2745e2867a6772adc3e813211e6ce7b6ebd312d7e84a7c1b1aa2f8c75fd4b", "Verify before use": "687f00a3911b398fd3e9df5675ecd82fba1fd114e17e2f868f4b04914679db33", + "Verify current changes": "547006b60c4136a531a18526bb7822b118268902f4f457bff86ab03e2a5e7e3f", "Verify the key, account access, balance, and model permission for this provider.": "5ba03b132333df8c1d7b130335bfa5a4034517c93f2a8725019d0d0eec7eb401", "Verifying": "a7d4a9f301edaa61ef561aaba1847d2729a900ea00bbf358953f99d99d913666", "Verifying integration candidate": "05a26deacc8035b95bfce5888134aaa287046d2727ef374e1ae39b07a59daadc", @@ -8790,9 +8800,11 @@ "cancelling": "રદ કરી રહ્યું છે", "Cancelling": "રદ કરી રહ્યું છે", "Candidate approved for draft": "ડ્રાફ્ટ માટે ઉમેદવાર મંજૂર", + "Candidate changed since verification": "ચકાસણી બાદ ઉમેદવાર બદલાયો", "Candidate cluster is not bound to a channel.": "ઉમેદવાર ક્લસ્ટર ચેનલ સાથે બંધાયેલ નથી.", "Candidate Clusters": "ઉમેદવાર ક્લસ્ટરો", "Candidate commit: {commit}": "ઉમેદવાર પ્રતિબદ્ધ: {commit}", + "Candidate comparison unavailable": "ઉમેદવારની સરખામણી અનુપલબ્ધ", "Candidate details": "ઉમેદવારની વિગતો", "Candidate generation": "ઉમેદવાર પેઢી", "Candidate generation and recording": "ઉમેદવાર જનરેશન અને રેકોર્ડિંગ", @@ -8966,6 +8978,7 @@ "Check member status": "સભ્ય સ્થિતિ તપાસો", "Check member status to load readiness.": "તત્પરતા લોડ કરવા માટે સભ્ય સ્થિતિ તપાસો.", "Check needed": "તપાસ જરૂરી છે", + "Check output": "આઉટપુટ તપાસો", "Check passed": "ચેક પાસ થયો", "Check preset": "પ્રીસેટ તપાસો", "Check provider": "પ્રદાતા તપાસો", @@ -12354,6 +12367,7 @@ "Participant label": "સહભાગી લેબલ", "Participants": "સહભાગીઓ", "Pass": "પાસ", + "Passed": "પાસ થયા", "Password": "પાસવર્ડ", "Paste a Ling memory Markdown export": "Ling મેમરી માર્કડાઉન નિકાસ પેસ્ટ કરો", "Paste an API key in Model Workbench, then Save.": "મોડલ વર્કબેન્ચમાં API કી પેસ્ટ કરો, પછી સાચવો.", @@ -12959,6 +12973,7 @@ "Refresh the library to load Ling built-in skills.": "Ling બિલ્ટ-ઇન કુશળતા લોડ કરવા માટે લાઇબ્રેરીને તાજું કરો.", "Refresh to load member readiness.": "સભ્યોની તૈયારી લોડ કરવા માટે તાજું કરો.", "Refresh to load the selected channel's workflow and credential state.": "પસંદ કરેલ ચેનલના વર્કફ્લો અને ઓળખપત્રની સ્થિતિ લોડ કરવા માટે તાજું કરો.", + "Refresh verification": "ચકાસણી તાજું કરો", "Refresh work summary": "Refresh work summary", "Refresh workflow templates": "Refresh workflow templates", "Refresh workspace": "કાર્યસ્થળ તાજું કરો", @@ -14186,6 +14201,7 @@ "Stop scheduler": "શેડ્યૂલર રોકો", "Stop the current reply or queue new guidance.": "વર્તમાન જવાબ રોકો અથવા કતાર નવા માર્ગદર્શન.", "Stop using": "ઉપયોગ કરવાનું બંધ કરો", + "Stop verification": "ચકાસણી રોકો", "Stopped": "અટકી ગયો", "Stopped {title}": "{title} બંધ કર્યું", "Stopped at {step}: {status}.": "{step} પર રોકાયેલ: {status}.", @@ -14895,6 +14911,7 @@ "Unknown provider": "અજ્ઞાત પ્રદાતા", "Unknown size": "અજ્ઞાત કદ", "Unknown source": "અજ્ઞાત સ્ત્રોત", + "Unknown status": "અજ્ઞાત સ્થિતિ", "Unknown teammate": "અજાણ્યો સાથી", "unknown_outcome": "પરિણામ અજ્ઞાત", "unknown_provider_capability": "અજ્ઞાત પ્રદાતા ક્ષમતા", @@ -15069,12 +15086,15 @@ "Vector dimensions": "વેક્ટર પરિમાણો", "Vector retrieval": "વેક્ટર પુનઃપ્રાપ્તિ", "Verdict": "ચુકાદો", + "Verification": "ચકાસણી", "verified": "ચકાસાયેલ", "Verified": "ચકાસાયેલ", "Verified by execution": "અમલ દ્વારા ચકાસાયેલ", "Verified catalog": "ચકાસાયેલ કેટલોગ", "Verifies behavior, regression scenarios, and user-facing workflows.": "વર્તન, રીગ્રેસન દૃશ્યો અને વપરાશકર્તા-સામનો વર્કફ્લો ચકાસે છે.", + "Verify": "ચકાસો", "Verify before use": "ઉપયોગ કરતા પહેલા ચકાસો", + "Verify current changes": "વર્તમાન ફેરફારો ચકાસો", "Verify the key, account access, balance, and model permission for this provider.": "આ પ્રદાતા માટે કી, એકાઉન્ટ એક્સેસ, બેલેન્સ અને મોડેલની પરવાનગી ચકાસો.", "Verifying": "ચકાસણી કરી રહ્યું છે", "Verifying integration candidate": "એકીકરણ ઉમેદવારની ચકાસણી", diff --git a/packages/localization/catalogs/hi-IN.json b/packages/localization/catalogs/hi-IN.json index a72518e52..d59a959e9 100644 --- a/packages/localization/catalogs/hi-IN.json +++ b/packages/localization/catalogs/hi-IN.json @@ -1,6 +1,6 @@ { "locale": "hi-IN", - "sourceRevision": "72f77c6fb25583bb1468e040086563074b7830e025f2fc657144dc0e4aad37c1", + "sourceRevision": "214db76d79f1a5c0fd915c110a2ead6dbb978b58398846e982a0c1ff0cb53108", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -1081,9 +1081,11 @@ "cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Candidate approved for draft": "59a57b9b459b3215e76b651f73f6521bc1bd71fa66bb52e046368a559db6632b", + "Candidate changed since verification": "a2808e03661077a04403dab2204b7ce8d78310c296600bd03c5766a754f216a6", "Candidate cluster is not bound to a channel.": "6066a4e8725d065a7c2b8d2c8974a60c41c0a94124deeabd972f620ddd815786", "Candidate Clusters": "b617f8ce5325fa8984c324816b08d3a26c05dac3c3276bcc4f4ab7196222dbe4", "Candidate commit: {commit}": "09bfd331d31184edc3eb1f8eab93bb1f6bc0cb640c0d1e1b53178e9eca4babbd", + "Candidate comparison unavailable": "f3bcf514a4febc720648d70be4d772e8ed9228ec5e7651edda3c229ddab6b627", "Candidate details": "17394d22b095121d9f0d77ff6d121c01383175fa17242bcd9f04bd61f182b5c9", "Candidate generation": "9d360a71a5d82995775df6401ac1d1f7257a68ad462bab70abb494e14239d3d3", "Candidate generation and recording": "d3af53b1912f971078c187ce9260949e68e49f0c2ea954c216a06fe2baa2acc9", @@ -1257,6 +1259,7 @@ "Check member status": "ff155af014d0b6e94cbf2fca3b01cf8d5725732f178eee985083478adb4a62f5", "Check member status to load readiness.": "6f7f338e22e626b134643fbaec898cf8e8efd19b85eeb6193b4ca0d5d63c4528", "Check needed": "561a32f0c83e5a4fe8d77d891bd4b954d514ea021b4a18e68a3607f5d8747841", + "Check output": "250d2e9675d6d399c668a5e496d0caf2913e14b5ea21036fa8ee2dad94ad4d46", "Check passed": "2f6697a2389d7a3c059e7c0435569b37c78275d752bdf9b9e1c5d94f3d0eeeaf", "Check preset": "85e9cc57cbd02e87de7d5213d2627e64f0ae2e3211dd62045b7c2e3dc2bcd45c", "Check provider": "655b6b054c32b6850e6bc245f79b03cb2513ab227e96e7e4a6fb3269daf60119", @@ -4645,6 +4648,7 @@ "Participant label": "ac9acb52867f8141cbc1741f20bbd2766f819aa569c1191dcac3855ba53b59fc", "Participants": "0e27279b3302db0448a2acf5d923ffb09b75270c2e957bfb93f54815d2146aa4", "Pass": "ebdf8cc00bc4d9ceee633c56c63b49955769a92ca060825c9b08e4af61326e2b", + "Passed": "436fe71bb9561f0596161c4d50c7b23327b4189acaf63dc89f4f9205b67a7528", "Password": "e7cf3ef4f17c3999a94f2c6f612e8a888e5b1026878e4e19398b23bd38ec221a", "Paste a Ling memory Markdown export": "3efbebfd30ffeb6bfba59beb91961665a830db73fea934f7fed5394666a7c901", "Paste an API key in Model Workbench, then Save.": "07d4307d7f787295b9cfe97f60114a53060c0f9319a38a5c935fb3f76aceb2cc", @@ -5250,6 +5254,7 @@ "Refresh the library to load Ling built-in skills.": "c1c70580c6d18d99477517ed4d8e7b1b2d7ce26b1c7e932cb3260eeef43008c2", "Refresh to load member readiness.": "b7018c54ba477bad3f292cefce02f582783c67f459e84182d3fe06e53cfe3236", "Refresh to load the selected channel's workflow and credential state.": "290fe59158244da3b9914566b3df31b8f15d3a66fd3ffd9661da282028522f59", + "Refresh verification": "c444d5a4e36d9ec9e448c2eb179a6ef45d3594cd02c264f699a83a04bb51749f", "Refresh work summary": "ccd4dcacf0460eb1ca7749ead055fbffcd395e4f8a0c0f9292d390394b80a78e", "Refresh workflow templates": "1d5c58c6bb31f588e7992a8fe14fc3bb3ad2f52396c0302dd980d4dfdaf1acaa", "Refresh workspace": "306960dcad4c285f46eb5bffbb815be8ebe98657bfed1a901e44b68c7c9f417d", @@ -6477,6 +6482,7 @@ "Stop scheduler": "da6153337089386cf80b918ffbd2f2a43a8876a76da3ca671200898a73695940", "Stop the current reply or queue new guidance.": "ef65bd0c8e0943cd194a61f0b0714870faf9081eeebdccb2967aabf880477457", "Stop using": "ef22ba68c9e447df816d52baba2d198b9d230a7b92291b0e683c38dd39fd94d7", + "Stop verification": "4d90de345e4b79787a78322b9da1ef2fd9c70098caae9af1208c37adc972ec73", "Stopped": "1a4f630ac1b69fd00728fa8a672ded71d0eae8516cb23e78f94529113399b79b", "Stopped {title}": "a2bb8d21f8b1fc6f69326965aabb4596bb14403cfc02644e3da7c3d99bda4a7f", "Stopped at {step}: {status}.": "a911b75c20e85b6fc45f8d484a34b9f7b844947fd5de54f289305ebd339951b7", @@ -7186,6 +7192,7 @@ "Unknown provider": "59080be0f444945a37e28b48166f9ddeb710cda7f656bb3827a684fffbcf4524", "Unknown size": "fffbd4ecf2ad3884acfc08d4fe61477737434672c0307bb3c08d2e876c0fd704", "Unknown source": "cbc86fd9d9357166a3076a90fd8957b816b3a516b79dc76d84e066daf984f83f", + "Unknown status": "15eebb6f74cc8a5a2a3eb6897533ded3d7c3e52b32cf617087a4793fef134ba0", "Unknown teammate": "491ea2ec8a112ef7fe0bc1368d78168f5a9208e5f9ca8587f8dd5ce1c1c5ef1f", "unknown_outcome": "164557364fc9e34fcc5fa0329a356a7d7042c4797b82a38cf0954e95185ad11d", "unknown_provider_capability": "f7ac373b31c9f98e1b1017117bf429d8b16a92030073b5b5eb5c30de06cdec8b", @@ -7360,12 +7367,15 @@ "Vector dimensions": "9d95d3f89905adeb9db91dc8afa0187d3e97858b2ec6e5ce78c0312ce1e99254", "Vector retrieval": "48180b50b6fc222ac72ac2cb38ac7d89c9b1cccd51392b6eae57b46a8ec6cd44", "Verdict": "4a36f89dafb0a1014671aaf16e3a380a999a33836e4c3a31fe5594a7da034da5", + "Verification": "7140f4f19dec525960aabacb5741a125876c7d85f8cfa9c899cc8880651ddf61", "verified": "1c34f88707b55e6104c4eb20e71ffa3d33e414b71ef689a15fad0640d0ac58cb", "Verified": "4f7838402f37674e8ebedb6cf048c0aea66bacdb25607aa3eee4b53093d83f5c", "Verified by execution": "1c4dd61aa39a909b81e11acea882bee4dec628b47763cc4dccca63dbc5f885bb", "Verified catalog": "8f408d980918dbb3a719ced82bf7e18c80a41382f2e3d444528defc5fa24623a", "Verifies behavior, regression scenarios, and user-facing workflows.": "b0845a7154f2567bfbe99c9649c79df3019b654217110f0d1b94f477dd91c78d", + "Verify": "eea2745e2867a6772adc3e813211e6ce7b6ebd312d7e84a7c1b1aa2f8c75fd4b", "Verify before use": "687f00a3911b398fd3e9df5675ecd82fba1fd114e17e2f868f4b04914679db33", + "Verify current changes": "547006b60c4136a531a18526bb7822b118268902f4f457bff86ab03e2a5e7e3f", "Verify the key, account access, balance, and model permission for this provider.": "5ba03b132333df8c1d7b130335bfa5a4034517c93f2a8725019d0d0eec7eb401", "Verifying": "a7d4a9f301edaa61ef561aaba1847d2729a900ea00bbf358953f99d99d913666", "Verifying integration candidate": "05a26deacc8035b95bfce5888134aaa287046d2727ef374e1ae39b07a59daadc", @@ -8790,9 +8800,11 @@ "cancelling": "रद्द कर रहा है", "Cancelling": "रद्द कर रहा है", "Candidate approved for draft": "ड्राफ्ट के लिए उम्मीदवार को मंजूरी दी गई", + "Candidate changed since verification": "सत्यापन के बाद से उम्मीदवार बदल गया", "Candidate cluster is not bound to a channel.": "उम्मीदवार क्लस्टर किसी चैनल से बंधा नहीं है।", "Candidate Clusters": "उम्मीदवार क्लस्टर", "Candidate commit: {commit}": "उम्मीदवार प्रतिबद्ध: {commit}", + "Candidate comparison unavailable": "उम्मीदवार तुलना उपलब्ध नहीं है", "Candidate details": "उम्मीदवार का विवरण", "Candidate generation": "उम्मीदवार पीढ़ी", "Candidate generation and recording": "उम्मीदवार निर्माण और रिकॉर्डिंग", @@ -8966,6 +8978,7 @@ "Check member status": "सदस्य स्थिति जांचें", "Check member status to load readiness.": "लोड करने की तैयारी के लिए सदस्य की स्थिति जांचें।", "Check needed": "जांच की जरूरत है", + "Check output": "आउटपुट जांचें", "Check passed": "चेक पास हो गया", "Check preset": "प्रीसेट जांचें", "Check provider": "प्रदाता की जाँच करें", @@ -12354,6 +12367,7 @@ "Participant label": "प्रतिभागी लेबल", "Participants": "प्रतिभागियों", "Pass": "उत्तीर्ण", + "Passed": "उत्तीर्ण", "Password": "पासवर्ड", "Paste a Ling memory Markdown export": "Ling मेमोरी मार्कडाउन एक्सपोर्ट चिपकाएँ", "Paste an API key in Model Workbench, then Save.": "मॉडल वर्कबेंच में API कुंजी चिपकाएँ, फिर सहेजें।", @@ -12959,6 +12973,7 @@ "Refresh the library to load Ling built-in skills.": "Ling अंतर्निहित कौशल को लोड करने के लिए लाइब्रेरी को ताज़ा करें।", "Refresh to load member readiness.": "सदस्य की तैयारी को लोड करने के लिए ताज़ा करें।", "Refresh to load the selected channel's workflow and credential state.": "चयनित चैनल के वर्कफ़्लो और क्रेडेंशियल स्थिति को लोड करने के लिए रीफ़्रेश करें।", + "Refresh verification": "सत्यापन ताज़ा करें", "Refresh work summary": "Refresh work summary", "Refresh workflow templates": "Refresh workflow templates", "Refresh workspace": "कार्यस्थान ताज़ा करें", @@ -14186,6 +14201,7 @@ "Stop scheduler": "शेड्यूलर बंद करो", "Stop the current reply or queue new guidance.": "वर्तमान उत्तर रोकें या नया मार्गदर्शन कतारबद्ध करें।", "Stop using": "प्रयोग बंद करो", + "Stop verification": "सत्यापन बंद करो", "Stopped": "रुक गया", "Stopped {title}": "{title} बंद कर दिया", "Stopped at {step}: {status}.": "{step} पर रुका: {status}।", @@ -14895,6 +14911,7 @@ "Unknown provider": "अज्ञात प्रदाता", "Unknown size": "अज्ञात आकार", "Unknown source": "अज्ञात स्रोत", + "Unknown status": "अज्ञात स्थिति", "Unknown teammate": "अज्ञात साथी", "unknown_outcome": "परिणाम अज्ञात", "unknown_provider_capability": "अज्ञात प्रदाता क्षमता", @@ -15069,12 +15086,15 @@ "Vector dimensions": "वेक्टर आयाम", "Vector retrieval": "वेक्टर पुनर्प्राप्ति", "Verdict": "निर्णय", + "Verification": "सत्यापन", "verified": "सत्यापित", "Verified": "सत्यापित", "Verified by execution": "निष्पादन द्वारा सत्यापित", "Verified catalog": "सत्यापित कैटलॉग", "Verifies behavior, regression scenarios, and user-facing workflows.": "व्यवहार, प्रतिगमन परिदृश्य और उपयोगकर्ता-सामना वाले वर्कफ़्लो को सत्यापित करता है।", + "Verify": "सत्यापित करें", "Verify before use": "उपयोग से पहले सत्यापित करें", + "Verify current changes": "वर्तमान परिवर्तन सत्यापित करें", "Verify the key, account access, balance, and model permission for this provider.": "इस प्रदाता के लिए कुंजी, खाता पहुंच, शेष राशि और मॉडल अनुमति सत्यापित करें।", "Verifying": "सत्यापन", "Verifying integration candidate": "एकीकरण उम्मीदवार का सत्यापन", diff --git a/packages/localization/catalogs/hr-HR.json b/packages/localization/catalogs/hr-HR.json index 62fe4b24c..9d5d27660 100644 --- a/packages/localization/catalogs/hr-HR.json +++ b/packages/localization/catalogs/hr-HR.json @@ -1,6 +1,6 @@ { "locale": "hr-HR", - "sourceRevision": "72f77c6fb25583bb1468e040086563074b7830e025f2fc657144dc0e4aad37c1", + "sourceRevision": "214db76d79f1a5c0fd915c110a2ead6dbb978b58398846e982a0c1ff0cb53108", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -1081,9 +1081,11 @@ "cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Candidate approved for draft": "59a57b9b459b3215e76b651f73f6521bc1bd71fa66bb52e046368a559db6632b", + "Candidate changed since verification": "a2808e03661077a04403dab2204b7ce8d78310c296600bd03c5766a754f216a6", "Candidate cluster is not bound to a channel.": "6066a4e8725d065a7c2b8d2c8974a60c41c0a94124deeabd972f620ddd815786", "Candidate Clusters": "b617f8ce5325fa8984c324816b08d3a26c05dac3c3276bcc4f4ab7196222dbe4", "Candidate commit: {commit}": "09bfd331d31184edc3eb1f8eab93bb1f6bc0cb640c0d1e1b53178e9eca4babbd", + "Candidate comparison unavailable": "f3bcf514a4febc720648d70be4d772e8ed9228ec5e7651edda3c229ddab6b627", "Candidate details": "17394d22b095121d9f0d77ff6d121c01383175fa17242bcd9f04bd61f182b5c9", "Candidate generation": "9d360a71a5d82995775df6401ac1d1f7257a68ad462bab70abb494e14239d3d3", "Candidate generation and recording": "d3af53b1912f971078c187ce9260949e68e49f0c2ea954c216a06fe2baa2acc9", @@ -1257,6 +1259,7 @@ "Check member status": "ff155af014d0b6e94cbf2fca3b01cf8d5725732f178eee985083478adb4a62f5", "Check member status to load readiness.": "6f7f338e22e626b134643fbaec898cf8e8efd19b85eeb6193b4ca0d5d63c4528", "Check needed": "561a32f0c83e5a4fe8d77d891bd4b954d514ea021b4a18e68a3607f5d8747841", + "Check output": "250d2e9675d6d399c668a5e496d0caf2913e14b5ea21036fa8ee2dad94ad4d46", "Check passed": "2f6697a2389d7a3c059e7c0435569b37c78275d752bdf9b9e1c5d94f3d0eeeaf", "Check preset": "85e9cc57cbd02e87de7d5213d2627e64f0ae2e3211dd62045b7c2e3dc2bcd45c", "Check provider": "655b6b054c32b6850e6bc245f79b03cb2513ab227e96e7e4a6fb3269daf60119", @@ -4645,6 +4648,7 @@ "Participant label": "ac9acb52867f8141cbc1741f20bbd2766f819aa569c1191dcac3855ba53b59fc", "Participants": "0e27279b3302db0448a2acf5d923ffb09b75270c2e957bfb93f54815d2146aa4", "Pass": "ebdf8cc00bc4d9ceee633c56c63b49955769a92ca060825c9b08e4af61326e2b", + "Passed": "436fe71bb9561f0596161c4d50c7b23327b4189acaf63dc89f4f9205b67a7528", "Password": "e7cf3ef4f17c3999a94f2c6f612e8a888e5b1026878e4e19398b23bd38ec221a", "Paste a Ling memory Markdown export": "3efbebfd30ffeb6bfba59beb91961665a830db73fea934f7fed5394666a7c901", "Paste an API key in Model Workbench, then Save.": "07d4307d7f787295b9cfe97f60114a53060c0f9319a38a5c935fb3f76aceb2cc", @@ -5250,6 +5254,7 @@ "Refresh the library to load Ling built-in skills.": "c1c70580c6d18d99477517ed4d8e7b1b2d7ce26b1c7e932cb3260eeef43008c2", "Refresh to load member readiness.": "b7018c54ba477bad3f292cefce02f582783c67f459e84182d3fe06e53cfe3236", "Refresh to load the selected channel's workflow and credential state.": "290fe59158244da3b9914566b3df31b8f15d3a66fd3ffd9661da282028522f59", + "Refresh verification": "c444d5a4e36d9ec9e448c2eb179a6ef45d3594cd02c264f699a83a04bb51749f", "Refresh work summary": "ccd4dcacf0460eb1ca7749ead055fbffcd395e4f8a0c0f9292d390394b80a78e", "Refresh workflow templates": "1d5c58c6bb31f588e7992a8fe14fc3bb3ad2f52396c0302dd980d4dfdaf1acaa", "Refresh workspace": "306960dcad4c285f46eb5bffbb815be8ebe98657bfed1a901e44b68c7c9f417d", @@ -6477,6 +6482,7 @@ "Stop scheduler": "da6153337089386cf80b918ffbd2f2a43a8876a76da3ca671200898a73695940", "Stop the current reply or queue new guidance.": "ef65bd0c8e0943cd194a61f0b0714870faf9081eeebdccb2967aabf880477457", "Stop using": "ef22ba68c9e447df816d52baba2d198b9d230a7b92291b0e683c38dd39fd94d7", + "Stop verification": "4d90de345e4b79787a78322b9da1ef2fd9c70098caae9af1208c37adc972ec73", "Stopped": "1a4f630ac1b69fd00728fa8a672ded71d0eae8516cb23e78f94529113399b79b", "Stopped {title}": "a2bb8d21f8b1fc6f69326965aabb4596bb14403cfc02644e3da7c3d99bda4a7f", "Stopped at {step}: {status}.": "a911b75c20e85b6fc45f8d484a34b9f7b844947fd5de54f289305ebd339951b7", @@ -7186,6 +7192,7 @@ "Unknown provider": "59080be0f444945a37e28b48166f9ddeb710cda7f656bb3827a684fffbcf4524", "Unknown size": "fffbd4ecf2ad3884acfc08d4fe61477737434672c0307bb3c08d2e876c0fd704", "Unknown source": "cbc86fd9d9357166a3076a90fd8957b816b3a516b79dc76d84e066daf984f83f", + "Unknown status": "15eebb6f74cc8a5a2a3eb6897533ded3d7c3e52b32cf617087a4793fef134ba0", "Unknown teammate": "491ea2ec8a112ef7fe0bc1368d78168f5a9208e5f9ca8587f8dd5ce1c1c5ef1f", "unknown_outcome": "164557364fc9e34fcc5fa0329a356a7d7042c4797b82a38cf0954e95185ad11d", "unknown_provider_capability": "f7ac373b31c9f98e1b1017117bf429d8b16a92030073b5b5eb5c30de06cdec8b", @@ -7360,12 +7367,15 @@ "Vector dimensions": "9d95d3f89905adeb9db91dc8afa0187d3e97858b2ec6e5ce78c0312ce1e99254", "Vector retrieval": "48180b50b6fc222ac72ac2cb38ac7d89c9b1cccd51392b6eae57b46a8ec6cd44", "Verdict": "4a36f89dafb0a1014671aaf16e3a380a999a33836e4c3a31fe5594a7da034da5", + "Verification": "7140f4f19dec525960aabacb5741a125876c7d85f8cfa9c899cc8880651ddf61", "verified": "1c34f88707b55e6104c4eb20e71ffa3d33e414b71ef689a15fad0640d0ac58cb", "Verified": "4f7838402f37674e8ebedb6cf048c0aea66bacdb25607aa3eee4b53093d83f5c", "Verified by execution": "1c4dd61aa39a909b81e11acea882bee4dec628b47763cc4dccca63dbc5f885bb", "Verified catalog": "8f408d980918dbb3a719ced82bf7e18c80a41382f2e3d444528defc5fa24623a", "Verifies behavior, regression scenarios, and user-facing workflows.": "b0845a7154f2567bfbe99c9649c79df3019b654217110f0d1b94f477dd91c78d", + "Verify": "eea2745e2867a6772adc3e813211e6ce7b6ebd312d7e84a7c1b1aa2f8c75fd4b", "Verify before use": "687f00a3911b398fd3e9df5675ecd82fba1fd114e17e2f868f4b04914679db33", + "Verify current changes": "547006b60c4136a531a18526bb7822b118268902f4f457bff86ab03e2a5e7e3f", "Verify the key, account access, balance, and model permission for this provider.": "5ba03b132333df8c1d7b130335bfa5a4034517c93f2a8725019d0d0eec7eb401", "Verifying": "a7d4a9f301edaa61ef561aaba1847d2729a900ea00bbf358953f99d99d913666", "Verifying integration candidate": "05a26deacc8035b95bfce5888134aaa287046d2727ef374e1ae39b07a59daadc", @@ -8790,9 +8800,11 @@ "cancelling": "Otkazivanje", "Cancelling": "Otkazivanje", "Candidate approved for draft": "Kandidat odobren za draft", + "Candidate changed since verification": "Kandidat je promijenjen od verifikacije", "Candidate cluster is not bound to a channel.": "Klaster kandidata nije vezan za kanal.", "Candidate Clusters": "Klasteri kandidati", "Candidate commit: {commit}": "Obaveza kandidata: {commit}", + "Candidate comparison unavailable": "Usporedba kandidata nije dostupna", "Candidate details": "Podaci o kandidatu", "Candidate generation": "Generacija kandidata", "Candidate generation and recording": "Generiranje i evidentiranje kandidata", @@ -8966,6 +8978,7 @@ "Check member status": "Provjerite status člana", "Check member status to load readiness.": "Provjerite status člana za učitavanje spremnosti.", "Check needed": "Potrebna provjera", + "Check output": "Provjerite izlaz", "Check passed": "Provjera je prošla", "Check preset": "Provjerite unaprijed postavljeno", "Check provider": "Provjerite pružatelja usluga", @@ -12354,6 +12367,7 @@ "Participant label": "Oznaka sudionika", "Participants": "Sudionici", "Pass": "Proći", + "Passed": "prošao", "Password": "Lozinka", "Paste a Ling memory Markdown export": "Zalijepite izvoz oznake memorije Ling", "Paste an API key in Model Workbench, then Save.": "Zalijepite ključ API u Model Workbench, zatim Spremite.", @@ -12959,6 +12973,7 @@ "Refresh the library to load Ling built-in skills.": "Osvježite biblioteku za učitavanje Ling ugrađenih vještina.", "Refresh to load member readiness.": "Osvježite za učitavanje spremnosti člana.", "Refresh to load the selected channel's workflow and credential state.": "Osvježite za učitavanje tijeka rada odabranog kanala i stanja vjerodajnica.", + "Refresh verification": "Osvježi potvrdu", "Refresh work summary": "Refresh work summary", "Refresh workflow templates": "Refresh workflow templates", "Refresh workspace": "Osvježi radni prostor", @@ -14186,6 +14201,7 @@ "Stop scheduler": "Zaustavi planer", "Stop the current reply or queue new guidance.": "Zaustavite trenutni odgovor ili stavite nove upute u red čekanja.", "Stop using": "Prestanite koristiti", + "Stop verification": "Zaustavi provjeru", "Stopped": "Zaustavljeno", "Stopped {title}": "Zaustavljen {title}", "Stopped at {step}: {status}.": "Zaustavljeno na {step}: {status}.", @@ -14895,6 +14911,7 @@ "Unknown provider": "Nepoznati pružatelj usluga", "Unknown size": "Nepoznata veličina", "Unknown source": "Nepoznati izvor", + "Unknown status": "Nepoznat status", "Unknown teammate": "Nepoznati suigrač", "unknown_outcome": "Ishod nepoznat", "unknown_provider_capability": "Mogućnost nepoznatog pružatelja usluga", @@ -15069,12 +15086,15 @@ "Vector dimensions": "Vektorske dimenzije", "Vector retrieval": "Dohvaćanje vektora", "Verdict": "Presuda", + "Verification": "Provjera", "verified": "provjereno", "Verified": "Provjereno", "Verified by execution": "Ovjereno izvršenjem", "Verified catalog": "Provjereni katalog", "Verifies behavior, regression scenarios, and user-facing workflows.": "Provjerava ponašanje, scenarije regresije i tijekove rada okrenute korisniku.", + "Verify": "Potvrdi", "Verify before use": "Provjerite prije upotrebe", + "Verify current changes": "Provjerite trenutne promjene", "Verify the key, account access, balance, and model permission for this provider.": "Provjerite ključ, pristup računu, stanje i dopuštenje modela za ovog pružatelja usluga.", "Verifying": "Provjera", "Verifying integration candidate": "Provjera kandidata za integraciju", diff --git a/packages/localization/catalogs/hu-HU.json b/packages/localization/catalogs/hu-HU.json index 73683087f..5a3c639d6 100644 --- a/packages/localization/catalogs/hu-HU.json +++ b/packages/localization/catalogs/hu-HU.json @@ -1,6 +1,6 @@ { "locale": "hu-HU", - "sourceRevision": "72f77c6fb25583bb1468e040086563074b7830e025f2fc657144dc0e4aad37c1", + "sourceRevision": "214db76d79f1a5c0fd915c110a2ead6dbb978b58398846e982a0c1ff0cb53108", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -1081,9 +1081,11 @@ "cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Candidate approved for draft": "59a57b9b459b3215e76b651f73f6521bc1bd71fa66bb52e046368a559db6632b", + "Candidate changed since verification": "a2808e03661077a04403dab2204b7ce8d78310c296600bd03c5766a754f216a6", "Candidate cluster is not bound to a channel.": "6066a4e8725d065a7c2b8d2c8974a60c41c0a94124deeabd972f620ddd815786", "Candidate Clusters": "b617f8ce5325fa8984c324816b08d3a26c05dac3c3276bcc4f4ab7196222dbe4", "Candidate commit: {commit}": "09bfd331d31184edc3eb1f8eab93bb1f6bc0cb640c0d1e1b53178e9eca4babbd", + "Candidate comparison unavailable": "f3bcf514a4febc720648d70be4d772e8ed9228ec5e7651edda3c229ddab6b627", "Candidate details": "17394d22b095121d9f0d77ff6d121c01383175fa17242bcd9f04bd61f182b5c9", "Candidate generation": "9d360a71a5d82995775df6401ac1d1f7257a68ad462bab70abb494e14239d3d3", "Candidate generation and recording": "d3af53b1912f971078c187ce9260949e68e49f0c2ea954c216a06fe2baa2acc9", @@ -1257,6 +1259,7 @@ "Check member status": "ff155af014d0b6e94cbf2fca3b01cf8d5725732f178eee985083478adb4a62f5", "Check member status to load readiness.": "6f7f338e22e626b134643fbaec898cf8e8efd19b85eeb6193b4ca0d5d63c4528", "Check needed": "561a32f0c83e5a4fe8d77d891bd4b954d514ea021b4a18e68a3607f5d8747841", + "Check output": "250d2e9675d6d399c668a5e496d0caf2913e14b5ea21036fa8ee2dad94ad4d46", "Check passed": "2f6697a2389d7a3c059e7c0435569b37c78275d752bdf9b9e1c5d94f3d0eeeaf", "Check preset": "85e9cc57cbd02e87de7d5213d2627e64f0ae2e3211dd62045b7c2e3dc2bcd45c", "Check provider": "655b6b054c32b6850e6bc245f79b03cb2513ab227e96e7e4a6fb3269daf60119", @@ -4645,6 +4648,7 @@ "Participant label": "ac9acb52867f8141cbc1741f20bbd2766f819aa569c1191dcac3855ba53b59fc", "Participants": "0e27279b3302db0448a2acf5d923ffb09b75270c2e957bfb93f54815d2146aa4", "Pass": "ebdf8cc00bc4d9ceee633c56c63b49955769a92ca060825c9b08e4af61326e2b", + "Passed": "436fe71bb9561f0596161c4d50c7b23327b4189acaf63dc89f4f9205b67a7528", "Password": "e7cf3ef4f17c3999a94f2c6f612e8a888e5b1026878e4e19398b23bd38ec221a", "Paste a Ling memory Markdown export": "3efbebfd30ffeb6bfba59beb91961665a830db73fea934f7fed5394666a7c901", "Paste an API key in Model Workbench, then Save.": "07d4307d7f787295b9cfe97f60114a53060c0f9319a38a5c935fb3f76aceb2cc", @@ -5250,6 +5254,7 @@ "Refresh the library to load Ling built-in skills.": "c1c70580c6d18d99477517ed4d8e7b1b2d7ce26b1c7e932cb3260eeef43008c2", "Refresh to load member readiness.": "b7018c54ba477bad3f292cefce02f582783c67f459e84182d3fe06e53cfe3236", "Refresh to load the selected channel's workflow and credential state.": "290fe59158244da3b9914566b3df31b8f15d3a66fd3ffd9661da282028522f59", + "Refresh verification": "c444d5a4e36d9ec9e448c2eb179a6ef45d3594cd02c264f699a83a04bb51749f", "Refresh work summary": "ccd4dcacf0460eb1ca7749ead055fbffcd395e4f8a0c0f9292d390394b80a78e", "Refresh workflow templates": "1d5c58c6bb31f588e7992a8fe14fc3bb3ad2f52396c0302dd980d4dfdaf1acaa", "Refresh workspace": "306960dcad4c285f46eb5bffbb815be8ebe98657bfed1a901e44b68c7c9f417d", @@ -6477,6 +6482,7 @@ "Stop scheduler": "da6153337089386cf80b918ffbd2f2a43a8876a76da3ca671200898a73695940", "Stop the current reply or queue new guidance.": "ef65bd0c8e0943cd194a61f0b0714870faf9081eeebdccb2967aabf880477457", "Stop using": "ef22ba68c9e447df816d52baba2d198b9d230a7b92291b0e683c38dd39fd94d7", + "Stop verification": "4d90de345e4b79787a78322b9da1ef2fd9c70098caae9af1208c37adc972ec73", "Stopped": "1a4f630ac1b69fd00728fa8a672ded71d0eae8516cb23e78f94529113399b79b", "Stopped {title}": "a2bb8d21f8b1fc6f69326965aabb4596bb14403cfc02644e3da7c3d99bda4a7f", "Stopped at {step}: {status}.": "a911b75c20e85b6fc45f8d484a34b9f7b844947fd5de54f289305ebd339951b7", @@ -7186,6 +7192,7 @@ "Unknown provider": "59080be0f444945a37e28b48166f9ddeb710cda7f656bb3827a684fffbcf4524", "Unknown size": "fffbd4ecf2ad3884acfc08d4fe61477737434672c0307bb3c08d2e876c0fd704", "Unknown source": "cbc86fd9d9357166a3076a90fd8957b816b3a516b79dc76d84e066daf984f83f", + "Unknown status": "15eebb6f74cc8a5a2a3eb6897533ded3d7c3e52b32cf617087a4793fef134ba0", "Unknown teammate": "491ea2ec8a112ef7fe0bc1368d78168f5a9208e5f9ca8587f8dd5ce1c1c5ef1f", "unknown_outcome": "164557364fc9e34fcc5fa0329a356a7d7042c4797b82a38cf0954e95185ad11d", "unknown_provider_capability": "f7ac373b31c9f98e1b1017117bf429d8b16a92030073b5b5eb5c30de06cdec8b", @@ -7360,12 +7367,15 @@ "Vector dimensions": "9d95d3f89905adeb9db91dc8afa0187d3e97858b2ec6e5ce78c0312ce1e99254", "Vector retrieval": "48180b50b6fc222ac72ac2cb38ac7d89c9b1cccd51392b6eae57b46a8ec6cd44", "Verdict": "4a36f89dafb0a1014671aaf16e3a380a999a33836e4c3a31fe5594a7da034da5", + "Verification": "7140f4f19dec525960aabacb5741a125876c7d85f8cfa9c899cc8880651ddf61", "verified": "1c34f88707b55e6104c4eb20e71ffa3d33e414b71ef689a15fad0640d0ac58cb", "Verified": "4f7838402f37674e8ebedb6cf048c0aea66bacdb25607aa3eee4b53093d83f5c", "Verified by execution": "1c4dd61aa39a909b81e11acea882bee4dec628b47763cc4dccca63dbc5f885bb", "Verified catalog": "8f408d980918dbb3a719ced82bf7e18c80a41382f2e3d444528defc5fa24623a", "Verifies behavior, regression scenarios, and user-facing workflows.": "b0845a7154f2567bfbe99c9649c79df3019b654217110f0d1b94f477dd91c78d", + "Verify": "eea2745e2867a6772adc3e813211e6ce7b6ebd312d7e84a7c1b1aa2f8c75fd4b", "Verify before use": "687f00a3911b398fd3e9df5675ecd82fba1fd114e17e2f868f4b04914679db33", + "Verify current changes": "547006b60c4136a531a18526bb7822b118268902f4f457bff86ab03e2a5e7e3f", "Verify the key, account access, balance, and model permission for this provider.": "5ba03b132333df8c1d7b130335bfa5a4034517c93f2a8725019d0d0eec7eb401", "Verifying": "a7d4a9f301edaa61ef561aaba1847d2729a900ea00bbf358953f99d99d913666", "Verifying integration candidate": "05a26deacc8035b95bfce5888134aaa287046d2727ef374e1ae39b07a59daadc", @@ -8790,9 +8800,11 @@ "cancelling": "Törlés", "Cancelling": "Törlés", "Candidate approved for draft": "A jelöltet jóváhagyták a tervezethez", + "Candidate changed since verification": "A jelölt az ellenőrzés óta megváltozott", "Candidate cluster is not bound to a channel.": "A jelölt klaszter nincs csatornához kötve.", "Candidate Clusters": "Jelölt klaszterek", "Candidate commit: {commit}": "Jelölt kötelezettségvállalás: {commit}", + "Candidate comparison unavailable": "A jelöltek összehasonlítása nem érhető el", "Candidate details": "A jelölt adatai", "Candidate generation": "Jelölt generáció", "Candidate generation and recording": "Jelölt generáció és felvétel", @@ -8966,6 +8978,7 @@ "Check member status": "Ellenőrizze a tagsági állapotot", "Check member status to load readiness.": "Ellenőrizze a tag állapotát a betöltéshez.", "Check needed": "Ellenőrzés szükséges", + "Check output": "Ellenőrizze a kimenetet", "Check passed": "Az ellenőrzés sikeres", "Check preset": "Ellenőrizze az előre beállított értéket", "Check provider": "Ellenőrizze a szolgáltatót", @@ -12354,6 +12367,7 @@ "Participant label": "Résztvevő címke", "Participants": "Résztvevők", "Pass": "Pass", + "Passed": "Átment", "Password": "Jelszó", "Paste a Ling memory Markdown export": "Illesszen be egy Ling memória Markdown exportálást", "Paste an API key in Model Workbench, then Save.": "Illesszen be egy API kulcsot a Model Workbenchbe, majd Mentse.", @@ -12959,6 +12973,7 @@ "Refresh the library to load Ling built-in skills.": "Frissítse a könyvtárat az Ling beépített készségek betöltéséhez.", "Refresh to load member readiness.": "Frissítés a tag készenlétének betöltéséhez.", "Refresh to load the selected channel's workflow and credential state.": "Frissítse a kiválasztott csatorna munkafolyamatának és hitelesítő adatok állapotának betöltéséhez.", + "Refresh verification": "Az ellenőrzés frissítése", "Refresh work summary": "Refresh work summary", "Refresh workflow templates": "Refresh workflow templates", "Refresh workspace": "Munkaterület frissítése", @@ -14186,6 +14201,7 @@ "Stop scheduler": "Az ütemező leállítása", "Stop the current reply or queue new guidance.": "Állítsa le az aktuális választ, vagy állítsa a sorba az új útmutatást.", "Stop using": "Hagyja abba a használatát", + "Stop verification": "Az ellenőrzés leállítása", "Stopped": "Megállt", "Stopped {title}": "Az {title} leállt", "Stopped at {step}: {status}.": "{step}-nél megállt: {status}.", @@ -14895,6 +14911,7 @@ "Unknown provider": "Ismeretlen szolgáltató", "Unknown size": "Ismeretlen méret", "Unknown source": "Ismeretlen forrás", + "Unknown status": "Ismeretlen állapot", "Unknown teammate": "Ismeretlen csapattárs", "unknown_outcome": "Eredmény ismeretlen", "unknown_provider_capability": "Ismeretlen szolgáltatói képesség", @@ -15069,12 +15086,15 @@ "Vector dimensions": "Vektor méretek", "Vector retrieval": "Vektor visszakeresés", "Verdict": "Ítélet", + "Verification": "Ellenőrzés", "verified": "ellenőrizve", "Verified": "Ellenőrzött", "Verified by execution": "Végrehajtással ellenőrizve", "Verified catalog": "Ellenőrzött katalógus", "Verifies behavior, regression scenarios, and user-facing workflows.": "Ellenőrzi a viselkedést, a regressziós forgatókönyveket és a felhasználói munkafolyamatokat.", + "Verify": "Ellenőrizze", "Verify before use": "Használat előtt ellenőrizze", + "Verify current changes": "Ellenőrizze az aktuális változtatásokat", "Verify the key, account access, balance, and model permission for this provider.": "Ellenőrizze a kulcsot, a fiókhozzáférést, az egyenleget és a modellengedélyt a szolgáltatóhoz.", "Verifying": "Ellenőrzés", "Verifying integration candidate": "Az integrációs jelölt ellenőrzése", diff --git a/packages/localization/catalogs/hy-AM.json b/packages/localization/catalogs/hy-AM.json index a6aa62c28..722e90542 100644 --- a/packages/localization/catalogs/hy-AM.json +++ b/packages/localization/catalogs/hy-AM.json @@ -1,6 +1,6 @@ { "locale": "hy-AM", - "sourceRevision": "72f77c6fb25583bb1468e040086563074b7830e025f2fc657144dc0e4aad37c1", + "sourceRevision": "214db76d79f1a5c0fd915c110a2ead6dbb978b58398846e982a0c1ff0cb53108", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -1081,9 +1081,11 @@ "cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Candidate approved for draft": "59a57b9b459b3215e76b651f73f6521bc1bd71fa66bb52e046368a559db6632b", + "Candidate changed since verification": "a2808e03661077a04403dab2204b7ce8d78310c296600bd03c5766a754f216a6", "Candidate cluster is not bound to a channel.": "6066a4e8725d065a7c2b8d2c8974a60c41c0a94124deeabd972f620ddd815786", "Candidate Clusters": "b617f8ce5325fa8984c324816b08d3a26c05dac3c3276bcc4f4ab7196222dbe4", "Candidate commit: {commit}": "09bfd331d31184edc3eb1f8eab93bb1f6bc0cb640c0d1e1b53178e9eca4babbd", + "Candidate comparison unavailable": "f3bcf514a4febc720648d70be4d772e8ed9228ec5e7651edda3c229ddab6b627", "Candidate details": "17394d22b095121d9f0d77ff6d121c01383175fa17242bcd9f04bd61f182b5c9", "Candidate generation": "9d360a71a5d82995775df6401ac1d1f7257a68ad462bab70abb494e14239d3d3", "Candidate generation and recording": "d3af53b1912f971078c187ce9260949e68e49f0c2ea954c216a06fe2baa2acc9", @@ -1257,6 +1259,7 @@ "Check member status": "ff155af014d0b6e94cbf2fca3b01cf8d5725732f178eee985083478adb4a62f5", "Check member status to load readiness.": "6f7f338e22e626b134643fbaec898cf8e8efd19b85eeb6193b4ca0d5d63c4528", "Check needed": "561a32f0c83e5a4fe8d77d891bd4b954d514ea021b4a18e68a3607f5d8747841", + "Check output": "250d2e9675d6d399c668a5e496d0caf2913e14b5ea21036fa8ee2dad94ad4d46", "Check passed": "2f6697a2389d7a3c059e7c0435569b37c78275d752bdf9b9e1c5d94f3d0eeeaf", "Check preset": "85e9cc57cbd02e87de7d5213d2627e64f0ae2e3211dd62045b7c2e3dc2bcd45c", "Check provider": "655b6b054c32b6850e6bc245f79b03cb2513ab227e96e7e4a6fb3269daf60119", @@ -4645,6 +4648,7 @@ "Participant label": "ac9acb52867f8141cbc1741f20bbd2766f819aa569c1191dcac3855ba53b59fc", "Participants": "0e27279b3302db0448a2acf5d923ffb09b75270c2e957bfb93f54815d2146aa4", "Pass": "ebdf8cc00bc4d9ceee633c56c63b49955769a92ca060825c9b08e4af61326e2b", + "Passed": "436fe71bb9561f0596161c4d50c7b23327b4189acaf63dc89f4f9205b67a7528", "Password": "e7cf3ef4f17c3999a94f2c6f612e8a888e5b1026878e4e19398b23bd38ec221a", "Paste a Ling memory Markdown export": "3efbebfd30ffeb6bfba59beb91961665a830db73fea934f7fed5394666a7c901", "Paste an API key in Model Workbench, then Save.": "07d4307d7f787295b9cfe97f60114a53060c0f9319a38a5c935fb3f76aceb2cc", @@ -5250,6 +5254,7 @@ "Refresh the library to load Ling built-in skills.": "c1c70580c6d18d99477517ed4d8e7b1b2d7ce26b1c7e932cb3260eeef43008c2", "Refresh to load member readiness.": "b7018c54ba477bad3f292cefce02f582783c67f459e84182d3fe06e53cfe3236", "Refresh to load the selected channel's workflow and credential state.": "290fe59158244da3b9914566b3df31b8f15d3a66fd3ffd9661da282028522f59", + "Refresh verification": "c444d5a4e36d9ec9e448c2eb179a6ef45d3594cd02c264f699a83a04bb51749f", "Refresh work summary": "ccd4dcacf0460eb1ca7749ead055fbffcd395e4f8a0c0f9292d390394b80a78e", "Refresh workflow templates": "1d5c58c6bb31f588e7992a8fe14fc3bb3ad2f52396c0302dd980d4dfdaf1acaa", "Refresh workspace": "306960dcad4c285f46eb5bffbb815be8ebe98657bfed1a901e44b68c7c9f417d", @@ -6477,6 +6482,7 @@ "Stop scheduler": "da6153337089386cf80b918ffbd2f2a43a8876a76da3ca671200898a73695940", "Stop the current reply or queue new guidance.": "ef65bd0c8e0943cd194a61f0b0714870faf9081eeebdccb2967aabf880477457", "Stop using": "ef22ba68c9e447df816d52baba2d198b9d230a7b92291b0e683c38dd39fd94d7", + "Stop verification": "4d90de345e4b79787a78322b9da1ef2fd9c70098caae9af1208c37adc972ec73", "Stopped": "1a4f630ac1b69fd00728fa8a672ded71d0eae8516cb23e78f94529113399b79b", "Stopped {title}": "a2bb8d21f8b1fc6f69326965aabb4596bb14403cfc02644e3da7c3d99bda4a7f", "Stopped at {step}: {status}.": "a911b75c20e85b6fc45f8d484a34b9f7b844947fd5de54f289305ebd339951b7", @@ -7186,6 +7192,7 @@ "Unknown provider": "59080be0f444945a37e28b48166f9ddeb710cda7f656bb3827a684fffbcf4524", "Unknown size": "fffbd4ecf2ad3884acfc08d4fe61477737434672c0307bb3c08d2e876c0fd704", "Unknown source": "cbc86fd9d9357166a3076a90fd8957b816b3a516b79dc76d84e066daf984f83f", + "Unknown status": "15eebb6f74cc8a5a2a3eb6897533ded3d7c3e52b32cf617087a4793fef134ba0", "Unknown teammate": "491ea2ec8a112ef7fe0bc1368d78168f5a9208e5f9ca8587f8dd5ce1c1c5ef1f", "unknown_outcome": "164557364fc9e34fcc5fa0329a356a7d7042c4797b82a38cf0954e95185ad11d", "unknown_provider_capability": "f7ac373b31c9f98e1b1017117bf429d8b16a92030073b5b5eb5c30de06cdec8b", @@ -7360,12 +7367,15 @@ "Vector dimensions": "9d95d3f89905adeb9db91dc8afa0187d3e97858b2ec6e5ce78c0312ce1e99254", "Vector retrieval": "48180b50b6fc222ac72ac2cb38ac7d89c9b1cccd51392b6eae57b46a8ec6cd44", "Verdict": "4a36f89dafb0a1014671aaf16e3a380a999a33836e4c3a31fe5594a7da034da5", + "Verification": "7140f4f19dec525960aabacb5741a125876c7d85f8cfa9c899cc8880651ddf61", "verified": "1c34f88707b55e6104c4eb20e71ffa3d33e414b71ef689a15fad0640d0ac58cb", "Verified": "4f7838402f37674e8ebedb6cf048c0aea66bacdb25607aa3eee4b53093d83f5c", "Verified by execution": "1c4dd61aa39a909b81e11acea882bee4dec628b47763cc4dccca63dbc5f885bb", "Verified catalog": "8f408d980918dbb3a719ced82bf7e18c80a41382f2e3d444528defc5fa24623a", "Verifies behavior, regression scenarios, and user-facing workflows.": "b0845a7154f2567bfbe99c9649c79df3019b654217110f0d1b94f477dd91c78d", + "Verify": "eea2745e2867a6772adc3e813211e6ce7b6ebd312d7e84a7c1b1aa2f8c75fd4b", "Verify before use": "687f00a3911b398fd3e9df5675ecd82fba1fd114e17e2f868f4b04914679db33", + "Verify current changes": "547006b60c4136a531a18526bb7822b118268902f4f457bff86ab03e2a5e7e3f", "Verify the key, account access, balance, and model permission for this provider.": "5ba03b132333df8c1d7b130335bfa5a4034517c93f2a8725019d0d0eec7eb401", "Verifying": "a7d4a9f301edaa61ef561aaba1847d2729a900ea00bbf358953f99d99d913666", "Verifying integration candidate": "05a26deacc8035b95bfce5888134aaa287046d2727ef374e1ae39b07a59daadc", @@ -8790,9 +8800,11 @@ "cancelling": "Չեղարկում", "Cancelling": "Չեղարկում", "Candidate approved for draft": "Թեկնածուն հաստատվել է նախագծի համար", + "Candidate changed since verification": "Թեկնածուն փոխվել է ստուգումից հետո", "Candidate cluster is not bound to a channel.": "Թեկնածուների կլաստերը կապված չէ ալիքի հետ:", "Candidate Clusters": "Թեկնածուների կլաստերներ", "Candidate commit: {commit}": "Թեկնածուի պարտավորությունը՝ {commit}", + "Candidate comparison unavailable": "Թեկնածուների համեմատությունը անհասանելի է", "Candidate details": "Թեկնածուի մանրամասները", "Candidate generation": "Թեկնածուների սերունդ", "Candidate generation and recording": "Թեկնածուների ստեղծում և ձայնագրում", @@ -8966,6 +8978,7 @@ "Check member status": "Ստուգեք անդամի կարգավիճակը", "Check member status to load readiness.": "Ստուգեք անդամի կարգավիճակը՝ բեռնելու պատրաստակամությունը:", "Check needed": "Ստուգում է անհրաժեշտ", + "Check output": "Ստուգեք ելքը", "Check passed": "Ստուգումն անցավ", "Check preset": "Ստուգեք նախադրվածը", "Check provider": "Ստուգեք մատակարարին", @@ -12354,6 +12367,7 @@ "Participant label": "Մասնակիցի պիտակ", "Participants": "Մասնակիցներ", "Pass": "Անցում", + "Passed": "Անցել է", "Password": "Գաղտնաբառ", "Paste a Ling memory Markdown export": "Տեղադրեք Ling հիշողության Markdown արտահանումը", "Paste an API key in Model Workbench, then Save.": "Տեղադրեք API բանալի Model Workbench-ում, այնուհետև Save:", @@ -12959,6 +12973,7 @@ "Refresh the library to load Ling built-in skills.": "Թարմացրեք գրադարանը՝ Ling ներկառուցված հմտությունները բեռնելու համար:", "Refresh to load member readiness.": "Թարմացրեք՝ անդամի պատրաստությունը բեռնելու համար:", "Refresh to load the selected channel's workflow and credential state.": "Թարմացրեք՝ ընտրված ալիքի աշխատանքային հոսքը և հավատարմագրերի վիճակը բեռնելու համար:", + "Refresh verification": "Թարմացնել հաստատումը", "Refresh work summary": "Refresh work summary", "Refresh workflow templates": "Refresh workflow templates", "Refresh workspace": "Թարմացրեք աշխատանքային տարածքը", @@ -14186,6 +14201,7 @@ "Stop scheduler": "Դադարեցրեք ժամանակացույցը", "Stop the current reply or queue new guidance.": "Դադարեցրեք ընթացիկ պատասխանը կամ հերթագրեք նոր ուղեցույցը:", "Stop using": "Դադարեցրեք օգտագործել", + "Stop verification": "Դադարեցրեք ստուգումը", "Stopped": "Դադարեցվեց", "Stopped {title}": "Դադարեցված {title}", "Stopped at {step}: {status}.": "Դադարեցվել է {step}-ում՝ {status}:", @@ -14895,6 +14911,7 @@ "Unknown provider": "Անհայտ մատակարար", "Unknown size": "Անհայտ չափս", "Unknown source": "Անհայտ աղբյուր", + "Unknown status": "Անհայտ կարգավիճակ", "Unknown teammate": "Անհայտ թիմակից", "unknown_outcome": "Արդյունքը անհայտ է", "unknown_provider_capability": "Անհայտ մատակարարի հնարավորություն", @@ -15069,12 +15086,15 @@ "Vector dimensions": "Վեկտորի չափերը", "Vector retrieval": "Վեկտորի որոնում", "Verdict": "Դատավճիռ", + "Verification": "Ստուգում", "verified": "ստուգված", "Verified": "Ստուգված է", "Verified by execution": "Ստուգված է կատարման միջոցով", "Verified catalog": "Ստուգված կատալոգ", "Verifies behavior, regression scenarios, and user-facing workflows.": "Ստուգում է վարքագիծը, հետընթացի սցենարները և օգտատերերի առջև դրված աշխատանքային հոսքերը:", + "Verify": "Ստուգեք", "Verify before use": "Օգտագործելուց առաջ ստուգեք", + "Verify current changes": "Ստուգեք ընթացիկ փոփոխությունները", "Verify the key, account access, balance, and model permission for this provider.": "Ստուգեք այս մատակարարի բանալին, հաշվի մուտքը, մնացորդը և մոդելի թույլտվությունը:", "Verifying": "Ստուգում", "Verifying integration candidate": "Ինտեգրման թեկնածուի ստուգում", diff --git a/packages/localization/catalogs/id-ID.json b/packages/localization/catalogs/id-ID.json index af33aaaad..e32b6f01d 100644 --- a/packages/localization/catalogs/id-ID.json +++ b/packages/localization/catalogs/id-ID.json @@ -1,6 +1,6 @@ { "locale": "id-ID", - "sourceRevision": "72f77c6fb25583bb1468e040086563074b7830e025f2fc657144dc0e4aad37c1", + "sourceRevision": "214db76d79f1a5c0fd915c110a2ead6dbb978b58398846e982a0c1ff0cb53108", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -1081,9 +1081,11 @@ "cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Candidate approved for draft": "59a57b9b459b3215e76b651f73f6521bc1bd71fa66bb52e046368a559db6632b", + "Candidate changed since verification": "a2808e03661077a04403dab2204b7ce8d78310c296600bd03c5766a754f216a6", "Candidate cluster is not bound to a channel.": "6066a4e8725d065a7c2b8d2c8974a60c41c0a94124deeabd972f620ddd815786", "Candidate Clusters": "b617f8ce5325fa8984c324816b08d3a26c05dac3c3276bcc4f4ab7196222dbe4", "Candidate commit: {commit}": "09bfd331d31184edc3eb1f8eab93bb1f6bc0cb640c0d1e1b53178e9eca4babbd", + "Candidate comparison unavailable": "f3bcf514a4febc720648d70be4d772e8ed9228ec5e7651edda3c229ddab6b627", "Candidate details": "17394d22b095121d9f0d77ff6d121c01383175fa17242bcd9f04bd61f182b5c9", "Candidate generation": "9d360a71a5d82995775df6401ac1d1f7257a68ad462bab70abb494e14239d3d3", "Candidate generation and recording": "d3af53b1912f971078c187ce9260949e68e49f0c2ea954c216a06fe2baa2acc9", @@ -1257,6 +1259,7 @@ "Check member status": "ff155af014d0b6e94cbf2fca3b01cf8d5725732f178eee985083478adb4a62f5", "Check member status to load readiness.": "6f7f338e22e626b134643fbaec898cf8e8efd19b85eeb6193b4ca0d5d63c4528", "Check needed": "561a32f0c83e5a4fe8d77d891bd4b954d514ea021b4a18e68a3607f5d8747841", + "Check output": "250d2e9675d6d399c668a5e496d0caf2913e14b5ea21036fa8ee2dad94ad4d46", "Check passed": "2f6697a2389d7a3c059e7c0435569b37c78275d752bdf9b9e1c5d94f3d0eeeaf", "Check preset": "85e9cc57cbd02e87de7d5213d2627e64f0ae2e3211dd62045b7c2e3dc2bcd45c", "Check provider": "655b6b054c32b6850e6bc245f79b03cb2513ab227e96e7e4a6fb3269daf60119", @@ -4645,6 +4648,7 @@ "Participant label": "ac9acb52867f8141cbc1741f20bbd2766f819aa569c1191dcac3855ba53b59fc", "Participants": "0e27279b3302db0448a2acf5d923ffb09b75270c2e957bfb93f54815d2146aa4", "Pass": "ebdf8cc00bc4d9ceee633c56c63b49955769a92ca060825c9b08e4af61326e2b", + "Passed": "436fe71bb9561f0596161c4d50c7b23327b4189acaf63dc89f4f9205b67a7528", "Password": "e7cf3ef4f17c3999a94f2c6f612e8a888e5b1026878e4e19398b23bd38ec221a", "Paste a Ling memory Markdown export": "3efbebfd30ffeb6bfba59beb91961665a830db73fea934f7fed5394666a7c901", "Paste an API key in Model Workbench, then Save.": "07d4307d7f787295b9cfe97f60114a53060c0f9319a38a5c935fb3f76aceb2cc", @@ -5250,6 +5254,7 @@ "Refresh the library to load Ling built-in skills.": "c1c70580c6d18d99477517ed4d8e7b1b2d7ce26b1c7e932cb3260eeef43008c2", "Refresh to load member readiness.": "b7018c54ba477bad3f292cefce02f582783c67f459e84182d3fe06e53cfe3236", "Refresh to load the selected channel's workflow and credential state.": "290fe59158244da3b9914566b3df31b8f15d3a66fd3ffd9661da282028522f59", + "Refresh verification": "c444d5a4e36d9ec9e448c2eb179a6ef45d3594cd02c264f699a83a04bb51749f", "Refresh work summary": "ccd4dcacf0460eb1ca7749ead055fbffcd395e4f8a0c0f9292d390394b80a78e", "Refresh workflow templates": "1d5c58c6bb31f588e7992a8fe14fc3bb3ad2f52396c0302dd980d4dfdaf1acaa", "Refresh workspace": "306960dcad4c285f46eb5bffbb815be8ebe98657bfed1a901e44b68c7c9f417d", @@ -6477,6 +6482,7 @@ "Stop scheduler": "da6153337089386cf80b918ffbd2f2a43a8876a76da3ca671200898a73695940", "Stop the current reply or queue new guidance.": "ef65bd0c8e0943cd194a61f0b0714870faf9081eeebdccb2967aabf880477457", "Stop using": "ef22ba68c9e447df816d52baba2d198b9d230a7b92291b0e683c38dd39fd94d7", + "Stop verification": "4d90de345e4b79787a78322b9da1ef2fd9c70098caae9af1208c37adc972ec73", "Stopped": "1a4f630ac1b69fd00728fa8a672ded71d0eae8516cb23e78f94529113399b79b", "Stopped {title}": "a2bb8d21f8b1fc6f69326965aabb4596bb14403cfc02644e3da7c3d99bda4a7f", "Stopped at {step}: {status}.": "a911b75c20e85b6fc45f8d484a34b9f7b844947fd5de54f289305ebd339951b7", @@ -7186,6 +7192,7 @@ "Unknown provider": "59080be0f444945a37e28b48166f9ddeb710cda7f656bb3827a684fffbcf4524", "Unknown size": "fffbd4ecf2ad3884acfc08d4fe61477737434672c0307bb3c08d2e876c0fd704", "Unknown source": "cbc86fd9d9357166a3076a90fd8957b816b3a516b79dc76d84e066daf984f83f", + "Unknown status": "15eebb6f74cc8a5a2a3eb6897533ded3d7c3e52b32cf617087a4793fef134ba0", "Unknown teammate": "491ea2ec8a112ef7fe0bc1368d78168f5a9208e5f9ca8587f8dd5ce1c1c5ef1f", "unknown_outcome": "164557364fc9e34fcc5fa0329a356a7d7042c4797b82a38cf0954e95185ad11d", "unknown_provider_capability": "f7ac373b31c9f98e1b1017117bf429d8b16a92030073b5b5eb5c30de06cdec8b", @@ -7360,12 +7367,15 @@ "Vector dimensions": "9d95d3f89905adeb9db91dc8afa0187d3e97858b2ec6e5ce78c0312ce1e99254", "Vector retrieval": "48180b50b6fc222ac72ac2cb38ac7d89c9b1cccd51392b6eae57b46a8ec6cd44", "Verdict": "4a36f89dafb0a1014671aaf16e3a380a999a33836e4c3a31fe5594a7da034da5", + "Verification": "7140f4f19dec525960aabacb5741a125876c7d85f8cfa9c899cc8880651ddf61", "verified": "1c34f88707b55e6104c4eb20e71ffa3d33e414b71ef689a15fad0640d0ac58cb", "Verified": "4f7838402f37674e8ebedb6cf048c0aea66bacdb25607aa3eee4b53093d83f5c", "Verified by execution": "1c4dd61aa39a909b81e11acea882bee4dec628b47763cc4dccca63dbc5f885bb", "Verified catalog": "8f408d980918dbb3a719ced82bf7e18c80a41382f2e3d444528defc5fa24623a", "Verifies behavior, regression scenarios, and user-facing workflows.": "b0845a7154f2567bfbe99c9649c79df3019b654217110f0d1b94f477dd91c78d", + "Verify": "eea2745e2867a6772adc3e813211e6ce7b6ebd312d7e84a7c1b1aa2f8c75fd4b", "Verify before use": "687f00a3911b398fd3e9df5675ecd82fba1fd114e17e2f868f4b04914679db33", + "Verify current changes": "547006b60c4136a531a18526bb7822b118268902f4f457bff86ab03e2a5e7e3f", "Verify the key, account access, balance, and model permission for this provider.": "5ba03b132333df8c1d7b130335bfa5a4034517c93f2a8725019d0d0eec7eb401", "Verifying": "a7d4a9f301edaa61ef561aaba1847d2729a900ea00bbf358953f99d99d913666", "Verifying integration candidate": "05a26deacc8035b95bfce5888134aaa287046d2727ef374e1ae39b07a59daadc", @@ -8790,9 +8800,11 @@ "cancelling": "Membatalkan", "Cancelling": "Membatalkan", "Candidate approved for draft": "Kandidat disetujui untuk draf", + "Candidate changed since verification": "Kandidat berubah sejak verifikasi", "Candidate cluster is not bound to a channel.": "Cluster kandidat tidak terikat pada suatu saluran.", "Candidate Clusters": "Klaster Kandidat", "Candidate commit: {commit}": "Komitmen kandidat: {commit}", + "Candidate comparison unavailable": "Perbandingan kandidat tidak tersedia", "Candidate details": "Detail kandidat", "Candidate generation": "Generasi kandidat", "Candidate generation and recording": "Pembuatan dan pencatatan kandidat", @@ -8966,6 +8978,7 @@ "Check member status": "Periksa status anggota", "Check member status to load readiness.": "Periksa status anggota untuk memuat kesiapan.", "Check needed": "Diperlukan pemeriksaan", + "Check output": "Periksa keluaran", "Check passed": "Cek lulus", "Check preset": "Periksa preset", "Check provider": "Periksa penyedia", @@ -12354,6 +12367,7 @@ "Participant label": "Label peserta", "Participants": "Peserta", "Pass": "Lulus", + "Passed": "Lulus", "Password": "Kata sandi", "Paste a Ling memory Markdown export": "Tempelkan ekspor penurunan harga memori Ling", "Paste an API key in Model Workbench, then Save.": "Tempelkan kunci API di Model Workbench, lalu Simpan.", @@ -12959,6 +12973,7 @@ "Refresh the library to load Ling built-in skills.": "Segarkan perpustakaan untuk memuat keterampilan bawaan Ling.", "Refresh to load member readiness.": "Refresh untuk memuat kesiapan anggota.", "Refresh to load the selected channel's workflow and credential state.": "Segarkan untuk memuat alur kerja dan status kredensial saluran yang dipilih.", + "Refresh verification": "Segarkan verifikasi", "Refresh work summary": "Refresh work summary", "Refresh workflow templates": "Refresh workflow templates", "Refresh workspace": "Segarkan ruang kerja", @@ -14186,6 +14201,7 @@ "Stop scheduler": "Hentikan penjadwal", "Stop the current reply or queue new guidance.": "Hentikan balasan saat ini atau antri panduan baru.", "Stop using": "Berhenti menggunakan", + "Stop verification": "Hentikan verifikasi", "Stopped": "Berhenti", "Stopped {title}": "Berhenti {title}", "Stopped at {step}: {status}.": "Berhenti di {step}: {status}.", @@ -14895,6 +14911,7 @@ "Unknown provider": "Penyedia tidak dikenal", "Unknown size": "Ukuran tidak diketahui", "Unknown source": "Sumber tidak diketahui", + "Unknown status": "Status tidak diketahui", "Unknown teammate": "Rekan setimnya tidak dikenal", "unknown_outcome": "Hasil tidak diketahui", "unknown_provider_capability": "Kemampuan penyedia tidak diketahui", @@ -15069,12 +15086,15 @@ "Vector dimensions": "Dimensi vektor", "Vector retrieval": "Pengambilan vektor", "Verdict": "Dakwaan", + "Verification": "Verifikasi", "verified": "diverifikasi", "Verified": "Terverifikasi", "Verified by execution": "Diverifikasi dengan eksekusi", "Verified catalog": "Katalog terverifikasi", "Verifies behavior, regression scenarios, and user-facing workflows.": "Memverifikasi perilaku, skenario regresi, dan alur kerja yang dihadapi pengguna.", + "Verify": "Memeriksa", "Verify before use": "Verifikasi sebelum digunakan", + "Verify current changes": "Verifikasi perubahan saat ini", "Verify the key, account access, balance, and model permission for this provider.": "Verifikasi kunci, akses akun, saldo, dan izin model untuk penyedia ini.", "Verifying": "Memverifikasi", "Verifying integration candidate": "Memverifikasi kandidat integrasi", diff --git a/packages/localization/catalogs/is-IS.json b/packages/localization/catalogs/is-IS.json index adcab158c..81439bafa 100644 --- a/packages/localization/catalogs/is-IS.json +++ b/packages/localization/catalogs/is-IS.json @@ -1,6 +1,6 @@ { "locale": "is-IS", - "sourceRevision": "72f77c6fb25583bb1468e040086563074b7830e025f2fc657144dc0e4aad37c1", + "sourceRevision": "214db76d79f1a5c0fd915c110a2ead6dbb978b58398846e982a0c1ff0cb53108", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -1081,9 +1081,11 @@ "cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Candidate approved for draft": "59a57b9b459b3215e76b651f73f6521bc1bd71fa66bb52e046368a559db6632b", + "Candidate changed since verification": "a2808e03661077a04403dab2204b7ce8d78310c296600bd03c5766a754f216a6", "Candidate cluster is not bound to a channel.": "6066a4e8725d065a7c2b8d2c8974a60c41c0a94124deeabd972f620ddd815786", "Candidate Clusters": "b617f8ce5325fa8984c324816b08d3a26c05dac3c3276bcc4f4ab7196222dbe4", "Candidate commit: {commit}": "09bfd331d31184edc3eb1f8eab93bb1f6bc0cb640c0d1e1b53178e9eca4babbd", + "Candidate comparison unavailable": "f3bcf514a4febc720648d70be4d772e8ed9228ec5e7651edda3c229ddab6b627", "Candidate details": "17394d22b095121d9f0d77ff6d121c01383175fa17242bcd9f04bd61f182b5c9", "Candidate generation": "9d360a71a5d82995775df6401ac1d1f7257a68ad462bab70abb494e14239d3d3", "Candidate generation and recording": "d3af53b1912f971078c187ce9260949e68e49f0c2ea954c216a06fe2baa2acc9", @@ -1257,6 +1259,7 @@ "Check member status": "ff155af014d0b6e94cbf2fca3b01cf8d5725732f178eee985083478adb4a62f5", "Check member status to load readiness.": "6f7f338e22e626b134643fbaec898cf8e8efd19b85eeb6193b4ca0d5d63c4528", "Check needed": "561a32f0c83e5a4fe8d77d891bd4b954d514ea021b4a18e68a3607f5d8747841", + "Check output": "250d2e9675d6d399c668a5e496d0caf2913e14b5ea21036fa8ee2dad94ad4d46", "Check passed": "2f6697a2389d7a3c059e7c0435569b37c78275d752bdf9b9e1c5d94f3d0eeeaf", "Check preset": "85e9cc57cbd02e87de7d5213d2627e64f0ae2e3211dd62045b7c2e3dc2bcd45c", "Check provider": "655b6b054c32b6850e6bc245f79b03cb2513ab227e96e7e4a6fb3269daf60119", @@ -4645,6 +4648,7 @@ "Participant label": "ac9acb52867f8141cbc1741f20bbd2766f819aa569c1191dcac3855ba53b59fc", "Participants": "0e27279b3302db0448a2acf5d923ffb09b75270c2e957bfb93f54815d2146aa4", "Pass": "ebdf8cc00bc4d9ceee633c56c63b49955769a92ca060825c9b08e4af61326e2b", + "Passed": "436fe71bb9561f0596161c4d50c7b23327b4189acaf63dc89f4f9205b67a7528", "Password": "e7cf3ef4f17c3999a94f2c6f612e8a888e5b1026878e4e19398b23bd38ec221a", "Paste a Ling memory Markdown export": "3efbebfd30ffeb6bfba59beb91961665a830db73fea934f7fed5394666a7c901", "Paste an API key in Model Workbench, then Save.": "07d4307d7f787295b9cfe97f60114a53060c0f9319a38a5c935fb3f76aceb2cc", @@ -5250,6 +5254,7 @@ "Refresh the library to load Ling built-in skills.": "c1c70580c6d18d99477517ed4d8e7b1b2d7ce26b1c7e932cb3260eeef43008c2", "Refresh to load member readiness.": "b7018c54ba477bad3f292cefce02f582783c67f459e84182d3fe06e53cfe3236", "Refresh to load the selected channel's workflow and credential state.": "290fe59158244da3b9914566b3df31b8f15d3a66fd3ffd9661da282028522f59", + "Refresh verification": "c444d5a4e36d9ec9e448c2eb179a6ef45d3594cd02c264f699a83a04bb51749f", "Refresh work summary": "ccd4dcacf0460eb1ca7749ead055fbffcd395e4f8a0c0f9292d390394b80a78e", "Refresh workflow templates": "1d5c58c6bb31f588e7992a8fe14fc3bb3ad2f52396c0302dd980d4dfdaf1acaa", "Refresh workspace": "306960dcad4c285f46eb5bffbb815be8ebe98657bfed1a901e44b68c7c9f417d", @@ -6477,6 +6482,7 @@ "Stop scheduler": "da6153337089386cf80b918ffbd2f2a43a8876a76da3ca671200898a73695940", "Stop the current reply or queue new guidance.": "ef65bd0c8e0943cd194a61f0b0714870faf9081eeebdccb2967aabf880477457", "Stop using": "ef22ba68c9e447df816d52baba2d198b9d230a7b92291b0e683c38dd39fd94d7", + "Stop verification": "4d90de345e4b79787a78322b9da1ef2fd9c70098caae9af1208c37adc972ec73", "Stopped": "1a4f630ac1b69fd00728fa8a672ded71d0eae8516cb23e78f94529113399b79b", "Stopped {title}": "a2bb8d21f8b1fc6f69326965aabb4596bb14403cfc02644e3da7c3d99bda4a7f", "Stopped at {step}: {status}.": "a911b75c20e85b6fc45f8d484a34b9f7b844947fd5de54f289305ebd339951b7", @@ -7186,6 +7192,7 @@ "Unknown provider": "59080be0f444945a37e28b48166f9ddeb710cda7f656bb3827a684fffbcf4524", "Unknown size": "fffbd4ecf2ad3884acfc08d4fe61477737434672c0307bb3c08d2e876c0fd704", "Unknown source": "cbc86fd9d9357166a3076a90fd8957b816b3a516b79dc76d84e066daf984f83f", + "Unknown status": "15eebb6f74cc8a5a2a3eb6897533ded3d7c3e52b32cf617087a4793fef134ba0", "Unknown teammate": "491ea2ec8a112ef7fe0bc1368d78168f5a9208e5f9ca8587f8dd5ce1c1c5ef1f", "unknown_outcome": "164557364fc9e34fcc5fa0329a356a7d7042c4797b82a38cf0954e95185ad11d", "unknown_provider_capability": "f7ac373b31c9f98e1b1017117bf429d8b16a92030073b5b5eb5c30de06cdec8b", @@ -7360,12 +7367,15 @@ "Vector dimensions": "9d95d3f89905adeb9db91dc8afa0187d3e97858b2ec6e5ce78c0312ce1e99254", "Vector retrieval": "48180b50b6fc222ac72ac2cb38ac7d89c9b1cccd51392b6eae57b46a8ec6cd44", "Verdict": "4a36f89dafb0a1014671aaf16e3a380a999a33836e4c3a31fe5594a7da034da5", + "Verification": "7140f4f19dec525960aabacb5741a125876c7d85f8cfa9c899cc8880651ddf61", "verified": "1c34f88707b55e6104c4eb20e71ffa3d33e414b71ef689a15fad0640d0ac58cb", "Verified": "4f7838402f37674e8ebedb6cf048c0aea66bacdb25607aa3eee4b53093d83f5c", "Verified by execution": "1c4dd61aa39a909b81e11acea882bee4dec628b47763cc4dccca63dbc5f885bb", "Verified catalog": "8f408d980918dbb3a719ced82bf7e18c80a41382f2e3d444528defc5fa24623a", "Verifies behavior, regression scenarios, and user-facing workflows.": "b0845a7154f2567bfbe99c9649c79df3019b654217110f0d1b94f477dd91c78d", + "Verify": "eea2745e2867a6772adc3e813211e6ce7b6ebd312d7e84a7c1b1aa2f8c75fd4b", "Verify before use": "687f00a3911b398fd3e9df5675ecd82fba1fd114e17e2f868f4b04914679db33", + "Verify current changes": "547006b60c4136a531a18526bb7822b118268902f4f457bff86ab03e2a5e7e3f", "Verify the key, account access, balance, and model permission for this provider.": "5ba03b132333df8c1d7b130335bfa5a4034517c93f2a8725019d0d0eec7eb401", "Verifying": "a7d4a9f301edaa61ef561aaba1847d2729a900ea00bbf358953f99d99d913666", "Verifying integration candidate": "05a26deacc8035b95bfce5888134aaa287046d2727ef374e1ae39b07a59daadc", @@ -8790,9 +8800,11 @@ "cancelling": "Hætta við", "Cancelling": "Hætta við", "Candidate approved for draft": "Frambjóðandi samþykktur fyrir drög", + "Candidate changed since verification": "Frambjóðandi breytt frá staðfestingu", "Candidate cluster is not bound to a channel.": "Frambjóðendaklasi er ekki bundinn við rás.", "Candidate Clusters": "Frambjóðendaklasar", "Candidate commit: {commit}": "Frambjóðandi skuldbindur sig: {commit}", + "Candidate comparison unavailable": "Samanburður frambjóðenda ekki tiltækur", "Candidate details": "Upplýsingar um frambjóðanda", "Candidate generation": "Frambjóðendakynslóð", "Candidate generation and recording": "Frambjóðendamyndun og upptaka", @@ -8966,6 +8978,7 @@ "Check member status": "Athugaðu stöðu meðlima", "Check member status to load readiness.": "Athugaðu stöðu meðlima til að hleðsla sé reiðubúin.", "Check needed": "Athuga þarf", + "Check output": "Athugaðu úttak", "Check passed": "Ávísun samþykkt", "Check preset": "Athugaðu forstillingu", "Check provider": "Athugaðu þjónustuveituna", @@ -12354,6 +12367,7 @@ "Participant label": "Merki þátttakenda", "Participants": "Þátttakendur", "Pass": "Pass", + "Passed": "Samþykkt", "Password": "Lykilorð", "Paste a Ling memory Markdown export": "Límdu Ling minni Markdown útflutning", "Paste an API key in Model Workbench, then Save.": "Límdu API lykil í Model Workbench og síðan Vista.", @@ -12959,6 +12973,7 @@ "Refresh the library to load Ling built-in skills.": "Endurnýjaðu bókasafnið til að hlaða inn Ling innbyggða færni.", "Refresh to load member readiness.": "Endurnýjaðu til að hlaða meðlimi.", "Refresh to load the selected channel's workflow and credential state.": "Endurnýjaðu til að hlaða verkflæði og skilríkisstöðu valinnar rásar.", + "Refresh verification": "Endurnýjaðu staðfestingu", "Refresh work summary": "Refresh work summary", "Refresh workflow templates": "Refresh workflow templates", "Refresh workspace": "Endurnýja vinnusvæði", @@ -14186,6 +14201,7 @@ "Stop scheduler": "Stöðva tímaáætlun", "Stop the current reply or queue new guidance.": "Stöðvaðu núverandi svar eða settu nýjar leiðbeiningar í biðröð.", "Stop using": "Hættu að nota", + "Stop verification": "Stöðva staðfestingu", "Stopped": "Hætt", "Stopped {title}": "Hætt {title}", "Stopped at {step}: {status}.": "Stoppað við {step}: {status}.", @@ -14895,6 +14911,7 @@ "Unknown provider": "Óþekktur veitandi", "Unknown size": "Óþekkt stærð", "Unknown source": "Óþekkt heimild", + "Unknown status": "Óþekkt staða", "Unknown teammate": "Óþekktur liðsfélagi", "unknown_outcome": "Niðurstaða óþekkt", "unknown_provider_capability": "Óþekkt möguleiki veitanda", @@ -15069,12 +15086,15 @@ "Vector dimensions": "Vektorstærðir", "Vector retrieval": "Vektor sókn", "Verdict": "Dómur", + "Verification": "Staðfesting", "verified": "staðfest", "Verified": "Staðfest", "Verified by execution": "Staðfest með framkvæmd", "Verified catalog": "Staðfest vörulisti", "Verifies behavior, regression scenarios, and user-facing workflows.": "Staðfestir hegðun, aðhvarfssviðsmyndir og verkflæði sem snúa að notendum.", + "Verify": "Staðfestu", "Verify before use": "Staðfestu fyrir notkun", + "Verify current changes": "Staðfestu núverandi breytingar", "Verify the key, account access, balance, and model permission for this provider.": "Staðfestu lykil, aðgang að reikningi, stöðu og líkanheimild fyrir þessa þjónustuveitu.", "Verifying": "Staðfestir", "Verifying integration candidate": "Staðfestir samþættingarframbjóðanda", diff --git a/packages/localization/catalogs/it-IT.json b/packages/localization/catalogs/it-IT.json index b4605a120..323b77207 100644 --- a/packages/localization/catalogs/it-IT.json +++ b/packages/localization/catalogs/it-IT.json @@ -1,6 +1,6 @@ { "locale": "it-IT", - "sourceRevision": "72f77c6fb25583bb1468e040086563074b7830e025f2fc657144dc0e4aad37c1", + "sourceRevision": "214db76d79f1a5c0fd915c110a2ead6dbb978b58398846e982a0c1ff0cb53108", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -1081,9 +1081,11 @@ "cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Candidate approved for draft": "59a57b9b459b3215e76b651f73f6521bc1bd71fa66bb52e046368a559db6632b", + "Candidate changed since verification": "a2808e03661077a04403dab2204b7ce8d78310c296600bd03c5766a754f216a6", "Candidate cluster is not bound to a channel.": "6066a4e8725d065a7c2b8d2c8974a60c41c0a94124deeabd972f620ddd815786", "Candidate Clusters": "b617f8ce5325fa8984c324816b08d3a26c05dac3c3276bcc4f4ab7196222dbe4", "Candidate commit: {commit}": "09bfd331d31184edc3eb1f8eab93bb1f6bc0cb640c0d1e1b53178e9eca4babbd", + "Candidate comparison unavailable": "f3bcf514a4febc720648d70be4d772e8ed9228ec5e7651edda3c229ddab6b627", "Candidate details": "17394d22b095121d9f0d77ff6d121c01383175fa17242bcd9f04bd61f182b5c9", "Candidate generation": "9d360a71a5d82995775df6401ac1d1f7257a68ad462bab70abb494e14239d3d3", "Candidate generation and recording": "d3af53b1912f971078c187ce9260949e68e49f0c2ea954c216a06fe2baa2acc9", @@ -1257,6 +1259,7 @@ "Check member status": "ff155af014d0b6e94cbf2fca3b01cf8d5725732f178eee985083478adb4a62f5", "Check member status to load readiness.": "6f7f338e22e626b134643fbaec898cf8e8efd19b85eeb6193b4ca0d5d63c4528", "Check needed": "561a32f0c83e5a4fe8d77d891bd4b954d514ea021b4a18e68a3607f5d8747841", + "Check output": "250d2e9675d6d399c668a5e496d0caf2913e14b5ea21036fa8ee2dad94ad4d46", "Check passed": "2f6697a2389d7a3c059e7c0435569b37c78275d752bdf9b9e1c5d94f3d0eeeaf", "Check preset": "85e9cc57cbd02e87de7d5213d2627e64f0ae2e3211dd62045b7c2e3dc2bcd45c", "Check provider": "655b6b054c32b6850e6bc245f79b03cb2513ab227e96e7e4a6fb3269daf60119", @@ -4645,6 +4648,7 @@ "Participant label": "ac9acb52867f8141cbc1741f20bbd2766f819aa569c1191dcac3855ba53b59fc", "Participants": "0e27279b3302db0448a2acf5d923ffb09b75270c2e957bfb93f54815d2146aa4", "Pass": "ebdf8cc00bc4d9ceee633c56c63b49955769a92ca060825c9b08e4af61326e2b", + "Passed": "436fe71bb9561f0596161c4d50c7b23327b4189acaf63dc89f4f9205b67a7528", "Password": "e7cf3ef4f17c3999a94f2c6f612e8a888e5b1026878e4e19398b23bd38ec221a", "Paste a Ling memory Markdown export": "3efbebfd30ffeb6bfba59beb91961665a830db73fea934f7fed5394666a7c901", "Paste an API key in Model Workbench, then Save.": "07d4307d7f787295b9cfe97f60114a53060c0f9319a38a5c935fb3f76aceb2cc", @@ -5250,6 +5254,7 @@ "Refresh the library to load Ling built-in skills.": "c1c70580c6d18d99477517ed4d8e7b1b2d7ce26b1c7e932cb3260eeef43008c2", "Refresh to load member readiness.": "b7018c54ba477bad3f292cefce02f582783c67f459e84182d3fe06e53cfe3236", "Refresh to load the selected channel's workflow and credential state.": "290fe59158244da3b9914566b3df31b8f15d3a66fd3ffd9661da282028522f59", + "Refresh verification": "c444d5a4e36d9ec9e448c2eb179a6ef45d3594cd02c264f699a83a04bb51749f", "Refresh work summary": "ccd4dcacf0460eb1ca7749ead055fbffcd395e4f8a0c0f9292d390394b80a78e", "Refresh workflow templates": "1d5c58c6bb31f588e7992a8fe14fc3bb3ad2f52396c0302dd980d4dfdaf1acaa", "Refresh workspace": "306960dcad4c285f46eb5bffbb815be8ebe98657bfed1a901e44b68c7c9f417d", @@ -6477,6 +6482,7 @@ "Stop scheduler": "da6153337089386cf80b918ffbd2f2a43a8876a76da3ca671200898a73695940", "Stop the current reply or queue new guidance.": "ef65bd0c8e0943cd194a61f0b0714870faf9081eeebdccb2967aabf880477457", "Stop using": "ef22ba68c9e447df816d52baba2d198b9d230a7b92291b0e683c38dd39fd94d7", + "Stop verification": "4d90de345e4b79787a78322b9da1ef2fd9c70098caae9af1208c37adc972ec73", "Stopped": "1a4f630ac1b69fd00728fa8a672ded71d0eae8516cb23e78f94529113399b79b", "Stopped {title}": "a2bb8d21f8b1fc6f69326965aabb4596bb14403cfc02644e3da7c3d99bda4a7f", "Stopped at {step}: {status}.": "a911b75c20e85b6fc45f8d484a34b9f7b844947fd5de54f289305ebd339951b7", @@ -7186,6 +7192,7 @@ "Unknown provider": "59080be0f444945a37e28b48166f9ddeb710cda7f656bb3827a684fffbcf4524", "Unknown size": "fffbd4ecf2ad3884acfc08d4fe61477737434672c0307bb3c08d2e876c0fd704", "Unknown source": "cbc86fd9d9357166a3076a90fd8957b816b3a516b79dc76d84e066daf984f83f", + "Unknown status": "15eebb6f74cc8a5a2a3eb6897533ded3d7c3e52b32cf617087a4793fef134ba0", "Unknown teammate": "491ea2ec8a112ef7fe0bc1368d78168f5a9208e5f9ca8587f8dd5ce1c1c5ef1f", "unknown_outcome": "164557364fc9e34fcc5fa0329a356a7d7042c4797b82a38cf0954e95185ad11d", "unknown_provider_capability": "f7ac373b31c9f98e1b1017117bf429d8b16a92030073b5b5eb5c30de06cdec8b", @@ -7360,12 +7367,15 @@ "Vector dimensions": "9d95d3f89905adeb9db91dc8afa0187d3e97858b2ec6e5ce78c0312ce1e99254", "Vector retrieval": "48180b50b6fc222ac72ac2cb38ac7d89c9b1cccd51392b6eae57b46a8ec6cd44", "Verdict": "4a36f89dafb0a1014671aaf16e3a380a999a33836e4c3a31fe5594a7da034da5", + "Verification": "7140f4f19dec525960aabacb5741a125876c7d85f8cfa9c899cc8880651ddf61", "verified": "1c34f88707b55e6104c4eb20e71ffa3d33e414b71ef689a15fad0640d0ac58cb", "Verified": "4f7838402f37674e8ebedb6cf048c0aea66bacdb25607aa3eee4b53093d83f5c", "Verified by execution": "1c4dd61aa39a909b81e11acea882bee4dec628b47763cc4dccca63dbc5f885bb", "Verified catalog": "8f408d980918dbb3a719ced82bf7e18c80a41382f2e3d444528defc5fa24623a", "Verifies behavior, regression scenarios, and user-facing workflows.": "b0845a7154f2567bfbe99c9649c79df3019b654217110f0d1b94f477dd91c78d", + "Verify": "eea2745e2867a6772adc3e813211e6ce7b6ebd312d7e84a7c1b1aa2f8c75fd4b", "Verify before use": "687f00a3911b398fd3e9df5675ecd82fba1fd114e17e2f868f4b04914679db33", + "Verify current changes": "547006b60c4136a531a18526bb7822b118268902f4f457bff86ab03e2a5e7e3f", "Verify the key, account access, balance, and model permission for this provider.": "5ba03b132333df8c1d7b130335bfa5a4034517c93f2a8725019d0d0eec7eb401", "Verifying": "a7d4a9f301edaa61ef561aaba1847d2729a900ea00bbf358953f99d99d913666", "Verifying integration candidate": "05a26deacc8035b95bfce5888134aaa287046d2727ef374e1ae39b07a59daadc", @@ -8790,9 +8800,11 @@ "cancelling": "Annullamento", "Cancelling": "Annullamento", "Candidate approved for draft": "Candidato approvato per la bozza", + "Candidate changed since verification": "Il candidato è cambiato dopo la verifica", "Candidate cluster is not bound to a channel.": "Il cluster candidato non è associato a un canale.", "Candidate Clusters": "Cluster di candidati", "Candidate commit: {commit}": "Impegno del candidato: {commit}", + "Candidate comparison unavailable": "Confronto dei candidati non disponibile", "Candidate details": "Dettagli del candidato", "Candidate generation": "Generazione di candidati", "Candidate generation and recording": "Generazione e registrazione dei candidati", @@ -8966,6 +8978,7 @@ "Check member status": "Controlla lo stato del membro", "Check member status to load readiness.": "Controlla lo stato del membro per caricare la disponibilità.", "Check needed": "Controllo necessario", + "Check output": "Controlla l'output", "Check passed": "Controllo superato", "Check preset": "Controlla la preimpostazione", "Check provider": "Controlla il fornitore", @@ -12354,6 +12367,7 @@ "Participant label": "Etichetta del partecipante", "Participants": "Partecipanti", "Pass": "Passaggio", + "Passed": "Superato", "Password": "Password", "Paste a Ling memory Markdown export": "Incolla un'esportazione Markdown della memoria Ling.", "Paste an API key in Model Workbench, then Save.": "Incolla una chiave API in Model Workbench, quindi Salva.", @@ -12959,6 +12973,7 @@ "Refresh the library to load Ling built-in skills.": "Aggiorna la libreria per caricare le competenze integrate Ling.", "Refresh to load member readiness.": "Aggiorna per caricare la disponibilità dei membri.", "Refresh to load the selected channel's workflow and credential state.": "Aggiorna per caricare il flusso di lavoro e lo stato delle credenziali del canale selezionato.", + "Refresh verification": "Aggiorna la verifica", "Refresh work summary": "Refresh work summary", "Refresh workflow templates": "Refresh workflow templates", "Refresh workspace": "Aggiorna l'area di lavoro", @@ -14186,6 +14201,7 @@ "Stop scheduler": "Interrompere la pianificazione", "Stop the current reply or queue new guidance.": "Interrompe la risposta corrente o mette in coda la nuova guida.", "Stop using": "Smetti di usare", + "Stop verification": "Interrompi la verifica", "Stopped": "Fermato", "Stopped {title}": "Arrestato {title}", "Stopped at {step}: {status}.": "Arrestato a {step}: {status}.", @@ -14895,6 +14911,7 @@ "Unknown provider": "Fornitore sconosciuto", "Unknown size": "Dimensioni sconosciute", "Unknown source": "Fonte sconosciuta", + "Unknown status": "Stato sconosciuto", "Unknown teammate": "Compagno di squadra sconosciuto", "unknown_outcome": "Risultato sconosciuto", "unknown_provider_capability": "Funzionalità del provider sconosciuta", @@ -15069,12 +15086,15 @@ "Vector dimensions": "Dimensioni vettoriali", "Vector retrieval": "Recupero di vettori", "Verdict": "Verdetto", + "Verification": "Verifica", "verified": "verificato", "Verified": "Verificato", "Verified by execution": "Verificato dall'esecuzione", "Verified catalog": "Catalogo verificato", "Verifies behavior, regression scenarios, and user-facing workflows.": "Verifica il comportamento, gli scenari di regressione e i flussi di lavoro rivolti agli utenti.", + "Verify": "Verificare", "Verify before use": "Verificare prima dell'uso", + "Verify current changes": "Verificare le modifiche attuali", "Verify the key, account access, balance, and model permission for this provider.": "Verifica la chiave, l'accesso all'account, il saldo e l'autorizzazione del modello per questo fornitore.", "Verifying": "Verifica", "Verifying integration candidate": "Verifica del candidato all'integrazione", diff --git a/packages/localization/catalogs/ja-JP.json b/packages/localization/catalogs/ja-JP.json index 643dd231e..d4f581459 100644 --- a/packages/localization/catalogs/ja-JP.json +++ b/packages/localization/catalogs/ja-JP.json @@ -1,6 +1,6 @@ { "locale": "ja-JP", - "sourceRevision": "72f77c6fb25583bb1468e040086563074b7830e025f2fc657144dc0e4aad37c1", + "sourceRevision": "214db76d79f1a5c0fd915c110a2ead6dbb978b58398846e982a0c1ff0cb53108", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -1081,9 +1081,11 @@ "cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Candidate approved for draft": "59a57b9b459b3215e76b651f73f6521bc1bd71fa66bb52e046368a559db6632b", + "Candidate changed since verification": "a2808e03661077a04403dab2204b7ce8d78310c296600bd03c5766a754f216a6", "Candidate cluster is not bound to a channel.": "6066a4e8725d065a7c2b8d2c8974a60c41c0a94124deeabd972f620ddd815786", "Candidate Clusters": "b617f8ce5325fa8984c324816b08d3a26c05dac3c3276bcc4f4ab7196222dbe4", "Candidate commit: {commit}": "09bfd331d31184edc3eb1f8eab93bb1f6bc0cb640c0d1e1b53178e9eca4babbd", + "Candidate comparison unavailable": "f3bcf514a4febc720648d70be4d772e8ed9228ec5e7651edda3c229ddab6b627", "Candidate details": "17394d22b095121d9f0d77ff6d121c01383175fa17242bcd9f04bd61f182b5c9", "Candidate generation": "9d360a71a5d82995775df6401ac1d1f7257a68ad462bab70abb494e14239d3d3", "Candidate generation and recording": "d3af53b1912f971078c187ce9260949e68e49f0c2ea954c216a06fe2baa2acc9", @@ -1257,6 +1259,7 @@ "Check member status": "ff155af014d0b6e94cbf2fca3b01cf8d5725732f178eee985083478adb4a62f5", "Check member status to load readiness.": "6f7f338e22e626b134643fbaec898cf8e8efd19b85eeb6193b4ca0d5d63c4528", "Check needed": "561a32f0c83e5a4fe8d77d891bd4b954d514ea021b4a18e68a3607f5d8747841", + "Check output": "250d2e9675d6d399c668a5e496d0caf2913e14b5ea21036fa8ee2dad94ad4d46", "Check passed": "2f6697a2389d7a3c059e7c0435569b37c78275d752bdf9b9e1c5d94f3d0eeeaf", "Check preset": "85e9cc57cbd02e87de7d5213d2627e64f0ae2e3211dd62045b7c2e3dc2bcd45c", "Check provider": "655b6b054c32b6850e6bc245f79b03cb2513ab227e96e7e4a6fb3269daf60119", @@ -4645,6 +4648,7 @@ "Participant label": "ac9acb52867f8141cbc1741f20bbd2766f819aa569c1191dcac3855ba53b59fc", "Participants": "0e27279b3302db0448a2acf5d923ffb09b75270c2e957bfb93f54815d2146aa4", "Pass": "ebdf8cc00bc4d9ceee633c56c63b49955769a92ca060825c9b08e4af61326e2b", + "Passed": "436fe71bb9561f0596161c4d50c7b23327b4189acaf63dc89f4f9205b67a7528", "Password": "e7cf3ef4f17c3999a94f2c6f612e8a888e5b1026878e4e19398b23bd38ec221a", "Paste a Ling memory Markdown export": "3efbebfd30ffeb6bfba59beb91961665a830db73fea934f7fed5394666a7c901", "Paste an API key in Model Workbench, then Save.": "07d4307d7f787295b9cfe97f60114a53060c0f9319a38a5c935fb3f76aceb2cc", @@ -5250,6 +5254,7 @@ "Refresh the library to load Ling built-in skills.": "c1c70580c6d18d99477517ed4d8e7b1b2d7ce26b1c7e932cb3260eeef43008c2", "Refresh to load member readiness.": "b7018c54ba477bad3f292cefce02f582783c67f459e84182d3fe06e53cfe3236", "Refresh to load the selected channel's workflow and credential state.": "290fe59158244da3b9914566b3df31b8f15d3a66fd3ffd9661da282028522f59", + "Refresh verification": "c444d5a4e36d9ec9e448c2eb179a6ef45d3594cd02c264f699a83a04bb51749f", "Refresh work summary": "ccd4dcacf0460eb1ca7749ead055fbffcd395e4f8a0c0f9292d390394b80a78e", "Refresh workflow templates": "1d5c58c6bb31f588e7992a8fe14fc3bb3ad2f52396c0302dd980d4dfdaf1acaa", "Refresh workspace": "306960dcad4c285f46eb5bffbb815be8ebe98657bfed1a901e44b68c7c9f417d", @@ -6477,6 +6482,7 @@ "Stop scheduler": "da6153337089386cf80b918ffbd2f2a43a8876a76da3ca671200898a73695940", "Stop the current reply or queue new guidance.": "ef65bd0c8e0943cd194a61f0b0714870faf9081eeebdccb2967aabf880477457", "Stop using": "ef22ba68c9e447df816d52baba2d198b9d230a7b92291b0e683c38dd39fd94d7", + "Stop verification": "4d90de345e4b79787a78322b9da1ef2fd9c70098caae9af1208c37adc972ec73", "Stopped": "1a4f630ac1b69fd00728fa8a672ded71d0eae8516cb23e78f94529113399b79b", "Stopped {title}": "a2bb8d21f8b1fc6f69326965aabb4596bb14403cfc02644e3da7c3d99bda4a7f", "Stopped at {step}: {status}.": "a911b75c20e85b6fc45f8d484a34b9f7b844947fd5de54f289305ebd339951b7", @@ -7186,6 +7192,7 @@ "Unknown provider": "59080be0f444945a37e28b48166f9ddeb710cda7f656bb3827a684fffbcf4524", "Unknown size": "fffbd4ecf2ad3884acfc08d4fe61477737434672c0307bb3c08d2e876c0fd704", "Unknown source": "cbc86fd9d9357166a3076a90fd8957b816b3a516b79dc76d84e066daf984f83f", + "Unknown status": "15eebb6f74cc8a5a2a3eb6897533ded3d7c3e52b32cf617087a4793fef134ba0", "Unknown teammate": "491ea2ec8a112ef7fe0bc1368d78168f5a9208e5f9ca8587f8dd5ce1c1c5ef1f", "unknown_outcome": "164557364fc9e34fcc5fa0329a356a7d7042c4797b82a38cf0954e95185ad11d", "unknown_provider_capability": "f7ac373b31c9f98e1b1017117bf429d8b16a92030073b5b5eb5c30de06cdec8b", @@ -7360,12 +7367,15 @@ "Vector dimensions": "9d95d3f89905adeb9db91dc8afa0187d3e97858b2ec6e5ce78c0312ce1e99254", "Vector retrieval": "48180b50b6fc222ac72ac2cb38ac7d89c9b1cccd51392b6eae57b46a8ec6cd44", "Verdict": "4a36f89dafb0a1014671aaf16e3a380a999a33836e4c3a31fe5594a7da034da5", + "Verification": "7140f4f19dec525960aabacb5741a125876c7d85f8cfa9c899cc8880651ddf61", "verified": "1c34f88707b55e6104c4eb20e71ffa3d33e414b71ef689a15fad0640d0ac58cb", "Verified": "4f7838402f37674e8ebedb6cf048c0aea66bacdb25607aa3eee4b53093d83f5c", "Verified by execution": "1c4dd61aa39a909b81e11acea882bee4dec628b47763cc4dccca63dbc5f885bb", "Verified catalog": "8f408d980918dbb3a719ced82bf7e18c80a41382f2e3d444528defc5fa24623a", "Verifies behavior, regression scenarios, and user-facing workflows.": "b0845a7154f2567bfbe99c9649c79df3019b654217110f0d1b94f477dd91c78d", + "Verify": "eea2745e2867a6772adc3e813211e6ce7b6ebd312d7e84a7c1b1aa2f8c75fd4b", "Verify before use": "687f00a3911b398fd3e9df5675ecd82fba1fd114e17e2f868f4b04914679db33", + "Verify current changes": "547006b60c4136a531a18526bb7822b118268902f4f457bff86ab03e2a5e7e3f", "Verify the key, account access, balance, and model permission for this provider.": "5ba03b132333df8c1d7b130335bfa5a4034517c93f2a8725019d0d0eec7eb401", "Verifying": "a7d4a9f301edaa61ef561aaba1847d2729a900ea00bbf358953f99d99d913666", "Verifying integration candidate": "05a26deacc8035b95bfce5888134aaa287046d2727ef374e1ae39b07a59daadc", @@ -8790,9 +8800,11 @@ "cancelling": "キャンセルする", "Cancelling": "キャンセルする", "Candidate approved for draft": "候補者がドラフトに承認されました", + "Candidate changed since verification": "検証後に候補者が変更されました", "Candidate cluster is not bound to a channel.": "候補クラスターはチャネルにバインドされていません。", "Candidate Clusters": "候補クラスター", "Candidate commit: {commit}": "コミット候補: {commit}", + "Candidate comparison unavailable": "候補の比較はできません", "Candidate details": "候補者の詳細", "Candidate generation": "候補者の世代", "Candidate generation and recording": "候補の生成と記録", @@ -8966,6 +8978,7 @@ "Check member status": "会員ステータスを確認する", "Check member status to load readiness.": "メンバーのステータスを確認してロードの準備ができているかどうかを確認します。", "Check needed": "要チェック", + "Check output": "出力を確認してください", "Check passed": "小切手に合格しました", "Check preset": "プリセットを確認する", "Check provider": "プロバイダーを確認する", @@ -12354,6 +12367,7 @@ "Participant label": "参加者ラベル", "Participants": "参加者", "Pass": "合格", + "Passed": "合格した", "Password": "パスワード", "Paste a Ling memory Markdown export": "Ling メモリ マークダウン エクスポートを貼り付けます", "Paste an API key in Model Workbench, then Save.": "APIキーをModel Workbenchに貼り付けて保存します。", @@ -12959,6 +12973,7 @@ "Refresh the library to load Ling built-in skills.": "ライブラリを更新して、Ling 組み込みスキルをロードします。", "Refresh to load member readiness.": "更新してメンバーの準備状況をロードします。", "Refresh to load the selected channel's workflow and credential state.": "更新して、選択したチャネルのワークフローと資格情報の状態を読み込みます。", + "Refresh verification": "リフレッシュ検証", "Refresh work summary": "Refresh work summary", "Refresh workflow templates": "Refresh workflow templates", "Refresh workspace": "ワークスペースを更新する", @@ -14186,6 +14201,7 @@ "Stop scheduler": "スケジューラの停止", "Stop the current reply or queue new guidance.": "現在の返信を停止するか、新しいガイダンスをキューに入れます。", "Stop using": "使用を中止してください", + "Stop verification": "検証を停止する", "Stopped": "停止しました", "Stopped {title}": "停止中 {title}", "Stopped at {step}: {status}.": "{step}:{status}で停止しました。", @@ -14895,6 +14911,7 @@ "Unknown provider": "不明なプロバイダー", "Unknown size": "不明なサイズ", "Unknown source": "出典不明", + "Unknown status": "不明なステータス", "Unknown teammate": "未知のチームメイト", "unknown_outcome": "結果は不明", "unknown_provider_capability": "不明なプロバイダーの機能", @@ -15069,12 +15086,15 @@ "Vector dimensions": "ベクトルの次元", "Vector retrieval": "ベクトルの取得", "Verdict": "評決", + "Verification": "検証", "verified": "検証済み", "Verified": "確認済み", "Verified by execution": "実行による検証", "Verified catalog": "検証済みカタログ", "Verifies behavior, regression scenarios, and user-facing workflows.": "動作、回帰シナリオ、およびユーザー向けのワークフローを検証します。", + "Verify": "確認する", "Verify before use": "使用前に確認してください", + "Verify current changes": "現在の変更を確認する", "Verify the key, account access, balance, and model permission for this provider.": "このプロバイダーのキー、アカウント アクセス、残高、モデル権限を確認します。", "Verifying": "検証中", "Verifying integration candidate": "統合候補の検証", diff --git a/packages/localization/catalogs/ka-GE.json b/packages/localization/catalogs/ka-GE.json index 63c281e26..288217bf7 100644 --- a/packages/localization/catalogs/ka-GE.json +++ b/packages/localization/catalogs/ka-GE.json @@ -1,6 +1,6 @@ { "locale": "ka-GE", - "sourceRevision": "72f77c6fb25583bb1468e040086563074b7830e025f2fc657144dc0e4aad37c1", + "sourceRevision": "214db76d79f1a5c0fd915c110a2ead6dbb978b58398846e982a0c1ff0cb53108", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -1081,9 +1081,11 @@ "cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Candidate approved for draft": "59a57b9b459b3215e76b651f73f6521bc1bd71fa66bb52e046368a559db6632b", + "Candidate changed since verification": "a2808e03661077a04403dab2204b7ce8d78310c296600bd03c5766a754f216a6", "Candidate cluster is not bound to a channel.": "6066a4e8725d065a7c2b8d2c8974a60c41c0a94124deeabd972f620ddd815786", "Candidate Clusters": "b617f8ce5325fa8984c324816b08d3a26c05dac3c3276bcc4f4ab7196222dbe4", "Candidate commit: {commit}": "09bfd331d31184edc3eb1f8eab93bb1f6bc0cb640c0d1e1b53178e9eca4babbd", + "Candidate comparison unavailable": "f3bcf514a4febc720648d70be4d772e8ed9228ec5e7651edda3c229ddab6b627", "Candidate details": "17394d22b095121d9f0d77ff6d121c01383175fa17242bcd9f04bd61f182b5c9", "Candidate generation": "9d360a71a5d82995775df6401ac1d1f7257a68ad462bab70abb494e14239d3d3", "Candidate generation and recording": "d3af53b1912f971078c187ce9260949e68e49f0c2ea954c216a06fe2baa2acc9", @@ -1257,6 +1259,7 @@ "Check member status": "ff155af014d0b6e94cbf2fca3b01cf8d5725732f178eee985083478adb4a62f5", "Check member status to load readiness.": "6f7f338e22e626b134643fbaec898cf8e8efd19b85eeb6193b4ca0d5d63c4528", "Check needed": "561a32f0c83e5a4fe8d77d891bd4b954d514ea021b4a18e68a3607f5d8747841", + "Check output": "250d2e9675d6d399c668a5e496d0caf2913e14b5ea21036fa8ee2dad94ad4d46", "Check passed": "2f6697a2389d7a3c059e7c0435569b37c78275d752bdf9b9e1c5d94f3d0eeeaf", "Check preset": "85e9cc57cbd02e87de7d5213d2627e64f0ae2e3211dd62045b7c2e3dc2bcd45c", "Check provider": "655b6b054c32b6850e6bc245f79b03cb2513ab227e96e7e4a6fb3269daf60119", @@ -4645,6 +4648,7 @@ "Participant label": "ac9acb52867f8141cbc1741f20bbd2766f819aa569c1191dcac3855ba53b59fc", "Participants": "0e27279b3302db0448a2acf5d923ffb09b75270c2e957bfb93f54815d2146aa4", "Pass": "ebdf8cc00bc4d9ceee633c56c63b49955769a92ca060825c9b08e4af61326e2b", + "Passed": "436fe71bb9561f0596161c4d50c7b23327b4189acaf63dc89f4f9205b67a7528", "Password": "e7cf3ef4f17c3999a94f2c6f612e8a888e5b1026878e4e19398b23bd38ec221a", "Paste a Ling memory Markdown export": "3efbebfd30ffeb6bfba59beb91961665a830db73fea934f7fed5394666a7c901", "Paste an API key in Model Workbench, then Save.": "07d4307d7f787295b9cfe97f60114a53060c0f9319a38a5c935fb3f76aceb2cc", @@ -5250,6 +5254,7 @@ "Refresh the library to load Ling built-in skills.": "c1c70580c6d18d99477517ed4d8e7b1b2d7ce26b1c7e932cb3260eeef43008c2", "Refresh to load member readiness.": "b7018c54ba477bad3f292cefce02f582783c67f459e84182d3fe06e53cfe3236", "Refresh to load the selected channel's workflow and credential state.": "290fe59158244da3b9914566b3df31b8f15d3a66fd3ffd9661da282028522f59", + "Refresh verification": "c444d5a4e36d9ec9e448c2eb179a6ef45d3594cd02c264f699a83a04bb51749f", "Refresh work summary": "ccd4dcacf0460eb1ca7749ead055fbffcd395e4f8a0c0f9292d390394b80a78e", "Refresh workflow templates": "1d5c58c6bb31f588e7992a8fe14fc3bb3ad2f52396c0302dd980d4dfdaf1acaa", "Refresh workspace": "306960dcad4c285f46eb5bffbb815be8ebe98657bfed1a901e44b68c7c9f417d", @@ -6477,6 +6482,7 @@ "Stop scheduler": "da6153337089386cf80b918ffbd2f2a43a8876a76da3ca671200898a73695940", "Stop the current reply or queue new guidance.": "ef65bd0c8e0943cd194a61f0b0714870faf9081eeebdccb2967aabf880477457", "Stop using": "ef22ba68c9e447df816d52baba2d198b9d230a7b92291b0e683c38dd39fd94d7", + "Stop verification": "4d90de345e4b79787a78322b9da1ef2fd9c70098caae9af1208c37adc972ec73", "Stopped": "1a4f630ac1b69fd00728fa8a672ded71d0eae8516cb23e78f94529113399b79b", "Stopped {title}": "a2bb8d21f8b1fc6f69326965aabb4596bb14403cfc02644e3da7c3d99bda4a7f", "Stopped at {step}: {status}.": "a911b75c20e85b6fc45f8d484a34b9f7b844947fd5de54f289305ebd339951b7", @@ -7186,6 +7192,7 @@ "Unknown provider": "59080be0f444945a37e28b48166f9ddeb710cda7f656bb3827a684fffbcf4524", "Unknown size": "fffbd4ecf2ad3884acfc08d4fe61477737434672c0307bb3c08d2e876c0fd704", "Unknown source": "cbc86fd9d9357166a3076a90fd8957b816b3a516b79dc76d84e066daf984f83f", + "Unknown status": "15eebb6f74cc8a5a2a3eb6897533ded3d7c3e52b32cf617087a4793fef134ba0", "Unknown teammate": "491ea2ec8a112ef7fe0bc1368d78168f5a9208e5f9ca8587f8dd5ce1c1c5ef1f", "unknown_outcome": "164557364fc9e34fcc5fa0329a356a7d7042c4797b82a38cf0954e95185ad11d", "unknown_provider_capability": "f7ac373b31c9f98e1b1017117bf429d8b16a92030073b5b5eb5c30de06cdec8b", @@ -7360,12 +7367,15 @@ "Vector dimensions": "9d95d3f89905adeb9db91dc8afa0187d3e97858b2ec6e5ce78c0312ce1e99254", "Vector retrieval": "48180b50b6fc222ac72ac2cb38ac7d89c9b1cccd51392b6eae57b46a8ec6cd44", "Verdict": "4a36f89dafb0a1014671aaf16e3a380a999a33836e4c3a31fe5594a7da034da5", + "Verification": "7140f4f19dec525960aabacb5741a125876c7d85f8cfa9c899cc8880651ddf61", "verified": "1c34f88707b55e6104c4eb20e71ffa3d33e414b71ef689a15fad0640d0ac58cb", "Verified": "4f7838402f37674e8ebedb6cf048c0aea66bacdb25607aa3eee4b53093d83f5c", "Verified by execution": "1c4dd61aa39a909b81e11acea882bee4dec628b47763cc4dccca63dbc5f885bb", "Verified catalog": "8f408d980918dbb3a719ced82bf7e18c80a41382f2e3d444528defc5fa24623a", "Verifies behavior, regression scenarios, and user-facing workflows.": "b0845a7154f2567bfbe99c9649c79df3019b654217110f0d1b94f477dd91c78d", + "Verify": "eea2745e2867a6772adc3e813211e6ce7b6ebd312d7e84a7c1b1aa2f8c75fd4b", "Verify before use": "687f00a3911b398fd3e9df5675ecd82fba1fd114e17e2f868f4b04914679db33", + "Verify current changes": "547006b60c4136a531a18526bb7822b118268902f4f457bff86ab03e2a5e7e3f", "Verify the key, account access, balance, and model permission for this provider.": "5ba03b132333df8c1d7b130335bfa5a4034517c93f2a8725019d0d0eec7eb401", "Verifying": "a7d4a9f301edaa61ef561aaba1847d2729a900ea00bbf358953f99d99d913666", "Verifying integration candidate": "05a26deacc8035b95bfce5888134aaa287046d2727ef374e1ae39b07a59daadc", @@ -8790,9 +8800,11 @@ "cancelling": "გაუქმება", "Cancelling": "გაუქმება", "Candidate approved for draft": "კანდიდატი პროექტზე დამტკიცებულია", + "Candidate changed since verification": "კანდიდატი შეიცვალა გადამოწმების შემდეგ", "Candidate cluster is not bound to a channel.": "კანდიდატთა კლასტერი არ არის მიბმული არხთან.", "Candidate Clusters": "კანდიდატთა კლასტერები", "Candidate commit: {commit}": "კანდიდატის ვალდებულება: {commit}", + "Candidate comparison unavailable": "კანდიდატების შედარება მიუწვდომელია", "Candidate details": "კანდიდატის დეტალები", "Candidate generation": "კანდიდატის თაობა", "Candidate generation and recording": "კანდიდატის გენერირება და ჩაწერა", @@ -8966,6 +8978,7 @@ "Check member status": "შეამოწმეთ წევრის სტატუსი", "Check member status to load readiness.": "შეამოწმეთ წევრის სტატუსი ჩატვირთვის მზადყოფნაში.", "Check needed": "შემოწმება საჭიროა", + "Check output": "შეამოწმეთ გამომავალი", "Check passed": "შემოწმება გავიდა", "Check preset": "შეამოწმეთ წინასწარ დაყენებული", "Check provider": "შეამოწმეთ პროვაიდერი", @@ -12354,6 +12367,7 @@ "Participant label": "მონაწილის ეტიკეტი", "Participants": "მონაწილეები", "Pass": "საშვი", + "Passed": "გავიდა", "Password": "პაროლი", "Paste a Ling memory Markdown export": "ჩასვით Ling მეხსიერების Markdown ექსპორტი", "Paste an API key in Model Workbench, then Save.": "ჩასვით API გასაღები Model Workbench-ში, შემდეგ Save.", @@ -12959,6 +12973,7 @@ "Refresh the library to load Ling built-in skills.": "განაახლეთ ბიბლიოთეკა Ling ჩაშენებული უნარების ჩასატვირთად.", "Refresh to load member readiness.": "განაახლეთ წევრის მზადყოფნის ჩატვირთვა.", "Refresh to load the selected channel's workflow and credential state.": "განაახლეთ არჩეული არხის სამუშაო პროცესისა და ავტორიზაციის მდგომარეობის ჩატვირთვა.", + "Refresh verification": "გადამოწმების განახლება", "Refresh work summary": "Refresh work summary", "Refresh workflow templates": "Refresh workflow templates", "Refresh workspace": "განაახლეთ სამუშაო ადგილი", @@ -14186,6 +14201,7 @@ "Stop scheduler": "გრაფიკის შეწყვეტა", "Stop the current reply or queue new guidance.": "შეაჩერე მიმდინარე პასუხი ან რიგში ახალი მითითებები.", "Stop using": "შეწყვიტე გამოყენება", + "Stop verification": "შეაჩერე დადასტურება", "Stopped": "გაჩერდა", "Stopped {title}": "შეჩერდა {title}", "Stopped at {step}: {status}.": "შეჩერდა {step}-ზე: {status}.", @@ -14895,6 +14911,7 @@ "Unknown provider": "უცნობი პროვაიდერი", "Unknown size": "უცნობი ზომა", "Unknown source": "უცნობი წყარო", + "Unknown status": "უცნობი სტატუსი", "Unknown teammate": "უცნობი თანაგუნდელი", "unknown_outcome": "შედეგი უცნობია", "unknown_provider_capability": "უცნობი პროვაიდერის შესაძლებლობა", @@ -15069,12 +15086,15 @@ "Vector dimensions": "ვექტორული ზომები", "Vector retrieval": "ვექტორის მოძიება", "Verdict": "ვერდიქტი", + "Verification": "გადამოწმება", "verified": "დამოწმებული", "Verified": "დამოწმებულია", "Verified by execution": "დამოწმებულია აღსრულებით", "Verified catalog": "დამოწმებული კატალოგი", "Verifies behavior, regression scenarios, and user-facing workflows.": "ამოწმებს ქცევას, რეგრესიის სცენარებს და მომხმარებლის წინაშე არსებულ სამუშაო პროცესებს.", + "Verify": "გადაამოწმეთ", "Verify before use": "შეამოწმეთ გამოყენებამდე", + "Verify current changes": "გადაამოწმეთ მიმდინარე ცვლილებები", "Verify the key, account access, balance, and model permission for this provider.": "დაადასტურეთ გასაღები, ანგარიშზე წვდომა, ბალანსი და მოდელის ნებართვა ამ პროვაიდერისთვის.", "Verifying": "გადამოწმება", "Verifying integration candidate": "მიმდინარეობს ინტეგრაციის კანდიდატის შემოწმება", diff --git a/packages/localization/catalogs/kn-IN.json b/packages/localization/catalogs/kn-IN.json index 2ebf8f59c..dc722afd0 100644 --- a/packages/localization/catalogs/kn-IN.json +++ b/packages/localization/catalogs/kn-IN.json @@ -1,6 +1,6 @@ { "locale": "kn-IN", - "sourceRevision": "72f77c6fb25583bb1468e040086563074b7830e025f2fc657144dc0e4aad37c1", + "sourceRevision": "214db76d79f1a5c0fd915c110a2ead6dbb978b58398846e982a0c1ff0cb53108", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -1081,9 +1081,11 @@ "cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Candidate approved for draft": "59a57b9b459b3215e76b651f73f6521bc1bd71fa66bb52e046368a559db6632b", + "Candidate changed since verification": "a2808e03661077a04403dab2204b7ce8d78310c296600bd03c5766a754f216a6", "Candidate cluster is not bound to a channel.": "6066a4e8725d065a7c2b8d2c8974a60c41c0a94124deeabd972f620ddd815786", "Candidate Clusters": "b617f8ce5325fa8984c324816b08d3a26c05dac3c3276bcc4f4ab7196222dbe4", "Candidate commit: {commit}": "09bfd331d31184edc3eb1f8eab93bb1f6bc0cb640c0d1e1b53178e9eca4babbd", + "Candidate comparison unavailable": "f3bcf514a4febc720648d70be4d772e8ed9228ec5e7651edda3c229ddab6b627", "Candidate details": "17394d22b095121d9f0d77ff6d121c01383175fa17242bcd9f04bd61f182b5c9", "Candidate generation": "9d360a71a5d82995775df6401ac1d1f7257a68ad462bab70abb494e14239d3d3", "Candidate generation and recording": "d3af53b1912f971078c187ce9260949e68e49f0c2ea954c216a06fe2baa2acc9", @@ -1257,6 +1259,7 @@ "Check member status": "ff155af014d0b6e94cbf2fca3b01cf8d5725732f178eee985083478adb4a62f5", "Check member status to load readiness.": "6f7f338e22e626b134643fbaec898cf8e8efd19b85eeb6193b4ca0d5d63c4528", "Check needed": "561a32f0c83e5a4fe8d77d891bd4b954d514ea021b4a18e68a3607f5d8747841", + "Check output": "250d2e9675d6d399c668a5e496d0caf2913e14b5ea21036fa8ee2dad94ad4d46", "Check passed": "2f6697a2389d7a3c059e7c0435569b37c78275d752bdf9b9e1c5d94f3d0eeeaf", "Check preset": "85e9cc57cbd02e87de7d5213d2627e64f0ae2e3211dd62045b7c2e3dc2bcd45c", "Check provider": "655b6b054c32b6850e6bc245f79b03cb2513ab227e96e7e4a6fb3269daf60119", @@ -4645,6 +4648,7 @@ "Participant label": "ac9acb52867f8141cbc1741f20bbd2766f819aa569c1191dcac3855ba53b59fc", "Participants": "0e27279b3302db0448a2acf5d923ffb09b75270c2e957bfb93f54815d2146aa4", "Pass": "ebdf8cc00bc4d9ceee633c56c63b49955769a92ca060825c9b08e4af61326e2b", + "Passed": "436fe71bb9561f0596161c4d50c7b23327b4189acaf63dc89f4f9205b67a7528", "Password": "e7cf3ef4f17c3999a94f2c6f612e8a888e5b1026878e4e19398b23bd38ec221a", "Paste a Ling memory Markdown export": "3efbebfd30ffeb6bfba59beb91961665a830db73fea934f7fed5394666a7c901", "Paste an API key in Model Workbench, then Save.": "07d4307d7f787295b9cfe97f60114a53060c0f9319a38a5c935fb3f76aceb2cc", @@ -5250,6 +5254,7 @@ "Refresh the library to load Ling built-in skills.": "c1c70580c6d18d99477517ed4d8e7b1b2d7ce26b1c7e932cb3260eeef43008c2", "Refresh to load member readiness.": "b7018c54ba477bad3f292cefce02f582783c67f459e84182d3fe06e53cfe3236", "Refresh to load the selected channel's workflow and credential state.": "290fe59158244da3b9914566b3df31b8f15d3a66fd3ffd9661da282028522f59", + "Refresh verification": "c444d5a4e36d9ec9e448c2eb179a6ef45d3594cd02c264f699a83a04bb51749f", "Refresh work summary": "ccd4dcacf0460eb1ca7749ead055fbffcd395e4f8a0c0f9292d390394b80a78e", "Refresh workflow templates": "1d5c58c6bb31f588e7992a8fe14fc3bb3ad2f52396c0302dd980d4dfdaf1acaa", "Refresh workspace": "306960dcad4c285f46eb5bffbb815be8ebe98657bfed1a901e44b68c7c9f417d", @@ -6477,6 +6482,7 @@ "Stop scheduler": "da6153337089386cf80b918ffbd2f2a43a8876a76da3ca671200898a73695940", "Stop the current reply or queue new guidance.": "ef65bd0c8e0943cd194a61f0b0714870faf9081eeebdccb2967aabf880477457", "Stop using": "ef22ba68c9e447df816d52baba2d198b9d230a7b92291b0e683c38dd39fd94d7", + "Stop verification": "4d90de345e4b79787a78322b9da1ef2fd9c70098caae9af1208c37adc972ec73", "Stopped": "1a4f630ac1b69fd00728fa8a672ded71d0eae8516cb23e78f94529113399b79b", "Stopped {title}": "a2bb8d21f8b1fc6f69326965aabb4596bb14403cfc02644e3da7c3d99bda4a7f", "Stopped at {step}: {status}.": "a911b75c20e85b6fc45f8d484a34b9f7b844947fd5de54f289305ebd339951b7", @@ -7186,6 +7192,7 @@ "Unknown provider": "59080be0f444945a37e28b48166f9ddeb710cda7f656bb3827a684fffbcf4524", "Unknown size": "fffbd4ecf2ad3884acfc08d4fe61477737434672c0307bb3c08d2e876c0fd704", "Unknown source": "cbc86fd9d9357166a3076a90fd8957b816b3a516b79dc76d84e066daf984f83f", + "Unknown status": "15eebb6f74cc8a5a2a3eb6897533ded3d7c3e52b32cf617087a4793fef134ba0", "Unknown teammate": "491ea2ec8a112ef7fe0bc1368d78168f5a9208e5f9ca8587f8dd5ce1c1c5ef1f", "unknown_outcome": "164557364fc9e34fcc5fa0329a356a7d7042c4797b82a38cf0954e95185ad11d", "unknown_provider_capability": "f7ac373b31c9f98e1b1017117bf429d8b16a92030073b5b5eb5c30de06cdec8b", @@ -7360,12 +7367,15 @@ "Vector dimensions": "9d95d3f89905adeb9db91dc8afa0187d3e97858b2ec6e5ce78c0312ce1e99254", "Vector retrieval": "48180b50b6fc222ac72ac2cb38ac7d89c9b1cccd51392b6eae57b46a8ec6cd44", "Verdict": "4a36f89dafb0a1014671aaf16e3a380a999a33836e4c3a31fe5594a7da034da5", + "Verification": "7140f4f19dec525960aabacb5741a125876c7d85f8cfa9c899cc8880651ddf61", "verified": "1c34f88707b55e6104c4eb20e71ffa3d33e414b71ef689a15fad0640d0ac58cb", "Verified": "4f7838402f37674e8ebedb6cf048c0aea66bacdb25607aa3eee4b53093d83f5c", "Verified by execution": "1c4dd61aa39a909b81e11acea882bee4dec628b47763cc4dccca63dbc5f885bb", "Verified catalog": "8f408d980918dbb3a719ced82bf7e18c80a41382f2e3d444528defc5fa24623a", "Verifies behavior, regression scenarios, and user-facing workflows.": "b0845a7154f2567bfbe99c9649c79df3019b654217110f0d1b94f477dd91c78d", + "Verify": "eea2745e2867a6772adc3e813211e6ce7b6ebd312d7e84a7c1b1aa2f8c75fd4b", "Verify before use": "687f00a3911b398fd3e9df5675ecd82fba1fd114e17e2f868f4b04914679db33", + "Verify current changes": "547006b60c4136a531a18526bb7822b118268902f4f457bff86ab03e2a5e7e3f", "Verify the key, account access, balance, and model permission for this provider.": "5ba03b132333df8c1d7b130335bfa5a4034517c93f2a8725019d0d0eec7eb401", "Verifying": "a7d4a9f301edaa61ef561aaba1847d2729a900ea00bbf358953f99d99d913666", "Verifying integration candidate": "05a26deacc8035b95bfce5888134aaa287046d2727ef374e1ae39b07a59daadc", @@ -8790,9 +8800,11 @@ "cancelling": "ರದ್ದುಗೊಳಿಸಲಾಗುತ್ತಿದೆ", "Cancelling": "ರದ್ದುಗೊಳಿಸಲಾಗುತ್ತಿದೆ", "Candidate approved for draft": "ಡ್ರಾಫ್ಟ್‌ಗೆ ಅಭ್ಯರ್ಥಿಯನ್ನು ಅನುಮೋದಿಸಲಾಗಿದೆ", + "Candidate changed since verification": "ಪರಿಶೀಲನೆಯಿಂದ ಅಭ್ಯರ್ಥಿ ಬದಲಾಗಿದ್ದಾರೆ", "Candidate cluster is not bound to a channel.": "ಅಭ್ಯರ್ಥಿ ಕ್ಲಸ್ಟರ್ ಚಾನಲ್‌ಗೆ ಬದ್ಧವಾಗಿಲ್ಲ.", "Candidate Clusters": "ಅಭ್ಯರ್ಥಿಗಳ ಸಮೂಹಗಳು", "Candidate commit: {commit}": "ಅಭ್ಯರ್ಥಿ ಬದ್ಧತೆ: {commit}", + "Candidate comparison unavailable": "ಅಭ್ಯರ್ಥಿಯ ಹೋಲಿಕೆ ಲಭ್ಯವಿಲ್ಲ", "Candidate details": "ಅಭ್ಯರ್ಥಿಯ ವಿವರಗಳು", "Candidate generation": "ಅಭ್ಯರ್ಥಿಗಳ ಪೀಳಿಗೆ", "Candidate generation and recording": "ಅಭ್ಯರ್ಥಿ ಉತ್ಪಾದನೆ ಮತ್ತು ರೆಕಾರ್ಡಿಂಗ್", @@ -8966,6 +8978,7 @@ "Check member status": "ಸದಸ್ಯರ ಸ್ಥಿತಿಯನ್ನು ಪರಿಶೀಲಿಸಿ", "Check member status to load readiness.": "ಸನ್ನದ್ಧತೆಯನ್ನು ಲೋಡ್ ಮಾಡಲು ಸದಸ್ಯರ ಸ್ಥಿತಿಯನ್ನು ಪರಿಶೀಲಿಸಿ.", "Check needed": "ಚೆಕ್ ಅಗತ್ಯವಿದೆ", + "Check output": "ಔಟ್ಪುಟ್ ಪರಿಶೀಲಿಸಿ", "Check passed": "ಚೆಕ್ ಪಾಸ್ ಆಗಿದೆ", "Check preset": "ಮೊದಲೇ ಪರಿಶೀಲಿಸಿ", "Check provider": "ಪೂರೈಕೆದಾರರನ್ನು ಪರಿಶೀಲಿಸಿ", @@ -12354,6 +12367,7 @@ "Participant label": "ಭಾಗವಹಿಸುವವರ ಲೇಬಲ್", "Participants": "ಭಾಗವಹಿಸುವವರು", "Pass": "ಪಾಸ್", + "Passed": "ಉತ್ತೀರ್ಣರಾದರು", "Password": "ಪಾಸ್ವರ್ಡ್", "Paste a Ling memory Markdown export": "Ling ಮೆಮೊರಿ ಮಾರ್ಕ್‌ಡೌನ್ ರಫ್ತು ಅಂಟಿಸಿ", "Paste an API key in Model Workbench, then Save.": "ಮಾಡೆಲ್ ವರ್ಕ್‌ಬೆಂಚ್‌ನಲ್ಲಿ API ಕೀಯನ್ನು ಅಂಟಿಸಿ, ನಂತರ ಉಳಿಸಿ.", @@ -12959,6 +12973,7 @@ "Refresh the library to load Ling built-in skills.": "Ling ಅಂತರ್ನಿರ್ಮಿತ ಕೌಶಲ್ಯಗಳನ್ನು ಲೋಡ್ ಮಾಡಲು ಲೈಬ್ರರಿಯನ್ನು ರಿಫ್ರೆಶ್ ಮಾಡಿ.", "Refresh to load member readiness.": "ಸದಸ್ಯರ ಸಿದ್ಧತೆಯನ್ನು ಲೋಡ್ ಮಾಡಲು ರಿಫ್ರೆಶ್ ಮಾಡಿ.", "Refresh to load the selected channel's workflow and credential state.": "ಆಯ್ಕೆಮಾಡಿದ ಚಾನಲ್‌ನ ವರ್ಕ್‌ಫ್ಲೋ ಮತ್ತು ರುಜುವಾತು ಸ್ಥಿತಿಯನ್ನು ಲೋಡ್ ಮಾಡಲು ರಿಫ್ರೆಶ್ ಮಾಡಿ.", + "Refresh verification": "ಪರಿಶೀಲನೆಯನ್ನು ರಿಫ್ರೆಶ್ ಮಾಡಿ", "Refresh work summary": "Refresh work summary", "Refresh workflow templates": "Refresh workflow templates", "Refresh workspace": "ಕಾರ್ಯಸ್ಥಳವನ್ನು ರಿಫ್ರೆಶ್ ಮಾಡಿ", @@ -14186,6 +14201,7 @@ "Stop scheduler": "ಸ್ಟಾಪ್ ಶೆಡ್ಯೂಲರ್", "Stop the current reply or queue new guidance.": "ಪ್ರಸ್ತುತ ಪ್ರತ್ಯುತ್ತರವನ್ನು ನಿಲ್ಲಿಸಿ ಅಥವಾ ಹೊಸ ಮಾರ್ಗದರ್ಶನವನ್ನು ಸರದಿಯಲ್ಲಿ ಇರಿಸಿ.", "Stop using": "ಬಳಸುವುದನ್ನು ನಿಲ್ಲಿಸಿ", + "Stop verification": "ಪರಿಶೀಲನೆ ನಿಲ್ಲಿಸಿ", "Stopped": "ನಿಲ್ಲಿಸಿದೆ", "Stopped {title}": "ನಿಲ್ಲಿಸಲಾಗಿದೆ {title}", "Stopped at {step}: {status}.": "{step} ನಲ್ಲಿ ನಿಲ್ಲಿಸಲಾಗಿದೆ: {status}.", @@ -14895,6 +14911,7 @@ "Unknown provider": "ಅಜ್ಞಾತ ಪೂರೈಕೆದಾರ", "Unknown size": "ಅಜ್ಞಾತ ಗಾತ್ರ", "Unknown source": "ಅಜ್ಞಾತ ಮೂಲ", + "Unknown status": "ಅಜ್ಞಾತ ಸ್ಥಿತಿ", "Unknown teammate": "ಅಪರಿಚಿತ ತಂಡದ ಸಹ ಆಟಗಾರ", "unknown_outcome": "ಫಲಿತಾಂಶ ತಿಳಿದಿಲ್ಲ", "unknown_provider_capability": "ಅಜ್ಞಾತ ಪೂರೈಕೆದಾರರ ಸಾಮರ್ಥ್ಯ", @@ -15069,12 +15086,15 @@ "Vector dimensions": "ವೆಕ್ಟರ್ ಆಯಾಮಗಳು", "Vector retrieval": "ವೆಕ್ಟರ್ ಮರುಪಡೆಯುವಿಕೆ", "Verdict": "ತೀರ್ಪು", + "Verification": "ಪರಿಶೀಲನೆ", "verified": "ಪರಿಶೀಲಿಸಲಾಗಿದೆ", "Verified": "ಪರಿಶೀಲಿಸಲಾಗಿದೆ", "Verified by execution": "ಮರಣದಂಡನೆ ಮೂಲಕ ಪರಿಶೀಲಿಸಲಾಗಿದೆ", "Verified catalog": "ಪರಿಶೀಲಿಸಿದ ಕ್ಯಾಟಲಾಗ್", "Verifies behavior, regression scenarios, and user-facing workflows.": "ನಡವಳಿಕೆ, ಹಿಂಜರಿತದ ಸನ್ನಿವೇಶಗಳು ಮತ್ತು ಬಳಕೆದಾರ-ಎದುರಿಸುತ್ತಿರುವ ಕೆಲಸದ ಹರಿವುಗಳನ್ನು ಪರಿಶೀಲಿಸುತ್ತದೆ.", + "Verify": "ಪರಿಶೀಲಿಸಿ", "Verify before use": "ಬಳಕೆಗೆ ಮೊದಲು ಪರಿಶೀಲಿಸಿ", + "Verify current changes": "ಪ್ರಸ್ತುತ ಬದಲಾವಣೆಗಳನ್ನು ಪರಿಶೀಲಿಸಿ", "Verify the key, account access, balance, and model permission for this provider.": "ಈ ಪೂರೈಕೆದಾರರಿಗೆ ಕೀ, ಖಾತೆ ಪ್ರವೇಶ, ಬ್ಯಾಲೆನ್ಸ್ ಮತ್ತು ಮಾದರಿ ಅನುಮತಿಯನ್ನು ಪರಿಶೀಲಿಸಿ.", "Verifying": "ಪರಿಶೀಲಿಸಲಾಗುತ್ತಿದೆ", "Verifying integration candidate": "ಏಕೀಕರಣ ಅಭ್ಯರ್ಥಿಯನ್ನು ಪರಿಶೀಲಿಸಲಾಗುತ್ತಿದೆ", diff --git a/packages/localization/catalogs/ko-KR.json b/packages/localization/catalogs/ko-KR.json index 07ab6eaa1..2960e7d35 100644 --- a/packages/localization/catalogs/ko-KR.json +++ b/packages/localization/catalogs/ko-KR.json @@ -1,6 +1,6 @@ { "locale": "ko-KR", - "sourceRevision": "72f77c6fb25583bb1468e040086563074b7830e025f2fc657144dc0e4aad37c1", + "sourceRevision": "214db76d79f1a5c0fd915c110a2ead6dbb978b58398846e982a0c1ff0cb53108", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -1081,9 +1081,11 @@ "cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Candidate approved for draft": "59a57b9b459b3215e76b651f73f6521bc1bd71fa66bb52e046368a559db6632b", + "Candidate changed since verification": "a2808e03661077a04403dab2204b7ce8d78310c296600bd03c5766a754f216a6", "Candidate cluster is not bound to a channel.": "6066a4e8725d065a7c2b8d2c8974a60c41c0a94124deeabd972f620ddd815786", "Candidate Clusters": "b617f8ce5325fa8984c324816b08d3a26c05dac3c3276bcc4f4ab7196222dbe4", "Candidate commit: {commit}": "09bfd331d31184edc3eb1f8eab93bb1f6bc0cb640c0d1e1b53178e9eca4babbd", + "Candidate comparison unavailable": "f3bcf514a4febc720648d70be4d772e8ed9228ec5e7651edda3c229ddab6b627", "Candidate details": "17394d22b095121d9f0d77ff6d121c01383175fa17242bcd9f04bd61f182b5c9", "Candidate generation": "9d360a71a5d82995775df6401ac1d1f7257a68ad462bab70abb494e14239d3d3", "Candidate generation and recording": "d3af53b1912f971078c187ce9260949e68e49f0c2ea954c216a06fe2baa2acc9", @@ -1257,6 +1259,7 @@ "Check member status": "ff155af014d0b6e94cbf2fca3b01cf8d5725732f178eee985083478adb4a62f5", "Check member status to load readiness.": "6f7f338e22e626b134643fbaec898cf8e8efd19b85eeb6193b4ca0d5d63c4528", "Check needed": "561a32f0c83e5a4fe8d77d891bd4b954d514ea021b4a18e68a3607f5d8747841", + "Check output": "250d2e9675d6d399c668a5e496d0caf2913e14b5ea21036fa8ee2dad94ad4d46", "Check passed": "2f6697a2389d7a3c059e7c0435569b37c78275d752bdf9b9e1c5d94f3d0eeeaf", "Check preset": "85e9cc57cbd02e87de7d5213d2627e64f0ae2e3211dd62045b7c2e3dc2bcd45c", "Check provider": "655b6b054c32b6850e6bc245f79b03cb2513ab227e96e7e4a6fb3269daf60119", @@ -4645,6 +4648,7 @@ "Participant label": "ac9acb52867f8141cbc1741f20bbd2766f819aa569c1191dcac3855ba53b59fc", "Participants": "0e27279b3302db0448a2acf5d923ffb09b75270c2e957bfb93f54815d2146aa4", "Pass": "ebdf8cc00bc4d9ceee633c56c63b49955769a92ca060825c9b08e4af61326e2b", + "Passed": "436fe71bb9561f0596161c4d50c7b23327b4189acaf63dc89f4f9205b67a7528", "Password": "e7cf3ef4f17c3999a94f2c6f612e8a888e5b1026878e4e19398b23bd38ec221a", "Paste a Ling memory Markdown export": "3efbebfd30ffeb6bfba59beb91961665a830db73fea934f7fed5394666a7c901", "Paste an API key in Model Workbench, then Save.": "07d4307d7f787295b9cfe97f60114a53060c0f9319a38a5c935fb3f76aceb2cc", @@ -5250,6 +5254,7 @@ "Refresh the library to load Ling built-in skills.": "c1c70580c6d18d99477517ed4d8e7b1b2d7ce26b1c7e932cb3260eeef43008c2", "Refresh to load member readiness.": "b7018c54ba477bad3f292cefce02f582783c67f459e84182d3fe06e53cfe3236", "Refresh to load the selected channel's workflow and credential state.": "290fe59158244da3b9914566b3df31b8f15d3a66fd3ffd9661da282028522f59", + "Refresh verification": "c444d5a4e36d9ec9e448c2eb179a6ef45d3594cd02c264f699a83a04bb51749f", "Refresh work summary": "ccd4dcacf0460eb1ca7749ead055fbffcd395e4f8a0c0f9292d390394b80a78e", "Refresh workflow templates": "1d5c58c6bb31f588e7992a8fe14fc3bb3ad2f52396c0302dd980d4dfdaf1acaa", "Refresh workspace": "306960dcad4c285f46eb5bffbb815be8ebe98657bfed1a901e44b68c7c9f417d", @@ -6477,6 +6482,7 @@ "Stop scheduler": "da6153337089386cf80b918ffbd2f2a43a8876a76da3ca671200898a73695940", "Stop the current reply or queue new guidance.": "ef65bd0c8e0943cd194a61f0b0714870faf9081eeebdccb2967aabf880477457", "Stop using": "ef22ba68c9e447df816d52baba2d198b9d230a7b92291b0e683c38dd39fd94d7", + "Stop verification": "4d90de345e4b79787a78322b9da1ef2fd9c70098caae9af1208c37adc972ec73", "Stopped": "1a4f630ac1b69fd00728fa8a672ded71d0eae8516cb23e78f94529113399b79b", "Stopped {title}": "a2bb8d21f8b1fc6f69326965aabb4596bb14403cfc02644e3da7c3d99bda4a7f", "Stopped at {step}: {status}.": "a911b75c20e85b6fc45f8d484a34b9f7b844947fd5de54f289305ebd339951b7", @@ -7186,6 +7192,7 @@ "Unknown provider": "59080be0f444945a37e28b48166f9ddeb710cda7f656bb3827a684fffbcf4524", "Unknown size": "fffbd4ecf2ad3884acfc08d4fe61477737434672c0307bb3c08d2e876c0fd704", "Unknown source": "cbc86fd9d9357166a3076a90fd8957b816b3a516b79dc76d84e066daf984f83f", + "Unknown status": "15eebb6f74cc8a5a2a3eb6897533ded3d7c3e52b32cf617087a4793fef134ba0", "Unknown teammate": "491ea2ec8a112ef7fe0bc1368d78168f5a9208e5f9ca8587f8dd5ce1c1c5ef1f", "unknown_outcome": "164557364fc9e34fcc5fa0329a356a7d7042c4797b82a38cf0954e95185ad11d", "unknown_provider_capability": "f7ac373b31c9f98e1b1017117bf429d8b16a92030073b5b5eb5c30de06cdec8b", @@ -7360,12 +7367,15 @@ "Vector dimensions": "9d95d3f89905adeb9db91dc8afa0187d3e97858b2ec6e5ce78c0312ce1e99254", "Vector retrieval": "48180b50b6fc222ac72ac2cb38ac7d89c9b1cccd51392b6eae57b46a8ec6cd44", "Verdict": "4a36f89dafb0a1014671aaf16e3a380a999a33836e4c3a31fe5594a7da034da5", + "Verification": "7140f4f19dec525960aabacb5741a125876c7d85f8cfa9c899cc8880651ddf61", "verified": "1c34f88707b55e6104c4eb20e71ffa3d33e414b71ef689a15fad0640d0ac58cb", "Verified": "4f7838402f37674e8ebedb6cf048c0aea66bacdb25607aa3eee4b53093d83f5c", "Verified by execution": "1c4dd61aa39a909b81e11acea882bee4dec628b47763cc4dccca63dbc5f885bb", "Verified catalog": "8f408d980918dbb3a719ced82bf7e18c80a41382f2e3d444528defc5fa24623a", "Verifies behavior, regression scenarios, and user-facing workflows.": "b0845a7154f2567bfbe99c9649c79df3019b654217110f0d1b94f477dd91c78d", + "Verify": "eea2745e2867a6772adc3e813211e6ce7b6ebd312d7e84a7c1b1aa2f8c75fd4b", "Verify before use": "687f00a3911b398fd3e9df5675ecd82fba1fd114e17e2f868f4b04914679db33", + "Verify current changes": "547006b60c4136a531a18526bb7822b118268902f4f457bff86ab03e2a5e7e3f", "Verify the key, account access, balance, and model permission for this provider.": "5ba03b132333df8c1d7b130335bfa5a4034517c93f2a8725019d0d0eec7eb401", "Verifying": "a7d4a9f301edaa61ef561aaba1847d2729a900ea00bbf358953f99d99d913666", "Verifying integration candidate": "05a26deacc8035b95bfce5888134aaa287046d2727ef374e1ae39b07a59daadc", @@ -8790,9 +8800,11 @@ "cancelling": "취소 중", "Cancelling": "취소 중", "Candidate approved for draft": "초안 승인 후보자", + "Candidate changed since verification": "검증 이후 후보자가 변경됨", "Candidate cluster is not bound to a channel.": "후보 클러스터가 채널에 바인딩되어 있지 않습니다.", "Candidate Clusters": "후보 클러스터", "Candidate commit: {commit}": "후보자 커밋: {commit}", + "Candidate comparison unavailable": "후보 비교 불가", "Candidate details": "후보자 세부정보", "Candidate generation": "후보자 생성", "Candidate generation and recording": "후보 생성 및 기록", @@ -8966,6 +8978,7 @@ "Check member status": "회원상태 확인", "Check member status to load readiness.": "회원 상태를 확인하여 로드 준비 상태를 확인하세요.", "Check needed": "확인 필요", + "Check output": "출력 확인", "Check passed": "수표 통과", "Check preset": "사전 설정 확인", "Check provider": "공급자 확인", @@ -12354,6 +12367,7 @@ "Participant label": "참가자 라벨", "Participants": "참가자들", "Pass": "통과하다", + "Passed": "합격", "Password": "비밀번호", "Paste a Ling memory Markdown export": "Ling 메모리 마크다운 내보내기 붙여넣기", "Paste an API key in Model Workbench, then Save.": "Model Workbench에 API 키를 붙여넣은 다음 저장합니다.", @@ -12959,6 +12973,7 @@ "Refresh the library to load Ling built-in skills.": "Ling 내장 스킬을 불러오려면 라이브러리를 새로고침하세요.", "Refresh to load member readiness.": "회원 준비 상태를 로드하려면 새로고침하세요.", "Refresh to load the selected channel's workflow and credential state.": "선택한 채널의 워크플로 및 자격 증명 상태를 로드하려면 새로 고침하세요.", + "Refresh verification": "새로고침 확인", "Refresh work summary": "Refresh work summary", "Refresh workflow templates": "Refresh workflow templates", "Refresh workspace": "작업공간 새로고침", @@ -14186,6 +14201,7 @@ "Stop scheduler": "스케줄러 중지", "Stop the current reply or queue new guidance.": "현재 응답을 중지하거나 새로운 안내를 대기열에 추가하세요.", "Stop using": "사용 중지", + "Stop verification": "확인 중지", "Stopped": "중지됨", "Stopped {title}": "중지됨 {title}", "Stopped at {step}: {status}.": "{step}: {status}에서 중지되었습니다.", @@ -14895,6 +14911,7 @@ "Unknown provider": "알 수 없는 제공업체", "Unknown size": "알 수 없는 크기", "Unknown source": "알 수 없는 출처", + "Unknown status": "알 수 없는 상태", "Unknown teammate": "알 수 없는 팀원", "unknown_outcome": "결과를 알 수 없음", "unknown_provider_capability": "알 수 없는 공급자 기능", @@ -15069,12 +15086,15 @@ "Vector dimensions": "벡터 차원", "Vector retrieval": "벡터 검색", "Verdict": "평결", + "Verification": "확인", "verified": "검증됨", "Verified": "확인됨", "Verified by execution": "실행으로 확인됨", "Verified catalog": "검증된 카탈로그", "Verifies behavior, regression scenarios, and user-facing workflows.": "동작, 회귀 시나리오 및 사용자 대상 워크플로를 확인합니다.", + "Verify": "확인하다", "Verify before use": "사용 전 확인", + "Verify current changes": "현재 변경사항 확인", "Verify the key, account access, balance, and model permission for this provider.": "이 공급자에 대한 키, 계정 액세스, 잔액 및 모델 권한을 확인하세요.", "Verifying": "확인 중", "Verifying integration candidate": "통합 후보 확인 중", diff --git a/packages/localization/catalogs/lv-LV.json b/packages/localization/catalogs/lv-LV.json index b0103b3e6..d47a4f1bc 100644 --- a/packages/localization/catalogs/lv-LV.json +++ b/packages/localization/catalogs/lv-LV.json @@ -1,6 +1,6 @@ { "locale": "lv-LV", - "sourceRevision": "72f77c6fb25583bb1468e040086563074b7830e025f2fc657144dc0e4aad37c1", + "sourceRevision": "214db76d79f1a5c0fd915c110a2ead6dbb978b58398846e982a0c1ff0cb53108", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -1081,9 +1081,11 @@ "cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Candidate approved for draft": "59a57b9b459b3215e76b651f73f6521bc1bd71fa66bb52e046368a559db6632b", + "Candidate changed since verification": "a2808e03661077a04403dab2204b7ce8d78310c296600bd03c5766a754f216a6", "Candidate cluster is not bound to a channel.": "6066a4e8725d065a7c2b8d2c8974a60c41c0a94124deeabd972f620ddd815786", "Candidate Clusters": "b617f8ce5325fa8984c324816b08d3a26c05dac3c3276bcc4f4ab7196222dbe4", "Candidate commit: {commit}": "09bfd331d31184edc3eb1f8eab93bb1f6bc0cb640c0d1e1b53178e9eca4babbd", + "Candidate comparison unavailable": "f3bcf514a4febc720648d70be4d772e8ed9228ec5e7651edda3c229ddab6b627", "Candidate details": "17394d22b095121d9f0d77ff6d121c01383175fa17242bcd9f04bd61f182b5c9", "Candidate generation": "9d360a71a5d82995775df6401ac1d1f7257a68ad462bab70abb494e14239d3d3", "Candidate generation and recording": "d3af53b1912f971078c187ce9260949e68e49f0c2ea954c216a06fe2baa2acc9", @@ -1257,6 +1259,7 @@ "Check member status": "ff155af014d0b6e94cbf2fca3b01cf8d5725732f178eee985083478adb4a62f5", "Check member status to load readiness.": "6f7f338e22e626b134643fbaec898cf8e8efd19b85eeb6193b4ca0d5d63c4528", "Check needed": "561a32f0c83e5a4fe8d77d891bd4b954d514ea021b4a18e68a3607f5d8747841", + "Check output": "250d2e9675d6d399c668a5e496d0caf2913e14b5ea21036fa8ee2dad94ad4d46", "Check passed": "2f6697a2389d7a3c059e7c0435569b37c78275d752bdf9b9e1c5d94f3d0eeeaf", "Check preset": "85e9cc57cbd02e87de7d5213d2627e64f0ae2e3211dd62045b7c2e3dc2bcd45c", "Check provider": "655b6b054c32b6850e6bc245f79b03cb2513ab227e96e7e4a6fb3269daf60119", @@ -4645,6 +4648,7 @@ "Participant label": "ac9acb52867f8141cbc1741f20bbd2766f819aa569c1191dcac3855ba53b59fc", "Participants": "0e27279b3302db0448a2acf5d923ffb09b75270c2e957bfb93f54815d2146aa4", "Pass": "ebdf8cc00bc4d9ceee633c56c63b49955769a92ca060825c9b08e4af61326e2b", + "Passed": "436fe71bb9561f0596161c4d50c7b23327b4189acaf63dc89f4f9205b67a7528", "Password": "e7cf3ef4f17c3999a94f2c6f612e8a888e5b1026878e4e19398b23bd38ec221a", "Paste a Ling memory Markdown export": "3efbebfd30ffeb6bfba59beb91961665a830db73fea934f7fed5394666a7c901", "Paste an API key in Model Workbench, then Save.": "07d4307d7f787295b9cfe97f60114a53060c0f9319a38a5c935fb3f76aceb2cc", @@ -5250,6 +5254,7 @@ "Refresh the library to load Ling built-in skills.": "c1c70580c6d18d99477517ed4d8e7b1b2d7ce26b1c7e932cb3260eeef43008c2", "Refresh to load member readiness.": "b7018c54ba477bad3f292cefce02f582783c67f459e84182d3fe06e53cfe3236", "Refresh to load the selected channel's workflow and credential state.": "290fe59158244da3b9914566b3df31b8f15d3a66fd3ffd9661da282028522f59", + "Refresh verification": "c444d5a4e36d9ec9e448c2eb179a6ef45d3594cd02c264f699a83a04bb51749f", "Refresh work summary": "ccd4dcacf0460eb1ca7749ead055fbffcd395e4f8a0c0f9292d390394b80a78e", "Refresh workflow templates": "1d5c58c6bb31f588e7992a8fe14fc3bb3ad2f52396c0302dd980d4dfdaf1acaa", "Refresh workspace": "306960dcad4c285f46eb5bffbb815be8ebe98657bfed1a901e44b68c7c9f417d", @@ -6477,6 +6482,7 @@ "Stop scheduler": "da6153337089386cf80b918ffbd2f2a43a8876a76da3ca671200898a73695940", "Stop the current reply or queue new guidance.": "ef65bd0c8e0943cd194a61f0b0714870faf9081eeebdccb2967aabf880477457", "Stop using": "ef22ba68c9e447df816d52baba2d198b9d230a7b92291b0e683c38dd39fd94d7", + "Stop verification": "4d90de345e4b79787a78322b9da1ef2fd9c70098caae9af1208c37adc972ec73", "Stopped": "1a4f630ac1b69fd00728fa8a672ded71d0eae8516cb23e78f94529113399b79b", "Stopped {title}": "a2bb8d21f8b1fc6f69326965aabb4596bb14403cfc02644e3da7c3d99bda4a7f", "Stopped at {step}: {status}.": "a911b75c20e85b6fc45f8d484a34b9f7b844947fd5de54f289305ebd339951b7", @@ -7186,6 +7192,7 @@ "Unknown provider": "59080be0f444945a37e28b48166f9ddeb710cda7f656bb3827a684fffbcf4524", "Unknown size": "fffbd4ecf2ad3884acfc08d4fe61477737434672c0307bb3c08d2e876c0fd704", "Unknown source": "cbc86fd9d9357166a3076a90fd8957b816b3a516b79dc76d84e066daf984f83f", + "Unknown status": "15eebb6f74cc8a5a2a3eb6897533ded3d7c3e52b32cf617087a4793fef134ba0", "Unknown teammate": "491ea2ec8a112ef7fe0bc1368d78168f5a9208e5f9ca8587f8dd5ce1c1c5ef1f", "unknown_outcome": "164557364fc9e34fcc5fa0329a356a7d7042c4797b82a38cf0954e95185ad11d", "unknown_provider_capability": "f7ac373b31c9f98e1b1017117bf429d8b16a92030073b5b5eb5c30de06cdec8b", @@ -7360,12 +7367,15 @@ "Vector dimensions": "9d95d3f89905adeb9db91dc8afa0187d3e97858b2ec6e5ce78c0312ce1e99254", "Vector retrieval": "48180b50b6fc222ac72ac2cb38ac7d89c9b1cccd51392b6eae57b46a8ec6cd44", "Verdict": "4a36f89dafb0a1014671aaf16e3a380a999a33836e4c3a31fe5594a7da034da5", + "Verification": "7140f4f19dec525960aabacb5741a125876c7d85f8cfa9c899cc8880651ddf61", "verified": "1c34f88707b55e6104c4eb20e71ffa3d33e414b71ef689a15fad0640d0ac58cb", "Verified": "4f7838402f37674e8ebedb6cf048c0aea66bacdb25607aa3eee4b53093d83f5c", "Verified by execution": "1c4dd61aa39a909b81e11acea882bee4dec628b47763cc4dccca63dbc5f885bb", "Verified catalog": "8f408d980918dbb3a719ced82bf7e18c80a41382f2e3d444528defc5fa24623a", "Verifies behavior, regression scenarios, and user-facing workflows.": "b0845a7154f2567bfbe99c9649c79df3019b654217110f0d1b94f477dd91c78d", + "Verify": "eea2745e2867a6772adc3e813211e6ce7b6ebd312d7e84a7c1b1aa2f8c75fd4b", "Verify before use": "687f00a3911b398fd3e9df5675ecd82fba1fd114e17e2f868f4b04914679db33", + "Verify current changes": "547006b60c4136a531a18526bb7822b118268902f4f457bff86ab03e2a5e7e3f", "Verify the key, account access, balance, and model permission for this provider.": "5ba03b132333df8c1d7b130335bfa5a4034517c93f2a8725019d0d0eec7eb401", "Verifying": "a7d4a9f301edaa61ef561aaba1847d2729a900ea00bbf358953f99d99d913666", "Verifying integration candidate": "05a26deacc8035b95bfce5888134aaa287046d2727ef374e1ae39b07a59daadc", @@ -8790,9 +8800,11 @@ "cancelling": "Notiek atcelšana", "Cancelling": "Notiek atcelšana", "Candidate approved for draft": "Kandidāts apstiprināts projektam", + "Candidate changed since verification": "Kandidāts ir mainīts kopš verifikācijas", "Candidate cluster is not bound to a channel.": "Kandidātu kopa nav saistīta ar kanālu.", "Candidate Clusters": "Kandidātu kopas", "Candidate commit: {commit}": "Kandidāta apņemšanās: {commit}", + "Candidate comparison unavailable": "Kandidātu salīdzinājums nav pieejams", "Candidate details": "Sīkāka informācija par kandidātu", "Candidate generation": "Kandidātu paaudze", "Candidate generation and recording": "Kandidātu paaudze un ierakstīšana", @@ -8966,6 +8978,7 @@ "Check member status": "Pārbaudiet dalībnieka statusu", "Check member status to load readiness.": "Pārbaudiet dalībnieka statusu, lai ielādētu gatavību.", "Check needed": "Nepieciešama pārbaude", + "Check output": "Pārbaudiet izvadi", "Check passed": "Pārbaude nokārtota", "Check preset": "Pārbaudiet sākotnējo iestatījumu", "Check provider": "Pārbaudiet pakalpojumu sniedzēju", @@ -12354,6 +12367,7 @@ "Participant label": "Dalībnieka etiķete", "Participants": "Dalībnieki", "Pass": "Pass", + "Passed": "Nokārtots", "Password": "Parole", "Paste a Ling memory Markdown export": "Ielīmējiet Ling atmiņas Markdown eksportu", "Paste an API key in Model Workbench, then Save.": "Ielīmējiet API atslēgu Model Workbench un pēc tam Saglabāt.", @@ -12959,6 +12973,7 @@ "Refresh the library to load Ling built-in skills.": "Atsvaidziniet bibliotēku, lai ielādētu Ling iebūvētās prasmes.", "Refresh to load member readiness.": "Atsvaidziniet, lai ielādētu dalībnieka gatavību.", "Refresh to load the selected channel's workflow and credential state.": "Atsvaidziniet, lai ielādētu atlasītā kanāla darbplūsmu un akreditācijas datu stāvokli.", + "Refresh verification": "Atsvaidzināt verifikāciju", "Refresh work summary": "Refresh work summary", "Refresh workflow templates": "Refresh workflow templates", "Refresh workspace": "Atsvaidziniet darbvietu", @@ -14186,6 +14201,7 @@ "Stop scheduler": "Apturēt plānotāju", "Stop the current reply or queue new guidance.": "Apturiet pašreizējo atbildi vai ievietojiet rindā jaunus norādījumus.", "Stop using": "Pārtrauciet lietot", + "Stop verification": "Pārtraukt verifikāciju", "Stopped": "Apstājās", "Stopped {title}": "Apturēts {title}", "Stopped at {step}: {status}.": "Apstādināts pie {step}: {status}.", @@ -14895,6 +14911,7 @@ "Unknown provider": "Nezināms pakalpojumu sniedzējs", "Unknown size": "Nezināms izmērs", "Unknown source": "Nezināms avots", + "Unknown status": "Nezināms statuss", "Unknown teammate": "Nezināms komandas biedrs", "unknown_outcome": "Rezultāts nav zināms", "unknown_provider_capability": "Nezināma pakalpojumu sniedzēja iespēja", @@ -15069,12 +15086,15 @@ "Vector dimensions": "Vektora izmēri", "Vector retrieval": "Vektoru izguve", "Verdict": "Spriedums", + "Verification": "Verifikācija", "verified": "pārbaudīts", "Verified": "Pārbaudīts", "Verified by execution": "Pārbaudīts ar izpildi", "Verified catalog": "Pārbaudīts katalogs", "Verifies behavior, regression scenarios, and user-facing workflows.": "Pārbauda uzvedību, regresijas scenārijus un lietotāju darbplūsmas.", + "Verify": "Pārbaudīt", "Verify before use": "Pirms lietošanas pārbaudiet", + "Verify current changes": "Pārbaudiet pašreizējās izmaiņas", "Verify the key, account access, balance, and model permission for this provider.": "Pārbaudiet šī pakalpojumu sniedzēja atslēgu, piekļuvi kontam, bilanci un modeļa atļauju.", "Verifying": "Pārbauda", "Verifying integration candidate": "Integrācijas kandidāta pārbaude", diff --git a/packages/localization/catalogs/mk-MK.json b/packages/localization/catalogs/mk-MK.json index 9b32040e4..59d290778 100644 --- a/packages/localization/catalogs/mk-MK.json +++ b/packages/localization/catalogs/mk-MK.json @@ -1,6 +1,6 @@ { "locale": "mk-MK", - "sourceRevision": "72f77c6fb25583bb1468e040086563074b7830e025f2fc657144dc0e4aad37c1", + "sourceRevision": "214db76d79f1a5c0fd915c110a2ead6dbb978b58398846e982a0c1ff0cb53108", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -1081,9 +1081,11 @@ "cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Candidate approved for draft": "59a57b9b459b3215e76b651f73f6521bc1bd71fa66bb52e046368a559db6632b", + "Candidate changed since verification": "a2808e03661077a04403dab2204b7ce8d78310c296600bd03c5766a754f216a6", "Candidate cluster is not bound to a channel.": "6066a4e8725d065a7c2b8d2c8974a60c41c0a94124deeabd972f620ddd815786", "Candidate Clusters": "b617f8ce5325fa8984c324816b08d3a26c05dac3c3276bcc4f4ab7196222dbe4", "Candidate commit: {commit}": "09bfd331d31184edc3eb1f8eab93bb1f6bc0cb640c0d1e1b53178e9eca4babbd", + "Candidate comparison unavailable": "f3bcf514a4febc720648d70be4d772e8ed9228ec5e7651edda3c229ddab6b627", "Candidate details": "17394d22b095121d9f0d77ff6d121c01383175fa17242bcd9f04bd61f182b5c9", "Candidate generation": "9d360a71a5d82995775df6401ac1d1f7257a68ad462bab70abb494e14239d3d3", "Candidate generation and recording": "d3af53b1912f971078c187ce9260949e68e49f0c2ea954c216a06fe2baa2acc9", @@ -1257,6 +1259,7 @@ "Check member status": "ff155af014d0b6e94cbf2fca3b01cf8d5725732f178eee985083478adb4a62f5", "Check member status to load readiness.": "6f7f338e22e626b134643fbaec898cf8e8efd19b85eeb6193b4ca0d5d63c4528", "Check needed": "561a32f0c83e5a4fe8d77d891bd4b954d514ea021b4a18e68a3607f5d8747841", + "Check output": "250d2e9675d6d399c668a5e496d0caf2913e14b5ea21036fa8ee2dad94ad4d46", "Check passed": "2f6697a2389d7a3c059e7c0435569b37c78275d752bdf9b9e1c5d94f3d0eeeaf", "Check preset": "85e9cc57cbd02e87de7d5213d2627e64f0ae2e3211dd62045b7c2e3dc2bcd45c", "Check provider": "655b6b054c32b6850e6bc245f79b03cb2513ab227e96e7e4a6fb3269daf60119", @@ -4645,6 +4648,7 @@ "Participant label": "ac9acb52867f8141cbc1741f20bbd2766f819aa569c1191dcac3855ba53b59fc", "Participants": "0e27279b3302db0448a2acf5d923ffb09b75270c2e957bfb93f54815d2146aa4", "Pass": "ebdf8cc00bc4d9ceee633c56c63b49955769a92ca060825c9b08e4af61326e2b", + "Passed": "436fe71bb9561f0596161c4d50c7b23327b4189acaf63dc89f4f9205b67a7528", "Password": "e7cf3ef4f17c3999a94f2c6f612e8a888e5b1026878e4e19398b23bd38ec221a", "Paste a Ling memory Markdown export": "3efbebfd30ffeb6bfba59beb91961665a830db73fea934f7fed5394666a7c901", "Paste an API key in Model Workbench, then Save.": "07d4307d7f787295b9cfe97f60114a53060c0f9319a38a5c935fb3f76aceb2cc", @@ -5250,6 +5254,7 @@ "Refresh the library to load Ling built-in skills.": "c1c70580c6d18d99477517ed4d8e7b1b2d7ce26b1c7e932cb3260eeef43008c2", "Refresh to load member readiness.": "b7018c54ba477bad3f292cefce02f582783c67f459e84182d3fe06e53cfe3236", "Refresh to load the selected channel's workflow and credential state.": "290fe59158244da3b9914566b3df31b8f15d3a66fd3ffd9661da282028522f59", + "Refresh verification": "c444d5a4e36d9ec9e448c2eb179a6ef45d3594cd02c264f699a83a04bb51749f", "Refresh work summary": "ccd4dcacf0460eb1ca7749ead055fbffcd395e4f8a0c0f9292d390394b80a78e", "Refresh workflow templates": "1d5c58c6bb31f588e7992a8fe14fc3bb3ad2f52396c0302dd980d4dfdaf1acaa", "Refresh workspace": "306960dcad4c285f46eb5bffbb815be8ebe98657bfed1a901e44b68c7c9f417d", @@ -6477,6 +6482,7 @@ "Stop scheduler": "da6153337089386cf80b918ffbd2f2a43a8876a76da3ca671200898a73695940", "Stop the current reply or queue new guidance.": "ef65bd0c8e0943cd194a61f0b0714870faf9081eeebdccb2967aabf880477457", "Stop using": "ef22ba68c9e447df816d52baba2d198b9d230a7b92291b0e683c38dd39fd94d7", + "Stop verification": "4d90de345e4b79787a78322b9da1ef2fd9c70098caae9af1208c37adc972ec73", "Stopped": "1a4f630ac1b69fd00728fa8a672ded71d0eae8516cb23e78f94529113399b79b", "Stopped {title}": "a2bb8d21f8b1fc6f69326965aabb4596bb14403cfc02644e3da7c3d99bda4a7f", "Stopped at {step}: {status}.": "a911b75c20e85b6fc45f8d484a34b9f7b844947fd5de54f289305ebd339951b7", @@ -7186,6 +7192,7 @@ "Unknown provider": "59080be0f444945a37e28b48166f9ddeb710cda7f656bb3827a684fffbcf4524", "Unknown size": "fffbd4ecf2ad3884acfc08d4fe61477737434672c0307bb3c08d2e876c0fd704", "Unknown source": "cbc86fd9d9357166a3076a90fd8957b816b3a516b79dc76d84e066daf984f83f", + "Unknown status": "15eebb6f74cc8a5a2a3eb6897533ded3d7c3e52b32cf617087a4793fef134ba0", "Unknown teammate": "491ea2ec8a112ef7fe0bc1368d78168f5a9208e5f9ca8587f8dd5ce1c1c5ef1f", "unknown_outcome": "164557364fc9e34fcc5fa0329a356a7d7042c4797b82a38cf0954e95185ad11d", "unknown_provider_capability": "f7ac373b31c9f98e1b1017117bf429d8b16a92030073b5b5eb5c30de06cdec8b", @@ -7360,12 +7367,15 @@ "Vector dimensions": "9d95d3f89905adeb9db91dc8afa0187d3e97858b2ec6e5ce78c0312ce1e99254", "Vector retrieval": "48180b50b6fc222ac72ac2cb38ac7d89c9b1cccd51392b6eae57b46a8ec6cd44", "Verdict": "4a36f89dafb0a1014671aaf16e3a380a999a33836e4c3a31fe5594a7da034da5", + "Verification": "7140f4f19dec525960aabacb5741a125876c7d85f8cfa9c899cc8880651ddf61", "verified": "1c34f88707b55e6104c4eb20e71ffa3d33e414b71ef689a15fad0640d0ac58cb", "Verified": "4f7838402f37674e8ebedb6cf048c0aea66bacdb25607aa3eee4b53093d83f5c", "Verified by execution": "1c4dd61aa39a909b81e11acea882bee4dec628b47763cc4dccca63dbc5f885bb", "Verified catalog": "8f408d980918dbb3a719ced82bf7e18c80a41382f2e3d444528defc5fa24623a", "Verifies behavior, regression scenarios, and user-facing workflows.": "b0845a7154f2567bfbe99c9649c79df3019b654217110f0d1b94f477dd91c78d", + "Verify": "eea2745e2867a6772adc3e813211e6ce7b6ebd312d7e84a7c1b1aa2f8c75fd4b", "Verify before use": "687f00a3911b398fd3e9df5675ecd82fba1fd114e17e2f868f4b04914679db33", + "Verify current changes": "547006b60c4136a531a18526bb7822b118268902f4f457bff86ab03e2a5e7e3f", "Verify the key, account access, balance, and model permission for this provider.": "5ba03b132333df8c1d7b130335bfa5a4034517c93f2a8725019d0d0eec7eb401", "Verifying": "a7d4a9f301edaa61ef561aaba1847d2729a900ea00bbf358953f99d99d913666", "Verifying integration candidate": "05a26deacc8035b95bfce5888134aaa287046d2727ef374e1ae39b07a59daadc", @@ -8790,9 +8800,11 @@ "cancelling": "Откажување", "Cancelling": "Откажување", "Candidate approved for draft": "Кандидатот одобрен за нацрт", + "Candidate changed since verification": "Кандидатот е променет од верификацијата", "Candidate cluster is not bound to a channel.": "Кластерот на кандидати не е врзан за канал.", "Candidate Clusters": "Кандидатски кластери", "Candidate commit: {commit}": "Кандидатот се обврзува: {commit}", + "Candidate comparison unavailable": "Споредбата на кандидатите е недостапна", "Candidate details": "Детали за кандидатот", "Candidate generation": "Генерација на кандидати", "Candidate generation and recording": "Генерирање и снимање на кандидати", @@ -8966,6 +8978,7 @@ "Check member status": "Проверете го статусот на членот", "Check member status to load readiness.": "Проверете го статусот на член за да се вчита подготвеноста.", "Check needed": "Потребна е проверка", + "Check output": "Проверете го излезот", "Check passed": "Проверката помина", "Check preset": "Проверете претходно поставено", "Check provider": "Проверете го давателот", @@ -12354,6 +12367,7 @@ "Participant label": "Ознака за учесник", "Participants": "Учесници", "Pass": "Поминете", + "Passed": "Помина", "Password": "Лозинка", "Paste a Ling memory Markdown export": "Залепете извоз на Ling обележување на меморијата", "Paste an API key in Model Workbench, then Save.": "Залепете клуч API во Model Workbench, а потоа Зачувај.", @@ -12959,6 +12973,7 @@ "Refresh the library to load Ling built-in skills.": "Освежете ја библиотеката за да ги вчитате Ling вградените вештини.", "Refresh to load member readiness.": "Освежете за да ја вчитате подготвеноста на членовите.", "Refresh to load the selected channel's workflow and credential state.": "Освежете за да го вчитате работниот тек и состојбата на акредитивите на избраниот канал.", + "Refresh verification": "Освежете ја потврдата", "Refresh work summary": "Refresh work summary", "Refresh workflow templates": "Refresh workflow templates", "Refresh workspace": "Освежете го работниот простор", @@ -14186,6 +14201,7 @@ "Stop scheduler": "Запрете го распоредувачот", "Stop the current reply or queue new guidance.": "Запрете го тековниот одговор или редете ново упатство.", "Stop using": "Престанете да користите", + "Stop verification": "Стоп за проверка", "Stopped": "Застана", "Stopped {title}": "Запрено {title}", "Stopped at {step}: {status}.": "Застана на {step}: {status}.", @@ -14895,6 +14911,7 @@ "Unknown provider": "Непознат провајдер", "Unknown size": "Непозната големина", "Unknown source": "Непознат извор", + "Unknown status": "Непознат статус", "Unknown teammate": "Непознат соиграч", "unknown_outcome": "Исходот непознат", "unknown_provider_capability": "Непозната способност на провајдер", @@ -15069,12 +15086,15 @@ "Vector dimensions": "Векторски димензии", "Vector retrieval": "Векторско пребарување", "Verdict": "Пресуда", + "Verification": "Верификација", "verified": "потврдена", "Verified": "Потврдено", "Verified by execution": "Потврдено со извршување", "Verified catalog": "Потврден каталог", "Verifies behavior, regression scenarios, and user-facing workflows.": "Го потврдува однесувањето, сценаријата за регресија и работните текови со кои се соочува корисникот.", + "Verify": "Потврди", "Verify before use": "Проверете пред употреба", + "Verify current changes": "Потврдете ги тековните промени", "Verify the key, account access, balance, and model permission for this provider.": "Потврдете го клучот, пристапот до сметката, состојбата и дозволата за модел за овој давател.", "Verifying": "Се потврдува", "Verifying integration candidate": "Се потврдува кандидатот за интеграција", diff --git a/packages/localization/catalogs/mr-IN.json b/packages/localization/catalogs/mr-IN.json index 46e0625f4..2d0f242be 100644 --- a/packages/localization/catalogs/mr-IN.json +++ b/packages/localization/catalogs/mr-IN.json @@ -1,6 +1,6 @@ { "locale": "mr-IN", - "sourceRevision": "72f77c6fb25583bb1468e040086563074b7830e025f2fc657144dc0e4aad37c1", + "sourceRevision": "214db76d79f1a5c0fd915c110a2ead6dbb978b58398846e982a0c1ff0cb53108", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -1081,9 +1081,11 @@ "cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Candidate approved for draft": "59a57b9b459b3215e76b651f73f6521bc1bd71fa66bb52e046368a559db6632b", + "Candidate changed since verification": "a2808e03661077a04403dab2204b7ce8d78310c296600bd03c5766a754f216a6", "Candidate cluster is not bound to a channel.": "6066a4e8725d065a7c2b8d2c8974a60c41c0a94124deeabd972f620ddd815786", "Candidate Clusters": "b617f8ce5325fa8984c324816b08d3a26c05dac3c3276bcc4f4ab7196222dbe4", "Candidate commit: {commit}": "09bfd331d31184edc3eb1f8eab93bb1f6bc0cb640c0d1e1b53178e9eca4babbd", + "Candidate comparison unavailable": "f3bcf514a4febc720648d70be4d772e8ed9228ec5e7651edda3c229ddab6b627", "Candidate details": "17394d22b095121d9f0d77ff6d121c01383175fa17242bcd9f04bd61f182b5c9", "Candidate generation": "9d360a71a5d82995775df6401ac1d1f7257a68ad462bab70abb494e14239d3d3", "Candidate generation and recording": "d3af53b1912f971078c187ce9260949e68e49f0c2ea954c216a06fe2baa2acc9", @@ -1257,6 +1259,7 @@ "Check member status": "ff155af014d0b6e94cbf2fca3b01cf8d5725732f178eee985083478adb4a62f5", "Check member status to load readiness.": "6f7f338e22e626b134643fbaec898cf8e8efd19b85eeb6193b4ca0d5d63c4528", "Check needed": "561a32f0c83e5a4fe8d77d891bd4b954d514ea021b4a18e68a3607f5d8747841", + "Check output": "250d2e9675d6d399c668a5e496d0caf2913e14b5ea21036fa8ee2dad94ad4d46", "Check passed": "2f6697a2389d7a3c059e7c0435569b37c78275d752bdf9b9e1c5d94f3d0eeeaf", "Check preset": "85e9cc57cbd02e87de7d5213d2627e64f0ae2e3211dd62045b7c2e3dc2bcd45c", "Check provider": "655b6b054c32b6850e6bc245f79b03cb2513ab227e96e7e4a6fb3269daf60119", @@ -4645,6 +4648,7 @@ "Participant label": "ac9acb52867f8141cbc1741f20bbd2766f819aa569c1191dcac3855ba53b59fc", "Participants": "0e27279b3302db0448a2acf5d923ffb09b75270c2e957bfb93f54815d2146aa4", "Pass": "ebdf8cc00bc4d9ceee633c56c63b49955769a92ca060825c9b08e4af61326e2b", + "Passed": "436fe71bb9561f0596161c4d50c7b23327b4189acaf63dc89f4f9205b67a7528", "Password": "e7cf3ef4f17c3999a94f2c6f612e8a888e5b1026878e4e19398b23bd38ec221a", "Paste a Ling memory Markdown export": "3efbebfd30ffeb6bfba59beb91961665a830db73fea934f7fed5394666a7c901", "Paste an API key in Model Workbench, then Save.": "07d4307d7f787295b9cfe97f60114a53060c0f9319a38a5c935fb3f76aceb2cc", @@ -5250,6 +5254,7 @@ "Refresh the library to load Ling built-in skills.": "c1c70580c6d18d99477517ed4d8e7b1b2d7ce26b1c7e932cb3260eeef43008c2", "Refresh to load member readiness.": "b7018c54ba477bad3f292cefce02f582783c67f459e84182d3fe06e53cfe3236", "Refresh to load the selected channel's workflow and credential state.": "290fe59158244da3b9914566b3df31b8f15d3a66fd3ffd9661da282028522f59", + "Refresh verification": "c444d5a4e36d9ec9e448c2eb179a6ef45d3594cd02c264f699a83a04bb51749f", "Refresh work summary": "ccd4dcacf0460eb1ca7749ead055fbffcd395e4f8a0c0f9292d390394b80a78e", "Refresh workflow templates": "1d5c58c6bb31f588e7992a8fe14fc3bb3ad2f52396c0302dd980d4dfdaf1acaa", "Refresh workspace": "306960dcad4c285f46eb5bffbb815be8ebe98657bfed1a901e44b68c7c9f417d", @@ -6477,6 +6482,7 @@ "Stop scheduler": "da6153337089386cf80b918ffbd2f2a43a8876a76da3ca671200898a73695940", "Stop the current reply or queue new guidance.": "ef65bd0c8e0943cd194a61f0b0714870faf9081eeebdccb2967aabf880477457", "Stop using": "ef22ba68c9e447df816d52baba2d198b9d230a7b92291b0e683c38dd39fd94d7", + "Stop verification": "4d90de345e4b79787a78322b9da1ef2fd9c70098caae9af1208c37adc972ec73", "Stopped": "1a4f630ac1b69fd00728fa8a672ded71d0eae8516cb23e78f94529113399b79b", "Stopped {title}": "a2bb8d21f8b1fc6f69326965aabb4596bb14403cfc02644e3da7c3d99bda4a7f", "Stopped at {step}: {status}.": "a911b75c20e85b6fc45f8d484a34b9f7b844947fd5de54f289305ebd339951b7", @@ -7186,6 +7192,7 @@ "Unknown provider": "59080be0f444945a37e28b48166f9ddeb710cda7f656bb3827a684fffbcf4524", "Unknown size": "fffbd4ecf2ad3884acfc08d4fe61477737434672c0307bb3c08d2e876c0fd704", "Unknown source": "cbc86fd9d9357166a3076a90fd8957b816b3a516b79dc76d84e066daf984f83f", + "Unknown status": "15eebb6f74cc8a5a2a3eb6897533ded3d7c3e52b32cf617087a4793fef134ba0", "Unknown teammate": "491ea2ec8a112ef7fe0bc1368d78168f5a9208e5f9ca8587f8dd5ce1c1c5ef1f", "unknown_outcome": "164557364fc9e34fcc5fa0329a356a7d7042c4797b82a38cf0954e95185ad11d", "unknown_provider_capability": "f7ac373b31c9f98e1b1017117bf429d8b16a92030073b5b5eb5c30de06cdec8b", @@ -7360,12 +7367,15 @@ "Vector dimensions": "9d95d3f89905adeb9db91dc8afa0187d3e97858b2ec6e5ce78c0312ce1e99254", "Vector retrieval": "48180b50b6fc222ac72ac2cb38ac7d89c9b1cccd51392b6eae57b46a8ec6cd44", "Verdict": "4a36f89dafb0a1014671aaf16e3a380a999a33836e4c3a31fe5594a7da034da5", + "Verification": "7140f4f19dec525960aabacb5741a125876c7d85f8cfa9c899cc8880651ddf61", "verified": "1c34f88707b55e6104c4eb20e71ffa3d33e414b71ef689a15fad0640d0ac58cb", "Verified": "4f7838402f37674e8ebedb6cf048c0aea66bacdb25607aa3eee4b53093d83f5c", "Verified by execution": "1c4dd61aa39a909b81e11acea882bee4dec628b47763cc4dccca63dbc5f885bb", "Verified catalog": "8f408d980918dbb3a719ced82bf7e18c80a41382f2e3d444528defc5fa24623a", "Verifies behavior, regression scenarios, and user-facing workflows.": "b0845a7154f2567bfbe99c9649c79df3019b654217110f0d1b94f477dd91c78d", + "Verify": "eea2745e2867a6772adc3e813211e6ce7b6ebd312d7e84a7c1b1aa2f8c75fd4b", "Verify before use": "687f00a3911b398fd3e9df5675ecd82fba1fd114e17e2f868f4b04914679db33", + "Verify current changes": "547006b60c4136a531a18526bb7822b118268902f4f457bff86ab03e2a5e7e3f", "Verify the key, account access, balance, and model permission for this provider.": "5ba03b132333df8c1d7b130335bfa5a4034517c93f2a8725019d0d0eec7eb401", "Verifying": "a7d4a9f301edaa61ef561aaba1847d2729a900ea00bbf358953f99d99d913666", "Verifying integration candidate": "05a26deacc8035b95bfce5888134aaa287046d2727ef374e1ae39b07a59daadc", @@ -8790,9 +8800,11 @@ "cancelling": "रद्द करत आहे", "Cancelling": "रद्द करत आहे", "Candidate approved for draft": "मसुद्यासाठी उमेदवार मंजूर", + "Candidate changed since verification": "पडताळणीनंतर उमेदवार बदलला", "Candidate cluster is not bound to a channel.": "उमेदवार क्लस्टर चॅनेलला बांधील नाही.", "Candidate Clusters": "उमेदवार क्लस्टर्स", "Candidate commit: {commit}": "उमेदवार वचनबद्ध: {commit}", + "Candidate comparison unavailable": "उमेदवार तुलना अनुपलब्ध", "Candidate details": "उमेदवार तपशील", "Candidate generation": "उमेदवार पिढी", "Candidate generation and recording": "उमेदवार निर्मिती आणि रेकॉर्डिंग", @@ -8966,6 +8978,7 @@ "Check member status": "सदस्य स्थिती तपासा", "Check member status to load readiness.": "तत्परता लोड करण्यासाठी सदस्य स्थिती तपासा.", "Check needed": "तपासणे आवश्यक आहे", + "Check output": "आउटपुट तपासा", "Check passed": "चेक पास झाला", "Check preset": "प्रीसेट तपासा", "Check provider": "प्रदाता तपासा", @@ -12354,6 +12367,7 @@ "Participant label": "सहभागी लेबल", "Participants": "सहभागी", "Pass": "पास", + "Passed": "उत्तीर्ण", "Password": "पासवर्ड", "Paste a Ling memory Markdown export": "मार्कडाउन निर्यात Ling मेमरी पेस्ट करा", "Paste an API key in Model Workbench, then Save.": "मॉडेल वर्कबेंचमध्ये API की पेस्ट करा, नंतर सेव्ह करा.", @@ -12959,6 +12973,7 @@ "Refresh the library to load Ling built-in skills.": "Ling अंगभूत कौशल्ये लोड करण्यासाठी लायब्ररी रिफ्रेश करा.", "Refresh to load member readiness.": "सदस्य तयारी लोड करण्यासाठी रिफ्रेश करा.", "Refresh to load the selected channel's workflow and credential state.": "निवडलेल्या चॅनेलचा वर्कफ्लो आणि क्रेडेंशियल स्थिती लोड करण्यासाठी रिफ्रेश करा.", + "Refresh verification": "सत्यापन रिफ्रेश करा", "Refresh work summary": "Refresh work summary", "Refresh workflow templates": "Refresh workflow templates", "Refresh workspace": "वर्कस्पेस रिफ्रेश करा", @@ -14186,6 +14201,7 @@ "Stop scheduler": "शेड्यूलर थांबवा", "Stop the current reply or queue new guidance.": "सध्याचे उत्तर थांबवा किंवा नवीन मार्गदर्शनाची रांग लावा.", "Stop using": "वापरणे थांबवा", + "Stop verification": "पडताळणी थांबवा", "Stopped": "थांबला", "Stopped {title}": "थांबवले {title}", "Stopped at {step}: {status}.": "{step} येथे थांबले: {status}.", @@ -14895,6 +14911,7 @@ "Unknown provider": "अज्ञात प्रदाता", "Unknown size": "अज्ञात आकार", "Unknown source": "अज्ञात स्रोत", + "Unknown status": "अज्ञात स्थिती", "Unknown teammate": "अज्ञात संघमित्र", "unknown_outcome": "परिणाम अज्ञात", "unknown_provider_capability": "अज्ञात प्रदाता क्षमता", @@ -15069,12 +15086,15 @@ "Vector dimensions": "वेक्टर परिमाणे", "Vector retrieval": "वेक्टर पुनर्प्राप्ती", "Verdict": "निवाडा", + "Verification": "पडताळणी", "verified": "सत्यापित", "Verified": "सत्यापित", "Verified by execution": "अंमलबजावणीद्वारे सत्यापित", "Verified catalog": "सत्यापित कॅटलॉग", "Verifies behavior, regression scenarios, and user-facing workflows.": "वर्तन, प्रतिगमन परिस्थिती आणि वापरकर्ता-फेसिंग वर्कफ्लो सत्यापित करते.", + "Verify": "सत्यापित करा", "Verify before use": "वापरण्यापूर्वी सत्यापित करा", + "Verify current changes": "वर्तमान बदल सत्यापित करा", "Verify the key, account access, balance, and model permission for this provider.": "या प्रदात्यासाठी की, खाते प्रवेश, शिल्लक आणि मॉडेल परवानगी सत्यापित करा.", "Verifying": "पडताळणी करत आहे", "Verifying integration candidate": "एकीकरण उमेदवार सत्यापित करत आहे", diff --git a/packages/localization/catalogs/ms-MY.json b/packages/localization/catalogs/ms-MY.json index 05763aa52..051ef4027 100644 --- a/packages/localization/catalogs/ms-MY.json +++ b/packages/localization/catalogs/ms-MY.json @@ -1,6 +1,6 @@ { "locale": "ms-MY", - "sourceRevision": "72f77c6fb25583bb1468e040086563074b7830e025f2fc657144dc0e4aad37c1", + "sourceRevision": "214db76d79f1a5c0fd915c110a2ead6dbb978b58398846e982a0c1ff0cb53108", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -1081,9 +1081,11 @@ "cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Candidate approved for draft": "59a57b9b459b3215e76b651f73f6521bc1bd71fa66bb52e046368a559db6632b", + "Candidate changed since verification": "a2808e03661077a04403dab2204b7ce8d78310c296600bd03c5766a754f216a6", "Candidate cluster is not bound to a channel.": "6066a4e8725d065a7c2b8d2c8974a60c41c0a94124deeabd972f620ddd815786", "Candidate Clusters": "b617f8ce5325fa8984c324816b08d3a26c05dac3c3276bcc4f4ab7196222dbe4", "Candidate commit: {commit}": "09bfd331d31184edc3eb1f8eab93bb1f6bc0cb640c0d1e1b53178e9eca4babbd", + "Candidate comparison unavailable": "f3bcf514a4febc720648d70be4d772e8ed9228ec5e7651edda3c229ddab6b627", "Candidate details": "17394d22b095121d9f0d77ff6d121c01383175fa17242bcd9f04bd61f182b5c9", "Candidate generation": "9d360a71a5d82995775df6401ac1d1f7257a68ad462bab70abb494e14239d3d3", "Candidate generation and recording": "d3af53b1912f971078c187ce9260949e68e49f0c2ea954c216a06fe2baa2acc9", @@ -1257,6 +1259,7 @@ "Check member status": "ff155af014d0b6e94cbf2fca3b01cf8d5725732f178eee985083478adb4a62f5", "Check member status to load readiness.": "6f7f338e22e626b134643fbaec898cf8e8efd19b85eeb6193b4ca0d5d63c4528", "Check needed": "561a32f0c83e5a4fe8d77d891bd4b954d514ea021b4a18e68a3607f5d8747841", + "Check output": "250d2e9675d6d399c668a5e496d0caf2913e14b5ea21036fa8ee2dad94ad4d46", "Check passed": "2f6697a2389d7a3c059e7c0435569b37c78275d752bdf9b9e1c5d94f3d0eeeaf", "Check preset": "85e9cc57cbd02e87de7d5213d2627e64f0ae2e3211dd62045b7c2e3dc2bcd45c", "Check provider": "655b6b054c32b6850e6bc245f79b03cb2513ab227e96e7e4a6fb3269daf60119", @@ -4645,6 +4648,7 @@ "Participant label": "ac9acb52867f8141cbc1741f20bbd2766f819aa569c1191dcac3855ba53b59fc", "Participants": "0e27279b3302db0448a2acf5d923ffb09b75270c2e957bfb93f54815d2146aa4", "Pass": "ebdf8cc00bc4d9ceee633c56c63b49955769a92ca060825c9b08e4af61326e2b", + "Passed": "436fe71bb9561f0596161c4d50c7b23327b4189acaf63dc89f4f9205b67a7528", "Password": "e7cf3ef4f17c3999a94f2c6f612e8a888e5b1026878e4e19398b23bd38ec221a", "Paste a Ling memory Markdown export": "3efbebfd30ffeb6bfba59beb91961665a830db73fea934f7fed5394666a7c901", "Paste an API key in Model Workbench, then Save.": "07d4307d7f787295b9cfe97f60114a53060c0f9319a38a5c935fb3f76aceb2cc", @@ -5250,6 +5254,7 @@ "Refresh the library to load Ling built-in skills.": "c1c70580c6d18d99477517ed4d8e7b1b2d7ce26b1c7e932cb3260eeef43008c2", "Refresh to load member readiness.": "b7018c54ba477bad3f292cefce02f582783c67f459e84182d3fe06e53cfe3236", "Refresh to load the selected channel's workflow and credential state.": "290fe59158244da3b9914566b3df31b8f15d3a66fd3ffd9661da282028522f59", + "Refresh verification": "c444d5a4e36d9ec9e448c2eb179a6ef45d3594cd02c264f699a83a04bb51749f", "Refresh work summary": "ccd4dcacf0460eb1ca7749ead055fbffcd395e4f8a0c0f9292d390394b80a78e", "Refresh workflow templates": "1d5c58c6bb31f588e7992a8fe14fc3bb3ad2f52396c0302dd980d4dfdaf1acaa", "Refresh workspace": "306960dcad4c285f46eb5bffbb815be8ebe98657bfed1a901e44b68c7c9f417d", @@ -6477,6 +6482,7 @@ "Stop scheduler": "da6153337089386cf80b918ffbd2f2a43a8876a76da3ca671200898a73695940", "Stop the current reply or queue new guidance.": "ef65bd0c8e0943cd194a61f0b0714870faf9081eeebdccb2967aabf880477457", "Stop using": "ef22ba68c9e447df816d52baba2d198b9d230a7b92291b0e683c38dd39fd94d7", + "Stop verification": "4d90de345e4b79787a78322b9da1ef2fd9c70098caae9af1208c37adc972ec73", "Stopped": "1a4f630ac1b69fd00728fa8a672ded71d0eae8516cb23e78f94529113399b79b", "Stopped {title}": "a2bb8d21f8b1fc6f69326965aabb4596bb14403cfc02644e3da7c3d99bda4a7f", "Stopped at {step}: {status}.": "a911b75c20e85b6fc45f8d484a34b9f7b844947fd5de54f289305ebd339951b7", @@ -7186,6 +7192,7 @@ "Unknown provider": "59080be0f444945a37e28b48166f9ddeb710cda7f656bb3827a684fffbcf4524", "Unknown size": "fffbd4ecf2ad3884acfc08d4fe61477737434672c0307bb3c08d2e876c0fd704", "Unknown source": "cbc86fd9d9357166a3076a90fd8957b816b3a516b79dc76d84e066daf984f83f", + "Unknown status": "15eebb6f74cc8a5a2a3eb6897533ded3d7c3e52b32cf617087a4793fef134ba0", "Unknown teammate": "491ea2ec8a112ef7fe0bc1368d78168f5a9208e5f9ca8587f8dd5ce1c1c5ef1f", "unknown_outcome": "164557364fc9e34fcc5fa0329a356a7d7042c4797b82a38cf0954e95185ad11d", "unknown_provider_capability": "f7ac373b31c9f98e1b1017117bf429d8b16a92030073b5b5eb5c30de06cdec8b", @@ -7360,12 +7367,15 @@ "Vector dimensions": "9d95d3f89905adeb9db91dc8afa0187d3e97858b2ec6e5ce78c0312ce1e99254", "Vector retrieval": "48180b50b6fc222ac72ac2cb38ac7d89c9b1cccd51392b6eae57b46a8ec6cd44", "Verdict": "4a36f89dafb0a1014671aaf16e3a380a999a33836e4c3a31fe5594a7da034da5", + "Verification": "7140f4f19dec525960aabacb5741a125876c7d85f8cfa9c899cc8880651ddf61", "verified": "1c34f88707b55e6104c4eb20e71ffa3d33e414b71ef689a15fad0640d0ac58cb", "Verified": "4f7838402f37674e8ebedb6cf048c0aea66bacdb25607aa3eee4b53093d83f5c", "Verified by execution": "1c4dd61aa39a909b81e11acea882bee4dec628b47763cc4dccca63dbc5f885bb", "Verified catalog": "8f408d980918dbb3a719ced82bf7e18c80a41382f2e3d444528defc5fa24623a", "Verifies behavior, regression scenarios, and user-facing workflows.": "b0845a7154f2567bfbe99c9649c79df3019b654217110f0d1b94f477dd91c78d", + "Verify": "eea2745e2867a6772adc3e813211e6ce7b6ebd312d7e84a7c1b1aa2f8c75fd4b", "Verify before use": "687f00a3911b398fd3e9df5675ecd82fba1fd114e17e2f868f4b04914679db33", + "Verify current changes": "547006b60c4136a531a18526bb7822b118268902f4f457bff86ab03e2a5e7e3f", "Verify the key, account access, balance, and model permission for this provider.": "5ba03b132333df8c1d7b130335bfa5a4034517c93f2a8725019d0d0eec7eb401", "Verifying": "a7d4a9f301edaa61ef561aaba1847d2729a900ea00bbf358953f99d99d913666", "Verifying integration candidate": "05a26deacc8035b95bfce5888134aaa287046d2727ef374e1ae39b07a59daadc", @@ -8790,9 +8800,11 @@ "cancelling": "Membatalkan", "Cancelling": "Membatalkan", "Candidate approved for draft": "Calon diluluskan untuk draf", + "Candidate changed since verification": "Calon bertukar sejak pengesahan", "Candidate cluster is not bound to a channel.": "Kelompok calon tidak terikat pada saluran.", "Candidate Clusters": "Kelompok Calon", "Candidate commit: {commit}": "Komitmen calon: {commit}", + "Candidate comparison unavailable": "Perbandingan calon tidak tersedia", "Candidate details": "Butiran calon", "Candidate generation": "Penjanaan calon", "Candidate generation and recording": "Penjanaan dan rakaman calon", @@ -8966,6 +8978,7 @@ "Check member status": "Semak status ahli", "Check member status to load readiness.": "Semak status ahli untuk memuatkan kesediaan.", "Check needed": "Cek diperlukan", + "Check output": "Semak output", "Check passed": "Cek lulus", "Check preset": "Semak pratetap", "Check provider": "Semak pembekal", @@ -12354,6 +12367,7 @@ "Participant label": "Label peserta", "Participants": "Peserta", "Pass": "lulus", + "Passed": "lulus", "Password": "Kata laluan", "Paste a Ling memory Markdown export": "Tampalkan eksport Markdown memori Ling.", "Paste an API key in Model Workbench, then Save.": "Tampalkan kekunci API dalam Model Workbench, kemudian Simpan.", @@ -12959,6 +12973,7 @@ "Refresh the library to load Ling built-in skills.": "Muat semula perpustakaan untuk memuatkan kemahiran terbina dalam Ling.", "Refresh to load member readiness.": "Muat semula untuk memuatkan kesediaan ahli.", "Refresh to load the selected channel's workflow and credential state.": "Muat semula untuk memuatkan aliran kerja dan keadaan kelayakan saluran yang dipilih.", + "Refresh verification": "Muat semula pengesahan", "Refresh work summary": "Refresh work summary", "Refresh workflow templates": "Refresh workflow templates", "Refresh workspace": "Muat semula ruang kerja", @@ -14186,6 +14201,7 @@ "Stop scheduler": "Hentikan penjadual", "Stop the current reply or queue new guidance.": "Hentikan balasan semasa atau antri panduan baharu.", "Stop using": "Berhenti menggunakan", + "Stop verification": "Hentikan pengesahan", "Stopped": "Berhenti", "Stopped {title}": "Berhenti {title}", "Stopped at {step}: {status}.": "Berhenti di {step}: {status}.", @@ -14895,6 +14911,7 @@ "Unknown provider": "Pembekal tidak diketahui", "Unknown size": "Saiz tidak diketahui", "Unknown source": "Sumber tidak diketahui", + "Unknown status": "Status tidak diketahui", "Unknown teammate": "Rakan sepasukan tidak dikenali", "unknown_outcome": "Hasil tidak diketahui", "unknown_provider_capability": "Keupayaan pembekal tidak diketahui", @@ -15069,12 +15086,15 @@ "Vector dimensions": "Dimensi vektor", "Vector retrieval": "Pengambilan semula vektor", "Verdict": "keputusan", + "Verification": "Pengesahan", "verified": "disahkan", "Verified": "Disahkan", "Verified by execution": "Disahkan melalui pelaksanaan", "Verified catalog": "Katalog yang disahkan", "Verifies behavior, regression scenarios, and user-facing workflows.": "Mengesahkan tingkah laku, senario regresi dan aliran kerja yang dihadapi pengguna.", + "Verify": "Sahkan", "Verify before use": "Sahkan sebelum digunakan", + "Verify current changes": "Sahkan perubahan semasa", "Verify the key, account access, balance, and model permission for this provider.": "Sahkan kunci, akses akaun, baki dan kebenaran model untuk pembekal ini.", "Verifying": "Mengesahkan", "Verifying integration candidate": "Mengesahkan calon integrasi", diff --git a/packages/localization/catalogs/my-MM.json b/packages/localization/catalogs/my-MM.json index 4c8a83609..49815c4d3 100644 --- a/packages/localization/catalogs/my-MM.json +++ b/packages/localization/catalogs/my-MM.json @@ -1,6 +1,6 @@ { "locale": "my-MM", - "sourceRevision": "72f77c6fb25583bb1468e040086563074b7830e025f2fc657144dc0e4aad37c1", + "sourceRevision": "214db76d79f1a5c0fd915c110a2ead6dbb978b58398846e982a0c1ff0cb53108", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -1081,9 +1081,11 @@ "cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Candidate approved for draft": "59a57b9b459b3215e76b651f73f6521bc1bd71fa66bb52e046368a559db6632b", + "Candidate changed since verification": "a2808e03661077a04403dab2204b7ce8d78310c296600bd03c5766a754f216a6", "Candidate cluster is not bound to a channel.": "6066a4e8725d065a7c2b8d2c8974a60c41c0a94124deeabd972f620ddd815786", "Candidate Clusters": "b617f8ce5325fa8984c324816b08d3a26c05dac3c3276bcc4f4ab7196222dbe4", "Candidate commit: {commit}": "09bfd331d31184edc3eb1f8eab93bb1f6bc0cb640c0d1e1b53178e9eca4babbd", + "Candidate comparison unavailable": "f3bcf514a4febc720648d70be4d772e8ed9228ec5e7651edda3c229ddab6b627", "Candidate details": "17394d22b095121d9f0d77ff6d121c01383175fa17242bcd9f04bd61f182b5c9", "Candidate generation": "9d360a71a5d82995775df6401ac1d1f7257a68ad462bab70abb494e14239d3d3", "Candidate generation and recording": "d3af53b1912f971078c187ce9260949e68e49f0c2ea954c216a06fe2baa2acc9", @@ -1257,6 +1259,7 @@ "Check member status": "ff155af014d0b6e94cbf2fca3b01cf8d5725732f178eee985083478adb4a62f5", "Check member status to load readiness.": "6f7f338e22e626b134643fbaec898cf8e8efd19b85eeb6193b4ca0d5d63c4528", "Check needed": "561a32f0c83e5a4fe8d77d891bd4b954d514ea021b4a18e68a3607f5d8747841", + "Check output": "250d2e9675d6d399c668a5e496d0caf2913e14b5ea21036fa8ee2dad94ad4d46", "Check passed": "2f6697a2389d7a3c059e7c0435569b37c78275d752bdf9b9e1c5d94f3d0eeeaf", "Check preset": "85e9cc57cbd02e87de7d5213d2627e64f0ae2e3211dd62045b7c2e3dc2bcd45c", "Check provider": "655b6b054c32b6850e6bc245f79b03cb2513ab227e96e7e4a6fb3269daf60119", @@ -4645,6 +4648,7 @@ "Participant label": "ac9acb52867f8141cbc1741f20bbd2766f819aa569c1191dcac3855ba53b59fc", "Participants": "0e27279b3302db0448a2acf5d923ffb09b75270c2e957bfb93f54815d2146aa4", "Pass": "ebdf8cc00bc4d9ceee633c56c63b49955769a92ca060825c9b08e4af61326e2b", + "Passed": "436fe71bb9561f0596161c4d50c7b23327b4189acaf63dc89f4f9205b67a7528", "Password": "e7cf3ef4f17c3999a94f2c6f612e8a888e5b1026878e4e19398b23bd38ec221a", "Paste a Ling memory Markdown export": "3efbebfd30ffeb6bfba59beb91961665a830db73fea934f7fed5394666a7c901", "Paste an API key in Model Workbench, then Save.": "07d4307d7f787295b9cfe97f60114a53060c0f9319a38a5c935fb3f76aceb2cc", @@ -5250,6 +5254,7 @@ "Refresh the library to load Ling built-in skills.": "c1c70580c6d18d99477517ed4d8e7b1b2d7ce26b1c7e932cb3260eeef43008c2", "Refresh to load member readiness.": "b7018c54ba477bad3f292cefce02f582783c67f459e84182d3fe06e53cfe3236", "Refresh to load the selected channel's workflow and credential state.": "290fe59158244da3b9914566b3df31b8f15d3a66fd3ffd9661da282028522f59", + "Refresh verification": "c444d5a4e36d9ec9e448c2eb179a6ef45d3594cd02c264f699a83a04bb51749f", "Refresh work summary": "ccd4dcacf0460eb1ca7749ead055fbffcd395e4f8a0c0f9292d390394b80a78e", "Refresh workflow templates": "1d5c58c6bb31f588e7992a8fe14fc3bb3ad2f52396c0302dd980d4dfdaf1acaa", "Refresh workspace": "306960dcad4c285f46eb5bffbb815be8ebe98657bfed1a901e44b68c7c9f417d", @@ -6477,6 +6482,7 @@ "Stop scheduler": "da6153337089386cf80b918ffbd2f2a43a8876a76da3ca671200898a73695940", "Stop the current reply or queue new guidance.": "ef65bd0c8e0943cd194a61f0b0714870faf9081eeebdccb2967aabf880477457", "Stop using": "ef22ba68c9e447df816d52baba2d198b9d230a7b92291b0e683c38dd39fd94d7", + "Stop verification": "4d90de345e4b79787a78322b9da1ef2fd9c70098caae9af1208c37adc972ec73", "Stopped": "1a4f630ac1b69fd00728fa8a672ded71d0eae8516cb23e78f94529113399b79b", "Stopped {title}": "a2bb8d21f8b1fc6f69326965aabb4596bb14403cfc02644e3da7c3d99bda4a7f", "Stopped at {step}: {status}.": "a911b75c20e85b6fc45f8d484a34b9f7b844947fd5de54f289305ebd339951b7", @@ -7186,6 +7192,7 @@ "Unknown provider": "59080be0f444945a37e28b48166f9ddeb710cda7f656bb3827a684fffbcf4524", "Unknown size": "fffbd4ecf2ad3884acfc08d4fe61477737434672c0307bb3c08d2e876c0fd704", "Unknown source": "cbc86fd9d9357166a3076a90fd8957b816b3a516b79dc76d84e066daf984f83f", + "Unknown status": "15eebb6f74cc8a5a2a3eb6897533ded3d7c3e52b32cf617087a4793fef134ba0", "Unknown teammate": "491ea2ec8a112ef7fe0bc1368d78168f5a9208e5f9ca8587f8dd5ce1c1c5ef1f", "unknown_outcome": "164557364fc9e34fcc5fa0329a356a7d7042c4797b82a38cf0954e95185ad11d", "unknown_provider_capability": "f7ac373b31c9f98e1b1017117bf429d8b16a92030073b5b5eb5c30de06cdec8b", @@ -7360,12 +7367,15 @@ "Vector dimensions": "9d95d3f89905adeb9db91dc8afa0187d3e97858b2ec6e5ce78c0312ce1e99254", "Vector retrieval": "48180b50b6fc222ac72ac2cb38ac7d89c9b1cccd51392b6eae57b46a8ec6cd44", "Verdict": "4a36f89dafb0a1014671aaf16e3a380a999a33836e4c3a31fe5594a7da034da5", + "Verification": "7140f4f19dec525960aabacb5741a125876c7d85f8cfa9c899cc8880651ddf61", "verified": "1c34f88707b55e6104c4eb20e71ffa3d33e414b71ef689a15fad0640d0ac58cb", "Verified": "4f7838402f37674e8ebedb6cf048c0aea66bacdb25607aa3eee4b53093d83f5c", "Verified by execution": "1c4dd61aa39a909b81e11acea882bee4dec628b47763cc4dccca63dbc5f885bb", "Verified catalog": "8f408d980918dbb3a719ced82bf7e18c80a41382f2e3d444528defc5fa24623a", "Verifies behavior, regression scenarios, and user-facing workflows.": "b0845a7154f2567bfbe99c9649c79df3019b654217110f0d1b94f477dd91c78d", + "Verify": "eea2745e2867a6772adc3e813211e6ce7b6ebd312d7e84a7c1b1aa2f8c75fd4b", "Verify before use": "687f00a3911b398fd3e9df5675ecd82fba1fd114e17e2f868f4b04914679db33", + "Verify current changes": "547006b60c4136a531a18526bb7822b118268902f4f457bff86ab03e2a5e7e3f", "Verify the key, account access, balance, and model permission for this provider.": "5ba03b132333df8c1d7b130335bfa5a4034517c93f2a8725019d0d0eec7eb401", "Verifying": "a7d4a9f301edaa61ef561aaba1847d2729a900ea00bbf358953f99d99d913666", "Verifying integration candidate": "05a26deacc8035b95bfce5888134aaa287046d2727ef374e1ae39b07a59daadc", @@ -8790,9 +8800,11 @@ "cancelling": "ပယ်ဖျက်ခြင်း။", "Cancelling": "ပယ်ဖျက်ခြင်း။", "Candidate approved for draft": "မူကြမ်းအတွက် ကိုယ်စားလှယ်လောင်း အတည်ပြုခဲ့သည်။", + "Candidate changed since verification": "စိစစ်ပြီးကတည်းက ကိုယ်စားလှယ်လောင်း ပြောင်းသွားတယ်။", "Candidate cluster is not bound to a channel.": "ကိုယ်စားလှယ်လောင်း အစုအဖွဲ့သည် ချန်နယ်တစ်ခုနှင့် ချိတ်ဆက်ထားခြင်း မရှိပါ။", "Candidate Clusters": "ကိုယ်စားလှယ်လောင်းများ", "Candidate commit: {commit}": "ကိုယ်စားလှယ်လောင်း ကတိကဝတ်- {commit}", + "Candidate comparison unavailable": "ကိုယ်စားလှယ်လောင်း နှိုင်းယှဉ်မှုကို မရရှိနိုင်ပါ။", "Candidate details": "ကိုယ်စားလှယ်လောင်းအသေးစိတ်", "Candidate generation": "ကိုယ်စားလှယ်လောင်းမျိုးဆက်", "Candidate generation and recording": "ကိုယ်စားလှယ်လောင်းမျိုးဆက်နှင့် အသံသွင်းခြင်း။", @@ -8966,6 +8978,7 @@ "Check member status": "အဖွဲ့ဝင်အခြေအနေကိုစစ်ဆေးပါ။", "Check member status to load readiness.": "အဆင်သင့်တင်ရန် အဖွဲ့ဝင်အခြေအနေကို စစ်ဆေးပါ။", "Check needed": "စစ်ဆေးရန် လိုအပ်ပါသည်။", + "Check output": "အထွက်ကို စစ်ဆေးပါ။", "Check passed": "စစ်ဆေးပြီးသွားပြီ", "Check preset": "ကြိုတင်သတ်မှတ်မှုကို စစ်ဆေးပါ။", "Check provider": "ဝန်ဆောင်မှုပေးသူကို စစ်ဆေးပါ။", @@ -12354,6 +12367,7 @@ "Participant label": "ပါဝင်သူတံဆိပ်", "Participants": "ပါဝင်သူများ", "Pass": "သည်း", + "Passed": "ကျော်သွားပြီ", "Password": "စကားဝှက်", "Paste a Ling memory Markdown export": "Ling မမ်မိုရီ Markdown ထုတ်ယူမှုကို ကူးထည့်ပါ။", "Paste an API key in Model Workbench, then Save.": "Model Workbench တွင် API သော့ကို ကူးထည့်ကာ သိမ်းပါ။", @@ -12959,6 +12973,7 @@ "Refresh the library to load Ling built-in skills.": "Ling built-in ကျွမ်းကျင်မှုများကို တင်ရန် စာကြည့်တိုက်ကို ပြန်လည်စတင်ပါ။", "Refresh to load member readiness.": "အဖွဲ့ဝင်များ၏ အဆင်သင့်ဖြစ်မှုကို တင်ရန် ပြန်လည်စတင်ပါ။", "Refresh to load the selected channel's workflow and credential state.": "ရွေးချယ်ထားသောချန်နယ်၏ အလုပ်အသွားအလာနှင့် အထောက်အထားအခြေအနေတို့ကို တင်ရန် ပြန်လည်စတင်ပါ။", + "Refresh verification": "အတည်ပြုခြင်းကို ပြန်လည်စတင်ပါ။", "Refresh work summary": "Refresh work summary", "Refresh workflow templates": "Refresh workflow templates", "Refresh workspace": "အလုပ်ခွင်ကို ပြန်လည်စတင်ပါ။", @@ -14186,6 +14201,7 @@ "Stop scheduler": "အစီအစဉ်ဆွဲသူကို ရပ်ပါ။", "Stop the current reply or queue new guidance.": "လက်ရှိပြန်ကြားချက်ကို ရပ်ပါ သို့မဟုတ် လမ်းညွှန်ချက်အသစ်ကို တန်းစီပါ။", "Stop using": "မသုံးတော့ပါ။", + "Stop verification": "အတည်ပြုခြင်းကို ရပ်ပါ။", "Stopped": "ရပ်သွားတယ်။", "Stopped {title}": "{title} ရပ်သွားသည်။", "Stopped at {step}: {status}.": "{step}: {status} တွင် ရပ်ခဲ့သည်။", @@ -14895,6 +14911,7 @@ "Unknown provider": "အမည်မသိ ဝန်ဆောင်မှုပေးသူ", "Unknown size": "အမည်မသိအရွယ်အစား", "Unknown source": "အမည်မသိအရင်းအမြစ်", + "Unknown status": "အမည်မသိအခြေအနေ", "Unknown teammate": "အမည်မသိအသင်းဖော်", "unknown_outcome": "ရလဒ်မသိ", "unknown_provider_capability": "အမည်မသိ ဝန်ဆောင်မှုပေးနိုင်စွမ်း", @@ -15069,12 +15086,15 @@ "Vector dimensions": "Vector အတိုင်းအတာများ", "Vector retrieval": "Vector ကို ပြန်လည်ဖော်ထုတ်ခြင်း။", "Verdict": "စီရင်ချက်ချ", + "Verification": "စိစစ်ခြင်း။", "verified": "စိစစ်ပြီး", "Verified": "စိစစ်ပြီး", "Verified by execution": "ကတိကဝတ်ဖြင့် စိစစ်ထားသည်။", "Verified catalog": "စိစစ်ပြီး ကတ်တလောက်", "Verifies behavior, regression scenarios, and user-facing workflows.": "အပြုအမူ၊ ဆုတ်ယုတ်မှုအခြေအနေများနှင့် အသုံးပြုသူရင်ဆိုင်နေရသော အလုပ်အသွားအလာများကို အတည်ပြုသည်။", + "Verify": "စိစစ်ပါ။", "Verify before use": "အသုံးမပြုမီ စစ်ဆေးပါ။", + "Verify current changes": "လက်ရှိပြောင်းလဲမှုများကို အတည်ပြုပါ။", "Verify the key, account access, balance, and model permission for this provider.": "ဤဝန်ဆောင်မှုပေးသူအတွက် သော့၊ အကောင့်ဝင်ရောက်ခွင့်၊ လက်ကျန်ငွေနှင့် မော်ဒယ်ခွင့်ပြုချက်ကို အတည်ပြုပါ။", "Verifying": "စိစစ်ခြင်း။", "Verifying integration candidate": "ပေါင်းစည်းရေး ကိုယ်စားလှယ်လောင်းကို အတည်ပြုခြင်း။", diff --git a/packages/localization/catalogs/nb-NO.json b/packages/localization/catalogs/nb-NO.json index cfe27eace..61028bb55 100644 --- a/packages/localization/catalogs/nb-NO.json +++ b/packages/localization/catalogs/nb-NO.json @@ -1,6 +1,6 @@ { "locale": "nb-NO", - "sourceRevision": "72f77c6fb25583bb1468e040086563074b7830e025f2fc657144dc0e4aad37c1", + "sourceRevision": "214db76d79f1a5c0fd915c110a2ead6dbb978b58398846e982a0c1ff0cb53108", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -1081,9 +1081,11 @@ "cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Candidate approved for draft": "59a57b9b459b3215e76b651f73f6521bc1bd71fa66bb52e046368a559db6632b", + "Candidate changed since verification": "a2808e03661077a04403dab2204b7ce8d78310c296600bd03c5766a754f216a6", "Candidate cluster is not bound to a channel.": "6066a4e8725d065a7c2b8d2c8974a60c41c0a94124deeabd972f620ddd815786", "Candidate Clusters": "b617f8ce5325fa8984c324816b08d3a26c05dac3c3276bcc4f4ab7196222dbe4", "Candidate commit: {commit}": "09bfd331d31184edc3eb1f8eab93bb1f6bc0cb640c0d1e1b53178e9eca4babbd", + "Candidate comparison unavailable": "f3bcf514a4febc720648d70be4d772e8ed9228ec5e7651edda3c229ddab6b627", "Candidate details": "17394d22b095121d9f0d77ff6d121c01383175fa17242bcd9f04bd61f182b5c9", "Candidate generation": "9d360a71a5d82995775df6401ac1d1f7257a68ad462bab70abb494e14239d3d3", "Candidate generation and recording": "d3af53b1912f971078c187ce9260949e68e49f0c2ea954c216a06fe2baa2acc9", @@ -1257,6 +1259,7 @@ "Check member status": "ff155af014d0b6e94cbf2fca3b01cf8d5725732f178eee985083478adb4a62f5", "Check member status to load readiness.": "6f7f338e22e626b134643fbaec898cf8e8efd19b85eeb6193b4ca0d5d63c4528", "Check needed": "561a32f0c83e5a4fe8d77d891bd4b954d514ea021b4a18e68a3607f5d8747841", + "Check output": "250d2e9675d6d399c668a5e496d0caf2913e14b5ea21036fa8ee2dad94ad4d46", "Check passed": "2f6697a2389d7a3c059e7c0435569b37c78275d752bdf9b9e1c5d94f3d0eeeaf", "Check preset": "85e9cc57cbd02e87de7d5213d2627e64f0ae2e3211dd62045b7c2e3dc2bcd45c", "Check provider": "655b6b054c32b6850e6bc245f79b03cb2513ab227e96e7e4a6fb3269daf60119", @@ -4645,6 +4648,7 @@ "Participant label": "ac9acb52867f8141cbc1741f20bbd2766f819aa569c1191dcac3855ba53b59fc", "Participants": "0e27279b3302db0448a2acf5d923ffb09b75270c2e957bfb93f54815d2146aa4", "Pass": "ebdf8cc00bc4d9ceee633c56c63b49955769a92ca060825c9b08e4af61326e2b", + "Passed": "436fe71bb9561f0596161c4d50c7b23327b4189acaf63dc89f4f9205b67a7528", "Password": "e7cf3ef4f17c3999a94f2c6f612e8a888e5b1026878e4e19398b23bd38ec221a", "Paste a Ling memory Markdown export": "3efbebfd30ffeb6bfba59beb91961665a830db73fea934f7fed5394666a7c901", "Paste an API key in Model Workbench, then Save.": "07d4307d7f787295b9cfe97f60114a53060c0f9319a38a5c935fb3f76aceb2cc", @@ -5250,6 +5254,7 @@ "Refresh the library to load Ling built-in skills.": "c1c70580c6d18d99477517ed4d8e7b1b2d7ce26b1c7e932cb3260eeef43008c2", "Refresh to load member readiness.": "b7018c54ba477bad3f292cefce02f582783c67f459e84182d3fe06e53cfe3236", "Refresh to load the selected channel's workflow and credential state.": "290fe59158244da3b9914566b3df31b8f15d3a66fd3ffd9661da282028522f59", + "Refresh verification": "c444d5a4e36d9ec9e448c2eb179a6ef45d3594cd02c264f699a83a04bb51749f", "Refresh work summary": "ccd4dcacf0460eb1ca7749ead055fbffcd395e4f8a0c0f9292d390394b80a78e", "Refresh workflow templates": "1d5c58c6bb31f588e7992a8fe14fc3bb3ad2f52396c0302dd980d4dfdaf1acaa", "Refresh workspace": "306960dcad4c285f46eb5bffbb815be8ebe98657bfed1a901e44b68c7c9f417d", @@ -6477,6 +6482,7 @@ "Stop scheduler": "da6153337089386cf80b918ffbd2f2a43a8876a76da3ca671200898a73695940", "Stop the current reply or queue new guidance.": "ef65bd0c8e0943cd194a61f0b0714870faf9081eeebdccb2967aabf880477457", "Stop using": "ef22ba68c9e447df816d52baba2d198b9d230a7b92291b0e683c38dd39fd94d7", + "Stop verification": "4d90de345e4b79787a78322b9da1ef2fd9c70098caae9af1208c37adc972ec73", "Stopped": "1a4f630ac1b69fd00728fa8a672ded71d0eae8516cb23e78f94529113399b79b", "Stopped {title}": "a2bb8d21f8b1fc6f69326965aabb4596bb14403cfc02644e3da7c3d99bda4a7f", "Stopped at {step}: {status}.": "a911b75c20e85b6fc45f8d484a34b9f7b844947fd5de54f289305ebd339951b7", @@ -7186,6 +7192,7 @@ "Unknown provider": "59080be0f444945a37e28b48166f9ddeb710cda7f656bb3827a684fffbcf4524", "Unknown size": "fffbd4ecf2ad3884acfc08d4fe61477737434672c0307bb3c08d2e876c0fd704", "Unknown source": "cbc86fd9d9357166a3076a90fd8957b816b3a516b79dc76d84e066daf984f83f", + "Unknown status": "15eebb6f74cc8a5a2a3eb6897533ded3d7c3e52b32cf617087a4793fef134ba0", "Unknown teammate": "491ea2ec8a112ef7fe0bc1368d78168f5a9208e5f9ca8587f8dd5ce1c1c5ef1f", "unknown_outcome": "164557364fc9e34fcc5fa0329a356a7d7042c4797b82a38cf0954e95185ad11d", "unknown_provider_capability": "f7ac373b31c9f98e1b1017117bf429d8b16a92030073b5b5eb5c30de06cdec8b", @@ -7360,12 +7367,15 @@ "Vector dimensions": "9d95d3f89905adeb9db91dc8afa0187d3e97858b2ec6e5ce78c0312ce1e99254", "Vector retrieval": "48180b50b6fc222ac72ac2cb38ac7d89c9b1cccd51392b6eae57b46a8ec6cd44", "Verdict": "4a36f89dafb0a1014671aaf16e3a380a999a33836e4c3a31fe5594a7da034da5", + "Verification": "7140f4f19dec525960aabacb5741a125876c7d85f8cfa9c899cc8880651ddf61", "verified": "1c34f88707b55e6104c4eb20e71ffa3d33e414b71ef689a15fad0640d0ac58cb", "Verified": "4f7838402f37674e8ebedb6cf048c0aea66bacdb25607aa3eee4b53093d83f5c", "Verified by execution": "1c4dd61aa39a909b81e11acea882bee4dec628b47763cc4dccca63dbc5f885bb", "Verified catalog": "8f408d980918dbb3a719ced82bf7e18c80a41382f2e3d444528defc5fa24623a", "Verifies behavior, regression scenarios, and user-facing workflows.": "b0845a7154f2567bfbe99c9649c79df3019b654217110f0d1b94f477dd91c78d", + "Verify": "eea2745e2867a6772adc3e813211e6ce7b6ebd312d7e84a7c1b1aa2f8c75fd4b", "Verify before use": "687f00a3911b398fd3e9df5675ecd82fba1fd114e17e2f868f4b04914679db33", + "Verify current changes": "547006b60c4136a531a18526bb7822b118268902f4f457bff86ab03e2a5e7e3f", "Verify the key, account access, balance, and model permission for this provider.": "5ba03b132333df8c1d7b130335bfa5a4034517c93f2a8725019d0d0eec7eb401", "Verifying": "a7d4a9f301edaa61ef561aaba1847d2729a900ea00bbf358953f99d99d913666", "Verifying integration candidate": "05a26deacc8035b95bfce5888134aaa287046d2727ef374e1ae39b07a59daadc", @@ -8790,9 +8800,11 @@ "cancelling": "Avbryter", "Cancelling": "Avbryter", "Candidate approved for draft": "Kandidat godkjent for utkast", + "Candidate changed since verification": "Kandidat endret siden verifisering", "Candidate cluster is not bound to a channel.": "Kandidatklyngen er ikke bundet til en kanal.", "Candidate Clusters": "Kandidatklynger", "Candidate commit: {commit}": "Kandidatforpliktelse: {commit}", + "Candidate comparison unavailable": "Kandidatsammenligning er ikke tilgjengelig", "Candidate details": "Kandidatdetaljer", "Candidate generation": "Kandidatgenerering", "Candidate generation and recording": "Kandidatgenerering og opptak", @@ -8966,6 +8978,7 @@ "Check member status": "Sjekk medlemsstatus", "Check member status to load readiness.": "Sjekk medlemsstatus for å lasteberedskap.", "Check needed": "Sjekk nødvendig", + "Check output": "Sjekk utgang", "Check passed": "Sjekk bestått", "Check preset": "Sjekk forhåndsinnstilling", "Check provider": "Sjekk leverandør", @@ -12354,6 +12367,7 @@ "Participant label": "Deltakeretikett", "Participants": "Deltakere", "Pass": "Pass", + "Passed": "Bestått", "Password": "Passord", "Paste a Ling memory Markdown export": "Lim inn en Ling minne Markdown eksport", "Paste an API key in Model Workbench, then Save.": "Lim inn en API-nøkkel i Model Workbench, og deretter Lagre.", @@ -12959,6 +12973,7 @@ "Refresh the library to load Ling built-in skills.": "Oppdater biblioteket for å laste Ling innebygde ferdigheter.", "Refresh to load member readiness.": "Oppdater for å laste medlemsberedskap.", "Refresh to load the selected channel's workflow and credential state.": "Oppdater for å laste den valgte kanalens arbeidsflyt og påloggingsstatus.", + "Refresh verification": "Oppdater bekreftelse", "Refresh work summary": "Refresh work summary", "Refresh workflow templates": "Refresh workflow templates", "Refresh workspace": "Oppdater arbeidsområdet", @@ -14186,6 +14201,7 @@ "Stop scheduler": "Stopp planleggeren", "Stop the current reply or queue new guidance.": "Stopp det nåværende svaret eller legg ny veiledning i kø.", "Stop using": "Slutt å bruke", + "Stop verification": "Stopp verifisering", "Stopped": "Stoppet", "Stopped {title}": "Stoppet {title}", "Stopped at {step}: {status}.": "Stoppet ved {step}: {status}.", @@ -14895,6 +14911,7 @@ "Unknown provider": "Ukjent leverandør", "Unknown size": "Ukjent størrelse", "Unknown source": "Ukjent kilde", + "Unknown status": "Ukjent status", "Unknown teammate": "Ukjent lagkamerat", "unknown_outcome": "Utfall ukjent", "unknown_provider_capability": "Ukjent leverandørkapasitet", @@ -15069,12 +15086,15 @@ "Vector dimensions": "Vektordimensjoner", "Vector retrieval": "Vektorhenting", "Verdict": "Kjennelse", + "Verification": "Bekreftelse", "verified": "verifisert", "Verified": "Verifisert", "Verified by execution": "Verifisert ved utførelse", "Verified catalog": "Verifisert katalog", "Verifies behavior, regression scenarios, and user-facing workflows.": "Verifiserer atferd, regresjonsscenarier og brukervendte arbeidsflyter.", + "Verify": "Verifisere", "Verify before use": "Kontroller før bruk", + "Verify current changes": "Bekreft gjeldende endringer", "Verify the key, account access, balance, and model permission for this provider.": "Bekreft nøkkelen, kontotilgangen, saldoen og modelltillatelsen for denne leverandøren.", "Verifying": "Bekrefter", "Verifying integration candidate": "Bekrefter integreringskandidat", diff --git a/packages/localization/catalogs/nl-NL.json b/packages/localization/catalogs/nl-NL.json index e43684d98..90bd71c01 100644 --- a/packages/localization/catalogs/nl-NL.json +++ b/packages/localization/catalogs/nl-NL.json @@ -1,6 +1,6 @@ { "locale": "nl-NL", - "sourceRevision": "72f77c6fb25583bb1468e040086563074b7830e025f2fc657144dc0e4aad37c1", + "sourceRevision": "214db76d79f1a5c0fd915c110a2ead6dbb978b58398846e982a0c1ff0cb53108", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -1081,9 +1081,11 @@ "cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Candidate approved for draft": "59a57b9b459b3215e76b651f73f6521bc1bd71fa66bb52e046368a559db6632b", + "Candidate changed since verification": "a2808e03661077a04403dab2204b7ce8d78310c296600bd03c5766a754f216a6", "Candidate cluster is not bound to a channel.": "6066a4e8725d065a7c2b8d2c8974a60c41c0a94124deeabd972f620ddd815786", "Candidate Clusters": "b617f8ce5325fa8984c324816b08d3a26c05dac3c3276bcc4f4ab7196222dbe4", "Candidate commit: {commit}": "09bfd331d31184edc3eb1f8eab93bb1f6bc0cb640c0d1e1b53178e9eca4babbd", + "Candidate comparison unavailable": "f3bcf514a4febc720648d70be4d772e8ed9228ec5e7651edda3c229ddab6b627", "Candidate details": "17394d22b095121d9f0d77ff6d121c01383175fa17242bcd9f04bd61f182b5c9", "Candidate generation": "9d360a71a5d82995775df6401ac1d1f7257a68ad462bab70abb494e14239d3d3", "Candidate generation and recording": "d3af53b1912f971078c187ce9260949e68e49f0c2ea954c216a06fe2baa2acc9", @@ -1257,6 +1259,7 @@ "Check member status": "ff155af014d0b6e94cbf2fca3b01cf8d5725732f178eee985083478adb4a62f5", "Check member status to load readiness.": "6f7f338e22e626b134643fbaec898cf8e8efd19b85eeb6193b4ca0d5d63c4528", "Check needed": "561a32f0c83e5a4fe8d77d891bd4b954d514ea021b4a18e68a3607f5d8747841", + "Check output": "250d2e9675d6d399c668a5e496d0caf2913e14b5ea21036fa8ee2dad94ad4d46", "Check passed": "2f6697a2389d7a3c059e7c0435569b37c78275d752bdf9b9e1c5d94f3d0eeeaf", "Check preset": "85e9cc57cbd02e87de7d5213d2627e64f0ae2e3211dd62045b7c2e3dc2bcd45c", "Check provider": "655b6b054c32b6850e6bc245f79b03cb2513ab227e96e7e4a6fb3269daf60119", @@ -4645,6 +4648,7 @@ "Participant label": "ac9acb52867f8141cbc1741f20bbd2766f819aa569c1191dcac3855ba53b59fc", "Participants": "0e27279b3302db0448a2acf5d923ffb09b75270c2e957bfb93f54815d2146aa4", "Pass": "ebdf8cc00bc4d9ceee633c56c63b49955769a92ca060825c9b08e4af61326e2b", + "Passed": "436fe71bb9561f0596161c4d50c7b23327b4189acaf63dc89f4f9205b67a7528", "Password": "e7cf3ef4f17c3999a94f2c6f612e8a888e5b1026878e4e19398b23bd38ec221a", "Paste a Ling memory Markdown export": "3efbebfd30ffeb6bfba59beb91961665a830db73fea934f7fed5394666a7c901", "Paste an API key in Model Workbench, then Save.": "07d4307d7f787295b9cfe97f60114a53060c0f9319a38a5c935fb3f76aceb2cc", @@ -5250,6 +5254,7 @@ "Refresh the library to load Ling built-in skills.": "c1c70580c6d18d99477517ed4d8e7b1b2d7ce26b1c7e932cb3260eeef43008c2", "Refresh to load member readiness.": "b7018c54ba477bad3f292cefce02f582783c67f459e84182d3fe06e53cfe3236", "Refresh to load the selected channel's workflow and credential state.": "290fe59158244da3b9914566b3df31b8f15d3a66fd3ffd9661da282028522f59", + "Refresh verification": "c444d5a4e36d9ec9e448c2eb179a6ef45d3594cd02c264f699a83a04bb51749f", "Refresh work summary": "ccd4dcacf0460eb1ca7749ead055fbffcd395e4f8a0c0f9292d390394b80a78e", "Refresh workflow templates": "1d5c58c6bb31f588e7992a8fe14fc3bb3ad2f52396c0302dd980d4dfdaf1acaa", "Refresh workspace": "306960dcad4c285f46eb5bffbb815be8ebe98657bfed1a901e44b68c7c9f417d", @@ -6477,6 +6482,7 @@ "Stop scheduler": "da6153337089386cf80b918ffbd2f2a43a8876a76da3ca671200898a73695940", "Stop the current reply or queue new guidance.": "ef65bd0c8e0943cd194a61f0b0714870faf9081eeebdccb2967aabf880477457", "Stop using": "ef22ba68c9e447df816d52baba2d198b9d230a7b92291b0e683c38dd39fd94d7", + "Stop verification": "4d90de345e4b79787a78322b9da1ef2fd9c70098caae9af1208c37adc972ec73", "Stopped": "1a4f630ac1b69fd00728fa8a672ded71d0eae8516cb23e78f94529113399b79b", "Stopped {title}": "a2bb8d21f8b1fc6f69326965aabb4596bb14403cfc02644e3da7c3d99bda4a7f", "Stopped at {step}: {status}.": "a911b75c20e85b6fc45f8d484a34b9f7b844947fd5de54f289305ebd339951b7", @@ -7186,6 +7192,7 @@ "Unknown provider": "59080be0f444945a37e28b48166f9ddeb710cda7f656bb3827a684fffbcf4524", "Unknown size": "fffbd4ecf2ad3884acfc08d4fe61477737434672c0307bb3c08d2e876c0fd704", "Unknown source": "cbc86fd9d9357166a3076a90fd8957b816b3a516b79dc76d84e066daf984f83f", + "Unknown status": "15eebb6f74cc8a5a2a3eb6897533ded3d7c3e52b32cf617087a4793fef134ba0", "Unknown teammate": "491ea2ec8a112ef7fe0bc1368d78168f5a9208e5f9ca8587f8dd5ce1c1c5ef1f", "unknown_outcome": "164557364fc9e34fcc5fa0329a356a7d7042c4797b82a38cf0954e95185ad11d", "unknown_provider_capability": "f7ac373b31c9f98e1b1017117bf429d8b16a92030073b5b5eb5c30de06cdec8b", @@ -7360,12 +7367,15 @@ "Vector dimensions": "9d95d3f89905adeb9db91dc8afa0187d3e97858b2ec6e5ce78c0312ce1e99254", "Vector retrieval": "48180b50b6fc222ac72ac2cb38ac7d89c9b1cccd51392b6eae57b46a8ec6cd44", "Verdict": "4a36f89dafb0a1014671aaf16e3a380a999a33836e4c3a31fe5594a7da034da5", + "Verification": "7140f4f19dec525960aabacb5741a125876c7d85f8cfa9c899cc8880651ddf61", "verified": "1c34f88707b55e6104c4eb20e71ffa3d33e414b71ef689a15fad0640d0ac58cb", "Verified": "4f7838402f37674e8ebedb6cf048c0aea66bacdb25607aa3eee4b53093d83f5c", "Verified by execution": "1c4dd61aa39a909b81e11acea882bee4dec628b47763cc4dccca63dbc5f885bb", "Verified catalog": "8f408d980918dbb3a719ced82bf7e18c80a41382f2e3d444528defc5fa24623a", "Verifies behavior, regression scenarios, and user-facing workflows.": "b0845a7154f2567bfbe99c9649c79df3019b654217110f0d1b94f477dd91c78d", + "Verify": "eea2745e2867a6772adc3e813211e6ce7b6ebd312d7e84a7c1b1aa2f8c75fd4b", "Verify before use": "687f00a3911b398fd3e9df5675ecd82fba1fd114e17e2f868f4b04914679db33", + "Verify current changes": "547006b60c4136a531a18526bb7822b118268902f4f457bff86ab03e2a5e7e3f", "Verify the key, account access, balance, and model permission for this provider.": "5ba03b132333df8c1d7b130335bfa5a4034517c93f2a8725019d0d0eec7eb401", "Verifying": "a7d4a9f301edaa61ef561aaba1847d2729a900ea00bbf358953f99d99d913666", "Verifying integration candidate": "05a26deacc8035b95bfce5888134aaa287046d2727ef374e1ae39b07a59daadc", @@ -8790,9 +8800,11 @@ "cancelling": "Annuleren", "Cancelling": "Annuleren", "Candidate approved for draft": "Kandidaat goedgekeurd voor concept", + "Candidate changed since verification": "Kandidaat gewijzigd sinds verificatie", "Candidate cluster is not bound to a channel.": "Kandidaatcluster is niet gebonden aan een kanaal.", "Candidate Clusters": "Kandidaatclusters", "Candidate commit: {commit}": "Kandidaatverplichting: {commit}", + "Candidate comparison unavailable": "Kandidaatvergelijking niet beschikbaar", "Candidate details": "Gegevens van de kandidaat", "Candidate generation": "Kandidaat generatie", "Candidate generation and recording": "Kandidaat genereren en opnemen", @@ -8966,6 +8978,7 @@ "Check member status": "Controleer de ledenstatus", "Check member status to load readiness.": "Controleer de lidstatus om de gereedheid te laden.", "Check needed": "Controleer nodig", + "Check output": "Controleer de uitvoer", "Check passed": "Cheque geslaagd", "Check preset": "Controleer de voorinstelling", "Check provider": "Controleer aanbieder", @@ -12354,6 +12367,7 @@ "Participant label": "Deelnemerslabel", "Participants": "Deelnemers", "Pass": "Doorgang", + "Passed": "Geslaagd", "Password": "Wachtwoord", "Paste a Ling memory Markdown export": "Plak een Ling-geheugenmarkeringsexport", "Paste an API key in Model Workbench, then Save.": "Plak een API-sleutel in Model Workbench en sla vervolgens op.", @@ -12959,6 +12973,7 @@ "Refresh the library to load Ling built-in skills.": "Vernieuw de bibliotheek om ingebouwde vaardigheden van Ling te laden.", "Refresh to load member readiness.": "Vernieuwen om de gereedheid van leden te laden.", "Refresh to load the selected channel's workflow and credential state.": "Vernieuw om de workflow en de inlogstatus van het geselecteerde kanaal te laden.", + "Refresh verification": "Vernieuw de verificatie", "Refresh work summary": "Refresh work summary", "Refresh workflow templates": "Refresh workflow templates", "Refresh workspace": "Werkruimte vernieuwen", @@ -14186,6 +14201,7 @@ "Stop scheduler": "Planner stoppen", "Stop the current reply or queue new guidance.": "Stop het huidige antwoord of wacht met nieuwe begeleiding.", "Stop using": "Stop met gebruiken", + "Stop verification": "Verificatie stoppen", "Stopped": "Gestopt", "Stopped {title}": "Gestopt {title}", "Stopped at {step}: {status}.": "Gestopt bij {step}: {status}.", @@ -14895,6 +14911,7 @@ "Unknown provider": "Onbekende aanbieder", "Unknown size": "Onbekende maat", "Unknown source": "Onbekende bron", + "Unknown status": "Onbekende status", "Unknown teammate": "Onbekende teamgenoot", "unknown_outcome": "Uitkomst onbekend", "unknown_provider_capability": "Onbekende providercapaciteit", @@ -15069,12 +15086,15 @@ "Vector dimensions": "Vectorafmetingen", "Vector retrieval": "Vector ophalen", "Verdict": "Uitspraak", + "Verification": "Verificatie", "verified": "geverifieerd", "Verified": "Geverifieerd", "Verified by execution": "Geverifieerd door uitvoering", "Verified catalog": "Geverifieerde catalogus", "Verifies behavior, regression scenarios, and user-facing workflows.": "Verifieert gedrag, regressiescenario's en gebruikersgerichte workflows.", + "Verify": "Verifiëren", "Verify before use": "Controleer vóór gebruik", + "Verify current changes": "Controleer huidige wijzigingen", "Verify the key, account access, balance, and model permission for this provider.": "Controleer de sleutel, accounttoegang, saldo en modelrechten voor deze provider.", "Verifying": "Verifiëren", "Verifying integration candidate": "Integratiekandidaat verifiëren", diff --git a/packages/localization/catalogs/pl-PL.json b/packages/localization/catalogs/pl-PL.json index d62bfa48a..e7d512f49 100644 --- a/packages/localization/catalogs/pl-PL.json +++ b/packages/localization/catalogs/pl-PL.json @@ -1,6 +1,6 @@ { "locale": "pl-PL", - "sourceRevision": "72f77c6fb25583bb1468e040086563074b7830e025f2fc657144dc0e4aad37c1", + "sourceRevision": "214db76d79f1a5c0fd915c110a2ead6dbb978b58398846e982a0c1ff0cb53108", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -1081,9 +1081,11 @@ "cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Candidate approved for draft": "59a57b9b459b3215e76b651f73f6521bc1bd71fa66bb52e046368a559db6632b", + "Candidate changed since verification": "a2808e03661077a04403dab2204b7ce8d78310c296600bd03c5766a754f216a6", "Candidate cluster is not bound to a channel.": "6066a4e8725d065a7c2b8d2c8974a60c41c0a94124deeabd972f620ddd815786", "Candidate Clusters": "b617f8ce5325fa8984c324816b08d3a26c05dac3c3276bcc4f4ab7196222dbe4", "Candidate commit: {commit}": "09bfd331d31184edc3eb1f8eab93bb1f6bc0cb640c0d1e1b53178e9eca4babbd", + "Candidate comparison unavailable": "f3bcf514a4febc720648d70be4d772e8ed9228ec5e7651edda3c229ddab6b627", "Candidate details": "17394d22b095121d9f0d77ff6d121c01383175fa17242bcd9f04bd61f182b5c9", "Candidate generation": "9d360a71a5d82995775df6401ac1d1f7257a68ad462bab70abb494e14239d3d3", "Candidate generation and recording": "d3af53b1912f971078c187ce9260949e68e49f0c2ea954c216a06fe2baa2acc9", @@ -1257,6 +1259,7 @@ "Check member status": "ff155af014d0b6e94cbf2fca3b01cf8d5725732f178eee985083478adb4a62f5", "Check member status to load readiness.": "6f7f338e22e626b134643fbaec898cf8e8efd19b85eeb6193b4ca0d5d63c4528", "Check needed": "561a32f0c83e5a4fe8d77d891bd4b954d514ea021b4a18e68a3607f5d8747841", + "Check output": "250d2e9675d6d399c668a5e496d0caf2913e14b5ea21036fa8ee2dad94ad4d46", "Check passed": "2f6697a2389d7a3c059e7c0435569b37c78275d752bdf9b9e1c5d94f3d0eeeaf", "Check preset": "85e9cc57cbd02e87de7d5213d2627e64f0ae2e3211dd62045b7c2e3dc2bcd45c", "Check provider": "655b6b054c32b6850e6bc245f79b03cb2513ab227e96e7e4a6fb3269daf60119", @@ -4645,6 +4648,7 @@ "Participant label": "ac9acb52867f8141cbc1741f20bbd2766f819aa569c1191dcac3855ba53b59fc", "Participants": "0e27279b3302db0448a2acf5d923ffb09b75270c2e957bfb93f54815d2146aa4", "Pass": "ebdf8cc00bc4d9ceee633c56c63b49955769a92ca060825c9b08e4af61326e2b", + "Passed": "436fe71bb9561f0596161c4d50c7b23327b4189acaf63dc89f4f9205b67a7528", "Password": "e7cf3ef4f17c3999a94f2c6f612e8a888e5b1026878e4e19398b23bd38ec221a", "Paste a Ling memory Markdown export": "3efbebfd30ffeb6bfba59beb91961665a830db73fea934f7fed5394666a7c901", "Paste an API key in Model Workbench, then Save.": "07d4307d7f787295b9cfe97f60114a53060c0f9319a38a5c935fb3f76aceb2cc", @@ -5250,6 +5254,7 @@ "Refresh the library to load Ling built-in skills.": "c1c70580c6d18d99477517ed4d8e7b1b2d7ce26b1c7e932cb3260eeef43008c2", "Refresh to load member readiness.": "b7018c54ba477bad3f292cefce02f582783c67f459e84182d3fe06e53cfe3236", "Refresh to load the selected channel's workflow and credential state.": "290fe59158244da3b9914566b3df31b8f15d3a66fd3ffd9661da282028522f59", + "Refresh verification": "c444d5a4e36d9ec9e448c2eb179a6ef45d3594cd02c264f699a83a04bb51749f", "Refresh work summary": "ccd4dcacf0460eb1ca7749ead055fbffcd395e4f8a0c0f9292d390394b80a78e", "Refresh workflow templates": "1d5c58c6bb31f588e7992a8fe14fc3bb3ad2f52396c0302dd980d4dfdaf1acaa", "Refresh workspace": "306960dcad4c285f46eb5bffbb815be8ebe98657bfed1a901e44b68c7c9f417d", @@ -6477,6 +6482,7 @@ "Stop scheduler": "da6153337089386cf80b918ffbd2f2a43a8876a76da3ca671200898a73695940", "Stop the current reply or queue new guidance.": "ef65bd0c8e0943cd194a61f0b0714870faf9081eeebdccb2967aabf880477457", "Stop using": "ef22ba68c9e447df816d52baba2d198b9d230a7b92291b0e683c38dd39fd94d7", + "Stop verification": "4d90de345e4b79787a78322b9da1ef2fd9c70098caae9af1208c37adc972ec73", "Stopped": "1a4f630ac1b69fd00728fa8a672ded71d0eae8516cb23e78f94529113399b79b", "Stopped {title}": "a2bb8d21f8b1fc6f69326965aabb4596bb14403cfc02644e3da7c3d99bda4a7f", "Stopped at {step}: {status}.": "a911b75c20e85b6fc45f8d484a34b9f7b844947fd5de54f289305ebd339951b7", @@ -7186,6 +7192,7 @@ "Unknown provider": "59080be0f444945a37e28b48166f9ddeb710cda7f656bb3827a684fffbcf4524", "Unknown size": "fffbd4ecf2ad3884acfc08d4fe61477737434672c0307bb3c08d2e876c0fd704", "Unknown source": "cbc86fd9d9357166a3076a90fd8957b816b3a516b79dc76d84e066daf984f83f", + "Unknown status": "15eebb6f74cc8a5a2a3eb6897533ded3d7c3e52b32cf617087a4793fef134ba0", "Unknown teammate": "491ea2ec8a112ef7fe0bc1368d78168f5a9208e5f9ca8587f8dd5ce1c1c5ef1f", "unknown_outcome": "164557364fc9e34fcc5fa0329a356a7d7042c4797b82a38cf0954e95185ad11d", "unknown_provider_capability": "f7ac373b31c9f98e1b1017117bf429d8b16a92030073b5b5eb5c30de06cdec8b", @@ -7360,12 +7367,15 @@ "Vector dimensions": "9d95d3f89905adeb9db91dc8afa0187d3e97858b2ec6e5ce78c0312ce1e99254", "Vector retrieval": "48180b50b6fc222ac72ac2cb38ac7d89c9b1cccd51392b6eae57b46a8ec6cd44", "Verdict": "4a36f89dafb0a1014671aaf16e3a380a999a33836e4c3a31fe5594a7da034da5", + "Verification": "7140f4f19dec525960aabacb5741a125876c7d85f8cfa9c899cc8880651ddf61", "verified": "1c34f88707b55e6104c4eb20e71ffa3d33e414b71ef689a15fad0640d0ac58cb", "Verified": "4f7838402f37674e8ebedb6cf048c0aea66bacdb25607aa3eee4b53093d83f5c", "Verified by execution": "1c4dd61aa39a909b81e11acea882bee4dec628b47763cc4dccca63dbc5f885bb", "Verified catalog": "8f408d980918dbb3a719ced82bf7e18c80a41382f2e3d444528defc5fa24623a", "Verifies behavior, regression scenarios, and user-facing workflows.": "b0845a7154f2567bfbe99c9649c79df3019b654217110f0d1b94f477dd91c78d", + "Verify": "eea2745e2867a6772adc3e813211e6ce7b6ebd312d7e84a7c1b1aa2f8c75fd4b", "Verify before use": "687f00a3911b398fd3e9df5675ecd82fba1fd114e17e2f868f4b04914679db33", + "Verify current changes": "547006b60c4136a531a18526bb7822b118268902f4f457bff86ab03e2a5e7e3f", "Verify the key, account access, balance, and model permission for this provider.": "5ba03b132333df8c1d7b130335bfa5a4034517c93f2a8725019d0d0eec7eb401", "Verifying": "a7d4a9f301edaa61ef561aaba1847d2729a900ea00bbf358953f99d99d913666", "Verifying integration candidate": "05a26deacc8035b95bfce5888134aaa287046d2727ef374e1ae39b07a59daadc", @@ -8790,9 +8800,11 @@ "cancelling": "Anulowanie", "Cancelling": "Anulowanie", "Candidate approved for draft": "Kandydat zatwierdzony do projektu", + "Candidate changed since verification": "Kandydat zmienił się od czasu weryfikacji", "Candidate cluster is not bound to a channel.": "Klaster kandydatów nie jest powiązany z kanałem.", "Candidate Clusters": "Klastry Kandydatów", "Candidate commit: {commit}": "Zatwierdzenie kandydata: {commit}", + "Candidate comparison unavailable": "Porównanie kandydatów niedostępne", "Candidate details": "Dane kandydata", "Candidate generation": "Pokolenie kandydatów", "Candidate generation and recording": "Generowanie i rejestrowanie kandydatów", @@ -8966,6 +8978,7 @@ "Check member status": "Sprawdź status członka", "Check member status to load readiness.": "Sprawdź status członka, aby załadować gotowość.", "Check needed": "Sprawdź potrzebne", + "Check output": "Sprawdź wyjście", "Check passed": "Kontrola zaliczona", "Check preset": "Sprawdź ustawienie wstępne", "Check provider": "Sprawdź dostawcę", @@ -12354,6 +12367,7 @@ "Participant label": "Etykieta uczestnika", "Participants": "Uczestnicy", "Pass": "Przechodzić", + "Passed": "Przeszedł", "Password": "Hasło", "Paste a Ling memory Markdown export": "Wklej eksport Markdown pamięci Ling", "Paste an API key in Model Workbench, then Save.": "Wklej klucz API w Model Workbench, a następnie Zapisz.", @@ -12959,6 +12973,7 @@ "Refresh the library to load Ling built-in skills.": "Odśwież bibliotekę, aby załadować wbudowane umiejętności Ling.", "Refresh to load member readiness.": "Odśwież, aby załadować gotowość członków.", "Refresh to load the selected channel's workflow and credential state.": "Odśwież, aby załadować przepływ pracy i stan danych logowania wybranego kanału.", + "Refresh verification": "Odśwież weryfikację", "Refresh work summary": "Refresh work summary", "Refresh workflow templates": "Refresh workflow templates", "Refresh workspace": "Odśwież obszar roboczy", @@ -14186,6 +14201,7 @@ "Stop scheduler": "Zatrzymaj harmonogram", "Stop the current reply or queue new guidance.": "Zatrzymaj bieżącą odpowiedź lub umieść w kolejce nowe wskazówki.", "Stop using": "Przestań używać", + "Stop verification": "Zatrzymaj weryfikację", "Stopped": "Zatrzymany", "Stopped {title}": "Zatrzymano {title}", "Stopped at {step}: {status}.": "Zatrzymano w {step}: {status}.", @@ -14895,6 +14911,7 @@ "Unknown provider": "Nieznany dostawca", "Unknown size": "Nieznany rozmiar", "Unknown source": "Nieznane źródło", + "Unknown status": "Nieznany stan", "Unknown teammate": "Nieznany kolega z drużyny", "unknown_outcome": "Wynik nieznany", "unknown_provider_capability": "Nieznane możliwości dostawcy", @@ -15069,12 +15086,15 @@ "Vector dimensions": "Wymiary wektorowe", "Vector retrieval": "Pobieranie wektorów", "Verdict": "Werdykt", + "Verification": "Weryfikacja", "verified": "zweryfikowane", "Verified": "Zweryfikowano", "Verified by execution": "Sprawdzone przez wykonanie", "Verified catalog": "Sprawdzony katalog", "Verifies behavior, regression scenarios, and user-facing workflows.": "Weryfikuje zachowania, scenariusze regresji i przepływy pracy skierowane do użytkownika.", + "Verify": "Zweryfikować", "Verify before use": "Sprawdź przed użyciem", + "Verify current changes": "Sprawdź aktualne zmiany", "Verify the key, account access, balance, and model permission for this provider.": "Sprawdź klucz, dostęp do konta, saldo i uprawnienia modelu dla tego dostawcy.", "Verifying": "Weryfikacja", "Verifying integration candidate": "Weryfikacja kandydata do integracji", diff --git a/packages/localization/catalogs/pt-BR.json b/packages/localization/catalogs/pt-BR.json index effc18f01..63ad21731 100644 --- a/packages/localization/catalogs/pt-BR.json +++ b/packages/localization/catalogs/pt-BR.json @@ -1,6 +1,6 @@ { "locale": "pt-BR", - "sourceRevision": "72f77c6fb25583bb1468e040086563074b7830e025f2fc657144dc0e4aad37c1", + "sourceRevision": "214db76d79f1a5c0fd915c110a2ead6dbb978b58398846e982a0c1ff0cb53108", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -1081,9 +1081,11 @@ "cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Candidate approved for draft": "59a57b9b459b3215e76b651f73f6521bc1bd71fa66bb52e046368a559db6632b", + "Candidate changed since verification": "a2808e03661077a04403dab2204b7ce8d78310c296600bd03c5766a754f216a6", "Candidate cluster is not bound to a channel.": "6066a4e8725d065a7c2b8d2c8974a60c41c0a94124deeabd972f620ddd815786", "Candidate Clusters": "b617f8ce5325fa8984c324816b08d3a26c05dac3c3276bcc4f4ab7196222dbe4", "Candidate commit: {commit}": "09bfd331d31184edc3eb1f8eab93bb1f6bc0cb640c0d1e1b53178e9eca4babbd", + "Candidate comparison unavailable": "f3bcf514a4febc720648d70be4d772e8ed9228ec5e7651edda3c229ddab6b627", "Candidate details": "17394d22b095121d9f0d77ff6d121c01383175fa17242bcd9f04bd61f182b5c9", "Candidate generation": "9d360a71a5d82995775df6401ac1d1f7257a68ad462bab70abb494e14239d3d3", "Candidate generation and recording": "d3af53b1912f971078c187ce9260949e68e49f0c2ea954c216a06fe2baa2acc9", @@ -1257,6 +1259,7 @@ "Check member status": "ff155af014d0b6e94cbf2fca3b01cf8d5725732f178eee985083478adb4a62f5", "Check member status to load readiness.": "6f7f338e22e626b134643fbaec898cf8e8efd19b85eeb6193b4ca0d5d63c4528", "Check needed": "561a32f0c83e5a4fe8d77d891bd4b954d514ea021b4a18e68a3607f5d8747841", + "Check output": "250d2e9675d6d399c668a5e496d0caf2913e14b5ea21036fa8ee2dad94ad4d46", "Check passed": "2f6697a2389d7a3c059e7c0435569b37c78275d752bdf9b9e1c5d94f3d0eeeaf", "Check preset": "85e9cc57cbd02e87de7d5213d2627e64f0ae2e3211dd62045b7c2e3dc2bcd45c", "Check provider": "655b6b054c32b6850e6bc245f79b03cb2513ab227e96e7e4a6fb3269daf60119", @@ -4645,6 +4648,7 @@ "Participant label": "ac9acb52867f8141cbc1741f20bbd2766f819aa569c1191dcac3855ba53b59fc", "Participants": "0e27279b3302db0448a2acf5d923ffb09b75270c2e957bfb93f54815d2146aa4", "Pass": "ebdf8cc00bc4d9ceee633c56c63b49955769a92ca060825c9b08e4af61326e2b", + "Passed": "436fe71bb9561f0596161c4d50c7b23327b4189acaf63dc89f4f9205b67a7528", "Password": "e7cf3ef4f17c3999a94f2c6f612e8a888e5b1026878e4e19398b23bd38ec221a", "Paste a Ling memory Markdown export": "3efbebfd30ffeb6bfba59beb91961665a830db73fea934f7fed5394666a7c901", "Paste an API key in Model Workbench, then Save.": "07d4307d7f787295b9cfe97f60114a53060c0f9319a38a5c935fb3f76aceb2cc", @@ -5250,6 +5254,7 @@ "Refresh the library to load Ling built-in skills.": "c1c70580c6d18d99477517ed4d8e7b1b2d7ce26b1c7e932cb3260eeef43008c2", "Refresh to load member readiness.": "b7018c54ba477bad3f292cefce02f582783c67f459e84182d3fe06e53cfe3236", "Refresh to load the selected channel's workflow and credential state.": "290fe59158244da3b9914566b3df31b8f15d3a66fd3ffd9661da282028522f59", + "Refresh verification": "c444d5a4e36d9ec9e448c2eb179a6ef45d3594cd02c264f699a83a04bb51749f", "Refresh work summary": "ccd4dcacf0460eb1ca7749ead055fbffcd395e4f8a0c0f9292d390394b80a78e", "Refresh workflow templates": "1d5c58c6bb31f588e7992a8fe14fc3bb3ad2f52396c0302dd980d4dfdaf1acaa", "Refresh workspace": "306960dcad4c285f46eb5bffbb815be8ebe98657bfed1a901e44b68c7c9f417d", @@ -6477,6 +6482,7 @@ "Stop scheduler": "da6153337089386cf80b918ffbd2f2a43a8876a76da3ca671200898a73695940", "Stop the current reply or queue new guidance.": "ef65bd0c8e0943cd194a61f0b0714870faf9081eeebdccb2967aabf880477457", "Stop using": "ef22ba68c9e447df816d52baba2d198b9d230a7b92291b0e683c38dd39fd94d7", + "Stop verification": "4d90de345e4b79787a78322b9da1ef2fd9c70098caae9af1208c37adc972ec73", "Stopped": "1a4f630ac1b69fd00728fa8a672ded71d0eae8516cb23e78f94529113399b79b", "Stopped {title}": "a2bb8d21f8b1fc6f69326965aabb4596bb14403cfc02644e3da7c3d99bda4a7f", "Stopped at {step}: {status}.": "a911b75c20e85b6fc45f8d484a34b9f7b844947fd5de54f289305ebd339951b7", @@ -7186,6 +7192,7 @@ "Unknown provider": "59080be0f444945a37e28b48166f9ddeb710cda7f656bb3827a684fffbcf4524", "Unknown size": "fffbd4ecf2ad3884acfc08d4fe61477737434672c0307bb3c08d2e876c0fd704", "Unknown source": "cbc86fd9d9357166a3076a90fd8957b816b3a516b79dc76d84e066daf984f83f", + "Unknown status": "15eebb6f74cc8a5a2a3eb6897533ded3d7c3e52b32cf617087a4793fef134ba0", "Unknown teammate": "491ea2ec8a112ef7fe0bc1368d78168f5a9208e5f9ca8587f8dd5ce1c1c5ef1f", "unknown_outcome": "164557364fc9e34fcc5fa0329a356a7d7042c4797b82a38cf0954e95185ad11d", "unknown_provider_capability": "f7ac373b31c9f98e1b1017117bf429d8b16a92030073b5b5eb5c30de06cdec8b", @@ -7360,12 +7367,15 @@ "Vector dimensions": "9d95d3f89905adeb9db91dc8afa0187d3e97858b2ec6e5ce78c0312ce1e99254", "Vector retrieval": "48180b50b6fc222ac72ac2cb38ac7d89c9b1cccd51392b6eae57b46a8ec6cd44", "Verdict": "4a36f89dafb0a1014671aaf16e3a380a999a33836e4c3a31fe5594a7da034da5", + "Verification": "7140f4f19dec525960aabacb5741a125876c7d85f8cfa9c899cc8880651ddf61", "verified": "1c34f88707b55e6104c4eb20e71ffa3d33e414b71ef689a15fad0640d0ac58cb", "Verified": "4f7838402f37674e8ebedb6cf048c0aea66bacdb25607aa3eee4b53093d83f5c", "Verified by execution": "1c4dd61aa39a909b81e11acea882bee4dec628b47763cc4dccca63dbc5f885bb", "Verified catalog": "8f408d980918dbb3a719ced82bf7e18c80a41382f2e3d444528defc5fa24623a", "Verifies behavior, regression scenarios, and user-facing workflows.": "b0845a7154f2567bfbe99c9649c79df3019b654217110f0d1b94f477dd91c78d", + "Verify": "eea2745e2867a6772adc3e813211e6ce7b6ebd312d7e84a7c1b1aa2f8c75fd4b", "Verify before use": "687f00a3911b398fd3e9df5675ecd82fba1fd114e17e2f868f4b04914679db33", + "Verify current changes": "547006b60c4136a531a18526bb7822b118268902f4f457bff86ab03e2a5e7e3f", "Verify the key, account access, balance, and model permission for this provider.": "5ba03b132333df8c1d7b130335bfa5a4034517c93f2a8725019d0d0eec7eb401", "Verifying": "a7d4a9f301edaa61ef561aaba1847d2729a900ea00bbf358953f99d99d913666", "Verifying integration candidate": "05a26deacc8035b95bfce5888134aaa287046d2727ef374e1ae39b07a59daadc", @@ -8790,9 +8800,11 @@ "cancelling": "Cancelando", "Cancelling": "Cancelando", "Candidate approved for draft": "Candidato aprovado para draft", + "Candidate changed since verification": "Candidato alterado desde a verificação", "Candidate cluster is not bound to a channel.": "O cluster candidato não está vinculado a um canal.", "Candidate Clusters": "Clusters de Candidatos", "Candidate commit: {commit}": "Confirmação do candidato: {commit}", + "Candidate comparison unavailable": "Comparação de candidatos indisponível", "Candidate details": "Detalhes do candidato", "Candidate generation": "Geração de candidatos", "Candidate generation and recording": "Geração e registro de candidatos", @@ -8966,6 +8978,7 @@ "Check member status": "Verifique o status do membro", "Check member status to load readiness.": "Verifique o status do membro para carregar a prontidão.", "Check needed": "Verificação necessária", + "Check output": "Verifique a saída", "Check passed": "Cheque aprovado", "Check preset": "Verifique a predefinição", "Check provider": "Verifique o provedor", @@ -12354,6 +12367,7 @@ "Participant label": "Etiqueta do participante", "Participants": "Participantes", "Pass": "Passar", + "Passed": "Aprovado", "Password": "Senha", "Paste a Ling memory Markdown export": "Cole uma exportação Markdown de memória Ling", "Paste an API key in Model Workbench, then Save.": "Cole uma chave API no Model Workbench e salve.", @@ -12959,6 +12973,7 @@ "Refresh the library to load Ling built-in skills.": "Atualize a biblioteca para carregar habilidades integradas Ling.", "Refresh to load member readiness.": "Atualize para carregar a preparação do membro.", "Refresh to load the selected channel's workflow and credential state.": "Atualize para carregar o fluxo de trabalho e o estado da credencial do canal selecionado.", + "Refresh verification": "Atualizar verificação", "Refresh work summary": "Refresh work summary", "Refresh workflow templates": "Refresh workflow templates", "Refresh workspace": "Atualizar espaço de trabalho", @@ -14186,6 +14201,7 @@ "Stop scheduler": "Parar agendador", "Stop the current reply or queue new guidance.": "Pare a resposta atual ou coloque novas orientações na fila.", "Stop using": "Pare de usar", + "Stop verification": "Interromper verificação", "Stopped": "Parou", "Stopped {title}": "Parado {title}", "Stopped at {step}: {status}.": "Parado em {step}: {status}.", @@ -14895,6 +14911,7 @@ "Unknown provider": "Provedor desconhecido", "Unknown size": "Tamanho desconhecido", "Unknown source": "Fonte desconhecida", + "Unknown status": "Estado desconhecido", "Unknown teammate": "Companheiro de equipe desconhecido", "unknown_outcome": "Resultado desconhecido", "unknown_provider_capability": "Capacidade de provedor desconhecida", @@ -15069,12 +15086,15 @@ "Vector dimensions": "Dimensões vetoriais", "Vector retrieval": "Recuperação de vetores", "Verdict": "Veredicto", + "Verification": "Verificação", "verified": "verificado", "Verified": "Verificado", "Verified by execution": "Verificado pela execução", "Verified catalog": "Catálogo verificado", "Verifies behavior, regression scenarios, and user-facing workflows.": "Verifica comportamento, cenários de regressão e fluxos de trabalho voltados para o usuário.", + "Verify": "Verificar", "Verify before use": "Verifique antes de usar", + "Verify current changes": "Verifique as alterações atuais", "Verify the key, account access, balance, and model permission for this provider.": "Verifique a chave, o acesso à conta, o saldo e a permissão do modelo para este provedor.", "Verifying": "Verificando", "Verifying integration candidate": "Verificando o candidato à integração", diff --git a/packages/localization/catalogs/pt-PT.json b/packages/localization/catalogs/pt-PT.json index 2b7561151..9b1ad72ae 100644 --- a/packages/localization/catalogs/pt-PT.json +++ b/packages/localization/catalogs/pt-PT.json @@ -1,6 +1,6 @@ { "locale": "pt-PT", - "sourceRevision": "72f77c6fb25583bb1468e040086563074b7830e025f2fc657144dc0e4aad37c1", + "sourceRevision": "214db76d79f1a5c0fd915c110a2ead6dbb978b58398846e982a0c1ff0cb53108", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -1081,9 +1081,11 @@ "cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Candidate approved for draft": "59a57b9b459b3215e76b651f73f6521bc1bd71fa66bb52e046368a559db6632b", + "Candidate changed since verification": "a2808e03661077a04403dab2204b7ce8d78310c296600bd03c5766a754f216a6", "Candidate cluster is not bound to a channel.": "6066a4e8725d065a7c2b8d2c8974a60c41c0a94124deeabd972f620ddd815786", "Candidate Clusters": "b617f8ce5325fa8984c324816b08d3a26c05dac3c3276bcc4f4ab7196222dbe4", "Candidate commit: {commit}": "09bfd331d31184edc3eb1f8eab93bb1f6bc0cb640c0d1e1b53178e9eca4babbd", + "Candidate comparison unavailable": "f3bcf514a4febc720648d70be4d772e8ed9228ec5e7651edda3c229ddab6b627", "Candidate details": "17394d22b095121d9f0d77ff6d121c01383175fa17242bcd9f04bd61f182b5c9", "Candidate generation": "9d360a71a5d82995775df6401ac1d1f7257a68ad462bab70abb494e14239d3d3", "Candidate generation and recording": "d3af53b1912f971078c187ce9260949e68e49f0c2ea954c216a06fe2baa2acc9", @@ -1257,6 +1259,7 @@ "Check member status": "ff155af014d0b6e94cbf2fca3b01cf8d5725732f178eee985083478adb4a62f5", "Check member status to load readiness.": "6f7f338e22e626b134643fbaec898cf8e8efd19b85eeb6193b4ca0d5d63c4528", "Check needed": "561a32f0c83e5a4fe8d77d891bd4b954d514ea021b4a18e68a3607f5d8747841", + "Check output": "250d2e9675d6d399c668a5e496d0caf2913e14b5ea21036fa8ee2dad94ad4d46", "Check passed": "2f6697a2389d7a3c059e7c0435569b37c78275d752bdf9b9e1c5d94f3d0eeeaf", "Check preset": "85e9cc57cbd02e87de7d5213d2627e64f0ae2e3211dd62045b7c2e3dc2bcd45c", "Check provider": "655b6b054c32b6850e6bc245f79b03cb2513ab227e96e7e4a6fb3269daf60119", @@ -4645,6 +4648,7 @@ "Participant label": "ac9acb52867f8141cbc1741f20bbd2766f819aa569c1191dcac3855ba53b59fc", "Participants": "0e27279b3302db0448a2acf5d923ffb09b75270c2e957bfb93f54815d2146aa4", "Pass": "ebdf8cc00bc4d9ceee633c56c63b49955769a92ca060825c9b08e4af61326e2b", + "Passed": "436fe71bb9561f0596161c4d50c7b23327b4189acaf63dc89f4f9205b67a7528", "Password": "e7cf3ef4f17c3999a94f2c6f612e8a888e5b1026878e4e19398b23bd38ec221a", "Paste a Ling memory Markdown export": "3efbebfd30ffeb6bfba59beb91961665a830db73fea934f7fed5394666a7c901", "Paste an API key in Model Workbench, then Save.": "07d4307d7f787295b9cfe97f60114a53060c0f9319a38a5c935fb3f76aceb2cc", @@ -5250,6 +5254,7 @@ "Refresh the library to load Ling built-in skills.": "c1c70580c6d18d99477517ed4d8e7b1b2d7ce26b1c7e932cb3260eeef43008c2", "Refresh to load member readiness.": "b7018c54ba477bad3f292cefce02f582783c67f459e84182d3fe06e53cfe3236", "Refresh to load the selected channel's workflow and credential state.": "290fe59158244da3b9914566b3df31b8f15d3a66fd3ffd9661da282028522f59", + "Refresh verification": "c444d5a4e36d9ec9e448c2eb179a6ef45d3594cd02c264f699a83a04bb51749f", "Refresh work summary": "ccd4dcacf0460eb1ca7749ead055fbffcd395e4f8a0c0f9292d390394b80a78e", "Refresh workflow templates": "1d5c58c6bb31f588e7992a8fe14fc3bb3ad2f52396c0302dd980d4dfdaf1acaa", "Refresh workspace": "306960dcad4c285f46eb5bffbb815be8ebe98657bfed1a901e44b68c7c9f417d", @@ -6477,6 +6482,7 @@ "Stop scheduler": "da6153337089386cf80b918ffbd2f2a43a8876a76da3ca671200898a73695940", "Stop the current reply or queue new guidance.": "ef65bd0c8e0943cd194a61f0b0714870faf9081eeebdccb2967aabf880477457", "Stop using": "ef22ba68c9e447df816d52baba2d198b9d230a7b92291b0e683c38dd39fd94d7", + "Stop verification": "4d90de345e4b79787a78322b9da1ef2fd9c70098caae9af1208c37adc972ec73", "Stopped": "1a4f630ac1b69fd00728fa8a672ded71d0eae8516cb23e78f94529113399b79b", "Stopped {title}": "a2bb8d21f8b1fc6f69326965aabb4596bb14403cfc02644e3da7c3d99bda4a7f", "Stopped at {step}: {status}.": "a911b75c20e85b6fc45f8d484a34b9f7b844947fd5de54f289305ebd339951b7", @@ -7186,6 +7192,7 @@ "Unknown provider": "59080be0f444945a37e28b48166f9ddeb710cda7f656bb3827a684fffbcf4524", "Unknown size": "fffbd4ecf2ad3884acfc08d4fe61477737434672c0307bb3c08d2e876c0fd704", "Unknown source": "cbc86fd9d9357166a3076a90fd8957b816b3a516b79dc76d84e066daf984f83f", + "Unknown status": "15eebb6f74cc8a5a2a3eb6897533ded3d7c3e52b32cf617087a4793fef134ba0", "Unknown teammate": "491ea2ec8a112ef7fe0bc1368d78168f5a9208e5f9ca8587f8dd5ce1c1c5ef1f", "unknown_outcome": "164557364fc9e34fcc5fa0329a356a7d7042c4797b82a38cf0954e95185ad11d", "unknown_provider_capability": "f7ac373b31c9f98e1b1017117bf429d8b16a92030073b5b5eb5c30de06cdec8b", @@ -7360,12 +7367,15 @@ "Vector dimensions": "9d95d3f89905adeb9db91dc8afa0187d3e97858b2ec6e5ce78c0312ce1e99254", "Vector retrieval": "48180b50b6fc222ac72ac2cb38ac7d89c9b1cccd51392b6eae57b46a8ec6cd44", "Verdict": "4a36f89dafb0a1014671aaf16e3a380a999a33836e4c3a31fe5594a7da034da5", + "Verification": "7140f4f19dec525960aabacb5741a125876c7d85f8cfa9c899cc8880651ddf61", "verified": "1c34f88707b55e6104c4eb20e71ffa3d33e414b71ef689a15fad0640d0ac58cb", "Verified": "4f7838402f37674e8ebedb6cf048c0aea66bacdb25607aa3eee4b53093d83f5c", "Verified by execution": "1c4dd61aa39a909b81e11acea882bee4dec628b47763cc4dccca63dbc5f885bb", "Verified catalog": "8f408d980918dbb3a719ced82bf7e18c80a41382f2e3d444528defc5fa24623a", "Verifies behavior, regression scenarios, and user-facing workflows.": "b0845a7154f2567bfbe99c9649c79df3019b654217110f0d1b94f477dd91c78d", + "Verify": "eea2745e2867a6772adc3e813211e6ce7b6ebd312d7e84a7c1b1aa2f8c75fd4b", "Verify before use": "687f00a3911b398fd3e9df5675ecd82fba1fd114e17e2f868f4b04914679db33", + "Verify current changes": "547006b60c4136a531a18526bb7822b118268902f4f457bff86ab03e2a5e7e3f", "Verify the key, account access, balance, and model permission for this provider.": "5ba03b132333df8c1d7b130335bfa5a4034517c93f2a8725019d0d0eec7eb401", "Verifying": "a7d4a9f301edaa61ef561aaba1847d2729a900ea00bbf358953f99d99d913666", "Verifying integration candidate": "05a26deacc8035b95bfce5888134aaa287046d2727ef374e1ae39b07a59daadc", @@ -8790,9 +8800,11 @@ "cancelling": "Cancelando", "Cancelling": "Cancelando", "Candidate approved for draft": "Candidato aprovado para o draft", + "Candidate changed since verification": "Candidato alterado desde a verificação", "Candidate cluster is not bound to a channel.": "O cluster candidato não está ligado a um canal.", "Candidate Clusters": "Clusters de Candidatos", "Candidate commit: {commit}": "Confirmação do candidato: {commit}", + "Candidate comparison unavailable": "Comparação de candidatos indisponível", "Candidate details": "Detalhes do candidato", "Candidate generation": "Geração de candidatos", "Candidate generation and recording": "Geração e registo de candidatos", @@ -8966,6 +8978,7 @@ "Check member status": "Verifique o estado do membro", "Check member status to load readiness.": "Verifique o estado do membro para carregar a prontidão.", "Check needed": "Verificação necessária", + "Check output": "Verifique a saída", "Check passed": "Cheque aprovado", "Check preset": "Verifique a predefinição", "Check provider": "Verifique o fornecedor", @@ -12354,6 +12367,7 @@ "Participant label": "Etiqueta do participante", "Participants": "Participantes", "Pass": "Passar", + "Passed": "Passou", "Password": "Palavra-passe", "Paste a Ling memory Markdown export": "Cole uma exportação Markdown de memória Ling", "Paste an API key in Model Workbench, then Save.": "Cole uma chave API no Model Workbench e guarde.", @@ -12959,6 +12973,7 @@ "Refresh the library to load Ling built-in skills.": "Atualize a biblioteca para carregar as competências integradas Ling.", "Refresh to load member readiness.": "Atualize para carregar a preparação do membro.", "Refresh to load the selected channel's workflow and credential state.": "Atualize para carregar o workflow e o estado da credencial do canal selecionado.", + "Refresh verification": "Atualizar verificação", "Refresh work summary": "Refresh work summary", "Refresh workflow templates": "Refresh workflow templates", "Refresh workspace": "Atualizar espaço de trabalho", @@ -14186,6 +14201,7 @@ "Stop scheduler": "Parar agendador", "Stop the current reply or queue new guidance.": "Pare a resposta atual ou coloque novas orientações na fila.", "Stop using": "Pare de usar", + "Stop verification": "Interromper verificação", "Stopped": "Parou", "Stopped {title}": "Parou {title}", "Stopped at {step}: {status}.": "Parou em {step}: {status}.", @@ -14895,6 +14911,7 @@ "Unknown provider": "Provedor desconhecido", "Unknown size": "Tamanho desconhecido", "Unknown source": "Fonte desconhecida", + "Unknown status": "Estado desconhecido", "Unknown teammate": "Companheiro de equipa desconhecido", "unknown_outcome": "Resultado desconhecido", "unknown_provider_capability": "Capacidade de fornecedor desconhecida", @@ -15069,12 +15086,15 @@ "Vector dimensions": "Dimensões vetoriais", "Vector retrieval": "Recuperação de vetores", "Verdict": "Veredicto", + "Verification": "Verificação", "verified": "verificado", "Verified": "Verificado", "Verified by execution": "Verificado pela execução", "Verified catalog": "Catálogo verificado", "Verifies behavior, regression scenarios, and user-facing workflows.": "Verifica o comportamento, cenários de regressão e fluxos de trabalho orientados para o utilizador.", + "Verify": "Verificar", "Verify before use": "Verifique antes de utilizar", + "Verify current changes": "Verifique as alterações atuais", "Verify the key, account access, balance, and model permission for this provider.": "Verifique a chave, o acesso à conta, o saldo e a permissão do modelo para este fornecedor.", "Verifying": "Verificando", "Verifying integration candidate": "Verificando o candidato à integração", diff --git a/packages/localization/catalogs/ro-RO.json b/packages/localization/catalogs/ro-RO.json index df1501cc3..7500de376 100644 --- a/packages/localization/catalogs/ro-RO.json +++ b/packages/localization/catalogs/ro-RO.json @@ -1,6 +1,6 @@ { "locale": "ro-RO", - "sourceRevision": "72f77c6fb25583bb1468e040086563074b7830e025f2fc657144dc0e4aad37c1", + "sourceRevision": "214db76d79f1a5c0fd915c110a2ead6dbb978b58398846e982a0c1ff0cb53108", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -1081,9 +1081,11 @@ "cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Candidate approved for draft": "59a57b9b459b3215e76b651f73f6521bc1bd71fa66bb52e046368a559db6632b", + "Candidate changed since verification": "a2808e03661077a04403dab2204b7ce8d78310c296600bd03c5766a754f216a6", "Candidate cluster is not bound to a channel.": "6066a4e8725d065a7c2b8d2c8974a60c41c0a94124deeabd972f620ddd815786", "Candidate Clusters": "b617f8ce5325fa8984c324816b08d3a26c05dac3c3276bcc4f4ab7196222dbe4", "Candidate commit: {commit}": "09bfd331d31184edc3eb1f8eab93bb1f6bc0cb640c0d1e1b53178e9eca4babbd", + "Candidate comparison unavailable": "f3bcf514a4febc720648d70be4d772e8ed9228ec5e7651edda3c229ddab6b627", "Candidate details": "17394d22b095121d9f0d77ff6d121c01383175fa17242bcd9f04bd61f182b5c9", "Candidate generation": "9d360a71a5d82995775df6401ac1d1f7257a68ad462bab70abb494e14239d3d3", "Candidate generation and recording": "d3af53b1912f971078c187ce9260949e68e49f0c2ea954c216a06fe2baa2acc9", @@ -1257,6 +1259,7 @@ "Check member status": "ff155af014d0b6e94cbf2fca3b01cf8d5725732f178eee985083478adb4a62f5", "Check member status to load readiness.": "6f7f338e22e626b134643fbaec898cf8e8efd19b85eeb6193b4ca0d5d63c4528", "Check needed": "561a32f0c83e5a4fe8d77d891bd4b954d514ea021b4a18e68a3607f5d8747841", + "Check output": "250d2e9675d6d399c668a5e496d0caf2913e14b5ea21036fa8ee2dad94ad4d46", "Check passed": "2f6697a2389d7a3c059e7c0435569b37c78275d752bdf9b9e1c5d94f3d0eeeaf", "Check preset": "85e9cc57cbd02e87de7d5213d2627e64f0ae2e3211dd62045b7c2e3dc2bcd45c", "Check provider": "655b6b054c32b6850e6bc245f79b03cb2513ab227e96e7e4a6fb3269daf60119", @@ -4645,6 +4648,7 @@ "Participant label": "ac9acb52867f8141cbc1741f20bbd2766f819aa569c1191dcac3855ba53b59fc", "Participants": "0e27279b3302db0448a2acf5d923ffb09b75270c2e957bfb93f54815d2146aa4", "Pass": "ebdf8cc00bc4d9ceee633c56c63b49955769a92ca060825c9b08e4af61326e2b", + "Passed": "436fe71bb9561f0596161c4d50c7b23327b4189acaf63dc89f4f9205b67a7528", "Password": "e7cf3ef4f17c3999a94f2c6f612e8a888e5b1026878e4e19398b23bd38ec221a", "Paste a Ling memory Markdown export": "3efbebfd30ffeb6bfba59beb91961665a830db73fea934f7fed5394666a7c901", "Paste an API key in Model Workbench, then Save.": "07d4307d7f787295b9cfe97f60114a53060c0f9319a38a5c935fb3f76aceb2cc", @@ -5250,6 +5254,7 @@ "Refresh the library to load Ling built-in skills.": "c1c70580c6d18d99477517ed4d8e7b1b2d7ce26b1c7e932cb3260eeef43008c2", "Refresh to load member readiness.": "b7018c54ba477bad3f292cefce02f582783c67f459e84182d3fe06e53cfe3236", "Refresh to load the selected channel's workflow and credential state.": "290fe59158244da3b9914566b3df31b8f15d3a66fd3ffd9661da282028522f59", + "Refresh verification": "c444d5a4e36d9ec9e448c2eb179a6ef45d3594cd02c264f699a83a04bb51749f", "Refresh work summary": "ccd4dcacf0460eb1ca7749ead055fbffcd395e4f8a0c0f9292d390394b80a78e", "Refresh workflow templates": "1d5c58c6bb31f588e7992a8fe14fc3bb3ad2f52396c0302dd980d4dfdaf1acaa", "Refresh workspace": "306960dcad4c285f46eb5bffbb815be8ebe98657bfed1a901e44b68c7c9f417d", @@ -6477,6 +6482,7 @@ "Stop scheduler": "da6153337089386cf80b918ffbd2f2a43a8876a76da3ca671200898a73695940", "Stop the current reply or queue new guidance.": "ef65bd0c8e0943cd194a61f0b0714870faf9081eeebdccb2967aabf880477457", "Stop using": "ef22ba68c9e447df816d52baba2d198b9d230a7b92291b0e683c38dd39fd94d7", + "Stop verification": "4d90de345e4b79787a78322b9da1ef2fd9c70098caae9af1208c37adc972ec73", "Stopped": "1a4f630ac1b69fd00728fa8a672ded71d0eae8516cb23e78f94529113399b79b", "Stopped {title}": "a2bb8d21f8b1fc6f69326965aabb4596bb14403cfc02644e3da7c3d99bda4a7f", "Stopped at {step}: {status}.": "a911b75c20e85b6fc45f8d484a34b9f7b844947fd5de54f289305ebd339951b7", @@ -7186,6 +7192,7 @@ "Unknown provider": "59080be0f444945a37e28b48166f9ddeb710cda7f656bb3827a684fffbcf4524", "Unknown size": "fffbd4ecf2ad3884acfc08d4fe61477737434672c0307bb3c08d2e876c0fd704", "Unknown source": "cbc86fd9d9357166a3076a90fd8957b816b3a516b79dc76d84e066daf984f83f", + "Unknown status": "15eebb6f74cc8a5a2a3eb6897533ded3d7c3e52b32cf617087a4793fef134ba0", "Unknown teammate": "491ea2ec8a112ef7fe0bc1368d78168f5a9208e5f9ca8587f8dd5ce1c1c5ef1f", "unknown_outcome": "164557364fc9e34fcc5fa0329a356a7d7042c4797b82a38cf0954e95185ad11d", "unknown_provider_capability": "f7ac373b31c9f98e1b1017117bf429d8b16a92030073b5b5eb5c30de06cdec8b", @@ -7360,12 +7367,15 @@ "Vector dimensions": "9d95d3f89905adeb9db91dc8afa0187d3e97858b2ec6e5ce78c0312ce1e99254", "Vector retrieval": "48180b50b6fc222ac72ac2cb38ac7d89c9b1cccd51392b6eae57b46a8ec6cd44", "Verdict": "4a36f89dafb0a1014671aaf16e3a380a999a33836e4c3a31fe5594a7da034da5", + "Verification": "7140f4f19dec525960aabacb5741a125876c7d85f8cfa9c899cc8880651ddf61", "verified": "1c34f88707b55e6104c4eb20e71ffa3d33e414b71ef689a15fad0640d0ac58cb", "Verified": "4f7838402f37674e8ebedb6cf048c0aea66bacdb25607aa3eee4b53093d83f5c", "Verified by execution": "1c4dd61aa39a909b81e11acea882bee4dec628b47763cc4dccca63dbc5f885bb", "Verified catalog": "8f408d980918dbb3a719ced82bf7e18c80a41382f2e3d444528defc5fa24623a", "Verifies behavior, regression scenarios, and user-facing workflows.": "b0845a7154f2567bfbe99c9649c79df3019b654217110f0d1b94f477dd91c78d", + "Verify": "eea2745e2867a6772adc3e813211e6ce7b6ebd312d7e84a7c1b1aa2f8c75fd4b", "Verify before use": "687f00a3911b398fd3e9df5675ecd82fba1fd114e17e2f868f4b04914679db33", + "Verify current changes": "547006b60c4136a531a18526bb7822b118268902f4f457bff86ab03e2a5e7e3f", "Verify the key, account access, balance, and model permission for this provider.": "5ba03b132333df8c1d7b130335bfa5a4034517c93f2a8725019d0d0eec7eb401", "Verifying": "a7d4a9f301edaa61ef561aaba1847d2729a900ea00bbf358953f99d99d913666", "Verifying integration candidate": "05a26deacc8035b95bfce5888134aaa287046d2727ef374e1ae39b07a59daadc", @@ -8790,9 +8800,11 @@ "cancelling": "Anulare", "Cancelling": "Anulare", "Candidate approved for draft": "Candidatul aprobat pentru proiect", + "Candidate changed since verification": "Candidatul s-a schimbat de la verificare", "Candidate cluster is not bound to a channel.": "Clusterul candidat nu este legat de un canal.", "Candidate Clusters": "Clustere de candidați", "Candidate commit: {commit}": "Angajamentul candidatului: {commit}", + "Candidate comparison unavailable": "Comparația candidaților nu este disponibilă", "Candidate details": "Detalii despre candidat", "Candidate generation": "Generația de candidați", "Candidate generation and recording": "Generarea și înregistrarea candidaților", @@ -8966,6 +8978,7 @@ "Check member status": "Verificați statutul de membru", "Check member status to load readiness.": "Verificați starea membrului pentru a încărca pregătirea.", "Check needed": "Verificare necesară", + "Check output": "Verificați ieșirea", "Check passed": "Cecul trecut", "Check preset": "Verificați presetarea", "Check provider": "Verificați furnizorul", @@ -12354,6 +12367,7 @@ "Participant label": "Eticheta participantului", "Participants": "Participanții", "Pass": "Pasa", + "Passed": "A trecut", "Password": "Parolă", "Paste a Ling memory Markdown export": "Lipiți un export Markdown de memorie Ling", "Paste an API key in Model Workbench, then Save.": "Lipiți o cheie API în Model Workbench, apoi Salvați.", @@ -12959,6 +12973,7 @@ "Refresh the library to load Ling built-in skills.": "Actualizează biblioteca pentru a încărca abilitățile încorporate Ling.", "Refresh to load member readiness.": "Actualizează pentru a încărca pregătirea membrilor.", "Refresh to load the selected channel's workflow and credential state.": "Actualizează pentru a încărca fluxul de lucru și starea acreditărilor canalului selectat.", + "Refresh verification": "Actualizează verificarea", "Refresh work summary": "Refresh work summary", "Refresh workflow templates": "Refresh workflow templates", "Refresh workspace": "Reîmprospătați spațiul de lucru", @@ -14186,6 +14201,7 @@ "Stop scheduler": "Opriți programatorul", "Stop the current reply or queue new guidance.": "Opriți răspunsul curent sau puneți în coadă instrucțiuni noi.", "Stop using": "Nu mai folosiți", + "Stop verification": "Opriți verificarea", "Stopped": "oprit", "Stopped {title}": "S-a oprit {title}", "Stopped at {step}: {status}.": "S-a oprit la {step}: {status}.", @@ -14895,6 +14911,7 @@ "Unknown provider": "Furnizor necunoscut", "Unknown size": "Dimensiune necunoscută", "Unknown source": "Sursă necunoscută", + "Unknown status": "Stare necunoscută", "Unknown teammate": "Coechipier necunoscut", "unknown_outcome": "Rezultatul necunoscut", "unknown_provider_capability": "Capacitate de furnizor necunoscută", @@ -15069,12 +15086,15 @@ "Vector dimensions": "Dimensiuni vectoriale", "Vector retrieval": "Recuperarea vectorului", "Verdict": "Verdict", + "Verification": "Verificare", "verified": "verificat", "Verified": "Verificat", "Verified by execution": "Verificat prin execuție", "Verified catalog": "Catalog verificat", "Verifies behavior, regression scenarios, and user-facing workflows.": "Verifică comportamentul, scenariile de regresie și fluxurile de lucru pentru utilizator.", + "Verify": "Verifica", "Verify before use": "Verificați înainte de utilizare", + "Verify current changes": "Verificați modificările curente", "Verify the key, account access, balance, and model permission for this provider.": "Verificați cheia, accesul la cont, soldul și permisiunea de model pentru acest furnizor.", "Verifying": "Se verifică", "Verifying integration candidate": "Verificarea candidatului la integrare", diff --git a/packages/localization/catalogs/ru-RU.json b/packages/localization/catalogs/ru-RU.json index 5fc25ea74..9f1d7cde4 100644 --- a/packages/localization/catalogs/ru-RU.json +++ b/packages/localization/catalogs/ru-RU.json @@ -1,6 +1,6 @@ { "locale": "ru-RU", - "sourceRevision": "72f77c6fb25583bb1468e040086563074b7830e025f2fc657144dc0e4aad37c1", + "sourceRevision": "214db76d79f1a5c0fd915c110a2ead6dbb978b58398846e982a0c1ff0cb53108", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -1081,9 +1081,11 @@ "cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Candidate approved for draft": "59a57b9b459b3215e76b651f73f6521bc1bd71fa66bb52e046368a559db6632b", + "Candidate changed since verification": "a2808e03661077a04403dab2204b7ce8d78310c296600bd03c5766a754f216a6", "Candidate cluster is not bound to a channel.": "6066a4e8725d065a7c2b8d2c8974a60c41c0a94124deeabd972f620ddd815786", "Candidate Clusters": "b617f8ce5325fa8984c324816b08d3a26c05dac3c3276bcc4f4ab7196222dbe4", "Candidate commit: {commit}": "09bfd331d31184edc3eb1f8eab93bb1f6bc0cb640c0d1e1b53178e9eca4babbd", + "Candidate comparison unavailable": "f3bcf514a4febc720648d70be4d772e8ed9228ec5e7651edda3c229ddab6b627", "Candidate details": "17394d22b095121d9f0d77ff6d121c01383175fa17242bcd9f04bd61f182b5c9", "Candidate generation": "9d360a71a5d82995775df6401ac1d1f7257a68ad462bab70abb494e14239d3d3", "Candidate generation and recording": "d3af53b1912f971078c187ce9260949e68e49f0c2ea954c216a06fe2baa2acc9", @@ -1257,6 +1259,7 @@ "Check member status": "ff155af014d0b6e94cbf2fca3b01cf8d5725732f178eee985083478adb4a62f5", "Check member status to load readiness.": "6f7f338e22e626b134643fbaec898cf8e8efd19b85eeb6193b4ca0d5d63c4528", "Check needed": "561a32f0c83e5a4fe8d77d891bd4b954d514ea021b4a18e68a3607f5d8747841", + "Check output": "250d2e9675d6d399c668a5e496d0caf2913e14b5ea21036fa8ee2dad94ad4d46", "Check passed": "2f6697a2389d7a3c059e7c0435569b37c78275d752bdf9b9e1c5d94f3d0eeeaf", "Check preset": "85e9cc57cbd02e87de7d5213d2627e64f0ae2e3211dd62045b7c2e3dc2bcd45c", "Check provider": "655b6b054c32b6850e6bc245f79b03cb2513ab227e96e7e4a6fb3269daf60119", @@ -4645,6 +4648,7 @@ "Participant label": "ac9acb52867f8141cbc1741f20bbd2766f819aa569c1191dcac3855ba53b59fc", "Participants": "0e27279b3302db0448a2acf5d923ffb09b75270c2e957bfb93f54815d2146aa4", "Pass": "ebdf8cc00bc4d9ceee633c56c63b49955769a92ca060825c9b08e4af61326e2b", + "Passed": "436fe71bb9561f0596161c4d50c7b23327b4189acaf63dc89f4f9205b67a7528", "Password": "e7cf3ef4f17c3999a94f2c6f612e8a888e5b1026878e4e19398b23bd38ec221a", "Paste a Ling memory Markdown export": "3efbebfd30ffeb6bfba59beb91961665a830db73fea934f7fed5394666a7c901", "Paste an API key in Model Workbench, then Save.": "07d4307d7f787295b9cfe97f60114a53060c0f9319a38a5c935fb3f76aceb2cc", @@ -5250,6 +5254,7 @@ "Refresh the library to load Ling built-in skills.": "c1c70580c6d18d99477517ed4d8e7b1b2d7ce26b1c7e932cb3260eeef43008c2", "Refresh to load member readiness.": "b7018c54ba477bad3f292cefce02f582783c67f459e84182d3fe06e53cfe3236", "Refresh to load the selected channel's workflow and credential state.": "290fe59158244da3b9914566b3df31b8f15d3a66fd3ffd9661da282028522f59", + "Refresh verification": "c444d5a4e36d9ec9e448c2eb179a6ef45d3594cd02c264f699a83a04bb51749f", "Refresh work summary": "ccd4dcacf0460eb1ca7749ead055fbffcd395e4f8a0c0f9292d390394b80a78e", "Refresh workflow templates": "1d5c58c6bb31f588e7992a8fe14fc3bb3ad2f52396c0302dd980d4dfdaf1acaa", "Refresh workspace": "306960dcad4c285f46eb5bffbb815be8ebe98657bfed1a901e44b68c7c9f417d", @@ -6477,6 +6482,7 @@ "Stop scheduler": "da6153337089386cf80b918ffbd2f2a43a8876a76da3ca671200898a73695940", "Stop the current reply or queue new guidance.": "ef65bd0c8e0943cd194a61f0b0714870faf9081eeebdccb2967aabf880477457", "Stop using": "ef22ba68c9e447df816d52baba2d198b9d230a7b92291b0e683c38dd39fd94d7", + "Stop verification": "4d90de345e4b79787a78322b9da1ef2fd9c70098caae9af1208c37adc972ec73", "Stopped": "1a4f630ac1b69fd00728fa8a672ded71d0eae8516cb23e78f94529113399b79b", "Stopped {title}": "a2bb8d21f8b1fc6f69326965aabb4596bb14403cfc02644e3da7c3d99bda4a7f", "Stopped at {step}: {status}.": "a911b75c20e85b6fc45f8d484a34b9f7b844947fd5de54f289305ebd339951b7", @@ -7186,6 +7192,7 @@ "Unknown provider": "59080be0f444945a37e28b48166f9ddeb710cda7f656bb3827a684fffbcf4524", "Unknown size": "fffbd4ecf2ad3884acfc08d4fe61477737434672c0307bb3c08d2e876c0fd704", "Unknown source": "cbc86fd9d9357166a3076a90fd8957b816b3a516b79dc76d84e066daf984f83f", + "Unknown status": "15eebb6f74cc8a5a2a3eb6897533ded3d7c3e52b32cf617087a4793fef134ba0", "Unknown teammate": "491ea2ec8a112ef7fe0bc1368d78168f5a9208e5f9ca8587f8dd5ce1c1c5ef1f", "unknown_outcome": "164557364fc9e34fcc5fa0329a356a7d7042c4797b82a38cf0954e95185ad11d", "unknown_provider_capability": "f7ac373b31c9f98e1b1017117bf429d8b16a92030073b5b5eb5c30de06cdec8b", @@ -7360,12 +7367,15 @@ "Vector dimensions": "9d95d3f89905adeb9db91dc8afa0187d3e97858b2ec6e5ce78c0312ce1e99254", "Vector retrieval": "48180b50b6fc222ac72ac2cb38ac7d89c9b1cccd51392b6eae57b46a8ec6cd44", "Verdict": "4a36f89dafb0a1014671aaf16e3a380a999a33836e4c3a31fe5594a7da034da5", + "Verification": "7140f4f19dec525960aabacb5741a125876c7d85f8cfa9c899cc8880651ddf61", "verified": "1c34f88707b55e6104c4eb20e71ffa3d33e414b71ef689a15fad0640d0ac58cb", "Verified": "4f7838402f37674e8ebedb6cf048c0aea66bacdb25607aa3eee4b53093d83f5c", "Verified by execution": "1c4dd61aa39a909b81e11acea882bee4dec628b47763cc4dccca63dbc5f885bb", "Verified catalog": "8f408d980918dbb3a719ced82bf7e18c80a41382f2e3d444528defc5fa24623a", "Verifies behavior, regression scenarios, and user-facing workflows.": "b0845a7154f2567bfbe99c9649c79df3019b654217110f0d1b94f477dd91c78d", + "Verify": "eea2745e2867a6772adc3e813211e6ce7b6ebd312d7e84a7c1b1aa2f8c75fd4b", "Verify before use": "687f00a3911b398fd3e9df5675ecd82fba1fd114e17e2f868f4b04914679db33", + "Verify current changes": "547006b60c4136a531a18526bb7822b118268902f4f457bff86ab03e2a5e7e3f", "Verify the key, account access, balance, and model permission for this provider.": "5ba03b132333df8c1d7b130335bfa5a4034517c93f2a8725019d0d0eec7eb401", "Verifying": "a7d4a9f301edaa61ef561aaba1847d2729a900ea00bbf358953f99d99d913666", "Verifying integration candidate": "05a26deacc8035b95bfce5888134aaa287046d2727ef374e1ae39b07a59daadc", @@ -8790,9 +8800,11 @@ "cancelling": "Отмена", "Cancelling": "Отмена", "Candidate approved for draft": "Кандидат одобрен к призыву", + "Candidate changed since verification": "Кандидат изменился после проверки", "Candidate cluster is not bound to a channel.": "Кластер-кандидат не привязан к каналу.", "Candidate Clusters": "Кластеры кандидатов", "Candidate commit: {commit}": "Кандидатская фиксация: {commit}", + "Candidate comparison unavailable": "Сравнение кандидатов недоступно", "Candidate details": "Подробности о кандидате", "Candidate generation": "Поколение кандидатов", "Candidate generation and recording": "Генерация и регистрация кандидатов", @@ -8966,6 +8978,7 @@ "Check member status": "Проверить статус участника", "Check member status to load readiness.": "Проверьте статус участника, чтобы загрузить готовность.", "Check needed": "Требуется проверка", + "Check output": "Проверьте вывод", "Check passed": "Проверка пройдена", "Check preset": "Проверить предустановку", "Check provider": "Проверить провайдера", @@ -12354,6 +12367,7 @@ "Participant label": "Ярлык участника", "Participants": "Участники", "Pass": "Проходить", + "Passed": "Прошедший", "Password": "Пароль", "Paste a Ling memory Markdown export": "Вставьте экспорт Markdown памяти Ling.", "Paste an API key in Model Workbench, then Save.": "Вставьте ключ API в Model Workbench, затем сохраните.", @@ -12959,6 +12973,7 @@ "Refresh the library to load Ling built-in skills.": "Обновите библиотеку, чтобы загрузить встроенные навыки Ling.", "Refresh to load member readiness.": "Обновите, чтобы загрузить готовность участников.", "Refresh to load the selected channel's workflow and credential state.": "Обновите, чтобы загрузить рабочий процесс и состояние учетных данных выбранного канала.", + "Refresh verification": "Обновить проверку", "Refresh work summary": "Refresh work summary", "Refresh workflow templates": "Refresh workflow templates", "Refresh workspace": "Обновить рабочую область", @@ -14186,6 +14201,7 @@ "Stop scheduler": "Остановить планировщик", "Stop the current reply or queue new guidance.": "Остановите текущий ответ или поставьте в очередь новые рекомендации.", "Stop using": "Прекратить использование", + "Stop verification": "Остановить проверку", "Stopped": "Остановлено", "Stopped {title}": "Остановлено {title}", "Stopped at {step}: {status}.": "Остановился в {step}: {status}.", @@ -14895,6 +14911,7 @@ "Unknown provider": "Неизвестный провайдер", "Unknown size": "Неизвестный размер", "Unknown source": "Неизвестный источник", + "Unknown status": "Неизвестный статус", "Unknown teammate": "Неизвестный товарищ по команде", "unknown_outcome": "Результат неизвестен", "unknown_provider_capability": "Возможности неизвестного поставщика", @@ -15069,12 +15086,15 @@ "Vector dimensions": "Векторные размеры", "Vector retrieval": "Векторный поиск", "Verdict": "Вердикт", + "Verification": "Проверка", "verified": "проверено", "Verified": "Проверено", "Verified by execution": "Проверено исполнением", "Verified catalog": "Проверенный каталог", "Verifies behavior, regression scenarios, and user-facing workflows.": "Проверяет поведение, сценарии регрессии и рабочие процессы с участием пользователя.", + "Verify": "Проверять", "Verify before use": "Проверьте перед использованием", + "Verify current changes": "Проверьте текущие изменения", "Verify the key, account access, balance, and model permission for this provider.": "Проверьте ключ, доступ к учетной записи, баланс и разрешение модели для этого поставщика.", "Verifying": "Проверка", "Verifying integration candidate": "Проверка кандидата на интеграцию", diff --git a/packages/localization/catalogs/sk-SK.json b/packages/localization/catalogs/sk-SK.json index 81f5438c5..d0fae6d92 100644 --- a/packages/localization/catalogs/sk-SK.json +++ b/packages/localization/catalogs/sk-SK.json @@ -1,6 +1,6 @@ { "locale": "sk-SK", - "sourceRevision": "72f77c6fb25583bb1468e040086563074b7830e025f2fc657144dc0e4aad37c1", + "sourceRevision": "214db76d79f1a5c0fd915c110a2ead6dbb978b58398846e982a0c1ff0cb53108", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -1081,9 +1081,11 @@ "cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Candidate approved for draft": "59a57b9b459b3215e76b651f73f6521bc1bd71fa66bb52e046368a559db6632b", + "Candidate changed since verification": "a2808e03661077a04403dab2204b7ce8d78310c296600bd03c5766a754f216a6", "Candidate cluster is not bound to a channel.": "6066a4e8725d065a7c2b8d2c8974a60c41c0a94124deeabd972f620ddd815786", "Candidate Clusters": "b617f8ce5325fa8984c324816b08d3a26c05dac3c3276bcc4f4ab7196222dbe4", "Candidate commit: {commit}": "09bfd331d31184edc3eb1f8eab93bb1f6bc0cb640c0d1e1b53178e9eca4babbd", + "Candidate comparison unavailable": "f3bcf514a4febc720648d70be4d772e8ed9228ec5e7651edda3c229ddab6b627", "Candidate details": "17394d22b095121d9f0d77ff6d121c01383175fa17242bcd9f04bd61f182b5c9", "Candidate generation": "9d360a71a5d82995775df6401ac1d1f7257a68ad462bab70abb494e14239d3d3", "Candidate generation and recording": "d3af53b1912f971078c187ce9260949e68e49f0c2ea954c216a06fe2baa2acc9", @@ -1257,6 +1259,7 @@ "Check member status": "ff155af014d0b6e94cbf2fca3b01cf8d5725732f178eee985083478adb4a62f5", "Check member status to load readiness.": "6f7f338e22e626b134643fbaec898cf8e8efd19b85eeb6193b4ca0d5d63c4528", "Check needed": "561a32f0c83e5a4fe8d77d891bd4b954d514ea021b4a18e68a3607f5d8747841", + "Check output": "250d2e9675d6d399c668a5e496d0caf2913e14b5ea21036fa8ee2dad94ad4d46", "Check passed": "2f6697a2389d7a3c059e7c0435569b37c78275d752bdf9b9e1c5d94f3d0eeeaf", "Check preset": "85e9cc57cbd02e87de7d5213d2627e64f0ae2e3211dd62045b7c2e3dc2bcd45c", "Check provider": "655b6b054c32b6850e6bc245f79b03cb2513ab227e96e7e4a6fb3269daf60119", @@ -4645,6 +4648,7 @@ "Participant label": "ac9acb52867f8141cbc1741f20bbd2766f819aa569c1191dcac3855ba53b59fc", "Participants": "0e27279b3302db0448a2acf5d923ffb09b75270c2e957bfb93f54815d2146aa4", "Pass": "ebdf8cc00bc4d9ceee633c56c63b49955769a92ca060825c9b08e4af61326e2b", + "Passed": "436fe71bb9561f0596161c4d50c7b23327b4189acaf63dc89f4f9205b67a7528", "Password": "e7cf3ef4f17c3999a94f2c6f612e8a888e5b1026878e4e19398b23bd38ec221a", "Paste a Ling memory Markdown export": "3efbebfd30ffeb6bfba59beb91961665a830db73fea934f7fed5394666a7c901", "Paste an API key in Model Workbench, then Save.": "07d4307d7f787295b9cfe97f60114a53060c0f9319a38a5c935fb3f76aceb2cc", @@ -5250,6 +5254,7 @@ "Refresh the library to load Ling built-in skills.": "c1c70580c6d18d99477517ed4d8e7b1b2d7ce26b1c7e932cb3260eeef43008c2", "Refresh to load member readiness.": "b7018c54ba477bad3f292cefce02f582783c67f459e84182d3fe06e53cfe3236", "Refresh to load the selected channel's workflow and credential state.": "290fe59158244da3b9914566b3df31b8f15d3a66fd3ffd9661da282028522f59", + "Refresh verification": "c444d5a4e36d9ec9e448c2eb179a6ef45d3594cd02c264f699a83a04bb51749f", "Refresh work summary": "ccd4dcacf0460eb1ca7749ead055fbffcd395e4f8a0c0f9292d390394b80a78e", "Refresh workflow templates": "1d5c58c6bb31f588e7992a8fe14fc3bb3ad2f52396c0302dd980d4dfdaf1acaa", "Refresh workspace": "306960dcad4c285f46eb5bffbb815be8ebe98657bfed1a901e44b68c7c9f417d", @@ -6477,6 +6482,7 @@ "Stop scheduler": "da6153337089386cf80b918ffbd2f2a43a8876a76da3ca671200898a73695940", "Stop the current reply or queue new guidance.": "ef65bd0c8e0943cd194a61f0b0714870faf9081eeebdccb2967aabf880477457", "Stop using": "ef22ba68c9e447df816d52baba2d198b9d230a7b92291b0e683c38dd39fd94d7", + "Stop verification": "4d90de345e4b79787a78322b9da1ef2fd9c70098caae9af1208c37adc972ec73", "Stopped": "1a4f630ac1b69fd00728fa8a672ded71d0eae8516cb23e78f94529113399b79b", "Stopped {title}": "a2bb8d21f8b1fc6f69326965aabb4596bb14403cfc02644e3da7c3d99bda4a7f", "Stopped at {step}: {status}.": "a911b75c20e85b6fc45f8d484a34b9f7b844947fd5de54f289305ebd339951b7", @@ -7186,6 +7192,7 @@ "Unknown provider": "59080be0f444945a37e28b48166f9ddeb710cda7f656bb3827a684fffbcf4524", "Unknown size": "fffbd4ecf2ad3884acfc08d4fe61477737434672c0307bb3c08d2e876c0fd704", "Unknown source": "cbc86fd9d9357166a3076a90fd8957b816b3a516b79dc76d84e066daf984f83f", + "Unknown status": "15eebb6f74cc8a5a2a3eb6897533ded3d7c3e52b32cf617087a4793fef134ba0", "Unknown teammate": "491ea2ec8a112ef7fe0bc1368d78168f5a9208e5f9ca8587f8dd5ce1c1c5ef1f", "unknown_outcome": "164557364fc9e34fcc5fa0329a356a7d7042c4797b82a38cf0954e95185ad11d", "unknown_provider_capability": "f7ac373b31c9f98e1b1017117bf429d8b16a92030073b5b5eb5c30de06cdec8b", @@ -7360,12 +7367,15 @@ "Vector dimensions": "9d95d3f89905adeb9db91dc8afa0187d3e97858b2ec6e5ce78c0312ce1e99254", "Vector retrieval": "48180b50b6fc222ac72ac2cb38ac7d89c9b1cccd51392b6eae57b46a8ec6cd44", "Verdict": "4a36f89dafb0a1014671aaf16e3a380a999a33836e4c3a31fe5594a7da034da5", + "Verification": "7140f4f19dec525960aabacb5741a125876c7d85f8cfa9c899cc8880651ddf61", "verified": "1c34f88707b55e6104c4eb20e71ffa3d33e414b71ef689a15fad0640d0ac58cb", "Verified": "4f7838402f37674e8ebedb6cf048c0aea66bacdb25607aa3eee4b53093d83f5c", "Verified by execution": "1c4dd61aa39a909b81e11acea882bee4dec628b47763cc4dccca63dbc5f885bb", "Verified catalog": "8f408d980918dbb3a719ced82bf7e18c80a41382f2e3d444528defc5fa24623a", "Verifies behavior, regression scenarios, and user-facing workflows.": "b0845a7154f2567bfbe99c9649c79df3019b654217110f0d1b94f477dd91c78d", + "Verify": "eea2745e2867a6772adc3e813211e6ce7b6ebd312d7e84a7c1b1aa2f8c75fd4b", "Verify before use": "687f00a3911b398fd3e9df5675ecd82fba1fd114e17e2f868f4b04914679db33", + "Verify current changes": "547006b60c4136a531a18526bb7822b118268902f4f457bff86ab03e2a5e7e3f", "Verify the key, account access, balance, and model permission for this provider.": "5ba03b132333df8c1d7b130335bfa5a4034517c93f2a8725019d0d0eec7eb401", "Verifying": "a7d4a9f301edaa61ef561aaba1847d2729a900ea00bbf358953f99d99d913666", "Verifying integration candidate": "05a26deacc8035b95bfce5888134aaa287046d2727ef374e1ae39b07a59daadc", @@ -8790,9 +8800,11 @@ "cancelling": "Prebieha rušenie", "Cancelling": "Prebieha rušenie", "Candidate approved for draft": "Kandidát schválený na návrh", + "Candidate changed since verification": "Kandidát sa od overenia zmenil", "Candidate cluster is not bound to a channel.": "Klaster kandidátov nie je viazaný na kanál.", "Candidate Clusters": "Kandidátske klastre", "Candidate commit: {commit}": "Záväzok kandidáta: {commit}", + "Candidate comparison unavailable": "Porovnanie kandidátov nie je k dispozícii", "Candidate details": "Podrobnosti o kandidátovi", "Candidate generation": "Generovanie kandidátov", "Candidate generation and recording": "Generovanie a nahrávanie kandidátov", @@ -8966,6 +8978,7 @@ "Check member status": "Skontrolujte stav člena", "Check member status to load readiness.": "Ak chcete načítať pripravenosť, skontrolujte stav člena.", "Check needed": "Potrebná kontrola", + "Check output": "Skontrolujte výstup", "Check passed": "Kontrola prebehla", "Check preset": "Skontrolujte prednastavené", "Check provider": "Skontrolujte poskytovateľa", @@ -12354,6 +12367,7 @@ "Participant label": "Označenie účastníka", "Participants": "Účastníci", "Pass": "Pass", + "Passed": "Prešiel", "Password": "heslo", "Paste a Ling memory Markdown export": "Prilepte export Ling pamäte Markdown", "Paste an API key in Model Workbench, then Save.": "Prilepte kľúč API do Model Workbench a potom Uložiť.", @@ -12959,6 +12973,7 @@ "Refresh the library to load Ling built-in skills.": "Obnovte knižnicu a načítajte Ling vstavané zručnosti.", "Refresh to load member readiness.": "Obnovením načítajte pripravenosť člena.", "Refresh to load the selected channel's workflow and credential state.": "Obnoviť, aby sa načítal pracovný postup a stav poverení zvoleného kanála.", + "Refresh verification": "Obnoviť overenie", "Refresh work summary": "Refresh work summary", "Refresh workflow templates": "Refresh workflow templates", "Refresh workspace": "Obnoviť pracovný priestor", @@ -14186,6 +14201,7 @@ "Stop scheduler": "Zastaviť plánovač", "Stop the current reply or queue new guidance.": "Zastavte aktuálnu odpoveď alebo zaraďte nové pokyny do poradia.", "Stop using": "Prestaňte používať", + "Stop verification": "Zastaviť overovanie", "Stopped": "Zastavené", "Stopped {title}": "Zastavené {title}", "Stopped at {step}: {status}.": "Zastavil sa na {step}: {status}.", @@ -14895,6 +14911,7 @@ "Unknown provider": "Neznámy poskytovateľ", "Unknown size": "Neznáma veľkosť", "Unknown source": "Neznámy zdroj", + "Unknown status": "Neznámy stav", "Unknown teammate": "Neznámy spoluhráč", "unknown_outcome": "Výsledok neznámy", "unknown_provider_capability": "Neznáma schopnosť poskytovateľa", @@ -15069,12 +15086,15 @@ "Vector dimensions": "Vektorové rozmery", "Vector retrieval": "Vektorové vyhľadávanie", "Verdict": "Verdikt", + "Verification": "Overenie", "verified": "overené", "Verified": "Overené", "Verified by execution": "Overené exekúciou", "Verified catalog": "Overený katalóg", "Verifies behavior, regression scenarios, and user-facing workflows.": "Overuje správanie, regresné scenáre a pracovné postupy orientované na používateľa.", + "Verify": "Overiť", "Verify before use": "Pred použitím overte", + "Verify current changes": "Overte aktuálne zmeny", "Verify the key, account access, balance, and model permission for this provider.": "Overte kľúč, prístup k účtu, zostatok a povolenie modelu pre tohto poskytovateľa.", "Verifying": "Overuje sa", "Verifying integration candidate": "Overenie kandidáta na integráciu", diff --git a/packages/localization/catalogs/sl-SI.json b/packages/localization/catalogs/sl-SI.json index acaad3f47..7d902606f 100644 --- a/packages/localization/catalogs/sl-SI.json +++ b/packages/localization/catalogs/sl-SI.json @@ -1,6 +1,6 @@ { "locale": "sl-SI", - "sourceRevision": "72f77c6fb25583bb1468e040086563074b7830e025f2fc657144dc0e4aad37c1", + "sourceRevision": "214db76d79f1a5c0fd915c110a2ead6dbb978b58398846e982a0c1ff0cb53108", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -1081,9 +1081,11 @@ "cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Candidate approved for draft": "59a57b9b459b3215e76b651f73f6521bc1bd71fa66bb52e046368a559db6632b", + "Candidate changed since verification": "a2808e03661077a04403dab2204b7ce8d78310c296600bd03c5766a754f216a6", "Candidate cluster is not bound to a channel.": "6066a4e8725d065a7c2b8d2c8974a60c41c0a94124deeabd972f620ddd815786", "Candidate Clusters": "b617f8ce5325fa8984c324816b08d3a26c05dac3c3276bcc4f4ab7196222dbe4", "Candidate commit: {commit}": "09bfd331d31184edc3eb1f8eab93bb1f6bc0cb640c0d1e1b53178e9eca4babbd", + "Candidate comparison unavailable": "f3bcf514a4febc720648d70be4d772e8ed9228ec5e7651edda3c229ddab6b627", "Candidate details": "17394d22b095121d9f0d77ff6d121c01383175fa17242bcd9f04bd61f182b5c9", "Candidate generation": "9d360a71a5d82995775df6401ac1d1f7257a68ad462bab70abb494e14239d3d3", "Candidate generation and recording": "d3af53b1912f971078c187ce9260949e68e49f0c2ea954c216a06fe2baa2acc9", @@ -1257,6 +1259,7 @@ "Check member status": "ff155af014d0b6e94cbf2fca3b01cf8d5725732f178eee985083478adb4a62f5", "Check member status to load readiness.": "6f7f338e22e626b134643fbaec898cf8e8efd19b85eeb6193b4ca0d5d63c4528", "Check needed": "561a32f0c83e5a4fe8d77d891bd4b954d514ea021b4a18e68a3607f5d8747841", + "Check output": "250d2e9675d6d399c668a5e496d0caf2913e14b5ea21036fa8ee2dad94ad4d46", "Check passed": "2f6697a2389d7a3c059e7c0435569b37c78275d752bdf9b9e1c5d94f3d0eeeaf", "Check preset": "85e9cc57cbd02e87de7d5213d2627e64f0ae2e3211dd62045b7c2e3dc2bcd45c", "Check provider": "655b6b054c32b6850e6bc245f79b03cb2513ab227e96e7e4a6fb3269daf60119", @@ -4645,6 +4648,7 @@ "Participant label": "ac9acb52867f8141cbc1741f20bbd2766f819aa569c1191dcac3855ba53b59fc", "Participants": "0e27279b3302db0448a2acf5d923ffb09b75270c2e957bfb93f54815d2146aa4", "Pass": "ebdf8cc00bc4d9ceee633c56c63b49955769a92ca060825c9b08e4af61326e2b", + "Passed": "436fe71bb9561f0596161c4d50c7b23327b4189acaf63dc89f4f9205b67a7528", "Password": "e7cf3ef4f17c3999a94f2c6f612e8a888e5b1026878e4e19398b23bd38ec221a", "Paste a Ling memory Markdown export": "3efbebfd30ffeb6bfba59beb91961665a830db73fea934f7fed5394666a7c901", "Paste an API key in Model Workbench, then Save.": "07d4307d7f787295b9cfe97f60114a53060c0f9319a38a5c935fb3f76aceb2cc", @@ -5250,6 +5254,7 @@ "Refresh the library to load Ling built-in skills.": "c1c70580c6d18d99477517ed4d8e7b1b2d7ce26b1c7e932cb3260eeef43008c2", "Refresh to load member readiness.": "b7018c54ba477bad3f292cefce02f582783c67f459e84182d3fe06e53cfe3236", "Refresh to load the selected channel's workflow and credential state.": "290fe59158244da3b9914566b3df31b8f15d3a66fd3ffd9661da282028522f59", + "Refresh verification": "c444d5a4e36d9ec9e448c2eb179a6ef45d3594cd02c264f699a83a04bb51749f", "Refresh work summary": "ccd4dcacf0460eb1ca7749ead055fbffcd395e4f8a0c0f9292d390394b80a78e", "Refresh workflow templates": "1d5c58c6bb31f588e7992a8fe14fc3bb3ad2f52396c0302dd980d4dfdaf1acaa", "Refresh workspace": "306960dcad4c285f46eb5bffbb815be8ebe98657bfed1a901e44b68c7c9f417d", @@ -6477,6 +6482,7 @@ "Stop scheduler": "da6153337089386cf80b918ffbd2f2a43a8876a76da3ca671200898a73695940", "Stop the current reply or queue new guidance.": "ef65bd0c8e0943cd194a61f0b0714870faf9081eeebdccb2967aabf880477457", "Stop using": "ef22ba68c9e447df816d52baba2d198b9d230a7b92291b0e683c38dd39fd94d7", + "Stop verification": "4d90de345e4b79787a78322b9da1ef2fd9c70098caae9af1208c37adc972ec73", "Stopped": "1a4f630ac1b69fd00728fa8a672ded71d0eae8516cb23e78f94529113399b79b", "Stopped {title}": "a2bb8d21f8b1fc6f69326965aabb4596bb14403cfc02644e3da7c3d99bda4a7f", "Stopped at {step}: {status}.": "a911b75c20e85b6fc45f8d484a34b9f7b844947fd5de54f289305ebd339951b7", @@ -7186,6 +7192,7 @@ "Unknown provider": "59080be0f444945a37e28b48166f9ddeb710cda7f656bb3827a684fffbcf4524", "Unknown size": "fffbd4ecf2ad3884acfc08d4fe61477737434672c0307bb3c08d2e876c0fd704", "Unknown source": "cbc86fd9d9357166a3076a90fd8957b816b3a516b79dc76d84e066daf984f83f", + "Unknown status": "15eebb6f74cc8a5a2a3eb6897533ded3d7c3e52b32cf617087a4793fef134ba0", "Unknown teammate": "491ea2ec8a112ef7fe0bc1368d78168f5a9208e5f9ca8587f8dd5ce1c1c5ef1f", "unknown_outcome": "164557364fc9e34fcc5fa0329a356a7d7042c4797b82a38cf0954e95185ad11d", "unknown_provider_capability": "f7ac373b31c9f98e1b1017117bf429d8b16a92030073b5b5eb5c30de06cdec8b", @@ -7360,12 +7367,15 @@ "Vector dimensions": "9d95d3f89905adeb9db91dc8afa0187d3e97858b2ec6e5ce78c0312ce1e99254", "Vector retrieval": "48180b50b6fc222ac72ac2cb38ac7d89c9b1cccd51392b6eae57b46a8ec6cd44", "Verdict": "4a36f89dafb0a1014671aaf16e3a380a999a33836e4c3a31fe5594a7da034da5", + "Verification": "7140f4f19dec525960aabacb5741a125876c7d85f8cfa9c899cc8880651ddf61", "verified": "1c34f88707b55e6104c4eb20e71ffa3d33e414b71ef689a15fad0640d0ac58cb", "Verified": "4f7838402f37674e8ebedb6cf048c0aea66bacdb25607aa3eee4b53093d83f5c", "Verified by execution": "1c4dd61aa39a909b81e11acea882bee4dec628b47763cc4dccca63dbc5f885bb", "Verified catalog": "8f408d980918dbb3a719ced82bf7e18c80a41382f2e3d444528defc5fa24623a", "Verifies behavior, regression scenarios, and user-facing workflows.": "b0845a7154f2567bfbe99c9649c79df3019b654217110f0d1b94f477dd91c78d", + "Verify": "eea2745e2867a6772adc3e813211e6ce7b6ebd312d7e84a7c1b1aa2f8c75fd4b", "Verify before use": "687f00a3911b398fd3e9df5675ecd82fba1fd114e17e2f868f4b04914679db33", + "Verify current changes": "547006b60c4136a531a18526bb7822b118268902f4f457bff86ab03e2a5e7e3f", "Verify the key, account access, balance, and model permission for this provider.": "5ba03b132333df8c1d7b130335bfa5a4034517c93f2a8725019d0d0eec7eb401", "Verifying": "a7d4a9f301edaa61ef561aaba1847d2729a900ea00bbf358953f99d99d913666", "Verifying integration candidate": "05a26deacc8035b95bfce5888134aaa287046d2727ef374e1ae39b07a59daadc", @@ -8790,9 +8800,11 @@ "cancelling": "Preklic", "Cancelling": "Preklic", "Candidate approved for draft": "Kandidat odobren za osnutek", + "Candidate changed since verification": "Kandidat se je od preverjanja spremenil", "Candidate cluster is not bound to a channel.": "Grozd kandidatov ni vezan na kanal.", "Candidate Clusters": "Grozdi kandidatov", "Candidate commit: {commit}": "Zaveza kandidata: {commit}", + "Candidate comparison unavailable": "Primerjava kandidatov ni na voljo", "Candidate details": "Podatki o kandidatu", "Candidate generation": "Generacija kandidatov", "Candidate generation and recording": "Generiranje in evidentiranje kandidatov", @@ -8966,6 +8978,7 @@ "Check member status": "Preverite status člana", "Check member status to load readiness.": "Preverite status člana, da naložite pripravljenost.", "Check needed": "Potreben je pregled", + "Check output": "Preverite izpis", "Check passed": "Preverjanje uspešno", "Check preset": "Preverite prednastavitev", "Check provider": "Preverite ponudnika", @@ -12354,6 +12367,7 @@ "Participant label": "Oznaka udeleženca", "Participants": "Udeleženci", "Pass": "Pass", + "Passed": "opravljeno", "Password": "Geslo", "Paste a Ling memory Markdown export": "Prilepite izvoz Ling memory Markdown", "Paste an API key in Model Workbench, then Save.": "Prilepite ključ API v Model Workbench in nato Shranite.", @@ -12959,6 +12973,7 @@ "Refresh the library to load Ling built-in skills.": "Osvežite knjižnico, da naložite Ling vgrajenih veščin.", "Refresh to load member readiness.": "Osvežite, da naložite pripravljenost člana.", "Refresh to load the selected channel's workflow and credential state.": "Osvežite, da naložite potek dela izbranega kanala in stanje poverilnice.", + "Refresh verification": "Osveži preverjanje", "Refresh work summary": "Refresh work summary", "Refresh workflow templates": "Refresh workflow templates", "Refresh workspace": "Osveži delovni prostor", @@ -14186,6 +14201,7 @@ "Stop scheduler": "Ustavi razporejevalnik", "Stop the current reply or queue new guidance.": "Ustavite trenutni odgovor ali postavite nova navodila v čakalno vrsto.", "Stop using": "Nehajte uporabljati", + "Stop verification": "Ustavi preverjanje", "Stopped": "ustavil", "Stopped {title}": "Ustavljeno {title}", "Stopped at {step}: {status}.": "Ustavljeno ob {step}: {status}.", @@ -14895,6 +14911,7 @@ "Unknown provider": "Neznan ponudnik", "Unknown size": "Neznana velikost", "Unknown source": "Neznan vir", + "Unknown status": "Neznano stanje", "Unknown teammate": "Neznani soigralec", "unknown_outcome": "Izid neznan", "unknown_provider_capability": "Zmogljivost neznanega ponudnika", @@ -15069,12 +15086,15 @@ "Vector dimensions": "Vektorske dimenzije", "Vector retrieval": "Vektorsko iskanje", "Verdict": "Razsodba", + "Verification": "Preverjanje", "verified": "preverjeno", "Verified": "Preverjeno", "Verified by execution": "Preverjeno z izvršitvijo", "Verified catalog": "Preverjen katalog", "Verifies behavior, regression scenarios, and user-facing workflows.": "Preverja vedenje, scenarije regresije in poteke dela, usmerjene v uporabnika.", + "Verify": "Preveri", "Verify before use": "Pred uporabo preverite", + "Verify current changes": "Preverite trenutne spremembe", "Verify the key, account access, balance, and model permission for this provider.": "Preverite ključ, dostop do računa, stanje in dovoljenje modela za tega ponudnika.", "Verifying": "Preverjanje", "Verifying integration candidate": "Preverjanje kandidata za integracijo", diff --git a/packages/localization/catalogs/so-SO.json b/packages/localization/catalogs/so-SO.json index bb8bcb37e..4cf461169 100644 --- a/packages/localization/catalogs/so-SO.json +++ b/packages/localization/catalogs/so-SO.json @@ -1,6 +1,6 @@ { "locale": "so-SO", - "sourceRevision": "72f77c6fb25583bb1468e040086563074b7830e025f2fc657144dc0e4aad37c1", + "sourceRevision": "214db76d79f1a5c0fd915c110a2ead6dbb978b58398846e982a0c1ff0cb53108", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -1081,9 +1081,11 @@ "cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Candidate approved for draft": "59a57b9b459b3215e76b651f73f6521bc1bd71fa66bb52e046368a559db6632b", + "Candidate changed since verification": "a2808e03661077a04403dab2204b7ce8d78310c296600bd03c5766a754f216a6", "Candidate cluster is not bound to a channel.": "6066a4e8725d065a7c2b8d2c8974a60c41c0a94124deeabd972f620ddd815786", "Candidate Clusters": "b617f8ce5325fa8984c324816b08d3a26c05dac3c3276bcc4f4ab7196222dbe4", "Candidate commit: {commit}": "09bfd331d31184edc3eb1f8eab93bb1f6bc0cb640c0d1e1b53178e9eca4babbd", + "Candidate comparison unavailable": "f3bcf514a4febc720648d70be4d772e8ed9228ec5e7651edda3c229ddab6b627", "Candidate details": "17394d22b095121d9f0d77ff6d121c01383175fa17242bcd9f04bd61f182b5c9", "Candidate generation": "9d360a71a5d82995775df6401ac1d1f7257a68ad462bab70abb494e14239d3d3", "Candidate generation and recording": "d3af53b1912f971078c187ce9260949e68e49f0c2ea954c216a06fe2baa2acc9", @@ -1257,6 +1259,7 @@ "Check member status": "ff155af014d0b6e94cbf2fca3b01cf8d5725732f178eee985083478adb4a62f5", "Check member status to load readiness.": "6f7f338e22e626b134643fbaec898cf8e8efd19b85eeb6193b4ca0d5d63c4528", "Check needed": "561a32f0c83e5a4fe8d77d891bd4b954d514ea021b4a18e68a3607f5d8747841", + "Check output": "250d2e9675d6d399c668a5e496d0caf2913e14b5ea21036fa8ee2dad94ad4d46", "Check passed": "2f6697a2389d7a3c059e7c0435569b37c78275d752bdf9b9e1c5d94f3d0eeeaf", "Check preset": "85e9cc57cbd02e87de7d5213d2627e64f0ae2e3211dd62045b7c2e3dc2bcd45c", "Check provider": "655b6b054c32b6850e6bc245f79b03cb2513ab227e96e7e4a6fb3269daf60119", @@ -4645,6 +4648,7 @@ "Participant label": "ac9acb52867f8141cbc1741f20bbd2766f819aa569c1191dcac3855ba53b59fc", "Participants": "0e27279b3302db0448a2acf5d923ffb09b75270c2e957bfb93f54815d2146aa4", "Pass": "ebdf8cc00bc4d9ceee633c56c63b49955769a92ca060825c9b08e4af61326e2b", + "Passed": "436fe71bb9561f0596161c4d50c7b23327b4189acaf63dc89f4f9205b67a7528", "Password": "e7cf3ef4f17c3999a94f2c6f612e8a888e5b1026878e4e19398b23bd38ec221a", "Paste a Ling memory Markdown export": "3efbebfd30ffeb6bfba59beb91961665a830db73fea934f7fed5394666a7c901", "Paste an API key in Model Workbench, then Save.": "07d4307d7f787295b9cfe97f60114a53060c0f9319a38a5c935fb3f76aceb2cc", @@ -5250,6 +5254,7 @@ "Refresh the library to load Ling built-in skills.": "c1c70580c6d18d99477517ed4d8e7b1b2d7ce26b1c7e932cb3260eeef43008c2", "Refresh to load member readiness.": "b7018c54ba477bad3f292cefce02f582783c67f459e84182d3fe06e53cfe3236", "Refresh to load the selected channel's workflow and credential state.": "290fe59158244da3b9914566b3df31b8f15d3a66fd3ffd9661da282028522f59", + "Refresh verification": "c444d5a4e36d9ec9e448c2eb179a6ef45d3594cd02c264f699a83a04bb51749f", "Refresh work summary": "ccd4dcacf0460eb1ca7749ead055fbffcd395e4f8a0c0f9292d390394b80a78e", "Refresh workflow templates": "1d5c58c6bb31f588e7992a8fe14fc3bb3ad2f52396c0302dd980d4dfdaf1acaa", "Refresh workspace": "306960dcad4c285f46eb5bffbb815be8ebe98657bfed1a901e44b68c7c9f417d", @@ -6477,6 +6482,7 @@ "Stop scheduler": "da6153337089386cf80b918ffbd2f2a43a8876a76da3ca671200898a73695940", "Stop the current reply or queue new guidance.": "ef65bd0c8e0943cd194a61f0b0714870faf9081eeebdccb2967aabf880477457", "Stop using": "ef22ba68c9e447df816d52baba2d198b9d230a7b92291b0e683c38dd39fd94d7", + "Stop verification": "4d90de345e4b79787a78322b9da1ef2fd9c70098caae9af1208c37adc972ec73", "Stopped": "1a4f630ac1b69fd00728fa8a672ded71d0eae8516cb23e78f94529113399b79b", "Stopped {title}": "a2bb8d21f8b1fc6f69326965aabb4596bb14403cfc02644e3da7c3d99bda4a7f", "Stopped at {step}: {status}.": "a911b75c20e85b6fc45f8d484a34b9f7b844947fd5de54f289305ebd339951b7", @@ -7186,6 +7192,7 @@ "Unknown provider": "59080be0f444945a37e28b48166f9ddeb710cda7f656bb3827a684fffbcf4524", "Unknown size": "fffbd4ecf2ad3884acfc08d4fe61477737434672c0307bb3c08d2e876c0fd704", "Unknown source": "cbc86fd9d9357166a3076a90fd8957b816b3a516b79dc76d84e066daf984f83f", + "Unknown status": "15eebb6f74cc8a5a2a3eb6897533ded3d7c3e52b32cf617087a4793fef134ba0", "Unknown teammate": "491ea2ec8a112ef7fe0bc1368d78168f5a9208e5f9ca8587f8dd5ce1c1c5ef1f", "unknown_outcome": "164557364fc9e34fcc5fa0329a356a7d7042c4797b82a38cf0954e95185ad11d", "unknown_provider_capability": "f7ac373b31c9f98e1b1017117bf429d8b16a92030073b5b5eb5c30de06cdec8b", @@ -7360,12 +7367,15 @@ "Vector dimensions": "9d95d3f89905adeb9db91dc8afa0187d3e97858b2ec6e5ce78c0312ce1e99254", "Vector retrieval": "48180b50b6fc222ac72ac2cb38ac7d89c9b1cccd51392b6eae57b46a8ec6cd44", "Verdict": "4a36f89dafb0a1014671aaf16e3a380a999a33836e4c3a31fe5594a7da034da5", + "Verification": "7140f4f19dec525960aabacb5741a125876c7d85f8cfa9c899cc8880651ddf61", "verified": "1c34f88707b55e6104c4eb20e71ffa3d33e414b71ef689a15fad0640d0ac58cb", "Verified": "4f7838402f37674e8ebedb6cf048c0aea66bacdb25607aa3eee4b53093d83f5c", "Verified by execution": "1c4dd61aa39a909b81e11acea882bee4dec628b47763cc4dccca63dbc5f885bb", "Verified catalog": "8f408d980918dbb3a719ced82bf7e18c80a41382f2e3d444528defc5fa24623a", "Verifies behavior, regression scenarios, and user-facing workflows.": "b0845a7154f2567bfbe99c9649c79df3019b654217110f0d1b94f477dd91c78d", + "Verify": "eea2745e2867a6772adc3e813211e6ce7b6ebd312d7e84a7c1b1aa2f8c75fd4b", "Verify before use": "687f00a3911b398fd3e9df5675ecd82fba1fd114e17e2f868f4b04914679db33", + "Verify current changes": "547006b60c4136a531a18526bb7822b118268902f4f457bff86ab03e2a5e7e3f", "Verify the key, account access, balance, and model permission for this provider.": "5ba03b132333df8c1d7b130335bfa5a4034517c93f2a8725019d0d0eec7eb401", "Verifying": "a7d4a9f301edaa61ef561aaba1847d2729a900ea00bbf358953f99d99d913666", "Verifying integration candidate": "05a26deacc8035b95bfce5888134aaa287046d2727ef374e1ae39b07a59daadc", @@ -8790,9 +8800,11 @@ "cancelling": "baajinta", "Cancelling": "baajinta", "Candidate approved for draft": "Musharaxa loo ansixiyay qabyo", + "Candidate changed since verification": "Musharaxa ayaa isbedelay tan iyo markii la xaqiijiyay", "Candidate cluster is not bound to a channel.": "Kutlada murashaxiintu kuma xidhna kanaalka", "Candidate Clusters": "Kutlada Musharaxiinta", "Candidate commit: {commit}": "Musharaxa ballan qaaday: {commit}", + "Candidate comparison unavailable": "Isbarbardhigga musharaxa lama heli karo", "Candidate details": "Faahfaahinta musharaxa", "Candidate generation": "Jiilka musharaxiinta", "Candidate generation and recording": "Jiilka musharaxiinta iyo duubista", @@ -8966,6 +8978,7 @@ "Check member status": "Hubi heerka xubinta", "Check member status to load readiness.": "Hubi heerka xubinta si aad ugu shubto diyaargarowga", "Check needed": "Hubi loo baahan yahay", + "Check output": "Hubi wax soo saarka", "Check passed": "Hubi way gudubtay", "Check preset": "Hubi sida loo dhigay", "Check provider": "Hubi bixiyaha", @@ -12354,6 +12367,7 @@ "Participant label": "Calaamadda ka qaybqaataha", "Participants": "Ka qaybgalayaasha", "Pass": "Gudub", + "Passed": "Gudubtay", "Password": "Furaha", "Paste a Ling memory Markdown export": "Ku dheji Ling xusuusta dhoofinta Markdown", "Paste an API key in Model Workbench, then Save.": "Ku dheji furaha API Model Workbench, ka dibna Keydi.", @@ -12959,6 +12973,7 @@ "Refresh the library to load Ling built-in skills.": "Dib u cusboonaysii maktabadda si aad ugu shubto Ling xirfadaha la dhisay.", "Refresh to load member readiness.": "Cusbooneysii si aad u rareyso diyaargarowga xubinta.", "Refresh to load the selected channel's workflow and credential state.": "Dib u cusboonaysii si aad ugu shubto socodka shaqada kanaalka la doortay iyo xaalada aqoonsiga", + "Refresh verification": "Dib u cusboonaysii xaqiijinta", "Refresh work summary": "Refresh work summary", "Refresh workflow templates": "Refresh workflow templates", "Refresh workspace": "Dib u cusboonaysii goobta shaqada", @@ -14186,6 +14201,7 @@ "Stop scheduler": "Jooji jadwalka", "Stop the current reply or queue new guidance.": "Jooji jawaabta hadda ama saf tilmaanta cusub.", "Stop using": "Jooji isticmaalka", + "Stop verification": "Jooji xaqiijinta", "Stopped": "Joogsaday", "Stopped {title}": "La joojiyay {title}", "Stopped at {step}: {status}.": "Joogsaday {step}: {status}.", @@ -14895,6 +14911,7 @@ "Unknown provider": "Bixiye aan la aqoon", "Unknown size": "Cabirka aan la garanayn", "Unknown source": "Isha aan la garanayn", + "Unknown status": "Xaalad aan la garanayn", "Unknown teammate": "Saaxiib aan la aqoon", "unknown_outcome": "Natiijada aan la garanayn", "unknown_provider_capability": "Awood bixiye aan la garanayn", @@ -15069,12 +15086,15 @@ "Vector dimensions": "cabbirrada Vector", "Vector retrieval": "Dib-u-soo-celinta Vector", "Verdict": "Xukun", + "Verification": "Xaqiijinta", "verified": "la xaqiijiyay", "Verified": "La xaqiijiyay", "Verified by execution": "Lagu xaqiijiyay dil", "Verified catalog": "Buugta la xaqiijiyay", "Verifies behavior, regression scenarios, and user-facing workflows.": "Wuxuu xaqiijiyaa hab-dhaqanka, xaaladaha dib-u-celinta, iyo socodka shaqada ee soojeedka isticmaalaha.", + "Verify": "Xaqiiji", "Verify before use": "Xaqiiji isticmaalka ka hor", + "Verify current changes": "Xaqiiji isbeddellada hadda", "Verify the key, account access, balance, and model permission for this provider.": "Xaqiiji furaha, gelitaanka akoontiga, hadhaaga, iyo moodelka ogolaanshaha adeeg bixiyahan.", "Verifying": "Xaqiijinta", "Verifying integration candidate": "Xaqiijinta musharaxa isdhexgalka", diff --git a/packages/localization/catalogs/sq-AL.json b/packages/localization/catalogs/sq-AL.json index 1abc05f45..05739cd69 100644 --- a/packages/localization/catalogs/sq-AL.json +++ b/packages/localization/catalogs/sq-AL.json @@ -1,6 +1,6 @@ { "locale": "sq-AL", - "sourceRevision": "72f77c6fb25583bb1468e040086563074b7830e025f2fc657144dc0e4aad37c1", + "sourceRevision": "214db76d79f1a5c0fd915c110a2ead6dbb978b58398846e982a0c1ff0cb53108", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -1081,9 +1081,11 @@ "cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Candidate approved for draft": "59a57b9b459b3215e76b651f73f6521bc1bd71fa66bb52e046368a559db6632b", + "Candidate changed since verification": "a2808e03661077a04403dab2204b7ce8d78310c296600bd03c5766a754f216a6", "Candidate cluster is not bound to a channel.": "6066a4e8725d065a7c2b8d2c8974a60c41c0a94124deeabd972f620ddd815786", "Candidate Clusters": "b617f8ce5325fa8984c324816b08d3a26c05dac3c3276bcc4f4ab7196222dbe4", "Candidate commit: {commit}": "09bfd331d31184edc3eb1f8eab93bb1f6bc0cb640c0d1e1b53178e9eca4babbd", + "Candidate comparison unavailable": "f3bcf514a4febc720648d70be4d772e8ed9228ec5e7651edda3c229ddab6b627", "Candidate details": "17394d22b095121d9f0d77ff6d121c01383175fa17242bcd9f04bd61f182b5c9", "Candidate generation": "9d360a71a5d82995775df6401ac1d1f7257a68ad462bab70abb494e14239d3d3", "Candidate generation and recording": "d3af53b1912f971078c187ce9260949e68e49f0c2ea954c216a06fe2baa2acc9", @@ -1257,6 +1259,7 @@ "Check member status": "ff155af014d0b6e94cbf2fca3b01cf8d5725732f178eee985083478adb4a62f5", "Check member status to load readiness.": "6f7f338e22e626b134643fbaec898cf8e8efd19b85eeb6193b4ca0d5d63c4528", "Check needed": "561a32f0c83e5a4fe8d77d891bd4b954d514ea021b4a18e68a3607f5d8747841", + "Check output": "250d2e9675d6d399c668a5e496d0caf2913e14b5ea21036fa8ee2dad94ad4d46", "Check passed": "2f6697a2389d7a3c059e7c0435569b37c78275d752bdf9b9e1c5d94f3d0eeeaf", "Check preset": "85e9cc57cbd02e87de7d5213d2627e64f0ae2e3211dd62045b7c2e3dc2bcd45c", "Check provider": "655b6b054c32b6850e6bc245f79b03cb2513ab227e96e7e4a6fb3269daf60119", @@ -4645,6 +4648,7 @@ "Participant label": "ac9acb52867f8141cbc1741f20bbd2766f819aa569c1191dcac3855ba53b59fc", "Participants": "0e27279b3302db0448a2acf5d923ffb09b75270c2e957bfb93f54815d2146aa4", "Pass": "ebdf8cc00bc4d9ceee633c56c63b49955769a92ca060825c9b08e4af61326e2b", + "Passed": "436fe71bb9561f0596161c4d50c7b23327b4189acaf63dc89f4f9205b67a7528", "Password": "e7cf3ef4f17c3999a94f2c6f612e8a888e5b1026878e4e19398b23bd38ec221a", "Paste a Ling memory Markdown export": "3efbebfd30ffeb6bfba59beb91961665a830db73fea934f7fed5394666a7c901", "Paste an API key in Model Workbench, then Save.": "07d4307d7f787295b9cfe97f60114a53060c0f9319a38a5c935fb3f76aceb2cc", @@ -5250,6 +5254,7 @@ "Refresh the library to load Ling built-in skills.": "c1c70580c6d18d99477517ed4d8e7b1b2d7ce26b1c7e932cb3260eeef43008c2", "Refresh to load member readiness.": "b7018c54ba477bad3f292cefce02f582783c67f459e84182d3fe06e53cfe3236", "Refresh to load the selected channel's workflow and credential state.": "290fe59158244da3b9914566b3df31b8f15d3a66fd3ffd9661da282028522f59", + "Refresh verification": "c444d5a4e36d9ec9e448c2eb179a6ef45d3594cd02c264f699a83a04bb51749f", "Refresh work summary": "ccd4dcacf0460eb1ca7749ead055fbffcd395e4f8a0c0f9292d390394b80a78e", "Refresh workflow templates": "1d5c58c6bb31f588e7992a8fe14fc3bb3ad2f52396c0302dd980d4dfdaf1acaa", "Refresh workspace": "306960dcad4c285f46eb5bffbb815be8ebe98657bfed1a901e44b68c7c9f417d", @@ -6477,6 +6482,7 @@ "Stop scheduler": "da6153337089386cf80b918ffbd2f2a43a8876a76da3ca671200898a73695940", "Stop the current reply or queue new guidance.": "ef65bd0c8e0943cd194a61f0b0714870faf9081eeebdccb2967aabf880477457", "Stop using": "ef22ba68c9e447df816d52baba2d198b9d230a7b92291b0e683c38dd39fd94d7", + "Stop verification": "4d90de345e4b79787a78322b9da1ef2fd9c70098caae9af1208c37adc972ec73", "Stopped": "1a4f630ac1b69fd00728fa8a672ded71d0eae8516cb23e78f94529113399b79b", "Stopped {title}": "a2bb8d21f8b1fc6f69326965aabb4596bb14403cfc02644e3da7c3d99bda4a7f", "Stopped at {step}: {status}.": "a911b75c20e85b6fc45f8d484a34b9f7b844947fd5de54f289305ebd339951b7", @@ -7186,6 +7192,7 @@ "Unknown provider": "59080be0f444945a37e28b48166f9ddeb710cda7f656bb3827a684fffbcf4524", "Unknown size": "fffbd4ecf2ad3884acfc08d4fe61477737434672c0307bb3c08d2e876c0fd704", "Unknown source": "cbc86fd9d9357166a3076a90fd8957b816b3a516b79dc76d84e066daf984f83f", + "Unknown status": "15eebb6f74cc8a5a2a3eb6897533ded3d7c3e52b32cf617087a4793fef134ba0", "Unknown teammate": "491ea2ec8a112ef7fe0bc1368d78168f5a9208e5f9ca8587f8dd5ce1c1c5ef1f", "unknown_outcome": "164557364fc9e34fcc5fa0329a356a7d7042c4797b82a38cf0954e95185ad11d", "unknown_provider_capability": "f7ac373b31c9f98e1b1017117bf429d8b16a92030073b5b5eb5c30de06cdec8b", @@ -7360,12 +7367,15 @@ "Vector dimensions": "9d95d3f89905adeb9db91dc8afa0187d3e97858b2ec6e5ce78c0312ce1e99254", "Vector retrieval": "48180b50b6fc222ac72ac2cb38ac7d89c9b1cccd51392b6eae57b46a8ec6cd44", "Verdict": "4a36f89dafb0a1014671aaf16e3a380a999a33836e4c3a31fe5594a7da034da5", + "Verification": "7140f4f19dec525960aabacb5741a125876c7d85f8cfa9c899cc8880651ddf61", "verified": "1c34f88707b55e6104c4eb20e71ffa3d33e414b71ef689a15fad0640d0ac58cb", "Verified": "4f7838402f37674e8ebedb6cf048c0aea66bacdb25607aa3eee4b53093d83f5c", "Verified by execution": "1c4dd61aa39a909b81e11acea882bee4dec628b47763cc4dccca63dbc5f885bb", "Verified catalog": "8f408d980918dbb3a719ced82bf7e18c80a41382f2e3d444528defc5fa24623a", "Verifies behavior, regression scenarios, and user-facing workflows.": "b0845a7154f2567bfbe99c9649c79df3019b654217110f0d1b94f477dd91c78d", + "Verify": "eea2745e2867a6772adc3e813211e6ce7b6ebd312d7e84a7c1b1aa2f8c75fd4b", "Verify before use": "687f00a3911b398fd3e9df5675ecd82fba1fd114e17e2f868f4b04914679db33", + "Verify current changes": "547006b60c4136a531a18526bb7822b118268902f4f457bff86ab03e2a5e7e3f", "Verify the key, account access, balance, and model permission for this provider.": "5ba03b132333df8c1d7b130335bfa5a4034517c93f2a8725019d0d0eec7eb401", "Verifying": "a7d4a9f301edaa61ef561aaba1847d2729a900ea00bbf358953f99d99d913666", "Verifying integration candidate": "05a26deacc8035b95bfce5888134aaa287046d2727ef374e1ae39b07a59daadc", @@ -8790,9 +8800,11 @@ "cancelling": "Duke anuluar", "Cancelling": "Duke anuluar", "Candidate approved for draft": "Kandidati i miratuar për draft", + "Candidate changed since verification": "Kandidati ndryshoi që nga verifikimi", "Candidate cluster is not bound to a channel.": "Grupi i kandidatëve nuk është i lidhur me një kanal.", "Candidate Clusters": "Grupet e kandidatëve", "Candidate commit: {commit}": "Angazhimi i kandidatit: {commit}", + "Candidate comparison unavailable": "Krahasimi i kandidatëve nuk është i disponueshëm", "Candidate details": "Detajet e kandidatit", "Candidate generation": "Gjenerata e kandidatëve", "Candidate generation and recording": "Gjenerimi dhe regjistrimi i kandidatëve", @@ -8966,6 +8978,7 @@ "Check member status": "Kontrolloni statusin e anëtarit", "Check member status to load readiness.": "Kontrolloni statusin e anëtarit për të ngarkuar gatishmërinë.", "Check needed": "Kontrolli i nevojshëm", + "Check output": "Kontrollo daljen", "Check passed": "Kontrolli i kaluar", "Check preset": "Kontrollo paracaktimin", "Check provider": "Kontrolloni ofruesin", @@ -12354,6 +12367,7 @@ "Participant label": "Etiketa e pjesëmarrësit", "Participants": "Pjesëmarrësit", "Pass": "Kaloni", + "Passed": "Kaloi", "Password": "Fjalëkalimi", "Paste a Ling memory Markdown export": "Ngjit një eksport Ling Markdown memorie", "Paste an API key in Model Workbench, then Save.": "Ngjit një çelës API në Model Workbench, më pas Ruaj.", @@ -12959,6 +12973,7 @@ "Refresh the library to load Ling built-in skills.": "Rifresko bibliotekën për të ngarkuar Ling aftësitë e integruara.", "Refresh to load member readiness.": "Rifresko për të ngarkuar gatishmërinë e anëtarëve.", "Refresh to load the selected channel's workflow and credential state.": "Rifresko për të ngarkuar rrjedhën e punës dhe gjendjen kredenciale të kanalit të zgjedhur.", + "Refresh verification": "Rifresko verifikimin", "Refresh work summary": "Refresh work summary", "Refresh workflow templates": "Refresh workflow templates", "Refresh workspace": "Rifresko hapësirën e punës", @@ -14186,6 +14201,7 @@ "Stop scheduler": "Ndalo programuesin", "Stop the current reply or queue new guidance.": "Ndalo përgjigjen aktuale ose rresht udhëzimet e reja.", "Stop using": "Ndalo përdorimin", + "Stop verification": "Ndalo verifikimin", "Stopped": "Ndaloi", "Stopped {title}": "Ndaloi {title}", "Stopped at {step}: {status}.": "Ndaloi në {step}: {status}.", @@ -14895,6 +14911,7 @@ "Unknown provider": "Ofrues i panjohur", "Unknown size": "Madhësi e panjohur", "Unknown source": "Burim i panjohur", + "Unknown status": "Status i panjohur", "Unknown teammate": "Shoku i panjohur i skuadrës", "unknown_outcome": "Rezultati i panjohur", "unknown_provider_capability": "Aftësia e ofruesit të panjohur", @@ -15069,12 +15086,15 @@ "Vector dimensions": "Dimensionet vektoriale", "Vector retrieval": "Rikthimi i vektorit", "Verdict": "Verdikti", + "Verification": "Verifikimi", "verified": "verifikuar", "Verified": "Verifikuar", "Verified by execution": "Verifikuar me ekzekutim", "Verified catalog": "Katalog i verifikuar", "Verifies behavior, regression scenarios, and user-facing workflows.": "Verifikon sjelljen, skenarët e regresionit dhe rrjedhat e punës që përballen me përdoruesit.", + "Verify": "Verifiko", "Verify before use": "Verifiko para përdorimit", + "Verify current changes": "Verifikoni ndryshimet aktuale", "Verify the key, account access, balance, and model permission for this provider.": "Verifiko çelësin, aksesin në llogari, gjendjen dhe lejen e modelit për këtë ofrues.", "Verifying": "Duke verifikuar", "Verifying integration candidate": "Verifikimi i kandidatit për integrim", diff --git a/packages/localization/catalogs/sr-RS.json b/packages/localization/catalogs/sr-RS.json index 18a62d9fc..6b61118b5 100644 --- a/packages/localization/catalogs/sr-RS.json +++ b/packages/localization/catalogs/sr-RS.json @@ -1,6 +1,6 @@ { "locale": "sr-RS", - "sourceRevision": "72f77c6fb25583bb1468e040086563074b7830e025f2fc657144dc0e4aad37c1", + "sourceRevision": "214db76d79f1a5c0fd915c110a2ead6dbb978b58398846e982a0c1ff0cb53108", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -1081,9 +1081,11 @@ "cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Candidate approved for draft": "59a57b9b459b3215e76b651f73f6521bc1bd71fa66bb52e046368a559db6632b", + "Candidate changed since verification": "a2808e03661077a04403dab2204b7ce8d78310c296600bd03c5766a754f216a6", "Candidate cluster is not bound to a channel.": "6066a4e8725d065a7c2b8d2c8974a60c41c0a94124deeabd972f620ddd815786", "Candidate Clusters": "b617f8ce5325fa8984c324816b08d3a26c05dac3c3276bcc4f4ab7196222dbe4", "Candidate commit: {commit}": "09bfd331d31184edc3eb1f8eab93bb1f6bc0cb640c0d1e1b53178e9eca4babbd", + "Candidate comparison unavailable": "f3bcf514a4febc720648d70be4d772e8ed9228ec5e7651edda3c229ddab6b627", "Candidate details": "17394d22b095121d9f0d77ff6d121c01383175fa17242bcd9f04bd61f182b5c9", "Candidate generation": "9d360a71a5d82995775df6401ac1d1f7257a68ad462bab70abb494e14239d3d3", "Candidate generation and recording": "d3af53b1912f971078c187ce9260949e68e49f0c2ea954c216a06fe2baa2acc9", @@ -1257,6 +1259,7 @@ "Check member status": "ff155af014d0b6e94cbf2fca3b01cf8d5725732f178eee985083478adb4a62f5", "Check member status to load readiness.": "6f7f338e22e626b134643fbaec898cf8e8efd19b85eeb6193b4ca0d5d63c4528", "Check needed": "561a32f0c83e5a4fe8d77d891bd4b954d514ea021b4a18e68a3607f5d8747841", + "Check output": "250d2e9675d6d399c668a5e496d0caf2913e14b5ea21036fa8ee2dad94ad4d46", "Check passed": "2f6697a2389d7a3c059e7c0435569b37c78275d752bdf9b9e1c5d94f3d0eeeaf", "Check preset": "85e9cc57cbd02e87de7d5213d2627e64f0ae2e3211dd62045b7c2e3dc2bcd45c", "Check provider": "655b6b054c32b6850e6bc245f79b03cb2513ab227e96e7e4a6fb3269daf60119", @@ -4645,6 +4648,7 @@ "Participant label": "ac9acb52867f8141cbc1741f20bbd2766f819aa569c1191dcac3855ba53b59fc", "Participants": "0e27279b3302db0448a2acf5d923ffb09b75270c2e957bfb93f54815d2146aa4", "Pass": "ebdf8cc00bc4d9ceee633c56c63b49955769a92ca060825c9b08e4af61326e2b", + "Passed": "436fe71bb9561f0596161c4d50c7b23327b4189acaf63dc89f4f9205b67a7528", "Password": "e7cf3ef4f17c3999a94f2c6f612e8a888e5b1026878e4e19398b23bd38ec221a", "Paste a Ling memory Markdown export": "3efbebfd30ffeb6bfba59beb91961665a830db73fea934f7fed5394666a7c901", "Paste an API key in Model Workbench, then Save.": "07d4307d7f787295b9cfe97f60114a53060c0f9319a38a5c935fb3f76aceb2cc", @@ -5250,6 +5254,7 @@ "Refresh the library to load Ling built-in skills.": "c1c70580c6d18d99477517ed4d8e7b1b2d7ce26b1c7e932cb3260eeef43008c2", "Refresh to load member readiness.": "b7018c54ba477bad3f292cefce02f582783c67f459e84182d3fe06e53cfe3236", "Refresh to load the selected channel's workflow and credential state.": "290fe59158244da3b9914566b3df31b8f15d3a66fd3ffd9661da282028522f59", + "Refresh verification": "c444d5a4e36d9ec9e448c2eb179a6ef45d3594cd02c264f699a83a04bb51749f", "Refresh work summary": "ccd4dcacf0460eb1ca7749ead055fbffcd395e4f8a0c0f9292d390394b80a78e", "Refresh workflow templates": "1d5c58c6bb31f588e7992a8fe14fc3bb3ad2f52396c0302dd980d4dfdaf1acaa", "Refresh workspace": "306960dcad4c285f46eb5bffbb815be8ebe98657bfed1a901e44b68c7c9f417d", @@ -6477,6 +6482,7 @@ "Stop scheduler": "da6153337089386cf80b918ffbd2f2a43a8876a76da3ca671200898a73695940", "Stop the current reply or queue new guidance.": "ef65bd0c8e0943cd194a61f0b0714870faf9081eeebdccb2967aabf880477457", "Stop using": "ef22ba68c9e447df816d52baba2d198b9d230a7b92291b0e683c38dd39fd94d7", + "Stop verification": "4d90de345e4b79787a78322b9da1ef2fd9c70098caae9af1208c37adc972ec73", "Stopped": "1a4f630ac1b69fd00728fa8a672ded71d0eae8516cb23e78f94529113399b79b", "Stopped {title}": "a2bb8d21f8b1fc6f69326965aabb4596bb14403cfc02644e3da7c3d99bda4a7f", "Stopped at {step}: {status}.": "a911b75c20e85b6fc45f8d484a34b9f7b844947fd5de54f289305ebd339951b7", @@ -7186,6 +7192,7 @@ "Unknown provider": "59080be0f444945a37e28b48166f9ddeb710cda7f656bb3827a684fffbcf4524", "Unknown size": "fffbd4ecf2ad3884acfc08d4fe61477737434672c0307bb3c08d2e876c0fd704", "Unknown source": "cbc86fd9d9357166a3076a90fd8957b816b3a516b79dc76d84e066daf984f83f", + "Unknown status": "15eebb6f74cc8a5a2a3eb6897533ded3d7c3e52b32cf617087a4793fef134ba0", "Unknown teammate": "491ea2ec8a112ef7fe0bc1368d78168f5a9208e5f9ca8587f8dd5ce1c1c5ef1f", "unknown_outcome": "164557364fc9e34fcc5fa0329a356a7d7042c4797b82a38cf0954e95185ad11d", "unknown_provider_capability": "f7ac373b31c9f98e1b1017117bf429d8b16a92030073b5b5eb5c30de06cdec8b", @@ -7360,12 +7367,15 @@ "Vector dimensions": "9d95d3f89905adeb9db91dc8afa0187d3e97858b2ec6e5ce78c0312ce1e99254", "Vector retrieval": "48180b50b6fc222ac72ac2cb38ac7d89c9b1cccd51392b6eae57b46a8ec6cd44", "Verdict": "4a36f89dafb0a1014671aaf16e3a380a999a33836e4c3a31fe5594a7da034da5", + "Verification": "7140f4f19dec525960aabacb5741a125876c7d85f8cfa9c899cc8880651ddf61", "verified": "1c34f88707b55e6104c4eb20e71ffa3d33e414b71ef689a15fad0640d0ac58cb", "Verified": "4f7838402f37674e8ebedb6cf048c0aea66bacdb25607aa3eee4b53093d83f5c", "Verified by execution": "1c4dd61aa39a909b81e11acea882bee4dec628b47763cc4dccca63dbc5f885bb", "Verified catalog": "8f408d980918dbb3a719ced82bf7e18c80a41382f2e3d444528defc5fa24623a", "Verifies behavior, regression scenarios, and user-facing workflows.": "b0845a7154f2567bfbe99c9649c79df3019b654217110f0d1b94f477dd91c78d", + "Verify": "eea2745e2867a6772adc3e813211e6ce7b6ebd312d7e84a7c1b1aa2f8c75fd4b", "Verify before use": "687f00a3911b398fd3e9df5675ecd82fba1fd114e17e2f868f4b04914679db33", + "Verify current changes": "547006b60c4136a531a18526bb7822b118268902f4f457bff86ab03e2a5e7e3f", "Verify the key, account access, balance, and model permission for this provider.": "5ba03b132333df8c1d7b130335bfa5a4034517c93f2a8725019d0d0eec7eb401", "Verifying": "a7d4a9f301edaa61ef561aaba1847d2729a900ea00bbf358953f99d99d913666", "Verifying integration candidate": "05a26deacc8035b95bfce5888134aaa287046d2727ef374e1ae39b07a59daadc", @@ -8790,9 +8800,11 @@ "cancelling": "Отказивање", "Cancelling": "Отказивање", "Candidate approved for draft": "Кандидат одобрен за нацрт", + "Candidate changed since verification": "Кандидат је промењен од верификације", "Candidate cluster is not bound to a channel.": "Кластер кандидата није везан за канал.", "Candidate Clusters": "Кластери кандидата", "Candidate commit: {commit}": "Обавеза кандидата: {commit}", + "Candidate comparison unavailable": "Поређење кандидата није доступно", "Candidate details": "Детаљи кандидата", "Candidate generation": "Генерација кандидата", "Candidate generation and recording": "Генерисање и снимање кандидата", @@ -8966,6 +8978,7 @@ "Check member status": "Проверите статус члана", "Check member status to load readiness.": "Проверите статус члана да бисте учитали спремност.", "Check needed": "Потребна провера", + "Check output": "Проверите излаз", "Check passed": "Провера је прошла", "Check preset": "Проверите унапред подешено", "Check provider": "Проверите добављача", @@ -12354,6 +12367,7 @@ "Participant label": "Ознака учесника", "Participants": "Учесници", "Pass": "Пасс", + "Passed": "Прошао", "Password": "Лозинка", "Paste a Ling memory Markdown export": "Налепите Ling извоз Маркдовн меморије", "Paste an API key in Model Workbench, then Save.": "Налепите кључ API у Модел Воркбенцх, а затим Сачувај.", @@ -12959,6 +12973,7 @@ "Refresh the library to load Ling built-in skills.": "Освежите библиотеку да бисте учитали Ling уграђене вештине.", "Refresh to load member readiness.": "Освежите да бисте учитали спремност члана.", "Refresh to load the selected channel's workflow and credential state.": "Освежите да бисте учитали ток рада и стање акредитива изабраног канала.", + "Refresh verification": "Освежите верификацију", "Refresh work summary": "Refresh work summary", "Refresh workflow templates": "Refresh workflow templates", "Refresh workspace": "Освежите радни простор", @@ -14186,6 +14201,7 @@ "Stop scheduler": "Заустави планер", "Stop the current reply or queue new guidance.": "Зауставите тренутни одговор или ставите у ред нова упутства.", "Stop using": "Престаните да користите", + "Stop verification": "Заустави верификацију", "Stopped": "Заустављено", "Stopped {title}": "Заустављен {title}", "Stopped at {step}: {status}.": "Заустављен у {step}: {status}.", @@ -14895,6 +14911,7 @@ "Unknown provider": "Непознати провајдер", "Unknown size": "Непозната величина", "Unknown source": "Непознат извор", + "Unknown status": "Непознат статус", "Unknown teammate": "Непознати саиграч", "unknown_outcome": "Исход непознат", "unknown_provider_capability": "Могућност непознатог провајдера", @@ -15069,12 +15086,15 @@ "Vector dimensions": "Векторске димензије", "Vector retrieval": "Векторско тражење", "Verdict": "Пресуда", + "Verification": "Верификација", "verified": "верификовано", "Verified": "Верифиед", "Verified by execution": "Верификовано извршењем", "Verified catalog": "Верификовани каталог", "Verifies behavior, regression scenarios, and user-facing workflows.": "Верификује понашање, сценарије регресије и токове рада окренуте кориснику.", + "Verify": "Верифи", "Verify before use": "Проверите пре употребе", + "Verify current changes": "Проверите тренутне промене", "Verify the key, account access, balance, and model permission for this provider.": "Проверите кључ, приступ налогу, стање и дозволу модела за овог провајдера.", "Verifying": "Верифиинг", "Verifying integration candidate": "Потврђивање кандидата за интеграцију", diff --git a/packages/localization/catalogs/sv-SE.json b/packages/localization/catalogs/sv-SE.json index 4ee24f1ab..280c5de75 100644 --- a/packages/localization/catalogs/sv-SE.json +++ b/packages/localization/catalogs/sv-SE.json @@ -1,6 +1,6 @@ { "locale": "sv-SE", - "sourceRevision": "72f77c6fb25583bb1468e040086563074b7830e025f2fc657144dc0e4aad37c1", + "sourceRevision": "214db76d79f1a5c0fd915c110a2ead6dbb978b58398846e982a0c1ff0cb53108", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -1081,9 +1081,11 @@ "cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Candidate approved for draft": "59a57b9b459b3215e76b651f73f6521bc1bd71fa66bb52e046368a559db6632b", + "Candidate changed since verification": "a2808e03661077a04403dab2204b7ce8d78310c296600bd03c5766a754f216a6", "Candidate cluster is not bound to a channel.": "6066a4e8725d065a7c2b8d2c8974a60c41c0a94124deeabd972f620ddd815786", "Candidate Clusters": "b617f8ce5325fa8984c324816b08d3a26c05dac3c3276bcc4f4ab7196222dbe4", "Candidate commit: {commit}": "09bfd331d31184edc3eb1f8eab93bb1f6bc0cb640c0d1e1b53178e9eca4babbd", + "Candidate comparison unavailable": "f3bcf514a4febc720648d70be4d772e8ed9228ec5e7651edda3c229ddab6b627", "Candidate details": "17394d22b095121d9f0d77ff6d121c01383175fa17242bcd9f04bd61f182b5c9", "Candidate generation": "9d360a71a5d82995775df6401ac1d1f7257a68ad462bab70abb494e14239d3d3", "Candidate generation and recording": "d3af53b1912f971078c187ce9260949e68e49f0c2ea954c216a06fe2baa2acc9", @@ -1257,6 +1259,7 @@ "Check member status": "ff155af014d0b6e94cbf2fca3b01cf8d5725732f178eee985083478adb4a62f5", "Check member status to load readiness.": "6f7f338e22e626b134643fbaec898cf8e8efd19b85eeb6193b4ca0d5d63c4528", "Check needed": "561a32f0c83e5a4fe8d77d891bd4b954d514ea021b4a18e68a3607f5d8747841", + "Check output": "250d2e9675d6d399c668a5e496d0caf2913e14b5ea21036fa8ee2dad94ad4d46", "Check passed": "2f6697a2389d7a3c059e7c0435569b37c78275d752bdf9b9e1c5d94f3d0eeeaf", "Check preset": "85e9cc57cbd02e87de7d5213d2627e64f0ae2e3211dd62045b7c2e3dc2bcd45c", "Check provider": "655b6b054c32b6850e6bc245f79b03cb2513ab227e96e7e4a6fb3269daf60119", @@ -4645,6 +4648,7 @@ "Participant label": "ac9acb52867f8141cbc1741f20bbd2766f819aa569c1191dcac3855ba53b59fc", "Participants": "0e27279b3302db0448a2acf5d923ffb09b75270c2e957bfb93f54815d2146aa4", "Pass": "ebdf8cc00bc4d9ceee633c56c63b49955769a92ca060825c9b08e4af61326e2b", + "Passed": "436fe71bb9561f0596161c4d50c7b23327b4189acaf63dc89f4f9205b67a7528", "Password": "e7cf3ef4f17c3999a94f2c6f612e8a888e5b1026878e4e19398b23bd38ec221a", "Paste a Ling memory Markdown export": "3efbebfd30ffeb6bfba59beb91961665a830db73fea934f7fed5394666a7c901", "Paste an API key in Model Workbench, then Save.": "07d4307d7f787295b9cfe97f60114a53060c0f9319a38a5c935fb3f76aceb2cc", @@ -5250,6 +5254,7 @@ "Refresh the library to load Ling built-in skills.": "c1c70580c6d18d99477517ed4d8e7b1b2d7ce26b1c7e932cb3260eeef43008c2", "Refresh to load member readiness.": "b7018c54ba477bad3f292cefce02f582783c67f459e84182d3fe06e53cfe3236", "Refresh to load the selected channel's workflow and credential state.": "290fe59158244da3b9914566b3df31b8f15d3a66fd3ffd9661da282028522f59", + "Refresh verification": "c444d5a4e36d9ec9e448c2eb179a6ef45d3594cd02c264f699a83a04bb51749f", "Refresh work summary": "ccd4dcacf0460eb1ca7749ead055fbffcd395e4f8a0c0f9292d390394b80a78e", "Refresh workflow templates": "1d5c58c6bb31f588e7992a8fe14fc3bb3ad2f52396c0302dd980d4dfdaf1acaa", "Refresh workspace": "306960dcad4c285f46eb5bffbb815be8ebe98657bfed1a901e44b68c7c9f417d", @@ -6477,6 +6482,7 @@ "Stop scheduler": "da6153337089386cf80b918ffbd2f2a43a8876a76da3ca671200898a73695940", "Stop the current reply or queue new guidance.": "ef65bd0c8e0943cd194a61f0b0714870faf9081eeebdccb2967aabf880477457", "Stop using": "ef22ba68c9e447df816d52baba2d198b9d230a7b92291b0e683c38dd39fd94d7", + "Stop verification": "4d90de345e4b79787a78322b9da1ef2fd9c70098caae9af1208c37adc972ec73", "Stopped": "1a4f630ac1b69fd00728fa8a672ded71d0eae8516cb23e78f94529113399b79b", "Stopped {title}": "a2bb8d21f8b1fc6f69326965aabb4596bb14403cfc02644e3da7c3d99bda4a7f", "Stopped at {step}: {status}.": "a911b75c20e85b6fc45f8d484a34b9f7b844947fd5de54f289305ebd339951b7", @@ -7186,6 +7192,7 @@ "Unknown provider": "59080be0f444945a37e28b48166f9ddeb710cda7f656bb3827a684fffbcf4524", "Unknown size": "fffbd4ecf2ad3884acfc08d4fe61477737434672c0307bb3c08d2e876c0fd704", "Unknown source": "cbc86fd9d9357166a3076a90fd8957b816b3a516b79dc76d84e066daf984f83f", + "Unknown status": "15eebb6f74cc8a5a2a3eb6897533ded3d7c3e52b32cf617087a4793fef134ba0", "Unknown teammate": "491ea2ec8a112ef7fe0bc1368d78168f5a9208e5f9ca8587f8dd5ce1c1c5ef1f", "unknown_outcome": "164557364fc9e34fcc5fa0329a356a7d7042c4797b82a38cf0954e95185ad11d", "unknown_provider_capability": "f7ac373b31c9f98e1b1017117bf429d8b16a92030073b5b5eb5c30de06cdec8b", @@ -7360,12 +7367,15 @@ "Vector dimensions": "9d95d3f89905adeb9db91dc8afa0187d3e97858b2ec6e5ce78c0312ce1e99254", "Vector retrieval": "48180b50b6fc222ac72ac2cb38ac7d89c9b1cccd51392b6eae57b46a8ec6cd44", "Verdict": "4a36f89dafb0a1014671aaf16e3a380a999a33836e4c3a31fe5594a7da034da5", + "Verification": "7140f4f19dec525960aabacb5741a125876c7d85f8cfa9c899cc8880651ddf61", "verified": "1c34f88707b55e6104c4eb20e71ffa3d33e414b71ef689a15fad0640d0ac58cb", "Verified": "4f7838402f37674e8ebedb6cf048c0aea66bacdb25607aa3eee4b53093d83f5c", "Verified by execution": "1c4dd61aa39a909b81e11acea882bee4dec628b47763cc4dccca63dbc5f885bb", "Verified catalog": "8f408d980918dbb3a719ced82bf7e18c80a41382f2e3d444528defc5fa24623a", "Verifies behavior, regression scenarios, and user-facing workflows.": "b0845a7154f2567bfbe99c9649c79df3019b654217110f0d1b94f477dd91c78d", + "Verify": "eea2745e2867a6772adc3e813211e6ce7b6ebd312d7e84a7c1b1aa2f8c75fd4b", "Verify before use": "687f00a3911b398fd3e9df5675ecd82fba1fd114e17e2f868f4b04914679db33", + "Verify current changes": "547006b60c4136a531a18526bb7822b118268902f4f457bff86ab03e2a5e7e3f", "Verify the key, account access, balance, and model permission for this provider.": "5ba03b132333df8c1d7b130335bfa5a4034517c93f2a8725019d0d0eec7eb401", "Verifying": "a7d4a9f301edaa61ef561aaba1847d2729a900ea00bbf358953f99d99d913666", "Verifying integration candidate": "05a26deacc8035b95bfce5888134aaa287046d2727ef374e1ae39b07a59daadc", @@ -8790,9 +8800,11 @@ "cancelling": "Inställande", "Cancelling": "Inställande", "Candidate approved for draft": "Kandidat godkänd för utkast", + "Candidate changed since verification": "Kandidat ändrad sedan verifiering", "Candidate cluster is not bound to a channel.": "Kandidatklustret är inte bundet till en kanal.", "Candidate Clusters": "Kandidatkluster", "Candidate commit: {commit}": "Kandidatens åtagande: {commit}", + "Candidate comparison unavailable": "Kandidatjämförelse är inte tillgänglig", "Candidate details": "Kandidatuppgifter", "Candidate generation": "Kandidatgenerering", "Candidate generation and recording": "Kandidatgenerering och inspelning", @@ -8966,6 +8978,7 @@ "Check member status": "Kontrollera medlemsstatus", "Check member status to load readiness.": "Kontrollera medlemsstatus för laddningsberedskap.", "Check needed": "Kontrollera behövs", + "Check output": "Kontrollera utgången", "Check passed": "Checken godkänd", "Check preset": "Kontrollera förinställningen", "Check provider": "Kontrollera leverantören", @@ -12354,6 +12367,7 @@ "Participant label": "Deltagaretikett", "Participants": "Deltagare", "Pass": "Passera", + "Passed": "Godkänd", "Password": "Lösenord", "Paste a Ling memory Markdown export": "Klistra in en Ling minne Markdown export", "Paste an API key in Model Workbench, then Save.": "Klistra in en API-nyckel i Model Workbench och sedan Spara.", @@ -12959,6 +12973,7 @@ "Refresh the library to load Ling built-in skills.": "Uppdatera biblioteket för att ladda Ling inbyggda färdigheter.", "Refresh to load member readiness.": "Uppdatera för att ladda medlemsberedskap.", "Refresh to load the selected channel's workflow and credential state.": "Uppdatera för att läsa in den valda kanalens arbetsflöde och autentiseringstillstånd.", + "Refresh verification": "Uppdatera verifiering", "Refresh work summary": "Refresh work summary", "Refresh workflow templates": "Refresh workflow templates", "Refresh workspace": "Uppdatera arbetsytan", @@ -14186,6 +14201,7 @@ "Stop scheduler": "Stoppa schemaläggaren", "Stop the current reply or queue new guidance.": "Stoppa det aktuella svaret eller kö ny vägledning.", "Stop using": "Sluta använda", + "Stop verification": "Stoppa verifieringen", "Stopped": "Slutade", "Stopped {title}": "Slutade {title}", "Stopped at {step}: {status}.": "Stannade vid {step}: {status}.", @@ -14895,6 +14911,7 @@ "Unknown provider": "Okänd leverantör", "Unknown size": "Okänd storlek", "Unknown source": "Okänd källa", + "Unknown status": "Okänd status", "Unknown teammate": "Okänd lagkamrat", "unknown_outcome": "Resultat okänt", "unknown_provider_capability": "Okänd leverantörskapacitet", @@ -15069,12 +15086,15 @@ "Vector dimensions": "Vektordimensioner", "Vector retrieval": "Vektor hämtning", "Verdict": "Dom", + "Verification": "Kontroll", "verified": "verifierad", "Verified": "Verifierad", "Verified by execution": "Verifierad genom utförande", "Verified catalog": "Verifierad katalog", "Verifies behavior, regression scenarios, and user-facing workflows.": "Verifierar beteende, regressionsscenarier och användarinriktade arbetsflöden.", + "Verify": "Kontrollera", "Verify before use": "Verifiera före användning", + "Verify current changes": "Verifiera aktuella ändringar", "Verify the key, account access, balance, and model permission for this provider.": "Verifiera nyckel, kontoåtkomst, saldo och modellbehörighet för denna leverantör.", "Verifying": "Verifierar", "Verifying integration candidate": "Verifierar integrationskandidat", diff --git a/packages/localization/catalogs/sw-TZ.json b/packages/localization/catalogs/sw-TZ.json index 8e24dd7cd..1ff73ba38 100644 --- a/packages/localization/catalogs/sw-TZ.json +++ b/packages/localization/catalogs/sw-TZ.json @@ -1,6 +1,6 @@ { "locale": "sw-TZ", - "sourceRevision": "72f77c6fb25583bb1468e040086563074b7830e025f2fc657144dc0e4aad37c1", + "sourceRevision": "214db76d79f1a5c0fd915c110a2ead6dbb978b58398846e982a0c1ff0cb53108", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -1081,9 +1081,11 @@ "cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Candidate approved for draft": "59a57b9b459b3215e76b651f73f6521bc1bd71fa66bb52e046368a559db6632b", + "Candidate changed since verification": "a2808e03661077a04403dab2204b7ce8d78310c296600bd03c5766a754f216a6", "Candidate cluster is not bound to a channel.": "6066a4e8725d065a7c2b8d2c8974a60c41c0a94124deeabd972f620ddd815786", "Candidate Clusters": "b617f8ce5325fa8984c324816b08d3a26c05dac3c3276bcc4f4ab7196222dbe4", "Candidate commit: {commit}": "09bfd331d31184edc3eb1f8eab93bb1f6bc0cb640c0d1e1b53178e9eca4babbd", + "Candidate comparison unavailable": "f3bcf514a4febc720648d70be4d772e8ed9228ec5e7651edda3c229ddab6b627", "Candidate details": "17394d22b095121d9f0d77ff6d121c01383175fa17242bcd9f04bd61f182b5c9", "Candidate generation": "9d360a71a5d82995775df6401ac1d1f7257a68ad462bab70abb494e14239d3d3", "Candidate generation and recording": "d3af53b1912f971078c187ce9260949e68e49f0c2ea954c216a06fe2baa2acc9", @@ -1257,6 +1259,7 @@ "Check member status": "ff155af014d0b6e94cbf2fca3b01cf8d5725732f178eee985083478adb4a62f5", "Check member status to load readiness.": "6f7f338e22e626b134643fbaec898cf8e8efd19b85eeb6193b4ca0d5d63c4528", "Check needed": "561a32f0c83e5a4fe8d77d891bd4b954d514ea021b4a18e68a3607f5d8747841", + "Check output": "250d2e9675d6d399c668a5e496d0caf2913e14b5ea21036fa8ee2dad94ad4d46", "Check passed": "2f6697a2389d7a3c059e7c0435569b37c78275d752bdf9b9e1c5d94f3d0eeeaf", "Check preset": "85e9cc57cbd02e87de7d5213d2627e64f0ae2e3211dd62045b7c2e3dc2bcd45c", "Check provider": "655b6b054c32b6850e6bc245f79b03cb2513ab227e96e7e4a6fb3269daf60119", @@ -4645,6 +4648,7 @@ "Participant label": "ac9acb52867f8141cbc1741f20bbd2766f819aa569c1191dcac3855ba53b59fc", "Participants": "0e27279b3302db0448a2acf5d923ffb09b75270c2e957bfb93f54815d2146aa4", "Pass": "ebdf8cc00bc4d9ceee633c56c63b49955769a92ca060825c9b08e4af61326e2b", + "Passed": "436fe71bb9561f0596161c4d50c7b23327b4189acaf63dc89f4f9205b67a7528", "Password": "e7cf3ef4f17c3999a94f2c6f612e8a888e5b1026878e4e19398b23bd38ec221a", "Paste a Ling memory Markdown export": "3efbebfd30ffeb6bfba59beb91961665a830db73fea934f7fed5394666a7c901", "Paste an API key in Model Workbench, then Save.": "07d4307d7f787295b9cfe97f60114a53060c0f9319a38a5c935fb3f76aceb2cc", @@ -5250,6 +5254,7 @@ "Refresh the library to load Ling built-in skills.": "c1c70580c6d18d99477517ed4d8e7b1b2d7ce26b1c7e932cb3260eeef43008c2", "Refresh to load member readiness.": "b7018c54ba477bad3f292cefce02f582783c67f459e84182d3fe06e53cfe3236", "Refresh to load the selected channel's workflow and credential state.": "290fe59158244da3b9914566b3df31b8f15d3a66fd3ffd9661da282028522f59", + "Refresh verification": "c444d5a4e36d9ec9e448c2eb179a6ef45d3594cd02c264f699a83a04bb51749f", "Refresh work summary": "ccd4dcacf0460eb1ca7749ead055fbffcd395e4f8a0c0f9292d390394b80a78e", "Refresh workflow templates": "1d5c58c6bb31f588e7992a8fe14fc3bb3ad2f52396c0302dd980d4dfdaf1acaa", "Refresh workspace": "306960dcad4c285f46eb5bffbb815be8ebe98657bfed1a901e44b68c7c9f417d", @@ -6477,6 +6482,7 @@ "Stop scheduler": "da6153337089386cf80b918ffbd2f2a43a8876a76da3ca671200898a73695940", "Stop the current reply or queue new guidance.": "ef65bd0c8e0943cd194a61f0b0714870faf9081eeebdccb2967aabf880477457", "Stop using": "ef22ba68c9e447df816d52baba2d198b9d230a7b92291b0e683c38dd39fd94d7", + "Stop verification": "4d90de345e4b79787a78322b9da1ef2fd9c70098caae9af1208c37adc972ec73", "Stopped": "1a4f630ac1b69fd00728fa8a672ded71d0eae8516cb23e78f94529113399b79b", "Stopped {title}": "a2bb8d21f8b1fc6f69326965aabb4596bb14403cfc02644e3da7c3d99bda4a7f", "Stopped at {step}: {status}.": "a911b75c20e85b6fc45f8d484a34b9f7b844947fd5de54f289305ebd339951b7", @@ -7186,6 +7192,7 @@ "Unknown provider": "59080be0f444945a37e28b48166f9ddeb710cda7f656bb3827a684fffbcf4524", "Unknown size": "fffbd4ecf2ad3884acfc08d4fe61477737434672c0307bb3c08d2e876c0fd704", "Unknown source": "cbc86fd9d9357166a3076a90fd8957b816b3a516b79dc76d84e066daf984f83f", + "Unknown status": "15eebb6f74cc8a5a2a3eb6897533ded3d7c3e52b32cf617087a4793fef134ba0", "Unknown teammate": "491ea2ec8a112ef7fe0bc1368d78168f5a9208e5f9ca8587f8dd5ce1c1c5ef1f", "unknown_outcome": "164557364fc9e34fcc5fa0329a356a7d7042c4797b82a38cf0954e95185ad11d", "unknown_provider_capability": "f7ac373b31c9f98e1b1017117bf429d8b16a92030073b5b5eb5c30de06cdec8b", @@ -7360,12 +7367,15 @@ "Vector dimensions": "9d95d3f89905adeb9db91dc8afa0187d3e97858b2ec6e5ce78c0312ce1e99254", "Vector retrieval": "48180b50b6fc222ac72ac2cb38ac7d89c9b1cccd51392b6eae57b46a8ec6cd44", "Verdict": "4a36f89dafb0a1014671aaf16e3a380a999a33836e4c3a31fe5594a7da034da5", + "Verification": "7140f4f19dec525960aabacb5741a125876c7d85f8cfa9c899cc8880651ddf61", "verified": "1c34f88707b55e6104c4eb20e71ffa3d33e414b71ef689a15fad0640d0ac58cb", "Verified": "4f7838402f37674e8ebedb6cf048c0aea66bacdb25607aa3eee4b53093d83f5c", "Verified by execution": "1c4dd61aa39a909b81e11acea882bee4dec628b47763cc4dccca63dbc5f885bb", "Verified catalog": "8f408d980918dbb3a719ced82bf7e18c80a41382f2e3d444528defc5fa24623a", "Verifies behavior, regression scenarios, and user-facing workflows.": "b0845a7154f2567bfbe99c9649c79df3019b654217110f0d1b94f477dd91c78d", + "Verify": "eea2745e2867a6772adc3e813211e6ce7b6ebd312d7e84a7c1b1aa2f8c75fd4b", "Verify before use": "687f00a3911b398fd3e9df5675ecd82fba1fd114e17e2f868f4b04914679db33", + "Verify current changes": "547006b60c4136a531a18526bb7822b118268902f4f457bff86ab03e2a5e7e3f", "Verify the key, account access, balance, and model permission for this provider.": "5ba03b132333df8c1d7b130335bfa5a4034517c93f2a8725019d0d0eec7eb401", "Verifying": "a7d4a9f301edaa61ef561aaba1847d2729a900ea00bbf358953f99d99d913666", "Verifying integration candidate": "05a26deacc8035b95bfce5888134aaa287046d2727ef374e1ae39b07a59daadc", @@ -8790,9 +8800,11 @@ "cancelling": "Inaghairi", "Cancelling": "Inaghairi", "Candidate approved for draft": "Mgombea aliyeidhinishwa kwa rasimu", + "Candidate changed since verification": "Mgombea amebadilika tangu kuthibitishwa", "Candidate cluster is not bound to a channel.": "Kundi la mgombea halifungamani na kituo.", "Candidate Clusters": "Vikundi vya Wagombea", "Candidate commit: {commit}": "Ahadi ya mgombea: {commit}", + "Candidate comparison unavailable": "Ulinganisho wa mgombea haupatikani", "Candidate details": "Maelezo ya mgombea", "Candidate generation": "Kizazi cha wagombea", "Candidate generation and recording": "Kuzalisha na kurekodi kwa mgombea", @@ -8966,6 +8978,7 @@ "Check member status": "Angalia hali ya mwanachama", "Check member status to load readiness.": "Angalia hali ya mwanachama ili kupakia utayari.", "Check needed": "Angalia inahitajika", + "Check output": "Angalia pato", "Check passed": "Cheki imepitishwa", "Check preset": "Angalia kuweka mapema", "Check provider": "Angalia mtoa huduma", @@ -12354,6 +12367,7 @@ "Participant label": "Lebo ya mshiriki", "Participants": "Washiriki", "Pass": "Pasi", + "Passed": "Imepitishwa", "Password": "Nenosiri", "Paste a Ling memory Markdown export": "Bandika Ling uhamishaji wa alama ya kumbukumbu", "Paste an API key in Model Workbench, then Save.": "Bandika API kitufe kwenye Model Workbench, kisha Hifadhi.", @@ -12959,6 +12973,7 @@ "Refresh the library to load Ling built-in skills.": "Onyesha upya maktaba ili kupakia Ling ujuzi uliojengewa ndani.", "Refresh to load member readiness.": "Onyesha upya ili kupakia utayari wa mwanachama.", "Refresh to load the selected channel's workflow and credential state.": "Onyesha upya ili kupakia mtiririko wa kazi wa kituo kilichochaguliwa na hali ya kitambulisho.", + "Refresh verification": "Onyesha upya uthibitishaji", "Refresh work summary": "Refresh work summary", "Refresh workflow templates": "Refresh workflow templates", "Refresh workspace": "Onyesha upya nafasi ya kazi", @@ -14186,6 +14201,7 @@ "Stop scheduler": "Acha kipanga ratiba", "Stop the current reply or queue new guidance.": "Simamisha jibu la sasa au upange mwongozo mpya.", "Stop using": "Acha kutumia", + "Stop verification": "Acha uthibitishaji", "Stopped": "Imesimamishwa", "Stopped {title}": "Ilisimamishwa {title}", "Stopped at {step}: {status}.": "Ilisimamishwa kwa {step}: {status}.", @@ -14895,6 +14911,7 @@ "Unknown provider": "Mtoa huduma asiyejulikana", "Unknown size": "Ukubwa usiojulikana", "Unknown source": "Chanzo kisichojulikana", + "Unknown status": "Hali isiyojulikana", "Unknown teammate": "Mshiriki wa timu asiyejulikana", "unknown_outcome": "Matokeo haijulikani", "unknown_provider_capability": "Uwezo wa mtoaji usiojulikana", @@ -15069,12 +15086,15 @@ "Vector dimensions": "Vipimo vya Vector", "Vector retrieval": "Urejeshaji wa vekta", "Verdict": "Uamuzi", + "Verification": "Uthibitishaji", "verified": "imethibitishwa", "Verified": "Imethibitishwa", "Verified by execution": "Imethibitishwa kwa utekelezaji", "Verified catalog": "Katalogi iliyothibitishwa", "Verifies behavior, regression scenarios, and user-facing workflows.": "Huthibitisha tabia, matukio ya urejeshaji, na mtiririko wa kazi unaowahusu watumiaji.", + "Verify": "Thibitisha", "Verify before use": "Thibitisha kabla ya matumizi", + "Verify current changes": "Thibitisha mabadiliko ya sasa", "Verify the key, account access, balance, and model permission for this provider.": "Thibitisha ufunguo, ufikiaji wa akaunti, salio na ruhusa ya muundo kwa mtoa huduma huyu.", "Verifying": "Inathibitisha", "Verifying integration candidate": "Inathibitisha mgombeaji wa ujumuishaji", diff --git a/packages/localization/catalogs/ta-IN.json b/packages/localization/catalogs/ta-IN.json index 0cb2535e8..b87705e85 100644 --- a/packages/localization/catalogs/ta-IN.json +++ b/packages/localization/catalogs/ta-IN.json @@ -1,6 +1,6 @@ { "locale": "ta-IN", - "sourceRevision": "72f77c6fb25583bb1468e040086563074b7830e025f2fc657144dc0e4aad37c1", + "sourceRevision": "214db76d79f1a5c0fd915c110a2ead6dbb978b58398846e982a0c1ff0cb53108", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -1081,9 +1081,11 @@ "cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Candidate approved for draft": "59a57b9b459b3215e76b651f73f6521bc1bd71fa66bb52e046368a559db6632b", + "Candidate changed since verification": "a2808e03661077a04403dab2204b7ce8d78310c296600bd03c5766a754f216a6", "Candidate cluster is not bound to a channel.": "6066a4e8725d065a7c2b8d2c8974a60c41c0a94124deeabd972f620ddd815786", "Candidate Clusters": "b617f8ce5325fa8984c324816b08d3a26c05dac3c3276bcc4f4ab7196222dbe4", "Candidate commit: {commit}": "09bfd331d31184edc3eb1f8eab93bb1f6bc0cb640c0d1e1b53178e9eca4babbd", + "Candidate comparison unavailable": "f3bcf514a4febc720648d70be4d772e8ed9228ec5e7651edda3c229ddab6b627", "Candidate details": "17394d22b095121d9f0d77ff6d121c01383175fa17242bcd9f04bd61f182b5c9", "Candidate generation": "9d360a71a5d82995775df6401ac1d1f7257a68ad462bab70abb494e14239d3d3", "Candidate generation and recording": "d3af53b1912f971078c187ce9260949e68e49f0c2ea954c216a06fe2baa2acc9", @@ -1257,6 +1259,7 @@ "Check member status": "ff155af014d0b6e94cbf2fca3b01cf8d5725732f178eee985083478adb4a62f5", "Check member status to load readiness.": "6f7f338e22e626b134643fbaec898cf8e8efd19b85eeb6193b4ca0d5d63c4528", "Check needed": "561a32f0c83e5a4fe8d77d891bd4b954d514ea021b4a18e68a3607f5d8747841", + "Check output": "250d2e9675d6d399c668a5e496d0caf2913e14b5ea21036fa8ee2dad94ad4d46", "Check passed": "2f6697a2389d7a3c059e7c0435569b37c78275d752bdf9b9e1c5d94f3d0eeeaf", "Check preset": "85e9cc57cbd02e87de7d5213d2627e64f0ae2e3211dd62045b7c2e3dc2bcd45c", "Check provider": "655b6b054c32b6850e6bc245f79b03cb2513ab227e96e7e4a6fb3269daf60119", @@ -4645,6 +4648,7 @@ "Participant label": "ac9acb52867f8141cbc1741f20bbd2766f819aa569c1191dcac3855ba53b59fc", "Participants": "0e27279b3302db0448a2acf5d923ffb09b75270c2e957bfb93f54815d2146aa4", "Pass": "ebdf8cc00bc4d9ceee633c56c63b49955769a92ca060825c9b08e4af61326e2b", + "Passed": "436fe71bb9561f0596161c4d50c7b23327b4189acaf63dc89f4f9205b67a7528", "Password": "e7cf3ef4f17c3999a94f2c6f612e8a888e5b1026878e4e19398b23bd38ec221a", "Paste a Ling memory Markdown export": "3efbebfd30ffeb6bfba59beb91961665a830db73fea934f7fed5394666a7c901", "Paste an API key in Model Workbench, then Save.": "07d4307d7f787295b9cfe97f60114a53060c0f9319a38a5c935fb3f76aceb2cc", @@ -5250,6 +5254,7 @@ "Refresh the library to load Ling built-in skills.": "c1c70580c6d18d99477517ed4d8e7b1b2d7ce26b1c7e932cb3260eeef43008c2", "Refresh to load member readiness.": "b7018c54ba477bad3f292cefce02f582783c67f459e84182d3fe06e53cfe3236", "Refresh to load the selected channel's workflow and credential state.": "290fe59158244da3b9914566b3df31b8f15d3a66fd3ffd9661da282028522f59", + "Refresh verification": "c444d5a4e36d9ec9e448c2eb179a6ef45d3594cd02c264f699a83a04bb51749f", "Refresh work summary": "ccd4dcacf0460eb1ca7749ead055fbffcd395e4f8a0c0f9292d390394b80a78e", "Refresh workflow templates": "1d5c58c6bb31f588e7992a8fe14fc3bb3ad2f52396c0302dd980d4dfdaf1acaa", "Refresh workspace": "306960dcad4c285f46eb5bffbb815be8ebe98657bfed1a901e44b68c7c9f417d", @@ -6477,6 +6482,7 @@ "Stop scheduler": "da6153337089386cf80b918ffbd2f2a43a8876a76da3ca671200898a73695940", "Stop the current reply or queue new guidance.": "ef65bd0c8e0943cd194a61f0b0714870faf9081eeebdccb2967aabf880477457", "Stop using": "ef22ba68c9e447df816d52baba2d198b9d230a7b92291b0e683c38dd39fd94d7", + "Stop verification": "4d90de345e4b79787a78322b9da1ef2fd9c70098caae9af1208c37adc972ec73", "Stopped": "1a4f630ac1b69fd00728fa8a672ded71d0eae8516cb23e78f94529113399b79b", "Stopped {title}": "a2bb8d21f8b1fc6f69326965aabb4596bb14403cfc02644e3da7c3d99bda4a7f", "Stopped at {step}: {status}.": "a911b75c20e85b6fc45f8d484a34b9f7b844947fd5de54f289305ebd339951b7", @@ -7186,6 +7192,7 @@ "Unknown provider": "59080be0f444945a37e28b48166f9ddeb710cda7f656bb3827a684fffbcf4524", "Unknown size": "fffbd4ecf2ad3884acfc08d4fe61477737434672c0307bb3c08d2e876c0fd704", "Unknown source": "cbc86fd9d9357166a3076a90fd8957b816b3a516b79dc76d84e066daf984f83f", + "Unknown status": "15eebb6f74cc8a5a2a3eb6897533ded3d7c3e52b32cf617087a4793fef134ba0", "Unknown teammate": "491ea2ec8a112ef7fe0bc1368d78168f5a9208e5f9ca8587f8dd5ce1c1c5ef1f", "unknown_outcome": "164557364fc9e34fcc5fa0329a356a7d7042c4797b82a38cf0954e95185ad11d", "unknown_provider_capability": "f7ac373b31c9f98e1b1017117bf429d8b16a92030073b5b5eb5c30de06cdec8b", @@ -7360,12 +7367,15 @@ "Vector dimensions": "9d95d3f89905adeb9db91dc8afa0187d3e97858b2ec6e5ce78c0312ce1e99254", "Vector retrieval": "48180b50b6fc222ac72ac2cb38ac7d89c9b1cccd51392b6eae57b46a8ec6cd44", "Verdict": "4a36f89dafb0a1014671aaf16e3a380a999a33836e4c3a31fe5594a7da034da5", + "Verification": "7140f4f19dec525960aabacb5741a125876c7d85f8cfa9c899cc8880651ddf61", "verified": "1c34f88707b55e6104c4eb20e71ffa3d33e414b71ef689a15fad0640d0ac58cb", "Verified": "4f7838402f37674e8ebedb6cf048c0aea66bacdb25607aa3eee4b53093d83f5c", "Verified by execution": "1c4dd61aa39a909b81e11acea882bee4dec628b47763cc4dccca63dbc5f885bb", "Verified catalog": "8f408d980918dbb3a719ced82bf7e18c80a41382f2e3d444528defc5fa24623a", "Verifies behavior, regression scenarios, and user-facing workflows.": "b0845a7154f2567bfbe99c9649c79df3019b654217110f0d1b94f477dd91c78d", + "Verify": "eea2745e2867a6772adc3e813211e6ce7b6ebd312d7e84a7c1b1aa2f8c75fd4b", "Verify before use": "687f00a3911b398fd3e9df5675ecd82fba1fd114e17e2f868f4b04914679db33", + "Verify current changes": "547006b60c4136a531a18526bb7822b118268902f4f457bff86ab03e2a5e7e3f", "Verify the key, account access, balance, and model permission for this provider.": "5ba03b132333df8c1d7b130335bfa5a4034517c93f2a8725019d0d0eec7eb401", "Verifying": "a7d4a9f301edaa61ef561aaba1847d2729a900ea00bbf358953f99d99d913666", "Verifying integration candidate": "05a26deacc8035b95bfce5888134aaa287046d2727ef374e1ae39b07a59daadc", @@ -8790,9 +8800,11 @@ "cancelling": "ரத்துசெய்கிறது", "Cancelling": "ரத்துசெய்கிறது", "Candidate approved for draft": "வரைவுக்கு வேட்பாளர் அங்கீகரிக்கப்பட்டார்", + "Candidate changed since verification": "சரிபார்ப்புக்குப் பிறகு வேட்பாளர் மாற்றப்பட்டார்", "Candidate cluster is not bound to a channel.": "கேண்டிடேட் கிளஸ்டர் ஒரு சேனலுடன் பிணைக்கப்படவில்லை.", "Candidate Clusters": "வேட்பாளர் கிளஸ்டர்கள்", "Candidate commit: {commit}": "வேட்பாளர் உறுதி: {commit}", + "Candidate comparison unavailable": "வேட்பாளர் ஒப்பீடு கிடைக்கவில்லை", "Candidate details": "வேட்பாளர் விவரங்கள்", "Candidate generation": "வேட்பாளர் தலைமுறை", "Candidate generation and recording": "வேட்பாளர் உருவாக்கம் மற்றும் பதிவு", @@ -8966,6 +8978,7 @@ "Check member status": "உறுப்பினர் நிலையை சரிபார்க்கவும்", "Check member status to load readiness.": "தயார்நிலையை ஏற்ற உறுப்பினர் நிலையைச் சரிபார்க்கவும்.", "Check needed": "சரிபார்க்கவும்", + "Check output": "வெளியீட்டைச் சரிபார்க்கவும்", "Check passed": "காசோலை நிறைவேற்றப்பட்டது", "Check preset": "முன்னமைவை சரிபார்க்கவும்", "Check provider": "வழங்குநரைச் சரிபார்க்கவும்", @@ -12354,6 +12367,7 @@ "Participant label": "பங்கேற்பாளர் லேபிள்", "Participants": "பங்கேற்பாளர்கள்", "Pass": "பாஸ்", + "Passed": "தேர்ச்சி பெற்றார்", "Password": "கடவுச்சொல்", "Paste a Ling memory Markdown export": "Ling நினைவக மார்க் டவுன் ஏற்றுமதியை ஒட்டவும்", "Paste an API key in Model Workbench, then Save.": "மாதிரி வொர்க்பெஞ்சில் API விசையை ஒட்டவும், பின்னர் சேமி.", @@ -12959,6 +12973,7 @@ "Refresh the library to load Ling built-in skills.": "Ling உள்ளமைக்கப்பட்ட திறன்களை ஏற்ற நூலகத்தைப் புதுப்பிக்கவும்.", "Refresh to load member readiness.": "உறுப்பினர் தயார்நிலையை ஏற்றுவதற்கு புதுப்பிக்கவும்.", "Refresh to load the selected channel's workflow and credential state.": "தேர்ந்தெடுக்கப்பட்ட சேனலின் பணிப்பாய்வு மற்றும் நற்சான்றிதழ் நிலையை ஏற்ற, புதுப்பிக்கவும்.", + "Refresh verification": "சரிபார்ப்பைப் புதுப்பிக்கவும்", "Refresh work summary": "Refresh work summary", "Refresh workflow templates": "Refresh workflow templates", "Refresh workspace": "பணியிடத்தைப் புதுப்பிக்கவும்", @@ -14186,6 +14201,7 @@ "Stop scheduler": "திட்டமிடுபவரை நிறுத்து", "Stop the current reply or queue new guidance.": "தற்போதைய பதிலை நிறுத்தவும் அல்லது புதிய வழிகாட்டுதலை வரிசைப்படுத்தவும்.", "Stop using": "பயன்படுத்துவதை நிறுத்துங்கள்", + "Stop verification": "சரிபார்ப்பை நிறுத்து", "Stopped": "நிறுத்தப்பட்டது", "Stopped {title}": "நிறுத்தப்பட்டது {title}", "Stopped at {step}: {status}.": "{step}: {status} இல் நிறுத்தப்பட்டது.", @@ -14895,6 +14911,7 @@ "Unknown provider": "அறியப்படாத வழங்குநர்", "Unknown size": "அறியப்படாத அளவு", "Unknown source": "அறியப்படாத ஆதாரம்", + "Unknown status": "தெரியாத நிலை", "Unknown teammate": "தெரியாத அணி வீரர்", "unknown_outcome": "முடிவு தெரியவில்லை", "unknown_provider_capability": "அறியப்படாத வழங்குநர் திறன்", @@ -15069,12 +15086,15 @@ "Vector dimensions": "திசையன் பரிமாணங்கள்", "Vector retrieval": "திசையன் மீட்டெடுப்பு", "Verdict": "தீர்ப்பு", + "Verification": "சரிபார்ப்பு", "verified": "சரிபார்க்கப்பட்டது", "Verified": "சரிபார்க்கப்பட்டது", "Verified by execution": "செயல்படுத்துவதன் மூலம் சரிபார்க்கப்பட்டது", "Verified catalog": "சரிபார்க்கப்பட்ட பட்டியல்", "Verifies behavior, regression scenarios, and user-facing workflows.": "நடத்தை, பின்னடைவு காட்சிகள் மற்றும் பயனர் எதிர்கொள்ளும் பணிப்பாய்வுகளை சரிபார்க்கிறது.", + "Verify": "சரிபார்க்கவும்", "Verify before use": "பயன்படுத்துவதற்கு முன் சரிபார்க்கவும்", + "Verify current changes": "தற்போதைய மாற்றங்களைச் சரிபார்க்கவும்", "Verify the key, account access, balance, and model permission for this provider.": "இந்த வழங்குனருக்கான விசை, கணக்கு அணுகல், இருப்பு மற்றும் மாதிரி அனுமதி ஆகியவற்றைச் சரிபார்க்கவும்.", "Verifying": "சரிபார்க்கிறது", "Verifying integration candidate": "ஒருங்கிணைப்பு வேட்பாளர் சரிபார்க்கிறது", diff --git a/packages/localization/catalogs/te-IN.json b/packages/localization/catalogs/te-IN.json index 48a159419..eea1c459b 100644 --- a/packages/localization/catalogs/te-IN.json +++ b/packages/localization/catalogs/te-IN.json @@ -1,6 +1,6 @@ { "locale": "te-IN", - "sourceRevision": "72f77c6fb25583bb1468e040086563074b7830e025f2fc657144dc0e4aad37c1", + "sourceRevision": "214db76d79f1a5c0fd915c110a2ead6dbb978b58398846e982a0c1ff0cb53108", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -1081,9 +1081,11 @@ "cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Candidate approved for draft": "59a57b9b459b3215e76b651f73f6521bc1bd71fa66bb52e046368a559db6632b", + "Candidate changed since verification": "a2808e03661077a04403dab2204b7ce8d78310c296600bd03c5766a754f216a6", "Candidate cluster is not bound to a channel.": "6066a4e8725d065a7c2b8d2c8974a60c41c0a94124deeabd972f620ddd815786", "Candidate Clusters": "b617f8ce5325fa8984c324816b08d3a26c05dac3c3276bcc4f4ab7196222dbe4", "Candidate commit: {commit}": "09bfd331d31184edc3eb1f8eab93bb1f6bc0cb640c0d1e1b53178e9eca4babbd", + "Candidate comparison unavailable": "f3bcf514a4febc720648d70be4d772e8ed9228ec5e7651edda3c229ddab6b627", "Candidate details": "17394d22b095121d9f0d77ff6d121c01383175fa17242bcd9f04bd61f182b5c9", "Candidate generation": "9d360a71a5d82995775df6401ac1d1f7257a68ad462bab70abb494e14239d3d3", "Candidate generation and recording": "d3af53b1912f971078c187ce9260949e68e49f0c2ea954c216a06fe2baa2acc9", @@ -1257,6 +1259,7 @@ "Check member status": "ff155af014d0b6e94cbf2fca3b01cf8d5725732f178eee985083478adb4a62f5", "Check member status to load readiness.": "6f7f338e22e626b134643fbaec898cf8e8efd19b85eeb6193b4ca0d5d63c4528", "Check needed": "561a32f0c83e5a4fe8d77d891bd4b954d514ea021b4a18e68a3607f5d8747841", + "Check output": "250d2e9675d6d399c668a5e496d0caf2913e14b5ea21036fa8ee2dad94ad4d46", "Check passed": "2f6697a2389d7a3c059e7c0435569b37c78275d752bdf9b9e1c5d94f3d0eeeaf", "Check preset": "85e9cc57cbd02e87de7d5213d2627e64f0ae2e3211dd62045b7c2e3dc2bcd45c", "Check provider": "655b6b054c32b6850e6bc245f79b03cb2513ab227e96e7e4a6fb3269daf60119", @@ -4645,6 +4648,7 @@ "Participant label": "ac9acb52867f8141cbc1741f20bbd2766f819aa569c1191dcac3855ba53b59fc", "Participants": "0e27279b3302db0448a2acf5d923ffb09b75270c2e957bfb93f54815d2146aa4", "Pass": "ebdf8cc00bc4d9ceee633c56c63b49955769a92ca060825c9b08e4af61326e2b", + "Passed": "436fe71bb9561f0596161c4d50c7b23327b4189acaf63dc89f4f9205b67a7528", "Password": "e7cf3ef4f17c3999a94f2c6f612e8a888e5b1026878e4e19398b23bd38ec221a", "Paste a Ling memory Markdown export": "3efbebfd30ffeb6bfba59beb91961665a830db73fea934f7fed5394666a7c901", "Paste an API key in Model Workbench, then Save.": "07d4307d7f787295b9cfe97f60114a53060c0f9319a38a5c935fb3f76aceb2cc", @@ -5250,6 +5254,7 @@ "Refresh the library to load Ling built-in skills.": "c1c70580c6d18d99477517ed4d8e7b1b2d7ce26b1c7e932cb3260eeef43008c2", "Refresh to load member readiness.": "b7018c54ba477bad3f292cefce02f582783c67f459e84182d3fe06e53cfe3236", "Refresh to load the selected channel's workflow and credential state.": "290fe59158244da3b9914566b3df31b8f15d3a66fd3ffd9661da282028522f59", + "Refresh verification": "c444d5a4e36d9ec9e448c2eb179a6ef45d3594cd02c264f699a83a04bb51749f", "Refresh work summary": "ccd4dcacf0460eb1ca7749ead055fbffcd395e4f8a0c0f9292d390394b80a78e", "Refresh workflow templates": "1d5c58c6bb31f588e7992a8fe14fc3bb3ad2f52396c0302dd980d4dfdaf1acaa", "Refresh workspace": "306960dcad4c285f46eb5bffbb815be8ebe98657bfed1a901e44b68c7c9f417d", @@ -6477,6 +6482,7 @@ "Stop scheduler": "da6153337089386cf80b918ffbd2f2a43a8876a76da3ca671200898a73695940", "Stop the current reply or queue new guidance.": "ef65bd0c8e0943cd194a61f0b0714870faf9081eeebdccb2967aabf880477457", "Stop using": "ef22ba68c9e447df816d52baba2d198b9d230a7b92291b0e683c38dd39fd94d7", + "Stop verification": "4d90de345e4b79787a78322b9da1ef2fd9c70098caae9af1208c37adc972ec73", "Stopped": "1a4f630ac1b69fd00728fa8a672ded71d0eae8516cb23e78f94529113399b79b", "Stopped {title}": "a2bb8d21f8b1fc6f69326965aabb4596bb14403cfc02644e3da7c3d99bda4a7f", "Stopped at {step}: {status}.": "a911b75c20e85b6fc45f8d484a34b9f7b844947fd5de54f289305ebd339951b7", @@ -7186,6 +7192,7 @@ "Unknown provider": "59080be0f444945a37e28b48166f9ddeb710cda7f656bb3827a684fffbcf4524", "Unknown size": "fffbd4ecf2ad3884acfc08d4fe61477737434672c0307bb3c08d2e876c0fd704", "Unknown source": "cbc86fd9d9357166a3076a90fd8957b816b3a516b79dc76d84e066daf984f83f", + "Unknown status": "15eebb6f74cc8a5a2a3eb6897533ded3d7c3e52b32cf617087a4793fef134ba0", "Unknown teammate": "491ea2ec8a112ef7fe0bc1368d78168f5a9208e5f9ca8587f8dd5ce1c1c5ef1f", "unknown_outcome": "164557364fc9e34fcc5fa0329a356a7d7042c4797b82a38cf0954e95185ad11d", "unknown_provider_capability": "f7ac373b31c9f98e1b1017117bf429d8b16a92030073b5b5eb5c30de06cdec8b", @@ -7360,12 +7367,15 @@ "Vector dimensions": "9d95d3f89905adeb9db91dc8afa0187d3e97858b2ec6e5ce78c0312ce1e99254", "Vector retrieval": "48180b50b6fc222ac72ac2cb38ac7d89c9b1cccd51392b6eae57b46a8ec6cd44", "Verdict": "4a36f89dafb0a1014671aaf16e3a380a999a33836e4c3a31fe5594a7da034da5", + "Verification": "7140f4f19dec525960aabacb5741a125876c7d85f8cfa9c899cc8880651ddf61", "verified": "1c34f88707b55e6104c4eb20e71ffa3d33e414b71ef689a15fad0640d0ac58cb", "Verified": "4f7838402f37674e8ebedb6cf048c0aea66bacdb25607aa3eee4b53093d83f5c", "Verified by execution": "1c4dd61aa39a909b81e11acea882bee4dec628b47763cc4dccca63dbc5f885bb", "Verified catalog": "8f408d980918dbb3a719ced82bf7e18c80a41382f2e3d444528defc5fa24623a", "Verifies behavior, regression scenarios, and user-facing workflows.": "b0845a7154f2567bfbe99c9649c79df3019b654217110f0d1b94f477dd91c78d", + "Verify": "eea2745e2867a6772adc3e813211e6ce7b6ebd312d7e84a7c1b1aa2f8c75fd4b", "Verify before use": "687f00a3911b398fd3e9df5675ecd82fba1fd114e17e2f868f4b04914679db33", + "Verify current changes": "547006b60c4136a531a18526bb7822b118268902f4f457bff86ab03e2a5e7e3f", "Verify the key, account access, balance, and model permission for this provider.": "5ba03b132333df8c1d7b130335bfa5a4034517c93f2a8725019d0d0eec7eb401", "Verifying": "a7d4a9f301edaa61ef561aaba1847d2729a900ea00bbf358953f99d99d913666", "Verifying integration candidate": "05a26deacc8035b95bfce5888134aaa287046d2727ef374e1ae39b07a59daadc", @@ -8790,9 +8800,11 @@ "cancelling": "రద్దు చేస్తోంది", "Cancelling": "రద్దు చేస్తోంది", "Candidate approved for draft": "ముసాయిదా కోసం అభ్యర్థి ఆమోదించబడ్డారు", + "Candidate changed since verification": "ధృవీకరణ తర్వాత అభ్యర్థి మారారు", "Candidate cluster is not bound to a channel.": "అభ్యర్థి క్లస్టర్ ఛానెల్‌కు కట్టుబడి ఉండదు.", "Candidate Clusters": "అభ్యర్థుల క్లస్టర్లు", "Candidate commit: {commit}": "అభ్యర్థి కట్టుబడి: {commit}", + "Candidate comparison unavailable": "అభ్యర్థి పోలిక అందుబాటులో లేదు", "Candidate details": "అభ్యర్థి వివరాలు", "Candidate generation": "అభ్యర్థి తరం", "Candidate generation and recording": "అభ్యర్థి ఉత్పత్తి మరియు రికార్డింగ్", @@ -8966,6 +8978,7 @@ "Check member status": "సభ్యుల స్థితిని తనిఖీ చేయండి", "Check member status to load readiness.": "సంసిద్ధతను లోడ్ చేయడానికి సభ్యుల స్థితిని తనిఖీ చేయండి.", "Check needed": "చెక్ అవసరం", + "Check output": "అవుట్‌పుట్‌ని తనిఖీ చేయండి", "Check passed": "చెక్ పాస్ అయింది", "Check preset": "ప్రీసెట్‌ని తనిఖీ చేయండి", "Check provider": "ప్రొవైడర్‌ని తనిఖీ చేయండి", @@ -12354,6 +12367,7 @@ "Participant label": "పార్టిసిపెంట్ లేబుల్", "Participants": "పాల్గొనేవారు", "Pass": "పాస్", + "Passed": "ఉత్తీర్ణులయ్యారు", "Password": "పాస్వర్డ్", "Paste a Ling memory Markdown export": "Ling మెమరీ మార్క్‌డౌన్ ఎగుమతిని అతికించండి", "Paste an API key in Model Workbench, then Save.": "మోడల్ వర్క్‌బెంచ్‌లో API కీని అతికించి, ఆపై సేవ్ చేయండి.", @@ -12959,6 +12973,7 @@ "Refresh the library to load Ling built-in skills.": "Ling అంతర్నిర్మిత నైపుణ్యాలను లోడ్ చేయడానికి లైబ్రరీని రిఫ్రెష్ చేయండి.", "Refresh to load member readiness.": "సభ్యుల సంసిద్ధతను లోడ్ చేయడానికి రిఫ్రెష్ చేయండి.", "Refresh to load the selected channel's workflow and credential state.": "ఎంచుకున్న ఛానెల్ వర్క్‌ఫ్లో మరియు క్రెడెన్షియల్ స్థితిని లోడ్ చేయడానికి రిఫ్రెష్ చేయండి.", + "Refresh verification": "ధృవీకరణను రిఫ్రెష్ చేయండి", "Refresh work summary": "Refresh work summary", "Refresh workflow templates": "Refresh workflow templates", "Refresh workspace": "కార్యస్థలాన్ని రిఫ్రెష్ చేయండి", @@ -14186,6 +14201,7 @@ "Stop scheduler": "షెడ్యూలర్‌ని ఆపు", "Stop the current reply or queue new guidance.": "ప్రస్తుత ప్రత్యుత్తరాన్ని ఆపివేయండి లేదా కొత్త మార్గదర్శకానికి వరుసలో ఉండండి.", "Stop using": "ఉపయోగించడం ఆపు", + "Stop verification": "ధృవీకరణను ఆపివేయండి", "Stopped": "ఆగిపోయింది", "Stopped {title}": "{title} ఆగిపోయింది", "Stopped at {step}: {status}.": "{step}: {status} వద్ద ఆగిపోయింది.", @@ -14895,6 +14911,7 @@ "Unknown provider": "తెలియని ప్రొవైడర్", "Unknown size": "తెలియని పరిమాణం", "Unknown source": "తెలియని మూలం", + "Unknown status": "తెలియని స్థితి", "Unknown teammate": "తెలియని సహచరుడు", "unknown_outcome": "ఫలితం తెలియదు", "unknown_provider_capability": "తెలియని ప్రొవైడర్ సామర్థ్యం", @@ -15069,12 +15086,15 @@ "Vector dimensions": "వెక్టర్ కొలతలు", "Vector retrieval": "వెక్టర్ రిట్రీవల్", "Verdict": "తీర్పు", + "Verification": "ధృవీకరణ", "verified": "ధృవీకరించబడింది", "Verified": "ధృవీకరించబడింది", "Verified by execution": "అమలు ద్వారా ధృవీకరించబడింది", "Verified catalog": "ధృవీకరించబడిన కేటలాగ్", "Verifies behavior, regression scenarios, and user-facing workflows.": "ప్రవర్తన, రిగ్రెషన్ దృశ్యాలు మరియు వినియోగదారు-ఫేసింగ్ వర్క్‌ఫ్లోలను ధృవీకరిస్తుంది.", + "Verify": "ధృవీకరించండి", "Verify before use": "ఉపయోగం ముందు ధృవీకరించండి", + "Verify current changes": "ప్రస్తుత మార్పులను ధృవీకరించండి", "Verify the key, account access, balance, and model permission for this provider.": "ఈ ప్రొవైడర్ కోసం కీ, ఖాతా యాక్సెస్, బ్యాలెన్స్ మరియు మోడల్ అనుమతిని ధృవీకరించండి.", "Verifying": "ధృవీకరిస్తోంది", "Verifying integration candidate": "ఇంటిగ్రేషన్ అభ్యర్థిని ధృవీకరిస్తోంది", diff --git a/packages/localization/catalogs/th-TH.json b/packages/localization/catalogs/th-TH.json index 12cd8372f..ad544ec60 100644 --- a/packages/localization/catalogs/th-TH.json +++ b/packages/localization/catalogs/th-TH.json @@ -1,6 +1,6 @@ { "locale": "th-TH", - "sourceRevision": "72f77c6fb25583bb1468e040086563074b7830e025f2fc657144dc0e4aad37c1", + "sourceRevision": "214db76d79f1a5c0fd915c110a2ead6dbb978b58398846e982a0c1ff0cb53108", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -1081,9 +1081,11 @@ "cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Candidate approved for draft": "59a57b9b459b3215e76b651f73f6521bc1bd71fa66bb52e046368a559db6632b", + "Candidate changed since verification": "a2808e03661077a04403dab2204b7ce8d78310c296600bd03c5766a754f216a6", "Candidate cluster is not bound to a channel.": "6066a4e8725d065a7c2b8d2c8974a60c41c0a94124deeabd972f620ddd815786", "Candidate Clusters": "b617f8ce5325fa8984c324816b08d3a26c05dac3c3276bcc4f4ab7196222dbe4", "Candidate commit: {commit}": "09bfd331d31184edc3eb1f8eab93bb1f6bc0cb640c0d1e1b53178e9eca4babbd", + "Candidate comparison unavailable": "f3bcf514a4febc720648d70be4d772e8ed9228ec5e7651edda3c229ddab6b627", "Candidate details": "17394d22b095121d9f0d77ff6d121c01383175fa17242bcd9f04bd61f182b5c9", "Candidate generation": "9d360a71a5d82995775df6401ac1d1f7257a68ad462bab70abb494e14239d3d3", "Candidate generation and recording": "d3af53b1912f971078c187ce9260949e68e49f0c2ea954c216a06fe2baa2acc9", @@ -1257,6 +1259,7 @@ "Check member status": "ff155af014d0b6e94cbf2fca3b01cf8d5725732f178eee985083478adb4a62f5", "Check member status to load readiness.": "6f7f338e22e626b134643fbaec898cf8e8efd19b85eeb6193b4ca0d5d63c4528", "Check needed": "561a32f0c83e5a4fe8d77d891bd4b954d514ea021b4a18e68a3607f5d8747841", + "Check output": "250d2e9675d6d399c668a5e496d0caf2913e14b5ea21036fa8ee2dad94ad4d46", "Check passed": "2f6697a2389d7a3c059e7c0435569b37c78275d752bdf9b9e1c5d94f3d0eeeaf", "Check preset": "85e9cc57cbd02e87de7d5213d2627e64f0ae2e3211dd62045b7c2e3dc2bcd45c", "Check provider": "655b6b054c32b6850e6bc245f79b03cb2513ab227e96e7e4a6fb3269daf60119", @@ -4645,6 +4648,7 @@ "Participant label": "ac9acb52867f8141cbc1741f20bbd2766f819aa569c1191dcac3855ba53b59fc", "Participants": "0e27279b3302db0448a2acf5d923ffb09b75270c2e957bfb93f54815d2146aa4", "Pass": "ebdf8cc00bc4d9ceee633c56c63b49955769a92ca060825c9b08e4af61326e2b", + "Passed": "436fe71bb9561f0596161c4d50c7b23327b4189acaf63dc89f4f9205b67a7528", "Password": "e7cf3ef4f17c3999a94f2c6f612e8a888e5b1026878e4e19398b23bd38ec221a", "Paste a Ling memory Markdown export": "3efbebfd30ffeb6bfba59beb91961665a830db73fea934f7fed5394666a7c901", "Paste an API key in Model Workbench, then Save.": "07d4307d7f787295b9cfe97f60114a53060c0f9319a38a5c935fb3f76aceb2cc", @@ -5250,6 +5254,7 @@ "Refresh the library to load Ling built-in skills.": "c1c70580c6d18d99477517ed4d8e7b1b2d7ce26b1c7e932cb3260eeef43008c2", "Refresh to load member readiness.": "b7018c54ba477bad3f292cefce02f582783c67f459e84182d3fe06e53cfe3236", "Refresh to load the selected channel's workflow and credential state.": "290fe59158244da3b9914566b3df31b8f15d3a66fd3ffd9661da282028522f59", + "Refresh verification": "c444d5a4e36d9ec9e448c2eb179a6ef45d3594cd02c264f699a83a04bb51749f", "Refresh work summary": "ccd4dcacf0460eb1ca7749ead055fbffcd395e4f8a0c0f9292d390394b80a78e", "Refresh workflow templates": "1d5c58c6bb31f588e7992a8fe14fc3bb3ad2f52396c0302dd980d4dfdaf1acaa", "Refresh workspace": "306960dcad4c285f46eb5bffbb815be8ebe98657bfed1a901e44b68c7c9f417d", @@ -6477,6 +6482,7 @@ "Stop scheduler": "da6153337089386cf80b918ffbd2f2a43a8876a76da3ca671200898a73695940", "Stop the current reply or queue new guidance.": "ef65bd0c8e0943cd194a61f0b0714870faf9081eeebdccb2967aabf880477457", "Stop using": "ef22ba68c9e447df816d52baba2d198b9d230a7b92291b0e683c38dd39fd94d7", + "Stop verification": "4d90de345e4b79787a78322b9da1ef2fd9c70098caae9af1208c37adc972ec73", "Stopped": "1a4f630ac1b69fd00728fa8a672ded71d0eae8516cb23e78f94529113399b79b", "Stopped {title}": "a2bb8d21f8b1fc6f69326965aabb4596bb14403cfc02644e3da7c3d99bda4a7f", "Stopped at {step}: {status}.": "a911b75c20e85b6fc45f8d484a34b9f7b844947fd5de54f289305ebd339951b7", @@ -7186,6 +7192,7 @@ "Unknown provider": "59080be0f444945a37e28b48166f9ddeb710cda7f656bb3827a684fffbcf4524", "Unknown size": "fffbd4ecf2ad3884acfc08d4fe61477737434672c0307bb3c08d2e876c0fd704", "Unknown source": "cbc86fd9d9357166a3076a90fd8957b816b3a516b79dc76d84e066daf984f83f", + "Unknown status": "15eebb6f74cc8a5a2a3eb6897533ded3d7c3e52b32cf617087a4793fef134ba0", "Unknown teammate": "491ea2ec8a112ef7fe0bc1368d78168f5a9208e5f9ca8587f8dd5ce1c1c5ef1f", "unknown_outcome": "164557364fc9e34fcc5fa0329a356a7d7042c4797b82a38cf0954e95185ad11d", "unknown_provider_capability": "f7ac373b31c9f98e1b1017117bf429d8b16a92030073b5b5eb5c30de06cdec8b", @@ -7360,12 +7367,15 @@ "Vector dimensions": "9d95d3f89905adeb9db91dc8afa0187d3e97858b2ec6e5ce78c0312ce1e99254", "Vector retrieval": "48180b50b6fc222ac72ac2cb38ac7d89c9b1cccd51392b6eae57b46a8ec6cd44", "Verdict": "4a36f89dafb0a1014671aaf16e3a380a999a33836e4c3a31fe5594a7da034da5", + "Verification": "7140f4f19dec525960aabacb5741a125876c7d85f8cfa9c899cc8880651ddf61", "verified": "1c34f88707b55e6104c4eb20e71ffa3d33e414b71ef689a15fad0640d0ac58cb", "Verified": "4f7838402f37674e8ebedb6cf048c0aea66bacdb25607aa3eee4b53093d83f5c", "Verified by execution": "1c4dd61aa39a909b81e11acea882bee4dec628b47763cc4dccca63dbc5f885bb", "Verified catalog": "8f408d980918dbb3a719ced82bf7e18c80a41382f2e3d444528defc5fa24623a", "Verifies behavior, regression scenarios, and user-facing workflows.": "b0845a7154f2567bfbe99c9649c79df3019b654217110f0d1b94f477dd91c78d", + "Verify": "eea2745e2867a6772adc3e813211e6ce7b6ebd312d7e84a7c1b1aa2f8c75fd4b", "Verify before use": "687f00a3911b398fd3e9df5675ecd82fba1fd114e17e2f868f4b04914679db33", + "Verify current changes": "547006b60c4136a531a18526bb7822b118268902f4f457bff86ab03e2a5e7e3f", "Verify the key, account access, balance, and model permission for this provider.": "5ba03b132333df8c1d7b130335bfa5a4034517c93f2a8725019d0d0eec7eb401", "Verifying": "a7d4a9f301edaa61ef561aaba1847d2729a900ea00bbf358953f99d99d913666", "Verifying integration candidate": "05a26deacc8035b95bfce5888134aaa287046d2727ef374e1ae39b07a59daadc", @@ -8790,9 +8800,11 @@ "cancelling": "กำลังยกเลิก", "Cancelling": "กำลังยกเลิก", "Candidate approved for draft": "ผู้สมัครได้รับการอนุมัติสำหรับร่าง", + "Candidate changed since verification": "ผู้สมัครมีการเปลี่ยนแปลงตั้งแต่การยืนยัน", "Candidate cluster is not bound to a channel.": "คลัสเตอร์ผู้สมัครไม่ได้ผูกไว้กับช่องทาง", "Candidate Clusters": "กลุ่มผู้สมัคร", "Candidate commit: {commit}": "การกระทำของผู้สมัคร: {commit}", + "Candidate comparison unavailable": "ไม่สามารถเปรียบเทียบผู้สมัครได้", "Candidate details": "รายละเอียดผู้สมัคร", "Candidate generation": "รุ่นผู้สมัคร", "Candidate generation and recording": "การสร้างและการบันทึกผู้สมัคร", @@ -8966,6 +8978,7 @@ "Check member status": "ตรวจสอบสถานะสมาชิก", "Check member status to load readiness.": "ตรวจสอบสถานะสมาชิกเพื่อโหลดความพร้อม", "Check needed": "จำเป็นต้องตรวจสอบ", + "Check output": "ตรวจสอบเอาท์พุท", "Check passed": "เช็คผ่านแล้ว", "Check preset": "ตรวจสอบค่าที่ตั้งล่วงหน้า", "Check provider": "ตรวจสอบผู้ให้บริการ", @@ -12354,6 +12367,7 @@ "Participant label": "ป้ายกำกับผู้เข้าร่วม", "Participants": "ผู้เข้าร่วม", "Pass": "ผ่าน", + "Passed": "ผ่านไป", "Password": "รหัสผ่าน", "Paste a Ling memory Markdown export": "วางการส่งออก Markdown หน่วยความจำ Ling", "Paste an API key in Model Workbench, then Save.": "วางคีย์ API ใน Model Workbench จากนั้นบันทึก", @@ -12959,6 +12973,7 @@ "Refresh the library to load Ling built-in skills.": "รีเฟรชไลบรารีเพื่อโหลด Ling ทักษะในตัว", "Refresh to load member readiness.": "รีเฟรชเพื่อโหลดความพร้อมของสมาชิก", "Refresh to load the selected channel's workflow and credential state.": "รีเฟรชเพื่อโหลดเวิร์กโฟลว์และสถานะข้อมูลรับรองของช่องที่เลือก", + "Refresh verification": "รีเฟรชการยืนยัน", "Refresh work summary": "Refresh work summary", "Refresh workflow templates": "Refresh workflow templates", "Refresh workspace": "รีเฟรชพื้นที่ทำงาน", @@ -14186,6 +14201,7 @@ "Stop scheduler": "หยุดตัวกำหนดเวลา", "Stop the current reply or queue new guidance.": "หยุดการตอบกลับปัจจุบันหรือจัดคิวคำแนะนำใหม่", "Stop using": "หยุดใช้", + "Stop verification": "หยุดการยืนยัน", "Stopped": "หยุดแล้ว", "Stopped {title}": "หยุด {title}", "Stopped at {step}: {status}.": "หยุดที่ {step}: {status}", @@ -14895,6 +14911,7 @@ "Unknown provider": "ผู้ให้บริการที่ไม่รู้จัก", "Unknown size": "ขนาดที่ไม่รู้จัก", "Unknown source": "ไม่ทราบแหล่งที่มา", + "Unknown status": "สถานะที่ไม่รู้จัก", "Unknown teammate": "เพื่อนร่วมทีมที่ไม่รู้จัก", "unknown_outcome": "ไม่ทราบผลลัพธ์", "unknown_provider_capability": "ความสามารถของผู้ให้บริการที่ไม่รู้จัก", @@ -15069,12 +15086,15 @@ "Vector dimensions": "ขนาดเวกเตอร์", "Vector retrieval": "การดึงข้อมูลเวกเตอร์", "Verdict": "คำตัดสิน", + "Verification": "การยืนยัน", "verified": "ตรวจสอบแล้ว", "Verified": "ตรวจสอบแล้ว", "Verified by execution": "ตรวจสอบโดยการดำเนินการ", "Verified catalog": "แคตตาล็อกที่ได้รับการยืนยัน", "Verifies behavior, regression scenarios, and user-facing workflows.": "ตรวจสอบพฤติกรรม สถานการณ์การถดถอย และเวิร์กโฟลว์ที่ต้องพบปะกับผู้ใช้", + "Verify": "ตรวจสอบ", "Verify before use": "ตรวจสอบก่อนใช้งาน", + "Verify current changes": "ตรวจสอบการเปลี่ยนแปลงปัจจุบัน", "Verify the key, account access, balance, and model permission for this provider.": "ตรวจสอบคีย์ การเข้าถึงบัญชี ยอดคงเหลือ และการอนุญาตโมเดลสำหรับผู้ให้บริการรายนี้", "Verifying": "กำลังยืนยัน", "Verifying integration candidate": "การตรวจสอบผู้สมัครบูรณาการ", diff --git a/packages/localization/catalogs/tr-TR.json b/packages/localization/catalogs/tr-TR.json index ccb17820a..c7855495d 100644 --- a/packages/localization/catalogs/tr-TR.json +++ b/packages/localization/catalogs/tr-TR.json @@ -1,6 +1,6 @@ { "locale": "tr-TR", - "sourceRevision": "72f77c6fb25583bb1468e040086563074b7830e025f2fc657144dc0e4aad37c1", + "sourceRevision": "214db76d79f1a5c0fd915c110a2ead6dbb978b58398846e982a0c1ff0cb53108", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -1081,9 +1081,11 @@ "cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Candidate approved for draft": "59a57b9b459b3215e76b651f73f6521bc1bd71fa66bb52e046368a559db6632b", + "Candidate changed since verification": "a2808e03661077a04403dab2204b7ce8d78310c296600bd03c5766a754f216a6", "Candidate cluster is not bound to a channel.": "6066a4e8725d065a7c2b8d2c8974a60c41c0a94124deeabd972f620ddd815786", "Candidate Clusters": "b617f8ce5325fa8984c324816b08d3a26c05dac3c3276bcc4f4ab7196222dbe4", "Candidate commit: {commit}": "09bfd331d31184edc3eb1f8eab93bb1f6bc0cb640c0d1e1b53178e9eca4babbd", + "Candidate comparison unavailable": "f3bcf514a4febc720648d70be4d772e8ed9228ec5e7651edda3c229ddab6b627", "Candidate details": "17394d22b095121d9f0d77ff6d121c01383175fa17242bcd9f04bd61f182b5c9", "Candidate generation": "9d360a71a5d82995775df6401ac1d1f7257a68ad462bab70abb494e14239d3d3", "Candidate generation and recording": "d3af53b1912f971078c187ce9260949e68e49f0c2ea954c216a06fe2baa2acc9", @@ -1257,6 +1259,7 @@ "Check member status": "ff155af014d0b6e94cbf2fca3b01cf8d5725732f178eee985083478adb4a62f5", "Check member status to load readiness.": "6f7f338e22e626b134643fbaec898cf8e8efd19b85eeb6193b4ca0d5d63c4528", "Check needed": "561a32f0c83e5a4fe8d77d891bd4b954d514ea021b4a18e68a3607f5d8747841", + "Check output": "250d2e9675d6d399c668a5e496d0caf2913e14b5ea21036fa8ee2dad94ad4d46", "Check passed": "2f6697a2389d7a3c059e7c0435569b37c78275d752bdf9b9e1c5d94f3d0eeeaf", "Check preset": "85e9cc57cbd02e87de7d5213d2627e64f0ae2e3211dd62045b7c2e3dc2bcd45c", "Check provider": "655b6b054c32b6850e6bc245f79b03cb2513ab227e96e7e4a6fb3269daf60119", @@ -4645,6 +4648,7 @@ "Participant label": "ac9acb52867f8141cbc1741f20bbd2766f819aa569c1191dcac3855ba53b59fc", "Participants": "0e27279b3302db0448a2acf5d923ffb09b75270c2e957bfb93f54815d2146aa4", "Pass": "ebdf8cc00bc4d9ceee633c56c63b49955769a92ca060825c9b08e4af61326e2b", + "Passed": "436fe71bb9561f0596161c4d50c7b23327b4189acaf63dc89f4f9205b67a7528", "Password": "e7cf3ef4f17c3999a94f2c6f612e8a888e5b1026878e4e19398b23bd38ec221a", "Paste a Ling memory Markdown export": "3efbebfd30ffeb6bfba59beb91961665a830db73fea934f7fed5394666a7c901", "Paste an API key in Model Workbench, then Save.": "07d4307d7f787295b9cfe97f60114a53060c0f9319a38a5c935fb3f76aceb2cc", @@ -5250,6 +5254,7 @@ "Refresh the library to load Ling built-in skills.": "c1c70580c6d18d99477517ed4d8e7b1b2d7ce26b1c7e932cb3260eeef43008c2", "Refresh to load member readiness.": "b7018c54ba477bad3f292cefce02f582783c67f459e84182d3fe06e53cfe3236", "Refresh to load the selected channel's workflow and credential state.": "290fe59158244da3b9914566b3df31b8f15d3a66fd3ffd9661da282028522f59", + "Refresh verification": "c444d5a4e36d9ec9e448c2eb179a6ef45d3594cd02c264f699a83a04bb51749f", "Refresh work summary": "ccd4dcacf0460eb1ca7749ead055fbffcd395e4f8a0c0f9292d390394b80a78e", "Refresh workflow templates": "1d5c58c6bb31f588e7992a8fe14fc3bb3ad2f52396c0302dd980d4dfdaf1acaa", "Refresh workspace": "306960dcad4c285f46eb5bffbb815be8ebe98657bfed1a901e44b68c7c9f417d", @@ -6477,6 +6482,7 @@ "Stop scheduler": "da6153337089386cf80b918ffbd2f2a43a8876a76da3ca671200898a73695940", "Stop the current reply or queue new guidance.": "ef65bd0c8e0943cd194a61f0b0714870faf9081eeebdccb2967aabf880477457", "Stop using": "ef22ba68c9e447df816d52baba2d198b9d230a7b92291b0e683c38dd39fd94d7", + "Stop verification": "4d90de345e4b79787a78322b9da1ef2fd9c70098caae9af1208c37adc972ec73", "Stopped": "1a4f630ac1b69fd00728fa8a672ded71d0eae8516cb23e78f94529113399b79b", "Stopped {title}": "a2bb8d21f8b1fc6f69326965aabb4596bb14403cfc02644e3da7c3d99bda4a7f", "Stopped at {step}: {status}.": "a911b75c20e85b6fc45f8d484a34b9f7b844947fd5de54f289305ebd339951b7", @@ -7186,6 +7192,7 @@ "Unknown provider": "59080be0f444945a37e28b48166f9ddeb710cda7f656bb3827a684fffbcf4524", "Unknown size": "fffbd4ecf2ad3884acfc08d4fe61477737434672c0307bb3c08d2e876c0fd704", "Unknown source": "cbc86fd9d9357166a3076a90fd8957b816b3a516b79dc76d84e066daf984f83f", + "Unknown status": "15eebb6f74cc8a5a2a3eb6897533ded3d7c3e52b32cf617087a4793fef134ba0", "Unknown teammate": "491ea2ec8a112ef7fe0bc1368d78168f5a9208e5f9ca8587f8dd5ce1c1c5ef1f", "unknown_outcome": "164557364fc9e34fcc5fa0329a356a7d7042c4797b82a38cf0954e95185ad11d", "unknown_provider_capability": "f7ac373b31c9f98e1b1017117bf429d8b16a92030073b5b5eb5c30de06cdec8b", @@ -7360,12 +7367,15 @@ "Vector dimensions": "9d95d3f89905adeb9db91dc8afa0187d3e97858b2ec6e5ce78c0312ce1e99254", "Vector retrieval": "48180b50b6fc222ac72ac2cb38ac7d89c9b1cccd51392b6eae57b46a8ec6cd44", "Verdict": "4a36f89dafb0a1014671aaf16e3a380a999a33836e4c3a31fe5594a7da034da5", + "Verification": "7140f4f19dec525960aabacb5741a125876c7d85f8cfa9c899cc8880651ddf61", "verified": "1c34f88707b55e6104c4eb20e71ffa3d33e414b71ef689a15fad0640d0ac58cb", "Verified": "4f7838402f37674e8ebedb6cf048c0aea66bacdb25607aa3eee4b53093d83f5c", "Verified by execution": "1c4dd61aa39a909b81e11acea882bee4dec628b47763cc4dccca63dbc5f885bb", "Verified catalog": "8f408d980918dbb3a719ced82bf7e18c80a41382f2e3d444528defc5fa24623a", "Verifies behavior, regression scenarios, and user-facing workflows.": "b0845a7154f2567bfbe99c9649c79df3019b654217110f0d1b94f477dd91c78d", + "Verify": "eea2745e2867a6772adc3e813211e6ce7b6ebd312d7e84a7c1b1aa2f8c75fd4b", "Verify before use": "687f00a3911b398fd3e9df5675ecd82fba1fd114e17e2f868f4b04914679db33", + "Verify current changes": "547006b60c4136a531a18526bb7822b118268902f4f457bff86ab03e2a5e7e3f", "Verify the key, account access, balance, and model permission for this provider.": "5ba03b132333df8c1d7b130335bfa5a4034517c93f2a8725019d0d0eec7eb401", "Verifying": "a7d4a9f301edaa61ef561aaba1847d2729a900ea00bbf358953f99d99d913666", "Verifying integration candidate": "05a26deacc8035b95bfce5888134aaa287046d2727ef374e1ae39b07a59daadc", @@ -8790,9 +8800,11 @@ "cancelling": "İptal", "Cancelling": "İptal", "Candidate approved for draft": "Aday taslak için onaylandı", + "Candidate changed since verification": "Doğrulamadan bu yana aday değişti", "Candidate cluster is not bound to a channel.": "Aday kümesi bir kanala bağlı değildir.", "Candidate Clusters": "Aday Kümeleri", "Candidate commit: {commit}": "Aday taahhüdü: {commit}", + "Candidate comparison unavailable": "Aday karşılaştırması mevcut değil", "Candidate details": "Aday ayrıntıları", "Candidate generation": "Aday nesli", "Candidate generation and recording": "Aday oluşturma ve kaydetme", @@ -8966,6 +8978,7 @@ "Check member status": "Üye durumunu kontrol edin", "Check member status to load readiness.": "Hazırlık durumunu yüklemek için üye durumunu kontrol edin.", "Check needed": "Kontrol gerekli", + "Check output": "Çıkışı kontrol et", "Check passed": "Kontrol başarılı oldu", "Check preset": "Ön ayarı kontrol edin", "Check provider": "Sağlayıcıyı kontrol edin", @@ -12354,6 +12367,7 @@ "Participant label": "Katılımcı etiketi", "Participants": "Katılımcılar", "Pass": "Geçmek", + "Passed": "Geçti", "Password": "Şifre", "Paste a Ling memory Markdown export": "Ling bellek Markdown dışa aktarımını yapıştırın", "Paste an API key in Model Workbench, then Save.": "Model Workbench'e bir API anahtarı yapıştırın ve ardından Kaydet'i seçin.", @@ -12959,6 +12973,7 @@ "Refresh the library to load Ling built-in skills.": "Ling yerleşik becerileri yüklemek için kitaplığı yenileyin.", "Refresh to load member readiness.": "Üyelerin hazır olma durumunu yüklemek için yenileyin.", "Refresh to load the selected channel's workflow and credential state.": "Seçilen kanalın iş akışını ve kimlik bilgisi durumunu yüklemek için yenileyin.", + "Refresh verification": "Doğrulamayı yenile", "Refresh work summary": "Refresh work summary", "Refresh workflow templates": "Refresh workflow templates", "Refresh workspace": "Çalışma alanını yenile", @@ -14186,6 +14201,7 @@ "Stop scheduler": "Zamanlayıcıyı durdur", "Stop the current reply or queue new guidance.": "Mevcut yanıtı durdurun veya yeni yönlendirmeyi sıraya koyun.", "Stop using": "Kullanmayı bırak", + "Stop verification": "Doğrulamayı durdur", "Stopped": "Durduruldu", "Stopped {title}": "Durduruldu {title}", "Stopped at {step}: {status}.": "{step}'da durduruldu: {status}.", @@ -14895,6 +14911,7 @@ "Unknown provider": "Bilinmeyen sağlayıcı", "Unknown size": "Bilinmeyen boyut", "Unknown source": "Bilinmeyen kaynak", + "Unknown status": "Bilinmeyen durum", "Unknown teammate": "Bilinmeyen takım arkadaşı", "unknown_outcome": "Sonuç bilinmiyor", "unknown_provider_capability": "Bilinmeyen sağlayıcı yeteneği", @@ -15069,12 +15086,15 @@ "Vector dimensions": "Vektör boyutları", "Vector retrieval": "Vektör alımı", "Verdict": "Karar", + "Verification": "Doğrulama", "verified": "doğrulandı", "Verified": "Doğrulandı", "Verified by execution": "Yürütmeyle doğrulandı", "Verified catalog": "Doğrulanmış katalog", "Verifies behavior, regression scenarios, and user-facing workflows.": "Davranışı, regresyon senaryolarını ve kullanıcıya yönelik iş akışlarını doğrular.", + "Verify": "Doğrulamak", "Verify before use": "Kullanmadan önce doğrulayın", + "Verify current changes": "Mevcut değişiklikleri doğrula", "Verify the key, account access, balance, and model permission for this provider.": "Bu sağlayıcının anahtarını, hesap erişimini, bakiyesini ve model iznini doğrulayın.", "Verifying": "Doğrulanıyor", "Verifying integration candidate": "Entegrasyon adayı doğrulanıyor", diff --git a/packages/localization/catalogs/uk-UA.json b/packages/localization/catalogs/uk-UA.json index f66b45259..135ac1f2b 100644 --- a/packages/localization/catalogs/uk-UA.json +++ b/packages/localization/catalogs/uk-UA.json @@ -1,6 +1,6 @@ { "locale": "uk-UA", - "sourceRevision": "72f77c6fb25583bb1468e040086563074b7830e025f2fc657144dc0e4aad37c1", + "sourceRevision": "214db76d79f1a5c0fd915c110a2ead6dbb978b58398846e982a0c1ff0cb53108", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -1081,9 +1081,11 @@ "cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Candidate approved for draft": "59a57b9b459b3215e76b651f73f6521bc1bd71fa66bb52e046368a559db6632b", + "Candidate changed since verification": "a2808e03661077a04403dab2204b7ce8d78310c296600bd03c5766a754f216a6", "Candidate cluster is not bound to a channel.": "6066a4e8725d065a7c2b8d2c8974a60c41c0a94124deeabd972f620ddd815786", "Candidate Clusters": "b617f8ce5325fa8984c324816b08d3a26c05dac3c3276bcc4f4ab7196222dbe4", "Candidate commit: {commit}": "09bfd331d31184edc3eb1f8eab93bb1f6bc0cb640c0d1e1b53178e9eca4babbd", + "Candidate comparison unavailable": "f3bcf514a4febc720648d70be4d772e8ed9228ec5e7651edda3c229ddab6b627", "Candidate details": "17394d22b095121d9f0d77ff6d121c01383175fa17242bcd9f04bd61f182b5c9", "Candidate generation": "9d360a71a5d82995775df6401ac1d1f7257a68ad462bab70abb494e14239d3d3", "Candidate generation and recording": "d3af53b1912f971078c187ce9260949e68e49f0c2ea954c216a06fe2baa2acc9", @@ -1257,6 +1259,7 @@ "Check member status": "ff155af014d0b6e94cbf2fca3b01cf8d5725732f178eee985083478adb4a62f5", "Check member status to load readiness.": "6f7f338e22e626b134643fbaec898cf8e8efd19b85eeb6193b4ca0d5d63c4528", "Check needed": "561a32f0c83e5a4fe8d77d891bd4b954d514ea021b4a18e68a3607f5d8747841", + "Check output": "250d2e9675d6d399c668a5e496d0caf2913e14b5ea21036fa8ee2dad94ad4d46", "Check passed": "2f6697a2389d7a3c059e7c0435569b37c78275d752bdf9b9e1c5d94f3d0eeeaf", "Check preset": "85e9cc57cbd02e87de7d5213d2627e64f0ae2e3211dd62045b7c2e3dc2bcd45c", "Check provider": "655b6b054c32b6850e6bc245f79b03cb2513ab227e96e7e4a6fb3269daf60119", @@ -4645,6 +4648,7 @@ "Participant label": "ac9acb52867f8141cbc1741f20bbd2766f819aa569c1191dcac3855ba53b59fc", "Participants": "0e27279b3302db0448a2acf5d923ffb09b75270c2e957bfb93f54815d2146aa4", "Pass": "ebdf8cc00bc4d9ceee633c56c63b49955769a92ca060825c9b08e4af61326e2b", + "Passed": "436fe71bb9561f0596161c4d50c7b23327b4189acaf63dc89f4f9205b67a7528", "Password": "e7cf3ef4f17c3999a94f2c6f612e8a888e5b1026878e4e19398b23bd38ec221a", "Paste a Ling memory Markdown export": "3efbebfd30ffeb6bfba59beb91961665a830db73fea934f7fed5394666a7c901", "Paste an API key in Model Workbench, then Save.": "07d4307d7f787295b9cfe97f60114a53060c0f9319a38a5c935fb3f76aceb2cc", @@ -5250,6 +5254,7 @@ "Refresh the library to load Ling built-in skills.": "c1c70580c6d18d99477517ed4d8e7b1b2d7ce26b1c7e932cb3260eeef43008c2", "Refresh to load member readiness.": "b7018c54ba477bad3f292cefce02f582783c67f459e84182d3fe06e53cfe3236", "Refresh to load the selected channel's workflow and credential state.": "290fe59158244da3b9914566b3df31b8f15d3a66fd3ffd9661da282028522f59", + "Refresh verification": "c444d5a4e36d9ec9e448c2eb179a6ef45d3594cd02c264f699a83a04bb51749f", "Refresh work summary": "ccd4dcacf0460eb1ca7749ead055fbffcd395e4f8a0c0f9292d390394b80a78e", "Refresh workflow templates": "1d5c58c6bb31f588e7992a8fe14fc3bb3ad2f52396c0302dd980d4dfdaf1acaa", "Refresh workspace": "306960dcad4c285f46eb5bffbb815be8ebe98657bfed1a901e44b68c7c9f417d", @@ -6477,6 +6482,7 @@ "Stop scheduler": "da6153337089386cf80b918ffbd2f2a43a8876a76da3ca671200898a73695940", "Stop the current reply or queue new guidance.": "ef65bd0c8e0943cd194a61f0b0714870faf9081eeebdccb2967aabf880477457", "Stop using": "ef22ba68c9e447df816d52baba2d198b9d230a7b92291b0e683c38dd39fd94d7", + "Stop verification": "4d90de345e4b79787a78322b9da1ef2fd9c70098caae9af1208c37adc972ec73", "Stopped": "1a4f630ac1b69fd00728fa8a672ded71d0eae8516cb23e78f94529113399b79b", "Stopped {title}": "a2bb8d21f8b1fc6f69326965aabb4596bb14403cfc02644e3da7c3d99bda4a7f", "Stopped at {step}: {status}.": "a911b75c20e85b6fc45f8d484a34b9f7b844947fd5de54f289305ebd339951b7", @@ -7186,6 +7192,7 @@ "Unknown provider": "59080be0f444945a37e28b48166f9ddeb710cda7f656bb3827a684fffbcf4524", "Unknown size": "fffbd4ecf2ad3884acfc08d4fe61477737434672c0307bb3c08d2e876c0fd704", "Unknown source": "cbc86fd9d9357166a3076a90fd8957b816b3a516b79dc76d84e066daf984f83f", + "Unknown status": "15eebb6f74cc8a5a2a3eb6897533ded3d7c3e52b32cf617087a4793fef134ba0", "Unknown teammate": "491ea2ec8a112ef7fe0bc1368d78168f5a9208e5f9ca8587f8dd5ce1c1c5ef1f", "unknown_outcome": "164557364fc9e34fcc5fa0329a356a7d7042c4797b82a38cf0954e95185ad11d", "unknown_provider_capability": "f7ac373b31c9f98e1b1017117bf429d8b16a92030073b5b5eb5c30de06cdec8b", @@ -7360,12 +7367,15 @@ "Vector dimensions": "9d95d3f89905adeb9db91dc8afa0187d3e97858b2ec6e5ce78c0312ce1e99254", "Vector retrieval": "48180b50b6fc222ac72ac2cb38ac7d89c9b1cccd51392b6eae57b46a8ec6cd44", "Verdict": "4a36f89dafb0a1014671aaf16e3a380a999a33836e4c3a31fe5594a7da034da5", + "Verification": "7140f4f19dec525960aabacb5741a125876c7d85f8cfa9c899cc8880651ddf61", "verified": "1c34f88707b55e6104c4eb20e71ffa3d33e414b71ef689a15fad0640d0ac58cb", "Verified": "4f7838402f37674e8ebedb6cf048c0aea66bacdb25607aa3eee4b53093d83f5c", "Verified by execution": "1c4dd61aa39a909b81e11acea882bee4dec628b47763cc4dccca63dbc5f885bb", "Verified catalog": "8f408d980918dbb3a719ced82bf7e18c80a41382f2e3d444528defc5fa24623a", "Verifies behavior, regression scenarios, and user-facing workflows.": "b0845a7154f2567bfbe99c9649c79df3019b654217110f0d1b94f477dd91c78d", + "Verify": "eea2745e2867a6772adc3e813211e6ce7b6ebd312d7e84a7c1b1aa2f8c75fd4b", "Verify before use": "687f00a3911b398fd3e9df5675ecd82fba1fd114e17e2f868f4b04914679db33", + "Verify current changes": "547006b60c4136a531a18526bb7822b118268902f4f457bff86ab03e2a5e7e3f", "Verify the key, account access, balance, and model permission for this provider.": "5ba03b132333df8c1d7b130335bfa5a4034517c93f2a8725019d0d0eec7eb401", "Verifying": "a7d4a9f301edaa61ef561aaba1847d2729a900ea00bbf358953f99d99d913666", "Verifying integration candidate": "05a26deacc8035b95bfce5888134aaa287046d2727ef374e1ae39b07a59daadc", @@ -8790,9 +8800,11 @@ "cancelling": "Скасування", "Cancelling": "Скасування", "Candidate approved for draft": "Кандидатура затверджена до призову", + "Candidate changed since verification": "Кандидат змінено після перевірки", "Candidate cluster is not bound to a channel.": "Кластер-кандидат не прив’язаний до каналу.", "Candidate Clusters": "Кластери-кандидати", "Candidate commit: {commit}": "Зобов'язання кандидата: {commit}", + "Candidate comparison unavailable": "Порівняння кандидатів недоступне", "Candidate details": "Відомості про кандидата", "Candidate generation": "Кандидатське покоління", "Candidate generation and recording": "Формування та запис кандидата", @@ -8966,6 +8978,7 @@ "Check member status": "Перевірте статус учасника", "Check member status to load readiness.": "Перевірте статус учасника, щоб завантажити готовність.", "Check needed": "Потрібна перевірка", + "Check output": "Перевірити вихід", "Check passed": "Перевірка пройдена", "Check preset": "Перевірте попередні налаштування", "Check provider": "Перевірте провайдера", @@ -12354,6 +12367,7 @@ "Participant label": "Мітка учасника", "Participants": "Учасники", "Pass": "Пас", + "Passed": "Пройшов", "Password": "Пароль", "Paste a Ling memory Markdown export": "Вставте Ling експорт Markdown пам’яті", "Paste an API key in Model Workbench, then Save.": "Вставте ключ API у Model Workbench, а потім збережіть.", @@ -12959,6 +12973,7 @@ "Refresh the library to load Ling built-in skills.": "Оновіть бібліотеку, щоб завантажити Ling вбудованих навичок.", "Refresh to load member readiness.": "Оновіть, щоб завантажити інформацію про готовність учасників.", "Refresh to load the selected channel's workflow and credential state.": "Оновіть, щоб завантажити робочий процес вибраного каналу та стан облікових даних.", + "Refresh verification": "Оновити перевірку", "Refresh work summary": "Refresh work summary", "Refresh workflow templates": "Refresh workflow templates", "Refresh workspace": "Оновити робочу область", @@ -14186,6 +14201,7 @@ "Stop scheduler": "Зупинити планувальник", "Stop the current reply or queue new guidance.": "Зупиніть поточну відповідь або поставте нову вказівку в чергу.", "Stop using": "Припиніть використання", + "Stop verification": "Зупинити перевірку", "Stopped": "Зупинився", "Stopped {title}": "Зупинено {title}", "Stopped at {step}: {status}.": "Зупинився о {step}: {status}.", @@ -14895,6 +14911,7 @@ "Unknown provider": "Невідомий провайдер", "Unknown size": "Невідомий розмір", "Unknown source": "Невідоме джерело", + "Unknown status": "Невідомий статус", "Unknown teammate": "Невідомий одноклубник", "unknown_outcome": "Результат невідомий", "unknown_provider_capability": "Можливість невідомого постачальника", @@ -15069,12 +15086,15 @@ "Vector dimensions": "Векторні розміри", "Vector retrieval": "Векторний пошук", "Verdict": "Вердикт", + "Verification": "Перевірка", "verified": "перевірено", "Verified": "Перевірено", "Verified by execution": "Перевірено виконанням", "Verified catalog": "Перевірений каталог", "Verifies behavior, regression scenarios, and user-facing workflows.": "Перевіряє поведінку, сценарії регресії та робочі процеси, спрямовані на користувача.", + "Verify": "Підтвердити", "Verify before use": "Перевірте перед використанням", + "Verify current changes": "Перевірте поточні зміни", "Verify the key, account access, balance, and model permission for this provider.": "Перевірте ключ, доступ до облікового запису, баланс і дозвіл моделі для цього постачальника.", "Verifying": "Перевірка", "Verifying integration candidate": "Перевірка кандидата на інтеграцію", diff --git a/packages/localization/catalogs/vi-VN.json b/packages/localization/catalogs/vi-VN.json index cfaa89b20..ed8d38c40 100644 --- a/packages/localization/catalogs/vi-VN.json +++ b/packages/localization/catalogs/vi-VN.json @@ -1,6 +1,6 @@ { "locale": "vi-VN", - "sourceRevision": "72f77c6fb25583bb1468e040086563074b7830e025f2fc657144dc0e4aad37c1", + "sourceRevision": "214db76d79f1a5c0fd915c110a2ead6dbb978b58398846e982a0c1ff0cb53108", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -1081,9 +1081,11 @@ "cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Candidate approved for draft": "59a57b9b459b3215e76b651f73f6521bc1bd71fa66bb52e046368a559db6632b", + "Candidate changed since verification": "a2808e03661077a04403dab2204b7ce8d78310c296600bd03c5766a754f216a6", "Candidate cluster is not bound to a channel.": "6066a4e8725d065a7c2b8d2c8974a60c41c0a94124deeabd972f620ddd815786", "Candidate Clusters": "b617f8ce5325fa8984c324816b08d3a26c05dac3c3276bcc4f4ab7196222dbe4", "Candidate commit: {commit}": "09bfd331d31184edc3eb1f8eab93bb1f6bc0cb640c0d1e1b53178e9eca4babbd", + "Candidate comparison unavailable": "f3bcf514a4febc720648d70be4d772e8ed9228ec5e7651edda3c229ddab6b627", "Candidate details": "17394d22b095121d9f0d77ff6d121c01383175fa17242bcd9f04bd61f182b5c9", "Candidate generation": "9d360a71a5d82995775df6401ac1d1f7257a68ad462bab70abb494e14239d3d3", "Candidate generation and recording": "d3af53b1912f971078c187ce9260949e68e49f0c2ea954c216a06fe2baa2acc9", @@ -1257,6 +1259,7 @@ "Check member status": "ff155af014d0b6e94cbf2fca3b01cf8d5725732f178eee985083478adb4a62f5", "Check member status to load readiness.": "6f7f338e22e626b134643fbaec898cf8e8efd19b85eeb6193b4ca0d5d63c4528", "Check needed": "561a32f0c83e5a4fe8d77d891bd4b954d514ea021b4a18e68a3607f5d8747841", + "Check output": "250d2e9675d6d399c668a5e496d0caf2913e14b5ea21036fa8ee2dad94ad4d46", "Check passed": "2f6697a2389d7a3c059e7c0435569b37c78275d752bdf9b9e1c5d94f3d0eeeaf", "Check preset": "85e9cc57cbd02e87de7d5213d2627e64f0ae2e3211dd62045b7c2e3dc2bcd45c", "Check provider": "655b6b054c32b6850e6bc245f79b03cb2513ab227e96e7e4a6fb3269daf60119", @@ -4645,6 +4648,7 @@ "Participant label": "ac9acb52867f8141cbc1741f20bbd2766f819aa569c1191dcac3855ba53b59fc", "Participants": "0e27279b3302db0448a2acf5d923ffb09b75270c2e957bfb93f54815d2146aa4", "Pass": "ebdf8cc00bc4d9ceee633c56c63b49955769a92ca060825c9b08e4af61326e2b", + "Passed": "436fe71bb9561f0596161c4d50c7b23327b4189acaf63dc89f4f9205b67a7528", "Password": "e7cf3ef4f17c3999a94f2c6f612e8a888e5b1026878e4e19398b23bd38ec221a", "Paste a Ling memory Markdown export": "3efbebfd30ffeb6bfba59beb91961665a830db73fea934f7fed5394666a7c901", "Paste an API key in Model Workbench, then Save.": "07d4307d7f787295b9cfe97f60114a53060c0f9319a38a5c935fb3f76aceb2cc", @@ -5250,6 +5254,7 @@ "Refresh the library to load Ling built-in skills.": "c1c70580c6d18d99477517ed4d8e7b1b2d7ce26b1c7e932cb3260eeef43008c2", "Refresh to load member readiness.": "b7018c54ba477bad3f292cefce02f582783c67f459e84182d3fe06e53cfe3236", "Refresh to load the selected channel's workflow and credential state.": "290fe59158244da3b9914566b3df31b8f15d3a66fd3ffd9661da282028522f59", + "Refresh verification": "c444d5a4e36d9ec9e448c2eb179a6ef45d3594cd02c264f699a83a04bb51749f", "Refresh work summary": "ccd4dcacf0460eb1ca7749ead055fbffcd395e4f8a0c0f9292d390394b80a78e", "Refresh workflow templates": "1d5c58c6bb31f588e7992a8fe14fc3bb3ad2f52396c0302dd980d4dfdaf1acaa", "Refresh workspace": "306960dcad4c285f46eb5bffbb815be8ebe98657bfed1a901e44b68c7c9f417d", @@ -6477,6 +6482,7 @@ "Stop scheduler": "da6153337089386cf80b918ffbd2f2a43a8876a76da3ca671200898a73695940", "Stop the current reply or queue new guidance.": "ef65bd0c8e0943cd194a61f0b0714870faf9081eeebdccb2967aabf880477457", "Stop using": "ef22ba68c9e447df816d52baba2d198b9d230a7b92291b0e683c38dd39fd94d7", + "Stop verification": "4d90de345e4b79787a78322b9da1ef2fd9c70098caae9af1208c37adc972ec73", "Stopped": "1a4f630ac1b69fd00728fa8a672ded71d0eae8516cb23e78f94529113399b79b", "Stopped {title}": "a2bb8d21f8b1fc6f69326965aabb4596bb14403cfc02644e3da7c3d99bda4a7f", "Stopped at {step}: {status}.": "a911b75c20e85b6fc45f8d484a34b9f7b844947fd5de54f289305ebd339951b7", @@ -7186,6 +7192,7 @@ "Unknown provider": "59080be0f444945a37e28b48166f9ddeb710cda7f656bb3827a684fffbcf4524", "Unknown size": "fffbd4ecf2ad3884acfc08d4fe61477737434672c0307bb3c08d2e876c0fd704", "Unknown source": "cbc86fd9d9357166a3076a90fd8957b816b3a516b79dc76d84e066daf984f83f", + "Unknown status": "15eebb6f74cc8a5a2a3eb6897533ded3d7c3e52b32cf617087a4793fef134ba0", "Unknown teammate": "491ea2ec8a112ef7fe0bc1368d78168f5a9208e5f9ca8587f8dd5ce1c1c5ef1f", "unknown_outcome": "164557364fc9e34fcc5fa0329a356a7d7042c4797b82a38cf0954e95185ad11d", "unknown_provider_capability": "f7ac373b31c9f98e1b1017117bf429d8b16a92030073b5b5eb5c30de06cdec8b", @@ -7360,12 +7367,15 @@ "Vector dimensions": "9d95d3f89905adeb9db91dc8afa0187d3e97858b2ec6e5ce78c0312ce1e99254", "Vector retrieval": "48180b50b6fc222ac72ac2cb38ac7d89c9b1cccd51392b6eae57b46a8ec6cd44", "Verdict": "4a36f89dafb0a1014671aaf16e3a380a999a33836e4c3a31fe5594a7da034da5", + "Verification": "7140f4f19dec525960aabacb5741a125876c7d85f8cfa9c899cc8880651ddf61", "verified": "1c34f88707b55e6104c4eb20e71ffa3d33e414b71ef689a15fad0640d0ac58cb", "Verified": "4f7838402f37674e8ebedb6cf048c0aea66bacdb25607aa3eee4b53093d83f5c", "Verified by execution": "1c4dd61aa39a909b81e11acea882bee4dec628b47763cc4dccca63dbc5f885bb", "Verified catalog": "8f408d980918dbb3a719ced82bf7e18c80a41382f2e3d444528defc5fa24623a", "Verifies behavior, regression scenarios, and user-facing workflows.": "b0845a7154f2567bfbe99c9649c79df3019b654217110f0d1b94f477dd91c78d", + "Verify": "eea2745e2867a6772adc3e813211e6ce7b6ebd312d7e84a7c1b1aa2f8c75fd4b", "Verify before use": "687f00a3911b398fd3e9df5675ecd82fba1fd114e17e2f868f4b04914679db33", + "Verify current changes": "547006b60c4136a531a18526bb7822b118268902f4f457bff86ab03e2a5e7e3f", "Verify the key, account access, balance, and model permission for this provider.": "5ba03b132333df8c1d7b130335bfa5a4034517c93f2a8725019d0d0eec7eb401", "Verifying": "a7d4a9f301edaa61ef561aaba1847d2729a900ea00bbf358953f99d99d913666", "Verifying integration candidate": "05a26deacc8035b95bfce5888134aaa287046d2727ef374e1ae39b07a59daadc", @@ -8790,9 +8800,11 @@ "cancelling": "Đang hủy", "Cancelling": "Đang hủy", "Candidate approved for draft": "Ứng viên được phê duyệt dự thảo", + "Candidate changed since verification": "Ứng viên đã thay đổi kể từ khi xác minh", "Candidate cluster is not bound to a channel.": "Cụm ứng viên không bị ràng buộc với một kênh.", "Candidate Clusters": "Cụm ứng viên", "Candidate commit: {commit}": "Cam kết của ứng viên: {commit}", + "Candidate comparison unavailable": "Không có so sánh ứng viên", "Candidate details": "Chi tiết ứng viên", "Candidate generation": "Thế hệ ứng viên", "Candidate generation and recording": "Tạo và ghi lại ứng viên", @@ -8966,6 +8978,7 @@ "Check member status": "Kiểm tra trạng thái thành viên", "Check member status to load readiness.": "Kiểm tra trạng thái thành viên để sẵn sàng tải.", "Check needed": "Cần kiểm tra", + "Check output": "Kiểm tra đầu ra", "Check passed": "Kiểm tra đã được thông qua", "Check preset": "Kiểm tra giá trị đặt trước", "Check provider": "Kiểm tra nhà cung cấp", @@ -12354,6 +12367,7 @@ "Participant label": "Nhãn người tham gia", "Participants": "Người tham gia", "Pass": "Vượt qua", + "Passed": "Đi qua", "Password": "Mật khẩu", "Paste a Ling memory Markdown export": "Dán bộ nhớ Ling Xuất Markdown", "Paste an API key in Model Workbench, then Save.": "Dán khóa API vào Model Workbench, sau đó Lưu.", @@ -12959,6 +12973,7 @@ "Refresh the library to load Ling built-in skills.": "Làm mới thư viện để tải Ling kỹ năng tích hợp.", "Refresh to load member readiness.": "Làm mới để tải thành viên sẵn sàng.", "Refresh to load the selected channel's workflow and credential state.": "Làm mới để tải trạng thái thông tin xác thực và quy trình làm việc của kênh đã chọn.", + "Refresh verification": "Làm mới xác minh", "Refresh work summary": "Refresh work summary", "Refresh workflow templates": "Refresh workflow templates", "Refresh workspace": "Làm mới không gian làm việc", @@ -14186,6 +14201,7 @@ "Stop scheduler": "Dừng lịch trình", "Stop the current reply or queue new guidance.": "Dừng trả lời hiện tại hoặc xếp hàng hướng dẫn mới.", "Stop using": "Ngừng sử dụng", + "Stop verification": "Dừng xác minh", "Stopped": "Đã dừng", "Stopped {title}": "Đã dừng {title}", "Stopped at {step}: {status}.": "Dừng lại ở {step}: {status}.", @@ -14895,6 +14911,7 @@ "Unknown provider": "Nhà cung cấp không xác định", "Unknown size": "Kích thước không xác định", "Unknown source": "Nguồn không xác định", + "Unknown status": "Trạng thái không xác định", "Unknown teammate": "đồng đội không rõ", "unknown_outcome": "Kết quả không rõ", "unknown_provider_capability": "Khả năng của nhà cung cấp không xác định", @@ -15069,12 +15086,15 @@ "Vector dimensions": "kích thước vectơ", "Vector retrieval": "Truy xuất vectơ", "Verdict": "Phán quyết", + "Verification": "Xác minh", "verified": "đã xác minh", "Verified": "Đã xác minh", "Verified by execution": "Xác minh bằng cách thực hiện", "Verified catalog": "Danh mục đã được xác minh", "Verifies behavior, regression scenarios, and user-facing workflows.": "Xác minh hành vi, kịch bản hồi quy và quy trình làm việc của người dùng.", + "Verify": "Xác minh", "Verify before use": "Xác minh trước khi sử dụng", + "Verify current changes": "Xác minh những thay đổi hiện tại", "Verify the key, account access, balance, and model permission for this provider.": "Xác minh khóa, quyền truy cập tài khoản, số dư và quyền mô hình cho nhà cung cấp này.", "Verifying": "Đang xác minh", "Verifying integration candidate": "Đang xác minh ứng viên tích hợp", diff --git a/packages/localization/catalogs/zh-CN.json b/packages/localization/catalogs/zh-CN.json index eaf91346f..b66cd1405 100644 --- a/packages/localization/catalogs/zh-CN.json +++ b/packages/localization/catalogs/zh-CN.json @@ -1,6 +1,6 @@ { "locale": "zh-CN", - "sourceRevision": "72f77c6fb25583bb1468e040086563074b7830e025f2fc657144dc0e4aad37c1", + "sourceRevision": "214db76d79f1a5c0fd915c110a2ead6dbb978b58398846e982a0c1ff0cb53108", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -1081,9 +1081,11 @@ "cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Candidate approved for draft": "59a57b9b459b3215e76b651f73f6521bc1bd71fa66bb52e046368a559db6632b", + "Candidate changed since verification": "a2808e03661077a04403dab2204b7ce8d78310c296600bd03c5766a754f216a6", "Candidate cluster is not bound to a channel.": "6066a4e8725d065a7c2b8d2c8974a60c41c0a94124deeabd972f620ddd815786", "Candidate Clusters": "b617f8ce5325fa8984c324816b08d3a26c05dac3c3276bcc4f4ab7196222dbe4", "Candidate commit: {commit}": "09bfd331d31184edc3eb1f8eab93bb1f6bc0cb640c0d1e1b53178e9eca4babbd", + "Candidate comparison unavailable": "f3bcf514a4febc720648d70be4d772e8ed9228ec5e7651edda3c229ddab6b627", "Candidate details": "17394d22b095121d9f0d77ff6d121c01383175fa17242bcd9f04bd61f182b5c9", "Candidate generation": "9d360a71a5d82995775df6401ac1d1f7257a68ad462bab70abb494e14239d3d3", "Candidate generation and recording": "d3af53b1912f971078c187ce9260949e68e49f0c2ea954c216a06fe2baa2acc9", @@ -1257,6 +1259,7 @@ "Check member status": "ff155af014d0b6e94cbf2fca3b01cf8d5725732f178eee985083478adb4a62f5", "Check member status to load readiness.": "6f7f338e22e626b134643fbaec898cf8e8efd19b85eeb6193b4ca0d5d63c4528", "Check needed": "561a32f0c83e5a4fe8d77d891bd4b954d514ea021b4a18e68a3607f5d8747841", + "Check output": "250d2e9675d6d399c668a5e496d0caf2913e14b5ea21036fa8ee2dad94ad4d46", "Check passed": "2f6697a2389d7a3c059e7c0435569b37c78275d752bdf9b9e1c5d94f3d0eeeaf", "Check preset": "85e9cc57cbd02e87de7d5213d2627e64f0ae2e3211dd62045b7c2e3dc2bcd45c", "Check provider": "655b6b054c32b6850e6bc245f79b03cb2513ab227e96e7e4a6fb3269daf60119", @@ -4645,6 +4648,7 @@ "Participant label": "ac9acb52867f8141cbc1741f20bbd2766f819aa569c1191dcac3855ba53b59fc", "Participants": "0e27279b3302db0448a2acf5d923ffb09b75270c2e957bfb93f54815d2146aa4", "Pass": "ebdf8cc00bc4d9ceee633c56c63b49955769a92ca060825c9b08e4af61326e2b", + "Passed": "436fe71bb9561f0596161c4d50c7b23327b4189acaf63dc89f4f9205b67a7528", "Password": "e7cf3ef4f17c3999a94f2c6f612e8a888e5b1026878e4e19398b23bd38ec221a", "Paste a Ling memory Markdown export": "3efbebfd30ffeb6bfba59beb91961665a830db73fea934f7fed5394666a7c901", "Paste an API key in Model Workbench, then Save.": "07d4307d7f787295b9cfe97f60114a53060c0f9319a38a5c935fb3f76aceb2cc", @@ -5250,6 +5254,7 @@ "Refresh the library to load Ling built-in skills.": "c1c70580c6d18d99477517ed4d8e7b1b2d7ce26b1c7e932cb3260eeef43008c2", "Refresh to load member readiness.": "b7018c54ba477bad3f292cefce02f582783c67f459e84182d3fe06e53cfe3236", "Refresh to load the selected channel's workflow and credential state.": "290fe59158244da3b9914566b3df31b8f15d3a66fd3ffd9661da282028522f59", + "Refresh verification": "c444d5a4e36d9ec9e448c2eb179a6ef45d3594cd02c264f699a83a04bb51749f", "Refresh work summary": "ccd4dcacf0460eb1ca7749ead055fbffcd395e4f8a0c0f9292d390394b80a78e", "Refresh workflow templates": "1d5c58c6bb31f588e7992a8fe14fc3bb3ad2f52396c0302dd980d4dfdaf1acaa", "Refresh workspace": "306960dcad4c285f46eb5bffbb815be8ebe98657bfed1a901e44b68c7c9f417d", @@ -6477,6 +6482,7 @@ "Stop scheduler": "da6153337089386cf80b918ffbd2f2a43a8876a76da3ca671200898a73695940", "Stop the current reply or queue new guidance.": "ef65bd0c8e0943cd194a61f0b0714870faf9081eeebdccb2967aabf880477457", "Stop using": "ef22ba68c9e447df816d52baba2d198b9d230a7b92291b0e683c38dd39fd94d7", + "Stop verification": "4d90de345e4b79787a78322b9da1ef2fd9c70098caae9af1208c37adc972ec73", "Stopped": "1a4f630ac1b69fd00728fa8a672ded71d0eae8516cb23e78f94529113399b79b", "Stopped {title}": "a2bb8d21f8b1fc6f69326965aabb4596bb14403cfc02644e3da7c3d99bda4a7f", "Stopped at {step}: {status}.": "a911b75c20e85b6fc45f8d484a34b9f7b844947fd5de54f289305ebd339951b7", @@ -7186,6 +7192,7 @@ "Unknown provider": "59080be0f444945a37e28b48166f9ddeb710cda7f656bb3827a684fffbcf4524", "Unknown size": "fffbd4ecf2ad3884acfc08d4fe61477737434672c0307bb3c08d2e876c0fd704", "Unknown source": "cbc86fd9d9357166a3076a90fd8957b816b3a516b79dc76d84e066daf984f83f", + "Unknown status": "15eebb6f74cc8a5a2a3eb6897533ded3d7c3e52b32cf617087a4793fef134ba0", "Unknown teammate": "491ea2ec8a112ef7fe0bc1368d78168f5a9208e5f9ca8587f8dd5ce1c1c5ef1f", "unknown_outcome": "164557364fc9e34fcc5fa0329a356a7d7042c4797b82a38cf0954e95185ad11d", "unknown_provider_capability": "f7ac373b31c9f98e1b1017117bf429d8b16a92030073b5b5eb5c30de06cdec8b", @@ -7360,12 +7367,15 @@ "Vector dimensions": "9d95d3f89905adeb9db91dc8afa0187d3e97858b2ec6e5ce78c0312ce1e99254", "Vector retrieval": "48180b50b6fc222ac72ac2cb38ac7d89c9b1cccd51392b6eae57b46a8ec6cd44", "Verdict": "4a36f89dafb0a1014671aaf16e3a380a999a33836e4c3a31fe5594a7da034da5", + "Verification": "7140f4f19dec525960aabacb5741a125876c7d85f8cfa9c899cc8880651ddf61", "verified": "1c34f88707b55e6104c4eb20e71ffa3d33e414b71ef689a15fad0640d0ac58cb", "Verified": "4f7838402f37674e8ebedb6cf048c0aea66bacdb25607aa3eee4b53093d83f5c", "Verified by execution": "1c4dd61aa39a909b81e11acea882bee4dec628b47763cc4dccca63dbc5f885bb", "Verified catalog": "8f408d980918dbb3a719ced82bf7e18c80a41382f2e3d444528defc5fa24623a", "Verifies behavior, regression scenarios, and user-facing workflows.": "b0845a7154f2567bfbe99c9649c79df3019b654217110f0d1b94f477dd91c78d", + "Verify": "eea2745e2867a6772adc3e813211e6ce7b6ebd312d7e84a7c1b1aa2f8c75fd4b", "Verify before use": "687f00a3911b398fd3e9df5675ecd82fba1fd114e17e2f868f4b04914679db33", + "Verify current changes": "547006b60c4136a531a18526bb7822b118268902f4f457bff86ab03e2a5e7e3f", "Verify the key, account access, balance, and model permission for this provider.": "5ba03b132333df8c1d7b130335bfa5a4034517c93f2a8725019d0d0eec7eb401", "Verifying": "a7d4a9f301edaa61ef561aaba1847d2729a900ea00bbf358953f99d99d913666", "Verifying integration candidate": "05a26deacc8035b95bfce5888134aaa287046d2727ef374e1ae39b07a59daadc", @@ -8790,9 +8800,11 @@ "cancelling": "正在取消", "Cancelling": "正在取消", "Candidate approved for draft": "候选已批准为草稿", + "Candidate changed since verification": "候选改动在验证后已变化", "Candidate cluster is not bound to a channel.": "候选聚类未绑定到频道。", "Candidate Clusters": "候选簇", "Candidate commit: {commit}": "候选提交:{commit}", + "Candidate comparison unavailable": "无法比对当前候选", "Candidate details": "候选详情", "Candidate generation": "候选生成", "Candidate generation and recording": "候选生成与录制", @@ -8966,6 +8978,7 @@ "Check member status": "检查成员状态", "Check member status to load readiness.": "检查成员状态以加载可用性。", "Check needed": "需要检查", + "Check output": "检查输出", "Check passed": "检查通过", "Check preset": "检查预设", "Check provider": "检查模型预设", @@ -12354,6 +12367,7 @@ "Participant label": "参与者名称", "Participants": "参与者", "Pass": "通过", + "Passed": "通过", "Password": "密码", "Paste a Ling memory Markdown export": "粘贴 Ling 记忆 Markdown 导出", "Paste an API key in Model Workbench, then Save.": "在模型工作台粘贴 API Key,然后保存。", @@ -12959,6 +12973,7 @@ "Refresh the library to load Ling built-in skills.": "刷新技能库以加载 Ling 内置技能。", "Refresh to load member readiness.": "刷新以加载成员就绪状态。", "Refresh to load the selected channel's workflow and credential state.": "刷新后可加载所选频道的工作流和凭据状态。", + "Refresh verification": "刷新验证结果", "Refresh work summary": "刷新工作汇总", "Refresh workflow templates": "刷新工作流模板", "Refresh workspace": "刷新工作区", @@ -14186,6 +14201,7 @@ "Stop scheduler": "停止调度", "Stop the current reply or queue new guidance.": "可以停止当前回复,或把新引导排队。", "Stop using": "停用", + "Stop verification": "停止验证", "Stopped": "已停止", "Stopped {title}": "已停止:{title}", "Stopped at {step}: {status}.": "已停止在 {step}:{status}。", @@ -14895,6 +14911,7 @@ "Unknown provider": "未知模型供应商", "Unknown size": "未知大小", "Unknown source": "未知来源", + "Unknown status": "状态未知", "Unknown teammate": "未知队友", "unknown_outcome": "实际影响未知", "unknown_provider_capability": "未知模型能力", @@ -15069,12 +15086,15 @@ "Vector dimensions": "向量维度", "Vector retrieval": "向量检索", "Verdict": "判定", + "Verification": "验证", "verified": "已验证", "Verified": "已验证", "Verified by execution": "已经执行验证", "Verified catalog": "目录已验证", "Verifies behavior, regression scenarios, and user-facing workflows.": "验证行为、回归场景和用户可见工作流。", + "Verify": "验证", "Verify before use": "使用前验证", + "Verify current changes": "验证本次改动", "Verify the key, account access, balance, and model permission for this provider.": "请检查 Key、账号访问权限、余额和模型权限。", "Verifying": "验证中", "Verifying integration candidate": "正在验证集成候选", diff --git a/packages/localization/catalogs/zh-HK.json b/packages/localization/catalogs/zh-HK.json index 2c921175c..79f74376a 100644 --- a/packages/localization/catalogs/zh-HK.json +++ b/packages/localization/catalogs/zh-HK.json @@ -1,6 +1,6 @@ { "locale": "zh-HK", - "sourceRevision": "72f77c6fb25583bb1468e040086563074b7830e025f2fc657144dc0e4aad37c1", + "sourceRevision": "214db76d79f1a5c0fd915c110a2ead6dbb978b58398846e982a0c1ff0cb53108", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -1081,9 +1081,11 @@ "cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Candidate approved for draft": "59a57b9b459b3215e76b651f73f6521bc1bd71fa66bb52e046368a559db6632b", + "Candidate changed since verification": "a2808e03661077a04403dab2204b7ce8d78310c296600bd03c5766a754f216a6", "Candidate cluster is not bound to a channel.": "6066a4e8725d065a7c2b8d2c8974a60c41c0a94124deeabd972f620ddd815786", "Candidate Clusters": "b617f8ce5325fa8984c324816b08d3a26c05dac3c3276bcc4f4ab7196222dbe4", "Candidate commit: {commit}": "09bfd331d31184edc3eb1f8eab93bb1f6bc0cb640c0d1e1b53178e9eca4babbd", + "Candidate comparison unavailable": "f3bcf514a4febc720648d70be4d772e8ed9228ec5e7651edda3c229ddab6b627", "Candidate details": "17394d22b095121d9f0d77ff6d121c01383175fa17242bcd9f04bd61f182b5c9", "Candidate generation": "9d360a71a5d82995775df6401ac1d1f7257a68ad462bab70abb494e14239d3d3", "Candidate generation and recording": "d3af53b1912f971078c187ce9260949e68e49f0c2ea954c216a06fe2baa2acc9", @@ -1257,6 +1259,7 @@ "Check member status": "ff155af014d0b6e94cbf2fca3b01cf8d5725732f178eee985083478adb4a62f5", "Check member status to load readiness.": "6f7f338e22e626b134643fbaec898cf8e8efd19b85eeb6193b4ca0d5d63c4528", "Check needed": "561a32f0c83e5a4fe8d77d891bd4b954d514ea021b4a18e68a3607f5d8747841", + "Check output": "250d2e9675d6d399c668a5e496d0caf2913e14b5ea21036fa8ee2dad94ad4d46", "Check passed": "2f6697a2389d7a3c059e7c0435569b37c78275d752bdf9b9e1c5d94f3d0eeeaf", "Check preset": "85e9cc57cbd02e87de7d5213d2627e64f0ae2e3211dd62045b7c2e3dc2bcd45c", "Check provider": "655b6b054c32b6850e6bc245f79b03cb2513ab227e96e7e4a6fb3269daf60119", @@ -4645,6 +4648,7 @@ "Participant label": "ac9acb52867f8141cbc1741f20bbd2766f819aa569c1191dcac3855ba53b59fc", "Participants": "0e27279b3302db0448a2acf5d923ffb09b75270c2e957bfb93f54815d2146aa4", "Pass": "ebdf8cc00bc4d9ceee633c56c63b49955769a92ca060825c9b08e4af61326e2b", + "Passed": "436fe71bb9561f0596161c4d50c7b23327b4189acaf63dc89f4f9205b67a7528", "Password": "e7cf3ef4f17c3999a94f2c6f612e8a888e5b1026878e4e19398b23bd38ec221a", "Paste a Ling memory Markdown export": "3efbebfd30ffeb6bfba59beb91961665a830db73fea934f7fed5394666a7c901", "Paste an API key in Model Workbench, then Save.": "07d4307d7f787295b9cfe97f60114a53060c0f9319a38a5c935fb3f76aceb2cc", @@ -5250,6 +5254,7 @@ "Refresh the library to load Ling built-in skills.": "c1c70580c6d18d99477517ed4d8e7b1b2d7ce26b1c7e932cb3260eeef43008c2", "Refresh to load member readiness.": "b7018c54ba477bad3f292cefce02f582783c67f459e84182d3fe06e53cfe3236", "Refresh to load the selected channel's workflow and credential state.": "290fe59158244da3b9914566b3df31b8f15d3a66fd3ffd9661da282028522f59", + "Refresh verification": "c444d5a4e36d9ec9e448c2eb179a6ef45d3594cd02c264f699a83a04bb51749f", "Refresh work summary": "ccd4dcacf0460eb1ca7749ead055fbffcd395e4f8a0c0f9292d390394b80a78e", "Refresh workflow templates": "1d5c58c6bb31f588e7992a8fe14fc3bb3ad2f52396c0302dd980d4dfdaf1acaa", "Refresh workspace": "306960dcad4c285f46eb5bffbb815be8ebe98657bfed1a901e44b68c7c9f417d", @@ -6477,6 +6482,7 @@ "Stop scheduler": "da6153337089386cf80b918ffbd2f2a43a8876a76da3ca671200898a73695940", "Stop the current reply or queue new guidance.": "ef65bd0c8e0943cd194a61f0b0714870faf9081eeebdccb2967aabf880477457", "Stop using": "ef22ba68c9e447df816d52baba2d198b9d230a7b92291b0e683c38dd39fd94d7", + "Stop verification": "4d90de345e4b79787a78322b9da1ef2fd9c70098caae9af1208c37adc972ec73", "Stopped": "1a4f630ac1b69fd00728fa8a672ded71d0eae8516cb23e78f94529113399b79b", "Stopped {title}": "a2bb8d21f8b1fc6f69326965aabb4596bb14403cfc02644e3da7c3d99bda4a7f", "Stopped at {step}: {status}.": "a911b75c20e85b6fc45f8d484a34b9f7b844947fd5de54f289305ebd339951b7", @@ -7186,6 +7192,7 @@ "Unknown provider": "59080be0f444945a37e28b48166f9ddeb710cda7f656bb3827a684fffbcf4524", "Unknown size": "fffbd4ecf2ad3884acfc08d4fe61477737434672c0307bb3c08d2e876c0fd704", "Unknown source": "cbc86fd9d9357166a3076a90fd8957b816b3a516b79dc76d84e066daf984f83f", + "Unknown status": "15eebb6f74cc8a5a2a3eb6897533ded3d7c3e52b32cf617087a4793fef134ba0", "Unknown teammate": "491ea2ec8a112ef7fe0bc1368d78168f5a9208e5f9ca8587f8dd5ce1c1c5ef1f", "unknown_outcome": "164557364fc9e34fcc5fa0329a356a7d7042c4797b82a38cf0954e95185ad11d", "unknown_provider_capability": "f7ac373b31c9f98e1b1017117bf429d8b16a92030073b5b5eb5c30de06cdec8b", @@ -7360,12 +7367,15 @@ "Vector dimensions": "9d95d3f89905adeb9db91dc8afa0187d3e97858b2ec6e5ce78c0312ce1e99254", "Vector retrieval": "48180b50b6fc222ac72ac2cb38ac7d89c9b1cccd51392b6eae57b46a8ec6cd44", "Verdict": "4a36f89dafb0a1014671aaf16e3a380a999a33836e4c3a31fe5594a7da034da5", + "Verification": "7140f4f19dec525960aabacb5741a125876c7d85f8cfa9c899cc8880651ddf61", "verified": "1c34f88707b55e6104c4eb20e71ffa3d33e414b71ef689a15fad0640d0ac58cb", "Verified": "4f7838402f37674e8ebedb6cf048c0aea66bacdb25607aa3eee4b53093d83f5c", "Verified by execution": "1c4dd61aa39a909b81e11acea882bee4dec628b47763cc4dccca63dbc5f885bb", "Verified catalog": "8f408d980918dbb3a719ced82bf7e18c80a41382f2e3d444528defc5fa24623a", "Verifies behavior, regression scenarios, and user-facing workflows.": "b0845a7154f2567bfbe99c9649c79df3019b654217110f0d1b94f477dd91c78d", + "Verify": "eea2745e2867a6772adc3e813211e6ce7b6ebd312d7e84a7c1b1aa2f8c75fd4b", "Verify before use": "687f00a3911b398fd3e9df5675ecd82fba1fd114e17e2f868f4b04914679db33", + "Verify current changes": "547006b60c4136a531a18526bb7822b118268902f4f457bff86ab03e2a5e7e3f", "Verify the key, account access, balance, and model permission for this provider.": "5ba03b132333df8c1d7b130335bfa5a4034517c93f2a8725019d0d0eec7eb401", "Verifying": "a7d4a9f301edaa61ef561aaba1847d2729a900ea00bbf358953f99d99d913666", "Verifying integration candidate": "05a26deacc8035b95bfce5888134aaa287046d2727ef374e1ae39b07a59daadc", @@ -8790,9 +8800,11 @@ "cancelling": "取消", "Cancelling": "取消", "Candidate approved for draft": "候選人獲準參加草案", + "Candidate changed since verification": "自驗證後候選人發生變化", "Candidate cluster is not bound to a channel.": "候選集群未綁定到通道。", "Candidate Clusters": "候選集群", "Candidate commit: {commit}": "候選人提交:{commit}", + "Candidate comparison unavailable": "無法進行候選比較", "Candidate details": "候選人詳細信息", "Candidate generation": "候選人一代", "Candidate generation and recording": "候選生成和記錄", @@ -8966,6 +8978,7 @@ "Check member status": "檢視會員狀態", "Check member status to load readiness.": "檢查成員狀態以載入準備情況。", "Check needed": "需要檢查", + "Check output": "檢查輸出", "Check passed": "檢查通過", "Check preset": "檢查預設", "Check provider": "檢查提供者", @@ -12354,6 +12367,7 @@ "Participant label": "參與者標籤", "Participants": "參加者", "Pass": "經過", + "Passed": "透過", "Password": "密碼", "Paste a Ling memory Markdown export": "貼上 Ling 記憶體 Markdown 匯出", "Paste an API key in Model Workbench, then Save.": "將 API 鍵貼到模型工作台中,然後儲存。", @@ -12959,6 +12973,7 @@ "Refresh the library to load Ling built-in skills.": "刷新庫載入Ling內建技能。", "Refresh to load member readiness.": "刷新以載入會員準備。", "Refresh to load the selected channel's workflow and credential state.": "刷新以載入所選通道的工作流程和憑證狀態。", + "Refresh verification": "刷新驗證", "Refresh work summary": "Refresh work summary", "Refresh workflow templates": "Refresh workflow templates", "Refresh workspace": "刷新工作區", @@ -14186,6 +14201,7 @@ "Stop scheduler": "停止調度程序", "Stop the current reply or queue new guidance.": "停止當前回复或排隊新指導。", "Stop using": "停止使用", + "Stop verification": "停止驗證", "Stopped": "已停止", "Stopped {title}": "停止{title}", "Stopped at {step}: {status}.": "停在 {step}:{status}。", @@ -14895,6 +14911,7 @@ "Unknown provider": "未知提供者", "Unknown size": "尺寸未知", "Unknown source": "來源不明", + "Unknown status": "狀態未知", "Unknown teammate": "未知隊友", "unknown_outcome": "結果未知", "unknown_provider_capability": "未知的提供者能力", @@ -15069,12 +15086,15 @@ "Vector dimensions": "向量維度", "Vector retrieval": "向量檢索", "Verdict": "判決", + "Verification": "確認", "verified": "已驗證", "Verified": "已驗證", "Verified by execution": "透過執行驗證", "Verified catalog": "已驗證目錄", "Verifies behavior, regression scenarios, and user-facing workflows.": "驗證行為、回歸場景和使用者導向的工作流程。", + "Verify": "核實", "Verify before use": "使用前驗證", + "Verify current changes": "驗證當前更改", "Verify the key, account access, balance, and model permission for this provider.": "驗證該提供者的金鑰、帳戶存取權限、餘額和模型權限。", "Verifying": "正在驗證", "Verifying integration candidate": "驗證集成候選者", diff --git a/packages/localization/catalogs/zh-TW.json b/packages/localization/catalogs/zh-TW.json index 79b992ab3..300f2aeb1 100644 --- a/packages/localization/catalogs/zh-TW.json +++ b/packages/localization/catalogs/zh-TW.json @@ -1,6 +1,6 @@ { "locale": "zh-TW", - "sourceRevision": "72f77c6fb25583bb1468e040086563074b7830e025f2fc657144dc0e4aad37c1", + "sourceRevision": "214db76d79f1a5c0fd915c110a2ead6dbb978b58398846e982a0c1ff0cb53108", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -1081,9 +1081,11 @@ "cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Candidate approved for draft": "59a57b9b459b3215e76b651f73f6521bc1bd71fa66bb52e046368a559db6632b", + "Candidate changed since verification": "a2808e03661077a04403dab2204b7ce8d78310c296600bd03c5766a754f216a6", "Candidate cluster is not bound to a channel.": "6066a4e8725d065a7c2b8d2c8974a60c41c0a94124deeabd972f620ddd815786", "Candidate Clusters": "b617f8ce5325fa8984c324816b08d3a26c05dac3c3276bcc4f4ab7196222dbe4", "Candidate commit: {commit}": "09bfd331d31184edc3eb1f8eab93bb1f6bc0cb640c0d1e1b53178e9eca4babbd", + "Candidate comparison unavailable": "f3bcf514a4febc720648d70be4d772e8ed9228ec5e7651edda3c229ddab6b627", "Candidate details": "17394d22b095121d9f0d77ff6d121c01383175fa17242bcd9f04bd61f182b5c9", "Candidate generation": "9d360a71a5d82995775df6401ac1d1f7257a68ad462bab70abb494e14239d3d3", "Candidate generation and recording": "d3af53b1912f971078c187ce9260949e68e49f0c2ea954c216a06fe2baa2acc9", @@ -1257,6 +1259,7 @@ "Check member status": "ff155af014d0b6e94cbf2fca3b01cf8d5725732f178eee985083478adb4a62f5", "Check member status to load readiness.": "6f7f338e22e626b134643fbaec898cf8e8efd19b85eeb6193b4ca0d5d63c4528", "Check needed": "561a32f0c83e5a4fe8d77d891bd4b954d514ea021b4a18e68a3607f5d8747841", + "Check output": "250d2e9675d6d399c668a5e496d0caf2913e14b5ea21036fa8ee2dad94ad4d46", "Check passed": "2f6697a2389d7a3c059e7c0435569b37c78275d752bdf9b9e1c5d94f3d0eeeaf", "Check preset": "85e9cc57cbd02e87de7d5213d2627e64f0ae2e3211dd62045b7c2e3dc2bcd45c", "Check provider": "655b6b054c32b6850e6bc245f79b03cb2513ab227e96e7e4a6fb3269daf60119", @@ -4645,6 +4648,7 @@ "Participant label": "ac9acb52867f8141cbc1741f20bbd2766f819aa569c1191dcac3855ba53b59fc", "Participants": "0e27279b3302db0448a2acf5d923ffb09b75270c2e957bfb93f54815d2146aa4", "Pass": "ebdf8cc00bc4d9ceee633c56c63b49955769a92ca060825c9b08e4af61326e2b", + "Passed": "436fe71bb9561f0596161c4d50c7b23327b4189acaf63dc89f4f9205b67a7528", "Password": "e7cf3ef4f17c3999a94f2c6f612e8a888e5b1026878e4e19398b23bd38ec221a", "Paste a Ling memory Markdown export": "3efbebfd30ffeb6bfba59beb91961665a830db73fea934f7fed5394666a7c901", "Paste an API key in Model Workbench, then Save.": "07d4307d7f787295b9cfe97f60114a53060c0f9319a38a5c935fb3f76aceb2cc", @@ -5250,6 +5254,7 @@ "Refresh the library to load Ling built-in skills.": "c1c70580c6d18d99477517ed4d8e7b1b2d7ce26b1c7e932cb3260eeef43008c2", "Refresh to load member readiness.": "b7018c54ba477bad3f292cefce02f582783c67f459e84182d3fe06e53cfe3236", "Refresh to load the selected channel's workflow and credential state.": "290fe59158244da3b9914566b3df31b8f15d3a66fd3ffd9661da282028522f59", + "Refresh verification": "c444d5a4e36d9ec9e448c2eb179a6ef45d3594cd02c264f699a83a04bb51749f", "Refresh work summary": "ccd4dcacf0460eb1ca7749ead055fbffcd395e4f8a0c0f9292d390394b80a78e", "Refresh workflow templates": "1d5c58c6bb31f588e7992a8fe14fc3bb3ad2f52396c0302dd980d4dfdaf1acaa", "Refresh workspace": "306960dcad4c285f46eb5bffbb815be8ebe98657bfed1a901e44b68c7c9f417d", @@ -6477,6 +6482,7 @@ "Stop scheduler": "da6153337089386cf80b918ffbd2f2a43a8876a76da3ca671200898a73695940", "Stop the current reply or queue new guidance.": "ef65bd0c8e0943cd194a61f0b0714870faf9081eeebdccb2967aabf880477457", "Stop using": "ef22ba68c9e447df816d52baba2d198b9d230a7b92291b0e683c38dd39fd94d7", + "Stop verification": "4d90de345e4b79787a78322b9da1ef2fd9c70098caae9af1208c37adc972ec73", "Stopped": "1a4f630ac1b69fd00728fa8a672ded71d0eae8516cb23e78f94529113399b79b", "Stopped {title}": "a2bb8d21f8b1fc6f69326965aabb4596bb14403cfc02644e3da7c3d99bda4a7f", "Stopped at {step}: {status}.": "a911b75c20e85b6fc45f8d484a34b9f7b844947fd5de54f289305ebd339951b7", @@ -7186,6 +7192,7 @@ "Unknown provider": "59080be0f444945a37e28b48166f9ddeb710cda7f656bb3827a684fffbcf4524", "Unknown size": "fffbd4ecf2ad3884acfc08d4fe61477737434672c0307bb3c08d2e876c0fd704", "Unknown source": "cbc86fd9d9357166a3076a90fd8957b816b3a516b79dc76d84e066daf984f83f", + "Unknown status": "15eebb6f74cc8a5a2a3eb6897533ded3d7c3e52b32cf617087a4793fef134ba0", "Unknown teammate": "491ea2ec8a112ef7fe0bc1368d78168f5a9208e5f9ca8587f8dd5ce1c1c5ef1f", "unknown_outcome": "164557364fc9e34fcc5fa0329a356a7d7042c4797b82a38cf0954e95185ad11d", "unknown_provider_capability": "f7ac373b31c9f98e1b1017117bf429d8b16a92030073b5b5eb5c30de06cdec8b", @@ -7360,12 +7367,15 @@ "Vector dimensions": "9d95d3f89905adeb9db91dc8afa0187d3e97858b2ec6e5ce78c0312ce1e99254", "Vector retrieval": "48180b50b6fc222ac72ac2cb38ac7d89c9b1cccd51392b6eae57b46a8ec6cd44", "Verdict": "4a36f89dafb0a1014671aaf16e3a380a999a33836e4c3a31fe5594a7da034da5", + "Verification": "7140f4f19dec525960aabacb5741a125876c7d85f8cfa9c899cc8880651ddf61", "verified": "1c34f88707b55e6104c4eb20e71ffa3d33e414b71ef689a15fad0640d0ac58cb", "Verified": "4f7838402f37674e8ebedb6cf048c0aea66bacdb25607aa3eee4b53093d83f5c", "Verified by execution": "1c4dd61aa39a909b81e11acea882bee4dec628b47763cc4dccca63dbc5f885bb", "Verified catalog": "8f408d980918dbb3a719ced82bf7e18c80a41382f2e3d444528defc5fa24623a", "Verifies behavior, regression scenarios, and user-facing workflows.": "b0845a7154f2567bfbe99c9649c79df3019b654217110f0d1b94f477dd91c78d", + "Verify": "eea2745e2867a6772adc3e813211e6ce7b6ebd312d7e84a7c1b1aa2f8c75fd4b", "Verify before use": "687f00a3911b398fd3e9df5675ecd82fba1fd114e17e2f868f4b04914679db33", + "Verify current changes": "547006b60c4136a531a18526bb7822b118268902f4f457bff86ab03e2a5e7e3f", "Verify the key, account access, balance, and model permission for this provider.": "5ba03b132333df8c1d7b130335bfa5a4034517c93f2a8725019d0d0eec7eb401", "Verifying": "a7d4a9f301edaa61ef561aaba1847d2729a900ea00bbf358953f99d99d913666", "Verifying integration candidate": "05a26deacc8035b95bfce5888134aaa287046d2727ef374e1ae39b07a59daadc", @@ -8790,9 +8800,11 @@ "cancelling": "取消", "Cancelling": "取消", "Candidate approved for draft": "候選人獲準參加草案", + "Candidate changed since verification": "自驗證後候選人發生變化", "Candidate cluster is not bound to a channel.": "候選集群未綁定到通道。", "Candidate Clusters": "候選集群", "Candidate commit: {commit}": "候選人提交:{commit}", + "Candidate comparison unavailable": "無法進行候選比較", "Candidate details": "候選人詳細信息", "Candidate generation": "候選人一代", "Candidate generation and recording": "候選生成和記錄", @@ -8966,6 +8978,7 @@ "Check member status": "檢視會員狀態", "Check member status to load readiness.": "檢查成員狀態以載入準備情況。", "Check needed": "需要檢查", + "Check output": "檢查輸出", "Check passed": "檢查通過", "Check preset": "檢查預設", "Check provider": "檢查提供者", @@ -12354,6 +12367,7 @@ "Participant label": "參與者標籤", "Participants": "參加者", "Pass": "經過", + "Passed": "透過", "Password": "密碼", "Paste a Ling memory Markdown export": "貼上 Ling 記憶體 Markdown 匯出", "Paste an API key in Model Workbench, then Save.": "將 API 鍵貼到模型工作台中,然後儲存。", @@ -12959,6 +12973,7 @@ "Refresh the library to load Ling built-in skills.": "刷新庫載入Ling內建技能。", "Refresh to load member readiness.": "刷新以載入會員準備。", "Refresh to load the selected channel's workflow and credential state.": "刷新以載入所選通道的工作流程和憑證狀態。", + "Refresh verification": "刷新驗證", "Refresh work summary": "Refresh work summary", "Refresh workflow templates": "Refresh workflow templates", "Refresh workspace": "刷新工作區", @@ -14186,6 +14201,7 @@ "Stop scheduler": "停止調度程序", "Stop the current reply or queue new guidance.": "停止當前回复或排隊新指導。", "Stop using": "停止使用", + "Stop verification": "停止驗證", "Stopped": "已停止", "Stopped {title}": "停止{title}", "Stopped at {step}: {status}.": "停在 {step}:{status}。", @@ -14895,6 +14911,7 @@ "Unknown provider": "未知提供者", "Unknown size": "尺寸未知", "Unknown source": "來源不明", + "Unknown status": "狀態未知", "Unknown teammate": "未知隊友", "unknown_outcome": "結果未知", "unknown_provider_capability": "未知的提供者能力", @@ -15069,12 +15086,15 @@ "Vector dimensions": "向量維度", "Vector retrieval": "向量檢索", "Verdict": "判決", + "Verification": "確認", "verified": "已驗證", "Verified": "已驗證", "Verified by execution": "透過執行驗證", "Verified catalog": "已驗證目錄", "Verifies behavior, regression scenarios, and user-facing workflows.": "驗證行為、回歸場景和使用者導向的工作流程。", + "Verify": "核實", "Verify before use": "使用前驗證", + "Verify current changes": "驗證當前更改", "Verify the key, account access, balance, and model permission for this provider.": "驗證該提供者的金鑰、帳戶存取權限、餘額和模型權限。", "Verifying": "正在驗證", "Verifying integration candidate": "驗證集成候選者", From 6cbe77261f47feac8a743488296d9a3dc3857632 Mon Sep 17 00:00:00 2001 From: tianxiaochannel-oss88 Date: Sun, 22 Nov 2026 18:41:17 +0800 Subject: [PATCH 016/147] feat(intake): admit configured GitHub work through Ling Agent --- apps/web/e2e/github-intake.spec.ts | 34 ++++ .../features/automations/AutomationsPage.tsx | 36 +++-- .../automations/GitHubIntakePanel.tsx | 78 +++++++++ apps/web/src/i18n/locales/zh-CN.ts | 14 ++ apps/web/src/styles/automations/page.css | 43 +++-- apps/web/tsconfig.e2e.json | 1 + ...g-agent-operating-model-detailed-design.md | 2 + .../ling-app-server-implementation-plan.md | 2 +- packages/api-client/src/app-server.ts | 5 + .../api-client/src/endpoints/operations.ts | 6 + packages/contracts/src/app-server.ts | 46 +++++- packages/core/src/app-server-state-types.ts | 2 +- packages/core/src/run-types.ts | 4 +- packages/core/src/storage/sqlite-run-store.ts | 14 +- .../storage/sqlite/app-server-state-store.ts | 11 ++ .../src/storage/sqlite/run-session-store.ts | 4 +- .../src/storage/sqlite/work-item-store.ts | 85 ++++++++-- packages/core/src/work-item-types.ts | 24 ++- .../conversations/conversation-submission.ts | 14 +- .../daemon/src/features/runs/concurrency.ts | 4 +- .../daemon/src/features/runs/orchestrator.ts | 5 + .../work-items/conversation-admission.ts | 4 +- packages/daemon/src/index.ts | 33 +++- .../src/server/app-server-github-intake.ts | 151 +++++++++++++++++- .../src/server/app-server-github-sources.ts | 39 ++++- packages/daemon/src/server/app-server-mcp.ts | 5 +- packages/daemon/src/server/router.ts | 5 + packages/daemon/src/server/rpc.ts | 38 ++--- .../server/workspace-github-intake-routes.ts | 28 ++++ .../app-server-release-acceptance.test.ts | 84 +++++++++- 30 files changed, 728 insertions(+), 93 deletions(-) create mode 100644 apps/web/e2e/github-intake.spec.ts create mode 100644 apps/web/src/features/automations/GitHubIntakePanel.tsx create mode 100644 packages/daemon/src/server/workspace-github-intake-routes.ts diff --git a/apps/web/e2e/github-intake.spec.ts b/apps/web/e2e/github-intake.spec.ts new file mode 100644 index 000000000..e2f975d24 --- /dev/null +++ b/apps/web/e2e/github-intake.spec.ts @@ -0,0 +1,34 @@ +import { expect, test } from "@playwright/test"; +import { mockDaemon } from "./support/mock-daemon"; +import { createBaseState, cwd } from "./support/mock-state"; + +test("Automations displays the registered GitHub intake policy and reads its admission receipts", async ({ page }) => { + await page.addInitScript(() => localStorage.setItem("ling-stack.locale", "en-US")); + await mockDaemon(page, createBaseState({ approvalStatus: "expired" })); + await page.route("**/workspace/github-intake?*", async route => { + const request = route.request(); + if (request.method() === "GET") { + await route.fulfill({ json: { cwd, sources: [{ + repository: "example/ling", revision: "fixture-policy", providerAvailable: true, + policy: { mode: "auto_start", enabled: true, requiredLabel: "agent-ready", + quietHours: { start: "22:00", end: "08:00", timeZone: "Asia/Shanghai" }, + budget: { maxConcurrent: 1, maxStartsPerWindow: 3, windowMs: 3_600_000 } }, + }] } }); + } else { + expect(request.postDataJSON()).toMatchObject({ repository: "example/ling", retryKey: expect.any(String) }); + await route.fulfill({ json: { cwd, receipts: [{ + receiptId: "quiet-receipt", subject: { number: 21, kind: "issue" }, outcome: "suppressed", reasonCode: "quiet_hours", + }] } }); + } + }); + await page.goto("/"); + await page.getByRole("complementary", { name: "Sidebar display" }).getByRole("button", { name: "Automation", exact: true }).click(); + await page.getByText("GitHub intake", { exact: true }).click(); + const source = page.getByRole("region", { name: "example/ling" }); + await expect(source).toContainText("agent-ready"); + await expect(source).toContainText("22:00–08:00 Asia/Shanghai"); + await expect(source).toContainText("Up to 1 active and 3 starts per 60 min"); + await source.getByRole("button", { name: "Check GitHub inbox" }).click(); + await expect(source.getByRole("listitem")).toContainText("#21"); + await expect(source.getByRole("listitem")).toContainText("Skipped"); +}); diff --git a/apps/web/src/features/automations/AutomationsPage.tsx b/apps/web/src/features/automations/AutomationsPage.tsx index 583768bf5..7aced57bf 100644 --- a/apps/web/src/features/automations/AutomationsPage.tsx +++ b/apps/web/src/features/automations/AutomationsPage.tsx @@ -29,6 +29,7 @@ import { AutomationSchedulerSummary } from "./AutomationSchedulerSummary.js"; import { AutomationWorkbenchHeader } from "./AutomationWorkbenchHeader.js"; import { useDesktopTitlebarPlacement } from "../../app/DesktopTitlebarSurface.js"; import { useAutomationsPageController } from "./useAutomationsPageController.js"; +import { GitHubIntakePanel } from "./GitHubIntakePanel.js"; export interface AutomationsPageProps { readonly cwd: string; @@ -145,22 +146,25 @@ export function AutomationsPage(props: AutomationsPageProps): React.JSX.Element t={t} onCreate={() => controller.openCreate("template")} /> - {controller.summary.totalCount > 0 || props.schedulerError ? ( - void runScheduler("start")} - onStop={() => void runScheduler("stop")} - /> - ) : null} - {props.refreshError ? ( - - {props.refreshError} - - - ) : null} +
+ {controller.summary.totalCount > 0 || props.schedulerError ? ( + void runScheduler("start")} + onStop={() => void runScheduler("stop")} + /> + ) : null} + {props.refreshError ? ( + + {props.refreshError} + + + ) : null} + {props.cwd ? : null} +
= { + manual: "Manual", suggested: "Suggested", accepted: "Accepted", + suppressed: "Skipped", paused: "Paused", deduplicated: "Already in work", +}; +const reasonLabels: Readonly> = { + quiet_hours: "Quiet hours", concurrency_limit: "Concurrent work limit reached", + start_budget_exhausted: "Start budget reached", work_item_held: "Work item paused", + required_label_missing: "Required label missing", policy_disabled: "Policy paused", +}; + +export function GitHubIntakePanel({ cwd }: { readonly cwd: string }): React.JSX.Element | null { + const { t } = useI18n(); + const [sources, setSources] = useState([]); + useEffect(() => { + let current = true; + void daemonClient.listGitHubIntakePolicies(cwd).then(result => { + if (current) setSources(result.sources); + }, () => { if (current) setSources([]); }); + return () => { current = false; }; + }, [cwd]); + if (!sources.length) return null; + + return
+ {t("GitHub intake")} + {sources.map(source => )} +
; +} + +function GitHubIntakeSource({ cwd, source }: { + readonly cwd: string; + readonly source: LingAppServerGitHubIntakePolicyList["sources"][number]; +}): React.JSX.Element { + const { t } = useI18n(); + const [result, setResult] = useState(); + const [error, setError] = useState(); + const [busy, setBusy] = useState(false); + const { policy, repository } = source; + async function check(page?: number) { + setBusy(true); + setError(undefined); + try { + setResult(await daemonClient.pollGitHubIntake(cwd, { repository, page, retryKey: crypto.randomUUID() })); + } catch (cause) { + setError(cause instanceof Error ? cause.message : String(cause)); + } finally { + setBusy(false); + } + } + return
+
+ {repository} + {t(policy.enabled ? modeLabels[policy.mode] : "Paused")} + +
+ {policy.requiredLabel ? {t("Required label")} {policy.requiredLabel} : null} + {policy.mode === "auto_start" ? + {t("Up to {concurrent} active and {starts} starts per {minutes} min", { + concurrent: policy.budget.maxConcurrent, starts: policy.budget.maxStartsPerWindow, minutes: policy.budget.windowMs / 60_000, + })} + {policy.quietHours ? ` · ${t("Quiet hours")} ${policy.quietHours.start}–${policy.quietHours.end} ${policy.quietHours.timeZone}` : null} + {source.providerAvailable === false ? ` · ${t("Provider unavailable")}` : null} + : null} + {error ? {error} : null} + {result ?
    {result.receipts.map(receipt =>
  • + #{receipt.subject.number} + {t(outcomeLabels[receipt.outcome])} + {reasonLabels[receipt.reasonCode] ? {t(reasonLabels[receipt.reasonCode])} : null} +
  • )}
: null} + {result?.nextPage ? : null} +
; +} diff --git a/apps/web/src/i18n/locales/zh-CN.ts b/apps/web/src/i18n/locales/zh-CN.ts index 10da74f16..5a9fdd380 100644 --- a/apps/web/src/i18n/locales/zh-CN.ts +++ b/apps/web/src/i18n/locales/zh-CN.ts @@ -6896,6 +6896,20 @@ export const zhCN = { "Unsupported file": "不支持的文件", "Review tools": "审查工具", "Verification": "验证", + "GitHub intake": "GitHub 接单", + "Automatic intake": "自动接单", + "Check GitHub inbox": "检查 GitHub 工作项", + "Suggest": "建议接单", + "Suggested": "已建议", + "Already in work": "已接入工作", + "Required label": "必需标签", + "Required label missing": "缺少必需标签", + "Concurrent work limit reached": "已达并发上限", + "Start budget reached": "已达启动额度", + "Work item paused": "工作项已暂停", + "Policy paused": "接单策略已暂停", + "Provider unavailable": "模型提供方不可用", + "Up to {concurrent} active and {starts} starts per {minutes} min": "最多同时执行 {concurrent} 项,每 {minutes} 分钟最多启动 {starts} 项", "Verify current changes": "验证本次改动", "Refresh verification": "刷新验证结果", "Stop verification": "停止验证", diff --git a/apps/web/src/styles/automations/page.css b/apps/web/src/styles/automations/page.css index bff61a017..67dc5f1f8 100644 --- a/apps/web/src/styles/automations/page.css +++ b/apps/web/src/styles/automations/page.css @@ -13,20 +13,12 @@ height: 100%; min-width: 0; min-height: 0; - grid-template-rows: auto auto auto minmax(0, 1fr); + grid-template-rows: auto auto minmax(0, 1fr); overflow: hidden; color: var(--ling-text-default); background: var(--ling-bg-panel); } -.automation-ui2-page.titlebar-window { - grid-template-rows: auto auto minmax(0, 1fr); -} - -.automation-ui2-page.titlebar-window > .automation-ui2-main { - grid-row: 3; -} - .automation-ui2-header { display: flex; min-width: 0; @@ -77,6 +69,39 @@ margin: var(--ling-space-4) var(--ling-space-8) 0; } +.automation-ui2-github-intake { + max-height: min(42vh, 320px); + overflow: auto; + padding: var(--ling-space-4) var(--ling-space-8); +} + +.automation-ui2-github-intake summary { + cursor: pointer; +} + +.automation-ui2-github-intake section { + display: grid; + gap: var(--ling-space-2); + padding-block: var(--ling-space-4); + border-bottom: 1px solid var(--ling-border-default); +} + +.automation-ui2-github-intake section header, +.automation-ui2-github-intake li { + display: flex; + align-items: center; + flex-wrap: wrap; + gap: var(--ling-space-3); +} + +.automation-ui2-github-intake ul { + display: grid; + gap: var(--ling-space-2); + list-style: none; + padding: 0; + margin: 0; +} + .automation-ui2-main { display: grid; min-width: 0; diff --git a/apps/web/tsconfig.e2e.json b/apps/web/tsconfig.e2e.json index b10475938..49cc0a66c 100644 --- a/apps/web/tsconfig.e2e.json +++ b/apps/web/tsconfig.e2e.json @@ -16,6 +16,7 @@ "e2e/app.spec.ts", "e2e/code-assessments.spec.ts", "e2e/workspace-verification.spec.ts", + "e2e/github-intake.spec.ts", "e2e/review-annotations.spec.ts", "e2e/review-annotation-recovery.spec.ts", "e2e/image-review-tools.spec.ts", diff --git a/docs/design/ling-agent-operating-model-detailed-design.md b/docs/design/ling-agent-operating-model-detailed-design.md index 0415b93f0..dd840068c 100644 --- a/docs/design/ling-agent-operating-model-detailed-design.md +++ b/docs/design/ling-agent-operating-model-detailed-design.md @@ -170,6 +170,8 @@ Qualification and dispatch recheck the source policy and revision. Paused source A registered App Server GitHub repository can set an `intake` policy with `mode`, `enabled`, optional `requiredLabel` and `priority`, and a signed Automation `webhookSourceId`. The local operator can poll a page of open subjects using `github/intake/poll`. Without an explicit mode the poll records a manual evaluation. A suggested subject uses the existing intake Work Item and waits for acceptance. +Automatic intake requires a label, an enabled Pi provider preset and a bounded start budget. The Work Item store counts automatic reservations against the rolling budget and counts queued reservations and active Runs against concurrency. The Automation worker recovers a reservation through the normal conversation submission receipt. Its initial conversation reads the project and can propose a plan or ask for clarification. It rechecks the policy revision, quiet hours and webhook authority before Run admission. Operators can inspect registered policies in Automations and explicitly re-evaluate a receipt suppressed by a temporary limit. + The signed webhook route validates the immutable repository ID and commits its inbox event with the pending intake target. The Automation event worker rechecks its source revision and registered repository, reads the current subject from GitHub, and records the evaluation. Suggestions bind the Work Item, source occurrence and evaluation in one transaction. `github/intake/read` can recover the occurrence receipt by ID. Poll and webhook receipts have separate occurrence IDs and share the verified target identity. Each workspace has one default Work Item binding for an exact target. The target is either a resolved Work Item ID or a GitHub subject identified by the verified GitHub instance, immutable repository ID, subject kind and number. An existing Work Item ID addresses that item directly. For GitHub, the adapter resolves an authorized repository-qualified URL, structured submission or an explicit Issue/PR number in a conversation with a single repository binding. An unresolved or ambiguous target uses clarification or an authorization outcome before implementation dispatch. Titles, matching descriptions, labels, branches and references copied from issue bodies are context for a proposal. Automatic binding requires an explicit target from authorized input or a verified source event. diff --git a/docs/design/ling-app-server-implementation-plan.md b/docs/design/ling-app-server-implementation-plan.md index 07eaa3dfd..3aa790755 100644 --- a/docs/design/ling-app-server-implementation-plan.md +++ b/docs/design/ling-app-server-implementation-plan.md @@ -53,7 +53,7 @@ | A1、B1、C1、C2 | 全方法的 Schema 校验和更多宿主兼容组合。workspace、Thread、Work Item 的 grant 和 WSS 已接入,审批和用户答复仍需按不同真实宿主与远程部署做验收。App Server 目标游标已绑定存储代次、授权代次和目标,现有兼容用例覆盖本机的上一版源码与候选组合。 | | D1、D2、E1、E2 | 开工与 Pi 运行中的项目规则加载、显式 Claude 规则、两个开发 Skill、工作区 Verify、独立 verifier basis、托管工作树管理、候选改动分页、Turn 改动恢复和工作台浏览器验证报告已接入。仍需选中 hunk、跨工作树应用和各发行平台验证。 | | F1、F2 | 普通会话已接入 Handoff 的候选封存和接手。仍需跨 Agent Workflow 的执行归属和预算承接。已有 Codex MCP 联调,双端宿主界面和授权变更后重订阅需要实测。 | -| O1、O3–O9 | 已验证 GitHub 签名 webhook、独立轮询和显式接单可以归并到同一工作项。Webhook 入箱和待处理目标同事务提交,Daemon 重启后重试原目标。人工与建议模式保留评估收据。仍需自治派发及配置视图、合并队列、经验和设备反馈、阶段简报、在途改计划、交接、审议裁决和跨 Run 预算,以及原 Workflow 的联合 UI 验收。 | +| O1、O3–O9 | 已验证 GitHub 签名 webhook、独立轮询和显式接单可以归并到同一工作项。Webhook 入箱和待处理目标同事务提交。已登记的自动接单策略适用免打扰、并发和启动额度,由现有 Automation worker 以原受理键提交 Ling Agent 只读会话。Automations 显示生效策略及评估回执。Channel、设备和已有 AutomationRun 的统一自治接入仍待完成。合并队列、经验和设备反馈、阶段简报、在途改计划、交接、审议裁决、跨 Run 预算及原 Workflow 的联合 UI 验收仍待完成。 | | G | 自研切换和回退日志对账、签名安装产物、远程 WSS 和三个真实 Provider 自研试点。macOS 打包预检仍缺当前打包输入的 Office 审查、对应 Electron/OS 的受限运行时审查和 gstack 平台资源。T01 离线预检达到评审条件,真实试点仍需按 Framework Assurance 准入。 | ## 目标与开工顺序 diff --git a/packages/api-client/src/app-server.ts b/packages/api-client/src/app-server.ts index 4410960c2..156ea7027 100644 --- a/packages/api-client/src/app-server.ts +++ b/packages/api-client/src/app-server.ts @@ -332,6 +332,11 @@ export class LingAppServerClient { return await this.request("github/intake/poll", params); } + async listGitHubIntakePolicies(): Promise { + await this.connect(); + return await this.request("github/intake/policy/list", {}); + } + async readGitHubIntake(params: LingAppServerGitHubIntakeReadParams): Promise { await this.connect(); const result = await this.request<{ receipt: LingAppServerGitHubIntakeReceipt }>("github/intake/read", params); diff --git a/packages/api-client/src/endpoints/operations.ts b/packages/api-client/src/endpoints/operations.ts index 1e3569781..61d44b909 100644 --- a/packages/api-client/src/endpoints/operations.ts +++ b/packages/api-client/src/endpoints/operations.ts @@ -52,6 +52,12 @@ export const operationEndpoints = { async cancelWorkspaceVerification(this: LingDaemonEndpointContext, cwd: string, input: Omit): Promise { return this._post("/workspace/verification/cancel", { cwd }, input); }, + async listGitHubIntakePolicies(this: LingDaemonEndpointContext, cwd: string): Promise { + return this._get("/workspace/github-intake", { cwd }); + }, + async pollGitHubIntake(this: LingDaemonEndpointContext, cwd: string, input: Omit): Promise { + return this._post("/workspace/github-intake", { cwd }, input); + }, async createCodeAssessmentOverview(this: LingDaemonEndpointContext, cwd: string, input: CreateCodeAssessmentRequest): Promise { return this._post("/workspace/code-assessments", { cwd, view: "overview" }, input); }, diff --git a/packages/contracts/src/app-server.ts b/packages/contracts/src/app-server.ts index be9a8f8f3..ebbbc0ec2 100644 --- a/packages/contracts/src/app-server.ts +++ b/packages/contracts/src/app-server.ts @@ -148,6 +148,7 @@ export const LING_APP_SERVER_METHODS = [ "workItem/feedback/add", "delivery/read", "github/subject/read", + "github/intake/policy/list", "github/intake/poll", "github/intake/read", "github/delivery/reconcile", @@ -552,6 +553,12 @@ export interface LingAppServerWorkItemAcceptResult extends LingAppServerWorkItem export interface LingAppServerWorkItemReadResult extends LingAppServerWorkItemResult { readonly cursor: string; + readonly intakeDispatch?: { + readonly receiptId: string; + readonly status: "pending" | "held" | "admitted"; + readonly reasonCode?: string; + readonly runId?: string; + }; } export interface LingAppServerWorkItemControlResult extends LingAppServerWorkItemResult { @@ -889,14 +896,36 @@ export interface LingAppServerGitHubSubject extends Omit this.recordRunSkillUsage(run, "selected", run.createdAt), assertWorkspaceSnapshotFence: (cwd) => this.assertWorkspaceSnapshotFence(cwd), getDelegationCompletionEvidence: (input) => this.getDelegationCompletionEvidence(input), - checkWorkItemAdmission: (threadId, turnId, request) => { + checkWorkItemAdmission: (threadId, turnId, request, automaticIntakeReceiptId) => { const snapshot = request as { idempotencyKey?: string; normalConversationPreparedRequestRef?: { id: string; fingerprint: string } } | null; - const workItem = this.checkWorkItemConversationAdmission(threadId, snapshot?.idempotencyKey); + const workItem = this.checkWorkItemConversationAdmission(threadId, snapshot?.idempotencyKey, automaticIntakeReceiptId); if (workItem && !workItem.runId) { const turn = turnId ? this.getLingTurn(turnId) : undefined; const prepared = turn?.sourceItemId && this.getConversationPreparedInput(turn.sourceItemId, "request"); @@ -6146,8 +6146,8 @@ export class SqliteRunStore implements RunStore { return this.workItems.acceptWorkItem(id, input, now, this.appServerState, { store: this.controlPlane, cwd: eventCwd }); } - checkWorkItemConversationAdmission(threadId: string, submissionKey: unknown): WorkItem | undefined { - return this.workItems.checkConversationAdmission(threadId, submissionKey, this.appServerState); + checkWorkItemConversationAdmission(threadId: string, submissionKey: unknown, automaticIntakeReceiptId?: string): WorkItem | undefined { + return this.workItems.checkConversationAdmission(threadId, submissionKey, this.appServerState, automaticIntakeReceiptId); } claimWorkItem( @@ -6155,7 +6155,7 @@ export class SqliteRunStore implements RunStore { input: WorkItemClaimRequest, now: string, ): { readonly workItem: WorkItem; readonly claimToken?: string; readonly blocker?: WorkItemClaimBlocker } | undefined { - return this.workItems.claimWorkItem(id, input, now); + return this.workItems.claimWorkItem(id, input, now, this.appServerState); } heartbeatWorkItem(id: string, input: WorkItemHeartbeatRequest, now: string): WorkItem | undefined { @@ -6202,6 +6202,10 @@ export class SqliteRunStore implements RunStore { return this.appServerState.latestVerification(threadId); } + listPendingGitHubIntakeDispatches(updatedBefore: string, limit: number): import("../app-server-state-types.js").AppServerStateRecord[] { + return this.appServerState.pendingGitHubIntakeDispatches(updatedBefore, limit); + } + putAppServerState(input: import("../app-server-state-types.js").PutAppServerStateInput, now: string, publication?: AppendControlPlaneEventInput): import("../app-server-state-types.js").PutAppServerStateResult | undefined { return this.appServerState.put(input, now, publication); } diff --git a/packages/core/src/storage/sqlite/app-server-state-store.ts b/packages/core/src/storage/sqlite/app-server-state-store.ts index a10b45488..0f2d877b6 100644 --- a/packages/core/src/storage/sqlite/app-server-state-store.ts +++ b/packages/core/src/storage/sqlite/app-server-state-store.ts @@ -44,6 +44,17 @@ export class SqliteAppServerStateStore { return row ? mapRecord(row) : undefined; } + pendingGitHubIntakeDispatches(updatedBefore: string, limit: number, workspaceId = DEFAULT_WORKSPACE_ID): AppServerStateRecord[] { + const rows = this.context.database.prepare(` + SELECT * FROM app_server_state + WHERE workspace_id = ? AND kind = 'github_intake_dispatch' + AND json_extract(payload_json, '$.status') = 'pending' + AND (revision = 1 OR updated_at <= ?) + ORDER BY updated_at ASC, record_id ASC LIMIT ? + `).all(workspaceId, updatedBefore, limit); + return rows.map(mapRecord); + } + put(input: PutAppServerStateInput, now: string, publication?: AppendControlPlaneEventInput): PutAppServerStateResult | undefined { this.context.database.exec("BEGIN IMMEDIATE"); try { diff --git a/packages/core/src/storage/sqlite/run-session-store.ts b/packages/core/src/storage/sqlite/run-session-store.ts index 71a7f50e1..a03337704 100644 --- a/packages/core/src/storage/sqlite/run-session-store.ts +++ b/packages/core/src/storage/sqlite/run-session-store.ts @@ -50,7 +50,7 @@ export interface SqliteRunSessionStorePorts { /** Reject new/promoted execution while an explicit workspace restore owns the fence. */ readonly assertWorkspaceSnapshotFence?: (cwd: string) => void; readonly getDelegationCompletionEvidence: RunStore["getDelegationCompletionEvidence"]; - readonly checkWorkItemAdmission?: (threadId: string, turnId: string | undefined, request: unknown) => WorkItem | undefined; + readonly checkWorkItemAdmission?: (threadId: string, turnId: string | undefined, request: unknown, automaticIntakeReceiptId?: string) => WorkItem | undefined; readonly linkWorkItemRun?: (workItem: WorkItem, runId: string, now: string) => void; } @@ -109,7 +109,7 @@ export class SqliteRunSessionStore { } const requestSnapshot: unknown = JSON.parse(prepared.requestJson); const workItem = sourceThreadId - ? readSqliteWithinTransaction(this.context.database, () => this.ports.checkWorkItemAdmission?.(sourceThreadId, captured.turnId, requestSnapshot)) + ? readSqliteWithinTransaction(this.context.database, () => this.ports.checkWorkItemAdmission?.(sourceThreadId, captured.turnId, requestSnapshot, captured.automaticIntakeReceiptId)) : undefined; this.assertManagedWorkspaceBinding(captured, requestSnapshot, sourceThread); const eventLogPath = getRunEventLogPath(this.paths, captured.id); diff --git a/packages/core/src/storage/sqlite/work-item-store.ts b/packages/core/src/storage/sqlite/work-item-store.ts index b408dbabc..dc4450018 100644 --- a/packages/core/src/storage/sqlite/work-item-store.ts +++ b/packages/core/src/storage/sqlite/work-item-store.ts @@ -6,6 +6,8 @@ import { type CommitWorkItemGitHubDeliveryResult, type CreateWorkItemInput, type CreateWorkItemResult, + type GitHubIntakeDispatchIntent, + type GitHubIntakeOccurrence, type ListWorkItemsOptions, type UpsertWorkItemInput, type WorkItem, @@ -131,11 +133,13 @@ export class SqliteWorkItemStore { }, now) : undefined; let gitHubIntakeReceipt: LingAppServerGitHubIntakeReceipt | undefined; if (input.gitHubIntake) { - const intake = input.gitHubIntake; + const { automatic, ...intake } = input.gitHubIntake; const prior = state.get("github_intake_receipt", intake.receiptId)?.payload as LingAppServerGitHubIntakeReceipt | undefined; if (prior && prior.workItemId !== workItem.id) throw new Error("github_intake_conflict"); - gitHubIntakeReceipt = prior ?? { ...intake, workItemId: workItem.id, outcome: existing ? "deduplicated" : "suggested", - reasonCode: existing ? "existing_target" : "suggested_for_acceptance" }; + const decision = prior ?? (automatic ? this.reserveGitHubIntake({ ...intake, automatic }, workItem, state, now) + : existing ? { outcome: "deduplicated" as const, reasonCode: "existing_target" } + : { outcome: "suggested" as const, reasonCode: "suggested_for_acceptance" }); + gitHubIntakeReceipt = { ...intake, ...decision, workItemId: workItem.id }; if (!prior && !state.putWithinTransaction({ kind: "github_intake_receipt", recordId: intake.receiptId, expectedRevision: 0, payload: gitHubIntakeReceipt, }, now)) throw new Error("github_intake_conflict"); @@ -148,6 +152,41 @@ export class SqliteWorkItemStore { } } + private reserveGitHubIntake( + { repository, receiptId, policyRevision, automatic }: GitHubIntakeOccurrence & { automatic: NonNullable }, + workItem: WorkItem, state: SqliteAppServerStateStore, now: string, + ): Pick { + if (state.get("github_intake_dispatch", workItem.id) || state.get("work_item_acceptance", workItem.id) + || workItem.runId || workItem.taskId || workItem.workflowId || workItem.claim) { + return { outcome: "deduplicated", reasonCode: "existing_execution" }; + } + if (workItem.control.state !== "active" || workItem.holds.some(hold => hold.blocksNewAdmission)) { + return { outcome: "paused", reasonCode: "work_item_held" }; + } + if (!["intake", "triage", "backlog", "ready"].includes(workItem.status)) { + return { outcome: "suppressed", reasonCode: "work_item_ineligible" }; + } + const { repositoryId, budget, webhook } = automatic; + const windowStart = new Date(Date.parse(now) - budget.windowMs).toISOString(); + const counts = this.context.database.prepare(` + SELECT COUNT(CASE WHEN dispatch.created_at >= ? THEN 1 END) AS starts, + COUNT(CASE WHEN json_extract(dispatch.payload_json, '$.status') = 'pending' + OR run.status IN ('queued', 'running', 'waiting_for_approval', 'yielded') THEN 1 END) AS concurrent + FROM app_server_state dispatch + LEFT JOIN work_items item ON item.id = dispatch.record_id AND item.workspace_id = dispatch.workspace_id + LEFT JOIN run_sessions run ON run.id = item.run_id + WHERE dispatch.workspace_id = ? AND dispatch.kind = 'github_intake_dispatch' + AND json_extract(dispatch.payload_json, '$.repositoryId') = ? + `).get(windowStart, workItem.workspaceId, repositoryId); + if (Number(counts?.starts) >= budget.maxStartsPerWindow) return { outcome: "suppressed", reasonCode: "start_budget_exhausted" }; + if (Number(counts?.concurrent) >= budget.maxConcurrent) return { outcome: "suppressed", reasonCode: "concurrency_limit" }; + const intent: GitHubIntakeDispatchIntent = { + workItemId: workItem.id, receiptId, repository, repositoryId, policyRevision, webhook, status: "pending", + }; + state.putWithinTransaction({ kind: "github_intake_dispatch", recordId: workItem.id, expectedRevision: 0, payload: intent }, now); + return { outcome: "accepted", reasonCode: "automatic_intake_reserved" }; + } + commitGitHubDelivery( { delivery, targetKey, expectedWorkItemRevision, expectedDeliveryRevision }: CommitWorkItemGitHubDeliveryInput, state: SqliteAppServerStateStore, @@ -445,6 +484,7 @@ export class SqliteWorkItemStore { } if (workItem.revision !== input.expectedRevision || workItem.control.state !== "active" || workItem.holds.some(hold => hold.blocksNewAdmission) + || workItem.claim && workItem.claim.expiresAt > now || !["intake", "triage", "backlog", "ready"].includes(workItem.status)) return undefined; const acceptanceId = `work_item_acceptance_${randomUUID()}`; const dispatch = input.dispatch ? { ...input.dispatch, submissionKey: `work-item:${acceptanceId}` } : undefined; @@ -478,7 +518,7 @@ export class SqliteWorkItemStore { return state.get("work_item_thread", threadId)?.payload as WorkItemConversationBinding | undefined; } - checkConversationAdmission(threadId: string, submissionKey: unknown, state: SqliteAppServerStateStore): WorkItem | undefined { + checkConversationAdmission(threadId: string, submissionKey: unknown, state: SqliteAppServerStateStore, automaticIntakeReceiptId?: string): WorkItem | undefined { const binding = this.getConversationBinding(threadId, state); if (!binding) return undefined; const workItem = this.getWorkItem(binding.workItemId); @@ -487,6 +527,16 @@ export class SqliteWorkItemStore { || ["done", "cancelled", "superseded", "archived"].includes(workItem.status)) throw new Error("work_item_dispatch_held"); if (!workItem.runId && binding.submissionKey !== submissionKey && normalConversationSubmissionKey(threadId, binding.submissionKey) !== submissionKey) throw new Error("work_item_dispatch_intent_required"); + if (!workItem.runId) { + const intent = state.get("github_intake_dispatch", workItem.id)?.payload as GitHubIntakeDispatchIntent | undefined; + const acceptance = intent ? state.get("work_item_acceptance", workItem.id)?.payload as WorkItemAcceptanceReceipt | undefined : undefined; + if (intent && acceptance?.idempotencyKey === intent.receiptId && (intent.status !== "pending" || automaticIntakeReceiptId !== intent.receiptId + || intent.webhook && !this.context.database.prepare(` + SELECT 1 FROM automation_event_sources WHERE id=? AND revision=? AND json_extract(source_json, '$.enabled')=1 + `).get(intent.webhook.sourceId, intent.webhook.sourceRevision))) { + throw new Error("work_item_dispatch_held"); + } + } return workItem; } @@ -507,15 +557,30 @@ export class SqliteWorkItemStore { id: string, input: WorkItemClaimRequest, now: string, + state: SqliteAppServerStateStore, ): { readonly workItem: WorkItem; readonly claimToken?: string; readonly blocker?: WorkItemClaimBlocker } | undefined { + const { database } = this.context; + database.exec("BEGIN IMMEDIATE"); + try { + const result = this.claimWithinTransaction(id, input, now, state); + database.exec("COMMIT"); + return result; + } catch (error) { + rollbackOwnedSqliteTransaction(database); + throw error; + } + } + + private claimWithinTransaction(id: string, input: WorkItemClaimRequest, now: string, state: SqliteAppServerStateStore) { const existing = this.getWorkItem(id); - if (!existing) { - return undefined; + if (!existing) return undefined; + const acceptance = state.get("work_item_acceptance", id)?.payload as WorkItemAcceptanceReceipt | undefined; + const intake = state.get("github_intake_dispatch", id)?.payload as GitHubIntakeDispatchIntent | undefined; + if (acceptance?.dispatch || intake?.status === "pending") { + return { workItem: existing, blocker: { code: "control_blocked" as const, message: "Work item has an assigned conversation owner." } }; } const blocker = this.workItemClaimBlocker(existing, now); - if (blocker) { - return { workItem: existing, blocker }; - } + if (blocker) return { workItem: existing, blocker }; const claimToken = createWorkItemClaimToken(); const expiresAt = new Date(Date.parse(now) + clampWorkItemLeaseMs(input.leaseMs)).toISOString(); this.context.database @@ -736,7 +801,7 @@ export class SqliteWorkItemStore { } private workItemClaimBlocker(item: WorkItem, now: string): WorkItemClaimBlocker | undefined { - if (item.control.state !== "active") { + if (item.control.state !== "active" || item.holds.some(hold => hold.blocksNewAdmission)) { return { code: "control_blocked", message: `Work item control is ${item.control.state}.` }; } if (item.status === "done" || item.status === "archived") { diff --git a/packages/core/src/work-item-types.ts b/packages/core/src/work-item-types.ts index ea95cc126..2f7855021 100644 --- a/packages/core/src/work-item-types.ts +++ b/packages/core/src/work-item-types.ts @@ -1,6 +1,6 @@ import { randomUUID } from "node:crypto"; import type { - LingAppServerGitHubDelivery, LingAppServerGitHubIntakeReceipt, LingAppServerWorkItemAcceptance, + LingAppServerGitHubDelivery, LingAppServerGitHubIntakeBudget, LingAppServerGitHubIntakeReceipt, LingAppServerWorkItemAcceptance, LingAppServerWorkItemConversationDispatch, LingAppServerWorkItemSourceReceipt, } from "@ling-stack/contracts"; import type { ControlPlaneEvent } from "./run-types.js"; @@ -141,7 +141,27 @@ export interface CreateWorkItemInput extends Pick; + readonly gitHubIntake?: GitHubIntakeOccurrence; +} + +export interface GitHubIntakeOccurrence extends Omit { + readonly automatic?: { + readonly repositoryId: string; + readonly budget: LingAppServerGitHubIntakeBudget; + readonly webhook?: { readonly sourceId: string; readonly sourceRevision: number }; + }; +} + +export interface GitHubIntakeDispatchIntent { + readonly workItemId: string; + readonly receiptId: string; + readonly repositoryId: string; + readonly repository: string; + readonly policyRevision: string; + readonly webhook?: NonNullable["webhook"]; + readonly status: "pending" | "held" | "admitted"; + readonly reasonCode?: string; + readonly runId?: string; } export interface CreateWorkItemResult { diff --git a/packages/daemon/src/features/conversations/conversation-submission.ts b/packages/daemon/src/features/conversations/conversation-submission.ts index f11585c28..e4713e385 100644 --- a/packages/daemon/src/features/conversations/conversation-submission.ts +++ b/packages/daemon/src/features/conversations/conversation-submission.ts @@ -2,6 +2,7 @@ import type { ConversationStreamRequest } from "@ling-stack/contracts"; import type { LingThread, LingTurn, RunStore } from "@ling-stack/core"; import type { RunnerRegistry } from "../../runtime/runners.js"; import type { LingImageVisionSummarizer } from "../channels/materialization/registry.js"; +import { appendControlPlaneEvent, type ControlPlaneEventHub } from "../control-plane/events.js"; import { buildEffectiveConfigResponse } from "../settings/effective-config.js"; import { resolveConversationExecutionSelection } from "./conversation-execution-selection.js"; import { buildConversationRunRequest } from "./conversation-run-request.js"; @@ -21,6 +22,7 @@ export async function prepareConversationSubmission(options: { readonly resolveThread: () => LingThread; readonly title?: string; readonly turnKind?: LingTurn["kind"]; + readonly automaticIntakeReceiptId?: string; readonly imageVisionSummarizer?: LingImageVisionSummarizer; }) { const { store, workspaceCwd, runnerRegistry, input, now } = options; @@ -31,7 +33,7 @@ export async function prepareConversationSubmission(options: { const thread = options.resolveThread(); const acceptedTurn = accepted?.status === "accepted" && accepted.turnId ? store.getLingTurn(accepted.turnId) : undefined; if (!(acceptedTurn?.activeRunId || acceptedTurn?.lastRunId)) { - assertWorkItemConversationAdmission(store, thread.id, input.idempotencyKey); + assertWorkItemConversationAdmission(store, thread.id, input.idempotencyKey, options.automaticIntakeReceiptId); } const fileRefs = input.fileRefs ?? []; const prepared = prepareNormalConversationInput({ @@ -64,3 +66,13 @@ export function conversationTitle(message: string): string { const oneLine = message.replace(/\s+/g, " ").trim(); return oneLine.length > 48 ? `${oneLine.slice(0, 45)}...` : oneLine || "New conversation"; } + +export function publishPreparedConversationTurn(store: RunStore, events: ControlPlaneEventHub, turn: LingTurn): void { + const idempotencyKey = `app-server-turn:${turn.id}`; + if (store.getControlPlaneEventByIdempotency(turn.workspaceId, idempotencyKey)) return; + appendControlPlaneEvent(store, events, { + workspaceId: turn.workspaceId, cwd: store.paths.cwd, domain: "runs", + entityType: "turn", entityId: turn.id, action: "turn.started", idempotencyKey, + data: { threadId: turn.threadId, turnId: turn.id, status: "queued" }, + }); +} diff --git a/packages/daemon/src/features/runs/concurrency.ts b/packages/daemon/src/features/runs/concurrency.ts index 326e35bc4..79a117510 100644 --- a/packages/daemon/src/features/runs/concurrency.ts +++ b/packages/daemon/src/features/runs/concurrency.ts @@ -40,10 +40,12 @@ export function prepareRunConcurrency(input: { readonly attempt: WorkUnitAttempt; /** Host-only identity of an already activated same-Run continuation, never a request flag. */ readonly existingContinuationId?: string; + readonly automaticIntakeReceiptId?: string; readonly now: string; }): PreparedRunConcurrency { assertWorkflowRepositoryRunAllowed(input.store, input.runRequest); - if (input.runRequest.threadId) assertWorkItemConversationAdmission(input.store, input.runRequest.threadId, input.runRequest.idempotencyKey); + if (input.runRequest.threadId) assertWorkItemConversationAdmission(input.store, input.runRequest.threadId, + input.runRequest.idempotencyKey, input.automaticIntakeReceiptId); input.store.expireResourceLeases(input.now); const taskId = input.runRequest.task.id; diff --git a/packages/daemon/src/features/runs/orchestrator.ts b/packages/daemon/src/features/runs/orchestrator.ts index cb0554ec0..6702067f5 100644 --- a/packages/daemon/src/features/runs/orchestrator.ts +++ b/packages/daemon/src/features/runs/orchestrator.ts @@ -296,6 +296,7 @@ export interface ExecuteRunRequestOptions { readonly onProviderInvocationFailure?: ProviderInvocationFailureSink; readonly providerInvocationOrigin?: ProviderInvocationOrigin; readonly onRunReady?: (runId: string, info?: RunReadyInfo) => void; + readonly automaticIntakeAdmission?: { readonly receiptId: string; readonly assertCurrent: () => void }; readonly afterRunTerminal?: (run: RunSession) => void | Promise; /** Runs after a durable user-input yield, never for ordinary terminal completion. */ readonly afterRunYielded?: (run: RunSession, wait: CommitUserInputYieldResult["wait"]) => void | Promise; @@ -1109,6 +1110,7 @@ async function executeAdmittedRunRequest( } : undefined); const assertPreparationCurrent = (): void => { if (activeRuns.isShuttingDown()) throw new HttpError(503, "runtime_shutting_down", "Runtime is shutting down."); + options.automaticIntakeAdmission?.assertCurrent(); assertHostCapabilitiesCurrent(); assertWorkflowSafetyRequest(runStore, runRequest); if (!frozenExecution) assertPreselectedMemoryCurrent(runStore, runRequest); @@ -1438,9 +1440,11 @@ async function executeAdmittedRunRequest( }); }; const persistRun = (context?: RunnerContinuationContextIdentity): RunSession => { + options.automaticIntakeAdmission?.assertCurrent(); prepareManagedRuntime(); const persisted = persistenceStore.createRun({ id: runId, + ...(options.automaticIntakeAdmission ? { automaticIntakeReceiptId: options.automaticIntakeAdmission.receiptId } : {}), cwd: runRequest.cwd, taskId: runRequest.task.id, channelId: preparedConcurrency.channel?.id ?? runRequest.task.channelId, @@ -1833,6 +1837,7 @@ async function executeAdmittedRunRequest( }); } else { preparedConcurrency = prepareRunConcurrency({ + automaticIntakeReceiptId: options.automaticIntakeAdmission?.receiptId, store, runRequest: { ...runRequest, tools: runtimeTools }, runId, diff --git a/packages/daemon/src/features/work-items/conversation-admission.ts b/packages/daemon/src/features/work-items/conversation-admission.ts index 81e49091b..f3b5a6bf6 100644 --- a/packages/daemon/src/features/work-items/conversation-admission.ts +++ b/packages/daemon/src/features/work-items/conversation-admission.ts @@ -1,9 +1,9 @@ import type { RunStore } from "@ling-stack/core"; import { HttpError } from "../../errors.js"; -export function assertWorkItemConversationAdmission(store: RunStore, threadId: string, submissionKey: string | undefined): void { +export function assertWorkItemConversationAdmission(store: RunStore, threadId: string, submissionKey: string | undefined, automaticIntakeReceiptId?: string): void { try { - store.checkWorkItemConversationAdmission(threadId, submissionKey); + store.checkWorkItemConversationAdmission(threadId, submissionKey, automaticIntakeReceiptId); } catch (error) { if (error instanceof Error && (error.message === "work_item_dispatch_held" || error.message === "work_item_dispatch_intent_required")) { throw new HttpError(409, error.message, "The Work Item cannot admit this conversation execution."); diff --git a/packages/daemon/src/index.ts b/packages/daemon/src/index.ts index 44bb5e6ad..1625b3740 100644 --- a/packages/daemon/src/index.ts +++ b/packages/daemon/src/index.ts @@ -1,5 +1,7 @@ import { AutomationEventWorker } from "./features/automations/event-worker.js"; -import { processGitHubWebhookIntake } from "./server/app-server-github-intake.js"; +import { dispatchGitHubIntake, processGitHubWebhookIntake } from "./server/app-server-github-intake.js"; +import { HttpError } from "./errors.js"; +import { isRecord } from "./shared/validation.js"; import { startDetachedRunAndResolveReady } from "./features/runs/detached.js"; import { resolveProviderForRun } from "./features/runs/providers.js"; import { TaskSupervisor } from "./features/runs/task-supervisor.js"; @@ -565,7 +567,11 @@ export function createDaemonServer( companionSchedulers?.start(cwd); worktreeMaintenance.registerStore(cwd, store); if (store.listAutomationEventSources().some(source => source.enabled) - || store.listAppServerState("github_intake_pending").length) automationEvents?.start(cwd); + || store.listAppServerState("github_intake_pending").length + || store.listPendingGitHubIntakeDispatches(new Date().toISOString(), 1).length + || resolvedConfig.appServerGitHubSources.some(source => source.workspaceRoot === cwd && source.intake?.mode === "auto_start")) { + automationEvents?.start(cwd); + } taskSupervisor?.start(cwd); learningReviewCoordinator?.registerStore(store); if (!memorySemanticServices.has(store)) { @@ -745,9 +751,26 @@ export function createDaemonServer( runnerRegistry, storeRegistry, activeRuns, runtimeSupervisor, secretResolver, mcpBroker, { onRunReady: (id, info) => { hooks.onRunReady?.(id, info); onReady(id); }, afterRunTerminal: hooks.afterRunTerminal, controlPlaneEvents, startupState, computerUsePreviews, nativeRunDispatcher, - })), (store, signal) => processGitHubWebhookIntake({ - config: resolvedConfig, secretResolver, externalWorkFetch, controlPlaneEvents, - }, store, signal)); + })), async (store, signal) => { + const intakeContext = { config: resolvedConfig, secretResolver, externalWorkFetch, controlPlaneEvents, runnerRegistry, imageVisionSummarizer }; + await processGitHubWebhookIntake(intakeContext, store, signal); + await dispatchGitHubIntake(intakeContext, store, signal, async (request, automaticIntakeAdmission) => { + let refusal: HttpError | undefined; + const sink = createDetachedRunExecutionSink(); + sink.writeError = (status, body) => { + if (isRecord(body) && typeof body.error === "string") { + refusal = new HttpError(status, body.error, "The automatic intake Run could not start."); + } + }; + const runId = await startDetachedRunAndResolveReady(onRunReady => executeRunRequest(request, sink, + runnerRegistry, storeRegistry, activeRuns, runtimeSupervisor, secretResolver, mcpBroker, { + onRunReady, automaticIntakeAdmission, afterRunTerminal: afterChannelRunTerminal, + controlPlaneEvents, startupState, computerUsePreviews, nativeRunDispatcher, enableUserInputPause: true, + })); + if (!runId && refusal) throw refusal; + return runId; + }); + }); automationSchedulers = new AutomationSchedulerRegistry( runnerRegistry, storeRegistry, diff --git a/packages/daemon/src/server/app-server-github-intake.ts b/packages/daemon/src/server/app-server-github-intake.ts index 1a94bb546..5309b9d82 100644 --- a/packages/daemon/src/server/app-server-github-intake.ts +++ b/packages/daemon/src/server/app-server-github-intake.ts @@ -1,13 +1,19 @@ import type { LingAppServerGitHubIntakePolicy, + LingAppServerGitHubIntakePolicyList, LingAppServerGitHubIntakePollResult, LingAppServerGitHubIntakeReceipt, LingAppServerGitHubSubject, + LingAppServerGitHubIntakeQuietHours, } from "@ling-stack/contracts"; -import type { AutomationEventEnvelope, AutomationEventSource, AutomationGitHubIntakePending, AutomationGitHubIntakeTarget, RunStore } from "@ling-stack/core"; +import { LING_AGENT_ID, type AutomationEventEnvelope, type AutomationEventSource, type AutomationGitHubIntakePending, + type AutomationGitHubIntakeTarget, type GitHubIntakeDispatchIntent, type GitHubIntakeOccurrence, type RunStore, + type WorkItemAcceptanceReceipt } from "@ling-stack/core"; import type { DaemonContext } from "../context.js"; import { HttpError } from "../errors.js"; +import { prepareConversationSubmission, publishPreparedConversationTurn } from "../features/conversations/conversation-submission.js"; import { trimOversizedEvent } from "../features/control-plane/events.js"; +import type { RunRequest } from "../features/runs/schemas.js"; import { isRecord } from "../shared/validation.js"; import { assertGitHubRepository, digest, gitHubReadClient, gitHubWorkItemTargetKey, readAppServerGitHubSubject } from "./app-server-github-subject.js"; import { githubRepositoryPattern, type AppServerGitHubSourceConfig } from "./app-server-github-sources.js"; @@ -46,10 +52,22 @@ export function gitHubIntakeReceiptId(origin: LingAppServerGitHubIntakeReceipt[" return `github_intake_${digest([origin, sourceEventId])}`; } +export function listGitHubIntakePolicies( + context: Pick, store: RunStore, +): LingAppServerGitHubIntakePolicyList { + const cwd = store.paths.cwd; + return { cwd, sources: context.config.appServerGitHubSources.filter(source => source.workspaceRoot === cwd).map(source => { + const policy = source.intake ?? defaultPolicy; + return { repository: source.repository, revision: policyRevision(source), policy, + ...(policy.mode === "auto_start" ? { providerAvailable: store.getProviderPreset(policy.providerPresetId)?.enabled === true } : {}) }; + }) }; +} + export async function pollGitHubIntake(context: IntakeContext, store: RunStore, input: Record): Promise { - const { repository, page = 1 } = input; + const { repository, page = 1, retryKey } = input; if (typeof repository !== "string" || !githubRepositoryPattern.test(repository) - || typeof page !== "number" || !Number.isSafeInteger(page) || page < 1 || page > 500) { + || typeof page !== "number" || !Number.isSafeInteger(page) || page < 1 || page > 500 + || retryKey !== undefined && (typeof retryKey !== "string" || !/^[A-Za-z0-9_.:-]{1,160}$/u.test(retryKey))) { throw new HttpError(400, "invalid_params", "Supply a registered GitHub repository and a positive page."); } const cwd = store.paths.cwd; @@ -72,7 +90,11 @@ export async function pollGitHubIntake(context: IntakeContext, store: RunStore, isRecord(label) && typeof label.name === "string" ? [label.name.slice(0, 80)] : []) : [], }; const sourceEventId = `poll_${digest([subject, item.updated_at, revision])}`; - const basis = receiptBasis("poll", sourceEventId, subject, revision); + let basis = receiptBasis("poll", sourceEventId, subject, revision); + const prior = retryKey ? readReceipt(store, basis.receiptId) : undefined; + if (prior && ["quiet_hours", "start_budget_exhausted", "concurrency_limit", "work_item_held"].includes(prior.reasonCode)) { + basis = receiptBasis("poll", `poll_${digest([sourceEventId, retryKey])}`, subject, revision); + } return evaluateGitHubIntake(context, store, basis, policy, subject); }); return { cwd, receipts, ...(items.length === pageSize && page < 500 ? { nextPage: page + 1 } : {}) }; @@ -110,7 +132,8 @@ export async function processGitHubWebhookIntake(context: IntakeContext, store: const subject = await readAppServerGitHubSubject(client, target); signal.throwIfAborted(); if (!current()) saveReceipt(store, { ...basis, outcome: "paused", reasonCode: "source_authority_changed" }); - else evaluateGitHubIntake(context, store, basis, source?.intake ?? defaultPolicy, subject); + else evaluateGitHubIntake(context, store, basis, source?.intake ?? defaultPolicy, subject, + { sourceId: target.sourceId, sourceRevision: target.sourceRevision }); } catch (error) { signal.throwIfAborted(); if (error instanceof HttpError && error.statusCode === 404) { @@ -138,7 +161,9 @@ function receiptBasis( } function evaluateGitHubIntake(context: IntakeContext, store: RunStore, basis: ReceiptBasis, - policy: LingAppServerGitHubIntakePolicy, subject: IntakeSubject): LingAppServerGitHubIntakeReceipt { + policy: LingAppServerGitHubIntakePolicy, subject: IntakeSubject, + webhook?: NonNullable["webhook"], +): LingAppServerGitHubIntakeReceipt { const retained = readReceipt(store, basis.receiptId); if (retained) return retained; if (!policy.enabled) return saveReceipt(store, { ...basis, outcome: "paused", reasonCode: "policy_disabled" }); @@ -147,16 +172,128 @@ function evaluateGitHubIntake(context: IntakeContext, store: RunStore, basis: Re return saveReceipt(store, { ...basis, outcome: "suppressed", reasonCode: "required_label_missing" }); } if (policy.mode === "manual") return saveReceipt(store, { ...basis, outcome: "manual", reasonCode: "manual_intake" }); + if (policy.mode === "auto_start" && isQuiet(policy.quietHours, new Date(basis.evaluatedAt))) { + return saveReceipt(store, { ...basis, outcome: "suppressed", reasonCode: "quiet_hours" }); + } const result = store.createWorkItem({ sourceType: "external_work", sourceId: basis.receiptId, title: subject.title.slice(0, 500), initialStatus: "intake", priority: policy.priority ?? "normal", verifiedTargetKey: gitHubWorkItemTargetKey(subject), - description: `GitHub ${subject.kind} ${subject.repository}#${subject.number}`, gitHubIntake: basis, + description: `GitHub ${subject.kind} ${subject.repository}#${subject.number}`, + gitHubIntake: { ...basis, ...(policy.mode === "auto_start" ? { automatic: { + repositoryId: subject.repositoryId, budget: policy.budget, webhook, + } } : {}) }, }, basis.evaluatedAt, store.paths.cwd); if (result.event) context.controlPlaneEvents.publish(trimOversizedEvent(result.event)); if (!result.gitHubIntakeReceipt) throw new HttpError(409, "intake_conflict", "The GitHub intake receipt was not committed."); return result.gitHubIntakeReceipt; } +function isQuiet(quiet: LingAppServerGitHubIntakeQuietHours | undefined, now: Date): boolean { + if (!quiet) return false; + const time = new Intl.DateTimeFormat("en-GB", { timeZone: quiet.timeZone, hour: "2-digit", minute: "2-digit", hourCycle: "h23" }).format(now); + return quiet.start < quiet.end ? time >= quiet.start && time < quiet.end : time >= quiet.start || time < quiet.end; +} + +export async function dispatchGitHubIntake( + context: Pick, + store: RunStore, signal: AbortSignal, + startRun: (request: RunRequest, admission: { readonly receiptId: string; readonly assertCurrent: () => void }) => Promise, +): Promise { + const eligibleBefore = new Date(Date.now() - 4_000).toISOString(); + for (const record of store.listPendingGitHubIntakeDispatches(eligibleBefore, 4)) { + signal.throwIfAborted(); + const intent = record.payload as GitHubIntakeDispatchIntent; + const complete = (status: GitHubIntakeDispatchIntent["status"], reasonCode?: string, runId?: string) => { + const publication = status === intent.status && reasonCode === intent.reasonCode ? undefined : { + workspaceId: record.workspaceId, cwd: store.paths.cwd, domain: "work_items" as const, + entityType: "work_item", entityId: intent.workItemId, action: "work_item.intake.dispatch.updated", + data: { workItemId: intent.workItemId, receiptId: intent.receiptId, status, reasonCode }, + }; + const saved = store.putAppServerState({ kind: "github_intake_dispatch", recordId: record.recordId, expectedRevision: record.revision, + payload: { ...intent, status, reasonCode, runId } }, new Date().toISOString(), publication); + if (saved?.event) context.controlPlaneEvents.publish(trimOversizedEvent(saved.event)); + }; + const workItem = store.getWorkItem(intent.workItemId); + if (workItem?.runId) { + complete("admitted", undefined, workItem.runId); + continue; + } + const source = context.config.appServerGitHubSources.find(source => source.workspaceRoot === store.paths.cwd + && source.repository === intent.repository && source.repositoryId === intent.repositoryId); + const policy = source?.intake; + const sourceIsCurrent = () => { + if (!source || policy?.mode !== "auto_start" || !policy.enabled || policyRevision(source) !== intent.policyRevision) return false; + if (!intent.webhook) return true; + const webhook = store.getAutomationEventSource(intent.webhook.sourceId); + return webhook?.enabled === true && webhook.revision === intent.webhook.sourceRevision; + }; + if (!workItem || !sourceIsCurrent() || policy?.mode !== "auto_start" + || ["done", "cancelled", "superseded", "archived"].includes(workItem.status)) { + complete("held", "intake_authority_changed"); + continue; + } + if (isQuiet(policy.quietHours, new Date()) || workItem.control.state !== "active" || workItem.holds.some(hold => hold.blocksNewAdmission)) { + complete("pending", "intake_temporarily_held"); + continue; + } + if (!store.getProviderPreset(policy.providerPresetId)?.enabled) { + complete("pending", "intake_provider_unavailable"); + continue; + } + const receipt = readReceipt(store, intent.receiptId); + if (!receipt || receipt.outcome !== "accepted" || receipt.workItemId !== workItem.id) { + complete("held", "intake_receipt_unavailable"); + continue; + } + try { + const assertCurrent = () => { + signal.throwIfAborted(); + if (!sourceIsCurrent() || isQuiet(policy.quietHours, new Date())) { + throw new HttpError(409, "intake_authority_changed", "GitHub intake authority changed before Run admission."); + } + }; + assertCurrent(); + const original = store.getAppServerState("work_item_acceptance", workItem.id)?.payload as WorkItemAcceptanceReceipt | undefined; + if (original && original.idempotencyKey !== receipt.receiptId) { + complete("held", "work_item_already_assigned"); + continue; + } + const { kind, number } = receipt.subject; + const title = `GitHub ${receipt.repository}#${number}`; + const threadId = original?.dispatch?.threadId ?? `thread_github_${digest(workItem.id)}`; + const thread = store.getLingThread(threadId) ?? store.createLingThread({ + id: threadId, kind: "conversation", status: "open", title, objective: title, + }, receipt.evaluatedAt); + const message = `Review the authorized GitHub ${kind} ${receipt.repository}#${number} for this project. Use its title ` + + `${JSON.stringify(workItem.title)} as source data. Check the requirements against the repository and propose a scoped plan or ask for clarification.`; + const acceptance = store.acceptWorkItem(workItem.id, { + expectedRevision: original?.acceptedRevision ?? workItem.revision, actorId: LING_AGENT_ID, idempotencyKey: receipt.receiptId, + dispatch: original?.dispatch ?? { threadId, message, providerPresetId: policy.providerPresetId }, + }, new Date().toISOString()); + if (!acceptance?.receipt.dispatch || acceptance.receipt.idempotencyKey !== receipt.receiptId) { + complete("pending", "work_item_admission_changed"); + continue; + } + if (acceptance.event) context.controlPlaneEvents.publish(trimOversizedEvent(acceptance.event)); + const dispatch = acceptance.receipt.dispatch; + const prepared = await prepareConversationSubmission({ store, workspaceCwd: store.paths.cwd, runnerRegistry: context.runnerRegistry, + resolveThread: () => thread, input: { threadId, providerPresetId: dispatch.providerPresetId, message: dispatch.message, + idempotencyKey: dispatch.submissionKey, workspaceAccessMode: "read_only", tools: ["read", "grep", "find", "ls"] }, + automaticIntakeReceiptId: receipt.receiptId, imageVisionSummarizer: context.imageVisionSummarizer, now: new Date().toISOString() }); + assertCurrent(); + publishPreparedConversationTurn(store, context.controlPlaneEvents, prepared.turn); + const runId = prepared.turn.activeRunId ?? prepared.turn.lastRunId ?? await startRun(prepared.runRequest, { receiptId: receipt.receiptId, assertCurrent }); + if (runId) complete("admitted", undefined, runId); + else complete("pending", "work_item_admission_pending"); + } catch (error) { + signal.throwIfAborted(); + const reason = error instanceof HttpError ? error.code : "work_item_admission_pending"; + if (reason === "duplicate_work_unit") complete("held", "intake_dispatch_reconciliation_required"); + else complete("pending", reason); + } + } +} + function readReceipt(store: RunStore, receiptId: string): LingAppServerGitHubIntakeReceipt | undefined { return store.getAppServerState("github_intake_receipt", receiptId)?.payload as LingAppServerGitHubIntakeReceipt | undefined; } diff --git a/packages/daemon/src/server/app-server-github-sources.ts b/packages/daemon/src/server/app-server-github-sources.ts index babcfeba3..bb716a92e 100644 --- a/packages/daemon/src/server/app-server-github-sources.ts +++ b/packages/daemon/src/server/app-server-github-sources.ts @@ -1,6 +1,6 @@ import { readFileSync, realpathSync } from "node:fs"; import { isAbsolute } from "node:path"; -import type { LingAppServerGitHubIntakePolicy, LingGitHubRequiredCheck } from "@ling-stack/contracts"; +import type { LingAppServerGitHubIntakeBudget, LingAppServerGitHubIntakePolicy, LingAppServerGitHubIntakeQuietHours, LingGitHubRequiredCheck } from "@ling-stack/contracts"; import { isRecord } from "../shared/validation.js"; export interface AppServerGitHubDeliveryPolicy { @@ -57,7 +57,7 @@ export function resolveAppServerGitHubSources( function resolveIntakePolicy(policy: unknown): LingAppServerGitHubIntakePolicy | undefined { if (policy === undefined) return undefined; - if (!isRecord(policy) || policy.mode !== "manual" && policy.mode !== "suggest" || typeof policy.enabled !== "boolean" + if (!isRecord(policy) || policy.mode !== "manual" && policy.mode !== "suggest" && policy.mode !== "auto_start" || typeof policy.enabled !== "boolean" || policy.requiredLabel !== undefined && (typeof policy.requiredLabel !== "string" || !policy.requiredLabel.trim() || policy.requiredLabel.length > 50 || /[,\r\n\0]/u.test(policy.requiredLabel)) || policy.webhookSourceId !== undefined && (typeof policy.webhookSourceId !== "string" || !/^[A-Za-z0-9_.:-]{1,160}$/u.test(policy.webhookSourceId)) @@ -65,8 +65,39 @@ function resolveIntakePolicy(policy: unknown): LingAppServerGitHubIntakePolicy | && policy.priority !== "high" && policy.priority !== "urgent") { throw new Error("Invalid App Server GitHub intake policy."); } - return { mode: policy.mode, enabled: policy.enabled, requiredLabel: policy.requiredLabel, - webhookSourceId: policy.webhookSourceId, priority: policy.priority }; + const scope: Omit = { + enabled: policy.enabled, requiredLabel: policy.requiredLabel, webhookSourceId: policy.webhookSourceId, priority: policy.priority, + }; + if (policy.mode !== "auto_start") return { ...scope, mode: policy.mode }; + if (!policy.requiredLabel || typeof policy.providerPresetId !== "string" || !/^[A-Za-z0-9_.:-]{1,160}$/u.test(policy.providerPresetId)) { + throw new Error("Automatic GitHub intake requires a label and a configured conversation provider preset."); + } + return { ...scope, mode: "auto_start", requiredLabel: policy.requiredLabel, providerPresetId: policy.providerPresetId, + budget: resolveIntakeBudget(policy.budget), quietHours: resolveQuietHours(policy.quietHours) }; +} + +function resolveIntakeBudget(value: unknown): LingAppServerGitHubIntakeBudget { + if (!isRecord(value) || !validInteger(value.maxConcurrent, 1, 16) || !validInteger(value.maxStartsPerWindow, 1, 500) + || !validInteger(value.windowMs, 60_000, 7 * 86_400_000)) { + throw new Error("Automatic GitHub intake requires bounded concurrency and a rolling start budget."); + } + return { maxConcurrent: value.maxConcurrent, maxStartsPerWindow: value.maxStartsPerWindow, windowMs: value.windowMs }; +} + +function resolveQuietHours(value: unknown): LingAppServerGitHubIntakeQuietHours | undefined { + if (value === undefined) return undefined; + const time = /^(?:[01]\d|2[0-3]):[0-5]\d$/u; + if (!isRecord(value) || typeof value.timeZone !== "string" || value.timeZone.length > 80 || !value.timeZone.trim() + || typeof value.start !== "string" || !time.test(value.start) || typeof value.end !== "string" || !time.test(value.end) + || value.start === value.end) { + throw new Error("Invalid GitHub intake quiet hours."); + } + const timeZone = new Intl.DateTimeFormat("en-US", { timeZone: value.timeZone }).resolvedOptions().timeZone; + return { timeZone, start: value.start, end: value.end }; +} + +function validInteger(value: unknown, min: number, max: number): value is number { + return typeof value === "number" && Number.isSafeInteger(value) && value >= min && value <= max; } function resolveDeliveryPolicies(policies: readonly AppServerGitHubDeliveryPolicy[] | undefined): readonly AppServerGitHubDeliveryPolicy[] { diff --git a/packages/daemon/src/server/app-server-mcp.ts b/packages/daemon/src/server/app-server-mcp.ts index 6b6cca18d..844256821 100644 --- a/packages/daemon/src/server/app-server-mcp.ts +++ b/packages/daemon/src/server/app-server-mcp.ts @@ -88,8 +88,9 @@ export async function runLingAppServerMcp( annotations: { idempotentHint: true, destructiveHint: true }, }, async params => describe(await client.applyChanges(params))); server.registerTool("ling_github_intake_poll", { - description: "Evaluate a configured GitHub intake page and create suggestion Work Items without dispatching them.", - inputSchema: z.strictObject({ repository: z.string().min(3).max(201), page: z.number().int().min(1).max(500).optional() }), + description: "Evaluate a registered GitHub intake page under its current manual, suggestion, or automatic admission policy.", + inputSchema: z.strictObject({ repository: z.string().min(3).max(201), page: z.number().int().min(1).max(500).optional(), + retryKey: z.string().max(160).optional() }), annotations: { idempotentHint: true, destructiveHint: false }, }, async params => describe(await client.pollGitHubIntake(params))); server.registerTool("ling_github_intake_read", { diff --git a/packages/daemon/src/server/router.ts b/packages/daemon/src/server/router.ts index bbd30a681..a89cf7711 100644 --- a/packages/daemon/src/server/router.ts +++ b/packages/daemon/src/server/router.ts @@ -280,6 +280,7 @@ import { createWorkflowParallelCapabilityResolver } from "../features/runs/workf import { handleGetWorkspaceChanges } from "../features/previews/workspace-changes.js"; import { handleCodeAssessmentRoutes } from "../features/code-assessments/routes.js"; import { handleWorkspaceVerificationRoute } from "./workspace-verification-routes.js"; +import { handleWorkspaceGitHubIntake } from "./workspace-github-intake-routes.js"; import { handleGetWorkspaceFileContent, handleGetWorkspaceFileOpenIcon, @@ -1697,6 +1698,10 @@ export async function routeRequest( await handleWorkspaceVerificationRoute(request, response, url, context); return; } + if (url.pathname === "/workspace/github-intake") { + await handleWorkspaceGitHubIntake(request, response, url, context); + return; + } if (url.pathname.startsWith("/workspace/code-assessments")) { if (await handleCodeAssessmentRoutes(request, response, url, { storeRegistry, activeRuns, startRun: startCodeAssessmentRun })) return; } diff --git a/packages/daemon/src/server/rpc.ts b/packages/daemon/src/server/rpc.ts index e657c8cc5..d79eacac1 100644 --- a/packages/daemon/src/server/rpc.ts +++ b/packages/daemon/src/server/rpc.ts @@ -51,7 +51,7 @@ import { ensureRunCancelled } from "../features/runs/cancellation.js"; import { expireStaleApproval } from "../features/runs/approvals.js"; import { reconcileApprovalPostCommitEffects } from "../features/runs/approval-postcommit-effects.js"; import { HttpError } from "../errors.js"; -import { prepareConversationSubmission } from "../features/conversations/conversation-submission.js"; +import { prepareConversationSubmission, publishPreparedConversationTurn } from "../features/conversations/conversation-submission.js"; import { parseConversationStreamRequest } from "../features/conversations/routes.js"; import { readConversationSubmission } from "../features/conversations/submission-receipts.js"; import { readNormalConversationPreparedRequest } from "../features/conversations/normal-conversation-prepared-request.js"; @@ -96,7 +96,7 @@ import { grantAllowsMethod, grantAllowsRequest, listAppServerGrants, revokeAppServerGrant, } from "./app-server-authorization.js"; import { gitHubReadClient, gitHubWorkItemTargetKey, parseGitHubSubjectParams, readAppServerGitHubSubject } from "./app-server-github-subject.js"; -import { pollGitHubIntake, readGitHubIntake } from "./app-server-github-intake.js"; +import { listGitHubIntakePolicies, pollGitHubIntake, readGitHubIntake } from "./app-server-github-intake.js"; import { readGitHubDelivery, reconcileGitHubDelivery } from "./app-server-github-delivery.js"; import { assertWorkItemConversationAdmission } from "../features/work-items/conversation-admission.js"; import { @@ -168,7 +168,7 @@ const operatorMethods = new Set([ "thread/fork", "handoff/create", "handoff/resume", "server/grants/create", "server/grants/list", "server/grants/revoke", "github/subject/read", "github/delivery/reconcile", "workItem/delivery/read", "delivery/read", - "github/intake/poll", "github/intake/read", + "github/intake/policy/list", "github/intake/poll", "github/intake/read", "workItem/accept", "workItem/coordination/schedule/read", "workItem/coordination/schedule/set", "changes/read", "changes/apply/preview", "changes/apply", @@ -725,7 +725,13 @@ class RpcConnection { } case "github/intake/poll": { const record = this.workspaceParams(params, true); - return await pollGitHubIntake(this.context, this.context.storeRegistry.getStore(record.cwd), record); + const result = await pollGitHubIntake(this.context, this.context.storeRegistry.getStore(record.cwd), record); + if (result.receipts.some(receipt => receipt.outcome === "accepted")) this.context.automationEvents.poke(record.cwd); + return result; + } + case "github/intake/policy/list": { + const record = this.workspaceParams(params, true); + return listGitHubIntakePolicies(this.context, this.context.storeRegistry.getStore(record.cwd)); } case "github/intake/read": { const record = this.workspaceParams(params, true); @@ -1829,7 +1835,7 @@ class RpcConnection { if (!prepared || prepared.threadId !== thread.id || prepared.turnId !== turn.id || prepared.workspaceCwd !== cwd) { throw rpcError(-32061, "resume_blocked", "The Turn has no saved execution preparation."); } - this.publishConversationTurnStarted(store, cwd, turn); + publishPreparedConversationTurn(store, this.context.controlPlaneEvents, turn); const recovered = await this.executeConversationRun(prepared); return projectTurnResume(store, cwd, thread, turn, store.getRun(recovered), "recovered"); } @@ -1852,7 +1858,7 @@ class RpcConnection { if (!prepared || prepared.parentRunId !== run.id || latestTurnId !== successor.id || thread.activeRunId) { throw rpcError(-32061, "resume_blocked", "The recovery has no current prepared request."); } - this.publishConversationTurnStarted(store, cwd, successor); + publishPreparedConversationTurn(store, this.context.controlPlaneEvents, successor); const recovered = await this.executeConversationRun(prepared); return projectTurnResume(store, cwd, thread, successor, store.getRun(recovered), "continued", turn.id); } @@ -1869,7 +1875,7 @@ class RpcConnection { }); const successor = resume.runRequest.turnId && store.getLingTurn(resume.runRequest.turnId); if (!successor) throw rpcError(-32061, "resume_blocked", "The recovery has no accepted successor Turn."); - this.publishConversationTurnStarted(store, cwd, successor); + publishPreparedConversationTurn(store, this.context.controlPlaneEvents, successor); const recovered = await this.executeConversationRun(resume.runRequest); return projectTurnResume(store, cwd, thread, successor, store.getRun(recovered), "continued", turn.id); } @@ -1954,7 +1960,7 @@ class RpcConnection { throw rpcError(-32031, "idempotency_conflict", "The original submission used a different execution configuration."); } if (!this.grantIsCurrent()) throw rpcError(-32020, "authorization_required", "The App Server grant expired or was revoked before dispatch."); - this.publishConversationTurnStarted(store, cwd, turn); + publishPreparedConversationTurn(store, this.context.controlPlaneEvents, turn); const receipt = readConversationSubmission(store, { surface: "normal", threadId: thread.id, idempotencyKey: input.idempotencyKey! }); const runId = turn.activeRunId ?? turn.lastRunId ?? await this.executeConversationRun(runRequest); const currentThread = store.getLingThread(thread.id) ?? thread; @@ -1964,16 +1970,6 @@ class RpcConnection { }; } - private publishConversationTurnStarted(store: RunStore, cwd: string, turn: LingTurn): void { - const idempotencyKey = `app-server-turn:${turn.id}`; - if (store.getControlPlaneEventByIdempotency(turn.workspaceId, idempotencyKey)) return; - appendControlPlaneEvent(store, this.context.controlPlaneEvents, { - workspaceId: turn.workspaceId, cwd, domain: "runs", entityType: "turn", entityId: turn.id, - action: "turn.started", idempotencyKey, - data: { threadId: turn.threadId, turnId: turn.id, status: "queued" }, - }); - } - private executeConversationRun(runRequest: RunRequest): Promise { return new Promise((resolve, reject) => { void this.executeRun(runRequest, data => { @@ -2142,7 +2138,11 @@ class RpcConnection { if (!workItem) { throw rpcError(-32040, "workspace_binding_invalid", `Work Item was not found: ${workItemId}`); } - return { cwd, workItem: projectWorkItemSnapshot(workItem, this.grant?.subject.kind !== "workItem"), + const includeExecutionRefs = this.grant?.subject.kind !== "workItem"; + const dispatch = store.getAppServerState("github_intake_dispatch", workItemId)?.payload as import("@ling-stack/core").GitHubIntakeDispatchIntent | undefined; + return { cwd, workItem: projectWorkItemSnapshot(workItem, includeExecutionRefs), + ...(dispatch ? { intakeDispatch: { receiptId: dispatch.receiptId, status: dispatch.status, + reasonCode: dispatch.reasonCode, ...(includeExecutionRefs ? { runId: dispatch.runId } : {}) } } : {}), cursor: scope.issue(store.getLatestControlPlaneEventSeq(DEFAULT_WORKSPACE_ID)) }; }); } diff --git a/packages/daemon/src/server/workspace-github-intake-routes.ts b/packages/daemon/src/server/workspace-github-intake-routes.ts new file mode 100644 index 000000000..3bfe79ace --- /dev/null +++ b/packages/daemon/src/server/workspace-github-intake-routes.ts @@ -0,0 +1,28 @@ +import type { IncomingMessage, ServerResponse } from "node:http"; +import type { DaemonContext } from "../context.js"; +import { HttpError } from "../errors.js"; +import { allowLocalWorkspaceRequest } from "../shared/local-workspace-access.js"; +import { readJsonBody } from "../shared/request.js"; +import { writeJson } from "../shared/response.js"; +import { isRecord } from "../shared/validation.js"; +import { listGitHubIntakePolicies, pollGitHubIntake } from "./app-server-github-intake.js"; + +export async function handleWorkspaceGitHubIntake(request: IncomingMessage, response: ServerResponse, url: URL, context: DaemonContext): Promise { + const cwd = url.searchParams.get("cwd")?.trim(); + if (!cwd) throw new HttpError(400, "cwd_required", "cwd query parameter is required."); + if (!allowLocalWorkspaceRequest({ request, response, storeRegistry: context.storeRegistry, cwd })) return; + const store = context.storeRegistry.getInitializedStore(cwd); + if (!store) throw new HttpError(404, "workspace_not_loaded", "Open this project before inspecting GitHub intake."); + if (request.method === "GET") { + writeJson(response, 200, listGitHubIntakePolicies(context, store)); + } else if (request.method === "POST") { + if (context.activeRuns.isShuttingDown()) throw new HttpError(503, "server_draining", "The daemon is shutting down."); + const body = await readJsonBody(request, 8 * 1024); + if (!isRecord(body)) throw new HttpError(400, "invalid_params", "Supply GitHub intake poll parameters."); + const result = await pollGitHubIntake(context, store, body); + if (result.receipts.some(receipt => receipt.outcome === "accepted")) context.automationEvents.poke(store.paths.cwd); + writeJson(response, 200, result); + } else { + writeJson(response, 405, { error: "method_not_allowed" }); + } +} diff --git a/packages/daemon/test/app-server-release-acceptance.test.ts b/packages/daemon/test/app-server-release-acceptance.test.ts index 8a77a4db7..dc1b90cfd 100644 --- a/packages/daemon/test/app-server-release-acceptance.test.ts +++ b/packages/daemon/test/app-server-release-acceptance.test.ts @@ -1395,6 +1395,87 @@ test("signed GitHub webhooks and polling converge on one work item across restar assert.equal(fixture.getStore().listWorkItems({ sourceType: "external_work" })[0]?.status, "intake"); }); +test("automatic GitHub intake resumes a scoped dispatch once and preserves admission limits", { timeout: 35_000 }, async t => { + const provider = await startLoopbackPiProvider(() => ({ text: "The task needs a scoped plan." })); + t.after(() => provider.close()); + const repository = "example/ling"; + const quietRepository = "example/quiet"; + let providerPresetId = "fixture-provider-unconfigured"; + const observedAt = new Date(); + const quietTime = (delta: number) => new Date(observedAt.getTime() + delta * 60_000).toISOString().slice(11, 16); + const issue = (num: number) => ({ number: num, title: `Triage issue ${num}`, state: "open", + labels: [{ name: "agent-ready" }], updated_at: observedAt.toISOString() }); + let current = [issue(21), issue(22)]; + const fixture = await releaseFixture(t, { + githubSources: cwd => [ + { workspaceRoot: cwd, repository, repositoryId: "714", + intake: { enabled: true, mode: "auto_start", requiredLabel: "agent-ready", providerPresetId, + budget: { maxConcurrent: 1, maxStartsPerWindow: 2, windowMs: 60_000 } } }, + { workspaceRoot: cwd, repository: quietRepository, repositoryId: "715", + intake: { enabled: true, mode: "auto_start", requiredLabel: "agent-ready", providerPresetId, + budget: { maxConcurrent: 1, maxStartsPerWindow: 2, windowMs: 60_000 }, + quietHours: { timeZone: "UTC", start: quietTime(-30), end: quietTime(30) } } }, + ], + externalWorkFetch: async input => { + const { pathname } = new URL(String(input)); + if (pathname === `/repos/${repository}`) return Response.json({ id: 714, full_name: repository }); + if (pathname === `/repos/${quietRepository}`) return Response.json({ id: 715, full_name: quietRepository }); + if (pathname === `/repos/${repository}/issues`) return Response.json(current); + if (pathname === `/repos/${quietRepository}/issues`) return Response.json([issue(1)]); + return new Response(null, { status: 404 }); + }, + }); + const preset = addLoopbackPreset(fixture.getStore(), provider.baseUrl); + providerPresetId = preset.id; + fixture.getStore().updateProviderPreset(preset.id, { enabled: false }, new Date().toISOString()); + await fixture.restart(); + const [first, peer] = await Promise.all([fixture.connect(), fixture.connect()]); + const [poll, duplicate] = await Promise.all([first, peer].map(client => + client.call("github/intake/poll", { repository }))); + assert.deepEqual(poll, duplicate); + const [accepted, suppressed] = poll.receipts; + assert.ok(accepted?.workItemId); + assert.equal(accepted.outcome, "accepted"); + assert.equal(suppressed?.reasonCode, "concurrency_limit"); + const awaiting = fixture.getStore(); + const now = new Date().toISOString(); + const claimed = awaiting.claimWorkItem(accepted.workItemId, { ownerId: "competing-owner" }, now); + assert.equal(claimed?.blocker?.code, "control_blocked"); + const quiet = await first.call("github/intake/poll", { repository: quietRepository }); + assert.equal(quiet.receipts[0]?.reasonCode, "quiet_hours"); + const stagedThread = awaiting.createLingThread({ kind: "conversation", status: "open", title: "Reserved triage", objective: "Triage issue 21" }, now); + const staged = awaiting.acceptWorkItem(accepted.workItemId, { + expectedRevision: claimed!.workItem.revision, actorId: "ling_agent", idempotencyKey: accepted.receiptId, + dispatch: { threadId: stagedThread.id, providerPresetId: preset.id, message: "Triage issue 21" }, + }, now); + assert.ok(staged?.receipt.dispatch); + await assert.rejects(first.call("turn/start", { threadId: stagedThread.id, message: staged.receipt.dispatch.message, + providerPresetId: preset.id, idempotencyKey: staged.receipt.dispatch.submissionKey }), { code: "work_item_dispatch_held" }); + assert.equal(provider.requests.length, 0); + await fixture.restart(); + fixture.getStore().updateProviderPreset(preset.id, { enabled: true }, new Date().toISOString()); + fixture.getStore().recordProviderCheckResult(preset.id, { ok: true, code: "ready", message: "Loopback fixture", checkedAt: new Date().toISOString() }); + const restored = await fixture.connect(); + const finished = await waitFor(() => { + const runId = fixture.getStore().getWorkItem(accepted.workItemId!)?.runId; + const run = runId ? fixture.getStore().getRun(runId) : undefined; + return run && ["succeeded", "failed", "cancelled"].includes(run.status) ? run : undefined; + }).catch(async error => { + const state = await restored.call("workItem/read", { workItemId: accepted.workItemId }); + throw new Error(JSON.stringify(state.intakeDispatch), { cause: error }); + }); + assert.equal(finished.status, "succeeded", finished.errorMessage ?? "The routed Run succeeded."); + assert.equal(finished.threadId, stagedThread.id); + assert.equal(provider.requests.length, 1); + assert.equal(fixture.getStore().listRuns({ threadId: finished.threadId }).length, 1); + assert.match(JSON.stringify(provider.requests[0]), /Triage issue 21/u); + assert.deepEqual(await restored.call("github/intake/poll", { repository }), poll); + current = [issue(23), issue(24)]; + const next = await restored.call("github/intake/poll", { repository }); + assert.equal(next.receipts[0]?.outcome, "accepted"); + assert.equal(next.receipts[1]?.reasonCode, "start_budget_exhausted"); +}); + test("a reserved Work Item dispatch recovers once through the conversation owner and obeys pause and deletion fences", { timeout: 25_000 }, async t => { const provider = await startLoopbackPiProvider(() => ({ text: "First assignment complete." })); t.after(() => provider.close()); @@ -2440,7 +2521,6 @@ async function releaseFixture(t: TestContext, { const cwd = join(root, "workspace"); await mkdir(cwd); const appServerVerificationRecipes = await verificationRecipes?.(root, cwd); - const appServerGitHubSources = githubSources?.(cwd); const appServerWss = await wssConfig?.(root); let authToken = randomUUID(); const priorLingHome = process.env.LING_STACK_HOME; @@ -2449,7 +2529,7 @@ async function releaseFixture(t: TestContext, { const clients = new Set(); const makeDaemon = (runtime: ReleaseRuntime) => runtime.createDaemonServer({ host: "127.0.0.1", port: 0, defaultWorkspaceCwd: cwd, authToken: requireAuth ? authToken : undefined, harness, - appServerVerificationRecipes, appServerGitHubSources, appServerWss, + appServerVerificationRecipes, appServerGitHubSources: githubSources?.(cwd), appServerWss, }, { ...(runner ? { runnerRegistry: createRunnerRegistry([runner]) } : {}), chromeBrowserNativeMessagingEnabled: false, From 075daa5d68eb3650f7dfd05bb6e04b4986f6dae2 Mon Sep 17 00:00:00 2001 From: "ling-stack-model-catalog[bot]" <345092909+ling-stack-model-catalog[bot]@users.noreply.github.com> Date: Sun, 22 Nov 2026 10:43:01 +0000 Subject: [PATCH 017/147] chore: translate catalogs for new source strings --- packages/localization/catalogs/bg-BG.json | 30 +++++++++++++++++++++- packages/localization/catalogs/bn-BD.json | 30 +++++++++++++++++++++- packages/localization/catalogs/bs-BA.json | 30 +++++++++++++++++++++- packages/localization/catalogs/ca-ES.json | 30 +++++++++++++++++++++- packages/localization/catalogs/cs-CZ.json | 30 +++++++++++++++++++++- packages/localization/catalogs/da-DK.json | 30 +++++++++++++++++++++- packages/localization/catalogs/de-DE.json | 30 +++++++++++++++++++++- packages/localization/catalogs/el-GR.json | 30 +++++++++++++++++++++- packages/localization/catalogs/en-US.json | 30 +++++++++++++++++++++- packages/localization/catalogs/es-419.json | 30 +++++++++++++++++++++- packages/localization/catalogs/es-ES.json | 30 +++++++++++++++++++++- packages/localization/catalogs/et-EE.json | 30 +++++++++++++++++++++- packages/localization/catalogs/fi-FI.json | 30 +++++++++++++++++++++- packages/localization/catalogs/fr-CA.json | 30 +++++++++++++++++++++- packages/localization/catalogs/fr-FR.json | 30 +++++++++++++++++++++- packages/localization/catalogs/gu-IN.json | 30 +++++++++++++++++++++- packages/localization/catalogs/hi-IN.json | 30 +++++++++++++++++++++- packages/localization/catalogs/hr-HR.json | 30 +++++++++++++++++++++- packages/localization/catalogs/hu-HU.json | 30 +++++++++++++++++++++- packages/localization/catalogs/hy-AM.json | 30 +++++++++++++++++++++- packages/localization/catalogs/id-ID.json | 30 +++++++++++++++++++++- packages/localization/catalogs/is-IS.json | 30 +++++++++++++++++++++- packages/localization/catalogs/it-IT.json | 30 +++++++++++++++++++++- packages/localization/catalogs/ja-JP.json | 30 +++++++++++++++++++++- packages/localization/catalogs/ka-GE.json | 30 +++++++++++++++++++++- packages/localization/catalogs/kn-IN.json | 30 +++++++++++++++++++++- packages/localization/catalogs/ko-KR.json | 30 +++++++++++++++++++++- packages/localization/catalogs/lv-LV.json | 30 +++++++++++++++++++++- packages/localization/catalogs/mk-MK.json | 30 +++++++++++++++++++++- packages/localization/catalogs/mr-IN.json | 30 +++++++++++++++++++++- packages/localization/catalogs/ms-MY.json | 30 +++++++++++++++++++++- packages/localization/catalogs/my-MM.json | 30 +++++++++++++++++++++- packages/localization/catalogs/nb-NO.json | 30 +++++++++++++++++++++- packages/localization/catalogs/nl-NL.json | 30 +++++++++++++++++++++- packages/localization/catalogs/pl-PL.json | 30 +++++++++++++++++++++- packages/localization/catalogs/pt-BR.json | 30 +++++++++++++++++++++- packages/localization/catalogs/pt-PT.json | 30 +++++++++++++++++++++- packages/localization/catalogs/ro-RO.json | 30 +++++++++++++++++++++- packages/localization/catalogs/ru-RU.json | 30 +++++++++++++++++++++- packages/localization/catalogs/sk-SK.json | 30 +++++++++++++++++++++- packages/localization/catalogs/sl-SI.json | 30 +++++++++++++++++++++- packages/localization/catalogs/so-SO.json | 30 +++++++++++++++++++++- packages/localization/catalogs/sq-AL.json | 30 +++++++++++++++++++++- packages/localization/catalogs/sr-RS.json | 30 +++++++++++++++++++++- packages/localization/catalogs/sv-SE.json | 30 +++++++++++++++++++++- packages/localization/catalogs/sw-TZ.json | 30 +++++++++++++++++++++- packages/localization/catalogs/ta-IN.json | 30 +++++++++++++++++++++- packages/localization/catalogs/te-IN.json | 30 +++++++++++++++++++++- packages/localization/catalogs/th-TH.json | 30 +++++++++++++++++++++- packages/localization/catalogs/tr-TR.json | 30 +++++++++++++++++++++- packages/localization/catalogs/uk-UA.json | 30 +++++++++++++++++++++- packages/localization/catalogs/vi-VN.json | 30 +++++++++++++++++++++- packages/localization/catalogs/zh-CN.json | 30 +++++++++++++++++++++- packages/localization/catalogs/zh-HK.json | 30 +++++++++++++++++++++- packages/localization/catalogs/zh-TW.json | 30 +++++++++++++++++++++- 55 files changed, 1595 insertions(+), 55 deletions(-) diff --git a/packages/localization/catalogs/bg-BG.json b/packages/localization/catalogs/bg-BG.json index d397da926..b55ae91e3 100644 --- a/packages/localization/catalogs/bg-BG.json +++ b/packages/localization/catalogs/bg-BG.json @@ -1,6 +1,6 @@ { "locale": "bg-BG", - "sourceRevision": "214db76d79f1a5c0fd915c110a2ead6dbb978b58398846e982a0c1ff0cb53108", + "sourceRevision": "6468d2af71d2feb60f9b8c5f37bc2a3ff1177fb2c8b0d65e85002de6b1095cbb", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -568,6 +568,7 @@ "Allows": "8b1d52d202522d89fe65fb00e505abab46dc200a88c0be5d468a2a7e6dce9ccf", "Allows commands starting with {command}": "f5c5d446a6850880ae79768c175bacaf2bc487f715d5768d0b225eb643e3ce07", "Already imported": "e47fafe0a1c6f8d6b5c641c5d9cc7ca61e66a1c50bbc3b619c8ff5912444bfa8", + "Already in work": "ae40a6ff362406d9f1fdc40ad79cea7bd1705e6e173b2267f2a310777aedb387", "Also allow private memory and private chat queries remotely": "0b6b2ba6882b67c8b5b79f0f07964588232be1a9e520011e19bbea224c59a913", "Alternatives": "41055f72edad1559b8ba43440cd7938eb73685930c7141fede9b95000fd41299", "Alternatives considered": "73534cb410e6191096c7fa7ca56ba066f90b4fdede8677d64bc98068804afa3c", @@ -828,6 +829,7 @@ "Auto-start by default": "403861dc8396a3ea666e143d33e0429d3c26721771abf3face351259eee9b28f", "Auto-start step": "2bf61e4807ad3bf6ebc934bf54e917d5b3a87295001826be3a7dd57c7e75cc8d", "Automatic": "d461a493a3753877c9486cffa3444265a33370af8a7fff242fb119b71750839c", + "Automatic intake": "6eed82b223c717114773803e9d9d90d6d3cde9579bf264647347e559817a5081", "Automatic learning is off": "8ba1b4a02530490260a7b8e748e0809ddc3885213a009f3896264bc665060bdd", "Automatic parallel execution": "63d058c173c4a148a14094327c26d9af2c5bde1779c91dbf0d913e90b0687be9", "Automatic proposals enabled": "db670932d259eeedd26de8d7ca836594d5f3861ff24e1f94170c7333676c157a", @@ -1256,6 +1258,7 @@ "Check failed": "c8813c1128d545bfe7e7458ae24d724447097b3518643f86fa3e532f88e9fb40", "Check for changes": "5da755d1690f58c1c822a4b85422734bacc2122c7c67f4e8617f0765ac835113", "Check for updates": "f26f3275e735bdf6268532ca7cbea3887c9adad21d8df74e84b2bc7791475c0d", + "Check GitHub inbox": "51cd97da0bc2b213621668f69168386eaee18bdae064041094187404c9fc71ee", "Check member status": "ff155af014d0b6e94cbf2fca3b01cf8d5725732f178eee985083478adb4a62f5", "Check member status to load readiness.": "6f7f338e22e626b134643fbaec898cf8e8efd19b85eeb6193b4ca0d5d63c4528", "Check needed": "561a32f0c83e5a4fe8d77d891bd4b954d514ea021b4a18e68a3607f5d8747841", @@ -1563,6 +1566,7 @@ "Concise": "8340d833ab72d3321b07af0184597743b010e142b39593cebb450d4227e62f0c", "Concise, focused, direct.": "e9cb028d2d79111476e9c8ea1562b7f6275fd39d43abf410338d7c0ae2fff5a5", "conclusion {conclusion}": "dc328d7e11ecbdc61fa90fc18e3ced70b794ca55dcc476d03c88eff72f16274d", + "Concurrent work limit reached": "f60d0f2d4a9ba0c57c7e7835bd52a1912f39581799f2babb636d190317a96b54", "Confidence": "6422e3e78f5e5f5a15e92cc57ed7114adb289339251031ccb526d9249437dc82", "Configuration": "b332c3492d5eb10a118eb6d8b0dcd689bc2477ce2ae16b303753b942b54377bc", "Configuration digest": "5bbf2d321122a5a57d36c77291d232d51f9ae9a1655e80f042727754aea15bfe", @@ -2939,6 +2943,7 @@ "github": "c0b0109d9439de57fe3cf03abeccbc52f4c98170c732d3b69af5e6395ace574e", "GitHub": "f911e414cf6bdfc595532ab166b5ba0f63d73c021452fcdacbda363dda6ad8fb", "GitHub CI triage": "6a2368ce3943b296b07b5241227baf2a863d3f50f8a46ddb0889cbb5045ccd84", + "GitHub intake": "064829c63fcbc74d45753e04f583c69a391d25d4ed334de3b69fa2720f733cb1", "GitHub MCP": "408b061889ef672152b51ce8dbd56216d1b7e97303429b59538b99fe663c6f04", "GitHub not connected (GITHUB_TOKEN or GH_TOKEN)": "1cb239b6b5ea26422b411a25d3a4e254cdf45b7e730eb91b976a36f12adeb21b", "GitHub unavailable; retry later": "33b2cec76eccd24c4d8d61c265de8b06a6a20820ab1fccdcb433a22903909d02", @@ -4818,6 +4823,7 @@ "Policy details": "00e33950cacf32a39cc25f71ccb1650c4c788c12816e07681d80f0fdc537be98", "Policy narrows authority": "e9e2012e5ac96664fb03ff0f81f4f49cb5b8ee069149139352e7c89b73e43baa", "policy overlays": "db26199cf2a47a948b45caf37b4d50ede3ef415fad6c940cfe56a118970fcefb", + "Policy paused": "11fc11eaf385253466e26bac9916425e1e009695cd40adc4c7a132366d187518", "Policy review": "1cf67fef927c77770a1fcd8b20982b24b15cc0b6f1e8b56265d87baff019dd7e", "Policy snapshot artifact": "7f8b2985d498316ac01fa5f2276d2556cab712b4c8bc2b93e16dfc1353e23a77", "Poll once": "c7e7d724ff87555fb857467569ce709d958ee2d5d1ab2cc890554c7605e86e78", @@ -5013,6 +5019,7 @@ "Provider state": "633d1ca46603e61fc3d39459c1414102a27bbc4ba0adfb0b22ba5a205c2b9815", "Provider templates": "1e8649b7c667a6afc6dc88cbdb3069e349e850466cf3efa57eeedab9b70486f7", "Provider type": "8c0f6d3ebfe7ba3a0c0006068a9aa664d09244ba3cd438f2d56fab117bee1347", + "Provider unavailable": "ff2113958589f9bfb87b54f959be825d00ec5eca374d907bb343f98ebdbc84c3", "Provider version": "1f5ecefbd682ced2f438c8ae3c8849ba9effbe6cd77c19051cee2d2036ef9c90", "Provider warmup": "36ae143804c9a909bce770f54be5652b69b99ee7838cca99daa31e23d4d6d63c", "Provider was automatically rechecked after daemon restart.": "7bd8e8ee592f30e81adca8c96b079d6526846dc142bd99e5bbba3d9bebbde7a9", @@ -5398,6 +5405,8 @@ "Required for assigned teammates": "4732aa544a8d93b886e6bcbbcc5c3314af692f8a8a812efd4844cd3589b7b63a", "Required input": "fafaaf99b5a6af521026448890a9dacaf4d47053804a34be7cdf364e13637181", "Required input: {value}": "757166b8bf43ee39819f00d86fa61a84ddb3f3eba2a883c6bb996b8f82101d22", + "Required label": "5f623a5ad31f874a782d2205c9318ce524371a35d782b9a7021eab521c2fbbcd", + "Required label missing": "6913716764f8018414060c041e41a2951f5444efe5e97cd30a557be26403d1b1", "Required permissions": "edaffed36060c21e958b3fe562b7c57f51f67ba46326b1a9a5317a47b20e1747", "Required skill information is missing.": "e5cb742af5e92afab21f42c3edd4f5940db52a1c5320a9dd7236eca89a702789", "Required statuses": "c77453db9c939c7c7b8da080b0053847604126aefacf5a900d1d0fe30e4ba5ee", @@ -6407,6 +6416,7 @@ "Start an active Computer Use task first.": "1242a212935f863b51a7f3e8d16f12af408152d8047b274c5fef9fb7f1435f50", "Start autoplan": "7419a8efae15550dc21cccc23ca0a16c446e884842bfe48056af34a921175cb0", "Start background": "c690dc635cd0437e8911748d795084e5d32d0b75811490076285d41032d7300c", + "Start budget reached": "6b915cfb021a78ae6f8b4c1f2d9f40bbadcc486c04cbb00a807d52bfe78102ca", "Start by choosing a template or creating one manually.": "6a3ba02535ac7a0ab934b569a915927936dede63b4277ea4500e77c8835d4666", "Start child branch": "ee7b6caa5b4a1d3e8fd3ce47a26b42a4f2472834dfa17b2efc1864d0ed710948", "Start from a default role or blank teammate.": "1464ae64fd1ee987e353f53a2f9bab20053b2f0ae320c07839b7eecf710b8a96", @@ -6512,7 +6522,9 @@ "succeeded": "5dceaeceb6d8a49d3665594710ace68dfbc1800e2d663d7febb302b4dbee3d27", "Succeeded": "6d9a6f97a5fdaf3b90a0cf02e0b43d8b7ec1d05c0e4718e02ddd1c5b450e5b39", "Successfully generated {count} artifact based on the provided prompt.": "71f85e7639c004421f062f2dd6a129e5173931798f5d33b6f0482038b38a88fc", + "Suggest": "4effad823b048b0440dbeff42665f60a6ddec8e121c378966ed7c074a512c51f", "Suggest responsible owners based on context, decisions, and recent work.": "484eb4e21bcdd76a531a4234403ea29f0626094f9a2915b674f17e0b949be0a3", + "Suggested": "93b63bab4c3a28d73a8bb83bcdfdcc5f6ddecfc8fc702296ca159d94c5dc6e53", "Suggested next step": "78d74fd4ffec8d83a942e1274cfd15426b2b4bb2d96b15f905277638c339869e", "Suggested routing": "442b15c099c136738e26e139912a5f5d21e90216aade875a8db595b09c81fcbe", "Summaries": "87bc590e047d3df4a8e448ac83e371fad69dd73607752cccb0ff7d34263cef8f", @@ -7221,6 +7233,7 @@ "Untracked": "c7ba5477e19cf0bb25460d840cc2e67341e81e1c2d274d00b3054c73898d4d27", "unverified": "97b7e2db799e2b79e65f418b42a7d3054c95b2d3ab1dba243039597e44a38084", "Unverified": "33c8e8de41c3a35124251370e2a36e4d589f8789d80630abbbeceb933d3fb58f", + "Up to {concurrent} active and {starts} starts per {minutes} min": "cca43c28ef670fd5d55cb3bd813a2fef137043e4028096bcd2cdf22e2a06586b", "Up to date": "ce29b7f85b9eaf7dac52e625accb4b0cb56a856ebe9a9de9a09b613b6d978dca", "Update": "c1c1009d3f37ec058070a62e22caf9ac9dae2169d452487c5c271a8bcf57a291", "Update available": "ff8b555d818f0b25bbdd1bec8b479660bac7fc276acbe993e759bf67fed32c34", @@ -7548,6 +7561,7 @@ "Work intake, tool servers, and plugin bundles": "16b65a84c6fca2014b7e2d28b151bbf0afe19345230a0ac37304802311fed850", "Work is claimed": "c4b0d953436f2f59355d6540bae28e055ff49243f612887bbaed7bfd98c85d4d", "Work item ID": "1dcdad81d13850bd962965719f362fa7f32693b7b54fd8bb25d1e2402a470626", + "Work item paused": "299aabbf3c1418a3f01117e072d3bfe418e174bd1f355d1afdfae23c7b4bf678", "Work items": "5759a416f2b3b4ff92da23b8059419e06c39d27180b91a557f7cae779df3d2b6", "Work marked failed": "f26306888ed8c9a3808b8a420428f63e32d4c2223e7c9c89dd0a049806c539c6", "Work result": "19efe7487084061e9e358495b8a9bfd7e9d7c0035010e08ac35c14ba4ff8ca2a", @@ -8287,6 +8301,7 @@ "Allows": "Позволява", "Allows commands starting with {command}": "Позволява команди, започващи с {command}", "Already imported": "Вече внесени", + "Already in work": "Вече на работа", "Also allow private memory and private chat queries remotely": "Разрешете също отдалечено лична памет и частни заявки за чат", "Alternatives": "Алтернативи", "Alternatives considered": "Разгледани алтернативи", @@ -8547,6 +8562,7 @@ "Auto-start by default": "Auto-start by default", "Auto-start step": "Auto-start step", "Automatic": "Автоматичен", + "Automatic intake": "Автоматично всмукване", "Automatic learning is off": "Автоматичното обучение е изключено", "Automatic parallel execution": "Automatic parallel execution", "Automatic proposals enabled": "Автоматичните предложения са активирани", @@ -8975,6 +8991,7 @@ "Check failed": "Проверката е неуспешна", "Check for changes": "Проверете за промени", "Check for updates": "Проверете за актуализации", + "Check GitHub inbox": "Проверете входящата кутия на GitHub", "Check member status": "Проверете статуса на член", "Check member status to load readiness.": "Проверете състоянието на член, за да заредите готовност.", "Check needed": "Необходима е проверка", @@ -9282,6 +9299,7 @@ "Concise": "Кратко", "Concise, focused, direct.": "Кратко, фокусирано, директно.", "conclusion {conclusion}": "заключение {conclusion}", + "Concurrent work limit reached": "Лимитът за едновременна работа е достигнат", "Confidence": "Увереност", "Configuration": "Конфигурация", "Configuration digest": "Дайджест на конфигурацията", @@ -10658,6 +10676,7 @@ "github": "github", "GitHub": "GitHub", "GitHub CI triage": "GitHub CI сортиране", + "GitHub intake": "Приемане на GitHub", "GitHub MCP": "GitHub MCP", "GitHub not connected (GITHUB_TOKEN or GH_TOKEN)": "GitHub not connected (GITHUB_TOKEN or GH_TOKEN)", "GitHub unavailable; retry later": "GitHub unavailable; retry later", @@ -12537,6 +12556,7 @@ "Policy details": "Подробности за правилата", "Policy narrows authority": "Политиката стеснява правомощията", "policy overlays": "наслагвания на политики", + "Policy paused": "Правилата са поставени на пауза", "Policy review": "Преглед на политиката", "Policy snapshot artifact": "Артефакт на моментна снимка на правилата", "Poll once": "Анкета веднъж", @@ -12732,6 +12752,7 @@ "Provider state": "Състояние на доставчика", "Provider templates": "Шаблони за доставчици", "Provider type": "Тип доставчик", + "Provider unavailable": "Доставчикът не е наличен", "Provider version": "Версия на доставчика", "Provider warmup": "Загряване на доставчика", "Provider was automatically rechecked after daemon restart.": "Доставчикът беше автоматично повторно проверен след рестартиране на демон.", @@ -13117,6 +13138,8 @@ "Required for assigned teammates": "Изисква се за назначени съотборници", "Required input": "Задължително въвеждане", "Required input: {value}": "Задължително въвеждане: {value}", + "Required label": "Задължителен етикет", + "Required label missing": "Липсва задължителен етикет", "Required permissions": "Необходими разрешения", "Required skill information is missing.": "Липсва информация за необходимите умения.", "Required statuses": "Required statuses", @@ -14126,6 +14149,7 @@ "Start an active Computer Use task first.": "Първо стартирайте активна задача Computer Use.", "Start autoplan": "Стартирайте автоматичното планиране", "Start background": "Започнете фон", + "Start budget reached": "Началният бюджет е достигнат", "Start by choosing a template or creating one manually.": "Започнете с избор на шаблон или създаване на такъв ръчно.", "Start child branch": "Стартиране на дъщерен клон", "Start from a default role or blank teammate.": "Започнете от роля по подразбиране или празен съотборник.", @@ -14231,7 +14255,9 @@ "succeeded": "успя", "Succeeded": "Успял", "Successfully generated {count} artifact based on the provided prompt.": "Успешно генериран артефакт {count} въз основа на предоставената подкана.", + "Suggest": "Предложете", "Suggest responsible owners based on context, decisions, and recent work.": "Предложете отговорни собственици въз основа на контекста, решенията и скорошната работа.", + "Suggested": "Предложено", "Suggested next step": "Предложена следваща стъпка", "Suggested routing": "Предложен маршрут", "Summaries": "Резюмета", @@ -14940,6 +14966,7 @@ "Untracked": "Непроследено", "unverified": "непроверено", "Unverified": "Непроверено", + "Up to {concurrent} active and {starts} starts per {minutes} min": "До {concurrent} активни и {starts} стартирания за {minutes} мин", "Up to date": "Актуална", "Update": "Актуализация", "Update available": "Налична актуализация", @@ -15267,6 +15294,7 @@ "Work intake, tool servers, and plugin bundles": "Приемане на работа, сървъри с инструменти и пакети с плъгини", "Work is claimed": "Заявена е работа", "Work item ID": "Работен елемент ID", + "Work item paused": "Работният елемент е поставен на пауза", "Work items": "Работни елементи", "Work marked failed": "Работата е отбелязана като неуспешна", "Work result": "Резултат от работата", diff --git a/packages/localization/catalogs/bn-BD.json b/packages/localization/catalogs/bn-BD.json index ffe863e56..1a0dde3d5 100644 --- a/packages/localization/catalogs/bn-BD.json +++ b/packages/localization/catalogs/bn-BD.json @@ -1,6 +1,6 @@ { "locale": "bn-BD", - "sourceRevision": "214db76d79f1a5c0fd915c110a2ead6dbb978b58398846e982a0c1ff0cb53108", + "sourceRevision": "6468d2af71d2feb60f9b8c5f37bc2a3ff1177fb2c8b0d65e85002de6b1095cbb", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -568,6 +568,7 @@ "Allows": "8b1d52d202522d89fe65fb00e505abab46dc200a88c0be5d468a2a7e6dce9ccf", "Allows commands starting with {command}": "f5c5d446a6850880ae79768c175bacaf2bc487f715d5768d0b225eb643e3ce07", "Already imported": "e47fafe0a1c6f8d6b5c641c5d9cc7ca61e66a1c50bbc3b619c8ff5912444bfa8", + "Already in work": "ae40a6ff362406d9f1fdc40ad79cea7bd1705e6e173b2267f2a310777aedb387", "Also allow private memory and private chat queries remotely": "0b6b2ba6882b67c8b5b79f0f07964588232be1a9e520011e19bbea224c59a913", "Alternatives": "41055f72edad1559b8ba43440cd7938eb73685930c7141fede9b95000fd41299", "Alternatives considered": "73534cb410e6191096c7fa7ca56ba066f90b4fdede8677d64bc98068804afa3c", @@ -828,6 +829,7 @@ "Auto-start by default": "403861dc8396a3ea666e143d33e0429d3c26721771abf3face351259eee9b28f", "Auto-start step": "2bf61e4807ad3bf6ebc934bf54e917d5b3a87295001826be3a7dd57c7e75cc8d", "Automatic": "d461a493a3753877c9486cffa3444265a33370af8a7fff242fb119b71750839c", + "Automatic intake": "6eed82b223c717114773803e9d9d90d6d3cde9579bf264647347e559817a5081", "Automatic learning is off": "8ba1b4a02530490260a7b8e748e0809ddc3885213a009f3896264bc665060bdd", "Automatic parallel execution": "63d058c173c4a148a14094327c26d9af2c5bde1779c91dbf0d913e90b0687be9", "Automatic proposals enabled": "db670932d259eeedd26de8d7ca836594d5f3861ff24e1f94170c7333676c157a", @@ -1256,6 +1258,7 @@ "Check failed": "c8813c1128d545bfe7e7458ae24d724447097b3518643f86fa3e532f88e9fb40", "Check for changes": "5da755d1690f58c1c822a4b85422734bacc2122c7c67f4e8617f0765ac835113", "Check for updates": "f26f3275e735bdf6268532ca7cbea3887c9adad21d8df74e84b2bc7791475c0d", + "Check GitHub inbox": "51cd97da0bc2b213621668f69168386eaee18bdae064041094187404c9fc71ee", "Check member status": "ff155af014d0b6e94cbf2fca3b01cf8d5725732f178eee985083478adb4a62f5", "Check member status to load readiness.": "6f7f338e22e626b134643fbaec898cf8e8efd19b85eeb6193b4ca0d5d63c4528", "Check needed": "561a32f0c83e5a4fe8d77d891bd4b954d514ea021b4a18e68a3607f5d8747841", @@ -1563,6 +1566,7 @@ "Concise": "8340d833ab72d3321b07af0184597743b010e142b39593cebb450d4227e62f0c", "Concise, focused, direct.": "e9cb028d2d79111476e9c8ea1562b7f6275fd39d43abf410338d7c0ae2fff5a5", "conclusion {conclusion}": "dc328d7e11ecbdc61fa90fc18e3ced70b794ca55dcc476d03c88eff72f16274d", + "Concurrent work limit reached": "f60d0f2d4a9ba0c57c7e7835bd52a1912f39581799f2babb636d190317a96b54", "Confidence": "6422e3e78f5e5f5a15e92cc57ed7114adb289339251031ccb526d9249437dc82", "Configuration": "b332c3492d5eb10a118eb6d8b0dcd689bc2477ce2ae16b303753b942b54377bc", "Configuration digest": "5bbf2d321122a5a57d36c77291d232d51f9ae9a1655e80f042727754aea15bfe", @@ -2939,6 +2943,7 @@ "github": "c0b0109d9439de57fe3cf03abeccbc52f4c98170c732d3b69af5e6395ace574e", "GitHub": "f911e414cf6bdfc595532ab166b5ba0f63d73c021452fcdacbda363dda6ad8fb", "GitHub CI triage": "6a2368ce3943b296b07b5241227baf2a863d3f50f8a46ddb0889cbb5045ccd84", + "GitHub intake": "064829c63fcbc74d45753e04f583c69a391d25d4ed334de3b69fa2720f733cb1", "GitHub MCP": "408b061889ef672152b51ce8dbd56216d1b7e97303429b59538b99fe663c6f04", "GitHub not connected (GITHUB_TOKEN or GH_TOKEN)": "1cb239b6b5ea26422b411a25d3a4e254cdf45b7e730eb91b976a36f12adeb21b", "GitHub unavailable; retry later": "33b2cec76eccd24c4d8d61c265de8b06a6a20820ab1fccdcb433a22903909d02", @@ -4818,6 +4823,7 @@ "Policy details": "00e33950cacf32a39cc25f71ccb1650c4c788c12816e07681d80f0fdc537be98", "Policy narrows authority": "e9e2012e5ac96664fb03ff0f81f4f49cb5b8ee069149139352e7c89b73e43baa", "policy overlays": "db26199cf2a47a948b45caf37b4d50ede3ef415fad6c940cfe56a118970fcefb", + "Policy paused": "11fc11eaf385253466e26bac9916425e1e009695cd40adc4c7a132366d187518", "Policy review": "1cf67fef927c77770a1fcd8b20982b24b15cc0b6f1e8b56265d87baff019dd7e", "Policy snapshot artifact": "7f8b2985d498316ac01fa5f2276d2556cab712b4c8bc2b93e16dfc1353e23a77", "Poll once": "c7e7d724ff87555fb857467569ce709d958ee2d5d1ab2cc890554c7605e86e78", @@ -5013,6 +5019,7 @@ "Provider state": "633d1ca46603e61fc3d39459c1414102a27bbc4ba0adfb0b22ba5a205c2b9815", "Provider templates": "1e8649b7c667a6afc6dc88cbdb3069e349e850466cf3efa57eeedab9b70486f7", "Provider type": "8c0f6d3ebfe7ba3a0c0006068a9aa664d09244ba3cd438f2d56fab117bee1347", + "Provider unavailable": "ff2113958589f9bfb87b54f959be825d00ec5eca374d907bb343f98ebdbc84c3", "Provider version": "1f5ecefbd682ced2f438c8ae3c8849ba9effbe6cd77c19051cee2d2036ef9c90", "Provider warmup": "36ae143804c9a909bce770f54be5652b69b99ee7838cca99daa31e23d4d6d63c", "Provider was automatically rechecked after daemon restart.": "7bd8e8ee592f30e81adca8c96b079d6526846dc142bd99e5bbba3d9bebbde7a9", @@ -5398,6 +5405,8 @@ "Required for assigned teammates": "4732aa544a8d93b886e6bcbbcc5c3314af692f8a8a812efd4844cd3589b7b63a", "Required input": "fafaaf99b5a6af521026448890a9dacaf4d47053804a34be7cdf364e13637181", "Required input: {value}": "757166b8bf43ee39819f00d86fa61a84ddb3f3eba2a883c6bb996b8f82101d22", + "Required label": "5f623a5ad31f874a782d2205c9318ce524371a35d782b9a7021eab521c2fbbcd", + "Required label missing": "6913716764f8018414060c041e41a2951f5444efe5e97cd30a557be26403d1b1", "Required permissions": "edaffed36060c21e958b3fe562b7c57f51f67ba46326b1a9a5317a47b20e1747", "Required skill information is missing.": "e5cb742af5e92afab21f42c3edd4f5940db52a1c5320a9dd7236eca89a702789", "Required statuses": "c77453db9c939c7c7b8da080b0053847604126aefacf5a900d1d0fe30e4ba5ee", @@ -6407,6 +6416,7 @@ "Start an active Computer Use task first.": "1242a212935f863b51a7f3e8d16f12af408152d8047b274c5fef9fb7f1435f50", "Start autoplan": "7419a8efae15550dc21cccc23ca0a16c446e884842bfe48056af34a921175cb0", "Start background": "c690dc635cd0437e8911748d795084e5d32d0b75811490076285d41032d7300c", + "Start budget reached": "6b915cfb021a78ae6f8b4c1f2d9f40bbadcc486c04cbb00a807d52bfe78102ca", "Start by choosing a template or creating one manually.": "6a3ba02535ac7a0ab934b569a915927936dede63b4277ea4500e77c8835d4666", "Start child branch": "ee7b6caa5b4a1d3e8fd3ce47a26b42a4f2472834dfa17b2efc1864d0ed710948", "Start from a default role or blank teammate.": "1464ae64fd1ee987e353f53a2f9bab20053b2f0ae320c07839b7eecf710b8a96", @@ -6512,7 +6522,9 @@ "succeeded": "5dceaeceb6d8a49d3665594710ace68dfbc1800e2d663d7febb302b4dbee3d27", "Succeeded": "6d9a6f97a5fdaf3b90a0cf02e0b43d8b7ec1d05c0e4718e02ddd1c5b450e5b39", "Successfully generated {count} artifact based on the provided prompt.": "71f85e7639c004421f062f2dd6a129e5173931798f5d33b6f0482038b38a88fc", + "Suggest": "4effad823b048b0440dbeff42665f60a6ddec8e121c378966ed7c074a512c51f", "Suggest responsible owners based on context, decisions, and recent work.": "484eb4e21bcdd76a531a4234403ea29f0626094f9a2915b674f17e0b949be0a3", + "Suggested": "93b63bab4c3a28d73a8bb83bcdfdcc5f6ddecfc8fc702296ca159d94c5dc6e53", "Suggested next step": "78d74fd4ffec8d83a942e1274cfd15426b2b4bb2d96b15f905277638c339869e", "Suggested routing": "442b15c099c136738e26e139912a5f5d21e90216aade875a8db595b09c81fcbe", "Summaries": "87bc590e047d3df4a8e448ac83e371fad69dd73607752cccb0ff7d34263cef8f", @@ -7221,6 +7233,7 @@ "Untracked": "c7ba5477e19cf0bb25460d840cc2e67341e81e1c2d274d00b3054c73898d4d27", "unverified": "97b7e2db799e2b79e65f418b42a7d3054c95b2d3ab1dba243039597e44a38084", "Unverified": "33c8e8de41c3a35124251370e2a36e4d589f8789d80630abbbeceb933d3fb58f", + "Up to {concurrent} active and {starts} starts per {minutes} min": "cca43c28ef670fd5d55cb3bd813a2fef137043e4028096bcd2cdf22e2a06586b", "Up to date": "ce29b7f85b9eaf7dac52e625accb4b0cb56a856ebe9a9de9a09b613b6d978dca", "Update": "c1c1009d3f37ec058070a62e22caf9ac9dae2169d452487c5c271a8bcf57a291", "Update available": "ff8b555d818f0b25bbdd1bec8b479660bac7fc276acbe993e759bf67fed32c34", @@ -7548,6 +7561,7 @@ "Work intake, tool servers, and plugin bundles": "16b65a84c6fca2014b7e2d28b151bbf0afe19345230a0ac37304802311fed850", "Work is claimed": "c4b0d953436f2f59355d6540bae28e055ff49243f612887bbaed7bfd98c85d4d", "Work item ID": "1dcdad81d13850bd962965719f362fa7f32693b7b54fd8bb25d1e2402a470626", + "Work item paused": "299aabbf3c1418a3f01117e072d3bfe418e174bd1f355d1afdfae23c7b4bf678", "Work items": "5759a416f2b3b4ff92da23b8059419e06c39d27180b91a557f7cae779df3d2b6", "Work marked failed": "f26306888ed8c9a3808b8a420428f63e32d4c2223e7c9c89dd0a049806c539c6", "Work result": "19efe7487084061e9e358495b8a9bfd7e9d7c0035010e08ac35c14ba4ff8ca2a", @@ -8287,6 +8301,7 @@ "Allows": "অনুমতি দেয়", "Allows commands starting with {command}": "{command} দিয়ে শুরু হওয়া কমান্ডের অনুমতি দেয়", "Already imported": "ইতিমধ্যে আমদানি করা হয়েছে", + "Already in work": "ইতিমধ্যেই কাজে", "Also allow private memory and private chat queries remotely": "এছাড়াও দূরবর্তীভাবে ব্যক্তিগত মেমরি এবং ব্যক্তিগত চ্যাট প্রশ্নের অনুমতি দিন", "Alternatives": "বিকল্প", "Alternatives considered": "বিকল্প বিবেচনা করা হয়", @@ -8547,6 +8562,7 @@ "Auto-start by default": "Auto-start by default", "Auto-start step": "Auto-start step", "Automatic": "স্বয়ংক্রিয়", + "Automatic intake": "স্বয়ংক্রিয় গ্রহণ", "Automatic learning is off": "স্বয়ংক্রিয় শিক্ষা বন্ধ", "Automatic parallel execution": "Automatic parallel execution", "Automatic proposals enabled": "স্বয়ংক্রিয় প্রস্তাব সক্রিয়", @@ -8975,6 +8991,7 @@ "Check failed": "চেক ব্যর্থ হয়েছে", "Check for changes": "পরিবর্তনের জন্য পরীক্ষা করুন", "Check for updates": "আপডেটের জন্য চেক করুন", + "Check GitHub inbox": "GitHub ইনবক্স চেক করুন", "Check member status": "সদস্য অবস্থা চেক করুন", "Check member status to load readiness.": "প্রস্তুতি লোড করতে সদস্যের স্থিতি পরীক্ষা করুন।", "Check needed": "চেক প্রয়োজন", @@ -9282,6 +9299,7 @@ "Concise": "সংক্ষিপ্ত", "Concise, focused, direct.": "সংক্ষিপ্ত, নিবদ্ধ, সরাসরি।", "conclusion {conclusion}": "উপসংহার {conclusion}", + "Concurrent work limit reached": "সমসাময়িক কাজের সীমা পৌঁছেছে", "Confidence": "আত্মবিশ্বাস", "Configuration": "কনফিগারেশন", "Configuration digest": "কনফিগারেশন ডাইজেস্ট", @@ -10658,6 +10676,7 @@ "github": "github", "GitHub": "গিটহাব", "GitHub CI triage": "GitHub CI triage", + "GitHub intake": "GitHub গ্রহণ", "GitHub MCP": "গিটহাব MCP", "GitHub not connected (GITHUB_TOKEN or GH_TOKEN)": "GitHub not connected (GITHUB_TOKEN or GH_TOKEN)", "GitHub unavailable; retry later": "GitHub unavailable; retry later", @@ -12537,6 +12556,7 @@ "Policy details": "নীতি বিবরণ", "Policy narrows authority": "নীতি কর্তৃপক্ষকে সংকুচিত করে", "policy overlays": "নীতি ওভারলে", + "Policy paused": "নীতি বিরাম দেওয়া হয়েছে৷", "Policy review": "নীতি পর্যালোচনা", "Policy snapshot artifact": "নীতি স্ন্যাপশট আর্টিফ্যাক্ট", "Poll once": "একবার পোল", @@ -12732,6 +12752,7 @@ "Provider state": "প্রদানকারী রাষ্ট্র", "Provider templates": "প্রদানকারী টেমপ্লেট", "Provider type": "প্রদানকারীর ধরন", + "Provider unavailable": "প্রদানকারী অনুপলব্ধ", "Provider version": "প্রদানকারী সংস্করণ", "Provider warmup": "সরবরাহকারী ওয়ার্মআপ", "Provider was automatically rechecked after daemon restart.": "ডেমন পুনরায় চালু করার পরে প্রদানকারী স্বয়ংক্রিয়ভাবে পুনরায় পরীক্ষা করা হয়েছে।", @@ -13117,6 +13138,8 @@ "Required for assigned teammates": "নির্ধারিত সতীর্থদের জন্য প্রয়োজনীয়", "Required input": "প্রয়োজনীয় ইনপুট", "Required input: {value}": "প্রয়োজনীয় ইনপুট: {value}", + "Required label": "প্রয়োজনীয় লেবেল", + "Required label missing": "প্রয়োজনীয় লেবেল অনুপস্থিত", "Required permissions": "প্রয়োজনীয় অনুমতি", "Required skill information is missing.": "প্রয়োজনীয় দক্ষতা তথ্য অনুপস্থিত.", "Required statuses": "Required statuses", @@ -14126,6 +14149,7 @@ "Start an active Computer Use task first.": "প্রথমে একটি সক্রিয় Computer Use টাস্ক শুরু করুন।", "Start autoplan": "অটোপ্ল্যান শুরু করুন", "Start background": "ব্যাকগ্রাউন্ড শুরু করুন", + "Start budget reached": "স্টার্ট বাজেট পৌঁছেছে", "Start by choosing a template or creating one manually.": "একটি টেমপ্লেট বেছে নিয়ে বা ম্যানুয়ালি তৈরি করে শুরু করুন।", "Start child branch": "শিশু শাখা চালু করুন", "Start from a default role or blank teammate.": "একটি ডিফল্ট ভূমিকা বা ফাঁকা সতীর্থ থেকে শুরু করুন.", @@ -14231,7 +14255,9 @@ "succeeded": "সফল", "Succeeded": "সফল হয়েছে", "Successfully generated {count} artifact based on the provided prompt.": "প্রদত্ত প্রম্পটের উপর ভিত্তি করে {count} আর্টিফ্যাক্ট সফলভাবে তৈরি করা হয়েছে।", + "Suggest": "সাজেস্ট করুন", "Suggest responsible owners based on context, decisions, and recent work.": "প্রসঙ্গ, সিদ্ধান্ত এবং সাম্প্রতিক কাজের উপর ভিত্তি করে দায়িত্বশীল মালিকদের পরামর্শ দিন।", + "Suggested": "প্রস্তাবিত", "Suggested next step": "প্রস্তাবিত পরবর্তী পদক্ষেপ", "Suggested routing": "প্রস্তাবিত রাউটিং", "Summaries": "সারাংশ", @@ -14940,6 +14966,7 @@ "Untracked": "আনট্র্যাকড", "unverified": "যাচাই করা হয়নি", "Unverified": "যাচাই করা হয়নি", + "Up to {concurrent} active and {starts} starts per {minutes} min": "{concurrent} পর্যন্ত সক্রিয় এবং {starts} প্রতি {minutes} মিনিটে শুরু হয়", "Up to date": "আপ টু ডেট", "Update": "আপডেট", "Update available": "আপডেট উপলব্ধ", @@ -15267,6 +15294,7 @@ "Work intake, tool servers, and plugin bundles": "ওয়ার্ক ইনটেক, টুল সার্ভার এবং প্লাগইন বান্ডিল", "Work is claimed": "কাজ দাবি করা হয়", "Work item ID": "কাজের আইটেম ID", + "Work item paused": "কাজের আইটেম পজ করা হয়েছে", "Work items": "কাজের আইটেম", "Work marked failed": "চিহ্নিত কাজ ব্যর্থ হয়েছে", "Work result": "কাজের ফলাফল", diff --git a/packages/localization/catalogs/bs-BA.json b/packages/localization/catalogs/bs-BA.json index 1e89a6251..e2ddee702 100644 --- a/packages/localization/catalogs/bs-BA.json +++ b/packages/localization/catalogs/bs-BA.json @@ -1,6 +1,6 @@ { "locale": "bs-BA", - "sourceRevision": "214db76d79f1a5c0fd915c110a2ead6dbb978b58398846e982a0c1ff0cb53108", + "sourceRevision": "6468d2af71d2feb60f9b8c5f37bc2a3ff1177fb2c8b0d65e85002de6b1095cbb", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -568,6 +568,7 @@ "Allows": "8b1d52d202522d89fe65fb00e505abab46dc200a88c0be5d468a2a7e6dce9ccf", "Allows commands starting with {command}": "f5c5d446a6850880ae79768c175bacaf2bc487f715d5768d0b225eb643e3ce07", "Already imported": "e47fafe0a1c6f8d6b5c641c5d9cc7ca61e66a1c50bbc3b619c8ff5912444bfa8", + "Already in work": "ae40a6ff362406d9f1fdc40ad79cea7bd1705e6e173b2267f2a310777aedb387", "Also allow private memory and private chat queries remotely": "0b6b2ba6882b67c8b5b79f0f07964588232be1a9e520011e19bbea224c59a913", "Alternatives": "41055f72edad1559b8ba43440cd7938eb73685930c7141fede9b95000fd41299", "Alternatives considered": "73534cb410e6191096c7fa7ca56ba066f90b4fdede8677d64bc98068804afa3c", @@ -828,6 +829,7 @@ "Auto-start by default": "403861dc8396a3ea666e143d33e0429d3c26721771abf3face351259eee9b28f", "Auto-start step": "2bf61e4807ad3bf6ebc934bf54e917d5b3a87295001826be3a7dd57c7e75cc8d", "Automatic": "d461a493a3753877c9486cffa3444265a33370af8a7fff242fb119b71750839c", + "Automatic intake": "6eed82b223c717114773803e9d9d90d6d3cde9579bf264647347e559817a5081", "Automatic learning is off": "8ba1b4a02530490260a7b8e748e0809ddc3885213a009f3896264bc665060bdd", "Automatic parallel execution": "63d058c173c4a148a14094327c26d9af2c5bde1779c91dbf0d913e90b0687be9", "Automatic proposals enabled": "db670932d259eeedd26de8d7ca836594d5f3861ff24e1f94170c7333676c157a", @@ -1256,6 +1258,7 @@ "Check failed": "c8813c1128d545bfe7e7458ae24d724447097b3518643f86fa3e532f88e9fb40", "Check for changes": "5da755d1690f58c1c822a4b85422734bacc2122c7c67f4e8617f0765ac835113", "Check for updates": "f26f3275e735bdf6268532ca7cbea3887c9adad21d8df74e84b2bc7791475c0d", + "Check GitHub inbox": "51cd97da0bc2b213621668f69168386eaee18bdae064041094187404c9fc71ee", "Check member status": "ff155af014d0b6e94cbf2fca3b01cf8d5725732f178eee985083478adb4a62f5", "Check member status to load readiness.": "6f7f338e22e626b134643fbaec898cf8e8efd19b85eeb6193b4ca0d5d63c4528", "Check needed": "561a32f0c83e5a4fe8d77d891bd4b954d514ea021b4a18e68a3607f5d8747841", @@ -1563,6 +1566,7 @@ "Concise": "8340d833ab72d3321b07af0184597743b010e142b39593cebb450d4227e62f0c", "Concise, focused, direct.": "e9cb028d2d79111476e9c8ea1562b7f6275fd39d43abf410338d7c0ae2fff5a5", "conclusion {conclusion}": "dc328d7e11ecbdc61fa90fc18e3ced70b794ca55dcc476d03c88eff72f16274d", + "Concurrent work limit reached": "f60d0f2d4a9ba0c57c7e7835bd52a1912f39581799f2babb636d190317a96b54", "Confidence": "6422e3e78f5e5f5a15e92cc57ed7114adb289339251031ccb526d9249437dc82", "Configuration": "b332c3492d5eb10a118eb6d8b0dcd689bc2477ce2ae16b303753b942b54377bc", "Configuration digest": "5bbf2d321122a5a57d36c77291d232d51f9ae9a1655e80f042727754aea15bfe", @@ -2939,6 +2943,7 @@ "github": "c0b0109d9439de57fe3cf03abeccbc52f4c98170c732d3b69af5e6395ace574e", "GitHub": "f911e414cf6bdfc595532ab166b5ba0f63d73c021452fcdacbda363dda6ad8fb", "GitHub CI triage": "6a2368ce3943b296b07b5241227baf2a863d3f50f8a46ddb0889cbb5045ccd84", + "GitHub intake": "064829c63fcbc74d45753e04f583c69a391d25d4ed334de3b69fa2720f733cb1", "GitHub MCP": "408b061889ef672152b51ce8dbd56216d1b7e97303429b59538b99fe663c6f04", "GitHub not connected (GITHUB_TOKEN or GH_TOKEN)": "1cb239b6b5ea26422b411a25d3a4e254cdf45b7e730eb91b976a36f12adeb21b", "GitHub unavailable; retry later": "33b2cec76eccd24c4d8d61c265de8b06a6a20820ab1fccdcb433a22903909d02", @@ -4818,6 +4823,7 @@ "Policy details": "00e33950cacf32a39cc25f71ccb1650c4c788c12816e07681d80f0fdc537be98", "Policy narrows authority": "e9e2012e5ac96664fb03ff0f81f4f49cb5b8ee069149139352e7c89b73e43baa", "policy overlays": "db26199cf2a47a948b45caf37b4d50ede3ef415fad6c940cfe56a118970fcefb", + "Policy paused": "11fc11eaf385253466e26bac9916425e1e009695cd40adc4c7a132366d187518", "Policy review": "1cf67fef927c77770a1fcd8b20982b24b15cc0b6f1e8b56265d87baff019dd7e", "Policy snapshot artifact": "7f8b2985d498316ac01fa5f2276d2556cab712b4c8bc2b93e16dfc1353e23a77", "Poll once": "c7e7d724ff87555fb857467569ce709d958ee2d5d1ab2cc890554c7605e86e78", @@ -5013,6 +5019,7 @@ "Provider state": "633d1ca46603e61fc3d39459c1414102a27bbc4ba0adfb0b22ba5a205c2b9815", "Provider templates": "1e8649b7c667a6afc6dc88cbdb3069e349e850466cf3efa57eeedab9b70486f7", "Provider type": "8c0f6d3ebfe7ba3a0c0006068a9aa664d09244ba3cd438f2d56fab117bee1347", + "Provider unavailable": "ff2113958589f9bfb87b54f959be825d00ec5eca374d907bb343f98ebdbc84c3", "Provider version": "1f5ecefbd682ced2f438c8ae3c8849ba9effbe6cd77c19051cee2d2036ef9c90", "Provider warmup": "36ae143804c9a909bce770f54be5652b69b99ee7838cca99daa31e23d4d6d63c", "Provider was automatically rechecked after daemon restart.": "7bd8e8ee592f30e81adca8c96b079d6526846dc142bd99e5bbba3d9bebbde7a9", @@ -5398,6 +5405,8 @@ "Required for assigned teammates": "4732aa544a8d93b886e6bcbbcc5c3314af692f8a8a812efd4844cd3589b7b63a", "Required input": "fafaaf99b5a6af521026448890a9dacaf4d47053804a34be7cdf364e13637181", "Required input: {value}": "757166b8bf43ee39819f00d86fa61a84ddb3f3eba2a883c6bb996b8f82101d22", + "Required label": "5f623a5ad31f874a782d2205c9318ce524371a35d782b9a7021eab521c2fbbcd", + "Required label missing": "6913716764f8018414060c041e41a2951f5444efe5e97cd30a557be26403d1b1", "Required permissions": "edaffed36060c21e958b3fe562b7c57f51f67ba46326b1a9a5317a47b20e1747", "Required skill information is missing.": "e5cb742af5e92afab21f42c3edd4f5940db52a1c5320a9dd7236eca89a702789", "Required statuses": "c77453db9c939c7c7b8da080b0053847604126aefacf5a900d1d0fe30e4ba5ee", @@ -6407,6 +6416,7 @@ "Start an active Computer Use task first.": "1242a212935f863b51a7f3e8d16f12af408152d8047b274c5fef9fb7f1435f50", "Start autoplan": "7419a8efae15550dc21cccc23ca0a16c446e884842bfe48056af34a921175cb0", "Start background": "c690dc635cd0437e8911748d795084e5d32d0b75811490076285d41032d7300c", + "Start budget reached": "6b915cfb021a78ae6f8b4c1f2d9f40bbadcc486c04cbb00a807d52bfe78102ca", "Start by choosing a template or creating one manually.": "6a3ba02535ac7a0ab934b569a915927936dede63b4277ea4500e77c8835d4666", "Start child branch": "ee7b6caa5b4a1d3e8fd3ce47a26b42a4f2472834dfa17b2efc1864d0ed710948", "Start from a default role or blank teammate.": "1464ae64fd1ee987e353f53a2f9bab20053b2f0ae320c07839b7eecf710b8a96", @@ -6512,7 +6522,9 @@ "succeeded": "5dceaeceb6d8a49d3665594710ace68dfbc1800e2d663d7febb302b4dbee3d27", "Succeeded": "6d9a6f97a5fdaf3b90a0cf02e0b43d8b7ec1d05c0e4718e02ddd1c5b450e5b39", "Successfully generated {count} artifact based on the provided prompt.": "71f85e7639c004421f062f2dd6a129e5173931798f5d33b6f0482038b38a88fc", + "Suggest": "4effad823b048b0440dbeff42665f60a6ddec8e121c378966ed7c074a512c51f", "Suggest responsible owners based on context, decisions, and recent work.": "484eb4e21bcdd76a531a4234403ea29f0626094f9a2915b674f17e0b949be0a3", + "Suggested": "93b63bab4c3a28d73a8bb83bcdfdcc5f6ddecfc8fc702296ca159d94c5dc6e53", "Suggested next step": "78d74fd4ffec8d83a942e1274cfd15426b2b4bb2d96b15f905277638c339869e", "Suggested routing": "442b15c099c136738e26e139912a5f5d21e90216aade875a8db595b09c81fcbe", "Summaries": "87bc590e047d3df4a8e448ac83e371fad69dd73607752cccb0ff7d34263cef8f", @@ -7221,6 +7233,7 @@ "Untracked": "c7ba5477e19cf0bb25460d840cc2e67341e81e1c2d274d00b3054c73898d4d27", "unverified": "97b7e2db799e2b79e65f418b42a7d3054c95b2d3ab1dba243039597e44a38084", "Unverified": "33c8e8de41c3a35124251370e2a36e4d589f8789d80630abbbeceb933d3fb58f", + "Up to {concurrent} active and {starts} starts per {minutes} min": "cca43c28ef670fd5d55cb3bd813a2fef137043e4028096bcd2cdf22e2a06586b", "Up to date": "ce29b7f85b9eaf7dac52e625accb4b0cb56a856ebe9a9de9a09b613b6d978dca", "Update": "c1c1009d3f37ec058070a62e22caf9ac9dae2169d452487c5c271a8bcf57a291", "Update available": "ff8b555d818f0b25bbdd1bec8b479660bac7fc276acbe993e759bf67fed32c34", @@ -7548,6 +7561,7 @@ "Work intake, tool servers, and plugin bundles": "16b65a84c6fca2014b7e2d28b151bbf0afe19345230a0ac37304802311fed850", "Work is claimed": "c4b0d953436f2f59355d6540bae28e055ff49243f612887bbaed7bfd98c85d4d", "Work item ID": "1dcdad81d13850bd962965719f362fa7f32693b7b54fd8bb25d1e2402a470626", + "Work item paused": "299aabbf3c1418a3f01117e072d3bfe418e174bd1f355d1afdfae23c7b4bf678", "Work items": "5759a416f2b3b4ff92da23b8059419e06c39d27180b91a557f7cae779df3d2b6", "Work marked failed": "f26306888ed8c9a3808b8a420428f63e32d4c2223e7c9c89dd0a049806c539c6", "Work result": "19efe7487084061e9e358495b8a9bfd7e9d7c0035010e08ac35c14ba4ff8ca2a", @@ -8287,6 +8301,7 @@ "Allows": "Dozvoljava", "Allows commands starting with {command}": "Dozvoljava komande koje počinju sa {command}", "Already imported": "Već uvezeno", + "Already in work": "Već na poslu", "Also allow private memory and private chat queries remotely": "Također omogućite privatnu memoriju i privatne chat upite na daljinu", "Alternatives": "Alternative", "Alternatives considered": "Razmotrene alternative", @@ -8547,6 +8562,7 @@ "Auto-start by default": "Auto-start by default", "Auto-start step": "Auto-start step", "Automatic": "Automatski", + "Automatic intake": "Automatski unos", "Automatic learning is off": "Automatsko učenje je isključeno", "Automatic parallel execution": "Automatic parallel execution", "Automatic proposals enabled": "Automatski prijedlozi su omogućeni", @@ -8975,6 +8991,7 @@ "Check failed": "Provjera nije uspjela", "Check for changes": "Provjerite ima li promjena", "Check for updates": "Provjerite ima li ažuriranja", + "Check GitHub inbox": "Provjerite GitHub inbox", "Check member status": "Provjerite status člana", "Check member status to load readiness.": "Provjerite status člana da učitate spremnost.", "Check needed": "Potrebna je provjera", @@ -9282,6 +9299,7 @@ "Concise": "Sažeto", "Concise, focused, direct.": "Koncizno, fokusirano, direktno.", "conclusion {conclusion}": "zaključak {conclusion}", + "Concurrent work limit reached": "Dostignuto je ograničenje istovremenog rada", "Confidence": "Samopouzdanje", "Configuration": "Konfiguracija", "Configuration digest": "Sažetak konfiguracije", @@ -10658,6 +10676,7 @@ "github": "github", "GitHub": "GitHub", "GitHub CI triage": "GitHub CI trijaža", + "GitHub intake": "GitHub intake", "GitHub MCP": "GitHub MCP", "GitHub not connected (GITHUB_TOKEN or GH_TOKEN)": "GitHub not connected (GITHUB_TOKEN or GH_TOKEN)", "GitHub unavailable; retry later": "GitHub unavailable; retry later", @@ -12537,6 +12556,7 @@ "Policy details": "Detalji politike", "Policy narrows authority": "Politika sužava ovlaštenja", "policy overlays": "prekrivači politike", + "Policy paused": "Pravila su pauzirana", "Policy review": "Pregled politike", "Policy snapshot artifact": "Artefakt snimka politike", "Poll once": "Anketa jednom", @@ -12732,6 +12752,7 @@ "Provider state": "Država provajdera", "Provider templates": "Predlošci dobavljača", "Provider type": "Vrsta provajdera", + "Provider unavailable": "Provajder nedostupan", "Provider version": "Verzija dobavljača", "Provider warmup": "Provajder zagrijavanje", "Provider was automatically rechecked after daemon restart.": "Provajder je automatski ponovo provjeren nakon ponovnog pokretanja demona.", @@ -13117,6 +13138,8 @@ "Required for assigned teammates": "Obavezno za dodijeljene saigrače", "Required input": "Potreban unos", "Required input: {value}": "Potreban unos: {value}", + "Required label": "Obavezna oznaka", + "Required label missing": "Nedostaje obavezna oznaka", "Required permissions": "Potrebne dozvole", "Required skill information is missing.": "Nedostaju potrebne informacije o vještini.", "Required statuses": "Required statuses", @@ -14126,6 +14149,7 @@ "Start an active Computer Use task first.": "Prvo pokrenite aktivan zadatak Computer Use.", "Start autoplan": "Pokreni autoplan", "Start background": "Pokreni pozadinu", + "Start budget reached": "Početni budžet je dostignut", "Start by choosing a template or creating one manually.": "Započnite odabirom predloška ili ga kreirajte ručno.", "Start child branch": "Pokreni podređenu granu", "Start from a default role or blank teammate.": "Počnite od zadane uloge ili praznog saigrača.", @@ -14231,7 +14255,9 @@ "succeeded": "uspjelo", "Succeeded": "uspjelo", "Successfully generated {count} artifact based on the provided prompt.": "Uspješno generiran artefakt {count} na osnovu datog prompta.", + "Suggest": "Predloži", "Suggest responsible owners based on context, decisions, and recent work.": "Predložite odgovorne vlasnike na osnovu konteksta, odluka i nedavnog rada.", + "Suggested": "Predloženo", "Suggested next step": "Predložen sljedeći korak", "Suggested routing": "Predloženo rutiranje", "Summaries": "Sažeci", @@ -14940,6 +14966,7 @@ "Untracked": "Untracked", "unverified": "neprovjereno", "Unverified": "Neprovjereno", + "Up to {concurrent} active and {starts} starts per {minutes} min": "Do {concurrent} aktivno i {starts} počinje po {minutes} min", "Up to date": "Ažurno", "Update": "Ažuriraj", "Update available": "Dostupno je ažuriranje", @@ -15267,6 +15294,7 @@ "Work intake, tool servers, and plugin bundles": "Unos posla, serveri alata i paketi dodataka", "Work is claimed": "Rad se traži", "Work item ID": "Radni predmet ID", + "Work item paused": "Radna stavka je pauzirana", "Work items": "Radni predmeti", "Work marked failed": "Rad označen kao neuspješan", "Work result": "Rezultat rada", diff --git a/packages/localization/catalogs/ca-ES.json b/packages/localization/catalogs/ca-ES.json index 1dd007b1e..5f6ddc387 100644 --- a/packages/localization/catalogs/ca-ES.json +++ b/packages/localization/catalogs/ca-ES.json @@ -1,6 +1,6 @@ { "locale": "ca-ES", - "sourceRevision": "214db76d79f1a5c0fd915c110a2ead6dbb978b58398846e982a0c1ff0cb53108", + "sourceRevision": "6468d2af71d2feb60f9b8c5f37bc2a3ff1177fb2c8b0d65e85002de6b1095cbb", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -568,6 +568,7 @@ "Allows": "8b1d52d202522d89fe65fb00e505abab46dc200a88c0be5d468a2a7e6dce9ccf", "Allows commands starting with {command}": "f5c5d446a6850880ae79768c175bacaf2bc487f715d5768d0b225eb643e3ce07", "Already imported": "e47fafe0a1c6f8d6b5c641c5d9cc7ca61e66a1c50bbc3b619c8ff5912444bfa8", + "Already in work": "ae40a6ff362406d9f1fdc40ad79cea7bd1705e6e173b2267f2a310777aedb387", "Also allow private memory and private chat queries remotely": "0b6b2ba6882b67c8b5b79f0f07964588232be1a9e520011e19bbea224c59a913", "Alternatives": "41055f72edad1559b8ba43440cd7938eb73685930c7141fede9b95000fd41299", "Alternatives considered": "73534cb410e6191096c7fa7ca56ba066f90b4fdede8677d64bc98068804afa3c", @@ -828,6 +829,7 @@ "Auto-start by default": "403861dc8396a3ea666e143d33e0429d3c26721771abf3face351259eee9b28f", "Auto-start step": "2bf61e4807ad3bf6ebc934bf54e917d5b3a87295001826be3a7dd57c7e75cc8d", "Automatic": "d461a493a3753877c9486cffa3444265a33370af8a7fff242fb119b71750839c", + "Automatic intake": "6eed82b223c717114773803e9d9d90d6d3cde9579bf264647347e559817a5081", "Automatic learning is off": "8ba1b4a02530490260a7b8e748e0809ddc3885213a009f3896264bc665060bdd", "Automatic parallel execution": "63d058c173c4a148a14094327c26d9af2c5bde1779c91dbf0d913e90b0687be9", "Automatic proposals enabled": "db670932d259eeedd26de8d7ca836594d5f3861ff24e1f94170c7333676c157a", @@ -1256,6 +1258,7 @@ "Check failed": "c8813c1128d545bfe7e7458ae24d724447097b3518643f86fa3e532f88e9fb40", "Check for changes": "5da755d1690f58c1c822a4b85422734bacc2122c7c67f4e8617f0765ac835113", "Check for updates": "f26f3275e735bdf6268532ca7cbea3887c9adad21d8df74e84b2bc7791475c0d", + "Check GitHub inbox": "51cd97da0bc2b213621668f69168386eaee18bdae064041094187404c9fc71ee", "Check member status": "ff155af014d0b6e94cbf2fca3b01cf8d5725732f178eee985083478adb4a62f5", "Check member status to load readiness.": "6f7f338e22e626b134643fbaec898cf8e8efd19b85eeb6193b4ca0d5d63c4528", "Check needed": "561a32f0c83e5a4fe8d77d891bd4b954d514ea021b4a18e68a3607f5d8747841", @@ -1563,6 +1566,7 @@ "Concise": "8340d833ab72d3321b07af0184597743b010e142b39593cebb450d4227e62f0c", "Concise, focused, direct.": "e9cb028d2d79111476e9c8ea1562b7f6275fd39d43abf410338d7c0ae2fff5a5", "conclusion {conclusion}": "dc328d7e11ecbdc61fa90fc18e3ced70b794ca55dcc476d03c88eff72f16274d", + "Concurrent work limit reached": "f60d0f2d4a9ba0c57c7e7835bd52a1912f39581799f2babb636d190317a96b54", "Confidence": "6422e3e78f5e5f5a15e92cc57ed7114adb289339251031ccb526d9249437dc82", "Configuration": "b332c3492d5eb10a118eb6d8b0dcd689bc2477ce2ae16b303753b942b54377bc", "Configuration digest": "5bbf2d321122a5a57d36c77291d232d51f9ae9a1655e80f042727754aea15bfe", @@ -2939,6 +2943,7 @@ "github": "c0b0109d9439de57fe3cf03abeccbc52f4c98170c732d3b69af5e6395ace574e", "GitHub": "f911e414cf6bdfc595532ab166b5ba0f63d73c021452fcdacbda363dda6ad8fb", "GitHub CI triage": "6a2368ce3943b296b07b5241227baf2a863d3f50f8a46ddb0889cbb5045ccd84", + "GitHub intake": "064829c63fcbc74d45753e04f583c69a391d25d4ed334de3b69fa2720f733cb1", "GitHub MCP": "408b061889ef672152b51ce8dbd56216d1b7e97303429b59538b99fe663c6f04", "GitHub not connected (GITHUB_TOKEN or GH_TOKEN)": "1cb239b6b5ea26422b411a25d3a4e254cdf45b7e730eb91b976a36f12adeb21b", "GitHub unavailable; retry later": "33b2cec76eccd24c4d8d61c265de8b06a6a20820ab1fccdcb433a22903909d02", @@ -4818,6 +4823,7 @@ "Policy details": "00e33950cacf32a39cc25f71ccb1650c4c788c12816e07681d80f0fdc537be98", "Policy narrows authority": "e9e2012e5ac96664fb03ff0f81f4f49cb5b8ee069149139352e7c89b73e43baa", "policy overlays": "db26199cf2a47a948b45caf37b4d50ede3ef415fad6c940cfe56a118970fcefb", + "Policy paused": "11fc11eaf385253466e26bac9916425e1e009695cd40adc4c7a132366d187518", "Policy review": "1cf67fef927c77770a1fcd8b20982b24b15cc0b6f1e8b56265d87baff019dd7e", "Policy snapshot artifact": "7f8b2985d498316ac01fa5f2276d2556cab712b4c8bc2b93e16dfc1353e23a77", "Poll once": "c7e7d724ff87555fb857467569ce709d958ee2d5d1ab2cc890554c7605e86e78", @@ -5013,6 +5019,7 @@ "Provider state": "633d1ca46603e61fc3d39459c1414102a27bbc4ba0adfb0b22ba5a205c2b9815", "Provider templates": "1e8649b7c667a6afc6dc88cbdb3069e349e850466cf3efa57eeedab9b70486f7", "Provider type": "8c0f6d3ebfe7ba3a0c0006068a9aa664d09244ba3cd438f2d56fab117bee1347", + "Provider unavailable": "ff2113958589f9bfb87b54f959be825d00ec5eca374d907bb343f98ebdbc84c3", "Provider version": "1f5ecefbd682ced2f438c8ae3c8849ba9effbe6cd77c19051cee2d2036ef9c90", "Provider warmup": "36ae143804c9a909bce770f54be5652b69b99ee7838cca99daa31e23d4d6d63c", "Provider was automatically rechecked after daemon restart.": "7bd8e8ee592f30e81adca8c96b079d6526846dc142bd99e5bbba3d9bebbde7a9", @@ -5398,6 +5405,8 @@ "Required for assigned teammates": "4732aa544a8d93b886e6bcbbcc5c3314af692f8a8a812efd4844cd3589b7b63a", "Required input": "fafaaf99b5a6af521026448890a9dacaf4d47053804a34be7cdf364e13637181", "Required input: {value}": "757166b8bf43ee39819f00d86fa61a84ddb3f3eba2a883c6bb996b8f82101d22", + "Required label": "5f623a5ad31f874a782d2205c9318ce524371a35d782b9a7021eab521c2fbbcd", + "Required label missing": "6913716764f8018414060c041e41a2951f5444efe5e97cd30a557be26403d1b1", "Required permissions": "edaffed36060c21e958b3fe562b7c57f51f67ba46326b1a9a5317a47b20e1747", "Required skill information is missing.": "e5cb742af5e92afab21f42c3edd4f5940db52a1c5320a9dd7236eca89a702789", "Required statuses": "c77453db9c939c7c7b8da080b0053847604126aefacf5a900d1d0fe30e4ba5ee", @@ -6407,6 +6416,7 @@ "Start an active Computer Use task first.": "1242a212935f863b51a7f3e8d16f12af408152d8047b274c5fef9fb7f1435f50", "Start autoplan": "7419a8efae15550dc21cccc23ca0a16c446e884842bfe48056af34a921175cb0", "Start background": "c690dc635cd0437e8911748d795084e5d32d0b75811490076285d41032d7300c", + "Start budget reached": "6b915cfb021a78ae6f8b4c1f2d9f40bbadcc486c04cbb00a807d52bfe78102ca", "Start by choosing a template or creating one manually.": "6a3ba02535ac7a0ab934b569a915927936dede63b4277ea4500e77c8835d4666", "Start child branch": "ee7b6caa5b4a1d3e8fd3ce47a26b42a4f2472834dfa17b2efc1864d0ed710948", "Start from a default role or blank teammate.": "1464ae64fd1ee987e353f53a2f9bab20053b2f0ae320c07839b7eecf710b8a96", @@ -6512,7 +6522,9 @@ "succeeded": "5dceaeceb6d8a49d3665594710ace68dfbc1800e2d663d7febb302b4dbee3d27", "Succeeded": "6d9a6f97a5fdaf3b90a0cf02e0b43d8b7ec1d05c0e4718e02ddd1c5b450e5b39", "Successfully generated {count} artifact based on the provided prompt.": "71f85e7639c004421f062f2dd6a129e5173931798f5d33b6f0482038b38a88fc", + "Suggest": "4effad823b048b0440dbeff42665f60a6ddec8e121c378966ed7c074a512c51f", "Suggest responsible owners based on context, decisions, and recent work.": "484eb4e21bcdd76a531a4234403ea29f0626094f9a2915b674f17e0b949be0a3", + "Suggested": "93b63bab4c3a28d73a8bb83bcdfdcc5f6ddecfc8fc702296ca159d94c5dc6e53", "Suggested next step": "78d74fd4ffec8d83a942e1274cfd15426b2b4bb2d96b15f905277638c339869e", "Suggested routing": "442b15c099c136738e26e139912a5f5d21e90216aade875a8db595b09c81fcbe", "Summaries": "87bc590e047d3df4a8e448ac83e371fad69dd73607752cccb0ff7d34263cef8f", @@ -7221,6 +7233,7 @@ "Untracked": "c7ba5477e19cf0bb25460d840cc2e67341e81e1c2d274d00b3054c73898d4d27", "unverified": "97b7e2db799e2b79e65f418b42a7d3054c95b2d3ab1dba243039597e44a38084", "Unverified": "33c8e8de41c3a35124251370e2a36e4d589f8789d80630abbbeceb933d3fb58f", + "Up to {concurrent} active and {starts} starts per {minutes} min": "cca43c28ef670fd5d55cb3bd813a2fef137043e4028096bcd2cdf22e2a06586b", "Up to date": "ce29b7f85b9eaf7dac52e625accb4b0cb56a856ebe9a9de9a09b613b6d978dca", "Update": "c1c1009d3f37ec058070a62e22caf9ac9dae2169d452487c5c271a8bcf57a291", "Update available": "ff8b555d818f0b25bbdd1bec8b479660bac7fc276acbe993e759bf67fed32c34", @@ -7548,6 +7561,7 @@ "Work intake, tool servers, and plugin bundles": "16b65a84c6fca2014b7e2d28b151bbf0afe19345230a0ac37304802311fed850", "Work is claimed": "c4b0d953436f2f59355d6540bae28e055ff49243f612887bbaed7bfd98c85d4d", "Work item ID": "1dcdad81d13850bd962965719f362fa7f32693b7b54fd8bb25d1e2402a470626", + "Work item paused": "299aabbf3c1418a3f01117e072d3bfe418e174bd1f355d1afdfae23c7b4bf678", "Work items": "5759a416f2b3b4ff92da23b8059419e06c39d27180b91a557f7cae779df3d2b6", "Work marked failed": "f26306888ed8c9a3808b8a420428f63e32d4c2223e7c9c89dd0a049806c539c6", "Work result": "19efe7487084061e9e358495b8a9bfd7e9d7c0035010e08ac35c14ba4ff8ca2a", @@ -8287,6 +8301,7 @@ "Allows": "Permet", "Allows commands starting with {command}": "Permet ordres que comencen per {command}", "Already imported": "Ja s'ha importat", + "Already in work": "Ja a la feina", "Also allow private memory and private chat queries remotely": "També permet la memòria privada i les consultes de xat privat de forma remota", "Alternatives": "Alternatives", "Alternatives considered": "Alternatives considerades", @@ -8547,6 +8562,7 @@ "Auto-start by default": "Auto-start by default", "Auto-start step": "Auto-start step", "Automatic": "Automàtic", + "Automatic intake": "Admissió automàtica", "Automatic learning is off": "L'aprenentatge automàtic està desactivat", "Automatic parallel execution": "Automatic parallel execution", "Automatic proposals enabled": "S'han activat les propostes automàtiques", @@ -8975,6 +8991,7 @@ "Check failed": "La comprovació ha fallat", "Check for changes": "Comproveu si hi ha canvis", "Check for updates": "Comproveu si hi ha actualitzacions", + "Check GitHub inbox": "Comproveu la safata d'entrada de GitHub", "Check member status": "Comproveu l'estat del membre", "Check member status to load readiness.": "Comproveu l'estat del membre per carregar la preparació.", "Check needed": "Cal comprovar", @@ -9282,6 +9299,7 @@ "Concise": "Concís", "Concise, focused, direct.": "Concís, enfocat, directe.", "conclusion {conclusion}": "conclusió {conclusion}", + "Concurrent work limit reached": "S'ha arribat al límit de treball simultània", "Confidence": "Confiança", "Configuration": "Configuració", "Configuration digest": "Resum de configuració", @@ -10658,6 +10676,7 @@ "github": "github", "GitHub": "GitHub", "GitHub CI triage": "Triatge de GitHub CI", + "GitHub intake": "Ingesta de GitHub", "GitHub MCP": "GitHub MCP", "GitHub not connected (GITHUB_TOKEN or GH_TOKEN)": "GitHub not connected (GITHUB_TOKEN or GH_TOKEN)", "GitHub unavailable; retry later": "GitHub unavailable; retry later", @@ -12537,6 +12556,7 @@ "Policy details": "Detalls de la política", "Policy narrows authority": "La política redueix l'autoritat", "policy overlays": "superposicions de polítiques", + "Policy paused": "Política aturada", "Policy review": "Revisió de polítiques", "Policy snapshot artifact": "Artefacte de la instantània de la política", "Poll once": "Enquesta una vegada", @@ -12732,6 +12752,7 @@ "Provider state": "Estat del proveïdor", "Provider templates": "Plantilles de proveïdors", "Provider type": "Tipus de proveïdor", + "Provider unavailable": "Proveïdor no disponible", "Provider version": "Versió del proveïdor", "Provider warmup": "Escalfament del proveïdor", "Provider was automatically rechecked after daemon restart.": "El proveïdor es va tornar a comprovar automàticament després de reiniciar el dimoni.", @@ -13117,6 +13138,8 @@ "Required for assigned teammates": "Necessari per als companys assignats", "Required input": "Entrada necessària", "Required input: {value}": "Entrada necessària: {value}", + "Required label": "Etiqueta obligatòria", + "Required label missing": "Falta l'etiqueta obligatòria", "Required permissions": "Permisos necessaris", "Required skill information is missing.": "Falta la informació d'habilitat requerida.", "Required statuses": "Required statuses", @@ -14126,6 +14149,7 @@ "Start an active Computer Use task first.": "Inicieu primer una tasca activa Computer Use.", "Start autoplan": "Inicieu el pla automàtic", "Start background": "Inici de fons", + "Start budget reached": "S'ha assolit el pressupost inicial", "Start by choosing a template or creating one manually.": "Comenceu per triar una plantilla o crear-ne una manualment.", "Start child branch": "Inicia la branca infantil", "Start from a default role or blank teammate.": "Comenceu des d'un rol predeterminat o un company d'equip en blanc.", @@ -14231,7 +14255,9 @@ "succeeded": "va tenir èxit", "Succeeded": "Encertat", "Successfully generated {count} artifact based on the provided prompt.": "S'ha generat correctament l'artefacte {count} basat en la sol·licitud proporcionada.", + "Suggest": "Suggereix", "Suggest responsible owners based on context, decisions, and recent work.": "Suggereix propietaris responsables en funció del context, les decisions i el treball recent.", + "Suggested": "Suggerit", "Suggested next step": "El següent pas suggerit", "Suggested routing": "Encaminament suggerit", "Summaries": "Resums", @@ -14940,6 +14966,7 @@ "Untracked": "Sense rastrejar", "unverified": "sense verificar", "Unverified": "Sense verificar", + "Up to {concurrent} active and {starts} starts per {minutes} min": "Fins a {concurrent} actius i {starts} inicia per {minutes} min", "Up to date": "Actualitzat", "Update": "Actualització", "Update available": "Actualització disponible", @@ -15267,6 +15294,7 @@ "Work intake, tool servers, and plugin bundles": "Admissió de treball, servidors d'eines i paquets de connectors", "Work is claimed": "Es reclama feina", "Work item ID": "Element de treball ID", + "Work item paused": "Element de treball en pausa", "Work items": "Elements de treball", "Work marked failed": "El treball marcat com fallit", "Work result": "Resultat del treball", diff --git a/packages/localization/catalogs/cs-CZ.json b/packages/localization/catalogs/cs-CZ.json index 67d2aa4c6..e36efb486 100644 --- a/packages/localization/catalogs/cs-CZ.json +++ b/packages/localization/catalogs/cs-CZ.json @@ -1,6 +1,6 @@ { "locale": "cs-CZ", - "sourceRevision": "214db76d79f1a5c0fd915c110a2ead6dbb978b58398846e982a0c1ff0cb53108", + "sourceRevision": "6468d2af71d2feb60f9b8c5f37bc2a3ff1177fb2c8b0d65e85002de6b1095cbb", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -568,6 +568,7 @@ "Allows": "8b1d52d202522d89fe65fb00e505abab46dc200a88c0be5d468a2a7e6dce9ccf", "Allows commands starting with {command}": "f5c5d446a6850880ae79768c175bacaf2bc487f715d5768d0b225eb643e3ce07", "Already imported": "e47fafe0a1c6f8d6b5c641c5d9cc7ca61e66a1c50bbc3b619c8ff5912444bfa8", + "Already in work": "ae40a6ff362406d9f1fdc40ad79cea7bd1705e6e173b2267f2a310777aedb387", "Also allow private memory and private chat queries remotely": "0b6b2ba6882b67c8b5b79f0f07964588232be1a9e520011e19bbea224c59a913", "Alternatives": "41055f72edad1559b8ba43440cd7938eb73685930c7141fede9b95000fd41299", "Alternatives considered": "73534cb410e6191096c7fa7ca56ba066f90b4fdede8677d64bc98068804afa3c", @@ -828,6 +829,7 @@ "Auto-start by default": "403861dc8396a3ea666e143d33e0429d3c26721771abf3face351259eee9b28f", "Auto-start step": "2bf61e4807ad3bf6ebc934bf54e917d5b3a87295001826be3a7dd57c7e75cc8d", "Automatic": "d461a493a3753877c9486cffa3444265a33370af8a7fff242fb119b71750839c", + "Automatic intake": "6eed82b223c717114773803e9d9d90d6d3cde9579bf264647347e559817a5081", "Automatic learning is off": "8ba1b4a02530490260a7b8e748e0809ddc3885213a009f3896264bc665060bdd", "Automatic parallel execution": "63d058c173c4a148a14094327c26d9af2c5bde1779c91dbf0d913e90b0687be9", "Automatic proposals enabled": "db670932d259eeedd26de8d7ca836594d5f3861ff24e1f94170c7333676c157a", @@ -1256,6 +1258,7 @@ "Check failed": "c8813c1128d545bfe7e7458ae24d724447097b3518643f86fa3e532f88e9fb40", "Check for changes": "5da755d1690f58c1c822a4b85422734bacc2122c7c67f4e8617f0765ac835113", "Check for updates": "f26f3275e735bdf6268532ca7cbea3887c9adad21d8df74e84b2bc7791475c0d", + "Check GitHub inbox": "51cd97da0bc2b213621668f69168386eaee18bdae064041094187404c9fc71ee", "Check member status": "ff155af014d0b6e94cbf2fca3b01cf8d5725732f178eee985083478adb4a62f5", "Check member status to load readiness.": "6f7f338e22e626b134643fbaec898cf8e8efd19b85eeb6193b4ca0d5d63c4528", "Check needed": "561a32f0c83e5a4fe8d77d891bd4b954d514ea021b4a18e68a3607f5d8747841", @@ -1563,6 +1566,7 @@ "Concise": "8340d833ab72d3321b07af0184597743b010e142b39593cebb450d4227e62f0c", "Concise, focused, direct.": "e9cb028d2d79111476e9c8ea1562b7f6275fd39d43abf410338d7c0ae2fff5a5", "conclusion {conclusion}": "dc328d7e11ecbdc61fa90fc18e3ced70b794ca55dcc476d03c88eff72f16274d", + "Concurrent work limit reached": "f60d0f2d4a9ba0c57c7e7835bd52a1912f39581799f2babb636d190317a96b54", "Confidence": "6422e3e78f5e5f5a15e92cc57ed7114adb289339251031ccb526d9249437dc82", "Configuration": "b332c3492d5eb10a118eb6d8b0dcd689bc2477ce2ae16b303753b942b54377bc", "Configuration digest": "5bbf2d321122a5a57d36c77291d232d51f9ae9a1655e80f042727754aea15bfe", @@ -2939,6 +2943,7 @@ "github": "c0b0109d9439de57fe3cf03abeccbc52f4c98170c732d3b69af5e6395ace574e", "GitHub": "f911e414cf6bdfc595532ab166b5ba0f63d73c021452fcdacbda363dda6ad8fb", "GitHub CI triage": "6a2368ce3943b296b07b5241227baf2a863d3f50f8a46ddb0889cbb5045ccd84", + "GitHub intake": "064829c63fcbc74d45753e04f583c69a391d25d4ed334de3b69fa2720f733cb1", "GitHub MCP": "408b061889ef672152b51ce8dbd56216d1b7e97303429b59538b99fe663c6f04", "GitHub not connected (GITHUB_TOKEN or GH_TOKEN)": "1cb239b6b5ea26422b411a25d3a4e254cdf45b7e730eb91b976a36f12adeb21b", "GitHub unavailable; retry later": "33b2cec76eccd24c4d8d61c265de8b06a6a20820ab1fccdcb433a22903909d02", @@ -4818,6 +4823,7 @@ "Policy details": "00e33950cacf32a39cc25f71ccb1650c4c788c12816e07681d80f0fdc537be98", "Policy narrows authority": "e9e2012e5ac96664fb03ff0f81f4f49cb5b8ee069149139352e7c89b73e43baa", "policy overlays": "db26199cf2a47a948b45caf37b4d50ede3ef415fad6c940cfe56a118970fcefb", + "Policy paused": "11fc11eaf385253466e26bac9916425e1e009695cd40adc4c7a132366d187518", "Policy review": "1cf67fef927c77770a1fcd8b20982b24b15cc0b6f1e8b56265d87baff019dd7e", "Policy snapshot artifact": "7f8b2985d498316ac01fa5f2276d2556cab712b4c8bc2b93e16dfc1353e23a77", "Poll once": "c7e7d724ff87555fb857467569ce709d958ee2d5d1ab2cc890554c7605e86e78", @@ -5013,6 +5019,7 @@ "Provider state": "633d1ca46603e61fc3d39459c1414102a27bbc4ba0adfb0b22ba5a205c2b9815", "Provider templates": "1e8649b7c667a6afc6dc88cbdb3069e349e850466cf3efa57eeedab9b70486f7", "Provider type": "8c0f6d3ebfe7ba3a0c0006068a9aa664d09244ba3cd438f2d56fab117bee1347", + "Provider unavailable": "ff2113958589f9bfb87b54f959be825d00ec5eca374d907bb343f98ebdbc84c3", "Provider version": "1f5ecefbd682ced2f438c8ae3c8849ba9effbe6cd77c19051cee2d2036ef9c90", "Provider warmup": "36ae143804c9a909bce770f54be5652b69b99ee7838cca99daa31e23d4d6d63c", "Provider was automatically rechecked after daemon restart.": "7bd8e8ee592f30e81adca8c96b079d6526846dc142bd99e5bbba3d9bebbde7a9", @@ -5398,6 +5405,8 @@ "Required for assigned teammates": "4732aa544a8d93b886e6bcbbcc5c3314af692f8a8a812efd4844cd3589b7b63a", "Required input": "fafaaf99b5a6af521026448890a9dacaf4d47053804a34be7cdf364e13637181", "Required input: {value}": "757166b8bf43ee39819f00d86fa61a84ddb3f3eba2a883c6bb996b8f82101d22", + "Required label": "5f623a5ad31f874a782d2205c9318ce524371a35d782b9a7021eab521c2fbbcd", + "Required label missing": "6913716764f8018414060c041e41a2951f5444efe5e97cd30a557be26403d1b1", "Required permissions": "edaffed36060c21e958b3fe562b7c57f51f67ba46326b1a9a5317a47b20e1747", "Required skill information is missing.": "e5cb742af5e92afab21f42c3edd4f5940db52a1c5320a9dd7236eca89a702789", "Required statuses": "c77453db9c939c7c7b8da080b0053847604126aefacf5a900d1d0fe30e4ba5ee", @@ -6407,6 +6416,7 @@ "Start an active Computer Use task first.": "1242a212935f863b51a7f3e8d16f12af408152d8047b274c5fef9fb7f1435f50", "Start autoplan": "7419a8efae15550dc21cccc23ca0a16c446e884842bfe48056af34a921175cb0", "Start background": "c690dc635cd0437e8911748d795084e5d32d0b75811490076285d41032d7300c", + "Start budget reached": "6b915cfb021a78ae6f8b4c1f2d9f40bbadcc486c04cbb00a807d52bfe78102ca", "Start by choosing a template or creating one manually.": "6a3ba02535ac7a0ab934b569a915927936dede63b4277ea4500e77c8835d4666", "Start child branch": "ee7b6caa5b4a1d3e8fd3ce47a26b42a4f2472834dfa17b2efc1864d0ed710948", "Start from a default role or blank teammate.": "1464ae64fd1ee987e353f53a2f9bab20053b2f0ae320c07839b7eecf710b8a96", @@ -6512,7 +6522,9 @@ "succeeded": "5dceaeceb6d8a49d3665594710ace68dfbc1800e2d663d7febb302b4dbee3d27", "Succeeded": "6d9a6f97a5fdaf3b90a0cf02e0b43d8b7ec1d05c0e4718e02ddd1c5b450e5b39", "Successfully generated {count} artifact based on the provided prompt.": "71f85e7639c004421f062f2dd6a129e5173931798f5d33b6f0482038b38a88fc", + "Suggest": "4effad823b048b0440dbeff42665f60a6ddec8e121c378966ed7c074a512c51f", "Suggest responsible owners based on context, decisions, and recent work.": "484eb4e21bcdd76a531a4234403ea29f0626094f9a2915b674f17e0b949be0a3", + "Suggested": "93b63bab4c3a28d73a8bb83bcdfdcc5f6ddecfc8fc702296ca159d94c5dc6e53", "Suggested next step": "78d74fd4ffec8d83a942e1274cfd15426b2b4bb2d96b15f905277638c339869e", "Suggested routing": "442b15c099c136738e26e139912a5f5d21e90216aade875a8db595b09c81fcbe", "Summaries": "87bc590e047d3df4a8e448ac83e371fad69dd73607752cccb0ff7d34263cef8f", @@ -7221,6 +7233,7 @@ "Untracked": "c7ba5477e19cf0bb25460d840cc2e67341e81e1c2d274d00b3054c73898d4d27", "unverified": "97b7e2db799e2b79e65f418b42a7d3054c95b2d3ab1dba243039597e44a38084", "Unverified": "33c8e8de41c3a35124251370e2a36e4d589f8789d80630abbbeceb933d3fb58f", + "Up to {concurrent} active and {starts} starts per {minutes} min": "cca43c28ef670fd5d55cb3bd813a2fef137043e4028096bcd2cdf22e2a06586b", "Up to date": "ce29b7f85b9eaf7dac52e625accb4b0cb56a856ebe9a9de9a09b613b6d978dca", "Update": "c1c1009d3f37ec058070a62e22caf9ac9dae2169d452487c5c271a8bcf57a291", "Update available": "ff8b555d818f0b25bbdd1bec8b479660bac7fc276acbe993e759bf67fed32c34", @@ -7548,6 +7561,7 @@ "Work intake, tool servers, and plugin bundles": "16b65a84c6fca2014b7e2d28b151bbf0afe19345230a0ac37304802311fed850", "Work is claimed": "c4b0d953436f2f59355d6540bae28e055ff49243f612887bbaed7bfd98c85d4d", "Work item ID": "1dcdad81d13850bd962965719f362fa7f32693b7b54fd8bb25d1e2402a470626", + "Work item paused": "299aabbf3c1418a3f01117e072d3bfe418e174bd1f355d1afdfae23c7b4bf678", "Work items": "5759a416f2b3b4ff92da23b8059419e06c39d27180b91a557f7cae779df3d2b6", "Work marked failed": "f26306888ed8c9a3808b8a420428f63e32d4c2223e7c9c89dd0a049806c539c6", "Work result": "19efe7487084061e9e358495b8a9bfd7e9d7c0035010e08ac35c14ba4ff8ca2a", @@ -8287,6 +8301,7 @@ "Allows": "Umožňuje", "Allows commands starting with {command}": "Umožňuje příkazy začínající na {command}", "Already imported": "Již importováno", + "Already in work": "Už v práci", "Also allow private memory and private chat queries remotely": "Povolte také soukromou paměť a dotazy na soukromý chat na dálku", "Alternatives": "Alternativy", "Alternatives considered": "Zvažovány alternativy", @@ -8547,6 +8562,7 @@ "Auto-start by default": "Auto-start by default", "Auto-start step": "Auto-start step", "Automatic": "Automatický", + "Automatic intake": "Automatický příjem", "Automatic learning is off": "Automatické učení je vypnuté", "Automatic parallel execution": "Automatic parallel execution", "Automatic proposals enabled": "Automatické návrhy povoleny", @@ -8975,6 +8991,7 @@ "Check failed": "Kontrola se nezdařila", "Check for changes": "Zkontrolujte změny", "Check for updates": "Zkontrolujte aktualizace", + "Check GitHub inbox": "Zkontrolujte doručenou poštu GitHubu", "Check member status": "Zkontrolujte stav člena", "Check member status to load readiness.": "Chcete-li načíst připravenost, zkontrolujte stav člena.", "Check needed": "Kontrola nutná", @@ -9282,6 +9299,7 @@ "Concise": "Stručný", "Concise, focused, direct.": "Stručné, soustředěné, přímé.", "conclusion {conclusion}": "závěr {conclusion}", + "Concurrent work limit reached": "Byl dosažen limit souběžných prací", "Confidence": "Důvěra", "Configuration": "Konfigurace", "Configuration digest": "Přehled konfigurace", @@ -10658,6 +10676,7 @@ "github": "github", "GitHub": "GitHub", "GitHub CI triage": "Třídění GitHub CI", + "GitHub intake": "Příjem GitHubu", "GitHub MCP": "GitHub MCP", "GitHub not connected (GITHUB_TOKEN or GH_TOKEN)": "GitHub not connected (GITHUB_TOKEN or GH_TOKEN)", "GitHub unavailable; retry later": "GitHub unavailable; retry later", @@ -12537,6 +12556,7 @@ "Policy details": "Podrobnosti o zásadách", "Policy narrows authority": "Politika zužuje autoritu", "policy overlays": "překryvné vrstvy zásad", + "Policy paused": "Zásady pozastaveny", "Policy review": "Kontrola zásad", "Policy snapshot artifact": "Artefakt snímku zásad", "Poll once": "Anketa jednou", @@ -12732,6 +12752,7 @@ "Provider state": "Stav poskytovatele", "Provider templates": "Šablony poskytovatelů", "Provider type": "Typ poskytovatele", + "Provider unavailable": "Poskytovatel nedostupný", "Provider version": "Verze poskytovatele", "Provider warmup": "Zahřívání poskytovatele", "Provider was automatically rechecked after daemon restart.": "Poskytovatel byl automaticky znovu zkontrolován po restartu démona.", @@ -13117,6 +13138,8 @@ "Required for assigned teammates": "Povinné pro přidělené spoluhráče", "Required input": "Požadovaný vstup", "Required input: {value}": "Požadovaný vstup: {value}", + "Required label": "Požadovaný štítek", + "Required label missing": "Chybí požadovaný štítek", "Required permissions": "Požadovaná oprávnění", "Required skill information is missing.": "Chybí informace o požadovaných dovednostech.", "Required statuses": "Required statuses", @@ -14126,6 +14149,7 @@ "Start an active Computer Use task first.": "Nejprve spusťte aktivní úkol Computer Use.", "Start autoplan": "Spusťte autoplán", "Start background": "Spustit pozadí", + "Start budget reached": "Počáteční rozpočet dosažen", "Start by choosing a template or creating one manually.": "Začněte výběrem šablony nebo ji vytvořte ručně.", "Start child branch": "Spusťte podřízenou větev", "Start from a default role or blank teammate.": "Začněte z výchozí role nebo prázdného spoluhráče.", @@ -14231,7 +14255,9 @@ "succeeded": "podařilo", "Succeeded": "Povedlo se", "Successfully generated {count} artifact based on the provided prompt.": "Úspěšně vygenerován artefakt {count} na základě poskytnuté výzvy.", + "Suggest": "Navrhněte", "Suggest responsible owners based on context, decisions, and recent work.": "Navrhněte odpovědné vlastníky na základě kontextu, rozhodnutí a nedávné práce.", + "Suggested": "Doporučeno", "Suggested next step": "Doporučený další krok", "Suggested routing": "Navrhované směrování", "Summaries": "Souhrny", @@ -14940,6 +14966,7 @@ "Untracked": "Nesledováno", "unverified": "neověřeno", "Unverified": "Neověřeno", + "Up to {concurrent} active and {starts} starts per {minutes} min": "Až {concurrent} aktivních a {starts} spuštění za {minutes} min", "Up to date": "Aktuální", "Update": "Aktualizovat", "Update available": "Aktualizace k dispozici", @@ -15267,6 +15294,7 @@ "Work intake, tool servers, and plugin bundles": "Příjem práce, servery nástrojů a balíčky pluginů", "Work is claimed": "Práce je nárokována", "Work item ID": "Pracovní položka ID", + "Work item paused": "Pracovní položka pozastavena", "Work items": "Pracovní předměty", "Work marked failed": "Práce označená jako neúspěšná", "Work result": "Výsledek práce", diff --git a/packages/localization/catalogs/da-DK.json b/packages/localization/catalogs/da-DK.json index df8c11aa8..dc1498356 100644 --- a/packages/localization/catalogs/da-DK.json +++ b/packages/localization/catalogs/da-DK.json @@ -1,6 +1,6 @@ { "locale": "da-DK", - "sourceRevision": "214db76d79f1a5c0fd915c110a2ead6dbb978b58398846e982a0c1ff0cb53108", + "sourceRevision": "6468d2af71d2feb60f9b8c5f37bc2a3ff1177fb2c8b0d65e85002de6b1095cbb", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -568,6 +568,7 @@ "Allows": "8b1d52d202522d89fe65fb00e505abab46dc200a88c0be5d468a2a7e6dce9ccf", "Allows commands starting with {command}": "f5c5d446a6850880ae79768c175bacaf2bc487f715d5768d0b225eb643e3ce07", "Already imported": "e47fafe0a1c6f8d6b5c641c5d9cc7ca61e66a1c50bbc3b619c8ff5912444bfa8", + "Already in work": "ae40a6ff362406d9f1fdc40ad79cea7bd1705e6e173b2267f2a310777aedb387", "Also allow private memory and private chat queries remotely": "0b6b2ba6882b67c8b5b79f0f07964588232be1a9e520011e19bbea224c59a913", "Alternatives": "41055f72edad1559b8ba43440cd7938eb73685930c7141fede9b95000fd41299", "Alternatives considered": "73534cb410e6191096c7fa7ca56ba066f90b4fdede8677d64bc98068804afa3c", @@ -828,6 +829,7 @@ "Auto-start by default": "403861dc8396a3ea666e143d33e0429d3c26721771abf3face351259eee9b28f", "Auto-start step": "2bf61e4807ad3bf6ebc934bf54e917d5b3a87295001826be3a7dd57c7e75cc8d", "Automatic": "d461a493a3753877c9486cffa3444265a33370af8a7fff242fb119b71750839c", + "Automatic intake": "6eed82b223c717114773803e9d9d90d6d3cde9579bf264647347e559817a5081", "Automatic learning is off": "8ba1b4a02530490260a7b8e748e0809ddc3885213a009f3896264bc665060bdd", "Automatic parallel execution": "63d058c173c4a148a14094327c26d9af2c5bde1779c91dbf0d913e90b0687be9", "Automatic proposals enabled": "db670932d259eeedd26de8d7ca836594d5f3861ff24e1f94170c7333676c157a", @@ -1256,6 +1258,7 @@ "Check failed": "c8813c1128d545bfe7e7458ae24d724447097b3518643f86fa3e532f88e9fb40", "Check for changes": "5da755d1690f58c1c822a4b85422734bacc2122c7c67f4e8617f0765ac835113", "Check for updates": "f26f3275e735bdf6268532ca7cbea3887c9adad21d8df74e84b2bc7791475c0d", + "Check GitHub inbox": "51cd97da0bc2b213621668f69168386eaee18bdae064041094187404c9fc71ee", "Check member status": "ff155af014d0b6e94cbf2fca3b01cf8d5725732f178eee985083478adb4a62f5", "Check member status to load readiness.": "6f7f338e22e626b134643fbaec898cf8e8efd19b85eeb6193b4ca0d5d63c4528", "Check needed": "561a32f0c83e5a4fe8d77d891bd4b954d514ea021b4a18e68a3607f5d8747841", @@ -1563,6 +1566,7 @@ "Concise": "8340d833ab72d3321b07af0184597743b010e142b39593cebb450d4227e62f0c", "Concise, focused, direct.": "e9cb028d2d79111476e9c8ea1562b7f6275fd39d43abf410338d7c0ae2fff5a5", "conclusion {conclusion}": "dc328d7e11ecbdc61fa90fc18e3ced70b794ca55dcc476d03c88eff72f16274d", + "Concurrent work limit reached": "f60d0f2d4a9ba0c57c7e7835bd52a1912f39581799f2babb636d190317a96b54", "Confidence": "6422e3e78f5e5f5a15e92cc57ed7114adb289339251031ccb526d9249437dc82", "Configuration": "b332c3492d5eb10a118eb6d8b0dcd689bc2477ce2ae16b303753b942b54377bc", "Configuration digest": "5bbf2d321122a5a57d36c77291d232d51f9ae9a1655e80f042727754aea15bfe", @@ -2939,6 +2943,7 @@ "github": "c0b0109d9439de57fe3cf03abeccbc52f4c98170c732d3b69af5e6395ace574e", "GitHub": "f911e414cf6bdfc595532ab166b5ba0f63d73c021452fcdacbda363dda6ad8fb", "GitHub CI triage": "6a2368ce3943b296b07b5241227baf2a863d3f50f8a46ddb0889cbb5045ccd84", + "GitHub intake": "064829c63fcbc74d45753e04f583c69a391d25d4ed334de3b69fa2720f733cb1", "GitHub MCP": "408b061889ef672152b51ce8dbd56216d1b7e97303429b59538b99fe663c6f04", "GitHub not connected (GITHUB_TOKEN or GH_TOKEN)": "1cb239b6b5ea26422b411a25d3a4e254cdf45b7e730eb91b976a36f12adeb21b", "GitHub unavailable; retry later": "33b2cec76eccd24c4d8d61c265de8b06a6a20820ab1fccdcb433a22903909d02", @@ -4818,6 +4823,7 @@ "Policy details": "00e33950cacf32a39cc25f71ccb1650c4c788c12816e07681d80f0fdc537be98", "Policy narrows authority": "e9e2012e5ac96664fb03ff0f81f4f49cb5b8ee069149139352e7c89b73e43baa", "policy overlays": "db26199cf2a47a948b45caf37b4d50ede3ef415fad6c940cfe56a118970fcefb", + "Policy paused": "11fc11eaf385253466e26bac9916425e1e009695cd40adc4c7a132366d187518", "Policy review": "1cf67fef927c77770a1fcd8b20982b24b15cc0b6f1e8b56265d87baff019dd7e", "Policy snapshot artifact": "7f8b2985d498316ac01fa5f2276d2556cab712b4c8bc2b93e16dfc1353e23a77", "Poll once": "c7e7d724ff87555fb857467569ce709d958ee2d5d1ab2cc890554c7605e86e78", @@ -5013,6 +5019,7 @@ "Provider state": "633d1ca46603e61fc3d39459c1414102a27bbc4ba0adfb0b22ba5a205c2b9815", "Provider templates": "1e8649b7c667a6afc6dc88cbdb3069e349e850466cf3efa57eeedab9b70486f7", "Provider type": "8c0f6d3ebfe7ba3a0c0006068a9aa664d09244ba3cd438f2d56fab117bee1347", + "Provider unavailable": "ff2113958589f9bfb87b54f959be825d00ec5eca374d907bb343f98ebdbc84c3", "Provider version": "1f5ecefbd682ced2f438c8ae3c8849ba9effbe6cd77c19051cee2d2036ef9c90", "Provider warmup": "36ae143804c9a909bce770f54be5652b69b99ee7838cca99daa31e23d4d6d63c", "Provider was automatically rechecked after daemon restart.": "7bd8e8ee592f30e81adca8c96b079d6526846dc142bd99e5bbba3d9bebbde7a9", @@ -5398,6 +5405,8 @@ "Required for assigned teammates": "4732aa544a8d93b886e6bcbbcc5c3314af692f8a8a812efd4844cd3589b7b63a", "Required input": "fafaaf99b5a6af521026448890a9dacaf4d47053804a34be7cdf364e13637181", "Required input: {value}": "757166b8bf43ee39819f00d86fa61a84ddb3f3eba2a883c6bb996b8f82101d22", + "Required label": "5f623a5ad31f874a782d2205c9318ce524371a35d782b9a7021eab521c2fbbcd", + "Required label missing": "6913716764f8018414060c041e41a2951f5444efe5e97cd30a557be26403d1b1", "Required permissions": "edaffed36060c21e958b3fe562b7c57f51f67ba46326b1a9a5317a47b20e1747", "Required skill information is missing.": "e5cb742af5e92afab21f42c3edd4f5940db52a1c5320a9dd7236eca89a702789", "Required statuses": "c77453db9c939c7c7b8da080b0053847604126aefacf5a900d1d0fe30e4ba5ee", @@ -6407,6 +6416,7 @@ "Start an active Computer Use task first.": "1242a212935f863b51a7f3e8d16f12af408152d8047b274c5fef9fb7f1435f50", "Start autoplan": "7419a8efae15550dc21cccc23ca0a16c446e884842bfe48056af34a921175cb0", "Start background": "c690dc635cd0437e8911748d795084e5d32d0b75811490076285d41032d7300c", + "Start budget reached": "6b915cfb021a78ae6f8b4c1f2d9f40bbadcc486c04cbb00a807d52bfe78102ca", "Start by choosing a template or creating one manually.": "6a3ba02535ac7a0ab934b569a915927936dede63b4277ea4500e77c8835d4666", "Start child branch": "ee7b6caa5b4a1d3e8fd3ce47a26b42a4f2472834dfa17b2efc1864d0ed710948", "Start from a default role or blank teammate.": "1464ae64fd1ee987e353f53a2f9bab20053b2f0ae320c07839b7eecf710b8a96", @@ -6512,7 +6522,9 @@ "succeeded": "5dceaeceb6d8a49d3665594710ace68dfbc1800e2d663d7febb302b4dbee3d27", "Succeeded": "6d9a6f97a5fdaf3b90a0cf02e0b43d8b7ec1d05c0e4718e02ddd1c5b450e5b39", "Successfully generated {count} artifact based on the provided prompt.": "71f85e7639c004421f062f2dd6a129e5173931798f5d33b6f0482038b38a88fc", + "Suggest": "4effad823b048b0440dbeff42665f60a6ddec8e121c378966ed7c074a512c51f", "Suggest responsible owners based on context, decisions, and recent work.": "484eb4e21bcdd76a531a4234403ea29f0626094f9a2915b674f17e0b949be0a3", + "Suggested": "93b63bab4c3a28d73a8bb83bcdfdcc5f6ddecfc8fc702296ca159d94c5dc6e53", "Suggested next step": "78d74fd4ffec8d83a942e1274cfd15426b2b4bb2d96b15f905277638c339869e", "Suggested routing": "442b15c099c136738e26e139912a5f5d21e90216aade875a8db595b09c81fcbe", "Summaries": "87bc590e047d3df4a8e448ac83e371fad69dd73607752cccb0ff7d34263cef8f", @@ -7221,6 +7233,7 @@ "Untracked": "c7ba5477e19cf0bb25460d840cc2e67341e81e1c2d274d00b3054c73898d4d27", "unverified": "97b7e2db799e2b79e65f418b42a7d3054c95b2d3ab1dba243039597e44a38084", "Unverified": "33c8e8de41c3a35124251370e2a36e4d589f8789d80630abbbeceb933d3fb58f", + "Up to {concurrent} active and {starts} starts per {minutes} min": "cca43c28ef670fd5d55cb3bd813a2fef137043e4028096bcd2cdf22e2a06586b", "Up to date": "ce29b7f85b9eaf7dac52e625accb4b0cb56a856ebe9a9de9a09b613b6d978dca", "Update": "c1c1009d3f37ec058070a62e22caf9ac9dae2169d452487c5c271a8bcf57a291", "Update available": "ff8b555d818f0b25bbdd1bec8b479660bac7fc276acbe993e759bf67fed32c34", @@ -7548,6 +7561,7 @@ "Work intake, tool servers, and plugin bundles": "16b65a84c6fca2014b7e2d28b151bbf0afe19345230a0ac37304802311fed850", "Work is claimed": "c4b0d953436f2f59355d6540bae28e055ff49243f612887bbaed7bfd98c85d4d", "Work item ID": "1dcdad81d13850bd962965719f362fa7f32693b7b54fd8bb25d1e2402a470626", + "Work item paused": "299aabbf3c1418a3f01117e072d3bfe418e174bd1f355d1afdfae23c7b4bf678", "Work items": "5759a416f2b3b4ff92da23b8059419e06c39d27180b91a557f7cae779df3d2b6", "Work marked failed": "f26306888ed8c9a3808b8a420428f63e32d4c2223e7c9c89dd0a049806c539c6", "Work result": "19efe7487084061e9e358495b8a9bfd7e9d7c0035010e08ac35c14ba4ff8ca2a", @@ -8287,6 +8301,7 @@ "Allows": "Tillader", "Allows commands starting with {command}": "Tillader kommandoer, der starter med {command}", "Already imported": "Allerede importeret", + "Already in work": "Allerede i arbejde", "Also allow private memory and private chat queries remotely": "Tillad også privat hukommelse og private chatforespørgsler eksternt", "Alternatives": "Alternativer", "Alternatives considered": "Alternativer overvejet", @@ -8547,6 +8562,7 @@ "Auto-start by default": "Auto-start by default", "Auto-start step": "Auto-start step", "Automatic": "Automatisk", + "Automatic intake": "Automatisk indtag", "Automatic learning is off": "Automatisk indlæring er slået fra", "Automatic parallel execution": "Automatic parallel execution", "Automatic proposals enabled": "Automatiske forslag aktiveret", @@ -8975,6 +8991,7 @@ "Check failed": "Check mislykkedes", "Check for changes": "Tjek for ændringer", "Check for updates": "Se efter opdateringer", + "Check GitHub inbox": "Tjek GitHub-indbakken", "Check member status": "Tjek medlemsstatus", "Check member status to load readiness.": "Tjek medlemsstatus for at indlæse parathed.", "Check needed": "Tjek nødvendig", @@ -9282,6 +9299,7 @@ "Concise": "Kortfattet", "Concise, focused, direct.": "Kortfattet, fokuseret, direkte.", "conclusion {conclusion}": "konklusion {conclusion}", + "Concurrent work limit reached": "Grænsen for samtidig arbejde er nået", "Confidence": "Tillid", "Configuration": "Konfiguration", "Configuration digest": "Konfigurationsoversigt", @@ -10658,6 +10676,7 @@ "github": "github", "GitHub": "GitHub", "GitHub CI triage": "GitHub CI triage", + "GitHub intake": "GitHub-indtag", "GitHub MCP": "GitHub MCP", "GitHub not connected (GITHUB_TOKEN or GH_TOKEN)": "GitHub not connected (GITHUB_TOKEN or GH_TOKEN)", "GitHub unavailable; retry later": "GitHub unavailable; retry later", @@ -12537,6 +12556,7 @@ "Policy details": "Politik detaljer", "Policy narrows authority": "Politik indsnævrer autoritet", "policy overlays": "politiske overlejringer", + "Policy paused": "Politik sat på pause", "Policy review": "Gennemgang af politik", "Policy snapshot artifact": "Politik-øjebliksbillede-artefakt", "Poll once": "Afstemning én gang", @@ -12732,6 +12752,7 @@ "Provider state": "Udbyderstat", "Provider templates": "Udbyder skabeloner", "Provider type": "Udbyder type", + "Provider unavailable": "Udbyderen er ikke tilgængelig", "Provider version": "Udbyder version", "Provider warmup": "Udbyder opvarmning", "Provider was automatically rechecked after daemon restart.": "Udbyderen blev automatisk gentjekket efter genstart af dæmonen.", @@ -13117,6 +13138,8 @@ "Required for assigned teammates": "Påkrævet for tildelte holdkammerater", "Required input": "Påkrævet input", "Required input: {value}": "Påkrævet input: {value}", + "Required label": "Påkrævet etiket", + "Required label missing": "Påkrævet etiket mangler", "Required permissions": "Nødvendige tilladelser", "Required skill information is missing.": "Nødvendige færdighedsoplysninger mangler.", "Required statuses": "Required statuses", @@ -14126,6 +14149,7 @@ "Start an active Computer Use task first.": "Start en aktiv Computer Use opgave først.", "Start autoplan": "Start autoplan", "Start background": "Start baggrund", + "Start budget reached": "Startbudget nået", "Start by choosing a template or creating one manually.": "Start med at vælge en skabelon eller oprette en manuelt.", "Start child branch": "Start barnegren", "Start from a default role or blank teammate.": "Start fra en standardrolle eller tom holdkammerat.", @@ -14231,7 +14255,9 @@ "succeeded": "lykkedes", "Succeeded": "Det lykkedes", "Successfully generated {count} artifact based on the provided prompt.": "Succesfuldt genereret {count} artefakt baseret på den angivne prompt.", + "Suggest": "Foreslå", "Suggest responsible owners based on context, decisions, and recent work.": "Foreslå ansvarlige ejere baseret på kontekst, beslutninger og seneste arbejde.", + "Suggested": "Foreslået", "Suggested next step": "Foreslået næste skridt", "Suggested routing": "Foreslået rute", "Summaries": "Resuméer", @@ -14940,6 +14966,7 @@ "Untracked": "Usporet", "unverified": "ubekræftet", "Unverified": "Ubekræftet", + "Up to {concurrent} active and {starts} starts per {minutes} min": "Op til {concurrent} aktive og {starts} starter pr. {minutes} min", "Up to date": "Op til dato", "Update": "Opdatering", "Update available": "Opdatering tilgængelig", @@ -15267,6 +15294,7 @@ "Work intake, tool servers, and plugin bundles": "Arbejdsindtag, værktøjsservere og plugin-pakker", "Work is claimed": "Der gøres krav på arbejde", "Work item ID": "Arbejdsemne ID", + "Work item paused": "Arbejdsemne sat på pause", "Work items": "Arbejdsgenstande", "Work marked failed": "Arbejdet er markeret som mislykket", "Work result": "Arbejdsresultat", diff --git a/packages/localization/catalogs/de-DE.json b/packages/localization/catalogs/de-DE.json index ecd63e01f..d0b791667 100644 --- a/packages/localization/catalogs/de-DE.json +++ b/packages/localization/catalogs/de-DE.json @@ -1,6 +1,6 @@ { "locale": "de-DE", - "sourceRevision": "214db76d79f1a5c0fd915c110a2ead6dbb978b58398846e982a0c1ff0cb53108", + "sourceRevision": "6468d2af71d2feb60f9b8c5f37bc2a3ff1177fb2c8b0d65e85002de6b1095cbb", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -568,6 +568,7 @@ "Allows": "8b1d52d202522d89fe65fb00e505abab46dc200a88c0be5d468a2a7e6dce9ccf", "Allows commands starting with {command}": "f5c5d446a6850880ae79768c175bacaf2bc487f715d5768d0b225eb643e3ce07", "Already imported": "e47fafe0a1c6f8d6b5c641c5d9cc7ca61e66a1c50bbc3b619c8ff5912444bfa8", + "Already in work": "ae40a6ff362406d9f1fdc40ad79cea7bd1705e6e173b2267f2a310777aedb387", "Also allow private memory and private chat queries remotely": "0b6b2ba6882b67c8b5b79f0f07964588232be1a9e520011e19bbea224c59a913", "Alternatives": "41055f72edad1559b8ba43440cd7938eb73685930c7141fede9b95000fd41299", "Alternatives considered": "73534cb410e6191096c7fa7ca56ba066f90b4fdede8677d64bc98068804afa3c", @@ -828,6 +829,7 @@ "Auto-start by default": "403861dc8396a3ea666e143d33e0429d3c26721771abf3face351259eee9b28f", "Auto-start step": "2bf61e4807ad3bf6ebc934bf54e917d5b3a87295001826be3a7dd57c7e75cc8d", "Automatic": "d461a493a3753877c9486cffa3444265a33370af8a7fff242fb119b71750839c", + "Automatic intake": "6eed82b223c717114773803e9d9d90d6d3cde9579bf264647347e559817a5081", "Automatic learning is off": "8ba1b4a02530490260a7b8e748e0809ddc3885213a009f3896264bc665060bdd", "Automatic parallel execution": "63d058c173c4a148a14094327c26d9af2c5bde1779c91dbf0d913e90b0687be9", "Automatic proposals enabled": "db670932d259eeedd26de8d7ca836594d5f3861ff24e1f94170c7333676c157a", @@ -1256,6 +1258,7 @@ "Check failed": "c8813c1128d545bfe7e7458ae24d724447097b3518643f86fa3e532f88e9fb40", "Check for changes": "5da755d1690f58c1c822a4b85422734bacc2122c7c67f4e8617f0765ac835113", "Check for updates": "f26f3275e735bdf6268532ca7cbea3887c9adad21d8df74e84b2bc7791475c0d", + "Check GitHub inbox": "51cd97da0bc2b213621668f69168386eaee18bdae064041094187404c9fc71ee", "Check member status": "ff155af014d0b6e94cbf2fca3b01cf8d5725732f178eee985083478adb4a62f5", "Check member status to load readiness.": "6f7f338e22e626b134643fbaec898cf8e8efd19b85eeb6193b4ca0d5d63c4528", "Check needed": "561a32f0c83e5a4fe8d77d891bd4b954d514ea021b4a18e68a3607f5d8747841", @@ -1563,6 +1566,7 @@ "Concise": "8340d833ab72d3321b07af0184597743b010e142b39593cebb450d4227e62f0c", "Concise, focused, direct.": "e9cb028d2d79111476e9c8ea1562b7f6275fd39d43abf410338d7c0ae2fff5a5", "conclusion {conclusion}": "dc328d7e11ecbdc61fa90fc18e3ced70b794ca55dcc476d03c88eff72f16274d", + "Concurrent work limit reached": "f60d0f2d4a9ba0c57c7e7835bd52a1912f39581799f2babb636d190317a96b54", "Confidence": "6422e3e78f5e5f5a15e92cc57ed7114adb289339251031ccb526d9249437dc82", "Configuration": "b332c3492d5eb10a118eb6d8b0dcd689bc2477ce2ae16b303753b942b54377bc", "Configuration digest": "5bbf2d321122a5a57d36c77291d232d51f9ae9a1655e80f042727754aea15bfe", @@ -2939,6 +2943,7 @@ "github": "c0b0109d9439de57fe3cf03abeccbc52f4c98170c732d3b69af5e6395ace574e", "GitHub": "f911e414cf6bdfc595532ab166b5ba0f63d73c021452fcdacbda363dda6ad8fb", "GitHub CI triage": "6a2368ce3943b296b07b5241227baf2a863d3f50f8a46ddb0889cbb5045ccd84", + "GitHub intake": "064829c63fcbc74d45753e04f583c69a391d25d4ed334de3b69fa2720f733cb1", "GitHub MCP": "408b061889ef672152b51ce8dbd56216d1b7e97303429b59538b99fe663c6f04", "GitHub not connected (GITHUB_TOKEN or GH_TOKEN)": "1cb239b6b5ea26422b411a25d3a4e254cdf45b7e730eb91b976a36f12adeb21b", "GitHub unavailable; retry later": "33b2cec76eccd24c4d8d61c265de8b06a6a20820ab1fccdcb433a22903909d02", @@ -4818,6 +4823,7 @@ "Policy details": "00e33950cacf32a39cc25f71ccb1650c4c788c12816e07681d80f0fdc537be98", "Policy narrows authority": "e9e2012e5ac96664fb03ff0f81f4f49cb5b8ee069149139352e7c89b73e43baa", "policy overlays": "db26199cf2a47a948b45caf37b4d50ede3ef415fad6c940cfe56a118970fcefb", + "Policy paused": "11fc11eaf385253466e26bac9916425e1e009695cd40adc4c7a132366d187518", "Policy review": "1cf67fef927c77770a1fcd8b20982b24b15cc0b6f1e8b56265d87baff019dd7e", "Policy snapshot artifact": "7f8b2985d498316ac01fa5f2276d2556cab712b4c8bc2b93e16dfc1353e23a77", "Poll once": "c7e7d724ff87555fb857467569ce709d958ee2d5d1ab2cc890554c7605e86e78", @@ -5013,6 +5019,7 @@ "Provider state": "633d1ca46603e61fc3d39459c1414102a27bbc4ba0adfb0b22ba5a205c2b9815", "Provider templates": "1e8649b7c667a6afc6dc88cbdb3069e349e850466cf3efa57eeedab9b70486f7", "Provider type": "8c0f6d3ebfe7ba3a0c0006068a9aa664d09244ba3cd438f2d56fab117bee1347", + "Provider unavailable": "ff2113958589f9bfb87b54f959be825d00ec5eca374d907bb343f98ebdbc84c3", "Provider version": "1f5ecefbd682ced2f438c8ae3c8849ba9effbe6cd77c19051cee2d2036ef9c90", "Provider warmup": "36ae143804c9a909bce770f54be5652b69b99ee7838cca99daa31e23d4d6d63c", "Provider was automatically rechecked after daemon restart.": "7bd8e8ee592f30e81adca8c96b079d6526846dc142bd99e5bbba3d9bebbde7a9", @@ -5398,6 +5405,8 @@ "Required for assigned teammates": "4732aa544a8d93b886e6bcbbcc5c3314af692f8a8a812efd4844cd3589b7b63a", "Required input": "fafaaf99b5a6af521026448890a9dacaf4d47053804a34be7cdf364e13637181", "Required input: {value}": "757166b8bf43ee39819f00d86fa61a84ddb3f3eba2a883c6bb996b8f82101d22", + "Required label": "5f623a5ad31f874a782d2205c9318ce524371a35d782b9a7021eab521c2fbbcd", + "Required label missing": "6913716764f8018414060c041e41a2951f5444efe5e97cd30a557be26403d1b1", "Required permissions": "edaffed36060c21e958b3fe562b7c57f51f67ba46326b1a9a5317a47b20e1747", "Required skill information is missing.": "e5cb742af5e92afab21f42c3edd4f5940db52a1c5320a9dd7236eca89a702789", "Required statuses": "c77453db9c939c7c7b8da080b0053847604126aefacf5a900d1d0fe30e4ba5ee", @@ -6407,6 +6416,7 @@ "Start an active Computer Use task first.": "1242a212935f863b51a7f3e8d16f12af408152d8047b274c5fef9fb7f1435f50", "Start autoplan": "7419a8efae15550dc21cccc23ca0a16c446e884842bfe48056af34a921175cb0", "Start background": "c690dc635cd0437e8911748d795084e5d32d0b75811490076285d41032d7300c", + "Start budget reached": "6b915cfb021a78ae6f8b4c1f2d9f40bbadcc486c04cbb00a807d52bfe78102ca", "Start by choosing a template or creating one manually.": "6a3ba02535ac7a0ab934b569a915927936dede63b4277ea4500e77c8835d4666", "Start child branch": "ee7b6caa5b4a1d3e8fd3ce47a26b42a4f2472834dfa17b2efc1864d0ed710948", "Start from a default role or blank teammate.": "1464ae64fd1ee987e353f53a2f9bab20053b2f0ae320c07839b7eecf710b8a96", @@ -6512,7 +6522,9 @@ "succeeded": "5dceaeceb6d8a49d3665594710ace68dfbc1800e2d663d7febb302b4dbee3d27", "Succeeded": "6d9a6f97a5fdaf3b90a0cf02e0b43d8b7ec1d05c0e4718e02ddd1c5b450e5b39", "Successfully generated {count} artifact based on the provided prompt.": "71f85e7639c004421f062f2dd6a129e5173931798f5d33b6f0482038b38a88fc", + "Suggest": "4effad823b048b0440dbeff42665f60a6ddec8e121c378966ed7c074a512c51f", "Suggest responsible owners based on context, decisions, and recent work.": "484eb4e21bcdd76a531a4234403ea29f0626094f9a2915b674f17e0b949be0a3", + "Suggested": "93b63bab4c3a28d73a8bb83bcdfdcc5f6ddecfc8fc702296ca159d94c5dc6e53", "Suggested next step": "78d74fd4ffec8d83a942e1274cfd15426b2b4bb2d96b15f905277638c339869e", "Suggested routing": "442b15c099c136738e26e139912a5f5d21e90216aade875a8db595b09c81fcbe", "Summaries": "87bc590e047d3df4a8e448ac83e371fad69dd73607752cccb0ff7d34263cef8f", @@ -7221,6 +7233,7 @@ "Untracked": "c7ba5477e19cf0bb25460d840cc2e67341e81e1c2d274d00b3054c73898d4d27", "unverified": "97b7e2db799e2b79e65f418b42a7d3054c95b2d3ab1dba243039597e44a38084", "Unverified": "33c8e8de41c3a35124251370e2a36e4d589f8789d80630abbbeceb933d3fb58f", + "Up to {concurrent} active and {starts} starts per {minutes} min": "cca43c28ef670fd5d55cb3bd813a2fef137043e4028096bcd2cdf22e2a06586b", "Up to date": "ce29b7f85b9eaf7dac52e625accb4b0cb56a856ebe9a9de9a09b613b6d978dca", "Update": "c1c1009d3f37ec058070a62e22caf9ac9dae2169d452487c5c271a8bcf57a291", "Update available": "ff8b555d818f0b25bbdd1bec8b479660bac7fc276acbe993e759bf67fed32c34", @@ -7548,6 +7561,7 @@ "Work intake, tool servers, and plugin bundles": "16b65a84c6fca2014b7e2d28b151bbf0afe19345230a0ac37304802311fed850", "Work is claimed": "c4b0d953436f2f59355d6540bae28e055ff49243f612887bbaed7bfd98c85d4d", "Work item ID": "1dcdad81d13850bd962965719f362fa7f32693b7b54fd8bb25d1e2402a470626", + "Work item paused": "299aabbf3c1418a3f01117e072d3bfe418e174bd1f355d1afdfae23c7b4bf678", "Work items": "5759a416f2b3b4ff92da23b8059419e06c39d27180b91a557f7cae779df3d2b6", "Work marked failed": "f26306888ed8c9a3808b8a420428f63e32d4c2223e7c9c89dd0a049806c539c6", "Work result": "19efe7487084061e9e358495b8a9bfd7e9d7c0035010e08ac35c14ba4ff8ca2a", @@ -8287,6 +8301,7 @@ "Allows": "Ermöglicht", "Allows commands starting with {command}": "Ermöglicht Befehle, die mit {command} beginnen", "Already imported": "Bereits importiert", + "Already in work": "Bereits in Arbeit", "Also allow private memory and private chat queries remotely": "Erlauben Sie auch privaten Speicher und private Chat-Anfragen aus der Ferne", "Alternatives": "Alternativen", "Alternatives considered": "Alternativen berücksichtigt", @@ -8547,6 +8562,7 @@ "Auto-start by default": "Auto-start by default", "Auto-start step": "Auto-start step", "Automatic": "Automatisch", + "Automatic intake": "Automatische Aufnahme", "Automatic learning is off": "Das automatische Lernen ist deaktiviert", "Automatic parallel execution": "Automatic parallel execution", "Automatic proposals enabled": "Automatische Vorschläge aktiviert", @@ -8975,6 +8991,7 @@ "Check failed": "Prüfung fehlgeschlagen", "Check for changes": "Auf Änderungen prüfen", "Check for updates": "Suchen Sie nach Updates", + "Check GitHub inbox": "Überprüfen Sie den GitHub-Posteingang", "Check member status": "Überprüfen Sie den Mitgliedsstatus", "Check member status to load readiness.": "Überprüfen Sie den Mitgliedsstatus, um die Ladebereitschaft zu ermitteln.", "Check needed": "Scheck erforderlich", @@ -9282,6 +9299,7 @@ "Concise": "Prägnant", "Concise, focused, direct.": "Prägnant, fokussiert, direkt.", "conclusion {conclusion}": "Fazit {conclusion}", + "Concurrent work limit reached": "Gleichzeitiges Arbeitslimit erreicht", "Confidence": "Vertrauen", "Configuration": "Konfiguration", "Configuration digest": "Konfigurationsübersicht", @@ -10658,6 +10676,7 @@ "github": "Github", "GitHub": "GitHub", "GitHub CI triage": "GitHub CI-Triage", + "GitHub intake": "GitHub-Aufnahme", "GitHub MCP": "GitHub MCP", "GitHub not connected (GITHUB_TOKEN or GH_TOKEN)": "GitHub not connected (GITHUB_TOKEN or GH_TOKEN)", "GitHub unavailable; retry later": "GitHub unavailable; retry later", @@ -12537,6 +12556,7 @@ "Policy details": "Richtliniendetails", "Policy narrows authority": "Die Politik schränkt die Autorität ein", "policy overlays": "Richtlinienüberlagerungen", + "Policy paused": "Richtlinie pausiert", "Policy review": "Richtlinienüberprüfung", "Policy snapshot artifact": "Richtlinien-Snapshot-Artefakt", "Poll once": "Einmal abstimmen", @@ -12732,6 +12752,7 @@ "Provider state": "Anbieterstatus", "Provider templates": "Anbietervorlagen", "Provider type": "Anbietertyp", + "Provider unavailable": "Anbieter nicht verfügbar", "Provider version": "Anbieterversion", "Provider warmup": "Aufwärmen des Anbieters", "Provider was automatically rechecked after daemon restart.": "Der Anbieter wurde nach dem Daemon-Neustart automatisch erneut überprüft.", @@ -13117,6 +13138,8 @@ "Required for assigned teammates": "Erforderlich für zugewiesene Teamkollegen", "Required input": "Erforderliche Eingabe", "Required input: {value}": "Erforderliche Eingabe: {value}", + "Required label": "Erforderliches Etikett", + "Required label missing": "Erforderliches Etikett fehlt", "Required permissions": "Erforderliche Berechtigungen", "Required skill information is missing.": "Erforderliche Skill-Informationen fehlen.", "Required statuses": "Required statuses", @@ -14126,6 +14149,7 @@ "Start an active Computer Use task first.": "Starten Sie zunächst eine aktive Computer Use-Aufgabe.", "Start autoplan": "Autoplan starten", "Start background": "Hintergrund starten", + "Start budget reached": "Startbudget erreicht", "Start by choosing a template or creating one manually.": "Wählen Sie zunächst eine Vorlage aus oder erstellen Sie manuell eine.", "Start child branch": "Untergeordneten Zweig starten", "Start from a default role or blank teammate.": "Beginnen Sie mit einer Standardrolle oder einem leeren Teamkollegen.", @@ -14231,7 +14255,9 @@ "succeeded": "gelungen", "Succeeded": "Erfolgreich", "Successfully generated {count} artifact based on the provided prompt.": "Basierend auf der bereitgestellten Eingabeaufforderung wurde das {count}-Artefakt erfolgreich generiert.", + "Suggest": "Vorschlagen", "Suggest responsible owners based on context, decisions, and recent work.": "Schlagen Sie verantwortungsbewusste Eigentümer basierend auf Kontext, Entscheidungen und aktuellen Arbeiten vor.", + "Suggested": "Empfohlen", "Suggested next step": "Vorgeschlagener nächster Schritt", "Suggested routing": "Vorgeschlagene Route", "Summaries": "Zusammenfassungen", @@ -14940,6 +14966,7 @@ "Untracked": "Nicht verfolgt", "unverified": "unbestätigt", "Unverified": "Nicht bestätigt", + "Up to {concurrent} active and {starts} starts per {minutes} min": "Bis zu {concurrent} aktiv und {starts} Starts pro {minutes} Min", "Up to date": "Auf dem neuesten Stand", "Update": "Aktualisieren", "Update available": "Update verfügbar", @@ -15267,6 +15294,7 @@ "Work intake, tool servers, and plugin bundles": "Arbeitsaufnahme, Tool-Server und Plugin-Bundles", "Work is claimed": "Arbeit wird beansprucht", "Work item ID": "Arbeitselement ID", + "Work item paused": "Arbeitselement angehalten", "Work items": "Arbeitselemente", "Work marked failed": "Arbeit als fehlgeschlagen markiert", "Work result": "Arbeitsergebnis", diff --git a/packages/localization/catalogs/el-GR.json b/packages/localization/catalogs/el-GR.json index 253e91e82..95d1dd6f7 100644 --- a/packages/localization/catalogs/el-GR.json +++ b/packages/localization/catalogs/el-GR.json @@ -1,6 +1,6 @@ { "locale": "el-GR", - "sourceRevision": "214db76d79f1a5c0fd915c110a2ead6dbb978b58398846e982a0c1ff0cb53108", + "sourceRevision": "6468d2af71d2feb60f9b8c5f37bc2a3ff1177fb2c8b0d65e85002de6b1095cbb", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -568,6 +568,7 @@ "Allows": "8b1d52d202522d89fe65fb00e505abab46dc200a88c0be5d468a2a7e6dce9ccf", "Allows commands starting with {command}": "f5c5d446a6850880ae79768c175bacaf2bc487f715d5768d0b225eb643e3ce07", "Already imported": "e47fafe0a1c6f8d6b5c641c5d9cc7ca61e66a1c50bbc3b619c8ff5912444bfa8", + "Already in work": "ae40a6ff362406d9f1fdc40ad79cea7bd1705e6e173b2267f2a310777aedb387", "Also allow private memory and private chat queries remotely": "0b6b2ba6882b67c8b5b79f0f07964588232be1a9e520011e19bbea224c59a913", "Alternatives": "41055f72edad1559b8ba43440cd7938eb73685930c7141fede9b95000fd41299", "Alternatives considered": "73534cb410e6191096c7fa7ca56ba066f90b4fdede8677d64bc98068804afa3c", @@ -828,6 +829,7 @@ "Auto-start by default": "403861dc8396a3ea666e143d33e0429d3c26721771abf3face351259eee9b28f", "Auto-start step": "2bf61e4807ad3bf6ebc934bf54e917d5b3a87295001826be3a7dd57c7e75cc8d", "Automatic": "d461a493a3753877c9486cffa3444265a33370af8a7fff242fb119b71750839c", + "Automatic intake": "6eed82b223c717114773803e9d9d90d6d3cde9579bf264647347e559817a5081", "Automatic learning is off": "8ba1b4a02530490260a7b8e748e0809ddc3885213a009f3896264bc665060bdd", "Automatic parallel execution": "63d058c173c4a148a14094327c26d9af2c5bde1779c91dbf0d913e90b0687be9", "Automatic proposals enabled": "db670932d259eeedd26de8d7ca836594d5f3861ff24e1f94170c7333676c157a", @@ -1256,6 +1258,7 @@ "Check failed": "c8813c1128d545bfe7e7458ae24d724447097b3518643f86fa3e532f88e9fb40", "Check for changes": "5da755d1690f58c1c822a4b85422734bacc2122c7c67f4e8617f0765ac835113", "Check for updates": "f26f3275e735bdf6268532ca7cbea3887c9adad21d8df74e84b2bc7791475c0d", + "Check GitHub inbox": "51cd97da0bc2b213621668f69168386eaee18bdae064041094187404c9fc71ee", "Check member status": "ff155af014d0b6e94cbf2fca3b01cf8d5725732f178eee985083478adb4a62f5", "Check member status to load readiness.": "6f7f338e22e626b134643fbaec898cf8e8efd19b85eeb6193b4ca0d5d63c4528", "Check needed": "561a32f0c83e5a4fe8d77d891bd4b954d514ea021b4a18e68a3607f5d8747841", @@ -1563,6 +1566,7 @@ "Concise": "8340d833ab72d3321b07af0184597743b010e142b39593cebb450d4227e62f0c", "Concise, focused, direct.": "e9cb028d2d79111476e9c8ea1562b7f6275fd39d43abf410338d7c0ae2fff5a5", "conclusion {conclusion}": "dc328d7e11ecbdc61fa90fc18e3ced70b794ca55dcc476d03c88eff72f16274d", + "Concurrent work limit reached": "f60d0f2d4a9ba0c57c7e7835bd52a1912f39581799f2babb636d190317a96b54", "Confidence": "6422e3e78f5e5f5a15e92cc57ed7114adb289339251031ccb526d9249437dc82", "Configuration": "b332c3492d5eb10a118eb6d8b0dcd689bc2477ce2ae16b303753b942b54377bc", "Configuration digest": "5bbf2d321122a5a57d36c77291d232d51f9ae9a1655e80f042727754aea15bfe", @@ -2939,6 +2943,7 @@ "github": "c0b0109d9439de57fe3cf03abeccbc52f4c98170c732d3b69af5e6395ace574e", "GitHub": "f911e414cf6bdfc595532ab166b5ba0f63d73c021452fcdacbda363dda6ad8fb", "GitHub CI triage": "6a2368ce3943b296b07b5241227baf2a863d3f50f8a46ddb0889cbb5045ccd84", + "GitHub intake": "064829c63fcbc74d45753e04f583c69a391d25d4ed334de3b69fa2720f733cb1", "GitHub MCP": "408b061889ef672152b51ce8dbd56216d1b7e97303429b59538b99fe663c6f04", "GitHub not connected (GITHUB_TOKEN or GH_TOKEN)": "1cb239b6b5ea26422b411a25d3a4e254cdf45b7e730eb91b976a36f12adeb21b", "GitHub unavailable; retry later": "33b2cec76eccd24c4d8d61c265de8b06a6a20820ab1fccdcb433a22903909d02", @@ -4818,6 +4823,7 @@ "Policy details": "00e33950cacf32a39cc25f71ccb1650c4c788c12816e07681d80f0fdc537be98", "Policy narrows authority": "e9e2012e5ac96664fb03ff0f81f4f49cb5b8ee069149139352e7c89b73e43baa", "policy overlays": "db26199cf2a47a948b45caf37b4d50ede3ef415fad6c940cfe56a118970fcefb", + "Policy paused": "11fc11eaf385253466e26bac9916425e1e009695cd40adc4c7a132366d187518", "Policy review": "1cf67fef927c77770a1fcd8b20982b24b15cc0b6f1e8b56265d87baff019dd7e", "Policy snapshot artifact": "7f8b2985d498316ac01fa5f2276d2556cab712b4c8bc2b93e16dfc1353e23a77", "Poll once": "c7e7d724ff87555fb857467569ce709d958ee2d5d1ab2cc890554c7605e86e78", @@ -5013,6 +5019,7 @@ "Provider state": "633d1ca46603e61fc3d39459c1414102a27bbc4ba0adfb0b22ba5a205c2b9815", "Provider templates": "1e8649b7c667a6afc6dc88cbdb3069e349e850466cf3efa57eeedab9b70486f7", "Provider type": "8c0f6d3ebfe7ba3a0c0006068a9aa664d09244ba3cd438f2d56fab117bee1347", + "Provider unavailable": "ff2113958589f9bfb87b54f959be825d00ec5eca374d907bb343f98ebdbc84c3", "Provider version": "1f5ecefbd682ced2f438c8ae3c8849ba9effbe6cd77c19051cee2d2036ef9c90", "Provider warmup": "36ae143804c9a909bce770f54be5652b69b99ee7838cca99daa31e23d4d6d63c", "Provider was automatically rechecked after daemon restart.": "7bd8e8ee592f30e81adca8c96b079d6526846dc142bd99e5bbba3d9bebbde7a9", @@ -5398,6 +5405,8 @@ "Required for assigned teammates": "4732aa544a8d93b886e6bcbbcc5c3314af692f8a8a812efd4844cd3589b7b63a", "Required input": "fafaaf99b5a6af521026448890a9dacaf4d47053804a34be7cdf364e13637181", "Required input: {value}": "757166b8bf43ee39819f00d86fa61a84ddb3f3eba2a883c6bb996b8f82101d22", + "Required label": "5f623a5ad31f874a782d2205c9318ce524371a35d782b9a7021eab521c2fbbcd", + "Required label missing": "6913716764f8018414060c041e41a2951f5444efe5e97cd30a557be26403d1b1", "Required permissions": "edaffed36060c21e958b3fe562b7c57f51f67ba46326b1a9a5317a47b20e1747", "Required skill information is missing.": "e5cb742af5e92afab21f42c3edd4f5940db52a1c5320a9dd7236eca89a702789", "Required statuses": "c77453db9c939c7c7b8da080b0053847604126aefacf5a900d1d0fe30e4ba5ee", @@ -6407,6 +6416,7 @@ "Start an active Computer Use task first.": "1242a212935f863b51a7f3e8d16f12af408152d8047b274c5fef9fb7f1435f50", "Start autoplan": "7419a8efae15550dc21cccc23ca0a16c446e884842bfe48056af34a921175cb0", "Start background": "c690dc635cd0437e8911748d795084e5d32d0b75811490076285d41032d7300c", + "Start budget reached": "6b915cfb021a78ae6f8b4c1f2d9f40bbadcc486c04cbb00a807d52bfe78102ca", "Start by choosing a template or creating one manually.": "6a3ba02535ac7a0ab934b569a915927936dede63b4277ea4500e77c8835d4666", "Start child branch": "ee7b6caa5b4a1d3e8fd3ce47a26b42a4f2472834dfa17b2efc1864d0ed710948", "Start from a default role or blank teammate.": "1464ae64fd1ee987e353f53a2f9bab20053b2f0ae320c07839b7eecf710b8a96", @@ -6512,7 +6522,9 @@ "succeeded": "5dceaeceb6d8a49d3665594710ace68dfbc1800e2d663d7febb302b4dbee3d27", "Succeeded": "6d9a6f97a5fdaf3b90a0cf02e0b43d8b7ec1d05c0e4718e02ddd1c5b450e5b39", "Successfully generated {count} artifact based on the provided prompt.": "71f85e7639c004421f062f2dd6a129e5173931798f5d33b6f0482038b38a88fc", + "Suggest": "4effad823b048b0440dbeff42665f60a6ddec8e121c378966ed7c074a512c51f", "Suggest responsible owners based on context, decisions, and recent work.": "484eb4e21bcdd76a531a4234403ea29f0626094f9a2915b674f17e0b949be0a3", + "Suggested": "93b63bab4c3a28d73a8bb83bcdfdcc5f6ddecfc8fc702296ca159d94c5dc6e53", "Suggested next step": "78d74fd4ffec8d83a942e1274cfd15426b2b4bb2d96b15f905277638c339869e", "Suggested routing": "442b15c099c136738e26e139912a5f5d21e90216aade875a8db595b09c81fcbe", "Summaries": "87bc590e047d3df4a8e448ac83e371fad69dd73607752cccb0ff7d34263cef8f", @@ -7221,6 +7233,7 @@ "Untracked": "c7ba5477e19cf0bb25460d840cc2e67341e81e1c2d274d00b3054c73898d4d27", "unverified": "97b7e2db799e2b79e65f418b42a7d3054c95b2d3ab1dba243039597e44a38084", "Unverified": "33c8e8de41c3a35124251370e2a36e4d589f8789d80630abbbeceb933d3fb58f", + "Up to {concurrent} active and {starts} starts per {minutes} min": "cca43c28ef670fd5d55cb3bd813a2fef137043e4028096bcd2cdf22e2a06586b", "Up to date": "ce29b7f85b9eaf7dac52e625accb4b0cb56a856ebe9a9de9a09b613b6d978dca", "Update": "c1c1009d3f37ec058070a62e22caf9ac9dae2169d452487c5c271a8bcf57a291", "Update available": "ff8b555d818f0b25bbdd1bec8b479660bac7fc276acbe993e759bf67fed32c34", @@ -7548,6 +7561,7 @@ "Work intake, tool servers, and plugin bundles": "16b65a84c6fca2014b7e2d28b151bbf0afe19345230a0ac37304802311fed850", "Work is claimed": "c4b0d953436f2f59355d6540bae28e055ff49243f612887bbaed7bfd98c85d4d", "Work item ID": "1dcdad81d13850bd962965719f362fa7f32693b7b54fd8bb25d1e2402a470626", + "Work item paused": "299aabbf3c1418a3f01117e072d3bfe418e174bd1f355d1afdfae23c7b4bf678", "Work items": "5759a416f2b3b4ff92da23b8059419e06c39d27180b91a557f7cae779df3d2b6", "Work marked failed": "f26306888ed8c9a3808b8a420428f63e32d4c2223e7c9c89dd0a049806c539c6", "Work result": "19efe7487084061e9e358495b8a9bfd7e9d7c0035010e08ac35c14ba4ff8ca2a", @@ -8287,6 +8301,7 @@ "Allows": "επιτρέπει", "Allows commands starting with {command}": "Επιτρέπει εντολές που ξεκινούν με {command}", "Already imported": "Έχει ήδη εισαχθεί", + "Already in work": "Ήδη στη δουλειά", "Also allow private memory and private chat queries remotely": "Επιτρέψτε επίσης την ιδιωτική μνήμη και τα ερωτήματα ιδιωτικής συνομιλίας από απόσταση", "Alternatives": "Εναλλακτικές", "Alternatives considered": "Εξετάζονται εναλλακτικές λύσεις", @@ -8547,6 +8562,7 @@ "Auto-start by default": "Auto-start by default", "Auto-start step": "Auto-start step", "Automatic": "Αυτόματο", + "Automatic intake": "Αυτόματη λήψη", "Automatic learning is off": "Η αυτόματη εκμάθηση είναι απενεργοποιημένη", "Automatic parallel execution": "Automatic parallel execution", "Automatic proposals enabled": "Ενεργοποιήθηκαν οι αυτόματες προτάσεις", @@ -8975,6 +8991,7 @@ "Check failed": "Ο έλεγχος απέτυχε", "Check for changes": "Ελέγξτε για αλλαγές", "Check for updates": "Ελέγξτε για ενημερώσεις", + "Check GitHub inbox": "Ελέγξτε τα εισερχόμενα του GitHub", "Check member status": "Ελέγξτε την κατάσταση μέλους", "Check member status to load readiness.": "Ελέγξτε την κατάσταση μέλους για ετοιμότητα φόρτωσης.", "Check needed": "Απαιτείται έλεγχος", @@ -9282,6 +9299,7 @@ "Concise": "Συνοπτικός", "Concise, focused, direct.": "Συνοπτικός, συγκεντρωμένος, άμεσος.", "conclusion {conclusion}": "συμπέρασμα {conclusion}", + "Concurrent work limit reached": "Συμπληρώθηκε το όριο ταυτόχρονης εργασίας", "Confidence": "Εμπιστοσύνη", "Configuration": "Διαμόρφωση", "Configuration digest": "Σύνοψη διαμόρφωσης", @@ -10658,6 +10676,7 @@ "github": "github", "GitHub": "GitHub", "GitHub CI triage": "Διαλογή GitHub CI", + "GitHub intake": "Πρόσληψη GitHub", "GitHub MCP": "GitHub MCP", "GitHub not connected (GITHUB_TOKEN or GH_TOKEN)": "GitHub not connected (GITHUB_TOKEN or GH_TOKEN)", "GitHub unavailable; retry later": "GitHub unavailable; retry later", @@ -12537,6 +12556,7 @@ "Policy details": "Λεπτομέρειες πολιτικής", "Policy narrows authority": "Η πολιτική περιορίζει την εξουσία", "policy overlays": "επικαλύψεις πολιτικής", + "Policy paused": "Η πολιτική τέθηκε σε παύση", "Policy review": "Αναθεώρηση πολιτικής", "Policy snapshot artifact": "Αντικείμενο στιγμιότυπου πολιτικής", "Poll once": "Δημοσκόπηση μια φορά", @@ -12732,6 +12752,7 @@ "Provider state": "κράτος πάροχος", "Provider templates": "Πρότυπα παρόχων", "Provider type": "Τύπος παρόχου", + "Provider unavailable": "Ο πάροχος δεν είναι διαθέσιμος", "Provider version": "Έκδοση παρόχου", "Provider warmup": "Προθέρμανση παρόχου", "Provider was automatically rechecked after daemon restart.": "Ο πάροχος ελέγχθηκε ξανά αυτόματα μετά την επανεκκίνηση του δαίμονα.", @@ -13117,6 +13138,8 @@ "Required for assigned teammates": "Απαιτείται για τους διορισμένους συμπαίκτες", "Required input": "Απαιτούμενη εισαγωγή", "Required input: {value}": "Απαιτούμενη είσοδος: {value}", + "Required label": "Απαιτούμενη ετικέτα", + "Required label missing": "Λείπει η απαιτούμενη ετικέτα", "Required permissions": "Απαιτούμενα δικαιώματα", "Required skill information is missing.": "Λείπουν οι απαιτούμενες πληροφορίες δεξιοτήτων.", "Required statuses": "Required statuses", @@ -14126,6 +14149,7 @@ "Start an active Computer Use task first.": "Ξεκινήστε πρώτα μια ενεργή εργασία Computer Use.", "Start autoplan": "Έναρξη αυτόματου σχεδίου", "Start background": "Έναρξη φόντου", + "Start budget reached": "Ο προϋπολογισμός έναρξης επιτεύχθηκε", "Start by choosing a template or creating one manually.": "Ξεκινήστε επιλέγοντας ένα πρότυπο ή δημιουργώντας ένα μη αυτόματα.", "Start child branch": "Ξεκινήστε το παιδικό υποκατάστημα", "Start from a default role or blank teammate.": "Ξεκινήστε από έναν προεπιλεγμένο ρόλο ή έναν κενό συμπαίκτη.", @@ -14231,7 +14255,9 @@ "succeeded": "πέτυχε", "Succeeded": "Πέτυχε", "Successfully generated {count} artifact based on the provided prompt.": "Δημιουργήθηκε επιτυχώς {count} τεχνούργημα βάσει της παρεχόμενης προτροπής.", + "Suggest": "Προτείνω", "Suggest responsible owners based on context, decisions, and recent work.": "Προτείνετε υπεύθυνους ιδιοκτήτες με βάση το πλαίσιο, τις αποφάσεις και την πρόσφατη εργασία.", + "Suggested": "Προτεινόμενα", "Suggested next step": "Προτεινόμενο επόμενο βήμα", "Suggested routing": "Προτεινόμενη δρομολόγηση", "Summaries": "Περιλήψεις", @@ -14940,6 +14966,7 @@ "Untracked": "Χωρίς παρακολούθηση", "unverified": "ανεπιβεβαίωτος", "Unverified": "Ανεπιβεβαίωτος", + "Up to {concurrent} active and {starts} starts per {minutes} min": "Έως {concurrent} ενεργό και {starts} ξεκινά ανά {minutes} λεπτό", "Up to date": "Σύγχρονος", "Update": "Εκσυγχρονίζω", "Update available": "Διαθέσιμη ενημέρωση", @@ -15267,6 +15294,7 @@ "Work intake, tool servers, and plugin bundles": "Πρόσληψη εργασίας, διακομιστές εργαλείων και πακέτα προσθηκών", "Work is claimed": "Διεκδικείται εργασία", "Work item ID": "Στοιχείο εργασίας ID", + "Work item paused": "Το αντικείμενο εργασίας τέθηκε σε παύση", "Work items": "Είδη εργασίας", "Work marked failed": "Η εργασία που επισημάνθηκε απέτυχε", "Work result": "Αποτέλεσμα εργασίας", diff --git a/packages/localization/catalogs/en-US.json b/packages/localization/catalogs/en-US.json index 6d43e5d50..ca9067cf2 100644 --- a/packages/localization/catalogs/en-US.json +++ b/packages/localization/catalogs/en-US.json @@ -1,6 +1,6 @@ { "locale": "en-US", - "sourceRevision": "214db76d79f1a5c0fd915c110a2ead6dbb978b58398846e982a0c1ff0cb53108", + "sourceRevision": "6468d2af71d2feb60f9b8c5f37bc2a3ff1177fb2c8b0d65e85002de6b1095cbb", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -568,6 +568,7 @@ "Allows": "8b1d52d202522d89fe65fb00e505abab46dc200a88c0be5d468a2a7e6dce9ccf", "Allows commands starting with {command}": "f5c5d446a6850880ae79768c175bacaf2bc487f715d5768d0b225eb643e3ce07", "Already imported": "e47fafe0a1c6f8d6b5c641c5d9cc7ca61e66a1c50bbc3b619c8ff5912444bfa8", + "Already in work": "ae40a6ff362406d9f1fdc40ad79cea7bd1705e6e173b2267f2a310777aedb387", "Also allow private memory and private chat queries remotely": "0b6b2ba6882b67c8b5b79f0f07964588232be1a9e520011e19bbea224c59a913", "Alternatives": "41055f72edad1559b8ba43440cd7938eb73685930c7141fede9b95000fd41299", "Alternatives considered": "73534cb410e6191096c7fa7ca56ba066f90b4fdede8677d64bc98068804afa3c", @@ -828,6 +829,7 @@ "Auto-start by default": "403861dc8396a3ea666e143d33e0429d3c26721771abf3face351259eee9b28f", "Auto-start step": "2bf61e4807ad3bf6ebc934bf54e917d5b3a87295001826be3a7dd57c7e75cc8d", "Automatic": "d461a493a3753877c9486cffa3444265a33370af8a7fff242fb119b71750839c", + "Automatic intake": "6eed82b223c717114773803e9d9d90d6d3cde9579bf264647347e559817a5081", "Automatic learning is off": "8ba1b4a02530490260a7b8e748e0809ddc3885213a009f3896264bc665060bdd", "Automatic parallel execution": "63d058c173c4a148a14094327c26d9af2c5bde1779c91dbf0d913e90b0687be9", "Automatic proposals enabled": "db670932d259eeedd26de8d7ca836594d5f3861ff24e1f94170c7333676c157a", @@ -1256,6 +1258,7 @@ "Check failed": "c8813c1128d545bfe7e7458ae24d724447097b3518643f86fa3e532f88e9fb40", "Check for changes": "5da755d1690f58c1c822a4b85422734bacc2122c7c67f4e8617f0765ac835113", "Check for updates": "f26f3275e735bdf6268532ca7cbea3887c9adad21d8df74e84b2bc7791475c0d", + "Check GitHub inbox": "51cd97da0bc2b213621668f69168386eaee18bdae064041094187404c9fc71ee", "Check member status": "ff155af014d0b6e94cbf2fca3b01cf8d5725732f178eee985083478adb4a62f5", "Check member status to load readiness.": "6f7f338e22e626b134643fbaec898cf8e8efd19b85eeb6193b4ca0d5d63c4528", "Check needed": "561a32f0c83e5a4fe8d77d891bd4b954d514ea021b4a18e68a3607f5d8747841", @@ -1563,6 +1566,7 @@ "Concise": "8340d833ab72d3321b07af0184597743b010e142b39593cebb450d4227e62f0c", "Concise, focused, direct.": "e9cb028d2d79111476e9c8ea1562b7f6275fd39d43abf410338d7c0ae2fff5a5", "conclusion {conclusion}": "dc328d7e11ecbdc61fa90fc18e3ced70b794ca55dcc476d03c88eff72f16274d", + "Concurrent work limit reached": "f60d0f2d4a9ba0c57c7e7835bd52a1912f39581799f2babb636d190317a96b54", "Confidence": "6422e3e78f5e5f5a15e92cc57ed7114adb289339251031ccb526d9249437dc82", "Configuration": "b332c3492d5eb10a118eb6d8b0dcd689bc2477ce2ae16b303753b942b54377bc", "Configuration digest": "5bbf2d321122a5a57d36c77291d232d51f9ae9a1655e80f042727754aea15bfe", @@ -2939,6 +2943,7 @@ "github": "c0b0109d9439de57fe3cf03abeccbc52f4c98170c732d3b69af5e6395ace574e", "GitHub": "f911e414cf6bdfc595532ab166b5ba0f63d73c021452fcdacbda363dda6ad8fb", "GitHub CI triage": "6a2368ce3943b296b07b5241227baf2a863d3f50f8a46ddb0889cbb5045ccd84", + "GitHub intake": "064829c63fcbc74d45753e04f583c69a391d25d4ed334de3b69fa2720f733cb1", "GitHub MCP": "408b061889ef672152b51ce8dbd56216d1b7e97303429b59538b99fe663c6f04", "GitHub not connected (GITHUB_TOKEN or GH_TOKEN)": "1cb239b6b5ea26422b411a25d3a4e254cdf45b7e730eb91b976a36f12adeb21b", "GitHub unavailable; retry later": "33b2cec76eccd24c4d8d61c265de8b06a6a20820ab1fccdcb433a22903909d02", @@ -4818,6 +4823,7 @@ "Policy details": "00e33950cacf32a39cc25f71ccb1650c4c788c12816e07681d80f0fdc537be98", "Policy narrows authority": "e9e2012e5ac96664fb03ff0f81f4f49cb5b8ee069149139352e7c89b73e43baa", "policy overlays": "db26199cf2a47a948b45caf37b4d50ede3ef415fad6c940cfe56a118970fcefb", + "Policy paused": "11fc11eaf385253466e26bac9916425e1e009695cd40adc4c7a132366d187518", "Policy review": "1cf67fef927c77770a1fcd8b20982b24b15cc0b6f1e8b56265d87baff019dd7e", "Policy snapshot artifact": "7f8b2985d498316ac01fa5f2276d2556cab712b4c8bc2b93e16dfc1353e23a77", "Poll once": "c7e7d724ff87555fb857467569ce709d958ee2d5d1ab2cc890554c7605e86e78", @@ -5013,6 +5019,7 @@ "Provider state": "633d1ca46603e61fc3d39459c1414102a27bbc4ba0adfb0b22ba5a205c2b9815", "Provider templates": "1e8649b7c667a6afc6dc88cbdb3069e349e850466cf3efa57eeedab9b70486f7", "Provider type": "8c0f6d3ebfe7ba3a0c0006068a9aa664d09244ba3cd438f2d56fab117bee1347", + "Provider unavailable": "ff2113958589f9bfb87b54f959be825d00ec5eca374d907bb343f98ebdbc84c3", "Provider version": "1f5ecefbd682ced2f438c8ae3c8849ba9effbe6cd77c19051cee2d2036ef9c90", "Provider warmup": "36ae143804c9a909bce770f54be5652b69b99ee7838cca99daa31e23d4d6d63c", "Provider was automatically rechecked after daemon restart.": "7bd8e8ee592f30e81adca8c96b079d6526846dc142bd99e5bbba3d9bebbde7a9", @@ -5398,6 +5405,8 @@ "Required for assigned teammates": "4732aa544a8d93b886e6bcbbcc5c3314af692f8a8a812efd4844cd3589b7b63a", "Required input": "fafaaf99b5a6af521026448890a9dacaf4d47053804a34be7cdf364e13637181", "Required input: {value}": "757166b8bf43ee39819f00d86fa61a84ddb3f3eba2a883c6bb996b8f82101d22", + "Required label": "5f623a5ad31f874a782d2205c9318ce524371a35d782b9a7021eab521c2fbbcd", + "Required label missing": "6913716764f8018414060c041e41a2951f5444efe5e97cd30a557be26403d1b1", "Required permissions": "edaffed36060c21e958b3fe562b7c57f51f67ba46326b1a9a5317a47b20e1747", "Required skill information is missing.": "e5cb742af5e92afab21f42c3edd4f5940db52a1c5320a9dd7236eca89a702789", "Required statuses": "c77453db9c939c7c7b8da080b0053847604126aefacf5a900d1d0fe30e4ba5ee", @@ -6407,6 +6416,7 @@ "Start an active Computer Use task first.": "1242a212935f863b51a7f3e8d16f12af408152d8047b274c5fef9fb7f1435f50", "Start autoplan": "7419a8efae15550dc21cccc23ca0a16c446e884842bfe48056af34a921175cb0", "Start background": "c690dc635cd0437e8911748d795084e5d32d0b75811490076285d41032d7300c", + "Start budget reached": "6b915cfb021a78ae6f8b4c1f2d9f40bbadcc486c04cbb00a807d52bfe78102ca", "Start by choosing a template or creating one manually.": "6a3ba02535ac7a0ab934b569a915927936dede63b4277ea4500e77c8835d4666", "Start child branch": "ee7b6caa5b4a1d3e8fd3ce47a26b42a4f2472834dfa17b2efc1864d0ed710948", "Start from a default role or blank teammate.": "1464ae64fd1ee987e353f53a2f9bab20053b2f0ae320c07839b7eecf710b8a96", @@ -6512,7 +6522,9 @@ "succeeded": "5dceaeceb6d8a49d3665594710ace68dfbc1800e2d663d7febb302b4dbee3d27", "Succeeded": "6d9a6f97a5fdaf3b90a0cf02e0b43d8b7ec1d05c0e4718e02ddd1c5b450e5b39", "Successfully generated {count} artifact based on the provided prompt.": "71f85e7639c004421f062f2dd6a129e5173931798f5d33b6f0482038b38a88fc", + "Suggest": "4effad823b048b0440dbeff42665f60a6ddec8e121c378966ed7c074a512c51f", "Suggest responsible owners based on context, decisions, and recent work.": "484eb4e21bcdd76a531a4234403ea29f0626094f9a2915b674f17e0b949be0a3", + "Suggested": "93b63bab4c3a28d73a8bb83bcdfdcc5f6ddecfc8fc702296ca159d94c5dc6e53", "Suggested next step": "78d74fd4ffec8d83a942e1274cfd15426b2b4bb2d96b15f905277638c339869e", "Suggested routing": "442b15c099c136738e26e139912a5f5d21e90216aade875a8db595b09c81fcbe", "Summaries": "87bc590e047d3df4a8e448ac83e371fad69dd73607752cccb0ff7d34263cef8f", @@ -7221,6 +7233,7 @@ "Untracked": "c7ba5477e19cf0bb25460d840cc2e67341e81e1c2d274d00b3054c73898d4d27", "unverified": "97b7e2db799e2b79e65f418b42a7d3054c95b2d3ab1dba243039597e44a38084", "Unverified": "33c8e8de41c3a35124251370e2a36e4d589f8789d80630abbbeceb933d3fb58f", + "Up to {concurrent} active and {starts} starts per {minutes} min": "cca43c28ef670fd5d55cb3bd813a2fef137043e4028096bcd2cdf22e2a06586b", "Up to date": "ce29b7f85b9eaf7dac52e625accb4b0cb56a856ebe9a9de9a09b613b6d978dca", "Update": "c1c1009d3f37ec058070a62e22caf9ac9dae2169d452487c5c271a8bcf57a291", "Update available": "ff8b555d818f0b25bbdd1bec8b479660bac7fc276acbe993e759bf67fed32c34", @@ -7548,6 +7561,7 @@ "Work intake, tool servers, and plugin bundles": "16b65a84c6fca2014b7e2d28b151bbf0afe19345230a0ac37304802311fed850", "Work is claimed": "c4b0d953436f2f59355d6540bae28e055ff49243f612887bbaed7bfd98c85d4d", "Work item ID": "1dcdad81d13850bd962965719f362fa7f32693b7b54fd8bb25d1e2402a470626", + "Work item paused": "299aabbf3c1418a3f01117e072d3bfe418e174bd1f355d1afdfae23c7b4bf678", "Work items": "5759a416f2b3b4ff92da23b8059419e06c39d27180b91a557f7cae779df3d2b6", "Work marked failed": "f26306888ed8c9a3808b8a420428f63e32d4c2223e7c9c89dd0a049806c539c6", "Work result": "19efe7487084061e9e358495b8a9bfd7e9d7c0035010e08ac35c14ba4ff8ca2a", @@ -8287,6 +8301,7 @@ "Allows": "Allows", "Allows commands starting with {command}": "Allows commands starting with {command}", "Already imported": "Already imported", + "Already in work": "Already in work", "Also allow private memory and private chat queries remotely": "Also allow private memory and private chat queries remotely", "Alternatives": "Alternatives", "Alternatives considered": "Alternatives considered", @@ -8547,6 +8562,7 @@ "Auto-start by default": "Auto-start by default", "Auto-start step": "Auto-start step", "Automatic": "Automatic", + "Automatic intake": "Automatic intake", "Automatic learning is off": "Automatic learning is off", "Automatic parallel execution": "Automatic parallel execution", "Automatic proposals enabled": "Automatic proposals enabled", @@ -8975,6 +8991,7 @@ "Check failed": "Check failed", "Check for changes": "Check for changes", "Check for updates": "Check for updates", + "Check GitHub inbox": "Check GitHub inbox", "Check member status": "Check member status", "Check member status to load readiness.": "Check member status to load readiness.", "Check needed": "Check needed", @@ -9282,6 +9299,7 @@ "Concise": "Concise", "Concise, focused, direct.": "Concise, focused, direct.", "conclusion {conclusion}": "conclusion {conclusion}", + "Concurrent work limit reached": "Concurrent work limit reached", "Confidence": "Confidence", "Configuration": "Configuration", "Configuration digest": "Configuration digest", @@ -10658,6 +10676,7 @@ "github": "github", "GitHub": "GitHub", "GitHub CI triage": "GitHub CI triage", + "GitHub intake": "GitHub intake", "GitHub MCP": "GitHub MCP", "GitHub not connected (GITHUB_TOKEN or GH_TOKEN)": "GitHub not connected (GITHUB_TOKEN or GH_TOKEN)", "GitHub unavailable; retry later": "GitHub unavailable; retry later", @@ -12537,6 +12556,7 @@ "Policy details": "Policy details", "Policy narrows authority": "Policy narrows authority", "policy overlays": "policy overlays", + "Policy paused": "Policy paused", "Policy review": "Policy review", "Policy snapshot artifact": "Policy snapshot artifact", "Poll once": "Poll once", @@ -12732,6 +12752,7 @@ "Provider state": "Provider state", "Provider templates": "Provider templates", "Provider type": "Provider type", + "Provider unavailable": "Provider unavailable", "Provider version": "Provider version", "Provider warmup": "Provider warmup", "Provider was automatically rechecked after daemon restart.": "Provider was automatically rechecked after daemon restart.", @@ -13117,6 +13138,8 @@ "Required for assigned teammates": "Required for assigned teammates", "Required input": "Required input", "Required input: {value}": "Required input: {value}", + "Required label": "Required label", + "Required label missing": "Required label missing", "Required permissions": "Required permissions", "Required skill information is missing.": "Required skill information is missing.", "Required statuses": "Required statuses", @@ -14126,6 +14149,7 @@ "Start an active Computer Use task first.": "Start an active Computer Use task first.", "Start autoplan": "Start autoplan", "Start background": "Start background", + "Start budget reached": "Start budget reached", "Start by choosing a template or creating one manually.": "Start by choosing a template or creating one manually.", "Start child branch": "Start child branch", "Start from a default role or blank teammate.": "Start from a default role or blank teammate.", @@ -14231,7 +14255,9 @@ "succeeded": "succeeded", "Succeeded": "Succeeded", "Successfully generated {count} artifact based on the provided prompt.": "Successfully generated {count} artifact based on the provided prompt.", + "Suggest": "Suggest", "Suggest responsible owners based on context, decisions, and recent work.": "Suggest responsible owners based on context, decisions, and recent work.", + "Suggested": "Suggested", "Suggested next step": "Suggested next step", "Suggested routing": "Suggested routing", "Summaries": "Summaries", @@ -14940,6 +14966,7 @@ "Untracked": "Untracked", "unverified": "unverified", "Unverified": "Unverified", + "Up to {concurrent} active and {starts} starts per {minutes} min": "Up to {concurrent} active and {starts} starts per {minutes} min", "Up to date": "Up to date", "Update": "Update", "Update available": "Update available", @@ -15267,6 +15294,7 @@ "Work intake, tool servers, and plugin bundles": "Work intake, tool servers, and plugin bundles", "Work is claimed": "Work is claimed", "Work item ID": "Work item ID", + "Work item paused": "Work item paused", "Work items": "Work items", "Work marked failed": "Work marked failed", "Work result": "Work result", diff --git a/packages/localization/catalogs/es-419.json b/packages/localization/catalogs/es-419.json index 747ff2753..a71b84cb8 100644 --- a/packages/localization/catalogs/es-419.json +++ b/packages/localization/catalogs/es-419.json @@ -1,6 +1,6 @@ { "locale": "es-419", - "sourceRevision": "214db76d79f1a5c0fd915c110a2ead6dbb978b58398846e982a0c1ff0cb53108", + "sourceRevision": "6468d2af71d2feb60f9b8c5f37bc2a3ff1177fb2c8b0d65e85002de6b1095cbb", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -568,6 +568,7 @@ "Allows": "8b1d52d202522d89fe65fb00e505abab46dc200a88c0be5d468a2a7e6dce9ccf", "Allows commands starting with {command}": "f5c5d446a6850880ae79768c175bacaf2bc487f715d5768d0b225eb643e3ce07", "Already imported": "e47fafe0a1c6f8d6b5c641c5d9cc7ca61e66a1c50bbc3b619c8ff5912444bfa8", + "Already in work": "ae40a6ff362406d9f1fdc40ad79cea7bd1705e6e173b2267f2a310777aedb387", "Also allow private memory and private chat queries remotely": "0b6b2ba6882b67c8b5b79f0f07964588232be1a9e520011e19bbea224c59a913", "Alternatives": "41055f72edad1559b8ba43440cd7938eb73685930c7141fede9b95000fd41299", "Alternatives considered": "73534cb410e6191096c7fa7ca56ba066f90b4fdede8677d64bc98068804afa3c", @@ -828,6 +829,7 @@ "Auto-start by default": "403861dc8396a3ea666e143d33e0429d3c26721771abf3face351259eee9b28f", "Auto-start step": "2bf61e4807ad3bf6ebc934bf54e917d5b3a87295001826be3a7dd57c7e75cc8d", "Automatic": "d461a493a3753877c9486cffa3444265a33370af8a7fff242fb119b71750839c", + "Automatic intake": "6eed82b223c717114773803e9d9d90d6d3cde9579bf264647347e559817a5081", "Automatic learning is off": "8ba1b4a02530490260a7b8e748e0809ddc3885213a009f3896264bc665060bdd", "Automatic parallel execution": "63d058c173c4a148a14094327c26d9af2c5bde1779c91dbf0d913e90b0687be9", "Automatic proposals enabled": "db670932d259eeedd26de8d7ca836594d5f3861ff24e1f94170c7333676c157a", @@ -1256,6 +1258,7 @@ "Check failed": "c8813c1128d545bfe7e7458ae24d724447097b3518643f86fa3e532f88e9fb40", "Check for changes": "5da755d1690f58c1c822a4b85422734bacc2122c7c67f4e8617f0765ac835113", "Check for updates": "f26f3275e735bdf6268532ca7cbea3887c9adad21d8df74e84b2bc7791475c0d", + "Check GitHub inbox": "51cd97da0bc2b213621668f69168386eaee18bdae064041094187404c9fc71ee", "Check member status": "ff155af014d0b6e94cbf2fca3b01cf8d5725732f178eee985083478adb4a62f5", "Check member status to load readiness.": "6f7f338e22e626b134643fbaec898cf8e8efd19b85eeb6193b4ca0d5d63c4528", "Check needed": "561a32f0c83e5a4fe8d77d891bd4b954d514ea021b4a18e68a3607f5d8747841", @@ -1563,6 +1566,7 @@ "Concise": "8340d833ab72d3321b07af0184597743b010e142b39593cebb450d4227e62f0c", "Concise, focused, direct.": "e9cb028d2d79111476e9c8ea1562b7f6275fd39d43abf410338d7c0ae2fff5a5", "conclusion {conclusion}": "dc328d7e11ecbdc61fa90fc18e3ced70b794ca55dcc476d03c88eff72f16274d", + "Concurrent work limit reached": "f60d0f2d4a9ba0c57c7e7835bd52a1912f39581799f2babb636d190317a96b54", "Confidence": "6422e3e78f5e5f5a15e92cc57ed7114adb289339251031ccb526d9249437dc82", "Configuration": "b332c3492d5eb10a118eb6d8b0dcd689bc2477ce2ae16b303753b942b54377bc", "Configuration digest": "5bbf2d321122a5a57d36c77291d232d51f9ae9a1655e80f042727754aea15bfe", @@ -2939,6 +2943,7 @@ "github": "c0b0109d9439de57fe3cf03abeccbc52f4c98170c732d3b69af5e6395ace574e", "GitHub": "f911e414cf6bdfc595532ab166b5ba0f63d73c021452fcdacbda363dda6ad8fb", "GitHub CI triage": "6a2368ce3943b296b07b5241227baf2a863d3f50f8a46ddb0889cbb5045ccd84", + "GitHub intake": "064829c63fcbc74d45753e04f583c69a391d25d4ed334de3b69fa2720f733cb1", "GitHub MCP": "408b061889ef672152b51ce8dbd56216d1b7e97303429b59538b99fe663c6f04", "GitHub not connected (GITHUB_TOKEN or GH_TOKEN)": "1cb239b6b5ea26422b411a25d3a4e254cdf45b7e730eb91b976a36f12adeb21b", "GitHub unavailable; retry later": "33b2cec76eccd24c4d8d61c265de8b06a6a20820ab1fccdcb433a22903909d02", @@ -4818,6 +4823,7 @@ "Policy details": "00e33950cacf32a39cc25f71ccb1650c4c788c12816e07681d80f0fdc537be98", "Policy narrows authority": "e9e2012e5ac96664fb03ff0f81f4f49cb5b8ee069149139352e7c89b73e43baa", "policy overlays": "db26199cf2a47a948b45caf37b4d50ede3ef415fad6c940cfe56a118970fcefb", + "Policy paused": "11fc11eaf385253466e26bac9916425e1e009695cd40adc4c7a132366d187518", "Policy review": "1cf67fef927c77770a1fcd8b20982b24b15cc0b6f1e8b56265d87baff019dd7e", "Policy snapshot artifact": "7f8b2985d498316ac01fa5f2276d2556cab712b4c8bc2b93e16dfc1353e23a77", "Poll once": "c7e7d724ff87555fb857467569ce709d958ee2d5d1ab2cc890554c7605e86e78", @@ -5013,6 +5019,7 @@ "Provider state": "633d1ca46603e61fc3d39459c1414102a27bbc4ba0adfb0b22ba5a205c2b9815", "Provider templates": "1e8649b7c667a6afc6dc88cbdb3069e349e850466cf3efa57eeedab9b70486f7", "Provider type": "8c0f6d3ebfe7ba3a0c0006068a9aa664d09244ba3cd438f2d56fab117bee1347", + "Provider unavailable": "ff2113958589f9bfb87b54f959be825d00ec5eca374d907bb343f98ebdbc84c3", "Provider version": "1f5ecefbd682ced2f438c8ae3c8849ba9effbe6cd77c19051cee2d2036ef9c90", "Provider warmup": "36ae143804c9a909bce770f54be5652b69b99ee7838cca99daa31e23d4d6d63c", "Provider was automatically rechecked after daemon restart.": "7bd8e8ee592f30e81adca8c96b079d6526846dc142bd99e5bbba3d9bebbde7a9", @@ -5398,6 +5405,8 @@ "Required for assigned teammates": "4732aa544a8d93b886e6bcbbcc5c3314af692f8a8a812efd4844cd3589b7b63a", "Required input": "fafaaf99b5a6af521026448890a9dacaf4d47053804a34be7cdf364e13637181", "Required input: {value}": "757166b8bf43ee39819f00d86fa61a84ddb3f3eba2a883c6bb996b8f82101d22", + "Required label": "5f623a5ad31f874a782d2205c9318ce524371a35d782b9a7021eab521c2fbbcd", + "Required label missing": "6913716764f8018414060c041e41a2951f5444efe5e97cd30a557be26403d1b1", "Required permissions": "edaffed36060c21e958b3fe562b7c57f51f67ba46326b1a9a5317a47b20e1747", "Required skill information is missing.": "e5cb742af5e92afab21f42c3edd4f5940db52a1c5320a9dd7236eca89a702789", "Required statuses": "c77453db9c939c7c7b8da080b0053847604126aefacf5a900d1d0fe30e4ba5ee", @@ -6407,6 +6416,7 @@ "Start an active Computer Use task first.": "1242a212935f863b51a7f3e8d16f12af408152d8047b274c5fef9fb7f1435f50", "Start autoplan": "7419a8efae15550dc21cccc23ca0a16c446e884842bfe48056af34a921175cb0", "Start background": "c690dc635cd0437e8911748d795084e5d32d0b75811490076285d41032d7300c", + "Start budget reached": "6b915cfb021a78ae6f8b4c1f2d9f40bbadcc486c04cbb00a807d52bfe78102ca", "Start by choosing a template or creating one manually.": "6a3ba02535ac7a0ab934b569a915927936dede63b4277ea4500e77c8835d4666", "Start child branch": "ee7b6caa5b4a1d3e8fd3ce47a26b42a4f2472834dfa17b2efc1864d0ed710948", "Start from a default role or blank teammate.": "1464ae64fd1ee987e353f53a2f9bab20053b2f0ae320c07839b7eecf710b8a96", @@ -6512,7 +6522,9 @@ "succeeded": "5dceaeceb6d8a49d3665594710ace68dfbc1800e2d663d7febb302b4dbee3d27", "Succeeded": "6d9a6f97a5fdaf3b90a0cf02e0b43d8b7ec1d05c0e4718e02ddd1c5b450e5b39", "Successfully generated {count} artifact based on the provided prompt.": "71f85e7639c004421f062f2dd6a129e5173931798f5d33b6f0482038b38a88fc", + "Suggest": "4effad823b048b0440dbeff42665f60a6ddec8e121c378966ed7c074a512c51f", "Suggest responsible owners based on context, decisions, and recent work.": "484eb4e21bcdd76a531a4234403ea29f0626094f9a2915b674f17e0b949be0a3", + "Suggested": "93b63bab4c3a28d73a8bb83bcdfdcc5f6ddecfc8fc702296ca159d94c5dc6e53", "Suggested next step": "78d74fd4ffec8d83a942e1274cfd15426b2b4bb2d96b15f905277638c339869e", "Suggested routing": "442b15c099c136738e26e139912a5f5d21e90216aade875a8db595b09c81fcbe", "Summaries": "87bc590e047d3df4a8e448ac83e371fad69dd73607752cccb0ff7d34263cef8f", @@ -7221,6 +7233,7 @@ "Untracked": "c7ba5477e19cf0bb25460d840cc2e67341e81e1c2d274d00b3054c73898d4d27", "unverified": "97b7e2db799e2b79e65f418b42a7d3054c95b2d3ab1dba243039597e44a38084", "Unverified": "33c8e8de41c3a35124251370e2a36e4d589f8789d80630abbbeceb933d3fb58f", + "Up to {concurrent} active and {starts} starts per {minutes} min": "cca43c28ef670fd5d55cb3bd813a2fef137043e4028096bcd2cdf22e2a06586b", "Up to date": "ce29b7f85b9eaf7dac52e625accb4b0cb56a856ebe9a9de9a09b613b6d978dca", "Update": "c1c1009d3f37ec058070a62e22caf9ac9dae2169d452487c5c271a8bcf57a291", "Update available": "ff8b555d818f0b25bbdd1bec8b479660bac7fc276acbe993e759bf67fed32c34", @@ -7548,6 +7561,7 @@ "Work intake, tool servers, and plugin bundles": "16b65a84c6fca2014b7e2d28b151bbf0afe19345230a0ac37304802311fed850", "Work is claimed": "c4b0d953436f2f59355d6540bae28e055ff49243f612887bbaed7bfd98c85d4d", "Work item ID": "1dcdad81d13850bd962965719f362fa7f32693b7b54fd8bb25d1e2402a470626", + "Work item paused": "299aabbf3c1418a3f01117e072d3bfe418e174bd1f355d1afdfae23c7b4bf678", "Work items": "5759a416f2b3b4ff92da23b8059419e06c39d27180b91a557f7cae779df3d2b6", "Work marked failed": "f26306888ed8c9a3808b8a420428f63e32d4c2223e7c9c89dd0a049806c539c6", "Work result": "19efe7487084061e9e358495b8a9bfd7e9d7c0035010e08ac35c14ba4ff8ca2a", @@ -8287,6 +8301,7 @@ "Allows": "Permite", "Allows commands starting with {command}": "Permite comandos que comienzan con {command}", "Already imported": "Ya importado", + "Already in work": "ya en el trabajo", "Also allow private memory and private chat queries remotely": "También permite consultas de memoria privada y chat privado de forma remota.", "Alternatives": "Alternativas", "Alternatives considered": "Alternativas consideradas", @@ -8547,6 +8562,7 @@ "Auto-start by default": "Auto-start by default", "Auto-start step": "Auto-start step", "Automatic": "Automático", + "Automatic intake": "Entrada automática", "Automatic learning is off": "El aprendizaje automático está desactivado", "Automatic parallel execution": "Automatic parallel execution", "Automatic proposals enabled": "Propuestas automáticas habilitadas", @@ -8975,6 +8991,7 @@ "Check failed": "Verificación fallida", "Check for changes": "Comprobar cambios", "Check for updates": "Buscar actualizaciones", + "Check GitHub inbox": "Revisa la bandeja de entrada de GitHub", "Check member status": "Verificar estado de miembro", "Check member status to load readiness.": "Verifique el estado del miembro para cargar la preparación.", "Check needed": "Cheque necesario", @@ -9282,6 +9299,7 @@ "Concise": "Conciso", "Concise, focused, direct.": "Conciso, centrado, directo.", "conclusion {conclusion}": "conclusión {conclusion}", + "Concurrent work limit reached": "Se alcanzó el límite de trabajo simultáneo", "Confidence": "Confianza", "Configuration": "Configuración", "Configuration digest": "Resumen de configuración", @@ -10658,6 +10676,7 @@ "github": "github", "GitHub": "GitHub", "GitHub CI triage": "Clasificación de GitHub CI", + "GitHub intake": "Consumo de GitHub", "GitHub MCP": "GitHub MCP", "GitHub not connected (GITHUB_TOKEN or GH_TOKEN)": "GitHub not connected (GITHUB_TOKEN or GH_TOKEN)", "GitHub unavailable; retry later": "GitHub unavailable; retry later", @@ -12537,6 +12556,7 @@ "Policy details": "Detalles de la póliza", "Policy narrows authority": "La política reduce la autoridad", "policy overlays": "superposiciones de políticas", + "Policy paused": "Política en pausa", "Policy review": "Revisión de políticas", "Policy snapshot artifact": "Artefacto de instantánea de política", "Poll once": "Encuesta una vez", @@ -12732,6 +12752,7 @@ "Provider state": "Estado del proveedor", "Provider templates": "Plantillas de proveedores", "Provider type": "Tipo de proveedor", + "Provider unavailable": "Proveedor no disponible", "Provider version": "Versión del proveedor", "Provider warmup": "Calentamiento del proveedor", "Provider was automatically rechecked after daemon restart.": "El proveedor se volvió a verificar automáticamente después del reinicio del demonio.", @@ -13117,6 +13138,8 @@ "Required for assigned teammates": "Requerido para los compañeros de equipo asignados", "Required input": "Entrada requerida", "Required input: {value}": "Entrada requerida: {value}", + "Required label": "Etiqueta requerida", + "Required label missing": "Falta la etiqueta requerida", "Required permissions": "Permisos requeridos", "Required skill information is missing.": "Falta la información de habilidades requerida.", "Required statuses": "Required statuses", @@ -14126,6 +14149,7 @@ "Start an active Computer Use task first.": "Primero inicie una tarea Computer Use activa.", "Start autoplan": "Iniciar plan automático", "Start background": "Fondo de inicio", + "Start budget reached": "Presupuesto inicial alcanzado", "Start by choosing a template or creating one manually.": "Comience eligiendo una plantilla o creando una manualmente.", "Start child branch": "Iniciar rama secundaria", "Start from a default role or blank teammate.": "Comience desde un rol predeterminado o un compañero de equipo en blanco.", @@ -14231,7 +14255,9 @@ "succeeded": "tuvo éxito", "Succeeded": "Tuvo éxito", "Successfully generated {count} artifact based on the provided prompt.": "Se generó correctamente el artefacto {count} según el mensaje proporcionado.", + "Suggest": "Sugerir", "Suggest responsible owners based on context, decisions, and recent work.": "Sugiera propietarios responsables según el contexto, las decisiones y el trabajo reciente.", + "Suggested": "sugerido", "Suggested next step": "Siguiente paso sugerido", "Suggested routing": "Ruta sugerida", "Summaries": "Resúmenes", @@ -14940,6 +14966,7 @@ "Untracked": "Sin seguimiento", "unverified": "inconfirmado", "Unverified": "Inconfirmado", + "Up to {concurrent} active and {starts} starts per {minutes} min": "Hasta {concurrent} activos y {starts} inicios por {minutes} min", "Up to date": "A hoy", "Update": "Actualizar", "Update available": "Actualización disponible", @@ -15267,6 +15294,7 @@ "Work intake, tool servers, and plugin bundles": "Entrada de trabajo, servidores de herramientas y paquetes de complementos", "Work is claimed": "Se reclama trabajo", "Work item ID": "Elemento de trabajo ID", + "Work item paused": "Elemento de trabajo en pausa", "Work items": "Elementos de trabajo", "Work marked failed": "Trabajo marcado como fallido", "Work result": "Resultado del trabajo", diff --git a/packages/localization/catalogs/es-ES.json b/packages/localization/catalogs/es-ES.json index 8ce188b2d..9a8c614e1 100644 --- a/packages/localization/catalogs/es-ES.json +++ b/packages/localization/catalogs/es-ES.json @@ -1,6 +1,6 @@ { "locale": "es-ES", - "sourceRevision": "214db76d79f1a5c0fd915c110a2ead6dbb978b58398846e982a0c1ff0cb53108", + "sourceRevision": "6468d2af71d2feb60f9b8c5f37bc2a3ff1177fb2c8b0d65e85002de6b1095cbb", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -568,6 +568,7 @@ "Allows": "8b1d52d202522d89fe65fb00e505abab46dc200a88c0be5d468a2a7e6dce9ccf", "Allows commands starting with {command}": "f5c5d446a6850880ae79768c175bacaf2bc487f715d5768d0b225eb643e3ce07", "Already imported": "e47fafe0a1c6f8d6b5c641c5d9cc7ca61e66a1c50bbc3b619c8ff5912444bfa8", + "Already in work": "ae40a6ff362406d9f1fdc40ad79cea7bd1705e6e173b2267f2a310777aedb387", "Also allow private memory and private chat queries remotely": "0b6b2ba6882b67c8b5b79f0f07964588232be1a9e520011e19bbea224c59a913", "Alternatives": "41055f72edad1559b8ba43440cd7938eb73685930c7141fede9b95000fd41299", "Alternatives considered": "73534cb410e6191096c7fa7ca56ba066f90b4fdede8677d64bc98068804afa3c", @@ -828,6 +829,7 @@ "Auto-start by default": "403861dc8396a3ea666e143d33e0429d3c26721771abf3face351259eee9b28f", "Auto-start step": "2bf61e4807ad3bf6ebc934bf54e917d5b3a87295001826be3a7dd57c7e75cc8d", "Automatic": "d461a493a3753877c9486cffa3444265a33370af8a7fff242fb119b71750839c", + "Automatic intake": "6eed82b223c717114773803e9d9d90d6d3cde9579bf264647347e559817a5081", "Automatic learning is off": "8ba1b4a02530490260a7b8e748e0809ddc3885213a009f3896264bc665060bdd", "Automatic parallel execution": "63d058c173c4a148a14094327c26d9af2c5bde1779c91dbf0d913e90b0687be9", "Automatic proposals enabled": "db670932d259eeedd26de8d7ca836594d5f3861ff24e1f94170c7333676c157a", @@ -1256,6 +1258,7 @@ "Check failed": "c8813c1128d545bfe7e7458ae24d724447097b3518643f86fa3e532f88e9fb40", "Check for changes": "5da755d1690f58c1c822a4b85422734bacc2122c7c67f4e8617f0765ac835113", "Check for updates": "f26f3275e735bdf6268532ca7cbea3887c9adad21d8df74e84b2bc7791475c0d", + "Check GitHub inbox": "51cd97da0bc2b213621668f69168386eaee18bdae064041094187404c9fc71ee", "Check member status": "ff155af014d0b6e94cbf2fca3b01cf8d5725732f178eee985083478adb4a62f5", "Check member status to load readiness.": "6f7f338e22e626b134643fbaec898cf8e8efd19b85eeb6193b4ca0d5d63c4528", "Check needed": "561a32f0c83e5a4fe8d77d891bd4b954d514ea021b4a18e68a3607f5d8747841", @@ -1563,6 +1566,7 @@ "Concise": "8340d833ab72d3321b07af0184597743b010e142b39593cebb450d4227e62f0c", "Concise, focused, direct.": "e9cb028d2d79111476e9c8ea1562b7f6275fd39d43abf410338d7c0ae2fff5a5", "conclusion {conclusion}": "dc328d7e11ecbdc61fa90fc18e3ced70b794ca55dcc476d03c88eff72f16274d", + "Concurrent work limit reached": "f60d0f2d4a9ba0c57c7e7835bd52a1912f39581799f2babb636d190317a96b54", "Confidence": "6422e3e78f5e5f5a15e92cc57ed7114adb289339251031ccb526d9249437dc82", "Configuration": "b332c3492d5eb10a118eb6d8b0dcd689bc2477ce2ae16b303753b942b54377bc", "Configuration digest": "5bbf2d321122a5a57d36c77291d232d51f9ae9a1655e80f042727754aea15bfe", @@ -2939,6 +2943,7 @@ "github": "c0b0109d9439de57fe3cf03abeccbc52f4c98170c732d3b69af5e6395ace574e", "GitHub": "f911e414cf6bdfc595532ab166b5ba0f63d73c021452fcdacbda363dda6ad8fb", "GitHub CI triage": "6a2368ce3943b296b07b5241227baf2a863d3f50f8a46ddb0889cbb5045ccd84", + "GitHub intake": "064829c63fcbc74d45753e04f583c69a391d25d4ed334de3b69fa2720f733cb1", "GitHub MCP": "408b061889ef672152b51ce8dbd56216d1b7e97303429b59538b99fe663c6f04", "GitHub not connected (GITHUB_TOKEN or GH_TOKEN)": "1cb239b6b5ea26422b411a25d3a4e254cdf45b7e730eb91b976a36f12adeb21b", "GitHub unavailable; retry later": "33b2cec76eccd24c4d8d61c265de8b06a6a20820ab1fccdcb433a22903909d02", @@ -4818,6 +4823,7 @@ "Policy details": "00e33950cacf32a39cc25f71ccb1650c4c788c12816e07681d80f0fdc537be98", "Policy narrows authority": "e9e2012e5ac96664fb03ff0f81f4f49cb5b8ee069149139352e7c89b73e43baa", "policy overlays": "db26199cf2a47a948b45caf37b4d50ede3ef415fad6c940cfe56a118970fcefb", + "Policy paused": "11fc11eaf385253466e26bac9916425e1e009695cd40adc4c7a132366d187518", "Policy review": "1cf67fef927c77770a1fcd8b20982b24b15cc0b6f1e8b56265d87baff019dd7e", "Policy snapshot artifact": "7f8b2985d498316ac01fa5f2276d2556cab712b4c8bc2b93e16dfc1353e23a77", "Poll once": "c7e7d724ff87555fb857467569ce709d958ee2d5d1ab2cc890554c7605e86e78", @@ -5013,6 +5019,7 @@ "Provider state": "633d1ca46603e61fc3d39459c1414102a27bbc4ba0adfb0b22ba5a205c2b9815", "Provider templates": "1e8649b7c667a6afc6dc88cbdb3069e349e850466cf3efa57eeedab9b70486f7", "Provider type": "8c0f6d3ebfe7ba3a0c0006068a9aa664d09244ba3cd438f2d56fab117bee1347", + "Provider unavailable": "ff2113958589f9bfb87b54f959be825d00ec5eca374d907bb343f98ebdbc84c3", "Provider version": "1f5ecefbd682ced2f438c8ae3c8849ba9effbe6cd77c19051cee2d2036ef9c90", "Provider warmup": "36ae143804c9a909bce770f54be5652b69b99ee7838cca99daa31e23d4d6d63c", "Provider was automatically rechecked after daemon restart.": "7bd8e8ee592f30e81adca8c96b079d6526846dc142bd99e5bbba3d9bebbde7a9", @@ -5398,6 +5405,8 @@ "Required for assigned teammates": "4732aa544a8d93b886e6bcbbcc5c3314af692f8a8a812efd4844cd3589b7b63a", "Required input": "fafaaf99b5a6af521026448890a9dacaf4d47053804a34be7cdf364e13637181", "Required input: {value}": "757166b8bf43ee39819f00d86fa61a84ddb3f3eba2a883c6bb996b8f82101d22", + "Required label": "5f623a5ad31f874a782d2205c9318ce524371a35d782b9a7021eab521c2fbbcd", + "Required label missing": "6913716764f8018414060c041e41a2951f5444efe5e97cd30a557be26403d1b1", "Required permissions": "edaffed36060c21e958b3fe562b7c57f51f67ba46326b1a9a5317a47b20e1747", "Required skill information is missing.": "e5cb742af5e92afab21f42c3edd4f5940db52a1c5320a9dd7236eca89a702789", "Required statuses": "c77453db9c939c7c7b8da080b0053847604126aefacf5a900d1d0fe30e4ba5ee", @@ -6407,6 +6416,7 @@ "Start an active Computer Use task first.": "1242a212935f863b51a7f3e8d16f12af408152d8047b274c5fef9fb7f1435f50", "Start autoplan": "7419a8efae15550dc21cccc23ca0a16c446e884842bfe48056af34a921175cb0", "Start background": "c690dc635cd0437e8911748d795084e5d32d0b75811490076285d41032d7300c", + "Start budget reached": "6b915cfb021a78ae6f8b4c1f2d9f40bbadcc486c04cbb00a807d52bfe78102ca", "Start by choosing a template or creating one manually.": "6a3ba02535ac7a0ab934b569a915927936dede63b4277ea4500e77c8835d4666", "Start child branch": "ee7b6caa5b4a1d3e8fd3ce47a26b42a4f2472834dfa17b2efc1864d0ed710948", "Start from a default role or blank teammate.": "1464ae64fd1ee987e353f53a2f9bab20053b2f0ae320c07839b7eecf710b8a96", @@ -6512,7 +6522,9 @@ "succeeded": "5dceaeceb6d8a49d3665594710ace68dfbc1800e2d663d7febb302b4dbee3d27", "Succeeded": "6d9a6f97a5fdaf3b90a0cf02e0b43d8b7ec1d05c0e4718e02ddd1c5b450e5b39", "Successfully generated {count} artifact based on the provided prompt.": "71f85e7639c004421f062f2dd6a129e5173931798f5d33b6f0482038b38a88fc", + "Suggest": "4effad823b048b0440dbeff42665f60a6ddec8e121c378966ed7c074a512c51f", "Suggest responsible owners based on context, decisions, and recent work.": "484eb4e21bcdd76a531a4234403ea29f0626094f9a2915b674f17e0b949be0a3", + "Suggested": "93b63bab4c3a28d73a8bb83bcdfdcc5f6ddecfc8fc702296ca159d94c5dc6e53", "Suggested next step": "78d74fd4ffec8d83a942e1274cfd15426b2b4bb2d96b15f905277638c339869e", "Suggested routing": "442b15c099c136738e26e139912a5f5d21e90216aade875a8db595b09c81fcbe", "Summaries": "87bc590e047d3df4a8e448ac83e371fad69dd73607752cccb0ff7d34263cef8f", @@ -7221,6 +7233,7 @@ "Untracked": "c7ba5477e19cf0bb25460d840cc2e67341e81e1c2d274d00b3054c73898d4d27", "unverified": "97b7e2db799e2b79e65f418b42a7d3054c95b2d3ab1dba243039597e44a38084", "Unverified": "33c8e8de41c3a35124251370e2a36e4d589f8789d80630abbbeceb933d3fb58f", + "Up to {concurrent} active and {starts} starts per {minutes} min": "cca43c28ef670fd5d55cb3bd813a2fef137043e4028096bcd2cdf22e2a06586b", "Up to date": "ce29b7f85b9eaf7dac52e625accb4b0cb56a856ebe9a9de9a09b613b6d978dca", "Update": "c1c1009d3f37ec058070a62e22caf9ac9dae2169d452487c5c271a8bcf57a291", "Update available": "ff8b555d818f0b25bbdd1bec8b479660bac7fc276acbe993e759bf67fed32c34", @@ -7548,6 +7561,7 @@ "Work intake, tool servers, and plugin bundles": "16b65a84c6fca2014b7e2d28b151bbf0afe19345230a0ac37304802311fed850", "Work is claimed": "c4b0d953436f2f59355d6540bae28e055ff49243f612887bbaed7bfd98c85d4d", "Work item ID": "1dcdad81d13850bd962965719f362fa7f32693b7b54fd8bb25d1e2402a470626", + "Work item paused": "299aabbf3c1418a3f01117e072d3bfe418e174bd1f355d1afdfae23c7b4bf678", "Work items": "5759a416f2b3b4ff92da23b8059419e06c39d27180b91a557f7cae779df3d2b6", "Work marked failed": "f26306888ed8c9a3808b8a420428f63e32d4c2223e7c9c89dd0a049806c539c6", "Work result": "19efe7487084061e9e358495b8a9bfd7e9d7c0035010e08ac35c14ba4ff8ca2a", @@ -8287,6 +8301,7 @@ "Allows": "Permite", "Allows commands starting with {command}": "Permite comandos que comienzan con {command}", "Already imported": "Ya importado", + "Already in work": "ya en el trabajo", "Also allow private memory and private chat queries remotely": "También permite consultas de memoria privada y chat privado de forma remota.", "Alternatives": "Alternativas", "Alternatives considered": "Alternativas consideradas", @@ -8547,6 +8562,7 @@ "Auto-start by default": "Auto-start by default", "Auto-start step": "Auto-start step", "Automatic": "Automático", + "Automatic intake": "Entrada automática", "Automatic learning is off": "El aprendizaje automático está desactivado", "Automatic parallel execution": "Automatic parallel execution", "Automatic proposals enabled": "Propuestas automáticas habilitadas", @@ -8975,6 +8991,7 @@ "Check failed": "Verificación fallida", "Check for changes": "Comprobar cambios", "Check for updates": "Buscar actualizaciones", + "Check GitHub inbox": "Revisa la bandeja de entrada de GitHub", "Check member status": "Verificar estado de miembro", "Check member status to load readiness.": "Verifique el estado del miembro para cargar la preparación.", "Check needed": "Cheque necesario", @@ -9282,6 +9299,7 @@ "Concise": "Conciso", "Concise, focused, direct.": "Conciso, centrado, directo.", "conclusion {conclusion}": "conclusión {conclusion}", + "Concurrent work limit reached": "Se alcanzó el límite de trabajo simultáneo", "Confidence": "Confianza", "Configuration": "Configuración", "Configuration digest": "Resumen de configuración", @@ -10658,6 +10676,7 @@ "github": "github", "GitHub": "GitHub", "GitHub CI triage": "Clasificación de GitHub CI", + "GitHub intake": "Consumo de GitHub", "GitHub MCP": "GitHub MCP", "GitHub not connected (GITHUB_TOKEN or GH_TOKEN)": "GitHub not connected (GITHUB_TOKEN or GH_TOKEN)", "GitHub unavailable; retry later": "GitHub unavailable; retry later", @@ -12537,6 +12556,7 @@ "Policy details": "Detalles de la póliza", "Policy narrows authority": "La política reduce la autoridad", "policy overlays": "superposiciones de políticas", + "Policy paused": "Política en pausa", "Policy review": "Revisión de políticas", "Policy snapshot artifact": "Artefacto de instantánea de política", "Poll once": "Encuesta una vez", @@ -12732,6 +12752,7 @@ "Provider state": "Estado del proveedor", "Provider templates": "Plantillas de proveedores", "Provider type": "Tipo de proveedor", + "Provider unavailable": "Proveedor no disponible", "Provider version": "Versión del proveedor", "Provider warmup": "Calentamiento del proveedor", "Provider was automatically rechecked after daemon restart.": "El proveedor se volvió a verificar automáticamente después del reinicio del demonio.", @@ -13117,6 +13138,8 @@ "Required for assigned teammates": "Requerido para los compañeros de equipo asignados", "Required input": "Entrada requerida", "Required input: {value}": "Entrada requerida: {value}", + "Required label": "Etiqueta requerida", + "Required label missing": "Falta la etiqueta requerida", "Required permissions": "Permisos requeridos", "Required skill information is missing.": "Falta la información de habilidades requerida.", "Required statuses": "Required statuses", @@ -14126,6 +14149,7 @@ "Start an active Computer Use task first.": "Primero inicie una tarea Computer Use activa.", "Start autoplan": "Iniciar plan automático", "Start background": "Fondo de inicio", + "Start budget reached": "Presupuesto inicial alcanzado", "Start by choosing a template or creating one manually.": "Comience eligiendo una plantilla o creando una manualmente.", "Start child branch": "Iniciar rama secundaria", "Start from a default role or blank teammate.": "Comience desde un rol predeterminado o un compañero de equipo en blanco.", @@ -14231,7 +14255,9 @@ "succeeded": "tuvo éxito", "Succeeded": "Tuvo éxito", "Successfully generated {count} artifact based on the provided prompt.": "Se generó correctamente el artefacto {count} según el mensaje proporcionado.", + "Suggest": "Sugerir", "Suggest responsible owners based on context, decisions, and recent work.": "Sugiera propietarios responsables según el contexto, las decisiones y el trabajo reciente.", + "Suggested": "sugerido", "Suggested next step": "Siguiente paso sugerido", "Suggested routing": "Ruta sugerida", "Summaries": "Resúmenes", @@ -14940,6 +14966,7 @@ "Untracked": "Sin seguimiento", "unverified": "inconfirmado", "Unverified": "Inconfirmado", + "Up to {concurrent} active and {starts} starts per {minutes} min": "Hasta {concurrent} activos y {starts} inicios por {minutes} min", "Up to date": "A hoy", "Update": "Actualizar", "Update available": "Actualización disponible", @@ -15267,6 +15294,7 @@ "Work intake, tool servers, and plugin bundles": "Entrada de trabajo, servidores de herramientas y paquetes de complementos", "Work is claimed": "Se reclama trabajo", "Work item ID": "Elemento de trabajo ID", + "Work item paused": "Elemento de trabajo en pausa", "Work items": "Elementos de trabajo", "Work marked failed": "Trabajo marcado como fallido", "Work result": "Resultado del trabajo", diff --git a/packages/localization/catalogs/et-EE.json b/packages/localization/catalogs/et-EE.json index e72698db3..5ea99c14f 100644 --- a/packages/localization/catalogs/et-EE.json +++ b/packages/localization/catalogs/et-EE.json @@ -1,6 +1,6 @@ { "locale": "et-EE", - "sourceRevision": "214db76d79f1a5c0fd915c110a2ead6dbb978b58398846e982a0c1ff0cb53108", + "sourceRevision": "6468d2af71d2feb60f9b8c5f37bc2a3ff1177fb2c8b0d65e85002de6b1095cbb", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -568,6 +568,7 @@ "Allows": "8b1d52d202522d89fe65fb00e505abab46dc200a88c0be5d468a2a7e6dce9ccf", "Allows commands starting with {command}": "f5c5d446a6850880ae79768c175bacaf2bc487f715d5768d0b225eb643e3ce07", "Already imported": "e47fafe0a1c6f8d6b5c641c5d9cc7ca61e66a1c50bbc3b619c8ff5912444bfa8", + "Already in work": "ae40a6ff362406d9f1fdc40ad79cea7bd1705e6e173b2267f2a310777aedb387", "Also allow private memory and private chat queries remotely": "0b6b2ba6882b67c8b5b79f0f07964588232be1a9e520011e19bbea224c59a913", "Alternatives": "41055f72edad1559b8ba43440cd7938eb73685930c7141fede9b95000fd41299", "Alternatives considered": "73534cb410e6191096c7fa7ca56ba066f90b4fdede8677d64bc98068804afa3c", @@ -828,6 +829,7 @@ "Auto-start by default": "403861dc8396a3ea666e143d33e0429d3c26721771abf3face351259eee9b28f", "Auto-start step": "2bf61e4807ad3bf6ebc934bf54e917d5b3a87295001826be3a7dd57c7e75cc8d", "Automatic": "d461a493a3753877c9486cffa3444265a33370af8a7fff242fb119b71750839c", + "Automatic intake": "6eed82b223c717114773803e9d9d90d6d3cde9579bf264647347e559817a5081", "Automatic learning is off": "8ba1b4a02530490260a7b8e748e0809ddc3885213a009f3896264bc665060bdd", "Automatic parallel execution": "63d058c173c4a148a14094327c26d9af2c5bde1779c91dbf0d913e90b0687be9", "Automatic proposals enabled": "db670932d259eeedd26de8d7ca836594d5f3861ff24e1f94170c7333676c157a", @@ -1256,6 +1258,7 @@ "Check failed": "c8813c1128d545bfe7e7458ae24d724447097b3518643f86fa3e532f88e9fb40", "Check for changes": "5da755d1690f58c1c822a4b85422734bacc2122c7c67f4e8617f0765ac835113", "Check for updates": "f26f3275e735bdf6268532ca7cbea3887c9adad21d8df74e84b2bc7791475c0d", + "Check GitHub inbox": "51cd97da0bc2b213621668f69168386eaee18bdae064041094187404c9fc71ee", "Check member status": "ff155af014d0b6e94cbf2fca3b01cf8d5725732f178eee985083478adb4a62f5", "Check member status to load readiness.": "6f7f338e22e626b134643fbaec898cf8e8efd19b85eeb6193b4ca0d5d63c4528", "Check needed": "561a32f0c83e5a4fe8d77d891bd4b954d514ea021b4a18e68a3607f5d8747841", @@ -1563,6 +1566,7 @@ "Concise": "8340d833ab72d3321b07af0184597743b010e142b39593cebb450d4227e62f0c", "Concise, focused, direct.": "e9cb028d2d79111476e9c8ea1562b7f6275fd39d43abf410338d7c0ae2fff5a5", "conclusion {conclusion}": "dc328d7e11ecbdc61fa90fc18e3ced70b794ca55dcc476d03c88eff72f16274d", + "Concurrent work limit reached": "f60d0f2d4a9ba0c57c7e7835bd52a1912f39581799f2babb636d190317a96b54", "Confidence": "6422e3e78f5e5f5a15e92cc57ed7114adb289339251031ccb526d9249437dc82", "Configuration": "b332c3492d5eb10a118eb6d8b0dcd689bc2477ce2ae16b303753b942b54377bc", "Configuration digest": "5bbf2d321122a5a57d36c77291d232d51f9ae9a1655e80f042727754aea15bfe", @@ -2939,6 +2943,7 @@ "github": "c0b0109d9439de57fe3cf03abeccbc52f4c98170c732d3b69af5e6395ace574e", "GitHub": "f911e414cf6bdfc595532ab166b5ba0f63d73c021452fcdacbda363dda6ad8fb", "GitHub CI triage": "6a2368ce3943b296b07b5241227baf2a863d3f50f8a46ddb0889cbb5045ccd84", + "GitHub intake": "064829c63fcbc74d45753e04f583c69a391d25d4ed334de3b69fa2720f733cb1", "GitHub MCP": "408b061889ef672152b51ce8dbd56216d1b7e97303429b59538b99fe663c6f04", "GitHub not connected (GITHUB_TOKEN or GH_TOKEN)": "1cb239b6b5ea26422b411a25d3a4e254cdf45b7e730eb91b976a36f12adeb21b", "GitHub unavailable; retry later": "33b2cec76eccd24c4d8d61c265de8b06a6a20820ab1fccdcb433a22903909d02", @@ -4818,6 +4823,7 @@ "Policy details": "00e33950cacf32a39cc25f71ccb1650c4c788c12816e07681d80f0fdc537be98", "Policy narrows authority": "e9e2012e5ac96664fb03ff0f81f4f49cb5b8ee069149139352e7c89b73e43baa", "policy overlays": "db26199cf2a47a948b45caf37b4d50ede3ef415fad6c940cfe56a118970fcefb", + "Policy paused": "11fc11eaf385253466e26bac9916425e1e009695cd40adc4c7a132366d187518", "Policy review": "1cf67fef927c77770a1fcd8b20982b24b15cc0b6f1e8b56265d87baff019dd7e", "Policy snapshot artifact": "7f8b2985d498316ac01fa5f2276d2556cab712b4c8bc2b93e16dfc1353e23a77", "Poll once": "c7e7d724ff87555fb857467569ce709d958ee2d5d1ab2cc890554c7605e86e78", @@ -5013,6 +5019,7 @@ "Provider state": "633d1ca46603e61fc3d39459c1414102a27bbc4ba0adfb0b22ba5a205c2b9815", "Provider templates": "1e8649b7c667a6afc6dc88cbdb3069e349e850466cf3efa57eeedab9b70486f7", "Provider type": "8c0f6d3ebfe7ba3a0c0006068a9aa664d09244ba3cd438f2d56fab117bee1347", + "Provider unavailable": "ff2113958589f9bfb87b54f959be825d00ec5eca374d907bb343f98ebdbc84c3", "Provider version": "1f5ecefbd682ced2f438c8ae3c8849ba9effbe6cd77c19051cee2d2036ef9c90", "Provider warmup": "36ae143804c9a909bce770f54be5652b69b99ee7838cca99daa31e23d4d6d63c", "Provider was automatically rechecked after daemon restart.": "7bd8e8ee592f30e81adca8c96b079d6526846dc142bd99e5bbba3d9bebbde7a9", @@ -5398,6 +5405,8 @@ "Required for assigned teammates": "4732aa544a8d93b886e6bcbbcc5c3314af692f8a8a812efd4844cd3589b7b63a", "Required input": "fafaaf99b5a6af521026448890a9dacaf4d47053804a34be7cdf364e13637181", "Required input: {value}": "757166b8bf43ee39819f00d86fa61a84ddb3f3eba2a883c6bb996b8f82101d22", + "Required label": "5f623a5ad31f874a782d2205c9318ce524371a35d782b9a7021eab521c2fbbcd", + "Required label missing": "6913716764f8018414060c041e41a2951f5444efe5e97cd30a557be26403d1b1", "Required permissions": "edaffed36060c21e958b3fe562b7c57f51f67ba46326b1a9a5317a47b20e1747", "Required skill information is missing.": "e5cb742af5e92afab21f42c3edd4f5940db52a1c5320a9dd7236eca89a702789", "Required statuses": "c77453db9c939c7c7b8da080b0053847604126aefacf5a900d1d0fe30e4ba5ee", @@ -6407,6 +6416,7 @@ "Start an active Computer Use task first.": "1242a212935f863b51a7f3e8d16f12af408152d8047b274c5fef9fb7f1435f50", "Start autoplan": "7419a8efae15550dc21cccc23ca0a16c446e884842bfe48056af34a921175cb0", "Start background": "c690dc635cd0437e8911748d795084e5d32d0b75811490076285d41032d7300c", + "Start budget reached": "6b915cfb021a78ae6f8b4c1f2d9f40bbadcc486c04cbb00a807d52bfe78102ca", "Start by choosing a template or creating one manually.": "6a3ba02535ac7a0ab934b569a915927936dede63b4277ea4500e77c8835d4666", "Start child branch": "ee7b6caa5b4a1d3e8fd3ce47a26b42a4f2472834dfa17b2efc1864d0ed710948", "Start from a default role or blank teammate.": "1464ae64fd1ee987e353f53a2f9bab20053b2f0ae320c07839b7eecf710b8a96", @@ -6512,7 +6522,9 @@ "succeeded": "5dceaeceb6d8a49d3665594710ace68dfbc1800e2d663d7febb302b4dbee3d27", "Succeeded": "6d9a6f97a5fdaf3b90a0cf02e0b43d8b7ec1d05c0e4718e02ddd1c5b450e5b39", "Successfully generated {count} artifact based on the provided prompt.": "71f85e7639c004421f062f2dd6a129e5173931798f5d33b6f0482038b38a88fc", + "Suggest": "4effad823b048b0440dbeff42665f60a6ddec8e121c378966ed7c074a512c51f", "Suggest responsible owners based on context, decisions, and recent work.": "484eb4e21bcdd76a531a4234403ea29f0626094f9a2915b674f17e0b949be0a3", + "Suggested": "93b63bab4c3a28d73a8bb83bcdfdcc5f6ddecfc8fc702296ca159d94c5dc6e53", "Suggested next step": "78d74fd4ffec8d83a942e1274cfd15426b2b4bb2d96b15f905277638c339869e", "Suggested routing": "442b15c099c136738e26e139912a5f5d21e90216aade875a8db595b09c81fcbe", "Summaries": "87bc590e047d3df4a8e448ac83e371fad69dd73607752cccb0ff7d34263cef8f", @@ -7221,6 +7233,7 @@ "Untracked": "c7ba5477e19cf0bb25460d840cc2e67341e81e1c2d274d00b3054c73898d4d27", "unverified": "97b7e2db799e2b79e65f418b42a7d3054c95b2d3ab1dba243039597e44a38084", "Unverified": "33c8e8de41c3a35124251370e2a36e4d589f8789d80630abbbeceb933d3fb58f", + "Up to {concurrent} active and {starts} starts per {minutes} min": "cca43c28ef670fd5d55cb3bd813a2fef137043e4028096bcd2cdf22e2a06586b", "Up to date": "ce29b7f85b9eaf7dac52e625accb4b0cb56a856ebe9a9de9a09b613b6d978dca", "Update": "c1c1009d3f37ec058070a62e22caf9ac9dae2169d452487c5c271a8bcf57a291", "Update available": "ff8b555d818f0b25bbdd1bec8b479660bac7fc276acbe993e759bf67fed32c34", @@ -7548,6 +7561,7 @@ "Work intake, tool servers, and plugin bundles": "16b65a84c6fca2014b7e2d28b151bbf0afe19345230a0ac37304802311fed850", "Work is claimed": "c4b0d953436f2f59355d6540bae28e055ff49243f612887bbaed7bfd98c85d4d", "Work item ID": "1dcdad81d13850bd962965719f362fa7f32693b7b54fd8bb25d1e2402a470626", + "Work item paused": "299aabbf3c1418a3f01117e072d3bfe418e174bd1f355d1afdfae23c7b4bf678", "Work items": "5759a416f2b3b4ff92da23b8059419e06c39d27180b91a557f7cae779df3d2b6", "Work marked failed": "f26306888ed8c9a3808b8a420428f63e32d4c2223e7c9c89dd0a049806c539c6", "Work result": "19efe7487084061e9e358495b8a9bfd7e9d7c0035010e08ac35c14ba4ff8ca2a", @@ -8287,6 +8301,7 @@ "Allows": "Võimaldab", "Allows commands starting with {command}": "Lubab käsud, mis algavad {command}", "Already imported": "Juba imporditud", + "Already in work": "Juba tööl", "Also allow private memory and private chat queries remotely": "Lubage ka privaatmälu ja privaatsed vestluspäringud eemalt", "Alternatives": "Alternatiivid", "Alternatives considered": "Kaalutud alternatiive", @@ -8547,6 +8562,7 @@ "Auto-start by default": "Auto-start by default", "Auto-start step": "Auto-start step", "Automatic": "Automaatne", + "Automatic intake": "Automaatne sissevõtt", "Automatic learning is off": "Automaatne õppimine on välja lülitatud", "Automatic parallel execution": "Automatic parallel execution", "Automatic proposals enabled": "Automaatsed ettepanekud on lubatud", @@ -8975,6 +8991,7 @@ "Check failed": "Kontroll ebaõnnestus", "Check for changes": "Kontrollige muudatusi", "Check for updates": "Kontrollige värskendusi", + "Check GitHub inbox": "Kontrollige GitHubi postkasti", "Check member status": "Kontrollige liikmestaatust", "Check member status to load readiness.": "Kontrollige laadimisvalmiduse liikmestaatust.", "Check needed": "Vajalik kontroll", @@ -9282,6 +9299,7 @@ "Concise": "Kokkuvõtlik", "Concise, focused, direct.": "Lühike, keskendunud, otsekohene.", "conclusion {conclusion}": "järeldus {conclusion}", + "Concurrent work limit reached": "Samaaegse töö limiit on täis", "Confidence": "Usaldus", "Configuration": "Seadistamine", "Configuration digest": "Konfiguratsiooni kokkuvõte", @@ -10658,6 +10676,7 @@ "github": "github", "GitHub": "GitHub", "GitHub CI triage": "GitHub CI triaaž", + "GitHub intake": "GitHubi sissevõtt", "GitHub MCP": "GitHub MCP", "GitHub not connected (GITHUB_TOKEN or GH_TOKEN)": "GitHub not connected (GITHUB_TOKEN or GH_TOKEN)", "GitHub unavailable; retry later": "GitHub unavailable; retry later", @@ -12537,6 +12556,7 @@ "Policy details": "Poliitika üksikasjad", "Policy narrows authority": "Poliitika kitsendab autoriteeti", "policy overlays": "poliitika ülekatted", + "Policy paused": "Eeskiri on peatatud", "Policy review": "Poliitika ülevaade", "Policy snapshot artifact": "Eeskirjade hetktõmmise artefakt", "Poll once": "Küsitlus üks kord", @@ -12732,6 +12752,7 @@ "Provider state": "Pakkuja olek", "Provider templates": "Pakkuja mallid", "Provider type": "Pakkuja tüüp", + "Provider unavailable": "Pakkuja pole saadaval", "Provider version": "Pakkuja versioon", "Provider warmup": "Pakkuja soojendus", "Provider was automatically rechecked after daemon restart.": "Pakkujat kontrolliti pärast deemoni taaskäivitamist automaatselt uuesti.", @@ -13117,6 +13138,8 @@ "Required for assigned teammates": "Nõutav määratud meeskonnakaaslastele", "Required input": "Nõutav sisend", "Required input: {value}": "Nõutav sisend: {value}", + "Required label": "Nõutav silt", + "Required label missing": "Vajalik silt puudub", "Required permissions": "Nõutavad load", "Required skill information is missing.": "Nõutavate oskuste teave puudub.", "Required statuses": "Required statuses", @@ -14126,6 +14149,7 @@ "Start an active Computer Use task first.": "Alustage esmalt aktiivset Computer Use ülesannet.", "Start autoplan": "Käivitage automaatplaan", "Start background": "Alusta taustast", + "Start budget reached": "Algeelarve on täis", "Start by choosing a template or creating one manually.": "Alustage malli valimisega või looge see käsitsi.", "Start child branch": "Alusta alamharu", "Start from a default role or blank teammate.": "Alustage vaikerollist või tühjast meeskonnakaaslasest.", @@ -14231,7 +14255,9 @@ "succeeded": "õnnestus", "Succeeded": "Õnnestus", "Successfully generated {count} artifact based on the provided prompt.": "Esitatud viiba põhjal loodi edukalt {count} artefakt.", + "Suggest": "Soovita", "Suggest responsible owners based on context, decisions, and recent work.": "Soovitage vastutustundlikke omanikke konteksti, otsuste ja hiljutise töö põhjal.", + "Suggested": "Soovitatud", "Suggested next step": "Soovitatav järgmine samm", "Suggested routing": "Soovitatav marsruutimine", "Summaries": "Kokkuvõtted", @@ -14940,6 +14966,7 @@ "Untracked": "Jälgimata", "unverified": "kontrollimata", "Unverified": "Kinnitamata", + "Up to {concurrent} active and {starts} starts per {minutes} min": "Kuni {concurrent} aktiivne ja {starts} käivitub {minutes} min", "Up to date": "Ajakohane", "Update": "Värskenda", "Update available": "Värskendus saadaval", @@ -15267,6 +15294,7 @@ "Work intake, tool servers, and plugin bundles": "Töövõtt, tööriistaserverid ja pistikprogrammide komplektid", "Work is claimed": "Tööd nõutakse", "Work item ID": "Tööese ID", + "Work item paused": "Tööüksus peatatud", "Work items": "Tööesemed", "Work marked failed": "Ebaõnnestunud töö märgitud", "Work result": "Töö tulemus", diff --git a/packages/localization/catalogs/fi-FI.json b/packages/localization/catalogs/fi-FI.json index 35294bb9e..b7caf622f 100644 --- a/packages/localization/catalogs/fi-FI.json +++ b/packages/localization/catalogs/fi-FI.json @@ -1,6 +1,6 @@ { "locale": "fi-FI", - "sourceRevision": "214db76d79f1a5c0fd915c110a2ead6dbb978b58398846e982a0c1ff0cb53108", + "sourceRevision": "6468d2af71d2feb60f9b8c5f37bc2a3ff1177fb2c8b0d65e85002de6b1095cbb", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -568,6 +568,7 @@ "Allows": "8b1d52d202522d89fe65fb00e505abab46dc200a88c0be5d468a2a7e6dce9ccf", "Allows commands starting with {command}": "f5c5d446a6850880ae79768c175bacaf2bc487f715d5768d0b225eb643e3ce07", "Already imported": "e47fafe0a1c6f8d6b5c641c5d9cc7ca61e66a1c50bbc3b619c8ff5912444bfa8", + "Already in work": "ae40a6ff362406d9f1fdc40ad79cea7bd1705e6e173b2267f2a310777aedb387", "Also allow private memory and private chat queries remotely": "0b6b2ba6882b67c8b5b79f0f07964588232be1a9e520011e19bbea224c59a913", "Alternatives": "41055f72edad1559b8ba43440cd7938eb73685930c7141fede9b95000fd41299", "Alternatives considered": "73534cb410e6191096c7fa7ca56ba066f90b4fdede8677d64bc98068804afa3c", @@ -828,6 +829,7 @@ "Auto-start by default": "403861dc8396a3ea666e143d33e0429d3c26721771abf3face351259eee9b28f", "Auto-start step": "2bf61e4807ad3bf6ebc934bf54e917d5b3a87295001826be3a7dd57c7e75cc8d", "Automatic": "d461a493a3753877c9486cffa3444265a33370af8a7fff242fb119b71750839c", + "Automatic intake": "6eed82b223c717114773803e9d9d90d6d3cde9579bf264647347e559817a5081", "Automatic learning is off": "8ba1b4a02530490260a7b8e748e0809ddc3885213a009f3896264bc665060bdd", "Automatic parallel execution": "63d058c173c4a148a14094327c26d9af2c5bde1779c91dbf0d913e90b0687be9", "Automatic proposals enabled": "db670932d259eeedd26de8d7ca836594d5f3861ff24e1f94170c7333676c157a", @@ -1256,6 +1258,7 @@ "Check failed": "c8813c1128d545bfe7e7458ae24d724447097b3518643f86fa3e532f88e9fb40", "Check for changes": "5da755d1690f58c1c822a4b85422734bacc2122c7c67f4e8617f0765ac835113", "Check for updates": "f26f3275e735bdf6268532ca7cbea3887c9adad21d8df74e84b2bc7791475c0d", + "Check GitHub inbox": "51cd97da0bc2b213621668f69168386eaee18bdae064041094187404c9fc71ee", "Check member status": "ff155af014d0b6e94cbf2fca3b01cf8d5725732f178eee985083478adb4a62f5", "Check member status to load readiness.": "6f7f338e22e626b134643fbaec898cf8e8efd19b85eeb6193b4ca0d5d63c4528", "Check needed": "561a32f0c83e5a4fe8d77d891bd4b954d514ea021b4a18e68a3607f5d8747841", @@ -1563,6 +1566,7 @@ "Concise": "8340d833ab72d3321b07af0184597743b010e142b39593cebb450d4227e62f0c", "Concise, focused, direct.": "e9cb028d2d79111476e9c8ea1562b7f6275fd39d43abf410338d7c0ae2fff5a5", "conclusion {conclusion}": "dc328d7e11ecbdc61fa90fc18e3ced70b794ca55dcc476d03c88eff72f16274d", + "Concurrent work limit reached": "f60d0f2d4a9ba0c57c7e7835bd52a1912f39581799f2babb636d190317a96b54", "Confidence": "6422e3e78f5e5f5a15e92cc57ed7114adb289339251031ccb526d9249437dc82", "Configuration": "b332c3492d5eb10a118eb6d8b0dcd689bc2477ce2ae16b303753b942b54377bc", "Configuration digest": "5bbf2d321122a5a57d36c77291d232d51f9ae9a1655e80f042727754aea15bfe", @@ -2939,6 +2943,7 @@ "github": "c0b0109d9439de57fe3cf03abeccbc52f4c98170c732d3b69af5e6395ace574e", "GitHub": "f911e414cf6bdfc595532ab166b5ba0f63d73c021452fcdacbda363dda6ad8fb", "GitHub CI triage": "6a2368ce3943b296b07b5241227baf2a863d3f50f8a46ddb0889cbb5045ccd84", + "GitHub intake": "064829c63fcbc74d45753e04f583c69a391d25d4ed334de3b69fa2720f733cb1", "GitHub MCP": "408b061889ef672152b51ce8dbd56216d1b7e97303429b59538b99fe663c6f04", "GitHub not connected (GITHUB_TOKEN or GH_TOKEN)": "1cb239b6b5ea26422b411a25d3a4e254cdf45b7e730eb91b976a36f12adeb21b", "GitHub unavailable; retry later": "33b2cec76eccd24c4d8d61c265de8b06a6a20820ab1fccdcb433a22903909d02", @@ -4818,6 +4823,7 @@ "Policy details": "00e33950cacf32a39cc25f71ccb1650c4c788c12816e07681d80f0fdc537be98", "Policy narrows authority": "e9e2012e5ac96664fb03ff0f81f4f49cb5b8ee069149139352e7c89b73e43baa", "policy overlays": "db26199cf2a47a948b45caf37b4d50ede3ef415fad6c940cfe56a118970fcefb", + "Policy paused": "11fc11eaf385253466e26bac9916425e1e009695cd40adc4c7a132366d187518", "Policy review": "1cf67fef927c77770a1fcd8b20982b24b15cc0b6f1e8b56265d87baff019dd7e", "Policy snapshot artifact": "7f8b2985d498316ac01fa5f2276d2556cab712b4c8bc2b93e16dfc1353e23a77", "Poll once": "c7e7d724ff87555fb857467569ce709d958ee2d5d1ab2cc890554c7605e86e78", @@ -5013,6 +5019,7 @@ "Provider state": "633d1ca46603e61fc3d39459c1414102a27bbc4ba0adfb0b22ba5a205c2b9815", "Provider templates": "1e8649b7c667a6afc6dc88cbdb3069e349e850466cf3efa57eeedab9b70486f7", "Provider type": "8c0f6d3ebfe7ba3a0c0006068a9aa664d09244ba3cd438f2d56fab117bee1347", + "Provider unavailable": "ff2113958589f9bfb87b54f959be825d00ec5eca374d907bb343f98ebdbc84c3", "Provider version": "1f5ecefbd682ced2f438c8ae3c8849ba9effbe6cd77c19051cee2d2036ef9c90", "Provider warmup": "36ae143804c9a909bce770f54be5652b69b99ee7838cca99daa31e23d4d6d63c", "Provider was automatically rechecked after daemon restart.": "7bd8e8ee592f30e81adca8c96b079d6526846dc142bd99e5bbba3d9bebbde7a9", @@ -5398,6 +5405,8 @@ "Required for assigned teammates": "4732aa544a8d93b886e6bcbbcc5c3314af692f8a8a812efd4844cd3589b7b63a", "Required input": "fafaaf99b5a6af521026448890a9dacaf4d47053804a34be7cdf364e13637181", "Required input: {value}": "757166b8bf43ee39819f00d86fa61a84ddb3f3eba2a883c6bb996b8f82101d22", + "Required label": "5f623a5ad31f874a782d2205c9318ce524371a35d782b9a7021eab521c2fbbcd", + "Required label missing": "6913716764f8018414060c041e41a2951f5444efe5e97cd30a557be26403d1b1", "Required permissions": "edaffed36060c21e958b3fe562b7c57f51f67ba46326b1a9a5317a47b20e1747", "Required skill information is missing.": "e5cb742af5e92afab21f42c3edd4f5940db52a1c5320a9dd7236eca89a702789", "Required statuses": "c77453db9c939c7c7b8da080b0053847604126aefacf5a900d1d0fe30e4ba5ee", @@ -6407,6 +6416,7 @@ "Start an active Computer Use task first.": "1242a212935f863b51a7f3e8d16f12af408152d8047b274c5fef9fb7f1435f50", "Start autoplan": "7419a8efae15550dc21cccc23ca0a16c446e884842bfe48056af34a921175cb0", "Start background": "c690dc635cd0437e8911748d795084e5d32d0b75811490076285d41032d7300c", + "Start budget reached": "6b915cfb021a78ae6f8b4c1f2d9f40bbadcc486c04cbb00a807d52bfe78102ca", "Start by choosing a template or creating one manually.": "6a3ba02535ac7a0ab934b569a915927936dede63b4277ea4500e77c8835d4666", "Start child branch": "ee7b6caa5b4a1d3e8fd3ce47a26b42a4f2472834dfa17b2efc1864d0ed710948", "Start from a default role or blank teammate.": "1464ae64fd1ee987e353f53a2f9bab20053b2f0ae320c07839b7eecf710b8a96", @@ -6512,7 +6522,9 @@ "succeeded": "5dceaeceb6d8a49d3665594710ace68dfbc1800e2d663d7febb302b4dbee3d27", "Succeeded": "6d9a6f97a5fdaf3b90a0cf02e0b43d8b7ec1d05c0e4718e02ddd1c5b450e5b39", "Successfully generated {count} artifact based on the provided prompt.": "71f85e7639c004421f062f2dd6a129e5173931798f5d33b6f0482038b38a88fc", + "Suggest": "4effad823b048b0440dbeff42665f60a6ddec8e121c378966ed7c074a512c51f", "Suggest responsible owners based on context, decisions, and recent work.": "484eb4e21bcdd76a531a4234403ea29f0626094f9a2915b674f17e0b949be0a3", + "Suggested": "93b63bab4c3a28d73a8bb83bcdfdcc5f6ddecfc8fc702296ca159d94c5dc6e53", "Suggested next step": "78d74fd4ffec8d83a942e1274cfd15426b2b4bb2d96b15f905277638c339869e", "Suggested routing": "442b15c099c136738e26e139912a5f5d21e90216aade875a8db595b09c81fcbe", "Summaries": "87bc590e047d3df4a8e448ac83e371fad69dd73607752cccb0ff7d34263cef8f", @@ -7221,6 +7233,7 @@ "Untracked": "c7ba5477e19cf0bb25460d840cc2e67341e81e1c2d274d00b3054c73898d4d27", "unverified": "97b7e2db799e2b79e65f418b42a7d3054c95b2d3ab1dba243039597e44a38084", "Unverified": "33c8e8de41c3a35124251370e2a36e4d589f8789d80630abbbeceb933d3fb58f", + "Up to {concurrent} active and {starts} starts per {minutes} min": "cca43c28ef670fd5d55cb3bd813a2fef137043e4028096bcd2cdf22e2a06586b", "Up to date": "ce29b7f85b9eaf7dac52e625accb4b0cb56a856ebe9a9de9a09b613b6d978dca", "Update": "c1c1009d3f37ec058070a62e22caf9ac9dae2169d452487c5c271a8bcf57a291", "Update available": "ff8b555d818f0b25bbdd1bec8b479660bac7fc276acbe993e759bf67fed32c34", @@ -7548,6 +7561,7 @@ "Work intake, tool servers, and plugin bundles": "16b65a84c6fca2014b7e2d28b151bbf0afe19345230a0ac37304802311fed850", "Work is claimed": "c4b0d953436f2f59355d6540bae28e055ff49243f612887bbaed7bfd98c85d4d", "Work item ID": "1dcdad81d13850bd962965719f362fa7f32693b7b54fd8bb25d1e2402a470626", + "Work item paused": "299aabbf3c1418a3f01117e072d3bfe418e174bd1f355d1afdfae23c7b4bf678", "Work items": "5759a416f2b3b4ff92da23b8059419e06c39d27180b91a557f7cae779df3d2b6", "Work marked failed": "f26306888ed8c9a3808b8a420428f63e32d4c2223e7c9c89dd0a049806c539c6", "Work result": "19efe7487084061e9e358495b8a9bfd7e9d7c0035010e08ac35c14ba4ff8ca2a", @@ -8287,6 +8301,7 @@ "Allows": "Sallii", "Allows commands starting with {command}": "Sallii komennot, jotka alkavat {command}", "Already imported": "Jo tuotu", + "Already in work": "Jo töissä", "Also allow private memory and private chat queries remotely": "Salli myös yksityinen muisti ja yksityiset chat-kyselyt etänä", "Alternatives": "Vaihtoehtoja", "Alternatives considered": "Vaihtoehtoja harkittu", @@ -8547,6 +8562,7 @@ "Auto-start by default": "Auto-start by default", "Auto-start step": "Auto-start step", "Automatic": "Automaattinen", + "Automatic intake": "Automaattinen sisäänotto", "Automatic learning is off": "Automaattinen oppiminen on pois päältä", "Automatic parallel execution": "Automatic parallel execution", "Automatic proposals enabled": "Automaattiset ehdotukset käytössä", @@ -8975,6 +8991,7 @@ "Check failed": "Tarkistus epäonnistui", "Check for changes": "Tarkista muutokset", "Check for updates": "Tarkista päivitykset", + "Check GitHub inbox": "Tarkista GitHubin postilaatikko", "Check member status": "Tarkista jäsentilanne", "Check member status to load readiness.": "Tarkista jäsentilan latausvalmius.", "Check needed": "Tarkasta tarvitaan", @@ -9282,6 +9299,7 @@ "Concise": "Lyhyt", "Concise, focused, direct.": "Lyhyt, keskittynyt, suora.", "conclusion {conclusion}": "johtopäätös {conclusion}", + "Concurrent work limit reached": "Samanaikaisen työn raja saavutettu", "Confidence": "Luottamus", "Configuration": "Kokoonpano", "Configuration digest": "Määritysten yhteenveto", @@ -10658,6 +10676,7 @@ "github": "github", "GitHub": "GitHub", "GitHub CI triage": "GitHub CI -triaasi", + "GitHub intake": "GitHubin sisäänotto", "GitHub MCP": "GitHub MCP", "GitHub not connected (GITHUB_TOKEN or GH_TOKEN)": "GitHub not connected (GITHUB_TOKEN or GH_TOKEN)", "GitHub unavailable; retry later": "GitHub unavailable; retry later", @@ -12537,6 +12556,7 @@ "Policy details": "Käytännön tiedot", "Policy narrows authority": "Politiikka kaventaa valtaa", "policy overlays": "politiikan peittokuvat", + "Policy paused": "Käytäntö keskeytetty", "Policy review": "Käytäntöjen tarkistus", "Policy snapshot artifact": "Käytännön tilannekuvan artefakti", "Poll once": "Äänestys kerran", @@ -12732,6 +12752,7 @@ "Provider state": "Palveluntarjoajan tila", "Provider templates": "Tarjoajan mallit", "Provider type": "Palveluntarjoajan tyyppi", + "Provider unavailable": "Palveluntarjoaja ei saatavilla", "Provider version": "Palveluntarjoajan versio", "Provider warmup": "Tarjoajan lämmittely", "Provider was automatically rechecked after daemon restart.": "Palveluntarjoaja tarkistettiin automaattisesti uudelleen daemonin uudelleenkäynnistyksen jälkeen.", @@ -13117,6 +13138,8 @@ "Required for assigned teammates": "Vaaditaan määrätyiltä joukkuekavereilta", "Required input": "Vaadittu syöttö", "Required input: {value}": "Vaadittu syöttö: {value}", + "Required label": "Pakollinen etiketti", + "Required label missing": "Vaadittu etiketti puuttuu", "Required permissions": "Vaaditut käyttöoikeudet", "Required skill information is missing.": "Vaaditut taidot puuttuvat.", "Required statuses": "Required statuses", @@ -14126,6 +14149,7 @@ "Start an active Computer Use task first.": "Aloita ensin aktiivinen Computer Use-tehtävä.", "Start autoplan": "Aloita automaattinen suunnittelu", "Start background": "Aloita tausta", + "Start budget reached": "Aloitusbudjetti saavutettu", "Start by choosing a template or creating one manually.": "Aloita valitsemalla malli tai luomalla se manuaalisesti.", "Start child branch": "Aloita lapsihaara", "Start from a default role or blank teammate.": "Aloita oletusroolista tai tyhjästä joukkuekaverista.", @@ -14231,7 +14255,9 @@ "succeeded": "onnistunut", "Succeeded": "Onnistui", "Successfully generated {count} artifact based on the provided prompt.": "{count} artefakti luotu onnistuneesti annetun kehotteen perusteella.", + "Suggest": "Ehdota", "Suggest responsible owners based on context, decisions, and recent work.": "Ehdota vastuullisia omistajia kontekstin, päätösten ja viimeaikaisen työn perusteella.", + "Suggested": "Ehdotettu", "Suggested next step": "Suositeltu seuraava askel", "Suggested routing": "Suositeltu reititys", "Summaries": "Yhteenvedot", @@ -14940,6 +14966,7 @@ "Untracked": "Seuraamaton", "unverified": "vahvistamaton", "Unverified": "Vahvistamaton", + "Up to {concurrent} active and {starts} starts per {minutes} min": "Jopa {concurrent} aktiivista ja {starts} käynnistyy {minutes} minuutissa", "Up to date": "Ajan tasalla", "Update": "Päivittää", "Update available": "Päivitys saatavilla", @@ -15267,6 +15294,7 @@ "Work intake, tool servers, and plugin bundles": "Työnotto, työkalupalvelimet ja laajennuspaketit", "Work is claimed": "Työtä vaaditaan", "Work item ID": "Työkohde ID", + "Work item paused": "Työkohde keskeytetty", "Work items": "Työkohteet", "Work marked failed": "Epäonnistuneeksi merkitty työ", "Work result": "Työn tulos", diff --git a/packages/localization/catalogs/fr-CA.json b/packages/localization/catalogs/fr-CA.json index db871491b..a83c77bf9 100644 --- a/packages/localization/catalogs/fr-CA.json +++ b/packages/localization/catalogs/fr-CA.json @@ -1,6 +1,6 @@ { "locale": "fr-CA", - "sourceRevision": "214db76d79f1a5c0fd915c110a2ead6dbb978b58398846e982a0c1ff0cb53108", + "sourceRevision": "6468d2af71d2feb60f9b8c5f37bc2a3ff1177fb2c8b0d65e85002de6b1095cbb", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -568,6 +568,7 @@ "Allows": "8b1d52d202522d89fe65fb00e505abab46dc200a88c0be5d468a2a7e6dce9ccf", "Allows commands starting with {command}": "f5c5d446a6850880ae79768c175bacaf2bc487f715d5768d0b225eb643e3ce07", "Already imported": "e47fafe0a1c6f8d6b5c641c5d9cc7ca61e66a1c50bbc3b619c8ff5912444bfa8", + "Already in work": "ae40a6ff362406d9f1fdc40ad79cea7bd1705e6e173b2267f2a310777aedb387", "Also allow private memory and private chat queries remotely": "0b6b2ba6882b67c8b5b79f0f07964588232be1a9e520011e19bbea224c59a913", "Alternatives": "41055f72edad1559b8ba43440cd7938eb73685930c7141fede9b95000fd41299", "Alternatives considered": "73534cb410e6191096c7fa7ca56ba066f90b4fdede8677d64bc98068804afa3c", @@ -828,6 +829,7 @@ "Auto-start by default": "403861dc8396a3ea666e143d33e0429d3c26721771abf3face351259eee9b28f", "Auto-start step": "2bf61e4807ad3bf6ebc934bf54e917d5b3a87295001826be3a7dd57c7e75cc8d", "Automatic": "d461a493a3753877c9486cffa3444265a33370af8a7fff242fb119b71750839c", + "Automatic intake": "6eed82b223c717114773803e9d9d90d6d3cde9579bf264647347e559817a5081", "Automatic learning is off": "8ba1b4a02530490260a7b8e748e0809ddc3885213a009f3896264bc665060bdd", "Automatic parallel execution": "63d058c173c4a148a14094327c26d9af2c5bde1779c91dbf0d913e90b0687be9", "Automatic proposals enabled": "db670932d259eeedd26de8d7ca836594d5f3861ff24e1f94170c7333676c157a", @@ -1256,6 +1258,7 @@ "Check failed": "c8813c1128d545bfe7e7458ae24d724447097b3518643f86fa3e532f88e9fb40", "Check for changes": "5da755d1690f58c1c822a4b85422734bacc2122c7c67f4e8617f0765ac835113", "Check for updates": "f26f3275e735bdf6268532ca7cbea3887c9adad21d8df74e84b2bc7791475c0d", + "Check GitHub inbox": "51cd97da0bc2b213621668f69168386eaee18bdae064041094187404c9fc71ee", "Check member status": "ff155af014d0b6e94cbf2fca3b01cf8d5725732f178eee985083478adb4a62f5", "Check member status to load readiness.": "6f7f338e22e626b134643fbaec898cf8e8efd19b85eeb6193b4ca0d5d63c4528", "Check needed": "561a32f0c83e5a4fe8d77d891bd4b954d514ea021b4a18e68a3607f5d8747841", @@ -1563,6 +1566,7 @@ "Concise": "8340d833ab72d3321b07af0184597743b010e142b39593cebb450d4227e62f0c", "Concise, focused, direct.": "e9cb028d2d79111476e9c8ea1562b7f6275fd39d43abf410338d7c0ae2fff5a5", "conclusion {conclusion}": "dc328d7e11ecbdc61fa90fc18e3ced70b794ca55dcc476d03c88eff72f16274d", + "Concurrent work limit reached": "f60d0f2d4a9ba0c57c7e7835bd52a1912f39581799f2babb636d190317a96b54", "Confidence": "6422e3e78f5e5f5a15e92cc57ed7114adb289339251031ccb526d9249437dc82", "Configuration": "b332c3492d5eb10a118eb6d8b0dcd689bc2477ce2ae16b303753b942b54377bc", "Configuration digest": "5bbf2d321122a5a57d36c77291d232d51f9ae9a1655e80f042727754aea15bfe", @@ -2939,6 +2943,7 @@ "github": "c0b0109d9439de57fe3cf03abeccbc52f4c98170c732d3b69af5e6395ace574e", "GitHub": "f911e414cf6bdfc595532ab166b5ba0f63d73c021452fcdacbda363dda6ad8fb", "GitHub CI triage": "6a2368ce3943b296b07b5241227baf2a863d3f50f8a46ddb0889cbb5045ccd84", + "GitHub intake": "064829c63fcbc74d45753e04f583c69a391d25d4ed334de3b69fa2720f733cb1", "GitHub MCP": "408b061889ef672152b51ce8dbd56216d1b7e97303429b59538b99fe663c6f04", "GitHub not connected (GITHUB_TOKEN or GH_TOKEN)": "1cb239b6b5ea26422b411a25d3a4e254cdf45b7e730eb91b976a36f12adeb21b", "GitHub unavailable; retry later": "33b2cec76eccd24c4d8d61c265de8b06a6a20820ab1fccdcb433a22903909d02", @@ -4818,6 +4823,7 @@ "Policy details": "00e33950cacf32a39cc25f71ccb1650c4c788c12816e07681d80f0fdc537be98", "Policy narrows authority": "e9e2012e5ac96664fb03ff0f81f4f49cb5b8ee069149139352e7c89b73e43baa", "policy overlays": "db26199cf2a47a948b45caf37b4d50ede3ef415fad6c940cfe56a118970fcefb", + "Policy paused": "11fc11eaf385253466e26bac9916425e1e009695cd40adc4c7a132366d187518", "Policy review": "1cf67fef927c77770a1fcd8b20982b24b15cc0b6f1e8b56265d87baff019dd7e", "Policy snapshot artifact": "7f8b2985d498316ac01fa5f2276d2556cab712b4c8bc2b93e16dfc1353e23a77", "Poll once": "c7e7d724ff87555fb857467569ce709d958ee2d5d1ab2cc890554c7605e86e78", @@ -5013,6 +5019,7 @@ "Provider state": "633d1ca46603e61fc3d39459c1414102a27bbc4ba0adfb0b22ba5a205c2b9815", "Provider templates": "1e8649b7c667a6afc6dc88cbdb3069e349e850466cf3efa57eeedab9b70486f7", "Provider type": "8c0f6d3ebfe7ba3a0c0006068a9aa664d09244ba3cd438f2d56fab117bee1347", + "Provider unavailable": "ff2113958589f9bfb87b54f959be825d00ec5eca374d907bb343f98ebdbc84c3", "Provider version": "1f5ecefbd682ced2f438c8ae3c8849ba9effbe6cd77c19051cee2d2036ef9c90", "Provider warmup": "36ae143804c9a909bce770f54be5652b69b99ee7838cca99daa31e23d4d6d63c", "Provider was automatically rechecked after daemon restart.": "7bd8e8ee592f30e81adca8c96b079d6526846dc142bd99e5bbba3d9bebbde7a9", @@ -5398,6 +5405,8 @@ "Required for assigned teammates": "4732aa544a8d93b886e6bcbbcc5c3314af692f8a8a812efd4844cd3589b7b63a", "Required input": "fafaaf99b5a6af521026448890a9dacaf4d47053804a34be7cdf364e13637181", "Required input: {value}": "757166b8bf43ee39819f00d86fa61a84ddb3f3eba2a883c6bb996b8f82101d22", + "Required label": "5f623a5ad31f874a782d2205c9318ce524371a35d782b9a7021eab521c2fbbcd", + "Required label missing": "6913716764f8018414060c041e41a2951f5444efe5e97cd30a557be26403d1b1", "Required permissions": "edaffed36060c21e958b3fe562b7c57f51f67ba46326b1a9a5317a47b20e1747", "Required skill information is missing.": "e5cb742af5e92afab21f42c3edd4f5940db52a1c5320a9dd7236eca89a702789", "Required statuses": "c77453db9c939c7c7b8da080b0053847604126aefacf5a900d1d0fe30e4ba5ee", @@ -6407,6 +6416,7 @@ "Start an active Computer Use task first.": "1242a212935f863b51a7f3e8d16f12af408152d8047b274c5fef9fb7f1435f50", "Start autoplan": "7419a8efae15550dc21cccc23ca0a16c446e884842bfe48056af34a921175cb0", "Start background": "c690dc635cd0437e8911748d795084e5d32d0b75811490076285d41032d7300c", + "Start budget reached": "6b915cfb021a78ae6f8b4c1f2d9f40bbadcc486c04cbb00a807d52bfe78102ca", "Start by choosing a template or creating one manually.": "6a3ba02535ac7a0ab934b569a915927936dede63b4277ea4500e77c8835d4666", "Start child branch": "ee7b6caa5b4a1d3e8fd3ce47a26b42a4f2472834dfa17b2efc1864d0ed710948", "Start from a default role or blank teammate.": "1464ae64fd1ee987e353f53a2f9bab20053b2f0ae320c07839b7eecf710b8a96", @@ -6512,7 +6522,9 @@ "succeeded": "5dceaeceb6d8a49d3665594710ace68dfbc1800e2d663d7febb302b4dbee3d27", "Succeeded": "6d9a6f97a5fdaf3b90a0cf02e0b43d8b7ec1d05c0e4718e02ddd1c5b450e5b39", "Successfully generated {count} artifact based on the provided prompt.": "71f85e7639c004421f062f2dd6a129e5173931798f5d33b6f0482038b38a88fc", + "Suggest": "4effad823b048b0440dbeff42665f60a6ddec8e121c378966ed7c074a512c51f", "Suggest responsible owners based on context, decisions, and recent work.": "484eb4e21bcdd76a531a4234403ea29f0626094f9a2915b674f17e0b949be0a3", + "Suggested": "93b63bab4c3a28d73a8bb83bcdfdcc5f6ddecfc8fc702296ca159d94c5dc6e53", "Suggested next step": "78d74fd4ffec8d83a942e1274cfd15426b2b4bb2d96b15f905277638c339869e", "Suggested routing": "442b15c099c136738e26e139912a5f5d21e90216aade875a8db595b09c81fcbe", "Summaries": "87bc590e047d3df4a8e448ac83e371fad69dd73607752cccb0ff7d34263cef8f", @@ -7221,6 +7233,7 @@ "Untracked": "c7ba5477e19cf0bb25460d840cc2e67341e81e1c2d274d00b3054c73898d4d27", "unverified": "97b7e2db799e2b79e65f418b42a7d3054c95b2d3ab1dba243039597e44a38084", "Unverified": "33c8e8de41c3a35124251370e2a36e4d589f8789d80630abbbeceb933d3fb58f", + "Up to {concurrent} active and {starts} starts per {minutes} min": "cca43c28ef670fd5d55cb3bd813a2fef137043e4028096bcd2cdf22e2a06586b", "Up to date": "ce29b7f85b9eaf7dac52e625accb4b0cb56a856ebe9a9de9a09b613b6d978dca", "Update": "c1c1009d3f37ec058070a62e22caf9ac9dae2169d452487c5c271a8bcf57a291", "Update available": "ff8b555d818f0b25bbdd1bec8b479660bac7fc276acbe993e759bf67fed32c34", @@ -7548,6 +7561,7 @@ "Work intake, tool servers, and plugin bundles": "16b65a84c6fca2014b7e2d28b151bbf0afe19345230a0ac37304802311fed850", "Work is claimed": "c4b0d953436f2f59355d6540bae28e055ff49243f612887bbaed7bfd98c85d4d", "Work item ID": "1dcdad81d13850bd962965719f362fa7f32693b7b54fd8bb25d1e2402a470626", + "Work item paused": "299aabbf3c1418a3f01117e072d3bfe418e174bd1f355d1afdfae23c7b4bf678", "Work items": "5759a416f2b3b4ff92da23b8059419e06c39d27180b91a557f7cae779df3d2b6", "Work marked failed": "f26306888ed8c9a3808b8a420428f63e32d4c2223e7c9c89dd0a049806c539c6", "Work result": "19efe7487084061e9e358495b8a9bfd7e9d7c0035010e08ac35c14ba4ff8ca2a", @@ -8287,6 +8301,7 @@ "Allows": "Permet", "Allows commands starting with {command}": "Autorise les commandes commençant par {command}", "Already imported": "Déjà importé", + "Already in work": "Déjà au boulot", "Also allow private memory and private chat queries remotely": "Autoriser également la mémoire privée et les requêtes de clavardage privé à distance", "Alternatives": "Alternatives", "Alternatives considered": "Alternatives envisagées", @@ -8547,6 +8562,7 @@ "Auto-start by default": "Auto-start by default", "Auto-start step": "Auto-start step", "Automatic": "Automatique", + "Automatic intake": "Admission automatique", "Automatic learning is off": "L'apprentissage machine est désactivé", "Automatic parallel execution": "Automatic parallel execution", "Automatic proposals enabled": "Suggestions automatiques activées", @@ -8975,6 +8991,7 @@ "Check failed": "La vérification a échoué", "Check for changes": "Vérifier les changements", "Check for updates": "Vérifier les mises à jour", + "Check GitHub inbox": "Vérifier la boîte de réception GitHub", "Check member status": "Vérifier le statut de membre", "Check member status to load readiness.": "Vérifiez le statut du membre pour être prêt à charger.", "Check needed": "Chèque requis", @@ -9282,6 +9299,7 @@ "Concise": "Concis", "Concise, focused, direct.": "Concis, ciblé, direct.", "conclusion {conclusion}": "conclusion {conclusion}", + "Concurrent work limit reached": "Limite de travail simultané atteinte", "Confidence": "Confiance", "Configuration": "Configuration", "Configuration digest": "Résumé de la configuration", @@ -10658,6 +10676,7 @@ "github": "GitHub", "GitHub": "GitHub", "GitHub CI triage": "Triage GitHub CI", + "GitHub intake": "Admission GitHub", "GitHub MCP": "GitHub MCP", "GitHub not connected (GITHUB_TOKEN or GH_TOKEN)": "GitHub not connected (GITHUB_TOKEN or GH_TOKEN)", "GitHub unavailable; retry later": "GitHub unavailable; retry later", @@ -12537,6 +12556,7 @@ "Policy details": "Détails de la politique", "Policy narrows authority": "La politique réduit l'autorité", "policy overlays": "superpositions de politiques", + "Policy paused": "Politique suspendue", "Policy review": "Examen des politiques", "Policy snapshot artifact": "Artefact d'instantané de stratégie", "Poll once": "Sonder une fois", @@ -12732,6 +12752,7 @@ "Provider state": "État du fournisseur", "Provider templates": "Modèles de fournisseur", "Provider type": "Type de fournisseur", + "Provider unavailable": "Fournisseur indisponible", "Provider version": "Version du fournisseur", "Provider warmup": "Échauffement du fournisseur", "Provider was automatically rechecked after daemon restart.": "Le fournisseur a été automatiquement revérifié après le redémarrage du démon.", @@ -13117,6 +13138,8 @@ "Required for assigned teammates": "Obligatoire pour les coéquipiers assignés", "Required input": "Entrée requise", "Required input: {value}": "Entrée requise : {value}", + "Required label": "Étiquette obligatoire", + "Required label missing": "Étiquette obligatoire manquante", "Required permissions": "Autorisations requises", "Required skill information is missing.": "Les informations sur les compétences requises sont manquantes.", "Required statuses": "Required statuses", @@ -14126,6 +14149,7 @@ "Start an active Computer Use task first.": "Commencez par démarrer une tâche Computer Use active.", "Start autoplan": "Démarrer la planification automatique", "Start background": "Commencer l'arrière-plan", + "Start budget reached": "Budget de démarrage atteint", "Start by choosing a template or creating one manually.": "Commencez par choisir un modèle ou créez-en un manuellement.", "Start child branch": "Démarrer la branche enfant", "Start from a default role or blank teammate.": "Commencez à partir d'un rôle par défaut ou d'un coéquipier vide.", @@ -14231,7 +14255,9 @@ "succeeded": "réussi", "Succeeded": "Réussi", "Successfully generated {count} artifact based on the provided prompt.": "Artefact {count} généré avec succès en fonction de l'invite fournie.", + "Suggest": "Suggérer", "Suggest responsible owners based on context, decisions, and recent work.": "Suggérez des propriétaires responsables en fonction du contexte, des décisions et des travaux récents.", + "Suggested": "Proposé", "Suggested next step": "Prochaine étape suggérée", "Suggested routing": "Itinéraire suggéré", "Summaries": "Résumés", @@ -14940,6 +14966,7 @@ "Untracked": "Non suivi", "unverified": "non vérifié", "Unverified": "Non vérifié", + "Up to {concurrent} active and {starts} starts per {minutes} min": "Jusqu'à {concurrent} actifs et {starts} démarrages toutes les {minutes} minutes", "Up to date": "À jour", "Update": "Mise à jour", "Update available": "Mise à jour disponible", @@ -15267,6 +15294,7 @@ "Work intake, tool servers, and plugin bundles": "Prise de travail, serveurs d'outils et offres groupées de plugiciels", "Work is claimed": "Le travail est requis", "Work item ID": "Élément de travail ID", + "Work item paused": "Élément de travail en pause", "Work items": "Éléments de travail", "Work marked failed": "Travail marqué comme échoué", "Work result": "Résultat du travail", diff --git a/packages/localization/catalogs/fr-FR.json b/packages/localization/catalogs/fr-FR.json index f157f8c56..0248b76db 100644 --- a/packages/localization/catalogs/fr-FR.json +++ b/packages/localization/catalogs/fr-FR.json @@ -1,6 +1,6 @@ { "locale": "fr-FR", - "sourceRevision": "214db76d79f1a5c0fd915c110a2ead6dbb978b58398846e982a0c1ff0cb53108", + "sourceRevision": "6468d2af71d2feb60f9b8c5f37bc2a3ff1177fb2c8b0d65e85002de6b1095cbb", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -568,6 +568,7 @@ "Allows": "8b1d52d202522d89fe65fb00e505abab46dc200a88c0be5d468a2a7e6dce9ccf", "Allows commands starting with {command}": "f5c5d446a6850880ae79768c175bacaf2bc487f715d5768d0b225eb643e3ce07", "Already imported": "e47fafe0a1c6f8d6b5c641c5d9cc7ca61e66a1c50bbc3b619c8ff5912444bfa8", + "Already in work": "ae40a6ff362406d9f1fdc40ad79cea7bd1705e6e173b2267f2a310777aedb387", "Also allow private memory and private chat queries remotely": "0b6b2ba6882b67c8b5b79f0f07964588232be1a9e520011e19bbea224c59a913", "Alternatives": "41055f72edad1559b8ba43440cd7938eb73685930c7141fede9b95000fd41299", "Alternatives considered": "73534cb410e6191096c7fa7ca56ba066f90b4fdede8677d64bc98068804afa3c", @@ -828,6 +829,7 @@ "Auto-start by default": "403861dc8396a3ea666e143d33e0429d3c26721771abf3face351259eee9b28f", "Auto-start step": "2bf61e4807ad3bf6ebc934bf54e917d5b3a87295001826be3a7dd57c7e75cc8d", "Automatic": "d461a493a3753877c9486cffa3444265a33370af8a7fff242fb119b71750839c", + "Automatic intake": "6eed82b223c717114773803e9d9d90d6d3cde9579bf264647347e559817a5081", "Automatic learning is off": "8ba1b4a02530490260a7b8e748e0809ddc3885213a009f3896264bc665060bdd", "Automatic parallel execution": "63d058c173c4a148a14094327c26d9af2c5bde1779c91dbf0d913e90b0687be9", "Automatic proposals enabled": "db670932d259eeedd26de8d7ca836594d5f3861ff24e1f94170c7333676c157a", @@ -1256,6 +1258,7 @@ "Check failed": "c8813c1128d545bfe7e7458ae24d724447097b3518643f86fa3e532f88e9fb40", "Check for changes": "5da755d1690f58c1c822a4b85422734bacc2122c7c67f4e8617f0765ac835113", "Check for updates": "f26f3275e735bdf6268532ca7cbea3887c9adad21d8df74e84b2bc7791475c0d", + "Check GitHub inbox": "51cd97da0bc2b213621668f69168386eaee18bdae064041094187404c9fc71ee", "Check member status": "ff155af014d0b6e94cbf2fca3b01cf8d5725732f178eee985083478adb4a62f5", "Check member status to load readiness.": "6f7f338e22e626b134643fbaec898cf8e8efd19b85eeb6193b4ca0d5d63c4528", "Check needed": "561a32f0c83e5a4fe8d77d891bd4b954d514ea021b4a18e68a3607f5d8747841", @@ -1563,6 +1566,7 @@ "Concise": "8340d833ab72d3321b07af0184597743b010e142b39593cebb450d4227e62f0c", "Concise, focused, direct.": "e9cb028d2d79111476e9c8ea1562b7f6275fd39d43abf410338d7c0ae2fff5a5", "conclusion {conclusion}": "dc328d7e11ecbdc61fa90fc18e3ced70b794ca55dcc476d03c88eff72f16274d", + "Concurrent work limit reached": "f60d0f2d4a9ba0c57c7e7835bd52a1912f39581799f2babb636d190317a96b54", "Confidence": "6422e3e78f5e5f5a15e92cc57ed7114adb289339251031ccb526d9249437dc82", "Configuration": "b332c3492d5eb10a118eb6d8b0dcd689bc2477ce2ae16b303753b942b54377bc", "Configuration digest": "5bbf2d321122a5a57d36c77291d232d51f9ae9a1655e80f042727754aea15bfe", @@ -2939,6 +2943,7 @@ "github": "c0b0109d9439de57fe3cf03abeccbc52f4c98170c732d3b69af5e6395ace574e", "GitHub": "f911e414cf6bdfc595532ab166b5ba0f63d73c021452fcdacbda363dda6ad8fb", "GitHub CI triage": "6a2368ce3943b296b07b5241227baf2a863d3f50f8a46ddb0889cbb5045ccd84", + "GitHub intake": "064829c63fcbc74d45753e04f583c69a391d25d4ed334de3b69fa2720f733cb1", "GitHub MCP": "408b061889ef672152b51ce8dbd56216d1b7e97303429b59538b99fe663c6f04", "GitHub not connected (GITHUB_TOKEN or GH_TOKEN)": "1cb239b6b5ea26422b411a25d3a4e254cdf45b7e730eb91b976a36f12adeb21b", "GitHub unavailable; retry later": "33b2cec76eccd24c4d8d61c265de8b06a6a20820ab1fccdcb433a22903909d02", @@ -4818,6 +4823,7 @@ "Policy details": "00e33950cacf32a39cc25f71ccb1650c4c788c12816e07681d80f0fdc537be98", "Policy narrows authority": "e9e2012e5ac96664fb03ff0f81f4f49cb5b8ee069149139352e7c89b73e43baa", "policy overlays": "db26199cf2a47a948b45caf37b4d50ede3ef415fad6c940cfe56a118970fcefb", + "Policy paused": "11fc11eaf385253466e26bac9916425e1e009695cd40adc4c7a132366d187518", "Policy review": "1cf67fef927c77770a1fcd8b20982b24b15cc0b6f1e8b56265d87baff019dd7e", "Policy snapshot artifact": "7f8b2985d498316ac01fa5f2276d2556cab712b4c8bc2b93e16dfc1353e23a77", "Poll once": "c7e7d724ff87555fb857467569ce709d958ee2d5d1ab2cc890554c7605e86e78", @@ -5013,6 +5019,7 @@ "Provider state": "633d1ca46603e61fc3d39459c1414102a27bbc4ba0adfb0b22ba5a205c2b9815", "Provider templates": "1e8649b7c667a6afc6dc88cbdb3069e349e850466cf3efa57eeedab9b70486f7", "Provider type": "8c0f6d3ebfe7ba3a0c0006068a9aa664d09244ba3cd438f2d56fab117bee1347", + "Provider unavailable": "ff2113958589f9bfb87b54f959be825d00ec5eca374d907bb343f98ebdbc84c3", "Provider version": "1f5ecefbd682ced2f438c8ae3c8849ba9effbe6cd77c19051cee2d2036ef9c90", "Provider warmup": "36ae143804c9a909bce770f54be5652b69b99ee7838cca99daa31e23d4d6d63c", "Provider was automatically rechecked after daemon restart.": "7bd8e8ee592f30e81adca8c96b079d6526846dc142bd99e5bbba3d9bebbde7a9", @@ -5398,6 +5405,8 @@ "Required for assigned teammates": "4732aa544a8d93b886e6bcbbcc5c3314af692f8a8a812efd4844cd3589b7b63a", "Required input": "fafaaf99b5a6af521026448890a9dacaf4d47053804a34be7cdf364e13637181", "Required input: {value}": "757166b8bf43ee39819f00d86fa61a84ddb3f3eba2a883c6bb996b8f82101d22", + "Required label": "5f623a5ad31f874a782d2205c9318ce524371a35d782b9a7021eab521c2fbbcd", + "Required label missing": "6913716764f8018414060c041e41a2951f5444efe5e97cd30a557be26403d1b1", "Required permissions": "edaffed36060c21e958b3fe562b7c57f51f67ba46326b1a9a5317a47b20e1747", "Required skill information is missing.": "e5cb742af5e92afab21f42c3edd4f5940db52a1c5320a9dd7236eca89a702789", "Required statuses": "c77453db9c939c7c7b8da080b0053847604126aefacf5a900d1d0fe30e4ba5ee", @@ -6407,6 +6416,7 @@ "Start an active Computer Use task first.": "1242a212935f863b51a7f3e8d16f12af408152d8047b274c5fef9fb7f1435f50", "Start autoplan": "7419a8efae15550dc21cccc23ca0a16c446e884842bfe48056af34a921175cb0", "Start background": "c690dc635cd0437e8911748d795084e5d32d0b75811490076285d41032d7300c", + "Start budget reached": "6b915cfb021a78ae6f8b4c1f2d9f40bbadcc486c04cbb00a807d52bfe78102ca", "Start by choosing a template or creating one manually.": "6a3ba02535ac7a0ab934b569a915927936dede63b4277ea4500e77c8835d4666", "Start child branch": "ee7b6caa5b4a1d3e8fd3ce47a26b42a4f2472834dfa17b2efc1864d0ed710948", "Start from a default role or blank teammate.": "1464ae64fd1ee987e353f53a2f9bab20053b2f0ae320c07839b7eecf710b8a96", @@ -6512,7 +6522,9 @@ "succeeded": "5dceaeceb6d8a49d3665594710ace68dfbc1800e2d663d7febb302b4dbee3d27", "Succeeded": "6d9a6f97a5fdaf3b90a0cf02e0b43d8b7ec1d05c0e4718e02ddd1c5b450e5b39", "Successfully generated {count} artifact based on the provided prompt.": "71f85e7639c004421f062f2dd6a129e5173931798f5d33b6f0482038b38a88fc", + "Suggest": "4effad823b048b0440dbeff42665f60a6ddec8e121c378966ed7c074a512c51f", "Suggest responsible owners based on context, decisions, and recent work.": "484eb4e21bcdd76a531a4234403ea29f0626094f9a2915b674f17e0b949be0a3", + "Suggested": "93b63bab4c3a28d73a8bb83bcdfdcc5f6ddecfc8fc702296ca159d94c5dc6e53", "Suggested next step": "78d74fd4ffec8d83a942e1274cfd15426b2b4bb2d96b15f905277638c339869e", "Suggested routing": "442b15c099c136738e26e139912a5f5d21e90216aade875a8db595b09c81fcbe", "Summaries": "87bc590e047d3df4a8e448ac83e371fad69dd73607752cccb0ff7d34263cef8f", @@ -7221,6 +7233,7 @@ "Untracked": "c7ba5477e19cf0bb25460d840cc2e67341e81e1c2d274d00b3054c73898d4d27", "unverified": "97b7e2db799e2b79e65f418b42a7d3054c95b2d3ab1dba243039597e44a38084", "Unverified": "33c8e8de41c3a35124251370e2a36e4d589f8789d80630abbbeceb933d3fb58f", + "Up to {concurrent} active and {starts} starts per {minutes} min": "cca43c28ef670fd5d55cb3bd813a2fef137043e4028096bcd2cdf22e2a06586b", "Up to date": "ce29b7f85b9eaf7dac52e625accb4b0cb56a856ebe9a9de9a09b613b6d978dca", "Update": "c1c1009d3f37ec058070a62e22caf9ac9dae2169d452487c5c271a8bcf57a291", "Update available": "ff8b555d818f0b25bbdd1bec8b479660bac7fc276acbe993e759bf67fed32c34", @@ -7548,6 +7561,7 @@ "Work intake, tool servers, and plugin bundles": "16b65a84c6fca2014b7e2d28b151bbf0afe19345230a0ac37304802311fed850", "Work is claimed": "c4b0d953436f2f59355d6540bae28e055ff49243f612887bbaed7bfd98c85d4d", "Work item ID": "1dcdad81d13850bd962965719f362fa7f32693b7b54fd8bb25d1e2402a470626", + "Work item paused": "299aabbf3c1418a3f01117e072d3bfe418e174bd1f355d1afdfae23c7b4bf678", "Work items": "5759a416f2b3b4ff92da23b8059419e06c39d27180b91a557f7cae779df3d2b6", "Work marked failed": "f26306888ed8c9a3808b8a420428f63e32d4c2223e7c9c89dd0a049806c539c6", "Work result": "19efe7487084061e9e358495b8a9bfd7e9d7c0035010e08ac35c14ba4ff8ca2a", @@ -8287,6 +8301,7 @@ "Allows": "Permet", "Allows commands starting with {command}": "Autorise les commandes commençant par {command}", "Already imported": "Déjà importé", + "Already in work": "Déjà au travail", "Also allow private memory and private chat queries remotely": "Autoriser également la mémoire privée et les requêtes de chat privé à distance", "Alternatives": "Alternatives", "Alternatives considered": "Alternatives envisagées", @@ -8547,6 +8562,7 @@ "Auto-start by default": "Auto-start by default", "Auto-start step": "Auto-start step", "Automatic": "Automatique", + "Automatic intake": "Admission automatique", "Automatic learning is off": "L'apprentissage automatique est désactivé", "Automatic parallel execution": "Automatic parallel execution", "Automatic proposals enabled": "Propositions automatiques activées", @@ -8975,6 +8991,7 @@ "Check failed": "La vérification a échoué", "Check for changes": "Vérifier les changements", "Check for updates": "Vérifier les mises à jour", + "Check GitHub inbox": "Vérifier la boîte de réception GitHub", "Check member status": "Vérifier le statut de membre", "Check member status to load readiness.": "Vérifiez le statut du membre pour être prêt à charger.", "Check needed": "Chèque nécessaire", @@ -9282,6 +9299,7 @@ "Concise": "Concis", "Concise, focused, direct.": "Concis, ciblé, direct.", "conclusion {conclusion}": "conclusion {conclusion}", + "Concurrent work limit reached": "Limite de travail simultané atteinte", "Confidence": "Confiance", "Configuration": "Configuration", "Configuration digest": "Résumé de configuration", @@ -10658,6 +10676,7 @@ "github": "github", "GitHub": "GitHub", "GitHub CI triage": "Triage GitHub CI", + "GitHub intake": "Admission GitHub", "GitHub MCP": "GitHub MCP", "GitHub not connected (GITHUB_TOKEN or GH_TOKEN)": "GitHub not connected (GITHUB_TOKEN or GH_TOKEN)", "GitHub unavailable; retry later": "GitHub unavailable; retry later", @@ -12537,6 +12556,7 @@ "Policy details": "Détails de la politique", "Policy narrows authority": "La politique réduit l’autorité", "policy overlays": "superpositions de politiques", + "Policy paused": "Politique suspendue", "Policy review": "Examen des politiques", "Policy snapshot artifact": "Artefact d'instantané de stratégie", "Poll once": "Sonder une fois", @@ -12732,6 +12752,7 @@ "Provider state": "État du fournisseur", "Provider templates": "Modèles de fournisseur", "Provider type": "Type de fournisseur", + "Provider unavailable": "Fournisseur indisponible", "Provider version": "Version du fournisseur", "Provider warmup": "Échauffement du fournisseur", "Provider was automatically rechecked after daemon restart.": "Le fournisseur a été automatiquement revérifié après le redémarrage du démon.", @@ -13117,6 +13138,8 @@ "Required for assigned teammates": "Obligatoire pour les coéquipiers assignés", "Required input": "Entrée requise", "Required input: {value}": "Entrée requise : {value}", + "Required label": "Étiquette obligatoire", + "Required label missing": "Étiquette obligatoire manquante", "Required permissions": "Autorisations requises", "Required skill information is missing.": "Les informations sur les compétences requises sont manquantes.", "Required statuses": "Required statuses", @@ -14126,6 +14149,7 @@ "Start an active Computer Use task first.": "Commencez par démarrer une tâche Computer Use active.", "Start autoplan": "Démarrer la planification automatique", "Start background": "Démarrer l'arrière-plan", + "Start budget reached": "Budget de démarrage atteint", "Start by choosing a template or creating one manually.": "Commencez par choisir un modèle ou créez-en un manuellement.", "Start child branch": "Démarrer la branche enfant", "Start from a default role or blank teammate.": "Commencez à partir d'un rôle par défaut ou d'un coéquipier vide.", @@ -14231,7 +14255,9 @@ "succeeded": "réussi", "Succeeded": "Réussi", "Successfully generated {count} artifact based on the provided prompt.": "Artefact {count} généré avec succès en fonction de l'invite fournie.", + "Suggest": "Suggérer", "Suggest responsible owners based on context, decisions, and recent work.": "Suggérez des propriétaires responsables en fonction du contexte, des décisions et des travaux récents.", + "Suggested": "Suggéré", "Suggested next step": "Prochaine étape suggérée", "Suggested routing": "Itinéraire suggéré", "Summaries": "Résumés", @@ -14940,6 +14966,7 @@ "Untracked": "Non suivi", "unverified": "non vérifié", "Unverified": "Non vérifié", + "Up to {concurrent} active and {starts} starts per {minutes} min": "Jusqu'à {concurrent} actifs et {starts} démarrages toutes les {minutes} minutes", "Up to date": "À jour", "Update": "Mise à jour", "Update available": "Mise à jour disponible", @@ -15267,6 +15294,7 @@ "Work intake, tool servers, and plugin bundles": "Prise de travail, serveurs d'outils et offres groupées de plugins", "Work is claimed": "Le travail est réclamé", "Work item ID": "Élément de travail ID", + "Work item paused": "Élément de travail mis en pause", "Work items": "Éléments de travail", "Work marked failed": "Travail marqué comme échoué", "Work result": "Résultat du travail", diff --git a/packages/localization/catalogs/gu-IN.json b/packages/localization/catalogs/gu-IN.json index 6477b819e..0ba5e0204 100644 --- a/packages/localization/catalogs/gu-IN.json +++ b/packages/localization/catalogs/gu-IN.json @@ -1,6 +1,6 @@ { "locale": "gu-IN", - "sourceRevision": "214db76d79f1a5c0fd915c110a2ead6dbb978b58398846e982a0c1ff0cb53108", + "sourceRevision": "6468d2af71d2feb60f9b8c5f37bc2a3ff1177fb2c8b0d65e85002de6b1095cbb", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -568,6 +568,7 @@ "Allows": "8b1d52d202522d89fe65fb00e505abab46dc200a88c0be5d468a2a7e6dce9ccf", "Allows commands starting with {command}": "f5c5d446a6850880ae79768c175bacaf2bc487f715d5768d0b225eb643e3ce07", "Already imported": "e47fafe0a1c6f8d6b5c641c5d9cc7ca61e66a1c50bbc3b619c8ff5912444bfa8", + "Already in work": "ae40a6ff362406d9f1fdc40ad79cea7bd1705e6e173b2267f2a310777aedb387", "Also allow private memory and private chat queries remotely": "0b6b2ba6882b67c8b5b79f0f07964588232be1a9e520011e19bbea224c59a913", "Alternatives": "41055f72edad1559b8ba43440cd7938eb73685930c7141fede9b95000fd41299", "Alternatives considered": "73534cb410e6191096c7fa7ca56ba066f90b4fdede8677d64bc98068804afa3c", @@ -828,6 +829,7 @@ "Auto-start by default": "403861dc8396a3ea666e143d33e0429d3c26721771abf3face351259eee9b28f", "Auto-start step": "2bf61e4807ad3bf6ebc934bf54e917d5b3a87295001826be3a7dd57c7e75cc8d", "Automatic": "d461a493a3753877c9486cffa3444265a33370af8a7fff242fb119b71750839c", + "Automatic intake": "6eed82b223c717114773803e9d9d90d6d3cde9579bf264647347e559817a5081", "Automatic learning is off": "8ba1b4a02530490260a7b8e748e0809ddc3885213a009f3896264bc665060bdd", "Automatic parallel execution": "63d058c173c4a148a14094327c26d9af2c5bde1779c91dbf0d913e90b0687be9", "Automatic proposals enabled": "db670932d259eeedd26de8d7ca836594d5f3861ff24e1f94170c7333676c157a", @@ -1256,6 +1258,7 @@ "Check failed": "c8813c1128d545bfe7e7458ae24d724447097b3518643f86fa3e532f88e9fb40", "Check for changes": "5da755d1690f58c1c822a4b85422734bacc2122c7c67f4e8617f0765ac835113", "Check for updates": "f26f3275e735bdf6268532ca7cbea3887c9adad21d8df74e84b2bc7791475c0d", + "Check GitHub inbox": "51cd97da0bc2b213621668f69168386eaee18bdae064041094187404c9fc71ee", "Check member status": "ff155af014d0b6e94cbf2fca3b01cf8d5725732f178eee985083478adb4a62f5", "Check member status to load readiness.": "6f7f338e22e626b134643fbaec898cf8e8efd19b85eeb6193b4ca0d5d63c4528", "Check needed": "561a32f0c83e5a4fe8d77d891bd4b954d514ea021b4a18e68a3607f5d8747841", @@ -1563,6 +1566,7 @@ "Concise": "8340d833ab72d3321b07af0184597743b010e142b39593cebb450d4227e62f0c", "Concise, focused, direct.": "e9cb028d2d79111476e9c8ea1562b7f6275fd39d43abf410338d7c0ae2fff5a5", "conclusion {conclusion}": "dc328d7e11ecbdc61fa90fc18e3ced70b794ca55dcc476d03c88eff72f16274d", + "Concurrent work limit reached": "f60d0f2d4a9ba0c57c7e7835bd52a1912f39581799f2babb636d190317a96b54", "Confidence": "6422e3e78f5e5f5a15e92cc57ed7114adb289339251031ccb526d9249437dc82", "Configuration": "b332c3492d5eb10a118eb6d8b0dcd689bc2477ce2ae16b303753b942b54377bc", "Configuration digest": "5bbf2d321122a5a57d36c77291d232d51f9ae9a1655e80f042727754aea15bfe", @@ -2939,6 +2943,7 @@ "github": "c0b0109d9439de57fe3cf03abeccbc52f4c98170c732d3b69af5e6395ace574e", "GitHub": "f911e414cf6bdfc595532ab166b5ba0f63d73c021452fcdacbda363dda6ad8fb", "GitHub CI triage": "6a2368ce3943b296b07b5241227baf2a863d3f50f8a46ddb0889cbb5045ccd84", + "GitHub intake": "064829c63fcbc74d45753e04f583c69a391d25d4ed334de3b69fa2720f733cb1", "GitHub MCP": "408b061889ef672152b51ce8dbd56216d1b7e97303429b59538b99fe663c6f04", "GitHub not connected (GITHUB_TOKEN or GH_TOKEN)": "1cb239b6b5ea26422b411a25d3a4e254cdf45b7e730eb91b976a36f12adeb21b", "GitHub unavailable; retry later": "33b2cec76eccd24c4d8d61c265de8b06a6a20820ab1fccdcb433a22903909d02", @@ -4818,6 +4823,7 @@ "Policy details": "00e33950cacf32a39cc25f71ccb1650c4c788c12816e07681d80f0fdc537be98", "Policy narrows authority": "e9e2012e5ac96664fb03ff0f81f4f49cb5b8ee069149139352e7c89b73e43baa", "policy overlays": "db26199cf2a47a948b45caf37b4d50ede3ef415fad6c940cfe56a118970fcefb", + "Policy paused": "11fc11eaf385253466e26bac9916425e1e009695cd40adc4c7a132366d187518", "Policy review": "1cf67fef927c77770a1fcd8b20982b24b15cc0b6f1e8b56265d87baff019dd7e", "Policy snapshot artifact": "7f8b2985d498316ac01fa5f2276d2556cab712b4c8bc2b93e16dfc1353e23a77", "Poll once": "c7e7d724ff87555fb857467569ce709d958ee2d5d1ab2cc890554c7605e86e78", @@ -5013,6 +5019,7 @@ "Provider state": "633d1ca46603e61fc3d39459c1414102a27bbc4ba0adfb0b22ba5a205c2b9815", "Provider templates": "1e8649b7c667a6afc6dc88cbdb3069e349e850466cf3efa57eeedab9b70486f7", "Provider type": "8c0f6d3ebfe7ba3a0c0006068a9aa664d09244ba3cd438f2d56fab117bee1347", + "Provider unavailable": "ff2113958589f9bfb87b54f959be825d00ec5eca374d907bb343f98ebdbc84c3", "Provider version": "1f5ecefbd682ced2f438c8ae3c8849ba9effbe6cd77c19051cee2d2036ef9c90", "Provider warmup": "36ae143804c9a909bce770f54be5652b69b99ee7838cca99daa31e23d4d6d63c", "Provider was automatically rechecked after daemon restart.": "7bd8e8ee592f30e81adca8c96b079d6526846dc142bd99e5bbba3d9bebbde7a9", @@ -5398,6 +5405,8 @@ "Required for assigned teammates": "4732aa544a8d93b886e6bcbbcc5c3314af692f8a8a812efd4844cd3589b7b63a", "Required input": "fafaaf99b5a6af521026448890a9dacaf4d47053804a34be7cdf364e13637181", "Required input: {value}": "757166b8bf43ee39819f00d86fa61a84ddb3f3eba2a883c6bb996b8f82101d22", + "Required label": "5f623a5ad31f874a782d2205c9318ce524371a35d782b9a7021eab521c2fbbcd", + "Required label missing": "6913716764f8018414060c041e41a2951f5444efe5e97cd30a557be26403d1b1", "Required permissions": "edaffed36060c21e958b3fe562b7c57f51f67ba46326b1a9a5317a47b20e1747", "Required skill information is missing.": "e5cb742af5e92afab21f42c3edd4f5940db52a1c5320a9dd7236eca89a702789", "Required statuses": "c77453db9c939c7c7b8da080b0053847604126aefacf5a900d1d0fe30e4ba5ee", @@ -6407,6 +6416,7 @@ "Start an active Computer Use task first.": "1242a212935f863b51a7f3e8d16f12af408152d8047b274c5fef9fb7f1435f50", "Start autoplan": "7419a8efae15550dc21cccc23ca0a16c446e884842bfe48056af34a921175cb0", "Start background": "c690dc635cd0437e8911748d795084e5d32d0b75811490076285d41032d7300c", + "Start budget reached": "6b915cfb021a78ae6f8b4c1f2d9f40bbadcc486c04cbb00a807d52bfe78102ca", "Start by choosing a template or creating one manually.": "6a3ba02535ac7a0ab934b569a915927936dede63b4277ea4500e77c8835d4666", "Start child branch": "ee7b6caa5b4a1d3e8fd3ce47a26b42a4f2472834dfa17b2efc1864d0ed710948", "Start from a default role or blank teammate.": "1464ae64fd1ee987e353f53a2f9bab20053b2f0ae320c07839b7eecf710b8a96", @@ -6512,7 +6522,9 @@ "succeeded": "5dceaeceb6d8a49d3665594710ace68dfbc1800e2d663d7febb302b4dbee3d27", "Succeeded": "6d9a6f97a5fdaf3b90a0cf02e0b43d8b7ec1d05c0e4718e02ddd1c5b450e5b39", "Successfully generated {count} artifact based on the provided prompt.": "71f85e7639c004421f062f2dd6a129e5173931798f5d33b6f0482038b38a88fc", + "Suggest": "4effad823b048b0440dbeff42665f60a6ddec8e121c378966ed7c074a512c51f", "Suggest responsible owners based on context, decisions, and recent work.": "484eb4e21bcdd76a531a4234403ea29f0626094f9a2915b674f17e0b949be0a3", + "Suggested": "93b63bab4c3a28d73a8bb83bcdfdcc5f6ddecfc8fc702296ca159d94c5dc6e53", "Suggested next step": "78d74fd4ffec8d83a942e1274cfd15426b2b4bb2d96b15f905277638c339869e", "Suggested routing": "442b15c099c136738e26e139912a5f5d21e90216aade875a8db595b09c81fcbe", "Summaries": "87bc590e047d3df4a8e448ac83e371fad69dd73607752cccb0ff7d34263cef8f", @@ -7221,6 +7233,7 @@ "Untracked": "c7ba5477e19cf0bb25460d840cc2e67341e81e1c2d274d00b3054c73898d4d27", "unverified": "97b7e2db799e2b79e65f418b42a7d3054c95b2d3ab1dba243039597e44a38084", "Unverified": "33c8e8de41c3a35124251370e2a36e4d589f8789d80630abbbeceb933d3fb58f", + "Up to {concurrent} active and {starts} starts per {minutes} min": "cca43c28ef670fd5d55cb3bd813a2fef137043e4028096bcd2cdf22e2a06586b", "Up to date": "ce29b7f85b9eaf7dac52e625accb4b0cb56a856ebe9a9de9a09b613b6d978dca", "Update": "c1c1009d3f37ec058070a62e22caf9ac9dae2169d452487c5c271a8bcf57a291", "Update available": "ff8b555d818f0b25bbdd1bec8b479660bac7fc276acbe993e759bf67fed32c34", @@ -7548,6 +7561,7 @@ "Work intake, tool servers, and plugin bundles": "16b65a84c6fca2014b7e2d28b151bbf0afe19345230a0ac37304802311fed850", "Work is claimed": "c4b0d953436f2f59355d6540bae28e055ff49243f612887bbaed7bfd98c85d4d", "Work item ID": "1dcdad81d13850bd962965719f362fa7f32693b7b54fd8bb25d1e2402a470626", + "Work item paused": "299aabbf3c1418a3f01117e072d3bfe418e174bd1f355d1afdfae23c7b4bf678", "Work items": "5759a416f2b3b4ff92da23b8059419e06c39d27180b91a557f7cae779df3d2b6", "Work marked failed": "f26306888ed8c9a3808b8a420428f63e32d4c2223e7c9c89dd0a049806c539c6", "Work result": "19efe7487084061e9e358495b8a9bfd7e9d7c0035010e08ac35c14ba4ff8ca2a", @@ -8287,6 +8301,7 @@ "Allows": "પરવાનગી આપે છે", "Allows commands starting with {command}": "{command} થી શરૂ થતા આદેશોને મંજૂરી આપે છે", "Already imported": "પહેલેથી જ આયાત કરેલ છે", + "Already in work": "પહેલેથી જ કામમાં છે", "Also allow private memory and private chat queries remotely": "ખાનગી મેમરી અને ખાનગી ચેટ ક્વેરીઝને દૂરથી પણ મંજૂરી આપો", "Alternatives": "વિકલ્પો", "Alternatives considered": "વિકલ્પો ગણવામાં આવે છે", @@ -8547,6 +8562,7 @@ "Auto-start by default": "Auto-start by default", "Auto-start step": "Auto-start step", "Automatic": "આપોઆપ", + "Automatic intake": "આપોઆપ સેવન", "Automatic learning is off": "સ્વચાલિત શિક્ષણ બંધ છે", "Automatic parallel execution": "Automatic parallel execution", "Automatic proposals enabled": "સ્વચાલિત દરખાસ્તો સક્ષમ", @@ -8975,6 +8991,7 @@ "Check failed": "તપાસ નિષ્ફળ", "Check for changes": "ફેરફારો માટે તપાસો", "Check for updates": "અપડેટ્સ માટે તપાસો", + "Check GitHub inbox": "GitHub ઇનબોક્સ તપાસો", "Check member status": "સભ્ય સ્થિતિ તપાસો", "Check member status to load readiness.": "તત્પરતા લોડ કરવા માટે સભ્ય સ્થિતિ તપાસો.", "Check needed": "તપાસ જરૂરી છે", @@ -9282,6 +9299,7 @@ "Concise": "સંક્ષિપ્ત", "Concise, focused, direct.": "સંક્ષિપ્ત, કેન્દ્રિત, સીધું.", "conclusion {conclusion}": "નિષ્કર્ષ {conclusion}", + "Concurrent work limit reached": "સહવર્તી કાર્ય મર્યાદા પહોંચી", "Confidence": "આત્મવિશ્વાસ", "Configuration": "રૂપરેખાંકન", "Configuration digest": "રૂપરેખાંકન ડાયજેસ્ટ", @@ -10658,6 +10676,7 @@ "github": "ગીથબ", "GitHub": "GitHub", "GitHub CI triage": "GitHub CI ટ્રાયજ", + "GitHub intake": "GitHub ઇન્ટેક", "GitHub MCP": "GitHub MCP", "GitHub not connected (GITHUB_TOKEN or GH_TOKEN)": "GitHub not connected (GITHUB_TOKEN or GH_TOKEN)", "GitHub unavailable; retry later": "GitHub unavailable; retry later", @@ -12537,6 +12556,7 @@ "Policy details": "નીતિ વિગતો", "Policy narrows authority": "નીતિ સત્તાને સંકુચિત કરે છે", "policy overlays": "નીતિ ઓવરલે", + "Policy paused": "નીતિ થોભાવી", "Policy review": "નીતિ સમીક્ષા", "Policy snapshot artifact": "પોલિસી સ્નેપશોટ આર્ટિફેક્ટ", "Poll once": "એકવાર મતદાન કરો", @@ -12732,6 +12752,7 @@ "Provider state": "પ્રદાતા રાજ્ય", "Provider templates": "પ્રદાતા નમૂનાઓ", "Provider type": "પ્રદાતાનો પ્રકાર", + "Provider unavailable": "પ્રદાતા અનુપલબ્ધ", "Provider version": "પ્રદાતા સંસ્કરણ", "Provider warmup": "પ્રદાતા વોર્મઅપ", "Provider was automatically rechecked after daemon restart.": "ડિમન પુનઃપ્રારંભ પછી પ્રદાતાની આપમેળે ફરીથી તપાસ કરવામાં આવી હતી.", @@ -13117,6 +13138,8 @@ "Required for assigned teammates": "સોંપાયેલ ટીમના સાથીઓ માટે જરૂરી છે", "Required input": "જરૂરી ઇનપુટ", "Required input: {value}": "જરૂરી ઇનપુટ: {value}", + "Required label": "જરૂરી લેબલ", + "Required label missing": "જરૂરી લેબલ ખૂટે છે", "Required permissions": "જરૂરી પરવાનગીઓ", "Required skill information is missing.": "આવશ્યક કૌશલ્ય માહિતી ખૂટે છે.", "Required statuses": "Required statuses", @@ -14126,6 +14149,7 @@ "Start an active Computer Use task first.": "પહેલા એક સક્રિય Computer Use કાર્ય શરૂ કરો.", "Start autoplan": "ઓટોપ્લાન શરૂ કરો", "Start background": "પૃષ્ઠભૂમિ શરૂ કરો", + "Start budget reached": "પ્રારંભ બજેટ પહોંચી ગયું", "Start by choosing a template or creating one manually.": "નમૂનો પસંદ કરીને અથવા મેન્યુઅલી બનાવીને પ્રારંભ કરો.", "Start child branch": "બાળ શાળા શરૂ કરો", "Start from a default role or blank teammate.": "ડિફૉલ્ટ ભૂમિકા અથવા ખાલી ટીમના સાથીથી પ્રારંભ કરો.", @@ -14231,7 +14255,9 @@ "succeeded": "સફળ", "Succeeded": "સફળ", "Successfully generated {count} artifact based on the provided prompt.": "પ્રદાન કરેલ પ્રોમ્પ્ટના આધારે {count} આર્ટિફેક્ટ સફળતાપૂર્વક જનરેટ કર્યું.", + "Suggest": "સૂચન કરો", "Suggest responsible owners based on context, decisions, and recent work.": "સંદર્ભ, નિર્ણયો અને તાજેતરના કાર્યના આધારે જવાબદાર માલિકોને સૂચવો.", + "Suggested": "સૂચવ્યું", "Suggested next step": "આગળનું પગલું સૂચવ્યું", "Suggested routing": "સૂચવેલ રૂટીંગ", "Summaries": "સારાંશ", @@ -14940,6 +14966,7 @@ "Untracked": "અનટ્રેક કરેલ", "unverified": "ચકાસાયેલ નથી", "Unverified": "ચકાસાયેલ", + "Up to {concurrent} active and {starts} starts per {minutes} min": "{concurrent} સુધી સક્રિય અને {starts} પ્રતિ {minutes} મિનિટ શરૂ થાય છે", "Up to date": "અપ ટુ ડેટ", "Update": "અપડેટ કરો", "Update available": "અપડેટ ઉપલબ્ધ છે", @@ -15267,6 +15294,7 @@ "Work intake, tool servers, and plugin bundles": "વર્ક ઇનટેક, ટૂલ સર્વર્સ અને પ્લગઇન બંડલ્સ", "Work is claimed": "કામનો દાવો કરાયો છે", "Work item ID": "કાર્ય આઇટમ ID", + "Work item paused": "કાર્ય આઇટમ થોભાવી", "Work items": "કામ વસ્તુઓ", "Work marked failed": "ચિહ્નિત કાર્ય નિષ્ફળ થયું", "Work result": "કામનું પરિણામ", diff --git a/packages/localization/catalogs/hi-IN.json b/packages/localization/catalogs/hi-IN.json index d59a959e9..1bc8a6fe1 100644 --- a/packages/localization/catalogs/hi-IN.json +++ b/packages/localization/catalogs/hi-IN.json @@ -1,6 +1,6 @@ { "locale": "hi-IN", - "sourceRevision": "214db76d79f1a5c0fd915c110a2ead6dbb978b58398846e982a0c1ff0cb53108", + "sourceRevision": "6468d2af71d2feb60f9b8c5f37bc2a3ff1177fb2c8b0d65e85002de6b1095cbb", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -568,6 +568,7 @@ "Allows": "8b1d52d202522d89fe65fb00e505abab46dc200a88c0be5d468a2a7e6dce9ccf", "Allows commands starting with {command}": "f5c5d446a6850880ae79768c175bacaf2bc487f715d5768d0b225eb643e3ce07", "Already imported": "e47fafe0a1c6f8d6b5c641c5d9cc7ca61e66a1c50bbc3b619c8ff5912444bfa8", + "Already in work": "ae40a6ff362406d9f1fdc40ad79cea7bd1705e6e173b2267f2a310777aedb387", "Also allow private memory and private chat queries remotely": "0b6b2ba6882b67c8b5b79f0f07964588232be1a9e520011e19bbea224c59a913", "Alternatives": "41055f72edad1559b8ba43440cd7938eb73685930c7141fede9b95000fd41299", "Alternatives considered": "73534cb410e6191096c7fa7ca56ba066f90b4fdede8677d64bc98068804afa3c", @@ -828,6 +829,7 @@ "Auto-start by default": "403861dc8396a3ea666e143d33e0429d3c26721771abf3face351259eee9b28f", "Auto-start step": "2bf61e4807ad3bf6ebc934bf54e917d5b3a87295001826be3a7dd57c7e75cc8d", "Automatic": "d461a493a3753877c9486cffa3444265a33370af8a7fff242fb119b71750839c", + "Automatic intake": "6eed82b223c717114773803e9d9d90d6d3cde9579bf264647347e559817a5081", "Automatic learning is off": "8ba1b4a02530490260a7b8e748e0809ddc3885213a009f3896264bc665060bdd", "Automatic parallel execution": "63d058c173c4a148a14094327c26d9af2c5bde1779c91dbf0d913e90b0687be9", "Automatic proposals enabled": "db670932d259eeedd26de8d7ca836594d5f3861ff24e1f94170c7333676c157a", @@ -1256,6 +1258,7 @@ "Check failed": "c8813c1128d545bfe7e7458ae24d724447097b3518643f86fa3e532f88e9fb40", "Check for changes": "5da755d1690f58c1c822a4b85422734bacc2122c7c67f4e8617f0765ac835113", "Check for updates": "f26f3275e735bdf6268532ca7cbea3887c9adad21d8df74e84b2bc7791475c0d", + "Check GitHub inbox": "51cd97da0bc2b213621668f69168386eaee18bdae064041094187404c9fc71ee", "Check member status": "ff155af014d0b6e94cbf2fca3b01cf8d5725732f178eee985083478adb4a62f5", "Check member status to load readiness.": "6f7f338e22e626b134643fbaec898cf8e8efd19b85eeb6193b4ca0d5d63c4528", "Check needed": "561a32f0c83e5a4fe8d77d891bd4b954d514ea021b4a18e68a3607f5d8747841", @@ -1563,6 +1566,7 @@ "Concise": "8340d833ab72d3321b07af0184597743b010e142b39593cebb450d4227e62f0c", "Concise, focused, direct.": "e9cb028d2d79111476e9c8ea1562b7f6275fd39d43abf410338d7c0ae2fff5a5", "conclusion {conclusion}": "dc328d7e11ecbdc61fa90fc18e3ced70b794ca55dcc476d03c88eff72f16274d", + "Concurrent work limit reached": "f60d0f2d4a9ba0c57c7e7835bd52a1912f39581799f2babb636d190317a96b54", "Confidence": "6422e3e78f5e5f5a15e92cc57ed7114adb289339251031ccb526d9249437dc82", "Configuration": "b332c3492d5eb10a118eb6d8b0dcd689bc2477ce2ae16b303753b942b54377bc", "Configuration digest": "5bbf2d321122a5a57d36c77291d232d51f9ae9a1655e80f042727754aea15bfe", @@ -2939,6 +2943,7 @@ "github": "c0b0109d9439de57fe3cf03abeccbc52f4c98170c732d3b69af5e6395ace574e", "GitHub": "f911e414cf6bdfc595532ab166b5ba0f63d73c021452fcdacbda363dda6ad8fb", "GitHub CI triage": "6a2368ce3943b296b07b5241227baf2a863d3f50f8a46ddb0889cbb5045ccd84", + "GitHub intake": "064829c63fcbc74d45753e04f583c69a391d25d4ed334de3b69fa2720f733cb1", "GitHub MCP": "408b061889ef672152b51ce8dbd56216d1b7e97303429b59538b99fe663c6f04", "GitHub not connected (GITHUB_TOKEN or GH_TOKEN)": "1cb239b6b5ea26422b411a25d3a4e254cdf45b7e730eb91b976a36f12adeb21b", "GitHub unavailable; retry later": "33b2cec76eccd24c4d8d61c265de8b06a6a20820ab1fccdcb433a22903909d02", @@ -4818,6 +4823,7 @@ "Policy details": "00e33950cacf32a39cc25f71ccb1650c4c788c12816e07681d80f0fdc537be98", "Policy narrows authority": "e9e2012e5ac96664fb03ff0f81f4f49cb5b8ee069149139352e7c89b73e43baa", "policy overlays": "db26199cf2a47a948b45caf37b4d50ede3ef415fad6c940cfe56a118970fcefb", + "Policy paused": "11fc11eaf385253466e26bac9916425e1e009695cd40adc4c7a132366d187518", "Policy review": "1cf67fef927c77770a1fcd8b20982b24b15cc0b6f1e8b56265d87baff019dd7e", "Policy snapshot artifact": "7f8b2985d498316ac01fa5f2276d2556cab712b4c8bc2b93e16dfc1353e23a77", "Poll once": "c7e7d724ff87555fb857467569ce709d958ee2d5d1ab2cc890554c7605e86e78", @@ -5013,6 +5019,7 @@ "Provider state": "633d1ca46603e61fc3d39459c1414102a27bbc4ba0adfb0b22ba5a205c2b9815", "Provider templates": "1e8649b7c667a6afc6dc88cbdb3069e349e850466cf3efa57eeedab9b70486f7", "Provider type": "8c0f6d3ebfe7ba3a0c0006068a9aa664d09244ba3cd438f2d56fab117bee1347", + "Provider unavailable": "ff2113958589f9bfb87b54f959be825d00ec5eca374d907bb343f98ebdbc84c3", "Provider version": "1f5ecefbd682ced2f438c8ae3c8849ba9effbe6cd77c19051cee2d2036ef9c90", "Provider warmup": "36ae143804c9a909bce770f54be5652b69b99ee7838cca99daa31e23d4d6d63c", "Provider was automatically rechecked after daemon restart.": "7bd8e8ee592f30e81adca8c96b079d6526846dc142bd99e5bbba3d9bebbde7a9", @@ -5398,6 +5405,8 @@ "Required for assigned teammates": "4732aa544a8d93b886e6bcbbcc5c3314af692f8a8a812efd4844cd3589b7b63a", "Required input": "fafaaf99b5a6af521026448890a9dacaf4d47053804a34be7cdf364e13637181", "Required input: {value}": "757166b8bf43ee39819f00d86fa61a84ddb3f3eba2a883c6bb996b8f82101d22", + "Required label": "5f623a5ad31f874a782d2205c9318ce524371a35d782b9a7021eab521c2fbbcd", + "Required label missing": "6913716764f8018414060c041e41a2951f5444efe5e97cd30a557be26403d1b1", "Required permissions": "edaffed36060c21e958b3fe562b7c57f51f67ba46326b1a9a5317a47b20e1747", "Required skill information is missing.": "e5cb742af5e92afab21f42c3edd4f5940db52a1c5320a9dd7236eca89a702789", "Required statuses": "c77453db9c939c7c7b8da080b0053847604126aefacf5a900d1d0fe30e4ba5ee", @@ -6407,6 +6416,7 @@ "Start an active Computer Use task first.": "1242a212935f863b51a7f3e8d16f12af408152d8047b274c5fef9fb7f1435f50", "Start autoplan": "7419a8efae15550dc21cccc23ca0a16c446e884842bfe48056af34a921175cb0", "Start background": "c690dc635cd0437e8911748d795084e5d32d0b75811490076285d41032d7300c", + "Start budget reached": "6b915cfb021a78ae6f8b4c1f2d9f40bbadcc486c04cbb00a807d52bfe78102ca", "Start by choosing a template or creating one manually.": "6a3ba02535ac7a0ab934b569a915927936dede63b4277ea4500e77c8835d4666", "Start child branch": "ee7b6caa5b4a1d3e8fd3ce47a26b42a4f2472834dfa17b2efc1864d0ed710948", "Start from a default role or blank teammate.": "1464ae64fd1ee987e353f53a2f9bab20053b2f0ae320c07839b7eecf710b8a96", @@ -6512,7 +6522,9 @@ "succeeded": "5dceaeceb6d8a49d3665594710ace68dfbc1800e2d663d7febb302b4dbee3d27", "Succeeded": "6d9a6f97a5fdaf3b90a0cf02e0b43d8b7ec1d05c0e4718e02ddd1c5b450e5b39", "Successfully generated {count} artifact based on the provided prompt.": "71f85e7639c004421f062f2dd6a129e5173931798f5d33b6f0482038b38a88fc", + "Suggest": "4effad823b048b0440dbeff42665f60a6ddec8e121c378966ed7c074a512c51f", "Suggest responsible owners based on context, decisions, and recent work.": "484eb4e21bcdd76a531a4234403ea29f0626094f9a2915b674f17e0b949be0a3", + "Suggested": "93b63bab4c3a28d73a8bb83bcdfdcc5f6ddecfc8fc702296ca159d94c5dc6e53", "Suggested next step": "78d74fd4ffec8d83a942e1274cfd15426b2b4bb2d96b15f905277638c339869e", "Suggested routing": "442b15c099c136738e26e139912a5f5d21e90216aade875a8db595b09c81fcbe", "Summaries": "87bc590e047d3df4a8e448ac83e371fad69dd73607752cccb0ff7d34263cef8f", @@ -7221,6 +7233,7 @@ "Untracked": "c7ba5477e19cf0bb25460d840cc2e67341e81e1c2d274d00b3054c73898d4d27", "unverified": "97b7e2db799e2b79e65f418b42a7d3054c95b2d3ab1dba243039597e44a38084", "Unverified": "33c8e8de41c3a35124251370e2a36e4d589f8789d80630abbbeceb933d3fb58f", + "Up to {concurrent} active and {starts} starts per {minutes} min": "cca43c28ef670fd5d55cb3bd813a2fef137043e4028096bcd2cdf22e2a06586b", "Up to date": "ce29b7f85b9eaf7dac52e625accb4b0cb56a856ebe9a9de9a09b613b6d978dca", "Update": "c1c1009d3f37ec058070a62e22caf9ac9dae2169d452487c5c271a8bcf57a291", "Update available": "ff8b555d818f0b25bbdd1bec8b479660bac7fc276acbe993e759bf67fed32c34", @@ -7548,6 +7561,7 @@ "Work intake, tool servers, and plugin bundles": "16b65a84c6fca2014b7e2d28b151bbf0afe19345230a0ac37304802311fed850", "Work is claimed": "c4b0d953436f2f59355d6540bae28e055ff49243f612887bbaed7bfd98c85d4d", "Work item ID": "1dcdad81d13850bd962965719f362fa7f32693b7b54fd8bb25d1e2402a470626", + "Work item paused": "299aabbf3c1418a3f01117e072d3bfe418e174bd1f355d1afdfae23c7b4bf678", "Work items": "5759a416f2b3b4ff92da23b8059419e06c39d27180b91a557f7cae779df3d2b6", "Work marked failed": "f26306888ed8c9a3808b8a420428f63e32d4c2223e7c9c89dd0a049806c539c6", "Work result": "19efe7487084061e9e358495b8a9bfd7e9d7c0035010e08ac35c14ba4ff8ca2a", @@ -8287,6 +8301,7 @@ "Allows": "की अनुमति देता है", "Allows commands starting with {command}": "{command} से शुरू होने वाले आदेशों की अनुमति देता है", "Already imported": "पहले ही आयात किया जा चुका है", + "Already in work": "पहले से ही काम में है", "Also allow private memory and private chat queries remotely": "साथ ही निजी मेमोरी और निजी चैट क्वेरी को दूरस्थ रूप से अनुमति दें", "Alternatives": "वैकल्पिक", "Alternatives considered": "विकल्पों पर विचार किया गया", @@ -8547,6 +8562,7 @@ "Auto-start by default": "Auto-start by default", "Auto-start step": "Auto-start step", "Automatic": "स्वचालित", + "Automatic intake": "स्वचालित सेवन", "Automatic learning is off": "स्वचालित शिक्षण बंद है", "Automatic parallel execution": "Automatic parallel execution", "Automatic proposals enabled": "स्वचालित प्रस्ताव सक्षम", @@ -8975,6 +8991,7 @@ "Check failed": "जाँच विफल रही", "Check for changes": "परिवर्तनों की जाँच करें", "Check for updates": "अद्यतन के लिए जाँच", + "Check GitHub inbox": "GitHub इनबॉक्स जांचें", "Check member status": "सदस्य स्थिति जांचें", "Check member status to load readiness.": "लोड करने की तैयारी के लिए सदस्य की स्थिति जांचें।", "Check needed": "जांच की जरूरत है", @@ -9282,6 +9299,7 @@ "Concise": "संक्षिप्त", "Concise, focused, direct.": "संक्षिप्त, केंद्रित, प्रत्यक्ष.", "conclusion {conclusion}": "निष्कर्ष {conclusion}", + "Concurrent work limit reached": "समवर्ती कार्य सीमा पूरी हो गई", "Confidence": "आत्मविश्वास", "Configuration": "विन्यास", "Configuration digest": "कॉन्फ़िगरेशन डाइजेस्ट", @@ -10658,6 +10676,7 @@ "github": "GitHub", "GitHub": "GitHub", "GitHub CI triage": "GitHub सीआई ट्राइएज", + "GitHub intake": "GitHub सेवन", "GitHub MCP": "GitHub MCP", "GitHub not connected (GITHUB_TOKEN or GH_TOKEN)": "GitHub not connected (GITHUB_TOKEN or GH_TOKEN)", "GitHub unavailable; retry later": "GitHub unavailable; retry later", @@ -12537,6 +12556,7 @@ "Policy details": "नीति विवरण", "Policy narrows authority": "नीति प्राधिकार को संकुचित करती है", "policy overlays": "नीति ओवरले", + "Policy paused": "नीति रोक दी गई", "Policy review": "नीति समीक्षा", "Policy snapshot artifact": "नीति स्नैपशॉट कलाकृति", "Poll once": "एक बार मतदान करें", @@ -12732,6 +12752,7 @@ "Provider state": "प्रदाता राज्य", "Provider templates": "प्रदाता टेम्पलेट", "Provider type": "प्रदाता प्रकार", + "Provider unavailable": "प्रदाता अनुपलब्ध है", "Provider version": "प्रदाता संस्करण", "Provider warmup": "प्रदाता वार्मअप", "Provider was automatically rechecked after daemon restart.": "डेमॉन पुनरारंभ के बाद प्रदाता स्वचालित रूप से पुनः जांचा गया था।", @@ -13117,6 +13138,8 @@ "Required for assigned teammates": "असाइन किए गए टीम साथियों के लिए आवश्यक", "Required input": "आवश्यक इनपुट", "Required input: {value}": "आवश्यक इनपुट: {value}", + "Required label": "आवश्यक लेबल", + "Required label missing": "आवश्यक लेबल गायब है", "Required permissions": "आवश्यक अनुमतियाँ", "Required skill information is missing.": "आवश्यक कौशल संबंधी जानकारी अनुपलब्ध है.", "Required statuses": "Required statuses", @@ -14126,6 +14149,7 @@ "Start an active Computer Use task first.": "पहले एक सक्रिय Computer Use कार्य प्रारंभ करें।", "Start autoplan": "ऑटोप्लान प्रारंभ करें", "Start background": "पृष्ठभूमि प्रारंभ करें", + "Start budget reached": "आरंभिक बजट पूरा हो गया", "Start by choosing a template or creating one manually.": "एक टेम्प्लेट चुनकर या मैन्युअल रूप से एक बनाकर शुरुआत करें।", "Start child branch": "बाल शाखा प्रारंभ करें", "Start from a default role or blank teammate.": "किसी डिफ़ॉल्ट भूमिका या रिक्त टीम-साथी से प्रारंभ करें.", @@ -14231,7 +14255,9 @@ "succeeded": "सफल हुए", "Succeeded": "सफल हुए", "Successfully generated {count} artifact based on the provided prompt.": "दिए गए प्रॉम्प्ट के आधार पर सफलतापूर्वक {count} आर्टिफैक्ट तैयार किया गया।", + "Suggest": "सुझाव देना", "Suggest responsible owners based on context, decisions, and recent work.": "संदर्भ, निर्णय और हाल के काम के आधार पर जिम्मेदार मालिकों का सुझाव दें।", + "Suggested": "सुझाव दिया", "Suggested next step": "अगला कदम सुझाया", "Suggested routing": "सुझाया गया मार्ग", "Summaries": "सारांश", @@ -14940,6 +14966,7 @@ "Untracked": "ट्रैक न किए गए", "unverified": "असत्यापित", "Unverified": "असत्यापित", + "Up to {concurrent} active and {starts} starts per {minutes} min": "{concurrent} तक सक्रिय और {starts} प्रति {minutes} मिनट पर प्रारंभ होता है", "Up to date": "अप टू डेट", "Update": "अद्यतन", "Update available": "उपलब्ध अद्यतन", @@ -15267,6 +15294,7 @@ "Work intake, tool servers, and plugin bundles": "कार्य सेवन, टूल सर्वर और प्लगइन बंडल", "Work is claimed": "काम का दावा किया गया है", "Work item ID": "कार्य मद ID", + "Work item paused": "कार्य मद रुका हुआ है", "Work items": "कार्य वस्तुएं", "Work marked failed": "कार्य विफल चिह्नित किया गया", "Work result": "कार्य परिणाम", diff --git a/packages/localization/catalogs/hr-HR.json b/packages/localization/catalogs/hr-HR.json index 9d5d27660..5fd0c3342 100644 --- a/packages/localization/catalogs/hr-HR.json +++ b/packages/localization/catalogs/hr-HR.json @@ -1,6 +1,6 @@ { "locale": "hr-HR", - "sourceRevision": "214db76d79f1a5c0fd915c110a2ead6dbb978b58398846e982a0c1ff0cb53108", + "sourceRevision": "6468d2af71d2feb60f9b8c5f37bc2a3ff1177fb2c8b0d65e85002de6b1095cbb", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -568,6 +568,7 @@ "Allows": "8b1d52d202522d89fe65fb00e505abab46dc200a88c0be5d468a2a7e6dce9ccf", "Allows commands starting with {command}": "f5c5d446a6850880ae79768c175bacaf2bc487f715d5768d0b225eb643e3ce07", "Already imported": "e47fafe0a1c6f8d6b5c641c5d9cc7ca61e66a1c50bbc3b619c8ff5912444bfa8", + "Already in work": "ae40a6ff362406d9f1fdc40ad79cea7bd1705e6e173b2267f2a310777aedb387", "Also allow private memory and private chat queries remotely": "0b6b2ba6882b67c8b5b79f0f07964588232be1a9e520011e19bbea224c59a913", "Alternatives": "41055f72edad1559b8ba43440cd7938eb73685930c7141fede9b95000fd41299", "Alternatives considered": "73534cb410e6191096c7fa7ca56ba066f90b4fdede8677d64bc98068804afa3c", @@ -828,6 +829,7 @@ "Auto-start by default": "403861dc8396a3ea666e143d33e0429d3c26721771abf3face351259eee9b28f", "Auto-start step": "2bf61e4807ad3bf6ebc934bf54e917d5b3a87295001826be3a7dd57c7e75cc8d", "Automatic": "d461a493a3753877c9486cffa3444265a33370af8a7fff242fb119b71750839c", + "Automatic intake": "6eed82b223c717114773803e9d9d90d6d3cde9579bf264647347e559817a5081", "Automatic learning is off": "8ba1b4a02530490260a7b8e748e0809ddc3885213a009f3896264bc665060bdd", "Automatic parallel execution": "63d058c173c4a148a14094327c26d9af2c5bde1779c91dbf0d913e90b0687be9", "Automatic proposals enabled": "db670932d259eeedd26de8d7ca836594d5f3861ff24e1f94170c7333676c157a", @@ -1256,6 +1258,7 @@ "Check failed": "c8813c1128d545bfe7e7458ae24d724447097b3518643f86fa3e532f88e9fb40", "Check for changes": "5da755d1690f58c1c822a4b85422734bacc2122c7c67f4e8617f0765ac835113", "Check for updates": "f26f3275e735bdf6268532ca7cbea3887c9adad21d8df74e84b2bc7791475c0d", + "Check GitHub inbox": "51cd97da0bc2b213621668f69168386eaee18bdae064041094187404c9fc71ee", "Check member status": "ff155af014d0b6e94cbf2fca3b01cf8d5725732f178eee985083478adb4a62f5", "Check member status to load readiness.": "6f7f338e22e626b134643fbaec898cf8e8efd19b85eeb6193b4ca0d5d63c4528", "Check needed": "561a32f0c83e5a4fe8d77d891bd4b954d514ea021b4a18e68a3607f5d8747841", @@ -1563,6 +1566,7 @@ "Concise": "8340d833ab72d3321b07af0184597743b010e142b39593cebb450d4227e62f0c", "Concise, focused, direct.": "e9cb028d2d79111476e9c8ea1562b7f6275fd39d43abf410338d7c0ae2fff5a5", "conclusion {conclusion}": "dc328d7e11ecbdc61fa90fc18e3ced70b794ca55dcc476d03c88eff72f16274d", + "Concurrent work limit reached": "f60d0f2d4a9ba0c57c7e7835bd52a1912f39581799f2babb636d190317a96b54", "Confidence": "6422e3e78f5e5f5a15e92cc57ed7114adb289339251031ccb526d9249437dc82", "Configuration": "b332c3492d5eb10a118eb6d8b0dcd689bc2477ce2ae16b303753b942b54377bc", "Configuration digest": "5bbf2d321122a5a57d36c77291d232d51f9ae9a1655e80f042727754aea15bfe", @@ -2939,6 +2943,7 @@ "github": "c0b0109d9439de57fe3cf03abeccbc52f4c98170c732d3b69af5e6395ace574e", "GitHub": "f911e414cf6bdfc595532ab166b5ba0f63d73c021452fcdacbda363dda6ad8fb", "GitHub CI triage": "6a2368ce3943b296b07b5241227baf2a863d3f50f8a46ddb0889cbb5045ccd84", + "GitHub intake": "064829c63fcbc74d45753e04f583c69a391d25d4ed334de3b69fa2720f733cb1", "GitHub MCP": "408b061889ef672152b51ce8dbd56216d1b7e97303429b59538b99fe663c6f04", "GitHub not connected (GITHUB_TOKEN or GH_TOKEN)": "1cb239b6b5ea26422b411a25d3a4e254cdf45b7e730eb91b976a36f12adeb21b", "GitHub unavailable; retry later": "33b2cec76eccd24c4d8d61c265de8b06a6a20820ab1fccdcb433a22903909d02", @@ -4818,6 +4823,7 @@ "Policy details": "00e33950cacf32a39cc25f71ccb1650c4c788c12816e07681d80f0fdc537be98", "Policy narrows authority": "e9e2012e5ac96664fb03ff0f81f4f49cb5b8ee069149139352e7c89b73e43baa", "policy overlays": "db26199cf2a47a948b45caf37b4d50ede3ef415fad6c940cfe56a118970fcefb", + "Policy paused": "11fc11eaf385253466e26bac9916425e1e009695cd40adc4c7a132366d187518", "Policy review": "1cf67fef927c77770a1fcd8b20982b24b15cc0b6f1e8b56265d87baff019dd7e", "Policy snapshot artifact": "7f8b2985d498316ac01fa5f2276d2556cab712b4c8bc2b93e16dfc1353e23a77", "Poll once": "c7e7d724ff87555fb857467569ce709d958ee2d5d1ab2cc890554c7605e86e78", @@ -5013,6 +5019,7 @@ "Provider state": "633d1ca46603e61fc3d39459c1414102a27bbc4ba0adfb0b22ba5a205c2b9815", "Provider templates": "1e8649b7c667a6afc6dc88cbdb3069e349e850466cf3efa57eeedab9b70486f7", "Provider type": "8c0f6d3ebfe7ba3a0c0006068a9aa664d09244ba3cd438f2d56fab117bee1347", + "Provider unavailable": "ff2113958589f9bfb87b54f959be825d00ec5eca374d907bb343f98ebdbc84c3", "Provider version": "1f5ecefbd682ced2f438c8ae3c8849ba9effbe6cd77c19051cee2d2036ef9c90", "Provider warmup": "36ae143804c9a909bce770f54be5652b69b99ee7838cca99daa31e23d4d6d63c", "Provider was automatically rechecked after daemon restart.": "7bd8e8ee592f30e81adca8c96b079d6526846dc142bd99e5bbba3d9bebbde7a9", @@ -5398,6 +5405,8 @@ "Required for assigned teammates": "4732aa544a8d93b886e6bcbbcc5c3314af692f8a8a812efd4844cd3589b7b63a", "Required input": "fafaaf99b5a6af521026448890a9dacaf4d47053804a34be7cdf364e13637181", "Required input: {value}": "757166b8bf43ee39819f00d86fa61a84ddb3f3eba2a883c6bb996b8f82101d22", + "Required label": "5f623a5ad31f874a782d2205c9318ce524371a35d782b9a7021eab521c2fbbcd", + "Required label missing": "6913716764f8018414060c041e41a2951f5444efe5e97cd30a557be26403d1b1", "Required permissions": "edaffed36060c21e958b3fe562b7c57f51f67ba46326b1a9a5317a47b20e1747", "Required skill information is missing.": "e5cb742af5e92afab21f42c3edd4f5940db52a1c5320a9dd7236eca89a702789", "Required statuses": "c77453db9c939c7c7b8da080b0053847604126aefacf5a900d1d0fe30e4ba5ee", @@ -6407,6 +6416,7 @@ "Start an active Computer Use task first.": "1242a212935f863b51a7f3e8d16f12af408152d8047b274c5fef9fb7f1435f50", "Start autoplan": "7419a8efae15550dc21cccc23ca0a16c446e884842bfe48056af34a921175cb0", "Start background": "c690dc635cd0437e8911748d795084e5d32d0b75811490076285d41032d7300c", + "Start budget reached": "6b915cfb021a78ae6f8b4c1f2d9f40bbadcc486c04cbb00a807d52bfe78102ca", "Start by choosing a template or creating one manually.": "6a3ba02535ac7a0ab934b569a915927936dede63b4277ea4500e77c8835d4666", "Start child branch": "ee7b6caa5b4a1d3e8fd3ce47a26b42a4f2472834dfa17b2efc1864d0ed710948", "Start from a default role or blank teammate.": "1464ae64fd1ee987e353f53a2f9bab20053b2f0ae320c07839b7eecf710b8a96", @@ -6512,7 +6522,9 @@ "succeeded": "5dceaeceb6d8a49d3665594710ace68dfbc1800e2d663d7febb302b4dbee3d27", "Succeeded": "6d9a6f97a5fdaf3b90a0cf02e0b43d8b7ec1d05c0e4718e02ddd1c5b450e5b39", "Successfully generated {count} artifact based on the provided prompt.": "71f85e7639c004421f062f2dd6a129e5173931798f5d33b6f0482038b38a88fc", + "Suggest": "4effad823b048b0440dbeff42665f60a6ddec8e121c378966ed7c074a512c51f", "Suggest responsible owners based on context, decisions, and recent work.": "484eb4e21bcdd76a531a4234403ea29f0626094f9a2915b674f17e0b949be0a3", + "Suggested": "93b63bab4c3a28d73a8bb83bcdfdcc5f6ddecfc8fc702296ca159d94c5dc6e53", "Suggested next step": "78d74fd4ffec8d83a942e1274cfd15426b2b4bb2d96b15f905277638c339869e", "Suggested routing": "442b15c099c136738e26e139912a5f5d21e90216aade875a8db595b09c81fcbe", "Summaries": "87bc590e047d3df4a8e448ac83e371fad69dd73607752cccb0ff7d34263cef8f", @@ -7221,6 +7233,7 @@ "Untracked": "c7ba5477e19cf0bb25460d840cc2e67341e81e1c2d274d00b3054c73898d4d27", "unverified": "97b7e2db799e2b79e65f418b42a7d3054c95b2d3ab1dba243039597e44a38084", "Unverified": "33c8e8de41c3a35124251370e2a36e4d589f8789d80630abbbeceb933d3fb58f", + "Up to {concurrent} active and {starts} starts per {minutes} min": "cca43c28ef670fd5d55cb3bd813a2fef137043e4028096bcd2cdf22e2a06586b", "Up to date": "ce29b7f85b9eaf7dac52e625accb4b0cb56a856ebe9a9de9a09b613b6d978dca", "Update": "c1c1009d3f37ec058070a62e22caf9ac9dae2169d452487c5c271a8bcf57a291", "Update available": "ff8b555d818f0b25bbdd1bec8b479660bac7fc276acbe993e759bf67fed32c34", @@ -7548,6 +7561,7 @@ "Work intake, tool servers, and plugin bundles": "16b65a84c6fca2014b7e2d28b151bbf0afe19345230a0ac37304802311fed850", "Work is claimed": "c4b0d953436f2f59355d6540bae28e055ff49243f612887bbaed7bfd98c85d4d", "Work item ID": "1dcdad81d13850bd962965719f362fa7f32693b7b54fd8bb25d1e2402a470626", + "Work item paused": "299aabbf3c1418a3f01117e072d3bfe418e174bd1f355d1afdfae23c7b4bf678", "Work items": "5759a416f2b3b4ff92da23b8059419e06c39d27180b91a557f7cae779df3d2b6", "Work marked failed": "f26306888ed8c9a3808b8a420428f63e32d4c2223e7c9c89dd0a049806c539c6", "Work result": "19efe7487084061e9e358495b8a9bfd7e9d7c0035010e08ac35c14ba4ff8ca2a", @@ -8287,6 +8301,7 @@ "Allows": "Dopušta", "Allows commands starting with {command}": "Dopušta naredbe koje počinju s {command}", "Already imported": "Već uvezeno", + "Already in work": "Već u poslu", "Also allow private memory and private chat queries remotely": "Također dopustite privatnu memoriju i privatne upite za chat na daljinu", "Alternatives": "Alternative", "Alternatives considered": "Razmotrene alternative", @@ -8547,6 +8562,7 @@ "Auto-start by default": "Auto-start by default", "Auto-start step": "Auto-start step", "Automatic": "Automatski", + "Automatic intake": "Automatski unos", "Automatic learning is off": "Automatsko učenje je isključeno", "Automatic parallel execution": "Automatic parallel execution", "Automatic proposals enabled": "Omogućeni su automatski prijedlozi", @@ -8975,6 +8991,7 @@ "Check failed": "Provjera nije uspjela", "Check for changes": "Provjerite promjene", "Check for updates": "Provjerite ima li ažuriranja", + "Check GitHub inbox": "Provjerite GitHub inbox", "Check member status": "Provjerite status člana", "Check member status to load readiness.": "Provjerite status člana za učitavanje spremnosti.", "Check needed": "Potrebna provjera", @@ -9282,6 +9299,7 @@ "Concise": "Sažeto", "Concise, focused, direct.": "Koncizan, fokusiran, izravan.", "conclusion {conclusion}": "zaključak {conclusion}", + "Concurrent work limit reached": "Dosegnuto je ograničenje istovremenog rada", "Confidence": "Povjerenje", "Configuration": "Konfiguracija", "Configuration digest": "Sažetak konfiguracije", @@ -10658,6 +10676,7 @@ "github": "github", "GitHub": "GitHub", "GitHub CI triage": "GitHub CI trijaža", + "GitHub intake": "GitHub unos", "GitHub MCP": "GitHub MCP", "GitHub not connected (GITHUB_TOKEN or GH_TOKEN)": "GitHub not connected (GITHUB_TOKEN or GH_TOKEN)", "GitHub unavailable; retry later": "GitHub unavailable; retry later", @@ -12537,6 +12556,7 @@ "Policy details": "Pojedinosti o politici", "Policy narrows authority": "Politika sužava ovlasti", "policy overlays": "preklapanja politike", + "Policy paused": "Pravilo je pauzirano", "Policy review": "Pregled politike", "Policy snapshot artifact": "Artefakt snimke pravila", "Poll once": "Anketa jednom", @@ -12732,6 +12752,7 @@ "Provider state": "Država pružatelja usluga", "Provider templates": "Predlošci pružatelja usluga", "Provider type": "Vrsta pružatelja usluga", + "Provider unavailable": "Davatelj nije dostupan", "Provider version": "Verzija pružatelja usluga", "Provider warmup": "Zagrijavanje pružatelja usluga", "Provider was automatically rechecked after daemon restart.": "Davatelj je automatski ponovno provjeren nakon ponovnog pokretanja demona.", @@ -13117,6 +13138,8 @@ "Required for assigned teammates": "Obavezno za dodijeljene suigrače", "Required input": "Potreban unos", "Required input: {value}": "Potreban unos: {value}", + "Required label": "Obavezna oznaka", + "Required label missing": "Nedostaje potrebna oznaka", "Required permissions": "Potrebna dopuštenja", "Required skill information is missing.": "Nedostaju informacije o potrebnim vještinama.", "Required statuses": "Required statuses", @@ -14126,6 +14149,7 @@ "Start an active Computer Use task first.": "Najprije pokrenite aktivni Computer Use zadatak.", "Start autoplan": "Pokreni autoplan", "Start background": "Pokreni pozadinu", + "Start budget reached": "Početni proračun dosegnut", "Start by choosing a template or creating one manually.": "Započnite odabirom predloška ili ga ručno izradite.", "Start child branch": "Pokreni podređenu granu", "Start from a default role or blank teammate.": "Počnite od zadane uloge ili praznog suigrača.", @@ -14231,7 +14255,9 @@ "succeeded": "uspio", "Succeeded": "Uspjelo", "Successfully generated {count} artifact based on the provided prompt.": "Uspješno generiran artefakt {count} na temelju dobivenog upita.", + "Suggest": "Predloži", "Suggest responsible owners based on context, decisions, and recent work.": "Predložite odgovorne vlasnike na temelju konteksta, odluka i nedavnog rada.", + "Suggested": "Predloženo", "Suggested next step": "Predloženi sljedeći korak", "Suggested routing": "Predložena ruta", "Summaries": "Sažeci", @@ -14940,6 +14966,7 @@ "Untracked": "Nepraćeno", "unverified": "neprovjereno", "Unverified": "Neprovjereno", + "Up to {concurrent} active and {starts} starts per {minutes} min": "Do {concurrent} aktivnih i {starts} pokretanja po {minutes} min", "Up to date": "Ažurno", "Update": "Ažurirati", "Update available": "Ažuriranje dostupno", @@ -15267,6 +15294,7 @@ "Work intake, tool servers, and plugin bundles": "Radni unos, poslužitelji alata i paketi dodataka", "Work is claimed": "Rad se potražuje", "Work item ID": "Radni predmet ID", + "Work item paused": "Radna stavka je pauzirana", "Work items": "Radni predmeti", "Work marked failed": "Rad označen neuspjelim", "Work result": "Rezultat rada", diff --git a/packages/localization/catalogs/hu-HU.json b/packages/localization/catalogs/hu-HU.json index 5a3c639d6..3cdddecc3 100644 --- a/packages/localization/catalogs/hu-HU.json +++ b/packages/localization/catalogs/hu-HU.json @@ -1,6 +1,6 @@ { "locale": "hu-HU", - "sourceRevision": "214db76d79f1a5c0fd915c110a2ead6dbb978b58398846e982a0c1ff0cb53108", + "sourceRevision": "6468d2af71d2feb60f9b8c5f37bc2a3ff1177fb2c8b0d65e85002de6b1095cbb", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -568,6 +568,7 @@ "Allows": "8b1d52d202522d89fe65fb00e505abab46dc200a88c0be5d468a2a7e6dce9ccf", "Allows commands starting with {command}": "f5c5d446a6850880ae79768c175bacaf2bc487f715d5768d0b225eb643e3ce07", "Already imported": "e47fafe0a1c6f8d6b5c641c5d9cc7ca61e66a1c50bbc3b619c8ff5912444bfa8", + "Already in work": "ae40a6ff362406d9f1fdc40ad79cea7bd1705e6e173b2267f2a310777aedb387", "Also allow private memory and private chat queries remotely": "0b6b2ba6882b67c8b5b79f0f07964588232be1a9e520011e19bbea224c59a913", "Alternatives": "41055f72edad1559b8ba43440cd7938eb73685930c7141fede9b95000fd41299", "Alternatives considered": "73534cb410e6191096c7fa7ca56ba066f90b4fdede8677d64bc98068804afa3c", @@ -828,6 +829,7 @@ "Auto-start by default": "403861dc8396a3ea666e143d33e0429d3c26721771abf3face351259eee9b28f", "Auto-start step": "2bf61e4807ad3bf6ebc934bf54e917d5b3a87295001826be3a7dd57c7e75cc8d", "Automatic": "d461a493a3753877c9486cffa3444265a33370af8a7fff242fb119b71750839c", + "Automatic intake": "6eed82b223c717114773803e9d9d90d6d3cde9579bf264647347e559817a5081", "Automatic learning is off": "8ba1b4a02530490260a7b8e748e0809ddc3885213a009f3896264bc665060bdd", "Automatic parallel execution": "63d058c173c4a148a14094327c26d9af2c5bde1779c91dbf0d913e90b0687be9", "Automatic proposals enabled": "db670932d259eeedd26de8d7ca836594d5f3861ff24e1f94170c7333676c157a", @@ -1256,6 +1258,7 @@ "Check failed": "c8813c1128d545bfe7e7458ae24d724447097b3518643f86fa3e532f88e9fb40", "Check for changes": "5da755d1690f58c1c822a4b85422734bacc2122c7c67f4e8617f0765ac835113", "Check for updates": "f26f3275e735bdf6268532ca7cbea3887c9adad21d8df74e84b2bc7791475c0d", + "Check GitHub inbox": "51cd97da0bc2b213621668f69168386eaee18bdae064041094187404c9fc71ee", "Check member status": "ff155af014d0b6e94cbf2fca3b01cf8d5725732f178eee985083478adb4a62f5", "Check member status to load readiness.": "6f7f338e22e626b134643fbaec898cf8e8efd19b85eeb6193b4ca0d5d63c4528", "Check needed": "561a32f0c83e5a4fe8d77d891bd4b954d514ea021b4a18e68a3607f5d8747841", @@ -1563,6 +1566,7 @@ "Concise": "8340d833ab72d3321b07af0184597743b010e142b39593cebb450d4227e62f0c", "Concise, focused, direct.": "e9cb028d2d79111476e9c8ea1562b7f6275fd39d43abf410338d7c0ae2fff5a5", "conclusion {conclusion}": "dc328d7e11ecbdc61fa90fc18e3ced70b794ca55dcc476d03c88eff72f16274d", + "Concurrent work limit reached": "f60d0f2d4a9ba0c57c7e7835bd52a1912f39581799f2babb636d190317a96b54", "Confidence": "6422e3e78f5e5f5a15e92cc57ed7114adb289339251031ccb526d9249437dc82", "Configuration": "b332c3492d5eb10a118eb6d8b0dcd689bc2477ce2ae16b303753b942b54377bc", "Configuration digest": "5bbf2d321122a5a57d36c77291d232d51f9ae9a1655e80f042727754aea15bfe", @@ -2939,6 +2943,7 @@ "github": "c0b0109d9439de57fe3cf03abeccbc52f4c98170c732d3b69af5e6395ace574e", "GitHub": "f911e414cf6bdfc595532ab166b5ba0f63d73c021452fcdacbda363dda6ad8fb", "GitHub CI triage": "6a2368ce3943b296b07b5241227baf2a863d3f50f8a46ddb0889cbb5045ccd84", + "GitHub intake": "064829c63fcbc74d45753e04f583c69a391d25d4ed334de3b69fa2720f733cb1", "GitHub MCP": "408b061889ef672152b51ce8dbd56216d1b7e97303429b59538b99fe663c6f04", "GitHub not connected (GITHUB_TOKEN or GH_TOKEN)": "1cb239b6b5ea26422b411a25d3a4e254cdf45b7e730eb91b976a36f12adeb21b", "GitHub unavailable; retry later": "33b2cec76eccd24c4d8d61c265de8b06a6a20820ab1fccdcb433a22903909d02", @@ -4818,6 +4823,7 @@ "Policy details": "00e33950cacf32a39cc25f71ccb1650c4c788c12816e07681d80f0fdc537be98", "Policy narrows authority": "e9e2012e5ac96664fb03ff0f81f4f49cb5b8ee069149139352e7c89b73e43baa", "policy overlays": "db26199cf2a47a948b45caf37b4d50ede3ef415fad6c940cfe56a118970fcefb", + "Policy paused": "11fc11eaf385253466e26bac9916425e1e009695cd40adc4c7a132366d187518", "Policy review": "1cf67fef927c77770a1fcd8b20982b24b15cc0b6f1e8b56265d87baff019dd7e", "Policy snapshot artifact": "7f8b2985d498316ac01fa5f2276d2556cab712b4c8bc2b93e16dfc1353e23a77", "Poll once": "c7e7d724ff87555fb857467569ce709d958ee2d5d1ab2cc890554c7605e86e78", @@ -5013,6 +5019,7 @@ "Provider state": "633d1ca46603e61fc3d39459c1414102a27bbc4ba0adfb0b22ba5a205c2b9815", "Provider templates": "1e8649b7c667a6afc6dc88cbdb3069e349e850466cf3efa57eeedab9b70486f7", "Provider type": "8c0f6d3ebfe7ba3a0c0006068a9aa664d09244ba3cd438f2d56fab117bee1347", + "Provider unavailable": "ff2113958589f9bfb87b54f959be825d00ec5eca374d907bb343f98ebdbc84c3", "Provider version": "1f5ecefbd682ced2f438c8ae3c8849ba9effbe6cd77c19051cee2d2036ef9c90", "Provider warmup": "36ae143804c9a909bce770f54be5652b69b99ee7838cca99daa31e23d4d6d63c", "Provider was automatically rechecked after daemon restart.": "7bd8e8ee592f30e81adca8c96b079d6526846dc142bd99e5bbba3d9bebbde7a9", @@ -5398,6 +5405,8 @@ "Required for assigned teammates": "4732aa544a8d93b886e6bcbbcc5c3314af692f8a8a812efd4844cd3589b7b63a", "Required input": "fafaaf99b5a6af521026448890a9dacaf4d47053804a34be7cdf364e13637181", "Required input: {value}": "757166b8bf43ee39819f00d86fa61a84ddb3f3eba2a883c6bb996b8f82101d22", + "Required label": "5f623a5ad31f874a782d2205c9318ce524371a35d782b9a7021eab521c2fbbcd", + "Required label missing": "6913716764f8018414060c041e41a2951f5444efe5e97cd30a557be26403d1b1", "Required permissions": "edaffed36060c21e958b3fe562b7c57f51f67ba46326b1a9a5317a47b20e1747", "Required skill information is missing.": "e5cb742af5e92afab21f42c3edd4f5940db52a1c5320a9dd7236eca89a702789", "Required statuses": "c77453db9c939c7c7b8da080b0053847604126aefacf5a900d1d0fe30e4ba5ee", @@ -6407,6 +6416,7 @@ "Start an active Computer Use task first.": "1242a212935f863b51a7f3e8d16f12af408152d8047b274c5fef9fb7f1435f50", "Start autoplan": "7419a8efae15550dc21cccc23ca0a16c446e884842bfe48056af34a921175cb0", "Start background": "c690dc635cd0437e8911748d795084e5d32d0b75811490076285d41032d7300c", + "Start budget reached": "6b915cfb021a78ae6f8b4c1f2d9f40bbadcc486c04cbb00a807d52bfe78102ca", "Start by choosing a template or creating one manually.": "6a3ba02535ac7a0ab934b569a915927936dede63b4277ea4500e77c8835d4666", "Start child branch": "ee7b6caa5b4a1d3e8fd3ce47a26b42a4f2472834dfa17b2efc1864d0ed710948", "Start from a default role or blank teammate.": "1464ae64fd1ee987e353f53a2f9bab20053b2f0ae320c07839b7eecf710b8a96", @@ -6512,7 +6522,9 @@ "succeeded": "5dceaeceb6d8a49d3665594710ace68dfbc1800e2d663d7febb302b4dbee3d27", "Succeeded": "6d9a6f97a5fdaf3b90a0cf02e0b43d8b7ec1d05c0e4718e02ddd1c5b450e5b39", "Successfully generated {count} artifact based on the provided prompt.": "71f85e7639c004421f062f2dd6a129e5173931798f5d33b6f0482038b38a88fc", + "Suggest": "4effad823b048b0440dbeff42665f60a6ddec8e121c378966ed7c074a512c51f", "Suggest responsible owners based on context, decisions, and recent work.": "484eb4e21bcdd76a531a4234403ea29f0626094f9a2915b674f17e0b949be0a3", + "Suggested": "93b63bab4c3a28d73a8bb83bcdfdcc5f6ddecfc8fc702296ca159d94c5dc6e53", "Suggested next step": "78d74fd4ffec8d83a942e1274cfd15426b2b4bb2d96b15f905277638c339869e", "Suggested routing": "442b15c099c136738e26e139912a5f5d21e90216aade875a8db595b09c81fcbe", "Summaries": "87bc590e047d3df4a8e448ac83e371fad69dd73607752cccb0ff7d34263cef8f", @@ -7221,6 +7233,7 @@ "Untracked": "c7ba5477e19cf0bb25460d840cc2e67341e81e1c2d274d00b3054c73898d4d27", "unverified": "97b7e2db799e2b79e65f418b42a7d3054c95b2d3ab1dba243039597e44a38084", "Unverified": "33c8e8de41c3a35124251370e2a36e4d589f8789d80630abbbeceb933d3fb58f", + "Up to {concurrent} active and {starts} starts per {minutes} min": "cca43c28ef670fd5d55cb3bd813a2fef137043e4028096bcd2cdf22e2a06586b", "Up to date": "ce29b7f85b9eaf7dac52e625accb4b0cb56a856ebe9a9de9a09b613b6d978dca", "Update": "c1c1009d3f37ec058070a62e22caf9ac9dae2169d452487c5c271a8bcf57a291", "Update available": "ff8b555d818f0b25bbdd1bec8b479660bac7fc276acbe993e759bf67fed32c34", @@ -7548,6 +7561,7 @@ "Work intake, tool servers, and plugin bundles": "16b65a84c6fca2014b7e2d28b151bbf0afe19345230a0ac37304802311fed850", "Work is claimed": "c4b0d953436f2f59355d6540bae28e055ff49243f612887bbaed7bfd98c85d4d", "Work item ID": "1dcdad81d13850bd962965719f362fa7f32693b7b54fd8bb25d1e2402a470626", + "Work item paused": "299aabbf3c1418a3f01117e072d3bfe418e174bd1f355d1afdfae23c7b4bf678", "Work items": "5759a416f2b3b4ff92da23b8059419e06c39d27180b91a557f7cae779df3d2b6", "Work marked failed": "f26306888ed8c9a3808b8a420428f63e32d4c2223e7c9c89dd0a049806c539c6", "Work result": "19efe7487084061e9e358495b8a9bfd7e9d7c0035010e08ac35c14ba4ff8ca2a", @@ -8287,6 +8301,7 @@ "Allows": "Lehetővé teszi", "Allows commands starting with {command}": "Lehetővé teszi a {command} karakterrel kezdődő parancsokat", "Already imported": "Már importálva", + "Already in work": "Már munkában", "Also allow private memory and private chat queries remotely": "A privát memória és a privát csevegés lekérdezésének engedélyezése távolról is", "Alternatives": "Alternatívák", "Alternatives considered": "Megfontolt alternatívák", @@ -8547,6 +8562,7 @@ "Auto-start by default": "Auto-start by default", "Auto-start step": "Auto-start step", "Automatic": "Automatikus", + "Automatic intake": "Automatikus beszívás", "Automatic learning is off": "Az automatikus tanulás ki van kapcsolva", "Automatic parallel execution": "Automatic parallel execution", "Automatic proposals enabled": "Automatikus ajánlatok engedélyezve", @@ -8975,6 +8991,7 @@ "Check failed": "Az ellenőrzés nem sikerült", "Check for changes": "Ellenőrizze a változásokat", "Check for updates": "Ellenőrizze a frissítéseket", + "Check GitHub inbox": "Ellenőrizze a GitHub beérkező leveleit", "Check member status": "Ellenőrizze a tagsági állapotot", "Check member status to load readiness.": "Ellenőrizze a tag állapotát a betöltéshez.", "Check needed": "Ellenőrzés szükséges", @@ -9282,6 +9299,7 @@ "Concise": "Tömör", "Concise, focused, direct.": "Tömör, koncentrált, közvetlen.", "conclusion {conclusion}": "következtetés {conclusion}", + "Concurrent work limit reached": "Elérte az egyidejű munkavégzés korlátját", "Confidence": "Bizalom", "Configuration": "Konfiguráció", "Configuration digest": "Konfigurációs kivonat", @@ -10658,6 +10676,7 @@ "github": "github", "GitHub": "GitHub", "GitHub CI triage": "GitHub CI osztályozás", + "GitHub intake": "GitHub bemenet", "GitHub MCP": "GitHub MCP", "GitHub not connected (GITHUB_TOKEN or GH_TOKEN)": "GitHub not connected (GITHUB_TOKEN or GH_TOKEN)", "GitHub unavailable; retry later": "GitHub unavailable; retry later", @@ -12537,6 +12556,7 @@ "Policy details": "Szabályzat részletei", "Policy narrows authority": "A politika leszűkíti a tekintélyt", "policy overlays": "házirend-fedvények", + "Policy paused": "A házirend szünetel", "Policy review": "Irányelv felülvizsgálata", "Policy snapshot artifact": "Irányelv-pillanatkép műtermék", "Poll once": "Szavazás egyszer", @@ -12732,6 +12752,7 @@ "Provider state": "Szállító állam", "Provider templates": "Szolgáltatói sablonok", "Provider type": "Szolgáltató típusa", + "Provider unavailable": "A szolgáltató nem elérhető", "Provider version": "Szolgáltató verziója", "Provider warmup": "Szolgáltató bemelegítése", "Provider was automatically rechecked after daemon restart.": "A szolgáltató a démon újraindítása után automatikusan újraellenőrzésre került.", @@ -13117,6 +13138,8 @@ "Required for assigned teammates": "A kijelölt csapattársaknak kötelező", "Required input": "Kötelező bevitel", "Required input: {value}": "Szükséges bemenet: {value}", + "Required label": "Kötelező címke", + "Required label missing": "A kötelező címke hiányzik", "Required permissions": "Szükséges engedélyek", "Required skill information is missing.": "A szükséges ismeretek hiányoznak.", "Required statuses": "Required statuses", @@ -14126,6 +14149,7 @@ "Start an active Computer Use task first.": "Először indítson el egy aktív Computer Use feladatot.", "Start autoplan": "Indítsa el az automatikus tervezést", "Start background": "Indítsa el a hátteret", + "Start budget reached": "A kezdő költségkeret elérve", "Start by choosing a template or creating one manually.": "Kezdje a sablon kiválasztásával vagy egy manuális létrehozásával.", "Start child branch": "Gyermek ág indítása", "Start from a default role or blank teammate.": "Kezdje az alapértelmezett szerepkörből vagy üres csapattársból.", @@ -14231,7 +14255,9 @@ "succeeded": "sikerült", "Succeeded": "Sikerült", "Successfully generated {count} artifact based on the provided prompt.": "Az {count} műtermék sikeresen generálva a megadott prompt alapján.", + "Suggest": "Javaslat", "Suggest responsible owners based on context, decisions, and recent work.": "Javasoljon felelős tulajdonosokat a kontextus, a döntések és a legutóbbi munkák alapján.", + "Suggested": "Javasolt", "Suggested next step": "Javasolt a következő lépés", "Suggested routing": "Javasolt útvonal", "Summaries": "Összefoglalók", @@ -14940,6 +14966,7 @@ "Untracked": "Követetlen", "unverified": "ellenőrizetlen", "Unverified": "Ellenőrizetlen", + "Up to {concurrent} active and {starts} starts per {minutes} min": "Akár {concurrent} aktív és {starts} indul {minutes} percenként", "Up to date": "Naprakész", "Update": "Frissítés", "Update available": "Frissítés elérhető", @@ -15267,6 +15294,7 @@ "Work intake, tool servers, and plugin bundles": "Munkafelvétel, eszközkiszolgálók és beépülő modulok", "Work is claimed": "A munkát igénylik", "Work item ID": "Munkaelem ID", + "Work item paused": "Munkaelem szünetel", "Work items": "Munkaelemek", "Work marked failed": "A sikertelennek jelölt munka", "Work result": "Munka eredménye", diff --git a/packages/localization/catalogs/hy-AM.json b/packages/localization/catalogs/hy-AM.json index 722e90542..3f61740bd 100644 --- a/packages/localization/catalogs/hy-AM.json +++ b/packages/localization/catalogs/hy-AM.json @@ -1,6 +1,6 @@ { "locale": "hy-AM", - "sourceRevision": "214db76d79f1a5c0fd915c110a2ead6dbb978b58398846e982a0c1ff0cb53108", + "sourceRevision": "6468d2af71d2feb60f9b8c5f37bc2a3ff1177fb2c8b0d65e85002de6b1095cbb", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -568,6 +568,7 @@ "Allows": "8b1d52d202522d89fe65fb00e505abab46dc200a88c0be5d468a2a7e6dce9ccf", "Allows commands starting with {command}": "f5c5d446a6850880ae79768c175bacaf2bc487f715d5768d0b225eb643e3ce07", "Already imported": "e47fafe0a1c6f8d6b5c641c5d9cc7ca61e66a1c50bbc3b619c8ff5912444bfa8", + "Already in work": "ae40a6ff362406d9f1fdc40ad79cea7bd1705e6e173b2267f2a310777aedb387", "Also allow private memory and private chat queries remotely": "0b6b2ba6882b67c8b5b79f0f07964588232be1a9e520011e19bbea224c59a913", "Alternatives": "41055f72edad1559b8ba43440cd7938eb73685930c7141fede9b95000fd41299", "Alternatives considered": "73534cb410e6191096c7fa7ca56ba066f90b4fdede8677d64bc98068804afa3c", @@ -828,6 +829,7 @@ "Auto-start by default": "403861dc8396a3ea666e143d33e0429d3c26721771abf3face351259eee9b28f", "Auto-start step": "2bf61e4807ad3bf6ebc934bf54e917d5b3a87295001826be3a7dd57c7e75cc8d", "Automatic": "d461a493a3753877c9486cffa3444265a33370af8a7fff242fb119b71750839c", + "Automatic intake": "6eed82b223c717114773803e9d9d90d6d3cde9579bf264647347e559817a5081", "Automatic learning is off": "8ba1b4a02530490260a7b8e748e0809ddc3885213a009f3896264bc665060bdd", "Automatic parallel execution": "63d058c173c4a148a14094327c26d9af2c5bde1779c91dbf0d913e90b0687be9", "Automatic proposals enabled": "db670932d259eeedd26de8d7ca836594d5f3861ff24e1f94170c7333676c157a", @@ -1256,6 +1258,7 @@ "Check failed": "c8813c1128d545bfe7e7458ae24d724447097b3518643f86fa3e532f88e9fb40", "Check for changes": "5da755d1690f58c1c822a4b85422734bacc2122c7c67f4e8617f0765ac835113", "Check for updates": "f26f3275e735bdf6268532ca7cbea3887c9adad21d8df74e84b2bc7791475c0d", + "Check GitHub inbox": "51cd97da0bc2b213621668f69168386eaee18bdae064041094187404c9fc71ee", "Check member status": "ff155af014d0b6e94cbf2fca3b01cf8d5725732f178eee985083478adb4a62f5", "Check member status to load readiness.": "6f7f338e22e626b134643fbaec898cf8e8efd19b85eeb6193b4ca0d5d63c4528", "Check needed": "561a32f0c83e5a4fe8d77d891bd4b954d514ea021b4a18e68a3607f5d8747841", @@ -1563,6 +1566,7 @@ "Concise": "8340d833ab72d3321b07af0184597743b010e142b39593cebb450d4227e62f0c", "Concise, focused, direct.": "e9cb028d2d79111476e9c8ea1562b7f6275fd39d43abf410338d7c0ae2fff5a5", "conclusion {conclusion}": "dc328d7e11ecbdc61fa90fc18e3ced70b794ca55dcc476d03c88eff72f16274d", + "Concurrent work limit reached": "f60d0f2d4a9ba0c57c7e7835bd52a1912f39581799f2babb636d190317a96b54", "Confidence": "6422e3e78f5e5f5a15e92cc57ed7114adb289339251031ccb526d9249437dc82", "Configuration": "b332c3492d5eb10a118eb6d8b0dcd689bc2477ce2ae16b303753b942b54377bc", "Configuration digest": "5bbf2d321122a5a57d36c77291d232d51f9ae9a1655e80f042727754aea15bfe", @@ -2939,6 +2943,7 @@ "github": "c0b0109d9439de57fe3cf03abeccbc52f4c98170c732d3b69af5e6395ace574e", "GitHub": "f911e414cf6bdfc595532ab166b5ba0f63d73c021452fcdacbda363dda6ad8fb", "GitHub CI triage": "6a2368ce3943b296b07b5241227baf2a863d3f50f8a46ddb0889cbb5045ccd84", + "GitHub intake": "064829c63fcbc74d45753e04f583c69a391d25d4ed334de3b69fa2720f733cb1", "GitHub MCP": "408b061889ef672152b51ce8dbd56216d1b7e97303429b59538b99fe663c6f04", "GitHub not connected (GITHUB_TOKEN or GH_TOKEN)": "1cb239b6b5ea26422b411a25d3a4e254cdf45b7e730eb91b976a36f12adeb21b", "GitHub unavailable; retry later": "33b2cec76eccd24c4d8d61c265de8b06a6a20820ab1fccdcb433a22903909d02", @@ -4818,6 +4823,7 @@ "Policy details": "00e33950cacf32a39cc25f71ccb1650c4c788c12816e07681d80f0fdc537be98", "Policy narrows authority": "e9e2012e5ac96664fb03ff0f81f4f49cb5b8ee069149139352e7c89b73e43baa", "policy overlays": "db26199cf2a47a948b45caf37b4d50ede3ef415fad6c940cfe56a118970fcefb", + "Policy paused": "11fc11eaf385253466e26bac9916425e1e009695cd40adc4c7a132366d187518", "Policy review": "1cf67fef927c77770a1fcd8b20982b24b15cc0b6f1e8b56265d87baff019dd7e", "Policy snapshot artifact": "7f8b2985d498316ac01fa5f2276d2556cab712b4c8bc2b93e16dfc1353e23a77", "Poll once": "c7e7d724ff87555fb857467569ce709d958ee2d5d1ab2cc890554c7605e86e78", @@ -5013,6 +5019,7 @@ "Provider state": "633d1ca46603e61fc3d39459c1414102a27bbc4ba0adfb0b22ba5a205c2b9815", "Provider templates": "1e8649b7c667a6afc6dc88cbdb3069e349e850466cf3efa57eeedab9b70486f7", "Provider type": "8c0f6d3ebfe7ba3a0c0006068a9aa664d09244ba3cd438f2d56fab117bee1347", + "Provider unavailable": "ff2113958589f9bfb87b54f959be825d00ec5eca374d907bb343f98ebdbc84c3", "Provider version": "1f5ecefbd682ced2f438c8ae3c8849ba9effbe6cd77c19051cee2d2036ef9c90", "Provider warmup": "36ae143804c9a909bce770f54be5652b69b99ee7838cca99daa31e23d4d6d63c", "Provider was automatically rechecked after daemon restart.": "7bd8e8ee592f30e81adca8c96b079d6526846dc142bd99e5bbba3d9bebbde7a9", @@ -5398,6 +5405,8 @@ "Required for assigned teammates": "4732aa544a8d93b886e6bcbbcc5c3314af692f8a8a812efd4844cd3589b7b63a", "Required input": "fafaaf99b5a6af521026448890a9dacaf4d47053804a34be7cdf364e13637181", "Required input: {value}": "757166b8bf43ee39819f00d86fa61a84ddb3f3eba2a883c6bb996b8f82101d22", + "Required label": "5f623a5ad31f874a782d2205c9318ce524371a35d782b9a7021eab521c2fbbcd", + "Required label missing": "6913716764f8018414060c041e41a2951f5444efe5e97cd30a557be26403d1b1", "Required permissions": "edaffed36060c21e958b3fe562b7c57f51f67ba46326b1a9a5317a47b20e1747", "Required skill information is missing.": "e5cb742af5e92afab21f42c3edd4f5940db52a1c5320a9dd7236eca89a702789", "Required statuses": "c77453db9c939c7c7b8da080b0053847604126aefacf5a900d1d0fe30e4ba5ee", @@ -6407,6 +6416,7 @@ "Start an active Computer Use task first.": "1242a212935f863b51a7f3e8d16f12af408152d8047b274c5fef9fb7f1435f50", "Start autoplan": "7419a8efae15550dc21cccc23ca0a16c446e884842bfe48056af34a921175cb0", "Start background": "c690dc635cd0437e8911748d795084e5d32d0b75811490076285d41032d7300c", + "Start budget reached": "6b915cfb021a78ae6f8b4c1f2d9f40bbadcc486c04cbb00a807d52bfe78102ca", "Start by choosing a template or creating one manually.": "6a3ba02535ac7a0ab934b569a915927936dede63b4277ea4500e77c8835d4666", "Start child branch": "ee7b6caa5b4a1d3e8fd3ce47a26b42a4f2472834dfa17b2efc1864d0ed710948", "Start from a default role or blank teammate.": "1464ae64fd1ee987e353f53a2f9bab20053b2f0ae320c07839b7eecf710b8a96", @@ -6512,7 +6522,9 @@ "succeeded": "5dceaeceb6d8a49d3665594710ace68dfbc1800e2d663d7febb302b4dbee3d27", "Succeeded": "6d9a6f97a5fdaf3b90a0cf02e0b43d8b7ec1d05c0e4718e02ddd1c5b450e5b39", "Successfully generated {count} artifact based on the provided prompt.": "71f85e7639c004421f062f2dd6a129e5173931798f5d33b6f0482038b38a88fc", + "Suggest": "4effad823b048b0440dbeff42665f60a6ddec8e121c378966ed7c074a512c51f", "Suggest responsible owners based on context, decisions, and recent work.": "484eb4e21bcdd76a531a4234403ea29f0626094f9a2915b674f17e0b949be0a3", + "Suggested": "93b63bab4c3a28d73a8bb83bcdfdcc5f6ddecfc8fc702296ca159d94c5dc6e53", "Suggested next step": "78d74fd4ffec8d83a942e1274cfd15426b2b4bb2d96b15f905277638c339869e", "Suggested routing": "442b15c099c136738e26e139912a5f5d21e90216aade875a8db595b09c81fcbe", "Summaries": "87bc590e047d3df4a8e448ac83e371fad69dd73607752cccb0ff7d34263cef8f", @@ -7221,6 +7233,7 @@ "Untracked": "c7ba5477e19cf0bb25460d840cc2e67341e81e1c2d274d00b3054c73898d4d27", "unverified": "97b7e2db799e2b79e65f418b42a7d3054c95b2d3ab1dba243039597e44a38084", "Unverified": "33c8e8de41c3a35124251370e2a36e4d589f8789d80630abbbeceb933d3fb58f", + "Up to {concurrent} active and {starts} starts per {minutes} min": "cca43c28ef670fd5d55cb3bd813a2fef137043e4028096bcd2cdf22e2a06586b", "Up to date": "ce29b7f85b9eaf7dac52e625accb4b0cb56a856ebe9a9de9a09b613b6d978dca", "Update": "c1c1009d3f37ec058070a62e22caf9ac9dae2169d452487c5c271a8bcf57a291", "Update available": "ff8b555d818f0b25bbdd1bec8b479660bac7fc276acbe993e759bf67fed32c34", @@ -7548,6 +7561,7 @@ "Work intake, tool servers, and plugin bundles": "16b65a84c6fca2014b7e2d28b151bbf0afe19345230a0ac37304802311fed850", "Work is claimed": "c4b0d953436f2f59355d6540bae28e055ff49243f612887bbaed7bfd98c85d4d", "Work item ID": "1dcdad81d13850bd962965719f362fa7f32693b7b54fd8bb25d1e2402a470626", + "Work item paused": "299aabbf3c1418a3f01117e072d3bfe418e174bd1f355d1afdfae23c7b4bf678", "Work items": "5759a416f2b3b4ff92da23b8059419e06c39d27180b91a557f7cae779df3d2b6", "Work marked failed": "f26306888ed8c9a3808b8a420428f63e32d4c2223e7c9c89dd0a049806c539c6", "Work result": "19efe7487084061e9e358495b8a9bfd7e9d7c0035010e08ac35c14ba4ff8ca2a", @@ -8287,6 +8301,7 @@ "Allows": "Թույլ է տալիս", "Allows commands starting with {command}": "Թույլ է տալիս հրամաններ, որոնք սկսվում են {command}-ով", "Already imported": "Արդեն ներմուծված է", + "Already in work": "Արդեն աշխատանքի մեջ", "Also allow private memory and private chat queries remotely": "Թույլատրել նաև անձնական հիշողությունը և անձնական զրույցի հարցումները հեռակա կարգով", "Alternatives": "Այլընտրանքային տարբերակներ", "Alternatives considered": "Դիտարկված այլընտրանքներ", @@ -8547,6 +8562,7 @@ "Auto-start by default": "Auto-start by default", "Auto-start step": "Auto-start step", "Automatic": "Ավտոմատ", + "Automatic intake": "Ավտոմատ ընդունում", "Automatic learning is off": "Ավտոմատ ուսուցումն անջատված է", "Automatic parallel execution": "Automatic parallel execution", "Automatic proposals enabled": "Ավտոմատ առաջարկները միացված են", @@ -8975,6 +8991,7 @@ "Check failed": "Ստուգումը ձախողվեց", "Check for changes": "Ստուգեք փոփոխությունները", "Check for updates": "Ստուգեք թարմացումների համար", + "Check GitHub inbox": "Ստուգեք GitHub ներարկղը", "Check member status": "Ստուգեք անդամի կարգավիճակը", "Check member status to load readiness.": "Ստուգեք անդամի կարգավիճակը՝ բեռնելու պատրաստակամությունը:", "Check needed": "Ստուգում է անհրաժեշտ", @@ -9282,6 +9299,7 @@ "Concise": "Հակիրճ", "Concise, focused, direct.": "Հակիրճ, կենտրոնացած, անմիջական:", "conclusion {conclusion}": "եզրակացություն {conclusion}", + "Concurrent work limit reached": "Միաժամանակյա աշխատանքի սահմանաչափը հասել է", "Confidence": "Վստահություն", "Configuration": "Կոնֆիգուրացիա", "Configuration digest": "Կազմաձևի ամփոփում", @@ -10658,6 +10676,7 @@ "github": "github", "GitHub": "GitHub", "GitHub CI triage": "GitHub CI տրիաժ", + "GitHub intake": "GitHub-ի ընդունում", "GitHub MCP": "GitHub MCP", "GitHub not connected (GITHUB_TOKEN or GH_TOKEN)": "GitHub not connected (GITHUB_TOKEN or GH_TOKEN)", "GitHub unavailable; retry later": "GitHub unavailable; retry later", @@ -12537,6 +12556,7 @@ "Policy details": "Քաղաքականության մանրամասները", "Policy narrows authority": "Քաղաքականությունը նեղացնում է լիազորությունները", "policy overlays": "քաղաքականության ծածկույթներ", + "Policy paused": "Քաղաքականությունը դադարեցված է", "Policy review": "Քաղաքականության վերանայում", "Policy snapshot artifact": "Քաղաքականության պատկերի արտեֆակտ", "Poll once": "Հարցում մեկ անգամ", @@ -12732,6 +12752,7 @@ "Provider state": "Մատակարար պետություն", "Provider templates": "Մատակարարի կաղապարներ", "Provider type": "Մատակարարի տեսակը", + "Provider unavailable": "Մատակարարն անհասանելի է", "Provider version": "Մատակարարի տարբերակ", "Provider warmup": "Մատակարարի տաքացում", "Provider was automatically rechecked after daemon restart.": "Մատակարարը ավտոմատ կերպով կրկին ստուգվել է deemon-ի վերագործարկումից հետո:", @@ -13117,6 +13138,8 @@ "Required for assigned teammates": "Պահանջվում է նշանակված թիմակիցների համար", "Required input": "Պահանջվող մուտքագրում", "Required input: {value}": "Պահանջվող մուտքագրում՝ {value}", + "Required label": "Պահանջվող պիտակ", + "Required label missing": "Պահանջվող պիտակը բացակայում է", "Required permissions": "Պահանջվող թույլտվություններ", "Required skill information is missing.": "Պահանջվող հմտությունների մասին տեղեկությունները բացակայում են:", "Required statuses": "Required statuses", @@ -14126,6 +14149,7 @@ "Start an active Computer Use task first.": "Նախ սկսեք ակտիվ Computer Use առաջադրանքը:", "Start autoplan": "Սկսեք ավտոմատ պլանավորում", "Start background": "Սկսել ֆոնը", + "Start budget reached": "Մեկնարկային բյուջեն հասել է", "Start by choosing a template or creating one manually.": "Սկսեք ընտրելով ձևանմուշ կամ ստեղծելով այն ձեռքով:", "Start child branch": "Սկսեք մանկական մասնաճյուղը", "Start from a default role or blank teammate.": "Սկսեք լռելյայն դերից կամ դատարկ թիմակիցից:", @@ -14231,7 +14255,9 @@ "succeeded": "հաջողվեց", "Succeeded": "Հաջողվել է", "Successfully generated {count} artifact based on the provided prompt.": "Տրամադրված հուշման հիման վրա հաջողությամբ ստեղծվեց {count} արտեֆակտ:", + "Suggest": "Առաջարկել", "Suggest responsible owners based on context, decisions, and recent work.": "Առաջարկեք պատասխանատու սեփականատերերի՝ հիմնվելով համատեքստի, որոշումների և վերջին աշխատանքի վրա:", + "Suggested": "Առաջարկվում է", "Suggested next step": "Առաջարկվում է հաջորդ քայլը", "Suggested routing": "Առաջարկվող երթուղի", "Summaries": "Ամփոփումներ", @@ -14940,6 +14966,7 @@ "Untracked": "Չհետագծված", "unverified": "չստուգված", "Unverified": "Չստուգված", + "Up to {concurrent} active and {starts} starts per {minutes} min": "Մինչև {concurrent} ակտիվ և {starts} սկսվում է {minutes} րոպեում", "Up to date": "Թարմ", "Update": "Թարմացնել", "Update available": "Թարմացումը հասանելի է", @@ -15267,6 +15294,7 @@ "Work intake, tool servers, and plugin bundles": "Աշխատանքի ընդունում, գործիքների սերվերներ և պլագինների փաթեթներ", "Work is claimed": "Աշխատանքը պահանջվում է", "Work item ID": "Աշխատանքային տարր ID", + "Work item paused": "Աշխատանքային տարրը դադարեցվել է", "Work items": "Աշխատանքային իրեր", "Work marked failed": "Աշխատանքը նշված է ձախողված", "Work result": "Աշխատանքի արդյունք", diff --git a/packages/localization/catalogs/id-ID.json b/packages/localization/catalogs/id-ID.json index e32b6f01d..e8a770967 100644 --- a/packages/localization/catalogs/id-ID.json +++ b/packages/localization/catalogs/id-ID.json @@ -1,6 +1,6 @@ { "locale": "id-ID", - "sourceRevision": "214db76d79f1a5c0fd915c110a2ead6dbb978b58398846e982a0c1ff0cb53108", + "sourceRevision": "6468d2af71d2feb60f9b8c5f37bc2a3ff1177fb2c8b0d65e85002de6b1095cbb", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -568,6 +568,7 @@ "Allows": "8b1d52d202522d89fe65fb00e505abab46dc200a88c0be5d468a2a7e6dce9ccf", "Allows commands starting with {command}": "f5c5d446a6850880ae79768c175bacaf2bc487f715d5768d0b225eb643e3ce07", "Already imported": "e47fafe0a1c6f8d6b5c641c5d9cc7ca61e66a1c50bbc3b619c8ff5912444bfa8", + "Already in work": "ae40a6ff362406d9f1fdc40ad79cea7bd1705e6e173b2267f2a310777aedb387", "Also allow private memory and private chat queries remotely": "0b6b2ba6882b67c8b5b79f0f07964588232be1a9e520011e19bbea224c59a913", "Alternatives": "41055f72edad1559b8ba43440cd7938eb73685930c7141fede9b95000fd41299", "Alternatives considered": "73534cb410e6191096c7fa7ca56ba066f90b4fdede8677d64bc98068804afa3c", @@ -828,6 +829,7 @@ "Auto-start by default": "403861dc8396a3ea666e143d33e0429d3c26721771abf3face351259eee9b28f", "Auto-start step": "2bf61e4807ad3bf6ebc934bf54e917d5b3a87295001826be3a7dd57c7e75cc8d", "Automatic": "d461a493a3753877c9486cffa3444265a33370af8a7fff242fb119b71750839c", + "Automatic intake": "6eed82b223c717114773803e9d9d90d6d3cde9579bf264647347e559817a5081", "Automatic learning is off": "8ba1b4a02530490260a7b8e748e0809ddc3885213a009f3896264bc665060bdd", "Automatic parallel execution": "63d058c173c4a148a14094327c26d9af2c5bde1779c91dbf0d913e90b0687be9", "Automatic proposals enabled": "db670932d259eeedd26de8d7ca836594d5f3861ff24e1f94170c7333676c157a", @@ -1256,6 +1258,7 @@ "Check failed": "c8813c1128d545bfe7e7458ae24d724447097b3518643f86fa3e532f88e9fb40", "Check for changes": "5da755d1690f58c1c822a4b85422734bacc2122c7c67f4e8617f0765ac835113", "Check for updates": "f26f3275e735bdf6268532ca7cbea3887c9adad21d8df74e84b2bc7791475c0d", + "Check GitHub inbox": "51cd97da0bc2b213621668f69168386eaee18bdae064041094187404c9fc71ee", "Check member status": "ff155af014d0b6e94cbf2fca3b01cf8d5725732f178eee985083478adb4a62f5", "Check member status to load readiness.": "6f7f338e22e626b134643fbaec898cf8e8efd19b85eeb6193b4ca0d5d63c4528", "Check needed": "561a32f0c83e5a4fe8d77d891bd4b954d514ea021b4a18e68a3607f5d8747841", @@ -1563,6 +1566,7 @@ "Concise": "8340d833ab72d3321b07af0184597743b010e142b39593cebb450d4227e62f0c", "Concise, focused, direct.": "e9cb028d2d79111476e9c8ea1562b7f6275fd39d43abf410338d7c0ae2fff5a5", "conclusion {conclusion}": "dc328d7e11ecbdc61fa90fc18e3ced70b794ca55dcc476d03c88eff72f16274d", + "Concurrent work limit reached": "f60d0f2d4a9ba0c57c7e7835bd52a1912f39581799f2babb636d190317a96b54", "Confidence": "6422e3e78f5e5f5a15e92cc57ed7114adb289339251031ccb526d9249437dc82", "Configuration": "b332c3492d5eb10a118eb6d8b0dcd689bc2477ce2ae16b303753b942b54377bc", "Configuration digest": "5bbf2d321122a5a57d36c77291d232d51f9ae9a1655e80f042727754aea15bfe", @@ -2939,6 +2943,7 @@ "github": "c0b0109d9439de57fe3cf03abeccbc52f4c98170c732d3b69af5e6395ace574e", "GitHub": "f911e414cf6bdfc595532ab166b5ba0f63d73c021452fcdacbda363dda6ad8fb", "GitHub CI triage": "6a2368ce3943b296b07b5241227baf2a863d3f50f8a46ddb0889cbb5045ccd84", + "GitHub intake": "064829c63fcbc74d45753e04f583c69a391d25d4ed334de3b69fa2720f733cb1", "GitHub MCP": "408b061889ef672152b51ce8dbd56216d1b7e97303429b59538b99fe663c6f04", "GitHub not connected (GITHUB_TOKEN or GH_TOKEN)": "1cb239b6b5ea26422b411a25d3a4e254cdf45b7e730eb91b976a36f12adeb21b", "GitHub unavailable; retry later": "33b2cec76eccd24c4d8d61c265de8b06a6a20820ab1fccdcb433a22903909d02", @@ -4818,6 +4823,7 @@ "Policy details": "00e33950cacf32a39cc25f71ccb1650c4c788c12816e07681d80f0fdc537be98", "Policy narrows authority": "e9e2012e5ac96664fb03ff0f81f4f49cb5b8ee069149139352e7c89b73e43baa", "policy overlays": "db26199cf2a47a948b45caf37b4d50ede3ef415fad6c940cfe56a118970fcefb", + "Policy paused": "11fc11eaf385253466e26bac9916425e1e009695cd40adc4c7a132366d187518", "Policy review": "1cf67fef927c77770a1fcd8b20982b24b15cc0b6f1e8b56265d87baff019dd7e", "Policy snapshot artifact": "7f8b2985d498316ac01fa5f2276d2556cab712b4c8bc2b93e16dfc1353e23a77", "Poll once": "c7e7d724ff87555fb857467569ce709d958ee2d5d1ab2cc890554c7605e86e78", @@ -5013,6 +5019,7 @@ "Provider state": "633d1ca46603e61fc3d39459c1414102a27bbc4ba0adfb0b22ba5a205c2b9815", "Provider templates": "1e8649b7c667a6afc6dc88cbdb3069e349e850466cf3efa57eeedab9b70486f7", "Provider type": "8c0f6d3ebfe7ba3a0c0006068a9aa664d09244ba3cd438f2d56fab117bee1347", + "Provider unavailable": "ff2113958589f9bfb87b54f959be825d00ec5eca374d907bb343f98ebdbc84c3", "Provider version": "1f5ecefbd682ced2f438c8ae3c8849ba9effbe6cd77c19051cee2d2036ef9c90", "Provider warmup": "36ae143804c9a909bce770f54be5652b69b99ee7838cca99daa31e23d4d6d63c", "Provider was automatically rechecked after daemon restart.": "7bd8e8ee592f30e81adca8c96b079d6526846dc142bd99e5bbba3d9bebbde7a9", @@ -5398,6 +5405,8 @@ "Required for assigned teammates": "4732aa544a8d93b886e6bcbbcc5c3314af692f8a8a812efd4844cd3589b7b63a", "Required input": "fafaaf99b5a6af521026448890a9dacaf4d47053804a34be7cdf364e13637181", "Required input: {value}": "757166b8bf43ee39819f00d86fa61a84ddb3f3eba2a883c6bb996b8f82101d22", + "Required label": "5f623a5ad31f874a782d2205c9318ce524371a35d782b9a7021eab521c2fbbcd", + "Required label missing": "6913716764f8018414060c041e41a2951f5444efe5e97cd30a557be26403d1b1", "Required permissions": "edaffed36060c21e958b3fe562b7c57f51f67ba46326b1a9a5317a47b20e1747", "Required skill information is missing.": "e5cb742af5e92afab21f42c3edd4f5940db52a1c5320a9dd7236eca89a702789", "Required statuses": "c77453db9c939c7c7b8da080b0053847604126aefacf5a900d1d0fe30e4ba5ee", @@ -6407,6 +6416,7 @@ "Start an active Computer Use task first.": "1242a212935f863b51a7f3e8d16f12af408152d8047b274c5fef9fb7f1435f50", "Start autoplan": "7419a8efae15550dc21cccc23ca0a16c446e884842bfe48056af34a921175cb0", "Start background": "c690dc635cd0437e8911748d795084e5d32d0b75811490076285d41032d7300c", + "Start budget reached": "6b915cfb021a78ae6f8b4c1f2d9f40bbadcc486c04cbb00a807d52bfe78102ca", "Start by choosing a template or creating one manually.": "6a3ba02535ac7a0ab934b569a915927936dede63b4277ea4500e77c8835d4666", "Start child branch": "ee7b6caa5b4a1d3e8fd3ce47a26b42a4f2472834dfa17b2efc1864d0ed710948", "Start from a default role or blank teammate.": "1464ae64fd1ee987e353f53a2f9bab20053b2f0ae320c07839b7eecf710b8a96", @@ -6512,7 +6522,9 @@ "succeeded": "5dceaeceb6d8a49d3665594710ace68dfbc1800e2d663d7febb302b4dbee3d27", "Succeeded": "6d9a6f97a5fdaf3b90a0cf02e0b43d8b7ec1d05c0e4718e02ddd1c5b450e5b39", "Successfully generated {count} artifact based on the provided prompt.": "71f85e7639c004421f062f2dd6a129e5173931798f5d33b6f0482038b38a88fc", + "Suggest": "4effad823b048b0440dbeff42665f60a6ddec8e121c378966ed7c074a512c51f", "Suggest responsible owners based on context, decisions, and recent work.": "484eb4e21bcdd76a531a4234403ea29f0626094f9a2915b674f17e0b949be0a3", + "Suggested": "93b63bab4c3a28d73a8bb83bcdfdcc5f6ddecfc8fc702296ca159d94c5dc6e53", "Suggested next step": "78d74fd4ffec8d83a942e1274cfd15426b2b4bb2d96b15f905277638c339869e", "Suggested routing": "442b15c099c136738e26e139912a5f5d21e90216aade875a8db595b09c81fcbe", "Summaries": "87bc590e047d3df4a8e448ac83e371fad69dd73607752cccb0ff7d34263cef8f", @@ -7221,6 +7233,7 @@ "Untracked": "c7ba5477e19cf0bb25460d840cc2e67341e81e1c2d274d00b3054c73898d4d27", "unverified": "97b7e2db799e2b79e65f418b42a7d3054c95b2d3ab1dba243039597e44a38084", "Unverified": "33c8e8de41c3a35124251370e2a36e4d589f8789d80630abbbeceb933d3fb58f", + "Up to {concurrent} active and {starts} starts per {minutes} min": "cca43c28ef670fd5d55cb3bd813a2fef137043e4028096bcd2cdf22e2a06586b", "Up to date": "ce29b7f85b9eaf7dac52e625accb4b0cb56a856ebe9a9de9a09b613b6d978dca", "Update": "c1c1009d3f37ec058070a62e22caf9ac9dae2169d452487c5c271a8bcf57a291", "Update available": "ff8b555d818f0b25bbdd1bec8b479660bac7fc276acbe993e759bf67fed32c34", @@ -7548,6 +7561,7 @@ "Work intake, tool servers, and plugin bundles": "16b65a84c6fca2014b7e2d28b151bbf0afe19345230a0ac37304802311fed850", "Work is claimed": "c4b0d953436f2f59355d6540bae28e055ff49243f612887bbaed7bfd98c85d4d", "Work item ID": "1dcdad81d13850bd962965719f362fa7f32693b7b54fd8bb25d1e2402a470626", + "Work item paused": "299aabbf3c1418a3f01117e072d3bfe418e174bd1f355d1afdfae23c7b4bf678", "Work items": "5759a416f2b3b4ff92da23b8059419e06c39d27180b91a557f7cae779df3d2b6", "Work marked failed": "f26306888ed8c9a3808b8a420428f63e32d4c2223e7c9c89dd0a049806c539c6", "Work result": "19efe7487084061e9e358495b8a9bfd7e9d7c0035010e08ac35c14ba4ff8ca2a", @@ -8287,6 +8301,7 @@ "Allows": "Memungkinkan", "Allows commands starting with {command}": "Mengizinkan perintah yang dimulai dengan {command}", "Already imported": "Sudah diimpor", + "Already in work": "Sudah bekerja", "Also allow private memory and private chat queries remotely": "Izinkan juga memori pribadi dan pertanyaan obrolan pribadi dari jarak jauh", "Alternatives": "Alternatif", "Alternatives considered": "Alternatif dipertimbangkan", @@ -8547,6 +8562,7 @@ "Auto-start by default": "Auto-start by default", "Auto-start step": "Auto-start step", "Automatic": "Otomatis", + "Automatic intake": "Asupan otomatis", "Automatic learning is off": "Pembelajaran otomatis tidak aktif", "Automatic parallel execution": "Automatic parallel execution", "Automatic proposals enabled": "Proposal otomatis diaktifkan", @@ -8975,6 +8991,7 @@ "Check failed": "Pemeriksaan gagal", "Check for changes": "Periksa perubahannya", "Check for updates": "Periksa pembaruan", + "Check GitHub inbox": "Periksa kotak masuk GitHub", "Check member status": "Periksa status anggota", "Check member status to load readiness.": "Periksa status anggota untuk memuat kesiapan.", "Check needed": "Diperlukan pemeriksaan", @@ -9282,6 +9299,7 @@ "Concise": "Ringkas", "Concise, focused, direct.": "Ringkas, fokus, langsung.", "conclusion {conclusion}": "kesimpulan {conclusion}", + "Concurrent work limit reached": "Batas kerja bersamaan tercapai", "Confidence": "Kepercayaan diri", "Configuration": "Konfigurasi", "Configuration digest": "Intisari konfigurasi", @@ -10658,6 +10676,7 @@ "github": "github", "GitHub": "GitHub", "GitHub CI triage": "Triase GitHub CI", + "GitHub intake": "Asupan GitHub", "GitHub MCP": "GitHub MCP", "GitHub not connected (GITHUB_TOKEN or GH_TOKEN)": "GitHub not connected (GITHUB_TOKEN or GH_TOKEN)", "GitHub unavailable; retry later": "GitHub unavailable; retry later", @@ -12537,6 +12556,7 @@ "Policy details": "Detail kebijakan", "Policy narrows authority": "Kebijakan mempersempit kewenangan", "policy overlays": "hamparan kebijakan", + "Policy paused": "Kebijakan dijeda", "Policy review": "Tinjauan kebijakan", "Policy snapshot artifact": "Artefak cuplikan kebijakan", "Poll once": "Jajak pendapat sekali", @@ -12732,6 +12752,7 @@ "Provider state": "Negara penyedia", "Provider templates": "Templat penyedia", "Provider type": "Jenis penyedia", + "Provider unavailable": "Penyedia tidak tersedia", "Provider version": "Versi penyedia", "Provider warmup": "Pemanasan penyedia", "Provider was automatically rechecked after daemon restart.": "Penyedia secara otomatis diperiksa ulang setelah daemon dimulai ulang.", @@ -13117,6 +13138,8 @@ "Required for assigned teammates": "Diperlukan untuk rekan satu tim yang ditugaskan", "Required input": "Masukan yang diperlukan", "Required input: {value}": "Masukan yang diperlukan: {value}", + "Required label": "Label yang diperlukan", + "Required label missing": "Label yang diperlukan tidak ada", "Required permissions": "Izin yang diperlukan", "Required skill information is missing.": "Informasi keterampilan yang diperlukan tidak ada.", "Required statuses": "Required statuses", @@ -14126,6 +14149,7 @@ "Start an active Computer Use task first.": "Mulai tugas Computer Use aktif terlebih dahulu.", "Start autoplan": "Mulai rencana otomatis", "Start background": "Mulai latar belakang", + "Start budget reached": "Anggaran awal tercapai", "Start by choosing a template or creating one manually.": "Mulailah dengan memilih template atau membuatnya secara manual.", "Start child branch": "Mulai cabang anak", "Start from a default role or blank teammate.": "Mulai dari peran default atau rekan satu tim yang kosong.", @@ -14231,7 +14255,9 @@ "succeeded": "berhasil", "Succeeded": "Berhasil", "Successfully generated {count} artifact based on the provided prompt.": "Artefak {count} berhasil dibuat berdasarkan perintah yang diberikan.", + "Suggest": "Menyarankan", "Suggest responsible owners based on context, decisions, and recent work.": "Sarankan pemilik yang bertanggung jawab berdasarkan konteks, keputusan, dan pekerjaan terkini.", + "Suggested": "Disarankan", "Suggested next step": "Disarankan langkah selanjutnya", "Suggested routing": "Perutean yang disarankan", "Summaries": "Ringkasan", @@ -14940,6 +14966,7 @@ "Untracked": "Tidak terlacak", "unverified": "belum terverifikasi", "Unverified": "Belum terverifikasi", + "Up to {concurrent} active and {starts} starts per {minutes} min": "Hingga {concurrent} aktif dan {starts} dimulai per {minutes} menit", "Up to date": "Terkini", "Update": "Memperbarui", "Update available": "Pembaruan tersedia", @@ -15267,6 +15294,7 @@ "Work intake, tool servers, and plugin bundles": "Asupan pekerjaan, server alat, dan bundel plugin", "Work is claimed": "Pekerjaan diklaim", "Work item ID": "Item pekerjaan ID", + "Work item paused": "Item pekerjaan dijeda", "Work items": "Item pekerjaan", "Work marked failed": "Pekerjaan ditandai gagal", "Work result": "Hasil kerja", diff --git a/packages/localization/catalogs/is-IS.json b/packages/localization/catalogs/is-IS.json index 81439bafa..b0afaa284 100644 --- a/packages/localization/catalogs/is-IS.json +++ b/packages/localization/catalogs/is-IS.json @@ -1,6 +1,6 @@ { "locale": "is-IS", - "sourceRevision": "214db76d79f1a5c0fd915c110a2ead6dbb978b58398846e982a0c1ff0cb53108", + "sourceRevision": "6468d2af71d2feb60f9b8c5f37bc2a3ff1177fb2c8b0d65e85002de6b1095cbb", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -568,6 +568,7 @@ "Allows": "8b1d52d202522d89fe65fb00e505abab46dc200a88c0be5d468a2a7e6dce9ccf", "Allows commands starting with {command}": "f5c5d446a6850880ae79768c175bacaf2bc487f715d5768d0b225eb643e3ce07", "Already imported": "e47fafe0a1c6f8d6b5c641c5d9cc7ca61e66a1c50bbc3b619c8ff5912444bfa8", + "Already in work": "ae40a6ff362406d9f1fdc40ad79cea7bd1705e6e173b2267f2a310777aedb387", "Also allow private memory and private chat queries remotely": "0b6b2ba6882b67c8b5b79f0f07964588232be1a9e520011e19bbea224c59a913", "Alternatives": "41055f72edad1559b8ba43440cd7938eb73685930c7141fede9b95000fd41299", "Alternatives considered": "73534cb410e6191096c7fa7ca56ba066f90b4fdede8677d64bc98068804afa3c", @@ -828,6 +829,7 @@ "Auto-start by default": "403861dc8396a3ea666e143d33e0429d3c26721771abf3face351259eee9b28f", "Auto-start step": "2bf61e4807ad3bf6ebc934bf54e917d5b3a87295001826be3a7dd57c7e75cc8d", "Automatic": "d461a493a3753877c9486cffa3444265a33370af8a7fff242fb119b71750839c", + "Automatic intake": "6eed82b223c717114773803e9d9d90d6d3cde9579bf264647347e559817a5081", "Automatic learning is off": "8ba1b4a02530490260a7b8e748e0809ddc3885213a009f3896264bc665060bdd", "Automatic parallel execution": "63d058c173c4a148a14094327c26d9af2c5bde1779c91dbf0d913e90b0687be9", "Automatic proposals enabled": "db670932d259eeedd26de8d7ca836594d5f3861ff24e1f94170c7333676c157a", @@ -1256,6 +1258,7 @@ "Check failed": "c8813c1128d545bfe7e7458ae24d724447097b3518643f86fa3e532f88e9fb40", "Check for changes": "5da755d1690f58c1c822a4b85422734bacc2122c7c67f4e8617f0765ac835113", "Check for updates": "f26f3275e735bdf6268532ca7cbea3887c9adad21d8df74e84b2bc7791475c0d", + "Check GitHub inbox": "51cd97da0bc2b213621668f69168386eaee18bdae064041094187404c9fc71ee", "Check member status": "ff155af014d0b6e94cbf2fca3b01cf8d5725732f178eee985083478adb4a62f5", "Check member status to load readiness.": "6f7f338e22e626b134643fbaec898cf8e8efd19b85eeb6193b4ca0d5d63c4528", "Check needed": "561a32f0c83e5a4fe8d77d891bd4b954d514ea021b4a18e68a3607f5d8747841", @@ -1563,6 +1566,7 @@ "Concise": "8340d833ab72d3321b07af0184597743b010e142b39593cebb450d4227e62f0c", "Concise, focused, direct.": "e9cb028d2d79111476e9c8ea1562b7f6275fd39d43abf410338d7c0ae2fff5a5", "conclusion {conclusion}": "dc328d7e11ecbdc61fa90fc18e3ced70b794ca55dcc476d03c88eff72f16274d", + "Concurrent work limit reached": "f60d0f2d4a9ba0c57c7e7835bd52a1912f39581799f2babb636d190317a96b54", "Confidence": "6422e3e78f5e5f5a15e92cc57ed7114adb289339251031ccb526d9249437dc82", "Configuration": "b332c3492d5eb10a118eb6d8b0dcd689bc2477ce2ae16b303753b942b54377bc", "Configuration digest": "5bbf2d321122a5a57d36c77291d232d51f9ae9a1655e80f042727754aea15bfe", @@ -2939,6 +2943,7 @@ "github": "c0b0109d9439de57fe3cf03abeccbc52f4c98170c732d3b69af5e6395ace574e", "GitHub": "f911e414cf6bdfc595532ab166b5ba0f63d73c021452fcdacbda363dda6ad8fb", "GitHub CI triage": "6a2368ce3943b296b07b5241227baf2a863d3f50f8a46ddb0889cbb5045ccd84", + "GitHub intake": "064829c63fcbc74d45753e04f583c69a391d25d4ed334de3b69fa2720f733cb1", "GitHub MCP": "408b061889ef672152b51ce8dbd56216d1b7e97303429b59538b99fe663c6f04", "GitHub not connected (GITHUB_TOKEN or GH_TOKEN)": "1cb239b6b5ea26422b411a25d3a4e254cdf45b7e730eb91b976a36f12adeb21b", "GitHub unavailable; retry later": "33b2cec76eccd24c4d8d61c265de8b06a6a20820ab1fccdcb433a22903909d02", @@ -4818,6 +4823,7 @@ "Policy details": "00e33950cacf32a39cc25f71ccb1650c4c788c12816e07681d80f0fdc537be98", "Policy narrows authority": "e9e2012e5ac96664fb03ff0f81f4f49cb5b8ee069149139352e7c89b73e43baa", "policy overlays": "db26199cf2a47a948b45caf37b4d50ede3ef415fad6c940cfe56a118970fcefb", + "Policy paused": "11fc11eaf385253466e26bac9916425e1e009695cd40adc4c7a132366d187518", "Policy review": "1cf67fef927c77770a1fcd8b20982b24b15cc0b6f1e8b56265d87baff019dd7e", "Policy snapshot artifact": "7f8b2985d498316ac01fa5f2276d2556cab712b4c8bc2b93e16dfc1353e23a77", "Poll once": "c7e7d724ff87555fb857467569ce709d958ee2d5d1ab2cc890554c7605e86e78", @@ -5013,6 +5019,7 @@ "Provider state": "633d1ca46603e61fc3d39459c1414102a27bbc4ba0adfb0b22ba5a205c2b9815", "Provider templates": "1e8649b7c667a6afc6dc88cbdb3069e349e850466cf3efa57eeedab9b70486f7", "Provider type": "8c0f6d3ebfe7ba3a0c0006068a9aa664d09244ba3cd438f2d56fab117bee1347", + "Provider unavailable": "ff2113958589f9bfb87b54f959be825d00ec5eca374d907bb343f98ebdbc84c3", "Provider version": "1f5ecefbd682ced2f438c8ae3c8849ba9effbe6cd77c19051cee2d2036ef9c90", "Provider warmup": "36ae143804c9a909bce770f54be5652b69b99ee7838cca99daa31e23d4d6d63c", "Provider was automatically rechecked after daemon restart.": "7bd8e8ee592f30e81adca8c96b079d6526846dc142bd99e5bbba3d9bebbde7a9", @@ -5398,6 +5405,8 @@ "Required for assigned teammates": "4732aa544a8d93b886e6bcbbcc5c3314af692f8a8a812efd4844cd3589b7b63a", "Required input": "fafaaf99b5a6af521026448890a9dacaf4d47053804a34be7cdf364e13637181", "Required input: {value}": "757166b8bf43ee39819f00d86fa61a84ddb3f3eba2a883c6bb996b8f82101d22", + "Required label": "5f623a5ad31f874a782d2205c9318ce524371a35d782b9a7021eab521c2fbbcd", + "Required label missing": "6913716764f8018414060c041e41a2951f5444efe5e97cd30a557be26403d1b1", "Required permissions": "edaffed36060c21e958b3fe562b7c57f51f67ba46326b1a9a5317a47b20e1747", "Required skill information is missing.": "e5cb742af5e92afab21f42c3edd4f5940db52a1c5320a9dd7236eca89a702789", "Required statuses": "c77453db9c939c7c7b8da080b0053847604126aefacf5a900d1d0fe30e4ba5ee", @@ -6407,6 +6416,7 @@ "Start an active Computer Use task first.": "1242a212935f863b51a7f3e8d16f12af408152d8047b274c5fef9fb7f1435f50", "Start autoplan": "7419a8efae15550dc21cccc23ca0a16c446e884842bfe48056af34a921175cb0", "Start background": "c690dc635cd0437e8911748d795084e5d32d0b75811490076285d41032d7300c", + "Start budget reached": "6b915cfb021a78ae6f8b4c1f2d9f40bbadcc486c04cbb00a807d52bfe78102ca", "Start by choosing a template or creating one manually.": "6a3ba02535ac7a0ab934b569a915927936dede63b4277ea4500e77c8835d4666", "Start child branch": "ee7b6caa5b4a1d3e8fd3ce47a26b42a4f2472834dfa17b2efc1864d0ed710948", "Start from a default role or blank teammate.": "1464ae64fd1ee987e353f53a2f9bab20053b2f0ae320c07839b7eecf710b8a96", @@ -6512,7 +6522,9 @@ "succeeded": "5dceaeceb6d8a49d3665594710ace68dfbc1800e2d663d7febb302b4dbee3d27", "Succeeded": "6d9a6f97a5fdaf3b90a0cf02e0b43d8b7ec1d05c0e4718e02ddd1c5b450e5b39", "Successfully generated {count} artifact based on the provided prompt.": "71f85e7639c004421f062f2dd6a129e5173931798f5d33b6f0482038b38a88fc", + "Suggest": "4effad823b048b0440dbeff42665f60a6ddec8e121c378966ed7c074a512c51f", "Suggest responsible owners based on context, decisions, and recent work.": "484eb4e21bcdd76a531a4234403ea29f0626094f9a2915b674f17e0b949be0a3", + "Suggested": "93b63bab4c3a28d73a8bb83bcdfdcc5f6ddecfc8fc702296ca159d94c5dc6e53", "Suggested next step": "78d74fd4ffec8d83a942e1274cfd15426b2b4bb2d96b15f905277638c339869e", "Suggested routing": "442b15c099c136738e26e139912a5f5d21e90216aade875a8db595b09c81fcbe", "Summaries": "87bc590e047d3df4a8e448ac83e371fad69dd73607752cccb0ff7d34263cef8f", @@ -7221,6 +7233,7 @@ "Untracked": "c7ba5477e19cf0bb25460d840cc2e67341e81e1c2d274d00b3054c73898d4d27", "unverified": "97b7e2db799e2b79e65f418b42a7d3054c95b2d3ab1dba243039597e44a38084", "Unverified": "33c8e8de41c3a35124251370e2a36e4d589f8789d80630abbbeceb933d3fb58f", + "Up to {concurrent} active and {starts} starts per {minutes} min": "cca43c28ef670fd5d55cb3bd813a2fef137043e4028096bcd2cdf22e2a06586b", "Up to date": "ce29b7f85b9eaf7dac52e625accb4b0cb56a856ebe9a9de9a09b613b6d978dca", "Update": "c1c1009d3f37ec058070a62e22caf9ac9dae2169d452487c5c271a8bcf57a291", "Update available": "ff8b555d818f0b25bbdd1bec8b479660bac7fc276acbe993e759bf67fed32c34", @@ -7548,6 +7561,7 @@ "Work intake, tool servers, and plugin bundles": "16b65a84c6fca2014b7e2d28b151bbf0afe19345230a0ac37304802311fed850", "Work is claimed": "c4b0d953436f2f59355d6540bae28e055ff49243f612887bbaed7bfd98c85d4d", "Work item ID": "1dcdad81d13850bd962965719f362fa7f32693b7b54fd8bb25d1e2402a470626", + "Work item paused": "299aabbf3c1418a3f01117e072d3bfe418e174bd1f355d1afdfae23c7b4bf678", "Work items": "5759a416f2b3b4ff92da23b8059419e06c39d27180b91a557f7cae779df3d2b6", "Work marked failed": "f26306888ed8c9a3808b8a420428f63e32d4c2223e7c9c89dd0a049806c539c6", "Work result": "19efe7487084061e9e358495b8a9bfd7e9d7c0035010e08ac35c14ba4ff8ca2a", @@ -8287,6 +8301,7 @@ "Allows": "Leyfir", "Allows commands starting with {command}": "Leyfir skipanir sem byrja á {command}", "Already imported": "Þegar flutt inn", + "Already in work": "Þegar í vinnu", "Also allow private memory and private chat queries remotely": "Leyfðu einnig einkaminni og einkaspjallfyrirspurnir úr fjarlægð", "Alternatives": "Valkostir", "Alternatives considered": "Valkostir skoðaðir", @@ -8547,6 +8562,7 @@ "Auto-start by default": "Auto-start by default", "Auto-start step": "Auto-start step", "Automatic": "Sjálfvirk", + "Automatic intake": "Sjálfvirkt inntak", "Automatic learning is off": "Slökkt er á sjálfvirku námi", "Automatic parallel execution": "Automatic parallel execution", "Automatic proposals enabled": "Sjálfvirkar tillögur virkar", @@ -8975,6 +8991,7 @@ "Check failed": "Athugun mistókst", "Check for changes": "Athugaðu breytingar", "Check for updates": "Leitaðu að uppfærslum", + "Check GitHub inbox": "Athugaðu GitHub pósthólfið", "Check member status": "Athugaðu stöðu meðlima", "Check member status to load readiness.": "Athugaðu stöðu meðlima til að hleðsla sé reiðubúin.", "Check needed": "Athuga þarf", @@ -9282,6 +9299,7 @@ "Concise": "Hnitmiðað", "Concise, focused, direct.": "Hnitmiðað, einbeitt, beint.", "conclusion {conclusion}": "niðurstaða {conclusion}", + "Concurrent work limit reached": "Samhliða vinnumarki náð", "Confidence": "Sjálfstraust", "Configuration": "Stillingar", "Configuration digest": "Uppsetning samsetningar", @@ -10658,6 +10676,7 @@ "github": "github", "GitHub": "GitHub", "GitHub CI triage": "GitHub CI triage", + "GitHub intake": "GitHub inntaka", "GitHub MCP": "GitHub MCP", "GitHub not connected (GITHUB_TOKEN or GH_TOKEN)": "GitHub not connected (GITHUB_TOKEN or GH_TOKEN)", "GitHub unavailable; retry later": "GitHub unavailable; retry later", @@ -12537,6 +12556,7 @@ "Policy details": "Upplýsingar um stefnu", "Policy narrows authority": "Stefna þrengir vald", "policy overlays": "yfirlag á stefnu", + "Policy paused": "Stefna í bið", "Policy review": "Endurskoðun stefnu", "Policy snapshot artifact": "Stefna skyndimynd artifact", "Poll once": "Könnun einu sinni", @@ -12732,6 +12752,7 @@ "Provider state": "Ríki veitanda", "Provider templates": "Sniðmát fyrir veitendur", "Provider type": "Gerð veitanda", + "Provider unavailable": "Þjónustuveitan er ekki tiltæk", "Provider version": "Útgáfa útgefanda", "Provider warmup": "Upphitun veitenda", "Provider was automatically rechecked after daemon restart.": "Þjónustuveitan var sjálfkrafa endurskoðuð eftir endurræsingu púkans.", @@ -13117,6 +13138,8 @@ "Required for assigned teammates": "Nauðsynlegt fyrir úthlutaða liðsfélaga", "Required input": "Nauðsynlegt inntak", "Required input: {value}": "Áskilið inntak: {value}", + "Required label": "Áskilið merki", + "Required label missing": "Áskilið merki vantar", "Required permissions": "Nauðsynlegar heimildir", "Required skill information is missing.": "Nauðsynlegar upplýsingar um færni vantar.", "Required statuses": "Required statuses", @@ -14126,6 +14149,7 @@ "Start an active Computer Use task first.": "Byrjaðu virkt Computer Use verkefni fyrst.", "Start autoplan": "Byrjaðu sjálfvirka áætlun", "Start background": "Byrjaðu bakgrunn", + "Start budget reached": "Upphafsáætlun náð", "Start by choosing a template or creating one manually.": "Byrjaðu á því að velja sniðmát eða búa til það handvirkt.", "Start child branch": "Byrjaðu barnagrein", "Start from a default role or blank teammate.": "Byrjaðu á sjálfgefnu hlutverki eða tómum liðsfélaga.", @@ -14231,7 +14255,9 @@ "succeeded": "tókst", "Succeeded": "Tókst", "Successfully generated {count} artifact based on the provided prompt.": "Tókst að búa til {count} grip byggt á uppgefinni kvaðningu.", + "Suggest": "Leggðu til", "Suggest responsible owners based on context, decisions, and recent work.": "Stingdu upp á ábyrgum eigendum út frá samhengi, ákvörðunum og nýlegri vinnu.", + "Suggested": "Lagt til", "Suggested next step": "Stungið upp á næsta skrefi", "Suggested routing": "Tillögur um leið", "Summaries": "Samantektir", @@ -14940,6 +14966,7 @@ "Untracked": "Ósporað", "unverified": "óstaðfest", "Unverified": "Óstaðfest", + "Up to {concurrent} active and {starts} starts per {minutes} min": "Allt að {concurrent} virkir og {starts} byrjar á {minutes} mín", "Up to date": "Uppfært", "Update": "Uppfærsla", "Update available": "Uppfærsla í boði", @@ -15267,6 +15294,7 @@ "Work intake, tool servers, and plugin bundles": "Vinnuinntaka, verkfæraþjónar og viðbætur", "Work is claimed": "Krafist er vinnu", "Work item ID": "Vinnuhlutur ID", + "Work item paused": "Hlé á vinnuatriði", "Work items": "Vinnuatriði", "Work marked failed": "Verk merkt mistókst", "Work result": "Niðurstaða vinnu", diff --git a/packages/localization/catalogs/it-IT.json b/packages/localization/catalogs/it-IT.json index 323b77207..ac186c9ba 100644 --- a/packages/localization/catalogs/it-IT.json +++ b/packages/localization/catalogs/it-IT.json @@ -1,6 +1,6 @@ { "locale": "it-IT", - "sourceRevision": "214db76d79f1a5c0fd915c110a2ead6dbb978b58398846e982a0c1ff0cb53108", + "sourceRevision": "6468d2af71d2feb60f9b8c5f37bc2a3ff1177fb2c8b0d65e85002de6b1095cbb", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -568,6 +568,7 @@ "Allows": "8b1d52d202522d89fe65fb00e505abab46dc200a88c0be5d468a2a7e6dce9ccf", "Allows commands starting with {command}": "f5c5d446a6850880ae79768c175bacaf2bc487f715d5768d0b225eb643e3ce07", "Already imported": "e47fafe0a1c6f8d6b5c641c5d9cc7ca61e66a1c50bbc3b619c8ff5912444bfa8", + "Already in work": "ae40a6ff362406d9f1fdc40ad79cea7bd1705e6e173b2267f2a310777aedb387", "Also allow private memory and private chat queries remotely": "0b6b2ba6882b67c8b5b79f0f07964588232be1a9e520011e19bbea224c59a913", "Alternatives": "41055f72edad1559b8ba43440cd7938eb73685930c7141fede9b95000fd41299", "Alternatives considered": "73534cb410e6191096c7fa7ca56ba066f90b4fdede8677d64bc98068804afa3c", @@ -828,6 +829,7 @@ "Auto-start by default": "403861dc8396a3ea666e143d33e0429d3c26721771abf3face351259eee9b28f", "Auto-start step": "2bf61e4807ad3bf6ebc934bf54e917d5b3a87295001826be3a7dd57c7e75cc8d", "Automatic": "d461a493a3753877c9486cffa3444265a33370af8a7fff242fb119b71750839c", + "Automatic intake": "6eed82b223c717114773803e9d9d90d6d3cde9579bf264647347e559817a5081", "Automatic learning is off": "8ba1b4a02530490260a7b8e748e0809ddc3885213a009f3896264bc665060bdd", "Automatic parallel execution": "63d058c173c4a148a14094327c26d9af2c5bde1779c91dbf0d913e90b0687be9", "Automatic proposals enabled": "db670932d259eeedd26de8d7ca836594d5f3861ff24e1f94170c7333676c157a", @@ -1256,6 +1258,7 @@ "Check failed": "c8813c1128d545bfe7e7458ae24d724447097b3518643f86fa3e532f88e9fb40", "Check for changes": "5da755d1690f58c1c822a4b85422734bacc2122c7c67f4e8617f0765ac835113", "Check for updates": "f26f3275e735bdf6268532ca7cbea3887c9adad21d8df74e84b2bc7791475c0d", + "Check GitHub inbox": "51cd97da0bc2b213621668f69168386eaee18bdae064041094187404c9fc71ee", "Check member status": "ff155af014d0b6e94cbf2fca3b01cf8d5725732f178eee985083478adb4a62f5", "Check member status to load readiness.": "6f7f338e22e626b134643fbaec898cf8e8efd19b85eeb6193b4ca0d5d63c4528", "Check needed": "561a32f0c83e5a4fe8d77d891bd4b954d514ea021b4a18e68a3607f5d8747841", @@ -1563,6 +1566,7 @@ "Concise": "8340d833ab72d3321b07af0184597743b010e142b39593cebb450d4227e62f0c", "Concise, focused, direct.": "e9cb028d2d79111476e9c8ea1562b7f6275fd39d43abf410338d7c0ae2fff5a5", "conclusion {conclusion}": "dc328d7e11ecbdc61fa90fc18e3ced70b794ca55dcc476d03c88eff72f16274d", + "Concurrent work limit reached": "f60d0f2d4a9ba0c57c7e7835bd52a1912f39581799f2babb636d190317a96b54", "Confidence": "6422e3e78f5e5f5a15e92cc57ed7114adb289339251031ccb526d9249437dc82", "Configuration": "b332c3492d5eb10a118eb6d8b0dcd689bc2477ce2ae16b303753b942b54377bc", "Configuration digest": "5bbf2d321122a5a57d36c77291d232d51f9ae9a1655e80f042727754aea15bfe", @@ -2939,6 +2943,7 @@ "github": "c0b0109d9439de57fe3cf03abeccbc52f4c98170c732d3b69af5e6395ace574e", "GitHub": "f911e414cf6bdfc595532ab166b5ba0f63d73c021452fcdacbda363dda6ad8fb", "GitHub CI triage": "6a2368ce3943b296b07b5241227baf2a863d3f50f8a46ddb0889cbb5045ccd84", + "GitHub intake": "064829c63fcbc74d45753e04f583c69a391d25d4ed334de3b69fa2720f733cb1", "GitHub MCP": "408b061889ef672152b51ce8dbd56216d1b7e97303429b59538b99fe663c6f04", "GitHub not connected (GITHUB_TOKEN or GH_TOKEN)": "1cb239b6b5ea26422b411a25d3a4e254cdf45b7e730eb91b976a36f12adeb21b", "GitHub unavailable; retry later": "33b2cec76eccd24c4d8d61c265de8b06a6a20820ab1fccdcb433a22903909d02", @@ -4818,6 +4823,7 @@ "Policy details": "00e33950cacf32a39cc25f71ccb1650c4c788c12816e07681d80f0fdc537be98", "Policy narrows authority": "e9e2012e5ac96664fb03ff0f81f4f49cb5b8ee069149139352e7c89b73e43baa", "policy overlays": "db26199cf2a47a948b45caf37b4d50ede3ef415fad6c940cfe56a118970fcefb", + "Policy paused": "11fc11eaf385253466e26bac9916425e1e009695cd40adc4c7a132366d187518", "Policy review": "1cf67fef927c77770a1fcd8b20982b24b15cc0b6f1e8b56265d87baff019dd7e", "Policy snapshot artifact": "7f8b2985d498316ac01fa5f2276d2556cab712b4c8bc2b93e16dfc1353e23a77", "Poll once": "c7e7d724ff87555fb857467569ce709d958ee2d5d1ab2cc890554c7605e86e78", @@ -5013,6 +5019,7 @@ "Provider state": "633d1ca46603e61fc3d39459c1414102a27bbc4ba0adfb0b22ba5a205c2b9815", "Provider templates": "1e8649b7c667a6afc6dc88cbdb3069e349e850466cf3efa57eeedab9b70486f7", "Provider type": "8c0f6d3ebfe7ba3a0c0006068a9aa664d09244ba3cd438f2d56fab117bee1347", + "Provider unavailable": "ff2113958589f9bfb87b54f959be825d00ec5eca374d907bb343f98ebdbc84c3", "Provider version": "1f5ecefbd682ced2f438c8ae3c8849ba9effbe6cd77c19051cee2d2036ef9c90", "Provider warmup": "36ae143804c9a909bce770f54be5652b69b99ee7838cca99daa31e23d4d6d63c", "Provider was automatically rechecked after daemon restart.": "7bd8e8ee592f30e81adca8c96b079d6526846dc142bd99e5bbba3d9bebbde7a9", @@ -5398,6 +5405,8 @@ "Required for assigned teammates": "4732aa544a8d93b886e6bcbbcc5c3314af692f8a8a812efd4844cd3589b7b63a", "Required input": "fafaaf99b5a6af521026448890a9dacaf4d47053804a34be7cdf364e13637181", "Required input: {value}": "757166b8bf43ee39819f00d86fa61a84ddb3f3eba2a883c6bb996b8f82101d22", + "Required label": "5f623a5ad31f874a782d2205c9318ce524371a35d782b9a7021eab521c2fbbcd", + "Required label missing": "6913716764f8018414060c041e41a2951f5444efe5e97cd30a557be26403d1b1", "Required permissions": "edaffed36060c21e958b3fe562b7c57f51f67ba46326b1a9a5317a47b20e1747", "Required skill information is missing.": "e5cb742af5e92afab21f42c3edd4f5940db52a1c5320a9dd7236eca89a702789", "Required statuses": "c77453db9c939c7c7b8da080b0053847604126aefacf5a900d1d0fe30e4ba5ee", @@ -6407,6 +6416,7 @@ "Start an active Computer Use task first.": "1242a212935f863b51a7f3e8d16f12af408152d8047b274c5fef9fb7f1435f50", "Start autoplan": "7419a8efae15550dc21cccc23ca0a16c446e884842bfe48056af34a921175cb0", "Start background": "c690dc635cd0437e8911748d795084e5d32d0b75811490076285d41032d7300c", + "Start budget reached": "6b915cfb021a78ae6f8b4c1f2d9f40bbadcc486c04cbb00a807d52bfe78102ca", "Start by choosing a template or creating one manually.": "6a3ba02535ac7a0ab934b569a915927936dede63b4277ea4500e77c8835d4666", "Start child branch": "ee7b6caa5b4a1d3e8fd3ce47a26b42a4f2472834dfa17b2efc1864d0ed710948", "Start from a default role or blank teammate.": "1464ae64fd1ee987e353f53a2f9bab20053b2f0ae320c07839b7eecf710b8a96", @@ -6512,7 +6522,9 @@ "succeeded": "5dceaeceb6d8a49d3665594710ace68dfbc1800e2d663d7febb302b4dbee3d27", "Succeeded": "6d9a6f97a5fdaf3b90a0cf02e0b43d8b7ec1d05c0e4718e02ddd1c5b450e5b39", "Successfully generated {count} artifact based on the provided prompt.": "71f85e7639c004421f062f2dd6a129e5173931798f5d33b6f0482038b38a88fc", + "Suggest": "4effad823b048b0440dbeff42665f60a6ddec8e121c378966ed7c074a512c51f", "Suggest responsible owners based on context, decisions, and recent work.": "484eb4e21bcdd76a531a4234403ea29f0626094f9a2915b674f17e0b949be0a3", + "Suggested": "93b63bab4c3a28d73a8bb83bcdfdcc5f6ddecfc8fc702296ca159d94c5dc6e53", "Suggested next step": "78d74fd4ffec8d83a942e1274cfd15426b2b4bb2d96b15f905277638c339869e", "Suggested routing": "442b15c099c136738e26e139912a5f5d21e90216aade875a8db595b09c81fcbe", "Summaries": "87bc590e047d3df4a8e448ac83e371fad69dd73607752cccb0ff7d34263cef8f", @@ -7221,6 +7233,7 @@ "Untracked": "c7ba5477e19cf0bb25460d840cc2e67341e81e1c2d274d00b3054c73898d4d27", "unverified": "97b7e2db799e2b79e65f418b42a7d3054c95b2d3ab1dba243039597e44a38084", "Unverified": "33c8e8de41c3a35124251370e2a36e4d589f8789d80630abbbeceb933d3fb58f", + "Up to {concurrent} active and {starts} starts per {minutes} min": "cca43c28ef670fd5d55cb3bd813a2fef137043e4028096bcd2cdf22e2a06586b", "Up to date": "ce29b7f85b9eaf7dac52e625accb4b0cb56a856ebe9a9de9a09b613b6d978dca", "Update": "c1c1009d3f37ec058070a62e22caf9ac9dae2169d452487c5c271a8bcf57a291", "Update available": "ff8b555d818f0b25bbdd1bec8b479660bac7fc276acbe993e759bf67fed32c34", @@ -7548,6 +7561,7 @@ "Work intake, tool servers, and plugin bundles": "16b65a84c6fca2014b7e2d28b151bbf0afe19345230a0ac37304802311fed850", "Work is claimed": "c4b0d953436f2f59355d6540bae28e055ff49243f612887bbaed7bfd98c85d4d", "Work item ID": "1dcdad81d13850bd962965719f362fa7f32693b7b54fd8bb25d1e2402a470626", + "Work item paused": "299aabbf3c1418a3f01117e072d3bfe418e174bd1f355d1afdfae23c7b4bf678", "Work items": "5759a416f2b3b4ff92da23b8059419e06c39d27180b91a557f7cae779df3d2b6", "Work marked failed": "f26306888ed8c9a3808b8a420428f63e32d4c2223e7c9c89dd0a049806c539c6", "Work result": "19efe7487084061e9e358495b8a9bfd7e9d7c0035010e08ac35c14ba4ff8ca2a", @@ -8287,6 +8301,7 @@ "Allows": "Consente", "Allows commands starting with {command}": "Consente comandi che iniziano con {command}", "Already imported": "Già importato", + "Already in work": "Già al lavoro", "Also allow private memory and private chat queries remotely": "Consenti anche la memoria privata e le query di chat privata da remoto", "Alternatives": "Alternative", "Alternatives considered": "Alternative considerate", @@ -8547,6 +8562,7 @@ "Auto-start by default": "Auto-start by default", "Auto-start step": "Auto-start step", "Automatic": "Automatico", + "Automatic intake": "Aspirazione automatica", "Automatic learning is off": "L'apprendimento automatico è disattivato", "Automatic parallel execution": "Automatic parallel execution", "Automatic proposals enabled": "Proposte automatiche abilitate", @@ -8975,6 +8991,7 @@ "Check failed": "Controllo fallito", "Check for changes": "Controlla le modifiche", "Check for updates": "Controlla gli aggiornamenti", + "Check GitHub inbox": "Controlla la posta in arrivo di GitHub", "Check member status": "Controlla lo stato del membro", "Check member status to load readiness.": "Controlla lo stato del membro per caricare la disponibilità.", "Check needed": "Controllo necessario", @@ -9282,6 +9299,7 @@ "Concise": "Conciso", "Concise, focused, direct.": "Conciso, mirato, diretto.", "conclusion {conclusion}": "conclusione {conclusion}", + "Concurrent work limit reached": "Limite di lavoro simultaneo raggiunto", "Confidence": "Fiducia", "Configuration": "Configurazione", "Configuration digest": "Raccolta della configurazione", @@ -10658,6 +10676,7 @@ "github": "github", "GitHub": "GitHub", "GitHub CI triage": "Triage CI di GitHub", + "GitHub intake": "Assunzione di GitHub", "GitHub MCP": "GitHub MCP", "GitHub not connected (GITHUB_TOKEN or GH_TOKEN)": "GitHub not connected (GITHUB_TOKEN or GH_TOKEN)", "GitHub unavailable; retry later": "GitHub unavailable; retry later", @@ -12537,6 +12556,7 @@ "Policy details": "Dettagli della politica", "Policy narrows authority": "La politica restringe l’autorità", "policy overlays": "sovrapposizioni politiche", + "Policy paused": "La politica è stata sospesa", "Policy review": "Revisione delle politiche", "Policy snapshot artifact": "Artefatto snapshot della policy", "Poll once": "Sondaggio una volta", @@ -12732,6 +12752,7 @@ "Provider state": "Stato del fornitore", "Provider templates": "Modelli di fornitori", "Provider type": "Tipo di fornitore", + "Provider unavailable": "Fornitore non disponibile", "Provider version": "Versione del fornitore", "Provider warmup": "Riscaldamento del fornitore", "Provider was automatically rechecked after daemon restart.": "Il provider è stato ricontrollato automaticamente dopo il riavvio del demone.", @@ -13117,6 +13138,8 @@ "Required for assigned teammates": "Obbligatorio per i compagni di squadra assegnati", "Required input": "Ingresso richiesto", "Required input: {value}": "Ingresso richiesto: {value}", + "Required label": "Etichetta obbligatoria", + "Required label missing": "Manca l'etichetta obbligatoria", "Required permissions": "Autorizzazioni richieste", "Required skill information is missing.": "Mancano le informazioni sulle competenze richieste.", "Required statuses": "Required statuses", @@ -14126,6 +14149,7 @@ "Start an active Computer Use task first.": "Avvia prima un'attività attiva Computer Use.", "Start autoplan": "Avvia la pianificazione automatica", "Start background": "Inizia lo sfondo", + "Start budget reached": "Budget iniziale raggiunto", "Start by choosing a template or creating one manually.": "Inizia scegliendo un modello o creandone uno manualmente.", "Start child branch": "Avvia il ramo figlio", "Start from a default role or blank teammate.": "Inizia da un ruolo predefinito o da un compagno di squadra vuoto.", @@ -14231,7 +14255,9 @@ "succeeded": "riuscito", "Succeeded": "Riuscito", "Successfully generated {count} artifact based on the provided prompt.": "Artefatto {count} generato con successo in base al prompt fornito.", + "Suggest": "Suggerire", "Suggest responsible owners based on context, decisions, and recent work.": "Suggerisci proprietari responsabili in base al contesto, alle decisioni e al lavoro recente.", + "Suggested": "Suggerito", "Suggested next step": "Passaggio successivo suggerito", "Suggested routing": "Itinerario suggerito", "Summaries": "Riepiloghi", @@ -14940,6 +14966,7 @@ "Untracked": "Non tracciato", "unverified": "non verificato", "Unverified": "Non verificato", + "Up to {concurrent} active and {starts} starts per {minutes} min": "Fino a {concurrent} attivo e {starts} avviamenti ogni {minutes} min", "Up to date": "Aggiornato", "Update": "Aggiornamento", "Update available": "Aggiornamento disponibile", @@ -15267,6 +15294,7 @@ "Work intake, tool servers, and plugin bundles": "Assunzione di lavoro, server di strumenti e pacchetti di plug-in", "Work is claimed": "Il lavoro è rivendicato", "Work item ID": "Elemento di lavoro ID", + "Work item paused": "Elemento di lavoro in pausa", "Work items": "Oggetti di lavoro", "Work marked failed": "Lavoro contrassegnato come non riuscito", "Work result": "Risultato del lavoro", diff --git a/packages/localization/catalogs/ja-JP.json b/packages/localization/catalogs/ja-JP.json index d4f581459..c884e1c44 100644 --- a/packages/localization/catalogs/ja-JP.json +++ b/packages/localization/catalogs/ja-JP.json @@ -1,6 +1,6 @@ { "locale": "ja-JP", - "sourceRevision": "214db76d79f1a5c0fd915c110a2ead6dbb978b58398846e982a0c1ff0cb53108", + "sourceRevision": "6468d2af71d2feb60f9b8c5f37bc2a3ff1177fb2c8b0d65e85002de6b1095cbb", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -568,6 +568,7 @@ "Allows": "8b1d52d202522d89fe65fb00e505abab46dc200a88c0be5d468a2a7e6dce9ccf", "Allows commands starting with {command}": "f5c5d446a6850880ae79768c175bacaf2bc487f715d5768d0b225eb643e3ce07", "Already imported": "e47fafe0a1c6f8d6b5c641c5d9cc7ca61e66a1c50bbc3b619c8ff5912444bfa8", + "Already in work": "ae40a6ff362406d9f1fdc40ad79cea7bd1705e6e173b2267f2a310777aedb387", "Also allow private memory and private chat queries remotely": "0b6b2ba6882b67c8b5b79f0f07964588232be1a9e520011e19bbea224c59a913", "Alternatives": "41055f72edad1559b8ba43440cd7938eb73685930c7141fede9b95000fd41299", "Alternatives considered": "73534cb410e6191096c7fa7ca56ba066f90b4fdede8677d64bc98068804afa3c", @@ -828,6 +829,7 @@ "Auto-start by default": "403861dc8396a3ea666e143d33e0429d3c26721771abf3face351259eee9b28f", "Auto-start step": "2bf61e4807ad3bf6ebc934bf54e917d5b3a87295001826be3a7dd57c7e75cc8d", "Automatic": "d461a493a3753877c9486cffa3444265a33370af8a7fff242fb119b71750839c", + "Automatic intake": "6eed82b223c717114773803e9d9d90d6d3cde9579bf264647347e559817a5081", "Automatic learning is off": "8ba1b4a02530490260a7b8e748e0809ddc3885213a009f3896264bc665060bdd", "Automatic parallel execution": "63d058c173c4a148a14094327c26d9af2c5bde1779c91dbf0d913e90b0687be9", "Automatic proposals enabled": "db670932d259eeedd26de8d7ca836594d5f3861ff24e1f94170c7333676c157a", @@ -1256,6 +1258,7 @@ "Check failed": "c8813c1128d545bfe7e7458ae24d724447097b3518643f86fa3e532f88e9fb40", "Check for changes": "5da755d1690f58c1c822a4b85422734bacc2122c7c67f4e8617f0765ac835113", "Check for updates": "f26f3275e735bdf6268532ca7cbea3887c9adad21d8df74e84b2bc7791475c0d", + "Check GitHub inbox": "51cd97da0bc2b213621668f69168386eaee18bdae064041094187404c9fc71ee", "Check member status": "ff155af014d0b6e94cbf2fca3b01cf8d5725732f178eee985083478adb4a62f5", "Check member status to load readiness.": "6f7f338e22e626b134643fbaec898cf8e8efd19b85eeb6193b4ca0d5d63c4528", "Check needed": "561a32f0c83e5a4fe8d77d891bd4b954d514ea021b4a18e68a3607f5d8747841", @@ -1563,6 +1566,7 @@ "Concise": "8340d833ab72d3321b07af0184597743b010e142b39593cebb450d4227e62f0c", "Concise, focused, direct.": "e9cb028d2d79111476e9c8ea1562b7f6275fd39d43abf410338d7c0ae2fff5a5", "conclusion {conclusion}": "dc328d7e11ecbdc61fa90fc18e3ced70b794ca55dcc476d03c88eff72f16274d", + "Concurrent work limit reached": "f60d0f2d4a9ba0c57c7e7835bd52a1912f39581799f2babb636d190317a96b54", "Confidence": "6422e3e78f5e5f5a15e92cc57ed7114adb289339251031ccb526d9249437dc82", "Configuration": "b332c3492d5eb10a118eb6d8b0dcd689bc2477ce2ae16b303753b942b54377bc", "Configuration digest": "5bbf2d321122a5a57d36c77291d232d51f9ae9a1655e80f042727754aea15bfe", @@ -2939,6 +2943,7 @@ "github": "c0b0109d9439de57fe3cf03abeccbc52f4c98170c732d3b69af5e6395ace574e", "GitHub": "f911e414cf6bdfc595532ab166b5ba0f63d73c021452fcdacbda363dda6ad8fb", "GitHub CI triage": "6a2368ce3943b296b07b5241227baf2a863d3f50f8a46ddb0889cbb5045ccd84", + "GitHub intake": "064829c63fcbc74d45753e04f583c69a391d25d4ed334de3b69fa2720f733cb1", "GitHub MCP": "408b061889ef672152b51ce8dbd56216d1b7e97303429b59538b99fe663c6f04", "GitHub not connected (GITHUB_TOKEN or GH_TOKEN)": "1cb239b6b5ea26422b411a25d3a4e254cdf45b7e730eb91b976a36f12adeb21b", "GitHub unavailable; retry later": "33b2cec76eccd24c4d8d61c265de8b06a6a20820ab1fccdcb433a22903909d02", @@ -4818,6 +4823,7 @@ "Policy details": "00e33950cacf32a39cc25f71ccb1650c4c788c12816e07681d80f0fdc537be98", "Policy narrows authority": "e9e2012e5ac96664fb03ff0f81f4f49cb5b8ee069149139352e7c89b73e43baa", "policy overlays": "db26199cf2a47a948b45caf37b4d50ede3ef415fad6c940cfe56a118970fcefb", + "Policy paused": "11fc11eaf385253466e26bac9916425e1e009695cd40adc4c7a132366d187518", "Policy review": "1cf67fef927c77770a1fcd8b20982b24b15cc0b6f1e8b56265d87baff019dd7e", "Policy snapshot artifact": "7f8b2985d498316ac01fa5f2276d2556cab712b4c8bc2b93e16dfc1353e23a77", "Poll once": "c7e7d724ff87555fb857467569ce709d958ee2d5d1ab2cc890554c7605e86e78", @@ -5013,6 +5019,7 @@ "Provider state": "633d1ca46603e61fc3d39459c1414102a27bbc4ba0adfb0b22ba5a205c2b9815", "Provider templates": "1e8649b7c667a6afc6dc88cbdb3069e349e850466cf3efa57eeedab9b70486f7", "Provider type": "8c0f6d3ebfe7ba3a0c0006068a9aa664d09244ba3cd438f2d56fab117bee1347", + "Provider unavailable": "ff2113958589f9bfb87b54f959be825d00ec5eca374d907bb343f98ebdbc84c3", "Provider version": "1f5ecefbd682ced2f438c8ae3c8849ba9effbe6cd77c19051cee2d2036ef9c90", "Provider warmup": "36ae143804c9a909bce770f54be5652b69b99ee7838cca99daa31e23d4d6d63c", "Provider was automatically rechecked after daemon restart.": "7bd8e8ee592f30e81adca8c96b079d6526846dc142bd99e5bbba3d9bebbde7a9", @@ -5398,6 +5405,8 @@ "Required for assigned teammates": "4732aa544a8d93b886e6bcbbcc5c3314af692f8a8a812efd4844cd3589b7b63a", "Required input": "fafaaf99b5a6af521026448890a9dacaf4d47053804a34be7cdf364e13637181", "Required input: {value}": "757166b8bf43ee39819f00d86fa61a84ddb3f3eba2a883c6bb996b8f82101d22", + "Required label": "5f623a5ad31f874a782d2205c9318ce524371a35d782b9a7021eab521c2fbbcd", + "Required label missing": "6913716764f8018414060c041e41a2951f5444efe5e97cd30a557be26403d1b1", "Required permissions": "edaffed36060c21e958b3fe562b7c57f51f67ba46326b1a9a5317a47b20e1747", "Required skill information is missing.": "e5cb742af5e92afab21f42c3edd4f5940db52a1c5320a9dd7236eca89a702789", "Required statuses": "c77453db9c939c7c7b8da080b0053847604126aefacf5a900d1d0fe30e4ba5ee", @@ -6407,6 +6416,7 @@ "Start an active Computer Use task first.": "1242a212935f863b51a7f3e8d16f12af408152d8047b274c5fef9fb7f1435f50", "Start autoplan": "7419a8efae15550dc21cccc23ca0a16c446e884842bfe48056af34a921175cb0", "Start background": "c690dc635cd0437e8911748d795084e5d32d0b75811490076285d41032d7300c", + "Start budget reached": "6b915cfb021a78ae6f8b4c1f2d9f40bbadcc486c04cbb00a807d52bfe78102ca", "Start by choosing a template or creating one manually.": "6a3ba02535ac7a0ab934b569a915927936dede63b4277ea4500e77c8835d4666", "Start child branch": "ee7b6caa5b4a1d3e8fd3ce47a26b42a4f2472834dfa17b2efc1864d0ed710948", "Start from a default role or blank teammate.": "1464ae64fd1ee987e353f53a2f9bab20053b2f0ae320c07839b7eecf710b8a96", @@ -6512,7 +6522,9 @@ "succeeded": "5dceaeceb6d8a49d3665594710ace68dfbc1800e2d663d7febb302b4dbee3d27", "Succeeded": "6d9a6f97a5fdaf3b90a0cf02e0b43d8b7ec1d05c0e4718e02ddd1c5b450e5b39", "Successfully generated {count} artifact based on the provided prompt.": "71f85e7639c004421f062f2dd6a129e5173931798f5d33b6f0482038b38a88fc", + "Suggest": "4effad823b048b0440dbeff42665f60a6ddec8e121c378966ed7c074a512c51f", "Suggest responsible owners based on context, decisions, and recent work.": "484eb4e21bcdd76a531a4234403ea29f0626094f9a2915b674f17e0b949be0a3", + "Suggested": "93b63bab4c3a28d73a8bb83bcdfdcc5f6ddecfc8fc702296ca159d94c5dc6e53", "Suggested next step": "78d74fd4ffec8d83a942e1274cfd15426b2b4bb2d96b15f905277638c339869e", "Suggested routing": "442b15c099c136738e26e139912a5f5d21e90216aade875a8db595b09c81fcbe", "Summaries": "87bc590e047d3df4a8e448ac83e371fad69dd73607752cccb0ff7d34263cef8f", @@ -7221,6 +7233,7 @@ "Untracked": "c7ba5477e19cf0bb25460d840cc2e67341e81e1c2d274d00b3054c73898d4d27", "unverified": "97b7e2db799e2b79e65f418b42a7d3054c95b2d3ab1dba243039597e44a38084", "Unverified": "33c8e8de41c3a35124251370e2a36e4d589f8789d80630abbbeceb933d3fb58f", + "Up to {concurrent} active and {starts} starts per {minutes} min": "cca43c28ef670fd5d55cb3bd813a2fef137043e4028096bcd2cdf22e2a06586b", "Up to date": "ce29b7f85b9eaf7dac52e625accb4b0cb56a856ebe9a9de9a09b613b6d978dca", "Update": "c1c1009d3f37ec058070a62e22caf9ac9dae2169d452487c5c271a8bcf57a291", "Update available": "ff8b555d818f0b25bbdd1bec8b479660bac7fc276acbe993e759bf67fed32c34", @@ -7548,6 +7561,7 @@ "Work intake, tool servers, and plugin bundles": "16b65a84c6fca2014b7e2d28b151bbf0afe19345230a0ac37304802311fed850", "Work is claimed": "c4b0d953436f2f59355d6540bae28e055ff49243f612887bbaed7bfd98c85d4d", "Work item ID": "1dcdad81d13850bd962965719f362fa7f32693b7b54fd8bb25d1e2402a470626", + "Work item paused": "299aabbf3c1418a3f01117e072d3bfe418e174bd1f355d1afdfae23c7b4bf678", "Work items": "5759a416f2b3b4ff92da23b8059419e06c39d27180b91a557f7cae779df3d2b6", "Work marked failed": "f26306888ed8c9a3808b8a420428f63e32d4c2223e7c9c89dd0a049806c539c6", "Work result": "19efe7487084061e9e358495b8a9bfd7e9d7c0035010e08ac35c14ba4ff8ca2a", @@ -8287,6 +8301,7 @@ "Allows": "許可します", "Allows commands starting with {command}": "{command} で始まるコマンドを許可します", "Already imported": "すでにインポートされています", + "Already in work": "すでに勤務中", "Also allow private memory and private chat queries remotely": "プライベート メモリやプライベート チャット クエリをリモートで許可することもできます", "Alternatives": "代替案", "Alternatives considered": "検討された代替案", @@ -8547,6 +8562,7 @@ "Auto-start by default": "Auto-start by default", "Auto-start step": "Auto-start step", "Automatic": "自動", + "Automatic intake": "自動吸気", "Automatic learning is off": "自動学習はオフです", "Automatic parallel execution": "Automatic parallel execution", "Automatic proposals enabled": "自動提案が有効になっています", @@ -8975,6 +8991,7 @@ "Check failed": "チェックに失敗しました", "Check for changes": "変更を確認する", "Check for updates": "アップデートをチェックする", + "Check GitHub inbox": "GitHub の受信箱を確認する", "Check member status": "会員ステータスを確認する", "Check member status to load readiness.": "メンバーのステータスを確認してロードの準備ができているかどうかを確認します。", "Check needed": "要チェック", @@ -9282,6 +9299,7 @@ "Concise": "簡潔", "Concise, focused, direct.": "簡潔、集中、直接的。", "conclusion {conclusion}": "結論 {conclusion}", + "Concurrent work limit reached": "同時作業制限に達しました", "Confidence": "自信", "Configuration": "構成", "Configuration digest": "構成ダイジェスト", @@ -10658,6 +10676,7 @@ "github": "ギットハブ", "GitHub": "GitHub", "GitHub CI triage": "GitHub CI トリアージ", + "GitHub intake": "GitHub の取り込み", "GitHub MCP": "GitHub MCP", "GitHub not connected (GITHUB_TOKEN or GH_TOKEN)": "GitHub not connected (GITHUB_TOKEN or GH_TOKEN)", "GitHub unavailable; retry later": "GitHub unavailable; retry later", @@ -12537,6 +12556,7 @@ "Policy details": "ポリシーの詳細", "Policy narrows authority": "政策により権限が狭められる", "policy overlays": "ポリシーオーバーレイ", + "Policy paused": "ポリシーは一時停止されました", "Policy review": "政策の見直し", "Policy snapshot artifact": "ポリシースナップショットアーティファクト", "Poll once": "1 回投票する", @@ -12732,6 +12752,7 @@ "Provider state": "プロバイダーの状態", "Provider templates": "プロバイダーテンプレート", "Provider type": "プロバイダーの種類", + "Provider unavailable": "プロバイダーが利用できない", "Provider version": "プロバイダーのバージョン", "Provider warmup": "プロバイダーのウォームアップ", "Provider was automatically rechecked after daemon restart.": "デーモンの再起動後にプロバイダーが自動的に再チェックされました。", @@ -13117,6 +13138,8 @@ "Required for assigned teammates": "割り当てられたチームメイトに必須", "Required input": "必須入力", "Required input: {value}": "必須入力: {value}", + "Required label": "必須のラベル", + "Required label missing": "必要なラベルがありません", "Required permissions": "必要な権限", "Required skill information is missing.": "必要なスキル情報が不足しています。", "Required statuses": "Required statuses", @@ -14126,6 +14149,7 @@ "Start an active Computer Use task first.": "最初にアクティブな Computer Use タスクを開始します。", "Start autoplan": "自動計画の開始", "Start background": "開始背景", + "Start budget reached": "開始予算に達しました", "Start by choosing a template or creating one manually.": "まず、テンプレートを選択するか、手動で作成します。", "Start child branch": "子ブランチを開始する", "Start from a default role or blank teammate.": "デフォルトの役割または空白のチームメイトから開始します。", @@ -14231,7 +14255,9 @@ "succeeded": "成功しました", "Succeeded": "成功しました", "Successfully generated {count} artifact based on the provided prompt.": "提供されたプロンプトに基づいて {count} アーティファクトが正常に生成されました。", + "Suggest": "提案する", "Suggest responsible owners based on context, decisions, and recent work.": "状況、決定事項、最近の作業に基づいて責任ある所有者を提案します。", + "Suggested": "提案された", "Suggested next step": "提案される次のステップ", "Suggested routing": "推奨されるルーティング", "Summaries": "概要", @@ -14940,6 +14966,7 @@ "Untracked": "未追跡", "unverified": "未確認", "Unverified": "未検証", + "Up to {concurrent} active and {starts} starts per {minutes} min": "最大 {concurrent} までアクティブで、{minutes} 分ごとに {starts} が開始されます", "Up to date": "最新の", "Update": "アップデート", "Update available": "利用可能なアップデート", @@ -15267,6 +15294,7 @@ "Work intake, tool servers, and plugin bundles": "ワークインテーク、ツールサーバー、プラグインバンドル", "Work is claimed": "仕事が要求されています", "Work item ID": "作業項目 ID", + "Work item paused": "作業項目が一時停止されました", "Work items": "作業項目", "Work marked failed": "失敗とマークされた作業", "Work result": "作業結果", diff --git a/packages/localization/catalogs/ka-GE.json b/packages/localization/catalogs/ka-GE.json index 288217bf7..bc1cc912d 100644 --- a/packages/localization/catalogs/ka-GE.json +++ b/packages/localization/catalogs/ka-GE.json @@ -1,6 +1,6 @@ { "locale": "ka-GE", - "sourceRevision": "214db76d79f1a5c0fd915c110a2ead6dbb978b58398846e982a0c1ff0cb53108", + "sourceRevision": "6468d2af71d2feb60f9b8c5f37bc2a3ff1177fb2c8b0d65e85002de6b1095cbb", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -568,6 +568,7 @@ "Allows": "8b1d52d202522d89fe65fb00e505abab46dc200a88c0be5d468a2a7e6dce9ccf", "Allows commands starting with {command}": "f5c5d446a6850880ae79768c175bacaf2bc487f715d5768d0b225eb643e3ce07", "Already imported": "e47fafe0a1c6f8d6b5c641c5d9cc7ca61e66a1c50bbc3b619c8ff5912444bfa8", + "Already in work": "ae40a6ff362406d9f1fdc40ad79cea7bd1705e6e173b2267f2a310777aedb387", "Also allow private memory and private chat queries remotely": "0b6b2ba6882b67c8b5b79f0f07964588232be1a9e520011e19bbea224c59a913", "Alternatives": "41055f72edad1559b8ba43440cd7938eb73685930c7141fede9b95000fd41299", "Alternatives considered": "73534cb410e6191096c7fa7ca56ba066f90b4fdede8677d64bc98068804afa3c", @@ -828,6 +829,7 @@ "Auto-start by default": "403861dc8396a3ea666e143d33e0429d3c26721771abf3face351259eee9b28f", "Auto-start step": "2bf61e4807ad3bf6ebc934bf54e917d5b3a87295001826be3a7dd57c7e75cc8d", "Automatic": "d461a493a3753877c9486cffa3444265a33370af8a7fff242fb119b71750839c", + "Automatic intake": "6eed82b223c717114773803e9d9d90d6d3cde9579bf264647347e559817a5081", "Automatic learning is off": "8ba1b4a02530490260a7b8e748e0809ddc3885213a009f3896264bc665060bdd", "Automatic parallel execution": "63d058c173c4a148a14094327c26d9af2c5bde1779c91dbf0d913e90b0687be9", "Automatic proposals enabled": "db670932d259eeedd26de8d7ca836594d5f3861ff24e1f94170c7333676c157a", @@ -1256,6 +1258,7 @@ "Check failed": "c8813c1128d545bfe7e7458ae24d724447097b3518643f86fa3e532f88e9fb40", "Check for changes": "5da755d1690f58c1c822a4b85422734bacc2122c7c67f4e8617f0765ac835113", "Check for updates": "f26f3275e735bdf6268532ca7cbea3887c9adad21d8df74e84b2bc7791475c0d", + "Check GitHub inbox": "51cd97da0bc2b213621668f69168386eaee18bdae064041094187404c9fc71ee", "Check member status": "ff155af014d0b6e94cbf2fca3b01cf8d5725732f178eee985083478adb4a62f5", "Check member status to load readiness.": "6f7f338e22e626b134643fbaec898cf8e8efd19b85eeb6193b4ca0d5d63c4528", "Check needed": "561a32f0c83e5a4fe8d77d891bd4b954d514ea021b4a18e68a3607f5d8747841", @@ -1563,6 +1566,7 @@ "Concise": "8340d833ab72d3321b07af0184597743b010e142b39593cebb450d4227e62f0c", "Concise, focused, direct.": "e9cb028d2d79111476e9c8ea1562b7f6275fd39d43abf410338d7c0ae2fff5a5", "conclusion {conclusion}": "dc328d7e11ecbdc61fa90fc18e3ced70b794ca55dcc476d03c88eff72f16274d", + "Concurrent work limit reached": "f60d0f2d4a9ba0c57c7e7835bd52a1912f39581799f2babb636d190317a96b54", "Confidence": "6422e3e78f5e5f5a15e92cc57ed7114adb289339251031ccb526d9249437dc82", "Configuration": "b332c3492d5eb10a118eb6d8b0dcd689bc2477ce2ae16b303753b942b54377bc", "Configuration digest": "5bbf2d321122a5a57d36c77291d232d51f9ae9a1655e80f042727754aea15bfe", @@ -2939,6 +2943,7 @@ "github": "c0b0109d9439de57fe3cf03abeccbc52f4c98170c732d3b69af5e6395ace574e", "GitHub": "f911e414cf6bdfc595532ab166b5ba0f63d73c021452fcdacbda363dda6ad8fb", "GitHub CI triage": "6a2368ce3943b296b07b5241227baf2a863d3f50f8a46ddb0889cbb5045ccd84", + "GitHub intake": "064829c63fcbc74d45753e04f583c69a391d25d4ed334de3b69fa2720f733cb1", "GitHub MCP": "408b061889ef672152b51ce8dbd56216d1b7e97303429b59538b99fe663c6f04", "GitHub not connected (GITHUB_TOKEN or GH_TOKEN)": "1cb239b6b5ea26422b411a25d3a4e254cdf45b7e730eb91b976a36f12adeb21b", "GitHub unavailable; retry later": "33b2cec76eccd24c4d8d61c265de8b06a6a20820ab1fccdcb433a22903909d02", @@ -4818,6 +4823,7 @@ "Policy details": "00e33950cacf32a39cc25f71ccb1650c4c788c12816e07681d80f0fdc537be98", "Policy narrows authority": "e9e2012e5ac96664fb03ff0f81f4f49cb5b8ee069149139352e7c89b73e43baa", "policy overlays": "db26199cf2a47a948b45caf37b4d50ede3ef415fad6c940cfe56a118970fcefb", + "Policy paused": "11fc11eaf385253466e26bac9916425e1e009695cd40adc4c7a132366d187518", "Policy review": "1cf67fef927c77770a1fcd8b20982b24b15cc0b6f1e8b56265d87baff019dd7e", "Policy snapshot artifact": "7f8b2985d498316ac01fa5f2276d2556cab712b4c8bc2b93e16dfc1353e23a77", "Poll once": "c7e7d724ff87555fb857467569ce709d958ee2d5d1ab2cc890554c7605e86e78", @@ -5013,6 +5019,7 @@ "Provider state": "633d1ca46603e61fc3d39459c1414102a27bbc4ba0adfb0b22ba5a205c2b9815", "Provider templates": "1e8649b7c667a6afc6dc88cbdb3069e349e850466cf3efa57eeedab9b70486f7", "Provider type": "8c0f6d3ebfe7ba3a0c0006068a9aa664d09244ba3cd438f2d56fab117bee1347", + "Provider unavailable": "ff2113958589f9bfb87b54f959be825d00ec5eca374d907bb343f98ebdbc84c3", "Provider version": "1f5ecefbd682ced2f438c8ae3c8849ba9effbe6cd77c19051cee2d2036ef9c90", "Provider warmup": "36ae143804c9a909bce770f54be5652b69b99ee7838cca99daa31e23d4d6d63c", "Provider was automatically rechecked after daemon restart.": "7bd8e8ee592f30e81adca8c96b079d6526846dc142bd99e5bbba3d9bebbde7a9", @@ -5398,6 +5405,8 @@ "Required for assigned teammates": "4732aa544a8d93b886e6bcbbcc5c3314af692f8a8a812efd4844cd3589b7b63a", "Required input": "fafaaf99b5a6af521026448890a9dacaf4d47053804a34be7cdf364e13637181", "Required input: {value}": "757166b8bf43ee39819f00d86fa61a84ddb3f3eba2a883c6bb996b8f82101d22", + "Required label": "5f623a5ad31f874a782d2205c9318ce524371a35d782b9a7021eab521c2fbbcd", + "Required label missing": "6913716764f8018414060c041e41a2951f5444efe5e97cd30a557be26403d1b1", "Required permissions": "edaffed36060c21e958b3fe562b7c57f51f67ba46326b1a9a5317a47b20e1747", "Required skill information is missing.": "e5cb742af5e92afab21f42c3edd4f5940db52a1c5320a9dd7236eca89a702789", "Required statuses": "c77453db9c939c7c7b8da080b0053847604126aefacf5a900d1d0fe30e4ba5ee", @@ -6407,6 +6416,7 @@ "Start an active Computer Use task first.": "1242a212935f863b51a7f3e8d16f12af408152d8047b274c5fef9fb7f1435f50", "Start autoplan": "7419a8efae15550dc21cccc23ca0a16c446e884842bfe48056af34a921175cb0", "Start background": "c690dc635cd0437e8911748d795084e5d32d0b75811490076285d41032d7300c", + "Start budget reached": "6b915cfb021a78ae6f8b4c1f2d9f40bbadcc486c04cbb00a807d52bfe78102ca", "Start by choosing a template or creating one manually.": "6a3ba02535ac7a0ab934b569a915927936dede63b4277ea4500e77c8835d4666", "Start child branch": "ee7b6caa5b4a1d3e8fd3ce47a26b42a4f2472834dfa17b2efc1864d0ed710948", "Start from a default role or blank teammate.": "1464ae64fd1ee987e353f53a2f9bab20053b2f0ae320c07839b7eecf710b8a96", @@ -6512,7 +6522,9 @@ "succeeded": "5dceaeceb6d8a49d3665594710ace68dfbc1800e2d663d7febb302b4dbee3d27", "Succeeded": "6d9a6f97a5fdaf3b90a0cf02e0b43d8b7ec1d05c0e4718e02ddd1c5b450e5b39", "Successfully generated {count} artifact based on the provided prompt.": "71f85e7639c004421f062f2dd6a129e5173931798f5d33b6f0482038b38a88fc", + "Suggest": "4effad823b048b0440dbeff42665f60a6ddec8e121c378966ed7c074a512c51f", "Suggest responsible owners based on context, decisions, and recent work.": "484eb4e21bcdd76a531a4234403ea29f0626094f9a2915b674f17e0b949be0a3", + "Suggested": "93b63bab4c3a28d73a8bb83bcdfdcc5f6ddecfc8fc702296ca159d94c5dc6e53", "Suggested next step": "78d74fd4ffec8d83a942e1274cfd15426b2b4bb2d96b15f905277638c339869e", "Suggested routing": "442b15c099c136738e26e139912a5f5d21e90216aade875a8db595b09c81fcbe", "Summaries": "87bc590e047d3df4a8e448ac83e371fad69dd73607752cccb0ff7d34263cef8f", @@ -7221,6 +7233,7 @@ "Untracked": "c7ba5477e19cf0bb25460d840cc2e67341e81e1c2d274d00b3054c73898d4d27", "unverified": "97b7e2db799e2b79e65f418b42a7d3054c95b2d3ab1dba243039597e44a38084", "Unverified": "33c8e8de41c3a35124251370e2a36e4d589f8789d80630abbbeceb933d3fb58f", + "Up to {concurrent} active and {starts} starts per {minutes} min": "cca43c28ef670fd5d55cb3bd813a2fef137043e4028096bcd2cdf22e2a06586b", "Up to date": "ce29b7f85b9eaf7dac52e625accb4b0cb56a856ebe9a9de9a09b613b6d978dca", "Update": "c1c1009d3f37ec058070a62e22caf9ac9dae2169d452487c5c271a8bcf57a291", "Update available": "ff8b555d818f0b25bbdd1bec8b479660bac7fc276acbe993e759bf67fed32c34", @@ -7548,6 +7561,7 @@ "Work intake, tool servers, and plugin bundles": "16b65a84c6fca2014b7e2d28b151bbf0afe19345230a0ac37304802311fed850", "Work is claimed": "c4b0d953436f2f59355d6540bae28e055ff49243f612887bbaed7bfd98c85d4d", "Work item ID": "1dcdad81d13850bd962965719f362fa7f32693b7b54fd8bb25d1e2402a470626", + "Work item paused": "299aabbf3c1418a3f01117e072d3bfe418e174bd1f355d1afdfae23c7b4bf678", "Work items": "5759a416f2b3b4ff92da23b8059419e06c39d27180b91a557f7cae779df3d2b6", "Work marked failed": "f26306888ed8c9a3808b8a420428f63e32d4c2223e7c9c89dd0a049806c539c6", "Work result": "19efe7487084061e9e358495b8a9bfd7e9d7c0035010e08ac35c14ba4ff8ca2a", @@ -8287,6 +8301,7 @@ "Allows": "საშუალებას აძლევს", "Allows commands starting with {command}": "ნებას რთავს ბრძანებებს, რომლებიც იწყება {command}-ით", "Already imported": "უკვე შემოტანილია", + "Already in work": "უკვე სამსახურში", "Also allow private memory and private chat queries remotely": "ასევე დაუშვით პირადი მეხსიერება და პირადი ჩეთის მოთხოვნები დისტანციურად", "Alternatives": "ალტერნატივები", "Alternatives considered": "განიხილება ალტერნატივები", @@ -8547,6 +8562,7 @@ "Auto-start by default": "Auto-start by default", "Auto-start step": "Auto-start step", "Automatic": "ავტომატური", + "Automatic intake": "ავტომატური მიღება", "Automatic learning is off": "ავტომატური სწავლა გამორთულია", "Automatic parallel execution": "Automatic parallel execution", "Automatic proposals enabled": "ავტომატური შეთავაზებები ჩართულია", @@ -8975,6 +8991,7 @@ "Check failed": "შემოწმება ვერ მოხერხდა", "Check for changes": "შეამოწმეთ ცვლილებები", "Check for updates": "შეამოწმეთ განახლებები", + "Check GitHub inbox": "შეამოწმეთ GitHub შემომავალი", "Check member status": "შეამოწმეთ წევრის სტატუსი", "Check member status to load readiness.": "შეამოწმეთ წევრის სტატუსი ჩატვირთვის მზადყოფნაში.", "Check needed": "შემოწმება საჭიროა", @@ -9282,6 +9299,7 @@ "Concise": "ლაკონური", "Concise, focused, direct.": "ლაკონური, ორიენტირებული, პირდაპირი.", "conclusion {conclusion}": "დასკვნა {conclusion}", + "Concurrent work limit reached": "მიღწეულია ერთდროულად მუშაობის ლიმიტი", "Confidence": "ნდობა", "Configuration": "კონფიგურაცია", "Configuration digest": "კონფიგურაციის დაიჯესტი", @@ -10658,6 +10676,7 @@ "github": "github", "GitHub": "GitHub", "GitHub CI triage": "GitHub CI ტრიაჟი", + "GitHub intake": "GitHub მიღება", "GitHub MCP": "GitHub MCP", "GitHub not connected (GITHUB_TOKEN or GH_TOKEN)": "GitHub not connected (GITHUB_TOKEN or GH_TOKEN)", "GitHub unavailable; retry later": "GitHub unavailable; retry later", @@ -12537,6 +12556,7 @@ "Policy details": "პოლიტიკის დეტალები", "Policy narrows authority": "პოლიტიკა ავიწროებს უფლებამოსილებას", "policy overlays": "პოლიტიკის გადაფარვები", + "Policy paused": "პოლიტიკა შეჩერებულია", "Policy review": "პოლიტიკის მიმოხილვა", "Policy snapshot artifact": "პოლიტიკის სნეპშოტის არტეფაქტი", "Poll once": "გამოკითხვა ერთხელ", @@ -12732,6 +12752,7 @@ "Provider state": "პროვაიდერი სახელმწიფო", "Provider templates": "პროვაიდერის შაბლონები", "Provider type": "პროვაიდერის ტიპი", + "Provider unavailable": "პროვაიდერი მიუწვდომელია", "Provider version": "პროვაიდერის ვერსია", "Provider warmup": "პროვაიდერის დათბობა", "Provider was automatically rechecked after daemon restart.": "პროვაიდერი ავტომატურად გადამოწმდა დემონის გადატვირთვის შემდეგ.", @@ -13117,6 +13138,8 @@ "Required for assigned teammates": "საჭიროა დანიშნული თანაგუნდელებისთვის", "Required input": "საჭირო შეყვანა", "Required input: {value}": "საჭირო შეყვანა: {value}", + "Required label": "საჭირო ეტიკეტი", + "Required label missing": "საჭირო ეტიკეტი აკლია", "Required permissions": "საჭირო ნებართვები", "Required skill information is missing.": "საჭირო უნარების შესახებ ინფორმაცია აკლია.", "Required statuses": "Required statuses", @@ -14126,6 +14149,7 @@ "Start an active Computer Use task first.": "ჯერ დაიწყეთ აქტიური Computer Use დავალება.", "Start autoplan": "დაიწყეთ ავტოგეგმა", "Start background": "ფონის დაწყება", + "Start budget reached": "საწყისი ბიუჯეტი მიღწეულია", "Start by choosing a template or creating one manually.": "დაიწყეთ შაბლონის არჩევით ან ხელით შექმნით.", "Start child branch": "დაიწყეთ ბავშვის ფილიალი", "Start from a default role or blank teammate.": "დაიწყეთ ნაგულისხმევი როლიდან ან ცარიელი თანაგუნდელიდან.", @@ -14231,7 +14255,9 @@ "succeeded": "მიაღწია წარმატებას", "Succeeded": "მიაღწია წარმატებას", "Successfully generated {count} artifact based on the provided prompt.": "წარმატებულად გენერირებული {count} არტეფაქტი მოწოდებული მოთხოვნის საფუძველზე.", + "Suggest": "შესთავაზეთ", "Suggest responsible owners based on context, decisions, and recent work.": "შესთავაზეთ პასუხისმგებელ მფლობელებს კონტექსტის, გადაწყვეტილებებისა და ბოლო სამუშაოების საფუძველზე.", + "Suggested": "შესთავაზა", "Suggested next step": "შემოთავაზებულია შემდეგი ნაბიჯი", "Suggested routing": "შემოთავაზებული მარშრუტი", "Summaries": "რეზიუმეები", @@ -14940,6 +14966,7 @@ "Untracked": "თვალუწვდენელი", "unverified": "გადაუმოწმებელი", "Unverified": "გადაუმოწმებელი", + "Up to {concurrent} active and {starts} starts per {minutes} min": "{concurrent}-მდე აქტიური და {starts} იწყება {minutes} წუთში", "Up to date": "განახლებული", "Update": "განახლება", "Update available": "განახლება ხელმისაწვდომია", @@ -15267,6 +15294,7 @@ "Work intake, tool servers, and plugin bundles": "სამუშაოს მიღება, ხელსაწყოების სერვერები და დანამატების პაკეტები", "Work is claimed": "სამუშაოს პრეტენზია აქვს", "Work item ID": "სამუშაო ნივთი ID", + "Work item paused": "სამუშაო ელემენტი შეჩერებულია", "Work items": "სამუშაო ნივთები", "Work marked failed": "სამუშაო მონიშნული ვერ მოხერხდა", "Work result": "მუშაობის შედეგი", diff --git a/packages/localization/catalogs/kn-IN.json b/packages/localization/catalogs/kn-IN.json index dc722afd0..1091cacf2 100644 --- a/packages/localization/catalogs/kn-IN.json +++ b/packages/localization/catalogs/kn-IN.json @@ -1,6 +1,6 @@ { "locale": "kn-IN", - "sourceRevision": "214db76d79f1a5c0fd915c110a2ead6dbb978b58398846e982a0c1ff0cb53108", + "sourceRevision": "6468d2af71d2feb60f9b8c5f37bc2a3ff1177fb2c8b0d65e85002de6b1095cbb", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -568,6 +568,7 @@ "Allows": "8b1d52d202522d89fe65fb00e505abab46dc200a88c0be5d468a2a7e6dce9ccf", "Allows commands starting with {command}": "f5c5d446a6850880ae79768c175bacaf2bc487f715d5768d0b225eb643e3ce07", "Already imported": "e47fafe0a1c6f8d6b5c641c5d9cc7ca61e66a1c50bbc3b619c8ff5912444bfa8", + "Already in work": "ae40a6ff362406d9f1fdc40ad79cea7bd1705e6e173b2267f2a310777aedb387", "Also allow private memory and private chat queries remotely": "0b6b2ba6882b67c8b5b79f0f07964588232be1a9e520011e19bbea224c59a913", "Alternatives": "41055f72edad1559b8ba43440cd7938eb73685930c7141fede9b95000fd41299", "Alternatives considered": "73534cb410e6191096c7fa7ca56ba066f90b4fdede8677d64bc98068804afa3c", @@ -828,6 +829,7 @@ "Auto-start by default": "403861dc8396a3ea666e143d33e0429d3c26721771abf3face351259eee9b28f", "Auto-start step": "2bf61e4807ad3bf6ebc934bf54e917d5b3a87295001826be3a7dd57c7e75cc8d", "Automatic": "d461a493a3753877c9486cffa3444265a33370af8a7fff242fb119b71750839c", + "Automatic intake": "6eed82b223c717114773803e9d9d90d6d3cde9579bf264647347e559817a5081", "Automatic learning is off": "8ba1b4a02530490260a7b8e748e0809ddc3885213a009f3896264bc665060bdd", "Automatic parallel execution": "63d058c173c4a148a14094327c26d9af2c5bde1779c91dbf0d913e90b0687be9", "Automatic proposals enabled": "db670932d259eeedd26de8d7ca836594d5f3861ff24e1f94170c7333676c157a", @@ -1256,6 +1258,7 @@ "Check failed": "c8813c1128d545bfe7e7458ae24d724447097b3518643f86fa3e532f88e9fb40", "Check for changes": "5da755d1690f58c1c822a4b85422734bacc2122c7c67f4e8617f0765ac835113", "Check for updates": "f26f3275e735bdf6268532ca7cbea3887c9adad21d8df74e84b2bc7791475c0d", + "Check GitHub inbox": "51cd97da0bc2b213621668f69168386eaee18bdae064041094187404c9fc71ee", "Check member status": "ff155af014d0b6e94cbf2fca3b01cf8d5725732f178eee985083478adb4a62f5", "Check member status to load readiness.": "6f7f338e22e626b134643fbaec898cf8e8efd19b85eeb6193b4ca0d5d63c4528", "Check needed": "561a32f0c83e5a4fe8d77d891bd4b954d514ea021b4a18e68a3607f5d8747841", @@ -1563,6 +1566,7 @@ "Concise": "8340d833ab72d3321b07af0184597743b010e142b39593cebb450d4227e62f0c", "Concise, focused, direct.": "e9cb028d2d79111476e9c8ea1562b7f6275fd39d43abf410338d7c0ae2fff5a5", "conclusion {conclusion}": "dc328d7e11ecbdc61fa90fc18e3ced70b794ca55dcc476d03c88eff72f16274d", + "Concurrent work limit reached": "f60d0f2d4a9ba0c57c7e7835bd52a1912f39581799f2babb636d190317a96b54", "Confidence": "6422e3e78f5e5f5a15e92cc57ed7114adb289339251031ccb526d9249437dc82", "Configuration": "b332c3492d5eb10a118eb6d8b0dcd689bc2477ce2ae16b303753b942b54377bc", "Configuration digest": "5bbf2d321122a5a57d36c77291d232d51f9ae9a1655e80f042727754aea15bfe", @@ -2939,6 +2943,7 @@ "github": "c0b0109d9439de57fe3cf03abeccbc52f4c98170c732d3b69af5e6395ace574e", "GitHub": "f911e414cf6bdfc595532ab166b5ba0f63d73c021452fcdacbda363dda6ad8fb", "GitHub CI triage": "6a2368ce3943b296b07b5241227baf2a863d3f50f8a46ddb0889cbb5045ccd84", + "GitHub intake": "064829c63fcbc74d45753e04f583c69a391d25d4ed334de3b69fa2720f733cb1", "GitHub MCP": "408b061889ef672152b51ce8dbd56216d1b7e97303429b59538b99fe663c6f04", "GitHub not connected (GITHUB_TOKEN or GH_TOKEN)": "1cb239b6b5ea26422b411a25d3a4e254cdf45b7e730eb91b976a36f12adeb21b", "GitHub unavailable; retry later": "33b2cec76eccd24c4d8d61c265de8b06a6a20820ab1fccdcb433a22903909d02", @@ -4818,6 +4823,7 @@ "Policy details": "00e33950cacf32a39cc25f71ccb1650c4c788c12816e07681d80f0fdc537be98", "Policy narrows authority": "e9e2012e5ac96664fb03ff0f81f4f49cb5b8ee069149139352e7c89b73e43baa", "policy overlays": "db26199cf2a47a948b45caf37b4d50ede3ef415fad6c940cfe56a118970fcefb", + "Policy paused": "11fc11eaf385253466e26bac9916425e1e009695cd40adc4c7a132366d187518", "Policy review": "1cf67fef927c77770a1fcd8b20982b24b15cc0b6f1e8b56265d87baff019dd7e", "Policy snapshot artifact": "7f8b2985d498316ac01fa5f2276d2556cab712b4c8bc2b93e16dfc1353e23a77", "Poll once": "c7e7d724ff87555fb857467569ce709d958ee2d5d1ab2cc890554c7605e86e78", @@ -5013,6 +5019,7 @@ "Provider state": "633d1ca46603e61fc3d39459c1414102a27bbc4ba0adfb0b22ba5a205c2b9815", "Provider templates": "1e8649b7c667a6afc6dc88cbdb3069e349e850466cf3efa57eeedab9b70486f7", "Provider type": "8c0f6d3ebfe7ba3a0c0006068a9aa664d09244ba3cd438f2d56fab117bee1347", + "Provider unavailable": "ff2113958589f9bfb87b54f959be825d00ec5eca374d907bb343f98ebdbc84c3", "Provider version": "1f5ecefbd682ced2f438c8ae3c8849ba9effbe6cd77c19051cee2d2036ef9c90", "Provider warmup": "36ae143804c9a909bce770f54be5652b69b99ee7838cca99daa31e23d4d6d63c", "Provider was automatically rechecked after daemon restart.": "7bd8e8ee592f30e81adca8c96b079d6526846dc142bd99e5bbba3d9bebbde7a9", @@ -5398,6 +5405,8 @@ "Required for assigned teammates": "4732aa544a8d93b886e6bcbbcc5c3314af692f8a8a812efd4844cd3589b7b63a", "Required input": "fafaaf99b5a6af521026448890a9dacaf4d47053804a34be7cdf364e13637181", "Required input: {value}": "757166b8bf43ee39819f00d86fa61a84ddb3f3eba2a883c6bb996b8f82101d22", + "Required label": "5f623a5ad31f874a782d2205c9318ce524371a35d782b9a7021eab521c2fbbcd", + "Required label missing": "6913716764f8018414060c041e41a2951f5444efe5e97cd30a557be26403d1b1", "Required permissions": "edaffed36060c21e958b3fe562b7c57f51f67ba46326b1a9a5317a47b20e1747", "Required skill information is missing.": "e5cb742af5e92afab21f42c3edd4f5940db52a1c5320a9dd7236eca89a702789", "Required statuses": "c77453db9c939c7c7b8da080b0053847604126aefacf5a900d1d0fe30e4ba5ee", @@ -6407,6 +6416,7 @@ "Start an active Computer Use task first.": "1242a212935f863b51a7f3e8d16f12af408152d8047b274c5fef9fb7f1435f50", "Start autoplan": "7419a8efae15550dc21cccc23ca0a16c446e884842bfe48056af34a921175cb0", "Start background": "c690dc635cd0437e8911748d795084e5d32d0b75811490076285d41032d7300c", + "Start budget reached": "6b915cfb021a78ae6f8b4c1f2d9f40bbadcc486c04cbb00a807d52bfe78102ca", "Start by choosing a template or creating one manually.": "6a3ba02535ac7a0ab934b569a915927936dede63b4277ea4500e77c8835d4666", "Start child branch": "ee7b6caa5b4a1d3e8fd3ce47a26b42a4f2472834dfa17b2efc1864d0ed710948", "Start from a default role or blank teammate.": "1464ae64fd1ee987e353f53a2f9bab20053b2f0ae320c07839b7eecf710b8a96", @@ -6512,7 +6522,9 @@ "succeeded": "5dceaeceb6d8a49d3665594710ace68dfbc1800e2d663d7febb302b4dbee3d27", "Succeeded": "6d9a6f97a5fdaf3b90a0cf02e0b43d8b7ec1d05c0e4718e02ddd1c5b450e5b39", "Successfully generated {count} artifact based on the provided prompt.": "71f85e7639c004421f062f2dd6a129e5173931798f5d33b6f0482038b38a88fc", + "Suggest": "4effad823b048b0440dbeff42665f60a6ddec8e121c378966ed7c074a512c51f", "Suggest responsible owners based on context, decisions, and recent work.": "484eb4e21bcdd76a531a4234403ea29f0626094f9a2915b674f17e0b949be0a3", + "Suggested": "93b63bab4c3a28d73a8bb83bcdfdcc5f6ddecfc8fc702296ca159d94c5dc6e53", "Suggested next step": "78d74fd4ffec8d83a942e1274cfd15426b2b4bb2d96b15f905277638c339869e", "Suggested routing": "442b15c099c136738e26e139912a5f5d21e90216aade875a8db595b09c81fcbe", "Summaries": "87bc590e047d3df4a8e448ac83e371fad69dd73607752cccb0ff7d34263cef8f", @@ -7221,6 +7233,7 @@ "Untracked": "c7ba5477e19cf0bb25460d840cc2e67341e81e1c2d274d00b3054c73898d4d27", "unverified": "97b7e2db799e2b79e65f418b42a7d3054c95b2d3ab1dba243039597e44a38084", "Unverified": "33c8e8de41c3a35124251370e2a36e4d589f8789d80630abbbeceb933d3fb58f", + "Up to {concurrent} active and {starts} starts per {minutes} min": "cca43c28ef670fd5d55cb3bd813a2fef137043e4028096bcd2cdf22e2a06586b", "Up to date": "ce29b7f85b9eaf7dac52e625accb4b0cb56a856ebe9a9de9a09b613b6d978dca", "Update": "c1c1009d3f37ec058070a62e22caf9ac9dae2169d452487c5c271a8bcf57a291", "Update available": "ff8b555d818f0b25bbdd1bec8b479660bac7fc276acbe993e759bf67fed32c34", @@ -7548,6 +7561,7 @@ "Work intake, tool servers, and plugin bundles": "16b65a84c6fca2014b7e2d28b151bbf0afe19345230a0ac37304802311fed850", "Work is claimed": "c4b0d953436f2f59355d6540bae28e055ff49243f612887bbaed7bfd98c85d4d", "Work item ID": "1dcdad81d13850bd962965719f362fa7f32693b7b54fd8bb25d1e2402a470626", + "Work item paused": "299aabbf3c1418a3f01117e072d3bfe418e174bd1f355d1afdfae23c7b4bf678", "Work items": "5759a416f2b3b4ff92da23b8059419e06c39d27180b91a557f7cae779df3d2b6", "Work marked failed": "f26306888ed8c9a3808b8a420428f63e32d4c2223e7c9c89dd0a049806c539c6", "Work result": "19efe7487084061e9e358495b8a9bfd7e9d7c0035010e08ac35c14ba4ff8ca2a", @@ -8287,6 +8301,7 @@ "Allows": "ಅನುಮತಿಸುತ್ತದೆ", "Allows commands starting with {command}": "{command} ರಿಂದ ಪ್ರಾರಂಭವಾಗುವ ಆಜ್ಞೆಗಳನ್ನು ಅನುಮತಿಸುತ್ತದೆ", "Already imported": "ಈಗಾಗಲೇ ಆಮದು ಮಾಡಿಕೊಳ್ಳಲಾಗಿದೆ", + "Already in work": "ಈಗಾಗಲೇ ಕೆಲಸದಲ್ಲಿದೆ", "Also allow private memory and private chat queries remotely": "ಖಾಸಗಿ ಮೆಮೊರಿ ಮತ್ತು ಖಾಸಗಿ ಚಾಟ್ ಪ್ರಶ್ನೆಗಳನ್ನು ದೂರದಿಂದಲೇ ಅನುಮತಿಸಿ", "Alternatives": "ಪರ್ಯಾಯಗಳು", "Alternatives considered": "ಪರ್ಯಾಯಗಳನ್ನು ಪರಿಗಣಿಸಲಾಗಿದೆ", @@ -8547,6 +8562,7 @@ "Auto-start by default": "Auto-start by default", "Auto-start step": "Auto-start step", "Automatic": "ಸ್ವಯಂಚಾಲಿತ", + "Automatic intake": "ಸ್ವಯಂಚಾಲಿತ ಸೇವನೆ", "Automatic learning is off": "ಸ್ವಯಂಚಾಲಿತ ಕಲಿಕೆ ಆಫ್ ಆಗಿದೆ", "Automatic parallel execution": "Automatic parallel execution", "Automatic proposals enabled": "ಸ್ವಯಂಚಾಲಿತ ಪ್ರಸ್ತಾಪಗಳನ್ನು ಸಕ್ರಿಯಗೊಳಿಸಲಾಗಿದೆ", @@ -8975,6 +8991,7 @@ "Check failed": "ಪರಿಶೀಲನೆ ವಿಫಲವಾಗಿದೆ", "Check for changes": "ಬದಲಾವಣೆಗಳಿಗಾಗಿ ಪರಿಶೀಲಿಸಿ", "Check for updates": "ನವೀಕರಣಗಳಿಗಾಗಿ ಪರಿಶೀಲಿಸಿ", + "Check GitHub inbox": "GitHub ಇನ್‌ಬಾಕ್ಸ್ ಪರಿಶೀಲಿಸಿ", "Check member status": "ಸದಸ್ಯರ ಸ್ಥಿತಿಯನ್ನು ಪರಿಶೀಲಿಸಿ", "Check member status to load readiness.": "ಸನ್ನದ್ಧತೆಯನ್ನು ಲೋಡ್ ಮಾಡಲು ಸದಸ್ಯರ ಸ್ಥಿತಿಯನ್ನು ಪರಿಶೀಲಿಸಿ.", "Check needed": "ಚೆಕ್ ಅಗತ್ಯವಿದೆ", @@ -9282,6 +9299,7 @@ "Concise": "ಸಂಕ್ಷಿಪ್ತ", "Concise, focused, direct.": "ಸಂಕ್ಷಿಪ್ತ, ಕೇಂದ್ರೀಕೃತ, ನೇರ.", "conclusion {conclusion}": "ತೀರ್ಮಾನ {conclusion}", + "Concurrent work limit reached": "ಏಕಕಾಲಿಕ ಕೆಲಸದ ಮಿತಿಯನ್ನು ತಲುಪಿದೆ", "Confidence": "ವಿಶ್ವಾಸ", "Configuration": "ಸಂರಚನೆ", "Configuration digest": "ಕಾನ್ಫಿಗರೇಶನ್ ಡೈಜೆಸ್ಟ್", @@ -10658,6 +10676,7 @@ "github": "ಗಿಥಬ್", "GitHub": "GitHub", "GitHub CI triage": "GitHub CI ಚಿಕಿತ್ಸೆಯ ಸರದಿ ನಿರ್ಧಾರ", + "GitHub intake": "GitHub ಸೇವನೆ", "GitHub MCP": "GitHub MCP", "GitHub not connected (GITHUB_TOKEN or GH_TOKEN)": "GitHub not connected (GITHUB_TOKEN or GH_TOKEN)", "GitHub unavailable; retry later": "GitHub unavailable; retry later", @@ -12537,6 +12556,7 @@ "Policy details": "ನೀತಿ ವಿವರಗಳು", "Policy narrows authority": "ನೀತಿಯು ಅಧಿಕಾರವನ್ನು ಸಂಕುಚಿತಗೊಳಿಸುತ್ತದೆ", "policy overlays": "ನೀತಿಯ ಮೇಲ್ಪದರಗಳು", + "Policy paused": "ನೀತಿಯನ್ನು ವಿರಾಮಗೊಳಿಸಲಾಗಿದೆ", "Policy review": "ನೀತಿ ವಿಮರ್ಶೆ", "Policy snapshot artifact": "ನೀತಿ ಸ್ನ್ಯಾಪ್‌ಶಾಟ್ ಕಲಾಕೃತಿ", "Poll once": "ಒಮ್ಮೆ ಮತದಾನ ಮಾಡಿ", @@ -12732,6 +12752,7 @@ "Provider state": "ಪೂರೈಕೆದಾರರ ರಾಜ್ಯ", "Provider templates": "ಒದಗಿಸುವವರ ಟೆಂಪ್ಲೇಟ್‌ಗಳು", "Provider type": "ಒದಗಿಸುವವರ ಪ್ರಕಾರ", + "Provider unavailable": "ಪೂರೈಕೆದಾರರು ಲಭ್ಯವಿಲ್ಲ", "Provider version": "ಪೂರೈಕೆದಾರರ ಆವೃತ್ತಿ", "Provider warmup": "ಪೂರೈಕೆದಾರರ ಬೆಚ್ಚಗಾಗುವಿಕೆ", "Provider was automatically rechecked after daemon restart.": "ಡೀಮನ್ ಮರುಪ್ರಾರಂಭಿಸಿದ ನಂತರ ಪೂರೈಕೆದಾರರನ್ನು ಸ್ವಯಂಚಾಲಿತವಾಗಿ ಮರುಪರಿಶೀಲಿಸಲಾಗಿದೆ.", @@ -13117,6 +13138,8 @@ "Required for assigned teammates": "ನಿಯೋಜಿತ ತಂಡದ ಸದಸ್ಯರಿಗೆ ಅಗತ್ಯವಿದೆ", "Required input": "ಅಗತ್ಯವಿರುವ ಇನ್ಪುಟ್", "Required input: {value}": "ಅಗತ್ಯವಿರುವ ಇನ್‌ಪುಟ್: {value}", + "Required label": "ಅಗತ್ಯವಿರುವ ಲೇಬಲ್", + "Required label missing": "ಅಗತ್ಯವಿರುವ ಲೇಬಲ್ ಕಾಣೆಯಾಗಿದೆ", "Required permissions": "ಅಗತ್ಯವಿರುವ ಅನುಮತಿಗಳು", "Required skill information is missing.": "ಅಗತ್ಯವಿರುವ ಕೌಶಲ್ಯ ಮಾಹಿತಿಯು ಕಾಣೆಯಾಗಿದೆ.", "Required statuses": "Required statuses", @@ -14126,6 +14149,7 @@ "Start an active Computer Use task first.": "ಸಕ್ರಿಯ Computer Use ಕಾರ್ಯವನ್ನು ಮೊದಲು ಪ್ರಾರಂಭಿಸಿ.", "Start autoplan": "ಸ್ವಯಂ ಯೋಜನೆಯನ್ನು ಪ್ರಾರಂಭಿಸಿ", "Start background": "ಹಿನ್ನೆಲೆ ಪ್ರಾರಂಭಿಸಿ", + "Start budget reached": "ಪ್ರಾರಂಭದ ಬಜೆಟ್ ತಲುಪಿದೆ", "Start by choosing a template or creating one manually.": "ಟೆಂಪ್ಲೇಟ್ ಅನ್ನು ಆಯ್ಕೆ ಮಾಡುವ ಮೂಲಕ ಅಥವಾ ಹಸ್ತಚಾಲಿತವಾಗಿ ರಚಿಸುವ ಮೂಲಕ ಪ್ರಾರಂಭಿಸಿ.", "Start child branch": "ಮಕ್ಕಳ ಶಾಖೆಯನ್ನು ಪ್ರಾರಂಭಿಸಿ", "Start from a default role or blank teammate.": "ಡೀಫಾಲ್ಟ್ ಪಾತ್ರ ಅಥವಾ ಖಾಲಿ ಸಹ ಆಟಗಾರನಿಂದ ಪ್ರಾರಂಭಿಸಿ.", @@ -14231,7 +14255,9 @@ "succeeded": "ಯಶಸ್ವಿಯಾದರು", "Succeeded": "ಯಶಸ್ವಿಯಾಗಿದೆ", "Successfully generated {count} artifact based on the provided prompt.": "ಒದಗಿಸಿದ ಪ್ರಾಂಪ್ಟ್ ಅನ್ನು ಆಧರಿಸಿ {count} ಕಲಾಕೃತಿಯನ್ನು ಯಶಸ್ವಿಯಾಗಿ ರಚಿಸಲಾಗಿದೆ.", + "Suggest": "ಸೂಚಿಸಿ", "Suggest responsible owners based on context, decisions, and recent work.": "ಸಂದರ್ಭ, ನಿರ್ಧಾರಗಳು ಮತ್ತು ಇತ್ತೀಚಿನ ಕೆಲಸದ ಆಧಾರದ ಮೇಲೆ ಜವಾಬ್ದಾರಿಯುತ ಮಾಲೀಕರನ್ನು ಸೂಚಿಸಿ.", + "Suggested": "ಸೂಚಿಸಲಾಗಿದೆ", "Suggested next step": "ಮುಂದಿನ ಕ್ರಮವನ್ನು ಸೂಚಿಸಲಾಗಿದೆ", "Suggested routing": "ಸೂಚಿಸಿದ ರೂಟಿಂಗ್", "Summaries": "ಸಾರಾಂಶಗಳು", @@ -14940,6 +14966,7 @@ "Untracked": "ಅನ್‌ಟ್ರ್ಯಾಕ್ ಮಾಡಲಾಗಿದೆ", "unverified": "ಪರಿಶೀಲಿಸದ", "Unverified": "ಪರಿಶೀಲಿಸಲಾಗಿಲ್ಲ", + "Up to {concurrent} active and {starts} starts per {minutes} min": "{concurrent} ವರೆಗೆ ಸಕ್ರಿಯ ಮತ್ತು {starts} ಪ್ರತಿ {minutes} ನಿಮಿಷಕ್ಕೆ ಪ್ರಾರಂಭವಾಗುತ್ತದೆ", "Up to date": "ನವೀಕೃತವಾಗಿದೆ", "Update": "ನವೀಕರಿಸಿ", "Update available": "ನವೀಕರಣ ಲಭ್ಯವಿದೆ", @@ -15267,6 +15294,7 @@ "Work intake, tool servers, and plugin bundles": "ಕೆಲಸದ ಸೇವನೆ, ಟೂಲ್ ಸರ್ವರ್‌ಗಳು ಮತ್ತು ಪ್ಲಗಿನ್ ಬಂಡಲ್‌ಗಳು", "Work is claimed": "ಕಾಮಗಾರಿಗೆ ಹಕ್ಕುಪತ್ರ ನೀಡಲಾಗಿದೆ", "Work item ID": "ಕೆಲಸದ ಐಟಂ ID", + "Work item paused": "ಕೆಲಸದ ಐಟಂ ಅನ್ನು ವಿರಾಮಗೊಳಿಸಲಾಗಿದೆ", "Work items": "ಕೆಲಸದ ವಸ್ತುಗಳು", "Work marked failed": "ಕೆಲಸ ವಿಫಲವಾಗಿದೆ ಎಂದು ಗುರುತಿಸಲಾಗಿದೆ", "Work result": "ಕೆಲಸದ ಫಲಿತಾಂಶ", diff --git a/packages/localization/catalogs/ko-KR.json b/packages/localization/catalogs/ko-KR.json index 2960e7d35..63a404273 100644 --- a/packages/localization/catalogs/ko-KR.json +++ b/packages/localization/catalogs/ko-KR.json @@ -1,6 +1,6 @@ { "locale": "ko-KR", - "sourceRevision": "214db76d79f1a5c0fd915c110a2ead6dbb978b58398846e982a0c1ff0cb53108", + "sourceRevision": "6468d2af71d2feb60f9b8c5f37bc2a3ff1177fb2c8b0d65e85002de6b1095cbb", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -568,6 +568,7 @@ "Allows": "8b1d52d202522d89fe65fb00e505abab46dc200a88c0be5d468a2a7e6dce9ccf", "Allows commands starting with {command}": "f5c5d446a6850880ae79768c175bacaf2bc487f715d5768d0b225eb643e3ce07", "Already imported": "e47fafe0a1c6f8d6b5c641c5d9cc7ca61e66a1c50bbc3b619c8ff5912444bfa8", + "Already in work": "ae40a6ff362406d9f1fdc40ad79cea7bd1705e6e173b2267f2a310777aedb387", "Also allow private memory and private chat queries remotely": "0b6b2ba6882b67c8b5b79f0f07964588232be1a9e520011e19bbea224c59a913", "Alternatives": "41055f72edad1559b8ba43440cd7938eb73685930c7141fede9b95000fd41299", "Alternatives considered": "73534cb410e6191096c7fa7ca56ba066f90b4fdede8677d64bc98068804afa3c", @@ -828,6 +829,7 @@ "Auto-start by default": "403861dc8396a3ea666e143d33e0429d3c26721771abf3face351259eee9b28f", "Auto-start step": "2bf61e4807ad3bf6ebc934bf54e917d5b3a87295001826be3a7dd57c7e75cc8d", "Automatic": "d461a493a3753877c9486cffa3444265a33370af8a7fff242fb119b71750839c", + "Automatic intake": "6eed82b223c717114773803e9d9d90d6d3cde9579bf264647347e559817a5081", "Automatic learning is off": "8ba1b4a02530490260a7b8e748e0809ddc3885213a009f3896264bc665060bdd", "Automatic parallel execution": "63d058c173c4a148a14094327c26d9af2c5bde1779c91dbf0d913e90b0687be9", "Automatic proposals enabled": "db670932d259eeedd26de8d7ca836594d5f3861ff24e1f94170c7333676c157a", @@ -1256,6 +1258,7 @@ "Check failed": "c8813c1128d545bfe7e7458ae24d724447097b3518643f86fa3e532f88e9fb40", "Check for changes": "5da755d1690f58c1c822a4b85422734bacc2122c7c67f4e8617f0765ac835113", "Check for updates": "f26f3275e735bdf6268532ca7cbea3887c9adad21d8df74e84b2bc7791475c0d", + "Check GitHub inbox": "51cd97da0bc2b213621668f69168386eaee18bdae064041094187404c9fc71ee", "Check member status": "ff155af014d0b6e94cbf2fca3b01cf8d5725732f178eee985083478adb4a62f5", "Check member status to load readiness.": "6f7f338e22e626b134643fbaec898cf8e8efd19b85eeb6193b4ca0d5d63c4528", "Check needed": "561a32f0c83e5a4fe8d77d891bd4b954d514ea021b4a18e68a3607f5d8747841", @@ -1563,6 +1566,7 @@ "Concise": "8340d833ab72d3321b07af0184597743b010e142b39593cebb450d4227e62f0c", "Concise, focused, direct.": "e9cb028d2d79111476e9c8ea1562b7f6275fd39d43abf410338d7c0ae2fff5a5", "conclusion {conclusion}": "dc328d7e11ecbdc61fa90fc18e3ced70b794ca55dcc476d03c88eff72f16274d", + "Concurrent work limit reached": "f60d0f2d4a9ba0c57c7e7835bd52a1912f39581799f2babb636d190317a96b54", "Confidence": "6422e3e78f5e5f5a15e92cc57ed7114adb289339251031ccb526d9249437dc82", "Configuration": "b332c3492d5eb10a118eb6d8b0dcd689bc2477ce2ae16b303753b942b54377bc", "Configuration digest": "5bbf2d321122a5a57d36c77291d232d51f9ae9a1655e80f042727754aea15bfe", @@ -2939,6 +2943,7 @@ "github": "c0b0109d9439de57fe3cf03abeccbc52f4c98170c732d3b69af5e6395ace574e", "GitHub": "f911e414cf6bdfc595532ab166b5ba0f63d73c021452fcdacbda363dda6ad8fb", "GitHub CI triage": "6a2368ce3943b296b07b5241227baf2a863d3f50f8a46ddb0889cbb5045ccd84", + "GitHub intake": "064829c63fcbc74d45753e04f583c69a391d25d4ed334de3b69fa2720f733cb1", "GitHub MCP": "408b061889ef672152b51ce8dbd56216d1b7e97303429b59538b99fe663c6f04", "GitHub not connected (GITHUB_TOKEN or GH_TOKEN)": "1cb239b6b5ea26422b411a25d3a4e254cdf45b7e730eb91b976a36f12adeb21b", "GitHub unavailable; retry later": "33b2cec76eccd24c4d8d61c265de8b06a6a20820ab1fccdcb433a22903909d02", @@ -4818,6 +4823,7 @@ "Policy details": "00e33950cacf32a39cc25f71ccb1650c4c788c12816e07681d80f0fdc537be98", "Policy narrows authority": "e9e2012e5ac96664fb03ff0f81f4f49cb5b8ee069149139352e7c89b73e43baa", "policy overlays": "db26199cf2a47a948b45caf37b4d50ede3ef415fad6c940cfe56a118970fcefb", + "Policy paused": "11fc11eaf385253466e26bac9916425e1e009695cd40adc4c7a132366d187518", "Policy review": "1cf67fef927c77770a1fcd8b20982b24b15cc0b6f1e8b56265d87baff019dd7e", "Policy snapshot artifact": "7f8b2985d498316ac01fa5f2276d2556cab712b4c8bc2b93e16dfc1353e23a77", "Poll once": "c7e7d724ff87555fb857467569ce709d958ee2d5d1ab2cc890554c7605e86e78", @@ -5013,6 +5019,7 @@ "Provider state": "633d1ca46603e61fc3d39459c1414102a27bbc4ba0adfb0b22ba5a205c2b9815", "Provider templates": "1e8649b7c667a6afc6dc88cbdb3069e349e850466cf3efa57eeedab9b70486f7", "Provider type": "8c0f6d3ebfe7ba3a0c0006068a9aa664d09244ba3cd438f2d56fab117bee1347", + "Provider unavailable": "ff2113958589f9bfb87b54f959be825d00ec5eca374d907bb343f98ebdbc84c3", "Provider version": "1f5ecefbd682ced2f438c8ae3c8849ba9effbe6cd77c19051cee2d2036ef9c90", "Provider warmup": "36ae143804c9a909bce770f54be5652b69b99ee7838cca99daa31e23d4d6d63c", "Provider was automatically rechecked after daemon restart.": "7bd8e8ee592f30e81adca8c96b079d6526846dc142bd99e5bbba3d9bebbde7a9", @@ -5398,6 +5405,8 @@ "Required for assigned teammates": "4732aa544a8d93b886e6bcbbcc5c3314af692f8a8a812efd4844cd3589b7b63a", "Required input": "fafaaf99b5a6af521026448890a9dacaf4d47053804a34be7cdf364e13637181", "Required input: {value}": "757166b8bf43ee39819f00d86fa61a84ddb3f3eba2a883c6bb996b8f82101d22", + "Required label": "5f623a5ad31f874a782d2205c9318ce524371a35d782b9a7021eab521c2fbbcd", + "Required label missing": "6913716764f8018414060c041e41a2951f5444efe5e97cd30a557be26403d1b1", "Required permissions": "edaffed36060c21e958b3fe562b7c57f51f67ba46326b1a9a5317a47b20e1747", "Required skill information is missing.": "e5cb742af5e92afab21f42c3edd4f5940db52a1c5320a9dd7236eca89a702789", "Required statuses": "c77453db9c939c7c7b8da080b0053847604126aefacf5a900d1d0fe30e4ba5ee", @@ -6407,6 +6416,7 @@ "Start an active Computer Use task first.": "1242a212935f863b51a7f3e8d16f12af408152d8047b274c5fef9fb7f1435f50", "Start autoplan": "7419a8efae15550dc21cccc23ca0a16c446e884842bfe48056af34a921175cb0", "Start background": "c690dc635cd0437e8911748d795084e5d32d0b75811490076285d41032d7300c", + "Start budget reached": "6b915cfb021a78ae6f8b4c1f2d9f40bbadcc486c04cbb00a807d52bfe78102ca", "Start by choosing a template or creating one manually.": "6a3ba02535ac7a0ab934b569a915927936dede63b4277ea4500e77c8835d4666", "Start child branch": "ee7b6caa5b4a1d3e8fd3ce47a26b42a4f2472834dfa17b2efc1864d0ed710948", "Start from a default role or blank teammate.": "1464ae64fd1ee987e353f53a2f9bab20053b2f0ae320c07839b7eecf710b8a96", @@ -6512,7 +6522,9 @@ "succeeded": "5dceaeceb6d8a49d3665594710ace68dfbc1800e2d663d7febb302b4dbee3d27", "Succeeded": "6d9a6f97a5fdaf3b90a0cf02e0b43d8b7ec1d05c0e4718e02ddd1c5b450e5b39", "Successfully generated {count} artifact based on the provided prompt.": "71f85e7639c004421f062f2dd6a129e5173931798f5d33b6f0482038b38a88fc", + "Suggest": "4effad823b048b0440dbeff42665f60a6ddec8e121c378966ed7c074a512c51f", "Suggest responsible owners based on context, decisions, and recent work.": "484eb4e21bcdd76a531a4234403ea29f0626094f9a2915b674f17e0b949be0a3", + "Suggested": "93b63bab4c3a28d73a8bb83bcdfdcc5f6ddecfc8fc702296ca159d94c5dc6e53", "Suggested next step": "78d74fd4ffec8d83a942e1274cfd15426b2b4bb2d96b15f905277638c339869e", "Suggested routing": "442b15c099c136738e26e139912a5f5d21e90216aade875a8db595b09c81fcbe", "Summaries": "87bc590e047d3df4a8e448ac83e371fad69dd73607752cccb0ff7d34263cef8f", @@ -7221,6 +7233,7 @@ "Untracked": "c7ba5477e19cf0bb25460d840cc2e67341e81e1c2d274d00b3054c73898d4d27", "unverified": "97b7e2db799e2b79e65f418b42a7d3054c95b2d3ab1dba243039597e44a38084", "Unverified": "33c8e8de41c3a35124251370e2a36e4d589f8789d80630abbbeceb933d3fb58f", + "Up to {concurrent} active and {starts} starts per {minutes} min": "cca43c28ef670fd5d55cb3bd813a2fef137043e4028096bcd2cdf22e2a06586b", "Up to date": "ce29b7f85b9eaf7dac52e625accb4b0cb56a856ebe9a9de9a09b613b6d978dca", "Update": "c1c1009d3f37ec058070a62e22caf9ac9dae2169d452487c5c271a8bcf57a291", "Update available": "ff8b555d818f0b25bbdd1bec8b479660bac7fc276acbe993e759bf67fed32c34", @@ -7548,6 +7561,7 @@ "Work intake, tool servers, and plugin bundles": "16b65a84c6fca2014b7e2d28b151bbf0afe19345230a0ac37304802311fed850", "Work is claimed": "c4b0d953436f2f59355d6540bae28e055ff49243f612887bbaed7bfd98c85d4d", "Work item ID": "1dcdad81d13850bd962965719f362fa7f32693b7b54fd8bb25d1e2402a470626", + "Work item paused": "299aabbf3c1418a3f01117e072d3bfe418e174bd1f355d1afdfae23c7b4bf678", "Work items": "5759a416f2b3b4ff92da23b8059419e06c39d27180b91a557f7cae779df3d2b6", "Work marked failed": "f26306888ed8c9a3808b8a420428f63e32d4c2223e7c9c89dd0a049806c539c6", "Work result": "19efe7487084061e9e358495b8a9bfd7e9d7c0035010e08ac35c14ba4ff8ca2a", @@ -8287,6 +8301,7 @@ "Allows": "허용", "Allows commands starting with {command}": "{command}로 시작하는 명령을 허용합니다.", "Already imported": "이미 가져옴", + "Already in work": "이미 근무 중", "Also allow private memory and private chat queries remotely": "또한 원격으로 개인 메모리 및 개인 채팅 쿼리를 허용합니다.", "Alternatives": "대안", "Alternatives considered": "고려된 대안", @@ -8547,6 +8562,7 @@ "Auto-start by default": "Auto-start by default", "Auto-start step": "Auto-start step", "Automatic": "오토매틱", + "Automatic intake": "자동 섭취", "Automatic learning is off": "자동 학습이 사용 중지되었습니다.", "Automatic parallel execution": "Automatic parallel execution", "Automatic proposals enabled": "자동 제안이 활성화되었습니다.", @@ -8975,6 +8991,7 @@ "Check failed": "확인 실패", "Check for changes": "변경 사항 확인", "Check for updates": "업데이트 확인", + "Check GitHub inbox": "GitHub 받은 편지함 확인", "Check member status": "회원상태 확인", "Check member status to load readiness.": "회원 상태를 확인하여 로드 준비 상태를 확인하세요.", "Check needed": "확인 필요", @@ -9282,6 +9299,7 @@ "Concise": "간결한", "Concise, focused, direct.": "간결하고 집중적이며 직접적입니다.", "conclusion {conclusion}": "결론 {conclusion}", + "Concurrent work limit reached": "동시 작업 한도에 도달했습니다.", "Confidence": "신뢰", "Configuration": "구성", "Configuration digest": "구성 다이제스트", @@ -10658,6 +10676,7 @@ "github": "깃허브", "GitHub": "GitHub", "GitHub CI triage": "GitHub CI 심사", + "GitHub intake": "GitHub 섭취", "GitHub MCP": "GitHub MCP", "GitHub not connected (GITHUB_TOKEN or GH_TOKEN)": "GitHub not connected (GITHUB_TOKEN or GH_TOKEN)", "GitHub unavailable; retry later": "GitHub unavailable; retry later", @@ -12537,6 +12556,7 @@ "Policy details": "정책 세부정보", "Policy narrows authority": "정책으로 인해 권한이 축소됨", "policy overlays": "정책 오버레이", + "Policy paused": "정책이 일시중지됨", "Policy review": "정책 검토", "Policy snapshot artifact": "정책 스냅샷 아티팩트", "Poll once": "한 번 설문 조사", @@ -12732,6 +12752,7 @@ "Provider state": "제공자 상태", "Provider templates": "공급자 템플릿", "Provider type": "제공자 유형", + "Provider unavailable": "제공업체를 이용할 수 없음", "Provider version": "공급자 버전", "Provider warmup": "공급자 준비", "Provider was automatically rechecked after daemon restart.": "데몬을 다시 시작한 후 공급자가 자동으로 다시 확인되었습니다.", @@ -13117,6 +13138,8 @@ "Required for assigned teammates": "할당된 팀원에게 필수", "Required input": "필수 입력", "Required input: {value}": "필수 입력: {value}", + "Required label": "필수 라벨", + "Required label missing": "필수 라벨이 누락되었습니다.", "Required permissions": "필수 권한", "Required skill information is missing.": "필수 스킬 정보가 누락되었습니다.", "Required statuses": "Required statuses", @@ -14126,6 +14149,7 @@ "Start an active Computer Use task first.": "먼저 활성 Computer Use 작업을 시작하세요.", "Start autoplan": "자동 계획 시작", "Start background": "배경 시작", + "Start budget reached": "시작예산 도달", "Start by choosing a template or creating one manually.": "템플릿을 선택하거나 수동으로 생성하여 시작하세요.", "Start child branch": "하위 분기 시작", "Start from a default role or blank teammate.": "기본 역할이나 빈 팀원으로 시작하세요.", @@ -14231,7 +14255,9 @@ "succeeded": "성공했다", "Succeeded": "성공함", "Successfully generated {count} artifact based on the provided prompt.": "제공된 프롬프트를 기반으로 {count} 아티팩트를 성공적으로 생성했습니다.", + "Suggest": "제안하다", "Suggest responsible owners based on context, decisions, and recent work.": "상황, 결정, 최근 작업을 기반으로 책임 있는 소유자를 제안합니다.", + "Suggested": "제안", "Suggested next step": "다음 단계 제안", "Suggested routing": "추천 라우팅", "Summaries": "요약", @@ -14940,6 +14966,7 @@ "Untracked": "추적되지 않음", "unverified": "확인되지 않은", "Unverified": "확인되지 않음", + "Up to {concurrent} active and {starts} starts per {minutes} min": "{minutes}분당 최대 {concurrent}회 활성 및 {starts}회 시작", "Up to date": "최신", "Update": "업데이트", "Update available": "업데이트 가능", @@ -15267,6 +15294,7 @@ "Work intake, tool servers, and plugin bundles": "작업 흡수, 도구 서버 및 플러그인 번들", "Work is claimed": "저작물의 소유권이 주장됨", "Work item ID": "작업 항목 ID", + "Work item paused": "작업 항목이 일시중지됨", "Work items": "작업 항목", "Work marked failed": "작업이 실패로 표시됨", "Work result": "작업결과", diff --git a/packages/localization/catalogs/lv-LV.json b/packages/localization/catalogs/lv-LV.json index d47a4f1bc..73b255153 100644 --- a/packages/localization/catalogs/lv-LV.json +++ b/packages/localization/catalogs/lv-LV.json @@ -1,6 +1,6 @@ { "locale": "lv-LV", - "sourceRevision": "214db76d79f1a5c0fd915c110a2ead6dbb978b58398846e982a0c1ff0cb53108", + "sourceRevision": "6468d2af71d2feb60f9b8c5f37bc2a3ff1177fb2c8b0d65e85002de6b1095cbb", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -568,6 +568,7 @@ "Allows": "8b1d52d202522d89fe65fb00e505abab46dc200a88c0be5d468a2a7e6dce9ccf", "Allows commands starting with {command}": "f5c5d446a6850880ae79768c175bacaf2bc487f715d5768d0b225eb643e3ce07", "Already imported": "e47fafe0a1c6f8d6b5c641c5d9cc7ca61e66a1c50bbc3b619c8ff5912444bfa8", + "Already in work": "ae40a6ff362406d9f1fdc40ad79cea7bd1705e6e173b2267f2a310777aedb387", "Also allow private memory and private chat queries remotely": "0b6b2ba6882b67c8b5b79f0f07964588232be1a9e520011e19bbea224c59a913", "Alternatives": "41055f72edad1559b8ba43440cd7938eb73685930c7141fede9b95000fd41299", "Alternatives considered": "73534cb410e6191096c7fa7ca56ba066f90b4fdede8677d64bc98068804afa3c", @@ -828,6 +829,7 @@ "Auto-start by default": "403861dc8396a3ea666e143d33e0429d3c26721771abf3face351259eee9b28f", "Auto-start step": "2bf61e4807ad3bf6ebc934bf54e917d5b3a87295001826be3a7dd57c7e75cc8d", "Automatic": "d461a493a3753877c9486cffa3444265a33370af8a7fff242fb119b71750839c", + "Automatic intake": "6eed82b223c717114773803e9d9d90d6d3cde9579bf264647347e559817a5081", "Automatic learning is off": "8ba1b4a02530490260a7b8e748e0809ddc3885213a009f3896264bc665060bdd", "Automatic parallel execution": "63d058c173c4a148a14094327c26d9af2c5bde1779c91dbf0d913e90b0687be9", "Automatic proposals enabled": "db670932d259eeedd26de8d7ca836594d5f3861ff24e1f94170c7333676c157a", @@ -1256,6 +1258,7 @@ "Check failed": "c8813c1128d545bfe7e7458ae24d724447097b3518643f86fa3e532f88e9fb40", "Check for changes": "5da755d1690f58c1c822a4b85422734bacc2122c7c67f4e8617f0765ac835113", "Check for updates": "f26f3275e735bdf6268532ca7cbea3887c9adad21d8df74e84b2bc7791475c0d", + "Check GitHub inbox": "51cd97da0bc2b213621668f69168386eaee18bdae064041094187404c9fc71ee", "Check member status": "ff155af014d0b6e94cbf2fca3b01cf8d5725732f178eee985083478adb4a62f5", "Check member status to load readiness.": "6f7f338e22e626b134643fbaec898cf8e8efd19b85eeb6193b4ca0d5d63c4528", "Check needed": "561a32f0c83e5a4fe8d77d891bd4b954d514ea021b4a18e68a3607f5d8747841", @@ -1563,6 +1566,7 @@ "Concise": "8340d833ab72d3321b07af0184597743b010e142b39593cebb450d4227e62f0c", "Concise, focused, direct.": "e9cb028d2d79111476e9c8ea1562b7f6275fd39d43abf410338d7c0ae2fff5a5", "conclusion {conclusion}": "dc328d7e11ecbdc61fa90fc18e3ced70b794ca55dcc476d03c88eff72f16274d", + "Concurrent work limit reached": "f60d0f2d4a9ba0c57c7e7835bd52a1912f39581799f2babb636d190317a96b54", "Confidence": "6422e3e78f5e5f5a15e92cc57ed7114adb289339251031ccb526d9249437dc82", "Configuration": "b332c3492d5eb10a118eb6d8b0dcd689bc2477ce2ae16b303753b942b54377bc", "Configuration digest": "5bbf2d321122a5a57d36c77291d232d51f9ae9a1655e80f042727754aea15bfe", @@ -2939,6 +2943,7 @@ "github": "c0b0109d9439de57fe3cf03abeccbc52f4c98170c732d3b69af5e6395ace574e", "GitHub": "f911e414cf6bdfc595532ab166b5ba0f63d73c021452fcdacbda363dda6ad8fb", "GitHub CI triage": "6a2368ce3943b296b07b5241227baf2a863d3f50f8a46ddb0889cbb5045ccd84", + "GitHub intake": "064829c63fcbc74d45753e04f583c69a391d25d4ed334de3b69fa2720f733cb1", "GitHub MCP": "408b061889ef672152b51ce8dbd56216d1b7e97303429b59538b99fe663c6f04", "GitHub not connected (GITHUB_TOKEN or GH_TOKEN)": "1cb239b6b5ea26422b411a25d3a4e254cdf45b7e730eb91b976a36f12adeb21b", "GitHub unavailable; retry later": "33b2cec76eccd24c4d8d61c265de8b06a6a20820ab1fccdcb433a22903909d02", @@ -4818,6 +4823,7 @@ "Policy details": "00e33950cacf32a39cc25f71ccb1650c4c788c12816e07681d80f0fdc537be98", "Policy narrows authority": "e9e2012e5ac96664fb03ff0f81f4f49cb5b8ee069149139352e7c89b73e43baa", "policy overlays": "db26199cf2a47a948b45caf37b4d50ede3ef415fad6c940cfe56a118970fcefb", + "Policy paused": "11fc11eaf385253466e26bac9916425e1e009695cd40adc4c7a132366d187518", "Policy review": "1cf67fef927c77770a1fcd8b20982b24b15cc0b6f1e8b56265d87baff019dd7e", "Policy snapshot artifact": "7f8b2985d498316ac01fa5f2276d2556cab712b4c8bc2b93e16dfc1353e23a77", "Poll once": "c7e7d724ff87555fb857467569ce709d958ee2d5d1ab2cc890554c7605e86e78", @@ -5013,6 +5019,7 @@ "Provider state": "633d1ca46603e61fc3d39459c1414102a27bbc4ba0adfb0b22ba5a205c2b9815", "Provider templates": "1e8649b7c667a6afc6dc88cbdb3069e349e850466cf3efa57eeedab9b70486f7", "Provider type": "8c0f6d3ebfe7ba3a0c0006068a9aa664d09244ba3cd438f2d56fab117bee1347", + "Provider unavailable": "ff2113958589f9bfb87b54f959be825d00ec5eca374d907bb343f98ebdbc84c3", "Provider version": "1f5ecefbd682ced2f438c8ae3c8849ba9effbe6cd77c19051cee2d2036ef9c90", "Provider warmup": "36ae143804c9a909bce770f54be5652b69b99ee7838cca99daa31e23d4d6d63c", "Provider was automatically rechecked after daemon restart.": "7bd8e8ee592f30e81adca8c96b079d6526846dc142bd99e5bbba3d9bebbde7a9", @@ -5398,6 +5405,8 @@ "Required for assigned teammates": "4732aa544a8d93b886e6bcbbcc5c3314af692f8a8a812efd4844cd3589b7b63a", "Required input": "fafaaf99b5a6af521026448890a9dacaf4d47053804a34be7cdf364e13637181", "Required input: {value}": "757166b8bf43ee39819f00d86fa61a84ddb3f3eba2a883c6bb996b8f82101d22", + "Required label": "5f623a5ad31f874a782d2205c9318ce524371a35d782b9a7021eab521c2fbbcd", + "Required label missing": "6913716764f8018414060c041e41a2951f5444efe5e97cd30a557be26403d1b1", "Required permissions": "edaffed36060c21e958b3fe562b7c57f51f67ba46326b1a9a5317a47b20e1747", "Required skill information is missing.": "e5cb742af5e92afab21f42c3edd4f5940db52a1c5320a9dd7236eca89a702789", "Required statuses": "c77453db9c939c7c7b8da080b0053847604126aefacf5a900d1d0fe30e4ba5ee", @@ -6407,6 +6416,7 @@ "Start an active Computer Use task first.": "1242a212935f863b51a7f3e8d16f12af408152d8047b274c5fef9fb7f1435f50", "Start autoplan": "7419a8efae15550dc21cccc23ca0a16c446e884842bfe48056af34a921175cb0", "Start background": "c690dc635cd0437e8911748d795084e5d32d0b75811490076285d41032d7300c", + "Start budget reached": "6b915cfb021a78ae6f8b4c1f2d9f40bbadcc486c04cbb00a807d52bfe78102ca", "Start by choosing a template or creating one manually.": "6a3ba02535ac7a0ab934b569a915927936dede63b4277ea4500e77c8835d4666", "Start child branch": "ee7b6caa5b4a1d3e8fd3ce47a26b42a4f2472834dfa17b2efc1864d0ed710948", "Start from a default role or blank teammate.": "1464ae64fd1ee987e353f53a2f9bab20053b2f0ae320c07839b7eecf710b8a96", @@ -6512,7 +6522,9 @@ "succeeded": "5dceaeceb6d8a49d3665594710ace68dfbc1800e2d663d7febb302b4dbee3d27", "Succeeded": "6d9a6f97a5fdaf3b90a0cf02e0b43d8b7ec1d05c0e4718e02ddd1c5b450e5b39", "Successfully generated {count} artifact based on the provided prompt.": "71f85e7639c004421f062f2dd6a129e5173931798f5d33b6f0482038b38a88fc", + "Suggest": "4effad823b048b0440dbeff42665f60a6ddec8e121c378966ed7c074a512c51f", "Suggest responsible owners based on context, decisions, and recent work.": "484eb4e21bcdd76a531a4234403ea29f0626094f9a2915b674f17e0b949be0a3", + "Suggested": "93b63bab4c3a28d73a8bb83bcdfdcc5f6ddecfc8fc702296ca159d94c5dc6e53", "Suggested next step": "78d74fd4ffec8d83a942e1274cfd15426b2b4bb2d96b15f905277638c339869e", "Suggested routing": "442b15c099c136738e26e139912a5f5d21e90216aade875a8db595b09c81fcbe", "Summaries": "87bc590e047d3df4a8e448ac83e371fad69dd73607752cccb0ff7d34263cef8f", @@ -7221,6 +7233,7 @@ "Untracked": "c7ba5477e19cf0bb25460d840cc2e67341e81e1c2d274d00b3054c73898d4d27", "unverified": "97b7e2db799e2b79e65f418b42a7d3054c95b2d3ab1dba243039597e44a38084", "Unverified": "33c8e8de41c3a35124251370e2a36e4d589f8789d80630abbbeceb933d3fb58f", + "Up to {concurrent} active and {starts} starts per {minutes} min": "cca43c28ef670fd5d55cb3bd813a2fef137043e4028096bcd2cdf22e2a06586b", "Up to date": "ce29b7f85b9eaf7dac52e625accb4b0cb56a856ebe9a9de9a09b613b6d978dca", "Update": "c1c1009d3f37ec058070a62e22caf9ac9dae2169d452487c5c271a8bcf57a291", "Update available": "ff8b555d818f0b25bbdd1bec8b479660bac7fc276acbe993e759bf67fed32c34", @@ -7548,6 +7561,7 @@ "Work intake, tool servers, and plugin bundles": "16b65a84c6fca2014b7e2d28b151bbf0afe19345230a0ac37304802311fed850", "Work is claimed": "c4b0d953436f2f59355d6540bae28e055ff49243f612887bbaed7bfd98c85d4d", "Work item ID": "1dcdad81d13850bd962965719f362fa7f32693b7b54fd8bb25d1e2402a470626", + "Work item paused": "299aabbf3c1418a3f01117e072d3bfe418e174bd1f355d1afdfae23c7b4bf678", "Work items": "5759a416f2b3b4ff92da23b8059419e06c39d27180b91a557f7cae779df3d2b6", "Work marked failed": "f26306888ed8c9a3808b8a420428f63e32d4c2223e7c9c89dd0a049806c539c6", "Work result": "19efe7487084061e9e358495b8a9bfd7e9d7c0035010e08ac35c14ba4ff8ca2a", @@ -8287,6 +8301,7 @@ "Allows": "Ļauj", "Allows commands starting with {command}": "Atļauj komandas, kas sākas ar {command}", "Already imported": "Jau importēts", + "Already in work": "Jau darbā", "Also allow private memory and private chat queries remotely": "Atļaujiet arī attālināti veikt privātu atmiņu un privātus tērzēšanas vaicājumus", "Alternatives": "Alternatīvas", "Alternatives considered": "Apsvērtas alternatīvas", @@ -8547,6 +8562,7 @@ "Auto-start by default": "Auto-start by default", "Auto-start step": "Auto-start step", "Automatic": "Automātiski", + "Automatic intake": "Automātiska ieplūde", "Automatic learning is off": "Automātiskā mācīšanās ir izslēgta", "Automatic parallel execution": "Automatic parallel execution", "Automatic proposals enabled": "Automātiskie priekšlikumi ir iespējoti", @@ -8975,6 +8991,7 @@ "Check failed": "Pārbaude neizdevās", "Check for changes": "Pārbaudiet izmaiņas", "Check for updates": "Pārbaudiet, vai nav atjauninājumu", + "Check GitHub inbox": "Pārbaudiet GitHub iesūtni", "Check member status": "Pārbaudiet dalībnieka statusu", "Check member status to load readiness.": "Pārbaudiet dalībnieka statusu, lai ielādētu gatavību.", "Check needed": "Nepieciešama pārbaude", @@ -9282,6 +9299,7 @@ "Concise": "Īsi", "Concise, focused, direct.": "Īsi, koncentrēti, tieši.", "conclusion {conclusion}": "secinājums {conclusion}", + "Concurrent work limit reached": "Sasniegts vienlaicīga darba ierobežojums", "Confidence": "Pārliecība", "Configuration": "Konfigurācija", "Configuration digest": "Konfigurācijas īssavilkums", @@ -10658,6 +10676,7 @@ "github": "github", "GitHub": "GitHub", "GitHub CI triage": "GitHub CI šķirošana", + "GitHub intake": "GitHub ieplūde", "GitHub MCP": "GitHub MCP", "GitHub not connected (GITHUB_TOKEN or GH_TOKEN)": "GitHub not connected (GITHUB_TOKEN or GH_TOKEN)", "GitHub unavailable; retry later": "GitHub unavailable; retry later", @@ -12537,6 +12556,7 @@ "Policy details": "Politikas informācija", "Policy narrows authority": "Politika sašaurina autoritāti", "policy overlays": "politikas pārklājumi", + "Policy paused": "Politika apturēta", "Policy review": "Politikas pārskatīšana", "Policy snapshot artifact": "Politikas momentuzņēmuma artefakts", "Poll once": "Aptauja vienu reizi", @@ -12732,6 +12752,7 @@ "Provider state": "Pakalpojumu sniedzēja stāvoklis", "Provider templates": "Pakalpojumu sniedzēja veidnes", "Provider type": "Pakalpojumu sniedzēja veids", + "Provider unavailable": "Pakalpojumu sniedzējs nav pieejams", "Provider version": "Pakalpojumu sniedzēja versija", "Provider warmup": "Pakalpojumu sniedzēja iesildīšanās", "Provider was automatically rechecked after daemon restart.": "Pēc dēmona restartēšanas pakalpojumu sniedzējs tika automātiski atkārtoti pārbaudīts.", @@ -13117,6 +13138,8 @@ "Required for assigned teammates": "Nepieciešams norīkotajiem komandas biedriem", "Required input": "Nepieciešamā ievade", "Required input: {value}": "Nepieciešamā ievade: {value}", + "Required label": "Nepieciešamā etiķete", + "Required label missing": "Trūkst vajadzīgās etiķetes", "Required permissions": "Nepieciešamās atļaujas", "Required skill information is missing.": "Trūkst nepieciešamās prasmes informācijas.", "Required statuses": "Required statuses", @@ -14126,6 +14149,7 @@ "Start an active Computer Use task first.": "Vispirms sāciet aktīvo Computer Use uzdevumu.", "Start autoplan": "Sākt automātisko plānu", "Start background": "Sākt fonu", + "Start budget reached": "Sasniegts sākuma budžets", "Start by choosing a template or creating one manually.": "Sāciet, izvēloties veidni vai izveidojot to manuāli.", "Start child branch": "Sāciet bērnu filiāli", "Start from a default role or blank teammate.": "Sāciet ar noklusējuma lomu vai tukšu komandas biedru.", @@ -14231,7 +14255,9 @@ "succeeded": "izdevās", "Succeeded": "Izdevās", "Successfully generated {count} artifact based on the provided prompt.": "Veiksmīgi ģenerēts {count} artefakts, pamatojoties uz sniegto uzvedni.", + "Suggest": "Ieteikt", "Suggest responsible owners based on context, decisions, and recent work.": "Iesakiet atbildīgus īpašniekus, pamatojoties uz kontekstu, lēmumiem un neseno darbu.", + "Suggested": "Ieteikts", "Suggested next step": "Ieteikts nākamais solis", "Suggested routing": "Ieteicamais maršruts", "Summaries": "Kopsavilkumi", @@ -14940,6 +14966,7 @@ "Untracked": "Neizsekots", "unverified": "nepārbaudīts", "Unverified": "Nepārbaudīts", + "Up to {concurrent} active and {starts} starts per {minutes} min": "Līdz {concurrent} aktīvam un {starts} sākas {minutes} minūtē", "Up to date": "Aktuāli", "Update": "Atjaunināt", "Update available": "Pieejams atjauninājums", @@ -15267,6 +15294,7 @@ "Work intake, tool servers, and plugin bundles": "Darba uzņemšana, rīku serveri un spraudņu komplekti", "Work is claimed": "Tiek pieprasīts darbs", "Work item ID": "Darba vienums ID", + "Work item paused": "Darba vienums apturēts", "Work items": "Darba priekšmeti", "Work marked failed": "Darbs, kas atzīmēts kā neveiksmīgs", "Work result": "Darba rezultāts", diff --git a/packages/localization/catalogs/mk-MK.json b/packages/localization/catalogs/mk-MK.json index 59d290778..619458add 100644 --- a/packages/localization/catalogs/mk-MK.json +++ b/packages/localization/catalogs/mk-MK.json @@ -1,6 +1,6 @@ { "locale": "mk-MK", - "sourceRevision": "214db76d79f1a5c0fd915c110a2ead6dbb978b58398846e982a0c1ff0cb53108", + "sourceRevision": "6468d2af71d2feb60f9b8c5f37bc2a3ff1177fb2c8b0d65e85002de6b1095cbb", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -568,6 +568,7 @@ "Allows": "8b1d52d202522d89fe65fb00e505abab46dc200a88c0be5d468a2a7e6dce9ccf", "Allows commands starting with {command}": "f5c5d446a6850880ae79768c175bacaf2bc487f715d5768d0b225eb643e3ce07", "Already imported": "e47fafe0a1c6f8d6b5c641c5d9cc7ca61e66a1c50bbc3b619c8ff5912444bfa8", + "Already in work": "ae40a6ff362406d9f1fdc40ad79cea7bd1705e6e173b2267f2a310777aedb387", "Also allow private memory and private chat queries remotely": "0b6b2ba6882b67c8b5b79f0f07964588232be1a9e520011e19bbea224c59a913", "Alternatives": "41055f72edad1559b8ba43440cd7938eb73685930c7141fede9b95000fd41299", "Alternatives considered": "73534cb410e6191096c7fa7ca56ba066f90b4fdede8677d64bc98068804afa3c", @@ -828,6 +829,7 @@ "Auto-start by default": "403861dc8396a3ea666e143d33e0429d3c26721771abf3face351259eee9b28f", "Auto-start step": "2bf61e4807ad3bf6ebc934bf54e917d5b3a87295001826be3a7dd57c7e75cc8d", "Automatic": "d461a493a3753877c9486cffa3444265a33370af8a7fff242fb119b71750839c", + "Automatic intake": "6eed82b223c717114773803e9d9d90d6d3cde9579bf264647347e559817a5081", "Automatic learning is off": "8ba1b4a02530490260a7b8e748e0809ddc3885213a009f3896264bc665060bdd", "Automatic parallel execution": "63d058c173c4a148a14094327c26d9af2c5bde1779c91dbf0d913e90b0687be9", "Automatic proposals enabled": "db670932d259eeedd26de8d7ca836594d5f3861ff24e1f94170c7333676c157a", @@ -1256,6 +1258,7 @@ "Check failed": "c8813c1128d545bfe7e7458ae24d724447097b3518643f86fa3e532f88e9fb40", "Check for changes": "5da755d1690f58c1c822a4b85422734bacc2122c7c67f4e8617f0765ac835113", "Check for updates": "f26f3275e735bdf6268532ca7cbea3887c9adad21d8df74e84b2bc7791475c0d", + "Check GitHub inbox": "51cd97da0bc2b213621668f69168386eaee18bdae064041094187404c9fc71ee", "Check member status": "ff155af014d0b6e94cbf2fca3b01cf8d5725732f178eee985083478adb4a62f5", "Check member status to load readiness.": "6f7f338e22e626b134643fbaec898cf8e8efd19b85eeb6193b4ca0d5d63c4528", "Check needed": "561a32f0c83e5a4fe8d77d891bd4b954d514ea021b4a18e68a3607f5d8747841", @@ -1563,6 +1566,7 @@ "Concise": "8340d833ab72d3321b07af0184597743b010e142b39593cebb450d4227e62f0c", "Concise, focused, direct.": "e9cb028d2d79111476e9c8ea1562b7f6275fd39d43abf410338d7c0ae2fff5a5", "conclusion {conclusion}": "dc328d7e11ecbdc61fa90fc18e3ced70b794ca55dcc476d03c88eff72f16274d", + "Concurrent work limit reached": "f60d0f2d4a9ba0c57c7e7835bd52a1912f39581799f2babb636d190317a96b54", "Confidence": "6422e3e78f5e5f5a15e92cc57ed7114adb289339251031ccb526d9249437dc82", "Configuration": "b332c3492d5eb10a118eb6d8b0dcd689bc2477ce2ae16b303753b942b54377bc", "Configuration digest": "5bbf2d321122a5a57d36c77291d232d51f9ae9a1655e80f042727754aea15bfe", @@ -2939,6 +2943,7 @@ "github": "c0b0109d9439de57fe3cf03abeccbc52f4c98170c732d3b69af5e6395ace574e", "GitHub": "f911e414cf6bdfc595532ab166b5ba0f63d73c021452fcdacbda363dda6ad8fb", "GitHub CI triage": "6a2368ce3943b296b07b5241227baf2a863d3f50f8a46ddb0889cbb5045ccd84", + "GitHub intake": "064829c63fcbc74d45753e04f583c69a391d25d4ed334de3b69fa2720f733cb1", "GitHub MCP": "408b061889ef672152b51ce8dbd56216d1b7e97303429b59538b99fe663c6f04", "GitHub not connected (GITHUB_TOKEN or GH_TOKEN)": "1cb239b6b5ea26422b411a25d3a4e254cdf45b7e730eb91b976a36f12adeb21b", "GitHub unavailable; retry later": "33b2cec76eccd24c4d8d61c265de8b06a6a20820ab1fccdcb433a22903909d02", @@ -4818,6 +4823,7 @@ "Policy details": "00e33950cacf32a39cc25f71ccb1650c4c788c12816e07681d80f0fdc537be98", "Policy narrows authority": "e9e2012e5ac96664fb03ff0f81f4f49cb5b8ee069149139352e7c89b73e43baa", "policy overlays": "db26199cf2a47a948b45caf37b4d50ede3ef415fad6c940cfe56a118970fcefb", + "Policy paused": "11fc11eaf385253466e26bac9916425e1e009695cd40adc4c7a132366d187518", "Policy review": "1cf67fef927c77770a1fcd8b20982b24b15cc0b6f1e8b56265d87baff019dd7e", "Policy snapshot artifact": "7f8b2985d498316ac01fa5f2276d2556cab712b4c8bc2b93e16dfc1353e23a77", "Poll once": "c7e7d724ff87555fb857467569ce709d958ee2d5d1ab2cc890554c7605e86e78", @@ -5013,6 +5019,7 @@ "Provider state": "633d1ca46603e61fc3d39459c1414102a27bbc4ba0adfb0b22ba5a205c2b9815", "Provider templates": "1e8649b7c667a6afc6dc88cbdb3069e349e850466cf3efa57eeedab9b70486f7", "Provider type": "8c0f6d3ebfe7ba3a0c0006068a9aa664d09244ba3cd438f2d56fab117bee1347", + "Provider unavailable": "ff2113958589f9bfb87b54f959be825d00ec5eca374d907bb343f98ebdbc84c3", "Provider version": "1f5ecefbd682ced2f438c8ae3c8849ba9effbe6cd77c19051cee2d2036ef9c90", "Provider warmup": "36ae143804c9a909bce770f54be5652b69b99ee7838cca99daa31e23d4d6d63c", "Provider was automatically rechecked after daemon restart.": "7bd8e8ee592f30e81adca8c96b079d6526846dc142bd99e5bbba3d9bebbde7a9", @@ -5398,6 +5405,8 @@ "Required for assigned teammates": "4732aa544a8d93b886e6bcbbcc5c3314af692f8a8a812efd4844cd3589b7b63a", "Required input": "fafaaf99b5a6af521026448890a9dacaf4d47053804a34be7cdf364e13637181", "Required input: {value}": "757166b8bf43ee39819f00d86fa61a84ddb3f3eba2a883c6bb996b8f82101d22", + "Required label": "5f623a5ad31f874a782d2205c9318ce524371a35d782b9a7021eab521c2fbbcd", + "Required label missing": "6913716764f8018414060c041e41a2951f5444efe5e97cd30a557be26403d1b1", "Required permissions": "edaffed36060c21e958b3fe562b7c57f51f67ba46326b1a9a5317a47b20e1747", "Required skill information is missing.": "e5cb742af5e92afab21f42c3edd4f5940db52a1c5320a9dd7236eca89a702789", "Required statuses": "c77453db9c939c7c7b8da080b0053847604126aefacf5a900d1d0fe30e4ba5ee", @@ -6407,6 +6416,7 @@ "Start an active Computer Use task first.": "1242a212935f863b51a7f3e8d16f12af408152d8047b274c5fef9fb7f1435f50", "Start autoplan": "7419a8efae15550dc21cccc23ca0a16c446e884842bfe48056af34a921175cb0", "Start background": "c690dc635cd0437e8911748d795084e5d32d0b75811490076285d41032d7300c", + "Start budget reached": "6b915cfb021a78ae6f8b4c1f2d9f40bbadcc486c04cbb00a807d52bfe78102ca", "Start by choosing a template or creating one manually.": "6a3ba02535ac7a0ab934b569a915927936dede63b4277ea4500e77c8835d4666", "Start child branch": "ee7b6caa5b4a1d3e8fd3ce47a26b42a4f2472834dfa17b2efc1864d0ed710948", "Start from a default role or blank teammate.": "1464ae64fd1ee987e353f53a2f9bab20053b2f0ae320c07839b7eecf710b8a96", @@ -6512,7 +6522,9 @@ "succeeded": "5dceaeceb6d8a49d3665594710ace68dfbc1800e2d663d7febb302b4dbee3d27", "Succeeded": "6d9a6f97a5fdaf3b90a0cf02e0b43d8b7ec1d05c0e4718e02ddd1c5b450e5b39", "Successfully generated {count} artifact based on the provided prompt.": "71f85e7639c004421f062f2dd6a129e5173931798f5d33b6f0482038b38a88fc", + "Suggest": "4effad823b048b0440dbeff42665f60a6ddec8e121c378966ed7c074a512c51f", "Suggest responsible owners based on context, decisions, and recent work.": "484eb4e21bcdd76a531a4234403ea29f0626094f9a2915b674f17e0b949be0a3", + "Suggested": "93b63bab4c3a28d73a8bb83bcdfdcc5f6ddecfc8fc702296ca159d94c5dc6e53", "Suggested next step": "78d74fd4ffec8d83a942e1274cfd15426b2b4bb2d96b15f905277638c339869e", "Suggested routing": "442b15c099c136738e26e139912a5f5d21e90216aade875a8db595b09c81fcbe", "Summaries": "87bc590e047d3df4a8e448ac83e371fad69dd73607752cccb0ff7d34263cef8f", @@ -7221,6 +7233,7 @@ "Untracked": "c7ba5477e19cf0bb25460d840cc2e67341e81e1c2d274d00b3054c73898d4d27", "unverified": "97b7e2db799e2b79e65f418b42a7d3054c95b2d3ab1dba243039597e44a38084", "Unverified": "33c8e8de41c3a35124251370e2a36e4d589f8789d80630abbbeceb933d3fb58f", + "Up to {concurrent} active and {starts} starts per {minutes} min": "cca43c28ef670fd5d55cb3bd813a2fef137043e4028096bcd2cdf22e2a06586b", "Up to date": "ce29b7f85b9eaf7dac52e625accb4b0cb56a856ebe9a9de9a09b613b6d978dca", "Update": "c1c1009d3f37ec058070a62e22caf9ac9dae2169d452487c5c271a8bcf57a291", "Update available": "ff8b555d818f0b25bbdd1bec8b479660bac7fc276acbe993e759bf67fed32c34", @@ -7548,6 +7561,7 @@ "Work intake, tool servers, and plugin bundles": "16b65a84c6fca2014b7e2d28b151bbf0afe19345230a0ac37304802311fed850", "Work is claimed": "c4b0d953436f2f59355d6540bae28e055ff49243f612887bbaed7bfd98c85d4d", "Work item ID": "1dcdad81d13850bd962965719f362fa7f32693b7b54fd8bb25d1e2402a470626", + "Work item paused": "299aabbf3c1418a3f01117e072d3bfe418e174bd1f355d1afdfae23c7b4bf678", "Work items": "5759a416f2b3b4ff92da23b8059419e06c39d27180b91a557f7cae779df3d2b6", "Work marked failed": "f26306888ed8c9a3808b8a420428f63e32d4c2223e7c9c89dd0a049806c539c6", "Work result": "19efe7487084061e9e358495b8a9bfd7e9d7c0035010e08ac35c14ba4ff8ca2a", @@ -8287,6 +8301,7 @@ "Allows": "Дозволува", "Allows commands starting with {command}": "Дозволува команди кои почнуваат со {command}", "Already imported": "Веќе увезено", + "Already in work": "Веќе на работа", "Also allow private memory and private chat queries remotely": "Дозволете и прашања за приватна меморија и приватен разговор од далечина", "Alternatives": "Алтернативи", "Alternatives considered": "Разгледани алтернативи", @@ -8547,6 +8562,7 @@ "Auto-start by default": "Auto-start by default", "Auto-start step": "Auto-start step", "Automatic": "Автоматски", + "Automatic intake": "Автоматско внесување", "Automatic learning is off": "Автоматското учење е исклучено", "Automatic parallel execution": "Automatic parallel execution", "Automatic proposals enabled": "Овозможени се автоматски предлози", @@ -8975,6 +8991,7 @@ "Check failed": "Проверката не успеа", "Check for changes": "Проверете за промени", "Check for updates": "Проверете дали има ажурирања", + "Check GitHub inbox": "Проверете го сандачето за GitHub", "Check member status": "Проверете го статусот на членот", "Check member status to load readiness.": "Проверете го статусот на член за да се вчита подготвеноста.", "Check needed": "Потребна е проверка", @@ -9282,6 +9299,7 @@ "Concise": "Концизен", "Concise, focused, direct.": "Концизен, фокусиран, директен.", "conclusion {conclusion}": "заклучок {conclusion}", + "Concurrent work limit reached": "Достигнато е ограничувањето за истовремена работа", "Confidence": "Доверба", "Configuration": "Конфигурација", "Configuration digest": "Дигест за конфигурација", @@ -10658,6 +10676,7 @@ "github": "github", "GitHub": "GitHub", "GitHub CI triage": "GitHub CI тријажа", + "GitHub intake": "Внес на GitHub", "GitHub MCP": "GitHub MCP", "GitHub not connected (GITHUB_TOKEN or GH_TOKEN)": "GitHub not connected (GITHUB_TOKEN or GH_TOKEN)", "GitHub unavailable; retry later": "GitHub unavailable; retry later", @@ -12537,6 +12556,7 @@ "Policy details": "Детали за политиката", "Policy narrows authority": "Политиката го стеснува авторитетот", "policy overlays": "преклопувања на политиките", + "Policy paused": "Политиката е паузирана", "Policy review": "Преглед на политиката", "Policy snapshot artifact": "Артефакт на слика од политиката", "Poll once": "Анкета еднаш", @@ -12732,6 +12752,7 @@ "Provider state": "Држава на провајдер", "Provider templates": "Шаблони за добавувачи", "Provider type": "Тип на провајдер", + "Provider unavailable": "Добавувачот е недостапен", "Provider version": "Верзија на провајдер", "Provider warmup": "Загревање на провајдерот", "Provider was automatically rechecked after daemon restart.": "Провајдерот беше автоматски проверен по рестартирање на демонот.", @@ -13117,6 +13138,8 @@ "Required for assigned teammates": "Потребно за доделените соиграчи", "Required input": "Потребен влез", "Required input: {value}": "Потребен влез: {value}", + "Required label": "Задолжителна ознака", + "Required label missing": "Недостасува задолжителна етикета", "Required permissions": "Потребни дозволи", "Required skill information is missing.": "Недостасуваат информации за потребните вештини.", "Required statuses": "Required statuses", @@ -14126,6 +14149,7 @@ "Start an active Computer Use task first.": "Прво започнете активна задача Computer Use.", "Start autoplan": "Започнете со автоплан", "Start background": "Започнете ја позадината", + "Start budget reached": "Почетниот буџет е постигнат", "Start by choosing a template or creating one manually.": "Започнете со избирање шаблон или рачно креирање.", "Start child branch": "Започнете детска гранка", "Start from a default role or blank teammate.": "Започнете од стандардна улога или празно соиграч.", @@ -14231,7 +14255,9 @@ "succeeded": "успеа", "Succeeded": "Успеа", "Successfully generated {count} artifact based on the provided prompt.": "Успешно генериран артефакт {count} врз основа на даденото барање.", + "Suggest": "Предложете", "Suggest responsible owners based on context, decisions, and recent work.": "Предложете одговорни сопственици врз основа на контекст, одлуки и неодамнешна работа.", + "Suggested": "Предложено", "Suggested next step": "Предложен следен чекор", "Suggested routing": "Предложено рутирање", "Summaries": "Резими", @@ -14940,6 +14966,7 @@ "Untracked": "Неследени", "unverified": "непроверени", "Unverified": "Непроверено", + "Up to {concurrent} active and {starts} starts per {minutes} min": "До {concurrent} активни и {starts} започнуваат на {minutes} мин", "Up to date": "Ажурирано", "Update": "Ажурирање", "Update available": "Достапно е ажурирање", @@ -15267,6 +15294,7 @@ "Work intake, tool servers, and plugin bundles": "Работен прием, сервери за алатки и пакети на приклучоци", "Work is claimed": "Се бара работа", "Work item ID": "Работен предмет ID", + "Work item paused": "Работната ставка е паузирана", "Work items": "Работни предмети", "Work marked failed": "Работата означена како неуспешна", "Work result": "Резултат на работа", diff --git a/packages/localization/catalogs/mr-IN.json b/packages/localization/catalogs/mr-IN.json index 2d0f242be..c59ed6955 100644 --- a/packages/localization/catalogs/mr-IN.json +++ b/packages/localization/catalogs/mr-IN.json @@ -1,6 +1,6 @@ { "locale": "mr-IN", - "sourceRevision": "214db76d79f1a5c0fd915c110a2ead6dbb978b58398846e982a0c1ff0cb53108", + "sourceRevision": "6468d2af71d2feb60f9b8c5f37bc2a3ff1177fb2c8b0d65e85002de6b1095cbb", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -568,6 +568,7 @@ "Allows": "8b1d52d202522d89fe65fb00e505abab46dc200a88c0be5d468a2a7e6dce9ccf", "Allows commands starting with {command}": "f5c5d446a6850880ae79768c175bacaf2bc487f715d5768d0b225eb643e3ce07", "Already imported": "e47fafe0a1c6f8d6b5c641c5d9cc7ca61e66a1c50bbc3b619c8ff5912444bfa8", + "Already in work": "ae40a6ff362406d9f1fdc40ad79cea7bd1705e6e173b2267f2a310777aedb387", "Also allow private memory and private chat queries remotely": "0b6b2ba6882b67c8b5b79f0f07964588232be1a9e520011e19bbea224c59a913", "Alternatives": "41055f72edad1559b8ba43440cd7938eb73685930c7141fede9b95000fd41299", "Alternatives considered": "73534cb410e6191096c7fa7ca56ba066f90b4fdede8677d64bc98068804afa3c", @@ -828,6 +829,7 @@ "Auto-start by default": "403861dc8396a3ea666e143d33e0429d3c26721771abf3face351259eee9b28f", "Auto-start step": "2bf61e4807ad3bf6ebc934bf54e917d5b3a87295001826be3a7dd57c7e75cc8d", "Automatic": "d461a493a3753877c9486cffa3444265a33370af8a7fff242fb119b71750839c", + "Automatic intake": "6eed82b223c717114773803e9d9d90d6d3cde9579bf264647347e559817a5081", "Automatic learning is off": "8ba1b4a02530490260a7b8e748e0809ddc3885213a009f3896264bc665060bdd", "Automatic parallel execution": "63d058c173c4a148a14094327c26d9af2c5bde1779c91dbf0d913e90b0687be9", "Automatic proposals enabled": "db670932d259eeedd26de8d7ca836594d5f3861ff24e1f94170c7333676c157a", @@ -1256,6 +1258,7 @@ "Check failed": "c8813c1128d545bfe7e7458ae24d724447097b3518643f86fa3e532f88e9fb40", "Check for changes": "5da755d1690f58c1c822a4b85422734bacc2122c7c67f4e8617f0765ac835113", "Check for updates": "f26f3275e735bdf6268532ca7cbea3887c9adad21d8df74e84b2bc7791475c0d", + "Check GitHub inbox": "51cd97da0bc2b213621668f69168386eaee18bdae064041094187404c9fc71ee", "Check member status": "ff155af014d0b6e94cbf2fca3b01cf8d5725732f178eee985083478adb4a62f5", "Check member status to load readiness.": "6f7f338e22e626b134643fbaec898cf8e8efd19b85eeb6193b4ca0d5d63c4528", "Check needed": "561a32f0c83e5a4fe8d77d891bd4b954d514ea021b4a18e68a3607f5d8747841", @@ -1563,6 +1566,7 @@ "Concise": "8340d833ab72d3321b07af0184597743b010e142b39593cebb450d4227e62f0c", "Concise, focused, direct.": "e9cb028d2d79111476e9c8ea1562b7f6275fd39d43abf410338d7c0ae2fff5a5", "conclusion {conclusion}": "dc328d7e11ecbdc61fa90fc18e3ced70b794ca55dcc476d03c88eff72f16274d", + "Concurrent work limit reached": "f60d0f2d4a9ba0c57c7e7835bd52a1912f39581799f2babb636d190317a96b54", "Confidence": "6422e3e78f5e5f5a15e92cc57ed7114adb289339251031ccb526d9249437dc82", "Configuration": "b332c3492d5eb10a118eb6d8b0dcd689bc2477ce2ae16b303753b942b54377bc", "Configuration digest": "5bbf2d321122a5a57d36c77291d232d51f9ae9a1655e80f042727754aea15bfe", @@ -2939,6 +2943,7 @@ "github": "c0b0109d9439de57fe3cf03abeccbc52f4c98170c732d3b69af5e6395ace574e", "GitHub": "f911e414cf6bdfc595532ab166b5ba0f63d73c021452fcdacbda363dda6ad8fb", "GitHub CI triage": "6a2368ce3943b296b07b5241227baf2a863d3f50f8a46ddb0889cbb5045ccd84", + "GitHub intake": "064829c63fcbc74d45753e04f583c69a391d25d4ed334de3b69fa2720f733cb1", "GitHub MCP": "408b061889ef672152b51ce8dbd56216d1b7e97303429b59538b99fe663c6f04", "GitHub not connected (GITHUB_TOKEN or GH_TOKEN)": "1cb239b6b5ea26422b411a25d3a4e254cdf45b7e730eb91b976a36f12adeb21b", "GitHub unavailable; retry later": "33b2cec76eccd24c4d8d61c265de8b06a6a20820ab1fccdcb433a22903909d02", @@ -4818,6 +4823,7 @@ "Policy details": "00e33950cacf32a39cc25f71ccb1650c4c788c12816e07681d80f0fdc537be98", "Policy narrows authority": "e9e2012e5ac96664fb03ff0f81f4f49cb5b8ee069149139352e7c89b73e43baa", "policy overlays": "db26199cf2a47a948b45caf37b4d50ede3ef415fad6c940cfe56a118970fcefb", + "Policy paused": "11fc11eaf385253466e26bac9916425e1e009695cd40adc4c7a132366d187518", "Policy review": "1cf67fef927c77770a1fcd8b20982b24b15cc0b6f1e8b56265d87baff019dd7e", "Policy snapshot artifact": "7f8b2985d498316ac01fa5f2276d2556cab712b4c8bc2b93e16dfc1353e23a77", "Poll once": "c7e7d724ff87555fb857467569ce709d958ee2d5d1ab2cc890554c7605e86e78", @@ -5013,6 +5019,7 @@ "Provider state": "633d1ca46603e61fc3d39459c1414102a27bbc4ba0adfb0b22ba5a205c2b9815", "Provider templates": "1e8649b7c667a6afc6dc88cbdb3069e349e850466cf3efa57eeedab9b70486f7", "Provider type": "8c0f6d3ebfe7ba3a0c0006068a9aa664d09244ba3cd438f2d56fab117bee1347", + "Provider unavailable": "ff2113958589f9bfb87b54f959be825d00ec5eca374d907bb343f98ebdbc84c3", "Provider version": "1f5ecefbd682ced2f438c8ae3c8849ba9effbe6cd77c19051cee2d2036ef9c90", "Provider warmup": "36ae143804c9a909bce770f54be5652b69b99ee7838cca99daa31e23d4d6d63c", "Provider was automatically rechecked after daemon restart.": "7bd8e8ee592f30e81adca8c96b079d6526846dc142bd99e5bbba3d9bebbde7a9", @@ -5398,6 +5405,8 @@ "Required for assigned teammates": "4732aa544a8d93b886e6bcbbcc5c3314af692f8a8a812efd4844cd3589b7b63a", "Required input": "fafaaf99b5a6af521026448890a9dacaf4d47053804a34be7cdf364e13637181", "Required input: {value}": "757166b8bf43ee39819f00d86fa61a84ddb3f3eba2a883c6bb996b8f82101d22", + "Required label": "5f623a5ad31f874a782d2205c9318ce524371a35d782b9a7021eab521c2fbbcd", + "Required label missing": "6913716764f8018414060c041e41a2951f5444efe5e97cd30a557be26403d1b1", "Required permissions": "edaffed36060c21e958b3fe562b7c57f51f67ba46326b1a9a5317a47b20e1747", "Required skill information is missing.": "e5cb742af5e92afab21f42c3edd4f5940db52a1c5320a9dd7236eca89a702789", "Required statuses": "c77453db9c939c7c7b8da080b0053847604126aefacf5a900d1d0fe30e4ba5ee", @@ -6407,6 +6416,7 @@ "Start an active Computer Use task first.": "1242a212935f863b51a7f3e8d16f12af408152d8047b274c5fef9fb7f1435f50", "Start autoplan": "7419a8efae15550dc21cccc23ca0a16c446e884842bfe48056af34a921175cb0", "Start background": "c690dc635cd0437e8911748d795084e5d32d0b75811490076285d41032d7300c", + "Start budget reached": "6b915cfb021a78ae6f8b4c1f2d9f40bbadcc486c04cbb00a807d52bfe78102ca", "Start by choosing a template or creating one manually.": "6a3ba02535ac7a0ab934b569a915927936dede63b4277ea4500e77c8835d4666", "Start child branch": "ee7b6caa5b4a1d3e8fd3ce47a26b42a4f2472834dfa17b2efc1864d0ed710948", "Start from a default role or blank teammate.": "1464ae64fd1ee987e353f53a2f9bab20053b2f0ae320c07839b7eecf710b8a96", @@ -6512,7 +6522,9 @@ "succeeded": "5dceaeceb6d8a49d3665594710ace68dfbc1800e2d663d7febb302b4dbee3d27", "Succeeded": "6d9a6f97a5fdaf3b90a0cf02e0b43d8b7ec1d05c0e4718e02ddd1c5b450e5b39", "Successfully generated {count} artifact based on the provided prompt.": "71f85e7639c004421f062f2dd6a129e5173931798f5d33b6f0482038b38a88fc", + "Suggest": "4effad823b048b0440dbeff42665f60a6ddec8e121c378966ed7c074a512c51f", "Suggest responsible owners based on context, decisions, and recent work.": "484eb4e21bcdd76a531a4234403ea29f0626094f9a2915b674f17e0b949be0a3", + "Suggested": "93b63bab4c3a28d73a8bb83bcdfdcc5f6ddecfc8fc702296ca159d94c5dc6e53", "Suggested next step": "78d74fd4ffec8d83a942e1274cfd15426b2b4bb2d96b15f905277638c339869e", "Suggested routing": "442b15c099c136738e26e139912a5f5d21e90216aade875a8db595b09c81fcbe", "Summaries": "87bc590e047d3df4a8e448ac83e371fad69dd73607752cccb0ff7d34263cef8f", @@ -7221,6 +7233,7 @@ "Untracked": "c7ba5477e19cf0bb25460d840cc2e67341e81e1c2d274d00b3054c73898d4d27", "unverified": "97b7e2db799e2b79e65f418b42a7d3054c95b2d3ab1dba243039597e44a38084", "Unverified": "33c8e8de41c3a35124251370e2a36e4d589f8789d80630abbbeceb933d3fb58f", + "Up to {concurrent} active and {starts} starts per {minutes} min": "cca43c28ef670fd5d55cb3bd813a2fef137043e4028096bcd2cdf22e2a06586b", "Up to date": "ce29b7f85b9eaf7dac52e625accb4b0cb56a856ebe9a9de9a09b613b6d978dca", "Update": "c1c1009d3f37ec058070a62e22caf9ac9dae2169d452487c5c271a8bcf57a291", "Update available": "ff8b555d818f0b25bbdd1bec8b479660bac7fc276acbe993e759bf67fed32c34", @@ -7548,6 +7561,7 @@ "Work intake, tool servers, and plugin bundles": "16b65a84c6fca2014b7e2d28b151bbf0afe19345230a0ac37304802311fed850", "Work is claimed": "c4b0d953436f2f59355d6540bae28e055ff49243f612887bbaed7bfd98c85d4d", "Work item ID": "1dcdad81d13850bd962965719f362fa7f32693b7b54fd8bb25d1e2402a470626", + "Work item paused": "299aabbf3c1418a3f01117e072d3bfe418e174bd1f355d1afdfae23c7b4bf678", "Work items": "5759a416f2b3b4ff92da23b8059419e06c39d27180b91a557f7cae779df3d2b6", "Work marked failed": "f26306888ed8c9a3808b8a420428f63e32d4c2223e7c9c89dd0a049806c539c6", "Work result": "19efe7487084061e9e358495b8a9bfd7e9d7c0035010e08ac35c14ba4ff8ca2a", @@ -8287,6 +8301,7 @@ "Allows": "परवानगी देते", "Allows commands starting with {command}": "{command} ने सुरू होणाऱ्या आदेशांना अनुमती देते", "Already imported": "आधीच आयात केले आहे", + "Already in work": "आधीच कामात आहे", "Also allow private memory and private chat queries remotely": "खाजगी मेमरी आणि खाजगी चॅट क्वेरींना दूरस्थपणे अनुमती द्या", "Alternatives": "पर्याय", "Alternatives considered": "पर्यायांचा विचार केला", @@ -8547,6 +8562,7 @@ "Auto-start by default": "Auto-start by default", "Auto-start step": "Auto-start step", "Automatic": "स्वयंचलित", + "Automatic intake": "स्वयंचलित सेवन", "Automatic learning is off": "स्वयंचलित शिक्षण बंद आहे", "Automatic parallel execution": "Automatic parallel execution", "Automatic proposals enabled": "स्वयंचलित प्रस्ताव सक्षम केले", @@ -8975,6 +8991,7 @@ "Check failed": "चेक अयशस्वी", "Check for changes": "बदल तपासा", "Check for updates": "अद्यतनांसाठी तपासा", + "Check GitHub inbox": "GitHub इनबॉक्स तपासा", "Check member status": "सदस्य स्थिती तपासा", "Check member status to load readiness.": "तत्परता लोड करण्यासाठी सदस्य स्थिती तपासा.", "Check needed": "तपासणे आवश्यक आहे", @@ -9282,6 +9299,7 @@ "Concise": "संक्षिप्त", "Concise, focused, direct.": "संक्षिप्त, केंद्रित, थेट.", "conclusion {conclusion}": "निष्कर्ष {conclusion}", + "Concurrent work limit reached": "समवर्ती काम मर्यादा गाठली", "Confidence": "आत्मविश्वास", "Configuration": "कॉन्फिगरेशन", "Configuration digest": "कॉन्फिगरेशन डायजेस्ट", @@ -10658,6 +10676,7 @@ "github": "github", "GitHub": "GitHub", "GitHub CI triage": "GitHub CI triage", + "GitHub intake": "GitHub सेवन", "GitHub MCP": "GitHub MCP", "GitHub not connected (GITHUB_TOKEN or GH_TOKEN)": "GitHub not connected (GITHUB_TOKEN or GH_TOKEN)", "GitHub unavailable; retry later": "GitHub unavailable; retry later", @@ -12537,6 +12556,7 @@ "Policy details": "धोरण तपशील", "Policy narrows authority": "धोरणामुळे अधिकार कमी होतात", "policy overlays": "धोरण आच्छादन", + "Policy paused": "धोरणाला विराम दिला", "Policy review": "धोरण पुनरावलोकन", "Policy snapshot artifact": "पॉलिसी स्नॅपशॉट आर्टिफॅक्ट", "Poll once": "एकदा मतदान करा", @@ -12732,6 +12752,7 @@ "Provider state": "प्रदाता राज्य", "Provider templates": "प्रदाता टेम्पलेट्स", "Provider type": "प्रदाता प्रकार", + "Provider unavailable": "प्रदाता अनुपलब्ध", "Provider version": "प्रदाता आवृत्ती", "Provider warmup": "प्रदाता वार्मअप", "Provider was automatically rechecked after daemon restart.": "डिमन रीस्टार्ट केल्यानंतर प्रदाता आपोआप पुन्हा तपासला गेला.", @@ -13117,6 +13138,8 @@ "Required for assigned teammates": "नियुक्त केलेल्या टीममेटसाठी आवश्यक", "Required input": "आवश्यक इनपुट", "Required input: {value}": "आवश्यक इनपुट: {value}", + "Required label": "आवश्यक लेबल", + "Required label missing": "आवश्यक लेबल गहाळ आहे", "Required permissions": "आवश्यक परवानग्या", "Required skill information is missing.": "आवश्यक कौशल्य माहिती गहाळ आहे.", "Required statuses": "Required statuses", @@ -14126,6 +14149,7 @@ "Start an active Computer Use task first.": "प्रथम सक्रिय Computer Use कार्य सुरू करा.", "Start autoplan": "ऑटोप्लॅन सुरू करा", "Start background": "पार्श्वभूमी सुरू करा", + "Start budget reached": "प्रारंभ बजेट गाठले", "Start by choosing a template or creating one manually.": "टेम्पलेट निवडून किंवा व्यक्तिचलितपणे तयार करून प्रारंभ करा.", "Start child branch": "बालशाखा सुरू करा", "Start from a default role or blank teammate.": "डीफॉल्ट भूमिका किंवा रिक्त टीममेट पासून प्रारंभ करा.", @@ -14231,7 +14255,9 @@ "succeeded": "यशस्वी झाले", "Succeeded": "यशस्वी झाले", "Successfully generated {count} artifact based on the provided prompt.": "प्रदान केलेल्या प्रॉम्प्टवर आधारित {count} आर्टिफॅक्ट यशस्वीरित्या व्युत्पन्न केले.", + "Suggest": "सुचवा", "Suggest responsible owners based on context, decisions, and recent work.": "संदर्भ, निर्णय आणि अलीकडील कामावर आधारित जबाबदार मालक सुचवा.", + "Suggested": "सुचवले", "Suggested next step": "पुढची पायरी सुचवली", "Suggested routing": "सुचविलेले मार्ग", "Summaries": "सारांश", @@ -14940,6 +14966,7 @@ "Untracked": "अनट्रॅक केलेले", "unverified": "असत्यापित", "Unverified": "असत्यापित", + "Up to {concurrent} active and {starts} starts per {minutes} min": "{concurrent} पर्यंत सक्रिय आणि {starts} प्रति {minutes} मिनिट सुरू होते", "Up to date": "अद्ययावत", "Update": "अपडेट करा", "Update available": "अपडेट उपलब्ध", @@ -15267,6 +15294,7 @@ "Work intake, tool servers, and plugin bundles": "कार्य सेवन, टूल सर्व्हर आणि प्लगइन बंडल", "Work is claimed": "कामाचा दावा केला जातो", "Work item ID": "कामाचा आयटम ID", + "Work item paused": "कामाच्या आयटमला विराम दिला", "Work items": "कामाच्या वस्तू", "Work marked failed": "चिन्हांकित केलेले कार्य अयशस्वी झाले", "Work result": "कामाचा परिणाम", diff --git a/packages/localization/catalogs/ms-MY.json b/packages/localization/catalogs/ms-MY.json index 051ef4027..ff75d96f0 100644 --- a/packages/localization/catalogs/ms-MY.json +++ b/packages/localization/catalogs/ms-MY.json @@ -1,6 +1,6 @@ { "locale": "ms-MY", - "sourceRevision": "214db76d79f1a5c0fd915c110a2ead6dbb978b58398846e982a0c1ff0cb53108", + "sourceRevision": "6468d2af71d2feb60f9b8c5f37bc2a3ff1177fb2c8b0d65e85002de6b1095cbb", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -568,6 +568,7 @@ "Allows": "8b1d52d202522d89fe65fb00e505abab46dc200a88c0be5d468a2a7e6dce9ccf", "Allows commands starting with {command}": "f5c5d446a6850880ae79768c175bacaf2bc487f715d5768d0b225eb643e3ce07", "Already imported": "e47fafe0a1c6f8d6b5c641c5d9cc7ca61e66a1c50bbc3b619c8ff5912444bfa8", + "Already in work": "ae40a6ff362406d9f1fdc40ad79cea7bd1705e6e173b2267f2a310777aedb387", "Also allow private memory and private chat queries remotely": "0b6b2ba6882b67c8b5b79f0f07964588232be1a9e520011e19bbea224c59a913", "Alternatives": "41055f72edad1559b8ba43440cd7938eb73685930c7141fede9b95000fd41299", "Alternatives considered": "73534cb410e6191096c7fa7ca56ba066f90b4fdede8677d64bc98068804afa3c", @@ -828,6 +829,7 @@ "Auto-start by default": "403861dc8396a3ea666e143d33e0429d3c26721771abf3face351259eee9b28f", "Auto-start step": "2bf61e4807ad3bf6ebc934bf54e917d5b3a87295001826be3a7dd57c7e75cc8d", "Automatic": "d461a493a3753877c9486cffa3444265a33370af8a7fff242fb119b71750839c", + "Automatic intake": "6eed82b223c717114773803e9d9d90d6d3cde9579bf264647347e559817a5081", "Automatic learning is off": "8ba1b4a02530490260a7b8e748e0809ddc3885213a009f3896264bc665060bdd", "Automatic parallel execution": "63d058c173c4a148a14094327c26d9af2c5bde1779c91dbf0d913e90b0687be9", "Automatic proposals enabled": "db670932d259eeedd26de8d7ca836594d5f3861ff24e1f94170c7333676c157a", @@ -1256,6 +1258,7 @@ "Check failed": "c8813c1128d545bfe7e7458ae24d724447097b3518643f86fa3e532f88e9fb40", "Check for changes": "5da755d1690f58c1c822a4b85422734bacc2122c7c67f4e8617f0765ac835113", "Check for updates": "f26f3275e735bdf6268532ca7cbea3887c9adad21d8df74e84b2bc7791475c0d", + "Check GitHub inbox": "51cd97da0bc2b213621668f69168386eaee18bdae064041094187404c9fc71ee", "Check member status": "ff155af014d0b6e94cbf2fca3b01cf8d5725732f178eee985083478adb4a62f5", "Check member status to load readiness.": "6f7f338e22e626b134643fbaec898cf8e8efd19b85eeb6193b4ca0d5d63c4528", "Check needed": "561a32f0c83e5a4fe8d77d891bd4b954d514ea021b4a18e68a3607f5d8747841", @@ -1563,6 +1566,7 @@ "Concise": "8340d833ab72d3321b07af0184597743b010e142b39593cebb450d4227e62f0c", "Concise, focused, direct.": "e9cb028d2d79111476e9c8ea1562b7f6275fd39d43abf410338d7c0ae2fff5a5", "conclusion {conclusion}": "dc328d7e11ecbdc61fa90fc18e3ced70b794ca55dcc476d03c88eff72f16274d", + "Concurrent work limit reached": "f60d0f2d4a9ba0c57c7e7835bd52a1912f39581799f2babb636d190317a96b54", "Confidence": "6422e3e78f5e5f5a15e92cc57ed7114adb289339251031ccb526d9249437dc82", "Configuration": "b332c3492d5eb10a118eb6d8b0dcd689bc2477ce2ae16b303753b942b54377bc", "Configuration digest": "5bbf2d321122a5a57d36c77291d232d51f9ae9a1655e80f042727754aea15bfe", @@ -2939,6 +2943,7 @@ "github": "c0b0109d9439de57fe3cf03abeccbc52f4c98170c732d3b69af5e6395ace574e", "GitHub": "f911e414cf6bdfc595532ab166b5ba0f63d73c021452fcdacbda363dda6ad8fb", "GitHub CI triage": "6a2368ce3943b296b07b5241227baf2a863d3f50f8a46ddb0889cbb5045ccd84", + "GitHub intake": "064829c63fcbc74d45753e04f583c69a391d25d4ed334de3b69fa2720f733cb1", "GitHub MCP": "408b061889ef672152b51ce8dbd56216d1b7e97303429b59538b99fe663c6f04", "GitHub not connected (GITHUB_TOKEN or GH_TOKEN)": "1cb239b6b5ea26422b411a25d3a4e254cdf45b7e730eb91b976a36f12adeb21b", "GitHub unavailable; retry later": "33b2cec76eccd24c4d8d61c265de8b06a6a20820ab1fccdcb433a22903909d02", @@ -4818,6 +4823,7 @@ "Policy details": "00e33950cacf32a39cc25f71ccb1650c4c788c12816e07681d80f0fdc537be98", "Policy narrows authority": "e9e2012e5ac96664fb03ff0f81f4f49cb5b8ee069149139352e7c89b73e43baa", "policy overlays": "db26199cf2a47a948b45caf37b4d50ede3ef415fad6c940cfe56a118970fcefb", + "Policy paused": "11fc11eaf385253466e26bac9916425e1e009695cd40adc4c7a132366d187518", "Policy review": "1cf67fef927c77770a1fcd8b20982b24b15cc0b6f1e8b56265d87baff019dd7e", "Policy snapshot artifact": "7f8b2985d498316ac01fa5f2276d2556cab712b4c8bc2b93e16dfc1353e23a77", "Poll once": "c7e7d724ff87555fb857467569ce709d958ee2d5d1ab2cc890554c7605e86e78", @@ -5013,6 +5019,7 @@ "Provider state": "633d1ca46603e61fc3d39459c1414102a27bbc4ba0adfb0b22ba5a205c2b9815", "Provider templates": "1e8649b7c667a6afc6dc88cbdb3069e349e850466cf3efa57eeedab9b70486f7", "Provider type": "8c0f6d3ebfe7ba3a0c0006068a9aa664d09244ba3cd438f2d56fab117bee1347", + "Provider unavailable": "ff2113958589f9bfb87b54f959be825d00ec5eca374d907bb343f98ebdbc84c3", "Provider version": "1f5ecefbd682ced2f438c8ae3c8849ba9effbe6cd77c19051cee2d2036ef9c90", "Provider warmup": "36ae143804c9a909bce770f54be5652b69b99ee7838cca99daa31e23d4d6d63c", "Provider was automatically rechecked after daemon restart.": "7bd8e8ee592f30e81adca8c96b079d6526846dc142bd99e5bbba3d9bebbde7a9", @@ -5398,6 +5405,8 @@ "Required for assigned teammates": "4732aa544a8d93b886e6bcbbcc5c3314af692f8a8a812efd4844cd3589b7b63a", "Required input": "fafaaf99b5a6af521026448890a9dacaf4d47053804a34be7cdf364e13637181", "Required input: {value}": "757166b8bf43ee39819f00d86fa61a84ddb3f3eba2a883c6bb996b8f82101d22", + "Required label": "5f623a5ad31f874a782d2205c9318ce524371a35d782b9a7021eab521c2fbbcd", + "Required label missing": "6913716764f8018414060c041e41a2951f5444efe5e97cd30a557be26403d1b1", "Required permissions": "edaffed36060c21e958b3fe562b7c57f51f67ba46326b1a9a5317a47b20e1747", "Required skill information is missing.": "e5cb742af5e92afab21f42c3edd4f5940db52a1c5320a9dd7236eca89a702789", "Required statuses": "c77453db9c939c7c7b8da080b0053847604126aefacf5a900d1d0fe30e4ba5ee", @@ -6407,6 +6416,7 @@ "Start an active Computer Use task first.": "1242a212935f863b51a7f3e8d16f12af408152d8047b274c5fef9fb7f1435f50", "Start autoplan": "7419a8efae15550dc21cccc23ca0a16c446e884842bfe48056af34a921175cb0", "Start background": "c690dc635cd0437e8911748d795084e5d32d0b75811490076285d41032d7300c", + "Start budget reached": "6b915cfb021a78ae6f8b4c1f2d9f40bbadcc486c04cbb00a807d52bfe78102ca", "Start by choosing a template or creating one manually.": "6a3ba02535ac7a0ab934b569a915927936dede63b4277ea4500e77c8835d4666", "Start child branch": "ee7b6caa5b4a1d3e8fd3ce47a26b42a4f2472834dfa17b2efc1864d0ed710948", "Start from a default role or blank teammate.": "1464ae64fd1ee987e353f53a2f9bab20053b2f0ae320c07839b7eecf710b8a96", @@ -6512,7 +6522,9 @@ "succeeded": "5dceaeceb6d8a49d3665594710ace68dfbc1800e2d663d7febb302b4dbee3d27", "Succeeded": "6d9a6f97a5fdaf3b90a0cf02e0b43d8b7ec1d05c0e4718e02ddd1c5b450e5b39", "Successfully generated {count} artifact based on the provided prompt.": "71f85e7639c004421f062f2dd6a129e5173931798f5d33b6f0482038b38a88fc", + "Suggest": "4effad823b048b0440dbeff42665f60a6ddec8e121c378966ed7c074a512c51f", "Suggest responsible owners based on context, decisions, and recent work.": "484eb4e21bcdd76a531a4234403ea29f0626094f9a2915b674f17e0b949be0a3", + "Suggested": "93b63bab4c3a28d73a8bb83bcdfdcc5f6ddecfc8fc702296ca159d94c5dc6e53", "Suggested next step": "78d74fd4ffec8d83a942e1274cfd15426b2b4bb2d96b15f905277638c339869e", "Suggested routing": "442b15c099c136738e26e139912a5f5d21e90216aade875a8db595b09c81fcbe", "Summaries": "87bc590e047d3df4a8e448ac83e371fad69dd73607752cccb0ff7d34263cef8f", @@ -7221,6 +7233,7 @@ "Untracked": "c7ba5477e19cf0bb25460d840cc2e67341e81e1c2d274d00b3054c73898d4d27", "unverified": "97b7e2db799e2b79e65f418b42a7d3054c95b2d3ab1dba243039597e44a38084", "Unverified": "33c8e8de41c3a35124251370e2a36e4d589f8789d80630abbbeceb933d3fb58f", + "Up to {concurrent} active and {starts} starts per {minutes} min": "cca43c28ef670fd5d55cb3bd813a2fef137043e4028096bcd2cdf22e2a06586b", "Up to date": "ce29b7f85b9eaf7dac52e625accb4b0cb56a856ebe9a9de9a09b613b6d978dca", "Update": "c1c1009d3f37ec058070a62e22caf9ac9dae2169d452487c5c271a8bcf57a291", "Update available": "ff8b555d818f0b25bbdd1bec8b479660bac7fc276acbe993e759bf67fed32c34", @@ -7548,6 +7561,7 @@ "Work intake, tool servers, and plugin bundles": "16b65a84c6fca2014b7e2d28b151bbf0afe19345230a0ac37304802311fed850", "Work is claimed": "c4b0d953436f2f59355d6540bae28e055ff49243f612887bbaed7bfd98c85d4d", "Work item ID": "1dcdad81d13850bd962965719f362fa7f32693b7b54fd8bb25d1e2402a470626", + "Work item paused": "299aabbf3c1418a3f01117e072d3bfe418e174bd1f355d1afdfae23c7b4bf678", "Work items": "5759a416f2b3b4ff92da23b8059419e06c39d27180b91a557f7cae779df3d2b6", "Work marked failed": "f26306888ed8c9a3808b8a420428f63e32d4c2223e7c9c89dd0a049806c539c6", "Work result": "19efe7487084061e9e358495b8a9bfd7e9d7c0035010e08ac35c14ba4ff8ca2a", @@ -8287,6 +8301,7 @@ "Allows": "Membolehkan", "Allows commands starting with {command}": "Membenarkan arahan bermula dengan {command}", "Already imported": "Sudah diimport", + "Already in work": "Sudah masuk kerja", "Also allow private memory and private chat queries remotely": "Juga benarkan memori peribadi dan pertanyaan sembang peribadi dari jauh", "Alternatives": "Alternatif", "Alternatives considered": "Alternatif dipertimbangkan", @@ -8547,6 +8562,7 @@ "Auto-start by default": "Auto-start by default", "Auto-start step": "Auto-start step", "Automatic": "Automatik", + "Automatic intake": "Pengambilan automatik", "Automatic learning is off": "Pembelajaran automatik dimatikan", "Automatic parallel execution": "Automatic parallel execution", "Automatic proposals enabled": "Cadangan automatik didayakan", @@ -8975,6 +8991,7 @@ "Check failed": "Semakan gagal", "Check for changes": "Semak perubahan", "Check for updates": "Semak kemas kini", + "Check GitHub inbox": "Semak peti masuk GitHub", "Check member status": "Semak status ahli", "Check member status to load readiness.": "Semak status ahli untuk memuatkan kesediaan.", "Check needed": "Cek diperlukan", @@ -9282,6 +9299,7 @@ "Concise": "Ringkas", "Concise, focused, direct.": "Ringkas, fokus, langsung.", "conclusion {conclusion}": "kesimpulan {conclusion}", + "Concurrent work limit reached": "Had kerja serentak dicapai", "Confidence": "Keyakinan", "Configuration": "Konfigurasi", "Configuration digest": "Ringkasan konfigurasi", @@ -10658,6 +10676,7 @@ "github": "github", "GitHub": "GitHub", "GitHub CI triage": "Triaj GitHub CI", + "GitHub intake": "Pengambilan GitHub", "GitHub MCP": "GitHub MCP", "GitHub not connected (GITHUB_TOKEN or GH_TOKEN)": "GitHub not connected (GITHUB_TOKEN or GH_TOKEN)", "GitHub unavailable; retry later": "GitHub unavailable; retry later", @@ -12537,6 +12556,7 @@ "Policy details": "Butiran dasar", "Policy narrows authority": "Dasar menyempitkan kuasa", "policy overlays": "tindanan dasar", + "Policy paused": "Dasar dijeda", "Policy review": "Semakan dasar", "Policy snapshot artifact": "Artifak syot kilat dasar", "Poll once": "Poll sekali", @@ -12732,6 +12752,7 @@ "Provider state": "Negeri pembekal", "Provider templates": "Templat pembekal", "Provider type": "Jenis pembekal", + "Provider unavailable": "Pembekal tidak tersedia", "Provider version": "Versi pembekal", "Provider warmup": "Pemanasan pembekal", "Provider was automatically rechecked after daemon restart.": "Pembekal telah disemak semula secara automatik selepas daemon dimulakan semula.", @@ -13117,6 +13138,8 @@ "Required for assigned teammates": "Diperlukan untuk rakan sepasukan yang ditetapkan", "Required input": "Input yang diperlukan", "Required input: {value}": "Input yang diperlukan: {value}", + "Required label": "Label yang diperlukan", + "Required label missing": "Label yang diperlukan tiada", "Required permissions": "Keizinan yang diperlukan", "Required skill information is missing.": "Maklumat kemahiran yang diperlukan tiada.", "Required statuses": "Required statuses", @@ -14126,6 +14149,7 @@ "Start an active Computer Use task first.": "Mulakan tugas Computer Use yang aktif dahulu.", "Start autoplan": "Mulakan autoplan", "Start background": "Mulakan latar belakang", + "Start budget reached": "Belanjawan mula tercapai", "Start by choosing a template or creating one manually.": "Mulakan dengan memilih templat atau menciptanya secara manual.", "Start child branch": "Mulakan cawangan anak", "Start from a default role or blank teammate.": "Mulakan daripada peranan lalai atau rakan sepasukan kosong.", @@ -14231,7 +14255,9 @@ "succeeded": "berjaya", "Succeeded": "Berjaya", "Successfully generated {count} artifact based on the provided prompt.": "Berjaya menjana artifak {count} berdasarkan gesaan yang diberikan.", + "Suggest": "Cadangkan", "Suggest responsible owners based on context, decisions, and recent work.": "Cadangkan pemilik yang bertanggungjawab berdasarkan konteks, keputusan dan kerja terkini.", + "Suggested": "Dicadangkan", "Suggested next step": "Langkah seterusnya yang dicadangkan", "Suggested routing": "Cadangan laluan", "Summaries": "Ringkasan", @@ -14940,6 +14966,7 @@ "Untracked": "Tidak dijejaki", "unverified": "tidak disahkan", "Unverified": "Tidak disahkan", + "Up to {concurrent} active and {starts} starts per {minutes} min": "Sehingga {concurrent} aktif dan {starts} bermula setiap {minutes} min", "Up to date": "Terkini", "Update": "Kemas kini", "Update available": "Kemas kini tersedia", @@ -15267,6 +15294,7 @@ "Work intake, tool servers, and plugin bundles": "Pengambilan kerja, pelayan alat dan himpunan pemalam", "Work is claimed": "Kerja dituntut", "Work item ID": "Item kerja ID", + "Work item paused": "Item kerja dijeda", "Work items": "Barang kerja", "Work marked failed": "Kerja yang ditanda gagal", "Work result": "Hasil kerja", diff --git a/packages/localization/catalogs/my-MM.json b/packages/localization/catalogs/my-MM.json index 49815c4d3..0f15dddb1 100644 --- a/packages/localization/catalogs/my-MM.json +++ b/packages/localization/catalogs/my-MM.json @@ -1,6 +1,6 @@ { "locale": "my-MM", - "sourceRevision": "214db76d79f1a5c0fd915c110a2ead6dbb978b58398846e982a0c1ff0cb53108", + "sourceRevision": "6468d2af71d2feb60f9b8c5f37bc2a3ff1177fb2c8b0d65e85002de6b1095cbb", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -568,6 +568,7 @@ "Allows": "8b1d52d202522d89fe65fb00e505abab46dc200a88c0be5d468a2a7e6dce9ccf", "Allows commands starting with {command}": "f5c5d446a6850880ae79768c175bacaf2bc487f715d5768d0b225eb643e3ce07", "Already imported": "e47fafe0a1c6f8d6b5c641c5d9cc7ca61e66a1c50bbc3b619c8ff5912444bfa8", + "Already in work": "ae40a6ff362406d9f1fdc40ad79cea7bd1705e6e173b2267f2a310777aedb387", "Also allow private memory and private chat queries remotely": "0b6b2ba6882b67c8b5b79f0f07964588232be1a9e520011e19bbea224c59a913", "Alternatives": "41055f72edad1559b8ba43440cd7938eb73685930c7141fede9b95000fd41299", "Alternatives considered": "73534cb410e6191096c7fa7ca56ba066f90b4fdede8677d64bc98068804afa3c", @@ -828,6 +829,7 @@ "Auto-start by default": "403861dc8396a3ea666e143d33e0429d3c26721771abf3face351259eee9b28f", "Auto-start step": "2bf61e4807ad3bf6ebc934bf54e917d5b3a87295001826be3a7dd57c7e75cc8d", "Automatic": "d461a493a3753877c9486cffa3444265a33370af8a7fff242fb119b71750839c", + "Automatic intake": "6eed82b223c717114773803e9d9d90d6d3cde9579bf264647347e559817a5081", "Automatic learning is off": "8ba1b4a02530490260a7b8e748e0809ddc3885213a009f3896264bc665060bdd", "Automatic parallel execution": "63d058c173c4a148a14094327c26d9af2c5bde1779c91dbf0d913e90b0687be9", "Automatic proposals enabled": "db670932d259eeedd26de8d7ca836594d5f3861ff24e1f94170c7333676c157a", @@ -1256,6 +1258,7 @@ "Check failed": "c8813c1128d545bfe7e7458ae24d724447097b3518643f86fa3e532f88e9fb40", "Check for changes": "5da755d1690f58c1c822a4b85422734bacc2122c7c67f4e8617f0765ac835113", "Check for updates": "f26f3275e735bdf6268532ca7cbea3887c9adad21d8df74e84b2bc7791475c0d", + "Check GitHub inbox": "51cd97da0bc2b213621668f69168386eaee18bdae064041094187404c9fc71ee", "Check member status": "ff155af014d0b6e94cbf2fca3b01cf8d5725732f178eee985083478adb4a62f5", "Check member status to load readiness.": "6f7f338e22e626b134643fbaec898cf8e8efd19b85eeb6193b4ca0d5d63c4528", "Check needed": "561a32f0c83e5a4fe8d77d891bd4b954d514ea021b4a18e68a3607f5d8747841", @@ -1563,6 +1566,7 @@ "Concise": "8340d833ab72d3321b07af0184597743b010e142b39593cebb450d4227e62f0c", "Concise, focused, direct.": "e9cb028d2d79111476e9c8ea1562b7f6275fd39d43abf410338d7c0ae2fff5a5", "conclusion {conclusion}": "dc328d7e11ecbdc61fa90fc18e3ced70b794ca55dcc476d03c88eff72f16274d", + "Concurrent work limit reached": "f60d0f2d4a9ba0c57c7e7835bd52a1912f39581799f2babb636d190317a96b54", "Confidence": "6422e3e78f5e5f5a15e92cc57ed7114adb289339251031ccb526d9249437dc82", "Configuration": "b332c3492d5eb10a118eb6d8b0dcd689bc2477ce2ae16b303753b942b54377bc", "Configuration digest": "5bbf2d321122a5a57d36c77291d232d51f9ae9a1655e80f042727754aea15bfe", @@ -2939,6 +2943,7 @@ "github": "c0b0109d9439de57fe3cf03abeccbc52f4c98170c732d3b69af5e6395ace574e", "GitHub": "f911e414cf6bdfc595532ab166b5ba0f63d73c021452fcdacbda363dda6ad8fb", "GitHub CI triage": "6a2368ce3943b296b07b5241227baf2a863d3f50f8a46ddb0889cbb5045ccd84", + "GitHub intake": "064829c63fcbc74d45753e04f583c69a391d25d4ed334de3b69fa2720f733cb1", "GitHub MCP": "408b061889ef672152b51ce8dbd56216d1b7e97303429b59538b99fe663c6f04", "GitHub not connected (GITHUB_TOKEN or GH_TOKEN)": "1cb239b6b5ea26422b411a25d3a4e254cdf45b7e730eb91b976a36f12adeb21b", "GitHub unavailable; retry later": "33b2cec76eccd24c4d8d61c265de8b06a6a20820ab1fccdcb433a22903909d02", @@ -4818,6 +4823,7 @@ "Policy details": "00e33950cacf32a39cc25f71ccb1650c4c788c12816e07681d80f0fdc537be98", "Policy narrows authority": "e9e2012e5ac96664fb03ff0f81f4f49cb5b8ee069149139352e7c89b73e43baa", "policy overlays": "db26199cf2a47a948b45caf37b4d50ede3ef415fad6c940cfe56a118970fcefb", + "Policy paused": "11fc11eaf385253466e26bac9916425e1e009695cd40adc4c7a132366d187518", "Policy review": "1cf67fef927c77770a1fcd8b20982b24b15cc0b6f1e8b56265d87baff019dd7e", "Policy snapshot artifact": "7f8b2985d498316ac01fa5f2276d2556cab712b4c8bc2b93e16dfc1353e23a77", "Poll once": "c7e7d724ff87555fb857467569ce709d958ee2d5d1ab2cc890554c7605e86e78", @@ -5013,6 +5019,7 @@ "Provider state": "633d1ca46603e61fc3d39459c1414102a27bbc4ba0adfb0b22ba5a205c2b9815", "Provider templates": "1e8649b7c667a6afc6dc88cbdb3069e349e850466cf3efa57eeedab9b70486f7", "Provider type": "8c0f6d3ebfe7ba3a0c0006068a9aa664d09244ba3cd438f2d56fab117bee1347", + "Provider unavailable": "ff2113958589f9bfb87b54f959be825d00ec5eca374d907bb343f98ebdbc84c3", "Provider version": "1f5ecefbd682ced2f438c8ae3c8849ba9effbe6cd77c19051cee2d2036ef9c90", "Provider warmup": "36ae143804c9a909bce770f54be5652b69b99ee7838cca99daa31e23d4d6d63c", "Provider was automatically rechecked after daemon restart.": "7bd8e8ee592f30e81adca8c96b079d6526846dc142bd99e5bbba3d9bebbde7a9", @@ -5398,6 +5405,8 @@ "Required for assigned teammates": "4732aa544a8d93b886e6bcbbcc5c3314af692f8a8a812efd4844cd3589b7b63a", "Required input": "fafaaf99b5a6af521026448890a9dacaf4d47053804a34be7cdf364e13637181", "Required input: {value}": "757166b8bf43ee39819f00d86fa61a84ddb3f3eba2a883c6bb996b8f82101d22", + "Required label": "5f623a5ad31f874a782d2205c9318ce524371a35d782b9a7021eab521c2fbbcd", + "Required label missing": "6913716764f8018414060c041e41a2951f5444efe5e97cd30a557be26403d1b1", "Required permissions": "edaffed36060c21e958b3fe562b7c57f51f67ba46326b1a9a5317a47b20e1747", "Required skill information is missing.": "e5cb742af5e92afab21f42c3edd4f5940db52a1c5320a9dd7236eca89a702789", "Required statuses": "c77453db9c939c7c7b8da080b0053847604126aefacf5a900d1d0fe30e4ba5ee", @@ -6407,6 +6416,7 @@ "Start an active Computer Use task first.": "1242a212935f863b51a7f3e8d16f12af408152d8047b274c5fef9fb7f1435f50", "Start autoplan": "7419a8efae15550dc21cccc23ca0a16c446e884842bfe48056af34a921175cb0", "Start background": "c690dc635cd0437e8911748d795084e5d32d0b75811490076285d41032d7300c", + "Start budget reached": "6b915cfb021a78ae6f8b4c1f2d9f40bbadcc486c04cbb00a807d52bfe78102ca", "Start by choosing a template or creating one manually.": "6a3ba02535ac7a0ab934b569a915927936dede63b4277ea4500e77c8835d4666", "Start child branch": "ee7b6caa5b4a1d3e8fd3ce47a26b42a4f2472834dfa17b2efc1864d0ed710948", "Start from a default role or blank teammate.": "1464ae64fd1ee987e353f53a2f9bab20053b2f0ae320c07839b7eecf710b8a96", @@ -6512,7 +6522,9 @@ "succeeded": "5dceaeceb6d8a49d3665594710ace68dfbc1800e2d663d7febb302b4dbee3d27", "Succeeded": "6d9a6f97a5fdaf3b90a0cf02e0b43d8b7ec1d05c0e4718e02ddd1c5b450e5b39", "Successfully generated {count} artifact based on the provided prompt.": "71f85e7639c004421f062f2dd6a129e5173931798f5d33b6f0482038b38a88fc", + "Suggest": "4effad823b048b0440dbeff42665f60a6ddec8e121c378966ed7c074a512c51f", "Suggest responsible owners based on context, decisions, and recent work.": "484eb4e21bcdd76a531a4234403ea29f0626094f9a2915b674f17e0b949be0a3", + "Suggested": "93b63bab4c3a28d73a8bb83bcdfdcc5f6ddecfc8fc702296ca159d94c5dc6e53", "Suggested next step": "78d74fd4ffec8d83a942e1274cfd15426b2b4bb2d96b15f905277638c339869e", "Suggested routing": "442b15c099c136738e26e139912a5f5d21e90216aade875a8db595b09c81fcbe", "Summaries": "87bc590e047d3df4a8e448ac83e371fad69dd73607752cccb0ff7d34263cef8f", @@ -7221,6 +7233,7 @@ "Untracked": "c7ba5477e19cf0bb25460d840cc2e67341e81e1c2d274d00b3054c73898d4d27", "unverified": "97b7e2db799e2b79e65f418b42a7d3054c95b2d3ab1dba243039597e44a38084", "Unverified": "33c8e8de41c3a35124251370e2a36e4d589f8789d80630abbbeceb933d3fb58f", + "Up to {concurrent} active and {starts} starts per {minutes} min": "cca43c28ef670fd5d55cb3bd813a2fef137043e4028096bcd2cdf22e2a06586b", "Up to date": "ce29b7f85b9eaf7dac52e625accb4b0cb56a856ebe9a9de9a09b613b6d978dca", "Update": "c1c1009d3f37ec058070a62e22caf9ac9dae2169d452487c5c271a8bcf57a291", "Update available": "ff8b555d818f0b25bbdd1bec8b479660bac7fc276acbe993e759bf67fed32c34", @@ -7548,6 +7561,7 @@ "Work intake, tool servers, and plugin bundles": "16b65a84c6fca2014b7e2d28b151bbf0afe19345230a0ac37304802311fed850", "Work is claimed": "c4b0d953436f2f59355d6540bae28e055ff49243f612887bbaed7bfd98c85d4d", "Work item ID": "1dcdad81d13850bd962965719f362fa7f32693b7b54fd8bb25d1e2402a470626", + "Work item paused": "299aabbf3c1418a3f01117e072d3bfe418e174bd1f355d1afdfae23c7b4bf678", "Work items": "5759a416f2b3b4ff92da23b8059419e06c39d27180b91a557f7cae779df3d2b6", "Work marked failed": "f26306888ed8c9a3808b8a420428f63e32d4c2223e7c9c89dd0a049806c539c6", "Work result": "19efe7487084061e9e358495b8a9bfd7e9d7c0035010e08ac35c14ba4ff8ca2a", @@ -8287,6 +8301,7 @@ "Allows": "ခွင့်ပြုသည်။", "Allows commands starting with {command}": "{command} ဖြင့် စတင်သော အမိန့်များကို ခွင့်ပြုသည်", "Already imported": "တင်သွင်းထားပြီးဖြစ်သည်။", + "Already in work": "အလုပ်ဝင်နေပြီ။", "Also allow private memory and private chat queries remotely": "သီးသန့်မှတ်ဉာဏ်နှင့် သီးသန့်ချတ်မေးမြန်းချက်များကို အဝေးမှလည်း ခွင့်ပြုပါ။", "Alternatives": "အခြားရွေးချယ်စရာများ", "Alternatives considered": "အစားထိုးစဉ်းစားသည်။", @@ -8547,6 +8562,7 @@ "Auto-start by default": "Auto-start by default", "Auto-start step": "Auto-start step", "Automatic": "အလိုအလျောက်", + "Automatic intake": "အလိုအလျောက် စားသုံးခြင်း။", "Automatic learning is off": "အလိုအလျောက် သင်ယူမှုကို ပိတ်ထားသည်။", "Automatic parallel execution": "Automatic parallel execution", "Automatic proposals enabled": "အလိုအလျောက် အဆိုပြုချက်များကို ဖွင့်ထားသည်။", @@ -8975,6 +8991,7 @@ "Check failed": "စစ်ဆေးခြင်း မအောင်မြင်ပါ။", "Check for changes": "ပြောင်းလဲမှုများကို စစ်ဆေးပါ။", "Check for updates": "အပ်ဒိတ်များအတွက် စစ်ဆေးပါ။", + "Check GitHub inbox": "GitHub inbox ကိုစစ်ဆေးပါ။", "Check member status": "အဖွဲ့ဝင်အခြေအနေကိုစစ်ဆေးပါ။", "Check member status to load readiness.": "အဆင်သင့်တင်ရန် အဖွဲ့ဝင်အခြေအနေကို စစ်ဆေးပါ။", "Check needed": "စစ်ဆေးရန် လိုအပ်ပါသည်။", @@ -9282,6 +9299,7 @@ "Concise": "တိကျတယ်။", "Concise, focused, direct.": "တိုတိုတုတ်တုတ်၊ အာရုံစိုက်၊ တိုက်ရိုက်။", "conclusion {conclusion}": "နိဂုံးချုပ် {conclusion}", + "Concurrent work limit reached": "တစ်ချိန်တည်းတွင် အလုပ်ကန့်သတ်ချက် ပြည့်သွားပါပြီ။", "Confidence": "ယုံကြည်မှု", "Configuration": "ဖွဲ့စည်းမှု", "Configuration digest": "ဖွဲ့စည်းမှုအကျဉ်းချုပ်", @@ -10658,6 +10676,7 @@ "github": "github", "GitHub": "GitHub", "GitHub CI triage": "GitHub CI triage", + "GitHub intake": "GitHub စားသုံးမှု", "GitHub MCP": "GitHub MCP", "GitHub not connected (GITHUB_TOKEN or GH_TOKEN)": "GitHub not connected (GITHUB_TOKEN or GH_TOKEN)", "GitHub unavailable; retry later": "GitHub unavailable; retry later", @@ -12537,6 +12556,7 @@ "Policy details": "မူဝါဒအသေးစိတ်", "Policy narrows authority": "မူဝါဒက အာဏာကို ကျဉ်းမြောင်းစေတယ်။", "policy overlays": "မူဝါဒထပ်ဆင့်မှုများ", + "Policy paused": "မူဝါဒ ခေတ္တရပ်ထားသည်။", "Policy review": "မူဝါဒသုံးသပ်ချက်", "Policy snapshot artifact": "မူဝါဒ လျှပ်တစ်ပြက် မှတ်တမ်း", "Poll once": "တခါ မဲရုံ", @@ -12732,6 +12752,7 @@ "Provider state": "ပံ့ပိုးသူပြည်နယ်", "Provider templates": "ပံ့ပိုးပေးသူ နမူနာများ", "Provider type": "ဝန်ဆောင်မှုပေးသူ အမျိုးအစား", + "Provider unavailable": "ဝန်ဆောင်မှုပေးသူကို မရရှိနိုင်ပါ။", "Provider version": "ပံ့ပိုးသူဗားရှင်း", "Provider warmup": "ပံ့ပိုးသူ သွေးပူပေးခြင်း", "Provider was automatically rechecked after daemon restart.": "daemon ပြန်လည်စတင်ပြီးနောက် ဝန်ဆောင်မှုပေးသူကို အလိုအလျောက် ပြန်လည်စစ်ဆေးခဲ့သည်။", @@ -13117,6 +13138,8 @@ "Required for assigned teammates": "အသင်းဖော်များအတွက် လိုအပ်ပါသည်။", "Required input": "လိုအပ်သောထည့်သွင်းမှု", "Required input: {value}": "လိုအပ်သောထည့်သွင်းမှု- {value}", + "Required label": "လိုအပ်သောတံဆိပ်", + "Required label missing": "လိုအပ်သော အညွှန်းများ ပျောက်နေသည်။", "Required permissions": "လိုအပ်သောခွင့်ပြုချက်များ", "Required skill information is missing.": "လိုအပ်သော ကျွမ်းကျင်မှု အချက်အလက် ပျောက်ဆုံးနေပါသည်။", "Required statuses": "Required statuses", @@ -14126,6 +14149,7 @@ "Start an active Computer Use task first.": "အသက်ဝင်သော Computer Use လုပ်ငန်းကို ဦးစွာ စတင်ပါ။", "Start autoplan": "အလိုအလျောက်အစီအစဉ်ကို စတင်ပါ။", "Start background": "နောက်ခံကို စတင်ပါ။", + "Start budget reached": "ဘတ်ဂျက်စတင်ရောက်ရှိပါပြီ။", "Start by choosing a template or creating one manually.": "နမူနာပုံစံတစ်ခုကို ရွေးချယ်ခြင်း သို့မဟုတ် ကိုယ်တိုင်ဖန်တီးခြင်းဖြင့် စတင်ပါ။", "Start child branch": "ကလေးဌာနခွဲကို စတင်ပါ။", "Start from a default role or blank teammate.": "မူရင်းအခန်းကဏ္ဍ သို့မဟုတ် အသင်းဖော်အလွတ်မှ စတင်ပါ။", @@ -14231,7 +14255,9 @@ "succeeded": "အောင်မြင်ခဲ့သည်။", "Succeeded": "အောင်မယ်။", "Successfully generated {count} artifact based on the provided prompt.": "ပံ့ပိုးပေးထားသည့် အချက်ပေါ်အခြေခံ၍ {count} ရှေးဟောင်းပစ္စည်းကို အောင်မြင်စွာ ထုတ်လုပ်ခဲ့သည်။", + "Suggest": "အကြံပြုသည်။", "Suggest responsible owners based on context, decisions, and recent work.": "အကြောင်းအရာ၊ ဆုံးဖြတ်ချက်များနှင့် လတ်တလောအလုပ်များအပေါ် အခြေခံ၍ တာဝန်ရှိပိုင်ရှင်များကို အကြံပြုပါ။", + "Suggested": "အကြံပြုသည်။", "Suggested next step": "နောက်တစ်ဆင့်ကို အကြံပြုထားပါတယ်။", "Suggested routing": "လမ်းကြောင်းကို အကြံပြုထားသည်။", "Summaries": "အနှစ်ချုပ်များ", @@ -14940,6 +14966,7 @@ "Untracked": "ခြေရာခံမထားပါ။", "unverified": "အတည်မပြုရသေးပါ။", "Unverified": "အတည်မပြုရသေးပါ။", + "Up to {concurrent} active and {starts} starts per {minutes} min": "{concurrent} အထိ တက်ကြွပြီး {minutes} မိနစ်လျှင် {starts} စတင်သည်။", "Up to date": "နောက်ဆုံးပေါ်", "Update": "အပ်ဒိတ်", "Update available": "အပ်ဒိတ်ရနိုင်သည်။", @@ -15267,6 +15294,7 @@ "Work intake, tool servers, and plugin bundles": "အလုပ်ဝင်ရောက်မှု၊ တူးလ်ဆာဗာများနှင့် ပလပ်အင်အစုအဝေးများ", "Work is claimed": "အလုပ်က တောင်းဆိုတယ်။", "Work item ID": "အလုပ်ပစ္စည်း ID", + "Work item paused": "အလုပ်အကြောင်းအရာကို ခေတ္တရပ်ထားသည်။", "Work items": "အလုပ်ပစ္စည်းများ", "Work marked failed": "အလုပ်မအောင်မြင်ပါ။", "Work result": "အလုပ်ရလဒ်", diff --git a/packages/localization/catalogs/nb-NO.json b/packages/localization/catalogs/nb-NO.json index 61028bb55..506f45e4b 100644 --- a/packages/localization/catalogs/nb-NO.json +++ b/packages/localization/catalogs/nb-NO.json @@ -1,6 +1,6 @@ { "locale": "nb-NO", - "sourceRevision": "214db76d79f1a5c0fd915c110a2ead6dbb978b58398846e982a0c1ff0cb53108", + "sourceRevision": "6468d2af71d2feb60f9b8c5f37bc2a3ff1177fb2c8b0d65e85002de6b1095cbb", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -568,6 +568,7 @@ "Allows": "8b1d52d202522d89fe65fb00e505abab46dc200a88c0be5d468a2a7e6dce9ccf", "Allows commands starting with {command}": "f5c5d446a6850880ae79768c175bacaf2bc487f715d5768d0b225eb643e3ce07", "Already imported": "e47fafe0a1c6f8d6b5c641c5d9cc7ca61e66a1c50bbc3b619c8ff5912444bfa8", + "Already in work": "ae40a6ff362406d9f1fdc40ad79cea7bd1705e6e173b2267f2a310777aedb387", "Also allow private memory and private chat queries remotely": "0b6b2ba6882b67c8b5b79f0f07964588232be1a9e520011e19bbea224c59a913", "Alternatives": "41055f72edad1559b8ba43440cd7938eb73685930c7141fede9b95000fd41299", "Alternatives considered": "73534cb410e6191096c7fa7ca56ba066f90b4fdede8677d64bc98068804afa3c", @@ -828,6 +829,7 @@ "Auto-start by default": "403861dc8396a3ea666e143d33e0429d3c26721771abf3face351259eee9b28f", "Auto-start step": "2bf61e4807ad3bf6ebc934bf54e917d5b3a87295001826be3a7dd57c7e75cc8d", "Automatic": "d461a493a3753877c9486cffa3444265a33370af8a7fff242fb119b71750839c", + "Automatic intake": "6eed82b223c717114773803e9d9d90d6d3cde9579bf264647347e559817a5081", "Automatic learning is off": "8ba1b4a02530490260a7b8e748e0809ddc3885213a009f3896264bc665060bdd", "Automatic parallel execution": "63d058c173c4a148a14094327c26d9af2c5bde1779c91dbf0d913e90b0687be9", "Automatic proposals enabled": "db670932d259eeedd26de8d7ca836594d5f3861ff24e1f94170c7333676c157a", @@ -1256,6 +1258,7 @@ "Check failed": "c8813c1128d545bfe7e7458ae24d724447097b3518643f86fa3e532f88e9fb40", "Check for changes": "5da755d1690f58c1c822a4b85422734bacc2122c7c67f4e8617f0765ac835113", "Check for updates": "f26f3275e735bdf6268532ca7cbea3887c9adad21d8df74e84b2bc7791475c0d", + "Check GitHub inbox": "51cd97da0bc2b213621668f69168386eaee18bdae064041094187404c9fc71ee", "Check member status": "ff155af014d0b6e94cbf2fca3b01cf8d5725732f178eee985083478adb4a62f5", "Check member status to load readiness.": "6f7f338e22e626b134643fbaec898cf8e8efd19b85eeb6193b4ca0d5d63c4528", "Check needed": "561a32f0c83e5a4fe8d77d891bd4b954d514ea021b4a18e68a3607f5d8747841", @@ -1563,6 +1566,7 @@ "Concise": "8340d833ab72d3321b07af0184597743b010e142b39593cebb450d4227e62f0c", "Concise, focused, direct.": "e9cb028d2d79111476e9c8ea1562b7f6275fd39d43abf410338d7c0ae2fff5a5", "conclusion {conclusion}": "dc328d7e11ecbdc61fa90fc18e3ced70b794ca55dcc476d03c88eff72f16274d", + "Concurrent work limit reached": "f60d0f2d4a9ba0c57c7e7835bd52a1912f39581799f2babb636d190317a96b54", "Confidence": "6422e3e78f5e5f5a15e92cc57ed7114adb289339251031ccb526d9249437dc82", "Configuration": "b332c3492d5eb10a118eb6d8b0dcd689bc2477ce2ae16b303753b942b54377bc", "Configuration digest": "5bbf2d321122a5a57d36c77291d232d51f9ae9a1655e80f042727754aea15bfe", @@ -2939,6 +2943,7 @@ "github": "c0b0109d9439de57fe3cf03abeccbc52f4c98170c732d3b69af5e6395ace574e", "GitHub": "f911e414cf6bdfc595532ab166b5ba0f63d73c021452fcdacbda363dda6ad8fb", "GitHub CI triage": "6a2368ce3943b296b07b5241227baf2a863d3f50f8a46ddb0889cbb5045ccd84", + "GitHub intake": "064829c63fcbc74d45753e04f583c69a391d25d4ed334de3b69fa2720f733cb1", "GitHub MCP": "408b061889ef672152b51ce8dbd56216d1b7e97303429b59538b99fe663c6f04", "GitHub not connected (GITHUB_TOKEN or GH_TOKEN)": "1cb239b6b5ea26422b411a25d3a4e254cdf45b7e730eb91b976a36f12adeb21b", "GitHub unavailable; retry later": "33b2cec76eccd24c4d8d61c265de8b06a6a20820ab1fccdcb433a22903909d02", @@ -4818,6 +4823,7 @@ "Policy details": "00e33950cacf32a39cc25f71ccb1650c4c788c12816e07681d80f0fdc537be98", "Policy narrows authority": "e9e2012e5ac96664fb03ff0f81f4f49cb5b8ee069149139352e7c89b73e43baa", "policy overlays": "db26199cf2a47a948b45caf37b4d50ede3ef415fad6c940cfe56a118970fcefb", + "Policy paused": "11fc11eaf385253466e26bac9916425e1e009695cd40adc4c7a132366d187518", "Policy review": "1cf67fef927c77770a1fcd8b20982b24b15cc0b6f1e8b56265d87baff019dd7e", "Policy snapshot artifact": "7f8b2985d498316ac01fa5f2276d2556cab712b4c8bc2b93e16dfc1353e23a77", "Poll once": "c7e7d724ff87555fb857467569ce709d958ee2d5d1ab2cc890554c7605e86e78", @@ -5013,6 +5019,7 @@ "Provider state": "633d1ca46603e61fc3d39459c1414102a27bbc4ba0adfb0b22ba5a205c2b9815", "Provider templates": "1e8649b7c667a6afc6dc88cbdb3069e349e850466cf3efa57eeedab9b70486f7", "Provider type": "8c0f6d3ebfe7ba3a0c0006068a9aa664d09244ba3cd438f2d56fab117bee1347", + "Provider unavailable": "ff2113958589f9bfb87b54f959be825d00ec5eca374d907bb343f98ebdbc84c3", "Provider version": "1f5ecefbd682ced2f438c8ae3c8849ba9effbe6cd77c19051cee2d2036ef9c90", "Provider warmup": "36ae143804c9a909bce770f54be5652b69b99ee7838cca99daa31e23d4d6d63c", "Provider was automatically rechecked after daemon restart.": "7bd8e8ee592f30e81adca8c96b079d6526846dc142bd99e5bbba3d9bebbde7a9", @@ -5398,6 +5405,8 @@ "Required for assigned teammates": "4732aa544a8d93b886e6bcbbcc5c3314af692f8a8a812efd4844cd3589b7b63a", "Required input": "fafaaf99b5a6af521026448890a9dacaf4d47053804a34be7cdf364e13637181", "Required input: {value}": "757166b8bf43ee39819f00d86fa61a84ddb3f3eba2a883c6bb996b8f82101d22", + "Required label": "5f623a5ad31f874a782d2205c9318ce524371a35d782b9a7021eab521c2fbbcd", + "Required label missing": "6913716764f8018414060c041e41a2951f5444efe5e97cd30a557be26403d1b1", "Required permissions": "edaffed36060c21e958b3fe562b7c57f51f67ba46326b1a9a5317a47b20e1747", "Required skill information is missing.": "e5cb742af5e92afab21f42c3edd4f5940db52a1c5320a9dd7236eca89a702789", "Required statuses": "c77453db9c939c7c7b8da080b0053847604126aefacf5a900d1d0fe30e4ba5ee", @@ -6407,6 +6416,7 @@ "Start an active Computer Use task first.": "1242a212935f863b51a7f3e8d16f12af408152d8047b274c5fef9fb7f1435f50", "Start autoplan": "7419a8efae15550dc21cccc23ca0a16c446e884842bfe48056af34a921175cb0", "Start background": "c690dc635cd0437e8911748d795084e5d32d0b75811490076285d41032d7300c", + "Start budget reached": "6b915cfb021a78ae6f8b4c1f2d9f40bbadcc486c04cbb00a807d52bfe78102ca", "Start by choosing a template or creating one manually.": "6a3ba02535ac7a0ab934b569a915927936dede63b4277ea4500e77c8835d4666", "Start child branch": "ee7b6caa5b4a1d3e8fd3ce47a26b42a4f2472834dfa17b2efc1864d0ed710948", "Start from a default role or blank teammate.": "1464ae64fd1ee987e353f53a2f9bab20053b2f0ae320c07839b7eecf710b8a96", @@ -6512,7 +6522,9 @@ "succeeded": "5dceaeceb6d8a49d3665594710ace68dfbc1800e2d663d7febb302b4dbee3d27", "Succeeded": "6d9a6f97a5fdaf3b90a0cf02e0b43d8b7ec1d05c0e4718e02ddd1c5b450e5b39", "Successfully generated {count} artifact based on the provided prompt.": "71f85e7639c004421f062f2dd6a129e5173931798f5d33b6f0482038b38a88fc", + "Suggest": "4effad823b048b0440dbeff42665f60a6ddec8e121c378966ed7c074a512c51f", "Suggest responsible owners based on context, decisions, and recent work.": "484eb4e21bcdd76a531a4234403ea29f0626094f9a2915b674f17e0b949be0a3", + "Suggested": "93b63bab4c3a28d73a8bb83bcdfdcc5f6ddecfc8fc702296ca159d94c5dc6e53", "Suggested next step": "78d74fd4ffec8d83a942e1274cfd15426b2b4bb2d96b15f905277638c339869e", "Suggested routing": "442b15c099c136738e26e139912a5f5d21e90216aade875a8db595b09c81fcbe", "Summaries": "87bc590e047d3df4a8e448ac83e371fad69dd73607752cccb0ff7d34263cef8f", @@ -7221,6 +7233,7 @@ "Untracked": "c7ba5477e19cf0bb25460d840cc2e67341e81e1c2d274d00b3054c73898d4d27", "unverified": "97b7e2db799e2b79e65f418b42a7d3054c95b2d3ab1dba243039597e44a38084", "Unverified": "33c8e8de41c3a35124251370e2a36e4d589f8789d80630abbbeceb933d3fb58f", + "Up to {concurrent} active and {starts} starts per {minutes} min": "cca43c28ef670fd5d55cb3bd813a2fef137043e4028096bcd2cdf22e2a06586b", "Up to date": "ce29b7f85b9eaf7dac52e625accb4b0cb56a856ebe9a9de9a09b613b6d978dca", "Update": "c1c1009d3f37ec058070a62e22caf9ac9dae2169d452487c5c271a8bcf57a291", "Update available": "ff8b555d818f0b25bbdd1bec8b479660bac7fc276acbe993e759bf67fed32c34", @@ -7548,6 +7561,7 @@ "Work intake, tool servers, and plugin bundles": "16b65a84c6fca2014b7e2d28b151bbf0afe19345230a0ac37304802311fed850", "Work is claimed": "c4b0d953436f2f59355d6540bae28e055ff49243f612887bbaed7bfd98c85d4d", "Work item ID": "1dcdad81d13850bd962965719f362fa7f32693b7b54fd8bb25d1e2402a470626", + "Work item paused": "299aabbf3c1418a3f01117e072d3bfe418e174bd1f355d1afdfae23c7b4bf678", "Work items": "5759a416f2b3b4ff92da23b8059419e06c39d27180b91a557f7cae779df3d2b6", "Work marked failed": "f26306888ed8c9a3808b8a420428f63e32d4c2223e7c9c89dd0a049806c539c6", "Work result": "19efe7487084061e9e358495b8a9bfd7e9d7c0035010e08ac35c14ba4ff8ca2a", @@ -8287,6 +8301,7 @@ "Allows": "Tillater", "Allows commands starting with {command}": "Tillater kommandoer som starter med {command}", "Already imported": "Allerede importert", + "Already in work": "Allerede i jobb", "Also allow private memory and private chat queries remotely": "Tillat også privat minne og private chat-forespørsler eksternt", "Alternatives": "Alternativer", "Alternatives considered": "Alternativer vurderes", @@ -8547,6 +8562,7 @@ "Auto-start by default": "Auto-start by default", "Auto-start step": "Auto-start step", "Automatic": "Automatisk", + "Automatic intake": "Automatisk inntak", "Automatic learning is off": "Automatisk læring er av", "Automatic parallel execution": "Automatic parallel execution", "Automatic proposals enabled": "Automatiske forslag aktivert", @@ -8975,6 +8991,7 @@ "Check failed": "Kontroll mislyktes", "Check for changes": "Se etter endringer", "Check for updates": "Se etter oppdateringer", + "Check GitHub inbox": "Sjekk GitHub-innboksen", "Check member status": "Sjekk medlemsstatus", "Check member status to load readiness.": "Sjekk medlemsstatus for å lasteberedskap.", "Check needed": "Sjekk nødvendig", @@ -9282,6 +9299,7 @@ "Concise": "Konsis", "Concise, focused, direct.": "Konsis, fokusert, direkte.", "conclusion {conclusion}": "konklusjon {conclusion}", + "Concurrent work limit reached": "Grensen for samtidig arbeid er nådd", "Confidence": "Selvtillit", "Configuration": "Konfigurasjon", "Configuration digest": "Konfigurasjonssammendrag", @@ -10658,6 +10676,7 @@ "github": "github", "GitHub": "GitHub", "GitHub CI triage": "GitHub CI triage", + "GitHub intake": "GitHub-inntak", "GitHub MCP": "GitHub MCP", "GitHub not connected (GITHUB_TOKEN or GH_TOKEN)": "GitHub not connected (GITHUB_TOKEN or GH_TOKEN)", "GitHub unavailable; retry later": "GitHub unavailable; retry later", @@ -12537,6 +12556,7 @@ "Policy details": "Retningslinjer", "Policy narrows authority": "Politikk begrenser autoritet", "policy overlays": "policyoverlegg", + "Policy paused": "Retningslinjen er satt på pause", "Policy review": "Retningslinjegjennomgang", "Policy snapshot artifact": "Artefakt for øyeblikksbilde av policy", "Poll once": "Avstemning en gang", @@ -12732,6 +12752,7 @@ "Provider state": "Leverandørstat", "Provider templates": "Leverandørmaler", "Provider type": "Leverandørtype", + "Provider unavailable": "Leverandør utilgjengelig", "Provider version": "Leverandørversjon", "Provider warmup": "Leverandør oppvarming", "Provider was automatically rechecked after daemon restart.": "Leverandøren ble automatisk sjekket på nytt etter omstart av daemon.", @@ -13117,6 +13138,8 @@ "Required for assigned teammates": "Kreves for tildelte lagkamerater", "Required input": "Nødvendig innspill", "Required input: {value}": "Nødvendig inngang: {value}", + "Required label": "Nødvendig etikett", + "Required label missing": "Nødvendig etikett mangler", "Required permissions": "Nødvendige tillatelser", "Required skill information is missing.": "Nødvendig informasjon om ferdigheter mangler.", "Required statuses": "Required statuses", @@ -14126,6 +14149,7 @@ "Start an active Computer Use task first.": "Start en aktiv Computer Use-oppgave først.", "Start autoplan": "Start autoplan", "Start background": "Start bakgrunn", + "Start budget reached": "Startbudsjettet er nådd", "Start by choosing a template or creating one manually.": "Start med å velge en mal eller lage en manuelt.", "Start child branch": "Start barnegren", "Start from a default role or blank teammate.": "Start fra en standardrolle eller tom lagkamerat.", @@ -14231,7 +14255,9 @@ "succeeded": "lyktes", "Succeeded": "Lykkes", "Successfully generated {count} artifact based on the provided prompt.": "Vellykket generert {count}-artefakt basert på den oppgitte ledeteksten.", + "Suggest": "Foreslå", "Suggest responsible owners based on context, decisions, and recent work.": "Foreslå ansvarlige eiere basert på kontekst, beslutninger og nylig arbeid.", + "Suggested": "Foreslått", "Suggested next step": "Foreslått neste trinn", "Suggested routing": "Foreslått rute", "Summaries": "Sammendrag", @@ -14940,6 +14966,7 @@ "Untracked": "Usporet", "unverified": "ubekreftet", "Unverified": "Ubekreftet", + "Up to {concurrent} active and {starts} starts per {minutes} min": "Opptil {concurrent} aktive og {starts} starter per {minutes} min", "Up to date": "Oppdatert", "Update": "Oppdater", "Update available": "Oppdatering tilgjengelig", @@ -15267,6 +15294,7 @@ "Work intake, tool servers, and plugin bundles": "Arbeidsinntak, verktøyservere og plugin-pakker", "Work is claimed": "Arbeid er hevdet", "Work item ID": "Arbeidselement ID", + "Work item paused": "Arbeidselementet er satt på pause", "Work items": "Arbeidsartikler", "Work marked failed": "Arbeid merket mislykket", "Work result": "Arbeidsresultat", diff --git a/packages/localization/catalogs/nl-NL.json b/packages/localization/catalogs/nl-NL.json index 90bd71c01..d809c0a9a 100644 --- a/packages/localization/catalogs/nl-NL.json +++ b/packages/localization/catalogs/nl-NL.json @@ -1,6 +1,6 @@ { "locale": "nl-NL", - "sourceRevision": "214db76d79f1a5c0fd915c110a2ead6dbb978b58398846e982a0c1ff0cb53108", + "sourceRevision": "6468d2af71d2feb60f9b8c5f37bc2a3ff1177fb2c8b0d65e85002de6b1095cbb", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -568,6 +568,7 @@ "Allows": "8b1d52d202522d89fe65fb00e505abab46dc200a88c0be5d468a2a7e6dce9ccf", "Allows commands starting with {command}": "f5c5d446a6850880ae79768c175bacaf2bc487f715d5768d0b225eb643e3ce07", "Already imported": "e47fafe0a1c6f8d6b5c641c5d9cc7ca61e66a1c50bbc3b619c8ff5912444bfa8", + "Already in work": "ae40a6ff362406d9f1fdc40ad79cea7bd1705e6e173b2267f2a310777aedb387", "Also allow private memory and private chat queries remotely": "0b6b2ba6882b67c8b5b79f0f07964588232be1a9e520011e19bbea224c59a913", "Alternatives": "41055f72edad1559b8ba43440cd7938eb73685930c7141fede9b95000fd41299", "Alternatives considered": "73534cb410e6191096c7fa7ca56ba066f90b4fdede8677d64bc98068804afa3c", @@ -828,6 +829,7 @@ "Auto-start by default": "403861dc8396a3ea666e143d33e0429d3c26721771abf3face351259eee9b28f", "Auto-start step": "2bf61e4807ad3bf6ebc934bf54e917d5b3a87295001826be3a7dd57c7e75cc8d", "Automatic": "d461a493a3753877c9486cffa3444265a33370af8a7fff242fb119b71750839c", + "Automatic intake": "6eed82b223c717114773803e9d9d90d6d3cde9579bf264647347e559817a5081", "Automatic learning is off": "8ba1b4a02530490260a7b8e748e0809ddc3885213a009f3896264bc665060bdd", "Automatic parallel execution": "63d058c173c4a148a14094327c26d9af2c5bde1779c91dbf0d913e90b0687be9", "Automatic proposals enabled": "db670932d259eeedd26de8d7ca836594d5f3861ff24e1f94170c7333676c157a", @@ -1256,6 +1258,7 @@ "Check failed": "c8813c1128d545bfe7e7458ae24d724447097b3518643f86fa3e532f88e9fb40", "Check for changes": "5da755d1690f58c1c822a4b85422734bacc2122c7c67f4e8617f0765ac835113", "Check for updates": "f26f3275e735bdf6268532ca7cbea3887c9adad21d8df74e84b2bc7791475c0d", + "Check GitHub inbox": "51cd97da0bc2b213621668f69168386eaee18bdae064041094187404c9fc71ee", "Check member status": "ff155af014d0b6e94cbf2fca3b01cf8d5725732f178eee985083478adb4a62f5", "Check member status to load readiness.": "6f7f338e22e626b134643fbaec898cf8e8efd19b85eeb6193b4ca0d5d63c4528", "Check needed": "561a32f0c83e5a4fe8d77d891bd4b954d514ea021b4a18e68a3607f5d8747841", @@ -1563,6 +1566,7 @@ "Concise": "8340d833ab72d3321b07af0184597743b010e142b39593cebb450d4227e62f0c", "Concise, focused, direct.": "e9cb028d2d79111476e9c8ea1562b7f6275fd39d43abf410338d7c0ae2fff5a5", "conclusion {conclusion}": "dc328d7e11ecbdc61fa90fc18e3ced70b794ca55dcc476d03c88eff72f16274d", + "Concurrent work limit reached": "f60d0f2d4a9ba0c57c7e7835bd52a1912f39581799f2babb636d190317a96b54", "Confidence": "6422e3e78f5e5f5a15e92cc57ed7114adb289339251031ccb526d9249437dc82", "Configuration": "b332c3492d5eb10a118eb6d8b0dcd689bc2477ce2ae16b303753b942b54377bc", "Configuration digest": "5bbf2d321122a5a57d36c77291d232d51f9ae9a1655e80f042727754aea15bfe", @@ -2939,6 +2943,7 @@ "github": "c0b0109d9439de57fe3cf03abeccbc52f4c98170c732d3b69af5e6395ace574e", "GitHub": "f911e414cf6bdfc595532ab166b5ba0f63d73c021452fcdacbda363dda6ad8fb", "GitHub CI triage": "6a2368ce3943b296b07b5241227baf2a863d3f50f8a46ddb0889cbb5045ccd84", + "GitHub intake": "064829c63fcbc74d45753e04f583c69a391d25d4ed334de3b69fa2720f733cb1", "GitHub MCP": "408b061889ef672152b51ce8dbd56216d1b7e97303429b59538b99fe663c6f04", "GitHub not connected (GITHUB_TOKEN or GH_TOKEN)": "1cb239b6b5ea26422b411a25d3a4e254cdf45b7e730eb91b976a36f12adeb21b", "GitHub unavailable; retry later": "33b2cec76eccd24c4d8d61c265de8b06a6a20820ab1fccdcb433a22903909d02", @@ -4818,6 +4823,7 @@ "Policy details": "00e33950cacf32a39cc25f71ccb1650c4c788c12816e07681d80f0fdc537be98", "Policy narrows authority": "e9e2012e5ac96664fb03ff0f81f4f49cb5b8ee069149139352e7c89b73e43baa", "policy overlays": "db26199cf2a47a948b45caf37b4d50ede3ef415fad6c940cfe56a118970fcefb", + "Policy paused": "11fc11eaf385253466e26bac9916425e1e009695cd40adc4c7a132366d187518", "Policy review": "1cf67fef927c77770a1fcd8b20982b24b15cc0b6f1e8b56265d87baff019dd7e", "Policy snapshot artifact": "7f8b2985d498316ac01fa5f2276d2556cab712b4c8bc2b93e16dfc1353e23a77", "Poll once": "c7e7d724ff87555fb857467569ce709d958ee2d5d1ab2cc890554c7605e86e78", @@ -5013,6 +5019,7 @@ "Provider state": "633d1ca46603e61fc3d39459c1414102a27bbc4ba0adfb0b22ba5a205c2b9815", "Provider templates": "1e8649b7c667a6afc6dc88cbdb3069e349e850466cf3efa57eeedab9b70486f7", "Provider type": "8c0f6d3ebfe7ba3a0c0006068a9aa664d09244ba3cd438f2d56fab117bee1347", + "Provider unavailable": "ff2113958589f9bfb87b54f959be825d00ec5eca374d907bb343f98ebdbc84c3", "Provider version": "1f5ecefbd682ced2f438c8ae3c8849ba9effbe6cd77c19051cee2d2036ef9c90", "Provider warmup": "36ae143804c9a909bce770f54be5652b69b99ee7838cca99daa31e23d4d6d63c", "Provider was automatically rechecked after daemon restart.": "7bd8e8ee592f30e81adca8c96b079d6526846dc142bd99e5bbba3d9bebbde7a9", @@ -5398,6 +5405,8 @@ "Required for assigned teammates": "4732aa544a8d93b886e6bcbbcc5c3314af692f8a8a812efd4844cd3589b7b63a", "Required input": "fafaaf99b5a6af521026448890a9dacaf4d47053804a34be7cdf364e13637181", "Required input: {value}": "757166b8bf43ee39819f00d86fa61a84ddb3f3eba2a883c6bb996b8f82101d22", + "Required label": "5f623a5ad31f874a782d2205c9318ce524371a35d782b9a7021eab521c2fbbcd", + "Required label missing": "6913716764f8018414060c041e41a2951f5444efe5e97cd30a557be26403d1b1", "Required permissions": "edaffed36060c21e958b3fe562b7c57f51f67ba46326b1a9a5317a47b20e1747", "Required skill information is missing.": "e5cb742af5e92afab21f42c3edd4f5940db52a1c5320a9dd7236eca89a702789", "Required statuses": "c77453db9c939c7c7b8da080b0053847604126aefacf5a900d1d0fe30e4ba5ee", @@ -6407,6 +6416,7 @@ "Start an active Computer Use task first.": "1242a212935f863b51a7f3e8d16f12af408152d8047b274c5fef9fb7f1435f50", "Start autoplan": "7419a8efae15550dc21cccc23ca0a16c446e884842bfe48056af34a921175cb0", "Start background": "c690dc635cd0437e8911748d795084e5d32d0b75811490076285d41032d7300c", + "Start budget reached": "6b915cfb021a78ae6f8b4c1f2d9f40bbadcc486c04cbb00a807d52bfe78102ca", "Start by choosing a template or creating one manually.": "6a3ba02535ac7a0ab934b569a915927936dede63b4277ea4500e77c8835d4666", "Start child branch": "ee7b6caa5b4a1d3e8fd3ce47a26b42a4f2472834dfa17b2efc1864d0ed710948", "Start from a default role or blank teammate.": "1464ae64fd1ee987e353f53a2f9bab20053b2f0ae320c07839b7eecf710b8a96", @@ -6512,7 +6522,9 @@ "succeeded": "5dceaeceb6d8a49d3665594710ace68dfbc1800e2d663d7febb302b4dbee3d27", "Succeeded": "6d9a6f97a5fdaf3b90a0cf02e0b43d8b7ec1d05c0e4718e02ddd1c5b450e5b39", "Successfully generated {count} artifact based on the provided prompt.": "71f85e7639c004421f062f2dd6a129e5173931798f5d33b6f0482038b38a88fc", + "Suggest": "4effad823b048b0440dbeff42665f60a6ddec8e121c378966ed7c074a512c51f", "Suggest responsible owners based on context, decisions, and recent work.": "484eb4e21bcdd76a531a4234403ea29f0626094f9a2915b674f17e0b949be0a3", + "Suggested": "93b63bab4c3a28d73a8bb83bcdfdcc5f6ddecfc8fc702296ca159d94c5dc6e53", "Suggested next step": "78d74fd4ffec8d83a942e1274cfd15426b2b4bb2d96b15f905277638c339869e", "Suggested routing": "442b15c099c136738e26e139912a5f5d21e90216aade875a8db595b09c81fcbe", "Summaries": "87bc590e047d3df4a8e448ac83e371fad69dd73607752cccb0ff7d34263cef8f", @@ -7221,6 +7233,7 @@ "Untracked": "c7ba5477e19cf0bb25460d840cc2e67341e81e1c2d274d00b3054c73898d4d27", "unverified": "97b7e2db799e2b79e65f418b42a7d3054c95b2d3ab1dba243039597e44a38084", "Unverified": "33c8e8de41c3a35124251370e2a36e4d589f8789d80630abbbeceb933d3fb58f", + "Up to {concurrent} active and {starts} starts per {minutes} min": "cca43c28ef670fd5d55cb3bd813a2fef137043e4028096bcd2cdf22e2a06586b", "Up to date": "ce29b7f85b9eaf7dac52e625accb4b0cb56a856ebe9a9de9a09b613b6d978dca", "Update": "c1c1009d3f37ec058070a62e22caf9ac9dae2169d452487c5c271a8bcf57a291", "Update available": "ff8b555d818f0b25bbdd1bec8b479660bac7fc276acbe993e759bf67fed32c34", @@ -7548,6 +7561,7 @@ "Work intake, tool servers, and plugin bundles": "16b65a84c6fca2014b7e2d28b151bbf0afe19345230a0ac37304802311fed850", "Work is claimed": "c4b0d953436f2f59355d6540bae28e055ff49243f612887bbaed7bfd98c85d4d", "Work item ID": "1dcdad81d13850bd962965719f362fa7f32693b7b54fd8bb25d1e2402a470626", + "Work item paused": "299aabbf3c1418a3f01117e072d3bfe418e174bd1f355d1afdfae23c7b4bf678", "Work items": "5759a416f2b3b4ff92da23b8059419e06c39d27180b91a557f7cae779df3d2b6", "Work marked failed": "f26306888ed8c9a3808b8a420428f63e32d4c2223e7c9c89dd0a049806c539c6", "Work result": "19efe7487084061e9e358495b8a9bfd7e9d7c0035010e08ac35c14ba4ff8ca2a", @@ -8287,6 +8301,7 @@ "Allows": "Staat toe", "Allows commands starting with {command}": "Staat opdrachten toe die beginnen met {command}", "Already imported": "Al geïmporteerd", + "Already in work": "Ben al aan het werk", "Also allow private memory and private chat queries remotely": "Sta ook privégeheugen en privéchatquery's op afstand toe", "Alternatives": "Alternatieven", "Alternatives considered": "Alternatieven overwogen", @@ -8547,6 +8562,7 @@ "Auto-start by default": "Auto-start by default", "Auto-start step": "Auto-start step", "Automatic": "Automatisch", + "Automatic intake": "Automatische inname", "Automatic learning is off": "Automatisch leren staat uit", "Automatic parallel execution": "Automatic parallel execution", "Automatic proposals enabled": "Automatische voorstellen ingeschakeld", @@ -8975,6 +8991,7 @@ "Check failed": "Controle mislukt", "Check for changes": "Controleer op wijzigingen", "Check for updates": "Controleer op updates", + "Check GitHub inbox": "Controleer GitHub-inbox", "Check member status": "Controleer de ledenstatus", "Check member status to load readiness.": "Controleer de lidstatus om de gereedheid te laden.", "Check needed": "Controleer nodig", @@ -9282,6 +9299,7 @@ "Concise": "Beknopt", "Concise, focused, direct.": "Beknopt, doelgericht, direct.", "conclusion {conclusion}": "conclusie {conclusion}", + "Concurrent work limit reached": "Gelijktijdige werklimiet bereikt", "Confidence": "Vertrouwen", "Configuration": "Configuratie", "Configuration digest": "Configuratieoverzicht", @@ -10658,6 +10676,7 @@ "github": "github", "GitHub": "GitHub", "GitHub CI triage": "GitHub CI-triage", + "GitHub intake": "GitHub-inname", "GitHub MCP": "GitHub MCP", "GitHub not connected (GITHUB_TOKEN or GH_TOKEN)": "GitHub not connected (GITHUB_TOKEN or GH_TOKEN)", "GitHub unavailable; retry later": "GitHub unavailable; retry later", @@ -12537,6 +12556,7 @@ "Policy details": "Beleidsdetails", "Policy narrows authority": "Beleid beperkt de autoriteit", "policy overlays": "beleidsoverlays", + "Policy paused": "Beleid onderbroken", "Policy review": "Beleidsevaluatie", "Policy snapshot artifact": "Beleidsmomentopname-artefact", "Poll once": "Eén keer peilen", @@ -12732,6 +12752,7 @@ "Provider state": "Staat van de aanbieder", "Provider templates": "Sjablonen van aanbieders", "Provider type": "Type aanbieder", + "Provider unavailable": "Aanbieder niet beschikbaar", "Provider version": "Providerversie", "Provider warmup": "Opwarming van de aanbieder", "Provider was automatically rechecked after daemon restart.": "Provider werd automatisch opnieuw gecontroleerd nadat de daemon opnieuw was opgestart.", @@ -13117,6 +13138,8 @@ "Required for assigned teammates": "Vereist voor toegewezen teamgenoten", "Required input": "Vereiste invoer", "Required input: {value}": "Vereiste invoer: {value}", + "Required label": "Vereist etiket", + "Required label missing": "Vereist label ontbreekt", "Required permissions": "Vereiste machtigingen", "Required skill information is missing.": "Vereiste vaardigheidsinformatie ontbreekt.", "Required statuses": "Required statuses", @@ -14126,6 +14149,7 @@ "Start an active Computer Use task first.": "Start eerst een actieve Computer Use-taak.", "Start autoplan": "Start autoplan", "Start background": "Achtergrond starten", + "Start budget reached": "Startbudget bereikt", "Start by choosing a template or creating one manually.": "Begin door een sjabloon te kiezen of er handmatig een te maken.", "Start child branch": "Start de onderliggende tak", "Start from a default role or blank teammate.": "Begin vanuit een standaardrol of een lege teamgenoot.", @@ -14231,7 +14255,9 @@ "succeeded": "geslaagd", "Succeeded": "Geslaagd", "Successfully generated {count} artifact based on the provided prompt.": "Met succes het {count}-artefact gegenereerd op basis van de opgegeven prompt.", + "Suggest": "Voorstellen", "Suggest responsible owners based on context, decisions, and recent work.": "Stel verantwoordelijke eigenaren voor op basis van context, beslissingen en recent werk.", + "Suggested": "Voorgesteld", "Suggested next step": "Voorgestelde volgende stap", "Suggested routing": "Voorgestelde routebeschrijving", "Summaries": "Samenvattingen", @@ -14940,6 +14966,7 @@ "Untracked": "Niet gevolgd", "unverified": "niet geverifieerd", "Unverified": "Niet geverifieerd", + "Up to {concurrent} active and {starts} starts per {minutes} min": "Maximaal {concurrent} actief en {starts} start per {minutes} min", "Up to date": "Up-to-date", "Update": "Update", "Update available": "Update beschikbaar", @@ -15267,6 +15294,7 @@ "Work intake, tool servers, and plugin bundles": "Werkintake, toolservers en plug-inbundels", "Work is claimed": "Er wordt werk geclaimd", "Work item ID": "Werkitem ID", + "Work item paused": "Werkitem onderbroken", "Work items": "Werkitems", "Work marked failed": "Werk gemarkeerd als mislukt", "Work result": "Werk resultaat", diff --git a/packages/localization/catalogs/pl-PL.json b/packages/localization/catalogs/pl-PL.json index e7d512f49..4885b936b 100644 --- a/packages/localization/catalogs/pl-PL.json +++ b/packages/localization/catalogs/pl-PL.json @@ -1,6 +1,6 @@ { "locale": "pl-PL", - "sourceRevision": "214db76d79f1a5c0fd915c110a2ead6dbb978b58398846e982a0c1ff0cb53108", + "sourceRevision": "6468d2af71d2feb60f9b8c5f37bc2a3ff1177fb2c8b0d65e85002de6b1095cbb", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -568,6 +568,7 @@ "Allows": "8b1d52d202522d89fe65fb00e505abab46dc200a88c0be5d468a2a7e6dce9ccf", "Allows commands starting with {command}": "f5c5d446a6850880ae79768c175bacaf2bc487f715d5768d0b225eb643e3ce07", "Already imported": "e47fafe0a1c6f8d6b5c641c5d9cc7ca61e66a1c50bbc3b619c8ff5912444bfa8", + "Already in work": "ae40a6ff362406d9f1fdc40ad79cea7bd1705e6e173b2267f2a310777aedb387", "Also allow private memory and private chat queries remotely": "0b6b2ba6882b67c8b5b79f0f07964588232be1a9e520011e19bbea224c59a913", "Alternatives": "41055f72edad1559b8ba43440cd7938eb73685930c7141fede9b95000fd41299", "Alternatives considered": "73534cb410e6191096c7fa7ca56ba066f90b4fdede8677d64bc98068804afa3c", @@ -828,6 +829,7 @@ "Auto-start by default": "403861dc8396a3ea666e143d33e0429d3c26721771abf3face351259eee9b28f", "Auto-start step": "2bf61e4807ad3bf6ebc934bf54e917d5b3a87295001826be3a7dd57c7e75cc8d", "Automatic": "d461a493a3753877c9486cffa3444265a33370af8a7fff242fb119b71750839c", + "Automatic intake": "6eed82b223c717114773803e9d9d90d6d3cde9579bf264647347e559817a5081", "Automatic learning is off": "8ba1b4a02530490260a7b8e748e0809ddc3885213a009f3896264bc665060bdd", "Automatic parallel execution": "63d058c173c4a148a14094327c26d9af2c5bde1779c91dbf0d913e90b0687be9", "Automatic proposals enabled": "db670932d259eeedd26de8d7ca836594d5f3861ff24e1f94170c7333676c157a", @@ -1256,6 +1258,7 @@ "Check failed": "c8813c1128d545bfe7e7458ae24d724447097b3518643f86fa3e532f88e9fb40", "Check for changes": "5da755d1690f58c1c822a4b85422734bacc2122c7c67f4e8617f0765ac835113", "Check for updates": "f26f3275e735bdf6268532ca7cbea3887c9adad21d8df74e84b2bc7791475c0d", + "Check GitHub inbox": "51cd97da0bc2b213621668f69168386eaee18bdae064041094187404c9fc71ee", "Check member status": "ff155af014d0b6e94cbf2fca3b01cf8d5725732f178eee985083478adb4a62f5", "Check member status to load readiness.": "6f7f338e22e626b134643fbaec898cf8e8efd19b85eeb6193b4ca0d5d63c4528", "Check needed": "561a32f0c83e5a4fe8d77d891bd4b954d514ea021b4a18e68a3607f5d8747841", @@ -1563,6 +1566,7 @@ "Concise": "8340d833ab72d3321b07af0184597743b010e142b39593cebb450d4227e62f0c", "Concise, focused, direct.": "e9cb028d2d79111476e9c8ea1562b7f6275fd39d43abf410338d7c0ae2fff5a5", "conclusion {conclusion}": "dc328d7e11ecbdc61fa90fc18e3ced70b794ca55dcc476d03c88eff72f16274d", + "Concurrent work limit reached": "f60d0f2d4a9ba0c57c7e7835bd52a1912f39581799f2babb636d190317a96b54", "Confidence": "6422e3e78f5e5f5a15e92cc57ed7114adb289339251031ccb526d9249437dc82", "Configuration": "b332c3492d5eb10a118eb6d8b0dcd689bc2477ce2ae16b303753b942b54377bc", "Configuration digest": "5bbf2d321122a5a57d36c77291d232d51f9ae9a1655e80f042727754aea15bfe", @@ -2939,6 +2943,7 @@ "github": "c0b0109d9439de57fe3cf03abeccbc52f4c98170c732d3b69af5e6395ace574e", "GitHub": "f911e414cf6bdfc595532ab166b5ba0f63d73c021452fcdacbda363dda6ad8fb", "GitHub CI triage": "6a2368ce3943b296b07b5241227baf2a863d3f50f8a46ddb0889cbb5045ccd84", + "GitHub intake": "064829c63fcbc74d45753e04f583c69a391d25d4ed334de3b69fa2720f733cb1", "GitHub MCP": "408b061889ef672152b51ce8dbd56216d1b7e97303429b59538b99fe663c6f04", "GitHub not connected (GITHUB_TOKEN or GH_TOKEN)": "1cb239b6b5ea26422b411a25d3a4e254cdf45b7e730eb91b976a36f12adeb21b", "GitHub unavailable; retry later": "33b2cec76eccd24c4d8d61c265de8b06a6a20820ab1fccdcb433a22903909d02", @@ -4818,6 +4823,7 @@ "Policy details": "00e33950cacf32a39cc25f71ccb1650c4c788c12816e07681d80f0fdc537be98", "Policy narrows authority": "e9e2012e5ac96664fb03ff0f81f4f49cb5b8ee069149139352e7c89b73e43baa", "policy overlays": "db26199cf2a47a948b45caf37b4d50ede3ef415fad6c940cfe56a118970fcefb", + "Policy paused": "11fc11eaf385253466e26bac9916425e1e009695cd40adc4c7a132366d187518", "Policy review": "1cf67fef927c77770a1fcd8b20982b24b15cc0b6f1e8b56265d87baff019dd7e", "Policy snapshot artifact": "7f8b2985d498316ac01fa5f2276d2556cab712b4c8bc2b93e16dfc1353e23a77", "Poll once": "c7e7d724ff87555fb857467569ce709d958ee2d5d1ab2cc890554c7605e86e78", @@ -5013,6 +5019,7 @@ "Provider state": "633d1ca46603e61fc3d39459c1414102a27bbc4ba0adfb0b22ba5a205c2b9815", "Provider templates": "1e8649b7c667a6afc6dc88cbdb3069e349e850466cf3efa57eeedab9b70486f7", "Provider type": "8c0f6d3ebfe7ba3a0c0006068a9aa664d09244ba3cd438f2d56fab117bee1347", + "Provider unavailable": "ff2113958589f9bfb87b54f959be825d00ec5eca374d907bb343f98ebdbc84c3", "Provider version": "1f5ecefbd682ced2f438c8ae3c8849ba9effbe6cd77c19051cee2d2036ef9c90", "Provider warmup": "36ae143804c9a909bce770f54be5652b69b99ee7838cca99daa31e23d4d6d63c", "Provider was automatically rechecked after daemon restart.": "7bd8e8ee592f30e81adca8c96b079d6526846dc142bd99e5bbba3d9bebbde7a9", @@ -5398,6 +5405,8 @@ "Required for assigned teammates": "4732aa544a8d93b886e6bcbbcc5c3314af692f8a8a812efd4844cd3589b7b63a", "Required input": "fafaaf99b5a6af521026448890a9dacaf4d47053804a34be7cdf364e13637181", "Required input: {value}": "757166b8bf43ee39819f00d86fa61a84ddb3f3eba2a883c6bb996b8f82101d22", + "Required label": "5f623a5ad31f874a782d2205c9318ce524371a35d782b9a7021eab521c2fbbcd", + "Required label missing": "6913716764f8018414060c041e41a2951f5444efe5e97cd30a557be26403d1b1", "Required permissions": "edaffed36060c21e958b3fe562b7c57f51f67ba46326b1a9a5317a47b20e1747", "Required skill information is missing.": "e5cb742af5e92afab21f42c3edd4f5940db52a1c5320a9dd7236eca89a702789", "Required statuses": "c77453db9c939c7c7b8da080b0053847604126aefacf5a900d1d0fe30e4ba5ee", @@ -6407,6 +6416,7 @@ "Start an active Computer Use task first.": "1242a212935f863b51a7f3e8d16f12af408152d8047b274c5fef9fb7f1435f50", "Start autoplan": "7419a8efae15550dc21cccc23ca0a16c446e884842bfe48056af34a921175cb0", "Start background": "c690dc635cd0437e8911748d795084e5d32d0b75811490076285d41032d7300c", + "Start budget reached": "6b915cfb021a78ae6f8b4c1f2d9f40bbadcc486c04cbb00a807d52bfe78102ca", "Start by choosing a template or creating one manually.": "6a3ba02535ac7a0ab934b569a915927936dede63b4277ea4500e77c8835d4666", "Start child branch": "ee7b6caa5b4a1d3e8fd3ce47a26b42a4f2472834dfa17b2efc1864d0ed710948", "Start from a default role or blank teammate.": "1464ae64fd1ee987e353f53a2f9bab20053b2f0ae320c07839b7eecf710b8a96", @@ -6512,7 +6522,9 @@ "succeeded": "5dceaeceb6d8a49d3665594710ace68dfbc1800e2d663d7febb302b4dbee3d27", "Succeeded": "6d9a6f97a5fdaf3b90a0cf02e0b43d8b7ec1d05c0e4718e02ddd1c5b450e5b39", "Successfully generated {count} artifact based on the provided prompt.": "71f85e7639c004421f062f2dd6a129e5173931798f5d33b6f0482038b38a88fc", + "Suggest": "4effad823b048b0440dbeff42665f60a6ddec8e121c378966ed7c074a512c51f", "Suggest responsible owners based on context, decisions, and recent work.": "484eb4e21bcdd76a531a4234403ea29f0626094f9a2915b674f17e0b949be0a3", + "Suggested": "93b63bab4c3a28d73a8bb83bcdfdcc5f6ddecfc8fc702296ca159d94c5dc6e53", "Suggested next step": "78d74fd4ffec8d83a942e1274cfd15426b2b4bb2d96b15f905277638c339869e", "Suggested routing": "442b15c099c136738e26e139912a5f5d21e90216aade875a8db595b09c81fcbe", "Summaries": "87bc590e047d3df4a8e448ac83e371fad69dd73607752cccb0ff7d34263cef8f", @@ -7221,6 +7233,7 @@ "Untracked": "c7ba5477e19cf0bb25460d840cc2e67341e81e1c2d274d00b3054c73898d4d27", "unverified": "97b7e2db799e2b79e65f418b42a7d3054c95b2d3ab1dba243039597e44a38084", "Unverified": "33c8e8de41c3a35124251370e2a36e4d589f8789d80630abbbeceb933d3fb58f", + "Up to {concurrent} active and {starts} starts per {minutes} min": "cca43c28ef670fd5d55cb3bd813a2fef137043e4028096bcd2cdf22e2a06586b", "Up to date": "ce29b7f85b9eaf7dac52e625accb4b0cb56a856ebe9a9de9a09b613b6d978dca", "Update": "c1c1009d3f37ec058070a62e22caf9ac9dae2169d452487c5c271a8bcf57a291", "Update available": "ff8b555d818f0b25bbdd1bec8b479660bac7fc276acbe993e759bf67fed32c34", @@ -7548,6 +7561,7 @@ "Work intake, tool servers, and plugin bundles": "16b65a84c6fca2014b7e2d28b151bbf0afe19345230a0ac37304802311fed850", "Work is claimed": "c4b0d953436f2f59355d6540bae28e055ff49243f612887bbaed7bfd98c85d4d", "Work item ID": "1dcdad81d13850bd962965719f362fa7f32693b7b54fd8bb25d1e2402a470626", + "Work item paused": "299aabbf3c1418a3f01117e072d3bfe418e174bd1f355d1afdfae23c7b4bf678", "Work items": "5759a416f2b3b4ff92da23b8059419e06c39d27180b91a557f7cae779df3d2b6", "Work marked failed": "f26306888ed8c9a3808b8a420428f63e32d4c2223e7c9c89dd0a049806c539c6", "Work result": "19efe7487084061e9e358495b8a9bfd7e9d7c0035010e08ac35c14ba4ff8ca2a", @@ -8287,6 +8301,7 @@ "Allows": "Pozwala", "Allows commands starting with {command}": "Zezwala na polecenia zaczynające się od {command}", "Already imported": "Już zaimportowane", + "Already in work": "Już w pracy", "Also allow private memory and private chat queries remotely": "Zezwalaj także zdalnie na zapytania dotyczące prywatnej pamięci i prywatnego czatu", "Alternatives": "Alternatywy", "Alternatives considered": "Rozważane alternatywy", @@ -8547,6 +8562,7 @@ "Auto-start by default": "Auto-start by default", "Auto-start step": "Auto-start step", "Automatic": "Automatyczny", + "Automatic intake": "Automatyczne pobieranie", "Automatic learning is off": "Automatyczne uczenie się jest wyłączone", "Automatic parallel execution": "Automatic parallel execution", "Automatic proposals enabled": "Włączono automatyczne propozycje", @@ -8975,6 +8991,7 @@ "Check failed": "Kontrola nie powiodła się", "Check for changes": "Sprawdź zmiany", "Check for updates": "Sprawdź aktualizacje", + "Check GitHub inbox": "Sprawdź skrzynkę odbiorczą GitHub", "Check member status": "Sprawdź status członka", "Check member status to load readiness.": "Sprawdź status członka, aby załadować gotowość.", "Check needed": "Sprawdź potrzebne", @@ -9282,6 +9299,7 @@ "Concise": "Zwięzły", "Concise, focused, direct.": "Zwięźle, konkretnie, bezpośrednio.", "conclusion {conclusion}": "wniosek {conclusion}", + "Concurrent work limit reached": "Osiągnięto limit jednoczesnej pracy", "Confidence": "Zaufanie", "Configuration": "Konfiguracja", "Configuration digest": "Podsumowanie konfiguracji", @@ -10658,6 +10676,7 @@ "github": "githubie", "GitHub": "GitHub", "GitHub CI triage": "Selekcja GitHub CI", + "GitHub intake": "Pobór GitHuba", "GitHub MCP": "GitHub MCP", "GitHub not connected (GITHUB_TOKEN or GH_TOKEN)": "GitHub not connected (GITHUB_TOKEN or GH_TOKEN)", "GitHub unavailable; retry later": "GitHub unavailable; retry later", @@ -12537,6 +12556,7 @@ "Policy details": "Szczegóły polityki", "Policy narrows authority": "Polityka zawęża władzę", "policy overlays": "nakładki polisowe", + "Policy paused": "Polityka wstrzymana", "Policy review": "Przegląd polityki", "Policy snapshot artifact": "Artefakt migawki zasad", "Poll once": "Ankieta raz", @@ -12732,6 +12752,7 @@ "Provider state": "Stan dostawcy", "Provider templates": "Szablony dostawców", "Provider type": "Typ dostawcy", + "Provider unavailable": "Dostawca niedostępny", "Provider version": "Wersja dostawcy", "Provider warmup": "Rozgrzewka dostawcy", "Provider was automatically rechecked after daemon restart.": "Dostawca został automatycznie ponownie sprawdzony po ponownym uruchomieniu demona.", @@ -13117,6 +13138,8 @@ "Required for assigned teammates": "Wymagane dla przypisanych członków drużyny", "Required input": "Wymagane dane wejściowe", "Required input: {value}": "Wymagane wejście: {value}", + "Required label": "Wymagana etykieta", + "Required label missing": "Brak wymaganej etykiety", "Required permissions": "Wymagane uprawnienia", "Required skill information is missing.": "Brak wymaganych informacji o umiejętnościach.", "Required statuses": "Required statuses", @@ -14126,6 +14149,7 @@ "Start an active Computer Use task first.": "Najpierw rozpocznij aktywne zadanie Computer Use.", "Start autoplan": "Rozpocznij automatyczne planowanie", "Start background": "Rozpocznij tło", + "Start budget reached": "Osiągnięto budżet początkowy", "Start by choosing a template or creating one manually.": "Zacznij od wybrania szablonu lub utworzenia go ręcznie.", "Start child branch": "Uruchom gałąź podrzędną", "Start from a default role or blank teammate.": "Zacznij od domyślnej roli lub pustego członka drużyny.", @@ -14231,7 +14255,9 @@ "succeeded": "udało się", "Succeeded": "Udało się", "Successfully generated {count} artifact based on the provided prompt.": "Pomyślnie wygenerowano artefakt {count} na podstawie podanego monitu.", + "Suggest": "Sugerować", "Suggest responsible owners based on context, decisions, and recent work.": "Sugeruj odpowiedzialnych właścicieli w oparciu o kontekst, decyzje i ostatnią pracę.", + "Suggested": "Sugerowane", "Suggested next step": "Sugerowany następny krok", "Suggested routing": "Sugerowana trasa", "Summaries": "Podsumowania", @@ -14940,6 +14966,7 @@ "Untracked": "Nieśledzony", "unverified": "niesprawdzony", "Unverified": "Niesprawdzony", + "Up to {concurrent} active and {starts} starts per {minutes} min": "Do {concurrent} aktywnych i {starts} uruchomień na {minutes} min", "Up to date": "Aktualne", "Update": "Aktualizacja", "Update available": "Dostępna aktualizacja", @@ -15267,6 +15294,7 @@ "Work intake, tool servers, and plugin bundles": "Przyjmowanie pracy, serwery narzędzi i pakiety wtyczek", "Work is claimed": "Zgłoszono pracę", "Work item ID": "Element pracy ID", + "Work item paused": "Element roboczy został wstrzymany", "Work items": "Przedmioty pracy", "Work marked failed": "Oznaczona praca nie powiodła się", "Work result": "Wynik pracy", diff --git a/packages/localization/catalogs/pt-BR.json b/packages/localization/catalogs/pt-BR.json index 63ad21731..caf7307bd 100644 --- a/packages/localization/catalogs/pt-BR.json +++ b/packages/localization/catalogs/pt-BR.json @@ -1,6 +1,6 @@ { "locale": "pt-BR", - "sourceRevision": "214db76d79f1a5c0fd915c110a2ead6dbb978b58398846e982a0c1ff0cb53108", + "sourceRevision": "6468d2af71d2feb60f9b8c5f37bc2a3ff1177fb2c8b0d65e85002de6b1095cbb", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -568,6 +568,7 @@ "Allows": "8b1d52d202522d89fe65fb00e505abab46dc200a88c0be5d468a2a7e6dce9ccf", "Allows commands starting with {command}": "f5c5d446a6850880ae79768c175bacaf2bc487f715d5768d0b225eb643e3ce07", "Already imported": "e47fafe0a1c6f8d6b5c641c5d9cc7ca61e66a1c50bbc3b619c8ff5912444bfa8", + "Already in work": "ae40a6ff362406d9f1fdc40ad79cea7bd1705e6e173b2267f2a310777aedb387", "Also allow private memory and private chat queries remotely": "0b6b2ba6882b67c8b5b79f0f07964588232be1a9e520011e19bbea224c59a913", "Alternatives": "41055f72edad1559b8ba43440cd7938eb73685930c7141fede9b95000fd41299", "Alternatives considered": "73534cb410e6191096c7fa7ca56ba066f90b4fdede8677d64bc98068804afa3c", @@ -828,6 +829,7 @@ "Auto-start by default": "403861dc8396a3ea666e143d33e0429d3c26721771abf3face351259eee9b28f", "Auto-start step": "2bf61e4807ad3bf6ebc934bf54e917d5b3a87295001826be3a7dd57c7e75cc8d", "Automatic": "d461a493a3753877c9486cffa3444265a33370af8a7fff242fb119b71750839c", + "Automatic intake": "6eed82b223c717114773803e9d9d90d6d3cde9579bf264647347e559817a5081", "Automatic learning is off": "8ba1b4a02530490260a7b8e748e0809ddc3885213a009f3896264bc665060bdd", "Automatic parallel execution": "63d058c173c4a148a14094327c26d9af2c5bde1779c91dbf0d913e90b0687be9", "Automatic proposals enabled": "db670932d259eeedd26de8d7ca836594d5f3861ff24e1f94170c7333676c157a", @@ -1256,6 +1258,7 @@ "Check failed": "c8813c1128d545bfe7e7458ae24d724447097b3518643f86fa3e532f88e9fb40", "Check for changes": "5da755d1690f58c1c822a4b85422734bacc2122c7c67f4e8617f0765ac835113", "Check for updates": "f26f3275e735bdf6268532ca7cbea3887c9adad21d8df74e84b2bc7791475c0d", + "Check GitHub inbox": "51cd97da0bc2b213621668f69168386eaee18bdae064041094187404c9fc71ee", "Check member status": "ff155af014d0b6e94cbf2fca3b01cf8d5725732f178eee985083478adb4a62f5", "Check member status to load readiness.": "6f7f338e22e626b134643fbaec898cf8e8efd19b85eeb6193b4ca0d5d63c4528", "Check needed": "561a32f0c83e5a4fe8d77d891bd4b954d514ea021b4a18e68a3607f5d8747841", @@ -1563,6 +1566,7 @@ "Concise": "8340d833ab72d3321b07af0184597743b010e142b39593cebb450d4227e62f0c", "Concise, focused, direct.": "e9cb028d2d79111476e9c8ea1562b7f6275fd39d43abf410338d7c0ae2fff5a5", "conclusion {conclusion}": "dc328d7e11ecbdc61fa90fc18e3ced70b794ca55dcc476d03c88eff72f16274d", + "Concurrent work limit reached": "f60d0f2d4a9ba0c57c7e7835bd52a1912f39581799f2babb636d190317a96b54", "Confidence": "6422e3e78f5e5f5a15e92cc57ed7114adb289339251031ccb526d9249437dc82", "Configuration": "b332c3492d5eb10a118eb6d8b0dcd689bc2477ce2ae16b303753b942b54377bc", "Configuration digest": "5bbf2d321122a5a57d36c77291d232d51f9ae9a1655e80f042727754aea15bfe", @@ -2939,6 +2943,7 @@ "github": "c0b0109d9439de57fe3cf03abeccbc52f4c98170c732d3b69af5e6395ace574e", "GitHub": "f911e414cf6bdfc595532ab166b5ba0f63d73c021452fcdacbda363dda6ad8fb", "GitHub CI triage": "6a2368ce3943b296b07b5241227baf2a863d3f50f8a46ddb0889cbb5045ccd84", + "GitHub intake": "064829c63fcbc74d45753e04f583c69a391d25d4ed334de3b69fa2720f733cb1", "GitHub MCP": "408b061889ef672152b51ce8dbd56216d1b7e97303429b59538b99fe663c6f04", "GitHub not connected (GITHUB_TOKEN or GH_TOKEN)": "1cb239b6b5ea26422b411a25d3a4e254cdf45b7e730eb91b976a36f12adeb21b", "GitHub unavailable; retry later": "33b2cec76eccd24c4d8d61c265de8b06a6a20820ab1fccdcb433a22903909d02", @@ -4818,6 +4823,7 @@ "Policy details": "00e33950cacf32a39cc25f71ccb1650c4c788c12816e07681d80f0fdc537be98", "Policy narrows authority": "e9e2012e5ac96664fb03ff0f81f4f49cb5b8ee069149139352e7c89b73e43baa", "policy overlays": "db26199cf2a47a948b45caf37b4d50ede3ef415fad6c940cfe56a118970fcefb", + "Policy paused": "11fc11eaf385253466e26bac9916425e1e009695cd40adc4c7a132366d187518", "Policy review": "1cf67fef927c77770a1fcd8b20982b24b15cc0b6f1e8b56265d87baff019dd7e", "Policy snapshot artifact": "7f8b2985d498316ac01fa5f2276d2556cab712b4c8bc2b93e16dfc1353e23a77", "Poll once": "c7e7d724ff87555fb857467569ce709d958ee2d5d1ab2cc890554c7605e86e78", @@ -5013,6 +5019,7 @@ "Provider state": "633d1ca46603e61fc3d39459c1414102a27bbc4ba0adfb0b22ba5a205c2b9815", "Provider templates": "1e8649b7c667a6afc6dc88cbdb3069e349e850466cf3efa57eeedab9b70486f7", "Provider type": "8c0f6d3ebfe7ba3a0c0006068a9aa664d09244ba3cd438f2d56fab117bee1347", + "Provider unavailable": "ff2113958589f9bfb87b54f959be825d00ec5eca374d907bb343f98ebdbc84c3", "Provider version": "1f5ecefbd682ced2f438c8ae3c8849ba9effbe6cd77c19051cee2d2036ef9c90", "Provider warmup": "36ae143804c9a909bce770f54be5652b69b99ee7838cca99daa31e23d4d6d63c", "Provider was automatically rechecked after daemon restart.": "7bd8e8ee592f30e81adca8c96b079d6526846dc142bd99e5bbba3d9bebbde7a9", @@ -5398,6 +5405,8 @@ "Required for assigned teammates": "4732aa544a8d93b886e6bcbbcc5c3314af692f8a8a812efd4844cd3589b7b63a", "Required input": "fafaaf99b5a6af521026448890a9dacaf4d47053804a34be7cdf364e13637181", "Required input: {value}": "757166b8bf43ee39819f00d86fa61a84ddb3f3eba2a883c6bb996b8f82101d22", + "Required label": "5f623a5ad31f874a782d2205c9318ce524371a35d782b9a7021eab521c2fbbcd", + "Required label missing": "6913716764f8018414060c041e41a2951f5444efe5e97cd30a557be26403d1b1", "Required permissions": "edaffed36060c21e958b3fe562b7c57f51f67ba46326b1a9a5317a47b20e1747", "Required skill information is missing.": "e5cb742af5e92afab21f42c3edd4f5940db52a1c5320a9dd7236eca89a702789", "Required statuses": "c77453db9c939c7c7b8da080b0053847604126aefacf5a900d1d0fe30e4ba5ee", @@ -6407,6 +6416,7 @@ "Start an active Computer Use task first.": "1242a212935f863b51a7f3e8d16f12af408152d8047b274c5fef9fb7f1435f50", "Start autoplan": "7419a8efae15550dc21cccc23ca0a16c446e884842bfe48056af34a921175cb0", "Start background": "c690dc635cd0437e8911748d795084e5d32d0b75811490076285d41032d7300c", + "Start budget reached": "6b915cfb021a78ae6f8b4c1f2d9f40bbadcc486c04cbb00a807d52bfe78102ca", "Start by choosing a template or creating one manually.": "6a3ba02535ac7a0ab934b569a915927936dede63b4277ea4500e77c8835d4666", "Start child branch": "ee7b6caa5b4a1d3e8fd3ce47a26b42a4f2472834dfa17b2efc1864d0ed710948", "Start from a default role or blank teammate.": "1464ae64fd1ee987e353f53a2f9bab20053b2f0ae320c07839b7eecf710b8a96", @@ -6512,7 +6522,9 @@ "succeeded": "5dceaeceb6d8a49d3665594710ace68dfbc1800e2d663d7febb302b4dbee3d27", "Succeeded": "6d9a6f97a5fdaf3b90a0cf02e0b43d8b7ec1d05c0e4718e02ddd1c5b450e5b39", "Successfully generated {count} artifact based on the provided prompt.": "71f85e7639c004421f062f2dd6a129e5173931798f5d33b6f0482038b38a88fc", + "Suggest": "4effad823b048b0440dbeff42665f60a6ddec8e121c378966ed7c074a512c51f", "Suggest responsible owners based on context, decisions, and recent work.": "484eb4e21bcdd76a531a4234403ea29f0626094f9a2915b674f17e0b949be0a3", + "Suggested": "93b63bab4c3a28d73a8bb83bcdfdcc5f6ddecfc8fc702296ca159d94c5dc6e53", "Suggested next step": "78d74fd4ffec8d83a942e1274cfd15426b2b4bb2d96b15f905277638c339869e", "Suggested routing": "442b15c099c136738e26e139912a5f5d21e90216aade875a8db595b09c81fcbe", "Summaries": "87bc590e047d3df4a8e448ac83e371fad69dd73607752cccb0ff7d34263cef8f", @@ -7221,6 +7233,7 @@ "Untracked": "c7ba5477e19cf0bb25460d840cc2e67341e81e1c2d274d00b3054c73898d4d27", "unverified": "97b7e2db799e2b79e65f418b42a7d3054c95b2d3ab1dba243039597e44a38084", "Unverified": "33c8e8de41c3a35124251370e2a36e4d589f8789d80630abbbeceb933d3fb58f", + "Up to {concurrent} active and {starts} starts per {minutes} min": "cca43c28ef670fd5d55cb3bd813a2fef137043e4028096bcd2cdf22e2a06586b", "Up to date": "ce29b7f85b9eaf7dac52e625accb4b0cb56a856ebe9a9de9a09b613b6d978dca", "Update": "c1c1009d3f37ec058070a62e22caf9ac9dae2169d452487c5c271a8bcf57a291", "Update available": "ff8b555d818f0b25bbdd1bec8b479660bac7fc276acbe993e759bf67fed32c34", @@ -7548,6 +7561,7 @@ "Work intake, tool servers, and plugin bundles": "16b65a84c6fca2014b7e2d28b151bbf0afe19345230a0ac37304802311fed850", "Work is claimed": "c4b0d953436f2f59355d6540bae28e055ff49243f612887bbaed7bfd98c85d4d", "Work item ID": "1dcdad81d13850bd962965719f362fa7f32693b7b54fd8bb25d1e2402a470626", + "Work item paused": "299aabbf3c1418a3f01117e072d3bfe418e174bd1f355d1afdfae23c7b4bf678", "Work items": "5759a416f2b3b4ff92da23b8059419e06c39d27180b91a557f7cae779df3d2b6", "Work marked failed": "f26306888ed8c9a3808b8a420428f63e32d4c2223e7c9c89dd0a049806c539c6", "Work result": "19efe7487084061e9e358495b8a9bfd7e9d7c0035010e08ac35c14ba4ff8ca2a", @@ -8287,6 +8301,7 @@ "Allows": "Permite", "Allows commands starting with {command}": "Permite comandos começando com {command}", "Already imported": "Já importado", + "Already in work": "Já no trabalho", "Also allow private memory and private chat queries remotely": "Permitir também consultas de memória privada e bate-papo privado remotamente", "Alternatives": "Alternativas", "Alternatives considered": "Alternativas consideradas", @@ -8547,6 +8562,7 @@ "Auto-start by default": "Auto-start by default", "Auto-start step": "Auto-start step", "Automatic": "Automático", + "Automatic intake": "Ingestão automática", "Automatic learning is off": "O aprendizado automático está desativado", "Automatic parallel execution": "Automatic parallel execution", "Automatic proposals enabled": "Propostas automáticas ativadas", @@ -8975,6 +8991,7 @@ "Check failed": "Falha na verificação", "Check for changes": "Verifique se há alterações", "Check for updates": "Verifique se há atualizações", + "Check GitHub inbox": "Verifique a caixa de entrada do GitHub", "Check member status": "Verifique o status do membro", "Check member status to load readiness.": "Verifique o status do membro para carregar a prontidão.", "Check needed": "Verificação necessária", @@ -9282,6 +9299,7 @@ "Concise": "Conciso", "Concise, focused, direct.": "Conciso, focado, direto.", "conclusion {conclusion}": "conclusão {conclusion}", + "Concurrent work limit reached": "Limite de trabalho simultâneo atingido", "Confidence": "Confiança", "Configuration": "Configuração", "Configuration digest": "Resumo de configuração", @@ -10658,6 +10676,7 @@ "github": "GitHub", "GitHub": "GitHub", "GitHub CI triage": "Triagem de CI do GitHub", + "GitHub intake": "Entrada do GitHub", "GitHub MCP": "Github MCP", "GitHub not connected (GITHUB_TOKEN or GH_TOKEN)": "GitHub not connected (GITHUB_TOKEN or GH_TOKEN)", "GitHub unavailable; retry later": "GitHub unavailable; retry later", @@ -12537,6 +12556,7 @@ "Policy details": "Detalhes da política", "Policy narrows authority": "Política restringe autoridade", "policy overlays": "sobreposições de políticas", + "Policy paused": "Política pausada", "Policy review": "Revisão da política", "Policy snapshot artifact": "Artefato de instantâneo de política", "Poll once": "Enquete uma vez", @@ -12732,6 +12752,7 @@ "Provider state": "Estado do provedor", "Provider templates": "Modelos de provedor", "Provider type": "Tipo de provedor", + "Provider unavailable": "Provedor indisponível", "Provider version": "Versão do provedor", "Provider warmup": "Aquecimento do provedor", "Provider was automatically rechecked after daemon restart.": "O provedor foi verificado novamente automaticamente após a reinicialização do daemon.", @@ -13117,6 +13138,8 @@ "Required for assigned teammates": "Obrigatório para colegas de equipe atribuídos", "Required input": "Entrada obrigatória", "Required input: {value}": "Entrada necessária: {value}", + "Required label": "Etiqueta obrigatória", + "Required label missing": "Rótulo obrigatório ausente", "Required permissions": "Permissões necessárias", "Required skill information is missing.": "Faltam informações sobre as habilidades necessárias.", "Required statuses": "Required statuses", @@ -14126,6 +14149,7 @@ "Start an active Computer Use task first.": "Inicie primeiro uma tarefa Computer Use ativa.", "Start autoplan": "Iniciar plano automático", "Start background": "Iniciar plano de fundo", + "Start budget reached": "Orçamento inicial alcançado", "Start by choosing a template or creating one manually.": "Comece escolhendo um modelo ou criando um manualmente.", "Start child branch": "Iniciar branch filho", "Start from a default role or blank teammate.": "Comece com uma função padrão ou um colega de equipe em branco.", @@ -14231,7 +14255,9 @@ "succeeded": "sucesso", "Succeeded": "Sucesso", "Successfully generated {count} artifact based on the provided prompt.": "Artefato {count} gerado com sucesso com base no prompt fornecido.", + "Suggest": "Sugerir", "Suggest responsible owners based on context, decisions, and recent work.": "Sugira proprietários responsáveis ​​com base no contexto, nas decisões e no trabalho recente.", + "Suggested": "Sugerido", "Suggested next step": "Próxima etapa sugerida", "Suggested routing": "Roteamento sugerido", "Summaries": "Resumos", @@ -14940,6 +14966,7 @@ "Untracked": "Não rastreado", "unverified": "não verificado", "Unverified": "Não verificado", + "Up to {concurrent} active and {starts} starts per {minutes} min": "Até {concurrent} ativos e {starts} partidas por {minutes} min", "Up to date": "Atualizado", "Update": "Atualizar", "Update available": "Atualização disponível", @@ -15267,6 +15294,7 @@ "Work intake, tool servers, and plugin bundles": "Entrada de trabalho, servidores de ferramentas e pacotes de plug-ins", "Work is claimed": "O trabalho é reivindicado", "Work item ID": "Item de trabalho ID", + "Work item paused": "Item de trabalho pausado", "Work items": "Itens de trabalho", "Work marked failed": "Trabalho marcado como falha", "Work result": "Resultado do trabalho", diff --git a/packages/localization/catalogs/pt-PT.json b/packages/localization/catalogs/pt-PT.json index 9b1ad72ae..52c2b97c1 100644 --- a/packages/localization/catalogs/pt-PT.json +++ b/packages/localization/catalogs/pt-PT.json @@ -1,6 +1,6 @@ { "locale": "pt-PT", - "sourceRevision": "214db76d79f1a5c0fd915c110a2ead6dbb978b58398846e982a0c1ff0cb53108", + "sourceRevision": "6468d2af71d2feb60f9b8c5f37bc2a3ff1177fb2c8b0d65e85002de6b1095cbb", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -568,6 +568,7 @@ "Allows": "8b1d52d202522d89fe65fb00e505abab46dc200a88c0be5d468a2a7e6dce9ccf", "Allows commands starting with {command}": "f5c5d446a6850880ae79768c175bacaf2bc487f715d5768d0b225eb643e3ce07", "Already imported": "e47fafe0a1c6f8d6b5c641c5d9cc7ca61e66a1c50bbc3b619c8ff5912444bfa8", + "Already in work": "ae40a6ff362406d9f1fdc40ad79cea7bd1705e6e173b2267f2a310777aedb387", "Also allow private memory and private chat queries remotely": "0b6b2ba6882b67c8b5b79f0f07964588232be1a9e520011e19bbea224c59a913", "Alternatives": "41055f72edad1559b8ba43440cd7938eb73685930c7141fede9b95000fd41299", "Alternatives considered": "73534cb410e6191096c7fa7ca56ba066f90b4fdede8677d64bc98068804afa3c", @@ -828,6 +829,7 @@ "Auto-start by default": "403861dc8396a3ea666e143d33e0429d3c26721771abf3face351259eee9b28f", "Auto-start step": "2bf61e4807ad3bf6ebc934bf54e917d5b3a87295001826be3a7dd57c7e75cc8d", "Automatic": "d461a493a3753877c9486cffa3444265a33370af8a7fff242fb119b71750839c", + "Automatic intake": "6eed82b223c717114773803e9d9d90d6d3cde9579bf264647347e559817a5081", "Automatic learning is off": "8ba1b4a02530490260a7b8e748e0809ddc3885213a009f3896264bc665060bdd", "Automatic parallel execution": "63d058c173c4a148a14094327c26d9af2c5bde1779c91dbf0d913e90b0687be9", "Automatic proposals enabled": "db670932d259eeedd26de8d7ca836594d5f3861ff24e1f94170c7333676c157a", @@ -1256,6 +1258,7 @@ "Check failed": "c8813c1128d545bfe7e7458ae24d724447097b3518643f86fa3e532f88e9fb40", "Check for changes": "5da755d1690f58c1c822a4b85422734bacc2122c7c67f4e8617f0765ac835113", "Check for updates": "f26f3275e735bdf6268532ca7cbea3887c9adad21d8df74e84b2bc7791475c0d", + "Check GitHub inbox": "51cd97da0bc2b213621668f69168386eaee18bdae064041094187404c9fc71ee", "Check member status": "ff155af014d0b6e94cbf2fca3b01cf8d5725732f178eee985083478adb4a62f5", "Check member status to load readiness.": "6f7f338e22e626b134643fbaec898cf8e8efd19b85eeb6193b4ca0d5d63c4528", "Check needed": "561a32f0c83e5a4fe8d77d891bd4b954d514ea021b4a18e68a3607f5d8747841", @@ -1563,6 +1566,7 @@ "Concise": "8340d833ab72d3321b07af0184597743b010e142b39593cebb450d4227e62f0c", "Concise, focused, direct.": "e9cb028d2d79111476e9c8ea1562b7f6275fd39d43abf410338d7c0ae2fff5a5", "conclusion {conclusion}": "dc328d7e11ecbdc61fa90fc18e3ced70b794ca55dcc476d03c88eff72f16274d", + "Concurrent work limit reached": "f60d0f2d4a9ba0c57c7e7835bd52a1912f39581799f2babb636d190317a96b54", "Confidence": "6422e3e78f5e5f5a15e92cc57ed7114adb289339251031ccb526d9249437dc82", "Configuration": "b332c3492d5eb10a118eb6d8b0dcd689bc2477ce2ae16b303753b942b54377bc", "Configuration digest": "5bbf2d321122a5a57d36c77291d232d51f9ae9a1655e80f042727754aea15bfe", @@ -2939,6 +2943,7 @@ "github": "c0b0109d9439de57fe3cf03abeccbc52f4c98170c732d3b69af5e6395ace574e", "GitHub": "f911e414cf6bdfc595532ab166b5ba0f63d73c021452fcdacbda363dda6ad8fb", "GitHub CI triage": "6a2368ce3943b296b07b5241227baf2a863d3f50f8a46ddb0889cbb5045ccd84", + "GitHub intake": "064829c63fcbc74d45753e04f583c69a391d25d4ed334de3b69fa2720f733cb1", "GitHub MCP": "408b061889ef672152b51ce8dbd56216d1b7e97303429b59538b99fe663c6f04", "GitHub not connected (GITHUB_TOKEN or GH_TOKEN)": "1cb239b6b5ea26422b411a25d3a4e254cdf45b7e730eb91b976a36f12adeb21b", "GitHub unavailable; retry later": "33b2cec76eccd24c4d8d61c265de8b06a6a20820ab1fccdcb433a22903909d02", @@ -4818,6 +4823,7 @@ "Policy details": "00e33950cacf32a39cc25f71ccb1650c4c788c12816e07681d80f0fdc537be98", "Policy narrows authority": "e9e2012e5ac96664fb03ff0f81f4f49cb5b8ee069149139352e7c89b73e43baa", "policy overlays": "db26199cf2a47a948b45caf37b4d50ede3ef415fad6c940cfe56a118970fcefb", + "Policy paused": "11fc11eaf385253466e26bac9916425e1e009695cd40adc4c7a132366d187518", "Policy review": "1cf67fef927c77770a1fcd8b20982b24b15cc0b6f1e8b56265d87baff019dd7e", "Policy snapshot artifact": "7f8b2985d498316ac01fa5f2276d2556cab712b4c8bc2b93e16dfc1353e23a77", "Poll once": "c7e7d724ff87555fb857467569ce709d958ee2d5d1ab2cc890554c7605e86e78", @@ -5013,6 +5019,7 @@ "Provider state": "633d1ca46603e61fc3d39459c1414102a27bbc4ba0adfb0b22ba5a205c2b9815", "Provider templates": "1e8649b7c667a6afc6dc88cbdb3069e349e850466cf3efa57eeedab9b70486f7", "Provider type": "8c0f6d3ebfe7ba3a0c0006068a9aa664d09244ba3cd438f2d56fab117bee1347", + "Provider unavailable": "ff2113958589f9bfb87b54f959be825d00ec5eca374d907bb343f98ebdbc84c3", "Provider version": "1f5ecefbd682ced2f438c8ae3c8849ba9effbe6cd77c19051cee2d2036ef9c90", "Provider warmup": "36ae143804c9a909bce770f54be5652b69b99ee7838cca99daa31e23d4d6d63c", "Provider was automatically rechecked after daemon restart.": "7bd8e8ee592f30e81adca8c96b079d6526846dc142bd99e5bbba3d9bebbde7a9", @@ -5398,6 +5405,8 @@ "Required for assigned teammates": "4732aa544a8d93b886e6bcbbcc5c3314af692f8a8a812efd4844cd3589b7b63a", "Required input": "fafaaf99b5a6af521026448890a9dacaf4d47053804a34be7cdf364e13637181", "Required input: {value}": "757166b8bf43ee39819f00d86fa61a84ddb3f3eba2a883c6bb996b8f82101d22", + "Required label": "5f623a5ad31f874a782d2205c9318ce524371a35d782b9a7021eab521c2fbbcd", + "Required label missing": "6913716764f8018414060c041e41a2951f5444efe5e97cd30a557be26403d1b1", "Required permissions": "edaffed36060c21e958b3fe562b7c57f51f67ba46326b1a9a5317a47b20e1747", "Required skill information is missing.": "e5cb742af5e92afab21f42c3edd4f5940db52a1c5320a9dd7236eca89a702789", "Required statuses": "c77453db9c939c7c7b8da080b0053847604126aefacf5a900d1d0fe30e4ba5ee", @@ -6407,6 +6416,7 @@ "Start an active Computer Use task first.": "1242a212935f863b51a7f3e8d16f12af408152d8047b274c5fef9fb7f1435f50", "Start autoplan": "7419a8efae15550dc21cccc23ca0a16c446e884842bfe48056af34a921175cb0", "Start background": "c690dc635cd0437e8911748d795084e5d32d0b75811490076285d41032d7300c", + "Start budget reached": "6b915cfb021a78ae6f8b4c1f2d9f40bbadcc486c04cbb00a807d52bfe78102ca", "Start by choosing a template or creating one manually.": "6a3ba02535ac7a0ab934b569a915927936dede63b4277ea4500e77c8835d4666", "Start child branch": "ee7b6caa5b4a1d3e8fd3ce47a26b42a4f2472834dfa17b2efc1864d0ed710948", "Start from a default role or blank teammate.": "1464ae64fd1ee987e353f53a2f9bab20053b2f0ae320c07839b7eecf710b8a96", @@ -6512,7 +6522,9 @@ "succeeded": "5dceaeceb6d8a49d3665594710ace68dfbc1800e2d663d7febb302b4dbee3d27", "Succeeded": "6d9a6f97a5fdaf3b90a0cf02e0b43d8b7ec1d05c0e4718e02ddd1c5b450e5b39", "Successfully generated {count} artifact based on the provided prompt.": "71f85e7639c004421f062f2dd6a129e5173931798f5d33b6f0482038b38a88fc", + "Suggest": "4effad823b048b0440dbeff42665f60a6ddec8e121c378966ed7c074a512c51f", "Suggest responsible owners based on context, decisions, and recent work.": "484eb4e21bcdd76a531a4234403ea29f0626094f9a2915b674f17e0b949be0a3", + "Suggested": "93b63bab4c3a28d73a8bb83bcdfdcc5f6ddecfc8fc702296ca159d94c5dc6e53", "Suggested next step": "78d74fd4ffec8d83a942e1274cfd15426b2b4bb2d96b15f905277638c339869e", "Suggested routing": "442b15c099c136738e26e139912a5f5d21e90216aade875a8db595b09c81fcbe", "Summaries": "87bc590e047d3df4a8e448ac83e371fad69dd73607752cccb0ff7d34263cef8f", @@ -7221,6 +7233,7 @@ "Untracked": "c7ba5477e19cf0bb25460d840cc2e67341e81e1c2d274d00b3054c73898d4d27", "unverified": "97b7e2db799e2b79e65f418b42a7d3054c95b2d3ab1dba243039597e44a38084", "Unverified": "33c8e8de41c3a35124251370e2a36e4d589f8789d80630abbbeceb933d3fb58f", + "Up to {concurrent} active and {starts} starts per {minutes} min": "cca43c28ef670fd5d55cb3bd813a2fef137043e4028096bcd2cdf22e2a06586b", "Up to date": "ce29b7f85b9eaf7dac52e625accb4b0cb56a856ebe9a9de9a09b613b6d978dca", "Update": "c1c1009d3f37ec058070a62e22caf9ac9dae2169d452487c5c271a8bcf57a291", "Update available": "ff8b555d818f0b25bbdd1bec8b479660bac7fc276acbe993e759bf67fed32c34", @@ -7548,6 +7561,7 @@ "Work intake, tool servers, and plugin bundles": "16b65a84c6fca2014b7e2d28b151bbf0afe19345230a0ac37304802311fed850", "Work is claimed": "c4b0d953436f2f59355d6540bae28e055ff49243f612887bbaed7bfd98c85d4d", "Work item ID": "1dcdad81d13850bd962965719f362fa7f32693b7b54fd8bb25d1e2402a470626", + "Work item paused": "299aabbf3c1418a3f01117e072d3bfe418e174bd1f355d1afdfae23c7b4bf678", "Work items": "5759a416f2b3b4ff92da23b8059419e06c39d27180b91a557f7cae779df3d2b6", "Work marked failed": "f26306888ed8c9a3808b8a420428f63e32d4c2223e7c9c89dd0a049806c539c6", "Work result": "19efe7487084061e9e358495b8a9bfd7e9d7c0035010e08ac35c14ba4ff8ca2a", @@ -8287,6 +8301,7 @@ "Allows": "Permite", "Allows commands starting with {command}": "Permite comandos iniciados por {command}", "Already imported": "Já importado", + "Already in work": "Já no trabalho", "Also allow private memory and private chat queries remotely": "Permitir também consultas de memória privada e chat privado remotamente", "Alternatives": "Alternativas", "Alternatives considered": "Alternativas consideradas", @@ -8547,6 +8562,7 @@ "Auto-start by default": "Auto-start by default", "Auto-start step": "Auto-start step", "Automatic": "Automático", + "Automatic intake": "Ingestão automática", "Automatic learning is off": "O aprendizado automático está desativado", "Automatic parallel execution": "Automatic parallel execution", "Automatic proposals enabled": "Propostas automáticas ativadas", @@ -8975,6 +8991,7 @@ "Check failed": "Falha na verificação", "Check for changes": "Verifique se existem alterações", "Check for updates": "Verifique se existem atualizações", + "Check GitHub inbox": "Verifique a caixa de entrada do GitHub", "Check member status": "Verifique o estado do membro", "Check member status to load readiness.": "Verifique o estado do membro para carregar a prontidão.", "Check needed": "Verificação necessária", @@ -9282,6 +9299,7 @@ "Concise": "Conciso", "Concise, focused, direct.": "Conciso, focado, direto.", "conclusion {conclusion}": "conclusão {conclusion}", + "Concurrent work limit reached": "Limite de trabalho simultâneo atingido", "Confidence": "Confiança", "Configuration": "Configuração", "Configuration digest": "Resumo de configuração", @@ -10658,6 +10676,7 @@ "github": "GitHub", "GitHub": "GitHub", "GitHub CI triage": "Triagem de CI do GitHub", + "GitHub intake": "Entrada do GitHub", "GitHub MCP": "Github MCP", "GitHub not connected (GITHUB_TOKEN or GH_TOKEN)": "GitHub not connected (GITHUB_TOKEN or GH_TOKEN)", "GitHub unavailable; retry later": "GitHub unavailable; retry later", @@ -12537,6 +12556,7 @@ "Policy details": "Detalhes da política", "Policy narrows authority": "Política restringe autoridade", "policy overlays": "sobreposições de políticas", + "Policy paused": "Política pausada", "Policy review": "Revisão da política", "Policy snapshot artifact": "Artefacto de instantâneo de política", "Poll once": "Sondagem uma vez", @@ -12732,6 +12752,7 @@ "Provider state": "Estado do prestador", "Provider templates": "Modelos de fornecedor", "Provider type": "Tipo de fornecedor", + "Provider unavailable": "Fornecedor indisponível", "Provider version": "Versão do fornecedor", "Provider warmup": "Aquecimento do prestador", "Provider was automatically rechecked after daemon restart.": "O fornecedor foi verificado novamente automaticamente após a reinicialização do daemon.", @@ -13117,6 +13138,8 @@ "Required for assigned teammates": "Obrigatório para os colegas de equipa atribuídos", "Required input": "Entrada obrigatória", "Required input: {value}": "Entrada necessária: {value}", + "Required label": "Etiqueta obrigatória", + "Required label missing": "Rótulo obrigatório ausente", "Required permissions": "Permissões necessárias", "Required skill information is missing.": "Faltam informações sobre as competências necessárias.", "Required statuses": "Required statuses", @@ -14126,6 +14149,7 @@ "Start an active Computer Use task first.": "Inicie primeiro uma tarefa Computer Use ativa.", "Start autoplan": "Iniciar plano automático", "Start background": "Iniciar plano de fundo", + "Start budget reached": "Orçamento inicial alcançado", "Start by choosing a template or creating one manually.": "Comece por escolher um modelo ou criar um manualmente.", "Start child branch": "Iniciar branch filho", "Start from a default role or blank teammate.": "Comece com uma função padrão ou um colega de equipa em branco.", @@ -14231,7 +14255,9 @@ "succeeded": "sucesso", "Succeeded": "Sucesso", "Successfully generated {count} artifact based on the provided prompt.": "Artefacto {count} gerado com sucesso com base no prompt fornecido.", + "Suggest": "Sugerir", "Suggest responsible owners based on context, decisions, and recent work.": "Sugira proprietários responsáveis ​​com base no contexto, nas decisões e no trabalho recente.", + "Suggested": "Sugerido", "Suggested next step": "Próxima etapa sugerida", "Suggested routing": "Encaminhamento sugerido", "Summaries": "Resumos", @@ -14940,6 +14966,7 @@ "Untracked": "Não rastreado", "unverified": "não verificado", "Unverified": "Não verificado", + "Up to {concurrent} active and {starts} starts per {minutes} min": "Até {concurrent} ativos e {starts} partidas durante {minutes} min", "Up to date": "Atualizado", "Update": "Atualização", "Update available": "Atualização disponível", @@ -15267,6 +15294,7 @@ "Work intake, tool servers, and plugin bundles": "Entrada de trabalho, servidores de ferramentas e pacotes de plug-ins", "Work is claimed": "O trabalho é reivindicado", "Work item ID": "Artigo de trabalho ID", + "Work item paused": "Item de trabalho em pausa", "Work items": "Itens de trabalho", "Work marked failed": "Trabalho marcado como falha", "Work result": "Resultado do trabalho", diff --git a/packages/localization/catalogs/ro-RO.json b/packages/localization/catalogs/ro-RO.json index 7500de376..ef50bcbe9 100644 --- a/packages/localization/catalogs/ro-RO.json +++ b/packages/localization/catalogs/ro-RO.json @@ -1,6 +1,6 @@ { "locale": "ro-RO", - "sourceRevision": "214db76d79f1a5c0fd915c110a2ead6dbb978b58398846e982a0c1ff0cb53108", + "sourceRevision": "6468d2af71d2feb60f9b8c5f37bc2a3ff1177fb2c8b0d65e85002de6b1095cbb", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -568,6 +568,7 @@ "Allows": "8b1d52d202522d89fe65fb00e505abab46dc200a88c0be5d468a2a7e6dce9ccf", "Allows commands starting with {command}": "f5c5d446a6850880ae79768c175bacaf2bc487f715d5768d0b225eb643e3ce07", "Already imported": "e47fafe0a1c6f8d6b5c641c5d9cc7ca61e66a1c50bbc3b619c8ff5912444bfa8", + "Already in work": "ae40a6ff362406d9f1fdc40ad79cea7bd1705e6e173b2267f2a310777aedb387", "Also allow private memory and private chat queries remotely": "0b6b2ba6882b67c8b5b79f0f07964588232be1a9e520011e19bbea224c59a913", "Alternatives": "41055f72edad1559b8ba43440cd7938eb73685930c7141fede9b95000fd41299", "Alternatives considered": "73534cb410e6191096c7fa7ca56ba066f90b4fdede8677d64bc98068804afa3c", @@ -828,6 +829,7 @@ "Auto-start by default": "403861dc8396a3ea666e143d33e0429d3c26721771abf3face351259eee9b28f", "Auto-start step": "2bf61e4807ad3bf6ebc934bf54e917d5b3a87295001826be3a7dd57c7e75cc8d", "Automatic": "d461a493a3753877c9486cffa3444265a33370af8a7fff242fb119b71750839c", + "Automatic intake": "6eed82b223c717114773803e9d9d90d6d3cde9579bf264647347e559817a5081", "Automatic learning is off": "8ba1b4a02530490260a7b8e748e0809ddc3885213a009f3896264bc665060bdd", "Automatic parallel execution": "63d058c173c4a148a14094327c26d9af2c5bde1779c91dbf0d913e90b0687be9", "Automatic proposals enabled": "db670932d259eeedd26de8d7ca836594d5f3861ff24e1f94170c7333676c157a", @@ -1256,6 +1258,7 @@ "Check failed": "c8813c1128d545bfe7e7458ae24d724447097b3518643f86fa3e532f88e9fb40", "Check for changes": "5da755d1690f58c1c822a4b85422734bacc2122c7c67f4e8617f0765ac835113", "Check for updates": "f26f3275e735bdf6268532ca7cbea3887c9adad21d8df74e84b2bc7791475c0d", + "Check GitHub inbox": "51cd97da0bc2b213621668f69168386eaee18bdae064041094187404c9fc71ee", "Check member status": "ff155af014d0b6e94cbf2fca3b01cf8d5725732f178eee985083478adb4a62f5", "Check member status to load readiness.": "6f7f338e22e626b134643fbaec898cf8e8efd19b85eeb6193b4ca0d5d63c4528", "Check needed": "561a32f0c83e5a4fe8d77d891bd4b954d514ea021b4a18e68a3607f5d8747841", @@ -1563,6 +1566,7 @@ "Concise": "8340d833ab72d3321b07af0184597743b010e142b39593cebb450d4227e62f0c", "Concise, focused, direct.": "e9cb028d2d79111476e9c8ea1562b7f6275fd39d43abf410338d7c0ae2fff5a5", "conclusion {conclusion}": "dc328d7e11ecbdc61fa90fc18e3ced70b794ca55dcc476d03c88eff72f16274d", + "Concurrent work limit reached": "f60d0f2d4a9ba0c57c7e7835bd52a1912f39581799f2babb636d190317a96b54", "Confidence": "6422e3e78f5e5f5a15e92cc57ed7114adb289339251031ccb526d9249437dc82", "Configuration": "b332c3492d5eb10a118eb6d8b0dcd689bc2477ce2ae16b303753b942b54377bc", "Configuration digest": "5bbf2d321122a5a57d36c77291d232d51f9ae9a1655e80f042727754aea15bfe", @@ -2939,6 +2943,7 @@ "github": "c0b0109d9439de57fe3cf03abeccbc52f4c98170c732d3b69af5e6395ace574e", "GitHub": "f911e414cf6bdfc595532ab166b5ba0f63d73c021452fcdacbda363dda6ad8fb", "GitHub CI triage": "6a2368ce3943b296b07b5241227baf2a863d3f50f8a46ddb0889cbb5045ccd84", + "GitHub intake": "064829c63fcbc74d45753e04f583c69a391d25d4ed334de3b69fa2720f733cb1", "GitHub MCP": "408b061889ef672152b51ce8dbd56216d1b7e97303429b59538b99fe663c6f04", "GitHub not connected (GITHUB_TOKEN or GH_TOKEN)": "1cb239b6b5ea26422b411a25d3a4e254cdf45b7e730eb91b976a36f12adeb21b", "GitHub unavailable; retry later": "33b2cec76eccd24c4d8d61c265de8b06a6a20820ab1fccdcb433a22903909d02", @@ -4818,6 +4823,7 @@ "Policy details": "00e33950cacf32a39cc25f71ccb1650c4c788c12816e07681d80f0fdc537be98", "Policy narrows authority": "e9e2012e5ac96664fb03ff0f81f4f49cb5b8ee069149139352e7c89b73e43baa", "policy overlays": "db26199cf2a47a948b45caf37b4d50ede3ef415fad6c940cfe56a118970fcefb", + "Policy paused": "11fc11eaf385253466e26bac9916425e1e009695cd40adc4c7a132366d187518", "Policy review": "1cf67fef927c77770a1fcd8b20982b24b15cc0b6f1e8b56265d87baff019dd7e", "Policy snapshot artifact": "7f8b2985d498316ac01fa5f2276d2556cab712b4c8bc2b93e16dfc1353e23a77", "Poll once": "c7e7d724ff87555fb857467569ce709d958ee2d5d1ab2cc890554c7605e86e78", @@ -5013,6 +5019,7 @@ "Provider state": "633d1ca46603e61fc3d39459c1414102a27bbc4ba0adfb0b22ba5a205c2b9815", "Provider templates": "1e8649b7c667a6afc6dc88cbdb3069e349e850466cf3efa57eeedab9b70486f7", "Provider type": "8c0f6d3ebfe7ba3a0c0006068a9aa664d09244ba3cd438f2d56fab117bee1347", + "Provider unavailable": "ff2113958589f9bfb87b54f959be825d00ec5eca374d907bb343f98ebdbc84c3", "Provider version": "1f5ecefbd682ced2f438c8ae3c8849ba9effbe6cd77c19051cee2d2036ef9c90", "Provider warmup": "36ae143804c9a909bce770f54be5652b69b99ee7838cca99daa31e23d4d6d63c", "Provider was automatically rechecked after daemon restart.": "7bd8e8ee592f30e81adca8c96b079d6526846dc142bd99e5bbba3d9bebbde7a9", @@ -5398,6 +5405,8 @@ "Required for assigned teammates": "4732aa544a8d93b886e6bcbbcc5c3314af692f8a8a812efd4844cd3589b7b63a", "Required input": "fafaaf99b5a6af521026448890a9dacaf4d47053804a34be7cdf364e13637181", "Required input: {value}": "757166b8bf43ee39819f00d86fa61a84ddb3f3eba2a883c6bb996b8f82101d22", + "Required label": "5f623a5ad31f874a782d2205c9318ce524371a35d782b9a7021eab521c2fbbcd", + "Required label missing": "6913716764f8018414060c041e41a2951f5444efe5e97cd30a557be26403d1b1", "Required permissions": "edaffed36060c21e958b3fe562b7c57f51f67ba46326b1a9a5317a47b20e1747", "Required skill information is missing.": "e5cb742af5e92afab21f42c3edd4f5940db52a1c5320a9dd7236eca89a702789", "Required statuses": "c77453db9c939c7c7b8da080b0053847604126aefacf5a900d1d0fe30e4ba5ee", @@ -6407,6 +6416,7 @@ "Start an active Computer Use task first.": "1242a212935f863b51a7f3e8d16f12af408152d8047b274c5fef9fb7f1435f50", "Start autoplan": "7419a8efae15550dc21cccc23ca0a16c446e884842bfe48056af34a921175cb0", "Start background": "c690dc635cd0437e8911748d795084e5d32d0b75811490076285d41032d7300c", + "Start budget reached": "6b915cfb021a78ae6f8b4c1f2d9f40bbadcc486c04cbb00a807d52bfe78102ca", "Start by choosing a template or creating one manually.": "6a3ba02535ac7a0ab934b569a915927936dede63b4277ea4500e77c8835d4666", "Start child branch": "ee7b6caa5b4a1d3e8fd3ce47a26b42a4f2472834dfa17b2efc1864d0ed710948", "Start from a default role or blank teammate.": "1464ae64fd1ee987e353f53a2f9bab20053b2f0ae320c07839b7eecf710b8a96", @@ -6512,7 +6522,9 @@ "succeeded": "5dceaeceb6d8a49d3665594710ace68dfbc1800e2d663d7febb302b4dbee3d27", "Succeeded": "6d9a6f97a5fdaf3b90a0cf02e0b43d8b7ec1d05c0e4718e02ddd1c5b450e5b39", "Successfully generated {count} artifact based on the provided prompt.": "71f85e7639c004421f062f2dd6a129e5173931798f5d33b6f0482038b38a88fc", + "Suggest": "4effad823b048b0440dbeff42665f60a6ddec8e121c378966ed7c074a512c51f", "Suggest responsible owners based on context, decisions, and recent work.": "484eb4e21bcdd76a531a4234403ea29f0626094f9a2915b674f17e0b949be0a3", + "Suggested": "93b63bab4c3a28d73a8bb83bcdfdcc5f6ddecfc8fc702296ca159d94c5dc6e53", "Suggested next step": "78d74fd4ffec8d83a942e1274cfd15426b2b4bb2d96b15f905277638c339869e", "Suggested routing": "442b15c099c136738e26e139912a5f5d21e90216aade875a8db595b09c81fcbe", "Summaries": "87bc590e047d3df4a8e448ac83e371fad69dd73607752cccb0ff7d34263cef8f", @@ -7221,6 +7233,7 @@ "Untracked": "c7ba5477e19cf0bb25460d840cc2e67341e81e1c2d274d00b3054c73898d4d27", "unverified": "97b7e2db799e2b79e65f418b42a7d3054c95b2d3ab1dba243039597e44a38084", "Unverified": "33c8e8de41c3a35124251370e2a36e4d589f8789d80630abbbeceb933d3fb58f", + "Up to {concurrent} active and {starts} starts per {minutes} min": "cca43c28ef670fd5d55cb3bd813a2fef137043e4028096bcd2cdf22e2a06586b", "Up to date": "ce29b7f85b9eaf7dac52e625accb4b0cb56a856ebe9a9de9a09b613b6d978dca", "Update": "c1c1009d3f37ec058070a62e22caf9ac9dae2169d452487c5c271a8bcf57a291", "Update available": "ff8b555d818f0b25bbdd1bec8b479660bac7fc276acbe993e759bf67fed32c34", @@ -7548,6 +7561,7 @@ "Work intake, tool servers, and plugin bundles": "16b65a84c6fca2014b7e2d28b151bbf0afe19345230a0ac37304802311fed850", "Work is claimed": "c4b0d953436f2f59355d6540bae28e055ff49243f612887bbaed7bfd98c85d4d", "Work item ID": "1dcdad81d13850bd962965719f362fa7f32693b7b54fd8bb25d1e2402a470626", + "Work item paused": "299aabbf3c1418a3f01117e072d3bfe418e174bd1f355d1afdfae23c7b4bf678", "Work items": "5759a416f2b3b4ff92da23b8059419e06c39d27180b91a557f7cae779df3d2b6", "Work marked failed": "f26306888ed8c9a3808b8a420428f63e32d4c2223e7c9c89dd0a049806c539c6", "Work result": "19efe7487084061e9e358495b8a9bfd7e9d7c0035010e08ac35c14ba4ff8ca2a", @@ -8287,6 +8301,7 @@ "Allows": "Permite", "Allows commands starting with {command}": "Permite comenzi care încep cu {command}", "Already imported": "Deja importat", + "Already in work": "Deja în muncă", "Also allow private memory and private chat queries remotely": "De asemenea, permiteți memorie privată și interogări de chat private de la distanță", "Alternatives": "Alternative", "Alternatives considered": "Alternative luate în considerare", @@ -8547,6 +8562,7 @@ "Auto-start by default": "Auto-start by default", "Auto-start step": "Auto-start step", "Automatic": "Automat", + "Automatic intake": "Admisia automata", "Automatic learning is off": "Învățarea automată este dezactivată", "Automatic parallel execution": "Automatic parallel execution", "Automatic proposals enabled": "Propunerile automate sunt activate", @@ -8975,6 +8991,7 @@ "Check failed": "Verificarea a eșuat", "Check for changes": "Verificați dacă există modificări", "Check for updates": "Verificați actualizările", + "Check GitHub inbox": "Verificați căsuța de e-mail GitHub", "Check member status": "Verificați statutul de membru", "Check member status to load readiness.": "Verificați starea membrului pentru a încărca pregătirea.", "Check needed": "Verificare necesară", @@ -9282,6 +9299,7 @@ "Concise": "Concis", "Concise, focused, direct.": "Concis, concentrat, direct.", "conclusion {conclusion}": "concluzia {conclusion}", + "Concurrent work limit reached": "Limita de lucru simultan a fost atinsă", "Confidence": "Încredere", "Configuration": "Configurare", "Configuration digest": "Rezumat de configurare", @@ -10658,6 +10676,7 @@ "github": "github", "GitHub": "GitHub", "GitHub CI triage": "Triajul CI GitHub", + "GitHub intake": "Aportul GitHub", "GitHub MCP": "GitHub MCP", "GitHub not connected (GITHUB_TOKEN or GH_TOKEN)": "GitHub not connected (GITHUB_TOKEN or GH_TOKEN)", "GitHub unavailable; retry later": "GitHub unavailable; retry later", @@ -12537,6 +12556,7 @@ "Policy details": "Detalii de politică", "Policy narrows authority": "Politica restrânge autoritatea", "policy overlays": "suprapuneri de politici", + "Policy paused": "Politica a fost întreruptă", "Policy review": "Revizuirea politicii", "Policy snapshot artifact": "Artefact instantaneu al politicii", "Poll once": "Sondaj o dată", @@ -12732,6 +12752,7 @@ "Provider state": "Statul furnizorului", "Provider templates": "Șabloane de furnizor", "Provider type": "Tipul de furnizor", + "Provider unavailable": "Furnizorul nu este disponibil", "Provider version": "Versiunea furnizorului", "Provider warmup": "Încălzirea furnizorului", "Provider was automatically rechecked after daemon restart.": "Furnizorul a fost verificat automat după repornirea demonului.", @@ -13117,6 +13138,8 @@ "Required for assigned teammates": "Necesar pentru colegii de echipă alocați", "Required input": "Intrare necesară", "Required input: {value}": "Intrare necesară: {value}", + "Required label": "Etichetă obligatorie", + "Required label missing": "Eticheta obligatorie lipsește", "Required permissions": "Permisiuni necesare", "Required skill information is missing.": "Lipsesc informații despre abilități necesare.", "Required statuses": "Required statuses", @@ -14126,6 +14149,7 @@ "Start an active Computer Use task first.": "Începeți mai întâi o sarcină activă Computer Use.", "Start autoplan": "Porniți planificarea automată", "Start background": "Începe fundalul", + "Start budget reached": "Bugetul de început a fost atins", "Start by choosing a template or creating one manually.": "Începeți prin a alege un șablon sau prin a crea unul manual.", "Start child branch": "Începeți ramura copil", "Start from a default role or blank teammate.": "Începeți de la un rol implicit sau un coechipier gol.", @@ -14231,7 +14255,9 @@ "succeeded": "a reusit", "Succeeded": "Reușit", "Successfully generated {count} artifact based on the provided prompt.": "Artefact {count} generat cu succes pe baza promptului furnizat.", + "Suggest": "Sugerează", "Suggest responsible owners based on context, decisions, and recent work.": "Sugerați proprietari responsabili în funcție de context, decizii și munca recentă.", + "Suggested": "Sugerat", "Suggested next step": "Pasul următor sugerat", "Suggested routing": "Dirijare sugerată", "Summaries": "Rezumate", @@ -14940,6 +14966,7 @@ "Untracked": "Neurmată", "unverified": "neverificat", "Unverified": "Neverificat", + "Up to {concurrent} active and {starts} starts per {minutes} min": "Până la {concurrent} activ și {starts} pornește la {minutes} min", "Up to date": "La zi", "Update": "Actualizare", "Update available": "Actualizare disponibilă", @@ -15267,6 +15294,7 @@ "Work intake, tool servers, and plugin bundles": "Aportul de muncă, servere de instrumente și pachete de pluginuri", "Work is claimed": "Munca este revendicată", "Work item ID": "Element de lucru ID", + "Work item paused": "Element de lucru a fost întrerupt", "Work items": "Obiecte de lucru", "Work marked failed": "Lucrarea marcată eșuată", "Work result": "Rezultatul muncii", diff --git a/packages/localization/catalogs/ru-RU.json b/packages/localization/catalogs/ru-RU.json index 9f1d7cde4..95a2d8dcb 100644 --- a/packages/localization/catalogs/ru-RU.json +++ b/packages/localization/catalogs/ru-RU.json @@ -1,6 +1,6 @@ { "locale": "ru-RU", - "sourceRevision": "214db76d79f1a5c0fd915c110a2ead6dbb978b58398846e982a0c1ff0cb53108", + "sourceRevision": "6468d2af71d2feb60f9b8c5f37bc2a3ff1177fb2c8b0d65e85002de6b1095cbb", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -568,6 +568,7 @@ "Allows": "8b1d52d202522d89fe65fb00e505abab46dc200a88c0be5d468a2a7e6dce9ccf", "Allows commands starting with {command}": "f5c5d446a6850880ae79768c175bacaf2bc487f715d5768d0b225eb643e3ce07", "Already imported": "e47fafe0a1c6f8d6b5c641c5d9cc7ca61e66a1c50bbc3b619c8ff5912444bfa8", + "Already in work": "ae40a6ff362406d9f1fdc40ad79cea7bd1705e6e173b2267f2a310777aedb387", "Also allow private memory and private chat queries remotely": "0b6b2ba6882b67c8b5b79f0f07964588232be1a9e520011e19bbea224c59a913", "Alternatives": "41055f72edad1559b8ba43440cd7938eb73685930c7141fede9b95000fd41299", "Alternatives considered": "73534cb410e6191096c7fa7ca56ba066f90b4fdede8677d64bc98068804afa3c", @@ -828,6 +829,7 @@ "Auto-start by default": "403861dc8396a3ea666e143d33e0429d3c26721771abf3face351259eee9b28f", "Auto-start step": "2bf61e4807ad3bf6ebc934bf54e917d5b3a87295001826be3a7dd57c7e75cc8d", "Automatic": "d461a493a3753877c9486cffa3444265a33370af8a7fff242fb119b71750839c", + "Automatic intake": "6eed82b223c717114773803e9d9d90d6d3cde9579bf264647347e559817a5081", "Automatic learning is off": "8ba1b4a02530490260a7b8e748e0809ddc3885213a009f3896264bc665060bdd", "Automatic parallel execution": "63d058c173c4a148a14094327c26d9af2c5bde1779c91dbf0d913e90b0687be9", "Automatic proposals enabled": "db670932d259eeedd26de8d7ca836594d5f3861ff24e1f94170c7333676c157a", @@ -1256,6 +1258,7 @@ "Check failed": "c8813c1128d545bfe7e7458ae24d724447097b3518643f86fa3e532f88e9fb40", "Check for changes": "5da755d1690f58c1c822a4b85422734bacc2122c7c67f4e8617f0765ac835113", "Check for updates": "f26f3275e735bdf6268532ca7cbea3887c9adad21d8df74e84b2bc7791475c0d", + "Check GitHub inbox": "51cd97da0bc2b213621668f69168386eaee18bdae064041094187404c9fc71ee", "Check member status": "ff155af014d0b6e94cbf2fca3b01cf8d5725732f178eee985083478adb4a62f5", "Check member status to load readiness.": "6f7f338e22e626b134643fbaec898cf8e8efd19b85eeb6193b4ca0d5d63c4528", "Check needed": "561a32f0c83e5a4fe8d77d891bd4b954d514ea021b4a18e68a3607f5d8747841", @@ -1563,6 +1566,7 @@ "Concise": "8340d833ab72d3321b07af0184597743b010e142b39593cebb450d4227e62f0c", "Concise, focused, direct.": "e9cb028d2d79111476e9c8ea1562b7f6275fd39d43abf410338d7c0ae2fff5a5", "conclusion {conclusion}": "dc328d7e11ecbdc61fa90fc18e3ced70b794ca55dcc476d03c88eff72f16274d", + "Concurrent work limit reached": "f60d0f2d4a9ba0c57c7e7835bd52a1912f39581799f2babb636d190317a96b54", "Confidence": "6422e3e78f5e5f5a15e92cc57ed7114adb289339251031ccb526d9249437dc82", "Configuration": "b332c3492d5eb10a118eb6d8b0dcd689bc2477ce2ae16b303753b942b54377bc", "Configuration digest": "5bbf2d321122a5a57d36c77291d232d51f9ae9a1655e80f042727754aea15bfe", @@ -2939,6 +2943,7 @@ "github": "c0b0109d9439de57fe3cf03abeccbc52f4c98170c732d3b69af5e6395ace574e", "GitHub": "f911e414cf6bdfc595532ab166b5ba0f63d73c021452fcdacbda363dda6ad8fb", "GitHub CI triage": "6a2368ce3943b296b07b5241227baf2a863d3f50f8a46ddb0889cbb5045ccd84", + "GitHub intake": "064829c63fcbc74d45753e04f583c69a391d25d4ed334de3b69fa2720f733cb1", "GitHub MCP": "408b061889ef672152b51ce8dbd56216d1b7e97303429b59538b99fe663c6f04", "GitHub not connected (GITHUB_TOKEN or GH_TOKEN)": "1cb239b6b5ea26422b411a25d3a4e254cdf45b7e730eb91b976a36f12adeb21b", "GitHub unavailable; retry later": "33b2cec76eccd24c4d8d61c265de8b06a6a20820ab1fccdcb433a22903909d02", @@ -4818,6 +4823,7 @@ "Policy details": "00e33950cacf32a39cc25f71ccb1650c4c788c12816e07681d80f0fdc537be98", "Policy narrows authority": "e9e2012e5ac96664fb03ff0f81f4f49cb5b8ee069149139352e7c89b73e43baa", "policy overlays": "db26199cf2a47a948b45caf37b4d50ede3ef415fad6c940cfe56a118970fcefb", + "Policy paused": "11fc11eaf385253466e26bac9916425e1e009695cd40adc4c7a132366d187518", "Policy review": "1cf67fef927c77770a1fcd8b20982b24b15cc0b6f1e8b56265d87baff019dd7e", "Policy snapshot artifact": "7f8b2985d498316ac01fa5f2276d2556cab712b4c8bc2b93e16dfc1353e23a77", "Poll once": "c7e7d724ff87555fb857467569ce709d958ee2d5d1ab2cc890554c7605e86e78", @@ -5013,6 +5019,7 @@ "Provider state": "633d1ca46603e61fc3d39459c1414102a27bbc4ba0adfb0b22ba5a205c2b9815", "Provider templates": "1e8649b7c667a6afc6dc88cbdb3069e349e850466cf3efa57eeedab9b70486f7", "Provider type": "8c0f6d3ebfe7ba3a0c0006068a9aa664d09244ba3cd438f2d56fab117bee1347", + "Provider unavailable": "ff2113958589f9bfb87b54f959be825d00ec5eca374d907bb343f98ebdbc84c3", "Provider version": "1f5ecefbd682ced2f438c8ae3c8849ba9effbe6cd77c19051cee2d2036ef9c90", "Provider warmup": "36ae143804c9a909bce770f54be5652b69b99ee7838cca99daa31e23d4d6d63c", "Provider was automatically rechecked after daemon restart.": "7bd8e8ee592f30e81adca8c96b079d6526846dc142bd99e5bbba3d9bebbde7a9", @@ -5398,6 +5405,8 @@ "Required for assigned teammates": "4732aa544a8d93b886e6bcbbcc5c3314af692f8a8a812efd4844cd3589b7b63a", "Required input": "fafaaf99b5a6af521026448890a9dacaf4d47053804a34be7cdf364e13637181", "Required input: {value}": "757166b8bf43ee39819f00d86fa61a84ddb3f3eba2a883c6bb996b8f82101d22", + "Required label": "5f623a5ad31f874a782d2205c9318ce524371a35d782b9a7021eab521c2fbbcd", + "Required label missing": "6913716764f8018414060c041e41a2951f5444efe5e97cd30a557be26403d1b1", "Required permissions": "edaffed36060c21e958b3fe562b7c57f51f67ba46326b1a9a5317a47b20e1747", "Required skill information is missing.": "e5cb742af5e92afab21f42c3edd4f5940db52a1c5320a9dd7236eca89a702789", "Required statuses": "c77453db9c939c7c7b8da080b0053847604126aefacf5a900d1d0fe30e4ba5ee", @@ -6407,6 +6416,7 @@ "Start an active Computer Use task first.": "1242a212935f863b51a7f3e8d16f12af408152d8047b274c5fef9fb7f1435f50", "Start autoplan": "7419a8efae15550dc21cccc23ca0a16c446e884842bfe48056af34a921175cb0", "Start background": "c690dc635cd0437e8911748d795084e5d32d0b75811490076285d41032d7300c", + "Start budget reached": "6b915cfb021a78ae6f8b4c1f2d9f40bbadcc486c04cbb00a807d52bfe78102ca", "Start by choosing a template or creating one manually.": "6a3ba02535ac7a0ab934b569a915927936dede63b4277ea4500e77c8835d4666", "Start child branch": "ee7b6caa5b4a1d3e8fd3ce47a26b42a4f2472834dfa17b2efc1864d0ed710948", "Start from a default role or blank teammate.": "1464ae64fd1ee987e353f53a2f9bab20053b2f0ae320c07839b7eecf710b8a96", @@ -6512,7 +6522,9 @@ "succeeded": "5dceaeceb6d8a49d3665594710ace68dfbc1800e2d663d7febb302b4dbee3d27", "Succeeded": "6d9a6f97a5fdaf3b90a0cf02e0b43d8b7ec1d05c0e4718e02ddd1c5b450e5b39", "Successfully generated {count} artifact based on the provided prompt.": "71f85e7639c004421f062f2dd6a129e5173931798f5d33b6f0482038b38a88fc", + "Suggest": "4effad823b048b0440dbeff42665f60a6ddec8e121c378966ed7c074a512c51f", "Suggest responsible owners based on context, decisions, and recent work.": "484eb4e21bcdd76a531a4234403ea29f0626094f9a2915b674f17e0b949be0a3", + "Suggested": "93b63bab4c3a28d73a8bb83bcdfdcc5f6ddecfc8fc702296ca159d94c5dc6e53", "Suggested next step": "78d74fd4ffec8d83a942e1274cfd15426b2b4bb2d96b15f905277638c339869e", "Suggested routing": "442b15c099c136738e26e139912a5f5d21e90216aade875a8db595b09c81fcbe", "Summaries": "87bc590e047d3df4a8e448ac83e371fad69dd73607752cccb0ff7d34263cef8f", @@ -7221,6 +7233,7 @@ "Untracked": "c7ba5477e19cf0bb25460d840cc2e67341e81e1c2d274d00b3054c73898d4d27", "unverified": "97b7e2db799e2b79e65f418b42a7d3054c95b2d3ab1dba243039597e44a38084", "Unverified": "33c8e8de41c3a35124251370e2a36e4d589f8789d80630abbbeceb933d3fb58f", + "Up to {concurrent} active and {starts} starts per {minutes} min": "cca43c28ef670fd5d55cb3bd813a2fef137043e4028096bcd2cdf22e2a06586b", "Up to date": "ce29b7f85b9eaf7dac52e625accb4b0cb56a856ebe9a9de9a09b613b6d978dca", "Update": "c1c1009d3f37ec058070a62e22caf9ac9dae2169d452487c5c271a8bcf57a291", "Update available": "ff8b555d818f0b25bbdd1bec8b479660bac7fc276acbe993e759bf67fed32c34", @@ -7548,6 +7561,7 @@ "Work intake, tool servers, and plugin bundles": "16b65a84c6fca2014b7e2d28b151bbf0afe19345230a0ac37304802311fed850", "Work is claimed": "c4b0d953436f2f59355d6540bae28e055ff49243f612887bbaed7bfd98c85d4d", "Work item ID": "1dcdad81d13850bd962965719f362fa7f32693b7b54fd8bb25d1e2402a470626", + "Work item paused": "299aabbf3c1418a3f01117e072d3bfe418e174bd1f355d1afdfae23c7b4bf678", "Work items": "5759a416f2b3b4ff92da23b8059419e06c39d27180b91a557f7cae779df3d2b6", "Work marked failed": "f26306888ed8c9a3808b8a420428f63e32d4c2223e7c9c89dd0a049806c539c6", "Work result": "19efe7487084061e9e358495b8a9bfd7e9d7c0035010e08ac35c14ba4ff8ca2a", @@ -8287,6 +8301,7 @@ "Allows": "Позволяет", "Allows commands starting with {command}": "Разрешает команды, начинающиеся с {command}", "Already imported": "Уже импортировано", + "Already in work": "Уже в работе", "Also allow private memory and private chat queries remotely": "Также разрешите удаленное использование частной памяти и личных запросов в чате.", "Alternatives": "Альтернативы", "Alternatives considered": "Рассматриваемые альтернативы", @@ -8547,6 +8562,7 @@ "Auto-start by default": "Auto-start by default", "Auto-start step": "Auto-start step", "Automatic": "Автоматический", + "Automatic intake": "Автоматический впуск", "Automatic learning is off": "Автоматическое обучение отключено", "Automatic parallel execution": "Automatic parallel execution", "Automatic proposals enabled": "Автоматические предложения включены", @@ -8975,6 +8991,7 @@ "Check failed": "Проверка не удалась", "Check for changes": "Проверьте наличие изменений", "Check for updates": "Проверьте наличие обновлений", + "Check GitHub inbox": "Проверьте входящие сообщения GitHub", "Check member status": "Проверить статус участника", "Check member status to load readiness.": "Проверьте статус участника, чтобы загрузить готовность.", "Check needed": "Требуется проверка", @@ -9282,6 +9299,7 @@ "Concise": "Краткий", "Concise, focused, direct.": "Кратко, сосредоточенно, прямо.", "conclusion {conclusion}": "вывод {conclusion}", + "Concurrent work limit reached": "Достигнут предел одновременной работы", "Confidence": "Уверенность", "Configuration": "Конфигурация", "Configuration digest": "Дайджест конфигурации", @@ -10658,6 +10676,7 @@ "github": "github", "GitHub": "GitHub", "GitHub CI triage": "Сортировка CI на GitHub", + "GitHub intake": "Приём на GitHub", "GitHub MCP": "Гитхаб MCP", "GitHub not connected (GITHUB_TOKEN or GH_TOKEN)": "GitHub not connected (GITHUB_TOKEN or GH_TOKEN)", "GitHub unavailable; retry later": "GitHub unavailable; retry later", @@ -12537,6 +12556,7 @@ "Policy details": "Подробности политики", "Policy narrows authority": "Политика сужает полномочия", "policy overlays": "наложения политики", + "Policy paused": "Политика приостановлена", "Policy review": "Обзор политики", "Policy snapshot artifact": "Артефакт моментального снимка политики", "Poll once": "Опрос один раз", @@ -12732,6 +12752,7 @@ "Provider state": "Состояние поставщика", "Provider templates": "Шаблоны поставщиков", "Provider type": "Тип провайдера", + "Provider unavailable": "Провайдер недоступен", "Provider version": "Версия провайдера", "Provider warmup": "Прогрев провайдера", "Provider was automatically rechecked after daemon restart.": "Провайдер был автоматически перепроверен после перезапуска демона.", @@ -13117,6 +13138,8 @@ "Required for assigned teammates": "Требуется для назначенных товарищей по команде", "Required input": "Требуемый ввод", "Required input: {value}": "Требуемый ввод: {value}", + "Required label": "Требуемый ярлык", + "Required label missing": "Отсутствует обязательная этикетка", "Required permissions": "Требуемые разрешения", "Required skill information is missing.": "Информация о необходимых навыках отсутствует.", "Required statuses": "Required statuses", @@ -14126,6 +14149,7 @@ "Start an active Computer Use task first.": "Сначала запустите активную задачу Computer Use.", "Start autoplan": "Запустить автоплан", "Start background": "Начальный фон", + "Start budget reached": "Достигнут стартовый бюджет", "Start by choosing a template or creating one manually.": "Начните с выбора шаблона или создания его вручную.", "Start child branch": "Начать дочернюю ветку", "Start from a default role or blank teammate.": "Начните с роли по умолчанию или с пустого товарища по команде.", @@ -14231,7 +14255,9 @@ "succeeded": "удалось", "Succeeded": "Удалось", "Successfully generated {count} artifact based on the provided prompt.": "Артефакт {count} успешно создан на основе предоставленного запроса.", + "Suggest": "Предлагать", "Suggest responsible owners based on context, decisions, and recent work.": "Предложите ответственных владельцев на основе контекста, решений и недавней работы.", + "Suggested": "Предложенный", "Suggested next step": "Предлагаемый следующий шаг", "Suggested routing": "Предлагаемый маршрут", "Summaries": "Резюме", @@ -14940,6 +14966,7 @@ "Untracked": "Неотслеживаемый", "unverified": "непроверенный", "Unverified": "Непроверенный", + "Up to {concurrent} active and {starts} starts per {minutes} min": "До {concurrent} активных и {starts} пусков каждые {minutes} мин.", "Up to date": "До настоящего времени", "Update": "Обновлять", "Update available": "Доступно обновление", @@ -15267,6 +15294,7 @@ "Work intake, tool servers, and plugin bundles": "Приём работ, серверы инструментов и пакеты плагинов", "Work is claimed": "Работа заявлена", "Work item ID": "Рабочий элемент ID", + "Work item paused": "Рабочий элемент приостановлен", "Work items": "Рабочие элементы", "Work marked failed": "Работа отмечена как неудавшаяся", "Work result": "Результат работы", diff --git a/packages/localization/catalogs/sk-SK.json b/packages/localization/catalogs/sk-SK.json index d0fae6d92..6f6e77e8d 100644 --- a/packages/localization/catalogs/sk-SK.json +++ b/packages/localization/catalogs/sk-SK.json @@ -1,6 +1,6 @@ { "locale": "sk-SK", - "sourceRevision": "214db76d79f1a5c0fd915c110a2ead6dbb978b58398846e982a0c1ff0cb53108", + "sourceRevision": "6468d2af71d2feb60f9b8c5f37bc2a3ff1177fb2c8b0d65e85002de6b1095cbb", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -568,6 +568,7 @@ "Allows": "8b1d52d202522d89fe65fb00e505abab46dc200a88c0be5d468a2a7e6dce9ccf", "Allows commands starting with {command}": "f5c5d446a6850880ae79768c175bacaf2bc487f715d5768d0b225eb643e3ce07", "Already imported": "e47fafe0a1c6f8d6b5c641c5d9cc7ca61e66a1c50bbc3b619c8ff5912444bfa8", + "Already in work": "ae40a6ff362406d9f1fdc40ad79cea7bd1705e6e173b2267f2a310777aedb387", "Also allow private memory and private chat queries remotely": "0b6b2ba6882b67c8b5b79f0f07964588232be1a9e520011e19bbea224c59a913", "Alternatives": "41055f72edad1559b8ba43440cd7938eb73685930c7141fede9b95000fd41299", "Alternatives considered": "73534cb410e6191096c7fa7ca56ba066f90b4fdede8677d64bc98068804afa3c", @@ -828,6 +829,7 @@ "Auto-start by default": "403861dc8396a3ea666e143d33e0429d3c26721771abf3face351259eee9b28f", "Auto-start step": "2bf61e4807ad3bf6ebc934bf54e917d5b3a87295001826be3a7dd57c7e75cc8d", "Automatic": "d461a493a3753877c9486cffa3444265a33370af8a7fff242fb119b71750839c", + "Automatic intake": "6eed82b223c717114773803e9d9d90d6d3cde9579bf264647347e559817a5081", "Automatic learning is off": "8ba1b4a02530490260a7b8e748e0809ddc3885213a009f3896264bc665060bdd", "Automatic parallel execution": "63d058c173c4a148a14094327c26d9af2c5bde1779c91dbf0d913e90b0687be9", "Automatic proposals enabled": "db670932d259eeedd26de8d7ca836594d5f3861ff24e1f94170c7333676c157a", @@ -1256,6 +1258,7 @@ "Check failed": "c8813c1128d545bfe7e7458ae24d724447097b3518643f86fa3e532f88e9fb40", "Check for changes": "5da755d1690f58c1c822a4b85422734bacc2122c7c67f4e8617f0765ac835113", "Check for updates": "f26f3275e735bdf6268532ca7cbea3887c9adad21d8df74e84b2bc7791475c0d", + "Check GitHub inbox": "51cd97da0bc2b213621668f69168386eaee18bdae064041094187404c9fc71ee", "Check member status": "ff155af014d0b6e94cbf2fca3b01cf8d5725732f178eee985083478adb4a62f5", "Check member status to load readiness.": "6f7f338e22e626b134643fbaec898cf8e8efd19b85eeb6193b4ca0d5d63c4528", "Check needed": "561a32f0c83e5a4fe8d77d891bd4b954d514ea021b4a18e68a3607f5d8747841", @@ -1563,6 +1566,7 @@ "Concise": "8340d833ab72d3321b07af0184597743b010e142b39593cebb450d4227e62f0c", "Concise, focused, direct.": "e9cb028d2d79111476e9c8ea1562b7f6275fd39d43abf410338d7c0ae2fff5a5", "conclusion {conclusion}": "dc328d7e11ecbdc61fa90fc18e3ced70b794ca55dcc476d03c88eff72f16274d", + "Concurrent work limit reached": "f60d0f2d4a9ba0c57c7e7835bd52a1912f39581799f2babb636d190317a96b54", "Confidence": "6422e3e78f5e5f5a15e92cc57ed7114adb289339251031ccb526d9249437dc82", "Configuration": "b332c3492d5eb10a118eb6d8b0dcd689bc2477ce2ae16b303753b942b54377bc", "Configuration digest": "5bbf2d321122a5a57d36c77291d232d51f9ae9a1655e80f042727754aea15bfe", @@ -2939,6 +2943,7 @@ "github": "c0b0109d9439de57fe3cf03abeccbc52f4c98170c732d3b69af5e6395ace574e", "GitHub": "f911e414cf6bdfc595532ab166b5ba0f63d73c021452fcdacbda363dda6ad8fb", "GitHub CI triage": "6a2368ce3943b296b07b5241227baf2a863d3f50f8a46ddb0889cbb5045ccd84", + "GitHub intake": "064829c63fcbc74d45753e04f583c69a391d25d4ed334de3b69fa2720f733cb1", "GitHub MCP": "408b061889ef672152b51ce8dbd56216d1b7e97303429b59538b99fe663c6f04", "GitHub not connected (GITHUB_TOKEN or GH_TOKEN)": "1cb239b6b5ea26422b411a25d3a4e254cdf45b7e730eb91b976a36f12adeb21b", "GitHub unavailable; retry later": "33b2cec76eccd24c4d8d61c265de8b06a6a20820ab1fccdcb433a22903909d02", @@ -4818,6 +4823,7 @@ "Policy details": "00e33950cacf32a39cc25f71ccb1650c4c788c12816e07681d80f0fdc537be98", "Policy narrows authority": "e9e2012e5ac96664fb03ff0f81f4f49cb5b8ee069149139352e7c89b73e43baa", "policy overlays": "db26199cf2a47a948b45caf37b4d50ede3ef415fad6c940cfe56a118970fcefb", + "Policy paused": "11fc11eaf385253466e26bac9916425e1e009695cd40adc4c7a132366d187518", "Policy review": "1cf67fef927c77770a1fcd8b20982b24b15cc0b6f1e8b56265d87baff019dd7e", "Policy snapshot artifact": "7f8b2985d498316ac01fa5f2276d2556cab712b4c8bc2b93e16dfc1353e23a77", "Poll once": "c7e7d724ff87555fb857467569ce709d958ee2d5d1ab2cc890554c7605e86e78", @@ -5013,6 +5019,7 @@ "Provider state": "633d1ca46603e61fc3d39459c1414102a27bbc4ba0adfb0b22ba5a205c2b9815", "Provider templates": "1e8649b7c667a6afc6dc88cbdb3069e349e850466cf3efa57eeedab9b70486f7", "Provider type": "8c0f6d3ebfe7ba3a0c0006068a9aa664d09244ba3cd438f2d56fab117bee1347", + "Provider unavailable": "ff2113958589f9bfb87b54f959be825d00ec5eca374d907bb343f98ebdbc84c3", "Provider version": "1f5ecefbd682ced2f438c8ae3c8849ba9effbe6cd77c19051cee2d2036ef9c90", "Provider warmup": "36ae143804c9a909bce770f54be5652b69b99ee7838cca99daa31e23d4d6d63c", "Provider was automatically rechecked after daemon restart.": "7bd8e8ee592f30e81adca8c96b079d6526846dc142bd99e5bbba3d9bebbde7a9", @@ -5398,6 +5405,8 @@ "Required for assigned teammates": "4732aa544a8d93b886e6bcbbcc5c3314af692f8a8a812efd4844cd3589b7b63a", "Required input": "fafaaf99b5a6af521026448890a9dacaf4d47053804a34be7cdf364e13637181", "Required input: {value}": "757166b8bf43ee39819f00d86fa61a84ddb3f3eba2a883c6bb996b8f82101d22", + "Required label": "5f623a5ad31f874a782d2205c9318ce524371a35d782b9a7021eab521c2fbbcd", + "Required label missing": "6913716764f8018414060c041e41a2951f5444efe5e97cd30a557be26403d1b1", "Required permissions": "edaffed36060c21e958b3fe562b7c57f51f67ba46326b1a9a5317a47b20e1747", "Required skill information is missing.": "e5cb742af5e92afab21f42c3edd4f5940db52a1c5320a9dd7236eca89a702789", "Required statuses": "c77453db9c939c7c7b8da080b0053847604126aefacf5a900d1d0fe30e4ba5ee", @@ -6407,6 +6416,7 @@ "Start an active Computer Use task first.": "1242a212935f863b51a7f3e8d16f12af408152d8047b274c5fef9fb7f1435f50", "Start autoplan": "7419a8efae15550dc21cccc23ca0a16c446e884842bfe48056af34a921175cb0", "Start background": "c690dc635cd0437e8911748d795084e5d32d0b75811490076285d41032d7300c", + "Start budget reached": "6b915cfb021a78ae6f8b4c1f2d9f40bbadcc486c04cbb00a807d52bfe78102ca", "Start by choosing a template or creating one manually.": "6a3ba02535ac7a0ab934b569a915927936dede63b4277ea4500e77c8835d4666", "Start child branch": "ee7b6caa5b4a1d3e8fd3ce47a26b42a4f2472834dfa17b2efc1864d0ed710948", "Start from a default role or blank teammate.": "1464ae64fd1ee987e353f53a2f9bab20053b2f0ae320c07839b7eecf710b8a96", @@ -6512,7 +6522,9 @@ "succeeded": "5dceaeceb6d8a49d3665594710ace68dfbc1800e2d663d7febb302b4dbee3d27", "Succeeded": "6d9a6f97a5fdaf3b90a0cf02e0b43d8b7ec1d05c0e4718e02ddd1c5b450e5b39", "Successfully generated {count} artifact based on the provided prompt.": "71f85e7639c004421f062f2dd6a129e5173931798f5d33b6f0482038b38a88fc", + "Suggest": "4effad823b048b0440dbeff42665f60a6ddec8e121c378966ed7c074a512c51f", "Suggest responsible owners based on context, decisions, and recent work.": "484eb4e21bcdd76a531a4234403ea29f0626094f9a2915b674f17e0b949be0a3", + "Suggested": "93b63bab4c3a28d73a8bb83bcdfdcc5f6ddecfc8fc702296ca159d94c5dc6e53", "Suggested next step": "78d74fd4ffec8d83a942e1274cfd15426b2b4bb2d96b15f905277638c339869e", "Suggested routing": "442b15c099c136738e26e139912a5f5d21e90216aade875a8db595b09c81fcbe", "Summaries": "87bc590e047d3df4a8e448ac83e371fad69dd73607752cccb0ff7d34263cef8f", @@ -7221,6 +7233,7 @@ "Untracked": "c7ba5477e19cf0bb25460d840cc2e67341e81e1c2d274d00b3054c73898d4d27", "unverified": "97b7e2db799e2b79e65f418b42a7d3054c95b2d3ab1dba243039597e44a38084", "Unverified": "33c8e8de41c3a35124251370e2a36e4d589f8789d80630abbbeceb933d3fb58f", + "Up to {concurrent} active and {starts} starts per {minutes} min": "cca43c28ef670fd5d55cb3bd813a2fef137043e4028096bcd2cdf22e2a06586b", "Up to date": "ce29b7f85b9eaf7dac52e625accb4b0cb56a856ebe9a9de9a09b613b6d978dca", "Update": "c1c1009d3f37ec058070a62e22caf9ac9dae2169d452487c5c271a8bcf57a291", "Update available": "ff8b555d818f0b25bbdd1bec8b479660bac7fc276acbe993e759bf67fed32c34", @@ -7548,6 +7561,7 @@ "Work intake, tool servers, and plugin bundles": "16b65a84c6fca2014b7e2d28b151bbf0afe19345230a0ac37304802311fed850", "Work is claimed": "c4b0d953436f2f59355d6540bae28e055ff49243f612887bbaed7bfd98c85d4d", "Work item ID": "1dcdad81d13850bd962965719f362fa7f32693b7b54fd8bb25d1e2402a470626", + "Work item paused": "299aabbf3c1418a3f01117e072d3bfe418e174bd1f355d1afdfae23c7b4bf678", "Work items": "5759a416f2b3b4ff92da23b8059419e06c39d27180b91a557f7cae779df3d2b6", "Work marked failed": "f26306888ed8c9a3808b8a420428f63e32d4c2223e7c9c89dd0a049806c539c6", "Work result": "19efe7487084061e9e358495b8a9bfd7e9d7c0035010e08ac35c14ba4ff8ca2a", @@ -8287,6 +8301,7 @@ "Allows": "Dovoľuje", "Allows commands starting with {command}": "Umožňuje príkazy začínajúce na {command}", "Already imported": "Už importované", + "Already in work": "Už v práci", "Also allow private memory and private chat queries remotely": "Na diaľku tiež povoľte súkromnú pamäť a otázky súkromného chatu", "Alternatives": "Alternatívy", "Alternatives considered": "Zvažované alternatívy", @@ -8547,6 +8562,7 @@ "Auto-start by default": "Auto-start by default", "Auto-start step": "Auto-start step", "Automatic": "Automaticky", + "Automatic intake": "Automatický príjem", "Automatic learning is off": "Automatické učenie je vypnuté", "Automatic parallel execution": "Automatic parallel execution", "Automatic proposals enabled": "Automatické návrhy sú povolené", @@ -8975,6 +8991,7 @@ "Check failed": "Kontrola zlyhala", "Check for changes": "Skontrolujte zmeny", "Check for updates": "Skontrolujte aktualizácie", + "Check GitHub inbox": "Skontrolujte doručenú poštu GitHub", "Check member status": "Skontrolujte stav člena", "Check member status to load readiness.": "Ak chcete načítať pripravenosť, skontrolujte stav člena.", "Check needed": "Potrebná kontrola", @@ -9282,6 +9299,7 @@ "Concise": "Stručný", "Concise, focused, direct.": "Stručné, sústredené, priame.", "conclusion {conclusion}": "záver {conclusion}", + "Concurrent work limit reached": "Bol dosiahnutý limit súbežnej práce", "Confidence": "Dôvera", "Configuration": "Konfigurácia", "Configuration digest": "Súhrn konfigurácie", @@ -10658,6 +10676,7 @@ "github": "github", "GitHub": "GitHub", "GitHub CI triage": "Triedenie GitHub CI", + "GitHub intake": "Príjem na GitHub", "GitHub MCP": "GitHub MCP", "GitHub not connected (GITHUB_TOKEN or GH_TOKEN)": "GitHub not connected (GITHUB_TOKEN or GH_TOKEN)", "GitHub unavailable; retry later": "GitHub unavailable; retry later", @@ -12537,6 +12556,7 @@ "Policy details": "Podrobnosti o pravidlách", "Policy narrows authority": "Politika zužuje autoritu", "policy overlays": "prekrytia pravidiel", + "Policy paused": "Pravidlá sú pozastavené", "Policy review": "Kontrola pravidiel", "Policy snapshot artifact": "Artefakt snímky politiky", "Poll once": "Anketa raz", @@ -12732,6 +12752,7 @@ "Provider state": "Stav poskytovateľa", "Provider templates": "Poskytovateľské šablóny", "Provider type": "Typ poskytovateľa", + "Provider unavailable": "Poskytovateľ je nedostupný", "Provider version": "Verzia poskytovateľa", "Provider warmup": "Zahrievanie poskytovateľa", "Provider was automatically rechecked after daemon restart.": "Poskytovateľ bol automaticky znova skontrolovaný po reštarte démona.", @@ -13117,6 +13138,8 @@ "Required for assigned teammates": "Vyžaduje sa pre pridelených spoluhráčov", "Required input": "Požadovaný vstup", "Required input: {value}": "Požadovaný vstup: {value}", + "Required label": "Požadovaný štítok", + "Required label missing": "Chýba požadovaný štítok", "Required permissions": "Požadované povolenia", "Required skill information is missing.": "Chýbajú požadované informácie o zručnostiach.", "Required statuses": "Required statuses", @@ -14126,6 +14149,7 @@ "Start an active Computer Use task first.": "Najprv spustite aktívnu Computer Use úlohu.", "Start autoplan": "Spustite autoplán", "Start background": "Začnite na pozadí", + "Start budget reached": "Počiatočný rozpočet bol dosiahnutý", "Start by choosing a template or creating one manually.": "Začnite výberom šablóny alebo vytvorením šablóny ručne.", "Start child branch": "Začať podriadenú vetvu", "Start from a default role or blank teammate.": "Začnite od predvolenej role alebo prázdneho spoluhráča.", @@ -14231,7 +14255,9 @@ "succeeded": "podarilo", "Succeeded": "Podarilo sa", "Successfully generated {count} artifact based on the provided prompt.": "Úspešne vygenerovaný {count} artefakt na základe poskytnutej výzvy.", + "Suggest": "Navrhnite", "Suggest responsible owners based on context, decisions, and recent work.": "Navrhujte zodpovedných vlastníkov na základe kontextu, rozhodnutí a nedávnej práce.", + "Suggested": "Navrhované", "Suggested next step": "Navrhovaný ďalší krok", "Suggested routing": "Navrhované smerovanie", "Summaries": "Súhrny", @@ -14940,6 +14966,7 @@ "Untracked": "Nesledované", "unverified": "neoverené", "Unverified": "Neoverené", + "Up to {concurrent} active and {starts} starts per {minutes} min": "Až {concurrent} aktívnych a {starts} spustení za {minutes} min", "Up to date": "Aktuálne", "Update": "Aktualizovať", "Update available": "K dispozícii je aktualizácia", @@ -15267,6 +15294,7 @@ "Work intake, tool servers, and plugin bundles": "Príjem práce, servery nástrojov a balíky doplnkov", "Work is claimed": "Práca je nárokovaná", "Work item ID": "Pracovná položka ID", + "Work item paused": "Pracovná položka je pozastavená", "Work items": "Pracovné predmety", "Work marked failed": "Práca bola označená ako neúspešná", "Work result": "Výsledok práce", diff --git a/packages/localization/catalogs/sl-SI.json b/packages/localization/catalogs/sl-SI.json index 7d902606f..c8e25d8de 100644 --- a/packages/localization/catalogs/sl-SI.json +++ b/packages/localization/catalogs/sl-SI.json @@ -1,6 +1,6 @@ { "locale": "sl-SI", - "sourceRevision": "214db76d79f1a5c0fd915c110a2ead6dbb978b58398846e982a0c1ff0cb53108", + "sourceRevision": "6468d2af71d2feb60f9b8c5f37bc2a3ff1177fb2c8b0d65e85002de6b1095cbb", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -568,6 +568,7 @@ "Allows": "8b1d52d202522d89fe65fb00e505abab46dc200a88c0be5d468a2a7e6dce9ccf", "Allows commands starting with {command}": "f5c5d446a6850880ae79768c175bacaf2bc487f715d5768d0b225eb643e3ce07", "Already imported": "e47fafe0a1c6f8d6b5c641c5d9cc7ca61e66a1c50bbc3b619c8ff5912444bfa8", + "Already in work": "ae40a6ff362406d9f1fdc40ad79cea7bd1705e6e173b2267f2a310777aedb387", "Also allow private memory and private chat queries remotely": "0b6b2ba6882b67c8b5b79f0f07964588232be1a9e520011e19bbea224c59a913", "Alternatives": "41055f72edad1559b8ba43440cd7938eb73685930c7141fede9b95000fd41299", "Alternatives considered": "73534cb410e6191096c7fa7ca56ba066f90b4fdede8677d64bc98068804afa3c", @@ -828,6 +829,7 @@ "Auto-start by default": "403861dc8396a3ea666e143d33e0429d3c26721771abf3face351259eee9b28f", "Auto-start step": "2bf61e4807ad3bf6ebc934bf54e917d5b3a87295001826be3a7dd57c7e75cc8d", "Automatic": "d461a493a3753877c9486cffa3444265a33370af8a7fff242fb119b71750839c", + "Automatic intake": "6eed82b223c717114773803e9d9d90d6d3cde9579bf264647347e559817a5081", "Automatic learning is off": "8ba1b4a02530490260a7b8e748e0809ddc3885213a009f3896264bc665060bdd", "Automatic parallel execution": "63d058c173c4a148a14094327c26d9af2c5bde1779c91dbf0d913e90b0687be9", "Automatic proposals enabled": "db670932d259eeedd26de8d7ca836594d5f3861ff24e1f94170c7333676c157a", @@ -1256,6 +1258,7 @@ "Check failed": "c8813c1128d545bfe7e7458ae24d724447097b3518643f86fa3e532f88e9fb40", "Check for changes": "5da755d1690f58c1c822a4b85422734bacc2122c7c67f4e8617f0765ac835113", "Check for updates": "f26f3275e735bdf6268532ca7cbea3887c9adad21d8df74e84b2bc7791475c0d", + "Check GitHub inbox": "51cd97da0bc2b213621668f69168386eaee18bdae064041094187404c9fc71ee", "Check member status": "ff155af014d0b6e94cbf2fca3b01cf8d5725732f178eee985083478adb4a62f5", "Check member status to load readiness.": "6f7f338e22e626b134643fbaec898cf8e8efd19b85eeb6193b4ca0d5d63c4528", "Check needed": "561a32f0c83e5a4fe8d77d891bd4b954d514ea021b4a18e68a3607f5d8747841", @@ -1563,6 +1566,7 @@ "Concise": "8340d833ab72d3321b07af0184597743b010e142b39593cebb450d4227e62f0c", "Concise, focused, direct.": "e9cb028d2d79111476e9c8ea1562b7f6275fd39d43abf410338d7c0ae2fff5a5", "conclusion {conclusion}": "dc328d7e11ecbdc61fa90fc18e3ced70b794ca55dcc476d03c88eff72f16274d", + "Concurrent work limit reached": "f60d0f2d4a9ba0c57c7e7835bd52a1912f39581799f2babb636d190317a96b54", "Confidence": "6422e3e78f5e5f5a15e92cc57ed7114adb289339251031ccb526d9249437dc82", "Configuration": "b332c3492d5eb10a118eb6d8b0dcd689bc2477ce2ae16b303753b942b54377bc", "Configuration digest": "5bbf2d321122a5a57d36c77291d232d51f9ae9a1655e80f042727754aea15bfe", @@ -2939,6 +2943,7 @@ "github": "c0b0109d9439de57fe3cf03abeccbc52f4c98170c732d3b69af5e6395ace574e", "GitHub": "f911e414cf6bdfc595532ab166b5ba0f63d73c021452fcdacbda363dda6ad8fb", "GitHub CI triage": "6a2368ce3943b296b07b5241227baf2a863d3f50f8a46ddb0889cbb5045ccd84", + "GitHub intake": "064829c63fcbc74d45753e04f583c69a391d25d4ed334de3b69fa2720f733cb1", "GitHub MCP": "408b061889ef672152b51ce8dbd56216d1b7e97303429b59538b99fe663c6f04", "GitHub not connected (GITHUB_TOKEN or GH_TOKEN)": "1cb239b6b5ea26422b411a25d3a4e254cdf45b7e730eb91b976a36f12adeb21b", "GitHub unavailable; retry later": "33b2cec76eccd24c4d8d61c265de8b06a6a20820ab1fccdcb433a22903909d02", @@ -4818,6 +4823,7 @@ "Policy details": "00e33950cacf32a39cc25f71ccb1650c4c788c12816e07681d80f0fdc537be98", "Policy narrows authority": "e9e2012e5ac96664fb03ff0f81f4f49cb5b8ee069149139352e7c89b73e43baa", "policy overlays": "db26199cf2a47a948b45caf37b4d50ede3ef415fad6c940cfe56a118970fcefb", + "Policy paused": "11fc11eaf385253466e26bac9916425e1e009695cd40adc4c7a132366d187518", "Policy review": "1cf67fef927c77770a1fcd8b20982b24b15cc0b6f1e8b56265d87baff019dd7e", "Policy snapshot artifact": "7f8b2985d498316ac01fa5f2276d2556cab712b4c8bc2b93e16dfc1353e23a77", "Poll once": "c7e7d724ff87555fb857467569ce709d958ee2d5d1ab2cc890554c7605e86e78", @@ -5013,6 +5019,7 @@ "Provider state": "633d1ca46603e61fc3d39459c1414102a27bbc4ba0adfb0b22ba5a205c2b9815", "Provider templates": "1e8649b7c667a6afc6dc88cbdb3069e349e850466cf3efa57eeedab9b70486f7", "Provider type": "8c0f6d3ebfe7ba3a0c0006068a9aa664d09244ba3cd438f2d56fab117bee1347", + "Provider unavailable": "ff2113958589f9bfb87b54f959be825d00ec5eca374d907bb343f98ebdbc84c3", "Provider version": "1f5ecefbd682ced2f438c8ae3c8849ba9effbe6cd77c19051cee2d2036ef9c90", "Provider warmup": "36ae143804c9a909bce770f54be5652b69b99ee7838cca99daa31e23d4d6d63c", "Provider was automatically rechecked after daemon restart.": "7bd8e8ee592f30e81adca8c96b079d6526846dc142bd99e5bbba3d9bebbde7a9", @@ -5398,6 +5405,8 @@ "Required for assigned teammates": "4732aa544a8d93b886e6bcbbcc5c3314af692f8a8a812efd4844cd3589b7b63a", "Required input": "fafaaf99b5a6af521026448890a9dacaf4d47053804a34be7cdf364e13637181", "Required input: {value}": "757166b8bf43ee39819f00d86fa61a84ddb3f3eba2a883c6bb996b8f82101d22", + "Required label": "5f623a5ad31f874a782d2205c9318ce524371a35d782b9a7021eab521c2fbbcd", + "Required label missing": "6913716764f8018414060c041e41a2951f5444efe5e97cd30a557be26403d1b1", "Required permissions": "edaffed36060c21e958b3fe562b7c57f51f67ba46326b1a9a5317a47b20e1747", "Required skill information is missing.": "e5cb742af5e92afab21f42c3edd4f5940db52a1c5320a9dd7236eca89a702789", "Required statuses": "c77453db9c939c7c7b8da080b0053847604126aefacf5a900d1d0fe30e4ba5ee", @@ -6407,6 +6416,7 @@ "Start an active Computer Use task first.": "1242a212935f863b51a7f3e8d16f12af408152d8047b274c5fef9fb7f1435f50", "Start autoplan": "7419a8efae15550dc21cccc23ca0a16c446e884842bfe48056af34a921175cb0", "Start background": "c690dc635cd0437e8911748d795084e5d32d0b75811490076285d41032d7300c", + "Start budget reached": "6b915cfb021a78ae6f8b4c1f2d9f40bbadcc486c04cbb00a807d52bfe78102ca", "Start by choosing a template or creating one manually.": "6a3ba02535ac7a0ab934b569a915927936dede63b4277ea4500e77c8835d4666", "Start child branch": "ee7b6caa5b4a1d3e8fd3ce47a26b42a4f2472834dfa17b2efc1864d0ed710948", "Start from a default role or blank teammate.": "1464ae64fd1ee987e353f53a2f9bab20053b2f0ae320c07839b7eecf710b8a96", @@ -6512,7 +6522,9 @@ "succeeded": "5dceaeceb6d8a49d3665594710ace68dfbc1800e2d663d7febb302b4dbee3d27", "Succeeded": "6d9a6f97a5fdaf3b90a0cf02e0b43d8b7ec1d05c0e4718e02ddd1c5b450e5b39", "Successfully generated {count} artifact based on the provided prompt.": "71f85e7639c004421f062f2dd6a129e5173931798f5d33b6f0482038b38a88fc", + "Suggest": "4effad823b048b0440dbeff42665f60a6ddec8e121c378966ed7c074a512c51f", "Suggest responsible owners based on context, decisions, and recent work.": "484eb4e21bcdd76a531a4234403ea29f0626094f9a2915b674f17e0b949be0a3", + "Suggested": "93b63bab4c3a28d73a8bb83bcdfdcc5f6ddecfc8fc702296ca159d94c5dc6e53", "Suggested next step": "78d74fd4ffec8d83a942e1274cfd15426b2b4bb2d96b15f905277638c339869e", "Suggested routing": "442b15c099c136738e26e139912a5f5d21e90216aade875a8db595b09c81fcbe", "Summaries": "87bc590e047d3df4a8e448ac83e371fad69dd73607752cccb0ff7d34263cef8f", @@ -7221,6 +7233,7 @@ "Untracked": "c7ba5477e19cf0bb25460d840cc2e67341e81e1c2d274d00b3054c73898d4d27", "unverified": "97b7e2db799e2b79e65f418b42a7d3054c95b2d3ab1dba243039597e44a38084", "Unverified": "33c8e8de41c3a35124251370e2a36e4d589f8789d80630abbbeceb933d3fb58f", + "Up to {concurrent} active and {starts} starts per {minutes} min": "cca43c28ef670fd5d55cb3bd813a2fef137043e4028096bcd2cdf22e2a06586b", "Up to date": "ce29b7f85b9eaf7dac52e625accb4b0cb56a856ebe9a9de9a09b613b6d978dca", "Update": "c1c1009d3f37ec058070a62e22caf9ac9dae2169d452487c5c271a8bcf57a291", "Update available": "ff8b555d818f0b25bbdd1bec8b479660bac7fc276acbe993e759bf67fed32c34", @@ -7548,6 +7561,7 @@ "Work intake, tool servers, and plugin bundles": "16b65a84c6fca2014b7e2d28b151bbf0afe19345230a0ac37304802311fed850", "Work is claimed": "c4b0d953436f2f59355d6540bae28e055ff49243f612887bbaed7bfd98c85d4d", "Work item ID": "1dcdad81d13850bd962965719f362fa7f32693b7b54fd8bb25d1e2402a470626", + "Work item paused": "299aabbf3c1418a3f01117e072d3bfe418e174bd1f355d1afdfae23c7b4bf678", "Work items": "5759a416f2b3b4ff92da23b8059419e06c39d27180b91a557f7cae779df3d2b6", "Work marked failed": "f26306888ed8c9a3808b8a420428f63e32d4c2223e7c9c89dd0a049806c539c6", "Work result": "19efe7487084061e9e358495b8a9bfd7e9d7c0035010e08ac35c14ba4ff8ca2a", @@ -8287,6 +8301,7 @@ "Allows": "Omogoča", "Allows commands starting with {command}": "Omogoča ukaze, ki se začnejo z {command}", "Already imported": "Že uvoženo", + "Already in work": "Že v službi", "Also allow private memory and private chat queries remotely": "Omogočite tudi zasebni pomnilnik in poizvedbe v zasebnem klepetu na daljavo", "Alternatives": "Alternative", "Alternatives considered": "Upoštevane alternative", @@ -8547,6 +8562,7 @@ "Auto-start by default": "Auto-start by default", "Auto-start step": "Auto-start step", "Automatic": "Samodejno", + "Automatic intake": "Samodejni vnos", "Automatic learning is off": "Samodejno učenje je izklopljeno", "Automatic parallel execution": "Automatic parallel execution", "Automatic proposals enabled": "Samodejni predlogi omogočeni", @@ -8975,6 +8991,7 @@ "Check failed": "Preverjanje ni uspelo", "Check for changes": "Preverite spremembe", "Check for updates": "Preverite posodobitve", + "Check GitHub inbox": "Preverite GitHub mapo »Prejeto«.", "Check member status": "Preverite status člana", "Check member status to load readiness.": "Preverite status člana, da naložite pripravljenost.", "Check needed": "Potreben je pregled", @@ -9282,6 +9299,7 @@ "Concise": "Jedrnato", "Concise, focused, direct.": "Jedrnat, osredotočen, neposreden.", "conclusion {conclusion}": "zaključek {conclusion}", + "Concurrent work limit reached": "Dosežena je omejitev hkratnega dela", "Confidence": "Zaupanje", "Configuration": "Konfiguracija", "Configuration digest": "Povzetek konfiguracije", @@ -10658,6 +10676,7 @@ "github": "github", "GitHub": "GitHub", "GitHub CI triage": "GitHub CI triaža", + "GitHub intake": "Vnos GitHub", "GitHub MCP": "GitHub MCP", "GitHub not connected (GITHUB_TOKEN or GH_TOKEN)": "GitHub not connected (GITHUB_TOKEN or GH_TOKEN)", "GitHub unavailable; retry later": "GitHub unavailable; retry later", @@ -12537,6 +12556,7 @@ "Policy details": "Podrobnosti pravilnika", "Policy narrows authority": "Politika oži pristojnosti", "policy overlays": "prekrivne politike", + "Policy paused": "Politika začasno ustavljena", "Policy review": "Pregled pravilnika", "Policy snapshot artifact": "Artefakt posnetka pravilnika", "Poll once": "Anketa enkrat", @@ -12732,6 +12752,7 @@ "Provider state": "Stanje ponudnika", "Provider templates": "Predloge ponudnikov", "Provider type": "Vrsta ponudnika", + "Provider unavailable": "Ponudnik ni na voljo", "Provider version": "Različica ponudnika", "Provider warmup": "Ogrevanje ponudnika", "Provider was automatically rechecked after daemon restart.": "Ponudnik je bil samodejno ponovno preverjen po ponovnem zagonu demona.", @@ -13117,6 +13138,8 @@ "Required for assigned teammates": "Zahtevano za dodeljene soigralce", "Required input": "Obvezen vnos", "Required input: {value}": "Zahtevan vnos: {value}", + "Required label": "Zahtevana oznaka", + "Required label missing": "Zahtevana oznaka manjka", "Required permissions": "Zahtevana dovoljenja", "Required skill information is missing.": "Manjkajo potrebne informacije o spretnostih.", "Required statuses": "Required statuses", @@ -14126,6 +14149,7 @@ "Start an active Computer Use task first.": "Najprej zaženite aktivno nalogo Computer Use.", "Start autoplan": "Zaženite samodejni načrt", "Start background": "Začni ozadje", + "Start budget reached": "Začetni proračun je dosežen", "Start by choosing a template or creating one manually.": "Začnite tako, da izberete predlogo ali jo ustvarite ročno.", "Start child branch": "Zaženi podrejeno vejo", "Start from a default role or blank teammate.": "Začnite s privzeto vlogo ali praznim soigralcem.", @@ -14231,7 +14255,9 @@ "succeeded": "uspelo", "Succeeded": "Uspelo", "Successfully generated {count} artifact based on the provided prompt.": "Uspešno ustvarjen artefakt {count} na podlagi posredovanega poziva.", + "Suggest": "Predlagaj", "Suggest responsible owners based on context, decisions, and recent work.": "Predlagajte odgovorne lastnike na podlagi konteksta, odločitev in nedavnega dela.", + "Suggested": "Predlagano", "Suggested next step": "Predlagani naslednji korak", "Suggested routing": "Predlagana pot", "Summaries": "Povzetki", @@ -14940,6 +14966,7 @@ "Untracked": "Brez sledenja", "unverified": "nepreverjeno", "Unverified": "Nepreverjeno", + "Up to {concurrent} active and {starts} starts per {minutes} min": "Do {concurrent} aktivnih in {starts} zagonov na {minutes} min", "Up to date": "Ažurno", "Update": "posodobitev", "Update available": "Na voljo je posodobitev", @@ -15267,6 +15294,7 @@ "Work intake, tool servers, and plugin bundles": "Vnos dela, strežniki orodij in paketi vtičnikov", "Work is claimed": "Delo je zahtevano", "Work item ID": "Delovni element ID", + "Work item paused": "Delovni element je zaustavljen", "Work items": "Delovni predmeti", "Work marked failed": "Delo označeno kot neuspešno", "Work result": "Rezultat dela", diff --git a/packages/localization/catalogs/so-SO.json b/packages/localization/catalogs/so-SO.json index 4cf461169..24ee25b10 100644 --- a/packages/localization/catalogs/so-SO.json +++ b/packages/localization/catalogs/so-SO.json @@ -1,6 +1,6 @@ { "locale": "so-SO", - "sourceRevision": "214db76d79f1a5c0fd915c110a2ead6dbb978b58398846e982a0c1ff0cb53108", + "sourceRevision": "6468d2af71d2feb60f9b8c5f37bc2a3ff1177fb2c8b0d65e85002de6b1095cbb", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -568,6 +568,7 @@ "Allows": "8b1d52d202522d89fe65fb00e505abab46dc200a88c0be5d468a2a7e6dce9ccf", "Allows commands starting with {command}": "f5c5d446a6850880ae79768c175bacaf2bc487f715d5768d0b225eb643e3ce07", "Already imported": "e47fafe0a1c6f8d6b5c641c5d9cc7ca61e66a1c50bbc3b619c8ff5912444bfa8", + "Already in work": "ae40a6ff362406d9f1fdc40ad79cea7bd1705e6e173b2267f2a310777aedb387", "Also allow private memory and private chat queries remotely": "0b6b2ba6882b67c8b5b79f0f07964588232be1a9e520011e19bbea224c59a913", "Alternatives": "41055f72edad1559b8ba43440cd7938eb73685930c7141fede9b95000fd41299", "Alternatives considered": "73534cb410e6191096c7fa7ca56ba066f90b4fdede8677d64bc98068804afa3c", @@ -828,6 +829,7 @@ "Auto-start by default": "403861dc8396a3ea666e143d33e0429d3c26721771abf3face351259eee9b28f", "Auto-start step": "2bf61e4807ad3bf6ebc934bf54e917d5b3a87295001826be3a7dd57c7e75cc8d", "Automatic": "d461a493a3753877c9486cffa3444265a33370af8a7fff242fb119b71750839c", + "Automatic intake": "6eed82b223c717114773803e9d9d90d6d3cde9579bf264647347e559817a5081", "Automatic learning is off": "8ba1b4a02530490260a7b8e748e0809ddc3885213a009f3896264bc665060bdd", "Automatic parallel execution": "63d058c173c4a148a14094327c26d9af2c5bde1779c91dbf0d913e90b0687be9", "Automatic proposals enabled": "db670932d259eeedd26de8d7ca836594d5f3861ff24e1f94170c7333676c157a", @@ -1256,6 +1258,7 @@ "Check failed": "c8813c1128d545bfe7e7458ae24d724447097b3518643f86fa3e532f88e9fb40", "Check for changes": "5da755d1690f58c1c822a4b85422734bacc2122c7c67f4e8617f0765ac835113", "Check for updates": "f26f3275e735bdf6268532ca7cbea3887c9adad21d8df74e84b2bc7791475c0d", + "Check GitHub inbox": "51cd97da0bc2b213621668f69168386eaee18bdae064041094187404c9fc71ee", "Check member status": "ff155af014d0b6e94cbf2fca3b01cf8d5725732f178eee985083478adb4a62f5", "Check member status to load readiness.": "6f7f338e22e626b134643fbaec898cf8e8efd19b85eeb6193b4ca0d5d63c4528", "Check needed": "561a32f0c83e5a4fe8d77d891bd4b954d514ea021b4a18e68a3607f5d8747841", @@ -1563,6 +1566,7 @@ "Concise": "8340d833ab72d3321b07af0184597743b010e142b39593cebb450d4227e62f0c", "Concise, focused, direct.": "e9cb028d2d79111476e9c8ea1562b7f6275fd39d43abf410338d7c0ae2fff5a5", "conclusion {conclusion}": "dc328d7e11ecbdc61fa90fc18e3ced70b794ca55dcc476d03c88eff72f16274d", + "Concurrent work limit reached": "f60d0f2d4a9ba0c57c7e7835bd52a1912f39581799f2babb636d190317a96b54", "Confidence": "6422e3e78f5e5f5a15e92cc57ed7114adb289339251031ccb526d9249437dc82", "Configuration": "b332c3492d5eb10a118eb6d8b0dcd689bc2477ce2ae16b303753b942b54377bc", "Configuration digest": "5bbf2d321122a5a57d36c77291d232d51f9ae9a1655e80f042727754aea15bfe", @@ -2939,6 +2943,7 @@ "github": "c0b0109d9439de57fe3cf03abeccbc52f4c98170c732d3b69af5e6395ace574e", "GitHub": "f911e414cf6bdfc595532ab166b5ba0f63d73c021452fcdacbda363dda6ad8fb", "GitHub CI triage": "6a2368ce3943b296b07b5241227baf2a863d3f50f8a46ddb0889cbb5045ccd84", + "GitHub intake": "064829c63fcbc74d45753e04f583c69a391d25d4ed334de3b69fa2720f733cb1", "GitHub MCP": "408b061889ef672152b51ce8dbd56216d1b7e97303429b59538b99fe663c6f04", "GitHub not connected (GITHUB_TOKEN or GH_TOKEN)": "1cb239b6b5ea26422b411a25d3a4e254cdf45b7e730eb91b976a36f12adeb21b", "GitHub unavailable; retry later": "33b2cec76eccd24c4d8d61c265de8b06a6a20820ab1fccdcb433a22903909d02", @@ -4818,6 +4823,7 @@ "Policy details": "00e33950cacf32a39cc25f71ccb1650c4c788c12816e07681d80f0fdc537be98", "Policy narrows authority": "e9e2012e5ac96664fb03ff0f81f4f49cb5b8ee069149139352e7c89b73e43baa", "policy overlays": "db26199cf2a47a948b45caf37b4d50ede3ef415fad6c940cfe56a118970fcefb", + "Policy paused": "11fc11eaf385253466e26bac9916425e1e009695cd40adc4c7a132366d187518", "Policy review": "1cf67fef927c77770a1fcd8b20982b24b15cc0b6f1e8b56265d87baff019dd7e", "Policy snapshot artifact": "7f8b2985d498316ac01fa5f2276d2556cab712b4c8bc2b93e16dfc1353e23a77", "Poll once": "c7e7d724ff87555fb857467569ce709d958ee2d5d1ab2cc890554c7605e86e78", @@ -5013,6 +5019,7 @@ "Provider state": "633d1ca46603e61fc3d39459c1414102a27bbc4ba0adfb0b22ba5a205c2b9815", "Provider templates": "1e8649b7c667a6afc6dc88cbdb3069e349e850466cf3efa57eeedab9b70486f7", "Provider type": "8c0f6d3ebfe7ba3a0c0006068a9aa664d09244ba3cd438f2d56fab117bee1347", + "Provider unavailable": "ff2113958589f9bfb87b54f959be825d00ec5eca374d907bb343f98ebdbc84c3", "Provider version": "1f5ecefbd682ced2f438c8ae3c8849ba9effbe6cd77c19051cee2d2036ef9c90", "Provider warmup": "36ae143804c9a909bce770f54be5652b69b99ee7838cca99daa31e23d4d6d63c", "Provider was automatically rechecked after daemon restart.": "7bd8e8ee592f30e81adca8c96b079d6526846dc142bd99e5bbba3d9bebbde7a9", @@ -5398,6 +5405,8 @@ "Required for assigned teammates": "4732aa544a8d93b886e6bcbbcc5c3314af692f8a8a812efd4844cd3589b7b63a", "Required input": "fafaaf99b5a6af521026448890a9dacaf4d47053804a34be7cdf364e13637181", "Required input: {value}": "757166b8bf43ee39819f00d86fa61a84ddb3f3eba2a883c6bb996b8f82101d22", + "Required label": "5f623a5ad31f874a782d2205c9318ce524371a35d782b9a7021eab521c2fbbcd", + "Required label missing": "6913716764f8018414060c041e41a2951f5444efe5e97cd30a557be26403d1b1", "Required permissions": "edaffed36060c21e958b3fe562b7c57f51f67ba46326b1a9a5317a47b20e1747", "Required skill information is missing.": "e5cb742af5e92afab21f42c3edd4f5940db52a1c5320a9dd7236eca89a702789", "Required statuses": "c77453db9c939c7c7b8da080b0053847604126aefacf5a900d1d0fe30e4ba5ee", @@ -6407,6 +6416,7 @@ "Start an active Computer Use task first.": "1242a212935f863b51a7f3e8d16f12af408152d8047b274c5fef9fb7f1435f50", "Start autoplan": "7419a8efae15550dc21cccc23ca0a16c446e884842bfe48056af34a921175cb0", "Start background": "c690dc635cd0437e8911748d795084e5d32d0b75811490076285d41032d7300c", + "Start budget reached": "6b915cfb021a78ae6f8b4c1f2d9f40bbadcc486c04cbb00a807d52bfe78102ca", "Start by choosing a template or creating one manually.": "6a3ba02535ac7a0ab934b569a915927936dede63b4277ea4500e77c8835d4666", "Start child branch": "ee7b6caa5b4a1d3e8fd3ce47a26b42a4f2472834dfa17b2efc1864d0ed710948", "Start from a default role or blank teammate.": "1464ae64fd1ee987e353f53a2f9bab20053b2f0ae320c07839b7eecf710b8a96", @@ -6512,7 +6522,9 @@ "succeeded": "5dceaeceb6d8a49d3665594710ace68dfbc1800e2d663d7febb302b4dbee3d27", "Succeeded": "6d9a6f97a5fdaf3b90a0cf02e0b43d8b7ec1d05c0e4718e02ddd1c5b450e5b39", "Successfully generated {count} artifact based on the provided prompt.": "71f85e7639c004421f062f2dd6a129e5173931798f5d33b6f0482038b38a88fc", + "Suggest": "4effad823b048b0440dbeff42665f60a6ddec8e121c378966ed7c074a512c51f", "Suggest responsible owners based on context, decisions, and recent work.": "484eb4e21bcdd76a531a4234403ea29f0626094f9a2915b674f17e0b949be0a3", + "Suggested": "93b63bab4c3a28d73a8bb83bcdfdcc5f6ddecfc8fc702296ca159d94c5dc6e53", "Suggested next step": "78d74fd4ffec8d83a942e1274cfd15426b2b4bb2d96b15f905277638c339869e", "Suggested routing": "442b15c099c136738e26e139912a5f5d21e90216aade875a8db595b09c81fcbe", "Summaries": "87bc590e047d3df4a8e448ac83e371fad69dd73607752cccb0ff7d34263cef8f", @@ -7221,6 +7233,7 @@ "Untracked": "c7ba5477e19cf0bb25460d840cc2e67341e81e1c2d274d00b3054c73898d4d27", "unverified": "97b7e2db799e2b79e65f418b42a7d3054c95b2d3ab1dba243039597e44a38084", "Unverified": "33c8e8de41c3a35124251370e2a36e4d589f8789d80630abbbeceb933d3fb58f", + "Up to {concurrent} active and {starts} starts per {minutes} min": "cca43c28ef670fd5d55cb3bd813a2fef137043e4028096bcd2cdf22e2a06586b", "Up to date": "ce29b7f85b9eaf7dac52e625accb4b0cb56a856ebe9a9de9a09b613b6d978dca", "Update": "c1c1009d3f37ec058070a62e22caf9ac9dae2169d452487c5c271a8bcf57a291", "Update available": "ff8b555d818f0b25bbdd1bec8b479660bac7fc276acbe993e759bf67fed32c34", @@ -7548,6 +7561,7 @@ "Work intake, tool servers, and plugin bundles": "16b65a84c6fca2014b7e2d28b151bbf0afe19345230a0ac37304802311fed850", "Work is claimed": "c4b0d953436f2f59355d6540bae28e055ff49243f612887bbaed7bfd98c85d4d", "Work item ID": "1dcdad81d13850bd962965719f362fa7f32693b7b54fd8bb25d1e2402a470626", + "Work item paused": "299aabbf3c1418a3f01117e072d3bfe418e174bd1f355d1afdfae23c7b4bf678", "Work items": "5759a416f2b3b4ff92da23b8059419e06c39d27180b91a557f7cae779df3d2b6", "Work marked failed": "f26306888ed8c9a3808b8a420428f63e32d4c2223e7c9c89dd0a049806c539c6", "Work result": "19efe7487084061e9e358495b8a9bfd7e9d7c0035010e08ac35c14ba4ff8ca2a", @@ -8287,6 +8301,7 @@ "Allows": "Allow", "Allows commands starting with {command}": "Oggolow amarrada ka bilaabma {command}", "Already imported": "Horaa loo soo dejiyay", + "Already in work": "Horeba shaqada", "Also allow private memory and private chat queries remotely": "Sidoo kale u ogolow xusuusta gaarka ah iyo weydiimaha sheekaysiga gaarka ah meel fog ka fog", "Alternatives": "Beddelka", "Alternatives considered": "Ikhtiyaarka beddelka ah", @@ -8547,6 +8562,7 @@ "Auto-start by default": "Auto-start by default", "Auto-start step": "Auto-start step", "Automatic": "Toos ah", + "Automatic intake": "Qaadashada tooska ah", "Automatic learning is off": "Barashada tooska ah ayaa dansan", "Automatic parallel execution": "Automatic parallel execution", "Automatic proposals enabled": "Soo jeedinta tooska ah waa la furay", @@ -8975,6 +8991,7 @@ "Check failed": "Hubi waa guuldareystay", "Check for changes": "Hubi isbedelada", "Check for updates": "Hubi wixii ku soo kordha", + "Check GitHub inbox": "Hubi sanduuqa GitHub", "Check member status": "Hubi heerka xubinta", "Check member status to load readiness.": "Hubi heerka xubinta si aad ugu shubto diyaargarowga", "Check needed": "Hubi loo baahan yahay", @@ -9282,6 +9299,7 @@ "Concise": "kooban", "Concise, focused, direct.": "Kooban, diiradda saaraya, toos ah.", "conclusion {conclusion}": "gunaanad {conclusion}", + "Concurrent work limit reached": "Xadka shaqada ee isku xigta waa la gaarey", "Confidence": "Kalsoonida", "Configuration": "Habaynta", "Configuration digest": "Dheefshiidka qaabeynta", @@ -10658,6 +10676,7 @@ "github": "github", "GitHub": "GitHub", "GitHub CI triage": "GitHub CI kala soocidda", + "GitHub intake": "GitHub qaadashada", "GitHub MCP": "GitHub MCP", "GitHub not connected (GITHUB_TOKEN or GH_TOKEN)": "GitHub not connected (GITHUB_TOKEN or GH_TOKEN)", "GitHub unavailable; retry later": "GitHub unavailable; retry later", @@ -12537,6 +12556,7 @@ "Policy details": "Faahfaahinta siyaasadda", "Policy narrows authority": "Siyaasaddu waxay soo koobtaa awoodda", "policy overlays": "siyaasadda dulsaar", + "Policy paused": "Siyaasada ayaa hakad gashay", "Policy review": "Dib u eegista siyaasadda", "Policy snapshot artifact": "Sawir-gacmeedka siyaasadda", "Poll once": "Codbixin hal mar", @@ -12732,6 +12752,7 @@ "Provider state": "Gobolka bixiyaha", "Provider templates": "Qaababka bixiyaha", "Provider type": "Nooca bixiyaha", + "Provider unavailable": "Bixiyaha lama heli karo", "Provider version": "Nooca bixiyaha", "Provider warmup": "kululaynta bixiyaha", "Provider was automatically rechecked after daemon restart.": "Bixiyaha si toos ah ayaa dib loo hubiyay kadib markii daemon dib loo bilaabay.", @@ -13117,6 +13138,8 @@ "Required for assigned teammates": "Looga baahan yahay asxaabtii kooxda loo xilsaaray", "Required input": "Wax gelinta loo baahan yahay", "Required input: {value}": "Wax gelinta loo baahan yahay: {value}", + "Required label": "Summada loo baahan yahay", + "Required label missing": "Summada loo baahan yahay ayaa maqan", "Required permissions": "Ogolaanshaha loo baahan yahay", "Required skill information is missing.": "Macluumaadka xirfadda loo baahan yahay ayaa maqan.", "Required statuses": "Required statuses", @@ -14126,6 +14149,7 @@ "Start an active Computer Use task first.": "Ka bilow hawl Computer Use firfircoon marka hore.", "Start autoplan": "Bilow autoplan", "Start background": "Bilow asalka", + "Start budget reached": "Miisaaniyada bilawga waa la gaadhay", "Start by choosing a template or creating one manually.": "Ku bilow adiga oo dooranaya qaab-dhismeedka ama samaynta mid gacanta ah.", "Start child branch": "Bilow laanta ilmaha", "Start from a default role or blank teammate.": "Ka bilow door aan caadi ahayn ama saaxiibkiis madhan.", @@ -14231,7 +14255,9 @@ "succeeded": "lagu guulaystay", "Succeeded": "Guulaystay", "Successfully generated {count} artifact based on the provided prompt.": "Si guul leh loo soo saaray {count} artifact ku salaysan degdega la bixiyay.", + "Suggest": "Soo jeedi", "Suggest responsible owners based on context, decisions, and recent work.": "U soo jeedi milkiilayaasha mas'uulka ah iyadoo lagu saleynayo macnaha guud, go'aamadii, iyo shaqadii dhoweyd.", + "Suggested": "La soo jeediyay", "Suggested next step": "Talo soo jeedinta xigta", "Suggested routing": "Jideynta la soo jeediyay", "Summaries": "Soo koobid", @@ -14940,6 +14966,7 @@ "Untracked": "Aan la raadin", "unverified": "aan la xaqiijin", "Unverified": "Aan la xaqiijin", + "Up to {concurrent} active and {starts} starts per {minutes} min": "Ilaa {concurrent} firfircoon iyo {starts} bilaabma {minutes} daqiqo", "Up to date": "Ilaa hadda", "Update": "Cusbooneysii", "Update available": "Cusbooneysii waa la heli karaa", @@ -15267,6 +15294,7 @@ "Work intake, tool servers, and plugin bundles": "Qaadashada shaqada, adeegayaasha qalabka, iyo xidhmooyinka plugin", "Work is claimed": "Shaqada waa la sheegaa", "Work item ID": "Shayga shaqada ID", + "Work item paused": "Shayga shaqada waa joogsaday", "Work items": "Alaabta shaqada", "Work marked failed": "Shaqada calaamadeysan ayaa fashilantay", "Work result": "Natiijada shaqada", diff --git a/packages/localization/catalogs/sq-AL.json b/packages/localization/catalogs/sq-AL.json index 05739cd69..6410a6a1e 100644 --- a/packages/localization/catalogs/sq-AL.json +++ b/packages/localization/catalogs/sq-AL.json @@ -1,6 +1,6 @@ { "locale": "sq-AL", - "sourceRevision": "214db76d79f1a5c0fd915c110a2ead6dbb978b58398846e982a0c1ff0cb53108", + "sourceRevision": "6468d2af71d2feb60f9b8c5f37bc2a3ff1177fb2c8b0d65e85002de6b1095cbb", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -568,6 +568,7 @@ "Allows": "8b1d52d202522d89fe65fb00e505abab46dc200a88c0be5d468a2a7e6dce9ccf", "Allows commands starting with {command}": "f5c5d446a6850880ae79768c175bacaf2bc487f715d5768d0b225eb643e3ce07", "Already imported": "e47fafe0a1c6f8d6b5c641c5d9cc7ca61e66a1c50bbc3b619c8ff5912444bfa8", + "Already in work": "ae40a6ff362406d9f1fdc40ad79cea7bd1705e6e173b2267f2a310777aedb387", "Also allow private memory and private chat queries remotely": "0b6b2ba6882b67c8b5b79f0f07964588232be1a9e520011e19bbea224c59a913", "Alternatives": "41055f72edad1559b8ba43440cd7938eb73685930c7141fede9b95000fd41299", "Alternatives considered": "73534cb410e6191096c7fa7ca56ba066f90b4fdede8677d64bc98068804afa3c", @@ -828,6 +829,7 @@ "Auto-start by default": "403861dc8396a3ea666e143d33e0429d3c26721771abf3face351259eee9b28f", "Auto-start step": "2bf61e4807ad3bf6ebc934bf54e917d5b3a87295001826be3a7dd57c7e75cc8d", "Automatic": "d461a493a3753877c9486cffa3444265a33370af8a7fff242fb119b71750839c", + "Automatic intake": "6eed82b223c717114773803e9d9d90d6d3cde9579bf264647347e559817a5081", "Automatic learning is off": "8ba1b4a02530490260a7b8e748e0809ddc3885213a009f3896264bc665060bdd", "Automatic parallel execution": "63d058c173c4a148a14094327c26d9af2c5bde1779c91dbf0d913e90b0687be9", "Automatic proposals enabled": "db670932d259eeedd26de8d7ca836594d5f3861ff24e1f94170c7333676c157a", @@ -1256,6 +1258,7 @@ "Check failed": "c8813c1128d545bfe7e7458ae24d724447097b3518643f86fa3e532f88e9fb40", "Check for changes": "5da755d1690f58c1c822a4b85422734bacc2122c7c67f4e8617f0765ac835113", "Check for updates": "f26f3275e735bdf6268532ca7cbea3887c9adad21d8df74e84b2bc7791475c0d", + "Check GitHub inbox": "51cd97da0bc2b213621668f69168386eaee18bdae064041094187404c9fc71ee", "Check member status": "ff155af014d0b6e94cbf2fca3b01cf8d5725732f178eee985083478adb4a62f5", "Check member status to load readiness.": "6f7f338e22e626b134643fbaec898cf8e8efd19b85eeb6193b4ca0d5d63c4528", "Check needed": "561a32f0c83e5a4fe8d77d891bd4b954d514ea021b4a18e68a3607f5d8747841", @@ -1563,6 +1566,7 @@ "Concise": "8340d833ab72d3321b07af0184597743b010e142b39593cebb450d4227e62f0c", "Concise, focused, direct.": "e9cb028d2d79111476e9c8ea1562b7f6275fd39d43abf410338d7c0ae2fff5a5", "conclusion {conclusion}": "dc328d7e11ecbdc61fa90fc18e3ced70b794ca55dcc476d03c88eff72f16274d", + "Concurrent work limit reached": "f60d0f2d4a9ba0c57c7e7835bd52a1912f39581799f2babb636d190317a96b54", "Confidence": "6422e3e78f5e5f5a15e92cc57ed7114adb289339251031ccb526d9249437dc82", "Configuration": "b332c3492d5eb10a118eb6d8b0dcd689bc2477ce2ae16b303753b942b54377bc", "Configuration digest": "5bbf2d321122a5a57d36c77291d232d51f9ae9a1655e80f042727754aea15bfe", @@ -2939,6 +2943,7 @@ "github": "c0b0109d9439de57fe3cf03abeccbc52f4c98170c732d3b69af5e6395ace574e", "GitHub": "f911e414cf6bdfc595532ab166b5ba0f63d73c021452fcdacbda363dda6ad8fb", "GitHub CI triage": "6a2368ce3943b296b07b5241227baf2a863d3f50f8a46ddb0889cbb5045ccd84", + "GitHub intake": "064829c63fcbc74d45753e04f583c69a391d25d4ed334de3b69fa2720f733cb1", "GitHub MCP": "408b061889ef672152b51ce8dbd56216d1b7e97303429b59538b99fe663c6f04", "GitHub not connected (GITHUB_TOKEN or GH_TOKEN)": "1cb239b6b5ea26422b411a25d3a4e254cdf45b7e730eb91b976a36f12adeb21b", "GitHub unavailable; retry later": "33b2cec76eccd24c4d8d61c265de8b06a6a20820ab1fccdcb433a22903909d02", @@ -4818,6 +4823,7 @@ "Policy details": "00e33950cacf32a39cc25f71ccb1650c4c788c12816e07681d80f0fdc537be98", "Policy narrows authority": "e9e2012e5ac96664fb03ff0f81f4f49cb5b8ee069149139352e7c89b73e43baa", "policy overlays": "db26199cf2a47a948b45caf37b4d50ede3ef415fad6c940cfe56a118970fcefb", + "Policy paused": "11fc11eaf385253466e26bac9916425e1e009695cd40adc4c7a132366d187518", "Policy review": "1cf67fef927c77770a1fcd8b20982b24b15cc0b6f1e8b56265d87baff019dd7e", "Policy snapshot artifact": "7f8b2985d498316ac01fa5f2276d2556cab712b4c8bc2b93e16dfc1353e23a77", "Poll once": "c7e7d724ff87555fb857467569ce709d958ee2d5d1ab2cc890554c7605e86e78", @@ -5013,6 +5019,7 @@ "Provider state": "633d1ca46603e61fc3d39459c1414102a27bbc4ba0adfb0b22ba5a205c2b9815", "Provider templates": "1e8649b7c667a6afc6dc88cbdb3069e349e850466cf3efa57eeedab9b70486f7", "Provider type": "8c0f6d3ebfe7ba3a0c0006068a9aa664d09244ba3cd438f2d56fab117bee1347", + "Provider unavailable": "ff2113958589f9bfb87b54f959be825d00ec5eca374d907bb343f98ebdbc84c3", "Provider version": "1f5ecefbd682ced2f438c8ae3c8849ba9effbe6cd77c19051cee2d2036ef9c90", "Provider warmup": "36ae143804c9a909bce770f54be5652b69b99ee7838cca99daa31e23d4d6d63c", "Provider was automatically rechecked after daemon restart.": "7bd8e8ee592f30e81adca8c96b079d6526846dc142bd99e5bbba3d9bebbde7a9", @@ -5398,6 +5405,8 @@ "Required for assigned teammates": "4732aa544a8d93b886e6bcbbcc5c3314af692f8a8a812efd4844cd3589b7b63a", "Required input": "fafaaf99b5a6af521026448890a9dacaf4d47053804a34be7cdf364e13637181", "Required input: {value}": "757166b8bf43ee39819f00d86fa61a84ddb3f3eba2a883c6bb996b8f82101d22", + "Required label": "5f623a5ad31f874a782d2205c9318ce524371a35d782b9a7021eab521c2fbbcd", + "Required label missing": "6913716764f8018414060c041e41a2951f5444efe5e97cd30a557be26403d1b1", "Required permissions": "edaffed36060c21e958b3fe562b7c57f51f67ba46326b1a9a5317a47b20e1747", "Required skill information is missing.": "e5cb742af5e92afab21f42c3edd4f5940db52a1c5320a9dd7236eca89a702789", "Required statuses": "c77453db9c939c7c7b8da080b0053847604126aefacf5a900d1d0fe30e4ba5ee", @@ -6407,6 +6416,7 @@ "Start an active Computer Use task first.": "1242a212935f863b51a7f3e8d16f12af408152d8047b274c5fef9fb7f1435f50", "Start autoplan": "7419a8efae15550dc21cccc23ca0a16c446e884842bfe48056af34a921175cb0", "Start background": "c690dc635cd0437e8911748d795084e5d32d0b75811490076285d41032d7300c", + "Start budget reached": "6b915cfb021a78ae6f8b4c1f2d9f40bbadcc486c04cbb00a807d52bfe78102ca", "Start by choosing a template or creating one manually.": "6a3ba02535ac7a0ab934b569a915927936dede63b4277ea4500e77c8835d4666", "Start child branch": "ee7b6caa5b4a1d3e8fd3ce47a26b42a4f2472834dfa17b2efc1864d0ed710948", "Start from a default role or blank teammate.": "1464ae64fd1ee987e353f53a2f9bab20053b2f0ae320c07839b7eecf710b8a96", @@ -6512,7 +6522,9 @@ "succeeded": "5dceaeceb6d8a49d3665594710ace68dfbc1800e2d663d7febb302b4dbee3d27", "Succeeded": "6d9a6f97a5fdaf3b90a0cf02e0b43d8b7ec1d05c0e4718e02ddd1c5b450e5b39", "Successfully generated {count} artifact based on the provided prompt.": "71f85e7639c004421f062f2dd6a129e5173931798f5d33b6f0482038b38a88fc", + "Suggest": "4effad823b048b0440dbeff42665f60a6ddec8e121c378966ed7c074a512c51f", "Suggest responsible owners based on context, decisions, and recent work.": "484eb4e21bcdd76a531a4234403ea29f0626094f9a2915b674f17e0b949be0a3", + "Suggested": "93b63bab4c3a28d73a8bb83bcdfdcc5f6ddecfc8fc702296ca159d94c5dc6e53", "Suggested next step": "78d74fd4ffec8d83a942e1274cfd15426b2b4bb2d96b15f905277638c339869e", "Suggested routing": "442b15c099c136738e26e139912a5f5d21e90216aade875a8db595b09c81fcbe", "Summaries": "87bc590e047d3df4a8e448ac83e371fad69dd73607752cccb0ff7d34263cef8f", @@ -7221,6 +7233,7 @@ "Untracked": "c7ba5477e19cf0bb25460d840cc2e67341e81e1c2d274d00b3054c73898d4d27", "unverified": "97b7e2db799e2b79e65f418b42a7d3054c95b2d3ab1dba243039597e44a38084", "Unverified": "33c8e8de41c3a35124251370e2a36e4d589f8789d80630abbbeceb933d3fb58f", + "Up to {concurrent} active and {starts} starts per {minutes} min": "cca43c28ef670fd5d55cb3bd813a2fef137043e4028096bcd2cdf22e2a06586b", "Up to date": "ce29b7f85b9eaf7dac52e625accb4b0cb56a856ebe9a9de9a09b613b6d978dca", "Update": "c1c1009d3f37ec058070a62e22caf9ac9dae2169d452487c5c271a8bcf57a291", "Update available": "ff8b555d818f0b25bbdd1bec8b479660bac7fc276acbe993e759bf67fed32c34", @@ -7548,6 +7561,7 @@ "Work intake, tool servers, and plugin bundles": "16b65a84c6fca2014b7e2d28b151bbf0afe19345230a0ac37304802311fed850", "Work is claimed": "c4b0d953436f2f59355d6540bae28e055ff49243f612887bbaed7bfd98c85d4d", "Work item ID": "1dcdad81d13850bd962965719f362fa7f32693b7b54fd8bb25d1e2402a470626", + "Work item paused": "299aabbf3c1418a3f01117e072d3bfe418e174bd1f355d1afdfae23c7b4bf678", "Work items": "5759a416f2b3b4ff92da23b8059419e06c39d27180b91a557f7cae779df3d2b6", "Work marked failed": "f26306888ed8c9a3808b8a420428f63e32d4c2223e7c9c89dd0a049806c539c6", "Work result": "19efe7487084061e9e358495b8a9bfd7e9d7c0035010e08ac35c14ba4ff8ca2a", @@ -8287,6 +8301,7 @@ "Allows": "Lejon", "Allows commands starting with {command}": "Lejon komanda që fillojnë me {command}", "Already imported": "I importuar tashmë", + "Already in work": "Tashmë në punë", "Also allow private memory and private chat queries remotely": "Lejo gjithashtu memorien private dhe pyetjet e bisedës private nga distanca", "Alternatives": "Alternativat", "Alternatives considered": "Alternativat e konsideruara", @@ -8547,6 +8562,7 @@ "Auto-start by default": "Auto-start by default", "Auto-start step": "Auto-start step", "Automatic": "Automatik", + "Automatic intake": "Marrje automatike", "Automatic learning is off": "Mësimi automatik është joaktiv", "Automatic parallel execution": "Automatic parallel execution", "Automatic proposals enabled": "Propozimet automatike janë aktivizuar", @@ -8975,6 +8991,7 @@ "Check failed": "Kontrolli dështoi", "Check for changes": "Kontrolloni për ndryshime", "Check for updates": "Kontrolloni për përditësime", + "Check GitHub inbox": "Kontrolloni kutinë hyrëse të GitHub", "Check member status": "Kontrolloni statusin e anëtarit", "Check member status to load readiness.": "Kontrolloni statusin e anëtarit për të ngarkuar gatishmërinë.", "Check needed": "Kontrolli i nevojshëm", @@ -9282,6 +9299,7 @@ "Concise": "Koncize", "Concise, focused, direct.": "Konciz, i fokusuar, i drejtpërdrejtë.", "conclusion {conclusion}": "përfundimi {conclusion}", + "Concurrent work limit reached": "U arrit kufiri i njëkohshëm të punës", "Confidence": "besimin", "Configuration": "Konfigurimi", "Configuration digest": "Përmbledhje e konfigurimit", @@ -10658,6 +10676,7 @@ "github": "github", "GitHub": "GitHub", "GitHub CI triage": "Tregimi i GitHub CI", + "GitHub intake": "Marrja e GitHub", "GitHub MCP": "GitHub MCP", "GitHub not connected (GITHUB_TOKEN or GH_TOKEN)": "GitHub not connected (GITHUB_TOKEN or GH_TOKEN)", "GitHub unavailable; retry later": "GitHub unavailable; retry later", @@ -12537,6 +12556,7 @@ "Policy details": "Detajet e politikës", "Policy narrows authority": "Politika ngushton autoritetin", "policy overlays": "mbivendosjet e politikave", + "Policy paused": "Politika u ndërpre", "Policy review": "Rishikimi i politikave", "Policy snapshot artifact": "Artifakt i fotografisë së politikës", "Poll once": "Anketoni një herë", @@ -12732,6 +12752,7 @@ "Provider state": "Shteti ofrues", "Provider templates": "Modelet e ofruesve", "Provider type": "Lloji i ofruesit", + "Provider unavailable": "Ofruesi i padisponueshëm", "Provider version": "Versioni i ofruesit", "Provider warmup": "Ngrohja e ofruesit", "Provider was automatically rechecked after daemon restart.": "Ofruesi u kontrollua automatikisht pas rinisjes së demonit.", @@ -13117,6 +13138,8 @@ "Required for assigned teammates": "Kërkohet për shokët e caktuar të ekipit", "Required input": "Hyrja e kërkuar", "Required input: {value}": "Hyrja e kërkuar: {value}", + "Required label": "Etiketa e kërkuar", + "Required label missing": "Etiketa e kërkuar mungon", "Required permissions": "Lejet e kërkuara", "Required skill information is missing.": "Informacioni i kërkuar i aftësive mungon.", "Required statuses": "Required statuses", @@ -14126,6 +14149,7 @@ "Start an active Computer Use task first.": "Filloni fillimisht një detyrë aktive Computer Use.", "Start autoplan": "Filloni planin automatik", "Start background": "Filloni sfondin", + "Start budget reached": "Buxheti i fillimit u arrit", "Start by choosing a template or creating one manually.": "Filloni duke zgjedhur një shabllon ose duke krijuar një me dorë.", "Start child branch": "Filloni degën e fëmijëve", "Start from a default role or blank teammate.": "Filloni nga një rol i paracaktuar ose një shok ekipi bosh.", @@ -14231,7 +14255,9 @@ "succeeded": "ia doli", "Succeeded": "Me sukses", "Successfully generated {count} artifact based on the provided prompt.": "Artifakti {count} u krijua me sukses bazuar në kërkesën e dhënë.", + "Suggest": "Sugjeroni", "Suggest responsible owners based on context, decisions, and recent work.": "Sugjeroni pronarë të përgjegjshëm bazuar në kontekstin, vendimet dhe punën e fundit.", + "Suggested": "Sugjeruar", "Suggested next step": "Sugjerohet hapi tjetër", "Suggested routing": "Rrugë e sugjeruar", "Summaries": "Përmbledhjet", @@ -14940,6 +14966,7 @@ "Untracked": "E pa gjurmuar", "unverified": "i paverifikuar", "Unverified": "I paverifikuar", + "Up to {concurrent} active and {starts} starts per {minutes} min": "Deri në {concurrent} aktive dhe {starts} fillon për {minutes} min", "Up to date": "Të përditësuar", "Update": "Përditëso", "Update available": "Ofrohet përditësim", @@ -15267,6 +15294,7 @@ "Work intake, tool servers, and plugin bundles": "Futja e punës, serverët e mjeteve dhe paketat e shtojcave", "Work is claimed": "Pretendohet puna", "Work item ID": "Artikulli i punës ID", + "Work item paused": "Artikulli i punës u ndërpre", "Work items": "Artikujt e punës", "Work marked failed": "Puna e shënuar dështoi", "Work result": "Rezultati i punës", diff --git a/packages/localization/catalogs/sr-RS.json b/packages/localization/catalogs/sr-RS.json index 6b61118b5..c4cda9b93 100644 --- a/packages/localization/catalogs/sr-RS.json +++ b/packages/localization/catalogs/sr-RS.json @@ -1,6 +1,6 @@ { "locale": "sr-RS", - "sourceRevision": "214db76d79f1a5c0fd915c110a2ead6dbb978b58398846e982a0c1ff0cb53108", + "sourceRevision": "6468d2af71d2feb60f9b8c5f37bc2a3ff1177fb2c8b0d65e85002de6b1095cbb", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -568,6 +568,7 @@ "Allows": "8b1d52d202522d89fe65fb00e505abab46dc200a88c0be5d468a2a7e6dce9ccf", "Allows commands starting with {command}": "f5c5d446a6850880ae79768c175bacaf2bc487f715d5768d0b225eb643e3ce07", "Already imported": "e47fafe0a1c6f8d6b5c641c5d9cc7ca61e66a1c50bbc3b619c8ff5912444bfa8", + "Already in work": "ae40a6ff362406d9f1fdc40ad79cea7bd1705e6e173b2267f2a310777aedb387", "Also allow private memory and private chat queries remotely": "0b6b2ba6882b67c8b5b79f0f07964588232be1a9e520011e19bbea224c59a913", "Alternatives": "41055f72edad1559b8ba43440cd7938eb73685930c7141fede9b95000fd41299", "Alternatives considered": "73534cb410e6191096c7fa7ca56ba066f90b4fdede8677d64bc98068804afa3c", @@ -828,6 +829,7 @@ "Auto-start by default": "403861dc8396a3ea666e143d33e0429d3c26721771abf3face351259eee9b28f", "Auto-start step": "2bf61e4807ad3bf6ebc934bf54e917d5b3a87295001826be3a7dd57c7e75cc8d", "Automatic": "d461a493a3753877c9486cffa3444265a33370af8a7fff242fb119b71750839c", + "Automatic intake": "6eed82b223c717114773803e9d9d90d6d3cde9579bf264647347e559817a5081", "Automatic learning is off": "8ba1b4a02530490260a7b8e748e0809ddc3885213a009f3896264bc665060bdd", "Automatic parallel execution": "63d058c173c4a148a14094327c26d9af2c5bde1779c91dbf0d913e90b0687be9", "Automatic proposals enabled": "db670932d259eeedd26de8d7ca836594d5f3861ff24e1f94170c7333676c157a", @@ -1256,6 +1258,7 @@ "Check failed": "c8813c1128d545bfe7e7458ae24d724447097b3518643f86fa3e532f88e9fb40", "Check for changes": "5da755d1690f58c1c822a4b85422734bacc2122c7c67f4e8617f0765ac835113", "Check for updates": "f26f3275e735bdf6268532ca7cbea3887c9adad21d8df74e84b2bc7791475c0d", + "Check GitHub inbox": "51cd97da0bc2b213621668f69168386eaee18bdae064041094187404c9fc71ee", "Check member status": "ff155af014d0b6e94cbf2fca3b01cf8d5725732f178eee985083478adb4a62f5", "Check member status to load readiness.": "6f7f338e22e626b134643fbaec898cf8e8efd19b85eeb6193b4ca0d5d63c4528", "Check needed": "561a32f0c83e5a4fe8d77d891bd4b954d514ea021b4a18e68a3607f5d8747841", @@ -1563,6 +1566,7 @@ "Concise": "8340d833ab72d3321b07af0184597743b010e142b39593cebb450d4227e62f0c", "Concise, focused, direct.": "e9cb028d2d79111476e9c8ea1562b7f6275fd39d43abf410338d7c0ae2fff5a5", "conclusion {conclusion}": "dc328d7e11ecbdc61fa90fc18e3ced70b794ca55dcc476d03c88eff72f16274d", + "Concurrent work limit reached": "f60d0f2d4a9ba0c57c7e7835bd52a1912f39581799f2babb636d190317a96b54", "Confidence": "6422e3e78f5e5f5a15e92cc57ed7114adb289339251031ccb526d9249437dc82", "Configuration": "b332c3492d5eb10a118eb6d8b0dcd689bc2477ce2ae16b303753b942b54377bc", "Configuration digest": "5bbf2d321122a5a57d36c77291d232d51f9ae9a1655e80f042727754aea15bfe", @@ -2939,6 +2943,7 @@ "github": "c0b0109d9439de57fe3cf03abeccbc52f4c98170c732d3b69af5e6395ace574e", "GitHub": "f911e414cf6bdfc595532ab166b5ba0f63d73c021452fcdacbda363dda6ad8fb", "GitHub CI triage": "6a2368ce3943b296b07b5241227baf2a863d3f50f8a46ddb0889cbb5045ccd84", + "GitHub intake": "064829c63fcbc74d45753e04f583c69a391d25d4ed334de3b69fa2720f733cb1", "GitHub MCP": "408b061889ef672152b51ce8dbd56216d1b7e97303429b59538b99fe663c6f04", "GitHub not connected (GITHUB_TOKEN or GH_TOKEN)": "1cb239b6b5ea26422b411a25d3a4e254cdf45b7e730eb91b976a36f12adeb21b", "GitHub unavailable; retry later": "33b2cec76eccd24c4d8d61c265de8b06a6a20820ab1fccdcb433a22903909d02", @@ -4818,6 +4823,7 @@ "Policy details": "00e33950cacf32a39cc25f71ccb1650c4c788c12816e07681d80f0fdc537be98", "Policy narrows authority": "e9e2012e5ac96664fb03ff0f81f4f49cb5b8ee069149139352e7c89b73e43baa", "policy overlays": "db26199cf2a47a948b45caf37b4d50ede3ef415fad6c940cfe56a118970fcefb", + "Policy paused": "11fc11eaf385253466e26bac9916425e1e009695cd40adc4c7a132366d187518", "Policy review": "1cf67fef927c77770a1fcd8b20982b24b15cc0b6f1e8b56265d87baff019dd7e", "Policy snapshot artifact": "7f8b2985d498316ac01fa5f2276d2556cab712b4c8bc2b93e16dfc1353e23a77", "Poll once": "c7e7d724ff87555fb857467569ce709d958ee2d5d1ab2cc890554c7605e86e78", @@ -5013,6 +5019,7 @@ "Provider state": "633d1ca46603e61fc3d39459c1414102a27bbc4ba0adfb0b22ba5a205c2b9815", "Provider templates": "1e8649b7c667a6afc6dc88cbdb3069e349e850466cf3efa57eeedab9b70486f7", "Provider type": "8c0f6d3ebfe7ba3a0c0006068a9aa664d09244ba3cd438f2d56fab117bee1347", + "Provider unavailable": "ff2113958589f9bfb87b54f959be825d00ec5eca374d907bb343f98ebdbc84c3", "Provider version": "1f5ecefbd682ced2f438c8ae3c8849ba9effbe6cd77c19051cee2d2036ef9c90", "Provider warmup": "36ae143804c9a909bce770f54be5652b69b99ee7838cca99daa31e23d4d6d63c", "Provider was automatically rechecked after daemon restart.": "7bd8e8ee592f30e81adca8c96b079d6526846dc142bd99e5bbba3d9bebbde7a9", @@ -5398,6 +5405,8 @@ "Required for assigned teammates": "4732aa544a8d93b886e6bcbbcc5c3314af692f8a8a812efd4844cd3589b7b63a", "Required input": "fafaaf99b5a6af521026448890a9dacaf4d47053804a34be7cdf364e13637181", "Required input: {value}": "757166b8bf43ee39819f00d86fa61a84ddb3f3eba2a883c6bb996b8f82101d22", + "Required label": "5f623a5ad31f874a782d2205c9318ce524371a35d782b9a7021eab521c2fbbcd", + "Required label missing": "6913716764f8018414060c041e41a2951f5444efe5e97cd30a557be26403d1b1", "Required permissions": "edaffed36060c21e958b3fe562b7c57f51f67ba46326b1a9a5317a47b20e1747", "Required skill information is missing.": "e5cb742af5e92afab21f42c3edd4f5940db52a1c5320a9dd7236eca89a702789", "Required statuses": "c77453db9c939c7c7b8da080b0053847604126aefacf5a900d1d0fe30e4ba5ee", @@ -6407,6 +6416,7 @@ "Start an active Computer Use task first.": "1242a212935f863b51a7f3e8d16f12af408152d8047b274c5fef9fb7f1435f50", "Start autoplan": "7419a8efae15550dc21cccc23ca0a16c446e884842bfe48056af34a921175cb0", "Start background": "c690dc635cd0437e8911748d795084e5d32d0b75811490076285d41032d7300c", + "Start budget reached": "6b915cfb021a78ae6f8b4c1f2d9f40bbadcc486c04cbb00a807d52bfe78102ca", "Start by choosing a template or creating one manually.": "6a3ba02535ac7a0ab934b569a915927936dede63b4277ea4500e77c8835d4666", "Start child branch": "ee7b6caa5b4a1d3e8fd3ce47a26b42a4f2472834dfa17b2efc1864d0ed710948", "Start from a default role or blank teammate.": "1464ae64fd1ee987e353f53a2f9bab20053b2f0ae320c07839b7eecf710b8a96", @@ -6512,7 +6522,9 @@ "succeeded": "5dceaeceb6d8a49d3665594710ace68dfbc1800e2d663d7febb302b4dbee3d27", "Succeeded": "6d9a6f97a5fdaf3b90a0cf02e0b43d8b7ec1d05c0e4718e02ddd1c5b450e5b39", "Successfully generated {count} artifact based on the provided prompt.": "71f85e7639c004421f062f2dd6a129e5173931798f5d33b6f0482038b38a88fc", + "Suggest": "4effad823b048b0440dbeff42665f60a6ddec8e121c378966ed7c074a512c51f", "Suggest responsible owners based on context, decisions, and recent work.": "484eb4e21bcdd76a531a4234403ea29f0626094f9a2915b674f17e0b949be0a3", + "Suggested": "93b63bab4c3a28d73a8bb83bcdfdcc5f6ddecfc8fc702296ca159d94c5dc6e53", "Suggested next step": "78d74fd4ffec8d83a942e1274cfd15426b2b4bb2d96b15f905277638c339869e", "Suggested routing": "442b15c099c136738e26e139912a5f5d21e90216aade875a8db595b09c81fcbe", "Summaries": "87bc590e047d3df4a8e448ac83e371fad69dd73607752cccb0ff7d34263cef8f", @@ -7221,6 +7233,7 @@ "Untracked": "c7ba5477e19cf0bb25460d840cc2e67341e81e1c2d274d00b3054c73898d4d27", "unverified": "97b7e2db799e2b79e65f418b42a7d3054c95b2d3ab1dba243039597e44a38084", "Unverified": "33c8e8de41c3a35124251370e2a36e4d589f8789d80630abbbeceb933d3fb58f", + "Up to {concurrent} active and {starts} starts per {minutes} min": "cca43c28ef670fd5d55cb3bd813a2fef137043e4028096bcd2cdf22e2a06586b", "Up to date": "ce29b7f85b9eaf7dac52e625accb4b0cb56a856ebe9a9de9a09b613b6d978dca", "Update": "c1c1009d3f37ec058070a62e22caf9ac9dae2169d452487c5c271a8bcf57a291", "Update available": "ff8b555d818f0b25bbdd1bec8b479660bac7fc276acbe993e759bf67fed32c34", @@ -7548,6 +7561,7 @@ "Work intake, tool servers, and plugin bundles": "16b65a84c6fca2014b7e2d28b151bbf0afe19345230a0ac37304802311fed850", "Work is claimed": "c4b0d953436f2f59355d6540bae28e055ff49243f612887bbaed7bfd98c85d4d", "Work item ID": "1dcdad81d13850bd962965719f362fa7f32693b7b54fd8bb25d1e2402a470626", + "Work item paused": "299aabbf3c1418a3f01117e072d3bfe418e174bd1f355d1afdfae23c7b4bf678", "Work items": "5759a416f2b3b4ff92da23b8059419e06c39d27180b91a557f7cae779df3d2b6", "Work marked failed": "f26306888ed8c9a3808b8a420428f63e32d4c2223e7c9c89dd0a049806c539c6", "Work result": "19efe7487084061e9e358495b8a9bfd7e9d7c0035010e08ac35c14ba4ff8ca2a", @@ -8287,6 +8301,7 @@ "Allows": "Дозвољава", "Allows commands starting with {command}": "Дозвољава команде које почињу са {command}", "Already imported": "Већ увезено", + "Already in work": "Већ на послу", "Also allow private memory and private chat queries remotely": "Такође дозволите приватну меморију и приватне упите за ћаскање на даљину", "Alternatives": "Алтернативе", "Alternatives considered": "Размотрене алтернативе", @@ -8547,6 +8562,7 @@ "Auto-start by default": "Auto-start by default", "Auto-start step": "Auto-start step", "Automatic": "Аутоматски", + "Automatic intake": "Аутоматски унос", "Automatic learning is off": "Аутоматско учење је искључено", "Automatic parallel execution": "Automatic parallel execution", "Automatic proposals enabled": "Аутоматски предлози су омогућени", @@ -8975,6 +8991,7 @@ "Check failed": "Провера није успела", "Check for changes": "Проверите промене", "Check for updates": "Проверите ажурирања", + "Check GitHub inbox": "Проверите пријемно сандуче ГитХуб", "Check member status": "Проверите статус члана", "Check member status to load readiness.": "Проверите статус члана да бисте учитали спремност.", "Check needed": "Потребна провера", @@ -9282,6 +9299,7 @@ "Concise": "сажето", "Concise, focused, direct.": "Концизно, фокусирано, директно.", "conclusion {conclusion}": "закључак {conclusion}", + "Concurrent work limit reached": "Достигнуто је ограничење истовременог рада", "Confidence": "Поверење", "Configuration": "Конфигурација", "Configuration digest": "Сажетак конфигурације", @@ -10658,6 +10676,7 @@ "github": "гитхуб", "GitHub": "ГитХуб", "GitHub CI triage": "ГитХуб ЦИ тријажа", + "GitHub intake": "ГитХуб интаке", "GitHub MCP": "ГитХуб MCP", "GitHub not connected (GITHUB_TOKEN or GH_TOKEN)": "GitHub not connected (GITHUB_TOKEN or GH_TOKEN)", "GitHub unavailable; retry later": "GitHub unavailable; retry later", @@ -12537,6 +12556,7 @@ "Policy details": "Детаљи политике", "Policy narrows authority": "Политика сужава овлашћења", "policy overlays": "прекривачи политике", + "Policy paused": "Смернице су паузиране", "Policy review": "Преглед политике", "Policy snapshot artifact": "Артефакт снимка политике", "Poll once": "Анкета једном", @@ -12732,6 +12752,7 @@ "Provider state": "Држава провајдера", "Provider templates": "Шаблони добављача", "Provider type": "Тип провајдера", + "Provider unavailable": "Провајдер је недоступан", "Provider version": "Верзија добављача", "Provider warmup": "Провајдер загревање", "Provider was automatically rechecked after daemon restart.": "Провајдер је аутоматски поново проверен након поновног покретања демона.", @@ -13117,6 +13138,8 @@ "Required for assigned teammates": "Обавезно за додељене саиграче", "Required input": "Потребан унос", "Required input: {value}": "Потребан унос: {value}", + "Required label": "Обавезна ознака", + "Required label missing": "Недостаје обавезна ознака", "Required permissions": "Потребне дозволе", "Required skill information is missing.": "Недостају потребне информације о вештини.", "Required statuses": "Required statuses", @@ -14126,6 +14149,7 @@ "Start an active Computer Use task first.": "Прво започните активан Computer Use задатак.", "Start autoplan": "Покрените аутоплан", "Start background": "Покрените позадину", + "Start budget reached": "Почетни буџет је достигнут", "Start by choosing a template or creating one manually.": "Почните тако што ћете изабрати шаблон или га креирати ручно.", "Start child branch": "Покрените подређену грану", "Start from a default role or blank teammate.": "Почните од подразумеване улоге или празног саиграча.", @@ -14231,7 +14255,9 @@ "succeeded": "успео", "Succeeded": "успео", "Successfully generated {count} artifact based on the provided prompt.": "Успешно генерисан {count} артефакт на основу датог упита.", + "Suggest": "Предложи", "Suggest responsible owners based on context, decisions, and recent work.": "Предложите одговорне власнике на основу контекста, одлука и недавног рада.", + "Suggested": "Предложено", "Suggested next step": "Предложен следећи корак", "Suggested routing": "Предложено рутирање", "Summaries": "Резиме", @@ -14940,6 +14966,7 @@ "Untracked": "Унтрацкед", "unverified": "непроверено", "Unverified": "Неверификовано", + "Up to {concurrent} active and {starts} starts per {minutes} min": "До {concurrent} активно и {starts} почиње по {minutes} мин", "Up to date": "Ажурно", "Update": "Ажурирај", "Update available": "Доступно је ажурирање", @@ -15267,6 +15294,7 @@ "Work intake, tool servers, and plugin bundles": "Унос посла, сервери алата и пакети додатака", "Work is claimed": "Рад се захтева", "Work item ID": "Радни предмет ID", + "Work item paused": "Радна ставка је паузирана", "Work items": "Радни предмети", "Work marked failed": "Рад означен као неуспешан", "Work result": "Резултат рада", diff --git a/packages/localization/catalogs/sv-SE.json b/packages/localization/catalogs/sv-SE.json index 280c5de75..b13277efd 100644 --- a/packages/localization/catalogs/sv-SE.json +++ b/packages/localization/catalogs/sv-SE.json @@ -1,6 +1,6 @@ { "locale": "sv-SE", - "sourceRevision": "214db76d79f1a5c0fd915c110a2ead6dbb978b58398846e982a0c1ff0cb53108", + "sourceRevision": "6468d2af71d2feb60f9b8c5f37bc2a3ff1177fb2c8b0d65e85002de6b1095cbb", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -568,6 +568,7 @@ "Allows": "8b1d52d202522d89fe65fb00e505abab46dc200a88c0be5d468a2a7e6dce9ccf", "Allows commands starting with {command}": "f5c5d446a6850880ae79768c175bacaf2bc487f715d5768d0b225eb643e3ce07", "Already imported": "e47fafe0a1c6f8d6b5c641c5d9cc7ca61e66a1c50bbc3b619c8ff5912444bfa8", + "Already in work": "ae40a6ff362406d9f1fdc40ad79cea7bd1705e6e173b2267f2a310777aedb387", "Also allow private memory and private chat queries remotely": "0b6b2ba6882b67c8b5b79f0f07964588232be1a9e520011e19bbea224c59a913", "Alternatives": "41055f72edad1559b8ba43440cd7938eb73685930c7141fede9b95000fd41299", "Alternatives considered": "73534cb410e6191096c7fa7ca56ba066f90b4fdede8677d64bc98068804afa3c", @@ -828,6 +829,7 @@ "Auto-start by default": "403861dc8396a3ea666e143d33e0429d3c26721771abf3face351259eee9b28f", "Auto-start step": "2bf61e4807ad3bf6ebc934bf54e917d5b3a87295001826be3a7dd57c7e75cc8d", "Automatic": "d461a493a3753877c9486cffa3444265a33370af8a7fff242fb119b71750839c", + "Automatic intake": "6eed82b223c717114773803e9d9d90d6d3cde9579bf264647347e559817a5081", "Automatic learning is off": "8ba1b4a02530490260a7b8e748e0809ddc3885213a009f3896264bc665060bdd", "Automatic parallel execution": "63d058c173c4a148a14094327c26d9af2c5bde1779c91dbf0d913e90b0687be9", "Automatic proposals enabled": "db670932d259eeedd26de8d7ca836594d5f3861ff24e1f94170c7333676c157a", @@ -1256,6 +1258,7 @@ "Check failed": "c8813c1128d545bfe7e7458ae24d724447097b3518643f86fa3e532f88e9fb40", "Check for changes": "5da755d1690f58c1c822a4b85422734bacc2122c7c67f4e8617f0765ac835113", "Check for updates": "f26f3275e735bdf6268532ca7cbea3887c9adad21d8df74e84b2bc7791475c0d", + "Check GitHub inbox": "51cd97da0bc2b213621668f69168386eaee18bdae064041094187404c9fc71ee", "Check member status": "ff155af014d0b6e94cbf2fca3b01cf8d5725732f178eee985083478adb4a62f5", "Check member status to load readiness.": "6f7f338e22e626b134643fbaec898cf8e8efd19b85eeb6193b4ca0d5d63c4528", "Check needed": "561a32f0c83e5a4fe8d77d891bd4b954d514ea021b4a18e68a3607f5d8747841", @@ -1563,6 +1566,7 @@ "Concise": "8340d833ab72d3321b07af0184597743b010e142b39593cebb450d4227e62f0c", "Concise, focused, direct.": "e9cb028d2d79111476e9c8ea1562b7f6275fd39d43abf410338d7c0ae2fff5a5", "conclusion {conclusion}": "dc328d7e11ecbdc61fa90fc18e3ced70b794ca55dcc476d03c88eff72f16274d", + "Concurrent work limit reached": "f60d0f2d4a9ba0c57c7e7835bd52a1912f39581799f2babb636d190317a96b54", "Confidence": "6422e3e78f5e5f5a15e92cc57ed7114adb289339251031ccb526d9249437dc82", "Configuration": "b332c3492d5eb10a118eb6d8b0dcd689bc2477ce2ae16b303753b942b54377bc", "Configuration digest": "5bbf2d321122a5a57d36c77291d232d51f9ae9a1655e80f042727754aea15bfe", @@ -2939,6 +2943,7 @@ "github": "c0b0109d9439de57fe3cf03abeccbc52f4c98170c732d3b69af5e6395ace574e", "GitHub": "f911e414cf6bdfc595532ab166b5ba0f63d73c021452fcdacbda363dda6ad8fb", "GitHub CI triage": "6a2368ce3943b296b07b5241227baf2a863d3f50f8a46ddb0889cbb5045ccd84", + "GitHub intake": "064829c63fcbc74d45753e04f583c69a391d25d4ed334de3b69fa2720f733cb1", "GitHub MCP": "408b061889ef672152b51ce8dbd56216d1b7e97303429b59538b99fe663c6f04", "GitHub not connected (GITHUB_TOKEN or GH_TOKEN)": "1cb239b6b5ea26422b411a25d3a4e254cdf45b7e730eb91b976a36f12adeb21b", "GitHub unavailable; retry later": "33b2cec76eccd24c4d8d61c265de8b06a6a20820ab1fccdcb433a22903909d02", @@ -4818,6 +4823,7 @@ "Policy details": "00e33950cacf32a39cc25f71ccb1650c4c788c12816e07681d80f0fdc537be98", "Policy narrows authority": "e9e2012e5ac96664fb03ff0f81f4f49cb5b8ee069149139352e7c89b73e43baa", "policy overlays": "db26199cf2a47a948b45caf37b4d50ede3ef415fad6c940cfe56a118970fcefb", + "Policy paused": "11fc11eaf385253466e26bac9916425e1e009695cd40adc4c7a132366d187518", "Policy review": "1cf67fef927c77770a1fcd8b20982b24b15cc0b6f1e8b56265d87baff019dd7e", "Policy snapshot artifact": "7f8b2985d498316ac01fa5f2276d2556cab712b4c8bc2b93e16dfc1353e23a77", "Poll once": "c7e7d724ff87555fb857467569ce709d958ee2d5d1ab2cc890554c7605e86e78", @@ -5013,6 +5019,7 @@ "Provider state": "633d1ca46603e61fc3d39459c1414102a27bbc4ba0adfb0b22ba5a205c2b9815", "Provider templates": "1e8649b7c667a6afc6dc88cbdb3069e349e850466cf3efa57eeedab9b70486f7", "Provider type": "8c0f6d3ebfe7ba3a0c0006068a9aa664d09244ba3cd438f2d56fab117bee1347", + "Provider unavailable": "ff2113958589f9bfb87b54f959be825d00ec5eca374d907bb343f98ebdbc84c3", "Provider version": "1f5ecefbd682ced2f438c8ae3c8849ba9effbe6cd77c19051cee2d2036ef9c90", "Provider warmup": "36ae143804c9a909bce770f54be5652b69b99ee7838cca99daa31e23d4d6d63c", "Provider was automatically rechecked after daemon restart.": "7bd8e8ee592f30e81adca8c96b079d6526846dc142bd99e5bbba3d9bebbde7a9", @@ -5398,6 +5405,8 @@ "Required for assigned teammates": "4732aa544a8d93b886e6bcbbcc5c3314af692f8a8a812efd4844cd3589b7b63a", "Required input": "fafaaf99b5a6af521026448890a9dacaf4d47053804a34be7cdf364e13637181", "Required input: {value}": "757166b8bf43ee39819f00d86fa61a84ddb3f3eba2a883c6bb996b8f82101d22", + "Required label": "5f623a5ad31f874a782d2205c9318ce524371a35d782b9a7021eab521c2fbbcd", + "Required label missing": "6913716764f8018414060c041e41a2951f5444efe5e97cd30a557be26403d1b1", "Required permissions": "edaffed36060c21e958b3fe562b7c57f51f67ba46326b1a9a5317a47b20e1747", "Required skill information is missing.": "e5cb742af5e92afab21f42c3edd4f5940db52a1c5320a9dd7236eca89a702789", "Required statuses": "c77453db9c939c7c7b8da080b0053847604126aefacf5a900d1d0fe30e4ba5ee", @@ -6407,6 +6416,7 @@ "Start an active Computer Use task first.": "1242a212935f863b51a7f3e8d16f12af408152d8047b274c5fef9fb7f1435f50", "Start autoplan": "7419a8efae15550dc21cccc23ca0a16c446e884842bfe48056af34a921175cb0", "Start background": "c690dc635cd0437e8911748d795084e5d32d0b75811490076285d41032d7300c", + "Start budget reached": "6b915cfb021a78ae6f8b4c1f2d9f40bbadcc486c04cbb00a807d52bfe78102ca", "Start by choosing a template or creating one manually.": "6a3ba02535ac7a0ab934b569a915927936dede63b4277ea4500e77c8835d4666", "Start child branch": "ee7b6caa5b4a1d3e8fd3ce47a26b42a4f2472834dfa17b2efc1864d0ed710948", "Start from a default role or blank teammate.": "1464ae64fd1ee987e353f53a2f9bab20053b2f0ae320c07839b7eecf710b8a96", @@ -6512,7 +6522,9 @@ "succeeded": "5dceaeceb6d8a49d3665594710ace68dfbc1800e2d663d7febb302b4dbee3d27", "Succeeded": "6d9a6f97a5fdaf3b90a0cf02e0b43d8b7ec1d05c0e4718e02ddd1c5b450e5b39", "Successfully generated {count} artifact based on the provided prompt.": "71f85e7639c004421f062f2dd6a129e5173931798f5d33b6f0482038b38a88fc", + "Suggest": "4effad823b048b0440dbeff42665f60a6ddec8e121c378966ed7c074a512c51f", "Suggest responsible owners based on context, decisions, and recent work.": "484eb4e21bcdd76a531a4234403ea29f0626094f9a2915b674f17e0b949be0a3", + "Suggested": "93b63bab4c3a28d73a8bb83bcdfdcc5f6ddecfc8fc702296ca159d94c5dc6e53", "Suggested next step": "78d74fd4ffec8d83a942e1274cfd15426b2b4bb2d96b15f905277638c339869e", "Suggested routing": "442b15c099c136738e26e139912a5f5d21e90216aade875a8db595b09c81fcbe", "Summaries": "87bc590e047d3df4a8e448ac83e371fad69dd73607752cccb0ff7d34263cef8f", @@ -7221,6 +7233,7 @@ "Untracked": "c7ba5477e19cf0bb25460d840cc2e67341e81e1c2d274d00b3054c73898d4d27", "unverified": "97b7e2db799e2b79e65f418b42a7d3054c95b2d3ab1dba243039597e44a38084", "Unverified": "33c8e8de41c3a35124251370e2a36e4d589f8789d80630abbbeceb933d3fb58f", + "Up to {concurrent} active and {starts} starts per {minutes} min": "cca43c28ef670fd5d55cb3bd813a2fef137043e4028096bcd2cdf22e2a06586b", "Up to date": "ce29b7f85b9eaf7dac52e625accb4b0cb56a856ebe9a9de9a09b613b6d978dca", "Update": "c1c1009d3f37ec058070a62e22caf9ac9dae2169d452487c5c271a8bcf57a291", "Update available": "ff8b555d818f0b25bbdd1bec8b479660bac7fc276acbe993e759bf67fed32c34", @@ -7548,6 +7561,7 @@ "Work intake, tool servers, and plugin bundles": "16b65a84c6fca2014b7e2d28b151bbf0afe19345230a0ac37304802311fed850", "Work is claimed": "c4b0d953436f2f59355d6540bae28e055ff49243f612887bbaed7bfd98c85d4d", "Work item ID": "1dcdad81d13850bd962965719f362fa7f32693b7b54fd8bb25d1e2402a470626", + "Work item paused": "299aabbf3c1418a3f01117e072d3bfe418e174bd1f355d1afdfae23c7b4bf678", "Work items": "5759a416f2b3b4ff92da23b8059419e06c39d27180b91a557f7cae779df3d2b6", "Work marked failed": "f26306888ed8c9a3808b8a420428f63e32d4c2223e7c9c89dd0a049806c539c6", "Work result": "19efe7487084061e9e358495b8a9bfd7e9d7c0035010e08ac35c14ba4ff8ca2a", @@ -8287,6 +8301,7 @@ "Allows": "Tillåter", "Allows commands starting with {command}": "Tillåter kommandon som börjar med {command}", "Already imported": "Redan importerad", + "Already in work": "Redan i arbete", "Also allow private memory and private chat queries remotely": "Tillåt även privat minne och privata chattfrågor på distans", "Alternatives": "Alternativ", "Alternatives considered": "Alternativ övervägs", @@ -8547,6 +8562,7 @@ "Auto-start by default": "Auto-start by default", "Auto-start step": "Auto-start step", "Automatic": "Automatisk", + "Automatic intake": "Automatiskt intag", "Automatic learning is off": "Automatisk inlärning är avstängd", "Automatic parallel execution": "Automatic parallel execution", "Automatic proposals enabled": "Automatiska förslag aktiverade", @@ -8975,6 +8991,7 @@ "Check failed": "Kontrollen misslyckades", "Check for changes": "Kontrollera om det finns ändringar", "Check for updates": "Sök efter uppdateringar", + "Check GitHub inbox": "Kontrollera GitHubs inkorg", "Check member status": "Kontrollera medlemsstatus", "Check member status to load readiness.": "Kontrollera medlemsstatus för laddningsberedskap.", "Check needed": "Kontrollera behövs", @@ -9282,6 +9299,7 @@ "Concise": "Koncis", "Concise, focused, direct.": "Kortfattad, fokuserad, direkt.", "conclusion {conclusion}": "slutsats {conclusion}", + "Concurrent work limit reached": "Samtidigt arbetsgräns nådd", "Confidence": "Förtroende", "Configuration": "Konfiguration", "Configuration digest": "Sammanfattning av konfigurationen", @@ -10658,6 +10676,7 @@ "github": "github", "GitHub": "GitHub", "GitHub CI triage": "GitHub CI triage", + "GitHub intake": "GitHub-intag", "GitHub MCP": "GitHub MCP", "GitHub not connected (GITHUB_TOKEN or GH_TOKEN)": "GitHub not connected (GITHUB_TOKEN or GH_TOKEN)", "GitHub unavailable; retry later": "GitHub unavailable; retry later", @@ -12537,6 +12556,7 @@ "Policy details": "Policyinformation", "Policy narrows authority": "Politiken begränsar auktoriteten", "policy overlays": "policyöverlagringar", + "Policy paused": "Policyn pausad", "Policy review": "Policygranskning", "Policy snapshot artifact": "Policyöversiktsbildartefakt", "Poll once": "Omröstning en gång", @@ -12732,6 +12752,7 @@ "Provider state": "Leverantörsstat", "Provider templates": "Leverantörsmallar", "Provider type": "Typ av leverantör", + "Provider unavailable": "Leverantören är inte tillgänglig", "Provider version": "Providerversion", "Provider warmup": "Leverantörsuppvärmning", "Provider was automatically rechecked after daemon restart.": "Leverantören kontrollerades automatiskt igen efter omstart av demonen.", @@ -13117,6 +13138,8 @@ "Required for assigned teammates": "Krävs för tilldelade lagkamrater", "Required input": "Obligatorisk input", "Required input: {value}": "Obligatorisk inmatning: {value}", + "Required label": "Obligatorisk etikett", + "Required label missing": "Obligatorisk etikett saknas", "Required permissions": "Nödvändiga behörigheter", "Required skill information is missing.": "Information om erforderlig kompetens saknas.", "Required statuses": "Required statuses", @@ -14126,6 +14149,7 @@ "Start an active Computer Use task first.": "Starta en aktiv Computer Use uppgift först.", "Start autoplan": "Starta autoplan", "Start background": "Starta bakgrund", + "Start budget reached": "Startbudget uppnådd", "Start by choosing a template or creating one manually.": "Börja med att välja en mall eller skapa en manuellt.", "Start child branch": "Starta barngren", "Start from a default role or blank teammate.": "Börja från en standardroll eller tom lagkamrat.", @@ -14231,7 +14255,9 @@ "succeeded": "lyckades", "Succeeded": "Lyckades", "Successfully generated {count} artifact based on the provided prompt.": "Framgångsrikt genererad {count} artefakt baserat på den angivna prompten.", + "Suggest": "Föreslå", "Suggest responsible owners based on context, decisions, and recent work.": "Föreslå ansvarsfulla ägare baserat på sammanhang, beslut och senaste arbete.", + "Suggested": "Föreslog", "Suggested next step": "Föreslog nästa steg", "Suggested routing": "Föreslagen rutt", "Summaries": "Sammanfattningar", @@ -14940,6 +14966,7 @@ "Untracked": "Ospårad", "unverified": "obekräftad", "Unverified": "Ej verifierad", + "Up to {concurrent} active and {starts} starts per {minutes} min": "Upp till {concurrent} aktiva och {starts} startar per {minutes} min", "Up to date": "Uppdaterad", "Update": "Uppdatera", "Update available": "Uppdatering tillgänglig", @@ -15267,6 +15294,7 @@ "Work intake, tool servers, and plugin bundles": "Arbetsintag, verktygsservrar och plugin-paket", "Work is claimed": "Arbete påstås", "Work item ID": "Arbetsobjekt ID", + "Work item paused": "Arbetsobjektet pausat", "Work items": "Arbetsobjekt", "Work marked failed": "Arbete markerat som misslyckat", "Work result": "Arbetsresultat", diff --git a/packages/localization/catalogs/sw-TZ.json b/packages/localization/catalogs/sw-TZ.json index 1ff73ba38..7f0aafc2b 100644 --- a/packages/localization/catalogs/sw-TZ.json +++ b/packages/localization/catalogs/sw-TZ.json @@ -1,6 +1,6 @@ { "locale": "sw-TZ", - "sourceRevision": "214db76d79f1a5c0fd915c110a2ead6dbb978b58398846e982a0c1ff0cb53108", + "sourceRevision": "6468d2af71d2feb60f9b8c5f37bc2a3ff1177fb2c8b0d65e85002de6b1095cbb", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -568,6 +568,7 @@ "Allows": "8b1d52d202522d89fe65fb00e505abab46dc200a88c0be5d468a2a7e6dce9ccf", "Allows commands starting with {command}": "f5c5d446a6850880ae79768c175bacaf2bc487f715d5768d0b225eb643e3ce07", "Already imported": "e47fafe0a1c6f8d6b5c641c5d9cc7ca61e66a1c50bbc3b619c8ff5912444bfa8", + "Already in work": "ae40a6ff362406d9f1fdc40ad79cea7bd1705e6e173b2267f2a310777aedb387", "Also allow private memory and private chat queries remotely": "0b6b2ba6882b67c8b5b79f0f07964588232be1a9e520011e19bbea224c59a913", "Alternatives": "41055f72edad1559b8ba43440cd7938eb73685930c7141fede9b95000fd41299", "Alternatives considered": "73534cb410e6191096c7fa7ca56ba066f90b4fdede8677d64bc98068804afa3c", @@ -828,6 +829,7 @@ "Auto-start by default": "403861dc8396a3ea666e143d33e0429d3c26721771abf3face351259eee9b28f", "Auto-start step": "2bf61e4807ad3bf6ebc934bf54e917d5b3a87295001826be3a7dd57c7e75cc8d", "Automatic": "d461a493a3753877c9486cffa3444265a33370af8a7fff242fb119b71750839c", + "Automatic intake": "6eed82b223c717114773803e9d9d90d6d3cde9579bf264647347e559817a5081", "Automatic learning is off": "8ba1b4a02530490260a7b8e748e0809ddc3885213a009f3896264bc665060bdd", "Automatic parallel execution": "63d058c173c4a148a14094327c26d9af2c5bde1779c91dbf0d913e90b0687be9", "Automatic proposals enabled": "db670932d259eeedd26de8d7ca836594d5f3861ff24e1f94170c7333676c157a", @@ -1256,6 +1258,7 @@ "Check failed": "c8813c1128d545bfe7e7458ae24d724447097b3518643f86fa3e532f88e9fb40", "Check for changes": "5da755d1690f58c1c822a4b85422734bacc2122c7c67f4e8617f0765ac835113", "Check for updates": "f26f3275e735bdf6268532ca7cbea3887c9adad21d8df74e84b2bc7791475c0d", + "Check GitHub inbox": "51cd97da0bc2b213621668f69168386eaee18bdae064041094187404c9fc71ee", "Check member status": "ff155af014d0b6e94cbf2fca3b01cf8d5725732f178eee985083478adb4a62f5", "Check member status to load readiness.": "6f7f338e22e626b134643fbaec898cf8e8efd19b85eeb6193b4ca0d5d63c4528", "Check needed": "561a32f0c83e5a4fe8d77d891bd4b954d514ea021b4a18e68a3607f5d8747841", @@ -1563,6 +1566,7 @@ "Concise": "8340d833ab72d3321b07af0184597743b010e142b39593cebb450d4227e62f0c", "Concise, focused, direct.": "e9cb028d2d79111476e9c8ea1562b7f6275fd39d43abf410338d7c0ae2fff5a5", "conclusion {conclusion}": "dc328d7e11ecbdc61fa90fc18e3ced70b794ca55dcc476d03c88eff72f16274d", + "Concurrent work limit reached": "f60d0f2d4a9ba0c57c7e7835bd52a1912f39581799f2babb636d190317a96b54", "Confidence": "6422e3e78f5e5f5a15e92cc57ed7114adb289339251031ccb526d9249437dc82", "Configuration": "b332c3492d5eb10a118eb6d8b0dcd689bc2477ce2ae16b303753b942b54377bc", "Configuration digest": "5bbf2d321122a5a57d36c77291d232d51f9ae9a1655e80f042727754aea15bfe", @@ -2939,6 +2943,7 @@ "github": "c0b0109d9439de57fe3cf03abeccbc52f4c98170c732d3b69af5e6395ace574e", "GitHub": "f911e414cf6bdfc595532ab166b5ba0f63d73c021452fcdacbda363dda6ad8fb", "GitHub CI triage": "6a2368ce3943b296b07b5241227baf2a863d3f50f8a46ddb0889cbb5045ccd84", + "GitHub intake": "064829c63fcbc74d45753e04f583c69a391d25d4ed334de3b69fa2720f733cb1", "GitHub MCP": "408b061889ef672152b51ce8dbd56216d1b7e97303429b59538b99fe663c6f04", "GitHub not connected (GITHUB_TOKEN or GH_TOKEN)": "1cb239b6b5ea26422b411a25d3a4e254cdf45b7e730eb91b976a36f12adeb21b", "GitHub unavailable; retry later": "33b2cec76eccd24c4d8d61c265de8b06a6a20820ab1fccdcb433a22903909d02", @@ -4818,6 +4823,7 @@ "Policy details": "00e33950cacf32a39cc25f71ccb1650c4c788c12816e07681d80f0fdc537be98", "Policy narrows authority": "e9e2012e5ac96664fb03ff0f81f4f49cb5b8ee069149139352e7c89b73e43baa", "policy overlays": "db26199cf2a47a948b45caf37b4d50ede3ef415fad6c940cfe56a118970fcefb", + "Policy paused": "11fc11eaf385253466e26bac9916425e1e009695cd40adc4c7a132366d187518", "Policy review": "1cf67fef927c77770a1fcd8b20982b24b15cc0b6f1e8b56265d87baff019dd7e", "Policy snapshot artifact": "7f8b2985d498316ac01fa5f2276d2556cab712b4c8bc2b93e16dfc1353e23a77", "Poll once": "c7e7d724ff87555fb857467569ce709d958ee2d5d1ab2cc890554c7605e86e78", @@ -5013,6 +5019,7 @@ "Provider state": "633d1ca46603e61fc3d39459c1414102a27bbc4ba0adfb0b22ba5a205c2b9815", "Provider templates": "1e8649b7c667a6afc6dc88cbdb3069e349e850466cf3efa57eeedab9b70486f7", "Provider type": "8c0f6d3ebfe7ba3a0c0006068a9aa664d09244ba3cd438f2d56fab117bee1347", + "Provider unavailable": "ff2113958589f9bfb87b54f959be825d00ec5eca374d907bb343f98ebdbc84c3", "Provider version": "1f5ecefbd682ced2f438c8ae3c8849ba9effbe6cd77c19051cee2d2036ef9c90", "Provider warmup": "36ae143804c9a909bce770f54be5652b69b99ee7838cca99daa31e23d4d6d63c", "Provider was automatically rechecked after daemon restart.": "7bd8e8ee592f30e81adca8c96b079d6526846dc142bd99e5bbba3d9bebbde7a9", @@ -5398,6 +5405,8 @@ "Required for assigned teammates": "4732aa544a8d93b886e6bcbbcc5c3314af692f8a8a812efd4844cd3589b7b63a", "Required input": "fafaaf99b5a6af521026448890a9dacaf4d47053804a34be7cdf364e13637181", "Required input: {value}": "757166b8bf43ee39819f00d86fa61a84ddb3f3eba2a883c6bb996b8f82101d22", + "Required label": "5f623a5ad31f874a782d2205c9318ce524371a35d782b9a7021eab521c2fbbcd", + "Required label missing": "6913716764f8018414060c041e41a2951f5444efe5e97cd30a557be26403d1b1", "Required permissions": "edaffed36060c21e958b3fe562b7c57f51f67ba46326b1a9a5317a47b20e1747", "Required skill information is missing.": "e5cb742af5e92afab21f42c3edd4f5940db52a1c5320a9dd7236eca89a702789", "Required statuses": "c77453db9c939c7c7b8da080b0053847604126aefacf5a900d1d0fe30e4ba5ee", @@ -6407,6 +6416,7 @@ "Start an active Computer Use task first.": "1242a212935f863b51a7f3e8d16f12af408152d8047b274c5fef9fb7f1435f50", "Start autoplan": "7419a8efae15550dc21cccc23ca0a16c446e884842bfe48056af34a921175cb0", "Start background": "c690dc635cd0437e8911748d795084e5d32d0b75811490076285d41032d7300c", + "Start budget reached": "6b915cfb021a78ae6f8b4c1f2d9f40bbadcc486c04cbb00a807d52bfe78102ca", "Start by choosing a template or creating one manually.": "6a3ba02535ac7a0ab934b569a915927936dede63b4277ea4500e77c8835d4666", "Start child branch": "ee7b6caa5b4a1d3e8fd3ce47a26b42a4f2472834dfa17b2efc1864d0ed710948", "Start from a default role or blank teammate.": "1464ae64fd1ee987e353f53a2f9bab20053b2f0ae320c07839b7eecf710b8a96", @@ -6512,7 +6522,9 @@ "succeeded": "5dceaeceb6d8a49d3665594710ace68dfbc1800e2d663d7febb302b4dbee3d27", "Succeeded": "6d9a6f97a5fdaf3b90a0cf02e0b43d8b7ec1d05c0e4718e02ddd1c5b450e5b39", "Successfully generated {count} artifact based on the provided prompt.": "71f85e7639c004421f062f2dd6a129e5173931798f5d33b6f0482038b38a88fc", + "Suggest": "4effad823b048b0440dbeff42665f60a6ddec8e121c378966ed7c074a512c51f", "Suggest responsible owners based on context, decisions, and recent work.": "484eb4e21bcdd76a531a4234403ea29f0626094f9a2915b674f17e0b949be0a3", + "Suggested": "93b63bab4c3a28d73a8bb83bcdfdcc5f6ddecfc8fc702296ca159d94c5dc6e53", "Suggested next step": "78d74fd4ffec8d83a942e1274cfd15426b2b4bb2d96b15f905277638c339869e", "Suggested routing": "442b15c099c136738e26e139912a5f5d21e90216aade875a8db595b09c81fcbe", "Summaries": "87bc590e047d3df4a8e448ac83e371fad69dd73607752cccb0ff7d34263cef8f", @@ -7221,6 +7233,7 @@ "Untracked": "c7ba5477e19cf0bb25460d840cc2e67341e81e1c2d274d00b3054c73898d4d27", "unverified": "97b7e2db799e2b79e65f418b42a7d3054c95b2d3ab1dba243039597e44a38084", "Unverified": "33c8e8de41c3a35124251370e2a36e4d589f8789d80630abbbeceb933d3fb58f", + "Up to {concurrent} active and {starts} starts per {minutes} min": "cca43c28ef670fd5d55cb3bd813a2fef137043e4028096bcd2cdf22e2a06586b", "Up to date": "ce29b7f85b9eaf7dac52e625accb4b0cb56a856ebe9a9de9a09b613b6d978dca", "Update": "c1c1009d3f37ec058070a62e22caf9ac9dae2169d452487c5c271a8bcf57a291", "Update available": "ff8b555d818f0b25bbdd1bec8b479660bac7fc276acbe993e759bf67fed32c34", @@ -7548,6 +7561,7 @@ "Work intake, tool servers, and plugin bundles": "16b65a84c6fca2014b7e2d28b151bbf0afe19345230a0ac37304802311fed850", "Work is claimed": "c4b0d953436f2f59355d6540bae28e055ff49243f612887bbaed7bfd98c85d4d", "Work item ID": "1dcdad81d13850bd962965719f362fa7f32693b7b54fd8bb25d1e2402a470626", + "Work item paused": "299aabbf3c1418a3f01117e072d3bfe418e174bd1f355d1afdfae23c7b4bf678", "Work items": "5759a416f2b3b4ff92da23b8059419e06c39d27180b91a557f7cae779df3d2b6", "Work marked failed": "f26306888ed8c9a3808b8a420428f63e32d4c2223e7c9c89dd0a049806c539c6", "Work result": "19efe7487084061e9e358495b8a9bfd7e9d7c0035010e08ac35c14ba4ff8ca2a", @@ -8287,6 +8301,7 @@ "Allows": "Inaruhusu", "Allows commands starting with {command}": "Inaruhusu amri kuanzia {command}", "Already imported": "Tayari imeingizwa", + "Already in work": "Tayari kazini", "Also allow private memory and private chat queries remotely": "Pia ruhusu kumbukumbu ya faragha na hoja za gumzo la faragha ukiwa mbali", "Alternatives": "Njia Mbadala", "Alternatives considered": "Njia mbadala zinazingatiwa", @@ -8547,6 +8562,7 @@ "Auto-start by default": "Auto-start by default", "Auto-start step": "Auto-start step", "Automatic": "Otomatiki", + "Automatic intake": "Uingizaji wa moja kwa moja", "Automatic learning is off": "Kujifunza kiotomatiki kumezimwa", "Automatic parallel execution": "Automatic parallel execution", "Automatic proposals enabled": "Mapendekezo ya kiotomatiki yamewezeshwa", @@ -8975,6 +8991,7 @@ "Check failed": "Ukaguzi umeshindwa", "Check for changes": "Angalia mabadiliko", "Check for updates": "Angalia masasisho", + "Check GitHub inbox": "Angalia kisanduku pokezi cha GitHub", "Check member status": "Angalia hali ya mwanachama", "Check member status to load readiness.": "Angalia hali ya mwanachama ili kupakia utayari.", "Check needed": "Angalia inahitajika", @@ -9282,6 +9299,7 @@ "Concise": "Kwa ufupi", "Concise, focused, direct.": "Muhtasari, umakini, moja kwa moja.", "conclusion {conclusion}": "hitimisho {conclusion}", + "Concurrent work limit reached": "Kikomo cha kazi kwa wakati mmoja kimefikiwa", "Confidence": "Kujiamini", "Configuration": "Usanidi", "Configuration digest": "Muhtasari wa usanidi", @@ -10658,6 +10676,7 @@ "github": "github", "GitHub": "GitHub", "GitHub CI triage": "GitHub CI triage", + "GitHub intake": "Uingizaji wa GitHub", "GitHub MCP": "GitHub MCP", "GitHub not connected (GITHUB_TOKEN or GH_TOKEN)": "GitHub not connected (GITHUB_TOKEN or GH_TOKEN)", "GitHub unavailable; retry later": "GitHub unavailable; retry later", @@ -12537,6 +12556,7 @@ "Policy details": "Maelezo ya sera", "Policy narrows authority": "Sera inapunguza mamlaka", "policy overlays": "viwekeleo vya sera", + "Policy paused": "Sera imesitishwa", "Policy review": "Mapitio ya sera", "Policy snapshot artifact": "Vizalia vya programu vya muhtasari wa sera", "Poll once": "Kura ya maoni mara moja", @@ -12732,6 +12752,7 @@ "Provider state": "Jimbo la mtoaji", "Provider templates": "Violezo vya mtoaji", "Provider type": "Aina ya mtoaji", + "Provider unavailable": "Mtoa huduma hapatikani", "Provider version": "Toleo la mtoaji", "Provider warmup": "Joto la mtoaji", "Provider was automatically rechecked after daemon restart.": "Mtoa huduma alikaguliwa upya kiotomatiki baada ya kuwasha tena daemon.", @@ -13117,6 +13138,8 @@ "Required for assigned teammates": "Inahitajika kwa wachezaji wenza waliokabidhiwa", "Required input": "Ingizo linalohitajika", "Required input: {value}": "Ingizo linalohitajika: {value}", + "Required label": "Lebo inayohitajika", + "Required label missing": "Lebo inayohitajika haipo", "Required permissions": "Ruhusa zinazohitajika", "Required skill information is missing.": "Maelezo ya ujuzi unaohitajika hayapo.", "Required statuses": "Required statuses", @@ -14126,6 +14149,7 @@ "Start an active Computer Use task first.": "Anzisha kazi Computer Use amilifu kwanza.", "Start autoplan": "Anza kupanga kiotomatiki", "Start background": "Anza usuli", + "Start budget reached": "Bajeti ya kuanza imefikiwa", "Start by choosing a template or creating one manually.": "Anza kwa kuchagua kiolezo au kuunda mwenyewe.", "Start child branch": "Anzisha tawi la watoto", "Start from a default role or blank teammate.": "Anza kutoka kwa jukumu chaguo-msingi au mwenza tupu wa timu.", @@ -14231,7 +14255,9 @@ "succeeded": "imefanikiwa", "Succeeded": "Imefaulu", "Successfully generated {count} artifact based on the provided prompt.": "Imefaulu kuzalisha vizalia vya {count} kulingana na kidokezo kilichotolewa.", + "Suggest": "Pendekeza", "Suggest responsible owners based on context, decisions, and recent work.": "Pendekeza wamiliki wanaowajibika kulingana na muktadha, maamuzi na kazi ya hivi majuzi.", + "Suggested": "Imependekezwa", "Suggested next step": "Hatua inayofuata inapendekezwa", "Suggested routing": "Uelekezaji unaopendekezwa", "Summaries": "Muhtasari", @@ -14940,6 +14966,7 @@ "Untracked": "Haijafuatiliwa", "unverified": "haijathibitishwa", "Unverified": "Haijathibitishwa", + "Up to {concurrent} active and {starts} starts per {minutes} min": "Hadi {concurrent} amilifu na {starts} huanza kwa {minutes} dakika", "Up to date": "Imesasishwa", "Update": "Sasisha", "Update available": "Sasisho linapatikana", @@ -15267,6 +15294,7 @@ "Work intake, tool servers, and plugin bundles": "Ulaji wa kazi, seva za zana, na vifurushi vya programu-jalizi", "Work is claimed": "Kazi inadaiwa", "Work item ID": "Kipengee cha kazi ID", + "Work item paused": "Kipengee cha kazi kimesitishwa", "Work items": "Vitu vya kazi", "Work marked failed": "Kazi iliyotiwa alama imeshindwa", "Work result": "Matokeo ya kazi", diff --git a/packages/localization/catalogs/ta-IN.json b/packages/localization/catalogs/ta-IN.json index b87705e85..9cd7e942d 100644 --- a/packages/localization/catalogs/ta-IN.json +++ b/packages/localization/catalogs/ta-IN.json @@ -1,6 +1,6 @@ { "locale": "ta-IN", - "sourceRevision": "214db76d79f1a5c0fd915c110a2ead6dbb978b58398846e982a0c1ff0cb53108", + "sourceRevision": "6468d2af71d2feb60f9b8c5f37bc2a3ff1177fb2c8b0d65e85002de6b1095cbb", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -568,6 +568,7 @@ "Allows": "8b1d52d202522d89fe65fb00e505abab46dc200a88c0be5d468a2a7e6dce9ccf", "Allows commands starting with {command}": "f5c5d446a6850880ae79768c175bacaf2bc487f715d5768d0b225eb643e3ce07", "Already imported": "e47fafe0a1c6f8d6b5c641c5d9cc7ca61e66a1c50bbc3b619c8ff5912444bfa8", + "Already in work": "ae40a6ff362406d9f1fdc40ad79cea7bd1705e6e173b2267f2a310777aedb387", "Also allow private memory and private chat queries remotely": "0b6b2ba6882b67c8b5b79f0f07964588232be1a9e520011e19bbea224c59a913", "Alternatives": "41055f72edad1559b8ba43440cd7938eb73685930c7141fede9b95000fd41299", "Alternatives considered": "73534cb410e6191096c7fa7ca56ba066f90b4fdede8677d64bc98068804afa3c", @@ -828,6 +829,7 @@ "Auto-start by default": "403861dc8396a3ea666e143d33e0429d3c26721771abf3face351259eee9b28f", "Auto-start step": "2bf61e4807ad3bf6ebc934bf54e917d5b3a87295001826be3a7dd57c7e75cc8d", "Automatic": "d461a493a3753877c9486cffa3444265a33370af8a7fff242fb119b71750839c", + "Automatic intake": "6eed82b223c717114773803e9d9d90d6d3cde9579bf264647347e559817a5081", "Automatic learning is off": "8ba1b4a02530490260a7b8e748e0809ddc3885213a009f3896264bc665060bdd", "Automatic parallel execution": "63d058c173c4a148a14094327c26d9af2c5bde1779c91dbf0d913e90b0687be9", "Automatic proposals enabled": "db670932d259eeedd26de8d7ca836594d5f3861ff24e1f94170c7333676c157a", @@ -1256,6 +1258,7 @@ "Check failed": "c8813c1128d545bfe7e7458ae24d724447097b3518643f86fa3e532f88e9fb40", "Check for changes": "5da755d1690f58c1c822a4b85422734bacc2122c7c67f4e8617f0765ac835113", "Check for updates": "f26f3275e735bdf6268532ca7cbea3887c9adad21d8df74e84b2bc7791475c0d", + "Check GitHub inbox": "51cd97da0bc2b213621668f69168386eaee18bdae064041094187404c9fc71ee", "Check member status": "ff155af014d0b6e94cbf2fca3b01cf8d5725732f178eee985083478adb4a62f5", "Check member status to load readiness.": "6f7f338e22e626b134643fbaec898cf8e8efd19b85eeb6193b4ca0d5d63c4528", "Check needed": "561a32f0c83e5a4fe8d77d891bd4b954d514ea021b4a18e68a3607f5d8747841", @@ -1563,6 +1566,7 @@ "Concise": "8340d833ab72d3321b07af0184597743b010e142b39593cebb450d4227e62f0c", "Concise, focused, direct.": "e9cb028d2d79111476e9c8ea1562b7f6275fd39d43abf410338d7c0ae2fff5a5", "conclusion {conclusion}": "dc328d7e11ecbdc61fa90fc18e3ced70b794ca55dcc476d03c88eff72f16274d", + "Concurrent work limit reached": "f60d0f2d4a9ba0c57c7e7835bd52a1912f39581799f2babb636d190317a96b54", "Confidence": "6422e3e78f5e5f5a15e92cc57ed7114adb289339251031ccb526d9249437dc82", "Configuration": "b332c3492d5eb10a118eb6d8b0dcd689bc2477ce2ae16b303753b942b54377bc", "Configuration digest": "5bbf2d321122a5a57d36c77291d232d51f9ae9a1655e80f042727754aea15bfe", @@ -2939,6 +2943,7 @@ "github": "c0b0109d9439de57fe3cf03abeccbc52f4c98170c732d3b69af5e6395ace574e", "GitHub": "f911e414cf6bdfc595532ab166b5ba0f63d73c021452fcdacbda363dda6ad8fb", "GitHub CI triage": "6a2368ce3943b296b07b5241227baf2a863d3f50f8a46ddb0889cbb5045ccd84", + "GitHub intake": "064829c63fcbc74d45753e04f583c69a391d25d4ed334de3b69fa2720f733cb1", "GitHub MCP": "408b061889ef672152b51ce8dbd56216d1b7e97303429b59538b99fe663c6f04", "GitHub not connected (GITHUB_TOKEN or GH_TOKEN)": "1cb239b6b5ea26422b411a25d3a4e254cdf45b7e730eb91b976a36f12adeb21b", "GitHub unavailable; retry later": "33b2cec76eccd24c4d8d61c265de8b06a6a20820ab1fccdcb433a22903909d02", @@ -4818,6 +4823,7 @@ "Policy details": "00e33950cacf32a39cc25f71ccb1650c4c788c12816e07681d80f0fdc537be98", "Policy narrows authority": "e9e2012e5ac96664fb03ff0f81f4f49cb5b8ee069149139352e7c89b73e43baa", "policy overlays": "db26199cf2a47a948b45caf37b4d50ede3ef415fad6c940cfe56a118970fcefb", + "Policy paused": "11fc11eaf385253466e26bac9916425e1e009695cd40adc4c7a132366d187518", "Policy review": "1cf67fef927c77770a1fcd8b20982b24b15cc0b6f1e8b56265d87baff019dd7e", "Policy snapshot artifact": "7f8b2985d498316ac01fa5f2276d2556cab712b4c8bc2b93e16dfc1353e23a77", "Poll once": "c7e7d724ff87555fb857467569ce709d958ee2d5d1ab2cc890554c7605e86e78", @@ -5013,6 +5019,7 @@ "Provider state": "633d1ca46603e61fc3d39459c1414102a27bbc4ba0adfb0b22ba5a205c2b9815", "Provider templates": "1e8649b7c667a6afc6dc88cbdb3069e349e850466cf3efa57eeedab9b70486f7", "Provider type": "8c0f6d3ebfe7ba3a0c0006068a9aa664d09244ba3cd438f2d56fab117bee1347", + "Provider unavailable": "ff2113958589f9bfb87b54f959be825d00ec5eca374d907bb343f98ebdbc84c3", "Provider version": "1f5ecefbd682ced2f438c8ae3c8849ba9effbe6cd77c19051cee2d2036ef9c90", "Provider warmup": "36ae143804c9a909bce770f54be5652b69b99ee7838cca99daa31e23d4d6d63c", "Provider was automatically rechecked after daemon restart.": "7bd8e8ee592f30e81adca8c96b079d6526846dc142bd99e5bbba3d9bebbde7a9", @@ -5398,6 +5405,8 @@ "Required for assigned teammates": "4732aa544a8d93b886e6bcbbcc5c3314af692f8a8a812efd4844cd3589b7b63a", "Required input": "fafaaf99b5a6af521026448890a9dacaf4d47053804a34be7cdf364e13637181", "Required input: {value}": "757166b8bf43ee39819f00d86fa61a84ddb3f3eba2a883c6bb996b8f82101d22", + "Required label": "5f623a5ad31f874a782d2205c9318ce524371a35d782b9a7021eab521c2fbbcd", + "Required label missing": "6913716764f8018414060c041e41a2951f5444efe5e97cd30a557be26403d1b1", "Required permissions": "edaffed36060c21e958b3fe562b7c57f51f67ba46326b1a9a5317a47b20e1747", "Required skill information is missing.": "e5cb742af5e92afab21f42c3edd4f5940db52a1c5320a9dd7236eca89a702789", "Required statuses": "c77453db9c939c7c7b8da080b0053847604126aefacf5a900d1d0fe30e4ba5ee", @@ -6407,6 +6416,7 @@ "Start an active Computer Use task first.": "1242a212935f863b51a7f3e8d16f12af408152d8047b274c5fef9fb7f1435f50", "Start autoplan": "7419a8efae15550dc21cccc23ca0a16c446e884842bfe48056af34a921175cb0", "Start background": "c690dc635cd0437e8911748d795084e5d32d0b75811490076285d41032d7300c", + "Start budget reached": "6b915cfb021a78ae6f8b4c1f2d9f40bbadcc486c04cbb00a807d52bfe78102ca", "Start by choosing a template or creating one manually.": "6a3ba02535ac7a0ab934b569a915927936dede63b4277ea4500e77c8835d4666", "Start child branch": "ee7b6caa5b4a1d3e8fd3ce47a26b42a4f2472834dfa17b2efc1864d0ed710948", "Start from a default role or blank teammate.": "1464ae64fd1ee987e353f53a2f9bab20053b2f0ae320c07839b7eecf710b8a96", @@ -6512,7 +6522,9 @@ "succeeded": "5dceaeceb6d8a49d3665594710ace68dfbc1800e2d663d7febb302b4dbee3d27", "Succeeded": "6d9a6f97a5fdaf3b90a0cf02e0b43d8b7ec1d05c0e4718e02ddd1c5b450e5b39", "Successfully generated {count} artifact based on the provided prompt.": "71f85e7639c004421f062f2dd6a129e5173931798f5d33b6f0482038b38a88fc", + "Suggest": "4effad823b048b0440dbeff42665f60a6ddec8e121c378966ed7c074a512c51f", "Suggest responsible owners based on context, decisions, and recent work.": "484eb4e21bcdd76a531a4234403ea29f0626094f9a2915b674f17e0b949be0a3", + "Suggested": "93b63bab4c3a28d73a8bb83bcdfdcc5f6ddecfc8fc702296ca159d94c5dc6e53", "Suggested next step": "78d74fd4ffec8d83a942e1274cfd15426b2b4bb2d96b15f905277638c339869e", "Suggested routing": "442b15c099c136738e26e139912a5f5d21e90216aade875a8db595b09c81fcbe", "Summaries": "87bc590e047d3df4a8e448ac83e371fad69dd73607752cccb0ff7d34263cef8f", @@ -7221,6 +7233,7 @@ "Untracked": "c7ba5477e19cf0bb25460d840cc2e67341e81e1c2d274d00b3054c73898d4d27", "unverified": "97b7e2db799e2b79e65f418b42a7d3054c95b2d3ab1dba243039597e44a38084", "Unverified": "33c8e8de41c3a35124251370e2a36e4d589f8789d80630abbbeceb933d3fb58f", + "Up to {concurrent} active and {starts} starts per {minutes} min": "cca43c28ef670fd5d55cb3bd813a2fef137043e4028096bcd2cdf22e2a06586b", "Up to date": "ce29b7f85b9eaf7dac52e625accb4b0cb56a856ebe9a9de9a09b613b6d978dca", "Update": "c1c1009d3f37ec058070a62e22caf9ac9dae2169d452487c5c271a8bcf57a291", "Update available": "ff8b555d818f0b25bbdd1bec8b479660bac7fc276acbe993e759bf67fed32c34", @@ -7548,6 +7561,7 @@ "Work intake, tool servers, and plugin bundles": "16b65a84c6fca2014b7e2d28b151bbf0afe19345230a0ac37304802311fed850", "Work is claimed": "c4b0d953436f2f59355d6540bae28e055ff49243f612887bbaed7bfd98c85d4d", "Work item ID": "1dcdad81d13850bd962965719f362fa7f32693b7b54fd8bb25d1e2402a470626", + "Work item paused": "299aabbf3c1418a3f01117e072d3bfe418e174bd1f355d1afdfae23c7b4bf678", "Work items": "5759a416f2b3b4ff92da23b8059419e06c39d27180b91a557f7cae779df3d2b6", "Work marked failed": "f26306888ed8c9a3808b8a420428f63e32d4c2223e7c9c89dd0a049806c539c6", "Work result": "19efe7487084061e9e358495b8a9bfd7e9d7c0035010e08ac35c14ba4ff8ca2a", @@ -8287,6 +8301,7 @@ "Allows": "அனுமதிக்கிறது", "Allows commands starting with {command}": "{command} இல் தொடங்கும் கட்டளைகளை அனுமதிக்கிறது", "Already imported": "ஏற்கனவே இறக்குமதி செய்யப்பட்டது", + "Already in work": "ஏற்கனவே வேலையில் உள்ளது", "Also allow private memory and private chat queries remotely": "தனிப்பட்ட நினைவகம் மற்றும் தனிப்பட்ட அரட்டை வினவல்களை தொலைவிலிருந்து அனுமதிக்கவும்", "Alternatives": "மாற்றுகள்", "Alternatives considered": "மாற்றுகள் கருதப்படுகின்றன", @@ -8547,6 +8562,7 @@ "Auto-start by default": "Auto-start by default", "Auto-start step": "Auto-start step", "Automatic": "தானியங்கி", + "Automatic intake": "தானியங்கி உட்கொள்ளல்", "Automatic learning is off": "தானியங்கி கற்றல் முடக்கப்பட்டுள்ளது", "Automatic parallel execution": "Automatic parallel execution", "Automatic proposals enabled": "தானியங்கி முன்மொழிவுகள் இயக்கப்பட்டன", @@ -8975,6 +8991,7 @@ "Check failed": "சோதனை தோல்வியடைந்தது", "Check for changes": "மாற்றங்களைச் சரிபார்க்கவும்", "Check for updates": "புதுப்பிப்புகளைச் சரிபார்க்கவும்", + "Check GitHub inbox": "GitHub இன்பாக்ஸைச் சரிபார்க்கவும்", "Check member status": "உறுப்பினர் நிலையை சரிபார்க்கவும்", "Check member status to load readiness.": "தயார்நிலையை ஏற்ற உறுப்பினர் நிலையைச் சரிபார்க்கவும்.", "Check needed": "சரிபார்க்கவும்", @@ -9282,6 +9299,7 @@ "Concise": "சுருக்கமான", "Concise, focused, direct.": "சுருக்கமான, கவனம், நேரடி.", "conclusion {conclusion}": "முடிவு {conclusion}", + "Concurrent work limit reached": "ஒரே நேரத்தில் பணி வரம்பை அடைந்தது", "Confidence": "நம்பிக்கை", "Configuration": "கட்டமைப்பு", "Configuration digest": "உள்ளமைவு செரிமானம்", @@ -10658,6 +10676,7 @@ "github": "கிதுப்", "GitHub": "கிட்ஹப்", "GitHub CI triage": "கிட்ஹப் சிஐ சோதனை", + "GitHub intake": "கிட்ஹப் உட்கொள்ளல்", "GitHub MCP": "கிட்ஹப் MCP", "GitHub not connected (GITHUB_TOKEN or GH_TOKEN)": "GitHub not connected (GITHUB_TOKEN or GH_TOKEN)", "GitHub unavailable; retry later": "GitHub unavailable; retry later", @@ -12537,6 +12556,7 @@ "Policy details": "கொள்கை விவரங்கள்", "Policy narrows authority": "கொள்கை அதிகாரத்தைக் குறைக்கிறது", "policy overlays": "கொள்கை மேலடுக்குகள்", + "Policy paused": "கொள்கை இடைநிறுத்தப்பட்டது", "Policy review": "கொள்கை மதிப்பாய்வு", "Policy snapshot artifact": "கொள்கை ஸ்னாப்ஷாட் கலைப்பொருள்", "Poll once": "ஒருமுறை வாக்களிக்கவும்", @@ -12732,6 +12752,7 @@ "Provider state": "வழங்குநர் நிலை", "Provider templates": "வழங்குநர் வார்ப்புருக்கள்", "Provider type": "வழங்குநர் வகை", + "Provider unavailable": "வழங்குநர் கிடைக்கவில்லை", "Provider version": "வழங்குநர் பதிப்பு", "Provider warmup": "வழங்குநர் வெப்பமயமாதல்", "Provider was automatically rechecked after daemon restart.": "டீமான் மறுதொடக்கம் செய்த பிறகு வழங்குநர் தானாகவே மீண்டும் சரிபார்க்கப்பட்டார்.", @@ -13117,6 +13138,8 @@ "Required for assigned teammates": "ஒதுக்கப்பட்ட அணியினருக்குத் தேவை", "Required input": "தேவையான உள்ளீடு", "Required input: {value}": "தேவையான உள்ளீடு: {value}", + "Required label": "தேவையான லேபிள்", + "Required label missing": "தேவையான லேபிள் இல்லை", "Required permissions": "தேவையான அனுமதிகள்", "Required skill information is missing.": "தேவையான திறன் தகவல் இல்லை.", "Required statuses": "Required statuses", @@ -14126,6 +14149,7 @@ "Start an active Computer Use task first.": "செயலில் உள்ள Computer Use பணியை முதலில் தொடங்கவும்.", "Start autoplan": "தன்னியக்கத் திட்டத்தைத் தொடங்கவும்", "Start background": "பின்னணியைத் தொடங்கவும்", + "Start budget reached": "தொடக்க பட்ஜெட் எட்டிவிட்டது", "Start by choosing a template or creating one manually.": "ஒரு டெம்ப்ளேட்டைத் தேர்ந்தெடுப்பதன் மூலம் அல்லது கைமுறையாக ஒன்றை உருவாக்குவதன் மூலம் தொடங்கவும்.", "Start child branch": "குழந்தை கிளையைத் தொடங்கவும்", "Start from a default role or blank teammate.": "இயல்புநிலை பங்கு அல்லது வெற்று அணியில் இருந்து தொடங்கவும்.", @@ -14231,7 +14255,9 @@ "succeeded": "வெற்றி பெற்றது", "Succeeded": "வெற்றி பெற்றது", "Successfully generated {count} artifact based on the provided prompt.": "வழங்கப்பட்ட ப்ராம்ட்டின் அடிப்படையில் {count} கலைப்பொருள் வெற்றிகரமாக உருவாக்கப்பட்டுள்ளது.", + "Suggest": "பரிந்துரைக்கவும்", "Suggest responsible owners based on context, decisions, and recent work.": "சூழல், முடிவுகள் மற்றும் சமீபத்திய வேலை ஆகியவற்றின் அடிப்படையில் பொறுப்பான உரிமையாளர்களைப் பரிந்துரைக்கவும்.", + "Suggested": "பரிந்துரைக்கப்பட்டது", "Suggested next step": "அடுத்த படி பரிந்துரைக்கப்படுகிறது", "Suggested routing": "பரிந்துரைக்கப்பட்ட ரூட்டிங்", "Summaries": "சுருக்கங்கள்", @@ -14940,6 +14966,7 @@ "Untracked": "கண்காணிக்கப்படவில்லை", "unverified": "சரிபார்க்கப்படாத", "Unverified": "சரிபார்க்கப்படவில்லை", + "Up to {concurrent} active and {starts} starts per {minutes} min": "{concurrent} வரை செயலில் உள்ளது மற்றும் {minutes} நிமிடத்திற்கு {starts} தொடங்குகிறது", "Up to date": "இன்றுவரை", "Update": "புதுப்பிக்கவும்", "Update available": "புதுப்பிப்பு கிடைக்கிறது", @@ -15267,6 +15294,7 @@ "Work intake, tool servers, and plugin bundles": "வேலை உட்கொள்ளல், கருவி சேவையகங்கள் மற்றும் செருகுநிரல் தொகுப்புகள்", "Work is claimed": "வேலை கோரப்பட்டுள்ளது", "Work item ID": "பணிப் பொருள் ID", + "Work item paused": "பணி உருப்படி இடைநிறுத்தப்பட்டது", "Work items": "வேலை பொருட்கள்", "Work marked failed": "குறிக்கப்பட்ட பணி தோல்வியடைந்தது", "Work result": "வேலை முடிவு", diff --git a/packages/localization/catalogs/te-IN.json b/packages/localization/catalogs/te-IN.json index eea1c459b..21194c9ff 100644 --- a/packages/localization/catalogs/te-IN.json +++ b/packages/localization/catalogs/te-IN.json @@ -1,6 +1,6 @@ { "locale": "te-IN", - "sourceRevision": "214db76d79f1a5c0fd915c110a2ead6dbb978b58398846e982a0c1ff0cb53108", + "sourceRevision": "6468d2af71d2feb60f9b8c5f37bc2a3ff1177fb2c8b0d65e85002de6b1095cbb", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -568,6 +568,7 @@ "Allows": "8b1d52d202522d89fe65fb00e505abab46dc200a88c0be5d468a2a7e6dce9ccf", "Allows commands starting with {command}": "f5c5d446a6850880ae79768c175bacaf2bc487f715d5768d0b225eb643e3ce07", "Already imported": "e47fafe0a1c6f8d6b5c641c5d9cc7ca61e66a1c50bbc3b619c8ff5912444bfa8", + "Already in work": "ae40a6ff362406d9f1fdc40ad79cea7bd1705e6e173b2267f2a310777aedb387", "Also allow private memory and private chat queries remotely": "0b6b2ba6882b67c8b5b79f0f07964588232be1a9e520011e19bbea224c59a913", "Alternatives": "41055f72edad1559b8ba43440cd7938eb73685930c7141fede9b95000fd41299", "Alternatives considered": "73534cb410e6191096c7fa7ca56ba066f90b4fdede8677d64bc98068804afa3c", @@ -828,6 +829,7 @@ "Auto-start by default": "403861dc8396a3ea666e143d33e0429d3c26721771abf3face351259eee9b28f", "Auto-start step": "2bf61e4807ad3bf6ebc934bf54e917d5b3a87295001826be3a7dd57c7e75cc8d", "Automatic": "d461a493a3753877c9486cffa3444265a33370af8a7fff242fb119b71750839c", + "Automatic intake": "6eed82b223c717114773803e9d9d90d6d3cde9579bf264647347e559817a5081", "Automatic learning is off": "8ba1b4a02530490260a7b8e748e0809ddc3885213a009f3896264bc665060bdd", "Automatic parallel execution": "63d058c173c4a148a14094327c26d9af2c5bde1779c91dbf0d913e90b0687be9", "Automatic proposals enabled": "db670932d259eeedd26de8d7ca836594d5f3861ff24e1f94170c7333676c157a", @@ -1256,6 +1258,7 @@ "Check failed": "c8813c1128d545bfe7e7458ae24d724447097b3518643f86fa3e532f88e9fb40", "Check for changes": "5da755d1690f58c1c822a4b85422734bacc2122c7c67f4e8617f0765ac835113", "Check for updates": "f26f3275e735bdf6268532ca7cbea3887c9adad21d8df74e84b2bc7791475c0d", + "Check GitHub inbox": "51cd97da0bc2b213621668f69168386eaee18bdae064041094187404c9fc71ee", "Check member status": "ff155af014d0b6e94cbf2fca3b01cf8d5725732f178eee985083478adb4a62f5", "Check member status to load readiness.": "6f7f338e22e626b134643fbaec898cf8e8efd19b85eeb6193b4ca0d5d63c4528", "Check needed": "561a32f0c83e5a4fe8d77d891bd4b954d514ea021b4a18e68a3607f5d8747841", @@ -1563,6 +1566,7 @@ "Concise": "8340d833ab72d3321b07af0184597743b010e142b39593cebb450d4227e62f0c", "Concise, focused, direct.": "e9cb028d2d79111476e9c8ea1562b7f6275fd39d43abf410338d7c0ae2fff5a5", "conclusion {conclusion}": "dc328d7e11ecbdc61fa90fc18e3ced70b794ca55dcc476d03c88eff72f16274d", + "Concurrent work limit reached": "f60d0f2d4a9ba0c57c7e7835bd52a1912f39581799f2babb636d190317a96b54", "Confidence": "6422e3e78f5e5f5a15e92cc57ed7114adb289339251031ccb526d9249437dc82", "Configuration": "b332c3492d5eb10a118eb6d8b0dcd689bc2477ce2ae16b303753b942b54377bc", "Configuration digest": "5bbf2d321122a5a57d36c77291d232d51f9ae9a1655e80f042727754aea15bfe", @@ -2939,6 +2943,7 @@ "github": "c0b0109d9439de57fe3cf03abeccbc52f4c98170c732d3b69af5e6395ace574e", "GitHub": "f911e414cf6bdfc595532ab166b5ba0f63d73c021452fcdacbda363dda6ad8fb", "GitHub CI triage": "6a2368ce3943b296b07b5241227baf2a863d3f50f8a46ddb0889cbb5045ccd84", + "GitHub intake": "064829c63fcbc74d45753e04f583c69a391d25d4ed334de3b69fa2720f733cb1", "GitHub MCP": "408b061889ef672152b51ce8dbd56216d1b7e97303429b59538b99fe663c6f04", "GitHub not connected (GITHUB_TOKEN or GH_TOKEN)": "1cb239b6b5ea26422b411a25d3a4e254cdf45b7e730eb91b976a36f12adeb21b", "GitHub unavailable; retry later": "33b2cec76eccd24c4d8d61c265de8b06a6a20820ab1fccdcb433a22903909d02", @@ -4818,6 +4823,7 @@ "Policy details": "00e33950cacf32a39cc25f71ccb1650c4c788c12816e07681d80f0fdc537be98", "Policy narrows authority": "e9e2012e5ac96664fb03ff0f81f4f49cb5b8ee069149139352e7c89b73e43baa", "policy overlays": "db26199cf2a47a948b45caf37b4d50ede3ef415fad6c940cfe56a118970fcefb", + "Policy paused": "11fc11eaf385253466e26bac9916425e1e009695cd40adc4c7a132366d187518", "Policy review": "1cf67fef927c77770a1fcd8b20982b24b15cc0b6f1e8b56265d87baff019dd7e", "Policy snapshot artifact": "7f8b2985d498316ac01fa5f2276d2556cab712b4c8bc2b93e16dfc1353e23a77", "Poll once": "c7e7d724ff87555fb857467569ce709d958ee2d5d1ab2cc890554c7605e86e78", @@ -5013,6 +5019,7 @@ "Provider state": "633d1ca46603e61fc3d39459c1414102a27bbc4ba0adfb0b22ba5a205c2b9815", "Provider templates": "1e8649b7c667a6afc6dc88cbdb3069e349e850466cf3efa57eeedab9b70486f7", "Provider type": "8c0f6d3ebfe7ba3a0c0006068a9aa664d09244ba3cd438f2d56fab117bee1347", + "Provider unavailable": "ff2113958589f9bfb87b54f959be825d00ec5eca374d907bb343f98ebdbc84c3", "Provider version": "1f5ecefbd682ced2f438c8ae3c8849ba9effbe6cd77c19051cee2d2036ef9c90", "Provider warmup": "36ae143804c9a909bce770f54be5652b69b99ee7838cca99daa31e23d4d6d63c", "Provider was automatically rechecked after daemon restart.": "7bd8e8ee592f30e81adca8c96b079d6526846dc142bd99e5bbba3d9bebbde7a9", @@ -5398,6 +5405,8 @@ "Required for assigned teammates": "4732aa544a8d93b886e6bcbbcc5c3314af692f8a8a812efd4844cd3589b7b63a", "Required input": "fafaaf99b5a6af521026448890a9dacaf4d47053804a34be7cdf364e13637181", "Required input: {value}": "757166b8bf43ee39819f00d86fa61a84ddb3f3eba2a883c6bb996b8f82101d22", + "Required label": "5f623a5ad31f874a782d2205c9318ce524371a35d782b9a7021eab521c2fbbcd", + "Required label missing": "6913716764f8018414060c041e41a2951f5444efe5e97cd30a557be26403d1b1", "Required permissions": "edaffed36060c21e958b3fe562b7c57f51f67ba46326b1a9a5317a47b20e1747", "Required skill information is missing.": "e5cb742af5e92afab21f42c3edd4f5940db52a1c5320a9dd7236eca89a702789", "Required statuses": "c77453db9c939c7c7b8da080b0053847604126aefacf5a900d1d0fe30e4ba5ee", @@ -6407,6 +6416,7 @@ "Start an active Computer Use task first.": "1242a212935f863b51a7f3e8d16f12af408152d8047b274c5fef9fb7f1435f50", "Start autoplan": "7419a8efae15550dc21cccc23ca0a16c446e884842bfe48056af34a921175cb0", "Start background": "c690dc635cd0437e8911748d795084e5d32d0b75811490076285d41032d7300c", + "Start budget reached": "6b915cfb021a78ae6f8b4c1f2d9f40bbadcc486c04cbb00a807d52bfe78102ca", "Start by choosing a template or creating one manually.": "6a3ba02535ac7a0ab934b569a915927936dede63b4277ea4500e77c8835d4666", "Start child branch": "ee7b6caa5b4a1d3e8fd3ce47a26b42a4f2472834dfa17b2efc1864d0ed710948", "Start from a default role or blank teammate.": "1464ae64fd1ee987e353f53a2f9bab20053b2f0ae320c07839b7eecf710b8a96", @@ -6512,7 +6522,9 @@ "succeeded": "5dceaeceb6d8a49d3665594710ace68dfbc1800e2d663d7febb302b4dbee3d27", "Succeeded": "6d9a6f97a5fdaf3b90a0cf02e0b43d8b7ec1d05c0e4718e02ddd1c5b450e5b39", "Successfully generated {count} artifact based on the provided prompt.": "71f85e7639c004421f062f2dd6a129e5173931798f5d33b6f0482038b38a88fc", + "Suggest": "4effad823b048b0440dbeff42665f60a6ddec8e121c378966ed7c074a512c51f", "Suggest responsible owners based on context, decisions, and recent work.": "484eb4e21bcdd76a531a4234403ea29f0626094f9a2915b674f17e0b949be0a3", + "Suggested": "93b63bab4c3a28d73a8bb83bcdfdcc5f6ddecfc8fc702296ca159d94c5dc6e53", "Suggested next step": "78d74fd4ffec8d83a942e1274cfd15426b2b4bb2d96b15f905277638c339869e", "Suggested routing": "442b15c099c136738e26e139912a5f5d21e90216aade875a8db595b09c81fcbe", "Summaries": "87bc590e047d3df4a8e448ac83e371fad69dd73607752cccb0ff7d34263cef8f", @@ -7221,6 +7233,7 @@ "Untracked": "c7ba5477e19cf0bb25460d840cc2e67341e81e1c2d274d00b3054c73898d4d27", "unverified": "97b7e2db799e2b79e65f418b42a7d3054c95b2d3ab1dba243039597e44a38084", "Unverified": "33c8e8de41c3a35124251370e2a36e4d589f8789d80630abbbeceb933d3fb58f", + "Up to {concurrent} active and {starts} starts per {minutes} min": "cca43c28ef670fd5d55cb3bd813a2fef137043e4028096bcd2cdf22e2a06586b", "Up to date": "ce29b7f85b9eaf7dac52e625accb4b0cb56a856ebe9a9de9a09b613b6d978dca", "Update": "c1c1009d3f37ec058070a62e22caf9ac9dae2169d452487c5c271a8bcf57a291", "Update available": "ff8b555d818f0b25bbdd1bec8b479660bac7fc276acbe993e759bf67fed32c34", @@ -7548,6 +7561,7 @@ "Work intake, tool servers, and plugin bundles": "16b65a84c6fca2014b7e2d28b151bbf0afe19345230a0ac37304802311fed850", "Work is claimed": "c4b0d953436f2f59355d6540bae28e055ff49243f612887bbaed7bfd98c85d4d", "Work item ID": "1dcdad81d13850bd962965719f362fa7f32693b7b54fd8bb25d1e2402a470626", + "Work item paused": "299aabbf3c1418a3f01117e072d3bfe418e174bd1f355d1afdfae23c7b4bf678", "Work items": "5759a416f2b3b4ff92da23b8059419e06c39d27180b91a557f7cae779df3d2b6", "Work marked failed": "f26306888ed8c9a3808b8a420428f63e32d4c2223e7c9c89dd0a049806c539c6", "Work result": "19efe7487084061e9e358495b8a9bfd7e9d7c0035010e08ac35c14ba4ff8ca2a", @@ -8287,6 +8301,7 @@ "Allows": "అనుమతిస్తుంది", "Allows commands starting with {command}": "{command}తో ప్రారంభమయ్యే ఆదేశాలను అనుమతిస్తుంది", "Already imported": "ఇప్పటికే దిగుమతి అయింది", + "Already in work": "ఇప్పటికే పనిలో ఉన్నారు", "Also allow private memory and private chat queries remotely": "రిమోట్‌గా ప్రైవేట్ మెమరీ మరియు ప్రైవేట్ చాట్ ప్రశ్నలను కూడా అనుమతించండి", "Alternatives": "ప్రత్యామ్నాయాలు", "Alternatives considered": "ప్రత్యామ్నాయాలు పరిగణించబడ్డాయి", @@ -8547,6 +8562,7 @@ "Auto-start by default": "Auto-start by default", "Auto-start step": "Auto-start step", "Automatic": "ఆటోమేటిక్", + "Automatic intake": "స్వయంచాలక తీసుకోవడం", "Automatic learning is off": "ఆటోమేటిక్ లెర్నింగ్ ఆఫ్ చేయబడింది", "Automatic parallel execution": "Automatic parallel execution", "Automatic proposals enabled": "స్వయంచాలక ప్రతిపాదనలు ప్రారంభించబడ్డాయి", @@ -8975,6 +8991,7 @@ "Check failed": "చెక్ విఫలమైంది", "Check for changes": "మార్పుల కోసం తనిఖీ చేయండి", "Check for updates": "నవీకరణల కోసం తనిఖీ చేయండి", + "Check GitHub inbox": "GitHub ఇన్‌బాక్స్‌ని తనిఖీ చేయండి", "Check member status": "సభ్యుల స్థితిని తనిఖీ చేయండి", "Check member status to load readiness.": "సంసిద్ధతను లోడ్ చేయడానికి సభ్యుల స్థితిని తనిఖీ చేయండి.", "Check needed": "చెక్ అవసరం", @@ -9282,6 +9299,7 @@ "Concise": "సంక్షిప్తమైనది", "Concise, focused, direct.": "సంక్షిప్త, దృష్టి, ప్రత్యక్ష.", "conclusion {conclusion}": "ముగింపు {conclusion}", + "Concurrent work limit reached": "ఏకకాల పని పరిమితిని చేరుకున్నారు", "Confidence": "విశ్వాసం", "Configuration": "ఆకృతీకరణ", "Configuration digest": "కాన్ఫిగరేషన్ డైజెస్ట్", @@ -10658,6 +10676,7 @@ "github": "గితుబ్", "GitHub": "GitHub", "GitHub CI triage": "GitHub CI ట్రయాజ్", + "GitHub intake": "GitHub తీసుకోవడం", "GitHub MCP": "GitHub MCP", "GitHub not connected (GITHUB_TOKEN or GH_TOKEN)": "GitHub not connected (GITHUB_TOKEN or GH_TOKEN)", "GitHub unavailable; retry later": "GitHub unavailable; retry later", @@ -12537,6 +12556,7 @@ "Policy details": "పాలసీ వివరాలు", "Policy narrows authority": "విధానం అధికారాన్ని ఇరుకున పెడుతుంది", "policy overlays": "విధానం అతివ్యాప్తులు", + "Policy paused": "విధానం పాజ్ చేయబడింది", "Policy review": "విధాన సమీక్ష", "Policy snapshot artifact": "పాలసీ స్నాప్‌షాట్ కళాకృతి", "Poll once": "ఒకసారి పోల్ చేయండి", @@ -12732,6 +12752,7 @@ "Provider state": "ప్రొవైడర్ రాష్ట్రం", "Provider templates": "ప్రొవైడర్ టెంప్లేట్లు", "Provider type": "ప్రొవైడర్ రకం", + "Provider unavailable": "ప్రొవైడర్ అందుబాటులో లేరు", "Provider version": "ప్రొవైడర్ వెర్షన్", "Provider warmup": "ప్రొవైడర్ వార్మప్", "Provider was automatically rechecked after daemon restart.": "డెమోన్ పునఃప్రారంభించిన తర్వాత ప్రొవైడర్ స్వయంచాలకంగా మళ్లీ తనిఖీ చేయబడింది.", @@ -13117,6 +13138,8 @@ "Required for assigned teammates": "కేటాయించిన సహచరులకు అవసరం", "Required input": "అవసరమైన ఇన్పుట్", "Required input: {value}": "అవసరమైన ఇన్పుట్: {value}", + "Required label": "అవసరమైన లేబుల్", + "Required label missing": "అవసరమైన లేబుల్ లేదు", "Required permissions": "అవసరమైన అనుమతులు", "Required skill information is missing.": "అవసరమైన నైపుణ్యం సమాచారం లేదు.", "Required statuses": "Required statuses", @@ -14126,6 +14149,7 @@ "Start an active Computer Use task first.": "ముందుగా యాక్టివ్ Computer Use టాస్క్‌ని ప్రారంభించండి.", "Start autoplan": "ఆటోప్లాన్ ప్రారంభించండి", "Start background": "నేపథ్యాన్ని ప్రారంభించండి", + "Start budget reached": "ప్రారంభ బడ్జెట్ చేరుకుంది", "Start by choosing a template or creating one manually.": "టెంప్లేట్‌ను ఎంచుకోవడం లేదా మాన్యువల్‌గా ఒకదాన్ని సృష్టించడం ద్వారా ప్రారంభించండి.", "Start child branch": "పిల్లల శాఖను ప్రారంభించండి", "Start from a default role or blank teammate.": "డిఫాల్ట్ పాత్ర లేదా ఖాళీ సహచరుడు నుండి ప్రారంభించండి.", @@ -14231,7 +14255,9 @@ "succeeded": "విజయం సాధించారు", "Succeeded": "విజయం సాధించారు", "Successfully generated {count} artifact based on the provided prompt.": "అందించిన ప్రాంప్ట్ ఆధారంగా {count} కళాకృతి విజయవంతంగా రూపొందించబడింది.", + "Suggest": "సూచించండి", "Suggest responsible owners based on context, decisions, and recent work.": "సందర్భం, నిర్ణయాలు మరియు ఇటీవలి పని ఆధారంగా బాధ్యతాయుతమైన యజమానులను సూచించండి.", + "Suggested": "సూచించారు", "Suggested next step": "తదుపరి దశను సూచించారు", "Suggested routing": "సూచించిన రూటింగ్", "Summaries": "సారాంశాలు", @@ -14940,6 +14966,7 @@ "Untracked": "ట్రాక్ చేయబడలేదు", "unverified": "ధృవీకరించబడలేదు", "Unverified": "ధృవీకరించబడలేదు", + "Up to {concurrent} active and {starts} starts per {minutes} min": "{concurrent} వరకు సక్రియం మరియు {minutes} నిమికి {starts} ప్రారంభమవుతుంది", "Up to date": "తాజాగా ఉంది", "Update": "నవీకరించు", "Update available": "అప్‌డేట్ అందుబాటులో ఉంది", @@ -15267,6 +15294,7 @@ "Work intake, tool servers, and plugin bundles": "పని తీసుకోవడం, సాధనం సర్వర్లు మరియు ప్లగిన్ బండిల్స్", "Work is claimed": "పని క్లెయిమ్ చేయబడింది", "Work item ID": "పని వస్తువు ID", + "Work item paused": "పని అంశం పాజ్ చేయబడింది", "Work items": "పని అంశాలు", "Work marked failed": "పని విఫలమైందని గుర్తించబడింది", "Work result": "పని ఫలితం", diff --git a/packages/localization/catalogs/th-TH.json b/packages/localization/catalogs/th-TH.json index ad544ec60..7bd1c466e 100644 --- a/packages/localization/catalogs/th-TH.json +++ b/packages/localization/catalogs/th-TH.json @@ -1,6 +1,6 @@ { "locale": "th-TH", - "sourceRevision": "214db76d79f1a5c0fd915c110a2ead6dbb978b58398846e982a0c1ff0cb53108", + "sourceRevision": "6468d2af71d2feb60f9b8c5f37bc2a3ff1177fb2c8b0d65e85002de6b1095cbb", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -568,6 +568,7 @@ "Allows": "8b1d52d202522d89fe65fb00e505abab46dc200a88c0be5d468a2a7e6dce9ccf", "Allows commands starting with {command}": "f5c5d446a6850880ae79768c175bacaf2bc487f715d5768d0b225eb643e3ce07", "Already imported": "e47fafe0a1c6f8d6b5c641c5d9cc7ca61e66a1c50bbc3b619c8ff5912444bfa8", + "Already in work": "ae40a6ff362406d9f1fdc40ad79cea7bd1705e6e173b2267f2a310777aedb387", "Also allow private memory and private chat queries remotely": "0b6b2ba6882b67c8b5b79f0f07964588232be1a9e520011e19bbea224c59a913", "Alternatives": "41055f72edad1559b8ba43440cd7938eb73685930c7141fede9b95000fd41299", "Alternatives considered": "73534cb410e6191096c7fa7ca56ba066f90b4fdede8677d64bc98068804afa3c", @@ -828,6 +829,7 @@ "Auto-start by default": "403861dc8396a3ea666e143d33e0429d3c26721771abf3face351259eee9b28f", "Auto-start step": "2bf61e4807ad3bf6ebc934bf54e917d5b3a87295001826be3a7dd57c7e75cc8d", "Automatic": "d461a493a3753877c9486cffa3444265a33370af8a7fff242fb119b71750839c", + "Automatic intake": "6eed82b223c717114773803e9d9d90d6d3cde9579bf264647347e559817a5081", "Automatic learning is off": "8ba1b4a02530490260a7b8e748e0809ddc3885213a009f3896264bc665060bdd", "Automatic parallel execution": "63d058c173c4a148a14094327c26d9af2c5bde1779c91dbf0d913e90b0687be9", "Automatic proposals enabled": "db670932d259eeedd26de8d7ca836594d5f3861ff24e1f94170c7333676c157a", @@ -1256,6 +1258,7 @@ "Check failed": "c8813c1128d545bfe7e7458ae24d724447097b3518643f86fa3e532f88e9fb40", "Check for changes": "5da755d1690f58c1c822a4b85422734bacc2122c7c67f4e8617f0765ac835113", "Check for updates": "f26f3275e735bdf6268532ca7cbea3887c9adad21d8df74e84b2bc7791475c0d", + "Check GitHub inbox": "51cd97da0bc2b213621668f69168386eaee18bdae064041094187404c9fc71ee", "Check member status": "ff155af014d0b6e94cbf2fca3b01cf8d5725732f178eee985083478adb4a62f5", "Check member status to load readiness.": "6f7f338e22e626b134643fbaec898cf8e8efd19b85eeb6193b4ca0d5d63c4528", "Check needed": "561a32f0c83e5a4fe8d77d891bd4b954d514ea021b4a18e68a3607f5d8747841", @@ -1563,6 +1566,7 @@ "Concise": "8340d833ab72d3321b07af0184597743b010e142b39593cebb450d4227e62f0c", "Concise, focused, direct.": "e9cb028d2d79111476e9c8ea1562b7f6275fd39d43abf410338d7c0ae2fff5a5", "conclusion {conclusion}": "dc328d7e11ecbdc61fa90fc18e3ced70b794ca55dcc476d03c88eff72f16274d", + "Concurrent work limit reached": "f60d0f2d4a9ba0c57c7e7835bd52a1912f39581799f2babb636d190317a96b54", "Confidence": "6422e3e78f5e5f5a15e92cc57ed7114adb289339251031ccb526d9249437dc82", "Configuration": "b332c3492d5eb10a118eb6d8b0dcd689bc2477ce2ae16b303753b942b54377bc", "Configuration digest": "5bbf2d321122a5a57d36c77291d232d51f9ae9a1655e80f042727754aea15bfe", @@ -2939,6 +2943,7 @@ "github": "c0b0109d9439de57fe3cf03abeccbc52f4c98170c732d3b69af5e6395ace574e", "GitHub": "f911e414cf6bdfc595532ab166b5ba0f63d73c021452fcdacbda363dda6ad8fb", "GitHub CI triage": "6a2368ce3943b296b07b5241227baf2a863d3f50f8a46ddb0889cbb5045ccd84", + "GitHub intake": "064829c63fcbc74d45753e04f583c69a391d25d4ed334de3b69fa2720f733cb1", "GitHub MCP": "408b061889ef672152b51ce8dbd56216d1b7e97303429b59538b99fe663c6f04", "GitHub not connected (GITHUB_TOKEN or GH_TOKEN)": "1cb239b6b5ea26422b411a25d3a4e254cdf45b7e730eb91b976a36f12adeb21b", "GitHub unavailable; retry later": "33b2cec76eccd24c4d8d61c265de8b06a6a20820ab1fccdcb433a22903909d02", @@ -4818,6 +4823,7 @@ "Policy details": "00e33950cacf32a39cc25f71ccb1650c4c788c12816e07681d80f0fdc537be98", "Policy narrows authority": "e9e2012e5ac96664fb03ff0f81f4f49cb5b8ee069149139352e7c89b73e43baa", "policy overlays": "db26199cf2a47a948b45caf37b4d50ede3ef415fad6c940cfe56a118970fcefb", + "Policy paused": "11fc11eaf385253466e26bac9916425e1e009695cd40adc4c7a132366d187518", "Policy review": "1cf67fef927c77770a1fcd8b20982b24b15cc0b6f1e8b56265d87baff019dd7e", "Policy snapshot artifact": "7f8b2985d498316ac01fa5f2276d2556cab712b4c8bc2b93e16dfc1353e23a77", "Poll once": "c7e7d724ff87555fb857467569ce709d958ee2d5d1ab2cc890554c7605e86e78", @@ -5013,6 +5019,7 @@ "Provider state": "633d1ca46603e61fc3d39459c1414102a27bbc4ba0adfb0b22ba5a205c2b9815", "Provider templates": "1e8649b7c667a6afc6dc88cbdb3069e349e850466cf3efa57eeedab9b70486f7", "Provider type": "8c0f6d3ebfe7ba3a0c0006068a9aa664d09244ba3cd438f2d56fab117bee1347", + "Provider unavailable": "ff2113958589f9bfb87b54f959be825d00ec5eca374d907bb343f98ebdbc84c3", "Provider version": "1f5ecefbd682ced2f438c8ae3c8849ba9effbe6cd77c19051cee2d2036ef9c90", "Provider warmup": "36ae143804c9a909bce770f54be5652b69b99ee7838cca99daa31e23d4d6d63c", "Provider was automatically rechecked after daemon restart.": "7bd8e8ee592f30e81adca8c96b079d6526846dc142bd99e5bbba3d9bebbde7a9", @@ -5398,6 +5405,8 @@ "Required for assigned teammates": "4732aa544a8d93b886e6bcbbcc5c3314af692f8a8a812efd4844cd3589b7b63a", "Required input": "fafaaf99b5a6af521026448890a9dacaf4d47053804a34be7cdf364e13637181", "Required input: {value}": "757166b8bf43ee39819f00d86fa61a84ddb3f3eba2a883c6bb996b8f82101d22", + "Required label": "5f623a5ad31f874a782d2205c9318ce524371a35d782b9a7021eab521c2fbbcd", + "Required label missing": "6913716764f8018414060c041e41a2951f5444efe5e97cd30a557be26403d1b1", "Required permissions": "edaffed36060c21e958b3fe562b7c57f51f67ba46326b1a9a5317a47b20e1747", "Required skill information is missing.": "e5cb742af5e92afab21f42c3edd4f5940db52a1c5320a9dd7236eca89a702789", "Required statuses": "c77453db9c939c7c7b8da080b0053847604126aefacf5a900d1d0fe30e4ba5ee", @@ -6407,6 +6416,7 @@ "Start an active Computer Use task first.": "1242a212935f863b51a7f3e8d16f12af408152d8047b274c5fef9fb7f1435f50", "Start autoplan": "7419a8efae15550dc21cccc23ca0a16c446e884842bfe48056af34a921175cb0", "Start background": "c690dc635cd0437e8911748d795084e5d32d0b75811490076285d41032d7300c", + "Start budget reached": "6b915cfb021a78ae6f8b4c1f2d9f40bbadcc486c04cbb00a807d52bfe78102ca", "Start by choosing a template or creating one manually.": "6a3ba02535ac7a0ab934b569a915927936dede63b4277ea4500e77c8835d4666", "Start child branch": "ee7b6caa5b4a1d3e8fd3ce47a26b42a4f2472834dfa17b2efc1864d0ed710948", "Start from a default role or blank teammate.": "1464ae64fd1ee987e353f53a2f9bab20053b2f0ae320c07839b7eecf710b8a96", @@ -6512,7 +6522,9 @@ "succeeded": "5dceaeceb6d8a49d3665594710ace68dfbc1800e2d663d7febb302b4dbee3d27", "Succeeded": "6d9a6f97a5fdaf3b90a0cf02e0b43d8b7ec1d05c0e4718e02ddd1c5b450e5b39", "Successfully generated {count} artifact based on the provided prompt.": "71f85e7639c004421f062f2dd6a129e5173931798f5d33b6f0482038b38a88fc", + "Suggest": "4effad823b048b0440dbeff42665f60a6ddec8e121c378966ed7c074a512c51f", "Suggest responsible owners based on context, decisions, and recent work.": "484eb4e21bcdd76a531a4234403ea29f0626094f9a2915b674f17e0b949be0a3", + "Suggested": "93b63bab4c3a28d73a8bb83bcdfdcc5f6ddecfc8fc702296ca159d94c5dc6e53", "Suggested next step": "78d74fd4ffec8d83a942e1274cfd15426b2b4bb2d96b15f905277638c339869e", "Suggested routing": "442b15c099c136738e26e139912a5f5d21e90216aade875a8db595b09c81fcbe", "Summaries": "87bc590e047d3df4a8e448ac83e371fad69dd73607752cccb0ff7d34263cef8f", @@ -7221,6 +7233,7 @@ "Untracked": "c7ba5477e19cf0bb25460d840cc2e67341e81e1c2d274d00b3054c73898d4d27", "unverified": "97b7e2db799e2b79e65f418b42a7d3054c95b2d3ab1dba243039597e44a38084", "Unverified": "33c8e8de41c3a35124251370e2a36e4d589f8789d80630abbbeceb933d3fb58f", + "Up to {concurrent} active and {starts} starts per {minutes} min": "cca43c28ef670fd5d55cb3bd813a2fef137043e4028096bcd2cdf22e2a06586b", "Up to date": "ce29b7f85b9eaf7dac52e625accb4b0cb56a856ebe9a9de9a09b613b6d978dca", "Update": "c1c1009d3f37ec058070a62e22caf9ac9dae2169d452487c5c271a8bcf57a291", "Update available": "ff8b555d818f0b25bbdd1bec8b479660bac7fc276acbe993e759bf67fed32c34", @@ -7548,6 +7561,7 @@ "Work intake, tool servers, and plugin bundles": "16b65a84c6fca2014b7e2d28b151bbf0afe19345230a0ac37304802311fed850", "Work is claimed": "c4b0d953436f2f59355d6540bae28e055ff49243f612887bbaed7bfd98c85d4d", "Work item ID": "1dcdad81d13850bd962965719f362fa7f32693b7b54fd8bb25d1e2402a470626", + "Work item paused": "299aabbf3c1418a3f01117e072d3bfe418e174bd1f355d1afdfae23c7b4bf678", "Work items": "5759a416f2b3b4ff92da23b8059419e06c39d27180b91a557f7cae779df3d2b6", "Work marked failed": "f26306888ed8c9a3808b8a420428f63e32d4c2223e7c9c89dd0a049806c539c6", "Work result": "19efe7487084061e9e358495b8a9bfd7e9d7c0035010e08ac35c14ba4ff8ca2a", @@ -8287,6 +8301,7 @@ "Allows": "อนุญาต", "Allows commands starting with {command}": "อนุญาตให้ใช้คำสั่งที่ขึ้นต้นด้วย {command}", "Already imported": "นำเข้าแล้ว", + "Already in work": "อยู่ในงานแล้ว", "Also allow private memory and private chat queries remotely": "อนุญาตหน่วยความจำส่วนตัวและการสอบถามแชทส่วนตัวจากระยะไกล", "Alternatives": "ทางเลือก", "Alternatives considered": "ทางเลือกอื่นพิจารณาแล้ว", @@ -8547,6 +8562,7 @@ "Auto-start by default": "Auto-start by default", "Auto-start step": "Auto-start step", "Automatic": "อัตโนมัติ", + "Automatic intake": "การบริโภคอัตโนมัติ", "Automatic learning is off": "การเรียนรู้อัตโนมัติปิดอยู่", "Automatic parallel execution": "Automatic parallel execution", "Automatic proposals enabled": "เปิดใช้งานข้อเสนออัตโนมัติแล้ว", @@ -8975,6 +8991,7 @@ "Check failed": "การตรวจสอบล้มเหลว", "Check for changes": "ตรวจสอบการเปลี่ยนแปลง", "Check for updates": "ตรวจสอบการอัปเดต", + "Check GitHub inbox": "ตรวจสอบกล่องจดหมาย GitHub", "Check member status": "ตรวจสอบสถานะสมาชิก", "Check member status to load readiness.": "ตรวจสอบสถานะสมาชิกเพื่อโหลดความพร้อม", "Check needed": "จำเป็นต้องตรวจสอบ", @@ -9282,6 +9299,7 @@ "Concise": "กระชับ", "Concise, focused, direct.": "กระชับ เน้น ตรง.", "conclusion {conclusion}": "บทสรุป {conclusion}", + "Concurrent work limit reached": "ถึงขีดจำกัดการทำงานพร้อมกันแล้ว", "Confidence": "ความมั่นใจ", "Configuration": "การกำหนดค่า", "Configuration digest": "สรุปการกำหนดค่า", @@ -10658,6 +10676,7 @@ "github": "GitHub", "GitHub": "GitHub", "GitHub CI triage": "การคัดแยก GitHub CI", + "GitHub intake": "ปริมาณการใช้ GitHub", "GitHub MCP": "GitHub MCP", "GitHub not connected (GITHUB_TOKEN or GH_TOKEN)": "GitHub not connected (GITHUB_TOKEN or GH_TOKEN)", "GitHub unavailable; retry later": "GitHub unavailable; retry later", @@ -12537,6 +12556,7 @@ "Policy details": "รายละเอียดนโยบาย", "Policy narrows authority": "นโยบายทำให้อำนาจแคบลง", "policy overlays": "การซ้อนทับนโยบาย", + "Policy paused": "นโยบายหยุดชั่วคราว", "Policy review": "การทบทวนนโยบาย", "Policy snapshot artifact": "อาร์ติแฟกต์สแนปชอตของนโยบาย", "Poll once": "สำรวจความคิดเห็นหนึ่งครั้ง", @@ -12732,6 +12752,7 @@ "Provider state": "รัฐผู้ให้บริการ", "Provider templates": "เทมเพลตผู้ให้บริการ", "Provider type": "ประเภทผู้ให้บริการ", + "Provider unavailable": "ผู้ให้บริการไม่พร้อมใช้งาน", "Provider version": "เวอร์ชันของผู้ให้บริการ", "Provider warmup": "ผู้ให้บริการอุ่นเครื่อง", "Provider was automatically rechecked after daemon restart.": "ผู้ให้บริการได้รับการตรวจสอบอีกครั้งโดยอัตโนมัติหลังจากรีสตาร์ท daemon", @@ -13117,6 +13138,8 @@ "Required for assigned teammates": "จำเป็นสำหรับเพื่อนร่วมทีมที่ได้รับมอบหมาย", "Required input": "ข้อมูลที่จำเป็น", "Required input: {value}": "ข้อมูลที่จำเป็น: {value}", + "Required label": "ป้ายกำกับที่จำเป็น", + "Required label missing": "ป้ายกำกับที่จำเป็นขาดหายไป", "Required permissions": "สิทธิ์ที่จำเป็น", "Required skill information is missing.": "ข้อมูลทักษะที่จำเป็นหายไป", "Required statuses": "Required statuses", @@ -14126,6 +14149,7 @@ "Start an active Computer Use task first.": "เริ่มงาน Computer Use ที่ใช้งานอยู่ก่อน", "Start autoplan": "เริ่มวางแผนอัตโนมัติ", "Start background": "เริ่มต้นพื้นหลัง", + "Start budget reached": "ถึงงบประมาณเริ่มต้นแล้ว", "Start by choosing a template or creating one manually.": "เริ่มต้นด้วยการเลือกเทมเพลตหรือสร้างเทมเพลตด้วยตนเอง", "Start child branch": "เริ่มสาขาย่อย", "Start from a default role or blank teammate.": "เริ่มจากบทบาทเริ่มต้นหรือเพื่อนร่วมทีมที่ว่างเปล่า", @@ -14231,7 +14255,9 @@ "succeeded": "ประสบความสำเร็จ", "Succeeded": "ประสบความสำเร็จ", "Successfully generated {count} artifact based on the provided prompt.": "สร้างสิ่งประดิษฐ์ {count} สำเร็จตามพร้อมท์ที่ให้ไว้", + "Suggest": "แนะนำ", "Suggest responsible owners based on context, decisions, and recent work.": "แนะนำเจ้าของที่รับผิดชอบตามบริบท การตัดสินใจ และงานล่าสุด", + "Suggested": "แนะนำ", "Suggested next step": "แนะนำขั้นตอนต่อไป", "Suggested routing": "เส้นทางที่แนะนำ", "Summaries": "สรุป", @@ -14940,6 +14966,7 @@ "Untracked": "ไม่ได้ติดตาม", "unverified": "ไม่ได้รับการยืนยัน", "Unverified": "ไม่ได้รับการยืนยัน", + "Up to {concurrent} active and {starts} starts per {minutes} min": "มากถึง {concurrent} ใช้งานและ {starts} เริ่มต้นต่อ {minutes} นาที", "Up to date": "ถึงวันที่", "Update": "อัปเดต", "Update available": "อัปเดตพร้อมใช้งาน", @@ -15267,6 +15294,7 @@ "Work intake, tool servers, and plugin bundles": "ปริมาณงาน เซิร์ฟเวอร์เครื่องมือ และชุดปลั๊กอิน", "Work is claimed": "มีการอ้างสิทธิ์ในการทำงาน", "Work item ID": "รายการงาน ID", + "Work item paused": "รายการงานหยุดชั่วคราว", "Work items": "รายการงาน", "Work marked failed": "งานที่ทำเครื่องหมายว่าล้มเหลว", "Work result": "ผลงาน", diff --git a/packages/localization/catalogs/tr-TR.json b/packages/localization/catalogs/tr-TR.json index c7855495d..ce8f2a2bb 100644 --- a/packages/localization/catalogs/tr-TR.json +++ b/packages/localization/catalogs/tr-TR.json @@ -1,6 +1,6 @@ { "locale": "tr-TR", - "sourceRevision": "214db76d79f1a5c0fd915c110a2ead6dbb978b58398846e982a0c1ff0cb53108", + "sourceRevision": "6468d2af71d2feb60f9b8c5f37bc2a3ff1177fb2c8b0d65e85002de6b1095cbb", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -568,6 +568,7 @@ "Allows": "8b1d52d202522d89fe65fb00e505abab46dc200a88c0be5d468a2a7e6dce9ccf", "Allows commands starting with {command}": "f5c5d446a6850880ae79768c175bacaf2bc487f715d5768d0b225eb643e3ce07", "Already imported": "e47fafe0a1c6f8d6b5c641c5d9cc7ca61e66a1c50bbc3b619c8ff5912444bfa8", + "Already in work": "ae40a6ff362406d9f1fdc40ad79cea7bd1705e6e173b2267f2a310777aedb387", "Also allow private memory and private chat queries remotely": "0b6b2ba6882b67c8b5b79f0f07964588232be1a9e520011e19bbea224c59a913", "Alternatives": "41055f72edad1559b8ba43440cd7938eb73685930c7141fede9b95000fd41299", "Alternatives considered": "73534cb410e6191096c7fa7ca56ba066f90b4fdede8677d64bc98068804afa3c", @@ -828,6 +829,7 @@ "Auto-start by default": "403861dc8396a3ea666e143d33e0429d3c26721771abf3face351259eee9b28f", "Auto-start step": "2bf61e4807ad3bf6ebc934bf54e917d5b3a87295001826be3a7dd57c7e75cc8d", "Automatic": "d461a493a3753877c9486cffa3444265a33370af8a7fff242fb119b71750839c", + "Automatic intake": "6eed82b223c717114773803e9d9d90d6d3cde9579bf264647347e559817a5081", "Automatic learning is off": "8ba1b4a02530490260a7b8e748e0809ddc3885213a009f3896264bc665060bdd", "Automatic parallel execution": "63d058c173c4a148a14094327c26d9af2c5bde1779c91dbf0d913e90b0687be9", "Automatic proposals enabled": "db670932d259eeedd26de8d7ca836594d5f3861ff24e1f94170c7333676c157a", @@ -1256,6 +1258,7 @@ "Check failed": "c8813c1128d545bfe7e7458ae24d724447097b3518643f86fa3e532f88e9fb40", "Check for changes": "5da755d1690f58c1c822a4b85422734bacc2122c7c67f4e8617f0765ac835113", "Check for updates": "f26f3275e735bdf6268532ca7cbea3887c9adad21d8df74e84b2bc7791475c0d", + "Check GitHub inbox": "51cd97da0bc2b213621668f69168386eaee18bdae064041094187404c9fc71ee", "Check member status": "ff155af014d0b6e94cbf2fca3b01cf8d5725732f178eee985083478adb4a62f5", "Check member status to load readiness.": "6f7f338e22e626b134643fbaec898cf8e8efd19b85eeb6193b4ca0d5d63c4528", "Check needed": "561a32f0c83e5a4fe8d77d891bd4b954d514ea021b4a18e68a3607f5d8747841", @@ -1563,6 +1566,7 @@ "Concise": "8340d833ab72d3321b07af0184597743b010e142b39593cebb450d4227e62f0c", "Concise, focused, direct.": "e9cb028d2d79111476e9c8ea1562b7f6275fd39d43abf410338d7c0ae2fff5a5", "conclusion {conclusion}": "dc328d7e11ecbdc61fa90fc18e3ced70b794ca55dcc476d03c88eff72f16274d", + "Concurrent work limit reached": "f60d0f2d4a9ba0c57c7e7835bd52a1912f39581799f2babb636d190317a96b54", "Confidence": "6422e3e78f5e5f5a15e92cc57ed7114adb289339251031ccb526d9249437dc82", "Configuration": "b332c3492d5eb10a118eb6d8b0dcd689bc2477ce2ae16b303753b942b54377bc", "Configuration digest": "5bbf2d321122a5a57d36c77291d232d51f9ae9a1655e80f042727754aea15bfe", @@ -2939,6 +2943,7 @@ "github": "c0b0109d9439de57fe3cf03abeccbc52f4c98170c732d3b69af5e6395ace574e", "GitHub": "f911e414cf6bdfc595532ab166b5ba0f63d73c021452fcdacbda363dda6ad8fb", "GitHub CI triage": "6a2368ce3943b296b07b5241227baf2a863d3f50f8a46ddb0889cbb5045ccd84", + "GitHub intake": "064829c63fcbc74d45753e04f583c69a391d25d4ed334de3b69fa2720f733cb1", "GitHub MCP": "408b061889ef672152b51ce8dbd56216d1b7e97303429b59538b99fe663c6f04", "GitHub not connected (GITHUB_TOKEN or GH_TOKEN)": "1cb239b6b5ea26422b411a25d3a4e254cdf45b7e730eb91b976a36f12adeb21b", "GitHub unavailable; retry later": "33b2cec76eccd24c4d8d61c265de8b06a6a20820ab1fccdcb433a22903909d02", @@ -4818,6 +4823,7 @@ "Policy details": "00e33950cacf32a39cc25f71ccb1650c4c788c12816e07681d80f0fdc537be98", "Policy narrows authority": "e9e2012e5ac96664fb03ff0f81f4f49cb5b8ee069149139352e7c89b73e43baa", "policy overlays": "db26199cf2a47a948b45caf37b4d50ede3ef415fad6c940cfe56a118970fcefb", + "Policy paused": "11fc11eaf385253466e26bac9916425e1e009695cd40adc4c7a132366d187518", "Policy review": "1cf67fef927c77770a1fcd8b20982b24b15cc0b6f1e8b56265d87baff019dd7e", "Policy snapshot artifact": "7f8b2985d498316ac01fa5f2276d2556cab712b4c8bc2b93e16dfc1353e23a77", "Poll once": "c7e7d724ff87555fb857467569ce709d958ee2d5d1ab2cc890554c7605e86e78", @@ -5013,6 +5019,7 @@ "Provider state": "633d1ca46603e61fc3d39459c1414102a27bbc4ba0adfb0b22ba5a205c2b9815", "Provider templates": "1e8649b7c667a6afc6dc88cbdb3069e349e850466cf3efa57eeedab9b70486f7", "Provider type": "8c0f6d3ebfe7ba3a0c0006068a9aa664d09244ba3cd438f2d56fab117bee1347", + "Provider unavailable": "ff2113958589f9bfb87b54f959be825d00ec5eca374d907bb343f98ebdbc84c3", "Provider version": "1f5ecefbd682ced2f438c8ae3c8849ba9effbe6cd77c19051cee2d2036ef9c90", "Provider warmup": "36ae143804c9a909bce770f54be5652b69b99ee7838cca99daa31e23d4d6d63c", "Provider was automatically rechecked after daemon restart.": "7bd8e8ee592f30e81adca8c96b079d6526846dc142bd99e5bbba3d9bebbde7a9", @@ -5398,6 +5405,8 @@ "Required for assigned teammates": "4732aa544a8d93b886e6bcbbcc5c3314af692f8a8a812efd4844cd3589b7b63a", "Required input": "fafaaf99b5a6af521026448890a9dacaf4d47053804a34be7cdf364e13637181", "Required input: {value}": "757166b8bf43ee39819f00d86fa61a84ddb3f3eba2a883c6bb996b8f82101d22", + "Required label": "5f623a5ad31f874a782d2205c9318ce524371a35d782b9a7021eab521c2fbbcd", + "Required label missing": "6913716764f8018414060c041e41a2951f5444efe5e97cd30a557be26403d1b1", "Required permissions": "edaffed36060c21e958b3fe562b7c57f51f67ba46326b1a9a5317a47b20e1747", "Required skill information is missing.": "e5cb742af5e92afab21f42c3edd4f5940db52a1c5320a9dd7236eca89a702789", "Required statuses": "c77453db9c939c7c7b8da080b0053847604126aefacf5a900d1d0fe30e4ba5ee", @@ -6407,6 +6416,7 @@ "Start an active Computer Use task first.": "1242a212935f863b51a7f3e8d16f12af408152d8047b274c5fef9fb7f1435f50", "Start autoplan": "7419a8efae15550dc21cccc23ca0a16c446e884842bfe48056af34a921175cb0", "Start background": "c690dc635cd0437e8911748d795084e5d32d0b75811490076285d41032d7300c", + "Start budget reached": "6b915cfb021a78ae6f8b4c1f2d9f40bbadcc486c04cbb00a807d52bfe78102ca", "Start by choosing a template or creating one manually.": "6a3ba02535ac7a0ab934b569a915927936dede63b4277ea4500e77c8835d4666", "Start child branch": "ee7b6caa5b4a1d3e8fd3ce47a26b42a4f2472834dfa17b2efc1864d0ed710948", "Start from a default role or blank teammate.": "1464ae64fd1ee987e353f53a2f9bab20053b2f0ae320c07839b7eecf710b8a96", @@ -6512,7 +6522,9 @@ "succeeded": "5dceaeceb6d8a49d3665594710ace68dfbc1800e2d663d7febb302b4dbee3d27", "Succeeded": "6d9a6f97a5fdaf3b90a0cf02e0b43d8b7ec1d05c0e4718e02ddd1c5b450e5b39", "Successfully generated {count} artifact based on the provided prompt.": "71f85e7639c004421f062f2dd6a129e5173931798f5d33b6f0482038b38a88fc", + "Suggest": "4effad823b048b0440dbeff42665f60a6ddec8e121c378966ed7c074a512c51f", "Suggest responsible owners based on context, decisions, and recent work.": "484eb4e21bcdd76a531a4234403ea29f0626094f9a2915b674f17e0b949be0a3", + "Suggested": "93b63bab4c3a28d73a8bb83bcdfdcc5f6ddecfc8fc702296ca159d94c5dc6e53", "Suggested next step": "78d74fd4ffec8d83a942e1274cfd15426b2b4bb2d96b15f905277638c339869e", "Suggested routing": "442b15c099c136738e26e139912a5f5d21e90216aade875a8db595b09c81fcbe", "Summaries": "87bc590e047d3df4a8e448ac83e371fad69dd73607752cccb0ff7d34263cef8f", @@ -7221,6 +7233,7 @@ "Untracked": "c7ba5477e19cf0bb25460d840cc2e67341e81e1c2d274d00b3054c73898d4d27", "unverified": "97b7e2db799e2b79e65f418b42a7d3054c95b2d3ab1dba243039597e44a38084", "Unverified": "33c8e8de41c3a35124251370e2a36e4d589f8789d80630abbbeceb933d3fb58f", + "Up to {concurrent} active and {starts} starts per {minutes} min": "cca43c28ef670fd5d55cb3bd813a2fef137043e4028096bcd2cdf22e2a06586b", "Up to date": "ce29b7f85b9eaf7dac52e625accb4b0cb56a856ebe9a9de9a09b613b6d978dca", "Update": "c1c1009d3f37ec058070a62e22caf9ac9dae2169d452487c5c271a8bcf57a291", "Update available": "ff8b555d818f0b25bbdd1bec8b479660bac7fc276acbe993e759bf67fed32c34", @@ -7548,6 +7561,7 @@ "Work intake, tool servers, and plugin bundles": "16b65a84c6fca2014b7e2d28b151bbf0afe19345230a0ac37304802311fed850", "Work is claimed": "c4b0d953436f2f59355d6540bae28e055ff49243f612887bbaed7bfd98c85d4d", "Work item ID": "1dcdad81d13850bd962965719f362fa7f32693b7b54fd8bb25d1e2402a470626", + "Work item paused": "299aabbf3c1418a3f01117e072d3bfe418e174bd1f355d1afdfae23c7b4bf678", "Work items": "5759a416f2b3b4ff92da23b8059419e06c39d27180b91a557f7cae779df3d2b6", "Work marked failed": "f26306888ed8c9a3808b8a420428f63e32d4c2223e7c9c89dd0a049806c539c6", "Work result": "19efe7487084061e9e358495b8a9bfd7e9d7c0035010e08ac35c14ba4ff8ca2a", @@ -8287,6 +8301,7 @@ "Allows": "İzin verir", "Allows commands starting with {command}": "{command} ile başlayan komutlara izin verir", "Already imported": "Zaten içe aktarıldı", + "Already in work": "Zaten işteyim", "Also allow private memory and private chat queries remotely": "Ayrıca özel hafızaya ve özel sohbet sorgularına uzaktan izin verin", "Alternatives": "Alternatifler", "Alternatives considered": "Alternatifler değerlendirildi", @@ -8547,6 +8562,7 @@ "Auto-start by default": "Auto-start by default", "Auto-start step": "Auto-start step", "Automatic": "Otomatik", + "Automatic intake": "Otomatik alım", "Automatic learning is off": "Otomatik öğrenme kapalı", "Automatic parallel execution": "Automatic parallel execution", "Automatic proposals enabled": "Otomatik teklifler etkinleştirildi", @@ -8975,6 +8991,7 @@ "Check failed": "Kontrol başarısız oldu", "Check for changes": "Değişiklikleri kontrol et", "Check for updates": "Güncellemeleri kontrol edin", + "Check GitHub inbox": "GitHub gelen kutusunu kontrol edin", "Check member status": "Üye durumunu kontrol edin", "Check member status to load readiness.": "Hazırlık durumunu yüklemek için üye durumunu kontrol edin.", "Check needed": "Kontrol gerekli", @@ -9282,6 +9299,7 @@ "Concise": "Kısa", "Concise, focused, direct.": "Kısa, odaklanmış, doğrudan.", "conclusion {conclusion}": "sonuç {conclusion}", + "Concurrent work limit reached": "Eşzamanlı çalışma sınırına ulaşıldı", "Confidence": "Kendinden emin", "Configuration": "Yapılandırma", "Configuration digest": "Yapılandırma özeti", @@ -10658,6 +10676,7 @@ "github": "github", "GitHub": "GitHub", "GitHub CI triage": "GitHub CI önceliklendirmesi", + "GitHub intake": "GitHub alımı", "GitHub MCP": "GitHub MCP", "GitHub not connected (GITHUB_TOKEN or GH_TOKEN)": "GitHub not connected (GITHUB_TOKEN or GH_TOKEN)", "GitHub unavailable; retry later": "GitHub unavailable; retry later", @@ -12537,6 +12556,7 @@ "Policy details": "Politika ayrıntıları", "Policy narrows authority": "Politika yetkiyi daraltıyor", "policy overlays": "politika katmanları", + "Policy paused": "Politika duraklatıldı", "Policy review": "Politika incelemesi", "Policy snapshot artifact": "Politika anlık görüntüsü yapısı", "Poll once": "Bir kez anket yapın", @@ -12732,6 +12752,7 @@ "Provider state": "Sağlayıcı durumu", "Provider templates": "Sağlayıcı şablonları", "Provider type": "Sağlayıcı türü", + "Provider unavailable": "Sağlayıcı kullanılamıyor", "Provider version": "Sağlayıcı sürümü", "Provider warmup": "Sağlayıcı ısınması", "Provider was automatically rechecked after daemon restart.": "Sağlayıcı, arka plan programı yeniden başlatıldıktan sonra otomatik olarak yeniden kontrol edildi.", @@ -13117,6 +13138,8 @@ "Required for assigned teammates": "Atanan ekip arkadaşları için gereklidir", "Required input": "Gerekli giriş", "Required input: {value}": "Gerekli giriş: {value}", + "Required label": "Gerekli etiket", + "Required label missing": "Gerekli etiket eksik", "Required permissions": "Gerekli izinler", "Required skill information is missing.": "Gerekli beceri bilgileri eksik.", "Required statuses": "Required statuses", @@ -14126,6 +14149,7 @@ "Start an active Computer Use task first.": "Önce etkin bir Computer Use görevi başlatın.", "Start autoplan": "Otomatik planlamayı başlat", "Start background": "Arka planı başlat", + "Start budget reached": "Başlangıç ​​bütçesine ulaşıldı", "Start by choosing a template or creating one manually.": "Bir şablon seçerek veya manuel olarak bir şablon oluşturarak başlayın.", "Start child branch": "Alt şubeyi başlat", "Start from a default role or blank teammate.": "Varsayılan bir rolden veya boş bir takım arkadaşından başlayın.", @@ -14231,7 +14255,9 @@ "succeeded": "Başarılı", "Succeeded": "Başarılı", "Successfully generated {count} artifact based on the provided prompt.": "Sağlanan istem temel alınarak {count} yapıt başarıyla oluşturuldu.", + "Suggest": "Tavsiye etmek", "Suggest responsible owners based on context, decisions, and recent work.": "Bağlama, kararlara ve son çalışmalara göre sorumlu sahipler önerin.", + "Suggested": "Önerilen", "Suggested next step": "Önerilen sonraki adım", "Suggested routing": "Önerilen yönlendirme", "Summaries": "Özetler", @@ -14940,6 +14966,7 @@ "Untracked": "Takip edilmiyor", "unverified": "doğrulanmamış", "Unverified": "Doğrulanmamış", + "Up to {concurrent} active and {starts} starts per {minutes} min": "{concurrent} adede kadar aktif ve {minutes} dakikada {starts} başlatma", "Up to date": "Güncel", "Update": "Güncelleme", "Update available": "Güncelleme mevcut", @@ -15267,6 +15294,7 @@ "Work intake, tool servers, and plugin bundles": "İş alımı, araç sunucuları ve eklenti paketleri", "Work is claimed": "İş talep edildi", "Work item ID": "İş öğesi ID", + "Work item paused": "İş öğesi duraklatıldı", "Work items": "İş öğeleri", "Work marked failed": "Başarısız olarak işaretlenen çalışma", "Work result": "Çalışma sonucu", diff --git a/packages/localization/catalogs/uk-UA.json b/packages/localization/catalogs/uk-UA.json index 135ac1f2b..d5f1ba762 100644 --- a/packages/localization/catalogs/uk-UA.json +++ b/packages/localization/catalogs/uk-UA.json @@ -1,6 +1,6 @@ { "locale": "uk-UA", - "sourceRevision": "214db76d79f1a5c0fd915c110a2ead6dbb978b58398846e982a0c1ff0cb53108", + "sourceRevision": "6468d2af71d2feb60f9b8c5f37bc2a3ff1177fb2c8b0d65e85002de6b1095cbb", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -568,6 +568,7 @@ "Allows": "8b1d52d202522d89fe65fb00e505abab46dc200a88c0be5d468a2a7e6dce9ccf", "Allows commands starting with {command}": "f5c5d446a6850880ae79768c175bacaf2bc487f715d5768d0b225eb643e3ce07", "Already imported": "e47fafe0a1c6f8d6b5c641c5d9cc7ca61e66a1c50bbc3b619c8ff5912444bfa8", + "Already in work": "ae40a6ff362406d9f1fdc40ad79cea7bd1705e6e173b2267f2a310777aedb387", "Also allow private memory and private chat queries remotely": "0b6b2ba6882b67c8b5b79f0f07964588232be1a9e520011e19bbea224c59a913", "Alternatives": "41055f72edad1559b8ba43440cd7938eb73685930c7141fede9b95000fd41299", "Alternatives considered": "73534cb410e6191096c7fa7ca56ba066f90b4fdede8677d64bc98068804afa3c", @@ -828,6 +829,7 @@ "Auto-start by default": "403861dc8396a3ea666e143d33e0429d3c26721771abf3face351259eee9b28f", "Auto-start step": "2bf61e4807ad3bf6ebc934bf54e917d5b3a87295001826be3a7dd57c7e75cc8d", "Automatic": "d461a493a3753877c9486cffa3444265a33370af8a7fff242fb119b71750839c", + "Automatic intake": "6eed82b223c717114773803e9d9d90d6d3cde9579bf264647347e559817a5081", "Automatic learning is off": "8ba1b4a02530490260a7b8e748e0809ddc3885213a009f3896264bc665060bdd", "Automatic parallel execution": "63d058c173c4a148a14094327c26d9af2c5bde1779c91dbf0d913e90b0687be9", "Automatic proposals enabled": "db670932d259eeedd26de8d7ca836594d5f3861ff24e1f94170c7333676c157a", @@ -1256,6 +1258,7 @@ "Check failed": "c8813c1128d545bfe7e7458ae24d724447097b3518643f86fa3e532f88e9fb40", "Check for changes": "5da755d1690f58c1c822a4b85422734bacc2122c7c67f4e8617f0765ac835113", "Check for updates": "f26f3275e735bdf6268532ca7cbea3887c9adad21d8df74e84b2bc7791475c0d", + "Check GitHub inbox": "51cd97da0bc2b213621668f69168386eaee18bdae064041094187404c9fc71ee", "Check member status": "ff155af014d0b6e94cbf2fca3b01cf8d5725732f178eee985083478adb4a62f5", "Check member status to load readiness.": "6f7f338e22e626b134643fbaec898cf8e8efd19b85eeb6193b4ca0d5d63c4528", "Check needed": "561a32f0c83e5a4fe8d77d891bd4b954d514ea021b4a18e68a3607f5d8747841", @@ -1563,6 +1566,7 @@ "Concise": "8340d833ab72d3321b07af0184597743b010e142b39593cebb450d4227e62f0c", "Concise, focused, direct.": "e9cb028d2d79111476e9c8ea1562b7f6275fd39d43abf410338d7c0ae2fff5a5", "conclusion {conclusion}": "dc328d7e11ecbdc61fa90fc18e3ced70b794ca55dcc476d03c88eff72f16274d", + "Concurrent work limit reached": "f60d0f2d4a9ba0c57c7e7835bd52a1912f39581799f2babb636d190317a96b54", "Confidence": "6422e3e78f5e5f5a15e92cc57ed7114adb289339251031ccb526d9249437dc82", "Configuration": "b332c3492d5eb10a118eb6d8b0dcd689bc2477ce2ae16b303753b942b54377bc", "Configuration digest": "5bbf2d321122a5a57d36c77291d232d51f9ae9a1655e80f042727754aea15bfe", @@ -2939,6 +2943,7 @@ "github": "c0b0109d9439de57fe3cf03abeccbc52f4c98170c732d3b69af5e6395ace574e", "GitHub": "f911e414cf6bdfc595532ab166b5ba0f63d73c021452fcdacbda363dda6ad8fb", "GitHub CI triage": "6a2368ce3943b296b07b5241227baf2a863d3f50f8a46ddb0889cbb5045ccd84", + "GitHub intake": "064829c63fcbc74d45753e04f583c69a391d25d4ed334de3b69fa2720f733cb1", "GitHub MCP": "408b061889ef672152b51ce8dbd56216d1b7e97303429b59538b99fe663c6f04", "GitHub not connected (GITHUB_TOKEN or GH_TOKEN)": "1cb239b6b5ea26422b411a25d3a4e254cdf45b7e730eb91b976a36f12adeb21b", "GitHub unavailable; retry later": "33b2cec76eccd24c4d8d61c265de8b06a6a20820ab1fccdcb433a22903909d02", @@ -4818,6 +4823,7 @@ "Policy details": "00e33950cacf32a39cc25f71ccb1650c4c788c12816e07681d80f0fdc537be98", "Policy narrows authority": "e9e2012e5ac96664fb03ff0f81f4f49cb5b8ee069149139352e7c89b73e43baa", "policy overlays": "db26199cf2a47a948b45caf37b4d50ede3ef415fad6c940cfe56a118970fcefb", + "Policy paused": "11fc11eaf385253466e26bac9916425e1e009695cd40adc4c7a132366d187518", "Policy review": "1cf67fef927c77770a1fcd8b20982b24b15cc0b6f1e8b56265d87baff019dd7e", "Policy snapshot artifact": "7f8b2985d498316ac01fa5f2276d2556cab712b4c8bc2b93e16dfc1353e23a77", "Poll once": "c7e7d724ff87555fb857467569ce709d958ee2d5d1ab2cc890554c7605e86e78", @@ -5013,6 +5019,7 @@ "Provider state": "633d1ca46603e61fc3d39459c1414102a27bbc4ba0adfb0b22ba5a205c2b9815", "Provider templates": "1e8649b7c667a6afc6dc88cbdb3069e349e850466cf3efa57eeedab9b70486f7", "Provider type": "8c0f6d3ebfe7ba3a0c0006068a9aa664d09244ba3cd438f2d56fab117bee1347", + "Provider unavailable": "ff2113958589f9bfb87b54f959be825d00ec5eca374d907bb343f98ebdbc84c3", "Provider version": "1f5ecefbd682ced2f438c8ae3c8849ba9effbe6cd77c19051cee2d2036ef9c90", "Provider warmup": "36ae143804c9a909bce770f54be5652b69b99ee7838cca99daa31e23d4d6d63c", "Provider was automatically rechecked after daemon restart.": "7bd8e8ee592f30e81adca8c96b079d6526846dc142bd99e5bbba3d9bebbde7a9", @@ -5398,6 +5405,8 @@ "Required for assigned teammates": "4732aa544a8d93b886e6bcbbcc5c3314af692f8a8a812efd4844cd3589b7b63a", "Required input": "fafaaf99b5a6af521026448890a9dacaf4d47053804a34be7cdf364e13637181", "Required input: {value}": "757166b8bf43ee39819f00d86fa61a84ddb3f3eba2a883c6bb996b8f82101d22", + "Required label": "5f623a5ad31f874a782d2205c9318ce524371a35d782b9a7021eab521c2fbbcd", + "Required label missing": "6913716764f8018414060c041e41a2951f5444efe5e97cd30a557be26403d1b1", "Required permissions": "edaffed36060c21e958b3fe562b7c57f51f67ba46326b1a9a5317a47b20e1747", "Required skill information is missing.": "e5cb742af5e92afab21f42c3edd4f5940db52a1c5320a9dd7236eca89a702789", "Required statuses": "c77453db9c939c7c7b8da080b0053847604126aefacf5a900d1d0fe30e4ba5ee", @@ -6407,6 +6416,7 @@ "Start an active Computer Use task first.": "1242a212935f863b51a7f3e8d16f12af408152d8047b274c5fef9fb7f1435f50", "Start autoplan": "7419a8efae15550dc21cccc23ca0a16c446e884842bfe48056af34a921175cb0", "Start background": "c690dc635cd0437e8911748d795084e5d32d0b75811490076285d41032d7300c", + "Start budget reached": "6b915cfb021a78ae6f8b4c1f2d9f40bbadcc486c04cbb00a807d52bfe78102ca", "Start by choosing a template or creating one manually.": "6a3ba02535ac7a0ab934b569a915927936dede63b4277ea4500e77c8835d4666", "Start child branch": "ee7b6caa5b4a1d3e8fd3ce47a26b42a4f2472834dfa17b2efc1864d0ed710948", "Start from a default role or blank teammate.": "1464ae64fd1ee987e353f53a2f9bab20053b2f0ae320c07839b7eecf710b8a96", @@ -6512,7 +6522,9 @@ "succeeded": "5dceaeceb6d8a49d3665594710ace68dfbc1800e2d663d7febb302b4dbee3d27", "Succeeded": "6d9a6f97a5fdaf3b90a0cf02e0b43d8b7ec1d05c0e4718e02ddd1c5b450e5b39", "Successfully generated {count} artifact based on the provided prompt.": "71f85e7639c004421f062f2dd6a129e5173931798f5d33b6f0482038b38a88fc", + "Suggest": "4effad823b048b0440dbeff42665f60a6ddec8e121c378966ed7c074a512c51f", "Suggest responsible owners based on context, decisions, and recent work.": "484eb4e21bcdd76a531a4234403ea29f0626094f9a2915b674f17e0b949be0a3", + "Suggested": "93b63bab4c3a28d73a8bb83bcdfdcc5f6ddecfc8fc702296ca159d94c5dc6e53", "Suggested next step": "78d74fd4ffec8d83a942e1274cfd15426b2b4bb2d96b15f905277638c339869e", "Suggested routing": "442b15c099c136738e26e139912a5f5d21e90216aade875a8db595b09c81fcbe", "Summaries": "87bc590e047d3df4a8e448ac83e371fad69dd73607752cccb0ff7d34263cef8f", @@ -7221,6 +7233,7 @@ "Untracked": "c7ba5477e19cf0bb25460d840cc2e67341e81e1c2d274d00b3054c73898d4d27", "unverified": "97b7e2db799e2b79e65f418b42a7d3054c95b2d3ab1dba243039597e44a38084", "Unverified": "33c8e8de41c3a35124251370e2a36e4d589f8789d80630abbbeceb933d3fb58f", + "Up to {concurrent} active and {starts} starts per {minutes} min": "cca43c28ef670fd5d55cb3bd813a2fef137043e4028096bcd2cdf22e2a06586b", "Up to date": "ce29b7f85b9eaf7dac52e625accb4b0cb56a856ebe9a9de9a09b613b6d978dca", "Update": "c1c1009d3f37ec058070a62e22caf9ac9dae2169d452487c5c271a8bcf57a291", "Update available": "ff8b555d818f0b25bbdd1bec8b479660bac7fc276acbe993e759bf67fed32c34", @@ -7548,6 +7561,7 @@ "Work intake, tool servers, and plugin bundles": "16b65a84c6fca2014b7e2d28b151bbf0afe19345230a0ac37304802311fed850", "Work is claimed": "c4b0d953436f2f59355d6540bae28e055ff49243f612887bbaed7bfd98c85d4d", "Work item ID": "1dcdad81d13850bd962965719f362fa7f32693b7b54fd8bb25d1e2402a470626", + "Work item paused": "299aabbf3c1418a3f01117e072d3bfe418e174bd1f355d1afdfae23c7b4bf678", "Work items": "5759a416f2b3b4ff92da23b8059419e06c39d27180b91a557f7cae779df3d2b6", "Work marked failed": "f26306888ed8c9a3808b8a420428f63e32d4c2223e7c9c89dd0a049806c539c6", "Work result": "19efe7487084061e9e358495b8a9bfd7e9d7c0035010e08ac35c14ba4ff8ca2a", @@ -8287,6 +8301,7 @@ "Allows": "Дозволяє", "Allows commands starting with {command}": "Дозволяє команди, що починаються з {command}", "Already imported": "Вже імпортований", + "Already in work": "Вже в роботі", "Also allow private memory and private chat queries remotely": "Також віддалено дозволити приватну пам’ять і приватні запити в чаті", "Alternatives": "Альтернативи", "Alternatives considered": "Розглянуті альтернативи", @@ -8547,6 +8562,7 @@ "Auto-start by default": "Auto-start by default", "Auto-start step": "Auto-start step", "Automatic": "Автоматичний", + "Automatic intake": "Автоматичний забір", "Automatic learning is off": "Автоматичне навчання вимкнено", "Automatic parallel execution": "Automatic parallel execution", "Automatic proposals enabled": "Увімкнено автоматичні пропозиції", @@ -8975,6 +8991,7 @@ "Check failed": "Перевірити не вдалося", "Check for changes": "Перевірте наявність змін", "Check for updates": "Перевірте наявність оновлень", + "Check GitHub inbox": "Перевірте вхідні повідомлення GitHub", "Check member status": "Перевірте статус учасника", "Check member status to load readiness.": "Перевірте статус учасника, щоб завантажити готовність.", "Check needed": "Потрібна перевірка", @@ -9282,6 +9299,7 @@ "Concise": "Лаконічний", "Concise, focused, direct.": "Лаконічно, зосереджено, прямо.", "conclusion {conclusion}": "висновок {conclusion}", + "Concurrent work limit reached": "Досягнуто ліміту одночасної роботи", "Confidence": "впевненість", "Configuration": "Конфігурація", "Configuration digest": "Дайджест конфігурації", @@ -10658,6 +10676,7 @@ "github": "github", "GitHub": "GitHub", "GitHub CI triage": "Сортування GitHub CI", + "GitHub intake": "Споживання GitHub", "GitHub MCP": "GitHub MCP", "GitHub not connected (GITHUB_TOKEN or GH_TOKEN)": "GitHub not connected (GITHUB_TOKEN or GH_TOKEN)", "GitHub unavailable; retry later": "GitHub unavailable; retry later", @@ -12537,6 +12556,7 @@ "Policy details": "Деталі політики", "Policy narrows authority": "Політика звужує повноваження", "policy overlays": "накладання політики", + "Policy paused": "Політику призупинено", "Policy review": "Огляд політики", "Policy snapshot artifact": "Артефакт знімка політики", "Poll once": "Опитування один раз", @@ -12732,6 +12752,7 @@ "Provider state": "Стан провайдера", "Provider templates": "Шаблони провайдерів", "Provider type": "Тип провайдера", + "Provider unavailable": "Постачальник недоступний", "Provider version": "Версія провайдера", "Provider warmup": "Розминка провайдера", "Provider was automatically rechecked after daemon restart.": "Після перезапуску демона постачальника було автоматично повторно перевірено.", @@ -13117,6 +13138,8 @@ "Required for assigned teammates": "Необхідний для призначених товаришів по команді", "Required input": "Обов'язковий вхід", "Required input: {value}": "Необхідне введення: {value}", + "Required label": "Обов'язкова мітка", + "Required label missing": "Відсутня обов’язкова мітка", "Required permissions": "Необхідні дозволи", "Required skill information is missing.": "Відсутня інформація про необхідні навички.", "Required statuses": "Required statuses", @@ -14126,6 +14149,7 @@ "Start an active Computer Use task first.": "Спочатку почніть активне завдання Computer Use.", "Start autoplan": "Запустіть автоплан", "Start background": "Почати фон", + "Start budget reached": "Початковий бюджет досягнуто", "Start by choosing a template or creating one manually.": "Почніть із вибору шаблону або створення його вручну.", "Start child branch": "Запустити дочірню гілку", "Start from a default role or blank teammate.": "Почніть із ролі за замовчуванням або порожнього напарника.", @@ -14231,7 +14255,9 @@ "succeeded": "вдалося", "Succeeded": "Вдався", "Successfully generated {count} artifact based on the provided prompt.": "Успішно створено {count} артефакт на основі наданої підказки.", + "Suggest": "Запропонуйте", "Suggest responsible owners based on context, decisions, and recent work.": "Запропонуйте відповідальних власників на основі контексту, рішень і нещодавньої роботи.", + "Suggested": "Запропоновано", "Suggested next step": "Пропонований наступний крок", "Suggested routing": "Пропонований маршрут", "Summaries": "Резюме", @@ -14940,6 +14966,7 @@ "Untracked": "Не відстежується", "unverified": "неперевірений", "Unverified": "Неперевірений", + "Up to {concurrent} active and {starts} starts per {minutes} min": "До {concurrent} активних і {starts} запусків за {minutes} хв", "Up to date": "Актуальний", "Update": "оновлення", "Update available": "Доступне оновлення", @@ -15267,6 +15294,7 @@ "Work intake, tool servers, and plugin bundles": "Запит на роботу, сервери інструментів і пакети плагінів", "Work is claimed": "Робота витребувана", "Work item ID": "Робочий елемент ID", + "Work item paused": "Робочий елемент призупинено", "Work items": "Робочі предмети", "Work marked failed": "Робота позначена як невдала", "Work result": "Результат роботи", diff --git a/packages/localization/catalogs/vi-VN.json b/packages/localization/catalogs/vi-VN.json index ed8d38c40..b836f8bd8 100644 --- a/packages/localization/catalogs/vi-VN.json +++ b/packages/localization/catalogs/vi-VN.json @@ -1,6 +1,6 @@ { "locale": "vi-VN", - "sourceRevision": "214db76d79f1a5c0fd915c110a2ead6dbb978b58398846e982a0c1ff0cb53108", + "sourceRevision": "6468d2af71d2feb60f9b8c5f37bc2a3ff1177fb2c8b0d65e85002de6b1095cbb", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -568,6 +568,7 @@ "Allows": "8b1d52d202522d89fe65fb00e505abab46dc200a88c0be5d468a2a7e6dce9ccf", "Allows commands starting with {command}": "f5c5d446a6850880ae79768c175bacaf2bc487f715d5768d0b225eb643e3ce07", "Already imported": "e47fafe0a1c6f8d6b5c641c5d9cc7ca61e66a1c50bbc3b619c8ff5912444bfa8", + "Already in work": "ae40a6ff362406d9f1fdc40ad79cea7bd1705e6e173b2267f2a310777aedb387", "Also allow private memory and private chat queries remotely": "0b6b2ba6882b67c8b5b79f0f07964588232be1a9e520011e19bbea224c59a913", "Alternatives": "41055f72edad1559b8ba43440cd7938eb73685930c7141fede9b95000fd41299", "Alternatives considered": "73534cb410e6191096c7fa7ca56ba066f90b4fdede8677d64bc98068804afa3c", @@ -828,6 +829,7 @@ "Auto-start by default": "403861dc8396a3ea666e143d33e0429d3c26721771abf3face351259eee9b28f", "Auto-start step": "2bf61e4807ad3bf6ebc934bf54e917d5b3a87295001826be3a7dd57c7e75cc8d", "Automatic": "d461a493a3753877c9486cffa3444265a33370af8a7fff242fb119b71750839c", + "Automatic intake": "6eed82b223c717114773803e9d9d90d6d3cde9579bf264647347e559817a5081", "Automatic learning is off": "8ba1b4a02530490260a7b8e748e0809ddc3885213a009f3896264bc665060bdd", "Automatic parallel execution": "63d058c173c4a148a14094327c26d9af2c5bde1779c91dbf0d913e90b0687be9", "Automatic proposals enabled": "db670932d259eeedd26de8d7ca836594d5f3861ff24e1f94170c7333676c157a", @@ -1256,6 +1258,7 @@ "Check failed": "c8813c1128d545bfe7e7458ae24d724447097b3518643f86fa3e532f88e9fb40", "Check for changes": "5da755d1690f58c1c822a4b85422734bacc2122c7c67f4e8617f0765ac835113", "Check for updates": "f26f3275e735bdf6268532ca7cbea3887c9adad21d8df74e84b2bc7791475c0d", + "Check GitHub inbox": "51cd97da0bc2b213621668f69168386eaee18bdae064041094187404c9fc71ee", "Check member status": "ff155af014d0b6e94cbf2fca3b01cf8d5725732f178eee985083478adb4a62f5", "Check member status to load readiness.": "6f7f338e22e626b134643fbaec898cf8e8efd19b85eeb6193b4ca0d5d63c4528", "Check needed": "561a32f0c83e5a4fe8d77d891bd4b954d514ea021b4a18e68a3607f5d8747841", @@ -1563,6 +1566,7 @@ "Concise": "8340d833ab72d3321b07af0184597743b010e142b39593cebb450d4227e62f0c", "Concise, focused, direct.": "e9cb028d2d79111476e9c8ea1562b7f6275fd39d43abf410338d7c0ae2fff5a5", "conclusion {conclusion}": "dc328d7e11ecbdc61fa90fc18e3ced70b794ca55dcc476d03c88eff72f16274d", + "Concurrent work limit reached": "f60d0f2d4a9ba0c57c7e7835bd52a1912f39581799f2babb636d190317a96b54", "Confidence": "6422e3e78f5e5f5a15e92cc57ed7114adb289339251031ccb526d9249437dc82", "Configuration": "b332c3492d5eb10a118eb6d8b0dcd689bc2477ce2ae16b303753b942b54377bc", "Configuration digest": "5bbf2d321122a5a57d36c77291d232d51f9ae9a1655e80f042727754aea15bfe", @@ -2939,6 +2943,7 @@ "github": "c0b0109d9439de57fe3cf03abeccbc52f4c98170c732d3b69af5e6395ace574e", "GitHub": "f911e414cf6bdfc595532ab166b5ba0f63d73c021452fcdacbda363dda6ad8fb", "GitHub CI triage": "6a2368ce3943b296b07b5241227baf2a863d3f50f8a46ddb0889cbb5045ccd84", + "GitHub intake": "064829c63fcbc74d45753e04f583c69a391d25d4ed334de3b69fa2720f733cb1", "GitHub MCP": "408b061889ef672152b51ce8dbd56216d1b7e97303429b59538b99fe663c6f04", "GitHub not connected (GITHUB_TOKEN or GH_TOKEN)": "1cb239b6b5ea26422b411a25d3a4e254cdf45b7e730eb91b976a36f12adeb21b", "GitHub unavailable; retry later": "33b2cec76eccd24c4d8d61c265de8b06a6a20820ab1fccdcb433a22903909d02", @@ -4818,6 +4823,7 @@ "Policy details": "00e33950cacf32a39cc25f71ccb1650c4c788c12816e07681d80f0fdc537be98", "Policy narrows authority": "e9e2012e5ac96664fb03ff0f81f4f49cb5b8ee069149139352e7c89b73e43baa", "policy overlays": "db26199cf2a47a948b45caf37b4d50ede3ef415fad6c940cfe56a118970fcefb", + "Policy paused": "11fc11eaf385253466e26bac9916425e1e009695cd40adc4c7a132366d187518", "Policy review": "1cf67fef927c77770a1fcd8b20982b24b15cc0b6f1e8b56265d87baff019dd7e", "Policy snapshot artifact": "7f8b2985d498316ac01fa5f2276d2556cab712b4c8bc2b93e16dfc1353e23a77", "Poll once": "c7e7d724ff87555fb857467569ce709d958ee2d5d1ab2cc890554c7605e86e78", @@ -5013,6 +5019,7 @@ "Provider state": "633d1ca46603e61fc3d39459c1414102a27bbc4ba0adfb0b22ba5a205c2b9815", "Provider templates": "1e8649b7c667a6afc6dc88cbdb3069e349e850466cf3efa57eeedab9b70486f7", "Provider type": "8c0f6d3ebfe7ba3a0c0006068a9aa664d09244ba3cd438f2d56fab117bee1347", + "Provider unavailable": "ff2113958589f9bfb87b54f959be825d00ec5eca374d907bb343f98ebdbc84c3", "Provider version": "1f5ecefbd682ced2f438c8ae3c8849ba9effbe6cd77c19051cee2d2036ef9c90", "Provider warmup": "36ae143804c9a909bce770f54be5652b69b99ee7838cca99daa31e23d4d6d63c", "Provider was automatically rechecked after daemon restart.": "7bd8e8ee592f30e81adca8c96b079d6526846dc142bd99e5bbba3d9bebbde7a9", @@ -5398,6 +5405,8 @@ "Required for assigned teammates": "4732aa544a8d93b886e6bcbbcc5c3314af692f8a8a812efd4844cd3589b7b63a", "Required input": "fafaaf99b5a6af521026448890a9dacaf4d47053804a34be7cdf364e13637181", "Required input: {value}": "757166b8bf43ee39819f00d86fa61a84ddb3f3eba2a883c6bb996b8f82101d22", + "Required label": "5f623a5ad31f874a782d2205c9318ce524371a35d782b9a7021eab521c2fbbcd", + "Required label missing": "6913716764f8018414060c041e41a2951f5444efe5e97cd30a557be26403d1b1", "Required permissions": "edaffed36060c21e958b3fe562b7c57f51f67ba46326b1a9a5317a47b20e1747", "Required skill information is missing.": "e5cb742af5e92afab21f42c3edd4f5940db52a1c5320a9dd7236eca89a702789", "Required statuses": "c77453db9c939c7c7b8da080b0053847604126aefacf5a900d1d0fe30e4ba5ee", @@ -6407,6 +6416,7 @@ "Start an active Computer Use task first.": "1242a212935f863b51a7f3e8d16f12af408152d8047b274c5fef9fb7f1435f50", "Start autoplan": "7419a8efae15550dc21cccc23ca0a16c446e884842bfe48056af34a921175cb0", "Start background": "c690dc635cd0437e8911748d795084e5d32d0b75811490076285d41032d7300c", + "Start budget reached": "6b915cfb021a78ae6f8b4c1f2d9f40bbadcc486c04cbb00a807d52bfe78102ca", "Start by choosing a template or creating one manually.": "6a3ba02535ac7a0ab934b569a915927936dede63b4277ea4500e77c8835d4666", "Start child branch": "ee7b6caa5b4a1d3e8fd3ce47a26b42a4f2472834dfa17b2efc1864d0ed710948", "Start from a default role or blank teammate.": "1464ae64fd1ee987e353f53a2f9bab20053b2f0ae320c07839b7eecf710b8a96", @@ -6512,7 +6522,9 @@ "succeeded": "5dceaeceb6d8a49d3665594710ace68dfbc1800e2d663d7febb302b4dbee3d27", "Succeeded": "6d9a6f97a5fdaf3b90a0cf02e0b43d8b7ec1d05c0e4718e02ddd1c5b450e5b39", "Successfully generated {count} artifact based on the provided prompt.": "71f85e7639c004421f062f2dd6a129e5173931798f5d33b6f0482038b38a88fc", + "Suggest": "4effad823b048b0440dbeff42665f60a6ddec8e121c378966ed7c074a512c51f", "Suggest responsible owners based on context, decisions, and recent work.": "484eb4e21bcdd76a531a4234403ea29f0626094f9a2915b674f17e0b949be0a3", + "Suggested": "93b63bab4c3a28d73a8bb83bcdfdcc5f6ddecfc8fc702296ca159d94c5dc6e53", "Suggested next step": "78d74fd4ffec8d83a942e1274cfd15426b2b4bb2d96b15f905277638c339869e", "Suggested routing": "442b15c099c136738e26e139912a5f5d21e90216aade875a8db595b09c81fcbe", "Summaries": "87bc590e047d3df4a8e448ac83e371fad69dd73607752cccb0ff7d34263cef8f", @@ -7221,6 +7233,7 @@ "Untracked": "c7ba5477e19cf0bb25460d840cc2e67341e81e1c2d274d00b3054c73898d4d27", "unverified": "97b7e2db799e2b79e65f418b42a7d3054c95b2d3ab1dba243039597e44a38084", "Unverified": "33c8e8de41c3a35124251370e2a36e4d589f8789d80630abbbeceb933d3fb58f", + "Up to {concurrent} active and {starts} starts per {minutes} min": "cca43c28ef670fd5d55cb3bd813a2fef137043e4028096bcd2cdf22e2a06586b", "Up to date": "ce29b7f85b9eaf7dac52e625accb4b0cb56a856ebe9a9de9a09b613b6d978dca", "Update": "c1c1009d3f37ec058070a62e22caf9ac9dae2169d452487c5c271a8bcf57a291", "Update available": "ff8b555d818f0b25bbdd1bec8b479660bac7fc276acbe993e759bf67fed32c34", @@ -7548,6 +7561,7 @@ "Work intake, tool servers, and plugin bundles": "16b65a84c6fca2014b7e2d28b151bbf0afe19345230a0ac37304802311fed850", "Work is claimed": "c4b0d953436f2f59355d6540bae28e055ff49243f612887bbaed7bfd98c85d4d", "Work item ID": "1dcdad81d13850bd962965719f362fa7f32693b7b54fd8bb25d1e2402a470626", + "Work item paused": "299aabbf3c1418a3f01117e072d3bfe418e174bd1f355d1afdfae23c7b4bf678", "Work items": "5759a416f2b3b4ff92da23b8059419e06c39d27180b91a557f7cae779df3d2b6", "Work marked failed": "f26306888ed8c9a3808b8a420428f63e32d4c2223e7c9c89dd0a049806c539c6", "Work result": "19efe7487084061e9e358495b8a9bfd7e9d7c0035010e08ac35c14ba4ff8ca2a", @@ -8287,6 +8301,7 @@ "Allows": "Cho phép", "Allows commands starting with {command}": "Cho phép các lệnh bắt đầu bằng {command}", "Already imported": "Đã nhập", + "Already in work": "Đã đi làm", "Also allow private memory and private chat queries remotely": "Đồng thời cho phép truy vấn bộ nhớ riêng tư và trò chuyện riêng tư từ xa", "Alternatives": "Lựa chọn thay thế", "Alternatives considered": "Các lựa chọn thay thế được xem xét", @@ -8547,6 +8562,7 @@ "Auto-start by default": "Auto-start by default", "Auto-start step": "Auto-start step", "Automatic": "Tự động", + "Automatic intake": "Tự động nạp", "Automatic learning is off": "Tự động học đang tắt", "Automatic parallel execution": "Automatic parallel execution", "Automatic proposals enabled": "Đã bật đề xuất tự động", @@ -8975,6 +8991,7 @@ "Check failed": "Kiểm tra không thành công", "Check for changes": "Kiểm tra các thay đổi", "Check for updates": "Kiểm tra các bản cập nhật", + "Check GitHub inbox": "Kiểm tra hộp thư đến GitHub", "Check member status": "Kiểm tra trạng thái thành viên", "Check member status to load readiness.": "Kiểm tra trạng thái thành viên để sẵn sàng tải.", "Check needed": "Cần kiểm tra", @@ -9282,6 +9299,7 @@ "Concise": "ngắn gọn", "Concise, focused, direct.": "Ngắn gọn, tập trung, trực tiếp.", "conclusion {conclusion}": "kết luận {conclusion}", + "Concurrent work limit reached": "Đã đạt đến giới hạn công việc đồng thời", "Confidence": "Sự tự tin", "Configuration": "Cấu hình", "Configuration digest": "Thông báo cấu hình", @@ -10658,6 +10676,7 @@ "github": "github", "GitHub": "GitHub", "GitHub CI triage": "Phân loại GitHub CI", + "GitHub intake": "Lượng GitHub", "GitHub MCP": "GitHub MCP", "GitHub not connected (GITHUB_TOKEN or GH_TOKEN)": "GitHub not connected (GITHUB_TOKEN or GH_TOKEN)", "GitHub unavailable; retry later": "GitHub unavailable; retry later", @@ -12537,6 +12556,7 @@ "Policy details": "Chi tiết chính sách", "Policy narrows authority": "Chính sách thu hẹp thẩm quyền", "policy overlays": "lớp phủ chính sách", + "Policy paused": "Chính sách đã tạm dừng", "Policy review": "Đánh giá chính sách", "Policy snapshot artifact": "Cấu phần ảnh chụp nhanh chính sách", "Poll once": "Thăm dò ý kiến ​​một lần", @@ -12732,6 +12752,7 @@ "Provider state": "Trạng thái nhà cung cấp", "Provider templates": "Mẫu nhà cung cấp", "Provider type": "Loại nhà cung cấp", + "Provider unavailable": "Nhà cung cấp không có sẵn", "Provider version": "Phiên bản nhà cung cấp", "Provider warmup": "Khởi động nhà cung cấp", "Provider was automatically rechecked after daemon restart.": "Nhà cung cấp đã được tự động kiểm tra lại sau khi khởi động lại daemon.", @@ -13117,6 +13138,8 @@ "Required for assigned teammates": "Cần thiết cho đồng đội được chỉ định", "Required input": "Đầu vào bắt buộc", "Required input: {value}": "Đầu vào bắt buộc: {value}", + "Required label": "Nhãn bắt buộc", + "Required label missing": "Thiếu nhãn bắt buộc", "Required permissions": "Quyền cần thiết", "Required skill information is missing.": "Thiếu thông tin kỹ năng cần thiết.", "Required statuses": "Required statuses", @@ -14126,6 +14149,7 @@ "Start an active Computer Use task first.": "Trước tiên hãy bắt đầu một tác vụ Computer Use đang hoạt động.", "Start autoplan": "Bắt đầu kế hoạch tự động", "Start background": "Bắt đầu nền", + "Start budget reached": "Đã đạt đến ngân sách bắt đầu", "Start by choosing a template or creating one manually.": "Bắt đầu bằng cách chọn mẫu hoặc tạo mẫu theo cách thủ công.", "Start child branch": "Bắt đầu nhánh con", "Start from a default role or blank teammate.": "Bắt đầu từ vai trò mặc định hoặc đồng đội trống.", @@ -14231,7 +14255,9 @@ "succeeded": "đã thành công", "Succeeded": "thành công", "Successfully generated {count} artifact based on the provided prompt.": "Đã tạo thành công cấu phần phần mềm {count} dựa trên lời nhắc được cung cấp.", + "Suggest": "Gợi ý", "Suggest responsible owners based on context, decisions, and recent work.": "Đề xuất chủ sở hữu có trách nhiệm dựa trên bối cảnh, quyết định và công việc gần đây.", + "Suggested": "được đề xuất", "Suggested next step": "Bước tiếp theo được đề xuất", "Suggested routing": "Định tuyến được đề xuất", "Summaries": "Tóm tắt", @@ -14940,6 +14966,7 @@ "Untracked": "Không bị theo dõi", "unverified": "chưa được xác minh", "Unverified": "Chưa được xác minh", + "Up to {concurrent} active and {starts} starts per {minutes} min": "Tối đa {concurrent} hoạt động và {starts} khởi động mỗi {minutes} phút", "Up to date": "Cập nhật", "Update": "Cập nhật", "Update available": "Đã có bản cập nhật", @@ -15267,6 +15294,7 @@ "Work intake, tool servers, and plugin bundles": "Lượng công việc, máy chủ công cụ và gói plugin", "Work is claimed": "Công việc được yêu cầu", "Work item ID": "Hạng mục công việc ID", + "Work item paused": "Mục công việc bị tạm dừng", "Work items": "Hạng mục công việc", "Work marked failed": "Công việc được đánh dấu là thất bại", "Work result": "Kết quả công việc", diff --git a/packages/localization/catalogs/zh-CN.json b/packages/localization/catalogs/zh-CN.json index b66cd1405..df3860584 100644 --- a/packages/localization/catalogs/zh-CN.json +++ b/packages/localization/catalogs/zh-CN.json @@ -1,6 +1,6 @@ { "locale": "zh-CN", - "sourceRevision": "214db76d79f1a5c0fd915c110a2ead6dbb978b58398846e982a0c1ff0cb53108", + "sourceRevision": "6468d2af71d2feb60f9b8c5f37bc2a3ff1177fb2c8b0d65e85002de6b1095cbb", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -568,6 +568,7 @@ "Allows": "8b1d52d202522d89fe65fb00e505abab46dc200a88c0be5d468a2a7e6dce9ccf", "Allows commands starting with {command}": "f5c5d446a6850880ae79768c175bacaf2bc487f715d5768d0b225eb643e3ce07", "Already imported": "e47fafe0a1c6f8d6b5c641c5d9cc7ca61e66a1c50bbc3b619c8ff5912444bfa8", + "Already in work": "ae40a6ff362406d9f1fdc40ad79cea7bd1705e6e173b2267f2a310777aedb387", "Also allow private memory and private chat queries remotely": "0b6b2ba6882b67c8b5b79f0f07964588232be1a9e520011e19bbea224c59a913", "Alternatives": "41055f72edad1559b8ba43440cd7938eb73685930c7141fede9b95000fd41299", "Alternatives considered": "73534cb410e6191096c7fa7ca56ba066f90b4fdede8677d64bc98068804afa3c", @@ -828,6 +829,7 @@ "Auto-start by default": "403861dc8396a3ea666e143d33e0429d3c26721771abf3face351259eee9b28f", "Auto-start step": "2bf61e4807ad3bf6ebc934bf54e917d5b3a87295001826be3a7dd57c7e75cc8d", "Automatic": "d461a493a3753877c9486cffa3444265a33370af8a7fff242fb119b71750839c", + "Automatic intake": "6eed82b223c717114773803e9d9d90d6d3cde9579bf264647347e559817a5081", "Automatic learning is off": "8ba1b4a02530490260a7b8e748e0809ddc3885213a009f3896264bc665060bdd", "Automatic parallel execution": "63d058c173c4a148a14094327c26d9af2c5bde1779c91dbf0d913e90b0687be9", "Automatic proposals enabled": "db670932d259eeedd26de8d7ca836594d5f3861ff24e1f94170c7333676c157a", @@ -1256,6 +1258,7 @@ "Check failed": "c8813c1128d545bfe7e7458ae24d724447097b3518643f86fa3e532f88e9fb40", "Check for changes": "5da755d1690f58c1c822a4b85422734bacc2122c7c67f4e8617f0765ac835113", "Check for updates": "f26f3275e735bdf6268532ca7cbea3887c9adad21d8df74e84b2bc7791475c0d", + "Check GitHub inbox": "51cd97da0bc2b213621668f69168386eaee18bdae064041094187404c9fc71ee", "Check member status": "ff155af014d0b6e94cbf2fca3b01cf8d5725732f178eee985083478adb4a62f5", "Check member status to load readiness.": "6f7f338e22e626b134643fbaec898cf8e8efd19b85eeb6193b4ca0d5d63c4528", "Check needed": "561a32f0c83e5a4fe8d77d891bd4b954d514ea021b4a18e68a3607f5d8747841", @@ -1563,6 +1566,7 @@ "Concise": "8340d833ab72d3321b07af0184597743b010e142b39593cebb450d4227e62f0c", "Concise, focused, direct.": "e9cb028d2d79111476e9c8ea1562b7f6275fd39d43abf410338d7c0ae2fff5a5", "conclusion {conclusion}": "dc328d7e11ecbdc61fa90fc18e3ced70b794ca55dcc476d03c88eff72f16274d", + "Concurrent work limit reached": "f60d0f2d4a9ba0c57c7e7835bd52a1912f39581799f2babb636d190317a96b54", "Confidence": "6422e3e78f5e5f5a15e92cc57ed7114adb289339251031ccb526d9249437dc82", "Configuration": "b332c3492d5eb10a118eb6d8b0dcd689bc2477ce2ae16b303753b942b54377bc", "Configuration digest": "5bbf2d321122a5a57d36c77291d232d51f9ae9a1655e80f042727754aea15bfe", @@ -2939,6 +2943,7 @@ "github": "c0b0109d9439de57fe3cf03abeccbc52f4c98170c732d3b69af5e6395ace574e", "GitHub": "f911e414cf6bdfc595532ab166b5ba0f63d73c021452fcdacbda363dda6ad8fb", "GitHub CI triage": "6a2368ce3943b296b07b5241227baf2a863d3f50f8a46ddb0889cbb5045ccd84", + "GitHub intake": "064829c63fcbc74d45753e04f583c69a391d25d4ed334de3b69fa2720f733cb1", "GitHub MCP": "408b061889ef672152b51ce8dbd56216d1b7e97303429b59538b99fe663c6f04", "GitHub not connected (GITHUB_TOKEN or GH_TOKEN)": "1cb239b6b5ea26422b411a25d3a4e254cdf45b7e730eb91b976a36f12adeb21b", "GitHub unavailable; retry later": "33b2cec76eccd24c4d8d61c265de8b06a6a20820ab1fccdcb433a22903909d02", @@ -4818,6 +4823,7 @@ "Policy details": "00e33950cacf32a39cc25f71ccb1650c4c788c12816e07681d80f0fdc537be98", "Policy narrows authority": "e9e2012e5ac96664fb03ff0f81f4f49cb5b8ee069149139352e7c89b73e43baa", "policy overlays": "db26199cf2a47a948b45caf37b4d50ede3ef415fad6c940cfe56a118970fcefb", + "Policy paused": "11fc11eaf385253466e26bac9916425e1e009695cd40adc4c7a132366d187518", "Policy review": "1cf67fef927c77770a1fcd8b20982b24b15cc0b6f1e8b56265d87baff019dd7e", "Policy snapshot artifact": "7f8b2985d498316ac01fa5f2276d2556cab712b4c8bc2b93e16dfc1353e23a77", "Poll once": "c7e7d724ff87555fb857467569ce709d958ee2d5d1ab2cc890554c7605e86e78", @@ -5013,6 +5019,7 @@ "Provider state": "633d1ca46603e61fc3d39459c1414102a27bbc4ba0adfb0b22ba5a205c2b9815", "Provider templates": "1e8649b7c667a6afc6dc88cbdb3069e349e850466cf3efa57eeedab9b70486f7", "Provider type": "8c0f6d3ebfe7ba3a0c0006068a9aa664d09244ba3cd438f2d56fab117bee1347", + "Provider unavailable": "ff2113958589f9bfb87b54f959be825d00ec5eca374d907bb343f98ebdbc84c3", "Provider version": "1f5ecefbd682ced2f438c8ae3c8849ba9effbe6cd77c19051cee2d2036ef9c90", "Provider warmup": "36ae143804c9a909bce770f54be5652b69b99ee7838cca99daa31e23d4d6d63c", "Provider was automatically rechecked after daemon restart.": "7bd8e8ee592f30e81adca8c96b079d6526846dc142bd99e5bbba3d9bebbde7a9", @@ -5398,6 +5405,8 @@ "Required for assigned teammates": "4732aa544a8d93b886e6bcbbcc5c3314af692f8a8a812efd4844cd3589b7b63a", "Required input": "fafaaf99b5a6af521026448890a9dacaf4d47053804a34be7cdf364e13637181", "Required input: {value}": "757166b8bf43ee39819f00d86fa61a84ddb3f3eba2a883c6bb996b8f82101d22", + "Required label": "5f623a5ad31f874a782d2205c9318ce524371a35d782b9a7021eab521c2fbbcd", + "Required label missing": "6913716764f8018414060c041e41a2951f5444efe5e97cd30a557be26403d1b1", "Required permissions": "edaffed36060c21e958b3fe562b7c57f51f67ba46326b1a9a5317a47b20e1747", "Required skill information is missing.": "e5cb742af5e92afab21f42c3edd4f5940db52a1c5320a9dd7236eca89a702789", "Required statuses": "c77453db9c939c7c7b8da080b0053847604126aefacf5a900d1d0fe30e4ba5ee", @@ -6407,6 +6416,7 @@ "Start an active Computer Use task first.": "1242a212935f863b51a7f3e8d16f12af408152d8047b274c5fef9fb7f1435f50", "Start autoplan": "7419a8efae15550dc21cccc23ca0a16c446e884842bfe48056af34a921175cb0", "Start background": "c690dc635cd0437e8911748d795084e5d32d0b75811490076285d41032d7300c", + "Start budget reached": "6b915cfb021a78ae6f8b4c1f2d9f40bbadcc486c04cbb00a807d52bfe78102ca", "Start by choosing a template or creating one manually.": "6a3ba02535ac7a0ab934b569a915927936dede63b4277ea4500e77c8835d4666", "Start child branch": "ee7b6caa5b4a1d3e8fd3ce47a26b42a4f2472834dfa17b2efc1864d0ed710948", "Start from a default role or blank teammate.": "1464ae64fd1ee987e353f53a2f9bab20053b2f0ae320c07839b7eecf710b8a96", @@ -6512,7 +6522,9 @@ "succeeded": "5dceaeceb6d8a49d3665594710ace68dfbc1800e2d663d7febb302b4dbee3d27", "Succeeded": "6d9a6f97a5fdaf3b90a0cf02e0b43d8b7ec1d05c0e4718e02ddd1c5b450e5b39", "Successfully generated {count} artifact based on the provided prompt.": "71f85e7639c004421f062f2dd6a129e5173931798f5d33b6f0482038b38a88fc", + "Suggest": "4effad823b048b0440dbeff42665f60a6ddec8e121c378966ed7c074a512c51f", "Suggest responsible owners based on context, decisions, and recent work.": "484eb4e21bcdd76a531a4234403ea29f0626094f9a2915b674f17e0b949be0a3", + "Suggested": "93b63bab4c3a28d73a8bb83bcdfdcc5f6ddecfc8fc702296ca159d94c5dc6e53", "Suggested next step": "78d74fd4ffec8d83a942e1274cfd15426b2b4bb2d96b15f905277638c339869e", "Suggested routing": "442b15c099c136738e26e139912a5f5d21e90216aade875a8db595b09c81fcbe", "Summaries": "87bc590e047d3df4a8e448ac83e371fad69dd73607752cccb0ff7d34263cef8f", @@ -7221,6 +7233,7 @@ "Untracked": "c7ba5477e19cf0bb25460d840cc2e67341e81e1c2d274d00b3054c73898d4d27", "unverified": "97b7e2db799e2b79e65f418b42a7d3054c95b2d3ab1dba243039597e44a38084", "Unverified": "33c8e8de41c3a35124251370e2a36e4d589f8789d80630abbbeceb933d3fb58f", + "Up to {concurrent} active and {starts} starts per {minutes} min": "cca43c28ef670fd5d55cb3bd813a2fef137043e4028096bcd2cdf22e2a06586b", "Up to date": "ce29b7f85b9eaf7dac52e625accb4b0cb56a856ebe9a9de9a09b613b6d978dca", "Update": "c1c1009d3f37ec058070a62e22caf9ac9dae2169d452487c5c271a8bcf57a291", "Update available": "ff8b555d818f0b25bbdd1bec8b479660bac7fc276acbe993e759bf67fed32c34", @@ -7548,6 +7561,7 @@ "Work intake, tool servers, and plugin bundles": "16b65a84c6fca2014b7e2d28b151bbf0afe19345230a0ac37304802311fed850", "Work is claimed": "c4b0d953436f2f59355d6540bae28e055ff49243f612887bbaed7bfd98c85d4d", "Work item ID": "1dcdad81d13850bd962965719f362fa7f32693b7b54fd8bb25d1e2402a470626", + "Work item paused": "299aabbf3c1418a3f01117e072d3bfe418e174bd1f355d1afdfae23c7b4bf678", "Work items": "5759a416f2b3b4ff92da23b8059419e06c39d27180b91a557f7cae779df3d2b6", "Work marked failed": "f26306888ed8c9a3808b8a420428f63e32d4c2223e7c9c89dd0a049806c539c6", "Work result": "19efe7487084061e9e358495b8a9bfd7e9d7c0035010e08ac35c14ba4ff8ca2a", @@ -8287,6 +8301,7 @@ "Allows": "允许", "Allows commands starting with {command}": "允许以 {command} 开头的命令", "Already imported": "已导入过", + "Already in work": "已接入工作", "Also allow private memory and private chat queries remotely": "也允许发送私有记忆和私聊查询", "Alternatives": "备选方案", "Alternatives considered": "候选项", @@ -8547,6 +8562,7 @@ "Auto-start by default": "默认自动启动", "Auto-start step": "自动启动步骤", "Automatic": "自动选择", + "Automatic intake": "自动接单", "Automatic learning is off": "自动学习已关闭", "Automatic parallel execution": "自动并行执行", "Automatic proposals enabled": "已开启自动生成建议", @@ -8975,6 +8991,7 @@ "Check failed": "检查失败", "Check for changes": "检查变更", "Check for updates": "检查更新", + "Check GitHub inbox": "检查 GitHub 工作项", "Check member status": "检查成员状态", "Check member status to load readiness.": "检查成员状态以加载可用性。", "Check needed": "需要检查", @@ -9282,6 +9299,7 @@ "Concise": "简洁", "Concise, focused, direct.": "简洁、专注、直接。", "conclusion {conclusion}": "结论 {conclusion}", + "Concurrent work limit reached": "已达并发上限", "Confidence": "置信度", "Configuration": "配置", "Configuration digest": "配置摘要值", @@ -10658,6 +10676,7 @@ "github": "github", "GitHub": "GitHub", "GitHub CI triage": "GitHub CI 排障", + "GitHub intake": "GitHub 接单", "GitHub MCP": "GitHub MCP", "GitHub not connected (GITHUB_TOKEN or GH_TOKEN)": "GitHub 未连接(需配置 GITHUB_TOKEN 或 GH_TOKEN)", "GitHub unavailable; retry later": "GitHub 暂时不可用,请稍后重试", @@ -12537,6 +12556,7 @@ "Policy details": "策略详情", "Policy narrows authority": "策略只收窄权限", "policy overlays": "策略覆盖", + "Policy paused": "接单策略已暂停", "Policy review": "策略复核", "Policy snapshot artifact": "策略快照证据 ID", "Poll once": "轮询一次", @@ -12732,6 +12752,7 @@ "Provider state": "驱动状态", "Provider templates": "模型供应商模板", "Provider type": "服务类型", + "Provider unavailable": "模型提供方不可用", "Provider version": "驱动版本", "Provider warmup": "模型服务预热", "Provider was automatically rechecked after daemon restart.": "服务启动后已自动复检。", @@ -13117,6 +13138,8 @@ "Required for assigned teammates": "对已授权队友设为必需", "Required input": "所需输入", "Required input: {value}": "必需输入:{value}", + "Required label": "必需标签", + "Required label missing": "缺少必需标签", "Required permissions": "所需权限", "Required skill information is missing.": "缺少必要的技能信息。", "Required statuses": "触发审批的状态", @@ -14126,6 +14149,7 @@ "Start an active Computer Use task first.": "请先启动一个正在运行的电脑控制任务。", "Start autoplan": "启动自动规划", "Start background": "启动后台轮询", + "Start budget reached": "已达启动额度", "Start by choosing a template or creating one manually.": "可以先使用模板,也可以手动创建。", "Start child branch": "启动子分支", "Start from a default role or blank teammate.": "从默认角色或空白队友开始。", @@ -14231,7 +14255,9 @@ "succeeded": "成功", "Succeeded": "成功", "Successfully generated {count} artifact based on the provided prompt.": "已根据提示词成功生成 {count} 个产物。", + "Suggest": "建议接单", "Suggest responsible owners based on context, decisions, and recent work.": "基于上下文、决策和近期工作建议负责人。", + "Suggested": "已建议", "Suggested next step": "建议下一步", "Suggested routing": "建议路由", "Summaries": "摘要", @@ -14940,6 +14966,7 @@ "Untracked": "未跟踪", "unverified": "未验证", "Unverified": "未验证", + "Up to {concurrent} active and {starts} starts per {minutes} min": "最多同时执行 {concurrent} 项,每 {minutes} 分钟最多启动 {starts} 项", "Up to date": "已是最新", "Update": "更新", "Update available": "有可用更新", @@ -15267,6 +15294,7 @@ "Work intake, tool servers, and plugin bundles": "工作入口、工具服务和插件能力包", "Work is claimed": "已有处理人", "Work item ID": "工作项 ID", + "Work item paused": "工作项已暂停", "Work items": "工作项", "Work marked failed": "工作已标记失败", "Work result": "工作结果", diff --git a/packages/localization/catalogs/zh-HK.json b/packages/localization/catalogs/zh-HK.json index 79f74376a..7445bf615 100644 --- a/packages/localization/catalogs/zh-HK.json +++ b/packages/localization/catalogs/zh-HK.json @@ -1,6 +1,6 @@ { "locale": "zh-HK", - "sourceRevision": "214db76d79f1a5c0fd915c110a2ead6dbb978b58398846e982a0c1ff0cb53108", + "sourceRevision": "6468d2af71d2feb60f9b8c5f37bc2a3ff1177fb2c8b0d65e85002de6b1095cbb", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -568,6 +568,7 @@ "Allows": "8b1d52d202522d89fe65fb00e505abab46dc200a88c0be5d468a2a7e6dce9ccf", "Allows commands starting with {command}": "f5c5d446a6850880ae79768c175bacaf2bc487f715d5768d0b225eb643e3ce07", "Already imported": "e47fafe0a1c6f8d6b5c641c5d9cc7ca61e66a1c50bbc3b619c8ff5912444bfa8", + "Already in work": "ae40a6ff362406d9f1fdc40ad79cea7bd1705e6e173b2267f2a310777aedb387", "Also allow private memory and private chat queries remotely": "0b6b2ba6882b67c8b5b79f0f07964588232be1a9e520011e19bbea224c59a913", "Alternatives": "41055f72edad1559b8ba43440cd7938eb73685930c7141fede9b95000fd41299", "Alternatives considered": "73534cb410e6191096c7fa7ca56ba066f90b4fdede8677d64bc98068804afa3c", @@ -828,6 +829,7 @@ "Auto-start by default": "403861dc8396a3ea666e143d33e0429d3c26721771abf3face351259eee9b28f", "Auto-start step": "2bf61e4807ad3bf6ebc934bf54e917d5b3a87295001826be3a7dd57c7e75cc8d", "Automatic": "d461a493a3753877c9486cffa3444265a33370af8a7fff242fb119b71750839c", + "Automatic intake": "6eed82b223c717114773803e9d9d90d6d3cde9579bf264647347e559817a5081", "Automatic learning is off": "8ba1b4a02530490260a7b8e748e0809ddc3885213a009f3896264bc665060bdd", "Automatic parallel execution": "63d058c173c4a148a14094327c26d9af2c5bde1779c91dbf0d913e90b0687be9", "Automatic proposals enabled": "db670932d259eeedd26de8d7ca836594d5f3861ff24e1f94170c7333676c157a", @@ -1256,6 +1258,7 @@ "Check failed": "c8813c1128d545bfe7e7458ae24d724447097b3518643f86fa3e532f88e9fb40", "Check for changes": "5da755d1690f58c1c822a4b85422734bacc2122c7c67f4e8617f0765ac835113", "Check for updates": "f26f3275e735bdf6268532ca7cbea3887c9adad21d8df74e84b2bc7791475c0d", + "Check GitHub inbox": "51cd97da0bc2b213621668f69168386eaee18bdae064041094187404c9fc71ee", "Check member status": "ff155af014d0b6e94cbf2fca3b01cf8d5725732f178eee985083478adb4a62f5", "Check member status to load readiness.": "6f7f338e22e626b134643fbaec898cf8e8efd19b85eeb6193b4ca0d5d63c4528", "Check needed": "561a32f0c83e5a4fe8d77d891bd4b954d514ea021b4a18e68a3607f5d8747841", @@ -1563,6 +1566,7 @@ "Concise": "8340d833ab72d3321b07af0184597743b010e142b39593cebb450d4227e62f0c", "Concise, focused, direct.": "e9cb028d2d79111476e9c8ea1562b7f6275fd39d43abf410338d7c0ae2fff5a5", "conclusion {conclusion}": "dc328d7e11ecbdc61fa90fc18e3ced70b794ca55dcc476d03c88eff72f16274d", + "Concurrent work limit reached": "f60d0f2d4a9ba0c57c7e7835bd52a1912f39581799f2babb636d190317a96b54", "Confidence": "6422e3e78f5e5f5a15e92cc57ed7114adb289339251031ccb526d9249437dc82", "Configuration": "b332c3492d5eb10a118eb6d8b0dcd689bc2477ce2ae16b303753b942b54377bc", "Configuration digest": "5bbf2d321122a5a57d36c77291d232d51f9ae9a1655e80f042727754aea15bfe", @@ -2939,6 +2943,7 @@ "github": "c0b0109d9439de57fe3cf03abeccbc52f4c98170c732d3b69af5e6395ace574e", "GitHub": "f911e414cf6bdfc595532ab166b5ba0f63d73c021452fcdacbda363dda6ad8fb", "GitHub CI triage": "6a2368ce3943b296b07b5241227baf2a863d3f50f8a46ddb0889cbb5045ccd84", + "GitHub intake": "064829c63fcbc74d45753e04f583c69a391d25d4ed334de3b69fa2720f733cb1", "GitHub MCP": "408b061889ef672152b51ce8dbd56216d1b7e97303429b59538b99fe663c6f04", "GitHub not connected (GITHUB_TOKEN or GH_TOKEN)": "1cb239b6b5ea26422b411a25d3a4e254cdf45b7e730eb91b976a36f12adeb21b", "GitHub unavailable; retry later": "33b2cec76eccd24c4d8d61c265de8b06a6a20820ab1fccdcb433a22903909d02", @@ -4818,6 +4823,7 @@ "Policy details": "00e33950cacf32a39cc25f71ccb1650c4c788c12816e07681d80f0fdc537be98", "Policy narrows authority": "e9e2012e5ac96664fb03ff0f81f4f49cb5b8ee069149139352e7c89b73e43baa", "policy overlays": "db26199cf2a47a948b45caf37b4d50ede3ef415fad6c940cfe56a118970fcefb", + "Policy paused": "11fc11eaf385253466e26bac9916425e1e009695cd40adc4c7a132366d187518", "Policy review": "1cf67fef927c77770a1fcd8b20982b24b15cc0b6f1e8b56265d87baff019dd7e", "Policy snapshot artifact": "7f8b2985d498316ac01fa5f2276d2556cab712b4c8bc2b93e16dfc1353e23a77", "Poll once": "c7e7d724ff87555fb857467569ce709d958ee2d5d1ab2cc890554c7605e86e78", @@ -5013,6 +5019,7 @@ "Provider state": "633d1ca46603e61fc3d39459c1414102a27bbc4ba0adfb0b22ba5a205c2b9815", "Provider templates": "1e8649b7c667a6afc6dc88cbdb3069e349e850466cf3efa57eeedab9b70486f7", "Provider type": "8c0f6d3ebfe7ba3a0c0006068a9aa664d09244ba3cd438f2d56fab117bee1347", + "Provider unavailable": "ff2113958589f9bfb87b54f959be825d00ec5eca374d907bb343f98ebdbc84c3", "Provider version": "1f5ecefbd682ced2f438c8ae3c8849ba9effbe6cd77c19051cee2d2036ef9c90", "Provider warmup": "36ae143804c9a909bce770f54be5652b69b99ee7838cca99daa31e23d4d6d63c", "Provider was automatically rechecked after daemon restart.": "7bd8e8ee592f30e81adca8c96b079d6526846dc142bd99e5bbba3d9bebbde7a9", @@ -5398,6 +5405,8 @@ "Required for assigned teammates": "4732aa544a8d93b886e6bcbbcc5c3314af692f8a8a812efd4844cd3589b7b63a", "Required input": "fafaaf99b5a6af521026448890a9dacaf4d47053804a34be7cdf364e13637181", "Required input: {value}": "757166b8bf43ee39819f00d86fa61a84ddb3f3eba2a883c6bb996b8f82101d22", + "Required label": "5f623a5ad31f874a782d2205c9318ce524371a35d782b9a7021eab521c2fbbcd", + "Required label missing": "6913716764f8018414060c041e41a2951f5444efe5e97cd30a557be26403d1b1", "Required permissions": "edaffed36060c21e958b3fe562b7c57f51f67ba46326b1a9a5317a47b20e1747", "Required skill information is missing.": "e5cb742af5e92afab21f42c3edd4f5940db52a1c5320a9dd7236eca89a702789", "Required statuses": "c77453db9c939c7c7b8da080b0053847604126aefacf5a900d1d0fe30e4ba5ee", @@ -6407,6 +6416,7 @@ "Start an active Computer Use task first.": "1242a212935f863b51a7f3e8d16f12af408152d8047b274c5fef9fb7f1435f50", "Start autoplan": "7419a8efae15550dc21cccc23ca0a16c446e884842bfe48056af34a921175cb0", "Start background": "c690dc635cd0437e8911748d795084e5d32d0b75811490076285d41032d7300c", + "Start budget reached": "6b915cfb021a78ae6f8b4c1f2d9f40bbadcc486c04cbb00a807d52bfe78102ca", "Start by choosing a template or creating one manually.": "6a3ba02535ac7a0ab934b569a915927936dede63b4277ea4500e77c8835d4666", "Start child branch": "ee7b6caa5b4a1d3e8fd3ce47a26b42a4f2472834dfa17b2efc1864d0ed710948", "Start from a default role or blank teammate.": "1464ae64fd1ee987e353f53a2f9bab20053b2f0ae320c07839b7eecf710b8a96", @@ -6512,7 +6522,9 @@ "succeeded": "5dceaeceb6d8a49d3665594710ace68dfbc1800e2d663d7febb302b4dbee3d27", "Succeeded": "6d9a6f97a5fdaf3b90a0cf02e0b43d8b7ec1d05c0e4718e02ddd1c5b450e5b39", "Successfully generated {count} artifact based on the provided prompt.": "71f85e7639c004421f062f2dd6a129e5173931798f5d33b6f0482038b38a88fc", + "Suggest": "4effad823b048b0440dbeff42665f60a6ddec8e121c378966ed7c074a512c51f", "Suggest responsible owners based on context, decisions, and recent work.": "484eb4e21bcdd76a531a4234403ea29f0626094f9a2915b674f17e0b949be0a3", + "Suggested": "93b63bab4c3a28d73a8bb83bcdfdcc5f6ddecfc8fc702296ca159d94c5dc6e53", "Suggested next step": "78d74fd4ffec8d83a942e1274cfd15426b2b4bb2d96b15f905277638c339869e", "Suggested routing": "442b15c099c136738e26e139912a5f5d21e90216aade875a8db595b09c81fcbe", "Summaries": "87bc590e047d3df4a8e448ac83e371fad69dd73607752cccb0ff7d34263cef8f", @@ -7221,6 +7233,7 @@ "Untracked": "c7ba5477e19cf0bb25460d840cc2e67341e81e1c2d274d00b3054c73898d4d27", "unverified": "97b7e2db799e2b79e65f418b42a7d3054c95b2d3ab1dba243039597e44a38084", "Unverified": "33c8e8de41c3a35124251370e2a36e4d589f8789d80630abbbeceb933d3fb58f", + "Up to {concurrent} active and {starts} starts per {minutes} min": "cca43c28ef670fd5d55cb3bd813a2fef137043e4028096bcd2cdf22e2a06586b", "Up to date": "ce29b7f85b9eaf7dac52e625accb4b0cb56a856ebe9a9de9a09b613b6d978dca", "Update": "c1c1009d3f37ec058070a62e22caf9ac9dae2169d452487c5c271a8bcf57a291", "Update available": "ff8b555d818f0b25bbdd1bec8b479660bac7fc276acbe993e759bf67fed32c34", @@ -7548,6 +7561,7 @@ "Work intake, tool servers, and plugin bundles": "16b65a84c6fca2014b7e2d28b151bbf0afe19345230a0ac37304802311fed850", "Work is claimed": "c4b0d953436f2f59355d6540bae28e055ff49243f612887bbaed7bfd98c85d4d", "Work item ID": "1dcdad81d13850bd962965719f362fa7f32693b7b54fd8bb25d1e2402a470626", + "Work item paused": "299aabbf3c1418a3f01117e072d3bfe418e174bd1f355d1afdfae23c7b4bf678", "Work items": "5759a416f2b3b4ff92da23b8059419e06c39d27180b91a557f7cae779df3d2b6", "Work marked failed": "f26306888ed8c9a3808b8a420428f63e32d4c2223e7c9c89dd0a049806c539c6", "Work result": "19efe7487084061e9e358495b8a9bfd7e9d7c0035010e08ac35c14ba4ff8ca2a", @@ -8287,6 +8301,7 @@ "Allows": "允許", "Allows commands starting with {command}": "允許以 {command} 開頭的命令", "Already imported": "已經導入", + "Already in work": "已經上班了", "Also allow private memory and private chat queries remotely": "還允許遠端私人記憶體和私人聊天查詢", "Alternatives": "替代方案", "Alternatives considered": "考慮的替代方案", @@ -8547,6 +8562,7 @@ "Auto-start by default": "Auto-start by default", "Auto-start step": "Auto-start step", "Automatic": "自動的", + "Automatic intake": "自動進料", "Automatic learning is off": "自動學習關閉", "Automatic parallel execution": "Automatic parallel execution", "Automatic proposals enabled": "啟用自動提案", @@ -8975,6 +8991,7 @@ "Check failed": "檢查失敗", "Check for changes": "檢查是否有變化", "Check for updates": "檢查更新", + "Check GitHub inbox": "檢查 GitHub 收件匣", "Check member status": "檢視會員狀態", "Check member status to load readiness.": "檢查成員狀態以載入準備情況。", "Check needed": "需要檢查", @@ -9282,6 +9299,7 @@ "Concise": "簡潔的", "Concise, focused, direct.": "簡潔、重點、直接。", "conclusion {conclusion}": "結論{conclusion}", + "Concurrent work limit reached": "達到並發工作限制", "Confidence": "信心", "Configuration": "配置", "Configuration digest": "配置摘要", @@ -10658,6 +10676,7 @@ "github": "github", "GitHub": "GitHub", "GitHub CI triage": "GitHub CI 分類", + "GitHub intake": "GitHub 攝取量", "GitHub MCP": "GitHub MCP", "GitHub not connected (GITHUB_TOKEN or GH_TOKEN)": "GitHub not connected (GITHUB_TOKEN or GH_TOKEN)", "GitHub unavailable; retry later": "GitHub unavailable; retry later", @@ -12537,6 +12556,7 @@ "Policy details": "政策詳情", "Policy narrows authority": "政策縮小權限", "policy overlays": "政策疊加", + "Policy paused": "政策暫停", "Policy review": "政策審查", "Policy snapshot artifact": "策略快照工件", "Poll once": "投票一次", @@ -12732,6 +12752,7 @@ "Provider state": "提供者狀態", "Provider templates": "提供者模板", "Provider type": "提供者類型", + "Provider unavailable": "提供者不可用", "Provider version": "提供者版本", "Provider warmup": "提供者熱身", "Provider was automatically rechecked after daemon restart.": "守護程序重新啟動後會自動重新檢查提供者。", @@ -13117,6 +13138,8 @@ "Required for assigned teammates": "指定隊友需要", "Required input": "所需輸入", "Required input: {value}": "所需輸入:{value}", + "Required label": "所需標籤", + "Required label missing": "缺少所需標籤", "Required permissions": "所需權限", "Required skill information is missing.": "缺少所需的技能資訊。", "Required statuses": "Required statuses", @@ -14126,6 +14149,7 @@ "Start an active Computer Use task first.": "首先啟動一個活動的 Computer Use 任務。", "Start autoplan": "啟動自動計劃", "Start background": "啟動背景", + "Start budget reached": "已達啟動預算", "Start by choosing a template or creating one manually.": "首先選擇一個模板或手動建立一個模板。", "Start child branch": "啟動子分支", "Start from a default role or blank teammate.": "從預設角色或空白隊友開始。", @@ -14231,7 +14255,9 @@ "succeeded": "成功了", "Succeeded": "成功了", "Successfully generated {count} artifact based on the provided prompt.": "根據提供的提示成功產生 {count} 工件。", + "Suggest": "建議", "Suggest responsible owners based on context, decisions, and recent work.": "根據背景、決策和最近的工作建議負責任的所有者。", + "Suggested": "建議", "Suggested next step": "建議下一步", "Suggested routing": "建議路線", "Summaries": "摘要", @@ -14940,6 +14966,7 @@ "Untracked": "未追蹤", "unverified": "未經驗證", "Unverified": "未驗證", + "Up to {concurrent} active and {starts} starts per {minutes} min": "每 {minutes} 分鐘最多 {concurrent} 次活動且 {starts} 次啟動", "Up to date": "最新", "Update": "更新", "Update available": "可用更新", @@ -15267,6 +15294,7 @@ "Work intake, tool servers, and plugin bundles": "工作量、工具伺服器和插件包", "Work is claimed": "工作已被認領", "Work item ID": "工作項目 ID", + "Work item paused": "工作項目已暫停", "Work items": "工作項目", "Work marked failed": "工作標記為失敗", "Work result": "工作成果", diff --git a/packages/localization/catalogs/zh-TW.json b/packages/localization/catalogs/zh-TW.json index 300f2aeb1..891eddd5e 100644 --- a/packages/localization/catalogs/zh-TW.json +++ b/packages/localization/catalogs/zh-TW.json @@ -1,6 +1,6 @@ { "locale": "zh-TW", - "sourceRevision": "214db76d79f1a5c0fd915c110a2ead6dbb978b58398846e982a0c1ff0cb53108", + "sourceRevision": "6468d2af71d2feb60f9b8c5f37bc2a3ff1177fb2c8b0d65e85002de6b1095cbb", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -568,6 +568,7 @@ "Allows": "8b1d52d202522d89fe65fb00e505abab46dc200a88c0be5d468a2a7e6dce9ccf", "Allows commands starting with {command}": "f5c5d446a6850880ae79768c175bacaf2bc487f715d5768d0b225eb643e3ce07", "Already imported": "e47fafe0a1c6f8d6b5c641c5d9cc7ca61e66a1c50bbc3b619c8ff5912444bfa8", + "Already in work": "ae40a6ff362406d9f1fdc40ad79cea7bd1705e6e173b2267f2a310777aedb387", "Also allow private memory and private chat queries remotely": "0b6b2ba6882b67c8b5b79f0f07964588232be1a9e520011e19bbea224c59a913", "Alternatives": "41055f72edad1559b8ba43440cd7938eb73685930c7141fede9b95000fd41299", "Alternatives considered": "73534cb410e6191096c7fa7ca56ba066f90b4fdede8677d64bc98068804afa3c", @@ -828,6 +829,7 @@ "Auto-start by default": "403861dc8396a3ea666e143d33e0429d3c26721771abf3face351259eee9b28f", "Auto-start step": "2bf61e4807ad3bf6ebc934bf54e917d5b3a87295001826be3a7dd57c7e75cc8d", "Automatic": "d461a493a3753877c9486cffa3444265a33370af8a7fff242fb119b71750839c", + "Automatic intake": "6eed82b223c717114773803e9d9d90d6d3cde9579bf264647347e559817a5081", "Automatic learning is off": "8ba1b4a02530490260a7b8e748e0809ddc3885213a009f3896264bc665060bdd", "Automatic parallel execution": "63d058c173c4a148a14094327c26d9af2c5bde1779c91dbf0d913e90b0687be9", "Automatic proposals enabled": "db670932d259eeedd26de8d7ca836594d5f3861ff24e1f94170c7333676c157a", @@ -1256,6 +1258,7 @@ "Check failed": "c8813c1128d545bfe7e7458ae24d724447097b3518643f86fa3e532f88e9fb40", "Check for changes": "5da755d1690f58c1c822a4b85422734bacc2122c7c67f4e8617f0765ac835113", "Check for updates": "f26f3275e735bdf6268532ca7cbea3887c9adad21d8df74e84b2bc7791475c0d", + "Check GitHub inbox": "51cd97da0bc2b213621668f69168386eaee18bdae064041094187404c9fc71ee", "Check member status": "ff155af014d0b6e94cbf2fca3b01cf8d5725732f178eee985083478adb4a62f5", "Check member status to load readiness.": "6f7f338e22e626b134643fbaec898cf8e8efd19b85eeb6193b4ca0d5d63c4528", "Check needed": "561a32f0c83e5a4fe8d77d891bd4b954d514ea021b4a18e68a3607f5d8747841", @@ -1563,6 +1566,7 @@ "Concise": "8340d833ab72d3321b07af0184597743b010e142b39593cebb450d4227e62f0c", "Concise, focused, direct.": "e9cb028d2d79111476e9c8ea1562b7f6275fd39d43abf410338d7c0ae2fff5a5", "conclusion {conclusion}": "dc328d7e11ecbdc61fa90fc18e3ced70b794ca55dcc476d03c88eff72f16274d", + "Concurrent work limit reached": "f60d0f2d4a9ba0c57c7e7835bd52a1912f39581799f2babb636d190317a96b54", "Confidence": "6422e3e78f5e5f5a15e92cc57ed7114adb289339251031ccb526d9249437dc82", "Configuration": "b332c3492d5eb10a118eb6d8b0dcd689bc2477ce2ae16b303753b942b54377bc", "Configuration digest": "5bbf2d321122a5a57d36c77291d232d51f9ae9a1655e80f042727754aea15bfe", @@ -2939,6 +2943,7 @@ "github": "c0b0109d9439de57fe3cf03abeccbc52f4c98170c732d3b69af5e6395ace574e", "GitHub": "f911e414cf6bdfc595532ab166b5ba0f63d73c021452fcdacbda363dda6ad8fb", "GitHub CI triage": "6a2368ce3943b296b07b5241227baf2a863d3f50f8a46ddb0889cbb5045ccd84", + "GitHub intake": "064829c63fcbc74d45753e04f583c69a391d25d4ed334de3b69fa2720f733cb1", "GitHub MCP": "408b061889ef672152b51ce8dbd56216d1b7e97303429b59538b99fe663c6f04", "GitHub not connected (GITHUB_TOKEN or GH_TOKEN)": "1cb239b6b5ea26422b411a25d3a4e254cdf45b7e730eb91b976a36f12adeb21b", "GitHub unavailable; retry later": "33b2cec76eccd24c4d8d61c265de8b06a6a20820ab1fccdcb433a22903909d02", @@ -4818,6 +4823,7 @@ "Policy details": "00e33950cacf32a39cc25f71ccb1650c4c788c12816e07681d80f0fdc537be98", "Policy narrows authority": "e9e2012e5ac96664fb03ff0f81f4f49cb5b8ee069149139352e7c89b73e43baa", "policy overlays": "db26199cf2a47a948b45caf37b4d50ede3ef415fad6c940cfe56a118970fcefb", + "Policy paused": "11fc11eaf385253466e26bac9916425e1e009695cd40adc4c7a132366d187518", "Policy review": "1cf67fef927c77770a1fcd8b20982b24b15cc0b6f1e8b56265d87baff019dd7e", "Policy snapshot artifact": "7f8b2985d498316ac01fa5f2276d2556cab712b4c8bc2b93e16dfc1353e23a77", "Poll once": "c7e7d724ff87555fb857467569ce709d958ee2d5d1ab2cc890554c7605e86e78", @@ -5013,6 +5019,7 @@ "Provider state": "633d1ca46603e61fc3d39459c1414102a27bbc4ba0adfb0b22ba5a205c2b9815", "Provider templates": "1e8649b7c667a6afc6dc88cbdb3069e349e850466cf3efa57eeedab9b70486f7", "Provider type": "8c0f6d3ebfe7ba3a0c0006068a9aa664d09244ba3cd438f2d56fab117bee1347", + "Provider unavailable": "ff2113958589f9bfb87b54f959be825d00ec5eca374d907bb343f98ebdbc84c3", "Provider version": "1f5ecefbd682ced2f438c8ae3c8849ba9effbe6cd77c19051cee2d2036ef9c90", "Provider warmup": "36ae143804c9a909bce770f54be5652b69b99ee7838cca99daa31e23d4d6d63c", "Provider was automatically rechecked after daemon restart.": "7bd8e8ee592f30e81adca8c96b079d6526846dc142bd99e5bbba3d9bebbde7a9", @@ -5398,6 +5405,8 @@ "Required for assigned teammates": "4732aa544a8d93b886e6bcbbcc5c3314af692f8a8a812efd4844cd3589b7b63a", "Required input": "fafaaf99b5a6af521026448890a9dacaf4d47053804a34be7cdf364e13637181", "Required input: {value}": "757166b8bf43ee39819f00d86fa61a84ddb3f3eba2a883c6bb996b8f82101d22", + "Required label": "5f623a5ad31f874a782d2205c9318ce524371a35d782b9a7021eab521c2fbbcd", + "Required label missing": "6913716764f8018414060c041e41a2951f5444efe5e97cd30a557be26403d1b1", "Required permissions": "edaffed36060c21e958b3fe562b7c57f51f67ba46326b1a9a5317a47b20e1747", "Required skill information is missing.": "e5cb742af5e92afab21f42c3edd4f5940db52a1c5320a9dd7236eca89a702789", "Required statuses": "c77453db9c939c7c7b8da080b0053847604126aefacf5a900d1d0fe30e4ba5ee", @@ -6407,6 +6416,7 @@ "Start an active Computer Use task first.": "1242a212935f863b51a7f3e8d16f12af408152d8047b274c5fef9fb7f1435f50", "Start autoplan": "7419a8efae15550dc21cccc23ca0a16c446e884842bfe48056af34a921175cb0", "Start background": "c690dc635cd0437e8911748d795084e5d32d0b75811490076285d41032d7300c", + "Start budget reached": "6b915cfb021a78ae6f8b4c1f2d9f40bbadcc486c04cbb00a807d52bfe78102ca", "Start by choosing a template or creating one manually.": "6a3ba02535ac7a0ab934b569a915927936dede63b4277ea4500e77c8835d4666", "Start child branch": "ee7b6caa5b4a1d3e8fd3ce47a26b42a4f2472834dfa17b2efc1864d0ed710948", "Start from a default role or blank teammate.": "1464ae64fd1ee987e353f53a2f9bab20053b2f0ae320c07839b7eecf710b8a96", @@ -6512,7 +6522,9 @@ "succeeded": "5dceaeceb6d8a49d3665594710ace68dfbc1800e2d663d7febb302b4dbee3d27", "Succeeded": "6d9a6f97a5fdaf3b90a0cf02e0b43d8b7ec1d05c0e4718e02ddd1c5b450e5b39", "Successfully generated {count} artifact based on the provided prompt.": "71f85e7639c004421f062f2dd6a129e5173931798f5d33b6f0482038b38a88fc", + "Suggest": "4effad823b048b0440dbeff42665f60a6ddec8e121c378966ed7c074a512c51f", "Suggest responsible owners based on context, decisions, and recent work.": "484eb4e21bcdd76a531a4234403ea29f0626094f9a2915b674f17e0b949be0a3", + "Suggested": "93b63bab4c3a28d73a8bb83bcdfdcc5f6ddecfc8fc702296ca159d94c5dc6e53", "Suggested next step": "78d74fd4ffec8d83a942e1274cfd15426b2b4bb2d96b15f905277638c339869e", "Suggested routing": "442b15c099c136738e26e139912a5f5d21e90216aade875a8db595b09c81fcbe", "Summaries": "87bc590e047d3df4a8e448ac83e371fad69dd73607752cccb0ff7d34263cef8f", @@ -7221,6 +7233,7 @@ "Untracked": "c7ba5477e19cf0bb25460d840cc2e67341e81e1c2d274d00b3054c73898d4d27", "unverified": "97b7e2db799e2b79e65f418b42a7d3054c95b2d3ab1dba243039597e44a38084", "Unverified": "33c8e8de41c3a35124251370e2a36e4d589f8789d80630abbbeceb933d3fb58f", + "Up to {concurrent} active and {starts} starts per {minutes} min": "cca43c28ef670fd5d55cb3bd813a2fef137043e4028096bcd2cdf22e2a06586b", "Up to date": "ce29b7f85b9eaf7dac52e625accb4b0cb56a856ebe9a9de9a09b613b6d978dca", "Update": "c1c1009d3f37ec058070a62e22caf9ac9dae2169d452487c5c271a8bcf57a291", "Update available": "ff8b555d818f0b25bbdd1bec8b479660bac7fc276acbe993e759bf67fed32c34", @@ -7548,6 +7561,7 @@ "Work intake, tool servers, and plugin bundles": "16b65a84c6fca2014b7e2d28b151bbf0afe19345230a0ac37304802311fed850", "Work is claimed": "c4b0d953436f2f59355d6540bae28e055ff49243f612887bbaed7bfd98c85d4d", "Work item ID": "1dcdad81d13850bd962965719f362fa7f32693b7b54fd8bb25d1e2402a470626", + "Work item paused": "299aabbf3c1418a3f01117e072d3bfe418e174bd1f355d1afdfae23c7b4bf678", "Work items": "5759a416f2b3b4ff92da23b8059419e06c39d27180b91a557f7cae779df3d2b6", "Work marked failed": "f26306888ed8c9a3808b8a420428f63e32d4c2223e7c9c89dd0a049806c539c6", "Work result": "19efe7487084061e9e358495b8a9bfd7e9d7c0035010e08ac35c14ba4ff8ca2a", @@ -8287,6 +8301,7 @@ "Allows": "允許", "Allows commands starting with {command}": "允許以 {command} 開頭的命令", "Already imported": "已經導入", + "Already in work": "已經上班了", "Also allow private memory and private chat queries remotely": "還允許遠端私人記憶體和私人聊天查詢", "Alternatives": "替代方案", "Alternatives considered": "考慮的替代方案", @@ -8547,6 +8562,7 @@ "Auto-start by default": "Auto-start by default", "Auto-start step": "Auto-start step", "Automatic": "自動的", + "Automatic intake": "自動進料", "Automatic learning is off": "自動學習關閉", "Automatic parallel execution": "Automatic parallel execution", "Automatic proposals enabled": "啟用自動提案", @@ -8975,6 +8991,7 @@ "Check failed": "檢查失敗", "Check for changes": "檢查是否有變化", "Check for updates": "檢查更新", + "Check GitHub inbox": "檢查 GitHub 收件匣", "Check member status": "檢視會員狀態", "Check member status to load readiness.": "檢查成員狀態以載入準備情況。", "Check needed": "需要檢查", @@ -9282,6 +9299,7 @@ "Concise": "簡潔的", "Concise, focused, direct.": "簡潔、重點、直接。", "conclusion {conclusion}": "結論{conclusion}", + "Concurrent work limit reached": "達到並發工作限制", "Confidence": "信心", "Configuration": "配置", "Configuration digest": "配置摘要", @@ -10658,6 +10676,7 @@ "github": "github", "GitHub": "GitHub", "GitHub CI triage": "GitHub CI 分類", + "GitHub intake": "GitHub 攝取量", "GitHub MCP": "GitHub MCP", "GitHub not connected (GITHUB_TOKEN or GH_TOKEN)": "GitHub not connected (GITHUB_TOKEN or GH_TOKEN)", "GitHub unavailable; retry later": "GitHub unavailable; retry later", @@ -12537,6 +12556,7 @@ "Policy details": "政策詳情", "Policy narrows authority": "政策縮小權限", "policy overlays": "政策疊加", + "Policy paused": "政策暫停", "Policy review": "政策審查", "Policy snapshot artifact": "策略快照工件", "Poll once": "投票一次", @@ -12732,6 +12752,7 @@ "Provider state": "提供者狀態", "Provider templates": "提供者模板", "Provider type": "提供者類型", + "Provider unavailable": "提供者不可用", "Provider version": "提供者版本", "Provider warmup": "提供者熱身", "Provider was automatically rechecked after daemon restart.": "守護程序重新啟動後會自動重新檢查提供者。", @@ -13117,6 +13138,8 @@ "Required for assigned teammates": "指定隊友需要", "Required input": "所需輸入", "Required input: {value}": "所需輸入:{value}", + "Required label": "所需標籤", + "Required label missing": "缺少所需標籤", "Required permissions": "所需權限", "Required skill information is missing.": "缺少所需的技能資訊。", "Required statuses": "Required statuses", @@ -14126,6 +14149,7 @@ "Start an active Computer Use task first.": "首先啟動一個活動的 Computer Use 任務。", "Start autoplan": "啟動自動計劃", "Start background": "啟動背景", + "Start budget reached": "已達啟動預算", "Start by choosing a template or creating one manually.": "首先選擇一個模板或手動建立一個模板。", "Start child branch": "啟動子分支", "Start from a default role or blank teammate.": "從預設角色或空白隊友開始。", @@ -14231,7 +14255,9 @@ "succeeded": "成功了", "Succeeded": "成功了", "Successfully generated {count} artifact based on the provided prompt.": "根據提供的提示成功產生 {count} 工件。", + "Suggest": "建議", "Suggest responsible owners based on context, decisions, and recent work.": "根據背景、決策和最近的工作建議負責任的所有者。", + "Suggested": "建議", "Suggested next step": "建議下一步", "Suggested routing": "建議路線", "Summaries": "摘要", @@ -14940,6 +14966,7 @@ "Untracked": "未追蹤", "unverified": "未經驗證", "Unverified": "未驗證", + "Up to {concurrent} active and {starts} starts per {minutes} min": "每 {minutes} 分鐘最多 {concurrent} 次活動且 {starts} 次啟動", "Up to date": "最新", "Update": "更新", "Update available": "可用更新", @@ -15267,6 +15294,7 @@ "Work intake, tool servers, and plugin bundles": "工作量、工具伺服器和插件包", "Work is claimed": "工作已被認領", "Work item ID": "工作項目 ID", + "Work item paused": "工作項目已暫停", "Work items": "工作項目", "Work marked failed": "工作標記為失敗", "Work result": "工作成果", From 0278f97e2b014fad22b8a14571811bc160afaa64 Mon Sep 17 00:00:00 2001 From: tianxiaochannel-oss88 Date: Sun, 22 Nov 2026 19:00:58 +0800 Subject: [PATCH 018/147] fix(app-server): scope MCP tools and pending approval notices --- packages/daemon/src/server/app-server-mcp.ts | 60 ++++++++++++------- packages/daemon/src/server/rpc.ts | 9 ++- .../app-server-release-acceptance.test.ts | 20 ++++++- 3 files changed, 65 insertions(+), 24 deletions(-) diff --git a/packages/daemon/src/server/app-server-mcp.ts b/packages/daemon/src/server/app-server-mcp.ts index 844256821..7b6cee831 100644 --- a/packages/daemon/src/server/app-server-mcp.ts +++ b/packages/daemon/src/server/app-server-mcp.ts @@ -15,99 +15,115 @@ export async function runLingAppServerMcp( output: Writable = process.stdout, ): Promise { const client = connectToAppServer(options, "ling-mcp"); + const methods = new Set((await client.getCapabilities().catch(error => { + client.close(); + throw error; + })).methods); const server = new McpServer({ name: "ling-app-server", version: LING_PRODUCT_VERSION }); const describe = (value: unknown) => ({ content: [{ type: "text" as const, text: JSON.stringify(value) }] }); - server.registerTool("ling_thread_read", { + if (methods.has("thread/read")) server.registerTool("ling_thread_read", { description: "Read a Ling Thread and its current Goal.", inputSchema: z.strictObject({ threadId: objectId }), annotations: { readOnlyHint: true }, }, async ({ threadId }) => describe(await client.readThread(threadId))); - server.registerTool("ling_thread_snapshot", { - description: "Read the active Ling Turn revision, Run status, and event cursor.", + if (methods.has("thread/snapshot")) server.registerTool("ling_thread_snapshot", { + description: "Read the active Ling Turn, Run, Goal, pending requests, and event cursor.", inputSchema: z.strictObject({ threadId: objectId }), annotations: { readOnlyHint: true }, }, async params => { - const { turn, run, cursor } = await client.readThreadSnapshot(params); - return describe({ turn, run, cursor }); + const { turn, run, goal, cursor, pendingApprovals, pendingInputs } = await client.readThreadSnapshot(params); + return describe({ turn, run, goal, cursor, pendingApprovals, + pendingInputs: pendingInputs.map(({ answerAuthority: _authority, ...input }) => input) }); }); - server.registerTool("ling_thread_events", { + if (methods.has("thread/events/read")) server.registerTool("ling_thread_events", { description: "Read a page of Ling Thread events. Use the returned cursor to continue reading; use a Thread snapshot if resync is required.", inputSchema: z.strictObject({ threadId: objectId, cursor: z.string().min(1).max(128).optional() }), annotations: { readOnlyHint: true }, }, async ({ threadId, cursor }) => describe(await client.readThreadEvents({ threadId, cursor, limit: 1 }))); + if (methods.has("workItem/read")) server.registerTool("ling_work_item_read", { + description: "Read the Work Item, its current control state and any automatic intake receipt.", + inputSchema: z.strictObject({ workspaceId: objectId, workItemId: objectId }), + annotations: { readOnlyHint: true }, + }, async ({ workspaceId, workItemId }) => describe(await client.readWorkItemSnapshot(workspaceId, workItemId))); + if (options.authToken) { const followupInput = z.strictObject({ threadId: objectId, expectedTurnId: objectId, expectedTurnRevision: objectId, message: z.string().min(1).max(16_384), idempotencyKey: requestKey }); - server.registerTool("ling_thread_start", { + if (methods.has("thread/start")) server.registerTool("ling_thread_start", { description: "Create a Ling Thread in the connected workspace. Use the same request key when retrying.", inputSchema: z.strictObject({ title: z.string().min(1).max(200), idempotencyKey: requestKey }), annotations: { idempotentHint: true, destructiveHint: false }, }, async ({ title, idempotencyKey }) => describe(await client.startThread({ title, threadId: `thread_mcp_${createHash("sha256").update(idempotencyKey).digest("hex")}`, }))); - server.registerTool("ling_turn_start", { + if (methods.has("turn/start")) server.registerTool("ling_turn_start", { description: "Submit a Turn to Ling using a configured provider preset. Use the same key when retrying.", inputSchema: z.strictObject({ threadId: objectId, message: z.string().min(1).max(16_384), providerPresetId: objectId, idempotencyKey: requestKey, }), annotations: { idempotentHint: true }, }, async params => describe(await client.startTurn(params))); - server.registerTool("ling_work_item_create", { + if (methods.has("workItem/create")) server.registerTool("ling_work_item_create", { description: "Submit a source occurrence to the Ling task inbox. Use a structured GitHub subject to join existing work.", inputSchema: z.strictObject({ sourceId: objectId, title: z.string().min(1).max(200), idempotencyKey: requestKey, gitHubSubject: z.strictObject({ repository: z.string().min(3).max(201), kind: z.enum(["issue", "pull_request"]), number: z.number().int().positive() }).optional(), }), annotations: { idempotentHint: true, destructiveHint: false }, }, async params => describe(await client.createWorkItem(params))); - server.registerTool("ling_work_item_accept", { + if (methods.has("workItem/accept")) server.registerTool("ling_work_item_accept", { description: "Accept a Work Item and give its primary execution to a Ling conversation. A retry uses the original dispatch.", inputSchema: z.strictObject({ workItemId: objectId, expectedWorkItemRevision: z.number().int().positive(), idempotencyKey: requestKey, dispatch: z.strictObject({ threadId: objectId, message: z.string().min(1).max(16_384), providerPresetId: objectId.optional() }).optional(), }), annotations: { idempotentHint: true }, }, async params => describe(await client.acceptWorkItem(params))); - server.registerTool("ling_changes_capture", { + if (methods.has("changes/capture")) server.registerTool("ling_changes_capture", { description: "Capture the current working-tree candidate and its coverage.", inputSchema: z.strictObject({}), annotations: { readOnlyHint: true }, }, async () => describe(await client.captureChanges())); - server.registerTool("ling_changes_read", { + if (methods.has("changes/read")) server.registerTool("ling_changes_read", { description: "Read the bounded current candidate diff for a captured candidate digest.", inputSchema: z.strictObject({ candidateDigest: z.string().length(64), offset: z.number().int().nonnegative().optional(), limit: z.number().int().min(1).max(50).optional() }), annotations: { readOnlyHint: true }, }, async params => describe(await client.readChanges(params))); - server.registerTool("ling_changes_preview_recovery", { + if (methods.has("changes/apply/preview")) server.registerTool("ling_changes_preview_recovery", { description: "Preview undo or reapply for a completed Ling Turn before committing the workspace recovery.", inputSchema: z.strictObject({ threadId: objectId, turnId: objectId, action: z.enum(["undo", "reapply"]) }), annotations: { readOnlyHint: true }, }, async params => describe(await client.previewChangeRecovery(params))); - server.registerTool("ling_changes_apply_recovery", { + if (methods.has("changes/apply")) server.registerTool("ling_changes_apply_recovery", { description: "Apply a previously reviewed Turn recovery preview using its exact revision and idempotency key.", inputSchema: z.strictObject({ threadId: objectId, turnId: objectId, action: z.enum(["undo", "reapply"]), expectedRevision: z.string().length(64), idempotencyKey: requestKey, confirmed: z.literal(true) }), annotations: { idempotentHint: true, destructiveHint: true }, }, async params => describe(await client.applyChanges(params))); - server.registerTool("ling_github_intake_poll", { + if (methods.has("github/intake/poll")) server.registerTool("ling_github_intake_poll", { description: "Evaluate a registered GitHub intake page under its current manual, suggestion, or automatic admission policy.", inputSchema: z.strictObject({ repository: z.string().min(3).max(201), page: z.number().int().min(1).max(500).optional(), retryKey: z.string().max(160).optional() }), annotations: { idempotentHint: true, destructiveHint: false }, }, async params => describe(await client.pollGitHubIntake(params))); - server.registerTool("ling_github_intake_read", { + if (methods.has("github/intake/read")) server.registerTool("ling_github_intake_read", { description: "Read a durable GitHub intake evaluation receipt.", inputSchema: z.strictObject({ receiptId: objectId }), annotations: { readOnlyHint: true }, }, async params => describe(await client.readGitHubIntake(params))); - server.registerTool("ling_turn_queue", { + if (methods.has("github/intake/policy/list")) server.registerTool("ling_github_intake_policies", { + description: "Read registered GitHub intake policies and provider availability.", + inputSchema: z.strictObject({}), + annotations: { readOnlyHint: true }, + }, async () => describe(await client.listGitHubIntakePolicies())); + if (methods.has("turn/queue")) server.registerTool("ling_turn_queue", { description: "Queue a follow-up for the active Ling Turn from ling_thread_snapshot. Retry with the same request key.", inputSchema: followupInput, annotations: { idempotentHint: true, destructiveHint: false }, }, async params => describe(await client.queueTurn(params))); - server.registerTool("ling_turn_interrupt", { + if (methods.has("turn/interrupt")) server.registerTool("ling_turn_interrupt", { description: "Request a stop for the current Run on a Ling Turn.", - inputSchema: z.strictObject({ turnId: objectId }), - }, async ({ turnId }) => describe(await client.interruptTurn({ turnId }))); - server.registerTool("ling_turn_resume", { + inputSchema: z.strictObject({ threadId: objectId, turnId: objectId, expectedTurnRevision: objectId.optional() }), + }, async params => describe(await client.interruptTurn(params))); + if (methods.has("turn/resume")) server.registerTool("ling_turn_resume", { description: "Recover a prepared or stopped Ling Turn using its observed revision. Reuse the recovery key when retrying.", inputSchema: z.strictObject({ threadId: objectId, turnId: objectId, expectedTurnRevision: objectId, sourceRunId: objectId.optional(), @@ -115,7 +131,7 @@ export async function runLingAppServerMcp( }), annotations: { idempotentHint: true, destructiveHint: false }, }, async params => describe(await client.resumeTurn(params))); - server.registerTool("ling_turn_redirect", { + if (methods.has("turn/interrupt")) server.registerTool("ling_turn_redirect", { description: "Stop the observed Ling Turn and submit a follow-up after its Run settles. Retry with the same request key.", inputSchema: followupInput, annotations: { idempotentHint: true, destructiveHint: true }, diff --git a/packages/daemon/src/server/rpc.ts b/packages/daemon/src/server/rpc.ts index d79eacac1..b3c714ef6 100644 --- a/packages/daemon/src/server/rpc.ts +++ b/packages/daemon/src/server/rpc.ts @@ -1469,7 +1469,8 @@ class RpcConnection { const runId = turn?.activeRunId ?? turn?.lastRunId; const run = runId ? store.getRun(runId) : undefined; const goal = store.getLingThreadGoal(threadId); - const pendingApprovals = run ? store.listApprovalRequests({ runId: run.id, status: "pending" }).map(toApprovalSummary) : []; + const pendingApprovals = run ? store.listApprovalRequests({ runId: run.id, status: "pending" }) + .filter(canPresentPendingApproval).map(toApprovalSummary) : []; const itemIds = turn ? store.listConversationItemsForTurn({ turnId: turn.id }) .filter(item => item.kind === "user_input_request").map(item => item.id) : []; const pendingInputs = itemIds.length ? store.readUserInputTranscript({ threadId, itemIds }).flatMap(item => { @@ -2971,6 +2972,8 @@ function appServerEventNotification(subscription: RpcSubscription, event: Contro function appServerServerRequestForEvent(event: ControlPlaneEvent, readStore: () => RunStore): unknown | undefined { if (event.action === "approval.created") { + const approval = readStore().getApprovalRequest(event.entityId); + if (!approval || !canPresentPendingApproval(approval)) return undefined; return { jsonrpc: "2.0", id: `approval:${event.entityId}:${event.seq}`, @@ -2993,6 +2996,10 @@ function appServerServerRequestForEvent(event: ControlPlaneEvent, readStore: () }; } +function canPresentPendingApproval(approval: import("@ling-stack/core").ApprovalRequest): boolean { + return approval.status === "pending" && (!approval.expiresAt || Date.parse(approval.expiresAt) > Date.now()); +} + function appServerEventMethod(event: ControlPlaneEvent): string | undefined { if (event.entityType === "verify_operation") return "verification/updated"; if (event.entityType === "handoff" && event.action === "handoff.created") return "handoff/created"; diff --git a/packages/daemon/test/app-server-release-acceptance.test.ts b/packages/daemon/test/app-server-release-acceptance.test.ts index dc1b90cfd..b3054abce 100644 --- a/packages/daemon/test/app-server-release-acceptance.test.ts +++ b/packages/daemon/test/app-server-release-acceptance.test.ts @@ -2062,11 +2062,29 @@ test("App Server grants restrict observers, controllers and approvers to their s }; const allowedApproval = makeApproval(subject.id, "approved-run"); const unrelatedApproval = makeApproval(other.id, "other-run"); + store.appendControlPlaneEvent({ workspaceId: subject.workspaceId, cwd: fixture.cwd, domain: "approvals", + entityType: "approval", entityId: allowedApproval.id, action: "approval.created", + data: { runId: allowedApproval.runId, threadId: subject.id } }, now); + await approver.call("thread/subscribe", { threadId: subject.id }); + await waitFor(() => approver.notices.find(notice => notice.method === "approval/requestDecision" && notice.params?.approvalId === allowedApproval.id)); await assert.rejects(controller.call("approval/respond", { approvalId: allowedApproval.id, decision: "deny" }), { code: "capability_denied" }); await assert.rejects(approver.call("approval/respond", { approvalId: unrelatedApproval.id, decision: "deny" }), { code: "capability_denied" }); await approver.call("approval/respond", { approvalId: allowedApproval.id, decision: "deny" }); assert.equal(store.getApprovalRequest(allowedApproval.id)?.status, "denied"); assert.equal(store.getApprovalRequest(unrelatedApproval.id)?.status, "pending"); + const reconnect = await fixture.connect("/app-server/rpc", fixture.cwd, approvals.bearer); + await reconnect.call("thread/subscribe", { threadId: subject.id }); + await waitFor(() => reconnect.notices.find(notice => notice.method === "thread/replay/ready")); + assert.ok(!reconnect.notices.some(notice => notice.method === "approval/requestDecision")); + + const input = new PassThrough(), output = new PassThrough(); + const running = runLingAppServerMcp({ ...fixture.transportOptions(), authToken: observation.bearer }, input, output); + t.after(async () => { input.end(); await running; }); + const host = jsonLines(input, output); + await host.call("initialize", { protocolVersion: LATEST_PROTOCOL_VERSION, clientInfo: { name: "Scoped fixture", version: "1" }, capabilities: {} }); + host.send("notifications/initialized", {}); + const { tools } = await host.call<{ tools: Array<{ name: string }> }>("tools/list"); + assert.deepEqual(tools.map(tool => tool.name).sort(), ["ling_thread_events", "ling_thread_read", "ling_thread_snapshot"]); const closing = observer.waitForClose(); await operator.call("server/grants/revoke", { grantId: observation.grant.grantId, expectedRevision: observation.grant.revision }); @@ -2467,7 +2485,7 @@ type JsonLine = { method?: string; result?: unknown; error?: { message: string }; - params?: { eventId?: string; requestId?: string; revision?: string; event?: { entityId: string; action: string }; + params?: { eventId?: string; requestId?: string; approvalId?: string; revision?: string; event?: { entityId: string; action: string }; itemId?: string; runId?: string; streamEpoch?: string; offset?: number; text?: string; subject?: { threadId?: string; turnId?: string; workItemId?: string } }; }; From eadba66f3b783f970ffb96db6d7f5f86a56532b6 Mon Sep 17 00:00:00 2001 From: tianxiaochannel-oss88 Date: Sun, 22 Nov 2026 22:02:32 +0800 Subject: [PATCH 019/147] feat: close workflow-owned app server execution loop --- .../src/app/use-control-plane-invalidation.ts | 2 +- .../work-board/GlobalWorkBoardPage.tsx | 1 + .../work-board/WorkBoardInspector.tsx | 5 + .../features/work-board/WorkBoardWorkflow.tsx | 65 ++++++++ .../work-board/work-board-view-models.ts | 2 +- apps/web/src/lib/work-items.ts | 2 + .../ling-app-server-implementation-plan.md | 6 +- packages/api-client/src/app-server.ts | 35 ++++ .../api-client/src/endpoints/operations.ts | 4 +- packages/contracts/src/app-server.ts | 93 +++++++++++ packages/contracts/src/work-items.ts | 4 +- packages/core/src/app-server-state-types.ts | 2 +- packages/core/src/run-types.ts | 8 + packages/core/src/storage/sqlite-run-store.ts | 15 ++ .../sqlite/channel-workflow-start-store.ts | 6 +- .../storage/sqlite/channel-workflow-store.ts | 4 +- .../sqlite/ling-thread-cleanup-store.ts | 8 +- .../src/storage/sqlite/work-item-store.ts | 128 ++++++++++++++- packages/core/src/workspace-types.ts | 1 + .../channel-turn-dispatch-executor.ts | 3 + .../src/features/channels/orchestrator.ts | 5 + .../daemon/src/features/channels/workflows.ts | 4 + .../src/features/runs/task-supervisor.ts | 4 + .../daemon/src/features/work-items/routes.ts | 4 +- .../features/work-items/workflow-stages.ts | 46 ++++++ .../src/server/app-server-authorization.ts | 4 +- packages/daemon/src/server/app-server-mcp.ts | 42 ++++- packages/daemon/src/server/router.ts | 5 + packages/daemon/src/server/rpc.ts | 153 +++++++++++++++++- .../app-server-release-acceptance.test.ts | 145 ++++++++++++++++- 30 files changed, 776 insertions(+), 30 deletions(-) create mode 100644 apps/web/src/features/work-board/WorkBoardWorkflow.tsx create mode 100644 packages/daemon/src/features/work-items/workflow-stages.ts diff --git a/apps/web/src/app/use-control-plane-invalidation.ts b/apps/web/src/app/use-control-plane-invalidation.ts index 63e31475f..49875338a 100644 --- a/apps/web/src/app/use-control-plane-invalidation.ts +++ b/apps/web/src/app/use-control-plane-invalidation.ts @@ -72,7 +72,7 @@ export function useControlPlaneInvalidation(input: { } const changed = new Set(domains); const observationEpoch = observationRef.current.epoch; - if (domains.some((domain) => ["runs", "work_units", "approvals", "artifacts", "channels", "teammates"].includes(domain))) { + if (domains.some((domain) => ["runs", "work_items", "work_units", "approvals", "artifacts", "channels", "teammates"].includes(domain))) { window.dispatchEvent(new CustomEvent("ling:work-summary-invalidated", { detail: { cwd: workspaceCwd } })); } diff --git a/apps/web/src/features/work-board/GlobalWorkBoardPage.tsx b/apps/web/src/features/work-board/GlobalWorkBoardPage.tsx index c041f92d6..d75aba0ea 100644 --- a/apps/web/src/features/work-board/GlobalWorkBoardPage.tsx +++ b/apps/web/src/features/work-board/GlobalWorkBoardPage.tsx @@ -151,6 +151,7 @@ export function GlobalWorkBoardPage(props: GlobalWorkBoardPageProps): React.JSX. /> controller.setSelectedItemId("")} onRefresh={refresh} diff --git a/apps/web/src/features/work-board/WorkBoardInspector.tsx b/apps/web/src/features/work-board/WorkBoardInspector.tsx index c2f47fe7a..39a58708d 100644 --- a/apps/web/src/features/work-board/WorkBoardInspector.tsx +++ b/apps/web/src/features/work-board/WorkBoardInspector.tsx @@ -7,11 +7,13 @@ import { Button, EmptyState, InlineFeedback, InspectorSection, Select, Skeleton, import type { Channel, WorkItemClaimBlocker } from "../../types.js"; import { WorkBoardGuide } from "./WorkBoardGuide.js"; import { WorkBoardLinkedObjects } from "./WorkBoardLinkedObjects.js"; +import { WorkBoardWorkflow } from "./WorkBoardWorkflow.js"; import { derivePrimaryWorkBoardAction, workItemStatusTone } from "./work-board-view-models.js"; import type { WorkBoardActionFailure, WorkBoardEvidenceState, WorkBoardMutation } from "./work-board-types.js"; export function WorkBoardInspector(props: { readonly item?: WorkItemView; + readonly workspaceCwd?: string; readonly selectedHidden: boolean; readonly selectedMissing: boolean; readonly channels: readonly Channel[]; @@ -66,6 +68,9 @@ export function WorkBoardInspector(props: { {action && action.target !== "route" ? : null}
+ {item.durable && item.workflowId && item.planRevision && props.workspaceCwd + ? : null} { if (event.currentTarget.open) props.onLoadEvidence(item); }}> diff --git a/apps/web/src/features/work-board/WorkBoardWorkflow.tsx b/apps/web/src/features/work-board/WorkBoardWorkflow.tsx new file mode 100644 index 000000000..d28ec0caf --- /dev/null +++ b/apps/web/src/features/work-board/WorkBoardWorkflow.tsx @@ -0,0 +1,65 @@ +import type { LingAppServerWorkItemWorkflowStages } from "@ling-stack/contracts"; +import { useEffect, useState } from "react"; +import { daemonClient } from "../../api/client.js"; +import { useI18n } from "../../i18n.js"; +import { Button, InlineFeedback, InspectorSection, Skeleton, StatusIndicator } from "../../shared/ui/index.js"; +import { channelWorkflowStatusPresentation, channelWorkflowStepStatusPresentation } from "../workspace/channel-workflow-status-presentation.js"; +import { workSummaryInvalidatedEvent } from "../workspace/work-summary/useWorkSummary.js"; + +export function WorkBoardWorkflow({ cwd, workItemId, onOpenRun }: { + readonly cwd: string; + readonly workItemId: string; + readonly onOpenRun: (runId: string) => void; +}): React.JSX.Element { + const { t } = useI18n(); + const [open, setOpen] = useState(false); + const [offset, setOffset] = useState(0); + const [revision, setRevision] = useState(0); + const [result, setResult] = useState<{ workflow?: LingAppServerWorkItemWorkflowStages; error: boolean }>(); + useEffect(() => { + if (!open) return; + const invalidate = (event: Event) => { + if ((event as CustomEvent<{ cwd?: string }>).detail?.cwd === cwd) setRevision(value => value + 1); + }; + window.addEventListener(workSummaryInvalidatedEvent, invalidate); + return () => window.removeEventListener(workSummaryInvalidatedEvent, invalidate); + }, [cwd, open]); + useEffect(() => { + if (!open) return; + let current = true; + void daemonClient.getWorkItem(cwd, workItemId, offset).then( + value => { if (current) setResult({ workflow: value.workflow, error: false }); }, + () => { if (current) setResult({ error: true }); }, + ); + return () => { current = false; }; + }, [cwd, workItemId, offset, revision, open]); + + const workflow = result?.workflow; + const status = workflow && channelWorkflowStatusPresentation(workflow.status); + function showPage(nextOffset: number): void { + setResult(undefined); + setOffset(nextOffset); + } + return setOpen(event.currentTarget.open)}> + {!result ? : result.error || !workflow + ? + : <> + {workflow.admissionBlocker ? : null} +
    + {workflow.steps.map(step => { + const state = channelWorkflowStepStatusPresentation(step.status); + return
  1. +
    {step.title}
    +
    {step.participantLabel}
    + {step.brief ?

    {step.brief}

    : null} + {step.runId ? : null} +
  2. ; + })} +
+ {offset > 0 ? : null} + {workflow.nextOffset !== undefined + ? : null} + } +
; +} diff --git a/apps/web/src/features/work-board/work-board-view-models.ts b/apps/web/src/features/work-board/work-board-view-models.ts index 454d73379..f35a6a5f1 100644 --- a/apps/web/src/features/work-board/work-board-view-models.ts +++ b/apps/web/src/features/work-board/work-board-view-models.ts @@ -103,7 +103,7 @@ export function derivePrimaryWorkBoardAction(item: WorkItemView, input: { let target: WorkBoardActionView["target"]; let label = ""; if (item.approvalId && input.canOpenApproval) [target, label] = ["approval", "Handle approval"]; - else if (item.durable && !item.claim && !isTerminalWorkItemView(item) && input.canClaim) [target, label] = ["claim", "Claim"]; + else if (item.durable && !item.claim && !item.planRevision && !isTerminalWorkItemView(item) && input.canClaim) [target, label] = ["claim", "Claim"]; else if (input.preferClaimControl && item.durable && item.claim && input.canHeartbeat) [target, label] = ["heartbeat", "Renew claim"]; else if (item.status === "blocked" && item.runId && input.canOpenRun) [target, label] = ["run", "View failure"]; else if (item.runId && input.canOpenRun) [target, label] = ["run", "Open run"]; diff --git a/apps/web/src/lib/work-items.ts b/apps/web/src/lib/work-items.ts index e177de100..ef9e8343e 100644 --- a/apps/web/src/lib/work-items.ts +++ b/apps/web/src/lib/work-items.ts @@ -56,6 +56,7 @@ export interface WorkItemView { readonly runId?: string; readonly workflowId?: string; readonly workflowStepId?: string; + readonly planRevision?: string; readonly externalWorkId?: string; readonly externalWorkActionId?: string; readonly approvalId?: string; @@ -536,6 +537,7 @@ function durableToWorkItemView(item: DurableWorkItemView): WorkItemView { runId: item.runId, workflowId: item.workflowId, workflowStepId: item.workflowStepId, + planRevision: item.planRevision, externalWorkId: item.externalWorkId, externalWorkActionId: item.externalWorkActionId, approvalId: item.approvalId, diff --git a/docs/design/ling-app-server-implementation-plan.md b/docs/design/ling-app-server-implementation-plan.md index 3aa790755..8799bdd29 100644 --- a/docs/design/ling-app-server-implementation-plan.md +++ b/docs/design/ling-app-server-implementation-plan.md @@ -9,9 +9,9 @@ ## 当前实现证据 -当前支持回环 WebSocket、stdio JSONL、私有 Unix socket 和 TypeScript 客户端。CLI 的 `app-server probe|stdio|listen|mcp` 复用同一连接,使用 `server/capabilities` 确认当前连接的方法,支持范围随 Daemon 认证和已有能力变化。CLI 还提供 `app-server instructions-init`、`app-server verify` 和 `app-server verify-status`,用于预览项目约定、按当前候选创建验证计划和读取持久验证结果。上一版的 HTTP/SSE 与 `/rpc/stream` 沿用原入口。只有持 Daemon bearer 的客户端可提交 Run 审批和提问答案、启动 Verify 或 Review,以及触发满足 conformance 的只读外部 Runner 派发。连接按工作区绑定。未登记的检查显示 `blocked`。`thread/snapshot` 返回当前 Turn、Run、Goal、待决审批/提问和持久游标,`context/inspect` 返回已封存的上下文与项目规则清单。 +当前支持回环 WebSocket、stdio JSONL、私有 Unix socket 和 TypeScript 客户端。CLI 的 `app-server probe|stdio|listen|mcp` 复用同一连接,使用 `server/capabilities` 确认当前连接的方法,支持范围随 Daemon 认证和已有能力变化。CLI 还提供 `app-server instructions-init`、`app-server verify` 和 `app-server verify-status`,用于预览项目约定、按当前候选创建验证计划和读取持久验证结果。上一版的 HTTP/SSE 与 `/rpc/stream` 沿用原入口。只有持 Daemon bearer 的客户端可提交 Run 审批和提问答案、启动 Verify 或 Review,以及触发满足 conformance 的只读外部 Runner 派发。连接按工作区绑定。未登记的检查显示 `blocked`。`thread/snapshot` 返回当前 Turn、Run、Goal、待决审批/提问和持久游标,`context/inspect` 返回已封存的上下文与项目规则清单。App Server 还提供受工作区、Thread 或 Work Item 归属约束的 `artifact/read`,以及 `model/list` 和 `skill/read` 只读能力。 -实现分支已经把协议合同、WebSocket 协商、Thread/Turn 生命周期、Work Item 控制与证据、开发工作流入口、协作记录、审议触发策略、外部 Agent 注册与任务受理接入同一个 App Server RPC。协作记录复用 Work Item 证据板的持久 CAS 与幂等边界,外部 Agent 任务在派发前核对 Work Item 当前 revision 和 control state。 +实现分支已经把协议合同、WebSocket 协商、Thread/Turn 生命周期、Work Item 控制与证据、开发工作流入口、协作记录、审议触发策略、外部 Agent 注册与任务受理接入同一个 App Server RPC。协作记录复用 Work Item 证据板的持久 CAS 与幂等边界,外部 Agent 任务在派发前核对 Work Item 当前 revision 和 control state。接受的 Plan 可原子绑定到 Workflow,阶段读取和阶段事件复用 Workflow 的实际步骤与结果。绑定后旧的会话接单、人工 claim 和 Workflow 直接启动都经过同一个 Work Item 控制闸门,暂停、依赖未完成、候选或 Plan 版本变化会停止新的派发。 已验证的关键回归包括 App Server WebSocket、stdio/Unix socket、MCP bridge、Work Item 控制与证据、协作记录回放、开发工作流服务、外部 Agent federation、配置的 Pi Runner 和 API Client。Verify plan/operation 和 Federation ledger 已接入工作区 SQLite 的 app_server_state,按来源工作区恢复,Daemon 重启后会把无法确认的 queued/running Verify 和外部 running task 标记为 unknown,要求原所有者重新核对。Verify 只接受默认或 Host 登记的配方,执行前后核对候选 digest。Host 登记的配方还绑定路径选择、独立 verifier source、coverage digest 和 producer refs,命令输出以有限大小保存并脱敏。重复 start/cancel 使用同一收据,取消会传递给实际检查进程。Work Item acceptance 通过同一 SQLite 事务写入 receipt、状态和 revision。外部任务在 Work Item revision/control、Runner external boundary、工具 conformance、只读工具范围和 admission fence 通过后调用已配置的真实 Adapter。注册、能力读取、任务接入、重连和取消均以请求工作区选择 federation ledger,重复提交不重复派发,Adapter 失败、取消未确认和断线重启均保留 unknown。普通 `turn/start` 通过同一会话受理、准备快照和 Run 入口,`submission/read` 与 `turn/resume` 可在重连后读取原收据,已准备但尚未派发的 Turn 通过原请求恢复同一 Turn。停止的 Turn 在实际执行和效果收敛后,可用明确的恢复键受理后继 Turn。用户提问由 Host 事务产生 `pending` 事件,认证客户端从线程快照取得短期 authority,通过 `input/respond` 复用公共解析、权限和版本 CAS,答复事件在重启后按原身份回放,已结束的问题不会再次要求应答。项目规则在准备快照时按路径读取并封存 digest,`instructions/init` 只在预览版本仍匹配且目标未被占用时原子写入。Review 先捕获候选两次,再读取基线的 `Code Review Rules` 和显式 `REVIEW.md`,规则与发现项处置由同一候选和幂等收据约束。App Server 的 operator 写操作要求认证凭据,能力与方法表只公布当前连接可用的实现。已用本机安装的 Codex App Server 通过 MCP bridge 创建 Ling Thread、提交配置 Pi Runner Turn,并从 Ling 游标恢复 Turn 事件。平台和兼容证据随 PR 检查及发行矩阵记录。 @@ -28,6 +28,8 @@ - 普通会话可从最新已收敛的 Turn 封存 Handoff。记录包含候选、原 Goal 进度、接受的计划和产物引用。接手通过正常会话分支和提交受理复用原回执。候选、Goal 或计划变化时需要更新 Handoff。 - App Server operator grant 支持 workspace、Thread 和 Work Item 范围,按 scope 分开观察、控制、审批和答复权限。grant 的 revision、过期和撤销参与握手、请求和推送路径。 - CLI 和 TypeScript client 可以直接进入上述流程。Daemon 重启、重复请求、取消未确认和未知配方仍保持已有的持久回执语义。 +- MCP bridge 暴露 Work Item 阶段、协作记录、受限 artifact range、模型清单和 Skill 读取。artifact 元数据去除内容摘要,正文只能按授权的 Thread/Work Item/Run 归属读取,并受单次范围上限约束。 +- Work Board 的 Work Item 详情显示已接受 Workflow 的阶段状态、参与者、阻塞、结果摘要和关联 Run,支持分页与重试。`work_items` 控制面事件会触发看板刷新,绑定 Workflow 的工作项不再显示 legacy claim 入口。 | 工作包 | 已验证场景与证据边界 | | --- | --- | diff --git a/packages/api-client/src/app-server.ts b/packages/api-client/src/app-server.ts index 156ea7027..290b259d8 100644 --- a/packages/api-client/src/app-server.ts +++ b/packages/api-client/src/app-server.ts @@ -10,6 +10,11 @@ import type { LingAppServerCapability, LingAppServerCaptureChangesResult, LingAppServerCapabilitiesResult, + LingAppServerArtifactReadParams, + LingAppServerArtifactReadResult, + LingAppServerModelListResult, + LingAppServerSkillReadResult, + LingAppServerPermissionProfileListResult, LingAppServerContextInspectParams, LingAppServerContextInspectResult, LingAppServerThreadSnapshotParams, @@ -187,6 +192,26 @@ export class LingAppServerClient { return await this.request("server/capabilities", {}); } + async listModels(offset?: number): Promise { + await this.connect(); + return await this.request("model/list", { offset }); + } + + async readSkill(skillId: string): Promise { + await this.connect(); + return await this.request("skill/read", { skillId }); + } + + async listPermissionProfiles(): Promise { + await this.connect(); + return await this.request("permissionProfile/list", {}); + } + + async readArtifact(params: LingAppServerArtifactReadParams): Promise { + await this.connect(); + return await this.request("artifact/read", params); + } + async readThread(threadId: string): Promise { await this.connect(); return await this.request("thread/read", { threadId }); @@ -277,6 +302,11 @@ export class LingAppServerClient { return await this.request("workItem/accept", params); } + async bindWorkItemWorkflow(params: import("@ling-stack/contracts").LingAppServerWorkItemWorkflowBindParams): Promise { + await this.connect(); + return await this.request("workItem/workflow/bind", params); + } + async startThread(params: Record): Promise { await this.connect(); return await this.request("thread/start", params); @@ -469,6 +499,11 @@ export class LingAppServerClient { return await this.request("workItem/collaboration/read", params); } + async readWorkItemStages(workItemId: string, stageOffset = 0): Promise { + await this.connect(); + return await this.request("workItem/stage/read", { workItemId, stageOffset }); + } + async appendWorkItemCollaboration(params: LingAppServerWorkItemCollaborationAppendParams): Promise { await this.connect(); return await this.request("workItem/collaboration/append", params); diff --git a/packages/api-client/src/endpoints/operations.ts b/packages/api-client/src/endpoints/operations.ts index 61d44b909..9b6787995 100644 --- a/packages/api-client/src/endpoints/operations.ts +++ b/packages/api-client/src/endpoints/operations.ts @@ -120,8 +120,8 @@ export const operationEndpoints = { }); }, - async getWorkItem(this: LingDaemonEndpointContext, cwd: string, workItemId: string): Promise { - return this._get(`/work-items/${encodeURIComponent(workItemId)}`, { cwd }); + async getWorkItem(this: LingDaemonEndpointContext, cwd: string, workItemId: string, stageOffset?: number): Promise { + return this._get(`/work-items/${encodeURIComponent(workItemId)}`, { cwd, stageOffset }); }, async routeWorkItem(this: LingDaemonEndpointContext, cwd: string, workItemId: string, input: WorkItemRouteRequest): Promise { diff --git a/packages/contracts/src/app-server.ts b/packages/contracts/src/app-server.ts index ebbbc0ec2..165aea6fd 100644 --- a/packages/contracts/src/app-server.ts +++ b/packages/contracts/src/app-server.ts @@ -1,7 +1,10 @@ import type { CodeAssessmentFinding, CodeAssessmentReviewRules, CodeAssessmentSnapshot, CodeFindingCloseReason } from "./code-assessments.js"; +import type { RunArtifact } from "./artifacts.js"; import type { ApprovalSummary, ControlPlaneEventsResponse, ControlPlaneReplayWindow } from "./control-plane.js"; import type { ConversationContextProjectionMetadata } from "./conversation-continuity.js"; import type { RunSession } from "./runtime.js"; +import type { ProviderPreset } from "./providers.js"; +import type { SkillDefinition, SkillRegistryEntry } from "./skills.js"; import type { LingThread, LingThreadGoal } from "./threads.js"; import type { LingTurn, LingTurnRun } from "./turns.js"; import type { ManagedWorktreeEntry, ManagedWorktreeOwnerKind, WorktreeRecoverySnapshot } from "./worktrees.js"; @@ -138,6 +141,7 @@ export const LING_APP_SERVER_METHODS = [ "workItem/read", "workItem/list", "workItem/accept", + "workItem/workflow/bind", "workItem/clarify", "workItem/pause", "workItem/resume", @@ -394,6 +398,52 @@ export interface LingAppServerCapabilitiesResult { readonly notifications: readonly LingAppServerNotificationMethod[]; } +export interface LingAppServerArtifactReadParams { + readonly cwd?: string; + readonly artifactId: string; + readonly offset?: number; + readonly limit?: number; + readonly threadId?: string; + readonly workItemId?: string; + readonly runId?: string; +} + +export const LING_APP_SERVER_ARTIFACT_RANGE_BYTES = 64 * 1024; + +export interface LingAppServerArtifactReadResult { + readonly cwd: string; + readonly artifact: Omit; + readonly contentBase64?: string; + readonly offset?: number; + readonly endExclusive?: number; + readonly sizeBytes?: number; + readonly partial?: boolean; +} + +export interface LingAppServerModelListResult { + readonly cwd: string; + readonly models: readonly Pick[]; + readonly nextOffset?: number; +} + +export interface LingAppServerSkillReadResult { + readonly cwd: string; + readonly skill: Pick & { + readonly definition: Pick; + }; +} + +export interface LingAppServerPermissionProfileListResult { + readonly cwd: string; + readonly profiles: readonly { + readonly id: string; + readonly authorizationModes: readonly string[]; + readonly workspaceAccessModes: readonly string[]; + readonly sessionPermissionModes: readonly string[]; + }[]; +} + export interface LingAppServerEventSubject { readonly kind: "thread" | "workItem"; readonly threadId?: string; @@ -561,6 +611,48 @@ export interface LingAppServerWorkItemReadResult extends LingAppServerWorkItemRe }; } +export interface LingAppServerWorkItemWorkflowBindParams { + readonly cwd?: string; + readonly workItemId: string; + readonly planId: string; + readonly expectedPlanRevision: number; + readonly expectedWorkItemRevision: number; + readonly idempotencyKey: string; +} + +export interface LingAppServerWorkItemWorkflowBinding { + readonly workItemId: string; + readonly workflowId: string; + readonly threadId: string; + readonly planId: string; + readonly planRevision: number; + readonly linkedAt: string; +} + +export interface LingAppServerWorkItemWorkflowBindResult extends LingAppServerWorkItemResult { + readonly binding: LingAppServerWorkItemWorkflowBinding; + readonly replayed: boolean; +} + +export interface LingAppServerWorkItemWorkflowStages { + readonly workflowId: string; + readonly planRevision: string; + readonly status: import("./workflows.js").ChannelWorkflowStatus; + readonly admissionBlocker?: string; + readonly nextOffset?: number; + readonly steps: readonly { + readonly stepId: string; + readonly title: string; + readonly status: import("./workflows.js").ChannelWorkflowStepStatus; + readonly participantLabel: string; + readonly dependencyIds: readonly string[]; + readonly updatedAt: string; + readonly runId?: string; + readonly outputArtifactId?: string; + readonly brief?: string; + }[]; +} + export interface LingAppServerWorkItemControlResult extends LingAppServerWorkItemResult { readonly controlReceipt: LingWorkItemControlReceipt; readonly replayed: boolean; @@ -669,6 +761,7 @@ export interface LingAppServerWorkItemCollaborationReadResult { readonly workItemId: string; readonly records: readonly LingAppServerWorkItemCollaborationRecord[]; readonly nextAfterRevision: number; + readonly workflow?: LingAppServerWorkItemWorkflowStages; } export interface LingAppServerWorkItemCollaborationAppendParams { diff --git a/packages/contracts/src/work-items.ts b/packages/contracts/src/work-items.ts index e8d5a2376..588b1154a 100644 --- a/packages/contracts/src/work-items.ts +++ b/packages/contracts/src/work-items.ts @@ -48,6 +48,7 @@ export interface WorkItem { readonly runId?: string; readonly workflowId?: string; readonly workflowStepId?: string; + readonly planRevision?: string; readonly externalWorkId?: string; readonly externalWorkActionId?: string; readonly approvalId?: string; @@ -91,7 +92,7 @@ export interface WorkItemHeartbeatRequest { } export interface WorkItemClaimBlocker { - readonly code: "dependency_blocked" | "already_claimed" | "retry_budget_exhausted" | "terminal"; + readonly code: "dependency_blocked" | "already_claimed" | "retry_budget_exhausted" | "terminal" | "control_blocked"; readonly message: string; readonly dependencyIds?: readonly string[]; readonly claimedBy?: string; @@ -106,6 +107,7 @@ export interface WorkItemListResponse { export interface WorkItemDetailResponse { readonly cwd: string; readonly workItem: WorkItemView; + readonly workflow?: import("./app-server.js").LingAppServerWorkItemWorkflowStages; } export interface WorkItemMutationResponse { diff --git a/packages/core/src/app-server-state-types.ts b/packages/core/src/app-server-state-types.ts index ffae23bdc..bbeff9c51 100644 --- a/packages/core/src/app-server-state-types.ts +++ b/packages/core/src/app-server-state-types.ts @@ -5,7 +5,7 @@ export type AppServerStateKind = "verify_plan" | "verify_operation" | "review_su | "replay_identity" | "handoff" | "authorization_grant" | "work_item_target" | "work_item_source" | "github_delivery" | "github_delivery_current" | "work_item_thread" | "automation_coordination" | "coordination_round" | "coordination_automation_run" | "project_instruction_update" - | "change_recovery_request" | "github_intake_pending" | "github_intake_receipt" | "github_intake_dispatch"; + | "change_recovery_request" | "github_intake_pending" | "github_intake_receipt" | "github_intake_dispatch" | "work_item_workflow"; export interface AppServerStateRecord { readonly workspaceId: string; diff --git a/packages/core/src/run-types.ts b/packages/core/src/run-types.ts index 946928217..bf5f709ea 100644 --- a/packages/core/src/run-types.ts +++ b/packages/core/src/run-types.ts @@ -2698,6 +2698,14 @@ export interface RunStore extends AutomationEventStore, CodeAssessmentStore, Cod listWorkItems(options?: ListWorkItemsOptions, now?: string): WorkItem[]; routeWorkItem(id: string, input: WorkItemRouteRequest, now: string): WorkItem | undefined; acceptWorkItem(id: string, input: import("./work-item-types.js").WorkItemAcceptanceRequest, now: string, eventCwd?: string): import("./work-item-types.js").WorkItemAcceptanceResult | undefined; + bindWorkItemWorkflow(input: import("@ling-stack/contracts").LingAppServerWorkItemWorkflowBindParams, now: string): { + readonly binding: import("@ling-stack/contracts").LingAppServerWorkItemWorkflowBinding; + readonly workItem: WorkItem; + readonly replayed: boolean; + readonly event?: ControlPlaneEvent; + }; + getWorkItemWorkflowAdmissionBlocker(workflowId: string): string | undefined; + listActiveWorkItemWorkflowIds(limit: number): readonly string[]; checkWorkItemConversationAdmission(threadId: string, submissionKey: unknown, automaticIntakeReceiptId?: string): WorkItem | undefined; claimWorkItem(id: string, input: WorkItemClaimRequest, now: string): { readonly workItem: WorkItem; readonly claimToken?: string; readonly blocker?: WorkItemClaimBlocker } | undefined; heartbeatWorkItem(id: string, input: WorkItemHeartbeatRequest, now: string): WorkItem | undefined; diff --git a/packages/core/src/storage/sqlite-run-store.ts b/packages/core/src/storage/sqlite-run-store.ts index f95337d1f..ab3464796 100644 --- a/packages/core/src/storage/sqlite-run-store.ts +++ b/packages/core/src/storage/sqlite-run-store.ts @@ -1761,6 +1761,9 @@ export class SqliteRunStore implements RunStore { { assertChannelExists: (channelId) => this.assertChannelExists(channelId), hasAiTeammate: (id) => Boolean(this.getAiTeammate(id)), + getProposedPlanArtifact: (id) => this.getProposedPlanArtifact(id), + getChannelWorkflow: (id) => this.getChannelWorkflow(id), + getRun: (id) => this.getRun(id), }, ); this.workItemEvidence = new SqliteWorkItemEvidenceStore({ database: this.database }); @@ -6146,6 +6149,18 @@ export class SqliteRunStore implements RunStore { return this.workItems.acceptWorkItem(id, input, now, this.appServerState, { store: this.controlPlane, cwd: eventCwd }); } + bindWorkItemWorkflow(input: import("@ling-stack/contracts").LingAppServerWorkItemWorkflowBindParams, now: string) { + return this.workItems.bindWorkflow(input, now, this.appServerState, { store: this.controlPlane, cwd: this.paths.cwd }); + } + + getWorkItemWorkflowAdmissionBlocker(workflowId: string): string | undefined { + return this.workItems.getWorkflowAdmissionBlocker(workflowId, this.appServerState); + } + + listActiveWorkItemWorkflowIds(limit: number): readonly string[] { + return this.workItems.listActiveWorkflowIds(limit); + } + checkWorkItemConversationAdmission(threadId: string, submissionKey: unknown, automaticIntakeReceiptId?: string): WorkItem | undefined { return this.workItems.checkConversationAdmission(threadId, submissionKey, this.appServerState, automaticIntakeReceiptId); } diff --git a/packages/core/src/storage/sqlite/channel-workflow-start-store.ts b/packages/core/src/storage/sqlite/channel-workflow-start-store.ts index 3c3ffd3be..5865d7914 100644 --- a/packages/core/src/storage/sqlite/channel-workflow-start-store.ts +++ b/packages/core/src/storage/sqlite/channel-workflow-start-store.ts @@ -23,7 +23,7 @@ import { workflowParallelAdmissionAllowed } from "./workflow-parallel-parent-gua import { workflowIsolationSelectionReady } from "./workflow-isolation-selection.js"; import type { RuntimeHostCapacityJournal } from "../../runtime-host-capacity-store-bridge.js"; -type Ports = WorkflowStepStartReadStore & Pick; +type Ports = WorkflowStepStartReadStore & Pick; function isNativeProfileBinding(value: unknown): boolean { return value !== null && typeof value === "object" && !Array.isArray(value) @@ -40,6 +40,8 @@ export class SqliteChannelWorkflowStartStore { return this.transaction(() => { const step = this.ports.getChannelWorkflowStep(input.workflowStepId); if (!step || !sameExpected(step, input.expected)) return { status: "stale", code: "workflow_start_basis_stale" }; + const workItemBlocker = this.ports.getWorkItemWorkflowAdmissionBlocker(step.workflowId); + if (workItemBlocker) return { status: "invalid", code: workItemBlocker }; if (!workflowIsolationSelectionReady(this.context.database, step.workflowId)) { return { status: "invalid", code: "workflow_isolation_selection_not_ready" }; } @@ -165,6 +167,8 @@ export class SqliteChannelWorkflowStartStore { && (!hasAdmission || this.admissions.isTransferredWithinTransaction(step.id, input.owner, run.id, toRuntimeAttemptFence(attempt))) ? { status: "duplicate" } : { status: "stale", code: "workflow_start_run_stale" }; if (owner?.phase !== "preparing" || step.runId) return { status: "stale", code: "workflow_start_run_stale" }; + const workItemBlocker = this.ports.getWorkItemWorkflowAdmissionBlocker(step.workflowId); + if (workItemBlocker) return { status: "invalid", code: workItemBlocker }; if (task.currentRunId || this.context.database.prepare("SELECT id FROM run_sessions WHERE task_id=? AND id<>? LIMIT 1").get(task.id, run.id)) { return { status: "stale", code: "workflow_start_task_run_stale" }; } diff --git a/packages/core/src/storage/sqlite/channel-workflow-store.ts b/packages/core/src/storage/sqlite/channel-workflow-store.ts index e1689abc4..b67b10745 100644 --- a/packages/core/src/storage/sqlite/channel-workflow-store.ts +++ b/packages/core/src/storage/sqlite/channel-workflow-store.ts @@ -1416,9 +1416,9 @@ export class SqliteChannelWorkflowStore { .map((row) => mapChannelWorkflowStep(row as Record)); } const limit = Math.min(Math.max(options.limit ?? 100, 1), 500); - params.push(limit); + params.push(limit, options.offset ?? 0); return this.context.database - .prepare(`${channelWorkflowStepSelectSql(`WHERE ${clauses.join(" AND ")}`)} ORDER BY position ASC, created_at ASC LIMIT ?`) + .prepare(`${channelWorkflowStepSelectSql(`WHERE ${clauses.join(" AND ")}`)} ORDER BY position ASC, created_at ASC, id ASC LIMIT ? OFFSET ?`) .all(...params) .map((row) => mapChannelWorkflowStep(row as Record)); } diff --git a/packages/core/src/storage/sqlite/ling-thread-cleanup-store.ts b/packages/core/src/storage/sqlite/ling-thread-cleanup-store.ts index b2c755b19..a8993b3c2 100644 --- a/packages/core/src/storage/sqlite/ling-thread-cleanup-store.ts +++ b/packages/core/src/storage/sqlite/ling-thread-cleanup-store.ts @@ -110,11 +110,13 @@ export class SqliteLingThreadCleanupStore { listWorkItemDependencies(threadId: string, workspaceId: string): readonly string[] { return this.context.database.prepare(`SELECT DISTINCT w.id FROM app_server_state s JOIN work_items w - ON w.workspace_id=s.workspace_id AND w.id=json_extract(s.payload_json, '$.workItemId') + ON w.workspace_id=s.workspace_id AND w.id=coalesce( + json_extract(s.payload_json, '$.workItemId'), json_extract(s.payload_json, '$.binding.workItemId')) WHERE s.workspace_id=? AND w.status!='archived' AND ( s.kind='work_item_thread' AND s.record_id=? OR - s.kind='github_delivery_current' AND json_extract(s.payload_json, '$.threadId')=? - ) ORDER BY w.id`).all(workspaceId, threadId, threadId).map(row => readString(row, "id")); + s.kind='github_delivery_current' AND json_extract(s.payload_json, '$.threadId')=? OR + s.kind='work_item_workflow' AND json_extract(s.payload_json, '$.binding.threadId')=? + ) ORDER BY w.id`).all(workspaceId, threadId, threadId, threadId).map(row => readString(row, "id")); } } diff --git a/packages/core/src/storage/sqlite/work-item-store.ts b/packages/core/src/storage/sqlite/work-item-store.ts index dc4450018..5739c1c14 100644 --- a/packages/core/src/storage/sqlite/work-item-store.ts +++ b/packages/core/src/storage/sqlite/work-item-store.ts @@ -36,12 +36,17 @@ import { workItemSelectSql } from "./select-sql.js"; import type { SqliteStoreContext } from "./store-context.js"; import type { SqliteAppServerStateStore } from "./app-server-state-store.js"; import type { SqliteControlPlaneStore } from "./control-plane-store.js"; -import type { LingAppServerGitHubDelivery, LingAppServerGitHubIntakeReceipt, LingAppServerWorkItemSourceReceipt } from "@ling-stack/contracts"; +import type { LingAppServerGitHubDelivery, LingAppServerGitHubIntakeReceipt, LingAppServerWorkItemSourceReceipt, + LingAppServerWorkItemWorkflowBindParams, LingAppServerWorkItemWorkflowBinding } from "@ling-stack/contracts"; +import type { RunStore } from "../../run-types.js"; import { normalConversationSubmissionKey } from "../../conversation-item-store-types.js"; export interface SqliteWorkItemStorePorts { readonly assertChannelExists: (channelId: string) => void; readonly hasAiTeammate: (id: string) => boolean; + readonly getProposedPlanArtifact: RunStore["getProposedPlanArtifact"]; + readonly getChannelWorkflow: RunStore["getChannelWorkflow"]; + readonly getRun: RunStore["getRun"]; } interface WorkItemCreationReceipt { @@ -54,6 +59,11 @@ interface WorkItemControlSubmission { readonly receipt: WorkItemControlReceipt; } +interface WorkItemWorkflowLink { + readonly binding: LingAppServerWorkItemWorkflowBinding; + readonly fingerprint: string; +} + export class SqliteWorkItemStore { constructor( private readonly context: SqliteStoreContext, @@ -416,6 +426,9 @@ export class SqliteWorkItemStore { if (!existing) { return undefined; } + if (existing.workflowId && existing.planRevision && input.channelId !== undefined && input.channelId !== existing.channelId) { + throw new Error("Work item is assigned to a Workflow in its current channel."); + } if (input.channelId) { this.ports.assertChannelExists(input.channelId); } @@ -457,7 +470,8 @@ export class SqliteWorkItemStore { const event = events.store.appendControlPlaneEventWithinTransaction({ workspaceId: workItem.workspaceId, cwd: events.cwd, domain: "work_items", entityType: "work_item", entityId: id, action: receipt.dispatch ? "work_item.thread.linked" : "work_item.accepted", idempotencyKey: receipt.id, - data: { workItemId: id, revision: receipt.workItemRevision, actorId: receipt.actorId, acceptanceId: receipt.id }, + data: { workItemId: id, revision: receipt.workItemRevision, actorId: receipt.actorId, acceptanceId: receipt.id, + ...(receipt.dispatch ? { threadId: receipt.dispatch.threadId } : {}) }, }, now); database.exec("COMMIT"); return { ...result, event }; @@ -518,11 +532,107 @@ export class SqliteWorkItemStore { return state.get("work_item_thread", threadId)?.payload as WorkItemConversationBinding | undefined; } + bindWorkflow(input: LingAppServerWorkItemWorkflowBindParams, now: string, state: SqliteAppServerStateStore, + events: { readonly store: SqliteControlPlaneStore; readonly cwd: string }) { + const { workItemId, planId, expectedPlanRevision, expectedWorkItemRevision, idempotencyKey } = input; + const fingerprint = createHash("sha256").update(JSON.stringify([workItemId, planId, expectedPlanRevision, expectedWorkItemRevision])).digest("hex"); + const { database } = this.context; + database.exec("BEGIN IMMEDIATE"); + try { + const retained = state.findByIdempotencyKey("work_item_workflow", idempotencyKey)?.payload as WorkItemWorkflowLink | undefined; + const item = this.getWorkItem(workItemId); + if (!item) throw new Error("work_item_workflow_not_found"); + if (retained) { + if (retained.fingerprint !== fingerprint) throw new Error("work_item_workflow_idempotency_conflict"); + database.exec("COMMIT"); + return { binding: retained.binding, workItem: item, replayed: true }; + } + const plan = this.ports.getProposedPlanArtifact(planId); + const workflow = plan?.acceptedWorkflowId && this.ports.getChannelWorkflow(plan.acceptedWorkflowId); + const acceptance = state.get("work_item_acceptance", item.id)?.payload as WorkItemAcceptanceReceipt | undefined; + if (!plan || !workflow || plan.workspaceId !== item.workspaceId || workflow.workspaceId !== item.workspaceId + || plan.status !== "accepted" || item.channelId && workflow.channelId !== item.channelId + || !acceptance) throw new Error("work_item_workflow_not_found"); + if (item.revision !== expectedWorkItemRevision || plan.revision !== expectedPlanRevision + || item.workflowId || state.get("work_item_workflow", workflow.id)) throw new Error("work_item_workflow_stale"); + if (item.control.state !== "active" || item.holds.some(hold => hold.blocksNewAdmission) + || item.control.unresolvedEffectIds.length || item.taskId || item.claim && item.claim.expiresAt > now + || acceptance.dispatch && !this.conversationDispatchSettled(acceptance, item) + || !["ready", "running", "waiting", "review"].includes(item.status) + || !["draft", "ready"].includes(workflow.status)) throw new Error("work_item_workflow_held"); + const binding = { workItemId, workflowId: workflow.id, threadId: plan.threadId, + planId, planRevision: plan.revision, linkedAt: now }; + state.putWithinTransaction({ kind: "work_item_workflow", recordId: workflow.id, idempotencyKey, expectedRevision: 0, + payload: { binding, fingerprint } satisfies WorkItemWorkflowLink }, now); + database.prepare(`UPDATE work_items SET workflow_id=?, plan_revision=?, channel_id=?, revision=revision+1, updated_at=?, + claim_owner_id=NULL, claim_token=NULL, claimed_at=NULL, heartbeat_at=NULL, claim_expires_at=NULL + WHERE workspace_id=? AND id=?`).run(workflow.id, `${planId}:${plan.revision}`, workflow.channelId, now, item.workspaceId, item.id); + const event = events.store.appendControlPlaneEventWithinTransaction({ + workspaceId: item.workspaceId, cwd: events.cwd, domain: "work_items", entityType: "work_item", entityId: item.id, + action: "work_item.workflow.linked", data: { workItemId, workflowId: workflow.id, threadId: plan.threadId, revision: item.revision + 1 }, + }, now); + const workItem = this.getWorkItem(workItemId)!; + database.exec("COMMIT"); + return { binding, workItem, replayed: false, event }; + } catch (error) { + rollbackOwnedSqliteTransaction(database); + throw error; + } + } + + private conversationDispatchSettled(acceptance: WorkItemAcceptanceReceipt, item: WorkItem): boolean { + const run = item.runId ? this.ports.getRun(item.runId) : undefined; + const threadId = acceptance.dispatch?.threadId; + return Boolean(run && threadId && run.threadId === threadId && ["succeeded", "failed", "cancelled"].includes(run.status) + && !this.context.database.prepare(`SELECT 1 FROM ling_turns WHERE thread_id=? + AND status IN ('queued','running','waiting_for_approval','waiting_for_input') LIMIT 1`).get(threadId)); + } + + getWorkflowAdmissionBlocker(workflowId: string, state: SqliteAppServerStateStore): string | undefined { + const link = state.get("work_item_workflow", workflowId)?.payload as WorkItemWorkflowLink | undefined; + if (!link) return undefined; + const binding = link.binding; + const item = this.getWorkItem(binding.workItemId); + const plan = this.ports.getProposedPlanArtifact(binding.planId); + if (!item || item.workflowId !== workflowId || item.planRevision !== `${binding.planId}:${binding.planRevision}` + || !plan?.acceptedAt || plan.status !== "accepted" || plan.acceptedWorkflowId !== workflowId) return "work_item_workflow_stale"; + if (item.control.state !== "active" || item.holds.some(hold => hold.blocksNewAdmission) + || item.control.unresolvedEffectIds.length || ["done", "cancelled", "archived", "superseded"].includes(item.status)) { + return "work_item_workflow_held"; + } + if (this.incompleteWorkItemDependencyIds(item).length) return "work_item_workflow_dependency_blocked"; + return undefined; + } + + listActiveWorkflowIds(limit: number): readonly string[] { + return this.context.database.prepare(` + SELECT workflow.id FROM channel_workflows workflow + JOIN app_server_state binding ON binding.workspace_id=workflow.workspace_id + AND binding.kind='work_item_workflow' AND binding.record_id=workflow.id + JOIN work_items item ON item.id=json_extract(binding.payload_json, '$.binding.workItemId') + AND item.workspace_id=workflow.workspace_id AND item.workflow_id=workflow.id + JOIN ling_thread_proposed_plans plan ON plan.id=json_extract(binding.payload_json, '$.binding.planId') + AND plan.workspace_id=workflow.workspace_id AND plan.accepted_workflow_id=workflow.id + WHERE workflow.workspace_id=? AND workflow.status IN ('ready','running','waiting_for_approval') + AND plan.status='accepted' AND item.control_state='active' + AND item.status NOT IN ('done','cancelled','archived','superseded') + AND json_array_length(item.control_unresolved_effect_ids_json)=0 + AND NOT EXISTS (SELECT 1 FROM json_each(item.holds_json) WHERE json_extract(value,'$.blocksNewAdmission')=1) + AND NOT EXISTS ( + SELECT 1 FROM work_item_dependencies edge + LEFT JOIN work_items dependency ON dependency.id=edge.depends_on_work_item_id + WHERE edge.work_item_id=item.id AND coalesce(dependency.status,'missing')!='done' + ) + ORDER BY workflow.updated_at ASC, workflow.id ASC LIMIT ? + `).all(DEFAULT_WORKSPACE_ID, limit).map(row => readString(row, "id")); + } + checkConversationAdmission(threadId: string, submissionKey: unknown, state: SqliteAppServerStateStore, automaticIntakeReceiptId?: string): WorkItem | undefined { const binding = this.getConversationBinding(threadId, state); if (!binding) return undefined; const workItem = this.getWorkItem(binding.workItemId); - if (!workItem || workItem.control.state !== "active" || workItem.control.unresolvedEffectIds.length > 0 + if (!workItem || (workItem.workflowId && state.get("work_item_workflow", workItem.workflowId)) + || workItem.control.state !== "active" || workItem.control.unresolvedEffectIds.length > 0 || workItem.holds.some(hold => hold.blocksNewAdmission) || ["done", "cancelled", "superseded", "archived"].includes(workItem.status)) throw new Error("work_item_dispatch_held"); if (!workItem.runId && binding.submissionKey !== submissionKey @@ -576,6 +686,9 @@ export class SqliteWorkItemStore { if (!existing) return undefined; const acceptance = state.get("work_item_acceptance", id)?.payload as WorkItemAcceptanceReceipt | undefined; const intake = state.get("github_intake_dispatch", id)?.payload as GitHubIntakeDispatchIntent | undefined; + if (existing.workflowId && state.get("work_item_workflow", existing.workflowId)) { + return { workItem: existing, blocker: { code: "control_blocked" as const, message: "Work item has an assigned Workflow owner." } }; + } if (acceptance?.dispatch || intake?.status === "pending") { return { workItem: existing, blocker: { code: "control_blocked" as const, message: "Work item has an assigned conversation owner." } }; } @@ -818,10 +931,7 @@ export class SqliteWorkItemStore { claimExpiresAt: item.claim.expiresAt, }; } - const incompleteDependencies = item.dependencyIds.filter((dependencyId) => { - const dependency = this.getWorkItem(dependencyId); - return !dependency || dependency.status !== "done"; - }); + const incompleteDependencies = this.incompleteWorkItemDependencyIds(item); if (incompleteDependencies.length > 0) { return { code: "dependency_blocked", @@ -831,6 +941,10 @@ export class SqliteWorkItemStore { } return undefined; } + + private incompleteWorkItemDependencyIds(item: WorkItem): readonly string[] { + return item.dependencyIds.filter(id => this.getWorkItem(id)?.status !== "done"); + } } function sameConversationDispatch(left: WorkItemAcceptanceReceipt["dispatch"], right: WorkItemAcceptanceRequest["dispatch"]): boolean { diff --git a/packages/core/src/workspace-types.ts b/packages/core/src/workspace-types.ts index 9a3afb7d9..a70812a4f 100644 --- a/packages/core/src/workspace-types.ts +++ b/packages/core/src/workspace-types.ts @@ -2608,6 +2608,7 @@ export interface ListChannelWorkflowStepsOptions { readonly workflowId: string; readonly status?: ChannelWorkflowStepStatus; readonly limit?: number; + readonly offset?: number; /** Read the complete durable workflow-step history for canonical evidence paths. */ readonly complete?: boolean; } diff --git a/packages/daemon/src/features/channels/channel-turn-dispatch-executor.ts b/packages/daemon/src/features/channels/channel-turn-dispatch-executor.ts index 12bc4382e..217781914 100644 --- a/packages/daemon/src/features/channels/channel-turn-dispatch-executor.ts +++ b/packages/daemon/src/features/channels/channel-turn-dispatch-executor.ts @@ -43,6 +43,7 @@ import { orchestrateChannelWorkflow, type StartOrchestratedWorkflowStepRun, } from "./orchestrator.js"; +import { publishWorkItemWorkflowStep } from "../work-items/workflow-stages.js"; import { confirmChannelExecutionProposalWorkflow } from "./proposal-workflows.js"; export interface ChannelTurnDispatchExecutorOptions { @@ -344,10 +345,12 @@ export function createStartOrchestratedRun( { enableUserInputPause: true, onRunReady: (runId) => { + publishWorkItemWorkflowStep(store, options.controlPlaneEvents, workflowStep.id); resolveOnce(runId); }, afterRunTerminal: async (terminalRun) => { finalizeOrchestratedWorkflowStepRun(store, workflowStep.id, taskId, terminalRun); + publishWorkItemWorkflowStep(store, options.controlPlaneEvents, workflowStep.id); await options.afterRunTerminal?.(terminalRun); if (terminalRun.status === "succeeded") { await orchestrateChannelWorkflow({ diff --git a/packages/daemon/src/features/channels/orchestrator.ts b/packages/daemon/src/features/channels/orchestrator.ts index 7f2eef3e3..68f7e8e42 100644 --- a/packages/daemon/src/features/channels/orchestrator.ts +++ b/packages/daemon/src/features/channels/orchestrator.ts @@ -153,6 +153,11 @@ export async function orchestrateChannelWorkflow(input: OrchestrateWorkflowInput throw new HttpError(404, "workflow_not_found", `Channel workflow not found: ${input.workflowId}`); } if (createSqliteNodeRerunStore(input.store).getBySource(workflow.id)) return { status: "blocked", workflow, blocker: "node_rerun_source_retired" }; + const workItemBlocker = input.store.getWorkItemWorkflowAdmissionBlocker(workflow.id); + if (workItemBlocker) { + reconcileWorkflowStepRuns(input.store, workflow.id); + return { status: "blocked", workflow: input.store.getChannelWorkflow(workflow.id) ?? workflow, blocker: workItemBlocker }; + } assertWorkflowIsolationSelectionIntegrity(input.store, workflow.id, input.isolationHost); syncWorkflowSourceTurnProgress(input.store, workflow, new Date().toISOString()); const planModeBlocker = getWorkflowPlanModeBlocker(input.store, workflow); diff --git a/packages/daemon/src/features/channels/workflows.ts b/packages/daemon/src/features/channels/workflows.ts index f03973d50..7408fecb7 100644 --- a/packages/daemon/src/features/channels/workflows.ts +++ b/packages/daemon/src/features/channels/workflows.ts @@ -739,6 +739,10 @@ export async function prepareWorkflowStepStart( if (!workflow) { return { kind: "error", statusCode: 404, code: "workflow_not_found", message: `Channel workflow not found: ${step.workflowId}` }; } + const workItemBlocker = store.getWorkItemWorkflowAdmissionBlocker(workflow.id); + if (workItemBlocker) { + return { kind: "error", statusCode: 409, code: workItemBlocker, message: "The Work Item cannot start a Workflow step." }; + } const channel = store.getChannel(step.channelId); if (!channel) { return { kind: "error", statusCode: 404, code: "channel_not_found", message: `Channel not found: ${step.channelId}` }; diff --git a/packages/daemon/src/features/runs/task-supervisor.ts b/packages/daemon/src/features/runs/task-supervisor.ts index 063f15852..f11ae181e 100644 --- a/packages/daemon/src/features/runs/task-supervisor.ts +++ b/packages/daemon/src/features/runs/task-supervisor.ts @@ -41,6 +41,10 @@ export class TaskSupervisor { } try { await this.advanceWorkflow(store, submission.successorWorkflowId); } catch { /* Normal workflow admission retains its durable blockers. */ } } + for (const workflowId of store.listActiveWorkItemWorkflowIds(8)) { + if (state.stopped) return; + this.advanceSource(cwd, workflowId, async () => { await this.advanceWorkflow(store, workflowId); }); + } const advanceInterventions = this.advanceRunInterventions; if (advanceInterventions) { for (const sourceRunId of store.listPendingConversationInterventionSources()) { diff --git a/packages/daemon/src/features/work-items/routes.ts b/packages/daemon/src/features/work-items/routes.ts index 2f8aeff68..6e2d5fd49 100644 --- a/packages/daemon/src/features/work-items/routes.ts +++ b/packages/daemon/src/features/work-items/routes.ts @@ -14,6 +14,7 @@ import type { ResolvedDaemonConfig } from "../../config.js"; import type { RunStoreRegistry } from "../../runtime/store-registry.js"; import { readJsonBody, readOptionalIntegerQuery } from "../../shared/request.js"; import { writeJson } from "../../shared/response.js"; +import { readWorkItemWorkflowStages } from "./workflow-stages.js"; import { isRecord, readOptionalBoolean, @@ -114,7 +115,8 @@ export async function handleWorkItemRoute( writeJson(response, 405, { error: "method_not_allowed", message: `${request.method} is not supported for work item detail` }); return; } - writeJson(response, 200, { cwd, workItem: existing }); + const stageOffset = readOptionalIntegerQuery(url, "stageOffset", 0); + writeJson(response, 200, { cwd, workItem: existing, workflow: readWorkItemWorkflowStages(store, existing, true, stageOffset) }); return; } diff --git a/packages/daemon/src/features/work-items/workflow-stages.ts b/packages/daemon/src/features/work-items/workflow-stages.ts new file mode 100644 index 000000000..f00fbb56a --- /dev/null +++ b/packages/daemon/src/features/work-items/workflow-stages.ts @@ -0,0 +1,46 @@ +import { createHash } from "node:crypto"; +import type { LingAppServerWorkItemWorkflowStages } from "@ling-stack/contracts"; +import type { RunStore, WorkItem } from "@ling-stack/core"; +import { appendControlPlaneEvent, type ControlPlaneEventHub } from "../control-plane/events.js"; + +/** Work Board and App Server project the actual Workflow owner and its retained evidence. */ +export function readWorkItemWorkflowStages(store: RunStore, item: WorkItem, includeEvidence: boolean, offset = 0): LingAppServerWorkItemWorkflowStages | undefined { + if (!item.workflowId || !item.planRevision || !store.getAppServerState("work_item_workflow", item.workflowId)) return undefined; + const workflow = store.getChannelWorkflow(item.workflowId); + if (!workflow) return undefined; + const limit = 20; + const steps = store.listChannelWorkflowSteps({ workflowId: workflow.id, offset, limit: limit + 1 }); + return { + workflowId: workflow.id, + planRevision: item.planRevision, + status: workflow.status, + admissionBlocker: store.getWorkItemWorkflowAdmissionBlocker(workflow.id), + ...(steps.length > limit ? { nextOffset: offset + limit } : {}), + steps: steps.slice(0, limit).map(step => ({ + stepId: step.id, title: step.title.slice(0, 250), status: step.status, participantLabel: step.toParticipantLabel.slice(0, 160), + dependencyIds: step.metadata?.dependsOnStepIds?.slice(0, 20) ?? [], updatedAt: step.updatedAt, + ...(includeEvidence ? { + runId: step.runId, outputArtifactId: step.metadata?.outputArtifactId, brief: (step.resultSummary ?? step.blocker)?.slice(0, 500), + } : {}), + })), + }; +} + +export function publishWorkItemWorkflowStep(store: RunStore, events: ControlPlaneEventHub | undefined, stepId: string): void { + if (!events) return; + const step = store.getChannelWorkflowStep(stepId); + if (!step) return; + const link = store.getAppServerState("work_item_workflow", step.workflowId)?.payload as { + binding: import("@ling-stack/contracts").LingAppServerWorkItemWorkflowBinding; + } | undefined; + if (!link) return; + const { workItemId, threadId } = link.binding; + const revision = createHash("sha256").update(JSON.stringify([step.id, step.updatedAt, step.status, step.runId])).digest("hex"); + const idempotencyKey = `work-item-stage:${revision}`; + if (store.getControlPlaneEventByIdempotency(step.workspaceId, idempotencyKey)) return; + appendControlPlaneEvent(store, events, { + workspaceId: step.workspaceId, cwd: store.paths.cwd, domain: "work_items", + entityType: "work_item", entityId: workItemId, action: "work_item.stage.updated", + data: { workItemId, threadId, stepId, status: step.status, revision }, idempotencyKey, + }); +} diff --git a/packages/daemon/src/server/app-server-authorization.ts b/packages/daemon/src/server/app-server-authorization.ts index 0589cdb9c..439703e74 100644 --- a/packages/daemon/src/server/app-server-authorization.ts +++ b/packages/daemon/src/server/app-server-authorization.ts @@ -102,8 +102,9 @@ export function revokeAppServerGrant(store: RunStore, grantId: string, expectedR const serverMethods = new Set(["initialize", "server/ping", "server/capabilities"]); const threadReads = new Set([ "thread/read", "thread/resume", "thread/snapshot", "thread/turns/list", "thread/items/list", "thread/events/read", - "thread/subscribe", "thread/unsubscribe", "thread/mode/get", "thread/goal/get", "item/read", "context/inspect", + "thread/subscribe", "thread/unsubscribe", "thread/mode/get", "thread/goal/get", "item/read", "context/inspect", "artifact/read", ]); +const workspaceReads = new Set(["model/list", "skill/read", "permissionProfile/list"]); const threadControls = new Set(["turn/start", "turn/queue", "turn/interrupt", "turn/resume"]); const workItemReads = new Set([ "workItem/read", "workItem/subscribe", "workItem/unsubscribe", "workItem/evidence/read", "workItem/collaboration/read", @@ -118,6 +119,7 @@ export function grantAllowsMethod(grant: LingAppServerGrant, method: string): bo const hasScope = (scope: LingAppServerGrantScope) => grant.scopes.includes(scope); const thread = grant.subject.kind !== "workItem"; const workItem = grant.subject.kind !== "thread"; + if (grant.subject.kind === "workspace" && workspaceReads.has(method)) return hasScope("observe"); if (thread && threadReads.has(method) || workItem && workItemReads.has(method)) return hasScope("observe"); if (thread && threadControls.has(method) || workItem && workItemControls.has(method)) return hasScope("control"); if (thread && method === "approval/respond") return hasScope("approve"); diff --git a/packages/daemon/src/server/app-server-mcp.ts b/packages/daemon/src/server/app-server-mcp.ts index 7b6cee831..35651ea8d 100644 --- a/packages/daemon/src/server/app-server-mcp.ts +++ b/packages/daemon/src/server/app-server-mcp.ts @@ -1,6 +1,6 @@ import { createHash } from "node:crypto"; import type { Readable, Writable } from "node:stream"; -import { LING_PRODUCT_VERSION } from "@ling-stack/contracts"; +import { LING_APP_SERVER_ARTIFACT_RANGE_BYTES, LING_PRODUCT_VERSION } from "@ling-stack/contracts"; import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js"; import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js"; import { z } from "zod"; @@ -40,12 +40,46 @@ export async function runLingAppServerMcp( inputSchema: z.strictObject({ threadId: objectId, cursor: z.string().min(1).max(128).optional() }), annotations: { readOnlyHint: true }, }, async ({ threadId, cursor }) => describe(await client.readThreadEvents({ threadId, cursor, limit: 1 }))); + if (methods.has("model/list")) server.registerTool("ling_model_list", { + description: "Read model and Provider capabilities visible to this App Server connection.", + inputSchema: z.strictObject({ offset: z.number().int().nonnegative().optional() }), + annotations: { readOnlyHint: true }, + }, async ({ offset }) => describe(await client.listModels(offset))); + if (methods.has("skill/read")) server.registerTool("ling_skill_read", { + description: "Read one Skill definition visible to this App Server connection.", + inputSchema: z.strictObject({ skillId: objectId }), + annotations: { readOnlyHint: true }, + }, async ({ skillId }) => describe(await client.readSkill(skillId))); + if (methods.has("permissionProfile/list")) server.registerTool("ling_permission_profile_list", { + description: "Read the permission axes supported by this Ling App Server connection.", + inputSchema: z.strictObject({}), + annotations: { readOnlyHint: true }, + }, async () => describe(await client.listPermissionProfiles())); if (methods.has("workItem/read")) server.registerTool("ling_work_item_read", { description: "Read the Work Item, its current control state and any automatic intake receipt.", inputSchema: z.strictObject({ workspaceId: objectId, workItemId: objectId }), annotations: { readOnlyHint: true }, }, async ({ workspaceId, workItemId }) => describe(await client.readWorkItemSnapshot(workspaceId, workItemId))); + if (methods.has("workItem/stage/read")) server.registerTool("ling_work_item_stages", { + description: "Read the accepted Workflow stages, current blockers, and bounded stage evidence for a Work Item.", + inputSchema: z.strictObject({ workItemId: objectId, stageOffset: z.number().int().nonnegative().optional() }), + annotations: { readOnlyHint: true }, + }, async ({ workItemId, stageOffset }) => describe(await client.readWorkItemStages(workItemId, stageOffset))); + if (methods.has("workItem/collaboration/read")) server.registerTool("ling_work_item_collaboration", { + description: "Read scoped Work Item messages, questions, evidence notes, or deliberation records.", + inputSchema: z.strictObject({ workItemId: objectId, + kind: z.enum(["message", "question", "deliberation", "coordination", "stage", "brief"]), + afterRevision: z.number().int().nonnegative().optional(), limit: z.number().int().min(1).max(100).optional() }), + annotations: { readOnlyHint: true }, + }, async params => describe(await client.readWorkItemCollaboration(params))); + if (methods.has("artifact/read")) server.registerTool("ling_artifact_read", { + description: "Read bounded bytes from an authorized Ling artifact. Use ranges for large files.", + inputSchema: z.strictObject({ artifactId: objectId, offset: z.number().int().nonnegative().optional(), + limit: z.number().int().min(1).max(LING_APP_SERVER_ARTIFACT_RANGE_BYTES).optional(), threadId: objectId.optional(), + workItemId: objectId.optional(), runId: objectId.optional() }), + annotations: { readOnlyHint: true }, + }, async params => describe(await client.readArtifact(params))); if (options.authToken) { const followupInput = z.strictObject({ threadId: objectId, expectedTurnId: objectId, expectedTurnRevision: objectId, @@ -78,6 +112,12 @@ export async function runLingAppServerMcp( }), annotations: { idempotentHint: true }, }, async params => describe(await client.acceptWorkItem(params))); + if (methods.has("workItem/workflow/bind")) server.registerTool("ling_work_item_workflow_bind", { + description: "Bind an accepted Plan to its converted Workflow before staged execution. Retry with the same key.", + inputSchema: z.strictObject({ workItemId: objectId, planId: objectId, + expectedPlanRevision: z.number().int().nonnegative(), expectedWorkItemRevision: z.number().int().nonnegative(), idempotencyKey: requestKey }), + annotations: { idempotentHint: true, destructiveHint: false }, + }, async params => describe(await client.bindWorkItemWorkflow(params))); if (methods.has("changes/capture")) server.registerTool("ling_changes_capture", { description: "Capture the current working-tree candidate and its coverage.", inputSchema: z.strictObject({}), diff --git a/packages/daemon/src/server/router.ts b/packages/daemon/src/server/router.ts index a89cf7711..317f7382b 100644 --- a/packages/daemon/src/server/router.ts +++ b/packages/daemon/src/server/router.ts @@ -281,6 +281,7 @@ import { handleGetWorkspaceChanges } from "../features/previews/workspace-change import { handleCodeAssessmentRoutes } from "../features/code-assessments/routes.js"; import { handleWorkspaceVerificationRoute } from "./workspace-verification-routes.js"; import { handleWorkspaceGitHubIntake } from "./workspace-github-intake-routes.js"; +import { publishWorkItemWorkflowStep } from "../features/work-items/workflow-stages.js"; import { handleGetWorkspaceFileContent, handleGetWorkspaceFileOpenIcon, @@ -2116,10 +2117,12 @@ export async function routeRequest( onRunReady: (runId) => { const now = new Date().toISOString(); attachWorkflowStepContextArtifact(store, workflowStep.id, runId, runRequest); + publishWorkItemWorkflowStep(store, controlPlaneEvents, workflowStep.id); resolveOnce(runId); }, afterRunTerminal: async (terminalRun) => { finalizeOrchestratedWorkflowStepRun(store, workflowStep.id, taskId, terminalRun); + publishWorkItemWorkflowStep(store, controlPlaneEvents, workflowStep.id); await maybeContinueRunInterventions(terminalRun); if (terminalRun.status === "succeeded") { await orchestrateChannelWorkflow({ @@ -2510,6 +2513,7 @@ export async function routeRequest( onRunReady: (runId) => { const store = storeRegistry.getStore(runRequest.workspaceCwd); attachWorkflowStepContextArtifact(store, workflowRoute.workflowStepId, runId, runRequest); + publishWorkItemWorkflowStep(store, controlPlaneEvents, workflowRoute.workflowStepId); }, afterRunTerminal: async (terminalRun) => { const store = storeRegistry.getStore(runRequest.workspaceCwd); @@ -2519,6 +2523,7 @@ export async function routeRequest( terminalRun.taskId, terminalRun, ); + publishWorkItemWorkflowStep(store, controlPlaneEvents, workflowRoute.workflowStepId); await maybeContinueRunInterventions(terminalRun); }, controlPlaneEvents, diff --git a/packages/daemon/src/server/rpc.ts b/packages/daemon/src/server/rpc.ts index b3c714ef6..a8198c447 100644 --- a/packages/daemon/src/server/rpc.ts +++ b/packages/daemon/src/server/rpc.ts @@ -99,6 +99,11 @@ import { gitHubReadClient, gitHubWorkItemTargetKey, parseGitHubSubjectParams, re import { listGitHubIntakePolicies, pollGitHubIntake, readGitHubIntake } from "./app-server-github-intake.js"; import { readGitHubDelivery, reconcileGitHubDelivery } from "./app-server-github-delivery.js"; import { assertWorkItemConversationAdmission } from "../features/work-items/conversation-admission.js"; +import { readWorkItemWorkflowStages } from "../features/work-items/workflow-stages.js"; +import { readArtifactContentRange, resolveArtifactContentPath } from "../features/runs/artifacts.js"; +import { isPrivateHostRecoveryArtifact, toPublicArtifactMetadata } from "../features/runs/public-artifacts.js"; +import { listEffectiveSkillRegistryEntries } from "../features/skills/registry.js"; +import { LING_APP_SERVER_ARTIFACT_RANGE_BYTES, type LingAppServerModelListResult, type LingAppServerPermissionProfileListResult, type LingAppServerSkillReadResult } from "@ling-stack/contracts"; import { ExternalAgentFederationService, externalAgentRpcError, @@ -154,8 +159,6 @@ const legacyRpcMethods = new Set([ ]); const UNIMPLEMENTED_APP_SERVER_METHODS = new Set([ "turn/retry", "turn/steer", "thread/compact/start", "thread/revert", - "artifact/read", - "model/list", "skill/read", "permissionProfile/list", ]); const activeExternalDispatches = new WeakMap>(); const appServerConnectionsByContext = new WeakMap>(); @@ -170,6 +173,8 @@ const operatorMethods = new Set([ "github/subject/read", "github/delivery/reconcile", "workItem/delivery/read", "delivery/read", "github/intake/policy/list", "github/intake/poll", "github/intake/read", "workItem/accept", + "workItem/workflow/bind", + "artifact/read", "model/list", "skill/read", "workItem/coordination/schedule/read", "workItem/coordination/schedule/set", "changes/read", "changes/apply/preview", "changes/apply", ]); @@ -548,8 +553,14 @@ class RpcConnection { } case "provider/list": return this.readControlPlaneDomain(params, "providers"); + case "model/list": + return this.listModels(params); case "skill/list": return this.readControlPlaneDomain(params, "skills"); + case "skill/read": + return this.readSkill(params); + case "permissionProfile/list": + return this.listPermissionProfiles(params); case "thread/start": return this.startThread(params); case "thread/read": @@ -596,6 +607,8 @@ class RpcConnection { if (!item || item.threadId !== threadId) throw rpcError(-32040, "workspace_binding_invalid", "The item does not belong to this Thread."); return { cwd: record.cwd, item }; } + case "artifact/read": + return this.readArtifact(params); case "thread/mode/get": return this.getThreadMode(params); case "thread/mode/set": @@ -760,6 +773,8 @@ class RpcConnection { } case "workItem/accept": return this.acceptWorkItem(params); + case "workItem/workflow/bind": + return this.bindWorkItemWorkflow(params); case "workItem/clarify": return this.clarifyWorkItem(params); case "workItem/evidence/read": @@ -787,9 +802,8 @@ class RpcConnection { case "workItem/deliberation/read": return this.readCollaboration("deliberation", params); case "workItem/stage/read": - return this.readCollaboration("stage", params); case "workItem/stage/brief/read": - return this.readCollaboration("brief", params); + return this.readWorkItemStages(method === "workItem/stage/read" ? "stage" : "brief", params); case "workItem/coordination/start": return this.appendCollaboration("coordination", "started", params); case "workItem/coordination/close": @@ -1022,6 +1036,33 @@ class RpcConnection { }; } + private bindWorkItemWorkflow(params: unknown): import("@ling-stack/contracts").LingAppServerWorkItemWorkflowBindResult { + const record = this.workspaceParams(params, true); + const { cwd } = record; + const input = { + workItemId: readStringField(record, "workItemId"), + planId: readStringField(record, "planId"), + expectedWorkItemRevision: readIntegerField(record, "expectedWorkItemRevision", "expectedWorkItemRevision"), + expectedPlanRevision: readIntegerField(record, "expectedPlanRevision", "expectedPlanRevision"), + idempotencyKey: readStringField(record, "idempotencyKey"), + }; + if (input.idempotencyKey.length > 200 || /[\r\n\0]/u.test(input.idempotencyKey)) { + throw rpcError(-32602, "invalid_params", "Supply a Work Item binding key of up to 200 characters."); + } + try { + const { binding, workItem, replayed, event } = this.context.storeRegistry.getStore(cwd).bindWorkItemWorkflow(input, new Date().toISOString()); + if (event) this.context.controlPlaneEvents.publish(trimOversizedEvent(event)); + return { cwd, binding, workItem: projectWorkItemSnapshot(workItem), replayed }; + } catch (error) { + const code = error instanceof Error ? error.message : ""; + if (code === "work_item_workflow_idempotency_conflict") throw rpcError(-32031, "idempotency_conflict", "The binding key was reused with different input."); + if (code === "work_item_workflow_stale") throw rpcError(-32030, "stale_revision", "The Work Item or accepted Plan revision changed."); + if (code === "work_item_workflow_held") throw rpcError(-32061, "resume_blocked", "The Work Item or Workflow cannot accept a new binding."); + if (code === "work_item_workflow_not_found") throw rpcError(-32040, "workspace_binding_invalid", "An accepted Work Item and converted Plan in this workspace are required."); + throw error; + } + } + private async dispatchAcceptedWorkItem( store: RunStore, cwd: string, workItem: WorkItem, intent: LingAppServerWorkItemConversationDispatch & { readonly submissionKey: string }, @@ -1137,6 +1178,22 @@ class RpcConnection { } } + private readWorkItemStages(kind: "stage" | "brief", params: unknown): unknown { + const { cwd, ...record } = this.workspaceParams(params); + const workItemId = readStringField(record, "workItemId"); + const offset = readOptionalIntegerField(record, "stageOffset") ?? 0; + if (offset < 0) throw rpcError(-32602, "invalid_params", "stageOffset must be non-negative."); + const store = this.context.storeRegistry.getStore(cwd); + return store.readSnapshot(() => { + const workItem = store.getWorkItem(workItemId); + if (!workItem) throw rpcError(-32040, "workspace_binding_invalid", "The Work Item is unavailable."); + const collaboration = readAppServerWorkItemCollaboration(store, { workItemId, kind, + afterRevision: readOptionalIntegerField(record, "afterRevision"), limit: readOptionalIntegerField(record, "limit") }); + return { cwd, ...collaboration, workflow: readWorkItemWorkflowStages(store, workItem, + this.grant?.subject.kind !== "workItem", offset) }; + }); + } + private appendCollaborationFromParams(params: unknown): unknown { const record = readParamsRecord(params); const kind = readStringField(record, "kind") as import("@ling-stack/contracts").LingAppServerCollaborationKind; @@ -2148,6 +2205,84 @@ class RpcConnection { }); } + private readArtifact(params: unknown): import("@ling-stack/contracts").LingAppServerArtifactReadResult { + const record = this.workspaceParams(params); + const artifactId = readStringField(record, "artifactId"); + const offset = readOptionalIntegerField(record, "offset"); + const limit = readOptionalIntegerField(record, "limit"); + if ((offset ?? 0) < 0 || limit !== undefined && (limit < 1 || limit > LING_APP_SERVER_ARTIFACT_RANGE_BYTES)) { + throw rpcError(-32602, "invalid_params", `Artifact ranges must use a non-negative offset and a limit up to ${LING_APP_SERVER_ARTIFACT_RANGE_BYTES}.`); + } + const store = this.context.storeRegistry.getStore(record.cwd); + const artifact = store.getArtifact(artifactId); + if (!artifact || isPrivateHostRecoveryArtifact(artifact)) { + throw rpcError(-32040, "workspace_binding_invalid", "The artifact is unavailable in this workspace."); + } + const requestedRunId = readOptionalStringField(record, "runId"); + if (requestedRunId && artifact.runId !== requestedRunId) { + throw rpcError(-32040, "workspace_binding_invalid", "The artifact does not belong to the requested Run."); + } + const run = artifact.runId ? store.getRun(artifact.runId) : undefined; + const requestedThreadId = readOptionalStringField(record, "threadId"); + const requestedWorkItemId = readOptionalStringField(record, "workItemId"); + if (requestedThreadId && run?.threadId !== requestedThreadId) { + throw rpcError(-32040, "workspace_binding_invalid", "The artifact does not belong to the requested Thread."); + } + const itemForRequest = requestedWorkItemId ? store.getWorkItem(requestedWorkItemId) : undefined; + if (requestedWorkItemId && (!itemForRequest || !(artifact.runId && itemForRequest.runId === artifact.runId) + && !(run?.workflowStepId && itemForRequest.workflowId && store.getChannelWorkflowStep(run.workflowStepId)?.workflowId === itemForRequest.workflowId) + && !itemForRequest.artifactIds.includes(artifact.id) && !itemForRequest.proofArtifactIds.includes(artifact.id))) { + throw rpcError(-32040, "workspace_binding_invalid", "The artifact does not belong to the requested Work Item."); + } + if (this.grant?.subject.kind === "thread" && run?.threadId !== this.grant.subject.id) { + throw rpcError(-32040, "workspace_binding_invalid", "The artifact is outside the granted Thread."); + } + const { path: _path, ...metadata } = toPublicArtifactMetadata(artifact); + if (offset === undefined && limit === undefined) return { cwd: record.cwd, artifact: metadata }; + try { + const range = readArtifactContentRange(resolveArtifactContentPath(store, artifact), offset ?? 0, limit ?? LING_APP_SERVER_ARTIFACT_RANGE_BYTES); + return { cwd: record.cwd, artifact: metadata, contentBase64: range.content.toString("base64"), + offset: range.offset, endExclusive: range.endExclusive, sizeBytes: range.sizeBytes, partial: range.partial }; + } catch { + throw rpcError(-32040, "workspace_binding_invalid", "The requested artifact range is unavailable."); + } + } + + private listModels(params: unknown): LingAppServerModelListResult { + const { cwd, ...record } = this.workspaceParams(params); + const offset = readOptionalIntegerField(record, "offset") ?? 0; + if (offset < 0) throw rpcError(-32602, "invalid_params", "offset must be non-negative."); + const presets = this.context.storeRegistry.getStore(cwd).listProviderPresets(); + const end = offset + 20; + const models = presets.slice(offset, end).map(({ id, displayName, providerId, model, enabled, capabilities, input }) => + ({ id, displayName, providerId, model, enabled, capabilities, input })); + return { cwd, models, ...(end < presets.length ? { nextOffset: end } : {}) }; + } + + private readSkill(params: unknown): LingAppServerSkillReadResult { + const { cwd, ...record } = this.workspaceParams(params); + const id = readStringField(record, "skillId"); + const entry = listEffectiveSkillRegistryEntries(this.context.storeRegistry.getStore(cwd)).find(skill => skill.id === id); + if (!entry?.visibility.workspaceVisible || !["builtin", "published"].includes(entry.reviewStatus)) { + throw rpcError(-32040, "workspace_binding_invalid", "The requested Skill is unavailable."); + } + const { packId, source, version, reviewStatus, definition: { name, summary, requiredTools, requiredProviderCapabilities } } = entry; + return { cwd, skill: { id, packId, source, version, reviewStatus, definition: { name, summary, requiredTools, requiredProviderCapabilities } } }; + } + + private listPermissionProfiles(params: unknown): LingAppServerPermissionProfileListResult { + const { cwd } = this.workspaceParams(params); + return { + cwd, + profiles: [{ + id: "ling-default", + authorizationModes: ["ask", "smart", "always"], + workspaceAccessModes: ["read_only", "workspace_write", "full_access"], + sessionPermissionModes: ["ask_everything", "balanced", "workspace_write", "full_access", "custom"], + }], + }; + } + private controlWorkItem(action: "pause" | "resume" | "cancel", params: unknown): LingAppServerWorkItemControlResult { const record = readParamsRecord(params); const cwd = readRpcCwd(record, this.defaultCwd); @@ -2181,6 +2316,7 @@ class RpcConnection { cursor: replayScope.issue(result.event.seq), } }); } + if (result.status === "applied" && action === "resume") this.context.taskSupervisor.poke(cwd); return { cwd, workItem, controlReceipt: projectWorkItemControlReceipt(result.receipt), replayed: result.status === "replayed" }; } } @@ -2466,7 +2602,8 @@ class RpcConnection { }); } - private enqueueControlPlaneEvent(subscription: RpcSubscription, event: ControlPlaneEvent): void { + private enqueueControlPlaneEvent(subscription: RpcSubscription, sourceEvent: ControlPlaneEvent): void { + const event = this.grant?.subject.kind === "workItem" ? projectWorkItemScopedEvent(sourceEvent) : sourceEvent; if (this.closed || subscription.closed || !subscriptionMatchesEvent(subscription, event)) { return; } @@ -3024,6 +3161,7 @@ function appServerEventMethod(event: ControlPlaneEvent): string | undefined { if (event.action.startsWith("turn.")) return "turn/status/changed"; } if (event.entityType === "work_item") { + if (event.action === "work_item.stage.updated") return "workItem/stage/updated"; if (event.action === "work_item.created") return "workItem/created"; if (event.action === "work_item.thread.linked") return "workItem/thread/linked"; if (event.action.includes("evidence")) return "workItem/evidence/updated"; @@ -3041,6 +3179,11 @@ function appServerEventMethod(event: ControlPlaneEvent): string | undefined { return undefined; } +function projectWorkItemScopedEvent(event: ControlPlaneEvent): ControlPlaneEvent { + const { threadId: _threadId, runId: _runId, turnId: _turnId, ...data } = event.data; + return { ...event, data }; +} + function subscriptionMatchesEvent(subscription: RpcSubscription, event: ControlPlaneEvent): boolean { if (subscription.entityType && event.entityType !== subscription.entityType) return false; if (subscription.entityId && event.entityId !== subscription.entityId) return false; diff --git a/packages/daemon/test/app-server-release-acceptance.test.ts b/packages/daemon/test/app-server-release-acceptance.test.ts index b3054abce..41ee697df 100644 --- a/packages/daemon/test/app-server-release-acceptance.test.ts +++ b/packages/daemon/test/app-server-release-acceptance.test.ts @@ -1777,6 +1777,143 @@ test("Work Item creation, acceptance, evidence and collaboration retries keep on assert.equal((await sdk.readWorkItem(workItem.workspaceId, workItemId)).revision, resumed.revision); }); +test("an accepted Work Item resumes the original Workflow once after a paused stage and daemon restart", { timeout: 30_000 }, async t => { + let completeContract: () => void = () => undefined; + const contractGate = new Promise(resolve => { completeContract = resolve; }); + const provider = await startLoopbackPiProvider(async (_input: unknown, request: number) => { + if (request === 1) await contractGate; + return { text: request === 1 ? "Contract verified" : "Implementation verified" }; + }); + t.after(async () => { completeContract(); await provider.close(); }); + const fixture = await releaseFixture(t); + const store = fixture.getStore(); + const preset = addLoopbackPreset(store, provider.baseUrl); + const now = new Date().toISOString(); + const channel = store.createChannel({ name: "Workflow-owned work", boundPath: fixture.cwd, + allowedTools: ["read"], defaultProviderPresetId: preset.id }, now); + const thread = store.createLingThread({ kind: "channel_discussion", channelId: channel.id, + title: "Workflow plan", objective: "Bind an accepted plan to staged execution" }, now); + const plan = store.upsertProposedPlanArtifact({ id: "plan_workflow_owned", threadId: thread.id, channelId: channel.id, + title: "Staged implementation", bodyMarkdown: "Implement the staged change", status: "draft" }, now); + const converted = store.applyProposedPlanArtifactAction(plan.id, { + threadId: thread.id, action: "convert-workflow", expectedRevision: plan.revision, createdBy: "local-user", + workflowStepPreviews: [ + { title: "P01 accept the contract", ownerId: "teammate_builtin_engineer", ownerLabel: "Engineer" }, + { title: "P02 review the implementation", ownerId: "teammate_builtin_qa", ownerLabel: "QA" }, + ], + }, now); + assert.ok(converted.workflowId); + assert.equal(converted.plan.acceptedWorkflowId, converted.workflowId); + const [p01, p02] = store.listChannelWorkflowSteps({ workflowId: converted.workflowId, complete: true }); + assert.ok(p01 && p02); + store.updateChannelWorkflowStep(p02.id, { metadata: { ...p02.metadata, dependsOnStepIds: [p01.id] } }, now); + const item = store.upsertWorkItem({ sourceType: "manual", sourceId: "workflow-owned-work", title: "Staged implementation", + channelId: channel.id, initialStatus: "ready" }, now); + const client = await fixture.connect(); + const accepted = await client.call("workItem/accept", { + workItemId: item.id, expectedWorkItemRevision: item.revision, idempotencyKey: "workflow-owned-accept", + }); + const bind = { + workItemId: item.id, planId: plan.id, expectedPlanRevision: converted.plan.revision, + expectedWorkItemRevision: Number(accepted.workItem.revision), idempotencyKey: "workflow-owned-bind", + }; + const before = await client.call("workItem/read", { workItemId: item.id }); + const peer = await fixture.connect(); + await peer.call("workItem/subscribe", { workItemId: item.id, cursor: before.cursor }); + await client.call("thread/subscribe", { threadId: thread.id }); + await assert.rejects(client.call("workItem/workflow/bind", { ...bind, expectedPlanRevision: plan.revision }), { code: "stale_revision" }); + const bound = await client.call<{ + binding: { workflowId: string; planRevision: number; threadId: string }; + workItem: LingAppServerWorkItemSnapshot; + }>("workItem/workflow/bind", bind); + assert.equal(bound.binding.workflowId, converted.workflowId); + assert.equal(bound.binding.planRevision, converted.plan.revision); + const stages = await client.call("workItem/stage/read", { workItemId: item.id }); + assert.equal(stages.workflow?.workflowId, converted.workflowId); + assert.deepEqual(stages.workflow?.steps.map(step => step.status), ["queued", "queued"]); + const request = async (path: string, body?: object) => { + const { daemonUrl, authToken } = fixture.transportOptions(); + return fetch(`${daemonUrl}${path}?cwd=${encodeURIComponent(fixture.cwd)}`, { + ...(body ? { method: "POST", body: JSON.stringify(body) } : {}), + headers: { "content-type": "application/json", authorization: `Bearer ${authToken}` }, + }); + }; + const workflowPath = `/workflows/${encodeURIComponent(converted.workflowId)}/orchestrate`; + const itemPath = `/work-items/${encodeURIComponent(item.id)}`; + const start = await request(workflowPath, {}); + const started = await start.json() as { status: string; blocker?: string }; + assert.equal(started.status, "started", JSON.stringify(started)); + await waitFor(() => provider.requests.length === 1 ? true : undefined); + + const paused = await client.call("workItem/pause", { + workItemId: item.id, actorId: "local-user", expectedWorkItemRevision: Number(bound.workItem.revision), expectedControlGeneration: 0, + idempotencyKey: "workflow-owned-pause", reason: "Hold before staged execution", + }); + const response = await request(workflowPath, {}); + assert.equal(response.status, 200); + const orchestration = await response.json() as { status: string; blocker?: string }; + assert.equal(orchestration.status, "blocked"); + assert.equal(orchestration.blocker, "work_item_workflow_held"); + const direct = await request(`/workflow-steps/${encodeURIComponent(p02.id)}/start`, { mode: "create_and_run_task" }); + assert.equal(direct.status, 409); + assert.equal((await direct.json()).error, "work_item_workflow_held"); + const legacyClaim = await request(`${itemPath}/claim`, { ownerId: "legacy-claim" }); + assert.equal(legacyClaim.status, 200); + assert.equal((await legacyClaim.json()).blocker?.code, "control_blocked"); + assert.equal(paused.workItem.control.state, "paused"); + completeContract(); + await waitFor(() => store.getChannelWorkflowStep(p01.id)?.status === "succeeded" ? true : undefined); + const stageEvent = await waitFor(() => peer.notices.find(event => event.method === "workItem/stage/updated" + && event.params?.event?.action === "work_item.stage.updated")); + assert.ok(stageEvent.params?.eventId); + await waitFor(() => client.notices.find(event => event.method === "workItem/stage/updated" + && event.params?.eventId === stageEvent.params?.eventId)); + assert.equal(provider.requests.length, 1); + await fixture.restart(); + const resumedClient = await fixture.connect(); + const replay = await resumedClient.call<{ replayed: boolean }>("workItem/workflow/bind", bind); + assert.equal(replay.replayed, true); + await resumedClient.call("workItem/subscribe", { workItemId: item.id, cursor: before.cursor }); + await waitFor(() => resumedClient.notices.find(event => event.params?.eventId === stageEvent.params?.eventId)); + const held = await resumedClient.call("workItem/stage/read", { workItemId: item.id }); + assert.equal(held.workflow?.admissionBlocker, "work_item_workflow_held"); + assert.deepEqual(held.workflow?.steps.map(step => step.status), ["succeeded", "queued"]); + assert.equal(provider.requests.length, 1); + await resumedClient.call("workItem/resume", { + workItemId: item.id, actorId: "local-user", expectedWorkItemRevision: Number(paused.workItem.revision), + expectedControlGeneration: 1, idempotencyKey: "workflow-owned-resume", + }); + const resumedStore = fixture.getStore(); + await waitFor(() => resumedStore.getChannelWorkflow(converted.workflowId!)?.status === "succeeded" ? true : undefined); + assert.equal(provider.requests.length, 2); + assert.equal(resumedStore.listRuns({ workflowStepId: p01.id }).length, 1); + assert.equal(resumedStore.listRuns({ workflowStepId: p02.id }).length, 1); + const detail = await request(itemPath); + assert.equal(detail.status, 200); + const body = await detail.json() as { workflow?: LingAppServerWorkItemCollaborationReadResult["workflow"] }; + assert.deepEqual(body.workflow?.steps.map(step => step.status), ["succeeded", "succeeded"]); +}); + +test("App Server reads bounded artifact ranges without exposing private metadata", { timeout: 20_000 }, async t => { + const fixture = await releaseFixture(t); + const store = fixture.getStore(); + const now = new Date().toISOString(); + await mkdir(store.paths.artifactsDir, { recursive: true }); + await writeFile(join(store.paths.artifactsDir, "public-proof.txt"), "Ling proof payload\n", "utf8"); + store.createRun({ id: "app-server-artifact-run", cwd: fixture.cwd, taskId: "app-server-artifact-task", + providerName: "fixture", providerModel: "fixture", taskSnapshot: {}, providerSnapshot: {}, requestSnapshot: { cwd: fixture.cwd }, createdAt: now }); + const artifact = store.createArtifact({ id: "app-server-public-proof", runId: "app-server-artifact-run", type: "file", path: "public-proof.txt", createdAt: now }); + const client = await fixture.connect(); + const metadata = await client.call<{ artifact: { id: string; contentSha256?: string } }>("artifact/read", { artifactId: artifact.id }); + assert.equal(metadata.artifact.id, artifact.id); + assert.equal(metadata.artifact.contentSha256, undefined); + const range = await client.call<{ contentBase64: string; offset: number; endExclusive: number; sizeBytes: number }>("artifact/read", { + artifactId: artifact.id, offset: 0, limit: 4, + }); + assert.equal(Buffer.from(range.contentBase64, "base64").toString("utf8"), "Ling"); + assert.deepEqual({ offset: range.offset, endExclusive: range.endExclusive, sizeBytes: range.sizeBytes }, { offset: 0, endExclusive: 4, sizeBytes: 19 }); +}); + test("a scheduled coordination occurrence commits with its round, restores its deadline and skips a paused Work Item", { timeout: 25_000 }, async t => { const fixture = await releaseFixture(t); const client = await fixture.connect(); @@ -2084,7 +2221,7 @@ test("App Server grants restrict observers, controllers and approvers to their s await host.call("initialize", { protocolVersion: LATEST_PROTOCOL_VERSION, clientInfo: { name: "Scoped fixture", version: "1" }, capabilities: {} }); host.send("notifications/initialized", {}); const { tools } = await host.call<{ tools: Array<{ name: string }> }>("tools/list"); - assert.deepEqual(tools.map(tool => tool.name).sort(), ["ling_thread_events", "ling_thread_read", "ling_thread_snapshot"]); + assert.deepEqual(tools.map(tool => tool.name).sort(), ["ling_artifact_read", "ling_thread_events", "ling_thread_read", "ling_thread_snapshot"]); const closing = observer.waitForClose(); await operator.call("server/grants/revoke", { grantId: observation.grant.grantId, expectedRevision: observation.grant.revision }); @@ -2269,6 +2406,12 @@ test("the MCP bridge calls the bound App Server and replays the same Thread on r host.send("notifications/initialized", {}); const { tools } = await host.call<{ tools: Array<{ name: string }> }>("tools/list"); assert.ok(tools.some(tool => tool.name === "ling_turn_start")); + assert.ok(tools.some(tool => tool.name === "ling_work_item_stages")); + assert.ok(tools.some(tool => tool.name === "ling_work_item_collaboration")); + assert.ok(tools.some(tool => tool.name === "ling_artifact_read")); + assert.ok(tools.some(tool => tool.name === "ling_model_list")); + assert.ok(tools.some(tool => tool.name === "ling_skill_read")); + assert.ok(tools.some(tool => tool.name === "ling_permission_profile_list")); assert.ok(tools.every(tool => !tool.name.includes("approval"))); const call = async (name: string, args: object) => { const reply = await host.call<{ isError?: boolean; content: Array<{ text: string }> }>("tools/call", { name, arguments: args }); From fd43b3f8f30fd3a0d7614c95d5b2722d642fd7ac Mon Sep 17 00:00:00 2001 From: tianxiaochannel-oss88 Date: Sun, 22 Nov 2026 22:49:19 +0800 Subject: [PATCH 020/147] fix(core): preserve legacy workflow fixtures before App Server state --- .../storage/sqlite/app-server-state-store.ts | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/packages/core/src/storage/sqlite/app-server-state-store.ts b/packages/core/src/storage/sqlite/app-server-state-store.ts index 0f2d877b6..9c1228b16 100644 --- a/packages/core/src/storage/sqlite/app-server-state-store.ts +++ b/packages/core/src/storage/sqlite/app-server-state-store.ts @@ -14,7 +14,19 @@ import { SqliteControlPlaneStore } from "./control-plane-store.js"; export class SqliteAppServerStateStore { constructor(private readonly context: SqliteStoreContext, private readonly events = new SqliteControlPlaneStore(context)) {} + /** + * Some migration fixtures intentionally stop before the App Server state + * migration. Treat that older schema as an empty state store so legacy + * workflow admission keeps its pre-App-Server behavior. + */ + private hasStateTable(): boolean { + return Boolean(this.context.database.prepare( + "SELECT 1 FROM sqlite_master WHERE type = 'table' AND name = 'app_server_state'", + ).get()); + } + get(kind: AppServerStateKind, recordId: string, workspaceId = DEFAULT_WORKSPACE_ID): AppServerStateRecord | undefined { + if (!this.hasStateTable()) return undefined; const row = this.context.database.prepare(` SELECT * FROM app_server_state WHERE workspace_id = ? AND kind = ? AND record_id = ? `).get(workspaceId, kind, recordId) as Record | undefined; @@ -22,6 +34,7 @@ export class SqliteAppServerStateStore { } findByIdempotencyKey(kind: AppServerStateKind, idempotencyKey: string, workspaceId = DEFAULT_WORKSPACE_ID): AppServerStateRecord | undefined { + if (!this.hasStateTable()) return undefined; const row = this.context.database.prepare(` SELECT * FROM app_server_state WHERE workspace_id = ? AND kind = ? AND idempotency_key = ? `).get(workspaceId, kind, idempotencyKey); @@ -29,6 +42,7 @@ export class SqliteAppServerStateStore { } list(kind?: AppServerStateKind, workspaceId = DEFAULT_WORKSPACE_ID): AppServerStateRecord[] { + if (!this.hasStateTable()) return []; const rows = kind === undefined ? this.context.database.prepare("SELECT * FROM app_server_state WHERE workspace_id = ? ORDER BY updated_at DESC, record_id ASC").all(workspaceId) : this.context.database.prepare("SELECT * FROM app_server_state WHERE workspace_id = ? AND kind = ? ORDER BY updated_at DESC, record_id ASC").all(workspaceId, kind); @@ -36,6 +50,7 @@ export class SqliteAppServerStateStore { } latestVerification(threadId?: string, workspaceId = DEFAULT_WORKSPACE_ID): AppServerStateRecord | undefined { + if (!this.hasStateTable()) return undefined; const row = threadId === undefined ? this.context.database.prepare(`SELECT * FROM app_server_state WHERE workspace_id = ? AND kind = 'verify_operation' ORDER BY created_at DESC, rowid DESC LIMIT 1`).get(workspaceId) @@ -45,6 +60,7 @@ export class SqliteAppServerStateStore { } pendingGitHubIntakeDispatches(updatedBefore: string, limit: number, workspaceId = DEFAULT_WORKSPACE_ID): AppServerStateRecord[] { + if (!this.hasStateTable()) return []; const rows = this.context.database.prepare(` SELECT * FROM app_server_state WHERE workspace_id = ? AND kind = 'github_intake_dispatch' @@ -117,6 +133,7 @@ export class SqliteAppServerStateStore { } delete(kind: AppServerStateKind, recordId: string, workspaceId = DEFAULT_WORKSPACE_ID): boolean { + if (!this.hasStateTable()) return false; const result = this.context.database.prepare(` DELETE FROM app_server_state WHERE workspace_id = ? AND kind = ? AND record_id = ? `).run(workspaceId, kind, recordId); From 772c3e06a5f6642b5cd522a0e2eb32348eeac64e Mon Sep 17 00:00:00 2001 From: tianxiaochannel-oss88 Date: Sun, 22 Nov 2026 22:55:59 +0800 Subject: [PATCH 021/147] fix(core): scope the legacy schema guard to workflow admission --- packages/core/src/storage/sqlite-run-store.ts | 3 ++- .../src/storage/sqlite/app-server-migration.ts | 2 +- .../storage/sqlite/app-server-state-store.ts | 17 ----------------- 3 files changed, 3 insertions(+), 19 deletions(-) diff --git a/packages/core/src/storage/sqlite-run-store.ts b/packages/core/src/storage/sqlite-run-store.ts index ab3464796..ba827cdbd 100644 --- a/packages/core/src/storage/sqlite-run-store.ts +++ b/packages/core/src/storage/sqlite-run-store.ts @@ -24,7 +24,7 @@ import { SqliteCodeAssessmentCommentsStore } from "./sqlite/code-assessment-comm import type { CodeAssessmentCommentsStore } from "../code-assessment-comments.js"; import { applyCodeAssessmentCommentsMigration } from "./sqlite/code-assessment-comments-migration.js"; import { applyCodeAssessmentMigration } from "./sqlite/code-assessment-migration.js"; -import { applyAppServerMigrations } from "./sqlite/app-server-migration.js"; +import { APP_SERVER_STATE_MIGRATION_VERSION, applyAppServerMigrations } from "./sqlite/app-server-migration.js"; import type { CodeAssessmentStore } from "../code-assessment-store.js"; import { applyWorkspacePermissionMigration } from "./sqlite/workspace-permission-migration.js"; import { applyRunnerIdMigration } from "./sqlite/runner-id-migration.js"; @@ -6154,6 +6154,7 @@ export class SqliteRunStore implements RunStore { } getWorkItemWorkflowAdmissionBlocker(workflowId: string): string | undefined { + if (!this.hasMigration(APP_SERVER_STATE_MIGRATION_VERSION) && !this.hasTable("app_server_state")) return undefined; return this.workItems.getWorkflowAdmissionBlocker(workflowId, this.appServerState); } diff --git a/packages/core/src/storage/sqlite/app-server-migration.ts b/packages/core/src/storage/sqlite/app-server-migration.ts index dd7eedbf4..411d8e07b 100644 --- a/packages/core/src/storage/sqlite/app-server-migration.ts +++ b/packages/core/src/storage/sqlite/app-server-migration.ts @@ -5,7 +5,7 @@ const WORK_ITEM_CONTROL_MIGRATION_VERSION = 235; const WORK_ITEM_CONTROL_MIGRATION_NAME = "add_work_item_control_projection"; const WORK_ITEM_EVIDENCE_MIGRATION_VERSION = 236; const WORK_ITEM_EVIDENCE_MIGRATION_NAME = "create_work_item_evidence"; -const APP_SERVER_STATE_MIGRATION_VERSION = 237; +export const APP_SERVER_STATE_MIGRATION_VERSION = 237; const APP_SERVER_STATE_MIGRATION_NAME = "create_app_server_state"; const controlColumns = [ diff --git a/packages/core/src/storage/sqlite/app-server-state-store.ts b/packages/core/src/storage/sqlite/app-server-state-store.ts index 9c1228b16..0f2d877b6 100644 --- a/packages/core/src/storage/sqlite/app-server-state-store.ts +++ b/packages/core/src/storage/sqlite/app-server-state-store.ts @@ -14,19 +14,7 @@ import { SqliteControlPlaneStore } from "./control-plane-store.js"; export class SqliteAppServerStateStore { constructor(private readonly context: SqliteStoreContext, private readonly events = new SqliteControlPlaneStore(context)) {} - /** - * Some migration fixtures intentionally stop before the App Server state - * migration. Treat that older schema as an empty state store so legacy - * workflow admission keeps its pre-App-Server behavior. - */ - private hasStateTable(): boolean { - return Boolean(this.context.database.prepare( - "SELECT 1 FROM sqlite_master WHERE type = 'table' AND name = 'app_server_state'", - ).get()); - } - get(kind: AppServerStateKind, recordId: string, workspaceId = DEFAULT_WORKSPACE_ID): AppServerStateRecord | undefined { - if (!this.hasStateTable()) return undefined; const row = this.context.database.prepare(` SELECT * FROM app_server_state WHERE workspace_id = ? AND kind = ? AND record_id = ? `).get(workspaceId, kind, recordId) as Record | undefined; @@ -34,7 +22,6 @@ export class SqliteAppServerStateStore { } findByIdempotencyKey(kind: AppServerStateKind, idempotencyKey: string, workspaceId = DEFAULT_WORKSPACE_ID): AppServerStateRecord | undefined { - if (!this.hasStateTable()) return undefined; const row = this.context.database.prepare(` SELECT * FROM app_server_state WHERE workspace_id = ? AND kind = ? AND idempotency_key = ? `).get(workspaceId, kind, idempotencyKey); @@ -42,7 +29,6 @@ export class SqliteAppServerStateStore { } list(kind?: AppServerStateKind, workspaceId = DEFAULT_WORKSPACE_ID): AppServerStateRecord[] { - if (!this.hasStateTable()) return []; const rows = kind === undefined ? this.context.database.prepare("SELECT * FROM app_server_state WHERE workspace_id = ? ORDER BY updated_at DESC, record_id ASC").all(workspaceId) : this.context.database.prepare("SELECT * FROM app_server_state WHERE workspace_id = ? AND kind = ? ORDER BY updated_at DESC, record_id ASC").all(workspaceId, kind); @@ -50,7 +36,6 @@ export class SqliteAppServerStateStore { } latestVerification(threadId?: string, workspaceId = DEFAULT_WORKSPACE_ID): AppServerStateRecord | undefined { - if (!this.hasStateTable()) return undefined; const row = threadId === undefined ? this.context.database.prepare(`SELECT * FROM app_server_state WHERE workspace_id = ? AND kind = 'verify_operation' ORDER BY created_at DESC, rowid DESC LIMIT 1`).get(workspaceId) @@ -60,7 +45,6 @@ export class SqliteAppServerStateStore { } pendingGitHubIntakeDispatches(updatedBefore: string, limit: number, workspaceId = DEFAULT_WORKSPACE_ID): AppServerStateRecord[] { - if (!this.hasStateTable()) return []; const rows = this.context.database.prepare(` SELECT * FROM app_server_state WHERE workspace_id = ? AND kind = 'github_intake_dispatch' @@ -133,7 +117,6 @@ export class SqliteAppServerStateStore { } delete(kind: AppServerStateKind, recordId: string, workspaceId = DEFAULT_WORKSPACE_ID): boolean { - if (!this.hasStateTable()) return false; const result = this.context.database.prepare(` DELETE FROM app_server_state WHERE workspace_id = ? AND kind = ? AND record_id = ? `).run(workspaceId, kind, recordId); From ea4019fed026f7eb77e418dc081d408d7e45fbf7 Mon Sep 17 00:00:00 2001 From: tianxiaochannel-oss88 Date: Sun, 22 Nov 2026 23:29:26 +0800 Subject: [PATCH 022/147] feat(app-server): transfer reviewed hunks between managed worktrees --- packages/api-client/src/app-server.ts | 31 +- packages/contracts/src/app-server.ts | 50 +++- packages/core/src/app-server-state-types.ts | 2 +- .../workspaces/worktree-patch-recovery.ts | 112 ++++++++ .../features/workspaces/worktree-retention.ts | 2 + .../src/server/app-server-change-transfer.ts | 266 ++++++++++++++++++ .../daemon/src/server/app-server-changes.ts | 38 +-- packages/daemon/src/server/app-server-mcp.ts | 28 +- packages/daemon/src/server/rpc.ts | 19 +- .../app-server-release-acceptance.test.ts | 71 ++++- 10 files changed, 585 insertions(+), 34 deletions(-) create mode 100644 packages/daemon/src/features/workspaces/worktree-patch-recovery.ts create mode 100644 packages/daemon/src/server/app-server-change-transfer.ts diff --git a/packages/api-client/src/app-server.ts b/packages/api-client/src/app-server.ts index 290b259d8..77d98bf91 100644 --- a/packages/api-client/src/app-server.ts +++ b/packages/api-client/src/app-server.ts @@ -1,6 +1,11 @@ import type { LingAppServerApplyChangesParams, LingAppServerApplyChangesResult, + LingAppServerApplyChangeTransferParams, + LingAppServerApplyChangeTransferResult, + LingAppServerChangeTransferPreview, + LingAppServerPreviewChangeTransferParams, + LingAppServerCaptureChangesParams, LingAppServerChangeRecoveryPreview, LingAppServerPreviewChangeRecoveryParams, LingAppServerReadChangesParams, @@ -352,9 +357,9 @@ export class LingAppServerClient { return await this.request("input/respond", params); } - async captureChanges(): Promise { - await this.connect(); - return await this.request("changes/capture", {}); + async captureChanges(params: LingAppServerCaptureChangesParams = {}): Promise { + await this.connectForChanges(Boolean(params.sourceWorktree)); + return await this.request("changes/capture", params); } async pollGitHubIntake(params: LingAppServerGitHubIntakePollParams): Promise { @@ -374,7 +379,7 @@ export class LingAppServerClient { } async readChanges(params: LingAppServerReadChangesParams): Promise { - await this.connect(); + await this.connectForChanges(Boolean(params.sourceWorktree)); return await this.request("changes/read", params); } @@ -388,6 +393,24 @@ export class LingAppServerClient { return await this.request("changes/apply", params); } + async previewChangeTransfer(params: LingAppServerPreviewChangeTransferParams): Promise { + await this.connectForChanges(true); + return await this.request("changes/apply/preview", params); + } + + async applyChangeTransfer(params: LingAppServerApplyChangeTransferParams): Promise { + await this.connectForChanges(true); + return await this.request("changes/apply", params); + } + + private async connectForChanges(needsTransfer: boolean): Promise { + const initialized = await this.connect(); + if (needsTransfer && !initialized.capabilities.includes("development.changeTransfer")) { + throw Object.assign(new Error("This App Server connection does not support change transfer."), + { code: "required_capability_unavailable" }); + } + } + async listWorktrees(): Promise { await this.connect(); return await this.request("worktree/list", {}); diff --git a/packages/contracts/src/app-server.ts b/packages/contracts/src/app-server.ts index 165aea6fd..97e7c2446 100644 --- a/packages/contracts/src/app-server.ts +++ b/packages/contracts/src/app-server.ts @@ -33,6 +33,7 @@ export const LING_APP_SERVER_CAPABILITIES = [ "development.simplify", "development.instructions", "development.changes", + "development.changeTransfer", "workItem.read", "workItem.control", "workItem.evidence", @@ -55,6 +56,7 @@ export const LING_APP_SERVER_IMPLEMENTED_CAPABILITIES = [ "development.simplify", "development.instructions", "development.changes", + "development.changeTransfer", "workItem.read", "workItem.control", "workItem.evidence", @@ -849,17 +851,32 @@ export interface LingAppServerCaptureChangesResult { readonly headCommit: string; } -export interface LingAppServerReadChangesParams { +export type LingAppServerChangeWorktree = Pick; + +export interface LingAppServerCaptureChangesParams { readonly cwd?: string; + readonly sourceWorktree?: LingAppServerChangeWorktree; +} + +export interface LingAppServerReadChangesParams extends LingAppServerCaptureChangesParams { readonly candidateDigest: string; readonly offset?: number; readonly limit?: number; } +export interface LingAppServerChangeHunk { + readonly id: string; + readonly oldStart: number; + readonly oldLines: number; + readonly newStart: number; + readonly newLines: number; +} + export interface LingAppServerReadChangesResult extends LingAppServerCaptureChangesResult { readonly files: readonly (Omit & { readonly diff?: string; readonly diffOmitted?: "frame_limit"; + readonly hunks?: readonly LingAppServerChangeHunk[]; })[]; readonly exclusions: CodeAssessmentSnapshot["exclusions"]; readonly exclusionCount: number; @@ -894,6 +911,37 @@ export interface LingAppServerApplyChangesResult { readonly state: TurnWorkspaceChangesResponse["state"]; } +export interface LingAppServerPreviewChangeTransferParams extends LingAppServerCaptureChangesParams { + readonly action: "apply"; + readonly targetWorktree: LingAppServerChangeWorktree; + readonly candidateDigest: string; + readonly hunkIds: readonly string[]; +} + +export interface LingAppServerChangeTransferPreview extends LingAppServerCaptureChangesResult { + readonly action: "apply"; + readonly targetWorktree: LingAppServerChangeWorktree; + readonly targetHeadCommit: string; + readonly targetCandidateDigest: string; + readonly expectedRevision: string; + readonly selection: readonly { readonly path: string; readonly hunkIds: readonly string[] }[]; +} + +export interface LingAppServerApplyChangeTransferParams extends LingAppServerPreviewChangeTransferParams { + readonly expectedRevision: string; + readonly idempotencyKey: string; + readonly confirmed: true; +} + +export interface LingAppServerApplyChangeTransferResult { + readonly cwd: string; + readonly action: "apply"; + readonly targetWorktree: LingAppServerChangeWorktree; + readonly receiptId: string; + readonly state: "applied" | "not_applied" | "unknown"; + readonly paths: readonly string[]; +} + export interface LingAppServerWorktreeTarget { readonly cwd?: string; readonly ownerKind: ManagedWorktreeOwnerKind; diff --git a/packages/core/src/app-server-state-types.ts b/packages/core/src/app-server-state-types.ts index bbeff9c51..cca5eb7c0 100644 --- a/packages/core/src/app-server-state-types.ts +++ b/packages/core/src/app-server-state-types.ts @@ -5,7 +5,7 @@ export type AppServerStateKind = "verify_plan" | "verify_operation" | "review_su | "replay_identity" | "handoff" | "authorization_grant" | "work_item_target" | "work_item_source" | "github_delivery" | "github_delivery_current" | "work_item_thread" | "automation_coordination" | "coordination_round" | "coordination_automation_run" | "project_instruction_update" - | "change_recovery_request" | "github_intake_pending" | "github_intake_receipt" | "github_intake_dispatch" | "work_item_workflow"; + | "change_recovery_request" | "change_transfer_request" | "github_intake_pending" | "github_intake_receipt" | "github_intake_dispatch" | "work_item_workflow"; export interface AppServerStateRecord { readonly workspaceId: string; diff --git a/packages/daemon/src/features/workspaces/worktree-patch-recovery.ts b/packages/daemon/src/features/workspaces/worktree-patch-recovery.ts new file mode 100644 index 000000000..f6ac18408 --- /dev/null +++ b/packages/daemon/src/features/workspaces/worktree-patch-recovery.ts @@ -0,0 +1,112 @@ +import { constants, closeSync, fstatSync, lstatSync, openSync, readSync, realpathSync } from "node:fs"; +import { join } from "node:path"; +import type { LingAppServerApplyChangeTransferResult } from "@ling-stack/contracts"; +import { DEFAULT_WORKSPACE_ID, type RunStore } from "@ling-stack/core"; +import { + hashRecoveryContent, + type RecoveryIntentFile, +} from "../runs/workspace-change-recovery.js"; +import { workflowGit } from "./managed-worktrees.js"; + +export const WORKTREE_PATCH_RECEIPT_PREFIX = "worktree_patch_"; +export const WORKTREE_PATCH_MAX_TEXT_BYTES = 1024 * 1024; + +export interface WorktreePatchReceipt { + readonly fingerprint: string; + readonly targetPath: string; + readonly targetIdentity: string; + readonly targetHead: string; + readonly files: readonly RecoveryIntentFile[]; + readonly result: Omit; + readonly state?: LingAppServerApplyChangeTransferResult["state"]; +} + +export function readWorktreePatchReceipt(store: RunStore, id: string) { + const record = store.getAppServerState("change_transfer_request", id); + return record ? { receipt: record.payload as WorktreePatchReceipt, revision: record.revision } : undefined; +} + +export function worktreeDirectoryIdentity(path: string): string { + const directory = lstatSync(path, { bigint: true }); + if (!directory.isDirectory() || realpathSync(path) !== path) throw new Error("The worktree directory changed."); + return [directory.dev, directory.ino, directory.birthtimeNs].join(":"); +} + +/** Read the exact text image without following links or treating invalid bytes as text. */ +export function readWorktreePatchText(root: string, path: string): string | undefined { + const target = join(root, path); + const segments = path.split("/"); + let directory = root; + for (const part of segments.slice(0, -1)) { + directory = join(directory, part); + if (!lstatSync(directory).isDirectory()) throw new Error("A patch parent is not a directory."); + } + const entry = lstatSync(target, { throwIfNoEntry: false }); + if (!entry) return undefined; + if (!entry.isFile() || entry.nlink !== 1 || entry.size > WORKTREE_PATCH_MAX_TEXT_BYTES) { + throw new Error("The patch target is not a bounded regular file."); + } + const fd = openSync(target, constants.O_RDONLY | constants.O_NOFOLLOW | constants.O_NONBLOCK); + try { + const opened = fstatSync(fd); + if (!opened.isFile() || opened.nlink !== 1 || opened.ino !== entry.ino || opened.dev !== entry.dev || opened.size > WORKTREE_PATCH_MAX_TEXT_BYTES) { + throw new Error("The patch target changed during inspection."); + } + const bytes = Buffer.alloc(opened.size + 1); + let size = 0; + while (size < bytes.length) { + const read = readSync(fd, bytes, size, bytes.length - size, null); + if (!read) break; + size += read; + } + if (size !== opened.size || fstatSync(fd).mtimeMs !== opened.mtimeMs) throw new Error("The patch target changed during inspection."); + return decodeWorktreePatchText(bytes.subarray(0, size)); + } finally { + closeSync(fd); + } +} + +export function decodeWorktreePatchText(bytes: Buffer): string { + if (bytes.length > WORKTREE_PATCH_MAX_TEXT_BYTES || bytes.includes(0)) throw new Error("The patch target is not bounded text."); + return new TextDecoder("utf-8", { fatal: true, ignoreBOM: true }).decode(bytes); +} + +export function settleWorktreePatch( + store: RunStore, id: string, receipt: WorktreePatchReceipt, revision: number, + state: LingAppServerApplyChangeTransferResult["state"], +): LingAppServerApplyChangeTransferResult { + const committed = store.putAppServerState({ + kind: "change_transfer_request", recordId: id, expectedRevision: revision, payload: { ...receipt, state }, + }, new Date().toISOString()); + if (!committed) throw new Error("The worktree patch receipt changed during settlement."); + return { ...receipt.result, state }; +} + +/** Settle only observed filesystem outcomes after interruption. The recovery path never writes files. */ +export async function recoverWorktreePatch(store: RunStore): Promise { + const fence = store.getWorkspaceSnapshotFence(DEFAULT_WORKSPACE_ID); + const id = fence.ownerRequestId; + if (!id?.startsWith(WORKTREE_PATCH_RECEIPT_PREFIX)) return; + const retained = readWorktreePatchReceipt(store, id); + if (!retained) throw new Error("The worktree patch receipt is missing."); + const { receipt, revision } = retained; + if (!receipt.state) { + const state = await observeWorktreePatch(receipt); + settleWorktreePatch(store, id, receipt, revision, state); + } + store.releaseWorkspaceSnapshotFence(DEFAULT_WORKSPACE_ID, id, new Date().toISOString(), fence.epoch); +} + +async function observeWorktreePatch(receipt: WorktreePatchReceipt): Promise { + try { + if (worktreeDirectoryIdentity(receipt.targetPath) !== receipt.targetIdentity) return "unknown"; + const { stdout } = await workflowGit(receipt.targetPath, ["rev-parse", "--verify", "HEAD^{commit}"]); + if (stdout.toString().trim() !== receipt.targetHead || worktreeDirectoryIdentity(receipt.targetPath) !== receipt.targetIdentity) return "unknown"; + const observed = receipt.files.map(file => hashRecoveryContent(readWorktreePatchText(receipt.targetPath, file.path))); + if (receipt.files.every((file, index) => file.afterSha256 === observed[index])) return "applied"; + if (receipt.files.every((file, index) => file.beforeSha256 === observed[index])) return "not_applied"; + } catch { + // The stored request remains readable when its target is unavailable. + } + return "unknown"; +} diff --git a/packages/daemon/src/features/workspaces/worktree-retention.ts b/packages/daemon/src/features/workspaces/worktree-retention.ts index 59e98aea8..5246571b9 100644 --- a/packages/daemon/src/features/workspaces/worktree-retention.ts +++ b/packages/daemon/src/features/workspaces/worktree-retention.ts @@ -2,6 +2,7 @@ import type { RunStore } from "@ling-stack/core"; import { actOnManagedWorktreeLocked, listManagedWorktrees, WorktreeActionError } from "./worktree-management.js"; import { coordinateWorktreeMutation } from "./worktree-mutation.js"; import { recoverWorktreeOperations } from "./worktree-recovery.js"; +import { recoverWorktreePatch } from "./worktree-patch-recovery.js"; export interface WorktreeCleanupResult { readonly checkedAt: string; readonly removed: number; readonly errorMessage?: string } const results = new Map(); @@ -13,6 +14,7 @@ export async function maintainManagedWorktrees(store: RunStore, cwd: string): Pr let errorMessage: string | undefined; try { await recoverWorktreeOperations(store); + await recoverWorktreePatch(store); const policy = store.getWorkspaceSettings().worktreePolicy; if (policy?.autoCleanup) { const list = await listManagedWorktrees(store, cwd); diff --git a/packages/daemon/src/server/app-server-change-transfer.ts b/packages/daemon/src/server/app-server-change-transfer.ts new file mode 100644 index 000000000..0fe8bb8a2 --- /dev/null +++ b/packages/daemon/src/server/app-server-change-transfer.ts @@ -0,0 +1,266 @@ +import { createHash } from "node:crypto"; +import { realpathSync } from "node:fs"; +import { applyPatch, parsePatch, type StructuredPatch } from "diff"; +import type { + CodeAssessmentSnapshot, + CodeAssessmentSnapshotFile, + LingAppServerApplyChangeTransferParams, + LingAppServerApplyChangeTransferResult, + LingAppServerCaptureChangesResult, + LingAppServerChangeHunk, + LingAppServerChangeTransferPreview, + LingAppServerChangeWorktree, + LingAppServerPreviewChangeTransferParams, +} from "@ling-stack/contracts"; +import { DEFAULT_WORKSPACE_ID, type RunStore } from "@ling-stack/core"; +import { HttpError } from "../errors.js"; +import { captureCodeAssessmentSnapshot } from "../features/code-assessments/snapshot.js"; +import { + assertNoInternalPatchPaths, + assertNoSymlinkEscapes, + assertPatchPathsWithinAllowedWritePaths, +} from "../features/runs/patch-actions.js"; +import { commitRecovery, recoveryIntentFiles, type RecoveryPreflight } from "../features/runs/workspace-change-recovery.js"; +import { workflowGit } from "../features/workspaces/managed-worktrees.js"; +import { assertWorktreeIdle, coordinateWorktreeMutation } from "../features/workspaces/worktree-mutation.js"; +import { + decodeWorktreePatchText, + readWorktreePatchReceipt, + readWorktreePatchText, + recoverWorktreePatch, + settleWorktreePatch, + WORKTREE_PATCH_MAX_TEXT_BYTES, + WORKTREE_PATCH_RECEIPT_PREFIX, + worktreeDirectoryIdentity, + type WorktreePatchReceipt, +} from "../features/workspaces/worktree-patch-recovery.js"; +import { isRecord } from "../shared/validation.js"; +import { refreshAppServerWorktree } from "./app-server-worktrees.js"; + +const digestPattern = /^[a-f0-9]{64}$/u; +const hash = (value: unknown) => createHash("sha256").update(JSON.stringify(value)).digest("hex"); + +export function summarizeAppServerCandidate( + cwd: string, snapshot: CodeAssessmentSnapshot, sourceWorktree?: LingAppServerChangeWorktree, +): LingAppServerCaptureChangesResult { + if (!snapshot.headSha) throw new HttpError(409, "candidate_unavailable", "The worktree has no committed candidate baseline."); + return { + cwd, + candidate: { + workspaceId: cwd, ...(sourceWorktree ? { worktreeId: hash(sourceWorktree) } : {}), + candidateDigest: snapshot.digest, filePaths: snapshot.files.map(file => file.path), + }, + coverage: snapshot.coverage, headCommit: snapshot.headSha, + }; +} + +export function readChangeWorktree(value: unknown): LingAppServerChangeWorktree { + if (!isRecord(value) || (value.ownerKind !== "channel" && value.ownerKind !== "teammate") + || typeof value.ownerId !== "string" || !value.ownerId.trim() || value.ownerId.length > 200) { + throw new HttpError(400, "invalid_params", "Supply the managed worktree owner kind and ID."); + } + return { ownerKind: value.ownerKind, ownerId: value.ownerId }; +} + +export async function resolveChangeWorktree(store: RunStore, target: LingAppServerChangeWorktree): Promise { + const { entry } = await refreshAppServerWorktree(store, target); + if (entry.status !== "ready" || entry.initialization?.status === "running") { + throw new HttpError(409, "worktree_conflict", "The managed worktree must be ready."); + } + return realpathSync(entry.path); +} + +export function describeChangeHunks(file: CodeAssessmentSnapshotFile): readonly LingAppServerChangeHunk[] { + const patch = transferablePatch(file); + return patch ? identifyHunks(file, patch) : []; +} + +function identifyHunks(file: CodeAssessmentSnapshotFile, patch: StructuredPatch): readonly LingAppServerChangeHunk[] { + return patch.hunks.map(({ oldStart, oldLines, newStart, newLines }, index) => ({ + id: hash([file.path, file.contentDigest, index]), oldStart, oldLines, newStart, newLines, + })); +} + +function transferablePatch(file: CodeAssessmentSnapshotFile): StructuredPatch | undefined { + if (file.redacted || file.originalPath || !["modified", "added", "deleted", "untracked"].includes(file.kind)) return undefined; + try { + const [patch, extra] = parsePatch(file.diff); + if (!patch?.hunks.length || extra || patch.isBinary || patch.isRename || patch.isCopy + || (file.kind === "modified" && patch.oldMode !== patch.newMode) + || (file.kind === "added" && patch.newMode !== "100644") + || (file.kind === "deleted" && patch.oldMode !== "100644" && patch.oldMode !== "100755")) return undefined; + return patch; + } catch { + return undefined; + } +} + +function readTransferParams(record: Record): LingAppServerPreviewChangeTransferParams { + const { candidateDigest, hunkIds } = record; + if (typeof candidateDigest !== "string" || !digestPattern.test(candidateDigest) + || !Array.isArray(hunkIds) || hunkIds.length < 1 || hunkIds.length > 128 + || hunkIds.some(id => typeof id !== "string" || !digestPattern.test(id)) || new Set(hunkIds).size !== hunkIds.length) { + throw new HttpError(400, "invalid_params", "Supply a candidate digest and distinct hunk IDs from changes/read."); + } + return { + action: "apply", candidateDigest, hunkIds: [...hunkIds].sort(), + ...(record.sourceWorktree !== undefined ? { sourceWorktree: readChangeWorktree(record.sourceWorktree) } : {}), + targetWorktree: readChangeWorktree(record.targetWorktree), + }; +} + +export async function previewAppServerChangeTransfer(store: RunStore, record: Record): Promise { + store.assertWorkspaceSnapshotFence(store.paths.cwd); + return (await prepareTransfer(store, readTransferParams(record))).preview; +} + +export async function applyAppServerChangeTransfer(store: RunStore, record: Record): Promise { + const target = readTransferParams(record); + const { idempotencyKey, expectedRevision } = record; + if (record.confirmed !== true || typeof expectedRevision !== "string" || !digestPattern.test(expectedRevision) + || typeof idempotencyKey !== "string" || !idempotencyKey.trim() || idempotencyKey.length > 200 || /[\r\n\0]/u.test(idempotencyKey)) { + throw new HttpError(400, "invalid_params", "Confirm the transfer with the preview revision and a request key."); + } + const request: LingAppServerApplyChangeTransferParams = { ...target, idempotencyKey, expectedRevision, confirmed: true }; + const id = WORKTREE_PATCH_RECEIPT_PREFIX + hash(idempotencyKey); + const fingerprint = hash(request); + return coordinateWorktreeMutation(store, async () => { + await recoverWorktreePatch(store); + const retained = readWorktreePatchReceipt(store, id); + if (retained?.receipt && retained.receipt.fingerprint !== fingerprint) { + throw Object.assign(new Error("The change transfer key belongs to a different request."), + { jsonRpcCode: -32031, code: "idempotency_conflict" }); + } + if (retained?.receipt.state) return { ...retained.receipt.result, state: retained.receipt.state }; + store.assertWorkspaceSnapshotFence(store.paths.cwd); + + const prepared = await prepareTransfer(store, request); + assertConfirmed(prepared.preview, expectedRevision); + const { targetPath, targetIdentity, preflight, preview } = prepared; + const receipt: WorktreePatchReceipt = { + fingerprint, targetPath, targetIdentity, targetHead: preview.targetHeadCommit, files: recoveryIntentFiles(preflight), + result: { cwd: store.paths.cwd, action: "apply", targetWorktree: request.targetWorktree, receiptId: id, paths: preflight.paths }, + }; + const revision = retained?.revision ?? store.putAppServerState({ + kind: "change_transfer_request", recordId: id, expectedRevision: 0, payload: receipt, + }, new Date().toISOString())?.record.revision; + if (revision === undefined) throw new HttpError(409, "stale_revision", "The transfer request changed during admission."); + const epoch = store.acquireWorkspaceSnapshotFence(DEFAULT_WORKSPACE_ID, id, new Date().toISOString()); + let dispatched = false; + try { + const current = await prepareTransfer(store, request); + assertConfirmed(current.preview, expectedRevision); + const fence = store.getWorkspaceSnapshotFence(DEFAULT_WORKSPACE_ID); + if (fence.ownerRequestId !== id || fence.epoch !== epoch) throw new Error("The transfer lost its worktree fence."); + assertWorktreeIdle(store, targetPath); + for (const path of current.preflight.paths) { + if (readWorktreePatchText(targetPath, path) !== current.preflight.before.get(path)) throw conflict(path); + } + dispatched = true; + commitRecovery(targetPath, current.preflight); + const result = settleWorktreePatch(store, id, receipt, revision, "applied"); + store.releaseWorkspaceSnapshotFence(DEFAULT_WORKSPACE_ID, id, new Date().toISOString(), epoch); + return result; + } catch (error) { + if (!dispatched) { + settleWorktreePatch(store, id, receipt, revision, "not_applied"); + store.releaseWorkspaceSnapshotFence(DEFAULT_WORKSPACE_ID, id, new Date().toISOString(), epoch); + throw error; + } + await recoverWorktreePatch(store); + const reconciled = readWorktreePatchReceipt(store, id)?.receipt; + if (!reconciled?.state) throw new HttpError(409, "unknown_outcome", "The worktree transfer could not be reconciled."); + return { ...reconciled.result, state: reconciled.state }; + } + }); +} + +function assertConfirmed(preview: LingAppServerChangeTransferPreview, expectedRevision: string): void { + if (preview.expectedRevision !== expectedRevision) { + throw Object.assign(new Error("The source candidate, selection or target worktree changed after preview."), + { jsonRpcCode: -32030, code: "stale_revision" }); + } +} + +async function prepareTransfer(store: RunStore, input: LingAppServerPreviewChangeTransferParams) { + const cwd = store.paths.cwd; + const [sourcePath, targetPath] = await Promise.all([ + input.sourceWorktree ? resolveChangeWorktree(store, input.sourceWorktree) : Promise.resolve(cwd), + resolveChangeWorktree(store, input.targetWorktree), + ]); + if (sourcePath === targetPath) throw new HttpError(400, "invalid_params", "Select a different target worktree."); + const sourceIdentity = worktreeDirectoryIdentity(sourcePath); + const targetIdentity = worktreeDirectoryIdentity(targetPath); + assertWorktreeIdle(store, targetPath); + const [source, target] = await Promise.all([sourcePath, targetPath].map(path => + captureCodeAssessmentSnapshot(path, { type: "working_tree" }))); + if (!source?.headSha || !target?.headSha || source.digest !== input.candidateDigest + || source.coverage !== "complete" || target.coverage !== "complete") { + throw new HttpError(409, "candidate_stale", "The transfer requires the current source candidate and complete worktree coverage."); + } + const selected = new Set(input.hunkIds); + const changedTarget = new Set(target.files.flatMap(file => file.originalPath ? [file.path, file.originalPath] : [file.path])); + const selection: LingAppServerChangeTransferPreview["selection"][number][] = []; + const before = new Map(); + const after = new Map(); + const allowed = store.getApprovalPolicy().allowedWritePaths; + for (const file of source.files) { + const patch = transferablePatch(file); + if (!patch) continue; + const hunks = identifyHunks(file, patch); + const indices = hunks.flatMap((hunk, index) => selected.delete(hunk.id) ? [index] : []); + if (!indices.length) continue; + if (selection.length >= 20) throw new HttpError(400, "invalid_params", "A transfer can change at most 20 files."); + const operation = file.kind; + if (operation !== "modified" && indices.length !== hunks.length) { + throw new HttpError(400, "invalid_params", "File creation and deletion require selecting the whole file patch."); + } + if (changedTarget.has(file.path)) throw conflict(file.path); + assertNoInternalPatchPaths([file.path], targetPath); + assertPatchPathsWithinAllowedWritePaths([file.path], targetPath, allowed); + assertNoSymlinkEscapes([file.path], targetPath, allowed); + const baseline = await readBlob(sourcePath, source.headSha, file.path); + const current = readWorktreePatchText(targetPath, file.path); + if (current !== baseline || (["added", "untracked"].includes(operation) && baseline !== undefined) + || (["modified", "deleted"].includes(operation) && baseline === undefined)) throw conflict(file.path); + const updated = operation === "deleted" ? undefined + : applyPatch(baseline ?? "", { ...patch, hunks: indices.map(index => patch.hunks[index]!) }, { autoConvertLineEndings: false }); + const full = applyPatch(baseline ?? "", patch, { autoConvertLineEndings: false }); + const sourceText = readWorktreePatchText(sourcePath, file.path); + if (updated === false || full === false || (operation === "deleted" ? full !== "" || sourceText !== undefined : full !== sourceText) + || updated === current) throw conflict(file.path); + before.set(file.path, current); + after.set(file.path, updated); + selection.push({ path: file.path, hunkIds: indices.map(index => hunks[index]!.id) }); + } + if (selected.size) throw new HttpError(409, "candidate_stale", "A selected hunk is unavailable in the current candidate."); + if (worktreeDirectoryIdentity(sourcePath) !== sourceIdentity || worktreeDirectoryIdentity(targetPath) !== targetIdentity) { + throw new HttpError(409, "worktree_conflict", "A worktree changed during inspection."); + } + assertWorktreeIdle(store, targetPath); + const preflight: RecoveryPreflight = { paths: [...before.keys()], before, after }; + const summary = summarizeAppServerCandidate(cwd, source, input.sourceWorktree); + const preview: LingAppServerChangeTransferPreview = { + ...summary, candidate: { ...summary.candidate, filePaths: preflight.paths }, + action: "apply", targetWorktree: input.targetWorktree, targetCandidateDigest: target.digest, targetHeadCommit: target.headSha, selection, + expectedRevision: hash([sourcePath, sourceIdentity, targetPath, targetIdentity, input.sourceWorktree, + input.targetWorktree, source.digest, target.digest, selection, allowed, recoveryIntentFiles(preflight)]), + }; + return { preview, targetPath, targetIdentity, preflight }; +} + +async function readBlob(cwd: string, commit: string, path: string): Promise { + const { stdout } = await workflowGit(cwd, ["ls-tree", "-z", commit, "--", path]); + if (!stdout.length) return undefined; + const match = /^100(?:644|755) blob ([a-f0-9]{40,64})\t/u.exec(stdout.toString()); + if (!match) throw conflict(path); + const object = match[1]!; + const size = await workflowGit(cwd, ["cat-file", "-s", object]); + const bytes = Number(size.stdout.toString().trim()); + if (!Number.isSafeInteger(bytes) || bytes < 0 || bytes > WORKTREE_PATCH_MAX_TEXT_BYTES) throw conflict(path); + return decodeWorktreePatchText((await workflowGit(cwd, ["cat-file", "blob", object])).stdout); +} + +function conflict(path: string): HttpError { + return new HttpError(409, "worktree_conflict", `The selected patch no longer matches a regular text file: ${path}`); +} diff --git a/packages/daemon/src/server/app-server-changes.ts b/packages/daemon/src/server/app-server-changes.ts index 5b5392930..561d29b62 100644 --- a/packages/daemon/src/server/app-server-changes.ts +++ b/packages/daemon/src/server/app-server-changes.ts @@ -1,7 +1,6 @@ import { createHash } from "node:crypto"; import { realpathSync, statSync } from "node:fs"; import type { - CodeAssessmentSnapshot, LingAppServerApplyChangesResult, LingAppServerCaptureChangesResult, LingAppServerChangeRecoveryPreview, @@ -18,37 +17,40 @@ import { withWorkspaceRecoveryLock, } from "../features/runs/workspace-change-recovery.js"; import { assertWorktreeIdle } from "../features/workspaces/worktree-mutation.js"; +import { + describeChangeHunks, + readChangeWorktree, + resolveChangeWorktree, + summarizeAppServerCandidate, +} from "./app-server-change-transfer.js"; const digestPattern = /^[a-f0-9]{64}$/u; const maxResultBytes = 112 * 1024; const hash = (value: unknown) => createHash("sha256").update(JSON.stringify(value)).digest("hex"); -function summarizeCandidate(cwd: string, snapshot: CodeAssessmentSnapshot): LingAppServerCaptureChangesResult { - if (!snapshot.headSha) throw new HttpError(409, "candidate_unavailable", "The worktree has no committed candidate baseline."); - return { - cwd, - candidate: { - workspaceId: cwd, - candidateDigest: snapshot.digest, filePaths: snapshot.files.map(file => file.path), - }, - coverage: snapshot.coverage, headCommit: snapshot.headSha, - }; +export async function captureAppServerChanges(cwd: string): Promise { + return summarizeAppServerCandidate(cwd, await captureCodeAssessmentSnapshot(cwd, { type: "working_tree" })); } -export async function captureAppServerChanges(cwd: string): Promise { - return summarizeCandidate(cwd, await captureCodeAssessmentSnapshot(cwd, { type: "working_tree" })); +export async function captureAppServerWorktreeChanges(store: RunStore, target: unknown): Promise { + const worktree = readChangeWorktree(target); + const path = await resolveChangeWorktree(store, worktree); + return summarizeAppServerCandidate(store.paths.cwd, await captureCodeAssessmentSnapshot(path, { type: "working_tree" }), worktree); } -export async function readAppServerChanges(cwd: string, input: Record): Promise { +export async function readAppServerChanges(store: RunStore, input: Record): Promise { + const cwd = store.paths.cwd; const { candidateDigest, offset = 0, limit = 20 } = input; if (typeof candidateDigest !== "string" || !digestPattern.test(candidateDigest) || typeof offset !== "number" || !Number.isSafeInteger(offset) || offset < 0 || typeof limit !== "number" || !Number.isSafeInteger(limit) || limit < 1 || limit > 50) { throw new HttpError(400, "invalid_params", "Supply a candidate digest and valid file pagination."); } - const snapshot = await captureCodeAssessmentSnapshot(cwd, { type: "working_tree" }); + const sourceWorktree = input.sourceWorktree === undefined ? undefined : readChangeWorktree(input.sourceWorktree); + const path = sourceWorktree ? await resolveChangeWorktree(store, sourceWorktree) : cwd; + const snapshot = await captureCodeAssessmentSnapshot(path, { type: "working_tree" }); if (snapshot.digest !== candidateDigest) throw stale("The worktree changed since the candidate was captured."); - const summary = summarizeCandidate(cwd, snapshot); + const summary = summarizeAppServerCandidate(cwd, snapshot, sourceWorktree); const files: LingAppServerReadChangesResult["files"][number][] = []; const result = { ...summary, candidate: { ...summary.candidate, filePaths: undefined }, files, exclusions: snapshot.exclusions.slice(0, 20), exclusionCount: snapshot.exclusions.length, @@ -56,7 +58,9 @@ export async function readAppServerChanges(cwd: string, input: Record= responseBytes(file) + 1) entry = file; if (remaining < responseBytes(entry) + 1) { if (files.length) break; const { diff: _diff, ...metadata } = file; diff --git a/packages/daemon/src/server/app-server-mcp.ts b/packages/daemon/src/server/app-server-mcp.ts index 35651ea8d..aa25b099b 100644 --- a/packages/daemon/src/server/app-server-mcp.ts +++ b/packages/daemon/src/server/app-server-mcp.ts @@ -8,6 +8,11 @@ import { connectToAppServer, type AppServerLocalTransportOptions } from "./app-s const objectId = z.string().min(1).max(256); const requestKey = z.string().min(1).max(128); +const changeWorktree = z.strictObject({ ownerKind: z.enum(["channel", "teammate"]), ownerId: z.string().min(1).max(200) }); +const transferInput = { + sourceWorktree: changeWorktree.optional(), targetWorktree: changeWorktree, candidateDigest: z.string().length(64), + hunkIds: z.array(z.string().length(64)).min(1).max(128), +}; export async function runLingAppServerMcp( options: AppServerLocalTransportOptions, @@ -15,10 +20,12 @@ export async function runLingAppServerMcp( output: Writable = process.stdout, ): Promise { const client = connectToAppServer(options, "ling-mcp"); - const methods = new Set((await client.getCapabilities().catch(error => { + const negotiated = await client.getCapabilities().catch(error => { client.close(); throw error; - })).methods); + }); + const methods = new Set(negotiated.methods); + const canTransfer = negotiated.capabilities.includes("development.changeTransfer"); const server = new McpServer({ name: "ling-app-server", version: LING_PRODUCT_VERSION }); const describe = (value: unknown) => ({ content: [{ type: "text" as const, text: JSON.stringify(value) }] }); if (methods.has("thread/read")) server.registerTool("ling_thread_read", { @@ -120,12 +127,13 @@ export async function runLingAppServerMcp( }, async params => describe(await client.bindWorkItemWorkflow(params))); if (methods.has("changes/capture")) server.registerTool("ling_changes_capture", { description: "Capture the current working-tree candidate and its coverage.", - inputSchema: z.strictObject({}), + inputSchema: z.strictObject({ sourceWorktree: changeWorktree.optional() }), annotations: { readOnlyHint: true }, - }, async () => describe(await client.captureChanges())); + }, async params => describe(await client.captureChanges(params))); if (methods.has("changes/read")) server.registerTool("ling_changes_read", { description: "Read the bounded current candidate diff for a captured candidate digest.", - inputSchema: z.strictObject({ candidateDigest: z.string().length(64), offset: z.number().int().nonnegative().optional(), limit: z.number().int().min(1).max(50).optional() }), + inputSchema: z.strictObject({ candidateDigest: z.string().length(64), offset: z.number().int().nonnegative().optional(), + limit: z.number().int().min(1).max(50).optional(), sourceWorktree: changeWorktree.optional() }), annotations: { readOnlyHint: true }, }, async params => describe(await client.readChanges(params))); if (methods.has("changes/apply/preview")) server.registerTool("ling_changes_preview_recovery", { @@ -138,6 +146,16 @@ export async function runLingAppServerMcp( inputSchema: z.strictObject({ threadId: objectId, turnId: objectId, action: z.enum(["undo", "reapply"]), expectedRevision: z.string().length(64), idempotencyKey: requestKey, confirmed: z.literal(true) }), annotations: { idempotentHint: true, destructiveHint: true }, }, async params => describe(await client.applyChanges(params))); + if (canTransfer && methods.has("changes/apply/preview")) server.registerTool("ling_changes_preview_transfer", { + description: "Preview transferring selected hunk IDs from the captured candidate to an owned worktree.", + inputSchema: z.strictObject(transferInput), + annotations: { readOnlyHint: true }, + }, async params => describe(await client.previewChangeTransfer({ ...params, action: "apply" }))); + if (canTransfer && methods.has("changes/apply")) server.registerTool("ling_changes_apply_transfer", { + description: "Apply a confirmed hunk transfer with its preview revision and idempotency key.", + inputSchema: z.strictObject({ ...transferInput, expectedRevision: z.string().length(64), idempotencyKey: requestKey, confirmed: z.literal(true) }), + annotations: { idempotentHint: true, destructiveHint: true }, + }, async params => describe(await client.applyChangeTransfer({ ...params, action: "apply" }))); if (methods.has("github/intake/poll")) server.registerTool("ling_github_intake_poll", { description: "Evaluate a registered GitHub intake page under its current manual, suggestion, or automatic admission policy.", inputSchema: z.strictObject({ repository: z.string().min(3).max(201), page: z.number().int().min(1).max(500).optional(), diff --git a/packages/daemon/src/server/rpc.ts b/packages/daemon/src/server/rpc.ts index a8198c447..3fc5047fb 100644 --- a/packages/daemon/src/server/rpc.ts +++ b/packages/daemon/src/server/rpc.ts @@ -85,7 +85,10 @@ import { submitAuthorizedUserInputAnswer } from "../features/runs/user-input-ans import { publishUserInputAnswerAcceptance } from "../features/runs/user-input-events.js"; import { RpcOutboundWriter, type RpcOutboundFrame } from "./rpc-outbound.js"; import { abortAppServerVerifications, getAppServerDevelopmentService, type AppServerDevelopmentService } from "./app-server-development.js"; -import { applyAppServerChanges, captureAppServerChanges, previewAppServerChangeRecovery, readAppServerChanges } from "./app-server-changes.js"; +import { + applyAppServerChanges, captureAppServerChanges, captureAppServerWorktreeChanges, previewAppServerChangeRecovery, readAppServerChanges, +} from "./app-server-changes.js"; +import { applyAppServerChangeTransfer, previewAppServerChangeTransfer } from "./app-server-change-transfer.js"; import { RunWorkspaceRecoveryError } from "../features/runs/workspace-change-recovery.js"; import { listManagedWorktrees, WorktreeActionError } from "../features/workspaces/worktree-management.js"; import { cleanupAppServerWorktree, createAppServerWorktree, previewAppServerWorktreeCleanup, refreshAppServerWorktree } from "./app-server-worktrees.js"; @@ -634,17 +637,22 @@ class RpcConnection { case "verify/plan": return await this.development.planVerification(this.workspaceParams(params) as never); case "changes/capture": { - const { cwd } = this.workspaceParams(params); - return await captureAppServerChanges(cwd); + const record = this.workspaceParams(params); + if (record.sourceWorktree === undefined) return await captureAppServerChanges(record.cwd); + const { cwd } = this.workspaceParams(params, true); + return await captureAppServerWorktreeChanges(this.context.storeRegistry.getStore(cwd), record.sourceWorktree); } case "changes/read": { const record = this.workspaceParams(params, true); - return await readAppServerChanges(record.cwd, record); + return await readAppServerChanges(this.context.storeRegistry.getStore(record.cwd), record); } case "changes/apply/preview": case "changes/apply": { const record = this.workspaceParams(params, true); const store = this.context.storeRegistry.getStore(record.cwd); + if (record.action === "apply") return method === "changes/apply/preview" + ? await previewAppServerChangeTransfer(store, record) + : await applyAppServerChangeTransfer(store, record); return method === "changes/apply/preview" ? await previewAppServerChangeRecovery(store, record) : await applyAppServerChanges(store, record); @@ -865,7 +873,8 @@ class RpcConnection { } return LING_APP_SERVER_IMPLEMENTED_CAPABILITIES.filter(capability => this.authenticated || (capability !== "turn.control" && capability !== "approval.respond" - && capability !== "input.respond" && capability !== "development.simplify" && capability !== "development.changes")); + && capability !== "input.respond" && capability !== "development.simplify" && capability !== "development.changes" + && capability !== "development.changeTransfer")); } private replayIdentity(cwd: string, store = this.context.storeRegistry.getStore(cwd)) { diff --git a/packages/daemon/test/app-server-release-acceptance.test.ts b/packages/daemon/test/app-server-release-acceptance.test.ts index 41ee697df..980322e1e 100644 --- a/packages/daemon/test/app-server-release-acceptance.test.ts +++ b/packages/daemon/test/app-server-release-acceptance.test.ts @@ -16,7 +16,9 @@ import { parseUserInputAnswerCommandV1 } from "@ling-stack/contracts"; import type { LingAppServerCandidateReference, AutomationRun, + LingAppServerApplyChangeTransferResult, LingAppServerCaptureChangesResult, + LingAppServerChangeTransferPreview, LingAppServerContextInspectResult, LingAppServerExternalAgentRegisterResult, LingAppServerExternalAgentTaskReconnectResult, @@ -48,6 +50,7 @@ import type { LingAppServerReviewStartResult, LingAppServerReviewStatusResult, LingAppServerReviewFindingUpdateResult, + LingAppServerReadChangesResult, LingAppServerSimplifyStartResult, LingAppServerSimplifyStatusResult, LingAppServerThreadSnapshotResult, @@ -58,7 +61,7 @@ import type { ControlPlaneEventsResponse, } from "@ling-stack/contracts"; import { LingAppServerClient, type LingAppServerSocket, type LingDaemonClient } from "@ling-stack/api-client"; -import { createSqliteRunStore, resolveStoragePaths, toRuntimeAttemptFence, type LingThreadGoal, type RunIntervention, type SqliteRunStore } from "@ling-stack/core"; +import { createSqliteRunStore, DEFAULT_WORKSPACE_ID, resolveStoragePaths, toRuntimeAttemptFence, type LingThreadGoal, type RunIntervention, type SqliteRunStore } from "@ling-stack/core"; import { WebSocket } from "ws"; import { createDaemonServer, createDefaultRunnerRegistry, listenLingAppServerSocket, probeLingAppServer, runLingAppServerMcp, runLingAppServerStdio, type DaemonConfig } from "../dist/index.js"; import { prepareConversationSubmission } from "../dist/features/conversations/conversation-submission.js"; @@ -341,6 +344,72 @@ test("App Server manages an owned worktree and archives the reviewed candidate", assert.equal(replay.entry.status, "not_created"); }); +test("App Server transfers reviewed hunks between owned worktrees and reconciles a lost receipt", { timeout: 30_000 }, async t => { + const fixture = await releaseFixture(t); + const baseline = ["first", ...Array.from({ length: 20 }, (_, index) => `line ${index}`), "last"].join("\n") + "\n"; + const git = (...args: string[]) => execFileSync("git", args, { cwd: fixture.cwd, stdio: "ignore" }); + await writeFile(join(fixture.cwd, ".gitignore"), ".ling-stack/\n"); + await writeFile(join(fixture.cwd, "subject.txt"), baseline); + await writeFile(join(fixture.cwd, "obsolete.txt"), "obsolete content\n"); + git("init", "-q", "-b", "main"); + git("add", "."); + git("-c", "user.name=Fixture", "-c", "user.email=fixture@example.test", "commit", "-qm", "Transfer baseline"); + const store = fixture.getStore(); + const client = await fixture.connect(); + const makeWorktree = async (name: string) => { + const owner = store.createChannel({ name, boundPath: fixture.cwd }, new Date().toISOString()); + const worktree = { ownerKind: "channel", ownerId: owner.id } as const; + const { entry } = await client.call("worktree/create", worktree); + return { worktree, path: entry.path }; + }; + const source = await makeWorktree("Source"); + const target = await makeWorktree("Target"); + const changed = baseline.replace("first", "first updated").replace("last", "last updated"); + await writeFile(join(source.path, "subject.txt"), changed); + await writeFile(join(source.path, "added.txt"), "a separate file\n"); + await unlink(join(source.path, "obsolete.txt")); + await writeFile(join(target.path, "local.txt"), "preserve target work\n"); + const sourceWorktree = source.worktree; + const { candidate } = await client.call("changes/capture", { sourceWorktree }); + const { files } = await client.call("changes/read", { sourceWorktree, candidateDigest: candidate.candidateDigest }); + const modified = files.find(file => file.path === "subject.txt")?.hunks; + assert.equal(modified?.length, 2); + const selected = [modified![1]!.id, ...files.filter(file => file.path !== "subject.txt").flatMap(file => file.hunks?.map(hunk => hunk.id) ?? [])]; + assert.equal(selected.length, 3); + const request = { action: "apply", sourceWorktree, targetWorktree: target.worktree, candidateDigest: candidate.candidateDigest, hunkIds: selected }; + const preview = await client.call("changes/apply/preview", request); + assert.deepEqual(preview.selection.map(item => item.path).sort(), ["added.txt", "obsolete.txt", "subject.txt"]); + assert.equal(await readFile(join(target.path, "subject.txt"), "utf8"), baseline); + const apply = { ...request, expectedRevision: preview.expectedRevision, idempotencyKey: "transfer", confirmed: true }; + await writeFile(join(target.path, "local.txt"), "newer target work\n"); + await assert.rejects(client.call("changes/apply", apply), { code: "stale_revision" }); + await writeFile(join(target.path, "local.txt"), "preserve target work\n"); + + const db = new DatabaseSync(store.paths.databasePath); + try { + db.exec(`CREATE TRIGGER fixture_lost_transfer_receipt BEFORE UPDATE ON app_server_state + WHEN NEW.kind='change_transfer_request' AND json_extract(NEW.payload_json, '$.state')='applied' + BEGIN SELECT RAISE(ABORT, 'fixture lost transfer receipt'); END`); + await assert.rejects(client.call("changes/apply", apply)); + db.exec("DROP TRIGGER fixture_lost_transfer_receipt"); + } finally { + db.close(); + } + assert.equal(await readFile(join(target.path, "subject.txt"), "utf8"), baseline.replace("last", "last updated")); + assert.equal(await readFile(join(target.path, "added.txt"), "utf8"), "a separate file\n"); + await assert.rejects(readFile(join(target.path, "obsolete.txt")), { code: "ENOENT" }); + assert.equal(await readFile(join(target.path, "local.txt"), "utf8"), "preserve target work\n"); + assert.equal(await readFile(join(source.path, "subject.txt"), "utf8"), changed); + assert.equal(await readFile(join(fixture.cwd, "subject.txt"), "utf8"), baseline); + await fixture.restart(); + const resumed = await fixture.connect(); + const settled = await resumed.call("changes/apply", apply); + assert.equal(settled.state, "applied"); + assert.deepEqual(await resumed.call("changes/apply", { ...apply, hunkIds: [...selected].reverse() }), settled); + await assert.rejects(resumed.call("changes/apply", { ...apply, hunkIds: [modified![0]!.id] }), { code: "idempotency_conflict" }); + assert.equal(fixture.getStore().getWorkspaceSnapshotFence(DEFAULT_WORKSPACE_ID).ownerRequestId, undefined); +}); + test("App Server submits a durable Turn through the configured Pi Runner and replays it after reconnect", { timeout: 30_000 }, async t => { const provider = await startLoopbackPiProvider(() => ({ text: "Runner accepted the task" })); t.after(() => provider.close()); From fadb1a8970bb084d3ae8bb0cf9d270dc23092d0b Mon Sep 17 00:00:00 2001 From: tianxiaochannel-oss88 Date: Sun, 22 Nov 2026 23:41:02 +0800 Subject: [PATCH 023/147] feat(delivery): reconcile provider-owned merge queue evidence --- .../design/ling-app-server-detailed-design.md | 2 + .../ling-app-server-implementation-plan.md | 5 +- packages/contracts/src/app-server.ts | 9 ++ .../daemon/src/server/app-server-github-ci.ts | 105 +++++++++++--- .../src/server/app-server-github-delivery.ts | 2 +- .../src/server/app-server-github-subject.ts | 40 +++--- .../app-server-release-acceptance.test.ts | 128 +++++++++++++++++- 7 files changed, 253 insertions(+), 38 deletions(-) diff --git a/docs/design/ling-app-server-detailed-design.md b/docs/design/ling-app-server-detailed-design.md index d049a3767..56800fbb0 100644 --- a/docs/design/ling-app-server-detailed-design.md +++ b/docs/design/ling-app-server-detailed-design.md @@ -258,6 +258,8 @@ sequenceDiagram `changes/read` 按当前候选 digest 返回文件分页。`changes/apply/preview` 接受已收敛的本工作区 Turn 和 `undo` 或 `reapply`,返回原始 Turn 的不可变变更视图和预览 revision。`changes/apply` 以 operator 凭据、已确认的 revision 与幂等键进入原有工作区恢复路径,应用范围覆盖该 Turn 的原始可恢复改动。 +支持 `development.changeTransfer` 的 operator 可以从项目 checkout 或 `sourceWorktree` 采集候选。`changes/read` 给可应用文本差异返回 hunk ID。`changes/apply/preview` 的 `action: "apply"` 接受候选摘要、选中的 hunk ID 和目标托管工作树。预览绑定来源与目标的目录身份、候选、当前写入范围和文件摘要。创建或删除文件需要选中整份文件补丁。转移保留目标中其他未提交改动,检查目标选中文件仍符合源基线。重启后根据磁盘状态确认原回执。 + 候选引用包括 `workspaceId`、`worktreeId`、`baseCommit`、`headCommit`、`candidateDigest`、相关文件范围与覆盖状态。Daemon 从 Git 事实及授权范围内的工作树内容计算候选,包括声明要交付的未暂存和未跟踪改动,复用 Code Assessment 的双次采集和范围保护。文件移动、截断、敏感或不可读内容有明确的覆盖原因。发布证据绑定当前候选和实际输入,审查的脱敏视图另带其自身 digest。 ```ts diff --git a/docs/design/ling-app-server-implementation-plan.md b/docs/design/ling-app-server-implementation-plan.md index 1d9a8ad7b..12e2b2243 100644 --- a/docs/design/ling-app-server-implementation-plan.md +++ b/docs/design/ling-app-server-implementation-plan.md @@ -20,6 +20,7 @@ - 内置 `init-project-instructions` 和 `verify-current-changes` 技能通过 CLI 预览项目约定、捕获候选、生成计划、启动检查并读取状态。应用初始化草稿需要当前预览 revision 和 operator 授权。 - 工作区设置可以显式登记仓库内的 `CLAUDE.md` 和带 `paths` frontmatter 的 `.claude/rules/*.md`。Host 在 Turn 准备时按目标路径读取并封存 digest,运行中同样要求规则先呈现给模型,再允许写入。 - `changes/read` 以候选 digest 分页返回受限 diff 和排除原因。`changes/apply/preview` 与 `changes/apply` 复用 Turn 的不可变变更快照、工作区 fence、幂等收据和重启恢复,候选或工作区漂移会拒绝旧预览。 +- 候选 hunk 可从一个托管工作树转移到同仓库的另一个托管工作树。Daemon 验收覆盖选中部分修改、创建和删除文件、目标无关 WIP、目标候选漂移,以及写入后回执提交失败再重启的对账。 - 普通 Pi 会话进入新目录时可发现并封存逐级项目规则。验收验证首次写入等待模型收到子目录规则、第二次写入生效,以及重启后从 Thread 游标读取原规则凭据。 - Host 登记的 Verify 配方可以选择受影响路径,并把独立 verifier source 的摘要、coverage 和 producer refs 封存到每个检查结果。 - 复核工作台的「验证」页使用和 App Server 相同的 Verify operation。浏览器验收在隔离仓库中从 Web 触发已登记的 Chromium 检查,读取实际断言输出,刷新后恢复原结果并显示候选漂移。 @@ -41,7 +42,7 @@ | C2/F2 版本兼容 | 用 `v0.6.1@3fe77440e` 源码构建在 macOS 上创建 Thread、Turn、待决审批和游标,候选 Daemon 接手原 SQLite,旧 SDK 可读取 Thread 和处置后的审批。候选 SDK 向旧 `/rpc/stream` 尝试提交时,在协商阶段返回 `protocol_version_unsupported`。候选 Daemon 的 `/rpc/stream` 仅提供原有方法。测试覆盖 App Server 专属方法拒绝、旧客户端的 Run 启动和取消。候选 CLI probe 和本机 Codex MCP 已通过。v0.6.1 未提供 App Server 协议。发布安装包、远程连接及回退对账另行验收。 | | E1 Verify 与用户输入恢复 | Verify 按幂等键在 SQLite 写事务内受理。两个连接同时提交复用原操作及其事件。取消受理与停止意图一起写入,重启后可按原键读取回执。`verify/status` 记录确认退出后的 `cancelled`。执行器无法确认停止时,返回 `unknown` 并附 `verification_cancellation_unconfirmed`。已绑定工作项的 Verify 状态和 Control Plane 事件同事务提交。用户提问的 authority、答案 CAS、投递收据和 `pending/answered/cancelled` 事件也在重启后保持同一请求身份。 | | E2 交付前验收 | App Server 与 HTTP 使用同一套 Goal 验收解析和证据检查。实际 Pi Run 通过后,可用同 Thread 证据完成 Goal。Verify 结果用绑定当前候选的 `verification_passed` 条件完成 Goal,独立 verifier basis、coverage 和 producer refs 不匹配时会被拒绝。Review 已验证候选绑定、发现项处置和 freshness 持久化。`simplify/start` 与 `simplify/status` 支持只读简化审查及重启重放。`github_delivered` 要求当前已提交候选、同 Thread 与 Work Item、已接受的检查政策和 Host 重新核对的实际合并结果。 | -| O4 GitHub 证据核对 | 配置注册仓库、不可变仓库 ID 与分支政策。对已受理工作项重读 PR、实时 base ref、集成提交父链、检查 App、冻结的 workflow 文件、实际测试对象和最新 attempt。夹具覆盖同名异源检查、工作流改动、保持 head 更新 base、迟到尝试和合并后重新核对。工作项保留以前的观察和稳定交付 ID。GitHub merge queue 与实际仓库合并保护仍需验收。 | +| O4 GitHub 证据核对 | 配置注册仓库、不可变仓库 ID 与分支政策。对已受理工作项重读 PR、实时 base ref、集成提交父链、检查 App、冻结的 workflow 文件、实际测试对象和最新 attempt。队列证据同时确认 GitHub 的 Queue Entry、当前 base、PR head 与 `merge_group` 检查。夹具覆盖队列重建、实际合并树不同及匹配后对账。工作项保留以前的观察和稳定交付 ID。队列准入、实际仓库保护与执行时合并验收仍待完成。 | | O1/O8/O9 接单、控制和协作 | 工作项创建、控制、接单、证据和协作写入各自与对应事件同事务提交。两个客户端验证了幂等、冲突、写入失败回滚和游标回放。阶段运行、交接、裁决与恢复的联合验收仍待下方矩阵。 | | O7 定时协调轮次 | 已配置的 Automation 在同一事务中写入终态回执、轮次和事件。实际调度器从重启前的时段恢复。故障注入验证提交失败不会留下回执或轮次。回执重放复用原轮次。截止后生成简报和关闭事件,暂停的工作项产生跳过回执。该用例启动的 Runner 数量为零。 | | O1 首次会话派发 | `workItem/accept` 可选定主执行会话,接单和首发意图同事务保存。正常会话 Run 创建核对该意图并原子更新 Work Item。脚本化 Pi Provider 验证了重启、两个并发受理、暂停恢复、实际派发一次,以及当前绑定阻止删除会话。Codex MCP 已提供同一创建和受理入口。 | @@ -53,7 +54,7 @@ | 工作包 | 代码或验收差距 | | --- | --- | | A1、B1、C1、C2 | 全方法的 Schema 校验和更多宿主兼容组合。workspace、Thread、Work Item 的 grant 和 WSS 已接入,审批和用户答复仍需按不同真实宿主与远程部署做验收。App Server 目标游标已绑定存储代次、授权代次和目标,现有兼容用例覆盖本机的上一版源码与候选组合。 | -| D1、D2、E1、E2 | 开工与 Pi 运行中的项目规则加载、显式 Claude 规则、两个开发 Skill、工作区 Verify、独立 verifier basis、托管工作树管理、候选改动分页、Turn 改动恢复和工作台浏览器验证报告已接入。仍需选中 hunk、跨工作树应用和各发行平台验证。 | +| D1、D2、E1、E2 | 开工与 Pi 运行中的项目规则加载、显式 Claude 规则、两个开发 Skill、工作区 Verify、独立 verifier basis、托管工作树管理、候选改动分页、Turn 改动恢复、选中 hunk 转移和工作台浏览器验证报告已接入。各发行平台验证仍待完成。 | | F1、F2 | 普通会话已接入 Handoff 的候选封存和接手。仍需跨 Agent Workflow 的执行归属和预算承接。已有 Codex MCP 联调,双端宿主界面和授权变更后重订阅需要实测。 | | O1、O3–O9 | 已验证 GitHub 签名 webhook、独立轮询和显式接单可以归并到同一工作项。Webhook 入箱和待处理目标同事务提交。已登记的自动接单策略适用免打扰、并发和启动额度,由现有 Automation worker 以原受理键提交 Ling Agent 只读会话。Automations 显示生效策略及评估回执。Channel、设备和已有 AutomationRun 的统一自治接入仍待完成。合并队列、经验和设备反馈、阶段简报、在途改计划、交接、审议裁决、跨 Run 预算及原 Workflow 的联合 UI 验收仍待完成。 | | G | 自研切换和回退日志对账、签名安装产物、远程 WSS 和三个真实 Provider 自研试点。macOS 打包预检仍缺当前打包输入的 Office 审查、对应 Electron/OS 的受限运行时审查和 gstack 平台资源。T01 离线预检达到评审条件,真实试点仍需按 Framework Assurance 准入。 | diff --git a/packages/contracts/src/app-server.ts b/packages/contracts/src/app-server.ts index 97e7c2446..18393f92e 100644 --- a/packages/contracts/src/app-server.ts +++ b/packages/contracts/src/app-server.ts @@ -1137,6 +1137,14 @@ export interface LingGitHubCiEvidence { | "merge_group_membership_unavailable" | "ambiguous_run" | "observation_window_exceeded" | "workflow_source_changed"; } +export interface LingGitHubMergeGroupEvidence { + readonly queueEntryId: string; + readonly baseCommit: string; + readonly testedCommit: string; + readonly testedTree?: string; + readonly membershipProofRef: string; +} + export interface LingAppServerGitHubDelivery { readonly deliveryId: string; readonly workItemId: string; @@ -1147,6 +1155,7 @@ export interface LingAppServerGitHubDelivery { readonly subject: LingAppServerGitHubSubject; readonly baseCommit: string; readonly checks: readonly LingGitHubCiEvidence[]; + readonly mergeGroup?: LingGitHubMergeGroupEvidence; readonly status: "ci_pending" | "ci_failed" | "delivery_pending" | "delivered"; readonly mergedCommit?: string; readonly observedAt: string; diff --git a/packages/daemon/src/server/app-server-github-ci.ts b/packages/daemon/src/server/app-server-github-ci.ts index 08628bd37..39e7bb7aa 100644 --- a/packages/daemon/src/server/app-server-github-ci.ts +++ b/packages/daemon/src/server/app-server-github-ci.ts @@ -1,17 +1,36 @@ import { createHash } from "node:crypto"; -import type { LingAppServerGitHubSubject, LingGitHubCiEvidence, LingGitHubRequiredCheck } from "@ling-stack/contracts"; +import type { + LingAppServerGitHubDelivery, + LingAppServerGitHubSubject, + LingGitHubCiEvidence, + LingGitHubMergeGroupEvidence, + LingGitHubRequiredCheck, +} from "@ling-stack/contracts"; import { HttpError } from "../errors.js"; import { isRecord } from "../shared/validation.js"; import { commitSha, digest, readAppServerGitHubSubject, type GitHubReadClient } from "./app-server-github-subject.js"; /** Reconcile checks through their provider-owned App, workflow, latest run and attempt. */ -export async function observeGitHubDelivery(client: GitHubReadClient, pullRequestNumber: number) { +export async function observeGitHubDelivery(client: GitHubReadClient, pullRequestNumber: number, previous?: LingAppServerGitHubDelivery) { const params = { repository: client.source.repository, kind: "pull_request" as const, number: pullRequestNumber }; const subject = await readAppServerGitHubSubject(client, params); const policy = client.source.deliveryPolicies?.find(item => item.baseRef === subject.baseRef); if (!policy) throw new HttpError(409, "github_delivery_policy_missing", "The pull request has no registered delivery policy."); + const policyRevision = digest([client.source.repositoryId, policy]); const readBase = () => readDeliveryBase(client, subject); - const { baseCommit, integrationCommit, mergedCommit } = await readBase(); + const { baseCommit, integrationCommit, mergedCommit, mergedTree } = await readBase(); + const requiresMergeGroup = policy.requiredChecks.some(check => check.basis === "merge_group"); + const readCurrentGroup = () => requiresMergeGroup && subject.state === "open" + ? readQueueMembership(client, subject, baseCommit) + : Promise.resolve(undefined); + const currentGroup = await readCurrentGroup(); + const retainedGroup = mergedCommit && previous?.policyRevision === policyRevision + && previous.subject.number === subject.number && previous.subject.repositoryId === subject.repositoryId + && previous.subject.headSha === subject.headSha && previous.subject.baseRef === subject.baseRef + && previous.mergeGroup?.baseCommit === baseCommit + && (previous.mergeGroup.testedCommit === mergedCommit + || (mergedTree && previous.mergeGroup.testedTree === mergedTree)) ? previous.mergeGroup : undefined; + const mergeGroup = currentGroup ?? retainedGroup; const reads = new Map>>(); const get = (path: string) => { let result = reads.get(path); @@ -22,15 +41,17 @@ export async function observeGitHubDelivery(client: GitHubReadClient, pullReques return result; }; const checks = await Promise.all(policy.requiredChecks.map(async check => { - if (check.basis === "merge_group") return unavailable(check, "merge_group_membership_unavailable"); - const testedCommit = check.basis === "head" ? subject.headSha : integrationCommit; + if (check.basis === "merge_group" && !mergeGroup) return unavailable(check, "merge_group_membership_unavailable"); + const testedCommit = check.basis === "head" ? subject.headSha + : check.basis === "merge_group" ? mergeGroup?.testedCommit : integrationCommit; if (!testedCommit) return unavailable(check, "integration_unavailable"); return readCurrentCheck(get, client.source.repository, check, testedCommit); })); // The effective attempt and PR basis must still match after the separate evidence reads. - const [current, currentBase] = await Promise.all([readAppServerGitHubSubject(client, params), readBase()]); + const [current, currentBase, freshGroup] = await Promise.all([readAppServerGitHubSubject(client, params), readBase(), readCurrentGroup()]); if (current.sourceRevision !== subject.sourceRevision || currentBase.baseCommit !== baseCommit - || currentBase.integrationCommit !== integrationCommit) { + || currentBase.integrationCommit !== integrationCommit + || freshGroup?.membershipProofRef !== currentGroup?.membershipProofRef) { throw new HttpError(409, "stale_revision", "The GitHub delivery basis changed during reconciliation."); } const boundRuns = new Map(checks.flatMap(check => check.runId && check.runAttempt @@ -45,16 +66,62 @@ export async function observeGitHubDelivery(client: GitHubReadClient, pullReques : checks.some(item => item.outcome !== "passed") ? "ci_pending" : mergedCommit ? "delivered" : "delivery_pending"; return { - subject, baseCommit, checks, status, mergedCommit, - policyRevision: digest([client.source.repositoryId, policy]), + subject, baseCommit, checks, status, mergedCommit, policyRevision, ...(mergeGroup ? { mergeGroup } : {}), } as const; } +const mergeQueueMembership = `query LingMergeQueueMembership($owner: String!, $name: String!, $number: Int!) { + repository(owner: $owner, name: $name) { + fullDatabaseId nameWithOwner + pullRequest(number: $number) { + number headRefOid baseRefName isInMergeQueue + mergeQueueEntry { + id + baseCommit { oid } + headCommit { oid tree { oid } } + pullRequest { number headRefOid baseRefName } + } + } + } +}`; + +async function readQueueMembership( + client: GitHubReadClient, subject: LingAppServerGitHubSubject, baseCommit: string, +): Promise { + const [owner, name] = client.source.repository.split("/"); + let observed: Record | undefined; + try { + observed = await client.query(mergeQueueMembership, { owner: owner!, name: name!, number: subject.number }); + } catch (error) { + if (error instanceof HttpError && error.statusCode === 404) return undefined; + throw error; + } + const repo = observed?.repository; + if (!isRecord(repo) || String(repo.fullDatabaseId) !== client.source.repositoryId + || typeof repo.nameWithOwner !== "string" || repo.nameWithOwner.toLowerCase() !== client.source.repository + || !isRecord(repo.pullRequest) || repo.pullRequest.isInMergeQueue !== true + || !isQueueParticipant(repo.pullRequest, subject)) return undefined; + const entry = repo.pullRequest.mergeQueueEntry; + if (!isRecord(entry) || typeof entry.id !== "string" || !entry.id.trim() || entry.id.length > 256 + || !isRecord(entry.baseCommit) || commitSha(entry.baseCommit.oid) !== baseCommit + || !isRecord(entry.headCommit) || !isRecord(entry.pullRequest) || !isQueueParticipant(entry.pullRequest, subject)) return undefined; + const testedCommit = commitSha(entry.headCommit.oid); + if (!testedCommit || testedCommit === subject.headSha || testedCommit === baseCommit) return undefined; + const testedTree = isRecord(entry.headCommit.tree) ? commitSha(entry.headCommit.tree.oid) : undefined; + const proof = { queueEntryId: entry.id, baseCommit, testedCommit, ...(testedTree ? { testedTree } : {}) }; + return { ...proof, membershipProofRef: `github:merge-queue:${digest([subject.repositoryId, subject.number, subject.baseRef, subject.headSha, proof])}` }; +} + +function isQueueParticipant(pr: Record, subject: LingAppServerGitHubSubject): boolean { + return pr.number === subject.number && pr.headRefOid === subject.headSha && pr.baseRefName === subject.baseRef; +} + async function readDeliveryBase(client: GitHubReadClient, subject: LingAppServerGitHubSubject) { if (subject.merged && subject.mergeSha) { - const parents = await commitParents(client, subject.mergeSha); + const commit = await readCommit(client, subject.mergeSha); + const parents = commit?.parents; if (!parents?.[0]) throw new HttpError(502, "github_observation_invalid", "GitHub did not confirm the merged commit."); - return { baseCommit: parents[0], mergedCommit: subject.mergeSha, + return { baseCommit: parents[0], mergedCommit: subject.mergeSha, mergedTree: commit?.tree, integrationCommit: parents.length === 2 && parents[1] === subject.headSha ? subject.mergeSha : undefined }; } const escapedRef = subject.baseRef!.split("/").map(encodeURIComponent).join("/"); @@ -63,12 +130,13 @@ async function readDeliveryBase(client: GitHubReadClient, subject: LingAppServer if (!baseCommit || ref.ref !== `refs/heads/${subject.baseRef}`) { throw new HttpError(502, "github_observation_invalid", "GitHub did not confirm the current base branch."); } - const parents = subject.mergeSha && subject.state === "open" ? await commitParents(client, subject.mergeSha) : undefined; - return { baseCommit, mergedCommit: undefined, + const preview = subject.mergeSha && subject.state === "open" ? await readCommit(client, subject.mergeSha) : undefined; + const parents = preview?.parents; + return { baseCommit, mergedCommit: undefined, mergedTree: undefined, integrationCommit: parents?.length === 2 && parents[0] === baseCommit && parents[1] === subject.headSha ? subject.mergeSha : undefined }; } -async function commitParents(client: GitHubReadClient, oid: string): Promise { +async function readCommit(client: GitHubReadClient, oid: string) { let commit: Record; try { commit = await client.get(`/git/commits/${oid}`); } catch (error) { if (error instanceof HttpError && error.statusCode === 404) return undefined; @@ -76,7 +144,8 @@ async function commitParents(client: GitHubReadClient, oid: string): Promise isRecord(parent) ? commitSha(parent.sha) : undefined); - return parents.every((parent): parent is string => parent !== undefined) ? parents : undefined; + const tree = isRecord(commit.tree) ? commitSha(commit.tree.sha) : undefined; + return parents.every((parent): parent is string => parent !== undefined) ? { parents, tree } : undefined; } function unavailable(check: LingGitHubRequiredCheck, reason: NonNullable): LingGitHubCiEvidence { @@ -89,7 +158,8 @@ async function readCurrentCheck( const runs = await get(`/actions/workflows/${check.workflowId}/runs?head_sha=${testedCommit}&per_page=100`); const workflowRuns = boundedRecords(runs, "workflow_runs"); if (!workflowRuns) return unavailable(check, "observation_window_exceeded"); - const applicable = workflowRuns.filter(run => run.workflow_id === check.workflowId && run.head_sha === testedCommit) + const applicable = workflowRuns.filter(run => run.workflow_id === check.workflowId && run.head_sha === testedCommit + && (check.basis !== "merge_group" || run.event === "merge_group")) .sort((a, b) => String(b.created_at).localeCompare(String(a.created_at)) || Number(b.id) - Number(a.id)); const run = applicable[0]; if (!run) return { check, testedCommit, outcome: "pending", reason: "applicable_check_missing" }; @@ -98,8 +168,9 @@ async function readCurrentCheck( if (!runId || !runAttempt || typeof run.created_at !== "string") return unavailable(check, "ambiguous_run"); const proof = { check, testedCommit, runId, runAttempt }; if (run.status !== "completed") return { ...proof, outcome: "pending", reason: "current_attempt_pending" }; + const applicableEvents = check.basis === "merge_group" ? ["merge_group"] : ["push", "pull_request", "workflow_dispatch"]; if (typeof run.path !== "string" || run.path.split("@", 1)[0] !== check.workflowPath - || !["push", "pull_request", "workflow_dispatch"].includes(String(run.event))) { + || !applicableEvents.includes(String(run.event))) { return { ...proof, outcome: "unavailable", reason: "workflow_source_changed" }; } const [jobs, checks, workflow] = await Promise.all([ diff --git a/packages/daemon/src/server/app-server-github-delivery.ts b/packages/daemon/src/server/app-server-github-delivery.ts index c54be02d5..5196fc84d 100644 --- a/packages/daemon/src/server/app-server-github-delivery.ts +++ b/packages/daemon/src/server/app-server-github-delivery.ts @@ -37,7 +37,7 @@ export async function reconcileGitHubDelivery( if (candidate.coverage !== "complete" || candidate.totalFileCount !== 0 || candidate.digest !== candidateDigest) { throw new HttpError(409, "candidate_stale", "Delivery requires the current committed candidate with full capture coverage."); } - const observation = await observeGitHubDelivery(client, pullRequestNumber); + const observation = await observeGitHubDelivery(client, pullRequestNumber, previous?.payload as LingAppServerGitHubDelivery | undefined); if (observation.subject.headSha !== candidate.headSha || (await capture()).digest !== candidateDigest) { throw new HttpError(409, "candidate_stale", "The committed candidate differs from the observed pull request head."); } diff --git a/packages/daemon/src/server/app-server-github-subject.ts b/packages/daemon/src/server/app-server-github-subject.ts index 3cd34c0b8..e3093c57d 100644 --- a/packages/daemon/src/server/app-server-github-subject.ts +++ b/packages/daemon/src/server/app-server-github-subject.ts @@ -26,23 +26,26 @@ export function gitHubReadClient(context: Pick { - let response: Response; - try { - response = await fetcher(`https://api.github.com/repos/${repository}${path}`, { - headers: { Accept: "application/vnd.github+json", "User-Agent": "ling-stack-app-server", - ...(secret?.value ? { Authorization: `Bearer ${secret.value}` } : {}) }, - redirect: "error", signal: AbortSignal.timeout(8000), - }); - } catch { - throw new HttpError(502, "github_observation_unavailable", "GitHub could not confirm the requested object."); - } - if (!response.ok) { - throw new HttpError(response.status === 404 || response.status === 403 ? 404 : 502, - "github_observation_unavailable", "GitHub could not confirm the requested object."); - } - return await response.json().catch(() => undefined); + async function requestJson(url: string, body?: string): Promise { + let response: Response; + try { + response = await fetcher(url, { + ...(body !== undefined ? { method: "POST", body } : {}), + headers: { Accept: "application/vnd.github+json", "User-Agent": "ling-stack-app-server", + ...(body !== undefined ? { "Content-Type": "application/json" } : {}), + ...(secret?.value ? { Authorization: `Bearer ${secret.value}` } : {}) }, + redirect: "error", signal: AbortSignal.timeout(8000), + }); + } catch { + throw new HttpError(502, "github_observation_unavailable", "GitHub could not confirm the requested object."); + } + if (!response.ok) { + throw new HttpError(response.status === 404 || response.status === 403 ? 404 : 502, + "github_observation_unavailable", "GitHub could not confirm the requested object."); + } + return await response.json().catch(() => undefined); } + const getJson = (path: string) => requestJson(`https://api.github.com/repos/${repository}${path}`); return { source, async get(path: string): Promise> { @@ -57,6 +60,11 @@ export function gitHubReadClient(context: Pick): Promise | undefined> { + if (!secret?.value) return undefined; + const response = await requestJson("https://api.github.com/graphql", JSON.stringify({ query, variables })); + return isRecord(response) && !response.errors && isRecord(response.data) ? response.data : undefined; + }, }; } diff --git a/packages/daemon/test/app-server-release-acceptance.test.ts b/packages/daemon/test/app-server-release-acceptance.test.ts index 980322e1e..e712a2f37 100644 --- a/packages/daemon/test/app-server-release-acceptance.test.ts +++ b/packages/daemon/test/app-server-release-acceptance.test.ts @@ -61,7 +61,7 @@ import type { ControlPlaneEventsResponse, } from "@ling-stack/contracts"; import { LingAppServerClient, type LingAppServerSocket, type LingDaemonClient } from "@ling-stack/api-client"; -import { createSqliteRunStore, DEFAULT_WORKSPACE_ID, resolveStoragePaths, toRuntimeAttemptFence, type LingThreadGoal, type RunIntervention, type SqliteRunStore } from "@ling-stack/core"; +import { createEnvSecretResolver, createSqliteRunStore, DEFAULT_WORKSPACE_ID, resolveStoragePaths, toRuntimeAttemptFence, type LingThreadGoal, type RunIntervention, type SecretResolver, type SqliteRunStore } from "@ling-stack/core"; import { WebSocket } from "ws"; import { createDaemonServer, createDefaultRunnerRegistry, listenLingAppServerSocket, probeLingAppServer, runLingAppServerMcp, runLingAppServerStdio, type DaemonConfig } from "../dist/index.js"; import { prepareConversationSubmission } from "../dist/features/conversations/conversation-submission.js"; @@ -1752,6 +1752,128 @@ test("GitHub delivery keeps head checks across base changes and completes a Goal assert.equal((await complete(restored, fresh.deliveryId)).goal.status, "complete"); }); +test("GitHub delivery requires current queue membership and a provider-attested merge group check", { timeout: 30_000 }, async t => { + const workflowPath = ".github/workflows/verify.yml"; + const workflow = "name: Verify\non: merge_group\n"; + const check = { name: "queue-verification", appId: 19, workflowId: 5, workflowPath, + workflowSha256: createHash("sha256").update(workflow).digest("hex"), basis: "merge_group" as const, coverageRefs: ["queue-integration"] }; + const repository = "example/ling"; + const originalBase = "b".repeat(40); + const advancedBase = "c".repeat(40); + const firstGroup = "d".repeat(40); + const secondGroup = "e".repeat(40); + const finalCommit = "f".repeat(40); + const tree = "1".repeat(40); + let head = ""; + let base = originalBase; + let entryBase = originalBase; + let group = firstGroup; + let unrelatedHead = true; + let selectionChanges = false; + let checkedEvent = "push"; + let merged = false; + let finalTree = "2".repeat(40); + const fixture = await releaseFixture(t, { + secretResolver: createEnvSecretResolver({ LING_QUEUE_FIXTURE_AUTH: "test-provider-credential" }), + githubSources: cwd => [{ + workspaceRoot: cwd, repository, repositoryId: "73", secretRef: "env:LING_QUEUE_FIXTURE_AUTH", + deliveryPolicies: [{ baseRef: "main", requiredChecks: [check] }], + }], + externalWorkFetch: async (input, init) => { + const url = new URL(String(input)); + assert.equal(url.origin, "https://api.github.com"); + if (url.pathname === "/graphql") { + assert.equal(init?.method, "POST"); + assert.equal(new Headers(init.headers).get("Authorization"), "Bearer test-provider-credential"); + const request = JSON.parse(String(init.body)); + assert.deepEqual(request.variables, { owner: "example", name: "ling", number: 13 }); + assert.match(request.query, /mergeQueueEntry/); + const pullRequest = { number: 13, headRefOid: head, baseRefName: "main" }; + const attributed = { ...pullRequest, headRefOid: unrelatedHead ? "9".repeat(40) : head }; + return Response.json({ data: { repository: { fullDatabaseId: "73", nameWithOwner: repository, + pullRequest: { ...pullRequest, isInMergeQueue: true, mergeQueueEntry: { + id: "entry-13", baseCommit: { oid: entryBase }, headCommit: { oid: group, tree: { oid: tree } }, pullRequest: attributed, + } } } } }); + } + const prefix = "/repos/" + repository; + assert.ok(url.pathname.startsWith(prefix)); + const path = url.pathname.slice(prefix.length); + if (!path) return Response.json({ id: 73, full_name: repository }); + if (path === "/pulls/13") return Response.json({ + number: 13, title: "Queue changes", state: merged ? "closed" : "open", merged, + base: { sha: base, ref: "main", repo: { id: 73 } }, head: { sha: head }, + ...(merged ? { merge_commit_sha: finalCommit } : {}), + }); + if (path === "/git/ref/heads/main") return Response.json({ ref: "refs/heads/main", object: { type: "commit", sha: base } }); + if (path === `/git/commits/${finalCommit}`) return Response.json({ sha: finalCommit, parents: [{ sha: base }], tree: { sha: finalTree } }); + if (path === "/actions/workflows/5/runs") { + const tested = url.searchParams.get("head_sha"); + assert.equal(tested, group); + if (selectionChanges) group = secondGroup; + return Response.json({ total_count: 1, workflow_runs: [{ id: 15, workflow_id: 5, head_sha: tested, created_at: "2026-11-22T00:00:00Z", + run_attempt: 1, status: "completed", path: workflowPath, event: checkedEvent }] }); + } + const checkUrl = `https://api.github.com${prefix}/check-runs/16`; + if (path === `/contents/${workflowPath}`) return Response.json({ + type: "file", path: workflowPath, encoding: "base64", content: Buffer.from(workflow).toString("base64"), + }); + if (path === "/actions/runs/15/attempts/1/jobs") return Response.json({ total_count: 1, jobs: [{ + id: 17, run_id: 15, head_sha: selectionChanges ? firstGroup : group, + name: check.name, check_run_url: checkUrl, status: "completed", conclusion: "success", + }] }); + if (path.startsWith("/commits/") && path.endsWith("/check-runs")) return Response.json({ total_count: 1, check_runs: [{ + id: 16, name: check.name, head_sha: path.split("/")[2], status: "completed", conclusion: "success", url: checkUrl, app: { id: 19 }, + }] }); + if (path === "/actions/runs/15") return Response.json({ id: 15, run_attempt: 1 }); + return Response.json({}, { status: 404 }); + }, + }); + const git = (...args: string[]) => execFileSync("git", args, { cwd: fixture.cwd, encoding: "utf8" }).trim(); + await writeFile(join(fixture.cwd, ".gitignore"), ".ling-stack/\n"); + git("init", "-q", "-b", "main"); + git("add", "."); + git("-c", "user.name=Fixture", "-c", "user.email=fixture@example.test", "commit", "-qm", "Candidate"); + head = git("rev-parse", "HEAD"); + const client = await fixture.connect(); + const { workItem } = await client.call("workItem/create", { sourceId: "queue", title: "Queue changes" }); + const accepted = await client.call("workItem/accept", { + workItemId: workItem.workItemId, expectedWorkItemRevision: Number(workItem.revision), idempotencyKey: "accept-queue", + }); + const { thread } = await client.call("thread/start", { title: "Verify merge queue" }); + const { candidate } = await client.call("changes/capture"); + const reconcile = async () => (await client.call("github/delivery/reconcile", { + workItemId: workItem.workItemId, threadId: thread.id, expectedWorkItemRevision: Number(accepted.workItem.revision), + candidateDigest: candidate.candidateDigest, repository, pullRequestNumber: 13, + })).delivery; + assert.equal((await reconcile()).checks[0]?.reason, "merge_group_membership_unavailable"); + unrelatedHead = false; + assert.equal((await reconcile()).checks[0]?.reason, "applicable_check_missing"); + checkedEvent = "merge_group"; + const ready = await reconcile(); + assert.equal(ready.mergeGroup?.testedCommit, firstGroup); + assert.equal(ready.checks[0]?.outcome, "passed"); + selectionChanges = true; + await assert.rejects(reconcile(), { code: "stale_revision" }); + selectionChanges = false; + base = advancedBase; + assert.equal((await reconcile()).checks[0]?.reason, "merge_group_membership_unavailable"); + entryBase = advancedBase; + const replacement = await reconcile(); + assert.equal(replacement.mergeGroup?.testedCommit, secondGroup); + assert.notEqual(replacement.mergeGroup?.membershipProofRef, ready.mergeGroup?.membershipProofRef); + merged = true; + assert.equal((await reconcile()).status, "ci_pending"); + // Observe the current group again before testing the actual matching squash result. + merged = false; + await reconcile(); + merged = true; + finalTree = tree; + const delivered = await reconcile(); + assert.equal(delivered.status, "delivered"); + assert.equal(delivered.mergedCommit, finalCommit); + assert.equal(delivered.checks[0]?.testedCommit, secondGroup); +}); + test("Work Item creation, acceptance, evidence and collaboration retries keep one event per committed revision", { timeout: 20_000 }, async t => { const fixture = await releaseFixture(t); const client = await fixture.connect(); @@ -2736,7 +2858,7 @@ type ReleaseRuntime = { const candidateRuntime: ReleaseRuntime = { createDaemonServer, createSqliteRunStore, resolveStoragePaths }; async function releaseFixture(t: TestContext, { - runner, initialRuntime = candidateRuntime, harness, requireAuth = true, verificationRecipes, githubSources, externalWorkFetch, wssConfig, + runner, initialRuntime = candidateRuntime, harness, requireAuth = true, verificationRecipes, githubSources, externalWorkFetch, secretResolver, wssConfig, }: { runner?: RunnerRegistrationInput; initialRuntime?: ReleaseRuntime; @@ -2745,6 +2867,7 @@ async function releaseFixture(t: TestContext, { verificationRecipes?: (root: string, cwd: string) => Promise; githubSources?: (cwd: string) => DaemonConfig["appServerGitHubSources"]; externalWorkFetch?: typeof fetch; + secretResolver?: SecretResolver; wssConfig?: (root: string) => Promise; } = {}) { const root = await realpath(await mkdtemp(join(tmpdir(), "ling-as-"))); @@ -2764,6 +2887,7 @@ async function releaseFixture(t: TestContext, { ...(runner ? { runnerRegistry: createRunnerRegistry([runner]) } : {}), chromeBrowserNativeMessagingEnabled: false, externalWorkFetch, + secretResolver, remoteReplyDispatcher: null, storeFactory(workspace) { const store = runtime.createSqliteRunStore(workspace, runtime.resolveStoragePaths(workspace, { From e379e6a683017ddd9d711b1b0ee849de229ff1e8 Mon Sep 17 00:00:00 2001 From: tianxiaochannel-oss88 Date: Sun, 22 Nov 2026 23:33:33 +0800 Subject: [PATCH 024/147] feat(app-server): publish and validate versioned method schemas --- packages/cli/src/main.ts | 13 +- packages/contracts/src/app-server-schema.ts | 382 ++++++++++++++++++ packages/contracts/src/index.ts | 1 + .../contracts/test/app-server-schema.test.ts | 25 ++ packages/daemon/src/server/rpc.ts | 11 + 5 files changed, 430 insertions(+), 2 deletions(-) create mode 100644 packages/contracts/src/app-server-schema.ts create mode 100644 packages/contracts/test/app-server-schema.test.ts diff --git a/packages/cli/src/main.ts b/packages/cli/src/main.ts index c731198c3..3fe32d09c 100644 --- a/packages/cli/src/main.ts +++ b/packages/cli/src/main.ts @@ -61,7 +61,7 @@ import { type LocalServiceStatus, type LocalStackStatus, } from "./local/services.js"; -import { LING_DAEMON_PROTOCOL_VERSION, LING_PRODUCT_VERSION } from "@ling-stack/contracts"; +import { getLingAppServerSchema, isLingAppServerMethod, LING_DAEMON_PROTOCOL_VERSION, LING_PRODUCT_VERSION } from "@ling-stack/contracts"; const DEFAULT_HOST = "127.0.0.1"; const DEFAULT_PORT = "17891"; @@ -258,13 +258,21 @@ export async function main(): Promise { async function handleAppServer(args: readonly string[], options: GlobalOptions): Promise { const [mode = "stdio", socketPath, ...rest] = args; + if (mode === "schema") { + if (rest.length || socketPath !== undefined && !isLingAppServerMethod(socketPath)) { + throw new CliError(2, "bad_usage", "Usage: ling-stack app-server schema [method]"); + } + const document = getLingAppServerSchema(); + printJson(socketPath === undefined ? document : document.methods[socketPath]); + return 0; + } const transportOptions = { daemonUrl: options.daemonUrl, cwd: options.cwd, authToken: process.env.LING_STACK_AUTH_TOKEN }; if (mode === "instructions-init" || mode === "verify" || mode === "verify-status") { return handleAppServerDevelopment(mode, args.slice(1), transportOptions); } if (!["stdio", "probe", "mcp", "listen"].includes(mode) || rest.length || (mode === "listen" ? !socketPath : socketPath !== undefined)) { - throw new CliError(2, "bad_usage", "Use app-server with stdio, probe, mcp, listen, instructions-init, verify, or verify-status."); + throw new CliError(2, "bad_usage", "Use app-server with stdio, probe, mcp, listen, schema, instructions-init, verify, or verify-status."); } if (mode === "mcp") { const { runLingAppServerMcp } = await import("@ling-stack/daemon/dist/server/app-server-mcp.js"); @@ -7798,6 +7806,7 @@ function shellQuote(value: string): string { function printCommandHelp(command: string, subcommand?: string): void { if (command === "app-server") { console.log("Usage: ling-stack [global options] app-server [stdio|probe|mcp|listen ]"); + console.log(" ling-stack app-server schema [method]"); console.log(" ling-stack [global options] app-server instructions-init [--path ] [--apply ]"); console.log(" ling-stack [global options] app-server verify [--plan] [--check ] [--thread ] [--work-item ]"); console.log(" ling-stack [global options] app-server verify-status "); diff --git a/packages/contracts/src/app-server-schema.ts b/packages/contracts/src/app-server-schema.ts new file mode 100644 index 000000000..cf9710ef8 --- /dev/null +++ b/packages/contracts/src/app-server-schema.ts @@ -0,0 +1,382 @@ +import { + LING_APP_SERVER_METHODS, + LING_APP_SERVER_PROTOCOL_VERSION, + isLingAppServerMethod, + type LingAppServerMethod, +} from "./app-server.js"; + +/** The subset of JSON Schema used by the App Server contract registry. */ +export interface LingAppServerJsonSchema { + readonly $schema?: string; + readonly title?: string; + readonly type?: "object" | "array" | "string" | "number" | "integer" | "boolean" | "null"; + readonly properties?: Readonly>; + readonly required?: readonly string[]; + readonly additionalProperties?: boolean; + readonly items?: LingAppServerJsonSchema; + readonly enum?: readonly (string | number | boolean | null)[]; + readonly oneOf?: readonly LingAppServerJsonSchema[]; + readonly description?: string; +} + +export interface LingAppServerMethodSchema { + readonly params: LingAppServerJsonSchema; + readonly result: LingAppServerJsonSchema; +} + +export interface LingAppServerSchemaDocument { + readonly $schema: "https://json-schema.org/draft/2020-12/schema"; + readonly title: "Ling App Server protocol"; + readonly protocolVersion: "ling-app-server/1"; + readonly methods: Readonly>; +} + +export interface LingAppServerValidationResult { + readonly ok: boolean; + readonly path?: string; + readonly message?: string; +} + +const objectSchema: LingAppServerJsonSchema = { type: "object", additionalProperties: true }; +const stringSchema: LingAppServerJsonSchema = { type: "string" }; +const integerSchema: LingAppServerJsonSchema = { type: "integer" }; +const booleanSchema: LingAppServerJsonSchema = { type: "boolean" }; +const arraySchema: LingAppServerJsonSchema = { type: "array" }; +const stringArraySchema: LingAppServerJsonSchema = { type: "array", items: stringSchema }; + +const threadTarget = { threadId: stringSchema }; +const workItemTarget = { workItemId: stringSchema }; +const candidate = objectWith({ workspaceId: stringSchema, candidateDigest: stringSchema, worktreeId: stringSchema, + baseCommit: stringSchema, headCommit: stringSchema, filePaths: stringArraySchema }, ["workspaceId", "candidateDigest"]); +const planResult = objectWith({ planId: stringSchema, planRevision: stringSchema, candidate, checks: arraySchema }, + ["planId", "planRevision", "candidate", "checks"]); +const operationResult = objectWith({ operationId: stringSchema, candidateDigest: stringSchema, status: stringSchema }, + ["operationId", "candidateDigest", "status"]); +const subscriptionResult = objectWith({ disposition: { enum: ["complete", "snapshot_required"] }, + subscriptionId: stringSchema, cursor: stringSchema, window: objectSchema }, ["disposition"]); +const collaborationAppend = { ...workItemTarget, idempotencyKey: stringSchema, actorId: stringSchema, + expectedWorkItemRevision: integerSchema, expectedCollaborationRevision: integerSchema, parentRecordId: stringSchema, + sourceRefs: arraySchema, payload: {} }; +const worktreeTarget = { ownerKind: { enum: ["channel", "teammate"] }, ownerId: stringSchema }; + +function objectWith( + properties: Readonly>, + required: readonly string[] = [], +): LingAppServerJsonSchema { + return { type: "object", properties, required, additionalProperties: true }; +} + +function schemaFor(method: LingAppServerMethod): LingAppServerMethodSchema { + const result = objectSchema; + switch (method) { + case "initialize": + return { + params: objectWith({ protocolVersions: stringArraySchema, + clientInfo: objectWith({ name: stringSchema, version: stringSchema }, ["name", "version"]), + requiredCapabilities: stringArraySchema, optionalCapabilities: stringArraySchema, workspaceScope: stringArraySchema }, ["protocolVersions"]), + result: objectWith({ protocolVersion: { enum: [LING_APP_SERVER_PROTOCOL_VERSION] }, connectionId: stringSchema, + serverInfo: objectSchema, effectiveScopes: stringArraySchema, capabilities: stringArraySchema, limits: objectSchema }, + ["protocolVersion", "connectionId", "serverInfo", "effectiveScopes", "capabilities", "limits"]), + }; + case "server/ping": + return { params: objectSchema, result: objectWith({ ok: { enum: [true] }, connectionId: stringSchema, serverTime: stringSchema }, + ["ok", "connectionId", "serverTime"]) }; + case "server/capabilities": + return { params: objectSchema, result: objectWith({ protocolVersion: { enum: [LING_APP_SERVER_PROTOCOL_VERSION] }, + capabilities: stringArraySchema, methods: stringArraySchema, notifications: stringArraySchema }, + ["protocolVersion", "capabilities", "methods", "notifications"]) }; + case "workspace/list": + return { params: objectSchema, result: objectWith({ workspaces: arraySchema }, ["workspaces"]) }; + case "workspace/read": + return { params: objectWith({ workspaceId: stringSchema }), result: objectWith({ cwd: stringSchema, workspaceId: stringSchema }, ["cwd", "workspaceId"]) }; + case "provider/list": + case "skill/list": + return { params: objectSchema, result: objectWith({ snapshot: objectSchema, domain: stringSchema }, ["domain"]) }; + case "model/list": + return { params: objectWith({ offset: integerSchema }), result: objectWith({ models: arraySchema }, ["models"]) }; + case "skill/read": + return { params: objectWith({ skillId: stringSchema }, ["skillId"]), result: objectWith({ skill: objectSchema }, ["skill"]) }; + case "permissionProfile/list": + return { params: objectSchema, result: objectWith({ profiles: arraySchema }, ["profiles"]) }; + case "server/grants/list": + return { params: objectSchema, result: objectWith({ grants: arraySchema }, ["grants"]) }; + case "server/grants/create": + return { params: objectWith({ label: stringSchema, subject: objectSchema, scopes: stringArraySchema, expiresAt: stringSchema, + credentialSha256: stringSchema, idempotencyKey: stringSchema }, ["label", "subject", "scopes", "expiresAt", "credentialSha256", "idempotencyKey"]), + result: objectWith({ grant: objectSchema }, ["grant"]) }; + case "server/grants/revoke": + return { params: objectWith({ grantId: stringSchema, expectedRevision: integerSchema, revision: integerSchema }, ["grantId"]), + result: objectWith({ grant: objectSchema }, ["grant"]) }; + case "worktree/list": + return { params: objectSchema, result }; + case "worktree/create": + return { params: objectWith({ ...worktreeTarget, baseBranch: stringSchema }, ["ownerKind", "ownerId"]), result }; + case "worktree/refresh": + case "worktree/cleanup/preview": + case "worktree/cleanup": + return { params: objectWith({ ...worktreeTarget, expectedRevision: stringSchema, confirmed: booleanSchema }, ["ownerKind", "ownerId"]), result }; + case "thread/start": + return { params: objectWith({ ...threadTarget, title: stringSchema, objective: stringSchema, kind: stringSchema }), + result: objectWith({ thread: objectSchema }, ["thread"]) }; + case "thread/list": + return { params: objectWith({ limit: integerSchema }), result: objectWith({ threads: arraySchema }, ["threads"]) }; + case "thread/name/set": + return { params: objectWith({ ...threadTarget, title: stringSchema }, ["threadId", "title"]), result }; + case "thread/archive": + case "thread/unarchive": + case "thread/delete": + case "thread/delete/preview": + return { params: objectWith({ ...threadTarget, expectedRevision: stringSchema, reason: stringSchema }, ["threadId"]), result }; + case "thread/read": + case "thread/goal/get": + case "thread/mode/get": + case "thread/turns/list": + case "thread/items/list": + case "thread/events/read": + return { params: objectWith({ ...threadTarget, limit: integerSchema, beforeSequence: integerSchema, cursor: stringSchema }, ["threadId"]), result }; + case "thread/mode/set": + return { params: objectWith({ ...threadTarget, mode: { enum: ["default", "plan"] } }, ["threadId", "mode"]), result }; + case "thread/goal/set": + case "thread/goal/pause": + case "thread/goal/resume": + case "thread/goal/clear": + case "thread/goal/complete": + return { params: objectWith({ ...threadTarget, expectedGoalRevision: stringSchema }, ["threadId"]), result }; + case "plan/read": + return { params: objectWith({ ...threadTarget, planId: stringSchema, limit: integerSchema }), result }; + case "plan/accept": + return { params: objectWith({ ...threadTarget, planId: stringSchema, expectedRevision: integerSchema }, ["threadId", "planId"]), result }; + case "item/read": + return { params: objectWith({ ...threadTarget, itemId: stringSchema }, ["threadId", "itemId"]), result }; + case "context/inspect": + return { params: objectWith({ ...threadTarget, turnId: stringSchema }, ["threadId", "turnId"]), result }; + case "submission/read": + return { params: objectWith({ ...threadTarget, idempotencyKey: stringSchema }, ["idempotencyKey"]), result }; + case "thread/resume": + case "thread/snapshot": + return { params: objectWith({ threadId: stringSchema }, ["threadId"]), result: objectWith({ cwd: stringSchema, thread: objectSchema, + cursor: stringSchema, pendingApprovals: arraySchema, pendingInputs: arraySchema }, ["cwd", "thread", "cursor", "pendingApprovals", "pendingInputs"]) }; + case "thread/subscribe": + return { params: objectWith({ ...threadTarget, cursor: stringSchema }), result: subscriptionResult }; + case "workItem/subscribe": + return { params: objectWith({ ...workItemTarget, cursor: stringSchema }, ["workItemId"]), result: subscriptionResult }; + case "thread/unsubscribe": + case "workItem/unsubscribe": + return { params: objectWith({ subscriptionId: stringSchema }, ["subscriptionId"]), result }; + case "workItem/read": + case "workItem/clarify": + case "workItem/delivery/read": + case "workItem/evidence/read": + case "workItem/collaboration/read": + case "workItem/deliberation/read": + case "workItem/stage/read": + case "workItem/stage/brief/read": + case "workItem/coordination/read": + case "workItem/message/read": + case "workItem/message/list": + case "workItem/question/read": + case "workItem/handoff/read": + return { params: objectWith({ ...workItemTarget, afterRevision: integerSchema, afterSequence: integerSchema, + offset: integerSchema, limit: integerSchema }, ["workItemId"]), result }; + case "workItem/list": + return { params: objectWith({ status: stringSchema, channelId: stringSchema, limit: integerSchema }), result }; + case "workItem/create": + return { params: objectWith({ ...workItemTarget, sourceId: stringSchema, title: stringSchema, gitHubSubject: objectSchema, + idempotencyKey: stringSchema }, ["sourceId", "title"]), result }; + case "workItem/workflow/bind": + return { params: objectWith({ ...workItemTarget, planId: stringSchema, expectedWorkItemRevision: integerSchema, + expectedPlanRevision: integerSchema, idempotencyKey: stringSchema }, + ["workItemId", "planId", "expectedWorkItemRevision", "expectedPlanRevision", "idempotencyKey"]), result }; + case "workItem/evidence/append": + return { params: objectWith({ ...workItemTarget, actorId: stringSchema, kind: stringSchema, subjectRevision: stringSchema, + content: stringSchema, idempotencyKey: stringSchema, sourceRefs: arraySchema }, + ["workItemId", "actorId", "kind", "subjectRevision", "content", "idempotencyKey"]), result }; + case "workItem/collaboration/append": + return { params: objectWith({ ...collaborationAppend, kind: stringSchema, action: stringSchema }, ["workItemId", "kind", "action"]), result }; + case "workItem/deliberation/start": + case "workItem/deliberation/cancel": + case "workItem/deliberation/decide": + case "workItem/coordination/start": + case "workItem/coordination/close": + case "workItem/message/send": + case "workItem/question/ask": + case "workItem/question/reply": + case "workItem/handoff/accept": + case "workItem/handoff/return": + case "workItem/feedback/add": + return { params: objectWith(collaborationAppend, ["workItemId"]), result }; + case "workItem/coordination/schedule/read": + case "workItem/coordination/schedule/set": + return { params: objectWith({ ...workItemTarget, automationId: stringSchema, expectedRevision: integerSchema, + enabled: booleanSchema, kind: { enum: ["checkpoint", "retrospective"] }, durationMs: integerSchema }, ["workItemId", "automationId"]), result }; + case "turn/start": + return { params: objectWith({ ...threadTarget, turnId: stringSchema, idempotencyKey: stringSchema, message: stringSchema, + userInstruction: stringSchema, providerPresetId: stringSchema, executionBinding: objectSchema, attachmentIds: stringArraySchema }, ["threadId"]), result }; + case "turn/queue": + return { params: objectWith({ threadId: stringSchema, expectedTurnId: stringSchema, + expectedTurnRevision: stringSchema, message: stringSchema, userInstruction: stringSchema, idempotencyKey: stringSchema }, + ["threadId", "expectedTurnId", "expectedTurnRevision", "idempotencyKey"]), result }; + case "turn/interrupt": + return { params: objectWith({ turnId: stringSchema, expectedTurnId: stringSchema }), result }; + case "turn/resume": + return { params: objectWith({ ...threadTarget, turnId: stringSchema, expectedTurnRevision: stringSchema, + sourceRunId: stringSchema, idempotencyKey: stringSchema, instruction: stringSchema }, ["turnId"]), result }; + case "thread/fork": + return { params: objectWith({ ...threadTarget, turnId: stringSchema, sourceRunId: stringSchema, idempotencyKey: stringSchema }, ["threadId"]), result }; + case "approval/respond": + return { params: objectWith({ approvalId: stringSchema, decision: { enum: ["approve", "deny"] }, expectedRevision: stringSchema, + idempotencyKey: stringSchema, runId: stringSchema, threadId: stringSchema, turnId: stringSchema }, ["approvalId", "decision"]), result }; + case "input/respond": + return { params: objectWith({ schemaVersion: { enum: [1] }, authority: objectSchema, answers: arraySchema, idempotencyKey: stringSchema }, + ["schemaVersion", "authority", "answers", "idempotencyKey"]), + result: objectWith({ cwd: stringSchema, receipt: objectSchema }, ["cwd", "receipt"]) }; + case "workItem/accept": + return { params: objectWith({ workItemId: stringSchema, expectedWorkItemRevision: integerSchema, idempotencyKey: stringSchema }, + ["workItemId", "expectedWorkItemRevision", "idempotencyKey"]), result }; + case "workItem/pause": + case "workItem/resume": + case "workItem/cancel": + return { params: objectWith({ workItemId: stringSchema, expectedWorkItemRevision: integerSchema, + expectedControlGeneration: integerSchema, expectedRevision: integerSchema, controlGeneration: integerSchema, idempotencyKey: stringSchema }, + ["workItemId", "idempotencyKey"]), result }; + case "externalAgent/task/start": + return { params: objectWith({ registrationId: stringSchema, submission: objectSchema }, ["registrationId", "submission"]), result }; + case "externalAgent/task/reconnect": + return { params: objectWith({ registrationId: stringSchema, taskId: stringSchema, submissionId: stringSchema }, + ["registrationId", "taskId", "submissionId"]), result }; + case "externalAgent/task/cancel": + return { params: objectWith({ registrationId: stringSchema, taskId: stringSchema, idempotencyKey: stringSchema }, + ["registrationId", "taskId", "idempotencyKey"]), result }; + case "externalAgent/register": + return { params: objectWith({ registration: objectSchema, idempotencyKey: stringSchema }, ["registration", "idempotencyKey"]), result }; + case "externalAgent/capabilities/read": + return { params: objectWith({ registrationId: stringSchema }, ["registrationId"]), result }; + case "changes/capture": + return { params: objectSchema, result: objectWith({ candidate, coverage: stringSchema }, ["candidate", "coverage"]) }; + case "changes/read": + return { params: objectWith({ candidateDigest: stringSchema }, ["candidateDigest"]), result }; + case "changes/apply/preview": + return { params: objectWith({ threadId: stringSchema, turnId: stringSchema, action: stringSchema, candidateDigest: stringSchema, + sourceWorktreeId: stringSchema, targetWorktreeId: stringSchema, hunkIds: stringArraySchema }), result }; + case "changes/apply": + return { params: objectWith({ threadId: stringSchema, turnId: stringSchema, action: stringSchema, + expectedRevision: stringSchema, idempotencyKey: stringSchema, confirmed: booleanSchema, candidateDigest: stringSchema, + sourceWorktreeId: stringSchema, targetWorktreeId: stringSchema, hunkIds: stringArraySchema }), result }; + case "artifact/read": + return { params: objectWith({ artifactId: stringSchema, ...threadTarget, ...workItemTarget, runId: stringSchema, + offset: integerSchema, limit: integerSchema }, ["artifactId"]), result }; + case "verify/plan": + return { params: objectWith({ candidate, ...threadTarget, ...workItemTarget, requestedChecks: stringArraySchema, + idempotencyKey: stringSchema, planRevision: stringSchema }, ["candidate"]), result: planResult }; + case "verify/start": + return { params: objectWith({ planId: stringSchema, planRevision: stringSchema, candidateDigest: stringSchema, idempotencyKey: stringSchema }, + ["planId", "planRevision", "candidateDigest", "idempotencyKey"]), result: operationResult }; + case "verify/status": + return { params: objectWith({ operationId: stringSchema }, ["operationId"]), result: objectWith({ operation: operationResult }, ["operation"]) }; + case "verify/cancel": + return { params: objectWith({ operationId: stringSchema, expectedRevision: stringSchema, idempotencyKey: stringSchema }, ["operationId", "idempotencyKey"]), result }; + case "review/start": + return { params: objectWith({ candidate, ...workItemTarget, idempotencyKey: stringSchema, reviewRulesRefs: stringArraySchema, + providerPresetId: stringSchema }, ["candidate", "idempotencyKey"]), result: operationResult }; + case "review/status": + return { params: objectWith({ assessmentId: stringSchema, operationId: stringSchema }), result: operationResult }; + case "review/finding/update": + return { params: objectWith({ assessmentId: stringSchema, findingId: stringSchema, disposition: { enum: ["open", "acknowledged", "resolved", "dismissed"] }, + expectedRevision: stringSchema, idempotencyKey: stringSchema }, ["assessmentId", "findingId", "disposition", "idempotencyKey"]), result }; + case "simplify/status": + return { params: objectWith({ operationId: stringSchema, offset: integerSchema }, ["operationId"]), result: operationResult }; + case "simplify/start": + return { params: objectWith({ candidate, ...workItemTarget, idempotencyKey: stringSchema, providerPresetId: stringSchema }, + ["candidate", "idempotencyKey"]), result: operationResult }; + case "doctor/run": + return { params: objectWith({ includeLogTail: booleanSchema, scope: { enum: ["workspace", "project", "candidate"] } }), result }; + case "instructions/init": + return { params: objectWith({ mode: { enum: ["preview", "apply"] }, idempotencyKey: stringSchema }, ["idempotencyKey"]), result }; + case "handoff/create": + return { params: objectWith({ ...threadTarget, turnId: stringSchema, idempotencyKey: stringSchema, nextInstruction: stringSchema }, + ["threadId", "turnId", "idempotencyKey", "nextInstruction"]), result }; + case "handoff/read": + return { params: objectWith({ handoffId: stringSchema }, ["handoffId"]), result }; + case "handoff/resume": + return { params: objectWith({ handoffId: stringSchema, providerPresetId: stringSchema }, ["handoffId", "providerPresetId"]), result }; + case "github/intake/policy/list": + return { params: objectSchema, result }; + case "github/intake/read": + return { params: objectWith({ receiptId: stringSchema }, ["receiptId"]), result }; + case "github/intake/poll": + return { params: objectWith({ repository: stringSchema, page: integerSchema }, ["repository"]), result }; + case "github/subject/read": + return { params: objectWith({ repository: stringSchema, kind: { enum: ["issue", "pull_request"] }, number: integerSchema }, + ["repository", "kind", "number"]), result }; + case "github/delivery/reconcile": + return { params: objectWith({ ...threadTarget, ...workItemTarget, repository: stringSchema, pullRequestNumber: integerSchema, + candidateDigest: stringSchema, expectedWorkItemRevision: integerSchema }, ["threadId", "workItemId", "repository", "pullRequestNumber", "candidateDigest"]), result }; + case "delivery/read": + return { params: objectWith({ ...workItemTarget, deliveryId: stringSchema }, ["workItemId", "deliveryId"]), result }; + case "turn/retry": + case "turn/steer": + case "thread/compact/start": + case "thread/revert": + return { params: objectSchema, result }; + } +} + +export const LING_APP_SERVER_METHOD_SCHEMAS: Readonly> = + Object.fromEntries(LING_APP_SERVER_METHODS.map(method => [method, schemaFor(method)])) as Record; + +export function getLingAppServerSchema(): LingAppServerSchemaDocument { + return { + $schema: "https://json-schema.org/draft/2020-12/schema", + title: "Ling App Server protocol", + protocolVersion: LING_APP_SERVER_PROTOCOL_VERSION, + methods: LING_APP_SERVER_METHOD_SCHEMAS, + }; +} + +export function validateLingAppServerParams(method: string, params: unknown): LingAppServerValidationResult { + if (!isLingAppServerMethod(method)) return { ok: false, path: "method", message: "unknown App Server method" }; + return validateAgainstSchema(params === undefined ? {} : params, LING_APP_SERVER_METHOD_SCHEMAS[method].params, "params"); +} + +export function validateLingAppServerResult(method: LingAppServerMethod, result: unknown): LingAppServerValidationResult { + return validateAgainstSchema(result, LING_APP_SERVER_METHOD_SCHEMAS[method].result, "result"); +} + +function validateAgainstSchema(value: unknown, schema: LingAppServerJsonSchema, path: string): LingAppServerValidationResult { + if (schema.oneOf) { + if (schema.oneOf.filter(candidate => validateAgainstSchema(value, candidate, path).ok).length === 1) return { ok: true }; + return { ok: false, path, message: "does not match any allowed shape" }; + } + if (schema.enum && !schema.enum.includes(value as never)) return { ok: false, path, message: "must be one of the allowed values" }; + if (schema.type === "object") { + if (!isRecord(value)) return { ok: false, path, message: "must be an object" }; + for (const key of schema.required ?? []) { + if (!Object.hasOwn(value, key) || value[key] === undefined) return { ok: false, path: `${path}.${key}`, message: "is required" }; + } + for (const [key, property] of Object.entries(schema.properties ?? {})) { + if (Object.hasOwn(value, key) && value[key] !== undefined) { + const result = validateAgainstSchema(value[key], property, `${path}.${key}`); + if (!result.ok) return result; + } + } + return { ok: true }; + } + if (schema.type === "array") { + if (!Array.isArray(value)) return { ok: false, path, message: "must be an array" }; + if (schema.items) for (const [index, item] of value.entries()) { + const result = validateAgainstSchema(item, schema.items, `${path}[${index}]`); + if (!result.ok) return result; + } + return { ok: true }; + } + if (schema.type === "string" && typeof value !== "string") return { ok: false, path, message: "must be a string" }; + if (schema.type === "boolean" && typeof value !== "boolean") return { ok: false, path, message: "must be a boolean" }; + if (schema.type === "integer" && (!Number.isInteger(value) || !Number.isSafeInteger(value))) return { ok: false, path, message: "must be an integer" }; + if (schema.type === "number" && (typeof value !== "number" || !Number.isFinite(value))) return { ok: false, path, message: "must be a number" }; + if (schema.type === "null" && value !== null) return { ok: false, path, message: "must be null" }; + return { ok: true }; +} + +function isRecord(value: unknown): value is Record { + return typeof value === "object" && value !== null && !Array.isArray(value); +} diff --git a/packages/contracts/src/index.ts b/packages/contracts/src/index.ts index 9af630f09..d6275152f 100644 --- a/packages/contracts/src/index.ts +++ b/packages/contracts/src/index.ts @@ -104,6 +104,7 @@ export * from "./marketplace.js"; export * from "./learning-reviews.js"; export * from "./app-server.js"; +export * from "./app-server-schema.js"; export * from "./memory-derivatives.js"; diff --git a/packages/contracts/test/app-server-schema.test.ts b/packages/contracts/test/app-server-schema.test.ts new file mode 100644 index 000000000..a30feb38d --- /dev/null +++ b/packages/contracts/test/app-server-schema.test.ts @@ -0,0 +1,25 @@ +import assert from "node:assert/strict"; +import test from "node:test"; +import { + LING_APP_SERVER_METHOD_SCHEMAS, + getLingAppServerSchema, + validateLingAppServerParams, +} from "../dist/app-server-schema.js"; +import { LING_APP_SERVER_METHODS } from "../dist/app-server.js"; + +test("App Server exposes a versioned schema for every registered method", () => { + const document = getLingAppServerSchema(); + assert.equal(document.protocolVersion, "ling-app-server/1"); + assert.deepEqual(Object.keys(document.methods), LING_APP_SERVER_METHODS); + assert.equal(document.methods, LING_APP_SERVER_METHOD_SCHEMAS); + assert.equal(document.methods["turn/start"]?.params.type, "object"); + assert.equal(document.methods["turn/start"]?.result.type, "object"); +}); + +test("App Server parameter validation checks high-risk required fields while retaining extension fields", () => { + assert.equal(validateLingAppServerParams("turn/start", { threadId: "thread-1", extension: true }).ok, true); + const invalid = validateLingAppServerParams("turn/start", {}); + assert.deepEqual(invalid, { ok: false, path: "params.threadId", message: "is required" }); + assert.equal(validateLingAppServerParams("approval/respond", { approvalId: "approval-1", decision: "later" }).ok, false); + assert.equal(validateLingAppServerParams("turn/start", "invalid").ok, false); +}); diff --git a/packages/daemon/src/server/rpc.ts b/packages/daemon/src/server/rpc.ts index 3fc5047fb..9c2e5928a 100644 --- a/packages/daemon/src/server/rpc.ts +++ b/packages/daemon/src/server/rpc.ts @@ -25,7 +25,10 @@ import { LING_APP_SERVER_NOTIFICATION_METHODS, LING_APP_SERVER_PROTOCOL_VERSION, LING_PRODUCT_VERSION, + isLingAppServerMethod, parseUserInputAnswerCommandV1, + validateLingAppServerParams, + validateLingAppServerResult, type ControlPlaneSubscribeResult, type LingAppServerContextInspectResult, type LingAppServerInputRespondResult, @@ -400,6 +403,10 @@ class RpcConnection { || !grantAllowsRequest(this.context.storeRegistry.getStore(this.defaultCwd), this.grant, request.method, readParamsRecord(params)))) { throw rpcError(-32021, "capability_denied", "The App Server grant does not authorize this method or subject."); } + if (this.appServer && isLingAppServerMethod(request.method)) { + const validation = validateLingAppServerParams(request.method, params); + if (!validation.ok) throw rpcError(-32602, "invalid_params", `${validation.path} ${validation.message}.`); + } if (request.method === "controlPlane.subscribe") { if (this.appServer) { throw rpcError(-32601, "method_not_found", "Use thread/subscribe or workItem/subscribe on the App Server."); @@ -447,6 +454,10 @@ class RpcConnection { return; } const result = await this.dispatch(request.method, params); + if (this.appServer && isLingAppServerMethod(request.method)) { + const validation = validateLingAppServerResult(request.method, result); + if (!validation.ok) throw rpcError(-32603, "invalid_result", `Invalid result for ${request.method}: ${validation.path} ${validation.message}.`); + } if (request.id !== undefined && !this.cancelledRequests.has(requestKey!)) { if (this.appServer && this.canRespondToInput() && (request.method === "thread/snapshot" || request.method === "thread/resume")) { this.outbound.sendThreadSnapshot(id as LingAppServerJsonRpcId, result as LingAppServerThreadSnapshotResult); From 286e2572413b026193b3cad84ed7332f0c9eb8a1 Mon Sep 17 00:00:00 2001 From: tianxiaochannel-oss88 Date: Sun, 22 Nov 2026 23:44:24 +0800 Subject: [PATCH 025/147] feat(contracts): declare change transfer and merge queue schemas --- packages/contracts/src/app-server-schema.ts | 67 ++++++++++++++++++--- 1 file changed, 57 insertions(+), 10 deletions(-) diff --git a/packages/contracts/src/app-server-schema.ts b/packages/contracts/src/app-server-schema.ts index cf9710ef8..9fc594953 100644 --- a/packages/contracts/src/app-server-schema.ts +++ b/packages/contracts/src/app-server-schema.ts @@ -58,6 +58,31 @@ const collaborationAppend = { ...workItemTarget, idempotencyKey: stringSchema, a expectedWorkItemRevision: integerSchema, expectedCollaborationRevision: integerSchema, parentRecordId: stringSchema, sourceRefs: arraySchema, payload: {} }; const worktreeTarget = { ownerKind: { enum: ["channel", "teammate"] }, ownerId: stringSchema }; +const changeWorktree = objectWith(worktreeTarget, ["ownerKind", "ownerId"]); +const changeSource = { cwd: stringSchema, sourceWorktree: changeWorktree }; +const candidateResult = { cwd: stringSchema, candidate, coverage: { enum: ["complete", "partial"] }, headCommit: stringSchema }; +const candidateResultFields = ["cwd", "candidate", "coverage", "headCommit"]; +const recoveryAction = { enum: ["undo", "reapply"] }; +const transferAction = { enum: ["apply"] }; +const recoveryTarget = { cwd: stringSchema, ...threadTarget, turnId: stringSchema, action: recoveryAction }; +const transferTarget = { + ...changeSource, action: transferAction, targetWorktree: changeWorktree, candidateDigest: stringSchema, hunkIds: stringArraySchema, +}; +const confirmation = { expectedRevision: stringSchema, idempotencyKey: stringSchema, confirmed: { enum: [true] } }; +const recoveryFields = ["action", "threadId", "turnId"]; +const transferFields = ["action", "targetWorktree", "candidateDigest", "hunkIds"]; +const confirmationFields = ["expectedRevision", "idempotencyKey", "confirmed"]; +const queueEvidence = objectWith({ + queueEntryId: stringSchema, baseCommit: stringSchema, testedCommit: stringSchema, testedTree: stringSchema, membershipProofRef: stringSchema, +}, ["queueEntryId", "baseCommit", "testedCommit", "membershipProofRef"]); +const deliveryResult = objectWith({ + cwd: stringSchema, + delivery: objectWith({ deliveryId: stringSchema, workItemId: stringSchema, acceptanceId: stringSchema, threadId: stringSchema, + candidateDigest: stringSchema, policyRevision: stringSchema, subject: objectSchema, baseCommit: stringSchema, checks: arraySchema, + mergeGroup: queueEvidence, status: { enum: ["ci_pending", "ci_failed", "delivery_pending", "delivered"] }, + mergedCommit: stringSchema, observedAt: stringSchema }, + ["deliveryId", "workItemId", "acceptanceId", "threadId", "candidateDigest", "policyRevision", "subject", "baseCommit", "checks", "status", "observedAt"]), +}, ["cwd", "delivery"]); function objectWith( properties: Readonly>, @@ -165,7 +190,6 @@ function schemaFor(method: LingAppServerMethod): LingAppServerMethodSchema { return { params: objectWith({ subscriptionId: stringSchema }, ["subscriptionId"]), result }; case "workItem/read": case "workItem/clarify": - case "workItem/delivery/read": case "workItem/evidence/read": case "workItem/collaboration/read": case "workItem/deliberation/read": @@ -252,16 +276,36 @@ function schemaFor(method: LingAppServerMethod): LingAppServerMethodSchema { case "externalAgent/capabilities/read": return { params: objectWith({ registrationId: stringSchema }, ["registrationId"]), result }; case "changes/capture": - return { params: objectSchema, result: objectWith({ candidate, coverage: stringSchema }, ["candidate", "coverage"]) }; + return { params: objectWith(changeSource), result: objectWith(candidateResult, candidateResultFields) }; case "changes/read": - return { params: objectWith({ candidateDigest: stringSchema }, ["candidateDigest"]), result }; + return { params: objectWith({ ...changeSource, candidateDigest: stringSchema, offset: integerSchema, limit: integerSchema }, ["candidateDigest"]), + result: objectWith({ ...candidateResult, files: arraySchema, exclusions: arraySchema, exclusionCount: integerSchema, + totalFileCount: integerSchema, nextOffset: integerSchema }, [...candidateResultFields, "files", "exclusions", "exclusionCount", "totalFileCount"]) }; case "changes/apply/preview": - return { params: objectWith({ threadId: stringSchema, turnId: stringSchema, action: stringSchema, candidateDigest: stringSchema, - sourceWorktreeId: stringSchema, targetWorktreeId: stringSchema, hunkIds: stringArraySchema }), result }; + return { + params: { oneOf: [objectWith(recoveryTarget, recoveryFields), objectWith(transferTarget, transferFields)] }, + result: { oneOf: [ + objectWith({ ...candidateResult, action: recoveryAction, expectedRevision: stringSchema, changes: objectSchema }, + [...candidateResultFields, "action", "expectedRevision", "changes"]), + objectWith({ ...candidateResult, action: transferAction, expectedRevision: stringSchema, targetWorktree: changeWorktree, + targetCandidateDigest: stringSchema, targetHeadCommit: stringSchema, selection: arraySchema }, + [...candidateResultFields, "action", "expectedRevision", "targetWorktree", "targetCandidateDigest", "targetHeadCommit", "selection"]), + ] }, + }; case "changes/apply": - return { params: objectWith({ threadId: stringSchema, turnId: stringSchema, action: stringSchema, - expectedRevision: stringSchema, idempotencyKey: stringSchema, confirmed: booleanSchema, candidateDigest: stringSchema, - sourceWorktreeId: stringSchema, targetWorktreeId: stringSchema, hunkIds: stringArraySchema }), result }; + return { + params: { oneOf: [ + objectWith({ ...recoveryTarget, ...confirmation }, [...recoveryFields, ...confirmationFields]), + objectWith({ ...transferTarget, ...confirmation }, [...transferFields, ...confirmationFields]), + ] }, + result: { oneOf: [ + objectWith({ cwd: stringSchema, action: recoveryAction, turnId: stringSchema, receiptId: stringSchema, state: stringSchema }, + ["cwd", "action", "turnId", "receiptId", "state"]), + objectWith({ cwd: stringSchema, action: transferAction, targetWorktree: changeWorktree, receiptId: stringSchema, + state: { enum: ["applied", "not_applied", "unknown"] }, paths: stringArraySchema }, + ["cwd", "action", "targetWorktree", "receiptId", "state", "paths"]), + ] }, + }; case "artifact/read": return { params: objectWith({ artifactId: stringSchema, ...threadTarget, ...workItemTarget, runId: stringSchema, offset: integerSchema, limit: integerSchema }, ["artifactId"]), result }; @@ -310,9 +354,12 @@ function schemaFor(method: LingAppServerMethod): LingAppServerMethodSchema { ["repository", "kind", "number"]), result }; case "github/delivery/reconcile": return { params: objectWith({ ...threadTarget, ...workItemTarget, repository: stringSchema, pullRequestNumber: integerSchema, - candidateDigest: stringSchema, expectedWorkItemRevision: integerSchema }, ["threadId", "workItemId", "repository", "pullRequestNumber", "candidateDigest"]), result }; + candidateDigest: stringSchema, expectedWorkItemRevision: integerSchema, expectedRevision: integerSchema }, + ["threadId", "workItemId", "repository", "pullRequestNumber", "candidateDigest"]), result: deliveryResult }; + case "workItem/delivery/read": + return { params: objectWith(workItemTarget, ["workItemId"]), result: deliveryResult }; case "delivery/read": - return { params: objectWith({ ...workItemTarget, deliveryId: stringSchema }, ["workItemId", "deliveryId"]), result }; + return { params: objectWith({ ...workItemTarget, deliveryId: stringSchema }, ["workItemId", "deliveryId"]), result: deliveryResult }; case "turn/retry": case "turn/steer": case "thread/compact/start": From eb725f8ad119b079c703079292cda3f738aebde7 Mon Sep 17 00:00:00 2001 From: tianxiaochannel-oss88 Date: Sun, 22 Nov 2026 23:57:26 +0800 Subject: [PATCH 026/147] fix(intake): recheck GitHub eligibility before dispatch --- .../src/server/app-server-github-intake.ts | 28 +++++++++++++++++-- .../app-server-release-acceptance.test.ts | 22 +++++++++++++++ 2 files changed, 47 insertions(+), 3 deletions(-) diff --git a/packages/daemon/src/server/app-server-github-intake.ts b/packages/daemon/src/server/app-server-github-intake.ts index 5309b9d82..907b6002d 100644 --- a/packages/daemon/src/server/app-server-github-intake.ts +++ b/packages/daemon/src/server/app-server-github-intake.ts @@ -195,7 +195,7 @@ function isQuiet(quiet: LingAppServerGitHubIntakeQuietHours | undefined, now: Da } export async function dispatchGitHubIntake( - context: Pick, + context: IntakeContext & Pick, store: RunStore, signal: AbortSignal, startRun: (request: RunRequest, admission: { readonly receiptId: string; readonly assertCurrent: () => void }) => Promise, ): Promise { @@ -253,6 +253,26 @@ export async function dispatchGitHubIntake( } }; assertCurrent(); + const client = gitHubReadClient(context, store.paths.cwd, receipt.repository); + const subject = await readAppServerGitHubSubject(client, { repository: receipt.repository, ...receipt.subject }); + assertCurrent(); + if (subject.state !== "open" || !subject.labels?.includes(policy.requiredLabel)) { + complete("held", subject.state !== "open" ? "subject_closed" : "required_label_missing"); + continue; + } + const current = store.getWorkItem(workItem.id); + if (!current || ["done", "cancelled", "superseded", "archived"].includes(current.status)) { + complete("held", "intake_authority_changed"); + continue; + } + if (current.control.state !== "active" || current.holds.some(hold => hold.blocksNewAdmission)) { + complete("pending", "intake_temporarily_held"); + continue; + } + if (current.runId) { + complete("admitted", undefined, current.runId); + continue; + } const original = store.getAppServerState("work_item_acceptance", workItem.id)?.payload as WorkItemAcceptanceReceipt | undefined; if (original && original.idempotencyKey !== receipt.receiptId) { complete("held", "work_item_already_assigned"); @@ -267,7 +287,7 @@ export async function dispatchGitHubIntake( const message = `Review the authorized GitHub ${kind} ${receipt.repository}#${number} for this project. Use its title ` + `${JSON.stringify(workItem.title)} as source data. Check the requirements against the repository and propose a scoped plan or ask for clarification.`; const acceptance = store.acceptWorkItem(workItem.id, { - expectedRevision: original?.acceptedRevision ?? workItem.revision, actorId: LING_AGENT_ID, idempotencyKey: receipt.receiptId, + expectedRevision: original?.acceptedRevision ?? current.revision, actorId: LING_AGENT_ID, idempotencyKey: receipt.receiptId, dispatch: original?.dispatch ?? { threadId, message, providerPresetId: policy.providerPresetId }, }, new Date().toISOString()); if (!acceptance?.receipt.dispatch || acceptance.receipt.idempotencyKey !== receipt.receiptId) { @@ -288,7 +308,9 @@ export async function dispatchGitHubIntake( } catch (error) { signal.throwIfAborted(); const reason = error instanceof HttpError ? error.code : "work_item_admission_pending"; - if (reason === "duplicate_work_unit") complete("held", "intake_dispatch_reconciliation_required"); + if (error instanceof HttpError && error.statusCode === 404 && reason.startsWith("github_")) { + complete("held", "subject_unavailable"); + } else if (reason === "duplicate_work_unit") complete("held", "intake_dispatch_reconciliation_required"); else complete("pending", reason); } } diff --git a/packages/daemon/test/app-server-release-acceptance.test.ts b/packages/daemon/test/app-server-release-acceptance.test.ts index e712a2f37..4b676aad6 100644 --- a/packages/daemon/test/app-server-release-acceptance.test.ts +++ b/packages/daemon/test/app-server-release-acceptance.test.ts @@ -1469,6 +1469,8 @@ test("automatic GitHub intake resumes a scoped dispatch once and preserves admis t.after(() => provider.close()); const repository = "example/ling"; const quietRepository = "example/quiet"; + const revokedRepository = "example/revoked"; + let labelRevoked = false; let providerPresetId = "fixture-provider-unconfigured"; const observedAt = new Date(); const quietTime = (delta: number) => new Date(observedAt.getTime() + delta * 60_000).toISOString().slice(11, 16); @@ -1484,13 +1486,22 @@ test("automatic GitHub intake resumes a scoped dispatch once and preserves admis intake: { enabled: true, mode: "auto_start", requiredLabel: "agent-ready", providerPresetId, budget: { maxConcurrent: 1, maxStartsPerWindow: 2, windowMs: 60_000 }, quietHours: { timeZone: "UTC", start: quietTime(-30), end: quietTime(30) } } }, + { workspaceRoot: cwd, repository: revokedRepository, repositoryId: "716", + intake: { enabled: true, mode: "auto_start", requiredLabel: "agent-ready", providerPresetId, + budget: { maxConcurrent: 1, maxStartsPerWindow: 2, windowMs: 60_000 } } }, ], externalWorkFetch: async input => { const { pathname } = new URL(String(input)); if (pathname === `/repos/${repository}`) return Response.json({ id: 714, full_name: repository }); if (pathname === `/repos/${quietRepository}`) return Response.json({ id: 715, full_name: quietRepository }); if (pathname === `/repos/${repository}/issues`) return Response.json(current); + if (pathname === `/repos/${repository}/issues/21`) return Response.json(issue(21)); if (pathname === `/repos/${quietRepository}/issues`) return Response.json([issue(1)]); + if (pathname === `/repos/${revokedRepository}`) return Response.json({ id: 716, full_name: revokedRepository }); + if (pathname === `/repos/${revokedRepository}/issues`) return Response.json([issue(1)]); + if (pathname === `/repos/${revokedRepository}/issues/1`) { + return Response.json({ ...issue(1), labels: labelRevoked ? [] : issue(1).labels }); + } return new Response(null, { status: 404 }); }, }); @@ -1512,6 +1523,10 @@ test("automatic GitHub intake resumes a scoped dispatch once and preserves admis assert.equal(claimed?.blocker?.code, "control_blocked"); const quiet = await first.call("github/intake/poll", { repository: quietRepository }); assert.equal(quiet.receipts[0]?.reasonCode, "quiet_hours"); + const revoked = await first.call("github/intake/poll", { repository: revokedRepository }); + assert.equal(revoked.receipts[0]?.outcome, "accepted"); + const revokedWorkItemId = revoked.receipts[0]?.workItemId; + assert.ok(revokedWorkItemId); const stagedThread = awaiting.createLingThread({ kind: "conversation", status: "open", title: "Reserved triage", objective: "Triage issue 21" }, now); const staged = awaiting.acceptWorkItem(accepted.workItemId, { expectedRevision: claimed!.workItem.revision, actorId: "ling_agent", idempotencyKey: accepted.receiptId, @@ -1521,6 +1536,7 @@ test("automatic GitHub intake resumes a scoped dispatch once and preserves admis await assert.rejects(first.call("turn/start", { threadId: stagedThread.id, message: staged.receipt.dispatch.message, providerPresetId: preset.id, idempotencyKey: staged.receipt.dispatch.submissionKey }), { code: "work_item_dispatch_held" }); assert.equal(provider.requests.length, 0); + labelRevoked = true; await fixture.restart(); fixture.getStore().updateProviderPreset(preset.id, { enabled: true }, new Date().toISOString()); fixture.getStore().recordProviderCheckResult(preset.id, { ok: true, code: "ready", message: "Loopback fixture", checkedAt: new Date().toISOString() }); @@ -1535,6 +1551,12 @@ test("automatic GitHub intake resumes a scoped dispatch once and preserves admis }); assert.equal(finished.status, "succeeded", finished.errorMessage ?? "The routed Run succeeded."); assert.equal(finished.threadId, stagedThread.id); + const held = await waitFor(async () => { + const result = await restored.call("workItem/read", { workItemId: revokedWorkItemId }); + return result.intakeDispatch?.status === "held" ? result.intakeDispatch : undefined; + }); + assert.equal(held.reasonCode, "required_label_missing"); + assert.equal(fixture.getStore().getWorkItem(revokedWorkItemId)?.runId, undefined); assert.equal(provider.requests.length, 1); assert.equal(fixture.getStore().listRuns({ threadId: finished.threadId }).length, 1); assert.match(JSON.stringify(provider.requests[0]), /Triage issue 21/u); From 0a5fdf689eeb50c46ca61dd04b088bf11d9cb358 Mon Sep 17 00:00:00 2001 From: tianxiaochannel-oss88 Date: Mon, 23 Nov 2026 00:37:32 +0800 Subject: [PATCH 027/147] feat(delivery): admit trusted GitHub merge queue entries --- packages/api-client/src/app-server.ts | 12 ++ packages/contracts/src/app-server-schema.ts | 9 + packages/contracts/src/app-server.ts | 36 ++++ packages/core/src/app-server-state-types.ts | 2 +- .../src/server/app-server-github-enqueue.ts | 191 ++++++++++++++++++ .../src/server/app-server-github-sources.ts | 12 +- packages/daemon/src/server/app-server-mcp.ts | 11 + packages/daemon/src/server/rpc.ts | 13 +- 8 files changed, 283 insertions(+), 3 deletions(-) create mode 100644 packages/daemon/src/server/app-server-github-enqueue.ts diff --git a/packages/api-client/src/app-server.ts b/packages/api-client/src/app-server.ts index 77d98bf91..a8719152d 100644 --- a/packages/api-client/src/app-server.ts +++ b/packages/api-client/src/app-server.ts @@ -40,6 +40,8 @@ import type { LingAppServerGitHubSubjectParams, LingAppServerGitHubSubjectResult, LingAppServerGitHubDeliveryResult, + LingAppServerGitHubEnqueueParams, + LingAppServerGitHubQueueResult, LingAppServerGitHubIntakePollParams, LingAppServerGitHubIntakePollResult, LingAppServerGitHubIntakeReadParams, @@ -292,6 +294,16 @@ export class LingAppServerClient { return await this.request(params.deliveryId === undefined ? "workItem/delivery/read" : "delivery/read", params); } + async enqueueGitHubDelivery(params: LingAppServerGitHubEnqueueParams): Promise { + await this.connect(); + return await this.request("github/delivery/enqueue", params); + } + + async readGitHubQueue(params: { readonly workItemId: string; readonly queueReceiptId: string }): Promise { + await this.connect(); + return await this.request("github/delivery/queue/read", params); + } + async readCoordinationSchedule(params: { readonly automationId: string; readonly workItemId: string }): Promise<{ readonly cwd: string; readonly schedule: LingAppServerCoordinationSchedule | null }> { await this.connect(); return await this.request("workItem/coordination/schedule/read", params); diff --git a/packages/contracts/src/app-server-schema.ts b/packages/contracts/src/app-server-schema.ts index 9fc594953..572cee8dd 100644 --- a/packages/contracts/src/app-server-schema.ts +++ b/packages/contracts/src/app-server-schema.ts @@ -358,6 +358,15 @@ function schemaFor(method: LingAppServerMethod): LingAppServerMethodSchema { ["threadId", "workItemId", "repository", "pullRequestNumber", "candidateDigest"]), result: deliveryResult }; case "workItem/delivery/read": return { params: objectWith(workItemTarget, ["workItemId"]), result: deliveryResult }; + case "github/delivery/enqueue": + return { params: objectWith({ ...workItemTarget, deliveryId: stringSchema, expectedWorkItemRevision: integerSchema, + idempotencyKey: stringSchema, confirmed: { enum: [true] } }, + ["workItemId", "deliveryId", "expectedWorkItemRevision", "idempotencyKey", "confirmed"]), result: objectWith({ + cwd: stringSchema, receipt: objectSchema, + }, ["cwd", "receipt"]) }; + case "github/delivery/queue/read": + return { params: objectWith({ ...workItemTarget, queueReceiptId: stringSchema }, ["workItemId", "queueReceiptId"]), + result: objectWith({ cwd: stringSchema, receipt: objectSchema }, ["cwd", "receipt"]) }; case "delivery/read": return { params: objectWith({ ...workItemTarget, deliveryId: stringSchema }, ["workItemId", "deliveryId"]), result: deliveryResult }; case "turn/retry": diff --git a/packages/contracts/src/app-server.ts b/packages/contracts/src/app-server.ts index 18393f92e..52af80732 100644 --- a/packages/contracts/src/app-server.ts +++ b/packages/contracts/src/app-server.ts @@ -158,6 +158,8 @@ export const LING_APP_SERVER_METHODS = [ "github/intake/poll", "github/intake/read", "github/delivery/reconcile", + "github/delivery/enqueue", + "github/delivery/queue/read", "workItem/evidence/read", "workItem/evidence/append", "workItem/collaboration/read", @@ -1176,6 +1178,40 @@ export interface LingAppServerGitHubDeliveryResult { readonly delivery: LingAppServerGitHubDelivery; } +export interface LingAppServerGitHubQueueParams { + readonly cwd?: string; + readonly workItemId: string; + readonly queueReceiptId: string; +} + +export interface LingAppServerGitHubEnqueueParams { + readonly cwd?: string; + readonly workItemId: string; + readonly deliveryId: string; + readonly expectedWorkItemRevision: number; + readonly idempotencyKey: string; + readonly confirmed: true; +} + +export interface LingAppServerGitHubQueueReceipt { + readonly queueReceiptId: string; + readonly workItemId: string; + readonly deliveryId: string; + readonly repository: string; + readonly repositoryId: string; + readonly pullRequestNumber: number; + readonly headSha: string; + readonly status: "pending" | "enqueued" | "merged" | "unknown"; + readonly queueEntryId?: string; + readonly mergedCommit?: string; + readonly createdAt: string; +} + +export interface LingAppServerGitHubQueueResult { + readonly cwd: string; + readonly receipt: LingAppServerGitHubQueueReceipt; +} + export interface LingAppServerWorkItemSourceReceipt { readonly workItemId: string; readonly sourceType: string; diff --git a/packages/core/src/app-server-state-types.ts b/packages/core/src/app-server-state-types.ts index cca5eb7c0..01563fc88 100644 --- a/packages/core/src/app-server-state-types.ts +++ b/packages/core/src/app-server-state-types.ts @@ -3,7 +3,7 @@ import type { ControlPlaneEvent } from "./run-types.js"; export type AppServerStateKind = "verify_plan" | "verify_operation" | "review_submission" | "review_finding_update" | "simplify_submission" | "external_federation" | "work_item_creation" | "work_item_acceptance" | "work_item_control" | "replay_identity" | "handoff" | "authorization_grant" | "work_item_target" | "work_item_source" - | "github_delivery" | "github_delivery_current" | "work_item_thread" + | "github_delivery" | "github_delivery_current" | "github_queue_intent" | "work_item_thread" | "automation_coordination" | "coordination_round" | "coordination_automation_run" | "project_instruction_update" | "change_recovery_request" | "change_transfer_request" | "github_intake_pending" | "github_intake_receipt" | "github_intake_dispatch" | "work_item_workflow"; diff --git a/packages/daemon/src/server/app-server-github-enqueue.ts b/packages/daemon/src/server/app-server-github-enqueue.ts new file mode 100644 index 000000000..96bbdd66c --- /dev/null +++ b/packages/daemon/src/server/app-server-github-enqueue.ts @@ -0,0 +1,191 @@ +import type { + LingAppServerGitHubDelivery, + LingAppServerGitHubEnqueueParams, + LingAppServerGitHubQueueReceipt, + LingAppServerGitHubQueueResult, +} from "@ling-stack/contracts"; +import type { RunStore } from "@ling-stack/core"; +import type { DaemonContext } from "../context.js"; +import { HttpError } from "../errors.js"; +import { isRecord } from "../shared/validation.js"; +import { reconcileGitHubDelivery, readGitHubDelivery } from "./app-server-github-delivery.js"; +import { commitSha, digest, gitHubReadClient, type GitHubReadClient } from "./app-server-github-subject.js"; + +type GitHubQueueContext = Pick; + +interface QueueIntent { + readonly fingerprint: string; + readonly baseRef: string; + readonly receipt: LingAppServerGitHubQueueReceipt; +} + +const queueSubjectQuery = `query LingQueueSubject($owner: String!, $name: String!, $number: Int!) { + repository(owner: $owner, name: $name) { + fullDatabaseId nameWithOwner + pullRequest(number: $number) { + id number headRefOid baseRefName closed merged isDraft isMergeQueueEnabled isInMergeQueue + stackEntry { id } + mergeQueueEntry { id pullRequest { number headRefOid baseRefName } } + mergeCommit { oid } + } + } +}`; + +const enqueueMutation = `mutation LingEnqueue($id: ID!, $head: GitObjectID!, $key: String!) { + enqueuePullRequest(input: {pullRequestId: $id, expectedHeadOid: $head, clientMutationId: $key, jump: false}) { + clientMutationId + mergeQueueEntry { id pullRequest { number headRefOid baseRefName } } + } +}`; + +/** Explicit operator admission to an existing provider-enforced merge queue. */ +export async function enqueueGitHubDelivery( + context: GitHubQueueContext, store: RunStore, input: LingAppServerGitHubEnqueueParams, +): Promise { + const cwd = store.paths.cwd; + if (input.confirmed !== true || !input.idempotencyKey.trim() || input.idempotencyKey.length > 128 || /[\r\n\0]/u.test(input.idempotencyKey)) { + throw new HttpError(400, "invalid_params", "Confirm queue admission with a request key."); + } + const fingerprint = digest([input.workItemId, input.deliveryId, input.expectedWorkItemRevision, input.idempotencyKey]); + const keyed = store.findAppServerStateByIdempotencyKey("github_queue_intent", input.idempotencyKey); + if (keyed) { + const prior = keyed.payload as QueueIntent; + if (prior.fingerprint !== fingerprint) throw new HttpError(409, "idempotency_conflict", "The queue key belongs to another request."); + return readGitHubQueue(context, store, input.workItemId, keyed.recordId); + } + assertWorkItemReady(store, input.workItemId, input.expectedWorkItemRevision); + const delivery = readGitHubDelivery(store, input.workItemId); + const headSha = delivery?.subject.headSha; + const baseRef = delivery?.subject.baseRef; + if (!delivery || delivery.deliveryId !== input.deliveryId || !headSha || !baseRef || delivery.subject.state !== "open") { + throw new HttpError(409, "stale_revision", "Queue admission requires the current delivery receipt for an open pull request."); + } + const client = gitHubReadClient(context, cwd, delivery.subject.repository); + const policy = client.source.deliveryPolicies?.find(current => current.baseRef === baseRef); + const gate = policy?.mergeQueue?.requiredGate; + if (!policy || !gate || delivery.policyRevision !== digest([client.source.repositoryId, policy]) + || delivery.subject.repositoryId !== client.source.repositoryId) throw guardUnavailable(); + const fresh = await reconcileGitHubDelivery(context, { + cwd, workItemId: delivery.workItemId, threadId: delivery.threadId, expectedWorkItemRevision: input.expectedWorkItemRevision, + repository: delivery.subject.repository, pullRequestNumber: delivery.subject.number, candidateDigest: delivery.candidateDigest, + }); + if (fresh.deliveryId !== input.deliveryId || fresh.checks.some(({ check, outcome }) => check.basis === "head" && outcome !== "passed")) { + throw new HttpError(409, "stale_revision", "The delivery or a required head check changed before queue admission."); + } + const queueReceiptId = `github_queue_${digest([delivery.subject.repositoryId, delivery.subject.number, headSha])}`; + const receipt: LingAppServerGitHubQueueReceipt = { + queueReceiptId, workItemId: delivery.workItemId, deliveryId: delivery.deliveryId, repository: delivery.subject.repository, + repositoryId: delivery.subject.repositoryId, pullRequestNumber: delivery.subject.number, headSha, + status: "pending", createdAt: new Date().toISOString(), + }; + const subject = await currentQueueSubject(client, receipt, baseRef); + if (!subject || typeof subject.id !== "string" || !subject.id || subject.closed !== false || subject.isDraft !== false + || subject.isMergeQueueEnabled !== true || subject.stackEntry !== null || subject.isInMergeQueue !== false) throw guardUnavailable(); + await requireQueueProtection(client, delivery, gate); + + assertWorkItemReady(store, input.workItemId, input.expectedWorkItemRevision); + if (readGitHubDelivery(store, input.workItemId)?.deliveryId !== input.deliveryId) { + throw new HttpError(409, "stale_revision", "The delivery changed before queue admission."); + } + const intent = { fingerprint, baseRef, receipt }; + const requestedAt = new Date().toISOString(); + const retained = store.putAppServerState({ + kind: "github_queue_intent", recordId: queueReceiptId, idempotencyKey: input.idempotencyKey, + expectedRevision: 0, replayByIdempotencyKey: true, payload: intent, + }, requestedAt); + if (!retained || (retained.record.payload as QueueIntent).fingerprint !== fingerprint) { + throw new HttpError(409, "idempotency_conflict", "A queue request already owns this pull request head."); + } + if (retained.status !== "created") return readGitHubQueue(context, store, input.workItemId, queueReceiptId); + + const observation = await client.query(enqueueMutation, { id: subject.id, head: headSha, key: queueReceiptId }).catch(() => undefined); + const accepted = observation?.enqueuePullRequest; + const entryId = isRecord(accepted) && accepted.clientMutationId === queueReceiptId + ? readQueueEntryId(accepted.mergeQueueEntry, receipt, baseRef) : undefined; + return commitQueueStatus(store, intent, retained.record.revision, entryId + ? { ...receipt, status: "enqueued", queueEntryId: entryId } + : { ...receipt, status: "unknown" }); +} + +export async function readGitHubQueue( + context: GitHubQueueContext, store: RunStore, workItemId: string, queueReceiptId: string, +): Promise { + const saved = store.getAppServerState("github_queue_intent", queueReceiptId); + const intent = saved?.payload as QueueIntent | undefined; + if (!saved || !intent || intent.receipt.workItemId !== workItemId) { + throw new HttpError(404, "github_queue_intent_not_found", "The GitHub queue receipt is unavailable for this Work Item."); + } + const receipt = intent.receipt; + if (receipt.status === "merged") return { cwd: store.paths.cwd, receipt }; + const observed = await observeQueueReceipt(context, store, receipt, intent.baseRef); + return commitQueueStatus(store, intent, saved.revision, observed); +} + +async function observeQueueReceipt( + context: GitHubQueueContext, store: RunStore, receipt: LingAppServerGitHubQueueReceipt, baseRef: string, +): Promise { + const client = gitHubReadClient(context, store.paths.cwd, receipt.repository); + const current = await currentQueueSubject(client, receipt, baseRef).catch(() => undefined); + const mergedCommit = current?.merged === true && isRecord(current.mergeCommit) ? commitSha(current.mergeCommit.oid) : undefined; + if (mergedCommit) return { ...receipt, status: "merged", mergedCommit }; + const queueEntryId = current?.isInMergeQueue === true ? readQueueEntryId(current.mergeQueueEntry, receipt, baseRef) : undefined; + if (queueEntryId) return { ...receipt, status: "enqueued", queueEntryId }; + return { ...receipt, status: "unknown" }; +} + +function commitQueueStatus(store: RunStore, intent: QueueIntent, revision: number, receipt: LingAppServerGitHubQueueReceipt): LingAppServerGitHubQueueResult { + const { queueReceiptId } = receipt; + if (JSON.stringify(receipt) === JSON.stringify(intent.receipt)) return { cwd: store.paths.cwd, receipt }; + const committed = store.putAppServerState({ + kind: "github_queue_intent", recordId: queueReceiptId, expectedRevision: revision, payload: { ...intent, receipt }, + }, new Date().toISOString()); + const latest = committed?.record ?? store.getAppServerState("github_queue_intent", queueReceiptId); + if (!latest) throw new HttpError(409, "unknown_outcome", "The queue receipt could not be confirmed."); + return { cwd: store.paths.cwd, receipt: (latest.payload as QueueIntent).receipt }; +} + +function assertWorkItemReady(store: RunStore, id: string, revision: number): void { + const item = store.getWorkItem(id); + if (!item || item.revision !== revision) throw new HttpError(409, "stale_revision", "The Work Item revision changed."); + if (item.control.state !== "active" || item.control.unresolvedEffectIds.length || item.holds.some(hold => hold.blocksNewAdmission) + || !["ready", "running", "review"].includes(item.status)) { + throw new HttpError(409, "work_item_delivery_held", "The Work Item is holding new delivery actions."); + } +} + +async function currentQueueSubject(client: GitHubReadClient, receipt: LingAppServerGitHubQueueReceipt, baseRef: string) { + const [owner, name] = receipt.repository.split("/"); + const facts = await client.query(queueSubjectQuery, { owner: owner!, name: name!, number: receipt.pullRequestNumber }); + const repo = facts?.repository; + if (!isRecord(repo) || String(repo.fullDatabaseId) !== receipt.repositoryId || typeof repo.nameWithOwner !== "string" + || repo.nameWithOwner.toLowerCase() !== receipt.repository || !isRecord(repo.pullRequest) + || !samePullRequest(repo.pullRequest, receipt, baseRef)) return undefined; + return repo.pullRequest; +} + +function samePullRequest(data: Record, receipt: LingAppServerGitHubQueueReceipt, baseRef: string): boolean { + return data.number === receipt.pullRequestNumber && data.headRefOid === receipt.headSha && data.baseRefName === baseRef; +} + +function readQueueEntryId(value: unknown, receipt: LingAppServerGitHubQueueReceipt, baseRef: string): string | undefined { + return isRecord(value) && typeof value.id === "string" && value.id.trim() && value.id.length <= 256 + && isRecord(value.pullRequest) && samePullRequest(value.pullRequest, receipt, baseRef) ? value.id : undefined; +} + +async function requireQueueProtection( + client: GitHubReadClient, delivery: LingAppServerGitHubDelivery, gate: { readonly name: string; readonly appId: number }, +): Promise { + const branch = encodeURIComponent(delivery.subject.baseRef!); + const rules = await client.list(`/rules/branches/${branch}?per_page=100`, 100).catch(() => undefined); + if (!rules || rules.length >= 100 || !rules.some(rule => rule.type === "merge_queue")) throw guardUnavailable(); + const checks = rules.flatMap(rule => rule.type === "required_status_checks" && isRecord(rule.parameters) + && Array.isArray(rule.parameters.required_status_checks) ? rule.parameters.required_status_checks.filter(isRecord) : []); + for (const { name, appId } of [gate, ...delivery.checks.map(check => check.check)]) { + const matching = checks.filter(check => check.context === name); + if (!matching.length || matching.some(check => check.integration_id !== appId)) throw guardUnavailable(); + } +} + +function guardUnavailable(): HttpError { + return new HttpError(409, "github_queue_guard_unavailable", "The repository has no matching provider-enforced merge queue and trusted CI gate."); +} diff --git a/packages/daemon/src/server/app-server-github-sources.ts b/packages/daemon/src/server/app-server-github-sources.ts index bb716a92e..898893315 100644 --- a/packages/daemon/src/server/app-server-github-sources.ts +++ b/packages/daemon/src/server/app-server-github-sources.ts @@ -10,6 +10,7 @@ export interface AppServerGitHubDeliveryPolicy { * source its acceptance configuration from the trusted CI environment. */ readonly requiredChecks: readonly LingGitHubRequiredCheck[]; + readonly mergeQueue?: { readonly requiredGate: { readonly name: string; readonly appId: number } }; } export interface AppServerGitHubSourceConfig { @@ -126,6 +127,15 @@ function resolveDeliveryPolicies(policies: readonly AppServerGitHubDeliveryPolic return { name: check.name, appId: check.appId, workflowId: check.workflowId, workflowPath: check.workflowPath, workflowSha256: check.workflowSha256, basis: check.basis, coverageRefs: [...check.coverageRefs] }; }); - return { baseRef: policy.baseRef, requiredChecks }; + const mergeQueue = policy.mergeQueue; + if (mergeQueue !== undefined && (!isRecord(mergeQueue) || !isRecord(mergeQueue.requiredGate) + || typeof mergeQueue.requiredGate.name !== "string" || !mergeQueue.requiredGate.name.trim() || mergeQueue.requiredGate.name.length > 160 + || !validInteger(mergeQueue.requiredGate.appId, 1, Number.MAX_SAFE_INTEGER) + || requiredChecks.some(check => check.basis === "integration" || check.appId === mergeQueue.requiredGate.appId || check.name === mergeQueue.requiredGate.name) + || !requiredChecks.some(check => check.basis === "merge_group"))) { + throw new Error("A configured GitHub merge queue requires group checks and a distinct trusted provider-required gate."); + } + return { baseRef: policy.baseRef, requiredChecks, + ...(mergeQueue ? { mergeQueue: { requiredGate: { name: mergeQueue.requiredGate.name, appId: mergeQueue.requiredGate.appId } } } : {}) }; }); } diff --git a/packages/daemon/src/server/app-server-mcp.ts b/packages/daemon/src/server/app-server-mcp.ts index aa25b099b..6b50b5432 100644 --- a/packages/daemon/src/server/app-server-mcp.ts +++ b/packages/daemon/src/server/app-server-mcp.ts @@ -162,6 +162,17 @@ export async function runLingAppServerMcp( retryKey: z.string().max(160).optional() }), annotations: { idempotentHint: true, destructiveHint: false }, }, async params => describe(await client.pollGitHubIntake(params))); + if (methods.has("github/delivery/enqueue")) server.registerTool("ling_github_delivery_enqueue", { + description: "Admit a current trusted GitHub delivery to the provider-enforced merge queue.", + inputSchema: z.strictObject({ workItemId: objectId, deliveryId: objectId, expectedWorkItemRevision: z.number().int().positive(), + idempotencyKey: requestKey, confirmed: z.literal(true) }), + annotations: { idempotentHint: true, destructiveHint: true }, + }, async params => describe(await client.enqueueGitHubDelivery(params))); + if (methods.has("github/delivery/queue/read")) server.registerTool("ling_github_delivery_queue_read", { + description: "Read and reconcile a provider-owned GitHub merge queue receipt.", + inputSchema: z.strictObject({ workItemId: objectId, queueReceiptId: objectId }), + annotations: { readOnlyHint: true }, + }, async params => describe(await client.readGitHubQueue(params))); if (methods.has("github/intake/read")) server.registerTool("ling_github_intake_read", { description: "Read a durable GitHub intake evaluation receipt.", inputSchema: z.strictObject({ receiptId: objectId }), diff --git a/packages/daemon/src/server/rpc.ts b/packages/daemon/src/server/rpc.ts index 9c2e5928a..d50b10ed5 100644 --- a/packages/daemon/src/server/rpc.ts +++ b/packages/daemon/src/server/rpc.ts @@ -104,6 +104,7 @@ import { import { gitHubReadClient, gitHubWorkItemTargetKey, parseGitHubSubjectParams, readAppServerGitHubSubject } from "./app-server-github-subject.js"; import { listGitHubIntakePolicies, pollGitHubIntake, readGitHubIntake } from "./app-server-github-intake.js"; import { readGitHubDelivery, reconcileGitHubDelivery } from "./app-server-github-delivery.js"; +import { enqueueGitHubDelivery, readGitHubQueue } from "./app-server-github-enqueue.js"; import { assertWorkItemConversationAdmission } from "../features/work-items/conversation-admission.js"; import { readWorkItemWorkflowStages } from "../features/work-items/workflow-stages.js"; import { readArtifactContentRange, resolveArtifactContentPath } from "../features/runs/artifacts.js"; @@ -176,7 +177,8 @@ const operatorMethods = new Set([ "worktree/create", "worktree/cleanup", "thread/fork", "handoff/create", "handoff/resume", "server/grants/create", "server/grants/list", "server/grants/revoke", - "github/subject/read", "github/delivery/reconcile", "workItem/delivery/read", "delivery/read", + "github/subject/read", "github/delivery/reconcile", "github/delivery/enqueue", "github/delivery/queue/read", + "workItem/delivery/read", "delivery/read", "github/intake/policy/list", "github/intake/poll", "github/intake/read", "workItem/accept", "workItem/workflow/bind", @@ -781,6 +783,15 @@ class RpcConnection { }); return { cwd: record.cwd, delivery } satisfies LingAppServerGitHubDeliveryResult; } + case "github/delivery/enqueue": { + const record = this.workspaceParams(params, true); + return enqueueGitHubDelivery(this.context, this.context.storeRegistry.getStore(record.cwd), record as never); + } + case "github/delivery/queue/read": { + const record = this.workspaceParams(params, true); + return readGitHubQueue(this.context, this.context.storeRegistry.getStore(record.cwd), + readStringField(record, "workItemId"), readStringField(record, "queueReceiptId")); + } case "workItem/delivery/read": case "delivery/read": { const record = this.workspaceParams(params, true); From a94564f3adec0f04496cfd763b50568b8959fa9f Mon Sep 17 00:00:00 2001 From: tianxiaochannel-oss88 Date: Mon, 23 Nov 2026 00:20:31 +0800 Subject: [PATCH 028/147] feat(app-server): journal rollback effects outside workspace state --- packages/contracts/src/app-server.ts | 36 +++ packages/core/src/run-types.ts | 3 +- packages/core/src/storage/sqlite-run-store.ts | 5 +- .../src/storage/sqlite/work-item-store.ts | 3 + packages/daemon/src/config.ts | 10 +- .../src/server/app-server-authorization.ts | 32 +- .../src/server/app-server-github-delivery.ts | 4 +- .../daemon/src/server/app-server-recovery.ts | 306 ++++++++++++++++++ .../daemon/src/server/app-server-replay.ts | 7 +- packages/daemon/src/server/rpc.ts | 121 ++++++- .../app-server-release-acceptance.test.ts | 164 +++++++++- 11 files changed, 651 insertions(+), 40 deletions(-) create mode 100644 packages/daemon/src/server/app-server-recovery.ts diff --git a/packages/contracts/src/app-server.ts b/packages/contracts/src/app-server.ts index 52af80732..faa90d590 100644 --- a/packages/contracts/src/app-server.ts +++ b/packages/contracts/src/app-server.ts @@ -74,6 +74,9 @@ export const LING_APP_SERVER_METHODS = [ "server/grants/create", "server/grants/list", "server/grants/revoke", + "server/recovery/read", + "server/recovery/prepare", + "server/recovery/reconcile", "workspace/list", "workspace/read", "worktree/list", @@ -216,6 +219,39 @@ export interface LingAppServerGrant { readonly revokedAt?: string; } +export type LingAppServerRecoveryJournalEntry = { + readonly id: string; + readonly recordedAt: string; + readonly pending: boolean; +} & ( + | { readonly kind: "external_agent_dispatch"; readonly workItemId: string; readonly taskId: string; readonly completedAt?: string } + | { readonly kind: "github_queue_enqueue"; readonly workItemId: string; readonly repositoryId: string; + readonly pullRequestNumber: number; readonly headSha: string; readonly completedAt?: string } + | { readonly kind: "github_delivery"; readonly workItemId: string; readonly mergedCommit: string } + | { readonly kind: "grant_revocation" } +); + +export interface LingAppServerRecoveryResult { + readonly cwd: string; + readonly revision: number; + readonly status: "ready" | "reconciliation_required"; + readonly preparedAt?: string; + readonly reconciledAt?: string; + readonly pendingCount: number; + readonly entries: readonly LingAppServerRecoveryJournalEntry[]; +} + +export interface LingAppServerRecoveryPrepareParams { + readonly cwd?: string; + readonly expectedRevision: number; + readonly idempotencyKey: string; +} + +export interface LingAppServerRecoveryReconcileParams { + readonly cwd?: string; + readonly expectedRevision: number; +} + export interface LingAppServerGrantCreateParams { readonly label: string; readonly subject: LingAppServerGrantSubject; diff --git a/packages/core/src/run-types.ts b/packages/core/src/run-types.ts index bf5f709ea..65f4d25fe 100644 --- a/packages/core/src/run-types.ts +++ b/packages/core/src/run-types.ts @@ -2693,7 +2693,8 @@ export interface RunStore extends AutomationEventStore, CodeAssessmentStore, Cod ): ExternalWorkSchedulerState | undefined; upsertWorkItem(input: UpsertWorkItemInput, now: string): WorkItem; createWorkItem(input: import("./work-item-types.js").CreateWorkItemInput, now: string, eventCwd?: string): import("./work-item-types.js").CreateWorkItemResult; - commitWorkItemGitHubDelivery(input: import("./work-item-types.js").CommitWorkItemGitHubDeliveryInput, eventCwd?: string): import("./work-item-types.js").CommitWorkItemGitHubDeliveryResult; + commitWorkItemGitHubDelivery(input: import("./work-item-types.js").CommitWorkItemGitHubDeliveryInput, eventCwd?: string, + retainReceipt?: (delivery: import("@ling-stack/contracts").LingAppServerGitHubDelivery) => void): import("./work-item-types.js").CommitWorkItemGitHubDeliveryResult; getWorkItem(id: string): WorkItem | undefined; listWorkItems(options?: ListWorkItemsOptions, now?: string): WorkItem[]; routeWorkItem(id: string, input: WorkItemRouteRequest, now: string): WorkItem | undefined; diff --git a/packages/core/src/storage/sqlite-run-store.ts b/packages/core/src/storage/sqlite-run-store.ts index ba827cdbd..2be7b3859 100644 --- a/packages/core/src/storage/sqlite-run-store.ts +++ b/packages/core/src/storage/sqlite-run-store.ts @@ -6129,8 +6129,9 @@ export class SqliteRunStore implements RunStore { return this.workItems.createWorkItem(input, now, this.appServerState, { store: this.controlPlane, cwd: eventCwd }); } - commitWorkItemGitHubDelivery(input: Parameters[0], eventCwd = this.paths.cwd) { - return this.workItems.commitGitHubDelivery(input, this.appServerState, { store: this.controlPlane, cwd: eventCwd }); + commitWorkItemGitHubDelivery(input: Parameters[0], eventCwd = this.paths.cwd, + retainReceipt?: Parameters[2]) { + return this.workItems.commitGitHubDelivery(input, this.appServerState, { store: this.controlPlane, cwd: eventCwd }, retainReceipt); } getWorkItem(id: string): WorkItem | undefined { diff --git a/packages/core/src/storage/sqlite/work-item-store.ts b/packages/core/src/storage/sqlite/work-item-store.ts index 5739c1c14..d1ab33208 100644 --- a/packages/core/src/storage/sqlite/work-item-store.ts +++ b/packages/core/src/storage/sqlite/work-item-store.ts @@ -201,6 +201,7 @@ export class SqliteWorkItemStore { { delivery, targetKey, expectedWorkItemRevision, expectedDeliveryRevision }: CommitWorkItemGitHubDeliveryInput, state: SqliteAppServerStateStore, events: { readonly store: SqliteControlPlaneStore; readonly cwd: string }, + retainReceipt?: (delivery: LingAppServerGitHubDelivery) => void, ): CommitWorkItemGitHubDeliveryResult { const { database } = this.context; database.exec("BEGIN IMMEDIATE"); @@ -220,6 +221,7 @@ export class SqliteWorkItemStore { throw new Error("github_delivery_stale"); } if (prior?.deliveryId === deliveryId) { + retainReceipt?.(prior); database.exec("COMMIT"); return { delivery: prior }; } @@ -240,6 +242,7 @@ export class SqliteWorkItemStore { action: "work_item.delivery.reconciled", data: { workItemId, deliveryId, status: delivery.status, revision: workItem.revision }, }, observedAt); + retainReceipt?.(committed); database.exec("COMMIT"); return { delivery: committed, event }; } catch (error) { diff --git a/packages/daemon/src/config.ts b/packages/daemon/src/config.ts index 6c883bf89..c588e6cea 100644 --- a/packages/daemon/src/config.ts +++ b/packages/daemon/src/config.ts @@ -1,4 +1,4 @@ -import { resolve as resolvePath } from "node:path"; +import { isAbsolute, resolve as resolvePath } from "node:path"; import { delegationBudget, resolveDelegationPriceForBudget, type LingSandboxPolicyProfileId, type DelegationTokenPriceSnapshot } from "@ling-stack/core"; import type { DelegationBudgetV1 } from "@ling-stack/contracts"; @@ -28,6 +28,8 @@ export interface DaemonConfig { readonly transports?: TransportFeatureConfig; readonly appServerVerificationRecipes?: readonly AppServerVerificationRecipeConfig[]; readonly appServerGitHubSources?: readonly AppServerGitHubSourceConfig[]; + /** Private Host storage retained independently of the workspace SQLite backup. */ + readonly appServerRecoveryDirectory?: string; readonly appServerWss?: AppServerWssConfig; readonly channels?: ChannelFeatureConfig; readonly cuaDriver?: CuaDriverFeatureConfig; @@ -195,6 +197,7 @@ export interface ResolvedDaemonConfig { readonly transports: Required; readonly appServerVerificationRecipes: readonly AppServerVerificationRecipeConfig[]; readonly appServerGitHubSources: readonly AppServerGitHubSourceConfig[]; + readonly appServerRecoveryDirectory?: string; readonly appServerWss?: AppServerWssConfig; readonly channels: ChannelFeatureConfig; readonly cuaDriver: { @@ -239,6 +242,10 @@ export const defaultDaemonConfig: DaemonConfig = { export function resolveConfig(config: DaemonConfig): ResolvedDaemonConfig { const port = config.port ?? 17891; + const appServerRecoveryDirectory = config.appServerRecoveryDirectory ?? process.env.LING_STACK_APP_SERVER_RECOVERY_DIRECTORY; + if (appServerRecoveryDirectory !== undefined && !isAbsolute(appServerRecoveryDirectory)) { + throw new Error("The App Server recovery directory must be an absolute Host path."); + } return { host: config.host ?? "127.0.0.1", port, @@ -259,6 +266,7 @@ export function resolveConfig(config: DaemonConfig): ResolvedDaemonConfig { concurrency: resolveRuntimeConcurrencyPolicy(config.concurrency), appServerVerificationRecipes: resolveVerificationRecipes(config.appServerVerificationRecipes), appServerGitHubSources: resolveAppServerGitHubSources(config.appServerGitHubSources), + appServerRecoveryDirectory, appServerWss: resolveAppServerWssConfig(config.appServerWss), transports: { providerWebSocketFallback: config.transports?.providerWebSocketFallback ?? diff --git a/packages/daemon/src/server/app-server-authorization.ts b/packages/daemon/src/server/app-server-authorization.ts index 439703e74..778662e97 100644 --- a/packages/daemon/src/server/app-server-authorization.ts +++ b/packages/daemon/src/server/app-server-authorization.ts @@ -8,39 +8,43 @@ import { import type { RunStore } from "@ling-stack/core"; import { HttpError } from "../errors.js"; import { isRecord } from "../shared/validation.js"; +import type { AppServerRecoveryJournal } from "./app-server-recovery.js"; interface GrantRecord { readonly grant: LingAppServerGrant; readonly credentialSha256: string; + readonly recoveryEpoch?: string; } export const appServerGrantBearerPrefix = "Bearer las1."; const grantCredential = /^Bearer las1\.([a-f0-9-]{36})\.([a-f0-9]{64})$/u; const sha256 = (value: string) => createHash("sha256").update(value).digest("hex"); -export function authenticateAppServerGrant(store: RunStore, authorization: string): LingAppServerGrant | undefined { +export function authenticateAppServerGrant(store: RunStore, authorization: string, recovery?: AppServerRecoveryJournal): LingAppServerGrant | undefined { const match = grantCredential.exec(authorization); if (!match) return undefined; const record = readGrant(store, match[1]); - if (!record || !grantActive(record.grant)) return undefined; + if (!record || !grantActive(record, recovery)) return undefined; return timingSafeEqual(Buffer.from(sha256(match[2]), "hex"), Buffer.from(record.credentialSha256, "hex")) ? record.grant : undefined; } -export function appServerGrantStillActive(store: RunStore, grant: LingAppServerGrant): boolean { - const current = readGrant(store, grant.grantId)?.grant; - return current?.revision === grant.revision && grantActive(current); +export function appServerGrantStillActive(store: RunStore, grant: LingAppServerGrant, recovery?: AppServerRecoveryJournal): boolean { + const current = readGrant(store, grant.grantId); + return current?.grant.revision === grant.revision && grantActive(current, recovery); } -function grantActive(grant: LingAppServerGrant): boolean { - return !grant.revokedAt && Date.parse(grant.expiresAt) > Date.now(); +function grantActive(record: GrantRecord, recovery?: AppServerRecoveryJournal): boolean { + const { grant } = record; + return !grant.revokedAt && Date.parse(grant.expiresAt) > Date.now() + && (recovery?.allowsGrant(grant.grantId, record.recoveryEpoch) ?? (record.recoveryEpoch === undefined)); } function readGrant(store: RunStore, grantId: string): GrantRecord | undefined { return store.getAppServerState("authorization_grant", grantId)?.payload as GrantRecord | undefined; } -export function createAppServerGrant(store: RunStore, input: Record): LingAppServerGrant { +export function createAppServerGrant(store: RunStore, input: Record, recovery?: AppServerRecoveryJournal): LingAppServerGrant { const { label, subject, scopes, expiresAt, credentialSha256, idempotencyKey } = input; const expires = typeof expiresAt === "string" ? Date.parse(expiresAt) : Number.NaN; if (typeof label !== "string" || !label.trim() || label.length > 160 @@ -59,7 +63,8 @@ export function createAppServerGrant(store: RunStore, input: Record (record.payload as GrantRecord).grant); } -export function revokeAppServerGrant(store: RunStore, grantId: string, expectedRevision: number): LingAppServerGrant { +export function revokeAppServerGrant(store: RunStore, grantId: string, expectedRevision: number, recovery?: AppServerRecoveryJournal): LingAppServerGrant { const saved = store.getAppServerState("authorization_grant", grantId); if (!saved) throw new HttpError(404, "grant_not_found", "The App Server grant was not found."); const record = saved.payload as GrantRecord; if (record.grant.revokedAt && expectedRevision === saved.revision - 1) return record.grant; if (saved.revision !== expectedRevision || record.grant.revokedAt) throw new HttpError(409, "stale_revision", "The App Server grant revision changed."); - const revokedAt = new Date().toISOString(); + const now = new Date().toISOString(); + // A lost workspace commit must never revive a revoked credential on snapshot restore. + const revokedAt = recovery?.recordGrantRevocation(grantId, now) ?? now; const grant: LingAppServerGrant = { ...record.grant, revision: saved.revision + 1, revokedAt }; if (!store.putAppServerState({ kind: "authorization_grant", recordId: grantId, expectedRevision, payload: { ...record, grant } }, revokedAt)) throw new HttpError(409, "stale_revision", "The App Server grant revision changed."); diff --git a/packages/daemon/src/server/app-server-github-delivery.ts b/packages/daemon/src/server/app-server-github-delivery.ts index 5196fc84d..97a35e207 100644 --- a/packages/daemon/src/server/app-server-github-delivery.ts +++ b/packages/daemon/src/server/app-server-github-delivery.ts @@ -6,6 +6,7 @@ import { captureCodeAssessmentSnapshot } from "../features/code-assessments/snap import { trimOversizedEvent } from "../features/control-plane/events.js"; import { observeGitHubDelivery } from "./app-server-github-ci.js"; import { digest, gitHubReadClient, gitHubWorkItemTargetKey } from "./app-server-github-subject.js"; +import { appServerRecoveryFor } from "./app-server-recovery.js"; export function readGitHubDelivery(store: RunStore, workItemId: string, deliveryId?: string): LingAppServerGitHubDelivery | undefined { const record = deliveryId @@ -43,11 +44,12 @@ export async function reconcileGitHubDelivery( } const frozen = { workItemId, threadId, acceptanceId: acceptance.id, candidateDigest, ...observation }; const delivery = { ...frozen, deliveryId: `github_delivery_${digest(frozen)}`, observedAt: new Date().toISOString() }; + const recovery = appServerRecoveryFor(context.config, store); try { const result = store.commitWorkItemGitHubDelivery({ delivery, targetKey: gitHubWorkItemTargetKey(observation.subject), expectedWorkItemRevision, expectedDeliveryRevision: previous?.revision ?? 0, - }, cwd); + }, cwd, recovery && (receipt => recovery.recordGitHubDelivery(receipt))); if (result.event) context.controlPlaneEvents.publish(trimOversizedEvent(result.event)); return result.delivery; } catch (error) { diff --git a/packages/daemon/src/server/app-server-recovery.ts b/packages/daemon/src/server/app-server-recovery.ts new file mode 100644 index 000000000..32717903e --- /dev/null +++ b/packages/daemon/src/server/app-server-recovery.ts @@ -0,0 +1,306 @@ +import { createHash, randomUUID } from "node:crypto"; +import { closeSync, lstatSync, mkdirSync, openSync, realpathSync } from "node:fs"; +import { isAbsolute, relative, resolve, sep } from "node:path"; +import { DatabaseSync, type SQLOutputValue } from "node:sqlite"; +import type { + LingAppServerGitHubDelivery, + LingAppServerRecoveryJournalEntry, + LingAppServerRecoveryResult, +} from "@ling-stack/contracts"; +import type { RunStore } from "@ling-stack/core"; +import type { ResolvedDaemonConfig } from "../config.js"; +import { HttpError } from "../errors.js"; + +type RecoveryConfig = Pick; +type JournalFact = + | { readonly kind: "grant_revocation"; readonly id: string } + | { readonly kind: "external_agent_dispatch"; readonly id: string; readonly workItemId: string; readonly taskId: string; readonly submissionId: string } + | { readonly kind: "github_queue_enqueue"; readonly id: string; readonly workItemId: string; readonly repositoryId: string; readonly pullRequestNumber: number; readonly headSha: string } + | { readonly kind: "github_delivery"; readonly id: string; readonly workItemId: string; readonly mergedCommit: string; + readonly repositoryId: string; readonly number: number; readonly headSha?: string; readonly acceptanceId: string }; + +type DeliveryFact = Extract; +type DispatchFact = Extract; +type QueueFact = Extract; + +interface RecoveryEpoch { + readonly revision: number; + readonly epoch?: string; + readonly preparingStore?: string; + readonly preparedAt?: string; + readonly reconciledAt?: string; +} + +const journals = new WeakMap(); + +export function appServerRecoveryFor(config: RecoveryConfig, store: RunStore): AppServerRecoveryJournal | undefined { + if (!config.appServerRecoveryDirectory) return undefined; + const retained = journals.get(store); + if (retained) return retained; + const cwd = realpathSync(store.paths.cwd); + const directory = resolve(config.appServerRecoveryDirectory); + assertExternalDirectory(cwd, store.paths.rootDir, directory); + mkdirSync(directory, { recursive: true, mode: 0o700 }); + const canonical = realpathSync(directory); + assertExternalDirectory(cwd, realpathSync(store.paths.rootDir), canonical); + if (!lstatSync(canonical).isDirectory() || !hasPrivateMode(canonical)) { + throw new Error("The App Server recovery directory must be private Host storage."); + } + const name = `workspace-${createHash("sha256").update(cwd).digest("hex")}.sqlite`; + const journal = new AppServerRecoveryJournal(cwd, resolve(canonical, name)); + journals.set(store, journal); + return journal; +} + +function assertExternalDirectory(cwd: string, stateRoot: string, directory: string): void { + for (const root of [cwd, stateRoot]) { + const path = relative(root, directory); + if (path !== ".." && !path.startsWith(`..${sep}`) && !isAbsolute(path)) { + throw new Error("The App Server recovery directory must be outside the workspace and its restored state."); + } + } +} + +function hasPrivateMode(path: string): boolean { + return process.platform === "win32" || (lstatSync(path).mode & 0o077) === 0; +} + +export class AppServerRecoveryJournal { + private readonly storeInstanceId = randomUUID(); + private initialized = false; + + constructor(private readonly cwd: string, private readonly path: string) {} + + read(): LingAppServerRecoveryResult { + return this.access(db => this.snapshot(db, readEpoch(db))); + } + + epoch(): string | undefined { + return this.access(db => readEpoch(db).epoch); + } + + assertReady(): void { + this.access(db => assertReady(readEpoch(db))); + } + + grantIssuanceEpoch(): string | undefined { + return this.access(db => { + const current = readEpoch(db); + assertReady(current); + return current.epoch; + }); + } + + prepare(expectedRevision: number, key: string): LingAppServerRecoveryResult { + return this.transaction(db => { + const current = readEpoch(db); + const prior = db.prepare("SELECT revision FROM recovery_epochs WHERE request_key=?").get(key); + if (prior) { + if (prior.revision !== expectedRevision + 1 || prior.revision !== current.revision) { + throw new HttpError(409, "idempotency_conflict", "The recovery key belongs to a different epoch."); + } + return this.snapshot(db, current); + } + assertRevision(current, expectedRevision); + assertReady(current); + db.prepare("INSERT INTO recovery_epochs (revision, request_key, epoch, prepared_at, preparing_store) VALUES (?, ?, ?, ?, ?)") + .run(current.revision + 1, key, randomUUID(), now(), this.storeInstanceId); + return this.snapshot(db, readEpoch(db)); + }); + } + + reconcile(expectedRevision: number, confirmed: (fact: DeliveryFact | DispatchFact | QueueFact) => boolean): LingAppServerRecoveryResult { + return this.transaction(db => { + const current = readEpoch(db); + assertRevision(current, expectedRevision); + if (!requiresReconciliation(current)) return this.snapshot(db, current); + if (current.preparingStore === this.storeInstanceId) { + throw new HttpError(409, "resume_blocked", "Restart the Host with the selected workspace snapshot before reconciliation."); + } + const pending = db.prepare(`SELECT kind, id, fact_json, completed_at FROM recovery_journal + WHERE kind != 'grant_revocation' AND reconciled_revision < ? ORDER BY kind, id`).all(current.revision); + const accept = db.prepare("UPDATE recovery_journal SET reconciled_revision=? WHERE kind=? AND id=?"); + for (const row of pending) { + const fact = readFact(row); + if (fact.kind !== "grant_revocation" && (row.completed_at || confirmed(fact))) accept.run(current.revision, fact.kind, fact.id); + } + if (!pendingCount(db, current.revision)) { + db.prepare("UPDATE recovery_epochs SET reconciled_at=? WHERE revision=?").run(now(), current.revision); + } + return this.snapshot(db, readEpoch(db)); + }); + } + + allowsGrant(grantId: string, issuedEpoch: string | undefined): boolean { + return this.access(db => { + const current = readEpoch(db); + return !requiresReconciliation(current) && issuedEpoch === current.epoch + && !db.prepare("SELECT 1 FROM recovery_journal WHERE kind='grant_revocation' AND id=?").get(grantId); + }); + } + + recordGrantRevocation(grantId: string, revokedAt: string): string { + return this.transaction(db => { + insertFact(db, { kind: "grant_revocation", id: grantId }, revokedAt); + return String(db.prepare("SELECT recorded_at FROM recovery_journal WHERE kind='grant_revocation' AND id=?").get(grantId)?.recorded_at); + }); + } + + recordGitHubDelivery(delivery: LingAppServerGitHubDelivery): void { + if (delivery.status !== "delivered" || !delivery.mergedCommit) return; + const fact: DeliveryFact = { + kind: "github_delivery", id: delivery.deliveryId, workItemId: delivery.workItemId, + mergedCommit: delivery.mergedCommit, repositoryId: delivery.subject.repositoryId, number: delivery.subject.number, + headSha: delivery.subject.headSha, acceptanceId: delivery.acceptanceId, + }; + this.transaction(db => { insertFact(db, fact, delivery.observedAt); }); + } + + reserveExternalDispatch(fact: Omit): boolean { + return this.transaction(db => { + assertReady(readEpoch(db)); + return insertFact(db, { kind: "external_agent_dispatch", ...fact }, now()); + }); + } + + hasExternalDispatch(id: string): boolean { + return this.access(db => Boolean(db.prepare("SELECT 1 FROM recovery_journal WHERE kind='external_agent_dispatch' AND id=?").get(id))); + } + + confirmExternalDispatch(id: string): void { + this.access(db => { + const result = db.prepare(`UPDATE recovery_journal SET completed_at=COALESCE(completed_at, ?) + WHERE kind='external_agent_dispatch' AND id=?`).run(now(), id); + if (result.changes !== 1) throw new Error("The external dispatch has no recovery journal entry."); + }); + } + + reserveGitHubQueueEnqueue(fact: Omit): boolean { + return this.transaction(db => { + assertReady(readEpoch(db)); + return insertFact(db, { kind: "github_queue_enqueue", ...fact }, now()); + }); + } + + confirmGitHubQueueEnqueue(id: string): void { + this.access(db => { + const result = db.prepare(`UPDATE recovery_journal SET completed_at=COALESCE(completed_at, ?) + WHERE kind='github_queue_enqueue' AND id=?`).run(now(), id); + if (result.changes !== 1) throw new Error("The GitHub queue intent has no recovery journal entry."); + }); + } + + private snapshot(db: DatabaseSync, epoch: RecoveryEpoch): LingAppServerRecoveryResult { + const blocked = requiresReconciliation(epoch); + const entries = db.prepare(`SELECT kind, id, fact_json, recorded_at, reconciled_revision, completed_at FROM recovery_journal + ORDER BY CASE WHEN kind != 'grant_revocation' AND reconciled_revision < ? THEN 0 ELSE 1 END, + recorded_at DESC, kind ASC, id ASC LIMIT 100`).all(blocked ? epoch.revision : 0); + return { + cwd: this.cwd, + revision: epoch.revision, + status: blocked ? "reconciliation_required" : "ready", + ...(epoch.preparedAt ? { preparedAt: epoch.preparedAt } : {}), + ...(epoch.reconciledAt ? { reconciledAt: epoch.reconciledAt } : {}), + pendingCount: blocked ? pendingCount(db, epoch.revision) : 0, + entries: entries.map(row => { + const fact = readFact(row); + const shared = { id: fact.id, recordedAt: String(row.recorded_at), pending: blocked && fact.kind !== "grant_revocation" + && Number(row.reconciled_revision) < epoch.revision }; + if (fact.kind === "github_delivery") { + return { ...shared, kind: fact.kind, workItemId: fact.workItemId, mergedCommit: fact.mergedCommit }; + } + if (fact.kind === "github_queue_enqueue") { + return { ...shared, kind: fact.kind, workItemId: fact.workItemId, repositoryId: fact.repositoryId, + pullRequestNumber: fact.pullRequestNumber, headSha: fact.headSha, + ...(typeof row.completed_at === "string" ? { completedAt: row.completed_at } : {}) }; + } + return fact.kind === "external_agent_dispatch" ? { + ...shared, kind: fact.kind, workItemId: fact.workItemId, taskId: fact.taskId, + ...(typeof row.completed_at === "string" ? { completedAt: row.completed_at } : {}), + } : { ...shared, kind: fact.kind } satisfies LingAppServerRecoveryJournalEntry; + }), + }; + } + + private access(operation: (db: DatabaseSync) => T): T { + if (!this.initialized) { + try { closeSync(openSync(this.path, "wx", 0o600)); } catch (error) { + if ((error as NodeJS.ErrnoException).code !== "EEXIST") throw error; + } + } + const file = lstatSync(this.path); + if (!file.isFile() || file.nlink !== 1 || !hasPrivateMode(this.path)) throw new Error("Invalid App Server recovery database."); + const db = new DatabaseSync(this.path); + try { + db.exec("PRAGMA busy_timeout=5000; PRAGMA synchronous=FULL;"); + if (!this.initialized) db.exec(` + CREATE TABLE IF NOT EXISTS recovery_epochs ( + revision INTEGER PRIMARY KEY, request_key TEXT UNIQUE NOT NULL, epoch TEXT NOT NULL, + prepared_at TEXT NOT NULL, preparing_store TEXT NOT NULL, reconciled_at TEXT + ) STRICT; + CREATE TABLE IF NOT EXISTS recovery_journal ( + kind TEXT NOT NULL, id TEXT NOT NULL, fact_json TEXT NOT NULL, + recorded_at TEXT NOT NULL, reconciled_revision INTEGER NOT NULL DEFAULT 0, completed_at TEXT, + PRIMARY KEY (kind, id) + ) STRICT;`); + this.initialized = true; + return operation(db); + } finally { + db.close(); + } + } + + private transaction(operation: (db: DatabaseSync) => T): T { + return this.access(db => { + db.exec("BEGIN IMMEDIATE"); + try { + const result = operation(db); + db.exec("COMMIT"); + return result; + } catch (error) { + if (db.isTransaction) db.exec("ROLLBACK"); + throw error; + } + }); + } +} + +function readEpoch(db: DatabaseSync): RecoveryEpoch { + const row = db.prepare("SELECT revision, epoch, prepared_at, preparing_store, reconciled_at FROM recovery_epochs ORDER BY revision DESC LIMIT 1").get(); + return row ? { revision: Number(row.revision), epoch: String(row.epoch), preparedAt: String(row.prepared_at), preparingStore: String(row.preparing_store), + reconciledAt: typeof row.reconciled_at === "string" ? row.reconciled_at : undefined } : { revision: 0 }; +} + +function pendingCount(db: DatabaseSync, revision: number): number { + return Number(db.prepare(`SELECT COUNT(*) AS pending FROM recovery_journal + WHERE kind != 'grant_revocation' AND reconciled_revision < ?`).get(revision)?.pending); +} + +function insertFact(db: DatabaseSync, fact: JournalFact, recordedAt: string): boolean { + return db.prepare(`INSERT INTO recovery_journal (kind, id, fact_json, recorded_at) VALUES (?, ?, ?, ?) + ON CONFLICT (kind, id) DO NOTHING`).run(fact.kind, fact.id, JSON.stringify(fact), recordedAt).changes === 1; +} + +function readFact(row: Record): JournalFact { + const fact = JSON.parse(String(row.fact_json)) as JournalFact; + if (fact.id !== row.id || fact.kind !== row.kind || !["github_delivery", "github_queue_enqueue", "external_agent_dispatch", "grant_revocation"].includes(fact.kind)) { + throw new Error("App Server recovery journal is corrupt."); + } + return fact; +} + +function requiresReconciliation(epoch: RecoveryEpoch): boolean { + return Boolean(epoch.preparedAt && !epoch.reconciledAt); +} + +function assertReady(epoch: RecoveryEpoch): void { + if (requiresReconciliation(epoch)) throw new HttpError(409, "resume_blocked", "App Server recovery reconciliation is required before new dispatch."); +} + +function assertRevision(epoch: RecoveryEpoch, expected: number): void { + if (epoch.revision !== expected) throw new HttpError(409, "stale_revision", "The App Server recovery epoch changed."); +} + +function now(): string { + return new Date().toISOString(); +} diff --git a/packages/daemon/src/server/app-server-replay.ts b/packages/daemon/src/server/app-server-replay.ts index 4c76ac80b..9b90bb9f3 100644 --- a/packages/daemon/src/server/app-server-replay.ts +++ b/packages/daemon/src/server/app-server-replay.ts @@ -11,7 +11,7 @@ export interface AppServerReplayScope { eventId(workspaceId: string, seq: number): string; } -export function loadAppServerReplayIdentity(store: RunStore, cwd: string, authToken: string | undefined) { +export function loadAppServerReplayIdentity(store: RunStore, cwd: string, authToken: string | undefined, recoveryEpoch?: string) { const record = store.getAppServerState("replay_identity", recordId) ?? store.putAppServerState({ kind: "replay_identity", @@ -26,8 +26,9 @@ export function loadAppServerReplayIdentity(store: RunStore, cwd: string, authTo const key = Buffer.from(record.payload, "hex"); const digest = (...parts: readonly (string | undefined)[]) => createHmac("sha256", key).update(JSON.stringify(parts)).digest("base64url"); - const storeIncarnation = digest("store", cwd); - const authorizationEpoch = digest("authorization", cwd, authToken); + const epoch = recoveryEpoch ? [recoveryEpoch] : []; + const storeIncarnation = digest("store", cwd, ...epoch); + const authorizationEpoch = digest("authorization", cwd, authToken, ...epoch); const eventId = (workspaceId: string, seq: number) => `${workspaceId}:${storeIncarnation}:${seq}`; return { storeIncarnation, diff --git a/packages/daemon/src/server/rpc.ts b/packages/daemon/src/server/rpc.ts index d50b10ed5..8cf1a1756 100644 --- a/packages/daemon/src/server/rpc.ts +++ b/packages/daemon/src/server/rpc.ts @@ -48,6 +48,7 @@ import { WebSocket, WebSocketServer, type RawData } from "ws"; import type { DaemonContext } from "../context.js"; import { daemonRequestIsAuthorized } from "./request-auth.js"; import { loadAppServerReplayIdentity, unavailableAppServerReplayWindow, type AppServerReplayScope } from "./app-server-replay.js"; +import { appServerRecoveryFor, type AppServerRecoveryJournal } from "./app-server-recovery.js"; import { isAllowedLocalOrigin, isDirectLoopbackRequest } from "../shared/local-workspace-access.js"; import { maybeScheduleRunTerminalReport } from "../features/channels/terminal-report-coordinator.js"; import { ensureRunCancelled } from "../features/runs/cancellation.js"; @@ -177,6 +178,7 @@ const operatorMethods = new Set([ "worktree/create", "worktree/cleanup", "thread/fork", "handoff/create", "handoff/resume", "server/grants/create", "server/grants/list", "server/grants/revoke", + "server/recovery/read", "server/recovery/prepare", "server/recovery/reconcile", "github/subject/read", "github/delivery/reconcile", "github/delivery/enqueue", "github/delivery/queue/read", "workItem/delivery/read", "delivery/read", "github/intake/policy/list", "github/intake/poll", "github/intake/read", @@ -188,6 +190,12 @@ const operatorMethods = new Set([ ]); const IMPLEMENTED_APP_SERVER_METHODS = LING_APP_SERVER_METHODS.filter(method => !UNIMPLEMENTED_APP_SERVER_METHODS.has(method)); const appServerMethods = new Set([...IMPLEMENTED_APP_SERVER_METHODS, "runs.start", "runs.cancel", "turn/steer"]); +const recoveryGuardedMethods = new Set([ + "runs.start", "turn/start", "turn/queue", "turn/resume", "handoff/resume", "approval/respond", "input/respond", + "plan/accept", "workItem/create", "workItem/accept", "workItem/workflow/bind", "workItem/resume", "github/intake/poll", + "workItem/coordination/start", "workItem/coordination/schedule/set", "workItem/deliberation/start", "workItem/handoff/accept", + "externalAgent/task/start", "verify/start", "review/start", "simplify/start", "changes/apply", "worktree/create", "worktree/cleanup", +]); export function attachRpcWebSocketServer( server: Pick, context: DaemonContext, options: { readonly permitsRemoteUpgrade?: (request: IncomingMessage) => boolean } = {}, @@ -256,7 +264,10 @@ export function attachRpcWebSocketServer( } let grant: LingAppServerGrant | undefined; if (scopedBearer) { - try { grant = authenticateAppServerGrant(context.storeRegistry.getStore(workspaceCwd), authorization); } + try { + const store = context.storeRegistry.getStore(workspaceCwd); + grant = authenticateAppServerGrant(store, authorization, appServerRecoveryFor(context.config, store)); + } catch { /* A grant cannot authenticate while its workspace store is unavailable. */ } if (!grant) { rejectUpgrade(socket, 401, "The App Server grant is unavailable."); @@ -266,7 +277,7 @@ export function attachRpcWebSocketServer( wss.handleUpgrade(request, socket, head, (ws) => { const connection = new RpcConnection(ws, workspaceCwd, context, appServer, Boolean(context.config.authToken && daemonAuthorized), () => draining, grant, (cwd, id) => { - for (const peer of daemonConnections) peer.invalidateGrant(cwd, id); + for (const peer of daemonConnections) if (peer !== connection) peer.invalidateAuthorization(cwd, id); }); if (appServer) { appServerConnections.add(connection); @@ -331,7 +342,7 @@ class RpcConnection { private readonly authenticated: boolean, private readonly draining: () => boolean, private readonly grant: LingAppServerGrant | undefined, - private readonly revokeGrantConnection: (cwd: string, id: string) => void, + private readonly invalidatePeerAuthorization: (cwd: string, grantId?: string) => void, ) { this.outbound = new RpcOutboundWriter(ws, { onClose: () => this.close(), @@ -346,8 +357,8 @@ class RpcConnection { this.ws.on("error", this.onConnectionError); } - invalidateGrant(cwd: string, grantId: string): void { - if (this.grant?.grantId === grantId && this.defaultCwd === cwd) this.outbound.close(1008, "authorization_changed"); + invalidateAuthorization(cwd: string, grantId?: string): void { + if (this.defaultCwd === cwd && (!grantId || this.grant?.grantId === grantId)) this.outbound.close(1008, "authorization_changed"); } notifyDraining(drainId: string, startedAt: string): void { @@ -409,6 +420,10 @@ class RpcConnection { const validation = validateLingAppServerParams(request.method, params); if (!validation.ok) throw rpcError(-32602, "invalid_params", `${validation.path} ${validation.message}.`); } + if (this.context.config.appServerRecoveryDirectory && recoveryAdmissionRequest(request.method, params)) { + const store = this.context.storeRegistry.getStore(readRpcCwd(readParamsRecord(params), this.defaultCwd)); + appServerRecoveryFor(this.context.config, store)?.assertReady(); + } if (request.method === "controlPlane.subscribe") { if (this.appServer) { throw rpcError(-32601, "method_not_found", "Use thread/subscribe or workItem/subscribe on the App Server."); @@ -522,8 +537,8 @@ class RpcConnection { return { protocolVersion: LING_APP_SERVER_PROTOCOL_VERSION, capabilities: this.availableCapabilities(), - methods: IMPLEMENTED_APP_SERVER_METHODS.filter(method => this.grant - ? grantAllowsMethod(this.grant, method) : this.authenticated || !operatorMethods.has(method)), + methods: IMPLEMENTED_APP_SERVER_METHODS.filter(method => (!method.startsWith("server/recovery/") || this.context.config.appServerRecoveryDirectory) + && (this.grant ? grantAllowsMethod(this.grant, method) : this.authenticated || !operatorMethods.has(method))), notifications: LING_APP_SERVER_NOTIFICATION_METHODS, }; case "server/grants/create": @@ -531,12 +546,50 @@ class RpcConnection { case "server/grants/revoke": { const record = this.workspaceParams(params, true); const store = this.context.storeRegistry.getStore(record.cwd); - if (method === "server/grants/create") return { cwd: record.cwd, grant: createAppServerGrant(store, record) }; + const recovery = appServerRecoveryFor(this.context.config, store); + if (method === "server/grants/create") return { cwd: record.cwd, grant: createAppServerGrant(store, record, recovery) }; if (method === "server/grants/list") return { cwd: record.cwd, grants: listAppServerGrants(store) }; - const grant = revokeAppServerGrant(store, readStringField(record, "grantId"), readIntegerField(record, "expectedRevision", "revision")); - this.revokeGrantConnection(record.cwd, grant.grantId); + const grant = revokeAppServerGrant(store, readStringField(record, "grantId"), readIntegerField(record, "expectedRevision", "revision"), recovery); + this.invalidatePeerAuthorization(record.cwd, grant.grantId); return { cwd: record.cwd, grant }; } + case "server/recovery/read": + case "server/recovery/prepare": + case "server/recovery/reconcile": { + const record = this.workspaceParams(params, true); + const store = this.context.storeRegistry.getStore(record.cwd); + const recovery = appServerRecoveryFor(this.context.config, store); + if (!recovery) throw rpcError(-32601, "method_not_found", "App Server recovery is not configured on this Host."); + if (method === "server/recovery/read") return recovery.read(); + const revision = readIntegerField(record, "expectedRevision", "revision"); + if (method === "server/recovery/prepare") { + const key = readStringField(record, "idempotencyKey"); + if (!key.trim() || key.length > 200 || /[\r\n\0]/u.test(key)) { + throw rpcError(-32602, "invalid_params", "A recovery key of up to 200 characters is required."); + } + const priorEpoch = recovery.epoch(); + const result = recovery.prepare(revision, key); + if (priorEpoch !== recovery.epoch()) { + this.invalidatePeerAuthorization(record.cwd); + for (const subscription of this.subscriptions.values()) this.closeSubscription(subscription); + this.initialized = false; + } + return result; + } + const federation = getExternalAgentFederation(this.context, record.cwd); + return recovery.reconcile(revision, fact => { + if (fact.kind === "external_agent_dispatch") { + const task = federation.getTask(fact.taskId)?.task; + return task?.submissionId === fact.submissionId && task.workItemId === fact.workItemId + && (task.status === "completed" || task.status === "cancelled"); + } + if (fact.kind === "github_queue_enqueue") return false; + const observed = readGitHubDelivery(store, fact.workItemId); + return observed?.status === "delivered" && observed.mergedCommit === fact.mergedCommit + && observed.subject.repositoryId === fact.repositoryId && observed.subject.number === fact.number + && observed.subject.headSha === fact.headSha && observed.acceptanceId === fact.acceptanceId; + }); + } case "workspace/list": return { workspaces: [{ workspaceId: DEFAULT_WORKSPACE_ID, cwd: this.defaultCwd }] }; case "workspace/read": @@ -903,13 +956,14 @@ class RpcConnection { const key = this.grant ? JSON.stringify([this.context.config.authToken, this.grant.grantId, this.grant.revision]) : this.context.config.authToken; - return loadAppServerReplayIdentity(store, cwd, key); + return loadAppServerReplayIdentity(store, cwd, key, appServerRecoveryFor(this.context.config, store)?.epoch()); } private grantIsCurrent(): boolean { if (!this.grant) return true; try { - return appServerGrantStillActive(this.context.storeRegistry.getStore(this.defaultCwd), this.grant); + const store = this.context.storeRegistry.getStore(this.defaultCwd); + return appServerGrantStillActive(store, this.grant, appServerRecoveryFor(this.context.config, store)); } catch { return false; } @@ -1331,7 +1385,20 @@ class RpcConnection { }; try { const hostDispatch = this.appServer && this.authenticated; - const result = federation.startTask(record as never, assertAdmission, hostDispatch); + const recovery = hostDispatch ? appServerRecoveryFor(this.context.config, store) : undefined; + let recoveryDispatch: { readonly journal: AppServerRecoveryJournal; readonly id: string } | undefined; + const result = federation.startTask(record as never, () => { + assertAdmission(); + if (!recovery) return; + const { registration } = federation.getRegistration(registrationId)!; + const id = "external_dispatch_" + createHash("sha256").update(JSON.stringify([ + registration.adapterKind, registration.agentId, workItemId, submission.idempotencyKey, + ])).digest("hex"); + if (recovery.hasExternalDispatch(id)) { + throw rpcError(-32060, "unknown_outcome", "The original dispatch is retained in the recovery journal. Read its receipt before retrying."); + } + recoveryDispatch = { journal: recovery, id }; + }, hostDispatch); const task = result.task; this.externalTaskIds.add(task.taskId); if (!result.replayed) { @@ -1340,7 +1407,7 @@ class RpcConnection { entityId: task.taskId, action: "external_agent.task.started", idempotencyKey: task.submissionId, data: { registrationId, workItemId, status: task.status, dispatchDepth: task.dispatchDepth }, }); - if (hostDispatch) this.dispatchExternalAgentTask(cwd, federation, registrationId, task.taskId, submission, assertAdmission); + if (hostDispatch) this.dispatchExternalAgentTask(cwd, federation, registrationId, task.taskId, submission, assertAdmission, recoveryDispatch); } const response = { ...result, task: federation.getTask(task.taskId)!.task }; if (this.appServer && !result.replayed) this.send({ jsonrpc: "2.0", method: "externalAgent/task/started", params: response }); @@ -1358,6 +1425,7 @@ class RpcConnection { taskId: string, submission: Record, assertAdmission: () => void, + recoveryDispatch?: { readonly journal: AppServerRecoveryJournal; readonly id: string }, ): void { if (!this.context.storeRegistry.isTrustedWorkspaceRoot(cwd)) { federation.markUnknown(taskId, "dispatch_workspace_untrusted"); @@ -1386,8 +1454,15 @@ class RpcConnection { } const objective = readStringField(submission, "objective"); const controller = new AbortController(); + const task = federation.getTask(taskId)!.task; const dispatch = { - federation, taskId, runner, assertAdmission, + federation, taskId, runner, assertAdmission: () => { + assertAdmission(); + if (recoveryDispatch && !recoveryDispatch.journal.reserveExternalDispatch({ id: recoveryDispatch.id, taskId, + submissionId: task.submissionId, workItemId: task.workItemId })) { + throw new HttpError(409, "unknown_outcome", "This dispatch was already recorded in the App Server recovery journal."); + } + }, options: { cwd, task: { id: taskId, title: objective.slice(0, 120), prompt: objective }, @@ -1408,7 +1483,9 @@ class RpcConnection { activeExternalDispatches.set(this.context, active); } active.set(taskId, controller); - const settled = dispatchExternalAgentTask(dispatch).catch(error => { + const settled = dispatchExternalAgentTask(dispatch).then(result => { + if (result.outcome === "completed") recoveryDispatch?.journal.confirmExternalDispatch(recoveryDispatch.id); + }).catch(error => { try { federation.markUnknown(taskId, error instanceof ExternalAgentDispatchError ? error.code : undefined); } catch { /* The retained dispatch receipt is available for recovery. */ } @@ -2916,6 +2993,13 @@ function jsonRpcIdKey(id: JsonRpcId): string { return `${typeof id}:${String(id)}`; } +function recoveryAdmissionRequest(method: string, params: unknown): boolean { + if (recoveryGuardedMethods.has(method)) return true; + const record = readParamsRecord(params); + return method === "instructions/init" && record.mode === "apply" + || method === "turn/interrupt" && typeof record.message === "string"; +} + function readParamsRecord(params: unknown): Record { if (params === undefined) { return {}; @@ -3034,7 +3118,10 @@ function normalizeRpcError(error: unknown): { readonly jsonRpcCode: number; read return { jsonRpcCode: -32602, code: "bad_request", message: error.message }; } if (error instanceof HttpError) { - return { jsonRpcCode: error.statusCode === 400 ? -32602 : -32061, code: error.code, message: error.message }; + const code = error.code; + const jsonRpcCode = code === "stale_revision" ? -32030 : code === "idempotency_conflict" ? -32031 + : error.statusCode === 400 ? -32602 : -32061; + return { jsonRpcCode, code, message: error.message }; } if (error instanceof WorktreeActionError) { const jsonRpcCode = error.code === "stale_revision" ? -32030 diff --git a/packages/daemon/test/app-server-release-acceptance.test.ts b/packages/daemon/test/app-server-release-acceptance.test.ts index 4b676aad6..59284b73d 100644 --- a/packages/daemon/test/app-server-release-acceptance.test.ts +++ b/packages/daemon/test/app-server-release-acceptance.test.ts @@ -2,7 +2,7 @@ import assert from "node:assert/strict"; import { execFile, execFileSync, spawn } from "node:child_process"; import { createHash, createHmac, randomUUID } from "node:crypto"; import { once } from "node:events"; -import { chmod, link, lstat, mkdir, mkdtemp, readFile, realpath, rm, symlink, unlink, writeFile } from "node:fs/promises"; +import { chmod, copyFile, link, lstat, mkdir, mkdtemp, readFile, realpath, rm, symlink, unlink, writeFile } from "node:fs/promises"; import { createConnection, createServer } from "node:net"; import { tmpdir } from "node:os"; import { PassThrough, type Duplex, type Readable, type Writable } from "node:stream"; @@ -27,6 +27,7 @@ import type { LingAppServerGitHubIntakePollResult, LingAppServerGitHubIntakeReceipt, LingAppServerGitHubDeliveryResult, + LingAppServerRecoveryResult, LingAppServerCoordinationSchedule, LingAppServerWorkItemCollaborationReadResult, LingAppServerGrant, @@ -1205,7 +1206,7 @@ test("External Agent dispatch calls the configured Codex adapter transport once t.after(() => adapterPeer.close()); const adapterRevision = "codex-adapter-acceptance/1"; const toolExecutionConformance = readOnlyExternalConformance(adapterRevision); - const fixture = await releaseFixture(t, { runner: { + const fixture = await releaseFixture(t, { recoveryJournal: true, runner: { id: "codex-app-server", displayName: "Configured Codex Adapter", status: "enabled", executionBoundary: "external", adapterRevision, toolExecutionConformance, adapter: createCodexAppServerAdapter({ baseUrl: adapterPeer.baseUrl, adapterRevision, toolExecutionConformance, timeoutMs: 5_000 }), @@ -1231,6 +1232,9 @@ test("External Agent dispatch calls the configured Codex adapter transport once objective: "Read the project contract", acceptanceSnapshot: { provider: { provider: "fixture", model: "fixture" } }, instructionManifestDigest: "fixture-manifest", idempotencyKey: "codex-adapter-task", } }; + const backup = join(fixture.root, "before-external-dispatch.sqlite"); + const databasePath = fixture.getStore().paths.databasePath; + backupSqlite(databasePath, backup); const { task } = await client.call("externalAgent/task/start", input); const reconnect = { registrationId, taskId: task.taskId, submissionId: task.submissionId, eventCursor: "external-agent:0" }; const completed = await waitFor(async () => { @@ -1249,6 +1253,17 @@ test("External Agent dispatch calls the configured Codex adapter transport once assert.deepEqual(await restored.call("externalAgent/task/reconnect", reconnect), completed); assert.deepEqual(await restored.call("externalAgent/task/start", input), { task: completed.task, replayed: true }); assert.equal(requests.length, 2); + + const prepared = await restored.call("server/recovery/prepare", { expectedRevision: 0, + idempotencyKey: "restore-before-external-dispatch" }); + await fixture.restart({ beforeStart: () => restoreSqlite(databasePath, backup) }); + const recovered = await fixture.connect(); + const reconciled = await recovered.call("server/recovery/reconcile", { expectedRevision: prepared.revision }); + assert.equal(reconciled.status, "ready"); + assert.ok(reconciled.entries.some(entry => entry.kind === "external_agent_dispatch" && entry.workItemId === workItem.workItemId + && entry.taskId === task.taskId && entry.completedAt)); + await assert.rejects(recovered.call("externalAgent/task/start", input), { code: "unknown_outcome" }); + assert.equal(requests.length, 2); }); test("a second App Server connection cancels the same external dispatch and recovers its receipt after restart", { timeout: 30_000 }, async t => { @@ -2727,6 +2742,145 @@ test("App Server replay cursors survive restart and stay bound to the workspace, })).disposition, "complete"); }); +test("restoring a pre-cutover SQLite snapshot retains the recovery fence, observed GitHub delivery and grant revocation", { timeout: 35_000 }, async t => { + const base = "b".repeat(40), mergedCommit = "c".repeat(40); + const workflowPath = ".github/workflows/verify.yml"; + const workflow = "name: Trusted verification\n"; + const workflowSha256 = createHash("sha256").update(workflow).digest("hex"); + const prefix = "https://api.github.com/repos/example/ling"; + const checkRunUrl = `${prefix}/check-runs/18`; + let head = ""; + const provider = await startLoopbackPiProvider(async () => ({ text: "Received after reconciliation" })); + t.after(() => provider.close()); + const fixture = await releaseFixture(t, { + recoveryJournal: true, + githubSources: cwd => [{ workspaceRoot: cwd, repository: "example/ling", repositoryId: "73", + deliveryPolicies: [{ baseRef: "main", requiredChecks: [ + { name: "unit", appId: 19, workflowId: 5, workflowPath, workflowSha256, basis: "head", coverageRefs: ["unit"] }, + ] }], + }], + externalWorkFetch: async (input, init) => { + assert.equal(init?.method ?? "GET", "GET"); + const path = String(input).slice(prefix.length); + const responses: Record = { + "": { id: 73, full_name: "example/ling" }, + "/pulls/12": { number: 12, title: "Confirm the delivery", state: "closed", merged: true, + base: { sha: base, ref: "main", repo: { id: 73 } }, head: { sha: head }, merge_commit_sha: mergedCommit }, + [`/git/commits/${mergedCommit}`]: { sha: mergedCommit, parents: [{ sha: base }, { sha: head }] }, + [`/actions/workflows/5/runs?head_sha=${head}&per_page=100`]: { total_count: 1, workflow_runs: [ + { id: 15, workflow_id: 5, head_sha: head, created_at: "2026-11-22T00:00:00Z", run_attempt: 1, + status: "completed", path: workflowPath, event: "push" }, + ] }, + "/actions/runs/15": { id: 15, run_attempt: 1 }, + "/actions/runs/15/attempts/1/jobs?per_page=100": { total_count: 1, jobs: [ + { id: 16, run_id: 15, head_sha: head, name: "unit", check_run_url: checkRunUrl, status: "completed", conclusion: "success" }, + ] }, + [`/commits/${head}/check-runs?per_page=100&filter=latest`]: { total_count: 1, check_runs: [ + { id: 18, name: "unit", head_sha: head, status: "completed", conclusion: "success", url: checkRunUrl, app: { id: 19 } }, + ] }, + [`/contents/${workflowPath}?ref=${head}`]: { + type: "file", path: workflowPath, encoding: "base64", content: Buffer.from(workflow).toString("base64"), + }, + }; + return Object.hasOwn(responses, path) ? Response.json(responses[path]) : Response.json({}, { status: 404 }); + }, + }); + await writeFile(join(fixture.cwd, ".gitignore"), ".ling-stack/\n"); + await writeFile(join(fixture.cwd, "delivery.txt"), "Candidate content\n"); + const git = (...args: string[]) => execFileSync("git", args, { cwd: fixture.cwd, encoding: "utf8" }).trim(); + git("init", "-q", "-b", "main"); + git("add", "."); + git("-c", "user.name=Fixture", "-c", "user.email=fixture@example.test", "commit", "-qm", "Candidate"); + head = git("rev-parse", "HEAD"); + + const client = await fixture.connect(); + const { thread } = await client.call("thread/start", { title: "Record a delivery" }); + const { thread: newWork } = await client.call("thread/start", { title: "Next task" }); + const preset = addLoopbackPreset(fixture.getStore(), provider.baseUrl); + const created = await client.call("workItem/create", { sourceId: "rollback-delivery", title: "Confirm a merge" }); + const { workItemId } = created.workItem; + const { workItem } = await client.call("workItem/accept", { + workItemId, expectedWorkItemRevision: Number(created.workItem.revision), idempotencyKey: "rollback-acceptance", + }); + const { candidate } = await client.call("changes/capture"); + const reconcileDelivery = async (connection: typeof client) => (await connection.call("github/delivery/reconcile", { + workItemId, threadId: thread.id, expectedWorkItemRevision: Number(workItem.revision), + repository: "example/ling", pullRequestNumber: 12, candidateDigest: candidate.candidateDigest, + })).delivery; + const makeGrant = async (label: string, connection = client) => { + const secret = createHash("sha256").update(randomUUID()).digest("hex"); + const { grant } = await connection.call<{ grant: LingAppServerGrant }>("server/grants/create", { + label, idempotencyKey: label, subject: { kind: "thread", id: newWork.id }, scopes: ["control", "observe"], + expiresAt: new Date(Date.now() + 60_000).toISOString(), credentialSha256: createHash("sha256").update(secret).digest("hex"), + }); + return { grant, token: `las1.${grant.grantId}.${secret}` }; + }; + const previous = await makeGrant("Already issued"); + const revocable = await makeGrant("Revoke during cutover"); + const observer = await fixture.connect("/app-server/rpc", fixture.cwd, previous.token); + await assert.rejects(observer.call("server/recovery/prepare", { expectedRevision: 0, idempotencyKey: "forbidden" }), { code: "capability_denied" }); + const { cursor } = await client.call("thread/snapshot", { threadId: thread.id }); + await observer.call("thread/subscribe", { threadId: newWork.id }); + + const databasePath = fixture.getStore().paths.databasePath; + const backup = join(fixture.root, "before-cutover.sqlite"); + backupSqlite(databasePath, backup); + + const observed = await reconcileDelivery(client); + assert.equal(observed.status, "delivered"); + await client.call("server/grants/revoke", { grantId: revocable.grant.grantId, expectedRevision: revocable.grant.revision }); + const closed = observer.waitForClose(); + const prepare = { expectedRevision: 0, idempotencyKey: "restore-pre-cutover-snapshot" }; + const prepared = await client.call("server/recovery/prepare", prepare); + assert.equal(prepared.status, "reconciliation_required"); + assert.equal((await closed)[0], 1008); + + const premature = await fixture.connect(); + await assert.rejects(premature.call("server/recovery/reconcile", { expectedRevision: prepared.revision }), { code: "resume_blocked" }); + await fixture.restart({ beforeStart: () => restoreSqlite(databasePath, backup) }); + const restored = await fixture.connect(); + assert.notEqual(restored.initialization?.storeIncarnation, client.initialization?.storeIncarnation); + assert.notEqual(restored.initialization?.authorizationEpoch, client.initialization?.authorizationEpoch); + assert.equal((await restored.call("thread/events/read", { threadId: thread.id, cursor })).window.disposition, "snapshot_required"); + await assert.rejects(fixture.connect("/app-server/rpc", fixture.cwd, previous.token), /401/u); + await assert.rejects(fixture.connect("/app-server/rpc", fixture.cwd, revocable.token), /401/u); + await assert.rejects(restored.call("workItem/delivery/read", { workItemId }), { code: "github_delivery_binding_unavailable" }); + assert.deepEqual(await restored.call("server/recovery/prepare", prepare), prepared); + const recoveryInput = { expectedRevision: prepared.revision }; + const blocked = await restored.call("server/recovery/reconcile", recoveryInput); + assert.equal(blocked.status, "reconciliation_required"); + assert.equal(blocked.pendingCount, 1); + assert.ok(blocked.entries.some(entry => entry.kind === "grant_revocation" && entry.id === revocable.grant.grantId)); + const request = { threadId: newWork.id, message: "Proceed after reconciliation", providerPresetId: preset.id, idempotencyKey: "after-rollback" }; + await assert.rejects(restored.call("turn/start", request), { code: "resume_blocked" }); + assert.equal(provider.requests.length, 0); + + assert.equal((await reconcileDelivery(restored)).deliveryId, observed.deliveryId); + const reconciled = await restored.call("server/recovery/reconcile", recoveryInput); + assert.equal(reconciled.status, "ready"); + assert.equal(reconciled.pendingCount, 0); + assert.equal(reconciled.entries.filter(entry => entry.kind === "github_delivery").length, 1); + assert.deepEqual(await restored.call("server/recovery/read"), reconciled); + await assert.rejects(fixture.connect("/app-server/rpc", fixture.cwd, previous.token), /401/u); + await assert.rejects(fixture.connect("/app-server/rpc", fixture.cwd, revocable.token), /401/u); + const renewed = await makeGrant("Current epoch", restored); + const controller = await fixture.connect("/app-server/rpc", fixture.cwd, renewed.token); + const { run } = await controller.call<{ run: { id: string } }>("turn/start", request); + await waitFor(() => fixture.getStore().getRun(run.id)?.status === "succeeded" ? true : undefined); + assert.equal(provider.requests.length, 1); +}); + +function backupSqlite(databasePath: string, backupPath: string): void { + const db = new DatabaseSync(databasePath); + try { db.prepare("VACUUM INTO ?").run(backupPath); } finally { db.close(); } +} + +async function restoreSqlite(databasePath: string, backupPath: string): Promise { + await rm(`${databasePath}-wal`, { force: true }); + await rm(`${databasePath}-shm`, { force: true }); + await copyFile(backupPath, databasePath); +} + const previousBuild = process.env.LING_APP_SERVER_PREVIOUS_BUILD; test("candidate App Server recovers v0.6.1 Thread state and preserves legacy clients", { skip: !previousBuild, timeout: 30_000, @@ -2881,6 +3035,7 @@ const candidateRuntime: ReleaseRuntime = { createDaemonServer, createSqliteRunSt async function releaseFixture(t: TestContext, { runner, initialRuntime = candidateRuntime, harness, requireAuth = true, verificationRecipes, githubSources, externalWorkFetch, secretResolver, wssConfig, + recoveryJournal = false, }: { runner?: RunnerRegistrationInput; initialRuntime?: ReleaseRuntime; @@ -2891,6 +3046,7 @@ async function releaseFixture(t: TestContext, { externalWorkFetch?: typeof fetch; secretResolver?: SecretResolver; wssConfig?: (root: string) => Promise; + recoveryJournal?: boolean; } = {}) { const root = await realpath(await mkdtemp(join(tmpdir(), "ling-as-"))); const cwd = join(root, "workspace"); @@ -2905,6 +3061,7 @@ async function releaseFixture(t: TestContext, { const makeDaemon = (runtime: ReleaseRuntime) => runtime.createDaemonServer({ host: "127.0.0.1", port: 0, defaultWorkspaceCwd: cwd, authToken: requireAuth ? authToken : undefined, harness, appServerVerificationRecipes, appServerGitHubSources: githubSources?.(cwd), appServerWss, + ...(recoveryJournal ? { appServerRecoveryDirectory: join(root, "recovery-journal") } : {}), }, { ...(runner ? { runnerRegistry: createRunnerRegistry([runner]) } : {}), chromeBrowserNativeMessagingEnabled: false, @@ -2951,9 +3108,10 @@ async function releaseFixture(t: TestContext, { assert.ok(store); return store; }, - async restart({ rotateAuthToken = false } = {}) { + async restart({ rotateAuthToken = false, beforeStart }: { rotateAuthToken?: boolean; beforeStart?: () => Promise } = {}) { await stop(); stores.clear(); + await beforeStart?.(); if (rotateAuthToken) authToken = randomUUID(); daemon = makeDaemon(candidateRuntime); await daemon.start(); From 7d4880e83203145fd7dcbe3ea8fd8e98e5c40a30 Mon Sep 17 00:00:00 2001 From: tianxiaochannel-oss88 Date: Mon, 23 Nov 2026 00:24:26 +0800 Subject: [PATCH 029/147] feat(contracts): declare App Server recovery schemas --- packages/contracts/src/app-server-schema.ts | 22 +++++++++++++++++++ .../contracts/test/app-server-schema.test.ts | 15 +++++++++++++ 2 files changed, 37 insertions(+) diff --git a/packages/contracts/src/app-server-schema.ts b/packages/contracts/src/app-server-schema.ts index 572cee8dd..52e59bb51 100644 --- a/packages/contracts/src/app-server-schema.ts +++ b/packages/contracts/src/app-server-schema.ts @@ -46,6 +46,21 @@ const stringArraySchema: LingAppServerJsonSchema = { type: "array", items: strin const threadTarget = { threadId: stringSchema }; const workItemTarget = { workItemId: stringSchema }; +const journalFields = { id: stringSchema, recordedAt: stringSchema, pending: booleanSchema }; +const journalRequired = ["id", "kind", "recordedAt", "pending"]; +const journalEntry = { oneOf: [ + objectWith({ ...journalFields, kind: { enum: ["grant_revocation"] } }, journalRequired), + objectWith({ ...journalFields, ...workItemTarget, kind: { enum: ["external_agent_dispatch"] }, taskId: stringSchema, completedAt: stringSchema }, + [...journalRequired, "workItemId", "taskId"]), + objectWith({ ...journalFields, ...workItemTarget, kind: { enum: ["github_delivery"] }, mergedCommit: stringSchema }, + [...journalRequired, "workItemId", "mergedCommit"]), + objectWith({ ...journalFields, ...workItemTarget, kind: { enum: ["github_queue_enqueue"] }, repositoryId: stringSchema, + pullRequestNumber: integerSchema, headSha: stringSchema, completedAt: stringSchema }, + [...journalRequired, "workItemId", "repositoryId", "pullRequestNumber", "headSha"]), +] }; +const serverRecoveryResult = objectWith({ cwd: stringSchema, revision: integerSchema, status: { enum: ["ready", "reconciliation_required"] }, + preparedAt: stringSchema, reconciledAt: stringSchema, pendingCount: integerSchema, entries: { type: "array", items: journalEntry } }, +["cwd", "revision", "status", "pendingCount", "entries"]); const candidate = objectWith({ workspaceId: stringSchema, candidateDigest: stringSchema, worktreeId: stringSchema, baseCommit: stringSchema, headCommit: stringSchema, filePaths: stringArraySchema }, ["workspaceId", "candidateDigest"]); const planResult = objectWith({ planId: stringSchema, planRevision: stringSchema, candidate, checks: arraySchema }, @@ -106,6 +121,13 @@ function schemaFor(method: LingAppServerMethod): LingAppServerMethodSchema { case "server/ping": return { params: objectSchema, result: objectWith({ ok: { enum: [true] }, connectionId: stringSchema, serverTime: stringSchema }, ["ok", "connectionId", "serverTime"]) }; + case "server/recovery/read": + return { params: objectWith({ cwd: stringSchema }), result: serverRecoveryResult }; + case "server/recovery/prepare": + return { params: objectWith({ cwd: stringSchema, expectedRevision: integerSchema, idempotencyKey: stringSchema }, + ["expectedRevision", "idempotencyKey"]), result: serverRecoveryResult }; + case "server/recovery/reconcile": + return { params: objectWith({ cwd: stringSchema, expectedRevision: integerSchema }, ["expectedRevision"]), result: serverRecoveryResult }; case "server/capabilities": return { params: objectSchema, result: objectWith({ protocolVersion: { enum: [LING_APP_SERVER_PROTOCOL_VERSION] }, capabilities: stringArraySchema, methods: stringArraySchema, notifications: stringArraySchema }, diff --git a/packages/contracts/test/app-server-schema.test.ts b/packages/contracts/test/app-server-schema.test.ts index a30feb38d..f426b055a 100644 --- a/packages/contracts/test/app-server-schema.test.ts +++ b/packages/contracts/test/app-server-schema.test.ts @@ -4,6 +4,7 @@ import { LING_APP_SERVER_METHOD_SCHEMAS, getLingAppServerSchema, validateLingAppServerParams, + validateLingAppServerResult, } from "../dist/app-server-schema.js"; import { LING_APP_SERVER_METHODS } from "../dist/app-server.js"; @@ -23,3 +24,17 @@ test("App Server parameter validation checks high-risk required fields while ret assert.equal(validateLingAppServerParams("approval/respond", { approvalId: "approval-1", decision: "later" }).ok, false); assert.equal(validateLingAppServerParams("turn/start", "invalid").ok, false); }); + +test("App Server recovery requires a pinned revision and validates the evidence projection", () => { + const prepare = { expectedRevision: 0, idempotencyKey: "prepare-recovery" }; + assert.ok(validateLingAppServerParams("server/recovery/prepare", prepare).ok); + assert.equal(validateLingAppServerParams("server/recovery/prepare", { ...prepare, expectedRevision: "0" }).path, "params.expectedRevision"); + assert.equal(validateLingAppServerParams("server/recovery/reconcile", {}).path, "params.expectedRevision"); + const report = { cwd: "/workspace", revision: 1, status: "reconciliation_required", pendingCount: 1, + entries: [{ id: "record", kind: "github_queue_enqueue", recordedAt: "2026-11-22T00:00:00.000Z", pending: true, + repositoryId: "73", workItemId: "work", pullRequestNumber: 12, headSha: "a".repeat(40) }] }; + assert.ok(validateLingAppServerResult("server/recovery/read", report).ok); + assert.equal(validateLingAppServerResult("server/recovery/read", { + ...report, entries: [{ ...report.entries[0], repositoryId: undefined }], + }).path, "result.entries[0]"); +}); From d11f88dc6c967b6d30dfea13d0ab799c7eac5786 Mon Sep 17 00:00:00 2001 From: tianxiaochannel-oss88 Date: Mon, 23 Nov 2026 00:43:43 +0800 Subject: [PATCH 030/147] feat(app-server): add Codex control host and durable reconnect state --- packages/api-client/src/app-server.ts | 111 +++++- packages/api-client/src/index.ts | 2 + packages/api-client/test/app-server.test.ts | 24 ++ packages/cli/src/main.ts | 23 +- packages/contracts/src/app-server-schema.ts | 3 +- packages/contracts/src/app-server.ts | 25 +- .../src/server/app-server-codex-host.ts | 325 ++++++++++++++++++ .../src/server/app-server-local-transport.ts | 4 +- packages/daemon/src/server/rpc.ts | 29 +- .../app-server-release-acceptance.test.ts | 136 +++++++- 10 files changed, 657 insertions(+), 25 deletions(-) create mode 100644 packages/daemon/src/server/app-server-codex-host.ts diff --git a/packages/api-client/src/app-server.ts b/packages/api-client/src/app-server.ts index a8719152d..8ea70405e 100644 --- a/packages/api-client/src/app-server.ts +++ b/packages/api-client/src/app-server.ts @@ -6,6 +6,8 @@ import type { LingAppServerChangeTransferPreview, LingAppServerPreviewChangeTransferParams, LingAppServerCaptureChangesParams, + LingAppServerApprovalRespondParams, + LingAppServerApprovalRespondResult, LingAppServerChangeRecoveryPreview, LingAppServerPreviewChangeRecoveryParams, LingAppServerReadChangesParams, @@ -130,6 +132,25 @@ export interface LingAppServerClientOptions { readonly requestTimeoutMs?: number; } +export type LingAppServerConnectionState = + | "connecting" + | "connected" + | "reconnecting" + | "disconnected" + | "authorization_required" + | "error" + | "closed"; + +export interface LingAppServerConnectionStatus { + readonly state: LingAppServerConnectionState; + readonly code?: string; + readonly message?: string; + readonly closeCode?: number; + readonly closeReason?: string; + readonly authorizationEpoch?: string; + readonly storeIncarnation?: string; +} + export interface LingAppServerNotification { readonly jsonrpc: "2.0"; readonly method: LingAppServerNotificationMethod | string; @@ -165,6 +186,7 @@ export class LingAppServerClient { private readonly pending = new Map(); private readonly notificationListeners = new Set<(notification: LingAppServerNotification) => void>(); private readonly serverRequestListeners = new Set<(request: LingAppServerServerRequest) => void>(); + private readonly connectionStateListeners = new Set<(status: LingAppServerConnectionStatus) => void>(); private socket?: LingAppServerSocket; private nextId = 1; private connectPromise?: Promise; @@ -180,11 +202,20 @@ export class LingAppServerClient { connect(): Promise { this.manuallyClosed = false; if (this.connectPromise) return this.connectPromise; + this.emitConnectionState({ state: this.reconnectAttempt > 0 ? "reconnecting" : "connecting" }); const promise = this.openAndInitialize(); this.connectPromise = promise; - promise.catch(() => { - if (this.connectPromise === promise) this.connectPromise = undefined; - this.scheduleReconnect(); + promise.catch(error => { + if (this.manuallyClosed || this.connectPromise && this.connectPromise !== promise) return; + this.connectPromise = undefined; + const status = connectionStatusForError(error); + this.emitConnectionState(status); + if (status.state === "authorization_required" || status.code === "protocol_version_unsupported" + || status.code === "required_capability_unavailable") { + this.cancelReconnect(); + } else { + this.scheduleReconnect(); + } }); return promise; } @@ -359,7 +390,7 @@ export class LingAppServerClient { return await this.request("turn/resume", params); } - async respondApproval(params: Record): Promise { + async respondApproval(params: LingAppServerApprovalRespondParams): Promise { await this.connect(); return await this.request("approval/respond", params); } @@ -599,10 +630,14 @@ export class LingAppServerClient { return () => this.serverRequestListeners.delete(listener); } + onConnectionState(listener: (status: LingAppServerConnectionStatus) => void): () => void { + this.connectionStateListeners.add(listener); + return () => this.connectionStateListeners.delete(listener); + } + close(): void { this.manuallyClosed = true; - if (this.reconnectTimer) clearTimeout(this.reconnectTimer); - this.reconnectTimer = undefined; + this.cancelReconnect(); const socket = this.socket; this.socket = undefined; this.connectPromise = undefined; @@ -610,6 +645,7 @@ export class LingAppServerClient { const error = new Error("Ling App Server connection closed."); for (const pending of this.pending.values()) pending.reject(error); this.pending.clear(); + this.emitConnectionState({ state: "closed", closeCode: 1000, closeReason: "client_closed" }); } private async openAndInitialize(): Promise { @@ -620,8 +656,8 @@ export class LingAppServerClient { attachSocketListener(socket, "message", (event) => { if (this.socket === socket) this.handleMessage(readSocketMessage(event)); }); - attachSocketListener(socket, "close", () => this.handleClose(socket)); - attachSocketListener(socket, "error", () => this.handleClose(socket)); + attachSocketListener(socket, "close", event => this.handleClose(socket, event)); + attachSocketListener(socket, "error", event => this.handleClose(socket, event)); try { await opened; if (this.socket !== socket) throw new Error("Ling App Server connection closed."); @@ -637,6 +673,7 @@ export class LingAppServerClient { } socket.send(JSON.stringify({ jsonrpc: "2.0", method: "initialized" })); this.reconnectAttempt = 0; + this.emitConnectionState({ state: "connected", authorizationEpoch: initialized.authorizationEpoch, storeIncarnation: initialized.storeIncarnation }); await this.replaySubscriptions(socket); if (this.socket !== socket) throw new Error("Ling App Server connection closed."); return initialized; @@ -710,13 +747,24 @@ export class LingAppServerClient { } } - private handleClose(socket: LingAppServerSocket): void { + private handleClose(socket: LingAppServerSocket, event?: unknown): void { if (this.socket !== socket) return; this.socket = undefined; - const error = new Error("Ling App Server connection closed."); + const close = readCloseEvent(event); + const error = Object.assign(new Error(close.reason || "Ling App Server connection closed."), { + code: close.code === 1008 || /authorization_changed|unauthorized|forbidden|unexpected server response: (?:401|403)\b/iu.test(close.reason) + ? "authorization_required" : undefined, + }); for (const pending of this.pending.values()) pending.reject(error); this.pending.clear(); this.connectPromise = undefined; + if (error.code === "authorization_required") { + this.cancelReconnect(); + this.emitConnectionState({ state: "authorization_required", code: error.code, message: error.message, + closeCode: close.code, closeReason: close.reason }); + return; + } + this.emitConnectionState({ state: "disconnected", message: error.message, closeCode: close.code, closeReason: close.reason }); this.scheduleReconnect(); } @@ -744,12 +792,22 @@ export class LingAppServerClient { const max = Math.max(base, this.options.maxReconnectDelayMs ?? 10_000); const delay = Math.min(max, base * 2 ** Math.min(this.reconnectAttempt, 6)); this.reconnectAttempt += 1; + this.emitConnectionState({ state: "reconnecting", message: `retrying in ${delay}ms` }); this.reconnectTimer = setTimeout(() => { this.reconnectTimer = undefined; void this.connect().catch(() => undefined); }, delay); } + private cancelReconnect(): void { + if (this.reconnectTimer) clearTimeout(this.reconnectTimer); + this.reconnectTimer = undefined; + } + + private emitConnectionState(status: LingAppServerConnectionStatus): void { + for (const listener of this.connectionStateListeners) listener(status); + } + private async replaySubscriptions(socket: LingAppServerSocket): Promise { const tracked = [...this.subscriptions.entries()]; for (const [key, subscription] of tracked) { @@ -764,8 +822,16 @@ export class LingAppServerClient { listener({ jsonrpc: "2.0", method, params: { ...result, threadId, workItemId, workspaceId } }); } } - } catch { - // A failed replay remains tracked and will be retried on the next reconnect. + } catch (error) { + const status = connectionStatusForError(error); + if (status.state === "authorization_required") { + this.subscriptions.delete(key); + const method = subscription.method === "thread/subscribe" ? "thread/resync/required" : "workItem/resync/required"; + const { threadId, workItemId, workspaceId } = subscription.params; + for (const listener of this.notificationListeners) { + listener({ jsonrpc: "2.0", method, params: { reason: "authorization_changed", threadId, workItemId, workspaceId } }); + } + } } } } @@ -789,6 +855,25 @@ function subscriptionKey(method: TrackedSubscription["method"], params: LingAppS return `${method}:${params.workspaceId ?? ""}:${params.threadId ?? ""}:${params.workItemId ?? ""}`; } +function connectionStatusForError(error: unknown): LingAppServerConnectionStatus { + const record = error && typeof error === "object" ? error as { readonly code?: unknown; readonly message?: unknown } : {}; + const code = typeof record.code === "string" ? record.code : undefined; + const message = typeof record.message === "string" ? record.message : String(error); + if (code === "authorization_required" || code === "capability_denied" || /unexpected server response: (?:401|403)\b/iu.test(message)) { + return { state: "authorization_required", code: code ?? "authorization_required", message }; + } + return { state: "error", ...(code ? { code } : {}), message }; +} + +function readCloseEvent(event: unknown): { readonly code: number; readonly reason: string } { + if (!event || typeof event !== "object") return { code: 1006, reason: "" }; + const record = event as { readonly code?: unknown; readonly reason?: unknown; readonly message?: unknown }; + return { + code: typeof record.code === "number" && Number.isSafeInteger(record.code) ? record.code : 1006, + reason: typeof record.reason === "string" ? record.reason : typeof record.message === "string" ? record.message : "", + }; +} + function attachSocketListener(socket: LingAppServerSocket, type: "open" | "message" | "close" | "error", listener: (event: unknown) => void): void { if (socket.addEventListener) { socket.addEventListener(type, listener); @@ -806,7 +891,7 @@ function waitForSocketOpen(socket: LingAppServerSocket, timeoutMs: number): Prom }; const onError = (event: unknown): void => { cleanup(); - reject(event instanceof Error ? event : new Error("Ling App Server connection failed.")); + reject(event instanceof Error ? event : new Error(readCloseEvent(event).reason || "Ling App Server connection failed.")); }; const cleanup = (): void => { clearTimeout(timer); diff --git a/packages/api-client/src/index.ts b/packages/api-client/src/index.ts index 83cf46a9e..2c3fe744c 100644 --- a/packages/api-client/src/index.ts +++ b/packages/api-client/src/index.ts @@ -8,5 +8,7 @@ export { type LingAppServerServerRequest, type LingAppServerSocket, type LingAppServerSocketFactory, + type LingAppServerConnectionState, + type LingAppServerConnectionStatus, } from "./app-server.js"; export type { ExecutionBindingRequest } from "@ling-stack/contracts"; diff --git a/packages/api-client/test/app-server.test.ts b/packages/api-client/test/app-server.test.ts index 6f702c73c..036827e81 100644 --- a/packages/api-client/test/app-server.test.ts +++ b/packages/api-client/test/app-server.test.ts @@ -158,6 +158,30 @@ test("Ling App Server client reconnects and resumes subscriptions from the lates client.close(); }); +test("Ling App Server stops reconnecting with a revoked grant and exposes the authorization state", async () => { + const sockets: FakeSocket[] = []; + const client = new LingAppServerClient({ + url: "wss://fixture/app-server/rpc", + createSocket: () => { + const socket = new FakeSocket(); + sockets.push(socket); + return socket; + }, + clientInfo: { name: "fixture-client", version: "1" }, + reconnectDelayMs: 10, + }); + const states: string[] = []; + client.onConnectionState(({ state }) => states.push(state)); + await client.connect(); + sockets[0]?.emit("close", { code: 1008, reason: "authorization_changed" }); + await new Promise(resolve => setTimeout(resolve, 35)); + assert.deepEqual(states, ["connecting", "connected", "authorization_required"]); + assert.equal(sockets.length, 1); + await client.connect(); + assert.equal(sockets.length, 2); + client.close(); +}); + test("Ling App Server client routes the development, delivery, grant, worktree and coordination methods", async () => { const socket = new FakeSocket(); const client = new LingAppServerClient({ diff --git a/packages/cli/src/main.ts b/packages/cli/src/main.ts index 3fe32d09c..0bdd8166f 100644 --- a/packages/cli/src/main.ts +++ b/packages/cli/src/main.ts @@ -267,12 +267,31 @@ async function handleAppServer(args: readonly string[], options: GlobalOptions): return 0; } const transportOptions = { daemonUrl: options.daemonUrl, cwd: options.cwd, authToken: process.env.LING_STACK_AUTH_TOKEN }; + if (mode === "codex-host") { + const parsed = parseCommandArgs(args.slice(1), { stringFlags: new Set(["thread", "state", "codex", "codex-thread"]) }); + assertNoPositionals(parsed.positionals, "app-server codex-host --thread --state "); + const threadId = getFlag(parsed, "thread"), statePath = getFlag(parsed, "state"); + if (!threadId || !statePath) throw new CliError(2, "bad_usage", "Usage: ling-stack app-server codex-host --thread --state [--codex ] [--codex-thread ]"); + const { runLingCodexHost } = await import("@ling-stack/daemon/dist/server/app-server-codex-host.js"); + const controller = new AbortController(); + const stop = () => controller.abort(); + process.once("SIGINT", stop); + process.once("SIGTERM", stop); + try { + await runLingCodexHost({ ...transportOptions, threadId, statePath, codexExecutable: getFlag(parsed, "codex") ?? "codex", + codexThreadId: getFlag(parsed, "codex-thread") }, controller.signal); + } finally { + process.off("SIGINT", stop); + process.off("SIGTERM", stop); + } + return 0; + } if (mode === "instructions-init" || mode === "verify" || mode === "verify-status") { return handleAppServerDevelopment(mode, args.slice(1), transportOptions); } if (!["stdio", "probe", "mcp", "listen"].includes(mode) || rest.length || (mode === "listen" ? !socketPath : socketPath !== undefined)) { - throw new CliError(2, "bad_usage", "Use app-server with stdio, probe, mcp, listen, schema, instructions-init, verify, or verify-status."); + throw new CliError(2, "bad_usage", "Use app-server with stdio, probe, mcp, listen, schema, codex-host, instructions-init, verify, or verify-status."); } if (mode === "mcp") { const { runLingAppServerMcp } = await import("@ling-stack/daemon/dist/server/app-server-mcp.js"); @@ -7807,6 +7826,8 @@ function printCommandHelp(command: string, subcommand?: string): void { if (command === "app-server") { console.log("Usage: ling-stack [global options] app-server [stdio|probe|mcp|listen ]"); console.log(" ling-stack app-server schema [method]"); + console.log(" ling-stack app-server codex-host --thread --state [--codex ] [--codex-thread ]"); + console.log(" Host JSONL methods: ling/snapshot, ling/queue, ling/interrupt, codex/thread/start, codex/snapshot, codex/turn/start, codex/steer"); console.log(" ling-stack [global options] app-server instructions-init [--path ] [--apply ]"); console.log(" ling-stack [global options] app-server verify [--plan] [--check ] [--thread ] [--work-item ]"); console.log(" ling-stack [global options] app-server verify-status "); diff --git a/packages/contracts/src/app-server-schema.ts b/packages/contracts/src/app-server-schema.ts index 52e59bb51..faed520f4 100644 --- a/packages/contracts/src/app-server-schema.ts +++ b/packages/contracts/src/app-server-schema.ts @@ -271,7 +271,8 @@ function schemaFor(method: LingAppServerMethod): LingAppServerMethodSchema { return { params: objectWith({ ...threadTarget, turnId: stringSchema, sourceRunId: stringSchema, idempotencyKey: stringSchema }, ["threadId"]), result }; case "approval/respond": return { params: objectWith({ approvalId: stringSchema, decision: { enum: ["approve", "deny"] }, expectedRevision: stringSchema, - idempotencyKey: stringSchema, runId: stringSchema, threadId: stringSchema, turnId: stringSchema }, ["approvalId", "decision"]), result }; + runId: stringSchema, threadId: stringSchema, turnId: stringSchema, reason: stringSchema, decisionKind: { enum: ["approve_once"] } }, + ["approvalId", "decision"]), result: objectWith({ cwd: stringSchema, approval: objectSchema }, ["cwd", "approval"]) }; case "input/respond": return { params: objectWith({ schemaVersion: { enum: [1] }, authority: objectSchema, answers: arraySchema, idempotencyKey: stringSchema }, ["schemaVersion", "authority", "answers", "idempotencyKey"]), diff --git a/packages/contracts/src/app-server.ts b/packages/contracts/src/app-server.ts index faa90d590..9814b6b78 100644 --- a/packages/contracts/src/app-server.ts +++ b/packages/contracts/src/app-server.ts @@ -1,4 +1,5 @@ import type { CodeAssessmentFinding, CodeAssessmentReviewRules, CodeAssessmentSnapshot, CodeFindingCloseReason } from "./code-assessments.js"; +import type { ApprovalRequest } from "./approvals.js"; import type { RunArtifact } from "./artifacts.js"; import type { ApprovalSummary, ControlPlaneEventsResponse, ControlPlaneReplayWindow } from "./control-plane.js"; import type { ConversationContextProjectionMetadata } from "./conversation-continuity.js"; @@ -864,6 +865,28 @@ export interface LingAppServerServerRequest { readonly params: Params; } +export interface LingAppServerApprovalRespondParams { + readonly cwd?: string; + readonly approvalId: string; + readonly decision: "approve" | "deny"; + readonly expectedRevision?: string; + readonly threadId?: string; + readonly turnId?: string; + readonly runId?: string; + readonly reason?: string; + readonly decisionKind?: "approve_once"; +} + +export interface LingAppServerApprovalRespondResult { + readonly cwd: string; + readonly approval: ApprovalRequest; + readonly postCommit?: { readonly status: "deferred" }; +} + +export interface LingAppServerPendingApproval extends ApprovalSummary { + readonly revision?: string; +} + export interface LingAppServerInputRespondParams extends UserInputAnswerCommandV1 { readonly cwd?: string; } @@ -1530,7 +1553,7 @@ export interface LingAppServerThreadSnapshotResult { readonly turn: LingTurn | null; readonly goal: Pick | null; readonly run: Pick | null; - readonly pendingApprovals: readonly ApprovalSummary[]; + readonly pendingApprovals: readonly LingAppServerPendingApproval[]; readonly pendingInputs: readonly UserInputRequestTranscriptV1[]; } diff --git a/packages/daemon/src/server/app-server-codex-host.ts b/packages/daemon/src/server/app-server-codex-host.ts new file mode 100644 index 000000000..8da1aaadb --- /dev/null +++ b/packages/daemon/src/server/app-server-codex-host.ts @@ -0,0 +1,325 @@ +import { spawn } from "node:child_process"; +import { constants, closeSync, fstatSync, openSync, realpathSync } from "node:fs"; +import { createInterface } from "node:readline"; +import { DatabaseSync } from "node:sqlite"; +import type { Readable, Writable } from "node:stream"; +import { LING_PRODUCT_VERSION, type LingAppServerThreadSnapshotResult } from "@ling-stack/contracts"; +import lockfile from "proper-lockfile"; +import { z } from "zod"; +import { CodexDuplex, CodexRpcError } from "../runtime/adapters/codex/duplex.js"; +import { connectToAppServer, type AppServerLocalTransportOptions } from "./app-server-local-transport.js"; + +export interface LingCodexHostOptions extends AppServerLocalTransportOptions { + readonly threadId: string; + readonly codexThreadId?: string; + readonly codexExecutable: string; + readonly statePath: string; +} + +const id = z.string().min(1).max(256); +const text = z.string().min(1).max(16_384); +const turnRevision = { expectedTurnId: id, expectedTurnRevision: id }; +const controllerRequest = z.strictObject({ jsonrpc: z.literal("2.0").optional(), + id: z.union([id, z.number().int()]), method: id, params: z.unknown().optional() }); +const queueParams = z.strictObject({ ...turnRevision, message: text, idempotencyKey: id }); +const interruptParams = z.strictObject(turnRevision); +const steerParams = z.strictObject({ expectedTurnId: id, eventId: id }); + +/** A JSONL task view and explicit controller for one Ling and one Codex Thread. */ +export async function runLingCodexHost( + options: LingCodexHostOptions, signal: AbortSignal, input: Readable = process.stdin, output: Writable = process.stdout, +): Promise { + const url = new URL(options.daemonUrl); + if (url.username || url.password) throw new Error("Use the App Server bearer header for credentials."); + const cwd = realpathSync(options.cwd); + const ling = connectToAppServer(options, "ling-codex-host", true); + const state = openHostState(options.statePath, JSON.stringify([url.origin, cwd, options.threadId])); + const controller = new AbortController(); + const stop = () => controller.abort(); + signal.addEventListener("abort", stop, { once: true }); + if (signal.aborted) stop(); + const lines = createInterface({ input, crlfDelay: Infinity }); + controller.signal.addEventListener("abort", () => lines.close(), { once: true }); + if (controller.signal.aborted) lines.close(); + let codexThreadId = state.read("codex-thread"); + let pendingSnapshot: Promise | undefined; + let hostError: Error | undefined; + let cursorGeneration = 0; + const pendingEvents = new Set(); + + function fail(error: Error): void { + hostError ??= error; + stop(); + } + + function emit(frame: unknown, applied?: () => void): void { + if (controller.signal.aborted) return; + if (output.writableLength > 1024 * 1024) { + fail(new Error("The control host output is not being consumed.")); + return; + } + output.write(JSON.stringify(frame) + "\n", error => { + if (error) fail(error); + else if (!controller.signal.aborted && applied) { + try { applied(); } catch (error) { fail(asError(error)); } + } + }); + } + + const emitOutputError = (error: Error) => fail(error); + output.on("error", emitOutputError); + const offNotify = ling.onNotification(notification => { + const params = record(notification.params); + if (notification.method === "thread/resync/required") { + emit({ source: "ling", method: notification.method, params }); + if (params?.reason !== "authorization_changed") refreshSubscription(); + return; + } + const eventId = typeof params?.eventId === "string" ? params.eventId : undefined; + const cursor = typeof params?.cursor === "string" ? params.cursor : undefined; + const sequence = record(params?.event)?.seq ?? record(params?.window)?.nextAfterSeq; + const position = typeof sequence === "number" && Number.isSafeInteger(sequence) ? sequence : undefined; + const generation = cursorGeneration; + if (notification.method === "$/control_plane_event") { + // Typed notices precede the underlying event frame on the same connection. + if (cursor) output.write("", error => { + if (error) fail(error); + else if (!controller.signal.aborted) { + try { advanceCursor(cursor, generation, position); } catch (error) { fail(asError(error)); } + } + }); + return; + } + if (notification.method === "$/run_event") return; + if (eventId && (pendingEvents.has(eventId) || state.observed(eventId))) return; + if (eventId) pendingEvents.add(eventId); + emit({ source: "ling", method: notification.method, params: notification.params }, () => { + if (eventId) { + pendingEvents.delete(eventId); + if (generation === cursorGeneration) state.remember(eventId, notification.method); + } + if (cursor) advanceCursor(cursor, generation, position); + }); + }); + const offRequest = ling.onServerRequest(request => emit({ source: "ling", method: request.method, params: request.params })); + const offStatus = ling.onConnectionState(status => { + if (status.state === "connected") { + try { + if (state.setAuthorization(JSON.stringify([status.storeIncarnation, status.authorizationEpoch]))) { + cursorGeneration++; + pendingEvents.clear(); + } + } catch (error) { fail(asError(error)); } + } + emit({ source: "ling", method: "connection/status", params: status }); + }); + + function advanceCursor(cursor: string, generation: number, position?: number): void { + if (generation !== cursorGeneration) return; + state.advanceCursor(cursor, position ?? -1); + } + + async function freshSubscription(): Promise { + const snapshot = await ling.readThreadSnapshot({ threadId: options.threadId }); + const generation = ++cursorGeneration; + state.clearCursor(); + emit({ source: "ling", method: "thread/snapshot", params: publicSnapshot(snapshot) }, () => advanceCursor(snapshot.cursor, generation)); + const next = await ling.subscribe({ threadId: options.threadId, cursor: snapshot.cursor }); + if (next.disposition !== "complete") throw new Error("Ling could not subscribe from the current snapshot."); + } + + function refreshSubscription(): void { + pendingSnapshot ??= freshSubscription() + .catch(error => emit({ source: "ling", method: "thread/resync/failed", error: errorProjection(error) })) + .finally(() => { pendingSnapshot = undefined; }); + } + + const env = { ...process.env }; + delete env.LING_STACK_AUTH_TOKEN; + const codexProcess = spawn(options.codexExecutable, ["app-server", "--stdio"], { + cwd, env, stdio: ["pipe", "pipe", "ignore"], windowsHide: true, + }); + const reaped = new Promise(resolve => codexProcess.once("close", () => resolve())); + codexProcess.once("error", fail); + const codex = new CodexDuplex({ input: codexProcess.stdin, output: codexProcess.stdout, signal: controller.signal, + onNotification(notification) { + if (codexThreadId && record(notification.params)?.threadId === codexThreadId) { + emit({ source: "codex", method: notification.method, params: notification.params }); + } + }, + }); + void codex.closed.then(error => { + if (!controller.signal.aborted) emit({ source: "codex", method: "connection/status", params: { status: "closed", error: errorProjection(error) } }); + }); + + try { + if (options.codexThreadId && codexThreadId && codexThreadId !== options.codexThreadId) { + throw new Error("The host state belongs to another Codex Thread."); + } + const initialized = await codex.request("initialize", { clientInfo: { name: "ling-codex-host", version: LING_PRODUCT_VERSION }, + capabilities: { experimentalApi: true } }); + const userAgent = record(initialized)?.userAgent; + if (typeof userAgent !== "string") throw new Error("Codex did not negotiate its App Server protocol."); + await codex.notify("initialized"); + const selectedThread = options.codexThreadId ?? codexThreadId; + if (selectedThread) await bindCodexThread(await codex.request("thread/resume", { threadId: selectedThread, cwd, excludeTurns: true }), selectedThread); + const cursor = state.readCursor(); + const restored = cursor ? await ling.subscribe({ threadId: options.threadId, cursor }) : undefined; + if (!restored || restored.disposition !== "complete") await freshSubscription(); + emit({ source: "host", method: "ready", params: { threadId: options.threadId, codexThreadId, codexUserAgent: userAgent, + resumed: restored?.disposition === "complete" } }); + + for await (const line of lines) { + if (controller.signal.aborted) break; + if (!line.trim()) continue; + let request: z.infer | undefined; + try { + if (Buffer.byteLength(line) > 65_536) throw new Error("The control host command exceeds 64 KiB."); + request = controllerRequest.parse(JSON.parse(line)); + emit({ id: request.id, result: await dispatch(request.method, request.params) }); + } catch (error) { + emit({ id: request?.id ?? null, error: errorProjection(error) }); + } + } + if (hostError) throw hostError; + } finally { + stop(); + signal.removeEventListener("abort", stop); + offNotify(); + offRequest(); + offStatus(); + ling.close(); + codex.close(); + lines.close(); + codexProcess.stdin.end(); + const deadline = setTimeout(() => codexProcess.kill("SIGKILL"), 2_000); + try { await reaped; } finally { clearTimeout(deadline); } + await pendingSnapshot; + state.close(); + output.off("error", emitOutputError); + } + + async function bindCodexThread(response: unknown, expectedId?: string): Promise { + const thread = record(record(response)?.thread); + const resultId = id.parse(thread?.id); + if (expectedId && resultId !== expectedId || typeof thread?.cwd !== "string" || realpathSync(thread.cwd) !== cwd) { + throw new Error("The Codex Thread does not match the control host binding."); + } + state.write("codex-thread", resultId); + codexThreadId = resultId; + return { threadId: resultId }; + } + + async function dispatch(method: string, params: unknown): Promise { + switch (method) { + case "ling/snapshot": + return publicSnapshot(await ling.readThreadSnapshot({ threadId: options.threadId })); + case "ling/queue": + return ling.queueTurn({ threadId: options.threadId, ...queueParams.parse(params) }); + case "ling/interrupt": + return ling.interruptTurn({ threadId: options.threadId, ...interruptParams.parse(params) }); + case "codex/thread/start": + if (codexThreadId) return { threadId: codexThreadId }; + return bindCodexThread(await codex.request("thread/start", { cwd })); + case "codex/snapshot": + return codex.request("thread/read", { threadId: id.parse(codexThreadId), includeTurns: true }); + case "codex/turn/start": + return codex.request("turn/start", { threadId: id.parse(codexThreadId), input: [{ type: "text", text: text.parse(record(params)?.message), text_elements: [] }] }); + case "codex/steer": { + const threadId = id.parse(codexThreadId); + const { expectedTurnId, eventId } = steerParams.parse(params); + if (!state.observed(eventId)) throw new Error("Select a durable Ling event observed in this host."); + const key = JSON.stringify([threadId, expectedTurnId, eventId]); + const existing = state.delivery(key); + if (existing) return { ...existing, replayed: true }; + if (!state.reserveDelivery(key)) return { ...state.delivery(key), replayed: true }; + try { + const response = await codex.request("turn/steer", { threadId, expectedTurnId, + input: [{ type: "text", text: `Ling event reference: ${eventId}`, text_elements: [] }] }); + if (record(response)?.turnId === expectedTurnId) state.finishDelivery(key, "accepted"); + } catch (error) { + if (error instanceof CodexRpcError && error.code === "remote_error" && [-32601, -32602].includes(error.remoteCode ?? 0)) { + state.finishDelivery(key, "rejected", error.remoteCode); + } + } + return state.delivery(key); + } + default: + throw Object.assign(new Error("Unsupported control host method."), { code: "method_not_found" }); + } + } +} + +function openHostState(path: string, binding: string) { + const descriptor = openSync(path, constants.O_CREAT | constants.O_RDWR | constants.O_NOFOLLOW, 0o600); + try { + if (!fstatSync(descriptor).isFile()) throw new Error("Control host state must be a regular file."); + } finally { closeSync(descriptor); } + const unlock = lockfile.lockSync(path); + let database: DatabaseSync | undefined; + try { + const db = database = new DatabaseSync(path); + db.exec(`PRAGMA busy_timeout = 3000; + CREATE TABLE IF NOT EXISTS host_state (key TEXT PRIMARY KEY, value TEXT NOT NULL); + CREATE TABLE IF NOT EXISTS ling_replay (id INTEGER PRIMARY KEY, cursor TEXT NOT NULL, position INTEGER NOT NULL); + CREATE TABLE IF NOT EXISTS observed_events (id TEXT PRIMARY KEY, method TEXT NOT NULL); + CREATE TABLE IF NOT EXISTS deliveries (id TEXT PRIMARY KEY, status TEXT NOT NULL, remote_code INTEGER);`); + db.prepare("INSERT OR IGNORE INTO host_state(key,value) VALUES ('binding', ?)").run(binding); + const read = (key: string) => db.prepare("SELECT value FROM host_state WHERE key=?").get(key)?.value as string | undefined; + if (read("binding") !== binding) throw new Error("The control host state belongs to a different Ling workspace or Thread."); + return { + read, + write: (key: string, value: string) => db.prepare("INSERT OR REPLACE INTO host_state(key,value) VALUES (?, ?)").run(key, value), + advanceCursor(cursor: string, position: number) { + db.prepare(`INSERT INTO ling_replay(id,cursor,position) VALUES(1,?,?) + ON CONFLICT(id) DO UPDATE SET cursor=excluded.cursor, position=excluded.position WHERE excluded.position >= ling_replay.position`) + .run(cursor, position); + }, + readCursor: () => db.prepare("SELECT cursor FROM ling_replay WHERE id=1").get()?.cursor as string | undefined, + clearCursor: () => db.exec("DELETE FROM ling_replay"), + setAuthorization(authorization: string) { + db.exec("BEGIN IMMEDIATE"); + try { + const previous = read("authorization"); + const changed = previous !== undefined && previous !== authorization; + if (changed) db.exec("DELETE FROM observed_events; DELETE FROM ling_replay"); + db.prepare("INSERT OR REPLACE INTO host_state(key,value) VALUES ('authorization', ?)").run(authorization); + db.exec("COMMIT"); + return changed; + } catch (error) { + db.exec("ROLLBACK"); + throw error; + } + }, + observed: (eventId: string) => Boolean(db.prepare("SELECT 1 FROM observed_events WHERE id=?").get(eventId)), + remember: (eventId: string, method: string) => db.prepare("INSERT OR IGNORE INTO observed_events(id,method) VALUES (?, ?)").run(eventId, method), + delivery: (key: string) => { + const row = db.prepare("SELECT status, remote_code FROM deliveries WHERE id=?").get(key); + return row ? { status: row.status, ...(row.remote_code === null ? {} : { remoteCode: row.remote_code }) } : undefined; + }, + reserveDelivery: (key: string) => db.prepare("INSERT OR IGNORE INTO deliveries(id,status) VALUES (?, 'unknown')").run(key).changes === 1, + finishDelivery: (key: string, status: "accepted" | "rejected", remoteCode?: number) => + db.prepare("UPDATE deliveries SET status=?, remote_code=? WHERE id=? AND status='unknown'").run(status, remoteCode ?? null, key), + close: () => { try { db.close(); } finally { unlock(); } }, + }; + } catch (error) { + try { database?.close(); } finally { unlock(); } + throw error; + } +} + +function publicSnapshot(snapshot: LingAppServerThreadSnapshotResult) { + return { ...snapshot, pendingInputs: snapshot.pendingInputs.map(({ answerAuthority: _authority, ...input }) => input) }; +} + +function record(value: unknown): Record | undefined { + return value !== null && typeof value === "object" && !Array.isArray(value) ? value as Record : undefined; +} + +function asError(error: unknown): Error { + return error instanceof Error ? error : new Error(String(error)); +} + +function errorProjection(error: unknown) { + return { code: record(error)?.code ?? "invalid_request", message: asError(error).message }; +} diff --git a/packages/daemon/src/server/app-server-local-transport.ts b/packages/daemon/src/server/app-server-local-transport.ts index 52e00ea83..b87da0150 100644 --- a/packages/daemon/src/server/app-server-local-transport.ts +++ b/packages/daemon/src/server/app-server-local-transport.ts @@ -39,12 +39,12 @@ function createAppServerSocket(url: string, authToken: string | undefined): WebS }); } -export function connectToAppServer(options: AppServerLocalTransportOptions, clientName: string): LingAppServerClient { +export function connectToAppServer(options: AppServerLocalTransportOptions, clientName: string, autoReconnect = false): LingAppServerClient { return new LingAppServerClient({ url: appServerUrl(options), createSocket: url => createAppServerSocket(url, options.authToken) as unknown as LingAppServerSocket, clientInfo: { name: clientName, version: LING_PRODUCT_VERSION }, - autoReconnect: false, + autoReconnect, requestTimeoutMs: handshakeTimeout, }); } diff --git a/packages/daemon/src/server/rpc.ts b/packages/daemon/src/server/rpc.ts index 8cf1a1756..6693e5c27 100644 --- a/packages/daemon/src/server/rpc.ts +++ b/packages/daemon/src/server/rpc.ts @@ -1635,7 +1635,7 @@ class RpcConnection { const run = runId ? store.getRun(runId) : undefined; const goal = store.getLingThreadGoal(threadId); const pendingApprovals = run ? store.listApprovalRequests({ runId: run.id, status: "pending" }) - .filter(canPresentPendingApproval).map(toApprovalSummary) : []; + .filter(canPresentPendingApproval).map(approval => ({ ...toApprovalSummary(approval), revision: appServerApprovalRevision(approval) })) : []; const itemIds = turn ? store.listConversationItemsForTurn({ turnId: turn.id }) .filter(item => item.kind === "user_input_request").map(item => item.id) : []; const pendingInputs = itemIds.length ? store.readUserInputTranscript({ threadId, itemIds }).flatMap(item => { @@ -2173,7 +2173,12 @@ class RpcConnection { || record.turnId !== undefined && readStringField(record, "turnId") !== turn?.id) { throw rpcError(-32040, "workspace_binding_invalid", "The approval does not belong to the supplied Thread or Turn."); } + if (approval.status === "expired") throw rpcError(-32050, "request_expired", "The approval has expired."); if (approval.status !== "pending") throw rpcError(-32051, "request_already_resolved", "The approval is no longer pending."); + const expectedRevision = readOptionalStringField(record, "expectedRevision"); + if (expectedRevision !== undefined && expectedRevision !== appServerApprovalRevision(approval)) { + throw rpcError(-32030, "stale_revision", "The observed approval revision does not match the pending decision."); + } const now = new Date().toISOString(); const input = { reason: readOptionalStringField(record, "reason"), @@ -3227,13 +3232,17 @@ function appServerEventNotification(subscription: RpcSubscription, event: Contro function appServerServerRequestForEvent(event: ControlPlaneEvent, readStore: () => RunStore): unknown | undefined { if (event.action === "approval.created") { - const approval = readStore().getApprovalRequest(event.entityId); + const store = readStore(); + const approval = store.getApprovalRequest(event.entityId); if (!approval || !canPresentPendingApproval(approval)) return undefined; + const run = approval.runId ? store.getRun(approval.runId) : undefined; + const turn = run ? store.getLingTurnForRun(run.id) : undefined; return { jsonrpc: "2.0", id: `approval:${event.entityId}:${event.seq}`, method: "approval/requestDecision", - params: { approvalId: event.entityId, ...event.data }, + params: { ...event.data, approvalId: approval.id, pendingId: approval.id, revision: appServerApprovalRevision(approval), + ...(run ? { runId: run.id, threadId: run.threadId, turnId: turn?.id } : {}) }, }; } if (event.entityType !== "user_input_request" || event.action !== "pending") return undefined; @@ -3255,6 +3264,13 @@ function canPresentPendingApproval(approval: import("@ling-stack/core").Approval return approval.status === "pending" && (!approval.expiresAt || Date.parse(approval.expiresAt) > Date.now()); } +function appServerApprovalRevision(approval: import("@ling-stack/core").ApprovalRequest): string { + // A pending approval is immutable. Its owner resolves it with a pending-state CAS. + return createHash("sha256").update(JSON.stringify([ + approval.id, approval.createdAt, approval.expiresAt, approval.runId, approval.toolCallId, approval.actionType, + ])).digest("hex"); +} + function appServerEventMethod(event: ControlPlaneEvent): string | undefined { if (event.entityType === "verify_operation") return "verification/updated"; if (event.entityType === "handoff" && event.action === "handoff.created") return "handoff/created"; @@ -3311,6 +3327,13 @@ function subscriptionMatchesEvent(subscription: RpcSubscription, event: ControlP function threadEventMatches(event: ControlPlaneEvent, threadId: string, store: import("@ling-stack/core").RunStore): boolean { if (event.entityType === "thread") return event.entityId === threadId; if (typeof event.data.threadId === "string") return event.data.threadId === threadId; + if (event.entityType === "work_item") { + const query = { workspaceId: event.workspaceId, entityType: event.entityType, entityId: event.entityId, limit: 1 }; + const [workflow] = store.listControlPlaneEvents({ ...query, action: "work_item.workflow.linked" }); + if (workflow && workflow.seq <= event.seq) return workflow.data.threadId === threadId; + const [conversation] = store.listControlPlaneEvents({ ...query, action: "work_item.thread.linked" }); + return Boolean(conversation && conversation.seq <= event.seq && conversation.data.threadId === threadId); + } const runId = event.entityType === "run" ? event.entityId : event.data.ownerType === "run" ? event.data.ownerId : event.data.runId; return typeof runId === "string" && store.getRun(runId)?.threadId === threadId; diff --git a/packages/daemon/test/app-server-release-acceptance.test.ts b/packages/daemon/test/app-server-release-acceptance.test.ts index 59284b73d..d5fc5a584 100644 --- a/packages/daemon/test/app-server-release-acceptance.test.ts +++ b/packages/daemon/test/app-server-release-acceptance.test.ts @@ -1107,6 +1107,116 @@ test("App Server simplification runs against the captured diff and retains the s }); const codexExecutable = process.env.LING_APP_SERVER_CODEX_EXECUTABLE; + +test("Codex control host streams Ling, accepts explicit controls, and replays cursors and delivery receipts", { + timeout: 30_000, skip: process.platform === "win32", +}, async t => { + const fixture = await releaseFixture(t); + let release: () => void = () => undefined; + const firstRequest = new Promise(resolve => { release = resolve; }); + const provider = await startLoopbackPiProvider(async (_input: unknown, count: number) => { + if (count === 1) await firstRequest; + return { text: "Controlled delivery" }; + }); + t.after(async () => { release(); await provider.close(); }); + const statePath = join(fixture.root, "codex-host.sqlite"); + const codexFixture = join(fixture.root, "fixture-codex.cjs"); + const writes = join(fixture.root, "steer-written.txt"); + await writeFile(codexFixture, [ + "#!/usr/bin/env node", + "const { createInterface } = require('node:readline');", + "const { appendFileSync } = require('node:fs');", + "if (process.env.LING_STACK_AUTH_TOKEN) process.exit(2);", + "function send(frame) { process.stdout.write(JSON.stringify(frame) + '\\n'); }", + "createInterface({ input: process.stdin }).on('line', line => {", + " const { id, method, params } = JSON.parse(line);", + " if (!id) return;", + " let result;", + " if (method === 'initialize') result = { userAgent: 'fixture' };", + " else if (method === 'thread/resume' || method === 'thread/read') result = { thread: { id: params.threadId, cwd: process.cwd() } };", + " else if (method === 'turn/start') result = { turn: { id: 'codex-live-turn' } };", + " else if (method === 'turn/steer') {", + ` appendFileSync(${JSON.stringify(writes)}, JSON.stringify(params) + '\\n');`, + " result = { turnId: params.expectedTurnId };", + " } else throw new Error('unexpected method: ' + method);", + " send({ id, result });", + "});", + ].join("\n"), { mode: 0o700 }); + const operator = await fixture.connect(); + const { thread } = await operator.call("thread/start", { title: "Dual control host" }); + const { daemonUrl, authToken } = fixture.transportOptions(); + const cli = fileURLToPath(new URL("../../cli/dist/index.js", import.meta.url)); + const start = async () => { + const child = spawn(process.execPath, [cli, "--cwd", fixture.cwd, "--daemon-url", daemonUrl, + "app-server", "codex-host", "--thread", thread.id, "--state", statePath, "--codex", codexFixture, + "--codex-thread", "codex-host-thread"], { env: { ...process.env, LING_STACK_AUTH_TOKEN: authToken }, stdio: "pipe" }); + const output = jsonLines(child.stdin, child.stdout); + const finished = once(child, "close"); + let diagnostic = ""; + child.stderr.setEncoding("utf8").on("data", chunk => { diagnostic = (diagnostic + chunk).slice(-4000); }); + t.after(async () => { if (child.exitCode === null && child.signalCode === null) child.kill(); await finished; }); + await Promise.race([waitFor(() => output.notices.find(notice => notice.method === "ready")), + finished.then(() => { throw new Error(diagnostic.replaceAll(authToken, "[redacted]")); })]); + return { ...output, async stop() { + child.stdin.end(); + assert.equal((await finished)[0], 0, diagnostic.replaceAll(authToken, "[redacted]")); + } }; + }; + const first = await start(); + assert.equal((await first.call("codex/snapshot")).thread.id, "codex-host-thread"); + await first.call("codex/turn/start", { message: "Follow the paired Ling task." }); + const preset = addLoopbackPreset(fixture.getStore(), provider.baseUrl); + const turn = await operator.call<{ turn: { id: string } }>("turn/start", { + threadId: thread.id, providerPresetId: preset.id, idempotencyKey: "host-turn", message: "Run a paired task.", + }); + const started = await waitFor(() => first.notices.find(notice => notice.method === "turn/started" && notice.params?.eventId)); + const steer = { eventId: started.params!.eventId!, expectedTurnId: "codex-live-turn" }; + assert.deepEqual(await first.call("codex/steer", steer), { status: "accepted" }); + await waitFor(() => provider.requests.length === 1 ? true : undefined); + const snapshot = await first.call("ling/snapshot"); + assert.equal(snapshot.turn?.id, turn.turn.id); + const queued = await first.call<{ intervention: RunIntervention }>("ling/queue", { + expectedTurnId: turn.turn.id, expectedTurnRevision: snapshot.turn?.updatedAt, + message: "Finish the verified follow-up.", idempotencyKey: "host-followup", + }); + assert.equal(queued.intervention.status, "queued"); + await first.stop(); + release(); + await waitFor(() => provider.requests.length === 2 ? true : undefined); + const second = await start(); + const finished = await waitFor(() => second.notices.find(notice => notice.method === "turn/completed" && notice.params?.eventId)); + assert.ok(finished.params?.eventId); + assert.ok(!second.notices.some(notice => notice.params?.eventId === steer.eventId)); + assert.deepEqual(await second.call("codex/steer", steer), { status: "accepted", replayed: true }); + assert.equal((await readFile(writes, "utf8")).trim().split("\n").length, 1); + await second.stop(); +}); + +test("the reference control host negotiates installed Codex and streams an actual Ling Turn", { + skip: !codexExecutable, timeout: 30_000, +}, async t => { + const fixture = await releaseFixture(t); + const ling = await fixture.connect(); + const { thread } = await ling.call("thread/start", { title: "Native Codex observation" }); + const { daemonUrl, authToken } = fixture.transportOptions(); + const cli = fileURLToPath(new URL("../../cli/dist/index.js", import.meta.url)); + const running = spawn(process.execPath, [cli, "--cwd", fixture.cwd, "--daemon-url", daemonUrl, + "app-server", "codex-host", "--thread", thread.id, "--state", join(fixture.root, "native-host.sqlite"), + "--codex", codexExecutable!], { env: { ...process.env, LING_STACK_AUTH_TOKEN: authToken }, stdio: "pipe" }); + const peer = jsonLines(running.stdin, running.stdout); + const stopped = once(running, "close"); + let diagnostics = ""; + running.stderr.setEncoding("utf8").on("data", chunk => { diagnostics = (diagnostics + chunk).slice(-4000); }); + t.after(async () => { running.stdin.end(); await stopped; }); + const ready = await Promise.race([waitFor(() => peer.notices.find(notice => notice.method === "ready")), stopped.then(() => { + throw new Error(diagnostics.replaceAll(authToken, "[redacted]")); + })]); + assert.ok(ready.params?.codexUserAgent); + const { turn } = await ling.call<{ turn: { id: string } }>("turn/start", { threadId: thread.id, message: "Observe the committed Turn." }); + await waitFor(() => peer.notices.find(notice => notice.method === "turn/started" && notice.params?.event?.entityId === turn.id)); + assert.equal((await peer.call("ling/snapshot")).turn?.id, turn.id); +}); + test("installed Codex calls the CLI MCP bridge while a Ling subscription receives the same Turn", { skip: !codexExecutable, timeout: 45_000, }, async t => { @@ -1614,6 +1724,14 @@ test("a reserved Work Item dispatch recovers once through the conversation owner const [restored, peer] = await Promise.all([fixture.connect(), fixture.connect()]); await peer.call("workItem/subscribe", { workItemId: workItem.workItemId, cursor: before.cursor }); await waitFor(() => peer.notices.find(value => value.method === "workItem/thread/linked")); + await restored.call("thread/subscribe", { threadId: thread.id }); + const overlap = await waitFor(() => restored.notices.find(value => value.method === "workItem/control/updated" + && value.params?.event?.action === "work_item.control.pause")); + const workItemNotice = await waitFor(() => peer.notices.find(value => value.method === "workItem/control/updated" + && value.params?.event?.action === "work_item.control.pause")); + assert.ok(overlap.params?.eventId); + assert.equal(overlap.params.eventId, workItemNotice.params?.eventId); + assert.ok(!restored.notices.some(value => value.method === "workItem/created" && value.params?.event?.entityId === workItem.workItemId)); await restored.call("workItem/resume", { workItemId: workItem.workItemId, expectedWorkItemRevision: Number(pause.workItem.revision), expectedControlGeneration: 1, idempotencyKey: "resume-primary", actorId: "local-user", @@ -2431,10 +2549,14 @@ test("App Server grants restrict observers, controllers and approvers to their s entityType: "approval", entityId: allowedApproval.id, action: "approval.created", data: { runId: allowedApproval.runId, threadId: subject.id } }, now); await approver.call("thread/subscribe", { threadId: subject.id }); - await waitFor(() => approver.notices.find(notice => notice.method === "approval/requestDecision" && notice.params?.approvalId === allowedApproval.id)); + const pending = await waitFor(() => approver.notices.find(notice => notice.method === "approval/requestDecision" && notice.params?.approvalId === allowedApproval.id)); + assert.ok(pending.params?.revision); await assert.rejects(controller.call("approval/respond", { approvalId: allowedApproval.id, decision: "deny" }), { code: "capability_denied" }); await assert.rejects(approver.call("approval/respond", { approvalId: unrelatedApproval.id, decision: "deny" }), { code: "capability_denied" }); - await approver.call("approval/respond", { approvalId: allowedApproval.id, decision: "deny" }); + await assert.rejects(approver.call("approval/respond", { approvalId: allowedApproval.id, decision: "deny", expectedRevision: "stale" }), + { code: "stale_revision" }); + assert.equal(store.getApprovalRequest(allowedApproval.id)?.status, "pending"); + await approver.call("approval/respond", { approvalId: allowedApproval.id, decision: "deny", expectedRevision: pending.params.revision }); assert.equal(store.getApprovalRequest(allowedApproval.id)?.status, "denied"); assert.equal(store.getApprovalRequest(unrelatedApproval.id)?.status, "pending"); const reconnect = await fixture.connect("/app-server/rpc", fixture.cwd, approvals.bearer); @@ -2508,9 +2630,11 @@ test("the dedicated TLS App Server accepts scoped controllers and revokes access await assert.rejects(once(new WebSocket(legacy, { ca, headers: { Authorization: `Bearer ${credential}` } }), "open"), /404/u); let socket: WebSocket | undefined; + let socketCount = 0; const client = new LingAppServerClient({ - url: url.href, clientInfo: { name: "remote-contract-test", version: "1" }, autoReconnect: false, + url: url.href, clientInfo: { name: "remote-contract-test", version: "1" }, reconnectDelayMs: 10, createSocket: address => { + socketCount++; socket = new WebSocket(address, { ca, headers: { Authorization: `Bearer ${credential}` } }); return socket as unknown as LingAppServerSocket; }, @@ -2518,6 +2642,8 @@ test("the dedicated TLS App Server accepts scoped controllers and revokes access t.after(() => client.close()); const notifications: string[] = []; client.onNotification(notification => notifications.push(notification.method)); + const states: string[] = []; + client.onConnectionState(status => states.push(status.state)); const remote = await client.connect(); assert.deepEqual(remote.effectiveScopes, ["control", "observe"]); await client.subscribe({ threadId: thread.id }); @@ -2529,6 +2655,8 @@ test("the dedicated TLS App Server accepts scoped controllers and revokes access const closed = once(socket, "close"); await host.call("server/grants/revoke", { grantId: grant.grantId, expectedRevision: grant.revision }); await closed; + await waitFor(() => states.includes("authorization_required") ? true : undefined); + assert.equal(socketCount, 1); await assert.rejects(open(credential), /401/u); }); @@ -2995,7 +3123,7 @@ type JsonLine = { method?: string; result?: unknown; error?: { message: string }; - params?: { eventId?: string; requestId?: string; approvalId?: string; revision?: string; event?: { entityId: string; action: string }; + params?: { codexUserAgent?: string; eventId?: string; requestId?: string; approvalId?: string; revision?: string; event?: { entityId: string; action: string }; itemId?: string; runId?: string; streamEpoch?: string; offset?: number; text?: string; subject?: { threadId?: string; turnId?: string; workItemId?: string } }; }; From 2e8c3da22c104e86d54aac083527d8c8c6e0c2a7 Mon Sep 17 00:00:00 2001 From: tianxiaochannel-oss88 Date: Mon, 23 Nov 2026 00:58:28 +0800 Subject: [PATCH 031/147] fix(daemon): fence background dispatch during recovery --- .../daemon/src/features/external-work/actions.ts | 2 ++ packages/daemon/src/features/runs/orchestrator.ts | 8 ++++++++ packages/daemon/src/index.ts | 4 ++++ packages/daemon/src/runtime/store-registry.ts | 5 +++++ packages/daemon/src/server/app-server-recovery.ts | 12 ++++++++++-- 5 files changed, 29 insertions(+), 2 deletions(-) diff --git a/packages/daemon/src/features/external-work/actions.ts b/packages/daemon/src/features/external-work/actions.ts index cfd3d55ec..637cc2e6c 100644 --- a/packages/daemon/src/features/external-work/actions.ts +++ b/packages/daemon/src/features/external-work/actions.ts @@ -17,6 +17,7 @@ import { } from "@ling-stack/core"; import type { ResolvedDaemonConfig } from "../../config.js"; import { HttpError } from "../../errors.js"; +import { appServerRecoveryFor } from "../../server/app-server-recovery.js"; import type { RunStoreRegistry } from "../../runtime/store-registry.js"; import { readJsonBody, readOptionalIntegerQuery, readOptionalJsonBody } from "../../shared/request.js"; import { writeJson } from "../../shared/response.js"; @@ -228,6 +229,7 @@ export async function handleExternalWorkActionExecute( let supervised: ExternalWorkActionRuntimeHandle | undefined; let executionResult: ExternalWorkActionExecutionResult | undefined; try { + appServerRecoveryFor(config, store)?.assertReady(); const body = await readOptionalJsonBody(request, config.maxBodyBytes); const input = parseExternalWorkActionExecuteRequest(body); const action = store.getExternalWorkAction(actionId); diff --git a/packages/daemon/src/features/runs/orchestrator.ts b/packages/daemon/src/features/runs/orchestrator.ts index 6702067f5..ebc13adfc 100644 --- a/packages/daemon/src/features/runs/orchestrator.ts +++ b/packages/daemon/src/features/runs/orchestrator.ts @@ -92,6 +92,7 @@ import { captureWorkflowStartOwner, commitWorkflowStartReady, assertWorkflowRunA import { failUnlinkedPreparationThread } from "./preparation-thread-failure.js"; import type { McpBroker } from "../../context.js"; import { HttpError } from "../../errors.js"; +import { recoveryBlocked } from "../../server/app-server-recovery.js"; import { appendConversationResponseStyle } from "../../shared/conversation-response-style.js"; import { ActiveRunRegistry } from "../../runtime/active-runs.js"; import { runSuspensionOrderFor } from "../../runtime/run-suspension-order.js"; @@ -347,6 +348,11 @@ export function executeRunRequest( writeRunPreparationFailure(sink, 503, { error: "runtime_shutting_down", message: "Runtime is shutting down." }); return undefined; } + if (storeRegistry.recoveryBlocksDispatch(request.workspaceCwd ?? request.cwd)) { + const error = recoveryBlocked(); + writeRunPreparationFailure(sink, error.statusCode, { error: error.code, message: error.message }); + return undefined; + } const effectiveRequest = resolveChannelRunExecutionCwd(request, storeRegistry); if (!effectiveRequest.executionBinding && isExternalExecutionEngineId(effectiveRequest.runnerId)) { writeRunPreparationFailure(sink, 409, { error: "legacy_runner_migration_required", @@ -1110,6 +1116,7 @@ async function executeAdmittedRunRequest( } : undefined); const assertPreparationCurrent = (): void => { if (activeRuns.isShuttingDown()) throw new HttpError(503, "runtime_shutting_down", "Runtime is shutting down."); + if (!run && storeRegistry.recoveryBlocksDispatch(workspaceCwd)) throw recoveryBlocked(); options.automaticIntakeAdmission?.assertCurrent(); assertHostCapabilitiesCurrent(); assertWorkflowSafetyRequest(runStore, runRequest); @@ -1440,6 +1447,7 @@ async function executeAdmittedRunRequest( }); }; const persistRun = (context?: RunnerContinuationContextIdentity): RunSession => { + if (storeRegistry.recoveryBlocksDispatch(workspaceCwd)) throw recoveryBlocked(); options.automaticIntakeAdmission?.assertCurrent(); prepareManagedRuntime(); const persisted = persistenceStore.createRun({ diff --git a/packages/daemon/src/index.ts b/packages/daemon/src/index.ts index 1625b3740..367066415 100644 --- a/packages/daemon/src/index.ts +++ b/packages/daemon/src/index.ts @@ -168,6 +168,7 @@ import { EngineManagementFeature } from "./features/execution-engines/feature.js import { DefaultRemoteReplyDispatcher } from "./features/remote-access/default-reply-dispatcher.js"; import { HostCapabilityBridgeController } from "./features/runs/host-capability-bridge-controller.js"; import { executeRunRequest, type RunExecutionSink } from "./features/runs/orchestrator.js"; +import { appServerRecoveryFor } from "./server/app-server-recovery.js"; import { CompanionReplyService } from "./features/companions/reply-service.js"; import { CompanionSchedulerRegistry } from "./features/companions/scheduler.js"; import { WorktreeMaintenanceRegistry } from "./features/workspaces/worktree-retention.js"; @@ -599,6 +600,9 @@ export function createDaemonServer( }, }), { trustedWorkspaceRoots: [resolvedConfig.defaultWorkspaceCwd], + ...(resolvedConfig.appServerRecoveryDirectory ? { + recoveryBlocksDispatch: (store: RunStore) => appServerRecoveryFor(resolvedConfig, store)?.blocksDispatch() === true, + } : {}), recoverOnOpen: false, beforeRecovery: (cwd, store) => { if (harnessShuttingDown) throw new Error("runtime_shutting_down"); diff --git a/packages/daemon/src/runtime/store-registry.ts b/packages/daemon/src/runtime/store-registry.ts index 5ac4a6f70..4bf7ae54b 100644 --- a/packages/daemon/src/runtime/store-registry.ts +++ b/packages/daemon/src/runtime/store-registry.ts @@ -11,6 +11,7 @@ export interface RunStoreRegistryOptions { readonly onStoreInitialized?: (cwd: string, store: RunStore) => void | Promise; readonly trustedWorkspaceRoots?: readonly string[]; readonly recoverOnOpen?: boolean; + readonly recoveryBlocksDispatch?: (store: RunStore) => boolean; } export class RunStoreRegistry { @@ -69,6 +70,10 @@ export class RunStoreRegistry { return this.storesByCwd.get(normalizeWorkspaceRoot(cwd)); } + recoveryBlocksDispatch(cwd: string): boolean { + return this.options.recoveryBlocksDispatch?.(this.getStore(cwd)) === true; + } + rememberRun(runId: string, store: RunStore): void { this.storesByRunId.set(runId, store); } diff --git a/packages/daemon/src/server/app-server-recovery.ts b/packages/daemon/src/server/app-server-recovery.ts index 32717903e..753bcdff1 100644 --- a/packages/daemon/src/server/app-server-recovery.ts +++ b/packages/daemon/src/server/app-server-recovery.ts @@ -80,7 +80,11 @@ export class AppServerRecoveryJournal { } assertReady(): void { - this.access(db => assertReady(readEpoch(db))); + if (this.blocksDispatch()) throw recoveryBlocked(); + } + + blocksDispatch(): boolean { + return this.access(db => requiresReconciliation(readEpoch(db))); } grantIssuanceEpoch(): string | undefined { @@ -294,7 +298,11 @@ function requiresReconciliation(epoch: RecoveryEpoch): boolean { } function assertReady(epoch: RecoveryEpoch): void { - if (requiresReconciliation(epoch)) throw new HttpError(409, "resume_blocked", "App Server recovery reconciliation is required before new dispatch."); + if (requiresReconciliation(epoch)) throw recoveryBlocked(); +} + +export function recoveryBlocked(): HttpError { + return new HttpError(409, "resume_blocked", "App Server recovery reconciliation is required before new dispatch."); } function assertRevision(epoch: RecoveryEpoch, expected: number): void { From 79131ca46f418cbcc9b8670863dcf894c68050b8 Mon Sep 17 00:00:00 2001 From: tianxiaochannel-oss88 Date: Mon, 23 Nov 2026 01:07:45 +0800 Subject: [PATCH 032/147] fix(daemon): hold automation dispatch during recovery --- .../src/features/automations/event-worker.ts | 20 +++++++++++++++---- .../daemon/src/features/automations/run.ts | 2 ++ .../src/features/automations/scheduler.ts | 5 +++++ .../src/features/external-work/actions.ts | 2 +- 4 files changed, 24 insertions(+), 5 deletions(-) diff --git a/packages/daemon/src/features/automations/event-worker.ts b/packages/daemon/src/features/automations/event-worker.ts index 23b208ec3..2f233b78a 100644 --- a/packages/daemon/src/features/automations/event-worker.ts +++ b/packages/daemon/src/features/automations/event-worker.ts @@ -2,6 +2,8 @@ import { automationDefinitionDigestInput, automationEventDigest, automationEvent type AutomationEventDispatch, type RunStore } from "@ling-stack/core"; import type { ImDestinationRegistry } from "../im-destinations/registry.js"; import type { RunStoreRegistry } from "../../runtime/store-registry.js"; +import { HttpError } from "../../errors.js"; +import { recoveryBlocked } from "../../server/app-server-recovery.js"; import { runAutomation, type StartAutomationRunExecution } from "./run.js"; /** Durable inbox/outbox execution uses existing Run admission and destination egress. */ @@ -42,6 +44,7 @@ export class AutomationEventWorker { private assertDispatch(store: RunStore, job: AutomationEventDispatch, signal: AbortSignal): void { signal.throwIfAborted(); + if (this.stores.recoveryBlocksDispatch(store.paths.cwd)) throw recoveryBlocked(); const source = store.getAutomationEventSource(job.sourceId), definition = store.getAutomationDefinition(job.automationId); if (!source?.enabled || source.revision !== job.sourceRevision || !definition || definition.status !== "enabled" || automationEventDigest(automationDefinitionDigestInput(definition)) !== job.definitionDigest) throw new Error("automation_event_authority_changed"); @@ -49,6 +52,7 @@ export class AutomationEventWorker { private async tick(cwd: string, signal: AbortSignal): Promise { const store = this.stores.getStore(cwd); for (let count = 0; count < 8 && !signal.aborted; count++) { + if (this.stores.recoveryBlocksDispatch(cwd)) return; const job = store.claimAutomationEventDispatch(new Date().toISOString()); if (!job?.leaseToken) break; try { @@ -64,15 +68,18 @@ export class AutomationEventWorker { ? { status: "linked", automationRunId: result.automationRun.id } : { status: "queued", error: "automation_busy" }, new Date().toISOString()); } catch (error) { store.finishAutomationEventDispatch(job.id, job.leaseToken, - { status: signal.aborted ? "queued" : "failed", error: error instanceof Error && /^automation_[a-z_]+$/.test(error.message) ? error.message : "automation_event_dispatch_failed" }, new Date().toISOString()); + { status: signal.aborted || isRecoveryHold(error) ? "queued" : "failed", + error: isRecoveryHold(error) ? "app_server_recovery_held" : error instanceof Error && /^automation_[a-z_]+$/.test(error.message) + ? error.message : "automation_event_dispatch_failed" }, new Date().toISOString()); } } - if (signal.aborted) return; + if (signal.aborted || this.stores.recoveryBlocksDispatch(cwd)) return; await this.processIntake?.(store, signal); if (signal.aborted) return; store.reconcileAutomationDeliveries(new Date().toISOString()); await this.destinations.ensureLoaded(); for (let count = 0; count < 8 && !signal.aborted; count++) { + if (this.stores.recoveryBlocksDispatch(cwd)) return; const item = store.claimAutomationDelivery(new Date().toISOString()); if (!item?.leaseToken) break; let dispatched = false; @@ -98,10 +105,15 @@ export class AutomationEventWorker { store.settleAutomationDelivery(item.id, item.leaseToken, { status: result.ok ? "delivered" : retryable ? item.attempts >= 5 ? "failed" : "queued" : "unknown", receipt: result.ok ? `http:${result.status}` : dispatched ? `http:${result.status ?? "unknown"}` : "delivery_not_dispatched", availableAt: new Date(Date.now() + Math.min(60_000, 1000 * 2 ** item.attempts)).toISOString() }, new Date().toISOString()); - } catch { - store.settleAutomationDelivery(item.id, item.leaseToken, { status: dispatched ? "unknown" : item.attempts >= 5 ? "failed" : "queued", + } catch (error) { + store.settleAutomationDelivery(item.id, item.leaseToken, { status: dispatched ? "unknown" + : item.attempts >= 5 && !isRecoveryHold(error) ? "failed" : "queued", receipt: dispatched ? "delivery_outcome_unknown" : "delivery_not_dispatched", availableAt: new Date(Date.now() + 10_000).toISOString() }, new Date().toISOString()); } } } } + +function isRecoveryHold(error: unknown): boolean { + return error instanceof HttpError && error.code === "resume_blocked"; +} diff --git a/packages/daemon/src/features/automations/run.ts b/packages/daemon/src/features/automations/run.ts index 12b51ff89..dffff4b1d 100644 --- a/packages/daemon/src/features/automations/run.ts +++ b/packages/daemon/src/features/automations/run.ts @@ -13,6 +13,7 @@ import { } from "@ling-stack/core"; import { parseExecutionBindingRequest } from "@ling-stack/contracts"; import { HttpError } from "../../errors.js"; +import { recoveryBlocked } from "../../server/app-server-recovery.js"; import type { RunStoreRegistry } from "../../runtime/store-registry.js"; import { isPathInsideRoot } from "../../shared/path.js"; import type { NotificationHub } from "../notifications/hub.js"; @@ -53,6 +54,7 @@ export interface RunAutomationResult { } export async function runAutomation(input: RunAutomationInput): Promise { + if (input.storeRegistry.recoveryBlocksDispatch(input.cwd)) throw recoveryBlocked(); const store = input.storeRegistry.getStore(input.cwd); const automation = store.getAutomationDefinition(input.automationId); if (!automation) { diff --git a/packages/daemon/src/features/automations/scheduler.ts b/packages/daemon/src/features/automations/scheduler.ts index 465444aca..c67612cad 100644 --- a/packages/daemon/src/features/automations/scheduler.ts +++ b/packages/daemon/src/features/automations/scheduler.ts @@ -427,6 +427,10 @@ export class AutomationSchedulerRegistry { this.armAutomationTimer(entry, automation, scheduledFor, generation); return; } + if (this.storeRegistry.recoveryBlocksDispatch(entry.state.cwd)) { + this.armAutomationTimer(entry, automation, scheduledFor, generation, 2000); + return; + } if (automation.trigger.missedRunPolicy === "skip" && Date.now() - Date.parse(scheduledFor) > LATE_TIMER_GRACE_MS) { // The process woke materially after the due wall-clock. Advance from @@ -560,6 +564,7 @@ export class AutomationSchedulerRegistry { this.armMonitorTimer(entry, automation, scheduledFor, generation); return; } + if (this.storeRegistry.recoveryBlocksDispatch(entry.state.cwd)) return; const snapshotBody = readAutomationMonitorSnapshot({ store, automation, now: firedAt }); const fingerprint = automationMonitorFingerprint(automation.trigger.source, snapshotBody); const observation = { automationId: automation.id, fingerprint, snapshot: snapshotBody }; diff --git a/packages/daemon/src/features/external-work/actions.ts b/packages/daemon/src/features/external-work/actions.ts index 637cc2e6c..67bbbb31b 100644 --- a/packages/daemon/src/features/external-work/actions.ts +++ b/packages/daemon/src/features/external-work/actions.ts @@ -229,7 +229,6 @@ export async function handleExternalWorkActionExecute( let supervised: ExternalWorkActionRuntimeHandle | undefined; let executionResult: ExternalWorkActionExecutionResult | undefined; try { - appServerRecoveryFor(config, store)?.assertReady(); const body = await readOptionalJsonBody(request, config.maxBodyBytes); const input = parseExternalWorkActionExecuteRequest(body); const action = store.getExternalWorkAction(actionId); @@ -253,6 +252,7 @@ export async function handleExternalWorkActionExecute( return; } + appServerRecoveryFor(config, store)?.assertReady(); supervised = hooks.startRuntimeWorkUnit({ store, kind: "external_work_action", From 1755d2b2c31515c8569c0e5901468f2540cdb667 Mon Sep 17 00:00:00 2001 From: tianxiaochannel-oss88 Date: Mon, 23 Nov 2026 01:08:57 +0800 Subject: [PATCH 033/147] feat(work-items): bind stage briefs and resolve deliberation rounds --- packages/api-client/src/app-server.ts | 20 +++- packages/contracts/src/app-server.ts | 19 ++++ .../src/server/app-server-collaboration.ts | 107 ++++++++++++++++++ packages/daemon/src/server/rpc.ts | 58 +++++++++- .../app-server-release-acceptance.test.ts | 104 ++++++++++++++++- 5 files changed, 300 insertions(+), 8 deletions(-) diff --git a/packages/api-client/src/app-server.ts b/packages/api-client/src/app-server.ts index 8ea70405e..372caa9fc 100644 --- a/packages/api-client/src/app-server.ts +++ b/packages/api-client/src/app-server.ts @@ -98,6 +98,8 @@ import type { LingAppServerWorkItemCollaborationAppendResult, LingAppServerWorkItemCollaborationReadParams, LingAppServerWorkItemCollaborationReadResult, + LingAppServerDeliberationDecideParams, + LingAppServerDeliberationSettlementParams, LingAppServerWorktreeTarget, LingAppServerWorktreeCreateParams, LingAppServerWorktreeResult, @@ -570,13 +572,29 @@ export class LingAppServerClient { return await this.request("workItem/stage/read", { workItemId, stageOffset }); } + async readWorkItemStageBriefs(workItemId: string, stageOffset = 0): Promise { + await this.connect(); + return await this.request("workItem/stage/brief/read", { workItemId, stageOffset }); + } + async appendWorkItemCollaboration(params: LingAppServerWorkItemCollaborationAppendParams): Promise { await this.connect(); return await this.request("workItem/collaboration/append", params); } async readWorkItemDeliberation(params: Omit): Promise { - return await this.readWorkItemCollaboration({ ...params, kind: "deliberation" }); + await this.connect(); + return await this.request("workItem/deliberation/read", params); + } + + async decideWorkItemDeliberation(params: LingAppServerDeliberationDecideParams): Promise { + await this.connect(); + return await this.request("workItem/deliberation/decide", params); + } + + async cancelWorkItemDeliberation(params: LingAppServerDeliberationSettlementParams): Promise { + await this.connect(); + return await this.request("workItem/deliberation/cancel", params); } async readWorkItemCoordination(params: Omit): Promise { diff --git a/packages/contracts/src/app-server.ts b/packages/contracts/src/app-server.ts index 9814b6b78..f96cacf3c 100644 --- a/packages/contracts/src/app-server.ts +++ b/packages/contracts/src/app-server.ts @@ -691,6 +691,10 @@ export interface LingAppServerWorkItemWorkflowStages { readonly runId?: string; readonly outputArtifactId?: string; readonly brief?: string; + readonly briefBasis?: { + readonly transitionId: string; + readonly committedAt: string; + }; }[]; } @@ -858,6 +862,21 @@ export interface LingAppServerDeliberationTriggerDecisionV1 { readonly triggerKind: LingAppServerDeliberationTriggerKindV1; } +export interface LingAppServerDeliberationSettlementParams { + readonly cwd?: string; + readonly workItemId: string; + readonly roundId: string; + readonly expectedRoundRevision: number; + readonly expectedWorkItemRevision: number; + readonly idempotencyKey: string; + readonly reason: string; +} + +export interface LingAppServerDeliberationDecideParams extends LingAppServerDeliberationSettlementParams { + readonly decision: { readonly disposition: "selected"; readonly option: string } + | { readonly disposition: "deferred" | "replan_required" }; +} + export interface LingAppServerServerRequest { readonly jsonrpc: "2.0"; readonly id: LingAppServerJsonRpcId; diff --git a/packages/daemon/src/server/app-server-collaboration.ts b/packages/daemon/src/server/app-server-collaboration.ts index 47a8dbde9..498c01d1a 100644 --- a/packages/daemon/src/server/app-server-collaboration.ts +++ b/packages/daemon/src/server/app-server-collaboration.ts @@ -1,18 +1,25 @@ +import { createHash } from "node:crypto"; import type { LingAppServerCollaborationKind, + LingAppServerDeliberationDecideParams, + LingAppServerDeliberationSettlementParams, LingAppServerWorkItemCollaborationAppendParams, LingAppServerWorkItemCollaborationAppendResult, LingAppServerWorkItemCollaborationReadParams, LingAppServerWorkItemCollaborationReadResult, + LingAppServerWorkItemWorkflowStages, } from "@ling-stack/contracts"; import { appendWorkItemCollaboration, fromAppServerCollaborationParams, listWorkItemCollaboration, toAppServerCollaborationRecord, + WORK_ITEM_COLLABORATION_CONTENT_PREFIX, type WorkItemCollaborationRecord, } from "@ling-stack/core"; import type { ControlPlaneEvent, RunStore } from "@ling-stack/core"; +import { HttpError } from "../errors.js"; +import { isRecord } from "../shared/validation.js"; export class AppServerCollaborationError extends Error { constructor( @@ -69,3 +76,103 @@ export function readAppServerWorkItemCollaborationKind( const result = readAppServerWorkItemCollaboration(store, { workItemId, kind, afterRevision, limit }); return result.records; } + +export function bindAppServerStageBriefs( + store: RunStore, + workflow: LingAppServerWorkItemWorkflowStages, +): LingAppServerWorkItemWorkflowStages { + return { ...workflow, steps: workflow.steps.map(step => { + if (!["succeeded", "failed", "cancelled", "skipped", "blocked"].includes(step.status)) return step; + const [transition] = store.listStateTransitionEvents({ entityType: "workflow_step", entityId: step.stepId, limit: 1 }); + return transition?.toStatus === step.status ? { + ...step, + briefBasis: { transitionId: transition.id, committedAt: transition.createdAt }, + } : step; + }) }; +} + +export function settleAppServerDeliberation( + store: RunStore, + input: LingAppServerDeliberationSettlementParams, + decision: LingAppServerDeliberationDecideParams["decision"] | undefined, + now: string, + cwd: string, +): LingAppServerWorkItemCollaborationAppendResult & { readonly event?: ControlPlaneEvent } { + const item = store.getWorkItem(input.workItemId); + if (!item) throw new AppServerCollaborationError("work_item_not_found", "The Work Item is unavailable."); + const roundEntry = store.getWorkItemEvidence(input.roundId); + const round = roundEntry?.workItemId === item.id && roundEntry.subjectRevision === `work-item-collaboration:${roundEntry.idempotencyKey}` + ? listWorkItemCollaboration(store, { workItemId: item.id, kind: "deliberation", afterRevision: roundEntry.sequence - 1, limit: 1 }).records[0] + : undefined; + if (!round || round.action !== "started" || round.collaborationRevision !== input.expectedRoundRevision) { + throw new AppServerCollaborationError("stale_revision", "The deliberation round or its revision is unavailable."); + } + if (decision?.disposition === "selected" && (!isRecord(round.payload) || !Array.isArray(round.payload.options) + || !round.payload.options.includes(decision.option))) { + throw new AppServerCollaborationError("invalid_params", "Select an option recorded when the round opened."); + } + + const id = `work_item_deliberation_${createHash("sha256").update(round.id).digest("hex")}`; + const prior = store.getWorkItemEvidence(id); + if (prior && prior.idempotencyKey !== input.idempotencyKey) { + throw new AppServerCollaborationError("stale_revision", "The deliberation round already has a resolution."); + } + if (!prior && (item.revision !== input.expectedWorkItemRevision || hasPriorResolution(store, round))) { + throw new AppServerCollaborationError("stale_revision", "The Work Item revision changed or the deliberation round already has a resolution."); + } + if (!prior && decision && (item.control.state !== "active" || item.holds.some(hold => hold.blocksNewAdmission))) { + throw new HttpError(409, "resume_blocked", "The Work Item is held. A held round can be cancelled."); + } + const action = decision ? "decided" : "cancelled"; + const payload = decision ? { ...decision, reason: input.reason } : { reason: input.reason }; + const sourceRefs = [{ type: "deliberation_round", id: round.id, revision: String(round.collaborationRevision) }]; + const resolution = store.appendWorkItemEvidence({ + id, + workItemId: item.id, + expectedWorkItemRevision: input.expectedWorkItemRevision, + idempotencyKey: input.idempotencyKey, + actorId: "local-user", + subjectRevision: `work-item-collaboration:${input.idempotencyKey}`, + kind: "decision_ref", + content: `${WORK_ITEM_COLLABORATION_CONTENT_PREFIX}${JSON.stringify({ + schemaVersion: 1, kind: "deliberation", action, payload, parentRecordId: round.id, + })}`, + sourceRefs, + }, now, { + cwd, + project: (entry, workItemRevision) => ({ + action: `work_item.deliberation.${action}`, + data: { workItemId: item.id, roundId: round.id, collaborationId: entry.id, collaborationRevision: entry.sequence, workItemRevision }, + }), + }); + if (!resolution) throw new AppServerCollaborationError("stale_revision", "The Work Item revision changed before the deliberation resolution."); + const { entry, workItemRevision, event, status } = resolution; + return { status, workItemRevision, event, record: { + id: entry.id, + workspaceId: entry.workspaceId, + workItemId: item.id, + collaborationRevision: entry.sequence, + workItemRevision, + kind: "deliberation", + action, + actorId: entry.actorId, + payload, + parentRecordId: round.id, + sourceRefs, + idempotencyKey: entry.idempotencyKey, + createdAt: entry.createdAt, + updatedAt: entry.updatedAt, + } }; +} + +function hasPriorResolution(store: RunStore, round: WorkItemCollaborationRecord): boolean { + let afterRevision = round.collaborationRevision; + for (;;) { + const page = listWorkItemCollaboration(store, { workItemId: round.workItemId, kind: "deliberation", afterRevision, limit: 500 }); + if (page.records.some(record => record.parentRecordId === round.id && (record.action === "decided" || record.action === "cancelled"))) { + return true; + } + if (page.nextAfterRevision === afterRevision) return false; + afterRevision = page.nextAfterRevision; + } +} diff --git a/packages/daemon/src/server/rpc.ts b/packages/daemon/src/server/rpc.ts index 6693e5c27..917bed0b7 100644 --- a/packages/daemon/src/server/rpc.ts +++ b/packages/daemon/src/server/rpc.ts @@ -4,6 +4,7 @@ import { createHash, randomUUID } from "node:crypto"; import { realpathSync } from "node:fs"; import { DEFAULT_WORKSPACE_ID, + WORK_ITEM_COLLABORATION_CONTENT_PREFIX, UserInputStoreError, evaluateDeliberationTrigger, type ControlPlaneDomain, @@ -31,6 +32,7 @@ import { validateLingAppServerResult, type ControlPlaneSubscribeResult, type LingAppServerContextInspectResult, + type LingAppServerDeliberationDecideParams, type LingAppServerInputRespondResult, type LingAppServerGrant, type LingAppServerGitHubDeliveryResult, @@ -123,7 +125,9 @@ import { continuationSourceReady } from "../runtime/continuation-source-barrier. import { AppServerCollaborationError, appendAppServerWorkItemCollaboration, + bindAppServerStageBriefs, readAppServerWorkItemCollaboration, + settleAppServerDeliberation, } from "./app-server-collaboration.js"; type JsonRpcId = string | number | null; @@ -184,6 +188,7 @@ const operatorMethods = new Set([ "github/intake/policy/list", "github/intake/poll", "github/intake/read", "workItem/accept", "workItem/workflow/bind", + "workItem/deliberation/decide", "workItem/deliberation/cancel", "artifact/read", "model/list", "skill/read", "workItem/coordination/schedule/read", "workItem/coordination/schedule/set", "changes/read", "changes/apply/preview", "changes/apply", @@ -879,9 +884,9 @@ class RpcConnection { case "workItem/deliberation/start": return this.appendCollaboration("deliberation", "started", params); case "workItem/deliberation/decide": - return this.appendCollaboration("deliberation", "decided", params); + return this.settleWorkItemDeliberation("decided", params); case "workItem/deliberation/cancel": - return this.appendCollaboration("deliberation", "cancelled", params); + return this.settleWorkItemDeliberation("cancelled", params); case "workItem/deliberation/read": return this.readCollaboration("deliberation", params); case "workItem/stage/read": @@ -1228,6 +1233,9 @@ class RpcConnection { const subjectRevision = readStringField(record, "subjectRevision"); const kind = readStringField(record, "kind") as import("@ling-stack/core").WorkItemEvidenceKind; const content = readStringField(record, "content"); + if (content.startsWith(WORK_ITEM_COLLABORATION_CONTENT_PREFIX)) { + throw rpcError(-32602, "invalid_params", "Collaboration records use the collaboration methods."); + } const sourceRefs = Array.isArray(record.sourceRefs) ? record.sourceRefs : []; const result = store.appendWorkItemEvidence({ workItemId, @@ -1274,8 +1282,10 @@ class RpcConnection { if (!workItem) throw rpcError(-32040, "workspace_binding_invalid", "The Work Item is unavailable."); const collaboration = readAppServerWorkItemCollaboration(store, { workItemId, kind, afterRevision: readOptionalIntegerField(record, "afterRevision"), limit: readOptionalIntegerField(record, "limit") }); - return { cwd, ...collaboration, workflow: readWorkItemWorkflowStages(store, workItem, - this.grant?.subject.kind !== "workItem", offset) }; + const includeEvidence = this.grant?.subject.kind !== "workItem"; + const workflow = readWorkItemWorkflowStages(store, workItem, includeEvidence, offset); + return { cwd, ...collaboration, workflow: workflow && includeEvidence + ? bindAppServerStageBriefs(store, workflow) : workflow }; }); } @@ -1283,9 +1293,37 @@ class RpcConnection { const record = readParamsRecord(params); const kind = readStringField(record, "kind") as import("@ling-stack/contracts").LingAppServerCollaborationKind; const action = readStringField(record, "action") as import("@ling-stack/contracts").LingAppServerCollaborationAction; + if (kind === "deliberation" && (action === "decided" || action === "cancelled")) { + return this.settleWorkItemDeliberation(action, params); + } return this.appendCollaboration(kind, action, params); } + private settleWorkItemDeliberation(action: "decided" | "cancelled", params: unknown): unknown { + const { cwd, ...record } = this.workspaceParams(params, true); + const input = { + workItemId: readStringField(record, "workItemId"), + roundId: readStringField(record, "roundId"), + expectedRoundRevision: readIntegerField(record, "expectedRoundRevision", "expectedRoundRevision"), + expectedWorkItemRevision: readIntegerField(record, "expectedWorkItemRevision", "expectedWorkItemRevision"), + idempotencyKey: readStringField(record, "idempotencyKey"), + reason: readStringField(record, "reason").trim(), + }; + if (!input.expectedRoundRevision || !input.expectedWorkItemRevision || !input.idempotencyKey.trim() + || input.idempotencyKey.length > 200 || !input.reason || input.reason.length > 2000) { + throw rpcError(-32602, "invalid_params", "Supply positive revisions, a bounded request key and a reason."); + } + const decision = action === "decided" ? readDeliberationDecision(record.decision) : undefined; + try { + const store = this.context.storeRegistry.getStore(cwd); + const { event, ...result } = settleAppServerDeliberation(store, input, decision, new Date().toISOString(), cwd); + if (event) this.context.controlPlaneEvents.publish(trimOversizedEvent(event)); + return { cwd, ...result }; + } catch (error) { + throw collaborationRpcError(error); + } + } + private appendCollaboration( kind: import("@ling-stack/contracts").LingAppServerCollaborationKind, action: import("@ling-stack/contracts").LingAppServerCollaborationAction, @@ -3185,6 +3223,17 @@ function collaborationRpcError(error: unknown): unknown { return error; } +function readDeliberationDecision(value: unknown): LingAppServerDeliberationDecideParams["decision"] { + const record = readParamsRecord(value); + if ((record.disposition === "deferred" || record.disposition === "replan_required") && record.option === undefined) { + return { disposition: record.disposition }; + } + if (record.disposition === "selected" && typeof record.option === "string" && record.option.trim() && record.option.length <= 200) { + return { disposition: "selected", option: record.option }; + } + throw rpcError(-32602, "invalid_params", "Supply a selected option or a deferred or replan-required disposition."); +} + function collaborationNotificationMethod(kind: import("@ling-stack/contracts").LingAppServerCollaborationKind): string { switch (kind) { case "deliberation": return "workItem/deliberation/updated"; @@ -3296,6 +3345,7 @@ function appServerEventMethod(event: ControlPlaneEvent): string | undefined { } if (event.entityType === "work_item") { if (event.action === "work_item.stage.updated") return "workItem/stage/updated"; + if (event.action.startsWith("work_item.deliberation.")) return "workItem/deliberation/updated"; if (event.action === "work_item.created") return "workItem/created"; if (event.action === "work_item.thread.linked") return "workItem/thread/linked"; if (event.action.includes("evidence")) return "workItem/evidence/updated"; diff --git a/packages/daemon/test/app-server-release-acceptance.test.ts b/packages/daemon/test/app-server-release-acceptance.test.ts index d5fc5a584..d11ce212a 100644 --- a/packages/daemon/test/app-server-release-acceptance.test.ts +++ b/packages/daemon/test/app-server-release-acceptance.test.ts @@ -1,6 +1,6 @@ import assert from "node:assert/strict"; import { execFile, execFileSync, spawn } from "node:child_process"; -import { createHash, createHmac, randomUUID } from "node:crypto"; +import { createHash, createHmac, randomBytes, randomUUID } from "node:crypto"; import { once } from "node:events"; import { chmod, copyFile, link, lstat, mkdir, mkdtemp, readFile, realpath, rm, symlink, unlink, writeFile } from "node:fs/promises"; import { createConnection, createServer } from "node:net"; @@ -29,6 +29,8 @@ import type { LingAppServerGitHubDeliveryResult, LingAppServerRecoveryResult, LingAppServerCoordinationSchedule, + LingAppServerDeliberationDecideParams, + LingAppServerWorkItemCollaborationAppendResult, LingAppServerWorkItemCollaborationReadResult, LingAppServerGrant, LingAppServerGrantScope, @@ -2123,6 +2125,80 @@ test("Work Item creation, acceptance, evidence and collaboration retries keep on assert.equal((await sdk.readWorkItem(workItem.workspaceId, workItemId)).revision, resumed.revision); }); +test("an operator resolves a deliberation round once against its current revision", { timeout: 20_000 }, async t => { + const fixture = await releaseFixture(t); + const [operator, peer] = await Promise.all([fixture.connect(), fixture.connect()]); + const { workItem } = await operator.call("workItem/create", { + sourceId: "review-choices", title: "Review compatibility options", + }); + const workItemId = workItem.workItemId; + const start = (expectedWorkItemRevision: number, idempotencyKey: string, connection = operator) => connection.call( + "workItem/deliberation/start", { workItemId, expectedWorkItemRevision, actorId: "coordinator", idempotencyKey, + payload: { decisionPoint: "Choose a compatibility approach", options: ["adapter", "migration"] } }); + const round = await start(Number(workItem.revision), "review-start"); + const before = await operator.call("workItem/read", { workItemId }); + await peer.call("workItem/subscribe", { workItemId, cursor: before.cursor }); + const decision: LingAppServerDeliberationDecideParams = { + workItemId, roundId: round.record.id, expectedRoundRevision: round.record.collaborationRevision, + expectedWorkItemRevision: round.workItemRevision, idempotencyKey: "choose-adapter", reason: "Preserve the public interface", + decision: { disposition: "selected", option: "adapter" }, + }; + const decide = (input: LingAppServerDeliberationDecideParams, connection = operator) => + connection.call("workItem/deliberation/decide", input); + await assert.rejects(decide({ ...decision, expectedRoundRevision: round.record.collaborationRevision + 1 }), { code: "stale_revision" }); + await assert.rejects(decide({ ...decision, decision: { disposition: "selected", option: "unproposed" } }), { code: "invalid_params" }); + + const paused = await operator.call("workItem/pause", { + workItemId, actorId: "local-user", expectedWorkItemRevision: Number(before.workItem.revision), + expectedControlGeneration: 0, idempotencyKey: "review-pause", + }); + await assert.rejects(decide({ ...decision, expectedWorkItemRevision: Number(paused.workItem.revision) }), { code: "resume_blocked" }); + const resumed = await operator.call("workItem/resume", { + workItemId, actorId: "local-user", expectedWorkItemRevision: Number(paused.workItem.revision), + expectedControlGeneration: 1, idempotencyKey: "review-resume", + }); + const first = { ...decision, expectedWorkItemRevision: Number(resumed.workItem.revision) }; + const second: LingAppServerDeliberationDecideParams = { ...first, idempotencyKey: "choose-migration", reason: "Remove the obsolete shape", + decision: { disposition: "selected", option: "migration" } }; + await assert.rejects(decide(decision), { code: "stale_revision" }); + + const requests = [first, second] as const; + const answers = await Promise.allSettled([decide(first), decide(second, peer)]); + const winningIndex = answers.findIndex(result => result.status === "fulfilled"); + const winner = answers[winningIndex]; + const loser = answers[1 - winningIndex]; + assert.ok(winner?.status === "fulfilled"); + assert.ok(loser?.status === "rejected"); + assert.equal((loser.reason as { code: string }).code, "stale_revision"); + assert.equal(winner.value.record.action, "decided"); + assert.equal(winner.value.record.parentRecordId, round.record.id); + const update = await waitFor(() => peer.notices.find(notice => notice.method === "workItem/deliberation/updated" + && notice.params?.event?.action === "work_item.deliberation.decided")); + assert.ok(update.params?.eventId); + + await fixture.restart(); + const restored = await fixture.connect(); + await restored.call("workItem/subscribe", { workItemId, cursor: before.cursor }); + await waitFor(() => restored.notices.find(notice => notice.params?.eventId === update.params?.eventId)); + const read = await restored.call("workItem/deliberation/read", { workItemId }); + assert.deepEqual(read.records.map(record => record.id), [round.record.id, winner.value.record.id]); + const winningInput = requests[winningIndex]!; + const replay = await decide(winningInput, restored); + assert.equal(replay.status, "replayed"); + assert.equal(replay.record.id, winner.value.record.id); + await assert.rejects(decide({ ...winningInput, reason: "Different reasoning" }, restored), { code: "idempotency_conflict" }); + const { decision: _, ...cancel } = winningInput; + await assert.rejects(restored.call("workItem/deliberation/cancel", { ...cancel, idempotencyKey: "cannot-cancel-closed" }), { code: "stale_revision" }); + const nextRound = await start(replay.workItemRevision, "second-round", restored); + const cancelled = await restored.call("workItem/deliberation/cancel", { + ...cancel, roundId: nextRound.record.id, expectedRoundRevision: nextRound.record.collaborationRevision, + expectedWorkItemRevision: nextRound.workItemRevision, idempotencyKey: "cancel-second-round", reason: "Wait for a new compatibility requirement", + }); + assert.equal(cancelled.record.action, "cancelled"); + assert.equal(cancelled.record.parentRecordId, nextRound.record.id); + assert.equal(fixture.getStore().listRuns().length, 0); +}); + test("an accepted Work Item resumes the original Workflow once after a paused stage and daemon restart", { timeout: 30_000 }, async t => { let completeContract: () => void = () => undefined; const contractGate = new Promise(resolve => { completeContract = resolve; }); @@ -2177,6 +2253,7 @@ test("an accepted Work Item resumes the original Workflow once after a paused st const stages = await client.call("workItem/stage/read", { workItemId: item.id }); assert.equal(stages.workflow?.workflowId, converted.workflowId); assert.deepEqual(stages.workflow?.steps.map(step => step.status), ["queued", "queued"]); + assert.ok(stages.workflow?.steps.every(step => step.briefBasis === undefined)); const request = async (path: string, body?: object) => { const { daemonUrl, authToken } = fixture.transportOptions(); return fetch(`${daemonUrl}${path}?cwd=${encodeURIComponent(fixture.cwd)}`, { @@ -2210,10 +2287,29 @@ test("an accepted Work Item resumes the original Workflow once after a paused st completeContract(); await waitFor(() => store.getChannelWorkflowStep(p01.id)?.status === "succeeded" ? true : undefined); const stageEvent = await waitFor(() => peer.notices.find(event => event.method === "workItem/stage/updated" - && event.params?.event?.action === "work_item.stage.updated")); + && event.params?.event?.data?.stepId === p01.id && event.params?.event?.data?.status === "succeeded")); assert.ok(stageEvent.params?.eventId); await waitFor(() => client.notices.find(event => event.method === "workItem/stage/updated" && event.params?.eventId === stageEvent.params?.eventId)); + const readBrief = (connection: typeof client) => connection.call( + "workItem/stage/brief/read", { workItemId: item.id }); + const brief = (await readBrief(client)).workflow?.steps.find(step => step.stepId === p01.id); + assert.ok(brief?.briefBasis); + const [transition] = store.listStateTransitionEvents({ entityType: "workflow_step", entityId: p01.id, limit: 1 }); + assert.deepEqual(brief.briefBasis, { transitionId: transition?.id, committedAt: transition?.createdAt }); + assert.equal(transition?.toStatus, "succeeded"); + assert.equal(brief.runId, store.getChannelWorkflowStep(p01.id)?.runId); + const observerSecret = randomBytes(32).toString("hex"); + const { grant } = await client.call<{ grant: LingAppServerGrant }>("server/grants/create", { + label: "Observe staged work", subject: { kind: "workItem", id: item.id }, scopes: ["observe"], + expiresAt: new Date(Date.now() + 60_000).toISOString(), + credentialSha256: createHash("sha256").update(observerSecret).digest("hex"), idempotencyKey: "observe-staged-work", + }); + const observer = await fixture.connect("/app-server/rpc", fixture.cwd, `las1.${grant.grantId}.${observerSecret}`); + const observedBrief = (await readBrief(observer)).workflow?.steps.find(step => step.stepId === p01.id); + assert.equal(observedBrief?.status, "succeeded"); + assert.equal(observedBrief.briefBasis, undefined); + assert.equal(observedBrief.runId, undefined); assert.equal(provider.requests.length, 1); await fixture.restart(); const resumedClient = await fixture.connect(); @@ -2224,6 +2320,7 @@ test("an accepted Work Item resumes the original Workflow once after a paused st const held = await resumedClient.call("workItem/stage/read", { workItemId: item.id }); assert.equal(held.workflow?.admissionBlocker, "work_item_workflow_held"); assert.deepEqual(held.workflow?.steps.map(step => step.status), ["succeeded", "queued"]); + assert.deepEqual((await readBrief(resumedClient)).workflow?.steps.find(step => step.stepId === p01.id), brief); assert.equal(provider.requests.length, 1); await resumedClient.call("workItem/resume", { workItemId: item.id, actorId: "local-user", expectedWorkItemRevision: Number(paused.workItem.revision), @@ -3123,7 +3220,8 @@ type JsonLine = { method?: string; result?: unknown; error?: { message: string }; - params?: { codexUserAgent?: string; eventId?: string; requestId?: string; approvalId?: string; revision?: string; event?: { entityId: string; action: string }; + params?: { codexUserAgent?: string; eventId?: string; requestId?: string; approvalId?: string; revision?: string; + event?: { entityId: string; action: string; data?: Readonly> }; itemId?: string; runId?: string; streamEpoch?: string; offset?: number; text?: string; subject?: { threadId?: string; turnId?: string; workItemId?: string } }; }; From dc66535c640ea240a89384ed0b5f864374836553 Mon Sep 17 00:00:00 2001 From: tianxiaochannel-oss88 Date: Mon, 23 Nov 2026 01:32:20 +0800 Subject: [PATCH 034/147] fix(delivery): preserve queue receipts across rollback and lost responses --- .../src/server/app-server-github-enqueue.ts | 52 +++++++++++++++--- .../daemon/src/server/app-server-recovery.ts | 13 ++++- packages/daemon/src/server/rpc.ts | 12 +++-- .../app-server-release-acceptance.test.ts | 54 ++++++++++++++++--- 4 files changed, 112 insertions(+), 19 deletions(-) diff --git a/packages/daemon/src/server/app-server-github-enqueue.ts b/packages/daemon/src/server/app-server-github-enqueue.ts index 96bbdd66c..6a8581aef 100644 --- a/packages/daemon/src/server/app-server-github-enqueue.ts +++ b/packages/daemon/src/server/app-server-github-enqueue.ts @@ -10,12 +10,14 @@ import { HttpError } from "../errors.js"; import { isRecord } from "../shared/validation.js"; import { reconcileGitHubDelivery, readGitHubDelivery } from "./app-server-github-delivery.js"; import { commitSha, digest, gitHubReadClient, type GitHubReadClient } from "./app-server-github-subject.js"; +import { appServerRecoveryFor } from "./app-server-recovery.js"; type GitHubQueueContext = Pick; interface QueueIntent { readonly fingerprint: string; readonly baseRef: string; + readonly acceptanceId: string; readonly receipt: LingAppServerGitHubQueueReceipt; } @@ -43,6 +45,8 @@ export async function enqueueGitHubDelivery( context: GitHubQueueContext, store: RunStore, input: LingAppServerGitHubEnqueueParams, ): Promise { const cwd = store.paths.cwd; + const recovery = appServerRecoveryFor(context.config, store); + if (!recovery) throw new HttpError(409, "github_queue_recovery_required", "Queue admission requires the Host recovery journal."); if (input.confirmed !== true || !input.idempotencyKey.trim() || input.idempotencyKey.length > 128 || /[\r\n\0]/u.test(input.idempotencyKey)) { throw new HttpError(400, "invalid_params", "Confirm queue admission with a request key."); } @@ -87,38 +91,70 @@ export async function enqueueGitHubDelivery( if (readGitHubDelivery(store, input.workItemId)?.deliveryId !== input.deliveryId) { throw new HttpError(409, "stale_revision", "The delivery changed before queue admission."); } - const intent = { fingerprint, baseRef, receipt }; - const requestedAt = new Date().toISOString(); + const intent = { fingerprint, baseRef, acceptanceId: delivery.acceptanceId, receipt }; const retained = store.putAppServerState({ kind: "github_queue_intent", recordId: queueReceiptId, idempotencyKey: input.idempotencyKey, expectedRevision: 0, replayByIdempotencyKey: true, payload: intent, - }, requestedAt); + }, receipt.createdAt); if (!retained || (retained.record.payload as QueueIntent).fingerprint !== fingerprint) { throw new HttpError(409, "idempotency_conflict", "A queue request already owns this pull request head."); } if (retained.status !== "created") return readGitHubQueue(context, store, input.workItemId, queueReceiptId); + if (!recovery.reserveGitHubQueueEnqueue({ + id: queueReceiptId, workItemId: receipt.workItemId, repository: receipt.repository, repositoryId: receipt.repositoryId, baseRef, + pullRequestNumber: receipt.pullRequestNumber, headSha, createdAt: receipt.createdAt, deliveryId: receipt.deliveryId, + acceptanceId: delivery.acceptanceId, fingerprint, idempotencyKey: input.idempotencyKey, + })) return readGitHubQueue(context, store, input.workItemId, queueReceiptId); const observation = await client.query(enqueueMutation, { id: subject.id, head: headSha, key: queueReceiptId }).catch(() => undefined); const accepted = observation?.enqueuePullRequest; const entryId = isRecord(accepted) && accepted.clientMutationId === queueReceiptId ? readQueueEntryId(accepted.mergeQueueEntry, receipt, baseRef) : undefined; - return commitQueueStatus(store, intent, retained.record.revision, entryId + const committed = commitQueueStatus(store, intent, retained.record.revision, entryId ? { ...receipt, status: "enqueued", queueEntryId: entryId } : { ...receipt, status: "unknown" }); + if (committed.receipt.status === "enqueued") recovery.confirmGitHubQueueEnqueue(queueReceiptId); + return committed; } export async function readGitHubQueue( context: GitHubQueueContext, store: RunStore, workItemId: string, queueReceiptId: string, ): Promise { - const saved = store.getAppServerState("github_queue_intent", queueReceiptId); + const recovery = appServerRecoveryFor(context.config, store); + const fact = recovery?.getGitHubQueueEnqueue(queueReceiptId); + const saved = store.getAppServerState("github_queue_intent", queueReceiptId) ?? (() => { + const accepted = store.getAppServerState("work_item_acceptance", workItemId)?.payload; + if (fact?.workItemId !== workItemId || !store.getWorkItem(workItemId) || !isRecord(accepted) || accepted.id !== fact.acceptanceId) return undefined; + const { repository, repositoryId, deliveryId, pullRequestNumber, headSha, createdAt } = fact; + return store.putAppServerState({ + kind: "github_queue_intent", recordId: queueReceiptId, idempotencyKey: fact.idempotencyKey, expectedRevision: 0, + payload: { fingerprint: fact.fingerprint, baseRef: fact.baseRef, acceptanceId: fact.acceptanceId, receipt: { + queueReceiptId, workItemId, deliveryId, repository, repositoryId, pullRequestNumber, headSha, createdAt, status: "pending", + } } satisfies QueueIntent, + }, new Date().toISOString())?.record; + })(); const intent = saved?.payload as QueueIntent | undefined; if (!saved || !intent || intent.receipt.workItemId !== workItemId) { throw new HttpError(404, "github_queue_intent_not_found", "The GitHub queue receipt is unavailable for this Work Item."); } const receipt = intent.receipt; - if (receipt.status === "merged") return { cwd: store.paths.cwd, receipt }; - const observed = await observeQueueReceipt(context, store, receipt, intent.baseRef); - return commitQueueStatus(store, intent, saved.revision, observed); + const observed = receipt.status === "merged" ? receipt : await observeQueueReceipt(context, store, receipt, intent.baseRef); + const committed = commitQueueStatus(store, intent, saved.revision, observed); + if (fact && (committed.receipt.status === "enqueued" || committed.receipt.status === "merged")) { + recovery?.confirmGitHubQueueEnqueue(queueReceiptId); + } + return committed; +} + +export function gitHubQueueReceiptConfirmed(store: RunStore, fact: { + readonly id: string; readonly workItemId: string; readonly repositoryId: string; + readonly pullRequestNumber: number; readonly headSha: string; readonly acceptanceId: string; +}): boolean { + const intent = store.getAppServerState("github_queue_intent", fact.id)?.payload as QueueIntent | undefined; + const receipt = intent?.receipt; + return intent?.acceptanceId === fact.acceptanceId && receipt?.workItemId === fact.workItemId + && receipt.repositoryId === fact.repositoryId && receipt.pullRequestNumber === fact.pullRequestNumber + && receipt.headSha === fact.headSha && (receipt.status === "enqueued" || receipt.status === "merged"); } async function observeQueueReceipt( diff --git a/packages/daemon/src/server/app-server-recovery.ts b/packages/daemon/src/server/app-server-recovery.ts index 753bcdff1..8a8e50423 100644 --- a/packages/daemon/src/server/app-server-recovery.ts +++ b/packages/daemon/src/server/app-server-recovery.ts @@ -15,7 +15,10 @@ type RecoveryConfig = Pick; type JournalFact = | { readonly kind: "grant_revocation"; readonly id: string } | { readonly kind: "external_agent_dispatch"; readonly id: string; readonly workItemId: string; readonly taskId: string; readonly submissionId: string } - | { readonly kind: "github_queue_enqueue"; readonly id: string; readonly workItemId: string; readonly repositoryId: string; readonly pullRequestNumber: number; readonly headSha: string } + | { readonly kind: "github_queue_enqueue"; readonly id: string; readonly workItemId: string; readonly repositoryId: string; + readonly pullRequestNumber: number; readonly headSha: string; readonly repository: string; readonly baseRef: string; + readonly deliveryId: string; readonly acceptanceId: string; readonly fingerprint: string; readonly idempotencyKey: string; + readonly createdAt: string } | { readonly kind: "github_delivery"; readonly id: string; readonly workItemId: string; readonly mergedCommit: string; readonly repositoryId: string; readonly number: number; readonly headSha?: string; readonly acceptanceId: string }; @@ -186,6 +189,14 @@ export class AppServerRecoveryJournal { }); } + getGitHubQueueEnqueue(id: string): QueueFact | undefined { + return this.access(db => { + const row = db.prepare("SELECT id, kind, fact_json FROM recovery_journal WHERE kind='github_queue_enqueue' AND id=?").get(id); + const fact = row && readFact(row); + return fact?.kind === "github_queue_enqueue" ? fact : undefined; + }); + } + confirmGitHubQueueEnqueue(id: string): void { this.access(db => { const result = db.prepare(`UPDATE recovery_journal SET completed_at=COALESCE(completed_at, ?) diff --git a/packages/daemon/src/server/rpc.ts b/packages/daemon/src/server/rpc.ts index 917bed0b7..061f3e8e7 100644 --- a/packages/daemon/src/server/rpc.ts +++ b/packages/daemon/src/server/rpc.ts @@ -107,7 +107,7 @@ import { import { gitHubReadClient, gitHubWorkItemTargetKey, parseGitHubSubjectParams, readAppServerGitHubSubject } from "./app-server-github-subject.js"; import { listGitHubIntakePolicies, pollGitHubIntake, readGitHubIntake } from "./app-server-github-intake.js"; import { readGitHubDelivery, reconcileGitHubDelivery } from "./app-server-github-delivery.js"; -import { enqueueGitHubDelivery, readGitHubQueue } from "./app-server-github-enqueue.js"; +import { enqueueGitHubDelivery, gitHubQueueReceiptConfirmed, readGitHubQueue } from "./app-server-github-enqueue.js"; import { assertWorkItemConversationAdmission } from "../features/work-items/conversation-admission.js"; import { readWorkItemWorkflowStages } from "../features/work-items/workflow-stages.js"; import { readArtifactContentRange, resolveArtifactContentPath } from "../features/runs/artifacts.js"; @@ -196,6 +196,7 @@ const operatorMethods = new Set([ const IMPLEMENTED_APP_SERVER_METHODS = LING_APP_SERVER_METHODS.filter(method => !UNIMPLEMENTED_APP_SERVER_METHODS.has(method)); const appServerMethods = new Set([...IMPLEMENTED_APP_SERVER_METHODS, "runs.start", "runs.cancel", "turn/steer"]); const recoveryGuardedMethods = new Set([ + "github/delivery/enqueue", "runs.start", "turn/start", "turn/queue", "turn/resume", "handoff/resume", "approval/respond", "input/respond", "plan/accept", "workItem/create", "workItem/accept", "workItem/workflow/bind", "workItem/resume", "github/intake/poll", "workItem/coordination/start", "workItem/coordination/schedule/set", "workItem/deliberation/start", "workItem/handoff/accept", @@ -588,7 +589,7 @@ class RpcConnection { return task?.submissionId === fact.submissionId && task.workItemId === fact.workItemId && (task.status === "completed" || task.status === "cancelled"); } - if (fact.kind === "github_queue_enqueue") return false; + if (fact.kind === "github_queue_enqueue") return gitHubQueueReceiptConfirmed(store, fact); const observed = readGitHubDelivery(store, fact.workItemId); return observed?.status === "delivered" && observed.mergedCommit === fact.mergedCommit && observed.subject.repositoryId === fact.repositoryId && observed.subject.number === fact.number @@ -843,7 +844,12 @@ class RpcConnection { } case "github/delivery/enqueue": { const record = this.workspaceParams(params, true); - return enqueueGitHubDelivery(this.context, this.context.storeRegistry.getStore(record.cwd), record as never); + if (record.confirmed !== true) throw rpcError(-32602, "invalid_params", "Confirm queue admission with a request key."); + return enqueueGitHubDelivery(this.context, this.context.storeRegistry.getStore(record.cwd), { + workItemId: readStringField(record, "workItemId"), deliveryId: readStringField(record, "deliveryId"), + expectedWorkItemRevision: readIntegerField(record, "expectedWorkItemRevision", "expectedRevision"), + idempotencyKey: readStringField(record, "idempotencyKey"), confirmed: true, + }); } case "github/delivery/queue/read": { const record = this.workspaceParams(params, true); diff --git a/packages/daemon/test/app-server-release-acceptance.test.ts b/packages/daemon/test/app-server-release-acceptance.test.ts index d11ce212a..95c2a7d22 100644 --- a/packages/daemon/test/app-server-release-acceptance.test.ts +++ b/packages/daemon/test/app-server-release-acceptance.test.ts @@ -27,6 +27,7 @@ import type { LingAppServerGitHubIntakePollResult, LingAppServerGitHubIntakeReceipt, LingAppServerGitHubDeliveryResult, + LingAppServerGitHubQueueResult, LingAppServerRecoveryResult, LingAppServerCoordinationSchedule, LingAppServerDeliberationDecideParams, @@ -41,7 +42,6 @@ import type { LingAppServerVerifyOperation, LingAppServerVerifyPlanResult, LingAppServerVerifyStatusResult, - LingAppServerWorkItemCollaborationAppendResult, LingAppServerWorkItemAcceptResult, LingAppServerWorkItemControlResult, LingAppServerWorkItemReadResult, @@ -1915,6 +1915,8 @@ test("GitHub delivery requires current queue membership and a provider-attested const check = { name: "queue-verification", appId: 19, workflowId: 5, workflowPath, workflowSha256: createHash("sha256").update(workflow).digest("hex"), basis: "merge_group" as const, coverageRefs: ["queue-integration"] }; const repository = "example/ling"; + const credential = randomUUID(); + const requiredGate = { name: "trusted-queue-gate", appId: 71 }; const originalBase = "b".repeat(40); const advancedBase = "c".repeat(40); const firstGroup = "d".repeat(40); @@ -1930,27 +1932,41 @@ test("GitHub delivery requires current queue membership and a provider-attested let checkedEvent = "push"; let merged = false; let finalTree = "2".repeat(40); + let guardPresent = false; + let queuePresent = false; + let queueStarts = 0; const fixture = await releaseFixture(t, { - secretResolver: createEnvSecretResolver({ LING_QUEUE_FIXTURE_AUTH: "test-provider-credential" }), + recoveryJournal: true, + secretResolver: createEnvSecretResolver({ LING_QUEUE_FIXTURE_AUTH: credential }), githubSources: cwd => [{ workspaceRoot: cwd, repository, repositoryId: "73", secretRef: "env:LING_QUEUE_FIXTURE_AUTH", - deliveryPolicies: [{ baseRef: "main", requiredChecks: [check] }], + deliveryPolicies: [{ baseRef: "main", requiredChecks: [check], mergeQueue: { requiredGate } }], }], externalWorkFetch: async (input, init) => { const url = new URL(String(input)); assert.equal(url.origin, "https://api.github.com"); if (url.pathname === "/graphql") { assert.equal(init?.method, "POST"); - assert.equal(new Headers(init.headers).get("Authorization"), "Bearer test-provider-credential"); + assert.equal(new Headers(init.headers).get("Authorization"), "Bearer " + credential); const request = JSON.parse(String(init.body)); + if (request.query.startsWith("mutation LingEnqueue")) { + assert.equal(request.variables.id, "pr-13"); + assert.equal(request.variables.head, head); + assert.equal(queuePresent, false); + queuePresent = true; + queueStarts++; + throw new Error("The fixture loses the response after the provider accepts."); + } assert.deepEqual(request.variables, { owner: "example", name: "ling", number: 13 }); assert.match(request.query, /mergeQueueEntry/); const pullRequest = { number: 13, headRefOid: head, baseRefName: "main" }; const attributed = { ...pullRequest, headRefOid: unrelatedHead ? "9".repeat(40) : head }; + const observeEntry = request.query.startsWith("query LingQueueSubject") ? pullRequest : attributed; return Response.json({ data: { repository: { fullDatabaseId: "73", nameWithOwner: repository, - pullRequest: { ...pullRequest, isInMergeQueue: true, mergeQueueEntry: { - id: "entry-13", baseCommit: { oid: entryBase }, headCommit: { oid: group, tree: { oid: tree } }, pullRequest: attributed, - } } } } }); + pullRequest: { ...pullRequest, id: "pr-13", isInMergeQueue: queuePresent, closed: merged, merged, isDraft: false, + isMergeQueueEnabled: true, stackEntry: null, mergeQueueEntry: queuePresent ? { + id: "entry-13", baseCommit: { oid: entryBase }, headCommit: { oid: group, tree: { oid: tree } }, pullRequest: observeEntry, + } : null } } } }); } const prefix = "/repos/" + repository; assert.ok(url.pathname.startsWith(prefix)); @@ -1962,6 +1978,11 @@ test("GitHub delivery requires current queue membership and a provider-attested ...(merged ? { merge_commit_sha: finalCommit } : {}), }); if (path === "/git/ref/heads/main") return Response.json({ ref: "refs/heads/main", object: { type: "commit", sha: base } }); + if (path === "/rules/branches/main") return Response.json(guardPresent ? [ + { type: "merge_queue" }, { type: "required_status_checks", parameters: { required_status_checks: [ + { context: check.name, integration_id: check.appId }, { context: requiredGate.name, integration_id: requiredGate.appId }, + ] } }, + ] : []); if (path === `/git/commits/${finalCommit}`) return Response.json({ sha: finalCommit, parents: [{ sha: base }], tree: { sha: finalTree } }); if (path === "/actions/workflows/5/runs") { const tested = url.searchParams.get("head_sha"); @@ -2002,6 +2023,25 @@ test("GitHub delivery requires current queue membership and a provider-attested workItemId: workItem.workItemId, threadId: thread.id, expectedWorkItemRevision: Number(accepted.workItem.revision), candidateDigest: candidate.candidateDigest, repository, pullRequestNumber: 13, })).delivery; + const beforeQueue = await reconcile(); + assert.equal(beforeQueue.checks[0]?.reason, "merge_group_membership_unavailable"); + const enqueue = { workItemId: workItem.workItemId, deliveryId: beforeQueue.deliveryId, + expectedWorkItemRevision: Number(accepted.workItem.revision), idempotencyKey: "enqueue-once", confirmed: true }; + await assert.rejects(client.call("github/delivery/enqueue", enqueue), { code: "github_queue_guard_unavailable" }); + assert.equal(queueStarts, 0); + guardPresent = true; + const first = await client.call("github/delivery/enqueue", enqueue); + assert.equal(first.receipt.status, "unknown"); + const queued = await client.call("github/delivery/enqueue", enqueue); + assert.equal(queued.receipt.status, "enqueued"); + assert.equal(queued.receipt.queueEntryId, "entry-13"); + assert.equal(queueStarts, 1); + const { queueReceiptId } = queued.receipt; + assert.ok(fixture.getStore().deleteAppServerState("github_queue_intent", queueReceiptId)); + assert.deepEqual(await client.call("github/delivery/queue/read", { + workItemId: workItem.workItemId, queueReceiptId, + }), queued); + assert.equal(queueStarts, 1); assert.equal((await reconcile()).checks[0]?.reason, "merge_group_membership_unavailable"); unrelatedHead = false; assert.equal((await reconcile()).checks[0]?.reason, "applicable_check_missing"); From a11242133393dcad3b154a636a5aeb86e3fd215a Mon Sep 17 00:00:00 2001 From: tianxiaochannel-oss88 Date: Mon, 23 Nov 2026 01:14:03 +0800 Subject: [PATCH 035/147] test(daemon): exercise recovery holds across automation and HTTP --- .../app-server-release-acceptance.test.ts | 24 +++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) diff --git a/packages/daemon/test/app-server-release-acceptance.test.ts b/packages/daemon/test/app-server-release-acceptance.test.ts index 95c2a7d22..5b94be7b0 100644 --- a/packages/daemon/test/app-server-release-acceptance.test.ts +++ b/packages/daemon/test/app-server-release-acceptance.test.ts @@ -2398,7 +2398,7 @@ test("App Server reads bounded artifact ranges without exposing private metadata }); test("a scheduled coordination occurrence commits with its round, restores its deadline and skips a paused Work Item", { timeout: 25_000 }, async t => { - const fixture = await releaseFixture(t); + const fixture = await releaseFixture(t, { recoveryJournal: true }); const client = await fixture.connect(); const { workItem } = await client.call("workItem/create", { sourceId: "coordination", title: "Review the stage" }); const { workItemId, workspaceId } = workItem; @@ -2440,9 +2440,21 @@ test("a scheduled coordination occurrence commits with its round, restores its d } finally { database.close(); } + const recovery = await client.call("server/recovery/prepare", { + expectedRevision: 0, idempotencyKey: "hold-coordination-occurrence", + }); await fixture.restart(); const restored = await fixture.connect(); - await restored.call("workItem/subscribe", { workItemId, cursor: before.cursor }); + assert.equal((await restored.call("workItem/subscribe", { workItemId, cursor: before.cursor })).disposition, "snapshot_required"); + const currentCursor = (await restored.call("workItem/read", { workItemId })).cursor; + await restored.call("workItem/subscribe", { workItemId, cursor: currentCursor }); + const blocked = await runAutomation(occurrence); + assert.equal(blocked.status, 409); + assert.equal((await blocked.json() as { error: string }).error, "resume_blocked"); + assert.equal(fixture.getStore().listAutomationRuns({ automationId: automation.id }).length, 0); + assert.equal(fixture.getStore().getAutomationDefinition(automation.id)?.nextRunAt, due); + const reconciled = await restored.call("server/recovery/reconcile", { expectedRevision: recovery.revision }); + assert.equal(reconciled.status, "ready"); const scheduled = await waitFor(() => fixture.getStore().listAutomationRuns({ automationId: automation.id })[0]); assert.equal(scheduled.scheduledFor, due); assert.equal(scheduled.status, "succeeded"); @@ -3118,6 +3130,14 @@ test("restoring a pre-cutover SQLite snapshot retains the recovery fence, observ assert.ok(blocked.entries.some(entry => entry.kind === "grant_revocation" && entry.id === revocable.grant.grantId)); const request = { threadId: newWork.id, message: "Proceed after reconciliation", providerPresetId: preset.id, idempotencyKey: "after-rollback" }; await assert.rejects(restored.call("turn/start", request), { code: "resume_blocked" }); + const { daemonUrl, authToken } = fixture.transportOptions(); + const blockedHttp = await fetch(`${daemonUrl}/runs`, { + method: "POST", headers: { Authorization: `Bearer ${authToken}`, "Content-Type": "application/json" }, + body: JSON.stringify({ cwd: fixture.cwd, providerPresetId: preset.id, + task: { id: "http-during-recovery", title: "Try to start during recovery", prompt: "Wait for recovery" }, tools: ["read"] }), + }); + assert.equal(blockedHttp.status, 409); + assert.equal((await blockedHttp.json() as { error: string }).error, "resume_blocked"); assert.equal(provider.requests.length, 0); assert.equal((await reconcileDelivery(restored)).deliveryId, observed.deliveryId); From dc20e1d352c9add1b46b2efcf1c39f1332f8077a Mon Sep 17 00:00:00 2001 From: tianxiaochannel-oss88 Date: Mon, 23 Nov 2026 02:11:32 +0800 Subject: [PATCH 036/147] feat(workflows): bind stage prerequisites to accepted plan decisions --- .../features/work-board/WorkBoardWorkflow.tsx | 6 +- .../ling-app-server-implementation-plan.md | 14 +-- packages/api-client/src/app-server.ts | 6 ++ packages/contracts/src/app-server-schema.ts | 9 ++ packages/contracts/src/app-server.ts | 10 ++ packages/contracts/src/threads.ts | 8 ++ packages/contracts/src/workflows.ts | 2 + packages/core/src/index.ts | 1 + packages/core/src/proposed-plan-mutation.ts | 21 ++-- packages/core/src/run-types.ts | 3 +- packages/core/src/storage/sqlite-run-store.ts | 9 +- .../sqlite/channel-workflow-mappers.ts | 3 + .../sqlite/channel-workflow-start-store.ts | 4 +- .../storage/sqlite/channel-workflow-store.ts | 6 ++ .../sqlite/proposed-plan-action-store.ts | 61 ++++++++++-- .../src/storage/sqlite/work-item-store.ts | 18 +++- packages/core/src/work-item-collaboration.ts | 16 +++ .../core/src/work-item-workflow-decision.ts | 27 +++++ packages/core/src/workspace-types.ts | 2 + .../src/features/channels/orchestrator.ts | 1 + .../daemon/src/features/channels/workflows.ts | 11 ++- .../daemon/src/features/runs/thread-routes.ts | 23 +++-- .../features/work-items/workflow-stages.ts | 18 +++- .../src/server/app-server-collaboration.ts | 74 ++++++++++---- packages/daemon/src/server/rpc.ts | 35 +++++-- .../app-server-release-acceptance.test.ts | 99 +++++++++++++------ 26 files changed, 388 insertions(+), 99 deletions(-) create mode 100644 packages/core/src/work-item-workflow-decision.ts diff --git a/apps/web/src/features/work-board/WorkBoardWorkflow.tsx b/apps/web/src/features/work-board/WorkBoardWorkflow.tsx index d28ec0caf..3dda06590 100644 --- a/apps/web/src/features/work-board/WorkBoardWorkflow.tsx +++ b/apps/web/src/features/work-board/WorkBoardWorkflow.tsx @@ -50,7 +50,11 @@ export function WorkBoardWorkflow({ cwd, workItemId, onOpenRun }: { {workflow.steps.map(step => { const state = channelWorkflowStepStatusPresentation(step.status); return
  • -
    {step.title}
    +
    {step.title}{" "} + {step.admissionBlocker + ? + : } +
    {step.participantLabel}
    {step.brief ?

    {step.brief}

    : null} {step.runId ? : null} diff --git a/docs/design/ling-app-server-implementation-plan.md b/docs/design/ling-app-server-implementation-plan.md index 12e2b2243..d2643918c 100644 --- a/docs/design/ling-app-server-implementation-plan.md +++ b/docs/design/ling-app-server-implementation-plan.md @@ -30,7 +30,9 @@ - App Server operator grant 支持 workspace、Thread 和 Work Item 范围,按 scope 分开观察、控制、审批和答复权限。grant 的 revision、过期和撤销参与握手、请求和推送路径。 - CLI 和 TypeScript client 可以直接进入上述流程。Daemon 重启、重复请求、取消未确认和未知配方仍保持已有的持久回执语义。 - MCP bridge 暴露 Work Item 阶段、协作记录、受限 artifact range、模型清单和 Skill 读取。artifact 元数据去除内容摘要,正文只能按授权的 Thread/Work Item/Run 归属读取,并受单次范围上限约束。 -- Work Board 的 Work Item 详情显示已接受 Workflow 的阶段状态、参与者、阻塞、结果摘要和关联 Run,支持分页与重试。`work_items` 控制面事件会触发看板刷新,绑定 Workflow 的工作项不再显示 legacy claim 入口。 +- Plan 转 Workflow 时可指定稳定的 `stageId`、`dependsOnStageIds` 和 `requiredDecision`。接受事务将阶段依赖映射到真实步骤。循环、缺失的前置阶段和无效选项会拒绝转换。 +- Work Board 与 App Server 使用同一套阶段、简报、阻塞和运行证据投影。阶段简报的来源是已提交的步骤状态迁移。看板支持分页与重试,并随 `work_items` 事件刷新。 +- 声明了裁决条件的步骤等待该 Work Item、已接受 Plan 和步骤的裁决回执。授权的操作方可通过 `workItem/deliberation/start` 打开该阶段的审议,再从封存选项中裁决。回执恢复后,原 Workflow 放行该步骤,独立 QA 继续使用自己的依赖。自动提案、质疑及投票工作流仍待接入。 | 工作包 | 已验证场景与证据边界 | | --- | --- | @@ -42,8 +44,8 @@ | C2/F2 版本兼容 | 用 `v0.6.1@3fe77440e` 源码构建在 macOS 上创建 Thread、Turn、待决审批和游标,候选 Daemon 接手原 SQLite,旧 SDK 可读取 Thread 和处置后的审批。候选 SDK 向旧 `/rpc/stream` 尝试提交时,在协商阶段返回 `protocol_version_unsupported`。候选 Daemon 的 `/rpc/stream` 仅提供原有方法。测试覆盖 App Server 专属方法拒绝、旧客户端的 Run 启动和取消。候选 CLI probe 和本机 Codex MCP 已通过。v0.6.1 未提供 App Server 协议。发布安装包、远程连接及回退对账另行验收。 | | E1 Verify 与用户输入恢复 | Verify 按幂等键在 SQLite 写事务内受理。两个连接同时提交复用原操作及其事件。取消受理与停止意图一起写入,重启后可按原键读取回执。`verify/status` 记录确认退出后的 `cancelled`。执行器无法确认停止时,返回 `unknown` 并附 `verification_cancellation_unconfirmed`。已绑定工作项的 Verify 状态和 Control Plane 事件同事务提交。用户提问的 authority、答案 CAS、投递收据和 `pending/answered/cancelled` 事件也在重启后保持同一请求身份。 | | E2 交付前验收 | App Server 与 HTTP 使用同一套 Goal 验收解析和证据检查。实际 Pi Run 通过后,可用同 Thread 证据完成 Goal。Verify 结果用绑定当前候选的 `verification_passed` 条件完成 Goal,独立 verifier basis、coverage 和 producer refs 不匹配时会被拒绝。Review 已验证候选绑定、发现项处置和 freshness 持久化。`simplify/start` 与 `simplify/status` 支持只读简化审查及重启重放。`github_delivered` 要求当前已提交候选、同 Thread 与 Work Item、已接受的检查政策和 Host 重新核对的实际合并结果。 | -| O4 GitHub 证据核对 | 配置注册仓库、不可变仓库 ID 与分支政策。对已受理工作项重读 PR、实时 base ref、集成提交父链、检查 App、冻结的 workflow 文件、实际测试对象和最新 attempt。队列证据同时确认 GitHub 的 Queue Entry、当前 base、PR head 与 `merge_group` 检查。夹具覆盖队列重建、实际合并树不同及匹配后对账。工作项保留以前的观察和稳定交付 ID。队列准入、实际仓库保护与执行时合并验收仍待完成。 | -| O1/O8/O9 接单、控制和协作 | 工作项创建、控制、接单、证据和协作写入各自与对应事件同事务提交。两个客户端验证了幂等、冲突、写入失败回滚和游标回放。阶段运行、交接、裁决与恢复的联合验收仍待下方矩阵。 | +| O4 GitHub 证据核对 | 配置注册仓库、不可变仓库 ID 与分支政策。按 PR、实时 base、检查 App、冻结的 workflow 文件、实际测试对象和最近 attempt 核对证据。队列准入记录请求和外部回执,响应丢失时先查原队列项。夹具覆盖队列重建、队列应答丢失和合并树不同。实际受保护测试仓库的队列与执行时合并仍待验收。 | +| O1/O8/O9 接单、控制和协作 | 工作项创建、控制、接单、证据和协作写入各自与对应事件同事务提交。真实 Daemon 回归跑过 P01、独立 QA 与等待裁决的 P02,覆盖两端订阅、暂停、重启、裁决恢复与原步骤派发一次。按下方矩阵继续验收在途改计划、接手、自动审议、停滞和联合界面。 | | O7 定时协调轮次 | 已配置的 Automation 在同一事务中写入终态回执、轮次和事件。实际调度器从重启前的时段恢复。故障注入验证提交失败不会留下回执或轮次。回执重放复用原轮次。截止后生成简报和关闭事件,暂停的工作项产生跳过回执。该用例启动的 Runner 数量为零。 | | O1 首次会话派发 | `workItem/accept` 可选定主执行会话,接单和首发意图同事务保存。正常会话 Run 创建核对该意图并原子更新 Work Item。脚本化 Pi Provider 验证了重启、两个并发受理、暂停恢复、实际派发一次,以及当前绑定阻止删除会话。Codex MCP 已提供同一创建和受理入口。 | @@ -55,9 +57,9 @@ | --- | --- | | A1、B1、C1、C2 | 全方法的 Schema 校验和更多宿主兼容组合。workspace、Thread、Work Item 的 grant 和 WSS 已接入,审批和用户答复仍需按不同真实宿主与远程部署做验收。App Server 目标游标已绑定存储代次、授权代次和目标,现有兼容用例覆盖本机的上一版源码与候选组合。 | | D1、D2、E1、E2 | 开工与 Pi 运行中的项目规则加载、显式 Claude 规则、两个开发 Skill、工作区 Verify、独立 verifier basis、托管工作树管理、候选改动分页、Turn 改动恢复、选中 hunk 转移和工作台浏览器验证报告已接入。各发行平台验证仍待完成。 | -| F1、F2 | 普通会话已接入 Handoff 的候选封存和接手。仍需跨 Agent Workflow 的执行归属和预算承接。已有 Codex MCP 联调,双端宿主界面和授权变更后重订阅需要实测。 | -| O1、O3–O9 | 已验证 GitHub 签名 webhook、独立轮询和显式接单可以归并到同一工作项。Webhook 入箱和待处理目标同事务提交。已登记的自动接单策略适用免打扰、并发和启动额度,由现有 Automation worker 以原受理键提交 Ling Agent 只读会话。Automations 显示生效策略及评估回执。Channel、设备和已有 AutomationRun 的统一自治接入仍待完成。合并队列、经验和设备反馈、阶段简报、在途改计划、交接、审议裁决、跨 Run 预算及原 Workflow 的联合 UI 验收仍待完成。 | -| G | 自研切换和回退日志对账、签名安装产物、远程 WSS 和三个真实 Provider 自研试点。macOS 打包预检仍缺当前打包输入的 Office 审查、对应 Electron/OS 的受限运行时审查和 gstack 平台资源。T01 离线预检达到评审条件,真实试点仍需按 Framework Assurance 准入。 | +| F1、F2 | 普通会话已接入 Handoff 的候选封存和接手。CLI `app-server codex-host` 同时连接 Ling 和 Codex,保存连接游标和干预回执。本机安装的 Codex 验证了实际连接和 Ling 事件,受控对端覆盖干预与重连。可编程宿主的会话界面、真实 Codex 在途干预及跨 Agent 预算承接仍待验收。 | +| O1、O3–O9 | GitHub 签名 webhook、轮询和显式接单归并至同一工作项。自动接单策略处理免打扰、并发、启动额度和派发前状态重查。还需 Channel、设备和已有 AutomationRun 的统一自治接入、经验与设备反馈、在途改计划、Workflow 交接、自动审议投票、跨 Run 预算与完整 O9 联合验收。 | +| G | 独立恢复日志已验证 SQLite 快照恢复、撤权、旧游标失效和 GitHub 对账后派发。上一版源码通过同一套本地兼容验收。签名安装产物、实际远程 WSS、受保护 GitHub 仓库及三个真实 Provider 自研试点仍需对应环境的证据。macOS 打包预检需要当前打包输入的 Office 审查、对应 Electron/OS 的受限运行时审查和 gstack 平台资源。T01 离线预检可进入评审,真实试点仍需按 Framework Assurance 准入。 | ## 目标与开工顺序 diff --git a/packages/api-client/src/app-server.ts b/packages/api-client/src/app-server.ts index 372caa9fc..20d633d2c 100644 --- a/packages/api-client/src/app-server.ts +++ b/packages/api-client/src/app-server.ts @@ -100,6 +100,7 @@ import type { LingAppServerWorkItemCollaborationReadResult, LingAppServerDeliberationDecideParams, LingAppServerDeliberationSettlementParams, + LingAppServerStageDeliberationStartParams, LingAppServerWorktreeTarget, LingAppServerWorktreeCreateParams, LingAppServerWorktreeResult, @@ -587,6 +588,11 @@ export class LingAppServerClient { return await this.request("workItem/deliberation/read", params); } + async startStageDeliberation(params: LingAppServerStageDeliberationStartParams): Promise { + await this.connect(); + return await this.request("workItem/deliberation/start", params); + } + async decideWorkItemDeliberation(params: LingAppServerDeliberationDecideParams): Promise { await this.connect(); return await this.request("workItem/deliberation/decide", params); diff --git a/packages/contracts/src/app-server-schema.ts b/packages/contracts/src/app-server-schema.ts index faed520f4..9e6afc689 100644 --- a/packages/contracts/src/app-server-schema.ts +++ b/packages/contracts/src/app-server-schema.ts @@ -72,6 +72,9 @@ const subscriptionResult = objectWith({ disposition: { enum: ["complete", "snaps const collaborationAppend = { ...workItemTarget, idempotencyKey: stringSchema, actorId: stringSchema, expectedWorkItemRevision: integerSchema, expectedCollaborationRevision: integerSchema, parentRecordId: stringSchema, sourceRefs: arraySchema, payload: {} }; +const deliberationSettlement = { ...workItemTarget, roundId: stringSchema, expectedRoundRevision: integerSchema, + expectedWorkItemRevision: integerSchema, idempotencyKey: stringSchema, reason: stringSchema }; +const deliberationSettlementFields = ["workItemId", "roundId", "expectedRoundRevision", "expectedWorkItemRevision", "idempotencyKey", "reason"]; const worktreeTarget = { ownerKind: { enum: ["channel", "teammate"] }, ownerId: stringSchema }; const changeWorktree = objectWith(worktreeTarget, ["ownerKind", "ownerId"]); const changeSource = { cwd: stringSchema, sourceWorktree: changeWorktree }; @@ -240,8 +243,14 @@ function schemaFor(method: LingAppServerMethod): LingAppServerMethodSchema { case "workItem/collaboration/append": return { params: objectWith({ ...collaborationAppend, kind: stringSchema, action: stringSchema }, ["workItemId", "kind", "action"]), result }; case "workItem/deliberation/start": + return { params: objectWith({ ...collaborationAppend, workflowStepId: stringSchema }, ["workItemId"]), result }; case "workItem/deliberation/cancel": + return { params: objectWith(deliberationSettlement, deliberationSettlementFields), result }; case "workItem/deliberation/decide": + return { params: objectWith({ ...deliberationSettlement, decision: { oneOf: [ + objectWith({ disposition: { enum: ["selected"] }, option: stringSchema }, ["disposition", "option"]), + objectWith({ disposition: { enum: ["deferred", "replan_required"] } }, ["disposition"]), + ] } }, [...deliberationSettlementFields, "decision"]), result }; case "workItem/coordination/start": case "workItem/coordination/close": case "workItem/message/send": diff --git a/packages/contracts/src/app-server.ts b/packages/contracts/src/app-server.ts index f96cacf3c..e3d4908d3 100644 --- a/packages/contracts/src/app-server.ts +++ b/packages/contracts/src/app-server.ts @@ -683,10 +683,12 @@ export interface LingAppServerWorkItemWorkflowStages { readonly nextOffset?: number; readonly steps: readonly { readonly stepId: string; + readonly stageId?: string; readonly title: string; readonly status: import("./workflows.js").ChannelWorkflowStepStatus; readonly participantLabel: string; readonly dependencyIds: readonly string[]; + readonly admissionBlocker?: string; readonly updatedAt: string; readonly runId?: string; readonly outputArtifactId?: string; @@ -872,6 +874,14 @@ export interface LingAppServerDeliberationSettlementParams { readonly reason: string; } +export interface LingAppServerStageDeliberationStartParams { + readonly cwd?: string; + readonly workItemId: string; + readonly workflowStepId: string; + readonly expectedWorkItemRevision: number; + readonly idempotencyKey: string; +} + export interface LingAppServerDeliberationDecideParams extends LingAppServerDeliberationSettlementParams { readonly decision: { readonly disposition: "selected"; readonly option: string } | { readonly disposition: "deferred" | "replan_required" }; diff --git a/packages/contracts/src/threads.ts b/packages/contracts/src/threads.ts index 93121d396..1cf13b855 100644 --- a/packages/contracts/src/threads.ts +++ b/packages/contracts/src/threads.ts @@ -283,6 +283,9 @@ export interface ProposedPlanActionRequest { export interface ProposedPlanWorkflowStepPreview { readonly title: string; + readonly stageId?: string; + readonly dependsOnStageIds?: readonly string[]; + readonly requiredDecision?: ProposedPlanStageDecision; readonly ownerId?: string; readonly ownerLabel?: string; readonly ownerConfidence?: "high" | "medium" | "low" | "none"; @@ -290,6 +293,11 @@ export interface ProposedPlanWorkflowStepPreview { readonly sourceSignals?: readonly string[]; } +export interface ProposedPlanStageDecision { + readonly question: string; + readonly options: readonly string[]; +} + export interface LingThread { readonly id: string; readonly workspaceId: string; diff --git a/packages/contracts/src/workflows.ts b/packages/contracts/src/workflows.ts index a92207a75..e8aa361ce 100644 --- a/packages/contracts/src/workflows.ts +++ b/packages/contracts/src/workflows.ts @@ -873,6 +873,8 @@ export interface ChannelWorkflowStepMetadata { readonly templateStepId?: string; readonly graphId?: string; readonly graphNodeId?: string; + readonly planStageId?: string; + readonly requiredPlanDecision?: import("./threads.js").ProposedPlanStageDecision; readonly dependsOnStepIds?: readonly string[]; readonly branchGroupId?: string; readonly joinGroupId?: string; diff --git a/packages/core/src/index.ts b/packages/core/src/index.ts index 37777658c..813d5d4e5 100644 --- a/packages/core/src/index.ts +++ b/packages/core/src/index.ts @@ -151,6 +151,7 @@ export * from "./external-work-source-registry.js"; export * from "./work-item-types.js"; export * from "./work-item-evidence-types.js"; export * from "./work-item-collaboration.js"; +export * from "./work-item-workflow-decision.js"; export * from "./work-item-deliberation-policy.js"; export * from "./app-server-state-types.js"; export * from "./work-item-evidence-types.js"; diff --git a/packages/core/src/proposed-plan-mutation.ts b/packages/core/src/proposed-plan-mutation.ts index 3d2967a46..1c69778ea 100644 --- a/packages/core/src/proposed-plan-mutation.ts +++ b/packages/core/src/proposed-plan-mutation.ts @@ -1,15 +1,9 @@ +import type { ProposedPlanStageDecision, ProposedPlanWorkflowStepPreview } from "@ling-stack/contracts"; import type { CreateProposedPlanArtifactInput, ProposedPlanArtifact, UpdateProposedPlanArtifactInput } from "./run-types.js"; export type ProposedPlanArtifactAction = "accept" | "refine" | "save" | "archive" | "convert-workflow"; -export interface ProposedPlanWorkflowStepPreviewInput { - readonly title: string; - readonly ownerId?: string; - readonly ownerLabel?: string; - readonly ownerConfidence?: "high" | "medium" | "low" | "none"; - readonly ownerReason?: string; - readonly sourceSignals?: readonly string[]; -} +export type ProposedPlanWorkflowStepPreviewInput = ProposedPlanWorkflowStepPreview; export interface ApplyProposedPlanArtifactActionInput { readonly threadId: string; @@ -39,6 +33,17 @@ export class ProposedPlanMutationError extends Error { } } +export function parseProposedPlanStageDecision(value: unknown): ProposedPlanStageDecision { + const decision = value as Partial | null; + if (decision && typeof decision.question === "string" && decision.question.trim() && decision.question.length <= 500 + && Array.isArray(decision.options) && decision.options.length >= 2 && decision.options.length <= 12 + && decision.options.every(option => typeof option === "string" && option.trim() === option && option.length > 0 && option.length <= 200) + && new Set(decision.options).size === decision.options.length) { + return { question: decision.question, options: decision.options }; + } + throw new ProposedPlanMutationError("bad_workflow_stage_decision", "A required decision needs a question and 2–12 distinct options.", 400); +} + export const proposedPlanContentFields = ["channelId", "goalId", "sourceAgentId", "ownerAgentId", "sourceTurnId", "sourceMessageId", "sourceRunId", "parentPlanId", "planGroupId", "version", "title", "bodyMarkdown"] as const; export const proposedPlanAcceptanceFields = ["acceptedAt", "convertedAt", "acceptedTaskId", "acceptedWorkflowId", diff --git a/packages/core/src/run-types.ts b/packages/core/src/run-types.ts index 65f4d25fe..28fbbe7c9 100644 --- a/packages/core/src/run-types.ts +++ b/packages/core/src/run-types.ts @@ -2705,7 +2705,8 @@ export interface RunStore extends AutomationEventStore, CodeAssessmentStore, Cod readonly replayed: boolean; readonly event?: ControlPlaneEvent; }; - getWorkItemWorkflowAdmissionBlocker(workflowId: string): string | undefined; + getWorkItemWorkflowAdmissionBlocker(workflowId: string, step?: ChannelWorkflowStep): string | undefined; + getWorkItemWorkflowStepDecision(step: ChannelWorkflowStep): { readonly id: string; readonly option: string } | undefined; listActiveWorkItemWorkflowIds(limit: number): readonly string[]; checkWorkItemConversationAdmission(threadId: string, submissionKey: unknown, automaticIntakeReceiptId?: string): WorkItem | undefined; claimWorkItem(id: string, input: WorkItemClaimRequest, now: string): { readonly workItem: WorkItem; readonly claimToken?: string; readonly blocker?: WorkItemClaimBlocker } | undefined; diff --git a/packages/core/src/storage/sqlite-run-store.ts b/packages/core/src/storage/sqlite-run-store.ts index 2be7b3859..b0225aead 100644 --- a/packages/core/src/storage/sqlite-run-store.ts +++ b/packages/core/src/storage/sqlite-run-store.ts @@ -1763,6 +1763,7 @@ export class SqliteRunStore implements RunStore { hasAiTeammate: (id) => Boolean(this.getAiTeammate(id)), getProposedPlanArtifact: (id) => this.getProposedPlanArtifact(id), getChannelWorkflow: (id) => this.getChannelWorkflow(id), + getWorkItemEvidence: (id) => this.getWorkItemEvidence(id), getRun: (id) => this.getRun(id), }, ); @@ -6154,9 +6155,13 @@ export class SqliteRunStore implements RunStore { return this.workItems.bindWorkflow(input, now, this.appServerState, { store: this.controlPlane, cwd: this.paths.cwd }); } - getWorkItemWorkflowAdmissionBlocker(workflowId: string): string | undefined { + getWorkItemWorkflowAdmissionBlocker(workflowId: string, step?: ChannelWorkflowStep): string | undefined { if (!this.hasMigration(APP_SERVER_STATE_MIGRATION_VERSION) && !this.hasTable("app_server_state")) return undefined; - return this.workItems.getWorkflowAdmissionBlocker(workflowId, this.appServerState); + return this.workItems.getWorkflowAdmissionBlocker(workflowId, this.appServerState, step); + } + + getWorkItemWorkflowStepDecision(step: ChannelWorkflowStep) { + return this.workItems.getWorkflowStepDecision(step, this.appServerState); } listActiveWorkItemWorkflowIds(limit: number): readonly string[] { diff --git a/packages/core/src/storage/sqlite/channel-workflow-mappers.ts b/packages/core/src/storage/sqlite/channel-workflow-mappers.ts index b09c0cc59..dde4486a0 100644 --- a/packages/core/src/storage/sqlite/channel-workflow-mappers.ts +++ b/packages/core/src/storage/sqlite/channel-workflow-mappers.ts @@ -1,4 +1,5 @@ import type { SQLOutputValue } from "node:sqlite"; +import { parseProposedPlanStageDecision } from "../../proposed-plan-mutation.js"; import { isWorkflowStepStartOwnerV1 } from "../../workflow-step-start-owner.js"; import { isWorkflowStepSafetyPlanV1 } from "../../workflow-safety-plan.js"; import { workflowIsolationIdentity } from "../../workflow-isolation.js"; @@ -269,6 +270,8 @@ function parseOptionalChannelWorkflowStepMetadata(value: string | undefined): Ch templateStepId: readOptionalStringValue(record.templateStepId), graphId: readOptionalStringValue(record.graphId), graphNodeId: readOptionalStringValue(record.graphNodeId), + planStageId: readOptionalStringValue(record.planStageId), + requiredPlanDecision: record.requiredPlanDecision === undefined ? undefined : parseProposedPlanStageDecision(record.requiredPlanDecision), dependsOnStepIds: readOptionalStringListValue(record.dependsOnStepIds), branchGroupId: readOptionalStringValue(record.branchGroupId), joinGroupId: readOptionalStringValue(record.joinGroupId), diff --git a/packages/core/src/storage/sqlite/channel-workflow-start-store.ts b/packages/core/src/storage/sqlite/channel-workflow-start-store.ts index 5865d7914..82f1e6603 100644 --- a/packages/core/src/storage/sqlite/channel-workflow-start-store.ts +++ b/packages/core/src/storage/sqlite/channel-workflow-start-store.ts @@ -40,7 +40,7 @@ export class SqliteChannelWorkflowStartStore { return this.transaction(() => { const step = this.ports.getChannelWorkflowStep(input.workflowStepId); if (!step || !sameExpected(step, input.expected)) return { status: "stale", code: "workflow_start_basis_stale" }; - const workItemBlocker = this.ports.getWorkItemWorkflowAdmissionBlocker(step.workflowId); + const workItemBlocker = this.ports.getWorkItemWorkflowAdmissionBlocker(step.workflowId, step); if (workItemBlocker) return { status: "invalid", code: workItemBlocker }; if (!workflowIsolationSelectionReady(this.context.database, step.workflowId)) { return { status: "invalid", code: "workflow_isolation_selection_not_ready" }; @@ -167,7 +167,7 @@ export class SqliteChannelWorkflowStartStore { && (!hasAdmission || this.admissions.isTransferredWithinTransaction(step.id, input.owner, run.id, toRuntimeAttemptFence(attempt))) ? { status: "duplicate" } : { status: "stale", code: "workflow_start_run_stale" }; if (owner?.phase !== "preparing" || step.runId) return { status: "stale", code: "workflow_start_run_stale" }; - const workItemBlocker = this.ports.getWorkItemWorkflowAdmissionBlocker(step.workflowId); + const workItemBlocker = this.ports.getWorkItemWorkflowAdmissionBlocker(step.workflowId, step); if (workItemBlocker) return { status: "invalid", code: workItemBlocker }; if (task.currentRunId || this.context.database.prepare("SELECT id FROM run_sessions WHERE task_id=? AND id<>? LIMIT 1").get(task.id, run.id)) { return { status: "stale", code: "workflow_start_task_run_stale" }; diff --git a/packages/core/src/storage/sqlite/channel-workflow-store.ts b/packages/core/src/storage/sqlite/channel-workflow-store.ts index b67b10745..d13e1318e 100644 --- a/packages/core/src/storage/sqlite/channel-workflow-store.ts +++ b/packages/core/src/storage/sqlite/channel-workflow-store.ts @@ -1471,6 +1471,11 @@ export class SqliteChannelWorkflowStore { throw new Error(`Workflow participant provider binding is immutable for workflow step ${id}`); } const metadata = input.metadata === null ? null : normalizeChannelWorkflowStepMetadata(input.metadata); + const planStage = existing.metadata?.planStageId ? { + planStageId: existing.metadata.planStageId, + dependsOnStepIds: existing.metadata.dependsOnStepIds, + requiredPlanDecision: existing.metadata.requiredPlanDecision, + } : undefined; const next: ChannelWorkflowStep = { ...existing, sourceHandoffId, @@ -1492,6 +1497,7 @@ export class SqliteChannelWorkflowStore { : metadata ? { ...metadata, + ...planStage, participantAuthority: existing.participantAuthority, ...(existingProviderBinding ? { providerBinding: existingProviderBinding } : {}), } diff --git a/packages/core/src/storage/sqlite/proposed-plan-action-store.ts b/packages/core/src/storage/sqlite/proposed-plan-action-store.ts index 5bd3dfc54..e7d9dbccc 100644 --- a/packages/core/src/storage/sqlite/proposed-plan-action-store.ts +++ b/packages/core/src/storage/sqlite/proposed-plan-action-store.ts @@ -1,8 +1,8 @@ import { createWorkflowParticipantAuthorityV1 } from "@ling-stack/contracts"; import { createProposedPlanArtifactId, type ProposedPlanArtifact, type RunStore } from "../../run-types.js"; import { DEFAULT_WORKSPACE_ID } from "../../workspace-types.js"; -import { assertProposedPlanRevision, assertProposedPlanSnapshot, proposedPlanHasAcceptance, ProposedPlanMutationError, - type ApplyProposedPlanArtifactActionInput, type ProposedPlanArtifactActionResult } from "../../proposed-plan-mutation.js"; +import { assertProposedPlanRevision, assertProposedPlanSnapshot, parseProposedPlanStageDecision, proposedPlanHasAcceptance, ProposedPlanMutationError, + type ApplyProposedPlanArtifactActionInput, type ProposedPlanArtifactActionResult, type ProposedPlanWorkflowStepPreviewInput } from "../../proposed-plan-mutation.js"; import type { SqliteStoreContext } from "./store-context.js"; type Ports = Pick typeof step !== "string" || !step.trim())) { throw new ProposedPlanMutationError("bad_workflow_steps", "Workflow steps must be nonempty strings.", 400); } + const order = orderWorkflowStages(steps, input.workflowStepPreviews ?? []); const workflow = this.ports.createChannelWorkflow({ channelId: thread.channelId, title: workflowTitle, objective: steps.join("\n"), status: "draft", createdBy: input.createdBy || "local-user", metadata: { sourceMessageId: plan.sourceMessageId } }, now); - const createdSteps = steps.map((title, index) => { + const stepIds = new Map(); + let firstStepId: string | undefined; + for (const index of order) { + const title = steps[index]!; const preview = input.workflowStepPreviews?.[index]; const ownerId = preview?.ownerId || input.toParticipantId || "local-user"; - return this.ports.createChannelWorkflowStep({ workflowId: workflow.id, + const step = this.ports.createChannelWorkflowStep({ workflowId: workflow.id, position: index + 1, title: steps.length > 1 ? title : `Implement ${workflowTitle}`, prompt: [title, "", `Source proposed plan: ${canonicalPlan.id}`, canonicalPlan.sourceMessageId ? `Source message: ${canonicalPlan.sourceMessageId}` : ""].filter(Boolean).join("\n"), toParticipantId: ownerId, toParticipantLabel: preview?.ownerLabel || input.toParticipantLabel || "Unassigned", participantAuthority: createWorkflowParticipantAuthorityV1({ kind: "workflow_definition", origin: "proposed_plan", - participantId: ownerId, sourceId: canonicalPlan.id }), status: "queued", metadata: { sourceMessageId: canonicalPlan.sourceMessageId } }, now); - }); + participantId: ownerId, sourceId: canonicalPlan.id }), status: "queued", metadata: { + sourceMessageId: canonicalPlan.sourceMessageId, + ...(preview?.stageId ? { planStageId: preview.stageId } : {}), + ...(preview?.dependsOnStageIds?.length ? { dependsOnStepIds: preview.dependsOnStageIds.map(id => stepIds.get(id)!) } : {}), + ...(preview?.requiredDecision ? { requiredPlanDecision: preview.requiredDecision } : {}), + } }, now); + if (preview?.stageId) stepIds.set(preview.stageId, step.id); + if (index === 0) firstStepId = step.id; + } return { plan: this.update(plan, { status: "accepted", acceptedAt: plan.acceptedAt ?? now, convertedAt: plan.convertedAt ?? now, - acceptedWorkflowId: workflow.id, acceptedWorkflowStepId: createdSteps[0]?.id }, now), - workflowId: workflow.id, workflowStepId: createdSteps[0]?.id }; + acceptedWorkflowId: workflow.id, acceptedWorkflowStepId: firstStepId }, now), + workflowId: workflow.id, workflowStepId: firstStepId }; }); } @@ -141,6 +152,40 @@ export class SqliteProposedPlanActionStore { } } +function orderWorkflowStages(titles: readonly string[], previews: readonly ProposedPlanWorkflowStepPreviewInput[]): readonly number[] { + const positions = titles.map((_, index) => index); + if (!previews.some(stage => stage.stageId !== undefined || stage.dependsOnStageIds !== undefined || stage.requiredDecision !== undefined)) return positions; + const invalid = (message: string) => new ProposedPlanMutationError("bad_workflow_stage_dependencies", message, 400); + if (titles.length !== previews.length || titles.length > 50) throw invalid("Provide one preview per stage, up to 50 stages."); + const stages = new Map(); + for (const [index, stage] of previews.entries()) { + if (!stage.stageId || !/^[a-zA-Z0-9][a-zA-Z0-9_-]{0,63}$/u.test(stage.stageId) || stages.has(stage.stageId) + || stage.title !== titles[index]) throw invalid("Workflow stages require unique identifiers and matching titles."); + if (stage.requiredDecision !== undefined) parseProposedPlanStageDecision(stage.requiredDecision); + stages.set(stage.stageId, index); + } + const ordered = new Set(); + const visiting = new Set(); + const visit = (index: number): void => { + if (ordered.has(index)) return; + if (visiting.has(index)) throw invalid("Workflow stage dependencies must be acyclic."); + visiting.add(index); + const dependencies = previews[index]?.dependsOnStageIds ?? []; + if (dependencies.length > 20 || new Set(dependencies).size !== dependencies.length) { + throw invalid("Each stage can depend on up to 20 different stages."); + } + for (const id of dependencies) { + const dependency = stages.get(id); + if (dependency === undefined) throw invalid(`Unknown prerequisite stage: ${id}`); + visit(dependency); + } + visiting.delete(index); + ordered.add(index); + }; + positions.forEach(visit); + return [...ordered]; +} + const actionColumns = { status: "status", savedAt: "saved_at", archivedAt: "archived_at", acceptedAt: "accepted_at", acceptedTaskId: "accepted_task_id", convertedAt: "converted_at", acceptedWorkflowId: "accepted_workflow_id", acceptedWorkflowStepId: "accepted_workflow_step_id", supersededByPlanId: "superseded_by_plan_id" } as const; diff --git a/packages/core/src/storage/sqlite/work-item-store.ts b/packages/core/src/storage/sqlite/work-item-store.ts index d1ab33208..655a3225f 100644 --- a/packages/core/src/storage/sqlite/work-item-store.ts +++ b/packages/core/src/storage/sqlite/work-item-store.ts @@ -39,6 +39,8 @@ import type { SqliteControlPlaneStore } from "./control-plane-store.js"; import type { LingAppServerGitHubDelivery, LingAppServerGitHubIntakeReceipt, LingAppServerWorkItemSourceReceipt, LingAppServerWorkItemWorkflowBindParams, LingAppServerWorkItemWorkflowBinding } from "@ling-stack/contracts"; import type { RunStore } from "../../run-types.js"; +import type { ChannelWorkflowStep } from "../../workspace-types.js"; +import { readSelectedWorkflowDecision } from "../../work-item-workflow-decision.js"; import { normalConversationSubmissionKey } from "../../conversation-item-store-types.js"; export interface SqliteWorkItemStorePorts { @@ -46,6 +48,7 @@ export interface SqliteWorkItemStorePorts { readonly hasAiTeammate: (id: string) => boolean; readonly getProposedPlanArtifact: RunStore["getProposedPlanArtifact"]; readonly getChannelWorkflow: RunStore["getChannelWorkflow"]; + readonly getWorkItemEvidence: RunStore["getWorkItemEvidence"]; readonly getRun: RunStore["getRun"]; } @@ -591,9 +594,9 @@ export class SqliteWorkItemStore { AND status IN ('queued','running','waiting_for_approval','waiting_for_input') LIMIT 1`).get(threadId)); } - getWorkflowAdmissionBlocker(workflowId: string, state: SqliteAppServerStateStore): string | undefined { + getWorkflowAdmissionBlocker(workflowId: string, state: SqliteAppServerStateStore, step?: ChannelWorkflowStep): string | undefined { const link = state.get("work_item_workflow", workflowId)?.payload as WorkItemWorkflowLink | undefined; - if (!link) return undefined; + if (!link) return step?.metadata?.requiredPlanDecision ? "work_item_workflow_unbound" : undefined; const binding = link.binding; const item = this.getWorkItem(binding.workItemId); const plan = this.ports.getProposedPlanArtifact(binding.planId); @@ -604,9 +607,20 @@ export class SqliteWorkItemStore { return "work_item_workflow_held"; } if (this.incompleteWorkItemDependencyIds(item).length) return "work_item_workflow_dependency_blocked"; + if (step?.metadata?.requiredPlanDecision && !this.getWorkflowStepDecision(step, state)) return "work_item_decision_pending"; return undefined; } + getWorkflowStepDecision(step: ChannelWorkflowStep, state: SqliteAppServerStateStore) { + const required = step.metadata?.requiredPlanDecision; + if (!required) return undefined; + const link = state.get("work_item_workflow", step.workflowId)?.payload as WorkItemWorkflowLink | undefined; + if (!link) return undefined; + const { workItemId, planId, planRevision } = link.binding; + const selected = readSelectedWorkflowDecision(this.ports, { workItemId, planRevision: `${planId}:${planRevision}`, workflowStepId: step.id }); + return selected && required.options.includes(selected.option) ? selected : undefined; + } + listActiveWorkflowIds(limit: number): readonly string[] { return this.context.database.prepare(` SELECT workflow.id FROM channel_workflows workflow diff --git a/packages/core/src/work-item-collaboration.ts b/packages/core/src/work-item-collaboration.ts index 8b1e31b6a..32c64a626 100644 --- a/packages/core/src/work-item-collaboration.ts +++ b/packages/core/src/work-item-collaboration.ts @@ -23,6 +23,7 @@ export interface WorkItemCollaborationRecord extends Omit, + workItemId: string, + recordId: string, +): WorkItemCollaborationRecord | undefined { + const entry = store.getWorkItemEvidence(recordId); + if (!entry || entry.workItemId !== workItemId || entry.subjectRevision !== `work-item-collaboration:${entry.idempotencyKey}`) return undefined; + try { + return decodeCollaborationRecord(entry.content, entry); + } catch { + return undefined; + } +} + export function listWorkItemCollaboration( store: CollaborationStore, input: { readonly workItemId: string; readonly kind?: LingAppServerCollaborationKind; readonly afterRevision?: number; readonly limit?: number }, diff --git a/packages/core/src/work-item-workflow-decision.ts b/packages/core/src/work-item-workflow-decision.ts new file mode 100644 index 000000000..c22134496 --- /dev/null +++ b/packages/core/src/work-item-workflow-decision.ts @@ -0,0 +1,27 @@ +import { createHash } from "node:crypto"; +import type { RunStore } from "./run-types.js"; +import { readWorkItemCollaborationRecord } from "./work-item-collaboration.js"; + +export interface WorkItemWorkflowDecisionSubject { + readonly workItemId: string; + readonly planRevision: string; + readonly workflowStepId: string; +} + +export function workItemWorkflowDecisionId(subject: WorkItemWorkflowDecisionSubject, kind: "round" | "resolution"): string { + const digest = createHash("sha256").update(JSON.stringify([subject.workItemId, subject.planRevision, subject.workflowStepId])).digest("hex"); + return `work_item_workflow_decision_${kind}_${digest}`; +} + +export function readSelectedWorkflowDecision( + store: Pick, + subject: WorkItemWorkflowDecisionSubject, +): { readonly id: string; readonly option: string } | undefined { + const id = workItemWorkflowDecisionId(subject, "resolution"); + const receipt = readWorkItemCollaborationRecord(store, subject.workItemId, id); + if (receipt?.kind !== "deliberation" || receipt.action !== "decided" + || receipt.parentRecordId !== workItemWorkflowDecisionId(subject, "round")) return undefined; + const decision = receipt.payload as { readonly disposition?: string; readonly option?: unknown } | null; + if (decision?.disposition === "selected" && typeof decision.option === "string") return { id, option: decision.option }; + return undefined; +} diff --git a/packages/core/src/workspace-types.ts b/packages/core/src/workspace-types.ts index a70812a4f..7ce193317 100644 --- a/packages/core/src/workspace-types.ts +++ b/packages/core/src/workspace-types.ts @@ -2423,6 +2423,8 @@ export interface ChannelWorkflowStepMetadata { readonly templateStepId?: string; readonly graphId?: string; readonly graphNodeId?: string; + readonly planStageId?: string; + readonly requiredPlanDecision?: import("@ling-stack/contracts").ProposedPlanStageDecision; readonly dependsOnStepIds?: readonly string[]; readonly branchGroupId?: string; readonly joinGroupId?: string; diff --git a/packages/daemon/src/features/channels/orchestrator.ts b/packages/daemon/src/features/channels/orchestrator.ts index 68f7e8e42..bac9ff0e5 100644 --- a/packages/daemon/src/features/channels/orchestrator.ts +++ b/packages/daemon/src/features/channels/orchestrator.ts @@ -1786,6 +1786,7 @@ function isWorkflowStepEligible(step: ChannelWorkflowStep, steps: readonly Chann function eligibleWorkflowSteps(store: RunStore, steps: readonly ChannelWorkflowStep[]): ChannelWorkflowStep[] { return steps.filter(step => step.metadata?.autoStart !== false && (step.status === "queued" || isApprovedPreStartStep(store, step)) + && (!step.metadata?.requiredPlanDecision || !store.getWorkItemWorkflowAdmissionBlocker(step.workflowId, step)) && isWorkflowStepEligible(step, steps)).sort(compareWorkflowStepForScheduling); } diff --git a/packages/daemon/src/features/channels/workflows.ts b/packages/daemon/src/features/channels/workflows.ts index 7408fecb7..1ee68aed0 100644 --- a/packages/daemon/src/features/channels/workflows.ts +++ b/packages/daemon/src/features/channels/workflows.ts @@ -739,7 +739,7 @@ export async function prepareWorkflowStepStart( if (!workflow) { return { kind: "error", statusCode: 404, code: "workflow_not_found", message: `Channel workflow not found: ${step.workflowId}` }; } - const workItemBlocker = store.getWorkItemWorkflowAdmissionBlocker(workflow.id); + const workItemBlocker = store.getWorkItemWorkflowAdmissionBlocker(workflow.id, step); if (workItemBlocker) { return { kind: "error", statusCode: 409, code: workItemBlocker, message: "The Work Item cannot start a Workflow step." }; } @@ -925,7 +925,12 @@ export async function prepareWorkflowStepStart( providerPresetId = providerBinding.providerPresetId; } const workflowSteps = store.listChannelWorkflowSteps({ workflowId: workflow.id, complete: true }); - const memoryRecallQuery = `${workflow.objective}\n${step.title}\n${input.taskPrompt ?? step.prompt}`; + const selectedDecision = step.metadata?.requiredPlanDecision && store.getWorkItemWorkflowStepDecision(step); + const prompt = [ + input.taskPrompt ?? step.prompt, + ...(selectedDecision ? [`Accepted Plan decision: ${JSON.stringify(selectedDecision)}`] : []), + ].join("\n\n"); + const memoryRecallQuery = `${workflow.objective}\n${step.title}\n${prompt}`; const memoryRecall = await recallMemory(store, { teammateId: assigneeTeammateId, channelId: channel.id, @@ -947,7 +952,7 @@ export async function prepareWorkflowStepStart( channel, workflow, step, - prompt: input.taskPrompt ?? step.prompt, + prompt, providerPresetId, consumerTeammateId: assigneeTeammateId, workflowSteps, diff --git a/packages/daemon/src/features/runs/thread-routes.ts b/packages/daemon/src/features/runs/thread-routes.ts index e14a2b3d7..680d5ced9 100644 --- a/packages/daemon/src/features/runs/thread-routes.ts +++ b/packages/daemon/src/features/runs/thread-routes.ts @@ -10,6 +10,7 @@ import { lingThreadKinds, normalizeRunnerId, permissionPresets, + parseProposedPlanStageDecision, ProposedPlanMutationError, redactSecrets, sessionPermissionModes, @@ -35,6 +36,7 @@ import { type PermissionPreset, type ProposedPlanArtifact, type ProposedPlanArtifactStatus, + type ProposedPlanWorkflowStepPreviewInput, type RunEventEnvelope, type RunSession, type RunStore, @@ -2311,15 +2313,6 @@ interface ProposedPlanActionInput { readonly workflowStepPreviews?: readonly ProposedPlanWorkflowStepPreviewInput[]; } -interface ProposedPlanWorkflowStepPreviewInput { - readonly title: string; - readonly ownerId?: string; - readonly ownerLabel?: string; - readonly ownerConfidence?: "high" | "medium" | "low" | "none"; - readonly ownerReason?: string; - readonly sourceSignals?: readonly string[]; -} - function parsePutProposedPlanArtifactBody(value: unknown, threadId: string): CreateProposedPlanArtifactInput { if (!isRecord(value)) { throw new HttpError(400, "bad_request", "Proposed plan request must be a JSON object."); @@ -2527,6 +2520,9 @@ function readOptionalWorkflowStepPreviews( } return { title, + stageId: readOptionalString(item, "stageId"), + dependsOnStageIds: readOptionalWorkflowStageDependencies(item), + requiredDecision: item.requiredDecision === undefined ? undefined : parseProposedPlanStageDecision(item.requiredDecision), ownerId: readOptionalString(item, "ownerId")?.trim() || undefined, ownerLabel: readOptionalString(item, "ownerLabel")?.trim() || undefined, ownerConfidence: readOptionalWorkflowOwnerConfidence(item, "ownerConfidence"), @@ -2538,6 +2534,15 @@ function readOptionalWorkflowStepPreviews( return previews.length > 0 ? previews : undefined; } +function readOptionalWorkflowStageDependencies(record: Record): readonly string[] | undefined { + const ids = record.dependsOnStageIds; + if (ids === undefined) return undefined; + if (!Array.isArray(ids) || !ids.every(id => typeof id === "string")) { + throw new HttpError(400, "bad_workflow_stage_dependencies", "dependsOnStageIds must be an array of stage identifiers."); + } + return ids; +} + function readOptionalWorkflowOwnerConfidence( record: Record, key: string, diff --git a/packages/daemon/src/features/work-items/workflow-stages.ts b/packages/daemon/src/features/work-items/workflow-stages.ts index f00fbb56a..11c3c549b 100644 --- a/packages/daemon/src/features/work-items/workflow-stages.ts +++ b/packages/daemon/src/features/work-items/workflow-stages.ts @@ -1,6 +1,6 @@ import { createHash } from "node:crypto"; import type { LingAppServerWorkItemWorkflowStages } from "@ling-stack/contracts"; -import type { RunStore, WorkItem } from "@ling-stack/core"; +import type { ChannelWorkflowStep, RunStore, WorkItem } from "@ling-stack/core"; import { appendControlPlaneEvent, type ControlPlaneEventHub } from "../control-plane/events.js"; /** Work Board and App Server project the actual Workflow owner and its retained evidence. */ @@ -10,22 +10,34 @@ export function readWorkItemWorkflowStages(store: RunStore, item: WorkItem, incl if (!workflow) return undefined; const limit = 20; const steps = store.listChannelWorkflowSteps({ workflowId: workflow.id, offset, limit: limit + 1 }); + const admissionBlocker = store.getWorkItemWorkflowAdmissionBlocker(workflow.id); return { workflowId: workflow.id, planRevision: item.planRevision, status: workflow.status, - admissionBlocker: store.getWorkItemWorkflowAdmissionBlocker(workflow.id), + admissionBlocker, ...(steps.length > limit ? { nextOffset: offset + limit } : {}), steps: steps.slice(0, limit).map(step => ({ - stepId: step.id, title: step.title.slice(0, 250), status: step.status, participantLabel: step.toParticipantLabel.slice(0, 160), + stepId: step.id, stageId: step.metadata?.planStageId, + title: step.title.slice(0, 250), status: step.status, participantLabel: step.toParticipantLabel.slice(0, 160), dependencyIds: step.metadata?.dependsOnStepIds?.slice(0, 20) ?? [], updatedAt: step.updatedAt, + ...(!admissionBlocker && step.metadata?.requiredPlanDecision && step.status === "queued" + ? { admissionBlocker: store.getWorkItemWorkflowAdmissionBlocker(workflow.id, step) } : {}), ...(includeEvidence ? { runId: step.runId, outputArtifactId: step.metadata?.outputArtifactId, brief: (step.resultSummary ?? step.blocker)?.slice(0, 500), + briefBasis: readStageBriefBasis(store, step), } : {}), })), }; } +function readStageBriefBasis(store: RunStore, step: ChannelWorkflowStep) { + if (!["succeeded", "failed", "cancelled", "skipped", "blocked"].includes(step.status)) return undefined; + const [transition] = store.listStateTransitionEvents({ entityType: "workflow_step", entityId: step.id, limit: 1 }); + if (transition?.toStatus === step.status) return { transitionId: transition.id, committedAt: transition.createdAt }; + return undefined; +} + export function publishWorkItemWorkflowStep(store: RunStore, events: ControlPlaneEventHub | undefined, stepId: string): void { if (!events) return; const step = store.getChannelWorkflowStep(stepId); diff --git a/packages/daemon/src/server/app-server-collaboration.ts b/packages/daemon/src/server/app-server-collaboration.ts index 498c01d1a..24dc9e2b8 100644 --- a/packages/daemon/src/server/app-server-collaboration.ts +++ b/packages/daemon/src/server/app-server-collaboration.ts @@ -3,17 +3,20 @@ import type { LingAppServerCollaborationKind, LingAppServerDeliberationDecideParams, LingAppServerDeliberationSettlementParams, + LingAppServerStageDeliberationStartParams, LingAppServerWorkItemCollaborationAppendParams, LingAppServerWorkItemCollaborationAppendResult, LingAppServerWorkItemCollaborationReadParams, LingAppServerWorkItemCollaborationReadResult, - LingAppServerWorkItemWorkflowStages, } from "@ling-stack/contracts"; import { appendWorkItemCollaboration, fromAppServerCollaborationParams, listWorkItemCollaboration, + readWorkItemCollaborationRecord, toAppServerCollaborationRecord, + workItemWorkflowDecisionId, + type WorkItemWorkflowDecisionSubject, WORK_ITEM_COLLABORATION_CONTENT_PREFIX, type WorkItemCollaborationRecord, } from "@ling-stack/core"; @@ -77,18 +80,35 @@ export function readAppServerWorkItemCollaborationKind( return result.records; } -export function bindAppServerStageBriefs( - store: RunStore, - workflow: LingAppServerWorkItemWorkflowStages, -): LingAppServerWorkItemWorkflowStages { - return { ...workflow, steps: workflow.steps.map(step => { - if (!["succeeded", "failed", "cancelled", "skipped", "blocked"].includes(step.status)) return step; - const [transition] = store.listStateTransitionEvents({ entityType: "workflow_step", entityId: step.stepId, limit: 1 }); - return transition?.toStatus === step.status ? { - ...step, - briefBasis: { transitionId: transition.id, committedAt: transition.createdAt }, - } : step; - }) }; +export function startAppServerStageDeliberation( + store: RunStore, input: LingAppServerStageDeliberationStartParams, now: string, cwd: string, +): LingAppServerWorkItemCollaborationAppendResult & { readonly event?: ControlPlaneEvent } { + if (input.expectedWorkItemRevision < 1 || !input.idempotencyKey.trim() || input.idempotencyKey.length > 200) { + throw new AppServerCollaborationError("invalid_params", "Supply the current Work Item revision and a bounded request key."); + } + const item = store.getWorkItem(input.workItemId); + const step = store.getChannelWorkflowStep(input.workflowStepId); + const required = step?.metadata?.requiredPlanDecision; + if (!item || !item.workflowId || !item.planRevision || step?.workflowId !== item.workflowId || !required) { + throw new AppServerCollaborationError("stale_revision", "The Work Item does not have this accepted decision point."); + } + const subject = { workItemId: item.id, planRevision: item.planRevision, workflowStepId: step.id }; + const id = workItemWorkflowDecisionId(subject, "round"); + const prior = readWorkItemCollaborationRecord(store, item.id, id); + if (prior && prior.idempotencyKey !== input.idempotencyKey) { + throw new AppServerCollaborationError("stale_revision", "The accepted decision point already has a round."); + } + if (!prior && (store.getWorkItemWorkflowAdmissionBlocker(item.workflowId) || !["queued", "blocked"].includes(step.status))) { + throw new HttpError(409, "resume_blocked", "The Work Item cannot open this decision point now."); + } + const result = appendWorkItemCollaboration(store, { + id, workItemId: item.id, expectedWorkItemRevision: input.expectedWorkItemRevision, + kind: "deliberation", action: "started", actorId: "local-user", idempotencyKey: input.idempotencyKey, + payload: { decisionPoint: required.question, options: required.options, workflowDecision: subject }, + sourceRefs: [{ type: "workflow_step", id: step.id, revision: item.planRevision }], + }, now, cwd); + if (!result || result.record.id !== id) throw new AppServerCollaborationError("stale_revision", "The decision point changed before the round opened."); + return result; } export function settleAppServerDeliberation( @@ -100,11 +120,8 @@ export function settleAppServerDeliberation( ): LingAppServerWorkItemCollaborationAppendResult & { readonly event?: ControlPlaneEvent } { const item = store.getWorkItem(input.workItemId); if (!item) throw new AppServerCollaborationError("work_item_not_found", "The Work Item is unavailable."); - const roundEntry = store.getWorkItemEvidence(input.roundId); - const round = roundEntry?.workItemId === item.id && roundEntry.subjectRevision === `work-item-collaboration:${roundEntry.idempotencyKey}` - ? listWorkItemCollaboration(store, { workItemId: item.id, kind: "deliberation", afterRevision: roundEntry.sequence - 1, limit: 1 }).records[0] - : undefined; - if (!round || round.action !== "started" || round.collaborationRevision !== input.expectedRoundRevision) { + const round = readWorkItemCollaborationRecord(store, item.id, input.roundId); + if (round?.kind !== "deliberation" || round.action !== "started" || round.collaborationRevision !== input.expectedRoundRevision) { throw new AppServerCollaborationError("stale_revision", "The deliberation round or its revision is unavailable."); } if (decision?.disposition === "selected" && (!isRecord(round.payload) || !Array.isArray(round.payload.options) @@ -112,17 +129,27 @@ export function settleAppServerDeliberation( throw new AppServerCollaborationError("invalid_params", "Select an option recorded when the round opened."); } - const id = `work_item_deliberation_${createHash("sha256").update(round.id).digest("hex")}`; + const workflowDecision = readWorkflowDecisionSubject(round); + const id = workflowDecision ? workItemWorkflowDecisionId(workflowDecision, "resolution") + : `work_item_deliberation_${createHash("sha256").update(round.id).digest("hex")}`; const prior = store.getWorkItemEvidence(id); if (prior && prior.idempotencyKey !== input.idempotencyKey) { throw new AppServerCollaborationError("stale_revision", "The deliberation round already has a resolution."); } - if (!prior && (item.revision !== input.expectedWorkItemRevision || hasPriorResolution(store, round))) { + if (!prior && (item.revision !== input.expectedWorkItemRevision || !workflowDecision && hasPriorResolution(store, round))) { throw new AppServerCollaborationError("stale_revision", "The Work Item revision changed or the deliberation round already has a resolution."); } if (!prior && decision && (item.control.state !== "active" || item.holds.some(hold => hold.blocksNewAdmission))) { throw new HttpError(409, "resume_blocked", "The Work Item is held. A held round can be cancelled."); } + if (!prior && decision && workflowDecision) { + const step = store.getChannelWorkflowStep(workflowDecision.workflowStepId); + if (item.planRevision !== workflowDecision.planRevision || !step?.metadata?.requiredPlanDecision || step.workflowId !== item.workflowId + || store.getWorkItemWorkflowAdmissionBlocker(step.workflowId) + || decision.disposition === "selected" && !step.metadata.requiredPlanDecision.options.includes(decision.option)) { + throw new AppServerCollaborationError("stale_revision", "The accepted decision point no longer applies to this Workflow."); + } + } const action = decision ? "decided" : "cancelled"; const payload = decision ? { ...decision, reason: input.reason } : { reason: input.reason }; const sourceRefs = [{ type: "deliberation_round", id: round.id, revision: String(round.collaborationRevision) }]; @@ -165,6 +192,13 @@ export function settleAppServerDeliberation( } }; } +function readWorkflowDecisionSubject(round: WorkItemCollaborationRecord): WorkItemWorkflowDecisionSubject | undefined { + const subject = isRecord(round.payload) ? round.payload.workflowDecision : undefined; + if (!isRecord(subject) || typeof subject.planRevision !== "string" || typeof subject.workflowStepId !== "string") return undefined; + const result = { workItemId: round.workItemId, planRevision: subject.planRevision, workflowStepId: subject.workflowStepId }; + return round.id === workItemWorkflowDecisionId(result, "round") ? result : undefined; +} + function hasPriorResolution(store: RunStore, round: WorkItemCollaborationRecord): boolean { let afterRevision = round.collaborationRevision; for (;;) { diff --git a/packages/daemon/src/server/rpc.ts b/packages/daemon/src/server/rpc.ts index 061f3e8e7..729b8ce46 100644 --- a/packages/daemon/src/server/rpc.ts +++ b/packages/daemon/src/server/rpc.ts @@ -125,9 +125,9 @@ import { continuationSourceReady } from "../runtime/continuation-source-barrier. import { AppServerCollaborationError, appendAppServerWorkItemCollaboration, - bindAppServerStageBriefs, readAppServerWorkItemCollaboration, settleAppServerDeliberation, + startAppServerStageDeliberation, } from "./app-server-collaboration.js"; type JsonRpcId = string | number | null; @@ -199,7 +199,7 @@ const recoveryGuardedMethods = new Set([ "github/delivery/enqueue", "runs.start", "turn/start", "turn/queue", "turn/resume", "handoff/resume", "approval/respond", "input/respond", "plan/accept", "workItem/create", "workItem/accept", "workItem/workflow/bind", "workItem/resume", "github/intake/poll", - "workItem/coordination/start", "workItem/coordination/schedule/set", "workItem/deliberation/start", "workItem/handoff/accept", + "workItem/coordination/start", "workItem/coordination/schedule/set", "workItem/deliberation/start", "workItem/deliberation/decide", "workItem/handoff/accept", "externalAgent/task/start", "verify/start", "review/start", "simplify/start", "changes/apply", "worktree/create", "worktree/cleanup", ]); export function attachRpcWebSocketServer( @@ -888,7 +888,7 @@ class RpcConnection { case "workItem/cancel": return this.controlWorkItem("cancel", params); case "workItem/deliberation/start": - return this.appendCollaboration("deliberation", "started", params); + return this.startWorkItemDeliberation(params); case "workItem/deliberation/decide": return this.settleWorkItemDeliberation("decided", params); case "workItem/deliberation/cancel": @@ -1290,8 +1290,7 @@ class RpcConnection { afterRevision: readOptionalIntegerField(record, "afterRevision"), limit: readOptionalIntegerField(record, "limit") }); const includeEvidence = this.grant?.subject.kind !== "workItem"; const workflow = readWorkItemWorkflowStages(store, workItem, includeEvidence, offset); - return { cwd, ...collaboration, workflow: workflow && includeEvidence - ? bindAppServerStageBriefs(store, workflow) : workflow }; + return { cwd, ...collaboration, workflow }; }); } @@ -1305,6 +1304,25 @@ class RpcConnection { return this.appendCollaboration(kind, action, params); } + private startWorkItemDeliberation(params: unknown): unknown { + if (readParamsRecord(params).workflowStepId === undefined) return this.appendCollaboration("deliberation", "started", params); + const { cwd, ...record } = this.workspaceParams(params, true); + const input = { + workItemId: readStringField(record, "workItemId"), + workflowStepId: readStringField(record, "workflowStepId"), + expectedWorkItemRevision: readIntegerField(record, "expectedWorkItemRevision", "expectedWorkItemRevision"), + idempotencyKey: readStringField(record, "idempotencyKey"), + }; + try { + const store = this.context.storeRegistry.getStore(cwd); + const { event, ...result } = startAppServerStageDeliberation(store, input, new Date().toISOString(), cwd); + if (event) this.context.controlPlaneEvents.publish(trimOversizedEvent(event)); + return { cwd, ...result }; + } catch (error) { + throw collaborationRpcError(error); + } + } + private settleWorkItemDeliberation(action: "decided" | "cancelled", params: unknown): unknown { const { cwd, ...record } = this.workspaceParams(params, true); const input = { @@ -1323,7 +1341,10 @@ class RpcConnection { try { const store = this.context.storeRegistry.getStore(cwd); const { event, ...result } = settleAppServerDeliberation(store, input, decision, new Date().toISOString(), cwd); - if (event) this.context.controlPlaneEvents.publish(trimOversizedEvent(event)); + if (event) { + this.context.controlPlaneEvents.publish(trimOversizedEvent(event)); + if (decision?.disposition === "selected") this.context.taskSupervisor.poke(cwd); + } return { cwd, ...result }; } catch (error) { throw collaborationRpcError(error); @@ -3046,6 +3067,8 @@ function recoveryAdmissionRequest(method: string, params: unknown): boolean { if (recoveryGuardedMethods.has(method)) return true; const record = readParamsRecord(params); return method === "instructions/init" && record.mode === "apply" + || method === "workItem/collaboration/append" && (record.kind === "deliberation" && (record.action === "started" || record.action === "decided") + || record.kind === "coordination" && record.action === "started" || record.kind === "handoff" && record.action === "accepted") || method === "turn/interrupt" && typeof record.message === "string"; } diff --git a/packages/daemon/test/app-server-release-acceptance.test.ts b/packages/daemon/test/app-server-release-acceptance.test.ts index 5b94be7b0..37593d4c5 100644 --- a/packages/daemon/test/app-server-release-acceptance.test.ts +++ b/packages/daemon/test/app-server-release-acceptance.test.ts @@ -47,6 +47,7 @@ import type { LingAppServerWorkItemReadResult, LingAppServerWorkItemResult, LingAppServerWorkItemSnapshot, + ProposedPlanActionResponse, LingAppServerWorktreeCleanupPreview, LingAppServerWorktreeCleanupResult, LingAppServerWorktreeResult, @@ -2239,12 +2240,12 @@ test("an operator resolves a deliberation round once against its current revisio assert.equal(fixture.getStore().listRuns().length, 0); }); -test("an accepted Work Item resumes the original Workflow once after a paused stage and daemon restart", { timeout: 30_000 }, async t => { +test("a staged Work Item recovers its original Workflow, runs independent QA and releases one decision dependency", { timeout: 40_000 }, async t => { let completeContract: () => void = () => undefined; const contractGate = new Promise(resolve => { completeContract = resolve; }); const provider = await startLoopbackPiProvider(async (_input: unknown, request: number) => { if (request === 1) await contractGate; - return { text: request === 1 ? "Contract verified" : "Implementation verified" }; + return { text: "Stage completed" }; }); t.after(async () => { completeContract(); await provider.close(); }); const fixture = await releaseFixture(t); @@ -2257,18 +2258,38 @@ test("an accepted Work Item resumes the original Workflow once after a paused st title: "Workflow plan", objective: "Bind an accepted plan to staged execution" }, now); const plan = store.upsertProposedPlanArtifact({ id: "plan_workflow_owned", threadId: thread.id, channelId: channel.id, title: "Staged implementation", bodyMarkdown: "Implement the staged change", status: "draft" }, now); - const converted = store.applyProposedPlanArtifactAction(plan.id, { - threadId: thread.id, action: "convert-workflow", expectedRevision: plan.revision, createdBy: "local-user", - workflowStepPreviews: [ - { title: "P01 accept the contract", ownerId: "teammate_builtin_engineer", ownerLabel: "Engineer" }, - { title: "P02 review the implementation", ownerId: "teammate_builtin_qa", ownerLabel: "QA" }, - ], - }, now); + const request = async (path: string, body?: object) => { + const { daemonUrl, authToken } = fixture.transportOptions(); + return fetch(`${daemonUrl}${path}?cwd=${encodeURIComponent(fixture.cwd)}`, { + ...(body ? { method: "POST", body: JSON.stringify(body) } : {}), + headers: { "content-type": "application/json", authorization: `Bearer ${authToken}` }, + }); + }; + const conversionPath = `/threads/${thread.id}/proposed-plans/${plan.id}/convert-workflow`; + const p01Preview = { title: "P01 accept the contract", stageId: "P01", ownerId: "teammate_builtin_engineer", ownerLabel: "Engineer" }; + const p02Preview = { title: "P02 implement the selected approach", stageId: "P02", dependsOnStageIds: ["P01"], + ownerId: "teammate_builtin_engineer", ownerLabel: "Engineer", + requiredDecision: { question: "Which compatible approach should this stage implement?", options: ["Adapter", "Migration"] } }; + const qaPreview = { title: "Prepare contract regression checks", stageId: "QA", dependsOnStageIds: ["P01"], + ownerId: "teammate_builtin_qa", ownerLabel: "QA" }; + const invalid = await request(conversionPath, { expectedRevision: plan.revision, + workflowStepPreviews: [{ ...p01Preview, dependsOnStageIds: ["P02"] }, p02Preview] }); + assert.equal(invalid.status, 400); + assert.equal((await invalid.json() as { error: string }).error, "bad_workflow_stage_dependencies"); + assert.equal(store.getProposedPlanArtifact(plan.id)?.revision, plan.revision); + const planResponse = await request(conversionPath, { expectedRevision: plan.revision, workflowStepPreviews: [p02Preview, p01Preview, qaPreview] }); + assert.ok(planResponse.ok, await planResponse.clone().text()); + const converted = await planResponse.json() as ProposedPlanActionResponse; assert.ok(converted.workflowId); assert.equal(converted.plan.acceptedWorkflowId, converted.workflowId); - const [p01, p02] = store.listChannelWorkflowSteps({ workflowId: converted.workflowId, complete: true }); - assert.ok(p01 && p02); - store.updateChannelWorkflowStep(p02.id, { metadata: { ...p02.metadata, dependsOnStepIds: [p01.id] } }, now); + const [p02, p01, qa] = store.listChannelWorkflowSteps({ workflowId: converted.workflowId, complete: true }); + assert.ok(p01 && p02 && qa); + assert.deepEqual(p02.metadata?.dependsOnStepIds, [p01.id]); + assert.deepEqual(qa.metadata?.dependsOnStepIds, [p01.id]); + const startImplementation = () => request(`/workflow-steps/${encodeURIComponent(p02.id)}/start`, { mode: "create_and_run_task" }); + const unbound = await startImplementation(); + assert.equal(unbound.status, 409); + assert.equal((await unbound.json() as { error: string }).error, "work_item_workflow_unbound"); const item = store.upsertWorkItem({ sourceType: "manual", sourceId: "workflow-owned-work", title: "Staged implementation", channelId: channel.id, initialStatus: "ready" }, now); const client = await fixture.connect(); @@ -2292,15 +2313,9 @@ test("an accepted Work Item resumes the original Workflow once after a paused st assert.equal(bound.binding.planRevision, converted.plan.revision); const stages = await client.call("workItem/stage/read", { workItemId: item.id }); assert.equal(stages.workflow?.workflowId, converted.workflowId); - assert.deepEqual(stages.workflow?.steps.map(step => step.status), ["queued", "queued"]); + assert.deepEqual(stages.workflow?.steps.map(({ stageId, status }) => [stageId, status]), [["P02", "queued"], ["P01", "queued"], ["QA", "queued"]]); + assert.equal(stages.workflow?.steps[0]?.admissionBlocker, "work_item_decision_pending"); assert.ok(stages.workflow?.steps.every(step => step.briefBasis === undefined)); - const request = async (path: string, body?: object) => { - const { daemonUrl, authToken } = fixture.transportOptions(); - return fetch(`${daemonUrl}${path}?cwd=${encodeURIComponent(fixture.cwd)}`, { - ...(body ? { method: "POST", body: JSON.stringify(body) } : {}), - headers: { "content-type": "application/json", authorization: `Bearer ${authToken}` }, - }); - }; const workflowPath = `/workflows/${encodeURIComponent(converted.workflowId)}/orchestrate`; const itemPath = `/work-items/${encodeURIComponent(item.id)}`; const start = await request(workflowPath, {}); @@ -2317,7 +2332,7 @@ test("an accepted Work Item resumes the original Workflow once after a paused st const orchestration = await response.json() as { status: string; blocker?: string }; assert.equal(orchestration.status, "blocked"); assert.equal(orchestration.blocker, "work_item_workflow_held"); - const direct = await request(`/workflow-steps/${encodeURIComponent(p02.id)}/start`, { mode: "create_and_run_task" }); + const direct = await startImplementation(); assert.equal(direct.status, 409); assert.equal((await direct.json()).error, "work_item_workflow_held"); const legacyClaim = await request(`${itemPath}/claim`, { ownerId: "legacy-claim" }); @@ -2359,22 +2374,50 @@ test("an accepted Work Item resumes the original Workflow once after a paused st await waitFor(() => resumedClient.notices.find(event => event.params?.eventId === stageEvent.params?.eventId)); const held = await resumedClient.call("workItem/stage/read", { workItemId: item.id }); assert.equal(held.workflow?.admissionBlocker, "work_item_workflow_held"); - assert.deepEqual(held.workflow?.steps.map(step => step.status), ["succeeded", "queued"]); + assert.deepEqual(held.workflow?.steps.map(step => step.status), ["queued", "succeeded", "queued"]); assert.deepEqual((await readBrief(resumedClient)).workflow?.steps.find(step => step.stepId === p01.id), brief); assert.equal(provider.requests.length, 1); - await resumedClient.call("workItem/resume", { + const resumed = await resumedClient.call("workItem/resume", { workItemId: item.id, actorId: "local-user", expectedWorkItemRevision: Number(paused.workItem.revision), expectedControlGeneration: 1, idempotencyKey: "workflow-owned-resume", }); const resumedStore = fixture.getStore(); - await waitFor(() => resumedStore.getChannelWorkflow(converted.workflowId!)?.status === "succeeded" ? true : undefined); - assert.equal(provider.requests.length, 2); - assert.equal(resumedStore.listRuns({ workflowStepId: p01.id }).length, 1); - assert.equal(resumedStore.listRuns({ workflowStepId: p02.id }).length, 1); + await waitFor(() => resumedStore.getChannelWorkflowStep(qa.id)?.status === "succeeded" ? true : undefined); + assert.equal(resumedStore.listRuns({ workflowStepId: p02.id }).length, 0); + const pending = await startImplementation(); + assert.equal(pending.status, 409); + assert.equal((await pending.json() as { error: string }).error, "work_item_decision_pending"); + const opening = { workItemId: item.id, workflowStepId: p02.id, expectedWorkItemRevision: Number(resumed.workItem.revision), + idempotencyKey: "workflow-owned-decision" }; + const round = await resumedClient.call("workItem/deliberation/start", opening); + assert.deepEqual((round.record.payload as { options: readonly string[] }).options, ["Adapter", "Migration"]); + await assert.rejects(resumedClient.call("workItem/deliberation/start", { ...opening, expectedWorkItemRevision: round.workItemRevision, + idempotencyKey: "duplicate-decision" }), { code: "stale_revision" }); + await fixture.restart(); + const decisionClient = await fixture.connect(); + const decision = { + workItemId: item.id, roundId: round.record.id, expectedRoundRevision: round.record.collaborationRevision, + expectedWorkItemRevision: round.workItemRevision, idempotencyKey: "workflow-owned-selected", reason: "Keep both compatibility paths", + decision: { disposition: "selected", option: "Adapter" }, + }; + await assert.rejects(decisionClient.call("workItem/deliberation/decide", { ...decision, + decision: { disposition: "selected", option: "Rewrite" } }), { code: "invalid_params" }); + const selected = await decisionClient.call("workItem/deliberation/decide", decision); + const retried = await decisionClient.call("workItem/deliberation/decide", decision); + assert.equal(retried.status, "replayed"); + assert.equal(retried.record.id, selected.record.id); + const finishedStore = fixture.getStore(); + await waitFor(() => finishedStore.getChannelWorkflow(converted.workflowId!)?.status === "succeeded" ? true : undefined); + for (const step of [p01, p02, qa]) assert.equal(finishedStore.listRuns({ workflowStepId: step.id }).length, 1); + assert.ok(provider.requests.some(body => { + const input = JSON.stringify(body); + return input.includes("Accepted Plan decision:") && input.includes(selected.record.id); + }), "The implementation did not receive the accepted decision."); const detail = await request(itemPath); assert.equal(detail.status, 200); const body = await detail.json() as { workflow?: LingAppServerWorkItemCollaborationReadResult["workflow"] }; - assert.deepEqual(body.workflow?.steps.map(step => step.status), ["succeeded", "succeeded"]); + assert.deepEqual(body.workflow?.steps.map(step => step.status), ["succeeded", "succeeded", "succeeded"]); + assert.deepEqual(body.workflow?.steps.find(step => step.stepId === p01.id)?.briefBasis, brief.briefBasis); }); test("App Server reads bounded artifact ranges without exposing private metadata", { timeout: 20_000 }, async t => { From 3fd8e26f2b5644c4e825bc6fac931090eeed0c88 Mon Sep 17 00:00:00 2001 From: tianxiaochannel-oss88 Date: Mon, 23 Nov 2026 02:44:24 +0800 Subject: [PATCH 037/147] test(app-server): identify portable Codex host fixture --- packages/daemon/test/app-server-release-acceptance.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/daemon/test/app-server-release-acceptance.test.ts b/packages/daemon/test/app-server-release-acceptance.test.ts index 37593d4c5..8efd71653 100644 --- a/packages/daemon/test/app-server-release-acceptance.test.ts +++ b/packages/daemon/test/app-server-release-acceptance.test.ts @@ -1204,7 +1204,7 @@ test("the reference control host negotiates installed Codex and streams an actua const { daemonUrl, authToken } = fixture.transportOptions(); const cli = fileURLToPath(new URL("../../cli/dist/index.js", import.meta.url)); const running = spawn(process.execPath, [cli, "--cwd", fixture.cwd, "--daemon-url", daemonUrl, - "app-server", "codex-host", "--thread", thread.id, "--state", join(fixture.root, "native-host.sqlite"), + "app-server", "codex-host", "--thread", thread.id, "--state", join(fixture.root, "codex-host.sqlite"), "--codex", codexExecutable!], { env: { ...process.env, LING_STACK_AUTH_TOKEN: authToken }, stdio: "pipe" }); const peer = jsonLines(running.stdin, running.stdout); const stopped = once(running, "close"); From b21569476c0193392ff6012c3b725636b5f5a153 Mon Sep 17 00:00:00 2001 From: tianxiaochannel-oss88 Date: Mon, 23 Nov 2026 02:44:24 +0800 Subject: [PATCH 038/147] fix(web): open bound workflow from its channel work item --- apps/web/src/app/AppShell.tsx | 1 + apps/web/src/features/work-board/ChannelWorkBoard.tsx | 5 ++++- .../web/src/features/workspace/ChannelActivityToolsPanel.tsx | 3 +++ apps/web/src/features/workspace/WorkspaceClientView.tsx | 2 ++ .../src/features/workspace/workspace-client-view.types.ts | 1 + apps/web/src/lib/work-items.ts | 5 ++++- 6 files changed, 15 insertions(+), 2 deletions(-) diff --git a/apps/web/src/app/AppShell.tsx b/apps/web/src/app/AppShell.tsx index 3fe289726..0bc33310c 100644 --- a/apps/web/src/app/AppShell.tsx +++ b/apps/web/src/app/AppShell.tsx @@ -3029,6 +3029,7 @@ export function AppShell(): React.JSX.Element { proposedRuleFingerprint, )} onClaimWorkItem={(workItemId) => void claimDurableWorkItem(workItemId)} + onInspectWorkItem={id => openWorkBoard("global", id)} onHeartbeatWorkItem={(workItemId, claimToken) => void heartbeatDurableWorkItem(workItemId, claimToken)} onReleaseWorkItem={(workItemId, claimToken) => void releaseDurableWorkItem(workItemId, claimToken)} onCompleteWorkItem={(workItemId, claimToken) => void completeDurableWorkItem(workItemId, claimToken)} diff --git a/apps/web/src/features/work-board/ChannelWorkBoard.tsx b/apps/web/src/features/work-board/ChannelWorkBoard.tsx index 098626894..a202fc556 100644 --- a/apps/web/src/features/work-board/ChannelWorkBoard.tsx +++ b/apps/web/src/features/work-board/ChannelWorkBoard.tsx @@ -20,6 +20,7 @@ interface ChannelWorkBoardProps { readonly onOpenTask: (taskId: string) => void; readonly onOpenRun: (runId: string) => void; readonly onOpenApproval: (approvalId: string) => void; + readonly onInspectWorkItem?: (workItemId: string) => void; readonly onClaimWorkItem?: (workItemId: string) => void; readonly onHeartbeatWorkItem?: (workItemId: string, claimToken: string) => void; readonly onReleaseWorkItem?: (workItemId: string, claimToken: string) => void; @@ -45,7 +46,9 @@ export function ChannelWorkBoard(props: ChannelWorkBoardProps): React.JSX.Elemen
    {workItemActionGroupOrder.map((groupKey) => { const group = items.filter((item) => workItemActionGroup(item) === groupKey); - return group.length > 0 ?
    {t(workItemActionGroupLabel(groupKey))}{group.length}
    {group.map((item) => )}
    : null; + return group.length > 0 ?
    {t(workItemActionGroupLabel(groupKey))}{group.length}
    {group.map((item) => )}
    : null; })}
    )} diff --git a/apps/web/src/features/workspace/ChannelActivityToolsPanel.tsx b/apps/web/src/features/workspace/ChannelActivityToolsPanel.tsx index 143e3488a..f3278d519 100644 --- a/apps/web/src/features/workspace/ChannelActivityToolsPanel.tsx +++ b/apps/web/src/features/workspace/ChannelActivityToolsPanel.tsx @@ -60,6 +60,7 @@ interface ChannelActivityToolsPanelProps { readonly onOpenTask: (taskId: string) => void; readonly onOpenRun: (runId: string) => void; readonly onOpenApproval: (approvalId: string) => void; + readonly onInspectWorkItem?: (workItemId: string) => void; readonly onClaimWorkItem: (workItemId: string) => void; readonly onHeartbeatWorkItem: (workItemId: string, claimToken: string) => void; readonly onReleaseWorkItem: (workItemId: string, claimToken: string) => void; @@ -107,6 +108,7 @@ export function ChannelActivityToolsPanel({ onOpenTask, onOpenRun, onOpenApproval, + onInspectWorkItem, onClaimWorkItem, onHeartbeatWorkItem, onReleaseWorkItem, @@ -253,6 +255,7 @@ export function ChannelActivityToolsPanel({ onOpenTask={onOpenTask} onOpenRun={onOpenRun} onOpenApproval={onOpenApproval} + onInspectWorkItem={onInspectWorkItem} onClaimWorkItem={onClaimWorkItem} onHeartbeatWorkItem={onHeartbeatWorkItem} onReleaseWorkItem={onReleaseWorkItem} diff --git a/apps/web/src/features/workspace/WorkspaceClientView.tsx b/apps/web/src/features/workspace/WorkspaceClientView.tsx index 30782841a..bbfa4e069 100644 --- a/apps/web/src/features/workspace/WorkspaceClientView.tsx +++ b/apps/web/src/features/workspace/WorkspaceClientView.tsx @@ -446,6 +446,7 @@ export function WorkspaceClientView({ onReconcileWorkUnit, onResolveApproval, onClaimWorkItem, + onInspectWorkItem, onHeartbeatWorkItem, onReleaseWorkItem, onCompleteWorkItem, @@ -4006,6 +4007,7 @@ export function WorkspaceClientView({ onOpenRun: openRunInPanel, onOpenApproval: (approvalId) => openApprovalDetail(approvals.find((approval) => approval.id === approvalId)), onClaimWorkItem, + onInspectWorkItem, onHeartbeatWorkItem, onReleaseWorkItem, onCompleteWorkItem, diff --git a/apps/web/src/features/workspace/workspace-client-view.types.ts b/apps/web/src/features/workspace/workspace-client-view.types.ts index aba786602..e9a1e9803 100644 --- a/apps/web/src/features/workspace/workspace-client-view.types.ts +++ b/apps/web/src/features/workspace/workspace-client-view.types.ts @@ -290,6 +290,7 @@ export interface WorkspaceClientViewProps { proposedRuleFingerprint?: string, ) => void; readonly onClaimWorkItem: (workItemId: string) => void; + readonly onInspectWorkItem?: (workItemId: string) => void; readonly onHeartbeatWorkItem: (workItemId: string, claimToken: string) => void; readonly onReleaseWorkItem: (workItemId: string, claimToken: string) => void; readonly onCompleteWorkItem: (workItemId: string, claimToken: string) => void; diff --git a/apps/web/src/lib/work-items.ts b/apps/web/src/lib/work-items.ts index ef9e8343e..5d5399cd5 100644 --- a/apps/web/src/lib/work-items.ts +++ b/apps/web/src/lib/work-items.ts @@ -301,7 +301,7 @@ export function isActionableWorkItem(item: WorkItemView): boolean { item.status === "review" || Boolean(item.approvalId) || Boolean(item.claim) || - Boolean(item.durable && !item.claim) || + Boolean(item.durable && !item.claim && !item.planRevision) || Boolean(!item.channelId && !item.assigneeTeammateId && !item.claim); } @@ -343,6 +343,9 @@ export function workItemNextActionLabel(item: WorkItemView): string { if (item.status === "blocked") { return item.runId ? "View failure" : "Review blocker"; } + if (item.durable && item.workflowId && item.planRevision) { + return "Open workflow"; + } if (item.durable && !item.claim && !isTerminalWorkItemView(item)) { return "Claim to handle"; } From 0eb2f8809d5e482bb522b29e6969321ef275d173 Mon Sep 17 00:00:00 2001 From: tianxiaochannel-oss88 Date: Mon, 23 Nov 2026 03:00:43 +0800 Subject: [PATCH 039/147] feat(learning): capture work item experience with durable review receipts --- packages/api-client/src/app-server.ts | 7 +++ packages/contracts/src/app-server-schema.ts | 9 ++- packages/contracts/src/app-server.ts | 15 +++++ packages/contracts/src/learning-reviews.ts | 5 ++ packages/core/src/learning-review-types.ts | 11 +++- .../storage/sqlite/learning-review-store.ts | 16 +++-- .../daemon/src/features/learning/evidence.ts | 60 ++++++++++++++++++- .../daemon/src/features/learning/routes.ts | 6 +- .../features/learning/work-item-feedback.ts | 40 +++++++++++++ packages/daemon/src/server/rpc.ts | 20 ++++++- .../app-server-release-acceptance.test.ts | 14 +++++ 11 files changed, 193 insertions(+), 10 deletions(-) create mode 100644 packages/daemon/src/features/learning/work-item-feedback.ts diff --git a/packages/api-client/src/app-server.ts b/packages/api-client/src/app-server.ts index 20d633d2c..fa89c2d01 100644 --- a/packages/api-client/src/app-server.ts +++ b/packages/api-client/src/app-server.ts @@ -98,6 +98,8 @@ import type { LingAppServerWorkItemCollaborationAppendResult, LingAppServerWorkItemCollaborationReadParams, LingAppServerWorkItemCollaborationReadResult, + LingAppServerWorkItemFeedbackParams, + LingAppServerWorkItemFeedbackResult, LingAppServerDeliberationDecideParams, LingAppServerDeliberationSettlementParams, LingAppServerStageDeliberationStartParams, @@ -607,6 +609,11 @@ export class LingAppServerClient { return await this.readWorkItemCollaboration({ ...params, kind: "coordination" }); } + async addWorkItemFeedback(params: LingAppServerWorkItemFeedbackParams): Promise { + await this.connect(); + return await this.request("workItem/feedback/add", params); + } + async subscribe(params: LingAppServerSubscriptionParams): Promise { await this.connect(); const method = params.threadId ? "thread/subscribe" : "workItem/subscribe"; diff --git a/packages/contracts/src/app-server-schema.ts b/packages/contracts/src/app-server-schema.ts index 9e6afc689..3366b083d 100644 --- a/packages/contracts/src/app-server-schema.ts +++ b/packages/contracts/src/app-server-schema.ts @@ -258,8 +258,15 @@ function schemaFor(method: LingAppServerMethod): LingAppServerMethodSchema { case "workItem/question/reply": case "workItem/handoff/accept": case "workItem/handoff/return": - case "workItem/feedback/add": return { params: objectWith(collaborationAppend, ["workItemId"]), result }; + case "workItem/feedback/add": + return { params: objectWith({ ...collaborationAppend, sourceRunId: stringSchema, providerPresetId: stringSchema }, ["workItemId"]), + result: { oneOf: [ + objectWith({ cwd: stringSchema, job: objectSchema, replayed: booleanSchema }, ["cwd", "job", "replayed"]), + objectWith({ status: { enum: ["appended", "replayed"] }, record: objectSchema, workItemRevision: integerSchema }, + ["status", "record", "workItemRevision"]), + ] }, + }; case "workItem/coordination/schedule/read": case "workItem/coordination/schedule/set": return { params: objectWith({ ...workItemTarget, automationId: stringSchema, expectedRevision: integerSchema, diff --git a/packages/contracts/src/app-server.ts b/packages/contracts/src/app-server.ts index e3d4908d3..9e3495bac 100644 --- a/packages/contracts/src/app-server.ts +++ b/packages/contracts/src/app-server.ts @@ -831,6 +831,21 @@ export interface LingAppServerWorkItemCollaborationAppendResult { readonly workItemRevision: number; } +export interface LingAppServerWorkItemFeedbackParams { + readonly cwd?: string; + readonly workItemId: string; + readonly expectedWorkItemRevision: number; + readonly sourceRunId: string; + readonly providerPresetId: string; + readonly idempotencyKey: string; +} + +export interface LingAppServerWorkItemFeedbackResult { + readonly cwd: string; + readonly job: import("./learning-reviews.js").LearningReviewJob; + readonly replayed: boolean; +} + export interface LingAppServerDeliberationTriggerPolicyV1 { readonly enabled: boolean; readonly onPlanFormation: boolean; diff --git a/packages/contracts/src/learning-reviews.ts b/packages/contracts/src/learning-reviews.ts index 09e469cf3..a429df301 100644 --- a/packages/contracts/src/learning-reviews.ts +++ b/packages/contracts/src/learning-reviews.ts @@ -17,6 +17,11 @@ export interface LearningEvidenceBundle { readonly channelId?: string; readonly teammateId?: string; readonly sourceAttemptId?: string; + readonly workItem?: { + readonly id: string; + readonly revision: number; + readonly requestKey: string; + }; readonly selectedSkillId?: string; readonly selectedSkillRevisionId?: string; readonly taskUpdatedAt?: string; diff --git a/packages/core/src/learning-review-types.ts b/packages/core/src/learning-review-types.ts index eb05e8b10..492f2d653 100644 --- a/packages/core/src/learning-review-types.ts +++ b/packages/core/src/learning-review-types.ts @@ -11,10 +11,19 @@ export interface LearningReviewStore { updateLearningReviewPolicy(input: LearningReviewPolicyUpdateRequest, now: string): LearningReviewPolicy; enqueueLearningReview(input: EnqueueLearningReviewInput, now: string): LearningReviewJob; getLearningReviewJob(id: string): LearningReviewJob | undefined; - listLearningReviewJobs(status?: LearningReviewJob["status"], limit?: number, runId?: string, decisionId?: string): LearningReviewJob[]; + listLearningReviewJobs(status?: LearningReviewJob["status"], limit?: number, runId?: string, decisionId?: string, workItemId?: string): LearningReviewJob[]; claimLearningReviewJob(id: string, fence: RuntimeAttemptFenceV1, now: string): LearningReviewJob | undefined; reserveLearningReviewModelRequest(id: string, fence: RuntimeAttemptFenceV1, inputTokens: number, now: string): LearningReviewJob; finishLearningReviewJob(id: string, fence: RuntimeAttemptFenceV1, status: "succeeded" | "failed" | "cancelled", candidateIds: readonly string[], reason: string | undefined, now: string): LearningReviewJob; cancelLearningReviewJob(id: string, reason: string, now: string): LearningReviewJob | undefined; } +import { createHash } from "node:crypto"; + +export function workItemLearningReviewSourceKey(workspaceId: string, workItemId: string, requestKey: string): string { + return createHash("sha256").update(JSON.stringify([workspaceId, "work_item", workItemId, requestKey])).digest("hex"); +} + +export function learningReviewJobId(sourceKey: string): string { + return `learning_review_${sourceKey.slice(0, 32)}`; +} diff --git a/packages/core/src/storage/sqlite/learning-review-store.ts b/packages/core/src/storage/sqlite/learning-review-store.ts index ca1c3351b..986b98bce 100644 --- a/packages/core/src/storage/sqlite/learning-review-store.ts +++ b/packages/core/src/storage/sqlite/learning-review-store.ts @@ -2,6 +2,7 @@ import { createHash } from "node:crypto"; import type { LearningReviewPolicyUpdateRequest, RuntimeAttemptFenceV1 } from "@ling-stack/contracts"; import { LEARNING_REVIEW_MAX_LIMITS, type LearningReviewLimits } from "@ling-stack/contracts"; import type { EnqueueLearningReviewInput, LearningReviewJob, LearningReviewPolicy, LearningReviewStore } from "../../learning-review-types.js"; +import { learningReviewJobId, workItemLearningReviewSourceKey } from "../../learning-review-types.js"; import { DEFAULT_WORKSPACE_ID } from "../../workspace-types.js"; import type { SqliteStoreContext } from "./store-context.js"; @@ -40,8 +41,10 @@ export class SqliteLearningReviewStore implements LearningReviewStore { if (!input.evidence.runId && !input.evidence.decisionId) throw new Error("learning_source_scope_unavailable"); if (input.evidence.schemaVersion !== 1 || input.evidence.items.length > 64 || Buffer.byteLength(JSON.stringify(input.evidence)) > 32_768 || !/^[a-f0-9]{64}$/.test(input.evidence.digest)) throw new Error("learning_evidence_over_budget"); - const sourceKey = createHash("sha256").update(JSON.stringify([input.evidence.workspaceId, - input.evidence.runId, input.evidence.sourceAttemptId, input.evidence.digest])).digest("hex"); + const workItem = input.evidence.workItem; + const sourceKey = workItem ? workItemLearningReviewSourceKey(input.evidence.workspaceId, workItem.id, workItem.requestKey) + : createHash("sha256").update(JSON.stringify([input.evidence.workspaceId, + input.evidence.runId, input.evidence.sourceAttemptId, input.evidence.digest])).digest("hex"); const existing = this.context.database.prepare("SELECT record_json FROM learning_review_jobs WHERE workspace_id = ? AND source_key = ?") .get(input.evidence.workspaceId, sourceKey); if (existing) return JSON.parse(String(existing.record_json)) as LearningReviewJob; @@ -50,7 +53,7 @@ export class SqliteLearningReviewStore implements LearningReviewStore { .get(input.evidence.workspaceId, `${now.slice(0, 10)}T00:00:00.000Z`); if (Number(count?.n) >= (policy.limits ?? LEARNING_REVIEW_MAX_LIMITS).dailyAutomaticJobs) throw new Error("learning_daily_quota_exceeded"); } - const job: LearningReviewJob = { id: `learning_review_${sourceKey.slice(0, 32)}`, workspaceId: input.evidence.workspaceId, + const job: LearningReviewJob = { id: learningReviewJobId(sourceKey), workspaceId: input.evidence.workspaceId, sourceKey, mode: input.mode, policyRevision: policy.revision, providerPresetId: input.providerPresetId, limits: policy.limits ?? LEARNING_REVIEW_MAX_LIMITS, evidence: input.evidence, status: "queued", modelRequests: 0, inputTokensReserved: 0, outputTokensReserved: 0, @@ -65,10 +68,13 @@ export class SqliteLearningReviewStore implements LearningReviewStore { .get(id, DEFAULT_WORKSPACE_ID); return row ? JSON.parse(String(row.record_json)) as LearningReviewJob : undefined; } - listLearningReviewJobs(status?: LearningReviewJob["status"], limit = 50, runId?: string, decisionId?: string): LearningReviewJob[] { + listLearningReviewJobs(status?: LearningReviewJob["status"], limit = 50, runId?: string, decisionId?: string, workItemId?: string): LearningReviewJob[] { if (!Number.isFinite(limit)) throw new Error("learning_limit_invalid"); return this.context.database.prepare(`SELECT record_json FROM learning_review_jobs WHERE workspace_id = ?${status ? " AND status = ?" : ""}${runId ? " AND json_extract(record_json, '$.evidence.runId') = ?" : ""}${decisionId ? " AND json_extract(record_json, '$.evidence.decisionId') = ?" : ""} - ORDER BY created_at ${status ? "ASC" : "DESC"}, rowid ${status ? "ASC" : "DESC"} LIMIT ?`).all(DEFAULT_WORKSPACE_ID, ...(status ? [status] : []), ...(runId ? [runId] : []), ...(decisionId ? [decisionId] : []), Math.max(1, Math.min(100, Math.trunc(limit)))) + ${workItemId ? "AND json_extract(record_json, '$.evidence.workItem.id') = ?" : ""} + ORDER BY created_at ${status ? "ASC" : "DESC"}, rowid ${status ? "ASC" : "DESC"} LIMIT ?`).all(DEFAULT_WORKSPACE_ID, + ...(status ? [status] : []), ...(runId ? [runId] : []), ...(decisionId ? [decisionId] : []), + ...(workItemId ? [workItemId] : []), Math.max(1, Math.min(100, Math.trunc(limit)))) .map(row => JSON.parse(String(row.record_json)) as LearningReviewJob); } claimLearningReviewJob(id: string, fence: RuntimeAttemptFenceV1, now: string): LearningReviewJob | undefined { diff --git a/packages/daemon/src/features/learning/evidence.ts b/packages/daemon/src/features/learning/evidence.ts index 5599509bd..5febcde0c 100644 --- a/packages/daemon/src/features/learning/evidence.ts +++ b/packages/daemon/src/features/learning/evidence.ts @@ -2,6 +2,7 @@ import { createHash } from "node:crypto"; import { redactSecrets, DEFAULT_WORKSPACE_ID, type RunStore, type LearningEvidenceBundle, type LearningEvidenceItem } from "@ling-stack/core"; import { resolveAutomaticMemoryRecallScope } from "../memory/recall-service.js"; import { isRecord } from "../../shared/validation.js"; +import { HttpError } from "../../errors.js"; /** Only selected durable lineage is read. A bounded window is explicit, never a claim of complete evidence. */ export function captureLearningEvidence(store: RunStore, runId: string, correction?: string): LearningEvidenceBundle { @@ -61,6 +62,62 @@ export function captureDecisionLearningEvidence(store: RunStore, decisionId: str return { ...basis, digest: createHash("sha256").update(JSON.stringify(basis)).digest("hex") }; } +export function captureWorkItemLearningEvidence( + store: RunStore, runId: string, workItem: NonNullable, +): LearningEvidenceBundle { + const item = store.getWorkItem(workItem.id); + if (!item || item.revision !== workItem.revision) { + throw new HttpError(409, "stale_revision", "The Work Item changed before its experience could be collected."); + } + const run = store.getRun(runId); + const step = run?.workflowStepId ? store.getChannelWorkflowStep(run.workflowStepId) : undefined; + const workflow = item.workflowId && item.planRevision ? store.getChannelWorkflow(item.workflowId) : undefined; + const finishedStage = workflow?.status === "succeeded" && step?.workflowId === workflow.id + && step.runId === runId && step.status === "succeeded"; + if (run?.status !== "succeeded" || item.control.state !== "active" || ["cancelled", "archived", "superseded"].includes(item.status) + || item.control.unresolvedEffectIds.length + || item.holds.some(hold => hold.blocksNewAdmission) || !(finishedStage || item.status === "done" && item.runId === runId)) { + throw new HttpError(409, "learning_work_item_source_unavailable", "Select a successful Run owned by this completed Work Item."); + } + let captured: LearningEvidenceBundle; + try { + captured = captureLearningEvidence(store, runId); + } catch (error) { + if (!(error instanceof Error) || error.message !== "learning_source_scope_unavailable") throw error; + captured = captureBoundedWorkItemRunEvidence(store, runId, item.workspaceId); + } + const { digest, ...runEvidence } = captured; + return { ...runEvidence, workItem, digest: createHash("sha256").update(JSON.stringify([digest, workItem])).digest("hex") }; +} + +function captureBoundedWorkItemRunEvidence(store: RunStore, runId: string, workspaceId: string): LearningEvidenceBundle { + const run = store.getRun(runId); + if (!run || !["succeeded", "failed", "cancelled"].includes(run.status)) throw new Error("learning_source_not_terminal"); + const task = store.getTask(run.taskId); + const eventCount = store.countEvents(run.id); + const events = store.listEvents(run.id, { afterSeq: Math.max(0, eventCount - 62), limit: 62 }); + const items: LearningEvidenceItem[] = []; + const missing: string[] = eventCount > 62 ? ["earlier_events_omitted"] : []; + let available = 6000; + const append = (item: Omit, value: unknown, maxBytes: number): void => { + const text = clipUtf8(JSON.stringify(redactSecrets(value)), Math.min(maxBytes, available)); + if (!text) { missing.push(`omitted:${item.id}`); return; } + available -= Buffer.byteLength(text); + items.push({ ...item, text }); + }; + if (task) append({ id: `task:${task.id}`, kind: "task", verified: false }, { title: task.title, prompt: task.prompt }, 1200); + for (const event of events) { + if (!["tool_start", "tool_end", "run_end", "message_end"].includes(event.type)) continue; + if (event.type === "message_end" && event.data.role !== undefined && event.data.role !== "assistant") continue; + append({ id: event.id, kind: event.type === "message_end" ? "assistant_message" : event.type as LearningEvidenceItem["kind"], + verified: event.type === "tool_end" && event.data.isError === false }, event.data, 600); + } + const basis = { schemaVersion: 1 as const, workspaceId, runId: run.id, taskId: task?.id, + channelId: run.channelId, teammateId: run.teammateId, runStatus: run.status as LearningEvidenceBundle["runStatus"], + sourceUpdatedAt: run.updatedAt, eventCount, items, missing }; + return { ...basis, digest: createHash("sha256").update(JSON.stringify(basis)).digest("hex") }; +} + export function learningEvidenceCurrent(store: RunStore, evidence: LearningEvidenceBundle): boolean { try { // Keep the Run's revision immutable while invalidating work whose target definition has since changed. @@ -68,7 +125,8 @@ export function learningEvidenceCurrent(store: RunStore, evidence: LearningEvide store.getSkillDefinitionRevision(evidence.selectedSkillId)?.id !== evidence.selectedSkillRevisionId)) return false; const correction = evidence.items.find(item => item.kind === "correction"); const text = correction?.text; - return (evidence.decisionId ? captureDecisionLearningEvidence(store, evidence.decisionId) : + return (evidence.workItem && evidence.runId ? captureWorkItemLearningEvidence(store, evidence.runId, evidence.workItem) : + evidence.decisionId ? captureDecisionLearningEvidence(store, evidence.decisionId) : evidence.runId ? captureLearningEvidence(store, evidence.runId, text) : undefined)?.digest === evidence.digest; } catch { return false; } } diff --git a/packages/daemon/src/features/learning/routes.ts b/packages/daemon/src/features/learning/routes.ts index 1d4dbcf53..2c25b8d61 100644 --- a/packages/daemon/src/features/learning/routes.ts +++ b/packages/daemon/src/features/learning/routes.ts @@ -32,7 +32,11 @@ export async function handleLearningReviewRoute(input: { writeJson(response, 200, { cwd, policy }); return; } } else if (url.pathname === "/skills/learning-reviews") { - if (request.method === "GET") { writeJson(response, 200, { cwd, jobs: store.listLearningReviewJobs(undefined, 50, url.searchParams.get("runId") ?? undefined, url.searchParams.get("decisionId") ?? undefined) }); return; } + if (request.method === "GET") { + const jobs = store.listLearningReviewJobs(undefined, 50, url.searchParams.get("runId") ?? undefined, + url.searchParams.get("decisionId") ?? undefined, url.searchParams.get("workItemId") ?? undefined); + writeJson(response, 200, { cwd, jobs }); return; + } if (request.method === "POST") { const body = await readJsonBody(request, input.config.maxBodyBytes); if (!isRecord(body) || (typeof body.runId !== "string" && typeof body.decisionId !== "string") || diff --git a/packages/daemon/src/features/learning/work-item-feedback.ts b/packages/daemon/src/features/learning/work-item-feedback.ts new file mode 100644 index 000000000..bb4daa43e --- /dev/null +++ b/packages/daemon/src/features/learning/work-item-feedback.ts @@ -0,0 +1,40 @@ +import type { LingAppServerWorkItemFeedbackParams, LingAppServerWorkItemFeedbackResult } from "@ling-stack/contracts"; +import { learningReviewJobId, workItemLearningReviewSourceKey, type RunStore } from "@ling-stack/core"; +import { HttpError } from "../../errors.js"; +import { captureWorkItemLearningEvidence } from "./evidence.js"; + +export function enqueueWorkItemFeedback( + store: RunStore, input: LingAppServerWorkItemFeedbackParams, cwd: string, +): LingAppServerWorkItemFeedbackResult { + if (!Number.isSafeInteger(input.expectedWorkItemRevision) || input.expectedWorkItemRevision < 1 + || !input.idempotencyKey.trim() || input.idempotencyKey.length > 200) { + throw new HttpError(400, "invalid_params", "Supply the current Work Item revision and a bounded request key."); + } + const { workItemId, sourceRunId, providerPresetId, expectedWorkItemRevision, idempotencyKey } = input; + const item = store.getWorkItem(workItemId); + if (!item) throw new HttpError(404, "workspace_binding_invalid", "The Work Item is unavailable."); + const key = workItemLearningReviewSourceKey(item.workspaceId, workItemId, idempotencyKey); + return store.withProcedureObservationJobTransaction(() => { + const existing = store.getLearningReviewJob(learningReviewJobId(key)); + if (existing) { + if (existing.sourceKey !== key || existing.evidence.workItem?.revision !== expectedWorkItemRevision + || existing.evidence.runId !== sourceRunId || existing.providerPresetId !== providerPresetId) { + throw new HttpError(409, "idempotency_conflict", "The feedback key belongs to a different source or review request."); + } + return { cwd, job: existing, replayed: true }; + } + const governance = store.getWorkspaceSettings().skillGovernancePolicy; + if (governance.generationMode === "off" || governance.recordingMode !== "user_initiated") { + throw new HttpError(409, "learning_generation_disabled", "The workspace policy does not admit a learning review."); + } + const preset = store.getProviderPreset(providerPresetId); + if (!preset?.enabled || !preset.capabilities.includes("chat")) { + throw new HttpError(409, "learning_provider_unavailable", "Select an enabled learning review provider."); + } + const evidence = captureWorkItemLearningEvidence(store, sourceRunId, { + id: workItemId, revision: expectedWorkItemRevision, requestKey: idempotencyKey, + }); + const job = store.enqueueLearningReview({ mode: "explicit", evidence, providerPresetId }, new Date().toISOString()); + return { cwd, job, replayed: false }; + }); +} diff --git a/packages/daemon/src/server/rpc.ts b/packages/daemon/src/server/rpc.ts index 729b8ce46..cb7f41274 100644 --- a/packages/daemon/src/server/rpc.ts +++ b/packages/daemon/src/server/rpc.ts @@ -110,6 +110,7 @@ import { readGitHubDelivery, reconcileGitHubDelivery } from "./app-server-github import { enqueueGitHubDelivery, gitHubQueueReceiptConfirmed, readGitHubQueue } from "./app-server-github-enqueue.js"; import { assertWorkItemConversationAdmission } from "../features/work-items/conversation-admission.js"; import { readWorkItemWorkflowStages } from "../features/work-items/workflow-stages.js"; +import { enqueueWorkItemFeedback } from "../features/learning/work-item-feedback.js"; import { readArtifactContentRange, resolveArtifactContentPath } from "../features/runs/artifacts.js"; import { isPrivateHostRecoveryArtifact, toPublicArtifactMetadata } from "../features/runs/public-artifacts.js"; import { listEffectiveSkillRegistryEntries } from "../features/skills/registry.js"; @@ -188,6 +189,7 @@ const operatorMethods = new Set([ "github/intake/policy/list", "github/intake/poll", "github/intake/read", "workItem/accept", "workItem/workflow/bind", + "workItem/feedback/add", "workItem/deliberation/decide", "workItem/deliberation/cancel", "artifact/read", "model/list", "skill/read", "workItem/coordination/schedule/read", "workItem/coordination/schedule/set", @@ -201,6 +203,7 @@ const recoveryGuardedMethods = new Set([ "plan/accept", "workItem/create", "workItem/accept", "workItem/workflow/bind", "workItem/resume", "github/intake/poll", "workItem/coordination/start", "workItem/coordination/schedule/set", "workItem/deliberation/start", "workItem/deliberation/decide", "workItem/handoff/accept", "externalAgent/task/start", "verify/start", "review/start", "simplify/start", "changes/apply", "worktree/create", "worktree/cleanup", + "workItem/feedback/add", ]); export function attachRpcWebSocketServer( server: Pick, context: DaemonContext, @@ -925,7 +928,7 @@ class RpcConnection { case "workItem/handoff/read": return this.readCollaboration("handoff", params); case "workItem/feedback/add": - return this.appendCollaboration("message", "updated", params); + return this.addWorkItemFeedback(params); case "externalAgent/register": return this.registerExternalAgent(params); case "externalAgent/capabilities/read": @@ -1323,6 +1326,21 @@ class RpcConnection { } } + private addWorkItemFeedback(params: unknown): unknown { + const { cwd, ...record } = this.workspaceParams(params, true); + if (record.sourceRunId === undefined) return this.appendCollaboration("message", "updated", params); + const store = this.context.storeRegistry.getStore(cwd); + const result = enqueueWorkItemFeedback(store, { + workItemId: readStringField(record, "workItemId"), + sourceRunId: readStringField(record, "sourceRunId"), + providerPresetId: readStringField(record, "providerPresetId"), + expectedWorkItemRevision: readIntegerField(record, "expectedWorkItemRevision", "expectedWorkItemRevision"), + idempotencyKey: readStringField(record, "idempotencyKey"), + }, cwd); + this.context.learningReviewCoordinator?.wake(store); + return result; + } + private settleWorkItemDeliberation(action: "decided" | "cancelled", params: unknown): unknown { const { cwd, ...record } = this.workspaceParams(params, true); const input = { diff --git a/packages/daemon/test/app-server-release-acceptance.test.ts b/packages/daemon/test/app-server-release-acceptance.test.ts index 8efd71653..0f6413173 100644 --- a/packages/daemon/test/app-server-release-acceptance.test.ts +++ b/packages/daemon/test/app-server-release-acceptance.test.ts @@ -45,6 +45,7 @@ import type { LingAppServerWorkItemAcceptResult, LingAppServerWorkItemControlResult, LingAppServerWorkItemReadResult, + LingAppServerWorkItemFeedbackResult, LingAppServerWorkItemResult, LingAppServerWorkItemSnapshot, ProposedPlanActionResponse, @@ -2418,6 +2419,19 @@ test("a staged Work Item recovers its original Workflow, runs independent QA and const body = await detail.json() as { workflow?: LingAppServerWorkItemCollaborationReadResult["workflow"] }; assert.deepEqual(body.workflow?.steps.map(step => step.status), ["succeeded", "succeeded", "succeeded"]); assert.deepEqual(body.workflow?.steps.find(step => step.stepId === p01.id)?.briefBasis, brief.briefBasis); + const sourceRunId = finishedStore.getChannelWorkflowStep(p02.id)?.runId; + assert.ok(sourceRunId); + const currentWorkItem = await decisionClient.call("workItem/read", { workItemId: item.id }); + const feedbackInput = { + workItemId: item.id, sourceRunId, providerPresetId: preset.id, + expectedWorkItemRevision: Number(currentWorkItem.workItem.revision), idempotencyKey: "workflow-experience", + }; + const feedback = await decisionClient.call("workItem/feedback/add", feedbackInput); + assert.equal(feedback.replayed, false); + assert.equal(feedback.job.evidence.workItem?.id, item.id); + const feedbackReplay = await decisionClient.call("workItem/feedback/add", feedbackInput); + assert.equal(feedbackReplay.replayed, true); + assert.equal(feedbackReplay.job.id, feedback.job.id); }); test("App Server reads bounded artifact ranges without exposing private metadata", { timeout: 20_000 }, async t => { From f1edc241b4c08759b00f2896ae0233cb76dffc03 Mon Sep 17 00:00:00 2001 From: tianxiaochannel-oss88 Date: Mon, 23 Nov 2026 03:21:48 +0800 Subject: [PATCH 040/147] fix(learning): verify feedback through current workflow ownership --- .../ling-app-server-implementation-plan.md | 3 +- packages/contracts/src/threads.ts | 2 + packages/core/src/learning-review-types.ts | 3 +- .../storage/sqlite/channel-workflow-store.ts | 1 + .../sqlite/proposed-plan-action-store.ts | 1 + .../core/src/workflow-step-start-owner.ts | 1 + .../src/features/learning/coordinator.ts | 8 ++- .../daemon/src/features/learning/evidence.ts | 70 +++++++++---------- .../daemon/src/features/learning/model.ts | 3 +- .../daemon/src/features/runs/thread-routes.ts | 6 ++ packages/daemon/src/index.ts | 10 ++- .../app-server-release-acceptance.test.ts | 41 ++++++++++- 12 files changed, 104 insertions(+), 45 deletions(-) diff --git a/docs/design/ling-app-server-implementation-plan.md b/docs/design/ling-app-server-implementation-plan.md index d2643918c..90870cb01 100644 --- a/docs/design/ling-app-server-implementation-plan.md +++ b/docs/design/ling-app-server-implementation-plan.md @@ -30,9 +30,10 @@ - App Server operator grant 支持 workspace、Thread 和 Work Item 范围,按 scope 分开观察、控制、审批和答复权限。grant 的 revision、过期和撤销参与握手、请求和推送路径。 - CLI 和 TypeScript client 可以直接进入上述流程。Daemon 重启、重复请求、取消未确认和未知配方仍保持已有的持久回执语义。 - MCP bridge 暴露 Work Item 阶段、协作记录、受限 artifact range、模型清单和 Skill 读取。artifact 元数据去除内容摘要,正文只能按授权的 Thread/Work Item/Run 归属读取,并受单次范围上限约束。 -- Plan 转 Workflow 时可指定稳定的 `stageId`、`dependsOnStageIds` 和 `requiredDecision`。接受事务将阶段依赖映射到真实步骤。循环、缺失的前置阶段和无效选项会拒绝转换。 +- Plan 转 Workflow 时可指定稳定的 `stageId`、`dependsOnStageIds`、`requiredDecision` 和 `requiredTools`。接受事务将阶段依赖映射到真实步骤。循环、缺失的前置阶段、无效选项和未知工具会拒绝转换。Runner 准入仍按频道和当前参与者权限检查工具。 - Work Board 与 App Server 使用同一套阶段、简报、阻塞和运行证据投影。阶段简报的来源是已提交的步骤状态迁移。看板支持分页与重试,并随 `work_items` 事件刷新。 - 声明了裁决条件的步骤等待该 Work Item、已接受 Plan 和步骤的裁决回执。授权的操作方可通过 `workItem/deliberation/start` 打开该阶段的审议,再从封存选项中裁决。回执恢复后,原 Workflow 放行该步骤,独立 QA 继续使用自己的依赖。自动提案、质疑及投票工作流仍待接入。 +- 完成的工作项可用 `workItem/feedback/add` 提交经验审查。Daemon 核对当前 Work Item 和成功 Run 的归属,从 Run 采集有限证据,复用 Learning Review 的 Provider 预算和审查入口。受控验收从 P02 的实际读取证据生成 Memory 候选,重启后按原键找回同一任务。 | 工作包 | 已验证场景与证据边界 | | --- | --- | diff --git a/packages/contracts/src/threads.ts b/packages/contracts/src/threads.ts index 1cf13b855..1a8b30c3b 100644 --- a/packages/contracts/src/threads.ts +++ b/packages/contracts/src/threads.ts @@ -5,6 +5,7 @@ import type { ExecutionAction } from "./execution-actions.js"; import type { RetentionTombstone } from "./retention.js"; import type { StateTransitionEvent } from "./workflows.js"; import type { LingTurn } from "./turns.js"; +import type { RunTool } from "./shared.js"; export const lingThreadKinds = [ "task", @@ -286,6 +287,7 @@ export interface ProposedPlanWorkflowStepPreview { readonly stageId?: string; readonly dependsOnStageIds?: readonly string[]; readonly requiredDecision?: ProposedPlanStageDecision; + readonly requiredTools?: readonly RunTool[]; readonly ownerId?: string; readonly ownerLabel?: string; readonly ownerConfidence?: "high" | "medium" | "low" | "none"; diff --git a/packages/core/src/learning-review-types.ts b/packages/core/src/learning-review-types.ts index 492f2d653..d3fc7da79 100644 --- a/packages/core/src/learning-review-types.ts +++ b/packages/core/src/learning-review-types.ts @@ -1,3 +1,4 @@ +import { createHash } from "node:crypto"; import type { LearningEvidenceBundle, LearningReviewJob, LearningReviewPolicy, LearningReviewPolicyUpdateRequest, RuntimeAttemptFenceV1 } from "@ling-stack/contracts"; export type { LearningEvidenceBundle, LearningEvidenceItem, LearningReviewJob, LearningReviewPolicy } from "@ling-stack/contracts"; @@ -18,8 +19,6 @@ export interface LearningReviewStore { candidateIds: readonly string[], reason: string | undefined, now: string): LearningReviewJob; cancelLearningReviewJob(id: string, reason: string, now: string): LearningReviewJob | undefined; } -import { createHash } from "node:crypto"; - export function workItemLearningReviewSourceKey(workspaceId: string, workItemId: string, requestKey: string): string { return createHash("sha256").update(JSON.stringify([workspaceId, "work_item", workItemId, requestKey])).digest("hex"); } diff --git a/packages/core/src/storage/sqlite/channel-workflow-store.ts b/packages/core/src/storage/sqlite/channel-workflow-store.ts index d13e1318e..db77061bc 100644 --- a/packages/core/src/storage/sqlite/channel-workflow-store.ts +++ b/packages/core/src/storage/sqlite/channel-workflow-store.ts @@ -1475,6 +1475,7 @@ export class SqliteChannelWorkflowStore { planStageId: existing.metadata.planStageId, dependsOnStepIds: existing.metadata.dependsOnStepIds, requiredPlanDecision: existing.metadata.requiredPlanDecision, + requiredTools: existing.metadata.requiredTools, } : undefined; const next: ChannelWorkflowStep = { ...existing, diff --git a/packages/core/src/storage/sqlite/proposed-plan-action-store.ts b/packages/core/src/storage/sqlite/proposed-plan-action-store.ts index e7d9dbccc..573caeeb8 100644 --- a/packages/core/src/storage/sqlite/proposed-plan-action-store.ts +++ b/packages/core/src/storage/sqlite/proposed-plan-action-store.ts @@ -81,6 +81,7 @@ export class SqliteProposedPlanActionStore { ...(preview?.stageId ? { planStageId: preview.stageId } : {}), ...(preview?.dependsOnStageIds?.length ? { dependsOnStepIds: preview.dependsOnStageIds.map(id => stepIds.get(id)!) } : {}), ...(preview?.requiredDecision ? { requiredPlanDecision: preview.requiredDecision } : {}), + ...(preview?.requiredTools ? { requiredTools: preview.requiredTools } : {}), } }, now); if (preview?.stageId) stepIds.set(preview.stageId, step.id); if (index === 0) firstStepId = step.id; diff --git a/packages/core/src/workflow-step-start-owner.ts b/packages/core/src/workflow-step-start-owner.ts index 4fb6a3b7b..ab0b49704 100644 --- a/packages/core/src/workflow-step-start-owner.ts +++ b/packages/core/src/workflow-step-start-owner.ts @@ -127,6 +127,7 @@ export function workflowStepStartAuthorityBasis(store: WorkflowStepStartReadStor providerBinding: metadata?.providerBinding, providerPresetId: metadata?.providerPresetId, executionPlan: metadata?.executionPlan, operationIds: metadata?.executionOperationIds, requirement: metadata?.delegatedRequirement, dependsOnStepIds: metadata?.dependsOnStepIds, + planStageId: metadata?.planStageId, requiredPlanDecision: metadata?.requiredPlanDecision, dependencyMode: metadata?.dependencyMode, gates: metadata?.gates, approvalGate: metadata?.approvalGate, policy: metadata?.policy, requiredTools: metadata?.requiredTools, runnerId: metadata?.requestedRunnerId, sideEffectClass: metadata?.sideEffectClass, parallelPolicy: metadata?.parallelPolicy, diff --git a/packages/daemon/src/features/learning/coordinator.ts b/packages/daemon/src/features/learning/coordinator.ts index c3fe73ffe..5ea947ebe 100644 --- a/packages/daemon/src/features/learning/coordinator.ts +++ b/packages/daemon/src/features/learning/coordinator.ts @@ -16,6 +16,7 @@ export interface LearningReviewCoordinatorOptions { readonly secretResolver: SecretResolver; readonly controlPlaneEvents: ControlPlaneEventHub; readonly scanIntervalMs?: number; + readonly dispatchAllowed?: (store: RunStore) => boolean; /** Host-only test seam. Production always uses the isolated one-request HTTP transport. */ readonly extract?: (input: { readonly job: LearningReviewJob; readonly prompt: string; readonly signal: AbortSignal }) => Promise; } @@ -121,7 +122,7 @@ export class LearningReviewCoordinator { wake(store: RunStore): void { if (this.stopped || this.active.has(store)) return; if (!this.entries.has(store)) { this.registerStore(store); return; } - if (foregroundWorkActive(store)) return; + if (this.options.dispatchAllowed?.(store) === false || foregroundWorkActive(store)) return; this.enqueueAutomatic(store); const job = store.listLearningReviewJobs("queued", 1)[0]; if (!job) return; @@ -159,7 +160,7 @@ export class LearningReviewCoordinator { } } private async process(store: RunStore, selected: LearningReviewJob, controller: AbortController): Promise { - if (this.stopped || controller.signal.aborted || foregroundWorkActive(store)) return; + if (this.stopped || controller.signal.aborted || this.options.dispatchAllowed?.(store) === false || foregroundWorkActive(store)) return; if (!learningGenerationAllowed(store, selected)) { store.cancelLearningReviewJob(selected.id, "learning_generation_disabled", new Date().toISOString()); return; } @@ -183,6 +184,7 @@ export class LearningReviewCoordinator { try { const preset = store.getProviderPreset(selected.providerPresetId); if ((!this.options.extract && (!preset?.enabled || preset.updatedAt !== providerRevision)) || + this.options.dispatchAllowed?.(store) === false || !learningGenerationAllowed(store, selected) || foregroundWorkActive(store) || store.getLearningReviewJob(selected.id)?.status !== "running" || !learningEvidenceCurrent(store, selected.evidence) || this.options.runtimeSupervisor.getRuntime(store.paths.cwd, store).runtimeInstanceId !== fence.runtimeInstanceId) stop(); @@ -201,6 +203,7 @@ export class LearningReviewCoordinator { const prepared = prepareLearningModelRequest(job.evidence); let draft: LearningDraft | undefined; for (let requestIndex = 0; requestIndex < job.limits.maxRequests; requestIndex += 1) { + if (this.options.dispatchAllowed?.(store) === false) throw new Error("learning_recovery_held"); if (foregroundWorkActive(store) || !learningEvidenceCurrent(store, job.evidence)) throw new Error("learning_source_or_foreground_changed"); // A queued selection or retry cannot outlive the user's current recording authority. if (!learningGenerationAllowed(store, job)) throw new Error("learning_generation_disabled"); @@ -221,6 +224,7 @@ export class LearningReviewCoordinator { } } controller.signal.throwIfAborted(); + if (this.options.dispatchAllowed?.(store) === false) throw new Error("learning_recovery_held"); if (!draft) throw new Error("learning_extraction_failed"); if (this.options.runtimeSupervisor.getRuntime(store.paths.cwd, store).runtimeInstanceId !== fence.runtimeInstanceId) throw new Error("learning_attempt_stale"); if (!this.options.extract && (!store.getProviderPreset(job.providerPresetId)?.enabled || diff --git a/packages/daemon/src/features/learning/evidence.ts b/packages/daemon/src/features/learning/evidence.ts index 5febcde0c..12da8c757 100644 --- a/packages/daemon/src/features/learning/evidence.ts +++ b/packages/daemon/src/features/learning/evidence.ts @@ -1,15 +1,25 @@ import { createHash } from "node:crypto"; -import { redactSecrets, DEFAULT_WORKSPACE_ID, type RunStore, type LearningEvidenceBundle, type LearningEvidenceItem } from "@ling-stack/core"; +import { + redactSecrets, DEFAULT_WORKSPACE_ID, workflowStepStartAuthorityBasis, + type RunStore, type RunSession, type LearningEvidenceBundle, type LearningEvidenceItem, type MemoryRecallRequest, +} from "@ling-stack/core"; +import { resolveWorkflowParticipantRunProfile } from "../channels/workflow-participant-run-profile.js"; import { resolveAutomaticMemoryRecallScope } from "../memory/recall-service.js"; import { isRecord } from "../../shared/validation.js"; import { HttpError } from "../../errors.js"; +type LearningSourceScope = Pick; + /** Only selected durable lineage is read. A bounded window is explicit, never a claim of complete evidence. */ export function captureLearningEvidence(store: RunStore, runId: string, correction?: string): LearningEvidenceBundle { const run = store.getRun(runId); if (!run || !["succeeded", "failed", "cancelled"].includes(run.status)) throw new Error("learning_source_not_terminal"); const scope = resolveAutomaticMemoryRecallScope(store, { runId, query: "", intent: "task-run" }); if (!scope) throw new Error("learning_source_scope_unavailable"); + return captureScopedRunEvidence(store, run, scope, correction); +} + +function captureScopedRunEvidence(store: RunStore, run: RunSession, scope: LearningSourceScope, correction?: string): LearningEvidenceBundle { const task = scope.taskId ? store.getTask(scope.taskId) : undefined; const turn = task ? undefined : store.getLingTurnForRun(run.id); if (!task && (!turn || !["succeeded", "failed", "cancelled"].includes(turn.status))) throw new Error("learning_source_turn_unavailable"); @@ -79,43 +89,33 @@ export function captureWorkItemLearningEvidence( || item.holds.some(hold => hold.blocksNewAdmission) || !(finishedStage || item.status === "done" && item.runId === runId)) { throw new HttpError(409, "learning_work_item_source_unavailable", "Select a successful Run owned by this completed Work Item."); } - let captured: LearningEvidenceBundle; - try { - captured = captureLearningEvidence(store, runId); - } catch (error) { - if (!(error instanceof Error) || error.message !== "learning_source_scope_unavailable") throw error; - captured = captureBoundedWorkItemRunEvidence(store, runId, item.workspaceId); + const scope = resolveAutomaticMemoryRecallScope(store, { runId, query: "", intent: "task-run" }); + if (scope && scope.workspaceId === item.workspaceId) { + return bindWorkItemEvidence(captureScopedRunEvidence(store, run, scope), workItem); } - const { digest, ...runEvidence } = captured; - return { ...runEvidence, workItem, digest: createHash("sha256").update(JSON.stringify([digest, workItem])).digest("hex") }; -} - -function captureBoundedWorkItemRunEvidence(store: RunStore, runId: string, workspaceId: string): LearningEvidenceBundle { - const run = store.getRun(runId); - if (!run || !["succeeded", "failed", "cancelled"].includes(run.status)) throw new Error("learning_source_not_terminal"); + const channel = run.channelId ? store.getChannel(run.channelId) : undefined; const task = store.getTask(run.taskId); - const eventCount = store.countEvents(run.id); - const events = store.listEvents(run.id, { afterSeq: Math.max(0, eventCount - 62), limit: 62 }); - const items: LearningEvidenceItem[] = []; - const missing: string[] = eventCount > 62 ? ["earlier_events_omitted"] : []; - let available = 6000; - const append = (item: Omit, value: unknown, maxBytes: number): void => { - const text = clipUtf8(JSON.stringify(redactSecrets(value)), Math.min(maxBytes, available)); - if (!text) { missing.push(`omitted:${item.id}`); return; } - available -= Buffer.byteLength(text); - items.push({ ...item, text }); - }; - if (task) append({ id: `task:${task.id}`, kind: "task", verified: false }, { title: task.title, prompt: task.prompt }, 1200); - for (const event of events) { - if (!["tool_start", "tool_end", "run_end", "message_end"].includes(event.type)) continue; - if (event.type === "message_end" && event.data.role !== undefined && event.data.role !== "assistant") continue; - append({ id: event.id, kind: event.type === "message_end" ? "assistant_message" : event.type as LearningEvidenceItem["kind"], - verified: event.type === "tool_end" && event.data.isError === false }, event.data, 600); + if (!finishedStage || !channel || channel.status === "archived" || channel.workspaceId !== item.workspaceId + || step.workspaceId !== item.workspaceId || workflow.workspaceId !== item.workspaceId + || workflow.channelId !== channel.id || step.channelId !== channel.id || step.taskId !== task?.id + || task?.workspaceId !== item.workspaceId || task.channelId !== channel.id || task.currentRunId !== run.id + || !run.teammateId || step.toParticipantId !== run.teammateId || task.assigneeTeammateId !== run.teammateId + || step.metadata?.startOwner?.authorityBasis !== workflowStepStartAuthorityBasis(store, step)) { + throw new HttpError(409, "learning_source_scope_unavailable", "The completed Run does not have current evidence scope."); } - const basis = { schemaVersion: 1 as const, workspaceId, runId: run.id, taskId: task?.id, - channelId: run.channelId, teammateId: run.teammateId, runStatus: run.status as LearningEvidenceBundle["runStatus"], - sourceUpdatedAt: run.updatedAt, eventCount, items, missing }; - return { ...basis, digest: createHash("sha256").update(JSON.stringify(basis)).digest("hex") }; + const profile = resolveWorkflowParticipantRunProfile({ store, channel, step, requiredTools: step.metadata?.requiredTools ?? [] }); + if (profile.kind !== "ready" || profile.teammateId !== run.teammateId) { + throw new HttpError(409, "learning_source_scope_unavailable", "The completed Run does not have current participant authority."); + } + return bindWorkItemEvidence(captureScopedRunEvidence(store, run, { + taskId: task.id, workspaceId: item.workspaceId, channelId: channel.id, teammateId: profile.teammateId, + }), workItem); +} + +function bindWorkItemEvidence( + { digest, ...runEvidence }: LearningEvidenceBundle, workItem: NonNullable, +): LearningEvidenceBundle { + return { ...runEvidence, workItem, digest: createHash("sha256").update(JSON.stringify([digest, workItem])).digest("hex") }; } export function learningEvidenceCurrent(store: RunStore, evidence: LearningEvidenceBundle): boolean { diff --git a/packages/daemon/src/features/learning/model.ts b/packages/daemon/src/features/learning/model.ts index 5f287d429..4dee719b6 100644 --- a/packages/daemon/src/features/learning/model.ts +++ b/packages/daemon/src/features/learning/model.ts @@ -5,7 +5,8 @@ import { isRecord } from "../../shared/validation.js"; import { LEARNING_SYSTEM_PROMPT, parseLearningDraft, type LearningDraft } from "./extractor.js"; export function prepareLearningModelRequest(evidence: LearningEvidenceBundle): { readonly prompt: string; readonly inputTokens: number } { - const prompt = JSON.stringify(evidence); + const { workItem, ...source } = evidence; + const prompt = JSON.stringify({ ...source, ...(workItem ? { workItem: { id: workItem.id, revision: workItem.revision } } : {}) }); // UTF-8 bytes upper-bound ordinary tokenizer input. Reserve the full system+evidence request before dispatch. const inputTokens = Buffer.byteLength(LEARNING_SYSTEM_PROMPT) + Buffer.byteLength(prompt) + 256; if (inputTokens > 16_000) throw new Error("learning_input_over_budget"); diff --git a/packages/daemon/src/features/runs/thread-routes.ts b/packages/daemon/src/features/runs/thread-routes.ts index 680d5ced9..617034285 100644 --- a/packages/daemon/src/features/runs/thread-routes.ts +++ b/packages/daemon/src/features/runs/thread-routes.ts @@ -2518,8 +2518,14 @@ function readOptionalWorkflowStepPreviews( if (!title) { throw new HttpError(400, "bad_workflow_step_previews", "workflowStepPreviews items require title."); } + const requiredTools = item.requiredTools; + if (requiredTools !== undefined && (!Array.isArray(requiredTools) || !requiredTools.every(isRunTool) + || new Set(requiredTools).size !== requiredTools.length)) { + throw new HttpError(400, "bad_workflow_step_tools", "requiredTools must contain distinct Run tool names."); + } return { title, + requiredTools, stageId: readOptionalString(item, "stageId"), dependsOnStageIds: readOptionalWorkflowStageDependencies(item), requiredDecision: item.requiredDecision === undefined ? undefined : parseProposedPlanStageDecision(item.requiredDecision), diff --git a/packages/daemon/src/index.ts b/packages/daemon/src/index.ts index 367066415..2100e0cb0 100644 --- a/packages/daemon/src/index.ts +++ b/packages/daemon/src/index.ts @@ -1094,7 +1094,15 @@ export function createDaemonServer( getStore: () => storeRegistry.getStore(resolvedConfig.defaultWorkspaceCwd), events: controlPlaneEvents, }); - learningReviewCoordinator = new LearningReviewCoordinator({ runtimeSupervisor, secretResolver, controlPlaneEvents }); + learningReviewCoordinator = new LearningReviewCoordinator({ + runtimeSupervisor, secretResolver, controlPlaneEvents, + ...(resolvedConfig.appServerRecoveryDirectory ? { + dispatchAllowed: store => { + try { return appServerRecoveryFor(resolvedConfig, store)?.blocksDispatch() !== true; } + catch { return false; } + }, + } : {}), + }); for (const store of approvalRecoveryStores) learningReviewCoordinator.registerStore(store); const context: DaemonContext = { learningReviewCoordinator, diff --git a/packages/daemon/test/app-server-release-acceptance.test.ts b/packages/daemon/test/app-server-release-acceptance.test.ts index 0f6413173..c7944ab09 100644 --- a/packages/daemon/test/app-server-release-acceptance.test.ts +++ b/packages/daemon/test/app-server-release-acceptance.test.ts @@ -2244,12 +2244,26 @@ test("an operator resolves a deliberation round once against its current revisio test("a staged Work Item recovers its original Workflow, runs independent QA and releases one decision dependency", { timeout: 40_000 }, async t => { let completeContract: () => void = () => undefined; const contractGate = new Promise(resolve => { completeContract = resolve; }); - const provider = await startLoopbackPiProvider(async (_input: unknown, request: number) => { + let implementationReadRequested = false; + const provider = await startLoopbackPiProvider(async (body: unknown, request: number) => { if (request === 1) await contractGate; + const input = body as { stream: boolean; messages: readonly { content: string }[] }; + if (input.stream === false && input.messages.at(-1)?.content?.includes('"workItem":')) { + const source = JSON.parse(input.messages.at(-1)!.content) as { items: readonly { id: string; text: string; verified: boolean }[] }; + const proof = source.items.find(entry => entry.verified && entry.text.includes("Verified compatibility input")); + assert.ok(proof, "The Learning Review lacked the owned Run's read evidence."); + return { text: JSON.stringify({ kind: "memory", title: "Compatibility input", body: "Read the verified compatibility input before implementation.", + evidence: { evidenceId: proof.id, quote: "Verified compatibility input" } }) }; + } + if (!implementationReadRequested && JSON.stringify(input.messages).includes("Accepted Plan decision:")) { + implementationReadRequested = true; + return { tool: "read", input: { path: "implementation-input.txt" } }; + } return { text: "Stage completed" }; }); t.after(async () => { completeContract(); await provider.close(); }); const fixture = await releaseFixture(t); + await writeFile(join(fixture.cwd, "implementation-input.txt"), "Verified compatibility input\n"); const store = fixture.getStore(); const preset = addLoopbackPreset(store, provider.baseUrl); const now = new Date().toISOString(); @@ -2261,7 +2275,9 @@ test("a staged Work Item recovers its original Workflow, runs independent QA and title: "Staged implementation", bodyMarkdown: "Implement the staged change", status: "draft" }, now); const request = async (path: string, body?: object) => { const { daemonUrl, authToken } = fixture.transportOptions(); - return fetch(`${daemonUrl}${path}?cwd=${encodeURIComponent(fixture.cwd)}`, { + const url = new URL(path, daemonUrl); + url.searchParams.set("cwd", fixture.cwd); + return fetch(url, { ...(body ? { method: "POST", body: JSON.stringify(body) } : {}), headers: { "content-type": "application/json", authorization: `Bearer ${authToken}` }, }); @@ -2269,7 +2285,7 @@ test("a staged Work Item recovers its original Workflow, runs independent QA and const conversionPath = `/threads/${thread.id}/proposed-plans/${plan.id}/convert-workflow`; const p01Preview = { title: "P01 accept the contract", stageId: "P01", ownerId: "teammate_builtin_engineer", ownerLabel: "Engineer" }; const p02Preview = { title: "P02 implement the selected approach", stageId: "P02", dependsOnStageIds: ["P01"], - ownerId: "teammate_builtin_engineer", ownerLabel: "Engineer", + ownerId: "teammate_builtin_engineer", ownerLabel: "Engineer", requiredTools: ["read"], requiredDecision: { question: "Which compatible approach should this stage implement?", options: ["Adapter", "Migration"] } }; const qaPreview = { title: "Prepare contract regression checks", stageId: "QA", dependsOnStageIds: ["P01"], ownerId: "teammate_builtin_qa", ownerLabel: "QA" }; @@ -2432,6 +2448,25 @@ test("a staged Work Item recovers its original Workflow, runs independent QA and const feedbackReplay = await decisionClient.call("workItem/feedback/add", feedbackInput); assert.equal(feedbackReplay.replayed, true); assert.equal(feedbackReplay.job.id, feedback.job.id); + await assert.rejects(decisionClient.call("workItem/feedback/add", { ...feedbackInput, sourceRunId: "other-run" }), + { code: "idempotency_conflict" }); + const completedReview = await waitFor(() => { + const job = finishedStore.getLearningReviewJob(feedback.job.id); + return job && ["succeeded", "failed", "cancelled"].includes(job.status) ? job : undefined; + }); + assert.equal(completedReview.status, "succeeded", JSON.stringify({ + reason: completedReview.reason, items: completedReview.evidence.items, + })); + const [memoryId] = completedReview.candidateIds; + assert.ok(memoryId); + assert.equal(finishedStore.getMemoryObject(memoryId)?.reviewState, "candidate"); + assert.equal(completedReview.modelRequests, 1); + const reviews = await request(`/skills/learning-reviews?workItemId=${encodeURIComponent(item.id)}`); + assert.equal(reviews.status, 200); + assert.deepEqual((await reviews.json() as { jobs: readonly { id: string }[] }).jobs.map(job => job.id), [feedback.job.id]); + await fixture.restart(); + const finalClient = await fixture.connect(); + assert.equal((await finalClient.call("workItem/feedback/add", feedbackInput)).job.id, feedback.job.id); }); test("App Server reads bounded artifact ranges without exposing private metadata", { timeout: 20_000 }, async t => { From 57ac41a6caa08bdc4d08b95819df9db550601327 Mon Sep 17 00:00:00 2001 From: tianxiaochannel-oss88 Date: Mon, 23 Nov 2026 04:12:44 +0800 Subject: [PATCH 041/147] feat(workflows): bind accepted successor plans after settlement --- .../ling-app-server-implementation-plan.md | 5 +- packages/contracts/src/app-server-schema.ts | 8 +- packages/contracts/src/app-server.ts | 2 + packages/contracts/src/workflows.ts | 1 + packages/core/src/run-types.ts | 4 +- packages/core/src/storage/sqlite-run-store.ts | 8 +- .../sqlite/channel-workflow-mappers.ts | 1 + .../sqlite/proposed-plan-action-store.ts | 11 +- .../src/storage/sqlite/run-session-store.ts | 6 +- .../src/storage/sqlite/work-item-store.ts | 44 +++- packages/core/src/workspace-types.ts | 1 + .../runs/workflow-operation-effect-gate.ts | 3 + .../features/work-items/workflow-stages.ts | 19 +- packages/daemon/src/server/app-server-mcp.ts | 5 +- packages/daemon/src/server/rpc.ts | 10 +- .../app-server-release-acceptance.test.ts | 204 ++++++++++++++++-- 16 files changed, 289 insertions(+), 43 deletions(-) diff --git a/docs/design/ling-app-server-implementation-plan.md b/docs/design/ling-app-server-implementation-plan.md index 90870cb01..51b604860 100644 --- a/docs/design/ling-app-server-implementation-plan.md +++ b/docs/design/ling-app-server-implementation-plan.md @@ -31,6 +31,7 @@ - CLI 和 TypeScript client 可以直接进入上述流程。Daemon 重启、重复请求、取消未确认和未知配方仍保持已有的持久回执语义。 - MCP bridge 暴露 Work Item 阶段、协作记录、受限 artifact range、模型清单和 Skill 读取。artifact 元数据去除内容摘要,正文只能按授权的 Thread/Work Item/Run 归属读取,并受单次范围上限约束。 - Plan 转 Workflow 时可指定稳定的 `stageId`、`dependsOnStageIds`、`requiredDecision` 和 `requiredTools`。接受事务将阶段依赖映射到真实步骤。循环、缺失的前置阶段、无效选项和未知工具会拒绝转换。Runner 准入仍按频道和当前参与者权限检查工具。 +- 接受绑定计划的后继 Workflow 后,旧 Workflow 停止新阶段和工具准入,后继 Workflow 等待重新绑定。操作方暂停工作项并核对旧 Run、Host 效果和租约收敛后,用 `workItem/workflow/bind` 的 `previousWorkflowId` 提交绑定。重启和并发重发复用绑定回执,原计划和阶段记录保留 Workflow ID。恢复工作项后,新 Workflow 使用自己的派发记录。 - Work Board 与 App Server 使用同一套阶段、简报、阻塞和运行证据投影。阶段简报的来源是已提交的步骤状态迁移。看板支持分页与重试,并随 `work_items` 事件刷新。 - 声明了裁决条件的步骤等待该 Work Item、已接受 Plan 和步骤的裁决回执。授权的操作方可通过 `workItem/deliberation/start` 打开该阶段的审议,再从封存选项中裁决。回执恢复后,原 Workflow 放行该步骤,独立 QA 继续使用自己的依赖。自动提案、质疑及投票工作流仍待接入。 - 完成的工作项可用 `workItem/feedback/add` 提交经验审查。Daemon 核对当前 Work Item 和成功 Run 的归属,从 Run 采集有限证据,复用 Learning Review 的 Provider 预算和审查入口。受控验收从 P02 的实际读取证据生成 Memory 候选,重启后按原键找回同一任务。 @@ -58,8 +59,8 @@ | --- | --- | | A1、B1、C1、C2 | 全方法的 Schema 校验和更多宿主兼容组合。workspace、Thread、Work Item 的 grant 和 WSS 已接入,审批和用户答复仍需按不同真实宿主与远程部署做验收。App Server 目标游标已绑定存储代次、授权代次和目标,现有兼容用例覆盖本机的上一版源码与候选组合。 | | D1、D2、E1、E2 | 开工与 Pi 运行中的项目规则加载、显式 Claude 规则、两个开发 Skill、工作区 Verify、独立 verifier basis、托管工作树管理、候选改动分页、Turn 改动恢复、选中 hunk 转移和工作台浏览器验证报告已接入。各发行平台验证仍待完成。 | -| F1、F2 | 普通会话已接入 Handoff 的候选封存和接手。CLI `app-server codex-host` 同时连接 Ling 和 Codex,保存连接游标和干预回执。本机安装的 Codex 验证了实际连接和 Ling 事件,受控对端覆盖干预与重连。可编程宿主的会话界面、真实 Codex 在途干预及跨 Agent 预算承接仍待验收。 | -| O1、O3–O9 | GitHub 签名 webhook、轮询和显式接单归并至同一工作项。自动接单策略处理免打扰、并发、启动额度和派发前状态重查。还需 Channel、设备和已有 AutomationRun 的统一自治接入、经验与设备反馈、在途改计划、Workflow 交接、自动审议投票、跨 Run 预算与完整 O9 联合验收。 | +| F1、F2 | 普通会话已接入 Handoff 的候选封存和接手。CLI `app-server codex-host` 同时连接 Ling 和 Codex,保存连接游标和干预回执。本机安装的 Codex 联调覆盖 Ling 的在途排队、事件补齐和原干预回执。可编程宿主的会话界面、向正在运行的 Codex Turn 发送指导及跨 Agent 预算承接仍待验收。 | +| O1、O3–O9 | GitHub 签名 webhook、轮询和显式接单归并至同一工作项。自动接单策略处理免打扰、并发、启动额度和派发前状态重查。还需 Channel、设备和已有 AutomationRun 的统一自治接入、设备反馈、改计划时按受影响阶段暂停并承接独立成果、Workflow 交接、自动审议投票、跨 Run 预算与完整 O9 联合验收。 | | G | 独立恢复日志已验证 SQLite 快照恢复、撤权、旧游标失效和 GitHub 对账后派发。上一版源码通过同一套本地兼容验收。签名安装产物、实际远程 WSS、受保护 GitHub 仓库及三个真实 Provider 自研试点仍需对应环境的证据。macOS 打包预检需要当前打包输入的 Office 审查、对应 Electron/OS 的受限运行时审查和 gstack 平台资源。T01 离线预检可进入评审,真实试点仍需按 Framework Assurance 准入。 | ## 目标与开工顺序 diff --git a/packages/contracts/src/app-server-schema.ts b/packages/contracts/src/app-server-schema.ts index 3366b083d..f21ac09a9 100644 --- a/packages/contracts/src/app-server-schema.ts +++ b/packages/contracts/src/app-server-schema.ts @@ -234,8 +234,12 @@ function schemaFor(method: LingAppServerMethod): LingAppServerMethodSchema { idempotencyKey: stringSchema }, ["sourceId", "title"]), result }; case "workItem/workflow/bind": return { params: objectWith({ ...workItemTarget, planId: stringSchema, expectedWorkItemRevision: integerSchema, - expectedPlanRevision: integerSchema, idempotencyKey: stringSchema }, - ["workItemId", "planId", "expectedWorkItemRevision", "expectedPlanRevision", "idempotencyKey"]), result }; + expectedPlanRevision: integerSchema, idempotencyKey: stringSchema, previousWorkflowId: stringSchema }, + ["workItemId", "planId", "expectedWorkItemRevision", "expectedPlanRevision", "idempotencyKey"]), + result: objectWith({ cwd: stringSchema, workItem: objectSchema, replayed: booleanSchema, + binding: objectWith({ ...workItemTarget, ...threadTarget, workflowId: stringSchema, planId: stringSchema, + planRevision: integerSchema, linkedAt: stringSchema, previousWorkflowId: stringSchema }, + ["workItemId", "threadId", "workflowId", "planId", "planRevision", "linkedAt"]) }, ["cwd", "workItem", "binding", "replayed"]) }; case "workItem/evidence/append": return { params: objectWith({ ...workItemTarget, actorId: stringSchema, kind: stringSchema, subjectRevision: stringSchema, content: stringSchema, idempotencyKey: stringSchema, sourceRefs: arraySchema }, diff --git a/packages/contracts/src/app-server.ts b/packages/contracts/src/app-server.ts index 9e3495bac..baa3959a5 100644 --- a/packages/contracts/src/app-server.ts +++ b/packages/contracts/src/app-server.ts @@ -659,6 +659,7 @@ export interface LingAppServerWorkItemWorkflowBindParams { readonly expectedPlanRevision: number; readonly expectedWorkItemRevision: number; readonly idempotencyKey: string; + readonly previousWorkflowId?: string; } export interface LingAppServerWorkItemWorkflowBinding { @@ -668,6 +669,7 @@ export interface LingAppServerWorkItemWorkflowBinding { readonly planId: string; readonly planRevision: number; readonly linkedAt: string; + readonly previousWorkflowId?: string; } export interface LingAppServerWorkItemWorkflowBindResult extends LingAppServerWorkItemResult { diff --git a/packages/contracts/src/workflows.ts b/packages/contracts/src/workflows.ts index e8aa361ce..7c1f552b8 100644 --- a/packages/contracts/src/workflows.ts +++ b/packages/contracts/src/workflows.ts @@ -980,6 +980,7 @@ export interface WorkflowGraph { } export interface ChannelWorkflowMetadata { + readonly sourceProposedPlanId?: string; readonly templateCompilation?: WorkflowTemplateCompilationV1; readonly workflowGraphId?: string; readonly workflowGraphSchemaVersion?: number; diff --git a/packages/core/src/run-types.ts b/packages/core/src/run-types.ts index 28fbbe7c9..959877d5e 100644 --- a/packages/core/src/run-types.ts +++ b/packages/core/src/run-types.ts @@ -1486,6 +1486,7 @@ export interface ListRunsOptions { readonly threadId?: string; readonly providerPresetId?: string; readonly limit?: number; + readonly complete?: boolean; } export interface RunSummary { @@ -2699,7 +2700,8 @@ export interface RunStore extends AutomationEventStore, CodeAssessmentStore, Cod listWorkItems(options?: ListWorkItemsOptions, now?: string): WorkItem[]; routeWorkItem(id: string, input: WorkItemRouteRequest, now: string): WorkItem | undefined; acceptWorkItem(id: string, input: import("./work-item-types.js").WorkItemAcceptanceRequest, now: string, eventCwd?: string): import("./work-item-types.js").WorkItemAcceptanceResult | undefined; - bindWorkItemWorkflow(input: import("@ling-stack/contracts").LingAppServerWorkItemWorkflowBindParams, now: string): { + bindWorkItemWorkflow(input: import("@ling-stack/contracts").LingAppServerWorkItemWorkflowBindParams, now: string, + previousWorkflowSettled?: (workflowId: string) => boolean): { readonly binding: import("@ling-stack/contracts").LingAppServerWorkItemWorkflowBinding; readonly workItem: WorkItem; readonly replayed: boolean; diff --git a/packages/core/src/storage/sqlite-run-store.ts b/packages/core/src/storage/sqlite-run-store.ts index b0225aead..63349fac2 100644 --- a/packages/core/src/storage/sqlite-run-store.ts +++ b/packages/core/src/storage/sqlite-run-store.ts @@ -1269,7 +1269,8 @@ export class SqliteRunStore implements RunStore { getUserInputWait: (threadId, requestId) => this.getUserInputWait(threadId, requestId), }, ); - this.proposedPlanActions = new SqliteProposedPlanActionStore({ database: this.database }, this); + this.proposedPlanActions = new SqliteProposedPlanActionStore({ database: this.database }, this, + workflowId => this.hasTable("app_server_state") && Boolean(this.appServerState.get("work_item_workflow", workflowId))); this.conversationThreadTopology = new SqliteConversationThreadTopologyStore( { database: this.database }, { @@ -6151,8 +6152,9 @@ export class SqliteRunStore implements RunStore { return this.workItems.acceptWorkItem(id, input, now, this.appServerState, { store: this.controlPlane, cwd: eventCwd }); } - bindWorkItemWorkflow(input: import("@ling-stack/contracts").LingAppServerWorkItemWorkflowBindParams, now: string) { - return this.workItems.bindWorkflow(input, now, this.appServerState, { store: this.controlPlane, cwd: this.paths.cwd }); + bindWorkItemWorkflow(input: import("@ling-stack/contracts").LingAppServerWorkItemWorkflowBindParams, now: string, + previousWorkflowSettled?: (workflowId: string) => boolean) { + return this.workItems.bindWorkflow(input, now, this.appServerState, { store: this.controlPlane, cwd: this.paths.cwd }, previousWorkflowSettled); } getWorkItemWorkflowAdmissionBlocker(workflowId: string, step?: ChannelWorkflowStep): string | undefined { diff --git a/packages/core/src/storage/sqlite/channel-workflow-mappers.ts b/packages/core/src/storage/sqlite/channel-workflow-mappers.ts index dde4486a0..ac42804a5 100644 --- a/packages/core/src/storage/sqlite/channel-workflow-mappers.ts +++ b/packages/core/src/storage/sqlite/channel-workflow-mappers.ts @@ -382,6 +382,7 @@ function parseOptionalChannelWorkflowMetadata(value: string | undefined): Channe const record = parsed as Record; return omitUndefined({ templateCompilation: record.templateCompilation === undefined ? undefined : parseWorkflowTemplateCompilation(record.templateCompilation), + sourceProposedPlanId: readOptionalStringValue(record.sourceProposedPlanId), workflowGraphId: readOptionalStringValue(record.workflowGraphId), workflowGraphSchemaVersion: readOptionalPositiveIntegerValue(record.workflowGraphSchemaVersion), workflowGraphArtifactId: readOptionalStringValue(record.workflowGraphArtifactId), diff --git a/packages/core/src/storage/sqlite/proposed-plan-action-store.ts b/packages/core/src/storage/sqlite/proposed-plan-action-store.ts index 573caeeb8..8623d4a93 100644 --- a/packages/core/src/storage/sqlite/proposed-plan-action-store.ts +++ b/packages/core/src/storage/sqlite/proposed-plan-action-store.ts @@ -12,7 +12,8 @@ type ActionPatch = Partial boolean) {} applyProposedPlanArtifactAction(planId: string, input: ApplyProposedPlanArtifactActionInput, now: string): ProposedPlanArtifactActionResult { if (!["accept", "refine", "save", "archive", "convert-workflow"].includes(input.action)) { @@ -46,6 +47,12 @@ export class SqliteProposedPlanActionStore { throw new ProposedPlanMutationError("proposed_plan_channel_required", "Accepting or converting a plan requires its owning channel thread."); } if (input.action === "accept") { + const parent = plan.parentPlanId && this.ports.getProposedPlanArtifact(plan.parentPlanId); + if (parent && parent.supersededByPlanId === plan.id && parent.acceptedWorkflowId + && this.hasWorkItemWorkflowBinding(parent.acceptedWorkflowId)) { + throw new ProposedPlanMutationError("work_item_workflow_replan_required", + "Accept this successor as a Workflow and bind it to the predecessor Work Item."); + } const task = this.ports.createTask({ channelId: thread.channelId, title: `Implement accepted plan: ${plan.title}`, prompt: [`Implement accepted plan: ${plan.title}`, "", plan.bodyMarkdown, "", `Source proposed plan: ${plan.id}`, plan.sourceMessageId ? `Source message: ${plan.sourceMessageId}` : ""].filter(Boolean).join("\n"), @@ -63,7 +70,7 @@ export class SqliteProposedPlanActionStore { const order = orderWorkflowStages(steps, input.workflowStepPreviews ?? []); const workflow = this.ports.createChannelWorkflow({ channelId: thread.channelId, title: workflowTitle, objective: steps.join("\n"), status: "draft", createdBy: input.createdBy || "local-user", - metadata: { sourceMessageId: plan.sourceMessageId } }, now); + metadata: { sourceMessageId: plan.sourceMessageId, sourceProposedPlanId: plan.id } }, now); const stepIds = new Map(); let firstStepId: string | undefined; for (const index of order) { diff --git a/packages/core/src/storage/sqlite/run-session-store.ts b/packages/core/src/storage/sqlite/run-session-store.ts index a03337704..73074c4d8 100644 --- a/packages/core/src/storage/sqlite/run-session-store.ts +++ b/packages/core/src/storage/sqlite/run-session-store.ts @@ -261,7 +261,6 @@ export class SqliteRunSessionStore { } listRuns(options: ListRunsOptions = {}): RunSession[] { - const limit = Math.min(Math.max(options.limit ?? 50, 1), 200); const clauses: string[] = []; const params: (string | number)[] = []; if (options.status) { @@ -285,9 +284,10 @@ export class SqliteRunSessionStore { params.push(options.providerPresetId); } const whereClause = clauses.length > 0 ? `WHERE ${clauses.join(" AND ")}` : ""; - params.push(limit); + const complete = options.complete === true && Boolean(options.workflowStepId); + if (!complete) params.push(Math.min(Math.max(options.limit ?? 50, 1), 200)); return this.context.database - .prepare(`${runSessionSelectSql(whereClause)} ORDER BY created_at DESC LIMIT ?`) + .prepare(`${runSessionSelectSql(whereClause)} ORDER BY created_at DESC${complete ? "" : " LIMIT ?"}`) .all(...params) .map((row) => mapRunSession(row as Record)); } diff --git a/packages/core/src/storage/sqlite/work-item-store.ts b/packages/core/src/storage/sqlite/work-item-store.ts index 655a3225f..9b920215b 100644 --- a/packages/core/src/storage/sqlite/work-item-store.ts +++ b/packages/core/src/storage/sqlite/work-item-store.ts @@ -42,6 +42,7 @@ import type { RunStore } from "../../run-types.js"; import type { ChannelWorkflowStep } from "../../workspace-types.js"; import { readSelectedWorkflowDecision } from "../../work-item-workflow-decision.js"; import { normalConversationSubmissionKey } from "../../conversation-item-store-types.js"; +import { readSqliteWithinTransaction } from "./read-snapshot.js"; export interface SqliteWorkItemStorePorts { readonly assertChannelExists: (channelId: string) => void; @@ -539,9 +540,10 @@ export class SqliteWorkItemStore { } bindWorkflow(input: LingAppServerWorkItemWorkflowBindParams, now: string, state: SqliteAppServerStateStore, - events: { readonly store: SqliteControlPlaneStore; readonly cwd: string }) { - const { workItemId, planId, expectedPlanRevision, expectedWorkItemRevision, idempotencyKey } = input; - const fingerprint = createHash("sha256").update(JSON.stringify([workItemId, planId, expectedPlanRevision, expectedWorkItemRevision])).digest("hex"); + events: { readonly store: SqliteControlPlaneStore; readonly cwd: string }, previousWorkflowSettled?: (workflowId: string) => boolean) { + const { workItemId, planId, expectedPlanRevision, expectedWorkItemRevision, idempotencyKey, previousWorkflowId } = input; + const fingerprint = createHash("sha256").update(JSON.stringify([workItemId, planId, expectedPlanRevision, expectedWorkItemRevision, + ...(previousWorkflowId === undefined ? [] : [previousWorkflowId])])).digest("hex"); const { database } = this.context; database.exec("BEGIN IMMEDIATE"); try { @@ -560,14 +562,26 @@ export class SqliteWorkItemStore { || plan.status !== "accepted" || item.channelId && workflow.channelId !== item.channelId || !acceptance) throw new Error("work_item_workflow_not_found"); if (item.revision !== expectedWorkItemRevision || plan.revision !== expectedPlanRevision - || item.workflowId || state.get("work_item_workflow", workflow.id)) throw new Error("work_item_workflow_stale"); - if (item.control.state !== "active" || item.holds.some(hold => hold.blocksNewAdmission) + || item.workflowId !== previousWorkflowId || state.get("work_item_workflow", workflow.id)) throw new Error("work_item_workflow_stale"); + if (previousWorkflowId) { + const prior = state.get("work_item_workflow", previousWorkflowId)?.payload as WorkItemWorkflowLink | undefined; + const parent = prior && this.ports.getProposedPlanArtifact(prior.binding.planId); + if (!prior || prior.binding.workItemId !== item.id || !parent || parent.supersededByPlanId !== plan.id + || plan.parentPlanId !== parent.id || parent.acceptedWorkflowId !== previousWorkflowId + || plan.threadId !== parent.threadId || item.planRevision !== `${parent.id}:${prior.binding.planRevision}`) { + throw new Error("work_item_workflow_stale"); + } + } + if (item.control.state !== (previousWorkflowId ? "paused" : "active") || item.holds.some(hold => hold.blocksNewAdmission) || item.control.unresolvedEffectIds.length || item.taskId || item.claim && item.claim.expiresAt > now || acceptance.dispatch && !this.conversationDispatchSettled(acceptance, item) || !["ready", "running", "waiting", "review"].includes(item.status) || !["draft", "ready"].includes(workflow.status)) throw new Error("work_item_workflow_held"); + if (previousWorkflowId && !readSqliteWithinTransaction(database, () => previousWorkflowSettled?.(previousWorkflowId))) { + throw new Error("work_item_workflow_predecessor_unsettled"); + } const binding = { workItemId, workflowId: workflow.id, threadId: plan.threadId, - planId, planRevision: plan.revision, linkedAt: now }; + planId, planRevision: plan.revision, linkedAt: now, ...(previousWorkflowId ? { previousWorkflowId } : {}) }; state.putWithinTransaction({ kind: "work_item_workflow", recordId: workflow.id, idempotencyKey, expectedRevision: 0, payload: { binding, fingerprint } satisfies WorkItemWorkflowLink }, now); database.prepare(`UPDATE work_items SET workflow_id=?, plan_revision=?, channel_id=?, revision=revision+1, updated_at=?, @@ -575,7 +589,8 @@ export class SqliteWorkItemStore { WHERE workspace_id=? AND id=?`).run(workflow.id, `${planId}:${plan.revision}`, workflow.channelId, now, item.workspaceId, item.id); const event = events.store.appendControlPlaneEventWithinTransaction({ workspaceId: item.workspaceId, cwd: events.cwd, domain: "work_items", entityType: "work_item", entityId: item.id, - action: "work_item.workflow.linked", data: { workItemId, workflowId: workflow.id, threadId: plan.threadId, revision: item.revision + 1 }, + action: "work_item.workflow.linked", data: { workItemId, workflowId: workflow.id, threadId: plan.threadId, + revision: item.revision + 1, ...(previousWorkflowId ? { previousWorkflowId } : {}) }, }, now); const workItem = this.getWorkItem(workItemId)!; database.exec("COMMIT"); @@ -596,7 +611,13 @@ export class SqliteWorkItemStore { getWorkflowAdmissionBlocker(workflowId: string, state: SqliteAppServerStateStore, step?: ChannelWorkflowStep): string | undefined { const link = state.get("work_item_workflow", workflowId)?.payload as WorkItemWorkflowLink | undefined; - if (!link) return step?.metadata?.requiredPlanDecision ? "work_item_workflow_unbound" : undefined; + if (!link) { + const planId = this.ports.getChannelWorkflow(workflowId)?.metadata?.sourceProposedPlanId; + const parentId = planId ? this.ports.getProposedPlanArtifact(planId)?.parentPlanId : undefined; + const previousWorkflowId = parentId ? this.ports.getProposedPlanArtifact(parentId)?.acceptedWorkflowId : undefined; + return step?.metadata?.requiredPlanDecision || previousWorkflowId && state.get("work_item_workflow", previousWorkflowId) + ? "work_item_workflow_unbound" : undefined; + } const binding = link.binding; const item = this.getWorkItem(binding.workItemId); const plan = this.ports.getProposedPlanArtifact(binding.planId); @@ -606,6 +627,8 @@ export class SqliteWorkItemStore { || item.control.unresolvedEffectIds.length || ["done", "cancelled", "archived", "superseded"].includes(item.status)) { return "work_item_workflow_held"; } + const successor = plan.supersededByPlanId ? this.ports.getProposedPlanArtifact(plan.supersededByPlanId) : undefined; + if (successor?.status === "accepted" && successor.acceptedWorkflowId) return "work_item_workflow_replan_pending"; if (this.incompleteWorkItemDependencyIds(item).length) return "work_item_workflow_dependency_blocked"; if (step?.metadata?.requiredPlanDecision && !this.getWorkflowStepDecision(step, state)) return "work_item_decision_pending"; return undefined; @@ -632,6 +655,11 @@ export class SqliteWorkItemStore { AND plan.workspace_id=workflow.workspace_id AND plan.accepted_workflow_id=workflow.id WHERE workflow.workspace_id=? AND workflow.status IN ('ready','running','waiting_for_approval') AND plan.status='accepted' AND item.control_state='active' + AND NOT EXISTS ( + SELECT 1 FROM ling_thread_proposed_plans successor + WHERE successor.id=plan.superseded_by_plan_id AND successor.workspace_id=plan.workspace_id + AND successor.status='accepted' AND successor.accepted_workflow_id IS NOT NULL + ) AND item.status NOT IN ('done','cancelled','archived','superseded') AND json_array_length(item.control_unresolved_effect_ids_json)=0 AND NOT EXISTS (SELECT 1 FROM json_each(item.holds_json) WHERE json_extract(value,'$.blocksNewAdmission')=1) diff --git a/packages/core/src/workspace-types.ts b/packages/core/src/workspace-types.ts index 7ce193317..c4d3e5021 100644 --- a/packages/core/src/workspace-types.ts +++ b/packages/core/src/workspace-types.ts @@ -2467,6 +2467,7 @@ export interface ChannelWorkflowStepMetadata { } export interface ChannelWorkflowMetadata { + readonly sourceProposedPlanId?: string; readonly templateCompilation?: import("@ling-stack/contracts").WorkflowTemplateCompilationV1; readonly workflowGraphId?: string; readonly workflowGraphSchemaVersion?: number; diff --git a/packages/daemon/src/features/runs/workflow-operation-effect-gate.ts b/packages/daemon/src/features/runs/workflow-operation-effect-gate.ts index 00a9bfa08..abadb0c55 100644 --- a/packages/daemon/src/features/runs/workflow-operation-effect-gate.ts +++ b/packages/daemon/src/features/runs/workflow-operation-effect-gate.ts @@ -48,6 +48,9 @@ export function workflowOperationAuthorityRejection(input: { }): WorkflowOperationBlock | undefined { const safety = workflowSafetyEffectRejection(input); if (safety) return safety; + const step = input.run.workflowStepId && input.store.getChannelWorkflowStep(input.run.workflowStepId); + const workItemBlocker = step && input.store.getWorkItemWorkflowAdmissionBlocker(step.workflowId, step); + if (workItemBlocker) return blocked(workItemBlocker, "The Work Item has suspended admission for this Workflow."); const context = validateWorkflowOperationRunContext(input); if (context.status === "legacy") return undefined; if (context.status === "blocked") return context; diff --git a/packages/daemon/src/features/work-items/workflow-stages.ts b/packages/daemon/src/features/work-items/workflow-stages.ts index 11c3c549b..99a5cfe40 100644 --- a/packages/daemon/src/features/work-items/workflow-stages.ts +++ b/packages/daemon/src/features/work-items/workflow-stages.ts @@ -2,6 +2,20 @@ import { createHash } from "node:crypto"; import type { LingAppServerWorkItemWorkflowStages } from "@ling-stack/contracts"; import type { ChannelWorkflowStep, RunStore, WorkItem } from "@ling-stack/core"; import { appendControlPlaneEvent, type ControlPlaneEventHub } from "../control-plane/events.js"; +import type { ActiveRunRegistry } from "../../runtime/active-runs.js"; +import { continuationSourceReady } from "../../runtime/continuation-source-barrier.js"; + +export function workItemWorkflowSettled(store: RunStore, activeRuns: ActiveRunRegistry, workflowId: string): boolean { + return store.listChannelWorkflowSteps({ workflowId, complete: true }).every(step => { + if (["claimed", "running", "waiting_for_approval", "waiting_for_input"].includes(step.status) + || store.getBlockingResourceLease("workflow_step", step.id)) return false; + return store.listRuns({ workflowStepId: step.id, complete: true }).every(run => { + const unit = run.workUnitId ? store.getWorkUnit(run.workUnitId) : undefined; + return Boolean(unit?.linkedRunId === run.id + && continuationSourceReady(store, unit, activeRuns, "work-item-replan", () => undefined)); + }); + }); +} /** Work Board and App Server project the actual Workflow owner and its retained evidence. */ export function readWorkItemWorkflowStages(store: RunStore, item: WorkItem, includeEvidence: boolean, offset = 0): LingAppServerWorkItemWorkflowStages | undefined { @@ -46,13 +60,14 @@ export function publishWorkItemWorkflowStep(store: RunStore, events: ControlPlan binding: import("@ling-stack/contracts").LingAppServerWorkItemWorkflowBinding; } | undefined; if (!link) return; - const { workItemId, threadId } = link.binding; + const { workItemId, threadId, planId, planRevision } = link.binding; const revision = createHash("sha256").update(JSON.stringify([step.id, step.updatedAt, step.status, step.runId])).digest("hex"); const idempotencyKey = `work-item-stage:${revision}`; if (store.getControlPlaneEventByIdempotency(step.workspaceId, idempotencyKey)) return; appendControlPlaneEvent(store, events, { workspaceId: step.workspaceId, cwd: store.paths.cwd, domain: "work_items", entityType: "work_item", entityId: workItemId, action: "work_item.stage.updated", - data: { workItemId, threadId, stepId, status: step.status, revision }, idempotencyKey, + data: { workItemId, threadId, workflowId: step.workflowId, planRevision: `${planId}:${planRevision}`, + stepId, status: step.status, revision }, idempotencyKey, }); } diff --git a/packages/daemon/src/server/app-server-mcp.ts b/packages/daemon/src/server/app-server-mcp.ts index 6b50b5432..8846238aa 100644 --- a/packages/daemon/src/server/app-server-mcp.ts +++ b/packages/daemon/src/server/app-server-mcp.ts @@ -120,9 +120,10 @@ export async function runLingAppServerMcp( annotations: { idempotentHint: true }, }, async params => describe(await client.acceptWorkItem(params))); if (methods.has("workItem/workflow/bind")) server.registerTool("ling_work_item_workflow_bind", { - description: "Bind an accepted Plan to its converted Workflow before staged execution. Retry with the same key.", + description: "Bind an accepted Plan to its converted Workflow. To replace a paused, settled Workflow, supply its ID and the accepted successor Plan. Retry with the same key.", inputSchema: z.strictObject({ workItemId: objectId, planId: objectId, - expectedPlanRevision: z.number().int().nonnegative(), expectedWorkItemRevision: z.number().int().nonnegative(), idempotencyKey: requestKey }), + expectedPlanRevision: z.number().int().nonnegative(), expectedWorkItemRevision: z.number().int().nonnegative(), idempotencyKey: requestKey, + previousWorkflowId: objectId.optional() }), annotations: { idempotentHint: true, destructiveHint: false }, }, async params => describe(await client.bindWorkItemWorkflow(params))); if (methods.has("changes/capture")) server.registerTool("ling_changes_capture", { diff --git a/packages/daemon/src/server/rpc.ts b/packages/daemon/src/server/rpc.ts index cb7f41274..223f3b1c3 100644 --- a/packages/daemon/src/server/rpc.ts +++ b/packages/daemon/src/server/rpc.ts @@ -109,7 +109,7 @@ import { listGitHubIntakePolicies, pollGitHubIntake, readGitHubIntake } from "./ import { readGitHubDelivery, reconcileGitHubDelivery } from "./app-server-github-delivery.js"; import { enqueueGitHubDelivery, gitHubQueueReceiptConfirmed, readGitHubQueue } from "./app-server-github-enqueue.js"; import { assertWorkItemConversationAdmission } from "../features/work-items/conversation-admission.js"; -import { readWorkItemWorkflowStages } from "../features/work-items/workflow-stages.js"; +import { readWorkItemWorkflowStages, workItemWorkflowSettled } from "../features/work-items/workflow-stages.js"; import { enqueueWorkItemFeedback } from "../features/learning/work-item-feedback.js"; import { readArtifactContentRange, resolveArtifactContentPath } from "../features/runs/artifacts.js"; import { isPrivateHostRecoveryArtifact, toPublicArtifactMetadata } from "../features/runs/public-artifacts.js"; @@ -1144,12 +1144,15 @@ class RpcConnection { expectedWorkItemRevision: readIntegerField(record, "expectedWorkItemRevision", "expectedWorkItemRevision"), expectedPlanRevision: readIntegerField(record, "expectedPlanRevision", "expectedPlanRevision"), idempotencyKey: readStringField(record, "idempotencyKey"), + previousWorkflowId: readOptionalStringField(record, "previousWorkflowId"), }; if (input.idempotencyKey.length > 200 || /[\r\n\0]/u.test(input.idempotencyKey)) { throw rpcError(-32602, "invalid_params", "Supply a Work Item binding key of up to 200 characters."); } try { - const { binding, workItem, replayed, event } = this.context.storeRegistry.getStore(cwd).bindWorkItemWorkflow(input, new Date().toISOString()); + const store = this.context.storeRegistry.getStore(cwd); + const { binding, workItem, replayed, event } = store.bindWorkItemWorkflow(input, new Date().toISOString(), + workflowId => workItemWorkflowSettled(store, this.context.activeRuns, workflowId)); if (event) this.context.controlPlaneEvents.publish(trimOversizedEvent(event)); return { cwd, binding, workItem: projectWorkItemSnapshot(workItem), replayed }; } catch (error) { @@ -1157,6 +1160,9 @@ class RpcConnection { if (code === "work_item_workflow_idempotency_conflict") throw rpcError(-32031, "idempotency_conflict", "The binding key was reused with different input."); if (code === "work_item_workflow_stale") throw rpcError(-32030, "stale_revision", "The Work Item or accepted Plan revision changed."); if (code === "work_item_workflow_held") throw rpcError(-32061, "resume_blocked", "The Work Item or Workflow cannot accept a new binding."); + if (code === "work_item_workflow_predecessor_unsettled") { + throw rpcError(-32061, "resume_blocked", "The predecessor Workflow has unsettled Runs or effects."); + } if (code === "work_item_workflow_not_found") throw rpcError(-32040, "workspace_binding_invalid", "An accepted Work Item and converted Plan in this workspace are required."); throw error; } diff --git a/packages/daemon/test/app-server-release-acceptance.test.ts b/packages/daemon/test/app-server-release-acceptance.test.ts index c7944ab09..a0edd6b82 100644 --- a/packages/daemon/test/app-server-release-acceptance.test.ts +++ b/packages/daemon/test/app-server-release-acceptance.test.ts @@ -47,6 +47,7 @@ import type { LingAppServerWorkItemReadResult, LingAppServerWorkItemFeedbackResult, LingAppServerWorkItemResult, + LingAppServerWorkItemWorkflowBindResult, LingAppServerWorkItemSnapshot, ProposedPlanActionResponse, LingAppServerWorktreeCleanupPreview, @@ -1196,29 +1197,69 @@ test("Codex control host streams Ling, accepts explicit controls, and replays cu await second.stop(); }); -test("the reference control host negotiates installed Codex and streams an actual Ling Turn", { +test("the reference control host negotiates installed Codex, queues a Ling intervention and replays after reconnect", { skip: !codexExecutable, timeout: 30_000, }, async t => { + let releaseSource: () => void = () => undefined; + const sourceGate = new Promise(resolve => { releaseSource = resolve; }); + const provider = await startLoopbackPiProvider(async (_body: unknown, count: number) => { + if (count === 1) await sourceGate; + return { text: count === 1 ? "Source complete" : "Follow-up complete" }; + }); + t.after(async () => { releaseSource(); await provider.close(); }); const fixture = await releaseFixture(t); const ling = await fixture.connect(); const { thread } = await ling.call("thread/start", { title: "Native Codex observation" }); const { daemonUrl, authToken } = fixture.transportOptions(); const cli = fileURLToPath(new URL("../../cli/dist/index.js", import.meta.url)); - const running = spawn(process.execPath, [cli, "--cwd", fixture.cwd, "--daemon-url", daemonUrl, - "app-server", "codex-host", "--thread", thread.id, "--state", join(fixture.root, "codex-host.sqlite"), - "--codex", codexExecutable!], { env: { ...process.env, LING_STACK_AUTH_TOKEN: authToken }, stdio: "pipe" }); - const peer = jsonLines(running.stdin, running.stdout); - const stopped = once(running, "close"); - let diagnostics = ""; - running.stderr.setEncoding("utf8").on("data", chunk => { diagnostics = (diagnostics + chunk).slice(-4000); }); - t.after(async () => { running.stdin.end(); await stopped; }); - const ready = await Promise.race([waitFor(() => peer.notices.find(notice => notice.method === "ready")), stopped.then(() => { - throw new Error(diagnostics.replaceAll(authToken, "[redacted]")); - })]); - assert.ok(ready.params?.codexUserAgent); - const { turn } = await ling.call<{ turn: { id: string } }>("turn/start", { threadId: thread.id, message: "Observe the committed Turn." }); - await waitFor(() => peer.notices.find(notice => notice.method === "turn/started" && notice.params?.event?.entityId === turn.id)); - assert.equal((await peer.call("ling/snapshot")).turn?.id, turn.id); + const statePath = join(fixture.root, "codex-host.sqlite"); + const codexHome = join(fixture.root, "codex-config"); + await mkdir(codexHome, { mode: 0o700 }); + const start = async () => { + const running = spawn(process.execPath, [cli, "--cwd", fixture.cwd, "--daemon-url", daemonUrl, + "app-server", "codex-host", "--thread", thread.id, "--state", statePath, "--codex", codexExecutable!], + { env: { ...process.env, CODEX_HOME: codexHome, LING_STACK_AUTH_TOKEN: authToken }, stdio: "pipe" }); + const peer = jsonLines(running.stdin, running.stdout); + const stopped = once(running, "close"); + let diagnostics = ""; + running.stderr.setEncoding("utf8").on("data", chunk => { diagnostics = (diagnostics + chunk).slice(-4000); }); + const stop = async () => { + running.stdin.end(); + assert.equal((await stopped)[0], 0, diagnostics.replaceAll(authToken, "[redacted]")); + }; + t.after(async () => { if (running.exitCode === null && running.signalCode === null) running.kill(); await stopped; }); + const ready = await Promise.race([waitFor(() => peer.notices.find(notice => notice.method === "ready")), stopped.then(() => { + throw new Error(diagnostics.replaceAll(authToken, "[redacted]")); + })]); + assert.ok(ready.params?.codexUserAgent); + return { ...peer, stop }; + }; + const first = await start(); + const preset = addLoopbackPreset(fixture.getStore(), provider.baseUrl); + const { turn } = await ling.call<{ turn: { id: string } }>("turn/start", { + threadId: thread.id, providerPresetId: preset.id, idempotencyKey: "codex-host-source", message: "Observe the committed Turn.", + }); + const started = await waitFor(() => first.notices.find(notice => notice.method === "turn/started" && notice.params?.event?.entityId === turn.id)); + await waitFor(() => provider.requests.length === 1 ? true : undefined); + const snapshot = await first.call("ling/snapshot"); + assert.equal(snapshot.turn?.id, turn.id); + const intervention = { expectedTurnId: turn.id, expectedTurnRevision: snapshot.turn?.updatedAt, + idempotencyKey: "native-codex-follow-up", message: "Verify the precise follow-up from the control host." }; + const queued = await first.call<{ intervention: RunIntervention }>("ling/queue", intervention); + assert.equal(queued.intervention.status, "queued"); + await first.stop(); + releaseSource(); + await waitFor(() => provider.requests.length === 2 ? true : undefined); + const second = await start(); + const finished = await waitFor(() => second.notices.find(notice => notice.method === "turn/completed" + && notice.params?.event?.data?.turnId === turn.id)); + assert.ok(finished.params?.eventId); + assert.ok(!second.notices.some(notice => notice.params?.eventId === started.params?.eventId)); + const replayed = await second.call<{ intervention: RunIntervention; replayed: boolean }>("ling/queue", intervention); + assert.equal(replayed.replayed, true); + assert.equal(replayed.intervention.id, queued.intervention.id); + assert.equal(provider.requests.length, 2); + await second.stop(); }); test("installed Codex calls the CLI MCP bridge while a Ling subscription receives the same Turn", { @@ -2469,6 +2510,137 @@ test("a staged Work Item recovers its original Workflow, runs independent QA and assert.equal((await finalClient.call("workItem/feedback/add", feedbackInput)).job.id, feedback.job.id); }); +test("a paused Work Item replaces its accepted Workflow after the old Run settles", { timeout: 35_000 }, async t => { + let finishPredecessor: () => void = () => undefined; + const predecessorGate = new Promise(resolve => { finishPredecessor = resolve; }); + const provider = await startLoopbackPiProvider(async (_body: unknown, request: number) => { + if (request === 1) { + await predecessorGate; + return { tool: "read", input: { path: "old-contract.txt" } }; + } + return { text: "Stage completed" }; + }); + t.after(async () => { finishPredecessor(); await provider.close(); }); + const fixture = await releaseFixture(t); + await writeFile(join(fixture.cwd, "old-contract.txt"), "Superseded contract contents\n"); + const store = fixture.getStore(); + const preset = addLoopbackPreset(store, provider.baseUrl); + const now = new Date().toISOString(); + const channel = store.createChannel({ name: "Compatibility work", boundPath: fixture.cwd, + allowedTools: ["read"], defaultProviderPresetId: preset.id }, now); + const thread = store.createLingThread({ kind: "channel_discussion", channelId: channel.id, + title: "Compatibility plan", objective: "Revise the accepted contract during execution" }, now); + const plan = store.upsertProposedPlanArtifact({ id: "plan_replacement", threadId: thread.id, + channelId: channel.id, title: "Compatibility plan", bodyMarkdown: "Preserve the original contract", status: "draft" }, now); + const post = async (path: string, body: object, method: "POST" | "PATCH" = "POST") => { + const { daemonUrl, authToken } = fixture.transportOptions(); + const url = new URL(path, daemonUrl); + url.searchParams.set("cwd", fixture.cwd); + return fetch(url, { method, body: JSON.stringify(body), + headers: { "content-type": "application/json", authorization: `Bearer ${authToken}` } }); + }; + const planPath = (id: string, action: string) => `/threads/${thread.id}/proposed-plans/${id}/${action}`; + const step = (stageId: string, title: string) => ({ + stageId, title, ownerId: "teammate_builtin_engineer", ownerLabel: "Engineer", + }); + const conversion = await post(planPath(plan.id, "convert-workflow"), { + expectedRevision: plan.revision, + workflowStepPreviews: [{ ...step("P01", "Read the old contract"), requiredTools: ["read"] }, { + ...step("P02", "Implement the old contract"), dependsOnStageIds: ["P01"], + }], + }); + assert.equal(conversion.status, 200); + const original = await conversion.json() as ProposedPlanActionResponse; + assert.ok(original.workflowId); + const [p01, p02] = store.listChannelWorkflowSteps({ workflowId: original.workflowId, complete: true }); + assert.ok(p01 && p02); + const item = store.upsertWorkItem({ sourceType: "manual", sourceId: "workflow-replacement", title: "Compatibility work", + channelId: channel.id, initialStatus: "ready" }, now); + const client = await fixture.connect(); + const accept = await client.call("workItem/accept", { + workItemId: item.id, expectedWorkItemRevision: item.revision, idempotencyKey: "accept-compatibility", + }); + const bind = { + workItemId: item.id, planId: original.plan.id, expectedPlanRevision: original.plan.revision, + expectedWorkItemRevision: Number(accept.workItem.revision), idempotencyKey: "bind-compatibility", + }; + const bound = await client.call("workItem/workflow/bind", bind); + const before = await client.call("workItem/read", { workItemId: item.id }); + const runWorkflow = (workflowId: string) => post(`/workflows/${workflowId}/orchestrate`, {}); + const started = await runWorkflow(original.workflowId); + assert.equal((await started.json()).status, "started"); + await waitFor(() => provider.requests.length === 1 ? true : undefined); + + const refinement = await post(planPath(original.plan.id, "refine"), { expectedRevision: original.plan.revision }); + assert.equal(refinement.status, 200); + const { plan: draft } = await refinement.json() as ProposedPlanActionResponse; + assert.equal(draft.parentPlanId, original.plan.id); + assert.equal(store.getWorkItemWorkflowAdmissionBlocker(original.workflowId), undefined); + const revision = await post(`/threads/${thread.id}/proposed-plans/${draft.id}`, { + expectedRevision: draft.revision, bodyMarkdown: "Adopt the revised compatibility contract.", + }, "PATCH"); + assert.equal(revision.status, 200); + const { plan: edited } = await revision.json() as ProposedPlanActionResponse; + const taskBypass = await post(planPath(draft.id, "accept"), { expectedRevision: edited.revision }); + assert.equal(taskBypass.status, 409); + assert.equal((await taskBypass.json()).error, "work_item_workflow_replan_required"); + const replacement = await post(planPath(draft.id, "convert-workflow"), { + expectedRevision: edited.revision, workflowStepPreviews: [step("P02", "Implement the accepted successor contract")], + }); + assert.equal(replacement.status, 200); + const successor = await replacement.json() as ProposedPlanActionResponse; + assert.ok(successor.workflowId); + const [newStep] = store.listChannelWorkflowSteps({ workflowId: successor.workflowId, complete: true }); + assert.ok(newStep); + const startStep = (stepId: string) => post(`/workflow-steps/${stepId}/start`, { mode: "create_and_run_task" }); + const unbound = await startStep(newStep.id); + assert.equal(unbound.status, 409); + assert.equal((await unbound.json()).error, "work_item_workflow_unbound"); + const superseding = await startStep(p02.id); + assert.equal(superseding.status, 409); + assert.equal((await superseding.json()).error, "work_item_workflow_replan_pending"); + const control = (action: "pause" | "resume", expectedWorkItemRevision: number, expectedControlGeneration: number, connection = client) => + connection.call(`workItem/${action}`, { + workItemId: item.id, actorId: "local-user", expectedWorkItemRevision, expectedControlGeneration, + idempotencyKey: `compatibility-${action}`, reason: "Accept the revised compatibility contract", + }); + const held = await control("pause", Number(bound.workItem.revision), 0); + const rebind = { + ...bind, planId: successor.plan.id, expectedPlanRevision: successor.plan.revision, + previousWorkflowId: original.workflowId, expectedWorkItemRevision: Number(held.workItem.revision), idempotencyKey: "bind-successor", + }; + await assert.rejects(client.call("workItem/workflow/bind", rebind), { code: "resume_blocked" }); + finishPredecessor(); + await waitFor(() => store.getChannelWorkflowStep(p01.id)?.status === "succeeded" ? true : undefined); + assert.match(JSON.stringify(provider.requests[1]), /work_item_workflow_held/u); + assert.doesNotMatch(JSON.stringify(provider.requests[1]), /Superseded contract contents/u); + await fixture.restart(); + const restored = await fixture.connect(); + const [boundSuccessor, replay] = await Promise.all([restored, await fixture.connect()].map(connection => + connection.call("workItem/workflow/bind", rebind))); + assert.ok(boundSuccessor && replay); + assert.deepEqual([boundSuccessor.replayed, replay.replayed].sort(), [false, true]); + assert.deepEqual(boundSuccessor.binding, replay.binding); + assert.equal(boundSuccessor.binding.previousWorkflowId, original.workflowId); + assert.equal(boundSuccessor.binding.workflowId, successor.workflowId); + assert.equal(boundSuccessor.workItem.control.state, "paused"); + await restored.call("workItem/subscribe", { workItemId: item.id, cursor: before.cursor }); + await waitFor(() => restored.notices.find(notice => notice.params?.event?.action === "work_item.workflow.linked" + && notice.params.event.data?.previousWorkflowId === original.workflowId)); + await control("resume", Number(boundSuccessor.workItem.revision), 1, restored); + const stale = await startStep(p02.id); + assert.equal(stale.status, 409); + assert.equal((await stale.json()).error, "work_item_workflow_stale"); + const newStart = await runWorkflow(successor.workflowId); + assert.equal((await newStart.json()).status, "started"); + const restoredStore = fixture.getStore(); + await waitFor(() => restoredStore.getChannelWorkflowStep(newStep.id)?.status === "succeeded" ? true : undefined); + assert.equal(restoredStore.listRuns({ workflowStepId: p01.id }).length, 1); + assert.equal(restoredStore.listRuns({ workflowStepId: p02.id }).length, 0); + assert.equal(restoredStore.listRuns({ workflowStepId: newStep.id }).length, 1); + assert.equal(provider.requests.length, 3); +}); + test("App Server reads bounded artifact ranges without exposing private metadata", { timeout: 20_000 }, async t => { const fixture = await releaseFixture(t); const store = fixture.getStore(); From 1147002cf016b95530f389b88ac2bc268b873a12 Mon Sep 17 00:00:00 2001 From: tianxiaochannel-oss88 Date: Mon, 23 Nov 2026 04:43:42 +0800 Subject: [PATCH 042/147] fix(daemon): enforce recovery at each Run owner --- .../daemon/src/features/runs/native-run-dispatcher.ts | 6 +++++- packages/daemon/src/features/runs/orchestrator.ts | 10 +++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/packages/daemon/src/features/runs/native-run-dispatcher.ts b/packages/daemon/src/features/runs/native-run-dispatcher.ts index 4b8e6959e..0ce315c75 100644 --- a/packages/daemon/src/features/runs/native-run-dispatcher.ts +++ b/packages/daemon/src/features/runs/native-run-dispatcher.ts @@ -20,6 +20,7 @@ import { type WorkflowStepStartOwnerV1, } from "@ling-stack/core"; import { HttpError } from "../../errors.js"; +import { recoveryBlocked } from "../../server/app-server-recovery.js"; import { isDeepStrictEqual } from "node:util"; import { resolveNativeRunnerSelection } from "../../runtime/native-runners.js"; import type { ActiveRunRegistry } from "../../runtime/active-runs.js"; @@ -192,6 +193,7 @@ async function executeNativeRunRequest( let workflowStartOwner: WorkflowStepStartOwnerV1 | undefined; try { + if (dependencies.storeRegistry.recoveryBlocksDispatch(workspaceCwd)) throw recoveryBlocked(); const delegationFeatures = dependencies.runtimeSupervisor.getHarnessFeatures().delegations; if (delegationFeatures.mode !== "off" && (delegationFeatures.rootBudget?.tokenBudget !== undefined || delegationFeatures.rootBudget?.costBudgetMicros !== undefined)) { @@ -269,7 +271,8 @@ async function executeNativeRunRequest( signal: AbortSignal.timeout(15_000) }); preparedMemory.assertCurrent(); if (dependencies.activeRuns.isShuttingDown()) throw new HttpError(503, "runtime_shutting_down", "Runtime is shutting down."); - // Admission can await native probes. Re-read idempotency before creating any durable execution authority. + // Admission can await native probes. Re-read recovery and idempotency before creating durable execution authority. + if (dependencies.storeRegistry.recoveryBlocksDispatch(workspaceCwd)) throw recoveryBlocked(); const raced = findExistingIdempotentRunRequest(store, runRequest); if (raced?.linkedRunId) throw new DuplicateRunRequestError(raced.linkedRunId); if (raced) throw new HttpError(409, "duplicate_work_unit", `Duplicate work unit request: ${raced.id}`); @@ -507,6 +510,7 @@ async function executeNativeRunRequest( } }; assertCurrentAuthority(); + if (dependencies.storeRegistry.recoveryBlocksDispatch(workspaceCwd)) throw recoveryBlocked(); const onDispatchAccepted = (acceptedAt: string): void => { // Workflow starts consume their durable Host gate while the workflow // owner is linked. The native target still reports its process-level diff --git a/packages/daemon/src/features/runs/orchestrator.ts b/packages/daemon/src/features/runs/orchestrator.ts index ebc13adfc..dfc415a08 100644 --- a/packages/daemon/src/features/runs/orchestrator.ts +++ b/packages/daemon/src/features/runs/orchestrator.ts @@ -348,17 +348,12 @@ export function executeRunRequest( writeRunPreparationFailure(sink, 503, { error: "runtime_shutting_down", message: "Runtime is shutting down." }); return undefined; } - if (storeRegistry.recoveryBlocksDispatch(request.workspaceCwd ?? request.cwd)) { - const error = recoveryBlocked(); - writeRunPreparationFailure(sink, error.statusCode, { error: error.code, message: error.message }); - return undefined; - } - const effectiveRequest = resolveChannelRunExecutionCwd(request, storeRegistry); - if (!effectiveRequest.executionBinding && isExternalExecutionEngineId(effectiveRequest.runnerId)) { + if (!request.executionBinding && isExternalExecutionEngineId(request.runnerId)) { writeRunPreparationFailure(sink, 409, { error: "legacy_runner_migration_required", message: "Endpoint execution is retired. Select a native profile before starting this engine." }); return undefined; } + const effectiveRequest = resolveChannelRunExecutionCwd(request, storeRegistry); if (effectiveRequest.executionBinding?.kind === "native_profile") { if (options.delegatedExecution) { writeRunPreparationFailure(sink, 409, { error: "delegation.native_execution_unsupported", @@ -714,6 +709,7 @@ async function executeAdmittedRunRequest( throw new HttpError(409, "continuation_identity_conflict", "A Run cannot use two continuation owners."); } workspaceCwd = runRequest.workspaceCwd ?? runRequest.cwd; + if (storeRegistry.recoveryBlocksDispatch(workspaceCwd)) throw recoveryBlocked(); await ensureWorkspaceStateWritableForRun(workspaceCwd); await ensureStartupReadyForRun({ cwd: workspaceCwd, From 91a0a82c256834961b02529f2de0fd33aaa6d602 Mon Sep 17 00:00:00 2001 From: tianxiaochannel-oss88 Date: Mon, 23 Nov 2026 04:43:42 +0800 Subject: [PATCH 043/147] feat(app-server): carry goals and successor plans across conversations --- .../design/ling-app-server-detailed-design.md | 4 +- .../ling-app-server-implementation-plan.md | 4 +- packages/api-client/src/app-server.ts | 13 +++ packages/contracts/src/app-server-schema.ts | 18 ++- packages/contracts/src/app-server.ts | 30 ++++- packages/core/src/app-server-state-types.ts | 2 +- packages/core/src/proposed-plan-mutation.ts | 1 + packages/core/src/run-types.ts | 4 + packages/core/src/storage/sqlite-run-store.ts | 50 ++++++++ .../sqlite/proposed-plan-action-store.ts | 10 +- .../daemon/src/features/runs/thread-routes.ts | 2 +- .../src/server/app-server-authorization.ts | 2 +- .../daemon/src/server/app-server-handoff.ts | 15 ++- packages/daemon/src/server/app-server-mcp.ts | 39 +++++++ packages/daemon/src/server/rpc.ts | 66 ++++++++--- .../app-server-release-acceptance.test.ts | 108 +++++++++++++----- 16 files changed, 308 insertions(+), 60 deletions(-) diff --git a/docs/design/ling-app-server-detailed-design.md b/docs/design/ling-app-server-detailed-design.md index 56800fbb0..ca85d65bd 100644 --- a/docs/design/ling-app-server-detailed-design.md +++ b/docs/design/ling-app-server-detailed-design.md @@ -74,7 +74,7 @@ App Server grant 使用 `las1..` bearer 形式。Daemon 只在 | 工作区 | `workspace/list`、`workspace/read`、`worktree/list`、`worktree/create`、`worktree/refresh`、`worktree/cleanup/preview`、`worktree/cleanup` | 使用 opaque workspace/worktree ID 和预期版本。清理路线沿用当前确认、归属和恢复校验。 | | Thread | `thread/start`、`thread/resume`、`thread/read`、`thread/list`、`thread/name/set`、`thread/archive`、`thread/unarchive`、`thread/delete/preview`、`thread/delete` | 返回标识、状态、版本、绑定、最新可见 Turn、有效规则来源和历史游标。永久删除使用现有管理权限与用户确认,并在预览和提交时核对当前 Work Item、Plan、Goal、审批、证据和 Delivery 依赖。 | | 历史和订阅 | `thread/turns/list`、`thread/items/list`、`item/read`、`thread/subscribe`、`thread/unsubscribe`、`thread/snapshot`、`submission/read` | 游标持久化,订阅 ID 只在连接有效。重连与历史读取没有执行副作用。 | -| 计划和目标 | `thread/mode/get`、`thread/mode/set`、`plan/read`、`plan/accept`、`thread/goal/get`、`thread/goal/set`、`thread/goal/pause`、`thread/goal/resume`、`thread/goal/clear`、`thread/goal/complete` | 复用现有模式、计划、Goal 版本和完成证据。工作内容发生实质变化时生成新的接受版本。 | +| 计划和目标 | `thread/mode/get`、`thread/mode/set`、`plan/read`、`plan/refine`、`plan/accept`、`thread/goal/get`、`thread/goal/set`、`thread/goal/pause`、`thread/goal/resume`、`thread/goal/clear`、`thread/goal/complete` | 复用现有模式、计划、Goal 版本和完成证据。`plan/refine` 以源版本生成后继草案。`plan/accept` 的 `workflow` 模式按草案版本和阶段预览创建 Workflow。 | | Turn | `turn/start`、`turn/steer`、`turn/queue`、`turn/interrupt`、`turn/retry`、`turn/resume` | 返回持久受理回执与状态。实际 Run、Attempt 和证据通过订阅或快照查询。 | | 分支和上下文 | `thread/fork`、`thread/compact/start`、`thread/revert`、`context/inspect`、`handoff/create`、`handoff/read`、`handoff/resume` | 从指定可恢复边界分支、压缩或交接。历史变更与实际文件回退各用自己的权限、预览和预期版本。 | | 改动和产物 | `changes/capture`、`changes/read`、`changes/apply/preview`、`changes/apply`、`artifact/read` | 以候选、选中 hunk、工作树版本和审批为边界。应用、回退、重放沿用现有 patch 所有者。产物可分页,内容读取限范围和大小。 | @@ -309,7 +309,7 @@ Goal 使用已接受的验收项。代码工作可以指定候选检查、检查 - Handoff 保存源 Thread/Turn/Goal、接受的目标与设计决定、候选和 worktree、已验证证据、待决请求/副作用、变更范围、阻塞及下一步。持久记录通过现有 artifact 与 Goal/Turn 归属。摘要引用原始任务及验收项。跨会话接手可以引用当前阶段简报、未决问答、工作项交接回执与所属 Workflow。审议引用证据板修订、封存结果和已记录的决定。 [阶段简报与交接](ling-agent-operating-model-detailed-design.md#57-plan-stages-and-stage-briefs) - `handoff/resume` 在新会话检查源是否可交接、worktree 版本与写入租约、候选、证据修订和当前授权。兼容则带版本接手,漂移则显示差异和需要重新验证的项。Runner 重启走已有 checkpoint 恢复,交接走普通 Turn 的新派发。多 Agent 使用现有 Workflow 归属、独立授权和可核对的产物合并。 - 每个开发任务记录 Provider、Runner、工作树和构建输入。调试长任务可看模型调用预算、失速原因和最近一个有证据的阶段。正常开发从稳定 Ling 使用独立 worktree 和 Agent 环境。候选 Daemon 和 UI 用独立数据、端口和测试配置启动。代码或配置需要换模型或 Runner 时,交接优先从明确的候选快照进入普通新任务。 -- `handoff/create` 只接受最新已收敛的普通 conversation Turn。它封存当前候选摘要、源 Turn/Run revision、Goal 进度、已接受计划和产物引用。`handoff/resume` 先复核这些摘要,再用普通 conversation fork 和受理收据创建一个子 Thread。重复请求复用同一 child Thread 和 Run,候选或源状态漂移返回 `handoff_stale`。 +- `handoff/create` 只接受最新已收敛的普通 conversation Turn。它封存当前候选摘要、源 Turn/Run revision、Goal 进度、已接受计划和产物引用。`handoff/resume` 复核摘要后创建子 Thread,在同一事务内转移 Goal 归属并记录两端事件。Goal ID、累计用量、预算和监督状态随归属转移。源会话有待派发续接或预算已用尽时暂停接手。重复请求复用 Goal 转移回执、child Thread 和 Run,候选或源状态漂移返回 `handoff_stale`。 ### 3.5 Codex 控制宿主 diff --git a/docs/design/ling-app-server-implementation-plan.md b/docs/design/ling-app-server-implementation-plan.md index 51b604860..1f408d225 100644 --- a/docs/design/ling-app-server-implementation-plan.md +++ b/docs/design/ling-app-server-implementation-plan.md @@ -26,7 +26,7 @@ - 复核工作台的「验证」页使用和 App Server 相同的 Verify operation。浏览器验收在隔离仓库中从 Web 触发已登记的 Chromium 检查,读取实际断言输出,刷新后恢复原结果并显示候选漂移。 - Goal 的 `verification_passed` 条件要求同一 Thread 的已完成 Verify operation、当前候选摘要、匹配的 verifier basis、coverage 和 producer refs。候选漂移、检查来源漂移、缺少独立证据和过期的接受版本都会阻止完成。 - App Server 可以为已绑定的频道或队友会话创建、刷新和归档托管工作树。归档按检视过的候选和目录身份校验,恢复日志保留同一预览请求的归档快照。 -- 普通会话可从最新已收敛的 Turn 封存 Handoff。记录包含候选、原 Goal 进度、接受的计划和产物引用。接手通过正常会话分支和提交受理复用原回执。候选、Goal 或计划变化时需要更新 Handoff。 +- 普通会话可从最新已收敛的 Turn 封存 Handoff。接手保留 Goal ID、累计用量、预算和监督状态。回归覆盖转移 Goal 后、受理子会话 Turn 前失败,重启后复用转移回执并派发一次。候选、Goal 或计划变化时需要更新 Handoff。 - App Server operator grant 支持 workspace、Thread 和 Work Item 范围,按 scope 分开观察、控制、审批和答复权限。grant 的 revision、过期和撤销参与握手、请求和推送路径。 - CLI 和 TypeScript client 可以直接进入上述流程。Daemon 重启、重复请求、取消未确认和未知配方仍保持已有的持久回执语义。 - MCP bridge 暴露 Work Item 阶段、协作记录、受限 artifact range、模型清单和 Skill 读取。artifact 元数据去除内容摘要,正文只能按授权的 Thread/Work Item/Run 归属读取,并受单次范围上限约束。 @@ -59,7 +59,7 @@ | --- | --- | | A1、B1、C1、C2 | 全方法的 Schema 校验和更多宿主兼容组合。workspace、Thread、Work Item 的 grant 和 WSS 已接入,审批和用户答复仍需按不同真实宿主与远程部署做验收。App Server 目标游标已绑定存储代次、授权代次和目标,现有兼容用例覆盖本机的上一版源码与候选组合。 | | D1、D2、E1、E2 | 开工与 Pi 运行中的项目规则加载、显式 Claude 规则、两个开发 Skill、工作区 Verify、独立 verifier basis、托管工作树管理、候选改动分页、Turn 改动恢复、选中 hunk 转移和工作台浏览器验证报告已接入。各发行平台验证仍待完成。 | -| F1、F2 | 普通会话已接入 Handoff 的候选封存和接手。CLI `app-server codex-host` 同时连接 Ling 和 Codex,保存连接游标和干预回执。本机安装的 Codex 联调覆盖 Ling 的在途排队、事件补齐和原干预回执。可编程宿主的会话界面、向正在运行的 Codex Turn 发送指导及跨 Agent 预算承接仍待验收。 | +| F1、F2 | 普通会话 Handoff 的候选封存、Goal 预算承接与接手已接入。CLI `app-server codex-host` 同时连接 Ling 和 Codex,保存连接游标和干预回执。本机安装的 Codex 联调覆盖 Ling 的在途排队、事件补齐和原干预回执。可编程宿主的会话界面、向正在运行的 Codex Turn 发送指导及跨 Workflow Agent 的预算承接仍待验收。 | | O1、O3–O9 | GitHub 签名 webhook、轮询和显式接单归并至同一工作项。自动接单策略处理免打扰、并发、启动额度和派发前状态重查。还需 Channel、设备和已有 AutomationRun 的统一自治接入、设备反馈、改计划时按受影响阶段暂停并承接独立成果、Workflow 交接、自动审议投票、跨 Run 预算与完整 O9 联合验收。 | | G | 独立恢复日志已验证 SQLite 快照恢复、撤权、旧游标失效和 GitHub 对账后派发。上一版源码通过同一套本地兼容验收。签名安装产物、实际远程 WSS、受保护 GitHub 仓库及三个真实 Provider 自研试点仍需对应环境的证据。macOS 打包预检需要当前打包输入的 Office 审查、对应 Electron/OS 的受限运行时审查和 gstack 平台资源。T01 离线预检可进入评审,真实试点仍需按 Framework Assurance 准入。 | diff --git a/packages/api-client/src/app-server.ts b/packages/api-client/src/app-server.ts index fa89c2d01..842e9f243 100644 --- a/packages/api-client/src/app-server.ts +++ b/packages/api-client/src/app-server.ts @@ -61,6 +61,9 @@ import type { LingAppServerInitializeParams, LingAppServerInitializeResult, LingAppServerInputRespondParams, + LingAppServerPlanRefineParams, + LingAppServerPlanWorkflowAcceptParams, + ProposedPlanActionResponse, LingAppServerInputRespondResult, LingAppServerJsonRpcId, LingAppServerNotificationMethod, @@ -360,6 +363,16 @@ export class LingAppServerClient { return await this.request("workItem/workflow/bind", params); } + async refinePlan(params: LingAppServerPlanRefineParams): Promise { + await this.connect(); + return this.request("plan/refine", params); + } + + async acceptPlanAsWorkflow(params: LingAppServerPlanWorkflowAcceptParams): Promise { + await this.connect(); + return this.request("plan/accept", params); + } + async startThread(params: Record): Promise { await this.connect(); return await this.request("thread/start", params); diff --git a/packages/contracts/src/app-server-schema.ts b/packages/contracts/src/app-server-schema.ts index f21ac09a9..4358196fc 100644 --- a/packages/contracts/src/app-server-schema.ts +++ b/packages/contracts/src/app-server-schema.ts @@ -46,6 +46,12 @@ const stringArraySchema: LingAppServerJsonSchema = { type: "array", items: strin const threadTarget = { threadId: stringSchema }; const workItemTarget = { workItemId: stringSchema }; +const planTarget = { ...threadTarget, planId: stringSchema, expectedRevision: integerSchema }; +const planActionResult = objectWith({ cwd: stringSchema, threadId: stringSchema, plan: objectSchema, taskId: stringSchema, + workflowId: stringSchema, workflowStepId: stringSchema, runId: stringSchema }, ["cwd", "threadId", "plan"]); +const planWorkflowStep = objectWith({ title: stringSchema, stageId: stringSchema, dependsOnStageIds: stringArraySchema, + ownerId: stringSchema, ownerLabel: stringSchema, requiredTools: stringArraySchema, + requiredDecision: objectWith({ question: stringSchema, options: stringArraySchema }, ["question", "options"]) }, ["title"]); const journalFields = { id: stringSchema, recordedAt: stringSchema, pending: booleanSchema }; const journalRequired = ["id", "kind", "recordedAt", "pending"]; const journalEntry = { oneOf: [ @@ -195,7 +201,11 @@ function schemaFor(method: LingAppServerMethod): LingAppServerMethodSchema { case "plan/read": return { params: objectWith({ ...threadTarget, planId: stringSchema, limit: integerSchema }), result }; case "plan/accept": - return { params: objectWith({ ...threadTarget, planId: stringSchema, expectedRevision: integerSchema }, ["threadId", "planId"]), result }; + return { params: objectWith({ ...planTarget, mode: { enum: ["workflow"] }, workflowTitle: stringSchema, + workflowStepPreviews: { type: "array", items: planWorkflowStep } }, ["threadId", "planId"]), result: planActionResult }; + case "plan/refine": + return { params: objectWith({ ...planTarget, draft: objectWith({ title: stringSchema, bodyMarkdown: stringSchema }, ["title", "bodyMarkdown"]) }, + ["threadId", "planId", "expectedRevision"]), result: planActionResult }; case "item/read": return { params: objectWith({ ...threadTarget, itemId: stringSchema }, ["threadId", "itemId"]), result }; case "context/inspect": @@ -385,7 +395,11 @@ function schemaFor(method: LingAppServerMethod): LingAppServerMethodSchema { case "handoff/read": return { params: objectWith({ handoffId: stringSchema }, ["handoffId"]), result }; case "handoff/resume": - return { params: objectWith({ handoffId: stringSchema, providerPresetId: stringSchema }, ["handoffId", "providerPresetId"]), result }; + return { params: objectWith({ handoffId: stringSchema, providerPresetId: stringSchema }, ["handoffId", "providerPresetId"]), + result: objectWith({ cwd: stringSchema, handoffId: stringSchema, thread: objectSchema, replayed: booleanSchema, + goalTransfer: objectWith({ goalId: stringSchema, sourceThreadId: stringSchema, threadId: stringSchema, + sourceGoalRevision: stringSchema, transferredAt: stringSchema }, + ["goalId", "sourceThreadId", "threadId", "sourceGoalRevision", "transferredAt"]) }, ["cwd", "handoffId", "thread", "replayed"]) }; case "github/intake/policy/list": return { params: objectSchema, result }; case "github/intake/read": diff --git a/packages/contracts/src/app-server.ts b/packages/contracts/src/app-server.ts index baa3959a5..43545a059 100644 --- a/packages/contracts/src/app-server.ts +++ b/packages/contracts/src/app-server.ts @@ -6,7 +6,7 @@ import type { ConversationContextProjectionMetadata } from "./conversation-conti import type { RunSession } from "./runtime.js"; import type { ProviderPreset } from "./providers.js"; import type { SkillDefinition, SkillRegistryEntry } from "./skills.js"; -import type { LingThread, LingThreadGoal } from "./threads.js"; +import type { LingThread, LingThreadGoal, ProposedPlanWorkflowStepPreview } from "./threads.js"; import type { LingTurn, LingTurnRun } from "./turns.js"; import type { ManagedWorktreeEntry, ManagedWorktreeOwnerKind, WorktreeRecoverySnapshot } from "./worktrees.js"; import type { UserInputAnswerAcceptedResponseV1, UserInputAnswerCommandV1 } from "./user-input.js"; @@ -106,6 +106,7 @@ export const LING_APP_SERVER_METHODS = [ "thread/mode/set", "plan/read", "plan/accept", + "plan/refine", "thread/goal/get", "thread/goal/set", "thread/goal/pause", @@ -677,6 +678,24 @@ export interface LingAppServerWorkItemWorkflowBindResult extends LingAppServerWo readonly replayed: boolean; } +export interface LingAppServerPlanRefineParams { + readonly cwd?: string; + readonly threadId: string; + readonly planId: string; + readonly expectedRevision: number; + readonly draft?: { readonly title: string; readonly bodyMarkdown: string }; +} + +export interface LingAppServerPlanWorkflowAcceptParams { + readonly cwd?: string; + readonly threadId: string; + readonly planId: string; + readonly expectedRevision: number; + readonly mode: "workflow"; + readonly workflowTitle?: string; + readonly workflowStepPreviews: readonly ProposedPlanWorkflowStepPreview[]; +} + export interface LingAppServerWorkItemWorkflowStages { readonly workflowId: string; readonly planRevision: string; @@ -1120,9 +1139,18 @@ export interface LingAppServerHandoffResumeResult { readonly thread: LingThread; readonly turn?: LingTurn; readonly run?: RunSession; + readonly goalTransfer?: LingAppServerHandoffGoalTransfer; readonly replayed: boolean; } +export interface LingAppServerHandoffGoalTransfer { + readonly goalId: string; + readonly sourceThreadId: string; + readonly threadId: string; + readonly sourceGoalRevision: string; + readonly transferredAt: string; +} + export interface LingAppServerGitHubSubjectParams { readonly cwd?: string; readonly repository: string; diff --git a/packages/core/src/app-server-state-types.ts b/packages/core/src/app-server-state-types.ts index 01563fc88..ca4799497 100644 --- a/packages/core/src/app-server-state-types.ts +++ b/packages/core/src/app-server-state-types.ts @@ -2,7 +2,7 @@ import type { ControlPlaneEvent } from "./run-types.js"; export type AppServerStateKind = "verify_plan" | "verify_operation" | "review_submission" | "review_finding_update" | "simplify_submission" | "external_federation" | "work_item_creation" | "work_item_acceptance" | "work_item_control" - | "replay_identity" | "handoff" | "authorization_grant" | "work_item_target" | "work_item_source" + | "replay_identity" | "handoff" | "handoff_goal_transfer" | "authorization_grant" | "work_item_target" | "work_item_source" | "github_delivery" | "github_delivery_current" | "github_queue_intent" | "work_item_thread" | "automation_coordination" | "coordination_round" | "coordination_automation_run" | "project_instruction_update" | "change_recovery_request" | "change_transfer_request" | "github_intake_pending" | "github_intake_receipt" | "github_intake_dispatch" | "work_item_workflow"; diff --git a/packages/core/src/proposed-plan-mutation.ts b/packages/core/src/proposed-plan-mutation.ts index 1c69778ea..dc592518b 100644 --- a/packages/core/src/proposed-plan-mutation.ts +++ b/packages/core/src/proposed-plan-mutation.ts @@ -16,6 +16,7 @@ export interface ApplyProposedPlanArtifactActionInput { readonly workflowTitle?: string; readonly workflowSteps?: readonly string[]; readonly workflowStepPreviews?: readonly ProposedPlanWorkflowStepPreviewInput[]; + readonly refinedDraft?: Pick; } export interface ProposedPlanArtifactActionResult { diff --git a/packages/core/src/run-types.ts b/packages/core/src/run-types.ts index 959877d5e..61bbe9e0c 100644 --- a/packages/core/src/run-types.ts +++ b/packages/core/src/run-types.ts @@ -2726,6 +2726,10 @@ export interface RunStore extends AutomationEventStore, CodeAssessmentStore, Cod listPendingGitHubIntakeDispatches(updatedBefore: string, limit: number): import("./app-server-state-types.js").AppServerStateRecord[]; putAppServerState(input: import("./app-server-state-types.js").PutAppServerStateInput, now: string, publication?: AppendControlPlaneEventInput): import("./app-server-state-types.js").PutAppServerStateResult | undefined; deleteAppServerState(kind: import("./app-server-state-types.js").AppServerStateKind, recordId: string, workspaceId?: string): boolean; + transferAppServerHandoffGoal(handoffId: string, threadId: string, now: string): { + readonly transfer: import("@ling-stack/contracts").LingAppServerHandoffGoalTransfer; + readonly events: readonly ControlPlaneEvent[]; + } | undefined; pauseWorkItem(id: string, input: WorkItemControlRequest, now: string): WorkItem | undefined; resumeWorkItem(id: string, input: WorkItemControlRequest, now: string): WorkItem | undefined; cancelWorkItem(id: string, input: WorkItemControlRequest, now: string): WorkItem | undefined; diff --git a/packages/core/src/storage/sqlite-run-store.ts b/packages/core/src/storage/sqlite-run-store.ts index 63349fac2..4b2426cf7 100644 --- a/packages/core/src/storage/sqlite-run-store.ts +++ b/packages/core/src/storage/sqlite-run-store.ts @@ -6238,6 +6238,56 @@ export class SqliteRunStore implements RunStore { return this.appServerState.delete(kind, recordId, workspaceId); } + transferAppServerHandoffGoal(handoffId: string, threadId: string, now: string): ReturnType { + this.database.exec("BEGIN IMMEDIATE"); + try { + const retained = this.appServerState.get("handoff_goal_transfer", handoffId); + if (retained) { + const transfer = retained.payload as import("@ling-stack/contracts").LingAppServerHandoffGoalTransfer; + if (transfer.threadId !== threadId) throw new Error("handoff_goal_stale"); + this.database.exec("COMMIT"); + return { transfer, events: [] }; + } + const record = this.appServerState.get("handoff", handoffId)?.payload as { handoff: import("@ling-stack/contracts").LingAppServerHandoff } | undefined; + const handoff = record?.handoff; + if (!handoff?.goal) { + this.database.exec("COMMIT"); + return undefined; + } + const source = this.getLingThread(handoff.sourceThreadId); + const goal = this.getLingThreadGoal(handoff.sourceThreadId); + const child = this.getNormalConversationForkSeed(threadId); + const childThread = child && this.getLingThread(threadId); + const [turn] = this.listLingTurns({ threadId: handoff.sourceThreadId, orderBy: "createdAt", limit: 1 }); + if (!source || source.archivedAt || source.activeRunId || turn?.id !== handoff.sourceTurnId + || turn.updatedAt !== handoff.sourceTurnRevision || turn.lastRunId !== handoff.sourceRunId + || !goal || goal.id !== handoff.goal.id || goal.updatedAt !== handoff.goal.updatedAt + || this.getLingThreadGoal(threadId) || !child || !childThread || childThread.activeRunId || childThread.archivedAt + || child.threadId !== source.id || child.turnId !== turn.id || child.sourceRunId !== turn.lastRunId) { + throw new Error("handoff_goal_stale"); + } + if (this.database.prepare(`SELECT 1 FROM run_interventions i JOIN run_sessions r ON r.id=i.source_run_id + WHERE r.thread_id=? AND i.status IN ('queued','cancelling_source','starting_continuation') LIMIT 1`).get(source.id)) { + throw new Error("handoff_goal_busy"); + } + const updated = this.database.prepare(`UPDATE ling_thread_goals SET thread_id=?, updated_at=? + WHERE id=? AND thread_id=? AND updated_at=?`).run(threadId, now, goal.id, source.id, goal.updatedAt); + if (updated.changes !== 1) throw new Error("handoff_goal_stale"); + const transfer = { goalId: goal.id, sourceThreadId: source.id, threadId, sourceGoalRevision: goal.updatedAt, transferredAt: now }; + this.appServerState.putWithinTransaction({ kind: "handoff_goal_transfer", recordId: handoffId, expectedRevision: 0, payload: transfer }, now); + const events = [source.id, threadId].map(affectedThreadId => this.controlPlane.appendControlPlaneEventWithinTransaction({ + workspaceId: goal.workspaceId, cwd: this.paths.cwd, domain: "runs", entityType: "thread_goal", entityId: goal.id, + action: "thread.goal.updated", data: { threadId: affectedThreadId, goalId: goal.id, handoffId, + ...(affectedThreadId === threadId ? { status: goal.status, revision: now } : { transferred: true }) }, + }, now)); + this.database.exec("COMMIT"); + return { transfer, events }; + } catch (error) { + rollbackOwnedSqliteTransaction(this.database); + throw error; + } + } + pauseWorkItem(id: string, input: WorkItemControlRequest, now: string): WorkItem | undefined { return this.workItems.pauseWorkItem(id, input, now); } diff --git a/packages/core/src/storage/sqlite/proposed-plan-action-store.ts b/packages/core/src/storage/sqlite/proposed-plan-action-store.ts index 8623d4a93..746937c1f 100644 --- a/packages/core/src/storage/sqlite/proposed-plan-action-store.ts +++ b/packages/core/src/storage/sqlite/proposed-plan-action-store.ts @@ -36,7 +36,7 @@ export class SqliteProposedPlanActionStore { } if (input.action === "save") return { plan: this.update(plan, { savedAt: now }, now) }; if (input.action === "archive") return { plan: this.update(plan, { status: "archived", archivedAt: plan.archivedAt ?? now }, now) }; - if (input.action === "refine") return { plan: this.refine(plan, now) }; + if (input.action === "refine") return { plan: this.refine(plan, now, input.refinedDraft) }; if (input.action === "accept" && plan.acceptedTaskId) return { plan, taskId: plan.acceptedTaskId, runId: plan.acceptedRunId }; if (input.action === "convert-workflow" && plan.acceptedWorkflowId) return { plan, workflowId: plan.acceptedWorkflowId, workflowStepId: plan.acceptedWorkflowStepId, runId: plan.acceptedRunId }; @@ -100,7 +100,7 @@ export class SqliteProposedPlanActionStore { }); } - private refine(parent: ProposedPlanArtifact, now: string): ProposedPlanArtifact { + private refine(parent: ProposedPlanArtifact, now: string, draft?: ApplyProposedPlanArtifactActionInput["refinedDraft"]): ProposedPlanArtifact { const group = parent.planGroupId ?? parent.id; if (!Number.isSafeInteger(parent.version ?? 1) || (parent.version ?? 1) < 1) { throw new ProposedPlanMutationError("proposed_plan_lineage_conflict", "The parent plan has an invalid lineage version."); @@ -112,6 +112,9 @@ export class SqliteProposedPlanActionStore { || child.version !== (parent.version ?? 1) + 1) { throw new ProposedPlanMutationError("proposed_plan_lineage_conflict", "The existing refined successor has inconsistent lineage."); } + if (draft && (draft.title !== child.title || draft.bodyMarkdown !== child.bodyMarkdown)) { + throw new ProposedPlanMutationError("proposed_plan_revision_conflict", "Review the existing successor before editing its draft."); + } return child; } const version = (parent.version ?? 1) + 1; @@ -119,7 +122,8 @@ export class SqliteProposedPlanActionStore { const child = this.ports.upsertProposedPlanArtifact({ id: createProposedPlanArtifactId(), threadId: parent.threadId, channelId: parent.channelId, goalId: parent.goalId, sourceAgentId: parent.sourceAgentId, ownerAgentId: parent.ownerAgentId, sourceTurnId: parent.sourceTurnId, sourceMessageId: parent.sourceMessageId, sourceRunId: parent.sourceRunId, - parentPlanId: parent.id, planGroupId: group, version, title: parent.title, bodyMarkdown: parent.bodyMarkdown, status: "draft" }, now); + parentPlanId: parent.id, planGroupId: group, version, + title: draft?.title ?? parent.title, bodyMarkdown: draft?.bodyMarkdown ?? parent.bodyMarkdown, status: "draft" }, now); this.update(parent, { supersededByPlanId: child.id, ...(parent.status === "draft" && !proposedPlanHasAcceptance(parent) ? { status: "superseded" as const } : {}) }, now); return child; diff --git a/packages/daemon/src/features/runs/thread-routes.ts b/packages/daemon/src/features/runs/thread-routes.ts index 617034285..b552fa174 100644 --- a/packages/daemon/src/features/runs/thread-routes.ts +++ b/packages/daemon/src/features/runs/thread-routes.ts @@ -2388,7 +2388,7 @@ function parsePatchProposedPlanArtifactBody(value: unknown): UpdateProposedPlanA }; } -function parseProposedPlanActionBody(value: unknown, threadId: string): ProposedPlanActionInput { +export function parseProposedPlanActionBody(value: unknown, threadId: string): ProposedPlanActionInput { if (value === undefined || value === null) { return {}; } diff --git a/packages/daemon/src/server/app-server-authorization.ts b/packages/daemon/src/server/app-server-authorization.ts index 778662e97..898500dad 100644 --- a/packages/daemon/src/server/app-server-authorization.ts +++ b/packages/daemon/src/server/app-server-authorization.ts @@ -110,7 +110,7 @@ export function revokeAppServerGrant(store: RunStore, grantId: string, expectedR const serverMethods = new Set(["initialize", "server/ping", "server/capabilities"]); const threadReads = new Set([ "thread/read", "thread/resume", "thread/snapshot", "thread/turns/list", "thread/items/list", "thread/events/read", - "thread/subscribe", "thread/unsubscribe", "thread/mode/get", "thread/goal/get", "item/read", "context/inspect", "artifact/read", + "thread/subscribe", "thread/unsubscribe", "thread/mode/get", "thread/goal/get", "plan/read", "item/read", "context/inspect", "artifact/read", ]); const workspaceReads = new Set(["model/list", "skill/read", "permissionProfile/list"]); const threadControls = new Set(["turn/start", "turn/queue", "turn/interrupt", "turn/resume"]); diff --git a/packages/daemon/src/server/app-server-handoff.ts b/packages/daemon/src/server/app-server-handoff.ts index 36b978f06..c4741909b 100644 --- a/packages/daemon/src/server/app-server-handoff.ts +++ b/packages/daemon/src/server/app-server-handoff.ts @@ -1,6 +1,6 @@ import { createHash, randomUUID } from "node:crypto"; import { realpath } from "node:fs/promises"; -import type { LingAppServerHandoff, LingAppServerHandoffCreateParams } from "@ling-stack/contracts"; +import type { LingAppServerHandoff, LingAppServerHandoffCreateParams, LingAppServerHandoffGoalTransfer } from "@ling-stack/contracts"; import { DEFAULT_WORKSPACE_ID, type RunStore } from "@ling-stack/core"; import type { DaemonContext } from "../context.js"; import { HttpError } from "../errors.js"; @@ -74,14 +74,25 @@ export function readAppServerHandoff(store: RunStore, handoffId: string): LingAp return record.handoff; } +export function readAppServerHandoffGoalTransfer(store: RunStore, handoffId: string): LingAppServerHandoffGoalTransfer | undefined { + return store.getAppServerState("handoff_goal_transfer", handoffId)?.payload as LingAppServerHandoffGoalTransfer | undefined; +} + export async function checkAppServerHandoff(context: DaemonContext, store: RunStore, handoff: LingAppServerHandoff) { const candidate = await captureHandoffCandidate(store.paths.cwd); const source = handoffSource(context, store, handoff.sourceThreadId, handoff.sourceTurnId); + const transfer = readAppServerHandoffGoalTransfer(store, handoff.handoffId); + const goal = transfer ? store.getLingThreadGoal(transfer.threadId) : source.goal; + const goalRevision = transfer?.sourceGoalRevision ?? goal?.updatedAt; if (candidate.candidateDigest !== handoff.candidate.candidateDigest || source.turn.updatedAt !== handoff.sourceTurnRevision - || source.run.id !== handoff.sourceRunId || source.goal?.id !== handoff.goal?.id || source.goal?.updatedAt !== handoff.goal?.updatedAt + || source.run.id !== handoff.sourceRunId || goal?.id !== handoff.goal?.id || goalRevision !== handoff.goal?.updatedAt + || transfer && source.goal !== undefined || source.plan?.id !== handoff.plan?.id || source.plan?.revision !== handoff.plan?.revision) { throw new HttpError(409, "handoff_stale", "The source candidate, accepted plan, or evidence changed since the handoff was recorded."); } + if (goal?.tokenBudget !== undefined && goal.tokensUsed >= goal.tokenBudget) { + throw new HttpError(409, "resume_blocked", "The handed-off Goal has no remaining token budget."); + } return source.thread; } diff --git a/packages/daemon/src/server/app-server-mcp.ts b/packages/daemon/src/server/app-server-mcp.ts index 8846238aa..6261a0201 100644 --- a/packages/daemon/src/server/app-server-mcp.ts +++ b/packages/daemon/src/server/app-server-mcp.ts @@ -126,6 +126,45 @@ export async function runLingAppServerMcp( previousWorkflowId: objectId.optional() }), annotations: { idempotentHint: true, destructiveHint: false }, }, async params => describe(await client.bindWorkItemWorkflow(params))); + const plan = { threadId: objectId, planId: objectId, expectedRevision: z.number().int().positive() }; + if (methods.has("plan/refine")) server.registerTool("ling_plan_refine", { + description: "Create the next draft from a Ling Plan at its current revision.", + inputSchema: z.strictObject({ ...plan, draft: z.strictObject({ + title: z.string().min(1).max(500), bodyMarkdown: z.string().min(1).max(65_536), + }).optional() }), + annotations: { idempotentHint: true, destructiveHint: false }, + }, async params => describe(await client.refinePlan(params))); + if (methods.has("plan/accept")) server.registerTool("ling_plan_accept_workflow", { + description: "Accept a Plan revision as a staged Workflow using the supplied participant and dependency previews.", + inputSchema: z.strictObject({ ...plan, workflowTitle: z.string().min(1).max(500).optional(), + workflowStepPreviews: z.array(z.strictObject({ + stageId: objectId, title: z.string().min(1).max(500), + ownerId: objectId.optional(), ownerLabel: z.string().min(1).max(160).optional(), + dependsOnStageIds: z.array(objectId).max(50).optional(), + requiredTools: z.array(z.enum(["read", "grep", "find", "ls", "bash", "edit", "write"])).max(7).optional(), + requiredDecision: z.strictObject({ + question: z.string().min(1).max(500), options: z.array(z.string().min(1).max(200)).min(2).max(12), + }).optional(), + })).min(1).max(50), + }), + annotations: { idempotentHint: true, destructiveHint: false }, + }, async params => describe(await client.acceptPlanAsWorkflow({ ...params, mode: "workflow" }))); + if (methods.has("handoff/create")) server.registerTool("ling_handoff_create", { + description: "Seal the current candidate and the latest settled Ling Turn for a handoff.", + inputSchema: z.strictObject({ threadId: objectId, turnId: objectId, idempotencyKey: requestKey, + nextInstruction: z.string().min(1).max(8192) }), + annotations: { idempotentHint: true }, + }, async params => describe(await client.createHandoff(params))); + if (methods.has("handoff/read")) server.registerTool("ling_handoff_read", { + description: "Read a sealed Ling handoff.", + inputSchema: z.strictObject({ handoffId: objectId }), + annotations: { readOnlyHint: true }, + }, async params => describe(await client.readHandoff(params))); + if (methods.has("handoff/resume")) server.registerTool("ling_handoff_resume", { + description: "Continue a sealed Ling handoff in its successor conversation and transfer the accepted Goal with its usage and budget.", + inputSchema: z.strictObject({ handoffId: objectId, providerPresetId: objectId }), + annotations: { idempotentHint: true }, + }, async params => describe(await client.resumeHandoff(params))); if (methods.has("changes/capture")) server.registerTool("ling_changes_capture", { description: "Capture the current working-tree candidate and its coverage.", inputSchema: z.strictObject({ sourceWorktree: changeWorktree.optional() }), diff --git a/packages/daemon/src/server/rpc.ts b/packages/daemon/src/server/rpc.ts index 223f3b1c3..67553d2be 100644 --- a/packages/daemon/src/server/rpc.ts +++ b/packages/daemon/src/server/rpc.ts @@ -82,7 +82,9 @@ import { appendControlPlaneEvent } from "../features/control-plane/events.js"; import { toApprovalSummary } from "../features/control-plane/snapshots.js"; import { executeRunRequest, type RunExecutionSink } from "../features/runs/orchestrator.js"; import { parseRunRequest, type RunRequest } from "../features/runs/schemas.js"; -import { bindGoalAcceptanceEvidence, buildLingThreadResumeContext, createLingThreadFork, parseCompleteLingThreadGoalBody, parsePutLingThreadGoalBody } from "../features/runs/thread-routes.js"; +import { bindGoalAcceptanceEvidence, buildLingThreadResumeContext, createLingThreadFork, parseCompleteLingThreadGoalBody, + parseProposedPlanActionBody, parsePutLingThreadGoalBody } from "../features/runs/thread-routes.js"; +import { ProposedPlanMutationError } from "@ling-stack/core"; import { projectPublicRunSession } from "../features/runs/public-execution-snapshots.js"; import { projectPublicLingThread, projectPublicLingTurn } from "../features/runs/public-execution-snapshots.js"; import { maybeQueueGoalContinuation, maybeStartNextRunInterventionContinuation, recordUserRunIntervention, requestRunInterventionRedirect } from "../features/runs/interventions.js"; @@ -98,7 +100,7 @@ import { applyAppServerChangeTransfer, previewAppServerChangeTransfer } from "./ import { RunWorkspaceRecoveryError } from "../features/runs/workspace-change-recovery.js"; import { listManagedWorktrees, WorktreeActionError } from "../features/workspaces/worktree-management.js"; import { cleanupAppServerWorktree, createAppServerWorktree, previewAppServerWorktreeCleanup, refreshAppServerWorktree } from "./app-server-worktrees.js"; -import { checkAppServerHandoff, createAppServerHandoff, handoffInstruction, readAppServerHandoff } from "./app-server-handoff.js"; +import { checkAppServerHandoff, createAppServerHandoff, handoffInstruction, readAppServerHandoff, readAppServerHandoffGoalTransfer } from "./app-server-handoff.js"; import { normalConversationForkId } from "../features/conversations/normal-conversation-fork.js"; import { appServerGrantBearerPrefix, appServerGrantStillActive, authenticateAppServerGrant, createAppServerGrant, @@ -179,7 +181,7 @@ const operatorMethods = new Set([ "approval/respond", "input/respond", "verify/start", "verify/cancel", "review/start", "review/finding/update", "simplify/start", "simplify/status", "runs.start", "runs.cancel", "turn/queue", "turn/interrupt", "thread/delete", "thread/goal/set", "thread/goal/pause", "thread/goal/resume", - "thread/goal/clear", "thread/goal/complete", "plan/accept", + "thread/goal/clear", "thread/goal/complete", "plan/accept", "plan/refine", "worktree/create", "worktree/cleanup", "thread/fork", "handoff/create", "handoff/resume", "server/grants/create", "server/grants/list", "server/grants/revoke", @@ -200,7 +202,7 @@ const appServerMethods = new Set([...IMPLEMENTED_APP_SERVER_METHODS, "ru const recoveryGuardedMethods = new Set([ "github/delivery/enqueue", "runs.start", "turn/start", "turn/queue", "turn/resume", "handoff/resume", "approval/respond", "input/respond", - "plan/accept", "workItem/create", "workItem/accept", "workItem/workflow/bind", "workItem/resume", "github/intake/poll", + "plan/accept", "plan/refine", "workItem/create", "workItem/accept", "workItem/workflow/bind", "workItem/resume", "github/intake/poll", "workItem/coordination/start", "workItem/coordination/schedule/set", "workItem/deliberation/start", "workItem/deliberation/decide", "workItem/handoff/accept", "externalAgent/task/start", "verify/start", "review/start", "simplify/start", "changes/apply", "worktree/create", "worktree/cleanup", "workItem/feedback/add", @@ -706,7 +708,8 @@ class RpcConnection { case "plan/read": return this.readPlan(params); case "plan/accept": - return this.acceptPlan(params); + case "plan/refine": + return this.applyPlanAction(method, params); case "thread/unsubscribe": return this.unsubscribeControlPlane(params); case "verify/plan": @@ -1683,6 +1686,7 @@ class RpcConnection { let child = store.getLingThread(childId); const receipt = readConversationSubmission(store, { surface: "normal", threadId: childId, idempotencyKey }); const acceptedTurn = receipt.status === "accepted" && receipt.turnId ? store.getLingTurn(receipt.turnId) : undefined; + let goalTransfer = readAppServerHandoffGoalTransfer(store, handoff.handoffId); if (child && store.getNormalConversationForkSeed(child.id)?.threadId !== handoff.sourceThreadId) { throw rpcError(-32031, "idempotency_conflict", "The Handoff child Thread has a different origin."); } @@ -1693,11 +1697,24 @@ class RpcConnection { body: { turnId: handoff.sourceTurnId, sourceRunId: handoff.sourceRunId, idempotencyKey, title: `Handoff: ${sourceThread.title}`, objective: handoff.goal?.objective ?? sourceThread.objective }, }).childThread; + try { + const ownership = store.transferAppServerHandoffGoal(handoff.handoffId, child.id, new Date().toISOString()); + goalTransfer = ownership?.transfer; + for (const event of ownership?.events ?? []) this.context.controlPlaneEvents.publish(trimOversizedEvent(event)); + } catch (error) { + if (error instanceof Error && error.message === "handoff_goal_stale") { + throw rpcError(-32030, "handoff_stale", "The Goal or its source execution changed before the handoff."); + } + if (error instanceof Error && error.message === "handoff_goal_busy") { + throw rpcError(-32061, "resume_blocked", "The source has a pending Run continuation."); + } + throw error; + } } if (!child) throw rpcError(-32061, "resume_blocked", "The Handoff receipt has no available child Thread."); this.publishForkedThread(store, record.cwd, child, handoff.sourceThreadId); const result = await this.startConversationTurn({ idempotencyKey, providerPresetId }, child, record.cwd, handoffInstruction(handoff)); - return { ...result, handoffId: handoff.handoffId }; + return { ...result, handoffId: handoff.handoffId, ...(goalTransfer ? { goalTransfer } : {}) }; } private publishForkedThread(store: RunStore, cwd: string, thread: LingThread, sourceThreadId: string): void { @@ -2006,34 +2023,43 @@ class RpcConnection { if (!planId && !threadId) throw rpcError(-32602, "invalid_params", "planId or threadId is required."); if (planId) { const plan = store.getProposedPlanArtifact(planId); - if (!plan) throw rpcError(-32040, "workspace_binding_invalid", `Plan was not found: ${planId}`); - return { cwd, plan }; + if (!plan || threadId && plan.threadId !== threadId) throw rpcError(-32040, "workspace_binding_invalid", `Plan was not found: ${planId}`); + return { cwd, threadId: plan.threadId, plan }; } return { cwd, threadId, plans: store.listProposedPlanArtifacts({ threadId, limit: readOptionalIntegerField(record, "limit") }) }; } - private acceptPlan(params: unknown): unknown { + private applyPlanAction(method: "plan/refine" | "plan/accept", params: unknown): import("@ling-stack/contracts").ProposedPlanActionResponse { const record = readParamsRecord(params); const cwd = readRpcCwd(record, this.defaultCwd); const planId = readStringField(record, "planId"); const threadId = readStringField(record, "threadId"); + const expectedRevision = readOptionalIntegerField(record, "expectedRevision"); + const action = method === "plan/refine" ? "refine" : record.mode === "workflow" ? "convert-workflow" : "accept"; + const workflow = action === "convert-workflow" ? parseProposedPlanActionBody({ + workflowTitle: record.workflowTitle, workflowStepPreviews: record.workflowStepPreviews, + }, threadId) : undefined; + if (action !== "accept" && expectedRevision === undefined) throw rpcError(-32602, "invalid_params", "Supply the current Plan revision."); + if (workflow && !workflow.workflowStepPreviews?.length) throw rpcError(-32602, "invalid_params", "Supply at least one Workflow stage."); + const draft = action === "refine" && record.draft !== undefined ? readParamsRecord(record.draft) : undefined; + const refinedDraft = draft && { title: readStringField(draft, "title"), bodyMarkdown: readStringField(draft, "bodyMarkdown") }; const store = this.context.storeRegistry.getStore(cwd); const result = store.applyProposedPlanArtifactAction(planId, { - threadId, - action: "accept", - expectedRevision: readOptionalIntegerField(record, "expectedRevision"), + ...workflow, threadId, action, expectedRevision, refinedDraft, createdBy: readOptionalStringField(record, "createdBy") ?? "local-user", }, new Date().toISOString()); + const eventAction = action === "refine" ? "plan.refined" : "plan.accepted"; appendControlPlaneEvent(store, this.context.controlPlaneEvents, { - workspaceId: DEFAULT_WORKSPACE_ID, + workspaceId: result.plan.workspaceId, cwd, domain: "runs", entityType: "plan", - entityId: planId, - action: "plan.accepted", - data: { planId, threadId, revision: result.plan.revision }, + entityId: result.plan.id, + action: eventAction, + data: { planId: result.plan.id, threadId, revision: result.plan.revision, parentPlanId: result.plan.parentPlanId }, + idempotencyKey: `app-server:${eventAction}:${result.plan.id}:${result.plan.revision}`, }); - return { cwd, ...result }; + return { cwd, threadId, ...result }; } private listThreadTurns(params: unknown): unknown { @@ -3213,6 +3239,11 @@ function normalizeRpcError(error: unknown): { readonly jsonRpcCode: number; read if (error instanceof ControlPlaneBadRequestError) { return { jsonRpcCode: -32602, code: "bad_request", message: error.message }; } + if (error instanceof ProposedPlanMutationError) { + if (error.code === "proposed_plan_revision_conflict") return { jsonRpcCode: -32030, code: "stale_revision", message: error.message }; + const jsonRpcCode = error.statusCode === 404 ? -32040 : error.statusCode === 400 ? -32602 : -32061; + return { jsonRpcCode, code: error.code, message: error.message }; + } if (error instanceof HttpError) { const code = error.code; const jsonRpcCode = code === "stale_revision" ? -32030 : code === "idempotency_conflict" ? -32031 @@ -3378,6 +3409,7 @@ function appServerEventMethod(event: ControlPlaneEvent): string | undefined { if (event.entityType === "handoff" && event.action === "handoff.created") return "handoff/created"; if (event.entityType === "conversation_item" && event.action === "conversation_narration.published") return "item/completed"; if (event.action === "thread.goal.updated") return "thread/goal/updated"; + if (event.entityType === "plan" && (event.action === "plan.accepted" || event.action === "plan.refined")) return "turn/plan/updated"; if (event.entityType === "run" && typeof event.data.turnId === "string") { if (event.action === "run.created") return typeof event.data.interventionId === "string" ? "turn/started" : "turn/status/changed"; if (event.action === "run.completed" || event.action === "run.cancelled") return "turn/completed"; diff --git a/packages/daemon/test/app-server-release-acceptance.test.ts b/packages/daemon/test/app-server-release-acceptance.test.ts index a0edd6b82..952894e84 100644 --- a/packages/daemon/test/app-server-release-acceptance.test.ts +++ b/packages/daemon/test/app-server-release-acceptance.test.ts @@ -712,7 +712,7 @@ test("configured Claude project rules are scoped, presented and sealed with the assert.equal(update?.presentedSourceCount, 1); }); -test("a sealed Handoff resumes one new conversation from the current candidate", { timeout: 30_000 }, async t => { +test("a sealed Handoff transfers one Goal and resumes one conversation after restart", { timeout: 30_000 }, async t => { const provider = await startLoopbackPiProvider(() => ({ text: "Work recorded." })); t.after(() => provider.close()); const fixture = await releaseFixture(t); @@ -728,8 +728,9 @@ test("a sealed Handoff resumes one new conversation from the current candidate", const preset = addLoopbackPreset(store, provider.baseUrl); const { thread } = await origin.call<{ thread: { id: string } }>("thread/start", { title: "Development workflow" }); const { goal } = await origin.call<{ goal: LingThreadGoal }>("thread/goal/set", { - threadId: thread.id, objective: "Preserve the delivery contract", supervisionPolicy: { autoContinue: false }, + threadId: thread.id, objective: "Preserve the delivery contract", tokenBudget: 100_000, supervisionPolicy: { autoContinue: false }, }); + store.updateLingThreadGoal(goal.id, { tokensUsed: 1200, timeUsedSeconds: 30 }, new Date().toISOString()); const { turn, run } = await origin.call<{ turn: { id: string }; run: { id: string } }>("turn/start", { threadId: thread.id, message: "Write down the delivery contract.", providerPresetId: preset.id, idempotencyKey: "source", @@ -743,20 +744,41 @@ test("a sealed Handoff resumes one new conversation from the current candidate", assert.equal(handoff.sourceRunId, run.id); assert.equal(handoff.goal?.id, goal.id); assert.equal(handoff.goal?.objective, "Preserve the delivery contract"); + assert.equal(handoff.goal?.tokenBudget, 100_000); + assert.ok(handoff.goal.tokensUsed >= 1200); assert.deepEqual(await origin.call("handoff/create", capture), { cwd: fixture.cwd, handoff }); await assert.rejects(origin.call("handoff/create", { ...capture, nextInstruction: "Different task" }), { code: "idempotency_conflict" }); await fixture.restart(); const receiver = await fixture.connect(); - const peer = await fixture.connect(); const resume = { handoffId: handoff.handoffId, providerPresetId: preset.id }; assert.deepEqual(await receiver.call("handoff/read", { handoffId: handoff.handoffId }), { cwd: fixture.cwd, handoff }); await writeFile(subject, "changed candidate\n"); await assert.rejects(receiver.call("handoff/resume", resume), { code: "handoff_stale" }); assert.equal(provider.requests.length, 1); await writeFile(subject, "accepted candidate\n"); + const databasePath = fixture.getStore().paths.databasePath; + const db = new DatabaseSync(databasePath); + try { + db.exec(`CREATE TRIGGER stop_before_handoff_turn BEFORE INSERT ON ling_turns + BEGIN SELECT RAISE(ABORT, 'fixture stopped before the successor Turn was accepted'); END`); + } finally { db.close(); } + await assert.rejects(receiver.call("handoff/resume", resume)); + const interruptedStore = fixture.getStore(); + const transfer = interruptedStore.getAppServerState("handoff_goal_transfer", handoff.handoffId)?.payload as + LingAppServerHandoffResumeResult["goalTransfer"]; + assert.ok(transfer); + assert.equal(interruptedStore.getLingThreadGoal(thread.id), undefined); + assert.equal(interruptedStore.getLingThreadGoal(transfer.threadId)?.tokensUsed, handoff.goal.tokensUsed); + assert.equal(provider.requests.length, 1); + await fixture.restart({ beforeStart: async () => { + const interrupted = new DatabaseSync(databasePath); + try { interrupted.exec("DROP TRIGGER stop_before_handoff_turn"); } finally { interrupted.close(); } + } }); + const resumed = await fixture.connect(); + const peer = await fixture.connect(); const [first, duplicate] = await Promise.all([ - receiver.call("handoff/resume", resume), + resumed.call("handoff/resume", resume), peer.call("handoff/resume", resume), ]); assert.equal(first.thread.parentThreadId, thread.id); @@ -764,6 +786,9 @@ test("a sealed Handoff resumes one new conversation from the current candidate", assert.ok(first.run?.id); assert.equal(duplicate.run?.id, first.run.id); assert.equal(duplicate.thread.id, first.thread.id); + assert.deepEqual(first.goalTransfer, transfer); + assert.deepEqual(duplicate.goalTransfer, transfer); + assert.equal(fixture.getStore().getLingThreadGoal(first.thread.id)?.tokenBudget, 100_000); await waitFor(() => provider.requests.length === 2 ? true : undefined); assert.match(JSON.stringify(provider.requests[1]), /Implement only the delivery contract/u); assert.match(JSON.stringify(provider.requests[1]), /Preserve the delivery contract/u); @@ -2282,7 +2307,7 @@ test("an operator resolves a deliberation round once against its current revisio assert.equal(fixture.getStore().listRuns().length, 0); }); -test("a staged Work Item recovers its original Workflow, runs independent QA and releases one decision dependency", { timeout: 40_000 }, async t => { +test("a GitHub Work Item recovers its staged Workflow, runs independent QA and releases one decision dependency", { timeout: 40_000 }, async t => { let completeContract: () => void = () => undefined; const contractGate = new Promise(resolve => { completeContract = resolve; }); let implementationReadRequested = false; @@ -2303,7 +2328,28 @@ test("a staged Work Item recovers its original Workflow, runs independent QA and return { text: "Stage completed" }; }); t.after(async () => { completeContract(); await provider.close(); }); - const fixture = await releaseFixture(t); + const fixture = await releaseFixture(t, { + githubSources: cwd => [{ workspaceRoot: cwd, repository: "example/ling", repositoryId: "73" }], + externalWorkFetch: async input => { + const url = new URL(String(input)); + assert.equal(url.origin, "https://api.github.com"); + if (url.pathname === "/repos/example/ling") return Response.json({ id: 73, full_name: "example/ling" }); + assert.equal(url.pathname, "/repos/example/ling/issues/21"); + return Response.json({ number: 21, title: "Close the staged compatibility task", state: "open" }); + }, + }); + const [client, peer] = await Promise.all([fixture.connect(), fixture.connect()]); + const intake = { gitHubSubject: { repository: "example/ling", kind: "issue", number: 21 }, title: "Close the staged compatibility task" }; + const [chat, codex] = await Promise.all([ + client.call("workItem/create", { ...intake, sourceId: "staged-chat", idempotencyKey: "staged-chat" }), + peer.call("workItem/create", { ...intake, sourceId: "staged-codex", idempotencyKey: "staged-codex" }), + ]); + assert.deepEqual(codex.workItem, chat.workItem); + assert.equal(chat.sourceReceipt?.targetKey, codex.sourceReceipt?.targetKey); + const workItemId = chat.workItem.workItemId; + const before = await client.call("workItem/read", { workItemId }); + await peer.call("workItem/subscribe", { workItemId, cursor: before.cursor }); + assert.deepEqual(before.workItem.currentExecutionRefs, []); await writeFile(join(fixture.cwd, "implementation-input.txt"), "Verified compatibility input\n"); const store = fixture.getStore(); const preset = addLoopbackPreset(store, provider.baseUrl); @@ -2348,9 +2394,8 @@ test("a staged Work Item recovers its original Workflow, runs independent QA and const unbound = await startImplementation(); assert.equal(unbound.status, 409); assert.equal((await unbound.json() as { error: string }).error, "work_item_workflow_unbound"); - const item = store.upsertWorkItem({ sourceType: "manual", sourceId: "workflow-owned-work", title: "Staged implementation", - channelId: channel.id, initialStatus: "ready" }, now); - const client = await fixture.connect(); + const item = store.getWorkItem(workItemId); + assert.ok(item); const accepted = await client.call("workItem/accept", { workItemId: item.id, expectedWorkItemRevision: item.revision, idempotencyKey: "workflow-owned-accept", }); @@ -2358,9 +2403,6 @@ test("a staged Work Item recovers its original Workflow, runs independent QA and workItemId: item.id, planId: plan.id, expectedPlanRevision: converted.plan.revision, expectedWorkItemRevision: Number(accepted.workItem.revision), idempotencyKey: "workflow-owned-bind", }; - const before = await client.call("workItem/read", { workItemId: item.id }); - const peer = await fixture.connect(); - await peer.call("workItem/subscribe", { workItemId: item.id, cursor: before.cursor }); await client.call("thread/subscribe", { threadId: thread.id }); await assert.rejects(client.call("workItem/workflow/bind", { ...bind, expectedPlanRevision: plan.revision }), { code: "stale_revision" }); const bound = await client.call<{ @@ -2369,6 +2411,8 @@ test("a staged Work Item recovers its original Workflow, runs independent QA and }>("workItem/workflow/bind", bind); assert.equal(bound.binding.workflowId, converted.workflowId); assert.equal(bound.binding.planRevision, converted.plan.revision); + await waitFor(() => peer.notices.find(notice => notice.params?.event?.action === "work_item.workflow.linked" + && notice.params.event.entityId === workItemId)); const stages = await client.call("workItem/stage/read", { workItemId: item.id }); assert.equal(stages.workflow?.workflowId, converted.workflowId); assert.deepEqual(stages.workflow?.steps.map(({ stageId, status }) => [stageId, status]), [["P02", "queued"], ["P01", "queued"], ["QA", "queued"]]); @@ -2532,11 +2576,11 @@ test("a paused Work Item replaces its accepted Workflow after the old Run settle title: "Compatibility plan", objective: "Revise the accepted contract during execution" }, now); const plan = store.upsertProposedPlanArtifact({ id: "plan_replacement", threadId: thread.id, channelId: channel.id, title: "Compatibility plan", bodyMarkdown: "Preserve the original contract", status: "draft" }, now); - const post = async (path: string, body: object, method: "POST" | "PATCH" = "POST") => { + const post = async (path: string, body: object) => { const { daemonUrl, authToken } = fixture.transportOptions(); const url = new URL(path, daemonUrl); url.searchParams.set("cwd", fixture.cwd); - return fetch(url, { method, body: JSON.stringify(body), + return fetch(url, { method: "POST", body: JSON.stringify(body), headers: { "content-type": "application/json", authorization: `Bearer ${authToken}` } }); }; const planPath = (id: string, action: string) => `/threads/${thread.id}/proposed-plans/${id}/${action}`; @@ -2571,24 +2615,21 @@ test("a paused Work Item replaces its accepted Workflow after the old Run settle assert.equal((await started.json()).status, "started"); await waitFor(() => provider.requests.length === 1 ? true : undefined); - const refinement = await post(planPath(original.plan.id, "refine"), { expectedRevision: original.plan.revision }); - assert.equal(refinement.status, 200); - const { plan: draft } = await refinement.json() as ProposedPlanActionResponse; + const { plan: draft } = await client.call("plan/refine", { + threadId: thread.id, planId: original.plan.id, expectedRevision: original.plan.revision, + draft: { title: "Revised compatibility plan", bodyMarkdown: "Adopt the revised compatibility contract." }, + }); assert.equal(draft.parentPlanId, original.plan.id); + assert.equal(draft.bodyMarkdown, "Adopt the revised compatibility contract."); + assert.ok(typeof draft.revision === "number"); assert.equal(store.getWorkItemWorkflowAdmissionBlocker(original.workflowId), undefined); - const revision = await post(`/threads/${thread.id}/proposed-plans/${draft.id}`, { - expectedRevision: draft.revision, bodyMarkdown: "Adopt the revised compatibility contract.", - }, "PATCH"); - assert.equal(revision.status, 200); - const { plan: edited } = await revision.json() as ProposedPlanActionResponse; - const taskBypass = await post(planPath(draft.id, "accept"), { expectedRevision: edited.revision }); + const taskBypass = await post(planPath(draft.id, "accept"), { expectedRevision: draft.revision }); assert.equal(taskBypass.status, 409); assert.equal((await taskBypass.json()).error, "work_item_workflow_replan_required"); - const replacement = await post(planPath(draft.id, "convert-workflow"), { - expectedRevision: edited.revision, workflowStepPreviews: [step("P02", "Implement the accepted successor contract")], - }); - assert.equal(replacement.status, 200); - const successor = await replacement.json() as ProposedPlanActionResponse; + const replacement = { threadId: thread.id, planId: draft.id, mode: "workflow", + expectedRevision: draft.revision, workflowStepPreviews: [step("P02", "Implement the accepted successor contract")] }; + await assert.rejects(client.call("plan/accept", { ...replacement, expectedRevision: draft.revision + 1 }), { code: "stale_revision" }); + const successor = await client.call("plan/accept", replacement); assert.ok(successor.workflowId); const [newStep] = store.listChannelWorkflowSteps({ workflowId: successor.workflowId, complete: true }); assert.ok(newStep); @@ -3177,6 +3218,9 @@ test("the MCP bridge calls the bound App Server and replays the same Thread on r assert.ok(tools.some(tool => tool.name === "ling_turn_start")); assert.ok(tools.some(tool => tool.name === "ling_work_item_stages")); assert.ok(tools.some(tool => tool.name === "ling_work_item_collaboration")); + assert.ok(tools.some(tool => tool.name === "ling_plan_refine")); + assert.ok(tools.some(tool => tool.name === "ling_plan_accept_workflow")); + assert.ok(tools.some(tool => tool.name === "ling_handoff_resume")); assert.ok(tools.some(tool => tool.name === "ling_artifact_read")); assert.ok(tools.some(tool => tool.name === "ling_model_list")); assert.ok(tools.some(tool => tool.name === "ling_skill_read")); @@ -3402,6 +3446,14 @@ test("restoring a pre-cutover SQLite snapshot retains the recovery fence, observ }); assert.equal(blockedHttp.status, 409); assert.equal((await blockedHttp.json() as { error: string }).error, "resume_blocked"); + const blockedNative = await fetch(`${daemonUrl}/runs`, { + method: "POST", headers: { Authorization: `Bearer ${authToken}`, "Content-Type": "application/json" }, + body: JSON.stringify({ cwd: fixture.cwd, + executionBinding: { kind: "native_profile", engineId: "openclaw-acp", profileId: "held-profile", profileRevision: 1 }, + task: { id: "native-during-recovery", title: "Try to start a native Run during recovery", prompt: "Wait for recovery" } }), + }); + assert.equal(blockedNative.status, 409); + assert.equal((await blockedNative.json() as { error: string }).error, "resume_blocked"); assert.equal(provider.requests.length, 0); assert.equal((await reconcileDelivery(restored)).deliveryId, observed.deliveryId); From 8df510f190edee407f56d1d835e5782b188e819f Mon Sep 17 00:00:00 2001 From: tianxiaochannel-oss88 Date: Mon, 23 Nov 2026 05:22:08 +0800 Subject: [PATCH 044/147] feat(workflows): gather and review ballots at declared decisions --- .../ling-app-server-implementation-plan.md | 10 +- packages/contracts/src/app-server-schema.ts | 3 +- packages/contracts/src/app-server.ts | 15 ++ packages/contracts/src/threads.ts | 2 + packages/contracts/src/workflows.ts | 1 + packages/core/src/proposed-plan-mutation.ts | 20 ++- packages/core/src/storage/sqlite-run-store.ts | 1 + .../sqlite/channel-workflow-mappers.ts | 1 + .../sqlite/proposed-plan-action-store.ts | 50 +++++- .../src/storage/sqlite/work-item-store.ts | 19 ++- packages/core/src/workspace-types.ts | 1 + .../src/features/channels/orchestrator.ts | 4 +- .../features/work-items/workflow-stages.ts | 2 +- packages/daemon/src/index.ts | 27 +-- .../src/server/app-server-collaboration.ts | 93 +++++++++- packages/daemon/src/server/app-server-mcp.ts | 2 + .../src/server/app-server-stage-ballot.ts | 64 +++++++ packages/daemon/src/server/rpc.ts | 10 +- .../app-server-release-acceptance.test.ts | 160 +++++++++++++++--- ...mmand-input-dispatch.regression-1.test.mjs | 1 + .../workflow-operation-effect-gate.test.mjs | 1 + 21 files changed, 426 insertions(+), 61 deletions(-) create mode 100644 packages/daemon/src/server/app-server-stage-ballot.ts diff --git a/docs/design/ling-app-server-implementation-plan.md b/docs/design/ling-app-server-implementation-plan.md index 1f408d225..7e248b510 100644 --- a/docs/design/ling-app-server-implementation-plan.md +++ b/docs/design/ling-app-server-implementation-plan.md @@ -2,7 +2,7 @@ - **状态** App Server 本机传输、Turn 控制与恢复、Verify 和 Federation 已通过定向验收。Agent Operating Model 已接入工作项接单、控制和协作记录。下文列出完整实施与发行仍需完成的工作包。 - **维护者** Contracts、Daemon、Runtime、API Client、CLI 与开发工具维护者 -- **核对基线** 2026-11-22,`origin/main@e6007992a` +- **核对基线** 2026-11-23,`origin/main@a58f076ff` - **类型** 开发准备、依赖顺序和验收计划 - **合同** [产品与架构设计](ling-app-server.md) · [详细设计](ling-app-server-detailed-design.md) - **代码与测试锚点** [Daemon RPC](../../packages/daemon/src/server/rpc.ts) · [控制面往返测试](../../packages/daemon/test/control-plane-api.test.mjs) · [会话受理收据](../../packages/daemon/test/conversation-submission-receipts.test.mjs) · [框架验收](ling-framework-complementary-implementation-plan.md) @@ -33,7 +33,7 @@ - Plan 转 Workflow 时可指定稳定的 `stageId`、`dependsOnStageIds`、`requiredDecision` 和 `requiredTools`。接受事务将阶段依赖映射到真实步骤。循环、缺失的前置阶段、无效选项和未知工具会拒绝转换。Runner 准入仍按频道和当前参与者权限检查工具。 - 接受绑定计划的后继 Workflow 后,旧 Workflow 停止新阶段和工具准入,后继 Workflow 等待重新绑定。操作方暂停工作项并核对旧 Run、Host 效果和租约收敛后,用 `workItem/workflow/bind` 的 `previousWorkflowId` 提交绑定。重启和并发重发复用绑定回执,原计划和阶段记录保留 Workflow ID。恢复工作项后,新 Workflow 使用自己的派发记录。 - Work Board 与 App Server 使用同一套阶段、简报、阻塞和运行证据投影。阶段简报的来源是已提交的步骤状态迁移。看板支持分页与重试,并随 `work_items` 事件刷新。 -- 声明了裁决条件的步骤等待该 Work Item、已接受 Plan 和步骤的裁决回执。授权的操作方可通过 `workItem/deliberation/start` 打开该阶段的审议,再从封存选项中裁决。回执恢复后,原 Workflow 放行该步骤,独立 QA 继续使用自己的依赖。自动提案、质疑及投票工作流仍待接入。 +- 声明了裁决条件的步骤等待该 Work Item、已接受 Plan 和步骤的裁决回执。计划可指定独立的投票阶段与法定人数,也可在前置阶段完成时自动开启审议。Workflow 按原阶段负责人执行投票,各投票 Run 的工具列表为空。Host 在投票阶段全部结束后从终态 Run 核对选项和身份。协调者可以在裁决前查看票数和是否平票,裁决收据保留统计结果。回归覆盖等待票数、平票后的人工裁决、重启和派发一次。独立 QA 仍按自己的前置条件执行。 - 完成的工作项可用 `workItem/feedback/add` 提交经验审查。Daemon 核对当前 Work Item 和成功 Run 的归属,从 Run 采集有限证据,复用 Learning Review 的 Provider 预算和审查入口。受控验收从 P02 的实际读取证据生成 Memory 候选,重启后按原键找回同一任务。 | 工作包 | 已验证场景与证据边界 | @@ -47,7 +47,7 @@ | E1 Verify 与用户输入恢复 | Verify 按幂等键在 SQLite 写事务内受理。两个连接同时提交复用原操作及其事件。取消受理与停止意图一起写入,重启后可按原键读取回执。`verify/status` 记录确认退出后的 `cancelled`。执行器无法确认停止时,返回 `unknown` 并附 `verification_cancellation_unconfirmed`。已绑定工作项的 Verify 状态和 Control Plane 事件同事务提交。用户提问的 authority、答案 CAS、投递收据和 `pending/answered/cancelled` 事件也在重启后保持同一请求身份。 | | E2 交付前验收 | App Server 与 HTTP 使用同一套 Goal 验收解析和证据检查。实际 Pi Run 通过后,可用同 Thread 证据完成 Goal。Verify 结果用绑定当前候选的 `verification_passed` 条件完成 Goal,独立 verifier basis、coverage 和 producer refs 不匹配时会被拒绝。Review 已验证候选绑定、发现项处置和 freshness 持久化。`simplify/start` 与 `simplify/status` 支持只读简化审查及重启重放。`github_delivered` 要求当前已提交候选、同 Thread 与 Work Item、已接受的检查政策和 Host 重新核对的实际合并结果。 | | O4 GitHub 证据核对 | 配置注册仓库、不可变仓库 ID 与分支政策。按 PR、实时 base、检查 App、冻结的 workflow 文件、实际测试对象和最近 attempt 核对证据。队列准入记录请求和外部回执,响应丢失时先查原队列项。夹具覆盖队列重建、队列应答丢失和合并树不同。实际受保护测试仓库的队列与执行时合并仍待验收。 | -| O1/O8/O9 接单、控制和协作 | 工作项创建、控制、接单、证据和协作写入各自与对应事件同事务提交。真实 Daemon 回归跑过 P01、独立 QA 与等待裁决的 P02,覆盖两端订阅、暂停、重启、裁决恢复与原步骤派发一次。按下方矩阵继续验收在途改计划、接手、自动审议、停滞和联合界面。 | +| O1/O8/O9 接单、控制和协作 | 工作项创建、控制、接单、证据和协作写入各自与对应事件同事务提交。真实 Daemon 回归从同一个受控 GitHub Issue 的两个入口归并 Work Item,在接单前订阅,接通 P01、独立 QA 与等待裁决的 P02。覆盖暂停、重启、裁决恢复与原步骤派发一次。按下方矩阵继续验收阶段交接、自动审议、停滞和联合界面。 | | O7 定时协调轮次 | 已配置的 Automation 在同一事务中写入终态回执、轮次和事件。实际调度器从重启前的时段恢复。故障注入验证提交失败不会留下回执或轮次。回执重放复用原轮次。截止后生成简报和关闭事件,暂停的工作项产生跳过回执。该用例启动的 Runner 数量为零。 | | O1 首次会话派发 | `workItem/accept` 可选定主执行会话,接单和首发意图同事务保存。正常会话 Run 创建核对该意图并原子更新 Work Item。脚本化 Pi Provider 验证了重启、两个并发受理、暂停恢复、实际派发一次,以及当前绑定阻止删除会话。Codex MCP 已提供同一创建和受理入口。 | @@ -59,8 +59,8 @@ | --- | --- | | A1、B1、C1、C2 | 全方法的 Schema 校验和更多宿主兼容组合。workspace、Thread、Work Item 的 grant 和 WSS 已接入,审批和用户答复仍需按不同真实宿主与远程部署做验收。App Server 目标游标已绑定存储代次、授权代次和目标,现有兼容用例覆盖本机的上一版源码与候选组合。 | | D1、D2、E1、E2 | 开工与 Pi 运行中的项目规则加载、显式 Claude 规则、两个开发 Skill、工作区 Verify、独立 verifier basis、托管工作树管理、候选改动分页、Turn 改动恢复、选中 hunk 转移和工作台浏览器验证报告已接入。各发行平台验证仍待完成。 | -| F1、F2 | 普通会话 Handoff 的候选封存、Goal 预算承接与接手已接入。CLI `app-server codex-host` 同时连接 Ling 和 Codex,保存连接游标和干预回执。本机安装的 Codex 联调覆盖 Ling 的在途排队、事件补齐和原干预回执。可编程宿主的会话界面、向正在运行的 Codex Turn 发送指导及跨 Workflow Agent 的预算承接仍待验收。 | -| O1、O3–O9 | GitHub 签名 webhook、轮询和显式接单归并至同一工作项。自动接单策略处理免打扰、并发、启动额度和派发前状态重查。还需 Channel、设备和已有 AutomationRun 的统一自治接入、设备反馈、改计划时按受影响阶段暂停并承接独立成果、Workflow 交接、自动审议投票、跨 Run 预算与完整 O9 联合验收。 | +| F1、F2 | 普通会话 Handoff 的候选封存、Goal 预算承接与接手已接入。CLI `app-server codex-host` 同时连接 Ling 和安装版 Codex。联调通过受控 Provider 验证 Ling 在途排队、事件补齐、Codex 活跃 Turn 指导及重放原投递回执。可编程宿主的图形会话界面与跨 Workflow Agent 的预算承接仍待验收。 | +| O1、O3–O9 | GitHub 签名 webhook、轮询和显式接单归并至同一工作项。自动接单策略处理免打扰、并发、启动额度和派发前状态重查。已接受的计划能自动开启声明的阶段审议。还需 Channel、设备和已有 AutomationRun 的统一自治接入、设备反馈、改计划时按受影响阶段暂停并承接独立成果、Workflow 交接、计划前和在途审议、跨 Run 预算与完整 O9 联合验收。 | | G | 独立恢复日志已验证 SQLite 快照恢复、撤权、旧游标失效和 GitHub 对账后派发。上一版源码通过同一套本地兼容验收。签名安装产物、实际远程 WSS、受保护 GitHub 仓库及三个真实 Provider 自研试点仍需对应环境的证据。macOS 打包预检需要当前打包输入的 Office 审查、对应 Electron/OS 的受限运行时审查和 gstack 平台资源。T01 离线预检可进入评审,真实试点仍需按 Framework Assurance 准入。 | ## 目标与开工顺序 diff --git a/packages/contracts/src/app-server-schema.ts b/packages/contracts/src/app-server-schema.ts index 4358196fc..10fa6bbba 100644 --- a/packages/contracts/src/app-server-schema.ts +++ b/packages/contracts/src/app-server-schema.ts @@ -51,7 +51,8 @@ const planActionResult = objectWith({ cwd: stringSchema, threadId: stringSchema, workflowId: stringSchema, workflowStepId: stringSchema, runId: stringSchema }, ["cwd", "threadId", "plan"]); const planWorkflowStep = objectWith({ title: stringSchema, stageId: stringSchema, dependsOnStageIds: stringArraySchema, ownerId: stringSchema, ownerLabel: stringSchema, requiredTools: stringArraySchema, - requiredDecision: objectWith({ question: stringSchema, options: stringArraySchema }, ["question", "options"]) }, ["title"]); + requiredDecision: objectWith({ question: stringSchema, options: stringArraySchema, trigger: { enum: ["when_ready"] }, + ballot: objectWith({ voterStageIds: stringArraySchema, quorum: integerSchema }, ["voterStageIds", "quorum"]) }, ["question", "options"]) }, ["title"]); const journalFields = { id: stringSchema, recordedAt: stringSchema, pending: booleanSchema }; const journalRequired = ["id", "kind", "recordedAt", "pending"]; const journalEntry = { oneOf: [ diff --git a/packages/contracts/src/app-server.ts b/packages/contracts/src/app-server.ts index 43545a059..260748f9d 100644 --- a/packages/contracts/src/app-server.ts +++ b/packages/contracts/src/app-server.ts @@ -830,8 +830,23 @@ export interface LingAppServerWorkItemCollaborationReadResult { readonly records: readonly LingAppServerWorkItemCollaborationRecord[]; readonly nextAfterRevision: number; readonly workflow?: LingAppServerWorkItemWorkflowStages; + readonly ballots?: readonly LingAppServerStageBallotProgress[]; } +export interface LingAppServerStageBallotTally { + readonly ballotKey: string; + readonly quorum: number; + readonly cast: number; + readonly abstained: number; + readonly tied: boolean; + readonly tally: readonly { readonly option: string; readonly count: number }[]; +} + +export type LingAppServerStageBallotProgress = { readonly roundId: string } & ( + | { readonly status: "waiting" } + | { readonly status: "ready" | "quorum_unmet"; readonly summary: LingAppServerStageBallotTally } +); + export interface LingAppServerWorkItemCollaborationAppendParams { readonly cwd?: string; readonly workItemId: string; diff --git a/packages/contracts/src/threads.ts b/packages/contracts/src/threads.ts index 1a8b30c3b..b6fda65c9 100644 --- a/packages/contracts/src/threads.ts +++ b/packages/contracts/src/threads.ts @@ -298,6 +298,8 @@ export interface ProposedPlanWorkflowStepPreview { export interface ProposedPlanStageDecision { readonly question: string; readonly options: readonly string[]; + readonly ballot?: { readonly voterStageIds: readonly string[]; readonly quorum: number }; + readonly trigger?: "when_ready"; } export interface LingThread { diff --git a/packages/contracts/src/workflows.ts b/packages/contracts/src/workflows.ts index 7c1f552b8..8e3d2cc28 100644 --- a/packages/contracts/src/workflows.ts +++ b/packages/contracts/src/workflows.ts @@ -875,6 +875,7 @@ export interface ChannelWorkflowStepMetadata { readonly graphNodeId?: string; readonly planStageId?: string; readonly requiredPlanDecision?: import("./threads.js").ProposedPlanStageDecision; + readonly planBallotKey?: string; readonly dependsOnStepIds?: readonly string[]; readonly branchGroupId?: string; readonly joinGroupId?: string; diff --git a/packages/core/src/proposed-plan-mutation.ts b/packages/core/src/proposed-plan-mutation.ts index dc592518b..dbaccb250 100644 --- a/packages/core/src/proposed-plan-mutation.ts +++ b/packages/core/src/proposed-plan-mutation.ts @@ -1,3 +1,4 @@ +import { createHash } from "node:crypto"; import type { ProposedPlanStageDecision, ProposedPlanWorkflowStepPreview } from "@ling-stack/contracts"; import type { CreateProposedPlanArtifactInput, ProposedPlanArtifact, UpdateProposedPlanArtifactInput } from "./run-types.js"; @@ -40,11 +41,28 @@ export function parseProposedPlanStageDecision(value: unknown): ProposedPlanStag && Array.isArray(decision.options) && decision.options.length >= 2 && decision.options.length <= 12 && decision.options.every(option => typeof option === "string" && option.trim() === option && option.length > 0 && option.length <= 200) && new Set(decision.options).size === decision.options.length) { - return { question: decision.question, options: decision.options }; + const ballot = decision.ballot; + if (ballot !== undefined && (!ballot || !Array.isArray(ballot.voterStageIds) + || ballot.voterStageIds.length < 2 || ballot.voterStageIds.length > 12 + || !ballot.voterStageIds.every(id => typeof id === "string" && id.length > 0 && id.length <= 64) + || new Set(ballot.voterStageIds).size !== ballot.voterStageIds.length + || !Number.isInteger(ballot.quorum) || ballot.quorum < 2 || ballot.quorum > ballot.voterStageIds.length)) { + throw new ProposedPlanMutationError("bad_workflow_stage_ballot", "A ballot needs distinct voter stages and a quorum within the voter roster.", 400); + } + if (decision.trigger !== undefined && decision.trigger !== "when_ready") { + throw new ProposedPlanMutationError("bad_workflow_stage_decision", "Choose when_ready for automatic opening of the decision round.", 400); + } + return { question: decision.question, options: decision.options, ...(ballot ? { ballot } : {}), + ...(decision.trigger ? { trigger: decision.trigger } : {}) }; } throw new ProposedPlanMutationError("bad_workflow_stage_decision", "A required decision needs a question and 2–12 distinct options.", 400); } +export function planStageBallotKey(planId: string, stageId: string, decision: ProposedPlanStageDecision): string { + return createHash("sha256").update(JSON.stringify([planId, stageId, decision.question, decision.options, + decision.ballot?.voterStageIds, decision.ballot?.quorum])).digest("hex"); +} + export const proposedPlanContentFields = ["channelId", "goalId", "sourceAgentId", "ownerAgentId", "sourceTurnId", "sourceMessageId", "sourceRunId", "parentPlanId", "planGroupId", "version", "title", "bodyMarkdown"] as const; export const proposedPlanAcceptanceFields = ["acceptedAt", "convertedAt", "acceptedTaskId", "acceptedWorkflowId", diff --git a/packages/core/src/storage/sqlite-run-store.ts b/packages/core/src/storage/sqlite-run-store.ts index 4b2426cf7..1811d51e9 100644 --- a/packages/core/src/storage/sqlite-run-store.ts +++ b/packages/core/src/storage/sqlite-run-store.ts @@ -1764,6 +1764,7 @@ export class SqliteRunStore implements RunStore { hasAiTeammate: (id) => Boolean(this.getAiTeammate(id)), getProposedPlanArtifact: (id) => this.getProposedPlanArtifact(id), getChannelWorkflow: (id) => this.getChannelWorkflow(id), + listChannelWorkflowSteps: (options) => this.listChannelWorkflowSteps(options), getWorkItemEvidence: (id) => this.getWorkItemEvidence(id), getRun: (id) => this.getRun(id), }, diff --git a/packages/core/src/storage/sqlite/channel-workflow-mappers.ts b/packages/core/src/storage/sqlite/channel-workflow-mappers.ts index ac42804a5..4c1bfc4a5 100644 --- a/packages/core/src/storage/sqlite/channel-workflow-mappers.ts +++ b/packages/core/src/storage/sqlite/channel-workflow-mappers.ts @@ -272,6 +272,7 @@ function parseOptionalChannelWorkflowStepMetadata(value: string | undefined): Ch graphNodeId: readOptionalStringValue(record.graphNodeId), planStageId: readOptionalStringValue(record.planStageId), requiredPlanDecision: record.requiredPlanDecision === undefined ? undefined : parseProposedPlanStageDecision(record.requiredPlanDecision), + planBallotKey: readOptionalStringValue(record.planBallotKey), dependsOnStepIds: readOptionalStringListValue(record.dependsOnStepIds), branchGroupId: readOptionalStringValue(record.branchGroupId), joinGroupId: readOptionalStringValue(record.joinGroupId), diff --git a/packages/core/src/storage/sqlite/proposed-plan-action-store.ts b/packages/core/src/storage/sqlite/proposed-plan-action-store.ts index 746937c1f..4476fc8f3 100644 --- a/packages/core/src/storage/sqlite/proposed-plan-action-store.ts +++ b/packages/core/src/storage/sqlite/proposed-plan-action-store.ts @@ -1,7 +1,7 @@ import { createWorkflowParticipantAuthorityV1 } from "@ling-stack/contracts"; import { createProposedPlanArtifactId, type ProposedPlanArtifact, type RunStore } from "../../run-types.js"; import { DEFAULT_WORKSPACE_ID } from "../../workspace-types.js"; -import { assertProposedPlanRevision, assertProposedPlanSnapshot, parseProposedPlanStageDecision, proposedPlanHasAcceptance, ProposedPlanMutationError, +import { assertProposedPlanRevision, assertProposedPlanSnapshot, parseProposedPlanStageDecision, planStageBallotKey, proposedPlanHasAcceptance, ProposedPlanMutationError, type ApplyProposedPlanArtifactActionInput, type ProposedPlanArtifactActionResult, type ProposedPlanWorkflowStepPreviewInput } from "../../proposed-plan-mutation.js"; import type { SqliteStoreContext } from "./store-context.js"; @@ -67,7 +67,9 @@ export class SqliteProposedPlanActionStore { if (steps.some(step => typeof step !== "string" || !step.trim())) { throw new ProposedPlanMutationError("bad_workflow_steps", "Workflow steps must be nonempty strings.", 400); } - const order = orderWorkflowStages(steps, input.workflowStepPreviews ?? []); + const previews = input.workflowStepPreviews ?? []; + const order = orderWorkflowStages(steps, previews); + const ballots = planStageBallots(canonicalPlan.id, previews); const workflow = this.ports.createChannelWorkflow({ channelId: thread.channelId, title: workflowTitle, objective: steps.join("\n"), status: "draft", createdBy: input.createdBy || "local-user", metadata: { sourceMessageId: plan.sourceMessageId, sourceProposedPlanId: plan.id } }, now); @@ -75,20 +77,27 @@ export class SqliteProposedPlanActionStore { let firstStepId: string | undefined; for (const index of order) { const title = steps[index]!; - const preview = input.workflowStepPreviews?.[index]; + const preview = previews[index]; + const ballot = preview?.stageId ? ballots.get(preview.stageId) : undefined; + const dependencies = preview?.dependsOnStageIds?.filter(id => !preview.requiredDecision?.ballot?.voterStageIds.includes(id)); const ownerId = preview?.ownerId || input.toParticipantId || "local-user"; const step = this.ports.createChannelWorkflowStep({ workflowId: workflow.id, position: index + 1, title: steps.length > 1 ? title : `Implement ${workflowTitle}`, prompt: [title, "", `Source proposed plan: ${canonicalPlan.id}`, - canonicalPlan.sourceMessageId ? `Source message: ${canonicalPlan.sourceMessageId}` : ""].filter(Boolean).join("\n"), + canonicalPlan.sourceMessageId ? `Source message: ${canonicalPlan.sourceMessageId}` : "", + ballot?.prompt].filter(Boolean).join("\n"), toParticipantId: ownerId, toParticipantLabel: preview?.ownerLabel || input.toParticipantLabel || "Unassigned", participantAuthority: createWorkflowParticipantAuthorityV1({ kind: "workflow_definition", origin: "proposed_plan", participantId: ownerId, sourceId: canonicalPlan.id }), status: "queued", metadata: { sourceMessageId: canonicalPlan.sourceMessageId, ...(preview?.stageId ? { planStageId: preview.stageId } : {}), - ...(preview?.dependsOnStageIds?.length ? { dependsOnStepIds: preview.dependsOnStageIds.map(id => stepIds.get(id)!) } : {}), + ...(dependencies?.length ? { dependsOnStepIds: dependencies.map(id => stepIds.get(id)!) } : {}), ...(preview?.requiredDecision ? { requiredPlanDecision: preview.requiredDecision } : {}), ...(preview?.requiredTools ? { requiredTools: preview.requiredTools } : {}), + ...(ballot ? { planBallotKey: ballot.key, requiredTools: [], policy: { + onRunFailed: "skip_if_optional", onRunCancelled: "skip_if_optional", + onApprovalDenied: "skip_if_optional", retryable: false, + } } : {}), } }, now); if (preview?.stageId) stepIds.set(preview.stageId, step.id); if (index === 0) firstStepId = step.id; @@ -164,6 +173,37 @@ export class SqliteProposedPlanActionStore { } } +function planStageBallots(planId: string, previews: readonly ProposedPlanWorkflowStepPreviewInput[]) { + const stages = new Map(previews.map(preview => [preview.stageId, preview])); + const result = new Map(); + const invalid = () => new ProposedPlanMutationError("bad_workflow_stage_ballot", + "Each ballot needs distinct assigned, tool-free voter stages among the decision stage's prerequisites.", 400); + for (const preview of previews) { + const decision = preview.requiredDecision; + if (!preview.stageId || !decision?.ballot) continue; + const key = planStageBallotKey(planId, preview.stageId, decision); + const participantIds = new Set(); + const roster = new Set(decision.ballot.voterStageIds); + for (const id of roster) { + const voter = stages.get(id); + if (!voter?.ownerId || !preview.dependsOnStageIds?.includes(id) || voter.requiredTools?.length + || voter.requiredDecision || participantIds.has(voter.ownerId) || result.has(id)) throw invalid(); + const predecessors = new Set(voter.dependsOnStageIds); + for (const predecessor of predecessors) { + if (roster.has(predecessor)) throw invalid(); + for (const dependency of stages.get(predecessor)?.dependsOnStageIds ?? []) predecessors.add(dependency); + } + participantIds.add(voter.ownerId); + result.set(id, { key, prompt: [ + "Record your independent vote on the accepted Plan decision.", decision.question, + `Options: ${JSON.stringify(decision.options)}`, + `Return only JSON with ballotKey "${key}", option (one exact option or null to abstain), and a brief rationale.`, + ].join("\n") }); + } + } + return result; +} + function orderWorkflowStages(titles: readonly string[], previews: readonly ProposedPlanWorkflowStepPreviewInput[]): readonly number[] { const positions = titles.map((_, index) => index); if (!previews.some(stage => stage.stageId !== undefined || stage.dependsOnStageIds !== undefined || stage.requiredDecision !== undefined)) return positions; diff --git a/packages/core/src/storage/sqlite/work-item-store.ts b/packages/core/src/storage/sqlite/work-item-store.ts index 9b920215b..fc8da1843 100644 --- a/packages/core/src/storage/sqlite/work-item-store.ts +++ b/packages/core/src/storage/sqlite/work-item-store.ts @@ -40,7 +40,8 @@ import type { LingAppServerGitHubDelivery, LingAppServerGitHubIntakeReceipt, Lin LingAppServerWorkItemWorkflowBindParams, LingAppServerWorkItemWorkflowBinding } from "@ling-stack/contracts"; import type { RunStore } from "../../run-types.js"; import type { ChannelWorkflowStep } from "../../workspace-types.js"; -import { readSelectedWorkflowDecision } from "../../work-item-workflow-decision.js"; +import { readSelectedWorkflowDecision, workItemWorkflowDecisionId } from "../../work-item-workflow-decision.js"; +import { planStageBallotKey } from "../../proposed-plan-mutation.js"; import { normalConversationSubmissionKey } from "../../conversation-item-store-types.js"; import { readSqliteWithinTransaction } from "./read-snapshot.js"; @@ -49,6 +50,7 @@ export interface SqliteWorkItemStorePorts { readonly hasAiTeammate: (id: string) => boolean; readonly getProposedPlanArtifact: RunStore["getProposedPlanArtifact"]; readonly getChannelWorkflow: RunStore["getChannelWorkflow"]; + readonly listChannelWorkflowSteps: RunStore["listChannelWorkflowSteps"]; readonly getWorkItemEvidence: RunStore["getWorkItemEvidence"]; readonly getRun: RunStore["getRun"]; } @@ -615,7 +617,7 @@ export class SqliteWorkItemStore { const planId = this.ports.getChannelWorkflow(workflowId)?.metadata?.sourceProposedPlanId; const parentId = planId ? this.ports.getProposedPlanArtifact(planId)?.parentPlanId : undefined; const previousWorkflowId = parentId ? this.ports.getProposedPlanArtifact(parentId)?.acceptedWorkflowId : undefined; - return step?.metadata?.requiredPlanDecision || previousWorkflowId && state.get("work_item_workflow", previousWorkflowId) + return step?.metadata?.requiredPlanDecision || step?.metadata?.planBallotKey || previousWorkflowId && state.get("work_item_workflow", previousWorkflowId) ? "work_item_workflow_unbound" : undefined; } const binding = link.binding; @@ -630,6 +632,19 @@ export class SqliteWorkItemStore { const successor = plan.supersededByPlanId ? this.ports.getProposedPlanArtifact(plan.supersededByPlanId) : undefined; if (successor?.status === "accepted" && successor.acceptedWorkflowId) return "work_item_workflow_replan_pending"; if (this.incompleteWorkItemDependencyIds(item).length) return "work_item_workflow_dependency_blocked"; + if (step?.metadata?.planBallotKey) { + const { planBallotKey, planStageId } = step.metadata; + const target = this.ports.listChannelWorkflowSteps({ workflowId, complete: true }).find(candidate => { + const stageId = candidate.metadata?.planStageId; + const decision = candidate.metadata?.requiredPlanDecision; + return stageId && planStageId && decision?.ballot?.voterStageIds.includes(planStageId) + && planStageBallotKey(binding.planId, stageId, decision) === planBallotKey; + }); + if (!target) return "work_item_ballot_pending"; + const subject = { workItemId: item.id, planRevision: item.planRevision, workflowStepId: target.id }; + if (this.ports.getWorkItemEvidence(workItemWorkflowDecisionId(subject, "resolution"))) return "work_item_ballot_closed"; + if (!this.ports.getWorkItemEvidence(workItemWorkflowDecisionId(subject, "round"))) return "work_item_ballot_pending"; + } if (step?.metadata?.requiredPlanDecision && !this.getWorkflowStepDecision(step, state)) return "work_item_decision_pending"; return undefined; } diff --git a/packages/core/src/workspace-types.ts b/packages/core/src/workspace-types.ts index c4d3e5021..9be0f081e 100644 --- a/packages/core/src/workspace-types.ts +++ b/packages/core/src/workspace-types.ts @@ -2425,6 +2425,7 @@ export interface ChannelWorkflowStepMetadata { readonly graphNodeId?: string; readonly planStageId?: string; readonly requiredPlanDecision?: import("@ling-stack/contracts").ProposedPlanStageDecision; + readonly planBallotKey?: string; readonly dependsOnStepIds?: readonly string[]; readonly branchGroupId?: string; readonly joinGroupId?: string; diff --git a/packages/daemon/src/features/channels/orchestrator.ts b/packages/daemon/src/features/channels/orchestrator.ts index bac9ff0e5..25c779124 100644 --- a/packages/daemon/src/features/channels/orchestrator.ts +++ b/packages/daemon/src/features/channels/orchestrator.ts @@ -1030,6 +1030,7 @@ function blockWorkflowStepForContextReason( } function workflowStepRunResultSummary(store: RunStore, run: RunSession): string { + if (run.workflowStepId && store.getChannelWorkflowStep(run.workflowStepId)?.metadata?.planBallotKey) return "Ballot received."; return readRunAssistantTextSummary(store, run.id) ?? readRunArtifactResultSummary(store, run.id) ?? "Run succeeded."; @@ -1786,7 +1787,8 @@ function isWorkflowStepEligible(step: ChannelWorkflowStep, steps: readonly Chann function eligibleWorkflowSteps(store: RunStore, steps: readonly ChannelWorkflowStep[]): ChannelWorkflowStep[] { return steps.filter(step => step.metadata?.autoStart !== false && (step.status === "queued" || isApprovedPreStartStep(store, step)) - && (!step.metadata?.requiredPlanDecision || !store.getWorkItemWorkflowAdmissionBlocker(step.workflowId, step)) + && (!(step.metadata?.requiredPlanDecision || step.metadata?.planBallotKey) + || !store.getWorkItemWorkflowAdmissionBlocker(step.workflowId, step)) && isWorkflowStepEligible(step, steps)).sort(compareWorkflowStepForScheduling); } diff --git a/packages/daemon/src/features/work-items/workflow-stages.ts b/packages/daemon/src/features/work-items/workflow-stages.ts index 99a5cfe40..3f3d892f3 100644 --- a/packages/daemon/src/features/work-items/workflow-stages.ts +++ b/packages/daemon/src/features/work-items/workflow-stages.ts @@ -35,7 +35,7 @@ export function readWorkItemWorkflowStages(store: RunStore, item: WorkItem, incl stepId: step.id, stageId: step.metadata?.planStageId, title: step.title.slice(0, 250), status: step.status, participantLabel: step.toParticipantLabel.slice(0, 160), dependencyIds: step.metadata?.dependsOnStepIds?.slice(0, 20) ?? [], updatedAt: step.updatedAt, - ...(!admissionBlocker && step.metadata?.requiredPlanDecision && step.status === "queued" + ...(!admissionBlocker && (step.metadata?.requiredPlanDecision || step.metadata?.planBallotKey) && step.status === "queued" ? { admissionBlocker: store.getWorkItemWorkflowAdmissionBlocker(workflow.id, step) } : {}), ...(includeEvidence ? { runId: step.runId, outputArtifactId: step.metadata?.outputArtifactId, brief: (step.resultSummary ?? step.blocker)?.slice(0, 500), diff --git a/packages/daemon/src/index.ts b/packages/daemon/src/index.ts index bd89b308a..238bc9213 100644 --- a/packages/daemon/src/index.ts +++ b/packages/daemon/src/index.ts @@ -1,5 +1,6 @@ import { AutomationEventWorker } from "./features/automations/event-worker.js"; import { dispatchGitHubIntake, processGitHubWebhookIntake } from "./server/app-server-github-intake.js"; +import { openReadyWorkItemStageDeliberations } from "./server/app-server-collaboration.js"; import { HttpError } from "./errors.js"; import { isRecord } from "./shared/validation.js"; import { startDetachedRunAndResolveReady } from "./features/runs/detached.js"; @@ -910,17 +911,21 @@ export function createDaemonServer( webResolveHostAddresses, afterRunTerminal: afterChannelRunTerminal, }; - taskSupervisor = new TaskSupervisor(storeRegistry, (store, workflowId) => orchestrateChannelWorkflow({ - store, cwd: store.paths.cwd, workflowId, secretResolver, runnerRegistry, - resolveParallelCapability: createWorkflowParallelCapabilityResolver(runnerRegistry, - { toolBrokerMode: () => runtimeSupervisor.getHarnessFeatures().toolBroker.mode }), - isolationHost: { enabled: () => runtimeSupervisor.getChannelFeatures().workflowIsolatedFiles === true, - toolBrokerMode: () => runtimeSupervisor.getHarnessFeatures().toolBroker.mode, - maxConcurrentSteps: () => runtimeSupervisor.getConcurrencyPolicy().enabled - ? runtimeSupervisor.getConcurrencyPolicy().isolatedWriteMaxConcurrentSteps : 2 }, - validateRunRequest: request => { resolveProviderForRun(store, request, secretResolver); }, - startRun: createStartOrchestratedRun(channelTurnDispatchOptions, store, store.paths.cwd), - }), async (store, run) => { + taskSupervisor = new TaskSupervisor(storeRegistry, async (store, workflowId) => { + if (storeRegistry.recoveryBlocksDispatch(store.paths.cwd)) return; + for (const event of openReadyWorkItemStageDeliberations(store, workflowId, new Date().toISOString())) controlPlaneEvents.publish(event); + return orchestrateChannelWorkflow({ + store, cwd: store.paths.cwd, workflowId, secretResolver, runnerRegistry, + resolveParallelCapability: createWorkflowParallelCapabilityResolver(runnerRegistry, + { toolBrokerMode: () => runtimeSupervisor.getHarnessFeatures().toolBroker.mode }), + isolationHost: { enabled: () => runtimeSupervisor.getChannelFeatures().workflowIsolatedFiles === true, + toolBrokerMode: () => runtimeSupervisor.getHarnessFeatures().toolBroker.mode, + maxConcurrentSteps: () => runtimeSupervisor.getConcurrencyPolicy().enabled + ? runtimeSupervisor.getConcurrencyPolicy().isolatedWriteMaxConcurrentSteps : 2 }, + validateRunRequest: request => { resolveProviderForRun(store, request, secretResolver); }, + startRun: createStartOrchestratedRun(channelTurnDispatchOptions, store, store.paths.cwd), + }); + }, async (store, run) => { const queued = maybeQueueGoalContinuation({ terminalRun: run, store, activeRuns }); const pending = queued ?? store.listRunInterventions({ sourceRunId: run.id, status: "queued", limit: 100 }) .find(item => item.requestedBy === "system" && item.idempotencyKey?.startsWith("goal_auto_continue:")); diff --git a/packages/daemon/src/server/app-server-collaboration.ts b/packages/daemon/src/server/app-server-collaboration.ts index 24dc9e2b8..caa4aabfc 100644 --- a/packages/daemon/src/server/app-server-collaboration.ts +++ b/packages/daemon/src/server/app-server-collaboration.ts @@ -3,6 +3,7 @@ import type { LingAppServerCollaborationKind, LingAppServerDeliberationDecideParams, LingAppServerDeliberationSettlementParams, + LingAppServerStageBallotProgress, LingAppServerStageDeliberationStartParams, LingAppServerWorkItemCollaborationAppendParams, LingAppServerWorkItemCollaborationAppendResult, @@ -12,17 +13,21 @@ import type { import { appendWorkItemCollaboration, fromAppServerCollaborationParams, + LING_AGENT_ID, listWorkItemCollaboration, + planStageBallotKey, readWorkItemCollaborationRecord, toAppServerCollaborationRecord, workItemWorkflowDecisionId, type WorkItemWorkflowDecisionSubject, WORK_ITEM_COLLABORATION_CONTENT_PREFIX, type WorkItemCollaborationRecord, + type WorkItem, } from "@ling-stack/core"; import type { ControlPlaneEvent, RunStore } from "@ling-stack/core"; import { HttpError } from "../errors.js"; import { isRecord } from "../shared/validation.js"; +import { readAppServerStageBallot } from "./app-server-stage-ballot.js"; export class AppServerCollaborationError extends Error { constructor( @@ -45,10 +50,12 @@ export function readAppServerWorkItemCollaboration( afterRevision: params.afterRevision, limit: params.limit, }); + const ballots = params.kind === "deliberation" ? readOpenStageBallots(store, workItem, page.records) : undefined; return { workItemId: params.workItemId, records: page.records.map(toAppServerCollaborationRecord), nextAfterRevision: page.nextAfterRevision, + ...(ballots?.length ? { ballots } : {}), }; } @@ -81,7 +88,7 @@ export function readAppServerWorkItemCollaborationKind( } export function startAppServerStageDeliberation( - store: RunStore, input: LingAppServerStageDeliberationStartParams, now: string, cwd: string, + store: RunStore, input: LingAppServerStageDeliberationStartParams, now: string, cwd: string, actorId = "local-user", ): LingAppServerWorkItemCollaborationAppendResult & { readonly event?: ControlPlaneEvent } { if (input.expectedWorkItemRevision < 1 || !input.idempotencyKey.trim() || input.idempotencyKey.length > 200) { throw new AppServerCollaborationError("invalid_params", "Supply the current Work Item revision and a bounded request key."); @@ -101,16 +108,49 @@ export function startAppServerStageDeliberation( if (!prior && (store.getWorkItemWorkflowAdmissionBlocker(item.workflowId) || !["queued", "blocked"].includes(step.status))) { throw new HttpError(409, "resume_blocked", "The Work Item cannot open this decision point now."); } + if (!prior && required.ballot && step.metadata?.dependsOnStepIds?.some(id => { + const dependency = store.getChannelWorkflowStep(id); + return dependency?.status !== "succeeded" && dependency?.status !== "skipped"; + })) throw new HttpError(409, "resume_blocked", "Wait for the ballot's preceding stages."); + const plan = store.getAppServerState("work_item_workflow", item.workflowId)?.payload as { + binding: { planId: string }; + } | undefined; + const ballot = required.ballot && step.metadata?.planStageId && plan + ? { ...required.ballot, ballotKey: planStageBallotKey(plan.binding.planId, step.metadata.planStageId, required) } : undefined; const result = appendWorkItemCollaboration(store, { id, workItemId: item.id, expectedWorkItemRevision: input.expectedWorkItemRevision, - kind: "deliberation", action: "started", actorId: "local-user", idempotencyKey: input.idempotencyKey, - payload: { decisionPoint: required.question, options: required.options, workflowDecision: subject }, + kind: "deliberation", action: "started", actorId, idempotencyKey: input.idempotencyKey, + payload: { decisionPoint: required.question, options: required.options, workflowDecision: subject, ...(ballot ? { ballot } : {}) }, sourceRefs: [{ type: "workflow_step", id: step.id, revision: item.planRevision }], }, now, cwd); if (!result || result.record.id !== id) throw new AppServerCollaborationError("stale_revision", "The decision point changed before the round opened."); return result; } +export function openReadyWorkItemStageDeliberations(store: RunStore, workflowId: string, now: string): readonly ControlPlaneEvent[] { + const binding = (store.getAppServerState("work_item_workflow", workflowId)?.payload as { + binding: import("@ling-stack/contracts").LingAppServerWorkItemWorkflowBinding; + } | undefined)?.binding; + if (!binding || store.getWorkItemWorkflowAdmissionBlocker(workflowId)) return []; + const steps = store.listChannelWorkflowSteps({ workflowId, complete: true }); + const byId = new Map(steps.map(step => [step.id, step])); + const events: ControlPlaneEvent[] = []; + for (const step of steps) { + if (step.status !== "queued" || step.metadata?.requiredPlanDecision?.trigger !== "when_ready" + || step.metadata.dependsOnStepIds?.some(id => !["succeeded", "skipped"].includes(byId.get(id)?.status ?? ""))) continue; + const workItem = store.getWorkItem(binding.workItemId); + if (!workItem?.planRevision) break; + const subject = { workItemId: workItem.id, planRevision: workItem.planRevision, workflowStepId: step.id }; + const idempotencyKey = workItemWorkflowDecisionId(subject, "round"); + if (store.getWorkItemEvidence(idempotencyKey)) continue; + const result = startAppServerStageDeliberation(store, { + workItemId: workItem.id, workflowStepId: step.id, expectedWorkItemRevision: workItem.revision, idempotencyKey, + }, now, store.paths.cwd, LING_AGENT_ID); + if (result.event) events.push(result.event); + } + return events; +} + export function settleAppServerDeliberation( store: RunStore, input: LingAppServerDeliberationSettlementParams, @@ -142,6 +182,7 @@ export function settleAppServerDeliberation( if (!prior && decision && (item.control.state !== "active" || item.holds.some(hold => hold.blocksNewAdmission))) { throw new HttpError(409, "resume_blocked", "The Work Item is held. A held round can be cancelled."); } + let ballot: Extract, { readonly summary: unknown }> | undefined; if (!prior && decision && workflowDecision) { const step = store.getChannelWorkflowStep(workflowDecision.workflowStepId); if (item.planRevision !== workflowDecision.planRevision || !step?.metadata?.requiredPlanDecision || step.workflowId !== item.workflowId @@ -149,10 +190,30 @@ export function settleAppServerDeliberation( || decision.disposition === "selected" && !step.metadata.requiredPlanDecision.options.includes(decision.option)) { throw new AppServerCollaborationError("stale_revision", "The accepted decision point no longer applies to this Workflow."); } + if (decision.disposition === "selected" && step.metadata.requiredPlanDecision.ballot) { + const frozen = isRecord(round.payload) && isRecord(round.payload.ballot) ? round.payload.ballot : undefined; + const plan = store.getAppServerState("work_item_workflow", step.workflowId)?.payload as { + binding: { planId: string }; + } | undefined; + if (!plan) throw new AppServerCollaborationError("stale_revision", "The ballot Plan binding is unavailable."); + const result = readAppServerStageBallot(store, step, plan.binding.planId, step.metadata.requiredPlanDecision, frozen?.ballotKey); + if (result.status === "waiting") throw new HttpError(409, "resume_blocked", "Wait for the assigned ballot stages to finish."); + if (result.status === "quorum_unmet") throw new HttpError(409, "resume_blocked", "The verified ballots did not reach quorum."); + ballot = result; + } } const action = decision ? "decided" : "cancelled"; - const payload = decision ? { ...decision, reason: input.reason } : { reason: input.reason }; - const sourceRefs = [{ type: "deliberation_round", id: round.id, revision: String(round.collaborationRevision) }]; + const payload = decision ? { ...decision, reason: input.reason, ...(ballot ? { ballot: ballot.summary } : {}) } : { reason: input.reason }; + const sourceRefs = [{ type: "deliberation_round", id: round.id, revision: String(round.collaborationRevision) }, ...(ballot?.sourceRefs ?? [])]; + const saved = prior && readWorkItemCollaborationRecord(store, item.id, prior.id); + if (saved) { + const { ballot: _ballot, ...request } = isRecord(saved.payload) ? saved.payload : {}; + const { ballot: _tally, ...current } = payload as typeof payload & { ballot?: unknown }; + if (saved.action !== action || JSON.stringify(request) !== JSON.stringify(current)) { + throw new AppServerCollaborationError("idempotency_conflict", "The deliberation key was used with a different decision."); + } + return { status: "replayed", record: { ...saved, workItemRevision: item.revision }, workItemRevision: item.revision }; + } const resolution = store.appendWorkItemEvidence({ id, workItemId: item.id, @@ -192,6 +253,28 @@ export function settleAppServerDeliberation( } }; } +function readOpenStageBallots( + store: RunStore, item: WorkItem, records: readonly WorkItemCollaborationRecord[], +): readonly LingAppServerStageBallotProgress[] { + if (!item.workflowId || !item.planRevision) return []; + const plan = store.getAppServerState("work_item_workflow", item.workflowId)?.payload as { binding: { planId: string } } | undefined; + if (!plan) return []; + const ballots: LingAppServerStageBallotProgress[] = []; + for (const round of records) { + if (round.action !== "started") continue; + const subject = readWorkflowDecisionSubject(round); + if (subject?.planRevision !== item.planRevision || store.getWorkItemEvidence(workItemWorkflowDecisionId(subject, "resolution"))) continue; + const step = store.getChannelWorkflowStep(subject.workflowStepId); + const decision = step?.metadata?.requiredPlanDecision; + const frozen = isRecord(round.payload) && isRecord(round.payload.ballot) ? round.payload.ballot : undefined; + if (!step || step.workflowId !== item.workflowId || !decision?.ballot) continue; + const result = readAppServerStageBallot(store, step, plan.binding.planId, decision, frozen?.ballotKey); + ballots.push(result.status === "waiting" ? { roundId: round.id, status: result.status } + : { roundId: round.id, status: result.status, summary: result.summary }); + } + return ballots; +} + function readWorkflowDecisionSubject(round: WorkItemCollaborationRecord): WorkItemWorkflowDecisionSubject | undefined { const subject = isRecord(round.payload) ? round.payload.workflowDecision : undefined; if (!isRecord(subject) || typeof subject.planRevision !== "string" || typeof subject.workflowStepId !== "string") return undefined; diff --git a/packages/daemon/src/server/app-server-mcp.ts b/packages/daemon/src/server/app-server-mcp.ts index 6261a0201..ffb16a552 100644 --- a/packages/daemon/src/server/app-server-mcp.ts +++ b/packages/daemon/src/server/app-server-mcp.ts @@ -144,6 +144,8 @@ export async function runLingAppServerMcp( requiredTools: z.array(z.enum(["read", "grep", "find", "ls", "bash", "edit", "write"])).max(7).optional(), requiredDecision: z.strictObject({ question: z.string().min(1).max(500), options: z.array(z.string().min(1).max(200)).min(2).max(12), + trigger: z.literal("when_ready").optional(), + ballot: z.strictObject({ voterStageIds: z.array(objectId).min(2).max(12), quorum: z.number().int().min(2).max(12) }).optional(), }).optional(), })).min(1).max(50), }), diff --git a/packages/daemon/src/server/app-server-stage-ballot.ts b/packages/daemon/src/server/app-server-stage-ballot.ts new file mode 100644 index 000000000..a358da3c9 --- /dev/null +++ b/packages/daemon/src/server/app-server-stage-ballot.ts @@ -0,0 +1,64 @@ +import type { LingAppServerStageBallotTally, LingAppServerWorkItemSourceRef, ProposedPlanStageDecision } from "@ling-stack/contracts"; +import { planStageBallotKey, type ChannelWorkflowStep, type RunStore } from "@ling-stack/core"; +import { HttpError } from "../errors.js"; +import { isRecord } from "../shared/validation.js"; + +type BallotResult = + | { readonly status: "waiting" } + | { readonly status: "ready" | "quorum_unmet"; readonly summary: LingAppServerStageBallotTally; + readonly sourceRefs: readonly LingAppServerWorkItemSourceRef[] }; + +export function readAppServerStageBallot( + store: RunStore, target: ChannelWorkflowStep, planId: string, + decision: ProposedPlanStageDecision, frozenKey: unknown, +): BallotResult { + const ballot = decision.ballot; + if (!ballot || !target.metadata?.planStageId) throw new HttpError(409, "stale_revision", "The ballot no longer belongs to this stage."); + const key = planStageBallotKey(planId, target.metadata.planStageId, decision); + if (key !== frozenKey) throw new HttpError(409, "stale_revision", "The ballot options or eligible stages have changed."); + const stages = store.listChannelWorkflowSteps({ workflowId: target.workflowId, complete: true }); + const counts = new Map(decision.options.map(option => [option, 0])); + const participants = new Set(); + const sourceRefs: LingAppServerWorkItemSourceRef[] = []; + let abstained = 0; + for (const stageId of ballot.voterStageIds) { + const voter = stages.find(step => step.metadata?.planStageId === stageId); + if (!voter || voter.metadata?.planBallotKey !== key + || participants.has(voter.toParticipantId)) throw new HttpError(409, "stale_revision", "An eligible ballot stage changed."); + participants.add(voter.toParticipantId); + if (!["succeeded", "failed", "cancelled", "skipped"].includes(voter.status)) { + return { status: "waiting" }; + } + const run = voter.runId ? store.getRun(voter.runId) : undefined; + if (voter.status !== "succeeded" || run?.status !== "succeeded" + || run.workflowStepId !== voter.id || run.teammateId !== voter.toParticipantId) continue; + const option = readVote(store, run.id, key, decision.options); + if (option === undefined) continue; + if (option === null) abstained++; + else counts.set(option, counts.get(option)! + 1); + sourceRefs.push({ type: "workflow_step", id: voter.id, revision: voter.updatedAt }); + } + const highest = Math.max(...counts.values()); + const tied = highest > 0 && [...counts.values()].filter(count => count === highest).length > 1; + const tally = [...counts].map(([option, count]) => ({ option, count })); + return { status: sourceRefs.length >= ballot.quorum ? "ready" : "quorum_unmet", sourceRefs, + summary: { ballotKey: key, quorum: ballot.quorum, cast: sourceRefs.length, abstained, tied, tally } }; +} + +function readVote(store: RunStore, runId: string, ballotKey: string, options: readonly string[]): string | null | undefined { + const events = store.listEvents(runId, { limit: 1000 }); + if (events.length === 1000) return undefined; + const text = events + .filter(event => event.type === "assistant_text_delta") + .map(event => isRecord(event.data) && typeof event.data.text === "string" ? event.data.text : "") + .join(""); + if (!text || text.length > 4096) return undefined; + try { + const vote: unknown = JSON.parse(text); + if (isRecord(vote) && vote.ballotKey === ballotKey && typeof vote.rationale === "string" + && vote.rationale.trim() && vote.rationale.length <= 1000 + && (vote.option === null || typeof vote.option === "string" && options.includes(vote.option))) return vote.option; + } catch { + return undefined; + } +} diff --git a/packages/daemon/src/server/rpc.ts b/packages/daemon/src/server/rpc.ts index 67553d2be..cf4707689 100644 --- a/packages/daemon/src/server/rpc.ts +++ b/packages/daemon/src/server/rpc.ts @@ -1277,12 +1277,13 @@ class RpcConnection { const record = readParamsRecord(params); const cwd = readRpcCwd(record, this.defaultCwd); try { - const result = readAppServerWorkItemCollaboration(this.context.storeRegistry.getStore(cwd), { + const store = this.context.storeRegistry.getStore(cwd); + const result = store.readSnapshot(() => readAppServerWorkItemCollaboration(store, { workItemId: readStringField(record, "workItemId"), ...(kind ? { kind } : {}), afterRevision: readOptionalIntegerField(record, "afterRevision"), limit: readOptionalIntegerField(record, "limit"), - }); + })); return { cwd, ...result }; } catch (error) { throw collaborationRpcError(error); @@ -1328,7 +1329,10 @@ class RpcConnection { try { const store = this.context.storeRegistry.getStore(cwd); const { event, ...result } = startAppServerStageDeliberation(store, input, new Date().toISOString(), cwd); - if (event) this.context.controlPlaneEvents.publish(trimOversizedEvent(event)); + if (event) { + this.context.controlPlaneEvents.publish(trimOversizedEvent(event)); + this.context.taskSupervisor.poke(cwd); + } return { cwd, ...result }; } catch (error) { throw collaborationRpcError(error); diff --git a/packages/daemon/test/app-server-release-acceptance.test.ts b/packages/daemon/test/app-server-release-acceptance.test.ts index 952894e84..f92c616bb 100644 --- a/packages/daemon/test/app-server-release-acceptance.test.ts +++ b/packages/daemon/test/app-server-release-acceptance.test.ts @@ -3,6 +3,7 @@ import { execFile, execFileSync, spawn } from "node:child_process"; import { createHash, createHmac, randomBytes, randomUUID } from "node:crypto"; import { once } from "node:events"; import { chmod, copyFile, link, lstat, mkdir, mkdtemp, readFile, realpath, rm, symlink, unlink, writeFile } from "node:fs/promises"; +import { createServer as createHttpServer } from "node:http"; import { createConnection, createServer } from "node:net"; import { tmpdir } from "node:os"; import { PassThrough, type Duplex, type Readable, type Writable } from "node:stream"; @@ -1222,7 +1223,7 @@ test("Codex control host streams Ling, accepts explicit controls, and replays cu await second.stop(); }); -test("the reference control host negotiates installed Codex, queues a Ling intervention and replays after reconnect", { +test("the reference control host steers installed Codex, queues a Ling intervention and replays after reconnect", { skip: !codexExecutable, timeout: 30_000, }, async t => { let releaseSource: () => void = () => undefined; @@ -1240,6 +1241,51 @@ test("the reference control host negotiates installed Codex, queues a Ling inter const statePath = join(fixture.root, "codex-host.sqlite"); const codexHome = join(fixture.root, "codex-config"); await mkdir(codexHome, { mode: 0o700 }); + let releaseCodex: () => void = () => undefined; + const codexResponseGate = new Promise(resolve => { releaseCodex = resolve; }); + const codexRequests: unknown[] = []; + const responses = createHttpServer(async (request, response) => { + if (request.method !== "POST" || request.url !== "/v1/responses") { + response.writeHead(404).end(); + return; + } + const chunks: Buffer[] = []; + for await (const chunk of request) chunks.push(Buffer.from(chunk)); + codexRequests.push(JSON.parse(Buffer.concat(chunks).toString())); + const attempt = codexRequests.length; + const item = { id: `msg_fixture_${attempt}`, type: "message", status: "completed", role: "assistant", + content: [{ type: "output_text", text: "Codex fixture completed.", annotations: [] }] }; + const completed = { id: `resp_fixture_${attempt}`, object: "response", created_at: 0, model: "gpt-5", + status: "completed", output: [item], usage: { input_tokens: 20, output_tokens: 8, total_tokens: 28 } }; + const send = (event: Record, sequence: number) => + response.write(`event: ${event.type}\ndata: ${JSON.stringify({ ...event, sequence_number: sequence })}\n\n`); + response.writeHead(200, { "content-type": "text/event-stream" }); + send({ type: "response.created", response: { ...completed, status: "in_progress", output: [] } }, 0); + if (attempt === 1) await codexResponseGate; + send({ type: "response.output_item.added", output_index: 0, item: { ...item, status: "in_progress", content: [] } }, 1); + send({ type: "response.output_text.delta", item_id: item.id, output_index: 0, content_index: 0, delta: item.content[0]!.text }, 2); + send({ type: "response.output_item.done", output_index: 0, item }, 3); + send({ type: "response.completed", response: completed }, 4); + response.end(); + }); + responses.listen(0, "127.0.0.1"); + await once(responses, "listening"); + t.after(async () => { + releaseCodex(); + const closed = once(responses, "close"); + responses.close(); + responses.closeAllConnections(); + await closed; + }); + const address = responses.address(); + assert.ok(address && typeof address === "object"); + await writeFile(join(codexHome, "config.toml"), [ + 'model = "gpt-5"', 'model_provider = "ling_fixture"', 'approval_policy = "never"', 'sandbox_mode = "read-only"', + '[analytics]', 'enabled = false', + '[model_providers.ling_fixture]', 'name = "Ling Test"', `base_url = "http://127.0.0.1:${address.port}/v1"`, + 'wire_api = "responses"', 'requires_openai_auth = false', 'supports_websockets = false', + 'request_max_retries = 0', 'stream_max_retries = 0', 'stream_idle_timeout_ms = 10000', + ].join("\n")); const start = async () => { const running = spawn(process.execPath, [cli, "--cwd", fixture.cwd, "--daemon-url", daemonUrl, "app-server", "codex-host", "--thread", thread.id, "--state", statePath, "--codex", codexExecutable!], @@ -1260,11 +1306,21 @@ test("the reference control host negotiates installed Codex, queues a Ling inter return { ...peer, stop }; }; const first = await start(); + const codex = await first.call<{ threadId: string }>("codex/thread/start"); + const codexTurn = await first.call<{ turn: { id: string } }>("codex/turn/start", { message: "Track the paired Ling work." }); + await waitFor(() => codexRequests.length === 1 ? true : undefined); const preset = addLoopbackPreset(fixture.getStore(), provider.baseUrl); const { turn } = await ling.call<{ turn: { id: string } }>("turn/start", { threadId: thread.id, providerPresetId: preset.id, idempotencyKey: "codex-host-source", message: "Observe the committed Turn.", }); const started = await waitFor(() => first.notices.find(notice => notice.method === "turn/started" && notice.params?.event?.entityId === turn.id)); + assert.ok(started.params?.eventId); + const steer = { eventId: started.params.eventId, expectedTurnId: codexTurn.turn.id }; + assert.deepEqual(await first.call("codex/steer", steer), { status: "accepted" }); + releaseCodex(); + await waitFor(() => codexRequests.slice(1).find(request => JSON.stringify(request).includes(steer.eventId))); + await waitFor(() => first.notices.find(notice => notice.method === "turn/completed" + && (notice.params as { threadId?: string } | undefined)?.threadId === codex.threadId)); await waitFor(() => provider.requests.length === 1 ? true : undefined); const snapshot = await first.call("ling/snapshot"); assert.equal(snapshot.turn?.id, turn.id); @@ -1276,6 +1332,8 @@ test("the reference control host negotiates installed Codex, queues a Ling inter releaseSource(); await waitFor(() => provider.requests.length === 2 ? true : undefined); const second = await start(); + assert.equal((await second.call("codex/snapshot")).thread.id, codex.threadId); + assert.deepEqual(await second.call("codex/steer", steer), { status: "accepted", replayed: true }); const finished = await waitFor(() => second.notices.find(notice => notice.method === "turn/completed" && notice.params?.event?.data?.turnId === turn.id)); assert.ok(finished.params?.eventId); @@ -2307,15 +2365,18 @@ test("an operator resolves a deliberation round once against its current revisio assert.equal(fixture.getStore().listRuns().length, 0); }); -test("a GitHub Work Item recovers its staged Workflow, runs independent QA and releases one decision dependency", { timeout: 40_000 }, async t => { +test("a GitHub Work Item recovers its Workflow, gathers independent ballots and releases one decision dependency", { timeout: 40_000 }, async t => { let completeContract: () => void = () => undefined; const contractGate = new Promise(resolve => { completeContract = resolve; }); + let completeQaVote: () => void = () => undefined; + const qaVoteGate = new Promise(resolve => { completeQaVote = resolve; }); let implementationReadRequested = false; const provider = await startLoopbackPiProvider(async (body: unknown, request: number) => { if (request === 1) await contractGate; - const input = body as { stream: boolean; messages: readonly { content: string }[] }; - if (input.stream === false && input.messages.at(-1)?.content?.includes('"workItem":')) { - const source = JSON.parse(input.messages.at(-1)!.content) as { items: readonly { id: string; text: string; verified: boolean }[] }; + const input = body as { stream: boolean; tools?: readonly unknown[]; messages: readonly { content: string | readonly { text?: string }[] }[] }; + const lastContent = input.messages.at(-1)?.content; + if (input.stream === false && typeof lastContent === "string" && lastContent.includes('"workItem":')) { + const source = JSON.parse(lastContent) as { items: readonly { id: string; text: string; verified: boolean }[] }; const proof = source.items.find(entry => entry.verified && entry.text.includes("Verified compatibility input")); assert.ok(proof, "The Learning Review lacked the owned Run's read evidence."); return { text: JSON.stringify({ kind: "memory", title: "Compatibility input", body: "Read the verified compatibility input before implementation.", @@ -2325,9 +2386,19 @@ test("a GitHub Work Item recovers its staged Workflow, runs independent QA and r implementationReadRequested = true; return { tool: "read", input: { path: "implementation-input.txt" } }; } + const prompt = input.messages.flatMap(message => typeof message.content === "string" ? [message.content] + : message.content?.map(part => part.text ?? "") ?? []).join("\n"); + const ballotKey = /ballotKey "([a-f0-9]{64})"/u.exec(prompt)?.[1]; + if (ballotKey) { + assert.equal(input.tools?.length ?? 0, 0); + const isQa = prompt.includes("Assigned teammate: QA ("); + if (isQa) await qaVoteGate; + const option = isQa ? "Migration" : "Adapter"; + return { text: JSON.stringify({ ballotKey, option, rationale: "Prefer the compatibility trade-off for this role." }) }; + } return { text: "Stage completed" }; }); - t.after(async () => { completeContract(); await provider.close(); }); + t.after(async () => { completeContract(); completeQaVote(); await provider.close(); }); const fixture = await releaseFixture(t, { githubSources: cwd => [{ workspaceRoot: cwd, repository: "example/ling", repositoryId: "73" }], externalWorkFetch: async input => { @@ -2371,23 +2442,31 @@ test("a GitHub Work Item recovers its staged Workflow, runs independent QA and r }; const conversionPath = `/threads/${thread.id}/proposed-plans/${plan.id}/convert-workflow`; const p01Preview = { title: "P01 accept the contract", stageId: "P01", ownerId: "teammate_builtin_engineer", ownerLabel: "Engineer" }; - const p02Preview = { title: "P02 implement the selected approach", stageId: "P02", dependsOnStageIds: ["P01"], + const p02Preview = { title: "P02 implement the selected approach", stageId: "P02", dependsOnStageIds: ["P01", "V-ENGINEER", "V-QA"], ownerId: "teammate_builtin_engineer", ownerLabel: "Engineer", requiredTools: ["read"], - requiredDecision: { question: "Which compatible approach should this stage implement?", options: ["Adapter", "Migration"] } }; + requiredDecision: { question: "Which compatible approach should this stage implement?", options: ["Adapter", "Migration"], + trigger: "when_ready", ballot: { voterStageIds: ["V-ENGINEER", "V-QA"], quorum: 2 } } }; const qaPreview = { title: "Prepare contract regression checks", stageId: "QA", dependsOnStageIds: ["P01"], ownerId: "teammate_builtin_qa", ownerLabel: "QA" }; + const ballots = [ + { title: "Review the compatibility options", stageId: "V-ENGINEER", dependsOnStageIds: ["P01"], + ownerId: "teammate_builtin_engineer", ownerLabel: "Engineer" }, + { title: "Evaluate the regression impact", stageId: "V-QA", dependsOnStageIds: ["P01"], + ownerId: "teammate_builtin_qa", ownerLabel: "QA" }, + ]; const invalid = await request(conversionPath, { expectedRevision: plan.revision, - workflowStepPreviews: [{ ...p01Preview, dependsOnStageIds: ["P02"] }, p02Preview] }); + workflowStepPreviews: [{ ...p01Preview, dependsOnStageIds: ["P02"] }, p02Preview, ...ballots] }); assert.equal(invalid.status, 400); assert.equal((await invalid.json() as { error: string }).error, "bad_workflow_stage_dependencies"); assert.equal(store.getProposedPlanArtifact(plan.id)?.revision, plan.revision); - const planResponse = await request(conversionPath, { expectedRevision: plan.revision, workflowStepPreviews: [p02Preview, p01Preview, qaPreview] }); + const planResponse = await request(conversionPath, { expectedRevision: plan.revision, + workflowStepPreviews: [p02Preview, p01Preview, qaPreview, ...ballots] }); assert.ok(planResponse.ok, await planResponse.clone().text()); const converted = await planResponse.json() as ProposedPlanActionResponse; assert.ok(converted.workflowId); assert.equal(converted.plan.acceptedWorkflowId, converted.workflowId); - const [p02, p01, qa] = store.listChannelWorkflowSteps({ workflowId: converted.workflowId, complete: true }); - assert.ok(p01 && p02 && qa); + const [p02, p01, qa, engineerVote, qaVote] = store.listChannelWorkflowSteps({ workflowId: converted.workflowId, complete: true }); + assert.ok(p01 && p02 && qa && engineerVote && qaVote); assert.deepEqual(p02.metadata?.dependsOnStepIds, [p01.id]); assert.deepEqual(qa.metadata?.dependsOnStepIds, [p01.id]); const startImplementation = () => request(`/workflow-steps/${encodeURIComponent(p02.id)}/start`, { mode: "create_and_run_task" }); @@ -2415,8 +2494,16 @@ test("a GitHub Work Item recovers its staged Workflow, runs independent QA and r && notice.params.event.entityId === workItemId)); const stages = await client.call("workItem/stage/read", { workItemId: item.id }); assert.equal(stages.workflow?.workflowId, converted.workflowId); - assert.deepEqual(stages.workflow?.steps.map(({ stageId, status }) => [stageId, status]), [["P02", "queued"], ["P01", "queued"], ["QA", "queued"]]); + assert.deepEqual(stages.workflow?.steps.map(({ stageId, status }) => [stageId, status]), + [["P02", "queued"], ["P01", "queued"], ["QA", "queued"], ["V-ENGINEER", "queued"], ["V-QA", "queued"]]); assert.equal(stages.workflow?.steps[0]?.admissionBlocker, "work_item_decision_pending"); + assert.equal(stages.workflow?.steps.find(step => step.stepId === engineerVote.id)?.admissionBlocker, "work_item_ballot_pending"); + const earlyVote = await request(`/workflow-steps/${encodeURIComponent(engineerVote.id)}/start`, { mode: "create_and_run_task" }); + assert.equal(earlyVote.status, 409); + assert.equal((await earlyVote.json() as { error: string }).error, "work_item_ballot_pending"); + await assert.rejects(client.call("workItem/deliberation/start", { + workItemId, workflowStepId: p02.id, expectedWorkItemRevision: Number(bound.workItem.revision), idempotencyKey: "before-contract", + }), { code: "resume_blocked" }); assert.ok(stages.workflow?.steps.every(step => step.briefBasis === undefined)); const workflowPath = `/workflows/${encodeURIComponent(converted.workflowId)}/orchestrate`; const itemPath = `/work-items/${encodeURIComponent(item.id)}`; @@ -2476,10 +2563,10 @@ test("a GitHub Work Item recovers its staged Workflow, runs independent QA and r await waitFor(() => resumedClient.notices.find(event => event.params?.eventId === stageEvent.params?.eventId)); const held = await resumedClient.call("workItem/stage/read", { workItemId: item.id }); assert.equal(held.workflow?.admissionBlocker, "work_item_workflow_held"); - assert.deepEqual(held.workflow?.steps.map(step => step.status), ["queued", "succeeded", "queued"]); + assert.deepEqual(held.workflow?.steps.map(step => step.status), ["queued", "succeeded", "queued", "queued", "queued"]); assert.deepEqual((await readBrief(resumedClient)).workflow?.steps.find(step => step.stepId === p01.id), brief); assert.equal(provider.requests.length, 1); - const resumed = await resumedClient.call("workItem/resume", { + await resumedClient.call("workItem/resume", { workItemId: item.id, actorId: "local-user", expectedWorkItemRevision: Number(paused.workItem.revision), expectedControlGeneration: 1, idempotencyKey: "workflow-owned-resume", }); @@ -2489,28 +2576,47 @@ test("a GitHub Work Item recovers its staged Workflow, runs independent QA and r const pending = await startImplementation(); assert.equal(pending.status, 409); assert.equal((await pending.json() as { error: string }).error, "work_item_decision_pending"); - const opening = { workItemId: item.id, workflowStepId: p02.id, expectedWorkItemRevision: Number(resumed.workItem.revision), - idempotencyKey: "workflow-owned-decision" }; - const round = await resumedClient.call("workItem/deliberation/start", opening); - assert.deepEqual((round.record.payload as { options: readonly string[] }).options, ["Adapter", "Migration"]); - await assert.rejects(resumedClient.call("workItem/deliberation/start", { ...opening, expectedWorkItemRevision: round.workItemRevision, + const round = await waitFor(async () => { + const rounds = await resumedClient.call("workItem/deliberation/read", { workItemId: item.id }); + return rounds.records.find(record => record.action === "started"); + }); + assert.deepEqual((round.payload as { options: readonly string[] }).options, ["Adapter", "Migration"]); + assert.equal(round.actorId, "ling_agent"); + const readBallots = (connection: typeof client) => connection.call( + "workItem/deliberation/read", { workItemId: item.id }); + assert.deepEqual((await readBallots(resumedClient)).ballots, [{ roundId: round.id, status: "waiting" }]); + const current = await resumedClient.call("workItem/read", { workItemId: item.id }); + const expectedWorkItemRevision = Number(current.workItem.revision); + await assert.rejects(resumedClient.call("workItem/deliberation/start", { + workItemId: item.id, workflowStepId: p02.id, expectedWorkItemRevision, idempotencyKey: "duplicate-decision" }), { code: "stale_revision" }); - await fixture.restart(); - const decisionClient = await fixture.connect(); const decision = { - workItemId: item.id, roundId: round.record.id, expectedRoundRevision: round.record.collaborationRevision, - expectedWorkItemRevision: round.workItemRevision, idempotencyKey: "workflow-owned-selected", reason: "Keep both compatibility paths", + workItemId: item.id, roundId: round.id, expectedRoundRevision: round.collaborationRevision, + expectedWorkItemRevision, idempotencyKey: "workflow-owned-selected", reason: "Keep both compatibility paths", decision: { disposition: "selected", option: "Adapter" }, }; + await assert.rejects(resumedClient.call("workItem/deliberation/decide", decision), { code: "resume_blocked" }); + completeQaVote(); + await waitFor(() => [engineerVote, qaVote].every(step => resumedStore.getChannelWorkflowStep(step.id)?.status === "succeeded") ? true : undefined); + await fixture.restart(); + const decisionClient = await fixture.connect(); + const [readyBallot] = (await readBallots(decisionClient)).ballots ?? []; + assert.equal(readyBallot?.status, "ready"); + assert.equal(readyBallot.summary.tied, true); + assert.deepEqual(readyBallot.summary.tally, [{ option: "Adapter", count: 1 }, { option: "Migration", count: 1 }]); await assert.rejects(decisionClient.call("workItem/deliberation/decide", { ...decision, decision: { disposition: "selected", option: "Rewrite" } }), { code: "invalid_params" }); const selected = await decisionClient.call("workItem/deliberation/decide", decision); + assert.deepEqual((selected.record.payload as { ballot: { tally: unknown; tied: boolean } }).ballot.tally, + [{ option: "Adapter", count: 1 }, { option: "Migration", count: 1 }]); + assert.equal((selected.record.payload as { ballot: { tied: boolean } }).ballot.tied, true); const retried = await decisionClient.call("workItem/deliberation/decide", decision); assert.equal(retried.status, "replayed"); assert.equal(retried.record.id, selected.record.id); + assert.equal((await readBallots(decisionClient)).ballots, undefined); const finishedStore = fixture.getStore(); await waitFor(() => finishedStore.getChannelWorkflow(converted.workflowId!)?.status === "succeeded" ? true : undefined); - for (const step of [p01, p02, qa]) assert.equal(finishedStore.listRuns({ workflowStepId: step.id }).length, 1); + for (const step of [p01, p02, qa, engineerVote, qaVote]) assert.equal(finishedStore.listRuns({ workflowStepId: step.id }).length, 1); assert.ok(provider.requests.some(body => { const input = JSON.stringify(body); return input.includes("Accepted Plan decision:") && input.includes(selected.record.id); @@ -2518,7 +2624,9 @@ test("a GitHub Work Item recovers its staged Workflow, runs independent QA and r const detail = await request(itemPath); assert.equal(detail.status, 200); const body = await detail.json() as { workflow?: LingAppServerWorkItemCollaborationReadResult["workflow"] }; - assert.deepEqual(body.workflow?.steps.map(step => step.status), ["succeeded", "succeeded", "succeeded"]); + assert.deepEqual(body.workflow?.steps.map(step => step.status), ["succeeded", "succeeded", "succeeded", "succeeded", "succeeded"]); + assert.deepEqual(body.workflow?.steps.filter(step => step.stageId?.startsWith("V-")).map(step => step.brief), + ["Ballot received.", "Ballot received."]); assert.deepEqual(body.workflow?.steps.find(step => step.stepId === p01.id)?.briefBasis, brief.briefBasis); const sourceRunId = finishedStore.getChannelWorkflowStep(p02.id)?.runId; assert.ok(sourceRunId); diff --git a/packages/daemon/test/channel-command-input-dispatch.regression-1.test.mjs b/packages/daemon/test/channel-command-input-dispatch.regression-1.test.mjs index 30a4b3726..a58231644 100644 --- a/packages/daemon/test/channel-command-input-dispatch.regression-1.test.mjs +++ b/packages/daemon/test/channel-command-input-dispatch.regression-1.test.mjs @@ -35,6 +35,7 @@ function fixture(readDecision) { requestSnapshot: { workflowOperationExecution: createWorkflowOperationExecutionSnapshot(step), delegatedRequirement: requirement, effectivePolicySnapshot: { toolDecisions: { read: readDecision } } } }; const store = { paths: { cwd: "/workspace" }, getRun: () => run, getChannelWorkflowStep: () => step, + getWorkItemWorkflowAdmissionBlocker: () => undefined, getChannelWorkflow: () => ({ id: "workflow" }) }; const runtime = new NativeRestrictedCommandRuntime({ inputHelper: {}, executables: {} }); runtime.assertAvailable = () => ({ kind: "argv", argv: ["node", "project/cli.cjs"] }); diff --git a/packages/daemon/test/workflow-operation-effect-gate.test.mjs b/packages/daemon/test/workflow-operation-effect-gate.test.mjs index ead21f9e0..0ea263aad 100644 --- a/packages/daemon/test/workflow-operation-effect-gate.test.mjs +++ b/packages/daemon/test/workflow-operation-effect-gate.test.mjs @@ -41,6 +41,7 @@ function fixture(cwd = "/workspace", operations = [operation()]) { let storedRun = structuredClone(run); const store = { getRun: (id) => id === storedRun?.id ? storedRun : undefined, listHostCommandWriteBlockers: () => [], + getWorkItemWorkflowAdmissionBlocker: () => undefined, getChannelWorkflow: (id) => id === "workflow" ? { id } : undefined, getChannelWorkflowStep: (id) => id === step?.id ? step : undefined, listChannelWorkflowSteps: () => [step] }; From 807d6e81ca39cf244371a78e68105ef01bba79e1 Mon Sep 17 00:00:00 2001 From: tianxiaochannel-oss88 Date: Mon, 23 Nov 2026 05:40:59 +0800 Subject: [PATCH 045/147] feat(work-items): show stage decisions and follow existing executions --- .../features/work-board/WorkBoardWorkflow.tsx | 26 ++++++- apps/web/src/i18n/locales/en-US.ts | 3 + apps/web/src/i18n/locales/zh-CN.ts | 3 + apps/web/src/lib/work-items.ts | 1 + .../ling-app-server-implementation-plan.md | 4 +- packages/contracts/src/app-server-schema.ts | 2 +- packages/contracts/src/app-server.ts | 16 ++++- packages/contracts/src/work-items.ts | 9 +++ packages/core/src/storage/sqlite-run-store.ts | 2 + .../src/storage/sqlite/work-item-store.ts | 64 ++++++++++++++--- packages/core/src/work-item-types.ts | 12 ++-- .../daemon/src/features/work-items/routes.ts | 11 ++- .../work-items/stage-ballot.ts} | 11 ++- .../features/work-items/workflow-stages.ts | 39 ++++++++++- .../src/server/app-server-collaboration.ts | 9 +-- packages/daemon/src/server/app-server-mcp.ts | 3 +- packages/daemon/src/server/rpc.ts | 22 +++++- .../app-server-release-acceptance.test.ts | 70 +++++++++++++++++++ 18 files changed, 270 insertions(+), 37 deletions(-) rename packages/daemon/src/{server/app-server-stage-ballot.ts => features/work-items/stage-ballot.ts} (85%) diff --git a/apps/web/src/features/work-board/WorkBoardWorkflow.tsx b/apps/web/src/features/work-board/WorkBoardWorkflow.tsx index 3dda06590..5e59060e2 100644 --- a/apps/web/src/features/work-board/WorkBoardWorkflow.tsx +++ b/apps/web/src/features/work-board/WorkBoardWorkflow.tsx @@ -1,4 +1,4 @@ -import type { LingAppServerWorkItemWorkflowStages } from "@ling-stack/contracts"; +import type { LingAppServerWorkItemStageDecision, LingAppServerWorkItemWorkflowStages } from "@ling-stack/contracts"; import { useEffect, useState } from "react"; import { daemonClient } from "../../api/client.js"; import { useI18n } from "../../i18n.js"; @@ -6,6 +6,16 @@ import { Button, InlineFeedback, InspectorSection, Skeleton, StatusIndicator } f import { channelWorkflowStatusPresentation, channelWorkflowStepStatusPresentation } from "../workspace/channel-workflow-status-presentation.js"; import { workSummaryInvalidatedEvent } from "../workspace/work-summary/useWorkSummary.js"; +const decisionStatus = { + not_open: "Pending", + waiting: "Waiting for votes", + ready: "Ready", + quorum_unmet: "Vote quorum was not met", + decided: "Blocked", + cancelled: "Cancelled", + stale: "Blocked", +} as const satisfies Record; + export function WorkBoardWorkflow({ cwd, workItemId, onOpenRun }: { readonly cwd: string; readonly workItemId: string; @@ -57,6 +67,7 @@ export function WorkBoardWorkflow({ cwd, workItemId, onOpenRun }: {
    {step.participantLabel}
    {step.brief ?

    {step.brief}

    : null} + {step.decision ? : null} {step.runId ? : null}
  • ; })} @@ -67,3 +78,16 @@ export function WorkBoardWorkflow({ cwd, workItemId, onOpenRun }: { } ; } + +function StageDecision({ decision }: { readonly decision: LingAppServerWorkItemStageDecision }): React.JSX.Element { + const { t } = useI18n(); + const status = decision.ballot?.tied && decision.status === "ready" ? "Tied vote" : decisionStatus[decision.status]; + return
    + {t("Decision")} {decision.question} +

    {decision.selectedOption ?? t(status)}

    + {decision.ballot ?
      + {decision.ballot.tally.map(({ option, count }) =>
    • {option} · {count}
    • )} +
    : null} + {decision.reason ?

    {decision.reason}

    : null} +
    ; +} diff --git a/apps/web/src/i18n/locales/en-US.ts b/apps/web/src/i18n/locales/en-US.ts index 69604f376..c11ddbc7d 100644 --- a/apps/web/src/i18n/locales/en-US.ts +++ b/apps/web/src/i18n/locales/en-US.ts @@ -2282,6 +2282,9 @@ export const enUS = { "Recording blocked": "Recording blocked", "Evidence recorded": "Evidence recorded", "Decision": "Decision", + "Waiting for votes": "Waiting for votes", + "Vote quorum was not met": "Vote quorum was not met", + "Tied vote": "Tied vote", "Unsupported by daemon": "Unsupported by daemon", "Update Ling daemon to save skill governance policy.": "Update Ling daemon to save skill governance policy.", "Read-only compatibility mode": "Read-only compatibility mode", diff --git a/apps/web/src/i18n/locales/zh-CN.ts b/apps/web/src/i18n/locales/zh-CN.ts index 5a9fdd380..dd2402526 100644 --- a/apps/web/src/i18n/locales/zh-CN.ts +++ b/apps/web/src/i18n/locales/zh-CN.ts @@ -2806,6 +2806,9 @@ export const zhCN = { "Recording blocked": "录制已拦截", "Evidence recorded": "证据已记录", "Decision": "决策", + "Waiting for votes": "等待投票", + "Vote quorum was not met": "投票未达法定人数", + "Tied vote": "平票", "Unsupported by daemon": "当前 daemon 不支持", "Update Ling daemon to save skill governance policy.": "更新 Ling daemon 后才能保存技能治理策略。", "Read-only compatibility mode": "只读兼容模式", diff --git a/apps/web/src/lib/work-items.ts b/apps/web/src/lib/work-items.ts index 5d5399cd5..34bd34ab8 100644 --- a/apps/web/src/lib/work-items.ts +++ b/apps/web/src/lib/work-items.ts @@ -29,6 +29,7 @@ export type WorkItemStatus = export type WorkItemSourceType = | "channel_task" | "channel_workflow_step" + | "automation_run" | "external_work" | "external_work_action" | "approval" diff --git a/docs/design/ling-app-server-implementation-plan.md b/docs/design/ling-app-server-implementation-plan.md index 7e248b510..5a132d1d1 100644 --- a/docs/design/ling-app-server-implementation-plan.md +++ b/docs/design/ling-app-server-implementation-plan.md @@ -34,6 +34,8 @@ - 接受绑定计划的后继 Workflow 后,旧 Workflow 停止新阶段和工具准入,后继 Workflow 等待重新绑定。操作方暂停工作项并核对旧 Run、Host 效果和租约收敛后,用 `workItem/workflow/bind` 的 `previousWorkflowId` 提交绑定。重启和并发重发复用绑定回执,原计划和阶段记录保留 Workflow ID。恢复工作项后,新 Workflow 使用自己的派发记录。 - Work Board 与 App Server 使用同一套阶段、简报、阻塞和运行证据投影。阶段简报的来源是已提交的步骤状态迁移。看板支持分页与重试,并随 `work_items` 事件刷新。 - 声明了裁决条件的步骤等待该 Work Item、已接受 Plan 和步骤的裁决回执。计划可指定独立的投票阶段与法定人数,也可在前置阶段完成时自动开启审议。Workflow 按原阶段负责人执行投票,各投票 Run 的工具列表为空。Host 在投票阶段全部结束后从终态 Run 核对选项和身份。协调者可以在裁决前查看票数和是否平票,裁决收据保留统计结果。回归覆盖等待票数、平票后的人工裁决、重启和派发一次。独立 QA 仍按自己的前置条件执行。 +- 浏览器连接真实 Daemon 时,Work Board 在 P02 上显示工程与 QA 的平票。裁决后通过现有 Control Plane 推送刷新同一详情,呈现选项、裁决依据和执行结果。 +- `workItem/create` 可按原生 ID 显式挂接现有频道 Task 或 AutomationRun。Host 从原执行记录确认归属和状态。并发提交及重启仍读取同一条 Work Item;原执行所有者持有开始、取消和恢复权限。验收中先运行一次 Automation,再从两个客户端挂接同一执行,Provider 总调用数为一次。 - 完成的工作项可用 `workItem/feedback/add` 提交经验审查。Daemon 核对当前 Work Item 和成功 Run 的归属,从 Run 采集有限证据,复用 Learning Review 的 Provider 预算和审查入口。受控验收从 P02 的实际读取证据生成 Memory 候选,重启后按原键找回同一任务。 | 工作包 | 已验证场景与证据边界 | @@ -60,7 +62,7 @@ | A1、B1、C1、C2 | 全方法的 Schema 校验和更多宿主兼容组合。workspace、Thread、Work Item 的 grant 和 WSS 已接入,审批和用户答复仍需按不同真实宿主与远程部署做验收。App Server 目标游标已绑定存储代次、授权代次和目标,现有兼容用例覆盖本机的上一版源码与候选组合。 | | D1、D2、E1、E2 | 开工与 Pi 运行中的项目规则加载、显式 Claude 规则、两个开发 Skill、工作区 Verify、独立 verifier basis、托管工作树管理、候选改动分页、Turn 改动恢复、选中 hunk 转移和工作台浏览器验证报告已接入。各发行平台验证仍待完成。 | | F1、F2 | 普通会话 Handoff 的候选封存、Goal 预算承接与接手已接入。CLI `app-server codex-host` 同时连接 Ling 和安装版 Codex。联调通过受控 Provider 验证 Ling 在途排队、事件补齐、Codex 活跃 Turn 指导及重放原投递回执。可编程宿主的图形会话界面与跨 Workflow Agent 的预算承接仍待验收。 | -| O1、O3–O9 | GitHub 签名 webhook、轮询和显式接单归并至同一工作项。自动接单策略处理免打扰、并发、启动额度和派发前状态重查。已接受的计划能自动开启声明的阶段审议。还需 Channel、设备和已有 AutomationRun 的统一自治接入、设备反馈、改计划时按受影响阶段暂停并承接独立成果、Workflow 交接、计划前和在途审议、跨 Run 预算与完整 O9 联合验收。 | +| O1、O3–O9 | GitHub 签名 webhook、轮询和显式接单归并至同一工作项。自动接单策略处理免打扰、并发、启动额度和派发前状态重查。现有 Task 和 AutomationRun 支持显式挂接,已接受的计划能自动开启声明的阶段审议。还需 Channel 与 Automation 的按策略接入、Device Fabric 桥接与反馈、改计划时按受影响阶段暂停并承接独立成果、Workflow 交接、计划前和在途审议、跨 Run 预算与完整 O9 联合验收。 | | G | 独立恢复日志已验证 SQLite 快照恢复、撤权、旧游标失效和 GitHub 对账后派发。上一版源码通过同一套本地兼容验收。签名安装产物、实际远程 WSS、受保护 GitHub 仓库及三个真实 Provider 自研试点仍需对应环境的证据。macOS 打包预检需要当前打包输入的 Office 审查、对应 Electron/OS 的受限运行时审查和 gstack 平台资源。T01 离线预检可进入评审,真实试点仍需按 Framework Assurance 准入。 | ## 目标与开工顺序 diff --git a/packages/contracts/src/app-server-schema.ts b/packages/contracts/src/app-server-schema.ts index 10fa6bbba..bfad86f1f 100644 --- a/packages/contracts/src/app-server-schema.ts +++ b/packages/contracts/src/app-server-schema.ts @@ -242,7 +242,7 @@ function schemaFor(method: LingAppServerMethod): LingAppServerMethodSchema { return { params: objectWith({ status: stringSchema, channelId: stringSchema, limit: integerSchema }), result }; case "workItem/create": return { params: objectWith({ ...workItemTarget, sourceId: stringSchema, title: stringSchema, gitHubSubject: objectSchema, - idempotencyKey: stringSchema }, ["sourceId", "title"]), result }; + sourceType: stringSchema, linkExistingExecution: booleanSchema, idempotencyKey: stringSchema }, ["sourceId", "title"]), result }; case "workItem/workflow/bind": return { params: objectWith({ ...workItemTarget, planId: stringSchema, expectedWorkItemRevision: integerSchema, expectedPlanRevision: integerSchema, idempotencyKey: stringSchema, previousWorkflowId: stringSchema }, diff --git a/packages/contracts/src/app-server.ts b/packages/contracts/src/app-server.ts index 260748f9d..37cf4b34d 100644 --- a/packages/contracts/src/app-server.ts +++ b/packages/contracts/src/app-server.ts @@ -583,6 +583,7 @@ export interface LingAppServerWorkItemSnapshot { readonly control: LingWorkItemControlProjection; readonly holds: readonly LingWorkItemHold[]; readonly currentExecutionRefs: readonly string[]; + readonly linkedExecution?: import("./work-items.js").WorkItemLinkedExecution; readonly eventCursor?: string; } @@ -595,7 +596,7 @@ export interface LingAppServerWorkItemResult { export interface LingAppServerWorkItemCreateParams { readonly cwd?: string; readonly workItemId?: string; - readonly sourceType?: "channel_task" | "channel_workflow_step" | "external_work" | "external_work_action" | "approval" | "run" | "manual"; + readonly sourceType?: import("./work-items.js").WorkItemSourceType; readonly sourceId: string; readonly title: string; readonly description?: string; @@ -603,6 +604,8 @@ export interface LingAppServerWorkItemCreateParams { readonly labels?: readonly string[]; readonly idempotencyKey?: string; readonly gitHubSubject?: Omit; + /** Use the selected Task or AutomationRun as the execution owner. */ + readonly linkExistingExecution?: boolean; } export interface LingAppServerWorkItemConversationDispatch { @@ -714,6 +717,7 @@ export interface LingAppServerWorkItemWorkflowStages { readonly runId?: string; readonly outputArtifactId?: string; readonly brief?: string; + readonly decision?: LingAppServerWorkItemStageDecision; readonly briefBasis?: { readonly transitionId: string; readonly committedAt: string; @@ -842,8 +846,16 @@ export interface LingAppServerStageBallotTally { readonly tally: readonly { readonly option: string; readonly count: number }[]; } +export interface LingAppServerWorkItemStageDecision { + readonly question: string; + readonly status: "not_open" | "waiting" | "ready" | "quorum_unmet" | "decided" | "cancelled" | "stale"; + readonly ballot?: LingAppServerStageBallotTally; + readonly selectedOption?: string; + readonly reason?: string; +} + export type LingAppServerStageBallotProgress = { readonly roundId: string } & ( - | { readonly status: "waiting" } + | { readonly status: "waiting" | "stale" } | { readonly status: "ready" | "quorum_unmet"; readonly summary: LingAppServerStageBallotTally } ); diff --git a/packages/contracts/src/work-items.ts b/packages/contracts/src/work-items.ts index 588b1154a..1e6f11034 100644 --- a/packages/contracts/src/work-items.ts +++ b/packages/contracts/src/work-items.ts @@ -13,6 +13,7 @@ export type WorkItemStatus = export type WorkItemSourceType = | "channel_task" | "channel_workflow_step" + | "automation_run" | "external_work" | "external_work_action" | "approval" @@ -37,6 +38,7 @@ export interface WorkItem { readonly channelId?: string; readonly sourceType: WorkItemSourceType; readonly sourceId: string; + readonly linkedExecution?: WorkItemLinkedExecution; readonly title: string; readonly description?: string; readonly status: WorkItemStatus; @@ -65,6 +67,13 @@ export interface WorkItem { readonly failureReason?: string; } +export interface WorkItemLinkedExecution { + readonly kind: "channel_task" | "automation_run"; + readonly id: string; + readonly status: string; + readonly runId?: string; +} + export type WorkItemView = WorkItem; export interface ListWorkItemsRequest { diff --git a/packages/core/src/storage/sqlite-run-store.ts b/packages/core/src/storage/sqlite-run-store.ts index 1811d51e9..d73f71c43 100644 --- a/packages/core/src/storage/sqlite-run-store.ts +++ b/packages/core/src/storage/sqlite-run-store.ts @@ -1766,6 +1766,8 @@ export class SqliteRunStore implements RunStore { getChannelWorkflow: (id) => this.getChannelWorkflow(id), listChannelWorkflowSteps: (options) => this.listChannelWorkflowSteps(options), getWorkItemEvidence: (id) => this.getWorkItemEvidence(id), + getTask: (id) => this.getTask(id), + getAutomationRun: (id) => this.getAutomationRun(id), getRun: (id) => this.getRun(id), }, ); diff --git a/packages/core/src/storage/sqlite/work-item-store.ts b/packages/core/src/storage/sqlite/work-item-store.ts index fc8da1843..a233503f9 100644 --- a/packages/core/src/storage/sqlite/work-item-store.ts +++ b/packages/core/src/storage/sqlite/work-item-store.ts @@ -24,6 +24,7 @@ import { type WorkItemConversationBinding, type WorkItemFailRequest, type WorkItemHeartbeatRequest, + type WorkItemHold, type WorkItemReleaseRequest, type WorkItemRouteRequest, type WorkItemControlState, @@ -36,7 +37,7 @@ import { workItemSelectSql } from "./select-sql.js"; import type { SqliteStoreContext } from "./store-context.js"; import type { SqliteAppServerStateStore } from "./app-server-state-store.js"; import type { SqliteControlPlaneStore } from "./control-plane-store.js"; -import type { LingAppServerGitHubDelivery, LingAppServerGitHubIntakeReceipt, LingAppServerWorkItemSourceReceipt, +import type { LingAppServerGitHubDelivery, LingAppServerGitHubIntakeReceipt, LingAppServerWorkItemSourceReceipt, WorkItemLinkedExecution, LingAppServerWorkItemWorkflowBindParams, LingAppServerWorkItemWorkflowBinding } from "@ling-stack/contracts"; import type { RunStore } from "../../run-types.js"; import type { ChannelWorkflowStep } from "../../workspace-types.js"; @@ -52,6 +53,8 @@ export interface SqliteWorkItemStorePorts { readonly getChannelWorkflow: RunStore["getChannelWorkflow"]; readonly listChannelWorkflowSteps: RunStore["listChannelWorkflowSteps"]; readonly getWorkItemEvidence: RunStore["getWorkItemEvidence"]; + readonly getTask: RunStore["getTask"]; + readonly getAutomationRun: RunStore["getAutomationRun"]; readonly getRun: RunStore["getRun"]; } @@ -100,8 +103,12 @@ export class SqliteWorkItemStore { database.exec("BEGIN IMMEDIATE"); try { const sourceWorkItem = this.getWorkItemBySource(input.sourceType, input.sourceId); - const targetKey = input.verifiedTargetKey; + const sourceOwner = input.linkExistingExecution + ? this.readSourceOwner(input.sourceType, input.sourceId, DEFAULT_WORKSPACE_ID) : undefined; + if (input.linkExistingExecution && (!sourceOwner || input.verifiedTargetKey || input.gitHubIntake) + || input.sourceType === "automation_run" && !sourceOwner) throw new Error("work_item_source_owner_unavailable"); const sourceKey = createHash("sha256").update(JSON.stringify([input.sourceType, input.sourceId])).digest("hex"); + const targetKey = sourceOwner ? `execution:${sourceKey}` : input.verifiedTargetKey; const target = (targetKey ? state.get("work_item_target", targetKey)?.payload : undefined) as { workItemId: string } | undefined; const source = state.get("work_item_source", sourceKey)?.payload as LingAppServerWorkItemSourceReceipt | undefined; const boundId = target?.workItemId ?? source?.workItemId; @@ -112,6 +119,7 @@ export class SqliteWorkItemStore { } const existing = boundId ? this.getWorkItem(boundId) : sourceWorkItem; if (boundId && !existing) throw new Error("work_item_creation_source_conflict"); + if (sourceOwner && existing && !existing.linkedExecution) throw new Error("work_item_creation_source_conflict"); const submission = input.idempotencyKey ? { recordId: createHash("sha256").update(input.idempotencyKey).digest("hex"), fingerprint: createHash("sha256").update(JSON.stringify([ @@ -126,7 +134,10 @@ export class SqliteWorkItemStore { if (input.id && (existing ? existing.id !== input.id : Boolean(this.getWorkItem(input.id)))) { throw new Error("work_item_creation_source_conflict"); } - const workItem = existing ?? this.saveWorkItem(input, now); + const workItem = existing ?? (sourceOwner ? this.saveWorkItem({ + ...input, initialStatus: "waiting", waitingReason: "external", channelId: sourceOwner.channelId, + ...(sourceOwner.execution.kind === "channel_task" ? { taskId: sourceOwner.execution.id } : {}), + }, now, undefined, sourceOwner.execution.id) : this.saveWorkItem(input, now)); let sourceReceipt = source; if (targetKey && !source) { sourceReceipt = { workItemId: workItem.id, targetKey, sourceType: input.sourceType, sourceId: input.sourceId }; @@ -257,7 +268,7 @@ export class SqliteWorkItemStore { } } - private saveWorkItem(input: UpsertWorkItemInput, now: string, existing?: WorkItem): WorkItem { + private saveWorkItem(input: UpsertWorkItemInput, now: string, existing?: WorkItem, linkedOwnerId?: string): WorkItem { if (input.channelId) { this.ports.assertChannelExists(input.channelId); } @@ -265,6 +276,10 @@ export class SqliteWorkItemStore { throw new Error(`AI teammate not found: ${input.assigneeTeammateId}`); } const id = existing?.id ?? input.id ?? createWorkItemId(); + const holds: readonly WorkItemHold[] = existing?.holds ?? (linkedOwnerId ? [{ + id: sourceOwnerHoldId(id), kind: "scope", ownerRef: linkedOwnerId, blocksNewAdmission: true, + reason: "The source owner controls the existing execution.", + }] : []); const createdAt = existing?.createdAt ?? now; const labels = input.labels ?? existing?.labels ?? []; const artifactIds = input.artifactIds ?? existing?.artifactIds ?? []; @@ -373,7 +388,7 @@ export class SqliteWorkItemStore { existing?.control.receipt ? stringifyJson(existing.control.receipt) : null, stringifyJson(existing?.control.unresolvedEffectIds ?? []), existing?.control.recoveryOwner ?? null, - stringifyJson(existing?.holds ?? []), + stringifyJson(holds), existing?.claim?.ownerId ?? null, existing?.claim?.token ?? null, existing?.claim?.claimedAt ?? null, @@ -397,7 +412,7 @@ export class SqliteWorkItemStore { getWorkItem(id: string): WorkItem | undefined { const row = this.context.database.prepare(workItemSelectSql("WHERE id = ?")).get(id); - return row ? mapWorkItem(row as Record, this.getWorkItemDependencyIds(id)) : undefined; + return row ? this.withLinkedExecution(mapWorkItem(row, this.getWorkItemDependencyIds(id))) : undefined; } listWorkItems(options: ListWorkItemsOptions = {}, now?: string): WorkItem[] { @@ -426,7 +441,7 @@ export class SqliteWorkItemStore { .all(...params) .map((row) => { const typedRow = row as Record; - return mapWorkItem(typedRow, this.getWorkItemDependencyIds(readString(typedRow, "id")), now); + return this.withLinkedExecution(mapWorkItem(typedRow, this.getWorkItemDependencyIds(readString(typedRow, "id")), now)); }); } @@ -435,6 +450,10 @@ export class SqliteWorkItemStore { if (!existing) { return undefined; } + if (existing.linkedExecution && (input.channelId !== undefined && input.channelId !== existing.channelId + || input.assigneeTeammateId !== undefined && input.assigneeTeammateId !== existing.assigneeTeammateId)) { + throw new Error("The source owner controls the existing execution."); + } if (existing.workflowId && existing.planRevision && input.channelId !== undefined && input.channelId !== existing.channelId) { throw new Error("Work item is assigned to a Workflow in its current channel."); } @@ -915,6 +934,7 @@ export class SqliteWorkItemStore { if (existing.revision !== input.expectedRevision || existing.control.generation !== input.expectedControlGeneration) { return undefined; } + if (existing.linkedExecution) return existing; const nextState = nextWorkItemControlState(existing.control.state, action, existing.control.unresolvedEffectIds.length); if (!nextState) return existing; const generation = existing.control.generation + 1; @@ -954,10 +974,34 @@ export class SqliteWorkItemStore { .prepare(workItemSelectSql("WHERE workspace_id = ? AND source_type = ? AND source_id = ?")) .get(DEFAULT_WORKSPACE_ID, sourceType, sourceId); return row - ? mapWorkItem(row as Record, this.getWorkItemDependencyIds(readString(row as Record, "id"))) + ? this.withLinkedExecution(mapWorkItem(row, this.getWorkItemDependencyIds(readString(row, "id")))) : undefined; } + private withLinkedExecution(item: WorkItem): WorkItem { + const { sourceType, sourceId } = item; + if ((sourceType !== "channel_task" && sourceType !== "automation_run") + || !item.holds.some(hold => hold.id === sourceOwnerHoldId(item.id) && hold.ownerRef === sourceId)) return item; + const linkedExecution = this.readSourceOwner(sourceType, sourceId, item.workspaceId)?.execution + ?? { kind: sourceType, id: sourceId, status: "unavailable" }; + return { ...item, linkedExecution, ...(linkedExecution.runId ? { runId: linkedExecution.runId } : {}) }; + } + + private readSourceOwner(sourceType: WorkItemSourceType, id: string, workspaceId: string): + { readonly execution: WorkItemLinkedExecution; readonly channelId?: string } | undefined { + if (sourceType === "channel_task") { + const task = this.ports.getTask(id); + if (task?.workspaceId !== workspaceId) return undefined; + return { channelId: task.channelId, execution: { kind: sourceType, id, status: task.status, runId: task.currentRunId } }; + } + if (sourceType === "automation_run") { + const run = this.ports.getAutomationRun(id); + if (run?.workspaceId !== workspaceId) return undefined; + return { channelId: run.channelId, execution: { kind: sourceType, id, status: run.status, runId: run.runId } }; + } + return undefined; + } + private getWorkItemDependencyIds(id: string): string[] { return this.context.database .prepare("SELECT depends_on_work_item_id FROM work_item_dependencies WHERE work_item_id = ? ORDER BY depends_on_work_item_id ASC") @@ -1011,6 +1055,10 @@ function sameConversationDispatch(left: WorkItemAcceptanceReceipt["dispatch"], r return left?.threadId === right?.threadId && left?.message === right?.message && left?.providerPresetId === right?.providerPresetId; } +function sourceOwnerHoldId(workItemId: string): string { + return `work_item_source_owner:${workItemId}`; +} + function nextWorkItemControlState(state: WorkItemControlState, action: WorkItemControlAction, unresolvedEffectCount: number): WorkItemControlState | undefined { if (action === "pause") { return state === "active" || state === "blocked" ? "paused" : undefined; diff --git a/packages/core/src/work-item-types.ts b/packages/core/src/work-item-types.ts index 2f7855021..7de02185c 100644 --- a/packages/core/src/work-item-types.ts +++ b/packages/core/src/work-item-types.ts @@ -2,6 +2,7 @@ import { randomUUID } from "node:crypto"; import type { LingAppServerGitHubDelivery, LingAppServerGitHubIntakeBudget, LingAppServerGitHubIntakeReceipt, LingAppServerWorkItemAcceptance, LingAppServerWorkItemConversationDispatch, LingAppServerWorkItemSourceReceipt, + WorkItemLinkedExecution, WorkItemSourceType, } from "@ling-stack/contracts"; import type { ControlPlaneEvent } from "./run-types.js"; @@ -19,14 +20,7 @@ export type WorkItemStatus = | "superseded" | "archived"; -export type WorkItemSourceType = - | "channel_task" - | "channel_workflow_step" - | "external_work" - | "external_work_action" - | "approval" - | "run" - | "manual"; +export type { WorkItemSourceType } from "@ling-stack/contracts"; export type WorkItemWaitingReason = "approval" | "external" | "handoff" | "resource" | "user" | "scheduler" | "provider"; @@ -76,6 +70,7 @@ export interface WorkItem { readonly channelId?: string; readonly sourceType: WorkItemSourceType; readonly sourceId: string; + readonly linkedExecution?: WorkItemLinkedExecution; readonly revision: number; readonly title: string; readonly description?: string; @@ -142,6 +137,7 @@ export interface CreateWorkItemInput extends Pick { diff --git a/packages/daemon/src/features/work-items/routes.ts b/packages/daemon/src/features/work-items/routes.ts index 6e2d5fd49..ff4b5e861 100644 --- a/packages/daemon/src/features/work-items/routes.ts +++ b/packages/daemon/src/features/work-items/routes.ts @@ -43,6 +43,7 @@ const workItemStatuses = [ const workItemSourceTypes = [ "channel_task", "channel_workflow_step", + "automation_run", "external_work", "external_work_action", "approval", @@ -116,7 +117,15 @@ export async function handleWorkItemRoute( return; } const stageOffset = readOptionalIntegerQuery(url, "stageOffset", 0); - writeJson(response, 200, { cwd, workItem: existing, workflow: readWorkItemWorkflowStages(store, existing, true, stageOffset) }); + const detail = store.readSnapshot(() => { + const workItem = store.getWorkItem(workItemId); + return workItem && { cwd, workItem, workflow: readWorkItemWorkflowStages(store, workItem, true, stageOffset) }; + }); + if (!detail) { + writeJson(response, 404, { error: "work_item_not_found", message: `Work item not found: ${workItemId}` }); + return; + } + writeJson(response, 200, detail); return; } diff --git a/packages/daemon/src/server/app-server-stage-ballot.ts b/packages/daemon/src/features/work-items/stage-ballot.ts similarity index 85% rename from packages/daemon/src/server/app-server-stage-ballot.ts rename to packages/daemon/src/features/work-items/stage-ballot.ts index a358da3c9..f9cde6f6c 100644 --- a/packages/daemon/src/server/app-server-stage-ballot.ts +++ b/packages/daemon/src/features/work-items/stage-ballot.ts @@ -1,10 +1,9 @@ import type { LingAppServerStageBallotTally, LingAppServerWorkItemSourceRef, ProposedPlanStageDecision } from "@ling-stack/contracts"; import { planStageBallotKey, type ChannelWorkflowStep, type RunStore } from "@ling-stack/core"; -import { HttpError } from "../errors.js"; -import { isRecord } from "../shared/validation.js"; +import { isRecord } from "../../shared/validation.js"; type BallotResult = - | { readonly status: "waiting" } + | { readonly status: "waiting" | "stale" } | { readonly status: "ready" | "quorum_unmet"; readonly summary: LingAppServerStageBallotTally; readonly sourceRefs: readonly LingAppServerWorkItemSourceRef[] }; @@ -13,9 +12,9 @@ export function readAppServerStageBallot( decision: ProposedPlanStageDecision, frozenKey: unknown, ): BallotResult { const ballot = decision.ballot; - if (!ballot || !target.metadata?.planStageId) throw new HttpError(409, "stale_revision", "The ballot no longer belongs to this stage."); + if (!ballot || !target.metadata?.planStageId) return { status: "stale" }; const key = planStageBallotKey(planId, target.metadata.planStageId, decision); - if (key !== frozenKey) throw new HttpError(409, "stale_revision", "The ballot options or eligible stages have changed."); + if (key !== frozenKey) return { status: "stale" }; const stages = store.listChannelWorkflowSteps({ workflowId: target.workflowId, complete: true }); const counts = new Map(decision.options.map(option => [option, 0])); const participants = new Set(); @@ -24,7 +23,7 @@ export function readAppServerStageBallot( for (const stageId of ballot.voterStageIds) { const voter = stages.find(step => step.metadata?.planStageId === stageId); if (!voter || voter.metadata?.planBallotKey !== key - || participants.has(voter.toParticipantId)) throw new HttpError(409, "stale_revision", "An eligible ballot stage changed."); + || participants.has(voter.toParticipantId)) return { status: "stale" }; participants.add(voter.toParticipantId); if (!["succeeded", "failed", "cancelled", "skipped"].includes(voter.status)) { return { status: "waiting" }; diff --git a/packages/daemon/src/features/work-items/workflow-stages.ts b/packages/daemon/src/features/work-items/workflow-stages.ts index 3f3d892f3..928b86d60 100644 --- a/packages/daemon/src/features/work-items/workflow-stages.ts +++ b/packages/daemon/src/features/work-items/workflow-stages.ts @@ -1,9 +1,13 @@ import { createHash } from "node:crypto"; -import type { LingAppServerWorkItemWorkflowStages } from "@ling-stack/contracts"; +import type { LingAppServerStageBallotTally, LingAppServerWorkItemStageDecision, LingAppServerWorkItemWorkflowBinding, + LingAppServerWorkItemWorkflowStages } from "@ling-stack/contracts"; +import { readWorkItemCollaborationRecord, workItemWorkflowDecisionId } from "@ling-stack/core"; import type { ChannelWorkflowStep, RunStore, WorkItem } from "@ling-stack/core"; import { appendControlPlaneEvent, type ControlPlaneEventHub } from "../control-plane/events.js"; import type { ActiveRunRegistry } from "../../runtime/active-runs.js"; import { continuationSourceReady } from "../../runtime/continuation-source-barrier.js"; +import { isRecord } from "../../shared/validation.js"; +import { readAppServerStageBallot } from "./stage-ballot.js"; export function workItemWorkflowSettled(store: RunStore, activeRuns: ActiveRunRegistry, workflowId: string): boolean { return store.listChannelWorkflowSteps({ workflowId, complete: true }).every(step => { @@ -19,7 +23,11 @@ export function workItemWorkflowSettled(store: RunStore, activeRuns: ActiveRunRe /** Work Board and App Server project the actual Workflow owner and its retained evidence. */ export function readWorkItemWorkflowStages(store: RunStore, item: WorkItem, includeEvidence: boolean, offset = 0): LingAppServerWorkItemWorkflowStages | undefined { - if (!item.workflowId || !item.planRevision || !store.getAppServerState("work_item_workflow", item.workflowId)) return undefined; + if (!item.workflowId || !item.planRevision) return undefined; + const link = store.getAppServerState("work_item_workflow", item.workflowId)?.payload as { + readonly binding: LingAppServerWorkItemWorkflowBinding; + } | undefined; + if (!link) return undefined; const workflow = store.getChannelWorkflow(item.workflowId); if (!workflow) return undefined; const limit = 20; @@ -40,11 +48,38 @@ export function readWorkItemWorkflowStages(store: RunStore, item: WorkItem, incl ...(includeEvidence ? { runId: step.runId, outputArtifactId: step.metadata?.outputArtifactId, brief: (step.resultSummary ?? step.blocker)?.slice(0, 500), briefBasis: readStageBriefBasis(store, step), + decision: readStageDecision(store, item.id, item.planRevision!, link.binding.planId, step), } : {}), })), }; } +function readStageDecision( + store: RunStore, workItemId: string, planRevision: string, planId: string, step: ChannelWorkflowStep, +): LingAppServerWorkItemStageDecision | undefined { + const decision = step.metadata?.requiredPlanDecision; + if (!decision) return undefined; + const { question } = decision; + const subject = { workItemId, planRevision, workflowStepId: step.id }; + const round = readWorkItemCollaborationRecord(store, workItemId, workItemWorkflowDecisionId(subject, "round")); + if (!round) return { question, status: "not_open" }; + const resolution = readWorkItemCollaborationRecord(store, workItemId, workItemWorkflowDecisionId(subject, "resolution")); + if (resolution && isRecord(resolution.payload)) { + const { reason, disposition, option, ballot } = resolution.payload; + return { + question, + status: resolution.action === "cancelled" ? "cancelled" : "decided", + ...(typeof reason === "string" ? { reason } : {}), + ...(disposition === "selected" && typeof option === "string" ? { selectedOption: option } : {}), + ...(isRecord(ballot) ? { ballot: ballot as unknown as LingAppServerStageBallotTally } : {}), + }; + } + if (!decision.ballot) return { question, status: "ready" }; + const frozen = isRecord(round.payload) && isRecord(round.payload.ballot) ? round.payload.ballot : undefined; + const result = readAppServerStageBallot(store, step, planId, decision, frozen?.ballotKey); + return { question, status: result.status, ...("summary" in result ? { ballot: result.summary } : {}) }; +} + function readStageBriefBasis(store: RunStore, step: ChannelWorkflowStep) { if (!["succeeded", "failed", "cancelled", "skipped", "blocked"].includes(step.status)) return undefined; const [transition] = store.listStateTransitionEvents({ entityType: "workflow_step", entityId: step.id, limit: 1 }); diff --git a/packages/daemon/src/server/app-server-collaboration.ts b/packages/daemon/src/server/app-server-collaboration.ts index caa4aabfc..fd91d5442 100644 --- a/packages/daemon/src/server/app-server-collaboration.ts +++ b/packages/daemon/src/server/app-server-collaboration.ts @@ -27,7 +27,7 @@ import { import type { ControlPlaneEvent, RunStore } from "@ling-stack/core"; import { HttpError } from "../errors.js"; import { isRecord } from "../shared/validation.js"; -import { readAppServerStageBallot } from "./app-server-stage-ballot.js"; +import { readAppServerStageBallot } from "../features/work-items/stage-ballot.js"; export class AppServerCollaborationError extends Error { constructor( @@ -197,9 +197,10 @@ export function settleAppServerDeliberation( } | undefined; if (!plan) throw new AppServerCollaborationError("stale_revision", "The ballot Plan binding is unavailable."); const result = readAppServerStageBallot(store, step, plan.binding.planId, step.metadata.requiredPlanDecision, frozen?.ballotKey); + if (result.status === "stale") throw new AppServerCollaborationError("stale_revision", "The ballot no longer applies to the accepted stage."); if (result.status === "waiting") throw new HttpError(409, "resume_blocked", "Wait for the assigned ballot stages to finish."); if (result.status === "quorum_unmet") throw new HttpError(409, "resume_blocked", "The verified ballots did not reach quorum."); - ballot = result; + if ("summary" in result) ballot = result; } } const action = decision ? "decided" : "cancelled"; @@ -269,8 +270,8 @@ function readOpenStageBallots( const frozen = isRecord(round.payload) && isRecord(round.payload.ballot) ? round.payload.ballot : undefined; if (!step || step.workflowId !== item.workflowId || !decision?.ballot) continue; const result = readAppServerStageBallot(store, step, plan.binding.planId, decision, frozen?.ballotKey); - ballots.push(result.status === "waiting" ? { roundId: round.id, status: result.status } - : { roundId: round.id, status: result.status, summary: result.summary }); + ballots.push("summary" in result ? { roundId: round.id, status: result.status, summary: result.summary } + : { roundId: round.id, status: result.status }); } return ballots; } diff --git a/packages/daemon/src/server/app-server-mcp.ts b/packages/daemon/src/server/app-server-mcp.ts index ffb16a552..16c5f5c76 100644 --- a/packages/daemon/src/server/app-server-mcp.ts +++ b/packages/daemon/src/server/app-server-mcp.ts @@ -106,9 +106,10 @@ export async function runLingAppServerMcp( annotations: { idempotentHint: true }, }, async params => describe(await client.startTurn(params))); if (methods.has("workItem/create")) server.registerTool("ling_work_item_create", { - description: "Submit a source occurrence to the Ling task inbox. Use a structured GitHub subject to join existing work.", + description: "Submit a source occurrence to the task inbox. A GitHub subject joins existing work. Link a channel Task or AutomationRun by its source ID to follow that execution.", inputSchema: z.strictObject({ sourceId: objectId, title: z.string().min(1).max(200), idempotencyKey: requestKey, gitHubSubject: z.strictObject({ repository: z.string().min(3).max(201), kind: z.enum(["issue", "pull_request"]), number: z.number().int().positive() }).optional(), + sourceType: z.enum(["channel_task", "automation_run"]).optional(), linkExistingExecution: z.boolean().optional(), }), annotations: { idempotentHint: true, destructiveHint: false }, }, async params => describe(await client.createWorkItem(params))); diff --git a/packages/daemon/src/server/rpc.ts b/packages/daemon/src/server/rpc.ts index cf4707689..d564bc666 100644 --- a/packages/daemon/src/server/rpc.ts +++ b/packages/daemon/src/server/rpc.ts @@ -1061,6 +1061,16 @@ class RpcConnection { const sourceType = readOptionalWorkItemSourceType(record.sourceType) ?? "manual"; const sourceId = readStringField(record, "sourceId"); const title = readStringField(record, "title"); + const linkExistingExecution = record.linkExistingExecution === true; + if (record.linkExistingExecution !== undefined && typeof record.linkExistingExecution !== "boolean") { + throw rpcError(-32602, "invalid_params", "linkExistingExecution must be a boolean."); + } + if (linkExistingExecution) { + this.workspaceParams(params, true); + if (sourceType !== "channel_task" && sourceType !== "automation_run" || record.gitHubSubject !== undefined) { + throw rpcError(-32602, "invalid_params", "Link either an existing channel Task or AutomationRun by source ID."); + } + } const idempotencyKey = readOptionalStringField(record, "idempotencyKey"); if (idempotencyKey !== undefined && (!idempotencyKey.trim() || idempotencyKey.length > 200)) { throw rpcError(-32602, "invalid_params", "idempotencyKey must be a non-empty string of up to 200 characters."); @@ -1084,6 +1094,7 @@ class RpcConnection { labels: Array.isArray(record.labels) && record.labels.every((value) => typeof value === "string") ? record.labels as string[] : undefined, idempotencyKey, verifiedTargetKey, + linkExistingExecution, }; try { const { workItem, event, sourceReceipt } = store.createWorkItem(input, new Date().toISOString(), cwd); @@ -1096,6 +1107,9 @@ class RpcConnection { if (error instanceof Error && error.message === "work_item_creation_source_conflict") { throw rpcError(-32040, "workspace_binding_invalid", "The Work Item ID does not match the supplied source."); } + if (error instanceof Error && error.message === "work_item_source_owner_unavailable") { + throw rpcError(-32040, "workspace_binding_invalid", "The original execution is unavailable."); + } throw error; } } @@ -3025,6 +3039,7 @@ function projectWorkItemSnapshot(workItem: WorkItem, includeExecutionRefs = true workItem.workflowId, workItem.workflowStepId, workItem.approvalId, + ...(workItem.linkedExecution?.kind === "automation_run" ? [workItem.linkedExecution.id] : []), ].filter((value): value is string => typeof value === "string" && value.length > 0) : []; return { workspaceId: workItem.workspaceId, @@ -3039,8 +3054,11 @@ function projectWorkItemSnapshot(workItem: WorkItem, includeExecutionRefs = true unresolvedEffectIds: workItem.control.unresolvedEffectIds, ...(workItem.control.recoveryOwner ? { recoveryOwner: workItem.control.recoveryOwner } : {}), }, - holds: workItem.holds, + holds: workItem.linkedExecution && !includeExecutionRefs + ? workItem.holds.map(hold => hold.ownerRef === workItem.linkedExecution?.id ? { ...hold, ownerRef: workItem.id } : hold) + : workItem.holds, currentExecutionRefs, + ...(includeExecutionRefs && workItem.linkedExecution ? { linkedExecution: workItem.linkedExecution } : {}), }; } @@ -3080,7 +3098,7 @@ function readOptionalWorkItemStatus(value: unknown): WorkItemStatus | undefined function readOptionalWorkItemSourceType(value: unknown): WorkItemSourceType | undefined { if (value === undefined) return undefined; const sourceTypes: readonly WorkItemSourceType[] = [ - "channel_task", "channel_workflow_step", "external_work", "external_work_action", "approval", "run", "manual", + "channel_task", "channel_workflow_step", "automation_run", "external_work", "external_work_action", "approval", "run", "manual", ]; if (typeof value !== "string" || !sourceTypes.includes(value as WorkItemSourceType)) { throw rpcError(-32602, "invalid_params", "sourceType is not a supported Work Item source type."); diff --git a/packages/daemon/test/app-server-release-acceptance.test.ts b/packages/daemon/test/app-server-release-acceptance.test.ts index f92c616bb..d1f52ee96 100644 --- a/packages/daemon/test/app-server-release-acceptance.test.ts +++ b/packages/daemon/test/app-server-release-acceptance.test.ts @@ -2291,6 +2291,68 @@ test("Work Item creation, acceptance, evidence and collaboration retries keep on assert.equal((await sdk.readWorkItem(workItem.workspaceId, workItemId)).revision, resumed.revision); }); +test("existing channel and Automation executions link once without starting another Run", { timeout: 25_000 }, async t => { + const provider = await startLoopbackPiProvider(async () => ({ text: "Original automation complete" })); + t.after(() => provider.close()); + const fixture = await releaseFixture(t); + const [operator, peer] = await Promise.all([fixture.connect(), fixture.connect()]); + const store = fixture.getStore(); + const now = new Date().toISOString(); + const channel = store.createChannel({ name: "Existing work", boundPath: fixture.cwd }, now); + const task = store.createTask({ channelId: channel.id, title: "Original channel task", prompt: "Use the original task owner." }, now); + const thread = store.createLingThread({ kind: "automation", title: "Original automation", objective: "Complete one check" }, now); + const preset = addLoopbackPreset(store, provider.baseUrl); + const automation = store.createAutomationDefinition({ + threadId: thread.id, title: "Original automation", kind: "custom_prompt", trigger: { type: "manual" }, + target: { scope: "workspace", workspaceId: thread.workspaceId }, executionPolicy: { providerPresetId: preset.id }, + promptTemplate: { templateVersion: 1, promptMarkdown: "Provide a short check result.", contextSelectors: [] }, + outputPolicy: { artifactFormat: "markdown", destinations: [{ type: "automation_thread" }] }, + }, now); + const { authToken, daemonUrl } = fixture.transportOptions(); + const write = (path: string, body: unknown) => fetch(`${daemonUrl}${path}?cwd=${encodeURIComponent(fixture.cwd)}`, { + method: "POST", body: JSON.stringify(body), headers: { Authorization: `Bearer ${authToken}`, "Content-Type": "application/json" }, + }); + const runReply = await write(`/automations/${automation.id}/run`, { idempotencyKey: "source-automation-run" }); + assert.ok(runReply.ok, await runReply.clone().text()); + const { automationRun } = await runReply.json() as { automationRun: { id: string } }; + const original = await waitFor(() => { + const run = store.getAutomationRun(automationRun.id); + return run?.status === "succeeded" ? run : undefined; + }); + assert.ok(original.runId); + const link = (connection: typeof operator, sourceType: "channel_task" | "automation_run", sourceId: string, idempotencyKey: string) => + connection.call("workItem/create", { + sourceType, sourceId, idempotencyKey, title: "Track current execution", linkExistingExecution: true, + }); + await assert.rejects(link(operator, "automation_run", "unknown-occurrence", "unknown-execution"), { code: "workspace_binding_invalid" }); + const [first, duplicate] = await Promise.all([ + link(operator, "automation_run", original.id, "automation-entry"), + link(peer, "automation_run", original.id, "controller-entry"), + ]); + assert.deepEqual(first, duplicate); + assert.deepEqual(first.workItem.linkedExecution, { kind: "automation_run", id: original.id, runId: original.runId, status: "succeeded" }); + assert.ok(first.workItem.currentExecutionRefs.includes(original.id)); + const linkedTask = await link(operator, "channel_task", task.id, "channel-entry"); + assert.deepEqual(linkedTask.workItem.linkedExecution, { kind: "channel_task", id: task.id, status: "todo" }); + const workItemId = linkedTask.workItem.workItemId; + const claim = await write(`/work-items/${workItemId}/claim`, { ownerId: "legacy-claim" }); + assert.equal((await claim.json() as { blocker?: { code: string } }).blocker?.code, "control_blocked"); + const before = { workItemId, expectedWorkItemRevision: Number(linkedTask.workItem.revision) }; + await assert.rejects(operator.call("workItem/accept", { ...before, idempotencyKey: "try-second-owner" }), { code: "stale_revision" }); + await assert.rejects(operator.call("workItem/cancel", { + ...before, expectedControlGeneration: 0, idempotencyKey: "try-cancel-source", actorId: "local-user", + }), { code: "resume_blocked" }); + assert.equal(store.getTask(task.id)?.status, "todo"); + store.updateTask(task.id, { status: "cancelled" }, new Date().toISOString()); + await fixture.restart(); + const restored = await fixture.connect(); + const taskProjection = await restored.call("workItem/read", { workItemId }); + assert.equal(taskProjection.workItem.linkedExecution?.status, "cancelled"); + assert.equal((await link(restored, "automation_run", original.id, "automation-entry")).workItem.workItemId, first.workItem.workItemId); + assert.deepEqual(fixture.getStore().listRuns().map(run => run.id), [original.runId]); + assert.equal(provider.requests.length, 1); +}); + test("an operator resolves a deliberation round once against its current revision", { timeout: 20_000 }, async t => { const fixture = await releaseFixture(t); const [operator, peer] = await Promise.all([fixture.connect(), fixture.connect()]); @@ -2554,6 +2616,7 @@ test("a GitHub Work Item recovers its Workflow, gathers independent ballots and assert.equal(observedBrief?.status, "succeeded"); assert.equal(observedBrief.briefBasis, undefined); assert.equal(observedBrief.runId, undefined); + assert.ok((await readBrief(observer)).workflow?.steps.every(step => step.decision === undefined)); assert.equal(provider.requests.length, 1); await fixture.restart(); const resumedClient = await fixture.connect(); @@ -2604,6 +2667,9 @@ test("a GitHub Work Item recovers its Workflow, gathers independent ballots and assert.equal(readyBallot?.status, "ready"); assert.equal(readyBallot.summary.tied, true); assert.deepEqual(readyBallot.summary.tally, [{ option: "Adapter", count: 1 }, { option: "Migration", count: 1 }]); + const readyStage = (await readBrief(decisionClient)).workflow?.steps.find(step => step.stepId === p02.id); + assert.equal(readyStage?.decision?.status, "ready"); + assert.deepEqual(readyStage.decision.ballot, readyBallot.summary); await assert.rejects(decisionClient.call("workItem/deliberation/decide", { ...decision, decision: { disposition: "selected", option: "Rewrite" } }), { code: "invalid_params" }); const selected = await decisionClient.call("workItem/deliberation/decide", decision); @@ -2628,6 +2694,10 @@ test("a GitHub Work Item recovers its Workflow, gathers independent ballots and assert.deepEqual(body.workflow?.steps.filter(step => step.stageId?.startsWith("V-")).map(step => step.brief), ["Ballot received.", "Ballot received."]); assert.deepEqual(body.workflow?.steps.find(step => step.stepId === p01.id)?.briefBasis, brief.briefBasis); + assert.deepEqual(body.workflow?.steps.find(step => step.stepId === p02.id)?.decision, { + question: p02Preview.requiredDecision.question, status: "decided", selectedOption: "Adapter", + reason: decision.reason, ballot: readyBallot.summary, + }); const sourceRunId = finishedStore.getChannelWorkflowStep(p02.id)?.runId; assert.ok(sourceRunId); const currentWorkItem = await decisionClient.call("workItem/read", { workItemId: item.id }); From 8d5300a78b52e926ff73fec63a1eae7abad2f3d3 Mon Sep 17 00:00:00 2001 From: "ling-stack-model-catalog[bot]" <345092909+ling-stack-model-catalog[bot]@users.noreply.github.com> Date: Sun, 22 Nov 2026 21:43:21 +0000 Subject: [PATCH 046/147] chore: translate catalogs for new source strings --- packages/localization/catalogs/bg-BG.json | 8 +++++++- packages/localization/catalogs/bn-BD.json | 8 +++++++- packages/localization/catalogs/bs-BA.json | 8 +++++++- packages/localization/catalogs/ca-ES.json | 8 +++++++- packages/localization/catalogs/cs-CZ.json | 8 +++++++- packages/localization/catalogs/da-DK.json | 8 +++++++- packages/localization/catalogs/de-DE.json | 8 +++++++- packages/localization/catalogs/el-GR.json | 8 +++++++- packages/localization/catalogs/en-US.json | 8 +++++++- packages/localization/catalogs/es-419.json | 8 +++++++- packages/localization/catalogs/es-ES.json | 8 +++++++- packages/localization/catalogs/et-EE.json | 8 +++++++- packages/localization/catalogs/fi-FI.json | 8 +++++++- packages/localization/catalogs/fr-CA.json | 8 +++++++- packages/localization/catalogs/fr-FR.json | 8 +++++++- packages/localization/catalogs/gu-IN.json | 8 +++++++- packages/localization/catalogs/hi-IN.json | 8 +++++++- packages/localization/catalogs/hr-HR.json | 8 +++++++- packages/localization/catalogs/hu-HU.json | 8 +++++++- packages/localization/catalogs/hy-AM.json | 8 +++++++- packages/localization/catalogs/id-ID.json | 8 +++++++- packages/localization/catalogs/is-IS.json | 8 +++++++- packages/localization/catalogs/it-IT.json | 8 +++++++- packages/localization/catalogs/ja-JP.json | 8 +++++++- packages/localization/catalogs/ka-GE.json | 8 +++++++- packages/localization/catalogs/kn-IN.json | 8 +++++++- packages/localization/catalogs/ko-KR.json | 8 +++++++- packages/localization/catalogs/lv-LV.json | 8 +++++++- packages/localization/catalogs/mk-MK.json | 8 +++++++- packages/localization/catalogs/mr-IN.json | 8 +++++++- packages/localization/catalogs/ms-MY.json | 8 +++++++- packages/localization/catalogs/my-MM.json | 8 +++++++- packages/localization/catalogs/nb-NO.json | 8 +++++++- packages/localization/catalogs/nl-NL.json | 8 +++++++- packages/localization/catalogs/pl-PL.json | 8 +++++++- packages/localization/catalogs/pt-BR.json | 8 +++++++- packages/localization/catalogs/pt-PT.json | 8 +++++++- packages/localization/catalogs/ro-RO.json | 8 +++++++- packages/localization/catalogs/ru-RU.json | 8 +++++++- packages/localization/catalogs/sk-SK.json | 8 +++++++- packages/localization/catalogs/sl-SI.json | 8 +++++++- packages/localization/catalogs/so-SO.json | 8 +++++++- packages/localization/catalogs/sq-AL.json | 8 +++++++- packages/localization/catalogs/sr-RS.json | 8 +++++++- packages/localization/catalogs/sv-SE.json | 8 +++++++- packages/localization/catalogs/sw-TZ.json | 8 +++++++- packages/localization/catalogs/ta-IN.json | 8 +++++++- packages/localization/catalogs/te-IN.json | 8 +++++++- packages/localization/catalogs/th-TH.json | 8 +++++++- packages/localization/catalogs/tr-TR.json | 8 +++++++- packages/localization/catalogs/uk-UA.json | 8 +++++++- packages/localization/catalogs/vi-VN.json | 8 +++++++- packages/localization/catalogs/zh-CN.json | 8 +++++++- packages/localization/catalogs/zh-HK.json | 8 +++++++- packages/localization/catalogs/zh-TW.json | 8 +++++++- 55 files changed, 385 insertions(+), 55 deletions(-) diff --git a/packages/localization/catalogs/bg-BG.json b/packages/localization/catalogs/bg-BG.json index b55ae91e3..a1d4059eb 100644 --- a/packages/localization/catalogs/bg-BG.json +++ b/packages/localization/catalogs/bg-BG.json @@ -1,6 +1,6 @@ { "locale": "bg-BG", - "sourceRevision": "6468d2af71d2feb60f9b8c5f37bc2a3ff1177fb2c8b0d65e85002de6b1095cbb", + "sourceRevision": "e134cc889637523423524b121cf71dcb37afdd3d7daf48eaea975d1c39785b2e", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -7042,6 +7042,7 @@ "Threat model": "ac7c7cee765bae0828d383a6446e38ecdba0844e3c188c7008063c0bfe983c42", "Threat model artifact": "c57b9c06d70b87dbf1dc64874de22f98b41b3d74867a881aa2dcd0132b239e5e", "Thursday": "fc2662062ffdef9610020183ea2b087c21d71150d78a7c7463be8a9050bd3ac9", + "Tied vote": "b781f33e7a2c04158bbbfa7e86dbc4d3fbf5b75643b4efdbea46d01f39cafa6b", "Time": "33b93476cf597a3330653b66a658983d892ac264b5d6029a2dc642b9b1f30870", "Timed out": "9718cc761cfd5810041ef007ae258fa1308b8487d0f30c5f36a442f8fe5f76c5", "Timeouts and execution policy": "8011c5fa4d20f9252aa923ae93fbef6f6b3f45f975388030c4a10a05001329cf", @@ -7434,6 +7435,7 @@ "Visible multi-reply cap": "266fa484b23648ac5fd4252b1b67558b1fa2927de86208091a2231723850c7df", "Voice input is not supported in this browser.": "198b64199a291c3eacfeaa9f0f268ed0166b0fa36e0e8e4e1084f3399eb15fd9", "Volcengine Ark OpenAI-compatible chat endpoint for Doubao models.": "4369fbabad7a4795ac4fbc796ab26e51c48121abec229b626b48117f510466ee", + "Vote quorum was not met": "22abe3f7bf05dd9981e3575b81db01f7a3adba195c4e79dba3fceb88b4503327", "Wait for attachments to finish uploading.": "f59647adc722dad97cc92e74053a08d8542e67f11cdf4864d06ef6da93e99974", "waiting": "80cfa3e7f28dde4df64436b652230aff28d7779116d1369c21ef2bbf37261d71", "Waiting": "6e293a8c009e001103199768f7bcbea1729c59f9fc1ef2748958757f47ab99ed", @@ -7460,6 +7462,7 @@ "Waiting for sign-in": "749a343a3a25c1df679ee6d6e74abb72e08ef956bfa15434407e61934dc054c9", "Waiting for system confirmation and Host readback...": "952e73792f0715e2d1f30ef0b0c03c4353cd9ab96caa71856bbce7dc41e2d161", "waiting for user input": "f43ef097687b1d8c8800577eefa3f7e10d0c82236cd0017f983d131e8e673174", + "Waiting for votes": "bbb50edc12d1ce791069a8e84ca6e73a255b796306d32cdc1414987b986e172f", "Waiting for workspace": "e682cb09e669c47785b8cb4b28fd43bc51c52636c3178e328477ce86f6a33aed", "Waiting reason": "17171d9f1f059dc74d257f1411452835b78655c83362fae4f2ae2e1e4d1d1c12", "Waiting to check the selected model": "9e16fc6ad7876a2c3467a66b1b0f0d37a9fb493569fc92e7fccb691c8baf193c", @@ -14775,6 +14778,7 @@ "Threat model": "Модел на заплаха", "Threat model artifact": "Артефакт на модел на заплаха", "Thursday": "четвъртък", + "Tied vote": "Равен вот", "Time": "време", "Timed out": "Времето изтече", "Timeouts and execution policy": "Изчакване и политика за изпълнение", @@ -15167,6 +15171,7 @@ "Visible multi-reply cap": "Видима шапка за няколко отговора", "Voice input is not supported in this browser.": "Гласовото въвеждане не се поддържа в този браузър.", "Volcengine Ark OpenAI-compatible chat endpoint for Doubao models.": "Съвместима с Volcengine Ark OpenAI крайна точка за чат за модели Doubao.", + "Vote quorum was not met": "Кворумът за гласуване не беше събран", "Wait for attachments to finish uploading.": "Изчакайте качването на прикачените файлове да приключи.", "waiting": "чакане", "Waiting": "Чакане", @@ -15193,6 +15198,7 @@ "Waiting for sign-in": "Изчакване за влизане", "Waiting for system confirmation and Host readback...": "Изчаква се системно потвърждение и обратно четене на хоста...", "waiting for user input": "изчакване на въвеждане от потребителя", + "Waiting for votes": "В очакване на гласове", "Waiting for workspace": "В очакване на работно пространство", "Waiting reason": "Причина за изчакване", "Waiting to check the selected model": "Изчакване за проверка на избрания модел", diff --git a/packages/localization/catalogs/bn-BD.json b/packages/localization/catalogs/bn-BD.json index 1a0dde3d5..cc59ceaee 100644 --- a/packages/localization/catalogs/bn-BD.json +++ b/packages/localization/catalogs/bn-BD.json @@ -1,6 +1,6 @@ { "locale": "bn-BD", - "sourceRevision": "6468d2af71d2feb60f9b8c5f37bc2a3ff1177fb2c8b0d65e85002de6b1095cbb", + "sourceRevision": "e134cc889637523423524b121cf71dcb37afdd3d7daf48eaea975d1c39785b2e", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -7042,6 +7042,7 @@ "Threat model": "ac7c7cee765bae0828d383a6446e38ecdba0844e3c188c7008063c0bfe983c42", "Threat model artifact": "c57b9c06d70b87dbf1dc64874de22f98b41b3d74867a881aa2dcd0132b239e5e", "Thursday": "fc2662062ffdef9610020183ea2b087c21d71150d78a7c7463be8a9050bd3ac9", + "Tied vote": "b781f33e7a2c04158bbbfa7e86dbc4d3fbf5b75643b4efdbea46d01f39cafa6b", "Time": "33b93476cf597a3330653b66a658983d892ac264b5d6029a2dc642b9b1f30870", "Timed out": "9718cc761cfd5810041ef007ae258fa1308b8487d0f30c5f36a442f8fe5f76c5", "Timeouts and execution policy": "8011c5fa4d20f9252aa923ae93fbef6f6b3f45f975388030c4a10a05001329cf", @@ -7434,6 +7435,7 @@ "Visible multi-reply cap": "266fa484b23648ac5fd4252b1b67558b1fa2927de86208091a2231723850c7df", "Voice input is not supported in this browser.": "198b64199a291c3eacfeaa9f0f268ed0166b0fa36e0e8e4e1084f3399eb15fd9", "Volcengine Ark OpenAI-compatible chat endpoint for Doubao models.": "4369fbabad7a4795ac4fbc796ab26e51c48121abec229b626b48117f510466ee", + "Vote quorum was not met": "22abe3f7bf05dd9981e3575b81db01f7a3adba195c4e79dba3fceb88b4503327", "Wait for attachments to finish uploading.": "f59647adc722dad97cc92e74053a08d8542e67f11cdf4864d06ef6da93e99974", "waiting": "80cfa3e7f28dde4df64436b652230aff28d7779116d1369c21ef2bbf37261d71", "Waiting": "6e293a8c009e001103199768f7bcbea1729c59f9fc1ef2748958757f47ab99ed", @@ -7460,6 +7462,7 @@ "Waiting for sign-in": "749a343a3a25c1df679ee6d6e74abb72e08ef956bfa15434407e61934dc054c9", "Waiting for system confirmation and Host readback...": "952e73792f0715e2d1f30ef0b0c03c4353cd9ab96caa71856bbce7dc41e2d161", "waiting for user input": "f43ef097687b1d8c8800577eefa3f7e10d0c82236cd0017f983d131e8e673174", + "Waiting for votes": "bbb50edc12d1ce791069a8e84ca6e73a255b796306d32cdc1414987b986e172f", "Waiting for workspace": "e682cb09e669c47785b8cb4b28fd43bc51c52636c3178e328477ce86f6a33aed", "Waiting reason": "17171d9f1f059dc74d257f1411452835b78655c83362fae4f2ae2e1e4d1d1c12", "Waiting to check the selected model": "9e16fc6ad7876a2c3467a66b1b0f0d37a9fb493569fc92e7fccb691c8baf193c", @@ -14775,6 +14778,7 @@ "Threat model": "হুমকি মডেল", "Threat model artifact": "থ্রেট মডেল আর্টিফ্যাক্ট", "Thursday": "বৃহস্পতিবার", + "Tied vote": "বেঁধে ভোট", "Time": "সময়", "Timed out": "সময় শেষ", "Timeouts and execution policy": "সময়সীমা এবং সঞ্চালন নীতি", @@ -15167,6 +15171,7 @@ "Visible multi-reply cap": "দৃশ্যমান মাল্টি-রিপ্লাই ক্যাপ", "Voice input is not supported in this browser.": "এই ব্রাউজারে ভয়েস ইনপুট সমর্থিত নয়।", "Volcengine Ark OpenAI-compatible chat endpoint for Doubao models.": "Doubao মডেলের জন্য Volcengine Ark OpenAI- সামঞ্জস্যপূর্ণ চ্যাট এন্ডপয়েন্ট।", + "Vote quorum was not met": "ভোটের কোরাম পূরণ হয়নি", "Wait for attachments to finish uploading.": "সংযুক্তিগুলি আপলোড করা শেষ হওয়ার জন্য অপেক্ষা করুন৷", "waiting": "অপেক্ষা", "Waiting": "অপেক্ষা করছে", @@ -15193,6 +15198,7 @@ "Waiting for sign-in": "সাইন-ইন করার জন্য অপেক্ষা করা হচ্ছে", "Waiting for system confirmation and Host readback...": "সিস্টেম নিশ্চিতকরণ এবং হোস্ট রিডব্যাকের জন্য অপেক্ষা করা হচ্ছে...", "waiting for user input": "ব্যবহারকারীর ইনপুটের জন্য অপেক্ষা করছে", + "Waiting for votes": "ভোটের অপেক্ষায়", "Waiting for workspace": "কর্মক্ষেত্রের জন্য অপেক্ষা করা হচ্ছে", "Waiting reason": "অপেক্ষার কারণ", "Waiting to check the selected model": "নির্বাচিত মডেল পরীক্ষা করার জন্য অপেক্ষা করা হচ্ছে", diff --git a/packages/localization/catalogs/bs-BA.json b/packages/localization/catalogs/bs-BA.json index e2ddee702..22bd21024 100644 --- a/packages/localization/catalogs/bs-BA.json +++ b/packages/localization/catalogs/bs-BA.json @@ -1,6 +1,6 @@ { "locale": "bs-BA", - "sourceRevision": "6468d2af71d2feb60f9b8c5f37bc2a3ff1177fb2c8b0d65e85002de6b1095cbb", + "sourceRevision": "e134cc889637523423524b121cf71dcb37afdd3d7daf48eaea975d1c39785b2e", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -7042,6 +7042,7 @@ "Threat model": "ac7c7cee765bae0828d383a6446e38ecdba0844e3c188c7008063c0bfe983c42", "Threat model artifact": "c57b9c06d70b87dbf1dc64874de22f98b41b3d74867a881aa2dcd0132b239e5e", "Thursday": "fc2662062ffdef9610020183ea2b087c21d71150d78a7c7463be8a9050bd3ac9", + "Tied vote": "b781f33e7a2c04158bbbfa7e86dbc4d3fbf5b75643b4efdbea46d01f39cafa6b", "Time": "33b93476cf597a3330653b66a658983d892ac264b5d6029a2dc642b9b1f30870", "Timed out": "9718cc761cfd5810041ef007ae258fa1308b8487d0f30c5f36a442f8fe5f76c5", "Timeouts and execution policy": "8011c5fa4d20f9252aa923ae93fbef6f6b3f45f975388030c4a10a05001329cf", @@ -7434,6 +7435,7 @@ "Visible multi-reply cap": "266fa484b23648ac5fd4252b1b67558b1fa2927de86208091a2231723850c7df", "Voice input is not supported in this browser.": "198b64199a291c3eacfeaa9f0f268ed0166b0fa36e0e8e4e1084f3399eb15fd9", "Volcengine Ark OpenAI-compatible chat endpoint for Doubao models.": "4369fbabad7a4795ac4fbc796ab26e51c48121abec229b626b48117f510466ee", + "Vote quorum was not met": "22abe3f7bf05dd9981e3575b81db01f7a3adba195c4e79dba3fceb88b4503327", "Wait for attachments to finish uploading.": "f59647adc722dad97cc92e74053a08d8542e67f11cdf4864d06ef6da93e99974", "waiting": "80cfa3e7f28dde4df64436b652230aff28d7779116d1369c21ef2bbf37261d71", "Waiting": "6e293a8c009e001103199768f7bcbea1729c59f9fc1ef2748958757f47ab99ed", @@ -7460,6 +7462,7 @@ "Waiting for sign-in": "749a343a3a25c1df679ee6d6e74abb72e08ef956bfa15434407e61934dc054c9", "Waiting for system confirmation and Host readback...": "952e73792f0715e2d1f30ef0b0c03c4353cd9ab96caa71856bbce7dc41e2d161", "waiting for user input": "f43ef097687b1d8c8800577eefa3f7e10d0c82236cd0017f983d131e8e673174", + "Waiting for votes": "bbb50edc12d1ce791069a8e84ca6e73a255b796306d32cdc1414987b986e172f", "Waiting for workspace": "e682cb09e669c47785b8cb4b28fd43bc51c52636c3178e328477ce86f6a33aed", "Waiting reason": "17171d9f1f059dc74d257f1411452835b78655c83362fae4f2ae2e1e4d1d1c12", "Waiting to check the selected model": "9e16fc6ad7876a2c3467a66b1b0f0d37a9fb493569fc92e7fccb691c8baf193c", @@ -14775,6 +14778,7 @@ "Threat model": "Model pretnje", "Threat model artifact": "Artefakt modela prijetnje", "Thursday": "četvrtak", + "Tied vote": "Izjednačeno glasanje", "Time": "Vrijeme", "Timed out": "Isteklo je vreme", "Timeouts and execution policy": "Vremenska ograničenja i politika izvršavanja", @@ -15167,6 +15171,7 @@ "Visible multi-reply cap": "Vidljivo ograničenje za više odgovora", "Voice input is not supported in this browser.": "Unos glasa nije podržan u ovom pretraživaču.", "Volcengine Ark OpenAI-compatible chat endpoint for Doubao models.": "Volcengine Ark OpenAI-kompatibilna krajnja tačka za ćaskanje za Doubao modele.", + "Vote quorum was not met": "Kvorum za glasanje nije ispunjen", "Wait for attachments to finish uploading.": "Sačekajte da se prilozi završe sa otpremanjem.", "waiting": "čekanje", "Waiting": "Čekam", @@ -15193,6 +15198,7 @@ "Waiting for sign-in": "Čeka se prijava", "Waiting for system confirmation and Host readback...": "Čeka se sistemska potvrda i čitanje hosta...", "waiting for user input": "čeka se korisnički unos", + "Waiting for votes": "Čekamo glasove", "Waiting for workspace": "Čeka se radni prostor", "Waiting reason": "Razlog čekanja", "Waiting to check the selected model": "Čeka se provjera odabranog modela", diff --git a/packages/localization/catalogs/ca-ES.json b/packages/localization/catalogs/ca-ES.json index 5f6ddc387..90f92f548 100644 --- a/packages/localization/catalogs/ca-ES.json +++ b/packages/localization/catalogs/ca-ES.json @@ -1,6 +1,6 @@ { "locale": "ca-ES", - "sourceRevision": "6468d2af71d2feb60f9b8c5f37bc2a3ff1177fb2c8b0d65e85002de6b1095cbb", + "sourceRevision": "e134cc889637523423524b121cf71dcb37afdd3d7daf48eaea975d1c39785b2e", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -7042,6 +7042,7 @@ "Threat model": "ac7c7cee765bae0828d383a6446e38ecdba0844e3c188c7008063c0bfe983c42", "Threat model artifact": "c57b9c06d70b87dbf1dc64874de22f98b41b3d74867a881aa2dcd0132b239e5e", "Thursday": "fc2662062ffdef9610020183ea2b087c21d71150d78a7c7463be8a9050bd3ac9", + "Tied vote": "b781f33e7a2c04158bbbfa7e86dbc4d3fbf5b75643b4efdbea46d01f39cafa6b", "Time": "33b93476cf597a3330653b66a658983d892ac264b5d6029a2dc642b9b1f30870", "Timed out": "9718cc761cfd5810041ef007ae258fa1308b8487d0f30c5f36a442f8fe5f76c5", "Timeouts and execution policy": "8011c5fa4d20f9252aa923ae93fbef6f6b3f45f975388030c4a10a05001329cf", @@ -7434,6 +7435,7 @@ "Visible multi-reply cap": "266fa484b23648ac5fd4252b1b67558b1fa2927de86208091a2231723850c7df", "Voice input is not supported in this browser.": "198b64199a291c3eacfeaa9f0f268ed0166b0fa36e0e8e4e1084f3399eb15fd9", "Volcengine Ark OpenAI-compatible chat endpoint for Doubao models.": "4369fbabad7a4795ac4fbc796ab26e51c48121abec229b626b48117f510466ee", + "Vote quorum was not met": "22abe3f7bf05dd9981e3575b81db01f7a3adba195c4e79dba3fceb88b4503327", "Wait for attachments to finish uploading.": "f59647adc722dad97cc92e74053a08d8542e67f11cdf4864d06ef6da93e99974", "waiting": "80cfa3e7f28dde4df64436b652230aff28d7779116d1369c21ef2bbf37261d71", "Waiting": "6e293a8c009e001103199768f7bcbea1729c59f9fc1ef2748958757f47ab99ed", @@ -7460,6 +7462,7 @@ "Waiting for sign-in": "749a343a3a25c1df679ee6d6e74abb72e08ef956bfa15434407e61934dc054c9", "Waiting for system confirmation and Host readback...": "952e73792f0715e2d1f30ef0b0c03c4353cd9ab96caa71856bbce7dc41e2d161", "waiting for user input": "f43ef097687b1d8c8800577eefa3f7e10d0c82236cd0017f983d131e8e673174", + "Waiting for votes": "bbb50edc12d1ce791069a8e84ca6e73a255b796306d32cdc1414987b986e172f", "Waiting for workspace": "e682cb09e669c47785b8cb4b28fd43bc51c52636c3178e328477ce86f6a33aed", "Waiting reason": "17171d9f1f059dc74d257f1411452835b78655c83362fae4f2ae2e1e4d1d1c12", "Waiting to check the selected model": "9e16fc6ad7876a2c3467a66b1b0f0d37a9fb493569fc92e7fccb691c8baf193c", @@ -14775,6 +14778,7 @@ "Threat model": "Model d'amenaça", "Threat model artifact": "Artefacte del model d'amenaça", "Thursday": "dijous", + "Tied vote": "Votació empatada", "Time": "Temps", "Timed out": "Temps esgotat", "Timeouts and execution policy": "Temps morts i política d'execució", @@ -15167,6 +15171,7 @@ "Visible multi-reply cap": "Límit de respostes múltiples visible", "Voice input is not supported in this browser.": "L'entrada de veu no és compatible amb aquest navegador.", "Volcengine Ark OpenAI-compatible chat endpoint for Doubao models.": "Punt final de xat compatible amb Volcengine Ark OpenAI per als models Doubao.", + "Vote quorum was not met": "No s'ha assolit el quòrum de votació", "Wait for attachments to finish uploading.": "Espereu que els fitxers adjunts s'acabin de penjar.", "waiting": "esperant", "Waiting": "Esperant", @@ -15193,6 +15198,7 @@ "Waiting for sign-in": "S'està esperant l'inici de sessió", "Waiting for system confirmation and Host readback...": "S'està esperant la confirmació del sistema i la lectura de l'amfitrió...", "waiting for user input": "esperant l'entrada de l'usuari", + "Waiting for votes": "Esperant els vots", "Waiting for workspace": "Esperant l'espai de treball", "Waiting reason": "Motiu d'espera", "Waiting to check the selected model": "Esperant per comprovar el model seleccionat", diff --git a/packages/localization/catalogs/cs-CZ.json b/packages/localization/catalogs/cs-CZ.json index e36efb486..1d65617fd 100644 --- a/packages/localization/catalogs/cs-CZ.json +++ b/packages/localization/catalogs/cs-CZ.json @@ -1,6 +1,6 @@ { "locale": "cs-CZ", - "sourceRevision": "6468d2af71d2feb60f9b8c5f37bc2a3ff1177fb2c8b0d65e85002de6b1095cbb", + "sourceRevision": "e134cc889637523423524b121cf71dcb37afdd3d7daf48eaea975d1c39785b2e", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -7042,6 +7042,7 @@ "Threat model": "ac7c7cee765bae0828d383a6446e38ecdba0844e3c188c7008063c0bfe983c42", "Threat model artifact": "c57b9c06d70b87dbf1dc64874de22f98b41b3d74867a881aa2dcd0132b239e5e", "Thursday": "fc2662062ffdef9610020183ea2b087c21d71150d78a7c7463be8a9050bd3ac9", + "Tied vote": "b781f33e7a2c04158bbbfa7e86dbc4d3fbf5b75643b4efdbea46d01f39cafa6b", "Time": "33b93476cf597a3330653b66a658983d892ac264b5d6029a2dc642b9b1f30870", "Timed out": "9718cc761cfd5810041ef007ae258fa1308b8487d0f30c5f36a442f8fe5f76c5", "Timeouts and execution policy": "8011c5fa4d20f9252aa923ae93fbef6f6b3f45f975388030c4a10a05001329cf", @@ -7434,6 +7435,7 @@ "Visible multi-reply cap": "266fa484b23648ac5fd4252b1b67558b1fa2927de86208091a2231723850c7df", "Voice input is not supported in this browser.": "198b64199a291c3eacfeaa9f0f268ed0166b0fa36e0e8e4e1084f3399eb15fd9", "Volcengine Ark OpenAI-compatible chat endpoint for Doubao models.": "4369fbabad7a4795ac4fbc796ab26e51c48121abec229b626b48117f510466ee", + "Vote quorum was not met": "22abe3f7bf05dd9981e3575b81db01f7a3adba195c4e79dba3fceb88b4503327", "Wait for attachments to finish uploading.": "f59647adc722dad97cc92e74053a08d8542e67f11cdf4864d06ef6da93e99974", "waiting": "80cfa3e7f28dde4df64436b652230aff28d7779116d1369c21ef2bbf37261d71", "Waiting": "6e293a8c009e001103199768f7bcbea1729c59f9fc1ef2748958757f47ab99ed", @@ -7460,6 +7462,7 @@ "Waiting for sign-in": "749a343a3a25c1df679ee6d6e74abb72e08ef956bfa15434407e61934dc054c9", "Waiting for system confirmation and Host readback...": "952e73792f0715e2d1f30ef0b0c03c4353cd9ab96caa71856bbce7dc41e2d161", "waiting for user input": "f43ef097687b1d8c8800577eefa3f7e10d0c82236cd0017f983d131e8e673174", + "Waiting for votes": "bbb50edc12d1ce791069a8e84ca6e73a255b796306d32cdc1414987b986e172f", "Waiting for workspace": "e682cb09e669c47785b8cb4b28fd43bc51c52636c3178e328477ce86f6a33aed", "Waiting reason": "17171d9f1f059dc74d257f1411452835b78655c83362fae4f2ae2e1e4d1d1c12", "Waiting to check the selected model": "9e16fc6ad7876a2c3467a66b1b0f0d37a9fb493569fc92e7fccb691c8baf193c", @@ -14775,6 +14778,7 @@ "Threat model": "Model ohrožení", "Threat model artifact": "Artefakt modelu hrozby", "Thursday": "čtvrtek", + "Tied vote": "Nerozhodné hlasování", "Time": "Čas", "Timed out": "Vypršel časový limit", "Timeouts and execution policy": "Časové limity a zásady provádění", @@ -15167,6 +15171,7 @@ "Visible multi-reply cap": "Viditelná čepice s více odpověďmi", "Voice input is not supported in this browser.": "Hlasový vstup není v tomto prohlížeči podporován.", "Volcengine Ark OpenAI-compatible chat endpoint for Doubao models.": "Koncový bod chatu Volcengine Ark kompatibilní s OpenAI pro modely Doubao.", + "Vote quorum was not met": "Nebylo dosaženo kvora hlasování", "Wait for attachments to finish uploading.": "Počkejte na dokončení nahrávání příloh.", "waiting": "čekání", "Waiting": "Čekání", @@ -15193,6 +15198,7 @@ "Waiting for sign-in": "Čekání na přihlášení", "Waiting for system confirmation and Host readback...": "Čeká se na potvrzení systému a přečtení hostitele...", "waiting for user input": "čekání na vstup uživatele", + "Waiting for votes": "Čekání na hlasy", "Waiting for workspace": "Čekání na pracovní prostor", "Waiting reason": "Důvod čekání", "Waiting to check the selected model": "Čekání na kontrolu vybraného modelu", diff --git a/packages/localization/catalogs/da-DK.json b/packages/localization/catalogs/da-DK.json index dc1498356..5989aecf1 100644 --- a/packages/localization/catalogs/da-DK.json +++ b/packages/localization/catalogs/da-DK.json @@ -1,6 +1,6 @@ { "locale": "da-DK", - "sourceRevision": "6468d2af71d2feb60f9b8c5f37bc2a3ff1177fb2c8b0d65e85002de6b1095cbb", + "sourceRevision": "e134cc889637523423524b121cf71dcb37afdd3d7daf48eaea975d1c39785b2e", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -7042,6 +7042,7 @@ "Threat model": "ac7c7cee765bae0828d383a6446e38ecdba0844e3c188c7008063c0bfe983c42", "Threat model artifact": "c57b9c06d70b87dbf1dc64874de22f98b41b3d74867a881aa2dcd0132b239e5e", "Thursday": "fc2662062ffdef9610020183ea2b087c21d71150d78a7c7463be8a9050bd3ac9", + "Tied vote": "b781f33e7a2c04158bbbfa7e86dbc4d3fbf5b75643b4efdbea46d01f39cafa6b", "Time": "33b93476cf597a3330653b66a658983d892ac264b5d6029a2dc642b9b1f30870", "Timed out": "9718cc761cfd5810041ef007ae258fa1308b8487d0f30c5f36a442f8fe5f76c5", "Timeouts and execution policy": "8011c5fa4d20f9252aa923ae93fbef6f6b3f45f975388030c4a10a05001329cf", @@ -7434,6 +7435,7 @@ "Visible multi-reply cap": "266fa484b23648ac5fd4252b1b67558b1fa2927de86208091a2231723850c7df", "Voice input is not supported in this browser.": "198b64199a291c3eacfeaa9f0f268ed0166b0fa36e0e8e4e1084f3399eb15fd9", "Volcengine Ark OpenAI-compatible chat endpoint for Doubao models.": "4369fbabad7a4795ac4fbc796ab26e51c48121abec229b626b48117f510466ee", + "Vote quorum was not met": "22abe3f7bf05dd9981e3575b81db01f7a3adba195c4e79dba3fceb88b4503327", "Wait for attachments to finish uploading.": "f59647adc722dad97cc92e74053a08d8542e67f11cdf4864d06ef6da93e99974", "waiting": "80cfa3e7f28dde4df64436b652230aff28d7779116d1369c21ef2bbf37261d71", "Waiting": "6e293a8c009e001103199768f7bcbea1729c59f9fc1ef2748958757f47ab99ed", @@ -7460,6 +7462,7 @@ "Waiting for sign-in": "749a343a3a25c1df679ee6d6e74abb72e08ef956bfa15434407e61934dc054c9", "Waiting for system confirmation and Host readback...": "952e73792f0715e2d1f30ef0b0c03c4353cd9ab96caa71856bbce7dc41e2d161", "waiting for user input": "f43ef097687b1d8c8800577eefa3f7e10d0c82236cd0017f983d131e8e673174", + "Waiting for votes": "bbb50edc12d1ce791069a8e84ca6e73a255b796306d32cdc1414987b986e172f", "Waiting for workspace": "e682cb09e669c47785b8cb4b28fd43bc51c52636c3178e328477ce86f6a33aed", "Waiting reason": "17171d9f1f059dc74d257f1411452835b78655c83362fae4f2ae2e1e4d1d1c12", "Waiting to check the selected model": "9e16fc6ad7876a2c3467a66b1b0f0d37a9fb493569fc92e7fccb691c8baf193c", @@ -14775,6 +14778,7 @@ "Threat model": "Trusselsmodel", "Threat model artifact": "Trusselsmodelartefakt", "Thursday": "torsdag", + "Tied vote": "Stemmelighed", "Time": "Tid", "Timed out": "Timeout", "Timeouts and execution policy": "Timeouts og udførelsespolitik", @@ -15167,6 +15171,7 @@ "Visible multi-reply cap": "Synlig flersvarshætte", "Voice input is not supported in this browser.": "Stemmeinput understøttes ikke i denne browser.", "Volcengine Ark OpenAI-compatible chat endpoint for Doubao models.": "Volcengine Ark OpenAI-kompatibelt chatslutpunkt til Doubao-modeller.", + "Vote quorum was not met": "Stemmernes beslutningsdygtighed blev ikke opfyldt", "Wait for attachments to finish uploading.": "Vent på, at vedhæftede filer er færdige med at uploade.", "waiting": "venter", "Waiting": "Venter", @@ -15193,6 +15198,7 @@ "Waiting for sign-in": "Venter på login", "Waiting for system confirmation and Host readback...": "Venter på systembekræftelse og værtsgenlæsning...", "waiting for user input": "venter på brugerinput", + "Waiting for votes": "Venter på stemmer", "Waiting for workspace": "Venter på arbejdsplads", "Waiting reason": "Afventende grund", "Waiting to check the selected model": "Venter på at kontrollere den valgte model", diff --git a/packages/localization/catalogs/de-DE.json b/packages/localization/catalogs/de-DE.json index d0b791667..1dc620e20 100644 --- a/packages/localization/catalogs/de-DE.json +++ b/packages/localization/catalogs/de-DE.json @@ -1,6 +1,6 @@ { "locale": "de-DE", - "sourceRevision": "6468d2af71d2feb60f9b8c5f37bc2a3ff1177fb2c8b0d65e85002de6b1095cbb", + "sourceRevision": "e134cc889637523423524b121cf71dcb37afdd3d7daf48eaea975d1c39785b2e", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -7042,6 +7042,7 @@ "Threat model": "ac7c7cee765bae0828d383a6446e38ecdba0844e3c188c7008063c0bfe983c42", "Threat model artifact": "c57b9c06d70b87dbf1dc64874de22f98b41b3d74867a881aa2dcd0132b239e5e", "Thursday": "fc2662062ffdef9610020183ea2b087c21d71150d78a7c7463be8a9050bd3ac9", + "Tied vote": "b781f33e7a2c04158bbbfa7e86dbc4d3fbf5b75643b4efdbea46d01f39cafa6b", "Time": "33b93476cf597a3330653b66a658983d892ac264b5d6029a2dc642b9b1f30870", "Timed out": "9718cc761cfd5810041ef007ae258fa1308b8487d0f30c5f36a442f8fe5f76c5", "Timeouts and execution policy": "8011c5fa4d20f9252aa923ae93fbef6f6b3f45f975388030c4a10a05001329cf", @@ -7434,6 +7435,7 @@ "Visible multi-reply cap": "266fa484b23648ac5fd4252b1b67558b1fa2927de86208091a2231723850c7df", "Voice input is not supported in this browser.": "198b64199a291c3eacfeaa9f0f268ed0166b0fa36e0e8e4e1084f3399eb15fd9", "Volcengine Ark OpenAI-compatible chat endpoint for Doubao models.": "4369fbabad7a4795ac4fbc796ab26e51c48121abec229b626b48117f510466ee", + "Vote quorum was not met": "22abe3f7bf05dd9981e3575b81db01f7a3adba195c4e79dba3fceb88b4503327", "Wait for attachments to finish uploading.": "f59647adc722dad97cc92e74053a08d8542e67f11cdf4864d06ef6da93e99974", "waiting": "80cfa3e7f28dde4df64436b652230aff28d7779116d1369c21ef2bbf37261d71", "Waiting": "6e293a8c009e001103199768f7bcbea1729c59f9fc1ef2748958757f47ab99ed", @@ -7460,6 +7462,7 @@ "Waiting for sign-in": "749a343a3a25c1df679ee6d6e74abb72e08ef956bfa15434407e61934dc054c9", "Waiting for system confirmation and Host readback...": "952e73792f0715e2d1f30ef0b0c03c4353cd9ab96caa71856bbce7dc41e2d161", "waiting for user input": "f43ef097687b1d8c8800577eefa3f7e10d0c82236cd0017f983d131e8e673174", + "Waiting for votes": "bbb50edc12d1ce791069a8e84ca6e73a255b796306d32cdc1414987b986e172f", "Waiting for workspace": "e682cb09e669c47785b8cb4b28fd43bc51c52636c3178e328477ce86f6a33aed", "Waiting reason": "17171d9f1f059dc74d257f1411452835b78655c83362fae4f2ae2e1e4d1d1c12", "Waiting to check the selected model": "9e16fc6ad7876a2c3467a66b1b0f0d37a9fb493569fc92e7fccb691c8baf193c", @@ -14775,6 +14778,7 @@ "Threat model": "Bedrohungsmodell", "Threat model artifact": "Artefakt des Bedrohungsmodells", "Thursday": "Donnerstag", + "Tied vote": "Stimmengleichheit", "Time": "Zeit", "Timed out": "Zeitüberschreitung", "Timeouts and execution policy": "Zeitüberschreitungen und Ausführungsrichtlinie", @@ -15167,6 +15171,7 @@ "Visible multi-reply cap": "Sichtbare Mehrfachantwort-Kappe", "Voice input is not supported in this browser.": "Die Spracheingabe wird in diesem Browser nicht unterstützt.", "Volcengine Ark OpenAI-compatible chat endpoint for Doubao models.": "Volcengine Ark OpenAI-kompatibler Chat-Endpunkt für Doubao-Modelle.", + "Vote quorum was not met": "Das Abstimmungsquorum wurde nicht erreicht", "Wait for attachments to finish uploading.": "Warten Sie, bis der Upload der Anhänge abgeschlossen ist.", "waiting": "Warten", "Waiting": "Warten", @@ -15193,6 +15198,7 @@ "Waiting for sign-in": "Warten auf die Anmeldung", "Waiting for system confirmation and Host readback...": "Warten auf Systembestätigung und Host-Rückmeldung ...", "waiting for user input": "Warten auf Benutzereingaben", + "Waiting for votes": "Warten auf Stimmen", "Waiting for workspace": "Warten auf Arbeitsbereich", "Waiting reason": "Wartegrund", "Waiting to check the selected model": "Warten auf die Überprüfung des ausgewählten Modells", diff --git a/packages/localization/catalogs/el-GR.json b/packages/localization/catalogs/el-GR.json index 95d1dd6f7..7973d4592 100644 --- a/packages/localization/catalogs/el-GR.json +++ b/packages/localization/catalogs/el-GR.json @@ -1,6 +1,6 @@ { "locale": "el-GR", - "sourceRevision": "6468d2af71d2feb60f9b8c5f37bc2a3ff1177fb2c8b0d65e85002de6b1095cbb", + "sourceRevision": "e134cc889637523423524b121cf71dcb37afdd3d7daf48eaea975d1c39785b2e", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -7042,6 +7042,7 @@ "Threat model": "ac7c7cee765bae0828d383a6446e38ecdba0844e3c188c7008063c0bfe983c42", "Threat model artifact": "c57b9c06d70b87dbf1dc64874de22f98b41b3d74867a881aa2dcd0132b239e5e", "Thursday": "fc2662062ffdef9610020183ea2b087c21d71150d78a7c7463be8a9050bd3ac9", + "Tied vote": "b781f33e7a2c04158bbbfa7e86dbc4d3fbf5b75643b4efdbea46d01f39cafa6b", "Time": "33b93476cf597a3330653b66a658983d892ac264b5d6029a2dc642b9b1f30870", "Timed out": "9718cc761cfd5810041ef007ae258fa1308b8487d0f30c5f36a442f8fe5f76c5", "Timeouts and execution policy": "8011c5fa4d20f9252aa923ae93fbef6f6b3f45f975388030c4a10a05001329cf", @@ -7434,6 +7435,7 @@ "Visible multi-reply cap": "266fa484b23648ac5fd4252b1b67558b1fa2927de86208091a2231723850c7df", "Voice input is not supported in this browser.": "198b64199a291c3eacfeaa9f0f268ed0166b0fa36e0e8e4e1084f3399eb15fd9", "Volcengine Ark OpenAI-compatible chat endpoint for Doubao models.": "4369fbabad7a4795ac4fbc796ab26e51c48121abec229b626b48117f510466ee", + "Vote quorum was not met": "22abe3f7bf05dd9981e3575b81db01f7a3adba195c4e79dba3fceb88b4503327", "Wait for attachments to finish uploading.": "f59647adc722dad97cc92e74053a08d8542e67f11cdf4864d06ef6da93e99974", "waiting": "80cfa3e7f28dde4df64436b652230aff28d7779116d1369c21ef2bbf37261d71", "Waiting": "6e293a8c009e001103199768f7bcbea1729c59f9fc1ef2748958757f47ab99ed", @@ -7460,6 +7462,7 @@ "Waiting for sign-in": "749a343a3a25c1df679ee6d6e74abb72e08ef956bfa15434407e61934dc054c9", "Waiting for system confirmation and Host readback...": "952e73792f0715e2d1f30ef0b0c03c4353cd9ab96caa71856bbce7dc41e2d161", "waiting for user input": "f43ef097687b1d8c8800577eefa3f7e10d0c82236cd0017f983d131e8e673174", + "Waiting for votes": "bbb50edc12d1ce791069a8e84ca6e73a255b796306d32cdc1414987b986e172f", "Waiting for workspace": "e682cb09e669c47785b8cb4b28fd43bc51c52636c3178e328477ce86f6a33aed", "Waiting reason": "17171d9f1f059dc74d257f1411452835b78655c83362fae4f2ae2e1e4d1d1c12", "Waiting to check the selected model": "9e16fc6ad7876a2c3467a66b1b0f0d37a9fb493569fc92e7fccb691c8baf193c", @@ -14775,6 +14778,7 @@ "Threat model": "Μοντέλο απειλής", "Threat model artifact": "Αντικείμενο μοντέλου απειλής", "Thursday": "Πέμπτη", + "Tied vote": "Ισοπαλία ψήφος", "Time": "Φορά", "Timed out": "Λήξη χρονικού ορίου", "Timeouts and execution policy": "Χρονικά άουτ και πολιτική εκτέλεσης", @@ -15167,6 +15171,7 @@ "Visible multi-reply cap": "Ορατό καπάκι πολλαπλών απαντήσεων", "Voice input is not supported in this browser.": "Η φωνητική εισαγωγή δεν υποστηρίζεται σε αυτό το πρόγραμμα περιήγησης.", "Volcengine Ark OpenAI-compatible chat endpoint for Doubao models.": "Συμβατό με το Volcengine Ark OpenAI τελικό σημείο συνομιλίας για μοντέλα Doubao.", + "Vote quorum was not met": "Δεν τηρήθηκε απαρτία ψηφοφορίας", "Wait for attachments to finish uploading.": "Περιμένετε να ολοκληρωθεί η μεταφόρτωση των συνημμένων.", "waiting": "αναμονή", "Waiting": "Αναμονή", @@ -15193,6 +15198,7 @@ "Waiting for sign-in": "Αναμονή για σύνδεση", "Waiting for system confirmation and Host readback...": "Αναμονή για επιβεβαίωση συστήματος και επανάληψη του κεντρικού υπολογιστή...", "waiting for user input": "αναμονή για είσοδο χρήστη", + "Waiting for votes": "Αναμονή για ψήφους", "Waiting for workspace": "Αναμονή για χώρο εργασίας", "Waiting reason": "Λόγος αναμονής", "Waiting to check the selected model": "Αναμονή για έλεγχο του επιλεγμένου μοντέλου", diff --git a/packages/localization/catalogs/en-US.json b/packages/localization/catalogs/en-US.json index ca9067cf2..437d484fd 100644 --- a/packages/localization/catalogs/en-US.json +++ b/packages/localization/catalogs/en-US.json @@ -1,6 +1,6 @@ { "locale": "en-US", - "sourceRevision": "6468d2af71d2feb60f9b8c5f37bc2a3ff1177fb2c8b0d65e85002de6b1095cbb", + "sourceRevision": "e134cc889637523423524b121cf71dcb37afdd3d7daf48eaea975d1c39785b2e", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -7042,6 +7042,7 @@ "Threat model": "ac7c7cee765bae0828d383a6446e38ecdba0844e3c188c7008063c0bfe983c42", "Threat model artifact": "c57b9c06d70b87dbf1dc64874de22f98b41b3d74867a881aa2dcd0132b239e5e", "Thursday": "fc2662062ffdef9610020183ea2b087c21d71150d78a7c7463be8a9050bd3ac9", + "Tied vote": "b781f33e7a2c04158bbbfa7e86dbc4d3fbf5b75643b4efdbea46d01f39cafa6b", "Time": "33b93476cf597a3330653b66a658983d892ac264b5d6029a2dc642b9b1f30870", "Timed out": "9718cc761cfd5810041ef007ae258fa1308b8487d0f30c5f36a442f8fe5f76c5", "Timeouts and execution policy": "8011c5fa4d20f9252aa923ae93fbef6f6b3f45f975388030c4a10a05001329cf", @@ -7434,6 +7435,7 @@ "Visible multi-reply cap": "266fa484b23648ac5fd4252b1b67558b1fa2927de86208091a2231723850c7df", "Voice input is not supported in this browser.": "198b64199a291c3eacfeaa9f0f268ed0166b0fa36e0e8e4e1084f3399eb15fd9", "Volcengine Ark OpenAI-compatible chat endpoint for Doubao models.": "4369fbabad7a4795ac4fbc796ab26e51c48121abec229b626b48117f510466ee", + "Vote quorum was not met": "22abe3f7bf05dd9981e3575b81db01f7a3adba195c4e79dba3fceb88b4503327", "Wait for attachments to finish uploading.": "f59647adc722dad97cc92e74053a08d8542e67f11cdf4864d06ef6da93e99974", "waiting": "80cfa3e7f28dde4df64436b652230aff28d7779116d1369c21ef2bbf37261d71", "Waiting": "6e293a8c009e001103199768f7bcbea1729c59f9fc1ef2748958757f47ab99ed", @@ -7460,6 +7462,7 @@ "Waiting for sign-in": "749a343a3a25c1df679ee6d6e74abb72e08ef956bfa15434407e61934dc054c9", "Waiting for system confirmation and Host readback...": "952e73792f0715e2d1f30ef0b0c03c4353cd9ab96caa71856bbce7dc41e2d161", "waiting for user input": "f43ef097687b1d8c8800577eefa3f7e10d0c82236cd0017f983d131e8e673174", + "Waiting for votes": "bbb50edc12d1ce791069a8e84ca6e73a255b796306d32cdc1414987b986e172f", "Waiting for workspace": "e682cb09e669c47785b8cb4b28fd43bc51c52636c3178e328477ce86f6a33aed", "Waiting reason": "17171d9f1f059dc74d257f1411452835b78655c83362fae4f2ae2e1e4d1d1c12", "Waiting to check the selected model": "9e16fc6ad7876a2c3467a66b1b0f0d37a9fb493569fc92e7fccb691c8baf193c", @@ -14775,6 +14778,7 @@ "Threat model": "Threat model", "Threat model artifact": "Threat model artifact", "Thursday": "Thursday", + "Tied vote": "Tied vote", "Time": "Time", "Timed out": "Timed out", "Timeouts and execution policy": "Timeouts and execution policy", @@ -15167,6 +15171,7 @@ "Visible multi-reply cap": "Visible multi-reply cap", "Voice input is not supported in this browser.": "Voice input is not supported in this browser.", "Volcengine Ark OpenAI-compatible chat endpoint for Doubao models.": "Volcengine Ark OpenAI-compatible chat endpoint for Doubao models.", + "Vote quorum was not met": "Vote quorum was not met", "Wait for attachments to finish uploading.": "Wait for attachments to finish uploading.", "waiting": "waiting", "Waiting": "Waiting", @@ -15193,6 +15198,7 @@ "Waiting for sign-in": "Waiting for sign-in", "Waiting for system confirmation and Host readback...": "Waiting for system confirmation and Host readback...", "waiting for user input": "waiting for user input", + "Waiting for votes": "Waiting for votes", "Waiting for workspace": "Waiting for workspace", "Waiting reason": "Waiting reason", "Waiting to check the selected model": "Waiting to check the selected model", diff --git a/packages/localization/catalogs/es-419.json b/packages/localization/catalogs/es-419.json index a71b84cb8..d5f2a21a9 100644 --- a/packages/localization/catalogs/es-419.json +++ b/packages/localization/catalogs/es-419.json @@ -1,6 +1,6 @@ { "locale": "es-419", - "sourceRevision": "6468d2af71d2feb60f9b8c5f37bc2a3ff1177fb2c8b0d65e85002de6b1095cbb", + "sourceRevision": "e134cc889637523423524b121cf71dcb37afdd3d7daf48eaea975d1c39785b2e", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -7042,6 +7042,7 @@ "Threat model": "ac7c7cee765bae0828d383a6446e38ecdba0844e3c188c7008063c0bfe983c42", "Threat model artifact": "c57b9c06d70b87dbf1dc64874de22f98b41b3d74867a881aa2dcd0132b239e5e", "Thursday": "fc2662062ffdef9610020183ea2b087c21d71150d78a7c7463be8a9050bd3ac9", + "Tied vote": "b781f33e7a2c04158bbbfa7e86dbc4d3fbf5b75643b4efdbea46d01f39cafa6b", "Time": "33b93476cf597a3330653b66a658983d892ac264b5d6029a2dc642b9b1f30870", "Timed out": "9718cc761cfd5810041ef007ae258fa1308b8487d0f30c5f36a442f8fe5f76c5", "Timeouts and execution policy": "8011c5fa4d20f9252aa923ae93fbef6f6b3f45f975388030c4a10a05001329cf", @@ -7434,6 +7435,7 @@ "Visible multi-reply cap": "266fa484b23648ac5fd4252b1b67558b1fa2927de86208091a2231723850c7df", "Voice input is not supported in this browser.": "198b64199a291c3eacfeaa9f0f268ed0166b0fa36e0e8e4e1084f3399eb15fd9", "Volcengine Ark OpenAI-compatible chat endpoint for Doubao models.": "4369fbabad7a4795ac4fbc796ab26e51c48121abec229b626b48117f510466ee", + "Vote quorum was not met": "22abe3f7bf05dd9981e3575b81db01f7a3adba195c4e79dba3fceb88b4503327", "Wait for attachments to finish uploading.": "f59647adc722dad97cc92e74053a08d8542e67f11cdf4864d06ef6da93e99974", "waiting": "80cfa3e7f28dde4df64436b652230aff28d7779116d1369c21ef2bbf37261d71", "Waiting": "6e293a8c009e001103199768f7bcbea1729c59f9fc1ef2748958757f47ab99ed", @@ -7460,6 +7462,7 @@ "Waiting for sign-in": "749a343a3a25c1df679ee6d6e74abb72e08ef956bfa15434407e61934dc054c9", "Waiting for system confirmation and Host readback...": "952e73792f0715e2d1f30ef0b0c03c4353cd9ab96caa71856bbce7dc41e2d161", "waiting for user input": "f43ef097687b1d8c8800577eefa3f7e10d0c82236cd0017f983d131e8e673174", + "Waiting for votes": "bbb50edc12d1ce791069a8e84ca6e73a255b796306d32cdc1414987b986e172f", "Waiting for workspace": "e682cb09e669c47785b8cb4b28fd43bc51c52636c3178e328477ce86f6a33aed", "Waiting reason": "17171d9f1f059dc74d257f1411452835b78655c83362fae4f2ae2e1e4d1d1c12", "Waiting to check the selected model": "9e16fc6ad7876a2c3467a66b1b0f0d37a9fb493569fc92e7fccb691c8baf193c", @@ -14775,6 +14778,7 @@ "Threat model": "Modelo de amenaza", "Threat model artifact": "Artefacto del modelo de amenaza", "Thursday": "Jueves", + "Tied vote": "Voto empatado", "Time": "Tiempo", "Timed out": "Tiempo agotado", "Timeouts and execution policy": "Tiempos de espera y política de ejecución", @@ -15167,6 +15171,7 @@ "Visible multi-reply cap": "Límite de respuestas múltiples visible", "Voice input is not supported in this browser.": "La entrada de voz no es compatible con este navegador.", "Volcengine Ark OpenAI-compatible chat endpoint for Doubao models.": "Punto final de chat compatible con Volcengine Ark OpenAI para modelos Doubao.", + "Vote quorum was not met": "No se alcanzó el quórum de votación", "Wait for attachments to finish uploading.": "Espere a que los archivos adjuntos terminen de cargarse.", "waiting": "espera", "Waiting": "Espera", @@ -15193,6 +15198,7 @@ "Waiting for sign-in": "Esperando iniciar sesión", "Waiting for system confirmation and Host readback...": "Esperando la confirmación del sistema y la lectura del host...", "waiting for user input": "esperando la entrada del usuario", + "Waiting for votes": "esperando votos", "Waiting for workspace": "Esperando espacio de trabajo", "Waiting reason": "Razón de espera", "Waiting to check the selected model": "Esperando comprobar el modelo seleccionado", diff --git a/packages/localization/catalogs/es-ES.json b/packages/localization/catalogs/es-ES.json index 9a8c614e1..ec76dee55 100644 --- a/packages/localization/catalogs/es-ES.json +++ b/packages/localization/catalogs/es-ES.json @@ -1,6 +1,6 @@ { "locale": "es-ES", - "sourceRevision": "6468d2af71d2feb60f9b8c5f37bc2a3ff1177fb2c8b0d65e85002de6b1095cbb", + "sourceRevision": "e134cc889637523423524b121cf71dcb37afdd3d7daf48eaea975d1c39785b2e", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -7042,6 +7042,7 @@ "Threat model": "ac7c7cee765bae0828d383a6446e38ecdba0844e3c188c7008063c0bfe983c42", "Threat model artifact": "c57b9c06d70b87dbf1dc64874de22f98b41b3d74867a881aa2dcd0132b239e5e", "Thursday": "fc2662062ffdef9610020183ea2b087c21d71150d78a7c7463be8a9050bd3ac9", + "Tied vote": "b781f33e7a2c04158bbbfa7e86dbc4d3fbf5b75643b4efdbea46d01f39cafa6b", "Time": "33b93476cf597a3330653b66a658983d892ac264b5d6029a2dc642b9b1f30870", "Timed out": "9718cc761cfd5810041ef007ae258fa1308b8487d0f30c5f36a442f8fe5f76c5", "Timeouts and execution policy": "8011c5fa4d20f9252aa923ae93fbef6f6b3f45f975388030c4a10a05001329cf", @@ -7434,6 +7435,7 @@ "Visible multi-reply cap": "266fa484b23648ac5fd4252b1b67558b1fa2927de86208091a2231723850c7df", "Voice input is not supported in this browser.": "198b64199a291c3eacfeaa9f0f268ed0166b0fa36e0e8e4e1084f3399eb15fd9", "Volcengine Ark OpenAI-compatible chat endpoint for Doubao models.": "4369fbabad7a4795ac4fbc796ab26e51c48121abec229b626b48117f510466ee", + "Vote quorum was not met": "22abe3f7bf05dd9981e3575b81db01f7a3adba195c4e79dba3fceb88b4503327", "Wait for attachments to finish uploading.": "f59647adc722dad97cc92e74053a08d8542e67f11cdf4864d06ef6da93e99974", "waiting": "80cfa3e7f28dde4df64436b652230aff28d7779116d1369c21ef2bbf37261d71", "Waiting": "6e293a8c009e001103199768f7bcbea1729c59f9fc1ef2748958757f47ab99ed", @@ -7460,6 +7462,7 @@ "Waiting for sign-in": "749a343a3a25c1df679ee6d6e74abb72e08ef956bfa15434407e61934dc054c9", "Waiting for system confirmation and Host readback...": "952e73792f0715e2d1f30ef0b0c03c4353cd9ab96caa71856bbce7dc41e2d161", "waiting for user input": "f43ef097687b1d8c8800577eefa3f7e10d0c82236cd0017f983d131e8e673174", + "Waiting for votes": "bbb50edc12d1ce791069a8e84ca6e73a255b796306d32cdc1414987b986e172f", "Waiting for workspace": "e682cb09e669c47785b8cb4b28fd43bc51c52636c3178e328477ce86f6a33aed", "Waiting reason": "17171d9f1f059dc74d257f1411452835b78655c83362fae4f2ae2e1e4d1d1c12", "Waiting to check the selected model": "9e16fc6ad7876a2c3467a66b1b0f0d37a9fb493569fc92e7fccb691c8baf193c", @@ -14775,6 +14778,7 @@ "Threat model": "Modelo de amenaza", "Threat model artifact": "Artefacto del modelo de amenaza", "Thursday": "Jueves", + "Tied vote": "Voto empatado", "Time": "Tiempo", "Timed out": "Tiempo agotado", "Timeouts and execution policy": "Tiempos de espera y política de ejecución", @@ -15167,6 +15171,7 @@ "Visible multi-reply cap": "Límite de respuestas múltiples visible", "Voice input is not supported in this browser.": "La entrada de voz no es compatible con este navegador.", "Volcengine Ark OpenAI-compatible chat endpoint for Doubao models.": "Punto final de chat compatible con Volcengine Ark OpenAI para modelos Doubao.", + "Vote quorum was not met": "No se alcanzó el quórum de votación", "Wait for attachments to finish uploading.": "Espere a que los archivos adjuntos terminen de cargarse.", "waiting": "espera", "Waiting": "Espera", @@ -15193,6 +15198,7 @@ "Waiting for sign-in": "Esperando iniciar sesión", "Waiting for system confirmation and Host readback...": "Esperando la confirmación del sistema y la lectura del host...", "waiting for user input": "esperando la entrada del usuario", + "Waiting for votes": "esperando votos", "Waiting for workspace": "Esperando espacio de trabajo", "Waiting reason": "Razón de espera", "Waiting to check the selected model": "Esperando comprobar el modelo seleccionado", diff --git a/packages/localization/catalogs/et-EE.json b/packages/localization/catalogs/et-EE.json index 5ea99c14f..e291f08c3 100644 --- a/packages/localization/catalogs/et-EE.json +++ b/packages/localization/catalogs/et-EE.json @@ -1,6 +1,6 @@ { "locale": "et-EE", - "sourceRevision": "6468d2af71d2feb60f9b8c5f37bc2a3ff1177fb2c8b0d65e85002de6b1095cbb", + "sourceRevision": "e134cc889637523423524b121cf71dcb37afdd3d7daf48eaea975d1c39785b2e", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -7042,6 +7042,7 @@ "Threat model": "ac7c7cee765bae0828d383a6446e38ecdba0844e3c188c7008063c0bfe983c42", "Threat model artifact": "c57b9c06d70b87dbf1dc64874de22f98b41b3d74867a881aa2dcd0132b239e5e", "Thursday": "fc2662062ffdef9610020183ea2b087c21d71150d78a7c7463be8a9050bd3ac9", + "Tied vote": "b781f33e7a2c04158bbbfa7e86dbc4d3fbf5b75643b4efdbea46d01f39cafa6b", "Time": "33b93476cf597a3330653b66a658983d892ac264b5d6029a2dc642b9b1f30870", "Timed out": "9718cc761cfd5810041ef007ae258fa1308b8487d0f30c5f36a442f8fe5f76c5", "Timeouts and execution policy": "8011c5fa4d20f9252aa923ae93fbef6f6b3f45f975388030c4a10a05001329cf", @@ -7434,6 +7435,7 @@ "Visible multi-reply cap": "266fa484b23648ac5fd4252b1b67558b1fa2927de86208091a2231723850c7df", "Voice input is not supported in this browser.": "198b64199a291c3eacfeaa9f0f268ed0166b0fa36e0e8e4e1084f3399eb15fd9", "Volcengine Ark OpenAI-compatible chat endpoint for Doubao models.": "4369fbabad7a4795ac4fbc796ab26e51c48121abec229b626b48117f510466ee", + "Vote quorum was not met": "22abe3f7bf05dd9981e3575b81db01f7a3adba195c4e79dba3fceb88b4503327", "Wait for attachments to finish uploading.": "f59647adc722dad97cc92e74053a08d8542e67f11cdf4864d06ef6da93e99974", "waiting": "80cfa3e7f28dde4df64436b652230aff28d7779116d1369c21ef2bbf37261d71", "Waiting": "6e293a8c009e001103199768f7bcbea1729c59f9fc1ef2748958757f47ab99ed", @@ -7460,6 +7462,7 @@ "Waiting for sign-in": "749a343a3a25c1df679ee6d6e74abb72e08ef956bfa15434407e61934dc054c9", "Waiting for system confirmation and Host readback...": "952e73792f0715e2d1f30ef0b0c03c4353cd9ab96caa71856bbce7dc41e2d161", "waiting for user input": "f43ef097687b1d8c8800577eefa3f7e10d0c82236cd0017f983d131e8e673174", + "Waiting for votes": "bbb50edc12d1ce791069a8e84ca6e73a255b796306d32cdc1414987b986e172f", "Waiting for workspace": "e682cb09e669c47785b8cb4b28fd43bc51c52636c3178e328477ce86f6a33aed", "Waiting reason": "17171d9f1f059dc74d257f1411452835b78655c83362fae4f2ae2e1e4d1d1c12", "Waiting to check the selected model": "9e16fc6ad7876a2c3467a66b1b0f0d37a9fb493569fc92e7fccb691c8baf193c", @@ -14775,6 +14778,7 @@ "Threat model": "Ohu mudel", "Threat model artifact": "Ohumudeli artefakt", "Thursday": "neljapäeval", + "Tied vote": "Võrdne hääl", "Time": "Aeg", "Timed out": "Aeg läbi", "Timeouts and execution policy": "Aegumised ja täitmise poliitika", @@ -15167,6 +15171,7 @@ "Visible multi-reply cap": "Nähtav mitme vastuse kork", "Voice input is not supported in this browser.": "See brauser ei toeta häälsisendit.", "Volcengine Ark OpenAI-compatible chat endpoint for Doubao models.": "Volcengine Ark OpenAI-ga ühilduv vestluse lõpp-punkt Doubao mudelitele.", + "Vote quorum was not met": "Hääletamise kvoorum ei olnud täidetud", "Wait for attachments to finish uploading.": "Oodake, kuni manuste üleslaadimine on lõppenud.", "waiting": "ootamas", "Waiting": "Ootan", @@ -15193,6 +15198,7 @@ "Waiting for sign-in": "Sisselogimise ootel", "Waiting for system confirmation and Host readback...": "Süsteemi kinnituse ja hosti lugemise ootel...", "waiting for user input": "ootab kasutaja sisestust", + "Waiting for votes": "Ootab hääli", "Waiting for workspace": "Tööruumi ootel", "Waiting reason": "Ootamise põhjus", "Waiting to check the selected model": "Ootab valitud mudeli kontrollimist", diff --git a/packages/localization/catalogs/fi-FI.json b/packages/localization/catalogs/fi-FI.json index b7caf622f..86fd73019 100644 --- a/packages/localization/catalogs/fi-FI.json +++ b/packages/localization/catalogs/fi-FI.json @@ -1,6 +1,6 @@ { "locale": "fi-FI", - "sourceRevision": "6468d2af71d2feb60f9b8c5f37bc2a3ff1177fb2c8b0d65e85002de6b1095cbb", + "sourceRevision": "e134cc889637523423524b121cf71dcb37afdd3d7daf48eaea975d1c39785b2e", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -7042,6 +7042,7 @@ "Threat model": "ac7c7cee765bae0828d383a6446e38ecdba0844e3c188c7008063c0bfe983c42", "Threat model artifact": "c57b9c06d70b87dbf1dc64874de22f98b41b3d74867a881aa2dcd0132b239e5e", "Thursday": "fc2662062ffdef9610020183ea2b087c21d71150d78a7c7463be8a9050bd3ac9", + "Tied vote": "b781f33e7a2c04158bbbfa7e86dbc4d3fbf5b75643b4efdbea46d01f39cafa6b", "Time": "33b93476cf597a3330653b66a658983d892ac264b5d6029a2dc642b9b1f30870", "Timed out": "9718cc761cfd5810041ef007ae258fa1308b8487d0f30c5f36a442f8fe5f76c5", "Timeouts and execution policy": "8011c5fa4d20f9252aa923ae93fbef6f6b3f45f975388030c4a10a05001329cf", @@ -7434,6 +7435,7 @@ "Visible multi-reply cap": "266fa484b23648ac5fd4252b1b67558b1fa2927de86208091a2231723850c7df", "Voice input is not supported in this browser.": "198b64199a291c3eacfeaa9f0f268ed0166b0fa36e0e8e4e1084f3399eb15fd9", "Volcengine Ark OpenAI-compatible chat endpoint for Doubao models.": "4369fbabad7a4795ac4fbc796ab26e51c48121abec229b626b48117f510466ee", + "Vote quorum was not met": "22abe3f7bf05dd9981e3575b81db01f7a3adba195c4e79dba3fceb88b4503327", "Wait for attachments to finish uploading.": "f59647adc722dad97cc92e74053a08d8542e67f11cdf4864d06ef6da93e99974", "waiting": "80cfa3e7f28dde4df64436b652230aff28d7779116d1369c21ef2bbf37261d71", "Waiting": "6e293a8c009e001103199768f7bcbea1729c59f9fc1ef2748958757f47ab99ed", @@ -7460,6 +7462,7 @@ "Waiting for sign-in": "749a343a3a25c1df679ee6d6e74abb72e08ef956bfa15434407e61934dc054c9", "Waiting for system confirmation and Host readback...": "952e73792f0715e2d1f30ef0b0c03c4353cd9ab96caa71856bbce7dc41e2d161", "waiting for user input": "f43ef097687b1d8c8800577eefa3f7e10d0c82236cd0017f983d131e8e673174", + "Waiting for votes": "bbb50edc12d1ce791069a8e84ca6e73a255b796306d32cdc1414987b986e172f", "Waiting for workspace": "e682cb09e669c47785b8cb4b28fd43bc51c52636c3178e328477ce86f6a33aed", "Waiting reason": "17171d9f1f059dc74d257f1411452835b78655c83362fae4f2ae2e1e4d1d1c12", "Waiting to check the selected model": "9e16fc6ad7876a2c3467a66b1b0f0d37a9fb493569fc92e7fccb691c8baf193c", @@ -14775,6 +14778,7 @@ "Threat model": "Uhkamalli", "Threat model artifact": "Uhkamallin artefakti", "Thursday": "torstai", + "Tied vote": "Tasainen äänestys", "Time": "Aika", "Timed out": "Aikakatkaisu", "Timeouts and execution policy": "Aikakatkaisut ja toteutuskäytäntö", @@ -15167,6 +15171,7 @@ "Visible multi-reply cap": "Näkyvä usean vastauksen korkki", "Voice input is not supported in this browser.": "Äänisyöttöä ei tueta tässä selaimessa.", "Volcengine Ark OpenAI-compatible chat endpoint for Doubao models.": "Volcengine Ark OpenAI -yhteensopiva chat-päätepiste Doubao-malleille.", + "Vote quorum was not met": "Äänestyspäätösvaltaisuus ei täyttynyt", "Wait for attachments to finish uploading.": "Odota, että liitteiden lataus on valmis.", "waiting": "odottaa", "Waiting": "Odottaa", @@ -15193,6 +15198,7 @@ "Waiting for sign-in": "Odotetaan kirjautumista", "Waiting for system confirmation and Host readback...": "Odotetaan järjestelmän vahvistusta ja isännän uudelleenlukua...", "waiting for user input": "odottaa käyttäjän syöttöä", + "Waiting for votes": "Ääniä odotellessa", "Waiting for workspace": "Työtilaa odotellessa", "Waiting reason": "Odottava syy", "Waiting to check the selected model": "Odotetaan valitun mallin tarkistamista", diff --git a/packages/localization/catalogs/fr-CA.json b/packages/localization/catalogs/fr-CA.json index a83c77bf9..24b31110f 100644 --- a/packages/localization/catalogs/fr-CA.json +++ b/packages/localization/catalogs/fr-CA.json @@ -1,6 +1,6 @@ { "locale": "fr-CA", - "sourceRevision": "6468d2af71d2feb60f9b8c5f37bc2a3ff1177fb2c8b0d65e85002de6b1095cbb", + "sourceRevision": "e134cc889637523423524b121cf71dcb37afdd3d7daf48eaea975d1c39785b2e", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -7042,6 +7042,7 @@ "Threat model": "ac7c7cee765bae0828d383a6446e38ecdba0844e3c188c7008063c0bfe983c42", "Threat model artifact": "c57b9c06d70b87dbf1dc64874de22f98b41b3d74867a881aa2dcd0132b239e5e", "Thursday": "fc2662062ffdef9610020183ea2b087c21d71150d78a7c7463be8a9050bd3ac9", + "Tied vote": "b781f33e7a2c04158bbbfa7e86dbc4d3fbf5b75643b4efdbea46d01f39cafa6b", "Time": "33b93476cf597a3330653b66a658983d892ac264b5d6029a2dc642b9b1f30870", "Timed out": "9718cc761cfd5810041ef007ae258fa1308b8487d0f30c5f36a442f8fe5f76c5", "Timeouts and execution policy": "8011c5fa4d20f9252aa923ae93fbef6f6b3f45f975388030c4a10a05001329cf", @@ -7434,6 +7435,7 @@ "Visible multi-reply cap": "266fa484b23648ac5fd4252b1b67558b1fa2927de86208091a2231723850c7df", "Voice input is not supported in this browser.": "198b64199a291c3eacfeaa9f0f268ed0166b0fa36e0e8e4e1084f3399eb15fd9", "Volcengine Ark OpenAI-compatible chat endpoint for Doubao models.": "4369fbabad7a4795ac4fbc796ab26e51c48121abec229b626b48117f510466ee", + "Vote quorum was not met": "22abe3f7bf05dd9981e3575b81db01f7a3adba195c4e79dba3fceb88b4503327", "Wait for attachments to finish uploading.": "f59647adc722dad97cc92e74053a08d8542e67f11cdf4864d06ef6da93e99974", "waiting": "80cfa3e7f28dde4df64436b652230aff28d7779116d1369c21ef2bbf37261d71", "Waiting": "6e293a8c009e001103199768f7bcbea1729c59f9fc1ef2748958757f47ab99ed", @@ -7460,6 +7462,7 @@ "Waiting for sign-in": "749a343a3a25c1df679ee6d6e74abb72e08ef956bfa15434407e61934dc054c9", "Waiting for system confirmation and Host readback...": "952e73792f0715e2d1f30ef0b0c03c4353cd9ab96caa71856bbce7dc41e2d161", "waiting for user input": "f43ef097687b1d8c8800577eefa3f7e10d0c82236cd0017f983d131e8e673174", + "Waiting for votes": "bbb50edc12d1ce791069a8e84ca6e73a255b796306d32cdc1414987b986e172f", "Waiting for workspace": "e682cb09e669c47785b8cb4b28fd43bc51c52636c3178e328477ce86f6a33aed", "Waiting reason": "17171d9f1f059dc74d257f1411452835b78655c83362fae4f2ae2e1e4d1d1c12", "Waiting to check the selected model": "9e16fc6ad7876a2c3467a66b1b0f0d37a9fb493569fc92e7fccb691c8baf193c", @@ -14775,6 +14778,7 @@ "Threat model": "Modèle de menace", "Threat model artifact": "Artefact du modèle de menace", "Thursday": "jeudi", + "Tied vote": "Vote à égalité", "Time": "Temps", "Timed out": "Délai expiré", "Timeouts and execution policy": "Délais d'attente et politique d'exécution", @@ -15167,6 +15171,7 @@ "Visible multi-reply cap": "Casquette multi-réponse visible", "Voice input is not supported in this browser.": "La saisie vocale n'est pas prise en charge dans ce navigateur.", "Volcengine Ark OpenAI-compatible chat endpoint for Doubao models.": "Point de terminaison de discussion compatible Volcengine Ark OpenAI pour les modèles Doubao.", + "Vote quorum was not met": "Le quorum de vote n'a pas été atteint", "Wait for attachments to finish uploading.": "Attendez que les pièces jointes terminent le téléchargement.", "waiting": "attendre", "Waiting": "Attendre", @@ -15193,6 +15198,7 @@ "Waiting for sign-in": "En attente de connexion", "Waiting for system confirmation and Host readback...": "En attente de confirmation du système et de relecture de l'hôte...", "waiting for user input": "en attente de la saisie de l'utilisateur", + "Waiting for votes": "En attendant les votes", "Waiting for workspace": "En attente d'un espace de travail", "Waiting reason": "Raison d'attente", "Waiting to check the selected model": "En attente de vérifier le modèle sélectionné", diff --git a/packages/localization/catalogs/fr-FR.json b/packages/localization/catalogs/fr-FR.json index 0248b76db..42acbc81f 100644 --- a/packages/localization/catalogs/fr-FR.json +++ b/packages/localization/catalogs/fr-FR.json @@ -1,6 +1,6 @@ { "locale": "fr-FR", - "sourceRevision": "6468d2af71d2feb60f9b8c5f37bc2a3ff1177fb2c8b0d65e85002de6b1095cbb", + "sourceRevision": "e134cc889637523423524b121cf71dcb37afdd3d7daf48eaea975d1c39785b2e", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -7042,6 +7042,7 @@ "Threat model": "ac7c7cee765bae0828d383a6446e38ecdba0844e3c188c7008063c0bfe983c42", "Threat model artifact": "c57b9c06d70b87dbf1dc64874de22f98b41b3d74867a881aa2dcd0132b239e5e", "Thursday": "fc2662062ffdef9610020183ea2b087c21d71150d78a7c7463be8a9050bd3ac9", + "Tied vote": "b781f33e7a2c04158bbbfa7e86dbc4d3fbf5b75643b4efdbea46d01f39cafa6b", "Time": "33b93476cf597a3330653b66a658983d892ac264b5d6029a2dc642b9b1f30870", "Timed out": "9718cc761cfd5810041ef007ae258fa1308b8487d0f30c5f36a442f8fe5f76c5", "Timeouts and execution policy": "8011c5fa4d20f9252aa923ae93fbef6f6b3f45f975388030c4a10a05001329cf", @@ -7434,6 +7435,7 @@ "Visible multi-reply cap": "266fa484b23648ac5fd4252b1b67558b1fa2927de86208091a2231723850c7df", "Voice input is not supported in this browser.": "198b64199a291c3eacfeaa9f0f268ed0166b0fa36e0e8e4e1084f3399eb15fd9", "Volcengine Ark OpenAI-compatible chat endpoint for Doubao models.": "4369fbabad7a4795ac4fbc796ab26e51c48121abec229b626b48117f510466ee", + "Vote quorum was not met": "22abe3f7bf05dd9981e3575b81db01f7a3adba195c4e79dba3fceb88b4503327", "Wait for attachments to finish uploading.": "f59647adc722dad97cc92e74053a08d8542e67f11cdf4864d06ef6da93e99974", "waiting": "80cfa3e7f28dde4df64436b652230aff28d7779116d1369c21ef2bbf37261d71", "Waiting": "6e293a8c009e001103199768f7bcbea1729c59f9fc1ef2748958757f47ab99ed", @@ -7460,6 +7462,7 @@ "Waiting for sign-in": "749a343a3a25c1df679ee6d6e74abb72e08ef956bfa15434407e61934dc054c9", "Waiting for system confirmation and Host readback...": "952e73792f0715e2d1f30ef0b0c03c4353cd9ab96caa71856bbce7dc41e2d161", "waiting for user input": "f43ef097687b1d8c8800577eefa3f7e10d0c82236cd0017f983d131e8e673174", + "Waiting for votes": "bbb50edc12d1ce791069a8e84ca6e73a255b796306d32cdc1414987b986e172f", "Waiting for workspace": "e682cb09e669c47785b8cb4b28fd43bc51c52636c3178e328477ce86f6a33aed", "Waiting reason": "17171d9f1f059dc74d257f1411452835b78655c83362fae4f2ae2e1e4d1d1c12", "Waiting to check the selected model": "9e16fc6ad7876a2c3467a66b1b0f0d37a9fb493569fc92e7fccb691c8baf193c", @@ -14775,6 +14778,7 @@ "Threat model": "Modèle de menace", "Threat model artifact": "Artefact du modèle de menace", "Thursday": "Jeudi", + "Tied vote": "Vote à égalité", "Time": "Temps", "Timed out": "Délai expiré", "Timeouts and execution policy": "Délais d’attente et politique d’exécution", @@ -15167,6 +15171,7 @@ "Visible multi-reply cap": "Casquette multi-réponse visible", "Voice input is not supported in this browser.": "La saisie vocale n'est pas prise en charge dans ce navigateur.", "Volcengine Ark OpenAI-compatible chat endpoint for Doubao models.": "Point de terminaison de discussion compatible Volcengine Ark OpenAI pour les modèles Doubao.", + "Vote quorum was not met": "Le quorum de vote n'a pas été atteint", "Wait for attachments to finish uploading.": "Attendez que les pièces jointes terminent le téléchargement.", "waiting": "en attendant", "Waiting": "En attendant", @@ -15193,6 +15198,7 @@ "Waiting for sign-in": "En attente de connexion", "Waiting for system confirmation and Host readback...": "En attente de confirmation du système et de relecture de l'hôte...", "waiting for user input": "en attente de la saisie de l'utilisateur", + "Waiting for votes": "En attendant les votes", "Waiting for workspace": "En attente d'un espace de travail", "Waiting reason": "Raison d'attente", "Waiting to check the selected model": "En attente de vérifier le modèle sélectionné", diff --git a/packages/localization/catalogs/gu-IN.json b/packages/localization/catalogs/gu-IN.json index 0ba5e0204..bcf07d3b9 100644 --- a/packages/localization/catalogs/gu-IN.json +++ b/packages/localization/catalogs/gu-IN.json @@ -1,6 +1,6 @@ { "locale": "gu-IN", - "sourceRevision": "6468d2af71d2feb60f9b8c5f37bc2a3ff1177fb2c8b0d65e85002de6b1095cbb", + "sourceRevision": "e134cc889637523423524b121cf71dcb37afdd3d7daf48eaea975d1c39785b2e", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -7042,6 +7042,7 @@ "Threat model": "ac7c7cee765bae0828d383a6446e38ecdba0844e3c188c7008063c0bfe983c42", "Threat model artifact": "c57b9c06d70b87dbf1dc64874de22f98b41b3d74867a881aa2dcd0132b239e5e", "Thursday": "fc2662062ffdef9610020183ea2b087c21d71150d78a7c7463be8a9050bd3ac9", + "Tied vote": "b781f33e7a2c04158bbbfa7e86dbc4d3fbf5b75643b4efdbea46d01f39cafa6b", "Time": "33b93476cf597a3330653b66a658983d892ac264b5d6029a2dc642b9b1f30870", "Timed out": "9718cc761cfd5810041ef007ae258fa1308b8487d0f30c5f36a442f8fe5f76c5", "Timeouts and execution policy": "8011c5fa4d20f9252aa923ae93fbef6f6b3f45f975388030c4a10a05001329cf", @@ -7434,6 +7435,7 @@ "Visible multi-reply cap": "266fa484b23648ac5fd4252b1b67558b1fa2927de86208091a2231723850c7df", "Voice input is not supported in this browser.": "198b64199a291c3eacfeaa9f0f268ed0166b0fa36e0e8e4e1084f3399eb15fd9", "Volcengine Ark OpenAI-compatible chat endpoint for Doubao models.": "4369fbabad7a4795ac4fbc796ab26e51c48121abec229b626b48117f510466ee", + "Vote quorum was not met": "22abe3f7bf05dd9981e3575b81db01f7a3adba195c4e79dba3fceb88b4503327", "Wait for attachments to finish uploading.": "f59647adc722dad97cc92e74053a08d8542e67f11cdf4864d06ef6da93e99974", "waiting": "80cfa3e7f28dde4df64436b652230aff28d7779116d1369c21ef2bbf37261d71", "Waiting": "6e293a8c009e001103199768f7bcbea1729c59f9fc1ef2748958757f47ab99ed", @@ -7460,6 +7462,7 @@ "Waiting for sign-in": "749a343a3a25c1df679ee6d6e74abb72e08ef956bfa15434407e61934dc054c9", "Waiting for system confirmation and Host readback...": "952e73792f0715e2d1f30ef0b0c03c4353cd9ab96caa71856bbce7dc41e2d161", "waiting for user input": "f43ef097687b1d8c8800577eefa3f7e10d0c82236cd0017f983d131e8e673174", + "Waiting for votes": "bbb50edc12d1ce791069a8e84ca6e73a255b796306d32cdc1414987b986e172f", "Waiting for workspace": "e682cb09e669c47785b8cb4b28fd43bc51c52636c3178e328477ce86f6a33aed", "Waiting reason": "17171d9f1f059dc74d257f1411452835b78655c83362fae4f2ae2e1e4d1d1c12", "Waiting to check the selected model": "9e16fc6ad7876a2c3467a66b1b0f0d37a9fb493569fc92e7fccb691c8baf193c", @@ -14775,6 +14778,7 @@ "Threat model": "ધમકી મોડેલ", "Threat model artifact": "થ્રેટ મોડલ આર્ટિફેક્ટ", "Thursday": "ગુરુવાર", + "Tied vote": "ટાઈ વોટ", "Time": "સમય", "Timed out": "સમય સમાપ્ત થયો", "Timeouts and execution policy": "સમયસમાપ્તિ અને અમલ નીતિ", @@ -15167,6 +15171,7 @@ "Visible multi-reply cap": "દૃશ્યમાન બહુ-જવાબ કેપ", "Voice input is not supported in this browser.": "આ બ્રાઉઝરમાં વૉઇસ ઇનપુટ સપોર્ટેડ નથી.", "Volcengine Ark OpenAI-compatible chat endpoint for Doubao models.": "Doubao મોડલ્સ માટે Volcengine Ark OpenAI- સુસંગત ચેટ એન્ડપોઇન્ટ.", + "Vote quorum was not met": "મતદાનનો કોરમ પુરો થયો ન હતો", "Wait for attachments to finish uploading.": "જોડાણો અપલોડ કરવાનું સમાપ્ત થાય ત્યાં સુધી રાહ જુઓ.", "waiting": "રાહ જોવી", "Waiting": "રાહ જોઈ રહ્યા છે", @@ -15193,6 +15198,7 @@ "Waiting for sign-in": "સાઇન-ઇનની રાહ જોઈ રહ્યાં છીએ", "Waiting for system confirmation and Host readback...": "સિસ્ટમ કન્ફર્મેશન અને હોસ્ટ રીડબેકની રાહ જોઈ રહ્યાં છીએ...", "waiting for user input": "વપરાશકર્તા ઇનપુટ માટે રાહ જોઈ રહ્યું છે", + "Waiting for votes": "વોટની રાહ જોઈ રહ્યા છીએ", "Waiting for workspace": "કાર્યસ્થળની રાહ જોઈ રહ્યાં છીએ", "Waiting reason": "રાહ જોવાનું કારણ", "Waiting to check the selected model": "પસંદ કરેલ મોડેલ તપાસવાની રાહ જોઈ રહ્યાં છીએ", diff --git a/packages/localization/catalogs/hi-IN.json b/packages/localization/catalogs/hi-IN.json index 1bc8a6fe1..163e102fd 100644 --- a/packages/localization/catalogs/hi-IN.json +++ b/packages/localization/catalogs/hi-IN.json @@ -1,6 +1,6 @@ { "locale": "hi-IN", - "sourceRevision": "6468d2af71d2feb60f9b8c5f37bc2a3ff1177fb2c8b0d65e85002de6b1095cbb", + "sourceRevision": "e134cc889637523423524b121cf71dcb37afdd3d7daf48eaea975d1c39785b2e", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -7042,6 +7042,7 @@ "Threat model": "ac7c7cee765bae0828d383a6446e38ecdba0844e3c188c7008063c0bfe983c42", "Threat model artifact": "c57b9c06d70b87dbf1dc64874de22f98b41b3d74867a881aa2dcd0132b239e5e", "Thursday": "fc2662062ffdef9610020183ea2b087c21d71150d78a7c7463be8a9050bd3ac9", + "Tied vote": "b781f33e7a2c04158bbbfa7e86dbc4d3fbf5b75643b4efdbea46d01f39cafa6b", "Time": "33b93476cf597a3330653b66a658983d892ac264b5d6029a2dc642b9b1f30870", "Timed out": "9718cc761cfd5810041ef007ae258fa1308b8487d0f30c5f36a442f8fe5f76c5", "Timeouts and execution policy": "8011c5fa4d20f9252aa923ae93fbef6f6b3f45f975388030c4a10a05001329cf", @@ -7434,6 +7435,7 @@ "Visible multi-reply cap": "266fa484b23648ac5fd4252b1b67558b1fa2927de86208091a2231723850c7df", "Voice input is not supported in this browser.": "198b64199a291c3eacfeaa9f0f268ed0166b0fa36e0e8e4e1084f3399eb15fd9", "Volcengine Ark OpenAI-compatible chat endpoint for Doubao models.": "4369fbabad7a4795ac4fbc796ab26e51c48121abec229b626b48117f510466ee", + "Vote quorum was not met": "22abe3f7bf05dd9981e3575b81db01f7a3adba195c4e79dba3fceb88b4503327", "Wait for attachments to finish uploading.": "f59647adc722dad97cc92e74053a08d8542e67f11cdf4864d06ef6da93e99974", "waiting": "80cfa3e7f28dde4df64436b652230aff28d7779116d1369c21ef2bbf37261d71", "Waiting": "6e293a8c009e001103199768f7bcbea1729c59f9fc1ef2748958757f47ab99ed", @@ -7460,6 +7462,7 @@ "Waiting for sign-in": "749a343a3a25c1df679ee6d6e74abb72e08ef956bfa15434407e61934dc054c9", "Waiting for system confirmation and Host readback...": "952e73792f0715e2d1f30ef0b0c03c4353cd9ab96caa71856bbce7dc41e2d161", "waiting for user input": "f43ef097687b1d8c8800577eefa3f7e10d0c82236cd0017f983d131e8e673174", + "Waiting for votes": "bbb50edc12d1ce791069a8e84ca6e73a255b796306d32cdc1414987b986e172f", "Waiting for workspace": "e682cb09e669c47785b8cb4b28fd43bc51c52636c3178e328477ce86f6a33aed", "Waiting reason": "17171d9f1f059dc74d257f1411452835b78655c83362fae4f2ae2e1e4d1d1c12", "Waiting to check the selected model": "9e16fc6ad7876a2c3467a66b1b0f0d37a9fb493569fc92e7fccb691c8baf193c", @@ -14775,6 +14778,7 @@ "Threat model": "खतरा मॉडल", "Threat model artifact": "खतरा मॉडल विरूपण साक्ष्य", "Thursday": "गुरुवार", + "Tied vote": "बंधा हुआ वोट", "Time": "समय", "Timed out": "समय समााप्त", "Timeouts and execution policy": "टाइमआउट और निष्पादन नीति", @@ -15167,6 +15171,7 @@ "Visible multi-reply cap": "दृश्यमान बहु-उत्तर टोपी", "Voice input is not supported in this browser.": "इस ब्राउज़र में ध्वनि इनपुट समर्थित नहीं है.", "Volcengine Ark OpenAI-compatible chat endpoint for Doubao models.": "डौबाओ मॉडल के लिए वोल्सेंगाइन आर्क ओपनएआई-संगत चैट एंडपॉइंट।", + "Vote quorum was not met": "वोट का कोरम पूरा नहीं हुआ", "Wait for attachments to finish uploading.": "अनुलग्नकों के अपलोड होने तक प्रतीक्षा करें.", "waiting": "इंतज़ार में", "Waiting": "इंतज़ार में", @@ -15193,6 +15198,7 @@ "Waiting for sign-in": "साइन-इन की प्रतीक्षा की जा रही है", "Waiting for system confirmation and Host readback...": "सिस्टम पुष्टिकरण और होस्ट रीडबैक की प्रतीक्षा की जा रही है...", "waiting for user input": "उपयोगकर्ता प्रतिसाद के लिए प्रतीक्षारत", + "Waiting for votes": "वोट का इंतजार है", "Waiting for workspace": "कार्यक्षेत्र की प्रतीक्षा की जा रही है", "Waiting reason": "प्रतीक्षा का कारण", "Waiting to check the selected model": "चयनित मॉडल की जाँच की प्रतीक्षा की जा रही है", diff --git a/packages/localization/catalogs/hr-HR.json b/packages/localization/catalogs/hr-HR.json index 5fd0c3342..070d76513 100644 --- a/packages/localization/catalogs/hr-HR.json +++ b/packages/localization/catalogs/hr-HR.json @@ -1,6 +1,6 @@ { "locale": "hr-HR", - "sourceRevision": "6468d2af71d2feb60f9b8c5f37bc2a3ff1177fb2c8b0d65e85002de6b1095cbb", + "sourceRevision": "e134cc889637523423524b121cf71dcb37afdd3d7daf48eaea975d1c39785b2e", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -7042,6 +7042,7 @@ "Threat model": "ac7c7cee765bae0828d383a6446e38ecdba0844e3c188c7008063c0bfe983c42", "Threat model artifact": "c57b9c06d70b87dbf1dc64874de22f98b41b3d74867a881aa2dcd0132b239e5e", "Thursday": "fc2662062ffdef9610020183ea2b087c21d71150d78a7c7463be8a9050bd3ac9", + "Tied vote": "b781f33e7a2c04158bbbfa7e86dbc4d3fbf5b75643b4efdbea46d01f39cafa6b", "Time": "33b93476cf597a3330653b66a658983d892ac264b5d6029a2dc642b9b1f30870", "Timed out": "9718cc761cfd5810041ef007ae258fa1308b8487d0f30c5f36a442f8fe5f76c5", "Timeouts and execution policy": "8011c5fa4d20f9252aa923ae93fbef6f6b3f45f975388030c4a10a05001329cf", @@ -7434,6 +7435,7 @@ "Visible multi-reply cap": "266fa484b23648ac5fd4252b1b67558b1fa2927de86208091a2231723850c7df", "Voice input is not supported in this browser.": "198b64199a291c3eacfeaa9f0f268ed0166b0fa36e0e8e4e1084f3399eb15fd9", "Volcengine Ark OpenAI-compatible chat endpoint for Doubao models.": "4369fbabad7a4795ac4fbc796ab26e51c48121abec229b626b48117f510466ee", + "Vote quorum was not met": "22abe3f7bf05dd9981e3575b81db01f7a3adba195c4e79dba3fceb88b4503327", "Wait for attachments to finish uploading.": "f59647adc722dad97cc92e74053a08d8542e67f11cdf4864d06ef6da93e99974", "waiting": "80cfa3e7f28dde4df64436b652230aff28d7779116d1369c21ef2bbf37261d71", "Waiting": "6e293a8c009e001103199768f7bcbea1729c59f9fc1ef2748958757f47ab99ed", @@ -7460,6 +7462,7 @@ "Waiting for sign-in": "749a343a3a25c1df679ee6d6e74abb72e08ef956bfa15434407e61934dc054c9", "Waiting for system confirmation and Host readback...": "952e73792f0715e2d1f30ef0b0c03c4353cd9ab96caa71856bbce7dc41e2d161", "waiting for user input": "f43ef097687b1d8c8800577eefa3f7e10d0c82236cd0017f983d131e8e673174", + "Waiting for votes": "bbb50edc12d1ce791069a8e84ca6e73a255b796306d32cdc1414987b986e172f", "Waiting for workspace": "e682cb09e669c47785b8cb4b28fd43bc51c52636c3178e328477ce86f6a33aed", "Waiting reason": "17171d9f1f059dc74d257f1411452835b78655c83362fae4f2ae2e1e4d1d1c12", "Waiting to check the selected model": "9e16fc6ad7876a2c3467a66b1b0f0d37a9fb493569fc92e7fccb691c8baf193c", @@ -14775,6 +14778,7 @@ "Threat model": "Model prijetnje", "Threat model artifact": "Artefakt modela prijetnje", "Thursday": "četvrtak", + "Tied vote": "Izjednačeno glasanje", "Time": "Vrijeme", "Timed out": "Isteklo vrijeme", "Timeouts and execution policy": "Timeouts i politika izvršavanja", @@ -15167,6 +15171,7 @@ "Visible multi-reply cap": "Vidljiva kapa za više odgovora", "Voice input is not supported in this browser.": "Glasovni unos nije podržan u ovom pregledniku.", "Volcengine Ark OpenAI-compatible chat endpoint for Doubao models.": "Krajnja točka za chat kompatibilna s Volcengine Ark OpenAI za Doubao modele.", + "Vote quorum was not met": "Kvorum za glasovanje nije postignut", "Wait for attachments to finish uploading.": "Pričekajte da se završi učitavanje privitaka.", "waiting": "čekajući", "Waiting": "Čekanje", @@ -15193,6 +15198,7 @@ "Waiting for sign-in": "Čeka se prijava", "Waiting for system confirmation and Host readback...": "Čeka se potvrda sustava i povratno čitanje hosta...", "waiting for user input": "čekanje korisničkog unosa", + "Waiting for votes": "Čekaju se glasovi", "Waiting for workspace": "Čeka se radni prostor", "Waiting reason": "Razlog čekanja", "Waiting to check the selected model": "Čeka se provjera odabranog modela", diff --git a/packages/localization/catalogs/hu-HU.json b/packages/localization/catalogs/hu-HU.json index 3cdddecc3..ed992d8db 100644 --- a/packages/localization/catalogs/hu-HU.json +++ b/packages/localization/catalogs/hu-HU.json @@ -1,6 +1,6 @@ { "locale": "hu-HU", - "sourceRevision": "6468d2af71d2feb60f9b8c5f37bc2a3ff1177fb2c8b0d65e85002de6b1095cbb", + "sourceRevision": "e134cc889637523423524b121cf71dcb37afdd3d7daf48eaea975d1c39785b2e", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -7042,6 +7042,7 @@ "Threat model": "ac7c7cee765bae0828d383a6446e38ecdba0844e3c188c7008063c0bfe983c42", "Threat model artifact": "c57b9c06d70b87dbf1dc64874de22f98b41b3d74867a881aa2dcd0132b239e5e", "Thursday": "fc2662062ffdef9610020183ea2b087c21d71150d78a7c7463be8a9050bd3ac9", + "Tied vote": "b781f33e7a2c04158bbbfa7e86dbc4d3fbf5b75643b4efdbea46d01f39cafa6b", "Time": "33b93476cf597a3330653b66a658983d892ac264b5d6029a2dc642b9b1f30870", "Timed out": "9718cc761cfd5810041ef007ae258fa1308b8487d0f30c5f36a442f8fe5f76c5", "Timeouts and execution policy": "8011c5fa4d20f9252aa923ae93fbef6f6b3f45f975388030c4a10a05001329cf", @@ -7434,6 +7435,7 @@ "Visible multi-reply cap": "266fa484b23648ac5fd4252b1b67558b1fa2927de86208091a2231723850c7df", "Voice input is not supported in this browser.": "198b64199a291c3eacfeaa9f0f268ed0166b0fa36e0e8e4e1084f3399eb15fd9", "Volcengine Ark OpenAI-compatible chat endpoint for Doubao models.": "4369fbabad7a4795ac4fbc796ab26e51c48121abec229b626b48117f510466ee", + "Vote quorum was not met": "22abe3f7bf05dd9981e3575b81db01f7a3adba195c4e79dba3fceb88b4503327", "Wait for attachments to finish uploading.": "f59647adc722dad97cc92e74053a08d8542e67f11cdf4864d06ef6da93e99974", "waiting": "80cfa3e7f28dde4df64436b652230aff28d7779116d1369c21ef2bbf37261d71", "Waiting": "6e293a8c009e001103199768f7bcbea1729c59f9fc1ef2748958757f47ab99ed", @@ -7460,6 +7462,7 @@ "Waiting for sign-in": "749a343a3a25c1df679ee6d6e74abb72e08ef956bfa15434407e61934dc054c9", "Waiting for system confirmation and Host readback...": "952e73792f0715e2d1f30ef0b0c03c4353cd9ab96caa71856bbce7dc41e2d161", "waiting for user input": "f43ef097687b1d8c8800577eefa3f7e10d0c82236cd0017f983d131e8e673174", + "Waiting for votes": "bbb50edc12d1ce791069a8e84ca6e73a255b796306d32cdc1414987b986e172f", "Waiting for workspace": "e682cb09e669c47785b8cb4b28fd43bc51c52636c3178e328477ce86f6a33aed", "Waiting reason": "17171d9f1f059dc74d257f1411452835b78655c83362fae4f2ae2e1e4d1d1c12", "Waiting to check the selected model": "9e16fc6ad7876a2c3467a66b1b0f0d37a9fb493569fc92e7fccb691c8baf193c", @@ -14775,6 +14778,7 @@ "Threat model": "Fenyegetés modell", "Threat model artifact": "Fenyegető modell műtermék", "Thursday": "csütörtök", + "Tied vote": "Szavazategyenlőség", "Time": "Idő", "Timed out": "Időtúllépés", "Timeouts and execution policy": "Időtúllépések és végrehajtási szabályzat", @@ -15167,6 +15171,7 @@ "Visible multi-reply cap": "Látható többszörös válaszsapka", "Voice input is not supported in this browser.": "Ez a böngésző nem támogatja a hangbevitelt.", "Volcengine Ark OpenAI-compatible chat endpoint for Doubao models.": "Volcengine Ark OpenAI-kompatibilis csevegési végpont Doubao modellekhez.", + "Vote quorum was not met": "Nem volt határozatképes a szavazás", "Wait for attachments to finish uploading.": "Várja meg, amíg a mellékletek feltöltése befejeződik.", "waiting": "várakozás", "Waiting": "Várakozás", @@ -15193,6 +15198,7 @@ "Waiting for sign-in": "Várakozás a bejelentkezésre", "Waiting for system confirmation and Host readback...": "Várakozás a rendszer megerősítésére és a gazdagép visszaolvasására...", "waiting for user input": "felhasználói bevitelre vár", + "Waiting for votes": "Szavazatokra várva", "Waiting for workspace": "Várakozás a munkaterületre", "Waiting reason": "Várakozó ok", "Waiting to check the selected model": "Várakozás a kiválasztott modell ellenőrzésére", diff --git a/packages/localization/catalogs/hy-AM.json b/packages/localization/catalogs/hy-AM.json index 3f61740bd..31d9b358b 100644 --- a/packages/localization/catalogs/hy-AM.json +++ b/packages/localization/catalogs/hy-AM.json @@ -1,6 +1,6 @@ { "locale": "hy-AM", - "sourceRevision": "6468d2af71d2feb60f9b8c5f37bc2a3ff1177fb2c8b0d65e85002de6b1095cbb", + "sourceRevision": "e134cc889637523423524b121cf71dcb37afdd3d7daf48eaea975d1c39785b2e", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -7042,6 +7042,7 @@ "Threat model": "ac7c7cee765bae0828d383a6446e38ecdba0844e3c188c7008063c0bfe983c42", "Threat model artifact": "c57b9c06d70b87dbf1dc64874de22f98b41b3d74867a881aa2dcd0132b239e5e", "Thursday": "fc2662062ffdef9610020183ea2b087c21d71150d78a7c7463be8a9050bd3ac9", + "Tied vote": "b781f33e7a2c04158bbbfa7e86dbc4d3fbf5b75643b4efdbea46d01f39cafa6b", "Time": "33b93476cf597a3330653b66a658983d892ac264b5d6029a2dc642b9b1f30870", "Timed out": "9718cc761cfd5810041ef007ae258fa1308b8487d0f30c5f36a442f8fe5f76c5", "Timeouts and execution policy": "8011c5fa4d20f9252aa923ae93fbef6f6b3f45f975388030c4a10a05001329cf", @@ -7434,6 +7435,7 @@ "Visible multi-reply cap": "266fa484b23648ac5fd4252b1b67558b1fa2927de86208091a2231723850c7df", "Voice input is not supported in this browser.": "198b64199a291c3eacfeaa9f0f268ed0166b0fa36e0e8e4e1084f3399eb15fd9", "Volcengine Ark OpenAI-compatible chat endpoint for Doubao models.": "4369fbabad7a4795ac4fbc796ab26e51c48121abec229b626b48117f510466ee", + "Vote quorum was not met": "22abe3f7bf05dd9981e3575b81db01f7a3adba195c4e79dba3fceb88b4503327", "Wait for attachments to finish uploading.": "f59647adc722dad97cc92e74053a08d8542e67f11cdf4864d06ef6da93e99974", "waiting": "80cfa3e7f28dde4df64436b652230aff28d7779116d1369c21ef2bbf37261d71", "Waiting": "6e293a8c009e001103199768f7bcbea1729c59f9fc1ef2748958757f47ab99ed", @@ -7460,6 +7462,7 @@ "Waiting for sign-in": "749a343a3a25c1df679ee6d6e74abb72e08ef956bfa15434407e61934dc054c9", "Waiting for system confirmation and Host readback...": "952e73792f0715e2d1f30ef0b0c03c4353cd9ab96caa71856bbce7dc41e2d161", "waiting for user input": "f43ef097687b1d8c8800577eefa3f7e10d0c82236cd0017f983d131e8e673174", + "Waiting for votes": "bbb50edc12d1ce791069a8e84ca6e73a255b796306d32cdc1414987b986e172f", "Waiting for workspace": "e682cb09e669c47785b8cb4b28fd43bc51c52636c3178e328477ce86f6a33aed", "Waiting reason": "17171d9f1f059dc74d257f1411452835b78655c83362fae4f2ae2e1e4d1d1c12", "Waiting to check the selected model": "9e16fc6ad7876a2c3467a66b1b0f0d37a9fb493569fc92e7fccb691c8baf193c", @@ -14775,6 +14778,7 @@ "Threat model": "Սպառնալիքի մոդել", "Threat model artifact": "Սպառնալիքի մոդելի արտեֆակտ", "Thursday": "հինգշաբթի", + "Tied vote": "Ոչ-ոքի ձայն", "Time": "Ժամանակը", "Timed out": "Ժամանակը սպառվել է", "Timeouts and execution policy": "Ժամանակահատվածներ և կատարման քաղաքականություն", @@ -15167,6 +15171,7 @@ "Visible multi-reply cap": "Տեսանելի բազմակի պատասխան գլխարկ", "Voice input is not supported in this browser.": "Ձայնային մուտքագրումը չի աջակցվում այս դիտարկիչում:", "Volcengine Ark OpenAI-compatible chat endpoint for Doubao models.": "Volcengine Ark OpenAI-ի հետ համատեղելի զրույցի վերջնակետ Doubao մոդելների համար:", + "Vote quorum was not met": "Քվեարկության քվորումը չի ապահովվել", "Wait for attachments to finish uploading.": "Սպասեք, մինչև կցորդներն ավարտեն վերբեռնումը:", "waiting": "սպասում", "Waiting": "Սպասում", @@ -15193,6 +15198,7 @@ "Waiting for sign-in": "Սպասում է մուտքի", "Waiting for system confirmation and Host readback...": "Սպասում է համակարգի հաստատմանը և Հոսթի հետադարձ ընթերցմանը...", "waiting for user input": "սպասում է օգտվողի մուտքագրմանը", + "Waiting for votes": "Սպասում ենք ձայների", "Waiting for workspace": "Սպասում է աշխատանքային տարածքին", "Waiting reason": "Սպասման պատճառ", "Waiting to check the selected model": "Սպասում է ստուգել ընտրված մոդելը", diff --git a/packages/localization/catalogs/id-ID.json b/packages/localization/catalogs/id-ID.json index e8a770967..37373993d 100644 --- a/packages/localization/catalogs/id-ID.json +++ b/packages/localization/catalogs/id-ID.json @@ -1,6 +1,6 @@ { "locale": "id-ID", - "sourceRevision": "6468d2af71d2feb60f9b8c5f37bc2a3ff1177fb2c8b0d65e85002de6b1095cbb", + "sourceRevision": "e134cc889637523423524b121cf71dcb37afdd3d7daf48eaea975d1c39785b2e", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -7042,6 +7042,7 @@ "Threat model": "ac7c7cee765bae0828d383a6446e38ecdba0844e3c188c7008063c0bfe983c42", "Threat model artifact": "c57b9c06d70b87dbf1dc64874de22f98b41b3d74867a881aa2dcd0132b239e5e", "Thursday": "fc2662062ffdef9610020183ea2b087c21d71150d78a7c7463be8a9050bd3ac9", + "Tied vote": "b781f33e7a2c04158bbbfa7e86dbc4d3fbf5b75643b4efdbea46d01f39cafa6b", "Time": "33b93476cf597a3330653b66a658983d892ac264b5d6029a2dc642b9b1f30870", "Timed out": "9718cc761cfd5810041ef007ae258fa1308b8487d0f30c5f36a442f8fe5f76c5", "Timeouts and execution policy": "8011c5fa4d20f9252aa923ae93fbef6f6b3f45f975388030c4a10a05001329cf", @@ -7434,6 +7435,7 @@ "Visible multi-reply cap": "266fa484b23648ac5fd4252b1b67558b1fa2927de86208091a2231723850c7df", "Voice input is not supported in this browser.": "198b64199a291c3eacfeaa9f0f268ed0166b0fa36e0e8e4e1084f3399eb15fd9", "Volcengine Ark OpenAI-compatible chat endpoint for Doubao models.": "4369fbabad7a4795ac4fbc796ab26e51c48121abec229b626b48117f510466ee", + "Vote quorum was not met": "22abe3f7bf05dd9981e3575b81db01f7a3adba195c4e79dba3fceb88b4503327", "Wait for attachments to finish uploading.": "f59647adc722dad97cc92e74053a08d8542e67f11cdf4864d06ef6da93e99974", "waiting": "80cfa3e7f28dde4df64436b652230aff28d7779116d1369c21ef2bbf37261d71", "Waiting": "6e293a8c009e001103199768f7bcbea1729c59f9fc1ef2748958757f47ab99ed", @@ -7460,6 +7462,7 @@ "Waiting for sign-in": "749a343a3a25c1df679ee6d6e74abb72e08ef956bfa15434407e61934dc054c9", "Waiting for system confirmation and Host readback...": "952e73792f0715e2d1f30ef0b0c03c4353cd9ab96caa71856bbce7dc41e2d161", "waiting for user input": "f43ef097687b1d8c8800577eefa3f7e10d0c82236cd0017f983d131e8e673174", + "Waiting for votes": "bbb50edc12d1ce791069a8e84ca6e73a255b796306d32cdc1414987b986e172f", "Waiting for workspace": "e682cb09e669c47785b8cb4b28fd43bc51c52636c3178e328477ce86f6a33aed", "Waiting reason": "17171d9f1f059dc74d257f1411452835b78655c83362fae4f2ae2e1e4d1d1c12", "Waiting to check the selected model": "9e16fc6ad7876a2c3467a66b1b0f0d37a9fb493569fc92e7fccb691c8baf193c", @@ -14775,6 +14778,7 @@ "Threat model": "Model ancaman", "Threat model artifact": "Artefak model ancaman", "Thursday": "Kamis", + "Tied vote": "Suara terikat", "Time": "Waktu", "Timed out": "Waktu habis", "Timeouts and execution policy": "Batas waktu dan kebijakan eksekusi", @@ -15167,6 +15171,7 @@ "Visible multi-reply cap": "Batas multi-balasan terlihat", "Voice input is not supported in this browser.": "Masukan suara tidak didukung di browser ini.", "Volcengine Ark OpenAI-compatible chat endpoint for Doubao models.": "Titik akhir obrolan yang kompatibel dengan Volcengine Ark OpenAI untuk model Doubao.", + "Vote quorum was not met": "Kuorum pemungutan suara tidak terpenuhi", "Wait for attachments to finish uploading.": "Tunggu hingga lampiran selesai diunggah.", "waiting": "menunggu", "Waiting": "Menunggu", @@ -15193,6 +15198,7 @@ "Waiting for sign-in": "Menunggu masuk", "Waiting for system confirmation and Host readback...": "Menunggu konfirmasi sistem dan pembacaan kembali Host...", "waiting for user input": "menunggu masukan pengguna", + "Waiting for votes": "Menunggu suara", "Waiting for workspace": "Menunggu ruang kerja", "Waiting reason": "Alasan menunggu", "Waiting to check the selected model": "Menunggu untuk memeriksa model yang dipilih", diff --git a/packages/localization/catalogs/is-IS.json b/packages/localization/catalogs/is-IS.json index b0afaa284..b894f2784 100644 --- a/packages/localization/catalogs/is-IS.json +++ b/packages/localization/catalogs/is-IS.json @@ -1,6 +1,6 @@ { "locale": "is-IS", - "sourceRevision": "6468d2af71d2feb60f9b8c5f37bc2a3ff1177fb2c8b0d65e85002de6b1095cbb", + "sourceRevision": "e134cc889637523423524b121cf71dcb37afdd3d7daf48eaea975d1c39785b2e", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -7042,6 +7042,7 @@ "Threat model": "ac7c7cee765bae0828d383a6446e38ecdba0844e3c188c7008063c0bfe983c42", "Threat model artifact": "c57b9c06d70b87dbf1dc64874de22f98b41b3d74867a881aa2dcd0132b239e5e", "Thursday": "fc2662062ffdef9610020183ea2b087c21d71150d78a7c7463be8a9050bd3ac9", + "Tied vote": "b781f33e7a2c04158bbbfa7e86dbc4d3fbf5b75643b4efdbea46d01f39cafa6b", "Time": "33b93476cf597a3330653b66a658983d892ac264b5d6029a2dc642b9b1f30870", "Timed out": "9718cc761cfd5810041ef007ae258fa1308b8487d0f30c5f36a442f8fe5f76c5", "Timeouts and execution policy": "8011c5fa4d20f9252aa923ae93fbef6f6b3f45f975388030c4a10a05001329cf", @@ -7434,6 +7435,7 @@ "Visible multi-reply cap": "266fa484b23648ac5fd4252b1b67558b1fa2927de86208091a2231723850c7df", "Voice input is not supported in this browser.": "198b64199a291c3eacfeaa9f0f268ed0166b0fa36e0e8e4e1084f3399eb15fd9", "Volcengine Ark OpenAI-compatible chat endpoint for Doubao models.": "4369fbabad7a4795ac4fbc796ab26e51c48121abec229b626b48117f510466ee", + "Vote quorum was not met": "22abe3f7bf05dd9981e3575b81db01f7a3adba195c4e79dba3fceb88b4503327", "Wait for attachments to finish uploading.": "f59647adc722dad97cc92e74053a08d8542e67f11cdf4864d06ef6da93e99974", "waiting": "80cfa3e7f28dde4df64436b652230aff28d7779116d1369c21ef2bbf37261d71", "Waiting": "6e293a8c009e001103199768f7bcbea1729c59f9fc1ef2748958757f47ab99ed", @@ -7460,6 +7462,7 @@ "Waiting for sign-in": "749a343a3a25c1df679ee6d6e74abb72e08ef956bfa15434407e61934dc054c9", "Waiting for system confirmation and Host readback...": "952e73792f0715e2d1f30ef0b0c03c4353cd9ab96caa71856bbce7dc41e2d161", "waiting for user input": "f43ef097687b1d8c8800577eefa3f7e10d0c82236cd0017f983d131e8e673174", + "Waiting for votes": "bbb50edc12d1ce791069a8e84ca6e73a255b796306d32cdc1414987b986e172f", "Waiting for workspace": "e682cb09e669c47785b8cb4b28fd43bc51c52636c3178e328477ce86f6a33aed", "Waiting reason": "17171d9f1f059dc74d257f1411452835b78655c83362fae4f2ae2e1e4d1d1c12", "Waiting to check the selected model": "9e16fc6ad7876a2c3467a66b1b0f0d37a9fb493569fc92e7fccb691c8baf193c", @@ -14775,6 +14778,7 @@ "Threat model": "Ógnalíkan", "Threat model artifact": "Ógnalíkan gripur", "Thursday": "fimmtudag", + "Tied vote": "Jafnt atkvæði", "Time": "Tími", "Timed out": "Tími liðinn", "Timeouts and execution policy": "Tímamörk og framkvæmdastefna", @@ -15167,6 +15171,7 @@ "Visible multi-reply cap": "Sýnileg fjölsvarshetta", "Voice input is not supported in this browser.": "Raddinnsláttur er ekki stutt í þessum vafra.", "Volcengine Ark OpenAI-compatible chat endpoint for Doubao models.": "Volcengine Ark OpenAI-samhæfður spjallendapunktur fyrir Doubao gerðir.", + "Vote quorum was not met": "Atkvæðagreiðslur voru ekki uppfylltar", "Wait for attachments to finish uploading.": "Bíddu þar til viðhengjum lýkur upphleðslu.", "waiting": "bíður", "Waiting": "Bíður", @@ -15193,6 +15198,7 @@ "Waiting for sign-in": "Bíður eftir innskráningu", "Waiting for system confirmation and Host readback...": "Bíður eftir kerfisstaðfestingu og endurlestur gestgjafa...", "waiting for user input": "bíður eftir inntaki notanda", + "Waiting for votes": "Beðið eftir atkvæðum", "Waiting for workspace": "Beðið eftir vinnuplássi", "Waiting reason": "Bið ástæða", "Waiting to check the selected model": "Bíður eftir að athuga valið líkan", diff --git a/packages/localization/catalogs/it-IT.json b/packages/localization/catalogs/it-IT.json index ac186c9ba..2bc0e6d09 100644 --- a/packages/localization/catalogs/it-IT.json +++ b/packages/localization/catalogs/it-IT.json @@ -1,6 +1,6 @@ { "locale": "it-IT", - "sourceRevision": "6468d2af71d2feb60f9b8c5f37bc2a3ff1177fb2c8b0d65e85002de6b1095cbb", + "sourceRevision": "e134cc889637523423524b121cf71dcb37afdd3d7daf48eaea975d1c39785b2e", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -7042,6 +7042,7 @@ "Threat model": "ac7c7cee765bae0828d383a6446e38ecdba0844e3c188c7008063c0bfe983c42", "Threat model artifact": "c57b9c06d70b87dbf1dc64874de22f98b41b3d74867a881aa2dcd0132b239e5e", "Thursday": "fc2662062ffdef9610020183ea2b087c21d71150d78a7c7463be8a9050bd3ac9", + "Tied vote": "b781f33e7a2c04158bbbfa7e86dbc4d3fbf5b75643b4efdbea46d01f39cafa6b", "Time": "33b93476cf597a3330653b66a658983d892ac264b5d6029a2dc642b9b1f30870", "Timed out": "9718cc761cfd5810041ef007ae258fa1308b8487d0f30c5f36a442f8fe5f76c5", "Timeouts and execution policy": "8011c5fa4d20f9252aa923ae93fbef6f6b3f45f975388030c4a10a05001329cf", @@ -7434,6 +7435,7 @@ "Visible multi-reply cap": "266fa484b23648ac5fd4252b1b67558b1fa2927de86208091a2231723850c7df", "Voice input is not supported in this browser.": "198b64199a291c3eacfeaa9f0f268ed0166b0fa36e0e8e4e1084f3399eb15fd9", "Volcengine Ark OpenAI-compatible chat endpoint for Doubao models.": "4369fbabad7a4795ac4fbc796ab26e51c48121abec229b626b48117f510466ee", + "Vote quorum was not met": "22abe3f7bf05dd9981e3575b81db01f7a3adba195c4e79dba3fceb88b4503327", "Wait for attachments to finish uploading.": "f59647adc722dad97cc92e74053a08d8542e67f11cdf4864d06ef6da93e99974", "waiting": "80cfa3e7f28dde4df64436b652230aff28d7779116d1369c21ef2bbf37261d71", "Waiting": "6e293a8c009e001103199768f7bcbea1729c59f9fc1ef2748958757f47ab99ed", @@ -7460,6 +7462,7 @@ "Waiting for sign-in": "749a343a3a25c1df679ee6d6e74abb72e08ef956bfa15434407e61934dc054c9", "Waiting for system confirmation and Host readback...": "952e73792f0715e2d1f30ef0b0c03c4353cd9ab96caa71856bbce7dc41e2d161", "waiting for user input": "f43ef097687b1d8c8800577eefa3f7e10d0c82236cd0017f983d131e8e673174", + "Waiting for votes": "bbb50edc12d1ce791069a8e84ca6e73a255b796306d32cdc1414987b986e172f", "Waiting for workspace": "e682cb09e669c47785b8cb4b28fd43bc51c52636c3178e328477ce86f6a33aed", "Waiting reason": "17171d9f1f059dc74d257f1411452835b78655c83362fae4f2ae2e1e4d1d1c12", "Waiting to check the selected model": "9e16fc6ad7876a2c3467a66b1b0f0d37a9fb493569fc92e7fccb691c8baf193c", @@ -14775,6 +14778,7 @@ "Threat model": "Modello di minaccia", "Threat model artifact": "Artefatto del modello di minaccia", "Thursday": "Giovedì", + "Tied vote": "Voto in parità", "Time": "Tempo", "Timed out": "Timeout", "Timeouts and execution policy": "Timeout e politica di esecuzione", @@ -15167,6 +15171,7 @@ "Visible multi-reply cap": "Limite a risposta multipla visibile", "Voice input is not supported in this browser.": "L'input vocale non è supportato in questo browser.", "Volcengine Ark OpenAI-compatible chat endpoint for Doubao models.": "Endpoint chat compatibile con Volcengine Ark OpenAI per i modelli Doubao.", + "Vote quorum was not met": "Il quorum elettorale non è stato raggiunto", "Wait for attachments to finish uploading.": "Attendi il completamento del caricamento degli allegati.", "waiting": "in attesa", "Waiting": "In attesa", @@ -15193,6 +15198,7 @@ "Waiting for sign-in": "In attesa dell'accesso", "Waiting for system confirmation and Host readback...": "In attesa della conferma del sistema e della rilettura dell'Host...", "waiting for user input": "in attesa dell'input dell'utente", + "Waiting for votes": "In attesa di voti", "Waiting for workspace": "In attesa dello spazio di lavoro", "Waiting reason": "Motivo dell'attesa", "Waiting to check the selected model": "In attesa di verificare il modello selezionato", diff --git a/packages/localization/catalogs/ja-JP.json b/packages/localization/catalogs/ja-JP.json index c884e1c44..94accf47c 100644 --- a/packages/localization/catalogs/ja-JP.json +++ b/packages/localization/catalogs/ja-JP.json @@ -1,6 +1,6 @@ { "locale": "ja-JP", - "sourceRevision": "6468d2af71d2feb60f9b8c5f37bc2a3ff1177fb2c8b0d65e85002de6b1095cbb", + "sourceRevision": "e134cc889637523423524b121cf71dcb37afdd3d7daf48eaea975d1c39785b2e", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -7042,6 +7042,7 @@ "Threat model": "ac7c7cee765bae0828d383a6446e38ecdba0844e3c188c7008063c0bfe983c42", "Threat model artifact": "c57b9c06d70b87dbf1dc64874de22f98b41b3d74867a881aa2dcd0132b239e5e", "Thursday": "fc2662062ffdef9610020183ea2b087c21d71150d78a7c7463be8a9050bd3ac9", + "Tied vote": "b781f33e7a2c04158bbbfa7e86dbc4d3fbf5b75643b4efdbea46d01f39cafa6b", "Time": "33b93476cf597a3330653b66a658983d892ac264b5d6029a2dc642b9b1f30870", "Timed out": "9718cc761cfd5810041ef007ae258fa1308b8487d0f30c5f36a442f8fe5f76c5", "Timeouts and execution policy": "8011c5fa4d20f9252aa923ae93fbef6f6b3f45f975388030c4a10a05001329cf", @@ -7434,6 +7435,7 @@ "Visible multi-reply cap": "266fa484b23648ac5fd4252b1b67558b1fa2927de86208091a2231723850c7df", "Voice input is not supported in this browser.": "198b64199a291c3eacfeaa9f0f268ed0166b0fa36e0e8e4e1084f3399eb15fd9", "Volcengine Ark OpenAI-compatible chat endpoint for Doubao models.": "4369fbabad7a4795ac4fbc796ab26e51c48121abec229b626b48117f510466ee", + "Vote quorum was not met": "22abe3f7bf05dd9981e3575b81db01f7a3adba195c4e79dba3fceb88b4503327", "Wait for attachments to finish uploading.": "f59647adc722dad97cc92e74053a08d8542e67f11cdf4864d06ef6da93e99974", "waiting": "80cfa3e7f28dde4df64436b652230aff28d7779116d1369c21ef2bbf37261d71", "Waiting": "6e293a8c009e001103199768f7bcbea1729c59f9fc1ef2748958757f47ab99ed", @@ -7460,6 +7462,7 @@ "Waiting for sign-in": "749a343a3a25c1df679ee6d6e74abb72e08ef956bfa15434407e61934dc054c9", "Waiting for system confirmation and Host readback...": "952e73792f0715e2d1f30ef0b0c03c4353cd9ab96caa71856bbce7dc41e2d161", "waiting for user input": "f43ef097687b1d8c8800577eefa3f7e10d0c82236cd0017f983d131e8e673174", + "Waiting for votes": "bbb50edc12d1ce791069a8e84ca6e73a255b796306d32cdc1414987b986e172f", "Waiting for workspace": "e682cb09e669c47785b8cb4b28fd43bc51c52636c3178e328477ce86f6a33aed", "Waiting reason": "17171d9f1f059dc74d257f1411452835b78655c83362fae4f2ae2e1e4d1d1c12", "Waiting to check the selected model": "9e16fc6ad7876a2c3467a66b1b0f0d37a9fb493569fc92e7fccb691c8baf193c", @@ -14775,6 +14778,7 @@ "Threat model": "脅威モデル", "Threat model artifact": "脅威モデルのアーティファクト", "Thursday": "木曜日", + "Tied vote": "同数票", "Time": "時間", "Timed out": "タイムアウトしました", "Timeouts and execution policy": "タイムアウトと実行ポリシー", @@ -15167,6 +15171,7 @@ "Visible multi-reply cap": "マルチ返信の上限を表示", "Voice input is not supported in this browser.": "このブラウザでは音声入力はサポートされていません。", "Volcengine Ark OpenAI-compatible chat endpoint for Doubao models.": "Doubao モデル用の Volcengine Ark OpenAI 互換チャット エンドポイント。", + "Vote quorum was not met": "投票定足数が満たされませんでした", "Wait for attachments to finish uploading.": "添付ファイルのアップロードが完了するまで待ちます。", "waiting": "待っている", "Waiting": "待っている", @@ -15193,6 +15198,7 @@ "Waiting for sign-in": "サインインを待っています", "Waiting for system confirmation and Host readback...": "システムの確認とホストのリードバックを待っています...", "waiting for user input": "ユーザー入力を待っています", + "Waiting for votes": "投票を待っています", "Waiting for workspace": "ワークスペースを待っています", "Waiting reason": "待機理由", "Waiting to check the selected model": "選択したモデルの確認を待っています", diff --git a/packages/localization/catalogs/ka-GE.json b/packages/localization/catalogs/ka-GE.json index bc1cc912d..cf57c77c5 100644 --- a/packages/localization/catalogs/ka-GE.json +++ b/packages/localization/catalogs/ka-GE.json @@ -1,6 +1,6 @@ { "locale": "ka-GE", - "sourceRevision": "6468d2af71d2feb60f9b8c5f37bc2a3ff1177fb2c8b0d65e85002de6b1095cbb", + "sourceRevision": "e134cc889637523423524b121cf71dcb37afdd3d7daf48eaea975d1c39785b2e", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -7042,6 +7042,7 @@ "Threat model": "ac7c7cee765bae0828d383a6446e38ecdba0844e3c188c7008063c0bfe983c42", "Threat model artifact": "c57b9c06d70b87dbf1dc64874de22f98b41b3d74867a881aa2dcd0132b239e5e", "Thursday": "fc2662062ffdef9610020183ea2b087c21d71150d78a7c7463be8a9050bd3ac9", + "Tied vote": "b781f33e7a2c04158bbbfa7e86dbc4d3fbf5b75643b4efdbea46d01f39cafa6b", "Time": "33b93476cf597a3330653b66a658983d892ac264b5d6029a2dc642b9b1f30870", "Timed out": "9718cc761cfd5810041ef007ae258fa1308b8487d0f30c5f36a442f8fe5f76c5", "Timeouts and execution policy": "8011c5fa4d20f9252aa923ae93fbef6f6b3f45f975388030c4a10a05001329cf", @@ -7434,6 +7435,7 @@ "Visible multi-reply cap": "266fa484b23648ac5fd4252b1b67558b1fa2927de86208091a2231723850c7df", "Voice input is not supported in this browser.": "198b64199a291c3eacfeaa9f0f268ed0166b0fa36e0e8e4e1084f3399eb15fd9", "Volcengine Ark OpenAI-compatible chat endpoint for Doubao models.": "4369fbabad7a4795ac4fbc796ab26e51c48121abec229b626b48117f510466ee", + "Vote quorum was not met": "22abe3f7bf05dd9981e3575b81db01f7a3adba195c4e79dba3fceb88b4503327", "Wait for attachments to finish uploading.": "f59647adc722dad97cc92e74053a08d8542e67f11cdf4864d06ef6da93e99974", "waiting": "80cfa3e7f28dde4df64436b652230aff28d7779116d1369c21ef2bbf37261d71", "Waiting": "6e293a8c009e001103199768f7bcbea1729c59f9fc1ef2748958757f47ab99ed", @@ -7460,6 +7462,7 @@ "Waiting for sign-in": "749a343a3a25c1df679ee6d6e74abb72e08ef956bfa15434407e61934dc054c9", "Waiting for system confirmation and Host readback...": "952e73792f0715e2d1f30ef0b0c03c4353cd9ab96caa71856bbce7dc41e2d161", "waiting for user input": "f43ef097687b1d8c8800577eefa3f7e10d0c82236cd0017f983d131e8e673174", + "Waiting for votes": "bbb50edc12d1ce791069a8e84ca6e73a255b796306d32cdc1414987b986e172f", "Waiting for workspace": "e682cb09e669c47785b8cb4b28fd43bc51c52636c3178e328477ce86f6a33aed", "Waiting reason": "17171d9f1f059dc74d257f1411452835b78655c83362fae4f2ae2e1e4d1d1c12", "Waiting to check the selected model": "9e16fc6ad7876a2c3467a66b1b0f0d37a9fb493569fc92e7fccb691c8baf193c", @@ -14775,6 +14778,7 @@ "Threat model": "საფრთხის მოდელი", "Threat model artifact": "საფრთხის მოდელის არტეფაქტი", "Thursday": "ხუთშაბათი", + "Tied vote": "თანაბარი ხმა", "Time": "დრო", "Timed out": "დრო ამოიწურა", "Timeouts and execution policy": "ვადები და შესრულების პოლიტიკა", @@ -15167,6 +15171,7 @@ "Visible multi-reply cap": "ხილული მრავალ პასუხის ქუდი", "Voice input is not supported in this browser.": "ხმოვანი შეყვანა არ არის მხარდაჭერილი ამ ბრაუზერში.", "Volcengine Ark OpenAI-compatible chat endpoint for Doubao models.": "Volcengine Ark OpenAI-თან თავსებადი ჩატის საბოლოო წერტილი Doubao-ს მოდელებისთვის.", + "Vote quorum was not met": "ხმის მიცემის კვორუმი არ დაკმაყოფილდა", "Wait for attachments to finish uploading.": "დაელოდეთ დანართების ატვირთვის დასრულებას.", "waiting": "ელოდება", "Waiting": "ელოდება", @@ -15193,6 +15198,7 @@ "Waiting for sign-in": "ელოდება შესვლას", "Waiting for system confirmation and Host readback...": "ელოდება სისტემის დადასტურებას და ჰოსტის კითხვას...", "waiting for user input": "მომხმარებლის შეყვანის მოლოდინში", + "Waiting for votes": "ველოდებით ხმებს", "Waiting for workspace": "სამუშაო ადგილის მოლოდინში", "Waiting reason": "ლოდინის მიზეზი", "Waiting to check the selected model": "ელოდება შერჩეული მოდელის შემოწმებას", diff --git a/packages/localization/catalogs/kn-IN.json b/packages/localization/catalogs/kn-IN.json index 1091cacf2..e3c3b7d49 100644 --- a/packages/localization/catalogs/kn-IN.json +++ b/packages/localization/catalogs/kn-IN.json @@ -1,6 +1,6 @@ { "locale": "kn-IN", - "sourceRevision": "6468d2af71d2feb60f9b8c5f37bc2a3ff1177fb2c8b0d65e85002de6b1095cbb", + "sourceRevision": "e134cc889637523423524b121cf71dcb37afdd3d7daf48eaea975d1c39785b2e", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -7042,6 +7042,7 @@ "Threat model": "ac7c7cee765bae0828d383a6446e38ecdba0844e3c188c7008063c0bfe983c42", "Threat model artifact": "c57b9c06d70b87dbf1dc64874de22f98b41b3d74867a881aa2dcd0132b239e5e", "Thursday": "fc2662062ffdef9610020183ea2b087c21d71150d78a7c7463be8a9050bd3ac9", + "Tied vote": "b781f33e7a2c04158bbbfa7e86dbc4d3fbf5b75643b4efdbea46d01f39cafa6b", "Time": "33b93476cf597a3330653b66a658983d892ac264b5d6029a2dc642b9b1f30870", "Timed out": "9718cc761cfd5810041ef007ae258fa1308b8487d0f30c5f36a442f8fe5f76c5", "Timeouts and execution policy": "8011c5fa4d20f9252aa923ae93fbef6f6b3f45f975388030c4a10a05001329cf", @@ -7434,6 +7435,7 @@ "Visible multi-reply cap": "266fa484b23648ac5fd4252b1b67558b1fa2927de86208091a2231723850c7df", "Voice input is not supported in this browser.": "198b64199a291c3eacfeaa9f0f268ed0166b0fa36e0e8e4e1084f3399eb15fd9", "Volcengine Ark OpenAI-compatible chat endpoint for Doubao models.": "4369fbabad7a4795ac4fbc796ab26e51c48121abec229b626b48117f510466ee", + "Vote quorum was not met": "22abe3f7bf05dd9981e3575b81db01f7a3adba195c4e79dba3fceb88b4503327", "Wait for attachments to finish uploading.": "f59647adc722dad97cc92e74053a08d8542e67f11cdf4864d06ef6da93e99974", "waiting": "80cfa3e7f28dde4df64436b652230aff28d7779116d1369c21ef2bbf37261d71", "Waiting": "6e293a8c009e001103199768f7bcbea1729c59f9fc1ef2748958757f47ab99ed", @@ -7460,6 +7462,7 @@ "Waiting for sign-in": "749a343a3a25c1df679ee6d6e74abb72e08ef956bfa15434407e61934dc054c9", "Waiting for system confirmation and Host readback...": "952e73792f0715e2d1f30ef0b0c03c4353cd9ab96caa71856bbce7dc41e2d161", "waiting for user input": "f43ef097687b1d8c8800577eefa3f7e10d0c82236cd0017f983d131e8e673174", + "Waiting for votes": "bbb50edc12d1ce791069a8e84ca6e73a255b796306d32cdc1414987b986e172f", "Waiting for workspace": "e682cb09e669c47785b8cb4b28fd43bc51c52636c3178e328477ce86f6a33aed", "Waiting reason": "17171d9f1f059dc74d257f1411452835b78655c83362fae4f2ae2e1e4d1d1c12", "Waiting to check the selected model": "9e16fc6ad7876a2c3467a66b1b0f0d37a9fb493569fc92e7fccb691c8baf193c", @@ -14775,6 +14778,7 @@ "Threat model": "ಬೆದರಿಕೆ ಮಾದರಿ", "Threat model artifact": "ಬೆದರಿಕೆ ಮಾದರಿ ಕಲಾಕೃತಿ", "Thursday": "ಗುರುವಾರ", + "Tied vote": "ಟೈಡ್ ವೋಟ್", "Time": "ಸಮಯ", "Timed out": "ಸಮಯ ಮೀರಿದೆ", "Timeouts and execution policy": "ಸಮಯಾವಧಿಗಳು ಮತ್ತು ಕಾರ್ಯಗತಗೊಳಿಸುವ ನೀತಿ", @@ -15167,6 +15171,7 @@ "Visible multi-reply cap": "ಗೋಚರಿಸುವ ಬಹು-ಪ್ರತ್ಯುತ್ತರ ಕ್ಯಾಪ್", "Voice input is not supported in this browser.": "ಈ ಬ್ರೌಸರ್‌ನಲ್ಲಿ ಧ್ವನಿ ಇನ್‌ಪುಟ್ ಬೆಂಬಲಿಸುವುದಿಲ್ಲ.", "Volcengine Ark OpenAI-compatible chat endpoint for Doubao models.": "ಡೌಬಾವೊ ಮಾದರಿಗಳಿಗಾಗಿ Volcengine Ark OpenAI-ಹೊಂದಾಣಿಕೆಯ ಚಾಟ್ ಅಂತ್ಯಬಿಂದು.", + "Vote quorum was not met": "ಮತ ಕೋರಂ ಪೂರೈಸಲಿಲ್ಲ", "Wait for attachments to finish uploading.": "ಲಗತ್ತುಗಳನ್ನು ಅಪ್‌ಲೋಡ್ ಮಾಡುವುದನ್ನು ಪೂರ್ಣಗೊಳಿಸಲು ನಿರೀಕ್ಷಿಸಿ.", "waiting": "ಕಾಯುತ್ತಿದೆ", "Waiting": "ಕಾಯುತ್ತಿದೆ", @@ -15193,6 +15198,7 @@ "Waiting for sign-in": "ಸೈನ್-ಇನ್‌ಗಾಗಿ ನಿರೀಕ್ಷಿಸಲಾಗುತ್ತಿದೆ", "Waiting for system confirmation and Host readback...": "ಸಿಸ್ಟಂ ದೃಢೀಕರಣ ಮತ್ತು ಹೋಸ್ಟ್ ರೀಡ್‌ಬ್ಯಾಕ್‌ಗಾಗಿ ನಿರೀಕ್ಷಿಸಲಾಗುತ್ತಿದೆ...", "waiting for user input": "ಬಳಕೆದಾರರ ಇನ್‌ಪುಟ್‌ಗಾಗಿ ಕಾಯುತ್ತಿದೆ", + "Waiting for votes": "ಮತಕ್ಕಾಗಿ ಕಾಯುತ್ತಿದ್ದಾರೆ", "Waiting for workspace": "ಕಾರ್ಯಸ್ಥಳಕ್ಕಾಗಿ ಕಾಯಲಾಗುತ್ತಿದೆ", "Waiting reason": "ಕಾಯುವ ಕಾರಣ", "Waiting to check the selected model": "ಆಯ್ಕೆಮಾಡಿದ ಮಾದರಿಯನ್ನು ಪರಿಶೀಲಿಸಲು ನಿರೀಕ್ಷಿಸಲಾಗುತ್ತಿದೆ", diff --git a/packages/localization/catalogs/ko-KR.json b/packages/localization/catalogs/ko-KR.json index 63a404273..c712953a0 100644 --- a/packages/localization/catalogs/ko-KR.json +++ b/packages/localization/catalogs/ko-KR.json @@ -1,6 +1,6 @@ { "locale": "ko-KR", - "sourceRevision": "6468d2af71d2feb60f9b8c5f37bc2a3ff1177fb2c8b0d65e85002de6b1095cbb", + "sourceRevision": "e134cc889637523423524b121cf71dcb37afdd3d7daf48eaea975d1c39785b2e", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -7042,6 +7042,7 @@ "Threat model": "ac7c7cee765bae0828d383a6446e38ecdba0844e3c188c7008063c0bfe983c42", "Threat model artifact": "c57b9c06d70b87dbf1dc64874de22f98b41b3d74867a881aa2dcd0132b239e5e", "Thursday": "fc2662062ffdef9610020183ea2b087c21d71150d78a7c7463be8a9050bd3ac9", + "Tied vote": "b781f33e7a2c04158bbbfa7e86dbc4d3fbf5b75643b4efdbea46d01f39cafa6b", "Time": "33b93476cf597a3330653b66a658983d892ac264b5d6029a2dc642b9b1f30870", "Timed out": "9718cc761cfd5810041ef007ae258fa1308b8487d0f30c5f36a442f8fe5f76c5", "Timeouts and execution policy": "8011c5fa4d20f9252aa923ae93fbef6f6b3f45f975388030c4a10a05001329cf", @@ -7434,6 +7435,7 @@ "Visible multi-reply cap": "266fa484b23648ac5fd4252b1b67558b1fa2927de86208091a2231723850c7df", "Voice input is not supported in this browser.": "198b64199a291c3eacfeaa9f0f268ed0166b0fa36e0e8e4e1084f3399eb15fd9", "Volcengine Ark OpenAI-compatible chat endpoint for Doubao models.": "4369fbabad7a4795ac4fbc796ab26e51c48121abec229b626b48117f510466ee", + "Vote quorum was not met": "22abe3f7bf05dd9981e3575b81db01f7a3adba195c4e79dba3fceb88b4503327", "Wait for attachments to finish uploading.": "f59647adc722dad97cc92e74053a08d8542e67f11cdf4864d06ef6da93e99974", "waiting": "80cfa3e7f28dde4df64436b652230aff28d7779116d1369c21ef2bbf37261d71", "Waiting": "6e293a8c009e001103199768f7bcbea1729c59f9fc1ef2748958757f47ab99ed", @@ -7460,6 +7462,7 @@ "Waiting for sign-in": "749a343a3a25c1df679ee6d6e74abb72e08ef956bfa15434407e61934dc054c9", "Waiting for system confirmation and Host readback...": "952e73792f0715e2d1f30ef0b0c03c4353cd9ab96caa71856bbce7dc41e2d161", "waiting for user input": "f43ef097687b1d8c8800577eefa3f7e10d0c82236cd0017f983d131e8e673174", + "Waiting for votes": "bbb50edc12d1ce791069a8e84ca6e73a255b796306d32cdc1414987b986e172f", "Waiting for workspace": "e682cb09e669c47785b8cb4b28fd43bc51c52636c3178e328477ce86f6a33aed", "Waiting reason": "17171d9f1f059dc74d257f1411452835b78655c83362fae4f2ae2e1e4d1d1c12", "Waiting to check the selected model": "9e16fc6ad7876a2c3467a66b1b0f0d37a9fb493569fc92e7fccb691c8baf193c", @@ -14775,6 +14778,7 @@ "Threat model": "위협 모델", "Threat model artifact": "위협 모델 아티팩트", "Thursday": "목요일", + "Tied vote": "공동 투표", "Time": "시간", "Timed out": "시간 초과", "Timeouts and execution policy": "시간 초과 및 실행 정책", @@ -15167,6 +15171,7 @@ "Visible multi-reply cap": "표시되는 다중 응답 한도", "Voice input is not supported in this browser.": "이 브라우저에서는 음성 입력이 지원되지 않습니다.", "Volcengine Ark OpenAI-compatible chat endpoint for Doubao models.": "Doubao 모델용 Volcengine Ark OpenAI 호환 채팅 엔드포인트.", + "Vote quorum was not met": "투표 정족수가 충족되지 않았습니다.", "Wait for attachments to finish uploading.": "첨부 파일 업로드가 완료될 때까지 기다립니다.", "waiting": "대기 중", "Waiting": "대기 중", @@ -15193,6 +15198,7 @@ "Waiting for sign-in": "로그인을 기다리는 중", "Waiting for system confirmation and Host readback...": "시스템 확인 및 호스트 다시 읽기를 기다리는 중...", "waiting for user input": "사용자 입력을 기다리는 중", + "Waiting for votes": "투표를 기다리고 있습니다", "Waiting for workspace": "작업공간을 기다리는 중", "Waiting reason": "대기 이유", "Waiting to check the selected model": "선택한 모델을 확인하는 중입니다.", diff --git a/packages/localization/catalogs/lv-LV.json b/packages/localization/catalogs/lv-LV.json index 73b255153..472fcc786 100644 --- a/packages/localization/catalogs/lv-LV.json +++ b/packages/localization/catalogs/lv-LV.json @@ -1,6 +1,6 @@ { "locale": "lv-LV", - "sourceRevision": "6468d2af71d2feb60f9b8c5f37bc2a3ff1177fb2c8b0d65e85002de6b1095cbb", + "sourceRevision": "e134cc889637523423524b121cf71dcb37afdd3d7daf48eaea975d1c39785b2e", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -7042,6 +7042,7 @@ "Threat model": "ac7c7cee765bae0828d383a6446e38ecdba0844e3c188c7008063c0bfe983c42", "Threat model artifact": "c57b9c06d70b87dbf1dc64874de22f98b41b3d74867a881aa2dcd0132b239e5e", "Thursday": "fc2662062ffdef9610020183ea2b087c21d71150d78a7c7463be8a9050bd3ac9", + "Tied vote": "b781f33e7a2c04158bbbfa7e86dbc4d3fbf5b75643b4efdbea46d01f39cafa6b", "Time": "33b93476cf597a3330653b66a658983d892ac264b5d6029a2dc642b9b1f30870", "Timed out": "9718cc761cfd5810041ef007ae258fa1308b8487d0f30c5f36a442f8fe5f76c5", "Timeouts and execution policy": "8011c5fa4d20f9252aa923ae93fbef6f6b3f45f975388030c4a10a05001329cf", @@ -7434,6 +7435,7 @@ "Visible multi-reply cap": "266fa484b23648ac5fd4252b1b67558b1fa2927de86208091a2231723850c7df", "Voice input is not supported in this browser.": "198b64199a291c3eacfeaa9f0f268ed0166b0fa36e0e8e4e1084f3399eb15fd9", "Volcengine Ark OpenAI-compatible chat endpoint for Doubao models.": "4369fbabad7a4795ac4fbc796ab26e51c48121abec229b626b48117f510466ee", + "Vote quorum was not met": "22abe3f7bf05dd9981e3575b81db01f7a3adba195c4e79dba3fceb88b4503327", "Wait for attachments to finish uploading.": "f59647adc722dad97cc92e74053a08d8542e67f11cdf4864d06ef6da93e99974", "waiting": "80cfa3e7f28dde4df64436b652230aff28d7779116d1369c21ef2bbf37261d71", "Waiting": "6e293a8c009e001103199768f7bcbea1729c59f9fc1ef2748958757f47ab99ed", @@ -7460,6 +7462,7 @@ "Waiting for sign-in": "749a343a3a25c1df679ee6d6e74abb72e08ef956bfa15434407e61934dc054c9", "Waiting for system confirmation and Host readback...": "952e73792f0715e2d1f30ef0b0c03c4353cd9ab96caa71856bbce7dc41e2d161", "waiting for user input": "f43ef097687b1d8c8800577eefa3f7e10d0c82236cd0017f983d131e8e673174", + "Waiting for votes": "bbb50edc12d1ce791069a8e84ca6e73a255b796306d32cdc1414987b986e172f", "Waiting for workspace": "e682cb09e669c47785b8cb4b28fd43bc51c52636c3178e328477ce86f6a33aed", "Waiting reason": "17171d9f1f059dc74d257f1411452835b78655c83362fae4f2ae2e1e4d1d1c12", "Waiting to check the selected model": "9e16fc6ad7876a2c3467a66b1b0f0d37a9fb493569fc92e7fccb691c8baf193c", @@ -14775,6 +14778,7 @@ "Threat model": "Draudi modelis", "Threat model artifact": "Draudu modeļa artefakts", "Thursday": "ceturtdiena", + "Tied vote": "Izšķirts balsojums", "Time": "Laiks", "Timed out": "Noildze", "Timeouts and execution policy": "Noildzes un izpildes politika", @@ -15167,6 +15171,7 @@ "Visible multi-reply cap": "Redzams vairāku atbilžu vāciņš", "Voice input is not supported in this browser.": "Šajā pārlūkprogrammā balss ievade netiek atbalstīta.", "Volcengine Ark OpenAI-compatible chat endpoint for Doubao models.": "Ar Volcengine Ark OpenAI saderīgs tērzēšanas galapunkts Doubao modeļiem.", + "Vote quorum was not met": "Balsošanas kvorums nebija sasniegts", "Wait for attachments to finish uploading.": "Pagaidiet, līdz tiek pabeigta pielikumu augšupielāde.", "waiting": "gaida", "Waiting": "Gaida", @@ -15193,6 +15198,7 @@ "Waiting for sign-in": "Gaida pierakstīšanos", "Waiting for system confirmation and Host readback...": "Gaida sistēmas apstiprinājumu un resursdatora lasīšanu...", "waiting for user input": "gaida lietotāja ievadi", + "Waiting for votes": "Gaidām balsis", "Waiting for workspace": "Gaida darba vietu", "Waiting reason": "Gaidīšanas iemesls", "Waiting to check the selected model": "Gaida atlasītā modeļa pārbaudi", diff --git a/packages/localization/catalogs/mk-MK.json b/packages/localization/catalogs/mk-MK.json index 619458add..0bc1a3f52 100644 --- a/packages/localization/catalogs/mk-MK.json +++ b/packages/localization/catalogs/mk-MK.json @@ -1,6 +1,6 @@ { "locale": "mk-MK", - "sourceRevision": "6468d2af71d2feb60f9b8c5f37bc2a3ff1177fb2c8b0d65e85002de6b1095cbb", + "sourceRevision": "e134cc889637523423524b121cf71dcb37afdd3d7daf48eaea975d1c39785b2e", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -7042,6 +7042,7 @@ "Threat model": "ac7c7cee765bae0828d383a6446e38ecdba0844e3c188c7008063c0bfe983c42", "Threat model artifact": "c57b9c06d70b87dbf1dc64874de22f98b41b3d74867a881aa2dcd0132b239e5e", "Thursday": "fc2662062ffdef9610020183ea2b087c21d71150d78a7c7463be8a9050bd3ac9", + "Tied vote": "b781f33e7a2c04158bbbfa7e86dbc4d3fbf5b75643b4efdbea46d01f39cafa6b", "Time": "33b93476cf597a3330653b66a658983d892ac264b5d6029a2dc642b9b1f30870", "Timed out": "9718cc761cfd5810041ef007ae258fa1308b8487d0f30c5f36a442f8fe5f76c5", "Timeouts and execution policy": "8011c5fa4d20f9252aa923ae93fbef6f6b3f45f975388030c4a10a05001329cf", @@ -7434,6 +7435,7 @@ "Visible multi-reply cap": "266fa484b23648ac5fd4252b1b67558b1fa2927de86208091a2231723850c7df", "Voice input is not supported in this browser.": "198b64199a291c3eacfeaa9f0f268ed0166b0fa36e0e8e4e1084f3399eb15fd9", "Volcengine Ark OpenAI-compatible chat endpoint for Doubao models.": "4369fbabad7a4795ac4fbc796ab26e51c48121abec229b626b48117f510466ee", + "Vote quorum was not met": "22abe3f7bf05dd9981e3575b81db01f7a3adba195c4e79dba3fceb88b4503327", "Wait for attachments to finish uploading.": "f59647adc722dad97cc92e74053a08d8542e67f11cdf4864d06ef6da93e99974", "waiting": "80cfa3e7f28dde4df64436b652230aff28d7779116d1369c21ef2bbf37261d71", "Waiting": "6e293a8c009e001103199768f7bcbea1729c59f9fc1ef2748958757f47ab99ed", @@ -7460,6 +7462,7 @@ "Waiting for sign-in": "749a343a3a25c1df679ee6d6e74abb72e08ef956bfa15434407e61934dc054c9", "Waiting for system confirmation and Host readback...": "952e73792f0715e2d1f30ef0b0c03c4353cd9ab96caa71856bbce7dc41e2d161", "waiting for user input": "f43ef097687b1d8c8800577eefa3f7e10d0c82236cd0017f983d131e8e673174", + "Waiting for votes": "bbb50edc12d1ce791069a8e84ca6e73a255b796306d32cdc1414987b986e172f", "Waiting for workspace": "e682cb09e669c47785b8cb4b28fd43bc51c52636c3178e328477ce86f6a33aed", "Waiting reason": "17171d9f1f059dc74d257f1411452835b78655c83362fae4f2ae2e1e4d1d1c12", "Waiting to check the selected model": "9e16fc6ad7876a2c3467a66b1b0f0d37a9fb493569fc92e7fccb691c8baf193c", @@ -14775,6 +14778,7 @@ "Threat model": "Модел на закана", "Threat model artifact": "Артефакт на модел на закана", "Thursday": "четврток", + "Tied vote": "Изедначено гласање", "Time": "Време", "Timed out": "Истече времето", "Timeouts and execution policy": "Истекувања и политика на извршување", @@ -15167,6 +15171,7 @@ "Visible multi-reply cap": "Видливо капа за повеќе одговори", "Voice input is not supported in this browser.": "Гласовното внесување не е поддржано во овој прелистувач.", "Volcengine Ark OpenAI-compatible chat endpoint for Doubao models.": "Крајна точка за разговор компатибилна со Volcengine Ark OpenAI за моделите на Doubao.", + "Vote quorum was not met": "Не беше исполнет кворумот за гласање", "Wait for attachments to finish uploading.": "Почекајте прилозите да завршат со поставувањето.", "waiting": "чекање", "Waiting": "Чекање", @@ -15193,6 +15198,7 @@ "Waiting for sign-in": "Се чека најавување", "Waiting for system confirmation and Host readback...": "Се чека потврда на системот и враќање на домаќинот...", "waiting for user input": "чекање за внесување на корисникот", + "Waiting for votes": "Се чекаат гласови", "Waiting for workspace": "Се чека работен простор", "Waiting reason": "Причина за чекање", "Waiting to check the selected model": "Се чека да се провери избраниот модел", diff --git a/packages/localization/catalogs/mr-IN.json b/packages/localization/catalogs/mr-IN.json index c59ed6955..172b6c6a7 100644 --- a/packages/localization/catalogs/mr-IN.json +++ b/packages/localization/catalogs/mr-IN.json @@ -1,6 +1,6 @@ { "locale": "mr-IN", - "sourceRevision": "6468d2af71d2feb60f9b8c5f37bc2a3ff1177fb2c8b0d65e85002de6b1095cbb", + "sourceRevision": "e134cc889637523423524b121cf71dcb37afdd3d7daf48eaea975d1c39785b2e", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -7042,6 +7042,7 @@ "Threat model": "ac7c7cee765bae0828d383a6446e38ecdba0844e3c188c7008063c0bfe983c42", "Threat model artifact": "c57b9c06d70b87dbf1dc64874de22f98b41b3d74867a881aa2dcd0132b239e5e", "Thursday": "fc2662062ffdef9610020183ea2b087c21d71150d78a7c7463be8a9050bd3ac9", + "Tied vote": "b781f33e7a2c04158bbbfa7e86dbc4d3fbf5b75643b4efdbea46d01f39cafa6b", "Time": "33b93476cf597a3330653b66a658983d892ac264b5d6029a2dc642b9b1f30870", "Timed out": "9718cc761cfd5810041ef007ae258fa1308b8487d0f30c5f36a442f8fe5f76c5", "Timeouts and execution policy": "8011c5fa4d20f9252aa923ae93fbef6f6b3f45f975388030c4a10a05001329cf", @@ -7434,6 +7435,7 @@ "Visible multi-reply cap": "266fa484b23648ac5fd4252b1b67558b1fa2927de86208091a2231723850c7df", "Voice input is not supported in this browser.": "198b64199a291c3eacfeaa9f0f268ed0166b0fa36e0e8e4e1084f3399eb15fd9", "Volcengine Ark OpenAI-compatible chat endpoint for Doubao models.": "4369fbabad7a4795ac4fbc796ab26e51c48121abec229b626b48117f510466ee", + "Vote quorum was not met": "22abe3f7bf05dd9981e3575b81db01f7a3adba195c4e79dba3fceb88b4503327", "Wait for attachments to finish uploading.": "f59647adc722dad97cc92e74053a08d8542e67f11cdf4864d06ef6da93e99974", "waiting": "80cfa3e7f28dde4df64436b652230aff28d7779116d1369c21ef2bbf37261d71", "Waiting": "6e293a8c009e001103199768f7bcbea1729c59f9fc1ef2748958757f47ab99ed", @@ -7460,6 +7462,7 @@ "Waiting for sign-in": "749a343a3a25c1df679ee6d6e74abb72e08ef956bfa15434407e61934dc054c9", "Waiting for system confirmation and Host readback...": "952e73792f0715e2d1f30ef0b0c03c4353cd9ab96caa71856bbce7dc41e2d161", "waiting for user input": "f43ef097687b1d8c8800577eefa3f7e10d0c82236cd0017f983d131e8e673174", + "Waiting for votes": "bbb50edc12d1ce791069a8e84ca6e73a255b796306d32cdc1414987b986e172f", "Waiting for workspace": "e682cb09e669c47785b8cb4b28fd43bc51c52636c3178e328477ce86f6a33aed", "Waiting reason": "17171d9f1f059dc74d257f1411452835b78655c83362fae4f2ae2e1e4d1d1c12", "Waiting to check the selected model": "9e16fc6ad7876a2c3467a66b1b0f0d37a9fb493569fc92e7fccb691c8baf193c", @@ -14775,6 +14778,7 @@ "Threat model": "धमकी मॉडेल", "Threat model artifact": "थ्रेट मॉडेल आर्टिफॅक्ट", "Thursday": "गुरुवार", + "Tied vote": "बद्ध मत", "Time": "वेळ", "Timed out": "कालबाह्य", "Timeouts and execution policy": "कालबाह्यता आणि अंमलबजावणी धोरण", @@ -15167,6 +15171,7 @@ "Visible multi-reply cap": "दृश्यमान मल्टी-रिप्लाय कॅप", "Voice input is not supported in this browser.": "या ब्राउझरमध्ये व्हॉइस इनपुट समर्थित नाही.", "Volcengine Ark OpenAI-compatible chat endpoint for Doubao models.": "Doubao मॉडेलसाठी Volcengine Ark OpenAI-सुसंगत चॅट एंडपॉइंट.", + "Vote quorum was not met": "मतदानाचा कोरम पूर्ण झाला नाही", "Wait for attachments to finish uploading.": "संलग्नक अपलोड करणे पूर्ण होईपर्यंत प्रतीक्षा करा.", "waiting": "वाट पाहणे", "Waiting": "वाट पाहत आहे", @@ -15193,6 +15198,7 @@ "Waiting for sign-in": "साइन-इनची प्रतीक्षा करत आहे", "Waiting for system confirmation and Host readback...": "सिस्टम पुष्टीकरण आणि होस्ट रीडबॅकची प्रतीक्षा करत आहे...", "waiting for user input": "वापरकर्ता इनपुटची प्रतीक्षा करत आहे", + "Waiting for votes": "मतांच्या प्रतीक्षेत", "Waiting for workspace": "कार्यक्षेत्राची वाट पाहत आहे", "Waiting reason": "वाट पाहण्याचे कारण", "Waiting to check the selected model": "निवडलेले मॉडेल तपासण्यासाठी प्रतीक्षा करत आहे", diff --git a/packages/localization/catalogs/ms-MY.json b/packages/localization/catalogs/ms-MY.json index ff75d96f0..4986949ae 100644 --- a/packages/localization/catalogs/ms-MY.json +++ b/packages/localization/catalogs/ms-MY.json @@ -1,6 +1,6 @@ { "locale": "ms-MY", - "sourceRevision": "6468d2af71d2feb60f9b8c5f37bc2a3ff1177fb2c8b0d65e85002de6b1095cbb", + "sourceRevision": "e134cc889637523423524b121cf71dcb37afdd3d7daf48eaea975d1c39785b2e", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -7042,6 +7042,7 @@ "Threat model": "ac7c7cee765bae0828d383a6446e38ecdba0844e3c188c7008063c0bfe983c42", "Threat model artifact": "c57b9c06d70b87dbf1dc64874de22f98b41b3d74867a881aa2dcd0132b239e5e", "Thursday": "fc2662062ffdef9610020183ea2b087c21d71150d78a7c7463be8a9050bd3ac9", + "Tied vote": "b781f33e7a2c04158bbbfa7e86dbc4d3fbf5b75643b4efdbea46d01f39cafa6b", "Time": "33b93476cf597a3330653b66a658983d892ac264b5d6029a2dc642b9b1f30870", "Timed out": "9718cc761cfd5810041ef007ae258fa1308b8487d0f30c5f36a442f8fe5f76c5", "Timeouts and execution policy": "8011c5fa4d20f9252aa923ae93fbef6f6b3f45f975388030c4a10a05001329cf", @@ -7434,6 +7435,7 @@ "Visible multi-reply cap": "266fa484b23648ac5fd4252b1b67558b1fa2927de86208091a2231723850c7df", "Voice input is not supported in this browser.": "198b64199a291c3eacfeaa9f0f268ed0166b0fa36e0e8e4e1084f3399eb15fd9", "Volcengine Ark OpenAI-compatible chat endpoint for Doubao models.": "4369fbabad7a4795ac4fbc796ab26e51c48121abec229b626b48117f510466ee", + "Vote quorum was not met": "22abe3f7bf05dd9981e3575b81db01f7a3adba195c4e79dba3fceb88b4503327", "Wait for attachments to finish uploading.": "f59647adc722dad97cc92e74053a08d8542e67f11cdf4864d06ef6da93e99974", "waiting": "80cfa3e7f28dde4df64436b652230aff28d7779116d1369c21ef2bbf37261d71", "Waiting": "6e293a8c009e001103199768f7bcbea1729c59f9fc1ef2748958757f47ab99ed", @@ -7460,6 +7462,7 @@ "Waiting for sign-in": "749a343a3a25c1df679ee6d6e74abb72e08ef956bfa15434407e61934dc054c9", "Waiting for system confirmation and Host readback...": "952e73792f0715e2d1f30ef0b0c03c4353cd9ab96caa71856bbce7dc41e2d161", "waiting for user input": "f43ef097687b1d8c8800577eefa3f7e10d0c82236cd0017f983d131e8e673174", + "Waiting for votes": "bbb50edc12d1ce791069a8e84ca6e73a255b796306d32cdc1414987b986e172f", "Waiting for workspace": "e682cb09e669c47785b8cb4b28fd43bc51c52636c3178e328477ce86f6a33aed", "Waiting reason": "17171d9f1f059dc74d257f1411452835b78655c83362fae4f2ae2e1e4d1d1c12", "Waiting to check the selected model": "9e16fc6ad7876a2c3467a66b1b0f0d37a9fb493569fc92e7fccb691c8baf193c", @@ -14775,6 +14778,7 @@ "Threat model": "Model ancaman", "Threat model artifact": "Artifak model ancaman", "Thursday": "Khamis", + "Tied vote": "Undi seri", "Time": "Masa", "Timed out": "Tamat masa", "Timeouts and execution policy": "Masa tamat dan dasar pelaksanaan", @@ -15167,6 +15171,7 @@ "Visible multi-reply cap": "Had berbilang balasan yang boleh dilihat", "Voice input is not supported in this browser.": "Input suara tidak disokong dalam penyemak imbas ini.", "Volcengine Ark OpenAI-compatible chat endpoint for Doubao models.": "Titik akhir sembang serasi Volcengine Ark OpenAI untuk model Doubao.", + "Vote quorum was not met": "Korum undi tidak dipenuhi", "Wait for attachments to finish uploading.": "Tunggu sehingga lampiran selesai dimuat naik.", "waiting": "menunggu", "Waiting": "Menunggu", @@ -15193,6 +15198,7 @@ "Waiting for sign-in": "Menunggu untuk log masuk", "Waiting for system confirmation and Host readback...": "Menunggu pengesahan sistem dan bacaan balik Hos...", "waiting for user input": "menunggu input pengguna", + "Waiting for votes": "Menunggu undian", "Waiting for workspace": "Menunggu ruang kerja", "Waiting reason": "Alasan menunggu", "Waiting to check the selected model": "Menunggu untuk menyemak model yang dipilih", diff --git a/packages/localization/catalogs/my-MM.json b/packages/localization/catalogs/my-MM.json index 0f15dddb1..333ebec14 100644 --- a/packages/localization/catalogs/my-MM.json +++ b/packages/localization/catalogs/my-MM.json @@ -1,6 +1,6 @@ { "locale": "my-MM", - "sourceRevision": "6468d2af71d2feb60f9b8c5f37bc2a3ff1177fb2c8b0d65e85002de6b1095cbb", + "sourceRevision": "e134cc889637523423524b121cf71dcb37afdd3d7daf48eaea975d1c39785b2e", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -7042,6 +7042,7 @@ "Threat model": "ac7c7cee765bae0828d383a6446e38ecdba0844e3c188c7008063c0bfe983c42", "Threat model artifact": "c57b9c06d70b87dbf1dc64874de22f98b41b3d74867a881aa2dcd0132b239e5e", "Thursday": "fc2662062ffdef9610020183ea2b087c21d71150d78a7c7463be8a9050bd3ac9", + "Tied vote": "b781f33e7a2c04158bbbfa7e86dbc4d3fbf5b75643b4efdbea46d01f39cafa6b", "Time": "33b93476cf597a3330653b66a658983d892ac264b5d6029a2dc642b9b1f30870", "Timed out": "9718cc761cfd5810041ef007ae258fa1308b8487d0f30c5f36a442f8fe5f76c5", "Timeouts and execution policy": "8011c5fa4d20f9252aa923ae93fbef6f6b3f45f975388030c4a10a05001329cf", @@ -7434,6 +7435,7 @@ "Visible multi-reply cap": "266fa484b23648ac5fd4252b1b67558b1fa2927de86208091a2231723850c7df", "Voice input is not supported in this browser.": "198b64199a291c3eacfeaa9f0f268ed0166b0fa36e0e8e4e1084f3399eb15fd9", "Volcengine Ark OpenAI-compatible chat endpoint for Doubao models.": "4369fbabad7a4795ac4fbc796ab26e51c48121abec229b626b48117f510466ee", + "Vote quorum was not met": "22abe3f7bf05dd9981e3575b81db01f7a3adba195c4e79dba3fceb88b4503327", "Wait for attachments to finish uploading.": "f59647adc722dad97cc92e74053a08d8542e67f11cdf4864d06ef6da93e99974", "waiting": "80cfa3e7f28dde4df64436b652230aff28d7779116d1369c21ef2bbf37261d71", "Waiting": "6e293a8c009e001103199768f7bcbea1729c59f9fc1ef2748958757f47ab99ed", @@ -7460,6 +7462,7 @@ "Waiting for sign-in": "749a343a3a25c1df679ee6d6e74abb72e08ef956bfa15434407e61934dc054c9", "Waiting for system confirmation and Host readback...": "952e73792f0715e2d1f30ef0b0c03c4353cd9ab96caa71856bbce7dc41e2d161", "waiting for user input": "f43ef097687b1d8c8800577eefa3f7e10d0c82236cd0017f983d131e8e673174", + "Waiting for votes": "bbb50edc12d1ce791069a8e84ca6e73a255b796306d32cdc1414987b986e172f", "Waiting for workspace": "e682cb09e669c47785b8cb4b28fd43bc51c52636c3178e328477ce86f6a33aed", "Waiting reason": "17171d9f1f059dc74d257f1411452835b78655c83362fae4f2ae2e1e4d1d1c12", "Waiting to check the selected model": "9e16fc6ad7876a2c3467a66b1b0f0d37a9fb493569fc92e7fccb691c8baf193c", @@ -14775,6 +14778,7 @@ "Threat model": "ခြိမ်းခြောက်မှုပုံစံ", "Threat model artifact": "ခြိမ်းခြောက်မှုပုံစံ လက်ရာ", "Thursday": "ကြာသပတေးနေ့", + "Tied vote": "ချည်မဲ", "Time": "အချိန်", "Timed out": "အချိန်ကုန်သွားပြီ", "Timeouts and execution policy": "အချိန်ကုန်ခြင်းနှင့် အကောင်အထည်ဖော်ခြင်းဆိုင်ရာ မူဝါဒ", @@ -15167,6 +15171,7 @@ "Visible multi-reply cap": "စာပြန်ထုပ်ပေါင်းများစွာကို မြင်နိုင်သည်။", "Voice input is not supported in this browser.": "ဤဘရောက်ဆာတွင် အသံထည့်သွင်းခြင်းကို မပံ့ပိုးပါ။", "Volcengine Ark OpenAI-compatible chat endpoint for Doubao models.": "Doubao မော်ဒယ်များအတွက် Volcengine Ark OpenAI-သဟဇာတ ချတ်အဆုံးမှတ်။", + "Vote quorum was not met": "မဲအထမြောက်ခြင်း မအောင်မြင်ပါ။", "Wait for attachments to finish uploading.": "ပူးတွဲပါဖိုင်များကို အပ်လုဒ်တင်ခြင်း အပြီးသတ်ရန် စောင့်ပါ။", "waiting": "စောင့်နေသည်။", "Waiting": "စောင့်နေတယ်။", @@ -15193,6 +15198,7 @@ "Waiting for sign-in": "လက်မှတ်ထိုးဝင်ရန် စောင့်နေသည်။", "Waiting for system confirmation and Host readback...": "စနစ်အတည်ပြုချက်နှင့် လက်ခံဖတ်ရှုခြင်းအတွက် စောင့်ဆိုင်းနေသည်...", "waiting for user input": "အသုံးပြုသူ ထည့်သွင်းမှုကို စောင့်ဆိုင်းနေသည်။", + "Waiting for votes": "မဲတွေကို စောင့်နေတယ်။", "Waiting for workspace": "အလုပ်ခွင်ကို စောင့်နေသည်။", "Waiting reason": "စောင့်ဆိုင်းရခြင်း", "Waiting to check the selected model": "ရွေးချယ်ထားသော မော်ဒယ်ကို စစ်ဆေးရန် စောင့်ဆိုင်းနေပါသည်။", diff --git a/packages/localization/catalogs/nb-NO.json b/packages/localization/catalogs/nb-NO.json index 506f45e4b..4da4b83dc 100644 --- a/packages/localization/catalogs/nb-NO.json +++ b/packages/localization/catalogs/nb-NO.json @@ -1,6 +1,6 @@ { "locale": "nb-NO", - "sourceRevision": "6468d2af71d2feb60f9b8c5f37bc2a3ff1177fb2c8b0d65e85002de6b1095cbb", + "sourceRevision": "e134cc889637523423524b121cf71dcb37afdd3d7daf48eaea975d1c39785b2e", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -7042,6 +7042,7 @@ "Threat model": "ac7c7cee765bae0828d383a6446e38ecdba0844e3c188c7008063c0bfe983c42", "Threat model artifact": "c57b9c06d70b87dbf1dc64874de22f98b41b3d74867a881aa2dcd0132b239e5e", "Thursday": "fc2662062ffdef9610020183ea2b087c21d71150d78a7c7463be8a9050bd3ac9", + "Tied vote": "b781f33e7a2c04158bbbfa7e86dbc4d3fbf5b75643b4efdbea46d01f39cafa6b", "Time": "33b93476cf597a3330653b66a658983d892ac264b5d6029a2dc642b9b1f30870", "Timed out": "9718cc761cfd5810041ef007ae258fa1308b8487d0f30c5f36a442f8fe5f76c5", "Timeouts and execution policy": "8011c5fa4d20f9252aa923ae93fbef6f6b3f45f975388030c4a10a05001329cf", @@ -7434,6 +7435,7 @@ "Visible multi-reply cap": "266fa484b23648ac5fd4252b1b67558b1fa2927de86208091a2231723850c7df", "Voice input is not supported in this browser.": "198b64199a291c3eacfeaa9f0f268ed0166b0fa36e0e8e4e1084f3399eb15fd9", "Volcengine Ark OpenAI-compatible chat endpoint for Doubao models.": "4369fbabad7a4795ac4fbc796ab26e51c48121abec229b626b48117f510466ee", + "Vote quorum was not met": "22abe3f7bf05dd9981e3575b81db01f7a3adba195c4e79dba3fceb88b4503327", "Wait for attachments to finish uploading.": "f59647adc722dad97cc92e74053a08d8542e67f11cdf4864d06ef6da93e99974", "waiting": "80cfa3e7f28dde4df64436b652230aff28d7779116d1369c21ef2bbf37261d71", "Waiting": "6e293a8c009e001103199768f7bcbea1729c59f9fc1ef2748958757f47ab99ed", @@ -7460,6 +7462,7 @@ "Waiting for sign-in": "749a343a3a25c1df679ee6d6e74abb72e08ef956bfa15434407e61934dc054c9", "Waiting for system confirmation and Host readback...": "952e73792f0715e2d1f30ef0b0c03c4353cd9ab96caa71856bbce7dc41e2d161", "waiting for user input": "f43ef097687b1d8c8800577eefa3f7e10d0c82236cd0017f983d131e8e673174", + "Waiting for votes": "bbb50edc12d1ce791069a8e84ca6e73a255b796306d32cdc1414987b986e172f", "Waiting for workspace": "e682cb09e669c47785b8cb4b28fd43bc51c52636c3178e328477ce86f6a33aed", "Waiting reason": "17171d9f1f059dc74d257f1411452835b78655c83362fae4f2ae2e1e4d1d1c12", "Waiting to check the selected model": "9e16fc6ad7876a2c3467a66b1b0f0d37a9fb493569fc92e7fccb691c8baf193c", @@ -14775,6 +14778,7 @@ "Threat model": "Trusselmodell", "Threat model artifact": "Trusselmodellartefakt", "Thursday": "torsdag", + "Tied vote": "Stemmelikhet", "Time": "Tid", "Timed out": "Tidsavbrudd", "Timeouts and execution policy": "Timeouts og utførelsespolicy", @@ -15167,6 +15171,7 @@ "Visible multi-reply cap": "Synlig flersvarshette", "Voice input is not supported in this browser.": "Stemmeinndata støttes ikke i denne nettleseren.", "Volcengine Ark OpenAI-compatible chat endpoint for Doubao models.": "Volcengine Ark OpenAI-kompatibelt chat-endepunkt for Doubao-modeller.", + "Vote quorum was not met": "Stemmebeslutning ble ikke oppfylt", "Wait for attachments to finish uploading.": "Vent til vedlegg er fullført.", "waiting": "venter", "Waiting": "Venter", @@ -15193,6 +15198,7 @@ "Waiting for sign-in": "Venter på pålogging", "Waiting for system confirmation and Host readback...": "Venter på systembekreftelse og vertsavlesning...", "waiting for user input": "venter på brukerinnspill", + "Waiting for votes": "Venter på stemmer", "Waiting for workspace": "Venter på arbeidsplass", "Waiting reason": "Venter grunn", "Waiting to check the selected model": "Venter på å sjekke den valgte modellen", diff --git a/packages/localization/catalogs/nl-NL.json b/packages/localization/catalogs/nl-NL.json index d809c0a9a..e9308b45d 100644 --- a/packages/localization/catalogs/nl-NL.json +++ b/packages/localization/catalogs/nl-NL.json @@ -1,6 +1,6 @@ { "locale": "nl-NL", - "sourceRevision": "6468d2af71d2feb60f9b8c5f37bc2a3ff1177fb2c8b0d65e85002de6b1095cbb", + "sourceRevision": "e134cc889637523423524b121cf71dcb37afdd3d7daf48eaea975d1c39785b2e", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -7042,6 +7042,7 @@ "Threat model": "ac7c7cee765bae0828d383a6446e38ecdba0844e3c188c7008063c0bfe983c42", "Threat model artifact": "c57b9c06d70b87dbf1dc64874de22f98b41b3d74867a881aa2dcd0132b239e5e", "Thursday": "fc2662062ffdef9610020183ea2b087c21d71150d78a7c7463be8a9050bd3ac9", + "Tied vote": "b781f33e7a2c04158bbbfa7e86dbc4d3fbf5b75643b4efdbea46d01f39cafa6b", "Time": "33b93476cf597a3330653b66a658983d892ac264b5d6029a2dc642b9b1f30870", "Timed out": "9718cc761cfd5810041ef007ae258fa1308b8487d0f30c5f36a442f8fe5f76c5", "Timeouts and execution policy": "8011c5fa4d20f9252aa923ae93fbef6f6b3f45f975388030c4a10a05001329cf", @@ -7434,6 +7435,7 @@ "Visible multi-reply cap": "266fa484b23648ac5fd4252b1b67558b1fa2927de86208091a2231723850c7df", "Voice input is not supported in this browser.": "198b64199a291c3eacfeaa9f0f268ed0166b0fa36e0e8e4e1084f3399eb15fd9", "Volcengine Ark OpenAI-compatible chat endpoint for Doubao models.": "4369fbabad7a4795ac4fbc796ab26e51c48121abec229b626b48117f510466ee", + "Vote quorum was not met": "22abe3f7bf05dd9981e3575b81db01f7a3adba195c4e79dba3fceb88b4503327", "Wait for attachments to finish uploading.": "f59647adc722dad97cc92e74053a08d8542e67f11cdf4864d06ef6da93e99974", "waiting": "80cfa3e7f28dde4df64436b652230aff28d7779116d1369c21ef2bbf37261d71", "Waiting": "6e293a8c009e001103199768f7bcbea1729c59f9fc1ef2748958757f47ab99ed", @@ -7460,6 +7462,7 @@ "Waiting for sign-in": "749a343a3a25c1df679ee6d6e74abb72e08ef956bfa15434407e61934dc054c9", "Waiting for system confirmation and Host readback...": "952e73792f0715e2d1f30ef0b0c03c4353cd9ab96caa71856bbce7dc41e2d161", "waiting for user input": "f43ef097687b1d8c8800577eefa3f7e10d0c82236cd0017f983d131e8e673174", + "Waiting for votes": "bbb50edc12d1ce791069a8e84ca6e73a255b796306d32cdc1414987b986e172f", "Waiting for workspace": "e682cb09e669c47785b8cb4b28fd43bc51c52636c3178e328477ce86f6a33aed", "Waiting reason": "17171d9f1f059dc74d257f1411452835b78655c83362fae4f2ae2e1e4d1d1c12", "Waiting to check the selected model": "9e16fc6ad7876a2c3467a66b1b0f0d37a9fb493569fc92e7fccb691c8baf193c", @@ -14775,6 +14778,7 @@ "Threat model": "Bedreigingsmodel", "Threat model artifact": "Artefact van het dreigingsmodel", "Thursday": "Donderdag", + "Tied vote": "Stemming gelijk", "Time": "Tijd", "Timed out": "Time-out", "Timeouts and execution policy": "Time-outs en uitvoeringsbeleid", @@ -15167,6 +15171,7 @@ "Visible multi-reply cap": "Zichtbare multi-antwoord-limiet", "Voice input is not supported in this browser.": "Spraakinvoer wordt niet ondersteund in deze browser.", "Volcengine Ark OpenAI-compatible chat endpoint for Doubao models.": "Volcengine Ark OpenAI-compatibel chat-eindpunt voor Doubao-modellen.", + "Vote quorum was not met": "Het stemquorum werd niet gehaald", "Wait for attachments to finish uploading.": "Wacht tot de bijlagen zijn geüpload.", "waiting": "wachten", "Waiting": "Wachten", @@ -15193,6 +15198,7 @@ "Waiting for sign-in": "Wachten op inloggen", "Waiting for system confirmation and Host readback...": "Wachten op systeembevestiging en host-teruglezing...", "waiting for user input": "wachten op gebruikersinvoer", + "Waiting for votes": "Wachten op stemmen", "Waiting for workspace": "Wachten op werkruimte", "Waiting reason": "Reden van wachten", "Waiting to check the selected model": "Wachten om het geselecteerde model te controleren", diff --git a/packages/localization/catalogs/pl-PL.json b/packages/localization/catalogs/pl-PL.json index 4885b936b..5dca771a1 100644 --- a/packages/localization/catalogs/pl-PL.json +++ b/packages/localization/catalogs/pl-PL.json @@ -1,6 +1,6 @@ { "locale": "pl-PL", - "sourceRevision": "6468d2af71d2feb60f9b8c5f37bc2a3ff1177fb2c8b0d65e85002de6b1095cbb", + "sourceRevision": "e134cc889637523423524b121cf71dcb37afdd3d7daf48eaea975d1c39785b2e", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -7042,6 +7042,7 @@ "Threat model": "ac7c7cee765bae0828d383a6446e38ecdba0844e3c188c7008063c0bfe983c42", "Threat model artifact": "c57b9c06d70b87dbf1dc64874de22f98b41b3d74867a881aa2dcd0132b239e5e", "Thursday": "fc2662062ffdef9610020183ea2b087c21d71150d78a7c7463be8a9050bd3ac9", + "Tied vote": "b781f33e7a2c04158bbbfa7e86dbc4d3fbf5b75643b4efdbea46d01f39cafa6b", "Time": "33b93476cf597a3330653b66a658983d892ac264b5d6029a2dc642b9b1f30870", "Timed out": "9718cc761cfd5810041ef007ae258fa1308b8487d0f30c5f36a442f8fe5f76c5", "Timeouts and execution policy": "8011c5fa4d20f9252aa923ae93fbef6f6b3f45f975388030c4a10a05001329cf", @@ -7434,6 +7435,7 @@ "Visible multi-reply cap": "266fa484b23648ac5fd4252b1b67558b1fa2927de86208091a2231723850c7df", "Voice input is not supported in this browser.": "198b64199a291c3eacfeaa9f0f268ed0166b0fa36e0e8e4e1084f3399eb15fd9", "Volcengine Ark OpenAI-compatible chat endpoint for Doubao models.": "4369fbabad7a4795ac4fbc796ab26e51c48121abec229b626b48117f510466ee", + "Vote quorum was not met": "22abe3f7bf05dd9981e3575b81db01f7a3adba195c4e79dba3fceb88b4503327", "Wait for attachments to finish uploading.": "f59647adc722dad97cc92e74053a08d8542e67f11cdf4864d06ef6da93e99974", "waiting": "80cfa3e7f28dde4df64436b652230aff28d7779116d1369c21ef2bbf37261d71", "Waiting": "6e293a8c009e001103199768f7bcbea1729c59f9fc1ef2748958757f47ab99ed", @@ -7460,6 +7462,7 @@ "Waiting for sign-in": "749a343a3a25c1df679ee6d6e74abb72e08ef956bfa15434407e61934dc054c9", "Waiting for system confirmation and Host readback...": "952e73792f0715e2d1f30ef0b0c03c4353cd9ab96caa71856bbce7dc41e2d161", "waiting for user input": "f43ef097687b1d8c8800577eefa3f7e10d0c82236cd0017f983d131e8e673174", + "Waiting for votes": "bbb50edc12d1ce791069a8e84ca6e73a255b796306d32cdc1414987b986e172f", "Waiting for workspace": "e682cb09e669c47785b8cb4b28fd43bc51c52636c3178e328477ce86f6a33aed", "Waiting reason": "17171d9f1f059dc74d257f1411452835b78655c83362fae4f2ae2e1e4d1d1c12", "Waiting to check the selected model": "9e16fc6ad7876a2c3467a66b1b0f0d37a9fb493569fc92e7fccb691c8baf193c", @@ -14775,6 +14778,7 @@ "Threat model": "Model zagrożenia", "Threat model artifact": "Artefakt modelu zagrożenia", "Thursday": "Czwartek", + "Tied vote": "Równy głos", "Time": "Czas", "Timed out": "Upłynął limit czasu", "Timeouts and execution policy": "Limity czasu i zasady wykonywania", @@ -15167,6 +15171,7 @@ "Visible multi-reply cap": "Widoczny limit wielu odpowiedzi", "Voice input is not supported in this browser.": "Wprowadzanie głosowe nie jest obsługiwane w tej przeglądarce.", "Volcengine Ark OpenAI-compatible chat endpoint for Doubao models.": "Punkt końcowy czatu zgodny z Volcengine Ark OpenAI dla modeli Doubao.", + "Vote quorum was not met": "Nie osiągnięto kworum w głosowaniu", "Wait for attachments to finish uploading.": "Poczekaj, aż przesyłanie załączników zakończy się.", "waiting": "czekanie", "Waiting": "Czekanie", @@ -15193,6 +15198,7 @@ "Waiting for sign-in": "Oczekiwanie na logowanie", "Waiting for system confirmation and Host readback...": "Oczekiwanie na potwierdzenie systemu i odczyt hosta...", "waiting for user input": "oczekiwanie na dane wejściowe użytkownika", + "Waiting for votes": "Czekam na głosy", "Waiting for workspace": "Czekam na miejsce do pracy", "Waiting reason": "Powód oczekiwania", "Waiting to check the selected model": "Czekam na sprawdzenie wybranego modelu", diff --git a/packages/localization/catalogs/pt-BR.json b/packages/localization/catalogs/pt-BR.json index caf7307bd..4b6238672 100644 --- a/packages/localization/catalogs/pt-BR.json +++ b/packages/localization/catalogs/pt-BR.json @@ -1,6 +1,6 @@ { "locale": "pt-BR", - "sourceRevision": "6468d2af71d2feb60f9b8c5f37bc2a3ff1177fb2c8b0d65e85002de6b1095cbb", + "sourceRevision": "e134cc889637523423524b121cf71dcb37afdd3d7daf48eaea975d1c39785b2e", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -7042,6 +7042,7 @@ "Threat model": "ac7c7cee765bae0828d383a6446e38ecdba0844e3c188c7008063c0bfe983c42", "Threat model artifact": "c57b9c06d70b87dbf1dc64874de22f98b41b3d74867a881aa2dcd0132b239e5e", "Thursday": "fc2662062ffdef9610020183ea2b087c21d71150d78a7c7463be8a9050bd3ac9", + "Tied vote": "b781f33e7a2c04158bbbfa7e86dbc4d3fbf5b75643b4efdbea46d01f39cafa6b", "Time": "33b93476cf597a3330653b66a658983d892ac264b5d6029a2dc642b9b1f30870", "Timed out": "9718cc761cfd5810041ef007ae258fa1308b8487d0f30c5f36a442f8fe5f76c5", "Timeouts and execution policy": "8011c5fa4d20f9252aa923ae93fbef6f6b3f45f975388030c4a10a05001329cf", @@ -7434,6 +7435,7 @@ "Visible multi-reply cap": "266fa484b23648ac5fd4252b1b67558b1fa2927de86208091a2231723850c7df", "Voice input is not supported in this browser.": "198b64199a291c3eacfeaa9f0f268ed0166b0fa36e0e8e4e1084f3399eb15fd9", "Volcengine Ark OpenAI-compatible chat endpoint for Doubao models.": "4369fbabad7a4795ac4fbc796ab26e51c48121abec229b626b48117f510466ee", + "Vote quorum was not met": "22abe3f7bf05dd9981e3575b81db01f7a3adba195c4e79dba3fceb88b4503327", "Wait for attachments to finish uploading.": "f59647adc722dad97cc92e74053a08d8542e67f11cdf4864d06ef6da93e99974", "waiting": "80cfa3e7f28dde4df64436b652230aff28d7779116d1369c21ef2bbf37261d71", "Waiting": "6e293a8c009e001103199768f7bcbea1729c59f9fc1ef2748958757f47ab99ed", @@ -7460,6 +7462,7 @@ "Waiting for sign-in": "749a343a3a25c1df679ee6d6e74abb72e08ef956bfa15434407e61934dc054c9", "Waiting for system confirmation and Host readback...": "952e73792f0715e2d1f30ef0b0c03c4353cd9ab96caa71856bbce7dc41e2d161", "waiting for user input": "f43ef097687b1d8c8800577eefa3f7e10d0c82236cd0017f983d131e8e673174", + "Waiting for votes": "bbb50edc12d1ce791069a8e84ca6e73a255b796306d32cdc1414987b986e172f", "Waiting for workspace": "e682cb09e669c47785b8cb4b28fd43bc51c52636c3178e328477ce86f6a33aed", "Waiting reason": "17171d9f1f059dc74d257f1411452835b78655c83362fae4f2ae2e1e4d1d1c12", "Waiting to check the selected model": "9e16fc6ad7876a2c3467a66b1b0f0d37a9fb493569fc92e7fccb691c8baf193c", @@ -14775,6 +14778,7 @@ "Threat model": "Modelo de ameaça", "Threat model artifact": "Artefato do modelo de ameaça", "Thursday": "Quinta-feira", + "Tied vote": "Votação empatada", "Time": "Tempo", "Timed out": "Tempo limite esgotado", "Timeouts and execution policy": "Tempos limite e política de execução", @@ -15167,6 +15171,7 @@ "Visible multi-reply cap": "Limite de múltiplas respostas visível", "Voice input is not supported in this browser.": "A entrada de voz não é compatível com este navegador.", "Volcengine Ark OpenAI-compatible chat endpoint for Doubao models.": "Endpoint de bate-papo compatível com Volcengine Ark OpenAI para modelos Doubao.", + "Vote quorum was not met": "O quórum de votação não foi atingido", "Wait for attachments to finish uploading.": "Aguarde o término do upload dos anexos.", "waiting": "esperando", "Waiting": "Esperando", @@ -15193,6 +15198,7 @@ "Waiting for sign-in": "Aguardando login", "Waiting for system confirmation and Host readback...": "Aguardando confirmação do sistema e leitura do host...", "waiting for user input": "aguardando a entrada do usuário", + "Waiting for votes": "Esperando por votos", "Waiting for workspace": "Aguardando espaço de trabalho", "Waiting reason": "Motivo de espera", "Waiting to check the selected model": "Aguardando para verificar o modelo selecionado", diff --git a/packages/localization/catalogs/pt-PT.json b/packages/localization/catalogs/pt-PT.json index 52c2b97c1..bd962a194 100644 --- a/packages/localization/catalogs/pt-PT.json +++ b/packages/localization/catalogs/pt-PT.json @@ -1,6 +1,6 @@ { "locale": "pt-PT", - "sourceRevision": "6468d2af71d2feb60f9b8c5f37bc2a3ff1177fb2c8b0d65e85002de6b1095cbb", + "sourceRevision": "e134cc889637523423524b121cf71dcb37afdd3d7daf48eaea975d1c39785b2e", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -7042,6 +7042,7 @@ "Threat model": "ac7c7cee765bae0828d383a6446e38ecdba0844e3c188c7008063c0bfe983c42", "Threat model artifact": "c57b9c06d70b87dbf1dc64874de22f98b41b3d74867a881aa2dcd0132b239e5e", "Thursday": "fc2662062ffdef9610020183ea2b087c21d71150d78a7c7463be8a9050bd3ac9", + "Tied vote": "b781f33e7a2c04158bbbfa7e86dbc4d3fbf5b75643b4efdbea46d01f39cafa6b", "Time": "33b93476cf597a3330653b66a658983d892ac264b5d6029a2dc642b9b1f30870", "Timed out": "9718cc761cfd5810041ef007ae258fa1308b8487d0f30c5f36a442f8fe5f76c5", "Timeouts and execution policy": "8011c5fa4d20f9252aa923ae93fbef6f6b3f45f975388030c4a10a05001329cf", @@ -7434,6 +7435,7 @@ "Visible multi-reply cap": "266fa484b23648ac5fd4252b1b67558b1fa2927de86208091a2231723850c7df", "Voice input is not supported in this browser.": "198b64199a291c3eacfeaa9f0f268ed0166b0fa36e0e8e4e1084f3399eb15fd9", "Volcengine Ark OpenAI-compatible chat endpoint for Doubao models.": "4369fbabad7a4795ac4fbc796ab26e51c48121abec229b626b48117f510466ee", + "Vote quorum was not met": "22abe3f7bf05dd9981e3575b81db01f7a3adba195c4e79dba3fceb88b4503327", "Wait for attachments to finish uploading.": "f59647adc722dad97cc92e74053a08d8542e67f11cdf4864d06ef6da93e99974", "waiting": "80cfa3e7f28dde4df64436b652230aff28d7779116d1369c21ef2bbf37261d71", "Waiting": "6e293a8c009e001103199768f7bcbea1729c59f9fc1ef2748958757f47ab99ed", @@ -7460,6 +7462,7 @@ "Waiting for sign-in": "749a343a3a25c1df679ee6d6e74abb72e08ef956bfa15434407e61934dc054c9", "Waiting for system confirmation and Host readback...": "952e73792f0715e2d1f30ef0b0c03c4353cd9ab96caa71856bbce7dc41e2d161", "waiting for user input": "f43ef097687b1d8c8800577eefa3f7e10d0c82236cd0017f983d131e8e673174", + "Waiting for votes": "bbb50edc12d1ce791069a8e84ca6e73a255b796306d32cdc1414987b986e172f", "Waiting for workspace": "e682cb09e669c47785b8cb4b28fd43bc51c52636c3178e328477ce86f6a33aed", "Waiting reason": "17171d9f1f059dc74d257f1411452835b78655c83362fae4f2ae2e1e4d1d1c12", "Waiting to check the selected model": "9e16fc6ad7876a2c3467a66b1b0f0d37a9fb493569fc92e7fccb691c8baf193c", @@ -14775,6 +14778,7 @@ "Threat model": "Modelo de ameaça", "Threat model artifact": "Artefacto do modelo de ameaça", "Thursday": "Quinta-feira", + "Tied vote": "Votação empatada", "Time": "Hora", "Timed out": "Tempo limite esgotado", "Timeouts and execution policy": "Tempos limite e política de execução", @@ -15167,6 +15171,7 @@ "Visible multi-reply cap": "Limite de respostas múltiplas visível", "Voice input is not supported in this browser.": "A introdução de voz não é compatível com este browser.", "Volcengine Ark OpenAI-compatible chat endpoint for Doubao models.": "Endpoint de chat compatível com Volcengine Ark OpenAI para modelos Doubao.", + "Vote quorum was not met": "O quórum de votação não foi atingido", "Wait for attachments to finish uploading.": "Aguarde o término do upload dos anexos.", "waiting": "espera", "Waiting": "Espera", @@ -15193,6 +15198,7 @@ "Waiting for sign-in": "Aguardando login", "Waiting for system confirmation and Host readback...": "Aguarda confirmação do sistema e leitura do host...", "waiting for user input": "aguardando a entrada do utilizador", + "Waiting for votes": "Aguardando votos", "Waiting for workspace": "Aguarda espaço de trabalho", "Waiting reason": "Motivo de espera", "Waiting to check the selected model": "Aguarda para verificar o modelo selecionado", diff --git a/packages/localization/catalogs/ro-RO.json b/packages/localization/catalogs/ro-RO.json index ef50bcbe9..82bd7d0d4 100644 --- a/packages/localization/catalogs/ro-RO.json +++ b/packages/localization/catalogs/ro-RO.json @@ -1,6 +1,6 @@ { "locale": "ro-RO", - "sourceRevision": "6468d2af71d2feb60f9b8c5f37bc2a3ff1177fb2c8b0d65e85002de6b1095cbb", + "sourceRevision": "e134cc889637523423524b121cf71dcb37afdd3d7daf48eaea975d1c39785b2e", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -7042,6 +7042,7 @@ "Threat model": "ac7c7cee765bae0828d383a6446e38ecdba0844e3c188c7008063c0bfe983c42", "Threat model artifact": "c57b9c06d70b87dbf1dc64874de22f98b41b3d74867a881aa2dcd0132b239e5e", "Thursday": "fc2662062ffdef9610020183ea2b087c21d71150d78a7c7463be8a9050bd3ac9", + "Tied vote": "b781f33e7a2c04158bbbfa7e86dbc4d3fbf5b75643b4efdbea46d01f39cafa6b", "Time": "33b93476cf597a3330653b66a658983d892ac264b5d6029a2dc642b9b1f30870", "Timed out": "9718cc761cfd5810041ef007ae258fa1308b8487d0f30c5f36a442f8fe5f76c5", "Timeouts and execution policy": "8011c5fa4d20f9252aa923ae93fbef6f6b3f45f975388030c4a10a05001329cf", @@ -7434,6 +7435,7 @@ "Visible multi-reply cap": "266fa484b23648ac5fd4252b1b67558b1fa2927de86208091a2231723850c7df", "Voice input is not supported in this browser.": "198b64199a291c3eacfeaa9f0f268ed0166b0fa36e0e8e4e1084f3399eb15fd9", "Volcengine Ark OpenAI-compatible chat endpoint for Doubao models.": "4369fbabad7a4795ac4fbc796ab26e51c48121abec229b626b48117f510466ee", + "Vote quorum was not met": "22abe3f7bf05dd9981e3575b81db01f7a3adba195c4e79dba3fceb88b4503327", "Wait for attachments to finish uploading.": "f59647adc722dad97cc92e74053a08d8542e67f11cdf4864d06ef6da93e99974", "waiting": "80cfa3e7f28dde4df64436b652230aff28d7779116d1369c21ef2bbf37261d71", "Waiting": "6e293a8c009e001103199768f7bcbea1729c59f9fc1ef2748958757f47ab99ed", @@ -7460,6 +7462,7 @@ "Waiting for sign-in": "749a343a3a25c1df679ee6d6e74abb72e08ef956bfa15434407e61934dc054c9", "Waiting for system confirmation and Host readback...": "952e73792f0715e2d1f30ef0b0c03c4353cd9ab96caa71856bbce7dc41e2d161", "waiting for user input": "f43ef097687b1d8c8800577eefa3f7e10d0c82236cd0017f983d131e8e673174", + "Waiting for votes": "bbb50edc12d1ce791069a8e84ca6e73a255b796306d32cdc1414987b986e172f", "Waiting for workspace": "e682cb09e669c47785b8cb4b28fd43bc51c52636c3178e328477ce86f6a33aed", "Waiting reason": "17171d9f1f059dc74d257f1411452835b78655c83362fae4f2ae2e1e4d1d1c12", "Waiting to check the selected model": "9e16fc6ad7876a2c3467a66b1b0f0d37a9fb493569fc92e7fccb691c8baf193c", @@ -14775,6 +14778,7 @@ "Threat model": "Model de amenințare", "Threat model artifact": "Artefact model de amenințare", "Thursday": "joi", + "Tied vote": "Vot la egalitate", "Time": "Timp", "Timed out": "Timp expirat", "Timeouts and execution policy": "Timeout-uri și politica de execuție", @@ -15167,6 +15171,7 @@ "Visible multi-reply cap": "Capac vizibil cu mai multe răspunsuri", "Voice input is not supported in this browser.": "Intrarea vocală nu este acceptată în acest browser.", "Volcengine Ark OpenAI-compatible chat endpoint for Doubao models.": "Punct final de chat compatibil Volcengine Ark OpenAI pentru modelele Doubao.", + "Vote quorum was not met": "Cvorumul de vot nu a fost întrunit", "Wait for attachments to finish uploading.": "Așteptați ca atașamentele să termine încărcarea.", "waiting": "aşteptare", "Waiting": "Aşteptare", @@ -15193,6 +15198,7 @@ "Waiting for sign-in": "Se așteaptă conectarea", "Waiting for system confirmation and Host readback...": "Se așteaptă confirmarea sistemului și citirea gazdei...", "waiting for user input": "așteptând intrarea utilizatorului", + "Waiting for votes": "În așteptarea voturilor", "Waiting for workspace": "În așteptarea spațiului de lucru", "Waiting reason": "Motiv de așteptare", "Waiting to check the selected model": "În așteptarea verificării modelului selectat", diff --git a/packages/localization/catalogs/ru-RU.json b/packages/localization/catalogs/ru-RU.json index 95a2d8dcb..aee0ef9dd 100644 --- a/packages/localization/catalogs/ru-RU.json +++ b/packages/localization/catalogs/ru-RU.json @@ -1,6 +1,6 @@ { "locale": "ru-RU", - "sourceRevision": "6468d2af71d2feb60f9b8c5f37bc2a3ff1177fb2c8b0d65e85002de6b1095cbb", + "sourceRevision": "e134cc889637523423524b121cf71dcb37afdd3d7daf48eaea975d1c39785b2e", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -7042,6 +7042,7 @@ "Threat model": "ac7c7cee765bae0828d383a6446e38ecdba0844e3c188c7008063c0bfe983c42", "Threat model artifact": "c57b9c06d70b87dbf1dc64874de22f98b41b3d74867a881aa2dcd0132b239e5e", "Thursday": "fc2662062ffdef9610020183ea2b087c21d71150d78a7c7463be8a9050bd3ac9", + "Tied vote": "b781f33e7a2c04158bbbfa7e86dbc4d3fbf5b75643b4efdbea46d01f39cafa6b", "Time": "33b93476cf597a3330653b66a658983d892ac264b5d6029a2dc642b9b1f30870", "Timed out": "9718cc761cfd5810041ef007ae258fa1308b8487d0f30c5f36a442f8fe5f76c5", "Timeouts and execution policy": "8011c5fa4d20f9252aa923ae93fbef6f6b3f45f975388030c4a10a05001329cf", @@ -7434,6 +7435,7 @@ "Visible multi-reply cap": "266fa484b23648ac5fd4252b1b67558b1fa2927de86208091a2231723850c7df", "Voice input is not supported in this browser.": "198b64199a291c3eacfeaa9f0f268ed0166b0fa36e0e8e4e1084f3399eb15fd9", "Volcengine Ark OpenAI-compatible chat endpoint for Doubao models.": "4369fbabad7a4795ac4fbc796ab26e51c48121abec229b626b48117f510466ee", + "Vote quorum was not met": "22abe3f7bf05dd9981e3575b81db01f7a3adba195c4e79dba3fceb88b4503327", "Wait for attachments to finish uploading.": "f59647adc722dad97cc92e74053a08d8542e67f11cdf4864d06ef6da93e99974", "waiting": "80cfa3e7f28dde4df64436b652230aff28d7779116d1369c21ef2bbf37261d71", "Waiting": "6e293a8c009e001103199768f7bcbea1729c59f9fc1ef2748958757f47ab99ed", @@ -7460,6 +7462,7 @@ "Waiting for sign-in": "749a343a3a25c1df679ee6d6e74abb72e08ef956bfa15434407e61934dc054c9", "Waiting for system confirmation and Host readback...": "952e73792f0715e2d1f30ef0b0c03c4353cd9ab96caa71856bbce7dc41e2d161", "waiting for user input": "f43ef097687b1d8c8800577eefa3f7e10d0c82236cd0017f983d131e8e673174", + "Waiting for votes": "bbb50edc12d1ce791069a8e84ca6e73a255b796306d32cdc1414987b986e172f", "Waiting for workspace": "e682cb09e669c47785b8cb4b28fd43bc51c52636c3178e328477ce86f6a33aed", "Waiting reason": "17171d9f1f059dc74d257f1411452835b78655c83362fae4f2ae2e1e4d1d1c12", "Waiting to check the selected model": "9e16fc6ad7876a2c3467a66b1b0f0d37a9fb493569fc92e7fccb691c8baf193c", @@ -14775,6 +14778,7 @@ "Threat model": "Модель угроз", "Threat model artifact": "Артефакт модели угроз", "Thursday": "Четверг", + "Tied vote": "Равное голосование", "Time": "Время", "Timed out": "Время ожидания истекло", "Timeouts and execution policy": "Таймауты и политика выполнения", @@ -15167,6 +15171,7 @@ "Visible multi-reply cap": "Видимое ограничение количества ответов", "Voice input is not supported in this browser.": "Голосовой ввод не поддерживается в этом браузере.", "Volcengine Ark OpenAI-compatible chat endpoint for Doubao models.": "Volcengine Ark OpenAI-совместимая конечная точка чата для моделей Doubao.", + "Vote quorum was not met": "Кворум для голосования не соблюден", "Wait for attachments to finish uploading.": "Подождите, пока вложения завершат загрузку.", "waiting": "ожидающий", "Waiting": "Ожидающий", @@ -15193,6 +15198,7 @@ "Waiting for sign-in": "Ожидание входа в систему", "Waiting for system confirmation and Host readback...": "Ожидание подтверждения системы и повторного чтения хоста...", "waiting for user input": "ожидание ввода пользователя", + "Waiting for votes": "Ждем голосов", "Waiting for workspace": "Ожидание рабочего места", "Waiting reason": "Причина ожидания", "Waiting to check the selected model": "Ожидание проверки выбранной модели", diff --git a/packages/localization/catalogs/sk-SK.json b/packages/localization/catalogs/sk-SK.json index 6f6e77e8d..46ad87304 100644 --- a/packages/localization/catalogs/sk-SK.json +++ b/packages/localization/catalogs/sk-SK.json @@ -1,6 +1,6 @@ { "locale": "sk-SK", - "sourceRevision": "6468d2af71d2feb60f9b8c5f37bc2a3ff1177fb2c8b0d65e85002de6b1095cbb", + "sourceRevision": "e134cc889637523423524b121cf71dcb37afdd3d7daf48eaea975d1c39785b2e", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -7042,6 +7042,7 @@ "Threat model": "ac7c7cee765bae0828d383a6446e38ecdba0844e3c188c7008063c0bfe983c42", "Threat model artifact": "c57b9c06d70b87dbf1dc64874de22f98b41b3d74867a881aa2dcd0132b239e5e", "Thursday": "fc2662062ffdef9610020183ea2b087c21d71150d78a7c7463be8a9050bd3ac9", + "Tied vote": "b781f33e7a2c04158bbbfa7e86dbc4d3fbf5b75643b4efdbea46d01f39cafa6b", "Time": "33b93476cf597a3330653b66a658983d892ac264b5d6029a2dc642b9b1f30870", "Timed out": "9718cc761cfd5810041ef007ae258fa1308b8487d0f30c5f36a442f8fe5f76c5", "Timeouts and execution policy": "8011c5fa4d20f9252aa923ae93fbef6f6b3f45f975388030c4a10a05001329cf", @@ -7434,6 +7435,7 @@ "Visible multi-reply cap": "266fa484b23648ac5fd4252b1b67558b1fa2927de86208091a2231723850c7df", "Voice input is not supported in this browser.": "198b64199a291c3eacfeaa9f0f268ed0166b0fa36e0e8e4e1084f3399eb15fd9", "Volcengine Ark OpenAI-compatible chat endpoint for Doubao models.": "4369fbabad7a4795ac4fbc796ab26e51c48121abec229b626b48117f510466ee", + "Vote quorum was not met": "22abe3f7bf05dd9981e3575b81db01f7a3adba195c4e79dba3fceb88b4503327", "Wait for attachments to finish uploading.": "f59647adc722dad97cc92e74053a08d8542e67f11cdf4864d06ef6da93e99974", "waiting": "80cfa3e7f28dde4df64436b652230aff28d7779116d1369c21ef2bbf37261d71", "Waiting": "6e293a8c009e001103199768f7bcbea1729c59f9fc1ef2748958757f47ab99ed", @@ -7460,6 +7462,7 @@ "Waiting for sign-in": "749a343a3a25c1df679ee6d6e74abb72e08ef956bfa15434407e61934dc054c9", "Waiting for system confirmation and Host readback...": "952e73792f0715e2d1f30ef0b0c03c4353cd9ab96caa71856bbce7dc41e2d161", "waiting for user input": "f43ef097687b1d8c8800577eefa3f7e10d0c82236cd0017f983d131e8e673174", + "Waiting for votes": "bbb50edc12d1ce791069a8e84ca6e73a255b796306d32cdc1414987b986e172f", "Waiting for workspace": "e682cb09e669c47785b8cb4b28fd43bc51c52636c3178e328477ce86f6a33aed", "Waiting reason": "17171d9f1f059dc74d257f1411452835b78655c83362fae4f2ae2e1e4d1d1c12", "Waiting to check the selected model": "9e16fc6ad7876a2c3467a66b1b0f0d37a9fb493569fc92e7fccb691c8baf193c", @@ -14775,6 +14778,7 @@ "Threat model": "Model ohrozenia", "Threat model artifact": "Artefakt modelu hrozby", "Thursday": "štvrtok", + "Tied vote": "Nerozhodné hlasovanie", "Time": "Čas", "Timed out": "Časový limit vypršal", "Timeouts and execution policy": "Časové limity a zásady vykonávania", @@ -15167,6 +15171,7 @@ "Visible multi-reply cap": "Viditeľná čiapočka s viacerými odpoveďami", "Voice input is not supported in this browser.": "Tento prehliadač nepodporuje hlasový vstup.", "Volcengine Ark OpenAI-compatible chat endpoint for Doubao models.": "Koncový bod chatu Volcengine Ark kompatibilný s OpenAI pre modely Doubao.", + "Vote quorum was not met": "Nebolo splnené hlasovacie kvórum", "Wait for attachments to finish uploading.": "Počkajte, kým sa dokončí nahrávanie príloh.", "waiting": "čakanie", "Waiting": "Čakanie", @@ -15193,6 +15198,7 @@ "Waiting for sign-in": "Čaká sa na prihlásenie", "Waiting for system confirmation and Host readback...": "Čaká sa na potvrdenie systému a spätné čítanie hostiteľa...", "waiting for user input": "čaká na vstup používateľa", + "Waiting for votes": "Čaká sa na hlasy", "Waiting for workspace": "Čakanie na pracovný priestor", "Waiting reason": "Dôvod čakania", "Waiting to check the selected model": "Čaká sa na kontrolu vybraného modelu", diff --git a/packages/localization/catalogs/sl-SI.json b/packages/localization/catalogs/sl-SI.json index c8e25d8de..9cf01f630 100644 --- a/packages/localization/catalogs/sl-SI.json +++ b/packages/localization/catalogs/sl-SI.json @@ -1,6 +1,6 @@ { "locale": "sl-SI", - "sourceRevision": "6468d2af71d2feb60f9b8c5f37bc2a3ff1177fb2c8b0d65e85002de6b1095cbb", + "sourceRevision": "e134cc889637523423524b121cf71dcb37afdd3d7daf48eaea975d1c39785b2e", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -7042,6 +7042,7 @@ "Threat model": "ac7c7cee765bae0828d383a6446e38ecdba0844e3c188c7008063c0bfe983c42", "Threat model artifact": "c57b9c06d70b87dbf1dc64874de22f98b41b3d74867a881aa2dcd0132b239e5e", "Thursday": "fc2662062ffdef9610020183ea2b087c21d71150d78a7c7463be8a9050bd3ac9", + "Tied vote": "b781f33e7a2c04158bbbfa7e86dbc4d3fbf5b75643b4efdbea46d01f39cafa6b", "Time": "33b93476cf597a3330653b66a658983d892ac264b5d6029a2dc642b9b1f30870", "Timed out": "9718cc761cfd5810041ef007ae258fa1308b8487d0f30c5f36a442f8fe5f76c5", "Timeouts and execution policy": "8011c5fa4d20f9252aa923ae93fbef6f6b3f45f975388030c4a10a05001329cf", @@ -7434,6 +7435,7 @@ "Visible multi-reply cap": "266fa484b23648ac5fd4252b1b67558b1fa2927de86208091a2231723850c7df", "Voice input is not supported in this browser.": "198b64199a291c3eacfeaa9f0f268ed0166b0fa36e0e8e4e1084f3399eb15fd9", "Volcengine Ark OpenAI-compatible chat endpoint for Doubao models.": "4369fbabad7a4795ac4fbc796ab26e51c48121abec229b626b48117f510466ee", + "Vote quorum was not met": "22abe3f7bf05dd9981e3575b81db01f7a3adba195c4e79dba3fceb88b4503327", "Wait for attachments to finish uploading.": "f59647adc722dad97cc92e74053a08d8542e67f11cdf4864d06ef6da93e99974", "waiting": "80cfa3e7f28dde4df64436b652230aff28d7779116d1369c21ef2bbf37261d71", "Waiting": "6e293a8c009e001103199768f7bcbea1729c59f9fc1ef2748958757f47ab99ed", @@ -7460,6 +7462,7 @@ "Waiting for sign-in": "749a343a3a25c1df679ee6d6e74abb72e08ef956bfa15434407e61934dc054c9", "Waiting for system confirmation and Host readback...": "952e73792f0715e2d1f30ef0b0c03c4353cd9ab96caa71856bbce7dc41e2d161", "waiting for user input": "f43ef097687b1d8c8800577eefa3f7e10d0c82236cd0017f983d131e8e673174", + "Waiting for votes": "bbb50edc12d1ce791069a8e84ca6e73a255b796306d32cdc1414987b986e172f", "Waiting for workspace": "e682cb09e669c47785b8cb4b28fd43bc51c52636c3178e328477ce86f6a33aed", "Waiting reason": "17171d9f1f059dc74d257f1411452835b78655c83362fae4f2ae2e1e4d1d1c12", "Waiting to check the selected model": "9e16fc6ad7876a2c3467a66b1b0f0d37a9fb493569fc92e7fccb691c8baf193c", @@ -14775,6 +14778,7 @@ "Threat model": "Model grožnje", "Threat model artifact": "Artefakt modela grožnje", "Thursday": "četrtek", + "Tied vote": "Izenačeno glasovanje", "Time": "Čas", "Timed out": "Časovna omejitev je potekla", "Timeouts and execution policy": "Časovne omejitve in politika izvajanja", @@ -15167,6 +15171,7 @@ "Visible multi-reply cap": "Vidna kapica za več odgovorov", "Voice input is not supported in this browser.": "Glasovni vnos ni podprt v tem brskalniku.", "Volcengine Ark OpenAI-compatible chat endpoint for Doubao models.": "Končna točka klepeta, združljiva z Volcengine Ark OpenAI, za modele Doubao.", + "Vote quorum was not met": "Glasovalni kvorum ni bil dosežen", "Wait for attachments to finish uploading.": "Počakajte, da se priloge končajo z nalaganjem.", "waiting": "čakanje", "Waiting": "Čakanje", @@ -15193,6 +15198,7 @@ "Waiting for sign-in": "Čakam na prijavo", "Waiting for system confirmation and Host readback...": "Čakanje na potrditev sistema in povratno branje gostitelja ...", "waiting for user input": "čaka na uporabniški vnos", + "Waiting for votes": "Čakanje na glasove", "Waiting for workspace": "Čakanje na delovni prostor", "Waiting reason": "Razlog za čakanje", "Waiting to check the selected model": "Čakam na preverjanje izbranega modela", diff --git a/packages/localization/catalogs/so-SO.json b/packages/localization/catalogs/so-SO.json index 24ee25b10..a6b145c3f 100644 --- a/packages/localization/catalogs/so-SO.json +++ b/packages/localization/catalogs/so-SO.json @@ -1,6 +1,6 @@ { "locale": "so-SO", - "sourceRevision": "6468d2af71d2feb60f9b8c5f37bc2a3ff1177fb2c8b0d65e85002de6b1095cbb", + "sourceRevision": "e134cc889637523423524b121cf71dcb37afdd3d7daf48eaea975d1c39785b2e", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -7042,6 +7042,7 @@ "Threat model": "ac7c7cee765bae0828d383a6446e38ecdba0844e3c188c7008063c0bfe983c42", "Threat model artifact": "c57b9c06d70b87dbf1dc64874de22f98b41b3d74867a881aa2dcd0132b239e5e", "Thursday": "fc2662062ffdef9610020183ea2b087c21d71150d78a7c7463be8a9050bd3ac9", + "Tied vote": "b781f33e7a2c04158bbbfa7e86dbc4d3fbf5b75643b4efdbea46d01f39cafa6b", "Time": "33b93476cf597a3330653b66a658983d892ac264b5d6029a2dc642b9b1f30870", "Timed out": "9718cc761cfd5810041ef007ae258fa1308b8487d0f30c5f36a442f8fe5f76c5", "Timeouts and execution policy": "8011c5fa4d20f9252aa923ae93fbef6f6b3f45f975388030c4a10a05001329cf", @@ -7434,6 +7435,7 @@ "Visible multi-reply cap": "266fa484b23648ac5fd4252b1b67558b1fa2927de86208091a2231723850c7df", "Voice input is not supported in this browser.": "198b64199a291c3eacfeaa9f0f268ed0166b0fa36e0e8e4e1084f3399eb15fd9", "Volcengine Ark OpenAI-compatible chat endpoint for Doubao models.": "4369fbabad7a4795ac4fbc796ab26e51c48121abec229b626b48117f510466ee", + "Vote quorum was not met": "22abe3f7bf05dd9981e3575b81db01f7a3adba195c4e79dba3fceb88b4503327", "Wait for attachments to finish uploading.": "f59647adc722dad97cc92e74053a08d8542e67f11cdf4864d06ef6da93e99974", "waiting": "80cfa3e7f28dde4df64436b652230aff28d7779116d1369c21ef2bbf37261d71", "Waiting": "6e293a8c009e001103199768f7bcbea1729c59f9fc1ef2748958757f47ab99ed", @@ -7460,6 +7462,7 @@ "Waiting for sign-in": "749a343a3a25c1df679ee6d6e74abb72e08ef956bfa15434407e61934dc054c9", "Waiting for system confirmation and Host readback...": "952e73792f0715e2d1f30ef0b0c03c4353cd9ab96caa71856bbce7dc41e2d161", "waiting for user input": "f43ef097687b1d8c8800577eefa3f7e10d0c82236cd0017f983d131e8e673174", + "Waiting for votes": "bbb50edc12d1ce791069a8e84ca6e73a255b796306d32cdc1414987b986e172f", "Waiting for workspace": "e682cb09e669c47785b8cb4b28fd43bc51c52636c3178e328477ce86f6a33aed", "Waiting reason": "17171d9f1f059dc74d257f1411452835b78655c83362fae4f2ae2e1e4d1d1c12", "Waiting to check the selected model": "9e16fc6ad7876a2c3467a66b1b0f0d37a9fb493569fc92e7fccb691c8baf193c", @@ -14775,6 +14778,7 @@ "Threat model": "Qaabka hanjabaada", "Threat model artifact": "Hanjabaad model artifact", "Thursday": "Khamiis", + "Tied vote": "Cod isku xidhan", "Time": "Waqtiga", "Timed out": "Waqtigu dhamaaday", "Timeouts and execution policy": "Wakhtiga ka baxay iyo siyaasadda fulinta", @@ -15167,6 +15171,7 @@ "Visible multi-reply cap": "Koofida jawaabaha badan ee muuqata", "Voice input is not supported in this browser.": "Gelinka codka laguma taageero browser-kan", "Volcengine Ark OpenAI-compatible chat endpoint for Doubao models.": "Volcengine Ark OpenAI-ku-dhammaadka wada sheekaysiga ku habboon moodooyinka Doubao.", + "Vote quorum was not met": "Kooramka codbixinta ayaa la buuxin waayay", "Wait for attachments to finish uploading.": "Sug lifaaqyada si ay u dhameeyaan soo dejinta", "waiting": "sugitaanka", "Waiting": "Sugitaanka", @@ -15193,6 +15198,7 @@ "Waiting for sign-in": "Sugitaanka soo gelista", "Waiting for system confirmation and Host readback...": "Sugaya xaqiijinta nidaamka iyo dib u akhrinta martida...", "waiting for user input": "sugitaanka gelinta isticmaalaha", + "Waiting for votes": "Sugitaanka codadka", "Waiting for workspace": "Sugitaanka goobta shaqada", "Waiting reason": "Sababta sugitaanka", "Waiting to check the selected model": "Sugitaanka si loo hubiyo qaabka la doortay", diff --git a/packages/localization/catalogs/sq-AL.json b/packages/localization/catalogs/sq-AL.json index 6410a6a1e..366f6a130 100644 --- a/packages/localization/catalogs/sq-AL.json +++ b/packages/localization/catalogs/sq-AL.json @@ -1,6 +1,6 @@ { "locale": "sq-AL", - "sourceRevision": "6468d2af71d2feb60f9b8c5f37bc2a3ff1177fb2c8b0d65e85002de6b1095cbb", + "sourceRevision": "e134cc889637523423524b121cf71dcb37afdd3d7daf48eaea975d1c39785b2e", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -7042,6 +7042,7 @@ "Threat model": "ac7c7cee765bae0828d383a6446e38ecdba0844e3c188c7008063c0bfe983c42", "Threat model artifact": "c57b9c06d70b87dbf1dc64874de22f98b41b3d74867a881aa2dcd0132b239e5e", "Thursday": "fc2662062ffdef9610020183ea2b087c21d71150d78a7c7463be8a9050bd3ac9", + "Tied vote": "b781f33e7a2c04158bbbfa7e86dbc4d3fbf5b75643b4efdbea46d01f39cafa6b", "Time": "33b93476cf597a3330653b66a658983d892ac264b5d6029a2dc642b9b1f30870", "Timed out": "9718cc761cfd5810041ef007ae258fa1308b8487d0f30c5f36a442f8fe5f76c5", "Timeouts and execution policy": "8011c5fa4d20f9252aa923ae93fbef6f6b3f45f975388030c4a10a05001329cf", @@ -7434,6 +7435,7 @@ "Visible multi-reply cap": "266fa484b23648ac5fd4252b1b67558b1fa2927de86208091a2231723850c7df", "Voice input is not supported in this browser.": "198b64199a291c3eacfeaa9f0f268ed0166b0fa36e0e8e4e1084f3399eb15fd9", "Volcengine Ark OpenAI-compatible chat endpoint for Doubao models.": "4369fbabad7a4795ac4fbc796ab26e51c48121abec229b626b48117f510466ee", + "Vote quorum was not met": "22abe3f7bf05dd9981e3575b81db01f7a3adba195c4e79dba3fceb88b4503327", "Wait for attachments to finish uploading.": "f59647adc722dad97cc92e74053a08d8542e67f11cdf4864d06ef6da93e99974", "waiting": "80cfa3e7f28dde4df64436b652230aff28d7779116d1369c21ef2bbf37261d71", "Waiting": "6e293a8c009e001103199768f7bcbea1729c59f9fc1ef2748958757f47ab99ed", @@ -7460,6 +7462,7 @@ "Waiting for sign-in": "749a343a3a25c1df679ee6d6e74abb72e08ef956bfa15434407e61934dc054c9", "Waiting for system confirmation and Host readback...": "952e73792f0715e2d1f30ef0b0c03c4353cd9ab96caa71856bbce7dc41e2d161", "waiting for user input": "f43ef097687b1d8c8800577eefa3f7e10d0c82236cd0017f983d131e8e673174", + "Waiting for votes": "bbb50edc12d1ce791069a8e84ca6e73a255b796306d32cdc1414987b986e172f", "Waiting for workspace": "e682cb09e669c47785b8cb4b28fd43bc51c52636c3178e328477ce86f6a33aed", "Waiting reason": "17171d9f1f059dc74d257f1411452835b78655c83362fae4f2ae2e1e4d1d1c12", "Waiting to check the selected model": "9e16fc6ad7876a2c3467a66b1b0f0d37a9fb493569fc92e7fccb691c8baf193c", @@ -14775,6 +14778,7 @@ "Threat model": "Modeli i kërcënimit", "Threat model artifact": "Objekti i modelit të kërcënimit", "Thursday": "e enjte", + "Tied vote": "Vota e barabartë", "Time": "Koha", "Timed out": "Përfundoi koha", "Timeouts and execution policy": "Afatet dhe politika e ekzekutimit", @@ -15167,6 +15171,7 @@ "Visible multi-reply cap": "Kapak i dukshëm me shumë përgjigje", "Voice input is not supported in this browser.": "Hyrja zanore nuk mbështetet në këtë shfletues.", "Volcengine Ark OpenAI-compatible chat endpoint for Doubao models.": "Pika përfundimtare e bisedës e përputhshme me Volcengine Ark OpenAI për modelet Doubao.", + "Vote quorum was not met": "Kuorumi i votave nuk u plotësua", "Wait for attachments to finish uploading.": "Prisni që bashkëngjitjet të përfundojnë ngarkimin.", "waiting": "duke pritur", "Waiting": "Në pritje", @@ -15193,6 +15198,7 @@ "Waiting for sign-in": "Në pritje të identifikimit", "Waiting for system confirmation and Host readback...": "Në pritje të konfirmimit të sistemit dhe rikthimit të hostit...", "waiting for user input": "duke pritur për hyrjen e përdoruesit", + "Waiting for votes": "Në pritje të votave", "Waiting for workspace": "Në pritje të hapësirës së punës", "Waiting reason": "Arsyeja e pritjes", "Waiting to check the selected model": "Në pritje për të kontrolluar modelin e zgjedhur", diff --git a/packages/localization/catalogs/sr-RS.json b/packages/localization/catalogs/sr-RS.json index c4cda9b93..97f969188 100644 --- a/packages/localization/catalogs/sr-RS.json +++ b/packages/localization/catalogs/sr-RS.json @@ -1,6 +1,6 @@ { "locale": "sr-RS", - "sourceRevision": "6468d2af71d2feb60f9b8c5f37bc2a3ff1177fb2c8b0d65e85002de6b1095cbb", + "sourceRevision": "e134cc889637523423524b121cf71dcb37afdd3d7daf48eaea975d1c39785b2e", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -7042,6 +7042,7 @@ "Threat model": "ac7c7cee765bae0828d383a6446e38ecdba0844e3c188c7008063c0bfe983c42", "Threat model artifact": "c57b9c06d70b87dbf1dc64874de22f98b41b3d74867a881aa2dcd0132b239e5e", "Thursday": "fc2662062ffdef9610020183ea2b087c21d71150d78a7c7463be8a9050bd3ac9", + "Tied vote": "b781f33e7a2c04158bbbfa7e86dbc4d3fbf5b75643b4efdbea46d01f39cafa6b", "Time": "33b93476cf597a3330653b66a658983d892ac264b5d6029a2dc642b9b1f30870", "Timed out": "9718cc761cfd5810041ef007ae258fa1308b8487d0f30c5f36a442f8fe5f76c5", "Timeouts and execution policy": "8011c5fa4d20f9252aa923ae93fbef6f6b3f45f975388030c4a10a05001329cf", @@ -7434,6 +7435,7 @@ "Visible multi-reply cap": "266fa484b23648ac5fd4252b1b67558b1fa2927de86208091a2231723850c7df", "Voice input is not supported in this browser.": "198b64199a291c3eacfeaa9f0f268ed0166b0fa36e0e8e4e1084f3399eb15fd9", "Volcengine Ark OpenAI-compatible chat endpoint for Doubao models.": "4369fbabad7a4795ac4fbc796ab26e51c48121abec229b626b48117f510466ee", + "Vote quorum was not met": "22abe3f7bf05dd9981e3575b81db01f7a3adba195c4e79dba3fceb88b4503327", "Wait for attachments to finish uploading.": "f59647adc722dad97cc92e74053a08d8542e67f11cdf4864d06ef6da93e99974", "waiting": "80cfa3e7f28dde4df64436b652230aff28d7779116d1369c21ef2bbf37261d71", "Waiting": "6e293a8c009e001103199768f7bcbea1729c59f9fc1ef2748958757f47ab99ed", @@ -7460,6 +7462,7 @@ "Waiting for sign-in": "749a343a3a25c1df679ee6d6e74abb72e08ef956bfa15434407e61934dc054c9", "Waiting for system confirmation and Host readback...": "952e73792f0715e2d1f30ef0b0c03c4353cd9ab96caa71856bbce7dc41e2d161", "waiting for user input": "f43ef097687b1d8c8800577eefa3f7e10d0c82236cd0017f983d131e8e673174", + "Waiting for votes": "bbb50edc12d1ce791069a8e84ca6e73a255b796306d32cdc1414987b986e172f", "Waiting for workspace": "e682cb09e669c47785b8cb4b28fd43bc51c52636c3178e328477ce86f6a33aed", "Waiting reason": "17171d9f1f059dc74d257f1411452835b78655c83362fae4f2ae2e1e4d1d1c12", "Waiting to check the selected model": "9e16fc6ad7876a2c3467a66b1b0f0d37a9fb493569fc92e7fccb691c8baf193c", @@ -14775,6 +14778,7 @@ "Threat model": "Модел претње", "Threat model artifact": "Артефакт модела претње", "Thursday": "четвртак", + "Tied vote": "Изједначено гласање", "Time": "Време", "Timed out": "Истекло је време", "Timeouts and execution policy": "Временска ограничења и политика извршавања", @@ -15167,6 +15171,7 @@ "Visible multi-reply cap": "Видљиво ограничење за више одговора", "Voice input is not supported in this browser.": "Гласовни унос није подржан у овом прегледачу.", "Volcengine Ark OpenAI-compatible chat endpoint for Doubao models.": "Волценгине Арк ОпенАИ компатибилна крајња тачка за ћаскање за Доубао моделе.", + "Vote quorum was not met": "Кворум за гласање није испуњен", "Wait for attachments to finish uploading.": "Сачекајте да се прилози заврше са отпремањем.", "waiting": "чекајући", "Waiting": "Чекам", @@ -15193,6 +15198,7 @@ "Waiting for sign-in": "Чека се пријављивање", "Waiting for system confirmation and Host readback...": "Чека се системска потврда и читање хоста...", "waiting for user input": "чека на унос корисника", + "Waiting for votes": "Чекају се гласови", "Waiting for workspace": "Чека се радни простор", "Waiting reason": "Разлог чекања", "Waiting to check the selected model": "Чека се провера изабраног модела", diff --git a/packages/localization/catalogs/sv-SE.json b/packages/localization/catalogs/sv-SE.json index b13277efd..c40173c58 100644 --- a/packages/localization/catalogs/sv-SE.json +++ b/packages/localization/catalogs/sv-SE.json @@ -1,6 +1,6 @@ { "locale": "sv-SE", - "sourceRevision": "6468d2af71d2feb60f9b8c5f37bc2a3ff1177fb2c8b0d65e85002de6b1095cbb", + "sourceRevision": "e134cc889637523423524b121cf71dcb37afdd3d7daf48eaea975d1c39785b2e", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -7042,6 +7042,7 @@ "Threat model": "ac7c7cee765bae0828d383a6446e38ecdba0844e3c188c7008063c0bfe983c42", "Threat model artifact": "c57b9c06d70b87dbf1dc64874de22f98b41b3d74867a881aa2dcd0132b239e5e", "Thursday": "fc2662062ffdef9610020183ea2b087c21d71150d78a7c7463be8a9050bd3ac9", + "Tied vote": "b781f33e7a2c04158bbbfa7e86dbc4d3fbf5b75643b4efdbea46d01f39cafa6b", "Time": "33b93476cf597a3330653b66a658983d892ac264b5d6029a2dc642b9b1f30870", "Timed out": "9718cc761cfd5810041ef007ae258fa1308b8487d0f30c5f36a442f8fe5f76c5", "Timeouts and execution policy": "8011c5fa4d20f9252aa923ae93fbef6f6b3f45f975388030c4a10a05001329cf", @@ -7434,6 +7435,7 @@ "Visible multi-reply cap": "266fa484b23648ac5fd4252b1b67558b1fa2927de86208091a2231723850c7df", "Voice input is not supported in this browser.": "198b64199a291c3eacfeaa9f0f268ed0166b0fa36e0e8e4e1084f3399eb15fd9", "Volcengine Ark OpenAI-compatible chat endpoint for Doubao models.": "4369fbabad7a4795ac4fbc796ab26e51c48121abec229b626b48117f510466ee", + "Vote quorum was not met": "22abe3f7bf05dd9981e3575b81db01f7a3adba195c4e79dba3fceb88b4503327", "Wait for attachments to finish uploading.": "f59647adc722dad97cc92e74053a08d8542e67f11cdf4864d06ef6da93e99974", "waiting": "80cfa3e7f28dde4df64436b652230aff28d7779116d1369c21ef2bbf37261d71", "Waiting": "6e293a8c009e001103199768f7bcbea1729c59f9fc1ef2748958757f47ab99ed", @@ -7460,6 +7462,7 @@ "Waiting for sign-in": "749a343a3a25c1df679ee6d6e74abb72e08ef956bfa15434407e61934dc054c9", "Waiting for system confirmation and Host readback...": "952e73792f0715e2d1f30ef0b0c03c4353cd9ab96caa71856bbce7dc41e2d161", "waiting for user input": "f43ef097687b1d8c8800577eefa3f7e10d0c82236cd0017f983d131e8e673174", + "Waiting for votes": "bbb50edc12d1ce791069a8e84ca6e73a255b796306d32cdc1414987b986e172f", "Waiting for workspace": "e682cb09e669c47785b8cb4b28fd43bc51c52636c3178e328477ce86f6a33aed", "Waiting reason": "17171d9f1f059dc74d257f1411452835b78655c83362fae4f2ae2e1e4d1d1c12", "Waiting to check the selected model": "9e16fc6ad7876a2c3467a66b1b0f0d37a9fb493569fc92e7fccb691c8baf193c", @@ -14775,6 +14778,7 @@ "Threat model": "Hotmodell", "Threat model artifact": "Hotmodellartefakt", "Thursday": "torsdag", + "Tied vote": "Oavgjort röst", "Time": "Tid", "Timed out": "Timeout", "Timeouts and execution policy": "Timeouts och utförandepolicy", @@ -15167,6 +15171,7 @@ "Visible multi-reply cap": "Synlig flersvarslock", "Voice input is not supported in this browser.": "Röstinmatning stöds inte i den här webbläsaren.", "Volcengine Ark OpenAI-compatible chat endpoint for Doubao models.": "Volcengine Ark OpenAI-kompatibel chattslutpunkt för Doubao-modeller.", + "Vote quorum was not met": "Omröstningens beslutförhet uppfylldes inte", "Wait for attachments to finish uploading.": "Vänta tills bifogade filer har laddats upp.", "waiting": "väntan", "Waiting": "Väntan", @@ -15193,6 +15198,7 @@ "Waiting for sign-in": "Väntar på inloggning", "Waiting for system confirmation and Host readback...": "Väntar på systembekräftelse och återläsning av värd...", "waiting for user input": "väntar på användarinput", + "Waiting for votes": "Väntar på röster", "Waiting for workspace": "Väntar på arbetsplats", "Waiting reason": "Väntar anledning", "Waiting to check the selected model": "Väntar på att kontrollera den valda modellen", diff --git a/packages/localization/catalogs/sw-TZ.json b/packages/localization/catalogs/sw-TZ.json index 7f0aafc2b..d509fde53 100644 --- a/packages/localization/catalogs/sw-TZ.json +++ b/packages/localization/catalogs/sw-TZ.json @@ -1,6 +1,6 @@ { "locale": "sw-TZ", - "sourceRevision": "6468d2af71d2feb60f9b8c5f37bc2a3ff1177fb2c8b0d65e85002de6b1095cbb", + "sourceRevision": "e134cc889637523423524b121cf71dcb37afdd3d7daf48eaea975d1c39785b2e", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -7042,6 +7042,7 @@ "Threat model": "ac7c7cee765bae0828d383a6446e38ecdba0844e3c188c7008063c0bfe983c42", "Threat model artifact": "c57b9c06d70b87dbf1dc64874de22f98b41b3d74867a881aa2dcd0132b239e5e", "Thursday": "fc2662062ffdef9610020183ea2b087c21d71150d78a7c7463be8a9050bd3ac9", + "Tied vote": "b781f33e7a2c04158bbbfa7e86dbc4d3fbf5b75643b4efdbea46d01f39cafa6b", "Time": "33b93476cf597a3330653b66a658983d892ac264b5d6029a2dc642b9b1f30870", "Timed out": "9718cc761cfd5810041ef007ae258fa1308b8487d0f30c5f36a442f8fe5f76c5", "Timeouts and execution policy": "8011c5fa4d20f9252aa923ae93fbef6f6b3f45f975388030c4a10a05001329cf", @@ -7434,6 +7435,7 @@ "Visible multi-reply cap": "266fa484b23648ac5fd4252b1b67558b1fa2927de86208091a2231723850c7df", "Voice input is not supported in this browser.": "198b64199a291c3eacfeaa9f0f268ed0166b0fa36e0e8e4e1084f3399eb15fd9", "Volcengine Ark OpenAI-compatible chat endpoint for Doubao models.": "4369fbabad7a4795ac4fbc796ab26e51c48121abec229b626b48117f510466ee", + "Vote quorum was not met": "22abe3f7bf05dd9981e3575b81db01f7a3adba195c4e79dba3fceb88b4503327", "Wait for attachments to finish uploading.": "f59647adc722dad97cc92e74053a08d8542e67f11cdf4864d06ef6da93e99974", "waiting": "80cfa3e7f28dde4df64436b652230aff28d7779116d1369c21ef2bbf37261d71", "Waiting": "6e293a8c009e001103199768f7bcbea1729c59f9fc1ef2748958757f47ab99ed", @@ -7460,6 +7462,7 @@ "Waiting for sign-in": "749a343a3a25c1df679ee6d6e74abb72e08ef956bfa15434407e61934dc054c9", "Waiting for system confirmation and Host readback...": "952e73792f0715e2d1f30ef0b0c03c4353cd9ab96caa71856bbce7dc41e2d161", "waiting for user input": "f43ef097687b1d8c8800577eefa3f7e10d0c82236cd0017f983d131e8e673174", + "Waiting for votes": "bbb50edc12d1ce791069a8e84ca6e73a255b796306d32cdc1414987b986e172f", "Waiting for workspace": "e682cb09e669c47785b8cb4b28fd43bc51c52636c3178e328477ce86f6a33aed", "Waiting reason": "17171d9f1f059dc74d257f1411452835b78655c83362fae4f2ae2e1e4d1d1c12", "Waiting to check the selected model": "9e16fc6ad7876a2c3467a66b1b0f0d37a9fb493569fc92e7fccb691c8baf193c", @@ -14775,6 +14778,7 @@ "Threat model": "Mfano wa tishio", "Threat model artifact": "Vizalia vya programu vya tishio", "Thursday": "Alhamisi", + "Tied vote": "Kura iliyolingana", "Time": "Wakati", "Timed out": "Muda umekwisha", "Timeouts and execution policy": "Muda wa muda na sera ya utekelezaji", @@ -15167,6 +15171,7 @@ "Visible multi-reply cap": "Kikomo cha majibu mengi kinachoonekana", "Voice input is not supported in this browser.": "Uingizaji wa sauti hautumiki katika kivinjari hiki.", "Volcengine Ark OpenAI-compatible chat endpoint for Doubao models.": "Sehemu ya mwisho ya gumzo inayooana na Volcengine Ark OpenAI kwa miundo ya Doubao.", + "Vote quorum was not met": "Akidi ya kura haikufikiwa", "Wait for attachments to finish uploading.": "Subiri viambatisho ikamilishe kupakia.", "waiting": "kusubiri", "Waiting": "Kusubiri", @@ -15193,6 +15198,7 @@ "Waiting for sign-in": "Inasubiri kuingia", "Waiting for system confirmation and Host readback...": "Inasubiri uthibitisho wa mfumo na urejeshaji wa usomaji wa Seva.", "waiting for user input": "kusubiri pembejeo ya mtumiaji", + "Waiting for votes": "Kusubiri kura", "Waiting for workspace": "Inasubiri nafasi ya kazi", "Waiting reason": "Sababu ya kusubiri", "Waiting to check the selected model": "Inasubiri kuangalia mfano uliochaguliwa", diff --git a/packages/localization/catalogs/ta-IN.json b/packages/localization/catalogs/ta-IN.json index 9cd7e942d..a6c6157ce 100644 --- a/packages/localization/catalogs/ta-IN.json +++ b/packages/localization/catalogs/ta-IN.json @@ -1,6 +1,6 @@ { "locale": "ta-IN", - "sourceRevision": "6468d2af71d2feb60f9b8c5f37bc2a3ff1177fb2c8b0d65e85002de6b1095cbb", + "sourceRevision": "e134cc889637523423524b121cf71dcb37afdd3d7daf48eaea975d1c39785b2e", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -7042,6 +7042,7 @@ "Threat model": "ac7c7cee765bae0828d383a6446e38ecdba0844e3c188c7008063c0bfe983c42", "Threat model artifact": "c57b9c06d70b87dbf1dc64874de22f98b41b3d74867a881aa2dcd0132b239e5e", "Thursday": "fc2662062ffdef9610020183ea2b087c21d71150d78a7c7463be8a9050bd3ac9", + "Tied vote": "b781f33e7a2c04158bbbfa7e86dbc4d3fbf5b75643b4efdbea46d01f39cafa6b", "Time": "33b93476cf597a3330653b66a658983d892ac264b5d6029a2dc642b9b1f30870", "Timed out": "9718cc761cfd5810041ef007ae258fa1308b8487d0f30c5f36a442f8fe5f76c5", "Timeouts and execution policy": "8011c5fa4d20f9252aa923ae93fbef6f6b3f45f975388030c4a10a05001329cf", @@ -7434,6 +7435,7 @@ "Visible multi-reply cap": "266fa484b23648ac5fd4252b1b67558b1fa2927de86208091a2231723850c7df", "Voice input is not supported in this browser.": "198b64199a291c3eacfeaa9f0f268ed0166b0fa36e0e8e4e1084f3399eb15fd9", "Volcengine Ark OpenAI-compatible chat endpoint for Doubao models.": "4369fbabad7a4795ac4fbc796ab26e51c48121abec229b626b48117f510466ee", + "Vote quorum was not met": "22abe3f7bf05dd9981e3575b81db01f7a3adba195c4e79dba3fceb88b4503327", "Wait for attachments to finish uploading.": "f59647adc722dad97cc92e74053a08d8542e67f11cdf4864d06ef6da93e99974", "waiting": "80cfa3e7f28dde4df64436b652230aff28d7779116d1369c21ef2bbf37261d71", "Waiting": "6e293a8c009e001103199768f7bcbea1729c59f9fc1ef2748958757f47ab99ed", @@ -7460,6 +7462,7 @@ "Waiting for sign-in": "749a343a3a25c1df679ee6d6e74abb72e08ef956bfa15434407e61934dc054c9", "Waiting for system confirmation and Host readback...": "952e73792f0715e2d1f30ef0b0c03c4353cd9ab96caa71856bbce7dc41e2d161", "waiting for user input": "f43ef097687b1d8c8800577eefa3f7e10d0c82236cd0017f983d131e8e673174", + "Waiting for votes": "bbb50edc12d1ce791069a8e84ca6e73a255b796306d32cdc1414987b986e172f", "Waiting for workspace": "e682cb09e669c47785b8cb4b28fd43bc51c52636c3178e328477ce86f6a33aed", "Waiting reason": "17171d9f1f059dc74d257f1411452835b78655c83362fae4f2ae2e1e4d1d1c12", "Waiting to check the selected model": "9e16fc6ad7876a2c3467a66b1b0f0d37a9fb493569fc92e7fccb691c8baf193c", @@ -14775,6 +14778,7 @@ "Threat model": "அச்சுறுத்தல் மாதிரி", "Threat model artifact": "அச்சுறுத்தல் மாதிரி கலைப்பொருள்", "Thursday": "வியாழன்", + "Tied vote": "சமநிலை வாக்கு", "Time": "நேரம்", "Timed out": "நேரம் முடிந்தது", "Timeouts and execution policy": "காலக்கெடு மற்றும் செயல்படுத்தல் கொள்கை", @@ -15167,6 +15171,7 @@ "Visible multi-reply cap": "காணக்கூடிய பல பதில் தொப்பி", "Voice input is not supported in this browser.": "இந்த உலாவியில் குரல் உள்ளீடு ஆதரிக்கப்படவில்லை.", "Volcengine Ark OpenAI-compatible chat endpoint for Doubao models.": "Doubao மாடல்களுக்கான Volcengine Ark OpenAI-இணக்கமான அரட்டை எண்ட்பாயிண்ட்.", + "Vote quorum was not met": "வாக்கு கோரம் பூர்த்தியாகவில்லை", "Wait for attachments to finish uploading.": "இணைப்புகள் பதிவேற்றம் முடிவடையும் வரை காத்திருக்கவும்.", "waiting": "காத்திருக்கிறது", "Waiting": "காத்திருக்கிறது", @@ -15193,6 +15198,7 @@ "Waiting for sign-in": "உள்நுழைவுக்காகக் காத்திருக்கிறது", "Waiting for system confirmation and Host readback...": "கணினி உறுதிப்படுத்தல் மற்றும் ஹோஸ்ட் ரீட்பேக்கிற்காக காத்திருக்கிறது...", "waiting for user input": "பயனர் உள்ளீட்டிற்காக காத்திருக்கிறது", + "Waiting for votes": "வாக்குகளுக்காக காத்திருக்கிறது", "Waiting for workspace": "பணியிடத்திற்காக காத்திருக்கிறது", "Waiting reason": "காத்திருக்கும் காரணம்", "Waiting to check the selected model": "தேர்ந்தெடுக்கப்பட்ட மாதிரியை சரிபார்க்க காத்திருக்கிறது", diff --git a/packages/localization/catalogs/te-IN.json b/packages/localization/catalogs/te-IN.json index 21194c9ff..284238550 100644 --- a/packages/localization/catalogs/te-IN.json +++ b/packages/localization/catalogs/te-IN.json @@ -1,6 +1,6 @@ { "locale": "te-IN", - "sourceRevision": "6468d2af71d2feb60f9b8c5f37bc2a3ff1177fb2c8b0d65e85002de6b1095cbb", + "sourceRevision": "e134cc889637523423524b121cf71dcb37afdd3d7daf48eaea975d1c39785b2e", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -7042,6 +7042,7 @@ "Threat model": "ac7c7cee765bae0828d383a6446e38ecdba0844e3c188c7008063c0bfe983c42", "Threat model artifact": "c57b9c06d70b87dbf1dc64874de22f98b41b3d74867a881aa2dcd0132b239e5e", "Thursday": "fc2662062ffdef9610020183ea2b087c21d71150d78a7c7463be8a9050bd3ac9", + "Tied vote": "b781f33e7a2c04158bbbfa7e86dbc4d3fbf5b75643b4efdbea46d01f39cafa6b", "Time": "33b93476cf597a3330653b66a658983d892ac264b5d6029a2dc642b9b1f30870", "Timed out": "9718cc761cfd5810041ef007ae258fa1308b8487d0f30c5f36a442f8fe5f76c5", "Timeouts and execution policy": "8011c5fa4d20f9252aa923ae93fbef6f6b3f45f975388030c4a10a05001329cf", @@ -7434,6 +7435,7 @@ "Visible multi-reply cap": "266fa484b23648ac5fd4252b1b67558b1fa2927de86208091a2231723850c7df", "Voice input is not supported in this browser.": "198b64199a291c3eacfeaa9f0f268ed0166b0fa36e0e8e4e1084f3399eb15fd9", "Volcengine Ark OpenAI-compatible chat endpoint for Doubao models.": "4369fbabad7a4795ac4fbc796ab26e51c48121abec229b626b48117f510466ee", + "Vote quorum was not met": "22abe3f7bf05dd9981e3575b81db01f7a3adba195c4e79dba3fceb88b4503327", "Wait for attachments to finish uploading.": "f59647adc722dad97cc92e74053a08d8542e67f11cdf4864d06ef6da93e99974", "waiting": "80cfa3e7f28dde4df64436b652230aff28d7779116d1369c21ef2bbf37261d71", "Waiting": "6e293a8c009e001103199768f7bcbea1729c59f9fc1ef2748958757f47ab99ed", @@ -7460,6 +7462,7 @@ "Waiting for sign-in": "749a343a3a25c1df679ee6d6e74abb72e08ef956bfa15434407e61934dc054c9", "Waiting for system confirmation and Host readback...": "952e73792f0715e2d1f30ef0b0c03c4353cd9ab96caa71856bbce7dc41e2d161", "waiting for user input": "f43ef097687b1d8c8800577eefa3f7e10d0c82236cd0017f983d131e8e673174", + "Waiting for votes": "bbb50edc12d1ce791069a8e84ca6e73a255b796306d32cdc1414987b986e172f", "Waiting for workspace": "e682cb09e669c47785b8cb4b28fd43bc51c52636c3178e328477ce86f6a33aed", "Waiting reason": "17171d9f1f059dc74d257f1411452835b78655c83362fae4f2ae2e1e4d1d1c12", "Waiting to check the selected model": "9e16fc6ad7876a2c3467a66b1b0f0d37a9fb493569fc92e7fccb691c8baf193c", @@ -14775,6 +14778,7 @@ "Threat model": "ముప్పు మోడల్", "Threat model artifact": "ముప్పు మోడల్ కళాఖండం", "Thursday": "గురువారం", + "Tied vote": "టైడ్ ఓటు", "Time": "సమయం", "Timed out": "సమయం ముగిసింది", "Timeouts and execution policy": "గడువులు మరియు అమలు విధానం", @@ -15167,6 +15171,7 @@ "Visible multi-reply cap": "కనిపించే బహుళ-ప్రత్యుత్తర టోపీ", "Voice input is not supported in this browser.": "ఈ బ్రౌజర్‌లో వాయిస్ ఇన్‌పుట్‌కు మద్దతు లేదు.", "Volcengine Ark OpenAI-compatible chat endpoint for Doubao models.": "Doubao మోడల్‌ల కోసం Volcengine Ark OpenAI-అనుకూల చాట్ ఎండ్‌పాయింట్.", + "Vote quorum was not met": "ఓటు కోరం నెరవేరలేదు", "Wait for attachments to finish uploading.": "జోడింపులను అప్‌లోడ్ చేయడం పూర్తయ్యే వరకు వేచి ఉండండి.", "waiting": "వేచి ఉంది", "Waiting": "వేచి ఉంది", @@ -15193,6 +15198,7 @@ "Waiting for sign-in": "సైన్-ఇన్ కోసం వేచి ఉంది", "Waiting for system confirmation and Host readback...": "సిస్టమ్ నిర్ధారణ మరియు హోస్ట్ రీడ్‌బ్యాక్ కోసం వేచి ఉంది...", "waiting for user input": "వినియోగదారు ఇన్‌పుట్ కోసం వేచి ఉంది", + "Waiting for votes": "ఓట్ల కోసం ఎదురు చూస్తున్నారు", "Waiting for workspace": "కార్యస్థలం కోసం వేచి ఉంది", "Waiting reason": "నిరీక్షణ కారణం", "Waiting to check the selected model": "ఎంచుకున్న మోడల్‌ని తనిఖీ చేయడానికి వేచి ఉంది", diff --git a/packages/localization/catalogs/th-TH.json b/packages/localization/catalogs/th-TH.json index 7bd1c466e..9605e598f 100644 --- a/packages/localization/catalogs/th-TH.json +++ b/packages/localization/catalogs/th-TH.json @@ -1,6 +1,6 @@ { "locale": "th-TH", - "sourceRevision": "6468d2af71d2feb60f9b8c5f37bc2a3ff1177fb2c8b0d65e85002de6b1095cbb", + "sourceRevision": "e134cc889637523423524b121cf71dcb37afdd3d7daf48eaea975d1c39785b2e", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -7042,6 +7042,7 @@ "Threat model": "ac7c7cee765bae0828d383a6446e38ecdba0844e3c188c7008063c0bfe983c42", "Threat model artifact": "c57b9c06d70b87dbf1dc64874de22f98b41b3d74867a881aa2dcd0132b239e5e", "Thursday": "fc2662062ffdef9610020183ea2b087c21d71150d78a7c7463be8a9050bd3ac9", + "Tied vote": "b781f33e7a2c04158bbbfa7e86dbc4d3fbf5b75643b4efdbea46d01f39cafa6b", "Time": "33b93476cf597a3330653b66a658983d892ac264b5d6029a2dc642b9b1f30870", "Timed out": "9718cc761cfd5810041ef007ae258fa1308b8487d0f30c5f36a442f8fe5f76c5", "Timeouts and execution policy": "8011c5fa4d20f9252aa923ae93fbef6f6b3f45f975388030c4a10a05001329cf", @@ -7434,6 +7435,7 @@ "Visible multi-reply cap": "266fa484b23648ac5fd4252b1b67558b1fa2927de86208091a2231723850c7df", "Voice input is not supported in this browser.": "198b64199a291c3eacfeaa9f0f268ed0166b0fa36e0e8e4e1084f3399eb15fd9", "Volcengine Ark OpenAI-compatible chat endpoint for Doubao models.": "4369fbabad7a4795ac4fbc796ab26e51c48121abec229b626b48117f510466ee", + "Vote quorum was not met": "22abe3f7bf05dd9981e3575b81db01f7a3adba195c4e79dba3fceb88b4503327", "Wait for attachments to finish uploading.": "f59647adc722dad97cc92e74053a08d8542e67f11cdf4864d06ef6da93e99974", "waiting": "80cfa3e7f28dde4df64436b652230aff28d7779116d1369c21ef2bbf37261d71", "Waiting": "6e293a8c009e001103199768f7bcbea1729c59f9fc1ef2748958757f47ab99ed", @@ -7460,6 +7462,7 @@ "Waiting for sign-in": "749a343a3a25c1df679ee6d6e74abb72e08ef956bfa15434407e61934dc054c9", "Waiting for system confirmation and Host readback...": "952e73792f0715e2d1f30ef0b0c03c4353cd9ab96caa71856bbce7dc41e2d161", "waiting for user input": "f43ef097687b1d8c8800577eefa3f7e10d0c82236cd0017f983d131e8e673174", + "Waiting for votes": "bbb50edc12d1ce791069a8e84ca6e73a255b796306d32cdc1414987b986e172f", "Waiting for workspace": "e682cb09e669c47785b8cb4b28fd43bc51c52636c3178e328477ce86f6a33aed", "Waiting reason": "17171d9f1f059dc74d257f1411452835b78655c83362fae4f2ae2e1e4d1d1c12", "Waiting to check the selected model": "9e16fc6ad7876a2c3467a66b1b0f0d37a9fb493569fc92e7fccb691c8baf193c", @@ -14775,6 +14778,7 @@ "Threat model": "รูปแบบภัยคุกคาม", "Threat model artifact": "สิ่งประดิษฐ์แบบจำลองภัยคุกคาม", "Thursday": "วันพฤหัสบดี", + "Tied vote": "โหวตกันเลยทีเดียว", "Time": "เวลา", "Timed out": "หมดเวลาแล้ว", "Timeouts and execution policy": "การหมดเวลาและนโยบายการดำเนินการ", @@ -15167,6 +15171,7 @@ "Visible multi-reply cap": "แคปการตอบกลับหลายรายการที่มองเห็นได้", "Voice input is not supported in this browser.": "ไม่รองรับการป้อนข้อมูลด้วยเสียงในเบราว์เซอร์นี้", "Volcengine Ark OpenAI-compatible chat endpoint for Doubao models.": "จุดสิ้นสุดการแชทที่เข้ากันได้กับ Volcengine Ark OpenAI สำหรับรุ่น Doubao", + "Vote quorum was not met": "ไม่ครบองค์ประชุม", "Wait for attachments to finish uploading.": "รอให้ไฟล์แนบทำการอัพโหลดให้เสร็จสิ้น", "waiting": "ซึ่งรอคอย", "Waiting": "ซึ่งรอคอย", @@ -15193,6 +15198,7 @@ "Waiting for sign-in": "กำลังรอการลงชื่อเข้าใช้", "Waiting for system confirmation and Host readback...": "กำลังรอการยืนยันระบบและการอ่านโฮสต์...", "waiting for user input": "กำลังรอการป้อนข้อมูลของผู้ใช้", + "Waiting for votes": "รอคะแนนเสียงครับ", "Waiting for workspace": "รอพื้นที่ทำงาน", "Waiting reason": "เหตุผลในการรอ", "Waiting to check the selected model": "รอตรวจสอบรุ่นที่เลือก", diff --git a/packages/localization/catalogs/tr-TR.json b/packages/localization/catalogs/tr-TR.json index ce8f2a2bb..2cee734e9 100644 --- a/packages/localization/catalogs/tr-TR.json +++ b/packages/localization/catalogs/tr-TR.json @@ -1,6 +1,6 @@ { "locale": "tr-TR", - "sourceRevision": "6468d2af71d2feb60f9b8c5f37bc2a3ff1177fb2c8b0d65e85002de6b1095cbb", + "sourceRevision": "e134cc889637523423524b121cf71dcb37afdd3d7daf48eaea975d1c39785b2e", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -7042,6 +7042,7 @@ "Threat model": "ac7c7cee765bae0828d383a6446e38ecdba0844e3c188c7008063c0bfe983c42", "Threat model artifact": "c57b9c06d70b87dbf1dc64874de22f98b41b3d74867a881aa2dcd0132b239e5e", "Thursday": "fc2662062ffdef9610020183ea2b087c21d71150d78a7c7463be8a9050bd3ac9", + "Tied vote": "b781f33e7a2c04158bbbfa7e86dbc4d3fbf5b75643b4efdbea46d01f39cafa6b", "Time": "33b93476cf597a3330653b66a658983d892ac264b5d6029a2dc642b9b1f30870", "Timed out": "9718cc761cfd5810041ef007ae258fa1308b8487d0f30c5f36a442f8fe5f76c5", "Timeouts and execution policy": "8011c5fa4d20f9252aa923ae93fbef6f6b3f45f975388030c4a10a05001329cf", @@ -7434,6 +7435,7 @@ "Visible multi-reply cap": "266fa484b23648ac5fd4252b1b67558b1fa2927de86208091a2231723850c7df", "Voice input is not supported in this browser.": "198b64199a291c3eacfeaa9f0f268ed0166b0fa36e0e8e4e1084f3399eb15fd9", "Volcengine Ark OpenAI-compatible chat endpoint for Doubao models.": "4369fbabad7a4795ac4fbc796ab26e51c48121abec229b626b48117f510466ee", + "Vote quorum was not met": "22abe3f7bf05dd9981e3575b81db01f7a3adba195c4e79dba3fceb88b4503327", "Wait for attachments to finish uploading.": "f59647adc722dad97cc92e74053a08d8542e67f11cdf4864d06ef6da93e99974", "waiting": "80cfa3e7f28dde4df64436b652230aff28d7779116d1369c21ef2bbf37261d71", "Waiting": "6e293a8c009e001103199768f7bcbea1729c59f9fc1ef2748958757f47ab99ed", @@ -7460,6 +7462,7 @@ "Waiting for sign-in": "749a343a3a25c1df679ee6d6e74abb72e08ef956bfa15434407e61934dc054c9", "Waiting for system confirmation and Host readback...": "952e73792f0715e2d1f30ef0b0c03c4353cd9ab96caa71856bbce7dc41e2d161", "waiting for user input": "f43ef097687b1d8c8800577eefa3f7e10d0c82236cd0017f983d131e8e673174", + "Waiting for votes": "bbb50edc12d1ce791069a8e84ca6e73a255b796306d32cdc1414987b986e172f", "Waiting for workspace": "e682cb09e669c47785b8cb4b28fd43bc51c52636c3178e328477ce86f6a33aed", "Waiting reason": "17171d9f1f059dc74d257f1411452835b78655c83362fae4f2ae2e1e4d1d1c12", "Waiting to check the selected model": "9e16fc6ad7876a2c3467a66b1b0f0d37a9fb493569fc92e7fccb691c8baf193c", @@ -14775,6 +14778,7 @@ "Threat model": "Tehdit modeli", "Threat model artifact": "Tehdit modeli yapısı", "Thursday": "Perşembe", + "Tied vote": "Eşit oy", "Time": "Zaman", "Timed out": "Zaman aşımına uğradı", "Timeouts and execution policy": "Zaman aşımları ve yürütme politikası", @@ -15167,6 +15171,7 @@ "Visible multi-reply cap": "Görünür çoklu yanıt başlığı", "Voice input is not supported in this browser.": "Bu tarayıcıda ses girişi desteklenmiyor.", "Volcengine Ark OpenAI-compatible chat endpoint for Doubao models.": "Doubao modelleri için Volcengine Ark OpenAI uyumlu sohbet uç noktası.", + "Vote quorum was not met": "Oy yeter sayısı sağlanmadı", "Wait for attachments to finish uploading.": "Eklerin yüklenmesinin tamamlanmasını bekleyin.", "waiting": "beklemek", "Waiting": "Beklemek", @@ -15193,6 +15198,7 @@ "Waiting for sign-in": "Oturum açma bekleniyor", "Waiting for system confirmation and Host readback...": "Sistem onayı ve Ana Bilgisayar geri bildirimi bekleniyor...", "waiting for user input": "kullanıcı girişi bekleniyor", + "Waiting for votes": "Oy bekliyorum", "Waiting for workspace": "Çalışma alanı bekleniyor", "Waiting reason": "Bekleme nedeni", "Waiting to check the selected model": "Seçilen modeli kontrol etmek bekleniyor", diff --git a/packages/localization/catalogs/uk-UA.json b/packages/localization/catalogs/uk-UA.json index d5f1ba762..fa9450e92 100644 --- a/packages/localization/catalogs/uk-UA.json +++ b/packages/localization/catalogs/uk-UA.json @@ -1,6 +1,6 @@ { "locale": "uk-UA", - "sourceRevision": "6468d2af71d2feb60f9b8c5f37bc2a3ff1177fb2c8b0d65e85002de6b1095cbb", + "sourceRevision": "e134cc889637523423524b121cf71dcb37afdd3d7daf48eaea975d1c39785b2e", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -7042,6 +7042,7 @@ "Threat model": "ac7c7cee765bae0828d383a6446e38ecdba0844e3c188c7008063c0bfe983c42", "Threat model artifact": "c57b9c06d70b87dbf1dc64874de22f98b41b3d74867a881aa2dcd0132b239e5e", "Thursday": "fc2662062ffdef9610020183ea2b087c21d71150d78a7c7463be8a9050bd3ac9", + "Tied vote": "b781f33e7a2c04158bbbfa7e86dbc4d3fbf5b75643b4efdbea46d01f39cafa6b", "Time": "33b93476cf597a3330653b66a658983d892ac264b5d6029a2dc642b9b1f30870", "Timed out": "9718cc761cfd5810041ef007ae258fa1308b8487d0f30c5f36a442f8fe5f76c5", "Timeouts and execution policy": "8011c5fa4d20f9252aa923ae93fbef6f6b3f45f975388030c4a10a05001329cf", @@ -7434,6 +7435,7 @@ "Visible multi-reply cap": "266fa484b23648ac5fd4252b1b67558b1fa2927de86208091a2231723850c7df", "Voice input is not supported in this browser.": "198b64199a291c3eacfeaa9f0f268ed0166b0fa36e0e8e4e1084f3399eb15fd9", "Volcengine Ark OpenAI-compatible chat endpoint for Doubao models.": "4369fbabad7a4795ac4fbc796ab26e51c48121abec229b626b48117f510466ee", + "Vote quorum was not met": "22abe3f7bf05dd9981e3575b81db01f7a3adba195c4e79dba3fceb88b4503327", "Wait for attachments to finish uploading.": "f59647adc722dad97cc92e74053a08d8542e67f11cdf4864d06ef6da93e99974", "waiting": "80cfa3e7f28dde4df64436b652230aff28d7779116d1369c21ef2bbf37261d71", "Waiting": "6e293a8c009e001103199768f7bcbea1729c59f9fc1ef2748958757f47ab99ed", @@ -7460,6 +7462,7 @@ "Waiting for sign-in": "749a343a3a25c1df679ee6d6e74abb72e08ef956bfa15434407e61934dc054c9", "Waiting for system confirmation and Host readback...": "952e73792f0715e2d1f30ef0b0c03c4353cd9ab96caa71856bbce7dc41e2d161", "waiting for user input": "f43ef097687b1d8c8800577eefa3f7e10d0c82236cd0017f983d131e8e673174", + "Waiting for votes": "bbb50edc12d1ce791069a8e84ca6e73a255b796306d32cdc1414987b986e172f", "Waiting for workspace": "e682cb09e669c47785b8cb4b28fd43bc51c52636c3178e328477ce86f6a33aed", "Waiting reason": "17171d9f1f059dc74d257f1411452835b78655c83362fae4f2ae2e1e4d1d1c12", "Waiting to check the selected model": "9e16fc6ad7876a2c3467a66b1b0f0d37a9fb493569fc92e7fccb691c8baf193c", @@ -14775,6 +14778,7 @@ "Threat model": "Модель загрози", "Threat model artifact": "Артефакт моделі загрози", "Thursday": "четвер", + "Tied vote": "Зрівняльне голосування", "Time": "час", "Timed out": "Час очікування минув", "Timeouts and execution policy": "Тайм-аути та політика виконання", @@ -15167,6 +15171,7 @@ "Visible multi-reply cap": "Видима кришка кількох відповідей", "Voice input is not supported in this browser.": "Голосове введення не підтримується в цьому браузері.", "Volcengine Ark OpenAI-compatible chat endpoint for Doubao models.": "Кінцева точка чату, сумісна з Volcengine Ark OpenAI, для моделей Doubao.", + "Vote quorum was not met": "Кворуму для голосування не було", "Wait for attachments to finish uploading.": "Зачекайте, доки завершиться завантаження вкладень.", "waiting": "очікування", "Waiting": "Очікування", @@ -15193,6 +15198,7 @@ "Waiting for sign-in": "Очікування входу", "Waiting for system confirmation and Host readback...": "Очікування підтвердження системи та зчитування хосту...", "waiting for user input": "очікування введення користувача", + "Waiting for votes": "Чекаємо голосів", "Waiting for workspace": "Очікування робочого місця", "Waiting reason": "Причина очікування", "Waiting to check the selected model": "Очікування перевірки обраної моделі", diff --git a/packages/localization/catalogs/vi-VN.json b/packages/localization/catalogs/vi-VN.json index b836f8bd8..52045fd1a 100644 --- a/packages/localization/catalogs/vi-VN.json +++ b/packages/localization/catalogs/vi-VN.json @@ -1,6 +1,6 @@ { "locale": "vi-VN", - "sourceRevision": "6468d2af71d2feb60f9b8c5f37bc2a3ff1177fb2c8b0d65e85002de6b1095cbb", + "sourceRevision": "e134cc889637523423524b121cf71dcb37afdd3d7daf48eaea975d1c39785b2e", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -7042,6 +7042,7 @@ "Threat model": "ac7c7cee765bae0828d383a6446e38ecdba0844e3c188c7008063c0bfe983c42", "Threat model artifact": "c57b9c06d70b87dbf1dc64874de22f98b41b3d74867a881aa2dcd0132b239e5e", "Thursday": "fc2662062ffdef9610020183ea2b087c21d71150d78a7c7463be8a9050bd3ac9", + "Tied vote": "b781f33e7a2c04158bbbfa7e86dbc4d3fbf5b75643b4efdbea46d01f39cafa6b", "Time": "33b93476cf597a3330653b66a658983d892ac264b5d6029a2dc642b9b1f30870", "Timed out": "9718cc761cfd5810041ef007ae258fa1308b8487d0f30c5f36a442f8fe5f76c5", "Timeouts and execution policy": "8011c5fa4d20f9252aa923ae93fbef6f6b3f45f975388030c4a10a05001329cf", @@ -7434,6 +7435,7 @@ "Visible multi-reply cap": "266fa484b23648ac5fd4252b1b67558b1fa2927de86208091a2231723850c7df", "Voice input is not supported in this browser.": "198b64199a291c3eacfeaa9f0f268ed0166b0fa36e0e8e4e1084f3399eb15fd9", "Volcengine Ark OpenAI-compatible chat endpoint for Doubao models.": "4369fbabad7a4795ac4fbc796ab26e51c48121abec229b626b48117f510466ee", + "Vote quorum was not met": "22abe3f7bf05dd9981e3575b81db01f7a3adba195c4e79dba3fceb88b4503327", "Wait for attachments to finish uploading.": "f59647adc722dad97cc92e74053a08d8542e67f11cdf4864d06ef6da93e99974", "waiting": "80cfa3e7f28dde4df64436b652230aff28d7779116d1369c21ef2bbf37261d71", "Waiting": "6e293a8c009e001103199768f7bcbea1729c59f9fc1ef2748958757f47ab99ed", @@ -7460,6 +7462,7 @@ "Waiting for sign-in": "749a343a3a25c1df679ee6d6e74abb72e08ef956bfa15434407e61934dc054c9", "Waiting for system confirmation and Host readback...": "952e73792f0715e2d1f30ef0b0c03c4353cd9ab96caa71856bbce7dc41e2d161", "waiting for user input": "f43ef097687b1d8c8800577eefa3f7e10d0c82236cd0017f983d131e8e673174", + "Waiting for votes": "bbb50edc12d1ce791069a8e84ca6e73a255b796306d32cdc1414987b986e172f", "Waiting for workspace": "e682cb09e669c47785b8cb4b28fd43bc51c52636c3178e328477ce86f6a33aed", "Waiting reason": "17171d9f1f059dc74d257f1411452835b78655c83362fae4f2ae2e1e4d1d1c12", "Waiting to check the selected model": "9e16fc6ad7876a2c3467a66b1b0f0d37a9fb493569fc92e7fccb691c8baf193c", @@ -14775,6 +14778,7 @@ "Threat model": "Mô hình mối đe dọa", "Threat model artifact": "Tạo phẩm mô hình mối đe dọa", "Thursday": "Thứ năm", + "Tied vote": "Bỏ phiếu ràng buộc", "Time": "Thời gian", "Timed out": "Đã hết thời gian", "Timeouts and execution policy": "Chính sách thời gian chờ và thực thi", @@ -15167,6 +15171,7 @@ "Visible multi-reply cap": "Giới hạn nhiều câu trả lời hiển thị", "Voice input is not supported in this browser.": "Nhập bằng giọng nói không được hỗ trợ trong trình duyệt này.", "Volcengine Ark OpenAI-compatible chat endpoint for Doubao models.": "Điểm cuối trò chuyện tương thích với Volcengine Ark OpenAI dành cho các mô hình Doubao.", + "Vote quorum was not met": "Số phiếu bầu không được đáp ứng", "Wait for attachments to finish uploading.": "Đợi tệp đính kèm được tải lên xong.", "waiting": "chờ", "Waiting": "Chờ", @@ -15193,6 +15198,7 @@ "Waiting for sign-in": "Đang chờ đăng nhập", "Waiting for system confirmation and Host readback...": "Đang chờ xác nhận hệ thống và đọc lại máy chủ...", "waiting for user input": "chờ người dùng nhập liệu", + "Waiting for votes": "Đang chờ phiếu bầu", "Waiting for workspace": "Đang chờ không gian làm việc", "Waiting reason": "Lý do chờ đợi", "Waiting to check the selected model": "Đang chờ kiểm tra mẫu đã chọn", diff --git a/packages/localization/catalogs/zh-CN.json b/packages/localization/catalogs/zh-CN.json index df3860584..a32179dfc 100644 --- a/packages/localization/catalogs/zh-CN.json +++ b/packages/localization/catalogs/zh-CN.json @@ -1,6 +1,6 @@ { "locale": "zh-CN", - "sourceRevision": "6468d2af71d2feb60f9b8c5f37bc2a3ff1177fb2c8b0d65e85002de6b1095cbb", + "sourceRevision": "e134cc889637523423524b121cf71dcb37afdd3d7daf48eaea975d1c39785b2e", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -7042,6 +7042,7 @@ "Threat model": "ac7c7cee765bae0828d383a6446e38ecdba0844e3c188c7008063c0bfe983c42", "Threat model artifact": "c57b9c06d70b87dbf1dc64874de22f98b41b3d74867a881aa2dcd0132b239e5e", "Thursday": "fc2662062ffdef9610020183ea2b087c21d71150d78a7c7463be8a9050bd3ac9", + "Tied vote": "b781f33e7a2c04158bbbfa7e86dbc4d3fbf5b75643b4efdbea46d01f39cafa6b", "Time": "33b93476cf597a3330653b66a658983d892ac264b5d6029a2dc642b9b1f30870", "Timed out": "9718cc761cfd5810041ef007ae258fa1308b8487d0f30c5f36a442f8fe5f76c5", "Timeouts and execution policy": "8011c5fa4d20f9252aa923ae93fbef6f6b3f45f975388030c4a10a05001329cf", @@ -7434,6 +7435,7 @@ "Visible multi-reply cap": "266fa484b23648ac5fd4252b1b67558b1fa2927de86208091a2231723850c7df", "Voice input is not supported in this browser.": "198b64199a291c3eacfeaa9f0f268ed0166b0fa36e0e8e4e1084f3399eb15fd9", "Volcengine Ark OpenAI-compatible chat endpoint for Doubao models.": "4369fbabad7a4795ac4fbc796ab26e51c48121abec229b626b48117f510466ee", + "Vote quorum was not met": "22abe3f7bf05dd9981e3575b81db01f7a3adba195c4e79dba3fceb88b4503327", "Wait for attachments to finish uploading.": "f59647adc722dad97cc92e74053a08d8542e67f11cdf4864d06ef6da93e99974", "waiting": "80cfa3e7f28dde4df64436b652230aff28d7779116d1369c21ef2bbf37261d71", "Waiting": "6e293a8c009e001103199768f7bcbea1729c59f9fc1ef2748958757f47ab99ed", @@ -7460,6 +7462,7 @@ "Waiting for sign-in": "749a343a3a25c1df679ee6d6e74abb72e08ef956bfa15434407e61934dc054c9", "Waiting for system confirmation and Host readback...": "952e73792f0715e2d1f30ef0b0c03c4353cd9ab96caa71856bbce7dc41e2d161", "waiting for user input": "f43ef097687b1d8c8800577eefa3f7e10d0c82236cd0017f983d131e8e673174", + "Waiting for votes": "bbb50edc12d1ce791069a8e84ca6e73a255b796306d32cdc1414987b986e172f", "Waiting for workspace": "e682cb09e669c47785b8cb4b28fd43bc51c52636c3178e328477ce86f6a33aed", "Waiting reason": "17171d9f1f059dc74d257f1411452835b78655c83362fae4f2ae2e1e4d1d1c12", "Waiting to check the selected model": "9e16fc6ad7876a2c3467a66b1b0f0d37a9fb493569fc92e7fccb691c8baf193c", @@ -14775,6 +14778,7 @@ "Threat model": "威胁模型", "Threat model artifact": "威胁模型产物", "Thursday": "星期四", + "Tied vote": "平票", "Time": "时间", "Timed out": "已超时", "Timeouts and execution policy": "超时与执行策略", @@ -15167,6 +15171,7 @@ "Visible multi-reply cap": "可见多回复上限", "Voice input is not supported in this browser.": "当前浏览器不支持语音输入。", "Volcengine Ark OpenAI-compatible chat endpoint for Doubao models.": "火山引擎 Ark 的豆包 OpenAI-compatible 聊天接口。", + "Vote quorum was not met": "投票未达法定人数", "Wait for attachments to finish uploading.": "请等待附件上传完成。", "waiting": "等待中", "Waiting": "等待审批", @@ -15193,6 +15198,7 @@ "Waiting for sign-in": "等待登录", "Waiting for system confirmation and Host readback...": "等待系统确认和 Host 事实核对……", "waiting for user input": "等待用户输入", + "Waiting for votes": "等待投票", "Waiting for workspace": "等待工作区", "Waiting reason": "等待原因", "Waiting to check the selected model": "等待检查所选模型", diff --git a/packages/localization/catalogs/zh-HK.json b/packages/localization/catalogs/zh-HK.json index 7445bf615..5e61adeb2 100644 --- a/packages/localization/catalogs/zh-HK.json +++ b/packages/localization/catalogs/zh-HK.json @@ -1,6 +1,6 @@ { "locale": "zh-HK", - "sourceRevision": "6468d2af71d2feb60f9b8c5f37bc2a3ff1177fb2c8b0d65e85002de6b1095cbb", + "sourceRevision": "e134cc889637523423524b121cf71dcb37afdd3d7daf48eaea975d1c39785b2e", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -7042,6 +7042,7 @@ "Threat model": "ac7c7cee765bae0828d383a6446e38ecdba0844e3c188c7008063c0bfe983c42", "Threat model artifact": "c57b9c06d70b87dbf1dc64874de22f98b41b3d74867a881aa2dcd0132b239e5e", "Thursday": "fc2662062ffdef9610020183ea2b087c21d71150d78a7c7463be8a9050bd3ac9", + "Tied vote": "b781f33e7a2c04158bbbfa7e86dbc4d3fbf5b75643b4efdbea46d01f39cafa6b", "Time": "33b93476cf597a3330653b66a658983d892ac264b5d6029a2dc642b9b1f30870", "Timed out": "9718cc761cfd5810041ef007ae258fa1308b8487d0f30c5f36a442f8fe5f76c5", "Timeouts and execution policy": "8011c5fa4d20f9252aa923ae93fbef6f6b3f45f975388030c4a10a05001329cf", @@ -7434,6 +7435,7 @@ "Visible multi-reply cap": "266fa484b23648ac5fd4252b1b67558b1fa2927de86208091a2231723850c7df", "Voice input is not supported in this browser.": "198b64199a291c3eacfeaa9f0f268ed0166b0fa36e0e8e4e1084f3399eb15fd9", "Volcengine Ark OpenAI-compatible chat endpoint for Doubao models.": "4369fbabad7a4795ac4fbc796ab26e51c48121abec229b626b48117f510466ee", + "Vote quorum was not met": "22abe3f7bf05dd9981e3575b81db01f7a3adba195c4e79dba3fceb88b4503327", "Wait for attachments to finish uploading.": "f59647adc722dad97cc92e74053a08d8542e67f11cdf4864d06ef6da93e99974", "waiting": "80cfa3e7f28dde4df64436b652230aff28d7779116d1369c21ef2bbf37261d71", "Waiting": "6e293a8c009e001103199768f7bcbea1729c59f9fc1ef2748958757f47ab99ed", @@ -7460,6 +7462,7 @@ "Waiting for sign-in": "749a343a3a25c1df679ee6d6e74abb72e08ef956bfa15434407e61934dc054c9", "Waiting for system confirmation and Host readback...": "952e73792f0715e2d1f30ef0b0c03c4353cd9ab96caa71856bbce7dc41e2d161", "waiting for user input": "f43ef097687b1d8c8800577eefa3f7e10d0c82236cd0017f983d131e8e673174", + "Waiting for votes": "bbb50edc12d1ce791069a8e84ca6e73a255b796306d32cdc1414987b986e172f", "Waiting for workspace": "e682cb09e669c47785b8cb4b28fd43bc51c52636c3178e328477ce86f6a33aed", "Waiting reason": "17171d9f1f059dc74d257f1411452835b78655c83362fae4f2ae2e1e4d1d1c12", "Waiting to check the selected model": "9e16fc6ad7876a2c3467a66b1b0f0d37a9fb493569fc92e7fccb691c8baf193c", @@ -14775,6 +14778,7 @@ "Threat model": "威脅模型", "Threat model artifact": "威脅模型工件", "Thursday": "週四", + "Tied vote": "平票數", "Time": "時間", "Timed out": "超時", "Timeouts and execution policy": "逾時和執行策略", @@ -15167,6 +15171,7 @@ "Visible multi-reply cap": "可見的多重回應上限", "Voice input is not supported in this browser.": "此瀏覽器不支援語音輸入。", "Volcengine Ark OpenAI-compatible chat endpoint for Doubao models.": "Volcengine Ark OpenAI 相容豆寶模型的聊天端點。", + "Vote quorum was not met": "未達投票法定人數", "Wait for attachments to finish uploading.": "等待附件上傳完成。", "waiting": "等待", "Waiting": "等待", @@ -15193,6 +15198,7 @@ "Waiting for sign-in": "等待登入", "Waiting for system confirmation and Host readback...": "等待系統確認和主機回讀...", "waiting for user input": "等待用戶輸入", + "Waiting for votes": "等待投票", "Waiting for workspace": "等待工作區", "Waiting reason": "等待原因", "Waiting to check the selected model": "等待檢查所選型號", diff --git a/packages/localization/catalogs/zh-TW.json b/packages/localization/catalogs/zh-TW.json index 891eddd5e..8325a3072 100644 --- a/packages/localization/catalogs/zh-TW.json +++ b/packages/localization/catalogs/zh-TW.json @@ -1,6 +1,6 @@ { "locale": "zh-TW", - "sourceRevision": "6468d2af71d2feb60f9b8c5f37bc2a3ff1177fb2c8b0d65e85002de6b1095cbb", + "sourceRevision": "e134cc889637523423524b121cf71dcb37afdd3d7daf48eaea975d1c39785b2e", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -7042,6 +7042,7 @@ "Threat model": "ac7c7cee765bae0828d383a6446e38ecdba0844e3c188c7008063c0bfe983c42", "Threat model artifact": "c57b9c06d70b87dbf1dc64874de22f98b41b3d74867a881aa2dcd0132b239e5e", "Thursday": "fc2662062ffdef9610020183ea2b087c21d71150d78a7c7463be8a9050bd3ac9", + "Tied vote": "b781f33e7a2c04158bbbfa7e86dbc4d3fbf5b75643b4efdbea46d01f39cafa6b", "Time": "33b93476cf597a3330653b66a658983d892ac264b5d6029a2dc642b9b1f30870", "Timed out": "9718cc761cfd5810041ef007ae258fa1308b8487d0f30c5f36a442f8fe5f76c5", "Timeouts and execution policy": "8011c5fa4d20f9252aa923ae93fbef6f6b3f45f975388030c4a10a05001329cf", @@ -7434,6 +7435,7 @@ "Visible multi-reply cap": "266fa484b23648ac5fd4252b1b67558b1fa2927de86208091a2231723850c7df", "Voice input is not supported in this browser.": "198b64199a291c3eacfeaa9f0f268ed0166b0fa36e0e8e4e1084f3399eb15fd9", "Volcengine Ark OpenAI-compatible chat endpoint for Doubao models.": "4369fbabad7a4795ac4fbc796ab26e51c48121abec229b626b48117f510466ee", + "Vote quorum was not met": "22abe3f7bf05dd9981e3575b81db01f7a3adba195c4e79dba3fceb88b4503327", "Wait for attachments to finish uploading.": "f59647adc722dad97cc92e74053a08d8542e67f11cdf4864d06ef6da93e99974", "waiting": "80cfa3e7f28dde4df64436b652230aff28d7779116d1369c21ef2bbf37261d71", "Waiting": "6e293a8c009e001103199768f7bcbea1729c59f9fc1ef2748958757f47ab99ed", @@ -7460,6 +7462,7 @@ "Waiting for sign-in": "749a343a3a25c1df679ee6d6e74abb72e08ef956bfa15434407e61934dc054c9", "Waiting for system confirmation and Host readback...": "952e73792f0715e2d1f30ef0b0c03c4353cd9ab96caa71856bbce7dc41e2d161", "waiting for user input": "f43ef097687b1d8c8800577eefa3f7e10d0c82236cd0017f983d131e8e673174", + "Waiting for votes": "bbb50edc12d1ce791069a8e84ca6e73a255b796306d32cdc1414987b986e172f", "Waiting for workspace": "e682cb09e669c47785b8cb4b28fd43bc51c52636c3178e328477ce86f6a33aed", "Waiting reason": "17171d9f1f059dc74d257f1411452835b78655c83362fae4f2ae2e1e4d1d1c12", "Waiting to check the selected model": "9e16fc6ad7876a2c3467a66b1b0f0d37a9fb493569fc92e7fccb691c8baf193c", @@ -14775,6 +14778,7 @@ "Threat model": "威脅模型", "Threat model artifact": "威脅模型工件", "Thursday": "週四", + "Tied vote": "平票數", "Time": "時間", "Timed out": "超時", "Timeouts and execution policy": "逾時和執行策略", @@ -15167,6 +15171,7 @@ "Visible multi-reply cap": "可見的多重回應上限", "Voice input is not supported in this browser.": "此瀏覽器不支援語音輸入。", "Volcengine Ark OpenAI-compatible chat endpoint for Doubao models.": "Volcengine Ark OpenAI 相容豆寶模型的聊天端點。", + "Vote quorum was not met": "未達投票法定人數", "Wait for attachments to finish uploading.": "等待附件上傳完成。", "waiting": "等待", "Waiting": "等待", @@ -15193,6 +15198,7 @@ "Waiting for sign-in": "等待登入", "Waiting for system confirmation and Host readback...": "等待系統確認和主機回讀...", "waiting for user input": "等待用戶輸入", + "Waiting for votes": "等待投票", "Waiting for workspace": "等待工作區", "Waiting reason": "等待原因", "Waiting to check the selected model": "等待檢查所選型號", From d47f924f906666294e3f788719cca9bfd16b7c49 Mon Sep 17 00:00:00 2001 From: tianxiaochannel-oss88 Date: Mon, 23 Nov 2026 05:54:45 +0800 Subject: [PATCH 047/147] feat(app-server): open a live Ling and Codex control view --- .../ling-app-server-implementation-plan.md | 4 +- packages/cli/src/main.ts | 23 +- .../src/server/app-server-codex-host-view.ts | 177 +++++++++++ .../src/server/app-server-codex-host.ts | 2 + .../src/server/codex-host-view-content.ts | 286 ++++++++++++++++++ .../app-server-release-acceptance.test.ts | 40 +++ 6 files changed, 522 insertions(+), 10 deletions(-) create mode 100644 packages/daemon/src/server/app-server-codex-host-view.ts create mode 100644 packages/daemon/src/server/codex-host-view-content.ts diff --git a/docs/design/ling-app-server-implementation-plan.md b/docs/design/ling-app-server-implementation-plan.md index 5a132d1d1..7759ef008 100644 --- a/docs/design/ling-app-server-implementation-plan.md +++ b/docs/design/ling-app-server-implementation-plan.md @@ -2,7 +2,7 @@ - **状态** App Server 本机传输、Turn 控制与恢复、Verify 和 Federation 已通过定向验收。Agent Operating Model 已接入工作项接单、控制和协作记录。下文列出完整实施与发行仍需完成的工作包。 - **维护者** Contracts、Daemon、Runtime、API Client、CLI 与开发工具维护者 -- **核对基线** 2026-11-23,`origin/main@a58f076ff` +- **核对基线** 2026-11-23,`origin/main@a76352d71` - **类型** 开发准备、依赖顺序和验收计划 - **合同** [产品与架构设计](ling-app-server.md) · [详细设计](ling-app-server-detailed-design.md) - **代码与测试锚点** [Daemon RPC](../../packages/daemon/src/server/rpc.ts) · [控制面往返测试](../../packages/daemon/test/control-plane-api.test.mjs) · [会话受理收据](../../packages/daemon/test/conversation-submission-receipts.test.mjs) · [框架验收](ling-framework-complementary-implementation-plan.md) @@ -61,7 +61,7 @@ | --- | --- | | A1、B1、C1、C2 | 全方法的 Schema 校验和更多宿主兼容组合。workspace、Thread、Work Item 的 grant 和 WSS 已接入,审批和用户答复仍需按不同真实宿主与远程部署做验收。App Server 目标游标已绑定存储代次、授权代次和目标,现有兼容用例覆盖本机的上一版源码与候选组合。 | | D1、D2、E1、E2 | 开工与 Pi 运行中的项目规则加载、显式 Claude 规则、两个开发 Skill、工作区 Verify、独立 verifier basis、托管工作树管理、候选改动分页、Turn 改动恢复、选中 hunk 转移和工作台浏览器验证报告已接入。各发行平台验证仍待完成。 | -| F1、F2 | 普通会话 Handoff 的候选封存、Goal 预算承接与接手已接入。CLI `app-server codex-host` 同时连接 Ling 和安装版 Codex。联调通过受控 Provider 验证 Ling 在途排队、事件补齐、Codex 活跃 Turn 指导及重放原投递回执。可编程宿主的图形会话界面与跨 Workflow Agent 的预算承接仍待验收。 | +| F1、F2 | 普通会话 Handoff 的候选封存、Goal 预算承接与接手已接入。CLI `app-server codex-host --thread --state --view` 在回环地址提供双端会话视图。本机 Codex 0.171.0-alpha.13、实际 Ling Daemon 与受控 Provider 联调验证两端状态、Ling 在途排队、将事件送入活跃 Codex Turn、浏览器重连补齐和原投递回执重放。跨 Workflow Agent 的预算承接及浏览器界面中的真实审批提醒仍待验收。 | | O1、O3–O9 | GitHub 签名 webhook、轮询和显式接单归并至同一工作项。自动接单策略处理免打扰、并发、启动额度和派发前状态重查。现有 Task 和 AutomationRun 支持显式挂接,已接受的计划能自动开启声明的阶段审议。还需 Channel 与 Automation 的按策略接入、Device Fabric 桥接与反馈、改计划时按受影响阶段暂停并承接独立成果、Workflow 交接、计划前和在途审议、跨 Run 预算与完整 O9 联合验收。 | | G | 独立恢复日志已验证 SQLite 快照恢复、撤权、旧游标失效和 GitHub 对账后派发。上一版源码通过同一套本地兼容验收。签名安装产物、实际远程 WSS、受保护 GitHub 仓库及三个真实 Provider 自研试点仍需对应环境的证据。macOS 打包预检需要当前打包输入的 Office 审查、对应 Electron/OS 的受限运行时审查和 gstack 平台资源。T01 离线预检可进入评审,真实试点仍需按 Framework Assurance 准入。 | diff --git a/packages/cli/src/main.ts b/packages/cli/src/main.ts index 0bdd8166f..e5297c382 100644 --- a/packages/cli/src/main.ts +++ b/packages/cli/src/main.ts @@ -268,18 +268,25 @@ async function handleAppServer(args: readonly string[], options: GlobalOptions): } const transportOptions = { daemonUrl: options.daemonUrl, cwd: options.cwd, authToken: process.env.LING_STACK_AUTH_TOKEN }; if (mode === "codex-host") { - const parsed = parseCommandArgs(args.slice(1), { stringFlags: new Set(["thread", "state", "codex", "codex-thread"]) }); + const parsed = parseCommandArgs(args.slice(1), { stringFlags: new Set(["thread", "state", "codex", "codex-thread"]), + booleanFlags: new Set(["view"]) }); assertNoPositionals(parsed.positionals, "app-server codex-host --thread --state "); const threadId = getFlag(parsed, "thread"), statePath = getFlag(parsed, "state"); - if (!threadId || !statePath) throw new CliError(2, "bad_usage", "Usage: ling-stack app-server codex-host --thread --state [--codex ] [--codex-thread ]"); - const { runLingCodexHost } = await import("@ling-stack/daemon/dist/server/app-server-codex-host.js"); + if (!threadId || !statePath) throw new CliError(2, "bad_usage", "Usage: ling-stack app-server codex-host --thread --state [--codex ] [--codex-thread ] [--view]"); + const host = { ...transportOptions, threadId, statePath, codexExecutable: getFlag(parsed, "codex") ?? "codex", + codexThreadId: getFlag(parsed, "codex-thread") }; const controller = new AbortController(); const stop = () => controller.abort(); - process.once("SIGINT", stop); - process.once("SIGTERM", stop); + process.on("SIGINT", stop); + process.on("SIGTERM", stop); try { - await runLingCodexHost({ ...transportOptions, threadId, statePath, codexExecutable: getFlag(parsed, "codex") ?? "codex", - codexThreadId: getFlag(parsed, "codex-thread") }, controller.signal); + if (parsed.booleans.has("view")) { + const { runLingCodexHostView } = await import("@ling-stack/daemon/dist/server/app-server-codex-host-view.js"); + await runLingCodexHostView(host, controller.signal, url => console.log(url)); + } else { + const { runLingCodexHost } = await import("@ling-stack/daemon/dist/server/app-server-codex-host.js"); + await runLingCodexHost(host, controller.signal); + } } finally { process.off("SIGINT", stop); process.off("SIGTERM", stop); @@ -7826,7 +7833,7 @@ function printCommandHelp(command: string, subcommand?: string): void { if (command === "app-server") { console.log("Usage: ling-stack [global options] app-server [stdio|probe|mcp|listen ]"); console.log(" ling-stack app-server schema [method]"); - console.log(" ling-stack app-server codex-host --thread --state [--codex ] [--codex-thread ]"); + console.log(" ling-stack app-server codex-host --thread --state [--codex ] [--codex-thread ] [--view]"); console.log(" Host JSONL methods: ling/snapshot, ling/queue, ling/interrupt, codex/thread/start, codex/snapshot, codex/turn/start, codex/steer"); console.log(" ling-stack [global options] app-server instructions-init [--path ] [--apply ]"); console.log(" ling-stack [global options] app-server verify [--plan] [--check ] [--thread ] [--work-item ]"); diff --git a/packages/daemon/src/server/app-server-codex-host-view.ts b/packages/daemon/src/server/app-server-codex-host-view.ts new file mode 100644 index 000000000..38a4a9042 --- /dev/null +++ b/packages/daemon/src/server/app-server-codex-host-view.ts @@ -0,0 +1,177 @@ +import { randomBytes, timingSafeEqual } from "node:crypto"; +import { once } from "node:events"; +import { createServer, type IncomingMessage, type ServerResponse } from "node:http"; +import { PassThrough, Writable } from "node:stream"; +import { z } from "zod"; +import { readJsonBody } from "../shared/request.js"; +import { isRecord } from "../shared/validation.js"; +import { runLingCodexHost, type LingCodexHostOptions } from "./app-server-codex-host.js"; +import { codexHostViewHtml, codexHostViewScript, codexHostViewStyles } from "./codex-host-view-content.js"; + +const command = z.strictObject({ + method: z.enum(["ling/snapshot", "ling/queue", "ling/interrupt", "codex/thread/start", "codex/snapshot", "codex/turn/start", "codex/steer"]), + params: z.unknown().optional(), +}); + +const maxActivityEntries = 100; +const maxViewConnections = 8; +const commandTimeout = 30_000; + +export async function runLingCodexHostView( + options: LingCodexHostOptions, signal: AbortSignal, onListen: (url: string) => void, +): Promise { + if (signal.aborted) return; + const accessKey = randomBytes(32).toString("hex"); + const authorization = Buffer.from(`Bearer ${accessKey}`); + const sessions = new Set(); + const pending = new Map void>(); + const history: { readonly sequence: number; readonly source: string; readonly line: string }[] = []; + const input = new PassThrough(); + let authority = ""; + let commandId = 0; + let eventId = 0; + const output = new Writable({ + write(chunk: Buffer, _encoding, done) { + try { + if (!chunk.length) return done(); + const frame: unknown = JSON.parse(chunk.toString("utf8")); + if (!isRecord(frame)) return done(); + if (typeof frame.id === "number") { + pending.get(frame.id)?.(frame.error ? 409 : 200, frame); + } else { + const activity = projectActivity(frame); + if (activity) { + if (activity.resetLing) { + for (let index = history.length - 1; index >= 0; index--) { + if (history[index]?.source === "ling") history.splice(index, 1); + } + } + const sequence = ++eventId; + const line = JSON.stringify({ ...activity, sequence }) + "\n"; + history.push({ source: activity.source, sequence, line }); + if (history.length > maxActivityEntries) history.shift(); + for (const session of sessions) { + if (session.writableLength > 256 * 1024) session.destroy(); + else session.write(line); + } + } + } + done(); + } catch (error) { + done(error as Error); + } + }, + }); + const server = createServer((request, response) => { + void handle(request, response).catch(() => { + if (!response.headersSent && !response.destroyed) reply(response, 400, { error: "Invalid browser command." }); + }); + }); + server.requestTimeout = commandTimeout; + try { + server.listen(0, "127.0.0.1"); + await once(server, "listening"); + const address = server.address(); + if (!address || typeof address === "string") throw new Error("The Codex host view could not bind to loopback."); + authority = `127.0.0.1:${address.port}`; + if (signal.aborted) return; + onListen(`http://${authority}/#${accessKey}`); + await runLingCodexHost(options, signal, input, output); + } finally { + for (const finish of pending.values()) finish(503, { error: "The Codex host has stopped." }); + for (const session of sessions) session.end(); + input.destroy(); + output.destroy(); + const closed = new Promise(resolve => server.close(() => resolve())); + server.closeAllConnections(); + await closed; + } + + async function handle(request: IncomingMessage, response: ServerResponse): Promise { + response.setHeader("Cache-Control", "no-store"); + response.setHeader("Referrer-Policy", "no-referrer"); + response.setHeader("X-Content-Type-Options", "nosniff"); + response.setHeader("Content-Security-Policy", + "default-src 'none'; script-src 'self'; style-src 'self'; connect-src 'self'; frame-ancestors 'none'; form-action 'none'; base-uri 'none'"); + if (!authority || request.headers.host !== authority) { + reply(response, 421, { error: "Use the loopback address shown by the Codex host." }); + return; + } + const url = new URL(request.url ?? "/", `http://${authority}`); + if (request.method === "GET") { + if (url.pathname === "/") return asset(response, "text/html", codexHostViewHtml); + if (url.pathname === "/view.js") return asset(response, "text/javascript", codexHostViewScript); + if (url.pathname === "/view.css") return asset(response, "text/css", codexHostViewStyles); + } + const presented = Buffer.from(request.headers.authorization ?? ""); + if (presented.length !== authorization.length || !timingSafeEqual(presented, authorization)) { + reply(response, 401, { error: "Open the private URL printed by the Codex host." }); + return; + } + if (request.method === "GET" && url.pathname === "/events") { + if (sessions.size >= maxViewConnections) { + reply(response, 503, { error: "Close an existing Codex host view." }); + return; + } + response.writeHead(200, { "Content-Type": "application/x-ndjson", "X-Accel-Buffering": "no" }); + response.flushHeaders(); + const after = Number(url.searchParams.get("after") ?? "0"); + const checkpoint = Number.isSafeInteger(after) && after >= 0 ? after : 0; + for (const entry of history) if (entry.sequence > checkpoint) response.write(entry.line); + sessions.add(response); + response.once("close", () => sessions.delete(response)); + return; + } + if (request.method === "POST" && url.pathname === "/command") { + if (request.headers.origin !== `http://${authority}`) { + reply(response, 403, { error: "The browser command must come from this Codex host view." }); + return; + } + if (pending.size >= 16) { + reply(response, 503, { error: "Wait for outstanding commands before retrying." }); + return; + } + const payload = command.parse(await readJsonBody(request, 64 * 1024)); + if (response.destroyed) return; + const id = ++commandId; + const release = () => { clearTimeout(deadline); pending.delete(id); }; + const finish = (status: number, frame: unknown) => { release(); reply(response, status, frame); }; + const deadline = setTimeout(() => finish(504, { error: "Command outcome is unknown. Check the current session before retrying." }), commandTimeout); + response.once("close", release); + pending.set(id, finish); + input.write(JSON.stringify({ ...payload, id }) + "\n"); + return; + } + reply(response, 404, { error: "This Codex host route is unavailable." }); + } +} + +function projectActivity(frame: Record) { + if (typeof frame.method !== "string" || (frame.source !== "ling" && frame.source !== "codex" && frame.source !== "host")) return undefined; + const params = isRecord(frame.params) ? frame.params : {}; + const event = isRecord(params.event) ? params.event : {}; + const turn = isRecord(params.turn) ? params.turn : {}; + const data = isRecord(event.data) ? event.data : {}; + const method = frame.method; + if (frame.source === "codex" && !method.startsWith("turn/") && method !== "connection/status") return undefined; + const state = params.state ?? params.status ?? turn.status; + const turnId = turn.id ?? params.turnId ?? data.turnId; + return { + source: frame.source, method, + ...(typeof params.eventId === "string" ? { eventId: params.eventId } : {}), + ...(typeof turnId === "string" ? { turnId } : {}), + ...(typeof state === "string" ? { state } : {}), + ...(frame.source === "host" && typeof params.codexThreadId === "string" ? { codexThreadId: params.codexThreadId } : {}), + ...(frame.source === "ling" && (method === "thread/scope/reset" + || method === "thread/resync/required" && params.reason === "authorization_changed" + || method === "connection/status" && state === "authorization_required") ? { resetLing: true } : {}), + }; +} + +function reply(response: ServerResponse, status: number, value: unknown): void { + if (!response.destroyed) response.writeHead(status, { "Content-Type": "application/json; charset=utf-8" }).end(JSON.stringify(value)); +} + +function asset(response: ServerResponse, contentType: string, value: string): void { + response.writeHead(200, { "Content-Type": `${contentType}; charset=utf-8` }).end(value); +} diff --git a/packages/daemon/src/server/app-server-codex-host.ts b/packages/daemon/src/server/app-server-codex-host.ts index 8da1aaadb..93dd5ad69 100644 --- a/packages/daemon/src/server/app-server-codex-host.ts +++ b/packages/daemon/src/server/app-server-codex-host.ts @@ -108,6 +108,7 @@ export async function runLingCodexHost( if (state.setAuthorization(JSON.stringify([status.storeIncarnation, status.authorizationEpoch]))) { cursorGeneration++; pendingEvents.clear(); + emit({ source: "ling", method: "thread/scope/reset" }); } } catch (error) { fail(asError(error)); } } @@ -207,6 +208,7 @@ export async function runLingCodexHost( } state.write("codex-thread", resultId); codexThreadId = resultId; + emit({ source: "host", method: "codex/thread/bound", params: { codexThreadId } }); return { threadId: resultId }; } diff --git a/packages/daemon/src/server/codex-host-view-content.ts b/packages/daemon/src/server/codex-host-view-content.ts new file mode 100644 index 000000000..4a01d6581 --- /dev/null +++ b/packages/daemon/src/server/codex-host-view-content.ts @@ -0,0 +1,286 @@ +export const codexHostViewHtml = ` + + + + + Ling and Codex + + + + +
    +
    +

    Ling and Codex

    +

    Connecting

    +
    +
    +
    +

    Ling

    +

    +

    Waiting for the session

    +

    +
    + + + + +
    +
    +
    +

    Codex

    +

    Waiting for the session

    +
    + + + +
    +
    + + + +
    +
    +
    +

    +
    +

    Activity

    +
      +
      +
      + +`; + +export const codexHostViewStyles = ` + :root { color-scheme: light dark; font: 15px/1.5 system-ui, sans-serif; color: CanvasText; background: Canvas; } + * { box-sizing: border-box; } + body { margin: 0; } + main { width: min(100% - 2rem, 59rem); margin: 2rem auto; } + header { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; } + h1 { font-size: 1.8rem; margin: 0 0 1rem; } + h2 { font-size: 1.1rem; margin: 0 0 .5rem; } + p { margin: .35rem 0; overflow-wrap: anywhere; } + #connection { color: GrayText; } + .sessions { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(24rem, 100%), 1fr)); gap: .9rem; } + section { padding: 1rem; border: 1px solid color-mix(in srgb, CanvasText 22%, Canvas); border-radius: .75rem; } + form { margin-top: .75rem; } + label { display: block; font-weight: 600; margin-bottom: .3rem; } + textarea, select { width: 100%; margin-bottom: .55rem; font: inherit; padding: .4rem .55rem; border-radius: .4rem; } + textarea { resize: vertical; } + button { cursor: pointer; font: inherit; font-weight: 600; padding: .45rem .7rem; color: #fff; background: #355fba; border: 1px solid transparent; border-radius: .45rem; } + .secondary { color: CanvasText; background: Canvas; border-color: GrayText; } + button:disabled { opacity: .5; cursor: default; } + :focus-visible { outline: 2px solid #6d91ee; outline-offset: 2px; } + #command-status { min-height: 1.5rem; margin: .6rem 0; } + #activity { list-style: none; padding: 0; margin: 0; max-height: 18rem; overflow: auto; } + #activity li { display: flex; gap: 1rem; border-bottom: 1px solid color-mix(in srgb, CanvasText 15%, Canvas); padding: .35rem 0; } + #activity strong { flex-basis: 4rem; flex-shrink: 0; } +`; + +export const codexHostViewScript = String.raw` +const find = id => document.getElementById(id); +const fragment = location.hash.slice(1); +if (/^[a-f0-9]{64}$/.test(fragment)) { + sessionStorage.setItem("codex-host-access", fragment); + history.replaceState(null, "", location.pathname); +} +const access = sessionStorage.getItem("codex-host-access"); +const headers = { Authorization: "Bearer " + access }; +const activity = find("activity"), eventPicker = find("ling-event"); +const connection = find("connection"), commandStatus = find("command-status"); +const lingActive = new Set(["open", "queued", "running", "waiting_for_approval", "waiting_for_input"]); +let sequence = 0, connected = false, busy = false, refreshTimer; +let lingScopeRevision = 0, codexTurnSequence = 0; +let ling, codexThreadId, codexTurnId, codexStatus, queuedMessage; + +function controls() { + const usable = connected && !busy; + find("ling-queue").disabled = !usable || !lingActive.has(ling?.turn?.status); + find("ling-interrupt").disabled = !usable || !lingActive.has(ling?.turn?.status); + find("codex-start").disabled = !usable || Boolean(codexTurnId) || codexStatus === "closed"; + find("codex-steer").disabled = !usable || !codexTurnId || !eventPicker.value; + find("codex-turn").textContent = codexStatus === "closed" ? "Disconnected" : codexTurnId ? "Turn running" : "Ready"; +} + +async function command(method, params) { + const response = await fetch("/command", { + method: "POST", + headers: { ...headers, "Content-Type": "application/json" }, + body: JSON.stringify({ method, params }), + }); + const value = await response.json(); + if (!response.ok) throw new Error(value.error?.message ?? value.error ?? "Command failed."); + return value.result; +} + +async function readLing() { + const revision = lingScopeRevision; + const snapshot = await command("ling/snapshot").catch(error => { + if (revision === lingScopeRevision) clearLing(); + throw error; + }); + if (revision !== lingScopeRevision) throw new Error("Ling session access changed."); + ling = snapshot; + find("ling-title").textContent = snapshot.thread.title; + const status = snapshot.turn?.status; + find("ling-turn").textContent = status ? "Turn " + status.replaceAll("_", " ") : "No active turn"; + const approvals = snapshot.pendingApprovals.length, inputs = snapshot.pendingInputs.length; + find("ling-requests").textContent = [approvals ? approvals + " pending approvals" : "", inputs ? inputs + " pending questions" : ""] + .filter(Boolean).join(" · "); + controls(); + return snapshot; +} + +function clearLing() { + ling = undefined; + find("ling-title").textContent = ""; + find("ling-turn").textContent = "Waiting for Ling"; + find("ling-requests").textContent = ""; + eventPicker.replaceChildren(); + controls(); +} + +async function readCodex() { + const revision = codexTurnSequence; + const snapshot = await command("codex/snapshot"); + if (revision !== codexTurnSequence) return; + codexThreadId = snapshot.thread.id; + const lastTurn = snapshot.thread.turns?.at(-1); + codexTurnId = lastTurn?.status === "inProgress" ? lastTurn.id : undefined; + controls(); +} + +function showEvent(event) { + if (event.sequence <= sequence) return; + sequence = event.sequence; + if (event.resetLing) { + lingScopeRevision++; + clearLing(); + for (const entry of activity.querySelectorAll('[data-source="ling"]')) entry.remove(); + } + const label = event.source === "ling" ? "Ling" : event.source === "codex" ? "Codex" : "Host"; + const entry = document.createElement("li"), source = document.createElement("strong"), detail = document.createElement("span"); + entry.dataset.source = event.source; + source.textContent = label; + detail.textContent = event.method.replaceAll("/", " · ") + (event.state ? " · " + event.state.replaceAll("_", " ") : ""); + entry.append(source, detail); + activity.prepend(entry); + if (activity.children.length > 40) activity.lastElementChild.remove(); + if (event.eventId && event.source === "ling" && !Array.from(eventPicker.options).some(item => item.value === event.eventId)) { + const option = new Option(event.method + " · " + event.eventId.slice(-10), event.eventId); + const selected = eventPicker.value; + eventPicker.prepend(option); + if (!selected) eventPicker.value = option.value; + if (eventPicker.length > 30) eventPicker.remove(eventPicker.length - 1); + } + if (event.codexThreadId) { + codexThreadId = event.codexThreadId; + void readCodex().catch(() => {}); + } + if (event.source === "codex") { + if (event.method === "turn/started") { + codexTurnSequence = sequence; + codexTurnId = event.turnId; + } + if (event.method === "turn/completed" && event.turnId === codexTurnId) { + codexTurnSequence = sequence; + codexTurnId = undefined; + } + if (event.method === "connection/status") codexStatus = event.state; + } + if (event.source === "ling" && /^(turn|approval|input|connection)\//.test(event.method)) { + clearTimeout(refreshTimer); + refreshTimer = setTimeout(() => void readLing().catch(() => {}), 150); + } + controls(); +} + +async function observe() { + if (!access) { connection.textContent = "Open the private URL printed by the Codex host."; return; } + for (;;) { + try { + const response = await fetch("/events?after=" + sequence, { headers }); + if (response.status === 401) { connection.textContent = "This view session has expired."; return; } + if (!response.ok || !response.body) throw new Error("Stream unavailable"); + connected = true; + connection.textContent = "Connected"; + controls(); + void readLing().catch(() => {}); + if (codexThreadId) void readCodex().catch(() => {}); + const reader = response.body.pipeThrough(new TextDecoderStream()).getReader(); + let line = ""; + try { + for (;;) { + const chunk = await reader.read(); + if (chunk.done) break; + const lines = (line + chunk.value).split("\n"); + line = lines.pop(); + for (const next of lines) if (next) showEvent(JSON.parse(next)); + } + } finally { await reader.cancel().catch(() => {}); } + } catch { + // Reconnect with the highest rendered event sequence. + } + connected = false; + connection.textContent = "Reconnecting"; + controls(); + await new Promise(resolve => setTimeout(resolve, 1000)); + } +} + +function perform(action) { + return async event => { + event.preventDefault(); + if (!connected || busy) return; + busy = true; + controls(); + commandStatus.textContent = "Sending"; + try { + commandStatus.textContent = await action(); + } catch (error) { + commandStatus.textContent = error.message; + } finally { + busy = false; + controls(); + } + }; +} + +async function activeLingTurn() { + const { turn } = await readLing(); + if (!lingActive.has(turn?.status)) throw new Error("Ling has no active turn."); + return { expectedTurnId: turn.id, expectedTurnRevision: turn.updatedAt }; +} + +find("ling-input").addEventListener("submit", perform(async () => { + const turn = await activeLingTurn(), field = find("ling-message"); + const message = field.value.trim(); + if (!message) throw new Error("Enter a message for Ling."); + const basis = JSON.stringify([turn, message]); + if (queuedMessage?.basis !== basis) queuedMessage = { basis, key: crypto.randomUUID() }; + await command("ling/queue", { ...turn, message, idempotencyKey: queuedMessage.key }); + queuedMessage = undefined; + field.value = ""; + return "Message queued for Ling."; +})); +find("ling-interrupt").addEventListener("click", perform(async () => { + await command("ling/interrupt", await activeLingTurn()); + return "Interrupt accepted."; +})); +find("codex-input").addEventListener("submit", perform(async () => { + const field = find("codex-message"), message = field.value.trim(); + if (!message) throw new Error("Enter a message for Codex."); + if (!codexThreadId) codexThreadId = (await command("codex/thread/start")).threadId; + const { turn } = await command("codex/turn/start", { message }); + if (turn.status === "inProgress") codexTurnId = turn.id; + field.value = ""; + return "Codex turn accepted."; +})); +eventPicker.addEventListener("change", controls); +find("steer-input").addEventListener("submit", perform(async () => { + const result = await command("codex/steer", { expectedTurnId: codexTurnId, eventId: eventPicker.value }); + if (result.status === "accepted") return "Event delivered to Codex."; + if (result.status === "rejected") return "Codex rejected the event."; + return "Delivery could not be confirmed. Check the Codex turn."; +})); +void observe(); +`; diff --git a/packages/daemon/test/app-server-release-acceptance.test.ts b/packages/daemon/test/app-server-release-acceptance.test.ts index d1f52ee96..759daa659 100644 --- a/packages/daemon/test/app-server-release-acceptance.test.ts +++ b/packages/daemon/test/app-server-release-acceptance.test.ts @@ -8,6 +8,7 @@ import { createConnection, createServer } from "node:net"; import { tmpdir } from "node:os"; import { PassThrough, type Duplex, type Readable, type Writable } from "node:stream"; import { join } from "node:path"; +import { createInterface } from "node:readline"; import { DatabaseSync } from "node:sqlite"; import { fileURLToPath, pathToFileURL } from "node:url"; import test, { type TestContext } from "node:test"; @@ -1221,6 +1222,45 @@ test("Codex control host streams Ling, accepts explicit controls, and replays cu assert.deepEqual(await second.call("codex/steer", steer), { status: "accepted", replayed: true }); assert.equal((await readFile(writes, "utf8")).trim().split("\n").length, 1); await second.stop(); + + const view = spawn(process.execPath, [cli, "--cwd", fixture.cwd, "--daemon-url", daemonUrl, + "app-server", "codex-host", "--thread", thread.id, "--state", statePath, "--codex", codexFixture, "--view"], + { env: { ...process.env, LING_STACK_AUTH_TOKEN: authToken }, stdio: "pipe" }); + const closed = once(view, "close"); + t.after(async () => { if (view.exitCode === null && view.signalCode === null) view.kill(); await closed; }); + const lines = createInterface({ input: view.stdout }); + const firstLine = await Promise.race([once(lines, "line"), closed.then(() => { throw new Error("Codex browser view did not start."); })]); + const privateUrl = new URL(String(firstLine[0])); + assert.equal(privateUrl.hostname, "127.0.0.1"); + const viewOrigin = privateUrl.origin; + const viewAuth = { Authorization: `Bearer ${privateUrl.hash.slice(1)}` }; + assert.equal((await fetch(`${viewOrigin}/events`)).status, 401); + assert.equal((await fetch(`${viewOrigin}/command`, { method: "POST", headers: { ...viewAuth, Origin: "https://example.test" } })).status, 403); + const hostPage = await fetch(viewOrigin); + assert.equal(hostPage.status, 200); + assert.match(hostPage.headers.get("content-security-policy") ?? "", /frame-ancestors 'none'/u); + assert.match(await hostPage.text(), /Send event to Codex/u); + const activityStream = await fetch(`${viewOrigin}/events`, { headers: viewAuth, signal: AbortSignal.timeout(5_000) }); + assert.equal(activityStream.status, 200); + const reader = activityStream.body!.pipeThrough(new TextDecoderStream()).getReader(); + try { + let activity = ""; + while (!activity.includes('"method":"ready"')) { + const next = await reader.read(); + assert.equal(next.done, false); + activity += next.value; + } + assert.match(activity, /"source":"ling"/u); + assert.match(activity, /"codexThreadId":"codex-host-thread"/u); + } finally { await reader.cancel(); } + const replayedView = await fetch(`${viewOrigin}/command`, { method: "POST", + headers: { ...viewAuth, Origin: viewOrigin, "Content-Type": "application/json" }, + body: JSON.stringify({ method: "codex/steer", params: steer }) }); + assert.equal(replayedView.status, 200); + assert.deepEqual((await replayedView.json() as { result: unknown }).result, { status: "accepted", replayed: true }); + assert.equal((await readFile(writes, "utf8")).trim().split("\n").length, 1); + view.kill("SIGINT"); + assert.deepEqual(await closed, [0, null]); }); test("the reference control host steers installed Codex, queues a Ling intervention and replays after reconnect", { From 004abc02f2b30d54e422fef974b05d4f30c2a5ca Mon Sep 17 00:00:00 2001 From: tianxiaochannel-oss88 Date: Mon, 23 Nov 2026 06:19:09 +0800 Subject: [PATCH 048/147] feat(workflows): gate stages on accepted handoffs --- .../ling-app-server-implementation-plan.md | 3 +- packages/api-client/src/app-server.ts | 6 ++ packages/contracts/src/app-server-schema.ts | 5 +- packages/contracts/src/app-server.ts | 28 +++++++++ packages/contracts/src/threads.ts | 1 + packages/contracts/src/workflows.ts | 1 + packages/core/src/index.ts | 1 + packages/core/src/storage/sqlite-run-store.ts | 1 + .../sqlite/channel-workflow-mappers.ts | 1 + .../sqlite/proposed-plan-action-store.ts | 12 +++- .../src/storage/sqlite/work-item-store.ts | 11 +++- .../core/src/work-item-workflow-handoff.ts | 48 ++++++++++++++ packages/core/src/workspace-types.ts | 1 + .../src/features/channels/orchestrator.ts | 2 +- .../daemon/src/features/runs/thread-routes.ts | 9 ++- .../features/work-items/workflow-stages.ts | 27 +++++++- packages/daemon/src/server/app-server-mcp.ts | 19 +++++- .../src/server/app-server-stage-handoff.ts | 62 +++++++++++++++++++ packages/daemon/src/server/rpc.ts | 46 +++++++++++++- .../app-server-release-acceptance.test.ts | 60 +++++++++++++++++- 20 files changed, 327 insertions(+), 17 deletions(-) create mode 100644 packages/core/src/work-item-workflow-handoff.ts create mode 100644 packages/daemon/src/server/app-server-stage-handoff.ts diff --git a/docs/design/ling-app-server-implementation-plan.md b/docs/design/ling-app-server-implementation-plan.md index 7759ef008..71cdad8ae 100644 --- a/docs/design/ling-app-server-implementation-plan.md +++ b/docs/design/ling-app-server-implementation-plan.md @@ -35,6 +35,7 @@ - Work Board 与 App Server 使用同一套阶段、简报、阻塞和运行证据投影。阶段简报的来源是已提交的步骤状态迁移。看板支持分页与重试,并随 `work_items` 事件刷新。 - 声明了裁决条件的步骤等待该 Work Item、已接受 Plan 和步骤的裁决回执。计划可指定独立的投票阶段与法定人数,也可在前置阶段完成时自动开启审议。Workflow 按原阶段负责人执行投票,各投票 Run 的工具列表为空。Host 在投票阶段全部结束后从终态 Run 核对选项和身份。协调者可以在裁决前查看票数和是否平票,裁决收据保留统计结果。回归覆盖等待票数、平票后的人工裁决、重启和派发一次。独立 QA 仍按自己的前置条件执行。 - 浏览器连接真实 Daemon 时,Work Board 在 P02 上显示工程与 QA 的平票。裁决后通过现有 Control Plane 推送刷新同一详情,呈现选项、裁决依据和执行结果。 +- 计划可用 `handoffFromStageIds` 要求接收方先验收上游 Workflow 的结果包。App Server、SDK 和 MCP 可按当前计划、两个阶段版本及 Work Item revision 接受或退回。协调者接受后,原 Workflow 才放行该步骤。并发提交与重启使用同一交接回执。Git 候选漂移与接手人不可用仍需联合验收。 - `workItem/create` 可按原生 ID 显式挂接现有频道 Task 或 AutomationRun。Host 从原执行记录确认归属和状态。并发提交及重启仍读取同一条 Work Item;原执行所有者持有开始、取消和恢复权限。验收中先运行一次 Automation,再从两个客户端挂接同一执行,Provider 总调用数为一次。 - 完成的工作项可用 `workItem/feedback/add` 提交经验审查。Daemon 核对当前 Work Item 和成功 Run 的归属,从 Run 采集有限证据,复用 Learning Review 的 Provider 预算和审查入口。受控验收从 P02 的实际读取证据生成 Memory 候选,重启后按原键找回同一任务。 @@ -62,7 +63,7 @@ | A1、B1、C1、C2 | 全方法的 Schema 校验和更多宿主兼容组合。workspace、Thread、Work Item 的 grant 和 WSS 已接入,审批和用户答复仍需按不同真实宿主与远程部署做验收。App Server 目标游标已绑定存储代次、授权代次和目标,现有兼容用例覆盖本机的上一版源码与候选组合。 | | D1、D2、E1、E2 | 开工与 Pi 运行中的项目规则加载、显式 Claude 规则、两个开发 Skill、工作区 Verify、独立 verifier basis、托管工作树管理、候选改动分页、Turn 改动恢复、选中 hunk 转移和工作台浏览器验证报告已接入。各发行平台验证仍待完成。 | | F1、F2 | 普通会话 Handoff 的候选封存、Goal 预算承接与接手已接入。CLI `app-server codex-host --thread --state --view` 在回环地址提供双端会话视图。本机 Codex 0.171.0-alpha.13、实际 Ling Daemon 与受控 Provider 联调验证两端状态、Ling 在途排队、将事件送入活跃 Codex Turn、浏览器重连补齐和原投递回执重放。跨 Workflow Agent 的预算承接及浏览器界面中的真实审批提醒仍待验收。 | -| O1、O3–O9 | GitHub 签名 webhook、轮询和显式接单归并至同一工作项。自动接单策略处理免打扰、并发、启动额度和派发前状态重查。现有 Task 和 AutomationRun 支持显式挂接,已接受的计划能自动开启声明的阶段审议。还需 Channel 与 Automation 的按策略接入、Device Fabric 桥接与反馈、改计划时按受影响阶段暂停并承接独立成果、Workflow 交接、计划前和在途审议、跨 Run 预算与完整 O9 联合验收。 | +| O1、O3–O9 | GitHub 签名 webhook、轮询和显式接单归并至同一工作项。自动接单策略处理免打扰、并发、启动额度和派发前状态重查。现有 Task 和 AutomationRun 支持显式挂接,已接受的计划能自动开启声明的阶段审议,并可等待当前 Workflow 结果包的交接回执。还需 Channel 与 Automation 的按策略接入、Device Fabric 桥接与反馈、改计划时按受影响阶段暂停并承接独立成果、Agent 定向消息和同级问答、候选漂移与接手恢复、计划前和在途审议、跨 Run 预算与完整 O9 联合验收。 | | G | 独立恢复日志已验证 SQLite 快照恢复、撤权、旧游标失效和 GitHub 对账后派发。上一版源码通过同一套本地兼容验收。签名安装产物、实际远程 WSS、受保护 GitHub 仓库及三个真实 Provider 自研试点仍需对应环境的证据。macOS 打包预检需要当前打包输入的 Office 审查、对应 Electron/OS 的受限运行时审查和 gstack 平台资源。T01 离线预检可进入评审,真实试点仍需按 Framework Assurance 准入。 | ## 目标与开工顺序 diff --git a/packages/api-client/src/app-server.ts b/packages/api-client/src/app-server.ts index 842e9f243..2a85bf722 100644 --- a/packages/api-client/src/app-server.ts +++ b/packages/api-client/src/app-server.ts @@ -106,6 +106,7 @@ import type { LingAppServerDeliberationDecideParams, LingAppServerDeliberationSettlementParams, LingAppServerStageDeliberationStartParams, + LingAppServerStageHandoffParams, LingAppServerWorktreeTarget, LingAppServerWorktreeCreateParams, LingAppServerWorktreeResult, @@ -618,6 +619,11 @@ export class LingAppServerClient { return await this.request("workItem/deliberation/cancel", params); } + async settleWorkItemStageHandoff(action: "accept" | "return", params: LingAppServerStageHandoffParams): Promise { + await this.connect(); + return await this.request(action === "accept" ? "workItem/handoff/accept" : "workItem/handoff/return", params); + } + async readWorkItemCoordination(params: Omit): Promise { return await this.readWorkItemCollaboration({ ...params, kind: "coordination" }); } diff --git a/packages/contracts/src/app-server-schema.ts b/packages/contracts/src/app-server-schema.ts index bfad86f1f..eefa55efd 100644 --- a/packages/contracts/src/app-server-schema.ts +++ b/packages/contracts/src/app-server-schema.ts @@ -50,6 +50,7 @@ const planTarget = { ...threadTarget, planId: stringSchema, expectedRevision: in const planActionResult = objectWith({ cwd: stringSchema, threadId: stringSchema, plan: objectSchema, taskId: stringSchema, workflowId: stringSchema, workflowStepId: stringSchema, runId: stringSchema }, ["cwd", "threadId", "plan"]); const planWorkflowStep = objectWith({ title: stringSchema, stageId: stringSchema, dependsOnStageIds: stringArraySchema, + handoffFromStageIds: stringArraySchema, ownerId: stringSchema, ownerLabel: stringSchema, requiredTools: stringArraySchema, requiredDecision: objectWith({ question: stringSchema, options: stringArraySchema, trigger: { enum: ["when_ready"] }, ballot: objectWith({ voterStageIds: stringArraySchema, quorum: integerSchema }, ["voterStageIds", "quorum"]) }, ["question", "options"]) }, ["title"]); @@ -271,9 +272,11 @@ function schemaFor(method: LingAppServerMethod): LingAppServerMethodSchema { case "workItem/message/send": case "workItem/question/ask": case "workItem/question/reply": + return { params: objectWith(collaborationAppend, ["workItemId"]), result }; case "workItem/handoff/accept": case "workItem/handoff/return": - return { params: objectWith(collaborationAppend, ["workItemId"]), result }; + return { params: objectWith({ ...collaborationAppend, planRevision: stringSchema, sourceStepId: stringSchema, targetStepId: stringSchema, + expectedSourceRevision: stringSchema, expectedTargetRevision: stringSchema, reason: stringSchema, detail: stringSchema }, ["workItemId"]), result }; case "workItem/feedback/add": return { params: objectWith({ ...collaborationAppend, sourceRunId: stringSchema, providerPresetId: stringSchema }, ["workItemId"]), result: { oneOf: [ diff --git a/packages/contracts/src/app-server.ts b/packages/contracts/src/app-server.ts index 37cf4b34d..7f44415c7 100644 --- a/packages/contracts/src/app-server.ts +++ b/packages/contracts/src/app-server.ts @@ -718,6 +718,7 @@ export interface LingAppServerWorkItemWorkflowStages { readonly outputArtifactId?: string; readonly brief?: string; readonly decision?: LingAppServerWorkItemStageDecision; + readonly handoffs?: readonly LingAppServerStageHandoffProgress[]; readonly briefBasis?: { readonly transitionId: string; readonly committedAt: string; @@ -854,6 +855,33 @@ export interface LingAppServerWorkItemStageDecision { readonly reason?: string; } +export const LING_APP_SERVER_STAGE_HANDOFF_RETURN_REASONS = [ + "missing_artifact", "required_check_incomplete", "candidate_stale", "scope_unavailable", "upstream_effect_unknown", +] as const; +export type LingAppServerStageHandoffReturnReason = (typeof LING_APP_SERVER_STAGE_HANDOFF_RETURN_REASONS)[number]; + +export interface LingAppServerStageHandoffParams { + readonly cwd?: string; + readonly workItemId: string; + readonly planRevision: string; + readonly sourceStepId: string; + readonly targetStepId: string; + readonly expectedSourceRevision: string; + readonly expectedTargetRevision: string; + readonly expectedWorkItemRevision: number; + readonly idempotencyKey: string; + readonly reason?: LingAppServerStageHandoffReturnReason; + readonly detail?: string; +} + +export interface LingAppServerStageHandoffProgress { + readonly sourceStepId: string; + readonly sourceRevision: string; + readonly status: "awaiting_source" | "awaiting_acceptance" | "accepted" | "returned"; + readonly receiptId?: string; + readonly reason?: LingAppServerStageHandoffReturnReason; +} + export type LingAppServerStageBallotProgress = { readonly roundId: string } & ( | { readonly status: "waiting" | "stale" } | { readonly status: "ready" | "quorum_unmet"; readonly summary: LingAppServerStageBallotTally } diff --git a/packages/contracts/src/threads.ts b/packages/contracts/src/threads.ts index b6fda65c9..23cac51ae 100644 --- a/packages/contracts/src/threads.ts +++ b/packages/contracts/src/threads.ts @@ -286,6 +286,7 @@ export interface ProposedPlanWorkflowStepPreview { readonly title: string; readonly stageId?: string; readonly dependsOnStageIds?: readonly string[]; + readonly handoffFromStageIds?: readonly string[]; readonly requiredDecision?: ProposedPlanStageDecision; readonly requiredTools?: readonly RunTool[]; readonly ownerId?: string; diff --git a/packages/contracts/src/workflows.ts b/packages/contracts/src/workflows.ts index 8e3d2cc28..e46e2b5c3 100644 --- a/packages/contracts/src/workflows.ts +++ b/packages/contracts/src/workflows.ts @@ -876,6 +876,7 @@ export interface ChannelWorkflowStepMetadata { readonly planStageId?: string; readonly requiredPlanDecision?: import("./threads.js").ProposedPlanStageDecision; readonly planBallotKey?: string; + readonly requiredPlanHandoffStepIds?: readonly string[]; readonly dependsOnStepIds?: readonly string[]; readonly branchGroupId?: string; readonly joinGroupId?: string; diff --git a/packages/core/src/index.ts b/packages/core/src/index.ts index 813d5d4e5..d00ca2b17 100644 --- a/packages/core/src/index.ts +++ b/packages/core/src/index.ts @@ -152,6 +152,7 @@ export * from "./work-item-types.js"; export * from "./work-item-evidence-types.js"; export * from "./work-item-collaboration.js"; export * from "./work-item-workflow-decision.js"; +export * from "./work-item-workflow-handoff.js"; export * from "./work-item-deliberation-policy.js"; export * from "./app-server-state-types.js"; export * from "./work-item-evidence-types.js"; diff --git a/packages/core/src/storage/sqlite-run-store.ts b/packages/core/src/storage/sqlite-run-store.ts index d73f71c43..9ce92ab0a 100644 --- a/packages/core/src/storage/sqlite-run-store.ts +++ b/packages/core/src/storage/sqlite-run-store.ts @@ -1764,6 +1764,7 @@ export class SqliteRunStore implements RunStore { hasAiTeammate: (id) => Boolean(this.getAiTeammate(id)), getProposedPlanArtifact: (id) => this.getProposedPlanArtifact(id), getChannelWorkflow: (id) => this.getChannelWorkflow(id), + getChannelWorkflowStep: (id) => this.getChannelWorkflowStep(id), listChannelWorkflowSteps: (options) => this.listChannelWorkflowSteps(options), getWorkItemEvidence: (id) => this.getWorkItemEvidence(id), getTask: (id) => this.getTask(id), diff --git a/packages/core/src/storage/sqlite/channel-workflow-mappers.ts b/packages/core/src/storage/sqlite/channel-workflow-mappers.ts index 4c1bfc4a5..8a7408abc 100644 --- a/packages/core/src/storage/sqlite/channel-workflow-mappers.ts +++ b/packages/core/src/storage/sqlite/channel-workflow-mappers.ts @@ -273,6 +273,7 @@ function parseOptionalChannelWorkflowStepMetadata(value: string | undefined): Ch planStageId: readOptionalStringValue(record.planStageId), requiredPlanDecision: record.requiredPlanDecision === undefined ? undefined : parseProposedPlanStageDecision(record.requiredPlanDecision), planBallotKey: readOptionalStringValue(record.planBallotKey), + requiredPlanHandoffStepIds: readOptionalStringListValue(record.requiredPlanHandoffStepIds), dependsOnStepIds: readOptionalStringListValue(record.dependsOnStepIds), branchGroupId: readOptionalStringValue(record.branchGroupId), joinGroupId: readOptionalStringValue(record.joinGroupId), diff --git a/packages/core/src/storage/sqlite/proposed-plan-action-store.ts b/packages/core/src/storage/sqlite/proposed-plan-action-store.ts index 4476fc8f3..027e87814 100644 --- a/packages/core/src/storage/sqlite/proposed-plan-action-store.ts +++ b/packages/core/src/storage/sqlite/proposed-plan-action-store.ts @@ -92,6 +92,7 @@ export class SqliteProposedPlanActionStore { sourceMessageId: canonicalPlan.sourceMessageId, ...(preview?.stageId ? { planStageId: preview.stageId } : {}), ...(dependencies?.length ? { dependsOnStepIds: dependencies.map(id => stepIds.get(id)!) } : {}), + ...(preview?.handoffFromStageIds?.length ? { requiredPlanHandoffStepIds: preview.handoffFromStageIds.map(id => stepIds.get(id)!) } : {}), ...(preview?.requiredDecision ? { requiredPlanDecision: preview.requiredDecision } : {}), ...(preview?.requiredTools ? { requiredTools: preview.requiredTools } : {}), ...(ballot ? { planBallotKey: ballot.key, requiredTools: [], policy: { @@ -206,7 +207,8 @@ function planStageBallots(planId: string, previews: readonly ProposedPlanWorkflo function orderWorkflowStages(titles: readonly string[], previews: readonly ProposedPlanWorkflowStepPreviewInput[]): readonly number[] { const positions = titles.map((_, index) => index); - if (!previews.some(stage => stage.stageId !== undefined || stage.dependsOnStageIds !== undefined || stage.requiredDecision !== undefined)) return positions; + if (!previews.some(stage => stage.stageId !== undefined || stage.dependsOnStageIds !== undefined + || stage.requiredDecision !== undefined || stage.handoffFromStageIds !== undefined)) return positions; const invalid = (message: string) => new ProposedPlanMutationError("bad_workflow_stage_dependencies", message, 400); if (titles.length !== previews.length || titles.length > 50) throw invalid("Provide one preview per stage, up to 50 stages."); const stages = new Map(); @@ -223,9 +225,17 @@ function orderWorkflowStages(titles: readonly string[], previews: readonly Propo if (visiting.has(index)) throw invalid("Workflow stage dependencies must be acyclic."); visiting.add(index); const dependencies = previews[index]?.dependsOnStageIds ?? []; + const preview = previews[index]; if (dependencies.length > 20 || new Set(dependencies).size !== dependencies.length) { throw invalid("Each stage can depend on up to 20 different stages."); } + if (preview?.handoffFromStageIds !== undefined) { + const handoffs = preview.handoffFromStageIds; + if (!Array.isArray(handoffs) || handoffs.length > 20 || new Set(handoffs).size !== handoffs.length + || handoffs.some(id => !dependencies.includes(id) || preview.requiredDecision?.ballot?.voterStageIds.includes(id))) { + throw invalid("Handoffs require distinct prerequisite stages that produce implementation evidence."); + } + } for (const id of dependencies) { const dependency = stages.get(id); if (dependency === undefined) throw invalid(`Unknown prerequisite stage: ${id}`); diff --git a/packages/core/src/storage/sqlite/work-item-store.ts b/packages/core/src/storage/sqlite/work-item-store.ts index a233503f9..904c006aa 100644 --- a/packages/core/src/storage/sqlite/work-item-store.ts +++ b/packages/core/src/storage/sqlite/work-item-store.ts @@ -42,6 +42,7 @@ import type { LingAppServerGitHubDelivery, LingAppServerGitHubIntakeReceipt, Lin import type { RunStore } from "../../run-types.js"; import type { ChannelWorkflowStep } from "../../workspace-types.js"; import { readSelectedWorkflowDecision, workItemWorkflowDecisionId } from "../../work-item-workflow-decision.js"; +import { stageHandoffAdmitsTarget } from "../../work-item-workflow-handoff.js"; import { planStageBallotKey } from "../../proposed-plan-mutation.js"; import { normalConversationSubmissionKey } from "../../conversation-item-store-types.js"; import { readSqliteWithinTransaction } from "./read-snapshot.js"; @@ -51,6 +52,7 @@ export interface SqliteWorkItemStorePorts { readonly hasAiTeammate: (id: string) => boolean; readonly getProposedPlanArtifact: RunStore["getProposedPlanArtifact"]; readonly getChannelWorkflow: RunStore["getChannelWorkflow"]; + readonly getChannelWorkflowStep: RunStore["getChannelWorkflowStep"]; readonly listChannelWorkflowSteps: RunStore["listChannelWorkflowSteps"]; readonly getWorkItemEvidence: RunStore["getWorkItemEvidence"]; readonly getTask: RunStore["getTask"]; @@ -636,7 +638,8 @@ export class SqliteWorkItemStore { const planId = this.ports.getChannelWorkflow(workflowId)?.metadata?.sourceProposedPlanId; const parentId = planId ? this.ports.getProposedPlanArtifact(planId)?.parentPlanId : undefined; const previousWorkflowId = parentId ? this.ports.getProposedPlanArtifact(parentId)?.acceptedWorkflowId : undefined; - return step?.metadata?.requiredPlanDecision || step?.metadata?.planBallotKey || previousWorkflowId && state.get("work_item_workflow", previousWorkflowId) + return step?.metadata?.requiredPlanDecision || step?.metadata?.planBallotKey || step?.metadata?.requiredPlanHandoffStepIds?.length + || previousWorkflowId && state.get("work_item_workflow", previousWorkflowId) ? "work_item_workflow_unbound" : undefined; } const binding = link.binding; @@ -665,6 +668,12 @@ export class SqliteWorkItemStore { if (!this.ports.getWorkItemEvidence(workItemWorkflowDecisionId(subject, "round"))) return "work_item_ballot_pending"; } if (step?.metadata?.requiredPlanDecision && !this.getWorkflowStepDecision(step, state)) return "work_item_decision_pending"; + for (const sourceStepId of step?.metadata?.requiredPlanHandoffStepIds ?? []) { + const source = this.ports.getChannelWorkflowStep(sourceStepId); + if (!source || !step || source.workflowId !== workflowId || !stageHandoffAdmitsTarget(this.ports, { + workItemId: item.id, planRevision: item.planRevision, sourceStepId, sourceRevision: source.updatedAt, targetStepId: step.id, + }, source, step)) return "work_item_handoff_pending"; + } return undefined; } diff --git a/packages/core/src/work-item-workflow-handoff.ts b/packages/core/src/work-item-workflow-handoff.ts new file mode 100644 index 000000000..e7b727def --- /dev/null +++ b/packages/core/src/work-item-workflow-handoff.ts @@ -0,0 +1,48 @@ +import { createHash } from "node:crypto"; +import type { LingAppServerStageHandoffReturnReason } from "@ling-stack/contracts"; +import type { RunStore } from "./run-types.js"; +import { readWorkItemCollaborationRecord } from "./work-item-collaboration.js"; +import type { ChannelWorkflowStep } from "./workspace-types.js"; + +export const WORKFLOW_STAGE_HANDOFF_ID_PREFIX = "work_item_stage_handoff_"; + +export interface WorkflowStageHandoffSubject { + readonly workItemId: string; + readonly planRevision: string; + readonly sourceStepId: string; + readonly sourceRevision: string; + readonly targetStepId: string; +} + +export interface WorkflowStageHandoffDecision { + readonly recipientId: string; + readonly targetRevision: string; + readonly sourceArtifactId?: string; + readonly sourceRunId?: string; + readonly reason?: LingAppServerStageHandoffReturnReason; + readonly detail?: string; +} + +export function workflowStageHandoffId(subject: WorkflowStageHandoffSubject): string { + const identity = [subject.workItemId, subject.planRevision, subject.sourceStepId, subject.sourceRevision, subject.targetStepId]; + return WORKFLOW_STAGE_HANDOFF_ID_PREFIX + createHash("sha256").update(JSON.stringify(identity)).digest("hex"); +} + +export function readWorkflowStageHandoff( + store: Pick, subject: WorkflowStageHandoffSubject, +) { + const record = readWorkItemCollaborationRecord(store, subject.workItemId, workflowStageHandoffId(subject)); + if (record?.kind !== "handoff" || (record.action !== "accepted" && record.action !== "returned") + || !record.payload || typeof record.payload !== "object") return undefined; + return { record, decision: record.payload as WorkflowStageHandoffDecision }; +} + +export function stageHandoffAdmitsTarget( + store: Pick, subject: WorkflowStageHandoffSubject, + source: ChannelWorkflowStep, target: ChannelWorkflowStep, +): boolean { + const handoff = readWorkflowStageHandoff(store, subject); + return handoff?.record.action === "accepted" && handoff.decision.recipientId === target.toParticipantId + && source.status === "succeeded" && Boolean(source.metadata?.outputArtifactId) + && handoff.decision.sourceArtifactId === source.metadata?.outputArtifactId && handoff.decision.sourceRunId === source.runId; +} diff --git a/packages/core/src/workspace-types.ts b/packages/core/src/workspace-types.ts index 9be0f081e..2247ff298 100644 --- a/packages/core/src/workspace-types.ts +++ b/packages/core/src/workspace-types.ts @@ -2426,6 +2426,7 @@ export interface ChannelWorkflowStepMetadata { readonly planStageId?: string; readonly requiredPlanDecision?: import("@ling-stack/contracts").ProposedPlanStageDecision; readonly planBallotKey?: string; + readonly requiredPlanHandoffStepIds?: readonly string[]; readonly dependsOnStepIds?: readonly string[]; readonly branchGroupId?: string; readonly joinGroupId?: string; diff --git a/packages/daemon/src/features/channels/orchestrator.ts b/packages/daemon/src/features/channels/orchestrator.ts index 25c779124..4e15df5c8 100644 --- a/packages/daemon/src/features/channels/orchestrator.ts +++ b/packages/daemon/src/features/channels/orchestrator.ts @@ -1787,7 +1787,7 @@ function isWorkflowStepEligible(step: ChannelWorkflowStep, steps: readonly Chann function eligibleWorkflowSteps(store: RunStore, steps: readonly ChannelWorkflowStep[]): ChannelWorkflowStep[] { return steps.filter(step => step.metadata?.autoStart !== false && (step.status === "queued" || isApprovedPreStartStep(store, step)) - && (!(step.metadata?.requiredPlanDecision || step.metadata?.planBallotKey) + && (!(step.metadata?.requiredPlanDecision || step.metadata?.planBallotKey || step.metadata?.requiredPlanHandoffStepIds?.length) || !store.getWorkItemWorkflowAdmissionBlocker(step.workflowId, step)) && isWorkflowStepEligible(step, steps)).sort(compareWorkflowStepForScheduling); } diff --git a/packages/daemon/src/features/runs/thread-routes.ts b/packages/daemon/src/features/runs/thread-routes.ts index b552fa174..7e5b9f3dd 100644 --- a/packages/daemon/src/features/runs/thread-routes.ts +++ b/packages/daemon/src/features/runs/thread-routes.ts @@ -2528,6 +2528,7 @@ function readOptionalWorkflowStepPreviews( requiredTools, stageId: readOptionalString(item, "stageId"), dependsOnStageIds: readOptionalWorkflowStageDependencies(item), + handoffFromStageIds: readOptionalWorkflowStageDependencies(item, "handoffFromStageIds"), requiredDecision: item.requiredDecision === undefined ? undefined : parseProposedPlanStageDecision(item.requiredDecision), ownerId: readOptionalString(item, "ownerId")?.trim() || undefined, ownerLabel: readOptionalString(item, "ownerLabel")?.trim() || undefined, @@ -2540,11 +2541,13 @@ function readOptionalWorkflowStepPreviews( return previews.length > 0 ? previews : undefined; } -function readOptionalWorkflowStageDependencies(record: Record): readonly string[] | undefined { - const ids = record.dependsOnStageIds; +function readOptionalWorkflowStageDependencies( + record: Record, key: "dependsOnStageIds" | "handoffFromStageIds" = "dependsOnStageIds", +): readonly string[] | undefined { + const ids = record[key]; if (ids === undefined) return undefined; if (!Array.isArray(ids) || !ids.every(id => typeof id === "string")) { - throw new HttpError(400, "bad_workflow_stage_dependencies", "dependsOnStageIds must be an array of stage identifiers."); + throw new HttpError(400, "bad_workflow_stage_dependencies", `${key} must be an array of stage identifiers.`); } return ids; } diff --git a/packages/daemon/src/features/work-items/workflow-stages.ts b/packages/daemon/src/features/work-items/workflow-stages.ts index 928b86d60..531f75558 100644 --- a/packages/daemon/src/features/work-items/workflow-stages.ts +++ b/packages/daemon/src/features/work-items/workflow-stages.ts @@ -1,7 +1,7 @@ import { createHash } from "node:crypto"; -import type { LingAppServerStageBallotTally, LingAppServerWorkItemStageDecision, LingAppServerWorkItemWorkflowBinding, +import type { LingAppServerStageBallotTally, LingAppServerStageHandoffProgress, LingAppServerWorkItemStageDecision, LingAppServerWorkItemWorkflowBinding, LingAppServerWorkItemWorkflowStages } from "@ling-stack/contracts"; -import { readWorkItemCollaborationRecord, workItemWorkflowDecisionId } from "@ling-stack/core"; +import { readWorkItemCollaborationRecord, readWorkflowStageHandoff, stageHandoffAdmitsTarget, workItemWorkflowDecisionId } from "@ling-stack/core"; import type { ChannelWorkflowStep, RunStore, WorkItem } from "@ling-stack/core"; import { appendControlPlaneEvent, type ControlPlaneEventHub } from "../control-plane/events.js"; import type { ActiveRunRegistry } from "../../runtime/active-runs.js"; @@ -43,17 +43,38 @@ export function readWorkItemWorkflowStages(store: RunStore, item: WorkItem, incl stepId: step.id, stageId: step.metadata?.planStageId, title: step.title.slice(0, 250), status: step.status, participantLabel: step.toParticipantLabel.slice(0, 160), dependencyIds: step.metadata?.dependsOnStepIds?.slice(0, 20) ?? [], updatedAt: step.updatedAt, - ...(!admissionBlocker && (step.metadata?.requiredPlanDecision || step.metadata?.planBallotKey) && step.status === "queued" + ...(!admissionBlocker && (step.metadata?.requiredPlanDecision || step.metadata?.planBallotKey + || step.metadata?.requiredPlanHandoffStepIds?.length) && step.status === "queued" ? { admissionBlocker: store.getWorkItemWorkflowAdmissionBlocker(workflow.id, step) } : {}), ...(includeEvidence ? { runId: step.runId, outputArtifactId: step.metadata?.outputArtifactId, brief: (step.resultSummary ?? step.blocker)?.slice(0, 500), briefBasis: readStageBriefBasis(store, step), decision: readStageDecision(store, item.id, item.planRevision!, link.binding.planId, step), + handoffs: readStageHandoffs(store, item.id, item.planRevision!, step), } : {}), })), }; } +function readStageHandoffs( + store: RunStore, workItemId: string, planRevision: string, step: ChannelWorkflowStep, +): readonly LingAppServerStageHandoffProgress[] | undefined { + return step.metadata?.requiredPlanHandoffStepIds?.flatMap((sourceStepId): LingAppServerStageHandoffProgress[] => { + const source = store.getChannelWorkflowStep(sourceStepId); + if (!source || source.workflowId !== step.workflowId) return []; + const sourceRevision = source.updatedAt; + const subject = { workItemId, planRevision, sourceStepId, sourceRevision, targetStepId: step.id }; + const handoff = readWorkflowStageHandoff(store, subject); + if (handoff?.record.action === "returned") return [{ + sourceStepId, sourceRevision, status: "returned", receiptId: handoff.record.id, reason: handoff.decision.reason, + }]; + if (handoff && stageHandoffAdmitsTarget(store, subject, source, step)) return [{ + sourceStepId, sourceRevision, status: "accepted", receiptId: handoff.record.id, + }]; + return [{ sourceStepId, sourceRevision, status: source.status === "succeeded" ? "awaiting_acceptance" : "awaiting_source" }]; + }); +} + function readStageDecision( store: RunStore, workItemId: string, planRevision: string, planId: string, step: ChannelWorkflowStep, ): LingAppServerWorkItemStageDecision | undefined { diff --git a/packages/daemon/src/server/app-server-mcp.ts b/packages/daemon/src/server/app-server-mcp.ts index 16c5f5c76..c6b86cb78 100644 --- a/packages/daemon/src/server/app-server-mcp.ts +++ b/packages/daemon/src/server/app-server-mcp.ts @@ -1,6 +1,6 @@ import { createHash } from "node:crypto"; import type { Readable, Writable } from "node:stream"; -import { LING_APP_SERVER_ARTIFACT_RANGE_BYTES, LING_PRODUCT_VERSION } from "@ling-stack/contracts"; +import { LING_APP_SERVER_ARTIFACT_RANGE_BYTES, LING_APP_SERVER_STAGE_HANDOFF_RETURN_REASONS, LING_PRODUCT_VERSION } from "@ling-stack/contracts"; import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js"; import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js"; import { z } from "zod"; @@ -127,6 +127,22 @@ export async function runLingAppServerMcp( previousWorkflowId: objectId.optional() }), annotations: { idempotentHint: true, destructiveHint: false }, }, async params => describe(await client.bindWorkItemWorkflow(params))); + const stageHandoff = { + workItemId: objectId, planRevision: objectId, sourceStepId: objectId, targetStepId: objectId, + expectedSourceRevision: objectId, expectedTargetRevision: objectId, + expectedWorkItemRevision: z.number().int().positive(), idempotencyKey: requestKey, + detail: z.string().max(1200).optional(), + }; + if (methods.has("workItem/handoff/accept")) server.registerTool("ling_stage_handoff_accept", { + description: "Accept the current supplying stage packet for this receiving stage. Retry with the original request key.", + inputSchema: z.strictObject(stageHandoff), + annotations: { idempotentHint: true, destructiveHint: false }, + }, async params => describe(await client.settleWorkItemStageHandoff("accept", params))); + if (methods.has("workItem/handoff/return")) server.registerTool("ling_stage_handoff_return", { + description: "Return the current supplying stage packet with a reason. The receiving stage continues to wait for an accepted packet.", + inputSchema: z.strictObject({ ...stageHandoff, reason: z.enum(LING_APP_SERVER_STAGE_HANDOFF_RETURN_REASONS) }), + annotations: { idempotentHint: true, destructiveHint: false }, + }, async params => describe(await client.settleWorkItemStageHandoff("return", params))); const plan = { threadId: objectId, planId: objectId, expectedRevision: z.number().int().positive() }; if (methods.has("plan/refine")) server.registerTool("ling_plan_refine", { description: "Create the next draft from a Ling Plan at its current revision.", @@ -142,6 +158,7 @@ export async function runLingAppServerMcp( stageId: objectId, title: z.string().min(1).max(500), ownerId: objectId.optional(), ownerLabel: z.string().min(1).max(160).optional(), dependsOnStageIds: z.array(objectId).max(50).optional(), + handoffFromStageIds: z.array(objectId).max(20).optional(), requiredTools: z.array(z.enum(["read", "grep", "find", "ls", "bash", "edit", "write"])).max(7).optional(), requiredDecision: z.strictObject({ question: z.string().min(1).max(500), options: z.array(z.string().min(1).max(200)).min(2).max(12), diff --git a/packages/daemon/src/server/app-server-stage-handoff.ts b/packages/daemon/src/server/app-server-stage-handoff.ts new file mode 100644 index 000000000..24e6af119 --- /dev/null +++ b/packages/daemon/src/server/app-server-stage-handoff.ts @@ -0,0 +1,62 @@ +import type { LingAppServerStageHandoffParams } from "@ling-stack/contracts"; +import { + appendWorkItemCollaboration, readWorkflowStageHandoff, workflowStageHandoffId, + type RunStore, type WorkflowStageHandoffDecision, +} from "@ling-stack/core"; +import { HttpError } from "../errors.js"; +import { readWorkflowStepOutputPacketArtifact } from "../features/channels/workflow-step-packets.js"; +import { AppServerCollaborationError } from "./app-server-collaboration.js"; + +export function settleAppServerStageHandoff( + store: RunStore, input: LingAppServerStageHandoffParams, action: "accepted" | "returned", now: string, +) { + const { workItemId, planRevision, sourceStepId, targetStepId, expectedSourceRevision, expectedTargetRevision, idempotencyKey } = input; + const item = store.getWorkItem(workItemId); + if (!item) throw new AppServerCollaborationError("work_item_not_found", "The Work Item is unavailable."); + const subject = { workItemId, planRevision, sourceStepId, sourceRevision: expectedSourceRevision, targetStepId }; + const existing = readWorkflowStageHandoff(store, subject); + if (existing) { + const { record, decision } = existing; + if (record.idempotencyKey !== idempotencyKey) throw new AppServerCollaborationError("stale_revision", "This source revision already has a handoff decision."); + if (record.action !== action || decision.targetRevision !== expectedTargetRevision + || decision.reason !== input.reason || decision.detail !== input.detail) { + throw new AppServerCollaborationError("idempotency_conflict", "The handoff key was used with a different decision."); + } + return { status: "replayed" as const, record: { ...record, workItemRevision: item.revision }, workItemRevision: item.revision }; + } + + const source = store.getChannelWorkflowStep(sourceStepId); + const target = store.getChannelWorkflowStep(targetStepId); + if (item.revision !== input.expectedWorkItemRevision || item.planRevision !== planRevision + || !item.workflowId || !source || !target || source.workflowId !== item.workflowId || target.workflowId !== item.workflowId + || !target.metadata?.requiredPlanHandoffStepIds?.includes(sourceStepId) + || source.updatedAt !== expectedSourceRevision || target.updatedAt !== expectedTargetRevision || target.status !== "queued") { + throw new AppServerCollaborationError("stale_revision", "The accepted Plan, supplying stage or receiving stage changed."); + } + if (store.getWorkItemWorkflowAdmissionBlocker(item.workflowId)) { + throw new HttpError(409, "resume_blocked", "The Work Item is not ready to settle this handoff."); + } + if (source.status !== "succeeded") throw new HttpError(409, "resume_blocked", "The supplying stage needs an accepted result."); + const artifactId = source.metadata?.outputArtifactId; + const sourceRun = source.runId ? store.getRun(source.runId) : undefined; + const packet = artifactId ? readWorkflowStepOutputPacketArtifact({ store, artifactId }) : undefined; + if (action === "accepted" && (sourceRun?.status !== "succeeded" || sourceRun.workflowStepId !== source.id + || packet?.workflowId !== source.workflowId || packet.workflowStepId !== source.id || packet.runId !== sourceRun.id)) { + throw new HttpError(409, "resume_blocked", "The supplying stage needs a current result packet from its original Run."); + } + const payload: WorkflowStageHandoffDecision = { + recipientId: target.toParticipantId, targetRevision: target.updatedAt, sourceArtifactId: artifactId, sourceRunId: sourceRun?.id, + reason: input.reason, detail: input.detail, + }; + const result = appendWorkItemCollaboration(store, { + id: workflowStageHandoffId(subject), workItemId, expectedWorkItemRevision: input.expectedWorkItemRevision, + kind: "handoff", action, actorId: "local-user", idempotencyKey, payload, + sourceRefs: [ + { type: "workflow_step", id: source.id, revision: source.updatedAt }, + { type: "workflow_step", id: target.id, revision: target.updatedAt }, + ...(artifactId ? [{ type: "artifact", id: artifactId }] : []), + ], + }, now, store.paths.cwd); + if (!result) throw new AppServerCollaborationError("stale_revision", "The Work Item changed before recording the handoff."); + return result; +} diff --git a/packages/daemon/src/server/rpc.ts b/packages/daemon/src/server/rpc.ts index d564bc666..9eb68ea84 100644 --- a/packages/daemon/src/server/rpc.ts +++ b/packages/daemon/src/server/rpc.ts @@ -5,6 +5,7 @@ import { realpathSync } from "node:fs"; import { DEFAULT_WORKSPACE_ID, WORK_ITEM_COLLABORATION_CONTENT_PREFIX, + WORKFLOW_STAGE_HANDOFF_ID_PREFIX, UserInputStoreError, evaluateDeliberationTrigger, type ControlPlaneDomain, @@ -25,6 +26,7 @@ import { LING_APP_SERVER_METHODS, LING_APP_SERVER_NOTIFICATION_METHODS, LING_APP_SERVER_PROTOCOL_VERSION, + LING_APP_SERVER_STAGE_HANDOFF_RETURN_REASONS, LING_PRODUCT_VERSION, isLingAppServerMethod, parseUserInputAnswerCommandV1, @@ -37,6 +39,7 @@ import { type LingAppServerGrant, type LingAppServerGitHubDeliveryResult, type LingAppServerJsonRpcId, + type LingAppServerStageHandoffReturnReason, type LingAppServerThreadEventsResult, type LingAppServerThreadSnapshotResult, type LingAppServerTurnResumeResult, @@ -52,6 +55,7 @@ import { daemonRequestIsAuthorized } from "./request-auth.js"; import { loadAppServerReplayIdentity, unavailableAppServerReplayWindow, type AppServerReplayScope } from "./app-server-replay.js"; import { appServerRecoveryFor, type AppServerRecoveryJournal } from "./app-server-recovery.js"; import { isAllowedLocalOrigin, isDirectLoopbackRequest } from "../shared/local-workspace-access.js"; +import { isRecord } from "../shared/validation.js"; import { maybeScheduleRunTerminalReport } from "../features/channels/terminal-report-coordinator.js"; import { ensureRunCancelled } from "../features/runs/cancellation.js"; import { expireStaleApproval } from "../features/runs/approvals.js"; @@ -132,6 +136,7 @@ import { settleAppServerDeliberation, startAppServerStageDeliberation, } from "./app-server-collaboration.js"; +import { settleAppServerStageHandoff } from "./app-server-stage-handoff.js"; type JsonRpcId = string | number | null; @@ -925,9 +930,8 @@ class RpcConnection { case "workItem/question/read": return this.readCollaboration("question", params); case "workItem/handoff/accept": - return this.appendCollaboration("handoff", "accepted", params); case "workItem/handoff/return": - return this.appendCollaboration("handoff", "returned", params); + return this.settleWorkItemStageHandoff(method === "workItem/handoff/accept" ? "accepted" : "returned", params); case "workItem/handoff/read": return this.readCollaboration("handoff", params); case "workItem/feedback/add": @@ -1298,7 +1302,14 @@ class RpcConnection { afterRevision: readOptionalIntegerField(record, "afterRevision"), limit: readOptionalIntegerField(record, "limit"), })); - return { cwd, ...result }; + if (this.grant?.subject.kind !== "workItem") return { cwd, ...result }; + const records = result.records.map(entry => { + if (entry.kind !== "handoff" || !entry.id.startsWith(WORKFLOW_STAGE_HANDOFF_ID_PREFIX)) return entry; + const payload = isRecord(entry.payload) && typeof entry.payload.reason === "string" + ? { reason: entry.payload.reason } : {}; + return { ...entry, payload, sourceRefs: [] }; + }); + return { cwd, ...result, records }; } catch (error) { throw collaborationRpcError(error); } @@ -1368,6 +1379,35 @@ class RpcConnection { return result; } + private settleWorkItemStageHandoff(action: "accepted" | "returned", params: unknown): unknown { + const raw = readParamsRecord(params); + if (raw.sourceStepId === undefined && raw.targetStepId === undefined) return this.appendCollaboration("handoff", action, params); + const { cwd, ...record } = this.workspaceParams(params, true); + const reason = readOptionalStringField(record, "reason") as LingAppServerStageHandoffReturnReason | undefined; + const detail = readOptionalStringField(record, "detail")?.trim(); + const idempotencyKey = readStringField(record, "idempotencyKey"); + if (action === "returned" && (!reason || !LING_APP_SERVER_STAGE_HANDOFF_RETURN_REASONS.includes(reason)) + || action === "accepted" && reason !== undefined || (detail?.length ?? 0) > 1200 || !idempotencyKey.trim() || idempotencyKey.length > 200) { + throw rpcError(-32602, "invalid_params", "Supply a supported handoff return reason and a bounded request key."); + } + try { + const store = this.context.storeRegistry.getStore(cwd); + const { event, ...result } = settleAppServerStageHandoff(store, { + workItemId: readStringField(record, "workItemId"), planRevision: readStringField(record, "planRevision"), + sourceStepId: readStringField(record, "sourceStepId"), targetStepId: readStringField(record, "targetStepId"), + expectedSourceRevision: readStringField(record, "expectedSourceRevision"), expectedTargetRevision: readStringField(record, "expectedTargetRevision"), + expectedWorkItemRevision: readIntegerField(record, "expectedWorkItemRevision", "expectedWorkItemRevision"), idempotencyKey, reason, detail, + }, action, new Date().toISOString()); + if (event) { + this.context.controlPlaneEvents.publish(trimOversizedEvent(event)); + if (action === "accepted") this.context.taskSupervisor.poke(cwd); + } + return { cwd, ...result }; + } catch (error) { + throw collaborationRpcError(error); + } + } + private settleWorkItemDeliberation(action: "decided" | "cancelled", params: unknown): unknown { const { cwd, ...record } = this.workspaceParams(params, true); const input = { diff --git a/packages/daemon/test/app-server-release-acceptance.test.ts b/packages/daemon/test/app-server-release-acceptance.test.ts index 759daa659..c98d06664 100644 --- a/packages/daemon/test/app-server-release-acceptance.test.ts +++ b/packages/daemon/test/app-server-release-acceptance.test.ts @@ -2549,6 +2549,7 @@ test("a GitHub Work Item recovers its Workflow, gathers independent ballots and requiredDecision: { question: "Which compatible approach should this stage implement?", options: ["Adapter", "Migration"], trigger: "when_ready", ballot: { voterStageIds: ["V-ENGINEER", "V-QA"], quorum: 2 } } }; const qaPreview = { title: "Prepare contract regression checks", stageId: "QA", dependsOnStageIds: ["P01"], + handoffFromStageIds: ["P01"], ownerId: "teammate_builtin_qa", ownerLabel: "QA" }; const ballots = [ { title: "Review the compatibility options", stageId: "V-ENGINEER", dependsOnStageIds: ["P01"], @@ -2674,7 +2675,6 @@ test("a GitHub Work Item recovers its Workflow, gathers independent ballots and expectedControlGeneration: 1, idempotencyKey: "workflow-owned-resume", }); const resumedStore = fixture.getStore(); - await waitFor(() => resumedStore.getChannelWorkflowStep(qa.id)?.status === "succeeded" ? true : undefined); assert.equal(resumedStore.listRuns({ workflowStepId: p02.id }).length, 0); const pending = await startImplementation(); assert.equal(pending.status, 409); @@ -2685,6 +2685,55 @@ test("a GitHub Work Item recovers its Workflow, gathers independent ballots and }); assert.deepEqual((round.payload as { options: readonly string[] }).options, ["Adapter", "Migration"]); assert.equal(round.actorId, "ling_agent"); + const qaStage = (await readBrief(resumedClient)).workflow?.steps.find(step => step.stepId === qa.id); + const qaHandoff = qaStage?.handoffs?.[0]; + assert.equal(qaStage?.admissionBlocker, "work_item_handoff_pending"); + assert.equal(qaHandoff?.status, "awaiting_acceptance"); + assert.equal(qaHandoff.sourceStepId, p01.id); + assert.equal(resumedStore.listRuns({ workflowStepId: qa.id }).length, 0); + const qaDirectStart = await request(`/workflow-steps/${encodeURIComponent(qa.id)}/start`, { mode: "create_and_run_task" }); + assert.equal(qaDirectStart.status, 409); + assert.equal((await qaDirectStart.json() as { error: string }).error, "work_item_handoff_pending"); + const itemBeforeHandoff = await resumedClient.call("workItem/read", { workItemId }); + assert.ok(itemBeforeHandoff.workItem.planRevision && qaStage); + const offeredHandoff = { workItemId, planRevision: itemBeforeHandoff.workItem.planRevision, + sourceStepId: p01.id, targetStepId: qa.id, expectedSourceRevision: qaHandoff.sourceRevision, expectedTargetRevision: qaStage.updatedAt, + expectedWorkItemRevision: Number(itemBeforeHandoff.workItem.revision), idempotencyKey: "qa-review-contract" }; + await assert.rejects(resumedClient.call("workItem/handoff/return", { ...offeredHandoff, expectedSourceRevision: new Date(0).toISOString(), + reason: "candidate_stale" }), { code: "stale_revision" }); + const returnedHandoff = await resumedClient.call( + "workItem/handoff/return", { ...offeredHandoff, reason: "required_check_incomplete" }); + const returnedStage = (await readBrief(resumedClient)).workflow?.steps.find(step => step.stepId === qa.id); + assert.equal(returnedStage?.handoffs?.[0]?.status, "returned"); + assert.equal(returnedStage.handoffs[0]?.reason, "required_check_incomplete"); + assert.equal(resumedStore.listRuns({ workflowStepId: qa.id }).length, 0); + await assert.rejects(resumedClient.call("workItem/handoff/accept", { + ...offeredHandoff, expectedWorkItemRevision: returnedHandoff.workItemRevision, idempotencyKey: "qa-accept-returned", + }), { code: "stale_revision" }); + const oldSource = resumedStore.getChannelWorkflowStep(p01.id); + const oldPacket = oldSource?.metadata?.outputArtifactId ? resumedStore.getArtifact(oldSource.metadata.outputArtifactId) : undefined; + assert.ok(oldSource && oldPacket?.sealedPayload); + const repairedAt = new Date(Date.parse(oldSource.updatedAt) + 1).toISOString(); + const revisedPacket = { ...(oldPacket.sealedPayload as Record), resultSummary: "The current contract checks are complete." }; + const revisedPath = oldPacket.path.replace(/\.json$/u, "-repaired.json"); + const revisedBytes = JSON.stringify(revisedPacket); + await writeFile(join(resumedStore.paths.artifactsDir, revisedPath), revisedBytes); + const revisedArtifact = resumedStore.createArtifact({ + runId: oldPacket.runId, type: oldPacket.type, title: oldPacket.title, contentType: oldPacket.contentType, + sealedPayload: revisedPacket, path: revisedPath, sizeBytes: Buffer.byteLength(revisedBytes), createdAt: repairedAt, + }); + const revisedSource = resumedStore.updateChannelWorkflowStep(p01.id, + { metadata: { ...oldSource.metadata, outputArtifactId: revisedArtifact.id } }, repairedAt); + assert.ok(revisedSource); + const handoff = { ...offeredHandoff, expectedSourceRevision: revisedSource.updatedAt, + expectedWorkItemRevision: returnedHandoff.workItemRevision, idempotencyKey: "qa-accept-repaired-contract" }; + const handoffPeer = await fixture.connect(); + const [acceptedHandoff, repeatedHandoff] = await Promise.all([resumedClient, handoffPeer].map(connection => + connection.call("workItem/handoff/accept", handoff))); + assert.deepEqual(new Set([acceptedHandoff.status, repeatedHandoff.status]), new Set(["appended", "replayed"])); + assert.equal(acceptedHandoff.record.id, repeatedHandoff.record.id); + assert.ok(acceptedHandoff.record.sourceRefs.some(source => source.id === revisedArtifact.id)); + assert.equal((await readBrief(resumedClient)).workflow?.steps.find(step => step.stepId === qa.id)?.handoffs?.[0]?.status, "accepted"); const readBallots = (connection: typeof client) => connection.call( "workItem/deliberation/read", { workItemId: item.id }); assert.deepEqual((await readBallots(resumedClient)).ballots, [{ roundId: round.id, status: "waiting" }]); @@ -2700,7 +2749,7 @@ test("a GitHub Work Item recovers its Workflow, gathers independent ballots and }; await assert.rejects(resumedClient.call("workItem/deliberation/decide", decision), { code: "resume_blocked" }); completeQaVote(); - await waitFor(() => [engineerVote, qaVote].every(step => resumedStore.getChannelWorkflowStep(step.id)?.status === "succeeded") ? true : undefined); + await waitFor(() => [engineerVote, qaVote, qa].every(step => resumedStore.getChannelWorkflowStep(step.id)?.status === "succeeded") ? true : undefined); await fixture.restart(); const decisionClient = await fixture.connect(); const [readyBallot] = (await readBallots(decisionClient)).ballots ?? []; @@ -2710,6 +2759,13 @@ test("a GitHub Work Item recovers its Workflow, gathers independent ballots and const readyStage = (await readBrief(decisionClient)).workflow?.steps.find(step => step.stepId === p02.id); assert.equal(readyStage?.decision?.status, "ready"); assert.deepEqual(readyStage.decision.ballot, readyBallot.summary); + const restoredHandoff = await decisionClient.call("workItem/handoff/accept", handoff); + assert.equal(restoredHandoff.status, "replayed"); + assert.equal(restoredHandoff.record.id, acceptedHandoff.record.id); + const handoffObserver = await fixture.connect("/app-server/rpc", fixture.cwd, `las1.${grant.grantId}.${observerSecret}`); + const handoffHistory = await handoffObserver.call("workItem/handoff/read", { workItemId }); + assert.deepEqual(handoffHistory.records.map(record => record.id), [returnedHandoff.record.id, acceptedHandoff.record.id]); + assert.ok(handoffHistory.records.every(record => record.sourceRefs.length === 0)); await assert.rejects(decisionClient.call("workItem/deliberation/decide", { ...decision, decision: { disposition: "selected", option: "Rewrite" } }), { code: "invalid_params" }); const selected = await decisionClient.call("workItem/deliberation/decide", decision); From 6af914c8c2cf4f8e0c22bacac188ceb7fbc7a382 Mon Sep 17 00:00:00 2001 From: tianxiaochannel-oss88 Date: Mon, 23 Nov 2026 06:40:43 +0800 Subject: [PATCH 049/147] feat(workflows): pause only stages affected by a proposed plan change --- ...g-agent-operating-model-detailed-design.md | 3 + .../ling-app-server-implementation-plan.md | 5 +- packages/api-client/src/app-server.ts | 13 +++ packages/contracts/src/app-server-schema.ts | 16 ++- packages/contracts/src/app-server.ts | 34 ++++++ packages/core/src/app-server-state-types.ts | 3 +- packages/core/src/run-types.ts | 2 + packages/core/src/storage/sqlite-run-store.ts | 4 + .../storage/sqlite/runtime-work-mappers.ts | 2 + .../src/storage/sqlite/work-item-store.ts | 106 ++++++++++++++++-- packages/core/src/work-item-types.ts | 13 +++ .../src/features/channels/orchestrator.ts | 3 +- .../features/work-items/workflow-stages.ts | 3 +- .../src/server/app-server-collaboration.ts | 7 +- packages/daemon/src/server/app-server-mcp.ts | 15 ++- .../src/server/app-server-stage-handoff.ts | 3 +- .../src/server/codex-host-view-content.ts | 2 +- packages/daemon/src/server/rpc.ts | 55 +++++++++ .../app-server-release-acceptance.test.ts | 57 ++++++++-- 19 files changed, 317 insertions(+), 29 deletions(-) diff --git a/docs/design/ling-agent-operating-model-detailed-design.md b/docs/design/ling-agent-operating-model-detailed-design.md index 7dd2bcc34..c0afa87c7 100644 --- a/docs/design/ling-agent-operating-model-detailed-design.md +++ b/docs/design/ling-agent-operating-model-detailed-design.md @@ -815,6 +815,8 @@ Mutations carry `expectedWorkItemRevision` and `idempotencyKey`, plus the applic | `workItem/deliberation/decide` | Round ID, expected sealed outcome revision and the decision with its reason when required. The decision owner checks the current subject and commits the accepted receipt. | | `workItem/stage/read` | Stage ID and optional revision. Returns the accepted stage contract, owner, dependencies, status and applicable admission hold or continuation blocker. | | `workItem/stage/brief/read` | Stage ID and optional brief ID. Returns the currently visible projection of that brief, or the latest brief, with source revisions and applicability. | +| `workItem/plan/change/request` | Current accepted Plan revision, Work Item revision, affected stage IDs and reason. Records the admission hold over the requested stages and their downstream dependencies. | +| `workItem/plan/change/withdraw` | Current accepted Plan revision, Work Item revision and change ID. Releases that pending change's hold. When binding an accepted successor, `workItem/workflow/bind` can release the explicitly resolved change IDs. | | `workItem/coordination/start` | Kind, subject revision, stage if applicable, requested participant roles, agenda and deadline within the accepted policy. The coordinator receives the round receipt. Scheduled starts enter through the atomic Automation admission in section 5.9. | | `workItem/coordination/read` | Round ID. Returns the visible roster, status and revision, sealed brief and action items when published. Messages are available by round. | | `workItem/coordination/close` | Round ID, expected round revision and subject, plus publish or cancel disposition. Requires the coordinator grant. Publish returns the committed brief ID. Cancel takes a reason and commits the terminal receipt. | @@ -842,6 +844,7 @@ workItem/feedback/received workItem/evidence/updated workItem/deliberation/updated workItem/stage/updated +workItem/plan/change/updated workItem/brief/updated workItem/coordination/updated workItem/message/updated diff --git a/docs/design/ling-app-server-implementation-plan.md b/docs/design/ling-app-server-implementation-plan.md index 71cdad8ae..26bfaf13f 100644 --- a/docs/design/ling-app-server-implementation-plan.md +++ b/docs/design/ling-app-server-implementation-plan.md @@ -36,6 +36,7 @@ - 声明了裁决条件的步骤等待该 Work Item、已接受 Plan 和步骤的裁决回执。计划可指定独立的投票阶段与法定人数,也可在前置阶段完成时自动开启审议。Workflow 按原阶段负责人执行投票,各投票 Run 的工具列表为空。Host 在投票阶段全部结束后从终态 Run 核对选项和身份。协调者可以在裁决前查看票数和是否平票,裁决收据保留统计结果。回归覆盖等待票数、平票后的人工裁决、重启和派发一次。独立 QA 仍按自己的前置条件执行。 - 浏览器连接真实 Daemon 时,Work Board 在 P02 上显示工程与 QA 的平票。裁决后通过现有 Control Plane 推送刷新同一详情,呈现选项、裁决依据和执行结果。 - 计划可用 `handoffFromStageIds` 要求接收方先验收上游 Workflow 的结果包。App Server、SDK 和 MCP 可按当前计划、两个阶段版本及 Work Item revision 接受或退回。协调者接受后,原 Workflow 才放行该步骤。并发提交与重启使用同一交接回执。Git 候选漂移与接手人不可用仍需联合验收。 +- `workItem/plan/change/request` 按已接受的阶段依赖生成准入暂停范围,`workItem/plan/change/withdraw` 可释放这一项暂停。暂停、回执和事件一起提交。联合回归覆盖 P01 改动暂停下游阶段,P02 改动期间 QA 可完成交接,重启后恢复原暂停,以及后继 Workflow 绑定时按确认的变更 ID 解除暂停。 - `workItem/create` 可按原生 ID 显式挂接现有频道 Task 或 AutomationRun。Host 从原执行记录确认归属和状态。并发提交及重启仍读取同一条 Work Item;原执行所有者持有开始、取消和恢复权限。验收中先运行一次 Automation,再从两个客户端挂接同一执行,Provider 总调用数为一次。 - 完成的工作项可用 `workItem/feedback/add` 提交经验审查。Daemon 核对当前 Work Item 和成功 Run 的归属,从 Run 采集有限证据,复用 Learning Review 的 Provider 预算和审查入口。受控验收从 P02 的实际读取证据生成 Memory 候选,重启后按原键找回同一任务。 @@ -62,8 +63,8 @@ | --- | --- | | A1、B1、C1、C2 | 全方法的 Schema 校验和更多宿主兼容组合。workspace、Thread、Work Item 的 grant 和 WSS 已接入,审批和用户答复仍需按不同真实宿主与远程部署做验收。App Server 目标游标已绑定存储代次、授权代次和目标,现有兼容用例覆盖本机的上一版源码与候选组合。 | | D1、D2、E1、E2 | 开工与 Pi 运行中的项目规则加载、显式 Claude 规则、两个开发 Skill、工作区 Verify、独立 verifier basis、托管工作树管理、候选改动分页、Turn 改动恢复、选中 hunk 转移和工作台浏览器验证报告已接入。各发行平台验证仍待完成。 | -| F1、F2 | 普通会话 Handoff 的候选封存、Goal 预算承接与接手已接入。CLI `app-server codex-host --thread --state --view` 在回环地址提供双端会话视图。本机 Codex 0.171.0-alpha.13、实际 Ling Daemon 与受控 Provider 联调验证两端状态、Ling 在途排队、将事件送入活跃 Codex Turn、浏览器重连补齐和原投递回执重放。跨 Workflow Agent 的预算承接及浏览器界面中的真实审批提醒仍待验收。 | -| O1、O3–O9 | GitHub 签名 webhook、轮询和显式接单归并至同一工作项。自动接单策略处理免打扰、并发、启动额度和派发前状态重查。现有 Task 和 AutomationRun 支持显式挂接,已接受的计划能自动开启声明的阶段审议,并可等待当前 Workflow 结果包的交接回执。还需 Channel 与 Automation 的按策略接入、Device Fabric 桥接与反馈、改计划时按受影响阶段暂停并承接独立成果、Agent 定向消息和同级问答、候选漂移与接手恢复、计划前和在途审议、跨 Run 预算与完整 O9 联合验收。 | +| F1、F2 | 普通会话 Handoff 的候选封存、Goal 预算承接与接手已接入。CLI `app-server codex-host --thread --state --view` 在回环地址提供双端会话视图。本机 Codex 0.171.0-alpha.13、实际 Ling Daemon 与受控 Provider 联调验证两端状态、Ling 在途排队、将事件送入活跃 Codex Turn、浏览器重连补齐和原投递回执重放。浏览器还验证了原 Run 审批提醒在授权端拒绝后消失。跨 Workflow Agent 的预算承接仍待验收。 | +| O1、O3–O9 | GitHub 签名 webhook、轮询和显式接单归并至同一工作项。自动接单策略处理免打扰、并发、启动额度和派发前状态重查。现有 Task 和 AutomationRun 支持显式挂接,已接受的计划能自动开启声明的阶段审议,并可等待当前 Workflow 结果包的交接回执。受影响阶段可按计划变更单独暂停。还需 Channel 与 Automation 的按策略接入、Device Fabric 桥接与反馈、后继计划显式接用仍适用的旧阶段成果、Agent 定向消息和同级问答、候选漂移与接手恢复、计划前和在途审议、跨 Run 预算与完整 O9 联合验收。 | | G | 独立恢复日志已验证 SQLite 快照恢复、撤权、旧游标失效和 GitHub 对账后派发。上一版源码通过同一套本地兼容验收。签名安装产物、实际远程 WSS、受保护 GitHub 仓库及三个真实 Provider 自研试点仍需对应环境的证据。macOS 打包预检需要当前打包输入的 Office 审查、对应 Electron/OS 的受限运行时审查和 gstack 平台资源。T01 离线预检可进入评审,真实试点仍需按 Framework Assurance 准入。 | ## 目标与开工顺序 diff --git a/packages/api-client/src/app-server.ts b/packages/api-client/src/app-server.ts index 2a85bf722..3ebe1df58 100644 --- a/packages/api-client/src/app-server.ts +++ b/packages/api-client/src/app-server.ts @@ -107,6 +107,9 @@ import type { LingAppServerDeliberationSettlementParams, LingAppServerStageDeliberationStartParams, LingAppServerStageHandoffParams, + LingAppServerWorkItemPlanChangeRequestParams, + LingAppServerWorkItemPlanChangeWithdrawParams, + LingAppServerWorkItemPlanChangeResult, LingAppServerWorktreeTarget, LingAppServerWorktreeCreateParams, LingAppServerWorktreeResult, @@ -624,6 +627,16 @@ export class LingAppServerClient { return await this.request(action === "accept" ? "workItem/handoff/accept" : "workItem/handoff/return", params); } + async requestWorkItemPlanChange(params: LingAppServerWorkItemPlanChangeRequestParams): Promise { + await this.connect(); + return await this.request("workItem/plan/change/request", params); + } + + async withdrawWorkItemPlanChange(params: LingAppServerWorkItemPlanChangeWithdrawParams): Promise { + await this.connect(); + return await this.request("workItem/plan/change/withdraw", params); + } + async readWorkItemCoordination(params: Omit): Promise { return await this.readWorkItemCollaboration({ ...params, kind: "coordination" }); } diff --git a/packages/contracts/src/app-server-schema.ts b/packages/contracts/src/app-server-schema.ts index eefa55efd..9cfba35f5 100644 --- a/packages/contracts/src/app-server-schema.ts +++ b/packages/contracts/src/app-server-schema.ts @@ -246,12 +246,26 @@ function schemaFor(method: LingAppServerMethod): LingAppServerMethodSchema { sourceType: stringSchema, linkExistingExecution: booleanSchema, idempotencyKey: stringSchema }, ["sourceId", "title"]), result }; case "workItem/workflow/bind": return { params: objectWith({ ...workItemTarget, planId: stringSchema, expectedWorkItemRevision: integerSchema, - expectedPlanRevision: integerSchema, idempotencyKey: stringSchema, previousWorkflowId: stringSchema }, + expectedPlanRevision: integerSchema, idempotencyKey: stringSchema, previousWorkflowId: stringSchema, resolvedPlanChangeIds: stringArraySchema }, ["workItemId", "planId", "expectedWorkItemRevision", "expectedPlanRevision", "idempotencyKey"]), result: objectWith({ cwd: stringSchema, workItem: objectSchema, replayed: booleanSchema, binding: objectWith({ ...workItemTarget, ...threadTarget, workflowId: stringSchema, planId: stringSchema, planRevision: integerSchema, linkedAt: stringSchema, previousWorkflowId: stringSchema }, ["workItemId", "threadId", "workflowId", "planId", "planRevision", "linkedAt"]) }, ["cwd", "workItem", "binding", "replayed"]) }; + case "workItem/plan/change/request": + case "workItem/plan/change/withdraw": { + const change: Record = method === "workItem/plan/change/request" + ? { affectedStageIds: stringArraySchema, reason: stringSchema } : { changeId: stringSchema }; + return { + params: objectWith({ ...workItemTarget, planRevision: stringSchema, + expectedWorkItemRevision: integerSchema, idempotencyKey: stringSchema, ...change }, + ["workItemId", "planRevision", "expectedWorkItemRevision", "idempotencyKey", ...Object.keys(change)]), + result: objectWith({ cwd: stringSchema, workItem: objectSchema, replayed: booleanSchema, + receipt: objectWith({ changeId: stringSchema, status: { enum: ["pending", "withdrawn"] }, + planRevision: stringSchema, affectedStepIds: stringArraySchema }, ["changeId", "status", "planRevision", "affectedStepIds"]), + }, ["cwd", "workItem", "replayed", "receipt"]), + }; + } case "workItem/evidence/append": return { params: objectWith({ ...workItemTarget, actorId: stringSchema, kind: stringSchema, subjectRevision: stringSchema, content: stringSchema, idempotencyKey: stringSchema, sourceRefs: arraySchema }, diff --git a/packages/contracts/src/app-server.ts b/packages/contracts/src/app-server.ts index 7f44415c7..2e932d5f2 100644 --- a/packages/contracts/src/app-server.ts +++ b/packages/contracts/src/app-server.ts @@ -149,6 +149,8 @@ export const LING_APP_SERVER_METHODS = [ "workItem/list", "workItem/accept", "workItem/workflow/bind", + "workItem/plan/change/request", + "workItem/plan/change/withdraw", "workItem/clarify", "workItem/pause", "workItem/resume", @@ -295,6 +297,7 @@ export const LING_APP_SERVER_NOTIFICATION_METHODS = [ "workItem/collaboration/updated", "workItem/deliberation/updated", "workItem/stage/updated", + "workItem/plan/change/updated", "workItem/brief/updated", "workItem/coordination/updated", "workItem/message/updated", @@ -563,6 +566,36 @@ export interface LingWorkItemHold { readonly ownerRef: string; readonly reason: string; readonly blocksNewAdmission: boolean; + readonly workflowStepIds?: readonly string[]; +} + +interface LingAppServerWorkItemPlanChangeBasis { + readonly cwd?: string; + readonly workItemId: string; + readonly planRevision: string; + readonly expectedWorkItemRevision: number; + readonly idempotencyKey: string; +} + +export interface LingAppServerWorkItemPlanChangeRequestParams extends LingAppServerWorkItemPlanChangeBasis { + readonly affectedStageIds: readonly string[]; + readonly reason: string; +} + +export interface LingAppServerWorkItemPlanChangeWithdrawParams extends LingAppServerWorkItemPlanChangeBasis { + readonly changeId: string; +} + +export interface LingAppServerWorkItemPlanChangeReceipt { + readonly changeId: string; + readonly status: "pending" | "withdrawn"; + readonly planRevision: string; + readonly affectedStepIds: readonly string[]; +} + +export interface LingAppServerWorkItemPlanChangeResult extends LingAppServerWorkItemResult { + readonly replayed: boolean; + readonly receipt: LingAppServerWorkItemPlanChangeReceipt; } export interface LingWorkItemControlProjection { @@ -664,6 +697,7 @@ export interface LingAppServerWorkItemWorkflowBindParams { readonly expectedWorkItemRevision: number; readonly idempotencyKey: string; readonly previousWorkflowId?: string; + readonly resolvedPlanChangeIds?: readonly string[]; } export interface LingAppServerWorkItemWorkflowBinding { diff --git a/packages/core/src/app-server-state-types.ts b/packages/core/src/app-server-state-types.ts index ca4799497..d82332825 100644 --- a/packages/core/src/app-server-state-types.ts +++ b/packages/core/src/app-server-state-types.ts @@ -5,7 +5,8 @@ export type AppServerStateKind = "verify_plan" | "verify_operation" | "review_su | "replay_identity" | "handoff" | "handoff_goal_transfer" | "authorization_grant" | "work_item_target" | "work_item_source" | "github_delivery" | "github_delivery_current" | "github_queue_intent" | "work_item_thread" | "automation_coordination" | "coordination_round" | "coordination_automation_run" | "project_instruction_update" - | "change_recovery_request" | "change_transfer_request" | "github_intake_pending" | "github_intake_receipt" | "github_intake_dispatch" | "work_item_workflow"; + | "change_recovery_request" | "change_transfer_request" | "github_intake_pending" | "github_intake_receipt" | "github_intake_dispatch" + | "work_item_workflow" | "work_item_plan_change"; export interface AppServerStateRecord { readonly workspaceId: string; diff --git a/packages/core/src/run-types.ts b/packages/core/src/run-types.ts index 61bbe9e0c..ae337f44c 100644 --- a/packages/core/src/run-types.ts +++ b/packages/core/src/run-types.ts @@ -2710,6 +2710,8 @@ export interface RunStore extends AutomationEventStore, CodeAssessmentStore, Cod getWorkItemWorkflowAdmissionBlocker(workflowId: string, step?: ChannelWorkflowStep): string | undefined; getWorkItemWorkflowStepDecision(step: ChannelWorkflowStep): { readonly id: string; readonly option: string } | undefined; listActiveWorkItemWorkflowIds(limit: number): readonly string[]; + applyWorkItemPlanChange(input: import("./work-item-types.js").WorkItemPlanChangeInput, now: string, + cwd?: string): import("./work-item-types.js").WorkItemPlanChangeResult; checkWorkItemConversationAdmission(threadId: string, submissionKey: unknown, automaticIntakeReceiptId?: string): WorkItem | undefined; claimWorkItem(id: string, input: WorkItemClaimRequest, now: string): { readonly workItem: WorkItem; readonly claimToken?: string; readonly blocker?: WorkItemClaimBlocker } | undefined; heartbeatWorkItem(id: string, input: WorkItemHeartbeatRequest, now: string): WorkItem | undefined; diff --git a/packages/core/src/storage/sqlite-run-store.ts b/packages/core/src/storage/sqlite-run-store.ts index 9ce92ab0a..2d76f282b 100644 --- a/packages/core/src/storage/sqlite-run-store.ts +++ b/packages/core/src/storage/sqlite-run-store.ts @@ -6174,6 +6174,10 @@ export class SqliteRunStore implements RunStore { return this.workItems.listActiveWorkflowIds(limit); } + applyWorkItemPlanChange(input: import("../work-item-types.js").WorkItemPlanChangeInput, now: string, cwd = this.paths.cwd) { + return this.workItems.applyPlanChange(input, now, this.appServerState, { store: this.controlPlane, cwd }); + } + checkWorkItemConversationAdmission(threadId: string, submissionKey: unknown, automaticIntakeReceiptId?: string): WorkItem | undefined { return this.workItems.checkConversationAdmission(threadId, submissionKey, this.appServerState, automaticIntakeReceiptId); } diff --git a/packages/core/src/storage/sqlite/runtime-work-mappers.ts b/packages/core/src/storage/sqlite/runtime-work-mappers.ts index 81a7b51e8..0b276770c 100644 --- a/packages/core/src/storage/sqlite/runtime-work-mappers.ts +++ b/packages/core/src/storage/sqlite/runtime-work-mappers.ts @@ -121,6 +121,8 @@ function mapWorkItemHolds(value: string): readonly WorkItemHold[] { ownerRef: record.ownerRef, reason: record.reason, blocksNewAdmission: record.blocksNewAdmission, + ...(record.kind === "plan" && Array.isArray(record.workflowStepIds) && record.workflowStepIds.length > 0 + && record.workflowStepIds.every(id => typeof id === "string") ? { workflowStepIds: record.workflowStepIds as string[] } : {}), }; }); } diff --git a/packages/core/src/storage/sqlite/work-item-store.ts b/packages/core/src/storage/sqlite/work-item-store.ts index 904c006aa..412080a9e 100644 --- a/packages/core/src/storage/sqlite/work-item-store.ts +++ b/packages/core/src/storage/sqlite/work-item-store.ts @@ -25,6 +25,8 @@ import { type WorkItemFailRequest, type WorkItemHeartbeatRequest, type WorkItemHold, + type WorkItemPlanChangeInput, + type WorkItemPlanChangeResult, type WorkItemReleaseRequest, type WorkItemRouteRequest, type WorkItemControlState, @@ -562,11 +564,71 @@ export class SqliteWorkItemStore { return state.get("work_item_thread", threadId)?.payload as WorkItemConversationBinding | undefined; } + applyPlanChange(input: WorkItemPlanChangeInput, now: string, state: SqliteAppServerStateStore, + events: { readonly store: SqliteControlPlaneStore; readonly cwd: string }): WorkItemPlanChangeResult { + const { action, workItemId, expectedWorkItemRevision, planRevision, idempotencyKey } = input; + const operationId = createHash("sha256").update(JSON.stringify([workItemId, idempotencyKey])).digest("hex"); + const changeRequest = action === "request" ? [input.affectedStageIds, input.reason] : [input.changeId]; + const fingerprint = createHash("sha256").update(JSON.stringify([action, planRevision, expectedWorkItemRevision, changeRequest])).digest("hex"); + const { database } = this.context; + database.exec("BEGIN IMMEDIATE"); + try { + const item = this.getWorkItem(workItemId); + if (!item) throw new Error("work_item_plan_change_unavailable"); + const prior = state.get("work_item_plan_change", operationId)?.payload as { + readonly fingerprint: string; readonly receipt: WorkItemPlanChangeResult["receipt"]; + } | undefined; + if (prior) { + if (prior.fingerprint !== fingerprint) throw new Error("work_item_plan_change_conflict"); + database.exec("COMMIT"); + return { workItem: item, receipt: prior.receipt, replayed: true }; + } + if (!item.workflowId || item.planRevision !== planRevision || item.revision !== expectedWorkItemRevision) { + throw new Error("work_item_plan_change_stale"); + } + const holds = [...item.holds]; + let affectedStepIds: readonly string[]; + let changeId: string; + if (action === "request") { + if (this.getWorkflowAdmissionBlocker(item.workflowId, state)) throw new Error("work_item_plan_change_unavailable"); + const steps = this.ports.listChannelWorkflowSteps({ workflowId: item.workflowId, complete: true }); + affectedStepIds = affectedWorkflowStages(steps, input.affectedStageIds); + changeId = `work_item_change_${operationId}`; + holds.push({ id: changeId, ownerRef: changeId, kind: "plan", reason: input.reason, + blocksNewAdmission: true, workflowStepIds: affectedStepIds }); + } else { + changeId = input.changeId; + const index = holds.findIndex(hold => hold.id === changeId && hold.kind === "plan" && hold.workflowStepIds?.length); + if (index < 0) throw new Error("work_item_plan_change_stale"); + affectedStepIds = holds[index]!.workflowStepIds!; + holds.splice(index, 1); + } + const receipt = { changeId, status: action === "request" ? "pending" as const : "withdrawn" as const, planRevision, affectedStepIds }; + database.prepare("UPDATE work_items SET holds_json=?, revision=revision+1, updated_at=? WHERE id=?") + .run(stringifyJson(holds), now, workItemId); + if (!state.putWithinTransaction({ kind: "work_item_plan_change", recordId: operationId, expectedRevision: 0, payload: { receipt, fingerprint } }, now)) { + throw new Error("work_item_plan_change_conflict"); + } + const event = events.store.appendControlPlaneEventWithinTransaction({ + workspaceId: item.workspaceId, cwd: events.cwd, domain: "work_items", entityType: "work_item", entityId: workItemId, + action: `work_item.plan_change.${receipt.status}`, + data: { workItemId, changeId, planRevision, workItemRevision: item.revision + 1 }, + }, now); + const workItem = this.getWorkItem(workItemId)!; + database.exec("COMMIT"); + return { workItem, receipt, replayed: false, event }; + } catch (error) { + rollbackOwnedSqliteTransaction(database); + throw error; + } + } + bindWorkflow(input: LingAppServerWorkItemWorkflowBindParams, now: string, state: SqliteAppServerStateStore, events: { readonly store: SqliteControlPlaneStore; readonly cwd: string }, previousWorkflowSettled?: (workflowId: string) => boolean) { - const { workItemId, planId, expectedPlanRevision, expectedWorkItemRevision, idempotencyKey, previousWorkflowId } = input; + const { workItemId, planId, expectedPlanRevision, expectedWorkItemRevision, idempotencyKey, previousWorkflowId, resolvedPlanChangeIds } = input; const fingerprint = createHash("sha256").update(JSON.stringify([workItemId, planId, expectedPlanRevision, expectedWorkItemRevision, - ...(previousWorkflowId === undefined ? [] : [previousWorkflowId])])).digest("hex"); + ...(previousWorkflowId === undefined ? [] : [previousWorkflowId]), + ...(resolvedPlanChangeIds?.length ? [[...resolvedPlanChangeIds].sort()] : [])])).digest("hex"); const { database } = this.context; database.exec("BEGIN IMMEDIATE"); try { @@ -595,7 +657,13 @@ export class SqliteWorkItemStore { throw new Error("work_item_workflow_stale"); } } - if (item.control.state !== (previousWorkflowId ? "paused" : "active") || item.holds.some(hold => hold.blocksNewAdmission) + const resolvedChanges = new Set(resolvedPlanChangeIds); + if (resolvedChanges.size && (!previousWorkflowId || [...resolvedChanges].some(id => + !item.holds.some(hold => hold.id === id && hold.kind === "plan" && hold.workflowStepIds?.length)))) { + throw new Error("work_item_workflow_stale"); + } + const retainedHolds = item.holds.filter(hold => !resolvedChanges.has(hold.id)); + if (item.control.state !== (previousWorkflowId ? "paused" : "active") || retainedHolds.some(hold => hold.blocksNewAdmission) || item.control.unresolvedEffectIds.length || item.taskId || item.claim && item.claim.expiresAt > now || acceptance.dispatch && !this.conversationDispatchSettled(acceptance, item) || !["ready", "running", "waiting", "review"].includes(item.status) @@ -607,13 +675,14 @@ export class SqliteWorkItemStore { planId, planRevision: plan.revision, linkedAt: now, ...(previousWorkflowId ? { previousWorkflowId } : {}) }; state.putWithinTransaction({ kind: "work_item_workflow", recordId: workflow.id, idempotencyKey, expectedRevision: 0, payload: { binding, fingerprint } satisfies WorkItemWorkflowLink }, now); - database.prepare(`UPDATE work_items SET workflow_id=?, plan_revision=?, channel_id=?, revision=revision+1, updated_at=?, + database.prepare(`UPDATE work_items SET workflow_id=?, plan_revision=?, channel_id=?, holds_json=?, revision=revision+1, updated_at=?, claim_owner_id=NULL, claim_token=NULL, claimed_at=NULL, heartbeat_at=NULL, claim_expires_at=NULL - WHERE workspace_id=? AND id=?`).run(workflow.id, `${planId}:${plan.revision}`, workflow.channelId, now, item.workspaceId, item.id); + WHERE workspace_id=? AND id=?`).run(workflow.id, `${planId}:${plan.revision}`, workflow.channelId, stringifyJson(retainedHolds), now, item.workspaceId, item.id); const event = events.store.appendControlPlaneEventWithinTransaction({ workspaceId: item.workspaceId, cwd: events.cwd, domain: "work_items", entityType: "work_item", entityId: item.id, action: "work_item.workflow.linked", data: { workItemId, workflowId: workflow.id, threadId: plan.threadId, - revision: item.revision + 1, ...(previousWorkflowId ? { previousWorkflowId } : {}) }, + revision: item.revision + 1, ...(previousWorkflowId ? { previousWorkflowId } : {}), + ...(resolvedChanges.size ? { resolvedPlanChangeIds: [...resolvedChanges] } : {}) }, }, now); const workItem = this.getWorkItem(workItemId)!; database.exec("COMMIT"); @@ -647,12 +716,17 @@ export class SqliteWorkItemStore { const plan = this.ports.getProposedPlanArtifact(binding.planId); if (!item || item.workflowId !== workflowId || item.planRevision !== `${binding.planId}:${binding.planRevision}` || !plan?.acceptedAt || plan.status !== "accepted" || plan.acceptedWorkflowId !== workflowId) return "work_item_workflow_stale"; - if (item.control.state !== "active" || item.holds.some(hold => hold.blocksNewAdmission) + if (item.control.state !== "active" || item.holds.some(hold => hold.blocksNewAdmission && !hold.workflowStepIds) || item.control.unresolvedEffectIds.length || ["done", "cancelled", "archived", "superseded"].includes(item.status)) { return "work_item_workflow_held"; } + const scopedHolds = item.holds.filter(hold => hold.blocksNewAdmission && hold.workflowStepIds); + if (step && scopedHolds.some(hold => hold.workflowStepIds!.includes(step.id))) return "work_item_plan_change_pending"; const successor = plan.supersededByPlanId ? this.ports.getProposedPlanArtifact(plan.supersededByPlanId) : undefined; - if (successor?.status === "accepted" && successor.acceptedWorkflowId) return "work_item_workflow_replan_pending"; + if (successor?.status === "accepted" && successor.acceptedWorkflowId + && !(scopedHolds.length && step?.runId && ["running", "waiting_for_input", "waiting_for_approval"].includes(step.status))) { + return "work_item_workflow_replan_pending"; + } if (this.incompleteWorkItemDependencyIds(item).length) return "work_item_workflow_dependency_blocked"; if (step?.metadata?.planBallotKey) { const { planBallotKey, planStageId } = step.metadata; @@ -705,7 +779,8 @@ export class SqliteWorkItemStore { ) AND item.status NOT IN ('done','cancelled','archived','superseded') AND json_array_length(item.control_unresolved_effect_ids_json)=0 - AND NOT EXISTS (SELECT 1 FROM json_each(item.holds_json) WHERE json_extract(value,'$.blocksNewAdmission')=1) + AND NOT EXISTS (SELECT 1 FROM json_each(item.holds_json) + WHERE json_extract(value,'$.blocksNewAdmission')=1 AND json_type(value,'$.workflowStepIds') IS NULL) AND NOT EXISTS ( SELECT 1 FROM work_item_dependencies edge LEFT JOIN work_items dependency ON dependency.id=edge.depends_on_work_item_id @@ -1068,6 +1143,19 @@ function sourceOwnerHoldId(workItemId: string): string { return `work_item_source_owner:${workItemId}`; } +function affectedWorkflowStages(steps: readonly ChannelWorkflowStep[], requested: readonly string[]): readonly string[] { + const stageIds = new Set(requested); + const roots = steps.filter(step => step.metadata?.planStageId && stageIds.has(step.metadata.planStageId)); + if (!roots.length || roots.length !== stageIds.size || stageIds.size !== requested.length) throw new Error("work_item_plan_change_stage_invalid"); + const affected = new Set(roots.map(step => step.id)); + for (const id of affected) { + for (const step of steps) { + if (step.metadata?.dependsOnStepIds?.includes(id)) affected.add(step.id); + } + } + return [...affected]; +} + function nextWorkItemControlState(state: WorkItemControlState, action: WorkItemControlAction, unresolvedEffectCount: number): WorkItemControlState | undefined { if (action === "pause") { return state === "active" || state === "blocked" ? "paused" : undefined; diff --git a/packages/core/src/work-item-types.ts b/packages/core/src/work-item-types.ts index 7de02185c..05ed1148d 100644 --- a/packages/core/src/work-item-types.ts +++ b/packages/core/src/work-item-types.ts @@ -2,6 +2,7 @@ import { randomUUID } from "node:crypto"; import type { LingAppServerGitHubDelivery, LingAppServerGitHubIntakeBudget, LingAppServerGitHubIntakeReceipt, LingAppServerWorkItemAcceptance, LingAppServerWorkItemConversationDispatch, LingAppServerWorkItemSourceReceipt, + LingAppServerWorkItemPlanChangeReceipt, LingAppServerWorkItemPlanChangeRequestParams, LingAppServerWorkItemPlanChangeWithdrawParams, WorkItemLinkedExecution, WorkItemSourceType, } from "@ling-stack/contracts"; import type { ControlPlaneEvent } from "./run-types.js"; @@ -46,6 +47,18 @@ export interface WorkItemHold { readonly ownerRef: string; readonly reason: string; readonly blocksNewAdmission: boolean; + readonly workflowStepIds?: readonly string[]; +} + +export type WorkItemPlanChangeInput = + | ({ readonly action: "request" } & LingAppServerWorkItemPlanChangeRequestParams) + | ({ readonly action: "withdraw" } & LingAppServerWorkItemPlanChangeWithdrawParams); + +export interface WorkItemPlanChangeResult { + readonly workItem: WorkItem; + readonly receipt: LingAppServerWorkItemPlanChangeReceipt; + readonly replayed: boolean; + readonly event?: ControlPlaneEvent; } export interface WorkItemControlProjection { diff --git a/packages/daemon/src/features/channels/orchestrator.ts b/packages/daemon/src/features/channels/orchestrator.ts index 4e15df5c8..11daa66d8 100644 --- a/packages/daemon/src/features/channels/orchestrator.ts +++ b/packages/daemon/src/features/channels/orchestrator.ts @@ -1787,8 +1787,7 @@ function isWorkflowStepEligible(step: ChannelWorkflowStep, steps: readonly Chann function eligibleWorkflowSteps(store: RunStore, steps: readonly ChannelWorkflowStep[]): ChannelWorkflowStep[] { return steps.filter(step => step.metadata?.autoStart !== false && (step.status === "queued" || isApprovedPreStartStep(store, step)) - && (!(step.metadata?.requiredPlanDecision || step.metadata?.planBallotKey || step.metadata?.requiredPlanHandoffStepIds?.length) - || !store.getWorkItemWorkflowAdmissionBlocker(step.workflowId, step)) + && !store.getWorkItemWorkflowAdmissionBlocker(step.workflowId, step) && isWorkflowStepEligible(step, steps)).sort(compareWorkflowStepForScheduling); } diff --git a/packages/daemon/src/features/work-items/workflow-stages.ts b/packages/daemon/src/features/work-items/workflow-stages.ts index 531f75558..49ad518d8 100644 --- a/packages/daemon/src/features/work-items/workflow-stages.ts +++ b/packages/daemon/src/features/work-items/workflow-stages.ts @@ -43,8 +43,7 @@ export function readWorkItemWorkflowStages(store: RunStore, item: WorkItem, incl stepId: step.id, stageId: step.metadata?.planStageId, title: step.title.slice(0, 250), status: step.status, participantLabel: step.toParticipantLabel.slice(0, 160), dependencyIds: step.metadata?.dependsOnStepIds?.slice(0, 20) ?? [], updatedAt: step.updatedAt, - ...(!admissionBlocker && (step.metadata?.requiredPlanDecision || step.metadata?.planBallotKey - || step.metadata?.requiredPlanHandoffStepIds?.length) && step.status === "queued" + ...(!admissionBlocker && step.status === "queued" ? { admissionBlocker: store.getWorkItemWorkflowAdmissionBlocker(workflow.id, step) } : {}), ...(includeEvidence ? { runId: step.runId, outputArtifactId: step.metadata?.outputArtifactId, brief: (step.resultSummary ?? step.blocker)?.slice(0, 500), diff --git a/packages/daemon/src/server/app-server-collaboration.ts b/packages/daemon/src/server/app-server-collaboration.ts index fd91d5442..2863e1167 100644 --- a/packages/daemon/src/server/app-server-collaboration.ts +++ b/packages/daemon/src/server/app-server-collaboration.ts @@ -105,7 +105,8 @@ export function startAppServerStageDeliberation( if (prior && prior.idempotencyKey !== input.idempotencyKey) { throw new AppServerCollaborationError("stale_revision", "The accepted decision point already has a round."); } - if (!prior && (store.getWorkItemWorkflowAdmissionBlocker(item.workflowId) || !["queued", "blocked"].includes(step.status))) { + if (!prior && (store.getWorkItemWorkflowAdmissionBlocker(item.workflowId) || !["queued", "blocked"].includes(step.status) + || item.holds.some(hold => hold.blocksNewAdmission && hold.workflowStepIds?.includes(step.id)))) { throw new HttpError(409, "resume_blocked", "The Work Item cannot open this decision point now."); } if (!prior && required.ballot && step.metadata?.dependsOnStepIds?.some(id => { @@ -140,6 +141,7 @@ export function openReadyWorkItemStageDeliberations(store: RunStore, workflowId: || step.metadata.dependsOnStepIds?.some(id => !["succeeded", "skipped"].includes(byId.get(id)?.status ?? ""))) continue; const workItem = store.getWorkItem(binding.workItemId); if (!workItem?.planRevision) break; + if (workItem.holds.some(hold => hold.blocksNewAdmission && hold.workflowStepIds?.includes(step.id))) continue; const subject = { workItemId: workItem.id, planRevision: workItem.planRevision, workflowStepId: step.id }; const idempotencyKey = workItemWorkflowDecisionId(subject, "round"); if (store.getWorkItemEvidence(idempotencyKey)) continue; @@ -179,7 +181,8 @@ export function settleAppServerDeliberation( if (!prior && (item.revision !== input.expectedWorkItemRevision || !workflowDecision && hasPriorResolution(store, round))) { throw new AppServerCollaborationError("stale_revision", "The Work Item revision changed or the deliberation round already has a resolution."); } - if (!prior && decision && (item.control.state !== "active" || item.holds.some(hold => hold.blocksNewAdmission))) { + if (!prior && decision && (item.control.state !== "active" || item.holds.some(hold => hold.blocksNewAdmission + && (!hold.workflowStepIds || !workflowDecision || hold.workflowStepIds.includes(workflowDecision.workflowStepId))))) { throw new HttpError(409, "resume_blocked", "The Work Item is held. A held round can be cancelled."); } let ballot: Extract, { readonly summary: unknown }> | undefined; diff --git a/packages/daemon/src/server/app-server-mcp.ts b/packages/daemon/src/server/app-server-mcp.ts index c6b86cb78..f0d48d821 100644 --- a/packages/daemon/src/server/app-server-mcp.ts +++ b/packages/daemon/src/server/app-server-mcp.ts @@ -124,9 +124,22 @@ export async function runLingAppServerMcp( description: "Bind an accepted Plan to its converted Workflow. To replace a paused, settled Workflow, supply its ID and the accepted successor Plan. Retry with the same key.", inputSchema: z.strictObject({ workItemId: objectId, planId: objectId, expectedPlanRevision: z.number().int().nonnegative(), expectedWorkItemRevision: z.number().int().nonnegative(), idempotencyKey: requestKey, - previousWorkflowId: objectId.optional() }), + previousWorkflowId: objectId.optional(), resolvedPlanChangeIds: z.array(objectId).max(50).optional() }), annotations: { idempotentHint: true, destructiveHint: false }, }, async params => describe(await client.bindWorkItemWorkflow(params))); + const planChange = { + workItemId: objectId, planRevision: objectId, expectedWorkItemRevision: z.number().int().positive(), idempotencyKey: requestKey, + }; + if (methods.has("workItem/plan/change/request")) server.registerTool("ling_work_item_plan_change_request", { + description: "Record an authorized change to the accepted Plan. Hold the named stages and their downstream dependencies.", + inputSchema: z.strictObject({ ...planChange, affectedStageIds: z.array(objectId).min(1).max(50), reason: z.string().min(1).max(2000) }), + annotations: { idempotentHint: true, destructiveHint: false }, + }, async params => describe(await client.requestWorkItemPlanChange(params))); + if (methods.has("workItem/plan/change/withdraw")) server.registerTool("ling_work_item_plan_change_withdraw", { + description: "Withdraw one pending Plan change and release its stage hold.", + inputSchema: z.strictObject({ ...planChange, changeId: objectId }), + annotations: { idempotentHint: true, destructiveHint: false }, + }, async params => describe(await client.withdrawWorkItemPlanChange(params))); const stageHandoff = { workItemId: objectId, planRevision: objectId, sourceStepId: objectId, targetStepId: objectId, expectedSourceRevision: objectId, expectedTargetRevision: objectId, diff --git a/packages/daemon/src/server/app-server-stage-handoff.ts b/packages/daemon/src/server/app-server-stage-handoff.ts index 24e6af119..79cd57982 100644 --- a/packages/daemon/src/server/app-server-stage-handoff.ts +++ b/packages/daemon/src/server/app-server-stage-handoff.ts @@ -33,7 +33,8 @@ export function settleAppServerStageHandoff( || source.updatedAt !== expectedSourceRevision || target.updatedAt !== expectedTargetRevision || target.status !== "queued") { throw new AppServerCollaborationError("stale_revision", "The accepted Plan, supplying stage or receiving stage changed."); } - if (store.getWorkItemWorkflowAdmissionBlocker(item.workflowId)) { + if (store.getWorkItemWorkflowAdmissionBlocker(item.workflowId) || item.holds.some(hold => hold.blocksNewAdmission + && (hold.workflowStepIds?.includes(sourceStepId) || hold.workflowStepIds?.includes(targetStepId)))) { throw new HttpError(409, "resume_blocked", "The Work Item is not ready to settle this handoff."); } if (source.status !== "succeeded") throw new HttpError(409, "resume_blocked", "The supplying stage needs an accepted result."); diff --git a/packages/daemon/src/server/codex-host-view-content.ts b/packages/daemon/src/server/codex-host-view-content.ts index 4a01d6581..d5e91c7f5 100644 --- a/packages/daemon/src/server/codex-host-view-content.ts +++ b/packages/daemon/src/server/codex-host-view-content.ts @@ -187,7 +187,7 @@ function showEvent(event) { } if (event.method === "connection/status") codexStatus = event.state; } - if (event.source === "ling" && /^(turn|approval|input|connection)\//.test(event.method)) { + if (event.source === "ling" && /^(turn|approval|input|connection|serverRequest)\//.test(event.method)) { clearTimeout(refreshTimer); refreshTimer = setTimeout(() => void readLing().catch(() => {}), 150); } diff --git a/packages/daemon/src/server/rpc.ts b/packages/daemon/src/server/rpc.ts index 9eb68ea84..af75856c7 100644 --- a/packages/daemon/src/server/rpc.ts +++ b/packages/daemon/src/server/rpc.ts @@ -18,6 +18,7 @@ import { type RunStore, type WorkItem, type WorkItemControlReceipt, + type WorkItemPlanChangeInput, type WorkItemSourceType, type WorkItemStatus, } from "@ling-stack/core"; @@ -46,6 +47,7 @@ import { type LingAppServerWorkItemControlResult, type LingAppServerWorkItemAcceptResult, type LingAppServerWorkItemConversationDispatch, + type LingAppServerWorkItemPlanChangeResult, type LingAppServerWorkItemReadResult, type LingAppServerWorkItemResult, } from "@ling-stack/contracts"; @@ -196,6 +198,7 @@ const operatorMethods = new Set([ "github/intake/policy/list", "github/intake/poll", "github/intake/read", "workItem/accept", "workItem/workflow/bind", + "workItem/plan/change/request", "workItem/plan/change/withdraw", "workItem/feedback/add", "workItem/deliberation/decide", "workItem/deliberation/cancel", "artifact/read", "model/list", "skill/read", @@ -209,6 +212,7 @@ const recoveryGuardedMethods = new Set([ "runs.start", "turn/start", "turn/queue", "turn/resume", "handoff/resume", "approval/respond", "input/respond", "plan/accept", "plan/refine", "workItem/create", "workItem/accept", "workItem/workflow/bind", "workItem/resume", "github/intake/poll", "workItem/coordination/start", "workItem/coordination/schedule/set", "workItem/deliberation/start", "workItem/deliberation/decide", "workItem/handoff/accept", + "workItem/plan/change/withdraw", "externalAgent/task/start", "verify/start", "review/start", "simplify/start", "changes/apply", "worktree/create", "worktree/cleanup", "workItem/feedback/add", ]); @@ -880,6 +884,9 @@ class RpcConnection { return this.acceptWorkItem(params); case "workItem/workflow/bind": return this.bindWorkItemWorkflow(params); + case "workItem/plan/change/request": + case "workItem/plan/change/withdraw": + return this.changeWorkItemPlanScope(method === "workItem/plan/change/request" ? "request" : "withdraw", params); case "workItem/clarify": return this.clarifyWorkItem(params); case "workItem/evidence/read": @@ -1166,6 +1173,7 @@ class RpcConnection { expectedPlanRevision: readIntegerField(record, "expectedPlanRevision", "expectedPlanRevision"), idempotencyKey: readStringField(record, "idempotencyKey"), previousWorkflowId: readOptionalStringField(record, "previousWorkflowId"), + resolvedPlanChangeIds: record.resolvedPlanChangeIds === undefined ? undefined : readPlanScopeIds(record.resolvedPlanChangeIds, 0), }; if (input.idempotencyKey.length > 200 || /[\r\n\0]/u.test(input.idempotencyKey)) { throw rpcError(-32602, "invalid_params", "Supply a Work Item binding key of up to 200 characters."); @@ -1189,6 +1197,43 @@ class RpcConnection { } } + private changeWorkItemPlanScope(action: "request" | "withdraw", params: unknown): LingAppServerWorkItemPlanChangeResult { + const { cwd, ...record } = this.workspaceParams(params, true); + const basis = { + workItemId: readStringField(record, "workItemId"), + planRevision: readStringField(record, "planRevision"), + expectedWorkItemRevision: readIntegerField(record, "expectedWorkItemRevision", "expectedWorkItemRevision"), + idempotencyKey: readStringField(record, "idempotencyKey"), + }; + if (!basis.idempotencyKey.trim() || basis.idempotencyKey.length > 200 || /[\r\n\0]/u.test(basis.idempotencyKey) + || basis.expectedWorkItemRevision < 1) { + throw rpcError(-32602, "invalid_params", "Supply the current Work Item revision and a bounded request key."); + } + const intent: WorkItemPlanChangeInput = action === "request" ? { + ...basis, action, affectedStageIds: readPlanScopeIds(record.affectedStageIds), + reason: readStringField(record, "reason").trim(), + } : { ...basis, action, changeId: readStringField(record, "changeId") }; + if (intent.action === "request" && (!intent.reason || intent.reason.length > 2000)) { + throw rpcError(-32602, "invalid_params", "Describe the requested requirement change in up to 2,000 characters."); + } + try { + const store = this.context.storeRegistry.getStore(cwd); + const { workItem, receipt, replayed, event } = store.applyWorkItemPlanChange(intent, new Date().toISOString(), cwd); + if (event) { + this.context.controlPlaneEvents.publish(trimOversizedEvent(event)); + if (action === "withdraw") this.context.taskSupervisor.poke(cwd); + } + return { cwd, workItem: projectWorkItemSnapshot(workItem), receipt, replayed }; + } catch (error) { + const code = error instanceof Error ? error.message : undefined; + if (code === "work_item_plan_change_stage_invalid") throw rpcError(-32602, "invalid_params", "Choose affected stages from the current accepted Plan."); + if (code === "work_item_plan_change_stale") throw rpcError(-32030, "stale_revision", "The Plan change basis is stale."); + if (code === "work_item_plan_change_unavailable") throw rpcError(-32061, "resume_blocked", "The Work Item cannot accept this Plan change."); + if (code === "work_item_plan_change_conflict") throw rpcError(-32031, "idempotency_conflict", "The Plan change key was reused with different input."); + throw error; + } + } + private async dispatchAcceptedWorkItem( store: RunStore, cwd: string, workItem: WorkItem, intent: LingAppServerWorkItemConversationDispatch & { readonly submissionKey: string }, @@ -3135,6 +3180,15 @@ function readOptionalWorkItemStatus(value: unknown): WorkItemStatus | undefined return value as WorkItemStatus; } +function readPlanScopeIds(value: unknown, minimum = 1): readonly string[] { + if (!Array.isArray(value) || value.length < minimum || value.length > 50 + || value.some(id => typeof id !== "string" || !id.trim() || id.length > 256) + || new Set(value).size !== value.length) { + throw rpcError(-32602, "invalid_params", "Supply a bounded list of distinct Plan stage or change IDs."); + } + return value as string[]; +} + function readOptionalWorkItemSourceType(value: unknown): WorkItemSourceType | undefined { if (value === undefined) return undefined; const sourceTypes: readonly WorkItemSourceType[] = [ @@ -3492,6 +3546,7 @@ function appServerEventMethod(event: ControlPlaneEvent): string | undefined { } if (event.entityType === "work_item") { if (event.action === "work_item.stage.updated") return "workItem/stage/updated"; + if (event.action.startsWith("work_item.plan_change.")) return "workItem/plan/change/updated"; if (event.action.startsWith("work_item.deliberation.")) return "workItem/deliberation/updated"; if (event.action === "work_item.created") return "workItem/created"; if (event.action === "work_item.thread.linked") return "workItem/thread/linked"; diff --git a/packages/daemon/test/app-server-release-acceptance.test.ts b/packages/daemon/test/app-server-release-acceptance.test.ts index c98d06664..b15f1e136 100644 --- a/packages/daemon/test/app-server-release-acceptance.test.ts +++ b/packages/daemon/test/app-server-release-acceptance.test.ts @@ -48,6 +48,7 @@ import type { LingAppServerWorkItemControlResult, LingAppServerWorkItemReadResult, LingAppServerWorkItemFeedbackResult, + LingAppServerWorkItemPlanChangeResult, LingAppServerWorkItemResult, LingAppServerWorkItemWorkflowBindResult, LingAppServerWorkItemSnapshot, @@ -2696,9 +2697,26 @@ test("a GitHub Work Item recovers its Workflow, gathers independent ballots and assert.equal((await qaDirectStart.json() as { error: string }).error, "work_item_handoff_pending"); const itemBeforeHandoff = await resumedClient.call("workItem/read", { workItemId }); assert.ok(itemBeforeHandoff.workItem.planRevision && qaStage); + const changeBasis = { workItemId, planRevision: itemBeforeHandoff.workItem.planRevision }; + const contractChange = await resumedClient.call("workItem/plan/change/request", { + ...changeBasis, expectedWorkItemRevision: Number(itemBeforeHandoff.workItem.revision), + affectedStageIds: ["P01"], reason: "Inspect the impact of changing the contract", idempotencyKey: "contract-scope", + }); + assert.deepEqual(new Set(contractChange.receipt.affectedStepIds), new Set([p01.id, p02.id, qa.id, engineerVote.id, qaVote.id])); + assert.equal((await readBrief(resumedClient)).workflow?.steps.find(step => step.stepId === qa.id)?.admissionBlocker, + "work_item_plan_change_pending"); + const withdrawn = await resumedClient.call("workItem/plan/change/withdraw", { + ...changeBasis, expectedWorkItemRevision: Number(contractChange.workItem.revision), + changeId: contractChange.receipt.changeId, idempotencyKey: "withdraw-contract-scope", + }); + assert.equal(withdrawn.receipt.status, "withdrawn"); + assert.equal(withdrawn.workItem.control.state, "active"); const offeredHandoff = { workItemId, planRevision: itemBeforeHandoff.workItem.planRevision, sourceStepId: p01.id, targetStepId: qa.id, expectedSourceRevision: qaHandoff.sourceRevision, expectedTargetRevision: qaStage.updatedAt, - expectedWorkItemRevision: Number(itemBeforeHandoff.workItem.revision), idempotencyKey: "qa-review-contract" }; + expectedWorkItemRevision: Number(withdrawn.workItem.revision), idempotencyKey: "qa-review-contract" }; + await assert.rejects(resumedClient.call("workItem/handoff/return", { + ...offeredHandoff, expectedWorkItemRevision: Number(itemBeforeHandoff.workItem.revision), reason: "required_check_incomplete", + }), { code: "stale_revision" }); await assert.rejects(resumedClient.call("workItem/handoff/return", { ...offeredHandoff, expectedSourceRevision: new Date(0).toISOString(), reason: "candidate_stale" }), { code: "stale_revision" }); const returnedHandoff = await resumedClient.call( @@ -2725,8 +2743,14 @@ test("a GitHub Work Item recovers its Workflow, gathers independent ballots and const revisedSource = resumedStore.updateChannelWorkflowStep(p01.id, { metadata: { ...oldSource.metadata, outputArtifactId: revisedArtifact.id } }, repairedAt); assert.ok(revisedSource); + const implementationChange = { + ...changeBasis, expectedWorkItemRevision: returnedHandoff.workItemRevision, + affectedStageIds: ["P02"], reason: "Reconsider the implementation approach", idempotencyKey: "implementation-scope", + }; + const implementationHold = await resumedClient.call("workItem/plan/change/request", implementationChange); + assert.deepEqual(implementationHold.receipt.affectedStepIds, [p02.id]); const handoff = { ...offeredHandoff, expectedSourceRevision: revisedSource.updatedAt, - expectedWorkItemRevision: returnedHandoff.workItemRevision, idempotencyKey: "qa-accept-repaired-contract" }; + expectedWorkItemRevision: Number(implementationHold.workItem.revision), idempotencyKey: "qa-accept-repaired-contract" }; const handoffPeer = await fixture.connect(); const [acceptedHandoff, repeatedHandoff] = await Promise.all([resumedClient, handoffPeer].map(connection => connection.call("workItem/handoff/accept", handoff))); @@ -2742,12 +2766,12 @@ test("a GitHub Work Item recovers its Workflow, gathers independent ballots and await assert.rejects(resumedClient.call("workItem/deliberation/start", { workItemId: item.id, workflowStepId: p02.id, expectedWorkItemRevision, idempotencyKey: "duplicate-decision" }), { code: "stale_revision" }); - const decision = { + const heldDecision = { workItemId: item.id, roundId: round.id, expectedRoundRevision: round.collaborationRevision, expectedWorkItemRevision, idempotencyKey: "workflow-owned-selected", reason: "Keep both compatibility paths", decision: { disposition: "selected", option: "Adapter" }, }; - await assert.rejects(resumedClient.call("workItem/deliberation/decide", decision), { code: "resume_blocked" }); + await assert.rejects(resumedClient.call("workItem/deliberation/decide", heldDecision), { code: "resume_blocked" }); completeQaVote(); await waitFor(() => [engineerVote, qaVote, qa].every(step => resumedStore.getChannelWorkflowStep(step.id)?.status === "succeeded") ? true : undefined); await fixture.restart(); @@ -2758,7 +2782,18 @@ test("a GitHub Work Item recovers its Workflow, gathers independent ballots and assert.deepEqual(readyBallot.summary.tally, [{ option: "Adapter", count: 1 }, { option: "Migration", count: 1 }]); const readyStage = (await readBrief(decisionClient)).workflow?.steps.find(step => step.stepId === p02.id); assert.equal(readyStage?.decision?.status, "ready"); + assert.equal(readyStage.admissionBlocker, "work_item_plan_change_pending"); assert.deepEqual(readyStage.decision.ballot, readyBallot.summary); + assert.equal(fixture.getStore().listRuns({ workflowStepId: p02.id }).length, 0); + const restoredChange = await decisionClient.call("workItem/plan/change/request", implementationChange); + assert.equal(restoredChange.replayed, true); + assert.deepEqual(restoredChange.receipt, implementationHold.receipt); + await assert.rejects(decisionClient.call("workItem/deliberation/decide", heldDecision), { code: "resume_blocked" }); + const releaseImplementation = await decisionClient.call("workItem/plan/change/withdraw", { + ...changeBasis, expectedWorkItemRevision: Number(restoredChange.workItem.revision), + changeId: restoredChange.receipt.changeId, idempotencyKey: "withdraw-implementation-scope", + }); + const decision = { ...heldDecision, expectedWorkItemRevision: Number(releaseImplementation.workItem.revision) }; const restoredHandoff = await decisionClient.call("workItem/handoff/accept", handoff); assert.equal(restoredHandoff.status, "replayed"); assert.equal(restoredHandoff.record.id, acceptedHandoff.record.id); @@ -2882,7 +2917,7 @@ test("a paused Work Item replaces its accepted Workflow after the old Run settle workItemId: item.id, planId: original.plan.id, expectedPlanRevision: original.plan.revision, expectedWorkItemRevision: Number(accept.workItem.revision), idempotencyKey: "bind-compatibility", }; - const bound = await client.call("workItem/workflow/bind", bind); + await client.call("workItem/workflow/bind", bind); const before = await client.call("workItem/read", { workItemId: item.id }); const runWorkflow = (workflowId: string) => post(`/workflows/${workflowId}/orchestrate`, {}); const started = await runWorkflow(original.workflowId); @@ -2897,6 +2932,11 @@ test("a paused Work Item replaces its accepted Workflow after the old Run settle assert.equal(draft.bodyMarkdown, "Adopt the revised compatibility contract."); assert.ok(typeof draft.revision === "number"); assert.equal(store.getWorkItemWorkflowAdmissionBlocker(original.workflowId), undefined); + assert.ok(before.workItem.planRevision); + const scopeChange = await client.call("workItem/plan/change/request", { + workItemId: item.id, planRevision: before.workItem.planRevision, expectedWorkItemRevision: Number(before.workItem.revision), + affectedStageIds: ["P02"], reason: "Replace the accepted implementation stage", idempotencyKey: "scope-successor", + }); const taskBypass = await post(planPath(draft.id, "accept"), { expectedRevision: draft.revision }); assert.equal(taskBypass.status, 409); assert.equal((await taskBypass.json()).error, "work_item_workflow_replan_required"); @@ -2913,16 +2953,17 @@ test("a paused Work Item replaces its accepted Workflow after the old Run settle assert.equal((await unbound.json()).error, "work_item_workflow_unbound"); const superseding = await startStep(p02.id); assert.equal(superseding.status, 409); - assert.equal((await superseding.json()).error, "work_item_workflow_replan_pending"); + assert.equal((await superseding.json()).error, "work_item_plan_change_pending"); const control = (action: "pause" | "resume", expectedWorkItemRevision: number, expectedControlGeneration: number, connection = client) => connection.call(`workItem/${action}`, { workItemId: item.id, actorId: "local-user", expectedWorkItemRevision, expectedControlGeneration, idempotencyKey: `compatibility-${action}`, reason: "Accept the revised compatibility contract", }); - const held = await control("pause", Number(bound.workItem.revision), 0); + const held = await control("pause", Number(scopeChange.workItem.revision), 0); const rebind = { ...bind, planId: successor.plan.id, expectedPlanRevision: successor.plan.revision, previousWorkflowId: original.workflowId, expectedWorkItemRevision: Number(held.workItem.revision), idempotencyKey: "bind-successor", + resolvedPlanChangeIds: [scopeChange.receipt.changeId], }; await assert.rejects(client.call("workItem/workflow/bind", rebind), { code: "resume_blocked" }); finishPredecessor(); @@ -2931,6 +2972,7 @@ test("a paused Work Item replaces its accepted Workflow after the old Run settle assert.doesNotMatch(JSON.stringify(provider.requests[1]), /Superseded contract contents/u); await fixture.restart(); const restored = await fixture.connect(); + await assert.rejects(restored.call("workItem/workflow/bind", { ...rebind, resolvedPlanChangeIds: [] }), { code: "resume_blocked" }); const [boundSuccessor, replay] = await Promise.all([restored, await fixture.connect()].map(connection => connection.call("workItem/workflow/bind", rebind))); assert.ok(boundSuccessor && replay); @@ -2939,6 +2981,7 @@ test("a paused Work Item replaces its accepted Workflow after the old Run settle assert.equal(boundSuccessor.binding.previousWorkflowId, original.workflowId); assert.equal(boundSuccessor.binding.workflowId, successor.workflowId); assert.equal(boundSuccessor.workItem.control.state, "paused"); + assert.ok(!boundSuccessor.workItem.holds.some(hold => hold.id === scopeChange.receipt.changeId)); await restored.call("workItem/subscribe", { workItemId: item.id, cursor: before.cursor }); await waitFor(() => restored.notices.find(notice => notice.params?.event?.action === "work_item.workflow.linked" && notice.params.event.data?.previousWorkflowId === original.workflowId)); From e410cb56de68842ee3fb676148c0e32dcbd96f6f Mon Sep 17 00:00:00 2001 From: tianxiaochannel-oss88 Date: Mon, 23 Nov 2026 06:48:42 +0800 Subject: [PATCH 050/147] feat(work-board): accept and return workflow stage handoffs --- .../features/work-board/WorkBoardWorkflow.tsx | 81 ++++++++++++++++++- .../ling-app-server-implementation-plan.md | 2 +- .../api-client/src/endpoints/operations.ts | 7 ++ packages/contracts/src/app-server.ts | 2 + .../storage/sqlite/channel-workflow-store.ts | 2 + .../features/work-items/workflow-stages.ts | 11 +-- .../src/server/app-server-stage-handoff.ts | 75 ++++++++++++++++- packages/daemon/src/server/router.ts | 8 +- packages/daemon/src/server/routes.ts | 3 +- packages/daemon/src/server/rpc.ts | 18 +---- .../app-server-release-acceptance.test.ts | 17 +++- .../catalogs/additional-source.json | 12 +++ .../catalogs/additional-zh-CN.json | 12 +++ 13 files changed, 220 insertions(+), 30 deletions(-) diff --git a/apps/web/src/features/work-board/WorkBoardWorkflow.tsx b/apps/web/src/features/work-board/WorkBoardWorkflow.tsx index 5e59060e2..941087aef 100644 --- a/apps/web/src/features/work-board/WorkBoardWorkflow.tsx +++ b/apps/web/src/features/work-board/WorkBoardWorkflow.tsx @@ -1,5 +1,7 @@ -import type { LingAppServerWorkItemStageDecision, LingAppServerWorkItemWorkflowStages } from "@ling-stack/contracts"; -import { useEffect, useState } from "react"; +import { LING_APP_SERVER_STAGE_HANDOFF_RETURN_REASONS, type LingAppServerStageHandoffProgress, + type LingAppServerStageHandoffReturnReason, type LingAppServerWorkItemStageDecision, + type LingAppServerWorkItemWorkflowStages } from "@ling-stack/contracts"; +import { useEffect, useRef, useState } from "react"; import { daemonClient } from "../../api/client.js"; import { useI18n } from "../../i18n.js"; import { Button, InlineFeedback, InspectorSection, Skeleton, StatusIndicator } from "../../shared/ui/index.js"; @@ -16,6 +18,21 @@ const decisionStatus = { stale: "Blocked", } as const satisfies Record; +const handoffStatus = { + awaiting_source: "Waiting for source", + awaiting_acceptance: "Awaiting acceptance", + accepted: "Accepted", + returned: "Returned for repair", +} as const satisfies Record; + +const handoffReasons = { + missing_artifact: "Missing artifact", + required_check_incomplete: "Required check incomplete", + candidate_stale: "Candidate changed", + scope_unavailable: "Scope unavailable", + upstream_effect_unknown: "Upstream result unconfirmed", +} as const satisfies Record; + export function WorkBoardWorkflow({ cwd, workItemId, onOpenRun }: { readonly cwd: string; readonly workItemId: string; @@ -68,6 +85,10 @@ export function WorkBoardWorkflow({ cwd, workItemId, onOpenRun }: {
      {step.participantLabel}
      {step.brief ?

      {step.brief}

      : null} {step.decision ? : null} + {step.handoffs?.map(handoff => setRevision(value => value + 1)} />)} {step.runId ? : null} ; })} @@ -79,6 +100,62 @@ export function WorkBoardWorkflow({ cwd, workItemId, onOpenRun }: { ; } +function StageHandoff({ cwd, workItemId, workflow, step, handoff, onRefresh }: { + readonly cwd: string; + readonly workItemId: string; + readonly workflow: LingAppServerWorkItemWorkflowStages; + readonly step: LingAppServerWorkItemWorkflowStages["steps"][number]; + readonly handoff: LingAppServerStageHandoffProgress; + readonly onRefresh: () => void; +}): React.JSX.Element { + const { t } = useI18n(); + const [reason, setReason] = useState(""); + const [busy, setBusy] = useState(false); + const [error, setError] = useState(false); + const lastRequest = useRef<{ fingerprint: string; key: string }>(undefined); + const canDecide = handoff.status === "awaiting_acceptance" && step.status === "queued" && !workflow.admissionBlocker + && step.admissionBlocker !== "work_item_plan_change_pending" && workflow.workItemRevision !== undefined; + + async function settle(action: "accepted" | "returned"): Promise { + if (busy || !canDecide || workflow.workItemRevision === undefined || action === "returned" && !reason) return; + const decisionReason = action === "returned" && reason ? reason : undefined; + const fingerprint = JSON.stringify([action, decisionReason, workflow.workItemRevision, step.updatedAt]); + const key = lastRequest.current?.fingerprint === fingerprint ? lastRequest.current.key : crypto.randomUUID(); + lastRequest.current = { fingerprint, key }; + setBusy(true); + setError(false); + try { + await daemonClient.settleWorkItemStageHandoff(cwd, workItemId, action, { + planRevision: workflow.planRevision, sourceStepId: handoff.sourceStepId, targetStepId: step.stepId, + expectedSourceRevision: handoff.sourceRevision, expectedTargetRevision: step.updatedAt, + expectedWorkItemRevision: workflow.workItemRevision, idempotencyKey: key, reason: decisionReason, + }); + } catch { + setError(true); + } finally { + setBusy(false); + onRefresh(); + } + } + + return
      + {t("Handoff")}{handoff.sourceStageId ? {handoff.sourceStageId} : null} + {" "} + {handoff.reason ?

      {t(handoffReasons[handoff.reason])}

      : null} + {canDecide ?
      + + + +
      : null} + {error ? : null} +
      ; +} + function StageDecision({ decision }: { readonly decision: LingAppServerWorkItemStageDecision }): React.JSX.Element { const { t } = useI18n(); const status = decision.ballot?.tied && decision.status === "ready" ? "Tied vote" : decisionStatus[decision.status]; diff --git a/docs/design/ling-app-server-implementation-plan.md b/docs/design/ling-app-server-implementation-plan.md index 26bfaf13f..9832f3884 100644 --- a/docs/design/ling-app-server-implementation-plan.md +++ b/docs/design/ling-app-server-implementation-plan.md @@ -35,7 +35,7 @@ - Work Board 与 App Server 使用同一套阶段、简报、阻塞和运行证据投影。阶段简报的来源是已提交的步骤状态迁移。看板支持分页与重试,并随 `work_items` 事件刷新。 - 声明了裁决条件的步骤等待该 Work Item、已接受 Plan 和步骤的裁决回执。计划可指定独立的投票阶段与法定人数,也可在前置阶段完成时自动开启审议。Workflow 按原阶段负责人执行投票,各投票 Run 的工具列表为空。Host 在投票阶段全部结束后从终态 Run 核对选项和身份。协调者可以在裁决前查看票数和是否平票,裁决收据保留统计结果。回归覆盖等待票数、平票后的人工裁决、重启和派发一次。独立 QA 仍按自己的前置条件执行。 - 浏览器连接真实 Daemon 时,Work Board 在 P02 上显示工程与 QA 的平票。裁决后通过现有 Control Plane 推送刷新同一详情,呈现选项、裁决依据和执行结果。 -- 计划可用 `handoffFromStageIds` 要求接收方先验收上游 Workflow 的结果包。App Server、SDK 和 MCP 可按当前计划、两个阶段版本及 Work Item revision 接受或退回。协调者接受后,原 Workflow 才放行该步骤。并发提交与重启使用同一交接回执。Git 候选漂移与接手人不可用仍需联合验收。 +- 计划可用 `handoffFromStageIds` 要求接收方先验收上游 Workflow 的结果包。工作看板、App Server、SDK 和 MCP 按当前计划、两个阶段版本及 Work Item revision 接受或退回。协调者接受后,原 Workflow 才放行该步骤。并发 HTTP/RPC 提交与重启复用同一交接回执。Chromium 通过真实 Daemon 接受 QA 交接并退回另一条评审交接,原 Workflow 启动一次 QA,退回的评审保持等待。Git 候选漂移与接手人不可用仍需联合验收。 - `workItem/plan/change/request` 按已接受的阶段依赖生成准入暂停范围,`workItem/plan/change/withdraw` 可释放这一项暂停。暂停、回执和事件一起提交。联合回归覆盖 P01 改动暂停下游阶段,P02 改动期间 QA 可完成交接,重启后恢复原暂停,以及后继 Workflow 绑定时按确认的变更 ID 解除暂停。 - `workItem/create` 可按原生 ID 显式挂接现有频道 Task 或 AutomationRun。Host 从原执行记录确认归属和状态。并发提交及重启仍读取同一条 Work Item;原执行所有者持有开始、取消和恢复权限。验收中先运行一次 Automation,再从两个客户端挂接同一执行,Provider 总调用数为一次。 - 完成的工作项可用 `workItem/feedback/add` 提交经验审查。Daemon 核对当前 Work Item 和成功 Run 的归属,从 Run 采集有限证据,复用 Learning Review 的 Provider 预算和审查入口。受控验收从 P02 的实际读取证据生成 Memory 候选,重启后按原键找回同一任务。 diff --git a/packages/api-client/src/endpoints/operations.ts b/packages/api-client/src/endpoints/operations.ts index 9b6787995..703f584d8 100644 --- a/packages/api-client/src/endpoints/operations.ts +++ b/packages/api-client/src/endpoints/operations.ts @@ -1,4 +1,6 @@ import type { + LingAppServerStageHandoffParams, + LingAppServerWorkItemCollaborationAppendResult, ListResourceLeasesRequest, ListStateTransitionsRequest, PreviewContentResponse, @@ -124,6 +126,11 @@ export const operationEndpoints = { return this._get(`/work-items/${encodeURIComponent(workItemId)}`, { cwd, stageOffset }); }, + async settleWorkItemStageHandoff(this: LingDaemonEndpointContext, cwd: string, workItemId: string, + action: "accepted" | "returned", input: Omit): Promise { + return this._post(`/work-items/${encodeURIComponent(workItemId)}/handoff`, { cwd }, { ...input, action }); + }, + async routeWorkItem(this: LingDaemonEndpointContext, cwd: string, workItemId: string, input: WorkItemRouteRequest): Promise { return this._post(`/work-items/${encodeURIComponent(workItemId)}/route`, { cwd }, input); }, diff --git a/packages/contracts/src/app-server.ts b/packages/contracts/src/app-server.ts index 2e932d5f2..c6e591d89 100644 --- a/packages/contracts/src/app-server.ts +++ b/packages/contracts/src/app-server.ts @@ -736,6 +736,7 @@ export interface LingAppServerPlanWorkflowAcceptParams { export interface LingAppServerWorkItemWorkflowStages { readonly workflowId: string; readonly planRevision: string; + readonly workItemRevision?: number; readonly status: import("./workflows.js").ChannelWorkflowStatus; readonly admissionBlocker?: string; readonly nextOffset?: number; @@ -910,6 +911,7 @@ export interface LingAppServerStageHandoffParams { export interface LingAppServerStageHandoffProgress { readonly sourceStepId: string; + readonly sourceStageId?: string; readonly sourceRevision: string; readonly status: "awaiting_source" | "awaiting_acceptance" | "accepted" | "returned"; readonly receiptId?: string; diff --git a/packages/core/src/storage/sqlite/channel-workflow-store.ts b/packages/core/src/storage/sqlite/channel-workflow-store.ts index db77061bc..6d592448b 100644 --- a/packages/core/src/storage/sqlite/channel-workflow-store.ts +++ b/packages/core/src/storage/sqlite/channel-workflow-store.ts @@ -1475,6 +1475,8 @@ export class SqliteChannelWorkflowStore { planStageId: existing.metadata.planStageId, dependsOnStepIds: existing.metadata.dependsOnStepIds, requiredPlanDecision: existing.metadata.requiredPlanDecision, + planBallotKey: existing.metadata.planBallotKey, + requiredPlanHandoffStepIds: existing.metadata.requiredPlanHandoffStepIds, requiredTools: existing.metadata.requiredTools, } : undefined; const next: ChannelWorkflowStep = { diff --git a/packages/daemon/src/features/work-items/workflow-stages.ts b/packages/daemon/src/features/work-items/workflow-stages.ts index 49ad518d8..c3c56b0f9 100644 --- a/packages/daemon/src/features/work-items/workflow-stages.ts +++ b/packages/daemon/src/features/work-items/workflow-stages.ts @@ -36,6 +36,7 @@ export function readWorkItemWorkflowStages(store: RunStore, item: WorkItem, incl return { workflowId: workflow.id, planRevision: item.planRevision, + workItemRevision: item.revision, status: workflow.status, admissionBlocker, ...(steps.length > limit ? { nextOffset: offset + limit } : {}), @@ -61,16 +62,16 @@ function readStageHandoffs( return step.metadata?.requiredPlanHandoffStepIds?.flatMap((sourceStepId): LingAppServerStageHandoffProgress[] => { const source = store.getChannelWorkflowStep(sourceStepId); if (!source || source.workflowId !== step.workflowId) return []; - const sourceRevision = source.updatedAt; - const subject = { workItemId, planRevision, sourceStepId, sourceRevision, targetStepId: step.id }; + const basis = { sourceStepId, sourceRevision: source.updatedAt, sourceStageId: source.metadata?.planStageId }; + const subject = { workItemId, planRevision, ...basis, targetStepId: step.id }; const handoff = readWorkflowStageHandoff(store, subject); if (handoff?.record.action === "returned") return [{ - sourceStepId, sourceRevision, status: "returned", receiptId: handoff.record.id, reason: handoff.decision.reason, + ...basis, status: "returned", receiptId: handoff.record.id, reason: handoff.decision.reason, }]; if (handoff && stageHandoffAdmitsTarget(store, subject, source, step)) return [{ - sourceStepId, sourceRevision, status: "accepted", receiptId: handoff.record.id, + ...basis, status: "accepted", receiptId: handoff.record.id, }]; - return [{ sourceStepId, sourceRevision, status: source.status === "succeeded" ? "awaiting_acceptance" : "awaiting_source" }]; + return [{ ...basis, status: source.status === "succeeded" ? "awaiting_acceptance" : "awaiting_source" }]; }); } diff --git a/packages/daemon/src/server/app-server-stage-handoff.ts b/packages/daemon/src/server/app-server-stage-handoff.ts index 79cd57982..0641c3402 100644 --- a/packages/daemon/src/server/app-server-stage-handoff.ts +++ b/packages/daemon/src/server/app-server-stage-handoff.ts @@ -1,11 +1,84 @@ -import type { LingAppServerStageHandoffParams } from "@ling-stack/contracts"; +import type { IncomingMessage, ServerResponse } from "node:http"; +import { LING_APP_SERVER_STAGE_HANDOFF_RETURN_REASONS, type LingAppServerStageHandoffParams, + type LingAppServerStageHandoffReturnReason } from "@ling-stack/contracts"; import { appendWorkItemCollaboration, readWorkflowStageHandoff, workflowStageHandoffId, type RunStore, type WorkflowStageHandoffDecision, } from "@ling-stack/core"; +import type { DaemonContext } from "../context.js"; import { HttpError } from "../errors.js"; import { readWorkflowStepOutputPacketArtifact } from "../features/channels/workflow-step-packets.js"; +import { allowLocalWorkspaceRequest } from "../shared/local-workspace-access.js"; +import { readJsonBody } from "../shared/request.js"; +import { writeJson } from "../shared/response.js"; +import { isRecord } from "../shared/validation.js"; import { AppServerCollaborationError } from "./app-server-collaboration.js"; +import { appServerRecoveryFor } from "./app-server-recovery.js"; + +export function readStageHandoffParams(record: Record, action: "accepted" | "returned"): LingAppServerStageHandoffParams { + const invalid = () => new HttpError(400, "invalid_params", "Supply the current handoff revisions, decision and a bounded request key."); + const required = (field: string, limit = 256): string => { + const value = record[field]; + if (typeof value !== "string" || !value.trim() || value.length > limit || /[\r\n\0]/u.test(value)) throw invalid(); + return value; + }; + const reason = record.reason as LingAppServerStageHandoffReturnReason | undefined; + const detail = record.detail; + const revision = record.expectedWorkItemRevision; + if (action === "returned" && (!reason || !LING_APP_SERVER_STAGE_HANDOFF_RETURN_REASONS.includes(reason)) + || action === "accepted" && reason !== undefined || detail !== undefined && (typeof detail !== "string" || detail.length > 1200) + || typeof revision !== "number" || !Number.isSafeInteger(revision) || revision < 1) throw invalid(); + return { + workItemId: required("workItemId"), planRevision: required("planRevision"), + sourceStepId: required("sourceStepId"), targetStepId: required("targetStepId"), + expectedSourceRevision: required("expectedSourceRevision"), expectedTargetRevision: required("expectedTargetRevision"), + idempotencyKey: required("idempotencyKey", 200), expectedWorkItemRevision: revision, reason, detail: detail?.trim(), + }; +} + +export async function handleWorkItemStageHandoff( + request: IncomingMessage, response: ServerResponse, url: URL, context: DaemonContext, workItemId: string, +): Promise { + if (request.method !== "POST") { + writeJson(response, 405, { error: "method_not_allowed" }); + return; + } + const cwd = url.searchParams.get("cwd")?.trim(); + if (!cwd) { + writeJson(response, 400, { error: "cwd_required" }); + return; + } + if (!allowLocalWorkspaceRequest({ request, response, storeRegistry: context.storeRegistry, cwd })) return; + const store = context.storeRegistry.getInitializedStore(cwd); + if (!store) { + writeJson(response, 404, { error: "workspace_not_loaded" }); + return; + } + try { + if (context.activeRuns.isShuttingDown()) throw new HttpError(503, "server_draining", "The daemon is shutting down."); + const body = await readJsonBody(request, 16 * 1024); + if (!isRecord(body) || body.action !== "accepted" && body.action !== "returned") { + throw new HttpError(400, "invalid_params", "Accept or return the stage handoff."); + } + const input = readStageHandoffParams({ ...body, workItemId }, body.action); + if (body.action === "accepted") appServerRecoveryFor(context.config, store)?.assertReady(); + const { event, ...result } = settleAppServerStageHandoff(store, input, body.action, new Date().toISOString()); + if (event) { + context.controlPlaneEvents.publish(event); + if (body.action === "accepted") context.taskSupervisor.poke(store.paths.cwd); + } + writeJson(response, 200, result); + } catch (error) { + if (error instanceof HttpError) { + writeJson(response, error.statusCode, { error: error.code, message: error.message }); + } else if (error instanceof AppServerCollaborationError) { + const status = error.code === "work_item_not_found" ? 404 : error.code === "invalid_params" ? 400 : 409; + writeJson(response, status, { error: error.code, message: error.message }); + } else { + throw error; + } + } +} export function settleAppServerStageHandoff( store: RunStore, input: LingAppServerStageHandoffParams, action: "accepted" | "returned", now: string, diff --git a/packages/daemon/src/server/router.ts b/packages/daemon/src/server/router.ts index 9c4e834b9..80fccee3c 100644 --- a/packages/daemon/src/server/router.ts +++ b/packages/daemon/src/server/router.ts @@ -280,6 +280,7 @@ import { createWorkflowParallelCapabilityResolver } from "../features/runs/workf import { handleGetWorkspaceChanges } from "../features/previews/workspace-changes.js"; import { handleCodeAssessmentRoutes } from "../features/code-assessments/routes.js"; import { handleWorkspaceVerificationRoute } from "./workspace-verification-routes.js"; +import { handleWorkItemStageHandoff } from "./app-server-stage-handoff.js"; import { handleWorkspaceGitHubIntake } from "./workspace-github-intake-routes.js"; import { publishWorkItemWorkflowStep } from "../features/work-items/workflow-stages.js"; import { @@ -1302,13 +1303,18 @@ export async function routeRequest( const workItemRoute = parseWorkItemRoute(url.pathname); if (workItemRoute) { + const action = "action" in workItemRoute ? workItemRoute.action : undefined; + if (action === "handoff") { + await handleWorkItemStageHandoff(request, response, url, context, workItemRoute.workItemId); + return; + } await handleWorkItemRoute( request, response, config, storeRegistry, workItemRoute.workItemId, - "action" in workItemRoute ? workItemRoute.action : undefined, + action, ); return; } diff --git a/packages/daemon/src/server/routes.ts b/packages/daemon/src/server/routes.ts index fd88e0974..0ed0c44b6 100644 --- a/packages/daemon/src/server/routes.ts +++ b/packages/daemon/src/server/routes.ts @@ -386,7 +386,7 @@ export type WorkUnitRoute = export type WorkItemRoute = | { readonly workItemId: string } - | { readonly workItemId: string; readonly action: "route" | "claim" | "heartbeat" | "release" | "complete" | "fail" }; + | { readonly workItemId: string; readonly action: "route" | "claim" | "heartbeat" | "release" | "complete" | "fail" | "handoff" }; export function parseWorkUnitRoute(pathname: string): WorkUnitRoute | undefined { const segments = pathname.split("/").filter(Boolean).map(decodeURIComponent); @@ -415,6 +415,7 @@ export function parseWorkItemRoute(pathname: string): WorkItemRoute | undefined segments[2] === "heartbeat" || segments[2] === "release" || segments[2] === "complete" || + segments[2] === "handoff" || segments[2] === "fail" ) ) { diff --git a/packages/daemon/src/server/rpc.ts b/packages/daemon/src/server/rpc.ts index af75856c7..e28d2b403 100644 --- a/packages/daemon/src/server/rpc.ts +++ b/packages/daemon/src/server/rpc.ts @@ -27,7 +27,6 @@ import { LING_APP_SERVER_METHODS, LING_APP_SERVER_NOTIFICATION_METHODS, LING_APP_SERVER_PROTOCOL_VERSION, - LING_APP_SERVER_STAGE_HANDOFF_RETURN_REASONS, LING_PRODUCT_VERSION, isLingAppServerMethod, parseUserInputAnswerCommandV1, @@ -40,7 +39,6 @@ import { type LingAppServerGrant, type LingAppServerGitHubDeliveryResult, type LingAppServerJsonRpcId, - type LingAppServerStageHandoffReturnReason, type LingAppServerThreadEventsResult, type LingAppServerThreadSnapshotResult, type LingAppServerTurnResumeResult, @@ -138,7 +136,7 @@ import { settleAppServerDeliberation, startAppServerStageDeliberation, } from "./app-server-collaboration.js"; -import { settleAppServerStageHandoff } from "./app-server-stage-handoff.js"; +import { readStageHandoffParams, settleAppServerStageHandoff } from "./app-server-stage-handoff.js"; type JsonRpcId = string | number | null; @@ -1428,21 +1426,9 @@ class RpcConnection { const raw = readParamsRecord(params); if (raw.sourceStepId === undefined && raw.targetStepId === undefined) return this.appendCollaboration("handoff", action, params); const { cwd, ...record } = this.workspaceParams(params, true); - const reason = readOptionalStringField(record, "reason") as LingAppServerStageHandoffReturnReason | undefined; - const detail = readOptionalStringField(record, "detail")?.trim(); - const idempotencyKey = readStringField(record, "idempotencyKey"); - if (action === "returned" && (!reason || !LING_APP_SERVER_STAGE_HANDOFF_RETURN_REASONS.includes(reason)) - || action === "accepted" && reason !== undefined || (detail?.length ?? 0) > 1200 || !idempotencyKey.trim() || idempotencyKey.length > 200) { - throw rpcError(-32602, "invalid_params", "Supply a supported handoff return reason and a bounded request key."); - } try { const store = this.context.storeRegistry.getStore(cwd); - const { event, ...result } = settleAppServerStageHandoff(store, { - workItemId: readStringField(record, "workItemId"), planRevision: readStringField(record, "planRevision"), - sourceStepId: readStringField(record, "sourceStepId"), targetStepId: readStringField(record, "targetStepId"), - expectedSourceRevision: readStringField(record, "expectedSourceRevision"), expectedTargetRevision: readStringField(record, "expectedTargetRevision"), - expectedWorkItemRevision: readIntegerField(record, "expectedWorkItemRevision", "expectedWorkItemRevision"), idempotencyKey, reason, detail, - }, action, new Date().toISOString()); + const { event, ...result } = settleAppServerStageHandoff(store, readStageHandoffParams(record, action), action, new Date().toISOString()); if (event) { this.context.controlPlaneEvents.publish(trimOversizedEvent(event)); if (action === "accepted") this.context.taskSupervisor.poke(cwd); diff --git a/packages/daemon/test/app-server-release-acceptance.test.ts b/packages/daemon/test/app-server-release-acceptance.test.ts index b15f1e136..0f674d0e8 100644 --- a/packages/daemon/test/app-server-release-acceptance.test.ts +++ b/packages/daemon/test/app-server-release-acceptance.test.ts @@ -2751,9 +2751,20 @@ test("a GitHub Work Item recovers its Workflow, gathers independent ballots and assert.deepEqual(implementationHold.receipt.affectedStepIds, [p02.id]); const handoff = { ...offeredHandoff, expectedSourceRevision: revisedSource.updatedAt, expectedWorkItemRevision: Number(implementationHold.workItem.revision), idempotencyKey: "qa-accept-repaired-contract" }; - const handoffPeer = await fixture.connect(); - const [acceptedHandoff, repeatedHandoff] = await Promise.all([resumedClient, handoffPeer].map(connection => - connection.call("workItem/handoff/accept", handoff))); + const handoffPath = `${itemPath}/handoff`; + const { daemonUrl, authToken } = fixture.transportOptions(); + const forbiddenHandoff = await fetch(new URL(`${handoffPath}?cwd=${encodeURIComponent(fixture.cwd)}`, daemonUrl), { + method: "POST", headers: { Origin: "https://other.example", Authorization: `Bearer ${authToken}`, + "Content-Type": "application/json" }, body: JSON.stringify({ ...handoff, action: "accepted" }), + }); + assert.equal(forbiddenHandoff.status, 403); + const [acceptedHandoff, repeatedHandoff] = await Promise.all([ + resumedClient.call("workItem/handoff/accept", handoff), + request(handoffPath, { ...handoff, action: "accepted" }).then(async reply => { + assert.ok(reply.ok, await reply.clone().text()); + return await reply.json() as LingAppServerWorkItemCollaborationAppendResult; + }), + ]); assert.deepEqual(new Set([acceptedHandoff.status, repeatedHandoff.status]), new Set(["appended", "replayed"])); assert.equal(acceptedHandoff.record.id, repeatedHandoff.record.id); assert.ok(acceptedHandoff.record.sourceRefs.some(source => source.id === revisedArtifact.id)); diff --git a/packages/localization/catalogs/additional-source.json b/packages/localization/catalogs/additional-source.json index 587776263..dab34c00a 100644 --- a/packages/localization/catalogs/additional-source.json +++ b/packages/localization/catalogs/additional-source.json @@ -1,4 +1,16 @@ { + "Accept handoff": "Accept handoff", + "Awaiting acceptance": "Awaiting acceptance", + "Candidate changed": "Candidate changed", + "Could not update handoff": "Could not update handoff", + "Missing artifact": "Missing artifact", + "Required check incomplete": "Required check incomplete", + "Return handoff": "Return handoff", + "Return reason": "Return reason", + "Returned for repair": "Returned for repair", + "Scope unavailable": "Scope unavailable", + "Upstream result unconfirmed": "Upstream result unconfirmed", + "Waiting for source": "Waiting for source", "daemon.channel.workflow_start.blocked_state": "Blocked: {reason}", "daemon.channel.workflow_start.checking": "Checking status", "daemon.channel.workflow_start.completed": "Workflow: Completed", diff --git a/packages/localization/catalogs/additional-zh-CN.json b/packages/localization/catalogs/additional-zh-CN.json index ff6dd174b..bbf4f2c50 100644 --- a/packages/localization/catalogs/additional-zh-CN.json +++ b/packages/localization/catalogs/additional-zh-CN.json @@ -1,4 +1,16 @@ { + "Accept handoff": "接受交接", + "Awaiting acceptance": "等待接收方验收", + "Candidate changed": "候选改动已变化", + "Could not update handoff": "交接更新失败", + "Missing artifact": "缺少交付产物", + "Required check incomplete": "必需检查未完成", + "Return handoff": "退回交接", + "Return reason": "退回原因", + "Returned for repair": "已退回补充", + "Scope unavailable": "工作范围不可用", + "Upstream result unconfirmed": "上游结果待确认", + "Waiting for source": "等待上游交付", "daemon.channel.workflow_start.blocked_state": "已阻塞:{reason}", "daemon.channel.workflow_start.checking": "正在检查状态", "daemon.channel.workflow_start.completed": "工作流: 已完成", From 00d14b36e381185c710baab8207d1b85f8f53ae5 Mon Sep 17 00:00:00 2001 From: "ling-stack-model-catalog[bot]" <345092909+ling-stack-model-catalog[bot]@users.noreply.github.com> Date: Sun, 22 Nov 2026 22:50:59 +0000 Subject: [PATCH 051/147] chore: translate catalogs for new source strings --- packages/localization/catalogs/bg-BG.json | 26 +++++++++++++++++++++- packages/localization/catalogs/bn-BD.json | 26 +++++++++++++++++++++- packages/localization/catalogs/bs-BA.json | 26 +++++++++++++++++++++- packages/localization/catalogs/ca-ES.json | 26 +++++++++++++++++++++- packages/localization/catalogs/cs-CZ.json | 26 +++++++++++++++++++++- packages/localization/catalogs/da-DK.json | 26 +++++++++++++++++++++- packages/localization/catalogs/de-DE.json | 26 +++++++++++++++++++++- packages/localization/catalogs/el-GR.json | 26 +++++++++++++++++++++- packages/localization/catalogs/en-US.json | 26 +++++++++++++++++++++- packages/localization/catalogs/es-419.json | 26 +++++++++++++++++++++- packages/localization/catalogs/es-ES.json | 26 +++++++++++++++++++++- packages/localization/catalogs/et-EE.json | 26 +++++++++++++++++++++- packages/localization/catalogs/fi-FI.json | 26 +++++++++++++++++++++- packages/localization/catalogs/fr-CA.json | 26 +++++++++++++++++++++- packages/localization/catalogs/fr-FR.json | 26 +++++++++++++++++++++- packages/localization/catalogs/gu-IN.json | 26 +++++++++++++++++++++- packages/localization/catalogs/hi-IN.json | 26 +++++++++++++++++++++- packages/localization/catalogs/hr-HR.json | 26 +++++++++++++++++++++- packages/localization/catalogs/hu-HU.json | 26 +++++++++++++++++++++- packages/localization/catalogs/hy-AM.json | 26 +++++++++++++++++++++- packages/localization/catalogs/id-ID.json | 26 +++++++++++++++++++++- packages/localization/catalogs/is-IS.json | 26 +++++++++++++++++++++- packages/localization/catalogs/it-IT.json | 26 +++++++++++++++++++++- packages/localization/catalogs/ja-JP.json | 26 +++++++++++++++++++++- packages/localization/catalogs/ka-GE.json | 26 +++++++++++++++++++++- packages/localization/catalogs/kn-IN.json | 26 +++++++++++++++++++++- packages/localization/catalogs/ko-KR.json | 26 +++++++++++++++++++++- packages/localization/catalogs/lv-LV.json | 26 +++++++++++++++++++++- packages/localization/catalogs/mk-MK.json | 26 +++++++++++++++++++++- packages/localization/catalogs/mr-IN.json | 26 +++++++++++++++++++++- packages/localization/catalogs/ms-MY.json | 26 +++++++++++++++++++++- packages/localization/catalogs/my-MM.json | 26 +++++++++++++++++++++- packages/localization/catalogs/nb-NO.json | 26 +++++++++++++++++++++- packages/localization/catalogs/nl-NL.json | 26 +++++++++++++++++++++- packages/localization/catalogs/pl-PL.json | 26 +++++++++++++++++++++- packages/localization/catalogs/pt-BR.json | 26 +++++++++++++++++++++- packages/localization/catalogs/pt-PT.json | 26 +++++++++++++++++++++- packages/localization/catalogs/ro-RO.json | 26 +++++++++++++++++++++- packages/localization/catalogs/ru-RU.json | 26 +++++++++++++++++++++- packages/localization/catalogs/sk-SK.json | 26 +++++++++++++++++++++- packages/localization/catalogs/sl-SI.json | 26 +++++++++++++++++++++- packages/localization/catalogs/so-SO.json | 26 +++++++++++++++++++++- packages/localization/catalogs/sq-AL.json | 26 +++++++++++++++++++++- packages/localization/catalogs/sr-RS.json | 26 +++++++++++++++++++++- packages/localization/catalogs/sv-SE.json | 26 +++++++++++++++++++++- packages/localization/catalogs/sw-TZ.json | 26 +++++++++++++++++++++- packages/localization/catalogs/ta-IN.json | 26 +++++++++++++++++++++- packages/localization/catalogs/te-IN.json | 26 +++++++++++++++++++++- packages/localization/catalogs/th-TH.json | 26 +++++++++++++++++++++- packages/localization/catalogs/tr-TR.json | 26 +++++++++++++++++++++- packages/localization/catalogs/uk-UA.json | 26 +++++++++++++++++++++- packages/localization/catalogs/vi-VN.json | 26 +++++++++++++++++++++- packages/localization/catalogs/zh-CN.json | 26 +++++++++++++++++++++- packages/localization/catalogs/zh-HK.json | 26 +++++++++++++++++++++- packages/localization/catalogs/zh-TW.json | 26 +++++++++++++++++++++- 55 files changed, 1375 insertions(+), 55 deletions(-) diff --git a/packages/localization/catalogs/bg-BG.json b/packages/localization/catalogs/bg-BG.json index a1d4059eb..c8639e398 100644 --- a/packages/localization/catalogs/bg-BG.json +++ b/packages/localization/catalogs/bg-BG.json @@ -1,6 +1,6 @@ { "locale": "bg-BG", - "sourceRevision": "e134cc889637523423524b121cf71dcb37afdd3d7daf48eaea975d1c39785b2e", + "sourceRevision": "95b7d5d6546abac9c1f3ec3e54efe7bff99c84252c464896ecb9bf2245f66dfd", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -343,6 +343,7 @@ "A skill with the same identity already exists.": "66dd592d63333b2f2738e59f82a3866d9a6db17154a2cc2a752727f9a40998d1", "Abstain": "bf92ab42d052ce917d87cccce310e4351900347095f57947b3d08c1b1ff8bcf3", "Accept": "89713b9c9c1b8f659c9f49db25e4a47886dd673fee248c3f650391f09a759cef", + "Accept handoff": "13e3dc2abccf1296c34099b2080efb8c78ad82067436ff2039024f22ed8cc2e9", "Acceptance": "f190a5cb3aff17b0ee84f6ee258333d63a9cc71aa66c2e1788ebc3ae24a89b10", "Acceptance checks will be clarified before execution.": "ffd59db22fb4d3abb3c9cc67c351c818e1732dfca2d6cd18ae361a711fa4bb72", "Acceptance criteria": "d47a36f4f055810755db08b8d52e479baa4bb7a7a1f6449f71fa1ad5c20495ef", @@ -894,6 +895,7 @@ "Avatar uploaded": "d0d5a01f3f30fd933994a5950ddae3d14384d2c850c05deb50532b65aa6593ba", "Avatar, name, and a compact working brief.": "8d3706d4928090efbf7eca6683e3357f4f92732bc8be64c50dc8af8620a256c1", "Avoid triggers": "1419db0b6ddbd1f3a1632043da73529ecbcb0aef9183fd7d78e12df2942444de", + "Awaiting acceptance": "1dc7bfd9c54d73f22b4a9bdca5f741d5067a673b7f99d77e85367f6c8f049f85", "Awaiting confirmation": "d0ae0b38eac639b98f6a9b793a7add708bedbc6156963e3abc00453b235b2f3d", "Awaiting enable": "2a6b618d273346e8198806aa0d934a4bd6f5bf8b29d0780076df974ca93bf548", "Awaiting merge approval": "21837cdd561270cefc146079172511177736bb9091e9fb50d93bb072f271ecb0", @@ -1083,6 +1085,7 @@ "cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Candidate approved for draft": "59a57b9b459b3215e76b651f73f6521bc1bd71fa66bb52e046368a559db6632b", + "Candidate changed": "ca07c050cd47ab4f4d2f2fb6c60110b738af5b951a9ab708c36879365ec4532e", "Candidate changed since verification": "a2808e03661077a04403dab2204b7ce8d78310c296600bd03c5766a754f216a6", "Candidate cluster is not bound to a channel.": "6066a4e8725d065a7c2b8d2c8974a60c41c0a94124deeabd972f620ddd815786", "Candidate Clusters": "b617f8ce5325fa8984c324816b08d3a26c05dac3c3276bcc4f4ab7196222dbe4", @@ -1820,6 +1823,7 @@ "Could not start this scene.": "acb6aa181a8b842f1a8fc78344dc210cb98a45ccb6cf38ebd01beb65fe7fa27d", "Could not start this workflow test.": "7fe6f22a12127a9d74069d195a2513038cb2ff035acc4433d41e31006445e46e", "Could not switch projects. Showing the last loaded project.": "1a284203a5fd7f9d39c625017fde0d1c88180e3d2fa62b07aa7c9eb64a2e8aa6", + "Could not update handoff": "b6b7ff312171612e082d24ec92c854155d95fa6177a25cb0ac10f44e2c6110e2", "Could not update the default model. Try again.": "c87a00ab8ffb8c8c60209acf9b5cb10295a2a5e93c3e6f72dd8b2b4c316bdc16", "Council actions": "79763aae8f6334c6e29273106f3509b76114439dd686c9fa32753bca265eee32", "Council boundaries": "b4d6713050d140a9102817793dcb99d64565ee0d33d364b71f5d4d2afd234baf", @@ -3820,6 +3824,7 @@ "minutes": "90e63d85fa1ab2c8ed65222f3ebd794b1e524b4b7cf84bec451542d0451b2985", "missing": "ffa63583dfa6706b87d284b86b0d693a161e4840aad2c5cf6b5d27c3b9621f7d", "Missing": "6be36ca49ee85210c5d1ad9c377d90a9859c66d889110a2a5b0dccd390d12e20", + "Missing artifact": "e936c2df4de783be206107e353054e33ebba1c9988085200c260c7a6b8f8fc73", "Missing dependency": "5915d1e15e283f09695ad4b96ced9625bbd68aab747dc778f37aada0a7489b5c", "Missing fields": "69121d3f63d5a27ab7ce484854c065ce87e7022dc5fdfee9d778ab02515542fc", "Missing key": "0c8a17a63a322df1c40693b8469227cf5426b024673da9065f42c6cbb7c58370", @@ -5401,6 +5406,7 @@ "Requested URL": "8ae37b38fe2e415c8c641c3f2b6e9b42a11245cc8749a51a247cf0464b4c7faf", "Required": "4850b174b713d88cfc63de107830d5388929020e78abc91fc19bba7a6821625f", "Required before approving high-risk requests": "3cb612a5f43f4acbf5a6066a5da559bce858b50cdab2c2f6943bf4a05de1310a", + "Required check incomplete": "f64e6dfd1fc8cd1f2139aadf61c6ef43ecaa2ce783b2c712a56d31a574e05741", "Required checks": "f5a021846bd1a50002c0ea940f30cc97c285a118c62ff95af5c2f538584a7e26", "Required for assigned teammates": "4732aa544a8d93b886e6bcbbcc5c3314af692f8a8a812efd4844cd3589b7b63a", "Required input": "fafaaf99b5a6af521026448890a9dacaf4d47053804a34be7cdf364e13637181", @@ -5524,8 +5530,11 @@ "Retry upload": "731dc6e3f07ab1b090e925be766dd01d8e4aed2f0ad2cef600bf157bd7764500", "Retryable": "c282bd362abaadb6a38a4fdb268df44325f8bfde40f719b77fdd690180c51889", "Retrying automatically...": "220837f6132382f3e8d4fb676f31aab3dc9fabc34b8f26c2e4ced9b83ebce4ec", + "Return handoff": "1ae47e9a67b5866c28ccd52c2040500610b795d917cc6620a444c170ded79836", + "Return reason": "79f91549d760515b430db20e8f2f0c766e417826dfea15029dca20f6eb9865ac", "Return to an unlocked interactive Windows desktop, restart Ling if needed, then check again.": "bccd46e406f4d428d83a9dd510df581b52e5c28c51da4d357e3e66c21740ee0e", "Return to implementation mode": "36435baabf6c6acc0666fba73f68609f9a41d17389ea216a99f41b5036e8b6ef", + "Returned for repair": "07abb2b9ba19b479a5126883271bb99fa47e239dffb3337fb13bbe2778654158", "Reusable": "8ded2b384940a83eb986da575b9efa40f1b03fd1d626bd91964cbb11502e0b42", "Reuse images already saved in this media project.": "3c3dd902fab18f841a51942e3a4e92a93c8d39ddd8b48ae9ee017982a26fa1c1", "Reuse settings": "17507cf7d05b478d392e9aa85d9c60046c0e2a185959546ac0864a89b95ec744", @@ -5916,6 +5925,7 @@ "Schema, checksums, and package metadata": "d91ffc3c0cdd2c26d37ba9cf60de0a718343a3969303718321092f0367a68808", "Scope": "b073f6c68ef8721107fd9815b19b2c35ec111d526b75c2123d1111ba64424000", "Scope ID": "4a201ef6cbd70a0728fc5c62eb87fd73ac56e470c853a3112ebf27617e49ff76", + "Scope unavailable": "38a32037c55100c3ad97878ca4e361a734a3422fb35bdbaeacebf4babb16cdf3", "Screen capture and input stop. Ling never interacts with the lock screen, login window, password fields, or secure desktop.": "cece9f092190c9e9e4c9d54f7da59256e922a56556c843c4e2b44fb1a67b0c5f", "Screen Recording": "bc3c742893dc7aff9c88fad0aae3f6749a6679a45cbafb0981f0e2ddaed5c49c", "Scripts can contact external services. Only run documents you trust.": "aa3560983d2f6c2656f1a9329fcb9434fa520d6f64bcccf0e6ae91c82ddbb0dd", @@ -7264,6 +7274,7 @@ "Uploading avatar": "995b81efc53e808131bd98d546fb3fa493a44b9b43b752237e590bf5a2e487c8", "Uploading...": "72cb29c90ccd8361ee82d02fabe81a3f01605c7b8fea4c9996fc01d84e3fbb48", "Upstream": "94adc696fd24e9fd67e83ba256a9f33bf1d7191d4a5e38ee8c69597cd89e4777", + "Upstream result unconfirmed": "d345a9ef65cf22ec93d4a7a0457157bcdc8696a90ea8e72690d04b25d7447d94", "Upstream version": "7927b36324919e81ae646c1455b608aadcecdedb285d9985d63d80572c3d5214", "urgent": "f9d37c23fcc0f03c15a86aba71dce01dd0baa7a1568180e60c2347a5863151bc", "URL image edit": "444b0006116b72fd13097e57758caf2edaa14133af89617d79ed238d71f518ff", @@ -7460,6 +7471,7 @@ "Waiting for runner activity...": "d0e7a1fd3763c4062fe8ac59255b9281effe77d2fd1d79f9ae2498e56ac3b96f", "Waiting for runner events...": "dc60b71d9ccb374ef6e53cc9496c05fd15dcd7b4955ec8ae7603cf360af7e85e", "Waiting for sign-in": "749a343a3a25c1df679ee6d6e74abb72e08ef956bfa15434407e61934dc054c9", + "Waiting for source": "8ac1608b4d56ce4dcc84a6d489fb055d7e9281efa150baa1fd5c2be7f2dd220b", "Waiting for system confirmation and Host readback...": "952e73792f0715e2d1f30ef0b0c03c4353cd9ab96caa71856bbce7dc41e2d161", "waiting for user input": "f43ef097687b1d8c8800577eefa3f7e10d0c82236cd0017f983d131e8e673174", "Waiting for votes": "bbb50edc12d1ce791069a8e84ca6e73a255b796306d32cdc1414987b986e172f", @@ -8079,6 +8091,7 @@ "A skill with the same identity already exists.": "Вече съществува умение със същата идентичност.", "Abstain": "Въздържайте се", "Accept": "Приеми", + "Accept handoff": "Приемете предаване", "Acceptance": "Приемане", "Acceptance checks will be clarified before execution.": "Проверките за приемане ще бъдат изяснени преди изпълнението.", "Acceptance criteria": "Критерии за приемане", @@ -8630,6 +8643,7 @@ "Avatar uploaded": "Аватарът е качен", "Avatar, name, and a compact working brief.": "Аватар, име и компактно работно резюме.", "Avoid triggers": "Избягвайте тригерите", + "Awaiting acceptance": "В очакване на приемане", "Awaiting confirmation": "Очаква се потвърждение", "Awaiting enable": "Очаква се активиране", "Awaiting merge approval": "Очаква се одобрение за сливане", @@ -8819,6 +8833,7 @@ "cancelling": "Отмяна", "Cancelling": "Отмяна", "Candidate approved for draft": "Кандидатът е одобрен за проект", + "Candidate changed": "Променен кандидат", "Candidate changed since verification": "Кандидатът е променен след проверката", "Candidate cluster is not bound to a channel.": "Клъстерът кандидат не е обвързан с канал.", "Candidate Clusters": "Клъстери кандидати", @@ -9556,6 +9571,7 @@ "Could not start this scene.": "Тази сцена не можа да започне.", "Could not start this workflow test.": "Този тест на работния процес не можа да се стартира.", "Could not switch projects. Showing the last loaded project.": "Не можах да превключа проекти. Показва се последният зареден проект.", + "Could not update handoff": "Неуспешно актуализиране на предаването", "Could not update the default model. Try again.": "Не можа да се актуализира моделът по подразбиране. Опитайте отново.", "Council actions": "Действия на Съвета", "Council boundaries": "Граници на Съвета", @@ -11556,6 +11572,7 @@ "minutes": "минути", "missing": "липсва", "Missing": "Липсва", + "Missing artifact": "Липсващ артефакт", "Missing dependency": "Missing dependency", "Missing fields": "Липсващи полета", "Missing key": "Липсва ключ", @@ -13137,6 +13154,7 @@ "Requested URL": "Заявено URL", "Required": "Задължително", "Required before approving high-risk requests": "Изисква се преди одобряване на високорискови заявки", + "Required check incomplete": "Задължителната проверка е непълна", "Required checks": "Задължителни проверки", "Required for assigned teammates": "Изисква се за назначени съотборници", "Required input": "Задължително въвеждане", @@ -13260,8 +13278,11 @@ "Retry upload": "Повторен опит за качване", "Retryable": "Повторен опит", "Retrying automatically...": "Опитва се автоматично...", + "Return handoff": "Връщане на предаване", + "Return reason": "Причина за връщане", "Return to an unlocked interactive Windows desktop, restart Ling if needed, then check again.": "Върнете се към отключен интерактивен работен плот на Windows, рестартирайте Ling, ако е необходимо, след което проверете отново.", "Return to implementation mode": "Върнете се в режим на изпълнение", + "Returned for repair": "Върнат за ремонт", "Reusable": "Многократна употреба", "Reuse images already saved in this media project.": "Повторно използване на вече запазени изображения в този медиен проект.", "Reuse settings": "Повторно използване на настройките", @@ -13652,6 +13673,7 @@ "Schema, checksums, and package metadata": "Схема, контролни суми и пакетни метаданни", "Scope": "Обхват", "Scope ID": "Обхват ID", + "Scope unavailable": "Обхватът не е наличен", "Screen capture and input stop. Ling never interacts with the lock screen, login window, password fields, or secure desktop.": "Заснемане на екрана и спиране на въвеждането. Ling никога не взаимодейства със заключения екран, прозореца за влизане, полетата за парола или защитения работен плот.", "Screen Recording": "Запис на екрана", "Scripts can contact external services. Only run documents you trust.": "Scripts can contact external services. Only run documents you trust.", @@ -15000,6 +15022,7 @@ "Uploading avatar": "Качване на аватар", "Uploading...": "Качване...", "Upstream": "Нагоре по течението", + "Upstream result unconfirmed": "Резултатът нагоре по веригата не е потвърден", "Upstream version": "Upstream версия", "urgent": "спешно", "URL image edit": "URL редактиране на изображение", @@ -15196,6 +15219,7 @@ "Waiting for runner activity...": "Изчакване на активност на бегач...", "Waiting for runner events...": "В очакване на раннер събития...", "Waiting for sign-in": "Изчакване за влизане", + "Waiting for source": "В очакване на източник", "Waiting for system confirmation and Host readback...": "Изчаква се системно потвърждение и обратно четене на хоста...", "waiting for user input": "изчакване на въвеждане от потребителя", "Waiting for votes": "В очакване на гласове", diff --git a/packages/localization/catalogs/bn-BD.json b/packages/localization/catalogs/bn-BD.json index cc59ceaee..13134c121 100644 --- a/packages/localization/catalogs/bn-BD.json +++ b/packages/localization/catalogs/bn-BD.json @@ -1,6 +1,6 @@ { "locale": "bn-BD", - "sourceRevision": "e134cc889637523423524b121cf71dcb37afdd3d7daf48eaea975d1c39785b2e", + "sourceRevision": "95b7d5d6546abac9c1f3ec3e54efe7bff99c84252c464896ecb9bf2245f66dfd", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -343,6 +343,7 @@ "A skill with the same identity already exists.": "66dd592d63333b2f2738e59f82a3866d9a6db17154a2cc2a752727f9a40998d1", "Abstain": "bf92ab42d052ce917d87cccce310e4351900347095f57947b3d08c1b1ff8bcf3", "Accept": "89713b9c9c1b8f659c9f49db25e4a47886dd673fee248c3f650391f09a759cef", + "Accept handoff": "13e3dc2abccf1296c34099b2080efb8c78ad82067436ff2039024f22ed8cc2e9", "Acceptance": "f190a5cb3aff17b0ee84f6ee258333d63a9cc71aa66c2e1788ebc3ae24a89b10", "Acceptance checks will be clarified before execution.": "ffd59db22fb4d3abb3c9cc67c351c818e1732dfca2d6cd18ae361a711fa4bb72", "Acceptance criteria": "d47a36f4f055810755db08b8d52e479baa4bb7a7a1f6449f71fa1ad5c20495ef", @@ -894,6 +895,7 @@ "Avatar uploaded": "d0d5a01f3f30fd933994a5950ddae3d14384d2c850c05deb50532b65aa6593ba", "Avatar, name, and a compact working brief.": "8d3706d4928090efbf7eca6683e3357f4f92732bc8be64c50dc8af8620a256c1", "Avoid triggers": "1419db0b6ddbd1f3a1632043da73529ecbcb0aef9183fd7d78e12df2942444de", + "Awaiting acceptance": "1dc7bfd9c54d73f22b4a9bdca5f741d5067a673b7f99d77e85367f6c8f049f85", "Awaiting confirmation": "d0ae0b38eac639b98f6a9b793a7add708bedbc6156963e3abc00453b235b2f3d", "Awaiting enable": "2a6b618d273346e8198806aa0d934a4bd6f5bf8b29d0780076df974ca93bf548", "Awaiting merge approval": "21837cdd561270cefc146079172511177736bb9091e9fb50d93bb072f271ecb0", @@ -1083,6 +1085,7 @@ "cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Candidate approved for draft": "59a57b9b459b3215e76b651f73f6521bc1bd71fa66bb52e046368a559db6632b", + "Candidate changed": "ca07c050cd47ab4f4d2f2fb6c60110b738af5b951a9ab708c36879365ec4532e", "Candidate changed since verification": "a2808e03661077a04403dab2204b7ce8d78310c296600bd03c5766a754f216a6", "Candidate cluster is not bound to a channel.": "6066a4e8725d065a7c2b8d2c8974a60c41c0a94124deeabd972f620ddd815786", "Candidate Clusters": "b617f8ce5325fa8984c324816b08d3a26c05dac3c3276bcc4f4ab7196222dbe4", @@ -1820,6 +1823,7 @@ "Could not start this scene.": "acb6aa181a8b842f1a8fc78344dc210cb98a45ccb6cf38ebd01beb65fe7fa27d", "Could not start this workflow test.": "7fe6f22a12127a9d74069d195a2513038cb2ff035acc4433d41e31006445e46e", "Could not switch projects. Showing the last loaded project.": "1a284203a5fd7f9d39c625017fde0d1c88180e3d2fa62b07aa7c9eb64a2e8aa6", + "Could not update handoff": "b6b7ff312171612e082d24ec92c854155d95fa6177a25cb0ac10f44e2c6110e2", "Could not update the default model. Try again.": "c87a00ab8ffb8c8c60209acf9b5cb10295a2a5e93c3e6f72dd8b2b4c316bdc16", "Council actions": "79763aae8f6334c6e29273106f3509b76114439dd686c9fa32753bca265eee32", "Council boundaries": "b4d6713050d140a9102817793dcb99d64565ee0d33d364b71f5d4d2afd234baf", @@ -3820,6 +3824,7 @@ "minutes": "90e63d85fa1ab2c8ed65222f3ebd794b1e524b4b7cf84bec451542d0451b2985", "missing": "ffa63583dfa6706b87d284b86b0d693a161e4840aad2c5cf6b5d27c3b9621f7d", "Missing": "6be36ca49ee85210c5d1ad9c377d90a9859c66d889110a2a5b0dccd390d12e20", + "Missing artifact": "e936c2df4de783be206107e353054e33ebba1c9988085200c260c7a6b8f8fc73", "Missing dependency": "5915d1e15e283f09695ad4b96ced9625bbd68aab747dc778f37aada0a7489b5c", "Missing fields": "69121d3f63d5a27ab7ce484854c065ce87e7022dc5fdfee9d778ab02515542fc", "Missing key": "0c8a17a63a322df1c40693b8469227cf5426b024673da9065f42c6cbb7c58370", @@ -5401,6 +5406,7 @@ "Requested URL": "8ae37b38fe2e415c8c641c3f2b6e9b42a11245cc8749a51a247cf0464b4c7faf", "Required": "4850b174b713d88cfc63de107830d5388929020e78abc91fc19bba7a6821625f", "Required before approving high-risk requests": "3cb612a5f43f4acbf5a6066a5da559bce858b50cdab2c2f6943bf4a05de1310a", + "Required check incomplete": "f64e6dfd1fc8cd1f2139aadf61c6ef43ecaa2ce783b2c712a56d31a574e05741", "Required checks": "f5a021846bd1a50002c0ea940f30cc97c285a118c62ff95af5c2f538584a7e26", "Required for assigned teammates": "4732aa544a8d93b886e6bcbbcc5c3314af692f8a8a812efd4844cd3589b7b63a", "Required input": "fafaaf99b5a6af521026448890a9dacaf4d47053804a34be7cdf364e13637181", @@ -5524,8 +5530,11 @@ "Retry upload": "731dc6e3f07ab1b090e925be766dd01d8e4aed2f0ad2cef600bf157bd7764500", "Retryable": "c282bd362abaadb6a38a4fdb268df44325f8bfde40f719b77fdd690180c51889", "Retrying automatically...": "220837f6132382f3e8d4fb676f31aab3dc9fabc34b8f26c2e4ced9b83ebce4ec", + "Return handoff": "1ae47e9a67b5866c28ccd52c2040500610b795d917cc6620a444c170ded79836", + "Return reason": "79f91549d760515b430db20e8f2f0c766e417826dfea15029dca20f6eb9865ac", "Return to an unlocked interactive Windows desktop, restart Ling if needed, then check again.": "bccd46e406f4d428d83a9dd510df581b52e5c28c51da4d357e3e66c21740ee0e", "Return to implementation mode": "36435baabf6c6acc0666fba73f68609f9a41d17389ea216a99f41b5036e8b6ef", + "Returned for repair": "07abb2b9ba19b479a5126883271bb99fa47e239dffb3337fb13bbe2778654158", "Reusable": "8ded2b384940a83eb986da575b9efa40f1b03fd1d626bd91964cbb11502e0b42", "Reuse images already saved in this media project.": "3c3dd902fab18f841a51942e3a4e92a93c8d39ddd8b48ae9ee017982a26fa1c1", "Reuse settings": "17507cf7d05b478d392e9aa85d9c60046c0e2a185959546ac0864a89b95ec744", @@ -5916,6 +5925,7 @@ "Schema, checksums, and package metadata": "d91ffc3c0cdd2c26d37ba9cf60de0a718343a3969303718321092f0367a68808", "Scope": "b073f6c68ef8721107fd9815b19b2c35ec111d526b75c2123d1111ba64424000", "Scope ID": "4a201ef6cbd70a0728fc5c62eb87fd73ac56e470c853a3112ebf27617e49ff76", + "Scope unavailable": "38a32037c55100c3ad97878ca4e361a734a3422fb35bdbaeacebf4babb16cdf3", "Screen capture and input stop. Ling never interacts with the lock screen, login window, password fields, or secure desktop.": "cece9f092190c9e9e4c9d54f7da59256e922a56556c843c4e2b44fb1a67b0c5f", "Screen Recording": "bc3c742893dc7aff9c88fad0aae3f6749a6679a45cbafb0981f0e2ddaed5c49c", "Scripts can contact external services. Only run documents you trust.": "aa3560983d2f6c2656f1a9329fcb9434fa520d6f64bcccf0e6ae91c82ddbb0dd", @@ -7264,6 +7274,7 @@ "Uploading avatar": "995b81efc53e808131bd98d546fb3fa493a44b9b43b752237e590bf5a2e487c8", "Uploading...": "72cb29c90ccd8361ee82d02fabe81a3f01605c7b8fea4c9996fc01d84e3fbb48", "Upstream": "94adc696fd24e9fd67e83ba256a9f33bf1d7191d4a5e38ee8c69597cd89e4777", + "Upstream result unconfirmed": "d345a9ef65cf22ec93d4a7a0457157bcdc8696a90ea8e72690d04b25d7447d94", "Upstream version": "7927b36324919e81ae646c1455b608aadcecdedb285d9985d63d80572c3d5214", "urgent": "f9d37c23fcc0f03c15a86aba71dce01dd0baa7a1568180e60c2347a5863151bc", "URL image edit": "444b0006116b72fd13097e57758caf2edaa14133af89617d79ed238d71f518ff", @@ -7460,6 +7471,7 @@ "Waiting for runner activity...": "d0e7a1fd3763c4062fe8ac59255b9281effe77d2fd1d79f9ae2498e56ac3b96f", "Waiting for runner events...": "dc60b71d9ccb374ef6e53cc9496c05fd15dcd7b4955ec8ae7603cf360af7e85e", "Waiting for sign-in": "749a343a3a25c1df679ee6d6e74abb72e08ef956bfa15434407e61934dc054c9", + "Waiting for source": "8ac1608b4d56ce4dcc84a6d489fb055d7e9281efa150baa1fd5c2be7f2dd220b", "Waiting for system confirmation and Host readback...": "952e73792f0715e2d1f30ef0b0c03c4353cd9ab96caa71856bbce7dc41e2d161", "waiting for user input": "f43ef097687b1d8c8800577eefa3f7e10d0c82236cd0017f983d131e8e673174", "Waiting for votes": "bbb50edc12d1ce791069a8e84ca6e73a255b796306d32cdc1414987b986e172f", @@ -8079,6 +8091,7 @@ "A skill with the same identity already exists.": "একই পরিচয় সহ একটি দক্ষতা ইতিমধ্যেই বিদ্যমান।", "Abstain": "বিরত থাকা", "Accept": "গ্রহণ করুন", + "Accept handoff": "হ্যান্ডঅফ গ্রহণ করুন", "Acceptance": "গ্রহণযোগ্যতা", "Acceptance checks will be clarified before execution.": "এক্সিকিউশনের আগে এক্সেপ্টেন্স চেকগুলো পরিষ্কার করা হবে।", "Acceptance criteria": "গ্রহণযোগ্যতার মানদণ্ড", @@ -8630,6 +8643,7 @@ "Avatar uploaded": "অবতার আপলোড করা হয়েছে", "Avatar, name, and a compact working brief.": "অবতার, নাম এবং একটি কমপ্যাক্ট ওয়ার্কিং ব্রিফ।", "Avoid triggers": "ট্রিগার এড়িয়ে চলুন", + "Awaiting acceptance": "গ্রহণের অপেক্ষায়", "Awaiting confirmation": "নিশ্চিতকরণের অপেক্ষায়", "Awaiting enable": "সক্ষম করার অপেক্ষায়", "Awaiting merge approval": "মার্জ অনুমোদনের অপেক্ষায়", @@ -8819,6 +8833,7 @@ "cancelling": "বাতিল হচ্ছে", "Cancelling": "বাতিল হচ্ছে", "Candidate approved for draft": "খসড়া জন্য অনুমোদিত প্রার্থী", + "Candidate changed": "প্রার্থী পরিবর্তন", "Candidate changed since verification": "যাচাইকরণের পর থেকে প্রার্থী পরিবর্তন হয়েছে", "Candidate cluster is not bound to a channel.": "প্রার্থী ক্লাস্টার একটি চ্যানেলে আবদ্ধ নয়।", "Candidate Clusters": "প্রার্থী ক্লাস্টার", @@ -9556,6 +9571,7 @@ "Could not start this scene.": "এই দৃশ্য শুরু করা যায়নি.", "Could not start this workflow test.": "এই ওয়ার্কফ্লো পরীক্ষা শুরু করা যায়নি।", "Could not switch projects. Showing the last loaded project.": "প্রকল্পগুলি পরিবর্তন করা যায়নি৷ শেষ লোড করা প্রকল্প দেখাচ্ছে।", + "Could not update handoff": "হ্যান্ডঅফ আপডেট করা যায়নি", "Could not update the default model. Try again.": "ডিফল্ট মডেল আপডেট করা যায়নি. আবার চেষ্টা করুন", "Council actions": "কাউন্সিলের কার্যক্রম", "Council boundaries": "কাউন্সিলের সীমানা", @@ -11556,6 +11572,7 @@ "minutes": "মিনিট", "missing": "অনুপস্থিত", "Missing": "অনুপস্থিত", + "Missing artifact": "অনুপস্থিত শিল্পকর্ম", "Missing dependency": "Missing dependency", "Missing fields": "অনুপস্থিত ক্ষেত্র", "Missing key": "অনুপস্থিত চাবি", @@ -13137,6 +13154,7 @@ "Requested URL": "অনুরোধ করা হয়েছে URL", "Required": "প্রয়োজন", "Required before approving high-risk requests": "উচ্চ-ঝুঁকির অনুরোধ অনুমোদন করার আগে প্রয়োজন", + "Required check incomplete": "প্রয়োজনীয় চেক অসম্পূর্ণ", "Required checks": "প্রয়োজনীয় চেক", "Required for assigned teammates": "নির্ধারিত সতীর্থদের জন্য প্রয়োজনীয়", "Required input": "প্রয়োজনীয় ইনপুট", @@ -13260,8 +13278,11 @@ "Retry upload": "আপলোড পুনরায় চেষ্টা করুন", "Retryable": "পুনরায় চেষ্টা করা যায়", "Retrying automatically...": "স্বয়ংক্রিয়ভাবে পুনরায় চেষ্টা করা হচ্ছে...", + "Return handoff": "রিটার্ন হ্যান্ডঅফ", + "Return reason": "প্রত্যাবর্তনের কারণ", "Return to an unlocked interactive Windows desktop, restart Ling if needed, then check again.": "একটি আনলক করা ইন্টারেক্টিভ উইন্ডোজ ডেস্কটপে ফিরে যান, প্রয়োজন হলে Ling পুনরায় চালু করুন, তারপর আবার পরীক্ষা করুন।", "Return to implementation mode": "বাস্তবায়ন মোডে ফিরে যান", + "Returned for repair": "মেরামতের জন্য ফিরে এসেছেন", "Reusable": "পুনর্ব্যবহারযোগ্য", "Reuse images already saved in this media project.": "এই মিডিয়া প্রকল্পে ইতিমধ্যেই সংরক্ষিত ছবিগুলি পুনঃব্যবহার করুন৷", "Reuse settings": "সেটিংস পুনরায় ব্যবহার করুন", @@ -13652,6 +13673,7 @@ "Schema, checksums, and package metadata": "স্কিমা, চেকসাম এবং প্যাকেজ মেটাডেটা", "Scope": "ব্যাপ্তি", "Scope ID": "ব্যাপ্তি ID", + "Scope unavailable": "সুযোগ অনুপলব্ধ", "Screen capture and input stop. Ling never interacts with the lock screen, login window, password fields, or secure desktop.": "স্ক্রীন ক্যাপচার এবং ইনপুট স্টপ। Ling কখনই লক স্ক্রীন, লগইন উইন্ডো, পাসওয়ার্ড ক্ষেত্র বা নিরাপদ ডেস্কটপের সাথে ইন্টারঅ্যাক্ট করে না।", "Screen Recording": "স্ক্রিন রেকর্ডিং", "Scripts can contact external services. Only run documents you trust.": "Scripts can contact external services. Only run documents you trust.", @@ -15000,6 +15022,7 @@ "Uploading avatar": "অবতার আপলোড করা হচ্ছে", "Uploading...": "আপলোড হচ্ছে...", "Upstream": "আপস্ট্রিম", + "Upstream result unconfirmed": "আপস্ট্রিম ফলাফল অনিশ্চিত", "Upstream version": "আপস্ট্রিম সংস্করণ", "urgent": "জরুরী", "URL image edit": "URL ছবি সম্পাদনা", @@ -15196,6 +15219,7 @@ "Waiting for runner activity...": "রানার কার্যকলাপের জন্য অপেক্ষা করা হচ্ছে...", "Waiting for runner events...": "রানার ইভেন্টের জন্য অপেক্ষা করা হচ্ছে...", "Waiting for sign-in": "সাইন-ইন করার জন্য অপেক্ষা করা হচ্ছে", + "Waiting for source": "উৎসের জন্য অপেক্ষা করছি", "Waiting for system confirmation and Host readback...": "সিস্টেম নিশ্চিতকরণ এবং হোস্ট রিডব্যাকের জন্য অপেক্ষা করা হচ্ছে...", "waiting for user input": "ব্যবহারকারীর ইনপুটের জন্য অপেক্ষা করছে", "Waiting for votes": "ভোটের অপেক্ষায়", diff --git a/packages/localization/catalogs/bs-BA.json b/packages/localization/catalogs/bs-BA.json index 22bd21024..5e1453572 100644 --- a/packages/localization/catalogs/bs-BA.json +++ b/packages/localization/catalogs/bs-BA.json @@ -1,6 +1,6 @@ { "locale": "bs-BA", - "sourceRevision": "e134cc889637523423524b121cf71dcb37afdd3d7daf48eaea975d1c39785b2e", + "sourceRevision": "95b7d5d6546abac9c1f3ec3e54efe7bff99c84252c464896ecb9bf2245f66dfd", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -343,6 +343,7 @@ "A skill with the same identity already exists.": "66dd592d63333b2f2738e59f82a3866d9a6db17154a2cc2a752727f9a40998d1", "Abstain": "bf92ab42d052ce917d87cccce310e4351900347095f57947b3d08c1b1ff8bcf3", "Accept": "89713b9c9c1b8f659c9f49db25e4a47886dd673fee248c3f650391f09a759cef", + "Accept handoff": "13e3dc2abccf1296c34099b2080efb8c78ad82067436ff2039024f22ed8cc2e9", "Acceptance": "f190a5cb3aff17b0ee84f6ee258333d63a9cc71aa66c2e1788ebc3ae24a89b10", "Acceptance checks will be clarified before execution.": "ffd59db22fb4d3abb3c9cc67c351c818e1732dfca2d6cd18ae361a711fa4bb72", "Acceptance criteria": "d47a36f4f055810755db08b8d52e479baa4bb7a7a1f6449f71fa1ad5c20495ef", @@ -894,6 +895,7 @@ "Avatar uploaded": "d0d5a01f3f30fd933994a5950ddae3d14384d2c850c05deb50532b65aa6593ba", "Avatar, name, and a compact working brief.": "8d3706d4928090efbf7eca6683e3357f4f92732bc8be64c50dc8af8620a256c1", "Avoid triggers": "1419db0b6ddbd1f3a1632043da73529ecbcb0aef9183fd7d78e12df2942444de", + "Awaiting acceptance": "1dc7bfd9c54d73f22b4a9bdca5f741d5067a673b7f99d77e85367f6c8f049f85", "Awaiting confirmation": "d0ae0b38eac639b98f6a9b793a7add708bedbc6156963e3abc00453b235b2f3d", "Awaiting enable": "2a6b618d273346e8198806aa0d934a4bd6f5bf8b29d0780076df974ca93bf548", "Awaiting merge approval": "21837cdd561270cefc146079172511177736bb9091e9fb50d93bb072f271ecb0", @@ -1083,6 +1085,7 @@ "cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Candidate approved for draft": "59a57b9b459b3215e76b651f73f6521bc1bd71fa66bb52e046368a559db6632b", + "Candidate changed": "ca07c050cd47ab4f4d2f2fb6c60110b738af5b951a9ab708c36879365ec4532e", "Candidate changed since verification": "a2808e03661077a04403dab2204b7ce8d78310c296600bd03c5766a754f216a6", "Candidate cluster is not bound to a channel.": "6066a4e8725d065a7c2b8d2c8974a60c41c0a94124deeabd972f620ddd815786", "Candidate Clusters": "b617f8ce5325fa8984c324816b08d3a26c05dac3c3276bcc4f4ab7196222dbe4", @@ -1820,6 +1823,7 @@ "Could not start this scene.": "acb6aa181a8b842f1a8fc78344dc210cb98a45ccb6cf38ebd01beb65fe7fa27d", "Could not start this workflow test.": "7fe6f22a12127a9d74069d195a2513038cb2ff035acc4433d41e31006445e46e", "Could not switch projects. Showing the last loaded project.": "1a284203a5fd7f9d39c625017fde0d1c88180e3d2fa62b07aa7c9eb64a2e8aa6", + "Could not update handoff": "b6b7ff312171612e082d24ec92c854155d95fa6177a25cb0ac10f44e2c6110e2", "Could not update the default model. Try again.": "c87a00ab8ffb8c8c60209acf9b5cb10295a2a5e93c3e6f72dd8b2b4c316bdc16", "Council actions": "79763aae8f6334c6e29273106f3509b76114439dd686c9fa32753bca265eee32", "Council boundaries": "b4d6713050d140a9102817793dcb99d64565ee0d33d364b71f5d4d2afd234baf", @@ -3820,6 +3824,7 @@ "minutes": "90e63d85fa1ab2c8ed65222f3ebd794b1e524b4b7cf84bec451542d0451b2985", "missing": "ffa63583dfa6706b87d284b86b0d693a161e4840aad2c5cf6b5d27c3b9621f7d", "Missing": "6be36ca49ee85210c5d1ad9c377d90a9859c66d889110a2a5b0dccd390d12e20", + "Missing artifact": "e936c2df4de783be206107e353054e33ebba1c9988085200c260c7a6b8f8fc73", "Missing dependency": "5915d1e15e283f09695ad4b96ced9625bbd68aab747dc778f37aada0a7489b5c", "Missing fields": "69121d3f63d5a27ab7ce484854c065ce87e7022dc5fdfee9d778ab02515542fc", "Missing key": "0c8a17a63a322df1c40693b8469227cf5426b024673da9065f42c6cbb7c58370", @@ -5401,6 +5406,7 @@ "Requested URL": "8ae37b38fe2e415c8c641c3f2b6e9b42a11245cc8749a51a247cf0464b4c7faf", "Required": "4850b174b713d88cfc63de107830d5388929020e78abc91fc19bba7a6821625f", "Required before approving high-risk requests": "3cb612a5f43f4acbf5a6066a5da559bce858b50cdab2c2f6943bf4a05de1310a", + "Required check incomplete": "f64e6dfd1fc8cd1f2139aadf61c6ef43ecaa2ce783b2c712a56d31a574e05741", "Required checks": "f5a021846bd1a50002c0ea940f30cc97c285a118c62ff95af5c2f538584a7e26", "Required for assigned teammates": "4732aa544a8d93b886e6bcbbcc5c3314af692f8a8a812efd4844cd3589b7b63a", "Required input": "fafaaf99b5a6af521026448890a9dacaf4d47053804a34be7cdf364e13637181", @@ -5524,8 +5530,11 @@ "Retry upload": "731dc6e3f07ab1b090e925be766dd01d8e4aed2f0ad2cef600bf157bd7764500", "Retryable": "c282bd362abaadb6a38a4fdb268df44325f8bfde40f719b77fdd690180c51889", "Retrying automatically...": "220837f6132382f3e8d4fb676f31aab3dc9fabc34b8f26c2e4ced9b83ebce4ec", + "Return handoff": "1ae47e9a67b5866c28ccd52c2040500610b795d917cc6620a444c170ded79836", + "Return reason": "79f91549d760515b430db20e8f2f0c766e417826dfea15029dca20f6eb9865ac", "Return to an unlocked interactive Windows desktop, restart Ling if needed, then check again.": "bccd46e406f4d428d83a9dd510df581b52e5c28c51da4d357e3e66c21740ee0e", "Return to implementation mode": "36435baabf6c6acc0666fba73f68609f9a41d17389ea216a99f41b5036e8b6ef", + "Returned for repair": "07abb2b9ba19b479a5126883271bb99fa47e239dffb3337fb13bbe2778654158", "Reusable": "8ded2b384940a83eb986da575b9efa40f1b03fd1d626bd91964cbb11502e0b42", "Reuse images already saved in this media project.": "3c3dd902fab18f841a51942e3a4e92a93c8d39ddd8b48ae9ee017982a26fa1c1", "Reuse settings": "17507cf7d05b478d392e9aa85d9c60046c0e2a185959546ac0864a89b95ec744", @@ -5916,6 +5925,7 @@ "Schema, checksums, and package metadata": "d91ffc3c0cdd2c26d37ba9cf60de0a718343a3969303718321092f0367a68808", "Scope": "b073f6c68ef8721107fd9815b19b2c35ec111d526b75c2123d1111ba64424000", "Scope ID": "4a201ef6cbd70a0728fc5c62eb87fd73ac56e470c853a3112ebf27617e49ff76", + "Scope unavailable": "38a32037c55100c3ad97878ca4e361a734a3422fb35bdbaeacebf4babb16cdf3", "Screen capture and input stop. Ling never interacts with the lock screen, login window, password fields, or secure desktop.": "cece9f092190c9e9e4c9d54f7da59256e922a56556c843c4e2b44fb1a67b0c5f", "Screen Recording": "bc3c742893dc7aff9c88fad0aae3f6749a6679a45cbafb0981f0e2ddaed5c49c", "Scripts can contact external services. Only run documents you trust.": "aa3560983d2f6c2656f1a9329fcb9434fa520d6f64bcccf0e6ae91c82ddbb0dd", @@ -7264,6 +7274,7 @@ "Uploading avatar": "995b81efc53e808131bd98d546fb3fa493a44b9b43b752237e590bf5a2e487c8", "Uploading...": "72cb29c90ccd8361ee82d02fabe81a3f01605c7b8fea4c9996fc01d84e3fbb48", "Upstream": "94adc696fd24e9fd67e83ba256a9f33bf1d7191d4a5e38ee8c69597cd89e4777", + "Upstream result unconfirmed": "d345a9ef65cf22ec93d4a7a0457157bcdc8696a90ea8e72690d04b25d7447d94", "Upstream version": "7927b36324919e81ae646c1455b608aadcecdedb285d9985d63d80572c3d5214", "urgent": "f9d37c23fcc0f03c15a86aba71dce01dd0baa7a1568180e60c2347a5863151bc", "URL image edit": "444b0006116b72fd13097e57758caf2edaa14133af89617d79ed238d71f518ff", @@ -7460,6 +7471,7 @@ "Waiting for runner activity...": "d0e7a1fd3763c4062fe8ac59255b9281effe77d2fd1d79f9ae2498e56ac3b96f", "Waiting for runner events...": "dc60b71d9ccb374ef6e53cc9496c05fd15dcd7b4955ec8ae7603cf360af7e85e", "Waiting for sign-in": "749a343a3a25c1df679ee6d6e74abb72e08ef956bfa15434407e61934dc054c9", + "Waiting for source": "8ac1608b4d56ce4dcc84a6d489fb055d7e9281efa150baa1fd5c2be7f2dd220b", "Waiting for system confirmation and Host readback...": "952e73792f0715e2d1f30ef0b0c03c4353cd9ab96caa71856bbce7dc41e2d161", "waiting for user input": "f43ef097687b1d8c8800577eefa3f7e10d0c82236cd0017f983d131e8e673174", "Waiting for votes": "bbb50edc12d1ce791069a8e84ca6e73a255b796306d32cdc1414987b986e172f", @@ -8079,6 +8091,7 @@ "A skill with the same identity already exists.": "Vještina sa istim identitetom već postoji.", "Abstain": "Uzdržati se", "Accept": "Prihvati", + "Accept handoff": "Prihvati handoff", "Acceptance": "Prihvatanje", "Acceptance checks will be clarified before execution.": "Prije izvršenja će biti razjašnjene provjere prihvatanja.", "Acceptance criteria": "Kriterijumi prihvatanja", @@ -8630,6 +8643,7 @@ "Avatar uploaded": "Avatar je uploadan", "Avatar, name, and a compact working brief.": "Avatar, ime i kompaktni radni kratak.", "Avoid triggers": "Izbjegavajte okidače", + "Awaiting acceptance": "Čeka se prihvatanje", "Awaiting confirmation": "Čeka se potvrda", "Awaiting enable": "Čeka se omogućavanje", "Awaiting merge approval": "Čeka se odobrenje spajanja", @@ -8819,6 +8833,7 @@ "cancelling": "Otkazivanje", "Cancelling": "Otkazivanje", "Candidate approved for draft": "Kandidat odobren za nacrt", + "Candidate changed": "Kandidat je promijenjen", "Candidate changed since verification": "Kandidat je promijenjen od verifikacije", "Candidate cluster is not bound to a channel.": "Klaster kandidata nije vezan za kanal.", "Candidate Clusters": "Klasteri kandidata", @@ -9556,6 +9571,7 @@ "Could not start this scene.": "Nije moguće pokrenuti ovu scenu.", "Could not start this workflow test.": "Nije moguće pokrenuti ovaj test toka posla.", "Could not switch projects. Showing the last loaded project.": "Nije moguće promijeniti projekte. Prikaz posljednjeg učitanog projekta.", + "Could not update handoff": "Nije moguće ažurirati handoff", "Could not update the default model. Try again.": "Nije moguće ažurirati zadani model. Pokušajte ponovo.", "Council actions": "Radnje Vijeća", "Council boundaries": "Granice vijeća", @@ -11556,6 +11572,7 @@ "minutes": "minuta", "missing": "nedostaje", "Missing": "Nedostaje", + "Missing artifact": "Nedostaje artefakt", "Missing dependency": "Missing dependency", "Missing fields": "Nedostajuća polja", "Missing key": "Nedostaje ključ", @@ -13137,6 +13154,7 @@ "Requested URL": "Zatraženo URL", "Required": "Obavezno", "Required before approving high-risk requests": "Obavezno prije odobravanja zahtjeva visokog rizika", + "Required check incomplete": "Obavezna provjera je nepotpuna", "Required checks": "Obavezne provjere", "Required for assigned teammates": "Obavezno za dodijeljene saigrače", "Required input": "Potreban unos", @@ -13260,8 +13278,11 @@ "Retry upload": "Ponovo pokušajte otpremiti", "Retryable": "Može se ponoviti", "Retrying automatically...": "Automatski ponovni pokušaj...", + "Return handoff": "Povratak handoff", + "Return reason": "Vrati razlog", "Return to an unlocked interactive Windows desktop, restart Ling if needed, then check again.": "Vratite se na otključanu interaktivnu Windows radnu površinu, ponovo pokrenite Ling ako je potrebno, a zatim provjerite ponovo.", "Return to implementation mode": "Vratite se na način implementacije", + "Returned for repair": "Vraćeno na popravku", "Reusable": "Za višekratnu upotrebu", "Reuse images already saved in this media project.": "Ponovo koristite slike koje su već sačuvane u ovom medijskom projektu.", "Reuse settings": "Ponovna upotreba postavki", @@ -13652,6 +13673,7 @@ "Schema, checksums, and package metadata": "Šema, kontrolni sumi i metapodaci paketa", "Scope": "Obim", "Scope ID": "Opseg ID", + "Scope unavailable": "Opseg nedostupan", "Screen capture and input stop. Ling never interacts with the lock screen, login window, password fields, or secure desktop.": "Snimanje ekrana i zaustavljanje unosa. Ling nikada ne stupa u interakciju sa zaključanim ekranom, prozorom za prijavu, poljima za lozinku ili sigurnom radnom površinom.", "Screen Recording": "Screen Recording", "Scripts can contact external services. Only run documents you trust.": "Scripts can contact external services. Only run documents you trust.", @@ -15000,6 +15022,7 @@ "Uploading avatar": "Učitavanje avatara", "Uploading...": "Otpremanje...", "Upstream": "Uzvodno", + "Upstream result unconfirmed": "Upstream rezultat nepotvrđen", "Upstream version": "Upstream verzija", "urgent": "hitno", "URL image edit": "URL uređivanje slike", @@ -15196,6 +15219,7 @@ "Waiting for runner activity...": "Čeka se aktivnost trkača...", "Waiting for runner events...": "Čekaju se trkački događaji...", "Waiting for sign-in": "Čeka se prijava", + "Waiting for source": "Čeka se izvor", "Waiting for system confirmation and Host readback...": "Čeka se sistemska potvrda i čitanje hosta...", "waiting for user input": "čeka se korisnički unos", "Waiting for votes": "Čekamo glasove", diff --git a/packages/localization/catalogs/ca-ES.json b/packages/localization/catalogs/ca-ES.json index 90f92f548..f3f5764d5 100644 --- a/packages/localization/catalogs/ca-ES.json +++ b/packages/localization/catalogs/ca-ES.json @@ -1,6 +1,6 @@ { "locale": "ca-ES", - "sourceRevision": "e134cc889637523423524b121cf71dcb37afdd3d7daf48eaea975d1c39785b2e", + "sourceRevision": "95b7d5d6546abac9c1f3ec3e54efe7bff99c84252c464896ecb9bf2245f66dfd", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -343,6 +343,7 @@ "A skill with the same identity already exists.": "66dd592d63333b2f2738e59f82a3866d9a6db17154a2cc2a752727f9a40998d1", "Abstain": "bf92ab42d052ce917d87cccce310e4351900347095f57947b3d08c1b1ff8bcf3", "Accept": "89713b9c9c1b8f659c9f49db25e4a47886dd673fee248c3f650391f09a759cef", + "Accept handoff": "13e3dc2abccf1296c34099b2080efb8c78ad82067436ff2039024f22ed8cc2e9", "Acceptance": "f190a5cb3aff17b0ee84f6ee258333d63a9cc71aa66c2e1788ebc3ae24a89b10", "Acceptance checks will be clarified before execution.": "ffd59db22fb4d3abb3c9cc67c351c818e1732dfca2d6cd18ae361a711fa4bb72", "Acceptance criteria": "d47a36f4f055810755db08b8d52e479baa4bb7a7a1f6449f71fa1ad5c20495ef", @@ -894,6 +895,7 @@ "Avatar uploaded": "d0d5a01f3f30fd933994a5950ddae3d14384d2c850c05deb50532b65aa6593ba", "Avatar, name, and a compact working brief.": "8d3706d4928090efbf7eca6683e3357f4f92732bc8be64c50dc8af8620a256c1", "Avoid triggers": "1419db0b6ddbd1f3a1632043da73529ecbcb0aef9183fd7d78e12df2942444de", + "Awaiting acceptance": "1dc7bfd9c54d73f22b4a9bdca5f741d5067a673b7f99d77e85367f6c8f049f85", "Awaiting confirmation": "d0ae0b38eac639b98f6a9b793a7add708bedbc6156963e3abc00453b235b2f3d", "Awaiting enable": "2a6b618d273346e8198806aa0d934a4bd6f5bf8b29d0780076df974ca93bf548", "Awaiting merge approval": "21837cdd561270cefc146079172511177736bb9091e9fb50d93bb072f271ecb0", @@ -1083,6 +1085,7 @@ "cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Candidate approved for draft": "59a57b9b459b3215e76b651f73f6521bc1bd71fa66bb52e046368a559db6632b", + "Candidate changed": "ca07c050cd47ab4f4d2f2fb6c60110b738af5b951a9ab708c36879365ec4532e", "Candidate changed since verification": "a2808e03661077a04403dab2204b7ce8d78310c296600bd03c5766a754f216a6", "Candidate cluster is not bound to a channel.": "6066a4e8725d065a7c2b8d2c8974a60c41c0a94124deeabd972f620ddd815786", "Candidate Clusters": "b617f8ce5325fa8984c324816b08d3a26c05dac3c3276bcc4f4ab7196222dbe4", @@ -1820,6 +1823,7 @@ "Could not start this scene.": "acb6aa181a8b842f1a8fc78344dc210cb98a45ccb6cf38ebd01beb65fe7fa27d", "Could not start this workflow test.": "7fe6f22a12127a9d74069d195a2513038cb2ff035acc4433d41e31006445e46e", "Could not switch projects. Showing the last loaded project.": "1a284203a5fd7f9d39c625017fde0d1c88180e3d2fa62b07aa7c9eb64a2e8aa6", + "Could not update handoff": "b6b7ff312171612e082d24ec92c854155d95fa6177a25cb0ac10f44e2c6110e2", "Could not update the default model. Try again.": "c87a00ab8ffb8c8c60209acf9b5cb10295a2a5e93c3e6f72dd8b2b4c316bdc16", "Council actions": "79763aae8f6334c6e29273106f3509b76114439dd686c9fa32753bca265eee32", "Council boundaries": "b4d6713050d140a9102817793dcb99d64565ee0d33d364b71f5d4d2afd234baf", @@ -3820,6 +3824,7 @@ "minutes": "90e63d85fa1ab2c8ed65222f3ebd794b1e524b4b7cf84bec451542d0451b2985", "missing": "ffa63583dfa6706b87d284b86b0d693a161e4840aad2c5cf6b5d27c3b9621f7d", "Missing": "6be36ca49ee85210c5d1ad9c377d90a9859c66d889110a2a5b0dccd390d12e20", + "Missing artifact": "e936c2df4de783be206107e353054e33ebba1c9988085200c260c7a6b8f8fc73", "Missing dependency": "5915d1e15e283f09695ad4b96ced9625bbd68aab747dc778f37aada0a7489b5c", "Missing fields": "69121d3f63d5a27ab7ce484854c065ce87e7022dc5fdfee9d778ab02515542fc", "Missing key": "0c8a17a63a322df1c40693b8469227cf5426b024673da9065f42c6cbb7c58370", @@ -5401,6 +5406,7 @@ "Requested URL": "8ae37b38fe2e415c8c641c3f2b6e9b42a11245cc8749a51a247cf0464b4c7faf", "Required": "4850b174b713d88cfc63de107830d5388929020e78abc91fc19bba7a6821625f", "Required before approving high-risk requests": "3cb612a5f43f4acbf5a6066a5da559bce858b50cdab2c2f6943bf4a05de1310a", + "Required check incomplete": "f64e6dfd1fc8cd1f2139aadf61c6ef43ecaa2ce783b2c712a56d31a574e05741", "Required checks": "f5a021846bd1a50002c0ea940f30cc97c285a118c62ff95af5c2f538584a7e26", "Required for assigned teammates": "4732aa544a8d93b886e6bcbbcc5c3314af692f8a8a812efd4844cd3589b7b63a", "Required input": "fafaaf99b5a6af521026448890a9dacaf4d47053804a34be7cdf364e13637181", @@ -5524,8 +5530,11 @@ "Retry upload": "731dc6e3f07ab1b090e925be766dd01d8e4aed2f0ad2cef600bf157bd7764500", "Retryable": "c282bd362abaadb6a38a4fdb268df44325f8bfde40f719b77fdd690180c51889", "Retrying automatically...": "220837f6132382f3e8d4fb676f31aab3dc9fabc34b8f26c2e4ced9b83ebce4ec", + "Return handoff": "1ae47e9a67b5866c28ccd52c2040500610b795d917cc6620a444c170ded79836", + "Return reason": "79f91549d760515b430db20e8f2f0c766e417826dfea15029dca20f6eb9865ac", "Return to an unlocked interactive Windows desktop, restart Ling if needed, then check again.": "bccd46e406f4d428d83a9dd510df581b52e5c28c51da4d357e3e66c21740ee0e", "Return to implementation mode": "36435baabf6c6acc0666fba73f68609f9a41d17389ea216a99f41b5036e8b6ef", + "Returned for repair": "07abb2b9ba19b479a5126883271bb99fa47e239dffb3337fb13bbe2778654158", "Reusable": "8ded2b384940a83eb986da575b9efa40f1b03fd1d626bd91964cbb11502e0b42", "Reuse images already saved in this media project.": "3c3dd902fab18f841a51942e3a4e92a93c8d39ddd8b48ae9ee017982a26fa1c1", "Reuse settings": "17507cf7d05b478d392e9aa85d9c60046c0e2a185959546ac0864a89b95ec744", @@ -5916,6 +5925,7 @@ "Schema, checksums, and package metadata": "d91ffc3c0cdd2c26d37ba9cf60de0a718343a3969303718321092f0367a68808", "Scope": "b073f6c68ef8721107fd9815b19b2c35ec111d526b75c2123d1111ba64424000", "Scope ID": "4a201ef6cbd70a0728fc5c62eb87fd73ac56e470c853a3112ebf27617e49ff76", + "Scope unavailable": "38a32037c55100c3ad97878ca4e361a734a3422fb35bdbaeacebf4babb16cdf3", "Screen capture and input stop. Ling never interacts with the lock screen, login window, password fields, or secure desktop.": "cece9f092190c9e9e4c9d54f7da59256e922a56556c843c4e2b44fb1a67b0c5f", "Screen Recording": "bc3c742893dc7aff9c88fad0aae3f6749a6679a45cbafb0981f0e2ddaed5c49c", "Scripts can contact external services. Only run documents you trust.": "aa3560983d2f6c2656f1a9329fcb9434fa520d6f64bcccf0e6ae91c82ddbb0dd", @@ -7264,6 +7274,7 @@ "Uploading avatar": "995b81efc53e808131bd98d546fb3fa493a44b9b43b752237e590bf5a2e487c8", "Uploading...": "72cb29c90ccd8361ee82d02fabe81a3f01605c7b8fea4c9996fc01d84e3fbb48", "Upstream": "94adc696fd24e9fd67e83ba256a9f33bf1d7191d4a5e38ee8c69597cd89e4777", + "Upstream result unconfirmed": "d345a9ef65cf22ec93d4a7a0457157bcdc8696a90ea8e72690d04b25d7447d94", "Upstream version": "7927b36324919e81ae646c1455b608aadcecdedb285d9985d63d80572c3d5214", "urgent": "f9d37c23fcc0f03c15a86aba71dce01dd0baa7a1568180e60c2347a5863151bc", "URL image edit": "444b0006116b72fd13097e57758caf2edaa14133af89617d79ed238d71f518ff", @@ -7460,6 +7471,7 @@ "Waiting for runner activity...": "d0e7a1fd3763c4062fe8ac59255b9281effe77d2fd1d79f9ae2498e56ac3b96f", "Waiting for runner events...": "dc60b71d9ccb374ef6e53cc9496c05fd15dcd7b4955ec8ae7603cf360af7e85e", "Waiting for sign-in": "749a343a3a25c1df679ee6d6e74abb72e08ef956bfa15434407e61934dc054c9", + "Waiting for source": "8ac1608b4d56ce4dcc84a6d489fb055d7e9281efa150baa1fd5c2be7f2dd220b", "Waiting for system confirmation and Host readback...": "952e73792f0715e2d1f30ef0b0c03c4353cd9ab96caa71856bbce7dc41e2d161", "waiting for user input": "f43ef097687b1d8c8800577eefa3f7e10d0c82236cd0017f983d131e8e673174", "Waiting for votes": "bbb50edc12d1ce791069a8e84ca6e73a255b796306d32cdc1414987b986e172f", @@ -8079,6 +8091,7 @@ "A skill with the same identity already exists.": "Una habilitat amb la mateixa identitat ja existeix.", "Abstain": "Abstenir-se", "Accept": "Acceptar", + "Accept handoff": "Accepta el lliurament", "Acceptance": "Acceptació", "Acceptance checks will be clarified before execution.": "Les comprovacions d'acceptació s'aclariran abans de l'execució.", "Acceptance criteria": "Criteris d'acceptació", @@ -8630,6 +8643,7 @@ "Avatar uploaded": "S'ha penjat l'avatar", "Avatar, name, and a compact working brief.": "Avatar, nom i un resum de treball compacte.", "Avoid triggers": "Eviteu els desencadenants", + "Awaiting acceptance": "A l'espera d'acceptació", "Awaiting confirmation": "A l'espera de confirmació", "Awaiting enable": "S'està esperant l'habilitació", "Awaiting merge approval": "S'està esperant l'aprovació de la fusió", @@ -8819,6 +8833,7 @@ "cancelling": "S'està cancel·lant", "Cancelling": "S'està cancel·lant", "Candidate approved for draft": "Candidat aprovat per esborrany", + "Candidate changed": "Candidat canviat", "Candidate changed since verification": "El candidat ha canviat des de la verificació", "Candidate cluster is not bound to a channel.": "El clúster de candidats no està vinculat a un canal.", "Candidate Clusters": "Clústers de candidats", @@ -9556,6 +9571,7 @@ "Could not start this scene.": "No s'ha pogut iniciar aquesta escena.", "Could not start this workflow test.": "No s'ha pogut iniciar aquesta prova de flux de treball.", "Could not switch projects. Showing the last loaded project.": "No s'ha pogut canviar de projecte. Mostra l'últim projecte carregat.", + "Could not update handoff": "No s'ha pogut actualitzar l'entrega", "Could not update the default model. Try again.": "No s'ha pogut actualitzar el model predeterminat. Torna-ho a provar.", "Council actions": "Accions del Consell", "Council boundaries": "Límits del Consell", @@ -11556,6 +11572,7 @@ "minutes": "minuts", "missing": "desaparegut", "Missing": "Falta", + "Missing artifact": "Falta un artefacte", "Missing dependency": "Missing dependency", "Missing fields": "Falten camps", "Missing key": "Falta clau", @@ -13137,6 +13154,7 @@ "Requested URL": "Sol·licitat URL", "Required": "Obligatori", "Required before approving high-risk requests": "Obligatori abans d'aprovar sol·licituds d'alt risc", + "Required check incomplete": "Comprovació obligatòria incompleta", "Required checks": "Comprovacions obligatòries", "Required for assigned teammates": "Necessari per als companys assignats", "Required input": "Entrada necessària", @@ -13260,8 +13278,11 @@ "Retry upload": "Torna a provar de pujar", "Retryable": "Es pot tornar a provar", "Retrying automatically...": "S'està tornant a provar automàticament...", + "Return handoff": "Retorn l'entrega", + "Return reason": "Motiu de retorn", "Return to an unlocked interactive Windows desktop, restart Ling if needed, then check again.": "Torneu a un escriptori interactiu de Windows desbloquejat, reinicieu Ling si cal i torneu a comprovar-ho.", "Return to implementation mode": "Tornar al mode d'implementació", + "Returned for repair": "Retornat per reparació", "Reusable": "Reutilitzable", "Reuse images already saved in this media project.": "Reutilitza les imatges ja desades en aquest projecte multimèdia.", "Reuse settings": "Reutilitza la configuració", @@ -13652,6 +13673,7 @@ "Schema, checksums, and package metadata": "Esquema, sumes de comprovació i metadades de paquets", "Scope": "Àmbit", "Scope ID": "Àmbit ID", + "Scope unavailable": "L'abast no està disponible", "Screen capture and input stop. Ling never interacts with the lock screen, login window, password fields, or secure desktop.": "Captura de pantalla i parada d'entrada. Ling mai interactua amb la pantalla de bloqueig, la finestra d'inici de sessió, els camps de contrasenya o l'escriptori segur.", "Screen Recording": "Enregistrament de pantalla", "Scripts can contact external services. Only run documents you trust.": "Scripts can contact external services. Only run documents you trust.", @@ -15000,6 +15022,7 @@ "Uploading avatar": "S'està carregant l'avatar", "Uploading...": "S'està carregant...", "Upstream": "Riu amunt", + "Upstream result unconfirmed": "Resultat aigües amunt no confirmat", "Upstream version": "Versió upstream", "urgent": "urgent", "URL image edit": "URL edició d'imatges", @@ -15196,6 +15219,7 @@ "Waiting for runner activity...": "Esperant l'activitat del corredor...", "Waiting for runner events...": "Esperant els esdeveniments de corredors...", "Waiting for sign-in": "S'està esperant l'inici de sessió", + "Waiting for source": "Esperant la font", "Waiting for system confirmation and Host readback...": "S'està esperant la confirmació del sistema i la lectura de l'amfitrió...", "waiting for user input": "esperant l'entrada de l'usuari", "Waiting for votes": "Esperant els vots", diff --git a/packages/localization/catalogs/cs-CZ.json b/packages/localization/catalogs/cs-CZ.json index 1d65617fd..5975e051f 100644 --- a/packages/localization/catalogs/cs-CZ.json +++ b/packages/localization/catalogs/cs-CZ.json @@ -1,6 +1,6 @@ { "locale": "cs-CZ", - "sourceRevision": "e134cc889637523423524b121cf71dcb37afdd3d7daf48eaea975d1c39785b2e", + "sourceRevision": "95b7d5d6546abac9c1f3ec3e54efe7bff99c84252c464896ecb9bf2245f66dfd", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -343,6 +343,7 @@ "A skill with the same identity already exists.": "66dd592d63333b2f2738e59f82a3866d9a6db17154a2cc2a752727f9a40998d1", "Abstain": "bf92ab42d052ce917d87cccce310e4351900347095f57947b3d08c1b1ff8bcf3", "Accept": "89713b9c9c1b8f659c9f49db25e4a47886dd673fee248c3f650391f09a759cef", + "Accept handoff": "13e3dc2abccf1296c34099b2080efb8c78ad82067436ff2039024f22ed8cc2e9", "Acceptance": "f190a5cb3aff17b0ee84f6ee258333d63a9cc71aa66c2e1788ebc3ae24a89b10", "Acceptance checks will be clarified before execution.": "ffd59db22fb4d3abb3c9cc67c351c818e1732dfca2d6cd18ae361a711fa4bb72", "Acceptance criteria": "d47a36f4f055810755db08b8d52e479baa4bb7a7a1f6449f71fa1ad5c20495ef", @@ -894,6 +895,7 @@ "Avatar uploaded": "d0d5a01f3f30fd933994a5950ddae3d14384d2c850c05deb50532b65aa6593ba", "Avatar, name, and a compact working brief.": "8d3706d4928090efbf7eca6683e3357f4f92732bc8be64c50dc8af8620a256c1", "Avoid triggers": "1419db0b6ddbd1f3a1632043da73529ecbcb0aef9183fd7d78e12df2942444de", + "Awaiting acceptance": "1dc7bfd9c54d73f22b4a9bdca5f741d5067a673b7f99d77e85367f6c8f049f85", "Awaiting confirmation": "d0ae0b38eac639b98f6a9b793a7add708bedbc6156963e3abc00453b235b2f3d", "Awaiting enable": "2a6b618d273346e8198806aa0d934a4bd6f5bf8b29d0780076df974ca93bf548", "Awaiting merge approval": "21837cdd561270cefc146079172511177736bb9091e9fb50d93bb072f271ecb0", @@ -1083,6 +1085,7 @@ "cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Candidate approved for draft": "59a57b9b459b3215e76b651f73f6521bc1bd71fa66bb52e046368a559db6632b", + "Candidate changed": "ca07c050cd47ab4f4d2f2fb6c60110b738af5b951a9ab708c36879365ec4532e", "Candidate changed since verification": "a2808e03661077a04403dab2204b7ce8d78310c296600bd03c5766a754f216a6", "Candidate cluster is not bound to a channel.": "6066a4e8725d065a7c2b8d2c8974a60c41c0a94124deeabd972f620ddd815786", "Candidate Clusters": "b617f8ce5325fa8984c324816b08d3a26c05dac3c3276bcc4f4ab7196222dbe4", @@ -1820,6 +1823,7 @@ "Could not start this scene.": "acb6aa181a8b842f1a8fc78344dc210cb98a45ccb6cf38ebd01beb65fe7fa27d", "Could not start this workflow test.": "7fe6f22a12127a9d74069d195a2513038cb2ff035acc4433d41e31006445e46e", "Could not switch projects. Showing the last loaded project.": "1a284203a5fd7f9d39c625017fde0d1c88180e3d2fa62b07aa7c9eb64a2e8aa6", + "Could not update handoff": "b6b7ff312171612e082d24ec92c854155d95fa6177a25cb0ac10f44e2c6110e2", "Could not update the default model. Try again.": "c87a00ab8ffb8c8c60209acf9b5cb10295a2a5e93c3e6f72dd8b2b4c316bdc16", "Council actions": "79763aae8f6334c6e29273106f3509b76114439dd686c9fa32753bca265eee32", "Council boundaries": "b4d6713050d140a9102817793dcb99d64565ee0d33d364b71f5d4d2afd234baf", @@ -3820,6 +3824,7 @@ "minutes": "90e63d85fa1ab2c8ed65222f3ebd794b1e524b4b7cf84bec451542d0451b2985", "missing": "ffa63583dfa6706b87d284b86b0d693a161e4840aad2c5cf6b5d27c3b9621f7d", "Missing": "6be36ca49ee85210c5d1ad9c377d90a9859c66d889110a2a5b0dccd390d12e20", + "Missing artifact": "e936c2df4de783be206107e353054e33ebba1c9988085200c260c7a6b8f8fc73", "Missing dependency": "5915d1e15e283f09695ad4b96ced9625bbd68aab747dc778f37aada0a7489b5c", "Missing fields": "69121d3f63d5a27ab7ce484854c065ce87e7022dc5fdfee9d778ab02515542fc", "Missing key": "0c8a17a63a322df1c40693b8469227cf5426b024673da9065f42c6cbb7c58370", @@ -5401,6 +5406,7 @@ "Requested URL": "8ae37b38fe2e415c8c641c3f2b6e9b42a11245cc8749a51a247cf0464b4c7faf", "Required": "4850b174b713d88cfc63de107830d5388929020e78abc91fc19bba7a6821625f", "Required before approving high-risk requests": "3cb612a5f43f4acbf5a6066a5da559bce858b50cdab2c2f6943bf4a05de1310a", + "Required check incomplete": "f64e6dfd1fc8cd1f2139aadf61c6ef43ecaa2ce783b2c712a56d31a574e05741", "Required checks": "f5a021846bd1a50002c0ea940f30cc97c285a118c62ff95af5c2f538584a7e26", "Required for assigned teammates": "4732aa544a8d93b886e6bcbbcc5c3314af692f8a8a812efd4844cd3589b7b63a", "Required input": "fafaaf99b5a6af521026448890a9dacaf4d47053804a34be7cdf364e13637181", @@ -5524,8 +5530,11 @@ "Retry upload": "731dc6e3f07ab1b090e925be766dd01d8e4aed2f0ad2cef600bf157bd7764500", "Retryable": "c282bd362abaadb6a38a4fdb268df44325f8bfde40f719b77fdd690180c51889", "Retrying automatically...": "220837f6132382f3e8d4fb676f31aab3dc9fabc34b8f26c2e4ced9b83ebce4ec", + "Return handoff": "1ae47e9a67b5866c28ccd52c2040500610b795d917cc6620a444c170ded79836", + "Return reason": "79f91549d760515b430db20e8f2f0c766e417826dfea15029dca20f6eb9865ac", "Return to an unlocked interactive Windows desktop, restart Ling if needed, then check again.": "bccd46e406f4d428d83a9dd510df581b52e5c28c51da4d357e3e66c21740ee0e", "Return to implementation mode": "36435baabf6c6acc0666fba73f68609f9a41d17389ea216a99f41b5036e8b6ef", + "Returned for repair": "07abb2b9ba19b479a5126883271bb99fa47e239dffb3337fb13bbe2778654158", "Reusable": "8ded2b384940a83eb986da575b9efa40f1b03fd1d626bd91964cbb11502e0b42", "Reuse images already saved in this media project.": "3c3dd902fab18f841a51942e3a4e92a93c8d39ddd8b48ae9ee017982a26fa1c1", "Reuse settings": "17507cf7d05b478d392e9aa85d9c60046c0e2a185959546ac0864a89b95ec744", @@ -5916,6 +5925,7 @@ "Schema, checksums, and package metadata": "d91ffc3c0cdd2c26d37ba9cf60de0a718343a3969303718321092f0367a68808", "Scope": "b073f6c68ef8721107fd9815b19b2c35ec111d526b75c2123d1111ba64424000", "Scope ID": "4a201ef6cbd70a0728fc5c62eb87fd73ac56e470c853a3112ebf27617e49ff76", + "Scope unavailable": "38a32037c55100c3ad97878ca4e361a734a3422fb35bdbaeacebf4babb16cdf3", "Screen capture and input stop. Ling never interacts with the lock screen, login window, password fields, or secure desktop.": "cece9f092190c9e9e4c9d54f7da59256e922a56556c843c4e2b44fb1a67b0c5f", "Screen Recording": "bc3c742893dc7aff9c88fad0aae3f6749a6679a45cbafb0981f0e2ddaed5c49c", "Scripts can contact external services. Only run documents you trust.": "aa3560983d2f6c2656f1a9329fcb9434fa520d6f64bcccf0e6ae91c82ddbb0dd", @@ -7264,6 +7274,7 @@ "Uploading avatar": "995b81efc53e808131bd98d546fb3fa493a44b9b43b752237e590bf5a2e487c8", "Uploading...": "72cb29c90ccd8361ee82d02fabe81a3f01605c7b8fea4c9996fc01d84e3fbb48", "Upstream": "94adc696fd24e9fd67e83ba256a9f33bf1d7191d4a5e38ee8c69597cd89e4777", + "Upstream result unconfirmed": "d345a9ef65cf22ec93d4a7a0457157bcdc8696a90ea8e72690d04b25d7447d94", "Upstream version": "7927b36324919e81ae646c1455b608aadcecdedb285d9985d63d80572c3d5214", "urgent": "f9d37c23fcc0f03c15a86aba71dce01dd0baa7a1568180e60c2347a5863151bc", "URL image edit": "444b0006116b72fd13097e57758caf2edaa14133af89617d79ed238d71f518ff", @@ -7460,6 +7471,7 @@ "Waiting for runner activity...": "d0e7a1fd3763c4062fe8ac59255b9281effe77d2fd1d79f9ae2498e56ac3b96f", "Waiting for runner events...": "dc60b71d9ccb374ef6e53cc9496c05fd15dcd7b4955ec8ae7603cf360af7e85e", "Waiting for sign-in": "749a343a3a25c1df679ee6d6e74abb72e08ef956bfa15434407e61934dc054c9", + "Waiting for source": "8ac1608b4d56ce4dcc84a6d489fb055d7e9281efa150baa1fd5c2be7f2dd220b", "Waiting for system confirmation and Host readback...": "952e73792f0715e2d1f30ef0b0c03c4353cd9ab96caa71856bbce7dc41e2d161", "waiting for user input": "f43ef097687b1d8c8800577eefa3f7e10d0c82236cd0017f983d131e8e673174", "Waiting for votes": "bbb50edc12d1ce791069a8e84ca6e73a255b796306d32cdc1414987b986e172f", @@ -8079,6 +8091,7 @@ "A skill with the same identity already exists.": "Dovednost se stejnou identitou již existuje.", "Abstain": "zdržet se hlasování", "Accept": "Přijmout", + "Accept handoff": "Přijmout předání", "Acceptance": "Přijetí", "Acceptance checks will be clarified before execution.": "Přejímací kontroly budou vyjasněny před provedením.", "Acceptance criteria": "Kritéria přijetí", @@ -8630,6 +8643,7 @@ "Avatar uploaded": "Avatar nahrán", "Avatar, name, and a compact working brief.": "Avatar, jméno a kompaktní pracovní brief.", "Avoid triggers": "Vyhněte se spouštěčům", + "Awaiting acceptance": "Čekání na přijetí", "Awaiting confirmation": "Čeká se na potvrzení", "Awaiting enable": "Čeká se na povolení", "Awaiting merge approval": "Čeká se na schválení sloučení", @@ -8819,6 +8833,7 @@ "cancelling": "Probíhá zrušení", "Cancelling": "Probíhá zrušení", "Candidate approved for draft": "Kandidát schválen pro návrh", + "Candidate changed": "Kandidát se změnil", "Candidate changed since verification": "Kandidát se od ověření změnil", "Candidate cluster is not bound to a channel.": "Kandidátský klastr není vázán na kanál.", "Candidate Clusters": "Kandidátské klastry", @@ -9556,6 +9571,7 @@ "Could not start this scene.": "Tuto scénu nelze spustit.", "Could not start this workflow test.": "Tento test pracovního postupu nelze spustit.", "Could not switch projects. Showing the last loaded project.": "Projekty nelze přepnout. Zobrazuje se poslední načtený projekt.", + "Could not update handoff": "Předání se nepodařilo aktualizovat", "Could not update the default model. Try again.": "Nelze aktualizovat výchozí model. Zkuste to znovu.", "Council actions": "Akce rady", "Council boundaries": "Hranice rady", @@ -11556,6 +11572,7 @@ "minutes": "zápis", "missing": "chybějící", "Missing": "Chybějící", + "Missing artifact": "Chybějící artefakt", "Missing dependency": "Missing dependency", "Missing fields": "Chybějící pole", "Missing key": "Chybí klíč", @@ -13137,6 +13154,7 @@ "Requested URL": "Požadováno URL", "Required": "Požadovaný", "Required before approving high-risk requests": "Povinné před schválením vysoce rizikových požadavků", + "Required check incomplete": "Požadovaná kontrola není dokončena", "Required checks": "Požadované kontroly", "Required for assigned teammates": "Povinné pro přidělené spoluhráče", "Required input": "Požadovaný vstup", @@ -13260,8 +13278,11 @@ "Retry upload": "Zkuste nahrát znovu", "Retryable": "Opakovatelný", "Retrying automatically...": "Automaticky opakování...", + "Return handoff": "Zpětné předání", + "Return reason": "Důvod vrácení", "Return to an unlocked interactive Windows desktop, restart Ling if needed, then check again.": "Vraťte se na odemčenou interaktivní plochu Windows, v případě potřeby restartujte Ling a poté znovu zkontrolujte.", "Return to implementation mode": "Návrat do režimu implementace", + "Returned for repair": "Vráceno k opravě", "Reusable": "Opakovaně použitelné", "Reuse images already saved in this media project.": "Znovu použijte obrázky již uložené v tomto mediálním projektu.", "Reuse settings": "Znovu použít nastavení", @@ -13652,6 +13673,7 @@ "Schema, checksums, and package metadata": "Schéma, kontrolní součty a metadata balíčku", "Scope": "Rozsah", "Scope ID": "Rozsah ID", + "Scope unavailable": "Rozsah není k dispozici", "Screen capture and input stop. Ling never interacts with the lock screen, login window, password fields, or secure desktop.": "Zastavení snímání obrazovky a vstupu. Ling nikdy nereaguje se zamykací obrazovkou, přihlašovacím oknem, hesly ani zabezpečenou plochou.", "Screen Recording": "Nahrávání obrazovky", "Scripts can contact external services. Only run documents you trust.": "Scripts can contact external services. Only run documents you trust.", @@ -15000,6 +15022,7 @@ "Uploading avatar": "Nahrávání avatara", "Uploading...": "Nahrávání...", "Upstream": "Proti proudu", + "Upstream result unconfirmed": "Výsledek proti proudu nepotvrzený", "Upstream version": "Upstream verze", "urgent": "naléhavé", "URL image edit": "URL úprava obrázku", @@ -15196,6 +15219,7 @@ "Waiting for runner activity...": "Čekání na aktivitu běžce...", "Waiting for runner events...": "Čekání na běžecké akce...", "Waiting for sign-in": "Čekání na přihlášení", + "Waiting for source": "Čekání na zdroj", "Waiting for system confirmation and Host readback...": "Čeká se na potvrzení systému a přečtení hostitele...", "waiting for user input": "čekání na vstup uživatele", "Waiting for votes": "Čekání na hlasy", diff --git a/packages/localization/catalogs/da-DK.json b/packages/localization/catalogs/da-DK.json index 5989aecf1..03e9edd1e 100644 --- a/packages/localization/catalogs/da-DK.json +++ b/packages/localization/catalogs/da-DK.json @@ -1,6 +1,6 @@ { "locale": "da-DK", - "sourceRevision": "e134cc889637523423524b121cf71dcb37afdd3d7daf48eaea975d1c39785b2e", + "sourceRevision": "95b7d5d6546abac9c1f3ec3e54efe7bff99c84252c464896ecb9bf2245f66dfd", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -343,6 +343,7 @@ "A skill with the same identity already exists.": "66dd592d63333b2f2738e59f82a3866d9a6db17154a2cc2a752727f9a40998d1", "Abstain": "bf92ab42d052ce917d87cccce310e4351900347095f57947b3d08c1b1ff8bcf3", "Accept": "89713b9c9c1b8f659c9f49db25e4a47886dd673fee248c3f650391f09a759cef", + "Accept handoff": "13e3dc2abccf1296c34099b2080efb8c78ad82067436ff2039024f22ed8cc2e9", "Acceptance": "f190a5cb3aff17b0ee84f6ee258333d63a9cc71aa66c2e1788ebc3ae24a89b10", "Acceptance checks will be clarified before execution.": "ffd59db22fb4d3abb3c9cc67c351c818e1732dfca2d6cd18ae361a711fa4bb72", "Acceptance criteria": "d47a36f4f055810755db08b8d52e479baa4bb7a7a1f6449f71fa1ad5c20495ef", @@ -894,6 +895,7 @@ "Avatar uploaded": "d0d5a01f3f30fd933994a5950ddae3d14384d2c850c05deb50532b65aa6593ba", "Avatar, name, and a compact working brief.": "8d3706d4928090efbf7eca6683e3357f4f92732bc8be64c50dc8af8620a256c1", "Avoid triggers": "1419db0b6ddbd1f3a1632043da73529ecbcb0aef9183fd7d78e12df2942444de", + "Awaiting acceptance": "1dc7bfd9c54d73f22b4a9bdca5f741d5067a673b7f99d77e85367f6c8f049f85", "Awaiting confirmation": "d0ae0b38eac639b98f6a9b793a7add708bedbc6156963e3abc00453b235b2f3d", "Awaiting enable": "2a6b618d273346e8198806aa0d934a4bd6f5bf8b29d0780076df974ca93bf548", "Awaiting merge approval": "21837cdd561270cefc146079172511177736bb9091e9fb50d93bb072f271ecb0", @@ -1083,6 +1085,7 @@ "cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Candidate approved for draft": "59a57b9b459b3215e76b651f73f6521bc1bd71fa66bb52e046368a559db6632b", + "Candidate changed": "ca07c050cd47ab4f4d2f2fb6c60110b738af5b951a9ab708c36879365ec4532e", "Candidate changed since verification": "a2808e03661077a04403dab2204b7ce8d78310c296600bd03c5766a754f216a6", "Candidate cluster is not bound to a channel.": "6066a4e8725d065a7c2b8d2c8974a60c41c0a94124deeabd972f620ddd815786", "Candidate Clusters": "b617f8ce5325fa8984c324816b08d3a26c05dac3c3276bcc4f4ab7196222dbe4", @@ -1820,6 +1823,7 @@ "Could not start this scene.": "acb6aa181a8b842f1a8fc78344dc210cb98a45ccb6cf38ebd01beb65fe7fa27d", "Could not start this workflow test.": "7fe6f22a12127a9d74069d195a2513038cb2ff035acc4433d41e31006445e46e", "Could not switch projects. Showing the last loaded project.": "1a284203a5fd7f9d39c625017fde0d1c88180e3d2fa62b07aa7c9eb64a2e8aa6", + "Could not update handoff": "b6b7ff312171612e082d24ec92c854155d95fa6177a25cb0ac10f44e2c6110e2", "Could not update the default model. Try again.": "c87a00ab8ffb8c8c60209acf9b5cb10295a2a5e93c3e6f72dd8b2b4c316bdc16", "Council actions": "79763aae8f6334c6e29273106f3509b76114439dd686c9fa32753bca265eee32", "Council boundaries": "b4d6713050d140a9102817793dcb99d64565ee0d33d364b71f5d4d2afd234baf", @@ -3820,6 +3824,7 @@ "minutes": "90e63d85fa1ab2c8ed65222f3ebd794b1e524b4b7cf84bec451542d0451b2985", "missing": "ffa63583dfa6706b87d284b86b0d693a161e4840aad2c5cf6b5d27c3b9621f7d", "Missing": "6be36ca49ee85210c5d1ad9c377d90a9859c66d889110a2a5b0dccd390d12e20", + "Missing artifact": "e936c2df4de783be206107e353054e33ebba1c9988085200c260c7a6b8f8fc73", "Missing dependency": "5915d1e15e283f09695ad4b96ced9625bbd68aab747dc778f37aada0a7489b5c", "Missing fields": "69121d3f63d5a27ab7ce484854c065ce87e7022dc5fdfee9d778ab02515542fc", "Missing key": "0c8a17a63a322df1c40693b8469227cf5426b024673da9065f42c6cbb7c58370", @@ -5401,6 +5406,7 @@ "Requested URL": "8ae37b38fe2e415c8c641c3f2b6e9b42a11245cc8749a51a247cf0464b4c7faf", "Required": "4850b174b713d88cfc63de107830d5388929020e78abc91fc19bba7a6821625f", "Required before approving high-risk requests": "3cb612a5f43f4acbf5a6066a5da559bce858b50cdab2c2f6943bf4a05de1310a", + "Required check incomplete": "f64e6dfd1fc8cd1f2139aadf61c6ef43ecaa2ce783b2c712a56d31a574e05741", "Required checks": "f5a021846bd1a50002c0ea940f30cc97c285a118c62ff95af5c2f538584a7e26", "Required for assigned teammates": "4732aa544a8d93b886e6bcbbcc5c3314af692f8a8a812efd4844cd3589b7b63a", "Required input": "fafaaf99b5a6af521026448890a9dacaf4d47053804a34be7cdf364e13637181", @@ -5524,8 +5530,11 @@ "Retry upload": "731dc6e3f07ab1b090e925be766dd01d8e4aed2f0ad2cef600bf157bd7764500", "Retryable": "c282bd362abaadb6a38a4fdb268df44325f8bfde40f719b77fdd690180c51889", "Retrying automatically...": "220837f6132382f3e8d4fb676f31aab3dc9fabc34b8f26c2e4ced9b83ebce4ec", + "Return handoff": "1ae47e9a67b5866c28ccd52c2040500610b795d917cc6620a444c170ded79836", + "Return reason": "79f91549d760515b430db20e8f2f0c766e417826dfea15029dca20f6eb9865ac", "Return to an unlocked interactive Windows desktop, restart Ling if needed, then check again.": "bccd46e406f4d428d83a9dd510df581b52e5c28c51da4d357e3e66c21740ee0e", "Return to implementation mode": "36435baabf6c6acc0666fba73f68609f9a41d17389ea216a99f41b5036e8b6ef", + "Returned for repair": "07abb2b9ba19b479a5126883271bb99fa47e239dffb3337fb13bbe2778654158", "Reusable": "8ded2b384940a83eb986da575b9efa40f1b03fd1d626bd91964cbb11502e0b42", "Reuse images already saved in this media project.": "3c3dd902fab18f841a51942e3a4e92a93c8d39ddd8b48ae9ee017982a26fa1c1", "Reuse settings": "17507cf7d05b478d392e9aa85d9c60046c0e2a185959546ac0864a89b95ec744", @@ -5916,6 +5925,7 @@ "Schema, checksums, and package metadata": "d91ffc3c0cdd2c26d37ba9cf60de0a718343a3969303718321092f0367a68808", "Scope": "b073f6c68ef8721107fd9815b19b2c35ec111d526b75c2123d1111ba64424000", "Scope ID": "4a201ef6cbd70a0728fc5c62eb87fd73ac56e470c853a3112ebf27617e49ff76", + "Scope unavailable": "38a32037c55100c3ad97878ca4e361a734a3422fb35bdbaeacebf4babb16cdf3", "Screen capture and input stop. Ling never interacts with the lock screen, login window, password fields, or secure desktop.": "cece9f092190c9e9e4c9d54f7da59256e922a56556c843c4e2b44fb1a67b0c5f", "Screen Recording": "bc3c742893dc7aff9c88fad0aae3f6749a6679a45cbafb0981f0e2ddaed5c49c", "Scripts can contact external services. Only run documents you trust.": "aa3560983d2f6c2656f1a9329fcb9434fa520d6f64bcccf0e6ae91c82ddbb0dd", @@ -7264,6 +7274,7 @@ "Uploading avatar": "995b81efc53e808131bd98d546fb3fa493a44b9b43b752237e590bf5a2e487c8", "Uploading...": "72cb29c90ccd8361ee82d02fabe81a3f01605c7b8fea4c9996fc01d84e3fbb48", "Upstream": "94adc696fd24e9fd67e83ba256a9f33bf1d7191d4a5e38ee8c69597cd89e4777", + "Upstream result unconfirmed": "d345a9ef65cf22ec93d4a7a0457157bcdc8696a90ea8e72690d04b25d7447d94", "Upstream version": "7927b36324919e81ae646c1455b608aadcecdedb285d9985d63d80572c3d5214", "urgent": "f9d37c23fcc0f03c15a86aba71dce01dd0baa7a1568180e60c2347a5863151bc", "URL image edit": "444b0006116b72fd13097e57758caf2edaa14133af89617d79ed238d71f518ff", @@ -7460,6 +7471,7 @@ "Waiting for runner activity...": "d0e7a1fd3763c4062fe8ac59255b9281effe77d2fd1d79f9ae2498e56ac3b96f", "Waiting for runner events...": "dc60b71d9ccb374ef6e53cc9496c05fd15dcd7b4955ec8ae7603cf360af7e85e", "Waiting for sign-in": "749a343a3a25c1df679ee6d6e74abb72e08ef956bfa15434407e61934dc054c9", + "Waiting for source": "8ac1608b4d56ce4dcc84a6d489fb055d7e9281efa150baa1fd5c2be7f2dd220b", "Waiting for system confirmation and Host readback...": "952e73792f0715e2d1f30ef0b0c03c4353cd9ab96caa71856bbce7dc41e2d161", "waiting for user input": "f43ef097687b1d8c8800577eefa3f7e10d0c82236cd0017f983d131e8e673174", "Waiting for votes": "bbb50edc12d1ce791069a8e84ca6e73a255b796306d32cdc1414987b986e172f", @@ -8079,6 +8091,7 @@ "A skill with the same identity already exists.": "En færdighed med samme identitet findes allerede.", "Abstain": "Afholde sig", "Accept": "Acceptere", + "Accept handoff": "Accepter overdragelse", "Acceptance": "Accept", "Acceptance checks will be clarified before execution.": "Acceptkontrol vil blive afklaret inden udførelse.", "Acceptance criteria": "Acceptkriterier", @@ -8630,6 +8643,7 @@ "Avatar uploaded": "Avatar uploadet", "Avatar, name, and a compact working brief.": "Avatar, navn og et kompakt arbejdskort.", "Avoid triggers": "Undgå triggere", + "Awaiting acceptance": "Afventer accept", "Awaiting confirmation": "Afventer bekræftelse", "Awaiting enable": "Afventer aktivering", "Awaiting merge approval": "Afventer fusionsgodkendelse", @@ -8819,6 +8833,7 @@ "cancelling": "Annullerer", "Cancelling": "Annullerer", "Candidate approved for draft": "Kandidat godkendt til udkast", + "Candidate changed": "Kandidat ændret", "Candidate changed since verification": "Kandidat ændret siden verifikation", "Candidate cluster is not bound to a channel.": "Kandidatklyngen er ikke bundet til en kanal.", "Candidate Clusters": "Kandidatklynger", @@ -9556,6 +9571,7 @@ "Could not start this scene.": "Kunne ikke starte denne scene.", "Could not start this workflow test.": "Denne workflowtest kunne ikke startes.", "Could not switch projects. Showing the last loaded project.": "Kunne ikke skifte projekt. Viser det sidst indlæste projekt.", + "Could not update handoff": "Kunne ikke opdatere overdragelse", "Could not update the default model. Try again.": "Kunne ikke opdatere standardmodellen. Prøv igen.", "Council actions": "Rådets foranstaltninger", "Council boundaries": "Rådets grænser", @@ -11556,6 +11572,7 @@ "minutes": "minutter", "missing": "manglende", "Missing": "Manglende", + "Missing artifact": "Manglende artefakt", "Missing dependency": "Missing dependency", "Missing fields": "Manglende felter", "Missing key": "Manglende nøgle", @@ -13137,6 +13154,7 @@ "Requested URL": "Anmodet URL", "Required": "Påkrævet", "Required before approving high-risk requests": "Påkrævet før godkendelse af højrisikoanmodninger", + "Required check incomplete": "Påkrævet kontrol ufuldstændig", "Required checks": "Nødvendige kontroller", "Required for assigned teammates": "Påkrævet for tildelte holdkammerater", "Required input": "Påkrævet input", @@ -13260,8 +13278,11 @@ "Retry upload": "Prøv at uploade igen", "Retryable": "Kan prøves igen", "Retrying automatically...": "Forsøger automatisk igen...", + "Return handoff": "Retur aflevering", + "Return reason": "Årsag til retur", "Return to an unlocked interactive Windows desktop, restart Ling if needed, then check again.": "Vend tilbage til et ulåst interaktivt Windows-skrivebord, genstart Ling om nødvendigt, og tjek derefter igen.", "Return to implementation mode": "Vend tilbage til implementeringstilstand", + "Returned for repair": "Returneres til reparation", "Reusable": "Genanvendelig", "Reuse images already saved in this media project.": "Genbrug billeder, der allerede er gemt i dette medieprojekt.", "Reuse settings": "Genbrug indstillinger", @@ -13652,6 +13673,7 @@ "Schema, checksums, and package metadata": "Skema, kontrolsummer og pakkemetadata", "Scope": "Omfang", "Scope ID": "Omfang ID", + "Scope unavailable": "Omfang ikke tilgængeligt", "Screen capture and input stop. Ling never interacts with the lock screen, login window, password fields, or secure desktop.": "Skærmoptagelse og inputstop. Ling interagerer aldrig med låseskærmen, loginvinduet, adgangskodefelterne eller det sikre skrivebord.", "Screen Recording": "Skærmoptagelse", "Scripts can contact external services. Only run documents you trust.": "Scripts can contact external services. Only run documents you trust.", @@ -15000,6 +15022,7 @@ "Uploading avatar": "Uploader avatar", "Uploading...": "Uploader...", "Upstream": "Opstrøms", + "Upstream result unconfirmed": "Upstream resultat ubekræftet", "Upstream version": "Upstream version", "urgent": "presserende", "URL image edit": "URL billedredigering", @@ -15196,6 +15219,7 @@ "Waiting for runner activity...": "Venter på løberaktivitet...", "Waiting for runner events...": "Venter på løberevents...", "Waiting for sign-in": "Venter på login", + "Waiting for source": "Venter på kilde", "Waiting for system confirmation and Host readback...": "Venter på systembekræftelse og værtsgenlæsning...", "waiting for user input": "venter på brugerinput", "Waiting for votes": "Venter på stemmer", diff --git a/packages/localization/catalogs/de-DE.json b/packages/localization/catalogs/de-DE.json index 1dc620e20..3671e7ffa 100644 --- a/packages/localization/catalogs/de-DE.json +++ b/packages/localization/catalogs/de-DE.json @@ -1,6 +1,6 @@ { "locale": "de-DE", - "sourceRevision": "e134cc889637523423524b121cf71dcb37afdd3d7daf48eaea975d1c39785b2e", + "sourceRevision": "95b7d5d6546abac9c1f3ec3e54efe7bff99c84252c464896ecb9bf2245f66dfd", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -343,6 +343,7 @@ "A skill with the same identity already exists.": "66dd592d63333b2f2738e59f82a3866d9a6db17154a2cc2a752727f9a40998d1", "Abstain": "bf92ab42d052ce917d87cccce310e4351900347095f57947b3d08c1b1ff8bcf3", "Accept": "89713b9c9c1b8f659c9f49db25e4a47886dd673fee248c3f650391f09a759cef", + "Accept handoff": "13e3dc2abccf1296c34099b2080efb8c78ad82067436ff2039024f22ed8cc2e9", "Acceptance": "f190a5cb3aff17b0ee84f6ee258333d63a9cc71aa66c2e1788ebc3ae24a89b10", "Acceptance checks will be clarified before execution.": "ffd59db22fb4d3abb3c9cc67c351c818e1732dfca2d6cd18ae361a711fa4bb72", "Acceptance criteria": "d47a36f4f055810755db08b8d52e479baa4bb7a7a1f6449f71fa1ad5c20495ef", @@ -894,6 +895,7 @@ "Avatar uploaded": "d0d5a01f3f30fd933994a5950ddae3d14384d2c850c05deb50532b65aa6593ba", "Avatar, name, and a compact working brief.": "8d3706d4928090efbf7eca6683e3357f4f92732bc8be64c50dc8af8620a256c1", "Avoid triggers": "1419db0b6ddbd1f3a1632043da73529ecbcb0aef9183fd7d78e12df2942444de", + "Awaiting acceptance": "1dc7bfd9c54d73f22b4a9bdca5f741d5067a673b7f99d77e85367f6c8f049f85", "Awaiting confirmation": "d0ae0b38eac639b98f6a9b793a7add708bedbc6156963e3abc00453b235b2f3d", "Awaiting enable": "2a6b618d273346e8198806aa0d934a4bd6f5bf8b29d0780076df974ca93bf548", "Awaiting merge approval": "21837cdd561270cefc146079172511177736bb9091e9fb50d93bb072f271ecb0", @@ -1083,6 +1085,7 @@ "cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Candidate approved for draft": "59a57b9b459b3215e76b651f73f6521bc1bd71fa66bb52e046368a559db6632b", + "Candidate changed": "ca07c050cd47ab4f4d2f2fb6c60110b738af5b951a9ab708c36879365ec4532e", "Candidate changed since verification": "a2808e03661077a04403dab2204b7ce8d78310c296600bd03c5766a754f216a6", "Candidate cluster is not bound to a channel.": "6066a4e8725d065a7c2b8d2c8974a60c41c0a94124deeabd972f620ddd815786", "Candidate Clusters": "b617f8ce5325fa8984c324816b08d3a26c05dac3c3276bcc4f4ab7196222dbe4", @@ -1820,6 +1823,7 @@ "Could not start this scene.": "acb6aa181a8b842f1a8fc78344dc210cb98a45ccb6cf38ebd01beb65fe7fa27d", "Could not start this workflow test.": "7fe6f22a12127a9d74069d195a2513038cb2ff035acc4433d41e31006445e46e", "Could not switch projects. Showing the last loaded project.": "1a284203a5fd7f9d39c625017fde0d1c88180e3d2fa62b07aa7c9eb64a2e8aa6", + "Could not update handoff": "b6b7ff312171612e082d24ec92c854155d95fa6177a25cb0ac10f44e2c6110e2", "Could not update the default model. Try again.": "c87a00ab8ffb8c8c60209acf9b5cb10295a2a5e93c3e6f72dd8b2b4c316bdc16", "Council actions": "79763aae8f6334c6e29273106f3509b76114439dd686c9fa32753bca265eee32", "Council boundaries": "b4d6713050d140a9102817793dcb99d64565ee0d33d364b71f5d4d2afd234baf", @@ -3820,6 +3824,7 @@ "minutes": "90e63d85fa1ab2c8ed65222f3ebd794b1e524b4b7cf84bec451542d0451b2985", "missing": "ffa63583dfa6706b87d284b86b0d693a161e4840aad2c5cf6b5d27c3b9621f7d", "Missing": "6be36ca49ee85210c5d1ad9c377d90a9859c66d889110a2a5b0dccd390d12e20", + "Missing artifact": "e936c2df4de783be206107e353054e33ebba1c9988085200c260c7a6b8f8fc73", "Missing dependency": "5915d1e15e283f09695ad4b96ced9625bbd68aab747dc778f37aada0a7489b5c", "Missing fields": "69121d3f63d5a27ab7ce484854c065ce87e7022dc5fdfee9d778ab02515542fc", "Missing key": "0c8a17a63a322df1c40693b8469227cf5426b024673da9065f42c6cbb7c58370", @@ -5401,6 +5406,7 @@ "Requested URL": "8ae37b38fe2e415c8c641c3f2b6e9b42a11245cc8749a51a247cf0464b4c7faf", "Required": "4850b174b713d88cfc63de107830d5388929020e78abc91fc19bba7a6821625f", "Required before approving high-risk requests": "3cb612a5f43f4acbf5a6066a5da559bce858b50cdab2c2f6943bf4a05de1310a", + "Required check incomplete": "f64e6dfd1fc8cd1f2139aadf61c6ef43ecaa2ce783b2c712a56d31a574e05741", "Required checks": "f5a021846bd1a50002c0ea940f30cc97c285a118c62ff95af5c2f538584a7e26", "Required for assigned teammates": "4732aa544a8d93b886e6bcbbcc5c3314af692f8a8a812efd4844cd3589b7b63a", "Required input": "fafaaf99b5a6af521026448890a9dacaf4d47053804a34be7cdf364e13637181", @@ -5524,8 +5530,11 @@ "Retry upload": "731dc6e3f07ab1b090e925be766dd01d8e4aed2f0ad2cef600bf157bd7764500", "Retryable": "c282bd362abaadb6a38a4fdb268df44325f8bfde40f719b77fdd690180c51889", "Retrying automatically...": "220837f6132382f3e8d4fb676f31aab3dc9fabc34b8f26c2e4ced9b83ebce4ec", + "Return handoff": "1ae47e9a67b5866c28ccd52c2040500610b795d917cc6620a444c170ded79836", + "Return reason": "79f91549d760515b430db20e8f2f0c766e417826dfea15029dca20f6eb9865ac", "Return to an unlocked interactive Windows desktop, restart Ling if needed, then check again.": "bccd46e406f4d428d83a9dd510df581b52e5c28c51da4d357e3e66c21740ee0e", "Return to implementation mode": "36435baabf6c6acc0666fba73f68609f9a41d17389ea216a99f41b5036e8b6ef", + "Returned for repair": "07abb2b9ba19b479a5126883271bb99fa47e239dffb3337fb13bbe2778654158", "Reusable": "8ded2b384940a83eb986da575b9efa40f1b03fd1d626bd91964cbb11502e0b42", "Reuse images already saved in this media project.": "3c3dd902fab18f841a51942e3a4e92a93c8d39ddd8b48ae9ee017982a26fa1c1", "Reuse settings": "17507cf7d05b478d392e9aa85d9c60046c0e2a185959546ac0864a89b95ec744", @@ -5916,6 +5925,7 @@ "Schema, checksums, and package metadata": "d91ffc3c0cdd2c26d37ba9cf60de0a718343a3969303718321092f0367a68808", "Scope": "b073f6c68ef8721107fd9815b19b2c35ec111d526b75c2123d1111ba64424000", "Scope ID": "4a201ef6cbd70a0728fc5c62eb87fd73ac56e470c853a3112ebf27617e49ff76", + "Scope unavailable": "38a32037c55100c3ad97878ca4e361a734a3422fb35bdbaeacebf4babb16cdf3", "Screen capture and input stop. Ling never interacts with the lock screen, login window, password fields, or secure desktop.": "cece9f092190c9e9e4c9d54f7da59256e922a56556c843c4e2b44fb1a67b0c5f", "Screen Recording": "bc3c742893dc7aff9c88fad0aae3f6749a6679a45cbafb0981f0e2ddaed5c49c", "Scripts can contact external services. Only run documents you trust.": "aa3560983d2f6c2656f1a9329fcb9434fa520d6f64bcccf0e6ae91c82ddbb0dd", @@ -7264,6 +7274,7 @@ "Uploading avatar": "995b81efc53e808131bd98d546fb3fa493a44b9b43b752237e590bf5a2e487c8", "Uploading...": "72cb29c90ccd8361ee82d02fabe81a3f01605c7b8fea4c9996fc01d84e3fbb48", "Upstream": "94adc696fd24e9fd67e83ba256a9f33bf1d7191d4a5e38ee8c69597cd89e4777", + "Upstream result unconfirmed": "d345a9ef65cf22ec93d4a7a0457157bcdc8696a90ea8e72690d04b25d7447d94", "Upstream version": "7927b36324919e81ae646c1455b608aadcecdedb285d9985d63d80572c3d5214", "urgent": "f9d37c23fcc0f03c15a86aba71dce01dd0baa7a1568180e60c2347a5863151bc", "URL image edit": "444b0006116b72fd13097e57758caf2edaa14133af89617d79ed238d71f518ff", @@ -7460,6 +7471,7 @@ "Waiting for runner activity...": "d0e7a1fd3763c4062fe8ac59255b9281effe77d2fd1d79f9ae2498e56ac3b96f", "Waiting for runner events...": "dc60b71d9ccb374ef6e53cc9496c05fd15dcd7b4955ec8ae7603cf360af7e85e", "Waiting for sign-in": "749a343a3a25c1df679ee6d6e74abb72e08ef956bfa15434407e61934dc054c9", + "Waiting for source": "8ac1608b4d56ce4dcc84a6d489fb055d7e9281efa150baa1fd5c2be7f2dd220b", "Waiting for system confirmation and Host readback...": "952e73792f0715e2d1f30ef0b0c03c4353cd9ab96caa71856bbce7dc41e2d161", "waiting for user input": "f43ef097687b1d8c8800577eefa3f7e10d0c82236cd0017f983d131e8e673174", "Waiting for votes": "bbb50edc12d1ce791069a8e84ca6e73a255b796306d32cdc1414987b986e172f", @@ -8079,6 +8091,7 @@ "A skill with the same identity already exists.": "Ein Skill mit derselben Identität ist bereits vorhanden.", "Abstain": "Verzichten", "Accept": "Akzeptieren", + "Accept handoff": "Akzeptieren Sie die Übergabe", "Acceptance": "Annahme", "Acceptance checks will be clarified before execution.": "Abnahmeprüfungen werden vor der Ausführung geklärt.", "Acceptance criteria": "Akzeptanzkriterien", @@ -8630,6 +8643,7 @@ "Avatar uploaded": "Avatar hochgeladen", "Avatar, name, and a compact working brief.": "Avatar, Name und ein kompaktes Arbeitsbriefing.", "Avoid triggers": "Vermeiden Sie Auslöser", + "Awaiting acceptance": "Warten auf Akzeptanz", "Awaiting confirmation": "Warten auf Bestätigung", "Awaiting enable": "Warten auf Aktivierung", "Awaiting merge approval": "Warten auf Genehmigung der Zusammenführung", @@ -8819,6 +8833,7 @@ "cancelling": "Stornieren", "Cancelling": "Stornieren", "Candidate approved for draft": "Der Kandidat wurde für den Entwurf zugelassen", + "Candidate changed": "Der Kandidat hat sich geändert", "Candidate changed since verification": "Der Kandidat hat sich seit der Überprüfung geändert", "Candidate cluster is not bound to a channel.": "Der Kandidatencluster ist nicht an einen Kanal gebunden.", "Candidate Clusters": "Kandidatencluster", @@ -9556,6 +9571,7 @@ "Could not start this scene.": "Diese Szene konnte nicht gestartet werden.", "Could not start this workflow test.": "Dieser Workflow-Test konnte nicht gestartet werden.", "Could not switch projects. Showing the last loaded project.": "Projekte konnten nicht gewechselt werden. Zeigt das zuletzt geladene Projekt.", + "Could not update handoff": "Übergabe konnte nicht aktualisiert werden", "Could not update the default model. Try again.": "Das Standardmodell konnte nicht aktualisiert werden. Versuchen Sie es erneut.", "Council actions": "Maßnahmen des Rates", "Council boundaries": "Gemeindegrenzen", @@ -11556,6 +11572,7 @@ "minutes": "Minuten", "missing": "fehlen", "Missing": "Fehlen", + "Missing artifact": "Fehlendes Artefakt", "Missing dependency": "Missing dependency", "Missing fields": "Fehlende Felder", "Missing key": "Fehlender Schlüssel", @@ -13137,6 +13154,7 @@ "Requested URL": "Angefordert URL", "Required": "Erforderlich", "Required before approving high-risk requests": "Erforderlich vor der Genehmigung von Hochrisikoanfragen", + "Required check incomplete": "Erforderlicher Scheck unvollständig", "Required checks": "Erforderliche Kontrollen", "Required for assigned teammates": "Erforderlich für zugewiesene Teamkollegen", "Required input": "Erforderliche Eingabe", @@ -13260,8 +13278,11 @@ "Retry upload": "Versuchen Sie den Upload erneut", "Retryable": "Wiederholbar", "Retrying automatically...": "Automatischer Wiederholungsversuch...", + "Return handoff": "Rückübergabe", + "Return reason": "Rückgabegrund", "Return to an unlocked interactive Windows desktop, restart Ling if needed, then check again.": "Kehren Sie zu einem entsperrten interaktiven Windows-Desktop zurück, starten Sie Ling bei Bedarf neu und überprüfen Sie es dann erneut.", "Return to implementation mode": "Kehren Sie zum Implementierungsmodus zurück", + "Returned for repair": "Zur Reparatur zurückgeschickt", "Reusable": "Wiederverwendbar", "Reuse images already saved in this media project.": "Bereits in diesem Medienprojekt gespeicherte Bilder wiederverwenden.", "Reuse settings": "Einstellungen wiederverwenden", @@ -13652,6 +13673,7 @@ "Schema, checksums, and package metadata": "Schema, Prüfsummen und Paketmetadaten", "Scope": "Umfang", "Scope ID": "Geltungsbereich ID", + "Scope unavailable": "Bereich nicht verfügbar", "Screen capture and input stop. Ling never interacts with the lock screen, login window, password fields, or secure desktop.": "Bildschirmaufnahme und Eingabestopp. Ling interagiert nie mit dem Sperrbildschirm, dem Anmeldefenster, den Passwortfeldern oder dem sicheren Desktop.", "Screen Recording": "Bildschirmaufzeichnung", "Scripts can contact external services. Only run documents you trust.": "Scripts can contact external services. Only run documents you trust.", @@ -15000,6 +15022,7 @@ "Uploading avatar": "Avatar hochladen", "Uploading...": "Hochladen...", "Upstream": "Stromaufwärts", + "Upstream result unconfirmed": "Upstream-Ergebnis unbestätigt", "Upstream version": "Upstream-Version", "urgent": "dringend", "URL image edit": "URL Bildbearbeitung", @@ -15196,6 +15219,7 @@ "Waiting for runner activity...": "Warten auf Läuferaktivität...", "Waiting for runner events...": "Warten auf Läufer-Events...", "Waiting for sign-in": "Warten auf die Anmeldung", + "Waiting for source": "Warten auf Quelle", "Waiting for system confirmation and Host readback...": "Warten auf Systembestätigung und Host-Rückmeldung ...", "waiting for user input": "Warten auf Benutzereingaben", "Waiting for votes": "Warten auf Stimmen", diff --git a/packages/localization/catalogs/el-GR.json b/packages/localization/catalogs/el-GR.json index 7973d4592..5eb115c09 100644 --- a/packages/localization/catalogs/el-GR.json +++ b/packages/localization/catalogs/el-GR.json @@ -1,6 +1,6 @@ { "locale": "el-GR", - "sourceRevision": "e134cc889637523423524b121cf71dcb37afdd3d7daf48eaea975d1c39785b2e", + "sourceRevision": "95b7d5d6546abac9c1f3ec3e54efe7bff99c84252c464896ecb9bf2245f66dfd", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -343,6 +343,7 @@ "A skill with the same identity already exists.": "66dd592d63333b2f2738e59f82a3866d9a6db17154a2cc2a752727f9a40998d1", "Abstain": "bf92ab42d052ce917d87cccce310e4351900347095f57947b3d08c1b1ff8bcf3", "Accept": "89713b9c9c1b8f659c9f49db25e4a47886dd673fee248c3f650391f09a759cef", + "Accept handoff": "13e3dc2abccf1296c34099b2080efb8c78ad82067436ff2039024f22ed8cc2e9", "Acceptance": "f190a5cb3aff17b0ee84f6ee258333d63a9cc71aa66c2e1788ebc3ae24a89b10", "Acceptance checks will be clarified before execution.": "ffd59db22fb4d3abb3c9cc67c351c818e1732dfca2d6cd18ae361a711fa4bb72", "Acceptance criteria": "d47a36f4f055810755db08b8d52e479baa4bb7a7a1f6449f71fa1ad5c20495ef", @@ -894,6 +895,7 @@ "Avatar uploaded": "d0d5a01f3f30fd933994a5950ddae3d14384d2c850c05deb50532b65aa6593ba", "Avatar, name, and a compact working brief.": "8d3706d4928090efbf7eca6683e3357f4f92732bc8be64c50dc8af8620a256c1", "Avoid triggers": "1419db0b6ddbd1f3a1632043da73529ecbcb0aef9183fd7d78e12df2942444de", + "Awaiting acceptance": "1dc7bfd9c54d73f22b4a9bdca5f741d5067a673b7f99d77e85367f6c8f049f85", "Awaiting confirmation": "d0ae0b38eac639b98f6a9b793a7add708bedbc6156963e3abc00453b235b2f3d", "Awaiting enable": "2a6b618d273346e8198806aa0d934a4bd6f5bf8b29d0780076df974ca93bf548", "Awaiting merge approval": "21837cdd561270cefc146079172511177736bb9091e9fb50d93bb072f271ecb0", @@ -1083,6 +1085,7 @@ "cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Candidate approved for draft": "59a57b9b459b3215e76b651f73f6521bc1bd71fa66bb52e046368a559db6632b", + "Candidate changed": "ca07c050cd47ab4f4d2f2fb6c60110b738af5b951a9ab708c36879365ec4532e", "Candidate changed since verification": "a2808e03661077a04403dab2204b7ce8d78310c296600bd03c5766a754f216a6", "Candidate cluster is not bound to a channel.": "6066a4e8725d065a7c2b8d2c8974a60c41c0a94124deeabd972f620ddd815786", "Candidate Clusters": "b617f8ce5325fa8984c324816b08d3a26c05dac3c3276bcc4f4ab7196222dbe4", @@ -1820,6 +1823,7 @@ "Could not start this scene.": "acb6aa181a8b842f1a8fc78344dc210cb98a45ccb6cf38ebd01beb65fe7fa27d", "Could not start this workflow test.": "7fe6f22a12127a9d74069d195a2513038cb2ff035acc4433d41e31006445e46e", "Could not switch projects. Showing the last loaded project.": "1a284203a5fd7f9d39c625017fde0d1c88180e3d2fa62b07aa7c9eb64a2e8aa6", + "Could not update handoff": "b6b7ff312171612e082d24ec92c854155d95fa6177a25cb0ac10f44e2c6110e2", "Could not update the default model. Try again.": "c87a00ab8ffb8c8c60209acf9b5cb10295a2a5e93c3e6f72dd8b2b4c316bdc16", "Council actions": "79763aae8f6334c6e29273106f3509b76114439dd686c9fa32753bca265eee32", "Council boundaries": "b4d6713050d140a9102817793dcb99d64565ee0d33d364b71f5d4d2afd234baf", @@ -3820,6 +3824,7 @@ "minutes": "90e63d85fa1ab2c8ed65222f3ebd794b1e524b4b7cf84bec451542d0451b2985", "missing": "ffa63583dfa6706b87d284b86b0d693a161e4840aad2c5cf6b5d27c3b9621f7d", "Missing": "6be36ca49ee85210c5d1ad9c377d90a9859c66d889110a2a5b0dccd390d12e20", + "Missing artifact": "e936c2df4de783be206107e353054e33ebba1c9988085200c260c7a6b8f8fc73", "Missing dependency": "5915d1e15e283f09695ad4b96ced9625bbd68aab747dc778f37aada0a7489b5c", "Missing fields": "69121d3f63d5a27ab7ce484854c065ce87e7022dc5fdfee9d778ab02515542fc", "Missing key": "0c8a17a63a322df1c40693b8469227cf5426b024673da9065f42c6cbb7c58370", @@ -5401,6 +5406,7 @@ "Requested URL": "8ae37b38fe2e415c8c641c3f2b6e9b42a11245cc8749a51a247cf0464b4c7faf", "Required": "4850b174b713d88cfc63de107830d5388929020e78abc91fc19bba7a6821625f", "Required before approving high-risk requests": "3cb612a5f43f4acbf5a6066a5da559bce858b50cdab2c2f6943bf4a05de1310a", + "Required check incomplete": "f64e6dfd1fc8cd1f2139aadf61c6ef43ecaa2ce783b2c712a56d31a574e05741", "Required checks": "f5a021846bd1a50002c0ea940f30cc97c285a118c62ff95af5c2f538584a7e26", "Required for assigned teammates": "4732aa544a8d93b886e6bcbbcc5c3314af692f8a8a812efd4844cd3589b7b63a", "Required input": "fafaaf99b5a6af521026448890a9dacaf4d47053804a34be7cdf364e13637181", @@ -5524,8 +5530,11 @@ "Retry upload": "731dc6e3f07ab1b090e925be766dd01d8e4aed2f0ad2cef600bf157bd7764500", "Retryable": "c282bd362abaadb6a38a4fdb268df44325f8bfde40f719b77fdd690180c51889", "Retrying automatically...": "220837f6132382f3e8d4fb676f31aab3dc9fabc34b8f26c2e4ced9b83ebce4ec", + "Return handoff": "1ae47e9a67b5866c28ccd52c2040500610b795d917cc6620a444c170ded79836", + "Return reason": "79f91549d760515b430db20e8f2f0c766e417826dfea15029dca20f6eb9865ac", "Return to an unlocked interactive Windows desktop, restart Ling if needed, then check again.": "bccd46e406f4d428d83a9dd510df581b52e5c28c51da4d357e3e66c21740ee0e", "Return to implementation mode": "36435baabf6c6acc0666fba73f68609f9a41d17389ea216a99f41b5036e8b6ef", + "Returned for repair": "07abb2b9ba19b479a5126883271bb99fa47e239dffb3337fb13bbe2778654158", "Reusable": "8ded2b384940a83eb986da575b9efa40f1b03fd1d626bd91964cbb11502e0b42", "Reuse images already saved in this media project.": "3c3dd902fab18f841a51942e3a4e92a93c8d39ddd8b48ae9ee017982a26fa1c1", "Reuse settings": "17507cf7d05b478d392e9aa85d9c60046c0e2a185959546ac0864a89b95ec744", @@ -5916,6 +5925,7 @@ "Schema, checksums, and package metadata": "d91ffc3c0cdd2c26d37ba9cf60de0a718343a3969303718321092f0367a68808", "Scope": "b073f6c68ef8721107fd9815b19b2c35ec111d526b75c2123d1111ba64424000", "Scope ID": "4a201ef6cbd70a0728fc5c62eb87fd73ac56e470c853a3112ebf27617e49ff76", + "Scope unavailable": "38a32037c55100c3ad97878ca4e361a734a3422fb35bdbaeacebf4babb16cdf3", "Screen capture and input stop. Ling never interacts with the lock screen, login window, password fields, or secure desktop.": "cece9f092190c9e9e4c9d54f7da59256e922a56556c843c4e2b44fb1a67b0c5f", "Screen Recording": "bc3c742893dc7aff9c88fad0aae3f6749a6679a45cbafb0981f0e2ddaed5c49c", "Scripts can contact external services. Only run documents you trust.": "aa3560983d2f6c2656f1a9329fcb9434fa520d6f64bcccf0e6ae91c82ddbb0dd", @@ -7264,6 +7274,7 @@ "Uploading avatar": "995b81efc53e808131bd98d546fb3fa493a44b9b43b752237e590bf5a2e487c8", "Uploading...": "72cb29c90ccd8361ee82d02fabe81a3f01605c7b8fea4c9996fc01d84e3fbb48", "Upstream": "94adc696fd24e9fd67e83ba256a9f33bf1d7191d4a5e38ee8c69597cd89e4777", + "Upstream result unconfirmed": "d345a9ef65cf22ec93d4a7a0457157bcdc8696a90ea8e72690d04b25d7447d94", "Upstream version": "7927b36324919e81ae646c1455b608aadcecdedb285d9985d63d80572c3d5214", "urgent": "f9d37c23fcc0f03c15a86aba71dce01dd0baa7a1568180e60c2347a5863151bc", "URL image edit": "444b0006116b72fd13097e57758caf2edaa14133af89617d79ed238d71f518ff", @@ -7460,6 +7471,7 @@ "Waiting for runner activity...": "d0e7a1fd3763c4062fe8ac59255b9281effe77d2fd1d79f9ae2498e56ac3b96f", "Waiting for runner events...": "dc60b71d9ccb374ef6e53cc9496c05fd15dcd7b4955ec8ae7603cf360af7e85e", "Waiting for sign-in": "749a343a3a25c1df679ee6d6e74abb72e08ef956bfa15434407e61934dc054c9", + "Waiting for source": "8ac1608b4d56ce4dcc84a6d489fb055d7e9281efa150baa1fd5c2be7f2dd220b", "Waiting for system confirmation and Host readback...": "952e73792f0715e2d1f30ef0b0c03c4353cd9ab96caa71856bbce7dc41e2d161", "waiting for user input": "f43ef097687b1d8c8800577eefa3f7e10d0c82236cd0017f983d131e8e673174", "Waiting for votes": "bbb50edc12d1ce791069a8e84ca6e73a255b796306d32cdc1414987b986e172f", @@ -8079,6 +8091,7 @@ "A skill with the same identity already exists.": "Υπάρχει ήδη μια ικανότητα με την ίδια ταυτότητα.", "Abstain": "Απέχω", "Accept": "Αποδέχομαι", + "Accept handoff": "Αποδεχτείτε την παράδοση", "Acceptance": "Αποδοχή", "Acceptance checks will be clarified before execution.": "Οι έλεγχοι αποδοχής θα διευκρινιστούν πριν από την εκτέλεση.", "Acceptance criteria": "Κριτήρια αποδοχής", @@ -8630,6 +8643,7 @@ "Avatar uploaded": "Το Avatar μεταφορτώθηκε", "Avatar, name, and a compact working brief.": "Avatar, όνομα και ένα συμπαγές φυλλάδιο εργασίας.", "Avoid triggers": "Αποφύγετε τα ερεθίσματα", + "Awaiting acceptance": "Εν αναμονή της αποδοχής", "Awaiting confirmation": "Εν αναμονή επιβεβαίωσης", "Awaiting enable": "Εν αναμονή ενεργοποίηση", "Awaiting merge approval": "Αναμονή έγκρισης συγχώνευσης", @@ -8819,6 +8833,7 @@ "cancelling": "Ακύρωση", "Cancelling": "Ακύρωση", "Candidate approved for draft": "Εγκρίθηκε ο υποψήφιος για σχέδιο", + "Candidate changed": "Ο υποψήφιος άλλαξε", "Candidate changed since verification": "Ο υποψήφιος άλλαξε από την επαλήθευση", "Candidate cluster is not bound to a channel.": "Το σύμπλεγμα υποψηφίων δεν δεσμεύεται σε κανάλι.", "Candidate Clusters": "Συστάδες υποψηφίων", @@ -9556,6 +9571,7 @@ "Could not start this scene.": "Δεν ήταν δυνατή η έναρξη αυτής της σκηνής.", "Could not start this workflow test.": "Δεν ήταν δυνατή η έναρξη αυτής της δοκιμής ροής εργασίας.", "Could not switch projects. Showing the last loaded project.": "Δεν ήταν δυνατή η εναλλαγή έργων. Εμφάνιση του τελευταίου φορτωμένου έργου.", + "Could not update handoff": "Δεν ήταν δυνατή η ενημέρωση της παράδοσης", "Could not update the default model. Try again.": "Δεν ήταν δυνατή η ενημέρωση του προεπιλεγμένου μοντέλου. Προσπαθήστε ξανά.", "Council actions": "Δράσεις του Συμβουλίου", "Council boundaries": "τα όρια του Συμβουλίου", @@ -11556,6 +11572,7 @@ "minutes": "πρακτικά", "missing": "απών", "Missing": "Απών", + "Missing artifact": "Λείπει τεχνούργημα", "Missing dependency": "Missing dependency", "Missing fields": "Λείπουν πεδία", "Missing key": "Λείπει το κλειδί", @@ -13137,6 +13154,7 @@ "Requested URL": "Ζητήθηκε URL", "Required": "Υποχρεούμαι", "Required before approving high-risk requests": "Απαιτείται πριν από την έγκριση αιτημάτων υψηλού κινδύνου", + "Required check incomplete": "Ο απαιτούμενος έλεγχος δεν έχει ολοκληρωθεί", "Required checks": "Απαιτούμενοι έλεγχοι", "Required for assigned teammates": "Απαιτείται για τους διορισμένους συμπαίκτες", "Required input": "Απαιτούμενη εισαγωγή", @@ -13260,8 +13278,11 @@ "Retry upload": "Δοκιμάστε ξανά τη μεταφόρτωση", "Retryable": "Δοκιμή εκ νέου", "Retrying automatically...": "Επανάληψη αυτόματης προσπάθειας...", + "Return handoff": "Επιστροφή παράδοση", + "Return reason": "Λόγος επιστροφής", "Return to an unlocked interactive Windows desktop, restart Ling if needed, then check again.": "Επιστρέψτε σε μια ξεκλείδωτη διαδραστική επιφάνεια εργασίας των Windows, επανεκκινήστε το Ling εάν χρειάζεται και, στη συνέχεια, ελέγξτε ξανά.", "Return to implementation mode": "Επιστροφή στη λειτουργία υλοποίησης", + "Returned for repair": "Επέστρεψε για επισκευή", "Reusable": "Επαναχρησιμοποιήσιμο", "Reuse images already saved in this media project.": "Χρησιμοποιήστε ξανά εικόνες που είναι ήδη αποθηκευμένες σε αυτό το έργο πολυμέσων.", "Reuse settings": "Ρυθμίσεις επαναχρησιμοποίησης", @@ -13652,6 +13673,7 @@ "Schema, checksums, and package metadata": "Σχήμα, αθροίσματα ελέγχου και μεταδεδομένα πακέτου", "Scope": "Εκταση", "Scope ID": "Πεδίο εφαρμογής ID", + "Scope unavailable": "Το πεδίο δεν είναι διαθέσιμο", "Screen capture and input stop. Ling never interacts with the lock screen, login window, password fields, or secure desktop.": "Λήψη οθόνης και διακοπή εισαγωγής. Το Ling δεν αλληλεπιδρά ποτέ με την οθόνη κλειδώματος, το παράθυρο σύνδεσης, τα πεδία κωδικού πρόσβασης ή την ασφαλή επιφάνεια εργασίας.", "Screen Recording": "Εγγραφή οθόνης", "Scripts can contact external services. Only run documents you trust.": "Scripts can contact external services. Only run documents you trust.", @@ -15000,6 +15022,7 @@ "Uploading avatar": "Μεταφόρτωση avatar", "Uploading...": "Μεταφόρτωση...", "Upstream": "Αντίθετα στο ρεύμα", + "Upstream result unconfirmed": "Ανοδικό αποτέλεσμα μη επιβεβαιωμένο", "Upstream version": "Ανοδική έκδοση", "urgent": "επείγων", "URL image edit": "URL επεξεργασία εικόνας", @@ -15196,6 +15219,7 @@ "Waiting for runner activity...": "Αναμονή για δραστηριότητα δρομέα...", "Waiting for runner events...": "Αναμονή για δρομείς...", "Waiting for sign-in": "Αναμονή για σύνδεση", + "Waiting for source": "Αναμονή για πηγή", "Waiting for system confirmation and Host readback...": "Αναμονή για επιβεβαίωση συστήματος και επανάληψη του κεντρικού υπολογιστή...", "waiting for user input": "αναμονή για είσοδο χρήστη", "Waiting for votes": "Αναμονή για ψήφους", diff --git a/packages/localization/catalogs/en-US.json b/packages/localization/catalogs/en-US.json index 437d484fd..2a1d09dcf 100644 --- a/packages/localization/catalogs/en-US.json +++ b/packages/localization/catalogs/en-US.json @@ -1,6 +1,6 @@ { "locale": "en-US", - "sourceRevision": "e134cc889637523423524b121cf71dcb37afdd3d7daf48eaea975d1c39785b2e", + "sourceRevision": "95b7d5d6546abac9c1f3ec3e54efe7bff99c84252c464896ecb9bf2245f66dfd", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -343,6 +343,7 @@ "A skill with the same identity already exists.": "66dd592d63333b2f2738e59f82a3866d9a6db17154a2cc2a752727f9a40998d1", "Abstain": "bf92ab42d052ce917d87cccce310e4351900347095f57947b3d08c1b1ff8bcf3", "Accept": "89713b9c9c1b8f659c9f49db25e4a47886dd673fee248c3f650391f09a759cef", + "Accept handoff": "13e3dc2abccf1296c34099b2080efb8c78ad82067436ff2039024f22ed8cc2e9", "Acceptance": "f190a5cb3aff17b0ee84f6ee258333d63a9cc71aa66c2e1788ebc3ae24a89b10", "Acceptance checks will be clarified before execution.": "ffd59db22fb4d3abb3c9cc67c351c818e1732dfca2d6cd18ae361a711fa4bb72", "Acceptance criteria": "d47a36f4f055810755db08b8d52e479baa4bb7a7a1f6449f71fa1ad5c20495ef", @@ -894,6 +895,7 @@ "Avatar uploaded": "d0d5a01f3f30fd933994a5950ddae3d14384d2c850c05deb50532b65aa6593ba", "Avatar, name, and a compact working brief.": "8d3706d4928090efbf7eca6683e3357f4f92732bc8be64c50dc8af8620a256c1", "Avoid triggers": "1419db0b6ddbd1f3a1632043da73529ecbcb0aef9183fd7d78e12df2942444de", + "Awaiting acceptance": "1dc7bfd9c54d73f22b4a9bdca5f741d5067a673b7f99d77e85367f6c8f049f85", "Awaiting confirmation": "d0ae0b38eac639b98f6a9b793a7add708bedbc6156963e3abc00453b235b2f3d", "Awaiting enable": "2a6b618d273346e8198806aa0d934a4bd6f5bf8b29d0780076df974ca93bf548", "Awaiting merge approval": "21837cdd561270cefc146079172511177736bb9091e9fb50d93bb072f271ecb0", @@ -1083,6 +1085,7 @@ "cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Candidate approved for draft": "59a57b9b459b3215e76b651f73f6521bc1bd71fa66bb52e046368a559db6632b", + "Candidate changed": "ca07c050cd47ab4f4d2f2fb6c60110b738af5b951a9ab708c36879365ec4532e", "Candidate changed since verification": "a2808e03661077a04403dab2204b7ce8d78310c296600bd03c5766a754f216a6", "Candidate cluster is not bound to a channel.": "6066a4e8725d065a7c2b8d2c8974a60c41c0a94124deeabd972f620ddd815786", "Candidate Clusters": "b617f8ce5325fa8984c324816b08d3a26c05dac3c3276bcc4f4ab7196222dbe4", @@ -1820,6 +1823,7 @@ "Could not start this scene.": "acb6aa181a8b842f1a8fc78344dc210cb98a45ccb6cf38ebd01beb65fe7fa27d", "Could not start this workflow test.": "7fe6f22a12127a9d74069d195a2513038cb2ff035acc4433d41e31006445e46e", "Could not switch projects. Showing the last loaded project.": "1a284203a5fd7f9d39c625017fde0d1c88180e3d2fa62b07aa7c9eb64a2e8aa6", + "Could not update handoff": "b6b7ff312171612e082d24ec92c854155d95fa6177a25cb0ac10f44e2c6110e2", "Could not update the default model. Try again.": "c87a00ab8ffb8c8c60209acf9b5cb10295a2a5e93c3e6f72dd8b2b4c316bdc16", "Council actions": "79763aae8f6334c6e29273106f3509b76114439dd686c9fa32753bca265eee32", "Council boundaries": "b4d6713050d140a9102817793dcb99d64565ee0d33d364b71f5d4d2afd234baf", @@ -3820,6 +3824,7 @@ "minutes": "90e63d85fa1ab2c8ed65222f3ebd794b1e524b4b7cf84bec451542d0451b2985", "missing": "ffa63583dfa6706b87d284b86b0d693a161e4840aad2c5cf6b5d27c3b9621f7d", "Missing": "6be36ca49ee85210c5d1ad9c377d90a9859c66d889110a2a5b0dccd390d12e20", + "Missing artifact": "e936c2df4de783be206107e353054e33ebba1c9988085200c260c7a6b8f8fc73", "Missing dependency": "5915d1e15e283f09695ad4b96ced9625bbd68aab747dc778f37aada0a7489b5c", "Missing fields": "69121d3f63d5a27ab7ce484854c065ce87e7022dc5fdfee9d778ab02515542fc", "Missing key": "0c8a17a63a322df1c40693b8469227cf5426b024673da9065f42c6cbb7c58370", @@ -5401,6 +5406,7 @@ "Requested URL": "8ae37b38fe2e415c8c641c3f2b6e9b42a11245cc8749a51a247cf0464b4c7faf", "Required": "4850b174b713d88cfc63de107830d5388929020e78abc91fc19bba7a6821625f", "Required before approving high-risk requests": "3cb612a5f43f4acbf5a6066a5da559bce858b50cdab2c2f6943bf4a05de1310a", + "Required check incomplete": "f64e6dfd1fc8cd1f2139aadf61c6ef43ecaa2ce783b2c712a56d31a574e05741", "Required checks": "f5a021846bd1a50002c0ea940f30cc97c285a118c62ff95af5c2f538584a7e26", "Required for assigned teammates": "4732aa544a8d93b886e6bcbbcc5c3314af692f8a8a812efd4844cd3589b7b63a", "Required input": "fafaaf99b5a6af521026448890a9dacaf4d47053804a34be7cdf364e13637181", @@ -5524,8 +5530,11 @@ "Retry upload": "731dc6e3f07ab1b090e925be766dd01d8e4aed2f0ad2cef600bf157bd7764500", "Retryable": "c282bd362abaadb6a38a4fdb268df44325f8bfde40f719b77fdd690180c51889", "Retrying automatically...": "220837f6132382f3e8d4fb676f31aab3dc9fabc34b8f26c2e4ced9b83ebce4ec", + "Return handoff": "1ae47e9a67b5866c28ccd52c2040500610b795d917cc6620a444c170ded79836", + "Return reason": "79f91549d760515b430db20e8f2f0c766e417826dfea15029dca20f6eb9865ac", "Return to an unlocked interactive Windows desktop, restart Ling if needed, then check again.": "bccd46e406f4d428d83a9dd510df581b52e5c28c51da4d357e3e66c21740ee0e", "Return to implementation mode": "36435baabf6c6acc0666fba73f68609f9a41d17389ea216a99f41b5036e8b6ef", + "Returned for repair": "07abb2b9ba19b479a5126883271bb99fa47e239dffb3337fb13bbe2778654158", "Reusable": "8ded2b384940a83eb986da575b9efa40f1b03fd1d626bd91964cbb11502e0b42", "Reuse images already saved in this media project.": "3c3dd902fab18f841a51942e3a4e92a93c8d39ddd8b48ae9ee017982a26fa1c1", "Reuse settings": "17507cf7d05b478d392e9aa85d9c60046c0e2a185959546ac0864a89b95ec744", @@ -5916,6 +5925,7 @@ "Schema, checksums, and package metadata": "d91ffc3c0cdd2c26d37ba9cf60de0a718343a3969303718321092f0367a68808", "Scope": "b073f6c68ef8721107fd9815b19b2c35ec111d526b75c2123d1111ba64424000", "Scope ID": "4a201ef6cbd70a0728fc5c62eb87fd73ac56e470c853a3112ebf27617e49ff76", + "Scope unavailable": "38a32037c55100c3ad97878ca4e361a734a3422fb35bdbaeacebf4babb16cdf3", "Screen capture and input stop. Ling never interacts with the lock screen, login window, password fields, or secure desktop.": "cece9f092190c9e9e4c9d54f7da59256e922a56556c843c4e2b44fb1a67b0c5f", "Screen Recording": "bc3c742893dc7aff9c88fad0aae3f6749a6679a45cbafb0981f0e2ddaed5c49c", "Scripts can contact external services. Only run documents you trust.": "aa3560983d2f6c2656f1a9329fcb9434fa520d6f64bcccf0e6ae91c82ddbb0dd", @@ -7264,6 +7274,7 @@ "Uploading avatar": "995b81efc53e808131bd98d546fb3fa493a44b9b43b752237e590bf5a2e487c8", "Uploading...": "72cb29c90ccd8361ee82d02fabe81a3f01605c7b8fea4c9996fc01d84e3fbb48", "Upstream": "94adc696fd24e9fd67e83ba256a9f33bf1d7191d4a5e38ee8c69597cd89e4777", + "Upstream result unconfirmed": "d345a9ef65cf22ec93d4a7a0457157bcdc8696a90ea8e72690d04b25d7447d94", "Upstream version": "7927b36324919e81ae646c1455b608aadcecdedb285d9985d63d80572c3d5214", "urgent": "f9d37c23fcc0f03c15a86aba71dce01dd0baa7a1568180e60c2347a5863151bc", "URL image edit": "444b0006116b72fd13097e57758caf2edaa14133af89617d79ed238d71f518ff", @@ -7460,6 +7471,7 @@ "Waiting for runner activity...": "d0e7a1fd3763c4062fe8ac59255b9281effe77d2fd1d79f9ae2498e56ac3b96f", "Waiting for runner events...": "dc60b71d9ccb374ef6e53cc9496c05fd15dcd7b4955ec8ae7603cf360af7e85e", "Waiting for sign-in": "749a343a3a25c1df679ee6d6e74abb72e08ef956bfa15434407e61934dc054c9", + "Waiting for source": "8ac1608b4d56ce4dcc84a6d489fb055d7e9281efa150baa1fd5c2be7f2dd220b", "Waiting for system confirmation and Host readback...": "952e73792f0715e2d1f30ef0b0c03c4353cd9ab96caa71856bbce7dc41e2d161", "waiting for user input": "f43ef097687b1d8c8800577eefa3f7e10d0c82236cd0017f983d131e8e673174", "Waiting for votes": "bbb50edc12d1ce791069a8e84ca6e73a255b796306d32cdc1414987b986e172f", @@ -8079,6 +8091,7 @@ "A skill with the same identity already exists.": "A skill with the same identity already exists.", "Abstain": "Abstain", "Accept": "Accept", + "Accept handoff": "Accept handoff", "Acceptance": "Acceptance", "Acceptance checks will be clarified before execution.": "Acceptance checks will be clarified before execution.", "Acceptance criteria": "Acceptance criteria", @@ -8630,6 +8643,7 @@ "Avatar uploaded": "Avatar uploaded", "Avatar, name, and a compact working brief.": "Avatar, name, and a compact working brief.", "Avoid triggers": "Avoid triggers", + "Awaiting acceptance": "Awaiting acceptance", "Awaiting confirmation": "Awaiting confirmation", "Awaiting enable": "Awaiting enable", "Awaiting merge approval": "Awaiting merge approval", @@ -8819,6 +8833,7 @@ "cancelling": "Cancelling", "Cancelling": "Cancelling", "Candidate approved for draft": "Candidate approved for draft", + "Candidate changed": "Candidate changed", "Candidate changed since verification": "Candidate changed since verification", "Candidate cluster is not bound to a channel.": "Candidate cluster is not bound to a channel.", "Candidate Clusters": "Candidate Clusters", @@ -9556,6 +9571,7 @@ "Could not start this scene.": "Could not start this scene.", "Could not start this workflow test.": "Could not start this workflow test.", "Could not switch projects. Showing the last loaded project.": "Could not switch projects. Showing the last loaded project.", + "Could not update handoff": "Could not update handoff", "Could not update the default model. Try again.": "Could not update the default model. Try again.", "Council actions": "Council actions", "Council boundaries": "Council boundaries", @@ -11556,6 +11572,7 @@ "minutes": "minutes", "missing": "missing", "Missing": "Missing", + "Missing artifact": "Missing artifact", "Missing dependency": "Missing dependency", "Missing fields": "Missing fields", "Missing key": "Missing key", @@ -13137,6 +13154,7 @@ "Requested URL": "Requested URL", "Required": "Required", "Required before approving high-risk requests": "Required before approving high-risk requests", + "Required check incomplete": "Required check incomplete", "Required checks": "Required checks", "Required for assigned teammates": "Required for assigned teammates", "Required input": "Required input", @@ -13260,8 +13278,11 @@ "Retry upload": "Retry upload", "Retryable": "Retryable", "Retrying automatically...": "Retrying automatically...", + "Return handoff": "Return handoff", + "Return reason": "Return reason", "Return to an unlocked interactive Windows desktop, restart Ling if needed, then check again.": "Return to an unlocked interactive Windows desktop, restart Ling if needed, then check again.", "Return to implementation mode": "Return to implementation mode", + "Returned for repair": "Returned for repair", "Reusable": "Reusable", "Reuse images already saved in this media project.": "Reuse images already saved in this media project.", "Reuse settings": "Reuse settings", @@ -13652,6 +13673,7 @@ "Schema, checksums, and package metadata": "Schema, checksums, and package metadata", "Scope": "Scope", "Scope ID": "Scope ID", + "Scope unavailable": "Scope unavailable", "Screen capture and input stop. Ling never interacts with the lock screen, login window, password fields, or secure desktop.": "Screen capture and input stop. Ling never interacts with the lock screen, login window, password fields, or secure desktop.", "Screen Recording": "Screen Recording", "Scripts can contact external services. Only run documents you trust.": "Scripts can contact external services. Only run documents you trust.", @@ -15000,6 +15022,7 @@ "Uploading avatar": "Uploading avatar", "Uploading...": "Uploading...", "Upstream": "Upstream", + "Upstream result unconfirmed": "Upstream result unconfirmed", "Upstream version": "Upstream version", "urgent": "urgent", "URL image edit": "URL image edit", @@ -15196,6 +15219,7 @@ "Waiting for runner activity...": "Waiting for runner activity...", "Waiting for runner events...": "Waiting for runner events...", "Waiting for sign-in": "Waiting for sign-in", + "Waiting for source": "Waiting for source", "Waiting for system confirmation and Host readback...": "Waiting for system confirmation and Host readback...", "waiting for user input": "waiting for user input", "Waiting for votes": "Waiting for votes", diff --git a/packages/localization/catalogs/es-419.json b/packages/localization/catalogs/es-419.json index d5f2a21a9..8d9e9581b 100644 --- a/packages/localization/catalogs/es-419.json +++ b/packages/localization/catalogs/es-419.json @@ -1,6 +1,6 @@ { "locale": "es-419", - "sourceRevision": "e134cc889637523423524b121cf71dcb37afdd3d7daf48eaea975d1c39785b2e", + "sourceRevision": "95b7d5d6546abac9c1f3ec3e54efe7bff99c84252c464896ecb9bf2245f66dfd", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -343,6 +343,7 @@ "A skill with the same identity already exists.": "66dd592d63333b2f2738e59f82a3866d9a6db17154a2cc2a752727f9a40998d1", "Abstain": "bf92ab42d052ce917d87cccce310e4351900347095f57947b3d08c1b1ff8bcf3", "Accept": "89713b9c9c1b8f659c9f49db25e4a47886dd673fee248c3f650391f09a759cef", + "Accept handoff": "13e3dc2abccf1296c34099b2080efb8c78ad82067436ff2039024f22ed8cc2e9", "Acceptance": "f190a5cb3aff17b0ee84f6ee258333d63a9cc71aa66c2e1788ebc3ae24a89b10", "Acceptance checks will be clarified before execution.": "ffd59db22fb4d3abb3c9cc67c351c818e1732dfca2d6cd18ae361a711fa4bb72", "Acceptance criteria": "d47a36f4f055810755db08b8d52e479baa4bb7a7a1f6449f71fa1ad5c20495ef", @@ -894,6 +895,7 @@ "Avatar uploaded": "d0d5a01f3f30fd933994a5950ddae3d14384d2c850c05deb50532b65aa6593ba", "Avatar, name, and a compact working brief.": "8d3706d4928090efbf7eca6683e3357f4f92732bc8be64c50dc8af8620a256c1", "Avoid triggers": "1419db0b6ddbd1f3a1632043da73529ecbcb0aef9183fd7d78e12df2942444de", + "Awaiting acceptance": "1dc7bfd9c54d73f22b4a9bdca5f741d5067a673b7f99d77e85367f6c8f049f85", "Awaiting confirmation": "d0ae0b38eac639b98f6a9b793a7add708bedbc6156963e3abc00453b235b2f3d", "Awaiting enable": "2a6b618d273346e8198806aa0d934a4bd6f5bf8b29d0780076df974ca93bf548", "Awaiting merge approval": "21837cdd561270cefc146079172511177736bb9091e9fb50d93bb072f271ecb0", @@ -1083,6 +1085,7 @@ "cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Candidate approved for draft": "59a57b9b459b3215e76b651f73f6521bc1bd71fa66bb52e046368a559db6632b", + "Candidate changed": "ca07c050cd47ab4f4d2f2fb6c60110b738af5b951a9ab708c36879365ec4532e", "Candidate changed since verification": "a2808e03661077a04403dab2204b7ce8d78310c296600bd03c5766a754f216a6", "Candidate cluster is not bound to a channel.": "6066a4e8725d065a7c2b8d2c8974a60c41c0a94124deeabd972f620ddd815786", "Candidate Clusters": "b617f8ce5325fa8984c324816b08d3a26c05dac3c3276bcc4f4ab7196222dbe4", @@ -1820,6 +1823,7 @@ "Could not start this scene.": "acb6aa181a8b842f1a8fc78344dc210cb98a45ccb6cf38ebd01beb65fe7fa27d", "Could not start this workflow test.": "7fe6f22a12127a9d74069d195a2513038cb2ff035acc4433d41e31006445e46e", "Could not switch projects. Showing the last loaded project.": "1a284203a5fd7f9d39c625017fde0d1c88180e3d2fa62b07aa7c9eb64a2e8aa6", + "Could not update handoff": "b6b7ff312171612e082d24ec92c854155d95fa6177a25cb0ac10f44e2c6110e2", "Could not update the default model. Try again.": "c87a00ab8ffb8c8c60209acf9b5cb10295a2a5e93c3e6f72dd8b2b4c316bdc16", "Council actions": "79763aae8f6334c6e29273106f3509b76114439dd686c9fa32753bca265eee32", "Council boundaries": "b4d6713050d140a9102817793dcb99d64565ee0d33d364b71f5d4d2afd234baf", @@ -3820,6 +3824,7 @@ "minutes": "90e63d85fa1ab2c8ed65222f3ebd794b1e524b4b7cf84bec451542d0451b2985", "missing": "ffa63583dfa6706b87d284b86b0d693a161e4840aad2c5cf6b5d27c3b9621f7d", "Missing": "6be36ca49ee85210c5d1ad9c377d90a9859c66d889110a2a5b0dccd390d12e20", + "Missing artifact": "e936c2df4de783be206107e353054e33ebba1c9988085200c260c7a6b8f8fc73", "Missing dependency": "5915d1e15e283f09695ad4b96ced9625bbd68aab747dc778f37aada0a7489b5c", "Missing fields": "69121d3f63d5a27ab7ce484854c065ce87e7022dc5fdfee9d778ab02515542fc", "Missing key": "0c8a17a63a322df1c40693b8469227cf5426b024673da9065f42c6cbb7c58370", @@ -5401,6 +5406,7 @@ "Requested URL": "8ae37b38fe2e415c8c641c3f2b6e9b42a11245cc8749a51a247cf0464b4c7faf", "Required": "4850b174b713d88cfc63de107830d5388929020e78abc91fc19bba7a6821625f", "Required before approving high-risk requests": "3cb612a5f43f4acbf5a6066a5da559bce858b50cdab2c2f6943bf4a05de1310a", + "Required check incomplete": "f64e6dfd1fc8cd1f2139aadf61c6ef43ecaa2ce783b2c712a56d31a574e05741", "Required checks": "f5a021846bd1a50002c0ea940f30cc97c285a118c62ff95af5c2f538584a7e26", "Required for assigned teammates": "4732aa544a8d93b886e6bcbbcc5c3314af692f8a8a812efd4844cd3589b7b63a", "Required input": "fafaaf99b5a6af521026448890a9dacaf4d47053804a34be7cdf364e13637181", @@ -5524,8 +5530,11 @@ "Retry upload": "731dc6e3f07ab1b090e925be766dd01d8e4aed2f0ad2cef600bf157bd7764500", "Retryable": "c282bd362abaadb6a38a4fdb268df44325f8bfde40f719b77fdd690180c51889", "Retrying automatically...": "220837f6132382f3e8d4fb676f31aab3dc9fabc34b8f26c2e4ced9b83ebce4ec", + "Return handoff": "1ae47e9a67b5866c28ccd52c2040500610b795d917cc6620a444c170ded79836", + "Return reason": "79f91549d760515b430db20e8f2f0c766e417826dfea15029dca20f6eb9865ac", "Return to an unlocked interactive Windows desktop, restart Ling if needed, then check again.": "bccd46e406f4d428d83a9dd510df581b52e5c28c51da4d357e3e66c21740ee0e", "Return to implementation mode": "36435baabf6c6acc0666fba73f68609f9a41d17389ea216a99f41b5036e8b6ef", + "Returned for repair": "07abb2b9ba19b479a5126883271bb99fa47e239dffb3337fb13bbe2778654158", "Reusable": "8ded2b384940a83eb986da575b9efa40f1b03fd1d626bd91964cbb11502e0b42", "Reuse images already saved in this media project.": "3c3dd902fab18f841a51942e3a4e92a93c8d39ddd8b48ae9ee017982a26fa1c1", "Reuse settings": "17507cf7d05b478d392e9aa85d9c60046c0e2a185959546ac0864a89b95ec744", @@ -5916,6 +5925,7 @@ "Schema, checksums, and package metadata": "d91ffc3c0cdd2c26d37ba9cf60de0a718343a3969303718321092f0367a68808", "Scope": "b073f6c68ef8721107fd9815b19b2c35ec111d526b75c2123d1111ba64424000", "Scope ID": "4a201ef6cbd70a0728fc5c62eb87fd73ac56e470c853a3112ebf27617e49ff76", + "Scope unavailable": "38a32037c55100c3ad97878ca4e361a734a3422fb35bdbaeacebf4babb16cdf3", "Screen capture and input stop. Ling never interacts with the lock screen, login window, password fields, or secure desktop.": "cece9f092190c9e9e4c9d54f7da59256e922a56556c843c4e2b44fb1a67b0c5f", "Screen Recording": "bc3c742893dc7aff9c88fad0aae3f6749a6679a45cbafb0981f0e2ddaed5c49c", "Scripts can contact external services. Only run documents you trust.": "aa3560983d2f6c2656f1a9329fcb9434fa520d6f64bcccf0e6ae91c82ddbb0dd", @@ -7264,6 +7274,7 @@ "Uploading avatar": "995b81efc53e808131bd98d546fb3fa493a44b9b43b752237e590bf5a2e487c8", "Uploading...": "72cb29c90ccd8361ee82d02fabe81a3f01605c7b8fea4c9996fc01d84e3fbb48", "Upstream": "94adc696fd24e9fd67e83ba256a9f33bf1d7191d4a5e38ee8c69597cd89e4777", + "Upstream result unconfirmed": "d345a9ef65cf22ec93d4a7a0457157bcdc8696a90ea8e72690d04b25d7447d94", "Upstream version": "7927b36324919e81ae646c1455b608aadcecdedb285d9985d63d80572c3d5214", "urgent": "f9d37c23fcc0f03c15a86aba71dce01dd0baa7a1568180e60c2347a5863151bc", "URL image edit": "444b0006116b72fd13097e57758caf2edaa14133af89617d79ed238d71f518ff", @@ -7460,6 +7471,7 @@ "Waiting for runner activity...": "d0e7a1fd3763c4062fe8ac59255b9281effe77d2fd1d79f9ae2498e56ac3b96f", "Waiting for runner events...": "dc60b71d9ccb374ef6e53cc9496c05fd15dcd7b4955ec8ae7603cf360af7e85e", "Waiting for sign-in": "749a343a3a25c1df679ee6d6e74abb72e08ef956bfa15434407e61934dc054c9", + "Waiting for source": "8ac1608b4d56ce4dcc84a6d489fb055d7e9281efa150baa1fd5c2be7f2dd220b", "Waiting for system confirmation and Host readback...": "952e73792f0715e2d1f30ef0b0c03c4353cd9ab96caa71856bbce7dc41e2d161", "waiting for user input": "f43ef097687b1d8c8800577eefa3f7e10d0c82236cd0017f983d131e8e673174", "Waiting for votes": "bbb50edc12d1ce791069a8e84ca6e73a255b796306d32cdc1414987b986e172f", @@ -8079,6 +8091,7 @@ "A skill with the same identity already exists.": "Ya existe una habilidad con la misma identidad.", "Abstain": "Abstenerse", "Accept": "Aceptar", + "Accept handoff": "Aceptar traspaso", "Acceptance": "Aceptación", "Acceptance checks will be clarified before execution.": "Los controles de aceptación se aclararán antes de la ejecución.", "Acceptance criteria": "Criterios de aceptación", @@ -8630,6 +8643,7 @@ "Avatar uploaded": "avatar subido", "Avatar, name, and a compact working brief.": "Avatar, nombre y resumen de trabajo compacto.", "Avoid triggers": "Evite los desencadenantes", + "Awaiting acceptance": "En espera de aceptación", "Awaiting confirmation": "En espera de confirmación", "Awaiting enable": "En espera de habilitar", "Awaiting merge approval": "En espera de aprobación de fusión", @@ -8819,6 +8833,7 @@ "cancelling": "Cancelado", "Cancelling": "Cancelado", "Candidate approved for draft": "Candidato aprobado para borrador", + "Candidate changed": "Candidato cambiado", "Candidate changed since verification": "Candidato cambiado desde la verificación", "Candidate cluster is not bound to a channel.": "El grupo de candidatos no está vinculado a un canal.", "Candidate Clusters": "Clústeres de candidatos", @@ -9556,6 +9571,7 @@ "Could not start this scene.": "No se pudo iniciar esta escena.", "Could not start this workflow test.": "No se pudo iniciar esta prueba de flujo de trabajo.", "Could not switch projects. Showing the last loaded project.": "No se pudo cambiar de proyecto. Mostrando el último proyecto cargado.", + "Could not update handoff": "No se pudo actualizar el traspaso", "Could not update the default model. Try again.": "No se pudo actualizar el modelo predeterminado. Intentar otra vez.", "Council actions": "Acciones del consejo", "Council boundaries": "Límites del consejo", @@ -11556,6 +11572,7 @@ "minutes": "minutos", "missing": "desaparecido", "Missing": "Desaparecido", + "Missing artifact": "artefacto faltante", "Missing dependency": "Missing dependency", "Missing fields": "Campos faltantes", "Missing key": "llave faltante", @@ -13137,6 +13154,7 @@ "Requested URL": "Solicitado URL", "Required": "Requerido", "Required before approving high-risk requests": "Requerido antes de aprobar solicitudes de alto riesgo", + "Required check incomplete": "Cheque requerido incompleto", "Required checks": "Comprobaciones requeridas", "Required for assigned teammates": "Requerido para los compañeros de equipo asignados", "Required input": "Entrada requerida", @@ -13260,8 +13278,11 @@ "Retry upload": "Reintentar subir", "Retryable": "Reintentable", "Retrying automatically...": "Reintentando automáticamente...", + "Return handoff": "Entrega de regreso", + "Return reason": "Motivo de la devolución", "Return to an unlocked interactive Windows desktop, restart Ling if needed, then check again.": "Regrese a un escritorio interactivo de Windows desbloqueado, reinicie Ling si es necesario y luego verifique nuevamente.", "Return to implementation mode": "Volver al modo de implementación", + "Returned for repair": "Devuelto para reparación", "Reusable": "Reutilizable", "Reuse images already saved in this media project.": "Reutilice imágenes ya guardadas en este proyecto multimedia.", "Reuse settings": "Reutilizar configuración", @@ -13652,6 +13673,7 @@ "Schema, checksums, and package metadata": "Esquema, sumas de comprobación y metadatos de paquetes", "Scope": "Alcance", "Scope ID": "Alcance ID", + "Scope unavailable": "Alcance no disponible", "Screen capture and input stop. Ling never interacts with the lock screen, login window, password fields, or secure desktop.": "Captura de pantalla y parada de entrada. Ling nunca interactúa con la pantalla de bloqueo, la ventana de inicio de sesión, los campos de contraseña ni el escritorio seguro.", "Screen Recording": "Grabación de pantalla", "Scripts can contact external services. Only run documents you trust.": "Scripts can contact external services. Only run documents you trust.", @@ -15000,6 +15022,7 @@ "Uploading avatar": "Subiendo avatar", "Uploading...": "Subiendo...", "Upstream": "Río arriba", + "Upstream result unconfirmed": "Resultado ascendente sin confirmar", "Upstream version": "Versión ascendente", "urgent": "urgente", "URL image edit": "URL edición de imagen", @@ -15196,6 +15219,7 @@ "Waiting for runner activity...": "Esperando actividad del corredor...", "Waiting for runner events...": "Esperando eventos de corredores...", "Waiting for sign-in": "Esperando iniciar sesión", + "Waiting for source": "esperando fuente", "Waiting for system confirmation and Host readback...": "Esperando la confirmación del sistema y la lectura del host...", "waiting for user input": "esperando la entrada del usuario", "Waiting for votes": "esperando votos", diff --git a/packages/localization/catalogs/es-ES.json b/packages/localization/catalogs/es-ES.json index ec76dee55..2f0fcb243 100644 --- a/packages/localization/catalogs/es-ES.json +++ b/packages/localization/catalogs/es-ES.json @@ -1,6 +1,6 @@ { "locale": "es-ES", - "sourceRevision": "e134cc889637523423524b121cf71dcb37afdd3d7daf48eaea975d1c39785b2e", + "sourceRevision": "95b7d5d6546abac9c1f3ec3e54efe7bff99c84252c464896ecb9bf2245f66dfd", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -343,6 +343,7 @@ "A skill with the same identity already exists.": "66dd592d63333b2f2738e59f82a3866d9a6db17154a2cc2a752727f9a40998d1", "Abstain": "bf92ab42d052ce917d87cccce310e4351900347095f57947b3d08c1b1ff8bcf3", "Accept": "89713b9c9c1b8f659c9f49db25e4a47886dd673fee248c3f650391f09a759cef", + "Accept handoff": "13e3dc2abccf1296c34099b2080efb8c78ad82067436ff2039024f22ed8cc2e9", "Acceptance": "f190a5cb3aff17b0ee84f6ee258333d63a9cc71aa66c2e1788ebc3ae24a89b10", "Acceptance checks will be clarified before execution.": "ffd59db22fb4d3abb3c9cc67c351c818e1732dfca2d6cd18ae361a711fa4bb72", "Acceptance criteria": "d47a36f4f055810755db08b8d52e479baa4bb7a7a1f6449f71fa1ad5c20495ef", @@ -894,6 +895,7 @@ "Avatar uploaded": "d0d5a01f3f30fd933994a5950ddae3d14384d2c850c05deb50532b65aa6593ba", "Avatar, name, and a compact working brief.": "8d3706d4928090efbf7eca6683e3357f4f92732bc8be64c50dc8af8620a256c1", "Avoid triggers": "1419db0b6ddbd1f3a1632043da73529ecbcb0aef9183fd7d78e12df2942444de", + "Awaiting acceptance": "1dc7bfd9c54d73f22b4a9bdca5f741d5067a673b7f99d77e85367f6c8f049f85", "Awaiting confirmation": "d0ae0b38eac639b98f6a9b793a7add708bedbc6156963e3abc00453b235b2f3d", "Awaiting enable": "2a6b618d273346e8198806aa0d934a4bd6f5bf8b29d0780076df974ca93bf548", "Awaiting merge approval": "21837cdd561270cefc146079172511177736bb9091e9fb50d93bb072f271ecb0", @@ -1083,6 +1085,7 @@ "cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Candidate approved for draft": "59a57b9b459b3215e76b651f73f6521bc1bd71fa66bb52e046368a559db6632b", + "Candidate changed": "ca07c050cd47ab4f4d2f2fb6c60110b738af5b951a9ab708c36879365ec4532e", "Candidate changed since verification": "a2808e03661077a04403dab2204b7ce8d78310c296600bd03c5766a754f216a6", "Candidate cluster is not bound to a channel.": "6066a4e8725d065a7c2b8d2c8974a60c41c0a94124deeabd972f620ddd815786", "Candidate Clusters": "b617f8ce5325fa8984c324816b08d3a26c05dac3c3276bcc4f4ab7196222dbe4", @@ -1820,6 +1823,7 @@ "Could not start this scene.": "acb6aa181a8b842f1a8fc78344dc210cb98a45ccb6cf38ebd01beb65fe7fa27d", "Could not start this workflow test.": "7fe6f22a12127a9d74069d195a2513038cb2ff035acc4433d41e31006445e46e", "Could not switch projects. Showing the last loaded project.": "1a284203a5fd7f9d39c625017fde0d1c88180e3d2fa62b07aa7c9eb64a2e8aa6", + "Could not update handoff": "b6b7ff312171612e082d24ec92c854155d95fa6177a25cb0ac10f44e2c6110e2", "Could not update the default model. Try again.": "c87a00ab8ffb8c8c60209acf9b5cb10295a2a5e93c3e6f72dd8b2b4c316bdc16", "Council actions": "79763aae8f6334c6e29273106f3509b76114439dd686c9fa32753bca265eee32", "Council boundaries": "b4d6713050d140a9102817793dcb99d64565ee0d33d364b71f5d4d2afd234baf", @@ -3820,6 +3824,7 @@ "minutes": "90e63d85fa1ab2c8ed65222f3ebd794b1e524b4b7cf84bec451542d0451b2985", "missing": "ffa63583dfa6706b87d284b86b0d693a161e4840aad2c5cf6b5d27c3b9621f7d", "Missing": "6be36ca49ee85210c5d1ad9c377d90a9859c66d889110a2a5b0dccd390d12e20", + "Missing artifact": "e936c2df4de783be206107e353054e33ebba1c9988085200c260c7a6b8f8fc73", "Missing dependency": "5915d1e15e283f09695ad4b96ced9625bbd68aab747dc778f37aada0a7489b5c", "Missing fields": "69121d3f63d5a27ab7ce484854c065ce87e7022dc5fdfee9d778ab02515542fc", "Missing key": "0c8a17a63a322df1c40693b8469227cf5426b024673da9065f42c6cbb7c58370", @@ -5401,6 +5406,7 @@ "Requested URL": "8ae37b38fe2e415c8c641c3f2b6e9b42a11245cc8749a51a247cf0464b4c7faf", "Required": "4850b174b713d88cfc63de107830d5388929020e78abc91fc19bba7a6821625f", "Required before approving high-risk requests": "3cb612a5f43f4acbf5a6066a5da559bce858b50cdab2c2f6943bf4a05de1310a", + "Required check incomplete": "f64e6dfd1fc8cd1f2139aadf61c6ef43ecaa2ce783b2c712a56d31a574e05741", "Required checks": "f5a021846bd1a50002c0ea940f30cc97c285a118c62ff95af5c2f538584a7e26", "Required for assigned teammates": "4732aa544a8d93b886e6bcbbcc5c3314af692f8a8a812efd4844cd3589b7b63a", "Required input": "fafaaf99b5a6af521026448890a9dacaf4d47053804a34be7cdf364e13637181", @@ -5524,8 +5530,11 @@ "Retry upload": "731dc6e3f07ab1b090e925be766dd01d8e4aed2f0ad2cef600bf157bd7764500", "Retryable": "c282bd362abaadb6a38a4fdb268df44325f8bfde40f719b77fdd690180c51889", "Retrying automatically...": "220837f6132382f3e8d4fb676f31aab3dc9fabc34b8f26c2e4ced9b83ebce4ec", + "Return handoff": "1ae47e9a67b5866c28ccd52c2040500610b795d917cc6620a444c170ded79836", + "Return reason": "79f91549d760515b430db20e8f2f0c766e417826dfea15029dca20f6eb9865ac", "Return to an unlocked interactive Windows desktop, restart Ling if needed, then check again.": "bccd46e406f4d428d83a9dd510df581b52e5c28c51da4d357e3e66c21740ee0e", "Return to implementation mode": "36435baabf6c6acc0666fba73f68609f9a41d17389ea216a99f41b5036e8b6ef", + "Returned for repair": "07abb2b9ba19b479a5126883271bb99fa47e239dffb3337fb13bbe2778654158", "Reusable": "8ded2b384940a83eb986da575b9efa40f1b03fd1d626bd91964cbb11502e0b42", "Reuse images already saved in this media project.": "3c3dd902fab18f841a51942e3a4e92a93c8d39ddd8b48ae9ee017982a26fa1c1", "Reuse settings": "17507cf7d05b478d392e9aa85d9c60046c0e2a185959546ac0864a89b95ec744", @@ -5916,6 +5925,7 @@ "Schema, checksums, and package metadata": "d91ffc3c0cdd2c26d37ba9cf60de0a718343a3969303718321092f0367a68808", "Scope": "b073f6c68ef8721107fd9815b19b2c35ec111d526b75c2123d1111ba64424000", "Scope ID": "4a201ef6cbd70a0728fc5c62eb87fd73ac56e470c853a3112ebf27617e49ff76", + "Scope unavailable": "38a32037c55100c3ad97878ca4e361a734a3422fb35bdbaeacebf4babb16cdf3", "Screen capture and input stop. Ling never interacts with the lock screen, login window, password fields, or secure desktop.": "cece9f092190c9e9e4c9d54f7da59256e922a56556c843c4e2b44fb1a67b0c5f", "Screen Recording": "bc3c742893dc7aff9c88fad0aae3f6749a6679a45cbafb0981f0e2ddaed5c49c", "Scripts can contact external services. Only run documents you trust.": "aa3560983d2f6c2656f1a9329fcb9434fa520d6f64bcccf0e6ae91c82ddbb0dd", @@ -7264,6 +7274,7 @@ "Uploading avatar": "995b81efc53e808131bd98d546fb3fa493a44b9b43b752237e590bf5a2e487c8", "Uploading...": "72cb29c90ccd8361ee82d02fabe81a3f01605c7b8fea4c9996fc01d84e3fbb48", "Upstream": "94adc696fd24e9fd67e83ba256a9f33bf1d7191d4a5e38ee8c69597cd89e4777", + "Upstream result unconfirmed": "d345a9ef65cf22ec93d4a7a0457157bcdc8696a90ea8e72690d04b25d7447d94", "Upstream version": "7927b36324919e81ae646c1455b608aadcecdedb285d9985d63d80572c3d5214", "urgent": "f9d37c23fcc0f03c15a86aba71dce01dd0baa7a1568180e60c2347a5863151bc", "URL image edit": "444b0006116b72fd13097e57758caf2edaa14133af89617d79ed238d71f518ff", @@ -7460,6 +7471,7 @@ "Waiting for runner activity...": "d0e7a1fd3763c4062fe8ac59255b9281effe77d2fd1d79f9ae2498e56ac3b96f", "Waiting for runner events...": "dc60b71d9ccb374ef6e53cc9496c05fd15dcd7b4955ec8ae7603cf360af7e85e", "Waiting for sign-in": "749a343a3a25c1df679ee6d6e74abb72e08ef956bfa15434407e61934dc054c9", + "Waiting for source": "8ac1608b4d56ce4dcc84a6d489fb055d7e9281efa150baa1fd5c2be7f2dd220b", "Waiting for system confirmation and Host readback...": "952e73792f0715e2d1f30ef0b0c03c4353cd9ab96caa71856bbce7dc41e2d161", "waiting for user input": "f43ef097687b1d8c8800577eefa3f7e10d0c82236cd0017f983d131e8e673174", "Waiting for votes": "bbb50edc12d1ce791069a8e84ca6e73a255b796306d32cdc1414987b986e172f", @@ -8079,6 +8091,7 @@ "A skill with the same identity already exists.": "Ya existe una habilidad con la misma identidad.", "Abstain": "Abstenerse", "Accept": "Aceptar", + "Accept handoff": "Aceptar traspaso", "Acceptance": "Aceptación", "Acceptance checks will be clarified before execution.": "Los controles de aceptación se aclararán antes de la ejecución.", "Acceptance criteria": "Criterios de aceptación", @@ -8630,6 +8643,7 @@ "Avatar uploaded": "avatar subido", "Avatar, name, and a compact working brief.": "Avatar, nombre y resumen de trabajo compacto.", "Avoid triggers": "Evite los desencadenantes", + "Awaiting acceptance": "En espera de aceptación", "Awaiting confirmation": "En espera de confirmación", "Awaiting enable": "En espera de habilitar", "Awaiting merge approval": "En espera de aprobación de fusión", @@ -8819,6 +8833,7 @@ "cancelling": "Cancelado", "Cancelling": "Cancelado", "Candidate approved for draft": "Candidato aprobado para borrador", + "Candidate changed": "Candidato cambiado", "Candidate changed since verification": "Candidato cambiado desde la verificación", "Candidate cluster is not bound to a channel.": "El grupo de candidatos no está vinculado a un canal.", "Candidate Clusters": "Clústeres de candidatos", @@ -9556,6 +9571,7 @@ "Could not start this scene.": "No se pudo iniciar esta escena.", "Could not start this workflow test.": "No se pudo iniciar esta prueba de flujo de trabajo.", "Could not switch projects. Showing the last loaded project.": "No se pudo cambiar de proyecto. Mostrando el último proyecto cargado.", + "Could not update handoff": "No se pudo actualizar el traspaso", "Could not update the default model. Try again.": "No se pudo actualizar el modelo predeterminado. Intentar otra vez.", "Council actions": "Acciones del consejo", "Council boundaries": "Límites del consejo", @@ -11556,6 +11572,7 @@ "minutes": "minutos", "missing": "desaparecido", "Missing": "Desaparecido", + "Missing artifact": "artefacto faltante", "Missing dependency": "Missing dependency", "Missing fields": "Campos faltantes", "Missing key": "llave faltante", @@ -13137,6 +13154,7 @@ "Requested URL": "Solicitado URL", "Required": "Requerido", "Required before approving high-risk requests": "Requerido antes de aprobar solicitudes de alto riesgo", + "Required check incomplete": "Cheque requerido incompleto", "Required checks": "Comprobaciones requeridas", "Required for assigned teammates": "Requerido para los compañeros de equipo asignados", "Required input": "Entrada requerida", @@ -13260,8 +13278,11 @@ "Retry upload": "Reintentar subir", "Retryable": "Reintentable", "Retrying automatically...": "Reintentando automáticamente...", + "Return handoff": "Entrega de regreso", + "Return reason": "Motivo de la devolución", "Return to an unlocked interactive Windows desktop, restart Ling if needed, then check again.": "Regrese a un escritorio interactivo de Windows desbloqueado, reinicie Ling si es necesario y luego verifique nuevamente.", "Return to implementation mode": "Volver al modo de implementación", + "Returned for repair": "Devuelto para reparación", "Reusable": "Reutilizable", "Reuse images already saved in this media project.": "Reutilice imágenes ya guardadas en este proyecto multimedia.", "Reuse settings": "Reutilizar configuración", @@ -13652,6 +13673,7 @@ "Schema, checksums, and package metadata": "Esquema, sumas de comprobación y metadatos de paquetes", "Scope": "Alcance", "Scope ID": "Alcance ID", + "Scope unavailable": "Alcance no disponible", "Screen capture and input stop. Ling never interacts with the lock screen, login window, password fields, or secure desktop.": "Captura de pantalla y parada de entrada. Ling nunca interactúa con la pantalla de bloqueo, la ventana de inicio de sesión, los campos de contraseña ni el escritorio seguro.", "Screen Recording": "Grabación de pantalla", "Scripts can contact external services. Only run documents you trust.": "Scripts can contact external services. Only run documents you trust.", @@ -15000,6 +15022,7 @@ "Uploading avatar": "Subiendo avatar", "Uploading...": "Subiendo...", "Upstream": "Río arriba", + "Upstream result unconfirmed": "Resultado ascendente sin confirmar", "Upstream version": "Versión ascendente", "urgent": "urgente", "URL image edit": "URL edición de imagen", @@ -15196,6 +15219,7 @@ "Waiting for runner activity...": "Esperando actividad del corredor...", "Waiting for runner events...": "Esperando eventos de corredores...", "Waiting for sign-in": "Esperando iniciar sesión", + "Waiting for source": "esperando fuente", "Waiting for system confirmation and Host readback...": "Esperando la confirmación del sistema y la lectura del host...", "waiting for user input": "esperando la entrada del usuario", "Waiting for votes": "esperando votos", diff --git a/packages/localization/catalogs/et-EE.json b/packages/localization/catalogs/et-EE.json index e291f08c3..51ad05980 100644 --- a/packages/localization/catalogs/et-EE.json +++ b/packages/localization/catalogs/et-EE.json @@ -1,6 +1,6 @@ { "locale": "et-EE", - "sourceRevision": "e134cc889637523423524b121cf71dcb37afdd3d7daf48eaea975d1c39785b2e", + "sourceRevision": "95b7d5d6546abac9c1f3ec3e54efe7bff99c84252c464896ecb9bf2245f66dfd", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -343,6 +343,7 @@ "A skill with the same identity already exists.": "66dd592d63333b2f2738e59f82a3866d9a6db17154a2cc2a752727f9a40998d1", "Abstain": "bf92ab42d052ce917d87cccce310e4351900347095f57947b3d08c1b1ff8bcf3", "Accept": "89713b9c9c1b8f659c9f49db25e4a47886dd673fee248c3f650391f09a759cef", + "Accept handoff": "13e3dc2abccf1296c34099b2080efb8c78ad82067436ff2039024f22ed8cc2e9", "Acceptance": "f190a5cb3aff17b0ee84f6ee258333d63a9cc71aa66c2e1788ebc3ae24a89b10", "Acceptance checks will be clarified before execution.": "ffd59db22fb4d3abb3c9cc67c351c818e1732dfca2d6cd18ae361a711fa4bb72", "Acceptance criteria": "d47a36f4f055810755db08b8d52e479baa4bb7a7a1f6449f71fa1ad5c20495ef", @@ -894,6 +895,7 @@ "Avatar uploaded": "d0d5a01f3f30fd933994a5950ddae3d14384d2c850c05deb50532b65aa6593ba", "Avatar, name, and a compact working brief.": "8d3706d4928090efbf7eca6683e3357f4f92732bc8be64c50dc8af8620a256c1", "Avoid triggers": "1419db0b6ddbd1f3a1632043da73529ecbcb0aef9183fd7d78e12df2942444de", + "Awaiting acceptance": "1dc7bfd9c54d73f22b4a9bdca5f741d5067a673b7f99d77e85367f6c8f049f85", "Awaiting confirmation": "d0ae0b38eac639b98f6a9b793a7add708bedbc6156963e3abc00453b235b2f3d", "Awaiting enable": "2a6b618d273346e8198806aa0d934a4bd6f5bf8b29d0780076df974ca93bf548", "Awaiting merge approval": "21837cdd561270cefc146079172511177736bb9091e9fb50d93bb072f271ecb0", @@ -1083,6 +1085,7 @@ "cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Candidate approved for draft": "59a57b9b459b3215e76b651f73f6521bc1bd71fa66bb52e046368a559db6632b", + "Candidate changed": "ca07c050cd47ab4f4d2f2fb6c60110b738af5b951a9ab708c36879365ec4532e", "Candidate changed since verification": "a2808e03661077a04403dab2204b7ce8d78310c296600bd03c5766a754f216a6", "Candidate cluster is not bound to a channel.": "6066a4e8725d065a7c2b8d2c8974a60c41c0a94124deeabd972f620ddd815786", "Candidate Clusters": "b617f8ce5325fa8984c324816b08d3a26c05dac3c3276bcc4f4ab7196222dbe4", @@ -1820,6 +1823,7 @@ "Could not start this scene.": "acb6aa181a8b842f1a8fc78344dc210cb98a45ccb6cf38ebd01beb65fe7fa27d", "Could not start this workflow test.": "7fe6f22a12127a9d74069d195a2513038cb2ff035acc4433d41e31006445e46e", "Could not switch projects. Showing the last loaded project.": "1a284203a5fd7f9d39c625017fde0d1c88180e3d2fa62b07aa7c9eb64a2e8aa6", + "Could not update handoff": "b6b7ff312171612e082d24ec92c854155d95fa6177a25cb0ac10f44e2c6110e2", "Could not update the default model. Try again.": "c87a00ab8ffb8c8c60209acf9b5cb10295a2a5e93c3e6f72dd8b2b4c316bdc16", "Council actions": "79763aae8f6334c6e29273106f3509b76114439dd686c9fa32753bca265eee32", "Council boundaries": "b4d6713050d140a9102817793dcb99d64565ee0d33d364b71f5d4d2afd234baf", @@ -3820,6 +3824,7 @@ "minutes": "90e63d85fa1ab2c8ed65222f3ebd794b1e524b4b7cf84bec451542d0451b2985", "missing": "ffa63583dfa6706b87d284b86b0d693a161e4840aad2c5cf6b5d27c3b9621f7d", "Missing": "6be36ca49ee85210c5d1ad9c377d90a9859c66d889110a2a5b0dccd390d12e20", + "Missing artifact": "e936c2df4de783be206107e353054e33ebba1c9988085200c260c7a6b8f8fc73", "Missing dependency": "5915d1e15e283f09695ad4b96ced9625bbd68aab747dc778f37aada0a7489b5c", "Missing fields": "69121d3f63d5a27ab7ce484854c065ce87e7022dc5fdfee9d778ab02515542fc", "Missing key": "0c8a17a63a322df1c40693b8469227cf5426b024673da9065f42c6cbb7c58370", @@ -5401,6 +5406,7 @@ "Requested URL": "8ae37b38fe2e415c8c641c3f2b6e9b42a11245cc8749a51a247cf0464b4c7faf", "Required": "4850b174b713d88cfc63de107830d5388929020e78abc91fc19bba7a6821625f", "Required before approving high-risk requests": "3cb612a5f43f4acbf5a6066a5da559bce858b50cdab2c2f6943bf4a05de1310a", + "Required check incomplete": "f64e6dfd1fc8cd1f2139aadf61c6ef43ecaa2ce783b2c712a56d31a574e05741", "Required checks": "f5a021846bd1a50002c0ea940f30cc97c285a118c62ff95af5c2f538584a7e26", "Required for assigned teammates": "4732aa544a8d93b886e6bcbbcc5c3314af692f8a8a812efd4844cd3589b7b63a", "Required input": "fafaaf99b5a6af521026448890a9dacaf4d47053804a34be7cdf364e13637181", @@ -5524,8 +5530,11 @@ "Retry upload": "731dc6e3f07ab1b090e925be766dd01d8e4aed2f0ad2cef600bf157bd7764500", "Retryable": "c282bd362abaadb6a38a4fdb268df44325f8bfde40f719b77fdd690180c51889", "Retrying automatically...": "220837f6132382f3e8d4fb676f31aab3dc9fabc34b8f26c2e4ced9b83ebce4ec", + "Return handoff": "1ae47e9a67b5866c28ccd52c2040500610b795d917cc6620a444c170ded79836", + "Return reason": "79f91549d760515b430db20e8f2f0c766e417826dfea15029dca20f6eb9865ac", "Return to an unlocked interactive Windows desktop, restart Ling if needed, then check again.": "bccd46e406f4d428d83a9dd510df581b52e5c28c51da4d357e3e66c21740ee0e", "Return to implementation mode": "36435baabf6c6acc0666fba73f68609f9a41d17389ea216a99f41b5036e8b6ef", + "Returned for repair": "07abb2b9ba19b479a5126883271bb99fa47e239dffb3337fb13bbe2778654158", "Reusable": "8ded2b384940a83eb986da575b9efa40f1b03fd1d626bd91964cbb11502e0b42", "Reuse images already saved in this media project.": "3c3dd902fab18f841a51942e3a4e92a93c8d39ddd8b48ae9ee017982a26fa1c1", "Reuse settings": "17507cf7d05b478d392e9aa85d9c60046c0e2a185959546ac0864a89b95ec744", @@ -5916,6 +5925,7 @@ "Schema, checksums, and package metadata": "d91ffc3c0cdd2c26d37ba9cf60de0a718343a3969303718321092f0367a68808", "Scope": "b073f6c68ef8721107fd9815b19b2c35ec111d526b75c2123d1111ba64424000", "Scope ID": "4a201ef6cbd70a0728fc5c62eb87fd73ac56e470c853a3112ebf27617e49ff76", + "Scope unavailable": "38a32037c55100c3ad97878ca4e361a734a3422fb35bdbaeacebf4babb16cdf3", "Screen capture and input stop. Ling never interacts with the lock screen, login window, password fields, or secure desktop.": "cece9f092190c9e9e4c9d54f7da59256e922a56556c843c4e2b44fb1a67b0c5f", "Screen Recording": "bc3c742893dc7aff9c88fad0aae3f6749a6679a45cbafb0981f0e2ddaed5c49c", "Scripts can contact external services. Only run documents you trust.": "aa3560983d2f6c2656f1a9329fcb9434fa520d6f64bcccf0e6ae91c82ddbb0dd", @@ -7264,6 +7274,7 @@ "Uploading avatar": "995b81efc53e808131bd98d546fb3fa493a44b9b43b752237e590bf5a2e487c8", "Uploading...": "72cb29c90ccd8361ee82d02fabe81a3f01605c7b8fea4c9996fc01d84e3fbb48", "Upstream": "94adc696fd24e9fd67e83ba256a9f33bf1d7191d4a5e38ee8c69597cd89e4777", + "Upstream result unconfirmed": "d345a9ef65cf22ec93d4a7a0457157bcdc8696a90ea8e72690d04b25d7447d94", "Upstream version": "7927b36324919e81ae646c1455b608aadcecdedb285d9985d63d80572c3d5214", "urgent": "f9d37c23fcc0f03c15a86aba71dce01dd0baa7a1568180e60c2347a5863151bc", "URL image edit": "444b0006116b72fd13097e57758caf2edaa14133af89617d79ed238d71f518ff", @@ -7460,6 +7471,7 @@ "Waiting for runner activity...": "d0e7a1fd3763c4062fe8ac59255b9281effe77d2fd1d79f9ae2498e56ac3b96f", "Waiting for runner events...": "dc60b71d9ccb374ef6e53cc9496c05fd15dcd7b4955ec8ae7603cf360af7e85e", "Waiting for sign-in": "749a343a3a25c1df679ee6d6e74abb72e08ef956bfa15434407e61934dc054c9", + "Waiting for source": "8ac1608b4d56ce4dcc84a6d489fb055d7e9281efa150baa1fd5c2be7f2dd220b", "Waiting for system confirmation and Host readback...": "952e73792f0715e2d1f30ef0b0c03c4353cd9ab96caa71856bbce7dc41e2d161", "waiting for user input": "f43ef097687b1d8c8800577eefa3f7e10d0c82236cd0017f983d131e8e673174", "Waiting for votes": "bbb50edc12d1ce791069a8e84ca6e73a255b796306d32cdc1414987b986e172f", @@ -8079,6 +8091,7 @@ "A skill with the same identity already exists.": "Sama identiteediga oskus on juba olemas.", "Abstain": "Jäta erapooletuks", "Accept": "Nõustu", + "Accept handoff": "Nõustuge üleandmisega", "Acceptance": "Vastuvõtmine", "Acceptance checks will be clarified before execution.": "Vastuvõtukontrollid selgitatakse enne täitmist.", "Acceptance criteria": "Vastuvõtmise kriteeriumid", @@ -8630,6 +8643,7 @@ "Avatar uploaded": "Avatar on üles laaditud", "Avatar, name, and a compact working brief.": "Avatar, nimi ja kompaktne tööjuhend.", "Avoid triggers": "Vältige käivitajaid", + "Awaiting acceptance": "Ootab vastuvõtmist", "Awaiting confirmation": "Ootab kinnitust", "Awaiting enable": "Ootab lubamist", "Awaiting merge approval": "Ootab liitmise kinnitamist", @@ -8819,6 +8833,7 @@ "cancelling": "Tühistamine", "Cancelling": "Tühistamine", "Candidate approved for draft": "Kandidaat kinnitatud eelnõusse", + "Candidate changed": "Kandidaat muutus", "Candidate changed since verification": "Pärast kinnitamist on kandidaat muutunud", "Candidate cluster is not bound to a channel.": "Kandidaatide klaster ei ole kanaliga seotud.", "Candidate Clusters": "Kandidaatide klastrid", @@ -9556,6 +9571,7 @@ "Could not start this scene.": "Seda stseeni ei saanud käivitada.", "Could not start this workflow test.": "Seda töövoo testi ei saanud käivitada.", "Could not switch projects. Showing the last loaded project.": "Projekte ei saanud vahetada. Kuvatakse viimati laaditud projekt.", + "Could not update handoff": "Üleandmist ei saanud värskendada", "Could not update the default model. Try again.": "Vaikemudelit ei saanud värskendada. Proovi uuesti.", "Council actions": "Nõukogu tegevused", "Council boundaries": "Nõukogu piirid", @@ -11556,6 +11572,7 @@ "minutes": "minutit", "missing": "puudu", "Missing": "Puudub", + "Missing artifact": "Artefakt puudub", "Missing dependency": "Missing dependency", "Missing fields": "Puuduvad väljad", "Missing key": "Võti puudub", @@ -13137,6 +13154,7 @@ "Requested URL": "Taotles URL", "Required": "Nõutav", "Required before approving high-risk requests": "Nõutav enne kõrge riskiga taotluste kinnitamist", + "Required check incomplete": "Nõutav kontroll puudulik", "Required checks": "Nõutavad kontrollid", "Required for assigned teammates": "Nõutav määratud meeskonnakaaslastele", "Required input": "Nõutav sisend", @@ -13260,8 +13278,11 @@ "Retry upload": "Proovige uuesti üles laadida", "Retryable": "Proovitav uuesti", "Retrying automatically...": "Automaatne uuesti proovimine...", + "Return handoff": "Tagasi üleandmise", + "Return reason": "Tagastamise põhjus", "Return to an unlocked interactive Windows desktop, restart Ling if needed, then check again.": "Naaske lukustamata interaktiivsele Windowsi töölauale, vajadusel taaskäivitage Ling ja seejärel kontrollige uuesti.", "Return to implementation mode": "Naaske rakendusrežiimi", + "Returned for repair": "Tagastati remonti", "Reusable": "Korduvkasutatav", "Reuse images already saved in this media project.": "Kasutage selles meediaprojektis juba salvestatud pilte uuesti.", "Reuse settings": "Kasutage seadeid uuesti", @@ -13652,6 +13673,7 @@ "Schema, checksums, and package metadata": "Skeem, kontrollsummad ja paketi metaandmed", "Scope": "Ulatus", "Scope ID": "Ulatus ID", + "Scope unavailable": "Ulatus pole saadaval", "Screen capture and input stop. Ling never interacts with the lock screen, login window, password fields, or secure desktop.": "Ekraani jäädvustamine ja sisendi peatumine. Ling ei suhtle kunagi lukustuskuva, sisselogimisakna, parooliväljade ega turvalise töölauaga.", "Screen Recording": "Ekraani salvestamine", "Scripts can contact external services. Only run documents you trust.": "Scripts can contact external services. Only run documents you trust.", @@ -15000,6 +15022,7 @@ "Uploading avatar": "Avatari üleslaadimine", "Uploading...": "Üleslaadimine...", "Upstream": "Ülesvoolu", + "Upstream result unconfirmed": "Ülesvoolu tulemus kinnitamata", "Upstream version": "Ülesvoolu versioon", "urgent": "kiireloomuline", "URL image edit": "URL pildi redigeerimine", @@ -15196,6 +15219,7 @@ "Waiting for runner activity...": "Jooksja tegevust ootamas...", "Waiting for runner events...": "Jooksjate üritusi ootama...", "Waiting for sign-in": "Sisselogimise ootel", + "Waiting for source": "Ootan allikat", "Waiting for system confirmation and Host readback...": "Süsteemi kinnituse ja hosti lugemise ootel...", "waiting for user input": "ootab kasutaja sisestust", "Waiting for votes": "Ootab hääli", diff --git a/packages/localization/catalogs/fi-FI.json b/packages/localization/catalogs/fi-FI.json index 86fd73019..bc07f3a99 100644 --- a/packages/localization/catalogs/fi-FI.json +++ b/packages/localization/catalogs/fi-FI.json @@ -1,6 +1,6 @@ { "locale": "fi-FI", - "sourceRevision": "e134cc889637523423524b121cf71dcb37afdd3d7daf48eaea975d1c39785b2e", + "sourceRevision": "95b7d5d6546abac9c1f3ec3e54efe7bff99c84252c464896ecb9bf2245f66dfd", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -343,6 +343,7 @@ "A skill with the same identity already exists.": "66dd592d63333b2f2738e59f82a3866d9a6db17154a2cc2a752727f9a40998d1", "Abstain": "bf92ab42d052ce917d87cccce310e4351900347095f57947b3d08c1b1ff8bcf3", "Accept": "89713b9c9c1b8f659c9f49db25e4a47886dd673fee248c3f650391f09a759cef", + "Accept handoff": "13e3dc2abccf1296c34099b2080efb8c78ad82067436ff2039024f22ed8cc2e9", "Acceptance": "f190a5cb3aff17b0ee84f6ee258333d63a9cc71aa66c2e1788ebc3ae24a89b10", "Acceptance checks will be clarified before execution.": "ffd59db22fb4d3abb3c9cc67c351c818e1732dfca2d6cd18ae361a711fa4bb72", "Acceptance criteria": "d47a36f4f055810755db08b8d52e479baa4bb7a7a1f6449f71fa1ad5c20495ef", @@ -894,6 +895,7 @@ "Avatar uploaded": "d0d5a01f3f30fd933994a5950ddae3d14384d2c850c05deb50532b65aa6593ba", "Avatar, name, and a compact working brief.": "8d3706d4928090efbf7eca6683e3357f4f92732bc8be64c50dc8af8620a256c1", "Avoid triggers": "1419db0b6ddbd1f3a1632043da73529ecbcb0aef9183fd7d78e12df2942444de", + "Awaiting acceptance": "1dc7bfd9c54d73f22b4a9bdca5f741d5067a673b7f99d77e85367f6c8f049f85", "Awaiting confirmation": "d0ae0b38eac639b98f6a9b793a7add708bedbc6156963e3abc00453b235b2f3d", "Awaiting enable": "2a6b618d273346e8198806aa0d934a4bd6f5bf8b29d0780076df974ca93bf548", "Awaiting merge approval": "21837cdd561270cefc146079172511177736bb9091e9fb50d93bb072f271ecb0", @@ -1083,6 +1085,7 @@ "cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Candidate approved for draft": "59a57b9b459b3215e76b651f73f6521bc1bd71fa66bb52e046368a559db6632b", + "Candidate changed": "ca07c050cd47ab4f4d2f2fb6c60110b738af5b951a9ab708c36879365ec4532e", "Candidate changed since verification": "a2808e03661077a04403dab2204b7ce8d78310c296600bd03c5766a754f216a6", "Candidate cluster is not bound to a channel.": "6066a4e8725d065a7c2b8d2c8974a60c41c0a94124deeabd972f620ddd815786", "Candidate Clusters": "b617f8ce5325fa8984c324816b08d3a26c05dac3c3276bcc4f4ab7196222dbe4", @@ -1820,6 +1823,7 @@ "Could not start this scene.": "acb6aa181a8b842f1a8fc78344dc210cb98a45ccb6cf38ebd01beb65fe7fa27d", "Could not start this workflow test.": "7fe6f22a12127a9d74069d195a2513038cb2ff035acc4433d41e31006445e46e", "Could not switch projects. Showing the last loaded project.": "1a284203a5fd7f9d39c625017fde0d1c88180e3d2fa62b07aa7c9eb64a2e8aa6", + "Could not update handoff": "b6b7ff312171612e082d24ec92c854155d95fa6177a25cb0ac10f44e2c6110e2", "Could not update the default model. Try again.": "c87a00ab8ffb8c8c60209acf9b5cb10295a2a5e93c3e6f72dd8b2b4c316bdc16", "Council actions": "79763aae8f6334c6e29273106f3509b76114439dd686c9fa32753bca265eee32", "Council boundaries": "b4d6713050d140a9102817793dcb99d64565ee0d33d364b71f5d4d2afd234baf", @@ -3820,6 +3824,7 @@ "minutes": "90e63d85fa1ab2c8ed65222f3ebd794b1e524b4b7cf84bec451542d0451b2985", "missing": "ffa63583dfa6706b87d284b86b0d693a161e4840aad2c5cf6b5d27c3b9621f7d", "Missing": "6be36ca49ee85210c5d1ad9c377d90a9859c66d889110a2a5b0dccd390d12e20", + "Missing artifact": "e936c2df4de783be206107e353054e33ebba1c9988085200c260c7a6b8f8fc73", "Missing dependency": "5915d1e15e283f09695ad4b96ced9625bbd68aab747dc778f37aada0a7489b5c", "Missing fields": "69121d3f63d5a27ab7ce484854c065ce87e7022dc5fdfee9d778ab02515542fc", "Missing key": "0c8a17a63a322df1c40693b8469227cf5426b024673da9065f42c6cbb7c58370", @@ -5401,6 +5406,7 @@ "Requested URL": "8ae37b38fe2e415c8c641c3f2b6e9b42a11245cc8749a51a247cf0464b4c7faf", "Required": "4850b174b713d88cfc63de107830d5388929020e78abc91fc19bba7a6821625f", "Required before approving high-risk requests": "3cb612a5f43f4acbf5a6066a5da559bce858b50cdab2c2f6943bf4a05de1310a", + "Required check incomplete": "f64e6dfd1fc8cd1f2139aadf61c6ef43ecaa2ce783b2c712a56d31a574e05741", "Required checks": "f5a021846bd1a50002c0ea940f30cc97c285a118c62ff95af5c2f538584a7e26", "Required for assigned teammates": "4732aa544a8d93b886e6bcbbcc5c3314af692f8a8a812efd4844cd3589b7b63a", "Required input": "fafaaf99b5a6af521026448890a9dacaf4d47053804a34be7cdf364e13637181", @@ -5524,8 +5530,11 @@ "Retry upload": "731dc6e3f07ab1b090e925be766dd01d8e4aed2f0ad2cef600bf157bd7764500", "Retryable": "c282bd362abaadb6a38a4fdb268df44325f8bfde40f719b77fdd690180c51889", "Retrying automatically...": "220837f6132382f3e8d4fb676f31aab3dc9fabc34b8f26c2e4ced9b83ebce4ec", + "Return handoff": "1ae47e9a67b5866c28ccd52c2040500610b795d917cc6620a444c170ded79836", + "Return reason": "79f91549d760515b430db20e8f2f0c766e417826dfea15029dca20f6eb9865ac", "Return to an unlocked interactive Windows desktop, restart Ling if needed, then check again.": "bccd46e406f4d428d83a9dd510df581b52e5c28c51da4d357e3e66c21740ee0e", "Return to implementation mode": "36435baabf6c6acc0666fba73f68609f9a41d17389ea216a99f41b5036e8b6ef", + "Returned for repair": "07abb2b9ba19b479a5126883271bb99fa47e239dffb3337fb13bbe2778654158", "Reusable": "8ded2b384940a83eb986da575b9efa40f1b03fd1d626bd91964cbb11502e0b42", "Reuse images already saved in this media project.": "3c3dd902fab18f841a51942e3a4e92a93c8d39ddd8b48ae9ee017982a26fa1c1", "Reuse settings": "17507cf7d05b478d392e9aa85d9c60046c0e2a185959546ac0864a89b95ec744", @@ -5916,6 +5925,7 @@ "Schema, checksums, and package metadata": "d91ffc3c0cdd2c26d37ba9cf60de0a718343a3969303718321092f0367a68808", "Scope": "b073f6c68ef8721107fd9815b19b2c35ec111d526b75c2123d1111ba64424000", "Scope ID": "4a201ef6cbd70a0728fc5c62eb87fd73ac56e470c853a3112ebf27617e49ff76", + "Scope unavailable": "38a32037c55100c3ad97878ca4e361a734a3422fb35bdbaeacebf4babb16cdf3", "Screen capture and input stop. Ling never interacts with the lock screen, login window, password fields, or secure desktop.": "cece9f092190c9e9e4c9d54f7da59256e922a56556c843c4e2b44fb1a67b0c5f", "Screen Recording": "bc3c742893dc7aff9c88fad0aae3f6749a6679a45cbafb0981f0e2ddaed5c49c", "Scripts can contact external services. Only run documents you trust.": "aa3560983d2f6c2656f1a9329fcb9434fa520d6f64bcccf0e6ae91c82ddbb0dd", @@ -7264,6 +7274,7 @@ "Uploading avatar": "995b81efc53e808131bd98d546fb3fa493a44b9b43b752237e590bf5a2e487c8", "Uploading...": "72cb29c90ccd8361ee82d02fabe81a3f01605c7b8fea4c9996fc01d84e3fbb48", "Upstream": "94adc696fd24e9fd67e83ba256a9f33bf1d7191d4a5e38ee8c69597cd89e4777", + "Upstream result unconfirmed": "d345a9ef65cf22ec93d4a7a0457157bcdc8696a90ea8e72690d04b25d7447d94", "Upstream version": "7927b36324919e81ae646c1455b608aadcecdedb285d9985d63d80572c3d5214", "urgent": "f9d37c23fcc0f03c15a86aba71dce01dd0baa7a1568180e60c2347a5863151bc", "URL image edit": "444b0006116b72fd13097e57758caf2edaa14133af89617d79ed238d71f518ff", @@ -7460,6 +7471,7 @@ "Waiting for runner activity...": "d0e7a1fd3763c4062fe8ac59255b9281effe77d2fd1d79f9ae2498e56ac3b96f", "Waiting for runner events...": "dc60b71d9ccb374ef6e53cc9496c05fd15dcd7b4955ec8ae7603cf360af7e85e", "Waiting for sign-in": "749a343a3a25c1df679ee6d6e74abb72e08ef956bfa15434407e61934dc054c9", + "Waiting for source": "8ac1608b4d56ce4dcc84a6d489fb055d7e9281efa150baa1fd5c2be7f2dd220b", "Waiting for system confirmation and Host readback...": "952e73792f0715e2d1f30ef0b0c03c4353cd9ab96caa71856bbce7dc41e2d161", "waiting for user input": "f43ef097687b1d8c8800577eefa3f7e10d0c82236cd0017f983d131e8e673174", "Waiting for votes": "bbb50edc12d1ce791069a8e84ca6e73a255b796306d32cdc1414987b986e172f", @@ -8079,6 +8091,7 @@ "A skill with the same identity already exists.": "Taito, jolla on sama identiteetti, on jo olemassa.", "Abstain": "Pidättäytyä äänestämästä", "Accept": "Hyväksyä", + "Accept handoff": "Hyväksy kanavanvaihto", "Acceptance": "Hyväksyminen", "Acceptance checks will be clarified before execution.": "Vastaanottotarkistukset selvitetään ennen toteutusta.", "Acceptance criteria": "Hyväksymiskriteerit", @@ -8630,6 +8643,7 @@ "Avatar uploaded": "Avatar ladattu", "Avatar, name, and a compact working brief.": "Avatar, nimi ja kompakti työalusta.", "Avoid triggers": "Vältä laukaisimia", + "Awaiting acceptance": "Odottaa hyväksyntää", "Awaiting confirmation": "Odotetaan vahvistusta", "Awaiting enable": "Odottaa käyttöönottoa", "Awaiting merge approval": "Odotetaan yhdistämisen hyväksyntää", @@ -8819,6 +8833,7 @@ "cancelling": "Peruutetaan", "Cancelling": "Peruutetaan", "Candidate approved for draft": "Ehdokas hyväksytty luonnokseen", + "Candidate changed": "Ehdokas vaihtui", "Candidate changed since verification": "Ehdokas muuttui vahvistuksen jälkeen", "Candidate cluster is not bound to a channel.": "Ehdokasklusteri ei ole sidottu kanavaan.", "Candidate Clusters": "Ehdokasklusterit", @@ -9556,6 +9571,7 @@ "Could not start this scene.": "Tätä kohtausta ei voitu aloittaa.", "Could not start this workflow test.": "Tätä työnkulkutestiä ei voitu aloittaa.", "Could not switch projects. Showing the last loaded project.": "Projektia ei voitu vaihtaa. Näytetään viimeksi ladattu projekti.", + "Could not update handoff": "Kanavanvaihtoa ei voitu päivittää", "Could not update the default model. Try again.": "Oletusmallia ei voitu päivittää. Yritä uudelleen.", "Council actions": "Neuvoston toimet", "Council boundaries": "Neuvoston rajat", @@ -11556,6 +11572,7 @@ "minutes": "minuuttia", "missing": "puuttuu", "Missing": "Puuttuu", + "Missing artifact": "Puuttuva artefakti", "Missing dependency": "Missing dependency", "Missing fields": "Puuttuvat kentät", "Missing key": "Avain puuttuu", @@ -13137,6 +13154,7 @@ "Requested URL": "Pyydetty URL", "Required": "Pakollinen", "Required before approving high-risk requests": "Vaaditaan ennen korkean riskin pyyntöjen hyväksymistä", + "Required check incomplete": "Vaadittu tarkistus puutteellinen", "Required checks": "Pakolliset tarkastukset", "Required for assigned teammates": "Vaaditaan määrätyiltä joukkuekavereilta", "Required input": "Vaadittu syöttö", @@ -13260,8 +13278,11 @@ "Retry upload": "Yritä latausta uudelleen", "Retryable": "Uudelleen yritettävä", "Retrying automatically...": "Yritetään automaattisesti uudelleen...", + "Return handoff": "Palauta kanavanvaihto", + "Return reason": "Palautuksen syy", "Return to an unlocked interactive Windows desktop, restart Ling if needed, then check again.": "Palaa lukitsemattomalle interaktiiviselle Windows-työpöydälle, käynnistä Ling uudelleen tarvittaessa ja tarkista sitten uudelleen.", "Return to implementation mode": "Palaa toteutustilaan", + "Returned for repair": "Palautettu korjattavaksi", "Reusable": "Uudelleen käytettävä", "Reuse images already saved in this media project.": "Käytä uudelleen tähän mediaprojektiin tallennettuja kuvia.", "Reuse settings": "Käytä asetuksia uudelleen", @@ -13652,6 +13673,7 @@ "Schema, checksums, and package metadata": "Kaavio, tarkistussummat ja paketin metatiedot", "Scope": "Laajuus", "Scope ID": "Laajuus ID", + "Scope unavailable": "Laajuus ei saatavilla", "Screen capture and input stop. Ling never interacts with the lock screen, login window, password fields, or secure desktop.": "Näytön kaappaus ja syötteen pysäytys. Ling ei ole koskaan vuorovaikutuksessa lukitusnäytön, kirjautumisikkunan, salasanakenttien tai suojatun työpöydän kanssa.", "Screen Recording": "Näytön tallennus", "Scripts can contact external services. Only run documents you trust.": "Scripts can contact external services. Only run documents you trust.", @@ -15000,6 +15022,7 @@ "Uploading avatar": "Ladataan avataria", "Uploading...": "Ladataan...", "Upstream": "Vastavirtaan", + "Upstream result unconfirmed": "Ylävirran tulosta ei ole vahvistettu", "Upstream version": "Ylävirran versio", "urgent": "kiireellinen", "URL image edit": "URL kuvanmuokkaus", @@ -15196,6 +15219,7 @@ "Waiting for runner activity...": "Juoksutoimintaa odotellessa...", "Waiting for runner events...": "Juoksutapahtumia odotellessa...", "Waiting for sign-in": "Odotetaan kirjautumista", + "Waiting for source": "Lähdettä odotellessa", "Waiting for system confirmation and Host readback...": "Odotetaan järjestelmän vahvistusta ja isännän uudelleenlukua...", "waiting for user input": "odottaa käyttäjän syöttöä", "Waiting for votes": "Ääniä odotellessa", diff --git a/packages/localization/catalogs/fr-CA.json b/packages/localization/catalogs/fr-CA.json index 24b31110f..5eef07657 100644 --- a/packages/localization/catalogs/fr-CA.json +++ b/packages/localization/catalogs/fr-CA.json @@ -1,6 +1,6 @@ { "locale": "fr-CA", - "sourceRevision": "e134cc889637523423524b121cf71dcb37afdd3d7daf48eaea975d1c39785b2e", + "sourceRevision": "95b7d5d6546abac9c1f3ec3e54efe7bff99c84252c464896ecb9bf2245f66dfd", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -343,6 +343,7 @@ "A skill with the same identity already exists.": "66dd592d63333b2f2738e59f82a3866d9a6db17154a2cc2a752727f9a40998d1", "Abstain": "bf92ab42d052ce917d87cccce310e4351900347095f57947b3d08c1b1ff8bcf3", "Accept": "89713b9c9c1b8f659c9f49db25e4a47886dd673fee248c3f650391f09a759cef", + "Accept handoff": "13e3dc2abccf1296c34099b2080efb8c78ad82067436ff2039024f22ed8cc2e9", "Acceptance": "f190a5cb3aff17b0ee84f6ee258333d63a9cc71aa66c2e1788ebc3ae24a89b10", "Acceptance checks will be clarified before execution.": "ffd59db22fb4d3abb3c9cc67c351c818e1732dfca2d6cd18ae361a711fa4bb72", "Acceptance criteria": "d47a36f4f055810755db08b8d52e479baa4bb7a7a1f6449f71fa1ad5c20495ef", @@ -894,6 +895,7 @@ "Avatar uploaded": "d0d5a01f3f30fd933994a5950ddae3d14384d2c850c05deb50532b65aa6593ba", "Avatar, name, and a compact working brief.": "8d3706d4928090efbf7eca6683e3357f4f92732bc8be64c50dc8af8620a256c1", "Avoid triggers": "1419db0b6ddbd1f3a1632043da73529ecbcb0aef9183fd7d78e12df2942444de", + "Awaiting acceptance": "1dc7bfd9c54d73f22b4a9bdca5f741d5067a673b7f99d77e85367f6c8f049f85", "Awaiting confirmation": "d0ae0b38eac639b98f6a9b793a7add708bedbc6156963e3abc00453b235b2f3d", "Awaiting enable": "2a6b618d273346e8198806aa0d934a4bd6f5bf8b29d0780076df974ca93bf548", "Awaiting merge approval": "21837cdd561270cefc146079172511177736bb9091e9fb50d93bb072f271ecb0", @@ -1083,6 +1085,7 @@ "cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Candidate approved for draft": "59a57b9b459b3215e76b651f73f6521bc1bd71fa66bb52e046368a559db6632b", + "Candidate changed": "ca07c050cd47ab4f4d2f2fb6c60110b738af5b951a9ab708c36879365ec4532e", "Candidate changed since verification": "a2808e03661077a04403dab2204b7ce8d78310c296600bd03c5766a754f216a6", "Candidate cluster is not bound to a channel.": "6066a4e8725d065a7c2b8d2c8974a60c41c0a94124deeabd972f620ddd815786", "Candidate Clusters": "b617f8ce5325fa8984c324816b08d3a26c05dac3c3276bcc4f4ab7196222dbe4", @@ -1820,6 +1823,7 @@ "Could not start this scene.": "acb6aa181a8b842f1a8fc78344dc210cb98a45ccb6cf38ebd01beb65fe7fa27d", "Could not start this workflow test.": "7fe6f22a12127a9d74069d195a2513038cb2ff035acc4433d41e31006445e46e", "Could not switch projects. Showing the last loaded project.": "1a284203a5fd7f9d39c625017fde0d1c88180e3d2fa62b07aa7c9eb64a2e8aa6", + "Could not update handoff": "b6b7ff312171612e082d24ec92c854155d95fa6177a25cb0ac10f44e2c6110e2", "Could not update the default model. Try again.": "c87a00ab8ffb8c8c60209acf9b5cb10295a2a5e93c3e6f72dd8b2b4c316bdc16", "Council actions": "79763aae8f6334c6e29273106f3509b76114439dd686c9fa32753bca265eee32", "Council boundaries": "b4d6713050d140a9102817793dcb99d64565ee0d33d364b71f5d4d2afd234baf", @@ -3820,6 +3824,7 @@ "minutes": "90e63d85fa1ab2c8ed65222f3ebd794b1e524b4b7cf84bec451542d0451b2985", "missing": "ffa63583dfa6706b87d284b86b0d693a161e4840aad2c5cf6b5d27c3b9621f7d", "Missing": "6be36ca49ee85210c5d1ad9c377d90a9859c66d889110a2a5b0dccd390d12e20", + "Missing artifact": "e936c2df4de783be206107e353054e33ebba1c9988085200c260c7a6b8f8fc73", "Missing dependency": "5915d1e15e283f09695ad4b96ced9625bbd68aab747dc778f37aada0a7489b5c", "Missing fields": "69121d3f63d5a27ab7ce484854c065ce87e7022dc5fdfee9d778ab02515542fc", "Missing key": "0c8a17a63a322df1c40693b8469227cf5426b024673da9065f42c6cbb7c58370", @@ -5401,6 +5406,7 @@ "Requested URL": "8ae37b38fe2e415c8c641c3f2b6e9b42a11245cc8749a51a247cf0464b4c7faf", "Required": "4850b174b713d88cfc63de107830d5388929020e78abc91fc19bba7a6821625f", "Required before approving high-risk requests": "3cb612a5f43f4acbf5a6066a5da559bce858b50cdab2c2f6943bf4a05de1310a", + "Required check incomplete": "f64e6dfd1fc8cd1f2139aadf61c6ef43ecaa2ce783b2c712a56d31a574e05741", "Required checks": "f5a021846bd1a50002c0ea940f30cc97c285a118c62ff95af5c2f538584a7e26", "Required for assigned teammates": "4732aa544a8d93b886e6bcbbcc5c3314af692f8a8a812efd4844cd3589b7b63a", "Required input": "fafaaf99b5a6af521026448890a9dacaf4d47053804a34be7cdf364e13637181", @@ -5524,8 +5530,11 @@ "Retry upload": "731dc6e3f07ab1b090e925be766dd01d8e4aed2f0ad2cef600bf157bd7764500", "Retryable": "c282bd362abaadb6a38a4fdb268df44325f8bfde40f719b77fdd690180c51889", "Retrying automatically...": "220837f6132382f3e8d4fb676f31aab3dc9fabc34b8f26c2e4ced9b83ebce4ec", + "Return handoff": "1ae47e9a67b5866c28ccd52c2040500610b795d917cc6620a444c170ded79836", + "Return reason": "79f91549d760515b430db20e8f2f0c766e417826dfea15029dca20f6eb9865ac", "Return to an unlocked interactive Windows desktop, restart Ling if needed, then check again.": "bccd46e406f4d428d83a9dd510df581b52e5c28c51da4d357e3e66c21740ee0e", "Return to implementation mode": "36435baabf6c6acc0666fba73f68609f9a41d17389ea216a99f41b5036e8b6ef", + "Returned for repair": "07abb2b9ba19b479a5126883271bb99fa47e239dffb3337fb13bbe2778654158", "Reusable": "8ded2b384940a83eb986da575b9efa40f1b03fd1d626bd91964cbb11502e0b42", "Reuse images already saved in this media project.": "3c3dd902fab18f841a51942e3a4e92a93c8d39ddd8b48ae9ee017982a26fa1c1", "Reuse settings": "17507cf7d05b478d392e9aa85d9c60046c0e2a185959546ac0864a89b95ec744", @@ -5916,6 +5925,7 @@ "Schema, checksums, and package metadata": "d91ffc3c0cdd2c26d37ba9cf60de0a718343a3969303718321092f0367a68808", "Scope": "b073f6c68ef8721107fd9815b19b2c35ec111d526b75c2123d1111ba64424000", "Scope ID": "4a201ef6cbd70a0728fc5c62eb87fd73ac56e470c853a3112ebf27617e49ff76", + "Scope unavailable": "38a32037c55100c3ad97878ca4e361a734a3422fb35bdbaeacebf4babb16cdf3", "Screen capture and input stop. Ling never interacts with the lock screen, login window, password fields, or secure desktop.": "cece9f092190c9e9e4c9d54f7da59256e922a56556c843c4e2b44fb1a67b0c5f", "Screen Recording": "bc3c742893dc7aff9c88fad0aae3f6749a6679a45cbafb0981f0e2ddaed5c49c", "Scripts can contact external services. Only run documents you trust.": "aa3560983d2f6c2656f1a9329fcb9434fa520d6f64bcccf0e6ae91c82ddbb0dd", @@ -7264,6 +7274,7 @@ "Uploading avatar": "995b81efc53e808131bd98d546fb3fa493a44b9b43b752237e590bf5a2e487c8", "Uploading...": "72cb29c90ccd8361ee82d02fabe81a3f01605c7b8fea4c9996fc01d84e3fbb48", "Upstream": "94adc696fd24e9fd67e83ba256a9f33bf1d7191d4a5e38ee8c69597cd89e4777", + "Upstream result unconfirmed": "d345a9ef65cf22ec93d4a7a0457157bcdc8696a90ea8e72690d04b25d7447d94", "Upstream version": "7927b36324919e81ae646c1455b608aadcecdedb285d9985d63d80572c3d5214", "urgent": "f9d37c23fcc0f03c15a86aba71dce01dd0baa7a1568180e60c2347a5863151bc", "URL image edit": "444b0006116b72fd13097e57758caf2edaa14133af89617d79ed238d71f518ff", @@ -7460,6 +7471,7 @@ "Waiting for runner activity...": "d0e7a1fd3763c4062fe8ac59255b9281effe77d2fd1d79f9ae2498e56ac3b96f", "Waiting for runner events...": "dc60b71d9ccb374ef6e53cc9496c05fd15dcd7b4955ec8ae7603cf360af7e85e", "Waiting for sign-in": "749a343a3a25c1df679ee6d6e74abb72e08ef956bfa15434407e61934dc054c9", + "Waiting for source": "8ac1608b4d56ce4dcc84a6d489fb055d7e9281efa150baa1fd5c2be7f2dd220b", "Waiting for system confirmation and Host readback...": "952e73792f0715e2d1f30ef0b0c03c4353cd9ab96caa71856bbce7dc41e2d161", "waiting for user input": "f43ef097687b1d8c8800577eefa3f7e10d0c82236cd0017f983d131e8e673174", "Waiting for votes": "bbb50edc12d1ce791069a8e84ca6e73a255b796306d32cdc1414987b986e172f", @@ -8079,6 +8091,7 @@ "A skill with the same identity already exists.": "Une compétence avec la même identité existe déjà.", "Abstain": "Abstention", "Accept": "Accepter", + "Accept handoff": "Accepter le transfert", "Acceptance": "Acceptation", "Acceptance checks will be clarified before execution.": "Les vérifications d'acceptation seront clarifiées avant l'exécution.", "Acceptance criteria": "Critères d'acceptation", @@ -8630,6 +8643,7 @@ "Avatar uploaded": "Avatar téléchargé", "Avatar, name, and a compact working brief.": "Avatar, nom et dossier de travail compact.", "Avoid triggers": "Évitez les déclencheurs", + "Awaiting acceptance": "En attente d'acceptation", "Awaiting confirmation": "En attente de confirmation", "Awaiting enable": "En attente d'activation", "Awaiting merge approval": "En attente d'approbation de fusion", @@ -8819,6 +8833,7 @@ "cancelling": "Annulation", "Cancelling": "Annulation", "Candidate approved for draft": "Candidat approuvé pour le repêchage", + "Candidate changed": "Le candidat a changé", "Candidate changed since verification": "Candidat modifié depuis la vérification", "Candidate cluster is not bound to a channel.": "Le groupe candidat n'est pas lié à un canal.", "Candidate Clusters": "Groupes candidats", @@ -9556,6 +9571,7 @@ "Could not start this scene.": "Impossible de démarrer cette scène.", "Could not start this workflow test.": "Impossible de démarrer ce test de flux de travail.", "Could not switch projects. Showing the last loaded project.": "Impossible de changer de projet. Affichage du dernier projet chargé.", + "Could not update handoff": "Impossible de mettre à jour le transfert", "Could not update the default model. Try again.": "Impossible de mettre à jour le modèle par défaut. Essayer de nouveau.", "Council actions": "Actions du Conseil", "Council boundaries": "Limites du conseil", @@ -11556,6 +11572,7 @@ "minutes": "minutes", "missing": "absent", "Missing": "Absent", + "Missing artifact": "Artefact manquant", "Missing dependency": "Missing dependency", "Missing fields": "Champs manquants", "Missing key": "Clé manquante", @@ -13137,6 +13154,7 @@ "Requested URL": "Demandé URL", "Required": "Requis", "Required before approving high-risk requests": "Obligatoire avant d'approuver les demandes à risque élevé", + "Required check incomplete": "Chèque requis incomplet", "Required checks": "Chèques obligatoires", "Required for assigned teammates": "Obligatoire pour les coéquipiers assignés", "Required input": "Entrée requise", @@ -13260,8 +13278,11 @@ "Retry upload": "Réessayez de télécharger", "Retryable": "Réessayable", "Retrying automatically...": "Nouvelle tentative automatique...", + "Return handoff": "Transfert de retour", + "Return reason": "Raison du retour", "Return to an unlocked interactive Windows desktop, restart Ling if needed, then check again.": "Retournez à un bureau Windows interactif déverrouillé, redémarrez Ling si nécessaire, puis vérifiez à nouveau.", "Return to implementation mode": "Retour au mode implémentation", + "Returned for repair": "Renvoyé pour réparation", "Reusable": "Réutilisable", "Reuse images already saved in this media project.": "Réutilisez les images déjà enregistrées dans ce projet multimédia.", "Reuse settings": "Réutiliser les paramètres", @@ -13652,6 +13673,7 @@ "Schema, checksums, and package metadata": "Schéma, sommes de contrôle et métadonnées du paquet", "Scope": "Portée", "Scope ID": "Portée ID", + "Scope unavailable": "Portée non disponible", "Screen capture and input stop. Ling never interacts with the lock screen, login window, password fields, or secure desktop.": "Capture d'écran et arrêt de la saisie. Ling n'interagit jamais avec l'écran de verrouillage, la fenêtre de connexion, les champs de mot de passe ou le bureau sécurisé.", "Screen Recording": "Enregistrement d'écran", "Scripts can contact external services. Only run documents you trust.": "Scripts can contact external services. Only run documents you trust.", @@ -15000,6 +15022,7 @@ "Uploading avatar": "Téléchargement de l'avatar", "Uploading...": "Téléchargement...", "Upstream": "En amont", + "Upstream result unconfirmed": "Résultat en amont non confirmé", "Upstream version": "Version en amont", "urgent": "urgent", "URL image edit": "URL modification d'image", @@ -15196,6 +15219,7 @@ "Waiting for runner activity...": "En attente de l'activité des coureurs...", "Waiting for runner events...": "En attendant les événements des coureurs...", "Waiting for sign-in": "En attente de connexion", + "Waiting for source": "En attente de la source", "Waiting for system confirmation and Host readback...": "En attente de confirmation du système et de relecture de l'hôte...", "waiting for user input": "en attente de la saisie de l'utilisateur", "Waiting for votes": "En attendant les votes", diff --git a/packages/localization/catalogs/fr-FR.json b/packages/localization/catalogs/fr-FR.json index 42acbc81f..e4b3d21c7 100644 --- a/packages/localization/catalogs/fr-FR.json +++ b/packages/localization/catalogs/fr-FR.json @@ -1,6 +1,6 @@ { "locale": "fr-FR", - "sourceRevision": "e134cc889637523423524b121cf71dcb37afdd3d7daf48eaea975d1c39785b2e", + "sourceRevision": "95b7d5d6546abac9c1f3ec3e54efe7bff99c84252c464896ecb9bf2245f66dfd", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -343,6 +343,7 @@ "A skill with the same identity already exists.": "66dd592d63333b2f2738e59f82a3866d9a6db17154a2cc2a752727f9a40998d1", "Abstain": "bf92ab42d052ce917d87cccce310e4351900347095f57947b3d08c1b1ff8bcf3", "Accept": "89713b9c9c1b8f659c9f49db25e4a47886dd673fee248c3f650391f09a759cef", + "Accept handoff": "13e3dc2abccf1296c34099b2080efb8c78ad82067436ff2039024f22ed8cc2e9", "Acceptance": "f190a5cb3aff17b0ee84f6ee258333d63a9cc71aa66c2e1788ebc3ae24a89b10", "Acceptance checks will be clarified before execution.": "ffd59db22fb4d3abb3c9cc67c351c818e1732dfca2d6cd18ae361a711fa4bb72", "Acceptance criteria": "d47a36f4f055810755db08b8d52e479baa4bb7a7a1f6449f71fa1ad5c20495ef", @@ -894,6 +895,7 @@ "Avatar uploaded": "d0d5a01f3f30fd933994a5950ddae3d14384d2c850c05deb50532b65aa6593ba", "Avatar, name, and a compact working brief.": "8d3706d4928090efbf7eca6683e3357f4f92732bc8be64c50dc8af8620a256c1", "Avoid triggers": "1419db0b6ddbd1f3a1632043da73529ecbcb0aef9183fd7d78e12df2942444de", + "Awaiting acceptance": "1dc7bfd9c54d73f22b4a9bdca5f741d5067a673b7f99d77e85367f6c8f049f85", "Awaiting confirmation": "d0ae0b38eac639b98f6a9b793a7add708bedbc6156963e3abc00453b235b2f3d", "Awaiting enable": "2a6b618d273346e8198806aa0d934a4bd6f5bf8b29d0780076df974ca93bf548", "Awaiting merge approval": "21837cdd561270cefc146079172511177736bb9091e9fb50d93bb072f271ecb0", @@ -1083,6 +1085,7 @@ "cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Candidate approved for draft": "59a57b9b459b3215e76b651f73f6521bc1bd71fa66bb52e046368a559db6632b", + "Candidate changed": "ca07c050cd47ab4f4d2f2fb6c60110b738af5b951a9ab708c36879365ec4532e", "Candidate changed since verification": "a2808e03661077a04403dab2204b7ce8d78310c296600bd03c5766a754f216a6", "Candidate cluster is not bound to a channel.": "6066a4e8725d065a7c2b8d2c8974a60c41c0a94124deeabd972f620ddd815786", "Candidate Clusters": "b617f8ce5325fa8984c324816b08d3a26c05dac3c3276bcc4f4ab7196222dbe4", @@ -1820,6 +1823,7 @@ "Could not start this scene.": "acb6aa181a8b842f1a8fc78344dc210cb98a45ccb6cf38ebd01beb65fe7fa27d", "Could not start this workflow test.": "7fe6f22a12127a9d74069d195a2513038cb2ff035acc4433d41e31006445e46e", "Could not switch projects. Showing the last loaded project.": "1a284203a5fd7f9d39c625017fde0d1c88180e3d2fa62b07aa7c9eb64a2e8aa6", + "Could not update handoff": "b6b7ff312171612e082d24ec92c854155d95fa6177a25cb0ac10f44e2c6110e2", "Could not update the default model. Try again.": "c87a00ab8ffb8c8c60209acf9b5cb10295a2a5e93c3e6f72dd8b2b4c316bdc16", "Council actions": "79763aae8f6334c6e29273106f3509b76114439dd686c9fa32753bca265eee32", "Council boundaries": "b4d6713050d140a9102817793dcb99d64565ee0d33d364b71f5d4d2afd234baf", @@ -3820,6 +3824,7 @@ "minutes": "90e63d85fa1ab2c8ed65222f3ebd794b1e524b4b7cf84bec451542d0451b2985", "missing": "ffa63583dfa6706b87d284b86b0d693a161e4840aad2c5cf6b5d27c3b9621f7d", "Missing": "6be36ca49ee85210c5d1ad9c377d90a9859c66d889110a2a5b0dccd390d12e20", + "Missing artifact": "e936c2df4de783be206107e353054e33ebba1c9988085200c260c7a6b8f8fc73", "Missing dependency": "5915d1e15e283f09695ad4b96ced9625bbd68aab747dc778f37aada0a7489b5c", "Missing fields": "69121d3f63d5a27ab7ce484854c065ce87e7022dc5fdfee9d778ab02515542fc", "Missing key": "0c8a17a63a322df1c40693b8469227cf5426b024673da9065f42c6cbb7c58370", @@ -5401,6 +5406,7 @@ "Requested URL": "8ae37b38fe2e415c8c641c3f2b6e9b42a11245cc8749a51a247cf0464b4c7faf", "Required": "4850b174b713d88cfc63de107830d5388929020e78abc91fc19bba7a6821625f", "Required before approving high-risk requests": "3cb612a5f43f4acbf5a6066a5da559bce858b50cdab2c2f6943bf4a05de1310a", + "Required check incomplete": "f64e6dfd1fc8cd1f2139aadf61c6ef43ecaa2ce783b2c712a56d31a574e05741", "Required checks": "f5a021846bd1a50002c0ea940f30cc97c285a118c62ff95af5c2f538584a7e26", "Required for assigned teammates": "4732aa544a8d93b886e6bcbbcc5c3314af692f8a8a812efd4844cd3589b7b63a", "Required input": "fafaaf99b5a6af521026448890a9dacaf4d47053804a34be7cdf364e13637181", @@ -5524,8 +5530,11 @@ "Retry upload": "731dc6e3f07ab1b090e925be766dd01d8e4aed2f0ad2cef600bf157bd7764500", "Retryable": "c282bd362abaadb6a38a4fdb268df44325f8bfde40f719b77fdd690180c51889", "Retrying automatically...": "220837f6132382f3e8d4fb676f31aab3dc9fabc34b8f26c2e4ced9b83ebce4ec", + "Return handoff": "1ae47e9a67b5866c28ccd52c2040500610b795d917cc6620a444c170ded79836", + "Return reason": "79f91549d760515b430db20e8f2f0c766e417826dfea15029dca20f6eb9865ac", "Return to an unlocked interactive Windows desktop, restart Ling if needed, then check again.": "bccd46e406f4d428d83a9dd510df581b52e5c28c51da4d357e3e66c21740ee0e", "Return to implementation mode": "36435baabf6c6acc0666fba73f68609f9a41d17389ea216a99f41b5036e8b6ef", + "Returned for repair": "07abb2b9ba19b479a5126883271bb99fa47e239dffb3337fb13bbe2778654158", "Reusable": "8ded2b384940a83eb986da575b9efa40f1b03fd1d626bd91964cbb11502e0b42", "Reuse images already saved in this media project.": "3c3dd902fab18f841a51942e3a4e92a93c8d39ddd8b48ae9ee017982a26fa1c1", "Reuse settings": "17507cf7d05b478d392e9aa85d9c60046c0e2a185959546ac0864a89b95ec744", @@ -5916,6 +5925,7 @@ "Schema, checksums, and package metadata": "d91ffc3c0cdd2c26d37ba9cf60de0a718343a3969303718321092f0367a68808", "Scope": "b073f6c68ef8721107fd9815b19b2c35ec111d526b75c2123d1111ba64424000", "Scope ID": "4a201ef6cbd70a0728fc5c62eb87fd73ac56e470c853a3112ebf27617e49ff76", + "Scope unavailable": "38a32037c55100c3ad97878ca4e361a734a3422fb35bdbaeacebf4babb16cdf3", "Screen capture and input stop. Ling never interacts with the lock screen, login window, password fields, or secure desktop.": "cece9f092190c9e9e4c9d54f7da59256e922a56556c843c4e2b44fb1a67b0c5f", "Screen Recording": "bc3c742893dc7aff9c88fad0aae3f6749a6679a45cbafb0981f0e2ddaed5c49c", "Scripts can contact external services. Only run documents you trust.": "aa3560983d2f6c2656f1a9329fcb9434fa520d6f64bcccf0e6ae91c82ddbb0dd", @@ -7264,6 +7274,7 @@ "Uploading avatar": "995b81efc53e808131bd98d546fb3fa493a44b9b43b752237e590bf5a2e487c8", "Uploading...": "72cb29c90ccd8361ee82d02fabe81a3f01605c7b8fea4c9996fc01d84e3fbb48", "Upstream": "94adc696fd24e9fd67e83ba256a9f33bf1d7191d4a5e38ee8c69597cd89e4777", + "Upstream result unconfirmed": "d345a9ef65cf22ec93d4a7a0457157bcdc8696a90ea8e72690d04b25d7447d94", "Upstream version": "7927b36324919e81ae646c1455b608aadcecdedb285d9985d63d80572c3d5214", "urgent": "f9d37c23fcc0f03c15a86aba71dce01dd0baa7a1568180e60c2347a5863151bc", "URL image edit": "444b0006116b72fd13097e57758caf2edaa14133af89617d79ed238d71f518ff", @@ -7460,6 +7471,7 @@ "Waiting for runner activity...": "d0e7a1fd3763c4062fe8ac59255b9281effe77d2fd1d79f9ae2498e56ac3b96f", "Waiting for runner events...": "dc60b71d9ccb374ef6e53cc9496c05fd15dcd7b4955ec8ae7603cf360af7e85e", "Waiting for sign-in": "749a343a3a25c1df679ee6d6e74abb72e08ef956bfa15434407e61934dc054c9", + "Waiting for source": "8ac1608b4d56ce4dcc84a6d489fb055d7e9281efa150baa1fd5c2be7f2dd220b", "Waiting for system confirmation and Host readback...": "952e73792f0715e2d1f30ef0b0c03c4353cd9ab96caa71856bbce7dc41e2d161", "waiting for user input": "f43ef097687b1d8c8800577eefa3f7e10d0c82236cd0017f983d131e8e673174", "Waiting for votes": "bbb50edc12d1ce791069a8e84ca6e73a255b796306d32cdc1414987b986e172f", @@ -8079,6 +8091,7 @@ "A skill with the same identity already exists.": "Une compétence avec la même identité existe déjà.", "Abstain": "Abstention", "Accept": "Accepter", + "Accept handoff": "Accepter le transfert", "Acceptance": "Acceptation", "Acceptance checks will be clarified before execution.": "Les contrôles d'acceptation seront clarifiés avant l'exécution.", "Acceptance criteria": "Critères d'acceptation", @@ -8630,6 +8643,7 @@ "Avatar uploaded": "Avatar téléchargé", "Avatar, name, and a compact working brief.": "Avatar, nom et dossier de travail compact.", "Avoid triggers": "Évitez les déclencheurs", + "Awaiting acceptance": "En attente d'acceptation", "Awaiting confirmation": "En attente de confirmation", "Awaiting enable": "En attente d'activation", "Awaiting merge approval": "En attente d'approbation de fusion", @@ -8819,6 +8833,7 @@ "cancelling": "Annulation", "Cancelling": "Annulation", "Candidate approved for draft": "Candidat approuvé pour le repêchage", + "Candidate changed": "Le candidat a changé", "Candidate changed since verification": "Candidat modifié depuis la vérification", "Candidate cluster is not bound to a channel.": "Le cluster candidat n’est pas lié à un canal.", "Candidate Clusters": "Groupes candidats", @@ -9556,6 +9571,7 @@ "Could not start this scene.": "Impossible de démarrer cette scène.", "Could not start this workflow test.": "Impossible de démarrer ce test de flux de travail.", "Could not switch projects. Showing the last loaded project.": "Impossible de changer de projet. Affichage du dernier projet chargé.", + "Could not update handoff": "Impossible de mettre à jour le transfert", "Could not update the default model. Try again.": "Impossible de mettre à jour le modèle par défaut. Essayer à nouveau.", "Council actions": "Actions du Conseil", "Council boundaries": "Limites du conseil", @@ -11556,6 +11572,7 @@ "minutes": "minutes", "missing": "manquant", "Missing": "Manquant", + "Missing artifact": "Artefact manquant", "Missing dependency": "Missing dependency", "Missing fields": "Champs manquants", "Missing key": "Clé manquante", @@ -13137,6 +13154,7 @@ "Requested URL": "Demandé URL", "Required": "Requis", "Required before approving high-risk requests": "Obligatoire avant d’approuver les demandes à haut risque", + "Required check incomplete": "Chèque requis incomplet", "Required checks": "Chèques obligatoires", "Required for assigned teammates": "Obligatoire pour les coéquipiers assignés", "Required input": "Entrée requise", @@ -13260,8 +13278,11 @@ "Retry upload": "Réessayez de télécharger", "Retryable": "Réessayable", "Retrying automatically...": "Nouvelle tentative automatique...", + "Return handoff": "Transfert de retour", + "Return reason": "Raison du retour", "Return to an unlocked interactive Windows desktop, restart Ling if needed, then check again.": "Revenez à un bureau Windows interactif déverrouillé, redémarrez Ling si nécessaire, puis vérifiez à nouveau.", "Return to implementation mode": "Retour au mode implémentation", + "Returned for repair": "Renvoyé pour réparation", "Reusable": "Réutilisable", "Reuse images already saved in this media project.": "Réutilisez les images déjà enregistrées dans ce projet multimédia.", "Reuse settings": "Réutiliser les paramètres", @@ -13652,6 +13673,7 @@ "Schema, checksums, and package metadata": "Schéma, sommes de contrôle et métadonnées du package", "Scope": "Portée", "Scope ID": "Portée ID", + "Scope unavailable": "Portée indisponible", "Screen capture and input stop. Ling never interacts with the lock screen, login window, password fields, or secure desktop.": "Capture d'écran et arrêt de la saisie. Ling n'interagit jamais avec l'écran de verrouillage, la fenêtre de connexion, les champs de mot de passe ou le bureau sécurisé.", "Screen Recording": "Enregistrement d'écran", "Scripts can contact external services. Only run documents you trust.": "Scripts can contact external services. Only run documents you trust.", @@ -15000,6 +15022,7 @@ "Uploading avatar": "Téléchargement de l'avatar", "Uploading...": "Téléchargement...", "Upstream": "En amont", + "Upstream result unconfirmed": "Résultat amont non confirmé", "Upstream version": "Version amont", "urgent": "urgent", "URL image edit": "URL modification d'image", @@ -15196,6 +15219,7 @@ "Waiting for runner activity...": "En attente de l'activité des coureurs...", "Waiting for runner events...": "En attendant les événements des coureurs...", "Waiting for sign-in": "En attente de connexion", + "Waiting for source": "En attente de la source", "Waiting for system confirmation and Host readback...": "En attente de confirmation du système et de relecture de l'hôte...", "waiting for user input": "en attente de la saisie de l'utilisateur", "Waiting for votes": "En attendant les votes", diff --git a/packages/localization/catalogs/gu-IN.json b/packages/localization/catalogs/gu-IN.json index bcf07d3b9..562efe483 100644 --- a/packages/localization/catalogs/gu-IN.json +++ b/packages/localization/catalogs/gu-IN.json @@ -1,6 +1,6 @@ { "locale": "gu-IN", - "sourceRevision": "e134cc889637523423524b121cf71dcb37afdd3d7daf48eaea975d1c39785b2e", + "sourceRevision": "95b7d5d6546abac9c1f3ec3e54efe7bff99c84252c464896ecb9bf2245f66dfd", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -343,6 +343,7 @@ "A skill with the same identity already exists.": "66dd592d63333b2f2738e59f82a3866d9a6db17154a2cc2a752727f9a40998d1", "Abstain": "bf92ab42d052ce917d87cccce310e4351900347095f57947b3d08c1b1ff8bcf3", "Accept": "89713b9c9c1b8f659c9f49db25e4a47886dd673fee248c3f650391f09a759cef", + "Accept handoff": "13e3dc2abccf1296c34099b2080efb8c78ad82067436ff2039024f22ed8cc2e9", "Acceptance": "f190a5cb3aff17b0ee84f6ee258333d63a9cc71aa66c2e1788ebc3ae24a89b10", "Acceptance checks will be clarified before execution.": "ffd59db22fb4d3abb3c9cc67c351c818e1732dfca2d6cd18ae361a711fa4bb72", "Acceptance criteria": "d47a36f4f055810755db08b8d52e479baa4bb7a7a1f6449f71fa1ad5c20495ef", @@ -894,6 +895,7 @@ "Avatar uploaded": "d0d5a01f3f30fd933994a5950ddae3d14384d2c850c05deb50532b65aa6593ba", "Avatar, name, and a compact working brief.": "8d3706d4928090efbf7eca6683e3357f4f92732bc8be64c50dc8af8620a256c1", "Avoid triggers": "1419db0b6ddbd1f3a1632043da73529ecbcb0aef9183fd7d78e12df2942444de", + "Awaiting acceptance": "1dc7bfd9c54d73f22b4a9bdca5f741d5067a673b7f99d77e85367f6c8f049f85", "Awaiting confirmation": "d0ae0b38eac639b98f6a9b793a7add708bedbc6156963e3abc00453b235b2f3d", "Awaiting enable": "2a6b618d273346e8198806aa0d934a4bd6f5bf8b29d0780076df974ca93bf548", "Awaiting merge approval": "21837cdd561270cefc146079172511177736bb9091e9fb50d93bb072f271ecb0", @@ -1083,6 +1085,7 @@ "cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Candidate approved for draft": "59a57b9b459b3215e76b651f73f6521bc1bd71fa66bb52e046368a559db6632b", + "Candidate changed": "ca07c050cd47ab4f4d2f2fb6c60110b738af5b951a9ab708c36879365ec4532e", "Candidate changed since verification": "a2808e03661077a04403dab2204b7ce8d78310c296600bd03c5766a754f216a6", "Candidate cluster is not bound to a channel.": "6066a4e8725d065a7c2b8d2c8974a60c41c0a94124deeabd972f620ddd815786", "Candidate Clusters": "b617f8ce5325fa8984c324816b08d3a26c05dac3c3276bcc4f4ab7196222dbe4", @@ -1820,6 +1823,7 @@ "Could not start this scene.": "acb6aa181a8b842f1a8fc78344dc210cb98a45ccb6cf38ebd01beb65fe7fa27d", "Could not start this workflow test.": "7fe6f22a12127a9d74069d195a2513038cb2ff035acc4433d41e31006445e46e", "Could not switch projects. Showing the last loaded project.": "1a284203a5fd7f9d39c625017fde0d1c88180e3d2fa62b07aa7c9eb64a2e8aa6", + "Could not update handoff": "b6b7ff312171612e082d24ec92c854155d95fa6177a25cb0ac10f44e2c6110e2", "Could not update the default model. Try again.": "c87a00ab8ffb8c8c60209acf9b5cb10295a2a5e93c3e6f72dd8b2b4c316bdc16", "Council actions": "79763aae8f6334c6e29273106f3509b76114439dd686c9fa32753bca265eee32", "Council boundaries": "b4d6713050d140a9102817793dcb99d64565ee0d33d364b71f5d4d2afd234baf", @@ -3820,6 +3824,7 @@ "minutes": "90e63d85fa1ab2c8ed65222f3ebd794b1e524b4b7cf84bec451542d0451b2985", "missing": "ffa63583dfa6706b87d284b86b0d693a161e4840aad2c5cf6b5d27c3b9621f7d", "Missing": "6be36ca49ee85210c5d1ad9c377d90a9859c66d889110a2a5b0dccd390d12e20", + "Missing artifact": "e936c2df4de783be206107e353054e33ebba1c9988085200c260c7a6b8f8fc73", "Missing dependency": "5915d1e15e283f09695ad4b96ced9625bbd68aab747dc778f37aada0a7489b5c", "Missing fields": "69121d3f63d5a27ab7ce484854c065ce87e7022dc5fdfee9d778ab02515542fc", "Missing key": "0c8a17a63a322df1c40693b8469227cf5426b024673da9065f42c6cbb7c58370", @@ -5401,6 +5406,7 @@ "Requested URL": "8ae37b38fe2e415c8c641c3f2b6e9b42a11245cc8749a51a247cf0464b4c7faf", "Required": "4850b174b713d88cfc63de107830d5388929020e78abc91fc19bba7a6821625f", "Required before approving high-risk requests": "3cb612a5f43f4acbf5a6066a5da559bce858b50cdab2c2f6943bf4a05de1310a", + "Required check incomplete": "f64e6dfd1fc8cd1f2139aadf61c6ef43ecaa2ce783b2c712a56d31a574e05741", "Required checks": "f5a021846bd1a50002c0ea940f30cc97c285a118c62ff95af5c2f538584a7e26", "Required for assigned teammates": "4732aa544a8d93b886e6bcbbcc5c3314af692f8a8a812efd4844cd3589b7b63a", "Required input": "fafaaf99b5a6af521026448890a9dacaf4d47053804a34be7cdf364e13637181", @@ -5524,8 +5530,11 @@ "Retry upload": "731dc6e3f07ab1b090e925be766dd01d8e4aed2f0ad2cef600bf157bd7764500", "Retryable": "c282bd362abaadb6a38a4fdb268df44325f8bfde40f719b77fdd690180c51889", "Retrying automatically...": "220837f6132382f3e8d4fb676f31aab3dc9fabc34b8f26c2e4ced9b83ebce4ec", + "Return handoff": "1ae47e9a67b5866c28ccd52c2040500610b795d917cc6620a444c170ded79836", + "Return reason": "79f91549d760515b430db20e8f2f0c766e417826dfea15029dca20f6eb9865ac", "Return to an unlocked interactive Windows desktop, restart Ling if needed, then check again.": "bccd46e406f4d428d83a9dd510df581b52e5c28c51da4d357e3e66c21740ee0e", "Return to implementation mode": "36435baabf6c6acc0666fba73f68609f9a41d17389ea216a99f41b5036e8b6ef", + "Returned for repair": "07abb2b9ba19b479a5126883271bb99fa47e239dffb3337fb13bbe2778654158", "Reusable": "8ded2b384940a83eb986da575b9efa40f1b03fd1d626bd91964cbb11502e0b42", "Reuse images already saved in this media project.": "3c3dd902fab18f841a51942e3a4e92a93c8d39ddd8b48ae9ee017982a26fa1c1", "Reuse settings": "17507cf7d05b478d392e9aa85d9c60046c0e2a185959546ac0864a89b95ec744", @@ -5916,6 +5925,7 @@ "Schema, checksums, and package metadata": "d91ffc3c0cdd2c26d37ba9cf60de0a718343a3969303718321092f0367a68808", "Scope": "b073f6c68ef8721107fd9815b19b2c35ec111d526b75c2123d1111ba64424000", "Scope ID": "4a201ef6cbd70a0728fc5c62eb87fd73ac56e470c853a3112ebf27617e49ff76", + "Scope unavailable": "38a32037c55100c3ad97878ca4e361a734a3422fb35bdbaeacebf4babb16cdf3", "Screen capture and input stop. Ling never interacts with the lock screen, login window, password fields, or secure desktop.": "cece9f092190c9e9e4c9d54f7da59256e922a56556c843c4e2b44fb1a67b0c5f", "Screen Recording": "bc3c742893dc7aff9c88fad0aae3f6749a6679a45cbafb0981f0e2ddaed5c49c", "Scripts can contact external services. Only run documents you trust.": "aa3560983d2f6c2656f1a9329fcb9434fa520d6f64bcccf0e6ae91c82ddbb0dd", @@ -7264,6 +7274,7 @@ "Uploading avatar": "995b81efc53e808131bd98d546fb3fa493a44b9b43b752237e590bf5a2e487c8", "Uploading...": "72cb29c90ccd8361ee82d02fabe81a3f01605c7b8fea4c9996fc01d84e3fbb48", "Upstream": "94adc696fd24e9fd67e83ba256a9f33bf1d7191d4a5e38ee8c69597cd89e4777", + "Upstream result unconfirmed": "d345a9ef65cf22ec93d4a7a0457157bcdc8696a90ea8e72690d04b25d7447d94", "Upstream version": "7927b36324919e81ae646c1455b608aadcecdedb285d9985d63d80572c3d5214", "urgent": "f9d37c23fcc0f03c15a86aba71dce01dd0baa7a1568180e60c2347a5863151bc", "URL image edit": "444b0006116b72fd13097e57758caf2edaa14133af89617d79ed238d71f518ff", @@ -7460,6 +7471,7 @@ "Waiting for runner activity...": "d0e7a1fd3763c4062fe8ac59255b9281effe77d2fd1d79f9ae2498e56ac3b96f", "Waiting for runner events...": "dc60b71d9ccb374ef6e53cc9496c05fd15dcd7b4955ec8ae7603cf360af7e85e", "Waiting for sign-in": "749a343a3a25c1df679ee6d6e74abb72e08ef956bfa15434407e61934dc054c9", + "Waiting for source": "8ac1608b4d56ce4dcc84a6d489fb055d7e9281efa150baa1fd5c2be7f2dd220b", "Waiting for system confirmation and Host readback...": "952e73792f0715e2d1f30ef0b0c03c4353cd9ab96caa71856bbce7dc41e2d161", "waiting for user input": "f43ef097687b1d8c8800577eefa3f7e10d0c82236cd0017f983d131e8e673174", "Waiting for votes": "bbb50edc12d1ce791069a8e84ca6e73a255b796306d32cdc1414987b986e172f", @@ -8079,6 +8091,7 @@ "A skill with the same identity already exists.": "સમાન ઓળખ સાથેનું કૌશલ્ય પહેલેથી અસ્તિત્વમાં છે.", "Abstain": "ત્યાગ કરો", "Accept": "સ્વીકારો", + "Accept handoff": "હેન્ડઓફ સ્વીકારો", "Acceptance": "સ્વીકૃતિ", "Acceptance checks will be clarified before execution.": "એક્ઝેક્યુશન પહેલા સ્વીકૃતિ ચેકની સ્પષ્ટતા કરવામાં આવશે.", "Acceptance criteria": "સ્વીકૃતિ માપદંડ", @@ -8630,6 +8643,7 @@ "Avatar uploaded": "અવતાર અપલોડ કર્યો", "Avatar, name, and a compact working brief.": "અવતાર, નામ અને કોમ્પેક્ટ વર્કિંગ બ્રિફ.", "Avoid triggers": "ટ્રિગર્સ ટાળો", + "Awaiting acceptance": "સ્વીકૃતિની રાહ જોઈ રહ્યા છીએ", "Awaiting confirmation": "પુષ્ટિની રાહ જોઈ રહ્યું છે", "Awaiting enable": "સક્ષમ થવાની રાહ જોઈ રહ્યું છે", "Awaiting merge approval": "મર્જની મંજૂરીની રાહ જોઈ રહ્યાં છીએ", @@ -8819,6 +8833,7 @@ "cancelling": "રદ કરી રહ્યું છે", "Cancelling": "રદ કરી રહ્યું છે", "Candidate approved for draft": "ડ્રાફ્ટ માટે ઉમેદવાર મંજૂર", + "Candidate changed": "ઉમેદવાર બદલાયા", "Candidate changed since verification": "ચકાસણી બાદ ઉમેદવાર બદલાયો", "Candidate cluster is not bound to a channel.": "ઉમેદવાર ક્લસ્ટર ચેનલ સાથે બંધાયેલ નથી.", "Candidate Clusters": "ઉમેદવાર ક્લસ્ટરો", @@ -9556,6 +9571,7 @@ "Could not start this scene.": "આ દ્રશ્ય શરૂ કરી શકાયું નથી.", "Could not start this workflow test.": "આ વર્કફ્લો પરીક્ષણ શરૂ કરી શકાયું નથી.", "Could not switch projects. Showing the last loaded project.": "પ્રોજેક્ટ્સ સ્વિચ કરી શકાયા નથી. છેલ્લો લોડ થયેલ પ્રોજેક્ટ બતાવી રહ્યું છે.", + "Could not update handoff": "હેન્ડઓફ અપડેટ કરી શકાયું નથી", "Could not update the default model. Try again.": "ડિફૉલ્ટ મોડલ અપડેટ કરી શકાયું નથી. ફરી પ્રયાસ કરો.", "Council actions": "કાઉન્સિલ ક્રિયાઓ", "Council boundaries": "કાઉન્સિલની સીમાઓ", @@ -11556,6 +11572,7 @@ "minutes": "મિનિટ", "missing": "ખૂટે છે", "Missing": "ખૂટે છે", + "Missing artifact": "ગુમ થયેલ આર્ટિફેક્ટ", "Missing dependency": "Missing dependency", "Missing fields": "ખૂટે છે", "Missing key": "ચાવી ખૂટે છે", @@ -13137,6 +13154,7 @@ "Requested URL": "URL ની વિનંતી કરી", "Required": "જરૂરી છે", "Required before approving high-risk requests": "ઉચ્ચ જોખમની વિનંતીઓ મંજૂર કરતા પહેલા જરૂરી છે", + "Required check incomplete": "જરૂરી ચેક અધૂરો છે", "Required checks": "જરૂરી ચેક", "Required for assigned teammates": "સોંપાયેલ ટીમના સાથીઓ માટે જરૂરી છે", "Required input": "જરૂરી ઇનપુટ", @@ -13260,8 +13278,11 @@ "Retry upload": "ફરીથી અપલોડ કરવાનો પ્રયાસ કરો", "Retryable": "ફરી પ્રયાસ કરવા યોગ્ય", "Retrying automatically...": "આપમેળે ફરી પ્રયાસ કરી રહ્યાં છીએ...", + "Return handoff": "રીટર્ન હેન્ડઓફ", + "Return reason": "પરત કારણ", "Return to an unlocked interactive Windows desktop, restart Ling if needed, then check again.": "અનલૉક કરેલ ઇન્ટરેક્ટિવ વિન્ડોઝ ડેસ્કટોપ પર પાછા ફરો, જો જરૂરી હોય તો Ling પુનઃપ્રારંભ કરો, પછી ફરીથી તપાસો.", "Return to implementation mode": "અમલીકરણ મોડ પર પાછા ફરો", + "Returned for repair": "સમારકામ માટે પાછા ફર્યા", "Reusable": "ફરીથી વાપરી શકાય તેવું", "Reuse images already saved in this media project.": "આ મીડિયા પ્રોજેક્ટમાં પહેલેથી સાચવેલ છબીઓનો ફરીથી ઉપયોગ કરો.", "Reuse settings": "સેટિંગ્સનો ફરીથી ઉપયોગ કરો", @@ -13652,6 +13673,7 @@ "Schema, checksums, and package metadata": "સ્કીમા, ચેકસમ અને પેકેજ મેટાડેટા", "Scope": "અવકાશ", "Scope ID": "અવકાશ ID", + "Scope unavailable": "અવકાશ અનુપલબ્ધ", "Screen capture and input stop. Ling never interacts with the lock screen, login window, password fields, or secure desktop.": "સ્ક્રીન કેપ્ચર અને ઇનપુટ સ્ટોપ. Ling ક્યારેય લૉક સ્ક્રીન, લૉગિન વિંડો, પાસવર્ડ ફીલ્ડ્સ અથવા સુરક્ષિત ડેસ્કટૉપ સાથે ક્રિયાપ્રતિક્રિયા કરતું નથી.", "Screen Recording": "સ્ક્રીન રેકોર્ડિંગ", "Scripts can contact external services. Only run documents you trust.": "Scripts can contact external services. Only run documents you trust.", @@ -15000,6 +15022,7 @@ "Uploading avatar": "અવતાર અપલોડ કરી રહ્યાં છીએ", "Uploading...": "અપલોડ કરી રહ્યું છે...", "Upstream": "અપસ્ટ્રીમ", + "Upstream result unconfirmed": "અપસ્ટ્રીમ પરિણામ અપ્રમાણિત", "Upstream version": "અપસ્ટ્રીમ સંસ્કરણ", "urgent": "તાત્કાલિક", "URL image edit": "URL ઇમેજ એડિટ", @@ -15196,6 +15219,7 @@ "Waiting for runner activity...": "દોડવીર પ્રવૃત્તિની રાહ જોઈ રહ્યાં છીએ...", "Waiting for runner events...": "રનર ઇવેન્ટ્સની રાહ જોઈ રહ્યાં છીએ...", "Waiting for sign-in": "સાઇન-ઇનની રાહ જોઈ રહ્યાં છીએ", + "Waiting for source": "સ્ત્રોત માટે રાહ જોઈ રહ્યું છે", "Waiting for system confirmation and Host readback...": "સિસ્ટમ કન્ફર્મેશન અને હોસ્ટ રીડબેકની રાહ જોઈ રહ્યાં છીએ...", "waiting for user input": "વપરાશકર્તા ઇનપુટ માટે રાહ જોઈ રહ્યું છે", "Waiting for votes": "વોટની રાહ જોઈ રહ્યા છીએ", diff --git a/packages/localization/catalogs/hi-IN.json b/packages/localization/catalogs/hi-IN.json index 163e102fd..bb51f1acd 100644 --- a/packages/localization/catalogs/hi-IN.json +++ b/packages/localization/catalogs/hi-IN.json @@ -1,6 +1,6 @@ { "locale": "hi-IN", - "sourceRevision": "e134cc889637523423524b121cf71dcb37afdd3d7daf48eaea975d1c39785b2e", + "sourceRevision": "95b7d5d6546abac9c1f3ec3e54efe7bff99c84252c464896ecb9bf2245f66dfd", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -343,6 +343,7 @@ "A skill with the same identity already exists.": "66dd592d63333b2f2738e59f82a3866d9a6db17154a2cc2a752727f9a40998d1", "Abstain": "bf92ab42d052ce917d87cccce310e4351900347095f57947b3d08c1b1ff8bcf3", "Accept": "89713b9c9c1b8f659c9f49db25e4a47886dd673fee248c3f650391f09a759cef", + "Accept handoff": "13e3dc2abccf1296c34099b2080efb8c78ad82067436ff2039024f22ed8cc2e9", "Acceptance": "f190a5cb3aff17b0ee84f6ee258333d63a9cc71aa66c2e1788ebc3ae24a89b10", "Acceptance checks will be clarified before execution.": "ffd59db22fb4d3abb3c9cc67c351c818e1732dfca2d6cd18ae361a711fa4bb72", "Acceptance criteria": "d47a36f4f055810755db08b8d52e479baa4bb7a7a1f6449f71fa1ad5c20495ef", @@ -894,6 +895,7 @@ "Avatar uploaded": "d0d5a01f3f30fd933994a5950ddae3d14384d2c850c05deb50532b65aa6593ba", "Avatar, name, and a compact working brief.": "8d3706d4928090efbf7eca6683e3357f4f92732bc8be64c50dc8af8620a256c1", "Avoid triggers": "1419db0b6ddbd1f3a1632043da73529ecbcb0aef9183fd7d78e12df2942444de", + "Awaiting acceptance": "1dc7bfd9c54d73f22b4a9bdca5f741d5067a673b7f99d77e85367f6c8f049f85", "Awaiting confirmation": "d0ae0b38eac639b98f6a9b793a7add708bedbc6156963e3abc00453b235b2f3d", "Awaiting enable": "2a6b618d273346e8198806aa0d934a4bd6f5bf8b29d0780076df974ca93bf548", "Awaiting merge approval": "21837cdd561270cefc146079172511177736bb9091e9fb50d93bb072f271ecb0", @@ -1083,6 +1085,7 @@ "cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Candidate approved for draft": "59a57b9b459b3215e76b651f73f6521bc1bd71fa66bb52e046368a559db6632b", + "Candidate changed": "ca07c050cd47ab4f4d2f2fb6c60110b738af5b951a9ab708c36879365ec4532e", "Candidate changed since verification": "a2808e03661077a04403dab2204b7ce8d78310c296600bd03c5766a754f216a6", "Candidate cluster is not bound to a channel.": "6066a4e8725d065a7c2b8d2c8974a60c41c0a94124deeabd972f620ddd815786", "Candidate Clusters": "b617f8ce5325fa8984c324816b08d3a26c05dac3c3276bcc4f4ab7196222dbe4", @@ -1820,6 +1823,7 @@ "Could not start this scene.": "acb6aa181a8b842f1a8fc78344dc210cb98a45ccb6cf38ebd01beb65fe7fa27d", "Could not start this workflow test.": "7fe6f22a12127a9d74069d195a2513038cb2ff035acc4433d41e31006445e46e", "Could not switch projects. Showing the last loaded project.": "1a284203a5fd7f9d39c625017fde0d1c88180e3d2fa62b07aa7c9eb64a2e8aa6", + "Could not update handoff": "b6b7ff312171612e082d24ec92c854155d95fa6177a25cb0ac10f44e2c6110e2", "Could not update the default model. Try again.": "c87a00ab8ffb8c8c60209acf9b5cb10295a2a5e93c3e6f72dd8b2b4c316bdc16", "Council actions": "79763aae8f6334c6e29273106f3509b76114439dd686c9fa32753bca265eee32", "Council boundaries": "b4d6713050d140a9102817793dcb99d64565ee0d33d364b71f5d4d2afd234baf", @@ -3820,6 +3824,7 @@ "minutes": "90e63d85fa1ab2c8ed65222f3ebd794b1e524b4b7cf84bec451542d0451b2985", "missing": "ffa63583dfa6706b87d284b86b0d693a161e4840aad2c5cf6b5d27c3b9621f7d", "Missing": "6be36ca49ee85210c5d1ad9c377d90a9859c66d889110a2a5b0dccd390d12e20", + "Missing artifact": "e936c2df4de783be206107e353054e33ebba1c9988085200c260c7a6b8f8fc73", "Missing dependency": "5915d1e15e283f09695ad4b96ced9625bbd68aab747dc778f37aada0a7489b5c", "Missing fields": "69121d3f63d5a27ab7ce484854c065ce87e7022dc5fdfee9d778ab02515542fc", "Missing key": "0c8a17a63a322df1c40693b8469227cf5426b024673da9065f42c6cbb7c58370", @@ -5401,6 +5406,7 @@ "Requested URL": "8ae37b38fe2e415c8c641c3f2b6e9b42a11245cc8749a51a247cf0464b4c7faf", "Required": "4850b174b713d88cfc63de107830d5388929020e78abc91fc19bba7a6821625f", "Required before approving high-risk requests": "3cb612a5f43f4acbf5a6066a5da559bce858b50cdab2c2f6943bf4a05de1310a", + "Required check incomplete": "f64e6dfd1fc8cd1f2139aadf61c6ef43ecaa2ce783b2c712a56d31a574e05741", "Required checks": "f5a021846bd1a50002c0ea940f30cc97c285a118c62ff95af5c2f538584a7e26", "Required for assigned teammates": "4732aa544a8d93b886e6bcbbcc5c3314af692f8a8a812efd4844cd3589b7b63a", "Required input": "fafaaf99b5a6af521026448890a9dacaf4d47053804a34be7cdf364e13637181", @@ -5524,8 +5530,11 @@ "Retry upload": "731dc6e3f07ab1b090e925be766dd01d8e4aed2f0ad2cef600bf157bd7764500", "Retryable": "c282bd362abaadb6a38a4fdb268df44325f8bfde40f719b77fdd690180c51889", "Retrying automatically...": "220837f6132382f3e8d4fb676f31aab3dc9fabc34b8f26c2e4ced9b83ebce4ec", + "Return handoff": "1ae47e9a67b5866c28ccd52c2040500610b795d917cc6620a444c170ded79836", + "Return reason": "79f91549d760515b430db20e8f2f0c766e417826dfea15029dca20f6eb9865ac", "Return to an unlocked interactive Windows desktop, restart Ling if needed, then check again.": "bccd46e406f4d428d83a9dd510df581b52e5c28c51da4d357e3e66c21740ee0e", "Return to implementation mode": "36435baabf6c6acc0666fba73f68609f9a41d17389ea216a99f41b5036e8b6ef", + "Returned for repair": "07abb2b9ba19b479a5126883271bb99fa47e239dffb3337fb13bbe2778654158", "Reusable": "8ded2b384940a83eb986da575b9efa40f1b03fd1d626bd91964cbb11502e0b42", "Reuse images already saved in this media project.": "3c3dd902fab18f841a51942e3a4e92a93c8d39ddd8b48ae9ee017982a26fa1c1", "Reuse settings": "17507cf7d05b478d392e9aa85d9c60046c0e2a185959546ac0864a89b95ec744", @@ -5916,6 +5925,7 @@ "Schema, checksums, and package metadata": "d91ffc3c0cdd2c26d37ba9cf60de0a718343a3969303718321092f0367a68808", "Scope": "b073f6c68ef8721107fd9815b19b2c35ec111d526b75c2123d1111ba64424000", "Scope ID": "4a201ef6cbd70a0728fc5c62eb87fd73ac56e470c853a3112ebf27617e49ff76", + "Scope unavailable": "38a32037c55100c3ad97878ca4e361a734a3422fb35bdbaeacebf4babb16cdf3", "Screen capture and input stop. Ling never interacts with the lock screen, login window, password fields, or secure desktop.": "cece9f092190c9e9e4c9d54f7da59256e922a56556c843c4e2b44fb1a67b0c5f", "Screen Recording": "bc3c742893dc7aff9c88fad0aae3f6749a6679a45cbafb0981f0e2ddaed5c49c", "Scripts can contact external services. Only run documents you trust.": "aa3560983d2f6c2656f1a9329fcb9434fa520d6f64bcccf0e6ae91c82ddbb0dd", @@ -7264,6 +7274,7 @@ "Uploading avatar": "995b81efc53e808131bd98d546fb3fa493a44b9b43b752237e590bf5a2e487c8", "Uploading...": "72cb29c90ccd8361ee82d02fabe81a3f01605c7b8fea4c9996fc01d84e3fbb48", "Upstream": "94adc696fd24e9fd67e83ba256a9f33bf1d7191d4a5e38ee8c69597cd89e4777", + "Upstream result unconfirmed": "d345a9ef65cf22ec93d4a7a0457157bcdc8696a90ea8e72690d04b25d7447d94", "Upstream version": "7927b36324919e81ae646c1455b608aadcecdedb285d9985d63d80572c3d5214", "urgent": "f9d37c23fcc0f03c15a86aba71dce01dd0baa7a1568180e60c2347a5863151bc", "URL image edit": "444b0006116b72fd13097e57758caf2edaa14133af89617d79ed238d71f518ff", @@ -7460,6 +7471,7 @@ "Waiting for runner activity...": "d0e7a1fd3763c4062fe8ac59255b9281effe77d2fd1d79f9ae2498e56ac3b96f", "Waiting for runner events...": "dc60b71d9ccb374ef6e53cc9496c05fd15dcd7b4955ec8ae7603cf360af7e85e", "Waiting for sign-in": "749a343a3a25c1df679ee6d6e74abb72e08ef956bfa15434407e61934dc054c9", + "Waiting for source": "8ac1608b4d56ce4dcc84a6d489fb055d7e9281efa150baa1fd5c2be7f2dd220b", "Waiting for system confirmation and Host readback...": "952e73792f0715e2d1f30ef0b0c03c4353cd9ab96caa71856bbce7dc41e2d161", "waiting for user input": "f43ef097687b1d8c8800577eefa3f7e10d0c82236cd0017f983d131e8e673174", "Waiting for votes": "bbb50edc12d1ce791069a8e84ca6e73a255b796306d32cdc1414987b986e172f", @@ -8079,6 +8091,7 @@ "A skill with the same identity already exists.": "समान पहचान वाला कौशल पहले से मौजूद है।", "Abstain": "बचना", "Accept": "स्वीकार करना", + "Accept handoff": "हैंडऑफ़ स्वीकार करें", "Acceptance": "स्वीकार", "Acceptance checks will be clarified before execution.": "निष्पादन से पहले स्वीकृति जांच को स्पष्ट किया जाएगा।", "Acceptance criteria": "स्वीकृति मानदंड", @@ -8630,6 +8643,7 @@ "Avatar uploaded": "अवतार अपलोड किया गया", "Avatar, name, and a compact working brief.": "अवतार, नाम, और एक संक्षिप्त कामकाजी संक्षिप्त जानकारी।", "Avoid triggers": "ट्रिगर्स से बचें", + "Awaiting acceptance": "स्वीकृति की प्रतीक्षा है", "Awaiting confirmation": "पुष्टिकरण की प्रतीक्षा", "Awaiting enable": "सक्षम की प्रतीक्षा की जा रही है", "Awaiting merge approval": "विलय अनुमोदन की प्रतीक्षा है", @@ -8819,6 +8833,7 @@ "cancelling": "रद्द कर रहा है", "Cancelling": "रद्द कर रहा है", "Candidate approved for draft": "ड्राफ्ट के लिए उम्मीदवार को मंजूरी दी गई", + "Candidate changed": "प्रत्याशी बदल गया", "Candidate changed since verification": "सत्यापन के बाद से उम्मीदवार बदल गया", "Candidate cluster is not bound to a channel.": "उम्मीदवार क्लस्टर किसी चैनल से बंधा नहीं है।", "Candidate Clusters": "उम्मीदवार क्लस्टर", @@ -9556,6 +9571,7 @@ "Could not start this scene.": "यह दृश्य प्रारंभ नहीं हो सका.", "Could not start this workflow test.": "यह वर्कफ़्लो परीक्षण प्रारंभ नहीं किया जा सका.", "Could not switch projects. Showing the last loaded project.": "प्रोजेक्ट स्विच नहीं किए जा सके. अंतिम लोड किया गया प्रोजेक्ट दिखाया जा रहा है.", + "Could not update handoff": "हैंडऑफ़ अपडेट नहीं किया जा सका", "Could not update the default model. Try again.": "डिफ़ॉल्ट मॉडल को अपडेट नहीं किया जा सका. पुनः प्रयास करें।", "Council actions": "परिषद् की कार्यवाही", "Council boundaries": "परिषद की सीमाएँ", @@ -11556,6 +11572,7 @@ "minutes": "मिनट", "missing": "गुम", "Missing": "गुम", + "Missing artifact": "गुम कलाकृति", "Missing dependency": "Missing dependency", "Missing fields": "गुम फ़ील्ड", "Missing key": "गुम चाबी", @@ -13137,6 +13154,7 @@ "Requested URL": "URL का अनुरोध किया", "Required": "आवश्यक", "Required before approving high-risk requests": "उच्च जोखिम वाले अनुरोधों को स्वीकृत करने से पहले आवश्यक है", + "Required check incomplete": "आवश्यक जांच अपूर्ण", "Required checks": "आवश्यक जाँचें", "Required for assigned teammates": "असाइन किए गए टीम साथियों के लिए आवश्यक", "Required input": "आवश्यक इनपुट", @@ -13260,8 +13278,11 @@ "Retry upload": "पुनः अपलोड करने का प्रयास करें", "Retryable": "पुन:प्रयासयोग्य", "Retrying automatically...": "स्वचालित रूप से पुनः प्रयास किया जा रहा है...", + "Return handoff": "हैंडऑफ़ लौटाएं", + "Return reason": "रिटर्न वजह", "Return to an unlocked interactive Windows desktop, restart Ling if needed, then check again.": "अनलॉक किए गए इंटरैक्टिव विंडोज डेस्कटॉप पर लौटें, यदि आवश्यक हो तो Ling को पुनरारंभ करें, फिर दोबारा जांचें।", "Return to implementation mode": "कार्यान्वयन मोड पर लौटें", + "Returned for repair": "मरम्मत के लिए लौटाया गया", "Reusable": "पुन: प्रयोज्य", "Reuse images already saved in this media project.": "इस मीडिया प्रोजेक्ट में पहले से सहेजी गई छवियों का पुन: उपयोग करें।", "Reuse settings": "सेटिंग्स का पुन: उपयोग करें", @@ -13652,6 +13673,7 @@ "Schema, checksums, and package metadata": "स्कीमा, चेकसम और पैकेज मेटाडेटा", "Scope": "दायरा", "Scope ID": "दायरा ID", + "Scope unavailable": "दायरा अनुपलब्ध", "Screen capture and input stop. Ling never interacts with the lock screen, login window, password fields, or secure desktop.": "स्क्रीन कैप्चर और इनपुट स्टॉप। Ling कभी भी लॉक स्क्रीन, लॉगिन विंडो, पासवर्ड फ़ील्ड या सुरक्षित डेस्कटॉप के साथ इंटरैक्ट नहीं करता है।", "Screen Recording": "स्क्रीन रिकॉर्डिंग", "Scripts can contact external services. Only run documents you trust.": "Scripts can contact external services. Only run documents you trust.", @@ -15000,6 +15022,7 @@ "Uploading avatar": "अवतार अपलोड हो रहा है", "Uploading...": "अपलोड हो रहा है...", "Upstream": "नदी के ऊपर", + "Upstream result unconfirmed": "अपस्ट्रीम परिणाम अपुष्ट", "Upstream version": "अपस्ट्रीम संस्करण", "urgent": "अति आवश्यक", "URL image edit": "URL छवि संपादन", @@ -15196,6 +15219,7 @@ "Waiting for runner activity...": "धावक गतिविधि की प्रतीक्षा में...", "Waiting for runner events...": "धावक स्पर्धाओं की प्रतीक्षा है...", "Waiting for sign-in": "साइन-इन की प्रतीक्षा की जा रही है", + "Waiting for source": "स्रोत की प्रतीक्षा है", "Waiting for system confirmation and Host readback...": "सिस्टम पुष्टिकरण और होस्ट रीडबैक की प्रतीक्षा की जा रही है...", "waiting for user input": "उपयोगकर्ता प्रतिसाद के लिए प्रतीक्षारत", "Waiting for votes": "वोट का इंतजार है", diff --git a/packages/localization/catalogs/hr-HR.json b/packages/localization/catalogs/hr-HR.json index 070d76513..898e36bee 100644 --- a/packages/localization/catalogs/hr-HR.json +++ b/packages/localization/catalogs/hr-HR.json @@ -1,6 +1,6 @@ { "locale": "hr-HR", - "sourceRevision": "e134cc889637523423524b121cf71dcb37afdd3d7daf48eaea975d1c39785b2e", + "sourceRevision": "95b7d5d6546abac9c1f3ec3e54efe7bff99c84252c464896ecb9bf2245f66dfd", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -343,6 +343,7 @@ "A skill with the same identity already exists.": "66dd592d63333b2f2738e59f82a3866d9a6db17154a2cc2a752727f9a40998d1", "Abstain": "bf92ab42d052ce917d87cccce310e4351900347095f57947b3d08c1b1ff8bcf3", "Accept": "89713b9c9c1b8f659c9f49db25e4a47886dd673fee248c3f650391f09a759cef", + "Accept handoff": "13e3dc2abccf1296c34099b2080efb8c78ad82067436ff2039024f22ed8cc2e9", "Acceptance": "f190a5cb3aff17b0ee84f6ee258333d63a9cc71aa66c2e1788ebc3ae24a89b10", "Acceptance checks will be clarified before execution.": "ffd59db22fb4d3abb3c9cc67c351c818e1732dfca2d6cd18ae361a711fa4bb72", "Acceptance criteria": "d47a36f4f055810755db08b8d52e479baa4bb7a7a1f6449f71fa1ad5c20495ef", @@ -894,6 +895,7 @@ "Avatar uploaded": "d0d5a01f3f30fd933994a5950ddae3d14384d2c850c05deb50532b65aa6593ba", "Avatar, name, and a compact working brief.": "8d3706d4928090efbf7eca6683e3357f4f92732bc8be64c50dc8af8620a256c1", "Avoid triggers": "1419db0b6ddbd1f3a1632043da73529ecbcb0aef9183fd7d78e12df2942444de", + "Awaiting acceptance": "1dc7bfd9c54d73f22b4a9bdca5f741d5067a673b7f99d77e85367f6c8f049f85", "Awaiting confirmation": "d0ae0b38eac639b98f6a9b793a7add708bedbc6156963e3abc00453b235b2f3d", "Awaiting enable": "2a6b618d273346e8198806aa0d934a4bd6f5bf8b29d0780076df974ca93bf548", "Awaiting merge approval": "21837cdd561270cefc146079172511177736bb9091e9fb50d93bb072f271ecb0", @@ -1083,6 +1085,7 @@ "cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Candidate approved for draft": "59a57b9b459b3215e76b651f73f6521bc1bd71fa66bb52e046368a559db6632b", + "Candidate changed": "ca07c050cd47ab4f4d2f2fb6c60110b738af5b951a9ab708c36879365ec4532e", "Candidate changed since verification": "a2808e03661077a04403dab2204b7ce8d78310c296600bd03c5766a754f216a6", "Candidate cluster is not bound to a channel.": "6066a4e8725d065a7c2b8d2c8974a60c41c0a94124deeabd972f620ddd815786", "Candidate Clusters": "b617f8ce5325fa8984c324816b08d3a26c05dac3c3276bcc4f4ab7196222dbe4", @@ -1820,6 +1823,7 @@ "Could not start this scene.": "acb6aa181a8b842f1a8fc78344dc210cb98a45ccb6cf38ebd01beb65fe7fa27d", "Could not start this workflow test.": "7fe6f22a12127a9d74069d195a2513038cb2ff035acc4433d41e31006445e46e", "Could not switch projects. Showing the last loaded project.": "1a284203a5fd7f9d39c625017fde0d1c88180e3d2fa62b07aa7c9eb64a2e8aa6", + "Could not update handoff": "b6b7ff312171612e082d24ec92c854155d95fa6177a25cb0ac10f44e2c6110e2", "Could not update the default model. Try again.": "c87a00ab8ffb8c8c60209acf9b5cb10295a2a5e93c3e6f72dd8b2b4c316bdc16", "Council actions": "79763aae8f6334c6e29273106f3509b76114439dd686c9fa32753bca265eee32", "Council boundaries": "b4d6713050d140a9102817793dcb99d64565ee0d33d364b71f5d4d2afd234baf", @@ -3820,6 +3824,7 @@ "minutes": "90e63d85fa1ab2c8ed65222f3ebd794b1e524b4b7cf84bec451542d0451b2985", "missing": "ffa63583dfa6706b87d284b86b0d693a161e4840aad2c5cf6b5d27c3b9621f7d", "Missing": "6be36ca49ee85210c5d1ad9c377d90a9859c66d889110a2a5b0dccd390d12e20", + "Missing artifact": "e936c2df4de783be206107e353054e33ebba1c9988085200c260c7a6b8f8fc73", "Missing dependency": "5915d1e15e283f09695ad4b96ced9625bbd68aab747dc778f37aada0a7489b5c", "Missing fields": "69121d3f63d5a27ab7ce484854c065ce87e7022dc5fdfee9d778ab02515542fc", "Missing key": "0c8a17a63a322df1c40693b8469227cf5426b024673da9065f42c6cbb7c58370", @@ -5401,6 +5406,7 @@ "Requested URL": "8ae37b38fe2e415c8c641c3f2b6e9b42a11245cc8749a51a247cf0464b4c7faf", "Required": "4850b174b713d88cfc63de107830d5388929020e78abc91fc19bba7a6821625f", "Required before approving high-risk requests": "3cb612a5f43f4acbf5a6066a5da559bce858b50cdab2c2f6943bf4a05de1310a", + "Required check incomplete": "f64e6dfd1fc8cd1f2139aadf61c6ef43ecaa2ce783b2c712a56d31a574e05741", "Required checks": "f5a021846bd1a50002c0ea940f30cc97c285a118c62ff95af5c2f538584a7e26", "Required for assigned teammates": "4732aa544a8d93b886e6bcbbcc5c3314af692f8a8a812efd4844cd3589b7b63a", "Required input": "fafaaf99b5a6af521026448890a9dacaf4d47053804a34be7cdf364e13637181", @@ -5524,8 +5530,11 @@ "Retry upload": "731dc6e3f07ab1b090e925be766dd01d8e4aed2f0ad2cef600bf157bd7764500", "Retryable": "c282bd362abaadb6a38a4fdb268df44325f8bfde40f719b77fdd690180c51889", "Retrying automatically...": "220837f6132382f3e8d4fb676f31aab3dc9fabc34b8f26c2e4ced9b83ebce4ec", + "Return handoff": "1ae47e9a67b5866c28ccd52c2040500610b795d917cc6620a444c170ded79836", + "Return reason": "79f91549d760515b430db20e8f2f0c766e417826dfea15029dca20f6eb9865ac", "Return to an unlocked interactive Windows desktop, restart Ling if needed, then check again.": "bccd46e406f4d428d83a9dd510df581b52e5c28c51da4d357e3e66c21740ee0e", "Return to implementation mode": "36435baabf6c6acc0666fba73f68609f9a41d17389ea216a99f41b5036e8b6ef", + "Returned for repair": "07abb2b9ba19b479a5126883271bb99fa47e239dffb3337fb13bbe2778654158", "Reusable": "8ded2b384940a83eb986da575b9efa40f1b03fd1d626bd91964cbb11502e0b42", "Reuse images already saved in this media project.": "3c3dd902fab18f841a51942e3a4e92a93c8d39ddd8b48ae9ee017982a26fa1c1", "Reuse settings": "17507cf7d05b478d392e9aa85d9c60046c0e2a185959546ac0864a89b95ec744", @@ -5916,6 +5925,7 @@ "Schema, checksums, and package metadata": "d91ffc3c0cdd2c26d37ba9cf60de0a718343a3969303718321092f0367a68808", "Scope": "b073f6c68ef8721107fd9815b19b2c35ec111d526b75c2123d1111ba64424000", "Scope ID": "4a201ef6cbd70a0728fc5c62eb87fd73ac56e470c853a3112ebf27617e49ff76", + "Scope unavailable": "38a32037c55100c3ad97878ca4e361a734a3422fb35bdbaeacebf4babb16cdf3", "Screen capture and input stop. Ling never interacts with the lock screen, login window, password fields, or secure desktop.": "cece9f092190c9e9e4c9d54f7da59256e922a56556c843c4e2b44fb1a67b0c5f", "Screen Recording": "bc3c742893dc7aff9c88fad0aae3f6749a6679a45cbafb0981f0e2ddaed5c49c", "Scripts can contact external services. Only run documents you trust.": "aa3560983d2f6c2656f1a9329fcb9434fa520d6f64bcccf0e6ae91c82ddbb0dd", @@ -7264,6 +7274,7 @@ "Uploading avatar": "995b81efc53e808131bd98d546fb3fa493a44b9b43b752237e590bf5a2e487c8", "Uploading...": "72cb29c90ccd8361ee82d02fabe81a3f01605c7b8fea4c9996fc01d84e3fbb48", "Upstream": "94adc696fd24e9fd67e83ba256a9f33bf1d7191d4a5e38ee8c69597cd89e4777", + "Upstream result unconfirmed": "d345a9ef65cf22ec93d4a7a0457157bcdc8696a90ea8e72690d04b25d7447d94", "Upstream version": "7927b36324919e81ae646c1455b608aadcecdedb285d9985d63d80572c3d5214", "urgent": "f9d37c23fcc0f03c15a86aba71dce01dd0baa7a1568180e60c2347a5863151bc", "URL image edit": "444b0006116b72fd13097e57758caf2edaa14133af89617d79ed238d71f518ff", @@ -7460,6 +7471,7 @@ "Waiting for runner activity...": "d0e7a1fd3763c4062fe8ac59255b9281effe77d2fd1d79f9ae2498e56ac3b96f", "Waiting for runner events...": "dc60b71d9ccb374ef6e53cc9496c05fd15dcd7b4955ec8ae7603cf360af7e85e", "Waiting for sign-in": "749a343a3a25c1df679ee6d6e74abb72e08ef956bfa15434407e61934dc054c9", + "Waiting for source": "8ac1608b4d56ce4dcc84a6d489fb055d7e9281efa150baa1fd5c2be7f2dd220b", "Waiting for system confirmation and Host readback...": "952e73792f0715e2d1f30ef0b0c03c4353cd9ab96caa71856bbce7dc41e2d161", "waiting for user input": "f43ef097687b1d8c8800577eefa3f7e10d0c82236cd0017f983d131e8e673174", "Waiting for votes": "bbb50edc12d1ce791069a8e84ca6e73a255b796306d32cdc1414987b986e172f", @@ -8079,6 +8091,7 @@ "A skill with the same identity already exists.": "Vještina s istim identitetom već postoji.", "Abstain": "Suzdržati se", "Accept": "Prihvatiti", + "Accept handoff": "Prihvati predaju", "Acceptance": "prihvaćanje", "Acceptance checks will be clarified before execution.": "Provjere prihvaćanja bit će razjašnjene prije izvršenja.", "Acceptance criteria": "Kriteriji prihvaćanja", @@ -8630,6 +8643,7 @@ "Avatar uploaded": "Avatar je učitan", "Avatar, name, and a compact working brief.": "Avatar, ime i kompaktan radni sažetak.", "Avoid triggers": "Izbjegavajte okidače", + "Awaiting acceptance": "Čeka prihvaćanje", "Awaiting confirmation": "Čeka se potvrda", "Awaiting enable": "Čeka se omogućavanje", "Awaiting merge approval": "Čeka se odobrenje spajanja", @@ -8819,6 +8833,7 @@ "cancelling": "Otkazivanje", "Cancelling": "Otkazivanje", "Candidate approved for draft": "Kandidat odobren za draft", + "Candidate changed": "Kandidat promijenjen", "Candidate changed since verification": "Kandidat je promijenjen od verifikacije", "Candidate cluster is not bound to a channel.": "Klaster kandidata nije vezan za kanal.", "Candidate Clusters": "Klasteri kandidati", @@ -9556,6 +9571,7 @@ "Could not start this scene.": "Nije moguće pokrenuti ovu scenu.", "Could not start this workflow test.": "Nije moguće pokrenuti ovaj test tijeka rada.", "Could not switch projects. Showing the last loaded project.": "Nije moguće promijeniti projekte. Prikazuje se zadnji učitani projekt.", + "Could not update handoff": "Nije moguće ažurirati handoff", "Could not update the default model. Try again.": "Nije moguće ažurirati zadani model. Pokušajte ponovno.", "Council actions": "Radnje Vijeća", "Council boundaries": "Granice Vijeća", @@ -11556,6 +11572,7 @@ "minutes": "minuta", "missing": "nedostaje", "Missing": "Nedostaje", + "Missing artifact": "Nedostaje artefakt", "Missing dependency": "Missing dependency", "Missing fields": "Nedostaju polja", "Missing key": "Nedostaje ključ", @@ -13137,6 +13154,7 @@ "Requested URL": "Zatraženo URL", "Required": "Potreban", "Required before approving high-risk requests": "Obavezno prije odobravanja visokorizičnih zahtjeva", + "Required check incomplete": "Potrebna provjera nije dovršena", "Required checks": "Obavezne provjere", "Required for assigned teammates": "Obavezno za dodijeljene suigrače", "Required input": "Potreban unos", @@ -13260,8 +13278,11 @@ "Retry upload": "Ponovi prijenos", "Retryable": "Može se ponoviti", "Retrying automatically...": "Automatski ponovni pokušaj...", + "Return handoff": "Povratna predaja", + "Return reason": "Razlog povratka", "Return to an unlocked interactive Windows desktop, restart Ling if needed, then check again.": "Vratite se na otključanu interaktivnu Windows radnu površinu, ponovno pokrenite Ling ako je potrebno, a zatim ponovno provjerite.", "Return to implementation mode": "Povratak na način implementacije", + "Returned for repair": "Vraćen na popravak", "Reusable": "Za višekratnu upotrebu", "Reuse images already saved in this media project.": "Ponovno upotrijebite slike koje su već spremljene u ovom medijskom projektu.", "Reuse settings": "Ponovno korištenje postavki", @@ -13652,6 +13673,7 @@ "Schema, checksums, and package metadata": "Shema, kontrolni zbrojevi i metapodaci paketa", "Scope": "Opseg", "Scope ID": "Opseg ID", + "Scope unavailable": "Opseg nedostupan", "Screen capture and input stop. Ling never interacts with the lock screen, login window, password fields, or secure desktop.": "Snimanje zaslona i zaustavljanje unosa. Ling nikada ne komunicira sa zaključanim zaslonom, prozorom za prijavu, poljima za lozinku ili sigurnom radnom površinom.", "Screen Recording": "Snimanje zaslona", "Scripts can contact external services. Only run documents you trust.": "Scripts can contact external services. Only run documents you trust.", @@ -15000,6 +15022,7 @@ "Uploading avatar": "Učitavanje avatara", "Uploading...": "Prijenos...", "Upstream": "Uzvodno", + "Upstream result unconfirmed": "Uzvodni rezultat nije potvrđen", "Upstream version": "Uzvodna verzija", "urgent": "hitno", "URL image edit": "URL uređivanje slike", @@ -15196,6 +15219,7 @@ "Waiting for runner activity...": "Čeka se aktivnost trkača...", "Waiting for runner events...": "Čekamo trkačke događaje...", "Waiting for sign-in": "Čeka se prijava", + "Waiting for source": "Čeka se izvor", "Waiting for system confirmation and Host readback...": "Čeka se potvrda sustava i povratno čitanje hosta...", "waiting for user input": "čekanje korisničkog unosa", "Waiting for votes": "Čekaju se glasovi", diff --git a/packages/localization/catalogs/hu-HU.json b/packages/localization/catalogs/hu-HU.json index ed992d8db..7d23fb348 100644 --- a/packages/localization/catalogs/hu-HU.json +++ b/packages/localization/catalogs/hu-HU.json @@ -1,6 +1,6 @@ { "locale": "hu-HU", - "sourceRevision": "e134cc889637523423524b121cf71dcb37afdd3d7daf48eaea975d1c39785b2e", + "sourceRevision": "95b7d5d6546abac9c1f3ec3e54efe7bff99c84252c464896ecb9bf2245f66dfd", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -343,6 +343,7 @@ "A skill with the same identity already exists.": "66dd592d63333b2f2738e59f82a3866d9a6db17154a2cc2a752727f9a40998d1", "Abstain": "bf92ab42d052ce917d87cccce310e4351900347095f57947b3d08c1b1ff8bcf3", "Accept": "89713b9c9c1b8f659c9f49db25e4a47886dd673fee248c3f650391f09a759cef", + "Accept handoff": "13e3dc2abccf1296c34099b2080efb8c78ad82067436ff2039024f22ed8cc2e9", "Acceptance": "f190a5cb3aff17b0ee84f6ee258333d63a9cc71aa66c2e1788ebc3ae24a89b10", "Acceptance checks will be clarified before execution.": "ffd59db22fb4d3abb3c9cc67c351c818e1732dfca2d6cd18ae361a711fa4bb72", "Acceptance criteria": "d47a36f4f055810755db08b8d52e479baa4bb7a7a1f6449f71fa1ad5c20495ef", @@ -894,6 +895,7 @@ "Avatar uploaded": "d0d5a01f3f30fd933994a5950ddae3d14384d2c850c05deb50532b65aa6593ba", "Avatar, name, and a compact working brief.": "8d3706d4928090efbf7eca6683e3357f4f92732bc8be64c50dc8af8620a256c1", "Avoid triggers": "1419db0b6ddbd1f3a1632043da73529ecbcb0aef9183fd7d78e12df2942444de", + "Awaiting acceptance": "1dc7bfd9c54d73f22b4a9bdca5f741d5067a673b7f99d77e85367f6c8f049f85", "Awaiting confirmation": "d0ae0b38eac639b98f6a9b793a7add708bedbc6156963e3abc00453b235b2f3d", "Awaiting enable": "2a6b618d273346e8198806aa0d934a4bd6f5bf8b29d0780076df974ca93bf548", "Awaiting merge approval": "21837cdd561270cefc146079172511177736bb9091e9fb50d93bb072f271ecb0", @@ -1083,6 +1085,7 @@ "cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Candidate approved for draft": "59a57b9b459b3215e76b651f73f6521bc1bd71fa66bb52e046368a559db6632b", + "Candidate changed": "ca07c050cd47ab4f4d2f2fb6c60110b738af5b951a9ab708c36879365ec4532e", "Candidate changed since verification": "a2808e03661077a04403dab2204b7ce8d78310c296600bd03c5766a754f216a6", "Candidate cluster is not bound to a channel.": "6066a4e8725d065a7c2b8d2c8974a60c41c0a94124deeabd972f620ddd815786", "Candidate Clusters": "b617f8ce5325fa8984c324816b08d3a26c05dac3c3276bcc4f4ab7196222dbe4", @@ -1820,6 +1823,7 @@ "Could not start this scene.": "acb6aa181a8b842f1a8fc78344dc210cb98a45ccb6cf38ebd01beb65fe7fa27d", "Could not start this workflow test.": "7fe6f22a12127a9d74069d195a2513038cb2ff035acc4433d41e31006445e46e", "Could not switch projects. Showing the last loaded project.": "1a284203a5fd7f9d39c625017fde0d1c88180e3d2fa62b07aa7c9eb64a2e8aa6", + "Could not update handoff": "b6b7ff312171612e082d24ec92c854155d95fa6177a25cb0ac10f44e2c6110e2", "Could not update the default model. Try again.": "c87a00ab8ffb8c8c60209acf9b5cb10295a2a5e93c3e6f72dd8b2b4c316bdc16", "Council actions": "79763aae8f6334c6e29273106f3509b76114439dd686c9fa32753bca265eee32", "Council boundaries": "b4d6713050d140a9102817793dcb99d64565ee0d33d364b71f5d4d2afd234baf", @@ -3820,6 +3824,7 @@ "minutes": "90e63d85fa1ab2c8ed65222f3ebd794b1e524b4b7cf84bec451542d0451b2985", "missing": "ffa63583dfa6706b87d284b86b0d693a161e4840aad2c5cf6b5d27c3b9621f7d", "Missing": "6be36ca49ee85210c5d1ad9c377d90a9859c66d889110a2a5b0dccd390d12e20", + "Missing artifact": "e936c2df4de783be206107e353054e33ebba1c9988085200c260c7a6b8f8fc73", "Missing dependency": "5915d1e15e283f09695ad4b96ced9625bbd68aab747dc778f37aada0a7489b5c", "Missing fields": "69121d3f63d5a27ab7ce484854c065ce87e7022dc5fdfee9d778ab02515542fc", "Missing key": "0c8a17a63a322df1c40693b8469227cf5426b024673da9065f42c6cbb7c58370", @@ -5401,6 +5406,7 @@ "Requested URL": "8ae37b38fe2e415c8c641c3f2b6e9b42a11245cc8749a51a247cf0464b4c7faf", "Required": "4850b174b713d88cfc63de107830d5388929020e78abc91fc19bba7a6821625f", "Required before approving high-risk requests": "3cb612a5f43f4acbf5a6066a5da559bce858b50cdab2c2f6943bf4a05de1310a", + "Required check incomplete": "f64e6dfd1fc8cd1f2139aadf61c6ef43ecaa2ce783b2c712a56d31a574e05741", "Required checks": "f5a021846bd1a50002c0ea940f30cc97c285a118c62ff95af5c2f538584a7e26", "Required for assigned teammates": "4732aa544a8d93b886e6bcbbcc5c3314af692f8a8a812efd4844cd3589b7b63a", "Required input": "fafaaf99b5a6af521026448890a9dacaf4d47053804a34be7cdf364e13637181", @@ -5524,8 +5530,11 @@ "Retry upload": "731dc6e3f07ab1b090e925be766dd01d8e4aed2f0ad2cef600bf157bd7764500", "Retryable": "c282bd362abaadb6a38a4fdb268df44325f8bfde40f719b77fdd690180c51889", "Retrying automatically...": "220837f6132382f3e8d4fb676f31aab3dc9fabc34b8f26c2e4ced9b83ebce4ec", + "Return handoff": "1ae47e9a67b5866c28ccd52c2040500610b795d917cc6620a444c170ded79836", + "Return reason": "79f91549d760515b430db20e8f2f0c766e417826dfea15029dca20f6eb9865ac", "Return to an unlocked interactive Windows desktop, restart Ling if needed, then check again.": "bccd46e406f4d428d83a9dd510df581b52e5c28c51da4d357e3e66c21740ee0e", "Return to implementation mode": "36435baabf6c6acc0666fba73f68609f9a41d17389ea216a99f41b5036e8b6ef", + "Returned for repair": "07abb2b9ba19b479a5126883271bb99fa47e239dffb3337fb13bbe2778654158", "Reusable": "8ded2b384940a83eb986da575b9efa40f1b03fd1d626bd91964cbb11502e0b42", "Reuse images already saved in this media project.": "3c3dd902fab18f841a51942e3a4e92a93c8d39ddd8b48ae9ee017982a26fa1c1", "Reuse settings": "17507cf7d05b478d392e9aa85d9c60046c0e2a185959546ac0864a89b95ec744", @@ -5916,6 +5925,7 @@ "Schema, checksums, and package metadata": "d91ffc3c0cdd2c26d37ba9cf60de0a718343a3969303718321092f0367a68808", "Scope": "b073f6c68ef8721107fd9815b19b2c35ec111d526b75c2123d1111ba64424000", "Scope ID": "4a201ef6cbd70a0728fc5c62eb87fd73ac56e470c853a3112ebf27617e49ff76", + "Scope unavailable": "38a32037c55100c3ad97878ca4e361a734a3422fb35bdbaeacebf4babb16cdf3", "Screen capture and input stop. Ling never interacts with the lock screen, login window, password fields, or secure desktop.": "cece9f092190c9e9e4c9d54f7da59256e922a56556c843c4e2b44fb1a67b0c5f", "Screen Recording": "bc3c742893dc7aff9c88fad0aae3f6749a6679a45cbafb0981f0e2ddaed5c49c", "Scripts can contact external services. Only run documents you trust.": "aa3560983d2f6c2656f1a9329fcb9434fa520d6f64bcccf0e6ae91c82ddbb0dd", @@ -7264,6 +7274,7 @@ "Uploading avatar": "995b81efc53e808131bd98d546fb3fa493a44b9b43b752237e590bf5a2e487c8", "Uploading...": "72cb29c90ccd8361ee82d02fabe81a3f01605c7b8fea4c9996fc01d84e3fbb48", "Upstream": "94adc696fd24e9fd67e83ba256a9f33bf1d7191d4a5e38ee8c69597cd89e4777", + "Upstream result unconfirmed": "d345a9ef65cf22ec93d4a7a0457157bcdc8696a90ea8e72690d04b25d7447d94", "Upstream version": "7927b36324919e81ae646c1455b608aadcecdedb285d9985d63d80572c3d5214", "urgent": "f9d37c23fcc0f03c15a86aba71dce01dd0baa7a1568180e60c2347a5863151bc", "URL image edit": "444b0006116b72fd13097e57758caf2edaa14133af89617d79ed238d71f518ff", @@ -7460,6 +7471,7 @@ "Waiting for runner activity...": "d0e7a1fd3763c4062fe8ac59255b9281effe77d2fd1d79f9ae2498e56ac3b96f", "Waiting for runner events...": "dc60b71d9ccb374ef6e53cc9496c05fd15dcd7b4955ec8ae7603cf360af7e85e", "Waiting for sign-in": "749a343a3a25c1df679ee6d6e74abb72e08ef956bfa15434407e61934dc054c9", + "Waiting for source": "8ac1608b4d56ce4dcc84a6d489fb055d7e9281efa150baa1fd5c2be7f2dd220b", "Waiting for system confirmation and Host readback...": "952e73792f0715e2d1f30ef0b0c03c4353cd9ab96caa71856bbce7dc41e2d161", "waiting for user input": "f43ef097687b1d8c8800577eefa3f7e10d0c82236cd0017f983d131e8e673174", "Waiting for votes": "bbb50edc12d1ce791069a8e84ca6e73a255b796306d32cdc1414987b986e172f", @@ -8079,6 +8091,7 @@ "A skill with the same identity already exists.": "Az azonos identitású készség már létezik.", "Abstain": "Tartózkodni", "Accept": "Elfogadás", + "Accept handoff": "Átadás elfogadása", "Acceptance": "Elfogadás", "Acceptance checks will be clarified before execution.": "Az átvételi ellenőrzéseket a végrehajtás előtt tisztázzuk.", "Acceptance criteria": "Elfogadási feltételek", @@ -8630,6 +8643,7 @@ "Avatar uploaded": "Avatar feltöltve", "Avatar, name, and a compact working brief.": "Avatar, név és egy kompakt munkaruha.", "Avoid triggers": "Kerülje a triggereket", + "Awaiting acceptance": "Elfogadásra vár", "Awaiting confirmation": "Megerősítésre vár", "Awaiting enable": "Engedélyezésre vár", "Awaiting merge approval": "Az összevonás jóváhagyására vár", @@ -8819,6 +8833,7 @@ "cancelling": "Törlés", "Cancelling": "Törlés", "Candidate approved for draft": "A jelöltet jóváhagyták a tervezethez", + "Candidate changed": "A jelölt megváltozott", "Candidate changed since verification": "A jelölt az ellenőrzés óta megváltozott", "Candidate cluster is not bound to a channel.": "A jelölt klaszter nincs csatornához kötve.", "Candidate Clusters": "Jelölt klaszterek", @@ -9556,6 +9571,7 @@ "Could not start this scene.": "Nem sikerült elindítani ezt a jelenetet.", "Could not start this workflow test.": "Nem sikerült elindítani ezt a munkafolyamat-tesztet.", "Could not switch projects. Showing the last loaded project.": "Nem sikerült projektet váltani. Az utoljára betöltött projekt megjelenítése.", + "Could not update handoff": "Nem sikerült frissíteni az átadást", "Could not update the default model. Try again.": "Nem sikerült frissíteni az alapértelmezett modellt. Próbáld újra.", "Council actions": "Tanács intézkedései", "Council boundaries": "A tanács határai", @@ -11556,6 +11572,7 @@ "minutes": "jegyzőkönyv", "missing": "hiányzó", "Missing": "Hiányzó", + "Missing artifact": "Hiányzó műtárgy", "Missing dependency": "Missing dependency", "Missing fields": "Hiányzó mezők", "Missing key": "Hiányzó kulcs", @@ -13137,6 +13154,7 @@ "Requested URL": "URL kért", "Required": "Kívánt", "Required before approving high-risk requests": "A magas kockázatú kérelmek jóváhagyása előtt kötelező", + "Required check incomplete": "A kötelező ellenőrzés hiányos", "Required checks": "Szükséges ellenőrzések", "Required for assigned teammates": "A kijelölt csapattársaknak kötelező", "Required input": "Kötelező bevitel", @@ -13260,8 +13278,11 @@ "Retry upload": "Próbálja újra feltölteni", "Retryable": "Újrapróbálható", "Retrying automatically...": "Automatikus újrapróbálkozás...", + "Return handoff": "Return handoff", + "Return reason": "Visszaküldés oka", "Return to an unlocked interactive Windows desktop, restart Ling if needed, then check again.": "Térjen vissza egy feloldott interaktív Windows-asztalra, indítsa újra az Ling-et, ha szükséges, majd ellenőrizze újra.", "Return to implementation mode": "Visszatérés megvalósítási módba", + "Returned for repair": "Visszatért javításra", "Reusable": "Újrafelhasználható", "Reuse images already saved in this media project.": "Használja újra a már mentett képeket ebben a médiaprojektben.", "Reuse settings": "Beállítások újrafelhasználása", @@ -13652,6 +13673,7 @@ "Schema, checksums, and package metadata": "Séma, ellenőrző összegek és csomag metaadatai", "Scope": "Hatály", "Scope ID": "Hatókör ID", + "Scope unavailable": "Hatókör nem érhető el", "Screen capture and input stop. Ling never interacts with the lock screen, login window, password fields, or secure desktop.": "Képernyőfelvétel és beviteli leállítás. Az Ling soha nem működik együtt a lezárási képernyővel, a bejelentkezési ablakkal, a jelszómezőkkel vagy a biztonságos asztallal.", "Screen Recording": "Képernyőfelvétel", "Scripts can contact external services. Only run documents you trust.": "Scripts can contact external services. Only run documents you trust.", @@ -15000,6 +15022,7 @@ "Uploading avatar": "Avatar feltöltése", "Uploading...": "Feltöltés...", "Upstream": "Upstream", + "Upstream result unconfirmed": "Az upstream eredmény meg nem erősített", "Upstream version": "Upstream verzió", "urgent": "sürgős", "URL image edit": "URL képszerkesztés", @@ -15196,6 +15219,7 @@ "Waiting for runner activity...": "Várakozás a futótevékenységre...", "Waiting for runner events...": "Várjuk a futóversenyeket...", "Waiting for sign-in": "Várakozás a bejelentkezésre", + "Waiting for source": "Forrásra várva", "Waiting for system confirmation and Host readback...": "Várakozás a rendszer megerősítésére és a gazdagép visszaolvasására...", "waiting for user input": "felhasználói bevitelre vár", "Waiting for votes": "Szavazatokra várva", diff --git a/packages/localization/catalogs/hy-AM.json b/packages/localization/catalogs/hy-AM.json index 31d9b358b..18ff936ff 100644 --- a/packages/localization/catalogs/hy-AM.json +++ b/packages/localization/catalogs/hy-AM.json @@ -1,6 +1,6 @@ { "locale": "hy-AM", - "sourceRevision": "e134cc889637523423524b121cf71dcb37afdd3d7daf48eaea975d1c39785b2e", + "sourceRevision": "95b7d5d6546abac9c1f3ec3e54efe7bff99c84252c464896ecb9bf2245f66dfd", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -343,6 +343,7 @@ "A skill with the same identity already exists.": "66dd592d63333b2f2738e59f82a3866d9a6db17154a2cc2a752727f9a40998d1", "Abstain": "bf92ab42d052ce917d87cccce310e4351900347095f57947b3d08c1b1ff8bcf3", "Accept": "89713b9c9c1b8f659c9f49db25e4a47886dd673fee248c3f650391f09a759cef", + "Accept handoff": "13e3dc2abccf1296c34099b2080efb8c78ad82067436ff2039024f22ed8cc2e9", "Acceptance": "f190a5cb3aff17b0ee84f6ee258333d63a9cc71aa66c2e1788ebc3ae24a89b10", "Acceptance checks will be clarified before execution.": "ffd59db22fb4d3abb3c9cc67c351c818e1732dfca2d6cd18ae361a711fa4bb72", "Acceptance criteria": "d47a36f4f055810755db08b8d52e479baa4bb7a7a1f6449f71fa1ad5c20495ef", @@ -894,6 +895,7 @@ "Avatar uploaded": "d0d5a01f3f30fd933994a5950ddae3d14384d2c850c05deb50532b65aa6593ba", "Avatar, name, and a compact working brief.": "8d3706d4928090efbf7eca6683e3357f4f92732bc8be64c50dc8af8620a256c1", "Avoid triggers": "1419db0b6ddbd1f3a1632043da73529ecbcb0aef9183fd7d78e12df2942444de", + "Awaiting acceptance": "1dc7bfd9c54d73f22b4a9bdca5f741d5067a673b7f99d77e85367f6c8f049f85", "Awaiting confirmation": "d0ae0b38eac639b98f6a9b793a7add708bedbc6156963e3abc00453b235b2f3d", "Awaiting enable": "2a6b618d273346e8198806aa0d934a4bd6f5bf8b29d0780076df974ca93bf548", "Awaiting merge approval": "21837cdd561270cefc146079172511177736bb9091e9fb50d93bb072f271ecb0", @@ -1083,6 +1085,7 @@ "cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Candidate approved for draft": "59a57b9b459b3215e76b651f73f6521bc1bd71fa66bb52e046368a559db6632b", + "Candidate changed": "ca07c050cd47ab4f4d2f2fb6c60110b738af5b951a9ab708c36879365ec4532e", "Candidate changed since verification": "a2808e03661077a04403dab2204b7ce8d78310c296600bd03c5766a754f216a6", "Candidate cluster is not bound to a channel.": "6066a4e8725d065a7c2b8d2c8974a60c41c0a94124deeabd972f620ddd815786", "Candidate Clusters": "b617f8ce5325fa8984c324816b08d3a26c05dac3c3276bcc4f4ab7196222dbe4", @@ -1820,6 +1823,7 @@ "Could not start this scene.": "acb6aa181a8b842f1a8fc78344dc210cb98a45ccb6cf38ebd01beb65fe7fa27d", "Could not start this workflow test.": "7fe6f22a12127a9d74069d195a2513038cb2ff035acc4433d41e31006445e46e", "Could not switch projects. Showing the last loaded project.": "1a284203a5fd7f9d39c625017fde0d1c88180e3d2fa62b07aa7c9eb64a2e8aa6", + "Could not update handoff": "b6b7ff312171612e082d24ec92c854155d95fa6177a25cb0ac10f44e2c6110e2", "Could not update the default model. Try again.": "c87a00ab8ffb8c8c60209acf9b5cb10295a2a5e93c3e6f72dd8b2b4c316bdc16", "Council actions": "79763aae8f6334c6e29273106f3509b76114439dd686c9fa32753bca265eee32", "Council boundaries": "b4d6713050d140a9102817793dcb99d64565ee0d33d364b71f5d4d2afd234baf", @@ -3820,6 +3824,7 @@ "minutes": "90e63d85fa1ab2c8ed65222f3ebd794b1e524b4b7cf84bec451542d0451b2985", "missing": "ffa63583dfa6706b87d284b86b0d693a161e4840aad2c5cf6b5d27c3b9621f7d", "Missing": "6be36ca49ee85210c5d1ad9c377d90a9859c66d889110a2a5b0dccd390d12e20", + "Missing artifact": "e936c2df4de783be206107e353054e33ebba1c9988085200c260c7a6b8f8fc73", "Missing dependency": "5915d1e15e283f09695ad4b96ced9625bbd68aab747dc778f37aada0a7489b5c", "Missing fields": "69121d3f63d5a27ab7ce484854c065ce87e7022dc5fdfee9d778ab02515542fc", "Missing key": "0c8a17a63a322df1c40693b8469227cf5426b024673da9065f42c6cbb7c58370", @@ -5401,6 +5406,7 @@ "Requested URL": "8ae37b38fe2e415c8c641c3f2b6e9b42a11245cc8749a51a247cf0464b4c7faf", "Required": "4850b174b713d88cfc63de107830d5388929020e78abc91fc19bba7a6821625f", "Required before approving high-risk requests": "3cb612a5f43f4acbf5a6066a5da559bce858b50cdab2c2f6943bf4a05de1310a", + "Required check incomplete": "f64e6dfd1fc8cd1f2139aadf61c6ef43ecaa2ce783b2c712a56d31a574e05741", "Required checks": "f5a021846bd1a50002c0ea940f30cc97c285a118c62ff95af5c2f538584a7e26", "Required for assigned teammates": "4732aa544a8d93b886e6bcbbcc5c3314af692f8a8a812efd4844cd3589b7b63a", "Required input": "fafaaf99b5a6af521026448890a9dacaf4d47053804a34be7cdf364e13637181", @@ -5524,8 +5530,11 @@ "Retry upload": "731dc6e3f07ab1b090e925be766dd01d8e4aed2f0ad2cef600bf157bd7764500", "Retryable": "c282bd362abaadb6a38a4fdb268df44325f8bfde40f719b77fdd690180c51889", "Retrying automatically...": "220837f6132382f3e8d4fb676f31aab3dc9fabc34b8f26c2e4ced9b83ebce4ec", + "Return handoff": "1ae47e9a67b5866c28ccd52c2040500610b795d917cc6620a444c170ded79836", + "Return reason": "79f91549d760515b430db20e8f2f0c766e417826dfea15029dca20f6eb9865ac", "Return to an unlocked interactive Windows desktop, restart Ling if needed, then check again.": "bccd46e406f4d428d83a9dd510df581b52e5c28c51da4d357e3e66c21740ee0e", "Return to implementation mode": "36435baabf6c6acc0666fba73f68609f9a41d17389ea216a99f41b5036e8b6ef", + "Returned for repair": "07abb2b9ba19b479a5126883271bb99fa47e239dffb3337fb13bbe2778654158", "Reusable": "8ded2b384940a83eb986da575b9efa40f1b03fd1d626bd91964cbb11502e0b42", "Reuse images already saved in this media project.": "3c3dd902fab18f841a51942e3a4e92a93c8d39ddd8b48ae9ee017982a26fa1c1", "Reuse settings": "17507cf7d05b478d392e9aa85d9c60046c0e2a185959546ac0864a89b95ec744", @@ -5916,6 +5925,7 @@ "Schema, checksums, and package metadata": "d91ffc3c0cdd2c26d37ba9cf60de0a718343a3969303718321092f0367a68808", "Scope": "b073f6c68ef8721107fd9815b19b2c35ec111d526b75c2123d1111ba64424000", "Scope ID": "4a201ef6cbd70a0728fc5c62eb87fd73ac56e470c853a3112ebf27617e49ff76", + "Scope unavailable": "38a32037c55100c3ad97878ca4e361a734a3422fb35bdbaeacebf4babb16cdf3", "Screen capture and input stop. Ling never interacts with the lock screen, login window, password fields, or secure desktop.": "cece9f092190c9e9e4c9d54f7da59256e922a56556c843c4e2b44fb1a67b0c5f", "Screen Recording": "bc3c742893dc7aff9c88fad0aae3f6749a6679a45cbafb0981f0e2ddaed5c49c", "Scripts can contact external services. Only run documents you trust.": "aa3560983d2f6c2656f1a9329fcb9434fa520d6f64bcccf0e6ae91c82ddbb0dd", @@ -7264,6 +7274,7 @@ "Uploading avatar": "995b81efc53e808131bd98d546fb3fa493a44b9b43b752237e590bf5a2e487c8", "Uploading...": "72cb29c90ccd8361ee82d02fabe81a3f01605c7b8fea4c9996fc01d84e3fbb48", "Upstream": "94adc696fd24e9fd67e83ba256a9f33bf1d7191d4a5e38ee8c69597cd89e4777", + "Upstream result unconfirmed": "d345a9ef65cf22ec93d4a7a0457157bcdc8696a90ea8e72690d04b25d7447d94", "Upstream version": "7927b36324919e81ae646c1455b608aadcecdedb285d9985d63d80572c3d5214", "urgent": "f9d37c23fcc0f03c15a86aba71dce01dd0baa7a1568180e60c2347a5863151bc", "URL image edit": "444b0006116b72fd13097e57758caf2edaa14133af89617d79ed238d71f518ff", @@ -7460,6 +7471,7 @@ "Waiting for runner activity...": "d0e7a1fd3763c4062fe8ac59255b9281effe77d2fd1d79f9ae2498e56ac3b96f", "Waiting for runner events...": "dc60b71d9ccb374ef6e53cc9496c05fd15dcd7b4955ec8ae7603cf360af7e85e", "Waiting for sign-in": "749a343a3a25c1df679ee6d6e74abb72e08ef956bfa15434407e61934dc054c9", + "Waiting for source": "8ac1608b4d56ce4dcc84a6d489fb055d7e9281efa150baa1fd5c2be7f2dd220b", "Waiting for system confirmation and Host readback...": "952e73792f0715e2d1f30ef0b0c03c4353cd9ab96caa71856bbce7dc41e2d161", "waiting for user input": "f43ef097687b1d8c8800577eefa3f7e10d0c82236cd0017f983d131e8e673174", "Waiting for votes": "bbb50edc12d1ce791069a8e84ca6e73a255b796306d32cdc1414987b986e172f", @@ -8079,6 +8091,7 @@ "A skill with the same identity already exists.": "Նույն ինքնությամբ հմտություն արդեն գոյություն ունի:", "Abstain": "Ձեռնպահ մնալ", "Accept": "Ընդունել", + "Accept handoff": "Ընդունեք հանձնումը", "Acceptance": "Ընդունում", "Acceptance checks will be clarified before execution.": "Ընդունման ստուգումները կհստակեցվեն նախքան կատարումը:", "Acceptance criteria": "Ընդունման չափանիշներ", @@ -8630,6 +8643,7 @@ "Avatar uploaded": "Անձնանշանը վերբեռնվեց", "Avatar, name, and a compact working brief.": "Ավատար, անուն և կոմպակտ աշխատանքային համառոտագիր:", "Avoid triggers": "Խուսափեք հրահրող գործոններից", + "Awaiting acceptance": "Սպասում է ընդունմանը", "Awaiting confirmation": "Սպասում է հաստատմանը", "Awaiting enable": "Սպասում է միացնել", "Awaiting merge approval": "Սպասում է միաձուլման հաստատմանը", @@ -8819,6 +8833,7 @@ "cancelling": "Չեղարկում", "Cancelling": "Չեղարկում", "Candidate approved for draft": "Թեկնածուն հաստատվել է նախագծի համար", + "Candidate changed": "Թեկնածուն փոխվել է", "Candidate changed since verification": "Թեկնածուն փոխվել է ստուգումից հետո", "Candidate cluster is not bound to a channel.": "Թեկնածուների կլաստերը կապված չէ ալիքի հետ:", "Candidate Clusters": "Թեկնածուների կլաստերներ", @@ -9556,6 +9571,7 @@ "Could not start this scene.": "Չհաջողվեց սկսել այս տեսարանը:", "Could not start this workflow test.": "Չհաջողվեց սկսել այս աշխատանքային հոսքի թեստը:", "Could not switch projects. Showing the last loaded project.": "Չհաջողվեց փոխել նախագծերը: Ցուցադրվում է վերջին բեռնված նախագիծը:", + "Could not update handoff": "Չհաջողվեց թարմացնել փոխանցումը", "Could not update the default model. Try again.": "Չհաջողվեց թարմացնել կանխադրված մոդելը: Նորից փորձեք:", "Council actions": "Խորհրդի գործողությունները", "Council boundaries": "Խորհրդի սահմանները", @@ -11556,6 +11572,7 @@ "minutes": "րոպե", "missing": "անհայտ կորած", "Missing": "Անհայտ կորած", + "Missing artifact": "Բացակայող արտեֆակտ", "Missing dependency": "Missing dependency", "Missing fields": "Բացակայող դաշտեր", "Missing key": "Բանալին բացակայում է", @@ -13137,6 +13154,7 @@ "Requested URL": "Պահանջել է URL", "Required": "Պահանջվում է", "Required before approving high-risk requests": "Պահանջվում է բարձր ռիսկային հարցումները հաստատելուց առաջ", + "Required check incomplete": "Պահանջվող ստուգումը թերի է", "Required checks": "Պահանջվող ստուգումներ", "Required for assigned teammates": "Պահանջվում է նշանակված թիմակիցների համար", "Required input": "Պահանջվող մուտքագրում", @@ -13260,8 +13278,11 @@ "Retry upload": "Կրկին փորձեք վերբեռնել", "Retryable": "Կրկին փորձելու հնարավորություն", "Retrying automatically...": "Ինքնաբերաբար նորից փորձ...", + "Return handoff": "Վերադարձի հանձնում", + "Return reason": "Վերադարձի պատճառ", "Return to an unlocked interactive Windows desktop, restart Ling if needed, then check again.": "Վերադարձեք բացված ինտերակտիվ Windows աշխատասեղանին, անհրաժեշտության դեպքում վերագործարկեք Ling-ը, այնուհետև նորից ստուգեք:", "Return to implementation mode": "Վերադարձ դեպի իրականացման ռեժիմ", + "Returned for repair": "Վերադարձվել է վերանորոգման", "Reusable": "Կրկնակի օգտագործման", "Reuse images already saved in this media project.": "Կրկին օգտագործեք այս մեդիանախագծում արդեն պահված պատկերները:", "Reuse settings": "Վերօգտագործման կարգավորումները", @@ -13652,6 +13673,7 @@ "Schema, checksums, and package metadata": "Սխեման, ստուգիչ գումարներ և փաթեթի մետատվյալներ", "Scope": "Շրջանակ", "Scope ID": "Շրջանակ ID", + "Scope unavailable": "Շրջանակն անհասանելի է", "Screen capture and input stop. Ling never interacts with the lock screen, login window, password fields, or secure desktop.": "Էկրանի նկարահանում և մուտքագրման դադարեցում: Ling-ը երբեք չի փոխազդում կողպէկրանի, մուտքի պատուհանի, գաղտնաբառի դաշտերի կամ ապահով աշխատասեղանի հետ:", "Screen Recording": "Էկրանի ձայնագրում", "Scripts can contact external services. Only run documents you trust.": "Scripts can contact external services. Only run documents you trust.", @@ -15000,6 +15022,7 @@ "Uploading avatar": "Ավատարի վերբեռնում", "Uploading...": "Վերբեռնվում է...", "Upstream": "Հոսանքից վեր", + "Upstream result unconfirmed": "Վերևի արդյունքը չհաստատված", "Upstream version": "Վերին հոսքի տարբերակ", "urgent": "հրատապ", "URL image edit": "URL պատկերի խմբագրում", @@ -15196,6 +15219,7 @@ "Waiting for runner activity...": "Սպասում է վազորդի գործունեությանը...", "Waiting for runner events...": "Սպասում ենք վազորդների իրադարձություններին...", "Waiting for sign-in": "Սպասում է մուտքի", + "Waiting for source": "Սպասում ենք աղբյուրին", "Waiting for system confirmation and Host readback...": "Սպասում է համակարգի հաստատմանը և Հոսթի հետադարձ ընթերցմանը...", "waiting for user input": "սպասում է օգտվողի մուտքագրմանը", "Waiting for votes": "Սպասում ենք ձայների", diff --git a/packages/localization/catalogs/id-ID.json b/packages/localization/catalogs/id-ID.json index 37373993d..5dba3b962 100644 --- a/packages/localization/catalogs/id-ID.json +++ b/packages/localization/catalogs/id-ID.json @@ -1,6 +1,6 @@ { "locale": "id-ID", - "sourceRevision": "e134cc889637523423524b121cf71dcb37afdd3d7daf48eaea975d1c39785b2e", + "sourceRevision": "95b7d5d6546abac9c1f3ec3e54efe7bff99c84252c464896ecb9bf2245f66dfd", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -343,6 +343,7 @@ "A skill with the same identity already exists.": "66dd592d63333b2f2738e59f82a3866d9a6db17154a2cc2a752727f9a40998d1", "Abstain": "bf92ab42d052ce917d87cccce310e4351900347095f57947b3d08c1b1ff8bcf3", "Accept": "89713b9c9c1b8f659c9f49db25e4a47886dd673fee248c3f650391f09a759cef", + "Accept handoff": "13e3dc2abccf1296c34099b2080efb8c78ad82067436ff2039024f22ed8cc2e9", "Acceptance": "f190a5cb3aff17b0ee84f6ee258333d63a9cc71aa66c2e1788ebc3ae24a89b10", "Acceptance checks will be clarified before execution.": "ffd59db22fb4d3abb3c9cc67c351c818e1732dfca2d6cd18ae361a711fa4bb72", "Acceptance criteria": "d47a36f4f055810755db08b8d52e479baa4bb7a7a1f6449f71fa1ad5c20495ef", @@ -894,6 +895,7 @@ "Avatar uploaded": "d0d5a01f3f30fd933994a5950ddae3d14384d2c850c05deb50532b65aa6593ba", "Avatar, name, and a compact working brief.": "8d3706d4928090efbf7eca6683e3357f4f92732bc8be64c50dc8af8620a256c1", "Avoid triggers": "1419db0b6ddbd1f3a1632043da73529ecbcb0aef9183fd7d78e12df2942444de", + "Awaiting acceptance": "1dc7bfd9c54d73f22b4a9bdca5f741d5067a673b7f99d77e85367f6c8f049f85", "Awaiting confirmation": "d0ae0b38eac639b98f6a9b793a7add708bedbc6156963e3abc00453b235b2f3d", "Awaiting enable": "2a6b618d273346e8198806aa0d934a4bd6f5bf8b29d0780076df974ca93bf548", "Awaiting merge approval": "21837cdd561270cefc146079172511177736bb9091e9fb50d93bb072f271ecb0", @@ -1083,6 +1085,7 @@ "cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Candidate approved for draft": "59a57b9b459b3215e76b651f73f6521bc1bd71fa66bb52e046368a559db6632b", + "Candidate changed": "ca07c050cd47ab4f4d2f2fb6c60110b738af5b951a9ab708c36879365ec4532e", "Candidate changed since verification": "a2808e03661077a04403dab2204b7ce8d78310c296600bd03c5766a754f216a6", "Candidate cluster is not bound to a channel.": "6066a4e8725d065a7c2b8d2c8974a60c41c0a94124deeabd972f620ddd815786", "Candidate Clusters": "b617f8ce5325fa8984c324816b08d3a26c05dac3c3276bcc4f4ab7196222dbe4", @@ -1820,6 +1823,7 @@ "Could not start this scene.": "acb6aa181a8b842f1a8fc78344dc210cb98a45ccb6cf38ebd01beb65fe7fa27d", "Could not start this workflow test.": "7fe6f22a12127a9d74069d195a2513038cb2ff035acc4433d41e31006445e46e", "Could not switch projects. Showing the last loaded project.": "1a284203a5fd7f9d39c625017fde0d1c88180e3d2fa62b07aa7c9eb64a2e8aa6", + "Could not update handoff": "b6b7ff312171612e082d24ec92c854155d95fa6177a25cb0ac10f44e2c6110e2", "Could not update the default model. Try again.": "c87a00ab8ffb8c8c60209acf9b5cb10295a2a5e93c3e6f72dd8b2b4c316bdc16", "Council actions": "79763aae8f6334c6e29273106f3509b76114439dd686c9fa32753bca265eee32", "Council boundaries": "b4d6713050d140a9102817793dcb99d64565ee0d33d364b71f5d4d2afd234baf", @@ -3820,6 +3824,7 @@ "minutes": "90e63d85fa1ab2c8ed65222f3ebd794b1e524b4b7cf84bec451542d0451b2985", "missing": "ffa63583dfa6706b87d284b86b0d693a161e4840aad2c5cf6b5d27c3b9621f7d", "Missing": "6be36ca49ee85210c5d1ad9c377d90a9859c66d889110a2a5b0dccd390d12e20", + "Missing artifact": "e936c2df4de783be206107e353054e33ebba1c9988085200c260c7a6b8f8fc73", "Missing dependency": "5915d1e15e283f09695ad4b96ced9625bbd68aab747dc778f37aada0a7489b5c", "Missing fields": "69121d3f63d5a27ab7ce484854c065ce87e7022dc5fdfee9d778ab02515542fc", "Missing key": "0c8a17a63a322df1c40693b8469227cf5426b024673da9065f42c6cbb7c58370", @@ -5401,6 +5406,7 @@ "Requested URL": "8ae37b38fe2e415c8c641c3f2b6e9b42a11245cc8749a51a247cf0464b4c7faf", "Required": "4850b174b713d88cfc63de107830d5388929020e78abc91fc19bba7a6821625f", "Required before approving high-risk requests": "3cb612a5f43f4acbf5a6066a5da559bce858b50cdab2c2f6943bf4a05de1310a", + "Required check incomplete": "f64e6dfd1fc8cd1f2139aadf61c6ef43ecaa2ce783b2c712a56d31a574e05741", "Required checks": "f5a021846bd1a50002c0ea940f30cc97c285a118c62ff95af5c2f538584a7e26", "Required for assigned teammates": "4732aa544a8d93b886e6bcbbcc5c3314af692f8a8a812efd4844cd3589b7b63a", "Required input": "fafaaf99b5a6af521026448890a9dacaf4d47053804a34be7cdf364e13637181", @@ -5524,8 +5530,11 @@ "Retry upload": "731dc6e3f07ab1b090e925be766dd01d8e4aed2f0ad2cef600bf157bd7764500", "Retryable": "c282bd362abaadb6a38a4fdb268df44325f8bfde40f719b77fdd690180c51889", "Retrying automatically...": "220837f6132382f3e8d4fb676f31aab3dc9fabc34b8f26c2e4ced9b83ebce4ec", + "Return handoff": "1ae47e9a67b5866c28ccd52c2040500610b795d917cc6620a444c170ded79836", + "Return reason": "79f91549d760515b430db20e8f2f0c766e417826dfea15029dca20f6eb9865ac", "Return to an unlocked interactive Windows desktop, restart Ling if needed, then check again.": "bccd46e406f4d428d83a9dd510df581b52e5c28c51da4d357e3e66c21740ee0e", "Return to implementation mode": "36435baabf6c6acc0666fba73f68609f9a41d17389ea216a99f41b5036e8b6ef", + "Returned for repair": "07abb2b9ba19b479a5126883271bb99fa47e239dffb3337fb13bbe2778654158", "Reusable": "8ded2b384940a83eb986da575b9efa40f1b03fd1d626bd91964cbb11502e0b42", "Reuse images already saved in this media project.": "3c3dd902fab18f841a51942e3a4e92a93c8d39ddd8b48ae9ee017982a26fa1c1", "Reuse settings": "17507cf7d05b478d392e9aa85d9c60046c0e2a185959546ac0864a89b95ec744", @@ -5916,6 +5925,7 @@ "Schema, checksums, and package metadata": "d91ffc3c0cdd2c26d37ba9cf60de0a718343a3969303718321092f0367a68808", "Scope": "b073f6c68ef8721107fd9815b19b2c35ec111d526b75c2123d1111ba64424000", "Scope ID": "4a201ef6cbd70a0728fc5c62eb87fd73ac56e470c853a3112ebf27617e49ff76", + "Scope unavailable": "38a32037c55100c3ad97878ca4e361a734a3422fb35bdbaeacebf4babb16cdf3", "Screen capture and input stop. Ling never interacts with the lock screen, login window, password fields, or secure desktop.": "cece9f092190c9e9e4c9d54f7da59256e922a56556c843c4e2b44fb1a67b0c5f", "Screen Recording": "bc3c742893dc7aff9c88fad0aae3f6749a6679a45cbafb0981f0e2ddaed5c49c", "Scripts can contact external services. Only run documents you trust.": "aa3560983d2f6c2656f1a9329fcb9434fa520d6f64bcccf0e6ae91c82ddbb0dd", @@ -7264,6 +7274,7 @@ "Uploading avatar": "995b81efc53e808131bd98d546fb3fa493a44b9b43b752237e590bf5a2e487c8", "Uploading...": "72cb29c90ccd8361ee82d02fabe81a3f01605c7b8fea4c9996fc01d84e3fbb48", "Upstream": "94adc696fd24e9fd67e83ba256a9f33bf1d7191d4a5e38ee8c69597cd89e4777", + "Upstream result unconfirmed": "d345a9ef65cf22ec93d4a7a0457157bcdc8696a90ea8e72690d04b25d7447d94", "Upstream version": "7927b36324919e81ae646c1455b608aadcecdedb285d9985d63d80572c3d5214", "urgent": "f9d37c23fcc0f03c15a86aba71dce01dd0baa7a1568180e60c2347a5863151bc", "URL image edit": "444b0006116b72fd13097e57758caf2edaa14133af89617d79ed238d71f518ff", @@ -7460,6 +7471,7 @@ "Waiting for runner activity...": "d0e7a1fd3763c4062fe8ac59255b9281effe77d2fd1d79f9ae2498e56ac3b96f", "Waiting for runner events...": "dc60b71d9ccb374ef6e53cc9496c05fd15dcd7b4955ec8ae7603cf360af7e85e", "Waiting for sign-in": "749a343a3a25c1df679ee6d6e74abb72e08ef956bfa15434407e61934dc054c9", + "Waiting for source": "8ac1608b4d56ce4dcc84a6d489fb055d7e9281efa150baa1fd5c2be7f2dd220b", "Waiting for system confirmation and Host readback...": "952e73792f0715e2d1f30ef0b0c03c4353cd9ab96caa71856bbce7dc41e2d161", "waiting for user input": "f43ef097687b1d8c8800577eefa3f7e10d0c82236cd0017f983d131e8e673174", "Waiting for votes": "bbb50edc12d1ce791069a8e84ca6e73a255b796306d32cdc1414987b986e172f", @@ -8079,6 +8091,7 @@ "A skill with the same identity already exists.": "Keterampilan dengan identitas yang sama sudah ada.", "Abstain": "Menjauhkan diri", "Accept": "Menerima", + "Accept handoff": "Terima serah terima", "Acceptance": "Penerimaan", "Acceptance checks will be clarified before execution.": "Pemeriksaan penerimaan akan diklarifikasi sebelum eksekusi.", "Acceptance criteria": "Kriteria penerimaan", @@ -8630,6 +8643,7 @@ "Avatar uploaded": "Avatar diunggah", "Avatar, name, and a compact working brief.": "Avatar, nama, dan ringkasan kerja ringkas.", "Avoid triggers": "Hindari pemicu", + "Awaiting acceptance": "Menunggu penerimaan", "Awaiting confirmation": "Menunggu konfirmasi", "Awaiting enable": "Menunggu aktifkan", "Awaiting merge approval": "Menunggu persetujuan penggabungan", @@ -8819,6 +8833,7 @@ "cancelling": "Membatalkan", "Cancelling": "Membatalkan", "Candidate approved for draft": "Kandidat disetujui untuk draf", + "Candidate changed": "Kandidat berubah", "Candidate changed since verification": "Kandidat berubah sejak verifikasi", "Candidate cluster is not bound to a channel.": "Cluster kandidat tidak terikat pada suatu saluran.", "Candidate Clusters": "Klaster Kandidat", @@ -9556,6 +9571,7 @@ "Could not start this scene.": "Tidak dapat memulai adegan ini.", "Could not start this workflow test.": "Tidak dapat memulai pengujian alur kerja ini.", "Could not switch projects. Showing the last loaded project.": "Tidak dapat berpindah proyek. Menampilkan proyek yang terakhir dimuat.", + "Could not update handoff": "Tidak dapat memperbarui serah terima", "Could not update the default model. Try again.": "Tidak dapat memperbarui model default. Coba lagi.", "Council actions": "Tindakan dewan", "Council boundaries": "Batasan dewan", @@ -11556,6 +11572,7 @@ "minutes": "menit", "missing": "hilang", "Missing": "Hilang", + "Missing artifact": "Artefak hilang", "Missing dependency": "Missing dependency", "Missing fields": "Bidang yang hilang", "Missing key": "Kunci hilang", @@ -13137,6 +13154,7 @@ "Requested URL": "Diminta URL", "Required": "Diperlukan", "Required before approving high-risk requests": "Diperlukan sebelum menyetujui permintaan berisiko tinggi", + "Required check incomplete": "Pemeriksaan yang diperlukan tidak lengkap", "Required checks": "Pemeriksaan yang diperlukan", "Required for assigned teammates": "Diperlukan untuk rekan satu tim yang ditugaskan", "Required input": "Masukan yang diperlukan", @@ -13260,8 +13278,11 @@ "Retry upload": "Coba unggah lagi", "Retryable": "Dapat dicoba lagi", "Retrying automatically...": "Mencoba lagi secara otomatis...", + "Return handoff": "Serah terima kembali", + "Return reason": "Alasan pengembalian", "Return to an unlocked interactive Windows desktop, restart Ling if needed, then check again.": "Kembali ke desktop Windows interaktif yang tidak terkunci, mulai ulang Ling jika perlu, lalu periksa lagi.", "Return to implementation mode": "Kembali ke mode implementasi", + "Returned for repair": "Dikembalikan untuk diperbaiki", "Reusable": "Dapat digunakan kembali", "Reuse images already saved in this media project.": "Gunakan kembali gambar yang sudah disimpan dalam proyek media ini.", "Reuse settings": "Gunakan kembali pengaturan", @@ -13652,6 +13673,7 @@ "Schema, checksums, and package metadata": "Skema, checksum, dan metadata paket", "Scope": "Cakupan", "Scope ID": "Lingkup ID", + "Scope unavailable": "Cakupan tidak tersedia", "Screen capture and input stop. Ling never interacts with the lock screen, login window, password fields, or secure desktop.": "Tangkapan layar dan input berhenti. Ling tidak pernah berinteraksi dengan layar kunci, jendela login, kolom kata sandi, atau desktop aman.", "Screen Recording": "Perekaman Layar", "Scripts can contact external services. Only run documents you trust.": "Scripts can contact external services. Only run documents you trust.", @@ -15000,6 +15022,7 @@ "Uploading avatar": "Mengunggah avatar", "Uploading...": "Mengunggah...", "Upstream": "Hulu", + "Upstream result unconfirmed": "Hasil hulu belum dikonfirmasi", "Upstream version": "Versi hulu", "urgent": "mendesak", "URL image edit": "URL pengeditan gambar", @@ -15196,6 +15219,7 @@ "Waiting for runner activity...": "Menunggu aktivitas pelari...", "Waiting for runner events...": "Menunggu acara pelari...", "Waiting for sign-in": "Menunggu masuk", + "Waiting for source": "Menunggu sumber", "Waiting for system confirmation and Host readback...": "Menunggu konfirmasi sistem dan pembacaan kembali Host...", "waiting for user input": "menunggu masukan pengguna", "Waiting for votes": "Menunggu suara", diff --git a/packages/localization/catalogs/is-IS.json b/packages/localization/catalogs/is-IS.json index b894f2784..4a8ebe4f4 100644 --- a/packages/localization/catalogs/is-IS.json +++ b/packages/localization/catalogs/is-IS.json @@ -1,6 +1,6 @@ { "locale": "is-IS", - "sourceRevision": "e134cc889637523423524b121cf71dcb37afdd3d7daf48eaea975d1c39785b2e", + "sourceRevision": "95b7d5d6546abac9c1f3ec3e54efe7bff99c84252c464896ecb9bf2245f66dfd", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -343,6 +343,7 @@ "A skill with the same identity already exists.": "66dd592d63333b2f2738e59f82a3866d9a6db17154a2cc2a752727f9a40998d1", "Abstain": "bf92ab42d052ce917d87cccce310e4351900347095f57947b3d08c1b1ff8bcf3", "Accept": "89713b9c9c1b8f659c9f49db25e4a47886dd673fee248c3f650391f09a759cef", + "Accept handoff": "13e3dc2abccf1296c34099b2080efb8c78ad82067436ff2039024f22ed8cc2e9", "Acceptance": "f190a5cb3aff17b0ee84f6ee258333d63a9cc71aa66c2e1788ebc3ae24a89b10", "Acceptance checks will be clarified before execution.": "ffd59db22fb4d3abb3c9cc67c351c818e1732dfca2d6cd18ae361a711fa4bb72", "Acceptance criteria": "d47a36f4f055810755db08b8d52e479baa4bb7a7a1f6449f71fa1ad5c20495ef", @@ -894,6 +895,7 @@ "Avatar uploaded": "d0d5a01f3f30fd933994a5950ddae3d14384d2c850c05deb50532b65aa6593ba", "Avatar, name, and a compact working brief.": "8d3706d4928090efbf7eca6683e3357f4f92732bc8be64c50dc8af8620a256c1", "Avoid triggers": "1419db0b6ddbd1f3a1632043da73529ecbcb0aef9183fd7d78e12df2942444de", + "Awaiting acceptance": "1dc7bfd9c54d73f22b4a9bdca5f741d5067a673b7f99d77e85367f6c8f049f85", "Awaiting confirmation": "d0ae0b38eac639b98f6a9b793a7add708bedbc6156963e3abc00453b235b2f3d", "Awaiting enable": "2a6b618d273346e8198806aa0d934a4bd6f5bf8b29d0780076df974ca93bf548", "Awaiting merge approval": "21837cdd561270cefc146079172511177736bb9091e9fb50d93bb072f271ecb0", @@ -1083,6 +1085,7 @@ "cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Candidate approved for draft": "59a57b9b459b3215e76b651f73f6521bc1bd71fa66bb52e046368a559db6632b", + "Candidate changed": "ca07c050cd47ab4f4d2f2fb6c60110b738af5b951a9ab708c36879365ec4532e", "Candidate changed since verification": "a2808e03661077a04403dab2204b7ce8d78310c296600bd03c5766a754f216a6", "Candidate cluster is not bound to a channel.": "6066a4e8725d065a7c2b8d2c8974a60c41c0a94124deeabd972f620ddd815786", "Candidate Clusters": "b617f8ce5325fa8984c324816b08d3a26c05dac3c3276bcc4f4ab7196222dbe4", @@ -1820,6 +1823,7 @@ "Could not start this scene.": "acb6aa181a8b842f1a8fc78344dc210cb98a45ccb6cf38ebd01beb65fe7fa27d", "Could not start this workflow test.": "7fe6f22a12127a9d74069d195a2513038cb2ff035acc4433d41e31006445e46e", "Could not switch projects. Showing the last loaded project.": "1a284203a5fd7f9d39c625017fde0d1c88180e3d2fa62b07aa7c9eb64a2e8aa6", + "Could not update handoff": "b6b7ff312171612e082d24ec92c854155d95fa6177a25cb0ac10f44e2c6110e2", "Could not update the default model. Try again.": "c87a00ab8ffb8c8c60209acf9b5cb10295a2a5e93c3e6f72dd8b2b4c316bdc16", "Council actions": "79763aae8f6334c6e29273106f3509b76114439dd686c9fa32753bca265eee32", "Council boundaries": "b4d6713050d140a9102817793dcb99d64565ee0d33d364b71f5d4d2afd234baf", @@ -3820,6 +3824,7 @@ "minutes": "90e63d85fa1ab2c8ed65222f3ebd794b1e524b4b7cf84bec451542d0451b2985", "missing": "ffa63583dfa6706b87d284b86b0d693a161e4840aad2c5cf6b5d27c3b9621f7d", "Missing": "6be36ca49ee85210c5d1ad9c377d90a9859c66d889110a2a5b0dccd390d12e20", + "Missing artifact": "e936c2df4de783be206107e353054e33ebba1c9988085200c260c7a6b8f8fc73", "Missing dependency": "5915d1e15e283f09695ad4b96ced9625bbd68aab747dc778f37aada0a7489b5c", "Missing fields": "69121d3f63d5a27ab7ce484854c065ce87e7022dc5fdfee9d778ab02515542fc", "Missing key": "0c8a17a63a322df1c40693b8469227cf5426b024673da9065f42c6cbb7c58370", @@ -5401,6 +5406,7 @@ "Requested URL": "8ae37b38fe2e415c8c641c3f2b6e9b42a11245cc8749a51a247cf0464b4c7faf", "Required": "4850b174b713d88cfc63de107830d5388929020e78abc91fc19bba7a6821625f", "Required before approving high-risk requests": "3cb612a5f43f4acbf5a6066a5da559bce858b50cdab2c2f6943bf4a05de1310a", + "Required check incomplete": "f64e6dfd1fc8cd1f2139aadf61c6ef43ecaa2ce783b2c712a56d31a574e05741", "Required checks": "f5a021846bd1a50002c0ea940f30cc97c285a118c62ff95af5c2f538584a7e26", "Required for assigned teammates": "4732aa544a8d93b886e6bcbbcc5c3314af692f8a8a812efd4844cd3589b7b63a", "Required input": "fafaaf99b5a6af521026448890a9dacaf4d47053804a34be7cdf364e13637181", @@ -5524,8 +5530,11 @@ "Retry upload": "731dc6e3f07ab1b090e925be766dd01d8e4aed2f0ad2cef600bf157bd7764500", "Retryable": "c282bd362abaadb6a38a4fdb268df44325f8bfde40f719b77fdd690180c51889", "Retrying automatically...": "220837f6132382f3e8d4fb676f31aab3dc9fabc34b8f26c2e4ced9b83ebce4ec", + "Return handoff": "1ae47e9a67b5866c28ccd52c2040500610b795d917cc6620a444c170ded79836", + "Return reason": "79f91549d760515b430db20e8f2f0c766e417826dfea15029dca20f6eb9865ac", "Return to an unlocked interactive Windows desktop, restart Ling if needed, then check again.": "bccd46e406f4d428d83a9dd510df581b52e5c28c51da4d357e3e66c21740ee0e", "Return to implementation mode": "36435baabf6c6acc0666fba73f68609f9a41d17389ea216a99f41b5036e8b6ef", + "Returned for repair": "07abb2b9ba19b479a5126883271bb99fa47e239dffb3337fb13bbe2778654158", "Reusable": "8ded2b384940a83eb986da575b9efa40f1b03fd1d626bd91964cbb11502e0b42", "Reuse images already saved in this media project.": "3c3dd902fab18f841a51942e3a4e92a93c8d39ddd8b48ae9ee017982a26fa1c1", "Reuse settings": "17507cf7d05b478d392e9aa85d9c60046c0e2a185959546ac0864a89b95ec744", @@ -5916,6 +5925,7 @@ "Schema, checksums, and package metadata": "d91ffc3c0cdd2c26d37ba9cf60de0a718343a3969303718321092f0367a68808", "Scope": "b073f6c68ef8721107fd9815b19b2c35ec111d526b75c2123d1111ba64424000", "Scope ID": "4a201ef6cbd70a0728fc5c62eb87fd73ac56e470c853a3112ebf27617e49ff76", + "Scope unavailable": "38a32037c55100c3ad97878ca4e361a734a3422fb35bdbaeacebf4babb16cdf3", "Screen capture and input stop. Ling never interacts with the lock screen, login window, password fields, or secure desktop.": "cece9f092190c9e9e4c9d54f7da59256e922a56556c843c4e2b44fb1a67b0c5f", "Screen Recording": "bc3c742893dc7aff9c88fad0aae3f6749a6679a45cbafb0981f0e2ddaed5c49c", "Scripts can contact external services. Only run documents you trust.": "aa3560983d2f6c2656f1a9329fcb9434fa520d6f64bcccf0e6ae91c82ddbb0dd", @@ -7264,6 +7274,7 @@ "Uploading avatar": "995b81efc53e808131bd98d546fb3fa493a44b9b43b752237e590bf5a2e487c8", "Uploading...": "72cb29c90ccd8361ee82d02fabe81a3f01605c7b8fea4c9996fc01d84e3fbb48", "Upstream": "94adc696fd24e9fd67e83ba256a9f33bf1d7191d4a5e38ee8c69597cd89e4777", + "Upstream result unconfirmed": "d345a9ef65cf22ec93d4a7a0457157bcdc8696a90ea8e72690d04b25d7447d94", "Upstream version": "7927b36324919e81ae646c1455b608aadcecdedb285d9985d63d80572c3d5214", "urgent": "f9d37c23fcc0f03c15a86aba71dce01dd0baa7a1568180e60c2347a5863151bc", "URL image edit": "444b0006116b72fd13097e57758caf2edaa14133af89617d79ed238d71f518ff", @@ -7460,6 +7471,7 @@ "Waiting for runner activity...": "d0e7a1fd3763c4062fe8ac59255b9281effe77d2fd1d79f9ae2498e56ac3b96f", "Waiting for runner events...": "dc60b71d9ccb374ef6e53cc9496c05fd15dcd7b4955ec8ae7603cf360af7e85e", "Waiting for sign-in": "749a343a3a25c1df679ee6d6e74abb72e08ef956bfa15434407e61934dc054c9", + "Waiting for source": "8ac1608b4d56ce4dcc84a6d489fb055d7e9281efa150baa1fd5c2be7f2dd220b", "Waiting for system confirmation and Host readback...": "952e73792f0715e2d1f30ef0b0c03c4353cd9ab96caa71856bbce7dc41e2d161", "waiting for user input": "f43ef097687b1d8c8800577eefa3f7e10d0c82236cd0017f983d131e8e673174", "Waiting for votes": "bbb50edc12d1ce791069a8e84ca6e73a255b796306d32cdc1414987b986e172f", @@ -8079,6 +8091,7 @@ "A skill with the same identity already exists.": "Færni með sömu sjálfsmynd er þegar til.", "Abstain": "Forðastu", "Accept": "Samþykkja", + "Accept handoff": "Samþykkja afhendingu", "Acceptance": "Samþykki", "Acceptance checks will be clarified before execution.": "Viðtökuathuganir verða skýrðar fyrir framkvæmd.", "Acceptance criteria": "Samþykkisviðmið", @@ -8630,6 +8643,7 @@ "Avatar uploaded": "Avatar hlaðið upp", "Avatar, name, and a compact working brief.": "Avatar, nafn og þétt vinnuskemmtun.", "Avoid triggers": "Forðastu kveikjur", + "Awaiting acceptance": "Bíður samþykkis", "Awaiting confirmation": "Bíður staðfestingar", "Awaiting enable": "Bíður virkja", "Awaiting merge approval": "Bíður sameiningarsamþykkis", @@ -8819,6 +8833,7 @@ "cancelling": "Hætta við", "Cancelling": "Hætta við", "Candidate approved for draft": "Frambjóðandi samþykktur fyrir drög", + "Candidate changed": "Skipt var um frambjóðanda", "Candidate changed since verification": "Frambjóðandi breytt frá staðfestingu", "Candidate cluster is not bound to a channel.": "Frambjóðendaklasi er ekki bundinn við rás.", "Candidate Clusters": "Frambjóðendaklasar", @@ -9556,6 +9571,7 @@ "Could not start this scene.": "Gat ekki byrjað á þessu atriði.", "Could not start this workflow test.": "Gat ekki ræst þetta verkflæðispróf.", "Could not switch projects. Showing the last loaded project.": "Gat ekki skipt um verkefni. Sýnir síðasta verkefni sem var hlaðið inn.", + "Could not update handoff": "Gat ekki uppfært handoff", "Could not update the default model. Try again.": "Gat ekki uppfært sjálfgefna líkanið. Reyndu aftur.", "Council actions": "Aðgerðir ráðsins", "Council boundaries": "Mörk ráðsins", @@ -11556,6 +11572,7 @@ "minutes": "mínútur", "missing": "vantar", "Missing": "Vantar", + "Missing artifact": "Vantar grip", "Missing dependency": "Missing dependency", "Missing fields": "Vantar reiti", "Missing key": "Vantar lykil", @@ -13137,6 +13154,7 @@ "Requested URL": "Beðið um URL", "Required": "Áskilið", "Required before approving high-risk requests": "Áskilið áður en háhættubeiðnir eru samþykktar", + "Required check incomplete": "Áskilið ávísun ófullnægjandi", "Required checks": "Nauðsynlegar athuganir", "Required for assigned teammates": "Nauðsynlegt fyrir úthlutaða liðsfélaga", "Required input": "Nauðsynlegt inntak", @@ -13260,8 +13278,11 @@ "Retry upload": "Reyndu að hlaða upp aftur", "Retryable": "Hægt að reyna aftur", "Retrying automatically...": "Reynir sjálfkrafa aftur...", + "Return handoff": "Skilaskil", + "Return reason": "Skila ástæða", "Return to an unlocked interactive Windows desktop, restart Ling if needed, then check again.": "Farðu aftur í ólæst gagnvirkt Windows skjáborð, endurræstu Ling ef þörf krefur, athugaðu síðan aftur.", "Return to implementation mode": "Fara aftur í útfærsluham", + "Returned for repair": "Skilað til viðgerðar", "Reusable": "Endurnýtanlegt", "Reuse images already saved in this media project.": "Endurnotaðu myndir sem þegar hafa verið vistaðar í þessu fjölmiðlaverkefni.", "Reuse settings": "Endurnotaðu stillingar", @@ -13652,6 +13673,7 @@ "Schema, checksums, and package metadata": "Skema, eftirlitssummur og lýsigögn pakka", "Scope": "Gildissvið", "Scope ID": "Gildissvið ID", + "Scope unavailable": "Umfang ekki tiltækt", "Screen capture and input stop. Ling never interacts with the lock screen, login window, password fields, or secure desktop.": "Skjámyndataka og inntaksstöðvun. Ling hefur aldrei samskipti við lásskjáinn, innskráningargluggann, lykilorðareiti eða öruggt skjáborð.", "Screen Recording": "Skjáupptaka", "Scripts can contact external services. Only run documents you trust.": "Scripts can contact external services. Only run documents you trust.", @@ -15000,6 +15022,7 @@ "Uploading avatar": "Hleður upp avatar", "Uploading...": "Hleður inn...", "Upstream": "Andstreymis", + "Upstream result unconfirmed": "Uppstreymisniðurstaða óstaðfest", "Upstream version": "Andstreymis útgáfa", "urgent": "brýnt", "URL image edit": "URL myndbreyting", @@ -15196,6 +15219,7 @@ "Waiting for runner activity...": "Bíður eftir hreyfingu hlaupara...", "Waiting for runner events...": "Bíð eftir hlauparaviðburðum...", "Waiting for sign-in": "Bíður eftir innskráningu", + "Waiting for source": "Beðið eftir heimild", "Waiting for system confirmation and Host readback...": "Bíður eftir kerfisstaðfestingu og endurlestur gestgjafa...", "waiting for user input": "bíður eftir inntaki notanda", "Waiting for votes": "Beðið eftir atkvæðum", diff --git a/packages/localization/catalogs/it-IT.json b/packages/localization/catalogs/it-IT.json index 2bc0e6d09..1ebc47090 100644 --- a/packages/localization/catalogs/it-IT.json +++ b/packages/localization/catalogs/it-IT.json @@ -1,6 +1,6 @@ { "locale": "it-IT", - "sourceRevision": "e134cc889637523423524b121cf71dcb37afdd3d7daf48eaea975d1c39785b2e", + "sourceRevision": "95b7d5d6546abac9c1f3ec3e54efe7bff99c84252c464896ecb9bf2245f66dfd", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -343,6 +343,7 @@ "A skill with the same identity already exists.": "66dd592d63333b2f2738e59f82a3866d9a6db17154a2cc2a752727f9a40998d1", "Abstain": "bf92ab42d052ce917d87cccce310e4351900347095f57947b3d08c1b1ff8bcf3", "Accept": "89713b9c9c1b8f659c9f49db25e4a47886dd673fee248c3f650391f09a759cef", + "Accept handoff": "13e3dc2abccf1296c34099b2080efb8c78ad82067436ff2039024f22ed8cc2e9", "Acceptance": "f190a5cb3aff17b0ee84f6ee258333d63a9cc71aa66c2e1788ebc3ae24a89b10", "Acceptance checks will be clarified before execution.": "ffd59db22fb4d3abb3c9cc67c351c818e1732dfca2d6cd18ae361a711fa4bb72", "Acceptance criteria": "d47a36f4f055810755db08b8d52e479baa4bb7a7a1f6449f71fa1ad5c20495ef", @@ -894,6 +895,7 @@ "Avatar uploaded": "d0d5a01f3f30fd933994a5950ddae3d14384d2c850c05deb50532b65aa6593ba", "Avatar, name, and a compact working brief.": "8d3706d4928090efbf7eca6683e3357f4f92732bc8be64c50dc8af8620a256c1", "Avoid triggers": "1419db0b6ddbd1f3a1632043da73529ecbcb0aef9183fd7d78e12df2942444de", + "Awaiting acceptance": "1dc7bfd9c54d73f22b4a9bdca5f741d5067a673b7f99d77e85367f6c8f049f85", "Awaiting confirmation": "d0ae0b38eac639b98f6a9b793a7add708bedbc6156963e3abc00453b235b2f3d", "Awaiting enable": "2a6b618d273346e8198806aa0d934a4bd6f5bf8b29d0780076df974ca93bf548", "Awaiting merge approval": "21837cdd561270cefc146079172511177736bb9091e9fb50d93bb072f271ecb0", @@ -1083,6 +1085,7 @@ "cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Candidate approved for draft": "59a57b9b459b3215e76b651f73f6521bc1bd71fa66bb52e046368a559db6632b", + "Candidate changed": "ca07c050cd47ab4f4d2f2fb6c60110b738af5b951a9ab708c36879365ec4532e", "Candidate changed since verification": "a2808e03661077a04403dab2204b7ce8d78310c296600bd03c5766a754f216a6", "Candidate cluster is not bound to a channel.": "6066a4e8725d065a7c2b8d2c8974a60c41c0a94124deeabd972f620ddd815786", "Candidate Clusters": "b617f8ce5325fa8984c324816b08d3a26c05dac3c3276bcc4f4ab7196222dbe4", @@ -1820,6 +1823,7 @@ "Could not start this scene.": "acb6aa181a8b842f1a8fc78344dc210cb98a45ccb6cf38ebd01beb65fe7fa27d", "Could not start this workflow test.": "7fe6f22a12127a9d74069d195a2513038cb2ff035acc4433d41e31006445e46e", "Could not switch projects. Showing the last loaded project.": "1a284203a5fd7f9d39c625017fde0d1c88180e3d2fa62b07aa7c9eb64a2e8aa6", + "Could not update handoff": "b6b7ff312171612e082d24ec92c854155d95fa6177a25cb0ac10f44e2c6110e2", "Could not update the default model. Try again.": "c87a00ab8ffb8c8c60209acf9b5cb10295a2a5e93c3e6f72dd8b2b4c316bdc16", "Council actions": "79763aae8f6334c6e29273106f3509b76114439dd686c9fa32753bca265eee32", "Council boundaries": "b4d6713050d140a9102817793dcb99d64565ee0d33d364b71f5d4d2afd234baf", @@ -3820,6 +3824,7 @@ "minutes": "90e63d85fa1ab2c8ed65222f3ebd794b1e524b4b7cf84bec451542d0451b2985", "missing": "ffa63583dfa6706b87d284b86b0d693a161e4840aad2c5cf6b5d27c3b9621f7d", "Missing": "6be36ca49ee85210c5d1ad9c377d90a9859c66d889110a2a5b0dccd390d12e20", + "Missing artifact": "e936c2df4de783be206107e353054e33ebba1c9988085200c260c7a6b8f8fc73", "Missing dependency": "5915d1e15e283f09695ad4b96ced9625bbd68aab747dc778f37aada0a7489b5c", "Missing fields": "69121d3f63d5a27ab7ce484854c065ce87e7022dc5fdfee9d778ab02515542fc", "Missing key": "0c8a17a63a322df1c40693b8469227cf5426b024673da9065f42c6cbb7c58370", @@ -5401,6 +5406,7 @@ "Requested URL": "8ae37b38fe2e415c8c641c3f2b6e9b42a11245cc8749a51a247cf0464b4c7faf", "Required": "4850b174b713d88cfc63de107830d5388929020e78abc91fc19bba7a6821625f", "Required before approving high-risk requests": "3cb612a5f43f4acbf5a6066a5da559bce858b50cdab2c2f6943bf4a05de1310a", + "Required check incomplete": "f64e6dfd1fc8cd1f2139aadf61c6ef43ecaa2ce783b2c712a56d31a574e05741", "Required checks": "f5a021846bd1a50002c0ea940f30cc97c285a118c62ff95af5c2f538584a7e26", "Required for assigned teammates": "4732aa544a8d93b886e6bcbbcc5c3314af692f8a8a812efd4844cd3589b7b63a", "Required input": "fafaaf99b5a6af521026448890a9dacaf4d47053804a34be7cdf364e13637181", @@ -5524,8 +5530,11 @@ "Retry upload": "731dc6e3f07ab1b090e925be766dd01d8e4aed2f0ad2cef600bf157bd7764500", "Retryable": "c282bd362abaadb6a38a4fdb268df44325f8bfde40f719b77fdd690180c51889", "Retrying automatically...": "220837f6132382f3e8d4fb676f31aab3dc9fabc34b8f26c2e4ced9b83ebce4ec", + "Return handoff": "1ae47e9a67b5866c28ccd52c2040500610b795d917cc6620a444c170ded79836", + "Return reason": "79f91549d760515b430db20e8f2f0c766e417826dfea15029dca20f6eb9865ac", "Return to an unlocked interactive Windows desktop, restart Ling if needed, then check again.": "bccd46e406f4d428d83a9dd510df581b52e5c28c51da4d357e3e66c21740ee0e", "Return to implementation mode": "36435baabf6c6acc0666fba73f68609f9a41d17389ea216a99f41b5036e8b6ef", + "Returned for repair": "07abb2b9ba19b479a5126883271bb99fa47e239dffb3337fb13bbe2778654158", "Reusable": "8ded2b384940a83eb986da575b9efa40f1b03fd1d626bd91964cbb11502e0b42", "Reuse images already saved in this media project.": "3c3dd902fab18f841a51942e3a4e92a93c8d39ddd8b48ae9ee017982a26fa1c1", "Reuse settings": "17507cf7d05b478d392e9aa85d9c60046c0e2a185959546ac0864a89b95ec744", @@ -5916,6 +5925,7 @@ "Schema, checksums, and package metadata": "d91ffc3c0cdd2c26d37ba9cf60de0a718343a3969303718321092f0367a68808", "Scope": "b073f6c68ef8721107fd9815b19b2c35ec111d526b75c2123d1111ba64424000", "Scope ID": "4a201ef6cbd70a0728fc5c62eb87fd73ac56e470c853a3112ebf27617e49ff76", + "Scope unavailable": "38a32037c55100c3ad97878ca4e361a734a3422fb35bdbaeacebf4babb16cdf3", "Screen capture and input stop. Ling never interacts with the lock screen, login window, password fields, or secure desktop.": "cece9f092190c9e9e4c9d54f7da59256e922a56556c843c4e2b44fb1a67b0c5f", "Screen Recording": "bc3c742893dc7aff9c88fad0aae3f6749a6679a45cbafb0981f0e2ddaed5c49c", "Scripts can contact external services. Only run documents you trust.": "aa3560983d2f6c2656f1a9329fcb9434fa520d6f64bcccf0e6ae91c82ddbb0dd", @@ -7264,6 +7274,7 @@ "Uploading avatar": "995b81efc53e808131bd98d546fb3fa493a44b9b43b752237e590bf5a2e487c8", "Uploading...": "72cb29c90ccd8361ee82d02fabe81a3f01605c7b8fea4c9996fc01d84e3fbb48", "Upstream": "94adc696fd24e9fd67e83ba256a9f33bf1d7191d4a5e38ee8c69597cd89e4777", + "Upstream result unconfirmed": "d345a9ef65cf22ec93d4a7a0457157bcdc8696a90ea8e72690d04b25d7447d94", "Upstream version": "7927b36324919e81ae646c1455b608aadcecdedb285d9985d63d80572c3d5214", "urgent": "f9d37c23fcc0f03c15a86aba71dce01dd0baa7a1568180e60c2347a5863151bc", "URL image edit": "444b0006116b72fd13097e57758caf2edaa14133af89617d79ed238d71f518ff", @@ -7460,6 +7471,7 @@ "Waiting for runner activity...": "d0e7a1fd3763c4062fe8ac59255b9281effe77d2fd1d79f9ae2498e56ac3b96f", "Waiting for runner events...": "dc60b71d9ccb374ef6e53cc9496c05fd15dcd7b4955ec8ae7603cf360af7e85e", "Waiting for sign-in": "749a343a3a25c1df679ee6d6e74abb72e08ef956bfa15434407e61934dc054c9", + "Waiting for source": "8ac1608b4d56ce4dcc84a6d489fb055d7e9281efa150baa1fd5c2be7f2dd220b", "Waiting for system confirmation and Host readback...": "952e73792f0715e2d1f30ef0b0c03c4353cd9ab96caa71856bbce7dc41e2d161", "waiting for user input": "f43ef097687b1d8c8800577eefa3f7e10d0c82236cd0017f983d131e8e673174", "Waiting for votes": "bbb50edc12d1ce791069a8e84ca6e73a255b796306d32cdc1414987b986e172f", @@ -8079,6 +8091,7 @@ "A skill with the same identity already exists.": "Esiste già una competenza con la stessa identità.", "Abstain": "Astenersi", "Accept": "Accettare", + "Accept handoff": "Accetta il trasferimento", "Acceptance": "Accettazione", "Acceptance checks will be clarified before execution.": "Le verifiche di accettazione verranno chiarite prima dell'esecuzione.", "Acceptance criteria": "Criteri di accettazione", @@ -8630,6 +8643,7 @@ "Avatar uploaded": "Avatar caricato", "Avatar, name, and a compact working brief.": "Avatar, nome e un breve brief di lavoro.", "Avoid triggers": "Evita i trigger", + "Awaiting acceptance": "In attesa di accettazione", "Awaiting confirmation": "In attesa di conferma", "Awaiting enable": "In attesa di abilitazione", "Awaiting merge approval": "In attesa di approvazione della fusione", @@ -8819,6 +8833,7 @@ "cancelling": "Annullamento", "Cancelling": "Annullamento", "Candidate approved for draft": "Candidato approvato per la bozza", + "Candidate changed": "Il candidato è cambiato", "Candidate changed since verification": "Il candidato è cambiato dopo la verifica", "Candidate cluster is not bound to a channel.": "Il cluster candidato non è associato a un canale.", "Candidate Clusters": "Cluster di candidati", @@ -9556,6 +9571,7 @@ "Could not start this scene.": "Impossibile avviare questa scena.", "Could not start this workflow test.": "Impossibile avviare questo test del flusso di lavoro.", "Could not switch projects. Showing the last loaded project.": "Impossibile cambiare progetto. Mostra l'ultimo progetto caricato.", + "Could not update handoff": "Impossibile aggiornare il trasferimento", "Could not update the default model. Try again.": "Impossibile aggiornare il modello predefinito. Riprova.", "Council actions": "Azioni del Consiglio", "Council boundaries": "Confini del Consiglio", @@ -11556,6 +11572,7 @@ "minutes": "minuti", "missing": "mancante", "Missing": "Mancante", + "Missing artifact": "Artefatto mancante", "Missing dependency": "Missing dependency", "Missing fields": "Campi mancanti", "Missing key": "Chiave mancante", @@ -13137,6 +13154,7 @@ "Requested URL": "Richiesto URL", "Required": "Necessario", "Required before approving high-risk requests": "Obbligatorio prima di approvare richieste ad alto rischio", + "Required check incomplete": "Controllo richiesto incompleto", "Required checks": "Controlli obbligatori", "Required for assigned teammates": "Obbligatorio per i compagni di squadra assegnati", "Required input": "Ingresso richiesto", @@ -13260,8 +13278,11 @@ "Retry upload": "Riprovare il caricamento", "Retryable": "Riprovabile", "Retrying automatically...": "Nuovo tentativo automatico...", + "Return handoff": "Trasferimento di ritorno", + "Return reason": "Motivo del reso", "Return to an unlocked interactive Windows desktop, restart Ling if needed, then check again.": "Torna a un desktop Windows interattivo sbloccato, riavvia Ling se necessario, quindi ricontrolla.", "Return to implementation mode": "Ritorna alla modalità di implementazione", + "Returned for repair": "Restituito per riparazione", "Reusable": "Riutilizzabile", "Reuse images already saved in this media project.": "Riutilizza le immagini già salvate in questo progetto multimediale.", "Reuse settings": "Riutilizzare le impostazioni", @@ -13652,6 +13673,7 @@ "Schema, checksums, and package metadata": "Schema, checksum e metadati del pacchetto", "Scope": "Ambito", "Scope ID": "Ambito ID", + "Scope unavailable": "Ambito non disponibile", "Screen capture and input stop. Ling never interacts with the lock screen, login window, password fields, or secure desktop.": "Acquisizione dello schermo e arresto dell'input. Ling non interagisce mai con la schermata di blocco, la finestra di accesso, i campi della password o il desktop protetto.", "Screen Recording": "Registrazione dello schermo", "Scripts can contact external services. Only run documents you trust.": "Scripts can contact external services. Only run documents you trust.", @@ -15000,6 +15022,7 @@ "Uploading avatar": "Caricamento dell'avatar", "Uploading...": "Caricamento...", "Upstream": "A monte", + "Upstream result unconfirmed": "Risultato a monte non confermato", "Upstream version": "Versione a monte", "urgent": "urgente", "URL image edit": "URL modifica dell'immagine", @@ -15196,6 +15219,7 @@ "Waiting for runner activity...": "In attesa dell'attività del runner...", "Waiting for runner events...": "In attesa degli eventi runner...", "Waiting for sign-in": "In attesa dell'accesso", + "Waiting for source": "In attesa della fonte", "Waiting for system confirmation and Host readback...": "In attesa della conferma del sistema e della rilettura dell'Host...", "waiting for user input": "in attesa dell'input dell'utente", "Waiting for votes": "In attesa di voti", diff --git a/packages/localization/catalogs/ja-JP.json b/packages/localization/catalogs/ja-JP.json index 94accf47c..fef9743cf 100644 --- a/packages/localization/catalogs/ja-JP.json +++ b/packages/localization/catalogs/ja-JP.json @@ -1,6 +1,6 @@ { "locale": "ja-JP", - "sourceRevision": "e134cc889637523423524b121cf71dcb37afdd3d7daf48eaea975d1c39785b2e", + "sourceRevision": "95b7d5d6546abac9c1f3ec3e54efe7bff99c84252c464896ecb9bf2245f66dfd", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -343,6 +343,7 @@ "A skill with the same identity already exists.": "66dd592d63333b2f2738e59f82a3866d9a6db17154a2cc2a752727f9a40998d1", "Abstain": "bf92ab42d052ce917d87cccce310e4351900347095f57947b3d08c1b1ff8bcf3", "Accept": "89713b9c9c1b8f659c9f49db25e4a47886dd673fee248c3f650391f09a759cef", + "Accept handoff": "13e3dc2abccf1296c34099b2080efb8c78ad82067436ff2039024f22ed8cc2e9", "Acceptance": "f190a5cb3aff17b0ee84f6ee258333d63a9cc71aa66c2e1788ebc3ae24a89b10", "Acceptance checks will be clarified before execution.": "ffd59db22fb4d3abb3c9cc67c351c818e1732dfca2d6cd18ae361a711fa4bb72", "Acceptance criteria": "d47a36f4f055810755db08b8d52e479baa4bb7a7a1f6449f71fa1ad5c20495ef", @@ -894,6 +895,7 @@ "Avatar uploaded": "d0d5a01f3f30fd933994a5950ddae3d14384d2c850c05deb50532b65aa6593ba", "Avatar, name, and a compact working brief.": "8d3706d4928090efbf7eca6683e3357f4f92732bc8be64c50dc8af8620a256c1", "Avoid triggers": "1419db0b6ddbd1f3a1632043da73529ecbcb0aef9183fd7d78e12df2942444de", + "Awaiting acceptance": "1dc7bfd9c54d73f22b4a9bdca5f741d5067a673b7f99d77e85367f6c8f049f85", "Awaiting confirmation": "d0ae0b38eac639b98f6a9b793a7add708bedbc6156963e3abc00453b235b2f3d", "Awaiting enable": "2a6b618d273346e8198806aa0d934a4bd6f5bf8b29d0780076df974ca93bf548", "Awaiting merge approval": "21837cdd561270cefc146079172511177736bb9091e9fb50d93bb072f271ecb0", @@ -1083,6 +1085,7 @@ "cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Candidate approved for draft": "59a57b9b459b3215e76b651f73f6521bc1bd71fa66bb52e046368a559db6632b", + "Candidate changed": "ca07c050cd47ab4f4d2f2fb6c60110b738af5b951a9ab708c36879365ec4532e", "Candidate changed since verification": "a2808e03661077a04403dab2204b7ce8d78310c296600bd03c5766a754f216a6", "Candidate cluster is not bound to a channel.": "6066a4e8725d065a7c2b8d2c8974a60c41c0a94124deeabd972f620ddd815786", "Candidate Clusters": "b617f8ce5325fa8984c324816b08d3a26c05dac3c3276bcc4f4ab7196222dbe4", @@ -1820,6 +1823,7 @@ "Could not start this scene.": "acb6aa181a8b842f1a8fc78344dc210cb98a45ccb6cf38ebd01beb65fe7fa27d", "Could not start this workflow test.": "7fe6f22a12127a9d74069d195a2513038cb2ff035acc4433d41e31006445e46e", "Could not switch projects. Showing the last loaded project.": "1a284203a5fd7f9d39c625017fde0d1c88180e3d2fa62b07aa7c9eb64a2e8aa6", + "Could not update handoff": "b6b7ff312171612e082d24ec92c854155d95fa6177a25cb0ac10f44e2c6110e2", "Could not update the default model. Try again.": "c87a00ab8ffb8c8c60209acf9b5cb10295a2a5e93c3e6f72dd8b2b4c316bdc16", "Council actions": "79763aae8f6334c6e29273106f3509b76114439dd686c9fa32753bca265eee32", "Council boundaries": "b4d6713050d140a9102817793dcb99d64565ee0d33d364b71f5d4d2afd234baf", @@ -3820,6 +3824,7 @@ "minutes": "90e63d85fa1ab2c8ed65222f3ebd794b1e524b4b7cf84bec451542d0451b2985", "missing": "ffa63583dfa6706b87d284b86b0d693a161e4840aad2c5cf6b5d27c3b9621f7d", "Missing": "6be36ca49ee85210c5d1ad9c377d90a9859c66d889110a2a5b0dccd390d12e20", + "Missing artifact": "e936c2df4de783be206107e353054e33ebba1c9988085200c260c7a6b8f8fc73", "Missing dependency": "5915d1e15e283f09695ad4b96ced9625bbd68aab747dc778f37aada0a7489b5c", "Missing fields": "69121d3f63d5a27ab7ce484854c065ce87e7022dc5fdfee9d778ab02515542fc", "Missing key": "0c8a17a63a322df1c40693b8469227cf5426b024673da9065f42c6cbb7c58370", @@ -5401,6 +5406,7 @@ "Requested URL": "8ae37b38fe2e415c8c641c3f2b6e9b42a11245cc8749a51a247cf0464b4c7faf", "Required": "4850b174b713d88cfc63de107830d5388929020e78abc91fc19bba7a6821625f", "Required before approving high-risk requests": "3cb612a5f43f4acbf5a6066a5da559bce858b50cdab2c2f6943bf4a05de1310a", + "Required check incomplete": "f64e6dfd1fc8cd1f2139aadf61c6ef43ecaa2ce783b2c712a56d31a574e05741", "Required checks": "f5a021846bd1a50002c0ea940f30cc97c285a118c62ff95af5c2f538584a7e26", "Required for assigned teammates": "4732aa544a8d93b886e6bcbbcc5c3314af692f8a8a812efd4844cd3589b7b63a", "Required input": "fafaaf99b5a6af521026448890a9dacaf4d47053804a34be7cdf364e13637181", @@ -5524,8 +5530,11 @@ "Retry upload": "731dc6e3f07ab1b090e925be766dd01d8e4aed2f0ad2cef600bf157bd7764500", "Retryable": "c282bd362abaadb6a38a4fdb268df44325f8bfde40f719b77fdd690180c51889", "Retrying automatically...": "220837f6132382f3e8d4fb676f31aab3dc9fabc34b8f26c2e4ced9b83ebce4ec", + "Return handoff": "1ae47e9a67b5866c28ccd52c2040500610b795d917cc6620a444c170ded79836", + "Return reason": "79f91549d760515b430db20e8f2f0c766e417826dfea15029dca20f6eb9865ac", "Return to an unlocked interactive Windows desktop, restart Ling if needed, then check again.": "bccd46e406f4d428d83a9dd510df581b52e5c28c51da4d357e3e66c21740ee0e", "Return to implementation mode": "36435baabf6c6acc0666fba73f68609f9a41d17389ea216a99f41b5036e8b6ef", + "Returned for repair": "07abb2b9ba19b479a5126883271bb99fa47e239dffb3337fb13bbe2778654158", "Reusable": "8ded2b384940a83eb986da575b9efa40f1b03fd1d626bd91964cbb11502e0b42", "Reuse images already saved in this media project.": "3c3dd902fab18f841a51942e3a4e92a93c8d39ddd8b48ae9ee017982a26fa1c1", "Reuse settings": "17507cf7d05b478d392e9aa85d9c60046c0e2a185959546ac0864a89b95ec744", @@ -5916,6 +5925,7 @@ "Schema, checksums, and package metadata": "d91ffc3c0cdd2c26d37ba9cf60de0a718343a3969303718321092f0367a68808", "Scope": "b073f6c68ef8721107fd9815b19b2c35ec111d526b75c2123d1111ba64424000", "Scope ID": "4a201ef6cbd70a0728fc5c62eb87fd73ac56e470c853a3112ebf27617e49ff76", + "Scope unavailable": "38a32037c55100c3ad97878ca4e361a734a3422fb35bdbaeacebf4babb16cdf3", "Screen capture and input stop. Ling never interacts with the lock screen, login window, password fields, or secure desktop.": "cece9f092190c9e9e4c9d54f7da59256e922a56556c843c4e2b44fb1a67b0c5f", "Screen Recording": "bc3c742893dc7aff9c88fad0aae3f6749a6679a45cbafb0981f0e2ddaed5c49c", "Scripts can contact external services. Only run documents you trust.": "aa3560983d2f6c2656f1a9329fcb9434fa520d6f64bcccf0e6ae91c82ddbb0dd", @@ -7264,6 +7274,7 @@ "Uploading avatar": "995b81efc53e808131bd98d546fb3fa493a44b9b43b752237e590bf5a2e487c8", "Uploading...": "72cb29c90ccd8361ee82d02fabe81a3f01605c7b8fea4c9996fc01d84e3fbb48", "Upstream": "94adc696fd24e9fd67e83ba256a9f33bf1d7191d4a5e38ee8c69597cd89e4777", + "Upstream result unconfirmed": "d345a9ef65cf22ec93d4a7a0457157bcdc8696a90ea8e72690d04b25d7447d94", "Upstream version": "7927b36324919e81ae646c1455b608aadcecdedb285d9985d63d80572c3d5214", "urgent": "f9d37c23fcc0f03c15a86aba71dce01dd0baa7a1568180e60c2347a5863151bc", "URL image edit": "444b0006116b72fd13097e57758caf2edaa14133af89617d79ed238d71f518ff", @@ -7460,6 +7471,7 @@ "Waiting for runner activity...": "d0e7a1fd3763c4062fe8ac59255b9281effe77d2fd1d79f9ae2498e56ac3b96f", "Waiting for runner events...": "dc60b71d9ccb374ef6e53cc9496c05fd15dcd7b4955ec8ae7603cf360af7e85e", "Waiting for sign-in": "749a343a3a25c1df679ee6d6e74abb72e08ef956bfa15434407e61934dc054c9", + "Waiting for source": "8ac1608b4d56ce4dcc84a6d489fb055d7e9281efa150baa1fd5c2be7f2dd220b", "Waiting for system confirmation and Host readback...": "952e73792f0715e2d1f30ef0b0c03c4353cd9ab96caa71856bbce7dc41e2d161", "waiting for user input": "f43ef097687b1d8c8800577eefa3f7e10d0c82236cd0017f983d131e8e673174", "Waiting for votes": "bbb50edc12d1ce791069a8e84ca6e73a255b796306d32cdc1414987b986e172f", @@ -8079,6 +8091,7 @@ "A skill with the same identity already exists.": "同じアイデンティティのスキルがすでに存在します。", "Abstain": "棄権する", "Accept": "受け入れる", + "Accept handoff": "ハンドオフを受け入れる", "Acceptance": "承諾", "Acceptance checks will be clarified before execution.": "受け入れチェックは実行前に明確になります。", "Acceptance criteria": "合格基準", @@ -8630,6 +8643,7 @@ "Avatar uploaded": "アバターがアップロードされました", "Avatar, name, and a compact working brief.": "アバター、名前、およびコンパクトな作業概要。", "Avoid triggers": "トリガーを避ける", + "Awaiting acceptance": "受付待ち", "Awaiting confirmation": "確認待ち", "Awaiting enable": "有効化待ち", "Awaiting merge approval": "マージ承認待ち", @@ -8819,6 +8833,7 @@ "cancelling": "キャンセルする", "Cancelling": "キャンセルする", "Candidate approved for draft": "候補者がドラフトに承認されました", + "Candidate changed": "候補者が変更されました", "Candidate changed since verification": "検証後に候補者が変更されました", "Candidate cluster is not bound to a channel.": "候補クラスターはチャネルにバインドされていません。", "Candidate Clusters": "候補クラスター", @@ -9556,6 +9571,7 @@ "Could not start this scene.": "このシーンを開始できませんでした。", "Could not start this workflow test.": "このワークフロー テストを開始できませんでした。", "Could not switch projects. Showing the last loaded project.": "プロジェクトを切り替えることができませんでした。最後にロードされたプロジェクトを表示します。", + "Could not update handoff": "ハンドオフを更新できませんでした", "Could not update the default model. Try again.": "デフォルトのモデルを更新できませんでした。もう一度やり直してください。", "Council actions": "評議会の行動", "Council boundaries": "評議会の境界", @@ -11556,6 +11572,7 @@ "minutes": "分", "missing": "ない", "Missing": "ない", + "Missing artifact": "欠落したアーティファクト", "Missing dependency": "Missing dependency", "Missing fields": "欠落しているフィールド", "Missing key": "鍵がありません", @@ -13137,6 +13154,7 @@ "Requested URL": "リクエスト済み URL", "Required": "必須", "Required before approving high-risk requests": "リスクの高いリクエストを承認する前に必須", + "Required check incomplete": "必須のチェックが完了していません", "Required checks": "必要なチェック", "Required for assigned teammates": "割り当てられたチームメイトに必須", "Required input": "必須入力", @@ -13260,8 +13278,11 @@ "Retry upload": "アップロードを再試行します", "Retryable": "再試行可能", "Retrying automatically...": "自動的に再試行しています...", + "Return handoff": "リターンハンドオフ", + "Return reason": "返品理由", "Return to an unlocked interactive Windows desktop, restart Ling if needed, then check again.": "ロックが解除された対話型 Windows デスクトップに戻り、必要に応じて Ling を再起動し、再度確認します。", "Return to implementation mode": "実装モードに戻る", + "Returned for repair": "修理のために返品されました", "Reusable": "再利用可能", "Reuse images already saved in this media project.": "このメディア プロジェクトに既に保存されている画像を再利用します。", "Reuse settings": "設定を再利用する", @@ -13652,6 +13673,7 @@ "Schema, checksums, and package metadata": "スキーマ、チェックサム、およびパッケージのメタデータ", "Scope": "範囲", "Scope ID": "スコープID", + "Scope unavailable": "スコープが使用できません", "Screen capture and input stop. Ling never interacts with the lock screen, login window, password fields, or secure desktop.": "画面キャプチャと入力が停止します。 Ling は、ロック画面、ログイン ウィンドウ、パスワード フィールド、または安全なデスクトップと対話することはありません。", "Screen Recording": "画面録画", "Scripts can contact external services. Only run documents you trust.": "Scripts can contact external services. Only run documents you trust.", @@ -15000,6 +15022,7 @@ "Uploading avatar": "アバターのアップロード", "Uploading...": "アップロード中...", "Upstream": "上流", + "Upstream result unconfirmed": "上流の結果は未確認", "Upstream version": "上流バージョン", "urgent": "緊急", "URL image edit": "URL 画像編集", @@ -15196,6 +15219,7 @@ "Waiting for runner activity...": "ランナーのアクティビティを待っています...", "Waiting for runner events...": "ランナーイベントを待っています...", "Waiting for sign-in": "サインインを待っています", + "Waiting for source": "ソースを待っています", "Waiting for system confirmation and Host readback...": "システムの確認とホストのリードバックを待っています...", "waiting for user input": "ユーザー入力を待っています", "Waiting for votes": "投票を待っています", diff --git a/packages/localization/catalogs/ka-GE.json b/packages/localization/catalogs/ka-GE.json index cf57c77c5..41cc5c819 100644 --- a/packages/localization/catalogs/ka-GE.json +++ b/packages/localization/catalogs/ka-GE.json @@ -1,6 +1,6 @@ { "locale": "ka-GE", - "sourceRevision": "e134cc889637523423524b121cf71dcb37afdd3d7daf48eaea975d1c39785b2e", + "sourceRevision": "95b7d5d6546abac9c1f3ec3e54efe7bff99c84252c464896ecb9bf2245f66dfd", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -343,6 +343,7 @@ "A skill with the same identity already exists.": "66dd592d63333b2f2738e59f82a3866d9a6db17154a2cc2a752727f9a40998d1", "Abstain": "bf92ab42d052ce917d87cccce310e4351900347095f57947b3d08c1b1ff8bcf3", "Accept": "89713b9c9c1b8f659c9f49db25e4a47886dd673fee248c3f650391f09a759cef", + "Accept handoff": "13e3dc2abccf1296c34099b2080efb8c78ad82067436ff2039024f22ed8cc2e9", "Acceptance": "f190a5cb3aff17b0ee84f6ee258333d63a9cc71aa66c2e1788ebc3ae24a89b10", "Acceptance checks will be clarified before execution.": "ffd59db22fb4d3abb3c9cc67c351c818e1732dfca2d6cd18ae361a711fa4bb72", "Acceptance criteria": "d47a36f4f055810755db08b8d52e479baa4bb7a7a1f6449f71fa1ad5c20495ef", @@ -894,6 +895,7 @@ "Avatar uploaded": "d0d5a01f3f30fd933994a5950ddae3d14384d2c850c05deb50532b65aa6593ba", "Avatar, name, and a compact working brief.": "8d3706d4928090efbf7eca6683e3357f4f92732bc8be64c50dc8af8620a256c1", "Avoid triggers": "1419db0b6ddbd1f3a1632043da73529ecbcb0aef9183fd7d78e12df2942444de", + "Awaiting acceptance": "1dc7bfd9c54d73f22b4a9bdca5f741d5067a673b7f99d77e85367f6c8f049f85", "Awaiting confirmation": "d0ae0b38eac639b98f6a9b793a7add708bedbc6156963e3abc00453b235b2f3d", "Awaiting enable": "2a6b618d273346e8198806aa0d934a4bd6f5bf8b29d0780076df974ca93bf548", "Awaiting merge approval": "21837cdd561270cefc146079172511177736bb9091e9fb50d93bb072f271ecb0", @@ -1083,6 +1085,7 @@ "cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Candidate approved for draft": "59a57b9b459b3215e76b651f73f6521bc1bd71fa66bb52e046368a559db6632b", + "Candidate changed": "ca07c050cd47ab4f4d2f2fb6c60110b738af5b951a9ab708c36879365ec4532e", "Candidate changed since verification": "a2808e03661077a04403dab2204b7ce8d78310c296600bd03c5766a754f216a6", "Candidate cluster is not bound to a channel.": "6066a4e8725d065a7c2b8d2c8974a60c41c0a94124deeabd972f620ddd815786", "Candidate Clusters": "b617f8ce5325fa8984c324816b08d3a26c05dac3c3276bcc4f4ab7196222dbe4", @@ -1820,6 +1823,7 @@ "Could not start this scene.": "acb6aa181a8b842f1a8fc78344dc210cb98a45ccb6cf38ebd01beb65fe7fa27d", "Could not start this workflow test.": "7fe6f22a12127a9d74069d195a2513038cb2ff035acc4433d41e31006445e46e", "Could not switch projects. Showing the last loaded project.": "1a284203a5fd7f9d39c625017fde0d1c88180e3d2fa62b07aa7c9eb64a2e8aa6", + "Could not update handoff": "b6b7ff312171612e082d24ec92c854155d95fa6177a25cb0ac10f44e2c6110e2", "Could not update the default model. Try again.": "c87a00ab8ffb8c8c60209acf9b5cb10295a2a5e93c3e6f72dd8b2b4c316bdc16", "Council actions": "79763aae8f6334c6e29273106f3509b76114439dd686c9fa32753bca265eee32", "Council boundaries": "b4d6713050d140a9102817793dcb99d64565ee0d33d364b71f5d4d2afd234baf", @@ -3820,6 +3824,7 @@ "minutes": "90e63d85fa1ab2c8ed65222f3ebd794b1e524b4b7cf84bec451542d0451b2985", "missing": "ffa63583dfa6706b87d284b86b0d693a161e4840aad2c5cf6b5d27c3b9621f7d", "Missing": "6be36ca49ee85210c5d1ad9c377d90a9859c66d889110a2a5b0dccd390d12e20", + "Missing artifact": "e936c2df4de783be206107e353054e33ebba1c9988085200c260c7a6b8f8fc73", "Missing dependency": "5915d1e15e283f09695ad4b96ced9625bbd68aab747dc778f37aada0a7489b5c", "Missing fields": "69121d3f63d5a27ab7ce484854c065ce87e7022dc5fdfee9d778ab02515542fc", "Missing key": "0c8a17a63a322df1c40693b8469227cf5426b024673da9065f42c6cbb7c58370", @@ -5401,6 +5406,7 @@ "Requested URL": "8ae37b38fe2e415c8c641c3f2b6e9b42a11245cc8749a51a247cf0464b4c7faf", "Required": "4850b174b713d88cfc63de107830d5388929020e78abc91fc19bba7a6821625f", "Required before approving high-risk requests": "3cb612a5f43f4acbf5a6066a5da559bce858b50cdab2c2f6943bf4a05de1310a", + "Required check incomplete": "f64e6dfd1fc8cd1f2139aadf61c6ef43ecaa2ce783b2c712a56d31a574e05741", "Required checks": "f5a021846bd1a50002c0ea940f30cc97c285a118c62ff95af5c2f538584a7e26", "Required for assigned teammates": "4732aa544a8d93b886e6bcbbcc5c3314af692f8a8a812efd4844cd3589b7b63a", "Required input": "fafaaf99b5a6af521026448890a9dacaf4d47053804a34be7cdf364e13637181", @@ -5524,8 +5530,11 @@ "Retry upload": "731dc6e3f07ab1b090e925be766dd01d8e4aed2f0ad2cef600bf157bd7764500", "Retryable": "c282bd362abaadb6a38a4fdb268df44325f8bfde40f719b77fdd690180c51889", "Retrying automatically...": "220837f6132382f3e8d4fb676f31aab3dc9fabc34b8f26c2e4ced9b83ebce4ec", + "Return handoff": "1ae47e9a67b5866c28ccd52c2040500610b795d917cc6620a444c170ded79836", + "Return reason": "79f91549d760515b430db20e8f2f0c766e417826dfea15029dca20f6eb9865ac", "Return to an unlocked interactive Windows desktop, restart Ling if needed, then check again.": "bccd46e406f4d428d83a9dd510df581b52e5c28c51da4d357e3e66c21740ee0e", "Return to implementation mode": "36435baabf6c6acc0666fba73f68609f9a41d17389ea216a99f41b5036e8b6ef", + "Returned for repair": "07abb2b9ba19b479a5126883271bb99fa47e239dffb3337fb13bbe2778654158", "Reusable": "8ded2b384940a83eb986da575b9efa40f1b03fd1d626bd91964cbb11502e0b42", "Reuse images already saved in this media project.": "3c3dd902fab18f841a51942e3a4e92a93c8d39ddd8b48ae9ee017982a26fa1c1", "Reuse settings": "17507cf7d05b478d392e9aa85d9c60046c0e2a185959546ac0864a89b95ec744", @@ -5916,6 +5925,7 @@ "Schema, checksums, and package metadata": "d91ffc3c0cdd2c26d37ba9cf60de0a718343a3969303718321092f0367a68808", "Scope": "b073f6c68ef8721107fd9815b19b2c35ec111d526b75c2123d1111ba64424000", "Scope ID": "4a201ef6cbd70a0728fc5c62eb87fd73ac56e470c853a3112ebf27617e49ff76", + "Scope unavailable": "38a32037c55100c3ad97878ca4e361a734a3422fb35bdbaeacebf4babb16cdf3", "Screen capture and input stop. Ling never interacts with the lock screen, login window, password fields, or secure desktop.": "cece9f092190c9e9e4c9d54f7da59256e922a56556c843c4e2b44fb1a67b0c5f", "Screen Recording": "bc3c742893dc7aff9c88fad0aae3f6749a6679a45cbafb0981f0e2ddaed5c49c", "Scripts can contact external services. Only run documents you trust.": "aa3560983d2f6c2656f1a9329fcb9434fa520d6f64bcccf0e6ae91c82ddbb0dd", @@ -7264,6 +7274,7 @@ "Uploading avatar": "995b81efc53e808131bd98d546fb3fa493a44b9b43b752237e590bf5a2e487c8", "Uploading...": "72cb29c90ccd8361ee82d02fabe81a3f01605c7b8fea4c9996fc01d84e3fbb48", "Upstream": "94adc696fd24e9fd67e83ba256a9f33bf1d7191d4a5e38ee8c69597cd89e4777", + "Upstream result unconfirmed": "d345a9ef65cf22ec93d4a7a0457157bcdc8696a90ea8e72690d04b25d7447d94", "Upstream version": "7927b36324919e81ae646c1455b608aadcecdedb285d9985d63d80572c3d5214", "urgent": "f9d37c23fcc0f03c15a86aba71dce01dd0baa7a1568180e60c2347a5863151bc", "URL image edit": "444b0006116b72fd13097e57758caf2edaa14133af89617d79ed238d71f518ff", @@ -7460,6 +7471,7 @@ "Waiting for runner activity...": "d0e7a1fd3763c4062fe8ac59255b9281effe77d2fd1d79f9ae2498e56ac3b96f", "Waiting for runner events...": "dc60b71d9ccb374ef6e53cc9496c05fd15dcd7b4955ec8ae7603cf360af7e85e", "Waiting for sign-in": "749a343a3a25c1df679ee6d6e74abb72e08ef956bfa15434407e61934dc054c9", + "Waiting for source": "8ac1608b4d56ce4dcc84a6d489fb055d7e9281efa150baa1fd5c2be7f2dd220b", "Waiting for system confirmation and Host readback...": "952e73792f0715e2d1f30ef0b0c03c4353cd9ab96caa71856bbce7dc41e2d161", "waiting for user input": "f43ef097687b1d8c8800577eefa3f7e10d0c82236cd0017f983d131e8e673174", "Waiting for votes": "bbb50edc12d1ce791069a8e84ca6e73a255b796306d32cdc1414987b986e172f", @@ -8079,6 +8091,7 @@ "A skill with the same identity already exists.": "იგივე იდენტობის უნარი უკვე არსებობს.", "Abstain": "თავი შეიკავეთ", "Accept": "მიღება", + "Accept handoff": "მიიღე გადაცემა", "Acceptance": "მიღება", "Acceptance checks will be clarified before execution.": "მიღება-ჩაბარების შემოწმებები დაზუსტდება შესრულებამდე.", "Acceptance criteria": "მიღების კრიტერიუმები", @@ -8630,6 +8643,7 @@ "Avatar uploaded": "ატვირთული ავატარი", "Avatar, name, and a compact working brief.": "ავატარი, სახელი და კომპაქტური სამუშაო ბრიფინგი.", "Avoid triggers": "მოერიდეთ გამომწვევ ფაქტორებს", + "Awaiting acceptance": "მიღებას ელოდება", "Awaiting confirmation": "ელოდება დადასტურებას", "Awaiting enable": "ელოდება ჩართვას", "Awaiting merge approval": "ელოდება გაერთიანების დამტკიცებას", @@ -8819,6 +8833,7 @@ "cancelling": "გაუქმება", "Cancelling": "გაუქმება", "Candidate approved for draft": "კანდიდატი პროექტზე დამტკიცებულია", + "Candidate changed": "კანდიდატი შეიცვალა", "Candidate changed since verification": "კანდიდატი შეიცვალა გადამოწმების შემდეგ", "Candidate cluster is not bound to a channel.": "კანდიდატთა კლასტერი არ არის მიბმული არხთან.", "Candidate Clusters": "კანდიდატთა კლასტერები", @@ -9556,6 +9571,7 @@ "Could not start this scene.": "ამ სცენის დაწყება ვერ მოხერხდა.", "Could not start this workflow test.": "ამ სამუშაო პროცესის ტესტის დაწყება ვერ მოხერხდა.", "Could not switch projects. Showing the last loaded project.": "პროექტების გადართვა ვერ მოხერხდა. ბოლო ჩატვირთული პროექტის ჩვენება.", + "Could not update handoff": "გადაცემის განახლება ვერ მოხერხდა", "Could not update the default model. Try again.": "ნაგულისხმევი მოდელის განახლება ვერ მოხერხდა. სცადეთ ხელახლა.", "Council actions": "საბჭოს ქმედებები", "Council boundaries": "საბჭოს საზღვრები", @@ -11556,6 +11572,7 @@ "minutes": "წუთები", "missing": "დაკარგული", "Missing": "დაკარგული", + "Missing artifact": "არტეფაქტი აკლია", "Missing dependency": "Missing dependency", "Missing fields": "ველები აკლია", "Missing key": "გასაღები აკლია", @@ -13137,6 +13154,7 @@ "Requested URL": "მოითხოვა URL", "Required": "საჭირო", "Required before approving high-risk requests": "საჭიროა მაღალი რისკის მოთხოვნების დამტკიცებამდე", + "Required check incomplete": "საჭირო შემოწმება არასრულია", "Required checks": "საჭირო შემოწმებები", "Required for assigned teammates": "საჭიროა დანიშნული თანაგუნდელებისთვის", "Required input": "საჭირო შეყვანა", @@ -13260,8 +13278,11 @@ "Retry upload": "ხელახლა სცადეთ ატვირთვა", "Retryable": "ხელახალი ცდა", "Retrying automatically...": "ავტომატურად ცდა...", + "Return handoff": "დაბრუნების გადაცემა", + "Return reason": "დაბრუნების მიზეზი", "Return to an unlocked interactive Windows desktop, restart Ling if needed, then check again.": "დაბრუნდით განბლოკილ ინტერაქტიულ Windows დესკტოპზე, საჭიროების შემთხვევაში გადატვირთეთ Ling, შემდეგ კვლავ შეამოწმეთ.", "Return to implementation mode": "დაბრუნდით განხორციელების რეჟიმში", + "Returned for repair": "დაბრუნდა სარემონტოდ", "Reusable": "მრავალჯერადი გამოყენებადი", "Reuse images already saved in this media project.": "ამ მედიაპროექტში უკვე შენახული სურათების ხელახლა გამოყენება.", "Reuse settings": "ხელახლა გამოიყენეთ პარამეტრები", @@ -13652,6 +13673,7 @@ "Schema, checksums, and package metadata": "სქემა, გამშვები ჯამები და პაკეტის მეტამონაცემები", "Scope": "ფარგლები", "Scope ID": "ფარგლები ID", + "Scope unavailable": "ფარგლები მიუწვდომელია", "Screen capture and input stop. Ling never interacts with the lock screen, login window, password fields, or secure desktop.": "ეკრანის გადაღება და შეყვანის გაჩერება. Ling არასოდეს ურთიერთობს დაბლოკვის ეკრანთან, შესვლის ფანჯარასთან, პაროლის ველებთან ან უსაფრთხო სამუშაო მაგიდასთან.", "Screen Recording": "ეკრანის ჩაწერა", "Scripts can contact external services. Only run documents you trust.": "Scripts can contact external services. Only run documents you trust.", @@ -15000,6 +15022,7 @@ "Uploading avatar": "მიმდინარეობს ავატარის ატვირთვა", "Uploading...": "მიმდინარეობს ატვირთვა...", "Upstream": "დინების ზემოთ", + "Upstream result unconfirmed": "ზემოთ ნაკადის შედეგი დაუდასტურებელია", "Upstream version": "Upstream ვერსია", "urgent": "სასწრაფო", "URL image edit": "URL სურათის რედაქტირება", @@ -15196,6 +15219,7 @@ "Waiting for runner activity...": "მორბენალი აქტივობის მოლოდინში...", "Waiting for runner events...": "მორბენალი მოვლენების მოლოდინში...", "Waiting for sign-in": "ელოდება შესვლას", + "Waiting for source": "ველოდები წყაროს", "Waiting for system confirmation and Host readback...": "ელოდება სისტემის დადასტურებას და ჰოსტის კითხვას...", "waiting for user input": "მომხმარებლის შეყვანის მოლოდინში", "Waiting for votes": "ველოდებით ხმებს", diff --git a/packages/localization/catalogs/kn-IN.json b/packages/localization/catalogs/kn-IN.json index e3c3b7d49..a588c6db4 100644 --- a/packages/localization/catalogs/kn-IN.json +++ b/packages/localization/catalogs/kn-IN.json @@ -1,6 +1,6 @@ { "locale": "kn-IN", - "sourceRevision": "e134cc889637523423524b121cf71dcb37afdd3d7daf48eaea975d1c39785b2e", + "sourceRevision": "95b7d5d6546abac9c1f3ec3e54efe7bff99c84252c464896ecb9bf2245f66dfd", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -343,6 +343,7 @@ "A skill with the same identity already exists.": "66dd592d63333b2f2738e59f82a3866d9a6db17154a2cc2a752727f9a40998d1", "Abstain": "bf92ab42d052ce917d87cccce310e4351900347095f57947b3d08c1b1ff8bcf3", "Accept": "89713b9c9c1b8f659c9f49db25e4a47886dd673fee248c3f650391f09a759cef", + "Accept handoff": "13e3dc2abccf1296c34099b2080efb8c78ad82067436ff2039024f22ed8cc2e9", "Acceptance": "f190a5cb3aff17b0ee84f6ee258333d63a9cc71aa66c2e1788ebc3ae24a89b10", "Acceptance checks will be clarified before execution.": "ffd59db22fb4d3abb3c9cc67c351c818e1732dfca2d6cd18ae361a711fa4bb72", "Acceptance criteria": "d47a36f4f055810755db08b8d52e479baa4bb7a7a1f6449f71fa1ad5c20495ef", @@ -894,6 +895,7 @@ "Avatar uploaded": "d0d5a01f3f30fd933994a5950ddae3d14384d2c850c05deb50532b65aa6593ba", "Avatar, name, and a compact working brief.": "8d3706d4928090efbf7eca6683e3357f4f92732bc8be64c50dc8af8620a256c1", "Avoid triggers": "1419db0b6ddbd1f3a1632043da73529ecbcb0aef9183fd7d78e12df2942444de", + "Awaiting acceptance": "1dc7bfd9c54d73f22b4a9bdca5f741d5067a673b7f99d77e85367f6c8f049f85", "Awaiting confirmation": "d0ae0b38eac639b98f6a9b793a7add708bedbc6156963e3abc00453b235b2f3d", "Awaiting enable": "2a6b618d273346e8198806aa0d934a4bd6f5bf8b29d0780076df974ca93bf548", "Awaiting merge approval": "21837cdd561270cefc146079172511177736bb9091e9fb50d93bb072f271ecb0", @@ -1083,6 +1085,7 @@ "cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Candidate approved for draft": "59a57b9b459b3215e76b651f73f6521bc1bd71fa66bb52e046368a559db6632b", + "Candidate changed": "ca07c050cd47ab4f4d2f2fb6c60110b738af5b951a9ab708c36879365ec4532e", "Candidate changed since verification": "a2808e03661077a04403dab2204b7ce8d78310c296600bd03c5766a754f216a6", "Candidate cluster is not bound to a channel.": "6066a4e8725d065a7c2b8d2c8974a60c41c0a94124deeabd972f620ddd815786", "Candidate Clusters": "b617f8ce5325fa8984c324816b08d3a26c05dac3c3276bcc4f4ab7196222dbe4", @@ -1820,6 +1823,7 @@ "Could not start this scene.": "acb6aa181a8b842f1a8fc78344dc210cb98a45ccb6cf38ebd01beb65fe7fa27d", "Could not start this workflow test.": "7fe6f22a12127a9d74069d195a2513038cb2ff035acc4433d41e31006445e46e", "Could not switch projects. Showing the last loaded project.": "1a284203a5fd7f9d39c625017fde0d1c88180e3d2fa62b07aa7c9eb64a2e8aa6", + "Could not update handoff": "b6b7ff312171612e082d24ec92c854155d95fa6177a25cb0ac10f44e2c6110e2", "Could not update the default model. Try again.": "c87a00ab8ffb8c8c60209acf9b5cb10295a2a5e93c3e6f72dd8b2b4c316bdc16", "Council actions": "79763aae8f6334c6e29273106f3509b76114439dd686c9fa32753bca265eee32", "Council boundaries": "b4d6713050d140a9102817793dcb99d64565ee0d33d364b71f5d4d2afd234baf", @@ -3820,6 +3824,7 @@ "minutes": "90e63d85fa1ab2c8ed65222f3ebd794b1e524b4b7cf84bec451542d0451b2985", "missing": "ffa63583dfa6706b87d284b86b0d693a161e4840aad2c5cf6b5d27c3b9621f7d", "Missing": "6be36ca49ee85210c5d1ad9c377d90a9859c66d889110a2a5b0dccd390d12e20", + "Missing artifact": "e936c2df4de783be206107e353054e33ebba1c9988085200c260c7a6b8f8fc73", "Missing dependency": "5915d1e15e283f09695ad4b96ced9625bbd68aab747dc778f37aada0a7489b5c", "Missing fields": "69121d3f63d5a27ab7ce484854c065ce87e7022dc5fdfee9d778ab02515542fc", "Missing key": "0c8a17a63a322df1c40693b8469227cf5426b024673da9065f42c6cbb7c58370", @@ -5401,6 +5406,7 @@ "Requested URL": "8ae37b38fe2e415c8c641c3f2b6e9b42a11245cc8749a51a247cf0464b4c7faf", "Required": "4850b174b713d88cfc63de107830d5388929020e78abc91fc19bba7a6821625f", "Required before approving high-risk requests": "3cb612a5f43f4acbf5a6066a5da559bce858b50cdab2c2f6943bf4a05de1310a", + "Required check incomplete": "f64e6dfd1fc8cd1f2139aadf61c6ef43ecaa2ce783b2c712a56d31a574e05741", "Required checks": "f5a021846bd1a50002c0ea940f30cc97c285a118c62ff95af5c2f538584a7e26", "Required for assigned teammates": "4732aa544a8d93b886e6bcbbcc5c3314af692f8a8a812efd4844cd3589b7b63a", "Required input": "fafaaf99b5a6af521026448890a9dacaf4d47053804a34be7cdf364e13637181", @@ -5524,8 +5530,11 @@ "Retry upload": "731dc6e3f07ab1b090e925be766dd01d8e4aed2f0ad2cef600bf157bd7764500", "Retryable": "c282bd362abaadb6a38a4fdb268df44325f8bfde40f719b77fdd690180c51889", "Retrying automatically...": "220837f6132382f3e8d4fb676f31aab3dc9fabc34b8f26c2e4ced9b83ebce4ec", + "Return handoff": "1ae47e9a67b5866c28ccd52c2040500610b795d917cc6620a444c170ded79836", + "Return reason": "79f91549d760515b430db20e8f2f0c766e417826dfea15029dca20f6eb9865ac", "Return to an unlocked interactive Windows desktop, restart Ling if needed, then check again.": "bccd46e406f4d428d83a9dd510df581b52e5c28c51da4d357e3e66c21740ee0e", "Return to implementation mode": "36435baabf6c6acc0666fba73f68609f9a41d17389ea216a99f41b5036e8b6ef", + "Returned for repair": "07abb2b9ba19b479a5126883271bb99fa47e239dffb3337fb13bbe2778654158", "Reusable": "8ded2b384940a83eb986da575b9efa40f1b03fd1d626bd91964cbb11502e0b42", "Reuse images already saved in this media project.": "3c3dd902fab18f841a51942e3a4e92a93c8d39ddd8b48ae9ee017982a26fa1c1", "Reuse settings": "17507cf7d05b478d392e9aa85d9c60046c0e2a185959546ac0864a89b95ec744", @@ -5916,6 +5925,7 @@ "Schema, checksums, and package metadata": "d91ffc3c0cdd2c26d37ba9cf60de0a718343a3969303718321092f0367a68808", "Scope": "b073f6c68ef8721107fd9815b19b2c35ec111d526b75c2123d1111ba64424000", "Scope ID": "4a201ef6cbd70a0728fc5c62eb87fd73ac56e470c853a3112ebf27617e49ff76", + "Scope unavailable": "38a32037c55100c3ad97878ca4e361a734a3422fb35bdbaeacebf4babb16cdf3", "Screen capture and input stop. Ling never interacts with the lock screen, login window, password fields, or secure desktop.": "cece9f092190c9e9e4c9d54f7da59256e922a56556c843c4e2b44fb1a67b0c5f", "Screen Recording": "bc3c742893dc7aff9c88fad0aae3f6749a6679a45cbafb0981f0e2ddaed5c49c", "Scripts can contact external services. Only run documents you trust.": "aa3560983d2f6c2656f1a9329fcb9434fa520d6f64bcccf0e6ae91c82ddbb0dd", @@ -7264,6 +7274,7 @@ "Uploading avatar": "995b81efc53e808131bd98d546fb3fa493a44b9b43b752237e590bf5a2e487c8", "Uploading...": "72cb29c90ccd8361ee82d02fabe81a3f01605c7b8fea4c9996fc01d84e3fbb48", "Upstream": "94adc696fd24e9fd67e83ba256a9f33bf1d7191d4a5e38ee8c69597cd89e4777", + "Upstream result unconfirmed": "d345a9ef65cf22ec93d4a7a0457157bcdc8696a90ea8e72690d04b25d7447d94", "Upstream version": "7927b36324919e81ae646c1455b608aadcecdedb285d9985d63d80572c3d5214", "urgent": "f9d37c23fcc0f03c15a86aba71dce01dd0baa7a1568180e60c2347a5863151bc", "URL image edit": "444b0006116b72fd13097e57758caf2edaa14133af89617d79ed238d71f518ff", @@ -7460,6 +7471,7 @@ "Waiting for runner activity...": "d0e7a1fd3763c4062fe8ac59255b9281effe77d2fd1d79f9ae2498e56ac3b96f", "Waiting for runner events...": "dc60b71d9ccb374ef6e53cc9496c05fd15dcd7b4955ec8ae7603cf360af7e85e", "Waiting for sign-in": "749a343a3a25c1df679ee6d6e74abb72e08ef956bfa15434407e61934dc054c9", + "Waiting for source": "8ac1608b4d56ce4dcc84a6d489fb055d7e9281efa150baa1fd5c2be7f2dd220b", "Waiting for system confirmation and Host readback...": "952e73792f0715e2d1f30ef0b0c03c4353cd9ab96caa71856bbce7dc41e2d161", "waiting for user input": "f43ef097687b1d8c8800577eefa3f7e10d0c82236cd0017f983d131e8e673174", "Waiting for votes": "bbb50edc12d1ce791069a8e84ca6e73a255b796306d32cdc1414987b986e172f", @@ -8079,6 +8091,7 @@ "A skill with the same identity already exists.": "ಅದೇ ಗುರುತನ್ನು ಹೊಂದಿರುವ ಕೌಶಲ್ಯವು ಈಗಾಗಲೇ ಅಸ್ತಿತ್ವದಲ್ಲಿದೆ.", "Abstain": "ದೂರವಿರಿ", "Accept": "ಸ್ವೀಕರಿಸಿ", + "Accept handoff": "ಹಸ್ತಾಂತರವನ್ನು ಸ್ವೀಕರಿಸಿ", "Acceptance": "ಸ್ವೀಕಾರ", "Acceptance checks will be clarified before execution.": "ಕಾರ್ಯಗತಗೊಳಿಸುವ ಮೊದಲು ಸ್ವೀಕಾರ ಪರಿಶೀಲನೆಗಳನ್ನು ಸ್ಪಷ್ಟಪಡಿಸಲಾಗುತ್ತದೆ.", "Acceptance criteria": "ಸ್ವೀಕಾರ ಮಾನದಂಡಗಳು", @@ -8630,6 +8643,7 @@ "Avatar uploaded": "ಅವತಾರ್ ಅಪ್‌ಲೋಡ್ ಮಾಡಲಾಗಿದೆ", "Avatar, name, and a compact working brief.": "ಅವತಾರ, ಹೆಸರು ಮತ್ತು ಕಾಂಪ್ಯಾಕ್ಟ್ ವರ್ಕಿಂಗ್ ಬ್ರೀಫ್.", "Avoid triggers": "ಪ್ರಚೋದಕಗಳನ್ನು ತಪ್ಪಿಸಿ", + "Awaiting acceptance": "ಸ್ವೀಕಾರಕ್ಕಾಗಿ ಕಾಯಲಾಗುತ್ತಿದೆ", "Awaiting confirmation": "ದೃಢೀಕರಣಕ್ಕಾಗಿ ಕಾಯಲಾಗುತ್ತಿದೆ", "Awaiting enable": "ಸಕ್ರಿಯಗೊಳಿಸಲು ನಿರೀಕ್ಷಿಸಲಾಗುತ್ತಿದೆ", "Awaiting merge approval": "ವಿಲೀನದ ಅನುಮೋದನೆಗಾಗಿ ನಿರೀಕ್ಷಿಸಲಾಗುತ್ತಿದೆ", @@ -8819,6 +8833,7 @@ "cancelling": "ರದ್ದುಗೊಳಿಸಲಾಗುತ್ತಿದೆ", "Cancelling": "ರದ್ದುಗೊಳಿಸಲಾಗುತ್ತಿದೆ", "Candidate approved for draft": "ಡ್ರಾಫ್ಟ್‌ಗೆ ಅಭ್ಯರ್ಥಿಯನ್ನು ಅನುಮೋದಿಸಲಾಗಿದೆ", + "Candidate changed": "ಅಭ್ಯರ್ಥಿ ಬದಲಾಗಿದ್ದಾರೆ", "Candidate changed since verification": "ಪರಿಶೀಲನೆಯಿಂದ ಅಭ್ಯರ್ಥಿ ಬದಲಾಗಿದ್ದಾರೆ", "Candidate cluster is not bound to a channel.": "ಅಭ್ಯರ್ಥಿ ಕ್ಲಸ್ಟರ್ ಚಾನಲ್‌ಗೆ ಬದ್ಧವಾಗಿಲ್ಲ.", "Candidate Clusters": "ಅಭ್ಯರ್ಥಿಗಳ ಸಮೂಹಗಳು", @@ -9556,6 +9571,7 @@ "Could not start this scene.": "ಈ ದೃಶ್ಯವನ್ನು ಪ್ರಾರಂಭಿಸಲು ಸಾಧ್ಯವಾಗಲಿಲ್ಲ.", "Could not start this workflow test.": "ಈ ವರ್ಕ್‌ಫ್ಲೋ ಪರೀಕ್ಷೆಯನ್ನು ಪ್ರಾರಂಭಿಸಲು ಸಾಧ್ಯವಾಗಲಿಲ್ಲ.", "Could not switch projects. Showing the last loaded project.": "ಯೋಜನೆಗಳನ್ನು ಬದಲಾಯಿಸಲು ಸಾಧ್ಯವಾಗಲಿಲ್ಲ. ಕೊನೆಯದಾಗಿ ಲೋಡ್ ಮಾಡಲಾದ ಯೋಜನೆಯನ್ನು ತೋರಿಸಲಾಗುತ್ತಿದೆ.", + "Could not update handoff": "ಹ್ಯಾಂಡ್‌ಆಫ್ ಅನ್ನು ನವೀಕರಿಸಲು ಸಾಧ್ಯವಾಗಲಿಲ್ಲ", "Could not update the default model. Try again.": "ಡೀಫಾಲ್ಟ್ ಮಾದರಿಯನ್ನು ನವೀಕರಿಸಲು ಸಾಧ್ಯವಾಗಲಿಲ್ಲ. ಮತ್ತೆ ಪ್ರಯತ್ನಿಸಿ.", "Council actions": "ಕೌನ್ಸಿಲ್ ಕ್ರಮಗಳು", "Council boundaries": "ಕೌನ್ಸಿಲ್ ಗಡಿಗಳು", @@ -11556,6 +11572,7 @@ "minutes": "ನಿಮಿಷಗಳು", "missing": "ಕಾಣೆಯಾಗಿದೆ", "Missing": "ಕಾಣೆಯಾಗಿದೆ", + "Missing artifact": "ಕಲಾಕೃತಿ ಕಾಣೆಯಾಗಿದೆ", "Missing dependency": "Missing dependency", "Missing fields": "ಜಾಗ ಕಾಣೆಯಾಗಿದೆ", "Missing key": "ಕೀ ಕಾಣೆಯಾಗಿದೆ", @@ -13137,6 +13154,7 @@ "Requested URL": "ವಿನಂತಿಸಲಾಗಿದೆ URL", "Required": "ಅಗತ್ಯವಿದೆ", "Required before approving high-risk requests": "ಹೆಚ್ಚಿನ ಅಪಾಯದ ವಿನಂತಿಗಳನ್ನು ಅನುಮೋದಿಸುವ ಮೊದಲು ಅಗತ್ಯವಿದೆ", + "Required check incomplete": "ಅಗತ್ಯವಿರುವ ಚೆಕ್ ಅಪೂರ್ಣ", "Required checks": "ಅಗತ್ಯವಿರುವ ತಪಾಸಣೆಗಳು", "Required for assigned teammates": "ನಿಯೋಜಿತ ತಂಡದ ಸದಸ್ಯರಿಗೆ ಅಗತ್ಯವಿದೆ", "Required input": "ಅಗತ್ಯವಿರುವ ಇನ್ಪುಟ್", @@ -13260,8 +13278,11 @@ "Retry upload": "ಅಪ್‌ಲೋಡ್ ಮಾಡಲು ಮರುಪ್ರಯತ್ನಿಸಿ", "Retryable": "ಮರುಪ್ರಯತ್ನಿಸಬಹುದಾದ", "Retrying automatically...": "ಸ್ವಯಂಚಾಲಿತವಾಗಿ ಮರುಪ್ರಯತ್ನಿಸಲಾಗುತ್ತಿದೆ...", + "Return handoff": "ರಿಟರ್ನ್ ಹ್ಯಾಂಡ್ಆಫ್", + "Return reason": "ಹಿಂತಿರುಗಲು ಕಾರಣ", "Return to an unlocked interactive Windows desktop, restart Ling if needed, then check again.": "ಅನ್‌ಲಾಕ್ ಮಾಡಲಾದ ಸಂವಾದಾತ್ಮಕ ವಿಂಡೋಸ್ ಡೆಸ್ಕ್‌ಟಾಪ್‌ಗೆ ಹಿಂತಿರುಗಿ, ಅಗತ್ಯವಿದ್ದರೆ Ling ಅನ್ನು ಮರುಪ್ರಾರಂಭಿಸಿ, ನಂತರ ಮತ್ತೊಮ್ಮೆ ಪರಿಶೀಲಿಸಿ.", "Return to implementation mode": "ಅನುಷ್ಠಾನ ಕ್ರಮಕ್ಕೆ ಹಿಂತಿರುಗಿ", + "Returned for repair": "ದುರಸ್ತಿಗಾಗಿ ಹಿಂತಿರುಗಿದೆ", "Reusable": "ಮರುಬಳಕೆ ಮಾಡಬಹುದಾದ", "Reuse images already saved in this media project.": "ಈ ಮಾಧ್ಯಮ ಯೋಜನೆಯಲ್ಲಿ ಈಗಾಗಲೇ ಉಳಿಸಲಾದ ಚಿತ್ರಗಳನ್ನು ಮರುಬಳಕೆ ಮಾಡಿ.", "Reuse settings": "ಸೆಟ್ಟಿಂಗ್‌ಗಳನ್ನು ಮರುಬಳಕೆ ಮಾಡಿ", @@ -13652,6 +13673,7 @@ "Schema, checksums, and package metadata": "ಸ್ಕೀಮಾ, ಚೆಕ್‌ಸಮ್‌ಗಳು ಮತ್ತು ಪ್ಯಾಕೇಜ್ ಮೆಟಾಡೇಟಾ", "Scope": "ವ್ಯಾಪ್ತಿ", "Scope ID": "ವ್ಯಾಪ್ತಿ ID", + "Scope unavailable": "ವ್ಯಾಪ್ತಿ ಲಭ್ಯವಿಲ್ಲ", "Screen capture and input stop. Ling never interacts with the lock screen, login window, password fields, or secure desktop.": "ಸ್ಕ್ರೀನ್ ಕ್ಯಾಪ್ಚರ್ ಮತ್ತು ಇನ್‌ಪುಟ್ ಸ್ಟಾಪ್. Ling ಲಾಕ್ ಸ್ಕ್ರೀನ್, ಲಾಗಿನ್ ವಿಂಡೋ, ಪಾಸ್‌ವರ್ಡ್ ಕ್ಷೇತ್ರಗಳು ಅಥವಾ ಸುರಕ್ಷಿತ ಡೆಸ್ಕ್‌ಟಾಪ್‌ನೊಂದಿಗೆ ಎಂದಿಗೂ ಸಂವಹನ ನಡೆಸುವುದಿಲ್ಲ.", "Screen Recording": "ಸ್ಕ್ರೀನ್ ರೆಕಾರ್ಡಿಂಗ್", "Scripts can contact external services. Only run documents you trust.": "Scripts can contact external services. Only run documents you trust.", @@ -15000,6 +15022,7 @@ "Uploading avatar": "ಅವತಾರವನ್ನು ಅಪ್‌ಲೋಡ್ ಮಾಡಲಾಗುತ್ತಿದೆ", "Uploading...": "ಅಪ್‌ಲೋಡ್ ಮಾಡಲಾಗುತ್ತಿದೆ...", "Upstream": "ಅಪ್ಸ್ಟ್ರೀಮ್", + "Upstream result unconfirmed": "ಅಪ್‌ಸ್ಟ್ರೀಮ್ ಫಲಿತಾಂಶವನ್ನು ದೃಢೀಕರಿಸಲಾಗಿಲ್ಲ", "Upstream version": "ಅಪ್‌ಸ್ಟ್ರೀಮ್ ಆವೃತ್ತಿ", "urgent": "ತುರ್ತು", "URL image edit": "URL ಚಿತ್ರ ಸಂಪಾದನೆ", @@ -15196,6 +15219,7 @@ "Waiting for runner activity...": "ರನ್ನರ್ ಚಟುವಟಿಕೆಗಾಗಿ ನಿರೀಕ್ಷಿಸಲಾಗುತ್ತಿದೆ...", "Waiting for runner events...": "ರನ್ನರ್ ಈವೆಂಟ್‌ಗಳಿಗಾಗಿ ನಿರೀಕ್ಷಿಸಲಾಗುತ್ತಿದೆ...", "Waiting for sign-in": "ಸೈನ್-ಇನ್‌ಗಾಗಿ ನಿರೀಕ್ಷಿಸಲಾಗುತ್ತಿದೆ", + "Waiting for source": "ಮೂಲಕ್ಕಾಗಿ ಕಾಯಲಾಗುತ್ತಿದೆ", "Waiting for system confirmation and Host readback...": "ಸಿಸ್ಟಂ ದೃಢೀಕರಣ ಮತ್ತು ಹೋಸ್ಟ್ ರೀಡ್‌ಬ್ಯಾಕ್‌ಗಾಗಿ ನಿರೀಕ್ಷಿಸಲಾಗುತ್ತಿದೆ...", "waiting for user input": "ಬಳಕೆದಾರರ ಇನ್‌ಪುಟ್‌ಗಾಗಿ ಕಾಯುತ್ತಿದೆ", "Waiting for votes": "ಮತಕ್ಕಾಗಿ ಕಾಯುತ್ತಿದ್ದಾರೆ", diff --git a/packages/localization/catalogs/ko-KR.json b/packages/localization/catalogs/ko-KR.json index c712953a0..a51dba6c1 100644 --- a/packages/localization/catalogs/ko-KR.json +++ b/packages/localization/catalogs/ko-KR.json @@ -1,6 +1,6 @@ { "locale": "ko-KR", - "sourceRevision": "e134cc889637523423524b121cf71dcb37afdd3d7daf48eaea975d1c39785b2e", + "sourceRevision": "95b7d5d6546abac9c1f3ec3e54efe7bff99c84252c464896ecb9bf2245f66dfd", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -343,6 +343,7 @@ "A skill with the same identity already exists.": "66dd592d63333b2f2738e59f82a3866d9a6db17154a2cc2a752727f9a40998d1", "Abstain": "bf92ab42d052ce917d87cccce310e4351900347095f57947b3d08c1b1ff8bcf3", "Accept": "89713b9c9c1b8f659c9f49db25e4a47886dd673fee248c3f650391f09a759cef", + "Accept handoff": "13e3dc2abccf1296c34099b2080efb8c78ad82067436ff2039024f22ed8cc2e9", "Acceptance": "f190a5cb3aff17b0ee84f6ee258333d63a9cc71aa66c2e1788ebc3ae24a89b10", "Acceptance checks will be clarified before execution.": "ffd59db22fb4d3abb3c9cc67c351c818e1732dfca2d6cd18ae361a711fa4bb72", "Acceptance criteria": "d47a36f4f055810755db08b8d52e479baa4bb7a7a1f6449f71fa1ad5c20495ef", @@ -894,6 +895,7 @@ "Avatar uploaded": "d0d5a01f3f30fd933994a5950ddae3d14384d2c850c05deb50532b65aa6593ba", "Avatar, name, and a compact working brief.": "8d3706d4928090efbf7eca6683e3357f4f92732bc8be64c50dc8af8620a256c1", "Avoid triggers": "1419db0b6ddbd1f3a1632043da73529ecbcb0aef9183fd7d78e12df2942444de", + "Awaiting acceptance": "1dc7bfd9c54d73f22b4a9bdca5f741d5067a673b7f99d77e85367f6c8f049f85", "Awaiting confirmation": "d0ae0b38eac639b98f6a9b793a7add708bedbc6156963e3abc00453b235b2f3d", "Awaiting enable": "2a6b618d273346e8198806aa0d934a4bd6f5bf8b29d0780076df974ca93bf548", "Awaiting merge approval": "21837cdd561270cefc146079172511177736bb9091e9fb50d93bb072f271ecb0", @@ -1083,6 +1085,7 @@ "cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Candidate approved for draft": "59a57b9b459b3215e76b651f73f6521bc1bd71fa66bb52e046368a559db6632b", + "Candidate changed": "ca07c050cd47ab4f4d2f2fb6c60110b738af5b951a9ab708c36879365ec4532e", "Candidate changed since verification": "a2808e03661077a04403dab2204b7ce8d78310c296600bd03c5766a754f216a6", "Candidate cluster is not bound to a channel.": "6066a4e8725d065a7c2b8d2c8974a60c41c0a94124deeabd972f620ddd815786", "Candidate Clusters": "b617f8ce5325fa8984c324816b08d3a26c05dac3c3276bcc4f4ab7196222dbe4", @@ -1820,6 +1823,7 @@ "Could not start this scene.": "acb6aa181a8b842f1a8fc78344dc210cb98a45ccb6cf38ebd01beb65fe7fa27d", "Could not start this workflow test.": "7fe6f22a12127a9d74069d195a2513038cb2ff035acc4433d41e31006445e46e", "Could not switch projects. Showing the last loaded project.": "1a284203a5fd7f9d39c625017fde0d1c88180e3d2fa62b07aa7c9eb64a2e8aa6", + "Could not update handoff": "b6b7ff312171612e082d24ec92c854155d95fa6177a25cb0ac10f44e2c6110e2", "Could not update the default model. Try again.": "c87a00ab8ffb8c8c60209acf9b5cb10295a2a5e93c3e6f72dd8b2b4c316bdc16", "Council actions": "79763aae8f6334c6e29273106f3509b76114439dd686c9fa32753bca265eee32", "Council boundaries": "b4d6713050d140a9102817793dcb99d64565ee0d33d364b71f5d4d2afd234baf", @@ -3820,6 +3824,7 @@ "minutes": "90e63d85fa1ab2c8ed65222f3ebd794b1e524b4b7cf84bec451542d0451b2985", "missing": "ffa63583dfa6706b87d284b86b0d693a161e4840aad2c5cf6b5d27c3b9621f7d", "Missing": "6be36ca49ee85210c5d1ad9c377d90a9859c66d889110a2a5b0dccd390d12e20", + "Missing artifact": "e936c2df4de783be206107e353054e33ebba1c9988085200c260c7a6b8f8fc73", "Missing dependency": "5915d1e15e283f09695ad4b96ced9625bbd68aab747dc778f37aada0a7489b5c", "Missing fields": "69121d3f63d5a27ab7ce484854c065ce87e7022dc5fdfee9d778ab02515542fc", "Missing key": "0c8a17a63a322df1c40693b8469227cf5426b024673da9065f42c6cbb7c58370", @@ -5401,6 +5406,7 @@ "Requested URL": "8ae37b38fe2e415c8c641c3f2b6e9b42a11245cc8749a51a247cf0464b4c7faf", "Required": "4850b174b713d88cfc63de107830d5388929020e78abc91fc19bba7a6821625f", "Required before approving high-risk requests": "3cb612a5f43f4acbf5a6066a5da559bce858b50cdab2c2f6943bf4a05de1310a", + "Required check incomplete": "f64e6dfd1fc8cd1f2139aadf61c6ef43ecaa2ce783b2c712a56d31a574e05741", "Required checks": "f5a021846bd1a50002c0ea940f30cc97c285a118c62ff95af5c2f538584a7e26", "Required for assigned teammates": "4732aa544a8d93b886e6bcbbcc5c3314af692f8a8a812efd4844cd3589b7b63a", "Required input": "fafaaf99b5a6af521026448890a9dacaf4d47053804a34be7cdf364e13637181", @@ -5524,8 +5530,11 @@ "Retry upload": "731dc6e3f07ab1b090e925be766dd01d8e4aed2f0ad2cef600bf157bd7764500", "Retryable": "c282bd362abaadb6a38a4fdb268df44325f8bfde40f719b77fdd690180c51889", "Retrying automatically...": "220837f6132382f3e8d4fb676f31aab3dc9fabc34b8f26c2e4ced9b83ebce4ec", + "Return handoff": "1ae47e9a67b5866c28ccd52c2040500610b795d917cc6620a444c170ded79836", + "Return reason": "79f91549d760515b430db20e8f2f0c766e417826dfea15029dca20f6eb9865ac", "Return to an unlocked interactive Windows desktop, restart Ling if needed, then check again.": "bccd46e406f4d428d83a9dd510df581b52e5c28c51da4d357e3e66c21740ee0e", "Return to implementation mode": "36435baabf6c6acc0666fba73f68609f9a41d17389ea216a99f41b5036e8b6ef", + "Returned for repair": "07abb2b9ba19b479a5126883271bb99fa47e239dffb3337fb13bbe2778654158", "Reusable": "8ded2b384940a83eb986da575b9efa40f1b03fd1d626bd91964cbb11502e0b42", "Reuse images already saved in this media project.": "3c3dd902fab18f841a51942e3a4e92a93c8d39ddd8b48ae9ee017982a26fa1c1", "Reuse settings": "17507cf7d05b478d392e9aa85d9c60046c0e2a185959546ac0864a89b95ec744", @@ -5916,6 +5925,7 @@ "Schema, checksums, and package metadata": "d91ffc3c0cdd2c26d37ba9cf60de0a718343a3969303718321092f0367a68808", "Scope": "b073f6c68ef8721107fd9815b19b2c35ec111d526b75c2123d1111ba64424000", "Scope ID": "4a201ef6cbd70a0728fc5c62eb87fd73ac56e470c853a3112ebf27617e49ff76", + "Scope unavailable": "38a32037c55100c3ad97878ca4e361a734a3422fb35bdbaeacebf4babb16cdf3", "Screen capture and input stop. Ling never interacts with the lock screen, login window, password fields, or secure desktop.": "cece9f092190c9e9e4c9d54f7da59256e922a56556c843c4e2b44fb1a67b0c5f", "Screen Recording": "bc3c742893dc7aff9c88fad0aae3f6749a6679a45cbafb0981f0e2ddaed5c49c", "Scripts can contact external services. Only run documents you trust.": "aa3560983d2f6c2656f1a9329fcb9434fa520d6f64bcccf0e6ae91c82ddbb0dd", @@ -7264,6 +7274,7 @@ "Uploading avatar": "995b81efc53e808131bd98d546fb3fa493a44b9b43b752237e590bf5a2e487c8", "Uploading...": "72cb29c90ccd8361ee82d02fabe81a3f01605c7b8fea4c9996fc01d84e3fbb48", "Upstream": "94adc696fd24e9fd67e83ba256a9f33bf1d7191d4a5e38ee8c69597cd89e4777", + "Upstream result unconfirmed": "d345a9ef65cf22ec93d4a7a0457157bcdc8696a90ea8e72690d04b25d7447d94", "Upstream version": "7927b36324919e81ae646c1455b608aadcecdedb285d9985d63d80572c3d5214", "urgent": "f9d37c23fcc0f03c15a86aba71dce01dd0baa7a1568180e60c2347a5863151bc", "URL image edit": "444b0006116b72fd13097e57758caf2edaa14133af89617d79ed238d71f518ff", @@ -7460,6 +7471,7 @@ "Waiting for runner activity...": "d0e7a1fd3763c4062fe8ac59255b9281effe77d2fd1d79f9ae2498e56ac3b96f", "Waiting for runner events...": "dc60b71d9ccb374ef6e53cc9496c05fd15dcd7b4955ec8ae7603cf360af7e85e", "Waiting for sign-in": "749a343a3a25c1df679ee6d6e74abb72e08ef956bfa15434407e61934dc054c9", + "Waiting for source": "8ac1608b4d56ce4dcc84a6d489fb055d7e9281efa150baa1fd5c2be7f2dd220b", "Waiting for system confirmation and Host readback...": "952e73792f0715e2d1f30ef0b0c03c4353cd9ab96caa71856bbce7dc41e2d161", "waiting for user input": "f43ef097687b1d8c8800577eefa3f7e10d0c82236cd0017f983d131e8e673174", "Waiting for votes": "bbb50edc12d1ce791069a8e84ca6e73a255b796306d32cdc1414987b986e172f", @@ -8079,6 +8091,7 @@ "A skill with the same identity already exists.": "동일한 ID를 가진 스킬이 이미 존재합니다.", "Abstain": "기권", "Accept": "수용하다", + "Accept handoff": "핸드오프 수락", "Acceptance": "수락", "Acceptance checks will be clarified before execution.": "실행 전에 승인 확인이 명확해집니다.", "Acceptance criteria": "합격 기준", @@ -8630,6 +8643,7 @@ "Avatar uploaded": "아바타 업로드됨", "Avatar, name, and a compact working brief.": "아바타, 이름, 간략한 작업 브리핑입니다.", "Avoid triggers": "트리거 방지", + "Awaiting acceptance": "수락을 기다리는 중", "Awaiting confirmation": "확인 대기 중", "Awaiting enable": "활성화 대기 중", "Awaiting merge approval": "병합 승인 대기 중", @@ -8819,6 +8833,7 @@ "cancelling": "취소 중", "Cancelling": "취소 중", "Candidate approved for draft": "초안 승인 후보자", + "Candidate changed": "후보자가 변경됨", "Candidate changed since verification": "검증 이후 후보자가 변경됨", "Candidate cluster is not bound to a channel.": "후보 클러스터가 채널에 바인딩되어 있지 않습니다.", "Candidate Clusters": "후보 클러스터", @@ -9556,6 +9571,7 @@ "Could not start this scene.": "이 장면을 시작할 수 없습니다.", "Could not start this workflow test.": "이 워크플로 테스트를 시작할 수 없습니다.", "Could not switch projects. Showing the last loaded project.": "프로젝트를 전환할 수 없습니다. 마지막으로 로드된 프로젝트를 표시합니다.", + "Could not update handoff": "핸드오프를 업데이트할 수 없습니다.", "Could not update the default model. Try again.": "기본 모델을 업데이트할 수 없습니다. 다시 시도해 보세요.", "Council actions": "협의회 조치", "Council boundaries": "의회 경계", @@ -11556,6 +11572,7 @@ "minutes": "분", "missing": "없어진", "Missing": "없어진", + "Missing artifact": "누락된 유물", "Missing dependency": "Missing dependency", "Missing fields": "누락된 필드", "Missing key": "키 누락", @@ -13137,6 +13154,7 @@ "Requested URL": "URL를 요청했습니다.", "Required": "필수의", "Required before approving high-risk requests": "고위험 요청을 승인하기 전에 필요합니다.", + "Required check incomplete": "필수 확인이 완료되지 않았습니다.", "Required checks": "필수 점검 사항", "Required for assigned teammates": "할당된 팀원에게 필수", "Required input": "필수 입력", @@ -13260,8 +13278,11 @@ "Retry upload": "업로드 재시도", "Retryable": "재시도 가능", "Retrying automatically...": "자동으로 다시 시도하는 중...", + "Return handoff": "반환 핸드오프", + "Return reason": "반품 사유", "Return to an unlocked interactive Windows desktop, restart Ling if needed, then check again.": "잠금 해제된 대화형 Windows 데스크탑으로 돌아가서 필요한 경우 Ling를 다시 시작한 다음 다시 확인하십시오.", "Return to implementation mode": "구현 모드로 돌아가기", + "Returned for repair": "수리를 위해 반품됨", "Reusable": "재사용 가능", "Reuse images already saved in this media project.": "이 미디어 프로젝트에 이미 저장된 이미지를 재사용하세요.", "Reuse settings": "설정 재사용", @@ -13652,6 +13673,7 @@ "Schema, checksums, and package metadata": "스키마, 체크섬, 패키지 메타데이터", "Scope": "범위", "Scope ID": "스코프 ID", + "Scope unavailable": "범위를 사용할 수 없음", "Screen capture and input stop. Ling never interacts with the lock screen, login window, password fields, or secure desktop.": "화면 캡처 및 입력이 중지됩니다. Ling는 잠금 화면, 로그인 창, 비밀번호 필드 또는 보안 데스크톱과 상호 작용하지 않습니다.", "Screen Recording": "화면 녹화", "Scripts can contact external services. Only run documents you trust.": "Scripts can contact external services. Only run documents you trust.", @@ -15000,6 +15022,7 @@ "Uploading avatar": "아바타 업로드 중", "Uploading...": "업로드 중...", "Upstream": "업스트림", + "Upstream result unconfirmed": "업스트림 결과가 확인되지 않음", "Upstream version": "업스트림 버전", "urgent": "긴급한", "URL image edit": "URL 이미지 편집", @@ -15196,6 +15219,7 @@ "Waiting for runner activity...": "러너 활동을 기다리는 중...", "Waiting for runner events...": "러너 이벤트를 기다리는 중...", "Waiting for sign-in": "로그인을 기다리는 중", + "Waiting for source": "소스를 기다리는 중", "Waiting for system confirmation and Host readback...": "시스템 확인 및 호스트 다시 읽기를 기다리는 중...", "waiting for user input": "사용자 입력을 기다리는 중", "Waiting for votes": "투표를 기다리고 있습니다", diff --git a/packages/localization/catalogs/lv-LV.json b/packages/localization/catalogs/lv-LV.json index 472fcc786..6c00da315 100644 --- a/packages/localization/catalogs/lv-LV.json +++ b/packages/localization/catalogs/lv-LV.json @@ -1,6 +1,6 @@ { "locale": "lv-LV", - "sourceRevision": "e134cc889637523423524b121cf71dcb37afdd3d7daf48eaea975d1c39785b2e", + "sourceRevision": "95b7d5d6546abac9c1f3ec3e54efe7bff99c84252c464896ecb9bf2245f66dfd", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -343,6 +343,7 @@ "A skill with the same identity already exists.": "66dd592d63333b2f2738e59f82a3866d9a6db17154a2cc2a752727f9a40998d1", "Abstain": "bf92ab42d052ce917d87cccce310e4351900347095f57947b3d08c1b1ff8bcf3", "Accept": "89713b9c9c1b8f659c9f49db25e4a47886dd673fee248c3f650391f09a759cef", + "Accept handoff": "13e3dc2abccf1296c34099b2080efb8c78ad82067436ff2039024f22ed8cc2e9", "Acceptance": "f190a5cb3aff17b0ee84f6ee258333d63a9cc71aa66c2e1788ebc3ae24a89b10", "Acceptance checks will be clarified before execution.": "ffd59db22fb4d3abb3c9cc67c351c818e1732dfca2d6cd18ae361a711fa4bb72", "Acceptance criteria": "d47a36f4f055810755db08b8d52e479baa4bb7a7a1f6449f71fa1ad5c20495ef", @@ -894,6 +895,7 @@ "Avatar uploaded": "d0d5a01f3f30fd933994a5950ddae3d14384d2c850c05deb50532b65aa6593ba", "Avatar, name, and a compact working brief.": "8d3706d4928090efbf7eca6683e3357f4f92732bc8be64c50dc8af8620a256c1", "Avoid triggers": "1419db0b6ddbd1f3a1632043da73529ecbcb0aef9183fd7d78e12df2942444de", + "Awaiting acceptance": "1dc7bfd9c54d73f22b4a9bdca5f741d5067a673b7f99d77e85367f6c8f049f85", "Awaiting confirmation": "d0ae0b38eac639b98f6a9b793a7add708bedbc6156963e3abc00453b235b2f3d", "Awaiting enable": "2a6b618d273346e8198806aa0d934a4bd6f5bf8b29d0780076df974ca93bf548", "Awaiting merge approval": "21837cdd561270cefc146079172511177736bb9091e9fb50d93bb072f271ecb0", @@ -1083,6 +1085,7 @@ "cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Candidate approved for draft": "59a57b9b459b3215e76b651f73f6521bc1bd71fa66bb52e046368a559db6632b", + "Candidate changed": "ca07c050cd47ab4f4d2f2fb6c60110b738af5b951a9ab708c36879365ec4532e", "Candidate changed since verification": "a2808e03661077a04403dab2204b7ce8d78310c296600bd03c5766a754f216a6", "Candidate cluster is not bound to a channel.": "6066a4e8725d065a7c2b8d2c8974a60c41c0a94124deeabd972f620ddd815786", "Candidate Clusters": "b617f8ce5325fa8984c324816b08d3a26c05dac3c3276bcc4f4ab7196222dbe4", @@ -1820,6 +1823,7 @@ "Could not start this scene.": "acb6aa181a8b842f1a8fc78344dc210cb98a45ccb6cf38ebd01beb65fe7fa27d", "Could not start this workflow test.": "7fe6f22a12127a9d74069d195a2513038cb2ff035acc4433d41e31006445e46e", "Could not switch projects. Showing the last loaded project.": "1a284203a5fd7f9d39c625017fde0d1c88180e3d2fa62b07aa7c9eb64a2e8aa6", + "Could not update handoff": "b6b7ff312171612e082d24ec92c854155d95fa6177a25cb0ac10f44e2c6110e2", "Could not update the default model. Try again.": "c87a00ab8ffb8c8c60209acf9b5cb10295a2a5e93c3e6f72dd8b2b4c316bdc16", "Council actions": "79763aae8f6334c6e29273106f3509b76114439dd686c9fa32753bca265eee32", "Council boundaries": "b4d6713050d140a9102817793dcb99d64565ee0d33d364b71f5d4d2afd234baf", @@ -3820,6 +3824,7 @@ "minutes": "90e63d85fa1ab2c8ed65222f3ebd794b1e524b4b7cf84bec451542d0451b2985", "missing": "ffa63583dfa6706b87d284b86b0d693a161e4840aad2c5cf6b5d27c3b9621f7d", "Missing": "6be36ca49ee85210c5d1ad9c377d90a9859c66d889110a2a5b0dccd390d12e20", + "Missing artifact": "e936c2df4de783be206107e353054e33ebba1c9988085200c260c7a6b8f8fc73", "Missing dependency": "5915d1e15e283f09695ad4b96ced9625bbd68aab747dc778f37aada0a7489b5c", "Missing fields": "69121d3f63d5a27ab7ce484854c065ce87e7022dc5fdfee9d778ab02515542fc", "Missing key": "0c8a17a63a322df1c40693b8469227cf5426b024673da9065f42c6cbb7c58370", @@ -5401,6 +5406,7 @@ "Requested URL": "8ae37b38fe2e415c8c641c3f2b6e9b42a11245cc8749a51a247cf0464b4c7faf", "Required": "4850b174b713d88cfc63de107830d5388929020e78abc91fc19bba7a6821625f", "Required before approving high-risk requests": "3cb612a5f43f4acbf5a6066a5da559bce858b50cdab2c2f6943bf4a05de1310a", + "Required check incomplete": "f64e6dfd1fc8cd1f2139aadf61c6ef43ecaa2ce783b2c712a56d31a574e05741", "Required checks": "f5a021846bd1a50002c0ea940f30cc97c285a118c62ff95af5c2f538584a7e26", "Required for assigned teammates": "4732aa544a8d93b886e6bcbbcc5c3314af692f8a8a812efd4844cd3589b7b63a", "Required input": "fafaaf99b5a6af521026448890a9dacaf4d47053804a34be7cdf364e13637181", @@ -5524,8 +5530,11 @@ "Retry upload": "731dc6e3f07ab1b090e925be766dd01d8e4aed2f0ad2cef600bf157bd7764500", "Retryable": "c282bd362abaadb6a38a4fdb268df44325f8bfde40f719b77fdd690180c51889", "Retrying automatically...": "220837f6132382f3e8d4fb676f31aab3dc9fabc34b8f26c2e4ced9b83ebce4ec", + "Return handoff": "1ae47e9a67b5866c28ccd52c2040500610b795d917cc6620a444c170ded79836", + "Return reason": "79f91549d760515b430db20e8f2f0c766e417826dfea15029dca20f6eb9865ac", "Return to an unlocked interactive Windows desktop, restart Ling if needed, then check again.": "bccd46e406f4d428d83a9dd510df581b52e5c28c51da4d357e3e66c21740ee0e", "Return to implementation mode": "36435baabf6c6acc0666fba73f68609f9a41d17389ea216a99f41b5036e8b6ef", + "Returned for repair": "07abb2b9ba19b479a5126883271bb99fa47e239dffb3337fb13bbe2778654158", "Reusable": "8ded2b384940a83eb986da575b9efa40f1b03fd1d626bd91964cbb11502e0b42", "Reuse images already saved in this media project.": "3c3dd902fab18f841a51942e3a4e92a93c8d39ddd8b48ae9ee017982a26fa1c1", "Reuse settings": "17507cf7d05b478d392e9aa85d9c60046c0e2a185959546ac0864a89b95ec744", @@ -5916,6 +5925,7 @@ "Schema, checksums, and package metadata": "d91ffc3c0cdd2c26d37ba9cf60de0a718343a3969303718321092f0367a68808", "Scope": "b073f6c68ef8721107fd9815b19b2c35ec111d526b75c2123d1111ba64424000", "Scope ID": "4a201ef6cbd70a0728fc5c62eb87fd73ac56e470c853a3112ebf27617e49ff76", + "Scope unavailable": "38a32037c55100c3ad97878ca4e361a734a3422fb35bdbaeacebf4babb16cdf3", "Screen capture and input stop. Ling never interacts with the lock screen, login window, password fields, or secure desktop.": "cece9f092190c9e9e4c9d54f7da59256e922a56556c843c4e2b44fb1a67b0c5f", "Screen Recording": "bc3c742893dc7aff9c88fad0aae3f6749a6679a45cbafb0981f0e2ddaed5c49c", "Scripts can contact external services. Only run documents you trust.": "aa3560983d2f6c2656f1a9329fcb9434fa520d6f64bcccf0e6ae91c82ddbb0dd", @@ -7264,6 +7274,7 @@ "Uploading avatar": "995b81efc53e808131bd98d546fb3fa493a44b9b43b752237e590bf5a2e487c8", "Uploading...": "72cb29c90ccd8361ee82d02fabe81a3f01605c7b8fea4c9996fc01d84e3fbb48", "Upstream": "94adc696fd24e9fd67e83ba256a9f33bf1d7191d4a5e38ee8c69597cd89e4777", + "Upstream result unconfirmed": "d345a9ef65cf22ec93d4a7a0457157bcdc8696a90ea8e72690d04b25d7447d94", "Upstream version": "7927b36324919e81ae646c1455b608aadcecdedb285d9985d63d80572c3d5214", "urgent": "f9d37c23fcc0f03c15a86aba71dce01dd0baa7a1568180e60c2347a5863151bc", "URL image edit": "444b0006116b72fd13097e57758caf2edaa14133af89617d79ed238d71f518ff", @@ -7460,6 +7471,7 @@ "Waiting for runner activity...": "d0e7a1fd3763c4062fe8ac59255b9281effe77d2fd1d79f9ae2498e56ac3b96f", "Waiting for runner events...": "dc60b71d9ccb374ef6e53cc9496c05fd15dcd7b4955ec8ae7603cf360af7e85e", "Waiting for sign-in": "749a343a3a25c1df679ee6d6e74abb72e08ef956bfa15434407e61934dc054c9", + "Waiting for source": "8ac1608b4d56ce4dcc84a6d489fb055d7e9281efa150baa1fd5c2be7f2dd220b", "Waiting for system confirmation and Host readback...": "952e73792f0715e2d1f30ef0b0c03c4353cd9ab96caa71856bbce7dc41e2d161", "waiting for user input": "f43ef097687b1d8c8800577eefa3f7e10d0c82236cd0017f983d131e8e673174", "Waiting for votes": "bbb50edc12d1ce791069a8e84ca6e73a255b796306d32cdc1414987b986e172f", @@ -8079,6 +8091,7 @@ "A skill with the same identity already exists.": "Prasme ar tādu pašu identitāti jau pastāv.", "Abstain": "Atturēties", "Accept": "Pieņemt", + "Accept handoff": "Pieņemt nodošanu", "Acceptance": "Pieņemšana", "Acceptance checks will be clarified before execution.": "Pieņemšanas pārbaudes tiks noskaidrotas pirms izpildes.", "Acceptance criteria": "Pieņemšanas kritēriji", @@ -8630,6 +8643,7 @@ "Avatar uploaded": "Iemiesojums ir augšupielādēts", "Avatar, name, and a compact working brief.": "Iemiesojums, vārds un kompakts darba īss apraksts.", "Avoid triggers": "Izvairieties no trigeriem", + "Awaiting acceptance": "Gaida pieņemšanu", "Awaiting confirmation": "Gaida apstiprinājumu", "Awaiting enable": "Gaida iespējošanu", "Awaiting merge approval": "Gaida apvienošanas apstiprinājumu", @@ -8819,6 +8833,7 @@ "cancelling": "Notiek atcelšana", "Cancelling": "Notiek atcelšana", "Candidate approved for draft": "Kandidāts apstiprināts projektam", + "Candidate changed": "Kandidāts mainīts", "Candidate changed since verification": "Kandidāts ir mainīts kopš verifikācijas", "Candidate cluster is not bound to a channel.": "Kandidātu kopa nav saistīta ar kanālu.", "Candidate Clusters": "Kandidātu kopas", @@ -9556,6 +9571,7 @@ "Could not start this scene.": "Nevarēja sākt šo ainu.", "Could not start this workflow test.": "Nevarēja sākt šo darbplūsmas pārbaudi.", "Could not switch projects. Showing the last loaded project.": "Nevarēja pārslēgt projektus. Tiek rādīts pēdējais ielādētais projekts.", + "Could not update handoff": "Nevarēja atjaunināt nodošanu", "Could not update the default model. Try again.": "Nevarēja atjaunināt noklusējuma modeli. Mēģiniet vēlreiz.", "Council actions": "Padomes darbības", "Council boundaries": "Padomes robežas", @@ -11556,6 +11572,7 @@ "minutes": "minūtes", "missing": "trūkst", "Missing": "Trūkst", + "Missing artifact": "Trūkst artefakta", "Missing dependency": "Missing dependency", "Missing fields": "Trūkst lauku", "Missing key": "Trūkst atslēgas", @@ -13137,6 +13154,7 @@ "Requested URL": "Pieprasīts URL", "Required": "Obligāti", "Required before approving high-risk requests": "Nepieciešams pirms augsta riska pieprasījumu apstiprināšanas", + "Required check incomplete": "Nepieciešamā pārbaude nav pabeigta", "Required checks": "Nepieciešamās pārbaudes", "Required for assigned teammates": "Nepieciešams norīkotajiem komandas biedriem", "Required input": "Nepieciešamā ievade", @@ -13260,8 +13278,11 @@ "Retry upload": "Mēģiniet augšupielādēt vēlreiz", "Retryable": "Var mēģināt atkārtoti", "Retrying automatically...": "Automātiski mēģina vēlreiz...", + "Return handoff": "Atgriezties nodošana", + "Return reason": "Atgriešanās iemesls", "Return to an unlocked interactive Windows desktop, restart Ling if needed, then check again.": "Atgriezieties uz atbloķētu interaktīvo Windows darbvirsmu, restartējiet Ling, ja nepieciešams, un pēc tam pārbaudiet vēlreiz.", "Return to implementation mode": "Atgriezties uz ieviešanas režīmu", + "Returned for repair": "Atgriezts remontam", "Reusable": "Atkārtoti lietojams", "Reuse images already saved in this media project.": "Atkārtoti izmantojiet šajā multivides projektā jau saglabātos attēlus.", "Reuse settings": "Iestatījumu atkārtota izmantošana", @@ -13652,6 +13673,7 @@ "Schema, checksums, and package metadata": "Shēma, kontrolsummas un pakotnes metadati", "Scope": "Darbības joma", "Scope ID": "Darbības joma ID", + "Scope unavailable": "Tvērums nav pieejams", "Screen capture and input stop. Ling never interacts with the lock screen, login window, password fields, or secure desktop.": "Ekrāna uztveršana un ievades apturēšana. Ling nekad nedarbojas ar bloķēšanas ekrānu, pieteikšanās logu, paroles laukiem vai drošu darbvirsmu.", "Screen Recording": "Ekrāna ierakstīšana", "Scripts can contact external services. Only run documents you trust.": "Scripts can contact external services. Only run documents you trust.", @@ -15000,6 +15022,7 @@ "Uploading avatar": "Notiek iemiesojuma augšupielāde", "Uploading...": "Notiek augšupielāde...", "Upstream": "Augštecē", + "Upstream result unconfirmed": "Augšpuses rezultāts nav apstiprināts", "Upstream version": "Augšējā versija", "urgent": "steidzami", "URL image edit": "URL attēla rediģēšana", @@ -15196,6 +15219,7 @@ "Waiting for runner activity...": "Gaida skrējēja aktivitāti...", "Waiting for runner events...": "Gaidām skrējēju pasākumus...", "Waiting for sign-in": "Gaida pierakstīšanos", + "Waiting for source": "Gaida avotu", "Waiting for system confirmation and Host readback...": "Gaida sistēmas apstiprinājumu un resursdatora lasīšanu...", "waiting for user input": "gaida lietotāja ievadi", "Waiting for votes": "Gaidām balsis", diff --git a/packages/localization/catalogs/mk-MK.json b/packages/localization/catalogs/mk-MK.json index 0bc1a3f52..d392f7e06 100644 --- a/packages/localization/catalogs/mk-MK.json +++ b/packages/localization/catalogs/mk-MK.json @@ -1,6 +1,6 @@ { "locale": "mk-MK", - "sourceRevision": "e134cc889637523423524b121cf71dcb37afdd3d7daf48eaea975d1c39785b2e", + "sourceRevision": "95b7d5d6546abac9c1f3ec3e54efe7bff99c84252c464896ecb9bf2245f66dfd", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -343,6 +343,7 @@ "A skill with the same identity already exists.": "66dd592d63333b2f2738e59f82a3866d9a6db17154a2cc2a752727f9a40998d1", "Abstain": "bf92ab42d052ce917d87cccce310e4351900347095f57947b3d08c1b1ff8bcf3", "Accept": "89713b9c9c1b8f659c9f49db25e4a47886dd673fee248c3f650391f09a759cef", + "Accept handoff": "13e3dc2abccf1296c34099b2080efb8c78ad82067436ff2039024f22ed8cc2e9", "Acceptance": "f190a5cb3aff17b0ee84f6ee258333d63a9cc71aa66c2e1788ebc3ae24a89b10", "Acceptance checks will be clarified before execution.": "ffd59db22fb4d3abb3c9cc67c351c818e1732dfca2d6cd18ae361a711fa4bb72", "Acceptance criteria": "d47a36f4f055810755db08b8d52e479baa4bb7a7a1f6449f71fa1ad5c20495ef", @@ -894,6 +895,7 @@ "Avatar uploaded": "d0d5a01f3f30fd933994a5950ddae3d14384d2c850c05deb50532b65aa6593ba", "Avatar, name, and a compact working brief.": "8d3706d4928090efbf7eca6683e3357f4f92732bc8be64c50dc8af8620a256c1", "Avoid triggers": "1419db0b6ddbd1f3a1632043da73529ecbcb0aef9183fd7d78e12df2942444de", + "Awaiting acceptance": "1dc7bfd9c54d73f22b4a9bdca5f741d5067a673b7f99d77e85367f6c8f049f85", "Awaiting confirmation": "d0ae0b38eac639b98f6a9b793a7add708bedbc6156963e3abc00453b235b2f3d", "Awaiting enable": "2a6b618d273346e8198806aa0d934a4bd6f5bf8b29d0780076df974ca93bf548", "Awaiting merge approval": "21837cdd561270cefc146079172511177736bb9091e9fb50d93bb072f271ecb0", @@ -1083,6 +1085,7 @@ "cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Candidate approved for draft": "59a57b9b459b3215e76b651f73f6521bc1bd71fa66bb52e046368a559db6632b", + "Candidate changed": "ca07c050cd47ab4f4d2f2fb6c60110b738af5b951a9ab708c36879365ec4532e", "Candidate changed since verification": "a2808e03661077a04403dab2204b7ce8d78310c296600bd03c5766a754f216a6", "Candidate cluster is not bound to a channel.": "6066a4e8725d065a7c2b8d2c8974a60c41c0a94124deeabd972f620ddd815786", "Candidate Clusters": "b617f8ce5325fa8984c324816b08d3a26c05dac3c3276bcc4f4ab7196222dbe4", @@ -1820,6 +1823,7 @@ "Could not start this scene.": "acb6aa181a8b842f1a8fc78344dc210cb98a45ccb6cf38ebd01beb65fe7fa27d", "Could not start this workflow test.": "7fe6f22a12127a9d74069d195a2513038cb2ff035acc4433d41e31006445e46e", "Could not switch projects. Showing the last loaded project.": "1a284203a5fd7f9d39c625017fde0d1c88180e3d2fa62b07aa7c9eb64a2e8aa6", + "Could not update handoff": "b6b7ff312171612e082d24ec92c854155d95fa6177a25cb0ac10f44e2c6110e2", "Could not update the default model. Try again.": "c87a00ab8ffb8c8c60209acf9b5cb10295a2a5e93c3e6f72dd8b2b4c316bdc16", "Council actions": "79763aae8f6334c6e29273106f3509b76114439dd686c9fa32753bca265eee32", "Council boundaries": "b4d6713050d140a9102817793dcb99d64565ee0d33d364b71f5d4d2afd234baf", @@ -3820,6 +3824,7 @@ "minutes": "90e63d85fa1ab2c8ed65222f3ebd794b1e524b4b7cf84bec451542d0451b2985", "missing": "ffa63583dfa6706b87d284b86b0d693a161e4840aad2c5cf6b5d27c3b9621f7d", "Missing": "6be36ca49ee85210c5d1ad9c377d90a9859c66d889110a2a5b0dccd390d12e20", + "Missing artifact": "e936c2df4de783be206107e353054e33ebba1c9988085200c260c7a6b8f8fc73", "Missing dependency": "5915d1e15e283f09695ad4b96ced9625bbd68aab747dc778f37aada0a7489b5c", "Missing fields": "69121d3f63d5a27ab7ce484854c065ce87e7022dc5fdfee9d778ab02515542fc", "Missing key": "0c8a17a63a322df1c40693b8469227cf5426b024673da9065f42c6cbb7c58370", @@ -5401,6 +5406,7 @@ "Requested URL": "8ae37b38fe2e415c8c641c3f2b6e9b42a11245cc8749a51a247cf0464b4c7faf", "Required": "4850b174b713d88cfc63de107830d5388929020e78abc91fc19bba7a6821625f", "Required before approving high-risk requests": "3cb612a5f43f4acbf5a6066a5da559bce858b50cdab2c2f6943bf4a05de1310a", + "Required check incomplete": "f64e6dfd1fc8cd1f2139aadf61c6ef43ecaa2ce783b2c712a56d31a574e05741", "Required checks": "f5a021846bd1a50002c0ea940f30cc97c285a118c62ff95af5c2f538584a7e26", "Required for assigned teammates": "4732aa544a8d93b886e6bcbbcc5c3314af692f8a8a812efd4844cd3589b7b63a", "Required input": "fafaaf99b5a6af521026448890a9dacaf4d47053804a34be7cdf364e13637181", @@ -5524,8 +5530,11 @@ "Retry upload": "731dc6e3f07ab1b090e925be766dd01d8e4aed2f0ad2cef600bf157bd7764500", "Retryable": "c282bd362abaadb6a38a4fdb268df44325f8bfde40f719b77fdd690180c51889", "Retrying automatically...": "220837f6132382f3e8d4fb676f31aab3dc9fabc34b8f26c2e4ced9b83ebce4ec", + "Return handoff": "1ae47e9a67b5866c28ccd52c2040500610b795d917cc6620a444c170ded79836", + "Return reason": "79f91549d760515b430db20e8f2f0c766e417826dfea15029dca20f6eb9865ac", "Return to an unlocked interactive Windows desktop, restart Ling if needed, then check again.": "bccd46e406f4d428d83a9dd510df581b52e5c28c51da4d357e3e66c21740ee0e", "Return to implementation mode": "36435baabf6c6acc0666fba73f68609f9a41d17389ea216a99f41b5036e8b6ef", + "Returned for repair": "07abb2b9ba19b479a5126883271bb99fa47e239dffb3337fb13bbe2778654158", "Reusable": "8ded2b384940a83eb986da575b9efa40f1b03fd1d626bd91964cbb11502e0b42", "Reuse images already saved in this media project.": "3c3dd902fab18f841a51942e3a4e92a93c8d39ddd8b48ae9ee017982a26fa1c1", "Reuse settings": "17507cf7d05b478d392e9aa85d9c60046c0e2a185959546ac0864a89b95ec744", @@ -5916,6 +5925,7 @@ "Schema, checksums, and package metadata": "d91ffc3c0cdd2c26d37ba9cf60de0a718343a3969303718321092f0367a68808", "Scope": "b073f6c68ef8721107fd9815b19b2c35ec111d526b75c2123d1111ba64424000", "Scope ID": "4a201ef6cbd70a0728fc5c62eb87fd73ac56e470c853a3112ebf27617e49ff76", + "Scope unavailable": "38a32037c55100c3ad97878ca4e361a734a3422fb35bdbaeacebf4babb16cdf3", "Screen capture and input stop. Ling never interacts with the lock screen, login window, password fields, or secure desktop.": "cece9f092190c9e9e4c9d54f7da59256e922a56556c843c4e2b44fb1a67b0c5f", "Screen Recording": "bc3c742893dc7aff9c88fad0aae3f6749a6679a45cbafb0981f0e2ddaed5c49c", "Scripts can contact external services. Only run documents you trust.": "aa3560983d2f6c2656f1a9329fcb9434fa520d6f64bcccf0e6ae91c82ddbb0dd", @@ -7264,6 +7274,7 @@ "Uploading avatar": "995b81efc53e808131bd98d546fb3fa493a44b9b43b752237e590bf5a2e487c8", "Uploading...": "72cb29c90ccd8361ee82d02fabe81a3f01605c7b8fea4c9996fc01d84e3fbb48", "Upstream": "94adc696fd24e9fd67e83ba256a9f33bf1d7191d4a5e38ee8c69597cd89e4777", + "Upstream result unconfirmed": "d345a9ef65cf22ec93d4a7a0457157bcdc8696a90ea8e72690d04b25d7447d94", "Upstream version": "7927b36324919e81ae646c1455b608aadcecdedb285d9985d63d80572c3d5214", "urgent": "f9d37c23fcc0f03c15a86aba71dce01dd0baa7a1568180e60c2347a5863151bc", "URL image edit": "444b0006116b72fd13097e57758caf2edaa14133af89617d79ed238d71f518ff", @@ -7460,6 +7471,7 @@ "Waiting for runner activity...": "d0e7a1fd3763c4062fe8ac59255b9281effe77d2fd1d79f9ae2498e56ac3b96f", "Waiting for runner events...": "dc60b71d9ccb374ef6e53cc9496c05fd15dcd7b4955ec8ae7603cf360af7e85e", "Waiting for sign-in": "749a343a3a25c1df679ee6d6e74abb72e08ef956bfa15434407e61934dc054c9", + "Waiting for source": "8ac1608b4d56ce4dcc84a6d489fb055d7e9281efa150baa1fd5c2be7f2dd220b", "Waiting for system confirmation and Host readback...": "952e73792f0715e2d1f30ef0b0c03c4353cd9ab96caa71856bbce7dc41e2d161", "waiting for user input": "f43ef097687b1d8c8800577eefa3f7e10d0c82236cd0017f983d131e8e673174", "Waiting for votes": "bbb50edc12d1ce791069a8e84ca6e73a255b796306d32cdc1414987b986e172f", @@ -8079,6 +8091,7 @@ "A skill with the same identity already exists.": "Веќе постои вештина со истиот идентитет.", "Abstain": "Воздржи се", "Accept": "Прифати", + "Accept handoff": "Прифати предавање", "Acceptance": "Прифаќање", "Acceptance checks will be clarified before execution.": "Проверките за прифаќање ќе бидат разјаснети пред извршувањето.", "Acceptance criteria": "Критериуми за прифаќање", @@ -8630,6 +8643,7 @@ "Avatar uploaded": "Поставен аватар", "Avatar, name, and a compact working brief.": "Аватар, име и компактен работен кус.", "Avoid triggers": "Избегнувајте предизвикувачи", + "Awaiting acceptance": "Се чека прифаќање", "Awaiting confirmation": "Се чека потврда", "Awaiting enable": "Овозможи на чекање", "Awaiting merge approval": "Се чека одобрување за спојување", @@ -8819,6 +8833,7 @@ "cancelling": "Откажување", "Cancelling": "Откажување", "Candidate approved for draft": "Кандидатот одобрен за нацрт", + "Candidate changed": "Кандидатот се смени", "Candidate changed since verification": "Кандидатот е променет од верификацијата", "Candidate cluster is not bound to a channel.": "Кластерот на кандидати не е врзан за канал.", "Candidate Clusters": "Кандидатски кластери", @@ -9556,6 +9571,7 @@ "Could not start this scene.": "Не може да се започне оваа сцена.", "Could not start this workflow test.": "Не може да се започне овој тест на работниот тек.", "Could not switch projects. Showing the last loaded project.": "Не може да се префрлат проекти. Се прикажува последниот вчитан проект.", + "Could not update handoff": "Не може да се ажурира предавањето", "Could not update the default model. Try again.": "Не може да се ажурира стандардниот модел. Обидете се повторно.", "Council actions": "Дејства на Советот", "Council boundaries": "Границите на Советот", @@ -11556,6 +11572,7 @@ "minutes": "минути", "missing": "исчезнати", "Missing": "Недостасува", + "Missing artifact": "Недостасува артефакт", "Missing dependency": "Missing dependency", "Missing fields": "Недостасуваат полиња", "Missing key": "Недостасува клуч", @@ -13137,6 +13154,7 @@ "Requested URL": "Побарано URL", "Required": "Задолжително", "Required before approving high-risk requests": "Задолжително пред одобрување барања со висок ризик", + "Required check incomplete": "Потребната проверка е нецелосна", "Required checks": "Потребни проверки", "Required for assigned teammates": "Потребно за доделените соиграчи", "Required input": "Потребен влез", @@ -13260,8 +13278,11 @@ "Retry upload": "Обидете се повторно да поставите", "Retryable": "Може да се обиде повторно", "Retrying automatically...": "Автоматски се обидува повторно...", + "Return handoff": "Враќање предавање", + "Return reason": "Причина за враќање", "Return to an unlocked interactive Windows desktop, restart Ling if needed, then check again.": "Вратете се на отклучена интерактивна работна површина на Windows, рестартирајте го Ling доколку е потребно, а потоа проверете повторно.", "Return to implementation mode": "Врати се во режим на имплементација", + "Returned for repair": "Вратен на поправка", "Reusable": "За повеќекратна употреба", "Reuse images already saved in this media project.": "Повторно користете слики веќе зачувани во овој медиумски проект.", "Reuse settings": "Повторна употреба поставки", @@ -13652,6 +13673,7 @@ "Schema, checksums, and package metadata": "Шема, контролни суми и метаподатоци за пакети", "Scope": "Опсег", "Scope ID": "Опсег ID", + "Scope unavailable": "Опсегот е недостапен", "Screen capture and input stop. Ling never interacts with the lock screen, login window, password fields, or secure desktop.": "Снимање на екранот и запирање на внесување. Ling никогаш не комуницира со заклучениот екран, прозорецот за најавување, полињата за лозинка или безбедната работна површина.", "Screen Recording": "Снимање на екранот", "Scripts can contact external services. Only run documents you trust.": "Scripts can contact external services. Only run documents you trust.", @@ -15000,6 +15022,7 @@ "Uploading avatar": "Се поставува аватар", "Uploading...": "Се прикачува...", "Upstream": "Возводно", + "Upstream result unconfirmed": "Резултатот нагоре не е потврден", "Upstream version": "Возводно верзија", "urgent": "итна", "URL image edit": "URL уредување на слика", @@ -15196,6 +15219,7 @@ "Waiting for runner activity...": "Се чека активност на тркач...", "Waiting for runner events...": "Се чекаат тркачки настани...", "Waiting for sign-in": "Се чека најавување", + "Waiting for source": "Се чека извор", "Waiting for system confirmation and Host readback...": "Се чека потврда на системот и враќање на домаќинот...", "waiting for user input": "чекање за внесување на корисникот", "Waiting for votes": "Се чекаат гласови", diff --git a/packages/localization/catalogs/mr-IN.json b/packages/localization/catalogs/mr-IN.json index 172b6c6a7..67dc0fd8f 100644 --- a/packages/localization/catalogs/mr-IN.json +++ b/packages/localization/catalogs/mr-IN.json @@ -1,6 +1,6 @@ { "locale": "mr-IN", - "sourceRevision": "e134cc889637523423524b121cf71dcb37afdd3d7daf48eaea975d1c39785b2e", + "sourceRevision": "95b7d5d6546abac9c1f3ec3e54efe7bff99c84252c464896ecb9bf2245f66dfd", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -343,6 +343,7 @@ "A skill with the same identity already exists.": "66dd592d63333b2f2738e59f82a3866d9a6db17154a2cc2a752727f9a40998d1", "Abstain": "bf92ab42d052ce917d87cccce310e4351900347095f57947b3d08c1b1ff8bcf3", "Accept": "89713b9c9c1b8f659c9f49db25e4a47886dd673fee248c3f650391f09a759cef", + "Accept handoff": "13e3dc2abccf1296c34099b2080efb8c78ad82067436ff2039024f22ed8cc2e9", "Acceptance": "f190a5cb3aff17b0ee84f6ee258333d63a9cc71aa66c2e1788ebc3ae24a89b10", "Acceptance checks will be clarified before execution.": "ffd59db22fb4d3abb3c9cc67c351c818e1732dfca2d6cd18ae361a711fa4bb72", "Acceptance criteria": "d47a36f4f055810755db08b8d52e479baa4bb7a7a1f6449f71fa1ad5c20495ef", @@ -894,6 +895,7 @@ "Avatar uploaded": "d0d5a01f3f30fd933994a5950ddae3d14384d2c850c05deb50532b65aa6593ba", "Avatar, name, and a compact working brief.": "8d3706d4928090efbf7eca6683e3357f4f92732bc8be64c50dc8af8620a256c1", "Avoid triggers": "1419db0b6ddbd1f3a1632043da73529ecbcb0aef9183fd7d78e12df2942444de", + "Awaiting acceptance": "1dc7bfd9c54d73f22b4a9bdca5f741d5067a673b7f99d77e85367f6c8f049f85", "Awaiting confirmation": "d0ae0b38eac639b98f6a9b793a7add708bedbc6156963e3abc00453b235b2f3d", "Awaiting enable": "2a6b618d273346e8198806aa0d934a4bd6f5bf8b29d0780076df974ca93bf548", "Awaiting merge approval": "21837cdd561270cefc146079172511177736bb9091e9fb50d93bb072f271ecb0", @@ -1083,6 +1085,7 @@ "cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Candidate approved for draft": "59a57b9b459b3215e76b651f73f6521bc1bd71fa66bb52e046368a559db6632b", + "Candidate changed": "ca07c050cd47ab4f4d2f2fb6c60110b738af5b951a9ab708c36879365ec4532e", "Candidate changed since verification": "a2808e03661077a04403dab2204b7ce8d78310c296600bd03c5766a754f216a6", "Candidate cluster is not bound to a channel.": "6066a4e8725d065a7c2b8d2c8974a60c41c0a94124deeabd972f620ddd815786", "Candidate Clusters": "b617f8ce5325fa8984c324816b08d3a26c05dac3c3276bcc4f4ab7196222dbe4", @@ -1820,6 +1823,7 @@ "Could not start this scene.": "acb6aa181a8b842f1a8fc78344dc210cb98a45ccb6cf38ebd01beb65fe7fa27d", "Could not start this workflow test.": "7fe6f22a12127a9d74069d195a2513038cb2ff035acc4433d41e31006445e46e", "Could not switch projects. Showing the last loaded project.": "1a284203a5fd7f9d39c625017fde0d1c88180e3d2fa62b07aa7c9eb64a2e8aa6", + "Could not update handoff": "b6b7ff312171612e082d24ec92c854155d95fa6177a25cb0ac10f44e2c6110e2", "Could not update the default model. Try again.": "c87a00ab8ffb8c8c60209acf9b5cb10295a2a5e93c3e6f72dd8b2b4c316bdc16", "Council actions": "79763aae8f6334c6e29273106f3509b76114439dd686c9fa32753bca265eee32", "Council boundaries": "b4d6713050d140a9102817793dcb99d64565ee0d33d364b71f5d4d2afd234baf", @@ -3820,6 +3824,7 @@ "minutes": "90e63d85fa1ab2c8ed65222f3ebd794b1e524b4b7cf84bec451542d0451b2985", "missing": "ffa63583dfa6706b87d284b86b0d693a161e4840aad2c5cf6b5d27c3b9621f7d", "Missing": "6be36ca49ee85210c5d1ad9c377d90a9859c66d889110a2a5b0dccd390d12e20", + "Missing artifact": "e936c2df4de783be206107e353054e33ebba1c9988085200c260c7a6b8f8fc73", "Missing dependency": "5915d1e15e283f09695ad4b96ced9625bbd68aab747dc778f37aada0a7489b5c", "Missing fields": "69121d3f63d5a27ab7ce484854c065ce87e7022dc5fdfee9d778ab02515542fc", "Missing key": "0c8a17a63a322df1c40693b8469227cf5426b024673da9065f42c6cbb7c58370", @@ -5401,6 +5406,7 @@ "Requested URL": "8ae37b38fe2e415c8c641c3f2b6e9b42a11245cc8749a51a247cf0464b4c7faf", "Required": "4850b174b713d88cfc63de107830d5388929020e78abc91fc19bba7a6821625f", "Required before approving high-risk requests": "3cb612a5f43f4acbf5a6066a5da559bce858b50cdab2c2f6943bf4a05de1310a", + "Required check incomplete": "f64e6dfd1fc8cd1f2139aadf61c6ef43ecaa2ce783b2c712a56d31a574e05741", "Required checks": "f5a021846bd1a50002c0ea940f30cc97c285a118c62ff95af5c2f538584a7e26", "Required for assigned teammates": "4732aa544a8d93b886e6bcbbcc5c3314af692f8a8a812efd4844cd3589b7b63a", "Required input": "fafaaf99b5a6af521026448890a9dacaf4d47053804a34be7cdf364e13637181", @@ -5524,8 +5530,11 @@ "Retry upload": "731dc6e3f07ab1b090e925be766dd01d8e4aed2f0ad2cef600bf157bd7764500", "Retryable": "c282bd362abaadb6a38a4fdb268df44325f8bfde40f719b77fdd690180c51889", "Retrying automatically...": "220837f6132382f3e8d4fb676f31aab3dc9fabc34b8f26c2e4ced9b83ebce4ec", + "Return handoff": "1ae47e9a67b5866c28ccd52c2040500610b795d917cc6620a444c170ded79836", + "Return reason": "79f91549d760515b430db20e8f2f0c766e417826dfea15029dca20f6eb9865ac", "Return to an unlocked interactive Windows desktop, restart Ling if needed, then check again.": "bccd46e406f4d428d83a9dd510df581b52e5c28c51da4d357e3e66c21740ee0e", "Return to implementation mode": "36435baabf6c6acc0666fba73f68609f9a41d17389ea216a99f41b5036e8b6ef", + "Returned for repair": "07abb2b9ba19b479a5126883271bb99fa47e239dffb3337fb13bbe2778654158", "Reusable": "8ded2b384940a83eb986da575b9efa40f1b03fd1d626bd91964cbb11502e0b42", "Reuse images already saved in this media project.": "3c3dd902fab18f841a51942e3a4e92a93c8d39ddd8b48ae9ee017982a26fa1c1", "Reuse settings": "17507cf7d05b478d392e9aa85d9c60046c0e2a185959546ac0864a89b95ec744", @@ -5916,6 +5925,7 @@ "Schema, checksums, and package metadata": "d91ffc3c0cdd2c26d37ba9cf60de0a718343a3969303718321092f0367a68808", "Scope": "b073f6c68ef8721107fd9815b19b2c35ec111d526b75c2123d1111ba64424000", "Scope ID": "4a201ef6cbd70a0728fc5c62eb87fd73ac56e470c853a3112ebf27617e49ff76", + "Scope unavailable": "38a32037c55100c3ad97878ca4e361a734a3422fb35bdbaeacebf4babb16cdf3", "Screen capture and input stop. Ling never interacts with the lock screen, login window, password fields, or secure desktop.": "cece9f092190c9e9e4c9d54f7da59256e922a56556c843c4e2b44fb1a67b0c5f", "Screen Recording": "bc3c742893dc7aff9c88fad0aae3f6749a6679a45cbafb0981f0e2ddaed5c49c", "Scripts can contact external services. Only run documents you trust.": "aa3560983d2f6c2656f1a9329fcb9434fa520d6f64bcccf0e6ae91c82ddbb0dd", @@ -7264,6 +7274,7 @@ "Uploading avatar": "995b81efc53e808131bd98d546fb3fa493a44b9b43b752237e590bf5a2e487c8", "Uploading...": "72cb29c90ccd8361ee82d02fabe81a3f01605c7b8fea4c9996fc01d84e3fbb48", "Upstream": "94adc696fd24e9fd67e83ba256a9f33bf1d7191d4a5e38ee8c69597cd89e4777", + "Upstream result unconfirmed": "d345a9ef65cf22ec93d4a7a0457157bcdc8696a90ea8e72690d04b25d7447d94", "Upstream version": "7927b36324919e81ae646c1455b608aadcecdedb285d9985d63d80572c3d5214", "urgent": "f9d37c23fcc0f03c15a86aba71dce01dd0baa7a1568180e60c2347a5863151bc", "URL image edit": "444b0006116b72fd13097e57758caf2edaa14133af89617d79ed238d71f518ff", @@ -7460,6 +7471,7 @@ "Waiting for runner activity...": "d0e7a1fd3763c4062fe8ac59255b9281effe77d2fd1d79f9ae2498e56ac3b96f", "Waiting for runner events...": "dc60b71d9ccb374ef6e53cc9496c05fd15dcd7b4955ec8ae7603cf360af7e85e", "Waiting for sign-in": "749a343a3a25c1df679ee6d6e74abb72e08ef956bfa15434407e61934dc054c9", + "Waiting for source": "8ac1608b4d56ce4dcc84a6d489fb055d7e9281efa150baa1fd5c2be7f2dd220b", "Waiting for system confirmation and Host readback...": "952e73792f0715e2d1f30ef0b0c03c4353cd9ab96caa71856bbce7dc41e2d161", "waiting for user input": "f43ef097687b1d8c8800577eefa3f7e10d0c82236cd0017f983d131e8e673174", "Waiting for votes": "bbb50edc12d1ce791069a8e84ca6e73a255b796306d32cdc1414987b986e172f", @@ -8079,6 +8091,7 @@ "A skill with the same identity already exists.": "समान ओळख असलेले एक कौशल्य आधीपासूनच अस्तित्वात आहे.", "Abstain": "वर्ज्य करा", "Accept": "स्वीकारा", + "Accept handoff": "हँडऑफ स्वीकारा", "Acceptance": "स्वीकृती", "Acceptance checks will be clarified before execution.": "स्वीकृती चेक अंमलात आणण्यापूर्वी स्पष्ट केले जातील.", "Acceptance criteria": "स्वीकृती निकष", @@ -8630,6 +8643,7 @@ "Avatar uploaded": "अवतार अपलोड केला", "Avatar, name, and a compact working brief.": "अवतार, नाव आणि संक्षिप्त कार्य संक्षिप्त.", "Avoid triggers": "ट्रिगर टाळा", + "Awaiting acceptance": "स्वीकृतीच्या प्रतीक्षेत", "Awaiting confirmation": "पुष्टीकरणाच्या प्रतीक्षेत", "Awaiting enable": "सक्षम होण्याची प्रतीक्षा करत आहे", "Awaiting merge approval": "विलीनीकरणाच्या मंजुरीची प्रतीक्षा करत आहे", @@ -8819,6 +8833,7 @@ "cancelling": "रद्द करत आहे", "Cancelling": "रद्द करत आहे", "Candidate approved for draft": "मसुद्यासाठी उमेदवार मंजूर", + "Candidate changed": "उमेदवार बदलला", "Candidate changed since verification": "पडताळणीनंतर उमेदवार बदलला", "Candidate cluster is not bound to a channel.": "उमेदवार क्लस्टर चॅनेलला बांधील नाही.", "Candidate Clusters": "उमेदवार क्लस्टर्स", @@ -9556,6 +9571,7 @@ "Could not start this scene.": "हा सीन सुरू करू शकलो नाही.", "Could not start this workflow test.": "ही वर्कफ्लो चाचणी सुरू करू शकलो नाही.", "Could not switch projects. Showing the last loaded project.": "प्रकल्प स्विच करू शकलो नाही. शेवटचा लोड केलेला प्रकल्प दाखवत आहे.", + "Could not update handoff": "हँडऑफ अपडेट करू शकलो नाही", "Could not update the default model. Try again.": "डीफॉल्ट मॉडेल अपडेट करू शकलो नाही. पुन्हा प्रयत्न करा.", "Council actions": "कौन्सिल क्रिया", "Council boundaries": "परिषदेच्या सीमा", @@ -11556,6 +11572,7 @@ "minutes": "मिनिटे", "missing": "गहाळ", "Missing": "गहाळ", + "Missing artifact": "गहाळ कलाकृती", "Missing dependency": "Missing dependency", "Missing fields": "गहाळ फील्ड", "Missing key": "गहाळ की", @@ -13137,6 +13154,7 @@ "Requested URL": "विनंती केली URL", "Required": "आवश्यक आहे", "Required before approving high-risk requests": "उच्च-जोखीम विनंत्या मंजूर करण्यापूर्वी आवश्यक", + "Required check incomplete": "आवश्यक चेक अपूर्ण", "Required checks": "आवश्यक चेक", "Required for assigned teammates": "नियुक्त केलेल्या टीममेटसाठी आवश्यक", "Required input": "आवश्यक इनपुट", @@ -13260,8 +13278,11 @@ "Retry upload": "पुन्हा अपलोड करण्याचा प्रयत्न करा", "Retryable": "पुन्हा प्रयत्न करण्यायोग्य", "Retrying automatically...": "आपोआप पुन्हा प्रयत्न करत आहे...", + "Return handoff": "रिटर्न हँडऑफ", + "Return reason": "परतण्याचे कारण", "Return to an unlocked interactive Windows desktop, restart Ling if needed, then check again.": "अनलॉक केलेल्या परस्परसंवादी विंडोज डेस्कटॉपवर परत या, आवश्यक असल्यास Ling रीस्टार्ट करा, नंतर पुन्हा तपासा.", "Return to implementation mode": "अंमलबजावणी मोडवर परत या", + "Returned for repair": "दुरुस्तीसाठी परत आले", "Reusable": "पुन्हा वापरण्यायोग्य", "Reuse images already saved in this media project.": "या मीडिया प्रोजेक्टमध्ये आधीपासून जतन केलेल्या प्रतिमा पुन्हा वापरा.", "Reuse settings": "सेटिंग्ज पुन्हा वापरा", @@ -13652,6 +13673,7 @@ "Schema, checksums, and package metadata": "स्कीमा, चेकसम आणि पॅकेज मेटाडेटा", "Scope": "व्याप्ती", "Scope ID": "व्याप्ती ID", + "Scope unavailable": "स्कोप अनुपलब्ध", "Screen capture and input stop. Ling never interacts with the lock screen, login window, password fields, or secure desktop.": "स्क्रीन कॅप्चर आणि इनपुट स्टॉप. Ling कधीही लॉक स्क्रीन, लॉगिन विंडो, पासवर्ड फील्ड किंवा सुरक्षित डेस्कटॉपशी संवाद साधत नाही.", "Screen Recording": "स्क्रीन रेकॉर्डिंग", "Scripts can contact external services. Only run documents you trust.": "Scripts can contact external services. Only run documents you trust.", @@ -15000,6 +15022,7 @@ "Uploading avatar": "अवतार अपलोड करत आहे", "Uploading...": "अपलोड करत आहे...", "Upstream": "अपस्ट्रीम", + "Upstream result unconfirmed": "अपस्ट्रीम निकालाची पुष्टी नाही", "Upstream version": "अपस्ट्रीम आवृत्ती", "urgent": "तातडीने", "URL image edit": "URL प्रतिमा संपादन", @@ -15196,6 +15219,7 @@ "Waiting for runner activity...": "धावपटू क्रियाकलापाची प्रतीक्षा करत आहे...", "Waiting for runner events...": "धावपटू इव्हेंटची वाट पाहत आहे...", "Waiting for sign-in": "साइन-इनची प्रतीक्षा करत आहे", + "Waiting for source": "स्त्रोताची वाट पाहत आहे", "Waiting for system confirmation and Host readback...": "सिस्टम पुष्टीकरण आणि होस्ट रीडबॅकची प्रतीक्षा करत आहे...", "waiting for user input": "वापरकर्ता इनपुटची प्रतीक्षा करत आहे", "Waiting for votes": "मतांच्या प्रतीक्षेत", diff --git a/packages/localization/catalogs/ms-MY.json b/packages/localization/catalogs/ms-MY.json index 4986949ae..86152847c 100644 --- a/packages/localization/catalogs/ms-MY.json +++ b/packages/localization/catalogs/ms-MY.json @@ -1,6 +1,6 @@ { "locale": "ms-MY", - "sourceRevision": "e134cc889637523423524b121cf71dcb37afdd3d7daf48eaea975d1c39785b2e", + "sourceRevision": "95b7d5d6546abac9c1f3ec3e54efe7bff99c84252c464896ecb9bf2245f66dfd", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -343,6 +343,7 @@ "A skill with the same identity already exists.": "66dd592d63333b2f2738e59f82a3866d9a6db17154a2cc2a752727f9a40998d1", "Abstain": "bf92ab42d052ce917d87cccce310e4351900347095f57947b3d08c1b1ff8bcf3", "Accept": "89713b9c9c1b8f659c9f49db25e4a47886dd673fee248c3f650391f09a759cef", + "Accept handoff": "13e3dc2abccf1296c34099b2080efb8c78ad82067436ff2039024f22ed8cc2e9", "Acceptance": "f190a5cb3aff17b0ee84f6ee258333d63a9cc71aa66c2e1788ebc3ae24a89b10", "Acceptance checks will be clarified before execution.": "ffd59db22fb4d3abb3c9cc67c351c818e1732dfca2d6cd18ae361a711fa4bb72", "Acceptance criteria": "d47a36f4f055810755db08b8d52e479baa4bb7a7a1f6449f71fa1ad5c20495ef", @@ -894,6 +895,7 @@ "Avatar uploaded": "d0d5a01f3f30fd933994a5950ddae3d14384d2c850c05deb50532b65aa6593ba", "Avatar, name, and a compact working brief.": "8d3706d4928090efbf7eca6683e3357f4f92732bc8be64c50dc8af8620a256c1", "Avoid triggers": "1419db0b6ddbd1f3a1632043da73529ecbcb0aef9183fd7d78e12df2942444de", + "Awaiting acceptance": "1dc7bfd9c54d73f22b4a9bdca5f741d5067a673b7f99d77e85367f6c8f049f85", "Awaiting confirmation": "d0ae0b38eac639b98f6a9b793a7add708bedbc6156963e3abc00453b235b2f3d", "Awaiting enable": "2a6b618d273346e8198806aa0d934a4bd6f5bf8b29d0780076df974ca93bf548", "Awaiting merge approval": "21837cdd561270cefc146079172511177736bb9091e9fb50d93bb072f271ecb0", @@ -1083,6 +1085,7 @@ "cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Candidate approved for draft": "59a57b9b459b3215e76b651f73f6521bc1bd71fa66bb52e046368a559db6632b", + "Candidate changed": "ca07c050cd47ab4f4d2f2fb6c60110b738af5b951a9ab708c36879365ec4532e", "Candidate changed since verification": "a2808e03661077a04403dab2204b7ce8d78310c296600bd03c5766a754f216a6", "Candidate cluster is not bound to a channel.": "6066a4e8725d065a7c2b8d2c8974a60c41c0a94124deeabd972f620ddd815786", "Candidate Clusters": "b617f8ce5325fa8984c324816b08d3a26c05dac3c3276bcc4f4ab7196222dbe4", @@ -1820,6 +1823,7 @@ "Could not start this scene.": "acb6aa181a8b842f1a8fc78344dc210cb98a45ccb6cf38ebd01beb65fe7fa27d", "Could not start this workflow test.": "7fe6f22a12127a9d74069d195a2513038cb2ff035acc4433d41e31006445e46e", "Could not switch projects. Showing the last loaded project.": "1a284203a5fd7f9d39c625017fde0d1c88180e3d2fa62b07aa7c9eb64a2e8aa6", + "Could not update handoff": "b6b7ff312171612e082d24ec92c854155d95fa6177a25cb0ac10f44e2c6110e2", "Could not update the default model. Try again.": "c87a00ab8ffb8c8c60209acf9b5cb10295a2a5e93c3e6f72dd8b2b4c316bdc16", "Council actions": "79763aae8f6334c6e29273106f3509b76114439dd686c9fa32753bca265eee32", "Council boundaries": "b4d6713050d140a9102817793dcb99d64565ee0d33d364b71f5d4d2afd234baf", @@ -3820,6 +3824,7 @@ "minutes": "90e63d85fa1ab2c8ed65222f3ebd794b1e524b4b7cf84bec451542d0451b2985", "missing": "ffa63583dfa6706b87d284b86b0d693a161e4840aad2c5cf6b5d27c3b9621f7d", "Missing": "6be36ca49ee85210c5d1ad9c377d90a9859c66d889110a2a5b0dccd390d12e20", + "Missing artifact": "e936c2df4de783be206107e353054e33ebba1c9988085200c260c7a6b8f8fc73", "Missing dependency": "5915d1e15e283f09695ad4b96ced9625bbd68aab747dc778f37aada0a7489b5c", "Missing fields": "69121d3f63d5a27ab7ce484854c065ce87e7022dc5fdfee9d778ab02515542fc", "Missing key": "0c8a17a63a322df1c40693b8469227cf5426b024673da9065f42c6cbb7c58370", @@ -5401,6 +5406,7 @@ "Requested URL": "8ae37b38fe2e415c8c641c3f2b6e9b42a11245cc8749a51a247cf0464b4c7faf", "Required": "4850b174b713d88cfc63de107830d5388929020e78abc91fc19bba7a6821625f", "Required before approving high-risk requests": "3cb612a5f43f4acbf5a6066a5da559bce858b50cdab2c2f6943bf4a05de1310a", + "Required check incomplete": "f64e6dfd1fc8cd1f2139aadf61c6ef43ecaa2ce783b2c712a56d31a574e05741", "Required checks": "f5a021846bd1a50002c0ea940f30cc97c285a118c62ff95af5c2f538584a7e26", "Required for assigned teammates": "4732aa544a8d93b886e6bcbbcc5c3314af692f8a8a812efd4844cd3589b7b63a", "Required input": "fafaaf99b5a6af521026448890a9dacaf4d47053804a34be7cdf364e13637181", @@ -5524,8 +5530,11 @@ "Retry upload": "731dc6e3f07ab1b090e925be766dd01d8e4aed2f0ad2cef600bf157bd7764500", "Retryable": "c282bd362abaadb6a38a4fdb268df44325f8bfde40f719b77fdd690180c51889", "Retrying automatically...": "220837f6132382f3e8d4fb676f31aab3dc9fabc34b8f26c2e4ced9b83ebce4ec", + "Return handoff": "1ae47e9a67b5866c28ccd52c2040500610b795d917cc6620a444c170ded79836", + "Return reason": "79f91549d760515b430db20e8f2f0c766e417826dfea15029dca20f6eb9865ac", "Return to an unlocked interactive Windows desktop, restart Ling if needed, then check again.": "bccd46e406f4d428d83a9dd510df581b52e5c28c51da4d357e3e66c21740ee0e", "Return to implementation mode": "36435baabf6c6acc0666fba73f68609f9a41d17389ea216a99f41b5036e8b6ef", + "Returned for repair": "07abb2b9ba19b479a5126883271bb99fa47e239dffb3337fb13bbe2778654158", "Reusable": "8ded2b384940a83eb986da575b9efa40f1b03fd1d626bd91964cbb11502e0b42", "Reuse images already saved in this media project.": "3c3dd902fab18f841a51942e3a4e92a93c8d39ddd8b48ae9ee017982a26fa1c1", "Reuse settings": "17507cf7d05b478d392e9aa85d9c60046c0e2a185959546ac0864a89b95ec744", @@ -5916,6 +5925,7 @@ "Schema, checksums, and package metadata": "d91ffc3c0cdd2c26d37ba9cf60de0a718343a3969303718321092f0367a68808", "Scope": "b073f6c68ef8721107fd9815b19b2c35ec111d526b75c2123d1111ba64424000", "Scope ID": "4a201ef6cbd70a0728fc5c62eb87fd73ac56e470c853a3112ebf27617e49ff76", + "Scope unavailable": "38a32037c55100c3ad97878ca4e361a734a3422fb35bdbaeacebf4babb16cdf3", "Screen capture and input stop. Ling never interacts with the lock screen, login window, password fields, or secure desktop.": "cece9f092190c9e9e4c9d54f7da59256e922a56556c843c4e2b44fb1a67b0c5f", "Screen Recording": "bc3c742893dc7aff9c88fad0aae3f6749a6679a45cbafb0981f0e2ddaed5c49c", "Scripts can contact external services. Only run documents you trust.": "aa3560983d2f6c2656f1a9329fcb9434fa520d6f64bcccf0e6ae91c82ddbb0dd", @@ -7264,6 +7274,7 @@ "Uploading avatar": "995b81efc53e808131bd98d546fb3fa493a44b9b43b752237e590bf5a2e487c8", "Uploading...": "72cb29c90ccd8361ee82d02fabe81a3f01605c7b8fea4c9996fc01d84e3fbb48", "Upstream": "94adc696fd24e9fd67e83ba256a9f33bf1d7191d4a5e38ee8c69597cd89e4777", + "Upstream result unconfirmed": "d345a9ef65cf22ec93d4a7a0457157bcdc8696a90ea8e72690d04b25d7447d94", "Upstream version": "7927b36324919e81ae646c1455b608aadcecdedb285d9985d63d80572c3d5214", "urgent": "f9d37c23fcc0f03c15a86aba71dce01dd0baa7a1568180e60c2347a5863151bc", "URL image edit": "444b0006116b72fd13097e57758caf2edaa14133af89617d79ed238d71f518ff", @@ -7460,6 +7471,7 @@ "Waiting for runner activity...": "d0e7a1fd3763c4062fe8ac59255b9281effe77d2fd1d79f9ae2498e56ac3b96f", "Waiting for runner events...": "dc60b71d9ccb374ef6e53cc9496c05fd15dcd7b4955ec8ae7603cf360af7e85e", "Waiting for sign-in": "749a343a3a25c1df679ee6d6e74abb72e08ef956bfa15434407e61934dc054c9", + "Waiting for source": "8ac1608b4d56ce4dcc84a6d489fb055d7e9281efa150baa1fd5c2be7f2dd220b", "Waiting for system confirmation and Host readback...": "952e73792f0715e2d1f30ef0b0c03c4353cd9ab96caa71856bbce7dc41e2d161", "waiting for user input": "f43ef097687b1d8c8800577eefa3f7e10d0c82236cd0017f983d131e8e673174", "Waiting for votes": "bbb50edc12d1ce791069a8e84ca6e73a255b796306d32cdc1414987b986e172f", @@ -8079,6 +8091,7 @@ "A skill with the same identity already exists.": "Kemahiran dengan identiti yang sama sudah wujud.", "Abstain": "berpantang", "Accept": "Terima", + "Accept handoff": "Terima serahan", "Acceptance": "Penerimaan", "Acceptance checks will be clarified before execution.": "Semakan penerimaan akan dijelaskan sebelum pelaksanaan.", "Acceptance criteria": "Kriteria penerimaan", @@ -8630,6 +8643,7 @@ "Avatar uploaded": "Avatar dimuat naik", "Avatar, name, and a compact working brief.": "Avatar, nama dan ringkasan kerja padat.", "Avoid triggers": "Elakkan pencetus", + "Awaiting acceptance": "Menunggu penerimaan", "Awaiting confirmation": "Menunggu pengesahan", "Awaiting enable": "Menunggu membolehkan", "Awaiting merge approval": "Menunggu kelulusan gabungan", @@ -8819,6 +8833,7 @@ "cancelling": "Membatalkan", "Cancelling": "Membatalkan", "Candidate approved for draft": "Calon diluluskan untuk draf", + "Candidate changed": "Calon bertukar", "Candidate changed since verification": "Calon bertukar sejak pengesahan", "Candidate cluster is not bound to a channel.": "Kelompok calon tidak terikat pada saluran.", "Candidate Clusters": "Kelompok Calon", @@ -9556,6 +9571,7 @@ "Could not start this scene.": "Tidak dapat memulakan adegan ini.", "Could not start this workflow test.": "Tidak dapat memulakan ujian aliran kerja ini.", "Could not switch projects. Showing the last loaded project.": "Tidak dapat menukar projek. Menunjukkan projek yang dimuatkan terakhir.", + "Could not update handoff": "Tidak dapat mengemas kini handoff", "Could not update the default model. Try again.": "Tidak dapat mengemas kini model lalai. Cuba lagi.", "Council actions": "Tindakan Majlis", "Council boundaries": "Sempadan majlis", @@ -11556,6 +11572,7 @@ "minutes": "minit", "missing": "hilang", "Missing": "hilang", + "Missing artifact": "Artifak hilang", "Missing dependency": "Missing dependency", "Missing fields": "Medan hilang", "Missing key": "Kunci hilang", @@ -13137,6 +13154,7 @@ "Requested URL": "Diminta URL", "Required": "Diperlukan", "Required before approving high-risk requests": "Diperlukan sebelum meluluskan permintaan berisiko tinggi", + "Required check incomplete": "Semakan yang diperlukan tidak lengkap", "Required checks": "Pemeriksaan yang diperlukan", "Required for assigned teammates": "Diperlukan untuk rakan sepasukan yang ditetapkan", "Required input": "Input yang diperlukan", @@ -13260,8 +13278,11 @@ "Retry upload": "Cuba muat naik semula", "Retryable": "Boleh dicuba semula", "Retrying automatically...": "Mencuba semula secara automatik...", + "Return handoff": "Pulangan serahan", + "Return reason": "Pulangan alasan", "Return to an unlocked interactive Windows desktop, restart Ling if needed, then check again.": "Kembali ke desktop Windows interaktif yang tidak berkunci, mulakan semula Ling jika perlu, kemudian semak semula.", "Return to implementation mode": "Kembali ke mod pelaksanaan", + "Returned for repair": "Dipulangkan untuk dibaiki", "Reusable": "Boleh guna semula", "Reuse images already saved in this media project.": "Gunakan semula imej yang telah disimpan dalam projek media ini.", "Reuse settings": "Guna semula tetapan", @@ -13652,6 +13673,7 @@ "Schema, checksums, and package metadata": "Skema, jumlah semak dan metadata pakej", "Scope": "Skop", "Scope ID": "Skop ID", + "Scope unavailable": "Skop tidak tersedia", "Screen capture and input stop. Ling never interacts with the lock screen, login window, password fields, or secure desktop.": "Tangkapan skrin dan hentian input. Ling tidak pernah berinteraksi dengan skrin kunci, tetingkap log masuk, medan kata laluan atau desktop selamat.", "Screen Recording": "Rakaman Skrin", "Scripts can contact external services. Only run documents you trust.": "Scripts can contact external services. Only run documents you trust.", @@ -15000,6 +15022,7 @@ "Uploading avatar": "Memuat naik avatar", "Uploading...": "Memuat naik...", "Upstream": "Hulu", + "Upstream result unconfirmed": "Keputusan huluan tidak disahkan", "Upstream version": "Versi huluan", "urgent": "mendesak", "URL image edit": "URL suntingan imej", @@ -15196,6 +15219,7 @@ "Waiting for runner activity...": "Menunggu aktiviti pelari...", "Waiting for runner events...": "Menunggu acara pelari...", "Waiting for sign-in": "Menunggu untuk log masuk", + "Waiting for source": "Menunggu sumber", "Waiting for system confirmation and Host readback...": "Menunggu pengesahan sistem dan bacaan balik Hos...", "waiting for user input": "menunggu input pengguna", "Waiting for votes": "Menunggu undian", diff --git a/packages/localization/catalogs/my-MM.json b/packages/localization/catalogs/my-MM.json index 333ebec14..8ebf5d22c 100644 --- a/packages/localization/catalogs/my-MM.json +++ b/packages/localization/catalogs/my-MM.json @@ -1,6 +1,6 @@ { "locale": "my-MM", - "sourceRevision": "e134cc889637523423524b121cf71dcb37afdd3d7daf48eaea975d1c39785b2e", + "sourceRevision": "95b7d5d6546abac9c1f3ec3e54efe7bff99c84252c464896ecb9bf2245f66dfd", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -343,6 +343,7 @@ "A skill with the same identity already exists.": "66dd592d63333b2f2738e59f82a3866d9a6db17154a2cc2a752727f9a40998d1", "Abstain": "bf92ab42d052ce917d87cccce310e4351900347095f57947b3d08c1b1ff8bcf3", "Accept": "89713b9c9c1b8f659c9f49db25e4a47886dd673fee248c3f650391f09a759cef", + "Accept handoff": "13e3dc2abccf1296c34099b2080efb8c78ad82067436ff2039024f22ed8cc2e9", "Acceptance": "f190a5cb3aff17b0ee84f6ee258333d63a9cc71aa66c2e1788ebc3ae24a89b10", "Acceptance checks will be clarified before execution.": "ffd59db22fb4d3abb3c9cc67c351c818e1732dfca2d6cd18ae361a711fa4bb72", "Acceptance criteria": "d47a36f4f055810755db08b8d52e479baa4bb7a7a1f6449f71fa1ad5c20495ef", @@ -894,6 +895,7 @@ "Avatar uploaded": "d0d5a01f3f30fd933994a5950ddae3d14384d2c850c05deb50532b65aa6593ba", "Avatar, name, and a compact working brief.": "8d3706d4928090efbf7eca6683e3357f4f92732bc8be64c50dc8af8620a256c1", "Avoid triggers": "1419db0b6ddbd1f3a1632043da73529ecbcb0aef9183fd7d78e12df2942444de", + "Awaiting acceptance": "1dc7bfd9c54d73f22b4a9bdca5f741d5067a673b7f99d77e85367f6c8f049f85", "Awaiting confirmation": "d0ae0b38eac639b98f6a9b793a7add708bedbc6156963e3abc00453b235b2f3d", "Awaiting enable": "2a6b618d273346e8198806aa0d934a4bd6f5bf8b29d0780076df974ca93bf548", "Awaiting merge approval": "21837cdd561270cefc146079172511177736bb9091e9fb50d93bb072f271ecb0", @@ -1083,6 +1085,7 @@ "cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Candidate approved for draft": "59a57b9b459b3215e76b651f73f6521bc1bd71fa66bb52e046368a559db6632b", + "Candidate changed": "ca07c050cd47ab4f4d2f2fb6c60110b738af5b951a9ab708c36879365ec4532e", "Candidate changed since verification": "a2808e03661077a04403dab2204b7ce8d78310c296600bd03c5766a754f216a6", "Candidate cluster is not bound to a channel.": "6066a4e8725d065a7c2b8d2c8974a60c41c0a94124deeabd972f620ddd815786", "Candidate Clusters": "b617f8ce5325fa8984c324816b08d3a26c05dac3c3276bcc4f4ab7196222dbe4", @@ -1820,6 +1823,7 @@ "Could not start this scene.": "acb6aa181a8b842f1a8fc78344dc210cb98a45ccb6cf38ebd01beb65fe7fa27d", "Could not start this workflow test.": "7fe6f22a12127a9d74069d195a2513038cb2ff035acc4433d41e31006445e46e", "Could not switch projects. Showing the last loaded project.": "1a284203a5fd7f9d39c625017fde0d1c88180e3d2fa62b07aa7c9eb64a2e8aa6", + "Could not update handoff": "b6b7ff312171612e082d24ec92c854155d95fa6177a25cb0ac10f44e2c6110e2", "Could not update the default model. Try again.": "c87a00ab8ffb8c8c60209acf9b5cb10295a2a5e93c3e6f72dd8b2b4c316bdc16", "Council actions": "79763aae8f6334c6e29273106f3509b76114439dd686c9fa32753bca265eee32", "Council boundaries": "b4d6713050d140a9102817793dcb99d64565ee0d33d364b71f5d4d2afd234baf", @@ -3820,6 +3824,7 @@ "minutes": "90e63d85fa1ab2c8ed65222f3ebd794b1e524b4b7cf84bec451542d0451b2985", "missing": "ffa63583dfa6706b87d284b86b0d693a161e4840aad2c5cf6b5d27c3b9621f7d", "Missing": "6be36ca49ee85210c5d1ad9c377d90a9859c66d889110a2a5b0dccd390d12e20", + "Missing artifact": "e936c2df4de783be206107e353054e33ebba1c9988085200c260c7a6b8f8fc73", "Missing dependency": "5915d1e15e283f09695ad4b96ced9625bbd68aab747dc778f37aada0a7489b5c", "Missing fields": "69121d3f63d5a27ab7ce484854c065ce87e7022dc5fdfee9d778ab02515542fc", "Missing key": "0c8a17a63a322df1c40693b8469227cf5426b024673da9065f42c6cbb7c58370", @@ -5401,6 +5406,7 @@ "Requested URL": "8ae37b38fe2e415c8c641c3f2b6e9b42a11245cc8749a51a247cf0464b4c7faf", "Required": "4850b174b713d88cfc63de107830d5388929020e78abc91fc19bba7a6821625f", "Required before approving high-risk requests": "3cb612a5f43f4acbf5a6066a5da559bce858b50cdab2c2f6943bf4a05de1310a", + "Required check incomplete": "f64e6dfd1fc8cd1f2139aadf61c6ef43ecaa2ce783b2c712a56d31a574e05741", "Required checks": "f5a021846bd1a50002c0ea940f30cc97c285a118c62ff95af5c2f538584a7e26", "Required for assigned teammates": "4732aa544a8d93b886e6bcbbcc5c3314af692f8a8a812efd4844cd3589b7b63a", "Required input": "fafaaf99b5a6af521026448890a9dacaf4d47053804a34be7cdf364e13637181", @@ -5524,8 +5530,11 @@ "Retry upload": "731dc6e3f07ab1b090e925be766dd01d8e4aed2f0ad2cef600bf157bd7764500", "Retryable": "c282bd362abaadb6a38a4fdb268df44325f8bfde40f719b77fdd690180c51889", "Retrying automatically...": "220837f6132382f3e8d4fb676f31aab3dc9fabc34b8f26c2e4ced9b83ebce4ec", + "Return handoff": "1ae47e9a67b5866c28ccd52c2040500610b795d917cc6620a444c170ded79836", + "Return reason": "79f91549d760515b430db20e8f2f0c766e417826dfea15029dca20f6eb9865ac", "Return to an unlocked interactive Windows desktop, restart Ling if needed, then check again.": "bccd46e406f4d428d83a9dd510df581b52e5c28c51da4d357e3e66c21740ee0e", "Return to implementation mode": "36435baabf6c6acc0666fba73f68609f9a41d17389ea216a99f41b5036e8b6ef", + "Returned for repair": "07abb2b9ba19b479a5126883271bb99fa47e239dffb3337fb13bbe2778654158", "Reusable": "8ded2b384940a83eb986da575b9efa40f1b03fd1d626bd91964cbb11502e0b42", "Reuse images already saved in this media project.": "3c3dd902fab18f841a51942e3a4e92a93c8d39ddd8b48ae9ee017982a26fa1c1", "Reuse settings": "17507cf7d05b478d392e9aa85d9c60046c0e2a185959546ac0864a89b95ec744", @@ -5916,6 +5925,7 @@ "Schema, checksums, and package metadata": "d91ffc3c0cdd2c26d37ba9cf60de0a718343a3969303718321092f0367a68808", "Scope": "b073f6c68ef8721107fd9815b19b2c35ec111d526b75c2123d1111ba64424000", "Scope ID": "4a201ef6cbd70a0728fc5c62eb87fd73ac56e470c853a3112ebf27617e49ff76", + "Scope unavailable": "38a32037c55100c3ad97878ca4e361a734a3422fb35bdbaeacebf4babb16cdf3", "Screen capture and input stop. Ling never interacts with the lock screen, login window, password fields, or secure desktop.": "cece9f092190c9e9e4c9d54f7da59256e922a56556c843c4e2b44fb1a67b0c5f", "Screen Recording": "bc3c742893dc7aff9c88fad0aae3f6749a6679a45cbafb0981f0e2ddaed5c49c", "Scripts can contact external services. Only run documents you trust.": "aa3560983d2f6c2656f1a9329fcb9434fa520d6f64bcccf0e6ae91c82ddbb0dd", @@ -7264,6 +7274,7 @@ "Uploading avatar": "995b81efc53e808131bd98d546fb3fa493a44b9b43b752237e590bf5a2e487c8", "Uploading...": "72cb29c90ccd8361ee82d02fabe81a3f01605c7b8fea4c9996fc01d84e3fbb48", "Upstream": "94adc696fd24e9fd67e83ba256a9f33bf1d7191d4a5e38ee8c69597cd89e4777", + "Upstream result unconfirmed": "d345a9ef65cf22ec93d4a7a0457157bcdc8696a90ea8e72690d04b25d7447d94", "Upstream version": "7927b36324919e81ae646c1455b608aadcecdedb285d9985d63d80572c3d5214", "urgent": "f9d37c23fcc0f03c15a86aba71dce01dd0baa7a1568180e60c2347a5863151bc", "URL image edit": "444b0006116b72fd13097e57758caf2edaa14133af89617d79ed238d71f518ff", @@ -7460,6 +7471,7 @@ "Waiting for runner activity...": "d0e7a1fd3763c4062fe8ac59255b9281effe77d2fd1d79f9ae2498e56ac3b96f", "Waiting for runner events...": "dc60b71d9ccb374ef6e53cc9496c05fd15dcd7b4955ec8ae7603cf360af7e85e", "Waiting for sign-in": "749a343a3a25c1df679ee6d6e74abb72e08ef956bfa15434407e61934dc054c9", + "Waiting for source": "8ac1608b4d56ce4dcc84a6d489fb055d7e9281efa150baa1fd5c2be7f2dd220b", "Waiting for system confirmation and Host readback...": "952e73792f0715e2d1f30ef0b0c03c4353cd9ab96caa71856bbce7dc41e2d161", "waiting for user input": "f43ef097687b1d8c8800577eefa3f7e10d0c82236cd0017f983d131e8e673174", "Waiting for votes": "bbb50edc12d1ce791069a8e84ca6e73a255b796306d32cdc1414987b986e172f", @@ -8079,6 +8091,7 @@ "A skill with the same identity already exists.": "တူညီသော အရည်အချင်းတစ်ခု ရှိနှင့်ပြီးဖြစ်သည်။", "Abstain": "ကြဉ်ရှောင်", "Accept": "လက်ခံပါတယ်။", + "Accept handoff": "လက်လွှဲလက်ခံပါ။", "Acceptance": "လက်ခံခြင်း။", "Acceptance checks will be clarified before execution.": "လက်ခံမှုစစ်ဆေးမှုများကို လုပ်ဆောင်ခြင်းမပြုမီ ရှင်းလင်းသွားမည်ဖြစ်သည်။", "Acceptance criteria": "လက်ခံမှုစံနှုန်း", @@ -8630,6 +8643,7 @@ "Avatar uploaded": "Avatar အပ်လုဒ်လုပ်ထားသည်။", "Avatar, name, and a compact working brief.": "ကိုယ်ပွား၊ အမည်၊ နှင့် ကျစ်လျစ်သော လုပ်ဆောင်မှု အကျဉ်း။", "Avoid triggers": "အစပျိုးမှုများကို ရှောင်ကြဉ်ပါ။", + "Awaiting acceptance": "လက်ခံမှုကို စောင့်မျှော်နေပါတယ်။", "Awaiting confirmation": "အတည်ပြုချက်ကို စောင့်နေသည်။", "Awaiting enable": "ဖွင့်ရန် စောင့်နေသည်။", "Awaiting merge approval": "ပေါင်းစည်းရန် အတည်ပြုချက်ကို စောင့်ဆိုင်းနေသည်။", @@ -8819,6 +8833,7 @@ "cancelling": "ပယ်ဖျက်ခြင်း။", "Cancelling": "ပယ်ဖျက်ခြင်း။", "Candidate approved for draft": "မူကြမ်းအတွက် ကိုယ်စားလှယ်လောင်း အတည်ပြုခဲ့သည်။", + "Candidate changed": "ကိုယ်စားလှယ်လောင်း ပြောင်းသွားပြီ", "Candidate changed since verification": "စိစစ်ပြီးကတည်းက ကိုယ်စားလှယ်လောင်း ပြောင်းသွားတယ်။", "Candidate cluster is not bound to a channel.": "ကိုယ်စားလှယ်လောင်း အစုအဖွဲ့သည် ချန်နယ်တစ်ခုနှင့် ချိတ်ဆက်ထားခြင်း မရှိပါ။", "Candidate Clusters": "ကိုယ်စားလှယ်လောင်းများ", @@ -9556,6 +9571,7 @@ "Could not start this scene.": "ဤမြင်ကွင်းကို မစတင်နိုင်ခဲ့ပါ။", "Could not start this workflow test.": "ဤအလုပ်အသွားအလာစမ်းသပ်မှုကို မစတင်နိုင်ပါ။", "Could not switch projects. Showing the last loaded project.": "ပရောဂျက်များကို ပြောင်း၍မရပါ။ နောက်ဆုံးတင်ထားသော ပရောဂျက်ကို ပြနေသည်။", + "Could not update handoff": "လက်ကမ်းစာစောင်ကို အပ်ဒိတ်မလုပ်နိုင်ခဲ့ပါ။", "Could not update the default model. Try again.": "မူရင်းမော်ဒယ်ကို အပ်ဒိတ်လုပ်၍မရပါ။ ထပ်ကြိုးစားပါ။", "Council actions": "ကောင်စီ၏လုပ်ဆောင်ချက်များ", "Council boundaries": "ကောင်စီနယ်နမိတ်", @@ -11556,6 +11572,7 @@ "minutes": "မိနစ်", "missing": "ပျောက်ဆုံး", "Missing": "ပျောက်နေသည်။", + "Missing artifact": "ပျောက်ဆုံးနေသော ရှေးဟောင်းပစ္စည်း", "Missing dependency": "Missing dependency", "Missing fields": "ကွက်လပ်များ", "Missing key": "သော့ပျောက်နေသည်။", @@ -13137,6 +13154,7 @@ "Requested URL": "URL တောင်းဆိုထားသည်။", "Required": "လိုအပ်သည်။", "Required before approving high-risk requests": "အန္တရာယ်များသော တောင်းဆိုချက်များကို မအတည်ပြုမီ လိုအပ်ပါသည်။", + "Required check incomplete": "လိုအပ်သောစစ်ဆေးမှု မပြည့်စုံပါ။", "Required checks": "လိုအပ်သောစစ်ဆေးမှုများ", "Required for assigned teammates": "အသင်းဖော်များအတွက် လိုအပ်ပါသည်။", "Required input": "လိုအပ်သောထည့်သွင်းမှု", @@ -13260,8 +13278,11 @@ "Retry upload": "ထပ်တင်ကြည့်ပါ။", "Retryable": "ပြန်စမ်းလို့ရတယ်။", "Retrying automatically...": "အလိုအလျောက် ပြန်ကြိုးစားနေသည်...", + "Return handoff": "လက်ဝေခံပြန်လာပါ။", + "Return reason": "အကြောင်းပြချက်ပြန်ပေး", "Return to an unlocked interactive Windows desktop, restart Ling if needed, then check again.": "လော့ခ်ဖွင့်ထားသော အပြန်အလှန်အကျိုးသက်ရောက်သော Windows ဒက်စ်တော့သို့ ပြန်သွားပါ၊ လိုအပ်ပါက Ling ကို ပြန်လည်စတင်ပါ၊ ထို့နောက် ထပ်မံစစ်ဆေးပါ။", "Return to implementation mode": "အကောင်အထည်ဖော်မှုမုဒ်သို့ ပြန်သွားရန်", + "Returned for repair": "ပြုပြင်ရန် ပြန်လာခဲ့သည်။", "Reusable": "ပြန်သုံးလို့ရတယ်။", "Reuse images already saved in this media project.": "ဤမီဒီယာပရောဂျက်တွင် သိမ်းဆည်းပြီးသားပုံများကို ပြန်လည်အသုံးပြုပါ။", "Reuse settings": "ဆက်တင်များကို ပြန်သုံးပါ။", @@ -13652,6 +13673,7 @@ "Schema, checksums, and package metadata": "Schema၊ checksums နှင့် package metadata", "Scope": "အတိုင်းအတာ", "Scope ID": "နယ်ပယ် ID", + "Scope unavailable": "အတိုင်းအတာ မရနိုင်ပါ။", "Screen capture and input stop. Ling never interacts with the lock screen, login window, password fields, or secure desktop.": "မျက်နှာပြင် ဖမ်းယူခြင်းနှင့် ထည့်သွင်းခြင်းကို ရပ်ပါ။ Ling သည် လော့ခ်ချသည့်မျက်နှာပြင်၊ အကောင့်ဝင်ဝင်းဒိုး၊ စကားဝှက်အကွက်များ သို့မဟုတ် လုံခြုံသော ဒက်စ်တော့နှင့် မည်သည့်အခါမျှ အပြန်အလှန်အကျိုးသက်ရောက်မှုမရှိပါ။", "Screen Recording": "မျက်နှာပြင် မှတ်တမ်းတင်ခြင်း။", "Scripts can contact external services. Only run documents you trust.": "Scripts can contact external services. Only run documents you trust.", @@ -15000,6 +15022,7 @@ "Uploading avatar": "ကိုယ်ပွားကို တင်နေသည်။", "Uploading...": "အပ်လုဒ်လုပ်နေသည်...", "Upstream": "ရေဆန်", + "Upstream result unconfirmed": "အထက်ပိုင်းရလဒ်ကို အတည်မပြုနိုင်သေးပါ။", "Upstream version": "ရေဆန်ဗားရှင်း", "urgent": "အရေးတကြီး", "URL image edit": "URL ရုပ်ပုံ တည်းဖြတ်ခြင်း။", @@ -15196,6 +15219,7 @@ "Waiting for runner activity...": "အပြေးသမား လှုပ်ရှားမှုကို စောင့်နေသည်...", "Waiting for runner events...": "အပြေးပြိုင်ပွဲများကို စောင့်မျှော်လျက်...", "Waiting for sign-in": "လက်မှတ်ထိုးဝင်ရန် စောင့်နေသည်။", + "Waiting for source": "ရင်းမြစ်ကို စောင့်နေသည်။", "Waiting for system confirmation and Host readback...": "စနစ်အတည်ပြုချက်နှင့် လက်ခံဖတ်ရှုခြင်းအတွက် စောင့်ဆိုင်းနေသည်...", "waiting for user input": "အသုံးပြုသူ ထည့်သွင်းမှုကို စောင့်ဆိုင်းနေသည်။", "Waiting for votes": "မဲတွေကို စောင့်နေတယ်။", diff --git a/packages/localization/catalogs/nb-NO.json b/packages/localization/catalogs/nb-NO.json index 4da4b83dc..a069e11bc 100644 --- a/packages/localization/catalogs/nb-NO.json +++ b/packages/localization/catalogs/nb-NO.json @@ -1,6 +1,6 @@ { "locale": "nb-NO", - "sourceRevision": "e134cc889637523423524b121cf71dcb37afdd3d7daf48eaea975d1c39785b2e", + "sourceRevision": "95b7d5d6546abac9c1f3ec3e54efe7bff99c84252c464896ecb9bf2245f66dfd", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -343,6 +343,7 @@ "A skill with the same identity already exists.": "66dd592d63333b2f2738e59f82a3866d9a6db17154a2cc2a752727f9a40998d1", "Abstain": "bf92ab42d052ce917d87cccce310e4351900347095f57947b3d08c1b1ff8bcf3", "Accept": "89713b9c9c1b8f659c9f49db25e4a47886dd673fee248c3f650391f09a759cef", + "Accept handoff": "13e3dc2abccf1296c34099b2080efb8c78ad82067436ff2039024f22ed8cc2e9", "Acceptance": "f190a5cb3aff17b0ee84f6ee258333d63a9cc71aa66c2e1788ebc3ae24a89b10", "Acceptance checks will be clarified before execution.": "ffd59db22fb4d3abb3c9cc67c351c818e1732dfca2d6cd18ae361a711fa4bb72", "Acceptance criteria": "d47a36f4f055810755db08b8d52e479baa4bb7a7a1f6449f71fa1ad5c20495ef", @@ -894,6 +895,7 @@ "Avatar uploaded": "d0d5a01f3f30fd933994a5950ddae3d14384d2c850c05deb50532b65aa6593ba", "Avatar, name, and a compact working brief.": "8d3706d4928090efbf7eca6683e3357f4f92732bc8be64c50dc8af8620a256c1", "Avoid triggers": "1419db0b6ddbd1f3a1632043da73529ecbcb0aef9183fd7d78e12df2942444de", + "Awaiting acceptance": "1dc7bfd9c54d73f22b4a9bdca5f741d5067a673b7f99d77e85367f6c8f049f85", "Awaiting confirmation": "d0ae0b38eac639b98f6a9b793a7add708bedbc6156963e3abc00453b235b2f3d", "Awaiting enable": "2a6b618d273346e8198806aa0d934a4bd6f5bf8b29d0780076df974ca93bf548", "Awaiting merge approval": "21837cdd561270cefc146079172511177736bb9091e9fb50d93bb072f271ecb0", @@ -1083,6 +1085,7 @@ "cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Candidate approved for draft": "59a57b9b459b3215e76b651f73f6521bc1bd71fa66bb52e046368a559db6632b", + "Candidate changed": "ca07c050cd47ab4f4d2f2fb6c60110b738af5b951a9ab708c36879365ec4532e", "Candidate changed since verification": "a2808e03661077a04403dab2204b7ce8d78310c296600bd03c5766a754f216a6", "Candidate cluster is not bound to a channel.": "6066a4e8725d065a7c2b8d2c8974a60c41c0a94124deeabd972f620ddd815786", "Candidate Clusters": "b617f8ce5325fa8984c324816b08d3a26c05dac3c3276bcc4f4ab7196222dbe4", @@ -1820,6 +1823,7 @@ "Could not start this scene.": "acb6aa181a8b842f1a8fc78344dc210cb98a45ccb6cf38ebd01beb65fe7fa27d", "Could not start this workflow test.": "7fe6f22a12127a9d74069d195a2513038cb2ff035acc4433d41e31006445e46e", "Could not switch projects. Showing the last loaded project.": "1a284203a5fd7f9d39c625017fde0d1c88180e3d2fa62b07aa7c9eb64a2e8aa6", + "Could not update handoff": "b6b7ff312171612e082d24ec92c854155d95fa6177a25cb0ac10f44e2c6110e2", "Could not update the default model. Try again.": "c87a00ab8ffb8c8c60209acf9b5cb10295a2a5e93c3e6f72dd8b2b4c316bdc16", "Council actions": "79763aae8f6334c6e29273106f3509b76114439dd686c9fa32753bca265eee32", "Council boundaries": "b4d6713050d140a9102817793dcb99d64565ee0d33d364b71f5d4d2afd234baf", @@ -3820,6 +3824,7 @@ "minutes": "90e63d85fa1ab2c8ed65222f3ebd794b1e524b4b7cf84bec451542d0451b2985", "missing": "ffa63583dfa6706b87d284b86b0d693a161e4840aad2c5cf6b5d27c3b9621f7d", "Missing": "6be36ca49ee85210c5d1ad9c377d90a9859c66d889110a2a5b0dccd390d12e20", + "Missing artifact": "e936c2df4de783be206107e353054e33ebba1c9988085200c260c7a6b8f8fc73", "Missing dependency": "5915d1e15e283f09695ad4b96ced9625bbd68aab747dc778f37aada0a7489b5c", "Missing fields": "69121d3f63d5a27ab7ce484854c065ce87e7022dc5fdfee9d778ab02515542fc", "Missing key": "0c8a17a63a322df1c40693b8469227cf5426b024673da9065f42c6cbb7c58370", @@ -5401,6 +5406,7 @@ "Requested URL": "8ae37b38fe2e415c8c641c3f2b6e9b42a11245cc8749a51a247cf0464b4c7faf", "Required": "4850b174b713d88cfc63de107830d5388929020e78abc91fc19bba7a6821625f", "Required before approving high-risk requests": "3cb612a5f43f4acbf5a6066a5da559bce858b50cdab2c2f6943bf4a05de1310a", + "Required check incomplete": "f64e6dfd1fc8cd1f2139aadf61c6ef43ecaa2ce783b2c712a56d31a574e05741", "Required checks": "f5a021846bd1a50002c0ea940f30cc97c285a118c62ff95af5c2f538584a7e26", "Required for assigned teammates": "4732aa544a8d93b886e6bcbbcc5c3314af692f8a8a812efd4844cd3589b7b63a", "Required input": "fafaaf99b5a6af521026448890a9dacaf4d47053804a34be7cdf364e13637181", @@ -5524,8 +5530,11 @@ "Retry upload": "731dc6e3f07ab1b090e925be766dd01d8e4aed2f0ad2cef600bf157bd7764500", "Retryable": "c282bd362abaadb6a38a4fdb268df44325f8bfde40f719b77fdd690180c51889", "Retrying automatically...": "220837f6132382f3e8d4fb676f31aab3dc9fabc34b8f26c2e4ced9b83ebce4ec", + "Return handoff": "1ae47e9a67b5866c28ccd52c2040500610b795d917cc6620a444c170ded79836", + "Return reason": "79f91549d760515b430db20e8f2f0c766e417826dfea15029dca20f6eb9865ac", "Return to an unlocked interactive Windows desktop, restart Ling if needed, then check again.": "bccd46e406f4d428d83a9dd510df581b52e5c28c51da4d357e3e66c21740ee0e", "Return to implementation mode": "36435baabf6c6acc0666fba73f68609f9a41d17389ea216a99f41b5036e8b6ef", + "Returned for repair": "07abb2b9ba19b479a5126883271bb99fa47e239dffb3337fb13bbe2778654158", "Reusable": "8ded2b384940a83eb986da575b9efa40f1b03fd1d626bd91964cbb11502e0b42", "Reuse images already saved in this media project.": "3c3dd902fab18f841a51942e3a4e92a93c8d39ddd8b48ae9ee017982a26fa1c1", "Reuse settings": "17507cf7d05b478d392e9aa85d9c60046c0e2a185959546ac0864a89b95ec744", @@ -5916,6 +5925,7 @@ "Schema, checksums, and package metadata": "d91ffc3c0cdd2c26d37ba9cf60de0a718343a3969303718321092f0367a68808", "Scope": "b073f6c68ef8721107fd9815b19b2c35ec111d526b75c2123d1111ba64424000", "Scope ID": "4a201ef6cbd70a0728fc5c62eb87fd73ac56e470c853a3112ebf27617e49ff76", + "Scope unavailable": "38a32037c55100c3ad97878ca4e361a734a3422fb35bdbaeacebf4babb16cdf3", "Screen capture and input stop. Ling never interacts with the lock screen, login window, password fields, or secure desktop.": "cece9f092190c9e9e4c9d54f7da59256e922a56556c843c4e2b44fb1a67b0c5f", "Screen Recording": "bc3c742893dc7aff9c88fad0aae3f6749a6679a45cbafb0981f0e2ddaed5c49c", "Scripts can contact external services. Only run documents you trust.": "aa3560983d2f6c2656f1a9329fcb9434fa520d6f64bcccf0e6ae91c82ddbb0dd", @@ -7264,6 +7274,7 @@ "Uploading avatar": "995b81efc53e808131bd98d546fb3fa493a44b9b43b752237e590bf5a2e487c8", "Uploading...": "72cb29c90ccd8361ee82d02fabe81a3f01605c7b8fea4c9996fc01d84e3fbb48", "Upstream": "94adc696fd24e9fd67e83ba256a9f33bf1d7191d4a5e38ee8c69597cd89e4777", + "Upstream result unconfirmed": "d345a9ef65cf22ec93d4a7a0457157bcdc8696a90ea8e72690d04b25d7447d94", "Upstream version": "7927b36324919e81ae646c1455b608aadcecdedb285d9985d63d80572c3d5214", "urgent": "f9d37c23fcc0f03c15a86aba71dce01dd0baa7a1568180e60c2347a5863151bc", "URL image edit": "444b0006116b72fd13097e57758caf2edaa14133af89617d79ed238d71f518ff", @@ -7460,6 +7471,7 @@ "Waiting for runner activity...": "d0e7a1fd3763c4062fe8ac59255b9281effe77d2fd1d79f9ae2498e56ac3b96f", "Waiting for runner events...": "dc60b71d9ccb374ef6e53cc9496c05fd15dcd7b4955ec8ae7603cf360af7e85e", "Waiting for sign-in": "749a343a3a25c1df679ee6d6e74abb72e08ef956bfa15434407e61934dc054c9", + "Waiting for source": "8ac1608b4d56ce4dcc84a6d489fb055d7e9281efa150baa1fd5c2be7f2dd220b", "Waiting for system confirmation and Host readback...": "952e73792f0715e2d1f30ef0b0c03c4353cd9ab96caa71856bbce7dc41e2d161", "waiting for user input": "f43ef097687b1d8c8800577eefa3f7e10d0c82236cd0017f983d131e8e673174", "Waiting for votes": "bbb50edc12d1ce791069a8e84ca6e73a255b796306d32cdc1414987b986e172f", @@ -8079,6 +8091,7 @@ "A skill with the same identity already exists.": "En ferdighet med samme identitet finnes allerede.", "Abstain": "Avstå", "Accept": "Akseptere", + "Accept handoff": "Godta overlevering", "Acceptance": "Godkjennelse", "Acceptance checks will be clarified before execution.": "Akseptkontroll vil bli avklart før utførelse.", "Acceptance criteria": "Akseptkriterier", @@ -8630,6 +8643,7 @@ "Avatar uploaded": "Avatar lastet opp", "Avatar, name, and a compact working brief.": "Avatar, navn og en kompakt arbeidstruse.", "Avoid triggers": "Unngå triggere", + "Awaiting acceptance": "Venter på aksept", "Awaiting confirmation": "Venter på bekreftelse", "Awaiting enable": "Venter på aktivering", "Awaiting merge approval": "Venter på godkjenning av sammenslåing", @@ -8819,6 +8833,7 @@ "cancelling": "Avbryter", "Cancelling": "Avbryter", "Candidate approved for draft": "Kandidat godkjent for utkast", + "Candidate changed": "Kandidat endret", "Candidate changed since verification": "Kandidat endret siden verifisering", "Candidate cluster is not bound to a channel.": "Kandidatklyngen er ikke bundet til en kanal.", "Candidate Clusters": "Kandidatklynger", @@ -9556,6 +9571,7 @@ "Could not start this scene.": "Kunne ikke starte denne scenen.", "Could not start this workflow test.": "Kunne ikke starte denne arbeidsflyttesten.", "Could not switch projects. Showing the last loaded project.": "Kunne ikke bytte prosjekt. Viser det sist innlastede prosjektet.", + "Could not update handoff": "Kunne ikke oppdatere overlevering", "Could not update the default model. Try again.": "Kunne ikke oppdatere standardmodellen. Prøv igjen.", "Council actions": "Rådets handlinger", "Council boundaries": "Rådsgrenser", @@ -11556,6 +11572,7 @@ "minutes": "minutter", "missing": "savnet", "Missing": "Savnet", + "Missing artifact": "Manglende gjenstand", "Missing dependency": "Missing dependency", "Missing fields": "Manglende felt", "Missing key": "Mangler nøkkel", @@ -13137,6 +13154,7 @@ "Requested URL": "Forespurte URL", "Required": "Obligatorisk", "Required before approving high-risk requests": "Obligatorisk før du godkjenner høyrisikoforespørsler", + "Required check incomplete": "Nødvendig sjekk ufullstendig", "Required checks": "Nødvendige sjekker", "Required for assigned teammates": "Kreves for tildelte lagkamerater", "Required input": "Nødvendig innspill", @@ -13260,8 +13278,11 @@ "Retry upload": "Prøv å laste opp på nytt", "Retryable": "Kan prøves på nytt", "Retrying automatically...": "Prøver automatisk på nytt...", + "Return handoff": "Tilbakelevering", + "Return reason": "Årsak til retur", "Return to an unlocked interactive Windows desktop, restart Ling if needed, then check again.": "Gå tilbake til et ulåst interaktivt Windows-skrivebord, start Ling på nytt om nødvendig, og sjekk igjen.", "Return to implementation mode": "Gå tilbake til implementeringsmodus", + "Returned for repair": "Returnert for reparasjon", "Reusable": "Gjenbrukbare", "Reuse images already saved in this media project.": "Gjenbruk bilder som allerede er lagret i dette medieprosjektet.", "Reuse settings": "Gjenbruk innstillinger", @@ -13652,6 +13673,7 @@ "Schema, checksums, and package metadata": "Skjema, sjekksummer og pakkemetadata", "Scope": "Omfang", "Scope ID": "Omfang ID", + "Scope unavailable": "Omfang utilgjengelig", "Screen capture and input stop. Ling never interacts with the lock screen, login window, password fields, or secure desktop.": "Skjermfangst og inndatastopp. Ling samhandler aldri med låseskjermen, påloggingsvinduet, passordfeltene eller det sikre skrivebordet.", "Screen Recording": "Skjermopptak", "Scripts can contact external services. Only run documents you trust.": "Scripts can contact external services. Only run documents you trust.", @@ -15000,6 +15022,7 @@ "Uploading avatar": "Laster opp avatar", "Uploading...": "Laster opp ...", "Upstream": "Oppstrøms", + "Upstream result unconfirmed": "Oppstrøms resultat ubekreftet", "Upstream version": "Oppstrømsversjon", "urgent": "som haster", "URL image edit": "URL bilderedigering", @@ -15196,6 +15219,7 @@ "Waiting for runner activity...": "Venter på løperaktivitet...", "Waiting for runner events...": "Venter på løperbegivenheter...", "Waiting for sign-in": "Venter på pålogging", + "Waiting for source": "Venter på kilde", "Waiting for system confirmation and Host readback...": "Venter på systembekreftelse og vertsavlesning...", "waiting for user input": "venter på brukerinnspill", "Waiting for votes": "Venter på stemmer", diff --git a/packages/localization/catalogs/nl-NL.json b/packages/localization/catalogs/nl-NL.json index e9308b45d..67e862913 100644 --- a/packages/localization/catalogs/nl-NL.json +++ b/packages/localization/catalogs/nl-NL.json @@ -1,6 +1,6 @@ { "locale": "nl-NL", - "sourceRevision": "e134cc889637523423524b121cf71dcb37afdd3d7daf48eaea975d1c39785b2e", + "sourceRevision": "95b7d5d6546abac9c1f3ec3e54efe7bff99c84252c464896ecb9bf2245f66dfd", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -343,6 +343,7 @@ "A skill with the same identity already exists.": "66dd592d63333b2f2738e59f82a3866d9a6db17154a2cc2a752727f9a40998d1", "Abstain": "bf92ab42d052ce917d87cccce310e4351900347095f57947b3d08c1b1ff8bcf3", "Accept": "89713b9c9c1b8f659c9f49db25e4a47886dd673fee248c3f650391f09a759cef", + "Accept handoff": "13e3dc2abccf1296c34099b2080efb8c78ad82067436ff2039024f22ed8cc2e9", "Acceptance": "f190a5cb3aff17b0ee84f6ee258333d63a9cc71aa66c2e1788ebc3ae24a89b10", "Acceptance checks will be clarified before execution.": "ffd59db22fb4d3abb3c9cc67c351c818e1732dfca2d6cd18ae361a711fa4bb72", "Acceptance criteria": "d47a36f4f055810755db08b8d52e479baa4bb7a7a1f6449f71fa1ad5c20495ef", @@ -894,6 +895,7 @@ "Avatar uploaded": "d0d5a01f3f30fd933994a5950ddae3d14384d2c850c05deb50532b65aa6593ba", "Avatar, name, and a compact working brief.": "8d3706d4928090efbf7eca6683e3357f4f92732bc8be64c50dc8af8620a256c1", "Avoid triggers": "1419db0b6ddbd1f3a1632043da73529ecbcb0aef9183fd7d78e12df2942444de", + "Awaiting acceptance": "1dc7bfd9c54d73f22b4a9bdca5f741d5067a673b7f99d77e85367f6c8f049f85", "Awaiting confirmation": "d0ae0b38eac639b98f6a9b793a7add708bedbc6156963e3abc00453b235b2f3d", "Awaiting enable": "2a6b618d273346e8198806aa0d934a4bd6f5bf8b29d0780076df974ca93bf548", "Awaiting merge approval": "21837cdd561270cefc146079172511177736bb9091e9fb50d93bb072f271ecb0", @@ -1083,6 +1085,7 @@ "cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Candidate approved for draft": "59a57b9b459b3215e76b651f73f6521bc1bd71fa66bb52e046368a559db6632b", + "Candidate changed": "ca07c050cd47ab4f4d2f2fb6c60110b738af5b951a9ab708c36879365ec4532e", "Candidate changed since verification": "a2808e03661077a04403dab2204b7ce8d78310c296600bd03c5766a754f216a6", "Candidate cluster is not bound to a channel.": "6066a4e8725d065a7c2b8d2c8974a60c41c0a94124deeabd972f620ddd815786", "Candidate Clusters": "b617f8ce5325fa8984c324816b08d3a26c05dac3c3276bcc4f4ab7196222dbe4", @@ -1820,6 +1823,7 @@ "Could not start this scene.": "acb6aa181a8b842f1a8fc78344dc210cb98a45ccb6cf38ebd01beb65fe7fa27d", "Could not start this workflow test.": "7fe6f22a12127a9d74069d195a2513038cb2ff035acc4433d41e31006445e46e", "Could not switch projects. Showing the last loaded project.": "1a284203a5fd7f9d39c625017fde0d1c88180e3d2fa62b07aa7c9eb64a2e8aa6", + "Could not update handoff": "b6b7ff312171612e082d24ec92c854155d95fa6177a25cb0ac10f44e2c6110e2", "Could not update the default model. Try again.": "c87a00ab8ffb8c8c60209acf9b5cb10295a2a5e93c3e6f72dd8b2b4c316bdc16", "Council actions": "79763aae8f6334c6e29273106f3509b76114439dd686c9fa32753bca265eee32", "Council boundaries": "b4d6713050d140a9102817793dcb99d64565ee0d33d364b71f5d4d2afd234baf", @@ -3820,6 +3824,7 @@ "minutes": "90e63d85fa1ab2c8ed65222f3ebd794b1e524b4b7cf84bec451542d0451b2985", "missing": "ffa63583dfa6706b87d284b86b0d693a161e4840aad2c5cf6b5d27c3b9621f7d", "Missing": "6be36ca49ee85210c5d1ad9c377d90a9859c66d889110a2a5b0dccd390d12e20", + "Missing artifact": "e936c2df4de783be206107e353054e33ebba1c9988085200c260c7a6b8f8fc73", "Missing dependency": "5915d1e15e283f09695ad4b96ced9625bbd68aab747dc778f37aada0a7489b5c", "Missing fields": "69121d3f63d5a27ab7ce484854c065ce87e7022dc5fdfee9d778ab02515542fc", "Missing key": "0c8a17a63a322df1c40693b8469227cf5426b024673da9065f42c6cbb7c58370", @@ -5401,6 +5406,7 @@ "Requested URL": "8ae37b38fe2e415c8c641c3f2b6e9b42a11245cc8749a51a247cf0464b4c7faf", "Required": "4850b174b713d88cfc63de107830d5388929020e78abc91fc19bba7a6821625f", "Required before approving high-risk requests": "3cb612a5f43f4acbf5a6066a5da559bce858b50cdab2c2f6943bf4a05de1310a", + "Required check incomplete": "f64e6dfd1fc8cd1f2139aadf61c6ef43ecaa2ce783b2c712a56d31a574e05741", "Required checks": "f5a021846bd1a50002c0ea940f30cc97c285a118c62ff95af5c2f538584a7e26", "Required for assigned teammates": "4732aa544a8d93b886e6bcbbcc5c3314af692f8a8a812efd4844cd3589b7b63a", "Required input": "fafaaf99b5a6af521026448890a9dacaf4d47053804a34be7cdf364e13637181", @@ -5524,8 +5530,11 @@ "Retry upload": "731dc6e3f07ab1b090e925be766dd01d8e4aed2f0ad2cef600bf157bd7764500", "Retryable": "c282bd362abaadb6a38a4fdb268df44325f8bfde40f719b77fdd690180c51889", "Retrying automatically...": "220837f6132382f3e8d4fb676f31aab3dc9fabc34b8f26c2e4ced9b83ebce4ec", + "Return handoff": "1ae47e9a67b5866c28ccd52c2040500610b795d917cc6620a444c170ded79836", + "Return reason": "79f91549d760515b430db20e8f2f0c766e417826dfea15029dca20f6eb9865ac", "Return to an unlocked interactive Windows desktop, restart Ling if needed, then check again.": "bccd46e406f4d428d83a9dd510df581b52e5c28c51da4d357e3e66c21740ee0e", "Return to implementation mode": "36435baabf6c6acc0666fba73f68609f9a41d17389ea216a99f41b5036e8b6ef", + "Returned for repair": "07abb2b9ba19b479a5126883271bb99fa47e239dffb3337fb13bbe2778654158", "Reusable": "8ded2b384940a83eb986da575b9efa40f1b03fd1d626bd91964cbb11502e0b42", "Reuse images already saved in this media project.": "3c3dd902fab18f841a51942e3a4e92a93c8d39ddd8b48ae9ee017982a26fa1c1", "Reuse settings": "17507cf7d05b478d392e9aa85d9c60046c0e2a185959546ac0864a89b95ec744", @@ -5916,6 +5925,7 @@ "Schema, checksums, and package metadata": "d91ffc3c0cdd2c26d37ba9cf60de0a718343a3969303718321092f0367a68808", "Scope": "b073f6c68ef8721107fd9815b19b2c35ec111d526b75c2123d1111ba64424000", "Scope ID": "4a201ef6cbd70a0728fc5c62eb87fd73ac56e470c853a3112ebf27617e49ff76", + "Scope unavailable": "38a32037c55100c3ad97878ca4e361a734a3422fb35bdbaeacebf4babb16cdf3", "Screen capture and input stop. Ling never interacts with the lock screen, login window, password fields, or secure desktop.": "cece9f092190c9e9e4c9d54f7da59256e922a56556c843c4e2b44fb1a67b0c5f", "Screen Recording": "bc3c742893dc7aff9c88fad0aae3f6749a6679a45cbafb0981f0e2ddaed5c49c", "Scripts can contact external services. Only run documents you trust.": "aa3560983d2f6c2656f1a9329fcb9434fa520d6f64bcccf0e6ae91c82ddbb0dd", @@ -7264,6 +7274,7 @@ "Uploading avatar": "995b81efc53e808131bd98d546fb3fa493a44b9b43b752237e590bf5a2e487c8", "Uploading...": "72cb29c90ccd8361ee82d02fabe81a3f01605c7b8fea4c9996fc01d84e3fbb48", "Upstream": "94adc696fd24e9fd67e83ba256a9f33bf1d7191d4a5e38ee8c69597cd89e4777", + "Upstream result unconfirmed": "d345a9ef65cf22ec93d4a7a0457157bcdc8696a90ea8e72690d04b25d7447d94", "Upstream version": "7927b36324919e81ae646c1455b608aadcecdedb285d9985d63d80572c3d5214", "urgent": "f9d37c23fcc0f03c15a86aba71dce01dd0baa7a1568180e60c2347a5863151bc", "URL image edit": "444b0006116b72fd13097e57758caf2edaa14133af89617d79ed238d71f518ff", @@ -7460,6 +7471,7 @@ "Waiting for runner activity...": "d0e7a1fd3763c4062fe8ac59255b9281effe77d2fd1d79f9ae2498e56ac3b96f", "Waiting for runner events...": "dc60b71d9ccb374ef6e53cc9496c05fd15dcd7b4955ec8ae7603cf360af7e85e", "Waiting for sign-in": "749a343a3a25c1df679ee6d6e74abb72e08ef956bfa15434407e61934dc054c9", + "Waiting for source": "8ac1608b4d56ce4dcc84a6d489fb055d7e9281efa150baa1fd5c2be7f2dd220b", "Waiting for system confirmation and Host readback...": "952e73792f0715e2d1f30ef0b0c03c4353cd9ab96caa71856bbce7dc41e2d161", "waiting for user input": "f43ef097687b1d8c8800577eefa3f7e10d0c82236cd0017f983d131e8e673174", "Waiting for votes": "bbb50edc12d1ce791069a8e84ca6e73a255b796306d32cdc1414987b986e172f", @@ -8079,6 +8091,7 @@ "A skill with the same identity already exists.": "Er bestaat al een vaardigheid met dezelfde identiteit.", "Abstain": "Onthouden", "Accept": "Accepteren", + "Accept handoff": "Accepteer overdracht", "Acceptance": "Aanvaarding", "Acceptance checks will be clarified before execution.": "Acceptatiecontroles zullen vóór uitvoering worden verduidelijkt.", "Acceptance criteria": "Acceptatiecriteria", @@ -8630,6 +8643,7 @@ "Avatar uploaded": "Avatar geüpload", "Avatar, name, and a compact working brief.": "Avatar, naam en een compacte werkopdracht.", "Avoid triggers": "Vermijd triggers", + "Awaiting acceptance": "In afwachting van acceptatie", "Awaiting confirmation": "In afwachting van bevestiging", "Awaiting enable": "In afwachting van inschakelen", "Awaiting merge approval": "In afwachting van goedkeuring van de fusie", @@ -8819,6 +8833,7 @@ "cancelling": "Annuleren", "Cancelling": "Annuleren", "Candidate approved for draft": "Kandidaat goedgekeurd voor concept", + "Candidate changed": "Kandidaat gewijzigd", "Candidate changed since verification": "Kandidaat gewijzigd sinds verificatie", "Candidate cluster is not bound to a channel.": "Kandidaatcluster is niet gebonden aan een kanaal.", "Candidate Clusters": "Kandidaatclusters", @@ -9556,6 +9571,7 @@ "Could not start this scene.": "Kan deze scène niet starten.", "Could not start this workflow test.": "Kan deze workflowtest niet starten.", "Could not switch projects. Showing the last loaded project.": "Kan niet van project wisselen. Toont het laatst geladen project.", + "Could not update handoff": "Kan overdracht niet bijwerken", "Could not update the default model. Try again.": "Kan het standaardmodel niet updaten. Probeer het opnieuw.", "Council actions": "Acties van de Raad", "Council boundaries": "Grenzen van de Raad", @@ -11556,6 +11572,7 @@ "minutes": "notulen", "missing": "ontbreekt", "Missing": "Ontbreekt", + "Missing artifact": "Ontbrekend artefact", "Missing dependency": "Missing dependency", "Missing fields": "Ontbrekende velden", "Missing key": "Ontbrekende sleutel", @@ -13137,6 +13154,7 @@ "Requested URL": "URL aangevraagd", "Required": "Vereist", "Required before approving high-risk requests": "Vereist voordat verzoeken met een hoog risico worden goedgekeurd", + "Required check incomplete": "Vereiste cheque is onvolledig", "Required checks": "Vereiste controles", "Required for assigned teammates": "Vereist voor toegewezen teamgenoten", "Required input": "Vereiste invoer", @@ -13260,8 +13278,11 @@ "Retry upload": "Probeer opnieuw te uploaden", "Retryable": "Opnieuw te proberen", "Retrying automatically...": "Automatisch opnieuw proberen...", + "Return handoff": "Teruggave overdracht", + "Return reason": "Reden retour", "Return to an unlocked interactive Windows desktop, restart Ling if needed, then check again.": "Keer terug naar een ontgrendeld interactief Windows-bureaublad, start Ling indien nodig opnieuw op en controleer het opnieuw.", "Return to implementation mode": "Keer terug naar de implementatiemodus", + "Returned for repair": "Teruggestuurd voor reparatie", "Reusable": "Herbruikbaar", "Reuse images already saved in this media project.": "Hergebruik afbeeldingen die al in dit mediaproject zijn opgeslagen.", "Reuse settings": "Instellingen opnieuw gebruiken", @@ -13652,6 +13673,7 @@ "Schema, checksums, and package metadata": "Schema, controlesommen en pakketmetagegevens", "Scope": "Domein", "Scope ID": "Bereik ID", + "Scope unavailable": "Bereik niet beschikbaar", "Screen capture and input stop. Ling never interacts with the lock screen, login window, password fields, or secure desktop.": "Schermopname en invoerstop. Ling heeft nooit interactie met het vergrendelscherm, het inlogvenster, de wachtwoordvelden of het beveiligde bureaublad.", "Screen Recording": "Schermopname", "Scripts can contact external services. Only run documents you trust.": "Scripts can contact external services. Only run documents you trust.", @@ -15000,6 +15022,7 @@ "Uploading avatar": "Avatar uploaden", "Uploading...": "Uploaden...", "Upstream": "Stroomopwaarts", + "Upstream result unconfirmed": "Stroomopwaarts resultaat onbevestigd", "Upstream version": "Stroomopwaartse versie", "urgent": "dringend", "URL image edit": "URL beeldbewerking", @@ -15196,6 +15219,7 @@ "Waiting for runner activity...": "Wachten op hardloperactiviteit...", "Waiting for runner events...": "Wachten op runner-evenementen...", "Waiting for sign-in": "Wachten op inloggen", + "Waiting for source": "Wachten op bron", "Waiting for system confirmation and Host readback...": "Wachten op systeembevestiging en host-teruglezing...", "waiting for user input": "wachten op gebruikersinvoer", "Waiting for votes": "Wachten op stemmen", diff --git a/packages/localization/catalogs/pl-PL.json b/packages/localization/catalogs/pl-PL.json index 5dca771a1..98f14b10c 100644 --- a/packages/localization/catalogs/pl-PL.json +++ b/packages/localization/catalogs/pl-PL.json @@ -1,6 +1,6 @@ { "locale": "pl-PL", - "sourceRevision": "e134cc889637523423524b121cf71dcb37afdd3d7daf48eaea975d1c39785b2e", + "sourceRevision": "95b7d5d6546abac9c1f3ec3e54efe7bff99c84252c464896ecb9bf2245f66dfd", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -343,6 +343,7 @@ "A skill with the same identity already exists.": "66dd592d63333b2f2738e59f82a3866d9a6db17154a2cc2a752727f9a40998d1", "Abstain": "bf92ab42d052ce917d87cccce310e4351900347095f57947b3d08c1b1ff8bcf3", "Accept": "89713b9c9c1b8f659c9f49db25e4a47886dd673fee248c3f650391f09a759cef", + "Accept handoff": "13e3dc2abccf1296c34099b2080efb8c78ad82067436ff2039024f22ed8cc2e9", "Acceptance": "f190a5cb3aff17b0ee84f6ee258333d63a9cc71aa66c2e1788ebc3ae24a89b10", "Acceptance checks will be clarified before execution.": "ffd59db22fb4d3abb3c9cc67c351c818e1732dfca2d6cd18ae361a711fa4bb72", "Acceptance criteria": "d47a36f4f055810755db08b8d52e479baa4bb7a7a1f6449f71fa1ad5c20495ef", @@ -894,6 +895,7 @@ "Avatar uploaded": "d0d5a01f3f30fd933994a5950ddae3d14384d2c850c05deb50532b65aa6593ba", "Avatar, name, and a compact working brief.": "8d3706d4928090efbf7eca6683e3357f4f92732bc8be64c50dc8af8620a256c1", "Avoid triggers": "1419db0b6ddbd1f3a1632043da73529ecbcb0aef9183fd7d78e12df2942444de", + "Awaiting acceptance": "1dc7bfd9c54d73f22b4a9bdca5f741d5067a673b7f99d77e85367f6c8f049f85", "Awaiting confirmation": "d0ae0b38eac639b98f6a9b793a7add708bedbc6156963e3abc00453b235b2f3d", "Awaiting enable": "2a6b618d273346e8198806aa0d934a4bd6f5bf8b29d0780076df974ca93bf548", "Awaiting merge approval": "21837cdd561270cefc146079172511177736bb9091e9fb50d93bb072f271ecb0", @@ -1083,6 +1085,7 @@ "cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Candidate approved for draft": "59a57b9b459b3215e76b651f73f6521bc1bd71fa66bb52e046368a559db6632b", + "Candidate changed": "ca07c050cd47ab4f4d2f2fb6c60110b738af5b951a9ab708c36879365ec4532e", "Candidate changed since verification": "a2808e03661077a04403dab2204b7ce8d78310c296600bd03c5766a754f216a6", "Candidate cluster is not bound to a channel.": "6066a4e8725d065a7c2b8d2c8974a60c41c0a94124deeabd972f620ddd815786", "Candidate Clusters": "b617f8ce5325fa8984c324816b08d3a26c05dac3c3276bcc4f4ab7196222dbe4", @@ -1820,6 +1823,7 @@ "Could not start this scene.": "acb6aa181a8b842f1a8fc78344dc210cb98a45ccb6cf38ebd01beb65fe7fa27d", "Could not start this workflow test.": "7fe6f22a12127a9d74069d195a2513038cb2ff035acc4433d41e31006445e46e", "Could not switch projects. Showing the last loaded project.": "1a284203a5fd7f9d39c625017fde0d1c88180e3d2fa62b07aa7c9eb64a2e8aa6", + "Could not update handoff": "b6b7ff312171612e082d24ec92c854155d95fa6177a25cb0ac10f44e2c6110e2", "Could not update the default model. Try again.": "c87a00ab8ffb8c8c60209acf9b5cb10295a2a5e93c3e6f72dd8b2b4c316bdc16", "Council actions": "79763aae8f6334c6e29273106f3509b76114439dd686c9fa32753bca265eee32", "Council boundaries": "b4d6713050d140a9102817793dcb99d64565ee0d33d364b71f5d4d2afd234baf", @@ -3820,6 +3824,7 @@ "minutes": "90e63d85fa1ab2c8ed65222f3ebd794b1e524b4b7cf84bec451542d0451b2985", "missing": "ffa63583dfa6706b87d284b86b0d693a161e4840aad2c5cf6b5d27c3b9621f7d", "Missing": "6be36ca49ee85210c5d1ad9c377d90a9859c66d889110a2a5b0dccd390d12e20", + "Missing artifact": "e936c2df4de783be206107e353054e33ebba1c9988085200c260c7a6b8f8fc73", "Missing dependency": "5915d1e15e283f09695ad4b96ced9625bbd68aab747dc778f37aada0a7489b5c", "Missing fields": "69121d3f63d5a27ab7ce484854c065ce87e7022dc5fdfee9d778ab02515542fc", "Missing key": "0c8a17a63a322df1c40693b8469227cf5426b024673da9065f42c6cbb7c58370", @@ -5401,6 +5406,7 @@ "Requested URL": "8ae37b38fe2e415c8c641c3f2b6e9b42a11245cc8749a51a247cf0464b4c7faf", "Required": "4850b174b713d88cfc63de107830d5388929020e78abc91fc19bba7a6821625f", "Required before approving high-risk requests": "3cb612a5f43f4acbf5a6066a5da559bce858b50cdab2c2f6943bf4a05de1310a", + "Required check incomplete": "f64e6dfd1fc8cd1f2139aadf61c6ef43ecaa2ce783b2c712a56d31a574e05741", "Required checks": "f5a021846bd1a50002c0ea940f30cc97c285a118c62ff95af5c2f538584a7e26", "Required for assigned teammates": "4732aa544a8d93b886e6bcbbcc5c3314af692f8a8a812efd4844cd3589b7b63a", "Required input": "fafaaf99b5a6af521026448890a9dacaf4d47053804a34be7cdf364e13637181", @@ -5524,8 +5530,11 @@ "Retry upload": "731dc6e3f07ab1b090e925be766dd01d8e4aed2f0ad2cef600bf157bd7764500", "Retryable": "c282bd362abaadb6a38a4fdb268df44325f8bfde40f719b77fdd690180c51889", "Retrying automatically...": "220837f6132382f3e8d4fb676f31aab3dc9fabc34b8f26c2e4ced9b83ebce4ec", + "Return handoff": "1ae47e9a67b5866c28ccd52c2040500610b795d917cc6620a444c170ded79836", + "Return reason": "79f91549d760515b430db20e8f2f0c766e417826dfea15029dca20f6eb9865ac", "Return to an unlocked interactive Windows desktop, restart Ling if needed, then check again.": "bccd46e406f4d428d83a9dd510df581b52e5c28c51da4d357e3e66c21740ee0e", "Return to implementation mode": "36435baabf6c6acc0666fba73f68609f9a41d17389ea216a99f41b5036e8b6ef", + "Returned for repair": "07abb2b9ba19b479a5126883271bb99fa47e239dffb3337fb13bbe2778654158", "Reusable": "8ded2b384940a83eb986da575b9efa40f1b03fd1d626bd91964cbb11502e0b42", "Reuse images already saved in this media project.": "3c3dd902fab18f841a51942e3a4e92a93c8d39ddd8b48ae9ee017982a26fa1c1", "Reuse settings": "17507cf7d05b478d392e9aa85d9c60046c0e2a185959546ac0864a89b95ec744", @@ -5916,6 +5925,7 @@ "Schema, checksums, and package metadata": "d91ffc3c0cdd2c26d37ba9cf60de0a718343a3969303718321092f0367a68808", "Scope": "b073f6c68ef8721107fd9815b19b2c35ec111d526b75c2123d1111ba64424000", "Scope ID": "4a201ef6cbd70a0728fc5c62eb87fd73ac56e470c853a3112ebf27617e49ff76", + "Scope unavailable": "38a32037c55100c3ad97878ca4e361a734a3422fb35bdbaeacebf4babb16cdf3", "Screen capture and input stop. Ling never interacts with the lock screen, login window, password fields, or secure desktop.": "cece9f092190c9e9e4c9d54f7da59256e922a56556c843c4e2b44fb1a67b0c5f", "Screen Recording": "bc3c742893dc7aff9c88fad0aae3f6749a6679a45cbafb0981f0e2ddaed5c49c", "Scripts can contact external services. Only run documents you trust.": "aa3560983d2f6c2656f1a9329fcb9434fa520d6f64bcccf0e6ae91c82ddbb0dd", @@ -7264,6 +7274,7 @@ "Uploading avatar": "995b81efc53e808131bd98d546fb3fa493a44b9b43b752237e590bf5a2e487c8", "Uploading...": "72cb29c90ccd8361ee82d02fabe81a3f01605c7b8fea4c9996fc01d84e3fbb48", "Upstream": "94adc696fd24e9fd67e83ba256a9f33bf1d7191d4a5e38ee8c69597cd89e4777", + "Upstream result unconfirmed": "d345a9ef65cf22ec93d4a7a0457157bcdc8696a90ea8e72690d04b25d7447d94", "Upstream version": "7927b36324919e81ae646c1455b608aadcecdedb285d9985d63d80572c3d5214", "urgent": "f9d37c23fcc0f03c15a86aba71dce01dd0baa7a1568180e60c2347a5863151bc", "URL image edit": "444b0006116b72fd13097e57758caf2edaa14133af89617d79ed238d71f518ff", @@ -7460,6 +7471,7 @@ "Waiting for runner activity...": "d0e7a1fd3763c4062fe8ac59255b9281effe77d2fd1d79f9ae2498e56ac3b96f", "Waiting for runner events...": "dc60b71d9ccb374ef6e53cc9496c05fd15dcd7b4955ec8ae7603cf360af7e85e", "Waiting for sign-in": "749a343a3a25c1df679ee6d6e74abb72e08ef956bfa15434407e61934dc054c9", + "Waiting for source": "8ac1608b4d56ce4dcc84a6d489fb055d7e9281efa150baa1fd5c2be7f2dd220b", "Waiting for system confirmation and Host readback...": "952e73792f0715e2d1f30ef0b0c03c4353cd9ab96caa71856bbce7dc41e2d161", "waiting for user input": "f43ef097687b1d8c8800577eefa3f7e10d0c82236cd0017f983d131e8e673174", "Waiting for votes": "bbb50edc12d1ce791069a8e84ca6e73a255b796306d32cdc1414987b986e172f", @@ -8079,6 +8091,7 @@ "A skill with the same identity already exists.": "Umiejętność o tej samej tożsamości już istnieje.", "Abstain": "Wstrzymać się", "Accept": "Przyjąć", + "Accept handoff": "Zaakceptuj przekazanie", "Acceptance": "Przyjęcie", "Acceptance checks will be clarified before execution.": "Kontrole akceptacji zostaną wyjaśnione przed wykonaniem.", "Acceptance criteria": "Kryteria akceptacji", @@ -8630,6 +8643,7 @@ "Avatar uploaded": "Awatar przesłany", "Avatar, name, and a compact working brief.": "Awatar, imię i krótki opis pracy.", "Avoid triggers": "Unikaj wyzwalaczy", + "Awaiting acceptance": "Oczekiwanie na akceptację", "Awaiting confirmation": "Oczekiwanie na potwierdzenie", "Awaiting enable": "Oczekiwanie na włączenie", "Awaiting merge approval": "Oczekiwanie na zatwierdzenie połączenia", @@ -8819,6 +8833,7 @@ "cancelling": "Anulowanie", "Cancelling": "Anulowanie", "Candidate approved for draft": "Kandydat zatwierdzony do projektu", + "Candidate changed": "Kandydat się zmienił", "Candidate changed since verification": "Kandydat zmienił się od czasu weryfikacji", "Candidate cluster is not bound to a channel.": "Klaster kandydatów nie jest powiązany z kanałem.", "Candidate Clusters": "Klastry Kandydatów", @@ -9556,6 +9571,7 @@ "Could not start this scene.": "Nie można rozpocząć tej sceny.", "Could not start this workflow test.": "Nie można rozpocząć tego testu przepływu pracy.", "Could not switch projects. Showing the last loaded project.": "Nie udało się przełączyć projektów. Wyświetlanie ostatnio załadowanego projektu.", + "Could not update handoff": "Nie można zaktualizować przekazania", "Could not update the default model. Try again.": "Nie można zaktualizować modelu domyślnego. Spróbuj ponownie.", "Council actions": "Działania Rady", "Council boundaries": "Granice Rady", @@ -11556,6 +11572,7 @@ "minutes": "protokół", "missing": "zaginiony", "Missing": "Zaginiony", + "Missing artifact": "Brakujący artefakt", "Missing dependency": "Missing dependency", "Missing fields": "Brakujące pola", "Missing key": "Brakujący klucz", @@ -13137,6 +13154,7 @@ "Requested URL": "Zażądano URL", "Required": "Wymagany", "Required before approving high-risk requests": "Wymagane przed zatwierdzeniem żądań wysokiego ryzyka", + "Required check incomplete": "Wymagane sprawdzenie niekompletne", "Required checks": "Wymagane kontrole", "Required for assigned teammates": "Wymagane dla przypisanych członków drużyny", "Required input": "Wymagane dane wejściowe", @@ -13260,8 +13278,11 @@ "Retry upload": "Spróbuj przesłać ponownie", "Retryable": "Możliwość ponownej próby", "Retrying automatically...": "Automatyczna ponowna próba...", + "Return handoff": "Przekazanie zwrotne", + "Return reason": "Powód zwrotu", "Return to an unlocked interactive Windows desktop, restart Ling if needed, then check again.": "Wróć do odblokowanego interaktywnego pulpitu systemu Windows, w razie potrzeby uruchom ponownie Ling, a następnie sprawdź ponownie.", "Return to implementation mode": "Wróć do trybu realizacji", + "Returned for repair": "Wrócił do naprawy", "Reusable": "Wielokrotnego użytku", "Reuse images already saved in this media project.": "Wykorzystaj ponownie obrazy zapisane już w tym projekcie multimedialnym.", "Reuse settings": "Użyj ponownie ustawień", @@ -13652,6 +13673,7 @@ "Schema, checksums, and package metadata": "Schemat, sumy kontrolne i metadane pakietu", "Scope": "Zakres", "Scope ID": "Zakres ID", + "Scope unavailable": "Zakres niedostępny", "Screen capture and input stop. Ling never interacts with the lock screen, login window, password fields, or secure desktop.": "Przechwytywanie ekranu i zatrzymanie wprowadzania danych. Ling nigdy nie wchodzi w interakcję z ekranem blokady, oknem logowania, polami haseł ani bezpiecznym pulpitem.", "Screen Recording": "Nagrywanie ekranu", "Scripts can contact external services. Only run documents you trust.": "Scripts can contact external services. Only run documents you trust.", @@ -15000,6 +15022,7 @@ "Uploading avatar": "Przesyłanie awatara", "Uploading...": "Przesyłanie...", "Upstream": "Pod prąd", + "Upstream result unconfirmed": "Wynik upstream niepotwierdzony", "Upstream version": "Wersja upstream", "urgent": "pilny", "URL image edit": "Edycja obrazu URL", @@ -15196,6 +15219,7 @@ "Waiting for runner activity...": "Oczekiwanie na aktywność biegacza...", "Waiting for runner events...": "W oczekiwaniu na wydarzenia biegowe...", "Waiting for sign-in": "Oczekiwanie na logowanie", + "Waiting for source": "Czekam na źródło", "Waiting for system confirmation and Host readback...": "Oczekiwanie na potwierdzenie systemu i odczyt hosta...", "waiting for user input": "oczekiwanie na dane wejściowe użytkownika", "Waiting for votes": "Czekam na głosy", diff --git a/packages/localization/catalogs/pt-BR.json b/packages/localization/catalogs/pt-BR.json index 4b6238672..fca7bffeb 100644 --- a/packages/localization/catalogs/pt-BR.json +++ b/packages/localization/catalogs/pt-BR.json @@ -1,6 +1,6 @@ { "locale": "pt-BR", - "sourceRevision": "e134cc889637523423524b121cf71dcb37afdd3d7daf48eaea975d1c39785b2e", + "sourceRevision": "95b7d5d6546abac9c1f3ec3e54efe7bff99c84252c464896ecb9bf2245f66dfd", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -343,6 +343,7 @@ "A skill with the same identity already exists.": "66dd592d63333b2f2738e59f82a3866d9a6db17154a2cc2a752727f9a40998d1", "Abstain": "bf92ab42d052ce917d87cccce310e4351900347095f57947b3d08c1b1ff8bcf3", "Accept": "89713b9c9c1b8f659c9f49db25e4a47886dd673fee248c3f650391f09a759cef", + "Accept handoff": "13e3dc2abccf1296c34099b2080efb8c78ad82067436ff2039024f22ed8cc2e9", "Acceptance": "f190a5cb3aff17b0ee84f6ee258333d63a9cc71aa66c2e1788ebc3ae24a89b10", "Acceptance checks will be clarified before execution.": "ffd59db22fb4d3abb3c9cc67c351c818e1732dfca2d6cd18ae361a711fa4bb72", "Acceptance criteria": "d47a36f4f055810755db08b8d52e479baa4bb7a7a1f6449f71fa1ad5c20495ef", @@ -894,6 +895,7 @@ "Avatar uploaded": "d0d5a01f3f30fd933994a5950ddae3d14384d2c850c05deb50532b65aa6593ba", "Avatar, name, and a compact working brief.": "8d3706d4928090efbf7eca6683e3357f4f92732bc8be64c50dc8af8620a256c1", "Avoid triggers": "1419db0b6ddbd1f3a1632043da73529ecbcb0aef9183fd7d78e12df2942444de", + "Awaiting acceptance": "1dc7bfd9c54d73f22b4a9bdca5f741d5067a673b7f99d77e85367f6c8f049f85", "Awaiting confirmation": "d0ae0b38eac639b98f6a9b793a7add708bedbc6156963e3abc00453b235b2f3d", "Awaiting enable": "2a6b618d273346e8198806aa0d934a4bd6f5bf8b29d0780076df974ca93bf548", "Awaiting merge approval": "21837cdd561270cefc146079172511177736bb9091e9fb50d93bb072f271ecb0", @@ -1083,6 +1085,7 @@ "cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Candidate approved for draft": "59a57b9b459b3215e76b651f73f6521bc1bd71fa66bb52e046368a559db6632b", + "Candidate changed": "ca07c050cd47ab4f4d2f2fb6c60110b738af5b951a9ab708c36879365ec4532e", "Candidate changed since verification": "a2808e03661077a04403dab2204b7ce8d78310c296600bd03c5766a754f216a6", "Candidate cluster is not bound to a channel.": "6066a4e8725d065a7c2b8d2c8974a60c41c0a94124deeabd972f620ddd815786", "Candidate Clusters": "b617f8ce5325fa8984c324816b08d3a26c05dac3c3276bcc4f4ab7196222dbe4", @@ -1820,6 +1823,7 @@ "Could not start this scene.": "acb6aa181a8b842f1a8fc78344dc210cb98a45ccb6cf38ebd01beb65fe7fa27d", "Could not start this workflow test.": "7fe6f22a12127a9d74069d195a2513038cb2ff035acc4433d41e31006445e46e", "Could not switch projects. Showing the last loaded project.": "1a284203a5fd7f9d39c625017fde0d1c88180e3d2fa62b07aa7c9eb64a2e8aa6", + "Could not update handoff": "b6b7ff312171612e082d24ec92c854155d95fa6177a25cb0ac10f44e2c6110e2", "Could not update the default model. Try again.": "c87a00ab8ffb8c8c60209acf9b5cb10295a2a5e93c3e6f72dd8b2b4c316bdc16", "Council actions": "79763aae8f6334c6e29273106f3509b76114439dd686c9fa32753bca265eee32", "Council boundaries": "b4d6713050d140a9102817793dcb99d64565ee0d33d364b71f5d4d2afd234baf", @@ -3820,6 +3824,7 @@ "minutes": "90e63d85fa1ab2c8ed65222f3ebd794b1e524b4b7cf84bec451542d0451b2985", "missing": "ffa63583dfa6706b87d284b86b0d693a161e4840aad2c5cf6b5d27c3b9621f7d", "Missing": "6be36ca49ee85210c5d1ad9c377d90a9859c66d889110a2a5b0dccd390d12e20", + "Missing artifact": "e936c2df4de783be206107e353054e33ebba1c9988085200c260c7a6b8f8fc73", "Missing dependency": "5915d1e15e283f09695ad4b96ced9625bbd68aab747dc778f37aada0a7489b5c", "Missing fields": "69121d3f63d5a27ab7ce484854c065ce87e7022dc5fdfee9d778ab02515542fc", "Missing key": "0c8a17a63a322df1c40693b8469227cf5426b024673da9065f42c6cbb7c58370", @@ -5401,6 +5406,7 @@ "Requested URL": "8ae37b38fe2e415c8c641c3f2b6e9b42a11245cc8749a51a247cf0464b4c7faf", "Required": "4850b174b713d88cfc63de107830d5388929020e78abc91fc19bba7a6821625f", "Required before approving high-risk requests": "3cb612a5f43f4acbf5a6066a5da559bce858b50cdab2c2f6943bf4a05de1310a", + "Required check incomplete": "f64e6dfd1fc8cd1f2139aadf61c6ef43ecaa2ce783b2c712a56d31a574e05741", "Required checks": "f5a021846bd1a50002c0ea940f30cc97c285a118c62ff95af5c2f538584a7e26", "Required for assigned teammates": "4732aa544a8d93b886e6bcbbcc5c3314af692f8a8a812efd4844cd3589b7b63a", "Required input": "fafaaf99b5a6af521026448890a9dacaf4d47053804a34be7cdf364e13637181", @@ -5524,8 +5530,11 @@ "Retry upload": "731dc6e3f07ab1b090e925be766dd01d8e4aed2f0ad2cef600bf157bd7764500", "Retryable": "c282bd362abaadb6a38a4fdb268df44325f8bfde40f719b77fdd690180c51889", "Retrying automatically...": "220837f6132382f3e8d4fb676f31aab3dc9fabc34b8f26c2e4ced9b83ebce4ec", + "Return handoff": "1ae47e9a67b5866c28ccd52c2040500610b795d917cc6620a444c170ded79836", + "Return reason": "79f91549d760515b430db20e8f2f0c766e417826dfea15029dca20f6eb9865ac", "Return to an unlocked interactive Windows desktop, restart Ling if needed, then check again.": "bccd46e406f4d428d83a9dd510df581b52e5c28c51da4d357e3e66c21740ee0e", "Return to implementation mode": "36435baabf6c6acc0666fba73f68609f9a41d17389ea216a99f41b5036e8b6ef", + "Returned for repair": "07abb2b9ba19b479a5126883271bb99fa47e239dffb3337fb13bbe2778654158", "Reusable": "8ded2b384940a83eb986da575b9efa40f1b03fd1d626bd91964cbb11502e0b42", "Reuse images already saved in this media project.": "3c3dd902fab18f841a51942e3a4e92a93c8d39ddd8b48ae9ee017982a26fa1c1", "Reuse settings": "17507cf7d05b478d392e9aa85d9c60046c0e2a185959546ac0864a89b95ec744", @@ -5916,6 +5925,7 @@ "Schema, checksums, and package metadata": "d91ffc3c0cdd2c26d37ba9cf60de0a718343a3969303718321092f0367a68808", "Scope": "b073f6c68ef8721107fd9815b19b2c35ec111d526b75c2123d1111ba64424000", "Scope ID": "4a201ef6cbd70a0728fc5c62eb87fd73ac56e470c853a3112ebf27617e49ff76", + "Scope unavailable": "38a32037c55100c3ad97878ca4e361a734a3422fb35bdbaeacebf4babb16cdf3", "Screen capture and input stop. Ling never interacts with the lock screen, login window, password fields, or secure desktop.": "cece9f092190c9e9e4c9d54f7da59256e922a56556c843c4e2b44fb1a67b0c5f", "Screen Recording": "bc3c742893dc7aff9c88fad0aae3f6749a6679a45cbafb0981f0e2ddaed5c49c", "Scripts can contact external services. Only run documents you trust.": "aa3560983d2f6c2656f1a9329fcb9434fa520d6f64bcccf0e6ae91c82ddbb0dd", @@ -7264,6 +7274,7 @@ "Uploading avatar": "995b81efc53e808131bd98d546fb3fa493a44b9b43b752237e590bf5a2e487c8", "Uploading...": "72cb29c90ccd8361ee82d02fabe81a3f01605c7b8fea4c9996fc01d84e3fbb48", "Upstream": "94adc696fd24e9fd67e83ba256a9f33bf1d7191d4a5e38ee8c69597cd89e4777", + "Upstream result unconfirmed": "d345a9ef65cf22ec93d4a7a0457157bcdc8696a90ea8e72690d04b25d7447d94", "Upstream version": "7927b36324919e81ae646c1455b608aadcecdedb285d9985d63d80572c3d5214", "urgent": "f9d37c23fcc0f03c15a86aba71dce01dd0baa7a1568180e60c2347a5863151bc", "URL image edit": "444b0006116b72fd13097e57758caf2edaa14133af89617d79ed238d71f518ff", @@ -7460,6 +7471,7 @@ "Waiting for runner activity...": "d0e7a1fd3763c4062fe8ac59255b9281effe77d2fd1d79f9ae2498e56ac3b96f", "Waiting for runner events...": "dc60b71d9ccb374ef6e53cc9496c05fd15dcd7b4955ec8ae7603cf360af7e85e", "Waiting for sign-in": "749a343a3a25c1df679ee6d6e74abb72e08ef956bfa15434407e61934dc054c9", + "Waiting for source": "8ac1608b4d56ce4dcc84a6d489fb055d7e9281efa150baa1fd5c2be7f2dd220b", "Waiting for system confirmation and Host readback...": "952e73792f0715e2d1f30ef0b0c03c4353cd9ab96caa71856bbce7dc41e2d161", "waiting for user input": "f43ef097687b1d8c8800577eefa3f7e10d0c82236cd0017f983d131e8e673174", "Waiting for votes": "bbb50edc12d1ce791069a8e84ca6e73a255b796306d32cdc1414987b986e172f", @@ -8079,6 +8091,7 @@ "A skill with the same identity already exists.": "Já existe uma habilidade com a mesma identidade.", "Abstain": "Abster-se", "Accept": "Aceitar", + "Accept handoff": "Aceitar transferência", "Acceptance": "Aceitação", "Acceptance checks will be clarified before execution.": "As verificações de aceitação serão esclarecidas antes da execução.", "Acceptance criteria": "Critérios de aceitação", @@ -8630,6 +8643,7 @@ "Avatar uploaded": "Avatar enviado", "Avatar, name, and a compact working brief.": "Avatar, nome e um resumo de trabalho compacto.", "Avoid triggers": "Evite gatilhos", + "Awaiting acceptance": "Aguardando aceitação", "Awaiting confirmation": "Aguardando confirmação", "Awaiting enable": "Aguardando ativação", "Awaiting merge approval": "Aguardando aprovação de mesclagem", @@ -8819,6 +8833,7 @@ "cancelling": "Cancelando", "Cancelling": "Cancelando", "Candidate approved for draft": "Candidato aprovado para draft", + "Candidate changed": "Candidato alterado", "Candidate changed since verification": "Candidato alterado desde a verificação", "Candidate cluster is not bound to a channel.": "O cluster candidato não está vinculado a um canal.", "Candidate Clusters": "Clusters de Candidatos", @@ -9556,6 +9571,7 @@ "Could not start this scene.": "Não foi possível iniciar esta cena.", "Could not start this workflow test.": "Não foi possível iniciar este teste de fluxo de trabalho.", "Could not switch projects. Showing the last loaded project.": "Não foi possível mudar de projeto. Mostrando o último projeto carregado.", + "Could not update handoff": "Não foi possível atualizar a transferência", "Could not update the default model. Try again.": "Não foi possível atualizar o modelo padrão. Tente novamente.", "Council actions": "Ações do Conselho", "Council boundaries": "Limites do conselho", @@ -11556,6 +11572,7 @@ "minutes": "minutos", "missing": "ausente", "Missing": "Ausente", + "Missing artifact": "Artefato ausente", "Missing dependency": "Missing dependency", "Missing fields": "Campos ausentes", "Missing key": "Chave ausente", @@ -13137,6 +13154,7 @@ "Requested URL": "Solicitado URL", "Required": "Obrigatório", "Required before approving high-risk requests": "Obrigatório antes de aprovar solicitações de alto risco", + "Required check incomplete": "Verificação obrigatória incompleta", "Required checks": "Verificações necessárias", "Required for assigned teammates": "Obrigatório para colegas de equipe atribuídos", "Required input": "Entrada obrigatória", @@ -13260,8 +13278,11 @@ "Retry upload": "Tentar enviar novamente", "Retryable": "Nova tentativa", "Retrying automatically...": "Tentando novamente automaticamente...", + "Return handoff": "Transferência de devolução", + "Return reason": "Motivo da devolução", "Return to an unlocked interactive Windows desktop, restart Ling if needed, then check again.": "Retorne a uma área de trabalho interativa do Windows desbloqueada, reinicie Ling se necessário e verifique novamente.", "Return to implementation mode": "Retornar ao modo de implementação", + "Returned for repair": "Devolvido para reparo", "Reusable": "Reutilizável", "Reuse images already saved in this media project.": "Reutilize imagens já salvas neste projeto de mídia.", "Reuse settings": "Reutilizar configurações", @@ -13652,6 +13673,7 @@ "Schema, checksums, and package metadata": "Esquema, somas de verificação e metadados de pacote", "Scope": "Escopo", "Scope ID": "Escopo ID", + "Scope unavailable": "Escopo indisponível", "Screen capture and input stop. Ling never interacts with the lock screen, login window, password fields, or secure desktop.": "Captura de tela e parada de entrada. Ling nunca interage com a tela de bloqueio, janela de login, campos de senha ou área de trabalho segura.", "Screen Recording": "Gravação de tela", "Scripts can contact external services. Only run documents you trust.": "Scripts can contact external services. Only run documents you trust.", @@ -15000,6 +15022,7 @@ "Uploading avatar": "Carregando avatar", "Uploading...": "Fazendo upload...", "Upstream": "A montante", + "Upstream result unconfirmed": "Resultado upstream não confirmado", "Upstream version": "Versão ascendente", "urgent": "urgente", "URL image edit": "Edição de imagem URL", @@ -15196,6 +15219,7 @@ "Waiting for runner activity...": "Aguardando atividade do corredor...", "Waiting for runner events...": "Aguardando eventos de corredor...", "Waiting for sign-in": "Aguardando login", + "Waiting for source": "Aguardando fonte", "Waiting for system confirmation and Host readback...": "Aguardando confirmação do sistema e leitura do host...", "waiting for user input": "aguardando a entrada do usuário", "Waiting for votes": "Esperando por votos", diff --git a/packages/localization/catalogs/pt-PT.json b/packages/localization/catalogs/pt-PT.json index bd962a194..78e82a9d1 100644 --- a/packages/localization/catalogs/pt-PT.json +++ b/packages/localization/catalogs/pt-PT.json @@ -1,6 +1,6 @@ { "locale": "pt-PT", - "sourceRevision": "e134cc889637523423524b121cf71dcb37afdd3d7daf48eaea975d1c39785b2e", + "sourceRevision": "95b7d5d6546abac9c1f3ec3e54efe7bff99c84252c464896ecb9bf2245f66dfd", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -343,6 +343,7 @@ "A skill with the same identity already exists.": "66dd592d63333b2f2738e59f82a3866d9a6db17154a2cc2a752727f9a40998d1", "Abstain": "bf92ab42d052ce917d87cccce310e4351900347095f57947b3d08c1b1ff8bcf3", "Accept": "89713b9c9c1b8f659c9f49db25e4a47886dd673fee248c3f650391f09a759cef", + "Accept handoff": "13e3dc2abccf1296c34099b2080efb8c78ad82067436ff2039024f22ed8cc2e9", "Acceptance": "f190a5cb3aff17b0ee84f6ee258333d63a9cc71aa66c2e1788ebc3ae24a89b10", "Acceptance checks will be clarified before execution.": "ffd59db22fb4d3abb3c9cc67c351c818e1732dfca2d6cd18ae361a711fa4bb72", "Acceptance criteria": "d47a36f4f055810755db08b8d52e479baa4bb7a7a1f6449f71fa1ad5c20495ef", @@ -894,6 +895,7 @@ "Avatar uploaded": "d0d5a01f3f30fd933994a5950ddae3d14384d2c850c05deb50532b65aa6593ba", "Avatar, name, and a compact working brief.": "8d3706d4928090efbf7eca6683e3357f4f92732bc8be64c50dc8af8620a256c1", "Avoid triggers": "1419db0b6ddbd1f3a1632043da73529ecbcb0aef9183fd7d78e12df2942444de", + "Awaiting acceptance": "1dc7bfd9c54d73f22b4a9bdca5f741d5067a673b7f99d77e85367f6c8f049f85", "Awaiting confirmation": "d0ae0b38eac639b98f6a9b793a7add708bedbc6156963e3abc00453b235b2f3d", "Awaiting enable": "2a6b618d273346e8198806aa0d934a4bd6f5bf8b29d0780076df974ca93bf548", "Awaiting merge approval": "21837cdd561270cefc146079172511177736bb9091e9fb50d93bb072f271ecb0", @@ -1083,6 +1085,7 @@ "cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Candidate approved for draft": "59a57b9b459b3215e76b651f73f6521bc1bd71fa66bb52e046368a559db6632b", + "Candidate changed": "ca07c050cd47ab4f4d2f2fb6c60110b738af5b951a9ab708c36879365ec4532e", "Candidate changed since verification": "a2808e03661077a04403dab2204b7ce8d78310c296600bd03c5766a754f216a6", "Candidate cluster is not bound to a channel.": "6066a4e8725d065a7c2b8d2c8974a60c41c0a94124deeabd972f620ddd815786", "Candidate Clusters": "b617f8ce5325fa8984c324816b08d3a26c05dac3c3276bcc4f4ab7196222dbe4", @@ -1820,6 +1823,7 @@ "Could not start this scene.": "acb6aa181a8b842f1a8fc78344dc210cb98a45ccb6cf38ebd01beb65fe7fa27d", "Could not start this workflow test.": "7fe6f22a12127a9d74069d195a2513038cb2ff035acc4433d41e31006445e46e", "Could not switch projects. Showing the last loaded project.": "1a284203a5fd7f9d39c625017fde0d1c88180e3d2fa62b07aa7c9eb64a2e8aa6", + "Could not update handoff": "b6b7ff312171612e082d24ec92c854155d95fa6177a25cb0ac10f44e2c6110e2", "Could not update the default model. Try again.": "c87a00ab8ffb8c8c60209acf9b5cb10295a2a5e93c3e6f72dd8b2b4c316bdc16", "Council actions": "79763aae8f6334c6e29273106f3509b76114439dd686c9fa32753bca265eee32", "Council boundaries": "b4d6713050d140a9102817793dcb99d64565ee0d33d364b71f5d4d2afd234baf", @@ -3820,6 +3824,7 @@ "minutes": "90e63d85fa1ab2c8ed65222f3ebd794b1e524b4b7cf84bec451542d0451b2985", "missing": "ffa63583dfa6706b87d284b86b0d693a161e4840aad2c5cf6b5d27c3b9621f7d", "Missing": "6be36ca49ee85210c5d1ad9c377d90a9859c66d889110a2a5b0dccd390d12e20", + "Missing artifact": "e936c2df4de783be206107e353054e33ebba1c9988085200c260c7a6b8f8fc73", "Missing dependency": "5915d1e15e283f09695ad4b96ced9625bbd68aab747dc778f37aada0a7489b5c", "Missing fields": "69121d3f63d5a27ab7ce484854c065ce87e7022dc5fdfee9d778ab02515542fc", "Missing key": "0c8a17a63a322df1c40693b8469227cf5426b024673da9065f42c6cbb7c58370", @@ -5401,6 +5406,7 @@ "Requested URL": "8ae37b38fe2e415c8c641c3f2b6e9b42a11245cc8749a51a247cf0464b4c7faf", "Required": "4850b174b713d88cfc63de107830d5388929020e78abc91fc19bba7a6821625f", "Required before approving high-risk requests": "3cb612a5f43f4acbf5a6066a5da559bce858b50cdab2c2f6943bf4a05de1310a", + "Required check incomplete": "f64e6dfd1fc8cd1f2139aadf61c6ef43ecaa2ce783b2c712a56d31a574e05741", "Required checks": "f5a021846bd1a50002c0ea940f30cc97c285a118c62ff95af5c2f538584a7e26", "Required for assigned teammates": "4732aa544a8d93b886e6bcbbcc5c3314af692f8a8a812efd4844cd3589b7b63a", "Required input": "fafaaf99b5a6af521026448890a9dacaf4d47053804a34be7cdf364e13637181", @@ -5524,8 +5530,11 @@ "Retry upload": "731dc6e3f07ab1b090e925be766dd01d8e4aed2f0ad2cef600bf157bd7764500", "Retryable": "c282bd362abaadb6a38a4fdb268df44325f8bfde40f719b77fdd690180c51889", "Retrying automatically...": "220837f6132382f3e8d4fb676f31aab3dc9fabc34b8f26c2e4ced9b83ebce4ec", + "Return handoff": "1ae47e9a67b5866c28ccd52c2040500610b795d917cc6620a444c170ded79836", + "Return reason": "79f91549d760515b430db20e8f2f0c766e417826dfea15029dca20f6eb9865ac", "Return to an unlocked interactive Windows desktop, restart Ling if needed, then check again.": "bccd46e406f4d428d83a9dd510df581b52e5c28c51da4d357e3e66c21740ee0e", "Return to implementation mode": "36435baabf6c6acc0666fba73f68609f9a41d17389ea216a99f41b5036e8b6ef", + "Returned for repair": "07abb2b9ba19b479a5126883271bb99fa47e239dffb3337fb13bbe2778654158", "Reusable": "8ded2b384940a83eb986da575b9efa40f1b03fd1d626bd91964cbb11502e0b42", "Reuse images already saved in this media project.": "3c3dd902fab18f841a51942e3a4e92a93c8d39ddd8b48ae9ee017982a26fa1c1", "Reuse settings": "17507cf7d05b478d392e9aa85d9c60046c0e2a185959546ac0864a89b95ec744", @@ -5916,6 +5925,7 @@ "Schema, checksums, and package metadata": "d91ffc3c0cdd2c26d37ba9cf60de0a718343a3969303718321092f0367a68808", "Scope": "b073f6c68ef8721107fd9815b19b2c35ec111d526b75c2123d1111ba64424000", "Scope ID": "4a201ef6cbd70a0728fc5c62eb87fd73ac56e470c853a3112ebf27617e49ff76", + "Scope unavailable": "38a32037c55100c3ad97878ca4e361a734a3422fb35bdbaeacebf4babb16cdf3", "Screen capture and input stop. Ling never interacts with the lock screen, login window, password fields, or secure desktop.": "cece9f092190c9e9e4c9d54f7da59256e922a56556c843c4e2b44fb1a67b0c5f", "Screen Recording": "bc3c742893dc7aff9c88fad0aae3f6749a6679a45cbafb0981f0e2ddaed5c49c", "Scripts can contact external services. Only run documents you trust.": "aa3560983d2f6c2656f1a9329fcb9434fa520d6f64bcccf0e6ae91c82ddbb0dd", @@ -7264,6 +7274,7 @@ "Uploading avatar": "995b81efc53e808131bd98d546fb3fa493a44b9b43b752237e590bf5a2e487c8", "Uploading...": "72cb29c90ccd8361ee82d02fabe81a3f01605c7b8fea4c9996fc01d84e3fbb48", "Upstream": "94adc696fd24e9fd67e83ba256a9f33bf1d7191d4a5e38ee8c69597cd89e4777", + "Upstream result unconfirmed": "d345a9ef65cf22ec93d4a7a0457157bcdc8696a90ea8e72690d04b25d7447d94", "Upstream version": "7927b36324919e81ae646c1455b608aadcecdedb285d9985d63d80572c3d5214", "urgent": "f9d37c23fcc0f03c15a86aba71dce01dd0baa7a1568180e60c2347a5863151bc", "URL image edit": "444b0006116b72fd13097e57758caf2edaa14133af89617d79ed238d71f518ff", @@ -7460,6 +7471,7 @@ "Waiting for runner activity...": "d0e7a1fd3763c4062fe8ac59255b9281effe77d2fd1d79f9ae2498e56ac3b96f", "Waiting for runner events...": "dc60b71d9ccb374ef6e53cc9496c05fd15dcd7b4955ec8ae7603cf360af7e85e", "Waiting for sign-in": "749a343a3a25c1df679ee6d6e74abb72e08ef956bfa15434407e61934dc054c9", + "Waiting for source": "8ac1608b4d56ce4dcc84a6d489fb055d7e9281efa150baa1fd5c2be7f2dd220b", "Waiting for system confirmation and Host readback...": "952e73792f0715e2d1f30ef0b0c03c4353cd9ab96caa71856bbce7dc41e2d161", "waiting for user input": "f43ef097687b1d8c8800577eefa3f7e10d0c82236cd0017f983d131e8e673174", "Waiting for votes": "bbb50edc12d1ce791069a8e84ca6e73a255b796306d32cdc1414987b986e172f", @@ -8079,6 +8091,7 @@ "A skill with the same identity already exists.": "Já existe uma competência com a mesma identidade.", "Abstain": "Abster-se", "Accept": "Aceitar", + "Accept handoff": "Aceitar transferência", "Acceptance": "Aceitação", "Acceptance checks will be clarified before execution.": "As verificações de aceitação serão clarificadas antes da execução.", "Acceptance criteria": "Critérios de aceitação", @@ -8630,6 +8643,7 @@ "Avatar uploaded": "Avatar enviado", "Avatar, name, and a compact working brief.": "Avatar, nome e um resumo de trabalho compacto.", "Avoid triggers": "Evite gatilhos", + "Awaiting acceptance": "Aguarda aceitação", "Awaiting confirmation": "Aguarda confirmação", "Awaiting enable": "Aguarda ativação", "Awaiting merge approval": "Aguarda aprovação de mesclagem", @@ -8819,6 +8833,7 @@ "cancelling": "Cancelando", "Cancelling": "Cancelando", "Candidate approved for draft": "Candidato aprovado para o draft", + "Candidate changed": "Candidato alterado", "Candidate changed since verification": "Candidato alterado desde a verificação", "Candidate cluster is not bound to a channel.": "O cluster candidato não está ligado a um canal.", "Candidate Clusters": "Clusters de Candidatos", @@ -9556,6 +9571,7 @@ "Could not start this scene.": "Não foi possível iniciar esta cena.", "Could not start this workflow test.": "Não foi possível iniciar este teste de fluxo de trabalho.", "Could not switch projects. Showing the last loaded project.": "Não foi possível mudar de projeto. Mostrando o último projeto carregado.", + "Could not update handoff": "Não foi possível atualizar a transferência", "Could not update the default model. Try again.": "Não foi possível atualizar o modelo padrão. Tente novamente.", "Council actions": "Ações do Conselho", "Council boundaries": "Limites do conselho", @@ -11556,6 +11572,7 @@ "minutes": "minutos", "missing": "em falta", "Missing": "Em falta", + "Missing artifact": "Artefato ausente", "Missing dependency": "Missing dependency", "Missing fields": "Campos ausentes", "Missing key": "Chave ausente", @@ -13137,6 +13154,7 @@ "Requested URL": "Solicitado URL", "Required": "Obrigatório", "Required before approving high-risk requests": "Obrigatório antes de aprovar pedidos de alto risco", + "Required check incomplete": "Verificação obrigatória incompleta", "Required checks": "Verificações necessárias", "Required for assigned teammates": "Obrigatório para os colegas de equipa atribuídos", "Required input": "Entrada obrigatória", @@ -13260,8 +13278,11 @@ "Retry upload": "Tentar enviar novamente", "Retryable": "Nova tentativa", "Retrying automatically...": "Tentando novamente automaticamente...", + "Return handoff": "Transferência de devolução", + "Return reason": "Motivo da devolução", "Return to an unlocked interactive Windows desktop, restart Ling if needed, then check again.": "Volte a uma área de trabalho interativa do Windows desbloqueada, reinicie Ling se necessário e verifique novamente.", "Return to implementation mode": "Voltar ao modo de implementação", + "Returned for repair": "Devolvido para reparação", "Reusable": "Reutilizável", "Reuse images already saved in this media project.": "Reutilize imagens já guardadas neste projeto de media.", "Reuse settings": "Reutilizar as configurações", @@ -13652,6 +13673,7 @@ "Schema, checksums, and package metadata": "Esquema, checksums e metadados de pacotes", "Scope": "Âmbito", "Scope ID": "Âmbito ID", + "Scope unavailable": "Escopo indisponível", "Screen capture and input stop. Ling never interacts with the lock screen, login window, password fields, or secure desktop.": "Captura de ecrã e paragem de entrada. Ling nunca interage com o ecrã de bloqueio, janela de início de sessão, campos de palavra-passe ou ambiente de trabalho seguro.", "Screen Recording": "Gravação de ecrã", "Scripts can contact external services. Only run documents you trust.": "Scripts can contact external services. Only run documents you trust.", @@ -15000,6 +15022,7 @@ "Uploading avatar": "Carregando avatar", "Uploading...": "Fazendo upload...", "Upstream": "A montante", + "Upstream result unconfirmed": "Resultado upstream não confirmado", "Upstream version": "Versão ascendente", "urgent": "urgente", "URL image edit": "URL edição de imagem", @@ -15196,6 +15219,7 @@ "Waiting for runner activity...": "Aguarda atividade do corredor...", "Waiting for runner events...": "Aguarda eventos de corredor...", "Waiting for sign-in": "Aguardando login", + "Waiting for source": "Aguardando fonte", "Waiting for system confirmation and Host readback...": "Aguarda confirmação do sistema e leitura do host...", "waiting for user input": "aguardando a entrada do utilizador", "Waiting for votes": "Aguardando votos", diff --git a/packages/localization/catalogs/ro-RO.json b/packages/localization/catalogs/ro-RO.json index 82bd7d0d4..986b2be63 100644 --- a/packages/localization/catalogs/ro-RO.json +++ b/packages/localization/catalogs/ro-RO.json @@ -1,6 +1,6 @@ { "locale": "ro-RO", - "sourceRevision": "e134cc889637523423524b121cf71dcb37afdd3d7daf48eaea975d1c39785b2e", + "sourceRevision": "95b7d5d6546abac9c1f3ec3e54efe7bff99c84252c464896ecb9bf2245f66dfd", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -343,6 +343,7 @@ "A skill with the same identity already exists.": "66dd592d63333b2f2738e59f82a3866d9a6db17154a2cc2a752727f9a40998d1", "Abstain": "bf92ab42d052ce917d87cccce310e4351900347095f57947b3d08c1b1ff8bcf3", "Accept": "89713b9c9c1b8f659c9f49db25e4a47886dd673fee248c3f650391f09a759cef", + "Accept handoff": "13e3dc2abccf1296c34099b2080efb8c78ad82067436ff2039024f22ed8cc2e9", "Acceptance": "f190a5cb3aff17b0ee84f6ee258333d63a9cc71aa66c2e1788ebc3ae24a89b10", "Acceptance checks will be clarified before execution.": "ffd59db22fb4d3abb3c9cc67c351c818e1732dfca2d6cd18ae361a711fa4bb72", "Acceptance criteria": "d47a36f4f055810755db08b8d52e479baa4bb7a7a1f6449f71fa1ad5c20495ef", @@ -894,6 +895,7 @@ "Avatar uploaded": "d0d5a01f3f30fd933994a5950ddae3d14384d2c850c05deb50532b65aa6593ba", "Avatar, name, and a compact working brief.": "8d3706d4928090efbf7eca6683e3357f4f92732bc8be64c50dc8af8620a256c1", "Avoid triggers": "1419db0b6ddbd1f3a1632043da73529ecbcb0aef9183fd7d78e12df2942444de", + "Awaiting acceptance": "1dc7bfd9c54d73f22b4a9bdca5f741d5067a673b7f99d77e85367f6c8f049f85", "Awaiting confirmation": "d0ae0b38eac639b98f6a9b793a7add708bedbc6156963e3abc00453b235b2f3d", "Awaiting enable": "2a6b618d273346e8198806aa0d934a4bd6f5bf8b29d0780076df974ca93bf548", "Awaiting merge approval": "21837cdd561270cefc146079172511177736bb9091e9fb50d93bb072f271ecb0", @@ -1083,6 +1085,7 @@ "cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Candidate approved for draft": "59a57b9b459b3215e76b651f73f6521bc1bd71fa66bb52e046368a559db6632b", + "Candidate changed": "ca07c050cd47ab4f4d2f2fb6c60110b738af5b951a9ab708c36879365ec4532e", "Candidate changed since verification": "a2808e03661077a04403dab2204b7ce8d78310c296600bd03c5766a754f216a6", "Candidate cluster is not bound to a channel.": "6066a4e8725d065a7c2b8d2c8974a60c41c0a94124deeabd972f620ddd815786", "Candidate Clusters": "b617f8ce5325fa8984c324816b08d3a26c05dac3c3276bcc4f4ab7196222dbe4", @@ -1820,6 +1823,7 @@ "Could not start this scene.": "acb6aa181a8b842f1a8fc78344dc210cb98a45ccb6cf38ebd01beb65fe7fa27d", "Could not start this workflow test.": "7fe6f22a12127a9d74069d195a2513038cb2ff035acc4433d41e31006445e46e", "Could not switch projects. Showing the last loaded project.": "1a284203a5fd7f9d39c625017fde0d1c88180e3d2fa62b07aa7c9eb64a2e8aa6", + "Could not update handoff": "b6b7ff312171612e082d24ec92c854155d95fa6177a25cb0ac10f44e2c6110e2", "Could not update the default model. Try again.": "c87a00ab8ffb8c8c60209acf9b5cb10295a2a5e93c3e6f72dd8b2b4c316bdc16", "Council actions": "79763aae8f6334c6e29273106f3509b76114439dd686c9fa32753bca265eee32", "Council boundaries": "b4d6713050d140a9102817793dcb99d64565ee0d33d364b71f5d4d2afd234baf", @@ -3820,6 +3824,7 @@ "minutes": "90e63d85fa1ab2c8ed65222f3ebd794b1e524b4b7cf84bec451542d0451b2985", "missing": "ffa63583dfa6706b87d284b86b0d693a161e4840aad2c5cf6b5d27c3b9621f7d", "Missing": "6be36ca49ee85210c5d1ad9c377d90a9859c66d889110a2a5b0dccd390d12e20", + "Missing artifact": "e936c2df4de783be206107e353054e33ebba1c9988085200c260c7a6b8f8fc73", "Missing dependency": "5915d1e15e283f09695ad4b96ced9625bbd68aab747dc778f37aada0a7489b5c", "Missing fields": "69121d3f63d5a27ab7ce484854c065ce87e7022dc5fdfee9d778ab02515542fc", "Missing key": "0c8a17a63a322df1c40693b8469227cf5426b024673da9065f42c6cbb7c58370", @@ -5401,6 +5406,7 @@ "Requested URL": "8ae37b38fe2e415c8c641c3f2b6e9b42a11245cc8749a51a247cf0464b4c7faf", "Required": "4850b174b713d88cfc63de107830d5388929020e78abc91fc19bba7a6821625f", "Required before approving high-risk requests": "3cb612a5f43f4acbf5a6066a5da559bce858b50cdab2c2f6943bf4a05de1310a", + "Required check incomplete": "f64e6dfd1fc8cd1f2139aadf61c6ef43ecaa2ce783b2c712a56d31a574e05741", "Required checks": "f5a021846bd1a50002c0ea940f30cc97c285a118c62ff95af5c2f538584a7e26", "Required for assigned teammates": "4732aa544a8d93b886e6bcbbcc5c3314af692f8a8a812efd4844cd3589b7b63a", "Required input": "fafaaf99b5a6af521026448890a9dacaf4d47053804a34be7cdf364e13637181", @@ -5524,8 +5530,11 @@ "Retry upload": "731dc6e3f07ab1b090e925be766dd01d8e4aed2f0ad2cef600bf157bd7764500", "Retryable": "c282bd362abaadb6a38a4fdb268df44325f8bfde40f719b77fdd690180c51889", "Retrying automatically...": "220837f6132382f3e8d4fb676f31aab3dc9fabc34b8f26c2e4ced9b83ebce4ec", + "Return handoff": "1ae47e9a67b5866c28ccd52c2040500610b795d917cc6620a444c170ded79836", + "Return reason": "79f91549d760515b430db20e8f2f0c766e417826dfea15029dca20f6eb9865ac", "Return to an unlocked interactive Windows desktop, restart Ling if needed, then check again.": "bccd46e406f4d428d83a9dd510df581b52e5c28c51da4d357e3e66c21740ee0e", "Return to implementation mode": "36435baabf6c6acc0666fba73f68609f9a41d17389ea216a99f41b5036e8b6ef", + "Returned for repair": "07abb2b9ba19b479a5126883271bb99fa47e239dffb3337fb13bbe2778654158", "Reusable": "8ded2b384940a83eb986da575b9efa40f1b03fd1d626bd91964cbb11502e0b42", "Reuse images already saved in this media project.": "3c3dd902fab18f841a51942e3a4e92a93c8d39ddd8b48ae9ee017982a26fa1c1", "Reuse settings": "17507cf7d05b478d392e9aa85d9c60046c0e2a185959546ac0864a89b95ec744", @@ -5916,6 +5925,7 @@ "Schema, checksums, and package metadata": "d91ffc3c0cdd2c26d37ba9cf60de0a718343a3969303718321092f0367a68808", "Scope": "b073f6c68ef8721107fd9815b19b2c35ec111d526b75c2123d1111ba64424000", "Scope ID": "4a201ef6cbd70a0728fc5c62eb87fd73ac56e470c853a3112ebf27617e49ff76", + "Scope unavailable": "38a32037c55100c3ad97878ca4e361a734a3422fb35bdbaeacebf4babb16cdf3", "Screen capture and input stop. Ling never interacts with the lock screen, login window, password fields, or secure desktop.": "cece9f092190c9e9e4c9d54f7da59256e922a56556c843c4e2b44fb1a67b0c5f", "Screen Recording": "bc3c742893dc7aff9c88fad0aae3f6749a6679a45cbafb0981f0e2ddaed5c49c", "Scripts can contact external services. Only run documents you trust.": "aa3560983d2f6c2656f1a9329fcb9434fa520d6f64bcccf0e6ae91c82ddbb0dd", @@ -7264,6 +7274,7 @@ "Uploading avatar": "995b81efc53e808131bd98d546fb3fa493a44b9b43b752237e590bf5a2e487c8", "Uploading...": "72cb29c90ccd8361ee82d02fabe81a3f01605c7b8fea4c9996fc01d84e3fbb48", "Upstream": "94adc696fd24e9fd67e83ba256a9f33bf1d7191d4a5e38ee8c69597cd89e4777", + "Upstream result unconfirmed": "d345a9ef65cf22ec93d4a7a0457157bcdc8696a90ea8e72690d04b25d7447d94", "Upstream version": "7927b36324919e81ae646c1455b608aadcecdedb285d9985d63d80572c3d5214", "urgent": "f9d37c23fcc0f03c15a86aba71dce01dd0baa7a1568180e60c2347a5863151bc", "URL image edit": "444b0006116b72fd13097e57758caf2edaa14133af89617d79ed238d71f518ff", @@ -7460,6 +7471,7 @@ "Waiting for runner activity...": "d0e7a1fd3763c4062fe8ac59255b9281effe77d2fd1d79f9ae2498e56ac3b96f", "Waiting for runner events...": "dc60b71d9ccb374ef6e53cc9496c05fd15dcd7b4955ec8ae7603cf360af7e85e", "Waiting for sign-in": "749a343a3a25c1df679ee6d6e74abb72e08ef956bfa15434407e61934dc054c9", + "Waiting for source": "8ac1608b4d56ce4dcc84a6d489fb055d7e9281efa150baa1fd5c2be7f2dd220b", "Waiting for system confirmation and Host readback...": "952e73792f0715e2d1f30ef0b0c03c4353cd9ab96caa71856bbce7dc41e2d161", "waiting for user input": "f43ef097687b1d8c8800577eefa3f7e10d0c82236cd0017f983d131e8e673174", "Waiting for votes": "bbb50edc12d1ce791069a8e84ca6e73a255b796306d32cdc1414987b986e172f", @@ -8079,6 +8091,7 @@ "A skill with the same identity already exists.": "O abilitate cu aceeași identitate există deja.", "Abstain": "abține-te", "Accept": "Accepta", + "Accept handoff": "Acceptați transferul", "Acceptance": "Acceptare", "Acceptance checks will be clarified before execution.": "Verificările de acceptare vor fi clarificate înainte de execuție.", "Acceptance criteria": "Criterii de acceptare", @@ -8630,6 +8643,7 @@ "Avatar uploaded": "Avatarul a fost încărcat", "Avatar, name, and a compact working brief.": "Avatar, nume și un scurt de lucru.", "Avoid triggers": "Evitați declanșatoarele", + "Awaiting acceptance": "În așteptarea acceptării", "Awaiting confirmation": "Se așteaptă confirmarea", "Awaiting enable": "Se așteaptă activarea", "Awaiting merge approval": "Se așteaptă aprobarea fuziunii", @@ -8819,6 +8833,7 @@ "cancelling": "Anulare", "Cancelling": "Anulare", "Candidate approved for draft": "Candidatul aprobat pentru proiect", + "Candidate changed": "Candidatul s-a schimbat", "Candidate changed since verification": "Candidatul s-a schimbat de la verificare", "Candidate cluster is not bound to a channel.": "Clusterul candidat nu este legat de un canal.", "Candidate Clusters": "Clustere de candidați", @@ -9556,6 +9571,7 @@ "Could not start this scene.": "Nu a putut începe această scenă.", "Could not start this workflow test.": "Nu s-a putut porni acest test de flux de lucru.", "Could not switch projects. Showing the last loaded project.": "Nu s-a putut schimba proiectele. Se afișează ultimul proiect încărcat.", + "Could not update handoff": "Nu s-a putut actualiza transferul", "Could not update the default model. Try again.": "Nu s-a putut actualiza modelul implicit. Încearcă din nou.", "Council actions": "Acțiuni ale Consiliului", "Council boundaries": "Limitele Consiliului", @@ -11556,6 +11572,7 @@ "minutes": "minute", "missing": "lipsă", "Missing": "Lipsă", + "Missing artifact": "Artefact lipsă", "Missing dependency": "Missing dependency", "Missing fields": "Câmpuri lipsă", "Missing key": "Cheia lipsă", @@ -13137,6 +13154,7 @@ "Requested URL": "Solicitat URL", "Required": "Necesar", "Required before approving high-risk requests": "Obligatoriu înainte de aprobarea cererilor cu risc ridicat", + "Required check incomplete": "Verificare obligatorie incompletă", "Required checks": "Verificări obligatorii", "Required for assigned teammates": "Necesar pentru colegii de echipă alocați", "Required input": "Intrare necesară", @@ -13260,8 +13278,11 @@ "Retry upload": "Reîncercați să încărcați", "Retryable": "Reîncercat", "Retrying automatically...": "Se reîncercă automat...", + "Return handoff": "Întoarceți transferul", + "Return reason": "Motivul returnării", "Return to an unlocked interactive Windows desktop, restart Ling if needed, then check again.": "Reveniți la un desktop interactiv Windows deblocat, reporniți Ling dacă este necesar, apoi verificați din nou.", "Return to implementation mode": "Reveniți la modul de implementare", + "Returned for repair": "Returnat pentru reparație", "Reusable": "Reutilizabil", "Reuse images already saved in this media project.": "Reutilizați imaginile deja salvate în acest proiect media.", "Reuse settings": "Reutilizați setările", @@ -13652,6 +13673,7 @@ "Schema, checksums, and package metadata": "Schemă, sume de control și metadatele pachetului", "Scope": "Domeniul de aplicare", "Scope ID": "Domeniul de aplicare ID", + "Scope unavailable": "Domeniul de aplicare indisponibil", "Screen capture and input stop. Ling never interacts with the lock screen, login window, password fields, or secure desktop.": "Captură de ecran și oprire de intrare. Ling nu interacționează niciodată cu ecranul de blocare, fereastra de conectare, câmpurile de parolă sau desktopul securizat.", "Screen Recording": "Înregistrare ecran", "Scripts can contact external services. Only run documents you trust.": "Scripts can contact external services. Only run documents you trust.", @@ -15000,6 +15022,7 @@ "Uploading avatar": "Se încarcă avatar", "Uploading...": "Se încarcă...", "Upstream": "în amonte", + "Upstream result unconfirmed": "Rezultat în amonte neconfirmat", "Upstream version": "Versiune în amonte", "urgent": "urgent", "URL image edit": "URL editarea imaginii", @@ -15196,6 +15219,7 @@ "Waiting for runner activity...": "În așteptarea activității alergătorului...", "Waiting for runner events...": "În așteptarea evenimentelor alergătorilor...", "Waiting for sign-in": "Se așteaptă conectarea", + "Waiting for source": "Se așteaptă sursa", "Waiting for system confirmation and Host readback...": "Se așteaptă confirmarea sistemului și citirea gazdei...", "waiting for user input": "așteptând intrarea utilizatorului", "Waiting for votes": "În așteptarea voturilor", diff --git a/packages/localization/catalogs/ru-RU.json b/packages/localization/catalogs/ru-RU.json index aee0ef9dd..ae482c8c1 100644 --- a/packages/localization/catalogs/ru-RU.json +++ b/packages/localization/catalogs/ru-RU.json @@ -1,6 +1,6 @@ { "locale": "ru-RU", - "sourceRevision": "e134cc889637523423524b121cf71dcb37afdd3d7daf48eaea975d1c39785b2e", + "sourceRevision": "95b7d5d6546abac9c1f3ec3e54efe7bff99c84252c464896ecb9bf2245f66dfd", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -343,6 +343,7 @@ "A skill with the same identity already exists.": "66dd592d63333b2f2738e59f82a3866d9a6db17154a2cc2a752727f9a40998d1", "Abstain": "bf92ab42d052ce917d87cccce310e4351900347095f57947b3d08c1b1ff8bcf3", "Accept": "89713b9c9c1b8f659c9f49db25e4a47886dd673fee248c3f650391f09a759cef", + "Accept handoff": "13e3dc2abccf1296c34099b2080efb8c78ad82067436ff2039024f22ed8cc2e9", "Acceptance": "f190a5cb3aff17b0ee84f6ee258333d63a9cc71aa66c2e1788ebc3ae24a89b10", "Acceptance checks will be clarified before execution.": "ffd59db22fb4d3abb3c9cc67c351c818e1732dfca2d6cd18ae361a711fa4bb72", "Acceptance criteria": "d47a36f4f055810755db08b8d52e479baa4bb7a7a1f6449f71fa1ad5c20495ef", @@ -894,6 +895,7 @@ "Avatar uploaded": "d0d5a01f3f30fd933994a5950ddae3d14384d2c850c05deb50532b65aa6593ba", "Avatar, name, and a compact working brief.": "8d3706d4928090efbf7eca6683e3357f4f92732bc8be64c50dc8af8620a256c1", "Avoid triggers": "1419db0b6ddbd1f3a1632043da73529ecbcb0aef9183fd7d78e12df2942444de", + "Awaiting acceptance": "1dc7bfd9c54d73f22b4a9bdca5f741d5067a673b7f99d77e85367f6c8f049f85", "Awaiting confirmation": "d0ae0b38eac639b98f6a9b793a7add708bedbc6156963e3abc00453b235b2f3d", "Awaiting enable": "2a6b618d273346e8198806aa0d934a4bd6f5bf8b29d0780076df974ca93bf548", "Awaiting merge approval": "21837cdd561270cefc146079172511177736bb9091e9fb50d93bb072f271ecb0", @@ -1083,6 +1085,7 @@ "cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Candidate approved for draft": "59a57b9b459b3215e76b651f73f6521bc1bd71fa66bb52e046368a559db6632b", + "Candidate changed": "ca07c050cd47ab4f4d2f2fb6c60110b738af5b951a9ab708c36879365ec4532e", "Candidate changed since verification": "a2808e03661077a04403dab2204b7ce8d78310c296600bd03c5766a754f216a6", "Candidate cluster is not bound to a channel.": "6066a4e8725d065a7c2b8d2c8974a60c41c0a94124deeabd972f620ddd815786", "Candidate Clusters": "b617f8ce5325fa8984c324816b08d3a26c05dac3c3276bcc4f4ab7196222dbe4", @@ -1820,6 +1823,7 @@ "Could not start this scene.": "acb6aa181a8b842f1a8fc78344dc210cb98a45ccb6cf38ebd01beb65fe7fa27d", "Could not start this workflow test.": "7fe6f22a12127a9d74069d195a2513038cb2ff035acc4433d41e31006445e46e", "Could not switch projects. Showing the last loaded project.": "1a284203a5fd7f9d39c625017fde0d1c88180e3d2fa62b07aa7c9eb64a2e8aa6", + "Could not update handoff": "b6b7ff312171612e082d24ec92c854155d95fa6177a25cb0ac10f44e2c6110e2", "Could not update the default model. Try again.": "c87a00ab8ffb8c8c60209acf9b5cb10295a2a5e93c3e6f72dd8b2b4c316bdc16", "Council actions": "79763aae8f6334c6e29273106f3509b76114439dd686c9fa32753bca265eee32", "Council boundaries": "b4d6713050d140a9102817793dcb99d64565ee0d33d364b71f5d4d2afd234baf", @@ -3820,6 +3824,7 @@ "minutes": "90e63d85fa1ab2c8ed65222f3ebd794b1e524b4b7cf84bec451542d0451b2985", "missing": "ffa63583dfa6706b87d284b86b0d693a161e4840aad2c5cf6b5d27c3b9621f7d", "Missing": "6be36ca49ee85210c5d1ad9c377d90a9859c66d889110a2a5b0dccd390d12e20", + "Missing artifact": "e936c2df4de783be206107e353054e33ebba1c9988085200c260c7a6b8f8fc73", "Missing dependency": "5915d1e15e283f09695ad4b96ced9625bbd68aab747dc778f37aada0a7489b5c", "Missing fields": "69121d3f63d5a27ab7ce484854c065ce87e7022dc5fdfee9d778ab02515542fc", "Missing key": "0c8a17a63a322df1c40693b8469227cf5426b024673da9065f42c6cbb7c58370", @@ -5401,6 +5406,7 @@ "Requested URL": "8ae37b38fe2e415c8c641c3f2b6e9b42a11245cc8749a51a247cf0464b4c7faf", "Required": "4850b174b713d88cfc63de107830d5388929020e78abc91fc19bba7a6821625f", "Required before approving high-risk requests": "3cb612a5f43f4acbf5a6066a5da559bce858b50cdab2c2f6943bf4a05de1310a", + "Required check incomplete": "f64e6dfd1fc8cd1f2139aadf61c6ef43ecaa2ce783b2c712a56d31a574e05741", "Required checks": "f5a021846bd1a50002c0ea940f30cc97c285a118c62ff95af5c2f538584a7e26", "Required for assigned teammates": "4732aa544a8d93b886e6bcbbcc5c3314af692f8a8a812efd4844cd3589b7b63a", "Required input": "fafaaf99b5a6af521026448890a9dacaf4d47053804a34be7cdf364e13637181", @@ -5524,8 +5530,11 @@ "Retry upload": "731dc6e3f07ab1b090e925be766dd01d8e4aed2f0ad2cef600bf157bd7764500", "Retryable": "c282bd362abaadb6a38a4fdb268df44325f8bfde40f719b77fdd690180c51889", "Retrying automatically...": "220837f6132382f3e8d4fb676f31aab3dc9fabc34b8f26c2e4ced9b83ebce4ec", + "Return handoff": "1ae47e9a67b5866c28ccd52c2040500610b795d917cc6620a444c170ded79836", + "Return reason": "79f91549d760515b430db20e8f2f0c766e417826dfea15029dca20f6eb9865ac", "Return to an unlocked interactive Windows desktop, restart Ling if needed, then check again.": "bccd46e406f4d428d83a9dd510df581b52e5c28c51da4d357e3e66c21740ee0e", "Return to implementation mode": "36435baabf6c6acc0666fba73f68609f9a41d17389ea216a99f41b5036e8b6ef", + "Returned for repair": "07abb2b9ba19b479a5126883271bb99fa47e239dffb3337fb13bbe2778654158", "Reusable": "8ded2b384940a83eb986da575b9efa40f1b03fd1d626bd91964cbb11502e0b42", "Reuse images already saved in this media project.": "3c3dd902fab18f841a51942e3a4e92a93c8d39ddd8b48ae9ee017982a26fa1c1", "Reuse settings": "17507cf7d05b478d392e9aa85d9c60046c0e2a185959546ac0864a89b95ec744", @@ -5916,6 +5925,7 @@ "Schema, checksums, and package metadata": "d91ffc3c0cdd2c26d37ba9cf60de0a718343a3969303718321092f0367a68808", "Scope": "b073f6c68ef8721107fd9815b19b2c35ec111d526b75c2123d1111ba64424000", "Scope ID": "4a201ef6cbd70a0728fc5c62eb87fd73ac56e470c853a3112ebf27617e49ff76", + "Scope unavailable": "38a32037c55100c3ad97878ca4e361a734a3422fb35bdbaeacebf4babb16cdf3", "Screen capture and input stop. Ling never interacts with the lock screen, login window, password fields, or secure desktop.": "cece9f092190c9e9e4c9d54f7da59256e922a56556c843c4e2b44fb1a67b0c5f", "Screen Recording": "bc3c742893dc7aff9c88fad0aae3f6749a6679a45cbafb0981f0e2ddaed5c49c", "Scripts can contact external services. Only run documents you trust.": "aa3560983d2f6c2656f1a9329fcb9434fa520d6f64bcccf0e6ae91c82ddbb0dd", @@ -7264,6 +7274,7 @@ "Uploading avatar": "995b81efc53e808131bd98d546fb3fa493a44b9b43b752237e590bf5a2e487c8", "Uploading...": "72cb29c90ccd8361ee82d02fabe81a3f01605c7b8fea4c9996fc01d84e3fbb48", "Upstream": "94adc696fd24e9fd67e83ba256a9f33bf1d7191d4a5e38ee8c69597cd89e4777", + "Upstream result unconfirmed": "d345a9ef65cf22ec93d4a7a0457157bcdc8696a90ea8e72690d04b25d7447d94", "Upstream version": "7927b36324919e81ae646c1455b608aadcecdedb285d9985d63d80572c3d5214", "urgent": "f9d37c23fcc0f03c15a86aba71dce01dd0baa7a1568180e60c2347a5863151bc", "URL image edit": "444b0006116b72fd13097e57758caf2edaa14133af89617d79ed238d71f518ff", @@ -7460,6 +7471,7 @@ "Waiting for runner activity...": "d0e7a1fd3763c4062fe8ac59255b9281effe77d2fd1d79f9ae2498e56ac3b96f", "Waiting for runner events...": "dc60b71d9ccb374ef6e53cc9496c05fd15dcd7b4955ec8ae7603cf360af7e85e", "Waiting for sign-in": "749a343a3a25c1df679ee6d6e74abb72e08ef956bfa15434407e61934dc054c9", + "Waiting for source": "8ac1608b4d56ce4dcc84a6d489fb055d7e9281efa150baa1fd5c2be7f2dd220b", "Waiting for system confirmation and Host readback...": "952e73792f0715e2d1f30ef0b0c03c4353cd9ab96caa71856bbce7dc41e2d161", "waiting for user input": "f43ef097687b1d8c8800577eefa3f7e10d0c82236cd0017f983d131e8e673174", "Waiting for votes": "bbb50edc12d1ce791069a8e84ca6e73a255b796306d32cdc1414987b986e172f", @@ -8079,6 +8091,7 @@ "A skill with the same identity already exists.": "Навык с таким же идентификатором уже существует.", "Abstain": "Воздерживаться", "Accept": "Принимать", + "Accept handoff": "Принять передачу", "Acceptance": "Принятие", "Acceptance checks will be clarified before execution.": "Приемочные проверки будут уточнены перед выполнением.", "Acceptance criteria": "Критерии приемки", @@ -8630,6 +8643,7 @@ "Avatar uploaded": "Аватар загружен", "Avatar, name, and a compact working brief.": "Аватар, имя и компактное рабочее задание.", "Avoid triggers": "Избегайте триггеров", + "Awaiting acceptance": "Ожидание принятия", "Awaiting confirmation": "Ожидание подтверждения", "Awaiting enable": "Ожидание включения", "Awaiting merge approval": "Ожидаем одобрения на слияние", @@ -8819,6 +8833,7 @@ "cancelling": "Отмена", "Cancelling": "Отмена", "Candidate approved for draft": "Кандидат одобрен к призыву", + "Candidate changed": "Кандидат изменен", "Candidate changed since verification": "Кандидат изменился после проверки", "Candidate cluster is not bound to a channel.": "Кластер-кандидат не привязан к каналу.", "Candidate Clusters": "Кластеры кандидатов", @@ -9556,6 +9571,7 @@ "Could not start this scene.": "Не удалось запустить эту сцену.", "Could not start this workflow test.": "Не удалось запустить этот тест рабочего процесса.", "Could not switch projects. Showing the last loaded project.": "Не удалось переключить проект. Показан последний загруженный проект.", + "Could not update handoff": "Не удалось обновить передачу", "Could not update the default model. Try again.": "Не удалось обновить модель по умолчанию. Попробуйте еще раз.", "Council actions": "Действия Совета", "Council boundaries": "Границы совета", @@ -11556,6 +11572,7 @@ "minutes": "минуты", "missing": "отсутствующий", "Missing": "Отсутствующий", + "Missing artifact": "Пропавший артефакт", "Missing dependency": "Missing dependency", "Missing fields": "Отсутствующие поля", "Missing key": "Отсутствует ключ", @@ -13137,6 +13154,7 @@ "Requested URL": "Запрошено URL", "Required": "Необходимый", "Required before approving high-risk requests": "Требуется перед утверждением запросов с высоким риском.", + "Required check incomplete": "Обязательная проверка не завершена", "Required checks": "Обязательные проверки", "Required for assigned teammates": "Требуется для назначенных товарищей по команде", "Required input": "Требуемый ввод", @@ -13260,8 +13278,11 @@ "Retry upload": "Повторить загрузку", "Retryable": "Повторная попытка", "Retrying automatically...": "Автоматическая повторная попытка...", + "Return handoff": "Возврат передачи", + "Return reason": "Причина возврата", "Return to an unlocked interactive Windows desktop, restart Ling if needed, then check again.": "Вернитесь к разблокированному интерактивному рабочему столу Windows, при необходимости перезапустите Ling, а затем проверьте еще раз.", "Return to implementation mode": "Вернуться в режим реализации", + "Returned for repair": "Вернулся в ремонт", "Reusable": "Многоразовый", "Reuse images already saved in this media project.": "Повторно используйте изображения, уже сохраненные в этом медиапроекте.", "Reuse settings": "Повторное использование настроек", @@ -13652,6 +13673,7 @@ "Schema, checksums, and package metadata": "Схема, контрольные суммы и метаданные пакета", "Scope": "Объем", "Scope ID": "Область применения ID", + "Scope unavailable": "Область недоступна", "Screen capture and input stop. Ling never interacts with the lock screen, login window, password fields, or secure desktop.": "Снимок экрана и остановка ввода. Ling никогда не взаимодействует с экраном блокировки, окном входа в систему, полями пароля или защищенным рабочим столом.", "Screen Recording": "Запись экрана", "Scripts can contact external services. Only run documents you trust.": "Scripts can contact external services. Only run documents you trust.", @@ -15000,6 +15022,7 @@ "Uploading avatar": "Загрузка аватара", "Uploading...": "Загрузка...", "Upstream": "вверх по течению", + "Upstream result unconfirmed": "Результат восходящего потока не подтвержден", "Upstream version": "Восходящая версия", "urgent": "срочный", "URL image edit": "URL редактирование изображения", @@ -15196,6 +15219,7 @@ "Waiting for runner activity...": "Ожидание активности бегунов...", "Waiting for runner events...": "Ждём беговых событий...", "Waiting for sign-in": "Ожидание входа в систему", + "Waiting for source": "Ожидание источника", "Waiting for system confirmation and Host readback...": "Ожидание подтверждения системы и повторного чтения хоста...", "waiting for user input": "ожидание ввода пользователя", "Waiting for votes": "Ждем голосов", diff --git a/packages/localization/catalogs/sk-SK.json b/packages/localization/catalogs/sk-SK.json index 46ad87304..ff5048dbf 100644 --- a/packages/localization/catalogs/sk-SK.json +++ b/packages/localization/catalogs/sk-SK.json @@ -1,6 +1,6 @@ { "locale": "sk-SK", - "sourceRevision": "e134cc889637523423524b121cf71dcb37afdd3d7daf48eaea975d1c39785b2e", + "sourceRevision": "95b7d5d6546abac9c1f3ec3e54efe7bff99c84252c464896ecb9bf2245f66dfd", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -343,6 +343,7 @@ "A skill with the same identity already exists.": "66dd592d63333b2f2738e59f82a3866d9a6db17154a2cc2a752727f9a40998d1", "Abstain": "bf92ab42d052ce917d87cccce310e4351900347095f57947b3d08c1b1ff8bcf3", "Accept": "89713b9c9c1b8f659c9f49db25e4a47886dd673fee248c3f650391f09a759cef", + "Accept handoff": "13e3dc2abccf1296c34099b2080efb8c78ad82067436ff2039024f22ed8cc2e9", "Acceptance": "f190a5cb3aff17b0ee84f6ee258333d63a9cc71aa66c2e1788ebc3ae24a89b10", "Acceptance checks will be clarified before execution.": "ffd59db22fb4d3abb3c9cc67c351c818e1732dfca2d6cd18ae361a711fa4bb72", "Acceptance criteria": "d47a36f4f055810755db08b8d52e479baa4bb7a7a1f6449f71fa1ad5c20495ef", @@ -894,6 +895,7 @@ "Avatar uploaded": "d0d5a01f3f30fd933994a5950ddae3d14384d2c850c05deb50532b65aa6593ba", "Avatar, name, and a compact working brief.": "8d3706d4928090efbf7eca6683e3357f4f92732bc8be64c50dc8af8620a256c1", "Avoid triggers": "1419db0b6ddbd1f3a1632043da73529ecbcb0aef9183fd7d78e12df2942444de", + "Awaiting acceptance": "1dc7bfd9c54d73f22b4a9bdca5f741d5067a673b7f99d77e85367f6c8f049f85", "Awaiting confirmation": "d0ae0b38eac639b98f6a9b793a7add708bedbc6156963e3abc00453b235b2f3d", "Awaiting enable": "2a6b618d273346e8198806aa0d934a4bd6f5bf8b29d0780076df974ca93bf548", "Awaiting merge approval": "21837cdd561270cefc146079172511177736bb9091e9fb50d93bb072f271ecb0", @@ -1083,6 +1085,7 @@ "cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Candidate approved for draft": "59a57b9b459b3215e76b651f73f6521bc1bd71fa66bb52e046368a559db6632b", + "Candidate changed": "ca07c050cd47ab4f4d2f2fb6c60110b738af5b951a9ab708c36879365ec4532e", "Candidate changed since verification": "a2808e03661077a04403dab2204b7ce8d78310c296600bd03c5766a754f216a6", "Candidate cluster is not bound to a channel.": "6066a4e8725d065a7c2b8d2c8974a60c41c0a94124deeabd972f620ddd815786", "Candidate Clusters": "b617f8ce5325fa8984c324816b08d3a26c05dac3c3276bcc4f4ab7196222dbe4", @@ -1820,6 +1823,7 @@ "Could not start this scene.": "acb6aa181a8b842f1a8fc78344dc210cb98a45ccb6cf38ebd01beb65fe7fa27d", "Could not start this workflow test.": "7fe6f22a12127a9d74069d195a2513038cb2ff035acc4433d41e31006445e46e", "Could not switch projects. Showing the last loaded project.": "1a284203a5fd7f9d39c625017fde0d1c88180e3d2fa62b07aa7c9eb64a2e8aa6", + "Could not update handoff": "b6b7ff312171612e082d24ec92c854155d95fa6177a25cb0ac10f44e2c6110e2", "Could not update the default model. Try again.": "c87a00ab8ffb8c8c60209acf9b5cb10295a2a5e93c3e6f72dd8b2b4c316bdc16", "Council actions": "79763aae8f6334c6e29273106f3509b76114439dd686c9fa32753bca265eee32", "Council boundaries": "b4d6713050d140a9102817793dcb99d64565ee0d33d364b71f5d4d2afd234baf", @@ -3820,6 +3824,7 @@ "minutes": "90e63d85fa1ab2c8ed65222f3ebd794b1e524b4b7cf84bec451542d0451b2985", "missing": "ffa63583dfa6706b87d284b86b0d693a161e4840aad2c5cf6b5d27c3b9621f7d", "Missing": "6be36ca49ee85210c5d1ad9c377d90a9859c66d889110a2a5b0dccd390d12e20", + "Missing artifact": "e936c2df4de783be206107e353054e33ebba1c9988085200c260c7a6b8f8fc73", "Missing dependency": "5915d1e15e283f09695ad4b96ced9625bbd68aab747dc778f37aada0a7489b5c", "Missing fields": "69121d3f63d5a27ab7ce484854c065ce87e7022dc5fdfee9d778ab02515542fc", "Missing key": "0c8a17a63a322df1c40693b8469227cf5426b024673da9065f42c6cbb7c58370", @@ -5401,6 +5406,7 @@ "Requested URL": "8ae37b38fe2e415c8c641c3f2b6e9b42a11245cc8749a51a247cf0464b4c7faf", "Required": "4850b174b713d88cfc63de107830d5388929020e78abc91fc19bba7a6821625f", "Required before approving high-risk requests": "3cb612a5f43f4acbf5a6066a5da559bce858b50cdab2c2f6943bf4a05de1310a", + "Required check incomplete": "f64e6dfd1fc8cd1f2139aadf61c6ef43ecaa2ce783b2c712a56d31a574e05741", "Required checks": "f5a021846bd1a50002c0ea940f30cc97c285a118c62ff95af5c2f538584a7e26", "Required for assigned teammates": "4732aa544a8d93b886e6bcbbcc5c3314af692f8a8a812efd4844cd3589b7b63a", "Required input": "fafaaf99b5a6af521026448890a9dacaf4d47053804a34be7cdf364e13637181", @@ -5524,8 +5530,11 @@ "Retry upload": "731dc6e3f07ab1b090e925be766dd01d8e4aed2f0ad2cef600bf157bd7764500", "Retryable": "c282bd362abaadb6a38a4fdb268df44325f8bfde40f719b77fdd690180c51889", "Retrying automatically...": "220837f6132382f3e8d4fb676f31aab3dc9fabc34b8f26c2e4ced9b83ebce4ec", + "Return handoff": "1ae47e9a67b5866c28ccd52c2040500610b795d917cc6620a444c170ded79836", + "Return reason": "79f91549d760515b430db20e8f2f0c766e417826dfea15029dca20f6eb9865ac", "Return to an unlocked interactive Windows desktop, restart Ling if needed, then check again.": "bccd46e406f4d428d83a9dd510df581b52e5c28c51da4d357e3e66c21740ee0e", "Return to implementation mode": "36435baabf6c6acc0666fba73f68609f9a41d17389ea216a99f41b5036e8b6ef", + "Returned for repair": "07abb2b9ba19b479a5126883271bb99fa47e239dffb3337fb13bbe2778654158", "Reusable": "8ded2b384940a83eb986da575b9efa40f1b03fd1d626bd91964cbb11502e0b42", "Reuse images already saved in this media project.": "3c3dd902fab18f841a51942e3a4e92a93c8d39ddd8b48ae9ee017982a26fa1c1", "Reuse settings": "17507cf7d05b478d392e9aa85d9c60046c0e2a185959546ac0864a89b95ec744", @@ -5916,6 +5925,7 @@ "Schema, checksums, and package metadata": "d91ffc3c0cdd2c26d37ba9cf60de0a718343a3969303718321092f0367a68808", "Scope": "b073f6c68ef8721107fd9815b19b2c35ec111d526b75c2123d1111ba64424000", "Scope ID": "4a201ef6cbd70a0728fc5c62eb87fd73ac56e470c853a3112ebf27617e49ff76", + "Scope unavailable": "38a32037c55100c3ad97878ca4e361a734a3422fb35bdbaeacebf4babb16cdf3", "Screen capture and input stop. Ling never interacts with the lock screen, login window, password fields, or secure desktop.": "cece9f092190c9e9e4c9d54f7da59256e922a56556c843c4e2b44fb1a67b0c5f", "Screen Recording": "bc3c742893dc7aff9c88fad0aae3f6749a6679a45cbafb0981f0e2ddaed5c49c", "Scripts can contact external services. Only run documents you trust.": "aa3560983d2f6c2656f1a9329fcb9434fa520d6f64bcccf0e6ae91c82ddbb0dd", @@ -7264,6 +7274,7 @@ "Uploading avatar": "995b81efc53e808131bd98d546fb3fa493a44b9b43b752237e590bf5a2e487c8", "Uploading...": "72cb29c90ccd8361ee82d02fabe81a3f01605c7b8fea4c9996fc01d84e3fbb48", "Upstream": "94adc696fd24e9fd67e83ba256a9f33bf1d7191d4a5e38ee8c69597cd89e4777", + "Upstream result unconfirmed": "d345a9ef65cf22ec93d4a7a0457157bcdc8696a90ea8e72690d04b25d7447d94", "Upstream version": "7927b36324919e81ae646c1455b608aadcecdedb285d9985d63d80572c3d5214", "urgent": "f9d37c23fcc0f03c15a86aba71dce01dd0baa7a1568180e60c2347a5863151bc", "URL image edit": "444b0006116b72fd13097e57758caf2edaa14133af89617d79ed238d71f518ff", @@ -7460,6 +7471,7 @@ "Waiting for runner activity...": "d0e7a1fd3763c4062fe8ac59255b9281effe77d2fd1d79f9ae2498e56ac3b96f", "Waiting for runner events...": "dc60b71d9ccb374ef6e53cc9496c05fd15dcd7b4955ec8ae7603cf360af7e85e", "Waiting for sign-in": "749a343a3a25c1df679ee6d6e74abb72e08ef956bfa15434407e61934dc054c9", + "Waiting for source": "8ac1608b4d56ce4dcc84a6d489fb055d7e9281efa150baa1fd5c2be7f2dd220b", "Waiting for system confirmation and Host readback...": "952e73792f0715e2d1f30ef0b0c03c4353cd9ab96caa71856bbce7dc41e2d161", "waiting for user input": "f43ef097687b1d8c8800577eefa3f7e10d0c82236cd0017f983d131e8e673174", "Waiting for votes": "bbb50edc12d1ce791069a8e84ca6e73a255b796306d32cdc1414987b986e172f", @@ -8079,6 +8091,7 @@ "A skill with the same identity already exists.": "Zručnosť s rovnakou identitou už existuje.", "Abstain": "Zdržať sa hlasovania", "Accept": "Prijať", + "Accept handoff": "Prijmite odovzdanie", "Acceptance": "Prijatie", "Acceptance checks will be clarified before execution.": "Akceptačné kontroly budú vyjasnené pred vykonaním.", "Acceptance criteria": "Kritériá prijatia", @@ -8630,6 +8643,7 @@ "Avatar uploaded": "Avatar bol nahraný", "Avatar, name, and a compact working brief.": "Avatar, meno a kompaktný pracovný brief.", "Avoid triggers": "Vyhnite sa spúšťačom", + "Awaiting acceptance": "Čaká na prijatie", "Awaiting confirmation": "Čaká sa na potvrdenie", "Awaiting enable": "Čaká sa na povolenie", "Awaiting merge approval": "Čaká sa na schválenie zlúčenia", @@ -8819,6 +8833,7 @@ "cancelling": "Prebieha rušenie", "Cancelling": "Prebieha rušenie", "Candidate approved for draft": "Kandidát schválený na návrh", + "Candidate changed": "Kandidát zmenený", "Candidate changed since verification": "Kandidát sa od overenia zmenil", "Candidate cluster is not bound to a channel.": "Klaster kandidátov nie je viazaný na kanál.", "Candidate Clusters": "Kandidátske klastre", @@ -9556,6 +9571,7 @@ "Could not start this scene.": "Túto scénu sa nepodarilo spustiť.", "Could not start this workflow test.": "Tento test pracovného postupu sa nepodarilo spustiť.", "Could not switch projects. Showing the last loaded project.": "Projekty sa nepodarilo prepnúť. Zobrazuje sa posledný načítaný projekt.", + "Could not update handoff": "Odovzdanie sa nepodarilo aktualizovať", "Could not update the default model. Try again.": "Nepodarilo sa aktualizovať predvolený model. Skúste to znova.", "Council actions": "akcie rady", "Council boundaries": "Hranice rady", @@ -11556,6 +11572,7 @@ "minutes": "minút", "missing": "chýba", "Missing": "Chýba", + "Missing artifact": "Chýbajúci artefakt", "Missing dependency": "Missing dependency", "Missing fields": "Chýbajúce polia", "Missing key": "Chýba kľúč", @@ -13137,6 +13154,7 @@ "Requested URL": "Požadované URL", "Required": "Povinné", "Required before approving high-risk requests": "Vyžaduje sa pred schválením vysoko rizikových žiadostí", + "Required check incomplete": "Požadovaná kontrola je neúplná", "Required checks": "Požadované kontroly", "Required for assigned teammates": "Vyžaduje sa pre pridelených spoluhráčov", "Required input": "Požadovaný vstup", @@ -13260,8 +13278,11 @@ "Retry upload": "Skúste odovzdať znova", "Retryable": "Opakovateľné", "Retrying automatically...": "Opakuje sa automatický pokus...", + "Return handoff": "Spätné odovzdanie", + "Return reason": "Dôvod vrátenia", "Return to an unlocked interactive Windows desktop, restart Ling if needed, then check again.": "Vráťte sa na odomknutú interaktívnu plochu Windows, v prípade potreby reštartujte Ling a potom znova skontrolujte.", "Return to implementation mode": "Návrat do režimu implementácie", + "Returned for repair": "Vrátené na opravu", "Reusable": "Opakovane použiteľné", "Reuse images already saved in this media project.": "Opätovne použite obrázky už uložené v tomto mediálnom projekte.", "Reuse settings": "Opätovne použite nastavenia", @@ -13652,6 +13673,7 @@ "Schema, checksums, and package metadata": "Schéma, kontrolné súčty a metadáta balíka", "Scope": "Rozsah", "Scope ID": "Rozsah ID", + "Scope unavailable": "Rozsah nie je k dispozícii", "Screen capture and input stop. Ling never interacts with the lock screen, login window, password fields, or secure desktop.": "Snímanie obrazovky a zastavenie vstupu. Ling nikdy neinteraguje s uzamknutou obrazovkou, prihlasovacím oknom, poľami pre heslá ani zabezpečenou plochou.", "Screen Recording": "Nahrávanie obrazovky", "Scripts can contact external services. Only run documents you trust.": "Scripts can contact external services. Only run documents you trust.", @@ -15000,6 +15022,7 @@ "Uploading avatar": "Nahráva sa avatar", "Uploading...": "Nahráva sa...", "Upstream": "Proti prúdu", + "Upstream result unconfirmed": "Výsledok proti prúdu nepotvrdený", "Upstream version": "Upstream verzia", "urgent": "súrne", "URL image edit": "URL úprava obrázka", @@ -15196,6 +15219,7 @@ "Waiting for runner activity...": "Čaká sa na aktivitu bežca...", "Waiting for runner events...": "Čaká sa na bežecké podujatia...", "Waiting for sign-in": "Čaká sa na prihlásenie", + "Waiting for source": "Čaká sa na zdroj", "Waiting for system confirmation and Host readback...": "Čaká sa na potvrdenie systému a spätné čítanie hostiteľa...", "waiting for user input": "čaká na vstup používateľa", "Waiting for votes": "Čaká sa na hlasy", diff --git a/packages/localization/catalogs/sl-SI.json b/packages/localization/catalogs/sl-SI.json index 9cf01f630..4dbcba113 100644 --- a/packages/localization/catalogs/sl-SI.json +++ b/packages/localization/catalogs/sl-SI.json @@ -1,6 +1,6 @@ { "locale": "sl-SI", - "sourceRevision": "e134cc889637523423524b121cf71dcb37afdd3d7daf48eaea975d1c39785b2e", + "sourceRevision": "95b7d5d6546abac9c1f3ec3e54efe7bff99c84252c464896ecb9bf2245f66dfd", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -343,6 +343,7 @@ "A skill with the same identity already exists.": "66dd592d63333b2f2738e59f82a3866d9a6db17154a2cc2a752727f9a40998d1", "Abstain": "bf92ab42d052ce917d87cccce310e4351900347095f57947b3d08c1b1ff8bcf3", "Accept": "89713b9c9c1b8f659c9f49db25e4a47886dd673fee248c3f650391f09a759cef", + "Accept handoff": "13e3dc2abccf1296c34099b2080efb8c78ad82067436ff2039024f22ed8cc2e9", "Acceptance": "f190a5cb3aff17b0ee84f6ee258333d63a9cc71aa66c2e1788ebc3ae24a89b10", "Acceptance checks will be clarified before execution.": "ffd59db22fb4d3abb3c9cc67c351c818e1732dfca2d6cd18ae361a711fa4bb72", "Acceptance criteria": "d47a36f4f055810755db08b8d52e479baa4bb7a7a1f6449f71fa1ad5c20495ef", @@ -894,6 +895,7 @@ "Avatar uploaded": "d0d5a01f3f30fd933994a5950ddae3d14384d2c850c05deb50532b65aa6593ba", "Avatar, name, and a compact working brief.": "8d3706d4928090efbf7eca6683e3357f4f92732bc8be64c50dc8af8620a256c1", "Avoid triggers": "1419db0b6ddbd1f3a1632043da73529ecbcb0aef9183fd7d78e12df2942444de", + "Awaiting acceptance": "1dc7bfd9c54d73f22b4a9bdca5f741d5067a673b7f99d77e85367f6c8f049f85", "Awaiting confirmation": "d0ae0b38eac639b98f6a9b793a7add708bedbc6156963e3abc00453b235b2f3d", "Awaiting enable": "2a6b618d273346e8198806aa0d934a4bd6f5bf8b29d0780076df974ca93bf548", "Awaiting merge approval": "21837cdd561270cefc146079172511177736bb9091e9fb50d93bb072f271ecb0", @@ -1083,6 +1085,7 @@ "cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Candidate approved for draft": "59a57b9b459b3215e76b651f73f6521bc1bd71fa66bb52e046368a559db6632b", + "Candidate changed": "ca07c050cd47ab4f4d2f2fb6c60110b738af5b951a9ab708c36879365ec4532e", "Candidate changed since verification": "a2808e03661077a04403dab2204b7ce8d78310c296600bd03c5766a754f216a6", "Candidate cluster is not bound to a channel.": "6066a4e8725d065a7c2b8d2c8974a60c41c0a94124deeabd972f620ddd815786", "Candidate Clusters": "b617f8ce5325fa8984c324816b08d3a26c05dac3c3276bcc4f4ab7196222dbe4", @@ -1820,6 +1823,7 @@ "Could not start this scene.": "acb6aa181a8b842f1a8fc78344dc210cb98a45ccb6cf38ebd01beb65fe7fa27d", "Could not start this workflow test.": "7fe6f22a12127a9d74069d195a2513038cb2ff035acc4433d41e31006445e46e", "Could not switch projects. Showing the last loaded project.": "1a284203a5fd7f9d39c625017fde0d1c88180e3d2fa62b07aa7c9eb64a2e8aa6", + "Could not update handoff": "b6b7ff312171612e082d24ec92c854155d95fa6177a25cb0ac10f44e2c6110e2", "Could not update the default model. Try again.": "c87a00ab8ffb8c8c60209acf9b5cb10295a2a5e93c3e6f72dd8b2b4c316bdc16", "Council actions": "79763aae8f6334c6e29273106f3509b76114439dd686c9fa32753bca265eee32", "Council boundaries": "b4d6713050d140a9102817793dcb99d64565ee0d33d364b71f5d4d2afd234baf", @@ -3820,6 +3824,7 @@ "minutes": "90e63d85fa1ab2c8ed65222f3ebd794b1e524b4b7cf84bec451542d0451b2985", "missing": "ffa63583dfa6706b87d284b86b0d693a161e4840aad2c5cf6b5d27c3b9621f7d", "Missing": "6be36ca49ee85210c5d1ad9c377d90a9859c66d889110a2a5b0dccd390d12e20", + "Missing artifact": "e936c2df4de783be206107e353054e33ebba1c9988085200c260c7a6b8f8fc73", "Missing dependency": "5915d1e15e283f09695ad4b96ced9625bbd68aab747dc778f37aada0a7489b5c", "Missing fields": "69121d3f63d5a27ab7ce484854c065ce87e7022dc5fdfee9d778ab02515542fc", "Missing key": "0c8a17a63a322df1c40693b8469227cf5426b024673da9065f42c6cbb7c58370", @@ -5401,6 +5406,7 @@ "Requested URL": "8ae37b38fe2e415c8c641c3f2b6e9b42a11245cc8749a51a247cf0464b4c7faf", "Required": "4850b174b713d88cfc63de107830d5388929020e78abc91fc19bba7a6821625f", "Required before approving high-risk requests": "3cb612a5f43f4acbf5a6066a5da559bce858b50cdab2c2f6943bf4a05de1310a", + "Required check incomplete": "f64e6dfd1fc8cd1f2139aadf61c6ef43ecaa2ce783b2c712a56d31a574e05741", "Required checks": "f5a021846bd1a50002c0ea940f30cc97c285a118c62ff95af5c2f538584a7e26", "Required for assigned teammates": "4732aa544a8d93b886e6bcbbcc5c3314af692f8a8a812efd4844cd3589b7b63a", "Required input": "fafaaf99b5a6af521026448890a9dacaf4d47053804a34be7cdf364e13637181", @@ -5524,8 +5530,11 @@ "Retry upload": "731dc6e3f07ab1b090e925be766dd01d8e4aed2f0ad2cef600bf157bd7764500", "Retryable": "c282bd362abaadb6a38a4fdb268df44325f8bfde40f719b77fdd690180c51889", "Retrying automatically...": "220837f6132382f3e8d4fb676f31aab3dc9fabc34b8f26c2e4ced9b83ebce4ec", + "Return handoff": "1ae47e9a67b5866c28ccd52c2040500610b795d917cc6620a444c170ded79836", + "Return reason": "79f91549d760515b430db20e8f2f0c766e417826dfea15029dca20f6eb9865ac", "Return to an unlocked interactive Windows desktop, restart Ling if needed, then check again.": "bccd46e406f4d428d83a9dd510df581b52e5c28c51da4d357e3e66c21740ee0e", "Return to implementation mode": "36435baabf6c6acc0666fba73f68609f9a41d17389ea216a99f41b5036e8b6ef", + "Returned for repair": "07abb2b9ba19b479a5126883271bb99fa47e239dffb3337fb13bbe2778654158", "Reusable": "8ded2b384940a83eb986da575b9efa40f1b03fd1d626bd91964cbb11502e0b42", "Reuse images already saved in this media project.": "3c3dd902fab18f841a51942e3a4e92a93c8d39ddd8b48ae9ee017982a26fa1c1", "Reuse settings": "17507cf7d05b478d392e9aa85d9c60046c0e2a185959546ac0864a89b95ec744", @@ -5916,6 +5925,7 @@ "Schema, checksums, and package metadata": "d91ffc3c0cdd2c26d37ba9cf60de0a718343a3969303718321092f0367a68808", "Scope": "b073f6c68ef8721107fd9815b19b2c35ec111d526b75c2123d1111ba64424000", "Scope ID": "4a201ef6cbd70a0728fc5c62eb87fd73ac56e470c853a3112ebf27617e49ff76", + "Scope unavailable": "38a32037c55100c3ad97878ca4e361a734a3422fb35bdbaeacebf4babb16cdf3", "Screen capture and input stop. Ling never interacts with the lock screen, login window, password fields, or secure desktop.": "cece9f092190c9e9e4c9d54f7da59256e922a56556c843c4e2b44fb1a67b0c5f", "Screen Recording": "bc3c742893dc7aff9c88fad0aae3f6749a6679a45cbafb0981f0e2ddaed5c49c", "Scripts can contact external services. Only run documents you trust.": "aa3560983d2f6c2656f1a9329fcb9434fa520d6f64bcccf0e6ae91c82ddbb0dd", @@ -7264,6 +7274,7 @@ "Uploading avatar": "995b81efc53e808131bd98d546fb3fa493a44b9b43b752237e590bf5a2e487c8", "Uploading...": "72cb29c90ccd8361ee82d02fabe81a3f01605c7b8fea4c9996fc01d84e3fbb48", "Upstream": "94adc696fd24e9fd67e83ba256a9f33bf1d7191d4a5e38ee8c69597cd89e4777", + "Upstream result unconfirmed": "d345a9ef65cf22ec93d4a7a0457157bcdc8696a90ea8e72690d04b25d7447d94", "Upstream version": "7927b36324919e81ae646c1455b608aadcecdedb285d9985d63d80572c3d5214", "urgent": "f9d37c23fcc0f03c15a86aba71dce01dd0baa7a1568180e60c2347a5863151bc", "URL image edit": "444b0006116b72fd13097e57758caf2edaa14133af89617d79ed238d71f518ff", @@ -7460,6 +7471,7 @@ "Waiting for runner activity...": "d0e7a1fd3763c4062fe8ac59255b9281effe77d2fd1d79f9ae2498e56ac3b96f", "Waiting for runner events...": "dc60b71d9ccb374ef6e53cc9496c05fd15dcd7b4955ec8ae7603cf360af7e85e", "Waiting for sign-in": "749a343a3a25c1df679ee6d6e74abb72e08ef956bfa15434407e61934dc054c9", + "Waiting for source": "8ac1608b4d56ce4dcc84a6d489fb055d7e9281efa150baa1fd5c2be7f2dd220b", "Waiting for system confirmation and Host readback...": "952e73792f0715e2d1f30ef0b0c03c4353cd9ab96caa71856bbce7dc41e2d161", "waiting for user input": "f43ef097687b1d8c8800577eefa3f7e10d0c82236cd0017f983d131e8e673174", "Waiting for votes": "bbb50edc12d1ce791069a8e84ca6e73a255b796306d32cdc1414987b986e172f", @@ -8079,6 +8091,7 @@ "A skill with the same identity already exists.": "Veščina z isto identiteto že obstaja.", "Abstain": "Vzdržati se", "Accept": "Sprejmi", + "Accept handoff": "Sprejmi predajo", "Acceptance": "Sprejemanje", "Acceptance checks will be clarified before execution.": "Sprejemni pregledi bodo pojasnjeni pred izvedbo.", "Acceptance criteria": "Merila sprejemljivosti", @@ -8630,6 +8643,7 @@ "Avatar uploaded": "Avatar je naložen", "Avatar, name, and a compact working brief.": "Avatar, ime in kompakten delovni opis.", "Avoid triggers": "Izogibajte se sprožilcem", + "Awaiting acceptance": "Čakanje na sprejem", "Awaiting confirmation": "Čakanje na potrditev", "Awaiting enable": "Čakanje na omogočanje", "Awaiting merge approval": "Čakanje na odobritev združitve", @@ -8819,6 +8833,7 @@ "cancelling": "Preklic", "Cancelling": "Preklic", "Candidate approved for draft": "Kandidat odobren za osnutek", + "Candidate changed": "Kandidat spremenjen", "Candidate changed since verification": "Kandidat se je od preverjanja spremenil", "Candidate cluster is not bound to a channel.": "Grozd kandidatov ni vezan na kanal.", "Candidate Clusters": "Grozdi kandidatov", @@ -9556,6 +9571,7 @@ "Could not start this scene.": "Tega prizora ni bilo mogoče začeti.", "Could not start this workflow test.": "Tega preizkusa poteka dela ni bilo mogoče začeti.", "Could not switch projects. Showing the last loaded project.": "Projektov ni bilo mogoče zamenjati. Prikaz zadnjega naloženega projekta.", + "Could not update handoff": "Primopredaje ni bilo mogoče posodobiti", "Could not update the default model. Try again.": "Privzetega modela ni bilo mogoče posodobiti. poskusi ponovno", "Council actions": "Ukrepi sveta", "Council boundaries": "Meje sveta", @@ -11556,6 +11572,7 @@ "minutes": "minut", "missing": "manjka", "Missing": "manjka", + "Missing artifact": "Manjkajoči artefakt", "Missing dependency": "Missing dependency", "Missing fields": "Manjkajoča polja", "Missing key": "Manjka ključ", @@ -13137,6 +13154,7 @@ "Requested URL": "Zahtevano URL", "Required": "Obvezno", "Required before approving high-risk requests": "Zahtevano pred odobritvijo zahtev z visokim tveganjem", + "Required check incomplete": "Zahtevano preverjanje ni popolno", "Required checks": "Obvezna preverjanja", "Required for assigned teammates": "Zahtevano za dodeljene soigralce", "Required input": "Obvezen vnos", @@ -13260,8 +13278,11 @@ "Retry upload": "Poskusite znova naložiti", "Retryable": "Ponovni poskus", "Retrying automatically...": "Samodejni ponovni poskus ...", + "Return handoff": "Povratna predaja", + "Return reason": "Razlog za vrnitev", "Return to an unlocked interactive Windows desktop, restart Ling if needed, then check again.": "Vrnite se na odklenjeno interaktivno namizje Windows, po potrebi znova zaženite Ling in nato znova preverite.", "Return to implementation mode": "Vrnitev v način izvajanja", + "Returned for repair": "Vrnjeno v popravilo", "Reusable": "Za večkratno uporabo", "Reuse images already saved in this media project.": "Ponovno uporabite slike, ki so že shranjene v tem medijskem projektu.", "Reuse settings": "Ponovna uporaba nastavitev", @@ -13652,6 +13673,7 @@ "Schema, checksums, and package metadata": "Shema, kontrolne vsote in metapodatki paketa", "Scope": "Področje uporabe", "Scope ID": "Obseg ID", + "Scope unavailable": "Obseg ni na voljo", "Screen capture and input stop. Ling never interacts with the lock screen, login window, password fields, or secure desktop.": "Zajem zaslona in zaustavitev vnosa. Ling nikoli ne komunicira z zaklenjenim zaslonom, oknom za prijavo, polji za geslo ali varnim namizjem.", "Screen Recording": "Snemanje zaslona", "Scripts can contact external services. Only run documents you trust.": "Scripts can contact external services. Only run documents you trust.", @@ -15000,6 +15022,7 @@ "Uploading avatar": "Nalaganje avatarja", "Uploading...": "Nalaganje ...", "Upstream": "Gorvodno", + "Upstream result unconfirmed": "Rezultat navzgor nepotrjen", "Upstream version": "Gornja različica", "urgent": "nujno", "URL image edit": "URL urejanje slike", @@ -15196,6 +15219,7 @@ "Waiting for runner activity...": "Čakanje na aktivnost tekača ...", "Waiting for runner events...": "Čakanje na tekaške dogodke ...", "Waiting for sign-in": "Čakam na prijavo", + "Waiting for source": "Čakam na vir", "Waiting for system confirmation and Host readback...": "Čakanje na potrditev sistema in povratno branje gostitelja ...", "waiting for user input": "čaka na uporabniški vnos", "Waiting for votes": "Čakanje na glasove", diff --git a/packages/localization/catalogs/so-SO.json b/packages/localization/catalogs/so-SO.json index a6b145c3f..08d5282da 100644 --- a/packages/localization/catalogs/so-SO.json +++ b/packages/localization/catalogs/so-SO.json @@ -1,6 +1,6 @@ { "locale": "so-SO", - "sourceRevision": "e134cc889637523423524b121cf71dcb37afdd3d7daf48eaea975d1c39785b2e", + "sourceRevision": "95b7d5d6546abac9c1f3ec3e54efe7bff99c84252c464896ecb9bf2245f66dfd", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -343,6 +343,7 @@ "A skill with the same identity already exists.": "66dd592d63333b2f2738e59f82a3866d9a6db17154a2cc2a752727f9a40998d1", "Abstain": "bf92ab42d052ce917d87cccce310e4351900347095f57947b3d08c1b1ff8bcf3", "Accept": "89713b9c9c1b8f659c9f49db25e4a47886dd673fee248c3f650391f09a759cef", + "Accept handoff": "13e3dc2abccf1296c34099b2080efb8c78ad82067436ff2039024f22ed8cc2e9", "Acceptance": "f190a5cb3aff17b0ee84f6ee258333d63a9cc71aa66c2e1788ebc3ae24a89b10", "Acceptance checks will be clarified before execution.": "ffd59db22fb4d3abb3c9cc67c351c818e1732dfca2d6cd18ae361a711fa4bb72", "Acceptance criteria": "d47a36f4f055810755db08b8d52e479baa4bb7a7a1f6449f71fa1ad5c20495ef", @@ -894,6 +895,7 @@ "Avatar uploaded": "d0d5a01f3f30fd933994a5950ddae3d14384d2c850c05deb50532b65aa6593ba", "Avatar, name, and a compact working brief.": "8d3706d4928090efbf7eca6683e3357f4f92732bc8be64c50dc8af8620a256c1", "Avoid triggers": "1419db0b6ddbd1f3a1632043da73529ecbcb0aef9183fd7d78e12df2942444de", + "Awaiting acceptance": "1dc7bfd9c54d73f22b4a9bdca5f741d5067a673b7f99d77e85367f6c8f049f85", "Awaiting confirmation": "d0ae0b38eac639b98f6a9b793a7add708bedbc6156963e3abc00453b235b2f3d", "Awaiting enable": "2a6b618d273346e8198806aa0d934a4bd6f5bf8b29d0780076df974ca93bf548", "Awaiting merge approval": "21837cdd561270cefc146079172511177736bb9091e9fb50d93bb072f271ecb0", @@ -1083,6 +1085,7 @@ "cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Candidate approved for draft": "59a57b9b459b3215e76b651f73f6521bc1bd71fa66bb52e046368a559db6632b", + "Candidate changed": "ca07c050cd47ab4f4d2f2fb6c60110b738af5b951a9ab708c36879365ec4532e", "Candidate changed since verification": "a2808e03661077a04403dab2204b7ce8d78310c296600bd03c5766a754f216a6", "Candidate cluster is not bound to a channel.": "6066a4e8725d065a7c2b8d2c8974a60c41c0a94124deeabd972f620ddd815786", "Candidate Clusters": "b617f8ce5325fa8984c324816b08d3a26c05dac3c3276bcc4f4ab7196222dbe4", @@ -1820,6 +1823,7 @@ "Could not start this scene.": "acb6aa181a8b842f1a8fc78344dc210cb98a45ccb6cf38ebd01beb65fe7fa27d", "Could not start this workflow test.": "7fe6f22a12127a9d74069d195a2513038cb2ff035acc4433d41e31006445e46e", "Could not switch projects. Showing the last loaded project.": "1a284203a5fd7f9d39c625017fde0d1c88180e3d2fa62b07aa7c9eb64a2e8aa6", + "Could not update handoff": "b6b7ff312171612e082d24ec92c854155d95fa6177a25cb0ac10f44e2c6110e2", "Could not update the default model. Try again.": "c87a00ab8ffb8c8c60209acf9b5cb10295a2a5e93c3e6f72dd8b2b4c316bdc16", "Council actions": "79763aae8f6334c6e29273106f3509b76114439dd686c9fa32753bca265eee32", "Council boundaries": "b4d6713050d140a9102817793dcb99d64565ee0d33d364b71f5d4d2afd234baf", @@ -3820,6 +3824,7 @@ "minutes": "90e63d85fa1ab2c8ed65222f3ebd794b1e524b4b7cf84bec451542d0451b2985", "missing": "ffa63583dfa6706b87d284b86b0d693a161e4840aad2c5cf6b5d27c3b9621f7d", "Missing": "6be36ca49ee85210c5d1ad9c377d90a9859c66d889110a2a5b0dccd390d12e20", + "Missing artifact": "e936c2df4de783be206107e353054e33ebba1c9988085200c260c7a6b8f8fc73", "Missing dependency": "5915d1e15e283f09695ad4b96ced9625bbd68aab747dc778f37aada0a7489b5c", "Missing fields": "69121d3f63d5a27ab7ce484854c065ce87e7022dc5fdfee9d778ab02515542fc", "Missing key": "0c8a17a63a322df1c40693b8469227cf5426b024673da9065f42c6cbb7c58370", @@ -5401,6 +5406,7 @@ "Requested URL": "8ae37b38fe2e415c8c641c3f2b6e9b42a11245cc8749a51a247cf0464b4c7faf", "Required": "4850b174b713d88cfc63de107830d5388929020e78abc91fc19bba7a6821625f", "Required before approving high-risk requests": "3cb612a5f43f4acbf5a6066a5da559bce858b50cdab2c2f6943bf4a05de1310a", + "Required check incomplete": "f64e6dfd1fc8cd1f2139aadf61c6ef43ecaa2ce783b2c712a56d31a574e05741", "Required checks": "f5a021846bd1a50002c0ea940f30cc97c285a118c62ff95af5c2f538584a7e26", "Required for assigned teammates": "4732aa544a8d93b886e6bcbbcc5c3314af692f8a8a812efd4844cd3589b7b63a", "Required input": "fafaaf99b5a6af521026448890a9dacaf4d47053804a34be7cdf364e13637181", @@ -5524,8 +5530,11 @@ "Retry upload": "731dc6e3f07ab1b090e925be766dd01d8e4aed2f0ad2cef600bf157bd7764500", "Retryable": "c282bd362abaadb6a38a4fdb268df44325f8bfde40f719b77fdd690180c51889", "Retrying automatically...": "220837f6132382f3e8d4fb676f31aab3dc9fabc34b8f26c2e4ced9b83ebce4ec", + "Return handoff": "1ae47e9a67b5866c28ccd52c2040500610b795d917cc6620a444c170ded79836", + "Return reason": "79f91549d760515b430db20e8f2f0c766e417826dfea15029dca20f6eb9865ac", "Return to an unlocked interactive Windows desktop, restart Ling if needed, then check again.": "bccd46e406f4d428d83a9dd510df581b52e5c28c51da4d357e3e66c21740ee0e", "Return to implementation mode": "36435baabf6c6acc0666fba73f68609f9a41d17389ea216a99f41b5036e8b6ef", + "Returned for repair": "07abb2b9ba19b479a5126883271bb99fa47e239dffb3337fb13bbe2778654158", "Reusable": "8ded2b384940a83eb986da575b9efa40f1b03fd1d626bd91964cbb11502e0b42", "Reuse images already saved in this media project.": "3c3dd902fab18f841a51942e3a4e92a93c8d39ddd8b48ae9ee017982a26fa1c1", "Reuse settings": "17507cf7d05b478d392e9aa85d9c60046c0e2a185959546ac0864a89b95ec744", @@ -5916,6 +5925,7 @@ "Schema, checksums, and package metadata": "d91ffc3c0cdd2c26d37ba9cf60de0a718343a3969303718321092f0367a68808", "Scope": "b073f6c68ef8721107fd9815b19b2c35ec111d526b75c2123d1111ba64424000", "Scope ID": "4a201ef6cbd70a0728fc5c62eb87fd73ac56e470c853a3112ebf27617e49ff76", + "Scope unavailable": "38a32037c55100c3ad97878ca4e361a734a3422fb35bdbaeacebf4babb16cdf3", "Screen capture and input stop. Ling never interacts with the lock screen, login window, password fields, or secure desktop.": "cece9f092190c9e9e4c9d54f7da59256e922a56556c843c4e2b44fb1a67b0c5f", "Screen Recording": "bc3c742893dc7aff9c88fad0aae3f6749a6679a45cbafb0981f0e2ddaed5c49c", "Scripts can contact external services. Only run documents you trust.": "aa3560983d2f6c2656f1a9329fcb9434fa520d6f64bcccf0e6ae91c82ddbb0dd", @@ -7264,6 +7274,7 @@ "Uploading avatar": "995b81efc53e808131bd98d546fb3fa493a44b9b43b752237e590bf5a2e487c8", "Uploading...": "72cb29c90ccd8361ee82d02fabe81a3f01605c7b8fea4c9996fc01d84e3fbb48", "Upstream": "94adc696fd24e9fd67e83ba256a9f33bf1d7191d4a5e38ee8c69597cd89e4777", + "Upstream result unconfirmed": "d345a9ef65cf22ec93d4a7a0457157bcdc8696a90ea8e72690d04b25d7447d94", "Upstream version": "7927b36324919e81ae646c1455b608aadcecdedb285d9985d63d80572c3d5214", "urgent": "f9d37c23fcc0f03c15a86aba71dce01dd0baa7a1568180e60c2347a5863151bc", "URL image edit": "444b0006116b72fd13097e57758caf2edaa14133af89617d79ed238d71f518ff", @@ -7460,6 +7471,7 @@ "Waiting for runner activity...": "d0e7a1fd3763c4062fe8ac59255b9281effe77d2fd1d79f9ae2498e56ac3b96f", "Waiting for runner events...": "dc60b71d9ccb374ef6e53cc9496c05fd15dcd7b4955ec8ae7603cf360af7e85e", "Waiting for sign-in": "749a343a3a25c1df679ee6d6e74abb72e08ef956bfa15434407e61934dc054c9", + "Waiting for source": "8ac1608b4d56ce4dcc84a6d489fb055d7e9281efa150baa1fd5c2be7f2dd220b", "Waiting for system confirmation and Host readback...": "952e73792f0715e2d1f30ef0b0c03c4353cd9ab96caa71856bbce7dc41e2d161", "waiting for user input": "f43ef097687b1d8c8800577eefa3f7e10d0c82236cd0017f983d131e8e673174", "Waiting for votes": "bbb50edc12d1ce791069a8e84ca6e73a255b796306d32cdc1414987b986e172f", @@ -8079,6 +8091,7 @@ "A skill with the same identity already exists.": "Xirfad leh aqoonsi la mid ah ayaa hore u jirtay.", "Abstain": "Iska dhaaf", "Accept": "Aqbal", + "Accept handoff": "Aqbal gacan-qaadka", "Acceptance": "Ogolaanshaha", "Acceptance checks will be clarified before execution.": "Jeegaga oggolaanshaha waa la cadeeyn doonaa ka hor inta aan la fulin.", "Acceptance criteria": "Shuruudaha aqbalaadda", @@ -8630,6 +8643,7 @@ "Avatar uploaded": "Avatar la soo galiyay", "Avatar, name, and a compact working brief.": "Avatar, magaca, iyo qoraal kooban oo shaqaynaya.", "Avoid triggers": "Ka fogow waxyaabaha kiciya", + "Awaiting acceptance": "Aqbalaad sugaya", "Awaiting confirmation": "Xaqiijinta ayaa sugaysa", "Awaiting enable": "Sugitaanka karti", "Awaiting merge approval": "Sugitaanka oggolaanshaha isku darka", @@ -8819,6 +8833,7 @@ "cancelling": "baajinta", "Cancelling": "baajinta", "Candidate approved for draft": "Musharaxa loo ansixiyay qabyo", + "Candidate changed": "Musharaxa ayaa isbedelay", "Candidate changed since verification": "Musharaxa ayaa isbedelay tan iyo markii la xaqiijiyay", "Candidate cluster is not bound to a channel.": "Kutlada murashaxiintu kuma xidhna kanaalka", "Candidate Clusters": "Kutlada Musharaxiinta", @@ -9556,6 +9571,7 @@ "Could not start this scene.": "Ma bilaabi karayn muuqaalkan", "Could not start this workflow test.": "Ma bilaabi karo tijaabada socodka shaqada", "Could not switch projects. Showing the last loaded project.": "Ma beddeli karin mashaariicda Muujinaya mashruucii ugu dambeeyay ee la raray.", + "Could not update handoff": "Ma cusboonaysiin kari waayay gacan-ku-saarka", "Could not update the default model. Try again.": "Ma cusboonaysiin karo qaabka caadiga ah. Isku day mar kale", "Council actions": "Ficilada golaha", "Council boundaries": "Xuduudaha golaha", @@ -11556,6 +11572,7 @@ "minutes": "daqiiqado", "missing": "maqan", "Missing": "Maqan", + "Missing artifact": "Qalab maqan", "Missing dependency": "Missing dependency", "Missing fields": "Garoomada maqan", "Missing key": "Furaha maqan", @@ -13137,6 +13154,7 @@ "Requested URL": "la codsaday URL", "Required": "Loo baahan yahay", "Required before approving high-risk requests": "Loo baahan yahay ka hor inta aan la ansixin codsiyada khatarta sare leh", + "Required check incomplete": "Jeegaga loo baahan yahay ma dhamaystirna", "Required checks": "Jeegaga loo baahan yahay", "Required for assigned teammates": "Looga baahan yahay asxaabtii kooxda loo xilsaaray", "Required input": "Wax gelinta loo baahan yahay", @@ -13260,8 +13278,11 @@ "Retry upload": "Isku day rarida", "Retryable": "Dib loo tijaabin karo", "Retrying automatically...": "Isku day si toos ah...", + "Return handoff": "Gacanta ku soo celi", + "Return reason": "Sababta soo celi", "Return to an unlocked interactive Windows desktop, restart Ling if needed, then check again.": "Ku soo laabo misktopka Windows-ka is dhexgal ah oo furan, dib u bilow Ling haddi loo baahdo, dabadeed mar kale hubi.", "Return to implementation mode": "Ku soo noqo qaabka fulinta", + "Returned for repair": "Dib loogu soo celiyay dayactir", "Reusable": "Dib loo isticmaali karo", "Reuse images already saved in this media project.": "Dib u isticmaal sawirada mar hore lagu kaydiyay mashruucan warbaahinta", "Reuse settings": "Dib u isticmaal dejinta", @@ -13652,6 +13673,7 @@ "Schema, checksums, and package metadata": "Schema, checksums, iyo xogta badan ee xirmada", "Scope": "Baaxadda", "Scope ID": "Baaxadda ID", + "Scope unavailable": "Baaxadda lama heli karo", "Screen capture and input stop. Ling never interacts with the lock screen, login window, password fields, or secure desktop.": "Qabashada shaashadda iyo joogsiga gelinta Ling waligiis lama falgala shaashada qufulka, daaqada soo galitaanka, meelaha sirta ah, ama Desktop aamin ah.", "Screen Recording": "Duubista Shaashada", "Scripts can contact external services. Only run documents you trust.": "Scripts can contact external services. Only run documents you trust.", @@ -15000,6 +15022,7 @@ "Uploading avatar": "Soo dejinta avatar", "Uploading...": "Soo dejinta...", "Upstream": "Xagga sare", + "Upstream result unconfirmed": "Natiijooyinka soo koraya lama xaqiijin", "Upstream version": "Nooca sare", "urgent": "degdeg ah", "URL image edit": "URL wax ka beddelka sawirka", @@ -15196,6 +15219,7 @@ "Waiting for runner activity...": "Sugaya dhaqdhaqaaqa orodyahanka...", "Waiting for runner events...": "Sugaya dhacdooyinka orodyahanka...", "Waiting for sign-in": "Sugitaanka soo gelista", + "Waiting for source": "Sugitaanka isha", "Waiting for system confirmation and Host readback...": "Sugaya xaqiijinta nidaamka iyo dib u akhrinta martida...", "waiting for user input": "sugitaanka gelinta isticmaalaha", "Waiting for votes": "Sugitaanka codadka", diff --git a/packages/localization/catalogs/sq-AL.json b/packages/localization/catalogs/sq-AL.json index 366f6a130..14ad84010 100644 --- a/packages/localization/catalogs/sq-AL.json +++ b/packages/localization/catalogs/sq-AL.json @@ -1,6 +1,6 @@ { "locale": "sq-AL", - "sourceRevision": "e134cc889637523423524b121cf71dcb37afdd3d7daf48eaea975d1c39785b2e", + "sourceRevision": "95b7d5d6546abac9c1f3ec3e54efe7bff99c84252c464896ecb9bf2245f66dfd", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -343,6 +343,7 @@ "A skill with the same identity already exists.": "66dd592d63333b2f2738e59f82a3866d9a6db17154a2cc2a752727f9a40998d1", "Abstain": "bf92ab42d052ce917d87cccce310e4351900347095f57947b3d08c1b1ff8bcf3", "Accept": "89713b9c9c1b8f659c9f49db25e4a47886dd673fee248c3f650391f09a759cef", + "Accept handoff": "13e3dc2abccf1296c34099b2080efb8c78ad82067436ff2039024f22ed8cc2e9", "Acceptance": "f190a5cb3aff17b0ee84f6ee258333d63a9cc71aa66c2e1788ebc3ae24a89b10", "Acceptance checks will be clarified before execution.": "ffd59db22fb4d3abb3c9cc67c351c818e1732dfca2d6cd18ae361a711fa4bb72", "Acceptance criteria": "d47a36f4f055810755db08b8d52e479baa4bb7a7a1f6449f71fa1ad5c20495ef", @@ -894,6 +895,7 @@ "Avatar uploaded": "d0d5a01f3f30fd933994a5950ddae3d14384d2c850c05deb50532b65aa6593ba", "Avatar, name, and a compact working brief.": "8d3706d4928090efbf7eca6683e3357f4f92732bc8be64c50dc8af8620a256c1", "Avoid triggers": "1419db0b6ddbd1f3a1632043da73529ecbcb0aef9183fd7d78e12df2942444de", + "Awaiting acceptance": "1dc7bfd9c54d73f22b4a9bdca5f741d5067a673b7f99d77e85367f6c8f049f85", "Awaiting confirmation": "d0ae0b38eac639b98f6a9b793a7add708bedbc6156963e3abc00453b235b2f3d", "Awaiting enable": "2a6b618d273346e8198806aa0d934a4bd6f5bf8b29d0780076df974ca93bf548", "Awaiting merge approval": "21837cdd561270cefc146079172511177736bb9091e9fb50d93bb072f271ecb0", @@ -1083,6 +1085,7 @@ "cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Candidate approved for draft": "59a57b9b459b3215e76b651f73f6521bc1bd71fa66bb52e046368a559db6632b", + "Candidate changed": "ca07c050cd47ab4f4d2f2fb6c60110b738af5b951a9ab708c36879365ec4532e", "Candidate changed since verification": "a2808e03661077a04403dab2204b7ce8d78310c296600bd03c5766a754f216a6", "Candidate cluster is not bound to a channel.": "6066a4e8725d065a7c2b8d2c8974a60c41c0a94124deeabd972f620ddd815786", "Candidate Clusters": "b617f8ce5325fa8984c324816b08d3a26c05dac3c3276bcc4f4ab7196222dbe4", @@ -1820,6 +1823,7 @@ "Could not start this scene.": "acb6aa181a8b842f1a8fc78344dc210cb98a45ccb6cf38ebd01beb65fe7fa27d", "Could not start this workflow test.": "7fe6f22a12127a9d74069d195a2513038cb2ff035acc4433d41e31006445e46e", "Could not switch projects. Showing the last loaded project.": "1a284203a5fd7f9d39c625017fde0d1c88180e3d2fa62b07aa7c9eb64a2e8aa6", + "Could not update handoff": "b6b7ff312171612e082d24ec92c854155d95fa6177a25cb0ac10f44e2c6110e2", "Could not update the default model. Try again.": "c87a00ab8ffb8c8c60209acf9b5cb10295a2a5e93c3e6f72dd8b2b4c316bdc16", "Council actions": "79763aae8f6334c6e29273106f3509b76114439dd686c9fa32753bca265eee32", "Council boundaries": "b4d6713050d140a9102817793dcb99d64565ee0d33d364b71f5d4d2afd234baf", @@ -3820,6 +3824,7 @@ "minutes": "90e63d85fa1ab2c8ed65222f3ebd794b1e524b4b7cf84bec451542d0451b2985", "missing": "ffa63583dfa6706b87d284b86b0d693a161e4840aad2c5cf6b5d27c3b9621f7d", "Missing": "6be36ca49ee85210c5d1ad9c377d90a9859c66d889110a2a5b0dccd390d12e20", + "Missing artifact": "e936c2df4de783be206107e353054e33ebba1c9988085200c260c7a6b8f8fc73", "Missing dependency": "5915d1e15e283f09695ad4b96ced9625bbd68aab747dc778f37aada0a7489b5c", "Missing fields": "69121d3f63d5a27ab7ce484854c065ce87e7022dc5fdfee9d778ab02515542fc", "Missing key": "0c8a17a63a322df1c40693b8469227cf5426b024673da9065f42c6cbb7c58370", @@ -5401,6 +5406,7 @@ "Requested URL": "8ae37b38fe2e415c8c641c3f2b6e9b42a11245cc8749a51a247cf0464b4c7faf", "Required": "4850b174b713d88cfc63de107830d5388929020e78abc91fc19bba7a6821625f", "Required before approving high-risk requests": "3cb612a5f43f4acbf5a6066a5da559bce858b50cdab2c2f6943bf4a05de1310a", + "Required check incomplete": "f64e6dfd1fc8cd1f2139aadf61c6ef43ecaa2ce783b2c712a56d31a574e05741", "Required checks": "f5a021846bd1a50002c0ea940f30cc97c285a118c62ff95af5c2f538584a7e26", "Required for assigned teammates": "4732aa544a8d93b886e6bcbbcc5c3314af692f8a8a812efd4844cd3589b7b63a", "Required input": "fafaaf99b5a6af521026448890a9dacaf4d47053804a34be7cdf364e13637181", @@ -5524,8 +5530,11 @@ "Retry upload": "731dc6e3f07ab1b090e925be766dd01d8e4aed2f0ad2cef600bf157bd7764500", "Retryable": "c282bd362abaadb6a38a4fdb268df44325f8bfde40f719b77fdd690180c51889", "Retrying automatically...": "220837f6132382f3e8d4fb676f31aab3dc9fabc34b8f26c2e4ced9b83ebce4ec", + "Return handoff": "1ae47e9a67b5866c28ccd52c2040500610b795d917cc6620a444c170ded79836", + "Return reason": "79f91549d760515b430db20e8f2f0c766e417826dfea15029dca20f6eb9865ac", "Return to an unlocked interactive Windows desktop, restart Ling if needed, then check again.": "bccd46e406f4d428d83a9dd510df581b52e5c28c51da4d357e3e66c21740ee0e", "Return to implementation mode": "36435baabf6c6acc0666fba73f68609f9a41d17389ea216a99f41b5036e8b6ef", + "Returned for repair": "07abb2b9ba19b479a5126883271bb99fa47e239dffb3337fb13bbe2778654158", "Reusable": "8ded2b384940a83eb986da575b9efa40f1b03fd1d626bd91964cbb11502e0b42", "Reuse images already saved in this media project.": "3c3dd902fab18f841a51942e3a4e92a93c8d39ddd8b48ae9ee017982a26fa1c1", "Reuse settings": "17507cf7d05b478d392e9aa85d9c60046c0e2a185959546ac0864a89b95ec744", @@ -5916,6 +5925,7 @@ "Schema, checksums, and package metadata": "d91ffc3c0cdd2c26d37ba9cf60de0a718343a3969303718321092f0367a68808", "Scope": "b073f6c68ef8721107fd9815b19b2c35ec111d526b75c2123d1111ba64424000", "Scope ID": "4a201ef6cbd70a0728fc5c62eb87fd73ac56e470c853a3112ebf27617e49ff76", + "Scope unavailable": "38a32037c55100c3ad97878ca4e361a734a3422fb35bdbaeacebf4babb16cdf3", "Screen capture and input stop. Ling never interacts with the lock screen, login window, password fields, or secure desktop.": "cece9f092190c9e9e4c9d54f7da59256e922a56556c843c4e2b44fb1a67b0c5f", "Screen Recording": "bc3c742893dc7aff9c88fad0aae3f6749a6679a45cbafb0981f0e2ddaed5c49c", "Scripts can contact external services. Only run documents you trust.": "aa3560983d2f6c2656f1a9329fcb9434fa520d6f64bcccf0e6ae91c82ddbb0dd", @@ -7264,6 +7274,7 @@ "Uploading avatar": "995b81efc53e808131bd98d546fb3fa493a44b9b43b752237e590bf5a2e487c8", "Uploading...": "72cb29c90ccd8361ee82d02fabe81a3f01605c7b8fea4c9996fc01d84e3fbb48", "Upstream": "94adc696fd24e9fd67e83ba256a9f33bf1d7191d4a5e38ee8c69597cd89e4777", + "Upstream result unconfirmed": "d345a9ef65cf22ec93d4a7a0457157bcdc8696a90ea8e72690d04b25d7447d94", "Upstream version": "7927b36324919e81ae646c1455b608aadcecdedb285d9985d63d80572c3d5214", "urgent": "f9d37c23fcc0f03c15a86aba71dce01dd0baa7a1568180e60c2347a5863151bc", "URL image edit": "444b0006116b72fd13097e57758caf2edaa14133af89617d79ed238d71f518ff", @@ -7460,6 +7471,7 @@ "Waiting for runner activity...": "d0e7a1fd3763c4062fe8ac59255b9281effe77d2fd1d79f9ae2498e56ac3b96f", "Waiting for runner events...": "dc60b71d9ccb374ef6e53cc9496c05fd15dcd7b4955ec8ae7603cf360af7e85e", "Waiting for sign-in": "749a343a3a25c1df679ee6d6e74abb72e08ef956bfa15434407e61934dc054c9", + "Waiting for source": "8ac1608b4d56ce4dcc84a6d489fb055d7e9281efa150baa1fd5c2be7f2dd220b", "Waiting for system confirmation and Host readback...": "952e73792f0715e2d1f30ef0b0c03c4353cd9ab96caa71856bbce7dc41e2d161", "waiting for user input": "f43ef097687b1d8c8800577eefa3f7e10d0c82236cd0017f983d131e8e673174", "Waiting for votes": "bbb50edc12d1ce791069a8e84ca6e73a255b796306d32cdc1414987b986e172f", @@ -8079,6 +8091,7 @@ "A skill with the same identity already exists.": "Një aftësi me të njëjtin identitet ekziston tashmë.", "Abstain": "Abstenoni", "Accept": "Pranoje", + "Accept handoff": "Prano dorëzimin", "Acceptance": "Pranimi", "Acceptance checks will be clarified before execution.": "Kontrollet e pranimit do të sqarohen përpara ekzekutimit.", "Acceptance criteria": "Kriteret e pranimit", @@ -8630,6 +8643,7 @@ "Avatar uploaded": "Avatari u ngarkua", "Avatar, name, and a compact working brief.": "Avatari, emri dhe një përmbledhje kompakte pune.", "Avoid triggers": "Shmangni shkaktarët", + "Awaiting acceptance": "Në pritje të pranimit", "Awaiting confirmation": "Në pritje të konfirmimit", "Awaiting enable": "Në pritje aktivizo", "Awaiting merge approval": "Në pritje të miratimit të bashkimit", @@ -8819,6 +8833,7 @@ "cancelling": "Duke anuluar", "Cancelling": "Duke anuluar", "Candidate approved for draft": "Kandidati i miratuar për draft", + "Candidate changed": "Kandidati ndryshoi", "Candidate changed since verification": "Kandidati ndryshoi që nga verifikimi", "Candidate cluster is not bound to a channel.": "Grupi i kandidatëve nuk është i lidhur me një kanal.", "Candidate Clusters": "Grupet e kandidatëve", @@ -9556,6 +9571,7 @@ "Could not start this scene.": "Kjo skenë nuk mund të fillonte.", "Could not start this workflow test.": "Ky test i rrjedhës së punës nuk mund të fillonte.", "Could not switch projects. Showing the last loaded project.": "Projektet nuk mund të ndërroheshin. Duke shfaqur projektin e ngarkuar së fundi.", + "Could not update handoff": "Dorëzimi nuk mund të përditësohej", "Could not update the default model. Try again.": "Modeli i parazgjedhur nuk mund të përditësohej. Provo sërish.", "Council actions": "Veprimet e Këshillit", "Council boundaries": "Kufijtë e këshillit", @@ -11556,6 +11572,7 @@ "minutes": "minuta", "missing": "i zhdukur", "Missing": "Mungon", + "Missing artifact": "Mungon objekti", "Missing dependency": "Missing dependency", "Missing fields": "Mungojnë fushat", "Missing key": "Mungon çelësi", @@ -13137,6 +13154,7 @@ "Requested URL": "kërkoi URL", "Required": "E detyrueshme", "Required before approving high-risk requests": "Kërkohet përpara miratimit të kërkesave me rrezik të lartë", + "Required check incomplete": "Kontrolli i kërkuar i paplotë", "Required checks": "Kontrollet e nevojshme", "Required for assigned teammates": "Kërkohet për shokët e caktuar të ekipit", "Required input": "Hyrja e kërkuar", @@ -13260,8 +13278,11 @@ "Retry upload": "Riprovo ngarkimin", "Retryable": "I riprovueshëm", "Retrying automatically...": "Po riprovohet automatikisht...", + "Return handoff": "Dorëzimi i kthimit", + "Return reason": "Arsyeja e kthimit", "Return to an unlocked interactive Windows desktop, restart Ling if needed, then check again.": "Kthehuni në një desktop interaktiv të Windows të shkyçur, rinisni Ling nëse është e nevojshme, më pas kontrolloni përsëri.", "Return to implementation mode": "Kthehu në modalitetin e zbatimit", + "Returned for repair": "U kthye për riparim", "Reusable": "I ripërdorshëm", "Reuse images already saved in this media project.": "Ripërdorni imazhet e ruajtura tashmë në këtë projekt mediatik.", "Reuse settings": "Ripërdorni cilësimet", @@ -13652,6 +13673,7 @@ "Schema, checksums, and package metadata": "Skema, shumat e kontrollit dhe meta të dhënat e paketës", "Scope": "Fushëveprimi", "Scope ID": "Fushëveprimi ID", + "Scope unavailable": "Fusha e padisponueshme", "Screen capture and input stop. Ling never interacts with the lock screen, login window, password fields, or secure desktop.": "Regjistrimi i ekranit dhe ndalimi i hyrjes. Ling nuk ndërvepron kurrë me ekranin e kyçjes, dritaren e identifikimit, fushat e fjalëkalimit ose desktopin e sigurt.", "Screen Recording": "Regjistrimi i ekranit", "Scripts can contact external services. Only run documents you trust.": "Scripts can contact external services. Only run documents you trust.", @@ -15000,6 +15022,7 @@ "Uploading avatar": "Ngarkimi i avatarit", "Uploading...": "Po ngarkohet...", "Upstream": "Në rrjedhën e sipërme", + "Upstream result unconfirmed": "Rezultati në rrjedhën e sipërme i pakonfirmuar", "Upstream version": "Versioni në rrjedhën e sipërme", "urgent": "urgjente", "URL image edit": "URL redaktimi i imazhit", @@ -15196,6 +15219,7 @@ "Waiting for runner activity...": "Në pritje të aktivitetit të vrapuesit...", "Waiting for runner events...": "Në pritje të ngjarjeve të vrapuesve...", "Waiting for sign-in": "Në pritje të identifikimit", + "Waiting for source": "Në pritje të burimit", "Waiting for system confirmation and Host readback...": "Në pritje të konfirmimit të sistemit dhe rikthimit të hostit...", "waiting for user input": "duke pritur për hyrjen e përdoruesit", "Waiting for votes": "Në pritje të votave", diff --git a/packages/localization/catalogs/sr-RS.json b/packages/localization/catalogs/sr-RS.json index 97f969188..d4a19ec2b 100644 --- a/packages/localization/catalogs/sr-RS.json +++ b/packages/localization/catalogs/sr-RS.json @@ -1,6 +1,6 @@ { "locale": "sr-RS", - "sourceRevision": "e134cc889637523423524b121cf71dcb37afdd3d7daf48eaea975d1c39785b2e", + "sourceRevision": "95b7d5d6546abac9c1f3ec3e54efe7bff99c84252c464896ecb9bf2245f66dfd", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -343,6 +343,7 @@ "A skill with the same identity already exists.": "66dd592d63333b2f2738e59f82a3866d9a6db17154a2cc2a752727f9a40998d1", "Abstain": "bf92ab42d052ce917d87cccce310e4351900347095f57947b3d08c1b1ff8bcf3", "Accept": "89713b9c9c1b8f659c9f49db25e4a47886dd673fee248c3f650391f09a759cef", + "Accept handoff": "13e3dc2abccf1296c34099b2080efb8c78ad82067436ff2039024f22ed8cc2e9", "Acceptance": "f190a5cb3aff17b0ee84f6ee258333d63a9cc71aa66c2e1788ebc3ae24a89b10", "Acceptance checks will be clarified before execution.": "ffd59db22fb4d3abb3c9cc67c351c818e1732dfca2d6cd18ae361a711fa4bb72", "Acceptance criteria": "d47a36f4f055810755db08b8d52e479baa4bb7a7a1f6449f71fa1ad5c20495ef", @@ -894,6 +895,7 @@ "Avatar uploaded": "d0d5a01f3f30fd933994a5950ddae3d14384d2c850c05deb50532b65aa6593ba", "Avatar, name, and a compact working brief.": "8d3706d4928090efbf7eca6683e3357f4f92732bc8be64c50dc8af8620a256c1", "Avoid triggers": "1419db0b6ddbd1f3a1632043da73529ecbcb0aef9183fd7d78e12df2942444de", + "Awaiting acceptance": "1dc7bfd9c54d73f22b4a9bdca5f741d5067a673b7f99d77e85367f6c8f049f85", "Awaiting confirmation": "d0ae0b38eac639b98f6a9b793a7add708bedbc6156963e3abc00453b235b2f3d", "Awaiting enable": "2a6b618d273346e8198806aa0d934a4bd6f5bf8b29d0780076df974ca93bf548", "Awaiting merge approval": "21837cdd561270cefc146079172511177736bb9091e9fb50d93bb072f271ecb0", @@ -1083,6 +1085,7 @@ "cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Candidate approved for draft": "59a57b9b459b3215e76b651f73f6521bc1bd71fa66bb52e046368a559db6632b", + "Candidate changed": "ca07c050cd47ab4f4d2f2fb6c60110b738af5b951a9ab708c36879365ec4532e", "Candidate changed since verification": "a2808e03661077a04403dab2204b7ce8d78310c296600bd03c5766a754f216a6", "Candidate cluster is not bound to a channel.": "6066a4e8725d065a7c2b8d2c8974a60c41c0a94124deeabd972f620ddd815786", "Candidate Clusters": "b617f8ce5325fa8984c324816b08d3a26c05dac3c3276bcc4f4ab7196222dbe4", @@ -1820,6 +1823,7 @@ "Could not start this scene.": "acb6aa181a8b842f1a8fc78344dc210cb98a45ccb6cf38ebd01beb65fe7fa27d", "Could not start this workflow test.": "7fe6f22a12127a9d74069d195a2513038cb2ff035acc4433d41e31006445e46e", "Could not switch projects. Showing the last loaded project.": "1a284203a5fd7f9d39c625017fde0d1c88180e3d2fa62b07aa7c9eb64a2e8aa6", + "Could not update handoff": "b6b7ff312171612e082d24ec92c854155d95fa6177a25cb0ac10f44e2c6110e2", "Could not update the default model. Try again.": "c87a00ab8ffb8c8c60209acf9b5cb10295a2a5e93c3e6f72dd8b2b4c316bdc16", "Council actions": "79763aae8f6334c6e29273106f3509b76114439dd686c9fa32753bca265eee32", "Council boundaries": "b4d6713050d140a9102817793dcb99d64565ee0d33d364b71f5d4d2afd234baf", @@ -3820,6 +3824,7 @@ "minutes": "90e63d85fa1ab2c8ed65222f3ebd794b1e524b4b7cf84bec451542d0451b2985", "missing": "ffa63583dfa6706b87d284b86b0d693a161e4840aad2c5cf6b5d27c3b9621f7d", "Missing": "6be36ca49ee85210c5d1ad9c377d90a9859c66d889110a2a5b0dccd390d12e20", + "Missing artifact": "e936c2df4de783be206107e353054e33ebba1c9988085200c260c7a6b8f8fc73", "Missing dependency": "5915d1e15e283f09695ad4b96ced9625bbd68aab747dc778f37aada0a7489b5c", "Missing fields": "69121d3f63d5a27ab7ce484854c065ce87e7022dc5fdfee9d778ab02515542fc", "Missing key": "0c8a17a63a322df1c40693b8469227cf5426b024673da9065f42c6cbb7c58370", @@ -5401,6 +5406,7 @@ "Requested URL": "8ae37b38fe2e415c8c641c3f2b6e9b42a11245cc8749a51a247cf0464b4c7faf", "Required": "4850b174b713d88cfc63de107830d5388929020e78abc91fc19bba7a6821625f", "Required before approving high-risk requests": "3cb612a5f43f4acbf5a6066a5da559bce858b50cdab2c2f6943bf4a05de1310a", + "Required check incomplete": "f64e6dfd1fc8cd1f2139aadf61c6ef43ecaa2ce783b2c712a56d31a574e05741", "Required checks": "f5a021846bd1a50002c0ea940f30cc97c285a118c62ff95af5c2f538584a7e26", "Required for assigned teammates": "4732aa544a8d93b886e6bcbbcc5c3314af692f8a8a812efd4844cd3589b7b63a", "Required input": "fafaaf99b5a6af521026448890a9dacaf4d47053804a34be7cdf364e13637181", @@ -5524,8 +5530,11 @@ "Retry upload": "731dc6e3f07ab1b090e925be766dd01d8e4aed2f0ad2cef600bf157bd7764500", "Retryable": "c282bd362abaadb6a38a4fdb268df44325f8bfde40f719b77fdd690180c51889", "Retrying automatically...": "220837f6132382f3e8d4fb676f31aab3dc9fabc34b8f26c2e4ced9b83ebce4ec", + "Return handoff": "1ae47e9a67b5866c28ccd52c2040500610b795d917cc6620a444c170ded79836", + "Return reason": "79f91549d760515b430db20e8f2f0c766e417826dfea15029dca20f6eb9865ac", "Return to an unlocked interactive Windows desktop, restart Ling if needed, then check again.": "bccd46e406f4d428d83a9dd510df581b52e5c28c51da4d357e3e66c21740ee0e", "Return to implementation mode": "36435baabf6c6acc0666fba73f68609f9a41d17389ea216a99f41b5036e8b6ef", + "Returned for repair": "07abb2b9ba19b479a5126883271bb99fa47e239dffb3337fb13bbe2778654158", "Reusable": "8ded2b384940a83eb986da575b9efa40f1b03fd1d626bd91964cbb11502e0b42", "Reuse images already saved in this media project.": "3c3dd902fab18f841a51942e3a4e92a93c8d39ddd8b48ae9ee017982a26fa1c1", "Reuse settings": "17507cf7d05b478d392e9aa85d9c60046c0e2a185959546ac0864a89b95ec744", @@ -5916,6 +5925,7 @@ "Schema, checksums, and package metadata": "d91ffc3c0cdd2c26d37ba9cf60de0a718343a3969303718321092f0367a68808", "Scope": "b073f6c68ef8721107fd9815b19b2c35ec111d526b75c2123d1111ba64424000", "Scope ID": "4a201ef6cbd70a0728fc5c62eb87fd73ac56e470c853a3112ebf27617e49ff76", + "Scope unavailable": "38a32037c55100c3ad97878ca4e361a734a3422fb35bdbaeacebf4babb16cdf3", "Screen capture and input stop. Ling never interacts with the lock screen, login window, password fields, or secure desktop.": "cece9f092190c9e9e4c9d54f7da59256e922a56556c843c4e2b44fb1a67b0c5f", "Screen Recording": "bc3c742893dc7aff9c88fad0aae3f6749a6679a45cbafb0981f0e2ddaed5c49c", "Scripts can contact external services. Only run documents you trust.": "aa3560983d2f6c2656f1a9329fcb9434fa520d6f64bcccf0e6ae91c82ddbb0dd", @@ -7264,6 +7274,7 @@ "Uploading avatar": "995b81efc53e808131bd98d546fb3fa493a44b9b43b752237e590bf5a2e487c8", "Uploading...": "72cb29c90ccd8361ee82d02fabe81a3f01605c7b8fea4c9996fc01d84e3fbb48", "Upstream": "94adc696fd24e9fd67e83ba256a9f33bf1d7191d4a5e38ee8c69597cd89e4777", + "Upstream result unconfirmed": "d345a9ef65cf22ec93d4a7a0457157bcdc8696a90ea8e72690d04b25d7447d94", "Upstream version": "7927b36324919e81ae646c1455b608aadcecdedb285d9985d63d80572c3d5214", "urgent": "f9d37c23fcc0f03c15a86aba71dce01dd0baa7a1568180e60c2347a5863151bc", "URL image edit": "444b0006116b72fd13097e57758caf2edaa14133af89617d79ed238d71f518ff", @@ -7460,6 +7471,7 @@ "Waiting for runner activity...": "d0e7a1fd3763c4062fe8ac59255b9281effe77d2fd1d79f9ae2498e56ac3b96f", "Waiting for runner events...": "dc60b71d9ccb374ef6e53cc9496c05fd15dcd7b4955ec8ae7603cf360af7e85e", "Waiting for sign-in": "749a343a3a25c1df679ee6d6e74abb72e08ef956bfa15434407e61934dc054c9", + "Waiting for source": "8ac1608b4d56ce4dcc84a6d489fb055d7e9281efa150baa1fd5c2be7f2dd220b", "Waiting for system confirmation and Host readback...": "952e73792f0715e2d1f30ef0b0c03c4353cd9ab96caa71856bbce7dc41e2d161", "waiting for user input": "f43ef097687b1d8c8800577eefa3f7e10d0c82236cd0017f983d131e8e673174", "Waiting for votes": "bbb50edc12d1ce791069a8e84ca6e73a255b796306d32cdc1414987b986e172f", @@ -8079,6 +8091,7 @@ "A skill with the same identity already exists.": "Вештина са истим идентитетом већ постоји.", "Abstain": "Уздржати се", "Accept": "Прихвати", + "Accept handoff": "Прихвати хандофф", "Acceptance": "Прихватање", "Acceptance checks will be clarified before execution.": "Провере прихватања ће бити разјашњене пре извршења.", "Acceptance criteria": "Критеријуми прихватања", @@ -8630,6 +8643,7 @@ "Avatar uploaded": "Аватар је отпремљен", "Avatar, name, and a compact working brief.": "Аватар, име и компактни радни кратак.", "Avoid triggers": "Избегавајте окидаче", + "Awaiting acceptance": "Чека се прихватање", "Awaiting confirmation": "Чека се потврда", "Awaiting enable": "Чека се омогућавање", "Awaiting merge approval": "Чека се одобрење спајања", @@ -8819,6 +8833,7 @@ "cancelling": "Отказивање", "Cancelling": "Отказивање", "Candidate approved for draft": "Кандидат одобрен за нацрт", + "Candidate changed": "Кандидат промењен", "Candidate changed since verification": "Кандидат је промењен од верификације", "Candidate cluster is not bound to a channel.": "Кластер кандидата није везан за канал.", "Candidate Clusters": "Кластери кандидата", @@ -9556,6 +9571,7 @@ "Could not start this scene.": "Није могуће покренути ову сцену.", "Could not start this workflow test.": "Није могуће покренути овај тест тока посла.", "Could not switch projects. Showing the last loaded project.": "Није могуће променити пројекте. Приказује се последњи учитани пројекат.", + "Could not update handoff": "Није могуће ажурирати хандофф", "Could not update the default model. Try again.": "Није могуће ажурирати подразумевани модел. Покушајте поново.", "Council actions": "Радње Савета", "Council boundaries": "Границе савета", @@ -11556,6 +11572,7 @@ "minutes": "минута", "missing": "недостаје", "Missing": "Недостаје", + "Missing artifact": "Недостаје артефакт", "Missing dependency": "Missing dependency", "Missing fields": "Недостајућа поља", "Missing key": "Недостаје кључ", @@ -13137,6 +13154,7 @@ "Requested URL": "Захтевано URL", "Required": "Обавезно", "Required before approving high-risk requests": "Обавезно пре одобравања захтева са високим ризиком", + "Required check incomplete": "Обавезна провера није потпуна", "Required checks": "Обавезне провере", "Required for assigned teammates": "Обавезно за додељене саиграче", "Required input": "Потребан унос", @@ -13260,8 +13278,11 @@ "Retry upload": "Покушајте поново да отпремите", "Retryable": "Ретриабле", "Retrying automatically...": "Аутоматски поновни покушај...", + "Return handoff": "Ретурн хандофф", + "Return reason": "Врати разлог", "Return to an unlocked interactive Windows desktop, restart Ling if needed, then check again.": "Вратите се на откључану интерактивну Виндовс радну површину, поново покрените Ling ако је потребно, а затим проверите поново.", "Return to implementation mode": "Вратите се у режим имплементације", + "Returned for repair": "Враћено на поправку", "Reusable": "За вишекратну употребу", "Reuse images already saved in this media project.": "Поново користите слике које су већ сачуване у овом медијском пројекту.", "Reuse settings": "Поново употребите подешавања", @@ -13652,6 +13673,7 @@ "Schema, checksums, and package metadata": "Шема, контролни суми и метаподаци пакета", "Scope": "Обим", "Scope ID": "Обим ID", + "Scope unavailable": "Опсег недоступан", "Screen capture and input stop. Ling never interacts with the lock screen, login window, password fields, or secure desktop.": "Снимање екрана и заустављање уноса. Ling никада не ступа у интеракцију са закључаним екраном, прозором за пријаву, пољима за лозинку или безбедном радном површином.", "Screen Recording": "Сцреен Рецординг", "Scripts can contact external services. Only run documents you trust.": "Scripts can contact external services. Only run documents you trust.", @@ -15000,6 +15022,7 @@ "Uploading avatar": "Отпремање аватара", "Uploading...": "Отпремање...", "Upstream": "Узводно", + "Upstream result unconfirmed": "Узводни резултат није потврђен", "Upstream version": "Упстреам верзија", "urgent": "хитно", "URL image edit": "URL уређивање слике", @@ -15196,6 +15219,7 @@ "Waiting for runner activity...": "Чека се активност тркача...", "Waiting for runner events...": "Чека се тркачки догађаји...", "Waiting for sign-in": "Чека се пријављивање", + "Waiting for source": "Чека се извор", "Waiting for system confirmation and Host readback...": "Чека се системска потврда и читање хоста...", "waiting for user input": "чека на унос корисника", "Waiting for votes": "Чекају се гласови", diff --git a/packages/localization/catalogs/sv-SE.json b/packages/localization/catalogs/sv-SE.json index c40173c58..c64724b3a 100644 --- a/packages/localization/catalogs/sv-SE.json +++ b/packages/localization/catalogs/sv-SE.json @@ -1,6 +1,6 @@ { "locale": "sv-SE", - "sourceRevision": "e134cc889637523423524b121cf71dcb37afdd3d7daf48eaea975d1c39785b2e", + "sourceRevision": "95b7d5d6546abac9c1f3ec3e54efe7bff99c84252c464896ecb9bf2245f66dfd", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -343,6 +343,7 @@ "A skill with the same identity already exists.": "66dd592d63333b2f2738e59f82a3866d9a6db17154a2cc2a752727f9a40998d1", "Abstain": "bf92ab42d052ce917d87cccce310e4351900347095f57947b3d08c1b1ff8bcf3", "Accept": "89713b9c9c1b8f659c9f49db25e4a47886dd673fee248c3f650391f09a759cef", + "Accept handoff": "13e3dc2abccf1296c34099b2080efb8c78ad82067436ff2039024f22ed8cc2e9", "Acceptance": "f190a5cb3aff17b0ee84f6ee258333d63a9cc71aa66c2e1788ebc3ae24a89b10", "Acceptance checks will be clarified before execution.": "ffd59db22fb4d3abb3c9cc67c351c818e1732dfca2d6cd18ae361a711fa4bb72", "Acceptance criteria": "d47a36f4f055810755db08b8d52e479baa4bb7a7a1f6449f71fa1ad5c20495ef", @@ -894,6 +895,7 @@ "Avatar uploaded": "d0d5a01f3f30fd933994a5950ddae3d14384d2c850c05deb50532b65aa6593ba", "Avatar, name, and a compact working brief.": "8d3706d4928090efbf7eca6683e3357f4f92732bc8be64c50dc8af8620a256c1", "Avoid triggers": "1419db0b6ddbd1f3a1632043da73529ecbcb0aef9183fd7d78e12df2942444de", + "Awaiting acceptance": "1dc7bfd9c54d73f22b4a9bdca5f741d5067a673b7f99d77e85367f6c8f049f85", "Awaiting confirmation": "d0ae0b38eac639b98f6a9b793a7add708bedbc6156963e3abc00453b235b2f3d", "Awaiting enable": "2a6b618d273346e8198806aa0d934a4bd6f5bf8b29d0780076df974ca93bf548", "Awaiting merge approval": "21837cdd561270cefc146079172511177736bb9091e9fb50d93bb072f271ecb0", @@ -1083,6 +1085,7 @@ "cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Candidate approved for draft": "59a57b9b459b3215e76b651f73f6521bc1bd71fa66bb52e046368a559db6632b", + "Candidate changed": "ca07c050cd47ab4f4d2f2fb6c60110b738af5b951a9ab708c36879365ec4532e", "Candidate changed since verification": "a2808e03661077a04403dab2204b7ce8d78310c296600bd03c5766a754f216a6", "Candidate cluster is not bound to a channel.": "6066a4e8725d065a7c2b8d2c8974a60c41c0a94124deeabd972f620ddd815786", "Candidate Clusters": "b617f8ce5325fa8984c324816b08d3a26c05dac3c3276bcc4f4ab7196222dbe4", @@ -1820,6 +1823,7 @@ "Could not start this scene.": "acb6aa181a8b842f1a8fc78344dc210cb98a45ccb6cf38ebd01beb65fe7fa27d", "Could not start this workflow test.": "7fe6f22a12127a9d74069d195a2513038cb2ff035acc4433d41e31006445e46e", "Could not switch projects. Showing the last loaded project.": "1a284203a5fd7f9d39c625017fde0d1c88180e3d2fa62b07aa7c9eb64a2e8aa6", + "Could not update handoff": "b6b7ff312171612e082d24ec92c854155d95fa6177a25cb0ac10f44e2c6110e2", "Could not update the default model. Try again.": "c87a00ab8ffb8c8c60209acf9b5cb10295a2a5e93c3e6f72dd8b2b4c316bdc16", "Council actions": "79763aae8f6334c6e29273106f3509b76114439dd686c9fa32753bca265eee32", "Council boundaries": "b4d6713050d140a9102817793dcb99d64565ee0d33d364b71f5d4d2afd234baf", @@ -3820,6 +3824,7 @@ "minutes": "90e63d85fa1ab2c8ed65222f3ebd794b1e524b4b7cf84bec451542d0451b2985", "missing": "ffa63583dfa6706b87d284b86b0d693a161e4840aad2c5cf6b5d27c3b9621f7d", "Missing": "6be36ca49ee85210c5d1ad9c377d90a9859c66d889110a2a5b0dccd390d12e20", + "Missing artifact": "e936c2df4de783be206107e353054e33ebba1c9988085200c260c7a6b8f8fc73", "Missing dependency": "5915d1e15e283f09695ad4b96ced9625bbd68aab747dc778f37aada0a7489b5c", "Missing fields": "69121d3f63d5a27ab7ce484854c065ce87e7022dc5fdfee9d778ab02515542fc", "Missing key": "0c8a17a63a322df1c40693b8469227cf5426b024673da9065f42c6cbb7c58370", @@ -5401,6 +5406,7 @@ "Requested URL": "8ae37b38fe2e415c8c641c3f2b6e9b42a11245cc8749a51a247cf0464b4c7faf", "Required": "4850b174b713d88cfc63de107830d5388929020e78abc91fc19bba7a6821625f", "Required before approving high-risk requests": "3cb612a5f43f4acbf5a6066a5da559bce858b50cdab2c2f6943bf4a05de1310a", + "Required check incomplete": "f64e6dfd1fc8cd1f2139aadf61c6ef43ecaa2ce783b2c712a56d31a574e05741", "Required checks": "f5a021846bd1a50002c0ea940f30cc97c285a118c62ff95af5c2f538584a7e26", "Required for assigned teammates": "4732aa544a8d93b886e6bcbbcc5c3314af692f8a8a812efd4844cd3589b7b63a", "Required input": "fafaaf99b5a6af521026448890a9dacaf4d47053804a34be7cdf364e13637181", @@ -5524,8 +5530,11 @@ "Retry upload": "731dc6e3f07ab1b090e925be766dd01d8e4aed2f0ad2cef600bf157bd7764500", "Retryable": "c282bd362abaadb6a38a4fdb268df44325f8bfde40f719b77fdd690180c51889", "Retrying automatically...": "220837f6132382f3e8d4fb676f31aab3dc9fabc34b8f26c2e4ced9b83ebce4ec", + "Return handoff": "1ae47e9a67b5866c28ccd52c2040500610b795d917cc6620a444c170ded79836", + "Return reason": "79f91549d760515b430db20e8f2f0c766e417826dfea15029dca20f6eb9865ac", "Return to an unlocked interactive Windows desktop, restart Ling if needed, then check again.": "bccd46e406f4d428d83a9dd510df581b52e5c28c51da4d357e3e66c21740ee0e", "Return to implementation mode": "36435baabf6c6acc0666fba73f68609f9a41d17389ea216a99f41b5036e8b6ef", + "Returned for repair": "07abb2b9ba19b479a5126883271bb99fa47e239dffb3337fb13bbe2778654158", "Reusable": "8ded2b384940a83eb986da575b9efa40f1b03fd1d626bd91964cbb11502e0b42", "Reuse images already saved in this media project.": "3c3dd902fab18f841a51942e3a4e92a93c8d39ddd8b48ae9ee017982a26fa1c1", "Reuse settings": "17507cf7d05b478d392e9aa85d9c60046c0e2a185959546ac0864a89b95ec744", @@ -5916,6 +5925,7 @@ "Schema, checksums, and package metadata": "d91ffc3c0cdd2c26d37ba9cf60de0a718343a3969303718321092f0367a68808", "Scope": "b073f6c68ef8721107fd9815b19b2c35ec111d526b75c2123d1111ba64424000", "Scope ID": "4a201ef6cbd70a0728fc5c62eb87fd73ac56e470c853a3112ebf27617e49ff76", + "Scope unavailable": "38a32037c55100c3ad97878ca4e361a734a3422fb35bdbaeacebf4babb16cdf3", "Screen capture and input stop. Ling never interacts with the lock screen, login window, password fields, or secure desktop.": "cece9f092190c9e9e4c9d54f7da59256e922a56556c843c4e2b44fb1a67b0c5f", "Screen Recording": "bc3c742893dc7aff9c88fad0aae3f6749a6679a45cbafb0981f0e2ddaed5c49c", "Scripts can contact external services. Only run documents you trust.": "aa3560983d2f6c2656f1a9329fcb9434fa520d6f64bcccf0e6ae91c82ddbb0dd", @@ -7264,6 +7274,7 @@ "Uploading avatar": "995b81efc53e808131bd98d546fb3fa493a44b9b43b752237e590bf5a2e487c8", "Uploading...": "72cb29c90ccd8361ee82d02fabe81a3f01605c7b8fea4c9996fc01d84e3fbb48", "Upstream": "94adc696fd24e9fd67e83ba256a9f33bf1d7191d4a5e38ee8c69597cd89e4777", + "Upstream result unconfirmed": "d345a9ef65cf22ec93d4a7a0457157bcdc8696a90ea8e72690d04b25d7447d94", "Upstream version": "7927b36324919e81ae646c1455b608aadcecdedb285d9985d63d80572c3d5214", "urgent": "f9d37c23fcc0f03c15a86aba71dce01dd0baa7a1568180e60c2347a5863151bc", "URL image edit": "444b0006116b72fd13097e57758caf2edaa14133af89617d79ed238d71f518ff", @@ -7460,6 +7471,7 @@ "Waiting for runner activity...": "d0e7a1fd3763c4062fe8ac59255b9281effe77d2fd1d79f9ae2498e56ac3b96f", "Waiting for runner events...": "dc60b71d9ccb374ef6e53cc9496c05fd15dcd7b4955ec8ae7603cf360af7e85e", "Waiting for sign-in": "749a343a3a25c1df679ee6d6e74abb72e08ef956bfa15434407e61934dc054c9", + "Waiting for source": "8ac1608b4d56ce4dcc84a6d489fb055d7e9281efa150baa1fd5c2be7f2dd220b", "Waiting for system confirmation and Host readback...": "952e73792f0715e2d1f30ef0b0c03c4353cd9ab96caa71856bbce7dc41e2d161", "waiting for user input": "f43ef097687b1d8c8800577eefa3f7e10d0c82236cd0017f983d131e8e673174", "Waiting for votes": "bbb50edc12d1ce791069a8e84ca6e73a255b796306d32cdc1414987b986e172f", @@ -8079,6 +8091,7 @@ "A skill with the same identity already exists.": "En färdighet med samma identitet finns redan.", "Abstain": "Avstå", "Accept": "Acceptera", + "Accept handoff": "Acceptera handoff", "Acceptance": "Godtagande", "Acceptance checks will be clarified before execution.": "Acceptanskontroller kommer att förtydligas innan utförande.", "Acceptance criteria": "Acceptanskriterier", @@ -8630,6 +8643,7 @@ "Avatar uploaded": "Avatar har laddats upp", "Avatar, name, and a compact working brief.": "Avatar, namn och en kompakt arbetstrosa.", "Avoid triggers": "Undvik triggers", + "Awaiting acceptance": "Väntar på acceptans", "Awaiting confirmation": "Väntar på bekräftelse", "Awaiting enable": "Väntar på aktivering", "Awaiting merge approval": "Väntar på godkännande av sammanslagningen", @@ -8819,6 +8833,7 @@ "cancelling": "Inställande", "Cancelling": "Inställande", "Candidate approved for draft": "Kandidat godkänd för utkast", + "Candidate changed": "Kandidat bytte", "Candidate changed since verification": "Kandidat ändrad sedan verifiering", "Candidate cluster is not bound to a channel.": "Kandidatklustret är inte bundet till en kanal.", "Candidate Clusters": "Kandidatkluster", @@ -9556,6 +9571,7 @@ "Could not start this scene.": "Det gick inte att starta den här scenen.", "Could not start this workflow test.": "Det gick inte att starta detta arbetsflödesteste.", "Could not switch projects. Showing the last loaded project.": "Det gick inte att byta projekt. Visar det senast laddade projektet.", + "Could not update handoff": "Det gick inte att uppdatera handoff", "Could not update the default model. Try again.": "Det gick inte att uppdatera standardmodellen. Försök igen.", "Council actions": "rådets åtgärder", "Council boundaries": "Rådets gränser", @@ -11556,6 +11572,7 @@ "minutes": "minuter", "missing": "saknad", "Missing": "Saknad", + "Missing artifact": "Saknade artefakt", "Missing dependency": "Missing dependency", "Missing fields": "Saknade fält", "Missing key": "Saknar nyckel", @@ -13137,6 +13154,7 @@ "Requested URL": "Begärt URL", "Required": "Nödvändig", "Required before approving high-risk requests": "Krävs innan högriskförfrågningar godkänns", + "Required check incomplete": "Obligatorisk kontroll ofullständig", "Required checks": "Obligatoriska kontroller", "Required for assigned teammates": "Krävs för tilldelade lagkamrater", "Required input": "Obligatorisk input", @@ -13260,8 +13278,11 @@ "Retry upload": "Försök att ladda upp igen", "Retryable": "Kan testas igen", "Retrying automatically...": "Försöker igen automatiskt...", + "Return handoff": "Återlämning", + "Return reason": "Retur anledning", "Return to an unlocked interactive Windows desktop, restart Ling if needed, then check again.": "Återgå till ett olåst interaktivt Windows-skrivbord, starta om Ling om det behövs och kontrollera sedan igen.", "Return to implementation mode": "Återgå till implementeringsläge", + "Returned for repair": "Återlämnas för reparation", "Reusable": "Återanvändbar", "Reuse images already saved in this media project.": "Återanvänd bilder som redan har sparats i det här medieprojektet.", "Reuse settings": "Återanvänd inställningar", @@ -13652,6 +13673,7 @@ "Schema, checksums, and package metadata": "Schema, kontrollsummor och paketmetadata", "Scope": "Omfattning", "Scope ID": "Omfattning ID", + "Scope unavailable": "Omfattning inte tillgänglig", "Screen capture and input stop. Ling never interacts with the lock screen, login window, password fields, or secure desktop.": "Skärmdump och ingångsstopp. Ling interagerar aldrig med låsskärmen, inloggningsfönstret, lösenordsfälten eller det säkra skrivbordet.", "Screen Recording": "Skärminspelning", "Scripts can contact external services. Only run documents you trust.": "Scripts can contact external services. Only run documents you trust.", @@ -15000,6 +15022,7 @@ "Uploading avatar": "Laddar upp avatar", "Uploading...": "Laddar upp...", "Upstream": "Uppströms", + "Upstream result unconfirmed": "Uppströms resultat obekräftat", "Upstream version": "Uppströms version", "urgent": "brådskande", "URL image edit": "URL bildredigering", @@ -15196,6 +15219,7 @@ "Waiting for runner activity...": "Väntar på löparaktivitet...", "Waiting for runner events...": "Väntar på löparevenemang...", "Waiting for sign-in": "Väntar på inloggning", + "Waiting for source": "Väntar på källan", "Waiting for system confirmation and Host readback...": "Väntar på systembekräftelse och återläsning av värd...", "waiting for user input": "väntar på användarinput", "Waiting for votes": "Väntar på röster", diff --git a/packages/localization/catalogs/sw-TZ.json b/packages/localization/catalogs/sw-TZ.json index d509fde53..a15b79318 100644 --- a/packages/localization/catalogs/sw-TZ.json +++ b/packages/localization/catalogs/sw-TZ.json @@ -1,6 +1,6 @@ { "locale": "sw-TZ", - "sourceRevision": "e134cc889637523423524b121cf71dcb37afdd3d7daf48eaea975d1c39785b2e", + "sourceRevision": "95b7d5d6546abac9c1f3ec3e54efe7bff99c84252c464896ecb9bf2245f66dfd", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -343,6 +343,7 @@ "A skill with the same identity already exists.": "66dd592d63333b2f2738e59f82a3866d9a6db17154a2cc2a752727f9a40998d1", "Abstain": "bf92ab42d052ce917d87cccce310e4351900347095f57947b3d08c1b1ff8bcf3", "Accept": "89713b9c9c1b8f659c9f49db25e4a47886dd673fee248c3f650391f09a759cef", + "Accept handoff": "13e3dc2abccf1296c34099b2080efb8c78ad82067436ff2039024f22ed8cc2e9", "Acceptance": "f190a5cb3aff17b0ee84f6ee258333d63a9cc71aa66c2e1788ebc3ae24a89b10", "Acceptance checks will be clarified before execution.": "ffd59db22fb4d3abb3c9cc67c351c818e1732dfca2d6cd18ae361a711fa4bb72", "Acceptance criteria": "d47a36f4f055810755db08b8d52e479baa4bb7a7a1f6449f71fa1ad5c20495ef", @@ -894,6 +895,7 @@ "Avatar uploaded": "d0d5a01f3f30fd933994a5950ddae3d14384d2c850c05deb50532b65aa6593ba", "Avatar, name, and a compact working brief.": "8d3706d4928090efbf7eca6683e3357f4f92732bc8be64c50dc8af8620a256c1", "Avoid triggers": "1419db0b6ddbd1f3a1632043da73529ecbcb0aef9183fd7d78e12df2942444de", + "Awaiting acceptance": "1dc7bfd9c54d73f22b4a9bdca5f741d5067a673b7f99d77e85367f6c8f049f85", "Awaiting confirmation": "d0ae0b38eac639b98f6a9b793a7add708bedbc6156963e3abc00453b235b2f3d", "Awaiting enable": "2a6b618d273346e8198806aa0d934a4bd6f5bf8b29d0780076df974ca93bf548", "Awaiting merge approval": "21837cdd561270cefc146079172511177736bb9091e9fb50d93bb072f271ecb0", @@ -1083,6 +1085,7 @@ "cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Candidate approved for draft": "59a57b9b459b3215e76b651f73f6521bc1bd71fa66bb52e046368a559db6632b", + "Candidate changed": "ca07c050cd47ab4f4d2f2fb6c60110b738af5b951a9ab708c36879365ec4532e", "Candidate changed since verification": "a2808e03661077a04403dab2204b7ce8d78310c296600bd03c5766a754f216a6", "Candidate cluster is not bound to a channel.": "6066a4e8725d065a7c2b8d2c8974a60c41c0a94124deeabd972f620ddd815786", "Candidate Clusters": "b617f8ce5325fa8984c324816b08d3a26c05dac3c3276bcc4f4ab7196222dbe4", @@ -1820,6 +1823,7 @@ "Could not start this scene.": "acb6aa181a8b842f1a8fc78344dc210cb98a45ccb6cf38ebd01beb65fe7fa27d", "Could not start this workflow test.": "7fe6f22a12127a9d74069d195a2513038cb2ff035acc4433d41e31006445e46e", "Could not switch projects. Showing the last loaded project.": "1a284203a5fd7f9d39c625017fde0d1c88180e3d2fa62b07aa7c9eb64a2e8aa6", + "Could not update handoff": "b6b7ff312171612e082d24ec92c854155d95fa6177a25cb0ac10f44e2c6110e2", "Could not update the default model. Try again.": "c87a00ab8ffb8c8c60209acf9b5cb10295a2a5e93c3e6f72dd8b2b4c316bdc16", "Council actions": "79763aae8f6334c6e29273106f3509b76114439dd686c9fa32753bca265eee32", "Council boundaries": "b4d6713050d140a9102817793dcb99d64565ee0d33d364b71f5d4d2afd234baf", @@ -3820,6 +3824,7 @@ "minutes": "90e63d85fa1ab2c8ed65222f3ebd794b1e524b4b7cf84bec451542d0451b2985", "missing": "ffa63583dfa6706b87d284b86b0d693a161e4840aad2c5cf6b5d27c3b9621f7d", "Missing": "6be36ca49ee85210c5d1ad9c377d90a9859c66d889110a2a5b0dccd390d12e20", + "Missing artifact": "e936c2df4de783be206107e353054e33ebba1c9988085200c260c7a6b8f8fc73", "Missing dependency": "5915d1e15e283f09695ad4b96ced9625bbd68aab747dc778f37aada0a7489b5c", "Missing fields": "69121d3f63d5a27ab7ce484854c065ce87e7022dc5fdfee9d778ab02515542fc", "Missing key": "0c8a17a63a322df1c40693b8469227cf5426b024673da9065f42c6cbb7c58370", @@ -5401,6 +5406,7 @@ "Requested URL": "8ae37b38fe2e415c8c641c3f2b6e9b42a11245cc8749a51a247cf0464b4c7faf", "Required": "4850b174b713d88cfc63de107830d5388929020e78abc91fc19bba7a6821625f", "Required before approving high-risk requests": "3cb612a5f43f4acbf5a6066a5da559bce858b50cdab2c2f6943bf4a05de1310a", + "Required check incomplete": "f64e6dfd1fc8cd1f2139aadf61c6ef43ecaa2ce783b2c712a56d31a574e05741", "Required checks": "f5a021846bd1a50002c0ea940f30cc97c285a118c62ff95af5c2f538584a7e26", "Required for assigned teammates": "4732aa544a8d93b886e6bcbbcc5c3314af692f8a8a812efd4844cd3589b7b63a", "Required input": "fafaaf99b5a6af521026448890a9dacaf4d47053804a34be7cdf364e13637181", @@ -5524,8 +5530,11 @@ "Retry upload": "731dc6e3f07ab1b090e925be766dd01d8e4aed2f0ad2cef600bf157bd7764500", "Retryable": "c282bd362abaadb6a38a4fdb268df44325f8bfde40f719b77fdd690180c51889", "Retrying automatically...": "220837f6132382f3e8d4fb676f31aab3dc9fabc34b8f26c2e4ced9b83ebce4ec", + "Return handoff": "1ae47e9a67b5866c28ccd52c2040500610b795d917cc6620a444c170ded79836", + "Return reason": "79f91549d760515b430db20e8f2f0c766e417826dfea15029dca20f6eb9865ac", "Return to an unlocked interactive Windows desktop, restart Ling if needed, then check again.": "bccd46e406f4d428d83a9dd510df581b52e5c28c51da4d357e3e66c21740ee0e", "Return to implementation mode": "36435baabf6c6acc0666fba73f68609f9a41d17389ea216a99f41b5036e8b6ef", + "Returned for repair": "07abb2b9ba19b479a5126883271bb99fa47e239dffb3337fb13bbe2778654158", "Reusable": "8ded2b384940a83eb986da575b9efa40f1b03fd1d626bd91964cbb11502e0b42", "Reuse images already saved in this media project.": "3c3dd902fab18f841a51942e3a4e92a93c8d39ddd8b48ae9ee017982a26fa1c1", "Reuse settings": "17507cf7d05b478d392e9aa85d9c60046c0e2a185959546ac0864a89b95ec744", @@ -5916,6 +5925,7 @@ "Schema, checksums, and package metadata": "d91ffc3c0cdd2c26d37ba9cf60de0a718343a3969303718321092f0367a68808", "Scope": "b073f6c68ef8721107fd9815b19b2c35ec111d526b75c2123d1111ba64424000", "Scope ID": "4a201ef6cbd70a0728fc5c62eb87fd73ac56e470c853a3112ebf27617e49ff76", + "Scope unavailable": "38a32037c55100c3ad97878ca4e361a734a3422fb35bdbaeacebf4babb16cdf3", "Screen capture and input stop. Ling never interacts with the lock screen, login window, password fields, or secure desktop.": "cece9f092190c9e9e4c9d54f7da59256e922a56556c843c4e2b44fb1a67b0c5f", "Screen Recording": "bc3c742893dc7aff9c88fad0aae3f6749a6679a45cbafb0981f0e2ddaed5c49c", "Scripts can contact external services. Only run documents you trust.": "aa3560983d2f6c2656f1a9329fcb9434fa520d6f64bcccf0e6ae91c82ddbb0dd", @@ -7264,6 +7274,7 @@ "Uploading avatar": "995b81efc53e808131bd98d546fb3fa493a44b9b43b752237e590bf5a2e487c8", "Uploading...": "72cb29c90ccd8361ee82d02fabe81a3f01605c7b8fea4c9996fc01d84e3fbb48", "Upstream": "94adc696fd24e9fd67e83ba256a9f33bf1d7191d4a5e38ee8c69597cd89e4777", + "Upstream result unconfirmed": "d345a9ef65cf22ec93d4a7a0457157bcdc8696a90ea8e72690d04b25d7447d94", "Upstream version": "7927b36324919e81ae646c1455b608aadcecdedb285d9985d63d80572c3d5214", "urgent": "f9d37c23fcc0f03c15a86aba71dce01dd0baa7a1568180e60c2347a5863151bc", "URL image edit": "444b0006116b72fd13097e57758caf2edaa14133af89617d79ed238d71f518ff", @@ -7460,6 +7471,7 @@ "Waiting for runner activity...": "d0e7a1fd3763c4062fe8ac59255b9281effe77d2fd1d79f9ae2498e56ac3b96f", "Waiting for runner events...": "dc60b71d9ccb374ef6e53cc9496c05fd15dcd7b4955ec8ae7603cf360af7e85e", "Waiting for sign-in": "749a343a3a25c1df679ee6d6e74abb72e08ef956bfa15434407e61934dc054c9", + "Waiting for source": "8ac1608b4d56ce4dcc84a6d489fb055d7e9281efa150baa1fd5c2be7f2dd220b", "Waiting for system confirmation and Host readback...": "952e73792f0715e2d1f30ef0b0c03c4353cd9ab96caa71856bbce7dc41e2d161", "waiting for user input": "f43ef097687b1d8c8800577eefa3f7e10d0c82236cd0017f983d131e8e673174", "Waiting for votes": "bbb50edc12d1ce791069a8e84ca6e73a255b796306d32cdc1414987b986e172f", @@ -8079,6 +8091,7 @@ "A skill with the same identity already exists.": "Ujuzi ulio na utambulisho sawa tayari upo.", "Abstain": "Jiepushe", "Accept": "Kubali", + "Accept handoff": "Kubali kukabidhiwa", "Acceptance": "Kukubalika", "Acceptance checks will be clarified before execution.": "Ukaguzi wa kukubalika utafafanuliwa kabla ya utekelezaji.", "Acceptance criteria": "Vigezo vya kukubalika", @@ -8630,6 +8643,7 @@ "Avatar uploaded": "Avatar imepakiwa", "Avatar, name, and a compact working brief.": "Avatar, jina na muhtasari wa kufanya kazi kwa pamoja.", "Avoid triggers": "Epuka vichochezi", + "Awaiting acceptance": "Inasubiri kukubalika", "Awaiting confirmation": "Inasubiri uthibitisho", "Awaiting enable": "Inasubiri kuwasha", "Awaiting merge approval": "Inasubiri idhini ya kuunganisha", @@ -8819,6 +8833,7 @@ "cancelling": "Inaghairi", "Cancelling": "Inaghairi", "Candidate approved for draft": "Mgombea aliyeidhinishwa kwa rasimu", + "Candidate changed": "Mgombea alibadilika", "Candidate changed since verification": "Mgombea amebadilika tangu kuthibitishwa", "Candidate cluster is not bound to a channel.": "Kundi la mgombea halifungamani na kituo.", "Candidate Clusters": "Vikundi vya Wagombea", @@ -9556,6 +9571,7 @@ "Could not start this scene.": "Haikuweza kuanzisha tukio hili.", "Could not start this workflow test.": "Haikuweza kuanzisha jaribio hili la mtiririko wa kazi.", "Could not switch projects. Showing the last loaded project.": "Haikuweza kubadilisha miradi. Inaonyesha mradi wa mwisho uliopakiwa.", + "Could not update handoff": "Haikuweza kusasisha mkono", "Could not update the default model. Try again.": "Haikuweza kusasisha muundo chaguomsingi. Jaribu tena.", "Council actions": "Shughuli za Baraza", "Council boundaries": "Mipaka ya Halmashauri", @@ -11556,6 +11572,7 @@ "minutes": "dakika", "missing": "kukosa", "Missing": "Haipo", + "Missing artifact": "Vizalia vya programu vilivyokosekana", "Missing dependency": "Missing dependency", "Missing fields": "Sehemu zinazokosekana", "Missing key": "Ufunguo haupo", @@ -13137,6 +13154,7 @@ "Requested URL": "Umeomba URL", "Required": "Inahitajika", "Required before approving high-risk requests": "Inahitajika kabla ya kuidhinisha maombi yenye hatari kubwa", + "Required check incomplete": "Ukaguzi unaohitajika haujakamilika", "Required checks": "Hundi zinazohitajika", "Required for assigned teammates": "Inahitajika kwa wachezaji wenza waliokabidhiwa", "Required input": "Ingizo linalohitajika", @@ -13260,8 +13278,11 @@ "Retry upload": "Jaribu kupakia tena", "Retryable": "Inaweza kujaribiwa tena", "Retrying automatically...": "Inajaribu tena kiotomatiki...", + "Return handoff": "Rudisha mkono", + "Return reason": "Kurudi sababu", "Return to an unlocked interactive Windows desktop, restart Ling if needed, then check again.": "Rudi kwenye eneo-kazi shirikishi la Windows lililofunguliwa, anzisha upya Ling ikihitajika, kisha uangalie tena.", "Return to implementation mode": "Rudi kwenye hali ya utekelezaji", + "Returned for repair": "Imerejeshwa kwa ukarabati", "Reusable": "Inaweza kutumika tena", "Reuse images already saved in this media project.": "Tumia tena picha ambazo tayari zimehifadhiwa katika mradi huu wa maudhui.", "Reuse settings": "Tumia tena mipangilio", @@ -13652,6 +13673,7 @@ "Schema, checksums, and package metadata": "Schema, hundi, na metadata ya kifurushi", "Scope": "Upeo", "Scope ID": "Upeo ID", + "Scope unavailable": "Upeo haupatikani", "Screen capture and input stop. Ling never interacts with the lock screen, login window, password fields, or secure desktop.": "Kukamata skrini na kuacha ingizo. Ling kamwe haiingiliani na skrini iliyofungwa, dirisha la kuingia, sehemu za nenosiri au eneo-kazi salama.", "Screen Recording": "Kurekodi skrini", "Scripts can contact external services. Only run documents you trust.": "Scripts can contact external services. Only run documents you trust.", @@ -15000,6 +15022,7 @@ "Uploading avatar": "Inapakia avatar", "Uploading...": "Inapakia...", "Upstream": "Mto wa juu", + "Upstream result unconfirmed": "Matokeo ya mkondo wa juu hayajathibitishwa", "Upstream version": "Toleo la mkondo wa juu", "urgent": "haraka", "URL image edit": "URL kuhariri picha", @@ -15196,6 +15219,7 @@ "Waiting for runner activity...": "Inasubiri shughuli ya mwanariadha...", "Waiting for runner events...": "Inasubiri matukio ya wakimbiaji...", "Waiting for sign-in": "Inasubiri kuingia", + "Waiting for source": "Inasubiri chanzo", "Waiting for system confirmation and Host readback...": "Inasubiri uthibitisho wa mfumo na urejeshaji wa usomaji wa Seva.", "waiting for user input": "kusubiri pembejeo ya mtumiaji", "Waiting for votes": "Kusubiri kura", diff --git a/packages/localization/catalogs/ta-IN.json b/packages/localization/catalogs/ta-IN.json index a6c6157ce..8b64aeb62 100644 --- a/packages/localization/catalogs/ta-IN.json +++ b/packages/localization/catalogs/ta-IN.json @@ -1,6 +1,6 @@ { "locale": "ta-IN", - "sourceRevision": "e134cc889637523423524b121cf71dcb37afdd3d7daf48eaea975d1c39785b2e", + "sourceRevision": "95b7d5d6546abac9c1f3ec3e54efe7bff99c84252c464896ecb9bf2245f66dfd", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -343,6 +343,7 @@ "A skill with the same identity already exists.": "66dd592d63333b2f2738e59f82a3866d9a6db17154a2cc2a752727f9a40998d1", "Abstain": "bf92ab42d052ce917d87cccce310e4351900347095f57947b3d08c1b1ff8bcf3", "Accept": "89713b9c9c1b8f659c9f49db25e4a47886dd673fee248c3f650391f09a759cef", + "Accept handoff": "13e3dc2abccf1296c34099b2080efb8c78ad82067436ff2039024f22ed8cc2e9", "Acceptance": "f190a5cb3aff17b0ee84f6ee258333d63a9cc71aa66c2e1788ebc3ae24a89b10", "Acceptance checks will be clarified before execution.": "ffd59db22fb4d3abb3c9cc67c351c818e1732dfca2d6cd18ae361a711fa4bb72", "Acceptance criteria": "d47a36f4f055810755db08b8d52e479baa4bb7a7a1f6449f71fa1ad5c20495ef", @@ -894,6 +895,7 @@ "Avatar uploaded": "d0d5a01f3f30fd933994a5950ddae3d14384d2c850c05deb50532b65aa6593ba", "Avatar, name, and a compact working brief.": "8d3706d4928090efbf7eca6683e3357f4f92732bc8be64c50dc8af8620a256c1", "Avoid triggers": "1419db0b6ddbd1f3a1632043da73529ecbcb0aef9183fd7d78e12df2942444de", + "Awaiting acceptance": "1dc7bfd9c54d73f22b4a9bdca5f741d5067a673b7f99d77e85367f6c8f049f85", "Awaiting confirmation": "d0ae0b38eac639b98f6a9b793a7add708bedbc6156963e3abc00453b235b2f3d", "Awaiting enable": "2a6b618d273346e8198806aa0d934a4bd6f5bf8b29d0780076df974ca93bf548", "Awaiting merge approval": "21837cdd561270cefc146079172511177736bb9091e9fb50d93bb072f271ecb0", @@ -1083,6 +1085,7 @@ "cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Candidate approved for draft": "59a57b9b459b3215e76b651f73f6521bc1bd71fa66bb52e046368a559db6632b", + "Candidate changed": "ca07c050cd47ab4f4d2f2fb6c60110b738af5b951a9ab708c36879365ec4532e", "Candidate changed since verification": "a2808e03661077a04403dab2204b7ce8d78310c296600bd03c5766a754f216a6", "Candidate cluster is not bound to a channel.": "6066a4e8725d065a7c2b8d2c8974a60c41c0a94124deeabd972f620ddd815786", "Candidate Clusters": "b617f8ce5325fa8984c324816b08d3a26c05dac3c3276bcc4f4ab7196222dbe4", @@ -1820,6 +1823,7 @@ "Could not start this scene.": "acb6aa181a8b842f1a8fc78344dc210cb98a45ccb6cf38ebd01beb65fe7fa27d", "Could not start this workflow test.": "7fe6f22a12127a9d74069d195a2513038cb2ff035acc4433d41e31006445e46e", "Could not switch projects. Showing the last loaded project.": "1a284203a5fd7f9d39c625017fde0d1c88180e3d2fa62b07aa7c9eb64a2e8aa6", + "Could not update handoff": "b6b7ff312171612e082d24ec92c854155d95fa6177a25cb0ac10f44e2c6110e2", "Could not update the default model. Try again.": "c87a00ab8ffb8c8c60209acf9b5cb10295a2a5e93c3e6f72dd8b2b4c316bdc16", "Council actions": "79763aae8f6334c6e29273106f3509b76114439dd686c9fa32753bca265eee32", "Council boundaries": "b4d6713050d140a9102817793dcb99d64565ee0d33d364b71f5d4d2afd234baf", @@ -3820,6 +3824,7 @@ "minutes": "90e63d85fa1ab2c8ed65222f3ebd794b1e524b4b7cf84bec451542d0451b2985", "missing": "ffa63583dfa6706b87d284b86b0d693a161e4840aad2c5cf6b5d27c3b9621f7d", "Missing": "6be36ca49ee85210c5d1ad9c377d90a9859c66d889110a2a5b0dccd390d12e20", + "Missing artifact": "e936c2df4de783be206107e353054e33ebba1c9988085200c260c7a6b8f8fc73", "Missing dependency": "5915d1e15e283f09695ad4b96ced9625bbd68aab747dc778f37aada0a7489b5c", "Missing fields": "69121d3f63d5a27ab7ce484854c065ce87e7022dc5fdfee9d778ab02515542fc", "Missing key": "0c8a17a63a322df1c40693b8469227cf5426b024673da9065f42c6cbb7c58370", @@ -5401,6 +5406,7 @@ "Requested URL": "8ae37b38fe2e415c8c641c3f2b6e9b42a11245cc8749a51a247cf0464b4c7faf", "Required": "4850b174b713d88cfc63de107830d5388929020e78abc91fc19bba7a6821625f", "Required before approving high-risk requests": "3cb612a5f43f4acbf5a6066a5da559bce858b50cdab2c2f6943bf4a05de1310a", + "Required check incomplete": "f64e6dfd1fc8cd1f2139aadf61c6ef43ecaa2ce783b2c712a56d31a574e05741", "Required checks": "f5a021846bd1a50002c0ea940f30cc97c285a118c62ff95af5c2f538584a7e26", "Required for assigned teammates": "4732aa544a8d93b886e6bcbbcc5c3314af692f8a8a812efd4844cd3589b7b63a", "Required input": "fafaaf99b5a6af521026448890a9dacaf4d47053804a34be7cdf364e13637181", @@ -5524,8 +5530,11 @@ "Retry upload": "731dc6e3f07ab1b090e925be766dd01d8e4aed2f0ad2cef600bf157bd7764500", "Retryable": "c282bd362abaadb6a38a4fdb268df44325f8bfde40f719b77fdd690180c51889", "Retrying automatically...": "220837f6132382f3e8d4fb676f31aab3dc9fabc34b8f26c2e4ced9b83ebce4ec", + "Return handoff": "1ae47e9a67b5866c28ccd52c2040500610b795d917cc6620a444c170ded79836", + "Return reason": "79f91549d760515b430db20e8f2f0c766e417826dfea15029dca20f6eb9865ac", "Return to an unlocked interactive Windows desktop, restart Ling if needed, then check again.": "bccd46e406f4d428d83a9dd510df581b52e5c28c51da4d357e3e66c21740ee0e", "Return to implementation mode": "36435baabf6c6acc0666fba73f68609f9a41d17389ea216a99f41b5036e8b6ef", + "Returned for repair": "07abb2b9ba19b479a5126883271bb99fa47e239dffb3337fb13bbe2778654158", "Reusable": "8ded2b384940a83eb986da575b9efa40f1b03fd1d626bd91964cbb11502e0b42", "Reuse images already saved in this media project.": "3c3dd902fab18f841a51942e3a4e92a93c8d39ddd8b48ae9ee017982a26fa1c1", "Reuse settings": "17507cf7d05b478d392e9aa85d9c60046c0e2a185959546ac0864a89b95ec744", @@ -5916,6 +5925,7 @@ "Schema, checksums, and package metadata": "d91ffc3c0cdd2c26d37ba9cf60de0a718343a3969303718321092f0367a68808", "Scope": "b073f6c68ef8721107fd9815b19b2c35ec111d526b75c2123d1111ba64424000", "Scope ID": "4a201ef6cbd70a0728fc5c62eb87fd73ac56e470c853a3112ebf27617e49ff76", + "Scope unavailable": "38a32037c55100c3ad97878ca4e361a734a3422fb35bdbaeacebf4babb16cdf3", "Screen capture and input stop. Ling never interacts with the lock screen, login window, password fields, or secure desktop.": "cece9f092190c9e9e4c9d54f7da59256e922a56556c843c4e2b44fb1a67b0c5f", "Screen Recording": "bc3c742893dc7aff9c88fad0aae3f6749a6679a45cbafb0981f0e2ddaed5c49c", "Scripts can contact external services. Only run documents you trust.": "aa3560983d2f6c2656f1a9329fcb9434fa520d6f64bcccf0e6ae91c82ddbb0dd", @@ -7264,6 +7274,7 @@ "Uploading avatar": "995b81efc53e808131bd98d546fb3fa493a44b9b43b752237e590bf5a2e487c8", "Uploading...": "72cb29c90ccd8361ee82d02fabe81a3f01605c7b8fea4c9996fc01d84e3fbb48", "Upstream": "94adc696fd24e9fd67e83ba256a9f33bf1d7191d4a5e38ee8c69597cd89e4777", + "Upstream result unconfirmed": "d345a9ef65cf22ec93d4a7a0457157bcdc8696a90ea8e72690d04b25d7447d94", "Upstream version": "7927b36324919e81ae646c1455b608aadcecdedb285d9985d63d80572c3d5214", "urgent": "f9d37c23fcc0f03c15a86aba71dce01dd0baa7a1568180e60c2347a5863151bc", "URL image edit": "444b0006116b72fd13097e57758caf2edaa14133af89617d79ed238d71f518ff", @@ -7460,6 +7471,7 @@ "Waiting for runner activity...": "d0e7a1fd3763c4062fe8ac59255b9281effe77d2fd1d79f9ae2498e56ac3b96f", "Waiting for runner events...": "dc60b71d9ccb374ef6e53cc9496c05fd15dcd7b4955ec8ae7603cf360af7e85e", "Waiting for sign-in": "749a343a3a25c1df679ee6d6e74abb72e08ef956bfa15434407e61934dc054c9", + "Waiting for source": "8ac1608b4d56ce4dcc84a6d489fb055d7e9281efa150baa1fd5c2be7f2dd220b", "Waiting for system confirmation and Host readback...": "952e73792f0715e2d1f30ef0b0c03c4353cd9ab96caa71856bbce7dc41e2d161", "waiting for user input": "f43ef097687b1d8c8800577eefa3f7e10d0c82236cd0017f983d131e8e673174", "Waiting for votes": "bbb50edc12d1ce791069a8e84ca6e73a255b796306d32cdc1414987b986e172f", @@ -8079,6 +8091,7 @@ "A skill with the same identity already exists.": "அதே அடையாளத்துடன் கூடிய திறன் ஏற்கனவே உள்ளது.", "Abstain": "தவிர்க்கவும்", "Accept": "ஏற்றுக்கொள்", + "Accept handoff": "ஒப்படைப்பை ஏற்றுக்கொள்", "Acceptance": "ஏற்றுக்கொள்ளுதல்", "Acceptance checks will be clarified before execution.": "ஏற்றுக்கொள்ளும் காசோலைகள் செயல்படுத்தப்படுவதற்கு முன் தெளிவுபடுத்தப்படும்.", "Acceptance criteria": "ஏற்றுக்கொள்ளும் அளவுகோல்கள்", @@ -8630,6 +8643,7 @@ "Avatar uploaded": "அவதார் பதிவேற்றப்பட்டது", "Avatar, name, and a compact working brief.": "அவதார், பெயர் மற்றும் ஒரு சிறிய வேலை சுருக்கம்.", "Avoid triggers": "தூண்டுதல்களைத் தவிர்க்கவும்", + "Awaiting acceptance": "ஏற்றுக்கொள்ள காத்திருக்கிறது", "Awaiting confirmation": "உறுதிப்படுத்தலுக்காக காத்திருக்கிறது", "Awaiting enable": "செயல்படுத்த காத்திருக்கிறது", "Awaiting merge approval": "இணைப்பு ஒப்புதலுக்காகக் காத்திருக்கிறது", @@ -8819,6 +8833,7 @@ "cancelling": "ரத்துசெய்கிறது", "Cancelling": "ரத்துசெய்கிறது", "Candidate approved for draft": "வரைவுக்கு வேட்பாளர் அங்கீகரிக்கப்பட்டார்", + "Candidate changed": "வேட்பாளர் மாற்றப்பட்டார்", "Candidate changed since verification": "சரிபார்ப்புக்குப் பிறகு வேட்பாளர் மாற்றப்பட்டார்", "Candidate cluster is not bound to a channel.": "கேண்டிடேட் கிளஸ்டர் ஒரு சேனலுடன் பிணைக்கப்படவில்லை.", "Candidate Clusters": "வேட்பாளர் கிளஸ்டர்கள்", @@ -9556,6 +9571,7 @@ "Could not start this scene.": "இந்தக் காட்சியைத் தொடங்க முடியவில்லை.", "Could not start this workflow test.": "இந்த பணிப்பாய்வு சோதனையைத் தொடங்க முடியவில்லை.", "Could not switch projects. Showing the last loaded project.": "திட்டப்பணிகளை மாற்ற முடியவில்லை. கடைசியாக ஏற்றப்பட்ட திட்டத்தைக் காட்டுகிறது.", + "Could not update handoff": "கைபேசியைப் புதுப்பிக்க முடியவில்லை", "Could not update the default model. Try again.": "இயல்பு மாதிரியைப் புதுப்பிக்க முடியவில்லை. மீண்டும் முயற்சிக்கவும்.", "Council actions": "சபை நடவடிக்கைகள்", "Council boundaries": "சபை எல்லைகள்", @@ -11556,6 +11572,7 @@ "minutes": "நிமிடங்கள்", "missing": "காணவில்லை", "Missing": "காணவில்லை", + "Missing artifact": "கலைப்பொருள் காணவில்லை", "Missing dependency": "Missing dependency", "Missing fields": "புலங்கள் காணவில்லை", "Missing key": "சாவி இல்லை", @@ -13137,6 +13154,7 @@ "Requested URL": "கோரப்பட்டது URL", "Required": "தேவை", "Required before approving high-risk requests": "அதிக ஆபத்துள்ள கோரிக்கைகளை அங்கீகரிக்கும் முன் தேவை", + "Required check incomplete": "தேவையான சரிபார்ப்பு முழுமையடையவில்லை", "Required checks": "தேவையான காசோலைகள்", "Required for assigned teammates": "ஒதுக்கப்பட்ட அணியினருக்குத் தேவை", "Required input": "தேவையான உள்ளீடு", @@ -13260,8 +13278,11 @@ "Retry upload": "மீண்டும் பதிவேற்ற முயற்சிக்கவும்", "Retryable": "மீண்டும் முயற்சி செய்யக்கூடியது", "Retrying automatically...": "தானாக மீண்டும் முயற்சிக்கிறது...", + "Return handoff": "திரும்ப ஒப்படைப்பு", + "Return reason": "திரும்புவதற்கான காரணம்", "Return to an unlocked interactive Windows desktop, restart Ling if needed, then check again.": "திறக்கப்பட்ட இன்டராக்டிவ் விண்டோஸ் டெஸ்க்டாப்பிற்குத் திரும்பி, தேவைப்பட்டால் Ling ஐ மறுதொடக்கம் செய்து, மீண்டும் சரிபார்க்கவும்.", "Return to implementation mode": "செயல்படுத்தல் முறைக்குத் திரும்பு", + "Returned for repair": "பழுதுபார்ப்பதற்காக திரும்பினார்", "Reusable": "மீண்டும் பயன்படுத்தக்கூடியது", "Reuse images already saved in this media project.": "இந்த மீடியா திட்டத்தில் ஏற்கனவே சேமிக்கப்பட்ட படங்களை மீண்டும் பயன்படுத்தவும்.", "Reuse settings": "அமைப்புகளை மீண்டும் பயன்படுத்தவும்", @@ -13652,6 +13673,7 @@ "Schema, checksums, and package metadata": "ஸ்கீமா, செக்சம்கள் மற்றும் தொகுப்பு மெட்டாடேட்டா", "Scope": "நோக்கம்", "Scope ID": "நோக்கம் ID", + "Scope unavailable": "நோக்கம் கிடைக்கவில்லை", "Screen capture and input stop. Ling never interacts with the lock screen, login window, password fields, or secure desktop.": "திரை பிடிப்பு மற்றும் உள்ளீடு நிறுத்தம். Ling பூட்டுத் திரை, உள்நுழைவு சாளரம், கடவுச்சொல் புலங்கள் அல்லது பாதுகாப்பான டெஸ்க்டாப் ஆகியவற்றுடன் ஒருபோதும் தொடர்பு கொள்ளாது.", "Screen Recording": "திரைப் பதிவு", "Scripts can contact external services. Only run documents you trust.": "Scripts can contact external services. Only run documents you trust.", @@ -15000,6 +15022,7 @@ "Uploading avatar": "அவதாரத்தைப் பதிவேற்றுகிறது", "Uploading...": "பதிவேற்றுகிறது...", "Upstream": "அப்ஸ்ட்ரீம்", + "Upstream result unconfirmed": "அப்ஸ்ட்ரீம் முடிவு உறுதிப்படுத்தப்படவில்லை", "Upstream version": "அப்ஸ்ட்ரீம் பதிப்பு", "urgent": "அவசரம்", "URL image edit": "URL படத் திருத்தம்", @@ -15196,6 +15219,7 @@ "Waiting for runner activity...": "ரன்னர் நடவடிக்கைக்காக காத்திருக்கிறது...", "Waiting for runner events...": "ரன்னர் நிகழ்வுகளுக்காக காத்திருக்கிறது...", "Waiting for sign-in": "உள்நுழைவுக்காகக் காத்திருக்கிறது", + "Waiting for source": "ஆதாரத்திற்காக காத்திருக்கிறது", "Waiting for system confirmation and Host readback...": "கணினி உறுதிப்படுத்தல் மற்றும் ஹோஸ்ட் ரீட்பேக்கிற்காக காத்திருக்கிறது...", "waiting for user input": "பயனர் உள்ளீட்டிற்காக காத்திருக்கிறது", "Waiting for votes": "வாக்குகளுக்காக காத்திருக்கிறது", diff --git a/packages/localization/catalogs/te-IN.json b/packages/localization/catalogs/te-IN.json index 284238550..e5e09390d 100644 --- a/packages/localization/catalogs/te-IN.json +++ b/packages/localization/catalogs/te-IN.json @@ -1,6 +1,6 @@ { "locale": "te-IN", - "sourceRevision": "e134cc889637523423524b121cf71dcb37afdd3d7daf48eaea975d1c39785b2e", + "sourceRevision": "95b7d5d6546abac9c1f3ec3e54efe7bff99c84252c464896ecb9bf2245f66dfd", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -343,6 +343,7 @@ "A skill with the same identity already exists.": "66dd592d63333b2f2738e59f82a3866d9a6db17154a2cc2a752727f9a40998d1", "Abstain": "bf92ab42d052ce917d87cccce310e4351900347095f57947b3d08c1b1ff8bcf3", "Accept": "89713b9c9c1b8f659c9f49db25e4a47886dd673fee248c3f650391f09a759cef", + "Accept handoff": "13e3dc2abccf1296c34099b2080efb8c78ad82067436ff2039024f22ed8cc2e9", "Acceptance": "f190a5cb3aff17b0ee84f6ee258333d63a9cc71aa66c2e1788ebc3ae24a89b10", "Acceptance checks will be clarified before execution.": "ffd59db22fb4d3abb3c9cc67c351c818e1732dfca2d6cd18ae361a711fa4bb72", "Acceptance criteria": "d47a36f4f055810755db08b8d52e479baa4bb7a7a1f6449f71fa1ad5c20495ef", @@ -894,6 +895,7 @@ "Avatar uploaded": "d0d5a01f3f30fd933994a5950ddae3d14384d2c850c05deb50532b65aa6593ba", "Avatar, name, and a compact working brief.": "8d3706d4928090efbf7eca6683e3357f4f92732bc8be64c50dc8af8620a256c1", "Avoid triggers": "1419db0b6ddbd1f3a1632043da73529ecbcb0aef9183fd7d78e12df2942444de", + "Awaiting acceptance": "1dc7bfd9c54d73f22b4a9bdca5f741d5067a673b7f99d77e85367f6c8f049f85", "Awaiting confirmation": "d0ae0b38eac639b98f6a9b793a7add708bedbc6156963e3abc00453b235b2f3d", "Awaiting enable": "2a6b618d273346e8198806aa0d934a4bd6f5bf8b29d0780076df974ca93bf548", "Awaiting merge approval": "21837cdd561270cefc146079172511177736bb9091e9fb50d93bb072f271ecb0", @@ -1083,6 +1085,7 @@ "cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Candidate approved for draft": "59a57b9b459b3215e76b651f73f6521bc1bd71fa66bb52e046368a559db6632b", + "Candidate changed": "ca07c050cd47ab4f4d2f2fb6c60110b738af5b951a9ab708c36879365ec4532e", "Candidate changed since verification": "a2808e03661077a04403dab2204b7ce8d78310c296600bd03c5766a754f216a6", "Candidate cluster is not bound to a channel.": "6066a4e8725d065a7c2b8d2c8974a60c41c0a94124deeabd972f620ddd815786", "Candidate Clusters": "b617f8ce5325fa8984c324816b08d3a26c05dac3c3276bcc4f4ab7196222dbe4", @@ -1820,6 +1823,7 @@ "Could not start this scene.": "acb6aa181a8b842f1a8fc78344dc210cb98a45ccb6cf38ebd01beb65fe7fa27d", "Could not start this workflow test.": "7fe6f22a12127a9d74069d195a2513038cb2ff035acc4433d41e31006445e46e", "Could not switch projects. Showing the last loaded project.": "1a284203a5fd7f9d39c625017fde0d1c88180e3d2fa62b07aa7c9eb64a2e8aa6", + "Could not update handoff": "b6b7ff312171612e082d24ec92c854155d95fa6177a25cb0ac10f44e2c6110e2", "Could not update the default model. Try again.": "c87a00ab8ffb8c8c60209acf9b5cb10295a2a5e93c3e6f72dd8b2b4c316bdc16", "Council actions": "79763aae8f6334c6e29273106f3509b76114439dd686c9fa32753bca265eee32", "Council boundaries": "b4d6713050d140a9102817793dcb99d64565ee0d33d364b71f5d4d2afd234baf", @@ -3820,6 +3824,7 @@ "minutes": "90e63d85fa1ab2c8ed65222f3ebd794b1e524b4b7cf84bec451542d0451b2985", "missing": "ffa63583dfa6706b87d284b86b0d693a161e4840aad2c5cf6b5d27c3b9621f7d", "Missing": "6be36ca49ee85210c5d1ad9c377d90a9859c66d889110a2a5b0dccd390d12e20", + "Missing artifact": "e936c2df4de783be206107e353054e33ebba1c9988085200c260c7a6b8f8fc73", "Missing dependency": "5915d1e15e283f09695ad4b96ced9625bbd68aab747dc778f37aada0a7489b5c", "Missing fields": "69121d3f63d5a27ab7ce484854c065ce87e7022dc5fdfee9d778ab02515542fc", "Missing key": "0c8a17a63a322df1c40693b8469227cf5426b024673da9065f42c6cbb7c58370", @@ -5401,6 +5406,7 @@ "Requested URL": "8ae37b38fe2e415c8c641c3f2b6e9b42a11245cc8749a51a247cf0464b4c7faf", "Required": "4850b174b713d88cfc63de107830d5388929020e78abc91fc19bba7a6821625f", "Required before approving high-risk requests": "3cb612a5f43f4acbf5a6066a5da559bce858b50cdab2c2f6943bf4a05de1310a", + "Required check incomplete": "f64e6dfd1fc8cd1f2139aadf61c6ef43ecaa2ce783b2c712a56d31a574e05741", "Required checks": "f5a021846bd1a50002c0ea940f30cc97c285a118c62ff95af5c2f538584a7e26", "Required for assigned teammates": "4732aa544a8d93b886e6bcbbcc5c3314af692f8a8a812efd4844cd3589b7b63a", "Required input": "fafaaf99b5a6af521026448890a9dacaf4d47053804a34be7cdf364e13637181", @@ -5524,8 +5530,11 @@ "Retry upload": "731dc6e3f07ab1b090e925be766dd01d8e4aed2f0ad2cef600bf157bd7764500", "Retryable": "c282bd362abaadb6a38a4fdb268df44325f8bfde40f719b77fdd690180c51889", "Retrying automatically...": "220837f6132382f3e8d4fb676f31aab3dc9fabc34b8f26c2e4ced9b83ebce4ec", + "Return handoff": "1ae47e9a67b5866c28ccd52c2040500610b795d917cc6620a444c170ded79836", + "Return reason": "79f91549d760515b430db20e8f2f0c766e417826dfea15029dca20f6eb9865ac", "Return to an unlocked interactive Windows desktop, restart Ling if needed, then check again.": "bccd46e406f4d428d83a9dd510df581b52e5c28c51da4d357e3e66c21740ee0e", "Return to implementation mode": "36435baabf6c6acc0666fba73f68609f9a41d17389ea216a99f41b5036e8b6ef", + "Returned for repair": "07abb2b9ba19b479a5126883271bb99fa47e239dffb3337fb13bbe2778654158", "Reusable": "8ded2b384940a83eb986da575b9efa40f1b03fd1d626bd91964cbb11502e0b42", "Reuse images already saved in this media project.": "3c3dd902fab18f841a51942e3a4e92a93c8d39ddd8b48ae9ee017982a26fa1c1", "Reuse settings": "17507cf7d05b478d392e9aa85d9c60046c0e2a185959546ac0864a89b95ec744", @@ -5916,6 +5925,7 @@ "Schema, checksums, and package metadata": "d91ffc3c0cdd2c26d37ba9cf60de0a718343a3969303718321092f0367a68808", "Scope": "b073f6c68ef8721107fd9815b19b2c35ec111d526b75c2123d1111ba64424000", "Scope ID": "4a201ef6cbd70a0728fc5c62eb87fd73ac56e470c853a3112ebf27617e49ff76", + "Scope unavailable": "38a32037c55100c3ad97878ca4e361a734a3422fb35bdbaeacebf4babb16cdf3", "Screen capture and input stop. Ling never interacts with the lock screen, login window, password fields, or secure desktop.": "cece9f092190c9e9e4c9d54f7da59256e922a56556c843c4e2b44fb1a67b0c5f", "Screen Recording": "bc3c742893dc7aff9c88fad0aae3f6749a6679a45cbafb0981f0e2ddaed5c49c", "Scripts can contact external services. Only run documents you trust.": "aa3560983d2f6c2656f1a9329fcb9434fa520d6f64bcccf0e6ae91c82ddbb0dd", @@ -7264,6 +7274,7 @@ "Uploading avatar": "995b81efc53e808131bd98d546fb3fa493a44b9b43b752237e590bf5a2e487c8", "Uploading...": "72cb29c90ccd8361ee82d02fabe81a3f01605c7b8fea4c9996fc01d84e3fbb48", "Upstream": "94adc696fd24e9fd67e83ba256a9f33bf1d7191d4a5e38ee8c69597cd89e4777", + "Upstream result unconfirmed": "d345a9ef65cf22ec93d4a7a0457157bcdc8696a90ea8e72690d04b25d7447d94", "Upstream version": "7927b36324919e81ae646c1455b608aadcecdedb285d9985d63d80572c3d5214", "urgent": "f9d37c23fcc0f03c15a86aba71dce01dd0baa7a1568180e60c2347a5863151bc", "URL image edit": "444b0006116b72fd13097e57758caf2edaa14133af89617d79ed238d71f518ff", @@ -7460,6 +7471,7 @@ "Waiting for runner activity...": "d0e7a1fd3763c4062fe8ac59255b9281effe77d2fd1d79f9ae2498e56ac3b96f", "Waiting for runner events...": "dc60b71d9ccb374ef6e53cc9496c05fd15dcd7b4955ec8ae7603cf360af7e85e", "Waiting for sign-in": "749a343a3a25c1df679ee6d6e74abb72e08ef956bfa15434407e61934dc054c9", + "Waiting for source": "8ac1608b4d56ce4dcc84a6d489fb055d7e9281efa150baa1fd5c2be7f2dd220b", "Waiting for system confirmation and Host readback...": "952e73792f0715e2d1f30ef0b0c03c4353cd9ab96caa71856bbce7dc41e2d161", "waiting for user input": "f43ef097687b1d8c8800577eefa3f7e10d0c82236cd0017f983d131e8e673174", "Waiting for votes": "bbb50edc12d1ce791069a8e84ca6e73a255b796306d32cdc1414987b986e172f", @@ -8079,6 +8091,7 @@ "A skill with the same identity already exists.": "అదే గుర్తింపు ఉన్న నైపుణ్యం ఇప్పటికే ఉంది.", "Abstain": "మానుకోండి", "Accept": "అంగీకరించు", + "Accept handoff": "హ్యాండ్‌ఆఫ్‌ని అంగీకరించండి", "Acceptance": "అంగీకారం", "Acceptance checks will be clarified before execution.": "అమలుకు ముందు అంగీకార తనిఖీలు స్పష్టం చేయబడతాయి.", "Acceptance criteria": "అంగీకార ప్రమాణాలు", @@ -8630,6 +8643,7 @@ "Avatar uploaded": "అవతార్ అప్‌లోడ్ చేయబడింది", "Avatar, name, and a compact working brief.": "అవతార్, పేరు మరియు కాంపాక్ట్ వర్కింగ్ బ్రీఫ్.", "Avoid triggers": "ట్రిగ్గర్‌లను నివారించండి", + "Awaiting acceptance": "అంగీకారం కోసం వేచి ఉంది", "Awaiting confirmation": "నిర్ధారణ కోసం వేచి ఉంది", "Awaiting enable": "ఎనేబుల్ కోసం వేచి ఉంది", "Awaiting merge approval": "విలీనం ఆమోదం కోసం వేచి ఉంది", @@ -8819,6 +8833,7 @@ "cancelling": "రద్దు చేస్తోంది", "Cancelling": "రద్దు చేస్తోంది", "Candidate approved for draft": "ముసాయిదా కోసం అభ్యర్థి ఆమోదించబడ్డారు", + "Candidate changed": "అభ్యర్థి మారారు", "Candidate changed since verification": "ధృవీకరణ తర్వాత అభ్యర్థి మారారు", "Candidate cluster is not bound to a channel.": "అభ్యర్థి క్లస్టర్ ఛానెల్‌కు కట్టుబడి ఉండదు.", "Candidate Clusters": "అభ్యర్థుల క్లస్టర్లు", @@ -9556,6 +9571,7 @@ "Could not start this scene.": "ఈ సన్నివేశాన్ని ప్రారంభించడం సాధ్యపడలేదు.", "Could not start this workflow test.": "ఈ వర్క్‌ఫ్లో పరీక్షను ప్రారంభించడం సాధ్యపడలేదు.", "Could not switch projects. Showing the last loaded project.": "ప్రాజెక్ట్‌లను మార్చడం సాధ్యపడలేదు. చివరిగా లోడ్ చేయబడిన ప్రాజెక్ట్‌ని చూపుతోంది.", + "Could not update handoff": "హ్యాండ్‌ఆఫ్‌ని అప్‌డేట్ చేయడం సాధ్యపడలేదు", "Could not update the default model. Try again.": "డిఫాల్ట్ మోడల్‌ను అప్‌డేట్ చేయడం సాధ్యపడలేదు. మళ్లీ ప్రయత్నించండి.", "Council actions": "కౌన్సిల్ చర్యలు", "Council boundaries": "కౌన్సిల్ సరిహద్దులు", @@ -11556,6 +11572,7 @@ "minutes": "నిమిషాలు", "missing": "లేదు", "Missing": "తప్పిపోయింది", + "Missing artifact": "కళాఖండం లేదు", "Missing dependency": "Missing dependency", "Missing fields": "లేని ఫీల్డ్‌లు", "Missing key": "కీ లేదు", @@ -13137,6 +13154,7 @@ "Requested URL": "అభ్యర్థించబడింది URL", "Required": "అవసరం", "Required before approving high-risk requests": "అధిక-ప్రమాద అభ్యర్థనలను ఆమోదించడానికి ముందు అవసరం", + "Required check incomplete": "అవసరమైన తనిఖీ అసంపూర్తిగా ఉంది", "Required checks": "అవసరమైన తనిఖీలు", "Required for assigned teammates": "కేటాయించిన సహచరులకు అవసరం", "Required input": "అవసరమైన ఇన్పుట్", @@ -13260,8 +13278,11 @@ "Retry upload": "అప్‌లోడ్ చేయడానికి మళ్లీ ప్రయత్నించండి", "Retryable": "మళ్లీ ప్రయత్నించవచ్చు", "Retrying automatically...": "స్వయంచాలకంగా మళ్లీ ప్రయత్నిస్తోంది...", + "Return handoff": "రిటర్న్ హ్యాండ్‌ఆఫ్", + "Return reason": "తిరిగి రావడానికి కారణం", "Return to an unlocked interactive Windows desktop, restart Ling if needed, then check again.": "అన్‌లాక్ చేయబడిన ఇంటరాక్టివ్ విండోస్ డెస్క్‌టాప్‌కి తిరిగి వెళ్లండి, అవసరమైతే Lingని పునఃప్రారంభించి, ఆపై మళ్లీ తనిఖీ చేయండి.", "Return to implementation mode": "అమలు మోడ్‌కి తిరిగి వెళ్ళు", + "Returned for repair": "మరమ్మతు కోసం తిరిగి వచ్చారు", "Reusable": "పునర్వినియోగపరచదగినది", "Reuse images already saved in this media project.": "ఈ మీడియా ప్రాజెక్ట్‌లో ఇప్పటికే సేవ్ చేయబడిన చిత్రాలను మళ్లీ ఉపయోగించుకోండి.", "Reuse settings": "సెట్టింగ్‌లను మళ్లీ ఉపయోగించండి", @@ -13652,6 +13673,7 @@ "Schema, checksums, and package metadata": "స్కీమా, చెక్‌సమ్‌లు మరియు ప్యాకేజీ మెటాడేటా", "Scope": "పరిధి", "Scope ID": "పరిధి ID", + "Scope unavailable": "స్కోప్ అందుబాటులో లేదు", "Screen capture and input stop. Ling never interacts with the lock screen, login window, password fields, or secure desktop.": "స్క్రీన్ క్యాప్చర్ మరియు ఇన్‌పుట్ స్టాప్. Ling లాక్ స్క్రీన్, లాగిన్ విండో, పాస్‌వర్డ్ ఫీల్డ్‌లు లేదా సురక్షిత డెస్క్‌టాప్‌తో ఎప్పుడూ పరస్పర చర్య చేయదు.", "Screen Recording": "స్క్రీన్ రికార్డింగ్", "Scripts can contact external services. Only run documents you trust.": "Scripts can contact external services. Only run documents you trust.", @@ -15000,6 +15022,7 @@ "Uploading avatar": "అవతార్‌ని అప్‌లోడ్ చేస్తోంది", "Uploading...": "అప్‌లోడ్ చేస్తోంది...", "Upstream": "అప్‌స్ట్రీమ్", + "Upstream result unconfirmed": "అప్‌స్ట్రీమ్ ఫలితం నిర్ధారించబడలేదు", "Upstream version": "అప్‌స్ట్రీమ్ వెర్షన్", "urgent": "అత్యవసరము", "URL image edit": "URL చిత్రం సవరణ", @@ -15196,6 +15219,7 @@ "Waiting for runner activity...": "రన్నర్ కార్యాచరణ కోసం వేచి ఉంది...", "Waiting for runner events...": "రన్నర్ ఈవెంట్‌ల కోసం వేచి ఉంది...", "Waiting for sign-in": "సైన్-ఇన్ కోసం వేచి ఉంది", + "Waiting for source": "మూలం కోసం వేచి ఉంది", "Waiting for system confirmation and Host readback...": "సిస్టమ్ నిర్ధారణ మరియు హోస్ట్ రీడ్‌బ్యాక్ కోసం వేచి ఉంది...", "waiting for user input": "వినియోగదారు ఇన్‌పుట్ కోసం వేచి ఉంది", "Waiting for votes": "ఓట్ల కోసం ఎదురు చూస్తున్నారు", diff --git a/packages/localization/catalogs/th-TH.json b/packages/localization/catalogs/th-TH.json index 9605e598f..182780f9c 100644 --- a/packages/localization/catalogs/th-TH.json +++ b/packages/localization/catalogs/th-TH.json @@ -1,6 +1,6 @@ { "locale": "th-TH", - "sourceRevision": "e134cc889637523423524b121cf71dcb37afdd3d7daf48eaea975d1c39785b2e", + "sourceRevision": "95b7d5d6546abac9c1f3ec3e54efe7bff99c84252c464896ecb9bf2245f66dfd", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -343,6 +343,7 @@ "A skill with the same identity already exists.": "66dd592d63333b2f2738e59f82a3866d9a6db17154a2cc2a752727f9a40998d1", "Abstain": "bf92ab42d052ce917d87cccce310e4351900347095f57947b3d08c1b1ff8bcf3", "Accept": "89713b9c9c1b8f659c9f49db25e4a47886dd673fee248c3f650391f09a759cef", + "Accept handoff": "13e3dc2abccf1296c34099b2080efb8c78ad82067436ff2039024f22ed8cc2e9", "Acceptance": "f190a5cb3aff17b0ee84f6ee258333d63a9cc71aa66c2e1788ebc3ae24a89b10", "Acceptance checks will be clarified before execution.": "ffd59db22fb4d3abb3c9cc67c351c818e1732dfca2d6cd18ae361a711fa4bb72", "Acceptance criteria": "d47a36f4f055810755db08b8d52e479baa4bb7a7a1f6449f71fa1ad5c20495ef", @@ -894,6 +895,7 @@ "Avatar uploaded": "d0d5a01f3f30fd933994a5950ddae3d14384d2c850c05deb50532b65aa6593ba", "Avatar, name, and a compact working brief.": "8d3706d4928090efbf7eca6683e3357f4f92732bc8be64c50dc8af8620a256c1", "Avoid triggers": "1419db0b6ddbd1f3a1632043da73529ecbcb0aef9183fd7d78e12df2942444de", + "Awaiting acceptance": "1dc7bfd9c54d73f22b4a9bdca5f741d5067a673b7f99d77e85367f6c8f049f85", "Awaiting confirmation": "d0ae0b38eac639b98f6a9b793a7add708bedbc6156963e3abc00453b235b2f3d", "Awaiting enable": "2a6b618d273346e8198806aa0d934a4bd6f5bf8b29d0780076df974ca93bf548", "Awaiting merge approval": "21837cdd561270cefc146079172511177736bb9091e9fb50d93bb072f271ecb0", @@ -1083,6 +1085,7 @@ "cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Candidate approved for draft": "59a57b9b459b3215e76b651f73f6521bc1bd71fa66bb52e046368a559db6632b", + "Candidate changed": "ca07c050cd47ab4f4d2f2fb6c60110b738af5b951a9ab708c36879365ec4532e", "Candidate changed since verification": "a2808e03661077a04403dab2204b7ce8d78310c296600bd03c5766a754f216a6", "Candidate cluster is not bound to a channel.": "6066a4e8725d065a7c2b8d2c8974a60c41c0a94124deeabd972f620ddd815786", "Candidate Clusters": "b617f8ce5325fa8984c324816b08d3a26c05dac3c3276bcc4f4ab7196222dbe4", @@ -1820,6 +1823,7 @@ "Could not start this scene.": "acb6aa181a8b842f1a8fc78344dc210cb98a45ccb6cf38ebd01beb65fe7fa27d", "Could not start this workflow test.": "7fe6f22a12127a9d74069d195a2513038cb2ff035acc4433d41e31006445e46e", "Could not switch projects. Showing the last loaded project.": "1a284203a5fd7f9d39c625017fde0d1c88180e3d2fa62b07aa7c9eb64a2e8aa6", + "Could not update handoff": "b6b7ff312171612e082d24ec92c854155d95fa6177a25cb0ac10f44e2c6110e2", "Could not update the default model. Try again.": "c87a00ab8ffb8c8c60209acf9b5cb10295a2a5e93c3e6f72dd8b2b4c316bdc16", "Council actions": "79763aae8f6334c6e29273106f3509b76114439dd686c9fa32753bca265eee32", "Council boundaries": "b4d6713050d140a9102817793dcb99d64565ee0d33d364b71f5d4d2afd234baf", @@ -3820,6 +3824,7 @@ "minutes": "90e63d85fa1ab2c8ed65222f3ebd794b1e524b4b7cf84bec451542d0451b2985", "missing": "ffa63583dfa6706b87d284b86b0d693a161e4840aad2c5cf6b5d27c3b9621f7d", "Missing": "6be36ca49ee85210c5d1ad9c377d90a9859c66d889110a2a5b0dccd390d12e20", + "Missing artifact": "e936c2df4de783be206107e353054e33ebba1c9988085200c260c7a6b8f8fc73", "Missing dependency": "5915d1e15e283f09695ad4b96ced9625bbd68aab747dc778f37aada0a7489b5c", "Missing fields": "69121d3f63d5a27ab7ce484854c065ce87e7022dc5fdfee9d778ab02515542fc", "Missing key": "0c8a17a63a322df1c40693b8469227cf5426b024673da9065f42c6cbb7c58370", @@ -5401,6 +5406,7 @@ "Requested URL": "8ae37b38fe2e415c8c641c3f2b6e9b42a11245cc8749a51a247cf0464b4c7faf", "Required": "4850b174b713d88cfc63de107830d5388929020e78abc91fc19bba7a6821625f", "Required before approving high-risk requests": "3cb612a5f43f4acbf5a6066a5da559bce858b50cdab2c2f6943bf4a05de1310a", + "Required check incomplete": "f64e6dfd1fc8cd1f2139aadf61c6ef43ecaa2ce783b2c712a56d31a574e05741", "Required checks": "f5a021846bd1a50002c0ea940f30cc97c285a118c62ff95af5c2f538584a7e26", "Required for assigned teammates": "4732aa544a8d93b886e6bcbbcc5c3314af692f8a8a812efd4844cd3589b7b63a", "Required input": "fafaaf99b5a6af521026448890a9dacaf4d47053804a34be7cdf364e13637181", @@ -5524,8 +5530,11 @@ "Retry upload": "731dc6e3f07ab1b090e925be766dd01d8e4aed2f0ad2cef600bf157bd7764500", "Retryable": "c282bd362abaadb6a38a4fdb268df44325f8bfde40f719b77fdd690180c51889", "Retrying automatically...": "220837f6132382f3e8d4fb676f31aab3dc9fabc34b8f26c2e4ced9b83ebce4ec", + "Return handoff": "1ae47e9a67b5866c28ccd52c2040500610b795d917cc6620a444c170ded79836", + "Return reason": "79f91549d760515b430db20e8f2f0c766e417826dfea15029dca20f6eb9865ac", "Return to an unlocked interactive Windows desktop, restart Ling if needed, then check again.": "bccd46e406f4d428d83a9dd510df581b52e5c28c51da4d357e3e66c21740ee0e", "Return to implementation mode": "36435baabf6c6acc0666fba73f68609f9a41d17389ea216a99f41b5036e8b6ef", + "Returned for repair": "07abb2b9ba19b479a5126883271bb99fa47e239dffb3337fb13bbe2778654158", "Reusable": "8ded2b384940a83eb986da575b9efa40f1b03fd1d626bd91964cbb11502e0b42", "Reuse images already saved in this media project.": "3c3dd902fab18f841a51942e3a4e92a93c8d39ddd8b48ae9ee017982a26fa1c1", "Reuse settings": "17507cf7d05b478d392e9aa85d9c60046c0e2a185959546ac0864a89b95ec744", @@ -5916,6 +5925,7 @@ "Schema, checksums, and package metadata": "d91ffc3c0cdd2c26d37ba9cf60de0a718343a3969303718321092f0367a68808", "Scope": "b073f6c68ef8721107fd9815b19b2c35ec111d526b75c2123d1111ba64424000", "Scope ID": "4a201ef6cbd70a0728fc5c62eb87fd73ac56e470c853a3112ebf27617e49ff76", + "Scope unavailable": "38a32037c55100c3ad97878ca4e361a734a3422fb35bdbaeacebf4babb16cdf3", "Screen capture and input stop. Ling never interacts with the lock screen, login window, password fields, or secure desktop.": "cece9f092190c9e9e4c9d54f7da59256e922a56556c843c4e2b44fb1a67b0c5f", "Screen Recording": "bc3c742893dc7aff9c88fad0aae3f6749a6679a45cbafb0981f0e2ddaed5c49c", "Scripts can contact external services. Only run documents you trust.": "aa3560983d2f6c2656f1a9329fcb9434fa520d6f64bcccf0e6ae91c82ddbb0dd", @@ -7264,6 +7274,7 @@ "Uploading avatar": "995b81efc53e808131bd98d546fb3fa493a44b9b43b752237e590bf5a2e487c8", "Uploading...": "72cb29c90ccd8361ee82d02fabe81a3f01605c7b8fea4c9996fc01d84e3fbb48", "Upstream": "94adc696fd24e9fd67e83ba256a9f33bf1d7191d4a5e38ee8c69597cd89e4777", + "Upstream result unconfirmed": "d345a9ef65cf22ec93d4a7a0457157bcdc8696a90ea8e72690d04b25d7447d94", "Upstream version": "7927b36324919e81ae646c1455b608aadcecdedb285d9985d63d80572c3d5214", "urgent": "f9d37c23fcc0f03c15a86aba71dce01dd0baa7a1568180e60c2347a5863151bc", "URL image edit": "444b0006116b72fd13097e57758caf2edaa14133af89617d79ed238d71f518ff", @@ -7460,6 +7471,7 @@ "Waiting for runner activity...": "d0e7a1fd3763c4062fe8ac59255b9281effe77d2fd1d79f9ae2498e56ac3b96f", "Waiting for runner events...": "dc60b71d9ccb374ef6e53cc9496c05fd15dcd7b4955ec8ae7603cf360af7e85e", "Waiting for sign-in": "749a343a3a25c1df679ee6d6e74abb72e08ef956bfa15434407e61934dc054c9", + "Waiting for source": "8ac1608b4d56ce4dcc84a6d489fb055d7e9281efa150baa1fd5c2be7f2dd220b", "Waiting for system confirmation and Host readback...": "952e73792f0715e2d1f30ef0b0c03c4353cd9ab96caa71856bbce7dc41e2d161", "waiting for user input": "f43ef097687b1d8c8800577eefa3f7e10d0c82236cd0017f983d131e8e673174", "Waiting for votes": "bbb50edc12d1ce791069a8e84ca6e73a255b796306d32cdc1414987b986e172f", @@ -8079,6 +8091,7 @@ "A skill with the same identity already exists.": "ทักษะที่มีเอกลักษณ์เดียวกันมีอยู่แล้ว", "Abstain": "งดเว้น", "Accept": "ยอมรับ", + "Accept handoff": "ยอมรับการส่งต่อ", "Acceptance": "การยอมรับ", "Acceptance checks will be clarified before execution.": "การตรวจสอบการยอมรับจะได้รับการชี้แจงก่อนดำเนินการ", "Acceptance criteria": "เกณฑ์การยอมรับ", @@ -8630,6 +8643,7 @@ "Avatar uploaded": "อัปโหลดอวาตาร์แล้ว", "Avatar, name, and a compact working brief.": "อวตาร ชื่อ และบทสรุปการทำงานแบบกระชับ", "Avoid triggers": "หลีกเลี่ยงสิ่งกระตุ้น", + "Awaiting acceptance": "รอการยอมรับ", "Awaiting confirmation": "รอการยืนยัน", "Awaiting enable": "กำลังรอเปิดใช้งาน", "Awaiting merge approval": "รอการอนุมัติการรวม", @@ -8819,6 +8833,7 @@ "cancelling": "กำลังยกเลิก", "Cancelling": "กำลังยกเลิก", "Candidate approved for draft": "ผู้สมัครได้รับการอนุมัติสำหรับร่าง", + "Candidate changed": "ผู้สมัครมีการเปลี่ยนแปลง", "Candidate changed since verification": "ผู้สมัครมีการเปลี่ยนแปลงตั้งแต่การยืนยัน", "Candidate cluster is not bound to a channel.": "คลัสเตอร์ผู้สมัครไม่ได้ผูกไว้กับช่องทาง", "Candidate Clusters": "กลุ่มผู้สมัคร", @@ -9556,6 +9571,7 @@ "Could not start this scene.": "ไม่สามารถเริ่มฉากนี้ได้", "Could not start this workflow test.": "ไม่สามารถเริ่มการทดสอบเวิร์กโฟลว์นี้ได้", "Could not switch projects. Showing the last loaded project.": "ไม่สามารถสลับโครงการได้ กำลังแสดงโปรเจ็กต์ที่โหลดล่าสุด", + "Could not update handoff": "ไม่สามารถอัปเดตแฮนด์ออฟได้", "Could not update the default model. Try again.": "ไม่สามารถอัปเดตโมเดลเริ่มต้นได้ ลองอีกครั้ง", "Council actions": "การกระทำของสภา", "Council boundaries": "ขอบเขตสภา", @@ -11556,6 +11572,7 @@ "minutes": "นาที", "missing": "หายไป", "Missing": "หายไป", + "Missing artifact": "สิ่งประดิษฐ์ที่หายไป", "Missing dependency": "Missing dependency", "Missing fields": "ช่องที่ขาดหายไป", "Missing key": "กุญแจหาย", @@ -13137,6 +13154,7 @@ "Requested URL": "ร้องขอURL", "Required": "ที่จำเป็น", "Required before approving high-risk requests": "จำเป็นก่อนที่จะอนุมัติคำขอที่มีความเสี่ยงสูง", + "Required check incomplete": "การตรวจสอบที่จำเป็นไม่สมบูรณ์", "Required checks": "การตรวจสอบที่จำเป็น", "Required for assigned teammates": "จำเป็นสำหรับเพื่อนร่วมทีมที่ได้รับมอบหมาย", "Required input": "ข้อมูลที่จำเป็น", @@ -13260,8 +13278,11 @@ "Retry upload": "ลองอัปโหลดอีกครั้ง", "Retryable": "ลองใหม่ได้", "Retrying automatically...": "กำลังลองใหม่โดยอัตโนมัติ...", + "Return handoff": "ส่งคืนแฮนด์ออฟ", + "Return reason": "เหตุผลในการคืนสินค้า", "Return to an unlocked interactive Windows desktop, restart Ling if needed, then check again.": "กลับไปที่เดสก์ท็อป Windows แบบโต้ตอบที่ปลดล็อค รีสตาร์ท Ling หากจำเป็น จากนั้นตรวจสอบอีกครั้ง", "Return to implementation mode": "กลับสู่โหมดการใช้งาน", + "Returned for repair": "กลับมาซ่อมแล้ว", "Reusable": "นำกลับมาใช้ใหม่ได้", "Reuse images already saved in this media project.": "นำรูปภาพที่บันทึกไว้แล้วในโครงการสื่อนี้มาใช้ซ้ำ", "Reuse settings": "ใช้การตั้งค่าซ้ำ", @@ -13652,6 +13673,7 @@ "Schema, checksums, and package metadata": "สคีมา เช็คซัม และข้อมูลเมตาของแพ็คเกจ", "Scope": "ขอบเขต", "Scope ID": "ขอบเขต ID", + "Scope unavailable": "ขอบเขตไม่พร้อมใช้งาน", "Screen capture and input stop. Ling never interacts with the lock screen, login window, password fields, or secure desktop.": "การจับภาพหน้าจอและการหยุดอินพุต Ling ไม่เคยโต้ตอบกับหน้าจอล็อค หน้าต่างเข้าสู่ระบบ ช่องรหัสผ่าน หรือเดสก์ท็อปที่ปลอดภัย", "Screen Recording": "การบันทึกหน้าจอ", "Scripts can contact external services. Only run documents you trust.": "Scripts can contact external services. Only run documents you trust.", @@ -15000,6 +15022,7 @@ "Uploading avatar": "กำลังอัพโหลดอวตาร", "Uploading...": "กำลังอัปโหลด...", "Upstream": "ต้นน้ำ", + "Upstream result unconfirmed": "ผลลัพธ์ต้นน้ำไม่ได้รับการยืนยัน", "Upstream version": "รุ่นต้นน้ำ", "urgent": "ด่วน", "URL image edit": "URL แก้ไขรูปภาพ", @@ -15196,6 +15219,7 @@ "Waiting for runner activity...": "รอกิจกรรมนักวิ่ง...", "Waiting for runner events...": "รอกิจกรรมนักวิ่ง...", "Waiting for sign-in": "กำลังรอการลงชื่อเข้าใช้", + "Waiting for source": "รอแหล่งครับ", "Waiting for system confirmation and Host readback...": "กำลังรอการยืนยันระบบและการอ่านโฮสต์...", "waiting for user input": "กำลังรอการป้อนข้อมูลของผู้ใช้", "Waiting for votes": "รอคะแนนเสียงครับ", diff --git a/packages/localization/catalogs/tr-TR.json b/packages/localization/catalogs/tr-TR.json index 2cee734e9..06013590e 100644 --- a/packages/localization/catalogs/tr-TR.json +++ b/packages/localization/catalogs/tr-TR.json @@ -1,6 +1,6 @@ { "locale": "tr-TR", - "sourceRevision": "e134cc889637523423524b121cf71dcb37afdd3d7daf48eaea975d1c39785b2e", + "sourceRevision": "95b7d5d6546abac9c1f3ec3e54efe7bff99c84252c464896ecb9bf2245f66dfd", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -343,6 +343,7 @@ "A skill with the same identity already exists.": "66dd592d63333b2f2738e59f82a3866d9a6db17154a2cc2a752727f9a40998d1", "Abstain": "bf92ab42d052ce917d87cccce310e4351900347095f57947b3d08c1b1ff8bcf3", "Accept": "89713b9c9c1b8f659c9f49db25e4a47886dd673fee248c3f650391f09a759cef", + "Accept handoff": "13e3dc2abccf1296c34099b2080efb8c78ad82067436ff2039024f22ed8cc2e9", "Acceptance": "f190a5cb3aff17b0ee84f6ee258333d63a9cc71aa66c2e1788ebc3ae24a89b10", "Acceptance checks will be clarified before execution.": "ffd59db22fb4d3abb3c9cc67c351c818e1732dfca2d6cd18ae361a711fa4bb72", "Acceptance criteria": "d47a36f4f055810755db08b8d52e479baa4bb7a7a1f6449f71fa1ad5c20495ef", @@ -894,6 +895,7 @@ "Avatar uploaded": "d0d5a01f3f30fd933994a5950ddae3d14384d2c850c05deb50532b65aa6593ba", "Avatar, name, and a compact working brief.": "8d3706d4928090efbf7eca6683e3357f4f92732bc8be64c50dc8af8620a256c1", "Avoid triggers": "1419db0b6ddbd1f3a1632043da73529ecbcb0aef9183fd7d78e12df2942444de", + "Awaiting acceptance": "1dc7bfd9c54d73f22b4a9bdca5f741d5067a673b7f99d77e85367f6c8f049f85", "Awaiting confirmation": "d0ae0b38eac639b98f6a9b793a7add708bedbc6156963e3abc00453b235b2f3d", "Awaiting enable": "2a6b618d273346e8198806aa0d934a4bd6f5bf8b29d0780076df974ca93bf548", "Awaiting merge approval": "21837cdd561270cefc146079172511177736bb9091e9fb50d93bb072f271ecb0", @@ -1083,6 +1085,7 @@ "cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Candidate approved for draft": "59a57b9b459b3215e76b651f73f6521bc1bd71fa66bb52e046368a559db6632b", + "Candidate changed": "ca07c050cd47ab4f4d2f2fb6c60110b738af5b951a9ab708c36879365ec4532e", "Candidate changed since verification": "a2808e03661077a04403dab2204b7ce8d78310c296600bd03c5766a754f216a6", "Candidate cluster is not bound to a channel.": "6066a4e8725d065a7c2b8d2c8974a60c41c0a94124deeabd972f620ddd815786", "Candidate Clusters": "b617f8ce5325fa8984c324816b08d3a26c05dac3c3276bcc4f4ab7196222dbe4", @@ -1820,6 +1823,7 @@ "Could not start this scene.": "acb6aa181a8b842f1a8fc78344dc210cb98a45ccb6cf38ebd01beb65fe7fa27d", "Could not start this workflow test.": "7fe6f22a12127a9d74069d195a2513038cb2ff035acc4433d41e31006445e46e", "Could not switch projects. Showing the last loaded project.": "1a284203a5fd7f9d39c625017fde0d1c88180e3d2fa62b07aa7c9eb64a2e8aa6", + "Could not update handoff": "b6b7ff312171612e082d24ec92c854155d95fa6177a25cb0ac10f44e2c6110e2", "Could not update the default model. Try again.": "c87a00ab8ffb8c8c60209acf9b5cb10295a2a5e93c3e6f72dd8b2b4c316bdc16", "Council actions": "79763aae8f6334c6e29273106f3509b76114439dd686c9fa32753bca265eee32", "Council boundaries": "b4d6713050d140a9102817793dcb99d64565ee0d33d364b71f5d4d2afd234baf", @@ -3820,6 +3824,7 @@ "minutes": "90e63d85fa1ab2c8ed65222f3ebd794b1e524b4b7cf84bec451542d0451b2985", "missing": "ffa63583dfa6706b87d284b86b0d693a161e4840aad2c5cf6b5d27c3b9621f7d", "Missing": "6be36ca49ee85210c5d1ad9c377d90a9859c66d889110a2a5b0dccd390d12e20", + "Missing artifact": "e936c2df4de783be206107e353054e33ebba1c9988085200c260c7a6b8f8fc73", "Missing dependency": "5915d1e15e283f09695ad4b96ced9625bbd68aab747dc778f37aada0a7489b5c", "Missing fields": "69121d3f63d5a27ab7ce484854c065ce87e7022dc5fdfee9d778ab02515542fc", "Missing key": "0c8a17a63a322df1c40693b8469227cf5426b024673da9065f42c6cbb7c58370", @@ -5401,6 +5406,7 @@ "Requested URL": "8ae37b38fe2e415c8c641c3f2b6e9b42a11245cc8749a51a247cf0464b4c7faf", "Required": "4850b174b713d88cfc63de107830d5388929020e78abc91fc19bba7a6821625f", "Required before approving high-risk requests": "3cb612a5f43f4acbf5a6066a5da559bce858b50cdab2c2f6943bf4a05de1310a", + "Required check incomplete": "f64e6dfd1fc8cd1f2139aadf61c6ef43ecaa2ce783b2c712a56d31a574e05741", "Required checks": "f5a021846bd1a50002c0ea940f30cc97c285a118c62ff95af5c2f538584a7e26", "Required for assigned teammates": "4732aa544a8d93b886e6bcbbcc5c3314af692f8a8a812efd4844cd3589b7b63a", "Required input": "fafaaf99b5a6af521026448890a9dacaf4d47053804a34be7cdf364e13637181", @@ -5524,8 +5530,11 @@ "Retry upload": "731dc6e3f07ab1b090e925be766dd01d8e4aed2f0ad2cef600bf157bd7764500", "Retryable": "c282bd362abaadb6a38a4fdb268df44325f8bfde40f719b77fdd690180c51889", "Retrying automatically...": "220837f6132382f3e8d4fb676f31aab3dc9fabc34b8f26c2e4ced9b83ebce4ec", + "Return handoff": "1ae47e9a67b5866c28ccd52c2040500610b795d917cc6620a444c170ded79836", + "Return reason": "79f91549d760515b430db20e8f2f0c766e417826dfea15029dca20f6eb9865ac", "Return to an unlocked interactive Windows desktop, restart Ling if needed, then check again.": "bccd46e406f4d428d83a9dd510df581b52e5c28c51da4d357e3e66c21740ee0e", "Return to implementation mode": "36435baabf6c6acc0666fba73f68609f9a41d17389ea216a99f41b5036e8b6ef", + "Returned for repair": "07abb2b9ba19b479a5126883271bb99fa47e239dffb3337fb13bbe2778654158", "Reusable": "8ded2b384940a83eb986da575b9efa40f1b03fd1d626bd91964cbb11502e0b42", "Reuse images already saved in this media project.": "3c3dd902fab18f841a51942e3a4e92a93c8d39ddd8b48ae9ee017982a26fa1c1", "Reuse settings": "17507cf7d05b478d392e9aa85d9c60046c0e2a185959546ac0864a89b95ec744", @@ -5916,6 +5925,7 @@ "Schema, checksums, and package metadata": "d91ffc3c0cdd2c26d37ba9cf60de0a718343a3969303718321092f0367a68808", "Scope": "b073f6c68ef8721107fd9815b19b2c35ec111d526b75c2123d1111ba64424000", "Scope ID": "4a201ef6cbd70a0728fc5c62eb87fd73ac56e470c853a3112ebf27617e49ff76", + "Scope unavailable": "38a32037c55100c3ad97878ca4e361a734a3422fb35bdbaeacebf4babb16cdf3", "Screen capture and input stop. Ling never interacts with the lock screen, login window, password fields, or secure desktop.": "cece9f092190c9e9e4c9d54f7da59256e922a56556c843c4e2b44fb1a67b0c5f", "Screen Recording": "bc3c742893dc7aff9c88fad0aae3f6749a6679a45cbafb0981f0e2ddaed5c49c", "Scripts can contact external services. Only run documents you trust.": "aa3560983d2f6c2656f1a9329fcb9434fa520d6f64bcccf0e6ae91c82ddbb0dd", @@ -7264,6 +7274,7 @@ "Uploading avatar": "995b81efc53e808131bd98d546fb3fa493a44b9b43b752237e590bf5a2e487c8", "Uploading...": "72cb29c90ccd8361ee82d02fabe81a3f01605c7b8fea4c9996fc01d84e3fbb48", "Upstream": "94adc696fd24e9fd67e83ba256a9f33bf1d7191d4a5e38ee8c69597cd89e4777", + "Upstream result unconfirmed": "d345a9ef65cf22ec93d4a7a0457157bcdc8696a90ea8e72690d04b25d7447d94", "Upstream version": "7927b36324919e81ae646c1455b608aadcecdedb285d9985d63d80572c3d5214", "urgent": "f9d37c23fcc0f03c15a86aba71dce01dd0baa7a1568180e60c2347a5863151bc", "URL image edit": "444b0006116b72fd13097e57758caf2edaa14133af89617d79ed238d71f518ff", @@ -7460,6 +7471,7 @@ "Waiting for runner activity...": "d0e7a1fd3763c4062fe8ac59255b9281effe77d2fd1d79f9ae2498e56ac3b96f", "Waiting for runner events...": "dc60b71d9ccb374ef6e53cc9496c05fd15dcd7b4955ec8ae7603cf360af7e85e", "Waiting for sign-in": "749a343a3a25c1df679ee6d6e74abb72e08ef956bfa15434407e61934dc054c9", + "Waiting for source": "8ac1608b4d56ce4dcc84a6d489fb055d7e9281efa150baa1fd5c2be7f2dd220b", "Waiting for system confirmation and Host readback...": "952e73792f0715e2d1f30ef0b0c03c4353cd9ab96caa71856bbce7dc41e2d161", "waiting for user input": "f43ef097687b1d8c8800577eefa3f7e10d0c82236cd0017f983d131e8e673174", "Waiting for votes": "bbb50edc12d1ce791069a8e84ca6e73a255b796306d32cdc1414987b986e172f", @@ -8079,6 +8091,7 @@ "A skill with the same identity already exists.": "Aynı kimliğe sahip bir beceri zaten mevcut.", "Abstain": "Çekimser", "Accept": "Kabul etmek", + "Accept handoff": "Aktarımı kabul et", "Acceptance": "Kabul", "Acceptance checks will be clarified before execution.": "Kabul kontrolleri uygulama öncesinde netleştirilecektir.", "Acceptance criteria": "Kabul kriterleri", @@ -8630,6 +8643,7 @@ "Avatar uploaded": "Avatar yüklendi", "Avatar, name, and a compact working brief.": "Avatar, isim ve kısa bir çalışma özeti.", "Avoid triggers": "Tetikleyicilerden kaçının", + "Awaiting acceptance": "Kabul bekleniyor", "Awaiting confirmation": "Onay bekleniyor", "Awaiting enable": "Etkinleştirme bekleniyor", "Awaiting merge approval": "Birleştirme onayı bekleniyor", @@ -8819,6 +8833,7 @@ "cancelling": "İptal", "Cancelling": "İptal", "Candidate approved for draft": "Aday taslak için onaylandı", + "Candidate changed": "Aday değişti", "Candidate changed since verification": "Doğrulamadan bu yana aday değişti", "Candidate cluster is not bound to a channel.": "Aday kümesi bir kanala bağlı değildir.", "Candidate Clusters": "Aday Kümeleri", @@ -9556,6 +9571,7 @@ "Could not start this scene.": "Bu sahne başlatılamadı.", "Could not start this workflow test.": "Bu iş akışı testi başlatılamadı.", "Could not switch projects. Showing the last loaded project.": "Projeler değiştirilemedi. Son yüklenen proje gösteriliyor.", + "Could not update handoff": "Devir güncellenemedi", "Could not update the default model. Try again.": "Varsayılan model güncellenemedi. Tekrar deneyin.", "Council actions": "Konsey eylemleri", "Council boundaries": "Konsey sınırları", @@ -11556,6 +11572,7 @@ "minutes": "dakika", "missing": "eksik", "Missing": "Eksik", + "Missing artifact": "Eksik eser", "Missing dependency": "Missing dependency", "Missing fields": "Eksik alanlar", "Missing key": "Eksik anahtar", @@ -13137,6 +13154,7 @@ "Requested URL": "İstendi URL", "Required": "Gerekli", "Required before approving high-risk requests": "Yüksek riskli istekleri onaylamadan önce gereklidir", + "Required check incomplete": "Gerekli kontrol eksik", "Required checks": "Gerekli kontroller", "Required for assigned teammates": "Atanan ekip arkadaşları için gereklidir", "Required input": "Gerekli giriş", @@ -13260,8 +13278,11 @@ "Retry upload": "Yüklemeyi yeniden dene", "Retryable": "Yeniden denenebilir", "Retrying automatically...": "Otomatik olarak yeniden deneniyor...", + "Return handoff": "İade devri", + "Return reason": "İade nedeni", "Return to an unlocked interactive Windows desktop, restart Ling if needed, then check again.": "Kilitlenmemiş etkileşimli Windows masaüstüne dönün, gerekirse Ling'yi yeniden başlatın ve tekrar kontrol edin.", "Return to implementation mode": "Uygulama moduna dön", + "Returned for repair": "Tamir için geri gönderildi", "Reusable": "Yeniden kullanılabilir", "Reuse images already saved in this media project.": "Bu medya projesinde önceden kayıtlı olan görselleri yeniden kullanın.", "Reuse settings": "Ayarları yeniden kullan", @@ -13652,6 +13673,7 @@ "Schema, checksums, and package metadata": "Şema, sağlama toplamları ve paket meta verileri", "Scope": "Kapsam", "Scope ID": "Kapsam ID", + "Scope unavailable": "Kapsam kullanılamıyor", "Screen capture and input stop. Ling never interacts with the lock screen, login window, password fields, or secure desktop.": "Ekran yakalama ve giriş durdurma. Ling hiçbir zaman kilit ekranı, oturum açma penceresi, parola alanları veya güvenli masaüstüyle etkileşime girmez.", "Screen Recording": "Ekran Kaydı", "Scripts can contact external services. Only run documents you trust.": "Scripts can contact external services. Only run documents you trust.", @@ -15000,6 +15022,7 @@ "Uploading avatar": "Avatar yükleniyor", "Uploading...": "Yükleniyor...", "Upstream": "Yukarı akış", + "Upstream result unconfirmed": "Yukarı akış sonucu doğrulanmadı", "Upstream version": "Yukarı akış versiyonu", "urgent": "acil", "URL image edit": "URL resim düzenleme", @@ -15196,6 +15219,7 @@ "Waiting for runner activity...": "Koşucu etkinliği bekleniyor...", "Waiting for runner events...": "Koşucu etkinliklerini bekliyorum...", "Waiting for sign-in": "Oturum açma bekleniyor", + "Waiting for source": "Kaynak bekleniyor", "Waiting for system confirmation and Host readback...": "Sistem onayı ve Ana Bilgisayar geri bildirimi bekleniyor...", "waiting for user input": "kullanıcı girişi bekleniyor", "Waiting for votes": "Oy bekliyorum", diff --git a/packages/localization/catalogs/uk-UA.json b/packages/localization/catalogs/uk-UA.json index fa9450e92..6eac7fdd6 100644 --- a/packages/localization/catalogs/uk-UA.json +++ b/packages/localization/catalogs/uk-UA.json @@ -1,6 +1,6 @@ { "locale": "uk-UA", - "sourceRevision": "e134cc889637523423524b121cf71dcb37afdd3d7daf48eaea975d1c39785b2e", + "sourceRevision": "95b7d5d6546abac9c1f3ec3e54efe7bff99c84252c464896ecb9bf2245f66dfd", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -343,6 +343,7 @@ "A skill with the same identity already exists.": "66dd592d63333b2f2738e59f82a3866d9a6db17154a2cc2a752727f9a40998d1", "Abstain": "bf92ab42d052ce917d87cccce310e4351900347095f57947b3d08c1b1ff8bcf3", "Accept": "89713b9c9c1b8f659c9f49db25e4a47886dd673fee248c3f650391f09a759cef", + "Accept handoff": "13e3dc2abccf1296c34099b2080efb8c78ad82067436ff2039024f22ed8cc2e9", "Acceptance": "f190a5cb3aff17b0ee84f6ee258333d63a9cc71aa66c2e1788ebc3ae24a89b10", "Acceptance checks will be clarified before execution.": "ffd59db22fb4d3abb3c9cc67c351c818e1732dfca2d6cd18ae361a711fa4bb72", "Acceptance criteria": "d47a36f4f055810755db08b8d52e479baa4bb7a7a1f6449f71fa1ad5c20495ef", @@ -894,6 +895,7 @@ "Avatar uploaded": "d0d5a01f3f30fd933994a5950ddae3d14384d2c850c05deb50532b65aa6593ba", "Avatar, name, and a compact working brief.": "8d3706d4928090efbf7eca6683e3357f4f92732bc8be64c50dc8af8620a256c1", "Avoid triggers": "1419db0b6ddbd1f3a1632043da73529ecbcb0aef9183fd7d78e12df2942444de", + "Awaiting acceptance": "1dc7bfd9c54d73f22b4a9bdca5f741d5067a673b7f99d77e85367f6c8f049f85", "Awaiting confirmation": "d0ae0b38eac639b98f6a9b793a7add708bedbc6156963e3abc00453b235b2f3d", "Awaiting enable": "2a6b618d273346e8198806aa0d934a4bd6f5bf8b29d0780076df974ca93bf548", "Awaiting merge approval": "21837cdd561270cefc146079172511177736bb9091e9fb50d93bb072f271ecb0", @@ -1083,6 +1085,7 @@ "cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Candidate approved for draft": "59a57b9b459b3215e76b651f73f6521bc1bd71fa66bb52e046368a559db6632b", + "Candidate changed": "ca07c050cd47ab4f4d2f2fb6c60110b738af5b951a9ab708c36879365ec4532e", "Candidate changed since verification": "a2808e03661077a04403dab2204b7ce8d78310c296600bd03c5766a754f216a6", "Candidate cluster is not bound to a channel.": "6066a4e8725d065a7c2b8d2c8974a60c41c0a94124deeabd972f620ddd815786", "Candidate Clusters": "b617f8ce5325fa8984c324816b08d3a26c05dac3c3276bcc4f4ab7196222dbe4", @@ -1820,6 +1823,7 @@ "Could not start this scene.": "acb6aa181a8b842f1a8fc78344dc210cb98a45ccb6cf38ebd01beb65fe7fa27d", "Could not start this workflow test.": "7fe6f22a12127a9d74069d195a2513038cb2ff035acc4433d41e31006445e46e", "Could not switch projects. Showing the last loaded project.": "1a284203a5fd7f9d39c625017fde0d1c88180e3d2fa62b07aa7c9eb64a2e8aa6", + "Could not update handoff": "b6b7ff312171612e082d24ec92c854155d95fa6177a25cb0ac10f44e2c6110e2", "Could not update the default model. Try again.": "c87a00ab8ffb8c8c60209acf9b5cb10295a2a5e93c3e6f72dd8b2b4c316bdc16", "Council actions": "79763aae8f6334c6e29273106f3509b76114439dd686c9fa32753bca265eee32", "Council boundaries": "b4d6713050d140a9102817793dcb99d64565ee0d33d364b71f5d4d2afd234baf", @@ -3820,6 +3824,7 @@ "minutes": "90e63d85fa1ab2c8ed65222f3ebd794b1e524b4b7cf84bec451542d0451b2985", "missing": "ffa63583dfa6706b87d284b86b0d693a161e4840aad2c5cf6b5d27c3b9621f7d", "Missing": "6be36ca49ee85210c5d1ad9c377d90a9859c66d889110a2a5b0dccd390d12e20", + "Missing artifact": "e936c2df4de783be206107e353054e33ebba1c9988085200c260c7a6b8f8fc73", "Missing dependency": "5915d1e15e283f09695ad4b96ced9625bbd68aab747dc778f37aada0a7489b5c", "Missing fields": "69121d3f63d5a27ab7ce484854c065ce87e7022dc5fdfee9d778ab02515542fc", "Missing key": "0c8a17a63a322df1c40693b8469227cf5426b024673da9065f42c6cbb7c58370", @@ -5401,6 +5406,7 @@ "Requested URL": "8ae37b38fe2e415c8c641c3f2b6e9b42a11245cc8749a51a247cf0464b4c7faf", "Required": "4850b174b713d88cfc63de107830d5388929020e78abc91fc19bba7a6821625f", "Required before approving high-risk requests": "3cb612a5f43f4acbf5a6066a5da559bce858b50cdab2c2f6943bf4a05de1310a", + "Required check incomplete": "f64e6dfd1fc8cd1f2139aadf61c6ef43ecaa2ce783b2c712a56d31a574e05741", "Required checks": "f5a021846bd1a50002c0ea940f30cc97c285a118c62ff95af5c2f538584a7e26", "Required for assigned teammates": "4732aa544a8d93b886e6bcbbcc5c3314af692f8a8a812efd4844cd3589b7b63a", "Required input": "fafaaf99b5a6af521026448890a9dacaf4d47053804a34be7cdf364e13637181", @@ -5524,8 +5530,11 @@ "Retry upload": "731dc6e3f07ab1b090e925be766dd01d8e4aed2f0ad2cef600bf157bd7764500", "Retryable": "c282bd362abaadb6a38a4fdb268df44325f8bfde40f719b77fdd690180c51889", "Retrying automatically...": "220837f6132382f3e8d4fb676f31aab3dc9fabc34b8f26c2e4ced9b83ebce4ec", + "Return handoff": "1ae47e9a67b5866c28ccd52c2040500610b795d917cc6620a444c170ded79836", + "Return reason": "79f91549d760515b430db20e8f2f0c766e417826dfea15029dca20f6eb9865ac", "Return to an unlocked interactive Windows desktop, restart Ling if needed, then check again.": "bccd46e406f4d428d83a9dd510df581b52e5c28c51da4d357e3e66c21740ee0e", "Return to implementation mode": "36435baabf6c6acc0666fba73f68609f9a41d17389ea216a99f41b5036e8b6ef", + "Returned for repair": "07abb2b9ba19b479a5126883271bb99fa47e239dffb3337fb13bbe2778654158", "Reusable": "8ded2b384940a83eb986da575b9efa40f1b03fd1d626bd91964cbb11502e0b42", "Reuse images already saved in this media project.": "3c3dd902fab18f841a51942e3a4e92a93c8d39ddd8b48ae9ee017982a26fa1c1", "Reuse settings": "17507cf7d05b478d392e9aa85d9c60046c0e2a185959546ac0864a89b95ec744", @@ -5916,6 +5925,7 @@ "Schema, checksums, and package metadata": "d91ffc3c0cdd2c26d37ba9cf60de0a718343a3969303718321092f0367a68808", "Scope": "b073f6c68ef8721107fd9815b19b2c35ec111d526b75c2123d1111ba64424000", "Scope ID": "4a201ef6cbd70a0728fc5c62eb87fd73ac56e470c853a3112ebf27617e49ff76", + "Scope unavailable": "38a32037c55100c3ad97878ca4e361a734a3422fb35bdbaeacebf4babb16cdf3", "Screen capture and input stop. Ling never interacts with the lock screen, login window, password fields, or secure desktop.": "cece9f092190c9e9e4c9d54f7da59256e922a56556c843c4e2b44fb1a67b0c5f", "Screen Recording": "bc3c742893dc7aff9c88fad0aae3f6749a6679a45cbafb0981f0e2ddaed5c49c", "Scripts can contact external services. Only run documents you trust.": "aa3560983d2f6c2656f1a9329fcb9434fa520d6f64bcccf0e6ae91c82ddbb0dd", @@ -7264,6 +7274,7 @@ "Uploading avatar": "995b81efc53e808131bd98d546fb3fa493a44b9b43b752237e590bf5a2e487c8", "Uploading...": "72cb29c90ccd8361ee82d02fabe81a3f01605c7b8fea4c9996fc01d84e3fbb48", "Upstream": "94adc696fd24e9fd67e83ba256a9f33bf1d7191d4a5e38ee8c69597cd89e4777", + "Upstream result unconfirmed": "d345a9ef65cf22ec93d4a7a0457157bcdc8696a90ea8e72690d04b25d7447d94", "Upstream version": "7927b36324919e81ae646c1455b608aadcecdedb285d9985d63d80572c3d5214", "urgent": "f9d37c23fcc0f03c15a86aba71dce01dd0baa7a1568180e60c2347a5863151bc", "URL image edit": "444b0006116b72fd13097e57758caf2edaa14133af89617d79ed238d71f518ff", @@ -7460,6 +7471,7 @@ "Waiting for runner activity...": "d0e7a1fd3763c4062fe8ac59255b9281effe77d2fd1d79f9ae2498e56ac3b96f", "Waiting for runner events...": "dc60b71d9ccb374ef6e53cc9496c05fd15dcd7b4955ec8ae7603cf360af7e85e", "Waiting for sign-in": "749a343a3a25c1df679ee6d6e74abb72e08ef956bfa15434407e61934dc054c9", + "Waiting for source": "8ac1608b4d56ce4dcc84a6d489fb055d7e9281efa150baa1fd5c2be7f2dd220b", "Waiting for system confirmation and Host readback...": "952e73792f0715e2d1f30ef0b0c03c4353cd9ab96caa71856bbce7dc41e2d161", "waiting for user input": "f43ef097687b1d8c8800577eefa3f7e10d0c82236cd0017f983d131e8e673174", "Waiting for votes": "bbb50edc12d1ce791069a8e84ca6e73a255b796306d32cdc1414987b986e172f", @@ -8079,6 +8091,7 @@ "A skill with the same identity already exists.": "Навички з такою самою ідентичністю вже існують.", "Abstain": "Утриматись", "Accept": "прийняти", + "Accept handoff": "Прийняти передачу", "Acceptance": "Прийняття", "Acceptance checks will be clarified before execution.": "Перевірки приймання будуть уточнені перед виконанням.", "Acceptance criteria": "Критерії прийняття", @@ -8630,6 +8643,7 @@ "Avatar uploaded": "Аватар завантажено", "Avatar, name, and a compact working brief.": "Аватар, ім'я та компактний робочий бриф.", "Avoid triggers": "Уникайте тригерів", + "Awaiting acceptance": "Очікує прийняття", "Awaiting confirmation": "Очікуємо підтвердження", "Awaiting enable": "Очікування ввімкнення", "Awaiting merge approval": "Очікується схвалення злиття", @@ -8819,6 +8833,7 @@ "cancelling": "Скасування", "Cancelling": "Скасування", "Candidate approved for draft": "Кандидатура затверджена до призову", + "Candidate changed": "Змінено кандидата", "Candidate changed since verification": "Кандидат змінено після перевірки", "Candidate cluster is not bound to a channel.": "Кластер-кандидат не прив’язаний до каналу.", "Candidate Clusters": "Кластери-кандидати", @@ -9556,6 +9571,7 @@ "Could not start this scene.": "Не вдалося розпочати цю сцену.", "Could not start this workflow test.": "Не вдалося запустити цей тест робочого процесу.", "Could not switch projects. Showing the last loaded project.": "Не вдалося переключити проекти. Показано останній завантажений проект.", + "Could not update handoff": "Не вдалося оновити передачу", "Could not update the default model. Try again.": "Не вдалося оновити стандартну модель. Спробуйте знову.", "Council actions": "Дії Ради", "Council boundaries": "Межі Ради", @@ -11556,6 +11572,7 @@ "minutes": "хвилин", "missing": "відсутній", "Missing": "Відсутня", + "Missing artifact": "Відсутній артефакт", "Missing dependency": "Missing dependency", "Missing fields": "Відсутні поля", "Missing key": "Відсутній ключ", @@ -13137,6 +13154,7 @@ "Requested URL": "Запитано URL", "Required": "Обов'язковий", "Required before approving high-risk requests": "Необхідно перед схваленням запитів із високим ризиком", + "Required check incomplete": "Необхідна перевірка не завершена", "Required checks": "Обов'язкові перевірки", "Required for assigned teammates": "Необхідний для призначених товаришів по команді", "Required input": "Обов'язковий вхід", @@ -13260,8 +13278,11 @@ "Retry upload": "Повторити завантаження", "Retryable": "Можна повторити", "Retrying automatically...": "Автоматична повторна спроба...", + "Return handoff": "Зворотна передача", + "Return reason": "Причина повернення", "Return to an unlocked interactive Windows desktop, restart Ling if needed, then check again.": "Поверніться до розблокованого інтерактивного робочого столу Windows, перезапустіть Ling, якщо потрібно, а потім перевірте ще раз.", "Return to implementation mode": "Повернутися в режим реалізації", + "Returned for repair": "Повернуто на ремонт", "Reusable": "Багаторазовий", "Reuse images already saved in this media project.": "Повторне використання зображень, уже збережених у цьому медіапроекті.", "Reuse settings": "Повторне використання налаштувань", @@ -13652,6 +13673,7 @@ "Schema, checksums, and package metadata": "Схема, контрольні суми та метадані пакета", "Scope": "Область застосування", "Scope ID": "Область застосування ID", + "Scope unavailable": "Область недоступна", "Screen capture and input stop. Ling never interacts with the lock screen, login window, password fields, or secure desktop.": "Захоплення екрана та зупинка введення. Ling ніколи не взаємодіє з екраном блокування, вікном входу, полями пароля або безпечним робочим столом.", "Screen Recording": "Запис екрану", "Scripts can contact external services. Only run documents you trust.": "Scripts can contact external services. Only run documents you trust.", @@ -15000,6 +15022,7 @@ "Uploading avatar": "Завантаження аватара", "Uploading...": "Завантаження...", "Upstream": "Вгору за течією", + "Upstream result unconfirmed": "Результат непідтверджений", "Upstream version": "Вихідна версія", "urgent": "терміновий", "URL image edit": "URL редагування зображення", @@ -15196,6 +15219,7 @@ "Waiting for runner activity...": "Очікування активності бігуна...", "Waiting for runner events...": "Чекаємо раннерів...", "Waiting for sign-in": "Очікування входу", + "Waiting for source": "Очікування джерела", "Waiting for system confirmation and Host readback...": "Очікування підтвердження системи та зчитування хосту...", "waiting for user input": "очікування введення користувача", "Waiting for votes": "Чекаємо голосів", diff --git a/packages/localization/catalogs/vi-VN.json b/packages/localization/catalogs/vi-VN.json index 52045fd1a..99a89db55 100644 --- a/packages/localization/catalogs/vi-VN.json +++ b/packages/localization/catalogs/vi-VN.json @@ -1,6 +1,6 @@ { "locale": "vi-VN", - "sourceRevision": "e134cc889637523423524b121cf71dcb37afdd3d7daf48eaea975d1c39785b2e", + "sourceRevision": "95b7d5d6546abac9c1f3ec3e54efe7bff99c84252c464896ecb9bf2245f66dfd", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -343,6 +343,7 @@ "A skill with the same identity already exists.": "66dd592d63333b2f2738e59f82a3866d9a6db17154a2cc2a752727f9a40998d1", "Abstain": "bf92ab42d052ce917d87cccce310e4351900347095f57947b3d08c1b1ff8bcf3", "Accept": "89713b9c9c1b8f659c9f49db25e4a47886dd673fee248c3f650391f09a759cef", + "Accept handoff": "13e3dc2abccf1296c34099b2080efb8c78ad82067436ff2039024f22ed8cc2e9", "Acceptance": "f190a5cb3aff17b0ee84f6ee258333d63a9cc71aa66c2e1788ebc3ae24a89b10", "Acceptance checks will be clarified before execution.": "ffd59db22fb4d3abb3c9cc67c351c818e1732dfca2d6cd18ae361a711fa4bb72", "Acceptance criteria": "d47a36f4f055810755db08b8d52e479baa4bb7a7a1f6449f71fa1ad5c20495ef", @@ -894,6 +895,7 @@ "Avatar uploaded": "d0d5a01f3f30fd933994a5950ddae3d14384d2c850c05deb50532b65aa6593ba", "Avatar, name, and a compact working brief.": "8d3706d4928090efbf7eca6683e3357f4f92732bc8be64c50dc8af8620a256c1", "Avoid triggers": "1419db0b6ddbd1f3a1632043da73529ecbcb0aef9183fd7d78e12df2942444de", + "Awaiting acceptance": "1dc7bfd9c54d73f22b4a9bdca5f741d5067a673b7f99d77e85367f6c8f049f85", "Awaiting confirmation": "d0ae0b38eac639b98f6a9b793a7add708bedbc6156963e3abc00453b235b2f3d", "Awaiting enable": "2a6b618d273346e8198806aa0d934a4bd6f5bf8b29d0780076df974ca93bf548", "Awaiting merge approval": "21837cdd561270cefc146079172511177736bb9091e9fb50d93bb072f271ecb0", @@ -1083,6 +1085,7 @@ "cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Candidate approved for draft": "59a57b9b459b3215e76b651f73f6521bc1bd71fa66bb52e046368a559db6632b", + "Candidate changed": "ca07c050cd47ab4f4d2f2fb6c60110b738af5b951a9ab708c36879365ec4532e", "Candidate changed since verification": "a2808e03661077a04403dab2204b7ce8d78310c296600bd03c5766a754f216a6", "Candidate cluster is not bound to a channel.": "6066a4e8725d065a7c2b8d2c8974a60c41c0a94124deeabd972f620ddd815786", "Candidate Clusters": "b617f8ce5325fa8984c324816b08d3a26c05dac3c3276bcc4f4ab7196222dbe4", @@ -1820,6 +1823,7 @@ "Could not start this scene.": "acb6aa181a8b842f1a8fc78344dc210cb98a45ccb6cf38ebd01beb65fe7fa27d", "Could not start this workflow test.": "7fe6f22a12127a9d74069d195a2513038cb2ff035acc4433d41e31006445e46e", "Could not switch projects. Showing the last loaded project.": "1a284203a5fd7f9d39c625017fde0d1c88180e3d2fa62b07aa7c9eb64a2e8aa6", + "Could not update handoff": "b6b7ff312171612e082d24ec92c854155d95fa6177a25cb0ac10f44e2c6110e2", "Could not update the default model. Try again.": "c87a00ab8ffb8c8c60209acf9b5cb10295a2a5e93c3e6f72dd8b2b4c316bdc16", "Council actions": "79763aae8f6334c6e29273106f3509b76114439dd686c9fa32753bca265eee32", "Council boundaries": "b4d6713050d140a9102817793dcb99d64565ee0d33d364b71f5d4d2afd234baf", @@ -3820,6 +3824,7 @@ "minutes": "90e63d85fa1ab2c8ed65222f3ebd794b1e524b4b7cf84bec451542d0451b2985", "missing": "ffa63583dfa6706b87d284b86b0d693a161e4840aad2c5cf6b5d27c3b9621f7d", "Missing": "6be36ca49ee85210c5d1ad9c377d90a9859c66d889110a2a5b0dccd390d12e20", + "Missing artifact": "e936c2df4de783be206107e353054e33ebba1c9988085200c260c7a6b8f8fc73", "Missing dependency": "5915d1e15e283f09695ad4b96ced9625bbd68aab747dc778f37aada0a7489b5c", "Missing fields": "69121d3f63d5a27ab7ce484854c065ce87e7022dc5fdfee9d778ab02515542fc", "Missing key": "0c8a17a63a322df1c40693b8469227cf5426b024673da9065f42c6cbb7c58370", @@ -5401,6 +5406,7 @@ "Requested URL": "8ae37b38fe2e415c8c641c3f2b6e9b42a11245cc8749a51a247cf0464b4c7faf", "Required": "4850b174b713d88cfc63de107830d5388929020e78abc91fc19bba7a6821625f", "Required before approving high-risk requests": "3cb612a5f43f4acbf5a6066a5da559bce858b50cdab2c2f6943bf4a05de1310a", + "Required check incomplete": "f64e6dfd1fc8cd1f2139aadf61c6ef43ecaa2ce783b2c712a56d31a574e05741", "Required checks": "f5a021846bd1a50002c0ea940f30cc97c285a118c62ff95af5c2f538584a7e26", "Required for assigned teammates": "4732aa544a8d93b886e6bcbbcc5c3314af692f8a8a812efd4844cd3589b7b63a", "Required input": "fafaaf99b5a6af521026448890a9dacaf4d47053804a34be7cdf364e13637181", @@ -5524,8 +5530,11 @@ "Retry upload": "731dc6e3f07ab1b090e925be766dd01d8e4aed2f0ad2cef600bf157bd7764500", "Retryable": "c282bd362abaadb6a38a4fdb268df44325f8bfde40f719b77fdd690180c51889", "Retrying automatically...": "220837f6132382f3e8d4fb676f31aab3dc9fabc34b8f26c2e4ced9b83ebce4ec", + "Return handoff": "1ae47e9a67b5866c28ccd52c2040500610b795d917cc6620a444c170ded79836", + "Return reason": "79f91549d760515b430db20e8f2f0c766e417826dfea15029dca20f6eb9865ac", "Return to an unlocked interactive Windows desktop, restart Ling if needed, then check again.": "bccd46e406f4d428d83a9dd510df581b52e5c28c51da4d357e3e66c21740ee0e", "Return to implementation mode": "36435baabf6c6acc0666fba73f68609f9a41d17389ea216a99f41b5036e8b6ef", + "Returned for repair": "07abb2b9ba19b479a5126883271bb99fa47e239dffb3337fb13bbe2778654158", "Reusable": "8ded2b384940a83eb986da575b9efa40f1b03fd1d626bd91964cbb11502e0b42", "Reuse images already saved in this media project.": "3c3dd902fab18f841a51942e3a4e92a93c8d39ddd8b48ae9ee017982a26fa1c1", "Reuse settings": "17507cf7d05b478d392e9aa85d9c60046c0e2a185959546ac0864a89b95ec744", @@ -5916,6 +5925,7 @@ "Schema, checksums, and package metadata": "d91ffc3c0cdd2c26d37ba9cf60de0a718343a3969303718321092f0367a68808", "Scope": "b073f6c68ef8721107fd9815b19b2c35ec111d526b75c2123d1111ba64424000", "Scope ID": "4a201ef6cbd70a0728fc5c62eb87fd73ac56e470c853a3112ebf27617e49ff76", + "Scope unavailable": "38a32037c55100c3ad97878ca4e361a734a3422fb35bdbaeacebf4babb16cdf3", "Screen capture and input stop. Ling never interacts with the lock screen, login window, password fields, or secure desktop.": "cece9f092190c9e9e4c9d54f7da59256e922a56556c843c4e2b44fb1a67b0c5f", "Screen Recording": "bc3c742893dc7aff9c88fad0aae3f6749a6679a45cbafb0981f0e2ddaed5c49c", "Scripts can contact external services. Only run documents you trust.": "aa3560983d2f6c2656f1a9329fcb9434fa520d6f64bcccf0e6ae91c82ddbb0dd", @@ -7264,6 +7274,7 @@ "Uploading avatar": "995b81efc53e808131bd98d546fb3fa493a44b9b43b752237e590bf5a2e487c8", "Uploading...": "72cb29c90ccd8361ee82d02fabe81a3f01605c7b8fea4c9996fc01d84e3fbb48", "Upstream": "94adc696fd24e9fd67e83ba256a9f33bf1d7191d4a5e38ee8c69597cd89e4777", + "Upstream result unconfirmed": "d345a9ef65cf22ec93d4a7a0457157bcdc8696a90ea8e72690d04b25d7447d94", "Upstream version": "7927b36324919e81ae646c1455b608aadcecdedb285d9985d63d80572c3d5214", "urgent": "f9d37c23fcc0f03c15a86aba71dce01dd0baa7a1568180e60c2347a5863151bc", "URL image edit": "444b0006116b72fd13097e57758caf2edaa14133af89617d79ed238d71f518ff", @@ -7460,6 +7471,7 @@ "Waiting for runner activity...": "d0e7a1fd3763c4062fe8ac59255b9281effe77d2fd1d79f9ae2498e56ac3b96f", "Waiting for runner events...": "dc60b71d9ccb374ef6e53cc9496c05fd15dcd7b4955ec8ae7603cf360af7e85e", "Waiting for sign-in": "749a343a3a25c1df679ee6d6e74abb72e08ef956bfa15434407e61934dc054c9", + "Waiting for source": "8ac1608b4d56ce4dcc84a6d489fb055d7e9281efa150baa1fd5c2be7f2dd220b", "Waiting for system confirmation and Host readback...": "952e73792f0715e2d1f30ef0b0c03c4353cd9ab96caa71856bbce7dc41e2d161", "waiting for user input": "f43ef097687b1d8c8800577eefa3f7e10d0c82236cd0017f983d131e8e673174", "Waiting for votes": "bbb50edc12d1ce791069a8e84ca6e73a255b796306d32cdc1414987b986e172f", @@ -8079,6 +8091,7 @@ "A skill with the same identity already exists.": "Một kỹ năng có cùng danh tính đã tồn tại.", "Abstain": "kiêng", "Accept": "Chấp nhận", + "Accept handoff": "Chấp nhận bàn giao", "Acceptance": "Chấp nhận", "Acceptance checks will be clarified before execution.": "Kiểm tra chấp nhận sẽ được làm rõ trước khi thực hiện.", "Acceptance criteria": "Tiêu chí chấp nhận", @@ -8630,6 +8643,7 @@ "Avatar uploaded": "Hình đại diện đã được tải lên", "Avatar, name, and a compact working brief.": "Hình đại diện, tên và bản tóm tắt công việc nhỏ gọn.", "Avoid triggers": "Tránh các yếu tố kích hoạt", + "Awaiting acceptance": "Đang chờ chấp nhận", "Awaiting confirmation": "Đang chờ xác nhận", "Awaiting enable": "Đang chờ kích hoạt", "Awaiting merge approval": "Đang chờ phê duyệt hợp nhất", @@ -8819,6 +8833,7 @@ "cancelling": "Đang hủy", "Cancelling": "Đang hủy", "Candidate approved for draft": "Ứng viên được phê duyệt dự thảo", + "Candidate changed": "Ứng viên đã thay đổi", "Candidate changed since verification": "Ứng viên đã thay đổi kể từ khi xác minh", "Candidate cluster is not bound to a channel.": "Cụm ứng viên không bị ràng buộc với một kênh.", "Candidate Clusters": "Cụm ứng viên", @@ -9556,6 +9571,7 @@ "Could not start this scene.": "Không thể bắt đầu cảnh này.", "Could not start this workflow test.": "Không thể bắt đầu kiểm tra quy trình công việc này.", "Could not switch projects. Showing the last loaded project.": "Không thể chuyển đổi dự án. Hiển thị dự án được tải cuối cùng.", + "Could not update handoff": "Không thể cập nhật bàn giao", "Could not update the default model. Try again.": "Không thể cập nhật mô hình mặc định. Hãy thử lại.", "Council actions": "hành động của hội đồng", "Council boundaries": "ranh giới hội đồng", @@ -11556,6 +11572,7 @@ "minutes": "phút", "missing": "mất tích", "Missing": "Mất tích", + "Missing artifact": "Hiện vật bị thiếu", "Missing dependency": "Missing dependency", "Missing fields": "Thiếu trường", "Missing key": "Thiếu chìa khóa", @@ -13137,6 +13154,7 @@ "Requested URL": "Đã yêu cầu URL", "Required": "Yêu cầu", "Required before approving high-risk requests": "Bắt buộc trước khi phê duyệt các yêu cầu có rủi ro cao", + "Required check incomplete": "Kiểm tra bắt buộc chưa hoàn thành", "Required checks": "Kiểm tra bắt buộc", "Required for assigned teammates": "Cần thiết cho đồng đội được chỉ định", "Required input": "Đầu vào bắt buộc", @@ -13260,8 +13278,11 @@ "Retry upload": "Thử tải lên lại", "Retryable": "Có thể thử lại", "Retrying automatically...": "Đang tự động thử lại...", + "Return handoff": "Trả lại bàn giao", + "Return reason": "Lý do trả lại", "Return to an unlocked interactive Windows desktop, restart Ling if needed, then check again.": "Quay lại màn hình Windows tương tác đã mở khóa, khởi động lại Ling nếu cần, sau đó kiểm tra lại.", "Return to implementation mode": "Quay lại chế độ thực hiện", + "Returned for repair": "Trở lại để sửa chữa", "Reusable": "Tái sử dụng", "Reuse images already saved in this media project.": "Sử dụng lại hình ảnh đã được lưu trong dự án truyền thông này.", "Reuse settings": "Sử dụng lại cài đặt", @@ -13652,6 +13673,7 @@ "Schema, checksums, and package metadata": "Lược đồ, tổng kiểm tra và siêu dữ liệu gói", "Scope": "Phạm vi", "Scope ID": "Phạm vi ID", + "Scope unavailable": "Phạm vi không có sẵn", "Screen capture and input stop. Ling never interacts with the lock screen, login window, password fields, or secure desktop.": "Chụp màn hình và dừng đầu vào. Ling không bao giờ tương tác với màn hình khóa, cửa sổ đăng nhập, trường mật khẩu hoặc màn hình bảo mật.", "Screen Recording": "Ghi màn hình", "Scripts can contact external services. Only run documents you trust.": "Scripts can contact external services. Only run documents you trust.", @@ -15000,6 +15022,7 @@ "Uploading avatar": "Đang tải hình đại diện lên", "Uploading...": "Đang tải lên...", "Upstream": "Thượng nguồn", + "Upstream result unconfirmed": "Kết quả ngược dòng chưa được xác nhận", "Upstream version": "Phiên bản thượng nguồn", "urgent": "cấp bách", "URL image edit": "URL chỉnh sửa hình ảnh", @@ -15196,6 +15219,7 @@ "Waiting for runner activity...": "Đang chờ hoạt động của người chạy...", "Waiting for runner events...": "Đang chờ sự kiện dành cho người chạy...", "Waiting for sign-in": "Đang chờ đăng nhập", + "Waiting for source": "Đang chờ nguồn", "Waiting for system confirmation and Host readback...": "Đang chờ xác nhận hệ thống và đọc lại máy chủ...", "waiting for user input": "chờ người dùng nhập liệu", "Waiting for votes": "Đang chờ phiếu bầu", diff --git a/packages/localization/catalogs/zh-CN.json b/packages/localization/catalogs/zh-CN.json index a32179dfc..6e88113f2 100644 --- a/packages/localization/catalogs/zh-CN.json +++ b/packages/localization/catalogs/zh-CN.json @@ -1,6 +1,6 @@ { "locale": "zh-CN", - "sourceRevision": "e134cc889637523423524b121cf71dcb37afdd3d7daf48eaea975d1c39785b2e", + "sourceRevision": "95b7d5d6546abac9c1f3ec3e54efe7bff99c84252c464896ecb9bf2245f66dfd", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -343,6 +343,7 @@ "A skill with the same identity already exists.": "66dd592d63333b2f2738e59f82a3866d9a6db17154a2cc2a752727f9a40998d1", "Abstain": "bf92ab42d052ce917d87cccce310e4351900347095f57947b3d08c1b1ff8bcf3", "Accept": "89713b9c9c1b8f659c9f49db25e4a47886dd673fee248c3f650391f09a759cef", + "Accept handoff": "13e3dc2abccf1296c34099b2080efb8c78ad82067436ff2039024f22ed8cc2e9", "Acceptance": "f190a5cb3aff17b0ee84f6ee258333d63a9cc71aa66c2e1788ebc3ae24a89b10", "Acceptance checks will be clarified before execution.": "ffd59db22fb4d3abb3c9cc67c351c818e1732dfca2d6cd18ae361a711fa4bb72", "Acceptance criteria": "d47a36f4f055810755db08b8d52e479baa4bb7a7a1f6449f71fa1ad5c20495ef", @@ -894,6 +895,7 @@ "Avatar uploaded": "d0d5a01f3f30fd933994a5950ddae3d14384d2c850c05deb50532b65aa6593ba", "Avatar, name, and a compact working brief.": "8d3706d4928090efbf7eca6683e3357f4f92732bc8be64c50dc8af8620a256c1", "Avoid triggers": "1419db0b6ddbd1f3a1632043da73529ecbcb0aef9183fd7d78e12df2942444de", + "Awaiting acceptance": "1dc7bfd9c54d73f22b4a9bdca5f741d5067a673b7f99d77e85367f6c8f049f85", "Awaiting confirmation": "d0ae0b38eac639b98f6a9b793a7add708bedbc6156963e3abc00453b235b2f3d", "Awaiting enable": "2a6b618d273346e8198806aa0d934a4bd6f5bf8b29d0780076df974ca93bf548", "Awaiting merge approval": "21837cdd561270cefc146079172511177736bb9091e9fb50d93bb072f271ecb0", @@ -1083,6 +1085,7 @@ "cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Candidate approved for draft": "59a57b9b459b3215e76b651f73f6521bc1bd71fa66bb52e046368a559db6632b", + "Candidate changed": "ca07c050cd47ab4f4d2f2fb6c60110b738af5b951a9ab708c36879365ec4532e", "Candidate changed since verification": "a2808e03661077a04403dab2204b7ce8d78310c296600bd03c5766a754f216a6", "Candidate cluster is not bound to a channel.": "6066a4e8725d065a7c2b8d2c8974a60c41c0a94124deeabd972f620ddd815786", "Candidate Clusters": "b617f8ce5325fa8984c324816b08d3a26c05dac3c3276bcc4f4ab7196222dbe4", @@ -1820,6 +1823,7 @@ "Could not start this scene.": "acb6aa181a8b842f1a8fc78344dc210cb98a45ccb6cf38ebd01beb65fe7fa27d", "Could not start this workflow test.": "7fe6f22a12127a9d74069d195a2513038cb2ff035acc4433d41e31006445e46e", "Could not switch projects. Showing the last loaded project.": "1a284203a5fd7f9d39c625017fde0d1c88180e3d2fa62b07aa7c9eb64a2e8aa6", + "Could not update handoff": "b6b7ff312171612e082d24ec92c854155d95fa6177a25cb0ac10f44e2c6110e2", "Could not update the default model. Try again.": "c87a00ab8ffb8c8c60209acf9b5cb10295a2a5e93c3e6f72dd8b2b4c316bdc16", "Council actions": "79763aae8f6334c6e29273106f3509b76114439dd686c9fa32753bca265eee32", "Council boundaries": "b4d6713050d140a9102817793dcb99d64565ee0d33d364b71f5d4d2afd234baf", @@ -3820,6 +3824,7 @@ "minutes": "90e63d85fa1ab2c8ed65222f3ebd794b1e524b4b7cf84bec451542d0451b2985", "missing": "ffa63583dfa6706b87d284b86b0d693a161e4840aad2c5cf6b5d27c3b9621f7d", "Missing": "6be36ca49ee85210c5d1ad9c377d90a9859c66d889110a2a5b0dccd390d12e20", + "Missing artifact": "e936c2df4de783be206107e353054e33ebba1c9988085200c260c7a6b8f8fc73", "Missing dependency": "5915d1e15e283f09695ad4b96ced9625bbd68aab747dc778f37aada0a7489b5c", "Missing fields": "69121d3f63d5a27ab7ce484854c065ce87e7022dc5fdfee9d778ab02515542fc", "Missing key": "0c8a17a63a322df1c40693b8469227cf5426b024673da9065f42c6cbb7c58370", @@ -5401,6 +5406,7 @@ "Requested URL": "8ae37b38fe2e415c8c641c3f2b6e9b42a11245cc8749a51a247cf0464b4c7faf", "Required": "4850b174b713d88cfc63de107830d5388929020e78abc91fc19bba7a6821625f", "Required before approving high-risk requests": "3cb612a5f43f4acbf5a6066a5da559bce858b50cdab2c2f6943bf4a05de1310a", + "Required check incomplete": "f64e6dfd1fc8cd1f2139aadf61c6ef43ecaa2ce783b2c712a56d31a574e05741", "Required checks": "f5a021846bd1a50002c0ea940f30cc97c285a118c62ff95af5c2f538584a7e26", "Required for assigned teammates": "4732aa544a8d93b886e6bcbbcc5c3314af692f8a8a812efd4844cd3589b7b63a", "Required input": "fafaaf99b5a6af521026448890a9dacaf4d47053804a34be7cdf364e13637181", @@ -5524,8 +5530,11 @@ "Retry upload": "731dc6e3f07ab1b090e925be766dd01d8e4aed2f0ad2cef600bf157bd7764500", "Retryable": "c282bd362abaadb6a38a4fdb268df44325f8bfde40f719b77fdd690180c51889", "Retrying automatically...": "220837f6132382f3e8d4fb676f31aab3dc9fabc34b8f26c2e4ced9b83ebce4ec", + "Return handoff": "1ae47e9a67b5866c28ccd52c2040500610b795d917cc6620a444c170ded79836", + "Return reason": "79f91549d760515b430db20e8f2f0c766e417826dfea15029dca20f6eb9865ac", "Return to an unlocked interactive Windows desktop, restart Ling if needed, then check again.": "bccd46e406f4d428d83a9dd510df581b52e5c28c51da4d357e3e66c21740ee0e", "Return to implementation mode": "36435baabf6c6acc0666fba73f68609f9a41d17389ea216a99f41b5036e8b6ef", + "Returned for repair": "07abb2b9ba19b479a5126883271bb99fa47e239dffb3337fb13bbe2778654158", "Reusable": "8ded2b384940a83eb986da575b9efa40f1b03fd1d626bd91964cbb11502e0b42", "Reuse images already saved in this media project.": "3c3dd902fab18f841a51942e3a4e92a93c8d39ddd8b48ae9ee017982a26fa1c1", "Reuse settings": "17507cf7d05b478d392e9aa85d9c60046c0e2a185959546ac0864a89b95ec744", @@ -5916,6 +5925,7 @@ "Schema, checksums, and package metadata": "d91ffc3c0cdd2c26d37ba9cf60de0a718343a3969303718321092f0367a68808", "Scope": "b073f6c68ef8721107fd9815b19b2c35ec111d526b75c2123d1111ba64424000", "Scope ID": "4a201ef6cbd70a0728fc5c62eb87fd73ac56e470c853a3112ebf27617e49ff76", + "Scope unavailable": "38a32037c55100c3ad97878ca4e361a734a3422fb35bdbaeacebf4babb16cdf3", "Screen capture and input stop. Ling never interacts with the lock screen, login window, password fields, or secure desktop.": "cece9f092190c9e9e4c9d54f7da59256e922a56556c843c4e2b44fb1a67b0c5f", "Screen Recording": "bc3c742893dc7aff9c88fad0aae3f6749a6679a45cbafb0981f0e2ddaed5c49c", "Scripts can contact external services. Only run documents you trust.": "aa3560983d2f6c2656f1a9329fcb9434fa520d6f64bcccf0e6ae91c82ddbb0dd", @@ -7264,6 +7274,7 @@ "Uploading avatar": "995b81efc53e808131bd98d546fb3fa493a44b9b43b752237e590bf5a2e487c8", "Uploading...": "72cb29c90ccd8361ee82d02fabe81a3f01605c7b8fea4c9996fc01d84e3fbb48", "Upstream": "94adc696fd24e9fd67e83ba256a9f33bf1d7191d4a5e38ee8c69597cd89e4777", + "Upstream result unconfirmed": "d345a9ef65cf22ec93d4a7a0457157bcdc8696a90ea8e72690d04b25d7447d94", "Upstream version": "7927b36324919e81ae646c1455b608aadcecdedb285d9985d63d80572c3d5214", "urgent": "f9d37c23fcc0f03c15a86aba71dce01dd0baa7a1568180e60c2347a5863151bc", "URL image edit": "444b0006116b72fd13097e57758caf2edaa14133af89617d79ed238d71f518ff", @@ -7460,6 +7471,7 @@ "Waiting for runner activity...": "d0e7a1fd3763c4062fe8ac59255b9281effe77d2fd1d79f9ae2498e56ac3b96f", "Waiting for runner events...": "dc60b71d9ccb374ef6e53cc9496c05fd15dcd7b4955ec8ae7603cf360af7e85e", "Waiting for sign-in": "749a343a3a25c1df679ee6d6e74abb72e08ef956bfa15434407e61934dc054c9", + "Waiting for source": "8ac1608b4d56ce4dcc84a6d489fb055d7e9281efa150baa1fd5c2be7f2dd220b", "Waiting for system confirmation and Host readback...": "952e73792f0715e2d1f30ef0b0c03c4353cd9ab96caa71856bbce7dc41e2d161", "waiting for user input": "f43ef097687b1d8c8800577eefa3f7e10d0c82236cd0017f983d131e8e673174", "Waiting for votes": "bbb50edc12d1ce791069a8e84ca6e73a255b796306d32cdc1414987b986e172f", @@ -8079,6 +8091,7 @@ "A skill with the same identity already exists.": "技能库中已存在同一个技能。", "Abstain": "不作判定", "Accept": "接受", + "Accept handoff": "接受交接", "Acceptance": "验收", "Acceptance checks will be clarified before execution.": "执行前会先明确验收条件。", "Acceptance criteria": "验收标准", @@ -8630,6 +8643,7 @@ "Avatar uploaded": "头像已上传", "Avatar, name, and a compact working brief.": "头像、名称和简短工作说明。", "Avoid triggers": "避让条件", + "Awaiting acceptance": "等待接收方验收", "Awaiting confirmation": "待确认", "Awaiting enable": "待启用", "Awaiting merge approval": "等待合并审批", @@ -8819,6 +8833,7 @@ "cancelling": "正在取消", "Cancelling": "正在取消", "Candidate approved for draft": "候选已批准为草稿", + "Candidate changed": "候选改动已变化", "Candidate changed since verification": "候选改动在验证后已变化", "Candidate cluster is not bound to a channel.": "候选聚类未绑定到频道。", "Candidate Clusters": "候选簇", @@ -9556,6 +9571,7 @@ "Could not start this scene.": "无法开始生成此场景。", "Could not start this workflow test.": "无法开始流程测试。", "Could not switch projects. Showing the last loaded project.": "无法切换项目,正在显示上次加载的项目。", + "Could not update handoff": "交接更新失败", "Could not update the default model. Try again.": "无法更新默认模型,请重试。", "Council actions": "智囊团操作", "Council boundaries": "智囊团边界", @@ -11556,6 +11572,7 @@ "minutes": "分钟", "missing": "缺失", "Missing": "缺失", + "Missing artifact": "缺少交付产物", "Missing dependency": "缺少依赖步骤", "Missing fields": "缺失字段", "Missing key": "缺少 Key", @@ -13137,6 +13154,7 @@ "Requested URL": "请求 URL", "Required": "必需", "Required before approving high-risk requests": "批准高风险请求前必须填写", + "Required check incomplete": "必需检查未完成", "Required checks": "必要检查", "Required for assigned teammates": "对已授权队友设为必需", "Required input": "所需输入", @@ -13260,8 +13278,11 @@ "Retry upload": "重试上传", "Retryable": "可重试", "Retrying automatically...": "正在自动重试...", + "Return handoff": "退回交接", + "Return reason": "退回原因", "Return to an unlocked interactive Windows desktop, restart Ling if needed, then check again.": "返回已解锁的 Windows 交互式桌面;必要时重启 Ling,然后重新检查。", "Return to implementation mode": "回到实现模式", + "Returned for repair": "已退回补充", "Reusable": "可复用", "Reuse images already saved in this media project.": "选择当前媒体项目中已保存的图片。", "Reuse settings": "复用设置", @@ -13652,6 +13673,7 @@ "Schema, checksums, and package metadata": "结构、校验值和主题包元数据", "Scope": "范围", "Scope ID": "范围 ID", + "Scope unavailable": "工作范围不可用", "Screen capture and input stop. Ling never interacts with the lock screen, login window, password fields, or secure desktop.": "屏幕采集和输入会停止。Ling 永远不会操作锁屏、登录窗口、密码框或安全桌面。", "Screen Recording": "屏幕录制", "Scripts can contact external services. Only run documents you trust.": "脚本可能连接外部服务。请仅运行你信任的文档。", @@ -15000,6 +15022,7 @@ "Uploading avatar": "正在上传头像", "Uploading...": "正在上传...", "Upstream": "上游", + "Upstream result unconfirmed": "上游结果待确认", "Upstream version": "上游版本", "urgent": "紧急", "URL image edit": "URL 图片编辑", @@ -15196,6 +15219,7 @@ "Waiting for runner activity...": "等待 runner 活动...", "Waiting for runner events...": "等待 runner 事件...", "Waiting for sign-in": "等待登录", + "Waiting for source": "等待上游交付", "Waiting for system confirmation and Host readback...": "等待系统确认和 Host 事实核对……", "waiting for user input": "等待用户输入", "Waiting for votes": "等待投票", diff --git a/packages/localization/catalogs/zh-HK.json b/packages/localization/catalogs/zh-HK.json index 5e61adeb2..b4c3238f9 100644 --- a/packages/localization/catalogs/zh-HK.json +++ b/packages/localization/catalogs/zh-HK.json @@ -1,6 +1,6 @@ { "locale": "zh-HK", - "sourceRevision": "e134cc889637523423524b121cf71dcb37afdd3d7daf48eaea975d1c39785b2e", + "sourceRevision": "95b7d5d6546abac9c1f3ec3e54efe7bff99c84252c464896ecb9bf2245f66dfd", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -343,6 +343,7 @@ "A skill with the same identity already exists.": "66dd592d63333b2f2738e59f82a3866d9a6db17154a2cc2a752727f9a40998d1", "Abstain": "bf92ab42d052ce917d87cccce310e4351900347095f57947b3d08c1b1ff8bcf3", "Accept": "89713b9c9c1b8f659c9f49db25e4a47886dd673fee248c3f650391f09a759cef", + "Accept handoff": "13e3dc2abccf1296c34099b2080efb8c78ad82067436ff2039024f22ed8cc2e9", "Acceptance": "f190a5cb3aff17b0ee84f6ee258333d63a9cc71aa66c2e1788ebc3ae24a89b10", "Acceptance checks will be clarified before execution.": "ffd59db22fb4d3abb3c9cc67c351c818e1732dfca2d6cd18ae361a711fa4bb72", "Acceptance criteria": "d47a36f4f055810755db08b8d52e479baa4bb7a7a1f6449f71fa1ad5c20495ef", @@ -894,6 +895,7 @@ "Avatar uploaded": "d0d5a01f3f30fd933994a5950ddae3d14384d2c850c05deb50532b65aa6593ba", "Avatar, name, and a compact working brief.": "8d3706d4928090efbf7eca6683e3357f4f92732bc8be64c50dc8af8620a256c1", "Avoid triggers": "1419db0b6ddbd1f3a1632043da73529ecbcb0aef9183fd7d78e12df2942444de", + "Awaiting acceptance": "1dc7bfd9c54d73f22b4a9bdca5f741d5067a673b7f99d77e85367f6c8f049f85", "Awaiting confirmation": "d0ae0b38eac639b98f6a9b793a7add708bedbc6156963e3abc00453b235b2f3d", "Awaiting enable": "2a6b618d273346e8198806aa0d934a4bd6f5bf8b29d0780076df974ca93bf548", "Awaiting merge approval": "21837cdd561270cefc146079172511177736bb9091e9fb50d93bb072f271ecb0", @@ -1083,6 +1085,7 @@ "cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Candidate approved for draft": "59a57b9b459b3215e76b651f73f6521bc1bd71fa66bb52e046368a559db6632b", + "Candidate changed": "ca07c050cd47ab4f4d2f2fb6c60110b738af5b951a9ab708c36879365ec4532e", "Candidate changed since verification": "a2808e03661077a04403dab2204b7ce8d78310c296600bd03c5766a754f216a6", "Candidate cluster is not bound to a channel.": "6066a4e8725d065a7c2b8d2c8974a60c41c0a94124deeabd972f620ddd815786", "Candidate Clusters": "b617f8ce5325fa8984c324816b08d3a26c05dac3c3276bcc4f4ab7196222dbe4", @@ -1820,6 +1823,7 @@ "Could not start this scene.": "acb6aa181a8b842f1a8fc78344dc210cb98a45ccb6cf38ebd01beb65fe7fa27d", "Could not start this workflow test.": "7fe6f22a12127a9d74069d195a2513038cb2ff035acc4433d41e31006445e46e", "Could not switch projects. Showing the last loaded project.": "1a284203a5fd7f9d39c625017fde0d1c88180e3d2fa62b07aa7c9eb64a2e8aa6", + "Could not update handoff": "b6b7ff312171612e082d24ec92c854155d95fa6177a25cb0ac10f44e2c6110e2", "Could not update the default model. Try again.": "c87a00ab8ffb8c8c60209acf9b5cb10295a2a5e93c3e6f72dd8b2b4c316bdc16", "Council actions": "79763aae8f6334c6e29273106f3509b76114439dd686c9fa32753bca265eee32", "Council boundaries": "b4d6713050d140a9102817793dcb99d64565ee0d33d364b71f5d4d2afd234baf", @@ -3820,6 +3824,7 @@ "minutes": "90e63d85fa1ab2c8ed65222f3ebd794b1e524b4b7cf84bec451542d0451b2985", "missing": "ffa63583dfa6706b87d284b86b0d693a161e4840aad2c5cf6b5d27c3b9621f7d", "Missing": "6be36ca49ee85210c5d1ad9c377d90a9859c66d889110a2a5b0dccd390d12e20", + "Missing artifact": "e936c2df4de783be206107e353054e33ebba1c9988085200c260c7a6b8f8fc73", "Missing dependency": "5915d1e15e283f09695ad4b96ced9625bbd68aab747dc778f37aada0a7489b5c", "Missing fields": "69121d3f63d5a27ab7ce484854c065ce87e7022dc5fdfee9d778ab02515542fc", "Missing key": "0c8a17a63a322df1c40693b8469227cf5426b024673da9065f42c6cbb7c58370", @@ -5401,6 +5406,7 @@ "Requested URL": "8ae37b38fe2e415c8c641c3f2b6e9b42a11245cc8749a51a247cf0464b4c7faf", "Required": "4850b174b713d88cfc63de107830d5388929020e78abc91fc19bba7a6821625f", "Required before approving high-risk requests": "3cb612a5f43f4acbf5a6066a5da559bce858b50cdab2c2f6943bf4a05de1310a", + "Required check incomplete": "f64e6dfd1fc8cd1f2139aadf61c6ef43ecaa2ce783b2c712a56d31a574e05741", "Required checks": "f5a021846bd1a50002c0ea940f30cc97c285a118c62ff95af5c2f538584a7e26", "Required for assigned teammates": "4732aa544a8d93b886e6bcbbcc5c3314af692f8a8a812efd4844cd3589b7b63a", "Required input": "fafaaf99b5a6af521026448890a9dacaf4d47053804a34be7cdf364e13637181", @@ -5524,8 +5530,11 @@ "Retry upload": "731dc6e3f07ab1b090e925be766dd01d8e4aed2f0ad2cef600bf157bd7764500", "Retryable": "c282bd362abaadb6a38a4fdb268df44325f8bfde40f719b77fdd690180c51889", "Retrying automatically...": "220837f6132382f3e8d4fb676f31aab3dc9fabc34b8f26c2e4ced9b83ebce4ec", + "Return handoff": "1ae47e9a67b5866c28ccd52c2040500610b795d917cc6620a444c170ded79836", + "Return reason": "79f91549d760515b430db20e8f2f0c766e417826dfea15029dca20f6eb9865ac", "Return to an unlocked interactive Windows desktop, restart Ling if needed, then check again.": "bccd46e406f4d428d83a9dd510df581b52e5c28c51da4d357e3e66c21740ee0e", "Return to implementation mode": "36435baabf6c6acc0666fba73f68609f9a41d17389ea216a99f41b5036e8b6ef", + "Returned for repair": "07abb2b9ba19b479a5126883271bb99fa47e239dffb3337fb13bbe2778654158", "Reusable": "8ded2b384940a83eb986da575b9efa40f1b03fd1d626bd91964cbb11502e0b42", "Reuse images already saved in this media project.": "3c3dd902fab18f841a51942e3a4e92a93c8d39ddd8b48ae9ee017982a26fa1c1", "Reuse settings": "17507cf7d05b478d392e9aa85d9c60046c0e2a185959546ac0864a89b95ec744", @@ -5916,6 +5925,7 @@ "Schema, checksums, and package metadata": "d91ffc3c0cdd2c26d37ba9cf60de0a718343a3969303718321092f0367a68808", "Scope": "b073f6c68ef8721107fd9815b19b2c35ec111d526b75c2123d1111ba64424000", "Scope ID": "4a201ef6cbd70a0728fc5c62eb87fd73ac56e470c853a3112ebf27617e49ff76", + "Scope unavailable": "38a32037c55100c3ad97878ca4e361a734a3422fb35bdbaeacebf4babb16cdf3", "Screen capture and input stop. Ling never interacts with the lock screen, login window, password fields, or secure desktop.": "cece9f092190c9e9e4c9d54f7da59256e922a56556c843c4e2b44fb1a67b0c5f", "Screen Recording": "bc3c742893dc7aff9c88fad0aae3f6749a6679a45cbafb0981f0e2ddaed5c49c", "Scripts can contact external services. Only run documents you trust.": "aa3560983d2f6c2656f1a9329fcb9434fa520d6f64bcccf0e6ae91c82ddbb0dd", @@ -7264,6 +7274,7 @@ "Uploading avatar": "995b81efc53e808131bd98d546fb3fa493a44b9b43b752237e590bf5a2e487c8", "Uploading...": "72cb29c90ccd8361ee82d02fabe81a3f01605c7b8fea4c9996fc01d84e3fbb48", "Upstream": "94adc696fd24e9fd67e83ba256a9f33bf1d7191d4a5e38ee8c69597cd89e4777", + "Upstream result unconfirmed": "d345a9ef65cf22ec93d4a7a0457157bcdc8696a90ea8e72690d04b25d7447d94", "Upstream version": "7927b36324919e81ae646c1455b608aadcecdedb285d9985d63d80572c3d5214", "urgent": "f9d37c23fcc0f03c15a86aba71dce01dd0baa7a1568180e60c2347a5863151bc", "URL image edit": "444b0006116b72fd13097e57758caf2edaa14133af89617d79ed238d71f518ff", @@ -7460,6 +7471,7 @@ "Waiting for runner activity...": "d0e7a1fd3763c4062fe8ac59255b9281effe77d2fd1d79f9ae2498e56ac3b96f", "Waiting for runner events...": "dc60b71d9ccb374ef6e53cc9496c05fd15dcd7b4955ec8ae7603cf360af7e85e", "Waiting for sign-in": "749a343a3a25c1df679ee6d6e74abb72e08ef956bfa15434407e61934dc054c9", + "Waiting for source": "8ac1608b4d56ce4dcc84a6d489fb055d7e9281efa150baa1fd5c2be7f2dd220b", "Waiting for system confirmation and Host readback...": "952e73792f0715e2d1f30ef0b0c03c4353cd9ab96caa71856bbce7dc41e2d161", "waiting for user input": "f43ef097687b1d8c8800577eefa3f7e10d0c82236cd0017f983d131e8e673174", "Waiting for votes": "bbb50edc12d1ce791069a8e84ca6e73a255b796306d32cdc1414987b986e172f", @@ -8079,6 +8091,7 @@ "A skill with the same identity already exists.": "具有相同身分的技能已經存在。", "Abstain": "棄權", "Accept": "接受", + "Accept handoff": "接受交接", "Acceptance": "驗收", "Acceptance checks will be clarified before execution.": "驗收檢查將在執行前澄清。", "Acceptance criteria": "驗收標準", @@ -8630,6 +8643,7 @@ "Avatar uploaded": "頭像已上傳", "Avatar, name, and a compact working brief.": "頭像、姓名和簡潔的工作簡介。", "Avoid triggers": "避免觸發因素", + "Awaiting acceptance": "等待接受", "Awaiting confirmation": "等待確認", "Awaiting enable": "等待啟用", "Awaiting merge approval": "等待合併批准", @@ -8819,6 +8833,7 @@ "cancelling": "取消", "Cancelling": "取消", "Candidate approved for draft": "候選人獲準參加草案", + "Candidate changed": "候選人變更", "Candidate changed since verification": "自驗證後候選人發生變化", "Candidate cluster is not bound to a channel.": "候選集群未綁定到通道。", "Candidate Clusters": "候選集群", @@ -9556,6 +9571,7 @@ "Could not start this scene.": "無法啟動此場景。", "Could not start this workflow test.": "無法啟動此工作流程測試。", "Could not switch projects. Showing the last loaded project.": "無法切換項目。顯示最後載入的項目。", + "Could not update handoff": "無法更新切換", "Could not update the default model. Try again.": "無法更新預設模型。再試一次。", "Council actions": "理事會的行動", "Council boundaries": "議會邊界", @@ -11556,6 +11572,7 @@ "minutes": "分分鐘", "missing": "遺失的", "Missing": "遺失的", + "Missing artifact": "失蹤的神器", "Missing dependency": "Missing dependency", "Missing fields": "缺失字段", "Missing key": "鑰匙遺失", @@ -13137,6 +13154,7 @@ "Requested URL": "請求URL", "Required": "必需的", "Required before approving high-risk requests": "在批准高風險請求之前需要", + "Required check incomplete": "所需檢查不完整", "Required checks": "必要的檢查", "Required for assigned teammates": "指定隊友需要", "Required input": "所需輸入", @@ -13260,8 +13278,11 @@ "Retry upload": "重試上傳", "Retryable": "可重試", "Retrying automatically...": "自動重試...", + "Return handoff": "返回切換", + "Return reason": "退貨原因", "Return to an unlocked interactive Windows desktop, restart Ling if needed, then check again.": "返回解鎖的互動式 Windows 桌面,根據需要重新啟動 Ling,然後再次檢查。", "Return to implementation mode": "返回實施模式", + "Returned for repair": "退回維修", "Reusable": "可重複使用的", "Reuse images already saved in this media project.": "重複使用此媒體項目中已儲存的圖像。", "Reuse settings": "重複使用設定", @@ -13652,6 +13673,7 @@ "Schema, checksums, and package metadata": "架構、校驗和和包元數據", "Scope": "範圍", "Scope ID": "範圍ID", + "Scope unavailable": "範圍不可用", "Screen capture and input stop. Ling never interacts with the lock screen, login window, password fields, or secure desktop.": "螢幕捕獲和輸入停止。 Ling 從不與鎖定畫面、登入視窗、密碼欄位或安全性桌面互動。", "Screen Recording": "螢幕錄製", "Scripts can contact external services. Only run documents you trust.": "Scripts can contact external services. Only run documents you trust.", @@ -15000,6 +15022,7 @@ "Uploading avatar": "上傳頭像", "Uploading...": "正在上傳...", "Upstream": "上游", + "Upstream result unconfirmed": "上游結果尚未確認", "Upstream version": "上游版本", "urgent": "緊迫的", "URL image edit": "URL 影像編輯", @@ -15196,6 +15219,7 @@ "Waiting for runner activity...": "等待跑者活動...", "Waiting for runner events...": "等待跑者活動...", "Waiting for sign-in": "等待登入", + "Waiting for source": "等待源碼", "Waiting for system confirmation and Host readback...": "等待系統確認和主機回讀...", "waiting for user input": "等待用戶輸入", "Waiting for votes": "等待投票", diff --git a/packages/localization/catalogs/zh-TW.json b/packages/localization/catalogs/zh-TW.json index 8325a3072..1b3782a4b 100644 --- a/packages/localization/catalogs/zh-TW.json +++ b/packages/localization/catalogs/zh-TW.json @@ -1,6 +1,6 @@ { "locale": "zh-TW", - "sourceRevision": "e134cc889637523423524b121cf71dcb37afdd3d7daf48eaea975d1c39785b2e", + "sourceRevision": "95b7d5d6546abac9c1f3ec3e54efe7bff99c84252c464896ecb9bf2245f66dfd", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -343,6 +343,7 @@ "A skill with the same identity already exists.": "66dd592d63333b2f2738e59f82a3866d9a6db17154a2cc2a752727f9a40998d1", "Abstain": "bf92ab42d052ce917d87cccce310e4351900347095f57947b3d08c1b1ff8bcf3", "Accept": "89713b9c9c1b8f659c9f49db25e4a47886dd673fee248c3f650391f09a759cef", + "Accept handoff": "13e3dc2abccf1296c34099b2080efb8c78ad82067436ff2039024f22ed8cc2e9", "Acceptance": "f190a5cb3aff17b0ee84f6ee258333d63a9cc71aa66c2e1788ebc3ae24a89b10", "Acceptance checks will be clarified before execution.": "ffd59db22fb4d3abb3c9cc67c351c818e1732dfca2d6cd18ae361a711fa4bb72", "Acceptance criteria": "d47a36f4f055810755db08b8d52e479baa4bb7a7a1f6449f71fa1ad5c20495ef", @@ -894,6 +895,7 @@ "Avatar uploaded": "d0d5a01f3f30fd933994a5950ddae3d14384d2c850c05deb50532b65aa6593ba", "Avatar, name, and a compact working brief.": "8d3706d4928090efbf7eca6683e3357f4f92732bc8be64c50dc8af8620a256c1", "Avoid triggers": "1419db0b6ddbd1f3a1632043da73529ecbcb0aef9183fd7d78e12df2942444de", + "Awaiting acceptance": "1dc7bfd9c54d73f22b4a9bdca5f741d5067a673b7f99d77e85367f6c8f049f85", "Awaiting confirmation": "d0ae0b38eac639b98f6a9b793a7add708bedbc6156963e3abc00453b235b2f3d", "Awaiting enable": "2a6b618d273346e8198806aa0d934a4bd6f5bf8b29d0780076df974ca93bf548", "Awaiting merge approval": "21837cdd561270cefc146079172511177736bb9091e9fb50d93bb072f271ecb0", @@ -1083,6 +1085,7 @@ "cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Cancelling": "20d55e8c3373cb09161484abeb2a760254ae43d9a6a812e126928bd263949533", "Candidate approved for draft": "59a57b9b459b3215e76b651f73f6521bc1bd71fa66bb52e046368a559db6632b", + "Candidate changed": "ca07c050cd47ab4f4d2f2fb6c60110b738af5b951a9ab708c36879365ec4532e", "Candidate changed since verification": "a2808e03661077a04403dab2204b7ce8d78310c296600bd03c5766a754f216a6", "Candidate cluster is not bound to a channel.": "6066a4e8725d065a7c2b8d2c8974a60c41c0a94124deeabd972f620ddd815786", "Candidate Clusters": "b617f8ce5325fa8984c324816b08d3a26c05dac3c3276bcc4f4ab7196222dbe4", @@ -1820,6 +1823,7 @@ "Could not start this scene.": "acb6aa181a8b842f1a8fc78344dc210cb98a45ccb6cf38ebd01beb65fe7fa27d", "Could not start this workflow test.": "7fe6f22a12127a9d74069d195a2513038cb2ff035acc4433d41e31006445e46e", "Could not switch projects. Showing the last loaded project.": "1a284203a5fd7f9d39c625017fde0d1c88180e3d2fa62b07aa7c9eb64a2e8aa6", + "Could not update handoff": "b6b7ff312171612e082d24ec92c854155d95fa6177a25cb0ac10f44e2c6110e2", "Could not update the default model. Try again.": "c87a00ab8ffb8c8c60209acf9b5cb10295a2a5e93c3e6f72dd8b2b4c316bdc16", "Council actions": "79763aae8f6334c6e29273106f3509b76114439dd686c9fa32753bca265eee32", "Council boundaries": "b4d6713050d140a9102817793dcb99d64565ee0d33d364b71f5d4d2afd234baf", @@ -3820,6 +3824,7 @@ "minutes": "90e63d85fa1ab2c8ed65222f3ebd794b1e524b4b7cf84bec451542d0451b2985", "missing": "ffa63583dfa6706b87d284b86b0d693a161e4840aad2c5cf6b5d27c3b9621f7d", "Missing": "6be36ca49ee85210c5d1ad9c377d90a9859c66d889110a2a5b0dccd390d12e20", + "Missing artifact": "e936c2df4de783be206107e353054e33ebba1c9988085200c260c7a6b8f8fc73", "Missing dependency": "5915d1e15e283f09695ad4b96ced9625bbd68aab747dc778f37aada0a7489b5c", "Missing fields": "69121d3f63d5a27ab7ce484854c065ce87e7022dc5fdfee9d778ab02515542fc", "Missing key": "0c8a17a63a322df1c40693b8469227cf5426b024673da9065f42c6cbb7c58370", @@ -5401,6 +5406,7 @@ "Requested URL": "8ae37b38fe2e415c8c641c3f2b6e9b42a11245cc8749a51a247cf0464b4c7faf", "Required": "4850b174b713d88cfc63de107830d5388929020e78abc91fc19bba7a6821625f", "Required before approving high-risk requests": "3cb612a5f43f4acbf5a6066a5da559bce858b50cdab2c2f6943bf4a05de1310a", + "Required check incomplete": "f64e6dfd1fc8cd1f2139aadf61c6ef43ecaa2ce783b2c712a56d31a574e05741", "Required checks": "f5a021846bd1a50002c0ea940f30cc97c285a118c62ff95af5c2f538584a7e26", "Required for assigned teammates": "4732aa544a8d93b886e6bcbbcc5c3314af692f8a8a812efd4844cd3589b7b63a", "Required input": "fafaaf99b5a6af521026448890a9dacaf4d47053804a34be7cdf364e13637181", @@ -5524,8 +5530,11 @@ "Retry upload": "731dc6e3f07ab1b090e925be766dd01d8e4aed2f0ad2cef600bf157bd7764500", "Retryable": "c282bd362abaadb6a38a4fdb268df44325f8bfde40f719b77fdd690180c51889", "Retrying automatically...": "220837f6132382f3e8d4fb676f31aab3dc9fabc34b8f26c2e4ced9b83ebce4ec", + "Return handoff": "1ae47e9a67b5866c28ccd52c2040500610b795d917cc6620a444c170ded79836", + "Return reason": "79f91549d760515b430db20e8f2f0c766e417826dfea15029dca20f6eb9865ac", "Return to an unlocked interactive Windows desktop, restart Ling if needed, then check again.": "bccd46e406f4d428d83a9dd510df581b52e5c28c51da4d357e3e66c21740ee0e", "Return to implementation mode": "36435baabf6c6acc0666fba73f68609f9a41d17389ea216a99f41b5036e8b6ef", + "Returned for repair": "07abb2b9ba19b479a5126883271bb99fa47e239dffb3337fb13bbe2778654158", "Reusable": "8ded2b384940a83eb986da575b9efa40f1b03fd1d626bd91964cbb11502e0b42", "Reuse images already saved in this media project.": "3c3dd902fab18f841a51942e3a4e92a93c8d39ddd8b48ae9ee017982a26fa1c1", "Reuse settings": "17507cf7d05b478d392e9aa85d9c60046c0e2a185959546ac0864a89b95ec744", @@ -5916,6 +5925,7 @@ "Schema, checksums, and package metadata": "d91ffc3c0cdd2c26d37ba9cf60de0a718343a3969303718321092f0367a68808", "Scope": "b073f6c68ef8721107fd9815b19b2c35ec111d526b75c2123d1111ba64424000", "Scope ID": "4a201ef6cbd70a0728fc5c62eb87fd73ac56e470c853a3112ebf27617e49ff76", + "Scope unavailable": "38a32037c55100c3ad97878ca4e361a734a3422fb35bdbaeacebf4babb16cdf3", "Screen capture and input stop. Ling never interacts with the lock screen, login window, password fields, or secure desktop.": "cece9f092190c9e9e4c9d54f7da59256e922a56556c843c4e2b44fb1a67b0c5f", "Screen Recording": "bc3c742893dc7aff9c88fad0aae3f6749a6679a45cbafb0981f0e2ddaed5c49c", "Scripts can contact external services. Only run documents you trust.": "aa3560983d2f6c2656f1a9329fcb9434fa520d6f64bcccf0e6ae91c82ddbb0dd", @@ -7264,6 +7274,7 @@ "Uploading avatar": "995b81efc53e808131bd98d546fb3fa493a44b9b43b752237e590bf5a2e487c8", "Uploading...": "72cb29c90ccd8361ee82d02fabe81a3f01605c7b8fea4c9996fc01d84e3fbb48", "Upstream": "94adc696fd24e9fd67e83ba256a9f33bf1d7191d4a5e38ee8c69597cd89e4777", + "Upstream result unconfirmed": "d345a9ef65cf22ec93d4a7a0457157bcdc8696a90ea8e72690d04b25d7447d94", "Upstream version": "7927b36324919e81ae646c1455b608aadcecdedb285d9985d63d80572c3d5214", "urgent": "f9d37c23fcc0f03c15a86aba71dce01dd0baa7a1568180e60c2347a5863151bc", "URL image edit": "444b0006116b72fd13097e57758caf2edaa14133af89617d79ed238d71f518ff", @@ -7460,6 +7471,7 @@ "Waiting for runner activity...": "d0e7a1fd3763c4062fe8ac59255b9281effe77d2fd1d79f9ae2498e56ac3b96f", "Waiting for runner events...": "dc60b71d9ccb374ef6e53cc9496c05fd15dcd7b4955ec8ae7603cf360af7e85e", "Waiting for sign-in": "749a343a3a25c1df679ee6d6e74abb72e08ef956bfa15434407e61934dc054c9", + "Waiting for source": "8ac1608b4d56ce4dcc84a6d489fb055d7e9281efa150baa1fd5c2be7f2dd220b", "Waiting for system confirmation and Host readback...": "952e73792f0715e2d1f30ef0b0c03c4353cd9ab96caa71856bbce7dc41e2d161", "waiting for user input": "f43ef097687b1d8c8800577eefa3f7e10d0c82236cd0017f983d131e8e673174", "Waiting for votes": "bbb50edc12d1ce791069a8e84ca6e73a255b796306d32cdc1414987b986e172f", @@ -8079,6 +8091,7 @@ "A skill with the same identity already exists.": "具有相同身分的技能已經存在。", "Abstain": "棄權", "Accept": "接受", + "Accept handoff": "接受交接", "Acceptance": "驗收", "Acceptance checks will be clarified before execution.": "驗收檢查將在執行前澄清。", "Acceptance criteria": "驗收標準", @@ -8630,6 +8643,7 @@ "Avatar uploaded": "頭像已上傳", "Avatar, name, and a compact working brief.": "頭像、姓名和簡潔的工作簡介。", "Avoid triggers": "避免觸發因素", + "Awaiting acceptance": "等待接受", "Awaiting confirmation": "等待確認", "Awaiting enable": "等待啟用", "Awaiting merge approval": "等待合併批准", @@ -8819,6 +8833,7 @@ "cancelling": "取消", "Cancelling": "取消", "Candidate approved for draft": "候選人獲準參加草案", + "Candidate changed": "候選人變更", "Candidate changed since verification": "自驗證後候選人發生變化", "Candidate cluster is not bound to a channel.": "候選集群未綁定到通道。", "Candidate Clusters": "候選集群", @@ -9556,6 +9571,7 @@ "Could not start this scene.": "無法啟動此場景。", "Could not start this workflow test.": "無法啟動此工作流程測試。", "Could not switch projects. Showing the last loaded project.": "無法切換項目。顯示最後載入的項目。", + "Could not update handoff": "無法更新切換", "Could not update the default model. Try again.": "無法更新預設模型。再試一次。", "Council actions": "理事會的行動", "Council boundaries": "議會邊界", @@ -11556,6 +11572,7 @@ "minutes": "分分鐘", "missing": "遺失的", "Missing": "遺失的", + "Missing artifact": "失蹤的神器", "Missing dependency": "Missing dependency", "Missing fields": "缺失字段", "Missing key": "鑰匙遺失", @@ -13137,6 +13154,7 @@ "Requested URL": "請求URL", "Required": "必需的", "Required before approving high-risk requests": "在批准高風險請求之前需要", + "Required check incomplete": "所需檢查不完整", "Required checks": "必要的檢查", "Required for assigned teammates": "指定隊友需要", "Required input": "所需輸入", @@ -13260,8 +13278,11 @@ "Retry upload": "重試上傳", "Retryable": "可重試", "Retrying automatically...": "自動重試...", + "Return handoff": "返回切換", + "Return reason": "退貨原因", "Return to an unlocked interactive Windows desktop, restart Ling if needed, then check again.": "返回解鎖的互動式 Windows 桌面,如果需要,重新啟動 Ling,然後再次檢查。", "Return to implementation mode": "返回實施模式", + "Returned for repair": "退回維修", "Reusable": "可重複使用的", "Reuse images already saved in this media project.": "重複使用此媒體項目中已儲存的圖像。", "Reuse settings": "重複使用設定", @@ -13652,6 +13673,7 @@ "Schema, checksums, and package metadata": "架構、校驗和和包元數據", "Scope": "範圍", "Scope ID": "範圍ID", + "Scope unavailable": "範圍不可用", "Screen capture and input stop. Ling never interacts with the lock screen, login window, password fields, or secure desktop.": "螢幕捕獲和輸入停止。 Ling 從不與鎖定畫面、登入視窗、密碼欄位或安全性桌面互動。", "Screen Recording": "螢幕錄製", "Scripts can contact external services. Only run documents you trust.": "Scripts can contact external services. Only run documents you trust.", @@ -15000,6 +15022,7 @@ "Uploading avatar": "上傳頭像", "Uploading...": "正在上傳...", "Upstream": "上游", + "Upstream result unconfirmed": "上游結果尚未確認", "Upstream version": "上游版本", "urgent": "緊迫的", "URL image edit": "URL 影像編輯", @@ -15196,6 +15219,7 @@ "Waiting for runner activity...": "等待跑者活動...", "Waiting for runner events...": "等待跑者活動...", "Waiting for sign-in": "等待登入", + "Waiting for source": "等待源碼", "Waiting for system confirmation and Host readback...": "等待系統確認和主機回讀...", "waiting for user input": "等待用戶輸入", "Waiting for votes": "等待投票", From 1f61ca9613f940056060ca77826b72e292de0a65 Mon Sep 17 00:00:00 2001 From: tianxiaochannel-oss88 Date: Mon, 23 Nov 2026 06:59:23 +0800 Subject: [PATCH 052/147] fix: reconcile committed delivery and honor coordination scheduler stop --- .../ling-app-server-implementation-plan.md | 2 +- packages/contracts/src/app-server-schema.ts | 3 +- packages/contracts/src/app-server.ts | 3 +- .../src/features/automations/scheduler.ts | 16 ++++++--- .../src/features/code-assessments/snapshot.ts | 20 +++++++---- .../daemon/src/features/runs/thread-routes.ts | 3 ++ .../daemon/src/server/app-server-changes.ts | 17 +++++++--- .../src/server/app-server-github-delivery.ts | 8 +++-- .../src/server/app-server-github-enqueue.ts | 2 +- packages/daemon/src/server/router.ts | 2 +- packages/daemon/src/server/rpc.ts | 7 ++-- .../app-server-release-acceptance.test.ts | 33 +++++++++++++++++-- 12 files changed, 88 insertions(+), 28 deletions(-) diff --git a/docs/design/ling-app-server-implementation-plan.md b/docs/design/ling-app-server-implementation-plan.md index 9832f3884..eec0e4c40 100644 --- a/docs/design/ling-app-server-implementation-plan.md +++ b/docs/design/ling-app-server-implementation-plan.md @@ -50,7 +50,7 @@ | C2/F2 版本兼容 | 用 `v0.6.1@3fe77440e` 源码构建在 macOS 上创建 Thread、Turn、待决审批和游标,候选 Daemon 接手原 SQLite,旧 SDK 可读取 Thread 和处置后的审批。候选 SDK 向旧 `/rpc/stream` 尝试提交时,在协商阶段返回 `protocol_version_unsupported`。候选 Daemon 的 `/rpc/stream` 仅提供原有方法。测试覆盖 App Server 专属方法拒绝、旧客户端的 Run 启动和取消。候选 CLI probe 和本机 Codex MCP 已通过。v0.6.1 未提供 App Server 协议。发布安装包、远程连接及回退对账另行验收。 | | E1 Verify 与用户输入恢复 | Verify 按幂等键在 SQLite 写事务内受理。两个连接同时提交复用原操作及其事件。取消受理与停止意图一起写入,重启后可按原键读取回执。`verify/status` 记录确认退出后的 `cancelled`。执行器无法确认停止时,返回 `unknown` 并附 `verification_cancellation_unconfirmed`。已绑定工作项的 Verify 状态和 Control Plane 事件同事务提交。用户提问的 authority、答案 CAS、投递收据和 `pending/answered/cancelled` 事件也在重启后保持同一请求身份。 | | E2 交付前验收 | App Server 与 HTTP 使用同一套 Goal 验收解析和证据检查。实际 Pi Run 通过后,可用同 Thread 证据完成 Goal。Verify 结果用绑定当前候选的 `verification_passed` 条件完成 Goal,独立 verifier basis、coverage 和 producer refs 不匹配时会被拒绝。Review 已验证候选绑定、发现项处置和 freshness 持久化。`simplify/start` 与 `simplify/status` 支持只读简化审查及重启重放。`github_delivered` 要求当前已提交候选、同 Thread 与 Work Item、已接受的检查政策和 Host 重新核对的实际合并结果。 | -| O4 GitHub 证据核对 | 配置注册仓库、不可变仓库 ID 与分支政策。按 PR、实时 base、检查 App、冻结的 workflow 文件、实际测试对象和最近 attempt 核对证据。队列准入记录请求和外部回执,响应丢失时先查原队列项。夹具覆盖队列重建、队列应答丢失和合并树不同。实际受保护测试仓库的队列与执行时合并仍待验收。 | +| O4 GitHub 证据核对 | 配置注册仓库、不可变仓库 ID 与分支政策。按 PR、实时 base、检查 App、冻结的 workflow 文件、实际测试对象和最近 attempt 核对证据。`changes/capture` 的 `scope: "head"` 提供已提交候选摘要,可以在本地有后续编辑时对账已经发生的合并。Goal 交付验收和队列准入仍核对干净的当前候选。队列响应丢失后先查原队列项。实际受保护测试仓库的队列与执行时合并仍待验收。 | | O1/O8/O9 接单、控制和协作 | 工作项创建、控制、接单、证据和协作写入各自与对应事件同事务提交。真实 Daemon 回归从同一个受控 GitHub Issue 的两个入口归并 Work Item,在接单前订阅,接通 P01、独立 QA 与等待裁决的 P02。覆盖暂停、重启、裁决恢复与原步骤派发一次。按下方矩阵继续验收阶段交接、自动审议、停滞和联合界面。 | | O7 定时协调轮次 | 已配置的 Automation 在同一事务中写入终态回执、轮次和事件。实际调度器从重启前的时段恢复。故障注入验证提交失败不会留下回执或轮次。回执重放复用原轮次。截止后生成简报和关闭事件,暂停的工作项产生跳过回执。该用例启动的 Runner 数量为零。 | | O1 首次会话派发 | `workItem/accept` 可选定主执行会话,接单和首发意图同事务保存。正常会话 Run 创建核对该意图并原子更新 Work Item。脚本化 Pi Provider 验证了重启、两个并发受理、暂停恢复、实际派发一次,以及当前绑定阻止删除会话。Codex MCP 已提供同一创建和受理入口。 | diff --git a/packages/contracts/src/app-server-schema.ts b/packages/contracts/src/app-server-schema.ts index 9cfba35f5..5c596164c 100644 --- a/packages/contracts/src/app-server-schema.ts +++ b/packages/contracts/src/app-server-schema.ts @@ -347,7 +347,8 @@ function schemaFor(method: LingAppServerMethod): LingAppServerMethodSchema { case "externalAgent/capabilities/read": return { params: objectWith({ registrationId: stringSchema }, ["registrationId"]), result }; case "changes/capture": - return { params: objectWith(changeSource), result: objectWith(candidateResult, candidateResultFields) }; + return { params: objectWith({ ...changeSource, scope: { enum: ["working_tree", "head"] } }), + result: objectWith(candidateResult, candidateResultFields) }; case "changes/read": return { params: objectWith({ ...changeSource, candidateDigest: stringSchema, offset: integerSchema, limit: integerSchema }, ["candidateDigest"]), result: objectWith({ ...candidateResult, files: arraySchema, exclusions: arraySchema, exclusionCount: integerSchema, diff --git a/packages/contracts/src/app-server.ts b/packages/contracts/src/app-server.ts index c6e591d89..95cbcb5e1 100644 --- a/packages/contracts/src/app-server.ts +++ b/packages/contracts/src/app-server.ts @@ -1073,9 +1073,10 @@ export type LingAppServerChangeWorktree = Pick { readonly candidateDigest: string; readonly offset?: number; readonly limit?: number; diff --git a/packages/daemon/src/features/automations/scheduler.ts b/packages/daemon/src/features/automations/scheduler.ts index c67612cad..09c0fdc78 100644 --- a/packages/daemon/src/features/automations/scheduler.ts +++ b/packages/daemon/src/features/automations/scheduler.ts @@ -72,6 +72,7 @@ export class AutomationSchedulerRegistry { private readonly entriesByCwd = new Map(); private readonly inFlightTasks = new Set>(); private readonly coordinationTimers = new Map>(); + private readonly stoppedWorkspaces = new Set(); private coordinationStopping = false; constructor( @@ -123,6 +124,7 @@ export class AutomationSchedulerRegistry { this.scheduleAutomation(entry, automation, new Date()); } this.refreshStateSummary(entry); + this.stoppedWorkspaces.delete(cwd); this.restoreCoordinationDeadlines(cwd); this.startupState?.setPhase(cwd, "automation_scheduler", "ready"); return { scheduler: entry.state, duplicate: false }; @@ -193,6 +195,8 @@ export class AutomationSchedulerRegistry { stop(cwd: string): AutomationSchedulerState | undefined { const entry = this.entriesByCwd.get(cwd); + this.stoppedWorkspaces.add(cwd); + this.clearCoordinationTimer(cwd); if (!entry) { return undefined; } @@ -224,15 +228,19 @@ export class AutomationSchedulerRegistry { } restoreCoordinationDeadlines(cwd: string): void { - if (this.coordinationStopping) return; - const prior = this.coordinationTimers.get(cwd); - if (prior) clearTimeout(prior); - this.coordinationTimers.delete(cwd); + if (this.coordinationStopping || this.stoppedWorkspaces.has(cwd)) return; + this.clearCoordinationTimer(cwd); const open = this.storeRegistry.getStore(cwd).listOpenScheduledCoordinationRounds(); const next = open.map(round => round.deadlineAt).sort()[0]; if (next) this.armCoordinationDeadline(cwd, Math.max(1, Date.parse(next) - Date.now())); } + private clearCoordinationTimer(cwd: string): void { + const timer = this.coordinationTimers.get(cwd); + if (timer) clearTimeout(timer); + this.coordinationTimers.delete(cwd); + } + private armCoordinationDeadline(cwd: string, delayMs: number): void { const timer = setTimeout(() => { if (this.coordinationStopping || this.coordinationTimers.get(cwd) !== timer) return; diff --git a/packages/daemon/src/features/code-assessments/snapshot.ts b/packages/daemon/src/features/code-assessments/snapshot.ts index 22ccbe14e..6f2397390 100644 --- a/packages/daemon/src/features/code-assessments/snapshot.ts +++ b/packages/daemon/src/features/code-assessments/snapshot.ts @@ -100,7 +100,7 @@ function workingFile(cwd: string, path: string): { readonly content?: string; re } finally { closeSync(fd); } } -async function capture(cwd: string, target: CodeAssessmentTarget): Promise> { +async function capture(cwd: string, target: CodeAssessmentTarget, committedHeadOnly: boolean): Promise> { const prefix = await assessmentGitPrefix(cwd); const readGit = async (root: string, args: readonly string[]) => (await git(root, [...prefix, ...args])).stdout; const root = realpathSync((await readGit(cwd, ["rev-parse", "--show-toplevel"])).trim()); @@ -120,8 +120,8 @@ async function capture(cwd: string, target: CodeAssessmentTarget): Promise !isCodeAssessmentPath(path))) throw new Error("Git returned an unsupported file path."); const paths = new Map(tracked.map(file => [file.path, file])); @@ -173,9 +173,17 @@ async function capture(cwd: string, target: CodeAssessmentTarget): Promise { - const target = parseCodeAssessmentTarget(input); - const first = await capture(cwd, target); - const second = await capture(cwd, target); + return captureConsistent(cwd, parseCodeAssessmentTarget(input), capturedAt, false); +} + +/** Identify the committed candidate the same way a clean checkout identifies that HEAD. */ +export async function captureCommittedHeadSnapshot(cwd: string): Promise { + return captureConsistent(cwd, { type: "working_tree" }, new Date().toISOString(), true); +} + +async function captureConsistent(cwd: string, target: CodeAssessmentTarget, capturedAt: string, committedHeadOnly: boolean): Promise { + const first = await capture(cwd, target, committedHeadOnly); + const second = await capture(cwd, target, committedHeadOnly); if (first.digest !== second.digest) throw new Error("The repository changed during capture. Try again after edits finish."); return { ...second, id: `snapshot_${randomUUID()}`, capturedAt }; } diff --git a/packages/daemon/src/features/runs/thread-routes.ts b/packages/daemon/src/features/runs/thread-routes.ts index 7e5b9f3dd..838ce8602 100644 --- a/packages/daemon/src/features/runs/thread-routes.ts +++ b/packages/daemon/src/features/runs/thread-routes.ts @@ -2248,6 +2248,9 @@ export async function bindGoalAcceptanceEvidence( if (snapshot.coverage !== "complete") { throw new HttpError(409, "goal_verification_candidate_incomplete", "Goal verification requires complete coverage of the current candidate."); } + if (deliveryCriteria.length && snapshot.totalFileCount !== 0) { + throw new HttpError(409, "goal_completion_evidence_invalid", "Goal delivery evidence requires a clean, committed candidate."); + } const reconciledGitHubDeliveryIds = new Set(); for (const criterion of deliveryCriteria) { const requirement = criterion.githubDelivery!; diff --git a/packages/daemon/src/server/app-server-changes.ts b/packages/daemon/src/server/app-server-changes.ts index 561d29b62..afe6ea573 100644 --- a/packages/daemon/src/server/app-server-changes.ts +++ b/packages/daemon/src/server/app-server-changes.ts @@ -2,6 +2,7 @@ import { createHash } from "node:crypto"; import { realpathSync, statSync } from "node:fs"; import type { LingAppServerApplyChangesResult, + LingAppServerCaptureChangesParams, LingAppServerCaptureChangesResult, LingAppServerChangeRecoveryPreview, LingAppServerPreviewChangeRecoveryParams, @@ -9,7 +10,7 @@ import type { } from "@ling-stack/contracts"; import type { LingTurn, RunStore } from "@ling-stack/core"; import { HttpError } from "../errors.js"; -import { captureCodeAssessmentSnapshot, isSensitiveAssessmentPath } from "../features/code-assessments/snapshot.js"; +import { captureCodeAssessmentSnapshot, captureCommittedHeadSnapshot, isSensitiveAssessmentPath } from "../features/code-assessments/snapshot.js"; import { buildTurnWorkspaceChangesResponse, recoverTurnWorkspaceChanges, @@ -28,14 +29,20 @@ const digestPattern = /^[a-f0-9]{64}$/u; const maxResultBytes = 112 * 1024; const hash = (value: unknown) => createHash("sha256").update(JSON.stringify(value)).digest("hex"); -export async function captureAppServerChanges(cwd: string): Promise { - return summarizeAppServerCandidate(cwd, await captureCodeAssessmentSnapshot(cwd, { type: "working_tree" })); +type CaptureScope = LingAppServerCaptureChangesParams["scope"]; + +export async function captureAppServerChanges(cwd: string, scope?: CaptureScope): Promise { + return summarizeAppServerCandidate(cwd, await captureCandidate(cwd, scope)); } -export async function captureAppServerWorktreeChanges(store: RunStore, target: unknown): Promise { +export async function captureAppServerWorktreeChanges(store: RunStore, target: unknown, scope?: CaptureScope): Promise { const worktree = readChangeWorktree(target); const path = await resolveChangeWorktree(store, worktree); - return summarizeAppServerCandidate(store.paths.cwd, await captureCodeAssessmentSnapshot(path, { type: "working_tree" }), worktree); + return summarizeAppServerCandidate(store.paths.cwd, await captureCandidate(path, scope), worktree); +} + +function captureCandidate(cwd: string, scope: CaptureScope) { + return scope === "head" ? captureCommittedHeadSnapshot(cwd) : captureCodeAssessmentSnapshot(cwd, { type: "working_tree" }); } export async function readAppServerChanges(store: RunStore, input: Record): Promise { diff --git a/packages/daemon/src/server/app-server-github-delivery.ts b/packages/daemon/src/server/app-server-github-delivery.ts index 97a35e207..81e7cd93f 100644 --- a/packages/daemon/src/server/app-server-github-delivery.ts +++ b/packages/daemon/src/server/app-server-github-delivery.ts @@ -2,7 +2,7 @@ import type { LingAppServerGitHubDelivery, LingAppServerReconcileGitHubDeliveryP import type { RunStore, WorkItemAcceptanceReceipt } from "@ling-stack/core"; import type { DaemonContext } from "../context.js"; import { HttpError } from "../errors.js"; -import { captureCodeAssessmentSnapshot } from "../features/code-assessments/snapshot.js"; +import { captureCodeAssessmentSnapshot, captureCommittedHeadSnapshot } from "../features/code-assessments/snapshot.js"; import { trimOversizedEvent } from "../features/control-plane/events.js"; import { observeGitHubDelivery } from "./app-server-github-ci.js"; import { digest, gitHubReadClient, gitHubWorkItemTargetKey } from "./app-server-github-subject.js"; @@ -19,6 +19,7 @@ export function readGitHubDelivery(store: RunStore, workItemId: string, delivery export async function reconcileGitHubDelivery( context: Pick, params: LingAppServerReconcileGitHubDeliveryParams & { readonly cwd: string }, + scope: "head" | "working_tree" = "head", ): Promise { const { cwd, threadId, workItemId, expectedWorkItemRevision, candidateDigest, repository, pullRequestNumber } = params; const store = context.storeRegistry.getStore(cwd); @@ -33,9 +34,10 @@ export async function reconcileGitHubDelivery( } const client = gitHubReadClient(context, cwd, repository); const previous = store.getAppServerState("github_delivery_current", workItemId); - const capture = () => captureCodeAssessmentSnapshot(cwd, { type: "working_tree" }); + const capture = () => scope === "head" + ? captureCommittedHeadSnapshot(cwd) : captureCodeAssessmentSnapshot(cwd, { type: "working_tree" }); const candidate = await capture(); - if (candidate.coverage !== "complete" || candidate.totalFileCount !== 0 || candidate.digest !== candidateDigest) { + if (candidate.coverage !== "complete" || (scope === "working_tree" && candidate.totalFileCount !== 0) || candidate.digest !== candidateDigest) { throw new HttpError(409, "candidate_stale", "Delivery requires the current committed candidate with full capture coverage."); } const observation = await observeGitHubDelivery(client, pullRequestNumber, previous?.payload as LingAppServerGitHubDelivery | undefined); diff --git a/packages/daemon/src/server/app-server-github-enqueue.ts b/packages/daemon/src/server/app-server-github-enqueue.ts index 6a8581aef..287adfd21 100644 --- a/packages/daemon/src/server/app-server-github-enqueue.ts +++ b/packages/daemon/src/server/app-server-github-enqueue.ts @@ -72,7 +72,7 @@ export async function enqueueGitHubDelivery( const fresh = await reconcileGitHubDelivery(context, { cwd, workItemId: delivery.workItemId, threadId: delivery.threadId, expectedWorkItemRevision: input.expectedWorkItemRevision, repository: delivery.subject.repository, pullRequestNumber: delivery.subject.number, candidateDigest: delivery.candidateDigest, - }); + }, "working_tree"); if (fresh.deliveryId !== input.deliveryId || fresh.checks.some(({ check, outcome }) => check.basis === "head" && outcome !== "passed")) { throw new HttpError(409, "stale_revision", "The delivery or a required head check changed before queue admission."); } diff --git a/packages/daemon/src/server/router.ts b/packages/daemon/src/server/router.ts index 80fccee3c..2725ebd68 100644 --- a/packages/daemon/src/server/router.ts +++ b/packages/daemon/src/server/router.ts @@ -1422,7 +1422,7 @@ export async function routeRequest( if (lingThreadRoute) { await handleLingThreadItem(request, response, url, storeRegistry, lingThreadRoute, { maxBodyBytes: config.maxBodyBytes, - reconcileGitHubDelivery: params => reconcileGitHubDelivery(context, params), + reconcileGitHubDelivery: params => reconcileGitHubDelivery(context, params, "working_tree"), startResumeRun: async (runRequest) => await startDetachedRunAndResolveReady((onRunReady) => executeRunRequest( diff --git a/packages/daemon/src/server/rpc.ts b/packages/daemon/src/server/rpc.ts index e28d2b403..c787248f7 100644 --- a/packages/daemon/src/server/rpc.ts +++ b/packages/daemon/src/server/rpc.ts @@ -723,9 +723,10 @@ class RpcConnection { return await this.development.planVerification(this.workspaceParams(params) as never); case "changes/capture": { const record = this.workspaceParams(params); - if (record.sourceWorktree === undefined) return await captureAppServerChanges(record.cwd); + const scope = record.scope === "head" ? "head" : "working_tree"; + if (record.sourceWorktree === undefined) return await captureAppServerChanges(record.cwd, scope); const { cwd } = this.workspaceParams(params, true); - return await captureAppServerWorktreeChanges(this.context.storeRegistry.getStore(cwd), record.sourceWorktree); + return await captureAppServerWorktreeChanges(this.context.storeRegistry.getStore(cwd), record.sourceWorktree, scope); } case "changes/read": { const record = this.workspaceParams(params, true); @@ -2084,7 +2085,7 @@ class RpcConnection { evidenceRefs: record.evidenceRefs ?? record.completionEvidenceRefs, completionVerificationSummary: record.completionVerificationSummary ?? record.verificationSummary, }); - const prepared = await bindGoalAcceptanceEvidence(store, goal, input, params => reconcileGitHubDelivery(this.context, params)); + const prepared = await bindGoalAcceptanceEvidence(store, goal, input, params => reconcileGitHubDelivery(this.context, params, "working_tree")); const updated = store.updateLingThreadGoal(goal.id, prepared, new Date().toISOString()); if (!updated) throw rpcError(-32040, "workspace_binding_invalid", `Goal was not found: ${goal.id}`); this.publishThreadGoal(store, cwd, updated); diff --git a/packages/daemon/test/app-server-release-acceptance.test.ts b/packages/daemon/test/app-server-release-acceptance.test.ts index 0f674d0e8..35a37d017 100644 --- a/packages/daemon/test/app-server-release-acceptance.test.ts +++ b/packages/daemon/test/app-server-release-acceptance.test.ts @@ -2006,8 +2006,11 @@ test("GitHub delivery keeps head checks across base changes and completes a Goal }); const git = (...args: string[]) => execFileSync("git", args, { cwd: fixture.cwd, encoding: "utf8" }).trim(); await writeFile(join(fixture.cwd, ".gitignore"), ".ling-stack/\n"); - await writeFile(join(fixture.cwd, "replay.txt"), "accepted replay\n"); git("init", "-q", "-b", "main"); + git("add", ".gitignore"); + git("-c", "user.name=Fixture", "-c", "user.email=fixture@example.test", "commit", "-qm", "Baseline"); + const replayFile = join(fixture.cwd, "replay.txt"); + await writeFile(replayFile, "accepted replay\n"); git("add", "."); git("-c", "user.name=Fixture", "-c", "user.email=fixture@example.test", "commit", "-qm", "Candidate"); head = git("rev-parse", "HEAD"); @@ -2064,9 +2067,19 @@ test("GitHub delivery keeps head checks across base changes and completes a Goal }; await assert.rejects(complete(client, current.deliveryId), { code: "goal_completion_evidence_invalid" }); merged = true; + await writeFile(replayFile, "subsequent local changes\n"); + const { candidate: dirty } = await client.call("changes/capture"); + assert.notEqual(dirty.candidateDigest, candidate.candidateDigest); + const committed = await client.call("changes/capture", { scope: "head" }); + assert.equal(committed.headCommit, head); + assert.equal(committed.candidate.candidateDigest, candidate.candidateDigest); + await assert.rejects(client.call("github/delivery/reconcile", { ...input, candidateDigest: dirty.candidateDigest }), { code: "candidate_stale" }); const delivered = await reconcile(); assert.equal(delivered.status, "delivered"); assert.equal(delivered.mergedCommit, newIntegration); + await assert.rejects(complete(client, delivered.deliveryId), { code: "goal_completion_evidence_invalid" }); + assert.equal(await readFile(replayFile, "utf8"), "subsequent local changes\n"); + await writeFile(replayFile, "accepted replay\n"); await fixture.restart(); const restored = await fixture.connect(); assert.deepEqual((await restored.call("workItem/delivery/read", { workItemId })).delivery, delivered); @@ -2197,6 +2210,11 @@ test("GitHub delivery requires current queue membership and a provider-attested await assert.rejects(client.call("github/delivery/enqueue", enqueue), { code: "github_queue_guard_unavailable" }); assert.equal(queueStarts, 0); guardPresent = true; + const uncommitted = join(fixture.cwd, "local-only.txt"); + await writeFile(uncommitted, "Uncommitted queue input\n"); + await assert.rejects(client.call("github/delivery/enqueue", enqueue), { code: "candidate_stale" }); + assert.equal(queueStarts, 0); + await unlink(uncommitted); const first = await client.call("github/delivery/enqueue", enqueue); assert.equal(first.receipt.status, "unknown"); const queued = await client.call("github/delivery/enqueue", enqueue); @@ -3048,7 +3066,7 @@ test("a scheduled coordination occurrence commits with its round, restores its d outputPolicy: { artifactFormat: "markdown", destinations: [{ type: "automation_thread" }] }, nextRunAt: due, }, now); - const policy = { automationId: automation.id, workItemId, expectedRevision: 0, enabled: true, kind: "checkpoint", durationMs: 2200 }; + const policy = { automationId: automation.id, workItemId, expectedRevision: 0, enabled: true, kind: "checkpoint", durationMs: 3500 }; const configured = await client.call<{ schedule: LingAppServerCoordinationSchedule }>("workItem/coordination/schedule/set", policy); assert.equal(configured.schedule.revision, 1); await assert.rejects(client.call("workItem/coordination/schedule/set", { ...policy, enabled: false }), { code: "stale_revision" }); @@ -3105,6 +3123,17 @@ test("a scheduled coordination occurrence commits with its round, restores its d const observer = await fixture.connect(); const afterRestart = fixture.getStore().readScheduledCoordinationRound(round.recordId); assert.equal(afterRestart?.deadlineAt, round.deadlineAt); + const controlScheduler = (action: "start" | "stop") => { + const { daemonUrl, cwd, authToken } = fixture.transportOptions(); + return fetch(`${daemonUrl}/automations/scheduler/${action}?cwd=${encodeURIComponent(cwd)}`, { + method: "POST", headers: { Authorization: `Bearer ${authToken}` }, + }); + }; + assert.equal((await controlScheduler("start")).status, 200); + assert.equal((await controlScheduler("stop")).status, 200); + await delay(Math.max(0, Date.parse(round.deadlineAt) - Date.now()) + 100); + assert.equal(fixture.getStore().readScheduledCoordinationRound(round.recordId)?.closedRecordId, undefined); + assert.equal((await controlScheduler("start")).status, 200); const closed = await waitFor(() => fixture.getStore().readScheduledCoordinationRound(round.recordId)?.closedRecordId); const records = await observer.call("workItem/collaboration/read", { workItemId }); assert.deepEqual(records.records.map(record => record.kind), ["coordination", "brief", "coordination"]); From 686b537cd082505847aa7add68b6b32772e7976e Mon Sep 17 00:00:00 2001 From: tianxiaochannel-oss88 Date: Mon, 23 Nov 2026 07:07:18 +0800 Subject: [PATCH 053/147] feat(workflows): deliver directed messages to queued plan stages --- .../ling-app-server-implementation-plan.md | 3 +- packages/api-client/src/app-server.ts | 6 ++ packages/contracts/src/app-server-schema.ts | 4 +- packages/contracts/src/app-server.ts | 11 +++ .../sqlite/work-item-evidence-store.ts | 4 +- packages/core/src/work-item-collaboration.ts | 6 +- packages/core/src/work-item-evidence-types.ts | 1 + .../daemon/src/features/channels/workflows.ts | 7 +- .../src/features/work-items/stage-messages.ts | 71 +++++++++++++++++++ packages/daemon/src/server/app-server-mcp.ts | 5 ++ packages/daemon/src/server/rpc.ts | 26 +++++-- .../app-server-release-acceptance.test.ts | 23 +++++- 12 files changed, 157 insertions(+), 10 deletions(-) create mode 100644 packages/daemon/src/features/work-items/stage-messages.ts diff --git a/docs/design/ling-app-server-implementation-plan.md b/docs/design/ling-app-server-implementation-plan.md index eec0e4c40..970cff457 100644 --- a/docs/design/ling-app-server-implementation-plan.md +++ b/docs/design/ling-app-server-implementation-plan.md @@ -37,6 +37,7 @@ - 浏览器连接真实 Daemon 时,Work Board 在 P02 上显示工程与 QA 的平票。裁决后通过现有 Control Plane 推送刷新同一详情,呈现选项、裁决依据和执行结果。 - 计划可用 `handoffFromStageIds` 要求接收方先验收上游 Workflow 的结果包。工作看板、App Server、SDK 和 MCP 按当前计划、两个阶段版本及 Work Item revision 接受或退回。协调者接受后,原 Workflow 才放行该步骤。并发 HTTP/RPC 提交与重启复用同一交接回执。Chromium 通过真实 Daemon 接受 QA 交接并退回另一条评审交接,原 Workflow 启动一次 QA,退回的评审保持等待。Git 候选漂移与接手人不可用仍需联合验收。 - `workItem/plan/change/request` 按已接受的阶段依赖生成准入暂停范围,`workItem/plan/change/withdraw` 可释放这一项暂停。暂停、回执和事件一起提交。联合回归覆盖 P01 改动暂停下游阶段,P02 改动期间 QA 可完成交接,重启后恢复原暂停,以及后继 Workflow 绑定时按确认的变更 ID 解除暂停。 +- `workItem/message/send` 支持向当前已接受计划的一项待执行阶段发送定向消息。重启后,Workflow 把原消息回执和正文交给对应参与者的 Pi 输入。其他阶段的模型输入及限域观察者的读接口不会收到正文。 - `workItem/create` 可按原生 ID 显式挂接现有频道 Task 或 AutomationRun。Host 从原执行记录确认归属和状态。并发提交及重启仍读取同一条 Work Item;原执行所有者持有开始、取消和恢复权限。验收中先运行一次 Automation,再从两个客户端挂接同一执行,Provider 总调用数为一次。 - 完成的工作项可用 `workItem/feedback/add` 提交经验审查。Daemon 核对当前 Work Item 和成功 Run 的归属,从 Run 采集有限证据,复用 Learning Review 的 Provider 预算和审查入口。受控验收从 P02 的实际读取证据生成 Memory 候选,重启后按原键找回同一任务。 @@ -64,7 +65,7 @@ | A1、B1、C1、C2 | 全方法的 Schema 校验和更多宿主兼容组合。workspace、Thread、Work Item 的 grant 和 WSS 已接入,审批和用户答复仍需按不同真实宿主与远程部署做验收。App Server 目标游标已绑定存储代次、授权代次和目标,现有兼容用例覆盖本机的上一版源码与候选组合。 | | D1、D2、E1、E2 | 开工与 Pi 运行中的项目规则加载、显式 Claude 规则、两个开发 Skill、工作区 Verify、独立 verifier basis、托管工作树管理、候选改动分页、Turn 改动恢复、选中 hunk 转移和工作台浏览器验证报告已接入。各发行平台验证仍待完成。 | | F1、F2 | 普通会话 Handoff 的候选封存、Goal 预算承接与接手已接入。CLI `app-server codex-host --thread --state --view` 在回环地址提供双端会话视图。本机 Codex 0.171.0-alpha.13、实际 Ling Daemon 与受控 Provider 联调验证两端状态、Ling 在途排队、将事件送入活跃 Codex Turn、浏览器重连补齐和原投递回执重放。浏览器还验证了原 Run 审批提醒在授权端拒绝后消失。跨 Workflow Agent 的预算承接仍待验收。 | -| O1、O3–O9 | GitHub 签名 webhook、轮询和显式接单归并至同一工作项。自动接单策略处理免打扰、并发、启动额度和派发前状态重查。现有 Task 和 AutomationRun 支持显式挂接,已接受的计划能自动开启声明的阶段审议,并可等待当前 Workflow 结果包的交接回执。受影响阶段可按计划变更单独暂停。还需 Channel 与 Automation 的按策略接入、Device Fabric 桥接与反馈、后继计划显式接用仍适用的旧阶段成果、Agent 定向消息和同级问答、候选漂移与接手恢复、计划前和在途审议、跨 Run 预算与完整 O9 联合验收。 | +| O1、O3–O9 | GitHub 签名 webhook、轮询和显式接单归并至同一工作项。自动接单策略处理免打扰、并发、启动额度和派发前状态重查。现有 Task 和 AutomationRun 支持显式挂接,已接受的计划能自动开启声明的阶段审议,并可等待当前 Workflow 结果包的交接回执。受影响阶段可按计划变更单独暂停,待执行阶段可接收定向消息。还需 Channel 与 Automation 的按策略接入、Device Fabric 桥接与反馈、后继计划显式接用仍适用的旧阶段成果、在途 Agent 定向消息和同级问答、候选漂移与接手恢复、计划前和在途审议、跨 Run 预算与完整 O9 联合验收。 | | G | 独立恢复日志已验证 SQLite 快照恢复、撤权、旧游标失效和 GitHub 对账后派发。上一版源码通过同一套本地兼容验收。签名安装产物、实际远程 WSS、受保护 GitHub 仓库及三个真实 Provider 自研试点仍需对应环境的证据。macOS 打包预检需要当前打包输入的 Office 审查、对应 Electron/OS 的受限运行时审查和 gstack 平台资源。T01 离线预检可进入评审,真实试点仍需按 Framework Assurance 准入。 | ## 目标与开工顺序 diff --git a/packages/api-client/src/app-server.ts b/packages/api-client/src/app-server.ts index 3ebe1df58..80de0dfac 100644 --- a/packages/api-client/src/app-server.ts +++ b/packages/api-client/src/app-server.ts @@ -107,6 +107,7 @@ import type { LingAppServerDeliberationSettlementParams, LingAppServerStageDeliberationStartParams, LingAppServerStageHandoffParams, + LingAppServerStageMessageSendParams, LingAppServerWorkItemPlanChangeRequestParams, LingAppServerWorkItemPlanChangeWithdrawParams, LingAppServerWorkItemPlanChangeResult, @@ -627,6 +628,11 @@ export class LingAppServerClient { return await this.request(action === "accept" ? "workItem/handoff/accept" : "workItem/handoff/return", params); } + async sendWorkItemStageMessage(params: LingAppServerStageMessageSendParams): Promise { + await this.connect(); + return await this.request("workItem/message/send", params); + } + async requestWorkItemPlanChange(params: LingAppServerWorkItemPlanChangeRequestParams): Promise { await this.connect(); return await this.request("workItem/plan/change/request", params); diff --git a/packages/contracts/src/app-server-schema.ts b/packages/contracts/src/app-server-schema.ts index 5c596164c..a6cc47cd9 100644 --- a/packages/contracts/src/app-server-schema.ts +++ b/packages/contracts/src/app-server-schema.ts @@ -283,10 +283,12 @@ function schemaFor(method: LingAppServerMethod): LingAppServerMethodSchema { ] } }, [...deliberationSettlementFields, "decision"]), result }; case "workItem/coordination/start": case "workItem/coordination/close": - case "workItem/message/send": case "workItem/question/ask": case "workItem/question/reply": return { params: objectWith(collaborationAppend, ["workItemId"]), result }; + case "workItem/message/send": + return { params: objectWith({ ...collaborationAppend, planRevision: stringSchema, targetStepId: stringSchema, + expectedTargetRevision: stringSchema, body: stringSchema }, ["workItemId"]), result }; case "workItem/handoff/accept": case "workItem/handoff/return": return { params: objectWith({ ...collaborationAppend, planRevision: stringSchema, sourceStepId: stringSchema, targetStepId: stringSchema, diff --git a/packages/contracts/src/app-server.ts b/packages/contracts/src/app-server.ts index 95cbcb5e1..5d70e2cec 100644 --- a/packages/contracts/src/app-server.ts +++ b/packages/contracts/src/app-server.ts @@ -937,6 +937,17 @@ export interface LingAppServerWorkItemCollaborationAppendParams { readonly idempotencyKey: string; } +export interface LingAppServerStageMessageSendParams { + readonly cwd?: string; + readonly workItemId: string; + readonly planRevision: string; + readonly targetStepId: string; + readonly expectedTargetRevision: string; + readonly expectedWorkItemRevision: number; + readonly body: string; + readonly idempotencyKey: string; +} + export interface LingAppServerWorkItemCollaborationAppendResult { readonly status: "appended" | "replayed"; readonly record: LingAppServerWorkItemCollaborationRecord; diff --git a/packages/core/src/storage/sqlite/work-item-evidence-store.ts b/packages/core/src/storage/sqlite/work-item-evidence-store.ts index 1870db585..7a8336c61 100644 --- a/packages/core/src/storage/sqlite/work-item-evidence-store.ts +++ b/packages/core/src/storage/sqlite/work-item-evidence-store.ts @@ -135,12 +135,14 @@ export class SqliteWorkItemEvidenceStore { listWorkItemEvidence(options: ListWorkItemEvidenceOptions): WorkItemEvidenceEntry[] { const limit = Math.min(Math.max(options.limit ?? 100, 1), 500); const afterSequence = options.afterSequence ?? 0; + const prefix = options.recordIdPrefix; return this.context.database.prepare(` SELECT * FROM work_item_evidence WHERE workspace_id = ? AND work_item_id = ? AND sequence > ? + ${prefix ? "AND substr(id, 1, length(?)) = ?" : ""} ORDER BY sequence ASC LIMIT ? - `).all(DEFAULT_WORKSPACE_ID, options.workItemId, afterSequence, limit) + `).all(DEFAULT_WORKSPACE_ID, options.workItemId, afterSequence, ...(prefix ? [prefix, prefix] : []), limit) .map((row) => mapWorkItemEvidence(row as Record)); } } diff --git a/packages/core/src/work-item-collaboration.ts b/packages/core/src/work-item-collaboration.ts index 32c64a626..606879ac5 100644 --- a/packages/core/src/work-item-collaboration.ts +++ b/packages/core/src/work-item-collaboration.ts @@ -9,6 +9,7 @@ import type { LingAppServerWorkItemCollaborationRecord, } from "@ling-stack/contracts"; import type { ControlPlaneEvent, RunStore } from "./run-types.js"; +import type { WorkItemEvidenceVisibility } from "./work-item-evidence-types.js"; export const WORK_ITEM_COLLABORATION_CONTENT_PREFIX = "ling.collaboration.v1:"; @@ -33,6 +34,7 @@ export interface AppendWorkItemCollaborationInput { readonly payload: unknown; readonly parentRecordId?: string; readonly sourceRefs?: readonly WorkItemCollaborationSourceRef[]; + readonly visibility?: WorkItemEvidenceVisibility; readonly idempotencyKey: string; } @@ -69,11 +71,13 @@ export function appendWorkItemCollaboration( kind: evidenceKind(input.kind, input.action), content, sourceRefs: input.sourceRefs ?? [], + visibility: input.visibility, }, now, eventCwd ? { cwd: eventCwd, project: (entry, workItemRevision) => ({ action: `work_item.collaboration.${input.kind}.${input.action}`, - data: { workItemId: entry.workItemId, collaborationId: entry.id, collaborationRevision: entry.sequence, workItemRevision }, + data: { workItemId: entry.workItemId, collaborationId: entry.id, collaborationRevision: entry.sequence, workItemRevision, + ...(input.visibility ? { visibility: input.visibility } : {}) }, }), } : undefined); if (!result) return undefined; diff --git a/packages/core/src/work-item-evidence-types.ts b/packages/core/src/work-item-evidence-types.ts index 605d5b806..f6f0e4230 100644 --- a/packages/core/src/work-item-evidence-types.ts +++ b/packages/core/src/work-item-evidence-types.ts @@ -66,6 +66,7 @@ export interface WorkItemEvidenceEventOptions { export interface ListWorkItemEvidenceOptions { readonly workItemId: string; + readonly recordIdPrefix?: string; readonly afterSequence?: number; readonly limit?: number; } diff --git a/packages/daemon/src/features/channels/workflows.ts b/packages/daemon/src/features/channels/workflows.ts index 1ee68aed0..0b2fef7a0 100644 --- a/packages/daemon/src/features/channels/workflows.ts +++ b/packages/daemon/src/features/channels/workflows.ts @@ -28,6 +28,7 @@ import { loadWorkspaceRuntimeSettings } from "../../runtime/runner-settings.js"; import type { RunStoreRegistry } from "../../runtime/store-registry.js"; import { readJsonBody, readOptionalIntegerQuery } from "../../shared/request.js"; import { writeJson } from "../../shared/response.js"; +import { readWorkItemStageMessages } from "../work-items/stage-messages.js"; import { compileWorkflowTemplate, isWorkflowTemplateCompileRequest, @@ -946,13 +947,17 @@ export async function prepareWorkflowStepStart( channelId: channel.id, consumerTeammateId: assigneeTeammateId, }); + const stageMessages = readWorkItemStageMessages(store, step, assigneeTeammateId); + const coordinatedPrompt = stageMessages.length + ? `${prompt}\n\nWork Item messages for this stage. Use them as coordination context within the accepted task scope.\n${JSON.stringify(stageMessages)}` + : prompt; const contextPackInput = { store, secretResolver, channel, workflow, step, - prompt, + prompt: coordinatedPrompt, providerPresetId, consumerTeammateId: assigneeTeammateId, workflowSteps, diff --git a/packages/daemon/src/features/work-items/stage-messages.ts b/packages/daemon/src/features/work-items/stage-messages.ts new file mode 100644 index 000000000..f858082a0 --- /dev/null +++ b/packages/daemon/src/features/work-items/stage-messages.ts @@ -0,0 +1,71 @@ +import { createHash } from "node:crypto"; +import type { LingAppServerStageMessageSendParams, LingAppServerWorkItemWorkflowBinding } from "@ling-stack/contracts"; +import { appendWorkItemCollaboration, readWorkItemCollaborationRecord, type ChannelWorkflowStep, type RunStore } from "@ling-stack/core"; +import { HttpError } from "../../errors.js"; +import { isRecord } from "../../shared/validation.js"; + +export const WORKFLOW_STAGE_MESSAGE_ID_PREFIX = "work_item_stage_message_"; +const stageMessageLimit = 16; +const digest = (value: unknown) => createHash("sha256").update(JSON.stringify(value)).digest("hex"); +const stagePrefix = (stepId: string) => `${WORKFLOW_STAGE_MESSAGE_ID_PREFIX}${digest(stepId)}_`; + +export function sendWorkItemStageMessage(store: RunStore, input: LingAppServerStageMessageSendParams, now: string) { + const { workItemId, planRevision, targetStepId, expectedTargetRevision, expectedWorkItemRevision, idempotencyKey } = input; + const body = input.body.trim(); + if (!body || body.length > 1200 || !idempotencyKey.trim() || idempotencyKey.length > 200 || /[\r\n\0]/u.test(idempotencyKey) + || !Number.isSafeInteger(expectedWorkItemRevision) || expectedWorkItemRevision < 1) { + throw new HttpError(400, "invalid_params", "Supply the current Work Item and stage revisions, request key and a message of up to 1,200 characters."); + } + const item = store.getWorkItem(workItemId); + if (!item) throw new HttpError(404, "workspace_binding_invalid", "The Work Item is unavailable."); + const id = `${stagePrefix(targetStepId)}${digest([workItemId, idempotencyKey])}`; + const fingerprint = digest([planRevision, targetStepId, expectedTargetRevision, expectedWorkItemRevision, body]); + const prior = readWorkItemCollaborationRecord(store, workItemId, id); + if (prior) { + if (!isRecord(prior.payload) || prior.payload.fingerprint !== fingerprint) { + throw new HttpError(409, "idempotency_conflict", "The stage message key belongs to a different request."); + } + return { status: "replayed" as const, record: { ...prior, workItemRevision: item.revision }, workItemRevision: item.revision }; + } + const target = store.getChannelWorkflowStep(targetStepId); + if (!item.workflowId || !target?.metadata?.planStageId || target.workflowId !== item.workflowId || item.planRevision !== planRevision + || item.revision !== expectedWorkItemRevision || target.updatedAt !== expectedTargetRevision) { + throw new HttpError(409, "stale_revision", "The Work Item, Plan or receiving stage changed."); + } + if (target.status !== "queued" || store.getBlockingResourceLease("workflow_step", target.id) + || ["done", "archived", "cancelled", "superseded"].includes(item.status)) { + throw new HttpError(409, "resume_blocked", "The receiving stage has already left the input queue."); + } + if (store.listWorkItemEvidence({ workItemId, recordIdPrefix: stagePrefix(targetStepId), limit: stageMessageLimit }).length === stageMessageLimit) { + throw new HttpError(409, "resume_blocked", "The receiving stage has reached its coordination input limit."); + } + try { + const result = appendWorkItemCollaboration(store, { + id, workItemId, expectedWorkItemRevision, idempotencyKey, kind: "message", action: "created", actorId: "local-user", + visibility: "participants", + payload: { planRevision, targetStepId, participantId: target.toParticipantId, body, fingerprint }, + sourceRefs: [{ type: "workflow_step", id: target.id, revision: expectedTargetRevision }], + }, now, store.paths.cwd); + if (!result) throw new HttpError(409, "stale_revision", "The Work Item changed before recording the message."); + return result; + } catch (error) { + if (error instanceof Error && error.message === "work_item_evidence_idempotency_conflict") { + throw new HttpError(409, "idempotency_conflict", "The stage message key belongs to a different request."); + } + throw error; + } +} + +export function readWorkItemStageMessages(store: RunStore, step: ChannelWorkflowStep, participantId: string) { + if (!step.metadata?.planStageId || step.toParticipantId !== participantId) return []; + const link = store.getAppServerState("work_item_workflow", step.workflowId)?.payload as { binding: LingAppServerWorkItemWorkflowBinding } | undefined; + const item = link && store.getWorkItem(link.binding.workItemId); + if (!item || item.workflowId !== step.workflowId || !item.planRevision) return []; + return store.listWorkItemEvidence({ workItemId: item.id, recordIdPrefix: stagePrefix(step.id), limit: stageMessageLimit }).flatMap(entry => { + const message = readWorkItemCollaborationRecord(store, item.id, entry.id); + const payload = message?.payload; + return message?.kind === "message" && isRecord(payload) && payload.planRevision === item.planRevision + && payload.targetStepId === step.id && payload.participantId === participantId && typeof payload.body === "string" + ? [{ id: message.id, body: payload.body }] : []; + }); +} diff --git a/packages/daemon/src/server/app-server-mcp.ts b/packages/daemon/src/server/app-server-mcp.ts index f0d48d821..c8d12f46a 100644 --- a/packages/daemon/src/server/app-server-mcp.ts +++ b/packages/daemon/src/server/app-server-mcp.ts @@ -156,6 +156,11 @@ export async function runLingAppServerMcp( inputSchema: z.strictObject({ ...stageHandoff, reason: z.enum(LING_APP_SERVER_STAGE_HANDOFF_RETURN_REASONS) }), annotations: { idempotentHint: true, destructiveHint: false }, }, async params => describe(await client.settleWorkItemStageHandoff("return", params))); + if (methods.has("workItem/message/send")) server.registerTool("ling_stage_message_send", { + description: "Queue coordination context for one receiving stage of the accepted Plan.", + inputSchema: z.strictObject({ ...planChange, targetStepId: objectId, expectedTargetRevision: objectId, body: z.string().min(1).max(1200) }), + annotations: { idempotentHint: true, destructiveHint: false }, + }, async params => describe(await client.sendWorkItemStageMessage(params))); const plan = { threadId: objectId, planId: objectId, expectedRevision: z.number().int().positive() }; if (methods.has("plan/refine")) server.registerTool("ling_plan_refine", { description: "Create the next draft from a Ling Plan at its current revision.", diff --git a/packages/daemon/src/server/rpc.ts b/packages/daemon/src/server/rpc.ts index c787248f7..074f6216c 100644 --- a/packages/daemon/src/server/rpc.ts +++ b/packages/daemon/src/server/rpc.ts @@ -115,6 +115,7 @@ import { listGitHubIntakePolicies, pollGitHubIntake, readGitHubIntake } from "./ import { readGitHubDelivery, reconcileGitHubDelivery } from "./app-server-github-delivery.js"; import { enqueueGitHubDelivery, gitHubQueueReceiptConfirmed, readGitHubQueue } from "./app-server-github-enqueue.js"; import { assertWorkItemConversationAdmission } from "../features/work-items/conversation-admission.js"; +import { sendWorkItemStageMessage, WORKFLOW_STAGE_MESSAGE_ID_PREFIX } from "../features/work-items/stage-messages.js"; import { readWorkItemWorkflowStages, workItemWorkflowSettled } from "../features/work-items/workflow-stages.js"; import { enqueueWorkItemFeedback } from "../features/learning/work-item-feedback.js"; import { readArtifactContentRange, resolveArtifactContentPath } from "../features/runs/artifacts.js"; @@ -925,7 +926,8 @@ class RpcConnection { case "workItem/coordination/schedule/set": return this.coordinationSchedule(method, params); case "workItem/message/send": - return this.appendCollaboration("message", "created", params); + return readParamsRecord(params).targetStepId === undefined + ? this.appendCollaboration("message", "created", params) : this.sendStageMessage(params); case "workItem/message/read": case "workItem/message/list": return this.readCollaboration("message", params); @@ -1279,7 +1281,8 @@ class RpcConnection { if (!store.getWorkItem(workItemId)) throw rpcError(-32040, "workspace_binding_invalid", `Work Item was not found: ${workItemId}`); const afterSequence = readOptionalIntegerField(record, "afterSequence") ?? 0; const evidence = store.listWorkItemEvidence({ workItemId, afterSequence, limit: readOptionalIntegerField(record, "limit") }); - return { cwd, workItemId, evidence, nextAfterSequence: evidence.at(-1)?.sequence ?? afterSequence }; + return { cwd, workItemId, evidence: this.grant ? evidence.filter(entry => entry.visibility === "work_item") : evidence, + nextAfterSequence: evidence.at(-1)?.sequence ?? afterSequence }; } private coordinationSchedule(method: "workItem/coordination/schedule/read" | "workItem/coordination/schedule/set", params: unknown): unknown { @@ -1346,8 +1349,9 @@ class RpcConnection { afterRevision: readOptionalIntegerField(record, "afterRevision"), limit: readOptionalIntegerField(record, "limit"), })); - if (this.grant?.subject.kind !== "workItem") return { cwd, ...result }; - const records = result.records.map(entry => { + if (!this.grant) return { cwd, ...result }; + const records = result.records.filter(entry => !entry.id.startsWith(WORKFLOW_STAGE_MESSAGE_ID_PREFIX)).map(entry => { + if (this.grant?.subject.kind !== "workItem") return entry; if (entry.kind !== "handoff" || !entry.id.startsWith(WORKFLOW_STAGE_HANDOFF_ID_PREFIX)) return entry; const payload = isRecord(entry.payload) && typeof entry.payload.reason === "string" ? { reason: entry.payload.reason } : {}; @@ -1468,6 +1472,19 @@ class RpcConnection { } } + private sendStageMessage(params: unknown): unknown { + const { cwd, ...record } = this.workspaceParams(params, true); + const store = this.context.storeRegistry.getStore(cwd); + const { event, ...receipt } = sendWorkItemStageMessage(store, { + workItemId: readStringField(record, "workItemId"), planRevision: readStringField(record, "planRevision"), + targetStepId: readStringField(record, "targetStepId"), expectedTargetRevision: readStringField(record, "expectedTargetRevision"), + expectedWorkItemRevision: readIntegerField(record, "expectedWorkItemRevision", "expectedWorkItemRevision"), + body: readStringField(record, "body"), idempotencyKey: readStringField(record, "idempotencyKey"), + }, new Date().toISOString()); + if (event) this.context.controlPlaneEvents.publish(trimOversizedEvent(event)); + return { cwd, ...receipt }; + } + private appendCollaboration( kind: import("@ling-stack/contracts").LingAppServerCollaborationKind, action: import("@ling-stack/contracts").LingAppServerCollaborationAction, @@ -3539,6 +3556,7 @@ function appServerEventMethod(event: ControlPlaneEvent): string | undefined { if (event.action === "work_item.thread.linked") return "workItem/thread/linked"; if (event.action.includes("evidence")) return "workItem/evidence/updated"; if (event.action.includes("control")) return "workItem/control/updated"; + if (event.action === "work_item.collaboration.message.created" && event.data.visibility === "participants") return "workItem/message/updated"; if (event.action.includes("collaboration")) return "workItem/collaboration/updated"; if (event.action.includes("delivery")) return "workItem/delivery/updated"; if (event.action.includes("feedback")) return "workItem/feedback/received"; diff --git a/packages/daemon/test/app-server-release-acceptance.test.ts b/packages/daemon/test/app-server-release-acceptance.test.ts index 35a37d017..7876df717 100644 --- a/packages/daemon/test/app-server-release-acceptance.test.ts +++ b/packages/daemon/test/app-server-release-acceptance.test.ts @@ -2767,8 +2767,19 @@ test("a GitHub Work Item recovers its Workflow, gathers independent ballots and }; const implementationHold = await resumedClient.call("workItem/plan/change/request", implementationChange); assert.deepEqual(implementationHold.receipt.affectedStepIds, [p02.id]); + const targetStage = resumedStore.getChannelWorkflowStep(p02.id); + assert.ok(targetStage); + const stageMessage = { + ...changeBasis, expectedWorkItemRevision: Number(implementationHold.workItem.revision), + targetStepId: p02.id, expectedTargetRevision: targetStage.updatedAt, idempotencyKey: "implementation-coordination", + body: "Preserve the exact response order for legacy consumers.", + }; + const coordinated = await resumedClient.call("workItem/message/send", stageMessage); + assert.equal(coordinated.status, "appended"); + assert.equal(coordinated.record.actorId, "local-user"); + await assert.rejects(resumedClient.call("workItem/message/send", { ...stageMessage, body: "Use different input." }), { code: "idempotency_conflict" }); const handoff = { ...offeredHandoff, expectedSourceRevision: revisedSource.updatedAt, - expectedWorkItemRevision: Number(implementationHold.workItem.revision), idempotencyKey: "qa-accept-repaired-contract" }; + expectedWorkItemRevision: coordinated.workItemRevision, idempotencyKey: "qa-accept-repaired-contract" }; const handoffPath = `${itemPath}/handoff`; const { daemonUrl, authToken } = fixture.transportOptions(); const forbiddenHandoff = await fetch(new URL(`${handoffPath}?cwd=${encodeURIComponent(fixture.cwd)}`, daemonUrl), { @@ -2818,6 +2829,9 @@ test("a GitHub Work Item recovers its Workflow, gathers independent ballots and assert.equal(restoredChange.replayed, true); assert.deepEqual(restoredChange.receipt, implementationHold.receipt); await assert.rejects(decisionClient.call("workItem/deliberation/decide", heldDecision), { code: "resume_blocked" }); + const restoredMessage = await decisionClient.call("workItem/message/send", stageMessage); + assert.equal(restoredMessage.status, "replayed"); + assert.equal(restoredMessage.record.id, coordinated.record.id); const releaseImplementation = await decisionClient.call("workItem/plan/change/withdraw", { ...changeBasis, expectedWorkItemRevision: Number(restoredChange.workItem.revision), changeId: restoredChange.receipt.changeId, idempotencyKey: "withdraw-implementation-scope", @@ -2827,6 +2841,9 @@ test("a GitHub Work Item recovers its Workflow, gathers independent ballots and assert.equal(restoredHandoff.status, "replayed"); assert.equal(restoredHandoff.record.id, acceptedHandoff.record.id); const handoffObserver = await fixture.connect("/app-server/rpc", fixture.cwd, `las1.${grant.grantId}.${observerSecret}`); + await assert.rejects(handoffObserver.call("workItem/message/send", stageMessage), { code: "capability_denied" }); + assert.doesNotMatch(JSON.stringify(await handoffObserver.call("workItem/message/list", { workItemId })), /legacy consumers/u); + assert.doesNotMatch(JSON.stringify(await handoffObserver.call("workItem/evidence/read", { workItemId })), /legacy consumers/u); const handoffHistory = await handoffObserver.call("workItem/handoff/read", { workItemId }); assert.deepEqual(handoffHistory.records.map(record => record.id), [returnedHandoff.record.id, acceptedHandoff.record.id]); assert.ok(handoffHistory.records.every(record => record.sourceRefs.length === 0)); @@ -2847,6 +2864,10 @@ test("a GitHub Work Item recovers its Workflow, gathers independent ballots and const input = JSON.stringify(body); return input.includes("Accepted Plan decision:") && input.includes(selected.record.id); }), "The implementation did not receive the accepted decision."); + const recipients = provider.requests.map(body => JSON.stringify(body)).filter(input => input.includes(stageMessage.body)); + assert.ok(recipients.length >= 1, "The queued stage message was missing from the actual Pi prompt."); + assert.ok(recipients.every(input => input.includes(selected.record.id) && input.includes(coordinated.record.id)), + "The message was delivered outside the authorized stage."); const detail = await request(itemPath); assert.equal(detail.status, 200); const body = await detail.json() as { workflow?: LingAppServerWorkItemCollaborationReadResult["workflow"] }; From bd71c324d75a74092961f651b8b0175dc8583166 Mon Sep 17 00:00:00 2001 From: tianxiaochannel-oss88 Date: Mon, 23 Nov 2026 07:14:37 +0800 Subject: [PATCH 054/147] feat(workflows): carry settled independent results into successor plans --- .../ling-app-server-implementation-plan.md | 3 +- packages/contracts/src/app-server-schema.ts | 9 ++-- packages/contracts/src/app-server.ts | 16 +++++++ packages/core/src/storage/sqlite-run-store.ts | 1 + .../src/storage/sqlite/work-item-store.ts | 48 +++++++++++++++++-- .../daemon/src/features/channels/workflows.ts | 10 ++-- .../features/work-items/workflow-stages.ts | 36 ++++++++++---- packages/daemon/src/server/app-server-mcp.ts | 5 +- packages/daemon/src/server/rpc.ts | 26 +++++++++- .../app-server-release-acceptance.test.ts | 20 +++++++- 10 files changed, 148 insertions(+), 26 deletions(-) diff --git a/docs/design/ling-app-server-implementation-plan.md b/docs/design/ling-app-server-implementation-plan.md index 970cff457..072731ec9 100644 --- a/docs/design/ling-app-server-implementation-plan.md +++ b/docs/design/ling-app-server-implementation-plan.md @@ -37,6 +37,7 @@ - 浏览器连接真实 Daemon 时,Work Board 在 P02 上显示工程与 QA 的平票。裁决后通过现有 Control Plane 推送刷新同一详情,呈现选项、裁决依据和执行结果。 - 计划可用 `handoffFromStageIds` 要求接收方先验收上游 Workflow 的结果包。工作看板、App Server、SDK 和 MCP 按当前计划、两个阶段版本及 Work Item revision 接受或退回。协调者接受后,原 Workflow 才放行该步骤。并发 HTTP/RPC 提交与重启复用同一交接回执。Chromium 通过真实 Daemon 接受 QA 交接并退回另一条评审交接,原 Workflow 启动一次 QA,退回的评审保持等待。Git 候选漂移与接手人不可用仍需联合验收。 - `workItem/plan/change/request` 按已接受的阶段依赖生成准入暂停范围,`workItem/plan/change/withdraw` 可释放这一项暂停。暂停、回执和事件一起提交。联合回归覆盖 P01 改动暂停下游阶段,P02 改动期间 QA 可完成交接,重启后恢复原暂停,以及后继 Workflow 绑定时按确认的变更 ID 解除暂停。 +- 绑定已接受的后继 Workflow 时,`retainStageResults` 可显式引用已收敛的独立阶段产物。后继阶段收到来源版本和原产物摘要,可打开所属 Run 的产物,仍按自己的当前验收依据核对结果。回归覆盖原 Run 只启动一次、接手前的过期引用、重复绑定和实际 Pi 输入。 - `workItem/message/send` 支持向当前已接受计划的一项待执行阶段发送定向消息。重启后,Workflow 把原消息回执和正文交给对应参与者的 Pi 输入。其他阶段的模型输入及限域观察者的读接口不会收到正文。 - `workItem/create` 可按原生 ID 显式挂接现有频道 Task 或 AutomationRun。Host 从原执行记录确认归属和状态。并发提交及重启仍读取同一条 Work Item;原执行所有者持有开始、取消和恢复权限。验收中先运行一次 Automation,再从两个客户端挂接同一执行,Provider 总调用数为一次。 - 完成的工作项可用 `workItem/feedback/add` 提交经验审查。Daemon 核对当前 Work Item 和成功 Run 的归属,从 Run 采集有限证据,复用 Learning Review 的 Provider 预算和审查入口。受控验收从 P02 的实际读取证据生成 Memory 候选,重启后按原键找回同一任务。 @@ -65,7 +66,7 @@ | A1、B1、C1、C2 | 全方法的 Schema 校验和更多宿主兼容组合。workspace、Thread、Work Item 的 grant 和 WSS 已接入,审批和用户答复仍需按不同真实宿主与远程部署做验收。App Server 目标游标已绑定存储代次、授权代次和目标,现有兼容用例覆盖本机的上一版源码与候选组合。 | | D1、D2、E1、E2 | 开工与 Pi 运行中的项目规则加载、显式 Claude 规则、两个开发 Skill、工作区 Verify、独立 verifier basis、托管工作树管理、候选改动分页、Turn 改动恢复、选中 hunk 转移和工作台浏览器验证报告已接入。各发行平台验证仍待完成。 | | F1、F2 | 普通会话 Handoff 的候选封存、Goal 预算承接与接手已接入。CLI `app-server codex-host --thread --state --view` 在回环地址提供双端会话视图。本机 Codex 0.171.0-alpha.13、实际 Ling Daemon 与受控 Provider 联调验证两端状态、Ling 在途排队、将事件送入活跃 Codex Turn、浏览器重连补齐和原投递回执重放。浏览器还验证了原 Run 审批提醒在授权端拒绝后消失。跨 Workflow Agent 的预算承接仍待验收。 | -| O1、O3–O9 | GitHub 签名 webhook、轮询和显式接单归并至同一工作项。自动接单策略处理免打扰、并发、启动额度和派发前状态重查。现有 Task 和 AutomationRun 支持显式挂接,已接受的计划能自动开启声明的阶段审议,并可等待当前 Workflow 结果包的交接回执。受影响阶段可按计划变更单独暂停,待执行阶段可接收定向消息。还需 Channel 与 Automation 的按策略接入、Device Fabric 桥接与反馈、后继计划显式接用仍适用的旧阶段成果、在途 Agent 定向消息和同级问答、候选漂移与接手恢复、计划前和在途审议、跨 Run 预算与完整 O9 联合验收。 | +| O1、O3–O9 | GitHub 签名 webhook、轮询和显式接单归并至同一工作项。自动接单策略处理免打扰、并发、启动额度和派发前状态重查。现有 Task 和 AutomationRun 支持显式挂接,已接受的计划能自动开启声明的阶段审议,并可等待当前 Workflow 结果包的交接回执。受影响阶段可单独暂停,后继阶段可显式引用已收敛的独立成果,待执行阶段可接收定向消息。还需 Channel 与 Automation 的按策略接入、Device Fabric 桥接与反馈、承接尚未收敛的独立阶段、在途 Agent 定向消息和同级问答、候选漂移与接手恢复、计划前和在途审议、跨 Run 预算与完整 O9 联合验收。 | | G | 独立恢复日志已验证 SQLite 快照恢复、撤权、旧游标失效和 GitHub 对账后派发。上一版源码通过同一套本地兼容验收。签名安装产物、实际远程 WSS、受保护 GitHub 仓库及三个真实 Provider 自研试点仍需对应环境的证据。macOS 打包预检需要当前打包输入的 Office 审查、对应 Electron/OS 的受限运行时审查和 gstack 平台资源。T01 离线预检可进入评审,真实试点仍需按 Framework Assurance 准入。 | ## 目标与开工顺序 diff --git a/packages/contracts/src/app-server-schema.ts b/packages/contracts/src/app-server-schema.ts index a6cc47cd9..832979731 100644 --- a/packages/contracts/src/app-server-schema.ts +++ b/packages/contracts/src/app-server-schema.ts @@ -244,14 +244,17 @@ function schemaFor(method: LingAppServerMethod): LingAppServerMethodSchema { case "workItem/create": return { params: objectWith({ ...workItemTarget, sourceId: stringSchema, title: stringSchema, gitHubSubject: objectSchema, sourceType: stringSchema, linkExistingExecution: booleanSchema, idempotencyKey: stringSchema }, ["sourceId", "title"]), result }; - case "workItem/workflow/bind": + case "workItem/workflow/bind": { + const resultSource = { sourceStepId: stringSchema, expectedSourceRevision: stringSchema, targetStepId: stringSchema }; return { params: objectWith({ ...workItemTarget, planId: stringSchema, expectedWorkItemRevision: integerSchema, - expectedPlanRevision: integerSchema, idempotencyKey: stringSchema, previousWorkflowId: stringSchema, resolvedPlanChangeIds: stringArraySchema }, + expectedPlanRevision: integerSchema, idempotencyKey: stringSchema, previousWorkflowId: stringSchema, resolvedPlanChangeIds: stringArraySchema, + retainStageResults: { type: "array", items: objectWith(resultSource, Object.keys(resultSource)) } }, ["workItemId", "planId", "expectedWorkItemRevision", "expectedPlanRevision", "idempotencyKey"]), result: objectWith({ cwd: stringSchema, workItem: objectSchema, replayed: booleanSchema, binding: objectWith({ ...workItemTarget, ...threadTarget, workflowId: stringSchema, planId: stringSchema, - planRevision: integerSchema, linkedAt: stringSchema, previousWorkflowId: stringSchema }, + planRevision: integerSchema, linkedAt: stringSchema, previousWorkflowId: stringSchema, retainedStageResults: arraySchema }, ["workItemId", "threadId", "workflowId", "planId", "planRevision", "linkedAt"]) }, ["cwd", "workItem", "binding", "replayed"]) }; + } case "workItem/plan/change/request": case "workItem/plan/change/withdraw": { const change: Record = method === "workItem/plan/change/request" diff --git a/packages/contracts/src/app-server.ts b/packages/contracts/src/app-server.ts index 5d70e2cec..cb78d9816 100644 --- a/packages/contracts/src/app-server.ts +++ b/packages/contracts/src/app-server.ts @@ -698,6 +698,20 @@ export interface LingAppServerWorkItemWorkflowBindParams { readonly idempotencyKey: string; readonly previousWorkflowId?: string; readonly resolvedPlanChangeIds?: readonly string[]; + readonly retainStageResults?: readonly LingAppServerWorkflowStageResultSource[]; +} + +export interface LingAppServerWorkflowStageResultSource { + readonly sourceStepId: string; + readonly expectedSourceRevision: string; + readonly targetStepId: string; +} + +export interface LingAppServerRetainedWorkflowStageResult extends LingAppServerWorkflowStageResultSource { + readonly sourceWorkflowId: string; + readonly sourceStageId: string; + readonly sourceRunId: string; + readonly sourceArtifactId: string; } export interface LingAppServerWorkItemWorkflowBinding { @@ -708,6 +722,7 @@ export interface LingAppServerWorkItemWorkflowBinding { readonly planRevision: number; readonly linkedAt: string; readonly previousWorkflowId?: string; + readonly retainedStageResults?: readonly LingAppServerRetainedWorkflowStageResult[]; } export interface LingAppServerWorkItemWorkflowBindResult extends LingAppServerWorkItemResult { @@ -754,6 +769,7 @@ export interface LingAppServerWorkItemWorkflowStages { readonly brief?: string; readonly decision?: LingAppServerWorkItemStageDecision; readonly handoffs?: readonly LingAppServerStageHandoffProgress[]; + readonly retainedStageResults?: readonly LingAppServerRetainedWorkflowStageResult[]; readonly briefBasis?: { readonly transitionId: string; readonly committedAt: string; diff --git a/packages/core/src/storage/sqlite-run-store.ts b/packages/core/src/storage/sqlite-run-store.ts index 2d76f282b..db06d0eb0 100644 --- a/packages/core/src/storage/sqlite-run-store.ts +++ b/packages/core/src/storage/sqlite-run-store.ts @@ -1770,6 +1770,7 @@ export class SqliteRunStore implements RunStore { getTask: (id) => this.getTask(id), getAutomationRun: (id) => this.getAutomationRun(id), getRun: (id) => this.getRun(id), + getArtifact: (id) => this.getArtifact(id), }, ); this.workItemEvidence = new SqliteWorkItemEvidenceStore({ database: this.database }); diff --git a/packages/core/src/storage/sqlite/work-item-store.ts b/packages/core/src/storage/sqlite/work-item-store.ts index 412080a9e..d5d45d43e 100644 --- a/packages/core/src/storage/sqlite/work-item-store.ts +++ b/packages/core/src/storage/sqlite/work-item-store.ts @@ -40,7 +40,8 @@ import type { SqliteStoreContext } from "./store-context.js"; import type { SqliteAppServerStateStore } from "./app-server-state-store.js"; import type { SqliteControlPlaneStore } from "./control-plane-store.js"; import type { LingAppServerGitHubDelivery, LingAppServerGitHubIntakeReceipt, LingAppServerWorkItemSourceReceipt, WorkItemLinkedExecution, - LingAppServerWorkItemWorkflowBindParams, LingAppServerWorkItemWorkflowBinding } from "@ling-stack/contracts"; + LingAppServerRetainedWorkflowStageResult, LingAppServerWorkItemWorkflowBindParams, LingAppServerWorkItemWorkflowBinding, + LingAppServerWorkflowStageResultSource } from "@ling-stack/contracts"; import type { RunStore } from "../../run-types.js"; import type { ChannelWorkflowStep } from "../../workspace-types.js"; import { readSelectedWorkflowDecision, workItemWorkflowDecisionId } from "../../work-item-workflow-decision.js"; @@ -60,6 +61,7 @@ export interface SqliteWorkItemStorePorts { readonly getTask: RunStore["getTask"]; readonly getAutomationRun: RunStore["getAutomationRun"]; readonly getRun: RunStore["getRun"]; + readonly getArtifact: RunStore["getArtifact"]; } interface WorkItemCreationReceipt { @@ -625,10 +627,12 @@ export class SqliteWorkItemStore { bindWorkflow(input: LingAppServerWorkItemWorkflowBindParams, now: string, state: SqliteAppServerStateStore, events: { readonly store: SqliteControlPlaneStore; readonly cwd: string }, previousWorkflowSettled?: (workflowId: string) => boolean) { - const { workItemId, planId, expectedPlanRevision, expectedWorkItemRevision, idempotencyKey, previousWorkflowId, resolvedPlanChangeIds } = input; + const { workItemId, planId, expectedPlanRevision, expectedWorkItemRevision, idempotencyKey, previousWorkflowId, + resolvedPlanChangeIds, retainStageResults } = input; const fingerprint = createHash("sha256").update(JSON.stringify([workItemId, planId, expectedPlanRevision, expectedWorkItemRevision, ...(previousWorkflowId === undefined ? [] : [previousWorkflowId]), - ...(resolvedPlanChangeIds?.length ? [[...resolvedPlanChangeIds].sort()] : [])])).digest("hex"); + ...(resolvedPlanChangeIds?.length ? [[...resolvedPlanChangeIds].sort()] : []), + ...(retainStageResults?.length ? [retainStageResults.map(result => [result.sourceStepId, result.expectedSourceRevision, result.targetStepId])] : [])])).digest("hex"); const { database } = this.context; database.exec("BEGIN IMMEDIATE"); try { @@ -671,8 +675,22 @@ export class SqliteWorkItemStore { if (previousWorkflowId && !readSqliteWithinTransaction(database, () => previousWorkflowSettled?.(previousWorkflowId))) { throw new Error("work_item_workflow_predecessor_unsettled"); } - const binding = { workItemId, workflowId: workflow.id, threadId: plan.threadId, - planId, planRevision: plan.revision, linkedAt: now, ...(previousWorkflowId ? { previousWorkflowId } : {}) }; + const stageResults: LingAppServerRetainedWorkflowStageResult[] = []; + if (retainStageResults?.length) { + if (!previousWorkflowId || !resolvedChanges.size) throw new Error("work_item_workflow_retained_result_stale"); + const affected = new Set(item.holds.filter(hold => resolvedChanges.has(hold.id)).flatMap(hold => hold.workflowStepIds ?? [])); + for (const input of retainStageResults) { + const target = this.ports.getChannelWorkflowStep(input.targetStepId); + const result = this.readRetainedStageResult(previousWorkflowId, input); + if (!result || affected.has(result.sourceStepId) || target?.workflowId !== workflow.id || target.status !== "queued") { + throw new Error("work_item_workflow_retained_result_stale"); + } + stageResults.push(result); + } + } + const binding: LingAppServerWorkItemWorkflowBinding = { workItemId, workflowId: workflow.id, threadId: plan.threadId, + planId, planRevision: plan.revision, linkedAt: now, ...(previousWorkflowId ? { previousWorkflowId } : {}), + ...(stageResults.length ? { retainedStageResults: stageResults } : {}) }; state.putWithinTransaction({ kind: "work_item_workflow", recordId: workflow.id, idempotencyKey, expectedRevision: 0, payload: { binding, fingerprint } satisfies WorkItemWorkflowLink }, now); database.prepare(`UPDATE work_items SET workflow_id=?, plan_revision=?, channel_id=?, holds_json=?, revision=revision+1, updated_at=?, @@ -701,6 +719,21 @@ export class SqliteWorkItemStore { AND status IN ('queued','running','waiting_for_approval','waiting_for_input') LIMIT 1`).get(threadId)); } + private readRetainedStageResult(sourceWorkflowId: string, input: LingAppServerWorkflowStageResultSource): LingAppServerRetainedWorkflowStageResult | undefined { + const source = this.ports.getChannelWorkflowStep(input.sourceStepId); + const sourceStageId = source?.metadata?.planStageId; + const sourceRunId = source?.runId; + const sourceArtifactId = source?.metadata?.outputArtifactId; + if (!source || source.workflowId !== sourceWorkflowId || source.updatedAt !== input.expectedSourceRevision + || source.status !== "succeeded" || !sourceStageId || !sourceRunId || !sourceArtifactId) return undefined; + const run = this.ports.getRun(sourceRunId); + const artifact = this.ports.getArtifact(sourceArtifactId); + const packet = artifact?.sealedPayload as { readonly workflowId?: string; readonly workflowStepId?: string; readonly runId?: string } | undefined; + if (run?.status !== "succeeded" || run.workflowStepId !== source.id || artifact?.runId !== run.id + || packet?.workflowId !== sourceWorkflowId || packet.workflowStepId !== source.id || packet.runId !== run.id) return undefined; + return { ...input, sourceWorkflowId, sourceStageId, sourceRunId, sourceArtifactId }; + } + getWorkflowAdmissionBlocker(workflowId: string, state: SqliteAppServerStateStore, step?: ChannelWorkflowStep): string | undefined { const link = state.get("work_item_workflow", workflowId)?.payload as WorkItemWorkflowLink | undefined; if (!link) { @@ -722,6 +755,11 @@ export class SqliteWorkItemStore { } const scopedHolds = item.holds.filter(hold => hold.blocksNewAdmission && hold.workflowStepIds); if (step && scopedHolds.some(hold => hold.workflowStepIds!.includes(step.id))) return "work_item_plan_change_pending"; + if (step && binding.retainedStageResults?.some(retained => { + if (retained.targetStepId !== step.id) return false; + const current = this.readRetainedStageResult(retained.sourceWorkflowId, retained); + return current?.sourceRunId !== retained.sourceRunId || current.sourceArtifactId !== retained.sourceArtifactId; + })) return "work_item_retained_stage_stale"; const successor = plan.supersededByPlanId ? this.ports.getProposedPlanArtifact(plan.supersededByPlanId) : undefined; if (successor?.status === "accepted" && successor.acceptedWorkflowId && !(scopedHolds.length && step?.runId && ["running", "waiting_for_input", "waiting_for_approval"].includes(step.status))) { diff --git a/packages/daemon/src/features/channels/workflows.ts b/packages/daemon/src/features/channels/workflows.ts index 0b2fef7a0..0c080eab0 100644 --- a/packages/daemon/src/features/channels/workflows.ts +++ b/packages/daemon/src/features/channels/workflows.ts @@ -29,6 +29,7 @@ import type { RunStoreRegistry } from "../../runtime/store-registry.js"; import { readJsonBody, readOptionalIntegerQuery } from "../../shared/request.js"; import { writeJson } from "../../shared/response.js"; import { readWorkItemStageMessages } from "../work-items/stage-messages.js"; +import { readWorkItemRetainedStageInputs } from "../work-items/workflow-stages.js"; import { compileWorkflowTemplate, isWorkflowTemplateCompileRequest, @@ -948,9 +949,12 @@ export async function prepareWorkflowStepStart( consumerTeammateId: assigneeTeammateId, }); const stageMessages = readWorkItemStageMessages(store, step, assigneeTeammateId); - const coordinatedPrompt = stageMessages.length - ? `${prompt}\n\nWork Item messages for this stage. Use them as coordination context within the accepted task scope.\n${JSON.stringify(stageMessages)}` - : prompt; + const retainedStageInputs = readWorkItemRetainedStageInputs(store, step); + const coordinatedPrompt = [ + prompt, + ...(stageMessages.length ? [`Work Item messages for this stage. Use them as coordination context within the accepted task scope.\n${JSON.stringify(stageMessages)}`] : []), + ...(retainedStageInputs.length ? [`Retained upstream results from the predecessor Plan. Evaluate them against the current Plan's evidence requirements.\n${JSON.stringify(retainedStageInputs)}`] : []), + ].join("\n\n"); const contextPackInput = { store, secretResolver, diff --git a/packages/daemon/src/features/work-items/workflow-stages.ts b/packages/daemon/src/features/work-items/workflow-stages.ts index c3c56b0f9..d72b82337 100644 --- a/packages/daemon/src/features/work-items/workflow-stages.ts +++ b/packages/daemon/src/features/work-items/workflow-stages.ts @@ -9,6 +9,23 @@ import { continuationSourceReady } from "../../runtime/continuation-source-barri import { isRecord } from "../../shared/validation.js"; import { readAppServerStageBallot } from "./stage-ballot.js"; +export function readWorkItemWorkflowBinding(store: RunStore, workflowId: string): LingAppServerWorkItemWorkflowBinding | undefined { + const link = store.getAppServerState("work_item_workflow", workflowId)?.payload as { binding: LingAppServerWorkItemWorkflowBinding } | undefined; + return link?.binding; +} + +export function readWorkItemRetainedStageInputs(store: RunStore, step: ChannelWorkflowStep) { + if (!step.metadata?.planStageId) return []; + const retained = readWorkItemWorkflowBinding(store, step.workflowId)?.retainedStageResults ?? []; + return retained.filter(result => result.targetStepId === step.id).map(result => { + const packet = store.getArtifact(result.sourceArtifactId)?.sealedPayload; + return { + stageId: result.sourceStageId, resultArtifactId: result.sourceArtifactId, + summary: isRecord(packet) && typeof packet.resultSummary === "string" ? packet.resultSummary.slice(0, 500) : undefined, + }; + }); +} + export function workItemWorkflowSettled(store: RunStore, activeRuns: ActiveRunRegistry, workflowId: string): boolean { return store.listChannelWorkflowSteps({ workflowId, complete: true }).every(step => { if (["claimed", "running", "waiting_for_approval", "waiting_for_input"].includes(step.status) @@ -24,10 +41,8 @@ export function workItemWorkflowSettled(store: RunStore, activeRuns: ActiveRunRe /** Work Board and App Server project the actual Workflow owner and its retained evidence. */ export function readWorkItemWorkflowStages(store: RunStore, item: WorkItem, includeEvidence: boolean, offset = 0): LingAppServerWorkItemWorkflowStages | undefined { if (!item.workflowId || !item.planRevision) return undefined; - const link = store.getAppServerState("work_item_workflow", item.workflowId)?.payload as { - readonly binding: LingAppServerWorkItemWorkflowBinding; - } | undefined; - if (!link) return undefined; + const binding = readWorkItemWorkflowBinding(store, item.workflowId); + if (!binding) return undefined; const workflow = store.getChannelWorkflow(item.workflowId); if (!workflow) return undefined; const limit = 20; @@ -49,8 +64,11 @@ export function readWorkItemWorkflowStages(store: RunStore, item: WorkItem, incl ...(includeEvidence ? { runId: step.runId, outputArtifactId: step.metadata?.outputArtifactId, brief: (step.resultSummary ?? step.blocker)?.slice(0, 500), briefBasis: readStageBriefBasis(store, step), - decision: readStageDecision(store, item.id, item.planRevision!, link.binding.planId, step), + decision: readStageDecision(store, item.id, item.planRevision!, binding.planId, step), handoffs: readStageHandoffs(store, item.id, item.planRevision!, step), + ...(binding.retainedStageResults?.length ? { + retainedStageResults: binding.retainedStageResults.filter(result => result.targetStepId === step.id), + } : {}), } : {}), })), }; @@ -112,11 +130,9 @@ export function publishWorkItemWorkflowStep(store: RunStore, events: ControlPlan if (!events) return; const step = store.getChannelWorkflowStep(stepId); if (!step) return; - const link = store.getAppServerState("work_item_workflow", step.workflowId)?.payload as { - binding: import("@ling-stack/contracts").LingAppServerWorkItemWorkflowBinding; - } | undefined; - if (!link) return; - const { workItemId, threadId, planId, planRevision } = link.binding; + const binding = readWorkItemWorkflowBinding(store, step.workflowId); + if (!binding) return; + const { workItemId, threadId, planId, planRevision } = binding; const revision = createHash("sha256").update(JSON.stringify([step.id, step.updatedAt, step.status, step.runId])).digest("hex"); const idempotencyKey = `work-item-stage:${revision}`; if (store.getControlPlaneEventByIdempotency(step.workspaceId, idempotencyKey)) return; diff --git a/packages/daemon/src/server/app-server-mcp.ts b/packages/daemon/src/server/app-server-mcp.ts index c8d12f46a..97dc67529 100644 --- a/packages/daemon/src/server/app-server-mcp.ts +++ b/packages/daemon/src/server/app-server-mcp.ts @@ -124,7 +124,10 @@ export async function runLingAppServerMcp( description: "Bind an accepted Plan to its converted Workflow. To replace a paused, settled Workflow, supply its ID and the accepted successor Plan. Retry with the same key.", inputSchema: z.strictObject({ workItemId: objectId, planId: objectId, expectedPlanRevision: z.number().int().nonnegative(), expectedWorkItemRevision: z.number().int().nonnegative(), idempotencyKey: requestKey, - previousWorkflowId: objectId.optional(), resolvedPlanChangeIds: z.array(objectId).max(50).optional() }), + previousWorkflowId: objectId.optional(), resolvedPlanChangeIds: z.array(objectId).max(50).optional(), + retainStageResults: z.array(z.strictObject({ + sourceStepId: objectId, expectedSourceRevision: objectId, targetStepId: objectId, + })).max(20).optional() }), annotations: { idempotentHint: true, destructiveHint: false }, }, async params => describe(await client.bindWorkItemWorkflow(params))); const planChange = { diff --git a/packages/daemon/src/server/rpc.ts b/packages/daemon/src/server/rpc.ts index 074f6216c..f24b50938 100644 --- a/packages/daemon/src/server/rpc.ts +++ b/packages/daemon/src/server/rpc.ts @@ -48,6 +48,7 @@ import { type LingAppServerWorkItemPlanChangeResult, type LingAppServerWorkItemReadResult, type LingAppServerWorkItemResult, + type LingAppServerWorkflowStageResultSource, } from "@ling-stack/contracts"; import { WebSocket, WebSocketServer, type RawData } from "ws"; import type { DaemonContext } from "../context.js"; @@ -116,7 +117,7 @@ import { readGitHubDelivery, reconcileGitHubDelivery } from "./app-server-github import { enqueueGitHubDelivery, gitHubQueueReceiptConfirmed, readGitHubQueue } from "./app-server-github-enqueue.js"; import { assertWorkItemConversationAdmission } from "../features/work-items/conversation-admission.js"; import { sendWorkItemStageMessage, WORKFLOW_STAGE_MESSAGE_ID_PREFIX } from "../features/work-items/stage-messages.js"; -import { readWorkItemWorkflowStages, workItemWorkflowSettled } from "../features/work-items/workflow-stages.js"; +import { readWorkItemWorkflowBinding, readWorkItemWorkflowStages, workItemWorkflowSettled } from "../features/work-items/workflow-stages.js"; import { enqueueWorkItemFeedback } from "../features/learning/work-item-feedback.js"; import { readArtifactContentRange, resolveArtifactContentPath } from "../features/runs/artifacts.js"; import { isPrivateHostRecoveryArtifact, toPublicArtifactMetadata } from "../features/runs/public-artifacts.js"; @@ -1175,6 +1176,7 @@ class RpcConnection { idempotencyKey: readStringField(record, "idempotencyKey"), previousWorkflowId: readOptionalStringField(record, "previousWorkflowId"), resolvedPlanChangeIds: record.resolvedPlanChangeIds === undefined ? undefined : readPlanScopeIds(record.resolvedPlanChangeIds, 0), + retainStageResults: readRetainedWorkflowStageResults(record.retainStageResults), }; if (input.idempotencyKey.length > 200 || /[\r\n\0]/u.test(input.idempotencyKey)) { throw rpcError(-32602, "invalid_params", "Supply a Work Item binding key of up to 200 characters."); @@ -1193,6 +1195,9 @@ class RpcConnection { if (code === "work_item_workflow_predecessor_unsettled") { throw rpcError(-32061, "resume_blocked", "The predecessor Workflow has unsettled Runs or effects."); } + if (code === "work_item_workflow_retained_result_stale") { + throw rpcError(-32030, "stale_revision", "A retained stage result no longer matches the current predecessor or successor."); + } if (code === "work_item_workflow_not_found") throw rpcError(-32040, "workspace_binding_invalid", "An accepted Work Item and converted Plan in this workspace are required."); throw error; } @@ -2564,9 +2569,11 @@ class RpcConnection { throw rpcError(-32040, "workspace_binding_invalid", "The artifact does not belong to the requested Thread."); } const itemForRequest = requestedWorkItemId ? store.getWorkItem(requestedWorkItemId) : undefined; + const retainedArtifact = itemForRequest?.workflowId && readWorkItemWorkflowBinding(store, itemForRequest.workflowId)?.retainedStageResults + ?.some(result => result.sourceArtifactId === artifact.id && result.sourceRunId === run?.id); if (requestedWorkItemId && (!itemForRequest || !(artifact.runId && itemForRequest.runId === artifact.runId) && !(run?.workflowStepId && itemForRequest.workflowId && store.getChannelWorkflowStep(run.workflowStepId)?.workflowId === itemForRequest.workflowId) - && !itemForRequest.artifactIds.includes(artifact.id) && !itemForRequest.proofArtifactIds.includes(artifact.id))) { + && !retainedArtifact && !itemForRequest.artifactIds.includes(artifact.id) && !itemForRequest.proofArtifactIds.includes(artifact.id))) { throw rpcError(-32040, "workspace_binding_invalid", "The artifact does not belong to the requested Work Item."); } if (this.grant?.subject.kind === "thread" && run?.threadId !== this.grant.subject.id) { @@ -3193,6 +3200,21 @@ function readPlanScopeIds(value: unknown, minimum = 1): readonly string[] { return value as string[]; } +function readRetainedWorkflowStageResults(value: unknown): readonly LingAppServerWorkflowStageResultSource[] | undefined { + if (value === undefined) return undefined; + if (!Array.isArray(value) || value.length > 20) throw rpcError(-32602, "invalid_params", "Supply at most 20 retained stage results."); + const results = value.map(input => { + const record = readParamsRecord(input); + return { sourceStepId: readStringField(record, "sourceStepId"), expectedSourceRevision: readStringField(record, "expectedSourceRevision"), + targetStepId: readStringField(record, "targetStepId") }; + }); + if (results.some(result => Object.values(result).some(field => !field.trim() || field.length > 256)) + || new Set(results.map(result => JSON.stringify([result.sourceStepId, result.targetStepId]))).size !== results.length) { + throw rpcError(-32602, "invalid_params", "Retained stage results require distinct source and target pairs and bounded revisions."); + } + return results; +} + function readOptionalWorkItemSourceType(value: unknown): WorkItemSourceType | undefined { if (value === undefined) return undefined; const sourceTypes: readonly WorkItemSourceType[] = [ diff --git a/packages/daemon/test/app-server-release-acceptance.test.ts b/packages/daemon/test/app-server-release-acceptance.test.ts index 7876df717..31f03e7b4 100644 --- a/packages/daemon/test/app-server-release-acceptance.test.ts +++ b/packages/daemon/test/app-server-release-acceptance.test.ts @@ -3023,13 +3023,29 @@ test("a paused Work Item replaces its accepted Workflow after the old Run settle await fixture.restart(); const restored = await fixture.connect(); await assert.rejects(restored.call("workItem/workflow/bind", { ...rebind, resolvedPlanChangeIds: [] }), { code: "resume_blocked" }); + const retainedSource = fixture.getStore().getChannelWorkflowStep(p01.id); + assert.ok(retainedSource?.metadata?.outputArtifactId); + const retainedResult = { sourceStepId: p01.id, expectedSourceRevision: retainedSource.updatedAt, targetStepId: newStep.id }; + await assert.rejects(restored.call("workItem/workflow/bind", { + ...rebind, retainStageResults: [{ ...retainedResult, expectedSourceRevision: new Date(0).toISOString() }], + }), { code: "stale_revision" }); const [boundSuccessor, replay] = await Promise.all([restored, await fixture.connect()].map(connection => - connection.call("workItem/workflow/bind", rebind))); + connection.call("workItem/workflow/bind", { ...rebind, retainStageResults: [retainedResult] }))); assert.ok(boundSuccessor && replay); assert.deepEqual([boundSuccessor.replayed, replay.replayed].sort(), [false, true]); assert.deepEqual(boundSuccessor.binding, replay.binding); assert.equal(boundSuccessor.binding.previousWorkflowId, original.workflowId); assert.equal(boundSuccessor.binding.workflowId, successor.workflowId); + assert.deepEqual(boundSuccessor.binding.retainedStageResults, [{ + ...retainedResult, sourceWorkflowId: original.workflowId, sourceStageId: "P01", sourceRunId: retainedSource.runId, + sourceArtifactId: retainedSource.metadata.outputArtifactId, + }]); + const stageInputs = await restored.call("workItem/stage/read", { workItemId: item.id }); + assert.deepEqual(stageInputs.workflow?.steps.find(step => step.stepId === newStep.id)?.retainedStageResults, boundSuccessor.binding.retainedStageResults); + const artifact = await restored.call<{ artifact: { id: string } }>("artifact/read", { + workItemId: item.id, artifactId: retainedSource.metadata.outputArtifactId, + }); + assert.equal(artifact.artifact.id, retainedSource.metadata.outputArtifactId); assert.equal(boundSuccessor.workItem.control.state, "paused"); assert.ok(!boundSuccessor.workItem.holds.some(hold => hold.id === scopeChange.receipt.changeId)); await restored.call("workItem/subscribe", { workItemId: item.id, cursor: before.cursor }); @@ -3047,6 +3063,8 @@ test("a paused Work Item replaces its accepted Workflow after the old Run settle assert.equal(restoredStore.listRuns({ workflowStepId: p02.id }).length, 0); assert.equal(restoredStore.listRuns({ workflowStepId: newStep.id }).length, 1); assert.equal(provider.requests.length, 3); + assert.match(JSON.stringify(provider.requests[2]), /Retained upstream results from the predecessor Plan/u); + assert.ok(JSON.stringify(provider.requests[2]).includes(retainedSource.metadata.outputArtifactId)); }); test("App Server reads bounded artifact ranges without exposing private metadata", { timeout: 20_000 }, async t => { From 4c4c1160e766b5f0258f79c7a2d937600379cb12 Mon Sep 17 00:00:00 2001 From: tianxiaochannel-oss88 Date: Mon, 23 Nov 2026 07:25:56 +0800 Subject: [PATCH 055/147] feat(workflows): keep stage questions scoped to the waiting dependency --- .../ling-app-server-implementation-plan.md | 3 +- packages/api-client/src/app-server.ts | 12 ++ packages/contracts/src/app-server-schema.ts | 6 +- packages/contracts/src/app-server.ts | 22 ++++ packages/core/src/index.ts | 1 + packages/core/src/storage/sqlite-run-store.ts | 1 + .../src/storage/sqlite/work-item-store.ts | 7 + .../core/src/work-item-workflow-question.ts | 54 ++++++++ .../daemon/src/features/channels/workflows.ts | 3 + .../features/work-items/stage-questions.ts | 121 ++++++++++++++++++ packages/daemon/src/server/app-server-mcp.ts | 12 ++ packages/daemon/src/server/rpc.ts | 37 +++++- .../app-server-release-acceptance.test.ts | 40 +++++- 13 files changed, 310 insertions(+), 9 deletions(-) create mode 100644 packages/core/src/work-item-workflow-question.ts create mode 100644 packages/daemon/src/features/work-items/stage-questions.ts diff --git a/docs/design/ling-app-server-implementation-plan.md b/docs/design/ling-app-server-implementation-plan.md index 072731ec9..6a6f30fb1 100644 --- a/docs/design/ling-app-server-implementation-plan.md +++ b/docs/design/ling-app-server-implementation-plan.md @@ -39,6 +39,7 @@ - `workItem/plan/change/request` 按已接受的阶段依赖生成准入暂停范围,`workItem/plan/change/withdraw` 可释放这一项暂停。暂停、回执和事件一起提交。联合回归覆盖 P01 改动暂停下游阶段,P02 改动期间 QA 可完成交接,重启后恢复原暂停,以及后继 Workflow 绑定时按确认的变更 ID 解除暂停。 - 绑定已接受的后继 Workflow 时,`retainStageResults` 可显式引用已收敛的独立阶段产物。后继阶段收到来源版本和原产物摘要,可打开所属 Run 的产物,仍按自己的当前验收依据核对结果。回归覆盖原 Run 只启动一次、接手前的过期引用、重复绑定和实际 Pi 输入。 - `workItem/message/send` 支持向当前已接受计划的一项待执行阶段发送定向消息。重启后,Workflow 把原消息回执和正文交给对应参与者的 Pi 输入。其他阶段的模型输入及限域观察者的读接口不会收到正文。 +- 协调者可在两项待执行阶段之间记录同级问答。提问只暂停等待答复的阶段,已有阶段依赖继续由 Workflow 处理。回归覆盖互等拒绝、答复前重启、无关投票继续、一次答复回执和 QA 实际收到该答复。 - `workItem/create` 可按原生 ID 显式挂接现有频道 Task 或 AutomationRun。Host 从原执行记录确认归属和状态。并发提交及重启仍读取同一条 Work Item;原执行所有者持有开始、取消和恢复权限。验收中先运行一次 Automation,再从两个客户端挂接同一执行,Provider 总调用数为一次。 - 完成的工作项可用 `workItem/feedback/add` 提交经验审查。Daemon 核对当前 Work Item 和成功 Run 的归属,从 Run 采集有限证据,复用 Learning Review 的 Provider 预算和审查入口。受控验收从 P02 的实际读取证据生成 Memory 候选,重启后按原键找回同一任务。 @@ -66,7 +67,7 @@ | A1、B1、C1、C2 | 全方法的 Schema 校验和更多宿主兼容组合。workspace、Thread、Work Item 的 grant 和 WSS 已接入,审批和用户答复仍需按不同真实宿主与远程部署做验收。App Server 目标游标已绑定存储代次、授权代次和目标,现有兼容用例覆盖本机的上一版源码与候选组合。 | | D1、D2、E1、E2 | 开工与 Pi 运行中的项目规则加载、显式 Claude 规则、两个开发 Skill、工作区 Verify、独立 verifier basis、托管工作树管理、候选改动分页、Turn 改动恢复、选中 hunk 转移和工作台浏览器验证报告已接入。各发行平台验证仍待完成。 | | F1、F2 | 普通会话 Handoff 的候选封存、Goal 预算承接与接手已接入。CLI `app-server codex-host --thread --state --view` 在回环地址提供双端会话视图。本机 Codex 0.171.0-alpha.13、实际 Ling Daemon 与受控 Provider 联调验证两端状态、Ling 在途排队、将事件送入活跃 Codex Turn、浏览器重连补齐和原投递回执重放。浏览器还验证了原 Run 审批提醒在授权端拒绝后消失。跨 Workflow Agent 的预算承接仍待验收。 | -| O1、O3–O9 | GitHub 签名 webhook、轮询和显式接单归并至同一工作项。自动接单策略处理免打扰、并发、启动额度和派发前状态重查。现有 Task 和 AutomationRun 支持显式挂接,已接受的计划能自动开启声明的阶段审议,并可等待当前 Workflow 结果包的交接回执。受影响阶段可单独暂停,后继阶段可显式引用已收敛的独立成果,待执行阶段可接收定向消息。还需 Channel 与 Automation 的按策略接入、Device Fabric 桥接与反馈、承接尚未收敛的独立阶段、在途 Agent 定向消息和同级问答、候选漂移与接手恢复、计划前和在途审议、跨 Run 预算与完整 O9 联合验收。 | +| O1、O3–O9 | GitHub 签名 webhook、轮询和显式接单归并至同一工作项。自动接单策略处理免打扰、并发、启动额度和派发前状态重查。现有 Task 和 AutomationRun 支持显式挂接,已接受的计划能自动开启声明的阶段审议,并可等待当前 Workflow 结果包的交接回执。受影响阶段可单独暂停,后继阶段可显式引用已收敛的独立成果,待执行阶段可接收定向消息和协调者处理的问答。还需 Channel 与 Automation 的按策略接入、Device Fabric 桥接与反馈、承接尚未收敛的独立阶段、活跃 Agent 的直接投递与自主答复、候选漂移与接手恢复、计划前和在途审议、跨 Run 预算与完整 O9 联合验收。 | | G | 独立恢复日志已验证 SQLite 快照恢复、撤权、旧游标失效和 GitHub 对账后派发。上一版源码通过同一套本地兼容验收。签名安装产物、实际远程 WSS、受保护 GitHub 仓库及三个真实 Provider 自研试点仍需对应环境的证据。macOS 打包预检需要当前打包输入的 Office 审查、对应 Electron/OS 的受限运行时审查和 gstack 平台资源。T01 离线预检可进入评审,真实试点仍需按 Framework Assurance 准入。 | ## 目标与开工顺序 diff --git a/packages/api-client/src/app-server.ts b/packages/api-client/src/app-server.ts index 80de0dfac..bc1c92e26 100644 --- a/packages/api-client/src/app-server.ts +++ b/packages/api-client/src/app-server.ts @@ -108,6 +108,8 @@ import type { LingAppServerStageDeliberationStartParams, LingAppServerStageHandoffParams, LingAppServerStageMessageSendParams, + LingAppServerStageQuestionAskParams, + LingAppServerStageQuestionReplyParams, LingAppServerWorkItemPlanChangeRequestParams, LingAppServerWorkItemPlanChangeWithdrawParams, LingAppServerWorkItemPlanChangeResult, @@ -633,6 +635,16 @@ export class LingAppServerClient { return await this.request("workItem/message/send", params); } + async askWorkItemStageQuestion(params: LingAppServerStageQuestionAskParams): Promise { + await this.connect(); + return await this.request("workItem/question/ask", params); + } + + async replyToWorkItemStageQuestion(params: LingAppServerStageQuestionReplyParams): Promise { + await this.connect(); + return await this.request("workItem/question/reply", params); + } + async requestWorkItemPlanChange(params: LingAppServerWorkItemPlanChangeRequestParams): Promise { await this.connect(); return await this.request("workItem/plan/change/request", params); diff --git a/packages/contracts/src/app-server-schema.ts b/packages/contracts/src/app-server-schema.ts index 832979731..c619a35c2 100644 --- a/packages/contracts/src/app-server-schema.ts +++ b/packages/contracts/src/app-server-schema.ts @@ -286,9 +286,13 @@ function schemaFor(method: LingAppServerMethod): LingAppServerMethodSchema { ] } }, [...deliberationSettlementFields, "decision"]), result }; case "workItem/coordination/start": case "workItem/coordination/close": + return { params: objectWith(collaborationAppend, ["workItemId"]), result }; case "workItem/question/ask": + return { params: objectWith({ ...collaborationAppend, planRevision: stringSchema, waitingStepId: stringSchema, + respondentStepId: stringSchema, question: stringSchema, deadlineAt: stringSchema }, ["workItemId"]), result }; case "workItem/question/reply": - return { params: objectWith(collaborationAppend, ["workItemId"]), result }; + return { params: objectWith({ ...collaborationAppend, questionId: stringSchema, expectedQuestionRevision: integerSchema, + answer: stringSchema }, ["workItemId"]), result }; case "workItem/message/send": return { params: objectWith({ ...collaborationAppend, planRevision: stringSchema, targetStepId: stringSchema, expectedTargetRevision: stringSchema, body: stringSchema }, ["workItemId"]), result }; diff --git a/packages/contracts/src/app-server.ts b/packages/contracts/src/app-server.ts index cb78d9816..72f0f7ec9 100644 --- a/packages/contracts/src/app-server.ts +++ b/packages/contracts/src/app-server.ts @@ -964,6 +964,28 @@ export interface LingAppServerStageMessageSendParams { readonly idempotencyKey: string; } +export interface LingAppServerStageQuestionAskParams { + readonly cwd?: string; + readonly workItemId: string; + readonly planRevision: string; + readonly expectedWorkItemRevision: number; + readonly waitingStepId: string; + readonly respondentStepId: string; + readonly question: string; + readonly deadlineAt: string; + readonly idempotencyKey: string; +} + +export interface LingAppServerStageQuestionReplyParams { + readonly cwd?: string; + readonly workItemId: string; + readonly questionId: string; + readonly expectedQuestionRevision: number; + readonly expectedWorkItemRevision: number; + readonly answer: string; + readonly idempotencyKey: string; +} + export interface LingAppServerWorkItemCollaborationAppendResult { readonly status: "appended" | "replayed"; readonly record: LingAppServerWorkItemCollaborationRecord; diff --git a/packages/core/src/index.ts b/packages/core/src/index.ts index d00ca2b17..e4a46283c 100644 --- a/packages/core/src/index.ts +++ b/packages/core/src/index.ts @@ -153,6 +153,7 @@ export * from "./work-item-evidence-types.js"; export * from "./work-item-collaboration.js"; export * from "./work-item-workflow-decision.js"; export * from "./work-item-workflow-handoff.js"; +export * from "./work-item-workflow-question.js"; export * from "./work-item-deliberation-policy.js"; export * from "./app-server-state-types.js"; export * from "./work-item-evidence-types.js"; diff --git a/packages/core/src/storage/sqlite-run-store.ts b/packages/core/src/storage/sqlite-run-store.ts index db06d0eb0..af068a2eb 100644 --- a/packages/core/src/storage/sqlite-run-store.ts +++ b/packages/core/src/storage/sqlite-run-store.ts @@ -1767,6 +1767,7 @@ export class SqliteRunStore implements RunStore { getChannelWorkflowStep: (id) => this.getChannelWorkflowStep(id), listChannelWorkflowSteps: (options) => this.listChannelWorkflowSteps(options), getWorkItemEvidence: (id) => this.getWorkItemEvidence(id), + listWorkItemEvidence: (options) => this.listWorkItemEvidence(options), getTask: (id) => this.getTask(id), getAutomationRun: (id) => this.getAutomationRun(id), getRun: (id) => this.getRun(id), diff --git a/packages/core/src/storage/sqlite/work-item-store.ts b/packages/core/src/storage/sqlite/work-item-store.ts index d5d45d43e..2e54d43a1 100644 --- a/packages/core/src/storage/sqlite/work-item-store.ts +++ b/packages/core/src/storage/sqlite/work-item-store.ts @@ -46,6 +46,7 @@ import type { RunStore } from "../../run-types.js"; import type { ChannelWorkflowStep } from "../../workspace-types.js"; import { readSelectedWorkflowDecision, workItemWorkflowDecisionId } from "../../work-item-workflow-decision.js"; import { stageHandoffAdmitsTarget } from "../../work-item-workflow-handoff.js"; +import { listWorkItemStageQuestions } from "../../work-item-workflow-question.js"; import { planStageBallotKey } from "../../proposed-plan-mutation.js"; import { normalConversationSubmissionKey } from "../../conversation-item-store-types.js"; import { readSqliteWithinTransaction } from "./read-snapshot.js"; @@ -58,6 +59,7 @@ export interface SqliteWorkItemStorePorts { readonly getChannelWorkflowStep: RunStore["getChannelWorkflowStep"]; readonly listChannelWorkflowSteps: RunStore["listChannelWorkflowSteps"]; readonly getWorkItemEvidence: RunStore["getWorkItemEvidence"]; + readonly listWorkItemEvidence: RunStore["listWorkItemEvidence"]; readonly getTask: RunStore["getTask"]; readonly getAutomationRun: RunStore["getAutomationRun"]; readonly getRun: RunStore["getRun"]; @@ -755,6 +757,11 @@ export class SqliteWorkItemStore { } const scopedHolds = item.holds.filter(hold => hold.blocksNewAdmission && hold.workflowStepIds); if (step && scopedHolds.some(hold => hold.workflowStepIds!.includes(step.id))) return "work_item_plan_change_pending"; + if (step?.metadata?.planStageId && item.planRevision) { + const unanswered = listWorkItemStageQuestions(this.ports, item.id, item.planRevision, step.id).filter(result => !result.reply); + if (unanswered.some(result => Date.parse(result.question.deadlineAt) <= Date.now())) return "work_item_stage_question_overdue"; + if (unanswered.length) return "work_item_stage_question_pending"; + } if (step && binding.retainedStageResults?.some(retained => { if (retained.targetStepId !== step.id) return false; const current = this.readRetainedStageResult(retained.sourceWorkflowId, retained); diff --git a/packages/core/src/work-item-workflow-question.ts b/packages/core/src/work-item-workflow-question.ts new file mode 100644 index 000000000..e4e31a65d --- /dev/null +++ b/packages/core/src/work-item-workflow-question.ts @@ -0,0 +1,54 @@ +import { createHash } from "node:crypto"; +import type { RunStore } from "./run-types.js"; +import { readWorkItemCollaborationRecord } from "./work-item-collaboration.js"; + +type QuestionStore = Pick; + +export const WORKFLOW_STAGE_QUESTION_ID_PREFIX = "work_item_stage_question_"; +export const WORKFLOW_STAGE_QUESTION_ANSWER_ID_PREFIX = "work_item_stage_answer_"; +export const WORKFLOW_STAGE_QUESTION_LIMIT = 64; +const digest = (value: string) => createHash("sha256").update(value).digest("hex"); + +function questionPrefix(planRevision: string, waitingStepId?: string): string { + const plan = WORKFLOW_STAGE_QUESTION_ID_PREFIX + digest(planRevision) + "_"; + return waitingStepId ? plan + digest(waitingStepId) + "_" : plan; +} + +export function workItemStageQuestionId(planRevision: string, waitingStepId: string, requestKey: string): string { + return questionPrefix(planRevision, waitingStepId) + digest(requestKey); +} + +export function workItemStageQuestionAnswerId(questionId: string): string { + return WORKFLOW_STAGE_QUESTION_ANSWER_ID_PREFIX + digest(questionId); +} + +export interface WorkItemStageQuestionPayload { + readonly planRevision: string; + readonly waitingStepId: string; + readonly respondentStepId: string; + readonly question: string; + readonly deadlineAt: string; +} + +export function readWorkItemStageQuestion(store: Pick, workItemId: string, questionId: string) { + if (!questionId.startsWith(WORKFLOW_STAGE_QUESTION_ID_PREFIX)) return undefined; + const record = readWorkItemCollaborationRecord(store, workItemId, questionId); + const question = record?.payload as WorkItemStageQuestionPayload | undefined; + if (record?.kind !== "question" || record.action !== "created" || !question + || typeof question.planRevision !== "string" || typeof question.waitingStepId !== "string" + || typeof question.respondentStepId !== "string" || typeof question.question !== "string" + || typeof question.deadlineAt !== "string") return undefined; + const answer = readWorkItemCollaborationRecord(store, workItemId, workItemStageQuestionAnswerId(questionId)); + const answerText = (answer?.payload as { readonly answer?: unknown } | undefined)?.answer; + const reply = answer?.kind === "question" && answer.action === "replied" && answer.parentRecordId === record.id + && typeof answerText === "string" ? { record: answer, text: answerText } : undefined; + return { record, question, reply }; +} + +export function listWorkItemStageQuestions(store: QuestionStore, workItemId: string, planRevision: string, waitingStepId?: string) { + return store.listWorkItemEvidence({ workItemId, recordIdPrefix: questionPrefix(planRevision, waitingStepId), limit: WORKFLOW_STAGE_QUESTION_LIMIT }) + .flatMap(entry => { + const result = readWorkItemStageQuestion(store, workItemId, entry.id); + return result ? [result] : []; + }); +} diff --git a/packages/daemon/src/features/channels/workflows.ts b/packages/daemon/src/features/channels/workflows.ts index 0c080eab0..142ff2b68 100644 --- a/packages/daemon/src/features/channels/workflows.ts +++ b/packages/daemon/src/features/channels/workflows.ts @@ -29,6 +29,7 @@ import type { RunStoreRegistry } from "../../runtime/store-registry.js"; import { readJsonBody, readOptionalIntegerQuery } from "../../shared/request.js"; import { writeJson } from "../../shared/response.js"; import { readWorkItemStageMessages } from "../work-items/stage-messages.js"; +import { readWorkItemStageQuestionInputs } from "../work-items/stage-questions.js"; import { readWorkItemRetainedStageInputs } from "../work-items/workflow-stages.js"; import { compileWorkflowTemplate, @@ -949,10 +950,12 @@ export async function prepareWorkflowStepStart( consumerTeammateId: assigneeTeammateId, }); const stageMessages = readWorkItemStageMessages(store, step, assigneeTeammateId); + const stageQuestions = readWorkItemStageQuestionInputs(store, step, assigneeTeammateId); const retainedStageInputs = readWorkItemRetainedStageInputs(store, step); const coordinatedPrompt = [ prompt, ...(stageMessages.length ? [`Work Item messages for this stage. Use them as coordination context within the accepted task scope.\n${JSON.stringify(stageMessages)}`] : []), + ...(stageQuestions.length ? [`Work Item questions and replies for the assigned stage.\n${JSON.stringify(stageQuestions)}`] : []), ...(retainedStageInputs.length ? [`Retained upstream results from the predecessor Plan. Evaluate them against the current Plan's evidence requirements.\n${JSON.stringify(retainedStageInputs)}`] : []), ].join("\n\n"); const contextPackInput = { diff --git a/packages/daemon/src/features/work-items/stage-questions.ts b/packages/daemon/src/features/work-items/stage-questions.ts new file mode 100644 index 000000000..75c12a90e --- /dev/null +++ b/packages/daemon/src/features/work-items/stage-questions.ts @@ -0,0 +1,121 @@ +import type { LingAppServerStageQuestionAskParams, LingAppServerStageQuestionReplyParams } from "@ling-stack/contracts"; +import { + appendWorkItemCollaboration, listWorkItemStageQuestions, readWorkItemStageQuestion, WORKFLOW_STAGE_QUESTION_LIMIT, + workItemStageQuestionAnswerId, workItemStageQuestionId, type RunStore, + type AppendWorkItemCollaborationInput, type AppendWorkItemCollaborationResult, type ChannelWorkflowStep, type WorkItemCollaborationRecord, +} from "@ling-stack/core"; +import { HttpError } from "../../errors.js"; +import { readWorkItemWorkflowBinding } from "./workflow-stages.js"; + +export function askWorkItemStageQuestion(store: RunStore, input: LingAppServerStageQuestionAskParams, now: string) { + const { workItemId, planRevision, waitingStepId, respondentStepId, deadlineAt, expectedWorkItemRevision, idempotencyKey } = input; + const question = readQuestionText(input.question, idempotencyKey, expectedWorkItemRevision); + const item = store.getWorkItem(workItemId); + if (!item) throw new HttpError(404, "workspace_binding_invalid", "The Work Item is unavailable."); + const id = workItemStageQuestionId(planRevision, waitingStepId, idempotencyKey); + const payload = { planRevision, waitingStepId, respondentStepId, question, deadlineAt, requestRevision: expectedWorkItemRevision }; + const prior = readWorkItemStageQuestion(store, workItemId, id); + if (prior) return replay(prior.record, idempotencyKey, payload, item.revision); + + const deadline = Date.parse(deadlineAt); + if (!Number.isFinite(deadline) || deadline <= Date.parse(now) || deadline - Date.parse(now) > 86_400_000) { + throw new HttpError(400, "invalid_params", "Choose a question deadline within the next 24 hours."); + } + const waiting = store.getChannelWorkflowStep(waitingStepId); + const respondent = store.getChannelWorkflowStep(respondentStepId); + if (!item.workflowId || item.revision !== expectedWorkItemRevision || item.planRevision !== planRevision + || !waiting?.metadata?.planStageId || !respondent?.metadata?.planStageId + || waiting.workflowId !== item.workflowId || respondent.workflowId !== item.workflowId) { + throw new HttpError(409, "stale_revision", "Choose stages from the current accepted Plan."); + } + if (item.control.state !== "active" || ["done", "archived", "cancelled", "superseded"].includes(item.status) + || [waiting, respondent].some(step => step.status !== "queued" || store.getBlockingResourceLease("workflow_step", step.id))) { + throw new HttpError(409, "resume_blocked", "Both stages must be waiting for their initial Workflow admission."); + } + const existing = listWorkItemStageQuestions(store, workItemId, planRevision); + if (existing.length >= WORKFLOW_STAGE_QUESTION_LIMIT) throw new HttpError(409, "resume_blocked", "The Plan's question limit has been reached."); + const graph = new Map(store.listChannelWorkflowSteps({ workflowId: item.workflowId, complete: true }) + .map(step => [step.id, [...(step.metadata?.dependsOnStepIds ?? [])]])); + for (const { question: outstanding, reply } of existing) { + if (!reply) graph.get(outstanding.waitingStepId)?.push(outstanding.respondentStepId); + } + const reachable = new Set([respondentStepId]); + for (const stepId of reachable) { + if (stepId === waitingStepId) throw new HttpError(409, "work_item_question_cycle", "These stages would be waiting for each other."); + for (const dependency of graph.get(stepId) ?? []) reachable.add(dependency); + } + return appendQuestion(store, { id, workItemId, expectedWorkItemRevision, idempotencyKey, kind: "question", action: "created", + actorId: "local-user", payload, visibility: "participants", + sourceRefs: [{ type: "workflow_step", id: waitingStepId }, { type: "workflow_step", id: respondentStepId }], + }, now); +} + +export function replyToWorkItemStageQuestion(store: RunStore, input: LingAppServerStageQuestionReplyParams, now: string) { + const { workItemId, questionId, expectedQuestionRevision, expectedWorkItemRevision, idempotencyKey } = input; + const answer = readQuestionText(input.answer, idempotencyKey, expectedWorkItemRevision); + const item = store.getWorkItem(workItemId); + const question = readWorkItemStageQuestion(store, workItemId, questionId); + if (!item || !question) throw new HttpError(404, "workspace_binding_invalid", "The stage question is unavailable."); + const payload = { answer, questionRevision: expectedQuestionRevision, requestRevision: expectedWorkItemRevision }; + if (question.reply) return replay(question.reply.record, idempotencyKey, payload, item.revision); + + if (item.planRevision !== question.question.planRevision || item.revision !== expectedWorkItemRevision + || question.record.collaborationRevision !== expectedQuestionRevision) { + throw new HttpError(409, "stale_revision", "The Plan, Work Item or question revision changed."); + } + return appendQuestion(store, { + id: workItemStageQuestionAnswerId(questionId), workItemId, expectedWorkItemRevision, idempotencyKey, kind: "question", + action: "replied", actorId: "local-user", parentRecordId: questionId, payload, visibility: "participants", + }, now); +} + +interface StageQuestionInput { + readonly questionId: string; + readonly question: string; + readonly answer?: string; + readonly answerReceiptId?: string; +} + +export function readWorkItemStageQuestionInputs(store: RunStore, step: ChannelWorkflowStep, participantId: string): readonly StageQuestionInput[] { + if (!step.metadata?.planStageId || step.toParticipantId !== participantId) return []; + const binding = readWorkItemWorkflowBinding(store, step.workflowId); + const item = binding && store.getWorkItem(binding.workItemId); + if (!item || item.workflowId !== step.workflowId || !item.planRevision) return []; + return listWorkItemStageQuestions(store, item.id, item.planRevision).flatMap(({ record, question, reply }) => { + if (question.waitingStepId === step.id && reply) { + return [{ questionId: record.id, question: question.question, answer: reply.text, answerReceiptId: reply.record.id }]; + } + if (question.respondentStepId === step.id && !reply) { + return [{ questionId: record.id, question: question.question }]; + } + return []; + }); +} + +function readQuestionText(value: string, key: string, revision: number): string { + const text = value.trim(); + if (!text || text.length > 1200 || !key.trim() || key.length > 200 || /[\r\n\0]/u.test(key) + || !Number.isSafeInteger(revision) || revision < 1) { + throw new HttpError(400, "invalid_params", "Supply a current revision, bounded request key and text of up to 1,200 characters."); + } + return text; +} + +function replay(record: WorkItemCollaborationRecord, key: string, payload: unknown, workItemRevision: number): AppendWorkItemCollaborationResult { + if (record.idempotencyKey !== key) throw new HttpError(409, "stale_revision", "The question already has a reply."); + if (JSON.stringify(record.payload) !== JSON.stringify(payload)) throw new HttpError(409, "idempotency_conflict", "The request key belongs to different input."); + return { status: "replayed" as const, record: { ...record, workItemRevision }, workItemRevision }; +} + +function appendQuestion(store: RunStore, input: AppendWorkItemCollaborationInput, now: string) { + try { + const result = appendWorkItemCollaboration(store, input, now, store.paths.cwd); + if (!result) throw new HttpError(409, "stale_revision", "The Work Item changed before recording the question."); + return result; + } catch (error) { + if (error instanceof Error && error.message === "work_item_evidence_idempotency_conflict") { + throw new HttpError(409, "idempotency_conflict", "The request key belongs to different input."); + } + throw error; + } +} diff --git a/packages/daemon/src/server/app-server-mcp.ts b/packages/daemon/src/server/app-server-mcp.ts index 97dc67529..a91c11e89 100644 --- a/packages/daemon/src/server/app-server-mcp.ts +++ b/packages/daemon/src/server/app-server-mcp.ts @@ -164,6 +164,18 @@ export async function runLingAppServerMcp( inputSchema: z.strictObject({ ...planChange, targetStepId: objectId, expectedTargetRevision: objectId, body: z.string().min(1).max(1200) }), annotations: { idempotentHint: true, destructiveHint: false }, }, async params => describe(await client.sendWorkItemStageMessage(params))); + if (methods.has("workItem/question/ask")) server.registerTool("ling_stage_question_ask", { + description: "Ask an assigned stage a question and hold the waiting stage's admission until the answer is recorded.", + inputSchema: z.strictObject({ ...planChange, waitingStepId: objectId, respondentStepId: objectId, + deadlineAt: objectId, question: z.string().min(1).max(1200) }), + annotations: { idempotentHint: true, destructiveHint: false }, + }, async params => describe(await client.askWorkItemStageQuestion(params))); + if (methods.has("workItem/question/reply")) server.registerTool("ling_stage_question_reply", { + description: "Record an answer for a current Plan stage question and recheck the waiting stage.", + inputSchema: z.strictObject({ workItemId: objectId, questionId: objectId, expectedQuestionRevision: z.number().int().positive(), + expectedWorkItemRevision: z.number().int().positive(), answer: z.string().min(1).max(1200), idempotencyKey: requestKey }), + annotations: { idempotentHint: true, destructiveHint: false }, + }, async params => describe(await client.replyToWorkItemStageQuestion(params))); const plan = { threadId: objectId, planId: objectId, expectedRevision: z.number().int().positive() }; if (methods.has("plan/refine")) server.registerTool("ling_plan_refine", { description: "Create the next draft from a Ling Plan at its current revision.", diff --git a/packages/daemon/src/server/rpc.ts b/packages/daemon/src/server/rpc.ts index f24b50938..28a632a46 100644 --- a/packages/daemon/src/server/rpc.ts +++ b/packages/daemon/src/server/rpc.ts @@ -6,6 +6,8 @@ import { DEFAULT_WORKSPACE_ID, WORK_ITEM_COLLABORATION_CONTENT_PREFIX, WORKFLOW_STAGE_HANDOFF_ID_PREFIX, + WORKFLOW_STAGE_QUESTION_ID_PREFIX, + WORKFLOW_STAGE_QUESTION_ANSWER_ID_PREFIX, UserInputStoreError, evaluateDeliberationTrigger, type ControlPlaneDomain, @@ -117,6 +119,7 @@ import { readGitHubDelivery, reconcileGitHubDelivery } from "./app-server-github import { enqueueGitHubDelivery, gitHubQueueReceiptConfirmed, readGitHubQueue } from "./app-server-github-enqueue.js"; import { assertWorkItemConversationAdmission } from "../features/work-items/conversation-admission.js"; import { sendWorkItemStageMessage, WORKFLOW_STAGE_MESSAGE_ID_PREFIX } from "../features/work-items/stage-messages.js"; +import { askWorkItemStageQuestion, replyToWorkItemStageQuestion } from "../features/work-items/stage-questions.js"; import { readWorkItemWorkflowBinding, readWorkItemWorkflowStages, workItemWorkflowSettled } from "../features/work-items/workflow-stages.js"; import { enqueueWorkItemFeedback } from "../features/learning/work-item-feedback.js"; import { readArtifactContentRange, resolveArtifactContentPath } from "../features/runs/artifacts.js"; @@ -933,9 +936,11 @@ class RpcConnection { case "workItem/message/list": return this.readCollaboration("message", params); case "workItem/question/ask": - return this.appendCollaboration("question", "created", params); + return readParamsRecord(params).waitingStepId === undefined + ? this.appendCollaboration("question", "created", params) : this.settleStageQuestion("ask", params); case "workItem/question/reply": - return this.appendCollaboration("question", "replied", params); + return readParamsRecord(params).questionId === undefined + ? this.appendCollaboration("question", "replied", params) : this.settleStageQuestion("reply", params); case "workItem/question/read": return this.readCollaboration("question", params); case "workItem/handoff/accept": @@ -1355,7 +1360,8 @@ class RpcConnection { limit: readOptionalIntegerField(record, "limit"), })); if (!this.grant) return { cwd, ...result }; - const records = result.records.filter(entry => !entry.id.startsWith(WORKFLOW_STAGE_MESSAGE_ID_PREFIX)).map(entry => { + const privatePrefixes = [WORKFLOW_STAGE_MESSAGE_ID_PREFIX, WORKFLOW_STAGE_QUESTION_ID_PREFIX, WORKFLOW_STAGE_QUESTION_ANSWER_ID_PREFIX]; + const records = result.records.filter(entry => !privatePrefixes.some(prefix => entry.id.startsWith(prefix))).map(entry => { if (this.grant?.subject.kind !== "workItem") return entry; if (entry.kind !== "handoff" || !entry.id.startsWith(WORKFLOW_STAGE_HANDOFF_ID_PREFIX)) return entry; const payload = isRecord(entry.payload) && typeof entry.payload.reason === "string" @@ -1490,6 +1496,30 @@ class RpcConnection { return { cwd, ...receipt }; } + private settleStageQuestion(action: "ask" | "reply", params: unknown): unknown { + const { cwd, ...record } = this.workspaceParams(params, true); + const store = this.context.storeRegistry.getStore(cwd); + const basis = { + workItemId: readStringField(record, "workItemId"), idempotencyKey: readStringField(record, "idempotencyKey"), + expectedWorkItemRevision: readIntegerField(record, "expectedWorkItemRevision", "expectedWorkItemRevision"), + }; + const now = new Date().toISOString(); + if (action === "reply") appServerRecoveryFor(this.context.config, store)?.assertReady(); + const { event, ...receipt } = action === "ask" ? askWorkItemStageQuestion(store, { + ...basis, planRevision: readStringField(record, "planRevision"), waitingStepId: readStringField(record, "waitingStepId"), + respondentStepId: readStringField(record, "respondentStepId"), question: readStringField(record, "question"), + deadlineAt: readStringField(record, "deadlineAt"), + }, now) : replyToWorkItemStageQuestion(store, { + ...basis, questionId: readStringField(record, "questionId"), answer: readStringField(record, "answer"), + expectedQuestionRevision: readIntegerField(record, "expectedQuestionRevision", "expectedQuestionRevision"), + }, now); + if (event) { + this.context.controlPlaneEvents.publish(trimOversizedEvent(event)); + if (action === "reply") this.context.taskSupervisor.poke(cwd); + } + return { cwd, ...receipt }; + } + private appendCollaboration( kind: import("@ling-stack/contracts").LingAppServerCollaborationKind, action: import("@ling-stack/contracts").LingAppServerCollaborationAction, @@ -3579,6 +3609,7 @@ function appServerEventMethod(event: ControlPlaneEvent): string | undefined { if (event.action.includes("evidence")) return "workItem/evidence/updated"; if (event.action.includes("control")) return "workItem/control/updated"; if (event.action === "work_item.collaboration.message.created" && event.data.visibility === "participants") return "workItem/message/updated"; + if (event.action.startsWith("work_item.collaboration.question.") && event.data.visibility === "participants") return "workItem/question/updated"; if (event.action.includes("collaboration")) return "workItem/collaboration/updated"; if (event.action.includes("delivery")) return "workItem/delivery/updated"; if (event.action.includes("feedback")) return "workItem/feedback/received"; diff --git a/packages/daemon/test/app-server-release-acceptance.test.ts b/packages/daemon/test/app-server-release-acceptance.test.ts index 31f03e7b4..35c34a3a4 100644 --- a/packages/daemon/test/app-server-release-acceptance.test.ts +++ b/packages/daemon/test/app-server-release-acceptance.test.ts @@ -2778,8 +2778,18 @@ test("a GitHub Work Item recovers its Workflow, gathers independent ballots and assert.equal(coordinated.status, "appended"); assert.equal(coordinated.record.actorId, "local-user"); await assert.rejects(resumedClient.call("workItem/message/send", { ...stageMessage, body: "Use different input." }), { code: "idempotency_conflict" }); + const ask = { + ...changeBasis, expectedWorkItemRevision: coordinated.workItemRevision, waitingStepId: qa.id, respondentStepId: p02.id, + deadlineAt: new Date(Date.now() + 60_000).toISOString(), question: "Should the regression include omitted fields?", + idempotencyKey: "qa-compatibility-question", + }; + const question = await resumedClient.call("workItem/question/ask", ask); + assert.equal(question.status, "appended"); + await assert.rejects(resumedClient.call("workItem/question/ask", { + ...ask, expectedWorkItemRevision: question.workItemRevision, waitingStepId: p02.id, respondentStepId: qa.id, idempotencyKey: "mutual-wait", + }), { code: "work_item_question_cycle" }); const handoff = { ...offeredHandoff, expectedSourceRevision: revisedSource.updatedAt, - expectedWorkItemRevision: coordinated.workItemRevision, idempotencyKey: "qa-accept-repaired-contract" }; + expectedWorkItemRevision: question.workItemRevision, idempotencyKey: "qa-accept-repaired-contract" }; const handoffPath = `${itemPath}/handoff`; const { daemonUrl, authToken } = fixture.transportOptions(); const forbiddenHandoff = await fetch(new URL(`${handoffPath}?cwd=${encodeURIComponent(fixture.cwd)}`, daemonUrl), { @@ -2797,7 +2807,9 @@ test("a GitHub Work Item recovers its Workflow, gathers independent ballots and assert.deepEqual(new Set([acceptedHandoff.status, repeatedHandoff.status]), new Set(["appended", "replayed"])); assert.equal(acceptedHandoff.record.id, repeatedHandoff.record.id); assert.ok(acceptedHandoff.record.sourceRefs.some(source => source.id === revisedArtifact.id)); - assert.equal((await readBrief(resumedClient)).workflow?.steps.find(step => step.stepId === qa.id)?.handoffs?.[0]?.status, "accepted"); + const awaitingReply = (await readBrief(resumedClient)).workflow?.steps.find(step => step.stepId === qa.id); + assert.equal(awaitingReply?.handoffs?.[0]?.status, "accepted"); + assert.equal(awaitingReply.admissionBlocker, "work_item_stage_question_pending"); const readBallots = (connection: typeof client) => connection.call( "workItem/deliberation/read", { workItemId: item.id }); assert.deepEqual((await readBallots(resumedClient)).ballots, [{ roundId: round.id, status: "waiting" }]); @@ -2813,7 +2825,8 @@ test("a GitHub Work Item recovers its Workflow, gathers independent ballots and }; await assert.rejects(resumedClient.call("workItem/deliberation/decide", heldDecision), { code: "resume_blocked" }); completeQaVote(); - await waitFor(() => [engineerVote, qaVote, qa].every(step => resumedStore.getChannelWorkflowStep(step.id)?.status === "succeeded") ? true : undefined); + await waitFor(() => [engineerVote, qaVote].every(step => resumedStore.getChannelWorkflowStep(step.id)?.status === "succeeded") ? true : undefined); + assert.equal(resumedStore.listRuns({ workflowStepId: qa.id }).length, 0); await fixture.restart(); const decisionClient = await fixture.connect(); const [readyBallot] = (await readBallots(decisionClient)).ballots ?? []; @@ -2832,8 +2845,22 @@ test("a GitHub Work Item recovers its Workflow, gathers independent ballots and const restoredMessage = await decisionClient.call("workItem/message/send", stageMessage); assert.equal(restoredMessage.status, "replayed"); assert.equal(restoredMessage.record.id, coordinated.record.id); + const restoredQuestion = await decisionClient.call("workItem/question/ask", ask); + assert.equal(restoredQuestion.status, "replayed"); + assert.equal(restoredQuestion.record.id, question.record.id); + assert.equal((await readBrief(decisionClient)).workflow?.steps.find(step => step.stepId === qa.id)?.admissionBlocker, "work_item_stage_question_pending"); + const reply = { + workItemId, questionId: question.record.id, expectedQuestionRevision: question.record.collaborationRevision, + expectedWorkItemRevision: restoredMessage.workItemRevision, answer: "Include omitted optional fields in the QA checks.", idempotencyKey: "qa-compatibility-answer", + }; + await assert.rejects(decisionClient.call("workItem/question/reply", { ...reply, expectedQuestionRevision: 1 }), { code: "stale_revision" }); + const answered = await decisionClient.call("workItem/question/reply", reply); + const repeatedAnswer = await decisionClient.call("workItem/question/reply", reply); + assert.equal(repeatedAnswer.status, "replayed"); + assert.equal(repeatedAnswer.record.id, answered.record.id); + await waitFor(() => fixture.getStore().getChannelWorkflowStep(qa.id)?.status === "succeeded" ? true : undefined); const releaseImplementation = await decisionClient.call("workItem/plan/change/withdraw", { - ...changeBasis, expectedWorkItemRevision: Number(restoredChange.workItem.revision), + ...changeBasis, expectedWorkItemRevision: answered.workItemRevision, changeId: restoredChange.receipt.changeId, idempotencyKey: "withdraw-implementation-scope", }); const decision = { ...heldDecision, expectedWorkItemRevision: Number(releaseImplementation.workItem.revision) }; @@ -2844,6 +2871,7 @@ test("a GitHub Work Item recovers its Workflow, gathers independent ballots and await assert.rejects(handoffObserver.call("workItem/message/send", stageMessage), { code: "capability_denied" }); assert.doesNotMatch(JSON.stringify(await handoffObserver.call("workItem/message/list", { workItemId })), /legacy consumers/u); assert.doesNotMatch(JSON.stringify(await handoffObserver.call("workItem/evidence/read", { workItemId })), /legacy consumers/u); + assert.doesNotMatch(JSON.stringify(await handoffObserver.call("workItem/question/read", { workItemId })), /omitted optional fields/u); const handoffHistory = await handoffObserver.call("workItem/handoff/read", { workItemId }); assert.deepEqual(handoffHistory.records.map(record => record.id), [returnedHandoff.record.id, acceptedHandoff.record.id]); assert.ok(handoffHistory.records.every(record => record.sourceRefs.length === 0)); @@ -2868,6 +2896,10 @@ test("a GitHub Work Item recovers its Workflow, gathers independent ballots and assert.ok(recipients.length >= 1, "The queued stage message was missing from the actual Pi prompt."); assert.ok(recipients.every(input => input.includes(selected.record.id) && input.includes(coordinated.record.id)), "The message was delivered outside the authorized stage."); + const answers = provider.requests.map(body => JSON.stringify(body)).filter(input => input.includes(reply.answer)); + assert.equal(answers.length, 1); + assert.match(answers[0]!, /Assigned teammate: QA/u); + assert.ok(answers[0]!.includes(answered.record.id)); const detail = await request(itemPath); assert.equal(detail.status, 200); const body = await detail.json() as { workflow?: LingAppServerWorkItemCollaborationReadResult["workflow"] }; From 8c583d66eae20d53bc3dc1500f907765499f3603 Mon Sep 17 00:00:00 2001 From: tianxiaochannel-oss88 Date: Mon, 23 Nov 2026 07:35:39 +0800 Subject: [PATCH 056/147] fix(workflows): revalidate the Git candidate at handoff and admission --- .../ling-app-server-implementation-plan.md | 6 +- packages/contracts/src/app-server-schema.ts | 3 +- packages/contracts/src/app-server.ts | 2 + .../core/src/work-item-workflow-handoff.ts | 1 + .../src/features/channels/orchestrator.ts | 4 ++ .../daemon/src/features/channels/workflows.ts | 4 ++ .../work-items/stage-handoff-candidates.ts | 29 ++++++++ .../features/work-items/workflow-stages.ts | 2 +- packages/daemon/src/server/app-server-mcp.ts | 2 +- .../src/server/app-server-stage-handoff.ts | 43 +++++++++--- packages/daemon/src/server/rpc.ts | 4 +- .../app-server-release-acceptance.test.ts | 68 +++++++++++++++++-- 12 files changed, 145 insertions(+), 23 deletions(-) create mode 100644 packages/daemon/src/features/work-items/stage-handoff-candidates.ts diff --git a/docs/design/ling-app-server-implementation-plan.md b/docs/design/ling-app-server-implementation-plan.md index 6a6f30fb1..e70eb36ae 100644 --- a/docs/design/ling-app-server-implementation-plan.md +++ b/docs/design/ling-app-server-implementation-plan.md @@ -35,7 +35,7 @@ - Work Board 与 App Server 使用同一套阶段、简报、阻塞和运行证据投影。阶段简报的来源是已提交的步骤状态迁移。看板支持分页与重试,并随 `work_items` 事件刷新。 - 声明了裁决条件的步骤等待该 Work Item、已接受 Plan 和步骤的裁决回执。计划可指定独立的投票阶段与法定人数,也可在前置阶段完成时自动开启审议。Workflow 按原阶段负责人执行投票,各投票 Run 的工具列表为空。Host 在投票阶段全部结束后从终态 Run 核对选项和身份。协调者可以在裁决前查看票数和是否平票,裁决收据保留统计结果。回归覆盖等待票数、平票后的人工裁决、重启和派发一次。独立 QA 仍按自己的前置条件执行。 - 浏览器连接真实 Daemon 时,Work Board 在 P02 上显示工程与 QA 的平票。裁决后通过现有 Control Plane 推送刷新同一详情,呈现选项、裁决依据和执行结果。 -- 计划可用 `handoffFromStageIds` 要求接收方先验收上游 Workflow 的结果包。工作看板、App Server、SDK 和 MCP 按当前计划、两个阶段版本及 Work Item revision 接受或退回。协调者接受后,原 Workflow 才放行该步骤。并发 HTTP/RPC 提交与重启复用同一交接回执。Chromium 通过真实 Daemon 接受 QA 交接并退回另一条评审交接,原 Workflow 启动一次 QA,退回的评审保持等待。Git 候选漂移与接手人不可用仍需联合验收。 +- 计划可用 `handoffFromStageIds` 要求接收方先验收上游 Workflow 的结果包。工作看板、App Server、SDK 和 MCP 按当前计划、两个阶段版本及 Work Item revision 接受或退回。并发 HTTP/RPC 提交与重启复用同一回执。Chromium 通过真实 Daemon 接受 QA 交接并退回另一条评审交接,原 Workflow 启动一次 QA,退回的评审保持等待。接受时可提供上游 Git 候选摘要,Daemon 在接受和下游准入时核对实际工作树。联合回归覆盖两处实际 Git 漂移和恢复。接手人不可用仍需联合验收。 - `workItem/plan/change/request` 按已接受的阶段依赖生成准入暂停范围,`workItem/plan/change/withdraw` 可释放这一项暂停。暂停、回执和事件一起提交。联合回归覆盖 P01 改动暂停下游阶段,P02 改动期间 QA 可完成交接,重启后恢复原暂停,以及后继 Workflow 绑定时按确认的变更 ID 解除暂停。 - 绑定已接受的后继 Workflow 时,`retainStageResults` 可显式引用已收敛的独立阶段产物。后继阶段收到来源版本和原产物摘要,可打开所属 Run 的产物,仍按自己的当前验收依据核对结果。回归覆盖原 Run 只启动一次、接手前的过期引用、重复绑定和实际 Pi 输入。 - `workItem/message/send` 支持向当前已接受计划的一项待执行阶段发送定向消息。重启后,Workflow 把原消息回执和正文交给对应参与者的 Pi 输入。其他阶段的模型输入及限域观察者的读接口不会收到正文。 @@ -64,10 +64,10 @@ | 工作包 | 代码或验收差距 | | --- | --- | -| A1、B1、C1、C2 | 全方法的 Schema 校验和更多宿主兼容组合。workspace、Thread、Work Item 的 grant 和 WSS 已接入,审批和用户答复仍需按不同真实宿主与远程部署做验收。App Server 目标游标已绑定存储代次、授权代次和目标,现有兼容用例覆盖本机的上一版源码与候选组合。 | +| A1、B1、C1、C2 | 全方法的 Schema 校验和更多宿主兼容组合。workspace、Thread、Work Item 的 grant 和 WSS 已接入。专用 TLS 监听器实测分离控制和答复权限,支持用户答复原回执与撤权。审批和答复仍需在其他宿主和实际远程部署验收。目标游标已绑定存储代次、授权代次和目标,本机兼容用例覆盖上一版源码与候选组合。 | | D1、D2、E1、E2 | 开工与 Pi 运行中的项目规则加载、显式 Claude 规则、两个开发 Skill、工作区 Verify、独立 verifier basis、托管工作树管理、候选改动分页、Turn 改动恢复、选中 hunk 转移和工作台浏览器验证报告已接入。各发行平台验证仍待完成。 | | F1、F2 | 普通会话 Handoff 的候选封存、Goal 预算承接与接手已接入。CLI `app-server codex-host --thread --state --view` 在回环地址提供双端会话视图。本机 Codex 0.171.0-alpha.13、实际 Ling Daemon 与受控 Provider 联调验证两端状态、Ling 在途排队、将事件送入活跃 Codex Turn、浏览器重连补齐和原投递回执重放。浏览器还验证了原 Run 审批提醒在授权端拒绝后消失。跨 Workflow Agent 的预算承接仍待验收。 | -| O1、O3–O9 | GitHub 签名 webhook、轮询和显式接单归并至同一工作项。自动接单策略处理免打扰、并发、启动额度和派发前状态重查。现有 Task 和 AutomationRun 支持显式挂接,已接受的计划能自动开启声明的阶段审议,并可等待当前 Workflow 结果包的交接回执。受影响阶段可单独暂停,后继阶段可显式引用已收敛的独立成果,待执行阶段可接收定向消息和协调者处理的问答。还需 Channel 与 Automation 的按策略接入、Device Fabric 桥接与反馈、承接尚未收敛的独立阶段、活跃 Agent 的直接投递与自主答复、候选漂移与接手恢复、计划前和在途审议、跨 Run 预算与完整 O9 联合验收。 | +| O1、O3–O9 | GitHub 签名 webhook、轮询和显式接单归并至同一工作项。自动接单策略处理免打扰、并发、启动额度和派发前状态重查。现有 Task 和 AutomationRun 支持显式挂接,已接受的计划能自动开启声明的阶段审议,并可等待当前 Workflow 结果包的交接回执。受影响阶段可单独暂停,后继阶段可显式引用已收敛的独立成果,待执行阶段可接收定向消息和协调者处理的问答。还需 Channel 与 Automation 的按策略接入、Device Fabric 桥接与反馈、承接尚未收敛的独立阶段、活跃 Agent 的直接投递与自主答复、接手人不可用后的恢复、计划前和在途审议、跨 Run 预算与完整 O9 联合验收。 | | G | 独立恢复日志已验证 SQLite 快照恢复、撤权、旧游标失效和 GitHub 对账后派发。上一版源码通过同一套本地兼容验收。签名安装产物、实际远程 WSS、受保护 GitHub 仓库及三个真实 Provider 自研试点仍需对应环境的证据。macOS 打包预检需要当前打包输入的 Office 审查、对应 Electron/OS 的受限运行时审查和 gstack 平台资源。T01 离线预检可进入评审,真实试点仍需按 Framework Assurance 准入。 | ## 目标与开工顺序 diff --git a/packages/contracts/src/app-server-schema.ts b/packages/contracts/src/app-server-schema.ts index c619a35c2..1849da63f 100644 --- a/packages/contracts/src/app-server-schema.ts +++ b/packages/contracts/src/app-server-schema.ts @@ -299,7 +299,8 @@ function schemaFor(method: LingAppServerMethod): LingAppServerMethodSchema { case "workItem/handoff/accept": case "workItem/handoff/return": return { params: objectWith({ ...collaborationAppend, planRevision: stringSchema, sourceStepId: stringSchema, targetStepId: stringSchema, - expectedSourceRevision: stringSchema, expectedTargetRevision: stringSchema, reason: stringSchema, detail: stringSchema }, ["workItemId"]), result }; + expectedSourceRevision: stringSchema, expectedTargetRevision: stringSchema, expectedCandidateDigest: stringSchema, + reason: stringSchema, detail: stringSchema }, ["workItemId"]), result }; case "workItem/feedback/add": return { params: objectWith({ ...collaborationAppend, sourceRunId: stringSchema, providerPresetId: stringSchema }, ["workItemId"]), result: { oneOf: [ diff --git a/packages/contracts/src/app-server.ts b/packages/contracts/src/app-server.ts index 72f0f7ec9..bd08cb6b4 100644 --- a/packages/contracts/src/app-server.ts +++ b/packages/contracts/src/app-server.ts @@ -921,6 +921,7 @@ export interface LingAppServerStageHandoffParams { readonly expectedTargetRevision: string; readonly expectedWorkItemRevision: number; readonly idempotencyKey: string; + readonly expectedCandidateDigest?: string; readonly reason?: LingAppServerStageHandoffReturnReason; readonly detail?: string; } @@ -931,6 +932,7 @@ export interface LingAppServerStageHandoffProgress { readonly sourceRevision: string; readonly status: "awaiting_source" | "awaiting_acceptance" | "accepted" | "returned"; readonly receiptId?: string; + readonly candidateDigest?: string; readonly reason?: LingAppServerStageHandoffReturnReason; } diff --git a/packages/core/src/work-item-workflow-handoff.ts b/packages/core/src/work-item-workflow-handoff.ts index e7b727def..3670c4e05 100644 --- a/packages/core/src/work-item-workflow-handoff.ts +++ b/packages/core/src/work-item-workflow-handoff.ts @@ -19,6 +19,7 @@ export interface WorkflowStageHandoffDecision { readonly targetRevision: string; readonly sourceArtifactId?: string; readonly sourceRunId?: string; + readonly candidateDigest?: string; readonly reason?: LingAppServerStageHandoffReturnReason; readonly detail?: string; } diff --git a/packages/daemon/src/features/channels/orchestrator.ts b/packages/daemon/src/features/channels/orchestrator.ts index 11daa66d8..812b88d7e 100644 --- a/packages/daemon/src/features/channels/orchestrator.ts +++ b/packages/daemon/src/features/channels/orchestrator.ts @@ -295,6 +295,10 @@ export async function orchestrateChannelWorkflow(input: OrchestrateWorkflowInput if (started.code === "resource_conflict") { continue; } + if (started.code === "work_item_handoff_candidate_stale") { + blockedResults.push({ status: "blocked", workflow: currentWorkflow, workflowStep: latestCandidate, blocker: started.code }); + continue; + } throw new HttpError(started.statusCode, started.code, started.message); } diff --git a/packages/daemon/src/features/channels/workflows.ts b/packages/daemon/src/features/channels/workflows.ts index 142ff2b68..29d703f1c 100644 --- a/packages/daemon/src/features/channels/workflows.ts +++ b/packages/daemon/src/features/channels/workflows.ts @@ -31,6 +31,7 @@ import { writeJson } from "../../shared/response.js"; import { readWorkItemStageMessages } from "../work-items/stage-messages.js"; import { readWorkItemStageQuestionInputs } from "../work-items/stage-questions.js"; import { readWorkItemRetainedStageInputs } from "../work-items/workflow-stages.js"; +import { workItemHandoffCandidatesCurrent } from "../work-items/stage-handoff-candidates.js"; import { compileWorkflowTemplate, isWorkflowTemplateCompileRequest, @@ -1073,6 +1074,9 @@ export async function prepareWorkflowStepStart( } catch (error) { return fail(409, "workflow_safety_mismatch", error instanceof Error ? error.message : String(error)); } + if (step.metadata?.requiredPlanHandoffStepIds?.length && !await workItemHandoffCandidatesCurrent(store, step)) { + return fail(409, "work_item_handoff_candidate_stale", "The accepted handoff uses a different worktree candidate."); + } const begun = store.beginChannelWorkflowStepStart({ workflowStepId: step.id, expected: step, leaseId: lease.id, now: new Date().toISOString(), executionPermit, diff --git a/packages/daemon/src/features/work-items/stage-handoff-candidates.ts b/packages/daemon/src/features/work-items/stage-handoff-candidates.ts new file mode 100644 index 000000000..b7080b669 --- /dev/null +++ b/packages/daemon/src/features/work-items/stage-handoff-candidates.ts @@ -0,0 +1,29 @@ +import { readWorkflowStageHandoff, type ChannelWorkflowStep, type RunStore } from "@ling-stack/core"; +import { captureCodeAssessmentSnapshot } from "../code-assessments/snapshot.js"; +import { readWorkItemWorkflowBinding } from "./workflow-stages.js"; + +export async function readCompleteHandoffCandidate(cwd: string): Promise { + const snapshot = await captureCodeAssessmentSnapshot(cwd, { type: "working_tree" }).catch(() => undefined); + return snapshot?.coverage === "complete" ? snapshot.digest : undefined; +} + +export async function workItemHandoffCandidatesCurrent(store: RunStore, step: ChannelWorkflowStep): Promise { + const sourceIds = step.metadata?.requiredPlanHandoffStepIds; + if (!sourceIds?.length) return true; + const link = readWorkItemWorkflowBinding(store, step.workflowId); + const item = link && store.getWorkItem(link.workItemId); + if (!item?.planRevision) return false; + const captured = new Map(); + for (const sourceStepId of sourceIds) { + const source = store.getChannelWorkflowStep(sourceStepId); + const handoff = source && readWorkflowStageHandoff(store, { + workItemId: item.id, planRevision: item.planRevision, sourceStepId, sourceRevision: source.updatedAt, targetStepId: step.id, + }); + if (!handoff?.decision.candidateDigest) continue; + const sourceRun = handoff.decision.sourceRunId && store.getRun(handoff.decision.sourceRunId); + if (!sourceRun) return false; + if (!captured.has(sourceRun.cwd)) captured.set(sourceRun.cwd, await readCompleteHandoffCandidate(sourceRun.cwd)); + if (captured.get(sourceRun.cwd) !== handoff.decision.candidateDigest) return false; + } + return true; +} diff --git a/packages/daemon/src/features/work-items/workflow-stages.ts b/packages/daemon/src/features/work-items/workflow-stages.ts index d72b82337..c02e0b560 100644 --- a/packages/daemon/src/features/work-items/workflow-stages.ts +++ b/packages/daemon/src/features/work-items/workflow-stages.ts @@ -87,7 +87,7 @@ function readStageHandoffs( ...basis, status: "returned", receiptId: handoff.record.id, reason: handoff.decision.reason, }]; if (handoff && stageHandoffAdmitsTarget(store, subject, source, step)) return [{ - ...basis, status: "accepted", receiptId: handoff.record.id, + ...basis, status: "accepted", receiptId: handoff.record.id, candidateDigest: handoff.decision.candidateDigest, }]; return [{ ...basis, status: source.status === "succeeded" ? "awaiting_acceptance" : "awaiting_source" }]; }); diff --git a/packages/daemon/src/server/app-server-mcp.ts b/packages/daemon/src/server/app-server-mcp.ts index a91c11e89..065751d99 100644 --- a/packages/daemon/src/server/app-server-mcp.ts +++ b/packages/daemon/src/server/app-server-mcp.ts @@ -151,7 +151,7 @@ export async function runLingAppServerMcp( }; if (methods.has("workItem/handoff/accept")) server.registerTool("ling_stage_handoff_accept", { description: "Accept the current supplying stage packet for this receiving stage. Retry with the original request key.", - inputSchema: z.strictObject(stageHandoff), + inputSchema: z.strictObject({ ...stageHandoff, expectedCandidateDigest: z.string().regex(/^[a-f0-9]{64}$/u).optional() }), annotations: { idempotentHint: true, destructiveHint: false }, }, async params => describe(await client.settleWorkItemStageHandoff("accept", params))); if (methods.has("workItem/handoff/return")) server.registerTool("ling_stage_handoff_return", { diff --git a/packages/daemon/src/server/app-server-stage-handoff.ts b/packages/daemon/src/server/app-server-stage-handoff.ts index 0641c3402..faa4e8c86 100644 --- a/packages/daemon/src/server/app-server-stage-handoff.ts +++ b/packages/daemon/src/server/app-server-stage-handoff.ts @@ -3,11 +3,12 @@ import { LING_APP_SERVER_STAGE_HANDOFF_RETURN_REASONS, type LingAppServerStageHa type LingAppServerStageHandoffReturnReason } from "@ling-stack/contracts"; import { appendWorkItemCollaboration, readWorkflowStageHandoff, workflowStageHandoffId, - type RunStore, type WorkflowStageHandoffDecision, + type AppendWorkItemCollaborationResult, type RunStore, type WorkflowStageHandoffDecision, } from "@ling-stack/core"; import type { DaemonContext } from "../context.js"; import { HttpError } from "../errors.js"; import { readWorkflowStepOutputPacketArtifact } from "../features/channels/workflow-step-packets.js"; +import { readCompleteHandoffCandidate } from "../features/work-items/stage-handoff-candidates.js"; import { allowLocalWorkspaceRequest } from "../shared/local-workspace-access.js"; import { readJsonBody } from "../shared/request.js"; import { writeJson } from "../shared/response.js"; @@ -25,14 +26,16 @@ export function readStageHandoffParams(record: Record, action: const reason = record.reason as LingAppServerStageHandoffReturnReason | undefined; const detail = record.detail; const revision = record.expectedWorkItemRevision; + const expectedCandidateDigest = record.expectedCandidateDigest; if (action === "returned" && (!reason || !LING_APP_SERVER_STAGE_HANDOFF_RETURN_REASONS.includes(reason)) || action === "accepted" && reason !== undefined || detail !== undefined && (typeof detail !== "string" || detail.length > 1200) + || expectedCandidateDigest !== undefined && (action !== "accepted" || typeof expectedCandidateDigest !== "string" || !/^[a-f0-9]{64}$/u.test(expectedCandidateDigest)) || typeof revision !== "number" || !Number.isSafeInteger(revision) || revision < 1) throw invalid(); return { workItemId: required("workItemId"), planRevision: required("planRevision"), sourceStepId: required("sourceStepId"), targetStepId: required("targetStepId"), expectedSourceRevision: required("expectedSourceRevision"), expectedTargetRevision: required("expectedTargetRevision"), - idempotencyKey: required("idempotencyKey", 200), expectedWorkItemRevision: revision, reason, detail: detail?.trim(), + idempotencyKey: required("idempotencyKey", 200), expectedWorkItemRevision: revision, reason, detail: detail?.trim(), expectedCandidateDigest, }; } @@ -62,7 +65,7 @@ export async function handleWorkItemStageHandoff( } const input = readStageHandoffParams({ ...body, workItemId }, body.action); if (body.action === "accepted") appServerRecoveryFor(context.config, store)?.assertReady(); - const { event, ...result } = settleAppServerStageHandoff(store, input, body.action, new Date().toISOString()); + const { event, ...result } = await settleAppServerStageHandoff(store, input, body.action, new Date().toISOString()); if (event) { context.controlPlaneEvents.publish(event); if (body.action === "accepted") context.taskSupervisor.poke(store.paths.cwd); @@ -80,23 +83,27 @@ export async function handleWorkItemStageHandoff( } } -export function settleAppServerStageHandoff( +export async function settleAppServerStageHandoff( store: RunStore, input: LingAppServerStageHandoffParams, action: "accepted" | "returned", now: string, -) { +): Promise { const { workItemId, planRevision, sourceStepId, targetStepId, expectedSourceRevision, expectedTargetRevision, idempotencyKey } = input; const item = store.getWorkItem(workItemId); if (!item) throw new AppServerCollaborationError("work_item_not_found", "The Work Item is unavailable."); const subject = { workItemId, planRevision, sourceStepId, sourceRevision: expectedSourceRevision, targetStepId }; - const existing = readWorkflowStageHandoff(store, subject); - if (existing) { + const replay = (): AppendWorkItemCollaborationResult | undefined => { + const existing = readWorkflowStageHandoff(store, subject); + if (!existing) return undefined; const { record, decision } = existing; if (record.idempotencyKey !== idempotencyKey) throw new AppServerCollaborationError("stale_revision", "This source revision already has a handoff decision."); if (record.action !== action || decision.targetRevision !== expectedTargetRevision - || decision.reason !== input.reason || decision.detail !== input.detail) { + || decision.reason !== input.reason || decision.detail !== input.detail || decision.candidateDigest !== input.expectedCandidateDigest) { throw new AppServerCollaborationError("idempotency_conflict", "The handoff key was used with a different decision."); } - return { status: "replayed" as const, record: { ...record, workItemRevision: item.revision }, workItemRevision: item.revision }; - } + const revision = store.getWorkItem(workItemId)?.revision ?? item.revision; + return { status: "replayed", record: { ...record, workItemRevision: revision }, workItemRevision: revision }; + }; + const prior = replay(); + if (prior) return prior; const source = store.getChannelWorkflowStep(sourceStepId); const target = store.getChannelWorkflowStep(targetStepId); @@ -118,9 +125,22 @@ export function settleAppServerStageHandoff( || packet?.workflowId !== source.workflowId || packet.workflowStepId !== source.id || packet.runId !== sourceRun.id)) { throw new HttpError(409, "resume_blocked", "The supplying stage needs a current result packet from its original Run."); } + if (input.expectedCandidateDigest && sourceRun) { + const candidate = await readCompleteHandoffCandidate(sourceRun.cwd); + const committed = replay(); + if (committed) return committed; + if (candidate !== input.expectedCandidateDigest) throw new HttpError(409, "work_item_handoff_candidate_stale", "The supplying worktree's candidate changed."); + const latestSource = store.getChannelWorkflowStep(sourceStepId); + const latestTarget = store.getChannelWorkflowStep(targetStepId); + if (latestSource?.updatedAt !== source.updatedAt || latestSource.runId !== source.runId + || latestSource.metadata?.outputArtifactId !== artifactId || latestTarget?.updatedAt !== target.updatedAt + || latestTarget.toParticipantId !== target.toParticipantId || latestTarget.status !== "queued") { + throw new AppServerCollaborationError("stale_revision", "The handoff changed while capturing the candidate."); + } + } const payload: WorkflowStageHandoffDecision = { recipientId: target.toParticipantId, targetRevision: target.updatedAt, sourceArtifactId: artifactId, sourceRunId: sourceRun?.id, - reason: input.reason, detail: input.detail, + reason: input.reason, detail: input.detail, candidateDigest: input.expectedCandidateDigest, }; const result = appendWorkItemCollaboration(store, { id: workflowStageHandoffId(subject), workItemId, expectedWorkItemRevision: input.expectedWorkItemRevision, @@ -129,6 +149,7 @@ export function settleAppServerStageHandoff( { type: "workflow_step", id: source.id, revision: source.updatedAt }, { type: "workflow_step", id: target.id, revision: target.updatedAt }, ...(artifactId ? [{ type: "artifact", id: artifactId }] : []), + ...(input.expectedCandidateDigest ? [{ type: "candidate", id: input.expectedCandidateDigest, digest: input.expectedCandidateDigest }] : []), ], }, now, store.paths.cwd); if (!result) throw new AppServerCollaborationError("stale_revision", "The Work Item changed before recording the handoff."); diff --git a/packages/daemon/src/server/rpc.ts b/packages/daemon/src/server/rpc.ts index 28a632a46..45305e386 100644 --- a/packages/daemon/src/server/rpc.ts +++ b/packages/daemon/src/server/rpc.ts @@ -1438,13 +1438,13 @@ class RpcConnection { return result; } - private settleWorkItemStageHandoff(action: "accepted" | "returned", params: unknown): unknown { + private async settleWorkItemStageHandoff(action: "accepted" | "returned", params: unknown): Promise { const raw = readParamsRecord(params); if (raw.sourceStepId === undefined && raw.targetStepId === undefined) return this.appendCollaboration("handoff", action, params); const { cwd, ...record } = this.workspaceParams(params, true); try { const store = this.context.storeRegistry.getStore(cwd); - const { event, ...result } = settleAppServerStageHandoff(store, readStageHandoffParams(record, action), action, new Date().toISOString()); + const { event, ...result } = await settleAppServerStageHandoff(store, readStageHandoffParams(record, action), action, new Date().toISOString()); if (event) { this.context.controlPlaneEvents.publish(trimOversizedEvent(event)); if (action === "accepted") this.context.taskSupervisor.poke(cwd); diff --git a/packages/daemon/test/app-server-release-acceptance.test.ts b/packages/daemon/test/app-server-release-acceptance.test.ts index 35c34a3a4..6040a2e7e 100644 --- a/packages/daemon/test/app-server-release-acceptance.test.ts +++ b/packages/daemon/test/app-server-release-acceptance.test.ts @@ -2542,7 +2542,13 @@ test("a GitHub Work Item recovers its Workflow, gathers independent ballots and const before = await client.call("workItem/read", { workItemId }); await peer.call("workItem/subscribe", { workItemId, cursor: before.cursor }); assert.deepEqual(before.workItem.currentExecutionRefs, []); - await writeFile(join(fixture.cwd, "implementation-input.txt"), "Verified compatibility input\n"); + const inputFile = join(fixture.cwd, "implementation-input.txt"); + await writeFile(inputFile, "Verified compatibility input\n"); + await writeFile(join(fixture.cwd, ".gitignore"), ".ling-stack/\n"); + const git = (...args: string[]) => execFileSync("git", args, { cwd: fixture.cwd, stdio: "ignore" }); + git("init", "-q", "-b", "main"); + git("add", ".gitignore", "implementation-input.txt"); + git("-c", "user.name=Fixture", "-c", "user.email=fixture@example.test", "commit", "-qm", "Freeze the staged input"); const store = fixture.getStore(); const preset = addLoopbackPreset(store, provider.baseUrl); const now = new Date().toISOString(); @@ -2788,8 +2794,12 @@ test("a GitHub Work Item recovers its Workflow, gathers independent ballots and await assert.rejects(resumedClient.call("workItem/question/ask", { ...ask, expectedWorkItemRevision: question.workItemRevision, waitingStepId: p02.id, respondentStepId: qa.id, idempotencyKey: "mutual-wait", }), { code: "work_item_question_cycle" }); - const handoff = { ...offeredHandoff, expectedSourceRevision: revisedSource.updatedAt, + const { candidate } = await resumedClient.call("changes/capture"); + const handoff = { ...offeredHandoff, expectedSourceRevision: revisedSource.updatedAt, expectedCandidateDigest: candidate.candidateDigest, expectedWorkItemRevision: question.workItemRevision, idempotencyKey: "qa-accept-repaired-contract" }; + await writeFile(inputFile, "Changed after QA read\n"); + await assert.rejects(resumedClient.call("workItem/handoff/accept", handoff), { code: "work_item_handoff_candidate_stale" }); + await writeFile(inputFile, "Verified compatibility input\n"); const handoffPath = `${itemPath}/handoff`; const { daemonUrl, authToken } = fixture.transportOptions(); const forbiddenHandoff = await fetch(new URL(`${handoffPath}?cwd=${encodeURIComponent(fixture.cwd)}`, daemonUrl), { @@ -2809,6 +2819,7 @@ test("a GitHub Work Item recovers its Workflow, gathers independent ballots and assert.ok(acceptedHandoff.record.sourceRefs.some(source => source.id === revisedArtifact.id)); const awaitingReply = (await readBrief(resumedClient)).workflow?.steps.find(step => step.stepId === qa.id); assert.equal(awaitingReply?.handoffs?.[0]?.status, "accepted"); + assert.equal(awaitingReply.handoffs[0]?.candidateDigest, candidate.candidateDigest); assert.equal(awaitingReply.admissionBlocker, "work_item_stage_question_pending"); const readBallots = (connection: typeof client) => connection.call( "workItem/deliberation/read", { workItemId: item.id }); @@ -2853,11 +2864,20 @@ test("a GitHub Work Item recovers its Workflow, gathers independent ballots and workItemId, questionId: question.record.id, expectedQuestionRevision: question.record.collaborationRevision, expectedWorkItemRevision: restoredMessage.workItemRevision, answer: "Include omitted optional fields in the QA checks.", idempotencyKey: "qa-compatibility-answer", }; + await writeFile(inputFile, "Changed after the handoff was accepted\n"); await assert.rejects(decisionClient.call("workItem/question/reply", { ...reply, expectedQuestionRevision: 1 }), { code: "stale_revision" }); const answered = await decisionClient.call("workItem/question/reply", reply); const repeatedAnswer = await decisionClient.call("workItem/question/reply", reply); assert.equal(repeatedAnswer.status, "replayed"); assert.equal(repeatedAnswer.record.id, answered.record.id); + const drifted = await waitFor(async () => { + const response = await request(`/workflow-steps/${encodeURIComponent(qa.id)}/start`, { mode: "create_and_run_task" }); + const body = await response.json() as { error?: string }; + return body.error === "resource_conflict" ? undefined : { status: response.status, code: body.error }; + }); + assert.deepEqual(drifted, { status: 409, code: "work_item_handoff_candidate_stale" }); + assert.equal(fixture.getStore().listRuns({ workflowStepId: qa.id }).length, 0); + await writeFile(inputFile, "Verified compatibility input\n"); await waitFor(() => fixture.getStore().getChannelWorkflowStep(qa.id)?.status === "succeeded" ? true : undefined); const releaseImplementation = await decisionClient.call("workItem/plan/change/withdraw", { ...changeBasis, expectedWorkItemRevision: answered.workItemRevision, @@ -3469,7 +3489,15 @@ test("App Server grants restrict observers, controllers and approvers to their s }); test("the dedicated TLS App Server accepts scoped controllers and revokes access across listeners", { timeout: 30_000 }, async t => { + const provider = await startLoopbackPiProvider((_: unknown, count: number) => count === 1 ? { + tool: "request_user_input", + input: { schemaVersion: 1, waitMode: "required", questions: [ + { questionId: "remote-scope", prompt: "Which compatibility contract applies?", required: true, allowFreeText: true, options: [] }, + ] }, + } : { text: "Used the authorized remote response." }); + t.after(() => provider.close()); const fixture = await releaseFixture(t, { + harness: { toolBroker: { mode: "enforce" } }, wssConfig: async root => { const certificateFile = join(root, "certificate.pem"); const privateKeyFile = join(root, "private-key.pem"); @@ -3484,6 +3512,7 @@ test("the dedicated TLS App Server accepts scoped controllers and revokes access }, }); const host = await fixture.connect(); + const preset = addLoopbackPreset(fixture.getStore(), provider.baseUrl); const { thread } = await host.call("thread/start", { title: "Remote authorized task" }); const { thread: other } = await host.call("thread/start", { title: "Unrelated task" }); const secret = createHash("sha256").update(randomUUID()).digest("hex"); @@ -3530,9 +3559,40 @@ test("the dedicated TLS App Server accepts scoped controllers and revokes access assert.deepEqual(remote.effectiveScopes, ["control", "observe"]); await client.subscribe({ threadId: thread.id }); await assert.rejects(client.readThread(other.id), { code: "capability_denied" }); - const action = await client.startTurn({ threadId: thread.id, turnId: "wss-turn", message: "Record a remote control input." }) as { turn: { id: string } }; - assert.equal(action.turn.id, "wss-turn"); + const action = await client.startTurn({ threadId: thread.id, providerPresetId: preset.id, + message: "Ask which compatibility contract applies.", idempotencyKey: "wss-turn" }) as { turn: { id: string }; run: { id: string } }; + assert.ok(action.turn.id && action.run.id); await waitFor(() => notifications.includes("turn/started") ? true : undefined); + const answerSecret = randomBytes(32).toString("hex"); + const answerGrant = await host.call<{ grant: LingAppServerGrant }>("server/grants/create", { + label: "Remote responder", scopes: ["observe", "respond"], subject: { kind: "thread", id: thread.id }, + expiresAt: new Date(Date.now() + 60_000).toISOString(), idempotencyKey: "remote-answer-grant", + credentialSha256: createHash("sha256").update(answerSecret).digest("hex"), + }); + const responder = new LingAppServerClient({ + url: url.href, clientInfo: { name: "remote-response-test", version: "1" }, autoReconnect: false, + createSocket: location => new WebSocket(location, { + ca, headers: { Authorization: `Bearer las1.${answerGrant.grant.grantId}.${answerSecret}` }, + }) as unknown as LingAppServerSocket, + }); + t.after(() => responder.close()); + const authority = await waitFor(async () => { + const snapshot = await responder.readThreadSnapshot({ threadId: thread.id }); + return snapshot.pendingInputs[0]?.answerAuthority; + }); + assert.equal(authority.runId, action.run.id); + await waitFor(() => fixture.getStore().getRun(authority.runId)?.status === "yielded" ? true : undefined); + const answer: LingAppServerInputRespondParams = { + schemaVersion: 1, authority, idempotencyKey: "wss-answer", + answers: [{ questionId: "remote-scope", kind: "text", text: "Use the accepted remote compatibility contract." }], + }; + assert.equal((await client.readThreadSnapshot({ threadId: thread.id })).pendingInputs[0]?.answerAuthority, undefined); + await assert.rejects(client.respondInput(answer), { code: "capability_denied" }); + const answered = await responder.respondInput(answer); + assert.deepEqual((await responder.respondInput(answer)).receipt, { ...answered.receipt, replayed: true }); + await waitFor(() => provider.requests.length === 2 ? true : undefined); + assert.match(JSON.stringify(provider.requests[1]), /Use the accepted remote compatibility contract/u); + await waitFor(() => fixture.getStore().getLingTurn(action.turn.id)?.status === "succeeded" ? true : undefined); assert.ok(socket); const closed = once(socket, "close"); await host.call("server/grants/revoke", { grantId: grant.grantId, expectedRevision: grant.revision }); From cdd1d82ebd50eb8af3c2358cbd17a8ab90de11c4 Mon Sep 17 00:00:00 2001 From: tianxiaochannel-oss88 Date: Mon, 23 Nov 2026 07:48:30 +0800 Subject: [PATCH 057/147] fix(app-server): retry only Codex steering requests that were never sent --- .../ling-app-server-implementation-plan.md | 2 +- .../src/runtime/adapters/codex/duplex.ts | 24 ++++++++----- .../src/server/app-server-codex-host.ts | 35 +++++++++++++------ .../src/server/codex-host-view-content.ts | 1 + .../app-server-release-acceptance.test.ts | 27 ++++++++++++-- 5 files changed, 66 insertions(+), 23 deletions(-) diff --git a/docs/design/ling-app-server-implementation-plan.md b/docs/design/ling-app-server-implementation-plan.md index e70eb36ae..efd674939 100644 --- a/docs/design/ling-app-server-implementation-plan.md +++ b/docs/design/ling-app-server-implementation-plan.md @@ -66,7 +66,7 @@ | --- | --- | | A1、B1、C1、C2 | 全方法的 Schema 校验和更多宿主兼容组合。workspace、Thread、Work Item 的 grant 和 WSS 已接入。专用 TLS 监听器实测分离控制和答复权限,支持用户答复原回执与撤权。审批和答复仍需在其他宿主和实际远程部署验收。目标游标已绑定存储代次、授权代次和目标,本机兼容用例覆盖上一版源码与候选组合。 | | D1、D2、E1、E2 | 开工与 Pi 运行中的项目规则加载、显式 Claude 规则、两个开发 Skill、工作区 Verify、独立 verifier basis、托管工作树管理、候选改动分页、Turn 改动恢复、选中 hunk 转移和工作台浏览器验证报告已接入。各发行平台验证仍待完成。 | -| F1、F2 | 普通会话 Handoff 的候选封存、Goal 预算承接与接手已接入。CLI `app-server codex-host --thread --state --view` 在回环地址提供双端会话视图。本机 Codex 0.171.0-alpha.13、实际 Ling Daemon 与受控 Provider 联调验证两端状态、Ling 在途排队、将事件送入活跃 Codex Turn、浏览器重连补齐和原投递回执重放。浏览器还验证了原 Run 审批提醒在授权端拒绝后消失。跨 Workflow Agent 的预算承接仍待验收。 | +| F1、F2 | 普通会话 Handoff 的候选封存、Goal 预算承接与接手已接入。CLI `app-server codex-host --thread --state --view` 在回环地址提供双端会话视图。本机 Codex 0.171.0-alpha.13、实际 Ling Daemon 与受控 Provider 联调验证两端状态、Ling 在途排队、活跃 Codex Turn 指导、浏览器重连补齐、回执重放和审批提醒。故障回归覆盖原状态库升级、未写出的请求在重连后补投一次,以及已发出但缺少有效回执时保留待确认结果。跨 Workflow Agent 的预算承接仍待验收。 | | O1、O3–O9 | GitHub 签名 webhook、轮询和显式接单归并至同一工作项。自动接单策略处理免打扰、并发、启动额度和派发前状态重查。现有 Task 和 AutomationRun 支持显式挂接,已接受的计划能自动开启声明的阶段审议,并可等待当前 Workflow 结果包的交接回执。受影响阶段可单独暂停,后继阶段可显式引用已收敛的独立成果,待执行阶段可接收定向消息和协调者处理的问答。还需 Channel 与 Automation 的按策略接入、Device Fabric 桥接与反馈、承接尚未收敛的独立阶段、活跃 Agent 的直接投递与自主答复、接手人不可用后的恢复、计划前和在途审议、跨 Run 预算与完整 O9 联合验收。 | | G | 独立恢复日志已验证 SQLite 快照恢复、撤权、旧游标失效和 GitHub 对账后派发。上一版源码通过同一套本地兼容验收。签名安装产物、实际远程 WSS、受保护 GitHub 仓库及三个真实 Provider 自研试点仍需对应环境的证据。macOS 打包预检需要当前打包输入的 Office 审查、对应 Electron/OS 的受限运行时审查和 gstack 平台资源。T01 离线预检可进入评审,真实试点仍需按 Framework Assurance 准入。 | diff --git a/packages/daemon/src/runtime/adapters/codex/duplex.ts b/packages/daemon/src/runtime/adapters/codex/duplex.ts index 422899590..96a66aa01 100644 --- a/packages/daemon/src/runtime/adapters/codex/duplex.ts +++ b/packages/daemon/src/runtime/adapters/codex/duplex.ts @@ -4,7 +4,8 @@ export type CodexRpcErrorCode = "protocol_error" | "capacity_exceeded" | "transp | "cancelled" | "timeout" | "handler_failed" | "remote_error"; export class CodexRpcError extends Error { - constructor(readonly code: CodexRpcErrorCode, readonly remoteCode?: number) { super(code); } + constructor(readonly code: CodexRpcErrorCode, readonly remoteCode?: number, + readonly requestWrite?: "not_written" | "unknown") { super(code); } } export interface CodexNotification { readonly method: string; readonly params?: unknown } @@ -21,7 +22,7 @@ interface Limits { } interface Pending { resolve: (value: unknown) => void; reject: (error: CodexRpcError) => void; - timer: ReturnType; written: boolean; + timer: ReturnType; invoked: boolean; written: boolean; response?: { result?: unknown; error?: CodexRpcError }; } interface Write { @@ -29,6 +30,7 @@ interface Write { signal?: AbortSignal; native?: NativePending; sending?: () => void; + request?: Pending; } interface NativePending { timer: ReturnType; abort: AbortController; request: CodexRequest; @@ -93,17 +95,17 @@ export class CodexDuplex { } request(method: string, params: unknown): Promise { - if (this.#failure) return Promise.reject(this.#failure); + if (this.#failure) return Promise.reject(new CodexRpcError(this.#failure.code, this.#failure.remoteCode, "not_written")); if (this.#pending.size >= this.#limits.pendingRequests || this.#id >= Number.MAX_SAFE_INTEGER) { this.close(new CodexRpcError("capacity_exceeded")); - return Promise.reject(this.#failure); + return Promise.reject(new CodexRpcError("capacity_exceeded", undefined, "not_written")); } const id = `ling:${++this.#id}`; return new Promise((resolve, reject) => { - const entry: Pending = { resolve, reject, written: false, + const entry: Pending = { resolve, reject, invoked: false, written: false, timer: setTimeout(() => this.close(new CodexRpcError("timeout")), this.#options.requestTimeoutMs ?? 30000) }; this.#pending.set(id, entry); - void this.#send({ id, method, params }, undefined, undefined, () => this.#options.onRequestSending?.({ id, method, params })).then(() => { + void this.#send({ id, method, params }, undefined, undefined, () => this.#options.onRequestSending?.({ id, method, params }), entry).then(() => { entry.written = true; this.#settle(id, entry); }, error => this.close(error)); @@ -130,7 +132,10 @@ export class CodexDuplex { this.#options.output.off("data", this.#data).off("end", this.#ended); // Retain error handlers until streams close: write callbacks can precede error events. this.#fragment = Buffer.alloc(0); - for (const entry of this.#pending.values()) { clearTimeout(entry.timer); entry.reject(error); } + for (const entry of this.#pending.values()) { + clearTimeout(entry.timer); + entry.reject(new CodexRpcError(error.code, error.remoteCode, entry.invoked ? "unknown" : "not_written")); + } this.#pending.clear(); for (const id of this.#nativePending.keys()) this.cancelNativeRequest(id); clearTimeout(this.#writeTimer); @@ -154,7 +159,7 @@ export class CodexDuplex { this.#options.output.off("error", this.#failed); }; - #send(message: unknown, signal?: AbortSignal, native?: NativePending, sending?: () => void): Promise { + #send(message: unknown, signal?: AbortSignal, native?: NativePending, sending?: () => void, request?: Pending): Promise { if (this.#failure) return Promise.reject(this.#failure); if (signal?.aborted) return Promise.resolve(); let bytes: Buffer; @@ -168,7 +173,7 @@ export class CodexDuplex { // Validate the serialized response, not a mutable result retained by a handler. if (native) native.result = (JSON.parse(bytes.toString("utf8")) as { result?: unknown }).result; this.#writeBytes += bytes.length; - this.#writes.push({ bytes, resolve, reject, signal, native, sending }); + this.#writes.push({ bytes, resolve, reject, signal, native, sending, request }); this.#pumpWrites(); }); } @@ -199,6 +204,7 @@ export class CodexDuplex { this.#writeTimer = setTimeout(() => this.close(new CodexRpcError("timeout")), this.#options.writeTimeoutMs ?? 30000); try { if (write.native) write.native.invoked = true; + if (write.request) write.request.invoked = true; this.#options.input.write(write.bytes, error => { clearTimeout(this.#writeTimer); this.#writeBytes -= write.bytes.length; diff --git a/packages/daemon/src/server/app-server-codex-host.ts b/packages/daemon/src/server/app-server-codex-host.ts index 93dd5ad69..14bec8d12 100644 --- a/packages/daemon/src/server/app-server-codex-host.ts +++ b/packages/daemon/src/server/app-server-codex-host.ts @@ -233,17 +233,24 @@ export async function runLingCodexHost( if (!state.observed(eventId)) throw new Error("Select a durable Ling event observed in this host."); const key = JSON.stringify([threadId, expectedTurnId, eventId]); const existing = state.delivery(key); - if (existing) return { ...existing, replayed: true }; + if (existing && existing.status !== "retryable") return { ...existing, replayed: true }; if (!state.reserveDelivery(key)) return { ...state.delivery(key), replayed: true }; + let status: "accepted" | "rejected" | "retryable" | "unknown" = "unknown"; + let remoteCode: number | undefined; + let failureCode: string | undefined; try { const response = await codex.request("turn/steer", { threadId, expectedTurnId, input: [{ type: "text", text: `Ling event reference: ${eventId}`, text_elements: [] }] }); - if (record(response)?.turnId === expectedTurnId) state.finishDelivery(key, "accepted"); + if (record(response)?.turnId === expectedTurnId) status = "accepted"; + else failureCode = "unexpected_reply"; } catch (error) { - if (error instanceof CodexRpcError && error.code === "remote_error" && [-32601, -32602].includes(error.remoteCode ?? 0)) { - state.finishDelivery(key, "rejected", error.remoteCode); - } + const failure = error instanceof CodexRpcError ? error : undefined; + remoteCode = failure?.remoteCode; + if (failure?.requestWrite === "not_written") status = "retryable"; + else if (failure?.code === "remote_error" && [-32601, -32602].includes(remoteCode ?? 0)) status = "rejected"; + if (status !== "rejected") failureCode = failure?.code ?? "delivery_unconfirmed"; } + state.finishDelivery(key, status, remoteCode, failureCode); return state.delivery(key); } default: @@ -265,10 +272,13 @@ function openHostState(path: string, binding: string) { CREATE TABLE IF NOT EXISTS host_state (key TEXT PRIMARY KEY, value TEXT NOT NULL); CREATE TABLE IF NOT EXISTS ling_replay (id INTEGER PRIMARY KEY, cursor TEXT NOT NULL, position INTEGER NOT NULL); CREATE TABLE IF NOT EXISTS observed_events (id TEXT PRIMARY KEY, method TEXT NOT NULL); - CREATE TABLE IF NOT EXISTS deliveries (id TEXT PRIMARY KEY, status TEXT NOT NULL, remote_code INTEGER);`); + CREATE TABLE IF NOT EXISTS deliveries (id TEXT PRIMARY KEY, status TEXT NOT NULL, remote_code INTEGER, failure_code TEXT);`); db.prepare("INSERT OR IGNORE INTO host_state(key,value) VALUES ('binding', ?)").run(binding); const read = (key: string) => db.prepare("SELECT value FROM host_state WHERE key=?").get(key)?.value as string | undefined; if (read("binding") !== binding) throw new Error("The control host state belongs to a different Ling workspace or Thread."); + if (!db.prepare("PRAGMA table_info(deliveries)").all().some(column => column.name === "failure_code")) { + db.exec("ALTER TABLE deliveries ADD COLUMN failure_code TEXT"); + } return { read, write: (key: string, value: string) => db.prepare("INSERT OR REPLACE INTO host_state(key,value) VALUES (?, ?)").run(key, value), @@ -296,12 +306,15 @@ function openHostState(path: string, binding: string) { observed: (eventId: string) => Boolean(db.prepare("SELECT 1 FROM observed_events WHERE id=?").get(eventId)), remember: (eventId: string, method: string) => db.prepare("INSERT OR IGNORE INTO observed_events(id,method) VALUES (?, ?)").run(eventId, method), delivery: (key: string) => { - const row = db.prepare("SELECT status, remote_code FROM deliveries WHERE id=?").get(key); - return row ? { status: row.status, ...(row.remote_code === null ? {} : { remoteCode: row.remote_code }) } : undefined; + const row = db.prepare("SELECT status, remote_code, failure_code FROM deliveries WHERE id=?").get(key); + return row ? { status: row.status, ...(row.remote_code === null ? {} : { remoteCode: row.remote_code }), + ...(row.failure_code === null ? {} : { failureCode: row.failure_code }) } : undefined; }, - reserveDelivery: (key: string) => db.prepare("INSERT OR IGNORE INTO deliveries(id,status) VALUES (?, 'unknown')").run(key).changes === 1, - finishDelivery: (key: string, status: "accepted" | "rejected", remoteCode?: number) => - db.prepare("UPDATE deliveries SET status=?, remote_code=? WHERE id=? AND status='unknown'").run(status, remoteCode ?? null, key), + reserveDelivery: (key: string) => db.prepare(`INSERT INTO deliveries(id,status) VALUES (?, 'unknown') + ON CONFLICT(id) DO UPDATE SET status='unknown', remote_code=NULL, failure_code=NULL WHERE deliveries.status='retryable'`).run(key).changes === 1, + finishDelivery: (key: string, status: "accepted" | "rejected" | "retryable" | "unknown", remoteCode?: number, failureCode?: string) => + db.prepare("UPDATE deliveries SET status=?, remote_code=?, failure_code=? WHERE id=? AND status='unknown'") + .run(status, remoteCode ?? null, failureCode ?? null, key), close: () => { try { db.close(); } finally { unlock(); } }, }; } catch (error) { diff --git a/packages/daemon/src/server/codex-host-view-content.ts b/packages/daemon/src/server/codex-host-view-content.ts index d5e91c7f5..11b0c470e 100644 --- a/packages/daemon/src/server/codex-host-view-content.ts +++ b/packages/daemon/src/server/codex-host-view-content.ts @@ -280,6 +280,7 @@ find("steer-input").addEventListener("submit", perform(async () => { const result = await command("codex/steer", { expectedTurnId: codexTurnId, eventId: eventPicker.value }); if (result.status === "accepted") return "Event delivered to Codex."; if (result.status === "rejected") return "Codex rejected the event."; + if (result.status === "retryable") return "Delivery can be retried after the Codex host reconnects."; return "Delivery could not be confirmed. Check the Codex turn."; })); void observe(); diff --git a/packages/daemon/test/app-server-release-acceptance.test.ts b/packages/daemon/test/app-server-release-acceptance.test.ts index 6040a2e7e..ffb45d357 100644 --- a/packages/daemon/test/app-server-release-acceptance.test.ts +++ b/packages/daemon/test/app-server-release-acceptance.test.ts @@ -1153,6 +1153,9 @@ test("Codex control host streams Ling, accepts explicit controls, and replays cu }); t.after(async () => { release(); await provider.close(); }); const statePath = join(fixture.root, "codex-host.sqlite"); + const existingState = new DatabaseSync(statePath); + existingState.exec("CREATE TABLE deliveries (id TEXT PRIMARY KEY, status TEXT NOT NULL, remote_code INTEGER)"); + existingState.close(); const codexFixture = join(fixture.root, "fixture-codex.cjs"); const writes = join(fixture.root, "steer-written.txt"); await writeFile(codexFixture, [ @@ -1170,7 +1173,8 @@ test("Codex control host streams Ling, accepts explicit controls, and replays cu " else if (method === 'turn/start') result = { turn: { id: 'codex-live-turn' } };", " else if (method === 'turn/steer') {", ` appendFileSync(${JSON.stringify(writes)}, JSON.stringify(params) + '\\n');`, - " result = { turnId: params.expectedTurnId };", + " if (params.expectedTurnId === 'disconnecting-turn') process.exit(0);", + " result = { turnId: params.expectedTurnId === 'malformed-reply-turn' ? 'a-different-turn' : params.expectedTurnId };", " } else throw new Error('unexpected method: ' + method);", " send({ id, result });", "});", @@ -1222,6 +1226,14 @@ test("Codex control host streams Ling, accepts explicit controls, and replays cu assert.ok(!second.notices.some(notice => notice.params?.eventId === steer.eventId)); assert.deepEqual(await second.call("codex/steer", steer), { status: "accepted", replayed: true }); assert.equal((await readFile(writes, "utf8")).trim().split("\n").length, 1); + const completedEventId = finished.params.eventId; + const unexpected = { eventId: completedEventId, expectedTurnId: "malformed-reply-turn" }; + assert.deepEqual(await second.call("codex/steer", unexpected), { status: "unknown", failureCode: "unexpected_reply" }); + const lostReply = { eventId: completedEventId, expectedTurnId: "disconnecting-turn" }; + assert.deepEqual(await second.call("codex/steer", lostReply), { status: "unknown", failureCode: "transport_failed" }); + const unsent = { eventId: completedEventId, expectedTurnId: "codex-live-turn" }; + assert.deepEqual(await second.call("codex/steer", unsent), { status: "retryable", failureCode: "transport_failed" }); + assert.equal((await readFile(writes, "utf8")).trim().split("\n").length, 3); await second.stop(); const view = spawn(process.execPath, [cli, "--cwd", fixture.cwd, "--daemon-url", daemonUrl, @@ -1259,7 +1271,18 @@ test("Codex control host streams Ling, accepts explicit controls, and replays cu body: JSON.stringify({ method: "codex/steer", params: steer }) }); assert.equal(replayedView.status, 200); assert.deepEqual((await replayedView.json() as { result: unknown }).result, { status: "accepted", replayed: true }); - assert.equal((await readFile(writes, "utf8")).trim().split("\n").length, 1); + const steerInView = async (params: object) => { + const response = await fetch(`${viewOrigin}/command`, { method: "POST", + headers: { ...viewAuth, Origin: viewOrigin, "Content-Type": "application/json" }, + body: JSON.stringify({ method: "codex/steer", params }) }); + assert.equal(response.status, 200); + return (await response.json() as { result: unknown }).result; + }; + assert.deepEqual(await steerInView(unexpected), { status: "unknown", failureCode: "unexpected_reply", replayed: true }); + assert.deepEqual(await steerInView(lostReply), { status: "unknown", failureCode: "transport_failed", replayed: true }); + assert.deepEqual(await steerInView(unsent), { status: "accepted" }); + assert.deepEqual(await steerInView(unsent), { status: "accepted", replayed: true }); + assert.equal((await readFile(writes, "utf8")).trim().split("\n").length, 4); view.kill("SIGINT"); assert.deepEqual(await closed, [0, null]); }); From be417b3dce2f4de932d85d11ff80e3d69126cfb9 Mon Sep 17 00:00:00 2001 From: tianxiaochannel-oss88 Date: Mon, 23 Nov 2026 08:18:40 +0800 Subject: [PATCH 058/147] fix(workflows): fence stage handoffs when the recipient is unavailable --- .../features/work-board/WorkBoardWorkflow.tsx | 11 +++++-- .../ling-app-server-implementation-plan.md | 4 +-- .../src/features/channels/orchestrator.ts | 2 +- .../workflow-participant-run-profile.ts | 10 ++++++ .../daemon/src/features/channels/workflows.ts | 20 ++++++++++-- .../runs/workflow-step-start-admission.ts | 4 +++ .../features/work-items/workflow-stages.ts | 10 +++++- .../src/server/app-server-stage-handoff.ts | 4 +++ .../app-server-release-acceptance.test.ts | 31 +++++++++++++++++-- 9 files changed, 85 insertions(+), 11 deletions(-) diff --git a/apps/web/src/features/work-board/WorkBoardWorkflow.tsx b/apps/web/src/features/work-board/WorkBoardWorkflow.tsx index 941087aef..3e2788718 100644 --- a/apps/web/src/features/work-board/WorkBoardWorkflow.tsx +++ b/apps/web/src/features/work-board/WorkBoardWorkflow.tsx @@ -76,13 +76,16 @@ export function WorkBoardWorkflow({ cwd, workItemId, onOpenRun }: {
        {workflow.steps.map(step => { const state = channelWorkflowStepStatusPresentation(step.status); + const recipientUnavailable = step.admissionBlocker === "work_item_handoff_recipient_unavailable"; return
      1. {step.title}{" "} {step.admissionBlocker ? : }
        -
        {step.participantLabel}
        +
        {step.participantLabel}{" "} + {recipientUnavailable ? : null} +
        {step.brief ?

        {step.brief}

        : null} {step.decision ? : null} {step.handoffs?.map(handoff => (undefined); + const recipientUnavailable = step.admissionBlocker === "work_item_handoff_recipient_unavailable"; const canDecide = handoff.status === "awaiting_acceptance" && step.status === "queued" && !workflow.admissionBlocker && step.admissionBlocker !== "work_item_plan_change_pending" && workflow.workItemRevision !== undefined; async function settle(action: "accepted" | "returned"): Promise { - if (busy || !canDecide || workflow.workItemRevision === undefined || action === "returned" && !reason) return; + if (busy || !canDecide || workflow.workItemRevision === undefined + || (action === "accepted" ? recipientUnavailable : !reason)) return; const decisionReason = action === "returned" && reason ? reason : undefined; const fingerprint = JSON.stringify([action, decisionReason, workflow.workItemRevision, step.updatedAt]); const key = lastRequest.current?.fingerprint === fingerprint ? lastRequest.current.key : crypto.randomUUID(); @@ -143,7 +148,7 @@ function StageHandoff({ cwd, workItemId, workflow, step, handoff, onRefresh }: { {" "} {handoff.reason ?

        {t(handoffReasons[handoff.reason])}

        : null} {canDecide ?
        - + setReason(event.target.value as typeof reason)}> {LING_APP_SERVER_STAGE_HANDOFF_RETURN_REASONS.map(choice => )} - +
        : null} {error ? : null} From dab13f4aeee484d104f81cfab7810d588025c3cd Mon Sep 17 00:00:00 2001 From: tianxiaochannel-oss88 Date: Tue, 24 Nov 2026 04:48:33 +0800 Subject: [PATCH 087/147] fix(work-items): reject unchanged repaired handoff candidates --- packages/daemon/src/server/app-server-stage-handoff.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/packages/daemon/src/server/app-server-stage-handoff.ts b/packages/daemon/src/server/app-server-stage-handoff.ts index bfdc961d5..881caf163 100644 --- a/packages/daemon/src/server/app-server-stage-handoff.ts +++ b/packages/daemon/src/server/app-server-stage-handoff.ts @@ -133,6 +133,12 @@ export async function settleAppServerStageHandoff( throw new HttpError(409, "resume_blocked", "The Work Item is not ready to settle this handoff."); } if (source.status !== "succeeded") throw new HttpError(409, "resume_blocked", "The supplying stage needs an accepted result."); + if (previousHandoffId && returned) { + const returnedDecision = returned.decision; + if (returnedDecision.candidateDigest && returnedDecision.candidateDigest === input.expectedCandidateDigest) { + throw new HttpError(409, "work_item_handoff_source_revision_required", "Repair must use a new candidate revision."); + } + } const artifactId = source.metadata?.outputArtifactId; const sourceRun = source.runId ? store.getRun(source.runId) : undefined; const packet = artifactId ? readWorkflowStepOutputPacketArtifact({ store, artifactId }) : undefined; From 37aa9533c93221fe902abd04a724c12ea5318bad Mon Sep 17 00:00:00 2001 From: tianxiaochannel-oss88 Date: Tue, 24 Nov 2026 05:39:04 +0800 Subject: [PATCH 088/147] test(automations): allow slow CI timer fixture startup --- packages/daemon/test/automation-scheduler-timers.test.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/daemon/test/automation-scheduler-timers.test.mjs b/packages/daemon/test/automation-scheduler-timers.test.mjs index eb93e358d..44e108846 100644 --- a/packages/daemon/test/automation-scheduler-timers.test.mjs +++ b/packages/daemon/test/automation-scheduler-timers.test.mjs @@ -30,7 +30,7 @@ test("native mock timer sanity preserves unref, clearTimeout, Date and controlle assert.equal(calls, 1); }); -test("legal HTTP 30-day interval does not overflow into an early real Node run", { timeout: 20_000 }, async (t) => { +test("legal HTTP 30-day interval does not overflow into an early real Node run", { timeout: 30_000 }, async (t) => { const ambient = await isolatedAmbient(t); const { createDaemonServer } = await import("../dist/index.js"); const { prepareChannelCreateBody } = await import("./conversation-model-test-fixture.mjs"); From ef67158a5517e75d55e83da64fe42ac5d409a58e Mon Sep 17 00:00:00 2001 From: tianxiaochannel-oss88 Date: Tue, 24 Nov 2026 06:20:01 +0800 Subject: [PATCH 089/147] Preserve stage handoff returns across source revisions --- .../ling-app-server-implementation-plan.md | 1 + packages/contracts/src/app-server.ts | 1 + packages/core/src/work-item-collaboration.ts | 8 +- .../core/src/work-item-workflow-handoff.ts | 43 ++++++++-- .../work-items/stage-handoff-candidates.ts | 2 +- .../features/work-items/workflow-stages.ts | 2 +- packages/daemon/src/server/app-server-mcp.ts | 5 +- .../src/server/app-server-stage-handoff.ts | 68 +++++++-------- .../app-server-release-acceptance.test.ts | 82 +++++++++++++------ 9 files changed, 142 insertions(+), 70 deletions(-) diff --git a/docs/design/ling-app-server-implementation-plan.md b/docs/design/ling-app-server-implementation-plan.md index 28cccc260..dc7aeb1e6 100644 --- a/docs/design/ling-app-server-implementation-plan.md +++ b/docs/design/ling-app-server-implementation-plan.md @@ -66,6 +66,7 @@ | O4 GitHub 证据核对 | 配置注册仓库、不可变仓库 ID 与分支政策。按 PR、实时 base、检查 App、冻结的 workflow 文件、实际测试对象和最近 attempt 核对证据。`changes/capture` 的 `scope: "head"` 提供已提交候选摘要,可以在本地有后续编辑时对账已经发生的合并。Goal 交付验收和队列准入仍核对干净的当前候选。队列响应丢失后先查原队列项。真实受保护仓库已验证 GitHub 原生合并队列和 Ling 对账。Schema 声明检查来源、受测提交、运行尝试和队列回执。 | | O1/O8/O9 接单、控制和协作 | 工作项创建、控制、接单、证据和协作写入各自与对应事件同事务提交。真实 Daemon 回归从同一个受控 GitHub Issue 的两个入口归并 Work Item,在接单前订阅,接通 P01、独立 QA 与等待裁决的 P02。覆盖暂停、重启、裁决恢复与原步骤派发一次。按下方矩阵继续验收阶段交接、自动审议、停滞和联合界面。 | | O7 定时协调轮次 | 已配置的 Automation 在同一事务中写入终态回执、轮次和事件。实际调度器从重启前的时段恢复。故障注入验证提交失败不会留下回执或轮次。回执重放复用原轮次。截止后生成简报和关闭事件,暂停的工作项产生跳过回执。该用例启动的 Runner 数量为零。 | +| O7/O9 阶段交接修复 | 源阶段修订更新后,已接受计划中的交接依赖仍保留原退回。真实 Daemon 回归覆盖省略退回回执、沿用旧候选或旧检查的拒绝,以及用当前结果包和可信检查并发接受。HTTP 与 App Server 返回同一接受回执,重启后复用退回与接受记录,QA 只启动一次。 | | O1 首次会话派发 | `workItem/accept` 可选定主执行会话,接单和首发意图同事务保存。正常会话 Run 创建核对该意图并原子更新 Work Item。脚本化 Pi Provider 验证了重启、两个并发受理、暂停恢复、实际派发一次,以及当前绑定阻止删除会话。Codex MCP 已提供同一创建和受理入口。 | 源码兼容用例由 `LING_APP_SERVER_PREVIOUS_BUILD` 指向已构建的上一版源码目录。`LING_APP_SERVER_CODEX_EXECUTABLE` 指向已安装的 Codex。两项均使用隔离状态和回环服务,配置 Pi Runner 使用脚本化 Provider。 [发行验收测试](../../packages/daemon/test/app-server-release-acceptance.test.ts) diff --git a/packages/contracts/src/app-server.ts b/packages/contracts/src/app-server.ts index f8b7a84b7..03cd6c4d4 100644 --- a/packages/contracts/src/app-server.ts +++ b/packages/contracts/src/app-server.ts @@ -995,6 +995,7 @@ export interface LingAppServerStageHandoffParams { readonly expectedTargetRevision: string; readonly expectedWorkItemRevision: number; readonly idempotencyKey: string; + /** The offered candidate on return and the current worktree candidate on acceptance. */ readonly expectedCandidateDigest?: string; readonly previousHandoffId?: string; readonly verification?: { readonly operationId: string; readonly checkId: string }; diff --git a/packages/core/src/work-item-collaboration.ts b/packages/core/src/work-item-collaboration.ts index c0e4f5175..50cfd4b3e 100644 --- a/packages/core/src/work-item-collaboration.ts +++ b/packages/core/src/work-item-collaboration.ts @@ -102,11 +102,13 @@ export function readWorkItemCollaborationRecord( } export function listWorkItemCollaboration( - store: CollaborationStore, - input: { readonly workItemId: string; readonly kind?: LingAppServerCollaborationKind; readonly afterRevision?: number; readonly limit?: number }, + store: Pick, + input: { readonly workItemId: string; readonly kind?: LingAppServerCollaborationKind; readonly afterRevision?: number; + readonly limit?: number; readonly recordIdPrefix?: string }, ): { readonly records: readonly WorkItemCollaborationRecord[]; readonly nextAfterRevision: number } { const limit = Math.min(Math.max(input.limit ?? 100, 1), 500); - const entries = store.listWorkItemEvidence({ workItemId: input.workItemId, afterSequence: input.afterRevision ?? 0, limit }); + const entries = store.listWorkItemEvidence({ workItemId: input.workItemId, afterSequence: input.afterRevision ?? 0, limit, + recordIdPrefix: input.recordIdPrefix }); const records = entries.flatMap((entry) => { if (!entry.content.startsWith(WORK_ITEM_COLLABORATION_CONTENT_PREFIX)) return []; try { diff --git a/packages/core/src/work-item-workflow-handoff.ts b/packages/core/src/work-item-workflow-handoff.ts index 1efa39c16..670adbeeb 100644 --- a/packages/core/src/work-item-workflow-handoff.ts +++ b/packages/core/src/work-item-workflow-handoff.ts @@ -1,7 +1,7 @@ import { createHash } from "node:crypto"; import type { LingAppServerStageHandoffReturnReason } from "@ling-stack/contracts"; import type { RunStore } from "./run-types.js"; -import { readWorkItemCollaborationRecord } from "./work-item-collaboration.js"; +import { listWorkItemCollaboration, readWorkItemCollaborationRecord, type WorkItemCollaborationRecord } from "./work-item-collaboration.js"; import type { ChannelWorkflowStep } from "./workspace-types.js"; export const WORKFLOW_STAGE_HANDOFF_ID_PREFIX = "work_item_stage_handoff_"; @@ -35,22 +35,53 @@ export function readWorkflowStageHandoffReceipt( store: Pick, subject: WorkflowStageHandoffSubject, previousHandoffId?: string, ) { const record = readWorkItemCollaborationRecord(store, subject.workItemId, workflowStageHandoffId(subject, previousHandoffId)); + return stageHandoffReceipt(record, previousHandoffId); +} + +function stageHandoffReceipt(record: WorkItemCollaborationRecord | undefined, previousHandoffId?: string) { if (record?.kind !== "handoff" || (record.action !== "accepted" && record.action !== "returned") - || previousHandoffId && (record.parentRecordId !== previousHandoffId || record.action !== "accepted") + || record.parentRecordId !== previousHandoffId || previousHandoffId && record.action !== "accepted" || !record.payload || typeof record.payload !== "object") return undefined; return { record, decision: record.payload as WorkflowStageHandoffDecision }; } +type WorkflowStageHandoffStore = Pick; + export function readWorkflowStageHandoff( - store: Pick, subject: WorkflowStageHandoffSubject, + store: WorkflowStageHandoffStore, subject: WorkflowStageHandoffSubject, ) { const original = readWorkflowStageHandoffReceipt(store, subject); - return original?.record.action === "returned" - ? readWorkflowStageHandoffReceipt(store, subject, original.record.id) ?? original : original; + if (original) { + return original.record.action === "returned" + ? readWorkflowStageHandoffReceipt(store, subject, original.record.id) ?? original : original; + } + + // A return holds the accepted Plan edge until a linked repair is accepted. + // An acceptance only applies to the specific source revision it validated. + let latest: ReturnType; + let latestSourceRevision: string | undefined; + let afterRevision = 0; + for (;;) { + const page = listWorkItemCollaboration(store, { + workItemId: subject.workItemId, kind: "handoff", recordIdPrefix: WORKFLOW_STAGE_HANDOFF_ID_PREFIX, afterRevision, limit: 500, + }); + for (const record of page.records) { + const sourceRevision = record.sourceRefs.find(ref => ref.type === "workflow_step" && ref.id === subject.sourceStepId)?.revision; + if (!sourceRevision || record.id !== workflowStageHandoffId({ ...subject, sourceRevision }, record.parentRecordId)) continue; + const receipt = stageHandoffReceipt(record, record.parentRecordId); + if (receipt) { + latest = receipt; + latestSourceRevision = sourceRevision; + } + } + if (page.nextAfterRevision === afterRevision) break; + afterRevision = page.nextAfterRevision; + } + return latest?.record.action === "returned" || latestSourceRevision === subject.sourceRevision ? latest : undefined; } export function stageHandoffAdmitsTarget( - store: Pick, subject: WorkflowStageHandoffSubject, + store: WorkflowStageHandoffStore, subject: WorkflowStageHandoffSubject, source: ChannelWorkflowStep, target: ChannelWorkflowStep, ): boolean { const handoff = readWorkflowStageHandoff(store, subject); diff --git a/packages/daemon/src/features/work-items/stage-handoff-candidates.ts b/packages/daemon/src/features/work-items/stage-handoff-candidates.ts index b7080b669..015b48b70 100644 --- a/packages/daemon/src/features/work-items/stage-handoff-candidates.ts +++ b/packages/daemon/src/features/work-items/stage-handoff-candidates.ts @@ -19,7 +19,7 @@ export async function workItemHandoffCandidatesCurrent(store: RunStore, step: Ch const handoff = source && readWorkflowStageHandoff(store, { workItemId: item.id, planRevision: item.planRevision, sourceStepId, sourceRevision: source.updatedAt, targetStepId: step.id, }); - if (!handoff?.decision.candidateDigest) continue; + if (handoff?.record.action !== "accepted" || !handoff.decision.candidateDigest) continue; const sourceRun = handoff.decision.sourceRunId && store.getRun(handoff.decision.sourceRunId); if (!sourceRun) return false; if (!captured.has(sourceRun.cwd)) captured.set(sourceRun.cwd, await readCompleteHandoffCandidate(sourceRun.cwd)); diff --git a/packages/daemon/src/features/work-items/workflow-stages.ts b/packages/daemon/src/features/work-items/workflow-stages.ts index 2fc7fd3c6..20c63b2c2 100644 --- a/packages/daemon/src/features/work-items/workflow-stages.ts +++ b/packages/daemon/src/features/work-items/workflow-stages.ts @@ -120,7 +120,7 @@ function readStageHandoffs( const subject = { workItemId, planRevision, ...basis, targetStepId: step.id }; const handoff = readWorkflowStageHandoff(store, subject); if (handoff?.record.action === "returned") return [{ - ...basis, status: "returned", receiptId: handoff.record.id, reason: handoff.decision.reason, + ...basis, status: "returned", receiptId: handoff.record.id, reason: handoff.decision.reason, candidateDigest: handoff.decision.candidateDigest, }]; if (handoff && stageHandoffAdmitsTarget(store, subject, source, step)) return [{ ...basis, status: "accepted", receiptId: handoff.record.id, candidateDigest: handoff.decision.candidateDigest, diff --git a/packages/daemon/src/server/app-server-mcp.ts b/packages/daemon/src/server/app-server-mcp.ts index 0bdbaeb88..bef9bffa6 100644 --- a/packages/daemon/src/server/app-server-mcp.ts +++ b/packages/daemon/src/server/app-server-mcp.ts @@ -152,15 +152,16 @@ export async function runLingAppServerMcp( expectedSourceRevision: objectId, expectedTargetRevision: objectId, expectedWorkItemRevision: z.number().int().positive(), idempotencyKey: requestKey, detail: z.string().max(1200).optional(), + expectedCandidateDigest: z.string().regex(/^[a-f0-9]{64}$/u).optional(), }; if (methods.has("workItem/handoff/accept")) server.registerTool("ling_stage_handoff_accept", { description: "Accept the current supplying stage packet. To repair a return, supply the previous handoff ID and any required independent verification for the current candidate.", - inputSchema: z.strictObject({ ...stageHandoff, expectedCandidateDigest: z.string().regex(/^[a-f0-9]{64}$/u).optional(), + inputSchema: z.strictObject({ ...stageHandoff, previousHandoffId: objectId.optional(), verification: z.strictObject({ operationId: objectId, checkId: objectId }).optional() }), annotations: { idempotentHint: true, destructiveHint: false }, }, async params => describe(await client.settleWorkItemStageHandoff("accept", params))); if (methods.has("workItem/handoff/return")) server.registerTool("ling_stage_handoff_return", { - description: "Return the current supplying stage packet with a reason. The receiving stage continues to wait for an accepted packet.", + description: "Return the supplying stage packet with a reason and its offered candidate digest, when available. The receiving stage waits for an accepted repair.", inputSchema: z.strictObject({ ...stageHandoff, reason: z.enum(LING_APP_SERVER_STAGE_HANDOFF_RETURN_REASONS) }), annotations: { idempotentHint: true, destructiveHint: false }, }, async params => describe(await client.settleWorkItemStageHandoff("return", params))); diff --git a/packages/daemon/src/server/app-server-stage-handoff.ts b/packages/daemon/src/server/app-server-stage-handoff.ts index 881caf163..e81d544de 100644 --- a/packages/daemon/src/server/app-server-stage-handoff.ts +++ b/packages/daemon/src/server/app-server-stage-handoff.ts @@ -2,7 +2,7 @@ import type { IncomingMessage, ServerResponse } from "node:http"; import { LING_APP_SERVER_STAGE_HANDOFF_RETURN_REASONS, type LingAppServerStageHandoffParams, type LingAppServerStageHandoffReturnReason, type LingAppServerVerifyOperation, type LingAppServerVerifyPlanResult } from "@ling-stack/contracts"; import { - appendWorkItemCollaboration, readWorkflowStageHandoffReceipt, workflowStageHandoffId, + appendWorkItemCollaboration, readWorkflowStageHandoff, readWorkflowStageHandoffReceipt, workflowStageHandoffId, type AppendWorkItemCollaborationResult, type RunStore, type WorkflowStageHandoffDecision, } from "@ling-stack/core"; import type { DaemonContext } from "../context.js"; @@ -36,7 +36,7 @@ export function readStageHandoffParams(record: Record, action: || previousHandoffId !== undefined && action !== "accepted" || rawVerification !== undefined && (!isRecord(rawVerification) || !previousHandoffId || !expectedCandidateDigest) || action === "accepted" && reason !== undefined || detail !== undefined && (typeof detail !== "string" || detail.length > 1200) - || expectedCandidateDigest !== undefined && (action !== "accepted" || typeof expectedCandidateDigest !== "string" || !/^[a-f0-9]{64}$/u.test(expectedCandidateDigest)) + || expectedCandidateDigest !== undefined && (typeof expectedCandidateDigest !== "string" || !/^[a-f0-9]{64}$/u.test(expectedCandidateDigest)) || typeof revision !== "number" || !Number.isSafeInteger(revision) || revision < 1) throw invalid(); return { workItemId: required("workItemId"), planRevision: required("planRevision"), @@ -96,7 +96,7 @@ export async function settleAppServerStageHandoff( store: RunStore, input: LingAppServerStageHandoffParams, action: "accepted" | "returned", activeRuns: ActiveRunRegistry, now: string, ): Promise { const { workItemId, planRevision, sourceStepId, targetStepId, expectedSourceRevision, expectedTargetRevision, idempotencyKey, - previousHandoffId, verification } = input; + expectedCandidateDigest, previousHandoffId, verification } = input; const item = store.getWorkItem(workItemId); if (!item) throw new AppServerCollaborationError("work_item_not_found", "The Work Item is unavailable."); const subject = { workItemId, planRevision, sourceStepId, sourceRevision: expectedSourceRevision, targetStepId }; @@ -106,7 +106,7 @@ export async function settleAppServerStageHandoff( const { record, decision } = existing; if (record.idempotencyKey !== idempotencyKey) throw new AppServerCollaborationError("stale_revision", "This source revision already has a handoff decision."); if (record.action !== action || decision.targetRevision !== expectedTargetRevision - || decision.reason !== input.reason || decision.detail !== input.detail || decision.candidateDigest !== input.expectedCandidateDigest + || decision.reason !== input.reason || decision.detail !== input.detail || decision.candidateDigest !== expectedCandidateDigest || decision.verification?.operationId !== verification?.operationId || decision.verification?.checkId !== verification?.checkId) { throw new AppServerCollaborationError("idempotency_conflict", "The handoff key was used with a different decision."); } @@ -115,10 +115,6 @@ export async function settleAppServerStageHandoff( }; const prior = replay(); if (prior) return prior; - const returned = previousHandoffId ? readWorkflowStageHandoffReceipt(store, subject) : undefined; - if (previousHandoffId && (action !== "accepted" || returned?.record.id !== previousHandoffId || returned.record.action !== "returned")) { - throw new AppServerCollaborationError("stale_revision", "The previous handoff is not the return receipt for this source revision."); - } const source = store.getChannelWorkflowStep(sourceStepId); const target = store.getChannelWorkflowStep(targetStepId); @@ -133,11 +129,14 @@ export async function settleAppServerStageHandoff( throw new HttpError(409, "resume_blocked", "The Work Item is not ready to settle this handoff."); } if (source.status !== "succeeded") throw new HttpError(409, "resume_blocked", "The supplying stage needs an accepted result."); - if (previousHandoffId && returned) { - const returnedDecision = returned.decision; - if (returnedDecision.candidateDigest && returnedDecision.candidateDigest === input.expectedCandidateDigest) { - throw new HttpError(409, "work_item_handoff_source_revision_required", "Repair must use a new candidate revision."); - } + const currentHandoff = readWorkflowStageHandoff(store, subject); + const returned = currentHandoff?.record.action === "returned" ? currentHandoff : undefined; + if (currentHandoff?.record.action === "accepted" || previousHandoffId !== returned?.record.id) { + throw new AppServerCollaborationError("stale_revision", "Use the current return receipt to accept its repaired handoff."); + } + const returnedCandidate = returned?.decision.candidateDigest; + if (returnedCandidate && returnedCandidate === expectedCandidateDigest) { + throw new HttpError(409, "work_item_handoff_source_revision_required", "Repair must use a new candidate revision."); } const artifactId = source.metadata?.outputArtifactId; const sourceRun = source.runId ? store.getRun(source.runId) : undefined; @@ -147,48 +146,53 @@ export async function settleAppServerStageHandoff( throw new HttpError(409, "resume_blocked", "The supplying stage needs a current result packet from its original Run."); } const requiresVerification = returned?.decision.reason === "required_check_incomplete" || returned?.decision.reason === "candidate_stale"; - if (requiresVerification && (!verification || !input.expectedCandidateDigest)) throw handoffVerificationRequired(); - const assertRepairEvidence = (): void => { + if (requiresVerification && (!verification || !expectedCandidateDigest)) throw handoffVerificationRequired(); + if (returnedCandidate && !expectedCandidateDigest) { + throw new HttpError(409, "work_item_handoff_candidate_required", "Supply the repaired candidate for this returned handoff."); + } + const assertCurrent = (): void => { + const latestSource = store.getChannelWorkflowStep(sourceStepId); + const latestTarget = store.getChannelWorkflowStep(targetStepId); + if (latestSource?.updatedAt !== source.updatedAt || latestSource.status !== "succeeded" || latestSource.runId !== source.runId + || latestSource.metadata?.outputArtifactId !== artifactId || latestTarget?.updatedAt !== target.updatedAt + || latestTarget.toParticipantId !== target.toParticipantId || latestTarget.status !== "queued") { + throw new AppServerCollaborationError("stale_revision", "The supplying or receiving stage changed while settling the handoff."); + } + if (action === "accepted" && !workflowStepParticipantAvailable(store, latestTarget)) { + throw new HttpError(409, "work_item_handoff_recipient_unavailable", "The assigned participant cannot currently receive the handoff."); + } if (verification && !hasCurrentHandoffVerification(store, input, sourceRun?.cwd, returned?.record.createdAt)) { throw handoffVerificationRequired(); } if (returned?.decision.reason === "upstream_effect_unknown") { - const unit = sourceRun?.workUnitId && store.getWorkUnit(sourceRun.workUnitId); - if (!unit || !continuationSourceReady(store, unit, activeRuns, `work-item-handoff:${previousHandoffId}`, () => undefined)) { + const originalRun = returned.decision.sourceRunId ? store.getRun(returned.decision.sourceRunId) : undefined; + const unit = originalRun?.workUnitId ? store.getWorkUnit(originalRun.workUnitId) : undefined; + if (!originalRun || !unit || unit.linkedRunId !== originalRun.id + || !continuationSourceReady(store, unit, activeRuns, `work-item-handoff:${previousHandoffId}`, () => undefined)) { throw new HttpError(409, "resume_blocked", "The supplying Run still needs verified execution and effect settlement."); } } }; - if (input.expectedCandidateDigest && sourceRun) { + if (action === "accepted" && expectedCandidateDigest && sourceRun) { const candidate = await readCompleteHandoffCandidate(sourceRun.cwd); const committed = replay(); if (committed) return committed; - if (candidate !== input.expectedCandidateDigest) throw new HttpError(409, "work_item_handoff_candidate_stale", "The supplying worktree's candidate changed."); - const latestSource = store.getChannelWorkflowStep(sourceStepId); - const latestTarget = store.getChannelWorkflowStep(targetStepId); - if (latestSource?.updatedAt !== source.updatedAt || latestSource.runId !== source.runId - || latestSource.metadata?.outputArtifactId !== artifactId || latestTarget?.updatedAt !== target.updatedAt - || latestTarget.toParticipantId !== target.toParticipantId || latestTarget.status !== "queued") { - throw new AppServerCollaborationError("stale_revision", "The handoff changed while capturing the candidate."); - } - } - if (action === "accepted" && !workflowStepParticipantAvailable(store, target)) { - throw new HttpError(409, "work_item_handoff_recipient_unavailable", "The assigned participant cannot currently receive the handoff."); + if (candidate !== expectedCandidateDigest) throw new HttpError(409, "work_item_handoff_candidate_stale", "The supplying worktree's candidate changed."); } const payload: WorkflowStageHandoffDecision = { recipientId: target.toParticipantId, targetRevision: target.updatedAt, sourceArtifactId: artifactId, sourceRunId: sourceRun?.id, - reason: input.reason, detail: input.detail, candidateDigest: input.expectedCandidateDigest, + reason: input.reason, detail: input.detail, candidateDigest: expectedCandidateDigest, ...(verification ? { verification } : {}), }; const result = appendWorkItemCollaboration(store, { id: workflowStageHandoffId(subject, previousHandoffId), workItemId, expectedWorkItemRevision: input.expectedWorkItemRevision, kind: "handoff", action, actorId: "local-user", idempotencyKey, payload, parentRecordId: previousHandoffId, - ...(returned ? { assertCurrent: assertRepairEvidence } : {}), + assertCurrent, sourceRefs: [ { type: "workflow_step", id: source.id, revision: source.updatedAt }, { type: "workflow_step", id: target.id, revision: target.updatedAt }, ...(artifactId ? [{ type: "artifact", id: artifactId }] : []), - ...(input.expectedCandidateDigest ? [{ type: "candidate", id: input.expectedCandidateDigest, digest: input.expectedCandidateDigest }] : []), + ...(expectedCandidateDigest ? [{ type: "candidate", id: expectedCandidateDigest, digest: expectedCandidateDigest }] : []), ...(verification ? [{ type: "verification", id: verification.operationId, revision: verification.checkId }] : []), ], }, now, store.paths.cwd); diff --git a/packages/daemon/test/app-server-release-acceptance.test.ts b/packages/daemon/test/app-server-release-acceptance.test.ts index 0f3c06cd6..d27cb90ac 100644 --- a/packages/daemon/test/app-server-release-acceptance.test.ts +++ b/packages/daemon/test/app-server-release-acceptance.test.ts @@ -2803,8 +2803,28 @@ test("a GitHub Work Item recovers its Workflow, gathers independent ballots and }), { code: "stale_revision" }); await assert.rejects(resumedClient.call("workItem/handoff/return", { ...offeredHandoff, expectedSourceRevision: new Date(0).toISOString(), reason: "candidate_stale" }), { code: "stale_revision" }); + const { candidate: oldCandidate } = await resumedClient.call("changes/capture"); + async function checkHandoffCandidate(candidate: LingAppServerCandidateReference, idempotencyKey: string) { + const verificationPlan = await resumedClient.call("verify/plan", { + ...changeBasis, candidate, requestedChecks: ["verify-contract-handoff"], + }); + const { operationId } = await resumedClient.call("verify/start", { + planId: verificationPlan.planId, planRevision: verificationPlan.planRevision, + candidateDigest: candidate.candidateDigest, idempotencyKey, + }); + const verified = await waitFor(async () => { + const { operation } = await resumedClient.call("verify/status", { operationId }); + return operation.completedAt ? operation : undefined; + }); + assert.equal(verified.status, "passed"); + assert.ok(verified.checks[0]?.producerRefs.length); + return { operationId, checkId: "verify-contract-handoff" }; + } + const oldVerification = await checkHandoffCandidate(oldCandidate, "qa-old-check"); + const returnRequest = { ...offeredHandoff, reason: "required_check_incomplete", + expectedCandidateDigest: oldCandidate.candidateDigest }; const returnedHandoff = await resumedClient.call( - "workItem/handoff/return", { ...offeredHandoff, reason: "required_check_incomplete" }); + "workItem/handoff/return", returnRequest); const returnedStage = (await readBrief(resumedClient)).workflow?.steps.find(step => step.stepId === qa.id); assert.equal(returnedStage?.handoffs?.[0]?.status, "returned"); assert.equal(returnedStage.handoffs[0]?.reason, "required_check_incomplete"); @@ -2813,26 +2833,41 @@ test("a GitHub Work Item recovers its Workflow, gathers independent ballots and ...offeredHandoff, expectedWorkItemRevision: returnedHandoff.workItemRevision, idempotencyKey: "qa-accept-returned", }), { code: "stale_revision" }); const oldSource = resumedStore.getChannelWorkflowStep(p01.id); - assert.ok(oldSource?.metadata?.outputArtifactId); + assert.ok(oldSource?.metadata?.outputArtifactId && oldSource.runId); + const oldPacket = resumedStore.getArtifact(oldSource.metadata.outputArtifactId); + assert.ok(oldPacket?.sealedPayload); + const repairedAt = new Date(Math.max(Date.now(), Date.parse(oldSource.updatedAt) + 1)).toISOString(); + const repairedPacket = resumedStore.createArtifact({ runId: oldSource.runId, type: "json", + path: oldPacket.path, sealedPayload: oldPacket.sealedPayload, createdAt: repairedAt }); + const repairedSource = resumedStore.updateChannelWorkflowStep(p01.id, { + metadata: { ...oldSource.metadata, outputArtifactId: repairedPacket.id }, + }, repairedAt); + assert.ok(repairedSource && repairedSource.updatedAt !== oldSource.updatedAt); + const pendingRepair = (await readBrief(resumedClient)).workflow?.steps.find(step => step.stepId === qa.id)?.handoffs?.[0]; + assert.equal(pendingRepair?.sourceRevision, repairedSource.updatedAt); + assert.equal(pendingRepair?.receiptId, returnedHandoff.record.id); + assert.equal(pendingRepair?.status, "returned"); + assert.equal(pendingRepair?.candidateDigest, oldCandidate.candidateDigest); + const repairedOffer = { ...offeredHandoff, expectedSourceRevision: repairedSource.updatedAt, + expectedWorkItemRevision: returnedHandoff.workItemRevision }; + await assert.rejects(resumedClient.call("workItem/handoff/accept", { + ...repairedOffer, idempotencyKey: "skip-the-return", + }), { code: "stale_revision" }); + await assert.rejects(resumedClient.call("workItem/handoff/accept", { + ...repairedOffer, idempotencyKey: "reuse-returned-candidate", previousHandoffId: returnedHandoff.record.id, + expectedCandidateDigest: oldCandidate.candidateDigest, verification: oldVerification, + }), { code: "work_item_handoff_source_revision_required" }); + await writeFile(join(fixture.cwd, "contract.md"), "Preserve the established contract.\n"); const { candidate } = await resumedClient.call("changes/capture"); + assert.notEqual(candidate.candidateDigest, oldCandidate.candidateDigest); const repair = { - ...offeredHandoff, previousHandoffId: returnedHandoff.record.id, expectedCandidateDigest: candidate.candidateDigest, - expectedWorkItemRevision: returnedHandoff.workItemRevision, idempotencyKey: "qa-accept-repaired-contract", + ...repairedOffer, previousHandoffId: returnedHandoff.record.id, expectedCandidateDigest: candidate.candidateDigest, + idempotencyKey: "qa-accept-repaired-contract", }; await assert.rejects(resumedClient.call("workItem/handoff/accept", repair), { code: "work_item_handoff_verification_required" }); - const verificationPlan = await resumedClient.call("verify/plan", { - ...changeBasis, candidate, requestedChecks: ["verify-contract-handoff"], - }); - const { operationId } = await resumedClient.call("verify/start", { - planId: verificationPlan.planId, planRevision: verificationPlan.planRevision, - candidateDigest: candidate.candidateDigest, idempotencyKey: "qa-repair-check", - }); - const verified = await waitFor(async () => { - const { operation } = await resumedClient.call("verify/status", { operationId }); - return operation.completedAt ? operation : undefined; - }); - assert.equal(verified.status, "passed"); - assert.ok(verified.checks[0]?.producerRefs.length); + await assert.rejects(resumedClient.call("workItem/handoff/accept", { ...repair, verification: oldVerification }), + { code: "work_item_handoff_verification_required" }); + const verification = await checkHandoffCandidate(candidate, "qa-repair-check"); const implementationChange = { ...changeBasis, expectedWorkItemRevision: returnedHandoff.workItemRevision, affectedStageIds: ["P02"], reason: "Reconsider the implementation approach", idempotencyKey: "implementation-scope", @@ -2860,13 +2895,12 @@ test("a GitHub Work Item recovers its Workflow, gathers independent ballots and await assert.rejects(resumedClient.call("workItem/question/ask", { ...ask, expectedWorkItemRevision: question.workItemRevision, waitingStepId: p02.id, respondentStepId: qa.id, idempotencyKey: "mutual-wait", }), { code: "work_item_question_cycle" }); - const handoff = { ...repair, expectedWorkItemRevision: question.workItemRevision, - verification: { operationId, checkId: "verify-contract-handoff" } }; + const handoff = { ...repair, expectedWorkItemRevision: question.workItemRevision, verification }; await writeFile(inputFile, "Changed after QA read\n"); await assert.rejects(resumedClient.call("workItem/handoff/accept", handoff), { code: "work_item_handoff_candidate_stale" }); await writeFile(inputFile, "Verified compatibility input\n"); await assert.rejects(resumedClient.call("workItem/handoff/accept", { - ...handoff, verification: { operationId, checkId: "different-check" }, + ...handoff, verification: { ...verification, checkId: "different-check" }, }), { code: "work_item_handoff_verification_required" }); const handoffPath = `${itemPath}/handoff`; const { daemonUrl, authToken } = fixture.transportOptions(); @@ -2891,8 +2925,8 @@ test("a GitHub Work Item recovers its Workflow, gathers independent ballots and assert.deepEqual(new Set([acceptedHandoff.status, repeatedHandoff.status]), new Set(["appended", "replayed"])); assert.equal(acceptedHandoff.record.id, repeatedHandoff.record.id); assert.equal(acceptedHandoff.record.parentRecordId, returnedHandoff.record.id); - assert.ok(acceptedHandoff.record.sourceRefs.some(source => source.id === oldSource.metadata?.outputArtifactId)); - assert.ok(acceptedHandoff.record.sourceRefs.some(source => source.type === "verification" && source.id === operationId)); + assert.ok(acceptedHandoff.record.sourceRefs.some(source => source.id === repairedPacket.id)); + assert.ok(acceptedHandoff.record.sourceRefs.some(source => source.type === "verification" && source.id === verification.operationId)); const awaitingReply = (await readBrief(resumedClient)).workflow?.steps.find(step => step.stepId === qa.id); assert.equal(awaitingReply?.handoffs?.[0]?.status, "accepted"); assert.equal(awaitingReply.handoffs[0]?.candidateDigest, candidate.candidateDigest); @@ -2993,9 +3027,7 @@ test("a GitHub Work Item recovers its Workflow, gathers independent ballots and const restoredHandoff = await decisionClient.call("workItem/handoff/accept", handoff); assert.equal(restoredHandoff.status, "replayed"); assert.equal(restoredHandoff.record.id, acceptedHandoff.record.id); - const replayedReturn = await decisionClient.call("workItem/handoff/return", { - ...offeredHandoff, reason: "required_check_incomplete", - }); + const replayedReturn = await decisionClient.call("workItem/handoff/return", returnRequest); assert.equal(replayedReturn.record.id, returnedHandoff.record.id); const handoffObserver = await fixture.connect("/app-server/rpc", fixture.cwd, `las1.${grant.grantId}.${observerSecret}`); await assert.rejects(handoffObserver.call("workItem/message/send", stageMessage), { code: "capability_denied" }); From b070acccea5cd32e295a54c7907af37d07aa38c2 Mon Sep 17 00:00:00 2001 From: tianxiaochannel-oss88 Date: Tue, 24 Nov 2026 06:56:49 +0800 Subject: [PATCH 090/147] Enforce shared Work Item Goal budgets at Pi dispatch --- .../ling-app-server-implementation-plan.md | 5 +- packages/contracts/src/app-server.ts | 1 + .../src/harness/delegation-write-types.ts | 1 + packages/core/src/storage/sqlite-run-store.ts | 2 + .../storage/sqlite/delegation-write-store.ts | 14 +- .../src/storage/sqlite/work-item-store.ts | 26 +++ .../sqlite/work-item-workflow-usage.ts | 66 ++++++-- .../harness/delegations/store-composition.ts | 5 +- .../app-server-release-acceptance.test.ts | 159 ++++++++++++++---- 9 files changed, 221 insertions(+), 58 deletions(-) diff --git a/docs/design/ling-app-server-implementation-plan.md b/docs/design/ling-app-server-implementation-plan.md index dc7aeb1e6..c0ea03bdf 100644 --- a/docs/design/ling-app-server-implementation-plan.md +++ b/docs/design/ling-app-server-implementation-plan.md @@ -48,7 +48,8 @@ - 频道 Turn 可以按工作项 ID 和已观察版本提交普通补充。HTTP 和 SSE 使用同一份消息及证据回执。定向回归核对跨频道拒绝、过期版本回滚、同键并发提交、Work Item 事件和零 Run 派发。协调者可将选定内容定向投给当前阶段。两阶段联调核对了目标的下一次 Pi 输入、并行阶段的可见范围、原频道输入及投递回执的重放,以及实际 Run 计数。变更已接受范围时走计划变更入口。 - Work Item 下的 Workflow 按稳定阶段 ID 累计实际启动记录,在启动事务中检查工作项与阶段的重试额度。阶段读取返回已启动次数和剩余额度。回归使用原生 Run 历史验证耗尽后的重启仍拒绝重试,同时允许独立阶段首次运行。 - 阶段读取按 Work Item 和稳定阶段 ID 汇总已绑定 Workflow 的模型用量、工具调用、Run 数和耗时。Goal 按可核对的已发生用量限制下一阶段准入。已结束的 Run 缺少用量时返回 `work_item_goal_usage_unconfirmed`。真实 Daemon 回归覆盖用量未知、耗时上限,以及换 Plan、换 Agent、重启后继续使用同一预算。 -- 相同阶段的结构化 Provider 故障和执行循环按原 Task 去重。阶段读取返回阻塞标识、原 Run、事件和当前恢复负责人。重复故障达到 Goal 阈值时只暂停受影响的阶段。回归覆盖改派后出现相同故障、重启恢复、独立阶段运行,以及相关计划变更获准后继续。每次 Provider 调用的在途预留与可信 Verify、Review 证据触发的恢复继续验收。 +- 相同阶段的结构化 Provider 故障和执行循环按原 Task 去重。阶段读取返回阻塞标识、原 Run、事件和当前恢复负责人。重复故障达到 Goal 阈值时只暂停受影响的阶段。回归覆盖改派后出现相同故障、重启恢复、独立阶段运行,以及相关计划变更获准后继续。可信 Verify、Review 证据触发的停滞恢复继续验收。 +- 启用 Host delegation budget 的 Pi 阶段在向 Provider 发送请求前,使用同一 SQLite 事务核对工作项的 Goal 历史用量和在途预留。真实 Daemon 回归以 25,000 token 的共享上限运行两个并行阶段。首个调用预留 17,000 token,第二阶段在发出请求前拒绝并记录回执。首个调用实测消耗 30 token,重启仍可核对余量 24,970。缺少 Provider 用量回执时保留预留,重启后仍阻止新的阶段准入。其他 Runner 与未启用此 Host 能力的阶段按已有 Run 用量准入。 - Host 注册频道 Task 和 Automation 定义的接单策略后,同一事务保存原生执行、策略回执和适用的 Work Item。HTTP、App Server 和 MCP 使用同一份回执,建议由原 Task 或 Automation 所有者派发。联合回归通过 HTTP 和 SDK 并发确认一次调度建议,重启后执行原 AutomationRun 一次,并从 Work Item 订阅读取 Task 的实际派发状态。免打扰、并发、启动额度和暂停原因保存在原回执。显式复核复用原生执行 ID。 - 自动监控在免打扰、并发或启动额度限制期间保留原观察及 AutomationRun。持续匹配的观察在重新准入时关联原回执。真实 Daemon 回归覆盖多次轮询、重启和解除免打扰后只执行一次。 - 完成的工作项可用 `workItem/feedback/add` 提交经验审查。Daemon 核对当前 Work Item 和成功 Run 的归属,从 Run 采集有限证据,复用 Learning Review 的 Provider 预算和审查入口。受控验收从 P02 的实际读取证据生成 Memory 候选,重启后按原键找回同一任务。 @@ -85,7 +86,7 @@ Windows 源码验收使用独立的 GitHub Actions 作业,启动真实 CLI std | --- | --- | | A1、B1、C1、C2 | 全方法的 Schema 校验和更多宿主兼容组合。workspace、Thread、Work Item 的 grant 和 WSS 已接入。专用 TLS 监听器实测分离控制和答复权限,支持用户答复原回执与撤权。审批和答复仍需在其他宿主和实际远程部署验收。目标游标已绑定存储代次、授权代次和目标,本机兼容用例覆盖上一版源码与候选组合。 | | D1、D2、E1、E2 | 开工与 Pi 运行中的项目规则加载、显式 Claude 规则、两个开发 Skill、工作区 Verify、独立 verifier basis、托管工作树管理、候选改动分页、Turn 改动恢复、选中 hunk 转移和工作台浏览器验证报告已接入。各发行平台验证仍待完成。 | -| F1、F2 | 普通会话 Handoff 的候选封存、Goal 预算承接与接手已接入。CLI `app-server codex-host --thread --state --view` 在回环地址提供双端会话视图。本机 Codex 0.171.0-alpha.13、实际 Ling Daemon 与受控 Provider 联调验证两端状态、Ling 在途排队、活跃 Codex Turn 指导、浏览器重连补齐、回执重放和审批提醒。故障回归覆盖原状态库升级、未写出的请求在重连后补投一次,以及已发出但缺少有效回执时保留待确认结果。阶段启动按历史用量准入,真实 Provider 的逐请求预留仍待验收。 | +| F1、F2 | 普通会话 Handoff 的候选封存、Goal 预算承接与接手已接入。CLI `app-server codex-host --thread --state --view` 在回环地址提供双端会话视图。本机 Codex 0.171.0-alpha.13、实际 Ling Daemon 与受控 Provider 联调验证两端状态、Ling 在途排队、活跃 Codex Turn 指导、浏览器重连补齐、回执重放和审批提醒。故障回归覆盖原状态库升级、未写出的请求在重连后补投一次,以及已发出但缺少有效回执时保留待确认结果。Pi Host 预算路径的逐请求预留已使用受控 Provider 验证,仍需真实 Provider、隔离工作树和其他 Runner 的对应验收。 | | O1、O3–O9 | GitHub 签名 webhook、轮询和显式接单归并至同一工作项。自动接单策略处理免打扰、并发、启动额度和派发前状态重查。现有 Task、AutomationRun 和同频道用户输入可显式关联工作项。已接受的计划能自动开启声明的阶段审议,并可等待当前 Workflow 结果包的交接回执。受影响阶段可单独暂停,后继阶段可显式引用已收敛或仍在途的独立成果,待执行阶段可接收定向消息和有原 Run 证据的 Agent 答复。工作项暂停期间拒绝新增定向消息。阶段客户端和支持协作工具的 Pi 阶段按 Run/Attempt 收发,Pi 在下一次模型输入接收消息和问答。Workflow 执行使用工作项重试上限,并可依据跨 Run 的结构化故障记录暂停单项阶段。还需 Device Fabric 桥接、计划前和在途审议、可信 Verify 与 Review 证据联动及完整 O9 联合验收。 | | G | 独立恢复日志已验证 SQLite 快照恢复、撤权、旧游标失效和 GitHub 对账后派发。上一版源码通过同一套本地兼容验收。签名安装产物、实际远程 WSS、带独立检查 App 的 Ling 主动入队及三个真实 Provider 自研试点仍需对应环境的证据。macOS 打包预检需要当前打包输入的 Office 审查、对应 Electron/OS 的受限运行时审查和 gstack 平台资源。T01 离线预检可进入评审,真实试点仍需按 Framework Assurance 准入。 | diff --git a/packages/contracts/src/app-server.ts b/packages/contracts/src/app-server.ts index 03cd6c4d4..72a4d1c77 100644 --- a/packages/contracts/src/app-server.ts +++ b/packages/contracts/src/app-server.ts @@ -831,6 +831,7 @@ export interface LingAppServerWorkflowGoalBudget { readonly goalId: string; readonly tokenBudget?: number; readonly accountedTokens: number; + readonly reservedTokens?: number; readonly tokensRemaining?: number; readonly maxTimeSeconds?: number; readonly timeUsedSeconds: number; diff --git a/packages/core/src/harness/delegation-write-types.ts b/packages/core/src/harness/delegation-write-types.ts index a3e2b0c24..fc51bcd6c 100644 --- a/packages/core/src/harness/delegation-write-types.ts +++ b/packages/core/src/harness/delegation-write-types.ts @@ -90,6 +90,7 @@ export interface DelegationWriteAuthorityPorts { export interface DelegationWriteStorePorts extends DelegationWriteAuthorityPorts { readonly getRun: (id: string) => RunSession | undefined; + readonly getWorkItemProviderAdmissionBlocker?: (rootRunId: string, reservedTokens: number | undefined, now: string) => string | undefined; readonly getWorkUnit: (id: string) => WorkUnit | undefined; readonly createRunWithinTransaction: (input: CreateRunInput) => RunSession; readonly createWorkUnitWithinTransaction: (input: CreateWorkUnitInput) => WorkUnit; diff --git a/packages/core/src/storage/sqlite-run-store.ts b/packages/core/src/storage/sqlite-run-store.ts index f64827354..03812a95a 100644 --- a/packages/core/src/storage/sqlite-run-store.ts +++ b/packages/core/src/storage/sqlite-run-store.ts @@ -2238,6 +2238,8 @@ export class SqliteRunStore implements RunStore { const writer = new SqliteDelegationWriteStore({ database: this.database }, { ...delegationHost.readers, getRun: (id) => this.getRun(id), + getWorkItemProviderAdmissionBlocker: (runId, tokens, now) => + this.workItems.getWorkflowProviderAdmissionBlocker(runId, tokens, now, this.appServerState), getWorkUnit: (id) => this.getWorkUnit(id), createRunWithinTransaction: (input) => this.runSessions.createRunWithinTransaction(input), createWorkUnitWithinTransaction: (input) => this.runtimeWorkUnits.createWorkUnit(input), diff --git a/packages/core/src/storage/sqlite/delegation-write-store.ts b/packages/core/src/storage/sqlite/delegation-write-store.ts index 7d10107a9..a4540839a 100644 --- a/packages/core/src/storage/sqlite/delegation-write-store.ts +++ b/packages/core/src/storage/sqlite/delegation-write-store.ts @@ -321,12 +321,12 @@ export class SqliteDelegationWriteStore { const now = delegationTimestamp(request.now); const capture = this.capture(request.capture, runId, fence); const requestDigest = delegationDigest({ runId, fence, invocationId, reservedTokens, reservedCostMicros, capture }); - return this.transaction(() => { + const result = this.transaction(() => { const existing = this.row("delegation_budget_charges", "run_id=? AND attempt_id=? AND invocation_id=?", [runId, fence.attemptId, invocationId]); if (existing) { const charge = mapDelegationBudgetCharge(existing); if (charge.requestDigest !== requestDigest) fail("delegation.idempotency_conflict"); - return charge; + return { charge, blocker: charge.state === "cancelled_before_dispatch" ? "work_item_provider_dispatch_cancelled" : undefined }; } this.assertOwner(runId, fence, "running"); assertNoRunSuspensionAdmission(this.context, runId); @@ -340,18 +340,22 @@ export class SqliteDelegationWriteStore { || parentBudget.costBudgetMicros !== undefined && reservedCostMicros! > parentBudget.costBudgetMicros) fail("delegation.budget_exhausted"); const price = this.selectPrice(allocation.root, capture, reservedCostMicros ?? parentBudget.costBudgetMicros); this.assertCapacity(allocation, reservedTokens, reservedCostMicros); + const blocker = this.ports.getWorkItemProviderAdmissionBlocker?.(allocation.root.rootRunId, reservedTokens, now); const id = `delegation_charge_${randomUUID()}`; this.insert("delegation_budget_charges", { id, schema_version: 1, root_run_id: allocation.root.rootRunId, reservation_id: allocation.reservation?.id ?? null, run_id: runId, attempt_id: fence.attemptId, invocation_id: invocationId, request_digest: requestDigest, price_artifact_id: price ? allocation.root.priceArtifactId! : null, price_digest: price ? allocation.root.priceDigest! : null, reserved_tokens: reservedTokens ?? null, reserved_cost_micros: reservedCostMicros ?? null, input_tokens: null, cached_input_tokens: null, - output_tokens: null, actual_cost_micros: null, state: "reserved", idempotency_key: `delegation-charge:${fence.attemptId}:${invocationId}`, - revision: 0, created_at: now, updated_at: now, settled_at: null }); + output_tokens: null, actual_cost_micros: null, state: blocker ? "cancelled_before_dispatch" : "reserved", + idempotency_key: `delegation-charge:${fence.attemptId}:${invocationId}`, + revision: 0, created_at: now, updated_at: now, settled_at: blocker ? now : null }); const charge = this.getDelegationBudgetCharge(id); if (!charge) fail("delegation.persisted_fact_invalid"); - return charge; + return { charge, blocker }; }); + if (result.blocker) throw Object.assign(new Error(result.blocker), { code: result.blocker }); + return result.charge; } settleModelInvocation(input: { readonly chargeId: string; readonly receipt: unknown; readonly now: string }): DelegationBudgetCharge { diff --git a/packages/core/src/storage/sqlite/work-item-store.ts b/packages/core/src/storage/sqlite/work-item-store.ts index c7263676d..9f41c4556 100644 --- a/packages/core/src/storage/sqlite/work-item-store.ts +++ b/packages/core/src/storage/sqlite/work-item-store.ts @@ -865,6 +865,32 @@ export class SqliteWorkItemStore { return readWorkItemWorkflowUsage(this.context, item, this.readWorkflowGoal(item, link.binding, state), now); } + getWorkflowProviderAdmissionBlocker(rootRunId: string, requestedTokens: number | undefined, now: string, + state: SqliteAppServerStateStore): string | undefined { + const run = this.ports.getRun(rootRunId); + const step = run?.workflowStepId ? this.ports.getChannelWorkflowStep(run.workflowStepId) : undefined; + const link = step && state.get("work_item_workflow", step.workflowId)?.payload as WorkItemWorkflowLink | undefined; + if (!step || !link) return undefined; + const blocker = this.getWorkflowAdmissionBlocker(step.workflowId, state, step, rootRunId); + if (blocker) return blocker; + const item = this.getWorkItem(link.binding.workItemId); + if (!item?.workflowId) return "work_item_workflow_stale"; + const current = item.workflowId === step.workflowId + ? link : state.get("work_item_workflow", item.workflowId)?.payload as WorkItemWorkflowLink | undefined; + if (!current) return "work_item_workflow_stale"; + const goal = this.readWorkflowGoal(item, current.binding, state); + if (!goal || goal.tokenBudget === undefined && goal.supervisionPolicy?.maxTimeSeconds === undefined) return undefined; + const budget = readWorkItemWorkflowUsage(this.context, item, goal, now).goalBudget; + if (!budget) return undefined; + if (budget.blocker) return budget.blocker; + if (budget.tokenBudget === undefined) return undefined; + if (requestedTokens === undefined) return "work_item_goal_usage_unconfirmed"; + if (requestedTokens > budget.tokenBudget - budget.accountedTokens - (budget.reservedTokens ?? 0)) { + return "work_item_goal_token_budget_exhausted"; + } + return undefined; + } + getStageProgress(item: WorkItem, step: ChannelWorkflowStep, state: SqliteAppServerStateStore) { const stageId = step.metadata?.planStageId; const link = state.get("work_item_workflow", step.workflowId)?.payload as WorkItemWorkflowLink | undefined; diff --git a/packages/core/src/storage/sqlite/work-item-workflow-usage.ts b/packages/core/src/storage/sqlite/work-item-workflow-usage.ts index 423176b21..15b184e1f 100644 --- a/packages/core/src/storage/sqlite/work-item-workflow-usage.ts +++ b/packages/core/src/storage/sqlite/work-item-workflow-usage.ts @@ -7,14 +7,21 @@ import type { SqliteStoreContext } from "./store-context.js"; interface Usage { runCount: number; observedTokens: number; + reservedTokens: number; toolCalls: number; elapsedSeconds: number; partial: boolean; settledWithoutUsage: boolean; } +interface AttemptCharges { + readonly measuredTokens: number; + readonly noDispatch: 0 | 1; + eventTokens?: number; +} + function emptyUsage(): Usage { - return { runCount: 0, observedTokens: 0, toolCalls: 0, elapsedSeconds: 0, partial: false, settledWithoutUsage: false }; + return { runCount: 0, observedTokens: 0, reservedTokens: 0, toolCalls: 0, elapsedSeconds: 0, partial: false, settledWithoutUsage: false }; } function projectUsage({ runCount, observedTokens, toolCalls, elapsedSeconds, partial }: Usage): LingAppServerWorkflowUsage { @@ -32,11 +39,25 @@ export function readWorkItemWorkflowUsage(context: SqliteStoreContext, item: Wor JOIN run_sessions r ON r.workflow_step_id=s.id AND r.channel_id=s.channel_id WHERE link.workspace_id=? AND link.kind='work_item_workflow' AND json_extract(link.payload_json, '$.binding.workItemId')=? + ), attempt_charges AS ( + SELECT c.run_id, c.attempt_id, COUNT(*)=SUM(c.state='cancelled_before_dispatch') AS no_dispatch, + SUM(CASE WHEN c.state='measured' THEN c.input_tokens + c.output_tokens ELSE 0 END) AS measured_tokens, + SUM(CASE WHEN c.state IN ('reserved','unresolved') THEN COALESCE(c.reserved_tokens,0) ELSE 0 END) AS reserved_tokens, + MAX(c.state='unresolved' OR c.state='reserved' AND c.reserved_tokens IS NULL) AS unresolved + FROM delegation_budget_charges c JOIN owned_runs r ON r.id=c.run_id + GROUP BY c.run_id, c.attempt_id + ), charges AS ( + SELECT run_id, SUM(reserved_tokens) AS reserved_tokens, MAX(unresolved) AS unresolved, + json_group_object(attempt_id, json_object('measuredTokens',measured_tokens,'noDispatch',no_dispatch)) AS by_attempt + FROM attempt_charges + GROUP BY run_id ) - SELECT r.*, e.type AS event_type, + SELECT r.*, c.by_attempt, c.reserved_tokens, c.unresolved, e.type AS event_type, + json_extract(e.data_json,'$.attemptId') AS event_attempt_id, CASE WHEN e.type IN ('message_end','context_compaction_end') AND json_type(e.data_json,'$.usage')='object' THEN json_extract(e.data_json,'$.usage') END AS usage_json FROM owned_runs r + LEFT JOIN charges c ON c.run_id=r.id LEFT JOIN run_events e ON e.run_id=r.id AND (e.type IN ('context_compaction_end','tool_start') OR (e.type='message_end' AND json_extract(e.data_json,'$.role')='assistant')) ORDER BY r.id, e.seq @@ -48,16 +69,26 @@ export function readWorkItemWorkflowUsage(context: SqliteStoreContext, item: Wor const byStep = new Map(); const nowMs = Date.parse(now); let current: { readonly id: string; readonly stepId: string; readonly stageId?: string; readonly threadId?: string; - readonly started: boolean; readonly settled: boolean; readonly usage: Usage } | undefined; + readonly started: boolean; readonly settled: boolean; readonly usage: Usage; + readonly charges: ReadonlyMap; readonly unresolved: boolean } | undefined; const collect = () => { if (!current) return; - const { usage, settled, started, stepId, stageId, threadId } = current; - const missingUsage = usage.partial || started && usage.observedTokens === 0; + const { usage, settled, started, stepId, stageId, threadId, charges, unresolved } = current; + const eventTokens = usage.observedTokens; + for (const charge of charges.values()) usage.observedTokens += Math.max(0, charge.measuredTokens - (charge.eventTokens ?? 0)); + const missingUsage = usage.partial || unresolved || settled && usage.reservedTokens > 0 + || started && usage.observedTokens === 0 && !charges.size; usage.partial = missingUsage || started && !settled; - usage.settledWithoutUsage = settled && missingUsage; + usage.settledWithoutUsage = unresolved || settled && missingUsage; addUsage(total, usage); - if (goal && (threadId !== goal.threadId || !accountedRunIds.has(current.id))) addUsage(goalCharges, usage); + if (goal) { + const alreadyAccounted = threadId === goal.threadId && accountedRunIds.has(current.id); + // A Goal's terminal Run ledger already includes its observed events. + addUsage(goalCharges, alreadyAccounted + ? { ...usage, observedTokens: usage.observedTokens - eventTokens, elapsedSeconds: 0 } + : usage); + } const group = stageId ? byStage : byStep; const key = stageId ?? stepId; let stage = group.get(key); @@ -75,17 +106,23 @@ export function readWorkItemWorkflowUsage(context: SqliteStoreContext, item: Wor const started = readNullableString(row, "started_at"); const ended = readNullableString(row, "ended_at"); const seconds = started ? Math.ceil((Math.min(ended ? Date.parse(ended) : nowMs, nowMs) - Date.parse(started)) / 1000) : 0; - const usage = { ...emptyUsage(), runCount: 1, elapsedSeconds: Number.isFinite(seconds) ? Math.max(0, seconds) : 0 }; + const usage = { ...emptyUsage(), runCount: 1, reservedTokens: Number(row.reserved_tokens ?? 0), + elapsedSeconds: Number.isFinite(seconds) ? Math.max(0, seconds) : 0 }; current = { id, stepId: readString(row, "step_id"), stageId: readNullableString(row, "stage_id"), threadId: readNullableString(row, "thread_id"), started: Boolean(started), - settled: Boolean(ended) || ["succeeded", "failed", "cancelled"].includes(readString(row, "status")), usage }; + settled: Boolean(ended) || ["succeeded", "failed", "cancelled"].includes(readString(row, "status")), usage, + charges: new Map(Object.entries(parseJson(readNullableString(row, "by_attempt") ?? "{}") as Record)), + unresolved: row.unresolved === 1 }; } const { usage } = current; if (row.event_type === "tool_start") usage.toolCalls++; if (row.event_type === "context_compaction_end" || row.event_type === "message_end") { const tokens = observedTokenTotal(parseJson(readNullableString(row, "usage_json") ?? "null")); - if (tokens === undefined) usage.partial = true; - else usage.observedTokens += tokens; + const charge = current.charges.get(readNullableString(row, "event_attempt_id") ?? ""); + if (tokens !== undefined) { + usage.observedTokens += tokens; + if (charge) charge.eventTokens = (charge.eventTokens ?? 0) + tokens; + } else if (charge?.noDispatch !== 1) usage.partial = true; } } collect(); @@ -100,6 +137,7 @@ export function readWorkItemWorkflowUsage(context: SqliteStoreContext, item: Wor function addUsage(target: Usage, source: Usage): void { target.runCount += source.runCount; target.observedTokens += source.observedTokens; + target.reservedTokens += source.reservedTokens; target.toolCalls += source.toolCalls; target.elapsedSeconds += source.elapsedSeconds; target.partial ||= source.partial; @@ -119,12 +157,14 @@ function projectGoalBudget(goal: LingThreadGoal, usage: Usage): LingAppServerWor const { id: goalId, tokenBudget } = goal; const maxTimeSeconds = goal.supervisionPolicy?.maxTimeSeconds; const accountedTokens = goal.tokensUsed + usage.observedTokens; + const availableTokens = tokenBudget === undefined ? undefined : Math.max(0, tokenBudget - accountedTokens - usage.reservedTokens); const timeUsedSeconds = goal.timeUsedSeconds + usage.elapsedSeconds; let blocker: LingAppServerWorkflowGoalBudget["blocker"]; - if (tokenBudget !== undefined && accountedTokens >= tokenBudget) blocker = "work_item_goal_token_budget_exhausted"; + if (availableTokens === 0) blocker = "work_item_goal_token_budget_exhausted"; else if (maxTimeSeconds !== undefined && timeUsedSeconds >= maxTimeSeconds) blocker = "work_item_goal_time_budget_exhausted"; else if (tokenBudget !== undefined && usage.settledWithoutUsage) blocker = "work_item_goal_usage_unconfirmed"; return { goalId, tokenBudget, maxTimeSeconds, accountedTokens, timeUsedSeconds, blocker, - ...(tokenBudget !== undefined && !usage.partial ? { tokensRemaining: Math.max(0, tokenBudget - accountedTokens) } : {}), + ...(usage.reservedTokens ? { reservedTokens: usage.reservedTokens } : {}), + ...(availableTokens !== undefined && !usage.partial ? { tokensRemaining: availableTokens } : {}), }; } diff --git a/packages/daemon/src/features/harness/delegations/store-composition.ts b/packages/daemon/src/features/harness/delegations/store-composition.ts index bb97eb809..64f7a315c 100644 --- a/packages/daemon/src/features/harness/delegations/store-composition.ts +++ b/packages/daemon/src/features/harness/delegations/store-composition.ts @@ -914,8 +914,11 @@ function currentPolicy(state: Composition, run: RunSession, fact: AdmissionFact) const skill = resolveCurrentRunSkill(store, { teammateId: run.teammateId, requestedSkillId: fact.requestedSkillId, providerPresetId: providerRuntimeScopeIdentity(fact.providerScope)?.providerPresetId, task: { channelId: run.channelId } }); const profile = skill ? mergeApprovalProfiles(fact.approvalProfile, skill.skill.approvalProfile) : fact.approvalProfile; + const step = run.workflowStepId ? store.getChannelWorkflowStep(run.workflowStepId) : undefined; + const workspaceAccessMode = step?.metadata?.safetyPlan?.profile === "pi_host_readonly_v1" + ? "read_only" : fact.policyIntent.workspaceAccessMode; return applyConversationModeToEffectiveRunPolicySnapshot(resolveSessionRunPolicy({ workspacePolicy: store.getApprovalPolicy(), - ...fact.policyIntent, channelBoundPath: channel?.boundPath || run.cwd, + ...fact.policyIntent, workspaceAccessMode, channelBoundPath: channel?.boundPath || run.cwd, approvalProfile: profile }).snapshot, thread.conversationMode.mode); } function currentAuthority(state: Composition, runId: string, fence: RuntimeAttemptFenceV1): DelegationExecutionAuthority { diff --git a/packages/daemon/test/app-server-release-acceptance.test.ts b/packages/daemon/test/app-server-release-acceptance.test.ts index d27cb90ac..0a52af0d9 100644 --- a/packages/daemon/test/app-server-release-acceptance.test.ts +++ b/packages/daemon/test/app-server-release-acceptance.test.ts @@ -3348,15 +3348,24 @@ test("a paused Work Item replaces its accepted Workflow after the old Run settle assert.deepEqual(replayedMessage.record.payload, delivered?.payload); }); -async function stageQuestionWorkflow(t: TestContext, providerBaseUrl?: string, parallelReadOnly = false, retryBudget?: number) { - const fixture = await releaseFixture(t, { channels: { terminalReports: false, teamObserverBus: false } }); +async function stageQuestionWorkflow(t: TestContext, providerBaseUrl?: string, parallelReadOnly = false, retryBudget?: number, + options?: { readonly harness: DaemonConfig["harness"]; readonly secretResolver: SecretResolver; readonly apiKeyRef: string }) { + const fixture = await releaseFixture(t, { channels: { terminalReports: false, teamObserverBus: false }, + harness: options?.harness, secretResolver: options?.secretResolver }); const store = fixture.getStore(); const now = new Date().toISOString(); - const preset = providerBaseUrl ? addLoopbackPreset(store, providerBaseUrl) : undefined; + const preset = providerBaseUrl ? addLoopbackPreset(store, providerBaseUrl, options && { + apiKeyRef: options.apiKeyRef, contextWindow: 16_000, maxTokens: 1_000, + }) : undefined; const channel = store.createChannel({ name: "Review", boundPath: fixture.cwd, allowedTools: parallelReadOnly ? ["read"] : [], defaultProviderPresetId: preset?.id, ...(parallelReadOnly ? { runtimePolicy: { maxConcurrentRuns: 2, allowReadOnlyParallel: true } } : {}), }, now); + if (options) { + for (const teammateId of ["teammate_builtin_engineer", "teammate_builtin_qa"]) { + store.replaceTeammateChannelMemberships(teammateId, [{ channelId: channel.id }], now); + } + } const thread = store.createLingThread({ channelId: channel.id, kind: "channel_discussion", title: "Review plan", objective: "Review the compatibility contract." }, now); const plan = store.upsertProposedPlanArtifact({ @@ -3652,6 +3661,65 @@ test("a bound Workflow carries measured Goal spend across Runs, Plans, agents, a assert.equal(provider.requests.length, 3); }); +const workflowProviderBudgetFixture = { + harness: { toolBroker: { mode: "enforce" }, delegations: { mode: "enforce", rootBudget: { tokenBudget: 100_000, wallTimeBudgetMs: 60_000 } } }, + secretResolver: createEnvSecretResolver({ WORK_ITEM_PROVIDER_BUDGET_FIXTURE: "loopback-fixture-key" }), + apiKeyRef: "env:WORK_ITEM_PROVIDER_BUDGET_FIXTURE", +} as const; + +test("parallel Work Item stages reserve their shared Goal budget before sending Pi requests", { timeout: 30_000 }, async t => { + let finishFirst: () => void = () => undefined; + const firstHeld = new Promise(resolve => { finishFirst = resolve; }); + const provider = await startLoopbackPiProvider(async (_body: unknown, invocation: number) => { + assert.equal(invocation, 1); + await firstHeld; + return { text: "Verified the contract.", usage: { prompt_tokens: 26, completion_tokens: 4, total_tokens: 30 } }; + }); + t.after(async () => { finishFirst(); await provider.close(); }); + const { fixture, store, client, item, waiting, respondent, thread } = + await stageQuestionWorkflow(t, provider.baseUrl, true, 2, workflowProviderBudgetFixture); + await client.call("thread/goal/set", { threadId: thread.id, objective: "Check both workflow stages within the Goal budget", tokenBudget: 25_000 }); + const start = (stepId: string) => { + const { daemonUrl, authToken } = fixture.transportOptions(); + const url = new URL(`/workflow-steps/${encodeURIComponent(stepId)}/start`, daemonUrl); + url.searchParams.set("cwd", fixture.cwd); + return fetch(url, { method: "POST", body: JSON.stringify({ mode: "create_and_run_task" }), + headers: { authorization: `Bearer ${authToken}`, "content-type": "application/json" } }); + }; + const read = async (connection = client) => { + const { workflow } = await connection.call("workItem/stage/read", { workItemId: item.id }); + assert.ok(workflow?.goalBudget); + return workflow.goalBudget; + }; + const first = await start(respondent.id); + if (!first.ok) assert.fail(await first.text()); + await waitFor(() => { + const failed = store.listRuns({ workflowStepId: respondent.id }).find(run => run.status === "failed"); + if (failed) assert.fail(JSON.stringify(store.listEvents(failed.id).find(event => event.type === "run_error")?.data)); + return provider.requests.length === 1 ? true : undefined; + }); + assert.equal((await read()).reservedTokens, 17_000); + const second = await start(waiting.id); + assert.ok(second.ok, await second.clone().text()); + await second.text(); + const denied = await waitFor(() => store.listRuns({ workflowStepId: waiting.id }).find(run => run.status === "failed")); + const charge = store.getDelegationCompletionEvidence({ rootRunIds: [denied.id] }).roots[0]?.charges[0]; + assert.equal(charge?.state, "cancelled_before_dispatch"); + assert.equal(provider.requests.length, 1); + assert.equal((await read()).reservedTokens, 17_000); + finishFirst(); + await first.text(); + await waitFor(() => store.getChannelWorkflowStep(respondent.id)?.status === "succeeded" ? true : undefined); + const settled = await read(); + assert.equal(settled.accountedTokens, 30); + assert.equal(settled.tokensRemaining, 24_970); + assert.equal(settled.reservedTokens, undefined); + assert.equal(settled.blocker, undefined); + await fixture.restart(); + assert.deepEqual(await read(await fixture.connect()), settled); + assert.equal(provider.requests.length, 1); +}); + test("the same stage blocker survives reassignment and restart until a scoped Plan change is accepted", { timeout: 35_000 }, async t => { const provider = await startLoopbackPiProvider((_body: unknown, invocation: number) => invocation <= 2 ? { errorStatus: 400, errorCode: "invalid_request_error" } @@ -3767,36 +3835,50 @@ test("the same stage blocker survives reassignment and restart until a scoped Pl assert.equal(provider.requests.length, 4); }); -test("a budgeted Workflow stops new stages when an earlier Run has unconfirmed usage", { timeout: 20_000 }, async t => { - const provider = await startLoopbackPiProvider(() => ({ text: "Contract checked without metering." })); - t.after(() => provider.close()); - const { fixture, client, item, waiting, respondent, thread } = await stageQuestionWorkflow(t, provider.baseUrl, true); - const goalInput = { threadId: thread.id, objective: "Review the compatibility contract", tokenBudget: 10_000 }; - const { goal } = await client.call<{ goal: LingThreadGoal }>("thread/goal/set", goalInput); - const start = (stepId: string) => { - const { daemonUrl, authToken } = fixture.transportOptions(); - const address = new URL(`/workflow-steps/${stepId}/start`, daemonUrl); - address.searchParams.set("cwd", fixture.cwd); - return fetch(address, { method: "POST", body: JSON.stringify({ mode: "create_and_run_task" }), - headers: { authorization: `Bearer ${authToken}`, "content-type": "application/json" } }); - }; - const first = await start(respondent.id); - assert.ok(first.ok, await first.clone().text()); - await first.text(); - await waitFor(() => fixture.getStore().getChannelWorkflowStep(respondent.id)?.status === "succeeded" ? true : undefined); - const read = () => client.call("workItem/stage/read", { workItemId: item.id }); - const unknown = (await read()).workflow; - assert.equal(unknown?.usage?.tokenCoverage, "partial"); - assert.equal(unknown?.goalBudget?.tokensRemaining, undefined); - assert.equal(unknown?.goalBudget?.blocker, "work_item_goal_usage_unconfirmed"); - const blocked = await start(waiting.id); - assert.equal(blocked.status, 409); - assert.equal((await blocked.json()).error, "work_item_goal_usage_unconfirmed"); - await client.call("thread/goal/set", { ...goalInput, expectedGoalRevision: goal.updatedAt, replaceExisting: true, - supervisionPolicy: { maxTimeSeconds: 1 } }); - assert.equal((await read()).workflow?.goalBudget?.blocker, "work_item_goal_time_budget_exhausted"); - assert.equal(provider.requests.length, 1); -}); +for (const guard of ["event usage", "Host reservation"] as const) { + test(`a budgeted Workflow stops new stages when an earlier Run has unconfirmed ${guard}`, { timeout: 20_000 }, async t => { + const withReservation = guard === "Host reservation"; + const provider = await startLoopbackPiProvider(() => ({ text: "Contract checked without metering." })); + t.after(() => provider.close()); + const { fixture, client, item, waiting, respondent, thread } = + await stageQuestionWorkflow(t, provider.baseUrl, true, undefined, withReservation ? workflowProviderBudgetFixture : undefined); + const goalInput = { threadId: thread.id, objective: "Review the compatibility contract", tokenBudget: 25_000 }; + const { goal } = await client.call<{ goal: LingThreadGoal }>("thread/goal/set", goalInput); + const start = (stepId: string) => { + const { daemonUrl, authToken } = fixture.transportOptions(); + const address = new URL(`/workflow-steps/${stepId}/start`, daemonUrl); + address.searchParams.set("cwd", fixture.cwd); + return fetch(address, { method: "POST", body: JSON.stringify({ mode: "create_and_run_task" }), + headers: { authorization: `Bearer ${authToken}`, "content-type": "application/json" } }); + }; + const first = await start(respondent.id); + assert.ok(first.ok, await first.clone().text()); + await first.text(); + const read = (connection = client) => connection.call("workItem/stage/read", { workItemId: item.id }); + const unknown = await waitFor(async () => { + const { workflow } = await read(); + return workflow?.goalBudget?.blocker === "work_item_goal_usage_unconfirmed" ? workflow : undefined; + }); + assert.equal(unknown?.usage?.tokenCoverage, "partial"); + assert.equal(unknown?.goalBudget?.tokensRemaining, undefined); + assert.equal(unknown?.goalBudget?.blocker, "work_item_goal_usage_unconfirmed"); + assert.equal(unknown?.goalBudget?.reservedTokens, withReservation ? 17_000 : undefined); + const blocked = await start(waiting.id); + assert.equal(blocked.status, 409); + assert.equal((await blocked.json()).error, "work_item_goal_usage_unconfirmed"); + if (withReservation) await fixture.restart(); + const controller = withReservation ? await fixture.connect() : client; + if (withReservation) { + const budget = (await read(controller)).workflow?.goalBudget; + assert.equal(budget?.reservedTokens, 17_000); + assert.equal(budget?.blocker, "work_item_goal_usage_unconfirmed"); + } + await controller.call("thread/goal/set", { ...goalInput, expectedGoalRevision: goal.updatedAt, replaceExisting: true, + supervisionPolicy: { maxTimeSeconds: 1 } }); + assert.equal((await read(controller)).workflow?.goalBudget?.blocker, "work_item_goal_time_budget_exhausted"); + assert.equal(provider.requests.length, 1); + }); +} test("a reply at a stage question deadline is durable history and does not release the waiting step", { timeout: 15_000 }, async t => { const { fixture, store, client, item, workItem, workflowId, waiting, respondent } = await stageQuestionWorkflow(t); @@ -4786,11 +4868,12 @@ function readOnlyExternalConformance(adapterRevision: string) { } as const; } -function addLoopbackPreset(store: SqliteRunStore, baseUrl: string) { +function addLoopbackPreset(store: SqliteRunStore, baseUrl: string, + bounds?: { readonly apiKeyRef: string; readonly contextWindow: number; readonly maxTokens: number }) { const now = new Date().toISOString(); const preset = store.createProviderPreset({ kind: "openai-compatible", displayName: "Release Pi fixture", providerId: "release-pi-fixture", model: "static-tools", - api: "openai-completions", baseUrl, authHeader: false, reasoning: false, capabilities: ["chat"], enabled: true, + api: "openai-completions", baseUrl, authHeader: false, reasoning: false, capabilities: ["chat"], enabled: true, ...bounds, }, now); store.recordProviderCheckResult(preset.id, { ok: true, code: "ready", message: "Loopback fixture", checkedAt: now }); return preset; @@ -5250,6 +5333,7 @@ async function releaseFixture(t: TestContext, { const priorLingHome = process.env.LING_STACK_HOME; process.env.LING_STACK_HOME = join(root, "fixture-home"); const stores = new Map(); + const usesOriginalStore = harness?.delegations?.mode === "enforce" || harness?.delegations?.mode === "shadow"; const clients = new Set(); const makeDaemon = (runtime: ReleaseRuntime) => runtime.createDaemonServer({ host: "127.0.0.1", port: 0, defaultWorkspaceCwd: cwd, authToken: requireAuth ? authToken : undefined, harness, channels, @@ -5261,13 +5345,14 @@ async function releaseFixture(t: TestContext, { externalWorkFetch, secretResolver, remoteReplyDispatcher: null, - storeFactory(workspace) { + ...(usesOriginalStore ? { onStoreInitialized: (workspace: string, store: import("@ling-stack/core").RunStore) => + stores.set(workspace, store as SqliteRunStore) } : { storeFactory(workspace: string) { const store = runtime.createSqliteRunStore(workspace, runtime.resolveStoragePaths(workspace, { homeDir: join(root, "fixture-home"), env: {}, workspaceStateLocation: "repo-local", }).workspace); stores.set(workspace, store); return store; - }, + } }), }); let daemon = makeDaemon(initialRuntime); async function stop() { From 401b9951197028f27160a3014e32d735ca1f4c91 Mon Sep 17 00:00:00 2001 From: tianxiaochannel-oss88 Date: Tue, 24 Nov 2026 07:19:17 +0800 Subject: [PATCH 091/147] Bind App Server reviews to accepted Work Item plans --- .../ling-app-server-implementation-plan.md | 1 + packages/contracts/src/app-server-schema.ts | 14 +++++++-- packages/contracts/src/app-server.ts | 8 ++--- packages/contracts/src/code-assessments.ts | 7 +++++ packages/core/src/code-assessment-store.ts | 3 +- .../storage/sqlite/code-assessment-store.ts | 3 ++ .../src/features/code-assessments/service.ts | 11 +++++-- .../src/server/app-server-development.ts | 29 +++++++++++++++++-- .../app-server-release-acceptance.test.ts | 21 ++++++++++---- 9 files changed, 78 insertions(+), 19 deletions(-) diff --git a/docs/design/ling-app-server-implementation-plan.md b/docs/design/ling-app-server-implementation-plan.md index 3cf330b8d..275b6936c 100644 --- a/docs/design/ling-app-server-implementation-plan.md +++ b/docs/design/ling-app-server-implementation-plan.md @@ -25,6 +25,7 @@ - Host 登记的 Verify 配方可以选择受影响路径,并把独立 verifier source 的摘要、coverage 和 producer refs 封存到每个检查结果。 - 复核工作台的「验证」页使用和 App Server 相同的 Verify operation。浏览器验收在隔离仓库中从 Web 触发已登记的 Chromium 检查,读取实际断言输出,刷新后恢复原结果并显示候选漂移。 - Goal 的 `verification_passed` 条件要求同一 Thread 的已完成 Verify operation、当前候选摘要、匹配的 verifier basis、coverage 和 producer refs。候选漂移、检查来源漂移、缺少独立证据和过期的接受版本都会阻止完成。 +- 工作项 Review 在捕获候选后核对 Work Item、接受的 Plan 修订和控制代次,并在 assessment 事务中封存该归属。真实 Daemon 回归覆盖工作项不匹配、旧 Plan、暂停期间拒绝新 Review,以及重启后重读原审查和发现项处置回执。 - App Server 可以为已绑定的频道或队友会话创建、刷新和归档托管工作树。归档按检视过的候选和目录身份校验,恢复日志保留同一预览请求的归档快照。 - 普通会话可从最新已收敛的 Turn 封存 Handoff。接手保留 Goal ID、累计用量、预算和监督状态。回归覆盖转移 Goal 后、受理子会话 Turn 前失败,重启后复用转移回执并派发一次。候选、Goal 或计划变化时需要更新 Handoff。 - App Server operator grant 支持 workspace、Thread 和 Work Item 范围,按 scope 分开观察、控制、审批和答复权限。grant 的 revision、过期和撤销参与握手、请求和推送路径。 diff --git a/packages/contracts/src/app-server-schema.ts b/packages/contracts/src/app-server-schema.ts index 39efae5d8..77a8ead94 100644 --- a/packages/contracts/src/app-server-schema.ts +++ b/packages/contracts/src/app-server-schema.ts @@ -105,6 +105,13 @@ const collaborationAppend = { ...workItemTarget, idempotencyKey: stringSchema, a const deliberationSettlement = { ...workItemTarget, roundId: stringSchema, expectedRoundRevision: integerSchema, expectedWorkItemRevision: integerSchema, idempotencyKey: stringSchema, reason: stringSchema }; const deliberationSettlementFields = ["workItemId", "roundId", "expectedRoundRevision", "expectedWorkItemRevision", "idempotencyKey", "reason"]; +const reviewResultFields = ["operationId", "assessmentId", "candidateDigest", "status"]; +const reviewResult = { + operationId: stringSchema, assessmentId: stringSchema, candidateDigest: stringSchema, + status: { enum: ["queued", "running", "completed", "partial", "failed", "cancelled"] }, + workItem: objectWith({ ...workItemTarget, acceptedPlanRevision: stringSchema, controlGeneration: integerSchema }, + ["workItemId", "controlGeneration"]), +}; const worktreeTarget = { ownerKind: { enum: ["channel", "teammate"] }, ownerId: stringSchema }; const changeWorktree = objectWith(worktreeTarget, ["ownerKind", "ownerId"]); const changeSource = { cwd: stringSchema, sourceWorktree: changeWorktree }; @@ -466,9 +473,12 @@ function schemaFor(method: LingAppServerMethod): LingAppServerMethodSchema { return { params: objectWith({ operationId: stringSchema, expectedRevision: stringSchema, idempotencyKey: stringSchema }, ["operationId", "idempotencyKey"]), result }; case "review/start": return { params: objectWith({ candidate, ...workItemTarget, idempotencyKey: stringSchema, reviewRulesRefs: stringArraySchema, - providerPresetId: stringSchema }, ["candidate", "idempotencyKey"]), result: operationResult }; + providerPresetId: stringSchema, baseInstructions: stringSchema, planRevision: stringSchema }, ["candidate", "idempotencyKey"]), + result: objectWith(reviewResult, reviewResultFields) }; case "review/status": - return { params: objectWith({ assessmentId: stringSchema, operationId: stringSchema }), result: operationResult }; + return { params: objectWith({ assessmentId: stringSchema, operationId: stringSchema }), + result: objectWith({ ...reviewResult, revision: stringSchema, findingIds: stringArraySchema, + summary: stringSchema, errorMessage: stringSchema, reviewRules: objectSchema }, [...reviewResultFields, "revision", "findingIds"]) }; case "review/finding/update": return { params: objectWith({ assessmentId: stringSchema, findingId: stringSchema, disposition: { enum: ["open", "acknowledged", "resolved", "dismissed"] }, expectedRevision: stringSchema, idempotencyKey: stringSchema }, ["assessmentId", "findingId", "disposition", "idempotencyKey"]), result }; diff --git a/packages/contracts/src/app-server.ts b/packages/contracts/src/app-server.ts index 72a4d1c77..909d19220 100644 --- a/packages/contracts/src/app-server.ts +++ b/packages/contracts/src/app-server.ts @@ -1711,6 +1711,7 @@ export interface LingAppServerVerifyCancelResult { export interface LingAppServerReviewStartParams { readonly cwd?: string; readonly workItemId?: string; + readonly planRevision?: string; readonly candidate: LingAppServerCandidateReference; readonly baseInstructions?: string; readonly reviewRulesRefs?: readonly string[]; @@ -1723,6 +1724,7 @@ export interface LingAppServerReviewStartResult { readonly assessmentId: string; readonly candidateDigest: string; readonly status: "queued" | "running" | "completed" | "partial" | "failed" | "cancelled"; + readonly workItem?: import("./code-assessments.js").CodeAssessmentWorkItemScope; } export interface LingAppServerReviewStatusParams { @@ -1731,11 +1733,7 @@ export interface LingAppServerReviewStatusParams { readonly assessmentId?: string; } -export interface LingAppServerReviewStatusResult { - readonly operationId: string; - readonly assessmentId: string; - readonly candidateDigest: string; - readonly status: LingAppServerReviewStartResult["status"]; +export interface LingAppServerReviewStatusResult extends LingAppServerReviewStartResult { readonly revision: string; readonly findingIds: readonly string[]; readonly summary?: string; diff --git a/packages/contracts/src/code-assessments.ts b/packages/contracts/src/code-assessments.ts index c6d1ca67f..d28d4774d 100644 --- a/packages/contracts/src/code-assessments.ts +++ b/packages/contracts/src/code-assessments.ts @@ -78,6 +78,12 @@ export interface CodeAssessmentReviewRules { readonly omitted: readonly string[]; } +export interface CodeAssessmentWorkItemScope { + readonly workItemId: string; + readonly acceptedPlanRevision?: string; + readonly controlGeneration: number; +} + export interface CodeAssessment { readonly id: string; readonly kind: CodeAssessmentKind; @@ -95,6 +101,7 @@ export interface CodeAssessment { readonly instructions?: string; readonly reviewFocus?: "simplification"; readonly reviewRules?: CodeAssessmentReviewRules; + readonly workItem?: CodeAssessmentWorkItemScope; readonly runId?: string; readonly phaseRuns?: readonly CodeAssessmentPhaseRun[]; readonly threatModelArtifactId?: string; diff --git a/packages/core/src/code-assessment-store.ts b/packages/core/src/code-assessment-store.ts index f4c9cf6e7..8e68bb2e7 100644 --- a/packages/core/src/code-assessment-store.ts +++ b/packages/core/src/code-assessment-store.ts @@ -8,7 +8,8 @@ export interface CodeAssessmentStore { readonly instructions?: string; readonly reviewFocus?: CodeAssessment["reviewFocus"]; readonly reviewRules?: CodeAssessmentReviewRules; - readonly submission?: { readonly idempotencyKey: string; readonly fingerprint: string }; + readonly submission?: { readonly idempotencyKey: string; readonly fingerprint: string; + readonly workItem?: CodeAssessment["workItem"]; readonly assertCurrent?: () => void }; readonly snapshot: CodeAssessmentSnapshot; readonly preparedAt?: string; readonly captureStartedAt?: string; diff --git a/packages/core/src/storage/sqlite/code-assessment-store.ts b/packages/core/src/storage/sqlite/code-assessment-store.ts index 192c493ca..1e5ae7e93 100644 --- a/packages/core/src/storage/sqlite/code-assessment-store.ts +++ b/packages/core/src/storage/sqlite/code-assessment-store.ts @@ -12,6 +12,7 @@ import type { CodeAssessmentStore } from "../../code-assessment-store.js"; import type { SqliteStoreContext } from "./store-context.js"; import { rollbackOwnedSqliteTransaction } from "./helpers.js"; import { SqliteAppServerStateStore } from "./app-server-state-store.js"; +import { readSqliteWithinTransaction } from "./read-snapshot.js"; const maxSnapshotBytes = 1024 * 1024; const maxDiffBytes = 256 * 1024; @@ -60,6 +61,7 @@ export class SqliteCodeAssessmentStore implements CodeAssessmentStore { ...(input.instructions ? { instructions: input.instructions } : {}), ...(input.reviewFocus ? { reviewFocus: input.reviewFocus } : {}), ...(input.reviewRules ? { reviewRules: input.reviewRules } : {}), + ...(input.submission?.workItem ? { workItem: input.submission.workItem } : {}), phase: "collecting_diff", phaseHistory: [{ phase: "preparing", enteredAt: input.preparedAt ?? input.now }, { phase: "collecting_diff", enteredAt: input.captureStartedAt ?? input.now }], metrics: mergeMetrics({ snapshotBytes: Buffer.byteLength(JSON.stringify(input.snapshot), "utf8"), diffBytes: input.snapshot.files.reduce((size, file) => size + Buffer.byteLength(file.diff, "utf8"), 0) }, input.metrics), validation: { state: "not_run", reason: "Tool-free Diff assessment does not execute tests or reproduce exploits." }, @@ -70,6 +72,7 @@ export class SqliteCodeAssessmentStore implements CodeAssessmentStore { const db = this.context.database; begin(db); try { + if (input.submission?.assertCurrent) readSqliteWithinTransaction(db, input.submission.assertCurrent); if (db.prepare("SELECT id FROM code_assessments WHERE status IN ('queued','analyzing') LIMIT 1").get()) throw new Error("An assessment is already running in this workspace."); db.prepare("INSERT INTO code_assessment_snapshots(id,digest,body_json) VALUES (?,?,?)").run(input.snapshot.id, input.snapshot.digest, JSON.stringify(input.snapshot)); db.prepare("INSERT INTO code_assessments(id,kind,status,snapshot_id,created_at,body_json) VALUES (?,?,?,?,?,?)").run(assessment.id, assessment.kind, assessment.status, assessment.snapshotId, assessment.createdAt, JSON.stringify(assessment)); diff --git a/packages/daemon/src/features/code-assessments/service.ts b/packages/daemon/src/features/code-assessments/service.ts index 581d79b39..513786b2b 100644 --- a/packages/daemon/src/features/code-assessments/service.ts +++ b/packages/daemon/src/features/code-assessments/service.ts @@ -123,6 +123,8 @@ interface ReviewSubmission { readonly fingerprint: string; readonly rulesRefs: readonly string[]; readonly reviewFocus?: CodeAssessmentDetail["assessment"]["reviewFocus"]; + readonly workItem?: CodeAssessmentDetail["assessment"]["workItem"]; + readonly assertCurrent?: () => void; } export async function startCodeAssessment( @@ -157,7 +159,8 @@ export async function startCodeAssessment( detail = store.createCodeAssessment({ id: submission?.assessmentId ?? `assessment_${randomUUID()}`, kind: input.kind, providerPresetId: input.providerPresetId, instructions: input.instructions, snapshot, reviewRules, reviewFocus: submission?.reviewFocus, - ...(submission ? { submission: { idempotencyKey: submission.idempotencyKey, fingerprint: submission.fingerprint } } : {}), + ...(submission ? { submission: { idempotencyKey: submission.idempotencyKey, fingerprint: submission.fingerprint, + workItem: submission.workItem, assertCurrent: submission.assertCurrent } } : {}), preparedAt, captureStartedAt, metrics: { captureDurationMs: Math.max(0, Date.now() - Date.parse(captureStartedAt)) }, now: now(), }); let scanned = 0; @@ -174,7 +177,7 @@ export async function startCodeAssessment( if (page.nextOffset === undefined) break; } } finally { capturing.delete(store); } - await launchStage(store, detail.assessment.id, input.kind === "security" ? "threat_model" : "reviewing_code", startRun); + await launchStage(store, detail.assessment.id, input.kind === "security" ? "threat_model" : "reviewing_code", startRun, submission?.assertCurrent); return store.getCodeAssessment(detail.assessment.id)!; } @@ -196,7 +199,8 @@ function materializeThreatModel(store: RunStore, id: string, run: RunSession): b } } -async function launchStage(store: RunStore, id: string, phase: CodeAssessmentRunPhase, startRun: StartCodeAssessmentRun): Promise { +async function launchStage(store: RunStore, id: string, phase: CodeAssessmentRunPhase, startRun: StartCodeAssessmentRun, + assertCurrent?: () => void): Promise { const detail = store.getCodeAssessment(id); if (!detail || !isActiveCodeAssessment(detail.assessment.status)) return undefined; let threatModel: CodeAssessmentThreatModel | undefined; @@ -214,6 +218,7 @@ async function launchStage(store: RunStore, id: string, phase: CodeAssessmentRun const releasePending = retainPending(store, id); const runId = await startDetachedRunAndResolveReady(onReady => Promise.resolve().then(() => { if (!isActiveCodeAssessment(store.getCodeAssessment(id)!.assessment.status)) return undefined; + assertCurrent?.(); return startRun(codeAssessmentRunRequest(store.paths.cwd, detail, phase, threatModel), async run => { if (phase === "threat_model") { if (materializeThreatModel(store, id, run)) await launchStage(store, id, "reviewing_code", startRun); diff --git a/packages/daemon/src/server/app-server-development.ts b/packages/daemon/src/server/app-server-development.ts index dba8f85d0..fe996083c 100644 --- a/packages/daemon/src/server/app-server-development.ts +++ b/packages/daemon/src/server/app-server-development.ts @@ -297,6 +297,11 @@ export class AppServerDevelopmentService { if (typeof key !== "string" || !key.trim() || key.length > 200) { throw new HttpError(400, "invalid_params", "A review idempotency key of up to 200 characters is required."); } + if ([input.workItemId, input.planRevision].some(value => value !== undefined + && (typeof value !== "string" || !value.trim() || value.length > 256)) + || input.planRevision !== undefined && input.workItemId === undefined) { + throw new HttpError(400, "invalid_params", "Supply a valid Work Item and its accepted Plan revision."); + } const rulesRefs = parseReviewRuleRefs(input.reviewRulesRefs); let request: CreateCodeAssessmentRequest; try { @@ -311,7 +316,8 @@ export class AppServerDevelopmentService { } const kind = reviewFocus === "simplification" ? "simplify_submission" : "review_submission"; const assessmentId = `assessment_app_${reviewFocus === "simplification" ? "simplify_" : ""}${digest(key)}`; - const fingerprint = digest(JSON.stringify([input.workItemId, input.candidate.candidateDigest, request, rulesRefs])); + const fingerprint = digest(JSON.stringify([input.workItemId, input.candidate.candidateDigest, request, rulesRefs, + ...(input.planRevision !== undefined ? [input.planRevision] : [])])); const prior = store.getAppServerState(kind, assessmentId); if (prior) { assertReviewFingerprint(prior.payload, fingerprint); @@ -324,9 +330,27 @@ export class AppServerDevelopmentService { assertReviewFingerprint(pending.fingerprint, fingerprint); return await pending.result; } + const item = input.workItemId ? store.getWorkItem(input.workItemId) : undefined; + if (input.workItemId && !item) throw new HttpError(404, "review_scope_not_found", "The Work Item is unavailable."); + const workItem = item ? { workItemId: item.id, acceptedPlanRevision: item.planRevision, + controlGeneration: item.control.generation } : undefined; + if (input.planRevision !== undefined && input.planRevision !== workItem?.acceptedPlanRevision) { + throw new HttpError(409, "stale_revision", "The accepted Work Item Plan changed."); + } + const assertCurrent = workItem && (() => { + const current = store.getWorkItem(workItem.workItemId); + if (!current || current.planRevision !== workItem.acceptedPlanRevision || current.control.generation !== workItem.controlGeneration) { + throw new HttpError(409, "stale_revision", "The Work Item or its accepted Plan changed."); + } + if (current.control.state !== "active" || current.holds.some(hold => hold.blocksNewAdmission) + || ["done", "cancelled", "archived", "superseded"].includes(current.status)) { + throw new HttpError(409, "resume_blocked", "The Work Item is not admitting a new review."); + } + }); + assertCurrent?.(); if (!this.options.startCodeAssessmentRun) throw new Error("Code assessment runner is unavailable."); const result = startCodeAssessment(store, request, this.options.startCodeAssessmentRun, { - assessmentId, candidateDigest: input.candidate.candidateDigest, idempotencyKey: key, fingerprint, rulesRefs, reviewFocus, + assessmentId, candidateDigest: input.candidate.candidateDigest, idempotencyKey: key, fingerprint, rulesRefs, reviewFocus, workItem, assertCurrent, }); this.pendingReviews.set(pendingKey, { fingerprint, result }); try { @@ -657,6 +681,7 @@ function reviewStartResult(detail: CodeAssessmentDetail): LingAppServerReviewSta assessmentId: detail.assessment.id, candidateDigest: detail.snapshot.digest, status: assessmentStatus(detail), + ...(detail.assessment.workItem ? { workItem: detail.assessment.workItem } : {}), }; } diff --git a/packages/daemon/test/app-server-release-acceptance.test.ts b/packages/daemon/test/app-server-release-acceptance.test.ts index 0a52af0d9..70e5c8e13 100644 --- a/packages/daemon/test/app-server-release-acceptance.test.ts +++ b/packages/daemon/test/app-server-release-acceptance.test.ts @@ -1011,7 +1011,7 @@ test("interrupt with a message cancels the source and delivers one redirect cont assert.equal(fixture.getStore().getLingTurnForRun(delivered.continuationRunId!)?.kind, "interrupt_redirect"); }); -test("a completed Review binds its candidate and replays the same assessment after daemon restart", { timeout: 30_000 }, async t => { +test("a completed Review binds its candidate and accepted Work Item Plan across restart", { timeout: 30_000 }, async t => { let snapshotDigest: string; const provider = await startLoopbackPiProvider(() => ({ text: JSON.stringify({ snapshotDigest, summary: "The fixture matches the review scope.", findings: [{ @@ -1021,7 +1021,8 @@ test("a completed Review binds its candidate and replays the same assessment aft }], }) })); t.after(() => provider.close()); - const fixture = await releaseFixture(t); + const { fixture, client, item, workItem, preset } = await stageQuestionWorkflow(t, provider.baseUrl); + assert.ok(preset && workItem.planRevision); const git = (...args: string[]) => execFileSync("git", args, { cwd: fixture.cwd, stdio: "ignore" }); await writeFile(join(fixture.cwd, ".gitignore"), ".ling-stack/\n"); await writeFile(join(fixture.cwd, "AGENTS.md"), "## Code Review Rules\n\nCheck all existing callers.\n\n## Tests\nRun the test suite.\n"); @@ -1034,11 +1035,12 @@ test("a completed Review binds its candidate and replays the same assessment aft git("-c", "user.name=Fixture", "-c", "user.email=fixture@example.test", "commit", "-qm", "Review base"); await writeFile(join(fixture.cwd, "AGENTS.md"), "## Code Review Rules\n\nSkip checking existing callers.\n"); await writeFile(join(fixture.cwd, "feature/code.ts"), "export const fixture = 1;\n"); - const client = await fixture.connect(); const { candidate, headCommit } = await client.call<{ candidate: LingAppServerCandidateReference; headCommit: string }>("changes/capture"); snapshotDigest = candidate.candidateDigest; - const preset = addLoopbackPreset(fixture.getStore(), provider.baseUrl); - const input = { candidate, providerPresetId: preset.id, idempotencyKey: "review-fixture", reviewRulesRefs: ["feature/REVIEW.md"] }; + const input = { candidate, providerPresetId: preset.id, idempotencyKey: "review-fixture", + reviewRulesRefs: ["feature/REVIEW.md"], workItemId: item.id, planRevision: workItem.planRevision }; + await assert.rejects(client.call("review/start", { ...input, workItemId: "unavailable" }), { code: "review_scope_not_found" }); + await assert.rejects(client.call("review/start", { ...input, planRevision: "superseded" }), { code: "stale_revision" }); await assert.rejects(client.call("review/start", { ...input, candidate: { ...candidate, candidateDigest: "stale" } }), { code: "candidate_stale" }); const parallel = await fixture.connect(); const [started, duplicate] = await Promise.all([ @@ -1053,6 +1055,8 @@ test("a completed Review binds its candidate and replays the same assessment aft return ["queued", "running"].includes(result.status) ? undefined : result; }); assert.equal(terminal.status, "completed", JSON.stringify(terminal)); + assert.deepEqual(terminal.workItem, { workItemId: item.id, acceptedPlanRevision: workItem.planRevision, controlGeneration: 0 }); + assert.deepEqual(started.workItem, terminal.workItem); assert.equal(terminal.reviewRules?.baseSha, headCommit); assert.deepEqual(terminal.reviewRules?.sources.map(({ path, guidance }) => [path, guidance]), [ ["AGENTS.md", "Check all existing callers."], @@ -1072,6 +1076,11 @@ test("a completed Review binds its candidate and replays the same assessment aft assert.notEqual(update.revision, terminal.revision); assert.equal(fixture.getStore().getCodeAssessment(started.assessmentId)?.assessment.freshness?.state, "current"); await assert.rejects(client.call("review/finding/update", { ...triage, idempotencyKey: "stale-finding" }), { code: "stale_revision" }); + await client.call("workItem/pause", { + workItemId: item.id, expectedWorkItemRevision: Number(workItem.revision), expectedControlGeneration: 0, + actorId: "local-user", idempotencyKey: "pause-before-replacement-review", + }); + await assert.rejects(client.call("review/start", { ...input, idempotencyKey: "replacement-review" }), { code: "resume_blocked" }); await fixture.restart(); const second = await fixture.connect(); const restored = fixture.getStore().getCodeAssessment(started.assessmentId); @@ -3400,7 +3409,7 @@ async function stageQuestionWorkflow(t: TestContext, providerBaseUrl?: string, p expectedWorkItemRevision: Number(claim.workItem.revision), idempotencyKey: "bind-question-deadline", }); assert.ok(workItem.planRevision); - return { fixture, store, client, item, workItem, workflowId: accepted.workflowId, waiting, respondent, channel, thread, plan }; + return { fixture, store, client, item, workItem, workflowId: accepted.workflowId, waiting, respondent, channel, thread, plan, preset }; } test("a successor Workflow waits for an independent live Run owned by its predecessor", { timeout: 30_000 }, async t => { From 2f7278c7f15525111779cc5d778f8906384b9fd7 Mon Sep 17 00:00:00 2001 From: tianxiaochannel-oss88 Date: Tue, 24 Nov 2026 07:38:10 +0800 Subject: [PATCH 092/147] Expose MCP development checks and guard coordination admission --- .../ling-app-server-implementation-plan.md | 3 +- .../daemon/src/features/automations/run.ts | 16 ++-- packages/daemon/src/server/app-server-mcp.ts | 47 ++++++++++++ .../app-server-release-acceptance.test.ts | 76 ++++++++++++++----- 4 files changed, 112 insertions(+), 30 deletions(-) diff --git a/docs/design/ling-app-server-implementation-plan.md b/docs/design/ling-app-server-implementation-plan.md index 275b6936c..6e9d506eb 100644 --- a/docs/design/ling-app-server-implementation-plan.md +++ b/docs/design/ling-app-server-implementation-plan.md @@ -26,6 +26,7 @@ - 复核工作台的「验证」页使用和 App Server 相同的 Verify operation。浏览器验收在隔离仓库中从 Web 触发已登记的 Chromium 检查,读取实际断言输出,刷新后恢复原结果并显示候选漂移。 - Goal 的 `verification_passed` 条件要求同一 Thread 的已完成 Verify operation、当前候选摘要、匹配的 verifier basis、coverage 和 producer refs。候选漂移、检查来源漂移、缺少独立证据和过期的接受版本都会阻止完成。 - 工作项 Review 在捕获候选后核对 Work Item、接受的 Plan 修订和控制代次,并在 assessment 事务中封存该归属。真实 Daemon 回归覆盖工作项不匹配、旧 Plan、暂停期间拒绝新 Review,以及重启后重读原审查和发现项处置回执。 +- 认证 MCP bridge 根据可用 App Server 方法提供 Verify 计划、执行、查询和取消,以及 Review 启动、查询和发现项处置。实际回归从 MCP 与 WebSocket 并发提交相同候选,核对同一操作回执、一次执行,以及重启后通过 App Server 复用原结果。 - App Server 可以为已绑定的频道或队友会话创建、刷新和归档托管工作树。归档按检视过的候选和目录身份校验,恢复日志保留同一预览请求的归档快照。 - 普通会话可从最新已收敛的 Turn 封存 Handoff。接手保留 Goal ID、累计用量、预算和监督状态。回归覆盖转移 Goal 后、受理子会话 Turn 前失败,重启后复用转移回执并派发一次。候选、Goal 或计划变化时需要更新 Handoff。 - App Server operator grant 支持 workspace、Thread 和 Work Item 范围,按 scope 分开观察、控制、审批和答复权限。grant 的 revision、过期和撤销参与握手、请求和推送路径。 @@ -67,7 +68,7 @@ | E2 交付前验收 | App Server 与 HTTP 使用同一套 Goal 验收解析和证据检查。实际 Pi Run 通过后,可用同 Thread 证据完成 Goal。Verify 结果用绑定当前候选的 `verification_passed` 条件完成 Goal,独立 verifier basis、coverage 和 producer refs 不匹配时会被拒绝。Review 已验证候选绑定、发现项处置和 freshness 持久化。`simplify/start` 与 `simplify/status` 支持只读简化审查及重启重放。`github_delivered` 要求当前已提交候选、同 Thread 与 Work Item、已接受的检查政策和 Host 重新核对的实际合并结果。 | | O4 GitHub 证据核对 | 配置注册仓库、不可变仓库 ID 与分支政策。按 PR、实时 base、检查 App、冻结的 workflow 文件、实际测试对象和最近 attempt 核对证据。`changes/capture` 的 `scope: "head"` 提供已提交候选摘要,可以在本地有后续编辑时对账已经发生的合并。Goal 交付验收和队列准入仍核对干净的当前候选。队列响应丢失后先查原队列项。真实受保护仓库已验证 GitHub 原生合并队列和 Ling 对账。Schema 声明检查来源、受测提交、运行尝试和队列回执。 | | O1/O8/O9 接单、控制和协作 | 工作项创建、控制、接单、证据和协作写入各自与对应事件同事务提交。真实 Daemon 回归从同一个受控 GitHub Issue 的两个入口归并 Work Item,在接单前订阅,接通 P01、独立 QA 与等待裁决的 P02。覆盖暂停、重启、裁决恢复与原步骤派发一次。按下方矩阵继续验收阶段交接、自动审议、停滞和联合界面。 | -| O7 定时协调轮次 | 已配置的 Automation 在同一事务中写入终态回执、轮次和事件。实际调度器从重启前的时段恢复。故障注入验证提交失败不会留下回执或轮次。回执重放复用原轮次。截止后生成简报和关闭事件,暂停的工作项产生跳过回执。该用例启动的 Runner 数量为零。 | +| O7 定时协调轮次 | 已配置的 Automation 在同一事务中写入终态回执、轮次和事件。实际调度器从重启前的时段恢复。故障注入验证提交失败不会留下回执或轮次。回执重放复用原轮次。截止后生成简报和关闭事件,暂停的工作项产生跳过回执。已暂停、禁用或归档的 Automation 在「立即运行」和时段受理入口均返回 `automation_not_runnable`,保留既有记录。该用例启动的 Runner 数量为零。 | | O7/O9 阶段交接修复 | 源阶段修订更新后,已接受计划中的交接依赖仍保留原退回。真实 Daemon 回归覆盖省略退回回执、沿用旧候选或旧检查的拒绝,以及用当前结果包和可信检查并发接受。HTTP 与 App Server 返回同一接受回执,重启后复用退回与接受记录,QA 只启动一次。 | | O1 首次会话派发 | `workItem/accept` 可选定主执行会话,接单和首发意图同事务保存。正常会话 Run 创建核对该意图并原子更新 Work Item。脚本化 Pi Provider 验证了重启、两个并发受理、暂停恢复、实际派发一次,以及当前绑定阻止删除会话。Codex MCP 已提供同一创建和受理入口。 | diff --git a/packages/daemon/src/features/automations/run.ts b/packages/daemon/src/features/automations/run.ts index ab9c998e2..849548652 100644 --- a/packages/daemon/src/features/automations/run.ts +++ b/packages/daemon/src/features/automations/run.ts @@ -70,12 +70,18 @@ export async function runAutomation(input: RunAutomationInput): Promise describe(await client.readChanges(params))); + if (methods.has("verify/plan")) server.registerTool("ling_verify_plan", { + description: "Select registered verification checks for a captured candidate. Supply the Work Item and accepted Plan when the checks belong to a staged workflow.", + inputSchema: z.strictObject({ candidate, threadId: objectId.optional(), workItemId: objectId.optional(), planRevision: objectId.optional(), + requestedChecks: z.array(z.string().regex(/^[A-Za-z0-9_.:-]{1,128}$/u)).max(64).optional(), idempotencyKey: requestKey }), + annotations: { idempotentHint: true, destructiveHint: false }, + }, async params => describe(await client.planVerification(params))); + if (methods.has("verify/start")) server.registerTool("ling_verify_start", { + description: "Run a verification plan against its candidate digest. Reuse the request key when retrying.", + inputSchema: z.strictObject({ planId: objectId, planRevision: objectId, candidateDigest, idempotencyKey: requestKey }), + annotations: { idempotentHint: true, destructiveHint: false }, + }, async params => describe(await client.startVerification(params))); + if (methods.has("verify/status")) server.registerTool("ling_verify_status", { + description: "Read the committed verification results and structured evidence for an operation.", + inputSchema: z.strictObject({ operationId: objectId }), + annotations: { readOnlyHint: true }, + }, async params => describe(await client.getVerificationStatus(params))); + if (methods.has("verify/cancel")) server.registerTool("ling_verify_cancel", { + description: "Request cancellation of a verification. Check its status for a confirmed outcome.", + inputSchema: z.strictObject({ operationId: objectId, expectedRevision: objectId.optional(), idempotencyKey: requestKey }), + annotations: { idempotentHint: true }, + }, async params => describe(await client.cancelVerification(params))); + if (methods.has("review/start")) server.registerTool("ling_review_start", { + description: "Start a code review of a captured candidate, with the Work Item and accepted Plan revision when applicable.", + inputSchema: z.strictObject({ candidate, workItemId: objectId.optional(), planRevision: objectId.optional(), providerPresetId: objectId.optional(), + baseInstructions: z.string().max(8000).optional(), reviewRulesRefs: z.array(z.string().min(1).max(1024)).max(24).optional(), + idempotencyKey: requestKey }), + annotations: { idempotentHint: true, destructiveHint: false }, + }, async params => describe(await client.startReview(params))); + if (methods.has("review/status")) server.registerTool("ling_review_status", { + description: "Read a review's result, revision, candidate, and Work Item binding.", + inputSchema: z.strictObject({ operationId: objectId }), + annotations: { readOnlyHint: true }, + }, async params => describe(await client.getReviewStatus(params))); + if (methods.has("review/finding/update")) server.registerTool("ling_review_finding_update", { + description: "Record a finding's disposition. Resolving a finding checks the current candidate.", + inputSchema: z.strictObject({ assessmentId: objectId, findingId: objectId, + disposition: z.enum(["open", "acknowledged", "resolved", "dismissed"]), + closeReason: z.enum(["false_positive", "accepted_risk", "not_reproducible", "duplicate", "out_of_scope"]).optional(), + reason: z.string().max(2000).optional(), expectedRevision: objectId.optional(), idempotencyKey: requestKey }), + annotations: { idempotentHint: true, destructiveHint: false }, + }, async params => describe(await client.updateReviewFinding(params))); if (methods.has("changes/apply/preview")) server.registerTool("ling_changes_preview_recovery", { description: "Preview undo or reapply for a completed Ling Turn before committing the workspace recovery.", inputSchema: z.strictObject({ threadId: objectId, turnId: objectId, action: z.enum(["undo", "reapply"]) }), diff --git a/packages/daemon/test/app-server-release-acceptance.test.ts b/packages/daemon/test/app-server-release-acceptance.test.ts index 70e5c8e13..cd80cf9fe 100644 --- a/packages/daemon/test/app-server-release-acceptance.test.ts +++ b/packages/daemon/test/app-server-release-acceptance.test.ts @@ -106,13 +106,14 @@ test("App Server deduplicates verification starts and restores completed checks, const subscription = await peer.call<{ cursor: string }>("workItem/subscribe", { workItemId: workItem.workItemId }); const { candidate, coverage } = await client.call<{ candidate: LingAppServerCandidateReference; coverage: string }>("changes/capture"); assert.equal(coverage, "complete"); - const plan = await client.call("verify/plan", { - candidate, workItemId: workItem.workItemId, requestedChecks: ["test", "browser-missing-recipe"], + const mcp = await connectReleaseMcp(t, fixture.transportOptions()); + const plan = await mcp.callTool("ling_verify_plan", { + candidate, workItemId: workItem.workItemId, requestedChecks: ["test", "browser-missing-recipe"], idempotencyKey: "mcp-verify-plan", }); const input = { planId: plan.planId, planRevision: plan.planRevision, candidateDigest: candidate.candidateDigest, idempotencyKey: "verify-receipt" }; const [first, duplicate] = await Promise.all([ client.call("verify/start", input), - peer.call("verify/start", input), + mcp.callTool("ling_verify_start", input), ]); assert.equal(duplicate.operationId, first.operationId); const finished = await waitFor(async () => { @@ -125,6 +126,8 @@ test("App Server deduplicates verification starts and restores completed checks, assert.match(finished.checks[0]?.execution?.output ?? "", /verified fixture behavior/u); assert.equal(finished.checks[0]?.execution?.timedOut, false); assert.equal(finished.checks[1]?.execution, undefined); + assert.deepEqual(await mcp.callTool("ling_verify_status", { operationId: first.operationId }), { operation: finished }); + await mcp.close(); const { daemonUrl, authToken } = fixture.transportOptions(); const verificationResponse = await fetch(`${daemonUrl}/workspace/verification?cwd=${encodeURIComponent(fixture.cwd)}`, { headers: { Authorization: `Bearer ${authToken}` }, @@ -156,7 +159,8 @@ test("App Server deduplicates verification starts and restores completed checks, await waitFor(async () => await readFile(marker, "utf8") === "checked\nchecked\n" ? true : undefined); const { operation: active } = await restored.call("verify/status", { operationId: stopping.operationId }); const cancel = { operationId: stopping.operationId, expectedRevision: active.revision, idempotencyKey: "cancel-live-check" }; - const receipt = await restored.call<{ status: string }>("verify/cancel", cancel); + const cancellationMcp = await connectReleaseMcp(t, fixture.transportOptions()); + const receipt = await cancellationMcp.callTool<{ status: string }>("ling_verify_cancel", cancel); assert.equal(receipt.status, "cancel_requested"); const cancelled = await waitFor(async () => { const { operation } = await restored.call("verify/status", { operationId: stopping.operationId }); @@ -164,6 +168,7 @@ test("App Server deduplicates verification starts and restores completed checks, }); assert.equal(cancelled.status, "cancelled"); assert.deepEqual(cancelled.checks.map(check => check.status), ["cancelled", "not_run"]); + await cancellationMcp.close(); await fixture.restart(); const afterCancellation = await fixture.connect(); assert.deepEqual(await afterCancellation.call("verify/status", { operationId: stopping.operationId }), { operation: cancelled }); @@ -1042,10 +1047,10 @@ test("a completed Review binds its candidate and accepted Work Item Plan across await assert.rejects(client.call("review/start", { ...input, workItemId: "unavailable" }), { code: "review_scope_not_found" }); await assert.rejects(client.call("review/start", { ...input, planRevision: "superseded" }), { code: "stale_revision" }); await assert.rejects(client.call("review/start", { ...input, candidate: { ...candidate, candidateDigest: "stale" } }), { code: "candidate_stale" }); - const parallel = await fixture.connect(); + const mcp = await connectReleaseMcp(t, fixture.transportOptions()); const [started, duplicate] = await Promise.all([ client.call("review/start", input), - parallel.call("review/start", input), + mcp.callTool("ling_review_start", input), ]); assert.equal(duplicate.operationId, started.operationId); assert.equal(duplicate.assessmentId, started.assessmentId); @@ -1055,6 +1060,7 @@ test("a completed Review binds its candidate and accepted Work Item Plan across return ["queued", "running"].includes(result.status) ? undefined : result; }); assert.equal(terminal.status, "completed", JSON.stringify(terminal)); + assert.deepEqual(await mcp.callTool("ling_review_status", status), terminal); assert.deepEqual(terminal.workItem, { workItemId: item.id, acceptedPlanRevision: workItem.planRevision, controlGeneration: 0 }); assert.deepEqual(started.workItem, terminal.workItem); assert.equal(terminal.reviewRules?.baseSha, headCommit); @@ -1071,7 +1077,7 @@ test("a completed Review binds its candidate and accepted Work Item Plan across closeReason: "not_reproducible", reason: "The fixture has no reproducible caller impact.", expectedRevision: terminal.revision, idempotencyKey: "resolve-review-fixture", }; - const update = await client.call("review/finding/update", triage); + const update = await mcp.callTool("ling_review_finding_update", triage); assert.equal(update.disposition, "resolved"); assert.notEqual(update.revision, terminal.revision); assert.equal(fixture.getStore().getCodeAssessment(started.assessmentId)?.assessment.freshness?.state, "current"); @@ -1081,6 +1087,7 @@ test("a completed Review binds its candidate and accepted Work Item Plan across actorId: "local-user", idempotencyKey: "pause-before-replacement-review", }); await assert.rejects(client.call("review/start", { ...input, idempotencyKey: "replacement-review" }), { code: "resume_blocked" }); + await mcp.close(); await fixture.restart(); const second = await fixture.connect(); const restored = fixture.getStore().getCodeAssessment(started.assessmentId); @@ -4299,6 +4306,20 @@ test("a scheduled coordination occurrence commits with its round, restores its d }; const before = await client.call("workItem/read", { workItemId }); const occurrence = { triggerType: "schedule", scheduledFor: due, idempotencyKey: `automation:${automation.id}:schedule:${due}` }; + const assertNonRunnable = async () => { + for (const request of [{ idempotencyKey: "manual-while-stopped" }, occurrence]) { + const response = await runAutomation(request); + assert.equal(response.status, 409); + assert.equal((await response.json() as { error: string }).error, "automation_not_runnable"); + } + }; + for (const status of ["paused", "disabled"] as const) { + assert.ok(store.updateAutomationDefinition(automation.id, { status }, new Date().toISOString())); + await assertNonRunnable(); + assert.equal(store.listAutomationRuns({ automationId: automation.id }).length, 0); + assert.equal(store.listWorkItemEvidence({ workItemId }).length, 0); + } + assert.ok(store.updateAutomationDefinition(automation.id, { status: "enabled", nextRunAt: due }, new Date().toISOString())); const database = new DatabaseSync(store.paths.databasePath); try { database.exec(`CREATE TRIGGER fixture_fail_coordination BEFORE INSERT ON control_plane_events @@ -4382,6 +4403,11 @@ test("a scheduled coordination occurrence commits with its round, restores its d await assert.rejects(scoped.call("workItem/coordination/schedule/set", { ...policy, expectedRevision: 1 }), { code: "capability_denied" }); await assert.rejects(scoped.call("workItem/accept", { workItemId, expectedWorkItemRevision: Number(current.workItem.revision), dispatch: { threadId: home.id, message: "Start on another thread" }, idempotencyKey: "scoped-accept" }), { code: "capability_denied" }); + assert.ok(fixture.getStore().updateAutomationDefinition(automation.id, { status: "archived" }, new Date().toISOString())); + const retainedEvents = fixture.getStore().listWorkItemEvidence({ workItemId }); + await assertNonRunnable(); + assert.deepEqual(fixture.getStore().listWorkItemEvidence({ workItemId }), retainedEvents); + assert.equal(fixture.getStore().listAutomationRuns({ automationId: automation.id }).length, 2); }); test("Work Item controls commit state, receipt and event together and replay after a later control", { timeout: 20_000 }, async t => { @@ -4890,12 +4916,7 @@ function addLoopbackPreset(store: SqliteRunStore, baseUrl: string, test("the MCP bridge calls the bound App Server and replays the same Thread on retry", { timeout: 20_000 }, async t => { const fixture = await releaseFixture(t); - const input = new PassThrough(), output = new PassThrough(); - const running = runLingAppServerMcp(fixture.transportOptions(), input, output); - t.after(async () => { input.end(); await running; }); - const host = jsonLines(input, output); - await host.call("initialize", { protocolVersion: LATEST_PROTOCOL_VERSION, clientInfo: { name: "Fixture", version: "1" }, capabilities: {} }); - host.send("notifications/initialized", {}); + const { host, callTool } = await connectReleaseMcp(t, fixture.transportOptions()); const { tools } = await host.call<{ tools: Array<{ name: string }> }>("tools/list"); assert.ok(tools.some(tool => tool.name === "ling_turn_start")); assert.ok(tools.some(tool => tool.name === "ling_work_item_stages")); @@ -4908,15 +4929,10 @@ test("the MCP bridge calls the bound App Server and replays the same Thread on r assert.ok(tools.some(tool => tool.name === "ling_skill_read")); assert.ok(tools.some(tool => tool.name === "ling_permission_profile_list")); assert.ok(tools.every(tool => !tool.name.includes("approval"))); - const call = async (name: string, args: object) => { - const reply = await host.call<{ isError?: boolean; content: Array<{ text: string }> }>("tools/call", { name, arguments: args }); - assert.ok(!reply.isError, reply.content[0]?.text); - return JSON.parse(reply.content[0]!.text) as ThreadRead; - }; const request = { title: "MCP Thread", idempotencyKey: "identity" }; - const first = await call("ling_thread_start", request); - assert.equal((await call("ling_thread_start", request)).thread.id, first.thread.id); - assert.equal((await call("ling_thread_read", { threadId: first.thread.id })).thread.id, first.thread.id); + const first = await callTool("ling_thread_start", request); + assert.equal((await callTool("ling_thread_start", request)).thread.id, first.thread.id); + assert.equal((await callTool("ling_thread_read", { threadId: first.thread.id })).thread.id, first.thread.id); }); test("legacy RPC only exposes its existing methods and can still start and cancel a Run", { timeout: 20_000 }, async t => { @@ -5310,6 +5326,24 @@ function jsonLines(input: Writable, output: Readable) { } }; } +async function connectReleaseMcp(t: TestContext, options: Parameters[0]) { + const input = new PassThrough(), output = new PassThrough(); + const running = runLingAppServerMcp(options, input, output); + const close = async () => { + if (!input.writableEnded) input.end(); + await running; + }; + t.after(close); + const host = jsonLines(input, output); + await host.call("initialize", { protocolVersion: LATEST_PROTOCOL_VERSION, clientInfo: { name: "Fixture", version: "1" }, capabilities: {} }); + host.send("notifications/initialized", {}); + return { host, close, async callTool(name: string, args: object): Promise { + const reply = await host.call<{ isError?: boolean; content: Array<{ text: string }> }>("tools/call", { name, arguments: args }); + assert.ok(!reply.isError, reply.content[0]?.text); + return JSON.parse(reply.content[0]!.text) as T; + } }; +} + type ReleaseRuntime = { createDaemonServer: typeof createDaemonServer; createSqliteRunStore: typeof createSqliteRunStore; From 5fd4953f64a6d30007f90d8edb2276923337bedf Mon Sep 17 00:00:00 2001 From: tianxiaochannel-oss88 Date: Tue, 24 Nov 2026 08:08:28 +0800 Subject: [PATCH 093/147] feat(app-server): recover stalled stages with trusted verification --- ...g-agent-operating-model-detailed-design.md | 15 ++ .../ling-app-server-implementation-plan.md | 4 +- packages/api-client/src/app-server.ts | 7 + packages/contracts/src/app-server-schema.ts | 16 ++- packages/contracts/src/app-server.ts | 35 ++++- packages/contracts/src/threads.ts | 1 + packages/core/src/goal-supervision.ts | 4 +- .../sqlite/channel-workflow-mappers.ts | 2 + .../storage/sqlite/channel-workflow-store.ts | 1 + .../sqlite/proposed-plan-action-store.ts | 3 +- .../sqlite/work-item-evidence-store.ts | 3 +- .../sqlite/work-item-workflow-progress.ts | 31 +++- packages/core/src/work-item-evidence-types.ts | 3 +- .../core/src/workflow-step-start-owner.ts | 1 + packages/core/src/workspace-types.ts | 1 + .../daemon/src/features/channels/workflows.ts | 5 +- .../daemon/src/features/runs/thread-routes.ts | 11 ++ .../work-items/stage-handoff-candidates.ts | 17 +++ .../features/work-items/workflow-stages.ts | 1 + .../src/server/app-server-authorization.ts | 2 +- packages/daemon/src/server/app-server-mcp.ts | 6 + .../src/server/app-server-stage-recovery.ts | 133 ++++++++++++++++++ packages/daemon/src/server/rpc.ts | 35 ++++- .../app-server-release-acceptance.test.ts | 114 +++++++++++++-- 24 files changed, 426 insertions(+), 25 deletions(-) create mode 100644 packages/daemon/src/server/app-server-stage-recovery.ts diff --git a/docs/design/ling-agent-operating-model-detailed-design.md b/docs/design/ling-agent-operating-model-detailed-design.md index 956e0418d..82d47ecf6 100644 --- a/docs/design/ling-agent-operating-model-detailed-design.md +++ b/docs/design/ling-agent-operating-model-detailed-design.md @@ -321,6 +321,21 @@ once. A preparing start reserves a slot before its Run is committed. A stage's first start leaves the shared retry allowance available. The stage read exposes starts and remaining stage and Work Item retry allowances. +When a stage declares a recovery verification requirement in its accepted Plan, +the coordinator can recover a stalled stage through `workItem/stage/recover`. +The request names the current Work Item, stable stage, blocker and failure +event, plus a completed Verify operation. The host accepts it only when the +operation belongs to the Work Item and accepted Plan, passed after the failed +Run, matches the current candidate and required verifier basis, coverage and +producer references, and the failed Run has settled its execution and effects. +The recovery receipt is an owner-visible Work Item evidence entry committed with +the candidate digest and failure identity. Its idempotency key and evidence +identity make concurrent retries and restart replay return one receipt. The +stage progress projection removes only that blocker, preserves the consumed +retry count, and the next start checks that the candidate is still the verified +one. Candidate drift or a different failure requires a new verification or an +accepted Plan change. + When the next automatic step exceeds the allowance, or the blocker needs a user decision, policy repair or effect reconciliation, park that automatic path with a typed reason, affected criteria, last verified delta, remaining budget and recovery owner. Keep independent eligible work under its own gates. Resume through a current evidence delta or an authorized continuation or Plan change, within the owner's current authority and remaining limits. Pausing automation preserves open questions, write leases and effect receipts for their owning lifecycles. [Goal supervision](../../packages/core/src/goal-supervision.ts) · [Execution loop detector](../../packages/daemon/src/features/runs/execution-loop-detector.ts) diff --git a/docs/design/ling-app-server-implementation-plan.md b/docs/design/ling-app-server-implementation-plan.md index 18e25643f..15b40f13c 100644 --- a/docs/design/ling-app-server-implementation-plan.md +++ b/docs/design/ling-app-server-implementation-plan.md @@ -50,7 +50,7 @@ - 频道 Turn 可以按工作项 ID 和已观察版本提交普通补充。HTTP 和 SSE 使用同一份消息及证据回执。定向回归核对跨频道拒绝、过期版本回滚、同键并发提交、Work Item 事件和零 Run 派发。协调者可将选定内容定向投给当前阶段。两阶段联调核对了目标的下一次 Pi 输入、并行阶段的可见范围、原频道输入及投递回执的重放,以及实际 Run 计数。变更已接受范围时走计划变更入口。 - Work Item 下的 Workflow 按稳定阶段 ID 累计实际启动记录,在启动事务中检查工作项与阶段的重试额度。阶段读取返回已启动次数和剩余额度。回归使用原生 Run 历史验证耗尽后的重启仍拒绝重试,同时允许独立阶段首次运行。 - 阶段读取按 Work Item 和稳定阶段 ID 汇总已绑定 Workflow 的模型用量、工具调用、Run 数和耗时。Goal 按可核对的已发生用量限制下一阶段准入。已结束的 Run 缺少用量时返回 `work_item_goal_usage_unconfirmed`。真实 Daemon 回归覆盖用量未知、耗时上限,以及换 Plan、换 Agent、重启后继续使用同一预算。 -- 相同阶段的结构化 Provider 故障和执行循环按原 Task 去重。阶段读取返回阻塞标识、原 Run、事件和当前恢复负责人。重复故障达到 Goal 阈值时只暂停受影响的阶段。回归覆盖改派后出现相同故障、重启恢复、独立阶段运行,以及相关计划变更获准后继续。可信 Verify、Review 证据触发的停滞恢复继续验收。 +- 相同阶段的结构化 Provider 故障和执行循环按原 Task 去重。阶段读取返回阻塞标识、原 Run、事件和当前恢复负责人。重复故障达到 Goal 阈值时只暂停受影响的阶段。回归覆盖改派后出现相同故障、重启恢复、独立阶段运行,以及相关计划变更获准后继续。阶段可在接受的 Plan 中声明可信 Verify 要求,`workItem/stage/recover` 只接受当前失败事件之后、匹配候选和 verifier basis 的通过回执,并以 Work Item 证据原子解除对应阻塞。回归覆盖验证前拒绝、候选漂移、并发重试、重启重放和恢复后继续派发。Review 证据仍按交接和交付各自的当前合同验收。 - 启用 Host delegation budget 的 Pi 阶段在向 Provider 发送请求前,使用同一 SQLite 事务核对工作项的 Goal 历史用量和在途预留。真实 Daemon 回归以 25,000 token 的共享上限运行两个并行阶段。首个调用预留 17,000 token,第二阶段在发出请求前拒绝并记录回执。首个调用实测消耗 30 token,重启仍可核对余量 24,970。缺少 Provider 用量回执时保留预留,重启后仍阻止新的阶段准入。其他 Runner 与未启用此 Host 能力的阶段按已有 Run 用量准入。 - Host 注册频道 Task 和 Automation 定义的接单策略后,同一事务保存原生执行、策略回执和适用的 Work Item。HTTP、App Server 和 MCP 使用同一份回执,建议由原 Task 或 Automation 所有者派发。联合回归通过 HTTP 和 SDK 并发确认一次调度建议,重启后执行原 AutomationRun 一次,并从 Work Item 订阅读取 Task 的实际派发状态。免打扰、并发、启动额度和暂停原因保存在原回执。显式复核复用原生执行 ID。 - 自动监控在免打扰、并发或启动额度限制期间保留原观察及 AutomationRun。持续匹配的观察在重新准入时关联原回执。真实 Daemon 回归覆盖多次轮询、重启和解除免打扰后只执行一次。 @@ -89,7 +89,7 @@ Windows 源码验收使用独立的 GitHub Actions 作业,启动真实 CLI std | A1、B1、C1、C2 | 全方法的 Schema 校验和更多宿主兼容组合。workspace、Thread、Work Item 的 grant 和 WSS 已接入。专用 TLS 监听器实测分离控制和答复权限,支持用户答复原回执与撤权。审批和答复仍需在其他宿主和实际远程部署验收。目标游标已绑定存储代次、授权代次和目标,本机兼容用例覆盖上一版源码与候选组合。 | | D1、D2、E1、E2 | 开工与 Pi 运行中的项目规则加载、显式 Claude 规则、两个开发 Skill、工作区 Verify、独立 verifier basis、托管工作树管理、候选改动分页、Turn 改动恢复、选中 hunk 转移和工作台浏览器验证报告已接入。各发行平台验证仍待完成。 | | F1、F2 | 普通会话 Handoff 的候选封存、Goal 预算承接与接手已接入。CLI `app-server codex-host --thread --state --view` 在回环地址提供双端会话视图。本机 Codex 0.171.0-alpha.13、实际 Ling Daemon 与受控 Provider 联调验证两端状态、Ling 在途排队、活跃 Codex Turn 指导、浏览器重连补齐、回执重放和审批提醒。故障回归覆盖原状态库升级、未写出的请求在重连后补投一次,以及已发出但缺少有效回执时保留待确认结果。Pi Host 预算路径的逐请求预留已使用受控 Provider 验证,仍需真实 Provider、隔离工作树和其他 Runner 的对应验收。 | -| O1、O3–O9 | GitHub 签名 webhook、轮询和显式接单归并至同一工作项。自动接单策略处理免打扰、并发、启动额度和派发前状态重查。现有 Task、AutomationRun 和同频道用户输入可显式关联工作项。已接受的计划能自动开启声明的阶段审议,并可等待当前 Workflow 结果包的交接回执。受影响阶段可单独暂停,后继阶段可显式引用已收敛或仍在途的独立成果,待执行阶段可接收定向消息和有原 Run 证据的 Agent 答复。工作项暂停期间拒绝新增定向消息。阶段客户端和支持协作工具的 Pi 阶段按 Run/Attempt 收发,Pi 在下一次模型输入接收消息和问答。Workflow 执行使用工作项重试上限,并可依据跨 Run 的结构化故障记录暂停单项阶段。还需 Device Fabric 桥接、计划前和在途审议、可信 Verify 与 Review 证据联动及完整 O9 联合验收。 | +| O1、O3–O9 | GitHub 签名 webhook、轮询和显式接单归并至同一工作项。自动接单策略处理免打扰、并发、启动额度和派发前状态重查。现有 Task、AutomationRun 和同频道用户输入可显式关联工作项。已接受的计划能自动开启声明的阶段审议,并可等待当前 Workflow 结果包的交接回执。受影响阶段可单独暂停,后继阶段可显式引用已收敛或仍在途的独立成果,待执行阶段可接收定向消息和有原 Run 证据的 Agent 答复。工作项暂停期间拒绝新增定向消息。阶段客户端和支持协作工具的 Pi 阶段按 Run/Attempt 收发,Pi 在下一次模型输入接收消息和问答。Workflow 执行使用工作项重试上限,并可依据跨 Run 的结构化故障记录暂停单项阶段。Device Fabric 桥接、计划前和在途审议、Review 证据联动及完整 O9 联合验收仍需对应环境证据,可信 Verify 驱动的停滞恢复已接入并有定向回归。 | | G | 独立恢复日志已验证 SQLite 快照恢复、撤权、旧游标失效和 GitHub 对账后派发。上一版源码通过同一套本地兼容验收。签名安装产物、实际远程 WSS、带独立检查 App 的 Ling 主动入队及三个真实 Provider 自研试点仍需对应环境的证据。macOS 打包预检需要当前打包输入的 Office 审查、对应 Electron/OS 的受限运行时审查和 gstack 平台资源。T01 离线预检可进入评审,真实试点仍需按 Framework Assurance 准入。 | ## 目标与开工顺序 diff --git a/packages/api-client/src/app-server.ts b/packages/api-client/src/app-server.ts index 0fc9a0957..30af92926 100644 --- a/packages/api-client/src/app-server.ts +++ b/packages/api-client/src/app-server.ts @@ -106,6 +106,8 @@ import type { LingAppServerDeliberationDecideParams, LingAppServerDeliberationSettlementParams, LingAppServerStageDeliberationStartParams, + LingAppServerStageRecoverParams, + LingAppServerStageRecoverResult, LingAppServerStageHandoffParams, LingAppServerStageMessageExecution, LingAppServerStageMessageSendParams, @@ -644,6 +646,11 @@ export class LingAppServerClient { return await this.request("workItem/deliberation/start", params); } + async recoverWorkItemStage(params: LingAppServerStageRecoverParams): Promise { + await this.connect(); + return await this.request("workItem/stage/recover", params); + } + async decideWorkItemDeliberation(params: LingAppServerDeliberationDecideParams): Promise { await this.connect(); return await this.request("workItem/deliberation/decide", params); diff --git a/packages/contracts/src/app-server-schema.ts b/packages/contracts/src/app-server-schema.ts index 77a8ead94..604ca4d1e 100644 --- a/packages/contracts/src/app-server-schema.ts +++ b/packages/contracts/src/app-server-schema.ts @@ -62,8 +62,10 @@ const workItemTarget = { workItemId: stringSchema }; const planTarget = { ...threadTarget, planId: stringSchema, expectedRevision: integerSchema }; const planActionResult = objectWith({ cwd: stringSchema, threadId: stringSchema, plan: objectSchema, taskId: stringSchema, workflowId: stringSchema, workflowStepId: stringSchema, runId: stringSchema }, ["cwd", "threadId", "plan"]); +const recoveryVerification = objectWith({ checkId: stringSchema, verifierBasisRef: stringSchema, coverageDigest: stringSchema }, + ["checkId", "verifierBasisRef", "coverageDigest"]); const planWorkflowStep = objectWith({ title: stringSchema, stageId: stringSchema, dependsOnStageIds: stringArraySchema, - handoffFromStageIds: stringArraySchema, + handoffFromStageIds: stringArraySchema, recoveryVerification, ownerId: stringSchema, ownerLabel: stringSchema, requiredTools: stringArraySchema, requiredDecision: objectWith({ question: stringSchema, options: stringArraySchema, trigger: { enum: ["when_ready"] }, ballot: objectWith({ voterStageIds: stringArraySchema, quorum: integerSchema }, ["voterStageIds", "quorum"]) }, ["question", "options"]) }, ["title"]); @@ -327,6 +329,18 @@ function schemaFor(method: LingAppServerMethod): LingAppServerMethodSchema { }, ["cwd", "workItem", "replayed", "receipt"]), }; } + case "workItem/stage/recover": { + const subject = { workflowStepId: stringSchema, blockerId: stringSchema, failureEventId: stringSchema, operationId: stringSchema }; + return { + params: objectWith({ ...workItemTarget, ...subject, planRevision: stringSchema, expectedWorkItemRevision: integerSchema, idempotencyKey: stringSchema }, + ["workItemId", ...Object.keys(subject), "planRevision", "expectedWorkItemRevision", "idempotencyKey"]), + result: objectWith({ cwd: stringSchema, workItemRevision: integerSchema, replayed: booleanSchema, + receipt: objectWith({ id: stringSchema, ...subject, failedRunId: stringSchema, failedAt: stringSchema, + candidateDigest: stringSchema, committedAt: stringSchema }, + ["id", ...Object.keys(subject), "failedRunId", "failedAt", "candidateDigest", "committedAt"]), + }, ["cwd", "workItemRevision", "replayed", "receipt"]), + }; + } case "workItem/intake/list": return { params: objectWith({ sourceKind: { enum: ["channel_task", "automation_run"] }, sourceScope: stringSchema, limit: integerSchema }, ["sourceKind"]), result: objectWith({ cwd: stringSchema, diff --git a/packages/contracts/src/app-server.ts b/packages/contracts/src/app-server.ts index 909d19220..04895563c 100644 --- a/packages/contracts/src/app-server.ts +++ b/packages/contracts/src/app-server.ts @@ -180,6 +180,7 @@ export const LING_APP_SERVER_METHODS = [ "workItem/deliberation/decide", "workItem/stage/read", "workItem/stage/brief/read", + "workItem/stage/recover", "workItem/coordination/start", "workItem/coordination/read", "workItem/coordination/close", @@ -794,6 +795,7 @@ export interface LingAppServerWorkItemWorkflowStages { readonly retryBudget?: LingAppServerWorkItemStageRetryBudget; readonly usage?: LingAppServerWorkflowUsage; readonly progress?: LingAppServerWorkflowStageProgress; + readonly recoveryVerification?: import("./threads.js").GoalVerificationRequirement; readonly updatedAt: string; readonly runId?: string; readonly outputArtifactId?: string; @@ -839,7 +841,8 @@ export interface LingAppServerWorkflowGoalBudget { } export interface LingAppServerWorkflowStageProgress { - readonly lastVerified?: { readonly kind: "stage_completed" | "plan_change_accepted"; readonly id: string; readonly committedAt: string }; + readonly lastVerified?: { readonly kind: "stage_completed" | "plan_change_accepted"; readonly id: string; readonly committedAt: string } + | ({ readonly kind: "verification_passed"; readonly id: string } & LingAppServerStageRecoveryEvidence); readonly blocker?: { readonly id: string; readonly kind: "provider" | "execution_loop"; @@ -852,6 +855,36 @@ export interface LingAppServerWorkflowStageProgress { }; } +export interface LingAppServerStageRecoveryEvidence { + readonly workflowStepId: string; + readonly blockerId: string; + readonly failureEventId: string; + readonly failedRunId: string; + readonly failedAt: string; + readonly operationId: string; + readonly candidateDigest: string; + readonly committedAt: string; +} + +export interface LingAppServerStageRecoverParams { + readonly cwd?: string; + readonly workItemId: string; + readonly workflowStepId: string; + readonly planRevision: string; + readonly expectedWorkItemRevision: number; + readonly blockerId: string; + readonly failureEventId: string; + readonly operationId: string; + readonly idempotencyKey: string; +} + +export interface LingAppServerStageRecoverResult { + readonly cwd: string; + readonly workItemRevision: number; + readonly receipt: LingAppServerStageRecoveryEvidence & { readonly id: string }; + readonly replayed: boolean; +} + export interface LingAppServerWorkItemControlResult extends LingAppServerWorkItemResult { readonly controlReceipt: LingWorkItemControlReceipt; readonly replayed: boolean; diff --git a/packages/contracts/src/threads.ts b/packages/contracts/src/threads.ts index 23cac51ae..bb72a1ff8 100644 --- a/packages/contracts/src/threads.ts +++ b/packages/contracts/src/threads.ts @@ -288,6 +288,7 @@ export interface ProposedPlanWorkflowStepPreview { readonly dependsOnStageIds?: readonly string[]; readonly handoffFromStageIds?: readonly string[]; readonly requiredDecision?: ProposedPlanStageDecision; + readonly recoveryVerification?: GoalVerificationRequirement; readonly requiredTools?: readonly RunTool[]; readonly ownerId?: string; readonly ownerLabel?: string; diff --git a/packages/core/src/goal-supervision.ts b/packages/core/src/goal-supervision.ts index abd58a3aa..6b7d486b0 100644 --- a/packages/core/src/goal-supervision.ts +++ b/packages/core/src/goal-supervision.ts @@ -43,7 +43,7 @@ export function parseGoalAcceptanceCriteria(value: unknown): GoalAcceptanceCrite return { id: criterion.id, description: criterion.description.trim(), kind: criterion.kind as GoalAcceptanceCriterion["kind"], ...(criterion.evidenceId === undefined ? {} : { evidenceId: criterion.evidenceId as string }), ...(criterion.contentSha256 === undefined ? {} : { contentSha256: criterion.contentSha256 as string }), - ...(criterion.kind === "verification_passed" ? { verification: parseVerificationRequirement(criterion.verification) } : {}), + ...(criterion.kind === "verification_passed" ? { verification: parseGoalVerificationRequirement(criterion.verification) } : {}), ...(criterion.kind === "github_delivered" ? { githubDelivery: parseGitHubDeliveryRequirement(criterion.githubDelivery) } : {}) }; }); } @@ -57,7 +57,7 @@ function parseGitHubDeliveryRequirement(value: unknown): GoalGitHubDeliveryRequi return { workItemId, policyRevision }; } -function parseVerificationRequirement(value: unknown): GoalVerificationRequirement { +export function parseGoalVerificationRequirement(value: unknown): GoalVerificationRequirement { const requirement = record(value); const { checkId, verifierBasisRef, coverageDigest } = requirement; if (Object.keys(requirement).some(key => !["checkId", "verifierBasisRef", "coverageDigest"].includes(key)) diff --git a/packages/core/src/storage/sqlite/channel-workflow-mappers.ts b/packages/core/src/storage/sqlite/channel-workflow-mappers.ts index 8a7408abc..f03f1a6a1 100644 --- a/packages/core/src/storage/sqlite/channel-workflow-mappers.ts +++ b/packages/core/src/storage/sqlite/channel-workflow-mappers.ts @@ -1,5 +1,6 @@ import type { SQLOutputValue } from "node:sqlite"; import { parseProposedPlanStageDecision } from "../../proposed-plan-mutation.js"; +import { parseGoalVerificationRequirement } from "../../goal-supervision.js"; import { isWorkflowStepStartOwnerV1 } from "../../workflow-step-start-owner.js"; import { isWorkflowStepSafetyPlanV1 } from "../../workflow-safety-plan.js"; import { workflowIsolationIdentity } from "../../workflow-isolation.js"; @@ -272,6 +273,7 @@ function parseOptionalChannelWorkflowStepMetadata(value: string | undefined): Ch graphNodeId: readOptionalStringValue(record.graphNodeId), planStageId: readOptionalStringValue(record.planStageId), requiredPlanDecision: record.requiredPlanDecision === undefined ? undefined : parseProposedPlanStageDecision(record.requiredPlanDecision), + recoveryVerification: record.recoveryVerification === undefined ? undefined : parseGoalVerificationRequirement(record.recoveryVerification), planBallotKey: readOptionalStringValue(record.planBallotKey), requiredPlanHandoffStepIds: readOptionalStringListValue(record.requiredPlanHandoffStepIds), dependsOnStepIds: readOptionalStringListValue(record.dependsOnStepIds), diff --git a/packages/core/src/storage/sqlite/channel-workflow-store.ts b/packages/core/src/storage/sqlite/channel-workflow-store.ts index 6d592448b..bb722fcd8 100644 --- a/packages/core/src/storage/sqlite/channel-workflow-store.ts +++ b/packages/core/src/storage/sqlite/channel-workflow-store.ts @@ -1475,6 +1475,7 @@ export class SqliteChannelWorkflowStore { planStageId: existing.metadata.planStageId, dependsOnStepIds: existing.metadata.dependsOnStepIds, requiredPlanDecision: existing.metadata.requiredPlanDecision, + recoveryVerification: existing.metadata.recoveryVerification, planBallotKey: existing.metadata.planBallotKey, requiredPlanHandoffStepIds: existing.metadata.requiredPlanHandoffStepIds, requiredTools: existing.metadata.requiredTools, diff --git a/packages/core/src/storage/sqlite/proposed-plan-action-store.ts b/packages/core/src/storage/sqlite/proposed-plan-action-store.ts index 027e87814..5de07baba 100644 --- a/packages/core/src/storage/sqlite/proposed-plan-action-store.ts +++ b/packages/core/src/storage/sqlite/proposed-plan-action-store.ts @@ -94,6 +94,7 @@ export class SqliteProposedPlanActionStore { ...(dependencies?.length ? { dependsOnStepIds: dependencies.map(id => stepIds.get(id)!) } : {}), ...(preview?.handoffFromStageIds?.length ? { requiredPlanHandoffStepIds: preview.handoffFromStageIds.map(id => stepIds.get(id)!) } : {}), ...(preview?.requiredDecision ? { requiredPlanDecision: preview.requiredDecision } : {}), + ...(preview?.recoveryVerification ? { recoveryVerification: preview.recoveryVerification } : {}), ...(preview?.requiredTools ? { requiredTools: preview.requiredTools } : {}), ...(ballot ? { planBallotKey: ballot.key, requiredTools: [], policy: { onRunFailed: "skip_if_optional", onRunCancelled: "skip_if_optional", @@ -208,7 +209,7 @@ function planStageBallots(planId: string, previews: readonly ProposedPlanWorkflo function orderWorkflowStages(titles: readonly string[], previews: readonly ProposedPlanWorkflowStepPreviewInput[]): readonly number[] { const positions = titles.map((_, index) => index); if (!previews.some(stage => stage.stageId !== undefined || stage.dependsOnStageIds !== undefined - || stage.requiredDecision !== undefined || stage.handoffFromStageIds !== undefined)) return positions; + || stage.requiredDecision !== undefined || stage.handoffFromStageIds !== undefined || stage.recoveryVerification !== undefined)) return positions; const invalid = (message: string) => new ProposedPlanMutationError("bad_workflow_stage_dependencies", message, 400); if (titles.length !== previews.length || titles.length > 50) throw invalid("Provide one preview per stage, up to 50 stages."); const stages = new Map(); diff --git a/packages/core/src/storage/sqlite/work-item-evidence-store.ts b/packages/core/src/storage/sqlite/work-item-evidence-store.ts index 6fce80422..d7d6d627c 100644 --- a/packages/core/src/storage/sqlite/work-item-evidence-store.ts +++ b/packages/core/src/storage/sqlite/work-item-evidence-store.ts @@ -193,8 +193,9 @@ function validateEvidenceInput(input: AppendWorkItemEvidenceInput): void { if (input.subjectRevision.trim().length === 0 || input.content.trim().length === 0) { throw new Error("work_item_evidence subject and content are required"); } - const kinds: readonly WorkItemEvidenceKind[] = ["observation", "proposal", "challenge", "evidence_ref", "correction", "recommendation", "decision_ref"]; + const kinds: readonly WorkItemEvidenceKind[] = ["observation", "proposal", "challenge", "evidence_ref", "correction", "recommendation", "decision_ref", "stage_recovery_ref"]; if (!kinds.includes(input.kind)) throw new Error("work_item_evidence kind is not supported"); + if (input.kind === "stage_recovery_ref" && !input.assertCurrent) throw new Error("stage_recovery_ref requires a Host current-state check"); const visibilities: readonly WorkItemEvidenceVisibility[] = ["work_item", "participants", "owner"]; if (input.visibility !== undefined && !visibilities.includes(input.visibility)) throw new Error("work_item_evidence visibility is not supported"); for (const ref of input.sourceRefs ?? []) { diff --git a/packages/core/src/storage/sqlite/work-item-workflow-progress.ts b/packages/core/src/storage/sqlite/work-item-workflow-progress.ts index f061b45ef..1521889f3 100644 --- a/packages/core/src/storage/sqlite/work-item-workflow-progress.ts +++ b/packages/core/src/storage/sqlite/work-item-workflow-progress.ts @@ -1,5 +1,5 @@ import { createHash } from "node:crypto"; -import { isRunProviderErrorDiagnostic, type LingAppServerWorkflowStageProgress } from "@ling-stack/contracts"; +import { isRunProviderErrorDiagnostic, type LingAppServerStageRecoveryEvidence, type LingAppServerWorkflowStageProgress } from "@ling-stack/contracts"; import type { WorkItem } from "../../work-item-types.js"; import type { ChannelWorkflowStep } from "../../workspace-types.js"; import { parseJson, readNullableString, readString } from "./helpers.js"; @@ -33,8 +33,26 @@ export function readWorkItemStageProgress(context: SqliteStoreContext, item: Wor let lastVerified: LingAppServerWorkflowStageProgress["lastVerified"] = change ? { kind: "plan_change_accepted", id: readString(change, "plan_id"), committedAt: readString(change, "linked_at") } : undefined; + const planProgressAt = lastVerified?.committedAt ?? ""; + const recoveries = new Map(); + if (step.metadata?.recoveryVerification && item.planRevision) { + const receipts = db.prepare(` + SELECT id, content FROM work_item_evidence + WHERE workspace_id=? AND work_item_id=? AND kind='stage_recovery_ref' AND subject_revision=? + AND created_at>? AND json_extract(content,'$.workflowStepId')=? + ORDER BY sequence DESC + `).iterate(item.workspaceId, item.id, item.planRevision, planProgressAt, step.id); + for (const receipt of receipts) { + const recovery = parseJson(readString(receipt, "content")) as LingAppServerStageRecoveryEvidence; + if (recoveries.has(recovery.blockerId)) continue; + recoveries.set(recovery.blockerId, recovery); + if (recovery.committedAt > (lastVerified?.committedAt ?? "")) { + lastVerified = { kind: "verification_passed", id: readString(receipt, "id"), ...recovery }; + } + } + } const history = db.prepare(` - SELECT r.id, r.task_id, r.status, r.provider_preset_id, r.provider_name, r.provider_model, + SELECT r.id, r.task_id, r.status, r.ended_at, r.provider_preset_id, r.provider_name, r.provider_model, t.id AS transition_id, t.created_at AS accepted_at, e.id AS failure_id, e.type AS failure_type, CASE WHEN e.type='loop_detected' THEN json_extract(e.data_json,'$.fingerprint') END AS loop_fingerprint, @@ -57,12 +75,15 @@ export function readWorkItemStageProgress(context: SqliteStoreContext, item: Wor AND json_extract(s.metadata_json,'$.planStageId')=? AND r.ended_at IS NOT NULL AND COALESCE(t.created_at,r.ended_at)>? AND ((r.status='succeeded' AND t.id IS NOT NULL) OR e.id IS NOT NULL) ORDER BY COALESCE(t.created_at,r.ended_at) DESC, r.id DESC - `).iterate(item.workspaceId, item.id, stageId, lastVerified?.committedAt ?? ""); + `).iterate(item.workspaceId, item.id, stageId, planProgressAt); const blockers = new Map(); const seenTasks = new Set(); for (const row of history) { if (row.status === "succeeded") { - lastVerified = { kind: "stage_completed", id: readString(row, "transition_id"), committedAt: readString(row, "accepted_at") }; + const committedAt = readString(row, "accepted_at"); + if (committedAt > (lastVerified?.committedAt ?? "")) { + lastVerified = { kind: "stage_completed", id: readString(row, "transition_id"), committedAt }; + } break; } const taskId = readString(row, "task_id"); @@ -72,6 +93,8 @@ export function readWorkItemStageProgress(context: SqliteStoreContext, item: Wor if (!cause) continue; const provider = cause.kind === "provider" ? [row.provider_preset_id, row.provider_name, row.provider_model] : []; const id = createHash("sha256").update(JSON.stringify([item.id, stageId, cause.identity, provider])).digest("hex"); + const recovery = recoveries.get(id); + if (recovery && (row.failure_id === recovery.failureEventId || readString(row, "ended_at") < recovery.failedAt)) continue; const prior = blockers.get(id); const failedStarts = (prior?.failedStarts ?? 0) + 1; const status = maxNoEvidenceContinuations !== undefined && failedStarts > maxNoEvidenceContinuations ? "stalled" : "observed"; diff --git a/packages/core/src/work-item-evidence-types.ts b/packages/core/src/work-item-evidence-types.ts index d3c5152e8..233e29d72 100644 --- a/packages/core/src/work-item-evidence-types.ts +++ b/packages/core/src/work-item-evidence-types.ts @@ -8,7 +8,8 @@ export type WorkItemEvidenceKind = | "evidence_ref" | "correction" | "recommendation" - | "decision_ref"; + | "decision_ref" + | "stage_recovery_ref"; export type WorkItemEvidenceVisibility = "work_item" | "participants" | "owner"; diff --git a/packages/core/src/workflow-step-start-owner.ts b/packages/core/src/workflow-step-start-owner.ts index ab0b49704..7fb4bc9be 100644 --- a/packages/core/src/workflow-step-start-owner.ts +++ b/packages/core/src/workflow-step-start-owner.ts @@ -128,6 +128,7 @@ export function workflowStepStartAuthorityBasis(store: WorkflowStepStartReadStor executionPlan: metadata?.executionPlan, operationIds: metadata?.executionOperationIds, requirement: metadata?.delegatedRequirement, dependsOnStepIds: metadata?.dependsOnStepIds, planStageId: metadata?.planStageId, requiredPlanDecision: metadata?.requiredPlanDecision, + recoveryVerification: metadata?.recoveryVerification, dependencyMode: metadata?.dependencyMode, gates: metadata?.gates, approvalGate: metadata?.approvalGate, policy: metadata?.policy, requiredTools: metadata?.requiredTools, runnerId: metadata?.requestedRunnerId, sideEffectClass: metadata?.sideEffectClass, parallelPolicy: metadata?.parallelPolicy, diff --git a/packages/core/src/workspace-types.ts b/packages/core/src/workspace-types.ts index 2247ff298..1861c4d6e 100644 --- a/packages/core/src/workspace-types.ts +++ b/packages/core/src/workspace-types.ts @@ -2425,6 +2425,7 @@ export interface ChannelWorkflowStepMetadata { readonly graphNodeId?: string; readonly planStageId?: string; readonly requiredPlanDecision?: import("@ling-stack/contracts").ProposedPlanStageDecision; + readonly recoveryVerification?: import("@ling-stack/contracts").GoalVerificationRequirement; readonly planBallotKey?: string; readonly requiredPlanHandoffStepIds?: readonly string[]; readonly dependsOnStepIds?: readonly string[]; diff --git a/packages/daemon/src/features/channels/workflows.ts b/packages/daemon/src/features/channels/workflows.ts index abc1c8b02..56565c7f7 100644 --- a/packages/daemon/src/features/channels/workflows.ts +++ b/packages/daemon/src/features/channels/workflows.ts @@ -31,7 +31,7 @@ import { writeJson } from "../../shared/response.js"; import { readWorkItemStageMessages } from "../work-items/stage-messages.js"; import { readWorkItemStageQuestionInputs, WORK_ITEM_STAGE_ANSWER_FORMAT } from "../work-items/stage-questions.js"; import { readWorkItemRetainedStageInputs } from "../work-items/workflow-stages.js"; -import { workItemHandoffCandidatesCurrent } from "../work-items/stage-handoff-candidates.js"; +import { workItemHandoffCandidatesCurrent, workItemStageRecoveryCandidateCurrent } from "../work-items/stage-handoff-candidates.js"; import { compileWorkflowTemplate, isWorkflowTemplateCompileRequest, @@ -1103,6 +1103,9 @@ export async function prepareWorkflowStepStart( return fail(unavailableHandoffRecipient.statusCode, unavailableHandoffRecipient.code, unavailableHandoffRecipient.message); } } + if (step.metadata?.recoveryVerification && !await workItemStageRecoveryCandidateCurrent(store, step, runRequestBase.cwd)) { + return fail(409, "work_item_stage_candidate_stale", "The recovered stage needs a trusted check for its current candidate."); + } const begun = store.beginChannelWorkflowStepStart({ workflowStepId: step.id, expected: step, leaseId: lease.id, now: new Date().toISOString(), executionPermit, diff --git a/packages/daemon/src/features/runs/thread-routes.ts b/packages/daemon/src/features/runs/thread-routes.ts index 838ce8602..29ff1c88c 100644 --- a/packages/daemon/src/features/runs/thread-routes.ts +++ b/packages/daemon/src/features/runs/thread-routes.ts @@ -37,6 +37,7 @@ import { type ProposedPlanArtifact, type ProposedPlanArtifactStatus, type ProposedPlanWorkflowStepPreviewInput, + parseGoalVerificationRequirement, type RunEventEnvelope, type RunSession, type RunStore, @@ -2526,6 +2527,15 @@ function readOptionalWorkflowStepPreviews( || new Set(requiredTools).size !== requiredTools.length)) { throw new HttpError(400, "bad_workflow_step_tools", "requiredTools must contain distinct Run tool names."); } + let recoveryVerification; + if (item.recoveryVerification !== undefined) { + try { + recoveryVerification = parseGoalVerificationRequirement(item.recoveryVerification); + } catch (error) { + if (!(error instanceof Error) || !["goal_spec_invalid", "goal_acceptance_criteria_invalid"].includes(error.message)) throw error; + throw new HttpError(400, "bad_workflow_recovery_verification", "Supply the stage's check ID, verifier basis and coverage digest."); + } + } return { title, requiredTools, @@ -2533,6 +2543,7 @@ function readOptionalWorkflowStepPreviews( dependsOnStageIds: readOptionalWorkflowStageDependencies(item), handoffFromStageIds: readOptionalWorkflowStageDependencies(item, "handoffFromStageIds"), requiredDecision: item.requiredDecision === undefined ? undefined : parseProposedPlanStageDecision(item.requiredDecision), + recoveryVerification, ownerId: readOptionalString(item, "ownerId")?.trim() || undefined, ownerLabel: readOptionalString(item, "ownerLabel")?.trim() || undefined, ownerConfidence: readOptionalWorkflowOwnerConfidence(item, "ownerConfidence"), diff --git a/packages/daemon/src/features/work-items/stage-handoff-candidates.ts b/packages/daemon/src/features/work-items/stage-handoff-candidates.ts index 015b48b70..5b935fbe8 100644 --- a/packages/daemon/src/features/work-items/stage-handoff-candidates.ts +++ b/packages/daemon/src/features/work-items/stage-handoff-candidates.ts @@ -27,3 +27,20 @@ export async function workItemHandoffCandidatesCurrent(store: RunStore, step: Ch } return true; } + +export async function workItemStageRecoveryCandidateCurrent(store: RunStore, step: ChannelWorkflowStep, cwd: string): Promise { + if (!step.metadata?.recoveryVerification) return true; + const binding = readWorkItemWorkflowBinding(store, step.workflowId); + const readRecovery = () => { + const item = binding && store.getWorkItem(binding.workItemId); + const recovery = item && store.getWorkItemStageProgress(item, step)?.lastVerified; + return recovery?.kind === "verification_passed" ? recovery : undefined; + }; + const recovery = readRecovery(); + if (!recovery) return true; + const source = store.getRun(recovery.failedRunId); + const latest = step.runId ? store.getRun(step.runId) : undefined; + if (latest?.startedAt && latest.startedAt > recovery.committedAt) return true; + return source?.cwd === cwd && await readCompleteHandoffCandidate(cwd) === recovery.candidateDigest + && readRecovery()?.id === recovery.id; +} diff --git a/packages/daemon/src/features/work-items/workflow-stages.ts b/packages/daemon/src/features/work-items/workflow-stages.ts index 20c63b2c2..43d638425 100644 --- a/packages/daemon/src/features/work-items/workflow-stages.ts +++ b/packages/daemon/src/features/work-items/workflow-stages.ts @@ -86,6 +86,7 @@ export function readWorkItemWorkflowStages(store: RunStore, item: WorkItem, incl runId: step.runId, outputArtifactId: step.metadata?.outputArtifactId, brief: (step.resultSummary ?? step.blocker)?.slice(0, 500), usage: step.metadata?.planStageId ? usage?.byStage.get(step.metadata.planStageId) : usage?.byStep.get(step.id), progress: store.getWorkItemStageProgress(item, step), + ...(step.metadata?.recoveryVerification ? { recoveryVerification: step.metadata.recoveryVerification } : {}), briefBasis: readStageBriefBasis(store, step), ...(retryBudget ? { retryBudget } : {}), decision: readStageDecision(store, item.id, item.planRevision!, binding.planId, step), diff --git a/packages/daemon/src/server/app-server-authorization.ts b/packages/daemon/src/server/app-server-authorization.ts index ded402b6e..4915a4f7b 100644 --- a/packages/daemon/src/server/app-server-authorization.ts +++ b/packages/daemon/src/server/app-server-authorization.ts @@ -150,7 +150,7 @@ const workItemReads = new Set([ "workItem/message/read", "workItem/message/list", "workItem/question/read", "workItem/handoff/read", "workItem/coordination/schedule/read", ]); -const workItemControls = new Set(["workItem/pause", "workItem/resume", "workItem/cancel"]); +const workItemControls = new Set(["workItem/pause", "workItem/resume", "workItem/cancel", "workItem/stage/recover"]); const stageCoordinationMethods = new Set(["workItem/stage/read", "workItem/question/read", "workItem/message/read", "workItem/message/list", "workItem/question/ask", "workItem/question/reply", "workItem/message/send"]); diff --git a/packages/daemon/src/server/app-server-mcp.ts b/packages/daemon/src/server/app-server-mcp.ts index ddc849032..bbd5f5cf9 100644 --- a/packages/daemon/src/server/app-server-mcp.ts +++ b/packages/daemon/src/server/app-server-mcp.ts @@ -310,6 +310,12 @@ export async function runLingAppServerMcp( sourceScope: z.string().min(1).max(200).optional(), limit: z.number().int().min(1).max(LING_APP_SERVER_NATIVE_INTAKE_PAGE_LIMIT).optional() }), annotations: { readOnlyHint: true, destructiveHint: false }, }, async params => describe(await client.listNativeWorkIntake(params))); + if (methods.has("workItem/stage/recover")) server.registerTool("ling_work_item_stage_recover", { + description: "Recover a stalled stage using the accepted Plan's trusted verification for its current failure event and candidate.", + inputSchema: z.strictObject({ workItemId: objectId, workflowStepId: objectId, planRevision: objectId, blockerId: objectId, + failureEventId: objectId, operationId: objectId, expectedWorkItemRevision: z.number().int().positive(), idempotencyKey: requestKey }), + annotations: { idempotentHint: true, destructiveHint: false }, + }, async params => describe(await client.recoverWorkItemStage(params))); if (methods.has("workItem/intake/accept")) server.registerTool("ling_native_intake_accept", { description: "Accept a suggested Channel Task or Automation occurrence by receipt ID. The original execution owner handles dispatch.", inputSchema: z.strictObject({ receiptId: z.string().regex(/^intake_[a-f0-9]{64}$/u) }), diff --git a/packages/daemon/src/server/app-server-stage-recovery.ts b/packages/daemon/src/server/app-server-stage-recovery.ts new file mode 100644 index 000000000..8c3fc6425 --- /dev/null +++ b/packages/daemon/src/server/app-server-stage-recovery.ts @@ -0,0 +1,133 @@ +import type { + GoalVerificationRequirement, + LingAppServerStageRecoverParams, + LingAppServerStageRecoverResult, + LingAppServerVerifyOperation, + LingAppServerVerifyPlanResult, +} from "@ling-stack/contracts"; +import type { ControlPlaneEvent, RunStore } from "@ling-stack/core"; +import { HttpError } from "../errors.js"; +import { readCompleteHandoffCandidate } from "../features/work-items/stage-handoff-candidates.js"; +import type { ActiveRunRegistry } from "../runtime/active-runs.js"; +import { continuationSourceReady } from "../runtime/continuation-source-barrier.js"; +import { AppServerCollaborationError } from "./app-server-collaboration.js"; + +export async function recoverAppServerStage( + store: RunStore, input: LingAppServerStageRecoverParams, activeRuns: ActiveRunRegistry, +): Promise { + const { workItemId, planRevision, workflowStepId, blockerId, failureEventId, operationId } = input; + const item = store.getWorkItem(workItemId); + if (!item) throw new AppServerCollaborationError("work_item_not_found", "The Work Item is unavailable."); + const cwd = store.paths.cwd; + const id = `work_item_stage_recovery_${operationId}`; + const key = `stage-recovery:${input.idempotencyKey}`; + const replay = (): LingAppServerStageRecoverResult | undefined => { + const prior = store.findWorkItemEvidenceByKey(workItemId, key); + if (!prior) return undefined; + if (prior.kind !== "stage_recovery_ref") { + throw new AppServerCollaborationError("idempotency_conflict", "The recovery key was used for another operation."); + } + const receipt = JSON.parse(prior.content) as LingAppServerStageRecoverResult["receipt"]; + if (prior.id !== id || prior.subjectRevision !== planRevision + || receipt.workflowStepId !== workflowStepId || receipt.blockerId !== blockerId || receipt.failureEventId !== failureEventId) { + throw new AppServerCollaborationError("idempotency_conflict", "The recovery key was used with a different stage or verification."); + } + return { cwd, receipt, replayed: true, workItemRevision: store.getWorkItem(workItemId)?.revision ?? item.revision }; + }; + const prior = replay(); + if (prior) return prior; + + const readBasis = () => { + const current = store.getWorkItem(workItemId); + const step = store.getChannelWorkflowStep(workflowStepId); + if (!current?.workflowId || current.planRevision !== planRevision || current.revision !== input.expectedWorkItemRevision + || step?.workflowId !== current.workflowId || !["blocked", "queued"].includes(step.status)) { + throw new AppServerCollaborationError("stale_revision", "The accepted Plan or blocked stage changed."); + } + if (store.getWorkItemWorkflowAdmissionBlocker(current.workflowId) || current.holds.some(hold => + hold.blocksNewAdmission && hold.workflowStepIds?.includes(step.id))) { + throw new HttpError(409, "resume_blocked", "The Work Item cannot recover this stage now."); + } + const progress = store.getWorkItemStageProgress(current, step); + const blocker = progress?.blocker; + const recovered = progress?.lastVerified?.kind === "verification_passed" ? progress.lastVerified : undefined; + const lastRunId = blocker?.status === "stalled" && blocker.id === blockerId && blocker.sourceEventId === failureEventId + ? blocker.lastRunId : undefined; + const replacesRecovery = recovered?.blockerId === blockerId && recovered.failureEventId === failureEventId; + if (!lastRunId && !replacesRecovery) { + throw new AppServerCollaborationError("stale_revision", "Use the current stalled blocker's failure event."); + } + const failedRunId = lastRunId ?? recovered!.failedRunId; + const run = store.getRun(failedRunId); + const unit = run?.workUnitId ? store.getWorkUnit(run.workUnitId) : undefined; + if (!run?.endedAt || !unit || unit.linkedRunId !== run.id + || !continuationSourceReady(store, unit, activeRuns, key, () => undefined)) { + throw new HttpError(409, "resume_blocked", "The failed Run still needs execution and effect settlement."); + } + const failedAt = run.endedAt; + const after = replacesRecovery ? recovered!.committedAt : failedAt; + const requirement = step.metadata?.recoveryVerification; + if (!requirement) throw verificationRequired(); + const candidateDigest = recoveryCandidate(store, input, requirement, after, run.cwd); + if (!candidateDigest) throw verificationRequired(); + return { failedRunId, failedAt, candidateCwd: run.cwd, candidateDigest }; + }; + const basis = readBasis(); + const candidate = await readCompleteHandoffCandidate(basis.candidateCwd); + const committed = replay(); + if (committed) return committed; + if (candidate !== basis.candidateDigest) { + throw new HttpError(409, "work_item_stage_candidate_stale", "The verified stage candidate changed."); + } + if (store.getWorkItemEvidence(id)) { + throw new AppServerCollaborationError("idempotency_conflict", "This verification already has a stage recovery receipt."); + } + const now = new Date().toISOString(); + const receipt = { id, workflowStepId, blockerId, failureEventId, operationId, failedAt: basis.failedAt, + failedRunId: basis.failedRunId, candidateDigest: basis.candidateDigest, committedAt: now }; + const result = store.appendWorkItemEvidence({ + id, workItemId, expectedWorkItemRevision: input.expectedWorkItemRevision, idempotencyKey: key, + actorId: "local-user", subjectRevision: planRevision, kind: "stage_recovery_ref", content: JSON.stringify(receipt), + visibility: "owner", sourceRefs: [ + { type: "workflow_step", id: workflowStepId, revision: planRevision }, + { type: "run_event", id: failureEventId }, + { type: "verification", id: operationId, digest: basis.candidateDigest }, + ], + assertCurrent: () => { + const current = readBasis(); + if (current.candidateDigest !== basis.candidateDigest || current.candidateCwd !== basis.candidateCwd) throw verificationRequired(); + }, + }, now, { + cwd, + project: (entry, workItemRevision) => ({ + action: "work_item.stage.updated", + data: { workItemId, workflowStepId, planRevision, recoveryReceiptId: entry.id, workItemRevision }, + }), + }); + if (!result) throw new AppServerCollaborationError("stale_revision", "The Work Item changed before recovering the stage."); + return { cwd, receipt, replayed: result.status === "replayed", workItemRevision: result.workItemRevision, event: result.event }; +} + +function recoveryCandidate(store: RunStore, input: LingAppServerStageRecoverParams, requirement: GoalVerificationRequirement, + after: string, cwd: string): string | undefined { + const stored = store.getAppServerState("verify_operation", input.operationId)?.payload as + { readonly operation: LingAppServerVerifyOperation; readonly plan: LingAppServerVerifyPlanResult } | undefined; + if (!stored) return undefined; + const { operation, plan } = stored; + const proof = operation.checks.find(check => check.checkId === requirement.checkId); + const planned = plan.checks.find(check => check.checkId === requirement.checkId); + if (operation.operationId !== input.operationId || operation.planId !== plan.planId + || operation.workItemId !== input.workItemId || plan.workItemId !== input.workItemId || plan.acceptedPlanRevision !== input.planRevision + || operation.status !== "passed" || !operation.completedAt || !proof?.execution || proof.execution.startedAt <= after + || operation.candidateDigest !== plan.candidate.candidateDigest || plan.candidate.workspaceId !== cwd + || proof.status !== "passed" || planned?.required !== true || proof.candidateDigest !== operation.candidateDigest + || proof.planRevision !== plan.planRevision || proof.recipeDigest !== planned.recipeDigest + || proof.verifierBasisRef !== requirement.verifierBasisRef || proof.verifierBasisRef !== planned.verifierBasisRef + || proof.coverageDigest !== requirement.coverageDigest || proof.coverageDigest !== planned.coverageDigest + || !proof.producerRefs.length || JSON.stringify(proof.producerRefs) !== JSON.stringify(planned.producerRefs)) return undefined; + return operation.candidateDigest; +} + +function verificationRequired(): HttpError { + return new HttpError(409, "work_item_stage_verification_required", "Run the accepted stage's trusted check against the current candidate after the failure."); +} diff --git a/packages/daemon/src/server/rpc.ts b/packages/daemon/src/server/rpc.ts index 5f44879af..fbd7e298f 100644 --- a/packages/daemon/src/server/rpc.ts +++ b/packages/daemon/src/server/rpc.ts @@ -151,6 +151,7 @@ import { startAppServerStageDeliberation, } from "./app-server-collaboration.js"; import { readStageHandoffParams, settleAppServerStageHandoff } from "./app-server-stage-handoff.js"; +import { recoverAppServerStage } from "./app-server-stage-recovery.js"; type JsonRpcId = string | number | null; @@ -213,6 +214,7 @@ const operatorMethods = new Set([ "workItem/accept", "workItem/workflow/bind", "workItem/plan/change/request", "workItem/plan/change/withdraw", + "workItem/stage/recover", "workItem/feedback/add", "workItem/deliberation/decide", "workItem/deliberation/cancel", "artifact/read", "model/list", "skill/read", @@ -226,7 +228,7 @@ const recoveryGuardedMethods = new Set([ "runs.start", "turn/start", "turn/queue", "turn/resume", "handoff/resume", "approval/respond", "input/respond", "plan/accept", "plan/refine", "workItem/create", "workItem/accept", "workItem/workflow/bind", "workItem/resume", "github/intake/poll", "workItem/coordination/start", "workItem/coordination/schedule/set", "workItem/deliberation/start", "workItem/deliberation/decide", "workItem/handoff/accept", - "workItem/plan/change/withdraw", + "workItem/plan/change/withdraw", "workItem/stage/recover", "externalAgent/task/start", "verify/start", "review/start", "simplify/start", "changes/apply", "worktree/create", "worktree/cleanup", "workItem/feedback/add", "workItem/intake/accept", "workItem/intake/retry", ]); @@ -946,6 +948,8 @@ class RpcConnection { case "workItem/stage/read": case "workItem/stage/brief/read": return this.readWorkItemStages(method === "workItem/stage/read" ? "stage" : "brief", params); + case "workItem/stage/recover": + return this.recoverWorkItemStage(params); case "workItem/coordination/start": return this.appendCollaboration("coordination", "started", params); case "workItem/coordination/close": @@ -1361,6 +1365,9 @@ class RpcConnection { const subjectRevision = readStringField(record, "subjectRevision"); const kind = readStringField(record, "kind") as import("@ling-stack/core").WorkItemEvidenceKind; const content = readStringField(record, "content"); + if (kind === "stage_recovery_ref" || idempotencyKey.startsWith("stage-recovery:")) { + throw rpcError(-32602, "invalid_params", "Stage recovery evidence uses workItem/stage/recover."); + } if (content.startsWith(WORK_ITEM_COLLABORATION_CONTENT_PREFIX)) { throw rpcError(-32602, "invalid_params", "Collaboration records use the collaboration methods."); } @@ -1501,6 +1508,32 @@ class RpcConnection { } } + private async recoverWorkItemStage(params: unknown): Promise { + const { cwd, ...record } = this.workspaceParams(params, true); + const input = { + workItemId: readStringField(record, "workItemId"), workflowStepId: readStringField(record, "workflowStepId"), + planRevision: readStringField(record, "planRevision"), blockerId: readStringField(record, "blockerId"), + failureEventId: readStringField(record, "failureEventId"), operationId: readStringField(record, "operationId"), + idempotencyKey: readStringField(record, "idempotencyKey"), + }; + const expectedWorkItemRevision = readIntegerField(record, "expectedWorkItemRevision", "expectedWorkItemRevision"); + if (expectedWorkItemRevision < 1 || input.idempotencyKey.length > 200 + || Object.values(input).some(value => value.length > 256 || !value.trim() || /[\r\n\0]/u.test(value))) { + throw rpcError(-32602, "invalid_params", "Supply the current stage, blocker and a bounded request key."); + } + try { + const { event, ...result } = await recoverAppServerStage(this.context.storeRegistry.getStore(cwd), + { ...input, expectedWorkItemRevision }, this.context.activeRuns); + if (event) { + this.context.controlPlaneEvents.publish(trimOversizedEvent(event)); + this.context.taskSupervisor.poke(cwd); + } + return result; + } catch (error) { + throw collaborationRpcError(error); + } + } + private settleWorkItemDeliberation(action: "decided" | "cancelled", params: unknown): unknown { const { cwd, ...record } = this.workspaceParams(params, true); const input = { diff --git a/packages/daemon/test/app-server-release-acceptance.test.ts b/packages/daemon/test/app-server-release-acceptance.test.ts index cd80cf9fe..72c835dde 100644 --- a/packages/daemon/test/app-server-release-acceptance.test.ts +++ b/packages/daemon/test/app-server-release-acceptance.test.ts @@ -3365,19 +3365,20 @@ test("a paused Work Item replaces its accepted Workflow after the old Run settle }); async function stageQuestionWorkflow(t: TestContext, providerBaseUrl?: string, parallelReadOnly = false, retryBudget?: number, - options?: { readonly harness: DaemonConfig["harness"]; readonly secretResolver: SecretResolver; readonly apiKeyRef: string }) { + options?: { readonly harness?: DaemonConfig["harness"]; readonly secretResolver?: SecretResolver; readonly apiKeyRef?: string; + readonly verificationRecipes?: (root: string, cwd: string) => Promise }) { const fixture = await releaseFixture(t, { channels: { terminalReports: false, teamObserverBus: false }, - harness: options?.harness, secretResolver: options?.secretResolver }); + harness: options?.harness, secretResolver: options?.secretResolver, verificationRecipes: options?.verificationRecipes }); const store = fixture.getStore(); const now = new Date().toISOString(); - const preset = providerBaseUrl ? addLoopbackPreset(store, providerBaseUrl, options && { + const preset = providerBaseUrl ? addLoopbackPreset(store, providerBaseUrl, options?.apiKeyRef ? { apiKeyRef: options.apiKeyRef, contextWindow: 16_000, maxTokens: 1_000, - }) : undefined; + } : undefined) : undefined; const channel = store.createChannel({ name: "Review", boundPath: fixture.cwd, allowedTools: parallelReadOnly ? ["read"] : [], defaultProviderPresetId: preset?.id, ...(parallelReadOnly ? { runtimePolicy: { maxConcurrentRuns: 2, allowReadOnlyParallel: true } } : {}), }, now); - if (options) { + if (options?.apiKeyRef) { for (const teammateId of ["teammate_builtin_engineer", "teammate_builtin_qa"]) { store.replaceTeammateChannelMemberships(teammateId, [{ channelId: channel.id }], now); } @@ -3736,14 +3737,55 @@ test("parallel Work Item stages reserve their shared Goal budget before sending assert.equal(provider.requests.length, 1); }); -test("the same stage blocker survives reassignment and restart until a scoped Plan change is accepted", { timeout: 35_000 }, async t => { +for (const recoveryPath of ["accepted Plan change", "trusted verification"] as const) { +test(`the same stage blocker survives reassignment and restart until ${recoveryPath}`, { timeout: 45_000 }, async t => { + const useVerification = recoveryPath === "trusted verification"; const provider = await startLoopbackPiProvider((_body: unknown, invocation: number) => invocation <= 2 ? { errorStatus: 400, errorCode: "invalid_request_error" } : { text: "Independent contract verified." }); t.after(() => provider.close()); const { fixture, client, item, workflowId, respondent, thread, plan } = - await stageQuestionWorkflow(t, provider.baseUrl, true, 4); + await stageQuestionWorkflow(t, provider.baseUrl, true, 4, useVerification ? { + async verificationRecipes(root, cwd) { + const script = join(root, "stage-contract-check.cjs"); + const source = 'if (require("node:fs").readFileSync("contract.txt", "utf8") !== "supported\\n") process.exit(1);\n'; + await writeFile(script, source); + return ["contract-recovery", "unrelated-check"].map(id => ({ + id, kind: "test" as const, label: id, workspaceRoot: cwd, argv: [process.execPath, script] as const, required: true, + verifier: { coverage: id, sources: [{ path: script, sha256: createHash("sha256").update(source).digest("hex") }] }, + })); + }, + } : undefined); const target = { workItemId: item.id }; + const planVerification = async (connection: typeof client, checkId: string) => { + const { candidate } = await connection.call<{ candidate: LingAppServerCandidateReference }>("changes/capture"); + return connection.call("verify/plan", { ...target, threadId: thread.id, candidate, requestedChecks: [checkId] }); + }; + const verify = async (connection: typeof client, checkId: string) => { + const check = await planVerification(connection, checkId); + const { operationId } = await connection.call("verify/start", { + planId: check.planId, planRevision: check.planRevision, candidateDigest: check.candidate.candidateDigest, idempotencyKey: randomUUID(), + }); + const operation = await waitFor(async () => { + const { operation } = await connection.call("verify/status", { operationId }); + return operation.completedAt ? operation : undefined; + }); + assert.equal(operation.status, "passed"); + return operation; + }; + const checkId = "contract-recovery"; + let recoveryVerification: import("@ling-stack/contracts").GoalVerificationRequirement | undefined; + if (useVerification) { + const git = (...args: string[]) => execFileSync("git", args, { cwd: fixture.cwd, stdio: "ignore" }); + await writeFile(join(fixture.cwd, ".gitignore"), ".ling-stack/\n"); + await writeFile(join(fixture.cwd, "contract.txt"), "supported\n"); + git("init", "-q"); + git("add", ".gitignore", "contract.txt"); + git("-c", "user.name=Fixture", "-c", "user.email=fixture@example.test", "commit", "-qm", "Contract fixture"); + const [check] = (await planVerification(client, checkId)).checks; + assert.ok(check?.verifierBasisRef && check.coverageDigest); + recoveryVerification = { checkId, verifierBasisRef: check.verifierBasisRef, coverageDigest: check.coverageDigest }; + } await client.call("thread/goal/set", { threadId: thread.id, objective: "Verify the compatibility contract", supervisionPolicy: { maxNoEvidenceContinuations: 1 } }); const read = async (connection = client) => { @@ -3757,7 +3799,7 @@ test("the same stage blocker survives reassignment and restart until a scoped Pl const { daemonUrl, authToken } = fixture.transportOptions(); const address = new URL(`/workflow-steps/${encodeURIComponent(stepId)}/start`, daemonUrl); address.searchParams.set("cwd", fixture.cwd); - return fetch(address, { method: "POST", body: JSON.stringify({ mode: "create_and_run_task" }), + return fetch(address, { method: "POST", body: JSON.stringify({ mode: "create_and_run_task", idempotencyKey: randomUUID() }), headers: { authorization: `Bearer ${authToken}`, "content-type": "application/json" } }); }; const startAndSettle = async (stepId: string, expected: "failed" | "succeeded") => { @@ -3789,7 +3831,7 @@ test("the same stage blocker survives reassignment and restart until a scoped Pl const accepted = await connection.call("plan/accept", { mode: "workflow", threadId: thread.id, planId: draft.id, expectedRevision: draft.revision, workflowStepPreviews: [ - { title, stageId: "P01", ownerId: "teammate_builtin_qa", ownerLabel: "QA" }, + { title, stageId: "P01", ownerId: "teammate_builtin_qa", ownerLabel: "QA", recoveryVerification }, { title: "Prepare independent docs", stageId: "QA", ownerId: "teammate_builtin_engineer", ownerLabel: "Engineer" }, ], }); @@ -3813,6 +3855,7 @@ test("the same stage blocker survives reassignment and restart until a scoped Pl assert.equal(original.recoveryOwnerId, "teammate_builtin_engineer"); const reassigned = await replace(client, plan.id, workflowId, 0, "Reassign the same contract check"); + const early = useVerification ? await verify(client, checkId) : undefined; const { stage: retryStage } = await read(); await startAndSettle(retryStage.stepId, "failed"); const stalled = (await read()).stage; @@ -3835,6 +3878,58 @@ test("the same stage blocker survives reassignment and restart until a scoped Pl await startAndSettle(sibling.stepId, "succeeded"); assert.deepEqual((await read(restored)).stage.progress, stalled.progress); + if (early) { + const { blocker } = stalled.progress!; + assert.ok(blocker); + const current = await restored.call("workItem/read", target); + const basis = { + ...target, workflowStepId: stalled.stepId, planRevision: current.workItem.planRevision, + expectedWorkItemRevision: Number(current.workItem.revision), blockerId: blocker.id, failureEventId: blocker.sourceEventId, + }; + const recover = (operationId: string, connection = restored, idempotencyKey = "recover-stage") => + connection.call( + "workItem/stage/recover", { ...basis, operationId, idempotencyKey }); + assert.deepEqual((await read(restored)).stage.recoveryVerification, recoveryVerification); + await assert.rejects(recover(early.operationId), { code: "work_item_stage_verification_required" }); + await assert.rejects(recover((await verify(restored, "unrelated-check")).operationId), { code: "work_item_stage_verification_required" }); + await assert.rejects(restored.call("workItem/evidence/append", { + ...target, kind: "stage_recovery_ref", actorId: "local-user", content: "fake recovery", + idempotencyKey: "fake-and-ignore", subjectRevision: basis.planRevision, + }), { code: "invalid_params" }); + const proof = await verify(restored, checkId); + const unverifiedChange = join(fixture.cwd, "unverified-change.txt"); + await writeFile(unverifiedChange, "candidate drift\n"); + await assert.rejects(recover(proof.operationId), { code: "work_item_stage_candidate_stale" }); + await rm(unverifiedChange); + const peer = await fixture.connect(); + const results = await Promise.all([recover(proof.operationId), recover(proof.operationId, peer)]); + assert.deepEqual(results[0].receipt, results[1].receipt); + assert.deepEqual(results.map(result => result.replayed).sort(), [false, true]); + let recovered = (await read(restored)).stage; + assert.equal(recovered.progress?.lastVerified?.id, results[0].receipt.id); + assert.equal(recovered.progress?.lastVerified?.kind, "verification_passed"); + assert.equal(recovered.progress?.blocker, undefined); + assert.deepEqual(recovered.retryBudget, stalled.retryBudget); + await fixture.restart(); + const reconnected = await fixture.connect(); + assert.equal((await recover(proof.operationId, reconnected)).replayed, true); + assert.deepEqual((await read(reconnected)).stage.progress, recovered.progress); + await writeFile(unverifiedChange, "candidate changed after the receipt\n"); + const staleStart = await start(stalled.stepId); + assert.equal(staleStart.status, 409); + assert.equal((await staleStart.json()).error, "work_item_stage_candidate_stale"); + assert.equal(provider.requests.length, 3); + await rm(unverifiedChange); + assert.ok(recovered.retryBudget); + const { starts } = recovered.retryBudget; + await startAndSettle(stalled.stepId, "succeeded"); + recovered = (await read(reconnected)).stage; + assert.equal(recovered.progress?.lastVerified?.kind, "stage_completed"); + assert.equal(recovered.retryBudget?.starts, starts + 1); + assert.equal(provider.requests.length, 4); + return; + } + const current = await restored.call("workItem/read", target); const change = await restored.call("workItem/plan/change/request", { ...target, planRevision: current.workItem.planRevision, expectedWorkItemRevision: Number(current.workItem.revision), @@ -3850,6 +3945,7 @@ test("the same stage blocker survives reassignment and restart until a scoped Pl assert.equal((await read(restored)).stage.progress?.lastVerified?.kind, "stage_completed"); assert.equal(provider.requests.length, 4); }); +} for (const guard of ["event usage", "Host reservation"] as const) { test(`a budgeted Workflow stops new stages when an earlier Run has unconfirmed ${guard}`, { timeout: 20_000 }, async t => { From 064acf1ddd84bb8192159f0f4c1364e5b39d3fe6 Mon Sep 17 00:00:00 2001 From: tianxiaochannel-oss88 Date: Tue, 24 Nov 2026 08:20:03 +0800 Subject: [PATCH 094/147] test(app-server): verify operator-only stage recovery and candidate refresh --- .../ling-app-server-implementation-plan.md | 2 +- .../work-items/stage-handoff-candidates.ts | 1 - .../src/server/app-server-authorization.ts | 2 +- .../app-server-release-acceptance.test.ts | 29 +++++++++++++++---- 4 files changed, 26 insertions(+), 8 deletions(-) diff --git a/docs/design/ling-app-server-implementation-plan.md b/docs/design/ling-app-server-implementation-plan.md index 15b40f13c..d50e2f5bd 100644 --- a/docs/design/ling-app-server-implementation-plan.md +++ b/docs/design/ling-app-server-implementation-plan.md @@ -89,7 +89,7 @@ Windows 源码验收使用独立的 GitHub Actions 作业,启动真实 CLI std | A1、B1、C1、C2 | 全方法的 Schema 校验和更多宿主兼容组合。workspace、Thread、Work Item 的 grant 和 WSS 已接入。专用 TLS 监听器实测分离控制和答复权限,支持用户答复原回执与撤权。审批和答复仍需在其他宿主和实际远程部署验收。目标游标已绑定存储代次、授权代次和目标,本机兼容用例覆盖上一版源码与候选组合。 | | D1、D2、E1、E2 | 开工与 Pi 运行中的项目规则加载、显式 Claude 规则、两个开发 Skill、工作区 Verify、独立 verifier basis、托管工作树管理、候选改动分页、Turn 改动恢复、选中 hunk 转移和工作台浏览器验证报告已接入。各发行平台验证仍待完成。 | | F1、F2 | 普通会话 Handoff 的候选封存、Goal 预算承接与接手已接入。CLI `app-server codex-host --thread --state --view` 在回环地址提供双端会话视图。本机 Codex 0.171.0-alpha.13、实际 Ling Daemon 与受控 Provider 联调验证两端状态、Ling 在途排队、活跃 Codex Turn 指导、浏览器重连补齐、回执重放和审批提醒。故障回归覆盖原状态库升级、未写出的请求在重连后补投一次,以及已发出但缺少有效回执时保留待确认结果。Pi Host 预算路径的逐请求预留已使用受控 Provider 验证,仍需真实 Provider、隔离工作树和其他 Runner 的对应验收。 | -| O1、O3–O9 | GitHub 签名 webhook、轮询和显式接单归并至同一工作项。自动接单策略处理免打扰、并发、启动额度和派发前状态重查。现有 Task、AutomationRun 和同频道用户输入可显式关联工作项。已接受的计划能自动开启声明的阶段审议,并可等待当前 Workflow 结果包的交接回执。受影响阶段可单独暂停,后继阶段可显式引用已收敛或仍在途的独立成果,待执行阶段可接收定向消息和有原 Run 证据的 Agent 答复。工作项暂停期间拒绝新增定向消息。阶段客户端和支持协作工具的 Pi 阶段按 Run/Attempt 收发,Pi 在下一次模型输入接收消息和问答。Workflow 执行使用工作项重试上限,并可依据跨 Run 的结构化故障记录暂停单项阶段。Device Fabric 桥接、计划前和在途审议、Review 证据联动及完整 O9 联合验收仍需对应环境证据,可信 Verify 驱动的停滞恢复已接入并有定向回归。 | +| O1、O3–O9 | GitHub 签名 webhook、轮询和显式接单归并至同一工作项。自动接单策略处理免打扰、并发、启动额度和派发前状态重查。现有 Task、AutomationRun 和同频道用户输入可显式关联工作项。已接受的计划能自动开启声明的阶段审议,并可等待当前 Workflow 结果包的交接回执。受影响阶段可单独暂停,后继阶段可显式引用已收敛或仍在途的独立成果,待执行阶段可接收定向消息和有原 Run 证据的 Agent 答复。工作项暂停期间拒绝新增定向消息。阶段客户端和支持协作工具的 Pi 阶段按 Run/Attempt 收发,Pi 在下一次模型输入接收消息和问答。Workflow 执行使用工作项重试上限,并可依据跨 Run 的结构化故障记录暂停单项阶段。可信 Verify 驱动的停滞恢复已接入并有定向回归。剩余实现包括 Device Fabric 桥接、计划前和在途审议及 Review 证据联动,完整 O9 仍需联合验收。 | | G | 独立恢复日志已验证 SQLite 快照恢复、撤权、旧游标失效和 GitHub 对账后派发。上一版源码通过同一套本地兼容验收。签名安装产物、实际远程 WSS、带独立检查 App 的 Ling 主动入队及三个真实 Provider 自研试点仍需对应环境的证据。macOS 打包预检需要当前打包输入的 Office 审查、对应 Electron/OS 的受限运行时审查和 gstack 平台资源。T01 离线预检可进入评审,真实试点仍需按 Framework Assurance 准入。 | ## 目标与开工顺序 diff --git a/packages/daemon/src/features/work-items/stage-handoff-candidates.ts b/packages/daemon/src/features/work-items/stage-handoff-candidates.ts index 5b935fbe8..23e22b9c6 100644 --- a/packages/daemon/src/features/work-items/stage-handoff-candidates.ts +++ b/packages/daemon/src/features/work-items/stage-handoff-candidates.ts @@ -29,7 +29,6 @@ export async function workItemHandoffCandidatesCurrent(store: RunStore, step: Ch } export async function workItemStageRecoveryCandidateCurrent(store: RunStore, step: ChannelWorkflowStep, cwd: string): Promise { - if (!step.metadata?.recoveryVerification) return true; const binding = readWorkItemWorkflowBinding(store, step.workflowId); const readRecovery = () => { const item = binding && store.getWorkItem(binding.workItemId); diff --git a/packages/daemon/src/server/app-server-authorization.ts b/packages/daemon/src/server/app-server-authorization.ts index 4915a4f7b..ded402b6e 100644 --- a/packages/daemon/src/server/app-server-authorization.ts +++ b/packages/daemon/src/server/app-server-authorization.ts @@ -150,7 +150,7 @@ const workItemReads = new Set([ "workItem/message/read", "workItem/message/list", "workItem/question/read", "workItem/handoff/read", "workItem/coordination/schedule/read", ]); -const workItemControls = new Set(["workItem/pause", "workItem/resume", "workItem/cancel", "workItem/stage/recover"]); +const workItemControls = new Set(["workItem/pause", "workItem/resume", "workItem/cancel"]); const stageCoordinationMethods = new Set(["workItem/stage/read", "workItem/question/read", "workItem/message/read", "workItem/message/list", "workItem/question/ask", "workItem/question/reply", "workItem/message/send"]); diff --git a/packages/daemon/test/app-server-release-acceptance.test.ts b/packages/daemon/test/app-server-release-acceptance.test.ts index 72c835dde..812c71437 100644 --- a/packages/daemon/test/app-server-release-acceptance.test.ts +++ b/packages/daemon/test/app-server-release-acceptance.test.ts @@ -3737,9 +3737,12 @@ test("parallel Work Item stages reserve their shared Goal budget before sending assert.equal(provider.requests.length, 1); }); -for (const recoveryPath of ["accepted Plan change", "trusted verification"] as const) { -test(`the same stage blocker survives reassignment and restart until ${recoveryPath}`, { timeout: 45_000 }, async t => { - const useVerification = recoveryPath === "trusted verification"; +test("the same stage blocker survives reassignment and restart until a scoped Plan change is accepted", { timeout: 45_000 }, + t => exerciseStageBlockerRecovery(t, false)); +test("the same stage blocker survives reassignment and restart until trusted verification", { timeout: 45_000 }, + t => exerciseStageBlockerRecovery(t, true)); + +async function exerciseStageBlockerRecovery(t: TestContext, useVerification: boolean) { const provider = await startLoopbackPiProvider((_body: unknown, invocation: number) => invocation <= 2 ? { errorStatus: 400, errorCode: "invalid_request_error" } : { text: "Independent contract verified." }); @@ -3897,6 +3900,14 @@ test(`the same stage blocker survives reassignment and restart until ${recoveryP idempotencyKey: "fake-and-ignore", subjectRevision: basis.planRevision, }), { code: "invalid_params" }); const proof = await verify(restored, checkId); + const limitedSecret = randomBytes(32).toString("hex"); + const { grant } = await restored.call<{ grant: LingAppServerGrant }>("server/grants/create", { + label: "Stage observer and controller", scopes: ["observe", "control"], subject: { kind: "workItem", id: item.id }, + credentialSha256: createHash("sha256").update(limitedSecret).digest("hex"), + expiresAt: new Date(Date.now() + 60_000).toISOString(), idempotencyKey: "stage-recovery-controller", + }); + const limited = await fixture.connect("/app-server/rpc", fixture.cwd, `las1.${grant.grantId}.${limitedSecret}`); + await assert.rejects(recover(proof.operationId, limited), { code: "capability_denied" }); const unverifiedChange = join(fixture.cwd, "unverified-change.txt"); await writeFile(unverifiedChange, "candidate drift\n"); await assert.rejects(recover(proof.operationId), { code: "work_item_stage_candidate_stale" }); @@ -3919,7 +3930,16 @@ test(`the same stage blocker survives reassignment and restart until ${recoveryP assert.equal(staleStart.status, 409); assert.equal((await staleStart.json()).error, "work_item_stage_candidate_stale"); assert.equal(provider.requests.length, 3); - await rm(unverifiedChange); + const freshProof = await verify(reconnected, checkId); + const mcp = await connectReleaseMcp(t, fixture.transportOptions()); + const refreshed = await mcp.callTool( + "ling_work_item_stage_recover", { + ...basis, expectedWorkItemRevision: results[0].workItemRevision, + operationId: freshProof.operationId, idempotencyKey: "recover-drifted-stage", + }); + assert.equal(refreshed.replayed, false); + assert.equal(refreshed.receipt.candidateDigest, freshProof.candidateDigest); + assert.equal(refreshed.receipt.failureEventId, results[0].receipt.failureEventId); assert.ok(recovered.retryBudget); const { starts } = recovered.retryBudget; await startAndSettle(stalled.stepId, "succeeded"); @@ -3944,7 +3964,6 @@ test(`the same stage blocker survives reassignment and restart until ${recoveryP await startAndSettle(recovered.stepId, "succeeded"); assert.equal((await read(restored)).stage.progress?.lastVerified?.kind, "stage_completed"); assert.equal(provider.requests.length, 4); -}); } for (const guard of ["event usage", "Host reservation"] as const) { From bcc85f80732124e60492b0339633f2c4a68507e1 Mon Sep 17 00:00:00 2001 From: tianxiaochannel-oss88 Date: Tue, 24 Nov 2026 08:25:05 +0800 Subject: [PATCH 095/147] feat(contracts): describe App Server verification evidence in the schema --- .../ling-app-server-implementation-plan.md | 2 +- packages/contracts/src/app-server-schema.ts | 38 ++++++++++++++++--- .../contracts/test/app-server-schema.test.ts | 38 ++++++++++++++++++- 3 files changed, 70 insertions(+), 8 deletions(-) diff --git a/docs/design/ling-app-server-implementation-plan.md b/docs/design/ling-app-server-implementation-plan.md index d50e2f5bd..d8da0d2c6 100644 --- a/docs/design/ling-app-server-implementation-plan.md +++ b/docs/design/ling-app-server-implementation-plan.md @@ -22,7 +22,7 @@ - `changes/read` 以候选 digest 分页返回受限 diff 和排除原因。`changes/apply/preview` 与 `changes/apply` 复用 Turn 的不可变变更快照、工作区 fence、幂等收据和重启恢复,候选或工作区漂移会拒绝旧预览。 - 候选 hunk 可从一个托管工作树转移到同仓库的另一个托管工作树。Daemon 验收覆盖选中部分修改、创建和删除文件、目标无关 WIP、目标候选漂移,以及写入后回执提交失败再重启的对账。 - 普通 Pi 会话进入新目录时可发现并封存逐级项目规则。验收验证首次写入等待模型收到子目录规则、第二次写入生效,以及重启后从 Thread 游标读取原规则凭据。 -- Host 登记的 Verify 配方可以选择受影响路径,并把独立 verifier source 的摘要、coverage 和 producer refs 封存到每个检查结果。 +- Host 登记的 Verify 配方可以选择受影响路径,并把独立 verifier source 的摘要、coverage 和 producer refs 封存到每个检查结果。 App Server 的 Verify Schema 描述计划中的检查、操作状态、尝试和执行证据,客户端可验证取消回执和独立检查来源。 - 复核工作台的「验证」页使用和 App Server 相同的 Verify operation。浏览器验收在隔离仓库中从 Web 触发已登记的 Chromium 检查,读取实际断言输出,刷新后恢复原结果并显示候选漂移。 - Goal 的 `verification_passed` 条件要求同一 Thread 的已完成 Verify operation、当前候选摘要、匹配的 verifier basis、coverage 和 producer refs。候选漂移、检查来源漂移、缺少独立证据和过期的接受版本都会阻止完成。 - 工作项 Review 在捕获候选后核对 Work Item、接受的 Plan 修订和控制代次,并在 assessment 事务中封存该归属。真实 Daemon 回归覆盖工作项不匹配、旧 Plan、暂停期间拒绝新 Review,以及重启后重读原审查和发现项处置回执。 diff --git a/packages/contracts/src/app-server-schema.ts b/packages/contracts/src/app-server-schema.ts index 604ca4d1e..1111f1a82 100644 --- a/packages/contracts/src/app-server-schema.ts +++ b/packages/contracts/src/app-server-schema.ts @@ -86,8 +86,30 @@ const serverRecoveryResult = objectWith({ cwd: stringSchema, revision: integerSc ["cwd", "revision", "status", "pendingCount", "entries"]); const candidate = objectWith({ workspaceId: stringSchema, candidateDigest: stringSchema, worktreeId: stringSchema, baseCommit: stringSchema, headCommit: stringSchema, filePaths: stringArraySchema }, ["workspaceId", "candidateDigest"]); -const planResult = objectWith({ planId: stringSchema, planRevision: stringSchema, candidate, checks: arraySchema }, - ["planId", "planRevision", "candidate", "checks"]); +const verifierBasis = { verifierBasisRef: stringSchema, coverageDigest: stringSchema, producerRefs: stringArraySchema }; +const verifyCheckPlan = objectWith({ + checkId: stringSchema, kind: { enum: ["command", "test", "typecheck", "browser", "platform"] }, label: stringSchema, + required: booleanSchema, command: stringSchema, recipeDigest: stringSchema, estimatedDurationMs: integerSchema, ...verifierBasis, +}, ["checkId", "kind", "label", "required", "recipeDigest"]); +const verifyPlanResult = objectWith({ planId: stringSchema, planRevision: stringSchema, candidate, + ...threadTarget, ...workItemTarget, acceptedPlanRevision: stringSchema, checks: { type: "array", items: verifyCheckPlan }, + rationale: stringArraySchema, requiredApproval: stringSchema, environmentRequirements: stringArraySchema, +}, ["planId", "planRevision", "candidate", "checks", "rationale", "environmentRequirements"]); +const verifyExecutionFields = { + startedAt: stringSchema, endedAt: stringSchema, exitCode: { oneOf: [integerSchema, { type: "null" }] }, + timedOut: booleanSchema, output: stringSchema, outputTruncated: booleanSchema, +} satisfies Record; +const verifyCheckEvidence = objectWith({ + checkId: stringSchema, candidateDigest: stringSchema, planRevision: stringSchema, recipeDigest: stringSchema, environmentDigest: stringSchema, + ...verifierBasis, attemptId: stringSchema, evidenceRefs: stringArraySchema, + status: { enum: ["pending", "running", "passed", "failed", "not_run", "blocked", "cancelled", "unknown"] }, + execution: objectWith(verifyExecutionFields, Object.keys(verifyExecutionFields)), +}, ["checkId", "candidateDigest", "planRevision", "recipeDigest", "environmentDigest", "producerRefs", "attemptId", "status", "evidenceRefs"]); +const verifyOperationResult = objectWith({ + operationId: stringSchema, planId: stringSchema, revision: stringSchema, ...threadTarget, ...workItemTarget, candidateDigest: stringSchema, + status: { enum: ["queued", "running", "passed", "failed", "blocked", "cancelled", "unknown"] }, + checks: { type: "array", items: verifyCheckEvidence }, startedAt: stringSchema, completedAt: stringSchema, blocker: stringSchema, +}, ["operationId", "planId", "candidateDigest", "status", "checks"]); const operationResult = objectWith({ operationId: stringSchema, candidateDigest: stringSchema, status: stringSchema }, ["operationId", "candidateDigest", "status"]); const nativeIntakeReceiptSchema = objectWith({ @@ -477,14 +499,18 @@ function schemaFor(method: LingAppServerMethod): LingAppServerMethodSchema { offset: integerSchema, limit: integerSchema }, ["artifactId"]), result }; case "verify/plan": return { params: objectWith({ candidate, ...threadTarget, ...workItemTarget, requestedChecks: stringArraySchema, - idempotencyKey: stringSchema, planRevision: stringSchema }, ["candidate"]), result: planResult }; + idempotencyKey: stringSchema, planRevision: stringSchema }, ["candidate"]), result: verifyPlanResult }; case "verify/start": return { params: objectWith({ planId: stringSchema, planRevision: stringSchema, candidateDigest: stringSchema, idempotencyKey: stringSchema }, - ["planId", "planRevision", "candidateDigest", "idempotencyKey"]), result: operationResult }; + ["planId", "planRevision", "candidateDigest", "idempotencyKey"]), result: verifyOperationResult }; case "verify/status": - return { params: objectWith({ operationId: stringSchema }, ["operationId"]), result: objectWith({ operation: operationResult }, ["operation"]) }; + return { params: objectWith({ operationId: stringSchema }, ["operationId"]), + result: objectWith({ operation: verifyOperationResult }, ["operation"]) }; case "verify/cancel": - return { params: objectWith({ operationId: stringSchema, expectedRevision: stringSchema, idempotencyKey: stringSchema }, ["operationId", "idempotencyKey"]), result }; + return { params: objectWith({ operationId: stringSchema, expectedRevision: stringSchema, idempotencyKey: stringSchema }, + ["operationId", "idempotencyKey"]), + result: objectWith({ operationId: stringSchema, status: { enum: ["cancel_requested", "cancelled", "already_terminal", "unknown"] } }, + ["operationId", "status"]) }; case "review/start": return { params: objectWith({ candidate, ...workItemTarget, idempotencyKey: stringSchema, reviewRulesRefs: stringArraySchema, providerPresetId: stringSchema, baseInstructions: stringSchema, planRevision: stringSchema }, ["candidate", "idempotencyKey"]), diff --git a/packages/contracts/test/app-server-schema.test.ts b/packages/contracts/test/app-server-schema.test.ts index b66ff9686..68212936c 100644 --- a/packages/contracts/test/app-server-schema.test.ts +++ b/packages/contracts/test/app-server-schema.test.ts @@ -9,7 +9,10 @@ import { validateLingAppServerServerRequestParams, } from "../dist/app-server-schema.js"; import { LING_APP_SERVER_METHODS, LING_APP_SERVER_NOTIFICATION_METHODS, LING_APP_SERVER_SERVER_REQUEST_METHODS } from "../dist/app-server.js"; -import type { LingAppServerGitHubDeliveryResult, LingAppServerGitHubQueueResult } from "../dist/app-server.js"; +import type { + LingAppServerGitHubDeliveryResult, LingAppServerGitHubQueueResult, + LingAppServerVerifyOperation, LingAppServerVerifyPlanResult, +} from "../dist/app-server.js"; test("App Server exposes a versioned schema for every registered method", () => { const document = getLingAppServerSchema(); @@ -69,6 +72,39 @@ test("App Server recovery requires a pinned revision and validates the evidence }).path, "result.entries[0]"); }); +test("Verify results validate check provenance, execution and cancellation", () => { + const verifier = { verifierBasisRef: "basis", coverageDigest: "coverage", producerRefs: ["trusted-verifier"] }; + const checkPlan = { checkId: "behavior", kind: "test", label: "Behavior", required: true, recipeDigest: "recipe", ...verifier } as const; + const plan = { + planId: "verify-plan", planRevision: "verify-plan-revision", candidate: { workspaceId: "/workspace", candidateDigest: "candidate" }, + checks: [checkPlan], rationale: [], environmentRequirements: [], + } satisfies LingAppServerVerifyPlanResult; + assert.ok(validateLingAppServerResult("verify/plan", plan).ok); + assert.equal(validateLingAppServerResult("verify/plan", { ...plan, checks: [{ ...checkPlan, required: "yes" }] }).path, + "result.checks[0].required"); + + const check = { + checkId: checkPlan.checkId, candidateDigest: plan.candidate.candidateDigest, planRevision: plan.planRevision, + recipeDigest: checkPlan.recipeDigest, environmentDigest: "environment", ...verifier, attemptId: "attempt", + status: "passed", evidenceRefs: ["report"], + } as const; + const operation = { + operationId: "verify-operation", planId: plan.planId, candidateDigest: plan.candidate.candidateDigest, status: "passed", checks: [check], + } satisfies LingAppServerVerifyOperation; + assert.ok(validateLingAppServerResult("verify/start", operation).ok); + assert.equal(validateLingAppServerResult("verify/status", { operation: { ...operation, checks: [{ ...check, producerRefs: "trusted-verifier" }] } }).path, + "result.operation.checks[0].producerRefs"); + const execution = { startedAt: "start", endedAt: "end", exitCode: null, timedOut: true, output: "", outputTruncated: false }; + assert.ok(validateLingAppServerResult("verify/status", { operation: { ...operation, status: "blocked", checks: [ + { ...check, status: "blocked", execution }, + ] } }).ok); + assert.equal(validateLingAppServerResult("verify/start", { ...operation, checks: [ + { ...check, execution: { ...execution, exitCode: "0" } }, + ] }).path, "result.checks[0].execution.exitCode"); + assert.ok(validateLingAppServerResult("verify/cancel", { operationId: operation.operationId, status: "unknown" }).ok); + assert.equal(validateLingAppServerResult("verify/cancel", { operationId: operation.operationId, status: "passed" }).path, "result.status"); +}); + test("GitHub delivery results carry the source of each check and the exact run attempt", () => { const delivery = { cwd: "/workspace", From cc04293fe7852c81e1e29cc8d479b3f05910e554 Mon Sep 17 00:00:00 2001 From: tianxiaochannel-oss88 Date: Tue, 24 Nov 2026 08:31:49 +0800 Subject: [PATCH 096/147] fix(app-server): recheck work item control before collaboration admission --- .../daemon/src/server/app-server-collaboration.ts | 15 ++++++++++++++- .../test/app-server-release-acceptance.test.ts | 14 ++++++++++++++ 2 files changed, 28 insertions(+), 1 deletion(-) diff --git a/packages/daemon/src/server/app-server-collaboration.ts b/packages/daemon/src/server/app-server-collaboration.ts index 2863e1167..e10899303 100644 --- a/packages/daemon/src/server/app-server-collaboration.ts +++ b/packages/daemon/src/server/app-server-collaboration.ts @@ -66,7 +66,20 @@ export function appendAppServerWorkItemCollaboration( ): LingAppServerWorkItemCollaborationAppendResult & { readonly event?: ControlPlaneEvent } { const workItem = store.getWorkItem(params.workItemId); if (!workItem) throw new AppServerCollaborationError("work_item_not_found", `Work Item was not found: ${params.workItemId}`); - const result = appendWorkItemCollaboration(store, fromAppServerCollaborationParams(params), now, params.cwd); + const opensRound = params.action === "started" && (params.kind === "deliberation" || params.kind === "coordination"); + const acceptsHandoff = params.kind === "handoff" && params.action === "accepted"; + const result = appendWorkItemCollaboration(store, { + ...fromAppServerCollaborationParams(params), + ...(opensRound || acceptsHandoff ? { + assertCurrent: () => { + if (store.findWorkItemEvidenceByKey(workItem.id, params.idempotencyKey)) return; + const current = store.getWorkItem(workItem.id); + if (current && (current.control.state !== "active" || current.holds.some(hold => hold.blocksNewAdmission))) { + throw new HttpError(409, "resume_blocked", "The Work Item is held. Resume it before starting a round or accepting a handoff."); + } + }, + } : {}), + }, now, params.cwd); if (!result) throw new AppServerCollaborationError("stale_revision", "The Work Item revision or collaboration revision is stale."); return { status: result.status, diff --git a/packages/daemon/test/app-server-release-acceptance.test.ts b/packages/daemon/test/app-server-release-acceptance.test.ts index 812c71437..fdd99720b 100644 --- a/packages/daemon/test/app-server-release-acceptance.test.ts +++ b/packages/daemon/test/app-server-release-acceptance.test.ts @@ -2489,6 +2489,20 @@ test("an operator resolves a deliberation round once against its current revisio workItemId, actorId: "local-user", expectedWorkItemRevision: Number(before.workItem.revision), expectedControlGeneration: 0, idempotencyKey: "review-pause", }); + const pausedRevision = Number(paused.workItem.revision); + await assert.rejects(start(pausedRevision, "paused-review-start"), { code: "resume_blocked" }); + const coordination = { workItemId, actorId: "coordinator", expectedWorkItemRevision: pausedRevision, + idempotencyKey: "paused-coordination", payload: { title: "Checkpoint" } }; + await assert.rejects(operator.call("workItem/coordination/start", coordination), { code: "resume_blocked" }); + await assert.rejects(operator.call("workItem/collaboration/append", { + ...coordination, kind: "deliberation", action: "started", idempotencyKey: "paused-manual-deliberation", + }), { code: "resume_blocked" }); + await assert.rejects(operator.call("workItem/handoff/accept", { + ...coordination, idempotencyKey: "paused-handoff", + }), { code: "resume_blocked" }); + assert.equal((await start(pausedRevision, "review-start")).record.id, round.record.id); + assert.equal((await operator.call("workItem/read", { workItemId })).workItem.revision, + paused.workItem.revision); await assert.rejects(decide({ ...decision, expectedWorkItemRevision: Number(paused.workItem.revision) }), { code: "resume_blocked" }); const resumed = await operator.call("workItem/resume", { workItemId, actorId: "local-user", expectedWorkItemRevision: Number(paused.workItem.revision), From d0a896ffeb4d830e188df4e5e12cbf4f69c71efe Mon Sep 17 00:00:00 2001 From: tianxiaochannel-oss88 Date: Tue, 24 Nov 2026 08:39:43 +0800 Subject: [PATCH 097/147] test(intake): cover required labels on GitHub automatic dispatch --- .../test/app-server-release-acceptance.test.ts | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/packages/daemon/test/app-server-release-acceptance.test.ts b/packages/daemon/test/app-server-release-acceptance.test.ts index fdd99720b..6ba480a7b 100644 --- a/packages/daemon/test/app-server-release-acceptance.test.ts +++ b/packages/daemon/test/app-server-release-acceptance.test.ts @@ -79,6 +79,7 @@ import { prepareConversationSubmission } from "../dist/features/conversations/co import { LATEST_PROTOCOL_VERSION } from "@modelcontextprotocol/sdk/types.js"; import { createRunnerRegistry, type RunnerRegistrationInput } from "../dist/runtime/runners.js"; import { createCodexAppServerAdapter } from "../dist/runtime/adapters/codex-app-server.js"; +import { resolveAppServerGitHubSources, type AppServerGitHubSourceConfig } from "../dist/server/app-server-github-sources.js"; import { startLoopbackPiProvider } from "./support/loopback-pi-provider-fixture.mjs"; import { startFakeCodexAppServer } from "./test-support/fake-codex-app-server.ts"; @@ -1804,6 +1805,20 @@ test("signed GitHub webhooks and polling converge on one work item across restar assert.equal(fixture.getStore().listWorkItems({ sourceType: "external_work" })[0]?.status, "intake"); }); +test("GitHub auto-start requires a source label while a suggestion can omit it", () => { + const source = { workspaceRoot: process.cwd(), repository: "example/ling", repositoryId: "714" }; + const [suggestion] = resolveAppServerGitHubSources([ + { ...source, intake: { enabled: true, mode: "suggest" } }, + ]); + assert.equal(suggestion?.intake?.mode, "suggest"); + assert.equal(suggestion.intake.requiredLabel, undefined); + const automatic = { + ...source, intake: { enabled: true, mode: "auto_start", providerPresetId: "fixture-provider", + budget: { maxConcurrent: 1, maxStartsPerWindow: 2, windowMs: 60_000 } }, + } as unknown as AppServerGitHubSourceConfig; + assert.throws(() => resolveAppServerGitHubSources([automatic]), /Automatic GitHub intake requires a label/u); +}); + test("automatic GitHub intake resumes a scoped dispatch once and preserves admission limits", { timeout: 35_000 }, async t => { const provider = await startLoopbackPiProvider(() => ({ text: "The task needs a scoped plan." })); t.after(() => provider.close()); From 1a9fbbe72d1806d7f45f26152d654c327d5fca17 Mon Sep 17 00:00:00 2001 From: tianxiaochannel-oss88 Date: Tue, 24 Nov 2026 09:32:39 +0800 Subject: [PATCH 098/147] Record exact Office source inventory scan fingerprints --- .gitleaksignore | 50 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) diff --git a/.gitleaksignore b/.gitleaksignore index cd403a7ac..6210bc4c5 100644 --- a/.gitleaksignore +++ b/.gitleaksignore @@ -698,3 +698,53 @@ c3b2c4c5b3b4eff9f67de3948aca6b1e036d65d1:packages/daemon/test/conversation-summa 3efb4c6fdd945737c400d6a22f8110b5671e6f28:native/office-local/reviewed-packaged-source-v1.json:generic-api-key:1668 3efb4c6fdd945737c400d6a22f8110b5671e6f28:native/office-local/reviewed-packaged-source-v1.json:generic-api-key:1710 3efb4c6fdd945737c400d6a22f8110b5671e6f28:native/office-local/reviewed-packaged-source-v1.json:generic-api-key:1837 + +# Office packaging source digests verified in the authored manifest and its merge copy. +68c1800c5ff9d6d03c9992c050fefa38e75a158d:native/office-local/reviewed-packaged-source-v1.json:generic-api-key:1024 +68c1800c5ff9d6d03c9992c050fefa38e75a158d:native/office-local/reviewed-packaged-source-v1.json:generic-api-key:1135 +68c1800c5ff9d6d03c9992c050fefa38e75a158d:native/office-local/reviewed-packaged-source-v1.json:generic-api-key:1148 +68c1800c5ff9d6d03c9992c050fefa38e75a158d:native/office-local/reviewed-packaged-source-v1.json:generic-api-key:1149 +68c1800c5ff9d6d03c9992c050fefa38e75a158d:native/office-local/reviewed-packaged-source-v1.json:generic-api-key:1157 +68c1800c5ff9d6d03c9992c050fefa38e75a158d:native/office-local/reviewed-packaged-source-v1.json:generic-api-key:1390 +68c1800c5ff9d6d03c9992c050fefa38e75a158d:native/office-local/reviewed-packaged-source-v1.json:generic-api-key:1549 +68c1800c5ff9d6d03c9992c050fefa38e75a158d:native/office-local/reviewed-packaged-source-v1.json:generic-api-key:1599 +68c1800c5ff9d6d03c9992c050fefa38e75a158d:native/office-local/reviewed-packaged-source-v1.json:generic-api-key:1643 +68c1800c5ff9d6d03c9992c050fefa38e75a158d:native/office-local/reviewed-packaged-source-v1.json:generic-api-key:1645 +68c1800c5ff9d6d03c9992c050fefa38e75a158d:native/office-local/reviewed-packaged-source-v1.json:generic-api-key:1651 +68c1800c5ff9d6d03c9992c050fefa38e75a158d:native/office-local/reviewed-packaged-source-v1.json:generic-api-key:1653 +68c1800c5ff9d6d03c9992c050fefa38e75a158d:native/office-local/reviewed-packaged-source-v1.json:generic-api-key:1656 +68c1800c5ff9d6d03c9992c050fefa38e75a158d:native/office-local/reviewed-packaged-source-v1.json:generic-api-key:1668 +68c1800c5ff9d6d03c9992c050fefa38e75a158d:native/office-local/reviewed-packaged-source-v1.json:generic-api-key:1710 +68c1800c5ff9d6d03c9992c050fefa38e75a158d:native/office-local/reviewed-packaged-source-v1.json:generic-api-key:1837 +68c1800c5ff9d6d03c9992c050fefa38e75a158d:native/office-local/reviewed-packaged-source-v1.json:generic-api-key:26 +68c1800c5ff9d6d03c9992c050fefa38e75a158d:native/office-local/reviewed-packaged-source-v1.json:generic-api-key:277 +68c1800c5ff9d6d03c9992c050fefa38e75a158d:native/office-local/reviewed-packaged-source-v1.json:generic-api-key:410 +68c1800c5ff9d6d03c9992c050fefa38e75a158d:native/office-local/reviewed-packaged-source-v1.json:generic-api-key:426 +68c1800c5ff9d6d03c9992c050fefa38e75a158d:native/office-local/reviewed-packaged-source-v1.json:generic-api-key:501 +68c1800c5ff9d6d03c9992c050fefa38e75a158d:native/office-local/reviewed-packaged-source-v1.json:generic-api-key:641 +68c1800c5ff9d6d03c9992c050fefa38e75a158d:native/office-local/reviewed-packaged-source-v1.json:generic-api-key:793 +68c1800c5ff9d6d03c9992c050fefa38e75a158d:native/office-local/reviewed-packaged-source-v1.json:generic-api-key:924 +fe08a3346c45e4d3f19fb51dc450bc46a64e8dd1:native/office-local/reviewed-packaged-source-v1.json:generic-api-key:1024 +fe08a3346c45e4d3f19fb51dc450bc46a64e8dd1:native/office-local/reviewed-packaged-source-v1.json:generic-api-key:1135 +fe08a3346c45e4d3f19fb51dc450bc46a64e8dd1:native/office-local/reviewed-packaged-source-v1.json:generic-api-key:1148 +fe08a3346c45e4d3f19fb51dc450bc46a64e8dd1:native/office-local/reviewed-packaged-source-v1.json:generic-api-key:1149 +fe08a3346c45e4d3f19fb51dc450bc46a64e8dd1:native/office-local/reviewed-packaged-source-v1.json:generic-api-key:1157 +fe08a3346c45e4d3f19fb51dc450bc46a64e8dd1:native/office-local/reviewed-packaged-source-v1.json:generic-api-key:1390 +fe08a3346c45e4d3f19fb51dc450bc46a64e8dd1:native/office-local/reviewed-packaged-source-v1.json:generic-api-key:1549 +fe08a3346c45e4d3f19fb51dc450bc46a64e8dd1:native/office-local/reviewed-packaged-source-v1.json:generic-api-key:1599 +fe08a3346c45e4d3f19fb51dc450bc46a64e8dd1:native/office-local/reviewed-packaged-source-v1.json:generic-api-key:1643 +fe08a3346c45e4d3f19fb51dc450bc46a64e8dd1:native/office-local/reviewed-packaged-source-v1.json:generic-api-key:1645 +fe08a3346c45e4d3f19fb51dc450bc46a64e8dd1:native/office-local/reviewed-packaged-source-v1.json:generic-api-key:1651 +fe08a3346c45e4d3f19fb51dc450bc46a64e8dd1:native/office-local/reviewed-packaged-source-v1.json:generic-api-key:1653 +fe08a3346c45e4d3f19fb51dc450bc46a64e8dd1:native/office-local/reviewed-packaged-source-v1.json:generic-api-key:1656 +fe08a3346c45e4d3f19fb51dc450bc46a64e8dd1:native/office-local/reviewed-packaged-source-v1.json:generic-api-key:1668 +fe08a3346c45e4d3f19fb51dc450bc46a64e8dd1:native/office-local/reviewed-packaged-source-v1.json:generic-api-key:1710 +fe08a3346c45e4d3f19fb51dc450bc46a64e8dd1:native/office-local/reviewed-packaged-source-v1.json:generic-api-key:1837 +fe08a3346c45e4d3f19fb51dc450bc46a64e8dd1:native/office-local/reviewed-packaged-source-v1.json:generic-api-key:26 +fe08a3346c45e4d3f19fb51dc450bc46a64e8dd1:native/office-local/reviewed-packaged-source-v1.json:generic-api-key:277 +fe08a3346c45e4d3f19fb51dc450bc46a64e8dd1:native/office-local/reviewed-packaged-source-v1.json:generic-api-key:410 +fe08a3346c45e4d3f19fb51dc450bc46a64e8dd1:native/office-local/reviewed-packaged-source-v1.json:generic-api-key:426 +fe08a3346c45e4d3f19fb51dc450bc46a64e8dd1:native/office-local/reviewed-packaged-source-v1.json:generic-api-key:501 +fe08a3346c45e4d3f19fb51dc450bc46a64e8dd1:native/office-local/reviewed-packaged-source-v1.json:generic-api-key:641 +fe08a3346c45e4d3f19fb51dc450bc46a64e8dd1:native/office-local/reviewed-packaged-source-v1.json:generic-api-key:793 +fe08a3346c45e4d3f19fb51dc450bc46a64e8dd1:native/office-local/reviewed-packaged-source-v1.json:generic-api-key:924 From dd391d2602ec1417a682b299a6a5b84875ec1b90 Mon Sep 17 00:00:00 2001 From: tianxiaochannel-oss88 Date: Tue, 24 Nov 2026 09:42:18 +0800 Subject: [PATCH 099/147] Evaluate and persist Work Item deliberation checkpoints --- .../ling-app-server-implementation-plan.md | 3 +- packages/api-client/src/app-server.ts | 13 + packages/contracts/src/app-server-schema.ts | 32 ++ packages/contracts/src/app-server.ts | 73 ++++ .../contracts/test/app-server-schema.test.ts | 33 ++ .../sqlite/work-item-evidence-store.ts | 2 +- packages/core/src/work-item-evidence-types.ts | 1 + .../src/server/app-server-collaboration.ts | 12 +- .../src/server/app-server-deliberation.ts | 325 ++++++++++++++++++ packages/daemon/src/server/app-server-mcp.ts | 27 ++ packages/daemon/src/server/rpc.ts | 30 +- .../app-server-release-acceptance.test.ts | 203 +++++++++++ 12 files changed, 749 insertions(+), 5 deletions(-) create mode 100644 packages/daemon/src/server/app-server-deliberation.ts diff --git a/docs/design/ling-app-server-implementation-plan.md b/docs/design/ling-app-server-implementation-plan.md index d8da0d2c6..b7c45bac9 100644 --- a/docs/design/ling-app-server-implementation-plan.md +++ b/docs/design/ling-app-server-implementation-plan.md @@ -68,6 +68,7 @@ | E2 交付前验收 | App Server 与 HTTP 使用同一套 Goal 验收解析和证据检查。实际 Pi Run 通过后,可用同 Thread 证据完成 Goal。Verify 结果用绑定当前候选的 `verification_passed` 条件完成 Goal,独立 verifier basis、coverage 和 producer refs 不匹配时会被拒绝。Review 已验证候选绑定、发现项处置和 freshness 持久化。`simplify/start` 与 `simplify/status` 支持只读简化审查及重启重放。`github_delivered` 要求当前已提交候选、同 Thread 与 Work Item、已接受的检查政策和 Host 重新核对的实际合并结果。 | | O4 GitHub 证据核对 | 配置注册仓库、不可变仓库 ID 与分支政策。按 PR、实时 base、检查 App、冻结的 workflow 文件、实际测试对象和最近 attempt 核对证据。`changes/capture` 的 `scope: "head"` 提供已提交候选摘要,可以在本地有后续编辑时对账已经发生的合并。Goal 交付验收和队列准入仍核对干净的当前候选。队列响应丢失后先查原队列项。真实受保护仓库已验证 GitHub 原生合并队列和 Ling 对账。Schema 声明检查来源、受测提交、运行尝试和队列回执。 | | O1/O8/O9 接单、控制和协作 | 工作项创建、控制、接单、证据和协作写入各自与对应事件同事务提交。真实 Daemon 回归从同一个受控 GitHub Issue 的两个入口归并 Work Item,在接单前订阅,接通 P01、独立 QA 与等待裁决的 P02。覆盖暂停、重启、裁决恢复与原步骤派发一次。按下方矩阵继续验收阶段交接、自动审议、停滞和联合界面。 | +| O7/O9 决策检查点 | `workItem/deliberation/evaluate` 在当前草案或 Workflow 阶段核对检查点、选项、证据和参与人。缺意图、事实或交接材料会给出澄清、Verify 或交接修复;有实质取舍时保存建议,操作方可通过 App Server、SDK 或 MCP 接受、裁决或取消。联调验证 Plan Mode 下形成建议、在途事实争议和方案取舍、并发只开一轮、重启重放、限域读取及旧草案和旧证据的裁决失效。该入口产生供草案或当前阶段参考的决策记录。声明式 Workflow 仍按已接受的条件执行投票和派发。 | | O7 定时协调轮次 | 已配置的 Automation 在同一事务中写入终态回执、轮次和事件。实际调度器从重启前的时段恢复。故障注入验证提交失败不会留下回执或轮次。回执重放复用原轮次。截止后生成简报和关闭事件,暂停的工作项产生跳过回执。已暂停、禁用或归档的 Automation 在「立即运行」和时段受理入口均返回 `automation_not_runnable`,保留既有记录。该用例启动的 Runner 数量为零。 | | O7/O9 阶段交接修复 | 源阶段修订更新后,已接受计划中的交接依赖仍保留原退回。真实 Daemon 回归覆盖省略退回回执、沿用旧候选或旧检查的拒绝,以及用当前结果包和可信检查并发接受。HTTP 与 App Server 返回同一接受回执,重启后复用退回与接受记录,QA 只启动一次。 | | O1 首次会话派发 | `workItem/accept` 可选定主执行会话,接单和首发意图同事务保存。正常会话 Run 创建核对该意图并原子更新 Work Item。脚本化 Pi Provider 验证了重启、两个并发受理、暂停恢复、实际派发一次,以及当前绑定阻止删除会话。Codex MCP 已提供同一创建和受理入口。 | @@ -89,7 +90,7 @@ Windows 源码验收使用独立的 GitHub Actions 作业,启动真实 CLI std | A1、B1、C1、C2 | 全方法的 Schema 校验和更多宿主兼容组合。workspace、Thread、Work Item 的 grant 和 WSS 已接入。专用 TLS 监听器实测分离控制和答复权限,支持用户答复原回执与撤权。审批和答复仍需在其他宿主和实际远程部署验收。目标游标已绑定存储代次、授权代次和目标,本机兼容用例覆盖上一版源码与候选组合。 | | D1、D2、E1、E2 | 开工与 Pi 运行中的项目规则加载、显式 Claude 规则、两个开发 Skill、工作区 Verify、独立 verifier basis、托管工作树管理、候选改动分页、Turn 改动恢复、选中 hunk 转移和工作台浏览器验证报告已接入。各发行平台验证仍待完成。 | | F1、F2 | 普通会话 Handoff 的候选封存、Goal 预算承接与接手已接入。CLI `app-server codex-host --thread --state --view` 在回环地址提供双端会话视图。本机 Codex 0.171.0-alpha.13、实际 Ling Daemon 与受控 Provider 联调验证两端状态、Ling 在途排队、活跃 Codex Turn 指导、浏览器重连补齐、回执重放和审批提醒。故障回归覆盖原状态库升级、未写出的请求在重连后补投一次,以及已发出但缺少有效回执时保留待确认结果。Pi Host 预算路径的逐请求预留已使用受控 Provider 验证,仍需真实 Provider、隔离工作树和其他 Runner 的对应验收。 | -| O1、O3–O9 | GitHub 签名 webhook、轮询和显式接单归并至同一工作项。自动接单策略处理免打扰、并发、启动额度和派发前状态重查。现有 Task、AutomationRun 和同频道用户输入可显式关联工作项。已接受的计划能自动开启声明的阶段审议,并可等待当前 Workflow 结果包的交接回执。受影响阶段可单独暂停,后继阶段可显式引用已收敛或仍在途的独立成果,待执行阶段可接收定向消息和有原 Run 证据的 Agent 答复。工作项暂停期间拒绝新增定向消息。阶段客户端和支持协作工具的 Pi 阶段按 Run/Attempt 收发,Pi 在下一次模型输入接收消息和问答。Workflow 执行使用工作项重试上限,并可依据跨 Run 的结构化故障记录暂停单项阶段。可信 Verify 驱动的停滞恢复已接入并有定向回归。剩余实现包括 Device Fabric 桥接、计划前和在途审议及 Review 证据联动,完整 O9 仍需联合验收。 | +| O1、O3–O9 | GitHub 签名 webhook、轮询和显式接单归并至同一工作项。自动接单策略处理免打扰、并发、启动额度和派发前状态重查。现有 Task、AutomationRun 和同频道用户输入可显式关联工作项。已接受的计划能自动开启声明的阶段审议,并可等待当前 Workflow 结果包的交接回执。受影响阶段可单独暂停,后继阶段可显式引用已收敛或仍在途的独立成果,待执行阶段可接收定向消息和有原 Run 证据的 Agent 答复。工作项暂停期间拒绝新增定向消息。阶段客户端和支持协作工具的 Pi 阶段按 Run/Attempt 收发,Pi 在下一次模型输入接收消息和问答。Workflow 执行使用工作项重试上限,并可依据跨 Run 的结构化故障记录暂停单项阶段。可信 Verify 驱动的停滞恢复已接入并有定向回归。决策检查点支持计划前和在途阶段的建议、接受与手工裁决。剩余实现包括 Device Fabric 桥接、计划前多角色塑形、在途只读审议 Workflow、策略自动准入和裁决回接依赖,以及 Review 证据联动。完整 O9 仍需联合验收。 | | G | 独立恢复日志已验证 SQLite 快照恢复、撤权、旧游标失效和 GitHub 对账后派发。上一版源码通过同一套本地兼容验收。签名安装产物、实际远程 WSS、带独立检查 App 的 Ling 主动入队及三个真实 Provider 自研试点仍需对应环境的证据。macOS 打包预检需要当前打包输入的 Office 审查、对应 Electron/OS 的受限运行时审查和 gstack 平台资源。T01 离线预检可进入评审,真实试点仍需按 Framework Assurance 准入。 | ## 目标与开工顺序 diff --git a/packages/api-client/src/app-server.ts b/packages/api-client/src/app-server.ts index 30af92926..9735a938b 100644 --- a/packages/api-client/src/app-server.ts +++ b/packages/api-client/src/app-server.ts @@ -51,6 +51,9 @@ import type { LingAppServerReconcileGitHubDeliveryParams, LingAppServerCoordinationSchedule, LingAppServerCoordinationScheduleParams, + LingAppServerDeliberationEvaluateParams, + LingAppServerDeliberationEvaluateResult, + LingAppServerDeliberationOpenParams, LingAppServerGrant, LingAppServerGrantCreateParams, LingAppServerHandoffCreateParams, @@ -646,6 +649,16 @@ export class LingAppServerClient { return await this.request("workItem/deliberation/start", params); } + async evaluateWorkItemDeliberation(params: LingAppServerDeliberationEvaluateParams): Promise { + await this.connect(); + return await this.request("workItem/deliberation/evaluate", params); + } + + async openWorkItemDeliberation(params: LingAppServerDeliberationOpenParams): Promise { + await this.connect(); + return await this.request("workItem/deliberation/open", params); + } + async recoverWorkItemStage(params: LingAppServerStageRecoverParams): Promise { await this.connect(); return await this.request("workItem/stage/recover", params); diff --git a/packages/contracts/src/app-server-schema.ts b/packages/contracts/src/app-server-schema.ts index 1111f1a82..ef05353c0 100644 --- a/packages/contracts/src/app-server-schema.ts +++ b/packages/contracts/src/app-server-schema.ts @@ -1,4 +1,8 @@ import { + LING_APP_SERVER_DECISION_MATERIALITIES, + LING_APP_SERVER_DELIBERATION_CHECKPOINTS, + LING_APP_SERVER_DELIBERATION_DECISION_KINDS, + LING_APP_SERVER_DELIBERATION_OUTCOMES, LING_APP_SERVER_METHODS, LING_APP_SERVER_NOTIFICATION_METHODS, LING_APP_SERVER_PROTOCOL_VERSION, @@ -59,6 +63,18 @@ const pingResult = objectWith({ ok: { enum: [true] }, connectionId: stringSchema ["ok", "connectionId", "serverTime"]); const threadTarget = { threadId: stringSchema }; const workItemTarget = { workItemId: stringSchema }; +const deliberationCheckpoint = { enum: LING_APP_SERVER_DELIBERATION_CHECKPOINTS } as const; +const deliberationSubject = { oneOf: [ + objectWith({ kind: { enum: ["draft_plan"] }, planId: stringSchema, planRevision: integerSchema }, ["kind", "planId", "planRevision"]), + objectWith({ kind: { enum: ["workflow_stage"] }, workflowStepId: stringSchema, planRevision: stringSchema }, ["kind", "workflowStepId", "planRevision"]), +] }; +const deliberationEvaluationFields = { + evaluationId: stringSchema, decisionId: stringSchema, decisionRevision: stringSchema, subjectRevision: stringSchema, + policyRevision: stringSchema, checkpoint: deliberationCheckpoint, checkpointRef: stringSchema, + outcome: { enum: LING_APP_SERVER_DELIBERATION_OUTCOMES }, reasonCode: stringSchema, + optionRefs: stringArraySchema, evidenceRefs: stringArraySchema, participantIds: stringArraySchema, + expiresAt: stringSchema, evaluatedAt: stringSchema, +}; const planTarget = { ...threadTarget, planId: stringSchema, expectedRevision: integerSchema }; const planActionResult = objectWith({ cwd: stringSchema, threadId: stringSchema, plan: objectSchema, taskId: stringSchema, workflowId: stringSchema, workflowStepId: stringSchema, runId: stringSchema }, ["cwd", "threadId", "plan"]); @@ -380,6 +396,22 @@ function schemaFor(method: LingAppServerMethod): LingAppServerMethodSchema { return { params: objectWith({ ...collaborationAppend, kind: stringSchema, action: stringSchema }, ["workItemId", "kind", "action"]), result }; case "workItem/deliberation/start": return { params: objectWith({ ...collaborationAppend, workflowStepId: stringSchema }, ["workItemId"]), result }; + case "workItem/deliberation/evaluate": + return { + params: objectWith({ ...workItemTarget, expectedWorkItemRevision: integerSchema, idempotencyKey: stringSchema, + decisionKey: stringSchema, subject: deliberationSubject, checkpoint: deliberationCheckpoint, checkpointRef: stringSchema, + decisionKind: { enum: LING_APP_SERVER_DELIBERATION_DECISION_KINDS }, materiality: { enum: LING_APP_SERVER_DECISION_MATERIALITIES }, + question: stringSchema, participantIds: stringArraySchema, optionRefs: stringArraySchema, evidenceRefs: stringArraySchema, + unresolved: { enum: ["intent", "fact", "handoff"] }, + }, ["workItemId", "expectedWorkItemRevision", "idempotencyKey", "decisionKey", "subject", "checkpoint", "checkpointRef", + "decisionKind", "materiality", "question", "participantIds", "optionRefs", "evidenceRefs"]), + result: objectWith({ cwd: stringSchema, workItemRevision: integerSchema, replayed: booleanSchema, + evaluation: objectWith(deliberationEvaluationFields, Object.keys(deliberationEvaluationFields)), + }, ["cwd", "workItemRevision", "replayed", "evaluation"]), + }; + case "workItem/deliberation/open": + return { params: objectWith({ ...workItemTarget, evaluationId: stringSchema, expectedWorkItemRevision: integerSchema, + idempotencyKey: stringSchema }, ["workItemId", "evaluationId", "expectedWorkItemRevision", "idempotencyKey"]), result }; case "workItem/deliberation/cancel": return { params: objectWith(deliberationSettlement, deliberationSettlementFields), result }; case "workItem/deliberation/decide": diff --git a/packages/contracts/src/app-server.ts b/packages/contracts/src/app-server.ts index 04895563c..82c96fa34 100644 --- a/packages/contracts/src/app-server.ts +++ b/packages/contracts/src/app-server.ts @@ -175,6 +175,8 @@ export const LING_APP_SERVER_METHODS = [ "workItem/collaboration/read", "workItem/collaboration/append", "workItem/deliberation/start", + "workItem/deliberation/evaluate", + "workItem/deliberation/open", "workItem/deliberation/read", "workItem/deliberation/cancel", "workItem/deliberation/decide", @@ -1168,6 +1170,77 @@ export interface LingAppServerDeliberationTriggerDecisionV1 { readonly triggerKind: LingAppServerDeliberationTriggerKindV1; } +export const LING_APP_SERVER_DELIBERATION_CHECKPOINTS = [ + "plan_review", "verify_review_conflict", "blocked_stage_changed", "handoff_returned", "repeated_failure", "scheduled_checkpoint", +] as const; + +export const LING_APP_SERVER_DELIBERATION_DECISION_KINDS = [ + "plan_or_contract", "implementation_tradeoff", "recovery_tradeoff", "review_disposition", +] as const; + +export const LING_APP_SERVER_DECISION_MATERIALITIES = ["low", "medium", "high"] as const; +export const LING_APP_SERVER_DELIBERATION_OUTCOMES = [ + "clarify", "verify", "handoff_repair", "suggest", "defer", "suppress", +] as const; + +export type LingAppServerDeliberationCheckpoint = typeof LING_APP_SERVER_DELIBERATION_CHECKPOINTS[number]; +export type LingAppServerDeliberationDecisionKind = typeof LING_APP_SERVER_DELIBERATION_DECISION_KINDS[number]; +export type LingAppServerDecisionMateriality = typeof LING_APP_SERVER_DECISION_MATERIALITIES[number]; + +export type LingAppServerDeliberationSubject = + | { readonly kind: "draft_plan"; readonly planId: string; readonly planRevision: number } + | { readonly kind: "workflow_stage"; readonly workflowStepId: string; readonly planRevision: string }; + +export interface LingAppServerDeliberationEvaluateParams { + readonly cwd?: string; + readonly workItemId: string; + readonly expectedWorkItemRevision: number; + readonly idempotencyKey: string; + readonly decisionKey: string; + readonly subject: LingAppServerDeliberationSubject; + readonly checkpoint: LingAppServerDeliberationCheckpoint; + readonly checkpointRef: string; + readonly decisionKind: LingAppServerDeliberationDecisionKind; + readonly materiality: LingAppServerDecisionMateriality; + readonly question: string; + readonly participantIds: readonly string[]; + readonly optionRefs: readonly string[]; + readonly evidenceRefs: readonly string[]; + readonly unresolved?: "intent" | "fact" | "handoff"; +} + +export interface LingAppServerDeliberationEvaluation { + readonly evaluationId: string; + readonly decisionId: string; + readonly decisionRevision: string; + readonly subjectRevision: string; + readonly policyRevision: string; + readonly checkpoint: LingAppServerDeliberationCheckpoint; + readonly checkpointRef: string; + readonly outcome: typeof LING_APP_SERVER_DELIBERATION_OUTCOMES[number]; + readonly reasonCode: string; + readonly optionRefs: readonly string[]; + readonly evidenceRefs: readonly string[]; + readonly participantIds: readonly string[]; + readonly expiresAt: string; + readonly evaluatedAt: string; +} + +export interface LingAppServerDeliberationEvaluateResult { + readonly cwd: string; + readonly workItemRevision: number; + readonly replayed: boolean; + readonly evaluation: LingAppServerDeliberationEvaluation; +} + +export interface LingAppServerDeliberationOpenParams { + readonly cwd?: string; + readonly workItemId: string; + readonly evaluationId: string; + readonly expectedWorkItemRevision: number; + readonly idempotencyKey: string; +} + export interface LingAppServerDeliberationSettlementParams { readonly cwd?: string; readonly workItemId: string; diff --git a/packages/contracts/test/app-server-schema.test.ts b/packages/contracts/test/app-server-schema.test.ts index 68212936c..f65aaef83 100644 --- a/packages/contracts/test/app-server-schema.test.ts +++ b/packages/contracts/test/app-server-schema.test.ts @@ -10,6 +10,7 @@ import { } from "../dist/app-server-schema.js"; import { LING_APP_SERVER_METHODS, LING_APP_SERVER_NOTIFICATION_METHODS, LING_APP_SERVER_SERVER_REQUEST_METHODS } from "../dist/app-server.js"; import type { + LingAppServerDeliberationEvaluateParams, LingAppServerDeliberationEvaluateResult, LingAppServerGitHubDeliveryResult, LingAppServerGitHubQueueResult, LingAppServerVerifyOperation, LingAppServerVerifyPlanResult, } from "../dist/app-server.js"; @@ -105,6 +106,38 @@ test("Verify results validate check provenance, execution and cancellation", () assert.equal(validateLingAppServerResult("verify/cancel", { operationId: operation.operationId, status: "passed" }).path, "result.status"); }); +test("deliberation schemas describe the checkpoint and the frozen evaluation basis", () => { + const input = { + workItemId: "item", expectedWorkItemRevision: 2, idempotencyKey: "evaluate", decisionKey: "compatibility", + subject: { kind: "draft_plan", planId: "plan", planRevision: 1 }, + checkpoint: "plan_review", checkpointRef: "plan", decisionKind: "plan_or_contract", materiality: "medium", + question: "How should the plan preserve compatibility?", participantIds: ["engineer", "qa"], + optionRefs: ["adapter", "migration"], evidenceRefs: ["callers"], + } satisfies LingAppServerDeliberationEvaluateParams; + assert.ok(validateLingAppServerParams("workItem/deliberation/evaluate", input).ok); + assert.ok(validateLingAppServerParams("workItem/deliberation/evaluate", { + ...input, subject: { kind: "workflow_stage", workflowStepId: "step", planRevision: "plan:1" }, + }).ok); + assert.equal(validateLingAppServerParams("workItem/deliberation/evaluate", { + ...input, subject: { ...input.subject, planRevision: "plan:1" }, + }).ok, false); + assert.equal(validateLingAppServerParams("workItem/deliberation/evaluate", { ...input, checkpoint: "timer" }).path, "params.checkpoint"); + const { checkpoint, checkpointRef, optionRefs, evidenceRefs, participantIds } = input; + const result = { cwd: "/workspace", workItemRevision: 3, replayed: false, evaluation: { + evaluationId: "evaluation", decisionId: "decision", decisionRevision: "decision-sha", subjectRevision: "plan:1", + policyRevision: "suggestion-policy", checkpoint, checkpointRef, optionRefs, evidenceRefs, participantIds, + outcome: "suggest", reasonCode: "material_choice_with_evidence", + evaluatedAt: "2026-11-24T01:00:00.000Z", expiresAt: "2026-11-24T01:15:00.000Z", + } } satisfies LingAppServerDeliberationEvaluateResult; + assert.ok(validateLingAppServerResult("workItem/deliberation/evaluate", result).ok); + assert.equal(validateLingAppServerResult("workItem/deliberation/evaluate", { + ...result, evaluation: { ...result.evaluation, outcome: "run" }, + }).path, "result.evaluation.outcome"); + assert.equal(validateLingAppServerParams("workItem/deliberation/open", { + workItemId: "item", expectedWorkItemRevision: 3, idempotencyKey: "open", + }).path, "params.evaluationId"); +}); + test("GitHub delivery results carry the source of each check and the exact run attempt", () => { const delivery = { cwd: "/workspace", diff --git a/packages/core/src/storage/sqlite/work-item-evidence-store.ts b/packages/core/src/storage/sqlite/work-item-evidence-store.ts index d7d6d627c..7cbae797b 100644 --- a/packages/core/src/storage/sqlite/work-item-evidence-store.ts +++ b/packages/core/src/storage/sqlite/work-item-evidence-store.ts @@ -146,7 +146,7 @@ export class SqliteWorkItemEvidenceStore { SELECT * FROM work_item_evidence WHERE workspace_id = ? AND work_item_id = ? AND sequence > ? ${prefix ? "AND substr(id, 1, length(?)) = ?" : ""} - ORDER BY sequence ASC + ORDER BY sequence ${options.newestFirst ? "DESC" : "ASC"} LIMIT ? `).all(DEFAULT_WORKSPACE_ID, options.workItemId, afterSequence, ...(prefix ? [prefix, prefix] : []), limit) .map((row) => mapWorkItemEvidence(row as Record)); diff --git a/packages/core/src/work-item-evidence-types.ts b/packages/core/src/work-item-evidence-types.ts index 233e29d72..b7c0e7751 100644 --- a/packages/core/src/work-item-evidence-types.ts +++ b/packages/core/src/work-item-evidence-types.ts @@ -72,6 +72,7 @@ export interface ListWorkItemEvidenceOptions { readonly recordIdPrefix?: string; readonly afterSequence?: number; readonly limit?: number; + readonly newestFirst?: boolean; } export function createWorkItemEvidenceId(): string { diff --git a/packages/daemon/src/server/app-server-collaboration.ts b/packages/daemon/src/server/app-server-collaboration.ts index e10899303..d9e488eac 100644 --- a/packages/daemon/src/server/app-server-collaboration.ts +++ b/packages/daemon/src/server/app-server-collaboration.ts @@ -28,6 +28,7 @@ import type { ControlPlaneEvent, RunStore } from "@ling-stack/core"; import { HttpError } from "../errors.js"; import { isRecord } from "../shared/validation.js"; import { readAppServerStageBallot } from "../features/work-items/stage-ballot.js"; +import { assertCheckpointRoundCurrent, isCheckpointDeliberationRecord } from "./app-server-deliberation.js"; export class AppServerCollaborationError extends Error { constructor( @@ -185,6 +186,7 @@ export function settleAppServerDeliberation( } const workflowDecision = readWorkflowDecisionSubject(round); + const privateRound = isCheckpointDeliberationRecord(round); const id = workflowDecision ? workItemWorkflowDecisionId(workflowDecision, "resolution") : `work_item_deliberation_${createHash("sha256").update(round.id).digest("hex")}`; const prior = store.getWorkItemEvidence(id); @@ -194,7 +196,7 @@ export function settleAppServerDeliberation( if (!prior && (item.revision !== input.expectedWorkItemRevision || !workflowDecision && hasPriorResolution(store, round))) { throw new AppServerCollaborationError("stale_revision", "The Work Item revision changed or the deliberation round already has a resolution."); } - if (!prior && decision && (item.control.state !== "active" || item.holds.some(hold => hold.blocksNewAdmission + if (!prior && decision && !privateRound && (item.control.state !== "active" || item.holds.some(hold => hold.blocksNewAdmission && (!hold.workflowStepIds || !workflowDecision || hold.workflowStepIds.includes(workflowDecision.workflowStepId))))) { throw new HttpError(409, "resume_blocked", "The Work Item is held. A held round can be cancelled."); } @@ -243,6 +245,14 @@ export function settleAppServerDeliberation( schemaVersion: 1, kind: "deliberation", action, payload, parentRecordId: round.id, })}`, sourceRefs, + ...(privateRound ? { + visibility: "owner" as const, + ...(decision ? { assertCurrent: () => { + const current = store.getWorkItem(item.id); + if (!current) throw new AppServerCollaborationError("work_item_not_found", "The Work Item is unavailable."); + assertCheckpointRoundCurrent(store, current, round, now); + } } : {}), + } : {}), }, now, { cwd, project: (entry, workItemRevision) => ({ diff --git a/packages/daemon/src/server/app-server-deliberation.ts b/packages/daemon/src/server/app-server-deliberation.ts new file mode 100644 index 000000000..cace9a055 --- /dev/null +++ b/packages/daemon/src/server/app-server-deliberation.ts @@ -0,0 +1,325 @@ +import { createHash } from "node:crypto"; +import { isDeepStrictEqual } from "node:util"; +import { + LING_APP_SERVER_DECISION_MATERIALITIES, + LING_APP_SERVER_DELIBERATION_CHECKPOINTS, + LING_APP_SERVER_DELIBERATION_DECISION_KINDS, + type LingAppServerDeliberationEvaluateParams, + type LingAppServerDeliberationEvaluateResult, + type LingAppServerDeliberationEvaluation, + type LingAppServerDeliberationOpenParams, + type LingAppServerDeliberationSubject, +} from "@ling-stack/contracts"; +import { + appendWorkItemCollaboration, + readWorkItemCollaborationRecord, + readWorkflowStageHandoff, + type ChannelWorkflowStep, + type ControlPlaneEvent, + type RunStore, + type WorkItem, + type WorkItemCollaborationRecord, + type WorkItemConversationBinding, +} from "@ling-stack/core"; +import { z } from "zod"; +import { HttpError } from "../errors.js"; +import { listEffectiveChannelAiTeammates } from "../features/channels/channel-teammate-availability.js"; +import { readWorkItemWorkflowBinding } from "../features/work-items/workflow-stages.js"; + +const evaluationPrefix = "work_item_deliberation_evaluation_"; +const roundPrefix = "work_item_deliberation_round_"; +const policyRevision = "checkpoint-suggestions:1"; +const validityMs = 15 * 60_000; +const terminalWorkItemStatuses = new Set(["done", "cancelled", "archived", "superseded"]); +const boundedId = z.string().trim().min(1).max(200).regex(/^[^\r\n\0]+$/u); +const refs = z.array(boundedId).max(12); +const mutationFields = { + workItemId: boundedId, + expectedWorkItemRevision: z.number().int().positive(), + idempotencyKey: boundedId, +}; + +export const deliberationEvaluateInput = z.object({ + ...mutationFields, + decisionKey: boundedId, + subject: z.discriminatedUnion("kind", [ + z.object({ kind: z.literal("draft_plan"), planId: boundedId, planRevision: z.number().int().positive() }), + z.object({ kind: z.literal("workflow_stage"), workflowStepId: boundedId, planRevision: boundedId }), + ]), + checkpoint: z.enum(LING_APP_SERVER_DELIBERATION_CHECKPOINTS), + checkpointRef: boundedId, + decisionKind: z.enum(LING_APP_SERVER_DELIBERATION_DECISION_KINDS), + materiality: z.enum(LING_APP_SERVER_DECISION_MATERIALITIES), + question: z.string().trim().min(1).max(1200), + participantIds: refs, + optionRefs: refs, + evidenceRefs: refs, + unresolved: z.enum(["intent", "fact", "handoff"]).optional(), +}); + +export const deliberationOpenInput = z.object({ ...mutationFields, evaluationId: boundedId }); + +interface FrozenEvaluation { + readonly evaluation: LingAppServerDeliberationEvaluation; + readonly decision: Omit; + readonly basisDigest: string; +} + +interface SubjectBasis { + readonly channelId?: string; + readonly decisionAnchor: string; + readonly subjectRevision: string; + readonly scopeRevision: string; + readonly step?: ChannelWorkflowStep; +} + +export function evaluateAppServerDeliberation( + store: RunStore, input: LingAppServerDeliberationEvaluateParams, now: string, cwd: string, +): LingAppServerDeliberationEvaluateResult & { readonly event?: ControlPlaneEvent } { + const { workItemId, expectedWorkItemRevision, idempotencyKey, cwd: _cwd, ...requested } = input; + const item = requireWorkItem(store, workItemId); + const decision = { + ...requested, participantIds: sortedUnique(input.participantIds), + optionRefs: sortedUnique(input.optionRefs), evidenceRefs: sortedUnique(input.evidenceRefs), + }; + const prior = readMutationReceipt(store, workItemId, idempotencyKey); + if (prior) { + const frozen = readEvaluation(prior); + if (!frozen || !isDeepStrictEqual(frozen.decision, decision)) throw keyConflict(); + return { cwd, evaluation: frozen.evaluation, workItemRevision: item.revision, replayed: true }; + } + const basis = readDecisionBasis(store, item, decision); + const decisionId = digest([item.id, decision.decisionKey, decision.subject.kind, basis.subject.decisionAnchor]); + const decisionRevision = digest([basis.digest, decision.decisionKind, decision.materiality, decision.question, decision.unresolved]); + const evaluationId = `${evaluationPrefix}${decisionId}_${digest([decisionRevision, decision.checkpoint, decision.checkpointRef])}`; + const existing = readEvaluation(readWorkItemCollaborationRecord(store, workItemId, evaluationId)); + if (existing) return { cwd, evaluation: existing.evaluation, workItemRevision: item.revision, replayed: true }; + if (item.revision !== expectedWorkItemRevision) throw stale("The Work Item revision changed before evaluation."); + const evaluation: LingAppServerDeliberationEvaluation = { + evaluationId, decisionId, decisionRevision, subjectRevision: basis.subject.subjectRevision, policyRevision, + checkpoint: decision.checkpoint, checkpointRef: decision.checkpointRef, + optionRefs: decision.optionRefs, evidenceRefs: decision.evidenceRefs, participantIds: decision.participantIds, + evaluatedAt: now, expiresAt: new Date(Date.parse(now) + validityMs).toISOString(), + ...evaluateCheckpoint(item, basis, decision), + }; + const predecessor = latestEvaluation(store, item.id, decisionId); + const result = appendWorkItemCollaboration(store, { + id: evaluationId, workItemId, expectedWorkItemRevision, idempotencyKey, + kind: "deliberation", action: "created", actorId: "local-user", visibility: "owner", + payload: { evaluation, decision, basisDigest: basis.digest } satisfies FrozenEvaluation, + ...(predecessor ? { parentRecordId: predecessor.id } : {}), + sourceRefs: basis.sourceRefs, + assertCurrent: () => { + if (readDecisionBasis(store, requireWorkItem(store, workItemId), decision).digest !== basis.digest) { + throw stale("The decision basis changed before the evaluation committed."); + } + }, + }, now, cwd); + if (!result) throw stale("The Work Item revision changed before the evaluation committed."); + return { cwd, evaluation, workItemRevision: result.workItemRevision, replayed: false, event: result.event }; +} + +export function openAppServerEvaluatedDeliberation(store: RunStore, input: LingAppServerDeliberationOpenParams, now: string, cwd: string) { + const { workItemId, evaluationId, expectedWorkItemRevision, idempotencyKey } = input; + const item = requireWorkItem(store, workItemId); + const frozen = readEvaluation(readWorkItemCollaborationRecord(store, workItemId, evaluationId)); + if (!frozen) throw stale("The deliberation evaluation is unavailable."); + const { evaluation, decision } = frozen; + const roundId = roundPrefix + digest([workItemId, evaluation.decisionId, evaluation.decisionRevision]); + const prior = readMutationReceipt(store, workItemId, idempotencyKey); + if (prior) { + if (prior.id !== roundId || prior.parentRecordId !== evaluationId) throw keyConflict(); + return { status: "replayed" as const, record: { ...prior, workItemRevision: item.revision }, workItemRevision: item.revision }; + } + const existing = readWorkItemCollaborationRecord(store, workItemId, roundId); + if (existing) { + if (existing.parentRecordId !== evaluationId) throw stale("This decision revision already has a deliberation round."); + return { status: "replayed" as const, record: { ...existing, workItemRevision: item.revision }, workItemRevision: item.revision }; + } + if (evaluation.outcome !== "suggest") throw new HttpError(409, "resume_blocked", "Only a current deliberation suggestion can open a round."); + + const assertCurrent = () => { + assertEvaluationCurrent(store, requireWorkItem(store, workItemId), frozen, now, evaluation.expiresAt); + }; + const deadlineAt = new Date(Date.parse(now) + validityMs).toISOString(); + const result = appendWorkItemCollaboration(store, { + id: roundId, workItemId, expectedWorkItemRevision, idempotencyKey, + kind: "deliberation", action: "started", actorId: "local-user", visibility: "owner", parentRecordId: evaluationId, + payload: { decisionPoint: decision.question, options: evaluation.optionRefs, subject: decision.subject, + decisionId: evaluation.decisionId, decisionRevision: evaluation.decisionRevision, deadlineAt }, + sourceRefs: [{ type: "deliberation_evaluation", id: evaluationId, revision: evaluation.decisionRevision }], + assertCurrent, + }, now, cwd); + if (!result) throw stale("The Work Item revision changed before the round opened."); + return result; +} + +export function isCheckpointDeliberationRecord(record: WorkItemCollaborationRecord): boolean { + return record.id.startsWith(evaluationPrefix) || record.id.startsWith(roundPrefix) || record.parentRecordId?.startsWith(roundPrefix) === true; +} + +export function assertCheckpointRoundCurrent(store: RunStore, item: WorkItem, round: WorkItemCollaborationRecord, now: string): void { + if (!round.id.startsWith(roundPrefix)) return; + const frozen = round.parentRecordId && readEvaluation(readWorkItemCollaborationRecord(store, item.id, round.parentRecordId)); + const payload = round.payload as { deadlineAt: string }; + if (!frozen) throw stale("The evaluation for this round is unavailable."); + assertEvaluationCurrent(store, item, frozen, now, payload.deadlineAt); +} + +function assertEvaluationCurrent(store: RunStore, item: WorkItem, frozen: FrozenEvaluation, now: string, deadline: string): void { + const { decision, evaluation } = frozen; + if (!workItemAllowsDeliberation(item, decision.subject)) { + throw new HttpError(409, "resume_blocked", "The Work Item is held. Resume the applicable stage before continuing deliberation."); + } + if (deadline <= now) throw stale("The deliberation deadline expired."); + if (evaluation.policyRevision !== policyRevision + || latestEvaluation(store, item.id, evaluation.decisionId)?.id !== evaluation.evaluationId + || readDecisionBasis(store, item, decision).digest !== frozen.basisDigest) { + throw stale("The decision basis or applicable evaluation changed."); + } +} + +function readDecisionBasis(store: RunStore, item: WorkItem, decision: FrozenEvaluation["decision"]) { + const subject = readSubject(store, item, decision.subject); + const checkpoint = readCheckpoint(store, item, subject, decision); + const channel = subject.channelId && store.getChannel(subject.channelId); + const eligible = channel ? listEffectiveChannelAiTeammates(store, channel) : []; + const participants = decision.participantIds.map(id => { + const participant = eligible.find(entry => entry.id === id); + if (!participant) throw stale("A requested participant is unavailable for this subject."); + return [participant.id, participant.updatedAt]; + }); + const readRef = (id: string, option: boolean) => { + const entry = store.getWorkItemEvidence(id); + if (entry?.workItemId !== item.id || entry.subjectRevision !== subject.subjectRevision + || option && entry.kind !== "proposal") throw stale("A decision input is unavailable for the current subject."); + return { type: option ? "deliberation_option" : "work_item_evidence", id, revision: String(entry.revision) }; + }; + const options = decision.optionRefs.map(id => readRef(id, true)); + const evidence = decision.evidenceRefs.map(id => readRef(id, false)); + return { + subject, options, evidence, + sourceRefs: [checkpoint, ...options, ...evidence], + digest: digest([policyRevision, item.control.generation, subject.scopeRevision, participants, options, evidence]), + }; +} + +function readSubject(store: RunStore, item: WorkItem, subject: LingAppServerDeliberationSubject): SubjectBasis { + if (subject.kind === "draft_plan") { + const plan = store.getProposedPlanArtifact(subject.planId); + const thread = plan && store.getLingThread(plan.threadId); + const binding = plan && store.getAppServerState("work_item_thread", plan.threadId)?.payload as WorkItemConversationBinding | undefined; + const run = item.runId && store.getRun(item.runId); + if (!plan || plan.status !== "draft" || plan.revision !== subject.planRevision + || !thread || thread.status === "archived" + || binding?.workItemId !== item.id && !(run && run.threadId === thread.id && plan.sourceRunId === run.id)) { + throw stale("The draft no longer belongs to the current Work Item planning subject."); + } + const subjectRevision = `${plan.id}:${plan.revision}`; + return { channelId: thread.channelId ?? item.channelId, subjectRevision, scopeRevision: subjectRevision, + decisionAnchor: plan.planGroupId ?? plan.id }; + } + const step = store.getChannelWorkflowStep(subject.workflowStepId); + const binding = step && readWorkItemWorkflowBinding(store, step.workflowId); + const plan = binding && store.getProposedPlanArtifact(binding.planId); + if (!step || step.workflowId !== item.workflowId || item.planRevision !== subject.planRevision + || step.workflowId !== plan?.acceptedWorkflowId || plan.status !== "accepted" || binding?.workItemId !== item.id) { + throw stale("The stage no longer belongs to the current accepted Work Item Plan."); + } + return { + channelId: step.channelId, subjectRevision: subject.planRevision, step, decisionAnchor: step.metadata?.planStageId ?? step.id, + scopeRevision: digest([step.workflowId, subject.planRevision, step.id, step.updatedAt]), + }; +} + +function readCheckpoint(store: RunStore, item: WorkItem, subject: SubjectBasis, decision: FrozenEvaluation["decision"]) { + const { checkpoint, checkpointRef: id } = decision; + const { step } = subject; + if (decision.subject.kind === "draft_plan" && checkpoint === "plan_review" && id === decision.subject.planId) { + return { type: "draft_plan", id, revision: subject.subjectRevision }; + } + if (step && checkpoint === "verify_review_conflict" && decision.evidenceRefs.includes(id)) { + return { type: "work_item_evidence", id, revision: subject.subjectRevision }; + } + if (step && (checkpoint === "blocked_stage_changed" || checkpoint === "repeated_failure")) { + const blocker = store.getWorkItemStageProgress(item, step)?.blocker; + if (blocker?.sourceEventId === id && (checkpoint !== "repeated_failure" || blocker.failedStarts > 1)) { + return { type: "stage_failure", id, revision: step.updatedAt }; + } + } + if (step && checkpoint === "handoff_returned") { + for (const sourceStepId of step.metadata?.requiredPlanHandoffStepIds ?? []) { + const source = store.getChannelWorkflowStep(sourceStepId); + const handoff = source && readWorkflowStageHandoff(store, { + workItemId: item.id, planRevision: subject.subjectRevision, sourceStepId, sourceRevision: source.updatedAt, targetStepId: step.id, + }); + if (handoff?.record.id === id && handoff.record.action === "returned") { + return { type: "stage_handoff", id, revision: String(handoff.record.collaborationRevision) }; + } + } + } + if (step && checkpoint === "scheduled_checkpoint") { + const round = store.readScheduledCoordinationRound(id); + if (round?.workItemId === item.id && round.kind === "checkpoint" && round.closedRecordId + && round.controlGeneration === item.control.generation) { + return { type: "coordination_round", id, revision: round.closedRecordId }; + } + } + throw stale("The checkpoint receipt is unavailable for the current subject."); +} + +function evaluateCheckpoint(item: WorkItem, basis: ReturnType, decision: FrozenEvaluation["decision"]): + Pick { + if (!workItemAllowsDeliberation(item, decision.subject)) return { outcome: "defer", reasonCode: "work_item_held" }; + if (decision.unresolved === "intent") return { outcome: "clarify", reasonCode: "intent_unresolved" }; + if (decision.unresolved === "handoff" || decision.checkpoint === "handoff_returned") return { outcome: "handoff_repair", reasonCode: "handoff_unresolved" }; + if (decision.unresolved === "fact" || !basis.evidence.length) return { outcome: "verify", reasonCode: "fact_unresolved" }; + if (decision.materiality === "low" || basis.options.length < 2) return { outcome: "suppress", reasonCode: "no_material_choice" }; + if (decision.participantIds.length < 2) return { outcome: "defer", reasonCode: "participant_roster_incomplete" }; + return { outcome: "suggest", reasonCode: "material_choice_with_evidence" }; +} + +function workItemAllowsDeliberation(item: WorkItem, subject: LingAppServerDeliberationSubject) { + return item.control.state === "active" && !terminalWorkItemStatuses.has(item.status) && !item.control.unresolvedEffectIds.length + && !item.holds.some(hold => hold.blocksNewAdmission && (!hold.workflowStepIds || subject.kind === "draft_plan" + || hold.workflowStepIds.includes(subject.workflowStepId))); +} + +function latestEvaluation(store: RunStore, workItemId: string, decisionId: string) { + return store.listWorkItemEvidence({ workItemId, recordIdPrefix: `${evaluationPrefix}${decisionId}_`, newestFirst: true, limit: 1 })[0]; +} + +function readEvaluation(record: WorkItemCollaborationRecord | undefined): FrozenEvaluation | undefined { + return record?.id.startsWith(evaluationPrefix) && record.kind === "deliberation" && record.action === "created" + ? record.payload as FrozenEvaluation : undefined; +} + +function readMutationReceipt(store: RunStore, workItemId: string, idempotencyKey: string) { + const entry = store.findWorkItemEvidenceByKey(workItemId, idempotencyKey); + if (!entry) return undefined; + const record = readWorkItemCollaborationRecord(store, workItemId, entry.id); + if (!record || !isCheckpointDeliberationRecord(record)) throw keyConflict(); + return record; +} + +function requireWorkItem(store: RunStore, id: string): WorkItem { + const item = store.getWorkItem(id); + if (!item) throw new HttpError(404, "workspace_binding_invalid", "The Work Item is unavailable."); + return item; +} + +function sortedUnique(values: readonly string[]): string[] { + return [...new Set(values)].sort(); +} + +function digest(value: unknown): string { + return createHash("sha256").update(JSON.stringify(value)).digest("hex"); +} + +function stale(message: string): HttpError { + return new HttpError(409, "stale_revision", message); +} + +function keyConflict(): HttpError { + return new HttpError(409, "idempotency_conflict", "The deliberation request key was used with a different input."); +} diff --git a/packages/daemon/src/server/app-server-mcp.ts b/packages/daemon/src/server/app-server-mcp.ts index bbd5f5cf9..869604476 100644 --- a/packages/daemon/src/server/app-server-mcp.ts +++ b/packages/daemon/src/server/app-server-mcp.ts @@ -6,6 +6,7 @@ import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js"; import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js"; import { z } from "zod"; import { connectToAppServer, type AppServerLocalTransportOptions } from "./app-server-local-transport.js"; +import { deliberationEvaluateInput, deliberationOpenInput } from "./app-server-deliberation.js"; const objectId = z.string().min(1).max(256); const requestKey = z.string().min(1).max(128); @@ -316,6 +317,32 @@ export async function runLingAppServerMcp( failureEventId: objectId, operationId: objectId, expectedWorkItemRevision: z.number().int().positive(), idempotencyKey: requestKey }), annotations: { idempotentHint: true, destructiveHint: false }, }, async params => describe(await client.recoverWorkItemStage(params))); + if (methods.has("workItem/deliberation/evaluate")) server.registerTool("ling_deliberation_evaluate", { + description: "Evaluate a Work Item decision using a current draft or stage checkpoint and its evidence. A suggestion waits for operator acceptance.", + inputSchema: deliberationEvaluateInput, + annotations: { idempotentHint: true, destructiveHint: false }, + }, async params => describe(await client.evaluateWorkItemDeliberation(params))); + if (methods.has("workItem/deliberation/open")) server.registerTool("ling_deliberation_open", { + description: "Accept a current Work Item deliberation suggestion and record the round for that decision revision.", + inputSchema: deliberationOpenInput, + annotations: { idempotentHint: true, destructiveHint: false }, + }, async params => describe(await client.openWorkItemDeliberation(params))); + const roundSettlement = deliberationOpenInput.omit({ evaluationId: true }).extend({ + roundId: objectId, expectedRoundRevision: z.number().int().positive(), reason: z.string().trim().min(1).max(2000), + }); + if (methods.has("workItem/deliberation/decide")) server.registerTool("ling_deliberation_decide", { + description: "Record the operator's decision for the current round. Supply the selected option reference exactly as recorded.", + inputSchema: roundSettlement.extend({ decision: z.discriminatedUnion("disposition", [ + z.object({ disposition: z.literal("selected"), option: z.string().min(1).max(200) }), + z.object({ disposition: z.enum(["deferred", "replan_required"]) }), + ]) }), + annotations: { idempotentHint: true, destructiveHint: false }, + }, async params => describe(await client.decideWorkItemDeliberation(params))); + if (methods.has("workItem/deliberation/cancel")) server.registerTool("ling_deliberation_cancel", { + description: "Close a deliberation without a decision and retain its record.", + inputSchema: roundSettlement, + annotations: { idempotentHint: true, destructiveHint: false }, + }, async params => describe(await client.cancelWorkItemDeliberation(params))); if (methods.has("workItem/intake/accept")) server.registerTool("ling_native_intake_accept", { description: "Accept a suggested Channel Task or Automation occurrence by receipt ID. The original execution owner handles dispatch.", inputSchema: z.strictObject({ receiptId: z.string().regex(/^intake_[a-f0-9]{64}$/u) }), diff --git a/packages/daemon/src/server/rpc.ts b/packages/daemon/src/server/rpc.ts index fbd7e298f..f0c3cd5fe 100644 --- a/packages/daemon/src/server/rpc.ts +++ b/packages/daemon/src/server/rpc.ts @@ -150,6 +150,8 @@ import { settleAppServerDeliberation, startAppServerStageDeliberation, } from "./app-server-collaboration.js"; +import { deliberationEvaluateInput, deliberationOpenInput, evaluateAppServerDeliberation, + isCheckpointDeliberationRecord, openAppServerEvaluatedDeliberation } from "./app-server-deliberation.js"; import { readStageHandoffParams, settleAppServerStageHandoff } from "./app-server-stage-handoff.js"; import { recoverAppServerStage } from "./app-server-stage-recovery.js"; @@ -216,7 +218,7 @@ const operatorMethods = new Set([ "workItem/plan/change/request", "workItem/plan/change/withdraw", "workItem/stage/recover", "workItem/feedback/add", - "workItem/deliberation/decide", "workItem/deliberation/cancel", + "workItem/deliberation/evaluate", "workItem/deliberation/open", "workItem/deliberation/decide", "workItem/deliberation/cancel", "artifact/read", "model/list", "skill/read", "workItem/coordination/schedule/read", "workItem/coordination/schedule/set", "changes/read", "changes/apply/preview", "changes/apply", @@ -228,6 +230,7 @@ const recoveryGuardedMethods = new Set([ "runs.start", "turn/start", "turn/queue", "turn/resume", "handoff/resume", "approval/respond", "input/respond", "plan/accept", "plan/refine", "workItem/create", "workItem/accept", "workItem/workflow/bind", "workItem/resume", "github/intake/poll", "workItem/coordination/start", "workItem/coordination/schedule/set", "workItem/deliberation/start", "workItem/deliberation/decide", "workItem/handoff/accept", + "workItem/deliberation/open", "workItem/plan/change/withdraw", "workItem/stage/recover", "externalAgent/task/start", "verify/start", "review/start", "simplify/start", "changes/apply", "worktree/create", "worktree/cleanup", "workItem/feedback/add", "workItem/intake/accept", "workItem/intake/retry", @@ -939,6 +942,9 @@ class RpcConnection { return this.controlWorkItem("cancel", params); case "workItem/deliberation/start": return this.startWorkItemDeliberation(params); + case "workItem/deliberation/evaluate": + case "workItem/deliberation/open": + return this.checkpointDeliberation(method, params); case "workItem/deliberation/decide": return this.settleWorkItemDeliberation("decided", params); case "workItem/deliberation/cancel": @@ -1411,7 +1417,8 @@ class RpcConnection { }); if (!this.grant || this.grant.stageCoordination) return { cwd, ...result }; const privatePrefixes = [WORKFLOW_STAGE_MESSAGE_ID_PREFIX, WORKFLOW_STAGE_QUESTION_ID_PREFIX, WORKFLOW_STAGE_QUESTION_ANSWER_ID_PREFIX]; - const records = result.records.filter(entry => !privatePrefixes.some(prefix => entry.id.startsWith(prefix))).map(entry => { + const records = result.records.filter(entry => !isCheckpointDeliberationRecord(entry) + && !privatePrefixes.some(prefix => entry.id.startsWith(prefix))).map(entry => { if (this.grant?.subject.kind !== "workItem") return entry; if (entry.kind !== "handoff" || !entry.id.startsWith(WORKFLOW_STAGE_HANDOFF_ID_PREFIX)) return entry; const payload = isRecord(entry.payload) && typeof entry.payload.reason === "string" @@ -1474,6 +1481,24 @@ class RpcConnection { } } + private checkpointDeliberation(method: "workItem/deliberation/evaluate" | "workItem/deliberation/open", params: unknown): unknown { + const { cwd, ...record } = this.workspaceParams(params, true); + const store = this.context.storeRegistry.getStore(cwd); + const now = new Date().toISOString(); + if (method === "workItem/deliberation/evaluate") { + const parsed = deliberationEvaluateInput.safeParse(record); + if (!parsed.success) throw rpcError(-32602, "invalid_params", "Supply a current subject, checkpoint and bounded decision inputs."); + const { event, ...result } = evaluateAppServerDeliberation(store, parsed.data, now, cwd); + if (event) this.context.controlPlaneEvents.publish(trimOversizedEvent(event)); + return result; + } + const parsed = deliberationOpenInput.safeParse(record); + if (!parsed.success) throw rpcError(-32602, "invalid_params", "Supply an evaluation, Work Item revision and bounded request key."); + const { event, ...result } = openAppServerEvaluatedDeliberation(store, parsed.data, now, cwd); + if (event) this.context.controlPlaneEvents.publish(trimOversizedEvent(event)); + return { cwd, ...result }; + } + private addWorkItemFeedback(params: unknown): unknown { const { cwd, ...record } = this.workspaceParams(params, true); if (record.sourceRunId === undefined) return this.appendCollaboration("message", "updated", params); @@ -3715,6 +3740,7 @@ function appServerEventMethod(event: ControlPlaneEvent): string | undefined { if (event.action === "work_item.intake.dispatch.updated") return "workItem/intake/updated"; if (event.action.startsWith("work_item.plan_change.")) return "workItem/plan/change/updated"; if (event.action.startsWith("work_item.deliberation.")) return "workItem/deliberation/updated"; + if (event.action.startsWith("work_item.collaboration.deliberation.")) return "workItem/deliberation/updated"; if (event.action === "work_item.created") return "workItem/created"; if (event.action === "work_item.thread.linked") return "workItem/thread/linked"; if (event.action.includes("evidence")) return "workItem/evidence/updated"; diff --git a/packages/daemon/test/app-server-release-acceptance.test.ts b/packages/daemon/test/app-server-release-acceptance.test.ts index 6ba480a7b..72eb57730 100644 --- a/packages/daemon/test/app-server-release-acceptance.test.ts +++ b/packages/daemon/test/app-server-release-acceptance.test.ts @@ -34,6 +34,8 @@ import type { LingAppServerRecoveryResult, LingAppServerCoordinationSchedule, LingAppServerDeliberationDecideParams, + LingAppServerDeliberationEvaluateParams, + LingAppServerDeliberationEvaluateResult, LingAppServerWorkItemCollaborationAppendResult, LingAppServerWorkItemCollaborationReadResult, LingAppServerGrant, @@ -2565,6 +2567,134 @@ test("an operator resolves a deliberation round once against its current revisio assert.equal(fixture.getStore().listRuns().length, 0); }); +test("a draft deliberation uses current evidence in Plan Mode and recovers the original suggestion and round", { timeout: 30_000 }, async t => { + const provider = await startLoopbackPiProvider(() => ({ text: "Plan context prepared." })); + t.after(() => provider.close()); + const fixture = await releaseFixture(t); + const [client, peer] = await Promise.all([fixture.connect(), fixture.connect()]); + const store = fixture.getStore(); + const now = new Date().toISOString(); + const preset = addLoopbackPreset(store, provider.baseUrl); + const channel = store.createChannel({ name: "Contract review", boundPath: fixture.cwd }, now); + const participants = ["teammate_builtin_engineer", "teammate_builtin_qa"]; + for (const id of participants) store.replaceTeammateChannelMemberships(id, [{ channelId: channel.id }], now); + const thread = store.createLingThread({ kind: "conversation", title: "Compatibility planning", objective: "Propose a contract." }, now); + const item = store.upsertWorkItem({ sourceType: "manual", sourceId: "plan-checkpoint", channelId: channel.id, + title: "Review two compatibility plans", initialStatus: "ready" }, now); + await client.call("workItem/accept", { + workItemId: item.id, expectedWorkItemRevision: item.revision, idempotencyKey: "plan-owner", + dispatch: { threadId: thread.id, message: "Summarize the interface contract.", providerPresetId: preset.id }, + }); + await waitFor(() => store.listRuns({ threadId: thread.id }).some(run => run.status === "succeeded") ? true : undefined); + await client.call("thread/mode/set", { threadId: thread.id, mode: "plan" }); + const plan = store.upsertProposedPlanArtifact({ id: "plan_compatibility_checkpoint", threadId: thread.id, + title: "Interface compatibility", bodyMarkdown: "Preserve the existing response shape." }, now); + const { cursor } = await peer.call("workItem/subscribe", { workItemId: item.id }); + const subjectRevision = `${plan.id}:${plan.revision}`; + const { optionRefs, evidenceRef } = await recordDeliberationEvidence(client.call, item.id, subjectRevision); + const evaluate = (input: LingAppServerDeliberationEvaluateParams) => + client.call("workItem/deliberation/evaluate", input); + const request: LingAppServerDeliberationEvaluateParams = { + workItemId: item.id, expectedWorkItemRevision: store.getWorkItem(item.id)!.revision, + idempotencyKey: "needs-preference", decisionKey: "response-shape", + subject: { kind: "draft_plan", planId: plan.id, planRevision: plan.revision }, + checkpoint: "plan_review", checkpointRef: plan.id, decisionKind: "plan_or_contract", materiality: "high", + question: "Which shape should the compatibility plan keep?", participantIds: participants, optionRefs, + evidenceRefs: [evidenceRef], unresolved: "intent", + }; + await assert.rejects(evaluate({ ...request, checkpointRef: "foreign-checkpoint" }), { code: "stale_revision" }); + await assert.rejects(evaluate({ ...request, optionRefs: ["fabricated-option", optionRefs[0]!] }), { code: "stale_revision" }); + const needsPreference = await evaluate(request); + assert.equal(needsPreference.evaluation.outcome, "clarify"); + await assert.rejects(client.call("workItem/deliberation/open", { + workItemId: item.id, expectedWorkItemRevision: needsPreference.workItemRevision, + idempotencyKey: "try-open-without-preference", evaluationId: needsPreference.evaluation.evaluationId, + }), { code: "resume_blocked" }); + const { unresolved: _intent, ...clarified } = request; + const input = { ...clarified, expectedWorkItemRevision: needsPreference.workItemRevision, idempotencyKey: "plan-assessment" }; + const mcp = await connectReleaseMcp(t, fixture.transportOptions()); + const [first, second] = await Promise.all([ + evaluate(input), mcp.callTool("ling_deliberation_evaluate", input), + ]); + assert.equal(first.evaluation.outcome, "suggest"); + assert.equal(first.evaluation.decisionId, needsPreference.evaluation.decisionId); + assert.notEqual(first.evaluation.decisionRevision, needsPreference.evaluation.decisionRevision); + assert.deepEqual(first.evaluation, second.evaluation); + assert.deepEqual([first.replayed, second.replayed].sort(), [false, true]); + const suggested = await client.call("workItem/deliberation/read", { workItemId: item.id }); + assert.deepEqual(suggested.records.map(record => record.action), ["created", "created"]); + assert.ok(suggested.records.every(record => record.sourceRefs.every(ref => ref.id !== thread.id))); + assert.equal(first.evaluation.subjectRevision, subjectRevision); + assert.equal(store.listRuns({ threadId: thread.id }).length, 1); + + const open = { workItemId: item.id, evaluationId: first.evaluation.evaluationId, expectedWorkItemRevision: first.workItemRevision, idempotencyKey: "open-plan" }; + const { credential, scoped } = await createObserver(client, fixture, item.id); + await assert.rejects(scoped.call("workItem/deliberation/open", open), { code: "capability_denied" }); + const [opened, other] = await Promise.all([ + mcp.callTool("ling_deliberation_open", open), + client.call("workItem/deliberation/open", open), + ]); + assert.equal(opened.record.id, other.record.id); + assert.deepEqual([opened.status, other.status].sort(), ["appended", "replayed"]); + await mcp.close(); + const repeated = await client.call("workItem/deliberation/open", { ...open, + idempotencyKey: "another-open-key" }); + assert.equal(repeated.record.id, opened.record.id); + assert.equal(repeated.workItemRevision, opened.workItemRevision); + const seen = await waitFor(() => peer.notices.find(notice => notice.method === "workItem/deliberation/updated" + && notice.params?.event?.data?.collaborationId === opened.record.id)); + assert.ok(validateLingAppServerNotificationParams("workItem/deliberation/updated", seen.params).ok); + + await fixture.restart(); + const restored = await fixture.connect(); + await restored.call("workItem/subscribe", { workItemId: item.id, cursor }); + await waitFor(() => restored.notices.find(notice => notice.params?.eventId === seen.params?.eventId)); + const replay = await restored.call("workItem/deliberation/evaluate", input); + assert.deepEqual(replay.evaluation, first.evaluation); + assert.equal(replay.replayed, true); + assert.equal((await restored.call("workItem/deliberation/open", open)).record.id, opened.record.id); + const observer = await fixture.connect("/app-server/rpc", fixture.cwd, credential); + const scopedRead = await observer.call("workItem/deliberation/read", { workItemId: item.id }); + assert.deepEqual(scopedRead.records, []); + const scopedEvidence = await observer.call<{ evidence: { id: string }[] }>("workItem/evidence/read", { workItemId: item.id }); + assert.ok(scopedEvidence.evidence.every(record => record.id !== opened.record.id && record.id !== first.evaluation.evaluationId)); + + fixture.getStore().upsertProposedPlanArtifact({ id: plan.id, threadId: thread.id, expectedRevision: plan.revision, + title: plan.title, bodyMarkdown: "Require the new response fields." }, new Date().toISOString()); + const settle = { workItemId: item.id, roundId: opened.record.id, expectedRoundRevision: opened.record.collaborationRevision, + expectedWorkItemRevision: opened.workItemRevision, idempotencyKey: "old-plan-choice", reason: "Keep the captured compatibility requirement." }; + await assert.rejects(restored.call("workItem/deliberation/decide", { + ...settle, decision: { disposition: "selected", option: optionRefs[0] }, + }), { code: "stale_revision" }); + const cancelled = await restored.call("workItem/deliberation/cancel", settle); + assert.equal(cancelled.record.parentRecordId, opened.record.id); + assert.equal(fixture.getStore().listRuns({ threadId: thread.id }).length, 1); + assert.equal(fixture.getStore().getLingThreadConversationMode(thread.id)?.mode, "plan"); +}); + +async function createObserver(client: Awaited>["connect"]>>, + fixture: Awaited>, workItemId: string) { + const secret = randomBytes(32).toString("hex"); + const { grant } = await client.call<{ grant: LingAppServerGrant }>("server/grants/create", { + label: "Observe Work Item", subject: { kind: "workItem", id: workItemId }, scopes: ["observe"], + expiresAt: new Date(Date.now() + 120_000).toISOString(), + credentialSha256: createHash("sha256").update(secret).digest("hex"), idempotencyKey: "checkpoint-observer", + }); + const credential = `las1.${grant.grantId}.${secret}`; + return { credential, scoped: await fixture.connect("/app-server/rpc", fixture.cwd, credential) }; +} + +async function recordDeliberationEvidence(call: (method: string, input: object) => Promise, workItemId: string, subjectRevision: string) { + const append = async (key: string, kind: "proposal" | "observation", content: string) => + (await call<{ entry: { id: string } }>("workItem/evidence/append", { + workItemId, actorId: "local-user", subjectRevision, kind, content, idempotencyKey: `${subjectRevision}:${key}`, + })).entry.id; + const adapter = await append("adapter", "proposal", "Keep the adapter compatible with existing callers."); + const migration = await append("migration", "proposal", "Move callers atomically to the replacement interface."); + const evidenceRef = await append("interface", "observation", "The public interface has existing clients."); + return { optionRefs: [adapter, migration], evidenceRef }; +} + test("a GitHub Work Item recovers its Workflow, gathers independent ballots and releases one decision dependency", { timeout: 40_000 }, async t => { let completeContract: () => void = () => undefined; const contractGate = new Promise(resolve => { completeContract = resolve; }); @@ -3449,6 +3579,79 @@ async function stageQuestionWorkflow(t: TestContext, providerBaseUrl?: string, p return { fixture, store, client, item, workItem, workflowId: accepted.workflowId, waiting, respondent, channel, thread, plan, preset }; } +test("an in-flight stage routes fact disputes to Verify and keeps only the current tradeoff eligible for a decision", { timeout: 30_000 }, async t => { + let finishStage = () => {}; + const stageGate = new Promise(resolve => { finishStage = resolve; }); + const provider = await startLoopbackPiProvider(async () => { + await stageGate; + return { text: "Compatibility stage completed." }; + }); + t.after(() => { finishStage(); return provider.close(); }); + const { fixture, store, client, workItem, item, respondent, channel, workflowId } = await stageQuestionWorkflow(t, provider.baseUrl); + const now = new Date().toISOString(); + const participantIds = ["teammate_builtin_engineer", "teammate_builtin_qa"]; + for (const id of participantIds) store.replaceTeammateChannelMemberships(id, [{ channelId: channel.id }], now); + const { daemonUrl, authToken } = fixture.transportOptions(); + const active = await fetch(`${daemonUrl}/workflow-steps/${respondent.id}/start?cwd=${encodeURIComponent(fixture.cwd)}`, { + method: "POST", headers: { authorization: `Bearer ${authToken}`, "content-type": "application/json" }, + body: JSON.stringify({ mode: "create_and_run_task" }), + }); + if (!active.ok) assert.fail(await active.text()); + void active.text(); + await waitFor(() => provider.requests.length === 1 ? true : undefined); + assert.equal(store.getChannelWorkflowStep(respondent.id)?.status, "running"); + const planRevision = workItem.planRevision!; + const workItemId = item.id; + const currentRevision = () => store.getWorkItem(workItemId)!.revision; + const { optionRefs, evidenceRef } = await recordDeliberationEvidence(client.call, workItemId, planRevision); + const input: LingAppServerDeliberationEvaluateParams = { + workItemId, expectedWorkItemRevision: currentRevision(), idempotencyKey: "review-verify-disagreement", decisionKey: "compatibility", + subject: { kind: "workflow_stage", workflowStepId: respondent.id, planRevision }, + checkpoint: "verify_review_conflict", checkpointRef: evidenceRef, decisionKind: "implementation_tradeoff", + materiality: "medium", question: "How should the current stage preserve compatibility?", + participantIds, optionRefs, evidenceRefs: [evidenceRef], unresolved: "fact", + }; + const evaluate = (params: LingAppServerDeliberationEvaluateParams) => + client.call("workItem/deliberation/evaluate", params); + const { evaluation: requiresCheck } = await evaluate(input); + assert.equal(requiresCheck.outcome, "verify"); + assert.equal(provider.requests.length, 1); + const { entry } = await client.call<{ entry: { id: string } }>("workItem/evidence/append", { + workItemId, actorId: "local-user", subjectRevision: planRevision, kind: "observation", + idempotencyKey: "fact-resolved", content: "Both remedies preserve the caller contract. The implementation cost differs.", + }); + const { unresolved: _fact, ...tradeoff } = input; + const { evaluation: suggested } = await evaluate({ + ...tradeoff, expectedWorkItemRevision: currentRevision(), idempotencyKey: "tradeoff", evidenceRefs: [evidenceRef, entry.id], + }); + assert.equal(suggested.outcome, "suggest"); + const open = (evaluationId: string, idempotencyKey: string) => + client.call("workItem/deliberation/open", { + workItemId, evaluationId, idempotencyKey, expectedWorkItemRevision: currentRevision(), + }); + const first = await open(suggested.evaluationId, "tradeoff-round"); + const { evaluation: successor } = await evaluate({ + ...tradeoff, expectedWorkItemRevision: currentRevision(), idempotencyKey: "tradeoff-with-current-evidence", + evidenceRefs: [entry.id], checkpointRef: entry.id, + }); + assert.equal(successor.decisionId, suggested.decisionId); + assert.notEqual(successor.decisionRevision, suggested.decisionRevision); + const latest = await open(successor.evaluationId, "current-tradeoff-round"); + const decide = (record: typeof first.record, idempotencyKey: string) => + client.call("workItem/deliberation/decide", { + workItemId, roundId: record.id, expectedRoundRevision: record.collaborationRevision, idempotencyKey, + expectedWorkItemRevision: currentRevision(), reason: "Preserve the existing callers while rollout windows differ.", + decision: { disposition: "selected", option: optionRefs[0]! }, + } satisfies LingAppServerDeliberationDecideParams); + await assert.rejects(decide(first.record, "superseded-tradeoff"), { code: "stale_revision" }); + const choice = await decide(latest.record, "resolved-tradeoff"); + assert.equal(choice.record.parentRecordId, latest.record.id); + assert.equal(store.getWorkItem(workItemId)?.workflowId, workflowId); + assert.equal(provider.requests.length, 1); + finishStage(); + await waitFor(() => store.getChannelWorkflowStep(respondent.id)?.status === "succeeded" ? true : undefined); +}); + test("a successor Workflow waits for an independent live Run owned by its predecessor", { timeout: 30_000 }, async t => { let finishOriginal!: () => void; const originalGate = new Promise(resolve => { finishOriginal = resolve; }); From f572066f347e4538d173a41c030500e529cfbbe3 Mon Sep 17 00:00:00 2001 From: tianxiaochannel-oss88 Date: Tue, 24 Nov 2026 09:54:36 +0800 Subject: [PATCH 100/147] Bind code deliberations to actual Verify evidence --- .../ling-app-server-implementation-plan.md | 2 +- packages/contracts/src/app-server-schema.ts | 4 +- packages/contracts/src/app-server.ts | 2 + .../src/server/app-server-collaboration.ts | 7 +- .../src/server/app-server-deliberation.ts | 140 +++++++++++++----- packages/daemon/src/server/rpc.ts | 10 +- .../app-server-release-acceptance.test.ts | 54 ++++++- 7 files changed, 170 insertions(+), 49 deletions(-) diff --git a/docs/design/ling-app-server-implementation-plan.md b/docs/design/ling-app-server-implementation-plan.md index b7c45bac9..d61f70306 100644 --- a/docs/design/ling-app-server-implementation-plan.md +++ b/docs/design/ling-app-server-implementation-plan.md @@ -68,7 +68,7 @@ | E2 交付前验收 | App Server 与 HTTP 使用同一套 Goal 验收解析和证据检查。实际 Pi Run 通过后,可用同 Thread 证据完成 Goal。Verify 结果用绑定当前候选的 `verification_passed` 条件完成 Goal,独立 verifier basis、coverage 和 producer refs 不匹配时会被拒绝。Review 已验证候选绑定、发现项处置和 freshness 持久化。`simplify/start` 与 `simplify/status` 支持只读简化审查及重启重放。`github_delivered` 要求当前已提交候选、同 Thread 与 Work Item、已接受的检查政策和 Host 重新核对的实际合并结果。 | | O4 GitHub 证据核对 | 配置注册仓库、不可变仓库 ID 与分支政策。按 PR、实时 base、检查 App、冻结的 workflow 文件、实际测试对象和最近 attempt 核对证据。`changes/capture` 的 `scope: "head"` 提供已提交候选摘要,可以在本地有后续编辑时对账已经发生的合并。Goal 交付验收和队列准入仍核对干净的当前候选。队列响应丢失后先查原队列项。真实受保护仓库已验证 GitHub 原生合并队列和 Ling 对账。Schema 声明检查来源、受测提交、运行尝试和队列回执。 | | O1/O8/O9 接单、控制和协作 | 工作项创建、控制、接单、证据和协作写入各自与对应事件同事务提交。真实 Daemon 回归从同一个受控 GitHub Issue 的两个入口归并 Work Item,在接单前订阅,接通 P01、独立 QA 与等待裁决的 P02。覆盖暂停、重启、裁决恢复与原步骤派发一次。按下方矩阵继续验收阶段交接、自动审议、停滞和联合界面。 | -| O7/O9 决策检查点 | `workItem/deliberation/evaluate` 在当前草案或 Workflow 阶段核对检查点、选项、证据和参与人。缺意图、事实或交接材料会给出澄清、Verify 或交接修复;有实质取舍时保存建议,操作方可通过 App Server、SDK 或 MCP 接受、裁决或取消。联调验证 Plan Mode 下形成建议、在途事实争议和方案取舍、并发只开一轮、重启重放、限域读取及旧草案和旧证据的裁决失效。该入口产生供草案或当前阶段参考的决策记录。声明式 Workflow 仍按已接受的条件执行投票和派发。 | +| O7/O9 决策检查点 | `workItem/deliberation/evaluate` 在当前草案或 Workflow 阶段核对检查点、选项、证据和参与人。缺意图、事实或交接材料会给出澄清、Verify 或交接修复;有实质取舍时保存建议,操作方可通过 App Server、SDK 或 MCP 接受、裁决或取消。Verify/Review 的事实争议需引用同工作项、同 Plan 和同候选的实际 Verify 执行。开轮和裁决复核当前候选。联调覆盖 Plan Mode 建议、在途争议转 Verify、并发只开一轮、重启重放、限域读取,以及草案、证据或候选变化后的旧裁决失效。该入口产生供草案或当前阶段参考的决策记录。声明式 Workflow 仍按已接受的条件执行投票和派发。 | | O7 定时协调轮次 | 已配置的 Automation 在同一事务中写入终态回执、轮次和事件。实际调度器从重启前的时段恢复。故障注入验证提交失败不会留下回执或轮次。回执重放复用原轮次。截止后生成简报和关闭事件,暂停的工作项产生跳过回执。已暂停、禁用或归档的 Automation 在「立即运行」和时段受理入口均返回 `automation_not_runnable`,保留既有记录。该用例启动的 Runner 数量为零。 | | O7/O9 阶段交接修复 | 源阶段修订更新后,已接受计划中的交接依赖仍保留原退回。真实 Daemon 回归覆盖省略退回回执、沿用旧候选或旧检查的拒绝,以及用当前结果包和可信检查并发接受。HTTP 与 App Server 返回同一接受回执,重启后复用退回与接受记录,QA 只启动一次。 | | O1 首次会话派发 | `workItem/accept` 可选定主执行会话,接单和首发意图同事务保存。正常会话 Run 创建核对该意图并原子更新 Work Item。脚本化 Pi Provider 验证了重启、两个并发受理、暂停恢复、实际派发一次,以及当前绑定阻止删除会话。Codex MCP 已提供同一创建和受理入口。 | diff --git a/packages/contracts/src/app-server-schema.ts b/packages/contracts/src/app-server-schema.ts index ef05353c0..006964240 100644 --- a/packages/contracts/src/app-server-schema.ts +++ b/packages/contracts/src/app-server-schema.ts @@ -402,11 +402,11 @@ function schemaFor(method: LingAppServerMethod): LingAppServerMethodSchema { decisionKey: stringSchema, subject: deliberationSubject, checkpoint: deliberationCheckpoint, checkpointRef: stringSchema, decisionKind: { enum: LING_APP_SERVER_DELIBERATION_DECISION_KINDS }, materiality: { enum: LING_APP_SERVER_DECISION_MATERIALITIES }, question: stringSchema, participantIds: stringArraySchema, optionRefs: stringArraySchema, evidenceRefs: stringArraySchema, - unresolved: { enum: ["intent", "fact", "handoff"] }, + candidateDigest: stringSchema, unresolved: { enum: ["intent", "fact", "handoff"] }, }, ["workItemId", "expectedWorkItemRevision", "idempotencyKey", "decisionKey", "subject", "checkpoint", "checkpointRef", "decisionKind", "materiality", "question", "participantIds", "optionRefs", "evidenceRefs"]), result: objectWith({ cwd: stringSchema, workItemRevision: integerSchema, replayed: booleanSchema, - evaluation: objectWith(deliberationEvaluationFields, Object.keys(deliberationEvaluationFields)), + evaluation: objectWith({ ...deliberationEvaluationFields, candidateDigest: stringSchema }, Object.keys(deliberationEvaluationFields)), }, ["cwd", "workItemRevision", "replayed", "evaluation"]), }; case "workItem/deliberation/open": diff --git a/packages/contracts/src/app-server.ts b/packages/contracts/src/app-server.ts index 82c96fa34..017e9144e 100644 --- a/packages/contracts/src/app-server.ts +++ b/packages/contracts/src/app-server.ts @@ -1206,6 +1206,7 @@ export interface LingAppServerDeliberationEvaluateParams { readonly participantIds: readonly string[]; readonly optionRefs: readonly string[]; readonly evidenceRefs: readonly string[]; + readonly candidateDigest?: string; readonly unresolved?: "intent" | "fact" | "handoff"; } @@ -1222,6 +1223,7 @@ export interface LingAppServerDeliberationEvaluation { readonly optionRefs: readonly string[]; readonly evidenceRefs: readonly string[]; readonly participantIds: readonly string[]; + readonly candidateDigest?: string; readonly expiresAt: string; readonly evaluatedAt: string; } diff --git a/packages/daemon/src/server/app-server-collaboration.ts b/packages/daemon/src/server/app-server-collaboration.ts index d9e488eac..cd151cbbb 100644 --- a/packages/daemon/src/server/app-server-collaboration.ts +++ b/packages/daemon/src/server/app-server-collaboration.ts @@ -28,7 +28,7 @@ import type { ControlPlaneEvent, RunStore } from "@ling-stack/core"; import { HttpError } from "../errors.js"; import { isRecord } from "../shared/validation.js"; import { readAppServerStageBallot } from "../features/work-items/stage-ballot.js"; -import { assertCheckpointRoundCurrent, isCheckpointDeliberationRecord } from "./app-server-deliberation.js"; +import { assertCheckpointRoundCandidate, assertCheckpointRoundCurrent, isCheckpointDeliberationRecord } from "./app-server-deliberation.js"; export class AppServerCollaborationError extends Error { constructor( @@ -167,13 +167,13 @@ export function openReadyWorkItemStageDeliberations(store: RunStore, workflowId: return events; } -export function settleAppServerDeliberation( +export async function settleAppServerDeliberation( store: RunStore, input: LingAppServerDeliberationSettlementParams, decision: LingAppServerDeliberationDecideParams["decision"] | undefined, now: string, cwd: string, -): LingAppServerWorkItemCollaborationAppendResult & { readonly event?: ControlPlaneEvent } { +): Promise { const item = store.getWorkItem(input.workItemId); if (!item) throw new AppServerCollaborationError("work_item_not_found", "The Work Item is unavailable."); const round = readWorkItemCollaborationRecord(store, item.id, input.roundId); @@ -233,6 +233,7 @@ export function settleAppServerDeliberation( } return { status: "replayed", record: { ...saved, workItemRevision: item.revision }, workItemRevision: item.revision }; } + if (privateRound && decision) await assertCheckpointRoundCandidate(store, item, round, now); const resolution = store.appendWorkItemEvidence({ id, workItemId: item.id, diff --git a/packages/daemon/src/server/app-server-deliberation.ts b/packages/daemon/src/server/app-server-deliberation.ts index cace9a055..2e6a9bf28 100644 --- a/packages/daemon/src/server/app-server-deliberation.ts +++ b/packages/daemon/src/server/app-server-deliberation.ts @@ -9,6 +9,9 @@ import { type LingAppServerDeliberationEvaluation, type LingAppServerDeliberationOpenParams, type LingAppServerDeliberationSubject, + type LingAppServerVerifyOperation, + type LingAppServerVerifyPlanResult, + type LingAppServerWorkItemCollaborationAppendResult, } from "@ling-stack/contracts"; import { appendWorkItemCollaboration, @@ -20,10 +23,12 @@ import { type WorkItem, type WorkItemCollaborationRecord, type WorkItemConversationBinding, + type WorkItemEvidenceEntry, } from "@ling-stack/core"; import { z } from "zod"; import { HttpError } from "../errors.js"; import { listEffectiveChannelAiTeammates } from "../features/channels/channel-teammate-availability.js"; +import { readCompleteHandoffCandidate } from "../features/work-items/stage-handoff-candidates.js"; import { readWorkItemWorkflowBinding } from "../features/work-items/workflow-stages.js"; const evaluationPrefix = "work_item_deliberation_evaluation_"; @@ -54,6 +59,7 @@ export const deliberationEvaluateInput = z.object({ participantIds: refs, optionRefs: refs, evidenceRefs: refs, + candidateDigest: z.string().regex(/^[a-f0-9]{64}$/u).optional(), unresolved: z.enum(["intent", "fact", "handoff"]).optional(), }); @@ -73,32 +79,41 @@ interface SubjectBasis { readonly step?: ChannelWorkflowStep; } -export function evaluateAppServerDeliberation( +export async function evaluateAppServerDeliberation( store: RunStore, input: LingAppServerDeliberationEvaluateParams, now: string, cwd: string, -): LingAppServerDeliberationEvaluateResult & { readonly event?: ControlPlaneEvent } { +): Promise { const { workItemId, expectedWorkItemRevision, idempotencyKey, cwd: _cwd, ...requested } = input; const item = requireWorkItem(store, workItemId); const decision = { ...requested, participantIds: sortedUnique(input.participantIds), optionRefs: sortedUnique(input.optionRefs), evidenceRefs: sortedUnique(input.evidenceRefs), }; - const prior = readMutationReceipt(store, workItemId, idempotencyKey); - if (prior) { + const readReplay = () => { + const prior = readMutationReceipt(store, workItemId, idempotencyKey); + if (!prior) return undefined; const frozen = readEvaluation(prior); if (!frozen || !isDeepStrictEqual(frozen.decision, decision)) throw keyConflict(); - return { cwd, evaluation: frozen.evaluation, workItemRevision: item.revision, replayed: true }; - } + return { cwd, evaluation: frozen.evaluation, workItemRevision: requireWorkItem(store, workItemId).revision, replayed: true }; + }; + const prior = readReplay(); + if (prior) return prior; const basis = readDecisionBasis(store, item, decision); const decisionId = digest([item.id, decision.decisionKey, decision.subject.kind, basis.subject.decisionAnchor]); const decisionRevision = digest([basis.digest, decision.decisionKind, decision.materiality, decision.question, decision.unresolved]); const evaluationId = `${evaluationPrefix}${decisionId}_${digest([decisionRevision, decision.checkpoint, decision.checkpointRef])}`; + if (basis.candidate) { + await assertCandidateCurrent(basis.candidate); + const committed = readReplay(); + if (committed) return committed; + } const existing = readEvaluation(readWorkItemCollaborationRecord(store, workItemId, evaluationId)); - if (existing) return { cwd, evaluation: existing.evaluation, workItemRevision: item.revision, replayed: true }; + if (existing) return { cwd, evaluation: existing.evaluation, workItemRevision: requireWorkItem(store, workItemId).revision, replayed: true }; if (item.revision !== expectedWorkItemRevision) throw stale("The Work Item revision changed before evaluation."); const evaluation: LingAppServerDeliberationEvaluation = { evaluationId, decisionId, decisionRevision, subjectRevision: basis.subject.subjectRevision, policyRevision, checkpoint: decision.checkpoint, checkpointRef: decision.checkpointRef, optionRefs: decision.optionRefs, evidenceRefs: decision.evidenceRefs, participantIds: decision.participantIds, + ...(basis.candidate ? { candidateDigest: basis.candidate.digest } : {}), evaluatedAt: now, expiresAt: new Date(Date.parse(now) + validityMs).toISOString(), ...evaluateCheckpoint(item, basis, decision), }; @@ -119,34 +134,42 @@ export function evaluateAppServerDeliberation( return { cwd, evaluation, workItemRevision: result.workItemRevision, replayed: false, event: result.event }; } -export function openAppServerEvaluatedDeliberation(store: RunStore, input: LingAppServerDeliberationOpenParams, now: string, cwd: string) { +export async function openAppServerEvaluatedDeliberation( + store: RunStore, input: LingAppServerDeliberationOpenParams, now: string, cwd: string, +): Promise { const { workItemId, evaluationId, expectedWorkItemRevision, idempotencyKey } = input; const item = requireWorkItem(store, workItemId); const frozen = readEvaluation(readWorkItemCollaborationRecord(store, workItemId, evaluationId)); if (!frozen) throw stale("The deliberation evaluation is unavailable."); const { evaluation, decision } = frozen; const roundId = roundPrefix + digest([workItemId, evaluation.decisionId, evaluation.decisionRevision]); - const prior = readMutationReceipt(store, workItemId, idempotencyKey); - if (prior) { - if (prior.id !== roundId || prior.parentRecordId !== evaluationId) throw keyConflict(); - return { status: "replayed" as const, record: { ...prior, workItemRevision: item.revision }, workItemRevision: item.revision }; - } - const existing = readWorkItemCollaborationRecord(store, workItemId, roundId); - if (existing) { + const readReplay = () => { + const prior = readMutationReceipt(store, workItemId, idempotencyKey); + if (prior && (prior.id !== roundId || prior.parentRecordId !== evaluationId)) throw keyConflict(); + const existing = prior ?? readWorkItemCollaborationRecord(store, workItemId, roundId); + if (!existing) return undefined; if (existing.parentRecordId !== evaluationId) throw stale("This decision revision already has a deliberation round."); - return { status: "replayed" as const, record: { ...existing, workItemRevision: item.revision }, workItemRevision: item.revision }; - } + const workItemRevision = requireWorkItem(store, workItemId).revision; + return { status: "replayed" as const, record: { ...existing, workItemRevision }, workItemRevision }; + }; + const prior = readReplay(); + if (prior) return prior; if (evaluation.outcome !== "suggest") throw new HttpError(409, "resume_blocked", "Only a current deliberation suggestion can open a round."); - const assertCurrent = () => { - assertEvaluationCurrent(store, requireWorkItem(store, workItemId), frozen, now, evaluation.expiresAt); - }; + const assertCurrent = () => assertEvaluationCurrent(store, requireWorkItem(store, workItemId), frozen, now, evaluation.expiresAt); + const { candidate } = assertEvaluationCurrent(store, item, frozen, now, evaluation.expiresAt); + if (candidate) { + await assertCandidateCurrent(candidate); + const committed = readReplay(); + if (committed) return committed; + } const deadlineAt = new Date(Date.parse(now) + validityMs).toISOString(); const result = appendWorkItemCollaboration(store, { id: roundId, workItemId, expectedWorkItemRevision, idempotencyKey, kind: "deliberation", action: "started", actorId: "local-user", visibility: "owner", parentRecordId: evaluationId, payload: { decisionPoint: decision.question, options: evaluation.optionRefs, subject: decision.subject, - decisionId: evaluation.decisionId, decisionRevision: evaluation.decisionRevision, deadlineAt }, + decisionId: evaluation.decisionId, decisionRevision: evaluation.decisionRevision, deadlineAt, + ...(candidate ? { candidateDigest: candidate.digest } : {}) }, sourceRefs: [{ type: "deliberation_evaluation", id: evaluationId, revision: evaluation.decisionRevision }], assertCurrent, }, now, cwd); @@ -158,25 +181,35 @@ export function isCheckpointDeliberationRecord(record: WorkItemCollaborationReco return record.id.startsWith(evaluationPrefix) || record.id.startsWith(roundPrefix) || record.parentRecordId?.startsWith(roundPrefix) === true; } -export function assertCheckpointRoundCurrent(store: RunStore, item: WorkItem, round: WorkItemCollaborationRecord, now: string): void { +function readCurrentRoundBasis(store: RunStore, item: WorkItem, round: WorkItemCollaborationRecord, now: string) { if (!round.id.startsWith(roundPrefix)) return; const frozen = round.parentRecordId && readEvaluation(readWorkItemCollaborationRecord(store, item.id, round.parentRecordId)); const payload = round.payload as { deadlineAt: string }; if (!frozen) throw stale("The evaluation for this round is unavailable."); - assertEvaluationCurrent(store, item, frozen, now, payload.deadlineAt); + return assertEvaluationCurrent(store, item, frozen, now, payload.deadlineAt); +} + +export function assertCheckpointRoundCurrent(store: RunStore, item: WorkItem, round: WorkItemCollaborationRecord, now: string): void { + readCurrentRoundBasis(store, item, round, now); +} + +export async function assertCheckpointRoundCandidate(store: RunStore, item: WorkItem, round: WorkItemCollaborationRecord, now: string): Promise { + const candidate = readCurrentRoundBasis(store, item, round, now)?.candidate; + if (candidate) await assertCandidateCurrent(candidate); } -function assertEvaluationCurrent(store: RunStore, item: WorkItem, frozen: FrozenEvaluation, now: string, deadline: string): void { +function assertEvaluationCurrent(store: RunStore, item: WorkItem, frozen: FrozenEvaluation, now: string, deadline: string) { const { decision, evaluation } = frozen; if (!workItemAllowsDeliberation(item, decision.subject)) { throw new HttpError(409, "resume_blocked", "The Work Item is held. Resume the applicable stage before continuing deliberation."); } if (deadline <= now) throw stale("The deliberation deadline expired."); + const basis = readDecisionBasis(store, item, decision); if (evaluation.policyRevision !== policyRevision - || latestEvaluation(store, item.id, evaluation.decisionId)?.id !== evaluation.evaluationId - || readDecisionBasis(store, item, decision).digest !== frozen.basisDigest) { + || latestEvaluation(store, item.id, evaluation.decisionId)?.id !== evaluation.evaluationId || basis.digest !== frozen.basisDigest) { throw stale("The decision basis or applicable evaluation changed."); } + return basis; } function readDecisionBasis(store: RunStore, item: WorkItem, decision: FrozenEvaluation["decision"]) { @@ -189,21 +222,59 @@ function readDecisionBasis(store: RunStore, item: WorkItem, decision: FrozenEval if (!participant) throw stale("A requested participant is unavailable for this subject."); return [participant.id, participant.updatedAt]; }); - const readRef = (id: string, option: boolean) => { + const readEntry = (id: string, option: boolean) => { const entry = store.getWorkItemEvidence(id); if (entry?.workItemId !== item.id || entry.subjectRevision !== subject.subjectRevision || option && entry.kind !== "proposal") throw stale("A decision input is unavailable for the current subject."); - return { type: option ? "deliberation_option" : "work_item_evidence", id, revision: String(entry.revision) }; + return entry; }; - const options = decision.optionRefs.map(id => readRef(id, true)); - const evidence = decision.evidenceRefs.map(id => readRef(id, false)); + const options = decision.optionRefs.map(id => evidenceRef(readEntry(id, true), "deliberation_option")); + const evidence = decision.evidenceRefs.map(id => readEntry(id, false)); + const evidenceRefs = evidence.map(entry => evidenceRef(entry, "work_item_evidence")); + const candidate = decision.candidateDigest ? { digest: decision.candidateDigest, cwd: decisionCandidateCwd(store, subject) } : undefined; + const verificationRefs = candidate && decision.checkpoint === "verify_review_conflict" + ? evidence.flatMap(entry => readDecisionVerificationRefs(store, item, candidate, entry)) : []; return { - subject, options, evidence, - sourceRefs: [checkpoint, ...options, ...evidence], - digest: digest([policyRevision, item.control.generation, subject.scopeRevision, participants, options, evidence]), + subject, options, evidence, candidate, verificationRefs, + sourceRefs: [checkpoint, ...options, ...evidenceRefs, ...verificationRefs], + digest: digest([policyRevision, item.control.generation, subject.scopeRevision, participants, options, evidenceRefs, candidate, verificationRefs]), }; } +function evidenceRef(entry: WorkItemEvidenceEntry, type: string) { + return { type, id: entry.id, revision: String(entry.revision) }; +} + +function decisionCandidateCwd(store: RunStore, subject: SubjectBasis): string { + if (!subject.step?.runId) return store.paths.cwd; + const run = store.getRun(subject.step.runId); + if (run?.workflowStepId !== subject.step.id) throw stale("The stage candidate owner is unavailable."); + return run.cwd; +} + +function readDecisionVerificationRefs(store: RunStore, item: WorkItem, candidate: { digest: string; cwd: string }, entry: WorkItemEvidenceEntry) { + return entry.sourceRefs.flatMap(ref => { + if (ref.type !== "verification") return []; + const stored = store.getAppServerState("verify_operation", ref.id); + const receipt = stored?.payload as { operation: LingAppServerVerifyOperation; plan: LingAppServerVerifyPlanResult } | undefined; + const { operation, plan } = receipt ?? {}; + if (!stored || !operation || !plan || operation.operationId !== ref.id || operation.planId !== plan.planId + || operation.workItemId !== item.id || plan.workItemId !== item.id || plan.acceptedPlanRevision !== item.planRevision + || operation.candidateDigest !== candidate.digest || plan.candidate.candidateDigest !== candidate.digest + || plan.candidate.workspaceId !== candidate.cwd || !operation.completedAt + || !operation.checks.some(check => (check.status === "passed" || check.status === "failed") + && check.execution?.exitCode !== undefined && check.candidateDigest === candidate.digest && check.planRevision === plan.planRevision + && plan.checks.some(planned => planned.checkId === check.checkId && planned.recipeDigest === check.recipeDigest))) return []; + return [{ type: "verification", id: ref.id, revision: String(stored.revision), digest: candidate.digest }]; + }); +} + +async function assertCandidateCurrent(candidate: { digest: string; cwd: string }): Promise { + if (await readCompleteHandoffCandidate(candidate.cwd) !== candidate.digest) { + throw stale("The captured decision candidate changed or no longer has complete coverage."); + } +} + function readSubject(store: RunStore, item: WorkItem, subject: LingAppServerDeliberationSubject): SubjectBasis { if (subject.kind === "draft_plan") { const plan = store.getProposedPlanArtifact(subject.planId); @@ -274,6 +345,9 @@ function evaluateCheckpoint(item: WorkItem, basis: ReturnType { const { cwd, ...record } = this.workspaceParams(params, true); const store = this.context.storeRegistry.getStore(cwd); const now = new Date().toISOString(); if (method === "workItem/deliberation/evaluate") { const parsed = deliberationEvaluateInput.safeParse(record); if (!parsed.success) throw rpcError(-32602, "invalid_params", "Supply a current subject, checkpoint and bounded decision inputs."); - const { event, ...result } = evaluateAppServerDeliberation(store, parsed.data, now, cwd); + const { event, ...result } = await evaluateAppServerDeliberation(store, parsed.data, now, cwd); if (event) this.context.controlPlaneEvents.publish(trimOversizedEvent(event)); return result; } const parsed = deliberationOpenInput.safeParse(record); if (!parsed.success) throw rpcError(-32602, "invalid_params", "Supply an evaluation, Work Item revision and bounded request key."); - const { event, ...result } = openAppServerEvaluatedDeliberation(store, parsed.data, now, cwd); + const { event, ...result } = await openAppServerEvaluatedDeliberation(store, parsed.data, now, cwd); if (event) this.context.controlPlaneEvents.publish(trimOversizedEvent(event)); return { cwd, ...result }; } @@ -1559,7 +1559,7 @@ class RpcConnection { } } - private settleWorkItemDeliberation(action: "decided" | "cancelled", params: unknown): unknown { + private async settleWorkItemDeliberation(action: "decided" | "cancelled", params: unknown): Promise { const { cwd, ...record } = this.workspaceParams(params, true); const input = { workItemId: readStringField(record, "workItemId"), @@ -1576,7 +1576,7 @@ class RpcConnection { const decision = action === "decided" ? readDeliberationDecision(record.decision) : undefined; try { const store = this.context.storeRegistry.getStore(cwd); - const { event, ...result } = settleAppServerDeliberation(store, input, decision, new Date().toISOString(), cwd); + const { event, ...result } = await settleAppServerDeliberation(store, input, decision, new Date().toISOString(), cwd); if (event) { this.context.controlPlaneEvents.publish(trimOversizedEvent(event)); if (decision?.disposition === "selected") this.context.taskSupervisor.poke(cwd); diff --git a/packages/daemon/test/app-server-release-acceptance.test.ts b/packages/daemon/test/app-server-release-acceptance.test.ts index 72eb57730..6d93654f3 100644 --- a/packages/daemon/test/app-server-release-acceptance.test.ts +++ b/packages/daemon/test/app-server-release-acceptance.test.ts @@ -3579,7 +3579,7 @@ async function stageQuestionWorkflow(t: TestContext, providerBaseUrl?: string, p return { fixture, store, client, item, workItem, workflowId: accepted.workflowId, waiting, respondent, channel, thread, plan, preset }; } -test("an in-flight stage routes fact disputes to Verify and keeps only the current tradeoff eligible for a decision", { timeout: 30_000 }, async t => { +test("an in-flight stage verifies disputed facts and fences decisions to the current candidate", { timeout: 30_000 }, async t => { let finishStage = () => {}; const stageGate = new Promise(resolve => { finishStage = resolve; }); const provider = await startLoopbackPiProvider(async () => { @@ -3587,7 +3587,25 @@ test("an in-flight stage routes fact disputes to Verify and keeps only the curre return { text: "Compatibility stage completed." }; }); t.after(() => { finishStage(); return provider.close(); }); - const { fixture, store, client, workItem, item, respondent, channel, workflowId } = await stageQuestionWorkflow(t, provider.baseUrl); + const { fixture, store, client, workItem, item, respondent, channel, workflowId } = await stageQuestionWorkflow(t, provider.baseUrl, false, undefined, { + async verificationRecipes(root, cwd) { + const verifier = join(root, "check-compatibility.cjs"); + const script = 'const fs = require("node:fs"); if (!fs.readFileSync("contract.txt", "utf8").includes("legacy field")) process.exit(1);'; + await writeFile(verifier, script); + return [{ id: "compatibility", label: "Check the public contract", kind: "test", workspaceRoot: cwd, argv: [process.execPath, verifier], + paths: ["contract.txt"], required: true, verifier: { coverage: "Check the legacy caller's field", + sources: [{ path: verifier, sha256: createHash("sha256").update(script).digest("hex") }] } }]; + }, + }); + const contractPath = join(fixture.cwd, "contract.txt"); + const contract = "The legacy field remains readable.\n"; + await writeFile(join(fixture.cwd, ".gitignore"), ".ling-stack/\n"); + await writeFile(contractPath, "The legacy field remains visible.\n"); + const git = (...args: string[]) => execFileSync("git", args, { cwd: fixture.cwd, stdio: "ignore" }); + git("init", "-q"); + git("add", "contract.txt", ".gitignore"); + git("-c", "user.name=Fixture", "-c", "user.email=fixture@example.test", "commit", "-qm", "Record the original contract"); + await writeFile(contractPath, contract); const now = new Date().toISOString(); const participantIds = ["teammate_builtin_engineer", "teammate_builtin_qa"]; for (const id of participantIds) store.replaceTeammateChannelMemberships(id, [{ channelId: channel.id }], now); @@ -3616,26 +3634,49 @@ test("an in-flight stage routes fact disputes to Verify and keeps only the curre const { evaluation: requiresCheck } = await evaluate(input); assert.equal(requiresCheck.outcome, "verify"); assert.equal(provider.requests.length, 1); + const { candidate } = await client.call("changes/capture"); + const { unresolved: _fact, ...tradeoff } = input; + const { evaluation: missingCheck } = await evaluate({ + ...tradeoff, candidateDigest: candidate.candidateDigest, + expectedWorkItemRevision: currentRevision(), idempotencyKey: "candidate-without-check", + }); + assert.equal(missingCheck.reasonCode, "verification_missing_for_candidate"); + const plan = await client.call("verify/plan", { + workItemId, planRevision, candidate, requestedChecks: ["compatibility"], idempotencyKey: "plan-disputed-check", + }); + const operation = await client.call("verify/start", { + planId: plan.planId, planRevision: plan.planRevision, candidateDigest: candidate.candidateDigest, idempotencyKey: "check-disputed-fact", + }); + const verified = await waitFor(async () => { + const status = await client.call("verify/status", { operationId: operation.operationId }); + return status.operation.completedAt ? status.operation : undefined; + }); + assert.equal(verified.status, "passed"); const { entry } = await client.call<{ entry: { id: string } }>("workItem/evidence/append", { workItemId, actorId: "local-user", subjectRevision: planRevision, kind: "observation", idempotencyKey: "fact-resolved", content: "Both remedies preserve the caller contract. The implementation cost differs.", + sourceRefs: [{ type: "verification", id: verified.operationId }], }); - const { unresolved: _fact, ...tradeoff } = input; + const checkedTradeoff = { ...tradeoff, candidateDigest: candidate.candidateDigest }; const { evaluation: suggested } = await evaluate({ - ...tradeoff, expectedWorkItemRevision: currentRevision(), idempotencyKey: "tradeoff", evidenceRefs: [evidenceRef, entry.id], + ...checkedTradeoff, expectedWorkItemRevision: currentRevision(), idempotencyKey: "tradeoff", evidenceRefs: [evidenceRef, entry.id], }); assert.equal(suggested.outcome, "suggest"); + assert.equal(suggested.candidateDigest, candidate.candidateDigest); const open = (evaluationId: string, idempotencyKey: string) => client.call("workItem/deliberation/open", { workItemId, evaluationId, idempotencyKey, expectedWorkItemRevision: currentRevision(), }); const first = await open(suggested.evaluationId, "tradeoff-round"); const { evaluation: successor } = await evaluate({ - ...tradeoff, expectedWorkItemRevision: currentRevision(), idempotencyKey: "tradeoff-with-current-evidence", + ...checkedTradeoff, expectedWorkItemRevision: currentRevision(), idempotencyKey: "tradeoff-with-current-evidence", evidenceRefs: [entry.id], checkpointRef: entry.id, }); assert.equal(successor.decisionId, suggested.decisionId); assert.notEqual(successor.decisionRevision, suggested.decisionRevision); + await writeFile(contractPath, "The new field is required.\n"); + await assert.rejects(open(successor.evaluationId, "try-stale-candidate"), { code: "stale_revision" }); + await writeFile(contractPath, contract); const latest = await open(successor.evaluationId, "current-tradeoff-round"); const decide = (record: typeof first.record, idempotencyKey: string) => client.call("workItem/deliberation/decide", { @@ -3644,6 +3685,9 @@ test("an in-flight stage routes fact disputes to Verify and keeps only the curre decision: { disposition: "selected", option: optionRefs[0]! }, } satisfies LingAppServerDeliberationDecideParams); await assert.rejects(decide(first.record, "superseded-tradeoff"), { code: "stale_revision" }); + await writeFile(contractPath, "The new field is required.\n"); + await assert.rejects(decide(latest.record, "try-decide-for-stale-candidate"), { code: "stale_revision" }); + await writeFile(contractPath, contract); const choice = await decide(latest.record, "resolved-tradeoff"); assert.equal(choice.record.parentRecordId, latest.record.id); assert.equal(store.getWorkItem(workItemId)?.workflowId, workflowId); From e2a3b56e77f4b5d1e4238deeb15af934cad13949 Mon Sep 17 00:00:00 2001 From: tianxiaochannel-oss88 Date: Tue, 24 Nov 2026 12:12:44 +0800 Subject: [PATCH 101/147] Retry definitively rejected GitHub queue admissions --- ...g-agent-operating-model-detailed-design.md | 2 + .../ling-app-server-implementation-plan.md | 2 + packages/contracts/src/app-server-schema.ts | 3 +- packages/contracts/src/app-server.ts | 3 +- .../contracts/test/app-server-schema.test.ts | 5 + .../src/server/app-server-github-enqueue.ts | 98 ++++++++++++------- .../src/server/app-server-github-subject.ts | 12 ++- .../daemon/src/server/app-server-recovery.ts | 53 ++++++++-- .../app-server-release-acceptance.test.ts | 54 ++++++++-- 9 files changed, 174 insertions(+), 58 deletions(-) diff --git a/docs/design/ling-agent-operating-model-detailed-design.md b/docs/design/ling-agent-operating-model-detailed-design.md index 82d47ecf6..5663db042 100644 --- a/docs/design/ling-agent-operating-model-detailed-design.md +++ b/docs/design/ling-agent-operating-model-detailed-design.md @@ -841,6 +841,8 @@ For a policy that explicitly accepts current, up-to-date head evidence, strict u Keep request acceptance, enqueue and actual merge as separate provider facts. Discover queue API support for the configured host and API version. Where GitHub exposes `merge-async`, select explicit `merge_queue`, pin the expected head and disable rules bypass. Repositories can also use their authorized queue entry and report that provider receipt. Record available request or queue identifiers, and after a timeout use the original intent and provider state to reconcile the result before another request can be admitted. An actual merge receipt binds the PR and applicable provider evidence to the committed result. If the repository reports a merge with insufficient evidence for the applicable guard or tested basis, keep the merge fact and the separate CI or Goal blocker visible. [Asynchronous merge lifecycle](https://docs.github.com/en/rest/pulls/pulls#merge-a-pull-request-asynchronously) +An HTTP 401 or 429 response to the queue mutation records a `rejected` receipt with `rejectedHttpStatus`. The caller can explicitly submit the same request again after restoring authorization or waiting for the rate limit. The Host reconciles existing membership first, then checks the accepted Work Item, clean candidate, delivery evidence and effective queue rules before reserving one new attempt under the original receipt ID. The recovery journal retains the attempt across workspace snapshot restores. Transport loss, server errors and an unconfirmed mutation response leave the receipt `unknown` and require reconciliation. + ## 8. Memory, Skills and Experience Candidates The Work Item context builder returns source refs, instruction manifest, Skill snapshot, relevant Memory entries and current evidence. Each item is loaded according to its own scope and policy. diff --git a/docs/design/ling-app-server-implementation-plan.md b/docs/design/ling-app-server-implementation-plan.md index d61f70306..43745e87b 100644 --- a/docs/design/ling-app-server-implementation-plan.md +++ b/docs/design/ling-app-server-implementation-plan.md @@ -79,6 +79,8 @@ Windows 源码验收使用独立的 GitHub Actions 作业,启动真实 CLI std ### 受保护 GitHub 合并队列 +源码验收覆盖 GitHub 返回 401 和 429 时用原键显式重试。恢复到入队前的 SQLite 快照后,Host 用独立日志确认拒绝并重建原回执。重试重新核对队列规则和干净候选。两个客户端并发提交只触发一次新 mutation。服务接受后丢失响应时,重复请求只对账,等原队列项出现后复用回执。 [发行验收测试](../../packages/daemon/test/app-server-release-acceptance.test.ts) + 测试仓库的 `main` 使用活动规则集 `27867253`,要求合并队列,以及 GitHub Actions App `15368` 发布的两个必需检查。规则集没有绕过身份。候选 `99310081a` 在入队前记录了通过的 PR head 检查,合并组证据尚不可用,Goal 此时拒绝结案。GitHub 原生入队后,Daemon 把队列成员绑定到 base 和受测提交 `d6f96bd331502ec8417269009fc95682bc01991a`。实际合并提交与该提交一致。Daemon 重启后复用交付回执并完成 Goal。 [测试 PR](https://github.com/ling-stack-org/ling-delivery-acceptance-20261123/pull/1) · [head 检查](https://github.com/ling-stack-org/ling-delivery-acceptance-20261123/actions/runs/45093476859) · [队列检查](https://github.com/ling-stack-org/ling-delivery-acceptance-20261123/actions/runs/45094004869) 测试仓库未配置独立检查 App,Ling 主动入队返回 `github_queue_guard_unavailable`。第二个合成 PR 的两个 head 检查通过后,使用固定 head 调用直接合并,GitHub 返回 405 并要求经过合并队列。GitHub 原生入队后,该 PR 使用推进后的 base 生成合并组。运行器启动延迟导致队列以 `checks_timed_out` 移除该 PR,合并组检查随后通过。Daemon 重启后可读取历史队列回执,当前对账继续保留通过的 head 检查,将合并组证据标为 `merge_group_membership_unavailable`,并拒绝完成 Goal。 [直接合并校验 PR](https://github.com/ling-stack-org/ling-delivery-acceptance-20261123/pull/2) · [迟到的队列检查](https://github.com/ling-stack-org/ling-delivery-acceptance-20261123/actions/runs/45095947983) diff --git a/packages/contracts/src/app-server-schema.ts b/packages/contracts/src/app-server-schema.ts index 006964240..b2d6cac9d 100644 --- a/packages/contracts/src/app-server-schema.ts +++ b/packages/contracts/src/app-server-schema.ts @@ -188,7 +188,8 @@ const gitHubQueueResult = objectWith({ receipt: objectWith({ ...workItemTarget, queueReceiptId: stringSchema, deliveryId: stringSchema, repository: stringSchema, repositoryId: stringSchema, pullRequestNumber: integerSchema, headSha: stringSchema, - status: { enum: ["pending", "enqueued", "merged", "unknown"] }, queueEntryId: stringSchema, mergedCommit: stringSchema, createdAt: stringSchema, + status: { enum: ["pending", "enqueued", "merged", "rejected", "unknown"] }, rejectedHttpStatus: { enum: [401, 429] }, + queueEntryId: stringSchema, mergedCommit: stringSchema, createdAt: stringSchema, }, ["workItemId", "queueReceiptId", "deliveryId", "repository", "repositoryId", "pullRequestNumber", "headSha", "status", "createdAt"]), }, ["cwd", "receipt"]); const queueEvidence = objectWith({ diff --git a/packages/contracts/src/app-server.ts b/packages/contracts/src/app-server.ts index 017e9144e..3e4daa44f 100644 --- a/packages/contracts/src/app-server.ts +++ b/packages/contracts/src/app-server.ts @@ -1672,7 +1672,8 @@ export interface LingAppServerGitHubQueueReceipt { readonly repositoryId: string; readonly pullRequestNumber: number; readonly headSha: string; - readonly status: "pending" | "enqueued" | "merged" | "unknown"; + readonly status: "pending" | "enqueued" | "merged" | "rejected" | "unknown"; + readonly rejectedHttpStatus?: 401 | 429; readonly queueEntryId?: string; readonly mergedCommit?: string; readonly createdAt: string; diff --git a/packages/contracts/test/app-server-schema.test.ts b/packages/contracts/test/app-server-schema.test.ts index f65aaef83..0fdc98d96 100644 --- a/packages/contracts/test/app-server-schema.test.ts +++ b/packages/contracts/test/app-server-schema.test.ts @@ -169,6 +169,11 @@ test("GitHub delivery results carry the source of each check and the exact run a repositoryId: "73", pullRequestNumber: 12, headSha: "head", status: "unknown", createdAt: "2026-11-23T01:00:00Z" }, } satisfies LingAppServerGitHubQueueResult; assert.ok(validateLingAppServerResult("github/delivery/enqueue", queue).ok); + const rejected = { ...queue, receipt: { ...queue.receipt, status: "rejected", rejectedHttpStatus: 429 } }; + assert.ok(validateLingAppServerResult("github/delivery/enqueue", rejected).ok); + assert.equal(validateLingAppServerResult("github/delivery/queue/read", { + ...rejected, receipt: { ...rejected.receipt, rejectedHttpStatus: 503 }, + }).path, "result.receipt.rejectedHttpStatus"); assert.equal(validateLingAppServerResult("github/delivery/queue/read", { ...queue, receipt: { ...queue.receipt, status: "passed" }, }).path, "result.receipt.status"); diff --git a/packages/daemon/src/server/app-server-github-enqueue.ts b/packages/daemon/src/server/app-server-github-enqueue.ts index cddc85c4e..8bb8d4b3e 100644 --- a/packages/daemon/src/server/app-server-github-enqueue.ts +++ b/packages/daemon/src/server/app-server-github-enqueue.ts @@ -9,8 +9,8 @@ import type { DaemonContext } from "../context.js"; import { HttpError } from "../errors.js"; import { isRecord } from "../shared/validation.js"; import { reconcileGitHubDelivery, readGitHubDelivery } from "./app-server-github-delivery.js"; -import { commitSha, digest, gitHubReadClient, type GitHubReadClient } from "./app-server-github-subject.js"; -import { appServerRecoveryFor } from "./app-server-recovery.js"; +import { commitSha, digest, gitHubReadClient, GitHubResponseError, type GitHubReadClient } from "./app-server-github-subject.js"; +import { appServerRecoveryFor, type AppServerRecoveryJournal } from "./app-server-recovery.js"; type GitHubQueueContext = Pick; @@ -52,10 +52,15 @@ export async function enqueueGitHubDelivery( } const fingerprint = digest([input.workItemId, input.deliveryId, input.expectedWorkItemRevision, input.idempotencyKey]); const keyed = store.findAppServerStateByIdempotencyKey("github_queue_intent", input.idempotencyKey); - if (keyed) { - const prior = keyed.payload as QueueIntent; - if (prior.fingerprint !== fingerprint) throw new HttpError(409, "idempotency_conflict", "The queue key belongs to another request."); - return readGitHubQueue(context, store, input.workItemId, keyed.recordId); + const journalEntry = keyed ? recovery.getGitHubQueueEnqueue(keyed.recordId) : recovery.findGitHubQueueEnqueue(input.idempotencyKey); + const priorReceiptId = keyed?.recordId ?? journalEntry?.fact.id; + let retryAfter: string | undefined; + if (priorReceiptId) { + if ((keyed && (keyed.payload as QueueIntent).fingerprint !== fingerprint) + || (journalEntry && journalEntry.fact.fingerprint !== fingerprint)) throw queueKeyConflict(); + const prior = await readGitHubQueue(context, store, input.workItemId, priorReceiptId); + retryAfter = journalEntry?.fact.rejectedHttpStatus !== undefined && !journalEntry.confirmed ? journalEntry.fact.attemptId : undefined; + if (prior.receipt.status !== "rejected" || !retryAfter) return prior; } assertWorkItemReady(store, input.workItemId, input.expectedWorkItemRevision); const delivery = readGitHubDelivery(store, input.workItemId); @@ -69,59 +74,75 @@ export async function enqueueGitHubDelivery( const gate = policy?.mergeQueue?.requiredGate; if (!policy || !gate || delivery.policyRevision !== digest([client.source.repositoryId, policy]) || delivery.subject.repositoryId !== client.source.repositoryId) throw guardUnavailable(); - const fresh = await reconcileGitHubDelivery(context, { - cwd, workItemId: delivery.workItemId, threadId: delivery.threadId, expectedWorkItemRevision: input.expectedWorkItemRevision, - repository: delivery.subject.repository, pullRequestNumber: delivery.subject.number, candidateDigest: delivery.candidateDigest, - }, "clean_checkout"); - if (fresh.deliveryId !== input.deliveryId || fresh.checks.some(({ check, outcome }) => check.basis === "head" && outcome !== "passed")) { - throw new HttpError(409, "stale_revision", "The delivery or a required head check changed before queue admission."); - } const queueReceiptId = `github_queue_${digest([delivery.subject.repositoryId, delivery.subject.number, headSha])}`; + if (priorReceiptId && priorReceiptId !== queueReceiptId) throw queueKeyConflict(); const receipt: LingAppServerGitHubQueueReceipt = { queueReceiptId, workItemId: delivery.workItemId, deliveryId: delivery.deliveryId, repository: delivery.subject.repository, repositoryId: delivery.subject.repositoryId, pullRequestNumber: delivery.subject.number, headSha, - status: "pending", createdAt: new Date().toISOString(), + status: "pending", createdAt: journalEntry?.fact.createdAt ?? new Date().toISOString(), }; const subject = await currentQueueSubject(client, receipt, baseRef); + if (priorReceiptId && (subject?.merged === true || subject?.isInMergeQueue === true)) { + return readGitHubQueue(context, store, input.workItemId, queueReceiptId); + } if (!subject || typeof subject.id !== "string" || !subject.id || subject.closed !== false || subject.isDraft !== false || subject.isMergeQueueEnabled !== true || subject.stackEntry !== null || subject.isInMergeQueue !== false) throw guardUnavailable(); await requireQueueProtection(client, delivery, gate); + const fresh = await reconcileGitHubDelivery(context, { + cwd, workItemId: delivery.workItemId, threadId: delivery.threadId, expectedWorkItemRevision: input.expectedWorkItemRevision, + repository: delivery.subject.repository, pullRequestNumber: delivery.subject.number, candidateDigest: delivery.candidateDigest, + }, "clean_checkout"); + if (fresh.deliveryId !== input.deliveryId || fresh.checks.some(({ check, outcome }) => check.basis === "head" && outcome !== "passed")) { + throw new HttpError(409, "stale_revision", "The delivery or a required head check changed before queue admission."); + } assertWorkItemReady(store, input.workItemId, input.expectedWorkItemRevision); if (readGitHubDelivery(store, input.workItemId)?.deliveryId !== input.deliveryId) { throw new HttpError(409, "stale_revision", "The delivery changed before queue admission."); } + const known = recovery.getGitHubQueueEnqueue(queueReceiptId); + if (known && known.fact.fingerprint !== fingerprint) throw queueKeyConflict(); const intent = { fingerprint, baseRef, acceptanceId: delivery.acceptanceId, receipt }; const retained = store.putAppServerState({ kind: "github_queue_intent", recordId: queueReceiptId, idempotencyKey: input.idempotencyKey, expectedRevision: 0, replayByIdempotencyKey: true, payload: intent, }, receipt.createdAt); if (!retained || (retained.record.payload as QueueIntent).fingerprint !== fingerprint) { - throw new HttpError(409, "idempotency_conflict", "A queue request already owns this pull request head."); + throw queueKeyConflict(); } - if (retained.status !== "created") return readGitHubQueue(context, store, input.workItemId, queueReceiptId); - if (!recovery.reserveGitHubQueueEnqueue({ + if (retained.status !== "created" && !retryAfter) return readGitHubQueue(context, store, input.workItemId, queueReceiptId); + const attemptId = recovery.reserveGitHubQueueEnqueue({ id: queueReceiptId, workItemId: receipt.workItemId, repository: receipt.repository, repositoryId: receipt.repositoryId, baseRef, pullRequestNumber: receipt.pullRequestNumber, headSha, createdAt: receipt.createdAt, deliveryId: receipt.deliveryId, acceptanceId: delivery.acceptanceId, fingerprint, idempotencyKey: input.idempotencyKey, - })) return readGitHubQueue(context, store, input.workItemId, queueReceiptId); + }, retryAfter); + if (!attemptId) return readGitHubQueue(context, store, input.workItemId, queueReceiptId); - const observation = await client.query(enqueueMutation, { id: subject.id, head: headSha, key: queueReceiptId }).catch(() => undefined); + const observation = await client.query(enqueueMutation, { id: subject.id, head: headSha, key: queueReceiptId }).catch((error: unknown) => { + if (error instanceof GitHubResponseError && (error.responseStatus === 401 || error.responseStatus === 429)) { + recovery.rejectGitHubQueueEnqueue(queueReceiptId, attemptId, error.responseStatus); + } + return undefined; + }); const accepted = observation?.enqueuePullRequest; const entryId = isRecord(accepted) && accepted.clientMutationId === queueReceiptId ? readQueueEntryId(accepted.mergeQueueEntry, receipt, baseRef) : undefined; - const committed = commitQueueStatus(store, intent, retained.record.revision, entryId + if (entryId) recovery.confirmGitHubQueueEnqueue(queueReceiptId); + const latest = store.getAppServerState("github_queue_intent", queueReceiptId) ?? retained.record; + const current = latest.payload as QueueIntent; + if (current.receipt.status === "merged" || (!entryId && current.receipt.status === "enqueued")) { + return { cwd, receipt: current.receipt }; + } + return commitQueueStatus(store, current, latest.revision, entryId ? { ...receipt, status: "enqueued", queueEntryId: entryId } - : { ...receipt, status: "unknown" }); - if (committed.receipt.status === "enqueued") recovery.confirmGitHubQueueEnqueue(queueReceiptId); - return committed; + : unresolvedQueueReceipt(receipt, recovery)); } export async function readGitHubQueue( context: GitHubQueueContext, store: RunStore, workItemId: string, queueReceiptId: string, ): Promise { const recovery = appServerRecoveryFor(context.config, store); - const fact = recovery?.getGitHubQueueEnqueue(queueReceiptId); + const fact = recovery?.getGitHubQueueEnqueue(queueReceiptId)?.fact; const saved = store.getAppServerState("github_queue_intent", queueReceiptId) ?? (() => { const accepted = store.getAppServerState("work_item_acceptance", workItemId)?.payload; if (fact?.workItemId !== workItemId || !store.getWorkItem(workItemId) || !isRecord(accepted) || accepted.id !== fact.acceptanceId) return undefined; @@ -137,13 +158,12 @@ export async function readGitHubQueue( if (!saved || !intent || intent.receipt.workItemId !== workItemId) { throw new HttpError(404, "github_queue_intent_not_found", "The GitHub queue receipt is unavailable for this Work Item."); } - const receipt = intent.receipt; - const observed = receipt.status === "merged" ? receipt : await observeQueueReceipt(context, store, receipt, intent.baseRef); - const committed = commitQueueStatus(store, intent, saved.revision, observed); - if (fact && (committed.receipt.status === "enqueued" || committed.receipt.status === "merged")) { - recovery?.confirmGitHubQueueEnqueue(queueReceiptId); - } - return committed; + if (fact && fact.fingerprint !== intent.fingerprint) throw queueKeyConflict(); + if (intent.receipt.status === "merged") return { cwd: store.paths.cwd, receipt: intent.receipt }; + const { queueEntryId: _entry, mergedCommit: _merge, rejectedHttpStatus: _rejected, ...receipt } = intent.receipt; + const observed = await observeQueueReceipt(context, store, receipt, intent.baseRef); + if (fact && observed) recovery?.confirmGitHubQueueEnqueue(queueReceiptId); + return commitQueueStatus(store, intent, saved.revision, observed ?? unresolvedQueueReceipt(receipt, recovery)); } export function gitHubQueueReceiptConfirmed(store: RunStore, fact: { @@ -159,14 +179,22 @@ export function gitHubQueueReceiptConfirmed(store: RunStore, fact: { async function observeQueueReceipt( context: GitHubQueueContext, store: RunStore, receipt: LingAppServerGitHubQueueReceipt, baseRef: string, -): Promise { +): Promise { const client = gitHubReadClient(context, store.paths.cwd, receipt.repository); const current = await currentQueueSubject(client, receipt, baseRef).catch(() => undefined); const mergedCommit = current?.merged === true && isRecord(current.mergeCommit) ? commitSha(current.mergeCommit.oid) : undefined; if (mergedCommit) return { ...receipt, status: "merged", mergedCommit }; const queueEntryId = current?.isInMergeQueue === true ? readQueueEntryId(current.mergeQueueEntry, receipt, baseRef) : undefined; if (queueEntryId) return { ...receipt, status: "enqueued", queueEntryId }; - return { ...receipt, status: "unknown" }; + return undefined; +} + +function unresolvedQueueReceipt( + receipt: LingAppServerGitHubQueueReceipt, recovery: AppServerRecoveryJournal | undefined, +): LingAppServerGitHubQueueReceipt { + const entry = recovery?.getGitHubQueueEnqueue(receipt.queueReceiptId); + const rejectedHttpStatus = entry && !entry.confirmed ? entry.fact.rejectedHttpStatus : undefined; + return rejectedHttpStatus === undefined ? { ...receipt, status: "unknown" } : { ...receipt, status: "rejected", rejectedHttpStatus }; } function commitQueueStatus(store: RunStore, intent: QueueIntent, revision: number, receipt: LingAppServerGitHubQueueReceipt): LingAppServerGitHubQueueResult { @@ -225,3 +253,7 @@ async function requireQueueProtection( function guardUnavailable(): HttpError { return new HttpError(409, "github_queue_guard_unavailable", "The repository has no matching provider-enforced merge queue and trusted CI gate."); } + +function queueKeyConflict(): HttpError { + return new HttpError(409, "idempotency_conflict", "A different queue request owns this key or pull request head."); +} diff --git a/packages/daemon/src/server/app-server-github-subject.ts b/packages/daemon/src/server/app-server-github-subject.ts index e3093c57d..3a22653d3 100644 --- a/packages/daemon/src/server/app-server-github-subject.ts +++ b/packages/daemon/src/server/app-server-github-subject.ts @@ -18,6 +18,13 @@ export function gitHubWorkItemTargetKey(subject: Pick, cwd: string, repository: string) { const source = context.config.appServerGitHubSources.find(item => item.workspaceRoot === cwd && item.repository === repository); if (!source) throw new HttpError(403, "github_subject_unavailable", "The GitHub repository is unavailable in this workspace."); @@ -39,10 +46,7 @@ export function gitHubReadClient(context: Pick undefined); } const getJson = (path: string) => requestJson(`https://api.github.com/repos/${repository}${path}`); diff --git a/packages/daemon/src/server/app-server-recovery.ts b/packages/daemon/src/server/app-server-recovery.ts index 8a8e50423..86b2723eb 100644 --- a/packages/daemon/src/server/app-server-recovery.ts +++ b/packages/daemon/src/server/app-server-recovery.ts @@ -18,7 +18,7 @@ type JournalFact = | { readonly kind: "github_queue_enqueue"; readonly id: string; readonly workItemId: string; readonly repositoryId: string; readonly pullRequestNumber: number; readonly headSha: string; readonly repository: string; readonly baseRef: string; readonly deliveryId: string; readonly acceptanceId: string; readonly fingerprint: string; readonly idempotencyKey: string; - readonly createdAt: string } + readonly createdAt: string; readonly attemptId?: string; readonly rejectedHttpStatus?: 401 | 429 } | { readonly kind: "github_delivery"; readonly id: string; readonly workItemId: string; readonly mergedCommit: string; readonly repositoryId: string; readonly number: number; readonly headSha?: string; readonly acceptanceId: string }; @@ -26,6 +26,11 @@ type DeliveryFact = Extract; type DispatchFact = Extract; type QueueFact = Extract; +interface QueueRecoveryEntry { + readonly fact: QueueFact; + readonly confirmed: boolean; +} + interface RecoveryEpoch { readonly revision: number; readonly epoch?: string; @@ -129,7 +134,10 @@ export class AppServerRecoveryJournal { const accept = db.prepare("UPDATE recovery_journal SET reconciled_revision=? WHERE kind=? AND id=?"); for (const row of pending) { const fact = readFact(row); - if (fact.kind !== "grant_revocation" && (row.completed_at || confirmed(fact))) accept.run(current.revision, fact.kind, fact.id); + if (fact.kind !== "grant_revocation" && (row.completed_at + || (fact.kind === "github_queue_enqueue" && fact.rejectedHttpStatus !== undefined) || confirmed(fact))) { + accept.run(current.revision, fact.kind, fact.id); + } } if (!pendingCount(db, current.revision)) { db.prepare("UPDATE recovery_epochs SET reconciled_at=? WHERE revision=?").run(now(), current.revision); @@ -182,18 +190,40 @@ export class AppServerRecoveryJournal { }); } - reserveGitHubQueueEnqueue(fact: Omit): boolean { + reserveGitHubQueueEnqueue( + fact: Omit, retryAfter?: string, + ): string | undefined { return this.transaction(db => { assertReady(readEpoch(db)); - return insertFact(db, { kind: "github_queue_enqueue", ...fact }, now()); + const attemptId = randomUUID(); + if (retryAfter === undefined) { + return insertFact(db, { kind: "github_queue_enqueue", ...fact, attemptId }, now()) ? attemptId : undefined; + } + const reserved = db.prepare(`UPDATE recovery_journal + SET fact_json=json_set(json_remove(fact_json, '$.rejectedHttpStatus'), '$.attemptId', ?) + WHERE kind='github_queue_enqueue' AND id=? AND completed_at IS NULL + AND json_extract(fact_json, '$.fingerprint')=? AND json_extract(fact_json, '$.attemptId')=? + AND json_extract(fact_json, '$.rejectedHttpStatus') IN (401, 429)`) + .run(attemptId, fact.id, fact.fingerprint, retryAfter); + return reserved.changes === 1 ? attemptId : undefined; }); } - getGitHubQueueEnqueue(id: string): QueueFact | undefined { - return this.access(db => { - const row = db.prepare("SELECT id, kind, fact_json FROM recovery_journal WHERE kind='github_queue_enqueue' AND id=?").get(id); - const fact = row && readFact(row); - return fact?.kind === "github_queue_enqueue" ? fact : undefined; + getGitHubQueueEnqueue(id: string): QueueRecoveryEntry | undefined { + return this.access(db => readQueueEntry(db.prepare(`SELECT id, kind, fact_json, completed_at FROM recovery_journal + WHERE kind='github_queue_enqueue' AND id=?`).get(id))); + } + + findGitHubQueueEnqueue(idempotencyKey: string): QueueRecoveryEntry | undefined { + return this.access(db => readQueueEntry(db.prepare(`SELECT id, kind, fact_json, completed_at FROM recovery_journal + WHERE kind='github_queue_enqueue' AND json_extract(fact_json, '$.idempotencyKey')=?`).get(idempotencyKey))); + } + + rejectGitHubQueueEnqueue(id: string, attemptId: string, httpStatus: 401 | 429): void { + this.access(db => { + db.prepare(`UPDATE recovery_journal SET fact_json=json_set(fact_json, '$.rejectedHttpStatus', ?) + WHERE kind='github_queue_enqueue' AND id=? AND completed_at IS NULL AND json_extract(fact_json, '$.attemptId')=?`) + .run(httpStatus, id, attemptId); }); } @@ -304,6 +334,11 @@ function readFact(row: Record): JournalFact { return fact; } +function readQueueEntry(row: Record | undefined): QueueRecoveryEntry | undefined { + const fact = row && readFact(row); + return fact?.kind === "github_queue_enqueue" ? { fact, confirmed: typeof row?.completed_at === "string" } : undefined; +} + function requiresReconciliation(epoch: RecoveryEpoch): boolean { return Boolean(epoch.preparedAt && !epoch.reconciledAt); } diff --git a/packages/daemon/test/app-server-release-acceptance.test.ts b/packages/daemon/test/app-server-release-acceptance.test.ts index 6d93654f3..7931a612b 100644 --- a/packages/daemon/test/app-server-release-acceptance.test.ts +++ b/packages/daemon/test/app-server-release-acceptance.test.ts @@ -2178,6 +2178,7 @@ test("GitHub delivery requires current queue membership and a provider-attested let guardPresent = false; let queuePresent = false; let queueStarts = 0; + const enqueueMutationIds: string[] = []; const fixture = await releaseFixture(t, { recoveryJournal: true, secretResolver: createEnvSecretResolver({ LING_QUEUE_FIXTURE_AUTH: credential }), @@ -2195,8 +2196,10 @@ test("GitHub delivery requires current queue membership and a provider-attested if (request.query.startsWith("mutation LingEnqueue")) { assert.equal(request.variables.id, "pr-13"); assert.equal(request.variables.head, head); + enqueueMutationIds.push(request.variables.key); + if (enqueueMutationIds.length === 1) return Response.json({}, { status: 429 }); + if (enqueueMutationIds.length === 2) return Response.json({}, { status: 401 }); assert.equal(queuePresent, false); - queuePresent = true; queueStarts++; throw new Error("The fixture loses the response after the provider accepts."); } @@ -2259,7 +2262,7 @@ test("GitHub delivery requires current queue membership and a provider-attested git("add", "candidate.txt"); git("-c", "user.name=Fixture", "-c", "user.email=fixture@example.test", "commit", "-qm", "Candidate"); head = git("rev-parse", "HEAD"); - const client = await fixture.connect(); + let client = await fixture.connect(); const { workItem } = await client.call("workItem/create", { sourceId: "queue", title: "Queue changes" }); const accepted = await client.call("workItem/accept", { workItemId: workItem.workItemId, expectedWorkItemRevision: Number(workItem.revision), idempotencyKey: "accept-queue", @@ -2272,27 +2275,58 @@ test("GitHub delivery requires current queue membership and a provider-attested })).delivery; const beforeQueue = await reconcile(); assert.equal(beforeQueue.checks[0]?.reason, "merge_group_membership_unavailable"); + const databasePath = fixture.getStore().paths.databasePath; + const backup = join(fixture.root, "before-queue-attempt.sqlite"); + backupSqlite(databasePath, backup); const enqueue = { workItemId: workItem.workItemId, deliveryId: beforeQueue.deliveryId, expectedWorkItemRevision: Number(accepted.workItem.revision), idempotencyKey: "enqueue-once", confirmed: true }; await assert.rejects(client.call("github/delivery/enqueue", enqueue), { code: "github_queue_guard_unavailable" }); - assert.equal(queueStarts, 0); + assert.equal(enqueueMutationIds.length, 0); + guardPresent = true; + const rejected = await client.call("github/delivery/enqueue", enqueue); + assert.equal(rejected.receipt.status, "rejected"); + assert.equal(rejected.receipt.rejectedHttpStatus, 429); + const { queueReceiptId } = rejected.receipt; + const prepared = await client.call("server/recovery/prepare", { + expectedRevision: 0, idempotencyKey: "restore-before-queue-attempt", + }); + await fixture.restart({ beforeStart: () => restoreSqlite(databasePath, backup) }); + client = await fixture.connect(); + await assert.rejects(client.call("github/delivery/enqueue", enqueue), { code: "resume_blocked" }); + const recovery = await client.call("server/recovery/reconcile", { expectedRevision: prepared.revision }); + assert.equal(recovery.status, "ready"); + await assert.rejects(client.call("github/delivery/enqueue", { ...enqueue, deliveryId: "other-delivery" }), { code: "idempotency_conflict" }); + const queueRead = { workItemId: workItem.workItemId, queueReceiptId }; + assert.deepEqual(await client.call("github/delivery/queue/read", queueRead), rejected); + await assert.rejects(client.call("github/delivery/enqueue", { ...enqueue, idempotencyKey: "different-key" }), { code: "idempotency_conflict" }); + guardPresent = false; + await assert.rejects(client.call("github/delivery/enqueue", enqueue), { code: "github_queue_guard_unavailable" }); guardPresent = true; const uncommitted = join(fixture.cwd, "local-only.txt"); await writeFile(uncommitted, "Uncommitted queue input\n"); await assert.rejects(client.call("github/delivery/enqueue", enqueue), { code: "candidate_stale" }); - assert.equal(queueStarts, 0); + assert.deepEqual(enqueueMutationIds, [queueReceiptId]); await unlink(uncommitted); - const first = await client.call("github/delivery/enqueue", enqueue); - assert.equal(first.receipt.status, "unknown"); + const retry = await client.call("github/delivery/enqueue", enqueue); + assert.deepEqual(retry, { ...rejected, receipt: { ...rejected.receipt, rejectedHttpStatus: 401 } }); + const peer = await fixture.connect(); + const concurrent = await Promise.all([client, peer].map(connection => + connection.call("github/delivery/enqueue", enqueue))); + for (const { receipt } of concurrent) { + assert.equal(receipt.queueReceiptId, queueReceiptId); + assert.equal(receipt.status, "unknown"); + assert.equal(receipt.rejectedHttpStatus, undefined); + } + const again = await client.call("github/delivery/enqueue", enqueue); + assert.equal(again.receipt.status, "unknown"); + assert.deepEqual(enqueueMutationIds, [queueReceiptId, queueReceiptId, queueReceiptId]); + queuePresent = true; const queued = await client.call("github/delivery/enqueue", enqueue); assert.equal(queued.receipt.status, "enqueued"); assert.equal(queued.receipt.queueEntryId, "entry-13"); assert.equal(queueStarts, 1); - const { queueReceiptId } = queued.receipt; assert.ok(fixture.getStore().deleteAppServerState("github_queue_intent", queueReceiptId)); - assert.deepEqual(await client.call("github/delivery/queue/read", { - workItemId: workItem.workItemId, queueReceiptId, - }), queued); + assert.deepEqual(await client.call("github/delivery/queue/read", queueRead), queued); assert.equal(queueStarts, 1); assert.equal((await reconcile()).checks[0]?.reason, "merge_group_membership_unavailable"); unrelatedHead = false; From d9bdccdea224667dfb9c866cbed1c710d235a970 Mon Sep 17 00:00:00 2001 From: tianxiaochannel-oss88 Date: Tue, 24 Nov 2026 14:37:13 +0800 Subject: [PATCH 102/147] Recover stalled Work Item stages with accepted Review evidence --- packages/contracts/src/app-server-schema.ts | 8 +- packages/contracts/src/app-server.ts | 5 +- packages/contracts/src/threads.ts | 5 + packages/core/src/proposed-plan-mutation.ts | 11 ++- .../sqlite/channel-workflow-mappers.ts | 3 +- .../storage/sqlite/channel-workflow-store.ts | 1 + .../sqlite/proposed-plan-action-store.ts | 9 +- .../sqlite/work-item-workflow-progress.ts | 4 +- .../core/src/workflow-step-start-owner.ts | 1 + packages/core/src/workspace-types.ts | 1 + .../daemon/src/features/channels/workflows.ts | 5 +- .../daemon/src/features/runs/thread-routes.ts | 2 + .../work-items/stage-handoff-candidates.ts | 19 +++- .../work-items/stage-recovery-review.ts | 34 +++++++ .../features/work-items/workflow-stages.ts | 1 + packages/daemon/src/server/app-server-mcp.ts | 5 +- .../src/server/app-server-stage-recovery.ts | 34 +++++-- packages/daemon/src/server/rpc.ts | 6 +- .../app-server-release-acceptance.test.ts | 94 +++++++++++++++---- 19 files changed, 203 insertions(+), 45 deletions(-) create mode 100644 packages/daemon/src/features/work-items/stage-recovery-review.ts diff --git a/packages/contracts/src/app-server-schema.ts b/packages/contracts/src/app-server-schema.ts index b2d6cac9d..abbc1b248 100644 --- a/packages/contracts/src/app-server-schema.ts +++ b/packages/contracts/src/app-server-schema.ts @@ -80,8 +80,9 @@ const planActionResult = objectWith({ cwd: stringSchema, threadId: stringSchema, workflowId: stringSchema, workflowStepId: stringSchema, runId: stringSchema }, ["cwd", "threadId", "plan"]); const recoveryVerification = objectWith({ checkId: stringSchema, verifierBasisRef: stringSchema, coverageDigest: stringSchema }, ["checkId", "verifierBasisRef", "coverageDigest"]); +const recoveryReview = objectWith({ providerPresetId: stringSchema }, ["providerPresetId"]); const planWorkflowStep = objectWith({ title: stringSchema, stageId: stringSchema, dependsOnStageIds: stringArraySchema, - handoffFromStageIds: stringArraySchema, recoveryVerification, + handoffFromStageIds: stringArraySchema, recoveryVerification, recoveryReview, ownerId: stringSchema, ownerLabel: stringSchema, requiredTools: stringArraySchema, requiredDecision: objectWith({ question: stringSchema, options: stringArraySchema, trigger: { enum: ["when_ready"] }, ballot: objectWith({ voterStageIds: stringArraySchema, quorum: integerSchema }, ["voterStageIds", "quorum"]) }, ["question", "options"]) }, ["title"]); @@ -371,11 +372,12 @@ function schemaFor(method: LingAppServerMethod): LingAppServerMethodSchema { case "workItem/stage/recover": { const subject = { workflowStepId: stringSchema, blockerId: stringSchema, failureEventId: stringSchema, operationId: stringSchema }; return { - params: objectWith({ ...workItemTarget, ...subject, planRevision: stringSchema, expectedWorkItemRevision: integerSchema, idempotencyKey: stringSchema }, + params: objectWith({ ...workItemTarget, ...subject, planRevision: stringSchema, expectedWorkItemRevision: integerSchema, + evidenceKind: { enum: ["verification", "review"] }, idempotencyKey: stringSchema }, ["workItemId", ...Object.keys(subject), "planRevision", "expectedWorkItemRevision", "idempotencyKey"]), result: objectWith({ cwd: stringSchema, workItemRevision: integerSchema, replayed: booleanSchema, receipt: objectWith({ id: stringSchema, ...subject, failedRunId: stringSchema, failedAt: stringSchema, - candidateDigest: stringSchema, committedAt: stringSchema }, + candidateDigest: stringSchema, committedAt: stringSchema, reviewRevision: stringSchema }, ["id", ...Object.keys(subject), "failedRunId", "failedAt", "candidateDigest", "committedAt"]), }, ["cwd", "workItemRevision", "replayed", "receipt"]), }; diff --git a/packages/contracts/src/app-server.ts b/packages/contracts/src/app-server.ts index 3e4daa44f..eae2a3098 100644 --- a/packages/contracts/src/app-server.ts +++ b/packages/contracts/src/app-server.ts @@ -798,6 +798,7 @@ export interface LingAppServerWorkItemWorkflowStages { readonly usage?: LingAppServerWorkflowUsage; readonly progress?: LingAppServerWorkflowStageProgress; readonly recoveryVerification?: import("./threads.js").GoalVerificationRequirement; + readonly recoveryReview?: import("./threads.js").StageRecoveryReviewRequirement; readonly updatedAt: string; readonly runId?: string; readonly outputArtifactId?: string; @@ -844,7 +845,7 @@ export interface LingAppServerWorkflowGoalBudget { export interface LingAppServerWorkflowStageProgress { readonly lastVerified?: { readonly kind: "stage_completed" | "plan_change_accepted"; readonly id: string; readonly committedAt: string } - | ({ readonly kind: "verification_passed"; readonly id: string } & LingAppServerStageRecoveryEvidence); + | ({ readonly kind: "verification_passed" | "review_passed"; readonly id: string } & LingAppServerStageRecoveryEvidence); readonly blocker?: { readonly id: string; readonly kind: "provider" | "execution_loop"; @@ -864,6 +865,7 @@ export interface LingAppServerStageRecoveryEvidence { readonly failedRunId: string; readonly failedAt: string; readonly operationId: string; + readonly reviewRevision?: string; readonly candidateDigest: string; readonly committedAt: string; } @@ -877,6 +879,7 @@ export interface LingAppServerStageRecoverParams { readonly blockerId: string; readonly failureEventId: string; readonly operationId: string; + readonly evidenceKind?: "verification" | "review"; readonly idempotencyKey: string; } diff --git a/packages/contracts/src/threads.ts b/packages/contracts/src/threads.ts index bb72a1ff8..9455595d5 100644 --- a/packages/contracts/src/threads.ts +++ b/packages/contracts/src/threads.ts @@ -289,6 +289,7 @@ export interface ProposedPlanWorkflowStepPreview { readonly handoffFromStageIds?: readonly string[]; readonly requiredDecision?: ProposedPlanStageDecision; readonly recoveryVerification?: GoalVerificationRequirement; + readonly recoveryReview?: StageRecoveryReviewRequirement; readonly requiredTools?: readonly RunTool[]; readonly ownerId?: string; readonly ownerLabel?: string; @@ -297,6 +298,10 @@ export interface ProposedPlanWorkflowStepPreview { readonly sourceSignals?: readonly string[]; } +export interface StageRecoveryReviewRequirement { + readonly providerPresetId: string; +} + export interface ProposedPlanStageDecision { readonly question: string; readonly options: readonly string[]; diff --git a/packages/core/src/proposed-plan-mutation.ts b/packages/core/src/proposed-plan-mutation.ts index dbaccb250..cad805c68 100644 --- a/packages/core/src/proposed-plan-mutation.ts +++ b/packages/core/src/proposed-plan-mutation.ts @@ -1,5 +1,5 @@ import { createHash } from "node:crypto"; -import type { ProposedPlanStageDecision, ProposedPlanWorkflowStepPreview } from "@ling-stack/contracts"; +import type { ProposedPlanStageDecision, ProposedPlanWorkflowStepPreview, StageRecoveryReviewRequirement } from "@ling-stack/contracts"; import type { CreateProposedPlanArtifactInput, ProposedPlanArtifact, UpdateProposedPlanArtifactInput } from "./run-types.js"; export type ProposedPlanArtifactAction = "accept" | "refine" | "save" | "archive" | "convert-workflow"; @@ -63,6 +63,15 @@ export function planStageBallotKey(planId: string, stageId: string, decision: Pr decision.ballot?.voterStageIds, decision.ballot?.quorum])).digest("hex"); } +export function parseStageRecoveryReviewRequirement(value: unknown): StageRecoveryReviewRequirement { + const review = value as Partial | null; + if (!review || typeof review.providerPresetId !== "string" || !review.providerPresetId.trim() + || review.providerPresetId.length > 200 || /[\r\n\0]/u.test(review.providerPresetId)) { + throw new ProposedPlanMutationError("bad_workflow_recovery_review", "Supply the stage's recovery Review provider preset.", 400); + } + return { providerPresetId: review.providerPresetId.trim() }; +} + export const proposedPlanContentFields = ["channelId", "goalId", "sourceAgentId", "ownerAgentId", "sourceTurnId", "sourceMessageId", "sourceRunId", "parentPlanId", "planGroupId", "version", "title", "bodyMarkdown"] as const; export const proposedPlanAcceptanceFields = ["acceptedAt", "convertedAt", "acceptedTaskId", "acceptedWorkflowId", diff --git a/packages/core/src/storage/sqlite/channel-workflow-mappers.ts b/packages/core/src/storage/sqlite/channel-workflow-mappers.ts index f03f1a6a1..76e685e6d 100644 --- a/packages/core/src/storage/sqlite/channel-workflow-mappers.ts +++ b/packages/core/src/storage/sqlite/channel-workflow-mappers.ts @@ -1,5 +1,5 @@ import type { SQLOutputValue } from "node:sqlite"; -import { parseProposedPlanStageDecision } from "../../proposed-plan-mutation.js"; +import { parseProposedPlanStageDecision, parseStageRecoveryReviewRequirement } from "../../proposed-plan-mutation.js"; import { parseGoalVerificationRequirement } from "../../goal-supervision.js"; import { isWorkflowStepStartOwnerV1 } from "../../workflow-step-start-owner.js"; import { isWorkflowStepSafetyPlanV1 } from "../../workflow-safety-plan.js"; @@ -274,6 +274,7 @@ function parseOptionalChannelWorkflowStepMetadata(value: string | undefined): Ch planStageId: readOptionalStringValue(record.planStageId), requiredPlanDecision: record.requiredPlanDecision === undefined ? undefined : parseProposedPlanStageDecision(record.requiredPlanDecision), recoveryVerification: record.recoveryVerification === undefined ? undefined : parseGoalVerificationRequirement(record.recoveryVerification), + recoveryReview: record.recoveryReview === undefined ? undefined : parseStageRecoveryReviewRequirement(record.recoveryReview), planBallotKey: readOptionalStringValue(record.planBallotKey), requiredPlanHandoffStepIds: readOptionalStringListValue(record.requiredPlanHandoffStepIds), dependsOnStepIds: readOptionalStringListValue(record.dependsOnStepIds), diff --git a/packages/core/src/storage/sqlite/channel-workflow-store.ts b/packages/core/src/storage/sqlite/channel-workflow-store.ts index bb722fcd8..e168d4b53 100644 --- a/packages/core/src/storage/sqlite/channel-workflow-store.ts +++ b/packages/core/src/storage/sqlite/channel-workflow-store.ts @@ -1476,6 +1476,7 @@ export class SqliteChannelWorkflowStore { dependsOnStepIds: existing.metadata.dependsOnStepIds, requiredPlanDecision: existing.metadata.requiredPlanDecision, recoveryVerification: existing.metadata.recoveryVerification, + recoveryReview: existing.metadata.recoveryReview, planBallotKey: existing.metadata.planBallotKey, requiredPlanHandoffStepIds: existing.metadata.requiredPlanHandoffStepIds, requiredTools: existing.metadata.requiredTools, diff --git a/packages/core/src/storage/sqlite/proposed-plan-action-store.ts b/packages/core/src/storage/sqlite/proposed-plan-action-store.ts index 5de07baba..9ea5fe28f 100644 --- a/packages/core/src/storage/sqlite/proposed-plan-action-store.ts +++ b/packages/core/src/storage/sqlite/proposed-plan-action-store.ts @@ -1,7 +1,7 @@ import { createWorkflowParticipantAuthorityV1 } from "@ling-stack/contracts"; import { createProposedPlanArtifactId, type ProposedPlanArtifact, type RunStore } from "../../run-types.js"; import { DEFAULT_WORKSPACE_ID } from "../../workspace-types.js"; -import { assertProposedPlanRevision, assertProposedPlanSnapshot, parseProposedPlanStageDecision, planStageBallotKey, proposedPlanHasAcceptance, ProposedPlanMutationError, +import { assertProposedPlanRevision, assertProposedPlanSnapshot, parseProposedPlanStageDecision, parseStageRecoveryReviewRequirement, planStageBallotKey, proposedPlanHasAcceptance, ProposedPlanMutationError, type ApplyProposedPlanArtifactActionInput, type ProposedPlanArtifactActionResult, type ProposedPlanWorkflowStepPreviewInput } from "../../proposed-plan-mutation.js"; import type { SqliteStoreContext } from "./store-context.js"; @@ -95,6 +95,7 @@ export class SqliteProposedPlanActionStore { ...(preview?.handoffFromStageIds?.length ? { requiredPlanHandoffStepIds: preview.handoffFromStageIds.map(id => stepIds.get(id)!) } : {}), ...(preview?.requiredDecision ? { requiredPlanDecision: preview.requiredDecision } : {}), ...(preview?.recoveryVerification ? { recoveryVerification: preview.recoveryVerification } : {}), + ...(preview?.recoveryReview ? { recoveryReview: parseStageRecoveryReviewRequirement(preview.recoveryReview) } : {}), ...(preview?.requiredTools ? { requiredTools: preview.requiredTools } : {}), ...(ballot ? { planBallotKey: ballot.key, requiredTools: [], policy: { onRunFailed: "skip_if_optional", onRunCancelled: "skip_if_optional", @@ -209,7 +210,8 @@ function planStageBallots(planId: string, previews: readonly ProposedPlanWorkflo function orderWorkflowStages(titles: readonly string[], previews: readonly ProposedPlanWorkflowStepPreviewInput[]): readonly number[] { const positions = titles.map((_, index) => index); if (!previews.some(stage => stage.stageId !== undefined || stage.dependsOnStageIds !== undefined - || stage.requiredDecision !== undefined || stage.handoffFromStageIds !== undefined || stage.recoveryVerification !== undefined)) return positions; + || stage.requiredDecision !== undefined || stage.handoffFromStageIds !== undefined + || stage.recoveryVerification !== undefined || stage.recoveryReview !== undefined)) return positions; const invalid = (message: string) => new ProposedPlanMutationError("bad_workflow_stage_dependencies", message, 400); if (titles.length !== previews.length || titles.length > 50) throw invalid("Provide one preview per stage, up to 50 stages."); const stages = new Map(); @@ -217,6 +219,9 @@ function orderWorkflowStages(titles: readonly string[], previews: readonly Propo if (!stage.stageId || !/^[a-zA-Z0-9][a-zA-Z0-9_-]{0,63}$/u.test(stage.stageId) || stages.has(stage.stageId) || stage.title !== titles[index]) throw invalid("Workflow stages require unique identifiers and matching titles."); if (stage.requiredDecision !== undefined) parseProposedPlanStageDecision(stage.requiredDecision); + if (stage.recoveryReview !== undefined && stage.recoveryVerification !== undefined) { + throw new ProposedPlanMutationError("bad_workflow_recovery_review", "Choose one recovery evidence requirement per stage.", 400); + } stages.set(stage.stageId, index); } const ordered = new Set(); diff --git a/packages/core/src/storage/sqlite/work-item-workflow-progress.ts b/packages/core/src/storage/sqlite/work-item-workflow-progress.ts index 1521889f3..5b17915a7 100644 --- a/packages/core/src/storage/sqlite/work-item-workflow-progress.ts +++ b/packages/core/src/storage/sqlite/work-item-workflow-progress.ts @@ -35,7 +35,7 @@ export function readWorkItemStageProgress(context: SqliteStoreContext, item: Wor : undefined; const planProgressAt = lastVerified?.committedAt ?? ""; const recoveries = new Map(); - if (step.metadata?.recoveryVerification && item.planRevision) { + if ((step.metadata?.recoveryVerification || step.metadata?.recoveryReview) && item.planRevision) { const receipts = db.prepare(` SELECT id, content FROM work_item_evidence WHERE workspace_id=? AND work_item_id=? AND kind='stage_recovery_ref' AND subject_revision=? @@ -47,7 +47,7 @@ export function readWorkItemStageProgress(context: SqliteStoreContext, item: Wor if (recoveries.has(recovery.blockerId)) continue; recoveries.set(recovery.blockerId, recovery); if (recovery.committedAt > (lastVerified?.committedAt ?? "")) { - lastVerified = { kind: "verification_passed", id: readString(receipt, "id"), ...recovery }; + lastVerified = { kind: recovery.reviewRevision ? "review_passed" : "verification_passed", id: readString(receipt, "id"), ...recovery }; } } } diff --git a/packages/core/src/workflow-step-start-owner.ts b/packages/core/src/workflow-step-start-owner.ts index 7fb4bc9be..d0115cdb6 100644 --- a/packages/core/src/workflow-step-start-owner.ts +++ b/packages/core/src/workflow-step-start-owner.ts @@ -129,6 +129,7 @@ export function workflowStepStartAuthorityBasis(store: WorkflowStepStartReadStor requirement: metadata?.delegatedRequirement, dependsOnStepIds: metadata?.dependsOnStepIds, planStageId: metadata?.planStageId, requiredPlanDecision: metadata?.requiredPlanDecision, recoveryVerification: metadata?.recoveryVerification, + ...(metadata?.recoveryReview ? { recoveryReview: metadata.recoveryReview } : {}), dependencyMode: metadata?.dependencyMode, gates: metadata?.gates, approvalGate: metadata?.approvalGate, policy: metadata?.policy, requiredTools: metadata?.requiredTools, runnerId: metadata?.requestedRunnerId, sideEffectClass: metadata?.sideEffectClass, parallelPolicy: metadata?.parallelPolicy, diff --git a/packages/core/src/workspace-types.ts b/packages/core/src/workspace-types.ts index 1861c4d6e..790cfc49d 100644 --- a/packages/core/src/workspace-types.ts +++ b/packages/core/src/workspace-types.ts @@ -2426,6 +2426,7 @@ export interface ChannelWorkflowStepMetadata { readonly planStageId?: string; readonly requiredPlanDecision?: import("@ling-stack/contracts").ProposedPlanStageDecision; readonly recoveryVerification?: import("@ling-stack/contracts").GoalVerificationRequirement; + readonly recoveryReview?: import("@ling-stack/contracts").StageRecoveryReviewRequirement; readonly planBallotKey?: string; readonly requiredPlanHandoffStepIds?: readonly string[]; readonly dependsOnStepIds?: readonly string[]; diff --git a/packages/daemon/src/features/channels/workflows.ts b/packages/daemon/src/features/channels/workflows.ts index 56565c7f7..e5aa16477 100644 --- a/packages/daemon/src/features/channels/workflows.ts +++ b/packages/daemon/src/features/channels/workflows.ts @@ -1103,8 +1103,9 @@ export async function prepareWorkflowStepStart( return fail(unavailableHandoffRecipient.statusCode, unavailableHandoffRecipient.code, unavailableHandoffRecipient.message); } } - if (step.metadata?.recoveryVerification && !await workItemStageRecoveryCandidateCurrent(store, step, runRequestBase.cwd)) { - return fail(409, "work_item_stage_candidate_stale", "The recovered stage needs a trusted check for its current candidate."); + if ((step.metadata?.recoveryVerification || step.metadata?.recoveryReview) + && !await workItemStageRecoveryCandidateCurrent(store, step, runRequestBase.cwd)) { + return fail(409, "work_item_stage_candidate_stale", "The recovered stage needs current evidence for its candidate."); } const begun = store.beginChannelWorkflowStepStart({ workflowStepId: step.id, expected: step, leaseId: lease.id, now: new Date().toISOString(), diff --git a/packages/daemon/src/features/runs/thread-routes.ts b/packages/daemon/src/features/runs/thread-routes.ts index 29ff1c88c..f0af8c8a7 100644 --- a/packages/daemon/src/features/runs/thread-routes.ts +++ b/packages/daemon/src/features/runs/thread-routes.ts @@ -38,6 +38,7 @@ import { type ProposedPlanArtifactStatus, type ProposedPlanWorkflowStepPreviewInput, parseGoalVerificationRequirement, + parseStageRecoveryReviewRequirement, type RunEventEnvelope, type RunSession, type RunStore, @@ -2544,6 +2545,7 @@ function readOptionalWorkflowStepPreviews( handoffFromStageIds: readOptionalWorkflowStageDependencies(item, "handoffFromStageIds"), requiredDecision: item.requiredDecision === undefined ? undefined : parseProposedPlanStageDecision(item.requiredDecision), recoveryVerification, + recoveryReview: item.recoveryReview === undefined ? undefined : parseStageRecoveryReviewRequirement(item.recoveryReview), ownerId: readOptionalString(item, "ownerId")?.trim() || undefined, ownerLabel: readOptionalString(item, "ownerLabel")?.trim() || undefined, ownerConfidence: readOptionalWorkflowOwnerConfidence(item, "ownerConfidence"), diff --git a/packages/daemon/src/features/work-items/stage-handoff-candidates.ts b/packages/daemon/src/features/work-items/stage-handoff-candidates.ts index 23e22b9c6..8a3a79d48 100644 --- a/packages/daemon/src/features/work-items/stage-handoff-candidates.ts +++ b/packages/daemon/src/features/work-items/stage-handoff-candidates.ts @@ -1,5 +1,6 @@ import { readWorkflowStageHandoff, type ChannelWorkflowStep, type RunStore } from "@ling-stack/core"; import { captureCodeAssessmentSnapshot } from "../code-assessments/snapshot.js"; +import { readStageRecoveryReview } from "./stage-recovery-review.js"; import { readWorkItemWorkflowBinding } from "./workflow-stages.js"; export async function readCompleteHandoffCandidate(cwd: string): Promise { @@ -30,16 +31,24 @@ export async function workItemHandoffCandidatesCurrent(store: RunStore, step: Ch export async function workItemStageRecoveryCandidateCurrent(store: RunStore, step: ChannelWorkflowStep, cwd: string): Promise { const binding = readWorkItemWorkflowBinding(store, step.workflowId); - const readRecovery = () => { - const item = binding && store.getWorkItem(binding.workItemId); + const readItem = () => binding && store.getWorkItem(binding.workItemId); + const readRecovery = (item = readItem()) => { const recovery = item && store.getWorkItemStageProgress(item, step)?.lastVerified; - return recovery?.kind === "verification_passed" ? recovery : undefined; + return recovery?.kind === "verification_passed" || recovery?.kind === "review_passed" ? recovery : undefined; }; const recovery = readRecovery(); if (!recovery) return true; const source = store.getRun(recovery.failedRunId); const latest = step.runId ? store.getRun(step.runId) : undefined; if (latest?.startedAt && latest.startedAt > recovery.committedAt) return true; - return source?.cwd === cwd && await readCompleteHandoffCandidate(cwd) === recovery.candidateDigest - && readRecovery()?.id === recovery.id; + if (source?.cwd !== cwd || await readCompleteHandoffCandidate(cwd) !== recovery.candidateDigest) return false; + const item = readItem(); + if (readRecovery(item)?.id !== recovery.id) return false; + if (!recovery.reviewRevision) return true; + const requirement = step.metadata?.recoveryReview; + const proof = requirement && item?.planRevision && readStageRecoveryReview(store, { + operationId: recovery.operationId, workItemId: item.id, planRevision: item.planRevision, + controlGeneration: item.control.generation, requirement, after: recovery.failedAt, cwd, + }); + return Boolean(proof && proof.reviewRevision === recovery.reviewRevision && proof.candidateDigest === recovery.candidateDigest); } diff --git a/packages/daemon/src/features/work-items/stage-recovery-review.ts b/packages/daemon/src/features/work-items/stage-recovery-review.ts new file mode 100644 index 000000000..9ad655549 --- /dev/null +++ b/packages/daemon/src/features/work-items/stage-recovery-review.ts @@ -0,0 +1,34 @@ +import type { StageRecoveryReviewRequirement } from "@ling-stack/contracts"; +import type { RunStore } from "@ling-stack/core"; + +export function readStageRecoveryReview(store: RunStore, input: { + readonly operationId: string; + readonly workItemId: string; + readonly planRevision: string; + readonly controlGeneration: number; + readonly requirement: StageRecoveryReviewRequirement; + readonly after: string; + readonly cwd: string; +}): { readonly candidateDigest: string; readonly reviewRevision: string } | undefined { + if (!input.operationId.startsWith("review_assessment_")) return undefined; + const assessmentId = input.operationId.slice("review_".length); + const detail = store.getCodeAssessment(assessmentId); + if (!detail) return undefined; + const { assessment, findings, snapshot } = detail; + // Both callers recapture the candidate before accepting this proof. A Review + // without a finding update or a subsequent assessment may have no freshness record. + if (assessment.kind !== "review" || assessment.reviewFocus || assessment.instructions + || assessment.status !== "completed" || assessment.freshness && assessment.freshness.state !== "current" + || assessment.reviewRules?.omitted.length + || assessment.workItem?.workItemId !== input.workItemId || assessment.workItem.acceptedPlanRevision !== input.planRevision + || assessment.workItem.controlGeneration !== input.controlGeneration || assessment.providerPresetId !== input.requirement.providerPresetId + || snapshot.target.type !== "working_tree" || snapshot.coverage !== "complete" || snapshot.digest !== assessment.snapshotDigest + || snapshot.capturedAt <= input.after || !assessment.runId || !assessment.reportArtifactId + || findings.some(finding => (finding.disposition !== "resolved" && finding.disposition !== "dismissed") + || finding.closeReason === "accepted_risk" || finding.freshnessState !== "current")) return undefined; + const run = store.getRun(assessment.runId); + const report = store.getArtifact(assessment.reportArtifactId); + if (run?.status !== "succeeded" || run.cwd !== input.cwd || run.providerPresetId !== input.requirement.providerPresetId + || report?.runId !== run.id) return undefined; + return { candidateDigest: snapshot.digest, reviewRevision: assessment.updatedAt }; +} diff --git a/packages/daemon/src/features/work-items/workflow-stages.ts b/packages/daemon/src/features/work-items/workflow-stages.ts index 43d638425..29e2a30c4 100644 --- a/packages/daemon/src/features/work-items/workflow-stages.ts +++ b/packages/daemon/src/features/work-items/workflow-stages.ts @@ -87,6 +87,7 @@ export function readWorkItemWorkflowStages(store: RunStore, item: WorkItem, incl usage: step.metadata?.planStageId ? usage?.byStage.get(step.metadata.planStageId) : usage?.byStep.get(step.id), progress: store.getWorkItemStageProgress(item, step), ...(step.metadata?.recoveryVerification ? { recoveryVerification: step.metadata.recoveryVerification } : {}), + ...(step.metadata?.recoveryReview ? { recoveryReview: step.metadata.recoveryReview } : {}), briefBasis: readStageBriefBasis(store, step), ...(retryBudget ? { retryBudget } : {}), decision: readStageDecision(store, item.id, item.planRevision!, binding.planId, step), diff --git a/packages/daemon/src/server/app-server-mcp.ts b/packages/daemon/src/server/app-server-mcp.ts index 869604476..9f68282db 100644 --- a/packages/daemon/src/server/app-server-mcp.ts +++ b/packages/daemon/src/server/app-server-mcp.ts @@ -312,9 +312,10 @@ export async function runLingAppServerMcp( annotations: { readOnlyHint: true, destructiveHint: false }, }, async params => describe(await client.listNativeWorkIntake(params))); if (methods.has("workItem/stage/recover")) server.registerTool("ling_work_item_stage_recover", { - description: "Recover a stalled stage using the accepted Plan's trusted verification for its current failure event and candidate.", + description: "Recover a stalled stage using the accepted Plan's Verify or Review evidence for its current failure and candidate.", inputSchema: z.strictObject({ workItemId: objectId, workflowStepId: objectId, planRevision: objectId, blockerId: objectId, - failureEventId: objectId, operationId: objectId, expectedWorkItemRevision: z.number().int().positive(), idempotencyKey: requestKey }), + failureEventId: objectId, operationId: objectId, evidenceKind: z.enum(["verification", "review"]).optional(), + expectedWorkItemRevision: z.number().int().positive(), idempotencyKey: requestKey }), annotations: { idempotentHint: true, destructiveHint: false }, }, async params => describe(await client.recoverWorkItemStage(params))); if (methods.has("workItem/deliberation/evaluate")) server.registerTool("ling_deliberation_evaluate", { diff --git a/packages/daemon/src/server/app-server-stage-recovery.ts b/packages/daemon/src/server/app-server-stage-recovery.ts index 8c3fc6425..a34f1ef48 100644 --- a/packages/daemon/src/server/app-server-stage-recovery.ts +++ b/packages/daemon/src/server/app-server-stage-recovery.ts @@ -8,6 +8,7 @@ import type { import type { ControlPlaneEvent, RunStore } from "@ling-stack/core"; import { HttpError } from "../errors.js"; import { readCompleteHandoffCandidate } from "../features/work-items/stage-handoff-candidates.js"; +import { readStageRecoveryReview } from "../features/work-items/stage-recovery-review.js"; import type { ActiveRunRegistry } from "../runtime/active-runs.js"; import { continuationSourceReady } from "../runtime/continuation-source-barrier.js"; import { AppServerCollaborationError } from "./app-server-collaboration.js"; @@ -19,6 +20,7 @@ export async function recoverAppServerStage( const item = store.getWorkItem(workItemId); if (!item) throw new AppServerCollaborationError("work_item_not_found", "The Work Item is unavailable."); const cwd = store.paths.cwd; + const useReview = input.evidenceKind === "review"; const id = `work_item_stage_recovery_${operationId}`; const key = `stage-recovery:${input.idempotencyKey}`; const replay = (): LingAppServerStageRecoverResult | undefined => { @@ -28,9 +30,9 @@ export async function recoverAppServerStage( throw new AppServerCollaborationError("idempotency_conflict", "The recovery key was used for another operation."); } const receipt = JSON.parse(prior.content) as LingAppServerStageRecoverResult["receipt"]; - if (prior.id !== id || prior.subjectRevision !== planRevision + if (prior.id !== id || prior.subjectRevision !== planRevision || Boolean(receipt.reviewRevision) !== useReview || receipt.workflowStepId !== workflowStepId || receipt.blockerId !== blockerId || receipt.failureEventId !== failureEventId) { - throw new AppServerCollaborationError("idempotency_conflict", "The recovery key was used with a different stage or verification."); + throw new AppServerCollaborationError("idempotency_conflict", "The recovery key was used with a different stage or evidence."); } return { cwd, receipt, replayed: true, workItemRevision: store.getWorkItem(workItemId)?.revision ?? item.revision }; }; @@ -50,7 +52,8 @@ export async function recoverAppServerStage( } const progress = store.getWorkItemStageProgress(current, step); const blocker = progress?.blocker; - const recovered = progress?.lastVerified?.kind === "verification_passed" ? progress.lastVerified : undefined; + const lastVerified = progress?.lastVerified; + const recovered = lastVerified?.kind === "verification_passed" || lastVerified?.kind === "review_passed" ? lastVerified : undefined; const lastRunId = blocker?.status === "stalled" && blocker.id === blockerId && blocker.sourceEventId === failureEventId ? blocker.lastRunId : undefined; const replacesRecovery = recovered?.blockerId === blockerId && recovered.failureEventId === failureEventId; @@ -66,24 +69,33 @@ export async function recoverAppServerStage( } const failedAt = run.endedAt; const after = replacesRecovery ? recovered!.committedAt : failedAt; + if (useReview) { + const requirement = step.metadata?.recoveryReview; + const proof = requirement && !step.metadata?.recoveryVerification && readStageRecoveryReview(store, { + operationId, workItemId, planRevision, controlGeneration: current.control.generation, requirement, after, cwd: run.cwd, + }); + if (!proof) throw reviewRequired(); + return { failedRunId, failedAt, candidateCwd: run.cwd, ...proof }; + } const requirement = step.metadata?.recoveryVerification; if (!requirement) throw verificationRequired(); const candidateDigest = recoveryCandidate(store, input, requirement, after, run.cwd); if (!candidateDigest) throw verificationRequired(); - return { failedRunId, failedAt, candidateCwd: run.cwd, candidateDigest }; + return { failedRunId, failedAt, candidateCwd: run.cwd, candidateDigest, reviewRevision: undefined }; }; const basis = readBasis(); const candidate = await readCompleteHandoffCandidate(basis.candidateCwd); const committed = replay(); if (committed) return committed; if (candidate !== basis.candidateDigest) { - throw new HttpError(409, "work_item_stage_candidate_stale", "The verified stage candidate changed."); + throw new HttpError(409, "work_item_stage_candidate_stale", "The stage candidate changed after the recovery evidence was produced."); } if (store.getWorkItemEvidence(id)) { - throw new AppServerCollaborationError("idempotency_conflict", "This verification already has a stage recovery receipt."); + throw new AppServerCollaborationError("idempotency_conflict", "This operation already has a stage recovery receipt."); } const now = new Date().toISOString(); const receipt = { id, workflowStepId, blockerId, failureEventId, operationId, failedAt: basis.failedAt, + ...(basis.reviewRevision ? { reviewRevision: basis.reviewRevision } : {}), failedRunId: basis.failedRunId, candidateDigest: basis.candidateDigest, committedAt: now }; const result = store.appendWorkItemEvidence({ id, workItemId, expectedWorkItemRevision: input.expectedWorkItemRevision, idempotencyKey: key, @@ -91,11 +103,13 @@ export async function recoverAppServerStage( visibility: "owner", sourceRefs: [ { type: "workflow_step", id: workflowStepId, revision: planRevision }, { type: "run_event", id: failureEventId }, - { type: "verification", id: operationId, digest: basis.candidateDigest }, + { type: useReview ? "review" : "verification", id: operationId, digest: basis.candidateDigest, + ...(basis.reviewRevision ? { revision: basis.reviewRevision } : {}) }, ], assertCurrent: () => { const current = readBasis(); - if (current.candidateDigest !== basis.candidateDigest || current.candidateCwd !== basis.candidateCwd) throw verificationRequired(); + if (current.candidateDigest !== basis.candidateDigest || current.candidateCwd !== basis.candidateCwd + || current.reviewRevision !== basis.reviewRevision) throw useReview ? reviewRequired() : verificationRequired(); }, }, now, { cwd, @@ -108,6 +122,10 @@ export async function recoverAppServerStage( return { cwd, receipt, replayed: result.status === "replayed", workItemRevision: result.workItemRevision, event: result.event }; } +function reviewRequired(): HttpError { + return new HttpError(409, "work_item_stage_review_required", "Supply a completed current Review from the accepted Plan's reviewer with its findings cleared."); +} + function recoveryCandidate(store: RunStore, input: LingAppServerStageRecoverParams, requirement: GoalVerificationRequirement, after: string, cwd: string): string | undefined { const stored = store.getAppServerState("verify_operation", input.operationId)?.payload as diff --git a/packages/daemon/src/server/rpc.ts b/packages/daemon/src/server/rpc.ts index 33c8e8a6f..60331e17a 100644 --- a/packages/daemon/src/server/rpc.ts +++ b/packages/daemon/src/server/rpc.ts @@ -1542,13 +1542,17 @@ class RpcConnection { idempotencyKey: readStringField(record, "idempotencyKey"), }; const expectedWorkItemRevision = readIntegerField(record, "expectedWorkItemRevision", "expectedWorkItemRevision"); + const evidenceKind = readOptionalStringField(record, "evidenceKind"); + if (evidenceKind !== undefined && evidenceKind !== "verification" && evidenceKind !== "review") { + throw rpcError(-32602, "invalid_params", "Choose verification or review as the recovery evidence kind."); + } if (expectedWorkItemRevision < 1 || input.idempotencyKey.length > 200 || Object.values(input).some(value => value.length > 256 || !value.trim() || /[\r\n\0]/u.test(value))) { throw rpcError(-32602, "invalid_params", "Supply the current stage, blocker and a bounded request key."); } try { const { event, ...result } = await recoverAppServerStage(this.context.storeRegistry.getStore(cwd), - { ...input, expectedWorkItemRevision }, this.context.activeRuns); + { ...input, expectedWorkItemRevision, evidenceKind }, this.context.activeRuns); if (event) { this.context.controlPlaneEvents.publish(trimOversizedEvent(event)); this.context.taskSupervisor.poke(cwd); diff --git a/packages/daemon/test/app-server-release-acceptance.test.ts b/packages/daemon/test/app-server-release-acceptance.test.ts index 7931a612b..158d3597b 100644 --- a/packages/daemon/test/app-server-release-acceptance.test.ts +++ b/packages/daemon/test/app-server-release-acceptance.test.ts @@ -4048,11 +4048,15 @@ test("parallel Work Item stages reserve their shared Goal budget before sending }); test("the same stage blocker survives reassignment and restart until a scoped Plan change is accepted", { timeout: 45_000 }, - t => exerciseStageBlockerRecovery(t, false)); + t => exerciseStageBlockerRecovery(t)); test("the same stage blocker survives reassignment and restart until trusted verification", { timeout: 45_000 }, - t => exerciseStageBlockerRecovery(t, true)); + t => exerciseStageBlockerRecovery(t, "verification")); +test("the same stage blocker requires the accepted Review and rechecks its findings before dispatch", { timeout: 45_000 }, + t => exerciseStageBlockerRecovery(t, "review")); -async function exerciseStageBlockerRecovery(t: TestContext, useVerification: boolean) { +async function exerciseStageBlockerRecovery(t: TestContext, evidenceKind?: "verification" | "review") { + const useVerification = evidenceKind === "verification"; + const useReview = evidenceKind === "review"; const provider = await startLoopbackPiProvider((_body: unknown, invocation: number) => invocation <= 2 ? { errorStatus: 400, errorCode: "invalid_request_error" } : { text: "Independent contract verified." }); @@ -4070,6 +4074,33 @@ async function exerciseStageBlockerRecovery(t: TestContext, useVerification: boo }, } : undefined); const target = { workItemId: item.id }; + let reviewCandidateDigest: string | undefined; + let reviewFinding = false; + const reviewProvider = useReview ? await startLoopbackPiProvider(() => ({ text: JSON.stringify({ + snapshotDigest: reviewCandidateDigest, summary: "Reviewed the updated compatibility contract.", + findings: reviewFinding ? [{ + title: "Review the updated value", body: "Confirm the expected value with callers.", + severity: "medium", confidence: "high", path: "contract.txt", side: "new", + startLine: 1, endLine: 1, evidence: "reviewed", + }] : [], + }) })) : undefined; + if (reviewProvider) t.after(() => reviewProvider.close()); + const recoveryReview = reviewProvider && { providerPresetId: addLoopbackPreset(fixture.getStore(), reviewProvider.baseUrl).id }; + const review = async (connection: typeof client, withFinding = false) => { + assert.ok(recoveryReview); + const { candidate } = await connection.call("changes/capture"); + reviewCandidateDigest = candidate.candidateDigest; + reviewFinding = withFinding; + const started = await connection.call("review/start", { + ...target, candidate, ...recoveryReview, idempotencyKey: randomUUID(), + }); + const result = await waitFor(async () => { + const status = await connection.call("review/status", { operationId: started.operationId }); + return ["queued", "running"].includes(status.status) ? undefined : status; + }); + assert.equal(result.status, "completed", JSON.stringify(result)); + return { ...result, candidateDigest: candidate.candidateDigest }; + }; const planVerification = async (connection: typeof client, checkId: string) => { const { candidate } = await connection.call<{ candidate: LingAppServerCandidateReference }>("changes/capture"); return connection.call("verify/plan", { ...target, threadId: thread.id, candidate, requestedChecks: [checkId] }); @@ -4088,16 +4119,20 @@ async function exerciseStageBlockerRecovery(t: TestContext, useVerification: boo }; const checkId = "contract-recovery"; let recoveryVerification: import("@ling-stack/contracts").GoalVerificationRequirement | undefined; - if (useVerification) { + if (evidenceKind) { const git = (...args: string[]) => execFileSync("git", args, { cwd: fixture.cwd, stdio: "ignore" }); await writeFile(join(fixture.cwd, ".gitignore"), ".ling-stack/\n"); await writeFile(join(fixture.cwd, "contract.txt"), "supported\n"); git("init", "-q"); git("add", ".gitignore", "contract.txt"); git("-c", "user.name=Fixture", "-c", "user.email=fixture@example.test", "commit", "-qm", "Contract fixture"); - const [check] = (await planVerification(client, checkId)).checks; - assert.ok(check?.verifierBasisRef && check.coverageDigest); - recoveryVerification = { checkId, verifierBasisRef: check.verifierBasisRef, coverageDigest: check.coverageDigest }; + if (useVerification) { + const [check] = (await planVerification(client, checkId)).checks; + assert.ok(check?.verifierBasisRef && check.coverageDigest); + recoveryVerification = { checkId, verifierBasisRef: check.verifierBasisRef, coverageDigest: check.coverageDigest }; + } else { + await writeFile(join(fixture.cwd, "contract.txt"), "reviewed\n"); + } } await client.call("thread/goal/set", { threadId: thread.id, objective: "Verify the compatibility contract", supervisionPolicy: { maxNoEvidenceContinuations: 1 } }); @@ -4144,7 +4179,7 @@ async function exerciseStageBlockerRecovery(t: TestContext, useVerification: boo const accepted = await connection.call("plan/accept", { mode: "workflow", threadId: thread.id, planId: draft.id, expectedRevision: draft.revision, workflowStepPreviews: [ - { title, stageId: "P01", ownerId: "teammate_builtin_qa", ownerLabel: "QA", recoveryVerification }, + { title, stageId: "P01", ownerId: "teammate_builtin_qa", ownerLabel: "QA", recoveryVerification, recoveryReview }, { title: "Prepare independent docs", stageId: "QA", ownerId: "teammate_builtin_engineer", ownerLabel: "Engineer" }, ], }); @@ -4168,7 +4203,7 @@ async function exerciseStageBlockerRecovery(t: TestContext, useVerification: boo assert.equal(original.recoveryOwnerId, "teammate_builtin_engineer"); const reassigned = await replace(client, plan.id, workflowId, 0, "Reassign the same contract check"); - const early = useVerification ? await verify(client, checkId) : undefined; + const early = useVerification ? await verify(client, checkId) : useReview ? await review(client) : undefined; const { stage: retryStage } = await read(); await startAndSettle(retryStage.stepId, "failed"); const stalled = (await read()).stage; @@ -4201,15 +4236,30 @@ async function exerciseStageBlockerRecovery(t: TestContext, useVerification: boo }; const recover = (operationId: string, connection = restored, idempotencyKey = "recover-stage") => connection.call( - "workItem/stage/recover", { ...basis, operationId, idempotencyKey }); - assert.deepEqual((await read(restored)).stage.recoveryVerification, recoveryVerification); - await assert.rejects(recover(early.operationId), { code: "work_item_stage_verification_required" }); - await assert.rejects(recover((await verify(restored, "unrelated-check")).operationId), { code: "work_item_stage_verification_required" }); + "workItem/stage/recover", { ...basis, operationId, evidenceKind, idempotencyKey }); + assert.deepEqual(afterRestart.stage.recoveryVerification, recoveryVerification); + assert.deepEqual(afterRestart.stage.recoveryReview, recoveryReview); + const evidenceRequired = useReview ? "work_item_stage_review_required" : "work_item_stage_verification_required"; + await assert.rejects(recover(early.operationId), { code: evidenceRequired }); + if (useVerification) { + await assert.rejects(recover((await verify(restored, "unrelated-check")).operationId), { code: evidenceRequired }); + } await assert.rejects(restored.call("workItem/evidence/append", { ...target, kind: "stage_recovery_ref", actorId: "local-user", content: "fake recovery", idempotencyKey: "fake-and-ignore", subjectRevision: basis.planRevision, }), { code: "invalid_params" }); - const proof = await verify(restored, checkId); + const reviewProof = useReview ? await review(restored, true) : undefined; + let findingRevision: string | undefined; + if (reviewProof) { + await assert.rejects(recover(reviewProof.operationId), { code: evidenceRequired }); + const closed = await restored.call("review/finding/update", { + assessmentId: reviewProof.assessmentId, findingId: reviewProof.findingIds[0], disposition: "resolved", + closeReason: "not_reproducible", reason: "The existing consumers permit the reviewed value.", + expectedRevision: reviewProof.revision, idempotencyKey: "clear-recovery-finding", + }); + findingRevision = closed.revision; + } + const proof = reviewProof ?? await verify(restored, checkId); const limitedSecret = randomBytes(32).toString("hex"); const { grant } = await restored.call<{ grant: LingAppServerGrant }>("server/grants/create", { label: "Stage observer and controller", scopes: ["observe", "control"], subject: { kind: "workItem", id: item.id }, @@ -4228,24 +4278,34 @@ async function exerciseStageBlockerRecovery(t: TestContext, useVerification: boo assert.deepEqual(results.map(result => result.replayed).sort(), [false, true]); let recovered = (await read(restored)).stage; assert.equal(recovered.progress?.lastVerified?.id, results[0].receipt.id); - assert.equal(recovered.progress?.lastVerified?.kind, "verification_passed"); + assert.equal(recovered.progress?.lastVerified?.kind, useReview ? "review_passed" : "verification_passed"); + assert.equal(results[0].receipt.reviewRevision, findingRevision); assert.equal(recovered.progress?.blocker, undefined); assert.deepEqual(recovered.retryBudget, stalled.retryBudget); await fixture.restart(); const reconnected = await fixture.connect(); assert.equal((await recover(proof.operationId, reconnected)).replayed, true); assert.deepEqual((await read(reconnected)).stage.progress, recovered.progress); + if (reviewProof) { + await reconnected.call("review/finding/update", { + assessmentId: reviewProof.assessmentId, findingId: reviewProof.findingIds[0], disposition: "open", + expectedRevision: findingRevision, idempotencyKey: "reopen-recovery-finding", + }); + const staleReview = await start(stalled.stepId); + assert.equal(staleReview.status, 409); + assert.equal((await staleReview.json()).error, "work_item_stage_candidate_stale"); + } await writeFile(unverifiedChange, "candidate changed after the receipt\n"); const staleStart = await start(stalled.stepId); assert.equal(staleStart.status, 409); assert.equal((await staleStart.json()).error, "work_item_stage_candidate_stale"); assert.equal(provider.requests.length, 3); - const freshProof = await verify(reconnected, checkId); + const freshProof = useReview ? await review(reconnected) : await verify(reconnected, checkId); const mcp = await connectReleaseMcp(t, fixture.transportOptions()); const refreshed = await mcp.callTool( "ling_work_item_stage_recover", { ...basis, expectedWorkItemRevision: results[0].workItemRevision, - operationId: freshProof.operationId, idempotencyKey: "recover-drifted-stage", + operationId: freshProof.operationId, evidenceKind, idempotencyKey: "recover-drifted-stage", }); assert.equal(refreshed.replayed, false); assert.equal(refreshed.receipt.candidateDigest, freshProof.candidateDigest); From fe7c2217536451ec6a156324686574c8ba42242e Mon Sep 17 00:00:00 2001 From: tianxiaochannel-oss88 Date: Tue, 24 Nov 2026 14:42:14 +0800 Subject: [PATCH 103/147] Record Review-based stage recovery acceptance --- docs/design/ling-app-server-implementation-plan.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/design/ling-app-server-implementation-plan.md b/docs/design/ling-app-server-implementation-plan.md index 43745e87b..e987cc64a 100644 --- a/docs/design/ling-app-server-implementation-plan.md +++ b/docs/design/ling-app-server-implementation-plan.md @@ -71,6 +71,7 @@ | O7/O9 决策检查点 | `workItem/deliberation/evaluate` 在当前草案或 Workflow 阶段核对检查点、选项、证据和参与人。缺意图、事实或交接材料会给出澄清、Verify 或交接修复;有实质取舍时保存建议,操作方可通过 App Server、SDK 或 MCP 接受、裁决或取消。Verify/Review 的事实争议需引用同工作项、同 Plan 和同候选的实际 Verify 执行。开轮和裁决复核当前候选。联调覆盖 Plan Mode 建议、在途争议转 Verify、并发只开一轮、重启重放、限域读取,以及草案、证据或候选变化后的旧裁决失效。该入口产生供草案或当前阶段参考的决策记录。声明式 Workflow 仍按已接受的条件执行投票和派发。 | | O7 定时协调轮次 | 已配置的 Automation 在同一事务中写入终态回执、轮次和事件。实际调度器从重启前的时段恢复。故障注入验证提交失败不会留下回执或轮次。回执重放复用原轮次。截止后生成简报和关闭事件,暂停的工作项产生跳过回执。已暂停、禁用或归档的 Automation 在「立即运行」和时段受理入口均返回 `automation_not_runnable`,保留既有记录。该用例启动的 Runner 数量为零。 | | O7/O9 阶段交接修复 | 源阶段修订更新后,已接受计划中的交接依赖仍保留原退回。真实 Daemon 回归覆盖省略退回回执、沿用旧候选或旧检查的拒绝,以及用当前结果包和可信检查并发接受。HTTP 与 App Server 返回同一接受回执,重启后复用退回与接受记录,QA 只启动一次。 | +| O7/O9 阶段停滞恢复 | 已接受的 Plan 可以为阶段指定可信 Verify 或绑定 Provider preset 的 Review 作为恢复证据。实际 Daemon 验收覆盖换人和重启后的同一阻塞、早于失败的 Review 或仍有打开项的 Review 被拒绝、两个连接复用同一恢复收据。重启后派发重新检查 Review 修订及当前候选。重开的发现项、候选漂移会阻止派发,补交当前候选的零发现项 Review 后可恢复。 | | O1 首次会话派发 | `workItem/accept` 可选定主执行会话,接单和首发意图同事务保存。正常会话 Run 创建核对该意图并原子更新 Work Item。脚本化 Pi Provider 验证了重启、两个并发受理、暂停恢复、实际派发一次,以及当前绑定阻止删除会话。Codex MCP 已提供同一创建和受理入口。 | 源码兼容用例由 `LING_APP_SERVER_PREVIOUS_BUILD` 指向已构建的上一版源码目录。`LING_APP_SERVER_CODEX_EXECUTABLE` 指向已安装的 Codex。两项均使用隔离状态和回环服务,配置 Pi Runner 使用脚本化 Provider。 [发行验收测试](../../packages/daemon/test/app-server-release-acceptance.test.ts) @@ -92,7 +93,7 @@ Windows 源码验收使用独立的 GitHub Actions 作业,启动真实 CLI std | A1、B1、C1、C2 | 全方法的 Schema 校验和更多宿主兼容组合。workspace、Thread、Work Item 的 grant 和 WSS 已接入。专用 TLS 监听器实测分离控制和答复权限,支持用户答复原回执与撤权。审批和答复仍需在其他宿主和实际远程部署验收。目标游标已绑定存储代次、授权代次和目标,本机兼容用例覆盖上一版源码与候选组合。 | | D1、D2、E1、E2 | 开工与 Pi 运行中的项目规则加载、显式 Claude 规则、两个开发 Skill、工作区 Verify、独立 verifier basis、托管工作树管理、候选改动分页、Turn 改动恢复、选中 hunk 转移和工作台浏览器验证报告已接入。各发行平台验证仍待完成。 | | F1、F2 | 普通会话 Handoff 的候选封存、Goal 预算承接与接手已接入。CLI `app-server codex-host --thread --state --view` 在回环地址提供双端会话视图。本机 Codex 0.171.0-alpha.13、实际 Ling Daemon 与受控 Provider 联调验证两端状态、Ling 在途排队、活跃 Codex Turn 指导、浏览器重连补齐、回执重放和审批提醒。故障回归覆盖原状态库升级、未写出的请求在重连后补投一次,以及已发出但缺少有效回执时保留待确认结果。Pi Host 预算路径的逐请求预留已使用受控 Provider 验证,仍需真实 Provider、隔离工作树和其他 Runner 的对应验收。 | -| O1、O3–O9 | GitHub 签名 webhook、轮询和显式接单归并至同一工作项。自动接单策略处理免打扰、并发、启动额度和派发前状态重查。现有 Task、AutomationRun 和同频道用户输入可显式关联工作项。已接受的计划能自动开启声明的阶段审议,并可等待当前 Workflow 结果包的交接回执。受影响阶段可单独暂停,后继阶段可显式引用已收敛或仍在途的独立成果,待执行阶段可接收定向消息和有原 Run 证据的 Agent 答复。工作项暂停期间拒绝新增定向消息。阶段客户端和支持协作工具的 Pi 阶段按 Run/Attempt 收发,Pi 在下一次模型输入接收消息和问答。Workflow 执行使用工作项重试上限,并可依据跨 Run 的结构化故障记录暂停单项阶段。可信 Verify 驱动的停滞恢复已接入并有定向回归。决策检查点支持计划前和在途阶段的建议、接受与手工裁决。剩余实现包括 Device Fabric 桥接、计划前多角色塑形、在途只读审议 Workflow、策略自动准入和裁决回接依赖,以及 Review 证据联动。完整 O9 仍需联合验收。 | +| O1、O3–O9 | GitHub 签名 webhook、轮询和显式接单归并至同一工作项。自动接单策略处理免打扰、并发、启动额度和派发前状态重查。现有 Task、AutomationRun 和同频道用户输入可显式关联工作项。已接受的计划能自动开启声明的阶段审议,并可等待当前 Workflow 结果包的交接回执。受影响阶段可单独暂停,后继阶段可显式引用已收敛或仍在途的独立成果,待执行阶段可接收定向消息和有原 Run 证据的 Agent 答复。工作项暂停期间拒绝新增定向消息。阶段客户端和支持协作工具的 Pi 阶段按 Run/Attempt 收发,Pi 在下一次模型输入接收消息和问答。Workflow 执行使用工作项重试上限,并可依据跨 Run 的结构化故障记录暂停单项阶段。可信 Verify 和已接受 Plan 指定的 Review 均可提供停滞恢复证据。决策检查点支持计划前和在途阶段的建议、接受与手工裁决。剩余实现包括 Device Fabric 桥接、计划前多角色塑形、在途只读审议 Workflow、策略自动准入和裁决回接依赖。完整 O9 仍需联合验收。 | | G | 独立恢复日志已验证 SQLite 快照恢复、撤权、旧游标失效和 GitHub 对账后派发。上一版源码通过同一套本地兼容验收。签名安装产物、实际远程 WSS、带独立检查 App 的 Ling 主动入队及三个真实 Provider 自研试点仍需对应环境的证据。macOS 打包预检需要当前打包输入的 Office 审查、对应 Electron/OS 的受限运行时审查和 gstack 平台资源。T01 离线预检可进入评审,真实试点仍需按 Framework Assurance 准入。 | ## 目标与开工顺序 From 7e23bc1191b14326a8d399cb355dc1f8b646705f Mon Sep 17 00:00:00 2001 From: tianxiaochannel-oss88 Date: Wed, 25 Nov 2026 03:54:11 +0800 Subject: [PATCH 104/147] Bridge Device Fabric work into App Server Work Items --- apps/web/src/i18n/locales/zh-CN.ts | 1 + apps/web/src/lib/work-items.ts | 1 + ...g-agent-operating-model-detailed-design.md | 4 +- .../ling-app-server-implementation-plan.md | 8 +- packages/api-client/src/app-server.ts | 17 ++ packages/api-client/test/app-server.test.ts | 27 ++- packages/contracts/src/app-server-schema.ts | 30 +++ packages/contracts/src/app-server.ts | 99 +++++++++ packages/contracts/src/work-items.ts | 1 + packages/core/src/app-server-state-types.ts | 2 +- packages/core/src/index.ts | 1 + .../core/src/work-item-deliberation-policy.ts | 21 ++ packages/core/src/work-item-device-bridge.ts | 195 ++++++++++++++++++ .../work-item-deliberation-policy.test.mjs | 11 + .../core/test/work-item-device-bridge.test.ts | 87 ++++++++ .../daemon/src/features/work-items/routes.ts | 1 + .../src/server/app-server-authorization.ts | 4 +- packages/daemon/src/server/app-server-mcp.ts | 22 +- packages/daemon/src/server/rpc.ts | 73 ++++++- .../test/app-server-device-bridge.test.ts | 63 ++++++ 20 files changed, 656 insertions(+), 12 deletions(-) create mode 100644 packages/core/src/work-item-device-bridge.ts create mode 100644 packages/core/test/work-item-device-bridge.test.ts create mode 100644 packages/daemon/test/app-server-device-bridge.test.ts diff --git a/apps/web/src/i18n/locales/zh-CN.ts b/apps/web/src/i18n/locales/zh-CN.ts index b05585316..7bcf50aee 100644 --- a/apps/web/src/i18n/locales/zh-CN.ts +++ b/apps/web/src/i18n/locales/zh-CN.ts @@ -3293,6 +3293,7 @@ export const zhCN = { "external_work_action": "外部动作", "approval": "审批", "run": "运行", + "device_task_graph_node": "设备任务节点", "manual": "手动", "task": "任务", "bash": "命令", diff --git a/apps/web/src/lib/work-items.ts b/apps/web/src/lib/work-items.ts index 34bd34ab8..9b8f399a2 100644 --- a/apps/web/src/lib/work-items.ts +++ b/apps/web/src/lib/work-items.ts @@ -34,6 +34,7 @@ export type WorkItemSourceType = | "external_work_action" | "approval" | "run" + | "device_task_graph_node" | "manual"; export type WorkItemWaitingReason = "approval" | "external" | "handoff" | "resource" | "user" | "scheduler" | "provider"; diff --git a/docs/design/ling-agent-operating-model-detailed-design.md b/docs/design/ling-agent-operating-model-detailed-design.md index 5663db042..2165bdc8c 100644 --- a/docs/design/ling-agent-operating-model-detailed-design.md +++ b/docs/design/ling-agent-operating-model-detailed-design.md @@ -2,7 +2,7 @@ - **Status** 主线已接入工作项接单、控制、证据与协作记录。其余运行时能力见 [实施计划](ling-app-server-implementation-plan.md#当前实现证据)。 - **Owner** Conversation、Core、Daemon、External Agent、GitHub Automation 与开发工具维护者 -- **Implementation status verified** 2026-11-22 against `origin/main@e6007992a` +- **Implementation status verified** 2026-11-25 against `origin/main@7b47c21ab` plus the App Server completion branch - **Document type** 跨域状态、授权、事件与恢复详细设计 - **Contract** [Ling Agent Operating Model](ling-agent-operating-model.md) - **Related contracts** [Ling Agent Session](ling-agent-session.md) · [Channel Team Operating System](channel-team-operating-system.md) · [Ling App Server Detailed Design](ling-app-server-detailed-design.md) · [GitHub Automation](github-automation.md) · [Ling Device Fabric](ling-device-fabric.md) @@ -127,7 +127,7 @@ Source normalization rules: - GitHub sources preserve provider delivery IDs and source revisions. Repository ID, subject kind and number identify the stable subject. Base and head SHA describe the PR revision and its evidence basis. - Automations use definition id, scheduled occurrence or monitor fingerprint and source revision. One occurrence or fingerprint can create at most one Work Item. - External Agents use caller id, caller task id, submission key and context digest. The same caller submission can be observed through more than one transport without duplication. -- Device Fabric nodes use graph id, node id, graph revision and owner-host execution id. The project Work Item references the owner journal instead of owning device effects. +- Device Fabric nodes use graph id, node id, graph revision and owner-host execution id. The project Work Item references the owner journal instead of owning device effects. The App Server Device Work Item Bridge persists this mapping and its receipts under the Work Item scope. `workItem/device/read` is observational. `workItem/device/bind` admits a graph/node owner mapping after the current Work Item control check. `workItem/device/receipt` accepts only the bound owner host, route generation and WorkUnit and retains `unknown` until an owner reconciliation receipt arrives. Normalization preserves untrusted content as bounded source data. It does not execute commands, parse source prose as policy, or grant tools. diff --git a/docs/design/ling-app-server-implementation-plan.md b/docs/design/ling-app-server-implementation-plan.md index e987cc64a..7a09b0d9b 100644 --- a/docs/design/ling-app-server-implementation-plan.md +++ b/docs/design/ling-app-server-implementation-plan.md @@ -2,7 +2,7 @@ - **状态** App Server 本机传输、Turn 控制与恢复、Verify 和 Federation 已通过定向验收。Agent Operating Model 已接入工作项接单、控制和协作记录。下文列出完整实施与发行仍需完成的工作包。 - **维护者** Contracts、Daemon、Runtime、API Client、CLI 与开发工具维护者 -- **核对基线** `origin/main@fe08a3346` +- **核对基线** `origin/main@7b47c21ab` - **类型** 开发准备、依赖顺序和验收计划 - **合同** [产品与架构设计](ling-app-server.md) · [详细设计](ling-app-server-detailed-design.md) - **代码与测试锚点** [Daemon RPC](../../packages/daemon/src/server/rpc.ts) · [控制面往返测试](../../packages/daemon/test/control-plane-api.test.mjs) · [会话受理收据](../../packages/daemon/test/conversation-submission-receipts.test.mjs) · [框架验收](ling-framework-complementary-implementation-plan.md) @@ -11,7 +11,7 @@ 当前支持回环 WebSocket、stdio JSONL、私有 Unix socket 和 TypeScript 客户端。CLI 的 `app-server probe|stdio|listen|mcp` 复用同一连接,使用 `server/capabilities` 确认当前连接的方法,支持范围随 Daemon 认证和已有能力变化。CLI 还提供 `app-server instructions-init`、`app-server verify` 和 `app-server verify-status`,用于预览项目约定、按当前候选创建验证计划和读取持久验证结果。上一版的 HTTP/SSE 与 `/rpc/stream` 沿用原入口。只有持 Daemon bearer 的客户端可提交 Run 审批和提问答案、启动 Verify 或 Review,以及触发满足 conformance 的只读外部 Runner 派发。连接按工作区绑定。未登记的检查显示 `blocked`。`thread/snapshot` 返回当前 Turn、Run、Goal、待决审批/提问和持久游标,`context/inspect` 返回已封存的上下文与项目规则清单。App Server 还提供受工作区、Thread 或 Work Item 归属约束的 `artifact/read`,以及 `model/list` 和 `skill/read` 只读能力。 -实现分支已经把协议合同、WebSocket 协商、Thread/Turn 生命周期、Work Item 控制与证据、开发工作流入口、协作记录、审议触发策略、外部 Agent 注册与任务受理接入同一个 App Server RPC。协作记录复用 Work Item 证据板的持久 CAS 与幂等边界,外部 Agent 任务在派发前核对 Work Item 当前 revision 和 control state。接受的 Plan 可原子绑定到 Workflow,阶段读取和阶段事件复用 Workflow 的实际步骤与结果。绑定后旧的会话接单、人工 claim 和 Workflow 直接启动都经过同一个 Work Item 控制闸门,暂停、依赖未完成、候选或 Plan 版本变化会停止新的派发。 +实现分支已经把协议合同、WebSocket 协商、Thread/Turn 生命周期、Work Item 控制与证据、开发工作流入口、协作记录、审议触发策略、外部 Agent 注册与任务受理接入同一个 App Server RPC。协作记录复用 Work Item 证据板的持久 CAS 与幂等边界,外部 Agent 任务在派发前核对 Work Item 当前 revision 和 control state。接受的 Plan 可原子绑定到 Workflow,阶段读取和阶段事件复用 Workflow 的实际步骤与结果。绑定后旧的会话接单、人工 claim 和 Workflow 直接启动都经过同一个 Work Item 控制闸门,暂停、依赖未完成、候选或 Plan 版本变化会停止新的派发。Device Work Item Bridge 现在持久化 graph/node、owner host、WorkUnit、Attempt 与 receipt 映射,提供 App Server read/bind/receipt 方法。Receipt 先写入独立账本,再更新映射投影,未知结果在重启后保持 unknown。 已验证的关键回归包括 App Server WebSocket、stdio/Unix socket、MCP bridge、Work Item 控制与证据、协作记录回放、开发工作流服务、外部 Agent federation、配置的 Pi Runner 和 API Client。Verify plan/operation 和 Federation ledger 已接入工作区 SQLite 的 app_server_state,按来源工作区恢复,Daemon 重启后会把无法确认的 queued/running Verify 和外部 running task 标记为 unknown,要求原所有者重新核对。Verify 只接受默认或 Host 登记的配方,执行前后核对候选 digest。Host 登记的配方还绑定路径选择、独立 verifier source、coverage digest 和 producer refs,命令输出以有限大小保存并脱敏。重复 start/cancel 使用同一收据,取消会传递给实际检查进程。Work Item acceptance 通过同一 SQLite 事务写入 receipt、状态和 revision。外部任务在 Work Item revision/control、Runner external boundary、工具 conformance、只读工具范围和 admission fence 通过后调用已配置的真实 Adapter。注册、能力读取、任务接入、重连和取消均以请求工作区选择 federation ledger,重复提交不重复派发,Adapter 失败、取消未确认和断线重启均保留 unknown。普通 `turn/start` 通过同一会话受理、准备快照和 Run 入口,`submission/read` 与 `turn/resume` 可在重连后读取原收据,已准备但尚未派发的 Turn 通过原请求恢复同一 Turn。停止的 Turn 在实际执行和效果收敛后,可用明确的恢复键受理后继 Turn。用户提问由 Host 事务产生 `pending` 事件,认证客户端从线程快照取得短期 authority,通过 `input/respond` 复用公共解析、权限和版本 CAS,答复事件在重启后按原身份回放,已结束的问题不会再次要求应答。项目规则在准备快照时按路径读取并封存 digest,`instructions/init` 只在预览版本仍匹配且目标未被占用时原子写入。Review 先捕获候选两次,再读取基线的 `Code Review Rules` 和显式 `REVIEW.md`,规则与发现项处置由同一候选和幂等收据约束。App Server 的 operator 写操作要求认证凭据,能力与方法表只公布当前连接可用的实现。已用本机安装的 Codex App Server 通过 MCP bridge 创建 Ling Thread、提交配置 Pi Runner Turn,并从 Ling 游标恢复 Turn 事件。平台和兼容证据随 PR 检查及发行矩阵记录。 @@ -93,7 +93,7 @@ Windows 源码验收使用独立的 GitHub Actions 作业,启动真实 CLI std | A1、B1、C1、C2 | 全方法的 Schema 校验和更多宿主兼容组合。workspace、Thread、Work Item 的 grant 和 WSS 已接入。专用 TLS 监听器实测分离控制和答复权限,支持用户答复原回执与撤权。审批和答复仍需在其他宿主和实际远程部署验收。目标游标已绑定存储代次、授权代次和目标,本机兼容用例覆盖上一版源码与候选组合。 | | D1、D2、E1、E2 | 开工与 Pi 运行中的项目规则加载、显式 Claude 规则、两个开发 Skill、工作区 Verify、独立 verifier basis、托管工作树管理、候选改动分页、Turn 改动恢复、选中 hunk 转移和工作台浏览器验证报告已接入。各发行平台验证仍待完成。 | | F1、F2 | 普通会话 Handoff 的候选封存、Goal 预算承接与接手已接入。CLI `app-server codex-host --thread --state --view` 在回环地址提供双端会话视图。本机 Codex 0.171.0-alpha.13、实际 Ling Daemon 与受控 Provider 联调验证两端状态、Ling 在途排队、活跃 Codex Turn 指导、浏览器重连补齐、回执重放和审批提醒。故障回归覆盖原状态库升级、未写出的请求在重连后补投一次,以及已发出但缺少有效回执时保留待确认结果。Pi Host 预算路径的逐请求预留已使用受控 Provider 验证,仍需真实 Provider、隔离工作树和其他 Runner 的对应验收。 | -| O1、O3–O9 | GitHub 签名 webhook、轮询和显式接单归并至同一工作项。自动接单策略处理免打扰、并发、启动额度和派发前状态重查。现有 Task、AutomationRun 和同频道用户输入可显式关联工作项。已接受的计划能自动开启声明的阶段审议,并可等待当前 Workflow 结果包的交接回执。受影响阶段可单独暂停,后继阶段可显式引用已收敛或仍在途的独立成果,待执行阶段可接收定向消息和有原 Run 证据的 Agent 答复。工作项暂停期间拒绝新增定向消息。阶段客户端和支持协作工具的 Pi 阶段按 Run/Attempt 收发,Pi 在下一次模型输入接收消息和问答。Workflow 执行使用工作项重试上限,并可依据跨 Run 的结构化故障记录暂停单项阶段。可信 Verify 和已接受 Plan 指定的 Review 均可提供停滞恢复证据。决策检查点支持计划前和在途阶段的建议、接受与手工裁决。剩余实现包括 Device Fabric 桥接、计划前多角色塑形、在途只读审议 Workflow、策略自动准入和裁决回接依赖。完整 O9 仍需联合验收。 | +| O1、O3–O9 | GitHub 签名 webhook、轮询和显式接单归并至同一工作项。自动接单策略处理免打扰、并发、启动额度和派发前状态重查。现有 Task、AutomationRun 和同频道用户输入可显式关联工作项。已接受的计划能自动开启声明的阶段审议,并可等待当前 Workflow 结果包的交接回执。受影响阶段可单独暂停,后继阶段可显式引用已收敛或仍在途的独立成果,待执行阶段可接收定向消息和有原 Run 证据的 Agent 答复。工作项暂停期间拒绝新增定向消息。阶段客户端和支持协作工具的 Pi 阶段按 Run/Attempt 收发,Pi 在下一次模型输入接收消息和问答。Workflow 执行使用工作项重试上限,并可依据跨 Run 的结构化故障记录暂停单项阶段。可信 Verify 和已接受 Plan 指定的 Review 均可提供停滞恢复证据。决策检查点支持计划前和在途阶段的建议、接受与手工裁决。Device Work Item Bridge 的持久映射、receipt 账本和 App Server 入口已实现,计划前多角色塑形、在途只读审议 Workflow、策略自动准入和裁决回接依赖仍需补齐。完整 O9 仍需联合验收。 | G | 独立恢复日志已验证 SQLite 快照恢复、撤权、旧游标失效和 GitHub 对账后派发。上一版源码通过同一套本地兼容验收。签名安装产物、实际远程 WSS、带独立检查 App 的 Ling 主动入队及三个真实 Provider 自研试点仍需对应环境的证据。macOS 打包预检需要当前打包输入的 Office 审查、对应 Electron/OS 的受限运行时审查和 gstack 平台资源。T01 离线预检可进入评审,真实试点仍需按 Framework Assurance 准入。 | ## 目标与开工顺序 @@ -143,7 +143,7 @@ App Server 之外的团队、任务、外部 Agent 和 GitHub 设计不能各自 | O3 Task Inbox 与自治策略 | O1、Automations、Channel Team Operating System | 按版本化的 `AutonomousIntakePolicyV1` 配置人工、建议或自动送入主 Agent,应用筛选、优先级、安静时段、预算和暂停策略,并为每次评估保存 receipt。 | 默认人工接入。符合规则的建议可手动接受,显式启用的来源可以自动提交。暂停和预算限制产生可回查的 suppressed/paused 结果,重复来源关联已有执行。 | | O4 GitHub Delivery Loop | O1、E2、GitHub Automation 与 GitHub 合并策略 | 关联 Issue、PR 和 CI,记录实际验证对象、检查来源及运行尝试。精确集成证据依赖合并队列或等效的执行时校验。严格保护适用于允许 up-to-date head 证据且执行身份受必需检查约束的策略。外部合并按实际结果对账。 | head 固定且 base 推进时,旧集成证据只能用于历史对象,适用的 head 检查按政策保留。覆盖同名检查的来源差异、迟到结果及读取证据后发生的 base 变化。以实际合并结果和适用证据完成 Goal。 | | O5 Memory/Skill Feedback | O1、E2、Memory/Skill review owners | Work Item provenance、Experience candidate、Memory/Skill/Channel review 和失效策略。 | 候选能追溯源 Run 与证据,拒绝/过期可见,推广不能扩大工具、审批、Provider 或工作区范围。 | -| O6 Device Work Item Bridge | O1、Ling Device Fabric | 项目 Work Item 与设备图节点、owner host、WorkUnit、receipt 和跨设备反馈的映射。 | 项目协调者可显示设备节点进度,实际设备动作仍由 owner host 记录和恢复。设备断线不伪造项目成功。 | +| O6 Device Work Item Bridge | O1、Ling Device Fabric | 项目 Work Item 与设备图节点、owner host、WorkUnit、Attempt、receipt 和跨设备反馈的持久映射。App Server 提供 read/bind/receipt,并用 Work Item 控制、graph revision、owner route generation 和幂等键挡住旧动作。 | Core SQLite 重启回归和实际 Daemon RPC 回归已覆盖绑定、unknown receipt、owner 错误、旧 graph revision 和重连读取。实际 Device Fabric owner host 运行时、跨主机传输和硬件动作仍需设备平台合入后的联合验收。 | | O7 共享证据板与阶段协作 | O1、B1、D2、现有 Automations | 按来源、候选和权限投影共享证据。复用 Workflow 结果包与交接意图,接入角色简报、轮次、直接消息和同级问答。日/周协调动作原子提交终态 Automation 回执和轮次事件,或提交带类型化原因的跳过结果。接入新计划、交接和跨 Run 进展。 | 日/周轮次在提交边界崩溃后可用原调度身份核对,恢复已提交轮次的截止时间。验证并发贡献、关闭、跨轮次问答、旧证据、计划修订、定向投递及接手恢复。重试和换 Run 时累计进展与预算可核对。 | | O8 审议与投票 | O7、E2、现有 Workflow 和团队参与合同 | 实现 `DeliberationTriggerPolicyV1` 和角色判定。在计划形成、已声明决策点和运行中临时决策使用各自的准入路径。复用 Workflow 编排提案、质疑、条件投票和汇总,向原依赖提交有版本的决策回执。 | 同一争议从多个来源到达时关联同一决策。同一决定修订只受理一轮。验证父工作流图保持原接受版本、只有当前有权裁决能解除相应依赖,以及改范围走新计划接受。保留平票、预算、缺证据、取消和换候选回归。 | | O9 协作界面、协议与联调 | O8、F2 | 通过 App Server 方法、事件、SDK、CLI 与客户端视图交付阶段、简报、消息、问答、交接、审议和当前阻塞。接入无 Thread 工作项的预接单订阅和有权限的轮次配置。 | 在同一工作项验证接单前订阅、P01 到 P02 与 QA 的交付、在途消息和改计划、接手重建、审议回接和空转停止。重连后核对原回执、当前候选及实际派发次数。 | diff --git a/packages/api-client/src/app-server.ts b/packages/api-client/src/app-server.ts index 9735a938b..09430c92d 100644 --- a/packages/api-client/src/app-server.ts +++ b/packages/api-client/src/app-server.ts @@ -119,6 +119,11 @@ import type { LingAppServerWorkItemPlanChangeRequestParams, LingAppServerWorkItemPlanChangeWithdrawParams, LingAppServerWorkItemPlanChangeResult, + LingAppServerWorkItemDeviceBindParams, + LingAppServerWorkItemDeviceBindResult, + LingAppServerWorkItemDeviceReadResult, + LingAppServerWorkItemDeviceReceiptParams, + LingAppServerWorkItemDeviceReceiptResult, LingAppServerWorktreeTarget, LingAppServerWorktreeCreateParams, LingAppServerWorktreeResult, @@ -603,6 +608,18 @@ export class LingAppServerClient { return await this.request("workItem/read", { workspaceId, workItemId }); } + async readWorkItemDevice(workItemId: string): Promise { + return await this.request("workItem/device/read", { workItemId }); + } + + async bindWorkItemDevice(params: LingAppServerWorkItemDeviceBindParams): Promise { + return await this.request("workItem/device/bind", params); + } + + async recordWorkItemDeviceReceipt(params: LingAppServerWorkItemDeviceReceiptParams): Promise { + return await this.request("workItem/device/receipt", params); + } + async controlWorkItem( action: "pause" | "resume" | "cancel", input: LingAppServerWorkItemControlParams, diff --git a/packages/api-client/test/app-server.test.ts b/packages/api-client/test/app-server.test.ts index 7dd1ca1be..25dbf7b04 100644 --- a/packages/api-client/test/app-server.test.ts +++ b/packages/api-client/test/app-server.test.ts @@ -54,6 +54,25 @@ class FakeSocket implements LingAppServerSocket { }, }, })); + } else if (request.method === "workItem/device/read") { + this.emit("message", JSON.stringify({ jsonrpc: "2.0", id: request.id, + result: { cwd: "/fixture", workItemId: "item", bindings: [] } })); + } else if (request.method === "workItem/device/bind") { + this.emit("message", JSON.stringify({ jsonrpc: "2.0", id: request.id, + result: { cwd: "/fixture", replayed: false, binding: { + bindingId: "binding", workItemId: "item", graphId: "graph", graphNodeId: "node", graphRevision: 1, + ownerHostId: "host", ownerRouteGeneration: 1, workUnitId: "unit", status: "bound", revision: 1, + boundAt: "2026-11-25T00:00:00.000Z", updatedAt: "2026-11-25T00:00:00.000Z", + } } })); + } else if (request.method === "workItem/device/receipt") { + this.emit("message", JSON.stringify({ jsonrpc: "2.0", id: request.id, + result: { cwd: "/fixture", replayed: false, binding: { + bindingId: "binding", workItemId: "item", graphId: "graph", graphNodeId: "node", graphRevision: 1, + ownerHostId: "host", ownerRouteGeneration: 1, workUnitId: "unit", status: "unknown", revision: 1, + boundAt: "2026-11-25T00:00:00.000Z", updatedAt: "2026-11-25T00:00:01.000Z", + receipt: { receiptId: "receipt", bindingRevision: 1, ownerHostId: "host", ownerRouteGeneration: 1, + workUnitId: "unit", status: "unknown", resultRef: "journal", receivedAt: "2026-11-25T00:00:01.000Z", reconciled: false }, + } } })); } else if (request.method === "workItem/subscribe" && this.enableSubscriptionResponses) { this.emit("message", JSON.stringify({ jsonrpc: "2.0", @@ -216,6 +235,12 @@ test("Ling App Server client routes the development, delivery, grant, worktree a enabled: true, kind: "checkpoint", durationMs: 1000 }); await client.createWorkItem({ sourceId: "source", title: "Fixture" }); await client.acceptWorkItem({ workItemId: "item", expectedWorkItemRevision: 1, idempotencyKey: "accept" }); + await client.readWorkItemDevice("item"); + await client.bindWorkItemDevice({ workItemId: "item", graphId: "graph", graphNodeId: "node", graphRevision: 1, + ownerHostId: "host", ownerRouteGeneration: 1, workUnitId: "unit", expectedWorkItemRevision: 1, idempotencyKey: "bind-device" }); + await client.recordWorkItemDeviceReceipt({ workItemId: "item", bindingId: "binding", expectedBindingRevision: 1, + expectedWorkItemRevision: 1, ownerHostId: "host", ownerRouteGeneration: 1, workUnitId: "unit", status: "unknown", + resultRef: "journal", idempotencyKey: "receipt-device" }); await client.readWorkItemStageQuestions({ workItemId: "item" }); await client.listWorkItemStageMessages({ workItemId: "item" }); await client.captureChanges(); @@ -228,7 +253,7 @@ test("Ling App Server client routes the development, delivery, grant, worktree a "server/grants/create", "server/grants/create", "server/grants/list", "server/grants/revoke", "handoff/create", "handoff/read", "handoff/resume", "github/subject/read", "github/delivery/reconcile", "workItem/delivery/read", "delivery/read", "workItem/coordination/schedule/read", "workItem/coordination/schedule/set", "workItem/create", "workItem/accept", - "workItem/question/read", "workItem/message/list", "changes/capture", "worktree/list", "worktree/create", "worktree/refresh", "worktree/cleanup/preview", "worktree/cleanup", + "workItem/device/read", "workItem/device/bind", "workItem/device/receipt", "workItem/question/read", "workItem/message/list", "changes/capture", "worktree/list", "worktree/create", "worktree/refresh", "worktree/cleanup/preview", "worktree/cleanup", ]); client.close(); }); diff --git a/packages/contracts/src/app-server-schema.ts b/packages/contracts/src/app-server-schema.ts index abbc1b248..cf8ff310d 100644 --- a/packages/contracts/src/app-server-schema.ts +++ b/packages/contracts/src/app-server-schema.ts @@ -146,6 +146,20 @@ const collaborationAppend = { ...workItemTarget, idempotencyKey: stringSchema, a const deliberationSettlement = { ...workItemTarget, roundId: stringSchema, expectedRoundRevision: integerSchema, expectedWorkItemRevision: integerSchema, idempotencyKey: stringSchema, reason: stringSchema }; const deliberationSettlementFields = ["workItemId", "roundId", "expectedRoundRevision", "expectedWorkItemRevision", "idempotencyKey", "reason"]; +const deviceBindingFields = { + bindingId: stringSchema, workItemId: stringSchema, graphId: stringSchema, graphNodeId: stringSchema, graphRevision: integerSchema, + ownerHostId: stringSchema, ownerRouteGeneration: integerSchema, workUnitId: stringSchema, attemptId: stringSchema, + status: { enum: ["bound", "queued", "running", "succeeded", "failed", "cancelled", "unknown"] }, + revision: integerSchema, boundAt: stringSchema, updatedAt: stringSchema, receipt: objectSchema, +}; +const deviceBinding = objectWith(deviceBindingFields, ["bindingId", "workItemId", "graphId", "graphNodeId", "graphRevision", + "ownerHostId", "ownerRouteGeneration", "workUnitId", "status", "revision", "boundAt", "updatedAt"]); +const deviceReceiptParams = { + ...workItemTarget, bindingId: stringSchema, expectedBindingRevision: integerSchema, expectedWorkItemRevision: integerSchema, + ownerHostId: stringSchema, ownerRouteGeneration: integerSchema, workUnitId: stringSchema, attemptId: stringSchema, + status: { enum: ["succeeded", "failed", "cancelled", "unknown"] }, resultRef: stringSchema, + reconciled: booleanSchema, idempotencyKey: stringSchema, +}; const reviewResultFields = ["operationId", "assessmentId", "candidateDigest", "status"]; const reviewResult = { operationId: stringSchema, assessmentId: stringSchema, candidateDigest: stringSchema, @@ -337,6 +351,21 @@ function schemaFor(method: LingAppServerMethod): LingAppServerMethodSchema { case "workItem/handoff/read": return { params: objectWith({ ...workItemTarget, afterRevision: integerSchema, afterSequence: integerSchema, offset: integerSchema, limit: integerSchema }, ["workItemId"]), result }; + case "workItem/device/read": + return { params: objectWith({ ...workItemTarget }, ["workItemId"]), + result: objectWith({ cwd: stringSchema, workItemId: stringSchema, bindings: { type: "array", items: deviceBinding } }, ["cwd", "workItemId", "bindings"]) }; + case "workItem/device/bind": + return { params: objectWith({ ...workItemTarget, graphId: stringSchema, graphNodeId: stringSchema, graphRevision: integerSchema, + ownerHostId: stringSchema, ownerRouteGeneration: integerSchema, workUnitId: stringSchema, attemptId: stringSchema, + expectedWorkItemRevision: integerSchema, idempotencyKey: stringSchema }, + ["workItemId", "graphId", "graphNodeId", "graphRevision", "ownerHostId", "ownerRouteGeneration", "workUnitId", + "expectedWorkItemRevision", "idempotencyKey"]), + result: objectWith({ cwd: stringSchema, binding: deviceBinding, replayed: booleanSchema }, ["cwd", "binding", "replayed"]) }; + case "workItem/device/receipt": + return { params: objectWith(deviceReceiptParams, + ["workItemId", "bindingId", "expectedBindingRevision", "expectedWorkItemRevision", "ownerHostId", + "ownerRouteGeneration", "workUnitId", "status", "resultRef", "idempotencyKey"]), + result: objectWith({ cwd: stringSchema, binding: deviceBinding, replayed: booleanSchema }, ["cwd", "binding", "replayed"]) }; case "workItem/list": return { params: objectWith({ status: stringSchema, channelId: stringSchema, limit: integerSchema }), result }; case "workItem/create": @@ -666,6 +695,7 @@ function notificationSchemaFor(method: LingAppServerNotificationMethod): LingApp case "workItem/message/updated": case "workItem/question/updated": case "workItem/handoff/updated": + case "workItem/device/updated": return { oneOf: [durableNotice, objectWith({ ...directNotice, record: objectSchema }, [...Object.keys(directNotice), "record"])] }; case "externalAgent/registered": return objectWith({ registrationId: stringSchema, agentId: stringSchema, authorizationEpoch: stringSchema, diff --git a/packages/contracts/src/app-server.ts b/packages/contracts/src/app-server.ts index eae2a3098..d485fb6f6 100644 --- a/packages/contracts/src/app-server.ts +++ b/packages/contracts/src/app-server.ts @@ -38,6 +38,7 @@ export const LING_APP_SERVER_CAPABILITIES = [ "workItem.read", "workItem.control", "workItem.evidence", + "workItem.device", "workItem.deliberation", "workItem.coordination", "externalAgent.federation", @@ -61,6 +62,7 @@ export const LING_APP_SERVER_IMPLEMENTED_CAPABILITIES = [ "workItem.read", "workItem.control", "workItem.evidence", + "workItem.device", "workItem.deliberation", "workItem.coordination", "externalAgent.federation", @@ -157,6 +159,9 @@ export const LING_APP_SERVER_METHODS = [ "workItem/cancel", "workItem/subscribe", "workItem/unsubscribe", + "workItem/device/read", + "workItem/device/bind", + "workItem/device/receipt", "workItem/delivery/read", "workItem/intake/list", "workItem/intake/accept", @@ -311,6 +316,7 @@ export const LING_APP_SERVER_NOTIFICATION_METHODS = [ "workItem/message/updated", "workItem/question/updated", "workItem/handoff/updated", + "workItem/device/updated", "externalAgent/registered", "externalAgent/task/started", "externalAgent/task/reconnected", @@ -1125,6 +1131,93 @@ export interface LingAppServerWorkItemCollaborationAppendResult { readonly workItemRevision: number; } +export type LingAppServerWorkItemDeviceStatus = + | "bound" + | "queued" + | "running" + | "succeeded" + | "failed" + | "cancelled" + | "unknown"; + +export interface LingAppServerWorkItemDeviceReceipt { + readonly receiptId: string; + readonly bindingRevision: number; + readonly ownerHostId: string; + readonly ownerRouteGeneration: number; + readonly workUnitId: string; + readonly attemptId?: string; + readonly status: Exclude; + readonly resultRef: string; + readonly receivedAt: string; + readonly reconciled: boolean; +} + +export interface LingAppServerWorkItemDeviceBinding { + readonly bindingId: string; + readonly workItemId: string; + readonly graphId: string; + readonly graphNodeId: string; + readonly graphRevision: number; + readonly ownerHostId: string; + readonly ownerRouteGeneration: number; + readonly workUnitId: string; + readonly attemptId?: string; + readonly status: LingAppServerWorkItemDeviceStatus; + readonly revision: number; + readonly boundAt: string; + readonly updatedAt: string; + readonly receipt?: LingAppServerWorkItemDeviceReceipt; +} + +export interface LingAppServerWorkItemDeviceReadResult { + readonly cwd: string; + readonly workItemId: string; + readonly bindings: readonly LingAppServerWorkItemDeviceBinding[]; +} + +export interface LingAppServerWorkItemDeviceBindParams { + readonly cwd?: string; + readonly workItemId: string; + readonly graphId: string; + readonly graphNodeId: string; + readonly graphRevision: number; + readonly ownerHostId: string; + readonly ownerRouteGeneration: number; + readonly workUnitId: string; + readonly attemptId?: string; + readonly expectedWorkItemRevision: number; + readonly idempotencyKey: string; +} + +export interface LingAppServerWorkItemDeviceBindResult { + readonly cwd: string; + readonly binding: LingAppServerWorkItemDeviceBinding; + readonly replayed: boolean; +} + +export interface LingAppServerWorkItemDeviceReceiptParams { + readonly cwd?: string; + readonly workItemId: string; + readonly bindingId: string; + readonly expectedBindingRevision: number; + readonly expectedWorkItemRevision: number; + readonly ownerHostId: string; + readonly ownerRouteGeneration: number; + readonly workUnitId: string; + readonly attemptId?: string; + readonly status: Exclude; + readonly resultRef: string; + readonly reconciled?: boolean; + readonly idempotencyKey: string; +} + +export interface LingAppServerWorkItemDeviceReceiptResult { + readonly cwd: string; + readonly binding: LingAppServerWorkItemDeviceBinding; + readonly replayed: boolean; +} + export interface LingAppServerWorkItemFeedbackParams { readonly cwd?: string; readonly workItemId: string; @@ -1148,6 +1241,8 @@ export interface LingAppServerDeliberationTriggerPolicyV1 { readonly onMaterialRequirementChange: boolean; readonly minimumParticipants: number; readonly maxRounds: number; + readonly minimumMateriality?: "low" | "medium" | "high"; + readonly cooldownMs?: number; } export type LingAppServerDeliberationTriggerKindV1 = @@ -1164,6 +1259,10 @@ export interface LingAppServerDeliberationTriggerSignalV1 { readonly conflictCount?: number; readonly materiality?: "low" | "medium" | "high"; readonly requestedBy?: string; + readonly participantCount?: number; + readonly priorRoundCount?: number; + readonly lastTriggeredAt?: string; + readonly evaluatedAt?: string; } export interface LingAppServerDeliberationTriggerDecisionV1 { diff --git a/packages/contracts/src/work-items.ts b/packages/contracts/src/work-items.ts index 9226d3964..bc6b85090 100644 --- a/packages/contracts/src/work-items.ts +++ b/packages/contracts/src/work-items.ts @@ -18,6 +18,7 @@ export type WorkItemSourceType = | "external_work_action" | "approval" | "run" + | "device_task_graph_node" | "manual"; export type WorkItemWaitingReason = "approval" | "external" | "handoff" | "resource" | "user" | "scheduler" | "provider"; diff --git a/packages/core/src/app-server-state-types.ts b/packages/core/src/app-server-state-types.ts index 8c4c50df9..192515336 100644 --- a/packages/core/src/app-server-state-types.ts +++ b/packages/core/src/app-server-state-types.ts @@ -7,7 +7,7 @@ export type AppServerStateKind = "verify_plan" | "verify_operation" | "review_su | "automation_coordination" | "coordination_round" | "coordination_automation_run" | "project_instruction_update" | "change_recovery_request" | "change_transfer_request" | "github_intake_pending" | "github_intake_receipt" | "github_intake_dispatch" | "work_item_workflow" | "work_item_plan_change" | "native_intake_receipt" | "work_item_stage_message_delivery" - | "work_item_stage_tool_receipt" | "work_item_stage_ballot"; + | "work_item_stage_tool_receipt" | "work_item_stage_ballot" | "work_item_device_binding" | "work_item_device_receipt"; export interface AppServerStateRecord { readonly workspaceId: string; diff --git a/packages/core/src/index.ts b/packages/core/src/index.ts index 98a832773..66ad4d727 100644 --- a/packages/core/src/index.ts +++ b/packages/core/src/index.ts @@ -153,6 +153,7 @@ export type * from "./native-work-intake-types.js"; export { nativeTaskIntakeRevision, nativeWorkIntakeReceiptId, nativeWorkIntakeRetryReceiptId } from "./native-work-intake-identity.js"; export * from "./work-item-evidence-types.js"; export * from "./work-item-collaboration.js"; +export * from "./work-item-device-bridge.js"; export * from "./work-item-workflow-decision.js"; export * from "./work-item-retained-workflow-stage.js"; export * from "./work-item-workflow-handoff.js"; diff --git a/packages/core/src/work-item-deliberation-policy.ts b/packages/core/src/work-item-deliberation-policy.ts index cde962399..580de5daf 100644 --- a/packages/core/src/work-item-deliberation-policy.ts +++ b/packages/core/src/work-item-deliberation-policy.ts @@ -12,6 +12,8 @@ const defaultPolicy: LingAppServerDeliberationTriggerPolicyV1 = { onMaterialRequirementChange: true, minimumParticipants: 2, maxRounds: 2, + minimumMateriality: "medium", + cooldownMs: 5 * 60_000, }; /** Decides whether a durable deliberation round should be opened. This helper @@ -36,6 +38,21 @@ export function evaluateDeliberationTrigger( if (!effective.enabled) { return { shouldOpen: false, requiresHumanDecision: false, reason: "Deliberation is disabled by policy.", triggerKind: signal.kind }; } + if (signal.priorRoundCount !== undefined && signal.priorRoundCount >= effective.maxRounds) { + return { shouldOpen: false, requiresHumanDecision: false, reason: "The configured deliberation round limit has been reached.", triggerKind: signal.kind }; + } + if (signal.participantCount !== undefined && signal.participantCount < effective.minimumParticipants) { + return { shouldOpen: false, requiresHumanDecision: false, reason: "The eligible participant roster is below the configured minimum.", triggerKind: signal.kind }; + } + if (signal.lastTriggeredAt && signal.evaluatedAt && (effective.cooldownMs ?? 0) > 0 + && Date.parse(signal.evaluatedAt) - Date.parse(signal.lastTriggeredAt) < (effective.cooldownMs ?? 0)) { + return { shouldOpen: false, requiresHumanDecision: false, reason: "The same decision is inside its deliberation cooldown.", triggerKind: signal.kind }; + } + if (signal.materiality && effective.minimumMateriality + && materialityRank(signal.materiality) < materialityRank(effective.minimumMateriality) + ) { + return { shouldOpen: false, requiresHumanDecision: false, reason: "The decision materiality is below the configured threshold.", triggerKind: signal.kind }; + } if (signal.kind === "plan_formation" && effective.onPlanFormation) { return { shouldOpen: true, requiresHumanDecision: false, reason: "The Work Item is forming an execution plan.", triggerKind: signal.kind }; } @@ -53,3 +70,7 @@ export function evaluateDeliberationTrigger( export function defaultDeliberationTriggerPolicy(): LingAppServerDeliberationTriggerPolicyV1 { return { ...defaultPolicy }; } + +function materialityRank(value: "low" | "medium" | "high"): number { + return value === "high" ? 2 : value === "medium" ? 1 : 0; +} diff --git a/packages/core/src/work-item-device-bridge.ts b/packages/core/src/work-item-device-bridge.ts new file mode 100644 index 000000000..43de997b5 --- /dev/null +++ b/packages/core/src/work-item-device-bridge.ts @@ -0,0 +1,195 @@ +import { createHash } from "node:crypto"; +import type { + LingAppServerWorkItemDeviceBinding, + LingAppServerWorkItemDeviceBindParams, + LingAppServerWorkItemDeviceReceipt, + LingAppServerWorkItemDeviceReceiptParams, + LingAppServerWorkItemDeviceStatus, +} from "@ling-stack/contracts"; +import type { AppendControlPlaneEventInput, RunStore } from "./run-types.js"; + +type DeviceBindingRecord = { readonly binding: LingAppServerWorkItemDeviceBinding; readonly idempotencyKey?: string }; +type DeviceReceiptRecord = { + readonly bindingId: string; + readonly bindingRevision: number; + readonly receipt: LingAppServerWorkItemDeviceReceipt; +}; + +export class WorkItemDeviceBridgeError extends Error { + constructor(readonly code: + | "work_item_not_found" + | "invalid_params" + | "device_binding_conflict" + | "stale_revision" + | "resume_blocked" + | "device_receipt_conflict", message: string) { + super(message); + this.name = "WorkItemDeviceBridgeError"; + } +} + +type DeviceBridgeStore = Pick; + +export function deviceBindingId(workItemId: string, graphId: string, graphNodeId: string): string { + return `work_item_device_binding_${digest([workItemId, graphId, graphNodeId])}`; +} + +export function readWorkItemDeviceBindings( + store: DeviceBridgeStore, workItemId: string, +): readonly LingAppServerWorkItemDeviceBinding[] { + const bindings = store.listAppServerState("work_item_device_binding").flatMap(record => { + const value = record.payload as Partial; + return value.binding?.workItemId === workItemId ? [value.binding as LingAppServerWorkItemDeviceBinding] : []; + }); + const receipts = store.listAppServerState("work_item_device_receipt").flatMap(record => { + const value = record.payload as Partial; + return value.bindingId && value.receipt ? [value as DeviceReceiptRecord] : []; + }); + return bindings.map(binding => { + const latest = receipts + .filter(entry => entry.bindingId === binding.bindingId && entry.bindingRevision === binding.revision) + .sort((left, right) => left.receipt.receivedAt.localeCompare(right.receipt.receivedAt) || left.receipt.receiptId.localeCompare(right.receipt.receiptId)) + .at(-1)?.receipt; + return latest ? { ...binding, status: latest.status, updatedAt: latest.receivedAt, receipt: latest } : binding; + }).sort((left, right) => left.bindingId.localeCompare(right.bindingId)); +} + +export function bindWorkItemDevice( + store: DeviceBridgeStore, + input: LingAppServerWorkItemDeviceBindParams, + now: string, + cwd: string, +): { readonly binding: LingAppServerWorkItemDeviceBinding; readonly replayed: boolean; readonly event?: import("./run-types.js").ControlPlaneEvent } { + validateBindingInput(input); + const workItem = store.getWorkItem(input.workItemId); + if (!workItem) throw new WorkItemDeviceBridgeError("work_item_not_found", "The Work Item is unavailable."); + if (workItem.revision !== input.expectedWorkItemRevision) throw new WorkItemDeviceBridgeError("stale_revision", "The Work Item revision changed."); + if (workItem.control.state !== "active" || workItem.holds.some(hold => hold.blocksNewAdmission)) { + throw new WorkItemDeviceBridgeError("resume_blocked", "The Work Item is held and cannot admit a device action."); + } + const bindingId = deviceBindingId(input.workItemId, input.graphId, input.graphNodeId); + const state = store.getAppServerState("work_item_device_binding", bindingId); + const existing = state?.payload as DeviceBindingRecord | undefined; + if (existing) { + const current = existing.binding; + if (state?.idempotencyKey === input.idempotencyKey) { + if (!sameBindingRequest(current, input)) throw new WorkItemDeviceBridgeError("device_binding_conflict", "The binding key belongs to a different device node."); + return { binding: projectBindingWithLatestReceipt(store, current), replayed: true }; + } + if (sameBindingRequest(current, input)) return { binding: projectBindingWithLatestReceipt(store, current), replayed: true }; + if (input.graphRevision <= current.graphRevision) throw new WorkItemDeviceBridgeError("stale_revision", "The device graph revision is stale."); + if (!["failed", "cancelled", "unknown"].includes(current.status)) { + throw new WorkItemDeviceBridgeError("device_binding_conflict", "The device node already has an active binding."); + } + } + const binding: LingAppServerWorkItemDeviceBinding = { + bindingId, workItemId: input.workItemId, graphId: input.graphId, graphNodeId: input.graphNodeId, + graphRevision: input.graphRevision, ownerHostId: input.ownerHostId, ownerRouteGeneration: input.ownerRouteGeneration, + workUnitId: input.workUnitId, ...(input.attemptId ? { attemptId: input.attemptId } : {}), status: "bound", + revision: (existing?.binding.revision ?? 0) + 1, boundAt: existing?.binding.boundAt ?? now, updatedAt: now, + }; + const result = store.putAppServerState({ + kind: "work_item_device_binding", recordId: bindingId, expectedRevision: state?.revision ?? 0, + idempotencyKey: input.idempotencyKey, payload: { binding } satisfies DeviceBindingRecord, + }, now, deviceBridgeEvent(cwd, workItem.workspaceId, input.workItemId, binding, "bound")); + if (!result) throw new WorkItemDeviceBridgeError("stale_revision", "The device binding changed before it was committed."); + return { binding: projectBindingWithLatestReceipt(store, binding), replayed: result.status === "replayed", ...(result.event ? { event: result.event } : {}) }; +} + +export function recordWorkItemDeviceReceipt( + store: DeviceBridgeStore, + input: LingAppServerWorkItemDeviceReceiptParams, + now: string, + cwd: string, +): { readonly binding: LingAppServerWorkItemDeviceBinding; readonly replayed: boolean; readonly event?: import("./run-types.js").ControlPlaneEvent } { + validateReceiptInput(input); + const workItem = store.getWorkItem(input.workItemId); + if (!workItem) throw new WorkItemDeviceBridgeError("work_item_not_found", "The Work Item is unavailable."); + if (workItem.revision !== input.expectedWorkItemRevision) throw new WorkItemDeviceBridgeError("stale_revision", "The Work Item revision changed."); + const state = store.getAppServerState("work_item_device_binding", input.bindingId); + const saved = state?.payload as DeviceBindingRecord | undefined; + if (!saved || saved.binding.workItemId !== input.workItemId) throw new WorkItemDeviceBridgeError("device_binding_conflict", "The device binding is unavailable."); + const binding = saved.binding; + if (binding.revision !== input.expectedBindingRevision) { + throw new WorkItemDeviceBridgeError("stale_revision", "The device binding revision changed."); + } + if (binding.ownerHostId !== input.ownerHostId || binding.ownerRouteGeneration !== input.ownerRouteGeneration + || binding.workUnitId !== input.workUnitId || input.attemptId !== binding.attemptId) { + throw new WorkItemDeviceBridgeError("device_receipt_conflict", "The receipt does not belong to the current owner host and WorkUnit."); + } + const prior = store.findAppServerStateByIdempotencyKey("work_item_device_receipt", input.idempotencyKey); + if (prior) { + const payload = prior.payload as DeviceReceiptRecord; + if (!sameReceiptRequest(payload.receipt, input, payload.bindingRevision)) { + throw new WorkItemDeviceBridgeError("device_receipt_conflict", "The receipt key belongs to a different result."); + } + return { binding: projectBindingWithLatestReceipt(store, binding), replayed: true }; + } + const receipt = receiptFromInput(input, now, binding.revision); + const receiptRecord: DeviceReceiptRecord = { bindingId: binding.bindingId, bindingRevision: binding.revision, receipt }; + const receiptId = `work_item_device_receipt_${digest([input.bindingId, input.idempotencyKey])}`; + const savedReceipt = store.putAppServerState({ kind: "work_item_device_receipt", recordId: receiptId, + expectedRevision: 0, idempotencyKey: input.idempotencyKey, payload: receiptRecord }, now); + if (!savedReceipt) throw new WorkItemDeviceBridgeError("device_receipt_conflict", "The receipt was committed concurrently."); + const nextBinding = { ...binding, status: input.status, updatedAt: now, receipt } satisfies LingAppServerWorkItemDeviceBinding; + const updated = store.putAppServerState({ kind: "work_item_device_binding", recordId: binding.bindingId, + expectedRevision: state!.revision, idempotencyKey: `device-binding-receipt:${input.idempotencyKey}`, + payload: { binding: nextBinding } satisfies DeviceBindingRecord }, now, + deviceBridgeEvent(cwd, workItem.workspaceId, input.workItemId, nextBinding, input.status)); + if (!updated) throw new WorkItemDeviceBridgeError("stale_revision", "The device binding changed while the receipt was being projected."); + return { binding: projectBindingWithLatestReceipt(store, (updated.record.payload as DeviceBindingRecord).binding), replayed: false, + ...(updated.event ? { event: updated.event } : {}) }; +} + +function sameReceiptRequest(receipt: LingAppServerWorkItemDeviceReceipt, input: LingAppServerWorkItemDeviceReceiptParams, bindingRevision: number): boolean { + return receipt.bindingRevision === bindingRevision && receipt.ownerHostId === input.ownerHostId + && receipt.ownerRouteGeneration === input.ownerRouteGeneration && receipt.workUnitId === input.workUnitId + && receipt.attemptId === input.attemptId && receipt.status === input.status && receipt.resultRef === input.resultRef + && receipt.reconciled === (input.reconciled === true); +} + +function projectBindingWithLatestReceipt(store: DeviceBridgeStore, binding: LingAppServerWorkItemDeviceBinding): LingAppServerWorkItemDeviceBinding { + return readWorkItemDeviceBindings(store, binding.workItemId).find(item => item.bindingId === binding.bindingId) ?? binding; +} + +function sameBindingRequest(binding: LingAppServerWorkItemDeviceBinding, input: LingAppServerWorkItemDeviceBindParams): boolean { + return binding.workItemId === input.workItemId && binding.graphId === input.graphId && binding.graphNodeId === input.graphNodeId + && binding.graphRevision === input.graphRevision && binding.ownerHostId === input.ownerHostId + && binding.ownerRouteGeneration === input.ownerRouteGeneration && binding.workUnitId === input.workUnitId && binding.attemptId === input.attemptId; +} + +function receiptFromInput(input: LingAppServerWorkItemDeviceReceiptParams, now: string, bindingRevision: number): LingAppServerWorkItemDeviceReceipt { + return { receiptId: `device_receipt_${digest([input.bindingId, input.idempotencyKey, input.resultRef])}`, bindingRevision, + ownerHostId: input.ownerHostId, ownerRouteGeneration: input.ownerRouteGeneration, workUnitId: input.workUnitId, + ...(input.attemptId ? { attemptId: input.attemptId } : {}), status: input.status, resultRef: input.resultRef, receivedAt: now, + reconciled: input.reconciled === true }; +} + +function validateBindingInput(input: LingAppServerWorkItemDeviceBindParams): void { + const fields = [input.workItemId, input.graphId, input.graphNodeId, input.ownerHostId, input.workUnitId, input.idempotencyKey]; + if (fields.some(value => !value.trim() || value.length > 256) || !Number.isSafeInteger(input.graphRevision) || input.graphRevision < 1 + || !Number.isSafeInteger(input.ownerRouteGeneration) || input.ownerRouteGeneration < 1 || input.expectedWorkItemRevision < 1) { + throw new WorkItemDeviceBridgeError("invalid_params", "Supply bounded graph, owner and WorkUnit identities."); + } +} + +function validateReceiptInput(input: LingAppServerWorkItemDeviceReceiptParams): void { + const fields = [input.workItemId, input.bindingId, input.ownerHostId, input.workUnitId, input.idempotencyKey]; + if (fields.some(value => !value.trim() || value.length > 256) || !Number.isSafeInteger(input.ownerRouteGeneration) || input.ownerRouteGeneration < 1 + || input.expectedWorkItemRevision < 1 || !Number.isSafeInteger(input.expectedBindingRevision) || input.expectedBindingRevision < 1 + || !["succeeded", "failed", "cancelled", "unknown"].includes(input.status) || !input.resultRef.trim() || input.resultRef.length > 512) { + throw new WorkItemDeviceBridgeError("invalid_params", "Supply a bounded terminal device receipt."); + } +} + +function deviceBridgeEvent(cwd: string, workspaceId: string, workItemId: string, binding: LingAppServerWorkItemDeviceBinding, status: LingAppServerWorkItemDeviceStatus): AppendControlPlaneEventInput { + return { workspaceId, cwd, domain: "work_items", entityType: "work_item", entityId: workItemId, + action: "work_item.device.updated", idempotencyKey: `${binding.bindingId}:${binding.revision}:${status}`, + data: { workItemId, bindingId: binding.bindingId, graphId: binding.graphId, graphNodeId: binding.graphNodeId, + graphRevision: binding.graphRevision, ownerHostId: binding.ownerHostId, workUnitId: binding.workUnitId, status, revision: binding.revision } }; +} + +function digest(values: readonly string[]): string { + return createHash("sha256").update(JSON.stringify(values)).digest("hex"); +} diff --git a/packages/core/test/work-item-deliberation-policy.test.mjs b/packages/core/test/work-item-deliberation-policy.test.mjs index ef4590efc..8e495a72c 100644 --- a/packages/core/test/work-item-deliberation-policy.test.mjs +++ b/packages/core/test/work-item-deliberation-policy.test.mjs @@ -22,3 +22,14 @@ test("disabled policy suppresses automatic triggers while preserving manual inte assert.equal(manual.shouldOpen, false); assert.equal(manual.requiresHumanDecision, true); }); + +test("deliberation admission applies roster, round, materiality and cooldown limits", () => { + const policy = { ...defaultDeliberationTriggerPolicy(), cooldownMs: 60_000 }; + assert.equal(evaluateDeliberationTrigger({ kind: "conflicting_recommendations", workItemRevision: 1, conflictCount: 1, participantCount: 1 }, policy).shouldOpen, false); + assert.equal(evaluateDeliberationTrigger({ kind: "conflicting_recommendations", workItemRevision: 1, conflictCount: 1, participantCount: 2, priorRoundCount: 2 }, policy).shouldOpen, false); + assert.equal(evaluateDeliberationTrigger({ kind: "material_requirement_change", workItemRevision: 1, materiality: "medium", participantCount: 2, + lastTriggeredAt: "2026-11-25T00:00:00.000Z", evaluatedAt: "2026-11-25T00:00:30.000Z" }, policy).shouldOpen, false); + const admitted = evaluateDeliberationTrigger({ kind: "material_requirement_change", workItemRevision: 1, materiality: "high", participantCount: 2, + lastTriggeredAt: "2026-11-25T00:00:00.000Z", evaluatedAt: "2026-11-25T00:02:00.000Z" }, policy); + assert.equal(admitted.shouldOpen, true); +}); diff --git a/packages/core/test/work-item-device-bridge.test.ts b/packages/core/test/work-item-device-bridge.test.ts new file mode 100644 index 000000000..029e0ecc5 --- /dev/null +++ b/packages/core/test/work-item-device-bridge.test.ts @@ -0,0 +1,87 @@ +import assert from "node:assert/strict"; +import { mkdtemp, rm } from "node:fs/promises"; +import { tmpdir } from "node:os"; +import { join } from "node:path"; +import test from "node:test"; +import { + WorkItemDeviceBridgeError, + bindWorkItemDevice, + createSqliteRunStore, + readWorkItemDeviceBindings, + recordWorkItemDeviceReceipt, +} from "../dist/index.js"; + +const now = "2026-11-25T00:00:00.000Z"; + +test("device Work Item bindings and owner receipts survive restart without turning unknown into success", async () => { + const cwd = await mkdtemp(join(tmpdir(), "ling-work-item-device-")); + let store = createSqliteRunStore(cwd); + try { + const created = store.createWorkItem({ sourceType: "device_task_graph_node", sourceId: "graph-1/node-1", title: "Inspect device" }, now); + const bound = bindWorkItemDevice(store, { + workItemId: created.workItem.id, graphId: "graph-1", graphNodeId: "node-1", graphRevision: 3, + ownerHostId: "edge-host-1", ownerRouteGeneration: 4, workUnitId: "work-unit-1", attemptId: "attempt-1", + expectedWorkItemRevision: created.workItem.revision, idempotencyKey: "bind-1", + }, now, cwd); + assert.equal(bound.replayed, false); + assert.equal(bound.binding.status, "bound"); + assert.equal(readWorkItemDeviceBindings(store, created.workItem.id)[0]?.ownerHostId, "edge-host-1"); + + const unknown = recordWorkItemDeviceReceipt(store, { + workItemId: created.workItem.id, bindingId: bound.binding.bindingId, expectedBindingRevision: bound.binding.revision, + expectedWorkItemRevision: created.workItem.revision, ownerHostId: "edge-host-1", ownerRouteGeneration: 4, + workUnitId: "work-unit-1", attemptId: "attempt-1", status: "unknown", resultRef: "journal:unknown", reconciled: false, + idempotencyKey: "receipt-unknown", + }, "2026-11-25T00:00:01.000Z", cwd); + assert.equal(unknown.binding.status, "unknown"); + store.close(); + store = createSqliteRunStore(cwd); + const reopened = readWorkItemDeviceBindings(store, created.workItem.id); + assert.equal(reopened[0]?.status, "unknown"); + assert.equal(reopened[0]?.receipt?.reconciled, false); + + const settled = recordWorkItemDeviceReceipt(store, { + workItemId: created.workItem.id, bindingId: bound.binding.bindingId, expectedBindingRevision: bound.binding.revision, + expectedWorkItemRevision: created.workItem.revision, ownerHostId: "edge-host-1", ownerRouteGeneration: 4, + workUnitId: "work-unit-1", attemptId: "attempt-1", status: "succeeded", resultRef: "journal:readback-1", reconciled: true, + idempotencyKey: "receipt-reconciled", + }, "2026-11-25T00:00:02.000Z", cwd); + assert.equal(settled.binding.status, "succeeded"); + assert.equal(settled.binding.receipt?.reconciled, true); + assert.equal(recordWorkItemDeviceReceipt(store, { + workItemId: created.workItem.id, bindingId: bound.binding.bindingId, expectedBindingRevision: bound.binding.revision, + expectedWorkItemRevision: created.workItem.revision, ownerHostId: "edge-host-1", ownerRouteGeneration: 4, + workUnitId: "work-unit-1", attemptId: "attempt-1", status: "succeeded", resultRef: "journal:readback-1", reconciled: true, + idempotencyKey: "receipt-reconciled", + }, "2026-11-25T00:00:03.000Z", cwd).replayed, true); + } finally { + store.close(); + await rm(cwd, { recursive: true, force: true }); + } +}); + +test("device receipt ownership and graph revisions are fenced", async () => { + const cwd = await mkdtemp(join(tmpdir(), "ling-work-item-device-fence-")); + const store = createSqliteRunStore(cwd); + try { + const created = store.createWorkItem({ sourceType: "device_task_graph_node", sourceId: "graph-2/node-1", title: "Inspect device" }, now); + const bound = bindWorkItemDevice(store, { + workItemId: created.workItem.id, graphId: "graph-2", graphNodeId: "node-1", graphRevision: 1, + ownerHostId: "host-a", ownerRouteGeneration: 1, workUnitId: "unit-a", expectedWorkItemRevision: created.workItem.revision, + idempotencyKey: "bind-a", + }, now, cwd); + assert.throws(() => recordWorkItemDeviceReceipt(store, { + workItemId: created.workItem.id, bindingId: bound.binding.bindingId, expectedBindingRevision: bound.binding.revision, + expectedWorkItemRevision: created.workItem.revision, ownerHostId: "host-b", ownerRouteGeneration: 1, workUnitId: "unit-a", + status: "succeeded", resultRef: "wrong-owner", idempotencyKey: "bad-owner", + }, now, cwd), (error: unknown) => error instanceof WorkItemDeviceBridgeError && error.code === "device_receipt_conflict"); + assert.throws(() => bindWorkItemDevice(store, { + workItemId: created.workItem.id, graphId: "graph-2", graphNodeId: "node-1", graphRevision: 1, + ownerHostId: "host-b", ownerRouteGeneration: 2, workUnitId: "unit-b", expectedWorkItemRevision: created.workItem.revision, + idempotencyKey: "bind-stale", + }, now, cwd), (error: unknown) => error instanceof WorkItemDeviceBridgeError && error.code === "stale_revision"); + } finally { + store.close(); + await rm(cwd, { recursive: true, force: true }); + } +}); diff --git a/packages/daemon/src/features/work-items/routes.ts b/packages/daemon/src/features/work-items/routes.ts index ff4b5e861..000266eef 100644 --- a/packages/daemon/src/features/work-items/routes.ts +++ b/packages/daemon/src/features/work-items/routes.ts @@ -48,6 +48,7 @@ const workItemSourceTypes = [ "external_work_action", "approval", "run", + "device_task_graph_node", "manual", ] as const satisfies readonly WorkItemSourceType[]; diff --git a/packages/daemon/src/server/app-server-authorization.ts b/packages/daemon/src/server/app-server-authorization.ts index ded402b6e..003c6e5d7 100644 --- a/packages/daemon/src/server/app-server-authorization.ts +++ b/packages/daemon/src/server/app-server-authorization.ts @@ -148,9 +148,9 @@ const workItemReads = new Set([ "workItem/read", "workItem/subscribe", "workItem/unsubscribe", "workItem/evidence/read", "workItem/collaboration/read", "workItem/stage/read", "workItem/stage/brief/read", "workItem/coordination/read", "workItem/deliberation/read", "workItem/message/read", "workItem/message/list", "workItem/question/read", "workItem/handoff/read", - "workItem/coordination/schedule/read", + "workItem/coordination/schedule/read", "workItem/device/read", ]); -const workItemControls = new Set(["workItem/pause", "workItem/resume", "workItem/cancel"]); +const workItemControls = new Set(["workItem/pause", "workItem/resume", "workItem/cancel", "workItem/device/bind", "workItem/device/receipt"]); const stageCoordinationMethods = new Set(["workItem/stage/read", "workItem/question/read", "workItem/message/read", "workItem/message/list", "workItem/question/ask", "workItem/question/reply", "workItem/message/send"]); diff --git a/packages/daemon/src/server/app-server-mcp.ts b/packages/daemon/src/server/app-server-mcp.ts index 9f68282db..7e69c6247 100644 --- a/packages/daemon/src/server/app-server-mcp.ts +++ b/packages/daemon/src/server/app-server-mcp.ts @@ -76,6 +76,11 @@ export async function runLingAppServerMcp( inputSchema: z.strictObject({ workspaceId: objectId, workItemId: objectId }), annotations: { readOnlyHint: true }, }, async ({ workspaceId, workItemId }) => describe(await client.readWorkItemSnapshot(workspaceId, workItemId))); + if (methods.has("workItem/device/read")) server.registerTool("ling_work_item_device_read", { + description: "Read the durable Work Item to Device Fabric graph/node, owner host, WorkUnit and receipt projection.", + inputSchema: z.strictObject({ workItemId: objectId }), + annotations: { readOnlyHint: true }, + }, async ({ workItemId }) => describe(await client.readWorkItemDevice(workItemId))); if (methods.has("workItem/stage/read")) server.registerTool("ling_work_item_stages", { description: "Read the accepted Workflow stages, current blockers, and bounded stage evidence for a Work Item.", inputSchema: z.strictObject({ workItemId: objectId, stageOffset: z.number().int().nonnegative().optional() }), @@ -117,7 +122,7 @@ export async function runLingAppServerMcp( description: "Submit a source occurrence to the task inbox. A GitHub subject joins existing work. Link a channel Task or AutomationRun by its source ID to follow that execution.", inputSchema: z.strictObject({ sourceId: objectId, title: z.string().min(1).max(200), idempotencyKey: requestKey, gitHubSubject: z.strictObject({ repository: z.string().min(3).max(201), kind: z.enum(["issue", "pull_request"]), number: z.number().int().positive() }).optional(), - sourceType: z.enum(["channel_task", "automation_run"]).optional(), linkExistingExecution: z.boolean().optional(), + sourceType: z.enum(["channel_task", "automation_run", "device_task_graph_node"]).optional(), linkExistingExecution: z.boolean().optional(), }), annotations: { idempotentHint: true, destructiveHint: false }, }, async params => describe(await client.createWorkItem(params))); @@ -128,6 +133,21 @@ export async function runLingAppServerMcp( }), annotations: { idempotentHint: true }, }, async params => describe(await client.acceptWorkItem(params))); + if (methods.has("workItem/device/bind")) server.registerTool("ling_work_item_device_bind", { + description: "Bind one accepted Work Item to a Device Fabric graph node and its owner-host WorkUnit. Retry with the same key.", + inputSchema: z.strictObject({ workItemId: objectId, graphId: objectId, graphNodeId: objectId, + graphRevision: z.number().int().positive(), ownerHostId: objectId, ownerRouteGeneration: z.number().int().positive(), + workUnitId: objectId, attemptId: objectId.optional(), expectedWorkItemRevision: z.number().int().positive(), idempotencyKey: requestKey }), + annotations: { idempotentHint: true, destructiveHint: false }, + }, async params => describe(await client.bindWorkItemDevice(params))); + if (methods.has("workItem/device/receipt")) server.registerTool("ling_work_item_device_receipt", { + description: "Record an owner-host Device Fabric receipt. Unknown remains durable until the owner supplies a later reconciliation receipt.", + inputSchema: z.strictObject({ workItemId: objectId, bindingId: objectId, expectedBindingRevision: z.number().int().positive(), + expectedWorkItemRevision: z.number().int().positive(), ownerHostId: objectId, ownerRouteGeneration: z.number().int().positive(), + workUnitId: objectId, attemptId: objectId.optional(), status: z.enum(["succeeded", "failed", "cancelled", "unknown"]), + resultRef: z.string().min(1).max(512), reconciled: z.boolean().optional(), idempotencyKey: requestKey }), + annotations: { idempotentHint: true, destructiveHint: false }, + }, async params => describe(await client.recordWorkItemDeviceReceipt(params))); if (methods.has("workItem/workflow/bind")) server.registerTool("ling_work_item_workflow_bind", { description: "Bind an accepted Plan to its converted Workflow. Supply the paused predecessor, accepted successor and any retained independent results or active executions. Retry with the same key.", inputSchema: z.strictObject({ workItemId: objectId, planId: objectId, diff --git a/packages/daemon/src/server/rpc.ts b/packages/daemon/src/server/rpc.ts index 60331e17a..90bdeb24f 100644 --- a/packages/daemon/src/server/rpc.ts +++ b/packages/daemon/src/server/rpc.ts @@ -10,6 +10,10 @@ import { WORKFLOW_STAGE_QUESTION_ANSWER_ID_PREFIX, UserInputStoreError, evaluateDeliberationTrigger, + bindWorkItemDevice, + recordWorkItemDeviceReceipt, + readWorkItemDeviceBindings, + WorkItemDeviceBridgeError, readWorkItemStageQuestion, type ControlPlaneDomain, type ControlPlaneEvent, @@ -54,6 +58,8 @@ import { type LingAppServerWorkItemResult, type LingAppServerWorkflowStageExecutionSource, type LingAppServerWorkflowStageResultSource, + type LingAppServerWorkItemDeviceBindParams, + type LingAppServerWorkItemDeviceReceiptParams, } from "@ling-stack/contracts"; import { WebSocket, WebSocketServer, type RawData } from "ws"; import type { DaemonContext } from "../context.js"; @@ -934,6 +940,12 @@ class RpcConnection { return this.appendCollaborationFromParams(params); case "workItem/read": return this.readWorkItem(params); + case "workItem/device/read": + return this.readWorkItemDevice(params); + case "workItem/device/bind": + return this.bindWorkItemDevice(params); + case "workItem/device/receipt": + return this.recordWorkItemDeviceReceipt(params); case "workItem/pause": return this.controlWorkItem("pause", params); case "workItem/resume": @@ -1015,6 +1027,7 @@ class RpcConnection { if (grantAllowsMethod(this.grant, "approval/respond")) capabilities.push("approval.respond"); if (grantAllowsMethod(this.grant, "input/respond")) capabilities.push("input.respond"); if (grantAllowsMethod(this.grant, "workItem/read")) capabilities.push("workItem.read", "workItem.evidence"); + if (grantAllowsMethod(this.grant, "workItem/device/read")) capabilities.push("workItem.device"); if (grantAllowsMethod(this.grant, "workItem/pause")) capabilities.push("workItem.control"); return capabilities; } @@ -2689,6 +2702,54 @@ class RpcConnection { }); } + private readWorkItemDevice(params: unknown): import("@ling-stack/contracts").LingAppServerWorkItemDeviceReadResult { + const record = this.workspaceParams(params); + const workItemId = readStringField(record, "workItemId"); + const store = this.context.storeRegistry.getStore(record.cwd); + if (!store.getWorkItem(workItemId)) throw rpcError(-32040, "workspace_binding_invalid", "The Work Item was not found."); + return { cwd: record.cwd, workItemId, bindings: readWorkItemDeviceBindings(store, workItemId) }; + } + + private bindWorkItemDevice(params: unknown): import("@ling-stack/contracts").LingAppServerWorkItemDeviceBindResult { + const record = this.workspaceParams(params, true); + const input: LingAppServerWorkItemDeviceBindParams = { + cwd: record.cwd, workItemId: readStringField(record, "workItemId"), graphId: readStringField(record, "graphId"), + graphNodeId: readStringField(record, "graphNodeId"), graphRevision: readIntegerField(record, "graphRevision", "graphRevision"), + ownerHostId: readStringField(record, "ownerHostId"), ownerRouteGeneration: readIntegerField(record, "ownerRouteGeneration", "ownerRouteGeneration"), + workUnitId: readStringField(record, "workUnitId"), attemptId: readOptionalStringField(record, "attemptId"), + expectedWorkItemRevision: readIntegerField(record, "expectedWorkItemRevision", "expectedWorkItemRevision"), + idempotencyKey: readStringField(record, "idempotencyKey"), + }; + try { + const result = bindWorkItemDevice(this.context.storeRegistry.getStore(record.cwd), input, new Date().toISOString(), record.cwd); + if (result.event) this.context.controlPlaneEvents.publish(trimOversizedEvent(result.event)); + return { cwd: record.cwd, binding: result.binding, replayed: result.replayed }; + } catch (error) { + throw deviceBridgeRpcError(error); + } + } + + private recordWorkItemDeviceReceipt(params: unknown): import("@ling-stack/contracts").LingAppServerWorkItemDeviceReceiptResult { + const record = this.workspaceParams(params, true); + const input: LingAppServerWorkItemDeviceReceiptParams = { + cwd: record.cwd, workItemId: readStringField(record, "workItemId"), bindingId: readStringField(record, "bindingId"), + expectedBindingRevision: readIntegerField(record, "expectedBindingRevision", "expectedBindingRevision"), + expectedWorkItemRevision: readIntegerField(record, "expectedWorkItemRevision", "expectedWorkItemRevision"), + ownerHostId: readStringField(record, "ownerHostId"), ownerRouteGeneration: readIntegerField(record, "ownerRouteGeneration", "ownerRouteGeneration"), + workUnitId: readStringField(record, "workUnitId"), attemptId: readOptionalStringField(record, "attemptId"), + status: readStringField(record, "status") as LingAppServerWorkItemDeviceReceiptParams["status"], + resultRef: readStringField(record, "resultRef"), reconciled: record.reconciled === true, + idempotencyKey: readStringField(record, "idempotencyKey"), + }; + try { + const result = recordWorkItemDeviceReceipt(this.context.storeRegistry.getStore(record.cwd), input, new Date().toISOString(), record.cwd); + if (result.event) this.context.controlPlaneEvents.publish(trimOversizedEvent(result.event)); + return { cwd: record.cwd, binding: result.binding, replayed: result.replayed }; + } catch (error) { + throw deviceBridgeRpcError(error); + } + } + private readArtifact(params: unknown): import("@ling-stack/contracts").LingAppServerArtifactReadResult { const record = this.workspaceParams(params); const artifactId = readStringField(record, "artifactId"); @@ -3386,7 +3447,7 @@ function readRetainedWorkflowStageSources(value: unknown, kind: "result" | "exec function readOptionalWorkItemSourceType(value: unknown): WorkItemSourceType | undefined { if (value === undefined) return undefined; const sourceTypes: readonly WorkItemSourceType[] = [ - "channel_task", "channel_workflow_step", "automation_run", "external_work", "external_work_action", "approval", "run", "manual", + "channel_task", "channel_workflow_step", "automation_run", "external_work", "external_work_action", "approval", "run", "device_task_graph_node", "manual", ]; if (typeof value !== "string" || !sourceTypes.includes(value as WorkItemSourceType)) { throw rpcError(-32602, "invalid_params", "sourceType is not a supported Work Item source type."); @@ -3394,6 +3455,15 @@ function readOptionalWorkItemSourceType(value: unknown): WorkItemSourceType | un return value as WorkItemSourceType; } +function deviceBridgeRpcError(error: unknown): never { + if (!(error instanceof WorkItemDeviceBridgeError)) throw error; + const status = error.code === "work_item_not_found" ? -32040 + : error.code === "invalid_params" ? -32602 + : error.code === "resume_blocked" ? -32061 + : error.code === "stale_revision" ? -32030 : -32031; + throw rpcError(status, error.code, error.message); +} + function readOptionalWorkItemPriority(value: unknown): WorkItem["priority"] | undefined { if (value === undefined) return undefined; const priorities = ["low", "normal", "high", "urgent"] as const; @@ -3740,6 +3810,7 @@ function appServerEventMethod(event: ControlPlaneEvent): string | undefined { if (event.action.startsWith("turn.")) return "turn/status/changed"; } if (event.entityType === "work_item") { + if (event.action === "work_item.device.updated") return "workItem/device/updated"; if (event.action === "work_item.stage.updated") return "workItem/stage/updated"; if (event.action === "work_item.intake.dispatch.updated") return "workItem/intake/updated"; if (event.action.startsWith("work_item.plan_change.")) return "workItem/plan/change/updated"; diff --git a/packages/daemon/test/app-server-device-bridge.test.ts b/packages/daemon/test/app-server-device-bridge.test.ts new file mode 100644 index 000000000..6aabaa8d9 --- /dev/null +++ b/packages/daemon/test/app-server-device-bridge.test.ts @@ -0,0 +1,63 @@ +import assert from "node:assert/strict"; +import { randomUUID } from "node:crypto"; +import { mkdir, mkdtemp, rm } from "node:fs/promises"; +import { tmpdir } from "node:os"; +import { join } from "node:path"; +import test from "node:test"; +import { LingAppServerClient, type LingAppServerSocket } from "@ling-stack/api-client"; +import { createSqliteRunStore, resolveStoragePaths } from "@ling-stack/core"; +import { WebSocket } from "ws"; +import { createDaemonServer } from "../dist/index.js"; + +test("App Server persists the Work Item to Device Fabric owner mapping and replays it after restart", { timeout: 15_000 }, async t => { + const root = await mkdtemp(join(tmpdir(), "ling-app-server-device-bridge-")); + const cwd = join(root, "workspace"); + await mkdir(cwd); + const token = randomUUID(); + const createDaemon = () => createDaemonServer({ host: "127.0.0.1", port: 0, defaultWorkspaceCwd: cwd, authToken: token }, { + storeFactory(workspace) { + return createSqliteRunStore(workspace, resolveStoragePaths(workspace, { homeDir: root, env: {}, workspaceStateLocation: "repo-local" }).workspace); + }, + }); + let daemon = createDaemon(); + const connect = async () => { + const address = daemon.server.address(); + assert.ok(address && typeof address === "object"); + const url = new URL(`ws://127.0.0.1:${address.port}/app-server/rpc`); + url.searchParams.set("cwd", cwd); + const client = new LingAppServerClient({ + url: url.href, clientInfo: { name: "Device bridge test", version: "1" }, requiredCapabilities: ["workItem.device"], + createSocket: address => new WebSocket(address, { headers: { Authorization: `Bearer ${token}` } }) as unknown as LingAppServerSocket, + }); + await client.connect(); + t.after(() => client.close()); + return client; + }; + t.after(async () => { await daemon.stop(); await rm(root, { recursive: true, force: true }); }); + + await daemon.start(); + const client = await connect(); + const created = await client.createWorkItem({ cwd, sourceType: "device_task_graph_node", sourceId: "graph-rpc/node-rpc", title: "Device RPC" }); + const binding = await client.bindWorkItemDevice({ + cwd, workItemId: created.workItem.workItemId, graphId: "graph-rpc", graphNodeId: "node-rpc", graphRevision: 2, + ownerHostId: "host-rpc", ownerRouteGeneration: 7, workUnitId: "unit-rpc", attemptId: "attempt-rpc", + expectedWorkItemRevision: Number(created.workItem.revision), idempotencyKey: "bind-rpc", + }); + assert.equal(binding.binding.status, "bound"); + const unknown = await client.recordWorkItemDeviceReceipt({ + cwd, workItemId: created.workItem.workItemId, bindingId: binding.binding.bindingId, expectedBindingRevision: binding.binding.revision, + expectedWorkItemRevision: Number(created.workItem.revision), ownerHostId: "host-rpc", ownerRouteGeneration: 7, + workUnitId: "unit-rpc", attemptId: "attempt-rpc", status: "unknown", resultRef: "journal-rpc-unknown", idempotencyKey: "receipt-rpc", + }); + assert.equal(unknown.binding.status, "unknown"); + const beforeRestart = await client.readWorkItemDevice(created.workItem.workItemId); + assert.equal(beforeRestart.bindings[0]?.receipt?.resultRef, "journal-rpc-unknown"); + client.close(); + await daemon.stop(); + daemon = createDaemon(); + await daemon.start(); + const resumed = await connect(); + const afterRestart = await resumed.readWorkItemDevice(created.workItem.workItemId); + assert.equal(afterRestart.bindings[0]?.status, "unknown"); + assert.equal(afterRestart.bindings[0]?.ownerHostId, "host-rpc"); +}); From 7c121a42f936cfe709e3a74316cc268cd86704cb Mon Sep 17 00:00:00 2001 From: tianxiaochannel-oss88 Date: Wed, 25 Nov 2026 04:13:11 +0800 Subject: [PATCH 105/147] Assign Device bridge RPC test to Linux daemon lane --- scripts/ci/daemon-test-platforms.json | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/ci/daemon-test-platforms.json b/scripts/ci/daemon-test-platforms.json index 0abb45474..f49233e2b 100644 --- a/scripts/ci/daemon-test-platforms.json +++ b/scripts/ci/daemon-test-platforms.json @@ -16,6 +16,7 @@ "test/agent-capabilities-integration.test.ts", "test/agent-capabilities.test.ts", "test/app-server-collaboration.test.mjs", + "test/app-server-device-bridge.test.ts", "test/app-server-development-rpc.test.ts", "test/app-server-development.test.ts", "test/app-server-release-acceptance.test.ts", From 8223020a106f634c8cdadd3bde34e7f9115fd79e Mon Sep 17 00:00:00 2001 From: "ling-stack-model-catalog[bot]" <345092909+ling-stack-model-catalog[bot]@users.noreply.github.com> Date: Tue, 24 Nov 2026 20:15:11 +0000 Subject: [PATCH 106/147] chore: translate catalogs for new source strings --- packages/localization/catalogs/bg-BG.json | 4 +++- packages/localization/catalogs/bn-BD.json | 4 +++- packages/localization/catalogs/bs-BA.json | 4 +++- packages/localization/catalogs/ca-ES.json | 4 +++- packages/localization/catalogs/cs-CZ.json | 4 +++- packages/localization/catalogs/da-DK.json | 4 +++- packages/localization/catalogs/de-DE.json | 4 +++- packages/localization/catalogs/el-GR.json | 4 +++- packages/localization/catalogs/en-US.json | 4 +++- packages/localization/catalogs/es-419.json | 4 +++- packages/localization/catalogs/es-ES.json | 4 +++- packages/localization/catalogs/et-EE.json | 4 +++- packages/localization/catalogs/fi-FI.json | 4 +++- packages/localization/catalogs/fr-CA.json | 4 +++- packages/localization/catalogs/fr-FR.json | 4 +++- packages/localization/catalogs/gu-IN.json | 4 +++- packages/localization/catalogs/hi-IN.json | 4 +++- packages/localization/catalogs/hr-HR.json | 4 +++- packages/localization/catalogs/hu-HU.json | 4 +++- packages/localization/catalogs/hy-AM.json | 4 +++- packages/localization/catalogs/id-ID.json | 4 +++- packages/localization/catalogs/is-IS.json | 4 +++- packages/localization/catalogs/it-IT.json | 4 +++- packages/localization/catalogs/ja-JP.json | 4 +++- packages/localization/catalogs/ka-GE.json | 4 +++- packages/localization/catalogs/kn-IN.json | 4 +++- packages/localization/catalogs/ko-KR.json | 4 +++- packages/localization/catalogs/lv-LV.json | 4 +++- packages/localization/catalogs/mk-MK.json | 4 +++- packages/localization/catalogs/mr-IN.json | 4 +++- packages/localization/catalogs/ms-MY.json | 4 +++- packages/localization/catalogs/my-MM.json | 4 +++- packages/localization/catalogs/nb-NO.json | 4 +++- packages/localization/catalogs/nl-NL.json | 4 +++- packages/localization/catalogs/pl-PL.json | 4 +++- packages/localization/catalogs/pt-BR.json | 4 +++- packages/localization/catalogs/pt-PT.json | 4 +++- packages/localization/catalogs/ro-RO.json | 4 +++- packages/localization/catalogs/ru-RU.json | 4 +++- packages/localization/catalogs/sk-SK.json | 4 +++- packages/localization/catalogs/sl-SI.json | 4 +++- packages/localization/catalogs/so-SO.json | 4 +++- packages/localization/catalogs/sq-AL.json | 4 +++- packages/localization/catalogs/sr-RS.json | 4 +++- packages/localization/catalogs/sv-SE.json | 4 +++- packages/localization/catalogs/sw-TZ.json | 4 +++- packages/localization/catalogs/ta-IN.json | 4 +++- packages/localization/catalogs/te-IN.json | 4 +++- packages/localization/catalogs/th-TH.json | 4 +++- packages/localization/catalogs/tr-TR.json | 4 +++- packages/localization/catalogs/uk-UA.json | 4 +++- packages/localization/catalogs/vi-VN.json | 4 +++- packages/localization/catalogs/zh-CN.json | 4 +++- packages/localization/catalogs/zh-HK.json | 4 +++- packages/localization/catalogs/zh-TW.json | 4 +++- 55 files changed, 165 insertions(+), 55 deletions(-) diff --git a/packages/localization/catalogs/bg-BG.json b/packages/localization/catalogs/bg-BG.json index 5aa930300..d964b39dc 100644 --- a/packages/localization/catalogs/bg-BG.json +++ b/packages/localization/catalogs/bg-BG.json @@ -1,6 +1,6 @@ { "locale": "bg-BG", - "sourceRevision": "14766ab3ea5977c0b9e71d84c184f934a682c76cb4350cd82fbe75c16575e4cd", + "sourceRevision": "3114def232352d65521d56a32a2bc07303bfbccbdfd2c5173facc5b7e0d46efb", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -2374,6 +2374,7 @@ "Device permission": "725493160bd2b22ebfc5ec907be86dc813ae0f6386c8353384dbffdceadc132a", "Device permissions": "8b91be20c68bf7bd71fd6aa84ab3f1da6c1600d43eb6cadb49e9a28fcd94c2af", "Device storage": "b2ca4043ebf7dac9bcc73690e334ab57f3d945c18ec262f283f6a9ed6b0bd0ea", + "device_task_graph_node": "3131678bbed5bebceba6ff2d564d2293c30d984e81c94b7ac1e643e7042c1821", "Diagnostics": "268f14bbfe119c1e92150583af960a086d7db9619a097f8aa72ff6779842f610", "Diagnostics and raw records": "391bf46c129a79ba6e9b52d9fb64fb4ddfb8981c34bea0da5d6447f7ef3084f4", "Diagram": "913c5e96ccce08c180f5ba8c522dc44bb3e4d8a33b269c048a3365ea4131cf6b", @@ -10170,6 +10171,7 @@ "Device permission": "Разрешение за устройство", "Device permissions": "Разрешения на устройството", "Device storage": "Съхранение на устройството", + "device_task_graph_node": "device_task_graph_node", "Diagnostics": "Диагностика", "Diagnostics and raw records": "Диагностика и необработени записи", "Diagram": "Diagram", diff --git a/packages/localization/catalogs/bn-BD.json b/packages/localization/catalogs/bn-BD.json index 87b87535d..d4ca25b11 100644 --- a/packages/localization/catalogs/bn-BD.json +++ b/packages/localization/catalogs/bn-BD.json @@ -1,6 +1,6 @@ { "locale": "bn-BD", - "sourceRevision": "14766ab3ea5977c0b9e71d84c184f934a682c76cb4350cd82fbe75c16575e4cd", + "sourceRevision": "3114def232352d65521d56a32a2bc07303bfbccbdfd2c5173facc5b7e0d46efb", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -2374,6 +2374,7 @@ "Device permission": "725493160bd2b22ebfc5ec907be86dc813ae0f6386c8353384dbffdceadc132a", "Device permissions": "8b91be20c68bf7bd71fd6aa84ab3f1da6c1600d43eb6cadb49e9a28fcd94c2af", "Device storage": "b2ca4043ebf7dac9bcc73690e334ab57f3d945c18ec262f283f6a9ed6b0bd0ea", + "device_task_graph_node": "3131678bbed5bebceba6ff2d564d2293c30d984e81c94b7ac1e643e7042c1821", "Diagnostics": "268f14bbfe119c1e92150583af960a086d7db9619a097f8aa72ff6779842f610", "Diagnostics and raw records": "391bf46c129a79ba6e9b52d9fb64fb4ddfb8981c34bea0da5d6447f7ef3084f4", "Diagram": "913c5e96ccce08c180f5ba8c522dc44bb3e4d8a33b269c048a3365ea4131cf6b", @@ -10170,6 +10171,7 @@ "Device permission": "ডিভাইসের অনুমতি", "Device permissions": "ডিভাইসের অনুমতি", "Device storage": "ডিভাইস স্টোরেজ", + "device_task_graph_node": "ডিভাইস_টাস্ক_গ্রাফ_নোড", "Diagnostics": "ডায়াগনস্টিকস", "Diagnostics and raw records": "ডায়াগনস্টিকস এবং কাঁচা রেকর্ড", "Diagram": "Diagram", diff --git a/packages/localization/catalogs/bs-BA.json b/packages/localization/catalogs/bs-BA.json index ecef90776..432e270b2 100644 --- a/packages/localization/catalogs/bs-BA.json +++ b/packages/localization/catalogs/bs-BA.json @@ -1,6 +1,6 @@ { "locale": "bs-BA", - "sourceRevision": "14766ab3ea5977c0b9e71d84c184f934a682c76cb4350cd82fbe75c16575e4cd", + "sourceRevision": "3114def232352d65521d56a32a2bc07303bfbccbdfd2c5173facc5b7e0d46efb", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -2374,6 +2374,7 @@ "Device permission": "725493160bd2b22ebfc5ec907be86dc813ae0f6386c8353384dbffdceadc132a", "Device permissions": "8b91be20c68bf7bd71fd6aa84ab3f1da6c1600d43eb6cadb49e9a28fcd94c2af", "Device storage": "b2ca4043ebf7dac9bcc73690e334ab57f3d945c18ec262f283f6a9ed6b0bd0ea", + "device_task_graph_node": "3131678bbed5bebceba6ff2d564d2293c30d984e81c94b7ac1e643e7042c1821", "Diagnostics": "268f14bbfe119c1e92150583af960a086d7db9619a097f8aa72ff6779842f610", "Diagnostics and raw records": "391bf46c129a79ba6e9b52d9fb64fb4ddfb8981c34bea0da5d6447f7ef3084f4", "Diagram": "913c5e96ccce08c180f5ba8c522dc44bb3e4d8a33b269c048a3365ea4131cf6b", @@ -10170,6 +10171,7 @@ "Device permission": "Dozvola za uređaj", "Device permissions": "Odobrenja uređaja", "Device storage": "Pohrana uređaja", + "device_task_graph_node": "device_task_graph_node", "Diagnostics": "Dijagnostika", "Diagnostics and raw records": "Dijagnostika i neobrađeni zapisi", "Diagram": "Diagram", diff --git a/packages/localization/catalogs/ca-ES.json b/packages/localization/catalogs/ca-ES.json index 06bcb3a8f..8a8fd20f1 100644 --- a/packages/localization/catalogs/ca-ES.json +++ b/packages/localization/catalogs/ca-ES.json @@ -1,6 +1,6 @@ { "locale": "ca-ES", - "sourceRevision": "14766ab3ea5977c0b9e71d84c184f934a682c76cb4350cd82fbe75c16575e4cd", + "sourceRevision": "3114def232352d65521d56a32a2bc07303bfbccbdfd2c5173facc5b7e0d46efb", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -2374,6 +2374,7 @@ "Device permission": "725493160bd2b22ebfc5ec907be86dc813ae0f6386c8353384dbffdceadc132a", "Device permissions": "8b91be20c68bf7bd71fd6aa84ab3f1da6c1600d43eb6cadb49e9a28fcd94c2af", "Device storage": "b2ca4043ebf7dac9bcc73690e334ab57f3d945c18ec262f283f6a9ed6b0bd0ea", + "device_task_graph_node": "3131678bbed5bebceba6ff2d564d2293c30d984e81c94b7ac1e643e7042c1821", "Diagnostics": "268f14bbfe119c1e92150583af960a086d7db9619a097f8aa72ff6779842f610", "Diagnostics and raw records": "391bf46c129a79ba6e9b52d9fb64fb4ddfb8981c34bea0da5d6447f7ef3084f4", "Diagram": "913c5e96ccce08c180f5ba8c522dc44bb3e4d8a33b269c048a3365ea4131cf6b", @@ -10170,6 +10171,7 @@ "Device permission": "Permís del dispositiu", "Device permissions": "Permisos del dispositiu", "Device storage": "Emmagatzematge del dispositiu", + "device_task_graph_node": "device_task_graph_node", "Diagnostics": "Diagnòstics", "Diagnostics and raw records": "Diagnòstic i registres en brut", "Diagram": "Diagram", diff --git a/packages/localization/catalogs/cs-CZ.json b/packages/localization/catalogs/cs-CZ.json index 3b417fb30..2e39914d0 100644 --- a/packages/localization/catalogs/cs-CZ.json +++ b/packages/localization/catalogs/cs-CZ.json @@ -1,6 +1,6 @@ { "locale": "cs-CZ", - "sourceRevision": "14766ab3ea5977c0b9e71d84c184f934a682c76cb4350cd82fbe75c16575e4cd", + "sourceRevision": "3114def232352d65521d56a32a2bc07303bfbccbdfd2c5173facc5b7e0d46efb", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -2374,6 +2374,7 @@ "Device permission": "725493160bd2b22ebfc5ec907be86dc813ae0f6386c8353384dbffdceadc132a", "Device permissions": "8b91be20c68bf7bd71fd6aa84ab3f1da6c1600d43eb6cadb49e9a28fcd94c2af", "Device storage": "b2ca4043ebf7dac9bcc73690e334ab57f3d945c18ec262f283f6a9ed6b0bd0ea", + "device_task_graph_node": "3131678bbed5bebceba6ff2d564d2293c30d984e81c94b7ac1e643e7042c1821", "Diagnostics": "268f14bbfe119c1e92150583af960a086d7db9619a097f8aa72ff6779842f610", "Diagnostics and raw records": "391bf46c129a79ba6e9b52d9fb64fb4ddfb8981c34bea0da5d6447f7ef3084f4", "Diagram": "913c5e96ccce08c180f5ba8c522dc44bb3e4d8a33b269c048a3365ea4131cf6b", @@ -10170,6 +10171,7 @@ "Device permission": "Oprávnění zařízení", "Device permissions": "Oprávnění zařízení", "Device storage": "Úložiště zařízení", + "device_task_graph_node": "device_task_graph_node", "Diagnostics": "Diagnostika", "Diagnostics and raw records": "Diagnostika a hrubé záznamy", "Diagram": "Diagram", diff --git a/packages/localization/catalogs/da-DK.json b/packages/localization/catalogs/da-DK.json index 3dec4c72d..6f614ef4e 100644 --- a/packages/localization/catalogs/da-DK.json +++ b/packages/localization/catalogs/da-DK.json @@ -1,6 +1,6 @@ { "locale": "da-DK", - "sourceRevision": "14766ab3ea5977c0b9e71d84c184f934a682c76cb4350cd82fbe75c16575e4cd", + "sourceRevision": "3114def232352d65521d56a32a2bc07303bfbccbdfd2c5173facc5b7e0d46efb", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -2374,6 +2374,7 @@ "Device permission": "725493160bd2b22ebfc5ec907be86dc813ae0f6386c8353384dbffdceadc132a", "Device permissions": "8b91be20c68bf7bd71fd6aa84ab3f1da6c1600d43eb6cadb49e9a28fcd94c2af", "Device storage": "b2ca4043ebf7dac9bcc73690e334ab57f3d945c18ec262f283f6a9ed6b0bd0ea", + "device_task_graph_node": "3131678bbed5bebceba6ff2d564d2293c30d984e81c94b7ac1e643e7042c1821", "Diagnostics": "268f14bbfe119c1e92150583af960a086d7db9619a097f8aa72ff6779842f610", "Diagnostics and raw records": "391bf46c129a79ba6e9b52d9fb64fb4ddfb8981c34bea0da5d6447f7ef3084f4", "Diagram": "913c5e96ccce08c180f5ba8c522dc44bb3e4d8a33b269c048a3365ea4131cf6b", @@ -10170,6 +10171,7 @@ "Device permission": "Enhedstilladelse", "Device permissions": "Enhedstilladelser", "Device storage": "Enhedsopbevaring", + "device_task_graph_node": "device_task_graph_node", "Diagnostics": "Diagnostik", "Diagnostics and raw records": "Diagnostik og råregistreringer", "Diagram": "Diagram", diff --git a/packages/localization/catalogs/de-DE.json b/packages/localization/catalogs/de-DE.json index 6a085d7ce..d568e2144 100644 --- a/packages/localization/catalogs/de-DE.json +++ b/packages/localization/catalogs/de-DE.json @@ -1,6 +1,6 @@ { "locale": "de-DE", - "sourceRevision": "14766ab3ea5977c0b9e71d84c184f934a682c76cb4350cd82fbe75c16575e4cd", + "sourceRevision": "3114def232352d65521d56a32a2bc07303bfbccbdfd2c5173facc5b7e0d46efb", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -2374,6 +2374,7 @@ "Device permission": "725493160bd2b22ebfc5ec907be86dc813ae0f6386c8353384dbffdceadc132a", "Device permissions": "8b91be20c68bf7bd71fd6aa84ab3f1da6c1600d43eb6cadb49e9a28fcd94c2af", "Device storage": "b2ca4043ebf7dac9bcc73690e334ab57f3d945c18ec262f283f6a9ed6b0bd0ea", + "device_task_graph_node": "3131678bbed5bebceba6ff2d564d2293c30d984e81c94b7ac1e643e7042c1821", "Diagnostics": "268f14bbfe119c1e92150583af960a086d7db9619a097f8aa72ff6779842f610", "Diagnostics and raw records": "391bf46c129a79ba6e9b52d9fb64fb4ddfb8981c34bea0da5d6447f7ef3084f4", "Diagram": "913c5e96ccce08c180f5ba8c522dc44bb3e4d8a33b269c048a3365ea4131cf6b", @@ -10170,6 +10171,7 @@ "Device permission": "Geräteberechtigung", "Device permissions": "Geräteberechtigungen", "Device storage": "Gerätespeicher", + "device_task_graph_node": "device_task_graph_node", "Diagnostics": "Diagnose", "Diagnostics and raw records": "Diagnose und Rohaufzeichnungen", "Diagram": "Diagram", diff --git a/packages/localization/catalogs/el-GR.json b/packages/localization/catalogs/el-GR.json index ea3050035..c856f40ab 100644 --- a/packages/localization/catalogs/el-GR.json +++ b/packages/localization/catalogs/el-GR.json @@ -1,6 +1,6 @@ { "locale": "el-GR", - "sourceRevision": "14766ab3ea5977c0b9e71d84c184f934a682c76cb4350cd82fbe75c16575e4cd", + "sourceRevision": "3114def232352d65521d56a32a2bc07303bfbccbdfd2c5173facc5b7e0d46efb", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -2374,6 +2374,7 @@ "Device permission": "725493160bd2b22ebfc5ec907be86dc813ae0f6386c8353384dbffdceadc132a", "Device permissions": "8b91be20c68bf7bd71fd6aa84ab3f1da6c1600d43eb6cadb49e9a28fcd94c2af", "Device storage": "b2ca4043ebf7dac9bcc73690e334ab57f3d945c18ec262f283f6a9ed6b0bd0ea", + "device_task_graph_node": "3131678bbed5bebceba6ff2d564d2293c30d984e81c94b7ac1e643e7042c1821", "Diagnostics": "268f14bbfe119c1e92150583af960a086d7db9619a097f8aa72ff6779842f610", "Diagnostics and raw records": "391bf46c129a79ba6e9b52d9fb64fb4ddfb8981c34bea0da5d6447f7ef3084f4", "Diagram": "913c5e96ccce08c180f5ba8c522dc44bb3e4d8a33b269c048a3365ea4131cf6b", @@ -10170,6 +10171,7 @@ "Device permission": "Άδεια συσκευής", "Device permissions": "Δικαιώματα συσκευής", "Device storage": "Αποθήκευση συσκευής", + "device_task_graph_node": "device_task_graph_node", "Diagnostics": "Διαγνωστικά", "Diagnostics and raw records": "Διαγνωστικά και ακατέργαστα αρχεία", "Diagram": "Diagram", diff --git a/packages/localization/catalogs/en-US.json b/packages/localization/catalogs/en-US.json index 2b6b7c632..b2135a730 100644 --- a/packages/localization/catalogs/en-US.json +++ b/packages/localization/catalogs/en-US.json @@ -1,6 +1,6 @@ { "locale": "en-US", - "sourceRevision": "14766ab3ea5977c0b9e71d84c184f934a682c76cb4350cd82fbe75c16575e4cd", + "sourceRevision": "3114def232352d65521d56a32a2bc07303bfbccbdfd2c5173facc5b7e0d46efb", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -2374,6 +2374,7 @@ "Device permission": "725493160bd2b22ebfc5ec907be86dc813ae0f6386c8353384dbffdceadc132a", "Device permissions": "8b91be20c68bf7bd71fd6aa84ab3f1da6c1600d43eb6cadb49e9a28fcd94c2af", "Device storage": "b2ca4043ebf7dac9bcc73690e334ab57f3d945c18ec262f283f6a9ed6b0bd0ea", + "device_task_graph_node": "3131678bbed5bebceba6ff2d564d2293c30d984e81c94b7ac1e643e7042c1821", "Diagnostics": "268f14bbfe119c1e92150583af960a086d7db9619a097f8aa72ff6779842f610", "Diagnostics and raw records": "391bf46c129a79ba6e9b52d9fb64fb4ddfb8981c34bea0da5d6447f7ef3084f4", "Diagram": "913c5e96ccce08c180f5ba8c522dc44bb3e4d8a33b269c048a3365ea4131cf6b", @@ -10170,6 +10171,7 @@ "Device permission": "Device permission", "Device permissions": "Device permissions", "Device storage": "Device storage", + "device_task_graph_node": "device_task_graph_node", "Diagnostics": "Diagnostics", "Diagnostics and raw records": "Diagnostics and raw records", "Diagram": "Diagram", diff --git a/packages/localization/catalogs/es-419.json b/packages/localization/catalogs/es-419.json index e4f6910b1..c9406066d 100644 --- a/packages/localization/catalogs/es-419.json +++ b/packages/localization/catalogs/es-419.json @@ -1,6 +1,6 @@ { "locale": "es-419", - "sourceRevision": "14766ab3ea5977c0b9e71d84c184f934a682c76cb4350cd82fbe75c16575e4cd", + "sourceRevision": "3114def232352d65521d56a32a2bc07303bfbccbdfd2c5173facc5b7e0d46efb", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -2374,6 +2374,7 @@ "Device permission": "725493160bd2b22ebfc5ec907be86dc813ae0f6386c8353384dbffdceadc132a", "Device permissions": "8b91be20c68bf7bd71fd6aa84ab3f1da6c1600d43eb6cadb49e9a28fcd94c2af", "Device storage": "b2ca4043ebf7dac9bcc73690e334ab57f3d945c18ec262f283f6a9ed6b0bd0ea", + "device_task_graph_node": "3131678bbed5bebceba6ff2d564d2293c30d984e81c94b7ac1e643e7042c1821", "Diagnostics": "268f14bbfe119c1e92150583af960a086d7db9619a097f8aa72ff6779842f610", "Diagnostics and raw records": "391bf46c129a79ba6e9b52d9fb64fb4ddfb8981c34bea0da5d6447f7ef3084f4", "Diagram": "913c5e96ccce08c180f5ba8c522dc44bb3e4d8a33b269c048a3365ea4131cf6b", @@ -10170,6 +10171,7 @@ "Device permission": "Permiso del dispositivo", "Device permissions": "Permisos del dispositivo", "Device storage": "Almacenamiento del dispositivo", + "device_task_graph_node": "dispositivo_tarea_grafo_nodo", "Diagnostics": "Diagnóstico", "Diagnostics and raw records": "Diagnósticos y registros sin procesar.", "Diagram": "Diagram", diff --git a/packages/localization/catalogs/es-ES.json b/packages/localization/catalogs/es-ES.json index 1c625d662..f7f85786d 100644 --- a/packages/localization/catalogs/es-ES.json +++ b/packages/localization/catalogs/es-ES.json @@ -1,6 +1,6 @@ { "locale": "es-ES", - "sourceRevision": "14766ab3ea5977c0b9e71d84c184f934a682c76cb4350cd82fbe75c16575e4cd", + "sourceRevision": "3114def232352d65521d56a32a2bc07303bfbccbdfd2c5173facc5b7e0d46efb", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -2374,6 +2374,7 @@ "Device permission": "725493160bd2b22ebfc5ec907be86dc813ae0f6386c8353384dbffdceadc132a", "Device permissions": "8b91be20c68bf7bd71fd6aa84ab3f1da6c1600d43eb6cadb49e9a28fcd94c2af", "Device storage": "b2ca4043ebf7dac9bcc73690e334ab57f3d945c18ec262f283f6a9ed6b0bd0ea", + "device_task_graph_node": "3131678bbed5bebceba6ff2d564d2293c30d984e81c94b7ac1e643e7042c1821", "Diagnostics": "268f14bbfe119c1e92150583af960a086d7db9619a097f8aa72ff6779842f610", "Diagnostics and raw records": "391bf46c129a79ba6e9b52d9fb64fb4ddfb8981c34bea0da5d6447f7ef3084f4", "Diagram": "913c5e96ccce08c180f5ba8c522dc44bb3e4d8a33b269c048a3365ea4131cf6b", @@ -10170,6 +10171,7 @@ "Device permission": "Permiso del dispositivo", "Device permissions": "Permisos del dispositivo", "Device storage": "Almacenamiento del dispositivo", + "device_task_graph_node": "dispositivo_tarea_grafo_nodo", "Diagnostics": "Diagnóstico", "Diagnostics and raw records": "Diagnósticos y registros sin procesar.", "Diagram": "Diagram", diff --git a/packages/localization/catalogs/et-EE.json b/packages/localization/catalogs/et-EE.json index 26cb758b9..2c482c866 100644 --- a/packages/localization/catalogs/et-EE.json +++ b/packages/localization/catalogs/et-EE.json @@ -1,6 +1,6 @@ { "locale": "et-EE", - "sourceRevision": "14766ab3ea5977c0b9e71d84c184f934a682c76cb4350cd82fbe75c16575e4cd", + "sourceRevision": "3114def232352d65521d56a32a2bc07303bfbccbdfd2c5173facc5b7e0d46efb", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -2374,6 +2374,7 @@ "Device permission": "725493160bd2b22ebfc5ec907be86dc813ae0f6386c8353384dbffdceadc132a", "Device permissions": "8b91be20c68bf7bd71fd6aa84ab3f1da6c1600d43eb6cadb49e9a28fcd94c2af", "Device storage": "b2ca4043ebf7dac9bcc73690e334ab57f3d945c18ec262f283f6a9ed6b0bd0ea", + "device_task_graph_node": "3131678bbed5bebceba6ff2d564d2293c30d984e81c94b7ac1e643e7042c1821", "Diagnostics": "268f14bbfe119c1e92150583af960a086d7db9619a097f8aa72ff6779842f610", "Diagnostics and raw records": "391bf46c129a79ba6e9b52d9fb64fb4ddfb8981c34bea0da5d6447f7ef3084f4", "Diagram": "913c5e96ccce08c180f5ba8c522dc44bb3e4d8a33b269c048a3365ea4131cf6b", @@ -10170,6 +10171,7 @@ "Device permission": "Seadme luba", "Device permissions": "Seadme load", "Device storage": "Seadme salvestusruum", + "device_task_graph_node": "seade_ülesanne_graafi_sõlm", "Diagnostics": "Diagnostika", "Diagnostics and raw records": "Diagnostika ja töötlemata kirjed", "Diagram": "Diagram", diff --git a/packages/localization/catalogs/fi-FI.json b/packages/localization/catalogs/fi-FI.json index c9bf6b3ff..d05973e66 100644 --- a/packages/localization/catalogs/fi-FI.json +++ b/packages/localization/catalogs/fi-FI.json @@ -1,6 +1,6 @@ { "locale": "fi-FI", - "sourceRevision": "14766ab3ea5977c0b9e71d84c184f934a682c76cb4350cd82fbe75c16575e4cd", + "sourceRevision": "3114def232352d65521d56a32a2bc07303bfbccbdfd2c5173facc5b7e0d46efb", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -2374,6 +2374,7 @@ "Device permission": "725493160bd2b22ebfc5ec907be86dc813ae0f6386c8353384dbffdceadc132a", "Device permissions": "8b91be20c68bf7bd71fd6aa84ab3f1da6c1600d43eb6cadb49e9a28fcd94c2af", "Device storage": "b2ca4043ebf7dac9bcc73690e334ab57f3d945c18ec262f283f6a9ed6b0bd0ea", + "device_task_graph_node": "3131678bbed5bebceba6ff2d564d2293c30d984e81c94b7ac1e643e7042c1821", "Diagnostics": "268f14bbfe119c1e92150583af960a086d7db9619a097f8aa72ff6779842f610", "Diagnostics and raw records": "391bf46c129a79ba6e9b52d9fb64fb4ddfb8981c34bea0da5d6447f7ef3084f4", "Diagram": "913c5e96ccce08c180f5ba8c522dc44bb3e4d8a33b269c048a3365ea4131cf6b", @@ -10170,6 +10171,7 @@ "Device permission": "Laitteen käyttöoikeus", "Device permissions": "Laitteen käyttöoikeudet", "Device storage": "Laitteen tallennustila", + "device_task_graph_node": "laite_tehtävä_graafin_solmu", "Diagnostics": "Diagnostiikka", "Diagnostics and raw records": "Diagnostiikka ja raakatietueet", "Diagram": "Diagram", diff --git a/packages/localization/catalogs/fr-CA.json b/packages/localization/catalogs/fr-CA.json index 1dcf7b741..aba5259d1 100644 --- a/packages/localization/catalogs/fr-CA.json +++ b/packages/localization/catalogs/fr-CA.json @@ -1,6 +1,6 @@ { "locale": "fr-CA", - "sourceRevision": "14766ab3ea5977c0b9e71d84c184f934a682c76cb4350cd82fbe75c16575e4cd", + "sourceRevision": "3114def232352d65521d56a32a2bc07303bfbccbdfd2c5173facc5b7e0d46efb", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -2374,6 +2374,7 @@ "Device permission": "725493160bd2b22ebfc5ec907be86dc813ae0f6386c8353384dbffdceadc132a", "Device permissions": "8b91be20c68bf7bd71fd6aa84ab3f1da6c1600d43eb6cadb49e9a28fcd94c2af", "Device storage": "b2ca4043ebf7dac9bcc73690e334ab57f3d945c18ec262f283f6a9ed6b0bd0ea", + "device_task_graph_node": "3131678bbed5bebceba6ff2d564d2293c30d984e81c94b7ac1e643e7042c1821", "Diagnostics": "268f14bbfe119c1e92150583af960a086d7db9619a097f8aa72ff6779842f610", "Diagnostics and raw records": "391bf46c129a79ba6e9b52d9fb64fb4ddfb8981c34bea0da5d6447f7ef3084f4", "Diagram": "913c5e96ccce08c180f5ba8c522dc44bb3e4d8a33b269c048a3365ea4131cf6b", @@ -10170,6 +10171,7 @@ "Device permission": "Autorisation de l'appareil", "Device permissions": "Autorisations de l'appareil", "Device storage": "Stockage de l'appareil", + "device_task_graph_node": "node_task_graph_nœud", "Diagnostics": "Diagnostic", "Diagnostics and raw records": "Diagnostics et relevés bruts", "Diagram": "Diagram", diff --git a/packages/localization/catalogs/fr-FR.json b/packages/localization/catalogs/fr-FR.json index 736a3fc0b..6f96b51e9 100644 --- a/packages/localization/catalogs/fr-FR.json +++ b/packages/localization/catalogs/fr-FR.json @@ -1,6 +1,6 @@ { "locale": "fr-FR", - "sourceRevision": "14766ab3ea5977c0b9e71d84c184f934a682c76cb4350cd82fbe75c16575e4cd", + "sourceRevision": "3114def232352d65521d56a32a2bc07303bfbccbdfd2c5173facc5b7e0d46efb", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -2374,6 +2374,7 @@ "Device permission": "725493160bd2b22ebfc5ec907be86dc813ae0f6386c8353384dbffdceadc132a", "Device permissions": "8b91be20c68bf7bd71fd6aa84ab3f1da6c1600d43eb6cadb49e9a28fcd94c2af", "Device storage": "b2ca4043ebf7dac9bcc73690e334ab57f3d945c18ec262f283f6a9ed6b0bd0ea", + "device_task_graph_node": "3131678bbed5bebceba6ff2d564d2293c30d984e81c94b7ac1e643e7042c1821", "Diagnostics": "268f14bbfe119c1e92150583af960a086d7db9619a097f8aa72ff6779842f610", "Diagnostics and raw records": "391bf46c129a79ba6e9b52d9fb64fb4ddfb8981c34bea0da5d6447f7ef3084f4", "Diagram": "913c5e96ccce08c180f5ba8c522dc44bb3e4d8a33b269c048a3365ea4131cf6b", @@ -10170,6 +10171,7 @@ "Device permission": "Autorisation de l'appareil", "Device permissions": "Autorisations de l'appareil", "Device storage": "Stockage de l'appareil", + "device_task_graph_node": "périphérique_task_graph_node", "Diagnostics": "Diagnostic", "Diagnostics and raw records": "Diagnostics et enregistrements bruts", "Diagram": "Diagram", diff --git a/packages/localization/catalogs/gu-IN.json b/packages/localization/catalogs/gu-IN.json index 95117bcf5..2f69f58b1 100644 --- a/packages/localization/catalogs/gu-IN.json +++ b/packages/localization/catalogs/gu-IN.json @@ -1,6 +1,6 @@ { "locale": "gu-IN", - "sourceRevision": "14766ab3ea5977c0b9e71d84c184f934a682c76cb4350cd82fbe75c16575e4cd", + "sourceRevision": "3114def232352d65521d56a32a2bc07303bfbccbdfd2c5173facc5b7e0d46efb", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -2374,6 +2374,7 @@ "Device permission": "725493160bd2b22ebfc5ec907be86dc813ae0f6386c8353384dbffdceadc132a", "Device permissions": "8b91be20c68bf7bd71fd6aa84ab3f1da6c1600d43eb6cadb49e9a28fcd94c2af", "Device storage": "b2ca4043ebf7dac9bcc73690e334ab57f3d945c18ec262f283f6a9ed6b0bd0ea", + "device_task_graph_node": "3131678bbed5bebceba6ff2d564d2293c30d984e81c94b7ac1e643e7042c1821", "Diagnostics": "268f14bbfe119c1e92150583af960a086d7db9619a097f8aa72ff6779842f610", "Diagnostics and raw records": "391bf46c129a79ba6e9b52d9fb64fb4ddfb8981c34bea0da5d6447f7ef3084f4", "Diagram": "913c5e96ccce08c180f5ba8c522dc44bb3e4d8a33b269c048a3365ea4131cf6b", @@ -10170,6 +10171,7 @@ "Device permission": "ઉપકરણ પરવાનગી", "Device permissions": "ઉપકરણ પરવાનગીઓ", "Device storage": "ઉપકરણ સંગ્રહ", + "device_task_graph_node": "ઉપકરણ_કાર્ય_ગ્રાફ_નોડ", "Diagnostics": "ડાયગ્નોસ્ટિક્સ", "Diagnostics and raw records": "ડાયગ્નોસ્ટિક્સ અને કાચા રેકોર્ડ્સ", "Diagram": "Diagram", diff --git a/packages/localization/catalogs/hi-IN.json b/packages/localization/catalogs/hi-IN.json index 997721ef2..82091bf59 100644 --- a/packages/localization/catalogs/hi-IN.json +++ b/packages/localization/catalogs/hi-IN.json @@ -1,6 +1,6 @@ { "locale": "hi-IN", - "sourceRevision": "14766ab3ea5977c0b9e71d84c184f934a682c76cb4350cd82fbe75c16575e4cd", + "sourceRevision": "3114def232352d65521d56a32a2bc07303bfbccbdfd2c5173facc5b7e0d46efb", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -2374,6 +2374,7 @@ "Device permission": "725493160bd2b22ebfc5ec907be86dc813ae0f6386c8353384dbffdceadc132a", "Device permissions": "8b91be20c68bf7bd71fd6aa84ab3f1da6c1600d43eb6cadb49e9a28fcd94c2af", "Device storage": "b2ca4043ebf7dac9bcc73690e334ab57f3d945c18ec262f283f6a9ed6b0bd0ea", + "device_task_graph_node": "3131678bbed5bebceba6ff2d564d2293c30d984e81c94b7ac1e643e7042c1821", "Diagnostics": "268f14bbfe119c1e92150583af960a086d7db9619a097f8aa72ff6779842f610", "Diagnostics and raw records": "391bf46c129a79ba6e9b52d9fb64fb4ddfb8981c34bea0da5d6447f7ef3084f4", "Diagram": "913c5e96ccce08c180f5ba8c522dc44bb3e4d8a33b269c048a3365ea4131cf6b", @@ -10170,6 +10171,7 @@ "Device permission": "डिवाइस की अनुमति", "Device permissions": "डिवाइस अनुमतियाँ", "Device storage": "डिवाइस भंडारण", + "device_task_graph_node": "डिवाइस_टास्क_ग्राफ_नोड", "Diagnostics": "निदान", "Diagnostics and raw records": "निदान और कच्चे रिकॉर्ड", "Diagram": "Diagram", diff --git a/packages/localization/catalogs/hr-HR.json b/packages/localization/catalogs/hr-HR.json index 82a05842c..4c9b27013 100644 --- a/packages/localization/catalogs/hr-HR.json +++ b/packages/localization/catalogs/hr-HR.json @@ -1,6 +1,6 @@ { "locale": "hr-HR", - "sourceRevision": "14766ab3ea5977c0b9e71d84c184f934a682c76cb4350cd82fbe75c16575e4cd", + "sourceRevision": "3114def232352d65521d56a32a2bc07303bfbccbdfd2c5173facc5b7e0d46efb", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -2374,6 +2374,7 @@ "Device permission": "725493160bd2b22ebfc5ec907be86dc813ae0f6386c8353384dbffdceadc132a", "Device permissions": "8b91be20c68bf7bd71fd6aa84ab3f1da6c1600d43eb6cadb49e9a28fcd94c2af", "Device storage": "b2ca4043ebf7dac9bcc73690e334ab57f3d945c18ec262f283f6a9ed6b0bd0ea", + "device_task_graph_node": "3131678bbed5bebceba6ff2d564d2293c30d984e81c94b7ac1e643e7042c1821", "Diagnostics": "268f14bbfe119c1e92150583af960a086d7db9619a097f8aa72ff6779842f610", "Diagnostics and raw records": "391bf46c129a79ba6e9b52d9fb64fb4ddfb8981c34bea0da5d6447f7ef3084f4", "Diagram": "913c5e96ccce08c180f5ba8c522dc44bb3e4d8a33b269c048a3365ea4131cf6b", @@ -10170,6 +10171,7 @@ "Device permission": "Dozvola za uređaj", "Device permissions": "Dozvole uređaja", "Device storage": "Pohrana uređaja", + "device_task_graph_node": "uređaj_zadatak_graf_čvor", "Diagnostics": "Dijagnostika", "Diagnostics and raw records": "Dijagnostika i neobrađeni zapisi", "Diagram": "Diagram", diff --git a/packages/localization/catalogs/hu-HU.json b/packages/localization/catalogs/hu-HU.json index 41556f041..bb3452bad 100644 --- a/packages/localization/catalogs/hu-HU.json +++ b/packages/localization/catalogs/hu-HU.json @@ -1,6 +1,6 @@ { "locale": "hu-HU", - "sourceRevision": "14766ab3ea5977c0b9e71d84c184f934a682c76cb4350cd82fbe75c16575e4cd", + "sourceRevision": "3114def232352d65521d56a32a2bc07303bfbccbdfd2c5173facc5b7e0d46efb", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -2374,6 +2374,7 @@ "Device permission": "725493160bd2b22ebfc5ec907be86dc813ae0f6386c8353384dbffdceadc132a", "Device permissions": "8b91be20c68bf7bd71fd6aa84ab3f1da6c1600d43eb6cadb49e9a28fcd94c2af", "Device storage": "b2ca4043ebf7dac9bcc73690e334ab57f3d945c18ec262f283f6a9ed6b0bd0ea", + "device_task_graph_node": "3131678bbed5bebceba6ff2d564d2293c30d984e81c94b7ac1e643e7042c1821", "Diagnostics": "268f14bbfe119c1e92150583af960a086d7db9619a097f8aa72ff6779842f610", "Diagnostics and raw records": "391bf46c129a79ba6e9b52d9fb64fb4ddfb8981c34bea0da5d6447f7ef3084f4", "Diagram": "913c5e96ccce08c180f5ba8c522dc44bb3e4d8a33b269c048a3365ea4131cf6b", @@ -10170,6 +10171,7 @@ "Device permission": "Eszközengedély", "Device permissions": "Eszközengedélyek", "Device storage": "Eszköztárhely", + "device_task_graph_node": "device_task_graph_node", "Diagnostics": "Diagnosztika", "Diagnostics and raw records": "Diagnosztika és nyers rekordok", "Diagram": "Diagram", diff --git a/packages/localization/catalogs/hy-AM.json b/packages/localization/catalogs/hy-AM.json index 43ab98f8e..8e0e35935 100644 --- a/packages/localization/catalogs/hy-AM.json +++ b/packages/localization/catalogs/hy-AM.json @@ -1,6 +1,6 @@ { "locale": "hy-AM", - "sourceRevision": "14766ab3ea5977c0b9e71d84c184f934a682c76cb4350cd82fbe75c16575e4cd", + "sourceRevision": "3114def232352d65521d56a32a2bc07303bfbccbdfd2c5173facc5b7e0d46efb", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -2374,6 +2374,7 @@ "Device permission": "725493160bd2b22ebfc5ec907be86dc813ae0f6386c8353384dbffdceadc132a", "Device permissions": "8b91be20c68bf7bd71fd6aa84ab3f1da6c1600d43eb6cadb49e9a28fcd94c2af", "Device storage": "b2ca4043ebf7dac9bcc73690e334ab57f3d945c18ec262f283f6a9ed6b0bd0ea", + "device_task_graph_node": "3131678bbed5bebceba6ff2d564d2293c30d984e81c94b7ac1e643e7042c1821", "Diagnostics": "268f14bbfe119c1e92150583af960a086d7db9619a097f8aa72ff6779842f610", "Diagnostics and raw records": "391bf46c129a79ba6e9b52d9fb64fb4ddfb8981c34bea0da5d6447f7ef3084f4", "Diagram": "913c5e96ccce08c180f5ba8c522dc44bb3e4d8a33b269c048a3365ea4131cf6b", @@ -10170,6 +10171,7 @@ "Device permission": "Սարքի թույլտվություն", "Device permissions": "Սարքի թույլտվություններ", "Device storage": "Սարքի պահեստավորում", + "device_task_graph_node": "device_task_graph_node", "Diagnostics": "Ախտորոշում", "Diagnostics and raw records": "Ախտորոշում և չմշակված գրառումներ", "Diagram": "Diagram", diff --git a/packages/localization/catalogs/id-ID.json b/packages/localization/catalogs/id-ID.json index 8685a291f..1ae204c21 100644 --- a/packages/localization/catalogs/id-ID.json +++ b/packages/localization/catalogs/id-ID.json @@ -1,6 +1,6 @@ { "locale": "id-ID", - "sourceRevision": "14766ab3ea5977c0b9e71d84c184f934a682c76cb4350cd82fbe75c16575e4cd", + "sourceRevision": "3114def232352d65521d56a32a2bc07303bfbccbdfd2c5173facc5b7e0d46efb", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -2374,6 +2374,7 @@ "Device permission": "725493160bd2b22ebfc5ec907be86dc813ae0f6386c8353384dbffdceadc132a", "Device permissions": "8b91be20c68bf7bd71fd6aa84ab3f1da6c1600d43eb6cadb49e9a28fcd94c2af", "Device storage": "b2ca4043ebf7dac9bcc73690e334ab57f3d945c18ec262f283f6a9ed6b0bd0ea", + "device_task_graph_node": "3131678bbed5bebceba6ff2d564d2293c30d984e81c94b7ac1e643e7042c1821", "Diagnostics": "268f14bbfe119c1e92150583af960a086d7db9619a097f8aa72ff6779842f610", "Diagnostics and raw records": "391bf46c129a79ba6e9b52d9fb64fb4ddfb8981c34bea0da5d6447f7ef3084f4", "Diagram": "913c5e96ccce08c180f5ba8c522dc44bb3e4d8a33b269c048a3365ea4131cf6b", @@ -10170,6 +10171,7 @@ "Device permission": "Izin perangkat", "Device permissions": "Izin perangkat", "Device storage": "Penyimpanan perangkat", + "device_task_graph_node": "perangkat_tugas_graph_node", "Diagnostics": "Diagnostik", "Diagnostics and raw records": "Diagnostik dan catatan mentah", "Diagram": "Diagram", diff --git a/packages/localization/catalogs/is-IS.json b/packages/localization/catalogs/is-IS.json index 1224c4101..b1e79108c 100644 --- a/packages/localization/catalogs/is-IS.json +++ b/packages/localization/catalogs/is-IS.json @@ -1,6 +1,6 @@ { "locale": "is-IS", - "sourceRevision": "14766ab3ea5977c0b9e71d84c184f934a682c76cb4350cd82fbe75c16575e4cd", + "sourceRevision": "3114def232352d65521d56a32a2bc07303bfbccbdfd2c5173facc5b7e0d46efb", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -2374,6 +2374,7 @@ "Device permission": "725493160bd2b22ebfc5ec907be86dc813ae0f6386c8353384dbffdceadc132a", "Device permissions": "8b91be20c68bf7bd71fd6aa84ab3f1da6c1600d43eb6cadb49e9a28fcd94c2af", "Device storage": "b2ca4043ebf7dac9bcc73690e334ab57f3d945c18ec262f283f6a9ed6b0bd0ea", + "device_task_graph_node": "3131678bbed5bebceba6ff2d564d2293c30d984e81c94b7ac1e643e7042c1821", "Diagnostics": "268f14bbfe119c1e92150583af960a086d7db9619a097f8aa72ff6779842f610", "Diagnostics and raw records": "391bf46c129a79ba6e9b52d9fb64fb4ddfb8981c34bea0da5d6447f7ef3084f4", "Diagram": "913c5e96ccce08c180f5ba8c522dc44bb3e4d8a33b269c048a3365ea4131cf6b", @@ -10170,6 +10171,7 @@ "Device permission": "Leyfi tækis", "Device permissions": "Heimildir tækis", "Device storage": "Geymsla tækis", + "device_task_graph_node": "device_task_graph_node", "Diagnostics": "Greining", "Diagnostics and raw records": "Greiningar og hráskrár", "Diagram": "Diagram", diff --git a/packages/localization/catalogs/it-IT.json b/packages/localization/catalogs/it-IT.json index cca4eb997..115668a56 100644 --- a/packages/localization/catalogs/it-IT.json +++ b/packages/localization/catalogs/it-IT.json @@ -1,6 +1,6 @@ { "locale": "it-IT", - "sourceRevision": "14766ab3ea5977c0b9e71d84c184f934a682c76cb4350cd82fbe75c16575e4cd", + "sourceRevision": "3114def232352d65521d56a32a2bc07303bfbccbdfd2c5173facc5b7e0d46efb", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -2374,6 +2374,7 @@ "Device permission": "725493160bd2b22ebfc5ec907be86dc813ae0f6386c8353384dbffdceadc132a", "Device permissions": "8b91be20c68bf7bd71fd6aa84ab3f1da6c1600d43eb6cadb49e9a28fcd94c2af", "Device storage": "b2ca4043ebf7dac9bcc73690e334ab57f3d945c18ec262f283f6a9ed6b0bd0ea", + "device_task_graph_node": "3131678bbed5bebceba6ff2d564d2293c30d984e81c94b7ac1e643e7042c1821", "Diagnostics": "268f14bbfe119c1e92150583af960a086d7db9619a097f8aa72ff6779842f610", "Diagnostics and raw records": "391bf46c129a79ba6e9b52d9fb64fb4ddfb8981c34bea0da5d6447f7ef3084f4", "Diagram": "913c5e96ccce08c180f5ba8c522dc44bb3e4d8a33b269c048a3365ea4131cf6b", @@ -10170,6 +10171,7 @@ "Device permission": "Autorizzazione del dispositivo", "Device permissions": "Autorizzazioni del dispositivo", "Device storage": "Archiviazione del dispositivo", + "device_task_graph_node": "dispositivo_attività_grafo_nodo", "Diagnostics": "Diagnostica", "Diagnostics and raw records": "Diagnostica e registrazioni grezze", "Diagram": "Diagram", diff --git a/packages/localization/catalogs/ja-JP.json b/packages/localization/catalogs/ja-JP.json index 87e9b274a..abe098b7c 100644 --- a/packages/localization/catalogs/ja-JP.json +++ b/packages/localization/catalogs/ja-JP.json @@ -1,6 +1,6 @@ { "locale": "ja-JP", - "sourceRevision": "14766ab3ea5977c0b9e71d84c184f934a682c76cb4350cd82fbe75c16575e4cd", + "sourceRevision": "3114def232352d65521d56a32a2bc07303bfbccbdfd2c5173facc5b7e0d46efb", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -2374,6 +2374,7 @@ "Device permission": "725493160bd2b22ebfc5ec907be86dc813ae0f6386c8353384dbffdceadc132a", "Device permissions": "8b91be20c68bf7bd71fd6aa84ab3f1da6c1600d43eb6cadb49e9a28fcd94c2af", "Device storage": "b2ca4043ebf7dac9bcc73690e334ab57f3d945c18ec262f283f6a9ed6b0bd0ea", + "device_task_graph_node": "3131678bbed5bebceba6ff2d564d2293c30d984e81c94b7ac1e643e7042c1821", "Diagnostics": "268f14bbfe119c1e92150583af960a086d7db9619a097f8aa72ff6779842f610", "Diagnostics and raw records": "391bf46c129a79ba6e9b52d9fb64fb4ddfb8981c34bea0da5d6447f7ef3084f4", "Diagram": "913c5e96ccce08c180f5ba8c522dc44bb3e4d8a33b269c048a3365ea4131cf6b", @@ -10170,6 +10171,7 @@ "Device permission": "デバイスの許可", "Device permissions": "デバイスの権限", "Device storage": "デバイスストレージ", + "device_task_graph_node": "デバイスタスクグラフノード", "Diagnostics": "診断", "Diagnostics and raw records": "診断と生の記録", "Diagram": "Diagram", diff --git a/packages/localization/catalogs/ka-GE.json b/packages/localization/catalogs/ka-GE.json index 55660781d..113a585d5 100644 --- a/packages/localization/catalogs/ka-GE.json +++ b/packages/localization/catalogs/ka-GE.json @@ -1,6 +1,6 @@ { "locale": "ka-GE", - "sourceRevision": "14766ab3ea5977c0b9e71d84c184f934a682c76cb4350cd82fbe75c16575e4cd", + "sourceRevision": "3114def232352d65521d56a32a2bc07303bfbccbdfd2c5173facc5b7e0d46efb", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -2374,6 +2374,7 @@ "Device permission": "725493160bd2b22ebfc5ec907be86dc813ae0f6386c8353384dbffdceadc132a", "Device permissions": "8b91be20c68bf7bd71fd6aa84ab3f1da6c1600d43eb6cadb49e9a28fcd94c2af", "Device storage": "b2ca4043ebf7dac9bcc73690e334ab57f3d945c18ec262f283f6a9ed6b0bd0ea", + "device_task_graph_node": "3131678bbed5bebceba6ff2d564d2293c30d984e81c94b7ac1e643e7042c1821", "Diagnostics": "268f14bbfe119c1e92150583af960a086d7db9619a097f8aa72ff6779842f610", "Diagnostics and raw records": "391bf46c129a79ba6e9b52d9fb64fb4ddfb8981c34bea0da5d6447f7ef3084f4", "Diagram": "913c5e96ccce08c180f5ba8c522dc44bb3e4d8a33b269c048a3365ea4131cf6b", @@ -10170,6 +10171,7 @@ "Device permission": "მოწყობილობის ნებართვა", "Device permissions": "მოწყობილობის ნებართვები", "Device storage": "მოწყობილობის საცავი", + "device_task_graph_node": "მოწყობილობა_ამოცანა_გრაფი_კვანძი", "Diagnostics": "დიაგნოსტიკა", "Diagnostics and raw records": "დიაგნოსტიკა და ნედლეული ჩანაწერები", "Diagram": "Diagram", diff --git a/packages/localization/catalogs/kn-IN.json b/packages/localization/catalogs/kn-IN.json index 7bbe494a8..cde29e3f7 100644 --- a/packages/localization/catalogs/kn-IN.json +++ b/packages/localization/catalogs/kn-IN.json @@ -1,6 +1,6 @@ { "locale": "kn-IN", - "sourceRevision": "14766ab3ea5977c0b9e71d84c184f934a682c76cb4350cd82fbe75c16575e4cd", + "sourceRevision": "3114def232352d65521d56a32a2bc07303bfbccbdfd2c5173facc5b7e0d46efb", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -2374,6 +2374,7 @@ "Device permission": "725493160bd2b22ebfc5ec907be86dc813ae0f6386c8353384dbffdceadc132a", "Device permissions": "8b91be20c68bf7bd71fd6aa84ab3f1da6c1600d43eb6cadb49e9a28fcd94c2af", "Device storage": "b2ca4043ebf7dac9bcc73690e334ab57f3d945c18ec262f283f6a9ed6b0bd0ea", + "device_task_graph_node": "3131678bbed5bebceba6ff2d564d2293c30d984e81c94b7ac1e643e7042c1821", "Diagnostics": "268f14bbfe119c1e92150583af960a086d7db9619a097f8aa72ff6779842f610", "Diagnostics and raw records": "391bf46c129a79ba6e9b52d9fb64fb4ddfb8981c34bea0da5d6447f7ef3084f4", "Diagram": "913c5e96ccce08c180f5ba8c522dc44bb3e4d8a33b269c048a3365ea4131cf6b", @@ -10170,6 +10171,7 @@ "Device permission": "ಸಾಧನದ ಅನುಮತಿ", "Device permissions": "ಸಾಧನದ ಅನುಮತಿಗಳು", "Device storage": "ಸಾಧನ ಸಂಗ್ರಹಣೆ", + "device_task_graph_node": "device_task_graph_node", "Diagnostics": "ರೋಗನಿರ್ಣಯ", "Diagnostics and raw records": "ರೋಗನಿರ್ಣಯ ಮತ್ತು ಕಚ್ಚಾ ದಾಖಲೆಗಳು", "Diagram": "Diagram", diff --git a/packages/localization/catalogs/ko-KR.json b/packages/localization/catalogs/ko-KR.json index 661e5161e..4b8bf8ab8 100644 --- a/packages/localization/catalogs/ko-KR.json +++ b/packages/localization/catalogs/ko-KR.json @@ -1,6 +1,6 @@ { "locale": "ko-KR", - "sourceRevision": "14766ab3ea5977c0b9e71d84c184f934a682c76cb4350cd82fbe75c16575e4cd", + "sourceRevision": "3114def232352d65521d56a32a2bc07303bfbccbdfd2c5173facc5b7e0d46efb", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -2374,6 +2374,7 @@ "Device permission": "725493160bd2b22ebfc5ec907be86dc813ae0f6386c8353384dbffdceadc132a", "Device permissions": "8b91be20c68bf7bd71fd6aa84ab3f1da6c1600d43eb6cadb49e9a28fcd94c2af", "Device storage": "b2ca4043ebf7dac9bcc73690e334ab57f3d945c18ec262f283f6a9ed6b0bd0ea", + "device_task_graph_node": "3131678bbed5bebceba6ff2d564d2293c30d984e81c94b7ac1e643e7042c1821", "Diagnostics": "268f14bbfe119c1e92150583af960a086d7db9619a097f8aa72ff6779842f610", "Diagnostics and raw records": "391bf46c129a79ba6e9b52d9fb64fb4ddfb8981c34bea0da5d6447f7ef3084f4", "Diagram": "913c5e96ccce08c180f5ba8c522dc44bb3e4d8a33b269c048a3365ea4131cf6b", @@ -10170,6 +10171,7 @@ "Device permission": "장치 권한", "Device permissions": "장치 권한", "Device storage": "기기 저장공간", + "device_task_graph_node": "device_task_graph_node", "Diagnostics": "진단", "Diagnostics and raw records": "진단 및 원시 기록", "Diagram": "Diagram", diff --git a/packages/localization/catalogs/lv-LV.json b/packages/localization/catalogs/lv-LV.json index d7656c207..03696ee13 100644 --- a/packages/localization/catalogs/lv-LV.json +++ b/packages/localization/catalogs/lv-LV.json @@ -1,6 +1,6 @@ { "locale": "lv-LV", - "sourceRevision": "14766ab3ea5977c0b9e71d84c184f934a682c76cb4350cd82fbe75c16575e4cd", + "sourceRevision": "3114def232352d65521d56a32a2bc07303bfbccbdfd2c5173facc5b7e0d46efb", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -2374,6 +2374,7 @@ "Device permission": "725493160bd2b22ebfc5ec907be86dc813ae0f6386c8353384dbffdceadc132a", "Device permissions": "8b91be20c68bf7bd71fd6aa84ab3f1da6c1600d43eb6cadb49e9a28fcd94c2af", "Device storage": "b2ca4043ebf7dac9bcc73690e334ab57f3d945c18ec262f283f6a9ed6b0bd0ea", + "device_task_graph_node": "3131678bbed5bebceba6ff2d564d2293c30d984e81c94b7ac1e643e7042c1821", "Diagnostics": "268f14bbfe119c1e92150583af960a086d7db9619a097f8aa72ff6779842f610", "Diagnostics and raw records": "391bf46c129a79ba6e9b52d9fb64fb4ddfb8981c34bea0da5d6447f7ef3084f4", "Diagram": "913c5e96ccce08c180f5ba8c522dc44bb3e4d8a33b269c048a3365ea4131cf6b", @@ -10170,6 +10171,7 @@ "Device permission": "Ierīces atļauja", "Device permissions": "Ierīces atļaujas", "Device storage": "Ierīces krātuve", + "device_task_graph_node": "device_task_graph_node", "Diagnostics": "Diagnostika", "Diagnostics and raw records": "Diagnostika un neapstrādāti ieraksti", "Diagram": "Diagram", diff --git a/packages/localization/catalogs/mk-MK.json b/packages/localization/catalogs/mk-MK.json index 39809082b..5994faef7 100644 --- a/packages/localization/catalogs/mk-MK.json +++ b/packages/localization/catalogs/mk-MK.json @@ -1,6 +1,6 @@ { "locale": "mk-MK", - "sourceRevision": "14766ab3ea5977c0b9e71d84c184f934a682c76cb4350cd82fbe75c16575e4cd", + "sourceRevision": "3114def232352d65521d56a32a2bc07303bfbccbdfd2c5173facc5b7e0d46efb", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -2374,6 +2374,7 @@ "Device permission": "725493160bd2b22ebfc5ec907be86dc813ae0f6386c8353384dbffdceadc132a", "Device permissions": "8b91be20c68bf7bd71fd6aa84ab3f1da6c1600d43eb6cadb49e9a28fcd94c2af", "Device storage": "b2ca4043ebf7dac9bcc73690e334ab57f3d945c18ec262f283f6a9ed6b0bd0ea", + "device_task_graph_node": "3131678bbed5bebceba6ff2d564d2293c30d984e81c94b7ac1e643e7042c1821", "Diagnostics": "268f14bbfe119c1e92150583af960a086d7db9619a097f8aa72ff6779842f610", "Diagnostics and raw records": "391bf46c129a79ba6e9b52d9fb64fb4ddfb8981c34bea0da5d6447f7ef3084f4", "Diagram": "913c5e96ccce08c180f5ba8c522dc44bb3e4d8a33b269c048a3365ea4131cf6b", @@ -10170,6 +10171,7 @@ "Device permission": "Дозвола на уредот", "Device permissions": "Дозволи за уредот", "Device storage": "Складирање на уредот", + "device_task_graph_node": "уред_задача_графски_јазол", "Diagnostics": "Дијагностика", "Diagnostics and raw records": "Дијагностика и необработени записи", "Diagram": "Diagram", diff --git a/packages/localization/catalogs/mr-IN.json b/packages/localization/catalogs/mr-IN.json index d1d8841a8..c564c601c 100644 --- a/packages/localization/catalogs/mr-IN.json +++ b/packages/localization/catalogs/mr-IN.json @@ -1,6 +1,6 @@ { "locale": "mr-IN", - "sourceRevision": "14766ab3ea5977c0b9e71d84c184f934a682c76cb4350cd82fbe75c16575e4cd", + "sourceRevision": "3114def232352d65521d56a32a2bc07303bfbccbdfd2c5173facc5b7e0d46efb", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -2374,6 +2374,7 @@ "Device permission": "725493160bd2b22ebfc5ec907be86dc813ae0f6386c8353384dbffdceadc132a", "Device permissions": "8b91be20c68bf7bd71fd6aa84ab3f1da6c1600d43eb6cadb49e9a28fcd94c2af", "Device storage": "b2ca4043ebf7dac9bcc73690e334ab57f3d945c18ec262f283f6a9ed6b0bd0ea", + "device_task_graph_node": "3131678bbed5bebceba6ff2d564d2293c30d984e81c94b7ac1e643e7042c1821", "Diagnostics": "268f14bbfe119c1e92150583af960a086d7db9619a097f8aa72ff6779842f610", "Diagnostics and raw records": "391bf46c129a79ba6e9b52d9fb64fb4ddfb8981c34bea0da5d6447f7ef3084f4", "Diagram": "913c5e96ccce08c180f5ba8c522dc44bb3e4d8a33b269c048a3365ea4131cf6b", @@ -10170,6 +10171,7 @@ "Device permission": "डिव्हाइस परवानगी", "Device permissions": "डिव्हाइस परवानग्या", "Device storage": "डिव्हाइस स्टोरेज", + "device_task_graph_node": "device_task_graph_node", "Diagnostics": "निदान", "Diagnostics and raw records": "निदान आणि कच्चे रेकॉर्ड", "Diagram": "Diagram", diff --git a/packages/localization/catalogs/ms-MY.json b/packages/localization/catalogs/ms-MY.json index 361d6d8d5..3c1733754 100644 --- a/packages/localization/catalogs/ms-MY.json +++ b/packages/localization/catalogs/ms-MY.json @@ -1,6 +1,6 @@ { "locale": "ms-MY", - "sourceRevision": "14766ab3ea5977c0b9e71d84c184f934a682c76cb4350cd82fbe75c16575e4cd", + "sourceRevision": "3114def232352d65521d56a32a2bc07303bfbccbdfd2c5173facc5b7e0d46efb", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -2374,6 +2374,7 @@ "Device permission": "725493160bd2b22ebfc5ec907be86dc813ae0f6386c8353384dbffdceadc132a", "Device permissions": "8b91be20c68bf7bd71fd6aa84ab3f1da6c1600d43eb6cadb49e9a28fcd94c2af", "Device storage": "b2ca4043ebf7dac9bcc73690e334ab57f3d945c18ec262f283f6a9ed6b0bd0ea", + "device_task_graph_node": "3131678bbed5bebceba6ff2d564d2293c30d984e81c94b7ac1e643e7042c1821", "Diagnostics": "268f14bbfe119c1e92150583af960a086d7db9619a097f8aa72ff6779842f610", "Diagnostics and raw records": "391bf46c129a79ba6e9b52d9fb64fb4ddfb8981c34bea0da5d6447f7ef3084f4", "Diagram": "913c5e96ccce08c180f5ba8c522dc44bb3e4d8a33b269c048a3365ea4131cf6b", @@ -10170,6 +10171,7 @@ "Device permission": "Kebenaran peranti", "Device permissions": "Kebenaran peranti", "Device storage": "Storan peranti", + "device_task_graph_node": "device_task_graph_node", "Diagnostics": "Diagnostik", "Diagnostics and raw records": "Diagnostik dan rekod mentah", "Diagram": "Diagram", diff --git a/packages/localization/catalogs/my-MM.json b/packages/localization/catalogs/my-MM.json index 87f6bfbd4..45c1162b4 100644 --- a/packages/localization/catalogs/my-MM.json +++ b/packages/localization/catalogs/my-MM.json @@ -1,6 +1,6 @@ { "locale": "my-MM", - "sourceRevision": "14766ab3ea5977c0b9e71d84c184f934a682c76cb4350cd82fbe75c16575e4cd", + "sourceRevision": "3114def232352d65521d56a32a2bc07303bfbccbdfd2c5173facc5b7e0d46efb", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -2374,6 +2374,7 @@ "Device permission": "725493160bd2b22ebfc5ec907be86dc813ae0f6386c8353384dbffdceadc132a", "Device permissions": "8b91be20c68bf7bd71fd6aa84ab3f1da6c1600d43eb6cadb49e9a28fcd94c2af", "Device storage": "b2ca4043ebf7dac9bcc73690e334ab57f3d945c18ec262f283f6a9ed6b0bd0ea", + "device_task_graph_node": "3131678bbed5bebceba6ff2d564d2293c30d984e81c94b7ac1e643e7042c1821", "Diagnostics": "268f14bbfe119c1e92150583af960a086d7db9619a097f8aa72ff6779842f610", "Diagnostics and raw records": "391bf46c129a79ba6e9b52d9fb64fb4ddfb8981c34bea0da5d6447f7ef3084f4", "Diagram": "913c5e96ccce08c180f5ba8c522dc44bb3e4d8a33b269c048a3365ea4131cf6b", @@ -10170,6 +10171,7 @@ "Device permission": "စက်ပစ္စည်းခွင့်ပြုချက်", "Device permissions": "စက်ပစ္စည်းခွင့်ပြုချက်များ", "Device storage": "စက်ပစ္စည်းသိုလှောင်မှု", + "device_task_graph_node": "device_task_graph_node", "Diagnostics": "ရောဂါရှာဖွေရေး", "Diagnostics and raw records": "ရောဂါရှာဖွေခြင်းနှင့် မှတ်တမ်းများ", "Diagram": "Diagram", diff --git a/packages/localization/catalogs/nb-NO.json b/packages/localization/catalogs/nb-NO.json index f5a498d23..e20e45025 100644 --- a/packages/localization/catalogs/nb-NO.json +++ b/packages/localization/catalogs/nb-NO.json @@ -1,6 +1,6 @@ { "locale": "nb-NO", - "sourceRevision": "14766ab3ea5977c0b9e71d84c184f934a682c76cb4350cd82fbe75c16575e4cd", + "sourceRevision": "3114def232352d65521d56a32a2bc07303bfbccbdfd2c5173facc5b7e0d46efb", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -2374,6 +2374,7 @@ "Device permission": "725493160bd2b22ebfc5ec907be86dc813ae0f6386c8353384dbffdceadc132a", "Device permissions": "8b91be20c68bf7bd71fd6aa84ab3f1da6c1600d43eb6cadb49e9a28fcd94c2af", "Device storage": "b2ca4043ebf7dac9bcc73690e334ab57f3d945c18ec262f283f6a9ed6b0bd0ea", + "device_task_graph_node": "3131678bbed5bebceba6ff2d564d2293c30d984e81c94b7ac1e643e7042c1821", "Diagnostics": "268f14bbfe119c1e92150583af960a086d7db9619a097f8aa72ff6779842f610", "Diagnostics and raw records": "391bf46c129a79ba6e9b52d9fb64fb4ddfb8981c34bea0da5d6447f7ef3084f4", "Diagram": "913c5e96ccce08c180f5ba8c522dc44bb3e4d8a33b269c048a3365ea4131cf6b", @@ -10170,6 +10171,7 @@ "Device permission": "Enhetstillatelse", "Device permissions": "Enhetstillatelser", "Device storage": "Enhetslagring", + "device_task_graph_node": "device_task_graph_node", "Diagnostics": "Diagnostikk", "Diagnostics and raw records": "Diagnostikk og råregistreringer", "Diagram": "Diagram", diff --git a/packages/localization/catalogs/nl-NL.json b/packages/localization/catalogs/nl-NL.json index 421549140..9c91f9476 100644 --- a/packages/localization/catalogs/nl-NL.json +++ b/packages/localization/catalogs/nl-NL.json @@ -1,6 +1,6 @@ { "locale": "nl-NL", - "sourceRevision": "14766ab3ea5977c0b9e71d84c184f934a682c76cb4350cd82fbe75c16575e4cd", + "sourceRevision": "3114def232352d65521d56a32a2bc07303bfbccbdfd2c5173facc5b7e0d46efb", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -2374,6 +2374,7 @@ "Device permission": "725493160bd2b22ebfc5ec907be86dc813ae0f6386c8353384dbffdceadc132a", "Device permissions": "8b91be20c68bf7bd71fd6aa84ab3f1da6c1600d43eb6cadb49e9a28fcd94c2af", "Device storage": "b2ca4043ebf7dac9bcc73690e334ab57f3d945c18ec262f283f6a9ed6b0bd0ea", + "device_task_graph_node": "3131678bbed5bebceba6ff2d564d2293c30d984e81c94b7ac1e643e7042c1821", "Diagnostics": "268f14bbfe119c1e92150583af960a086d7db9619a097f8aa72ff6779842f610", "Diagnostics and raw records": "391bf46c129a79ba6e9b52d9fb64fb4ddfb8981c34bea0da5d6447f7ef3084f4", "Diagram": "913c5e96ccce08c180f5ba8c522dc44bb3e4d8a33b269c048a3365ea4131cf6b", @@ -10170,6 +10171,7 @@ "Device permission": "Apparaattoestemming", "Device permissions": "Apparaatmachtigingen", "Device storage": "Apparaatopslag", + "device_task_graph_node": "device_task_graph_node", "Diagnostics": "Diagnostiek", "Diagnostics and raw records": "Diagnostiek en onbewerkte gegevens", "Diagram": "Diagram", diff --git a/packages/localization/catalogs/pl-PL.json b/packages/localization/catalogs/pl-PL.json index 320fb4374..f42c1dc8b 100644 --- a/packages/localization/catalogs/pl-PL.json +++ b/packages/localization/catalogs/pl-PL.json @@ -1,6 +1,6 @@ { "locale": "pl-PL", - "sourceRevision": "14766ab3ea5977c0b9e71d84c184f934a682c76cb4350cd82fbe75c16575e4cd", + "sourceRevision": "3114def232352d65521d56a32a2bc07303bfbccbdfd2c5173facc5b7e0d46efb", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -2374,6 +2374,7 @@ "Device permission": "725493160bd2b22ebfc5ec907be86dc813ae0f6386c8353384dbffdceadc132a", "Device permissions": "8b91be20c68bf7bd71fd6aa84ab3f1da6c1600d43eb6cadb49e9a28fcd94c2af", "Device storage": "b2ca4043ebf7dac9bcc73690e334ab57f3d945c18ec262f283f6a9ed6b0bd0ea", + "device_task_graph_node": "3131678bbed5bebceba6ff2d564d2293c30d984e81c94b7ac1e643e7042c1821", "Diagnostics": "268f14bbfe119c1e92150583af960a086d7db9619a097f8aa72ff6779842f610", "Diagnostics and raw records": "391bf46c129a79ba6e9b52d9fb64fb4ddfb8981c34bea0da5d6447f7ef3084f4", "Diagram": "913c5e96ccce08c180f5ba8c522dc44bb3e4d8a33b269c048a3365ea4131cf6b", @@ -10170,6 +10171,7 @@ "Device permission": "Zezwolenie na urządzenie", "Device permissions": "Uprawnienia urządzenia", "Device storage": "Pamięć urządzenia", + "device_task_graph_node": "urządzenie_zadanie_graph_node", "Diagnostics": "Diagnostyka", "Diagnostics and raw records": "Diagnostyka i surowe zapisy", "Diagram": "Diagram", diff --git a/packages/localization/catalogs/pt-BR.json b/packages/localization/catalogs/pt-BR.json index de325c2d9..cd1041c58 100644 --- a/packages/localization/catalogs/pt-BR.json +++ b/packages/localization/catalogs/pt-BR.json @@ -1,6 +1,6 @@ { "locale": "pt-BR", - "sourceRevision": "14766ab3ea5977c0b9e71d84c184f934a682c76cb4350cd82fbe75c16575e4cd", + "sourceRevision": "3114def232352d65521d56a32a2bc07303bfbccbdfd2c5173facc5b7e0d46efb", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -2374,6 +2374,7 @@ "Device permission": "725493160bd2b22ebfc5ec907be86dc813ae0f6386c8353384dbffdceadc132a", "Device permissions": "8b91be20c68bf7bd71fd6aa84ab3f1da6c1600d43eb6cadb49e9a28fcd94c2af", "Device storage": "b2ca4043ebf7dac9bcc73690e334ab57f3d945c18ec262f283f6a9ed6b0bd0ea", + "device_task_graph_node": "3131678bbed5bebceba6ff2d564d2293c30d984e81c94b7ac1e643e7042c1821", "Diagnostics": "268f14bbfe119c1e92150583af960a086d7db9619a097f8aa72ff6779842f610", "Diagnostics and raw records": "391bf46c129a79ba6e9b52d9fb64fb4ddfb8981c34bea0da5d6447f7ef3084f4", "Diagram": "913c5e96ccce08c180f5ba8c522dc44bb3e4d8a33b269c048a3365ea4131cf6b", @@ -10170,6 +10171,7 @@ "Device permission": "Permissão do dispositivo", "Device permissions": "Permissões do dispositivo", "Device storage": "Armazenamento do dispositivo", + "device_task_graph_node": "dispositivo_task_graph_node", "Diagnostics": "Diagnóstico", "Diagnostics and raw records": "Diagnósticos e registros brutos", "Diagram": "Diagram", diff --git a/packages/localization/catalogs/pt-PT.json b/packages/localization/catalogs/pt-PT.json index dd2719d17..4700abbf3 100644 --- a/packages/localization/catalogs/pt-PT.json +++ b/packages/localization/catalogs/pt-PT.json @@ -1,6 +1,6 @@ { "locale": "pt-PT", - "sourceRevision": "14766ab3ea5977c0b9e71d84c184f934a682c76cb4350cd82fbe75c16575e4cd", + "sourceRevision": "3114def232352d65521d56a32a2bc07303bfbccbdfd2c5173facc5b7e0d46efb", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -2374,6 +2374,7 @@ "Device permission": "725493160bd2b22ebfc5ec907be86dc813ae0f6386c8353384dbffdceadc132a", "Device permissions": "8b91be20c68bf7bd71fd6aa84ab3f1da6c1600d43eb6cadb49e9a28fcd94c2af", "Device storage": "b2ca4043ebf7dac9bcc73690e334ab57f3d945c18ec262f283f6a9ed6b0bd0ea", + "device_task_graph_node": "3131678bbed5bebceba6ff2d564d2293c30d984e81c94b7ac1e643e7042c1821", "Diagnostics": "268f14bbfe119c1e92150583af960a086d7db9619a097f8aa72ff6779842f610", "Diagnostics and raw records": "391bf46c129a79ba6e9b52d9fb64fb4ddfb8981c34bea0da5d6447f7ef3084f4", "Diagram": "913c5e96ccce08c180f5ba8c522dc44bb3e4d8a33b269c048a3365ea4131cf6b", @@ -10170,6 +10171,7 @@ "Device permission": "Permissão do dispositivo", "Device permissions": "Permissões do dispositivo", "Device storage": "Armazenamento do dispositivo", + "device_task_graph_node": "dispositivo_task_graph_node", "Diagnostics": "Diagnóstico", "Diagnostics and raw records": "Diagnósticos e registos brutos", "Diagram": "Diagram", diff --git a/packages/localization/catalogs/ro-RO.json b/packages/localization/catalogs/ro-RO.json index 28a5f6ca7..5b2f21ae4 100644 --- a/packages/localization/catalogs/ro-RO.json +++ b/packages/localization/catalogs/ro-RO.json @@ -1,6 +1,6 @@ { "locale": "ro-RO", - "sourceRevision": "14766ab3ea5977c0b9e71d84c184f934a682c76cb4350cd82fbe75c16575e4cd", + "sourceRevision": "3114def232352d65521d56a32a2bc07303bfbccbdfd2c5173facc5b7e0d46efb", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -2374,6 +2374,7 @@ "Device permission": "725493160bd2b22ebfc5ec907be86dc813ae0f6386c8353384dbffdceadc132a", "Device permissions": "8b91be20c68bf7bd71fd6aa84ab3f1da6c1600d43eb6cadb49e9a28fcd94c2af", "Device storage": "b2ca4043ebf7dac9bcc73690e334ab57f3d945c18ec262f283f6a9ed6b0bd0ea", + "device_task_graph_node": "3131678bbed5bebceba6ff2d564d2293c30d984e81c94b7ac1e643e7042c1821", "Diagnostics": "268f14bbfe119c1e92150583af960a086d7db9619a097f8aa72ff6779842f610", "Diagnostics and raw records": "391bf46c129a79ba6e9b52d9fb64fb4ddfb8981c34bea0da5d6447f7ef3084f4", "Diagram": "913c5e96ccce08c180f5ba8c522dc44bb3e4d8a33b269c048a3365ea4131cf6b", @@ -10170,6 +10171,7 @@ "Device permission": "Permisiunea dispozitivului", "Device permissions": "Permisiunile dispozitivului", "Device storage": "Stocarea dispozitivului", + "device_task_graph_node": "device_task_graph_node", "Diagnostics": "Diagnosticare", "Diagnostics and raw records": "Diagnosticare și înregistrări brute", "Diagram": "Diagram", diff --git a/packages/localization/catalogs/ru-RU.json b/packages/localization/catalogs/ru-RU.json index ddff2c1b2..7efca1bea 100644 --- a/packages/localization/catalogs/ru-RU.json +++ b/packages/localization/catalogs/ru-RU.json @@ -1,6 +1,6 @@ { "locale": "ru-RU", - "sourceRevision": "14766ab3ea5977c0b9e71d84c184f934a682c76cb4350cd82fbe75c16575e4cd", + "sourceRevision": "3114def232352d65521d56a32a2bc07303bfbccbdfd2c5173facc5b7e0d46efb", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -2374,6 +2374,7 @@ "Device permission": "725493160bd2b22ebfc5ec907be86dc813ae0f6386c8353384dbffdceadc132a", "Device permissions": "8b91be20c68bf7bd71fd6aa84ab3f1da6c1600d43eb6cadb49e9a28fcd94c2af", "Device storage": "b2ca4043ebf7dac9bcc73690e334ab57f3d945c18ec262f283f6a9ed6b0bd0ea", + "device_task_graph_node": "3131678bbed5bebceba6ff2d564d2293c30d984e81c94b7ac1e643e7042c1821", "Diagnostics": "268f14bbfe119c1e92150583af960a086d7db9619a097f8aa72ff6779842f610", "Diagnostics and raw records": "391bf46c129a79ba6e9b52d9fb64fb4ddfb8981c34bea0da5d6447f7ef3084f4", "Diagram": "913c5e96ccce08c180f5ba8c522dc44bb3e4d8a33b269c048a3365ea4131cf6b", @@ -10170,6 +10171,7 @@ "Device permission": "Разрешение устройства", "Device permissions": "Разрешения устройства", "Device storage": "Хранилище устройства", + "device_task_graph_node": "device_task_graph_node", "Diagnostics": "Диагностика", "Diagnostics and raw records": "Диагностика и необработанные записи", "Diagram": "Diagram", diff --git a/packages/localization/catalogs/sk-SK.json b/packages/localization/catalogs/sk-SK.json index 2efe3e11a..65e98f271 100644 --- a/packages/localization/catalogs/sk-SK.json +++ b/packages/localization/catalogs/sk-SK.json @@ -1,6 +1,6 @@ { "locale": "sk-SK", - "sourceRevision": "14766ab3ea5977c0b9e71d84c184f934a682c76cb4350cd82fbe75c16575e4cd", + "sourceRevision": "3114def232352d65521d56a32a2bc07303bfbccbdfd2c5173facc5b7e0d46efb", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -2374,6 +2374,7 @@ "Device permission": "725493160bd2b22ebfc5ec907be86dc813ae0f6386c8353384dbffdceadc132a", "Device permissions": "8b91be20c68bf7bd71fd6aa84ab3f1da6c1600d43eb6cadb49e9a28fcd94c2af", "Device storage": "b2ca4043ebf7dac9bcc73690e334ab57f3d945c18ec262f283f6a9ed6b0bd0ea", + "device_task_graph_node": "3131678bbed5bebceba6ff2d564d2293c30d984e81c94b7ac1e643e7042c1821", "Diagnostics": "268f14bbfe119c1e92150583af960a086d7db9619a097f8aa72ff6779842f610", "Diagnostics and raw records": "391bf46c129a79ba6e9b52d9fb64fb4ddfb8981c34bea0da5d6447f7ef3084f4", "Diagram": "913c5e96ccce08c180f5ba8c522dc44bb3e4d8a33b269c048a3365ea4131cf6b", @@ -10170,6 +10171,7 @@ "Device permission": "Povolenie zariadenia", "Device permissions": "Povolenia zariadenia", "Device storage": "Úložisko zariadenia", + "device_task_graph_node": "device_task_graph_node", "Diagnostics": "Diagnostika", "Diagnostics and raw records": "Diagnostika a nespracované záznamy", "Diagram": "Diagram", diff --git a/packages/localization/catalogs/sl-SI.json b/packages/localization/catalogs/sl-SI.json index 30463d10a..d0caac941 100644 --- a/packages/localization/catalogs/sl-SI.json +++ b/packages/localization/catalogs/sl-SI.json @@ -1,6 +1,6 @@ { "locale": "sl-SI", - "sourceRevision": "14766ab3ea5977c0b9e71d84c184f934a682c76cb4350cd82fbe75c16575e4cd", + "sourceRevision": "3114def232352d65521d56a32a2bc07303bfbccbdfd2c5173facc5b7e0d46efb", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -2374,6 +2374,7 @@ "Device permission": "725493160bd2b22ebfc5ec907be86dc813ae0f6386c8353384dbffdceadc132a", "Device permissions": "8b91be20c68bf7bd71fd6aa84ab3f1da6c1600d43eb6cadb49e9a28fcd94c2af", "Device storage": "b2ca4043ebf7dac9bcc73690e334ab57f3d945c18ec262f283f6a9ed6b0bd0ea", + "device_task_graph_node": "3131678bbed5bebceba6ff2d564d2293c30d984e81c94b7ac1e643e7042c1821", "Diagnostics": "268f14bbfe119c1e92150583af960a086d7db9619a097f8aa72ff6779842f610", "Diagnostics and raw records": "391bf46c129a79ba6e9b52d9fb64fb4ddfb8981c34bea0da5d6447f7ef3084f4", "Diagram": "913c5e96ccce08c180f5ba8c522dc44bb3e4d8a33b269c048a3365ea4131cf6b", @@ -10170,6 +10171,7 @@ "Device permission": "Dovoljenje naprave", "Device permissions": "Dovoljenja naprave", "Device storage": "Shranjevanje naprave", + "device_task_graph_node": "device_task_graph_node", "Diagnostics": "Diagnostika", "Diagnostics and raw records": "Diagnostika in surovi zapisi", "Diagram": "Diagram", diff --git a/packages/localization/catalogs/so-SO.json b/packages/localization/catalogs/so-SO.json index c0f5db783..e094ece96 100644 --- a/packages/localization/catalogs/so-SO.json +++ b/packages/localization/catalogs/so-SO.json @@ -1,6 +1,6 @@ { "locale": "so-SO", - "sourceRevision": "14766ab3ea5977c0b9e71d84c184f934a682c76cb4350cd82fbe75c16575e4cd", + "sourceRevision": "3114def232352d65521d56a32a2bc07303bfbccbdfd2c5173facc5b7e0d46efb", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -2374,6 +2374,7 @@ "Device permission": "725493160bd2b22ebfc5ec907be86dc813ae0f6386c8353384dbffdceadc132a", "Device permissions": "8b91be20c68bf7bd71fd6aa84ab3f1da6c1600d43eb6cadb49e9a28fcd94c2af", "Device storage": "b2ca4043ebf7dac9bcc73690e334ab57f3d945c18ec262f283f6a9ed6b0bd0ea", + "device_task_graph_node": "3131678bbed5bebceba6ff2d564d2293c30d984e81c94b7ac1e643e7042c1821", "Diagnostics": "268f14bbfe119c1e92150583af960a086d7db9619a097f8aa72ff6779842f610", "Diagnostics and raw records": "391bf46c129a79ba6e9b52d9fb64fb4ddfb8981c34bea0da5d6447f7ef3084f4", "Diagram": "913c5e96ccce08c180f5ba8c522dc44bb3e4d8a33b269c048a3365ea4131cf6b", @@ -10170,6 +10171,7 @@ "Device permission": "Oggolaanshaha aaladda", "Device permissions": "Oggolaanshaha aaladda", "Device storage": "Kaydinta qalabka", + "device_task_graph_node": "qalab_task_graph_node", "Diagnostics": "ogaanshaha", "Diagnostics and raw records": "Baadhista iyo diiwaanada cayriin", "Diagram": "Diagram", diff --git a/packages/localization/catalogs/sq-AL.json b/packages/localization/catalogs/sq-AL.json index 331d099bb..40f8847ad 100644 --- a/packages/localization/catalogs/sq-AL.json +++ b/packages/localization/catalogs/sq-AL.json @@ -1,6 +1,6 @@ { "locale": "sq-AL", - "sourceRevision": "14766ab3ea5977c0b9e71d84c184f934a682c76cb4350cd82fbe75c16575e4cd", + "sourceRevision": "3114def232352d65521d56a32a2bc07303bfbccbdfd2c5173facc5b7e0d46efb", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -2374,6 +2374,7 @@ "Device permission": "725493160bd2b22ebfc5ec907be86dc813ae0f6386c8353384dbffdceadc132a", "Device permissions": "8b91be20c68bf7bd71fd6aa84ab3f1da6c1600d43eb6cadb49e9a28fcd94c2af", "Device storage": "b2ca4043ebf7dac9bcc73690e334ab57f3d945c18ec262f283f6a9ed6b0bd0ea", + "device_task_graph_node": "3131678bbed5bebceba6ff2d564d2293c30d984e81c94b7ac1e643e7042c1821", "Diagnostics": "268f14bbfe119c1e92150583af960a086d7db9619a097f8aa72ff6779842f610", "Diagnostics and raw records": "391bf46c129a79ba6e9b52d9fb64fb4ddfb8981c34bea0da5d6447f7ef3084f4", "Diagram": "913c5e96ccce08c180f5ba8c522dc44bb3e4d8a33b269c048a3365ea4131cf6b", @@ -10170,6 +10171,7 @@ "Device permission": "Leja e pajisjes", "Device permissions": "Lejet e pajisjes", "Device storage": "Ruajtja e pajisjes", + "device_task_graph_node": "pajisje_detyrë_grafike_nyje", "Diagnostics": "Diagnostifikimi", "Diagnostics and raw records": "Diagnostifikimi dhe të dhënat e papërpunuara", "Diagram": "Diagram", diff --git a/packages/localization/catalogs/sr-RS.json b/packages/localization/catalogs/sr-RS.json index ee3cc131f..787f26d25 100644 --- a/packages/localization/catalogs/sr-RS.json +++ b/packages/localization/catalogs/sr-RS.json @@ -1,6 +1,6 @@ { "locale": "sr-RS", - "sourceRevision": "14766ab3ea5977c0b9e71d84c184f934a682c76cb4350cd82fbe75c16575e4cd", + "sourceRevision": "3114def232352d65521d56a32a2bc07303bfbccbdfd2c5173facc5b7e0d46efb", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -2374,6 +2374,7 @@ "Device permission": "725493160bd2b22ebfc5ec907be86dc813ae0f6386c8353384dbffdceadc132a", "Device permissions": "8b91be20c68bf7bd71fd6aa84ab3f1da6c1600d43eb6cadb49e9a28fcd94c2af", "Device storage": "b2ca4043ebf7dac9bcc73690e334ab57f3d945c18ec262f283f6a9ed6b0bd0ea", + "device_task_graph_node": "3131678bbed5bebceba6ff2d564d2293c30d984e81c94b7ac1e643e7042c1821", "Diagnostics": "268f14bbfe119c1e92150583af960a086d7db9619a097f8aa72ff6779842f610", "Diagnostics and raw records": "391bf46c129a79ba6e9b52d9fb64fb4ddfb8981c34bea0da5d6447f7ef3084f4", "Diagram": "913c5e96ccce08c180f5ba8c522dc44bb3e4d8a33b269c048a3365ea4131cf6b", @@ -10170,6 +10171,7 @@ "Device permission": "Дозвола за уређај", "Device permissions": "Дозволе уређаја", "Device storage": "Складиштење уређаја", + "device_task_graph_node": "девице_таск_грапх_ноде", "Diagnostics": "Дијагностика", "Diagnostics and raw records": "Дијагностика и необрађени записи", "Diagram": "Diagram", diff --git a/packages/localization/catalogs/sv-SE.json b/packages/localization/catalogs/sv-SE.json index c589a7bae..69525a98b 100644 --- a/packages/localization/catalogs/sv-SE.json +++ b/packages/localization/catalogs/sv-SE.json @@ -1,6 +1,6 @@ { "locale": "sv-SE", - "sourceRevision": "14766ab3ea5977c0b9e71d84c184f934a682c76cb4350cd82fbe75c16575e4cd", + "sourceRevision": "3114def232352d65521d56a32a2bc07303bfbccbdfd2c5173facc5b7e0d46efb", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -2374,6 +2374,7 @@ "Device permission": "725493160bd2b22ebfc5ec907be86dc813ae0f6386c8353384dbffdceadc132a", "Device permissions": "8b91be20c68bf7bd71fd6aa84ab3f1da6c1600d43eb6cadb49e9a28fcd94c2af", "Device storage": "b2ca4043ebf7dac9bcc73690e334ab57f3d945c18ec262f283f6a9ed6b0bd0ea", + "device_task_graph_node": "3131678bbed5bebceba6ff2d564d2293c30d984e81c94b7ac1e643e7042c1821", "Diagnostics": "268f14bbfe119c1e92150583af960a086d7db9619a097f8aa72ff6779842f610", "Diagnostics and raw records": "391bf46c129a79ba6e9b52d9fb64fb4ddfb8981c34bea0da5d6447f7ef3084f4", "Diagram": "913c5e96ccce08c180f5ba8c522dc44bb3e4d8a33b269c048a3365ea4131cf6b", @@ -10170,6 +10171,7 @@ "Device permission": "Enhetsbehörighet", "Device permissions": "Enhetsbehörigheter", "Device storage": "Enhetslagring", + "device_task_graph_node": "device_task_graph_node", "Diagnostics": "Diagnostik", "Diagnostics and raw records": "Diagnostik och rådata", "Diagram": "Diagram", diff --git a/packages/localization/catalogs/sw-TZ.json b/packages/localization/catalogs/sw-TZ.json index 065c97955..211e3bcc9 100644 --- a/packages/localization/catalogs/sw-TZ.json +++ b/packages/localization/catalogs/sw-TZ.json @@ -1,6 +1,6 @@ { "locale": "sw-TZ", - "sourceRevision": "14766ab3ea5977c0b9e71d84c184f934a682c76cb4350cd82fbe75c16575e4cd", + "sourceRevision": "3114def232352d65521d56a32a2bc07303bfbccbdfd2c5173facc5b7e0d46efb", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -2374,6 +2374,7 @@ "Device permission": "725493160bd2b22ebfc5ec907be86dc813ae0f6386c8353384dbffdceadc132a", "Device permissions": "8b91be20c68bf7bd71fd6aa84ab3f1da6c1600d43eb6cadb49e9a28fcd94c2af", "Device storage": "b2ca4043ebf7dac9bcc73690e334ab57f3d945c18ec262f283f6a9ed6b0bd0ea", + "device_task_graph_node": "3131678bbed5bebceba6ff2d564d2293c30d984e81c94b7ac1e643e7042c1821", "Diagnostics": "268f14bbfe119c1e92150583af960a086d7db9619a097f8aa72ff6779842f610", "Diagnostics and raw records": "391bf46c129a79ba6e9b52d9fb64fb4ddfb8981c34bea0da5d6447f7ef3084f4", "Diagram": "913c5e96ccce08c180f5ba8c522dc44bb3e4d8a33b269c048a3365ea4131cf6b", @@ -10170,6 +10171,7 @@ "Device permission": "Ruhusa ya kifaa", "Device permissions": "Ruhusa za kifaa", "Device storage": "Hifadhi ya kifaa", + "device_task_graph_node": "device_task_grafu_nodi", "Diagnostics": "Uchunguzi", "Diagnostics and raw records": "Utambuzi na rekodi mbichi", "Diagram": "Diagram", diff --git a/packages/localization/catalogs/ta-IN.json b/packages/localization/catalogs/ta-IN.json index 7efca1933..8189e6833 100644 --- a/packages/localization/catalogs/ta-IN.json +++ b/packages/localization/catalogs/ta-IN.json @@ -1,6 +1,6 @@ { "locale": "ta-IN", - "sourceRevision": "14766ab3ea5977c0b9e71d84c184f934a682c76cb4350cd82fbe75c16575e4cd", + "sourceRevision": "3114def232352d65521d56a32a2bc07303bfbccbdfd2c5173facc5b7e0d46efb", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -2374,6 +2374,7 @@ "Device permission": "725493160bd2b22ebfc5ec907be86dc813ae0f6386c8353384dbffdceadc132a", "Device permissions": "8b91be20c68bf7bd71fd6aa84ab3f1da6c1600d43eb6cadb49e9a28fcd94c2af", "Device storage": "b2ca4043ebf7dac9bcc73690e334ab57f3d945c18ec262f283f6a9ed6b0bd0ea", + "device_task_graph_node": "3131678bbed5bebceba6ff2d564d2293c30d984e81c94b7ac1e643e7042c1821", "Diagnostics": "268f14bbfe119c1e92150583af960a086d7db9619a097f8aa72ff6779842f610", "Diagnostics and raw records": "391bf46c129a79ba6e9b52d9fb64fb4ddfb8981c34bea0da5d6447f7ef3084f4", "Diagram": "913c5e96ccce08c180f5ba8c522dc44bb3e4d8a33b269c048a3365ea4131cf6b", @@ -10170,6 +10171,7 @@ "Device permission": "சாதன அனுமதி", "Device permissions": "சாதன அனுமதிகள்", "Device storage": "சாதன சேமிப்பு", + "device_task_graph_node": "device_task_graph_node", "Diagnostics": "நோய் கண்டறிதல்", "Diagnostics and raw records": "நோயறிதல் மற்றும் மூல பதிவுகள்", "Diagram": "Diagram", diff --git a/packages/localization/catalogs/te-IN.json b/packages/localization/catalogs/te-IN.json index 4ac7b3059..aad7c9c50 100644 --- a/packages/localization/catalogs/te-IN.json +++ b/packages/localization/catalogs/te-IN.json @@ -1,6 +1,6 @@ { "locale": "te-IN", - "sourceRevision": "14766ab3ea5977c0b9e71d84c184f934a682c76cb4350cd82fbe75c16575e4cd", + "sourceRevision": "3114def232352d65521d56a32a2bc07303bfbccbdfd2c5173facc5b7e0d46efb", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -2374,6 +2374,7 @@ "Device permission": "725493160bd2b22ebfc5ec907be86dc813ae0f6386c8353384dbffdceadc132a", "Device permissions": "8b91be20c68bf7bd71fd6aa84ab3f1da6c1600d43eb6cadb49e9a28fcd94c2af", "Device storage": "b2ca4043ebf7dac9bcc73690e334ab57f3d945c18ec262f283f6a9ed6b0bd0ea", + "device_task_graph_node": "3131678bbed5bebceba6ff2d564d2293c30d984e81c94b7ac1e643e7042c1821", "Diagnostics": "268f14bbfe119c1e92150583af960a086d7db9619a097f8aa72ff6779842f610", "Diagnostics and raw records": "391bf46c129a79ba6e9b52d9fb64fb4ddfb8981c34bea0da5d6447f7ef3084f4", "Diagram": "913c5e96ccce08c180f5ba8c522dc44bb3e4d8a33b269c048a3365ea4131cf6b", @@ -10170,6 +10171,7 @@ "Device permission": "పరికర అనుమతి", "Device permissions": "పరికర అనుమతులు", "Device storage": "పరికర నిల్వ", + "device_task_graph_node": "device_task_graph_node", "Diagnostics": "డయాగ్నోస్టిక్స్", "Diagnostics and raw records": "డయాగ్నోస్టిక్స్ మరియు ముడి రికార్డులు", "Diagram": "Diagram", diff --git a/packages/localization/catalogs/th-TH.json b/packages/localization/catalogs/th-TH.json index d3288e196..2b357b627 100644 --- a/packages/localization/catalogs/th-TH.json +++ b/packages/localization/catalogs/th-TH.json @@ -1,6 +1,6 @@ { "locale": "th-TH", - "sourceRevision": "14766ab3ea5977c0b9e71d84c184f934a682c76cb4350cd82fbe75c16575e4cd", + "sourceRevision": "3114def232352d65521d56a32a2bc07303bfbccbdfd2c5173facc5b7e0d46efb", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -2374,6 +2374,7 @@ "Device permission": "725493160bd2b22ebfc5ec907be86dc813ae0f6386c8353384dbffdceadc132a", "Device permissions": "8b91be20c68bf7bd71fd6aa84ab3f1da6c1600d43eb6cadb49e9a28fcd94c2af", "Device storage": "b2ca4043ebf7dac9bcc73690e334ab57f3d945c18ec262f283f6a9ed6b0bd0ea", + "device_task_graph_node": "3131678bbed5bebceba6ff2d564d2293c30d984e81c94b7ac1e643e7042c1821", "Diagnostics": "268f14bbfe119c1e92150583af960a086d7db9619a097f8aa72ff6779842f610", "Diagnostics and raw records": "391bf46c129a79ba6e9b52d9fb64fb4ddfb8981c34bea0da5d6447f7ef3084f4", "Diagram": "913c5e96ccce08c180f5ba8c522dc44bb3e4d8a33b269c048a3365ea4131cf6b", @@ -10170,6 +10171,7 @@ "Device permission": "การอนุญาตอุปกรณ์", "Device permissions": "สิทธิ์ของอุปกรณ์", "Device storage": "อุปกรณ์จัดเก็บข้อมูล", + "device_task_graph_node": "อุปกรณ์_งาน_กราฟ_โหนด", "Diagnostics": "การวินิจฉัย", "Diagnostics and raw records": "การวินิจฉัยและบันทึกดิบ", "Diagram": "Diagram", diff --git a/packages/localization/catalogs/tr-TR.json b/packages/localization/catalogs/tr-TR.json index 304d22155..db34a183c 100644 --- a/packages/localization/catalogs/tr-TR.json +++ b/packages/localization/catalogs/tr-TR.json @@ -1,6 +1,6 @@ { "locale": "tr-TR", - "sourceRevision": "14766ab3ea5977c0b9e71d84c184f934a682c76cb4350cd82fbe75c16575e4cd", + "sourceRevision": "3114def232352d65521d56a32a2bc07303bfbccbdfd2c5173facc5b7e0d46efb", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -2374,6 +2374,7 @@ "Device permission": "725493160bd2b22ebfc5ec907be86dc813ae0f6386c8353384dbffdceadc132a", "Device permissions": "8b91be20c68bf7bd71fd6aa84ab3f1da6c1600d43eb6cadb49e9a28fcd94c2af", "Device storage": "b2ca4043ebf7dac9bcc73690e334ab57f3d945c18ec262f283f6a9ed6b0bd0ea", + "device_task_graph_node": "3131678bbed5bebceba6ff2d564d2293c30d984e81c94b7ac1e643e7042c1821", "Diagnostics": "268f14bbfe119c1e92150583af960a086d7db9619a097f8aa72ff6779842f610", "Diagnostics and raw records": "391bf46c129a79ba6e9b52d9fb64fb4ddfb8981c34bea0da5d6447f7ef3084f4", "Diagram": "913c5e96ccce08c180f5ba8c522dc44bb3e4d8a33b269c048a3365ea4131cf6b", @@ -10170,6 +10171,7 @@ "Device permission": "Cihaz izni", "Device permissions": "Cihaz izinleri", "Device storage": "Cihaz depolama", + "device_task_graph_node": "Device_task_graph_node", "Diagnostics": "Teşhis", "Diagnostics and raw records": "Teşhis ve ham kayıtlar", "Diagram": "Diagram", diff --git a/packages/localization/catalogs/uk-UA.json b/packages/localization/catalogs/uk-UA.json index 5316437dd..95d1eb21a 100644 --- a/packages/localization/catalogs/uk-UA.json +++ b/packages/localization/catalogs/uk-UA.json @@ -1,6 +1,6 @@ { "locale": "uk-UA", - "sourceRevision": "14766ab3ea5977c0b9e71d84c184f934a682c76cb4350cd82fbe75c16575e4cd", + "sourceRevision": "3114def232352d65521d56a32a2bc07303bfbccbdfd2c5173facc5b7e0d46efb", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -2374,6 +2374,7 @@ "Device permission": "725493160bd2b22ebfc5ec907be86dc813ae0f6386c8353384dbffdceadc132a", "Device permissions": "8b91be20c68bf7bd71fd6aa84ab3f1da6c1600d43eb6cadb49e9a28fcd94c2af", "Device storage": "b2ca4043ebf7dac9bcc73690e334ab57f3d945c18ec262f283f6a9ed6b0bd0ea", + "device_task_graph_node": "3131678bbed5bebceba6ff2d564d2293c30d984e81c94b7ac1e643e7042c1821", "Diagnostics": "268f14bbfe119c1e92150583af960a086d7db9619a097f8aa72ff6779842f610", "Diagnostics and raw records": "391bf46c129a79ba6e9b52d9fb64fb4ddfb8981c34bea0da5d6447f7ef3084f4", "Diagram": "913c5e96ccce08c180f5ba8c522dc44bb3e4d8a33b269c048a3365ea4131cf6b", @@ -10170,6 +10171,7 @@ "Device permission": "Дозвіл пристрою", "Device permissions": "Дозволи пристрою", "Device storage": "Зберігання пристрою", + "device_task_graph_node": "device_task_graph_node", "Diagnostics": "діагностика", "Diagnostics and raw records": "Діагностика та необроблені записи", "Diagram": "Diagram", diff --git a/packages/localization/catalogs/vi-VN.json b/packages/localization/catalogs/vi-VN.json index 1eaefd77b..25291a079 100644 --- a/packages/localization/catalogs/vi-VN.json +++ b/packages/localization/catalogs/vi-VN.json @@ -1,6 +1,6 @@ { "locale": "vi-VN", - "sourceRevision": "14766ab3ea5977c0b9e71d84c184f934a682c76cb4350cd82fbe75c16575e4cd", + "sourceRevision": "3114def232352d65521d56a32a2bc07303bfbccbdfd2c5173facc5b7e0d46efb", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -2374,6 +2374,7 @@ "Device permission": "725493160bd2b22ebfc5ec907be86dc813ae0f6386c8353384dbffdceadc132a", "Device permissions": "8b91be20c68bf7bd71fd6aa84ab3f1da6c1600d43eb6cadb49e9a28fcd94c2af", "Device storage": "b2ca4043ebf7dac9bcc73690e334ab57f3d945c18ec262f283f6a9ed6b0bd0ea", + "device_task_graph_node": "3131678bbed5bebceba6ff2d564d2293c30d984e81c94b7ac1e643e7042c1821", "Diagnostics": "268f14bbfe119c1e92150583af960a086d7db9619a097f8aa72ff6779842f610", "Diagnostics and raw records": "391bf46c129a79ba6e9b52d9fb64fb4ddfb8981c34bea0da5d6447f7ef3084f4", "Diagram": "913c5e96ccce08c180f5ba8c522dc44bb3e4d8a33b269c048a3365ea4131cf6b", @@ -10170,6 +10171,7 @@ "Device permission": "Quyền của thiết bị", "Device permissions": "Quyền của thiết bị", "Device storage": "Lưu trữ thiết bị", + "device_task_graph_node": "thiết bị_task_graph_node", "Diagnostics": "Chẩn đoán", "Diagnostics and raw records": "Chẩn đoán và hồ sơ thô", "Diagram": "Diagram", diff --git a/packages/localization/catalogs/zh-CN.json b/packages/localization/catalogs/zh-CN.json index 2a99e31ff..7b42ff44e 100644 --- a/packages/localization/catalogs/zh-CN.json +++ b/packages/localization/catalogs/zh-CN.json @@ -1,6 +1,6 @@ { "locale": "zh-CN", - "sourceRevision": "14766ab3ea5977c0b9e71d84c184f934a682c76cb4350cd82fbe75c16575e4cd", + "sourceRevision": "3114def232352d65521d56a32a2bc07303bfbccbdfd2c5173facc5b7e0d46efb", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -2374,6 +2374,7 @@ "Device permission": "725493160bd2b22ebfc5ec907be86dc813ae0f6386c8353384dbffdceadc132a", "Device permissions": "8b91be20c68bf7bd71fd6aa84ab3f1da6c1600d43eb6cadb49e9a28fcd94c2af", "Device storage": "b2ca4043ebf7dac9bcc73690e334ab57f3d945c18ec262f283f6a9ed6b0bd0ea", + "device_task_graph_node": "3131678bbed5bebceba6ff2d564d2293c30d984e81c94b7ac1e643e7042c1821", "Diagnostics": "268f14bbfe119c1e92150583af960a086d7db9619a097f8aa72ff6779842f610", "Diagnostics and raw records": "391bf46c129a79ba6e9b52d9fb64fb4ddfb8981c34bea0da5d6447f7ef3084f4", "Diagram": "913c5e96ccce08c180f5ba8c522dc44bb3e4d8a33b269c048a3365ea4131cf6b", @@ -10170,6 +10171,7 @@ "Device permission": "设备类型", "Device permissions": "设备权限", "Device storage": "设备存储", + "device_task_graph_node": "设备任务节点", "Diagnostics": "诊断", "Diagnostics and raw records": "诊断和原始记录", "Diagram": "绘制图表", diff --git a/packages/localization/catalogs/zh-HK.json b/packages/localization/catalogs/zh-HK.json index 86bb0652d..96590c39a 100644 --- a/packages/localization/catalogs/zh-HK.json +++ b/packages/localization/catalogs/zh-HK.json @@ -1,6 +1,6 @@ { "locale": "zh-HK", - "sourceRevision": "14766ab3ea5977c0b9e71d84c184f934a682c76cb4350cd82fbe75c16575e4cd", + "sourceRevision": "3114def232352d65521d56a32a2bc07303bfbccbdfd2c5173facc5b7e0d46efb", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -2374,6 +2374,7 @@ "Device permission": "725493160bd2b22ebfc5ec907be86dc813ae0f6386c8353384dbffdceadc132a", "Device permissions": "8b91be20c68bf7bd71fd6aa84ab3f1da6c1600d43eb6cadb49e9a28fcd94c2af", "Device storage": "b2ca4043ebf7dac9bcc73690e334ab57f3d945c18ec262f283f6a9ed6b0bd0ea", + "device_task_graph_node": "3131678bbed5bebceba6ff2d564d2293c30d984e81c94b7ac1e643e7042c1821", "Diagnostics": "268f14bbfe119c1e92150583af960a086d7db9619a097f8aa72ff6779842f610", "Diagnostics and raw records": "391bf46c129a79ba6e9b52d9fb64fb4ddfb8981c34bea0da5d6447f7ef3084f4", "Diagram": "913c5e96ccce08c180f5ba8c522dc44bb3e4d8a33b269c048a3365ea4131cf6b", @@ -10170,6 +10171,7 @@ "Device permission": "設備權限", "Device permissions": "設備權限", "Device storage": "裝置儲存", + "device_task_graph_node": "設備任務圖節點", "Diagnostics": "診斷", "Diagnostics and raw records": "診斷和原始記錄", "Diagram": "Diagram", diff --git a/packages/localization/catalogs/zh-TW.json b/packages/localization/catalogs/zh-TW.json index 7ab714185..c0e163d19 100644 --- a/packages/localization/catalogs/zh-TW.json +++ b/packages/localization/catalogs/zh-TW.json @@ -1,6 +1,6 @@ { "locale": "zh-TW", - "sourceRevision": "14766ab3ea5977c0b9e71d84c184f934a682c76cb4350cd82fbe75c16575e4cd", + "sourceRevision": "3114def232352d65521d56a32a2bc07303bfbccbdfd2c5173facc5b7e0d46efb", "sourceHashes": { "{action} (Enter)": "9472217728ec383f5dfdd37d2f84c381ed7b4546d115f6e3e536959810ef5af5", "{agent} wants to start task \"{task}\" and needs {permissions}.": "b87261e1f3ceaec90a862105f2885011d44b2722f9979327a3790af82a5dcdf1", @@ -2374,6 +2374,7 @@ "Device permission": "725493160bd2b22ebfc5ec907be86dc813ae0f6386c8353384dbffdceadc132a", "Device permissions": "8b91be20c68bf7bd71fd6aa84ab3f1da6c1600d43eb6cadb49e9a28fcd94c2af", "Device storage": "b2ca4043ebf7dac9bcc73690e334ab57f3d945c18ec262f283f6a9ed6b0bd0ea", + "device_task_graph_node": "3131678bbed5bebceba6ff2d564d2293c30d984e81c94b7ac1e643e7042c1821", "Diagnostics": "268f14bbfe119c1e92150583af960a086d7db9619a097f8aa72ff6779842f610", "Diagnostics and raw records": "391bf46c129a79ba6e9b52d9fb64fb4ddfb8981c34bea0da5d6447f7ef3084f4", "Diagram": "913c5e96ccce08c180f5ba8c522dc44bb3e4d8a33b269c048a3365ea4131cf6b", @@ -10170,6 +10171,7 @@ "Device permission": "設備權限", "Device permissions": "設備權限", "Device storage": "裝置儲存", + "device_task_graph_node": "設備任務圖節點", "Diagnostics": "診斷", "Diagnostics and raw records": "診斷和原始記錄", "Diagram": "Diagram", From c731bb21288ef6f9c64dba1129580721c77d3095 Mon Sep 17 00:00:00 2001 From: tianxiaochannel-oss88 Date: Wed, 25 Nov 2026 20:32:06 +0800 Subject: [PATCH 107/147] Converge deliberation checkpoints on one decision round --- .../daemon/src/server/app-server-deliberation.ts | 14 ++++++++------ .../test/app-server-release-acceptance.test.ts | 13 ++++++++++++- 2 files changed, 20 insertions(+), 7 deletions(-) diff --git a/packages/daemon/src/server/app-server-deliberation.ts b/packages/daemon/src/server/app-server-deliberation.ts index 2e6a9bf28..20e2ce681 100644 --- a/packages/daemon/src/server/app-server-deliberation.ts +++ b/packages/daemon/src/server/app-server-deliberation.ts @@ -122,7 +122,7 @@ export async function evaluateAppServerDeliberation( id: evaluationId, workItemId, expectedWorkItemRevision, idempotencyKey, kind: "deliberation", action: "created", actorId: "local-user", visibility: "owner", payload: { evaluation, decision, basisDigest: basis.digest } satisfies FrozenEvaluation, - ...(predecessor ? { parentRecordId: predecessor.id } : {}), + ...(predecessor ? { parentRecordId: predecessor.evaluation.evaluationId } : {}), sourceRefs: basis.sourceRefs, assertCurrent: () => { if (readDecisionBasis(store, requireWorkItem(store, workItemId), decision).digest !== basis.digest) { @@ -145,10 +145,9 @@ export async function openAppServerEvaluatedDeliberation( const roundId = roundPrefix + digest([workItemId, evaluation.decisionId, evaluation.decisionRevision]); const readReplay = () => { const prior = readMutationReceipt(store, workItemId, idempotencyKey); - if (prior && (prior.id !== roundId || prior.parentRecordId !== evaluationId)) throw keyConflict(); + if (prior && prior.id !== roundId) throw keyConflict(); const existing = prior ?? readWorkItemCollaborationRecord(store, workItemId, roundId); if (!existing) return undefined; - if (existing.parentRecordId !== evaluationId) throw stale("This decision revision already has a deliberation round."); const workItemRevision = requireWorkItem(store, workItemId).revision; return { status: "replayed" as const, record: { ...existing, workItemRevision }, workItemRevision }; }; @@ -205,8 +204,10 @@ function assertEvaluationCurrent(store: RunStore, item: WorkItem, frozen: Frozen } if (deadline <= now) throw stale("The deliberation deadline expired."); const basis = readDecisionBasis(store, item, decision); + const latest = latestEvaluation(store, item.id, evaluation.decisionId); if (evaluation.policyRevision !== policyRevision - || latestEvaluation(store, item.id, evaluation.decisionId)?.id !== evaluation.evaluationId || basis.digest !== frozen.basisDigest) { + || latest?.evaluation.decisionRevision !== evaluation.decisionRevision + || latest.evaluation.outcome !== evaluation.outcome || basis.digest !== frozen.basisDigest) { throw stale("The decision basis or applicable evaluation changed."); } return basis; @@ -232,7 +233,7 @@ function readDecisionBasis(store: RunStore, item: WorkItem, decision: FrozenEval const evidence = decision.evidenceRefs.map(id => readEntry(id, false)); const evidenceRefs = evidence.map(entry => evidenceRef(entry, "work_item_evidence")); const candidate = decision.candidateDigest ? { digest: decision.candidateDigest, cwd: decisionCandidateCwd(store, subject) } : undefined; - const verificationRefs = candidate && decision.checkpoint === "verify_review_conflict" + const verificationRefs = candidate ? evidence.flatMap(entry => readDecisionVerificationRefs(store, item, candidate, entry)) : []; return { subject, options, evidence, candidate, verificationRefs, @@ -360,7 +361,8 @@ function workItemAllowsDeliberation(item: WorkItem, subject: LingAppServerDelibe } function latestEvaluation(store: RunStore, workItemId: string, decisionId: string) { - return store.listWorkItemEvidence({ workItemId, recordIdPrefix: `${evaluationPrefix}${decisionId}_`, newestFirst: true, limit: 1 })[0]; + const entry = store.listWorkItemEvidence({ workItemId, recordIdPrefix: `${evaluationPrefix}${decisionId}_`, newestFirst: true, limit: 1 })[0]; + return entry && readEvaluation(readWorkItemCollaborationRecord(store, workItemId, entry.id)); } function readEvaluation(record: WorkItemCollaborationRecord | undefined): FrozenEvaluation | undefined { diff --git a/packages/daemon/test/app-server-release-acceptance.test.ts b/packages/daemon/test/app-server-release-acceptance.test.ts index 158d3597b..8d271bfda 100644 --- a/packages/daemon/test/app-server-release-acceptance.test.ts +++ b/packages/daemon/test/app-server-release-acceptance.test.ts @@ -3701,7 +3701,18 @@ test("an in-flight stage verifies disputed facts and fences decisions to the cur client.call("workItem/deliberation/open", { workItemId, evaluationId, idempotencyKey, expectedWorkItemRevision: currentRevision(), }); - const first = await open(suggested.evaluationId, "tradeoff-round"); + const { evaluation: otherSource } = await evaluate({ + ...checkedTradeoff, expectedWorkItemRevision: currentRevision(), idempotencyKey: "same-tradeoff-from-verify", + evidenceRefs: [evidenceRef, entry.id], checkpointRef: entry.id, + }); + assert.notEqual(otherSource.evaluationId, suggested.evaluationId); + assert.equal(otherSource.decisionRevision, suggested.decisionRevision); + const [first, fromOtherSource] = await Promise.all([ + open(suggested.evaluationId, "tradeoff-round"), open(otherSource.evaluationId, "tradeoff-round-from-verify"), + ]); + assert.equal(first.record.id, fromOtherSource.record.id); + assert.deepEqual([first.status, fromOtherSource.status].sort(), ["appended", "replayed"]); + assert.equal((await open(otherSource.evaluationId, "tradeoff-round")).record.id, first.record.id); const { evaluation: successor } = await evaluate({ ...checkedTradeoff, expectedWorkItemRevision: currentRevision(), idempotencyKey: "tradeoff-with-current-evidence", evidenceRefs: [entry.id], checkpointRef: entry.id, From 483150f5a6f00e20f5374859f1b2f3d6bfaf75f8 Mon Sep 17 00:00:00 2001 From: tianxiaochannel-oss88 Date: Wed, 25 Nov 2026 21:10:45 +0800 Subject: [PATCH 108/147] Read complete Claude probe fixture records --- packages/daemon/test/claude-connection-probe.test.mjs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/packages/daemon/test/claude-connection-probe.test.mjs b/packages/daemon/test/claude-connection-probe.test.mjs index 3709eb5be..1dbd63027 100644 --- a/packages/daemon/test/claude-connection-probe.test.mjs +++ b/packages/daemon/test/claude-connection-probe.test.mjs @@ -116,7 +116,10 @@ function fixture(t, scenario = "connected", ownCleanup = true) { }; return { root, paths, profile, launch, processes, descendantPath, get home() { return home; }, setScenario: value => { scenario = value; }, - commands: () => existsSync(commandsPath) ? readFileSync(commandsPath, "utf8").trim().split("\n").map(JSON.parse) : [], + commands: () => { + if (!existsSync(commandsPath)) return []; + return readFileSync(commandsPath, "utf8").split("\n").slice(0, -1).map(JSON.parse); + }, secretResolver: { resolve: () => ({ configured: true, value: key }) } }; } From 757319ff725a9747446c12ee33ad4dcc5e942b5d Mon Sep 17 00:00:00 2001 From: tianxiaochannel-oss88 Date: Wed, 25 Nov 2026 21:31:29 +0800 Subject: [PATCH 109/147] Run linked read-only deliberations beside accepted workflows --- ...g-agent-operating-model-detailed-design.md | 3 +- .../design/ling-app-server-detailed-design.md | 2 +- .../ling-app-server-implementation-plan.md | 3 +- packages/contracts/src/app-server-schema.ts | 15 +- packages/contracts/src/app-server.ts | 13 ++ packages/contracts/src/workflows.ts | 3 + packages/core/src/app-server-state-types.ts | 1 + packages/core/src/index.ts | 1 + packages/core/src/run-types.ts | 3 + packages/core/src/storage/sqlite-run-store.ts | 34 ++++- .../src/storage/sqlite/work-item-store.ts | 56 ++++++- .../sqlite/work-item-workflow-usage.ts | 2 +- .../src/work-item-deliberation-workflow.ts | 50 +++++++ .../channel-turn-dispatch-executor.ts | 2 +- .../src/features/channels/plan-mode-guard.ts | 11 +- .../daemon/src/features/channels/workflows.ts | 18 ++- .../work-items/deliberation-workflow.ts | 133 +++++++++++++++++ .../features/work-items/workflow-stages.ts | 16 +- packages/daemon/src/index.ts | 19 ++- .../src/server/app-server-collaboration.ts | 17 ++- .../src/server/app-server-deliberation.ts | 57 +++++-- packages/daemon/src/server/app-server-mcp.ts | 4 +- packages/daemon/src/server/rpc.ts | 22 ++- .../app-server-release-acceptance.test.ts | 140 ++++++++++++++++++ 24 files changed, 580 insertions(+), 45 deletions(-) create mode 100644 packages/core/src/work-item-deliberation-workflow.ts create mode 100644 packages/daemon/src/features/work-items/deliberation-workflow.ts diff --git a/docs/design/ling-agent-operating-model-detailed-design.md b/docs/design/ling-agent-operating-model-detailed-design.md index 2165bdc8c..036b8809e 100644 --- a/docs/design/ling-agent-operating-model-detailed-design.md +++ b/docs/design/ling-agent-operating-model-detailed-design.md @@ -907,7 +907,8 @@ Mutations carry `expectedWorkItemRevision` and `idempotencyKey`, plus the applic | --- | --- | | `workItem/evidence/read` | Work Item ID and optional page cursor. Returns visible entries, board revision and a resume cursor for the authorized view. | | `workItem/evidence/append` | Subject digest and bounded contribution. Corrections include target ID and expected entry revision. Requires a contribution grant. | -| `workItem/deliberation/start` | Authorized template revision, subject digest and question, proposal or stage reference. An accepted suggestion supplies its decision ID and expected decision revision. The coordinator returns the round and the admitted shaping or Workflow receipt. | +| `workItem/deliberation/start` | Authorized template revision, subject digest and question, proposal or stage reference. The coordinator returns the round and the admitted shaping or Workflow receipt. | +| `workItem/deliberation/open` | Accept a checkpoint evaluation for its decision revision. With `execution: "read_only_workflow"`, atomically admit a linked participant Workflow for the accepted stage. The round includes its Workflow ID. | | `workItem/deliberation/read` | Decision or round ID and optional page cursor. Returns the visible trigger evaluation, phase, budget state, sealed outcome and decision as available. | | `workItem/deliberation/cancel` | Round ID and expected round revision. The shaping or Workflow owner returns its stop request receipt. | | `workItem/deliberation/decide` | Round ID, expected sealed outcome revision and the decision with its reason when required. The decision owner checks the current subject and commits the accepted receipt. | diff --git a/docs/design/ling-app-server-detailed-design.md b/docs/design/ling-app-server-detailed-design.md index dec490f7b..03333aadd 100644 --- a/docs/design/ling-app-server-detailed-design.md +++ b/docs/design/ling-app-server-detailed-design.md @@ -92,7 +92,7 @@ ling-stack --cwd /srv/ling/workspace --daemon-url wss://ling.example.test:7443 a | 工作项投递与反馈 | `workItem/delivery/read`、`workItem/feedback/add`、`delivery/read` | 按当前授权读取投递状态和来源反馈。反馈追加到原 Work Item 事件链,未知投递仍由原所有者对账。 | | External Agent Federation | `externalAgent/register`、`externalAgent/capabilities/read`、`externalAgent/task/start`、`externalAgent/task/reconnect`、`externalAgent/task/cancel` | 使用 `externalAgent.federation` 能力。注册、能力握手、任务接入、重连和取消均按请求绑定的工作区读取同一 federation ledger,返回外部任务回执,副作用仍由受理的 WorkUnit/Attempt 所有者控制。 | | GitHub 证据与对账 | `github/subject/read`、`github/delivery/reconcile` | 按当前授权读取 PR 修订、检查适用性、交付状态和证据引用。对账读取提供方原记录并更新已有交付意图及其回执。 [CI 证据与合并保护](ling-agent-operating-model-detailed-design.md#74-ci-evidence-and-merge-guard) | -| 工作项证据与审议 | `workItem/evidence/read`、`workItem/evidence/append`、`workItem/deliberation/start`、`workItem/deliberation/read`、`workItem/deliberation/cancel`、`workItem/deliberation/decide` | 协商可选能力 `workItem.evidence`、`workItem.deliberation`。读取工作项证据、触发评估和审议回执。 [整合协议](ling-agent-operating-model-detailed-design.md#9-events-and-app-server-methods) | +| 工作项证据与审议 | `workItem/evidence/read`、`workItem/evidence/append`、`workItem/deliberation/evaluate`、`workItem/deliberation/start`、`workItem/deliberation/open`、`workItem/deliberation/read`、`workItem/deliberation/cancel`、`workItem/deliberation/decide` | 协商可选能力 `workItem.evidence`、`workItem.deliberation`。读取工作项证据、触发评估和审议回执。接受阶段审议时可选 `execution: "read_only_workflow"`。Operator 通过订阅接收执行进展,读取已完成阶段数量、截止时间和阻塞。 [整合协议](ling-agent-operating-model-detailed-design.md#9-events-and-app-server-methods) | | 工作项阶段与轮次 | `workItem/stage/read`、`workItem/stage/brief/read`、`workItem/coordination/start`、`workItem/coordination/read`、`workItem/coordination/close` | 协商可选能力 `workItem.coordination`。读取阶段、角色简报和 `CoordinationRound`。协调者关闭轮次时原子发布简报或记录取消。 [轮次合同](ling-agent-operating-model-detailed-design.md#510-coordination-rounds-and-agent-messages) | | Agent 消息与问答 | `workItem/message/send`、`workItem/message/read`、`workItem/message/list`、`workItem/question/ask`、`workItem/question/read`、`workItem/question/reply` | 使用 `workItem.coordination`。按工作项、阶段和收件范围发送及读取消息,轮次 ID 可作为消息来源或查询条件。问答使用独立期限与修订。 | | Agent 交接 | `workItem/handoff/read`、`workItem/handoff/accept`、`workItem/handoff/return` | 使用 `workItem.coordination`。按源材料、目标阶段、候选和授权接手人核对,接受或退回均返回当前交接回执。原 Workflow 核对派发条件。 | diff --git a/docs/design/ling-app-server-implementation-plan.md b/docs/design/ling-app-server-implementation-plan.md index 7a09b0d9b..1c153fa99 100644 --- a/docs/design/ling-app-server-implementation-plan.md +++ b/docs/design/ling-app-server-implementation-plan.md @@ -69,6 +69,7 @@ | O4 GitHub 证据核对 | 配置注册仓库、不可变仓库 ID 与分支政策。按 PR、实时 base、检查 App、冻结的 workflow 文件、实际测试对象和最近 attempt 核对证据。`changes/capture` 的 `scope: "head"` 提供已提交候选摘要,可以在本地有后续编辑时对账已经发生的合并。Goal 交付验收和队列准入仍核对干净的当前候选。队列响应丢失后先查原队列项。真实受保护仓库已验证 GitHub 原生合并队列和 Ling 对账。Schema 声明检查来源、受测提交、运行尝试和队列回执。 | | O1/O8/O9 接单、控制和协作 | 工作项创建、控制、接单、证据和协作写入各自与对应事件同事务提交。真实 Daemon 回归从同一个受控 GitHub Issue 的两个入口归并 Work Item,在接单前订阅,接通 P01、独立 QA 与等待裁决的 P02。覆盖暂停、重启、裁决恢复与原步骤派发一次。按下方矩阵继续验收阶段交接、自动审议、停滞和联合界面。 | | O7/O9 决策检查点 | `workItem/deliberation/evaluate` 在当前草案或 Workflow 阶段核对检查点、选项、证据和参与人。缺意图、事实或交接材料会给出澄清、Verify 或交接修复;有实质取舍时保存建议,操作方可通过 App Server、SDK 或 MCP 接受、裁决或取消。Verify/Review 的事实争议需引用同工作项、同 Plan 和同候选的实际 Verify 执行。开轮和裁决复核当前候选。联调覆盖 Plan Mode 建议、在途争议转 Verify、并发只开一轮、重启重放、限域读取,以及草案、证据或候选变化后的旧裁决失效。该入口产生供草案或当前阶段参考的决策记录。声明式 Workflow 仍按已接受的条件执行投票和派发。 | +| O8 阶段临时审议 | `workItem/deliberation/open` 的 `execution: "read_only_workflow"` 将轮次和独立 Workflow 一起受理。实际 Daemon 回归用两个客户端并发开启,由两名参与者各自提案和质疑。裁决引用已封存的输出。进展可订阅和重放,取消通过 Workflow 停止入口收尾。联调比较原 Workflow 和步骤记录,核对原计划归属,并拒绝使用仅所有者可见的材料启动参与者。 | | O7 定时协调轮次 | 已配置的 Automation 在同一事务中写入终态回执、轮次和事件。实际调度器从重启前的时段恢复。故障注入验证提交失败不会留下回执或轮次。回执重放复用原轮次。截止后生成简报和关闭事件,暂停的工作项产生跳过回执。已暂停、禁用或归档的 Automation 在「立即运行」和时段受理入口均返回 `automation_not_runnable`,保留既有记录。该用例启动的 Runner 数量为零。 | | O7/O9 阶段交接修复 | 源阶段修订更新后,已接受计划中的交接依赖仍保留原退回。真实 Daemon 回归覆盖省略退回回执、沿用旧候选或旧检查的拒绝,以及用当前结果包和可信检查并发接受。HTTP 与 App Server 返回同一接受回执,重启后复用退回与接受记录,QA 只启动一次。 | | O7/O9 阶段停滞恢复 | 已接受的 Plan 可以为阶段指定可信 Verify 或绑定 Provider preset 的 Review 作为恢复证据。实际 Daemon 验收覆盖换人和重启后的同一阻塞、早于失败的 Review 或仍有打开项的 Review 被拒绝、两个连接复用同一恢复收据。重启后派发重新检查 Review 修订及当前候选。重开的发现项、候选漂移会阻止派发,补交当前候选的零发现项 Review 后可恢复。 | @@ -93,7 +94,7 @@ Windows 源码验收使用独立的 GitHub Actions 作业,启动真实 CLI std | A1、B1、C1、C2 | 全方法的 Schema 校验和更多宿主兼容组合。workspace、Thread、Work Item 的 grant 和 WSS 已接入。专用 TLS 监听器实测分离控制和答复权限,支持用户答复原回执与撤权。审批和答复仍需在其他宿主和实际远程部署验收。目标游标已绑定存储代次、授权代次和目标,本机兼容用例覆盖上一版源码与候选组合。 | | D1、D2、E1、E2 | 开工与 Pi 运行中的项目规则加载、显式 Claude 规则、两个开发 Skill、工作区 Verify、独立 verifier basis、托管工作树管理、候选改动分页、Turn 改动恢复、选中 hunk 转移和工作台浏览器验证报告已接入。各发行平台验证仍待完成。 | | F1、F2 | 普通会话 Handoff 的候选封存、Goal 预算承接与接手已接入。CLI `app-server codex-host --thread --state --view` 在回环地址提供双端会话视图。本机 Codex 0.171.0-alpha.13、实际 Ling Daemon 与受控 Provider 联调验证两端状态、Ling 在途排队、活跃 Codex Turn 指导、浏览器重连补齐、回执重放和审批提醒。故障回归覆盖原状态库升级、未写出的请求在重连后补投一次,以及已发出但缺少有效回执时保留待确认结果。Pi Host 预算路径的逐请求预留已使用受控 Provider 验证,仍需真实 Provider、隔离工作树和其他 Runner 的对应验收。 | -| O1、O3–O9 | GitHub 签名 webhook、轮询和显式接单归并至同一工作项。自动接单策略处理免打扰、并发、启动额度和派发前状态重查。现有 Task、AutomationRun 和同频道用户输入可显式关联工作项。已接受的计划能自动开启声明的阶段审议,并可等待当前 Workflow 结果包的交接回执。受影响阶段可单独暂停,后继阶段可显式引用已收敛或仍在途的独立成果,待执行阶段可接收定向消息和有原 Run 证据的 Agent 答复。工作项暂停期间拒绝新增定向消息。阶段客户端和支持协作工具的 Pi 阶段按 Run/Attempt 收发,Pi 在下一次模型输入接收消息和问答。Workflow 执行使用工作项重试上限,并可依据跨 Run 的结构化故障记录暂停单项阶段。可信 Verify 和已接受 Plan 指定的 Review 均可提供停滞恢复证据。决策检查点支持计划前和在途阶段的建议、接受与手工裁决。Device Work Item Bridge 的持久映射、receipt 账本和 App Server 入口已实现,计划前多角色塑形、在途只读审议 Workflow、策略自动准入和裁决回接依赖仍需补齐。完整 O9 仍需联合验收。 +| O1、O3–O9 | GitHub 签名 webhook、轮询和显式接单归并至同一工作项。自动接单策略处理免打扰、并发、启动额度和派发前状态重查。现有 Task、AutomationRun 和同频道用户输入可显式关联工作项。已接受的计划能自动开启声明的阶段审议,并可等待当前 Workflow 结果包的交接回执。受影响阶段可单独暂停,后继阶段可显式引用已收敛或仍在途的独立成果,待执行阶段可接收定向消息和有原 Run 证据的 Agent 答复。工作项暂停期间拒绝新增定向消息。阶段客户端和支持协作工具的 Pi 阶段按 Run/Attempt 收发,Pi 在下一次模型输入接收消息和问答。Workflow 执行使用工作项重试上限,并可依据跨 Run 的结构化故障记录暂停单项阶段。可信 Verify 和已接受 Plan 指定的 Review 均可提供停滞恢复证据。决策检查点支持计划前和在途阶段的建议、接受与手工裁决。Device Work Item Bridge 的持久映射、receipt 账本和 App Server 入口已实现。已接受阶段可显式开启独立只读审议。计划前多角色塑形、临时审议的条件投票、策略自动准入、裁决回接依赖和 O9 联合验收仍待完成。 | | G | 独立恢复日志已验证 SQLite 快照恢复、撤权、旧游标失效和 GitHub 对账后派发。上一版源码通过同一套本地兼容验收。签名安装产物、实际远程 WSS、带独立检查 App 的 Ling 主动入队及三个真实 Provider 自研试点仍需对应环境的证据。macOS 打包预检需要当前打包输入的 Office 审查、对应 Electron/OS 的受限运行时审查和 gstack 平台资源。T01 离线预检可进入评审,真实试点仍需按 Framework Assurance 准入。 | ## 目标与开工顺序 diff --git a/packages/contracts/src/app-server-schema.ts b/packages/contracts/src/app-server-schema.ts index cf8ff310d..31f160f24 100644 --- a/packages/contracts/src/app-server-schema.ts +++ b/packages/contracts/src/app-server-schema.ts @@ -75,6 +75,11 @@ const deliberationEvaluationFields = { optionRefs: stringArraySchema, evidenceRefs: stringArraySchema, participantIds: stringArraySchema, expiresAt: stringSchema, evaluatedAt: stringSchema, }; +const deliberationWorkflowProgressFields = { + roundId: stringSchema, workflowId: stringSchema, + status: { enum: ["draft", "ready", "running", "waiting_for_approval", "waiting_for_input", "blocked", "succeeded", "failed", "cancelled"] }, + deadlineAt: stringSchema, proposalsCompleted: integerSchema, challengesCompleted: integerSchema, participants: integerSchema, +}; const planTarget = { ...threadTarget, planId: stringSchema, expectedRevision: integerSchema }; const planActionResult = objectWith({ cwd: stringSchema, threadId: stringSchema, plan: objectSchema, taskId: stringSchema, workflowId: stringSchema, workflowStepId: stringSchema, runId: stringSchema }, ["cwd", "threadId", "plan"]); @@ -337,11 +342,16 @@ function schemaFor(method: LingAppServerMethod): LingAppServerMethodSchema { case "thread/unsubscribe": case "workItem/unsubscribe": return { params: objectWith({ subscriptionId: stringSchema }, ["subscriptionId"]), result }; + case "workItem/deliberation/read": + return { params: objectWith({ ...workItemTarget, afterRevision: integerSchema, limit: integerSchema }, ["workItemId"]), + result: objectWith({ workItemId: stringSchema, records: arraySchema, nextAfterRevision: integerSchema, ballots: arraySchema, + deliberationWorkflows: { type: "array", items: objectWith({ ...deliberationWorkflowProgressFields, blocker: stringSchema }, + Object.keys(deliberationWorkflowProgressFields)) }, + }, ["workItemId", "records", "nextAfterRevision"]) }; case "workItem/read": case "workItem/clarify": case "workItem/evidence/read": case "workItem/collaboration/read": - case "workItem/deliberation/read": case "workItem/stage/read": case "workItem/stage/brief/read": case "workItem/coordination/read": @@ -443,7 +453,8 @@ function schemaFor(method: LingAppServerMethod): LingAppServerMethodSchema { }; case "workItem/deliberation/open": return { params: objectWith({ ...workItemTarget, evaluationId: stringSchema, expectedWorkItemRevision: integerSchema, - idempotencyKey: stringSchema }, ["workItemId", "evaluationId", "expectedWorkItemRevision", "idempotencyKey"]), result }; + idempotencyKey: stringSchema, execution: { enum: ["read_only_workflow"] } }, + ["workItemId", "evaluationId", "expectedWorkItemRevision", "idempotencyKey"]), result }; case "workItem/deliberation/cancel": return { params: objectWith(deliberationSettlement, deliberationSettlementFields), result }; case "workItem/deliberation/decide": diff --git a/packages/contracts/src/app-server.ts b/packages/contracts/src/app-server.ts index d485fb6f6..019e6ccb9 100644 --- a/packages/contracts/src/app-server.ts +++ b/packages/contracts/src/app-server.ts @@ -1006,6 +1006,18 @@ export interface LingAppServerWorkItemCollaborationReadResult { readonly nextAfterRevision: number; readonly workflow?: LingAppServerWorkItemWorkflowStages; readonly ballots?: readonly LingAppServerStageBallotProgress[]; + readonly deliberationWorkflows?: readonly LingAppServerDeliberationWorkflowProgress[]; +} + +export interface LingAppServerDeliberationWorkflowProgress { + readonly roundId: string; + readonly workflowId: string; + readonly status: import("./workflows.js").ChannelWorkflowStatus; + readonly deadlineAt: string; + readonly proposalsCompleted: number; + readonly challengesCompleted: number; + readonly participants: number; + readonly blocker?: string; } export interface LingAppServerStageBallotTally { @@ -1343,6 +1355,7 @@ export interface LingAppServerDeliberationOpenParams { readonly evaluationId: string; readonly expectedWorkItemRevision: number; readonly idempotencyKey: string; + readonly execution?: "read_only_workflow"; } export interface LingAppServerDeliberationSettlementParams { diff --git a/packages/contracts/src/workflows.ts b/packages/contracts/src/workflows.ts index e46e2b5c3..312be0371 100644 --- a/packages/contracts/src/workflows.ts +++ b/packages/contracts/src/workflows.ts @@ -23,6 +23,7 @@ export type WorkflowParticipantAuthorityOriginV1 = | "builtin_template" | "custom_template" | "workflow_graph" + | "work_item_deliberation" | "channel_handoff" | "external_work" | "proposed_plan" @@ -76,6 +77,7 @@ export function isWorkflowParticipantAuthorityV1(value: unknown): value is Workf "builtin_template", "custom_template", "workflow_graph", + "work_item_deliberation", "channel_handoff", "external_work", "proposed_plan", @@ -85,6 +87,7 @@ export function isWorkflowParticipantAuthorityV1(value: unknown): value is Workf if (!origins.includes(record.origin as WorkflowParticipantAuthorityOriginV1)) return false; const channelSelectionOrigins: readonly WorkflowParticipantAuthorityOriginV1[] = [ "channel_intent_proposal", + "work_item_deliberation", "manual_channel_step", "legacy_migration", ]; diff --git a/packages/core/src/app-server-state-types.ts b/packages/core/src/app-server-state-types.ts index 192515336..a681658c1 100644 --- a/packages/core/src/app-server-state-types.ts +++ b/packages/core/src/app-server-state-types.ts @@ -7,6 +7,7 @@ export type AppServerStateKind = "verify_plan" | "verify_operation" | "review_su | "automation_coordination" | "coordination_round" | "coordination_automation_run" | "project_instruction_update" | "change_recovery_request" | "change_transfer_request" | "github_intake_pending" | "github_intake_receipt" | "github_intake_dispatch" | "work_item_workflow" | "work_item_plan_change" | "native_intake_receipt" | "work_item_stage_message_delivery" + | "work_item_deliberation_workflow" | "work_item_stage_tool_receipt" | "work_item_stage_ballot" | "work_item_device_binding" | "work_item_device_receipt"; export interface AppServerStateRecord { diff --git a/packages/core/src/index.ts b/packages/core/src/index.ts index 66ad4d727..a47c4ba2c 100644 --- a/packages/core/src/index.ts +++ b/packages/core/src/index.ts @@ -155,6 +155,7 @@ export * from "./work-item-evidence-types.js"; export * from "./work-item-collaboration.js"; export * from "./work-item-device-bridge.js"; export * from "./work-item-workflow-decision.js"; +export * from "./work-item-deliberation-workflow.js"; export * from "./work-item-retained-workflow-stage.js"; export * from "./work-item-workflow-handoff.js"; export * from "./work-item-workflow-question.js"; diff --git a/packages/core/src/run-types.ts b/packages/core/src/run-types.ts index a8a234666..deeef4e1b 100644 --- a/packages/core/src/run-types.ts +++ b/packages/core/src/run-types.ts @@ -2716,6 +2716,8 @@ export interface RunStore extends AutomationEventStore, CodeAssessmentStore, Cod readonly replayed: boolean; readonly event?: ControlPlaneEvent; }; + admitWorkItemDeliberationWorkflow(input: import("./work-item-deliberation-workflow.js").WorkItemDeliberationWorkflowAdmission, + now: string): import("./work-item-collaboration.js").AppendWorkItemCollaborationResult | undefined; getWorkItemWorkflowAdmissionBlocker(workflowId: string, step?: ChannelWorkflowStep, executionRunId?: string): string | undefined; getWorkItemStageRetryBudget(step: ChannelWorkflowStep): import("@ling-stack/contracts").LingAppServerWorkItemStageRetryBudget | undefined; getWorkItemWorkflowUsage(item: WorkItem, now: string): import("./work-item-types.js").WorkItemWorkflowUsage | undefined; @@ -3345,6 +3347,7 @@ export type WorkItemStoreFacet = RunStoreFacet< | "routeWorkItem" | "claimWorkItem" | "commitWorkItemGitHubDelivery" + | "admitWorkItemDeliberationWorkflow" | "heartbeatWorkItem" | "releaseWorkItem" | "completeWorkItem" diff --git a/packages/core/src/storage/sqlite-run-store.ts b/packages/core/src/storage/sqlite-run-store.ts index 03812a95a..701d4a0ca 100644 --- a/packages/core/src/storage/sqlite-run-store.ts +++ b/packages/core/src/storage/sqlite-run-store.ts @@ -705,7 +705,7 @@ import { SqliteUserInputHostContinuationStore } from "./sqlite/user-input-host-c import { SqliteUserInputPrestartRecoveryStore } from "./sqlite/user-input-prestart-recovery-store.js"; import { prepareUserInputWorkflowStepAdmissionRecovery, hasUserInputWorkflowTaskRunLineage } from "./sqlite/user-input-workflow-step-admission.js"; import { applyUserInputDeliveryMigration } from "./sqlite/user-input-delivery-migration.js"; -import { readSqliteSnapshot } from "./sqlite/read-snapshot.js"; +import { readSqliteSnapshot, withSqliteSnapshotParentTransaction } from "./sqlite/read-snapshot.js"; import { SqliteConversationThreadTopologyStore } from "./sqlite/conversation-thread-topology-store.js"; import { SqliteMediaStore } from "./sqlite/media-store.js"; import { SqliteMediaWorkflowStore } from "./sqlite/media-workflow-store.js"; @@ -778,6 +778,7 @@ import { applyHarnessReliabilityMigration } from "./sqlite/harness-reliability-m import { applyHarnessRetentionIndexMigration } from "./sqlite/harness-retention-index-migration.js"; import { applyHarnessRecoveryIndexMigration } from "./sqlite/harness-recovery-index-migration.js"; import { applyDelegationBudgetMigration } from "./sqlite/delegation-budget-migration.js"; +import { appendWorkItemCollaboration } from "../work-item-collaboration.js"; import { applyDelegationInstructionMigration } from "./sqlite/delegation-instruction-migration.js"; import { SqliteDelegationWriteStore } from "./sqlite/delegation-write-store.js"; import { SqliteDelegationLifecycleStore } from "./sqlite/delegation-lifecycle-store.js"; @@ -1775,6 +1776,7 @@ export class SqliteRunStore implements RunStore { getAutomationRun: (id) => this.getAutomationRun(id), getRun: (id) => this.getRun(id), getArtifact: (id) => this.getArtifact(id), + getProviderConfigurationSnapshot: (id) => this.getProviderConfigurationSnapshot(id), }, ); this.workItemEvidence = new SqliteWorkItemEvidenceStore({ database: this.database }); @@ -6231,6 +6233,36 @@ export class SqliteRunStore implements RunStore { return this.workItems.bindWorkflow(input, now, this.appServerState, { store: this.controlPlane, cwd: this.paths.cwd }, previousWorkflowSettled); } + admitWorkItemDeliberationWorkflow(input: Parameters[0], now: string) { + this.database.exec("BEGIN IMMEDIATE"); + try { + const item = this.getWorkItem(input.workItemId); + if (item?.revision !== input.expectedWorkItemRevision || this.getWorkItemEvidence(input.roundId)) { + this.database.exec("COMMIT"); + return undefined; + } + const result = withSqliteSnapshotParentTransaction(this.database, () => { + const { workflow, binding, round } = input.compile(); + const appended = appendWorkItemCollaboration({ + getWorkItem: id => this.getWorkItem(id), + listWorkItemEvidence: options => this.listWorkItemEvidence(options), + appendWorkItemEvidence: (entry, createdAt, event) => this.workItemEvidence.appendWithinTransaction(entry, createdAt, + event ? { ...event, store: this.controlPlane } : undefined), + }, { ...round, assertCurrent: input.assertCurrent }, now, this.paths.cwd); + if (appended?.status !== "appended") throw new Error("work_item_deliberation_round_admission_changed"); + const linked = this.appServerState.putWithinTransaction({ kind: "work_item_deliberation_workflow", recordId: workflow.id, + expectedRevision: 0, payload: { binding } }, now); + if (!linked) throw new Error("work_item_deliberation_workflow_already_linked"); + return appended; + }); + this.database.exec("COMMIT"); + return result; + } catch (error) { + rollbackOwnedSqliteTransaction(this.database); + throw error; + } + } + getWorkItemWorkflowAdmissionBlocker(workflowId: string, step?: ChannelWorkflowStep, executionRunId?: string): string | undefined { if (!this.hasMigration(APP_SERVER_STATE_MIGRATION_VERSION) && !this.hasTable("app_server_state")) return undefined; return this.workItems.getWorkflowAdmissionBlocker(workflowId, this.appServerState, step, executionRunId); diff --git a/packages/core/src/storage/sqlite/work-item-store.ts b/packages/core/src/storage/sqlite/work-item-store.ts index 9f41c4556..c776286d4 100644 --- a/packages/core/src/storage/sqlite/work-item-store.ts +++ b/packages/core/src/storage/sqlite/work-item-store.ts @@ -45,6 +45,7 @@ import type { LingAppServerGitHubDelivery, LingAppServerGitHubIntakeReceipt, Lin import type { RunStore } from "../../run-types.js"; import type { ChannelWorkflowStep } from "../../workspace-types.js"; import { readSelectedWorkflowDecision, workItemWorkflowDecisionId } from "../../work-item-workflow-decision.js"; +import { checkpointDeliberationResolutionId, deliberationWorkflowStepDigest, type WorkItemDeliberationWorkflowBinding } from "../../work-item-deliberation-workflow.js"; import { stageHandoffAdmitsTarget } from "../../work-item-workflow-handoff.js"; import { listWorkItemStageQuestions, workItemStageQuestionExpired } from "../../work-item-workflow-question.js"; import { planStageBallotKey } from "../../proposed-plan-mutation.js"; @@ -69,6 +70,7 @@ export interface SqliteWorkItemStorePorts { readonly getAutomationRun: RunStore["getAutomationRun"]; readonly getRun: RunStore["getRun"]; readonly getArtifact: RunStore["getArtifact"]; + readonly getProviderConfigurationSnapshot: RunStore["getProviderConfigurationSnapshot"]; } interface WorkItemCreationReceipt { @@ -770,6 +772,8 @@ export class SqliteWorkItemStore { } getWorkflowAdmissionBlocker(workflowId: string, state: SqliteAppServerStateStore, step?: ChannelWorkflowStep, executionRunId?: string): string | undefined { + const deliberation = this.readDeliberationWorkflowBinding(workflowId, state); + if (deliberation) return this.getDeliberationWorkflowAdmissionBlocker(deliberation, state, step); const link = state.get("work_item_workflow", workflowId)?.payload as WorkItemWorkflowLink | undefined; if (!link) { const planId = this.ports.getChannelWorkflow(workflowId)?.metadata?.sourceProposedPlanId; @@ -870,10 +874,11 @@ export class SqliteWorkItemStore { const run = this.ports.getRun(rootRunId); const step = run?.workflowStepId ? this.ports.getChannelWorkflowStep(run.workflowStepId) : undefined; const link = step && state.get("work_item_workflow", step.workflowId)?.payload as WorkItemWorkflowLink | undefined; - if (!step || !link) return undefined; + const deliberation = step && this.readDeliberationWorkflowBinding(step.workflowId, state); + if (!step || !link && !deliberation) return undefined; const blocker = this.getWorkflowAdmissionBlocker(step.workflowId, state, step, rootRunId); if (blocker) return blocker; - const item = this.getWorkItem(link.binding.workItemId); + const item = this.getWorkItem((link?.binding ?? deliberation!).workItemId); if (!item?.workflowId) return "work_item_workflow_stale"; const current = item.workflowId === step.workflowId ? link : state.get("work_item_workflow", item.workflowId)?.payload as WorkItemWorkflowLink | undefined; @@ -891,6 +896,42 @@ export class SqliteWorkItemStore { return undefined; } + private readDeliberationWorkflowBinding(workflowId: string, state: SqliteAppServerStateStore) { + return (state.get("work_item_deliberation_workflow", workflowId)?.payload as + { readonly binding: WorkItemDeliberationWorkflowBinding } | undefined)?.binding; + } + + private getDeliberationWorkflowAdmissionBlocker(binding: WorkItemDeliberationWorkflowBinding, state: SqliteAppServerStateStore, + step?: ChannelWorkflowStep): string | undefined { + const item = this.getWorkItem(binding.workItemId); + const origin = this.ports.getChannelWorkflowStep(binding.originStepId); + if (!item || item.workflowId !== binding.originWorkflowId || item.planRevision !== binding.planRevision + || origin?.workflowId !== binding.originWorkflowId || origin.updatedAt !== binding.originStepRevision + || item.control.generation !== binding.controlGeneration) return "work_item_deliberation_workflow_stale"; + if (binding.deadlineAt <= new Date().toISOString()) return "work_item_deliberation_deadline_expired"; + if (this.ports.getWorkItemEvidence(checkpointDeliberationResolutionId(binding.roundId))) return "work_item_deliberation_closed"; + const parentBlocker = this.getWorkflowAdmissionBlocker(binding.originWorkflowId, state); + if (parentBlocker) return parentBlocker; + if (item.holds.some(hold => hold.blocksNewAdmission && hold.workflowStepIds?.includes(origin.id))) return "work_item_plan_change_pending"; + if (step) { + if (step.metadata?.sideEffectClass !== "analysis_readonly" || binding.steps[step.id] !== deliberationWorkflowStepDigest(step)) { + return "work_item_deliberation_step_changed"; + } + const presetId = step.metadata.providerPresetId; + const preset = presetId ? this.ports.getProviderConfigurationSnapshot(presetId) : undefined; + if (!preset || preset.configRevision !== binding.providerRevisions[preset.provider.id]) { + return "work_item_deliberation_provider_changed"; + } + } + const link = state.get("work_item_workflow", binding.originWorkflowId)?.payload as WorkItemWorkflowLink | undefined; + if (!link) return "work_item_deliberation_workflow_stale"; + const goal = this.readWorkflowGoal(item, link.binding, state); + if (goal && (goal.tokenBudget !== undefined || goal.supervisionPolicy?.maxTimeSeconds !== undefined)) { + return readWorkItemWorkflowUsage(this.context, item, goal, new Date().toISOString()).goalBudget?.blocker; + } + return undefined; + } + getStageProgress(item: WorkItem, step: ChannelWorkflowStep, state: SqliteAppServerStateStore) { const stageId = step.metadata?.planStageId; const link = state.get("work_item_workflow", step.workflowId)?.payload as WorkItemWorkflowLink | undefined; @@ -960,7 +1001,7 @@ export class SqliteWorkItemStore { listActiveWorkflowIds(limit: number): readonly string[] { return this.context.database.prepare(` - SELECT workflow.id FROM channel_workflows workflow + SELECT workflow.id AS id, workflow.updated_at AS updated_at FROM channel_workflows workflow JOIN app_server_state binding ON binding.workspace_id=workflow.workspace_id AND binding.kind='work_item_workflow' AND binding.record_id=workflow.id JOIN work_items item ON item.id=json_extract(binding.payload_json, '$.binding.workItemId') @@ -983,8 +1024,13 @@ export class SqliteWorkItemStore { LEFT JOIN work_items dependency ON dependency.id=edge.depends_on_work_item_id WHERE edge.work_item_id=item.id AND coalesce(dependency.status,'missing')!='done' ) - ORDER BY workflow.updated_at ASC, workflow.id ASC LIMIT ? - `).all(DEFAULT_WORKSPACE_ID, limit).map(row => readString(row, "id")); + UNION ALL + SELECT workflow.id AS id, workflow.updated_at AS updated_at FROM channel_workflows workflow + JOIN app_server_state binding ON binding.workspace_id=workflow.workspace_id + AND binding.kind='work_item_deliberation_workflow' AND binding.record_id=workflow.id + WHERE workflow.workspace_id=? AND workflow.status IN ('ready','running','waiting_for_approval') + ORDER BY updated_at ASC, id ASC LIMIT ? + `).all(DEFAULT_WORKSPACE_ID, DEFAULT_WORKSPACE_ID, limit).map(row => readString(row, "id")); } checkConversationAdmission(threadId: string, submissionKey: unknown, state: SqliteAppServerStateStore, automaticIntakeReceiptId?: string): WorkItem | undefined { diff --git a/packages/core/src/storage/sqlite/work-item-workflow-usage.ts b/packages/core/src/storage/sqlite/work-item-workflow-usage.ts index 15b184e1f..61916eedc 100644 --- a/packages/core/src/storage/sqlite/work-item-workflow-usage.ts +++ b/packages/core/src/storage/sqlite/work-item-workflow-usage.ts @@ -37,7 +37,7 @@ export function readWorkItemWorkflowUsage(context: SqliteStoreContext, item: Wor FROM app_server_state link JOIN channel_workflow_steps s ON s.workspace_id=link.workspace_id AND s.workflow_id=link.record_id JOIN run_sessions r ON r.workflow_step_id=s.id AND r.channel_id=s.channel_id - WHERE link.workspace_id=? AND link.kind='work_item_workflow' + WHERE link.workspace_id=? AND link.kind IN ('work_item_workflow','work_item_deliberation_workflow') AND json_extract(link.payload_json, '$.binding.workItemId')=? ), attempt_charges AS ( SELECT c.run_id, c.attempt_id, COUNT(*)=SUM(c.state='cancelled_before_dispatch') AS no_dispatch, diff --git a/packages/core/src/work-item-deliberation-workflow.ts b/packages/core/src/work-item-deliberation-workflow.ts new file mode 100644 index 000000000..63f075fd6 --- /dev/null +++ b/packages/core/src/work-item-deliberation-workflow.ts @@ -0,0 +1,50 @@ +import { createHash } from "node:crypto"; +import type { AppendWorkItemCollaborationInput } from "./work-item-collaboration.js"; +import type { RunStore } from "./run-types.js"; +import type { ChannelWorkflow, ChannelWorkflowStep } from "./workspace-types.js"; + +export interface WorkItemDeliberationWorkflowBinding { + readonly workItemId: string; + readonly roundId: string; + readonly originWorkflowId: string; + readonly originStepId: string; + readonly originStepRevision: string; + readonly planRevision: string; + readonly controlGeneration: number; + readonly deadlineAt: string; + readonly candidate?: { readonly cwd: string; readonly digest: string }; + readonly providerRevisions: Readonly>; + readonly steps: Readonly>; +} + +export interface WorkItemDeliberationWorkflowAdmission { + readonly workItemId: string; + readonly expectedWorkItemRevision: number; + readonly roundId: string; + readonly assertCurrent: () => void; + readonly compile: () => { + readonly workflow: ChannelWorkflow; + readonly binding: WorkItemDeliberationWorkflowBinding; + readonly round: AppendWorkItemCollaborationInput; + }; +} + +export function readWorkItemDeliberationWorkflowBinding(store: Pick, workflowId: string) { + return (store.getAppServerState("work_item_deliberation_workflow", workflowId)?.payload as + { readonly binding: WorkItemDeliberationWorkflowBinding } | undefined)?.binding; +} + +export function checkpointDeliberationResolutionId(roundId: string): string { + return `work_item_deliberation_${createHash("sha256").update(roundId).digest("hex")}`; +} + +export function deliberationWorkflowStepDigest(step: ChannelWorkflowStep): string { + const metadata = step.metadata; + return createHash("sha256").update(JSON.stringify([ + step.id, step.workflowId, step.channelId, step.title, step.prompt, step.toParticipantId, step.participantAuthority, + metadata?.sideEffectClass, metadata?.dependsOnStepIds, metadata?.requiredTools, metadata?.requestedRunnerId, + metadata?.providerPresetId, metadata?.policy, metadata?.skillId, metadata?.gates, metadata?.parallelPolicy, + metadata?.providerBinding, metadata?.approvalGate, metadata?.executionPlan, metadata?.executionOperationIds, + metadata?.dependencyMode, metadata?.templateStepId, + ])).digest("hex"); +} diff --git a/packages/daemon/src/features/channels/channel-turn-dispatch-executor.ts b/packages/daemon/src/features/channels/channel-turn-dispatch-executor.ts index 217781914..982eb2672 100644 --- a/packages/daemon/src/features/channels/channel-turn-dispatch-executor.ts +++ b/packages/daemon/src/features/channels/channel-turn-dispatch-executor.ts @@ -343,7 +343,7 @@ export function createStartOrchestratedRun( options.secretResolver, options.mcpBroker, { - enableUserInputPause: true, + enableUserInputPause: workflowStep.participantAuthority.origin !== "work_item_deliberation", onRunReady: (runId) => { publishWorkItemWorkflowStep(store, options.controlPlaneEvents, workflowStep.id); resolveOnce(runId); diff --git a/packages/daemon/src/features/channels/plan-mode-guard.ts b/packages/daemon/src/features/channels/plan-mode-guard.ts index 69ce365ea..ba38cc287 100644 --- a/packages/daemon/src/features/channels/plan-mode-guard.ts +++ b/packages/daemon/src/features/channels/plan-mode-guard.ts @@ -1,4 +1,4 @@ -import type { ChannelWorkflow, RunStore } from "@ling-stack/core"; +import { readWorkItemDeliberationWorkflowBinding, type ChannelWorkflow, type RunStore } from "@ling-stack/core"; import { findChannelDefaultConversationThread } from "./conversation-thread-resolution.js"; const PLAN_MODE_WORKFLOW_BLOCKER = "Plan Mode is active for this conversation. Exit Plan Mode or accept a proposed plan before starting workflow execution."; @@ -13,6 +13,15 @@ export function getChannelPlanModeBlocker(store: RunStore, channelId: string | u } export function getWorkflowPlanModeBlocker(store: RunStore, workflow: ChannelWorkflow): string | undefined { + const deliberation = readWorkItemDeliberationWorkflowBinding(store, workflow.id); + if (deliberation) { + const parent = store.getChannelWorkflow(deliberation.originWorkflowId); + return parent?.channelId === workflow.channelId ? sourcePlanModeBlocker(store, parent) : SOURCE_CONVERSATION_BLOCKER; + } + return sourcePlanModeBlocker(store, workflow); +} + +function sourcePlanModeBlocker(store: RunStore, workflow: ChannelWorkflow): string | undefined { const turnId = workflow.metadata?.sourceTurnId; const itemId = workflow.metadata?.sourceMessageId; // Legacy channel work has no conversation attribution. It keeps the default diff --git a/packages/daemon/src/features/channels/workflows.ts b/packages/daemon/src/features/channels/workflows.ts index e5aa16477..d1b63bc34 100644 --- a/packages/daemon/src/features/channels/workflows.ts +++ b/packages/daemon/src/features/channels/workflows.ts @@ -7,6 +7,7 @@ import { createSqliteWorkflowUserCreationStore, effectiveWorkflowPreGate, inspectWorkflowPreApproval, + readWorkItemDeliberationWorkflowBinding, type ApprovalRequest, type ChannelWorkflow, type ChannelHandoff, @@ -31,7 +32,7 @@ import { writeJson } from "../../shared/response.js"; import { readWorkItemStageMessages } from "../work-items/stage-messages.js"; import { readWorkItemStageQuestionInputs, WORK_ITEM_STAGE_ANSWER_FORMAT } from "../work-items/stage-questions.js"; import { readWorkItemRetainedStageInputs } from "../work-items/workflow-stages.js"; -import { workItemHandoffCandidatesCurrent, workItemStageRecoveryCandidateCurrent } from "../work-items/stage-handoff-candidates.js"; +import { readCompleteHandoffCandidate, workItemHandoffCandidatesCurrent, workItemStageRecoveryCandidateCurrent } from "../work-items/stage-handoff-candidates.js"; import { compileWorkflowTemplate, isWorkflowTemplateCompileRequest, @@ -749,6 +750,16 @@ export async function prepareWorkflowStepStart( if (workItemBlocker) { return { kind: "error", statusCode: 409, code: workItemBlocker, message: "The Work Item cannot start a Workflow step." }; } + const deliberation = readWorkItemDeliberationWorkflowBinding(store, workflow.id); + if (deliberation && (input.mode !== "create_and_run_task" + || input.taskTitle !== undefined && input.taskTitle !== step.title + || input.taskPrompt !== undefined && input.taskPrompt !== step.prompt + || input.assigneeTeammateId !== undefined && input.assigneeTeammateId !== step.toParticipantId + || input.runnerId !== undefined && input.runnerId !== step.metadata?.requestedRunnerId + || input.providerPresetId !== undefined && input.providerPresetId !== step.metadata?.providerPresetId)) { + return { kind: "error", statusCode: 409, code: "work_item_deliberation_scope_override", + message: "A deliberation step uses the participant and execution inputs frozen at admission." }; + } if (store.getWorkItemStageRetryBudget(step)?.exhausted) { return { kind: "error", statusCode: 409, code: "work_item_stage_retry_budget_exhausted", message: "The Workflow stage or Work Item has no retry capacity remaining." }; @@ -1107,6 +1118,9 @@ export async function prepareWorkflowStepStart( && !await workItemStageRecoveryCandidateCurrent(store, step, runRequestBase.cwd)) { return fail(409, "work_item_stage_candidate_stale", "The recovered stage needs current evidence for its candidate."); } + if (deliberation?.candidate && await readCompleteHandoffCandidate(deliberation.candidate.cwd) !== deliberation.candidate.digest) { + return fail(409, "work_item_deliberation_candidate_stale", "The read-only round requires its original worktree candidate."); + } const begun = store.beginChannelWorkflowStepStart({ workflowStepId: step.id, expected: step, leaseId: lease.id, now: new Date().toISOString(), executionPermit, @@ -1197,7 +1211,7 @@ export function maybeCreateWorkflowTerminalCoordinatorReply( if (!workflow || !workflowCoordinatorReplyStatusIsTerminal(workflow.status)) { return undefined; } - if (!terminalReportsEnabledForStore(store)) return undefined; + if (!terminalReportsEnabledForStore(store) || readWorkItemDeliberationWorkflowBinding(store, workflowId)) return undefined; return maybeScheduleWorkflowTerminalReport(store, workflowId, input); } diff --git a/packages/daemon/src/features/work-items/deliberation-workflow.ts b/packages/daemon/src/features/work-items/deliberation-workflow.ts new file mode 100644 index 000000000..32ec89b9c --- /dev/null +++ b/packages/daemon/src/features/work-items/deliberation-workflow.ts @@ -0,0 +1,133 @@ +import { createWorkflowParticipantAuthorityV1, type LingAppServerDeliberationWorkflowProgress } from "@ling-stack/contracts"; +import { + deliberationWorkflowStepDigest, + readWorkItemDeliberationWorkflowBinding, + type AiTeammate, + type ChannelWorkflowStep, + type RunStore, + type WorkItemDeliberationWorkflowBinding, + type WorkItemCollaborationRecord, + type WorkItemEvidenceEntry, +} from "@ling-stack/core"; +import { HttpError } from "../../errors.js"; +import { isRecord } from "../../shared/validation.js"; +import { getWorkflowPlanModeBlocker } from "../channels/plan-mode-guard.js"; +import { readWorkflowStepOutputPacketArtifact } from "../channels/workflow-step-packets.js"; + +export function materializeDeliberationWorkflow(store: RunStore, input: { + readonly binding: Omit; + readonly origin: ChannelWorkflowStep; + readonly question: string; + readonly participants: readonly AiTeammate[]; + readonly options: readonly WorkItemEvidenceEntry[]; + readonly evidence: readonly WorkItemEvidenceEntry[]; + readonly now: string; +}) { + const { binding, origin, participants, question, now } = input; + const parent = store.getChannelWorkflow(origin.workflowId); + const channel = store.getChannel(origin.channelId); + if (!parent || !channel) throw new HttpError(409, "stale_revision", "The originating Workflow is unavailable."); + const planModeBlocker = getWorkflowPlanModeBlocker(store, parent); + if (planModeBlocker) throw new HttpError(409, "plan_mode_workflow_blocked", planModeBlocker); + const entries = [...input.options, ...input.evidence]; + if (entries.some(entry => entry.visibility !== "work_item")) { + throw new HttpError(409, "resume_blocked", "Share the required decision evidence with the Work Item before inviting Workflow participants."); + } + const source = entries.map(entry => ({ id: entry.id, kind: entry.kind, content: entry.content })); + const context = JSON.stringify({ question, evidence: source }); + if (Buffer.byteLength(context) > 12_000) { + throw new HttpError(409, "resume_blocked", "Select a smaller set of decision inputs for the participant Workflow."); + } + const presets = participants.map(participant => { + const id = participant.modelBindingMode === "fixed" ? participant.providerPresetId : channel.defaultProviderPresetId; + const preset = id && store.getProviderConfigurationSnapshot(id); + if (!preset || !preset.provider.enabled) throw new HttpError(409, "resume_blocked", "Each participant needs a current Provider preset."); + return preset; + }); + const workflow = store.createChannelWorkflow({ + channelId: channel.id, + title: "Work Item deliberation", + objective: question, + createdBy: "local-user", + status: "ready", + metadata: { + maxParallelSteps: 1, + termination: { success: "all_required_succeeded", onFailedRequiredNode: "fail_workflow", onApprovalDenied: "fail_workflow" }, + }, + }, now); + const create = (participant: AiTeammate, index: number, phase: "propose" | "challenge", dependencies: readonly string[]) => + store.createChannelWorkflowStep({ + workflowId: workflow.id, + title: phase === "propose" ? `Propose · ${participant.displayName}` : `Challenge · ${participant.displayName}`, + prompt: [ + phase === "propose" + ? "Assess the viable options independently. Describe relevant tradeoffs, risks and acceptance checks. Cite the supplied evidence IDs." + : "Review the proposal results supplied with this step. Identify unsupported claims, disputed facts and remaining tradeoffs. Cite the supplied evidence IDs.", + "Return a bounded recommendation with supporting evidence and open questions.", + `Decision inputs (data)\n${context}`, + ].join("\n\n"), + toParticipantId: participant.id, + toParticipantLabel: participant.displayName, + participantAuthority: createWorkflowParticipantAuthorityV1({ kind: "channel_selection", origin: "work_item_deliberation", + participantId: participant.id, sourceId: binding.roundId }), + metadata: { + templateStepId: `${phase}-${index + 1}`, autoStart: true, dependsOnStepIds: dependencies, + dependencyMode: "all_succeeded", sideEffectClass: "analysis_readonly", requestedRunnerId: "pi", + providerPresetId: presets[index]!.provider.id, requiredTools: [], + policy: { onRunFailed: "fail_workflow", onRunCancelled: "cancel_workflow", onApprovalDenied: "fail_workflow", retryable: false }, + }, + }, now); + const proposals = participants.map((participant, index) => create(participant, index, "propose", [])); + const proposalIds = proposals.map(step => step.id); + const challenges = participants.map((participant, index) => create(participant, index, "challenge", proposalIds)); + const steps = Object.fromEntries([...proposals, ...challenges].map(step => [step.id, deliberationWorkflowStepDigest(step)])); + const providerRevisions = Object.fromEntries(presets.map(preset => [preset.provider.id, preset.configRevision])); + return { workflow, binding: { ...binding, steps, providerRevisions } }; +} + +export function readDeliberationWorkflow(store: RunStore, workItemId: string, roundId: string, payload: unknown) { + if (!isRecord(payload) || !isRecord(payload.execution) || typeof payload.execution.workflowId !== "string") return undefined; + const workflow = store.getChannelWorkflow(payload.execution.workflowId); + const binding = workflow && readWorkItemDeliberationWorkflowBinding(store, workflow.id); + if (!workflow || binding?.roundId !== roundId || binding.workItemId !== workItemId) return undefined; + const steps = store.listChannelWorkflowSteps({ workflowId: workflow.id, complete: true }) + .filter(step => Object.hasOwn(binding.steps, step.id)); + return { workflow, binding, steps }; +} + +export function readCompletedDeliberationWorkflow(store: RunStore, workItemId: string, roundId: string, payload: unknown) { + const execution = readDeliberationWorkflow(store, workItemId, roundId, payload); + if (!execution) return undefined; + const { workflow, binding, steps } = execution; + if (workflow.status !== "succeeded" || Object.keys(binding.steps).length !== steps.length) { + throw new HttpError(409, "resume_blocked", "Wait for the deliberation participants to complete."); + } + const sources = steps.map(step => { + const run = step.runId && store.getRun(step.runId); + const artifactId = step.metadata?.outputArtifactId; + const packet = artifactId ? readWorkflowStepOutputPacketArtifact({ store, artifactId }) : undefined; + if (step.status !== "succeeded" || binding.steps[step.id] !== deliberationWorkflowStepDigest(step) + || !run || run.status !== "succeeded" || run.workflowStepId !== step.id + || !artifactId || packet?.workflowId !== workflow.id || packet.workflowStepId !== step.id || packet.runId !== run.id) { + throw new HttpError(409, "stale_revision", "The deliberation's completed participant evidence is unavailable."); + } + return { type: "workflow_step_output", id: artifactId, revision: step.updatedAt }; + }); + return { workflow, sources }; +} + +export function projectDeliberationWorkflowProgress(store: RunStore, round: WorkItemCollaborationRecord): + LingAppServerDeliberationWorkflowProgress | undefined { + if (round.kind !== "deliberation" || round.action !== "started") return; + const execution = readDeliberationWorkflow(store, round.workItemId, round.id, round.payload); + if (!execution) return; + const { workflow, binding, steps } = execution; + const proposals = steps.filter(step => step.metadata?.templateStepId?.startsWith("propose-")); + const challenges = steps.filter(step => step.metadata?.templateStepId?.startsWith("challenge-")); + const blocker = ["ready", "running", "blocked", "waiting_for_approval", "waiting_for_input"].includes(workflow.status) + ? store.getWorkItemWorkflowAdmissionBlocker(workflow.id) ?? steps.find(step => step.status === "blocked")?.blocker?.slice(0, 200) + : undefined; + return { roundId: round.id, workflowId: workflow.id, status: workflow.status, deadlineAt: binding.deadlineAt, + participants: proposals.length, proposalsCompleted: proposals.filter(step => step.status === "succeeded").length, + challengesCompleted: challenges.filter(step => step.status === "succeeded").length, ...(blocker ? { blocker } : {}) }; +} diff --git a/packages/daemon/src/features/work-items/workflow-stages.ts b/packages/daemon/src/features/work-items/workflow-stages.ts index 29e2a30c4..2187eca2b 100644 --- a/packages/daemon/src/features/work-items/workflow-stages.ts +++ b/packages/daemon/src/features/work-items/workflow-stages.ts @@ -1,7 +1,8 @@ import { createHash } from "node:crypto"; import type { LingAppServerStageBallotTally, LingAppServerStageHandoffProgress, LingAppServerWorkItemStageDecision, LingAppServerWorkItemWorkflowBinding, LingAppServerWorkItemWorkflowStages } from "@ling-stack/contracts"; -import { readRetainedWorkflowStageExecution, readWorkItemCollaborationRecord, readWorkflowStageHandoff, stageHandoffAdmitsTarget, workItemWorkflowDecisionId } from "@ling-stack/core"; +import { readRetainedWorkflowStageExecution, readWorkItemCollaborationRecord, readWorkflowStageHandoff, stageHandoffAdmitsTarget, + readWorkItemDeliberationWorkflowBinding, workItemWorkflowDecisionId } from "@ling-stack/core"; import type { ChannelWorkflowStep, RunStore, WorkItem } from "@ling-stack/core"; import { workflowStepParticipantAvailable } from "../channels/workflow-participant-run-profile.js"; import { appendControlPlaneEvent, type ControlPlaneEventHub } from "../control-plane/events.js"; @@ -169,15 +170,18 @@ export function publishWorkItemWorkflowStep(store: RunStore, events: ControlPlan const step = store.getChannelWorkflowStep(stepId); if (!step) return; const binding = readWorkItemWorkflowBinding(store, step.workflowId); - if (!binding) return; - const { workItemId, threadId, planId, planRevision } = binding; + const deliberation = readWorkItemDeliberationWorkflowBinding(store, step.workflowId); + const target = binding ? { workItemId: binding.workItemId, threadId: binding.threadId, + planRevision: `${binding.planId}:${binding.planRevision}` } + : deliberation ? { workItemId: deliberation.workItemId, roundId: deliberation.roundId } : undefined; + if (!target) return; const revision = createHash("sha256").update(JSON.stringify([step.id, step.updatedAt, step.status, step.runId])).digest("hex"); const idempotencyKey = `work-item-stage:${revision}`; if (store.getControlPlaneEventByIdempotency(step.workspaceId, idempotencyKey)) return; appendControlPlaneEvent(store, events, { workspaceId: step.workspaceId, cwd: store.paths.cwd, domain: "work_items", - entityType: "work_item", entityId: workItemId, action: "work_item.stage.updated", - data: { workItemId, threadId, workflowId: step.workflowId, planRevision: `${planId}:${planRevision}`, - stepId, status: step.status, revision }, idempotencyKey, + entityType: "work_item", entityId: target.workItemId, + action: deliberation ? "work_item.deliberation.workflow_progress" : "work_item.stage.updated", + data: { ...target, workflowId: step.workflowId, stepId, status: step.status, revision }, idempotencyKey, }); } diff --git a/packages/daemon/src/index.ts b/packages/daemon/src/index.ts index d5ec7068f..42548bf18 100644 --- a/packages/daemon/src/index.ts +++ b/packages/daemon/src/index.ts @@ -2,6 +2,7 @@ import { AutomationEventWorker } from "./features/automations/event-worker.js"; import { dispatchGitHubIntake, processGitHubWebhookIntake } from "./server/app-server-github-intake.js"; import { openReadyWorkItemStageDeliberations } from "./server/app-server-collaboration.js"; import { reconcileWorkItemStageQuestionResults } from "./features/work-items/stage-question-results.js"; +import { publishWorkItemWorkflowStep } from "./features/work-items/workflow-stages.js"; import { HttpError } from "./errors.js"; import { isRecord } from "./shared/validation.js"; import { NativeWorkIntake } from "./features/work-items/native-intake.js"; @@ -10,7 +11,8 @@ import { runAutomation, type StartAutomationRunExecution } from "./features/auto import { startDetachedRunAndResolveReady } from "./features/runs/detached.js"; import { resolveProviderForRun } from "./features/runs/providers.js"; import { TaskSupervisor } from "./features/runs/task-supervisor.js"; -import { orchestrateChannelWorkflow } from "./features/channels/orchestrator.js"; +import { cancelChannelWorkflow, orchestrateChannelWorkflow } from "./features/channels/orchestrator.js"; +import { ensureRunCancelled } from "./features/runs/cancellation.js"; import { createWorkflowParallelCapabilityResolver } from "./features/runs/workflow-safety.js"; import { MemorySemanticService } from "./features/memory/semantic-service.js"; import { registerMemorySemanticService } from "./features/memory/semantic-registry.js"; @@ -25,6 +27,7 @@ import { createServer, type Server } from "node:http"; import { listBuiltinSkillPackExtensions, listBuiltinToolExtensions, + readWorkItemDeliberationWorkflowBinding, createCompositeSecretResolver, getRunSummaryPath, resolveStoragePaths, @@ -941,6 +944,20 @@ export function createDaemonServer( }; taskSupervisor = new TaskSupervisor(storeRegistry, async (store, workflowId) => { if (storeRegistry.recoveryBlocksDispatch(store.paths.cwd)) return; + if (readWorkItemDeliberationWorkflowBinding(store, workflowId)) { + const blocker = store.getWorkItemWorkflowAdmissionBlocker(workflowId); + if (blocker === "work_item_deliberation_closed" || blocker === "work_item_deliberation_deadline_expired" + || blocker === "work_item_deliberation_workflow_stale") { + const result = await cancelChannelWorkflow({ store, workflowId, reason: blocker, cancelRun: run => { + const active = activeRuns.get(run.id); + const cancelled = ensureRunCancelled({ store, runId: run.id, taskId: run.taskId, startedAt: run.startedAt, + reason: blocker, active: Boolean(active), streamEnvelope: active?.streamEnvelope, controlPlaneEvents }); + if (!cancelled.inputWait) active?.abortController.abort(); + } }); + for (const step of result.workflowSteps) publishWorkItemWorkflowStep(store, controlPlaneEvents, step.id); + return result; + } + } reconcileWorkItemStageQuestionResults(store, workflowId, controlPlaneEvents); for (const event of openReadyWorkItemStageDeliberations(store, workflowId, new Date().toISOString())) controlPlaneEvents.publish(event); return orchestrateChannelWorkflow({ diff --git a/packages/daemon/src/server/app-server-collaboration.ts b/packages/daemon/src/server/app-server-collaboration.ts index cd151cbbb..ec99570de 100644 --- a/packages/daemon/src/server/app-server-collaboration.ts +++ b/packages/daemon/src/server/app-server-collaboration.ts @@ -1,4 +1,3 @@ -import { createHash } from "node:crypto"; import type { LingAppServerCollaborationKind, LingAppServerDeliberationDecideParams, @@ -12,6 +11,7 @@ import type { } from "@ling-stack/contracts"; import { appendWorkItemCollaboration, + checkpointDeliberationResolutionId, fromAppServerCollaborationParams, LING_AGENT_ID, listWorkItemCollaboration, @@ -28,6 +28,7 @@ import type { ControlPlaneEvent, RunStore } from "@ling-stack/core"; import { HttpError } from "../errors.js"; import { isRecord } from "../shared/validation.js"; import { readAppServerStageBallot } from "../features/work-items/stage-ballot.js"; +import { projectDeliberationWorkflowProgress, readCompletedDeliberationWorkflow } from "../features/work-items/deliberation-workflow.js"; import { assertCheckpointRoundCandidate, assertCheckpointRoundCurrent, isCheckpointDeliberationRecord } from "./app-server-deliberation.js"; export class AppServerCollaborationError extends Error { @@ -42,6 +43,7 @@ export class AppServerCollaborationError extends Error { export function readAppServerWorkItemCollaboration( store: RunStore, params: LingAppServerWorkItemCollaborationReadParams, + includeDeliberationWorkflows = false, ): LingAppServerWorkItemCollaborationReadResult { const workItem = store.getWorkItem(params.workItemId); if (!workItem) throw new AppServerCollaborationError("work_item_not_found", `Work Item was not found: ${params.workItemId}`); @@ -52,11 +54,16 @@ export function readAppServerWorkItemCollaboration( limit: params.limit, }); const ballots = params.kind === "deliberation" ? readOpenStageBallots(store, workItem, page.records) : undefined; + const deliberationWorkflows = includeDeliberationWorkflows && params.kind === "deliberation" ? page.records.flatMap(record => { + const execution = projectDeliberationWorkflowProgress(store, record); + return execution ? [execution] : []; + }) : []; return { workItemId: params.workItemId, records: page.records.map(toAppServerCollaborationRecord), nextAfterRevision: page.nextAfterRevision, ...(ballots?.length ? { ballots } : {}), + ...(deliberationWorkflows.length ? { deliberationWorkflows } : {}), }; } @@ -188,7 +195,7 @@ export async function settleAppServerDeliberation( const workflowDecision = readWorkflowDecisionSubject(round); const privateRound = isCheckpointDeliberationRecord(round); const id = workflowDecision ? workItemWorkflowDecisionId(workflowDecision, "resolution") - : `work_item_deliberation_${createHash("sha256").update(round.id).digest("hex")}`; + : checkpointDeliberationResolutionId(round.id); const prior = store.getWorkItemEvidence(id); if (prior && prior.idempotencyKey !== input.idempotencyKey) { throw new AppServerCollaborationError("stale_revision", "The deliberation round already has a resolution."); @@ -223,7 +230,6 @@ export async function settleAppServerDeliberation( } const action = decision ? "decided" : "cancelled"; const payload = decision ? { ...decision, reason: input.reason, ...(ballot ? { ballot: ballot.summary } : {}) } : { reason: input.reason }; - const sourceRefs = [{ type: "deliberation_round", id: round.id, revision: String(round.collaborationRevision) }, ...(ballot?.sourceRefs ?? [])]; const saved = prior && readWorkItemCollaborationRecord(store, item.id, prior.id); if (saved) { const { ballot: _ballot, ...request } = isRecord(saved.payload) ? saved.payload : {}; @@ -234,6 +240,10 @@ export async function settleAppServerDeliberation( return { status: "replayed", record: { ...saved, workItemRevision: item.revision }, workItemRevision: item.revision }; } if (privateRound && decision) await assertCheckpointRoundCandidate(store, item, round, now); + const execution = privateRound && decision?.disposition === "selected" + ? readCompletedDeliberationWorkflow(store, item.id, round.id, round.payload) : undefined; + const sourceRefs = [{ type: "deliberation_round", id: round.id, revision: String(round.collaborationRevision) }, + ...(ballot?.sourceRefs ?? []), ...(execution?.sources ?? [])]; const resolution = store.appendWorkItemEvidence({ id, workItemId: item.id, @@ -252,6 +262,7 @@ export async function settleAppServerDeliberation( const current = store.getWorkItem(item.id); if (!current) throw new AppServerCollaborationError("work_item_not_found", "The Work Item is unavailable."); assertCheckpointRoundCurrent(store, current, round, now); + if (execution) readCompletedDeliberationWorkflow(store, item.id, round.id, round.payload); } } : {}), } : {}), }, now, { diff --git a/packages/daemon/src/server/app-server-deliberation.ts b/packages/daemon/src/server/app-server-deliberation.ts index 20e2ce681..13c6f274b 100644 --- a/packages/daemon/src/server/app-server-deliberation.ts +++ b/packages/daemon/src/server/app-server-deliberation.ts @@ -28,6 +28,8 @@ import { import { z } from "zod"; import { HttpError } from "../errors.js"; import { listEffectiveChannelAiTeammates } from "../features/channels/channel-teammate-availability.js"; +import { materializeDeliberationWorkflow } from "../features/work-items/deliberation-workflow.js"; +import { isRecord } from "../shared/validation.js"; import { readCompleteHandoffCandidate } from "../features/work-items/stage-handoff-candidates.js"; import { readWorkItemWorkflowBinding } from "../features/work-items/workflow-stages.js"; @@ -63,7 +65,9 @@ export const deliberationEvaluateInput = z.object({ unresolved: z.enum(["intent", "fact", "handoff"]).optional(), }); -export const deliberationOpenInput = z.object({ ...mutationFields, evaluationId: boundedId }); +export const deliberationOpenInput = z.object({ + ...mutationFields, evaluationId: boundedId, execution: z.literal("read_only_workflow").optional(), +}); interface FrozenEvaluation { readonly evaluation: LingAppServerDeliberationEvaluation; @@ -137,7 +141,7 @@ export async function evaluateAppServerDeliberation( export async function openAppServerEvaluatedDeliberation( store: RunStore, input: LingAppServerDeliberationOpenParams, now: string, cwd: string, ): Promise { - const { workItemId, evaluationId, expectedWorkItemRevision, idempotencyKey } = input; + const { workItemId, evaluationId, expectedWorkItemRevision, idempotencyKey, execution } = input; const item = requireWorkItem(store, workItemId); const frozen = readEvaluation(readWorkItemCollaborationRecord(store, workItemId, evaluationId)); if (!frozen) throw stale("The deliberation evaluation is unavailable."); @@ -148,6 +152,11 @@ export async function openAppServerEvaluatedDeliberation( if (prior && prior.id !== roundId) throw keyConflict(); const existing = prior ?? readWorkItemCollaborationRecord(store, workItemId, roundId); if (!existing) return undefined; + const hasWorkflow = isRecord(existing.payload) && isRecord(existing.payload.execution); + if (hasWorkflow !== (execution === "read_only_workflow")) { + if (prior) throw keyConflict(); + throw stale("This decision revision was already admitted with a different execution mode."); + } const workItemRevision = requireWorkItem(store, workItemId).revision; return { status: "replayed" as const, record: { ...existing, workItemRevision }, workItemRevision }; }; @@ -156,22 +165,48 @@ export async function openAppServerEvaluatedDeliberation( if (evaluation.outcome !== "suggest") throw new HttpError(409, "resume_blocked", "Only a current deliberation suggestion can open a round."); const assertCurrent = () => assertEvaluationCurrent(store, requireWorkItem(store, workItemId), frozen, now, evaluation.expiresAt); - const { candidate } = assertEvaluationCurrent(store, item, frozen, now, evaluation.expiresAt); + const admission = assertEvaluationCurrent(store, item, frozen, now, evaluation.expiresAt); + const { candidate } = admission; if (candidate) { await assertCandidateCurrent(candidate); const committed = readReplay(); if (committed) return committed; } const deadlineAt = new Date(Date.parse(now) + validityMs).toISOString(); - const result = appendWorkItemCollaboration(store, { + const round = { id: roundId, workItemId, expectedWorkItemRevision, idempotencyKey, - kind: "deliberation", action: "started", actorId: "local-user", visibility: "owner", parentRecordId: evaluationId, + kind: "deliberation" as const, action: "started" as const, actorId: "local-user", visibility: "owner" as const, parentRecordId: evaluationId, payload: { decisionPoint: decision.question, options: evaluation.optionRefs, subject: decision.subject, decisionId: evaluation.decisionId, decisionRevision: evaluation.decisionRevision, deadlineAt, ...(candidate ? { candidateDigest: candidate.digest } : {}) }, sourceRefs: [{ type: "deliberation_evaluation", id: evaluationId, revision: evaluation.decisionRevision }], assertCurrent, - }, now, cwd); + }; + if (execution === "read_only_workflow") { + const { step } = admission.subject; + if (decision.subject.kind !== "workflow_stage" || !step) { + throw new HttpError(409, "resume_blocked", "A linked deliberation Workflow requires a stage in the accepted Plan."); + } + const result = store.admitWorkItemDeliberationWorkflow({ + workItemId, expectedWorkItemRevision, roundId, assertCurrent, + compile: () => { + const compiled = materializeDeliberationWorkflow(store, { + binding: { workItemId, roundId, originWorkflowId: step.workflowId, originStepId: step.id, originStepRevision: step.updatedAt, + planRevision: admission.subject.subjectRevision, controlGeneration: item.control.generation, deadlineAt, candidate }, + origin: step, question: decision.question, participants: admission.participants, + options: admission.optionEntries, evidence: admission.evidence, now, + }); + return { ...compiled, round: { + ...round, payload: { ...round.payload, execution: { workflowId: compiled.workflow.id } }, + sourceRefs: [...round.sourceRefs, { type: "workflow", id: compiled.workflow.id }], + } }; + }, + }, now); + const retained = result ?? readReplay(); + if (!retained) throw stale("The Work Item revision changed before the round opened."); + return retained; + } + const result = appendWorkItemCollaboration(store, round, now, cwd); if (!result) throw stale("The Work Item revision changed before the round opened."); return result; } @@ -221,7 +256,7 @@ function readDecisionBasis(store: RunStore, item: WorkItem, decision: FrozenEval const participants = decision.participantIds.map(id => { const participant = eligible.find(entry => entry.id === id); if (!participant) throw stale("A requested participant is unavailable for this subject."); - return [participant.id, participant.updatedAt]; + return participant; }); const readEntry = (id: string, option: boolean) => { const entry = store.getWorkItemEvidence(id); @@ -229,16 +264,18 @@ function readDecisionBasis(store: RunStore, item: WorkItem, decision: FrozenEval || option && entry.kind !== "proposal") throw stale("A decision input is unavailable for the current subject."); return entry; }; - const options = decision.optionRefs.map(id => evidenceRef(readEntry(id, true), "deliberation_option")); + const optionEntries = decision.optionRefs.map(id => readEntry(id, true)); + const options = optionEntries.map(entry => evidenceRef(entry, "deliberation_option")); const evidence = decision.evidenceRefs.map(id => readEntry(id, false)); const evidenceRefs = evidence.map(entry => evidenceRef(entry, "work_item_evidence")); const candidate = decision.candidateDigest ? { digest: decision.candidateDigest, cwd: decisionCandidateCwd(store, subject) } : undefined; const verificationRefs = candidate ? evidence.flatMap(entry => readDecisionVerificationRefs(store, item, candidate, entry)) : []; return { - subject, options, evidence, candidate, verificationRefs, + subject, options, optionEntries, evidence, candidate, verificationRefs, participants, sourceRefs: [checkpoint, ...options, ...evidenceRefs, ...verificationRefs], - digest: digest([policyRevision, item.control.generation, subject.scopeRevision, participants, options, evidenceRefs, candidate, verificationRefs]), + digest: digest([policyRevision, item.control.generation, subject.scopeRevision, + participants.map(participant => [participant.id, participant.updatedAt]), options, evidenceRefs, candidate, verificationRefs]), }; } diff --git a/packages/daemon/src/server/app-server-mcp.ts b/packages/daemon/src/server/app-server-mcp.ts index 7e69c6247..309ecddc9 100644 --- a/packages/daemon/src/server/app-server-mcp.ts +++ b/packages/daemon/src/server/app-server-mcp.ts @@ -344,11 +344,11 @@ export async function runLingAppServerMcp( annotations: { idempotentHint: true, destructiveHint: false }, }, async params => describe(await client.evaluateWorkItemDeliberation(params))); if (methods.has("workItem/deliberation/open")) server.registerTool("ling_deliberation_open", { - description: "Accept a current Work Item deliberation suggestion and record the round for that decision revision.", + description: "Accept a current Work Item deliberation suggestion. Request read_only_workflow to run the accepted stage's participants.", inputSchema: deliberationOpenInput, annotations: { idempotentHint: true, destructiveHint: false }, }, async params => describe(await client.openWorkItemDeliberation(params))); - const roundSettlement = deliberationOpenInput.omit({ evaluationId: true }).extend({ + const roundSettlement = deliberationOpenInput.omit({ evaluationId: true, execution: true }).extend({ roundId: objectId, expectedRoundRevision: z.number().int().positive(), reason: z.string().trim().min(1).max(2000), }); if (methods.has("workItem/deliberation/decide")) server.registerTool("ling_deliberation_decide", { diff --git a/packages/daemon/src/server/rpc.ts b/packages/daemon/src/server/rpc.ts index 90bdeb24f..4047527e6 100644 --- a/packages/daemon/src/server/rpc.ts +++ b/packages/daemon/src/server/rpc.ts @@ -488,8 +488,9 @@ class RpcConnection { const record = this.workspaceParams(params); const workItemId = readStringField(record, "workItemId"); const prepared = this.prepareControlPlaneSubscription({ ...record, domains: ["work_items"] }, { - filterEvent: (event) => event.entityType === "work_item" && event.entityId === workItemId - || event.entityType === "verify_operation" && event.data.workItemId === workItemId, + filterEvent: (event) => this.deliberationWorkflowEventVisible(event) + && (event.entityType === "work_item" && event.entityId === workItemId + || event.entityType === "verify_operation" && event.data.workItemId === workItemId), replayReadyMethod: "workItem/replay/ready", replayScope: this.replayIdentity(record.cwd).scope("workItem", workItemId), }); @@ -508,7 +509,7 @@ class RpcConnection { ...record, domains: ["runs", "approvals", "work_items", "work_units"], }, { - ...(threadId ? { filterEvent: (event: ControlPlaneEvent) => threadEventMatches(event, threadId, store) } : {}), + filterEvent: (event) => this.deliberationWorkflowEventVisible(event) && (!threadId || threadEventMatches(event, threadId, store)), replayReadyMethod: "thread/replay/ready", replayScope: this.replayIdentity(record.cwd, store).scope("thread", threadId), threadId, @@ -1420,7 +1421,7 @@ class RpcConnection { ...(kind ? { kind } : {}), afterRevision: readOptionalIntegerField(record, "afterRevision"), limit: readOptionalIntegerField(record, "limit"), - }); + }, !this.grant); const stage = this.grant?.stageCoordination; if (stage) return { ...collaboration, records: collaboration.records .filter(entry => stageCoordinationRecordVisible(store, stage, entry)) @@ -1508,7 +1509,10 @@ class RpcConnection { const parsed = deliberationOpenInput.safeParse(record); if (!parsed.success) throw rpcError(-32602, "invalid_params", "Supply an evaluation, Work Item revision and bounded request key."); const { event, ...result } = await openAppServerEvaluatedDeliberation(store, parsed.data, now, cwd); - if (event) this.context.controlPlaneEvents.publish(trimOversizedEvent(event)); + if (event) { + this.context.controlPlaneEvents.publish(trimOversizedEvent(event)); + if (parsed.data.execution) this.context.taskSupervisor.poke(cwd); + } return { cwd, ...result }; } @@ -1596,7 +1600,7 @@ class RpcConnection { const { event, ...result } = await settleAppServerDeliberation(store, input, decision, new Date().toISOString(), cwd); if (event) { this.context.controlPlaneEvents.publish(trimOversizedEvent(event)); - if (decision?.disposition === "selected") this.context.taskSupervisor.poke(cwd); + this.context.taskSupervisor.poke(cwd); } return { cwd, ...result }; } catch (error) { @@ -2915,7 +2919,7 @@ class RpcConnection { // Leave room in the RPC response for the page envelope and cursor. let remaining = 120 * 1024; for (const event of rows) { - if (threadEventMatches(event, threadId, store)) { + if (this.deliberationWorkflowEventVisible(event) && threadEventMatches(event, threadId, store)) { const projected = trimOversizedEvent(event); const bytes = Buffer.byteLength(JSON.stringify(projected)) + 1; if (bytes > remaining) break; @@ -3150,6 +3154,10 @@ class RpcConnection { }); } + private deliberationWorkflowEventVisible(event: ControlPlaneEvent): boolean { + return !this.grant || event.action !== "work_item.deliberation.workflow_progress"; + } + private enqueueControlPlaneEvent(subscription: RpcSubscription, sourceEvent: ControlPlaneEvent): void { const event = this.grant?.subject.kind === "workItem" ? projectWorkItemScopedEvent(sourceEvent) : sourceEvent; if (this.closed || subscription.closed || !subscriptionMatchesEvent(subscription, event)) { diff --git a/packages/daemon/test/app-server-release-acceptance.test.ts b/packages/daemon/test/app-server-release-acceptance.test.ts index 8d271bfda..448212c12 100644 --- a/packages/daemon/test/app-server-release-acceptance.test.ts +++ b/packages/daemon/test/app-server-release-acceptance.test.ts @@ -3741,6 +3741,146 @@ test("an in-flight stage verifies disputed facts and fences decisions to the cur await waitFor(() => store.getChannelWorkflowStep(respondent.id)?.status === "succeeded" ? true : undefined); }); +test("an admitted read-only deliberation runs once beside the accepted Workflow and retains its evidence after restart", + { timeout: 45_000 }, async t => { + let releaseFirstProposal = () => {}; + const firstProposal = new Promise(resolve => { releaseFirstProposal = resolve; }); + let releaseCancelledProposal = () => {}; + const cancelledProposal = new Promise(resolve => { releaseCancelledProposal = resolve; }); + const provider = await startLoopbackPiProvider(async (_body: unknown, invocation: number) => { + if (invocation === 1) await firstProposal; + if (invocation === 5) await cancelledProposal; + return { text: `Recommendation ${invocation}: preserve existing callers through the adapter.` }; + }); + t.after(() => { releaseFirstProposal(); releaseCancelledProposal(); return provider.close(); }); + const { fixture, store, client, item, workItem, workflowId, waiting, channel, thread } = await stageQuestionWorkflow(t, provider.baseUrl); + const participantIds = ["teammate_builtin_engineer", "teammate_builtin_qa"]; + const now = new Date().toISOString(); + for (const id of participantIds) store.replaceTeammateChannelMemberships(id, [{ channelId: channel.id }], now); + const planRevision = workItem.planRevision!; + await writeFile(join(fixture.cwd, ".gitignore"), ".ling-stack/\n"); + await writeFile(join(fixture.cwd, "contract.txt"), "The legacy field remains readable.\n"); + const git = (...args: string[]) => execFileSync("git", args, { cwd: fixture.cwd, stdio: "ignore" }); + git("init", "-q"); + git("add", "contract.txt", ".gitignore"); + git("-c", "user.name=Fixture", "-c", "user.email=fixture@example.test", "commit", "-qm", "Freeze the decision candidate"); + const sourceTurn = store.createLingTurn({ threadId: thread.id, kind: "initial_request", title: "Implement the contract", + userInstruction: "Choose a compatibility strategy." }, now); + const parentBefore = store.updateChannelWorkflow(workflowId, { + metadata: { ...store.getChannelWorkflow(workflowId)?.metadata, sourceTurnId: sourceTurn.id }, + }, now); + const stepsBefore = store.listChannelWorkflowSteps({ workflowId, complete: true }); + const currentRevision = () => fixture.getStore().getWorkItem(item.id)!.revision; + const home = store.createLingThread({ kind: "automation", title: "Compatibility checkpoint", objective: "Review the contract" }, now); + const automation = store.createAutomationDefinition({ + threadId: home.id, title: "Compatibility checkpoint", kind: "custom_prompt", + trigger: { type: "schedule", timezone: "UTC", missedRunPolicy: "skip", schedule: { cadence: "daily", timeOfDay: "00:00" } }, + target: { scope: "workspace", workspaceId: item.workspaceId }, executionPolicy: {}, + promptTemplate: { templateVersion: 1, promptMarkdown: "Review the current compatibility strategy.", contextSelectors: [] }, + outputPolicy: { artifactFormat: "markdown", destinations: [{ type: "automation_thread" }] }, + }, now); + await client.call("workItem/coordination/schedule/set", { + automationId: automation.id, workItemId: item.id, expectedRevision: 0, enabled: true, kind: "checkpoint", durationMs: 60_000, + }); + const { round: checkpoint } = store.admitScheduledCoordination({ + automationId: automation.id, expectedDefinitionRevision: automation.updatedAt, expectedPolicyRevision: 1, + triggerType: "manual", idempotencyKey: "contract-checkpoint", + }, new Date().toISOString()); + assert.ok(checkpoint); + await client.call("workItem/coordination/close", { workItemId: item.id, parentRecordId: checkpoint.recordId, actorId: "local-user" }); + assert.ok(store.readScheduledCoordinationRound(checkpoint.recordId)?.closedRecordId); + const { optionRefs, evidenceRef } = await recordDeliberationEvidence(client.call, item.id, planRevision); + const { candidate } = await client.call("changes/capture"); + const { entry } = await client.call<{ entry: { id: string } }>("workItem/evidence/append", { + workItemId: item.id, actorId: "local-user", subjectRevision: planRevision, kind: "observation", + idempotencyKey: "inaccessible-deliberation-input", content: "Private material", visibility: "owner", + }); + const evaluate = (evidenceRefs: string[], idempotencyKey: string, connection = client, decisionKey = "compatibility-strategy") => + connection.call("workItem/deliberation/evaluate", { + workItemId: item.id, expectedWorkItemRevision: currentRevision(), idempotencyKey, + decisionKey, subject: { kind: "workflow_stage", workflowStepId: waiting.id, planRevision }, + checkpoint: "scheduled_checkpoint", checkpointRef: checkpoint.recordId, decisionKind: "implementation_tradeoff", + materiality: "medium", question: "Which compatible strategy should the stage use?", participantIds, + optionRefs, evidenceRefs, candidateDigest: candidate.candidateDigest, + } satisfies LingAppServerDeliberationEvaluateParams); + const open = (evaluationId: string, idempotencyKey: string, connection = client) => + connection.call("workItem/deliberation/open", { + workItemId: item.id, evaluationId, idempotencyKey, expectedWorkItemRevision: currentRevision(), execution: "read_only_workflow", + }); + const { evaluation: privateInputs } = await evaluate([evidenceRef, entry.id], "private-participant-inputs"); + await assert.rejects(open(privateInputs.evaluationId, "try-private-inputs"), { code: "resume_blocked" }); + assert.equal(store.listChannelWorkflows({ channelId: channel.id }).length, 1); + const { evaluation } = await evaluate([evidenceRef], "shared-participant-inputs"); + assert.equal(evaluation.outcome, "suggest"); + const peer = await fixture.connect(); + const { cursor } = await peer.call("workItem/subscribe", { workItemId: item.id }); + const [opened, replayed] = await Promise.all([ + open(evaluation.evaluationId, "accept-deliberation"), open(evaluation.evaluationId, "accept-deliberation-peer", peer), + ]); + assert.equal(opened.record.id, replayed.record.id); + assert.deepEqual([opened.status, replayed.status].sort(), ["appended", "replayed"]); + const linkedId = (opened.record.payload as { execution: { workflowId: string } }).execution.workflowId; + const decide = (connection = client) => connection.call("workItem/deliberation/decide", { + workItemId: item.id, expectedWorkItemRevision: currentRevision(), idempotencyKey: "choose-compatibility-strategy", + roundId: opened.record.id, expectedRoundRevision: opened.record.collaborationRevision, + decision: { disposition: "selected", option: optionRefs[0] }, reason: "The participants identified a compatible adapter.", + }); + assert.equal(store.getWorkItemWorkflowAdmissionBlocker(linkedId), undefined); + assert.ok(store.listActiveWorkItemWorkflowIds(8).includes(linkedId)); + await waitFor(() => { + const steps = store.listChannelWorkflowSteps({ workflowId: linkedId, complete: true }); + const failure = steps.find(step => ["blocked", "failed", "cancelled"].includes(step.status)); + assert.equal(failure, undefined, failure?.blocker ?? failure?.resultSummary ?? "Deliberation step did not start."); + return provider.requests.length === 1 ? true : undefined; + }); + await assert.rejects(decide(), { code: "resume_blocked" }); + releaseFirstProposal(); + await waitFor(() => store.getChannelWorkflow(linkedId)?.status === "succeeded" ? true : undefined); + assert.equal(provider.requests.length, 4); + for (const body of provider.requests) { + const tools = (body as { tools?: readonly { function: { name: string } }[] }).tools ?? []; + assert.ok(tools.every(tool => ["read", "grep", "find", "ls"].includes(tool.function.name))); + assert.doesNotMatch(JSON.stringify(body), /Private material/u); + } + assert.match(JSON.stringify(provider.requests[2]), /Recommendation 1/u); + const progress = () => peer.call("workItem/deliberation/read", { workItemId: item.id }); + const settledProgress = (await progress()).deliberationWorkflows?.[0]; + assert.deepEqual(settledProgress, { roundId: opened.record.id, workflowId: linkedId, status: "succeeded", + deadlineAt: (opened.record.payload as { deadlineAt: string }).deadlineAt, + proposalsCompleted: 2, challengesCompleted: 2, participants: 2 }); + await waitFor(() => peer.notices.find(notice => notice.method === "workItem/deliberation/updated" + && notice.params?.event?.action === "work_item.deliberation.workflow_progress" && notice.params.event.data?.status === "succeeded")); + const decided = await decide(); + assert.equal(decided.record.sourceRefs.filter(ref => ref.type === "workflow_step_output").length, 4); + assert.deepEqual(store.getChannelWorkflow(workflowId), parentBefore); + assert.deepEqual(store.listChannelWorkflowSteps({ workflowId, complete: true }), stepsBefore); + assert.deepEqual(store.getLingTurn(sourceTurn.id), sourceTurn); + assert.equal(store.getWorkItem(item.id)?.workflowId, workflowId); + await fixture.restart(); + const restored = await fixture.connect(); + assert.equal((await open(evaluation.evaluationId, "accept-deliberation", restored)).record.id, opened.record.id); + assert.equal((await decide(restored)).record.id, decided.record.id); + assert.equal(fixture.getStore().listChannelWorkflows({ channelId: channel.id }).length, 2); + assert.equal(provider.requests.length, 4); + await restored.call("workItem/subscribe", { workItemId: item.id, cursor }); + await waitFor(() => restored.notices.find(notice => notice.method === "workItem/deliberation/updated" + && notice.params?.event?.action === "work_item.deliberation.workflow_progress" && notice.params.event.data?.status === "succeeded")); + + const { evaluation: cancellation } = await evaluate([evidenceRef], "cancellation-evaluation", restored, "cancellation"); + const activeRound = await open(cancellation.evaluationId, "open-cancellable-round", restored); + const activeWorkflow = (activeRound.record.payload as { execution: { workflowId: string } }).execution.workflowId; + await waitFor(() => provider.requests.length === 5 ? true : undefined); + const cancel = { workItemId: item.id, roundId: activeRound.record.id, expectedRoundRevision: activeRound.record.collaborationRevision, + expectedWorkItemRevision: currentRevision(), idempotencyKey: "cancel-active-round", reason: "Close the open deliberation." }; + const { record: cancelled } = await restored.call("workItem/deliberation/cancel", cancel); + assert.equal(cancelled.action, "cancelled"); + const retainedStore = fixture.getStore(); + await waitFor(() => retainedStore.getChannelWorkflow(activeWorkflow)?.status === "cancelled" ? true : undefined); + assert.equal(retainedStore.listChannelWorkflowSteps({ workflowId: activeWorkflow, complete: true }).filter(step => step.runId).length, 1); + assert.equal((await restored.call("workItem/deliberation/cancel", cancel)).record.id, cancelled.id); + assert.equal(provider.requests.length, 5); + }); + test("a successor Workflow waits for an independent live Run owned by its predecessor", { timeout: 30_000 }, async t => { let finishOriginal!: () => void; const originalGate = new Promise(resolve => { finishOriginal = resolve; }); From 853161b12e03d054338e601bed115f77cbbb0ab7 Mon Sep 17 00:00:00 2001 From: tianxiaochannel-oss88 Date: Wed, 25 Nov 2026 21:51:24 +0800 Subject: [PATCH 110/147] Apply current deliberation decisions to accepted stage dependencies --- ...g-agent-operating-model-detailed-design.md | 1 + .../ling-app-server-implementation-plan.md | 3 +- packages/api-client/src/app-server.ts | 3 +- packages/contracts/src/app-server-schema.ts | 14 ++- packages/contracts/src/app-server.ts | 14 +++ packages/contracts/src/threads.ts | 1 + packages/core/src/app-server-state-types.ts | 2 +- packages/core/src/proposed-plan-mutation.ts | 5 +- packages/core/src/run-types.ts | 4 + packages/core/src/storage/sqlite-run-store.ts | 19 ++++ .../src/storage/sqlite/work-item-store.ts | 14 ++- .../src/work-item-deliberation-workflow.ts | 26 +++++- .../daemon/src/features/channels/workflows.ts | 9 ++ .../work-items/deliberation-workflow.ts | 2 +- .../features/work-items/workflow-stages.ts | 4 + .../src/server/app-server-collaboration.ts | 59 +++++++++--- .../src/server/app-server-deliberation.ts | 39 +++++++- packages/daemon/src/server/rpc.ts | 5 + .../app-server-release-acceptance.test.ts | 93 +++++++++++++++---- 19 files changed, 271 insertions(+), 46 deletions(-) diff --git a/docs/design/ling-agent-operating-model-detailed-design.md b/docs/design/ling-agent-operating-model-detailed-design.md index 036b8809e..dfc59d1a7 100644 --- a/docs/design/ling-agent-operating-model-detailed-design.md +++ b/docs/design/ling-agent-operating-model-detailed-design.md @@ -909,6 +909,7 @@ Mutations carry `expectedWorkItemRevision` and `idempotencyKey`, plus the applic | `workItem/evidence/append` | Subject digest and bounded contribution. Corrections include target ID and expected entry revision. Requires a contribution grant. | | `workItem/deliberation/start` | Authorized template revision, subject digest and question, proposal or stage reference. The coordinator returns the round and the admitted shaping or Workflow receipt. | | `workItem/deliberation/open` | Accept a checkpoint evaluation for its decision revision. With `execution: "read_only_workflow"`, atomically admit a linked participant Workflow for the accepted stage. The round includes its Workflow ID. | +| `workItem/deliberation/evaluate` | Provide the checkpoint and its applicable evidence. A caller binding a candidate to a stage with `requiredDecision.receiptSource: "checkpoint"` supplies `decisionStepId` and maps each proposal's `optionId` to an eligible Plan option. | | `workItem/deliberation/read` | Decision or round ID and optional page cursor. Returns the visible trigger evaluation, phase, budget state, sealed outcome and decision as available. | | `workItem/deliberation/cancel` | Round ID and expected round revision. The shaping or Workflow owner returns its stop request receipt. | | `workItem/deliberation/decide` | Round ID, expected sealed outcome revision and the decision with its reason when required. The decision owner checks the current subject and commits the accepted receipt. | diff --git a/docs/design/ling-app-server-implementation-plan.md b/docs/design/ling-app-server-implementation-plan.md index 1c153fa99..475c41e43 100644 --- a/docs/design/ling-app-server-implementation-plan.md +++ b/docs/design/ling-app-server-implementation-plan.md @@ -70,6 +70,7 @@ | O1/O8/O9 接单、控制和协作 | 工作项创建、控制、接单、证据和协作写入各自与对应事件同事务提交。真实 Daemon 回归从同一个受控 GitHub Issue 的两个入口归并 Work Item,在接单前订阅,接通 P01、独立 QA 与等待裁决的 P02。覆盖暂停、重启、裁决恢复与原步骤派发一次。按下方矩阵继续验收阶段交接、自动审议、停滞和联合界面。 | | O7/O9 决策检查点 | `workItem/deliberation/evaluate` 在当前草案或 Workflow 阶段核对检查点、选项、证据和参与人。缺意图、事实或交接材料会给出澄清、Verify 或交接修复;有实质取舍时保存建议,操作方可通过 App Server、SDK 或 MCP 接受、裁决或取消。Verify/Review 的事实争议需引用同工作项、同 Plan 和同候选的实际 Verify 执行。开轮和裁决复核当前候选。联调覆盖 Plan Mode 建议、在途争议转 Verify、并发只开一轮、重启重放、限域读取,以及草案、证据或候选变化后的旧裁决失效。该入口产生供草案或当前阶段参考的决策记录。声明式 Workflow 仍按已接受的条件执行投票和派发。 | | O8 阶段临时审议 | `workItem/deliberation/open` 的 `execution: "read_only_workflow"` 将轮次和独立 Workflow 一起受理。实际 Daemon 回归用两个客户端并发开启,由两名参与者各自提案和质疑。裁决引用已封存的输出。进展可订阅和重放,取消通过 Workflow 停止入口收尾。联调比较原 Workflow 和步骤记录,核对原计划归属,并拒绝使用仅所有者可见的材料启动参与者。 | +| O8/O9 裁决回接 | 接受 Plan 时可为步骤登记 `requiredDecision.receiptSource: "checkpoint"` 和允许的选项。评估引用目标步骤、候选及映射到该选项的提案。裁决与适用性回执同时提交,原 Workflow 在派发前重查同一候选。真实 Daemon 回归覆盖回执写入中断后的事务回滚、并发复用、重启、候选漂移拒绝和原步骤只启动一次。 | | O7 定时协调轮次 | 已配置的 Automation 在同一事务中写入终态回执、轮次和事件。实际调度器从重启前的时段恢复。故障注入验证提交失败不会留下回执或轮次。回执重放复用原轮次。截止后生成简报和关闭事件,暂停的工作项产生跳过回执。已暂停、禁用或归档的 Automation 在「立即运行」和时段受理入口均返回 `automation_not_runnable`,保留既有记录。该用例启动的 Runner 数量为零。 | | O7/O9 阶段交接修复 | 源阶段修订更新后,已接受计划中的交接依赖仍保留原退回。真实 Daemon 回归覆盖省略退回回执、沿用旧候选或旧检查的拒绝,以及用当前结果包和可信检查并发接受。HTTP 与 App Server 返回同一接受回执,重启后复用退回与接受记录,QA 只启动一次。 | | O7/O9 阶段停滞恢复 | 已接受的 Plan 可以为阶段指定可信 Verify 或绑定 Provider preset 的 Review 作为恢复证据。实际 Daemon 验收覆盖换人和重启后的同一阻塞、早于失败的 Review 或仍有打开项的 Review 被拒绝、两个连接复用同一恢复收据。重启后派发重新检查 Review 修订及当前候选。重开的发现项、候选漂移会阻止派发,补交当前候选的零发现项 Review 后可恢复。 | @@ -94,7 +95,7 @@ Windows 源码验收使用独立的 GitHub Actions 作业,启动真实 CLI std | A1、B1、C1、C2 | 全方法的 Schema 校验和更多宿主兼容组合。workspace、Thread、Work Item 的 grant 和 WSS 已接入。专用 TLS 监听器实测分离控制和答复权限,支持用户答复原回执与撤权。审批和答复仍需在其他宿主和实际远程部署验收。目标游标已绑定存储代次、授权代次和目标,本机兼容用例覆盖上一版源码与候选组合。 | | D1、D2、E1、E2 | 开工与 Pi 运行中的项目规则加载、显式 Claude 规则、两个开发 Skill、工作区 Verify、独立 verifier basis、托管工作树管理、候选改动分页、Turn 改动恢复、选中 hunk 转移和工作台浏览器验证报告已接入。各发行平台验证仍待完成。 | | F1、F2 | 普通会话 Handoff 的候选封存、Goal 预算承接与接手已接入。CLI `app-server codex-host --thread --state --view` 在回环地址提供双端会话视图。本机 Codex 0.171.0-alpha.13、实际 Ling Daemon 与受控 Provider 联调验证两端状态、Ling 在途排队、活跃 Codex Turn 指导、浏览器重连补齐、回执重放和审批提醒。故障回归覆盖原状态库升级、未写出的请求在重连后补投一次,以及已发出但缺少有效回执时保留待确认结果。Pi Host 预算路径的逐请求预留已使用受控 Provider 验证,仍需真实 Provider、隔离工作树和其他 Runner 的对应验收。 | -| O1、O3–O9 | GitHub 签名 webhook、轮询和显式接单归并至同一工作项。自动接单策略处理免打扰、并发、启动额度和派发前状态重查。现有 Task、AutomationRun 和同频道用户输入可显式关联工作项。已接受的计划能自动开启声明的阶段审议,并可等待当前 Workflow 结果包的交接回执。受影响阶段可单独暂停,后继阶段可显式引用已收敛或仍在途的独立成果,待执行阶段可接收定向消息和有原 Run 证据的 Agent 答复。工作项暂停期间拒绝新增定向消息。阶段客户端和支持协作工具的 Pi 阶段按 Run/Attempt 收发,Pi 在下一次模型输入接收消息和问答。Workflow 执行使用工作项重试上限,并可依据跨 Run 的结构化故障记录暂停单项阶段。可信 Verify 和已接受 Plan 指定的 Review 均可提供停滞恢复证据。决策检查点支持计划前和在途阶段的建议、接受与手工裁决。Device Work Item Bridge 的持久映射、receipt 账本和 App Server 入口已实现。已接受阶段可显式开启独立只读审议。计划前多角色塑形、临时审议的条件投票、策略自动准入、裁决回接依赖和 O9 联合验收仍待完成。 | +| O1、O3–O9 | GitHub 签名 webhook、轮询和显式接单归并至同一工作项。自动接单策略处理免打扰、并发、启动额度和派发前状态重查。现有 Task、AutomationRun 和同频道用户输入可显式关联工作项。已接受的计划能自动开启声明的阶段审议,并可等待当前 Workflow 结果包的交接回执。受影响阶段可单独暂停,后继阶段可显式引用已收敛或仍在途的独立成果,待执行阶段可接收定向消息和有原 Run 证据的 Agent 答复。工作项暂停期间拒绝新增定向消息。阶段客户端和支持协作工具的 Pi 阶段按 Run/Attempt 收发,Pi 在下一次模型输入接收消息和问答。Workflow 执行使用工作项重试上限,并可依据跨 Run 的结构化故障记录暂停单项阶段。可信 Verify 和已接受 Plan 指定的 Review 均可提供停滞恢复证据。决策检查点支持计划前和在途阶段的建议、接受与手工裁决。Device Work Item Bridge 的持久映射、receipt 账本和 App Server 入口已实现。已接受阶段可显式开启独立只读审议,并将裁决应用到声明的候选依赖。计划前多角色塑形、临时审议的条件投票、策略自动准入和 O9 联合验收仍待完成。 | | G | 独立恢复日志已验证 SQLite 快照恢复、撤权、旧游标失效和 GitHub 对账后派发。上一版源码通过同一套本地兼容验收。签名安装产物、实际远程 WSS、带独立检查 App 的 Ling 主动入队及三个真实 Provider 自研试点仍需对应环境的证据。macOS 打包预检需要当前打包输入的 Office 审查、对应 Electron/OS 的受限运行时审查和 gstack 平台资源。T01 离线预检可进入评审,真实试点仍需按 Framework Assurance 准入。 | ## 目标与开工顺序 diff --git a/packages/api-client/src/app-server.ts b/packages/api-client/src/app-server.ts index 09430c92d..a08fff475 100644 --- a/packages/api-client/src/app-server.ts +++ b/packages/api-client/src/app-server.ts @@ -107,6 +107,7 @@ import type { LingAppServerWorkItemFeedbackParams, LingAppServerWorkItemFeedbackResult, LingAppServerDeliberationDecideParams, + LingAppServerDeliberationDecideResult, LingAppServerDeliberationSettlementParams, LingAppServerStageDeliberationStartParams, LingAppServerStageRecoverParams, @@ -681,7 +682,7 @@ export class LingAppServerClient { return await this.request("workItem/stage/recover", params); } - async decideWorkItemDeliberation(params: LingAppServerDeliberationDecideParams): Promise { + async decideWorkItemDeliberation(params: LingAppServerDeliberationDecideParams): Promise { await this.connect(); return await this.request("workItem/deliberation/decide", params); } diff --git a/packages/contracts/src/app-server-schema.ts b/packages/contracts/src/app-server-schema.ts index 31f160f24..abc5acbae 100644 --- a/packages/contracts/src/app-server-schema.ts +++ b/packages/contracts/src/app-server-schema.ts @@ -90,6 +90,7 @@ const planWorkflowStep = objectWith({ title: stringSchema, stageId: stringSchema handoffFromStageIds: stringArraySchema, recoveryVerification, recoveryReview, ownerId: stringSchema, ownerLabel: stringSchema, requiredTools: stringArraySchema, requiredDecision: objectWith({ question: stringSchema, options: stringArraySchema, trigger: { enum: ["when_ready"] }, + receiptSource: { enum: ["checkpoint"] }, ballot: objectWith({ voterStageIds: stringArraySchema, quorum: integerSchema }, ["voterStageIds", "quorum"]) }, ["question", "options"]) }, ["title"]); const journalFields = { id: stringSchema, recordedAt: stringSchema, pending: booleanSchema }; const journalRequired = ["id", "kind", "recordedAt", "pending"]; @@ -432,7 +433,7 @@ function schemaFor(method: LingAppServerMethod): LingAppServerMethodSchema { result: objectWith({ cwd: stringSchema, receipt: nativeIntakeReceiptSchema }, ["cwd", "receipt"]) }; case "workItem/evidence/append": return { params: objectWith({ ...workItemTarget, actorId: stringSchema, kind: stringSchema, subjectRevision: stringSchema, - content: stringSchema, idempotencyKey: stringSchema, sourceRefs: arraySchema }, + content: stringSchema, idempotencyKey: stringSchema, sourceRefs: arraySchema, optionId: stringSchema }, ["workItemId", "actorId", "kind", "subjectRevision", "content", "idempotencyKey"]), result }; case "workItem/collaboration/append": return { params: objectWith({ ...collaborationAppend, kind: stringSchema, action: stringSchema }, ["workItemId", "kind", "action"]), result }; @@ -444,11 +445,12 @@ function schemaFor(method: LingAppServerMethod): LingAppServerMethodSchema { decisionKey: stringSchema, subject: deliberationSubject, checkpoint: deliberationCheckpoint, checkpointRef: stringSchema, decisionKind: { enum: LING_APP_SERVER_DELIBERATION_DECISION_KINDS }, materiality: { enum: LING_APP_SERVER_DECISION_MATERIALITIES }, question: stringSchema, participantIds: stringArraySchema, optionRefs: stringArraySchema, evidenceRefs: stringArraySchema, - candidateDigest: stringSchema, unresolved: { enum: ["intent", "fact", "handoff"] }, + candidateDigest: stringSchema, decisionStepId: stringSchema, unresolved: { enum: ["intent", "fact", "handoff"] }, }, ["workItemId", "expectedWorkItemRevision", "idempotencyKey", "decisionKey", "subject", "checkpoint", "checkpointRef", "decisionKind", "materiality", "question", "participantIds", "optionRefs", "evidenceRefs"]), result: objectWith({ cwd: stringSchema, workItemRevision: integerSchema, replayed: booleanSchema, - evaluation: objectWith({ ...deliberationEvaluationFields, candidateDigest: stringSchema }, Object.keys(deliberationEvaluationFields)), + evaluation: objectWith({ ...deliberationEvaluationFields, candidateDigest: stringSchema, decisionStepId: stringSchema }, + Object.keys(deliberationEvaluationFields)), }, ["cwd", "workItemRevision", "replayed", "evaluation"]), }; case "workItem/deliberation/open": @@ -461,7 +463,11 @@ function schemaFor(method: LingAppServerMethod): LingAppServerMethodSchema { return { params: objectWith({ ...deliberationSettlement, decision: { oneOf: [ objectWith({ disposition: { enum: ["selected"] }, option: stringSchema }, ["disposition", "option"]), objectWith({ disposition: { enum: ["deferred", "replan_required"] } }, ["disposition"]), - ] } }, [...deliberationSettlementFields, "decision"]), result }; + ] } }, [...deliberationSettlementFields, "decision"]), result: objectWith({ + status: { enum: ["appended", "replayed"] }, record: objectSchema, workItemRevision: integerSchema, + appliedTo: objectWith({ workflowId: stringSchema, workflowStepId: stringSchema, planRevision: stringSchema, + option: stringSchema, candidateDigest: stringSchema }, ["workflowId", "workflowStepId", "planRevision", "option", "candidateDigest"]), + }, ["status", "record", "workItemRevision"]) }; case "workItem/coordination/start": case "workItem/coordination/close": return { params: objectWith(collaborationAppend, ["workItemId"]), result }; diff --git a/packages/contracts/src/app-server.ts b/packages/contracts/src/app-server.ts index 019e6ccb9..f053721f2 100644 --- a/packages/contracts/src/app-server.ts +++ b/packages/contracts/src/app-server.ts @@ -1320,6 +1320,7 @@ export interface LingAppServerDeliberationEvaluateParams { readonly participantIds: readonly string[]; readonly optionRefs: readonly string[]; readonly evidenceRefs: readonly string[]; + readonly decisionStepId?: string; readonly candidateDigest?: string; readonly unresolved?: "intent" | "fact" | "handoff"; } @@ -1337,6 +1338,7 @@ export interface LingAppServerDeliberationEvaluation { readonly optionRefs: readonly string[]; readonly evidenceRefs: readonly string[]; readonly participantIds: readonly string[]; + readonly decisionStepId?: string; readonly candidateDigest?: string; readonly expiresAt: string; readonly evaluatedAt: string; @@ -1381,6 +1383,18 @@ export interface LingAppServerDeliberationDecideParams extends LingAppServerDeli | { readonly disposition: "deferred" | "replan_required" }; } +export interface LingAppServerDeliberationAppliedDecision { + readonly workflowId: string; + readonly workflowStepId: string; + readonly planRevision: string; + readonly option: string; + readonly candidateDigest: string; +} + +export interface LingAppServerDeliberationDecideResult extends LingAppServerWorkItemCollaborationAppendResult { + readonly appliedTo?: LingAppServerDeliberationAppliedDecision; +} + export const LING_APP_SERVER_SERVER_REQUEST_METHODS = ["approval/requestDecision", "input/requestAnswer"] as const; export type LingAppServerServerRequestMethod = (typeof LING_APP_SERVER_SERVER_REQUEST_METHODS)[number]; diff --git a/packages/contracts/src/threads.ts b/packages/contracts/src/threads.ts index 9455595d5..5f82627d7 100644 --- a/packages/contracts/src/threads.ts +++ b/packages/contracts/src/threads.ts @@ -307,6 +307,7 @@ export interface ProposedPlanStageDecision { readonly options: readonly string[]; readonly ballot?: { readonly voterStageIds: readonly string[]; readonly quorum: number }; readonly trigger?: "when_ready"; + readonly receiptSource?: "checkpoint"; } export interface LingThread { diff --git a/packages/core/src/app-server-state-types.ts b/packages/core/src/app-server-state-types.ts index a681658c1..5f684dee1 100644 --- a/packages/core/src/app-server-state-types.ts +++ b/packages/core/src/app-server-state-types.ts @@ -7,7 +7,7 @@ export type AppServerStateKind = "verify_plan" | "verify_operation" | "review_su | "automation_coordination" | "coordination_round" | "coordination_automation_run" | "project_instruction_update" | "change_recovery_request" | "change_transfer_request" | "github_intake_pending" | "github_intake_receipt" | "github_intake_dispatch" | "work_item_workflow" | "work_item_plan_change" | "native_intake_receipt" | "work_item_stage_message_delivery" - | "work_item_deliberation_workflow" + | "work_item_deliberation_workflow" | "work_item_deliberation_application" | "work_item_stage_tool_receipt" | "work_item_stage_ballot" | "work_item_device_binding" | "work_item_device_receipt"; export interface AppServerStateRecord { diff --git a/packages/core/src/proposed-plan-mutation.ts b/packages/core/src/proposed-plan-mutation.ts index cad805c68..1276d3436 100644 --- a/packages/core/src/proposed-plan-mutation.ts +++ b/packages/core/src/proposed-plan-mutation.ts @@ -52,8 +52,11 @@ export function parseProposedPlanStageDecision(value: unknown): ProposedPlanStag if (decision.trigger !== undefined && decision.trigger !== "when_ready") { throw new ProposedPlanMutationError("bad_workflow_stage_decision", "Choose when_ready for automatic opening of the decision round.", 400); } + if (decision.receiptSource !== undefined && (decision.receiptSource !== "checkpoint" || ballot || decision.trigger)) { + throw new ProposedPlanMutationError("bad_workflow_stage_decision", "A checkpoint decision uses the linked deliberation receipt.", 400); + } return { question: decision.question, options: decision.options, ...(ballot ? { ballot } : {}), - ...(decision.trigger ? { trigger: decision.trigger } : {}) }; + ...(decision.trigger ? { trigger: decision.trigger } : {}), ...(decision.receiptSource ? { receiptSource: decision.receiptSource } : {}) }; } throw new ProposedPlanMutationError("bad_workflow_stage_decision", "A required decision needs a question and 2–12 distinct options.", 400); } diff --git a/packages/core/src/run-types.ts b/packages/core/src/run-types.ts index deeef4e1b..94beca37d 100644 --- a/packages/core/src/run-types.ts +++ b/packages/core/src/run-types.ts @@ -2718,6 +2718,9 @@ export interface RunStore extends AutomationEventStore, CodeAssessmentStore, Cod }; admitWorkItemDeliberationWorkflow(input: import("./work-item-deliberation-workflow.js").WorkItemDeliberationWorkflowAdmission, now: string): import("./work-item-collaboration.js").AppendWorkItemCollaborationResult | undefined; + applyWorkItemDeliberationDecision(input: import("./work-item-evidence-types.js").AppendWorkItemEvidenceInput, + application: import("./work-item-deliberation-workflow.js").WorkItemDeliberationApplication, now: string, + event: import("./work-item-evidence-types.js").WorkItemEvidenceEventOptions): import("./work-item-evidence-types.js").AppendWorkItemEvidenceResult | undefined; getWorkItemWorkflowAdmissionBlocker(workflowId: string, step?: ChannelWorkflowStep, executionRunId?: string): string | undefined; getWorkItemStageRetryBudget(step: ChannelWorkflowStep): import("@ling-stack/contracts").LingAppServerWorkItemStageRetryBudget | undefined; getWorkItemWorkflowUsage(item: WorkItem, now: string): import("./work-item-types.js").WorkItemWorkflowUsage | undefined; @@ -3348,6 +3351,7 @@ export type WorkItemStoreFacet = RunStoreFacet< | "claimWorkItem" | "commitWorkItemGitHubDelivery" | "admitWorkItemDeliberationWorkflow" + | "applyWorkItemDeliberationDecision" | "heartbeatWorkItem" | "releaseWorkItem" | "completeWorkItem" diff --git a/packages/core/src/storage/sqlite-run-store.ts b/packages/core/src/storage/sqlite-run-store.ts index 701d4a0ca..885212f5b 100644 --- a/packages/core/src/storage/sqlite-run-store.ts +++ b/packages/core/src/storage/sqlite-run-store.ts @@ -6263,6 +6263,25 @@ export class SqliteRunStore implements RunStore { } } + applyWorkItemDeliberationDecision(...[input, application, now, event]: Parameters) { + this.database.exec("BEGIN IMMEDIATE"); + try { + const result = this.workItemEvidence.appendWithinTransaction(input, now, { ...event, store: this.controlPlane }); + if (result?.status === "appended") { + const previous = this.appServerState.get("work_item_deliberation_application", application.stepId); + const updated = this.appServerState.putWithinTransaction({ kind: "work_item_deliberation_application", + recordId: application.stepId, expectedRevision: previous?.revision ?? 0, payload: application, + }, now); + if (!updated) throw new Error("work_item_deliberation_application_stale"); + } + this.database.exec("COMMIT"); + return result; + } catch (error) { + rollbackOwnedSqliteTransaction(this.database); + throw error; + } + } + getWorkItemWorkflowAdmissionBlocker(workflowId: string, step?: ChannelWorkflowStep, executionRunId?: string): string | undefined { if (!this.hasMigration(APP_SERVER_STATE_MIGRATION_VERSION) && !this.hasTable("app_server_state")) return undefined; return this.workItems.getWorkflowAdmissionBlocker(workflowId, this.appServerState, step, executionRunId); diff --git a/packages/core/src/storage/sqlite/work-item-store.ts b/packages/core/src/storage/sqlite/work-item-store.ts index c776286d4..37270217c 100644 --- a/packages/core/src/storage/sqlite/work-item-store.ts +++ b/packages/core/src/storage/sqlite/work-item-store.ts @@ -45,7 +45,8 @@ import type { LingAppServerGitHubDelivery, LingAppServerGitHubIntakeReceipt, Lin import type { RunStore } from "../../run-types.js"; import type { ChannelWorkflowStep } from "../../workspace-types.js"; import { readSelectedWorkflowDecision, workItemWorkflowDecisionId } from "../../work-item-workflow-decision.js"; -import { checkpointDeliberationResolutionId, deliberationWorkflowStepDigest, type WorkItemDeliberationWorkflowBinding } from "../../work-item-deliberation-workflow.js"; +import { checkpointDeliberationResolutionId, deliberationWorkflowStepDigest, type WorkItemDeliberationApplication, + type WorkItemDeliberationWorkflowBinding } from "../../work-item-deliberation-workflow.js"; import { stageHandoffAdmitsTarget } from "../../work-item-workflow-handoff.js"; import { listWorkItemStageQuestions, workItemStageQuestionExpired } from "../../work-item-workflow-question.js"; import { planStageBallotKey } from "../../proposed-plan-mutation.js"; @@ -956,6 +957,17 @@ export class SqliteWorkItemStore { const link = state.get("work_item_workflow", step.workflowId)?.payload as WorkItemWorkflowLink | undefined; if (!link) return undefined; const { workItemId, planId, planRevision } = link.binding; + if (required.receiptSource === "checkpoint") { + const application = state.get("work_item_deliberation_application", step.id)?.payload as WorkItemDeliberationApplication | undefined; + if (!application) return undefined; + const item = this.getWorkItem(workItemId); + if (!item || application.workItemId !== item.id || application.planRevision !== `${planId}:${planRevision}` + || application.workflowId !== step.workflowId || application.stepId !== step.id + || application.controlGeneration !== item.control.generation || application.stepDigest !== deliberationWorkflowStepDigest(step) + || !required.options.includes(application.option) + || !this.ports.getWorkItemEvidence(application.resolutionId)) return undefined; + return { id: application.resolutionId, option: application.option }; + } const selected = readSelectedWorkflowDecision(this.ports, { workItemId, planRevision: `${planId}:${planRevision}`, workflowStepId: step.id }); return selected && required.options.includes(selected.option) ? selected : undefined; } diff --git a/packages/core/src/work-item-deliberation-workflow.ts b/packages/core/src/work-item-deliberation-workflow.ts index 63f075fd6..058406373 100644 --- a/packages/core/src/work-item-deliberation-workflow.ts +++ b/packages/core/src/work-item-deliberation-workflow.ts @@ -14,9 +14,29 @@ export interface WorkItemDeliberationWorkflowBinding { readonly deadlineAt: string; readonly candidate?: { readonly cwd: string; readonly digest: string }; readonly providerRevisions: Readonly>; + readonly decisionTarget?: WorkItemDeliberationTarget; readonly steps: Readonly>; } +export interface WorkItemDeliberationTarget { + readonly stepId: string; + readonly stepDigest: string; + readonly options: Readonly>; +} + +export interface WorkItemDeliberationApplication { + readonly workItemId: string; + readonly workflowId: string; + readonly planRevision: string; + readonly stepId: string; + readonly stepDigest: string; + readonly controlGeneration: number; + readonly candidate: NonNullable; + readonly roundId: string; + readonly resolutionId: string; + readonly option: string; +} + export interface WorkItemDeliberationWorkflowAdmission { readonly workItemId: string; readonly expectedWorkItemRevision: number; @@ -34,6 +54,10 @@ export function readWorkItemDeliberationWorkflowBinding(store: Pick, stepId: string) { + return store.getAppServerState("work_item_deliberation_application", stepId)?.payload as WorkItemDeliberationApplication | undefined; +} + export function checkpointDeliberationResolutionId(roundId: string): string { return `work_item_deliberation_${createHash("sha256").update(roundId).digest("hex")}`; } @@ -45,6 +69,6 @@ export function deliberationWorkflowStepDigest(step: ChannelWorkflowStep): strin metadata?.sideEffectClass, metadata?.dependsOnStepIds, metadata?.requiredTools, metadata?.requestedRunnerId, metadata?.providerPresetId, metadata?.policy, metadata?.skillId, metadata?.gates, metadata?.parallelPolicy, metadata?.providerBinding, metadata?.approvalGate, metadata?.executionPlan, metadata?.executionOperationIds, - metadata?.dependencyMode, metadata?.templateStepId, + metadata?.dependencyMode, metadata?.templateStepId, metadata?.planStageId, metadata?.requiredPlanDecision, ])).digest("hex"); } diff --git a/packages/daemon/src/features/channels/workflows.ts b/packages/daemon/src/features/channels/workflows.ts index d1b63bc34..382582114 100644 --- a/packages/daemon/src/features/channels/workflows.ts +++ b/packages/daemon/src/features/channels/workflows.ts @@ -8,6 +8,7 @@ import { effectiveWorkflowPreGate, inspectWorkflowPreApproval, readWorkItemDeliberationWorkflowBinding, + readWorkItemDeliberationApplication, type ApprovalRequest, type ChannelWorkflow, type ChannelHandoff, @@ -1121,6 +1122,14 @@ export async function prepareWorkflowStepStart( if (deliberation?.candidate && await readCompleteHandoffCandidate(deliberation.candidate.cwd) !== deliberation.candidate.digest) { return fail(409, "work_item_deliberation_candidate_stale", "The read-only round requires its original worktree candidate."); } + if (step.metadata?.requiredPlanDecision?.receiptSource === "checkpoint") { + const application = readWorkItemDeliberationApplication(store, step.id); + if (!application || selectedDecision?.id !== application.resolutionId || application.candidate.cwd !== runRequestBase.cwd + || await readCompleteHandoffCandidate(application.candidate.cwd) !== application.candidate.digest + || store.getWorkItemWorkflowStepDecision(step)?.id !== application.resolutionId) { + return fail(409, "work_item_deliberation_candidate_stale", "The accepted decision does not apply to the step's current candidate."); + } + } const begun = store.beginChannelWorkflowStepStart({ workflowStepId: step.id, expected: step, leaseId: lease.id, now: new Date().toISOString(), executionPermit, diff --git a/packages/daemon/src/features/work-items/deliberation-workflow.ts b/packages/daemon/src/features/work-items/deliberation-workflow.ts index 32ec89b9c..79ee0be6e 100644 --- a/packages/daemon/src/features/work-items/deliberation-workflow.ts +++ b/packages/daemon/src/features/work-items/deliberation-workflow.ts @@ -113,7 +113,7 @@ export function readCompletedDeliberationWorkflow(store: RunStore, workItemId: s } return { type: "workflow_step_output", id: artifactId, revision: step.updatedAt }; }); - return { workflow, sources }; + return { workflow, binding, sources }; } export function projectDeliberationWorkflowProgress(store: RunStore, round: WorkItemCollaborationRecord): diff --git a/packages/daemon/src/features/work-items/workflow-stages.ts b/packages/daemon/src/features/work-items/workflow-stages.ts index 2187eca2b..37caf47d2 100644 --- a/packages/daemon/src/features/work-items/workflow-stages.ts +++ b/packages/daemon/src/features/work-items/workflow-stages.ts @@ -138,6 +138,10 @@ function readStageDecision( const decision = step.metadata?.requiredPlanDecision; if (!decision) return undefined; const { question } = decision; + if (decision.receiptSource === "checkpoint") { + const selected = store.getWorkItemWorkflowStepDecision(step); + return selected ? { question, status: "decided", selectedOption: selected.option } : { question, status: "not_open" }; + } const subject = { workItemId, planRevision, workflowStepId: step.id }; const round = readWorkItemCollaborationRecord(store, workItemId, workItemWorkflowDecisionId(subject, "round")); if (!round) return { question, status: "not_open" }; diff --git a/packages/daemon/src/server/app-server-collaboration.ts b/packages/daemon/src/server/app-server-collaboration.ts index ec99570de..8ce92b791 100644 --- a/packages/daemon/src/server/app-server-collaboration.ts +++ b/packages/daemon/src/server/app-server-collaboration.ts @@ -1,6 +1,8 @@ import type { LingAppServerCollaborationKind, LingAppServerDeliberationDecideParams, + LingAppServerDeliberationDecideResult, + LingAppServerDeliberationAppliedDecision, LingAppServerDeliberationSettlementParams, LingAppServerStageBallotProgress, LingAppServerStageDeliberationStartParams, @@ -17,6 +19,7 @@ import { listWorkItemCollaboration, planStageBallotKey, readWorkItemCollaborationRecord, + readWorkItemDeliberationApplication, toAppServerCollaborationRecord, workItemWorkflowDecisionId, type WorkItemWorkflowDecisionSubject, @@ -24,7 +27,8 @@ import { type WorkItemCollaborationRecord, type WorkItem, } from "@ling-stack/core"; -import type { ControlPlaneEvent, RunStore } from "@ling-stack/core"; +import type { AppendWorkItemEvidenceInput, ControlPlaneEvent, RunStore, WorkItemDeliberationApplication, + WorkItemEvidenceEventOptions } from "@ling-stack/core"; import { HttpError } from "../errors.js"; import { isRecord } from "../shared/validation.js"; import { readAppServerStageBallot } from "../features/work-items/stage-ballot.js"; @@ -120,6 +124,9 @@ export function startAppServerStageDeliberation( if (!item || !item.workflowId || !item.planRevision || step?.workflowId !== item.workflowId || !required) { throw new AppServerCollaborationError("stale_revision", "The Work Item does not have this accepted decision point."); } + if (required.receiptSource === "checkpoint") { + throw new HttpError(409, "resume_blocked", "The accepted stage requires a linked deliberation receipt."); + } const subject = { workItemId: item.id, planRevision: item.planRevision, workflowStepId: step.id }; const id = workItemWorkflowDecisionId(subject, "round"); const prior = readWorkItemCollaborationRecord(store, item.id, id); @@ -180,7 +187,7 @@ export async function settleAppServerDeliberation( decision: LingAppServerDeliberationDecideParams["decision"] | undefined, now: string, cwd: string, -): Promise { +): Promise { const item = store.getWorkItem(input.workItemId); if (!item) throw new AppServerCollaborationError("work_item_not_found", "The Work Item is unavailable."); const round = readWorkItemCollaborationRecord(store, item.id, input.roundId); @@ -229,22 +236,36 @@ export async function settleAppServerDeliberation( } } const action = decision ? "decided" : "cancelled"; - const payload = decision ? { ...decision, reason: input.reason, ...(ballot ? { ballot: ballot.summary } : {}) } : { reason: input.reason }; + const requestPayload = decision ? { ...decision, reason: input.reason } : { reason: input.reason }; const saved = prior && readWorkItemCollaborationRecord(store, item.id, prior.id); if (saved) { - const { ballot: _ballot, ...request } = isRecord(saved.payload) ? saved.payload : {}; - const { ballot: _tally, ...current } = payload as typeof payload & { ballot?: unknown }; - if (saved.action !== action || JSON.stringify(request) !== JSON.stringify(current)) { + const { ballot: _ballot, appliedTo, ...request } = isRecord(saved.payload) ? saved.payload : {}; + if (saved.action !== action || JSON.stringify(request) !== JSON.stringify(requestPayload)) { throw new AppServerCollaborationError("idempotency_conflict", "The deliberation key was used with a different decision."); } - return { status: "replayed", record: { ...saved, workItemRevision: item.revision }, workItemRevision: item.revision }; + return { status: "replayed", record: { ...saved, workItemRevision: item.revision }, workItemRevision: item.revision, + ...(appliedTo ? { appliedTo: appliedTo as LingAppServerDeliberationAppliedDecision } : {}) }; } if (privateRound && decision) await assertCheckpointRoundCandidate(store, item, round, now); const execution = privateRound && decision?.disposition === "selected" ? readCompletedDeliberationWorkflow(store, item.id, round.id, round.payload) : undefined; + let application: WorkItemDeliberationApplication | undefined; + if (execution?.binding.decisionTarget && decision?.disposition === "selected") { + const { decisionTarget: { stepId, stepDigest, options }, candidate, originWorkflowId, planRevision, controlGeneration } = execution.binding; + const option = options[decision.option]; + if (!option || !candidate) throw new AppServerCollaborationError("stale_revision", "The selected option no longer belongs to the accepted dependency."); + application = { workItemId: item.id, workflowId: originWorkflowId, planRevision, controlGeneration, + stepId, stepDigest, candidate, roundId: round.id, resolutionId: id, option }; + } + const appliedTo: LingAppServerDeliberationAppliedDecision | undefined = application ? { + workflowId: application.workflowId, workflowStepId: application.stepId, planRevision: application.planRevision, + option: application.option, candidateDigest: application.candidate.digest, + } : undefined; + const payload = { ...requestPayload, ...(ballot ? { ballot: ballot.summary } : {}), ...(appliedTo ? { appliedTo } : {}) }; const sourceRefs = [{ type: "deliberation_round", id: round.id, revision: String(round.collaborationRevision) }, - ...(ballot?.sourceRefs ?? []), ...(execution?.sources ?? [])]; - const resolution = store.appendWorkItemEvidence({ + ...(ballot?.sourceRefs ?? []), ...(execution?.sources ?? []), + ...(application ? [{ type: "workflow_step", id: application.stepId, revision: application.planRevision }] : [])]; + const evidence: AppendWorkItemEvidenceInput = { id, workItemId: item.id, expectedWorkItemRevision: input.expectedWorkItemRevision, @@ -259,22 +280,34 @@ export async function settleAppServerDeliberation( ...(privateRound ? { visibility: "owner" as const, ...(decision ? { assertCurrent: () => { + if (store.getWorkItemEvidence(id)?.idempotencyKey === input.idempotencyKey) return; const current = store.getWorkItem(item.id); if (!current) throw new AppServerCollaborationError("work_item_not_found", "The Work Item is unavailable."); assertCheckpointRoundCurrent(store, current, round, now); if (execution) readCompletedDeliberationWorkflow(store, item.id, round.id, round.payload); + if (application) { + const previous = readWorkItemDeliberationApplication(store, application.stepId); + if (previous?.workItemId === application.workItemId && previous.planRevision === application.planRevision + && previous.controlGeneration === application.controlGeneration && previous.stepDigest === application.stepDigest + && previous.candidate.digest === application.candidate.digest) { + throw new AppServerCollaborationError("stale_revision", "The current dependency already has a decision for this candidate."); + } + } } } : {}), } : {}), - }, now, { + }; + const event: WorkItemEvidenceEventOptions = { cwd, project: (entry, workItemRevision) => ({ action: `work_item.deliberation.${action}`, data: { workItemId: item.id, roundId: round.id, collaborationId: entry.id, collaborationRevision: entry.sequence, workItemRevision }, }), - }); + }; + const resolution = application ? store.applyWorkItemDeliberationDecision(evidence, application, now, event) + : store.appendWorkItemEvidence(evidence, now, event); if (!resolution) throw new AppServerCollaborationError("stale_revision", "The Work Item revision changed before the deliberation resolution."); - const { entry, workItemRevision, event, status } = resolution; - return { status, workItemRevision, event, record: { + const { entry, workItemRevision, event: committedEvent, status } = resolution; + return { status, workItemRevision, event: committedEvent, ...(appliedTo ? { appliedTo } : {}), record: { id: entry.id, workspaceId: entry.workspaceId, workItemId: item.id, diff --git a/packages/daemon/src/server/app-server-deliberation.ts b/packages/daemon/src/server/app-server-deliberation.ts index 13c6f274b..fdcc3d170 100644 --- a/packages/daemon/src/server/app-server-deliberation.ts +++ b/packages/daemon/src/server/app-server-deliberation.ts @@ -15,6 +15,7 @@ import { } from "@ling-stack/contracts"; import { appendWorkItemCollaboration, + deliberationWorkflowStepDigest, readWorkItemCollaborationRecord, readWorkflowStageHandoff, type ChannelWorkflowStep, @@ -23,6 +24,7 @@ import { type WorkItem, type WorkItemCollaborationRecord, type WorkItemConversationBinding, + type WorkItemDeliberationTarget, type WorkItemEvidenceEntry, } from "@ling-stack/core"; import { z } from "zod"; @@ -61,6 +63,7 @@ export const deliberationEvaluateInput = z.object({ participantIds: refs, optionRefs: refs, evidenceRefs: refs, + decisionStepId: boundedId.optional(), candidateDigest: z.string().regex(/^[a-f0-9]{64}$/u).optional(), unresolved: z.enum(["intent", "fact", "handoff"]).optional(), }); @@ -102,7 +105,8 @@ export async function evaluateAppServerDeliberation( const prior = readReplay(); if (prior) return prior; const basis = readDecisionBasis(store, item, decision); - const decisionId = digest([item.id, decision.decisionKey, decision.subject.kind, basis.subject.decisionAnchor]); + const decisionId = digest([item.id, decision.decisionKey, decision.subject.kind, basis.subject.decisionAnchor, + ...(decision.decisionStepId ? [decision.decisionStepId] : [])]); const decisionRevision = digest([basis.digest, decision.decisionKind, decision.materiality, decision.question, decision.unresolved]); const evaluationId = `${evaluationPrefix}${decisionId}_${digest([decisionRevision, decision.checkpoint, decision.checkpointRef])}`; if (basis.candidate) { @@ -117,6 +121,7 @@ export async function evaluateAppServerDeliberation( evaluationId, decisionId, decisionRevision, subjectRevision: basis.subject.subjectRevision, policyRevision, checkpoint: decision.checkpoint, checkpointRef: decision.checkpointRef, optionRefs: decision.optionRefs, evidenceRefs: decision.evidenceRefs, participantIds: decision.participantIds, + ...(decision.decisionStepId ? { decisionStepId: decision.decisionStepId } : {}), ...(basis.candidate ? { candidateDigest: basis.candidate.digest } : {}), evaluatedAt: now, expiresAt: new Date(Date.parse(now) + validityMs).toISOString(), ...evaluateCheckpoint(item, basis, decision), @@ -163,6 +168,9 @@ export async function openAppServerEvaluatedDeliberation( const prior = readReplay(); if (prior) return prior; if (evaluation.outcome !== "suggest") throw new HttpError(409, "resume_blocked", "Only a current deliberation suggestion can open a round."); + if (decision.decisionStepId && execution !== "read_only_workflow") { + throw new HttpError(409, "resume_blocked", "An accepted dependency requires a participant Workflow."); + } const assertCurrent = () => assertEvaluationCurrent(store, requireWorkItem(store, workItemId), frozen, now, evaluation.expiresAt); const admission = assertEvaluationCurrent(store, item, frozen, now, evaluation.expiresAt); @@ -192,7 +200,8 @@ export async function openAppServerEvaluatedDeliberation( compile: () => { const compiled = materializeDeliberationWorkflow(store, { binding: { workItemId, roundId, originWorkflowId: step.workflowId, originStepId: step.id, originStepRevision: step.updatedAt, - planRevision: admission.subject.subjectRevision, controlGeneration: item.control.generation, deadlineAt, candidate }, + planRevision: admission.subject.subjectRevision, controlGeneration: item.control.generation, deadlineAt, candidate, + decisionTarget: admission.decisionTarget }, origin: step, question: decision.question, participants: admission.participants, options: admission.optionEntries, evidence: admission.evidence, now, }); @@ -269,16 +278,38 @@ function readDecisionBasis(store: RunStore, item: WorkItem, decision: FrozenEval const evidence = decision.evidenceRefs.map(id => readEntry(id, false)); const evidenceRefs = evidence.map(entry => evidenceRef(entry, "work_item_evidence")); const candidate = decision.candidateDigest ? { digest: decision.candidateDigest, cwd: decisionCandidateCwd(store, subject) } : undefined; + const decisionTarget = decision.decisionStepId + ? readDecisionTarget(store, item, subject.step, decision.decisionStepId, decision.question, optionEntries, candidate) : undefined; const verificationRefs = candidate ? evidence.flatMap(entry => readDecisionVerificationRefs(store, item, candidate, entry)) : []; return { - subject, options, optionEntries, evidence, candidate, verificationRefs, participants, + subject, options, optionEntries, evidence, candidate, verificationRefs, participants, decisionTarget, sourceRefs: [checkpoint, ...options, ...evidenceRefs, ...verificationRefs], digest: digest([policyRevision, item.control.generation, subject.scopeRevision, - participants.map(participant => [participant.id, participant.updatedAt]), options, evidenceRefs, candidate, verificationRefs]), + participants.map(participant => [participant.id, participant.updatedAt]), options, evidenceRefs, candidate, verificationRefs, + ...(decisionTarget ? [decisionTarget] : [])]), }; } +function readDecisionTarget(store: RunStore, item: WorkItem, origin: ChannelWorkflowStep | undefined, stepId: string, + question: string, options: readonly WorkItemEvidenceEntry[], candidate: unknown): WorkItemDeliberationTarget { + const step = store.getChannelWorkflowStep(stepId); + const dependency = step?.metadata?.requiredPlanDecision; + if (!origin || !candidate || !step || step.workflowId !== origin.workflowId || step.workflowId !== item.workflowId + || !["queued", "blocked"].includes(step.status) || dependency?.receiptSource !== "checkpoint" || dependency.question !== question) { + throw stale("The accepted stage does not accept this checkpoint decision for the current candidate."); + } + if (item.holds.some(hold => hold.blocksNewAdmission && hold.workflowStepIds?.includes(stepId))) { + throw new HttpError(409, "resume_blocked", "The decision dependency is held by a pending change."); + } + const values = options.map(option => option.optionId); + if (values.some(value => !value || !dependency.options.includes(value)) || values.length !== new Set(values).size) { + throw stale("Map each proposal to a distinct option in the accepted dependency."); + } + return { stepId, stepDigest: deliberationWorkflowStepDigest(step), + options: Object.fromEntries(options.map(entry => [entry.id, entry.optionId!])) }; +} + function evidenceRef(entry: WorkItemEvidenceEntry, type: string) { return { type, id: entry.id, revision: String(entry.revision) }; } diff --git a/packages/daemon/src/server/rpc.ts b/packages/daemon/src/server/rpc.ts index 4047527e6..7b37e8721 100644 --- a/packages/daemon/src/server/rpc.ts +++ b/packages/daemon/src/server/rpc.ts @@ -1392,6 +1392,10 @@ class RpcConnection { throw rpcError(-32602, "invalid_params", "Collaboration records use the collaboration methods."); } const sourceRefs = Array.isArray(record.sourceRefs) ? record.sourceRefs : []; + const optionId = readOptionalStringField(record, "optionId"); + if (optionId !== undefined && (kind !== "proposal" || !optionId.trim() || optionId !== optionId.trim() || optionId.length > 200)) { + throw rpcError(-32602, "invalid_params", "A decision option identifier must be a bounded proposal option."); + } const result = store.appendWorkItemEvidence({ workItemId, expectedWorkItemRevision: readOptionalIntegerField(record, "expectedWorkItemRevision"), @@ -1401,6 +1405,7 @@ class RpcConnection { subjectRevision, kind, content, + optionId, sourceRefs: sourceRefs as import("@ling-stack/core").WorkItemEvidenceSourceRef[], visibility: readOptionalStringField(record, "visibility") as import("@ling-stack/core").WorkItemEvidenceVisibility | undefined, }, new Date().toISOString(), { cwd }); diff --git a/packages/daemon/test/app-server-release-acceptance.test.ts b/packages/daemon/test/app-server-release-acceptance.test.ts index 448212c12..0fbbec443 100644 --- a/packages/daemon/test/app-server-release-acceptance.test.ts +++ b/packages/daemon/test/app-server-release-acceptance.test.ts @@ -34,6 +34,7 @@ import type { LingAppServerRecoveryResult, LingAppServerCoordinationSchedule, LingAppServerDeliberationDecideParams, + LingAppServerDeliberationDecideResult, LingAppServerDeliberationEvaluateParams, LingAppServerDeliberationEvaluateResult, LingAppServerWorkItemCollaborationAppendResult, @@ -2718,13 +2719,14 @@ async function createObserver(client: Awaited(method: string, input: object) => Promise, workItemId: string, subjectRevision: string) { - const append = async (key: string, kind: "proposal" | "observation", content: string) => +async function recordDeliberationEvidence(call: (method: string, input: object) => Promise, workItemId: string, subjectRevision: string, + optionIds?: readonly [string, string]) { + const append = async (key: string, kind: "proposal" | "observation", content: string, optionId?: string) => (await call<{ entry: { id: string } }>("workItem/evidence/append", { - workItemId, actorId: "local-user", subjectRevision, kind, content, idempotencyKey: `${subjectRevision}:${key}`, + workItemId, actorId: "local-user", subjectRevision, kind, content, optionId, idempotencyKey: `${subjectRevision}:${key}`, })).entry.id; - const adapter = await append("adapter", "proposal", "Keep the adapter compatible with existing callers."); - const migration = await append("migration", "proposal", "Move callers atomically to the replacement interface."); + const adapter = await append("adapter", "proposal", "Keep the adapter compatible with existing callers.", optionIds?.[0]); + const migration = await append("migration", "proposal", "Move callers atomically to the replacement interface.", optionIds?.[1]); const evidenceRef = await append("interface", "observation", "The public interface has existing clients."); return { optionRefs: [adapter, migration], evidenceRef }; } @@ -3559,6 +3561,7 @@ test("a paused Work Item replaces its accepted Workflow after the old Run settle async function stageQuestionWorkflow(t: TestContext, providerBaseUrl?: string, parallelReadOnly = false, retryBudget?: number, options?: { readonly harness?: DaemonConfig["harness"]; readonly secretResolver?: SecretResolver; readonly apiKeyRef?: string; + readonly decision?: import("@ling-stack/contracts").ProposedPlanStageDecision; readonly verificationRecipes?: (root: string, cwd: string) => Promise }) { const fixture = await releaseFixture(t, { channels: { terminalReports: false, teamObserverBus: false }, harness: options?.harness, secretResolver: options?.secretResolver, verificationRecipes: options?.verificationRecipes }); @@ -3586,7 +3589,8 @@ async function stageQuestionWorkflow(t: TestContext, providerBaseUrl?: string, p const accepted = await client.call("plan/accept", { mode: "workflow", threadId: thread.id, planId: plan.id, expectedRevision: plan.revision, workflowStepPreviews: [ - { title: "Review", stageId: "QA", ownerId: "teammate_builtin_qa", ownerLabel: "QA", ...(parallelReadOnly ? { requiredTools: ["read"] } : {}) }, + { title: "Review", stageId: "QA", ownerId: "teammate_builtin_qa", ownerLabel: "QA", requiredDecision: options?.decision, + ...(parallelReadOnly ? { requiredTools: ["read"] } : {}) }, { title: "Explain the contract", stageId: "P01", ownerId: "teammate_builtin_engineer", ownerLabel: "Engineer", ...(parallelReadOnly ? { requiredTools: ["read"] } : {}) }, ], @@ -3741,7 +3745,7 @@ test("an in-flight stage verifies disputed facts and fences decisions to the cur await waitFor(() => store.getChannelWorkflowStep(respondent.id)?.status === "succeeded" ? true : undefined); }); -test("an admitted read-only deliberation runs once beside the accepted Workflow and retains its evidence after restart", +test("an admitted read-only deliberation runs once and releases its accepted decision dependency after restart", { timeout: 45_000 }, async t => { let releaseFirstProposal = () => {}; const firstProposal = new Promise(resolve => { releaseFirstProposal = resolve; }); @@ -3753,7 +3757,12 @@ test("an admitted read-only deliberation runs once beside the accepted Workflow return { text: `Recommendation ${invocation}: preserve existing callers through the adapter.` }; }); t.after(() => { releaseFirstProposal(); releaseCancelledProposal(); return provider.close(); }); - const { fixture, store, client, item, workItem, workflowId, waiting, channel, thread } = await stageQuestionWorkflow(t, provider.baseUrl); + const question = "Which compatible strategy should the stage use?"; + const options = ["adapter", "migration"] as const; + const { fixture, store, client, item, workItem, workflowId, waiting, channel, thread } = + await stageQuestionWorkflow(t, provider.baseUrl, false, undefined, { + decision: { question, options, receiptSource: "checkpoint" }, + }); const participantIds = ["teammate_builtin_engineer", "teammate_builtin_qa"]; const now = new Date().toISOString(); for (const id of participantIds) store.replaceTeammateChannelMemberships(id, [{ channelId: channel.id }], now); @@ -3764,13 +3773,21 @@ test("an admitted read-only deliberation runs once beside the accepted Workflow git("init", "-q"); git("add", "contract.txt", ".gitignore"); git("-c", "user.name=Fixture", "-c", "user.email=fixture@example.test", "commit", "-qm", "Freeze the decision candidate"); - const sourceTurn = store.createLingTurn({ threadId: thread.id, kind: "initial_request", title: "Implement the contract", - userInstruction: "Choose a compatibility strategy." }, now); + const source = store.appendConversationUserTurn({ threadId: thread.id, channelId: channel.id, turnKind: "initial_request", + title: "Implement the contract", userInstruction: "Choose a compatibility strategy.", idempotencyKey: "deliberation-source-turn", + payload: { body: "Choose a compatibility strategy.", format: "plain_text", mentions: [], attachmentIds: [], linkPreviewIds: [], fileRefs: [] }, + }, now); + const sourceTurn = store.getLingTurn(source.turnId); + assert.ok(sourceTurn); const parentBefore = store.updateChannelWorkflow(workflowId, { - metadata: { ...store.getChannelWorkflow(workflowId)?.metadata, sourceTurnId: sourceTurn.id }, + metadata: { ...store.getChannelWorkflow(workflowId)?.metadata, sourceTurnId: sourceTurn.id, sourceMessageId: source.item.id }, }, now); const stepsBefore = store.listChannelWorkflowSteps({ workflowId, complete: true }); const currentRevision = () => fixture.getStore().getWorkItem(item.id)!.revision; + assert.equal(store.getWorkItemWorkflowAdmissionBlocker(workflowId, waiting), "work_item_decision_pending"); + await assert.rejects(client.call("workItem/deliberation/start", { + workItemId: item.id, workflowStepId: waiting.id, expectedWorkItemRevision: currentRevision(), idempotencyKey: "cannot-bypass-deliberation", + }), { code: "resume_blocked" }); const home = store.createLingThread({ kind: "automation", title: "Compatibility checkpoint", objective: "Review the contract" }, now); const automation = store.createAutomationDefinition({ threadId: home.id, title: "Compatibility checkpoint", kind: "custom_prompt", @@ -3789,18 +3806,18 @@ test("an admitted read-only deliberation runs once beside the accepted Workflow assert.ok(checkpoint); await client.call("workItem/coordination/close", { workItemId: item.id, parentRecordId: checkpoint.recordId, actorId: "local-user" }); assert.ok(store.readScheduledCoordinationRound(checkpoint.recordId)?.closedRecordId); - const { optionRefs, evidenceRef } = await recordDeliberationEvidence(client.call, item.id, planRevision); + const { optionRefs, evidenceRef } = await recordDeliberationEvidence(client.call, item.id, planRevision, options); const { candidate } = await client.call("changes/capture"); const { entry } = await client.call<{ entry: { id: string } }>("workItem/evidence/append", { workItemId: item.id, actorId: "local-user", subjectRevision: planRevision, kind: "observation", idempotencyKey: "inaccessible-deliberation-input", content: "Private material", visibility: "owner", }); - const evaluate = (evidenceRefs: string[], idempotencyKey: string, connection = client, decisionKey = "compatibility-strategy") => + const evaluate = (evidenceRefs: string[], idempotencyKey: string, connection = client, decisionStepId: string | null = waiting.id) => connection.call("workItem/deliberation/evaluate", { workItemId: item.id, expectedWorkItemRevision: currentRevision(), idempotencyKey, - decisionKey, subject: { kind: "workflow_stage", workflowStepId: waiting.id, planRevision }, + decisionKey: "compatibility-strategy", subject: { kind: "workflow_stage", workflowStepId: waiting.id, planRevision }, checkpoint: "scheduled_checkpoint", checkpointRef: checkpoint.recordId, decisionKind: "implementation_tradeoff", - materiality: "medium", question: "Which compatible strategy should the stage use?", participantIds, + materiality: "medium", question, participantIds, ...(decisionStepId ? { decisionStepId } : {}), optionRefs, evidenceRefs, candidateDigest: candidate.candidateDigest, } satisfies LingAppServerDeliberationEvaluateParams); const open = (evaluationId: string, idempotencyKey: string, connection = client) => @@ -3820,7 +3837,7 @@ test("an admitted read-only deliberation runs once beside the accepted Workflow assert.equal(opened.record.id, replayed.record.id); assert.deepEqual([opened.status, replayed.status].sort(), ["appended", "replayed"]); const linkedId = (opened.record.payload as { execution: { workflowId: string } }).execution.workflowId; - const decide = (connection = client) => connection.call("workItem/deliberation/decide", { + const decide = (connection = client) => connection.call("workItem/deliberation/decide", { workItemId: item.id, expectedWorkItemRevision: currentRevision(), idempotencyKey: "choose-compatibility-strategy", roundId: opened.record.id, expectedRoundRevision: opened.record.collaborationRevision, decision: { disposition: "selected", option: optionRefs[0] }, reason: "The participants identified a compatible adapter.", @@ -3850,8 +3867,29 @@ test("an admitted read-only deliberation runs once beside the accepted Workflow proposalsCompleted: 2, challengesCompleted: 2, participants: 2 }); await waitFor(() => peer.notices.find(notice => notice.method === "workItem/deliberation/updated" && notice.params?.event?.action === "work_item.deliberation.workflow_progress" && notice.params.event.data?.status === "succeeded")); - const decided = await decide(); + const database = new DatabaseSync(store.paths.databasePath); + try { + database.exec(`CREATE TRIGGER fixture_fail_decision_application BEFORE INSERT ON app_server_state + WHEN NEW.kind = 'work_item_deliberation_application' + BEGIN SELECT RAISE(ABORT, 'fixture_decision_application_write_failed'); END`); + const before = currentRevision(); + await assert.rejects(decide(), /fixture_decision_application_write_failed/u); + assert.equal(currentRevision(), before); + assert.equal(store.getWorkItemWorkflowStepDecision(waiting), undefined); + assert.equal((await progress()).records.some(record => record.action === "decided"), false); + database.exec("DROP TRIGGER fixture_fail_decision_application"); + } finally { + database.close(); + } + const [decided, repeatedDecision] = await Promise.all([decide(), decide(peer)]); + assert.equal(decided.record.id, repeatedDecision.record.id); + assert.deepEqual([decided.status, repeatedDecision.status].sort(), ["appended", "replayed"]); assert.equal(decided.record.sourceRefs.filter(ref => ref.type === "workflow_step_output").length, 4); + assert.deepEqual(decided.appliedTo, { + workflowId, workflowStepId: waiting.id, planRevision, option: options[0], candidateDigest: candidate.candidateDigest, + }); + assert.deepEqual(repeatedDecision.appliedTo, decided.appliedTo); + assert.deepEqual(store.getWorkItemWorkflowStepDecision(waiting), { id: decided.record.id, option: options[0] }); assert.deepEqual(store.getChannelWorkflow(workflowId), parentBefore); assert.deepEqual(store.listChannelWorkflowSteps({ workflowId, complete: true }), stepsBefore); assert.deepEqual(store.getLingTurn(sourceTurn.id), sourceTurn); @@ -3866,7 +3904,7 @@ test("an admitted read-only deliberation runs once beside the accepted Workflow await waitFor(() => restored.notices.find(notice => notice.method === "workItem/deliberation/updated" && notice.params?.event?.action === "work_item.deliberation.workflow_progress" && notice.params.event.data?.status === "succeeded")); - const { evaluation: cancellation } = await evaluate([evidenceRef], "cancellation-evaluation", restored, "cancellation"); + const { evaluation: cancellation } = await evaluate([evidenceRef], "cancellation-evaluation", restored, null); const activeRound = await open(cancellation.evaluationId, "open-cancellable-round", restored); const activeWorkflow = (activeRound.record.payload as { execution: { workflowId: string } }).execution.workflowId; await waitFor(() => provider.requests.length === 5 ? true : undefined); @@ -3879,6 +3917,25 @@ test("an admitted read-only deliberation runs once beside the accepted Workflow assert.equal(retainedStore.listChannelWorkflowSteps({ workflowId: activeWorkflow, complete: true }).filter(step => step.runId).length, 1); assert.equal((await restored.call("workItem/deliberation/cancel", cancel)).record.id, cancelled.id); assert.equal(provider.requests.length, 5); + + const { daemonUrl, authToken } = fixture.transportOptions(); + const startTarget = () => fetch(`${daemonUrl}/workflow-steps/${waiting.id}/start?cwd=${encodeURIComponent(fixture.cwd)}`, { + method: "POST", headers: { authorization: `Bearer ${authToken}`, "content-type": "application/json" }, + body: JSON.stringify({ mode: "create_and_run_task", idempotencyKey: "start-accepted-decision-stage" }), + }); + const contractPath = join(fixture.cwd, "contract.txt"); + await writeFile(contractPath, "A different candidate.\n"); + const stale = await startTarget(); + assert.equal(stale.status, 409); + assert.equal((await stale.json() as { error: string }).error, "work_item_deliberation_candidate_stale"); + assert.equal(provider.requests.length, 5); + await writeFile(contractPath, "The legacy field remains readable.\n"); + const started = await startTarget(); + if (!started.ok) assert.fail(await started.text()); + await started.text(); + await waitFor(() => retainedStore.getChannelWorkflowStep(waiting.id)?.status === "succeeded" ? true : undefined); + assert.equal(retainedStore.listRuns({ workflowStepId: waiting.id, complete: true }).length, 1); + assert.match(JSON.stringify(provider.requests[5]), new RegExp(decided.record.id, "u")); }); test("a successor Workflow waits for an independent live Run owned by its predecessor", { timeout: 30_000 }, async t => { From 8d1002797691b13da7b44e656bfc62828479f9fe Mon Sep 17 00:00:00 2001 From: tianxiaochannel-oss88 Date: Wed, 25 Nov 2026 22:30:34 +0800 Subject: [PATCH 111/147] Seal and tally conditional ballots in linked deliberations --- ...g-agent-operating-model-detailed-design.md | 2 +- .../ling-app-server-implementation-plan.md | 3 +- packages/contracts/src/app-server-schema.ts | 9 +- packages/contracts/src/app-server.ts | 7 + packages/core/src/app-server-state-types.ts | 2 +- .../src/storage/sqlite/work-item-store.ts | 10 +- .../src/work-item-deliberation-workflow.ts | 15 +- .../channel-turn-dispatch-executor.ts | 1 + .../src/features/channels/orchestrator.ts | 5 + .../daemon/src/features/channels/workflows.ts | 4 + .../daemon/src/features/runs/orchestrator.ts | 5 +- .../work-items/deliberation-ballot.ts | 130 ++++++++++++++++++ .../work-items/deliberation-workflow.ts | 55 +++++--- .../src/features/work-items/stage-ballot.ts | 2 +- packages/daemon/src/index.ts | 1 + .../src/server/app-server-collaboration.ts | 10 +- .../src/server/app-server-deliberation.ts | 16 ++- packages/daemon/src/server/app-server-mcp.ts | 2 +- packages/daemon/src/server/router.ts | 1 + .../app-server-release-acceptance.test.ts | 85 +++++++++--- 20 files changed, 309 insertions(+), 56 deletions(-) create mode 100644 packages/daemon/src/features/work-items/deliberation-ballot.ts diff --git a/docs/design/ling-agent-operating-model-detailed-design.md b/docs/design/ling-agent-operating-model-detailed-design.md index dfc59d1a7..8b395551a 100644 --- a/docs/design/ling-agent-operating-model-detailed-design.md +++ b/docs/design/ling-agent-operating-model-detailed-design.md @@ -908,7 +908,7 @@ Mutations carry `expectedWorkItemRevision` and `idempotencyKey`, plus the applic | `workItem/evidence/read` | Work Item ID and optional page cursor. Returns visible entries, board revision and a resume cursor for the authorized view. | | `workItem/evidence/append` | Subject digest and bounded contribution. Corrections include target ID and expected entry revision. Requires a contribution grant. | | `workItem/deliberation/start` | Authorized template revision, subject digest and question, proposal or stage reference. The coordinator returns the round and the admitted shaping or Workflow receipt. | -| `workItem/deliberation/open` | Accept a checkpoint evaluation for its decision revision. With `execution: "read_only_workflow"`, atomically admit a linked participant Workflow for the accepted stage. The round includes its Workflow ID. | +| `workItem/deliberation/open` | Accept a checkpoint evaluation for its decision revision. With `execution: "read_only_workflow"`, atomically admit a linked participant Workflow for the accepted stage. `ballotMode: "when_unresolved"` enables ballots when the sealed challenges leave a material tradeoff. | | `workItem/deliberation/evaluate` | Provide the checkpoint and its applicable evidence. A caller binding a candidate to a stage with `requiredDecision.receiptSource: "checkpoint"` supplies `decisionStepId` and maps each proposal's `optionId` to an eligible Plan option. | | `workItem/deliberation/read` | Decision or round ID and optional page cursor. Returns the visible trigger evaluation, phase, budget state, sealed outcome and decision as available. | | `workItem/deliberation/cancel` | Round ID and expected round revision. The shaping or Workflow owner returns its stop request receipt. | diff --git a/docs/design/ling-app-server-implementation-plan.md b/docs/design/ling-app-server-implementation-plan.md index 475c41e43..7b550f609 100644 --- a/docs/design/ling-app-server-implementation-plan.md +++ b/docs/design/ling-app-server-implementation-plan.md @@ -70,6 +70,7 @@ | O1/O8/O9 接单、控制和协作 | 工作项创建、控制、接单、证据和协作写入各自与对应事件同事务提交。真实 Daemon 回归从同一个受控 GitHub Issue 的两个入口归并 Work Item,在接单前订阅,接通 P01、独立 QA 与等待裁决的 P02。覆盖暂停、重启、裁决恢复与原步骤派发一次。按下方矩阵继续验收阶段交接、自动审议、停滞和联合界面。 | | O7/O9 决策检查点 | `workItem/deliberation/evaluate` 在当前草案或 Workflow 阶段核对检查点、选项、证据和参与人。缺意图、事实或交接材料会给出澄清、Verify 或交接修复;有实质取舍时保存建议,操作方可通过 App Server、SDK 或 MCP 接受、裁决或取消。Verify/Review 的事实争议需引用同工作项、同 Plan 和同候选的实际 Verify 执行。开轮和裁决复核当前候选。联调覆盖 Plan Mode 建议、在途争议转 Verify、并发只开一轮、重启重放、限域读取,以及草案、证据或候选变化后的旧裁决失效。该入口产生供草案或当前阶段参考的决策记录。声明式 Workflow 仍按已接受的条件执行投票和派发。 | | O8 阶段临时审议 | `workItem/deliberation/open` 的 `execution: "read_only_workflow"` 将轮次和独立 Workflow 一起受理。实际 Daemon 回归用两个客户端并发开启,由两名参与者各自提案和质疑。裁决引用已封存的输出。进展可订阅和重放,取消通过 Workflow 停止入口收尾。联调比较原 Workflow 和步骤记录,核对原计划归属,并拒绝使用仅所有者可见的材料启动参与者。 | +| O8 条件投票 | 临时轮次选择 `ballotMode: "when_unresolved"` 后,Daemon 用已封存的质疑结果判定是否开票。实际 Daemon 回归覆盖相同证据下直接汇总、仅在仍有取舍时开票、票未齐时隐藏明细与票数、两票平票、重启重放及有权裁决后继续。 | | O8/O9 裁决回接 | 接受 Plan 时可为步骤登记 `requiredDecision.receiptSource: "checkpoint"` 和允许的选项。评估引用目标步骤、候选及映射到该选项的提案。裁决与适用性回执同时提交,原 Workflow 在派发前重查同一候选。真实 Daemon 回归覆盖回执写入中断后的事务回滚、并发复用、重启、候选漂移拒绝和原步骤只启动一次。 | | O7 定时协调轮次 | 已配置的 Automation 在同一事务中写入终态回执、轮次和事件。实际调度器从重启前的时段恢复。故障注入验证提交失败不会留下回执或轮次。回执重放复用原轮次。截止后生成简报和关闭事件,暂停的工作项产生跳过回执。已暂停、禁用或归档的 Automation 在「立即运行」和时段受理入口均返回 `automation_not_runnable`,保留既有记录。该用例启动的 Runner 数量为零。 | | O7/O9 阶段交接修复 | 源阶段修订更新后,已接受计划中的交接依赖仍保留原退回。真实 Daemon 回归覆盖省略退回回执、沿用旧候选或旧检查的拒绝,以及用当前结果包和可信检查并发接受。HTTP 与 App Server 返回同一接受回执,重启后复用退回与接受记录,QA 只启动一次。 | @@ -95,7 +96,7 @@ Windows 源码验收使用独立的 GitHub Actions 作业,启动真实 CLI std | A1、B1、C1、C2 | 全方法的 Schema 校验和更多宿主兼容组合。workspace、Thread、Work Item 的 grant 和 WSS 已接入。专用 TLS 监听器实测分离控制和答复权限,支持用户答复原回执与撤权。审批和答复仍需在其他宿主和实际远程部署验收。目标游标已绑定存储代次、授权代次和目标,本机兼容用例覆盖上一版源码与候选组合。 | | D1、D2、E1、E2 | 开工与 Pi 运行中的项目规则加载、显式 Claude 规则、两个开发 Skill、工作区 Verify、独立 verifier basis、托管工作树管理、候选改动分页、Turn 改动恢复、选中 hunk 转移和工作台浏览器验证报告已接入。各发行平台验证仍待完成。 | | F1、F2 | 普通会话 Handoff 的候选封存、Goal 预算承接与接手已接入。CLI `app-server codex-host --thread --state --view` 在回环地址提供双端会话视图。本机 Codex 0.171.0-alpha.13、实际 Ling Daemon 与受控 Provider 联调验证两端状态、Ling 在途排队、活跃 Codex Turn 指导、浏览器重连补齐、回执重放和审批提醒。故障回归覆盖原状态库升级、未写出的请求在重连后补投一次,以及已发出但缺少有效回执时保留待确认结果。Pi Host 预算路径的逐请求预留已使用受控 Provider 验证,仍需真实 Provider、隔离工作树和其他 Runner 的对应验收。 | -| O1、O3–O9 | GitHub 签名 webhook、轮询和显式接单归并至同一工作项。自动接单策略处理免打扰、并发、启动额度和派发前状态重查。现有 Task、AutomationRun 和同频道用户输入可显式关联工作项。已接受的计划能自动开启声明的阶段审议,并可等待当前 Workflow 结果包的交接回执。受影响阶段可单独暂停,后继阶段可显式引用已收敛或仍在途的独立成果,待执行阶段可接收定向消息和有原 Run 证据的 Agent 答复。工作项暂停期间拒绝新增定向消息。阶段客户端和支持协作工具的 Pi 阶段按 Run/Attempt 收发,Pi 在下一次模型输入接收消息和问答。Workflow 执行使用工作项重试上限,并可依据跨 Run 的结构化故障记录暂停单项阶段。可信 Verify 和已接受 Plan 指定的 Review 均可提供停滞恢复证据。决策检查点支持计划前和在途阶段的建议、接受与手工裁决。Device Work Item Bridge 的持久映射、receipt 账本和 App Server 入口已实现。已接受阶段可显式开启独立只读审议,并将裁决应用到声明的候选依赖。计划前多角色塑形、临时审议的条件投票、策略自动准入和 O9 联合验收仍待完成。 | +| O1、O3–O9 | GitHub 签名 webhook、轮询和显式接单归并至同一工作项。自动接单策略处理免打扰、并发、启动额度和派发前状态重查。现有 Task、AutomationRun 和同频道用户输入可显式关联工作项。已接受的计划能自动开启声明的阶段审议,并可等待当前 Workflow 结果包的交接回执。受影响阶段可单独暂停,后继阶段可显式引用已收敛或仍在途的独立成果,待执行阶段可接收定向消息和有原 Run 证据的 Agent 答复。工作项暂停期间拒绝新增定向消息。阶段客户端和支持协作工具的 Pi 阶段按 Run/Attempt 收发,Pi 在下一次模型输入接收消息和问答。Workflow 执行使用工作项重试上限,并可依据跨 Run 的结构化故障记录暂停单项阶段。可信 Verify 和已接受 Plan 指定的 Review 均可提供停滞恢复证据。决策检查点支持计划前和在途阶段的建议、接受与手工裁决。Device Work Item Bridge 的持久映射、receipt 账本和 App Server 入口已实现。已接受阶段可显式开启独立只读审议、按质疑结果投票,并将裁决应用到声明的候选依赖。计划前多角色塑形、策略自动准入和 O9 联合验收仍待完成。 | | G | 独立恢复日志已验证 SQLite 快照恢复、撤权、旧游标失效和 GitHub 对账后派发。上一版源码通过同一套本地兼容验收。签名安装产物、实际远程 WSS、带独立检查 App 的 Ling 主动入队及三个真实 Provider 自研试点仍需对应环境的证据。macOS 打包预检需要当前打包输入的 Office 审查、对应 Electron/OS 的受限运行时审查和 gstack 平台资源。T01 离线预检可进入评审,真实试点仍需按 Framework Assurance 准入。 | ## 目标与开工顺序 diff --git a/packages/contracts/src/app-server-schema.ts b/packages/contracts/src/app-server-schema.ts index abc5acbae..2f9ff3ec1 100644 --- a/packages/contracts/src/app-server-schema.ts +++ b/packages/contracts/src/app-server-schema.ts @@ -80,6 +80,10 @@ const deliberationWorkflowProgressFields = { status: { enum: ["draft", "ready", "running", "waiting_for_approval", "waiting_for_input", "blocked", "succeeded", "failed", "cancelled"] }, deadlineAt: stringSchema, proposalsCompleted: integerSchema, challengesCompleted: integerSchema, participants: integerSchema, }; +const deliberationWorkflowOutcome = objectWith({ + status: { enum: ["waiting", "voting", "consensus", "verify_required", "insufficient_evidence", "tallied"] }, + summary: objectSchema, recommendation: stringSchema, +}, ["status"]); const planTarget = { ...threadTarget, planId: stringSchema, expectedRevision: integerSchema }; const planActionResult = objectWith({ cwd: stringSchema, threadId: stringSchema, plan: objectSchema, taskId: stringSchema, workflowId: stringSchema, workflowStepId: stringSchema, runId: stringSchema }, ["cwd", "threadId", "plan"]); @@ -346,7 +350,8 @@ function schemaFor(method: LingAppServerMethod): LingAppServerMethodSchema { case "workItem/deliberation/read": return { params: objectWith({ ...workItemTarget, afterRevision: integerSchema, limit: integerSchema }, ["workItemId"]), result: objectWith({ workItemId: stringSchema, records: arraySchema, nextAfterRevision: integerSchema, ballots: arraySchema, - deliberationWorkflows: { type: "array", items: objectWith({ ...deliberationWorkflowProgressFields, blocker: stringSchema }, + deliberationWorkflows: { type: "array", items: objectWith({ ...deliberationWorkflowProgressFields, blocker: stringSchema, + outcome: deliberationWorkflowOutcome }, Object.keys(deliberationWorkflowProgressFields)) }, }, ["workItemId", "records", "nextAfterRevision"]) }; case "workItem/read": @@ -455,7 +460,7 @@ function schemaFor(method: LingAppServerMethod): LingAppServerMethodSchema { }; case "workItem/deliberation/open": return { params: objectWith({ ...workItemTarget, evaluationId: stringSchema, expectedWorkItemRevision: integerSchema, - idempotencyKey: stringSchema, execution: { enum: ["read_only_workflow"] } }, + idempotencyKey: stringSchema, execution: { enum: ["read_only_workflow"] }, ballotMode: { enum: ["when_unresolved"] } }, ["workItemId", "evaluationId", "expectedWorkItemRevision", "idempotencyKey"]), result }; case "workItem/deliberation/cancel": return { params: objectWith(deliberationSettlement, deliberationSettlementFields), result }; diff --git a/packages/contracts/src/app-server.ts b/packages/contracts/src/app-server.ts index f053721f2..9198f0be8 100644 --- a/packages/contracts/src/app-server.ts +++ b/packages/contracts/src/app-server.ts @@ -1018,8 +1018,14 @@ export interface LingAppServerDeliberationWorkflowProgress { readonly challengesCompleted: number; readonly participants: number; readonly blocker?: string; + readonly outcome?: LingAppServerDeliberationWorkflowOutcome; } +export type LingAppServerDeliberationWorkflowOutcome = + | { readonly status: "waiting" | "voting" | "verify_required" | "insufficient_evidence" } + | { readonly status: "consensus"; readonly recommendation: string } + | { readonly status: "tallied"; readonly summary: LingAppServerStageBallotTally; readonly recommendation?: string }; + export interface LingAppServerStageBallotTally { readonly ballotKey: string; readonly quorum: number; @@ -1358,6 +1364,7 @@ export interface LingAppServerDeliberationOpenParams { readonly expectedWorkItemRevision: number; readonly idempotencyKey: string; readonly execution?: "read_only_workflow"; + readonly ballotMode?: "when_unresolved"; } export interface LingAppServerDeliberationSettlementParams { diff --git a/packages/core/src/app-server-state-types.ts b/packages/core/src/app-server-state-types.ts index 5f684dee1..37f66bc35 100644 --- a/packages/core/src/app-server-state-types.ts +++ b/packages/core/src/app-server-state-types.ts @@ -7,7 +7,7 @@ export type AppServerStateKind = "verify_plan" | "verify_operation" | "review_su | "automation_coordination" | "coordination_round" | "coordination_automation_run" | "project_instruction_update" | "change_recovery_request" | "change_transfer_request" | "github_intake_pending" | "github_intake_receipt" | "github_intake_dispatch" | "work_item_workflow" | "work_item_plan_change" | "native_intake_receipt" | "work_item_stage_message_delivery" - | "work_item_deliberation_workflow" | "work_item_deliberation_application" + | "work_item_deliberation_workflow" | "work_item_deliberation_application" | "work_item_deliberation_ballot" | "work_item_stage_tool_receipt" | "work_item_stage_ballot" | "work_item_device_binding" | "work_item_device_receipt"; export interface AppServerStateRecord { diff --git a/packages/core/src/storage/sqlite/work-item-store.ts b/packages/core/src/storage/sqlite/work-item-store.ts index 37270217c..1a8141ce9 100644 --- a/packages/core/src/storage/sqlite/work-item-store.ts +++ b/packages/core/src/storage/sqlite/work-item-store.ts @@ -45,7 +45,7 @@ import type { LingAppServerGitHubDelivery, LingAppServerGitHubIntakeReceipt, Lin import type { RunStore } from "../../run-types.js"; import type { ChannelWorkflowStep } from "../../workspace-types.js"; import { readSelectedWorkflowDecision, workItemWorkflowDecisionId } from "../../work-item-workflow-decision.js"; -import { checkpointDeliberationResolutionId, deliberationWorkflowStepDigest, type WorkItemDeliberationApplication, +import { checkpointDeliberationResolutionId, deliberationWorkflowStepDigest, type WorkItemDeliberationApplication, type WorkItemDeliberationBallotBasis, type WorkItemDeliberationWorkflowBinding } from "../../work-item-deliberation-workflow.js"; import { stageHandoffAdmitsTarget } from "../../work-item-workflow-handoff.js"; import { listWorkItemStageQuestions, workItemStageQuestionExpired } from "../../work-item-workflow-question.js"; @@ -923,6 +923,14 @@ export class SqliteWorkItemStore { if (!preset || preset.configRevision !== binding.providerRevisions[preset.provider.id]) { return "work_item_deliberation_provider_changed"; } + if (step.metadata.planBallotKey) { + const ballot = state.get("work_item_deliberation_ballot", step.workflowId)?.payload as WorkItemDeliberationBallotBasis | undefined; + if (ballot?.status !== "voting") return "work_item_ballot_pending"; + if (ballot.challengeArtifacts.some(pin => { + const artifact = this.ports.getArtifact(pin.id); + return !artifact || artifact.contentSha256 !== pin.digest || artifact.sealedPayload === undefined; + })) return "work_item_deliberation_ballot_stale"; + } } const link = state.get("work_item_workflow", binding.originWorkflowId)?.payload as WorkItemWorkflowLink | undefined; if (!link) return "work_item_deliberation_workflow_stale"; diff --git a/packages/core/src/work-item-deliberation-workflow.ts b/packages/core/src/work-item-deliberation-workflow.ts index 058406373..6428635bc 100644 --- a/packages/core/src/work-item-deliberation-workflow.ts +++ b/packages/core/src/work-item-deliberation-workflow.ts @@ -15,9 +15,18 @@ export interface WorkItemDeliberationWorkflowBinding { readonly candidate?: { readonly cwd: string; readonly digest: string }; readonly providerRevisions: Readonly>; readonly decisionTarget?: WorkItemDeliberationTarget; + readonly ballot?: { readonly options: readonly string[]; readonly evidenceIds: readonly string[]; readonly quorum: number }; readonly steps: Readonly>; } +export type WorkItemDeliberationBallotBasis = { + readonly challengeArtifacts: readonly { readonly id: string; readonly digest: string }[]; +} & ( + | { readonly status: "voting"; readonly key: string } + | { readonly status: "consensus"; readonly recommendation: string } + | { readonly status: "verify_required" | "insufficient_evidence" } +); + export interface WorkItemDeliberationTarget { readonly stepId: string; readonly stepDigest: string; @@ -58,6 +67,10 @@ export function readWorkItemDeliberationApplication(store: Pick, workflowId: string) { + return store.getAppServerState("work_item_deliberation_ballot", workflowId)?.payload as WorkItemDeliberationBallotBasis | undefined; +} + export function checkpointDeliberationResolutionId(roundId: string): string { return `work_item_deliberation_${createHash("sha256").update(roundId).digest("hex")}`; } @@ -69,6 +82,6 @@ export function deliberationWorkflowStepDigest(step: ChannelWorkflowStep): strin metadata?.sideEffectClass, metadata?.dependsOnStepIds, metadata?.requiredTools, metadata?.requestedRunnerId, metadata?.providerPresetId, metadata?.policy, metadata?.skillId, metadata?.gates, metadata?.parallelPolicy, metadata?.providerBinding, metadata?.approvalGate, metadata?.executionPlan, metadata?.executionOperationIds, - metadata?.dependencyMode, metadata?.templateStepId, metadata?.planStageId, metadata?.requiredPlanDecision, + metadata?.dependencyMode, metadata?.templateStepId, metadata?.planStageId, metadata?.requiredPlanDecision, metadata?.planBallotKey, ])).digest("hex"); } diff --git a/packages/daemon/src/features/channels/channel-turn-dispatch-executor.ts b/packages/daemon/src/features/channels/channel-turn-dispatch-executor.ts index 982eb2672..aee54e6bf 100644 --- a/packages/daemon/src/features/channels/channel-turn-dispatch-executor.ts +++ b/packages/daemon/src/features/channels/channel-turn-dispatch-executor.ts @@ -365,6 +365,7 @@ export function createStartOrchestratedRun( ? options.runtimeSupervisor.getConcurrencyPolicy().isolatedWriteMaxConcurrentSteps : 2 }, cwd, workflowId: workflow.id, + onDeliberationEvent: event => options.controlPlaneEvents?.publish(event), validateRunRequest: (request) => resolveProviderForRun(store, request, options.secretResolver), startRun, }); diff --git a/packages/daemon/src/features/channels/orchestrator.ts b/packages/daemon/src/features/channels/orchestrator.ts index 55dce19b2..47de9b818 100644 --- a/packages/daemon/src/features/channels/orchestrator.ts +++ b/packages/daemon/src/features/channels/orchestrator.ts @@ -3,6 +3,7 @@ import { type ApprovalRequest, type ChannelWorkflow, type ChannelWorkflowStep, + type ControlPlaneEvent, type RunSession, type RunStore, type SecretResolver, @@ -20,6 +21,7 @@ import { HttpError } from "../../errors.js"; import type { RunnerRegistry } from "../../runtime/runners.js"; import { assertNoUnsafeRequiredPause } from "../runs/user-input-cancellation-guard.js"; import { readAdmittedStageQuestionIds, stripStageAnswerBlocks } from "../work-items/stage-questions.js"; +import { reconcileDeliberationBallot } from "../work-items/deliberation-ballot.js"; import { isRecord } from "../../shared/validation.js"; import type { ValidateWorkflowStepRunRequest, WorkflowStepRunRequest } from "./workflows.js"; import { @@ -69,6 +71,7 @@ export interface OrchestrateWorkflowInput { readonly startRun: StartOrchestratedWorkflowStepRun; readonly resolveParallelCapability?: ResolveWorkflowParallelCapability; readonly isolationHost?: WorkflowIsolationHost; + readonly onDeliberationEvent?: (event: ControlPlaneEvent) => void; } export type StartOrchestratedWorkflowStepRun = (input: { @@ -176,6 +179,8 @@ export async function orchestrateChannelWorkflow(input: OrchestrateWorkflowInput const beforeFailure = integrationFailure(); if (beforeFailure) return beforeFailure; const reconciled = reconcileWorkflowStepRuns(input.store, workflow.id); + const ballotEvent = await reconcileDeliberationBallot(input.store, workflow.id, new Date().toISOString()); + if (ballotEvent) input.onDeliberationEvent?.(ballotEvent); if (integrations.some(result => result.status === "waiting")) { integrations = await reconcileWorkflowIntegrations(input.store, workflow.id); const afterFailure = integrationFailure(); diff --git a/packages/daemon/src/features/channels/workflows.ts b/packages/daemon/src/features/channels/workflows.ts index 382582114..5e98f0cc3 100644 --- a/packages/daemon/src/features/channels/workflows.ts +++ b/packages/daemon/src/features/channels/workflows.ts @@ -9,6 +9,7 @@ import { inspectWorkflowPreApproval, readWorkItemDeliberationWorkflowBinding, readWorkItemDeliberationApplication, + readWorkItemDeliberationBallotBasis, type ApprovalRequest, type ChannelWorkflow, type ChannelHandoff, @@ -958,9 +959,12 @@ export async function prepareWorkflowStepStart( } const workflowSteps = store.listChannelWorkflowSteps({ workflowId: workflow.id, complete: true }); const selectedDecision = step.metadata?.requiredPlanDecision && store.getWorkItemWorkflowStepDecision(step); + const ballotBasis = deliberation?.ballot && step.metadata?.planBallotKey + ? readWorkItemDeliberationBallotBasis(store, workflow.id) : undefined; const prompt = [ input.taskPrompt ?? step.prompt, ...(selectedDecision ? [`Accepted Plan decision: ${JSON.stringify(selectedDecision)}`] : []), + ...(ballotBasis?.status === "voting" ? [`Ballot key: ${ballotBasis.key}`] : []), ].join("\n\n"); const memoryRecallQuery = `${workflow.objective}\n${step.title}\n${prompt}`; const memoryRecall = await recallMemory(store, { diff --git a/packages/daemon/src/features/runs/orchestrator.ts b/packages/daemon/src/features/runs/orchestrator.ts index d87e962e2..20d391803 100644 --- a/packages/daemon/src/features/runs/orchestrator.ts +++ b/packages/daemon/src/features/runs/orchestrator.ts @@ -21,6 +21,7 @@ import { hostCompactionResourceBoundaryArtifactId, getEffectiveTeammateSkill, getRunSummaryPath, + readWorkItemDeliberationBallotBasis, redactSecrets, type EffectiveRunPolicySnapshot, type LingThread, @@ -2771,7 +2772,9 @@ async function executeAdmittedRunRequest( }; const workflowStep = run.workflowStepId ? store.getChannelWorkflowStep(run.workflowStepId) : undefined; - const ballotKey = workflowStep?.metadata?.planBallotKey; + const ballotMarker = workflowStep?.metadata?.planBallotKey; + const linkedBallot = workflowStep && ballotMarker ? readWorkItemDeliberationBallotBasis(store, workflowStep.workflowId) : undefined; + const ballotKey = linkedBallot?.status === "voting" ? linkedBallot.key : ballotMarker; const executingStep = runnerResolution.runner.adapter instanceof PiRunnerAdapter && !delegatedExecution ? workflowStep : undefined; const acceptsStageMessages = Boolean(executingStep?.metadata?.planStageId && !executingStep.metadata.planBallotKey && store.getAppServerState("work_item_workflow", executingStep.workflowId)); diff --git a/packages/daemon/src/features/work-items/deliberation-ballot.ts b/packages/daemon/src/features/work-items/deliberation-ballot.ts new file mode 100644 index 000000000..ffc8e2459 --- /dev/null +++ b/packages/daemon/src/features/work-items/deliberation-ballot.ts @@ -0,0 +1,130 @@ +import { createHash } from "node:crypto"; +import type { LingAppServerDeliberationWorkflowOutcome } from "@ling-stack/contracts"; +import { + deliberationWorkflowStepDigest, + readWorkItemDeliberationBallotBasis, + readWorkItemDeliberationWorkflowBinding, + type ChannelWorkflowStep, + type ControlPlaneEvent, + type RunStore, + type WorkItemDeliberationBallotBasis, + type WorkItemDeliberationWorkflowBinding, +} from "@ling-stack/core"; +import { z } from "zod"; +import { readWorkflowStepOutputPacketArtifact } from "../channels/workflow-step-packets.js"; +import { readVote } from "./stage-ballot.js"; +import { readCompleteHandoffCandidate } from "./stage-handoff-candidates.js"; + +const challengeFields = { + rationale: z.string().trim().min(1).max(1000), + evidenceIds: z.array(z.string()).min(1).max(12), +}; +const challengeResult = z.discriminatedUnion("disposition", [ + z.strictObject({ disposition: z.literal("resolved"), option: z.string(), ...challengeFields }), + z.strictObject({ disposition: z.literal("tradeoff"), ...challengeFields }), + z.strictObject({ disposition: z.literal("verify_required"), ...challengeFields }), +]); + +export function readDeliberationContribution(store: RunStore, step: ChannelWorkflowStep, binding: WorkItemDeliberationWorkflowBinding) { + const run = step.runId && store.getRun(step.runId); + const artifactId = step.metadata?.outputArtifactId; + const artifact = artifactId ? store.getArtifact(artifactId) : undefined; + const packet = artifactId && readWorkflowStepOutputPacketArtifact({ store, artifactId }); + if (step.status !== "succeeded" || binding.steps[step.id] !== deliberationWorkflowStepDigest(step) + || !run || run.status !== "succeeded" || run.workflowStepId !== step.id || run.teammateId !== step.toParticipantId + || !artifact?.contentSha256 || !packet || packet.workflowId !== step.workflowId || packet.workflowStepId !== step.id || packet.runId !== run.id) return; + return { id: artifact.id, digest: artifact.contentSha256, result: packet.resultSummary }; +} + +export async function reconcileDeliberationBallot(store: RunStore, workflowId: string, now: string): Promise { + const binding = readWorkItemDeliberationWorkflowBinding(store, workflowId); + if (!binding?.ballot) return; + let retained = readWorkItemDeliberationBallotBasis(store, workflowId); + let event: ControlPlaneEvent | undefined; + const steps = store.listChannelWorkflowSteps({ workflowId, complete: true }); + if (!retained) { + const challenges = steps.filter(step => step.metadata?.templateStepId?.startsWith("challenge-")); + if (!challenges.length || !challenges.every(step => step.status === "succeeded")) return; + const candidate = binding.candidate; + if (candidate && await readCompleteHandoffCandidate(candidate.cwd) !== candidate.digest) return; + if (store.getWorkItemWorkflowAdmissionBlocker(workflowId)) return; + const payload = evaluateChallenges(store, challenges, binding, binding.ballot); + const written = store.putAppServerState({ kind: "work_item_deliberation_ballot", recordId: workflowId, expectedRevision: 0, payload }, now, { + workspaceId: challenges[0]!.workspaceId, cwd: store.paths.cwd, domain: "work_items", entityType: "work_item", + entityId: binding.workItemId, action: "work_item.deliberation.workflow_progress", + data: { workItemId: binding.workItemId, roundId: binding.roundId, workflowId, phase: payload.status }, + idempotencyKey: `work-item-deliberation-ballot:${workflowId}`, + }); + retained = written ? payload : readWorkItemDeliberationBallotBasis(store, workflowId); + event = written?.event; + } + if (retained && retained.status !== "voting") { + for (const step of steps) { + if (!step.metadata?.planBallotKey || step.status !== "queued") continue; + store.transitionChannelWorkflowStepStatus({ workflowStepId: step.id, expectedStatus: "queued", event: "skip", + actor: "system", reason: retained.status, now }); + } + } + return event; +} + +function evaluateChallenges(store: RunStore, challenges: readonly ChannelWorkflowStep[], binding: WorkItemDeliberationWorkflowBinding, + ballot: NonNullable): WorkItemDeliberationBallotBasis { + const results = challenges.map(step => readDeliberationContribution(store, step, binding)); + const challengeArtifacts = results.flatMap(result => result ? [{ id: result.id, digest: result.digest }] : []); + const responses = results.map(result => parseChallenge(result?.result)); + if (responses.some(response => !response || response.evidenceIds.some(id => !ballot.evidenceIds.includes(id)) + || response.disposition === "resolved" && !ballot.options.includes(response.option))) return { status: "insufficient_evidence", challengeArtifacts }; + if (responses.some(response => response?.disposition === "verify_required")) return { status: "verify_required", challengeArtifacts }; + const first = responses[0]; + if (first?.disposition === "resolved" && responses.every(response => response?.disposition === "resolved" && response.option === first.option)) { + return { status: "consensus", recommendation: first.option, challengeArtifacts }; + } + const key = createHash("sha256").update(JSON.stringify([binding.roundId, ballot, challengeArtifacts, binding.candidate?.digest])).digest("hex"); + return { status: "voting", key, challengeArtifacts }; +} + +function parseChallenge(text: string | undefined) { + if (!text || text.length > 4096) return undefined; + try { + const parsed = challengeResult.safeParse(JSON.parse(text)); + return parsed.success ? parsed.data : undefined; + } catch (error) { + if (!(error instanceof SyntaxError)) throw error; + return undefined; + } +} + +export function readDeliberationOutcome(store: RunStore, workflowId: string, steps: readonly ChannelWorkflowStep[], + binding: WorkItemDeliberationWorkflowBinding): LingAppServerDeliberationWorkflowOutcome | undefined { + const policy = binding.ballot; + if (!policy) return; + const basis = readWorkItemDeliberationBallotBasis(store, workflowId); + if (!basis) return { status: "waiting" }; + if (basis.challengeArtifacts.some(pin => store.getArtifact(pin.id)?.contentSha256 !== pin.digest + || !readWorkflowStepOutputPacketArtifact({ store, artifactId: pin.id }))) return { status: "insufficient_evidence" }; + if (basis.status === "consensus") return { status: basis.status, recommendation: basis.recommendation }; + if (basis.status !== "voting") return { status: basis.status }; + const voters = steps.filter(step => step.metadata?.planBallotKey); + if (voters.some(step => !["succeeded", "failed", "cancelled", "skipped"].includes(step.status))) return { status: "voting" }; + const votes = new Map(policy.options.map(option => [option, 0])); + let cast = 0; + let abstained = 0; + for (const step of voters) { + const run = step.runId && store.getRun(step.runId); + if (step.status !== "succeeded" || !run || run.status !== "succeeded" || run.workflowStepId !== step.id + || run.teammateId !== step.toParticipantId || binding.steps[step.id] !== deliberationWorkflowStepDigest(step)) continue; + const option = readVote(store, run, basis.key, policy.options); + if (option === undefined) continue; + cast++; + if (option === null) abstained++; + else votes.set(option, (votes.get(option) ?? 0) + 1); + } + const quorum = policy.quorum; + const highest = Math.max(...votes.values()); + const tally = [...votes].map(([option, count]) => ({ option, count })); + const tied = highest > 0 && tally.filter(entry => entry.count === highest).length > 1; + const recommendation = cast >= quorum ? tally.find(entry => entry.count > voters.length / 2)?.option : undefined; + return { status: "tallied", summary: { ballotKey: basis.key, quorum, cast, abstained, tied, tally }, + ...(recommendation ? { recommendation } : {}) }; +} diff --git a/packages/daemon/src/features/work-items/deliberation-workflow.ts b/packages/daemon/src/features/work-items/deliberation-workflow.ts index 79ee0be6e..bc22feb31 100644 --- a/packages/daemon/src/features/work-items/deliberation-workflow.ts +++ b/packages/daemon/src/features/work-items/deliberation-workflow.ts @@ -12,7 +12,7 @@ import { import { HttpError } from "../../errors.js"; import { isRecord } from "../../shared/validation.js"; import { getWorkflowPlanModeBlocker } from "../channels/plan-mode-guard.js"; -import { readWorkflowStepOutputPacketArtifact } from "../channels/workflow-step-packets.js"; +import { readDeliberationContribution, readDeliberationOutcome } from "./deliberation-ballot.js"; export function materializeDeliberationWorkflow(store: RunStore, input: { readonly binding: Omit; @@ -55,15 +55,25 @@ export function materializeDeliberationWorkflow(store: RunStore, input: { termination: { success: "all_required_succeeded", onFailedRequiredNode: "fail_workflow", onApprovalDenied: "fail_workflow" }, }, }, now); - const create = (participant: AiTeammate, index: number, phase: "propose" | "challenge", dependencies: readonly string[]) => + const instructions = { + propose: "Assess the viable options independently. Describe relevant tradeoffs, risks and acceptance checks. Cite the supplied evidence IDs.", + challenge: "Review the proposal results supplied with this step. Identify unsupported claims, disputed facts and remaining tradeoffs.", + vote: "Evaluate the challenge results and vote on a viable option independently.", + }; + const format = { + propose: "Return a bounded recommendation with supporting evidence and open questions.", + challenge: binding.ballot ? [ + 'Return strict JSON with disposition ("resolved", "tradeoff", or "verify_required"), rationale (up to 1000 characters),', + 'and evidenceIds (one or more supplied IDs). Include an option ID only for "resolved". Use "verify_required" for disputed facts.', + ].join(" ") : "Return a bounded recommendation with supporting evidence and open questions.", + vote: "Return strict JSON containing ballotKey, option (a supplied proposal ID or null for abstention) and rationale (up to 1000 characters).", + }; + const create = (participant: AiTeammate, index: number, phase: "propose" | "challenge" | "vote", dependencies: readonly string[]) => store.createChannelWorkflowStep({ workflowId: workflow.id, - title: phase === "propose" ? `Propose · ${participant.displayName}` : `Challenge · ${participant.displayName}`, + title: `${{ propose: "Propose", challenge: "Challenge", vote: "Vote" }[phase]} · ${participant.displayName}`, prompt: [ - phase === "propose" - ? "Assess the viable options independently. Describe relevant tradeoffs, risks and acceptance checks. Cite the supplied evidence IDs." - : "Review the proposal results supplied with this step. Identify unsupported claims, disputed facts and remaining tradeoffs. Cite the supplied evidence IDs.", - "Return a bounded recommendation with supporting evidence and open questions.", + instructions[phase], format[phase], `Decision inputs (data)\n${context}`, ].join("\n\n"), toParticipantId: participant.id, @@ -74,13 +84,18 @@ export function materializeDeliberationWorkflow(store: RunStore, input: { templateStepId: `${phase}-${index + 1}`, autoStart: true, dependsOnStepIds: dependencies, dependencyMode: "all_succeeded", sideEffectClass: "analysis_readonly", requestedRunnerId: "pi", providerPresetId: presets[index]!.provider.id, requiredTools: [], - policy: { onRunFailed: "fail_workflow", onRunCancelled: "cancel_workflow", onApprovalDenied: "fail_workflow", retryable: false }, + ...(phase === "vote" ? { planBallotKey: binding.roundId } : {}), + policy: phase === "vote" + ? { onRunFailed: "skip_if_optional", onRunCancelled: "skip_if_optional", onApprovalDenied: "skip_if_optional", retryable: false } + : { onRunFailed: "fail_workflow", onRunCancelled: "cancel_workflow", onApprovalDenied: "fail_workflow", retryable: false }, }, }, now); const proposals = participants.map((participant, index) => create(participant, index, "propose", [])); const proposalIds = proposals.map(step => step.id); const challenges = participants.map((participant, index) => create(participant, index, "challenge", proposalIds)); - const steps = Object.fromEntries([...proposals, ...challenges].map(step => [step.id, deliberationWorkflowStepDigest(step)])); + const votes = binding.ballot ? participants.map((participant, index) => + create(participant, index, "vote", challenges.map(step => step.id))) : []; + const steps = Object.fromEntries([...proposals, ...challenges, ...votes].map(step => [step.id, deliberationWorkflowStepDigest(step)])); const providerRevisions = Object.fromEntries(presets.map(preset => [preset.provider.id, preset.configRevision])); return { workflow, binding: { ...binding, steps, providerRevisions } }; } @@ -102,18 +117,18 @@ export function readCompletedDeliberationWorkflow(store: RunStore, workItemId: s if (workflow.status !== "succeeded" || Object.keys(binding.steps).length !== steps.length) { throw new HttpError(409, "resume_blocked", "Wait for the deliberation participants to complete."); } - const sources = steps.map(step => { - const run = step.runId && store.getRun(step.runId); - const artifactId = step.metadata?.outputArtifactId; - const packet = artifactId ? readWorkflowStepOutputPacketArtifact({ store, artifactId }) : undefined; - if (step.status !== "succeeded" || binding.steps[step.id] !== deliberationWorkflowStepDigest(step) - || !run || run.status !== "succeeded" || run.workflowStepId !== step.id - || !artifactId || packet?.workflowId !== workflow.id || packet.workflowStepId !== step.id || packet.runId !== run.id) { + const outcome = readDeliberationOutcome(store, workflow.id, steps, binding); + if (outcome && outcome.status !== "consensus" && (outcome.status !== "tallied" || outcome.summary.cast < outcome.summary.quorum)) { + throw new HttpError(409, "resume_blocked", "The deliberation requires current evidence or a complete ballot quorum."); + } + const sources = steps.filter(step => !step.metadata?.planBallotKey || step.status === "succeeded").map(step => { + const artifact = readDeliberationContribution(store, step, binding); + if (!artifact) { throw new HttpError(409, "stale_revision", "The deliberation's completed participant evidence is unavailable."); } - return { type: "workflow_step_output", id: artifactId, revision: step.updatedAt }; + return { type: "workflow_step_output", id: artifact.id, digest: artifact.digest, revision: step.updatedAt }; }); - return { workflow, binding, sources }; + return { workflow, binding, sources, outcome }; } export function projectDeliberationWorkflowProgress(store: RunStore, round: WorkItemCollaborationRecord): @@ -127,7 +142,9 @@ export function projectDeliberationWorkflowProgress(store: RunStore, round: Work const blocker = ["ready", "running", "blocked", "waiting_for_approval", "waiting_for_input"].includes(workflow.status) ? store.getWorkItemWorkflowAdmissionBlocker(workflow.id) ?? steps.find(step => step.status === "blocked")?.blocker?.slice(0, 200) : undefined; + const outcome = readDeliberationOutcome(store, workflow.id, steps, binding); return { roundId: round.id, workflowId: workflow.id, status: workflow.status, deadlineAt: binding.deadlineAt, participants: proposals.length, proposalsCompleted: proposals.filter(step => step.status === "succeeded").length, - challengesCompleted: challenges.filter(step => step.status === "succeeded").length, ...(blocker ? { blocker } : {}) }; + challengesCompleted: challenges.filter(step => step.status === "succeeded").length, ...(blocker ? { blocker } : {}), + ...(outcome ? { outcome } : {}) }; } diff --git a/packages/daemon/src/features/work-items/stage-ballot.ts b/packages/daemon/src/features/work-items/stage-ballot.ts index b8befd1ac..f77b8e5c7 100644 --- a/packages/daemon/src/features/work-items/stage-ballot.ts +++ b/packages/daemon/src/features/work-items/stage-ballot.ts @@ -68,7 +68,7 @@ export function persistWorkflowStageBallot(store: RunStore, run: RunSession, att if (!result) throw new Error("workflow_stage_ballot_conflict"); } -function readVote(store: RunStore, run: RunSession, ballotKey: string, options: readonly string[]): string | null | undefined { +export function readVote(store: RunStore, run: RunSession, ballotKey: string, options: readonly string[]): string | null | undefined { const unit = run.workUnitId ? store.getWorkUnit(run.workUnitId) : undefined; if (!unit || unit.linkedRunId !== run.id || unit.status !== "succeeded") return undefined; const attempt = store.listWorkUnitAttempts(unit.id).at(-1); diff --git a/packages/daemon/src/index.ts b/packages/daemon/src/index.ts index 42548bf18..962f3db37 100644 --- a/packages/daemon/src/index.ts +++ b/packages/daemon/src/index.ts @@ -962,6 +962,7 @@ export function createDaemonServer( for (const event of openReadyWorkItemStageDeliberations(store, workflowId, new Date().toISOString())) controlPlaneEvents.publish(event); return orchestrateChannelWorkflow({ store, cwd: store.paths.cwd, workflowId, secretResolver, runnerRegistry, + onDeliberationEvent: event => controlPlaneEvents.publish(event), resolveParallelCapability: createWorkflowParallelCapabilityResolver(runnerRegistry, { toolBrokerMode: () => runtimeSupervisor.getHarnessFeatures().toolBroker.mode }), isolationHost: { enabled: () => runtimeSupervisor.getChannelFeatures().workflowIsolatedFiles === true, diff --git a/packages/daemon/src/server/app-server-collaboration.ts b/packages/daemon/src/server/app-server-collaboration.ts index 8ce92b791..b24102fd4 100644 --- a/packages/daemon/src/server/app-server-collaboration.ts +++ b/packages/daemon/src/server/app-server-collaboration.ts @@ -1,3 +1,4 @@ +import { isDeepStrictEqual } from "node:util"; import type { LingAppServerCollaborationKind, LingAppServerDeliberationDecideParams, @@ -239,7 +240,7 @@ export async function settleAppServerDeliberation( const requestPayload = decision ? { ...decision, reason: input.reason } : { reason: input.reason }; const saved = prior && readWorkItemCollaborationRecord(store, item.id, prior.id); if (saved) { - const { ballot: _ballot, appliedTo, ...request } = isRecord(saved.payload) ? saved.payload : {}; + const { ballot: _ballot, outcome: _outcome, appliedTo, ...request } = isRecord(saved.payload) ? saved.payload : {}; if (saved.action !== action || JSON.stringify(request) !== JSON.stringify(requestPayload)) { throw new AppServerCollaborationError("idempotency_conflict", "The deliberation key was used with a different decision."); } @@ -261,7 +262,8 @@ export async function settleAppServerDeliberation( workflowId: application.workflowId, workflowStepId: application.stepId, planRevision: application.planRevision, option: application.option, candidateDigest: application.candidate.digest, } : undefined; - const payload = { ...requestPayload, ...(ballot ? { ballot: ballot.summary } : {}), ...(appliedTo ? { appliedTo } : {}) }; + const payload = { ...requestPayload, ...(ballot ? { ballot: ballot.summary } : {}), + ...(execution?.outcome ? { outcome: execution.outcome } : {}), ...(appliedTo ? { appliedTo } : {}) }; const sourceRefs = [{ type: "deliberation_round", id: round.id, revision: String(round.collaborationRevision) }, ...(ballot?.sourceRefs ?? []), ...(execution?.sources ?? []), ...(application ? [{ type: "workflow_step", id: application.stepId, revision: application.planRevision }] : [])]; @@ -284,7 +286,9 @@ export async function settleAppServerDeliberation( const current = store.getWorkItem(item.id); if (!current) throw new AppServerCollaborationError("work_item_not_found", "The Work Item is unavailable."); assertCheckpointRoundCurrent(store, current, round, now); - if (execution) readCompletedDeliberationWorkflow(store, item.id, round.id, round.payload); + if (execution && !isDeepStrictEqual(readCompletedDeliberationWorkflow(store, item.id, round.id, round.payload), execution)) { + throw new AppServerCollaborationError("stale_revision", "The deliberation outcome changed before the decision committed."); + } if (application) { const previous = readWorkItemDeliberationApplication(store, application.stepId); if (previous?.workItemId === application.workItemId && previous.planRevision === application.planRevision diff --git a/packages/daemon/src/server/app-server-deliberation.ts b/packages/daemon/src/server/app-server-deliberation.ts index fdcc3d170..e11c73f40 100644 --- a/packages/daemon/src/server/app-server-deliberation.ts +++ b/packages/daemon/src/server/app-server-deliberation.ts @@ -70,6 +70,7 @@ export const deliberationEvaluateInput = z.object({ export const deliberationOpenInput = z.object({ ...mutationFields, evaluationId: boundedId, execution: z.literal("read_only_workflow").optional(), + ballotMode: z.literal("when_unresolved").optional(), }); interface FrozenEvaluation { @@ -146,7 +147,7 @@ export async function evaluateAppServerDeliberation( export async function openAppServerEvaluatedDeliberation( store: RunStore, input: LingAppServerDeliberationOpenParams, now: string, cwd: string, ): Promise { - const { workItemId, evaluationId, expectedWorkItemRevision, idempotencyKey, execution } = input; + const { workItemId, evaluationId, expectedWorkItemRevision, idempotencyKey, execution, ballotMode } = input; const item = requireWorkItem(store, workItemId); const frozen = readEvaluation(readWorkItemCollaborationRecord(store, workItemId, evaluationId)); if (!frozen) throw stale("The deliberation evaluation is unavailable."); @@ -158,7 +159,8 @@ export async function openAppServerEvaluatedDeliberation( const existing = prior ?? readWorkItemCollaborationRecord(store, workItemId, roundId); if (!existing) return undefined; const hasWorkflow = isRecord(existing.payload) && isRecord(existing.payload.execution); - if (hasWorkflow !== (execution === "read_only_workflow")) { + const retainedBallotMode = isRecord(existing.payload) ? existing.payload.ballotMode : undefined; + if (hasWorkflow !== (execution === "read_only_workflow") || retainedBallotMode !== ballotMode) { if (prior) throw keyConflict(); throw stale("This decision revision was already admitted with a different execution mode."); } @@ -168,8 +170,8 @@ export async function openAppServerEvaluatedDeliberation( const prior = readReplay(); if (prior) return prior; if (evaluation.outcome !== "suggest") throw new HttpError(409, "resume_blocked", "Only a current deliberation suggestion can open a round."); - if (decision.decisionStepId && execution !== "read_only_workflow") { - throw new HttpError(409, "resume_blocked", "An accepted dependency requires a participant Workflow."); + if ((decision.decisionStepId || ballotMode) && execution !== "read_only_workflow") { + throw new HttpError(409, "resume_blocked", "This round requires a participant Workflow."); } const assertCurrent = () => assertEvaluationCurrent(store, requireWorkItem(store, workItemId), frozen, now, evaluation.expiresAt); @@ -201,12 +203,14 @@ export async function openAppServerEvaluatedDeliberation( const compiled = materializeDeliberationWorkflow(store, { binding: { workItemId, roundId, originWorkflowId: step.workflowId, originStepId: step.id, originStepRevision: step.updatedAt, planRevision: admission.subject.subjectRevision, controlGeneration: item.control.generation, deadlineAt, candidate, - decisionTarget: admission.decisionTarget }, + decisionTarget: admission.decisionTarget, + ...(ballotMode ? { ballot: { options: evaluation.optionRefs, evidenceIds: [...evaluation.optionRefs, ...evaluation.evidenceRefs], + quorum: Math.floor(admission.participants.length / 2) + 1 } } : {}) }, origin: step, question: decision.question, participants: admission.participants, options: admission.optionEntries, evidence: admission.evidence, now, }); return { ...compiled, round: { - ...round, payload: { ...round.payload, execution: { workflowId: compiled.workflow.id } }, + ...round, payload: { ...round.payload, execution: { workflowId: compiled.workflow.id }, ...(ballotMode ? { ballotMode } : {}) }, sourceRefs: [...round.sourceRefs, { type: "workflow", id: compiled.workflow.id }], } }; }, diff --git a/packages/daemon/src/server/app-server-mcp.ts b/packages/daemon/src/server/app-server-mcp.ts index 309ecddc9..7c0e0beac 100644 --- a/packages/daemon/src/server/app-server-mcp.ts +++ b/packages/daemon/src/server/app-server-mcp.ts @@ -348,7 +348,7 @@ export async function runLingAppServerMcp( inputSchema: deliberationOpenInput, annotations: { idempotentHint: true, destructiveHint: false }, }, async params => describe(await client.openWorkItemDeliberation(params))); - const roundSettlement = deliberationOpenInput.omit({ evaluationId: true, execution: true }).extend({ + const roundSettlement = deliberationOpenInput.omit({ evaluationId: true, execution: true, ballotMode: true }).extend({ roundId: objectId, expectedRoundRevision: z.number().int().positive(), reason: z.string().trim().min(1).max(2000), }); if (methods.has("workItem/deliberation/decide")) server.registerTool("ling_deliberation_decide", { diff --git a/packages/daemon/src/server/router.ts b/packages/daemon/src/server/router.ts index d84a62990..e67eca27b 100644 --- a/packages/daemon/src/server/router.ts +++ b/packages/daemon/src/server/router.ts @@ -2424,6 +2424,7 @@ export async function routeRequest( isolationHost: workflowIsolationHost, cwd, workflowId: workflowRoute.workflowId, + onDeliberationEvent: event => controlPlaneEvents.publish(event), validateRunRequest: (candidateRunRequest) => { resolveProviderForRun(store, candidateRunRequest, secretResolver); }, diff --git a/packages/daemon/test/app-server-release-acceptance.test.ts b/packages/daemon/test/app-server-release-acceptance.test.ts index 0fbbec443..f87759309 100644 --- a/packages/daemon/test/app-server-release-acceptance.test.ts +++ b/packages/daemon/test/app-server-release-acceptance.test.ts @@ -3751,12 +3751,28 @@ test("an admitted read-only deliberation runs once and releases its accepted dec const firstProposal = new Promise(resolve => { releaseFirstProposal = resolve; }); let releaseCancelledProposal = () => {}; const cancelledProposal = new Promise(resolve => { releaseCancelledProposal = resolve; }); - const provider = await startLoopbackPiProvider(async (_body: unknown, invocation: number) => { + let releaseSecondVote = () => {}; + const secondVote = new Promise(resolve => { releaseSecondVote = resolve; }); + let chosen: string[] = []; + let sourceEvidenceId = ""; + const provider = await startLoopbackPiProvider(async (body: unknown, invocation: number) => { if (invocation === 1) await firstProposal; - if (invocation === 5) await cancelledProposal; + if (invocation === 7) await cancelledProposal; + if (invocation === 3 || invocation === 4) return { text: JSON.stringify({ + disposition: "tradeoff", rationale: "Both strategies satisfy the compatibility constraint.", evidenceIds: [sourceEvidenceId], + }) }; + if (invocation === 5 || invocation === 6) { + if (invocation === 6) await secondVote; + const ballotKey = /Ballot key: ([a-f0-9]{64})/u.exec(JSON.stringify(body))?.[1]; + assert.ok(ballotKey); + return { text: JSON.stringify({ ballotKey, option: chosen[invocation - 5], rationale: `Sealed vote ${invocation}.` }) }; + } + if (invocation === 10 || invocation === 11) return { text: JSON.stringify({ + disposition: "resolved", option: chosen[0], rationale: "The adapter meets both checks.", evidenceIds: [sourceEvidenceId], + }) }; return { text: `Recommendation ${invocation}: preserve existing callers through the adapter.` }; }); - t.after(() => { releaseFirstProposal(); releaseCancelledProposal(); return provider.close(); }); + t.after(() => { releaseFirstProposal(); releaseSecondVote(); releaseCancelledProposal(); return provider.close(); }); const question = "Which compatible strategy should the stage use?"; const options = ["adapter", "migration"] as const; const { fixture, store, client, item, workItem, workflowId, waiting, channel, thread } = @@ -3807,22 +3823,26 @@ test("an admitted read-only deliberation runs once and releases its accepted dec await client.call("workItem/coordination/close", { workItemId: item.id, parentRecordId: checkpoint.recordId, actorId: "local-user" }); assert.ok(store.readScheduledCoordinationRound(checkpoint.recordId)?.closedRecordId); const { optionRefs, evidenceRef } = await recordDeliberationEvidence(client.call, item.id, planRevision, options); + chosen = optionRefs; + sourceEvidenceId = evidenceRef; const { candidate } = await client.call("changes/capture"); const { entry } = await client.call<{ entry: { id: string } }>("workItem/evidence/append", { workItemId: item.id, actorId: "local-user", subjectRevision: planRevision, kind: "observation", idempotencyKey: "inaccessible-deliberation-input", content: "Private material", visibility: "owner", }); - const evaluate = (evidenceRefs: string[], idempotencyKey: string, connection = client, decisionStepId: string | null = waiting.id) => + const evaluate = (evidenceRefs: string[], idempotencyKey: string, connection = client, decisionStepId: string | null = waiting.id, + decisionKey = "compatibility-strategy") => connection.call("workItem/deliberation/evaluate", { workItemId: item.id, expectedWorkItemRevision: currentRevision(), idempotencyKey, - decisionKey: "compatibility-strategy", subject: { kind: "workflow_stage", workflowStepId: waiting.id, planRevision }, + decisionKey, subject: { kind: "workflow_stage", workflowStepId: waiting.id, planRevision }, checkpoint: "scheduled_checkpoint", checkpointRef: checkpoint.recordId, decisionKind: "implementation_tradeoff", materiality: "medium", question, participantIds, ...(decisionStepId ? { decisionStepId } : {}), optionRefs, evidenceRefs, candidateDigest: candidate.candidateDigest, } satisfies LingAppServerDeliberationEvaluateParams); - const open = (evaluationId: string, idempotencyKey: string, connection = client) => + const open = (evaluationId: string, idempotencyKey: string, connection = client, useBallot = true) => connection.call("workItem/deliberation/open", { workItemId: item.id, evaluationId, idempotencyKey, expectedWorkItemRevision: currentRevision(), execution: "read_only_workflow", + ...(useBallot ? { ballotMode: "when_unresolved" } : {}), }); const { evaluation: privateInputs } = await evaluate([evidenceRef, entry.id], "private-participant-inputs"); await assert.rejects(open(privateInputs.evaluationId, "try-private-inputs"), { code: "resume_blocked" }); @@ -3852,19 +3872,38 @@ test("an admitted read-only deliberation runs once and releases its accepted dec }); await assert.rejects(decide(), { code: "resume_blocked" }); releaseFirstProposal(); + const progress = (connection = peer) => + connection.call("workItem/deliberation/read", { workItemId: item.id }); + await waitFor(() => provider.requests.length === 6 ? true : undefined); + const voteInProgress = (await progress()).deliberationWorkflows?.[0]?.outcome; + assert.deepEqual(voteInProgress, { status: "voting" }); + await assert.rejects(decide(), { code: "resume_blocked" }); + const voters = store.listChannelWorkflowSteps({ workflowId: linkedId, complete: true }).filter(step => step.metadata?.planBallotKey); + assert.equal(voters.length, 2); + assert.ok(voters.every(step => step.runId && !JSON.stringify(store.listEvents(step.runId)).includes("Sealed vote"))); + assert.doesNotMatch(JSON.stringify(provider.requests[5]), /Sealed vote 5/u); + releaseSecondVote(); await waitFor(() => store.getChannelWorkflow(linkedId)?.status === "succeeded" ? true : undefined); - assert.equal(provider.requests.length, 4); + assert.equal(provider.requests.length, 6); for (const body of provider.requests) { const tools = (body as { tools?: readonly { function: { name: string } }[] }).tools ?? []; assert.ok(tools.every(tool => ["read", "grep", "find", "ls"].includes(tool.function.name))); assert.doesNotMatch(JSON.stringify(body), /Private material/u); } assert.match(JSON.stringify(provider.requests[2]), /Recommendation 1/u); - const progress = () => peer.call("workItem/deliberation/read", { workItemId: item.id }); const settledProgress = (await progress()).deliberationWorkflows?.[0]; - assert.deepEqual(settledProgress, { roundId: opened.record.id, workflowId: linkedId, status: "succeeded", - deadlineAt: (opened.record.payload as { deadlineAt: string }).deadlineAt, - proposalsCompleted: 2, challengesCompleted: 2, participants: 2 }); + assert.equal(settledProgress?.status, "succeeded"); + assert.equal(settledProgress.roundId, opened.record.id); + assert.equal(settledProgress.deadlineAt, (opened.record.payload as { deadlineAt: string }).deadlineAt); + assert.equal(settledProgress.proposalsCompleted, 2); + assert.equal(settledProgress.challengesCompleted, 2); + const outcome = settledProgress.outcome; + assert.equal(outcome?.status, "tallied"); + assert.equal(outcome.recommendation, undefined); + assert.equal(outcome.summary.tied, true); + assert.equal(outcome.summary.cast, 2); + assert.equal(outcome.summary.quorum, 2); + assert.deepEqual(outcome.summary.tally, [...optionRefs].sort().map(option => ({ option, count: 1 }))); await waitFor(() => peer.notices.find(notice => notice.method === "workItem/deliberation/updated" && notice.params?.event?.action === "work_item.deliberation.workflow_progress" && notice.params.event.data?.status === "succeeded")); const database = new DatabaseSync(store.paths.databasePath); @@ -3884,7 +3923,8 @@ test("an admitted read-only deliberation runs once and releases its accepted dec const [decided, repeatedDecision] = await Promise.all([decide(), decide(peer)]); assert.equal(decided.record.id, repeatedDecision.record.id); assert.deepEqual([decided.status, repeatedDecision.status].sort(), ["appended", "replayed"]); - assert.equal(decided.record.sourceRefs.filter(ref => ref.type === "workflow_step_output").length, 4); + assert.equal(decided.record.sourceRefs.filter(ref => ref.type === "workflow_step_output").length, 6); + assert.deepEqual((decided.record.payload as { outcome: unknown }).outcome, outcome); assert.deepEqual(decided.appliedTo, { workflowId, workflowStepId: waiting.id, planRevision, option: options[0], candidateDigest: candidate.candidateDigest, }); @@ -3899,15 +3939,15 @@ test("an admitted read-only deliberation runs once and releases its accepted dec assert.equal((await open(evaluation.evaluationId, "accept-deliberation", restored)).record.id, opened.record.id); assert.equal((await decide(restored)).record.id, decided.record.id); assert.equal(fixture.getStore().listChannelWorkflows({ channelId: channel.id }).length, 2); - assert.equal(provider.requests.length, 4); + assert.equal(provider.requests.length, 6); await restored.call("workItem/subscribe", { workItemId: item.id, cursor }); await waitFor(() => restored.notices.find(notice => notice.method === "workItem/deliberation/updated" && notice.params?.event?.action === "work_item.deliberation.workflow_progress" && notice.params.event.data?.status === "succeeded")); const { evaluation: cancellation } = await evaluate([evidenceRef], "cancellation-evaluation", restored, null); - const activeRound = await open(cancellation.evaluationId, "open-cancellable-round", restored); + const activeRound = await open(cancellation.evaluationId, "open-cancellable-round", restored, false); const activeWorkflow = (activeRound.record.payload as { execution: { workflowId: string } }).execution.workflowId; - await waitFor(() => provider.requests.length === 5 ? true : undefined); + await waitFor(() => provider.requests.length === 7 ? true : undefined); const cancel = { workItemId: item.id, roundId: activeRound.record.id, expectedRoundRevision: activeRound.record.collaborationRevision, expectedWorkItemRevision: currentRevision(), idempotencyKey: "cancel-active-round", reason: "Close the open deliberation." }; const { record: cancelled } = await restored.call("workItem/deliberation/cancel", cancel); @@ -3916,7 +3956,16 @@ test("an admitted read-only deliberation runs once and releases its accepted dec await waitFor(() => retainedStore.getChannelWorkflow(activeWorkflow)?.status === "cancelled" ? true : undefined); assert.equal(retainedStore.listChannelWorkflowSteps({ workflowId: activeWorkflow, complete: true }).filter(step => step.runId).length, 1); assert.equal((await restored.call("workItem/deliberation/cancel", cancel)).record.id, cancelled.id); - assert.equal(provider.requests.length, 5); + assert.equal(provider.requests.length, 7); + + const { evaluation: consensus } = await evaluate([evidenceRef], "resolved-by-challenge", restored, null, "agreed-adapter"); + const direct = await open(consensus.evaluationId, "without-voting", restored); + const directId = (direct.record.payload as { execution: { workflowId: string } }).execution.workflowId; + await waitFor(() => retainedStore.getChannelWorkflow(directId)?.status === "succeeded" ? true : undefined); + assert.equal(provider.requests.length, 11); + assert.deepEqual((await progress(restored)).deliberationWorkflows?.find(round => round.workflowId === directId)?.outcome, + { status: "consensus", recommendation: optionRefs[0] }); + assert.equal(retainedStore.listChannelWorkflowSteps({ workflowId: directId, status: "skipped", complete: true }).length, 2); const { daemonUrl, authToken } = fixture.transportOptions(); const startTarget = () => fetch(`${daemonUrl}/workflow-steps/${waiting.id}/start?cwd=${encodeURIComponent(fixture.cwd)}`, { @@ -3928,14 +3977,14 @@ test("an admitted read-only deliberation runs once and releases its accepted dec const stale = await startTarget(); assert.equal(stale.status, 409); assert.equal((await stale.json() as { error: string }).error, "work_item_deliberation_candidate_stale"); - assert.equal(provider.requests.length, 5); + assert.equal(provider.requests.length, 11); await writeFile(contractPath, "The legacy field remains readable.\n"); const started = await startTarget(); if (!started.ok) assert.fail(await started.text()); await started.text(); await waitFor(() => retainedStore.getChannelWorkflowStep(waiting.id)?.status === "succeeded" ? true : undefined); assert.equal(retainedStore.listRuns({ workflowStepId: waiting.id, complete: true }).length, 1); - assert.match(JSON.stringify(provider.requests[5]), new RegExp(decided.record.id, "u")); + assert.match(JSON.stringify(provider.requests[11]), new RegExp(decided.record.id, "u")); }); test("a successor Workflow waits for an independent live Run owned by its predecessor", { timeout: 30_000 }, async t => { From 81b6c7c12159e7994eb4b634e2bfafab624dce04 Mon Sep 17 00:00:00 2001 From: tianxiaochannel-oss88 Date: Wed, 25 Nov 2026 22:39:14 +0800 Subject: [PATCH 112/147] Preserve source Plan Mode checks for unbound workflows --- packages/daemon/src/features/channels/plan-mode-guard.ts | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/packages/daemon/src/features/channels/plan-mode-guard.ts b/packages/daemon/src/features/channels/plan-mode-guard.ts index ba38cc287..a17c68514 100644 --- a/packages/daemon/src/features/channels/plan-mode-guard.ts +++ b/packages/daemon/src/features/channels/plan-mode-guard.ts @@ -12,8 +12,10 @@ export function getChannelPlanModeBlocker(store: RunStore, channelId: string | u return thread?.conversationMode.mode === "plan" ? PLAN_MODE_WORKFLOW_BLOCKER : undefined; } -export function getWorkflowPlanModeBlocker(store: RunStore, workflow: ChannelWorkflow): string | undefined { - const deliberation = readWorkItemDeliberationWorkflowBinding(store, workflow.id); +type WorkflowPlanningSubject = Pick & Partial>; + +export function getWorkflowPlanModeBlocker(store: RunStore, workflow: WorkflowPlanningSubject): string | undefined { + const deliberation = workflow.id ? readWorkItemDeliberationWorkflowBinding(store, workflow.id) : undefined; if (deliberation) { const parent = store.getChannelWorkflow(deliberation.originWorkflowId); return parent?.channelId === workflow.channelId ? sourcePlanModeBlocker(store, parent) : SOURCE_CONVERSATION_BLOCKER; @@ -21,7 +23,7 @@ export function getWorkflowPlanModeBlocker(store: RunStore, workflow: ChannelWor return sourcePlanModeBlocker(store, workflow); } -function sourcePlanModeBlocker(store: RunStore, workflow: ChannelWorkflow): string | undefined { +function sourcePlanModeBlocker(store: RunStore, workflow: WorkflowPlanningSubject): string | undefined { const turnId = workflow.metadata?.sourceTurnId; const itemId = workflow.metadata?.sourceMessageId; // Legacy channel work has no conversation attribution. It keeps the default From 0db7f103bf4982cb73de3cc4acc631b074f75810 Mon Sep 17 00:00:00 2001 From: tianxiaochannel-oss88 Date: Thu, 26 Nov 2026 02:24:19 +0800 Subject: [PATCH 113/147] fix(api-client): connect before work item device requests --- packages/api-client/src/app-server.ts | 3 ++ packages/api-client/test/app-server.test.ts | 41 +++++++++++++++++---- 2 files changed, 37 insertions(+), 7 deletions(-) diff --git a/packages/api-client/src/app-server.ts b/packages/api-client/src/app-server.ts index a08fff475..d304aec4b 100644 --- a/packages/api-client/src/app-server.ts +++ b/packages/api-client/src/app-server.ts @@ -610,14 +610,17 @@ export class LingAppServerClient { } async readWorkItemDevice(workItemId: string): Promise { + await this.connect(); return await this.request("workItem/device/read", { workItemId }); } async bindWorkItemDevice(params: LingAppServerWorkItemDeviceBindParams): Promise { + await this.connect(); return await this.request("workItem/device/bind", params); } async recordWorkItemDeviceReceipt(params: LingAppServerWorkItemDeviceReceiptParams): Promise { + await this.connect(); return await this.request("workItem/device/receipt", params); } diff --git a/packages/api-client/test/app-server.test.ts b/packages/api-client/test/app-server.test.ts index 25dbf7b04..e0c2d1664 100644 --- a/packages/api-client/test/app-server.test.ts +++ b/packages/api-client/test/app-server.test.ts @@ -235,12 +235,6 @@ test("Ling App Server client routes the development, delivery, grant, worktree a enabled: true, kind: "checkpoint", durationMs: 1000 }); await client.createWorkItem({ sourceId: "source", title: "Fixture" }); await client.acceptWorkItem({ workItemId: "item", expectedWorkItemRevision: 1, idempotencyKey: "accept" }); - await client.readWorkItemDevice("item"); - await client.bindWorkItemDevice({ workItemId: "item", graphId: "graph", graphNodeId: "node", graphRevision: 1, - ownerHostId: "host", ownerRouteGeneration: 1, workUnitId: "unit", expectedWorkItemRevision: 1, idempotencyKey: "bind-device" }); - await client.recordWorkItemDeviceReceipt({ workItemId: "item", bindingId: "binding", expectedBindingRevision: 1, - expectedWorkItemRevision: 1, ownerHostId: "host", ownerRouteGeneration: 1, workUnitId: "unit", status: "unknown", - resultRef: "journal", idempotencyKey: "receipt-device" }); await client.readWorkItemStageQuestions({ workItemId: "item" }); await client.listWorkItemStageMessages({ workItemId: "item" }); await client.captureChanges(); @@ -253,11 +247,44 @@ test("Ling App Server client routes the development, delivery, grant, worktree a "server/grants/create", "server/grants/create", "server/grants/list", "server/grants/revoke", "handoff/create", "handoff/read", "handoff/resume", "github/subject/read", "github/delivery/reconcile", "workItem/delivery/read", "delivery/read", "workItem/coordination/schedule/read", "workItem/coordination/schedule/set", "workItem/create", "workItem/accept", - "workItem/device/read", "workItem/device/bind", "workItem/device/receipt", "workItem/question/read", "workItem/message/list", "changes/capture", "worktree/list", "worktree/create", "worktree/refresh", "worktree/cleanup/preview", "worktree/cleanup", + "workItem/question/read", "workItem/message/list", "changes/capture", "worktree/list", "worktree/create", "worktree/refresh", "worktree/cleanup/preview", "worktree/cleanup", ]); client.close(); }); +test("Ling App Server client initializes before each first work item device request", async t => { + const requests = { + "workItem/device/read": async (client: LingAppServerClient) => { + const result = await client.readWorkItemDevice("item"); + assert.deepEqual(result.bindings, []); + }, + "workItem/device/bind": async (client: LingAppServerClient) => { + const result = await client.bindWorkItemDevice({ workItemId: "item", graphId: "graph", graphNodeId: "node", graphRevision: 1, + ownerHostId: "host", ownerRouteGeneration: 1, workUnitId: "unit", expectedWorkItemRevision: 1, idempotencyKey: "bind-device" }); + assert.equal(result.binding.status, "bound"); + }, + "workItem/device/receipt": async (client: LingAppServerClient) => { + const result = await client.recordWorkItemDeviceReceipt({ workItemId: "item", bindingId: "binding", expectedBindingRevision: 1, + expectedWorkItemRevision: 1, ownerHostId: "host", ownerRouteGeneration: 1, workUnitId: "unit", status: "unknown", + resultRef: "journal", idempotencyKey: "receipt-device" }); + assert.equal(result.binding.receipt?.receiptId, "receipt"); + }, + }; + for (const [method, request] of Object.entries(requests)) { + await t.test(method, async subtest => { + const socket = new FakeSocket(); + const client = new LingAppServerClient({ + url: "ws://fixture/app-server/rpc", + createSocket: () => socket, + clientInfo: { name: "fixture-client", version: "1" }, + }); + subtest.after(() => client.close()); + await request(client); + assert.deepEqual(socket.sent.map(message => message.method), ["initialize", "initialized", method]); + }); + } +}); + async function waitForCondition(predicate: () => boolean): Promise { const deadline = Date.now() + 1_000; while (!predicate()) { From 5f877e07b1eda0bb7ceb410dd985971a831aa5e0 Mon Sep 17 00:00:00 2001 From: tianxiaochannel-oss88 Date: Thu, 26 Nov 2026 02:24:19 +0800 Subject: [PATCH 114/147] feat: admit checkpoint deliberations under host policy --- ...g-agent-operating-model-detailed-design.md | 2 + .../ling-app-server-implementation-plan.md | 5 +- packages/contracts/src/app-server-schema.ts | 3 +- packages/contracts/src/app-server.ts | 3 +- .../contracts/test/app-server-schema.test.ts | 3 + packages/core/src/app-server-state-types.ts | 1 + packages/core/src/run-types.ts | 4 +- packages/core/src/storage/sqlite-run-store.ts | 20 +- .../src/storage/sqlite/work-item-store.ts | 15 ++ .../src/work-item-deliberation-workflow.ts | 6 + packages/daemon/src/config.ts | 5 + .../daemon/src/features/runs/orchestrator.ts | 12 +- .../work-items/deliberation-workflow.ts | 19 +- .../server/app-server-deliberation-config.ts | 72 ++++++ .../src/server/app-server-deliberation.ts | 208 ++++++++++++++---- packages/daemon/src/server/rpc.ts | 11 +- .../app-server-release-acceptance.test.ts | 146 +++++++++++- 17 files changed, 469 insertions(+), 66 deletions(-) create mode 100644 packages/daemon/src/server/app-server-deliberation-config.ts diff --git a/docs/design/ling-agent-operating-model-detailed-design.md b/docs/design/ling-agent-operating-model-detailed-design.md index 8b395551a..f4f9563ab 100644 --- a/docs/design/ling-agent-operating-model-detailed-design.md +++ b/docs/design/ling-agent-operating-model-detailed-design.md @@ -479,6 +479,8 @@ Decision materiality measures the consequences of choosing between viable option Suggestions and automatic admission require at least two viable options and at least two distinct eligible participants. The effective policy also checks required roles and the accepted template. The default permits one challenge pass. Automatic admission requires explicit checkpoint and decision kind allowlists, an authorized decision owner, a finite budget and a declared cooldown for another revision of the same decision. The effective budget is bounded by the project, accepted Workflow and remaining Work Item limits. Runtime admission reserves capacity for each step from that budget. Voting requires the `when_unresolved` policy and the accepted roster and ballot rules. +The Daemon accepts Host policy entries through `appServerDeliberationPolicies` or the JSON array at `LING_STACK_APP_SERVER_DELIBERATION_POLICY_FILE`. Each entry selects a canonical `workspaceRoot` and `channelId`. For `auto_start` on an accepted stage, an authorized `workItem/deliberation/evaluate` call checks the scope, option count, roles, evidence age, decision cooldown and available Provider reservation. A successful evaluation returns `outcome: "start"` and `existingRoundId`. The evaluation, round, Workflow and cooldown receipt commit together. The admitted Workflow records the policy revision, effective participant scope, user decision owner, deadline and aggregate token ceiling. The Pi provider admission transaction counts measured and reserved tokens for the whole round and blocks further requests when usage is unresolved. [Host policy configuration](../../packages/daemon/src/server/app-server-deliberation-config.ts) + Apply the current accepted subject, candidate, source visibility and required evidence at each admission, ballot freeze and decision. An optional maximum age adds a time limit measured from the source owner's evidence timestamp. At a plan checkpoint, viability is evaluated against the available plan evidence and constraints for that checkpoint. Implementation and delivery use their own required checks when a candidate exists. Store the evaluation with its checkpoint receipt and Work Item decision revision. The stable decision ID names the question and its affected dependency. A materially changed relevant option or evidence snapshot, a changed accepted subject, or an accepted follow-up can create a linked successor revision. The tuple of Work Item, decision ID and decision revision admits at most one round. Bind its receipt to the subject digest and policy revision. Replayed notifications and concurrent callers resolve to the same record. A deferred admission can retry within its deadline and policy when capacity becomes available. Cooldown, insufficient scope, evidence, budget or options produce a reason visible to the coordinator. diff --git a/docs/design/ling-app-server-implementation-plan.md b/docs/design/ling-app-server-implementation-plan.md index 7b550f609..afb59d000 100644 --- a/docs/design/ling-app-server-implementation-plan.md +++ b/docs/design/ling-app-server-implementation-plan.md @@ -2,7 +2,7 @@ - **状态** App Server 本机传输、Turn 控制与恢复、Verify 和 Federation 已通过定向验收。Agent Operating Model 已接入工作项接单、控制和协作记录。下文列出完整实施与发行仍需完成的工作包。 - **维护者** Contracts、Daemon、Runtime、API Client、CLI 与开发工具维护者 -- **核对基线** `origin/main@7b47c21ab` +- **核对基线** `origin/main@9bb2d6438` - **类型** 开发准备、依赖顺序和验收计划 - **合同** [产品与架构设计](ling-app-server.md) · [详细设计](ling-app-server-detailed-design.md) - **代码与测试锚点** [Daemon RPC](../../packages/daemon/src/server/rpc.ts) · [控制面往返测试](../../packages/daemon/test/control-plane-api.test.mjs) · [会话受理收据](../../packages/daemon/test/conversation-submission-receipts.test.mjs) · [框架验收](ling-framework-complementary-implementation-plan.md) @@ -71,6 +71,7 @@ | O7/O9 决策检查点 | `workItem/deliberation/evaluate` 在当前草案或 Workflow 阶段核对检查点、选项、证据和参与人。缺意图、事实或交接材料会给出澄清、Verify 或交接修复;有实质取舍时保存建议,操作方可通过 App Server、SDK 或 MCP 接受、裁决或取消。Verify/Review 的事实争议需引用同工作项、同 Plan 和同候选的实际 Verify 执行。开轮和裁决复核当前候选。联调覆盖 Plan Mode 建议、在途争议转 Verify、并发只开一轮、重启重放、限域读取,以及草案、证据或候选变化后的旧裁决失效。该入口产生供草案或当前阶段参考的决策记录。声明式 Workflow 仍按已接受的条件执行投票和派发。 | | O8 阶段临时审议 | `workItem/deliberation/open` 的 `execution: "read_only_workflow"` 将轮次和独立 Workflow 一起受理。实际 Daemon 回归用两个客户端并发开启,由两名参与者各自提案和质疑。裁决引用已封存的输出。进展可订阅和重放,取消通过 Workflow 停止入口收尾。联调比较原 Workflow 和步骤记录,核对原计划归属,并拒绝使用仅所有者可见的材料启动参与者。 | | O8 条件投票 | 临时轮次选择 `ballotMode: "when_unresolved"` 后,Daemon 用已封存的质疑结果判定是否开票。实际 Daemon 回归覆盖相同证据下直接汇总、仅在仍有取舍时开票、票未齐时隐藏明细与票数、两票平票、重启重放及有权裁决后继续。 | +| O8 自动受理 | Host 对指定工作区和频道启用 `auto_start` 后,受权协调者提交当前阶段检查点即可开启关联的只读 Workflow。受理按检查点、决定种类、重要性、角色、证据时效、冷却与预算核对。实际 Daemon 回归覆盖缺少预算时保留评估、尚有事实争议时返回 Verify、写回执失败时整笔回滚、两个客户端只开一轮、重启重读原证据,以及预算余量不足时第二个 Provider 请求被拦截。 | | O8/O9 裁决回接 | 接受 Plan 时可为步骤登记 `requiredDecision.receiptSource: "checkpoint"` 和允许的选项。评估引用目标步骤、候选及映射到该选项的提案。裁决与适用性回执同时提交,原 Workflow 在派发前重查同一候选。真实 Daemon 回归覆盖回执写入中断后的事务回滚、并发复用、重启、候选漂移拒绝和原步骤只启动一次。 | | O7 定时协调轮次 | 已配置的 Automation 在同一事务中写入终态回执、轮次和事件。实际调度器从重启前的时段恢复。故障注入验证提交失败不会留下回执或轮次。回执重放复用原轮次。截止后生成简报和关闭事件,暂停的工作项产生跳过回执。已暂停、禁用或归档的 Automation 在「立即运行」和时段受理入口均返回 `automation_not_runnable`,保留既有记录。该用例启动的 Runner 数量为零。 | | O7/O9 阶段交接修复 | 源阶段修订更新后,已接受计划中的交接依赖仍保留原退回。真实 Daemon 回归覆盖省略退回回执、沿用旧候选或旧检查的拒绝,以及用当前结果包和可信检查并发接受。HTTP 与 App Server 返回同一接受回执,重启后复用退回与接受记录,QA 只启动一次。 | @@ -96,7 +97,7 @@ Windows 源码验收使用独立的 GitHub Actions 作业,启动真实 CLI std | A1、B1、C1、C2 | 全方法的 Schema 校验和更多宿主兼容组合。workspace、Thread、Work Item 的 grant 和 WSS 已接入。专用 TLS 监听器实测分离控制和答复权限,支持用户答复原回执与撤权。审批和答复仍需在其他宿主和实际远程部署验收。目标游标已绑定存储代次、授权代次和目标,本机兼容用例覆盖上一版源码与候选组合。 | | D1、D2、E1、E2 | 开工与 Pi 运行中的项目规则加载、显式 Claude 规则、两个开发 Skill、工作区 Verify、独立 verifier basis、托管工作树管理、候选改动分页、Turn 改动恢复、选中 hunk 转移和工作台浏览器验证报告已接入。各发行平台验证仍待完成。 | | F1、F2 | 普通会话 Handoff 的候选封存、Goal 预算承接与接手已接入。CLI `app-server codex-host --thread --state --view` 在回环地址提供双端会话视图。本机 Codex 0.171.0-alpha.13、实际 Ling Daemon 与受控 Provider 联调验证两端状态、Ling 在途排队、活跃 Codex Turn 指导、浏览器重连补齐、回执重放和审批提醒。故障回归覆盖原状态库升级、未写出的请求在重连后补投一次,以及已发出但缺少有效回执时保留待确认结果。Pi Host 预算路径的逐请求预留已使用受控 Provider 验证,仍需真实 Provider、隔离工作树和其他 Runner 的对应验收。 | -| O1、O3–O9 | GitHub 签名 webhook、轮询和显式接单归并至同一工作项。自动接单策略处理免打扰、并发、启动额度和派发前状态重查。现有 Task、AutomationRun 和同频道用户输入可显式关联工作项。已接受的计划能自动开启声明的阶段审议,并可等待当前 Workflow 结果包的交接回执。受影响阶段可单独暂停,后继阶段可显式引用已收敛或仍在途的独立成果,待执行阶段可接收定向消息和有原 Run 证据的 Agent 答复。工作项暂停期间拒绝新增定向消息。阶段客户端和支持协作工具的 Pi 阶段按 Run/Attempt 收发,Pi 在下一次模型输入接收消息和问答。Workflow 执行使用工作项重试上限,并可依据跨 Run 的结构化故障记录暂停单项阶段。可信 Verify 和已接受 Plan 指定的 Review 均可提供停滞恢复证据。决策检查点支持计划前和在途阶段的建议、接受与手工裁决。Device Work Item Bridge 的持久映射、receipt 账本和 App Server 入口已实现。已接受阶段可显式开启独立只读审议、按质疑结果投票,并将裁决应用到声明的候选依赖。计划前多角色塑形、策略自动准入和 O9 联合验收仍待完成。 | +| O1、O3–O9 | GitHub 签名 webhook、轮询和显式接单归并至同一工作项。自动接单策略处理免打扰、并发、启动额度和派发前状态重查。现有 Task、AutomationRun 和同频道用户输入可显式关联工作项。已接受的计划能自动开启声明的阶段审议,并可等待当前 Workflow 结果包的交接回执。受影响阶段可单独暂停,后继阶段可显式引用已收敛或仍在途的独立成果,待执行阶段可接收定向消息和有原 Run 证据的 Agent 答复。工作项暂停期间拒绝新增定向消息。阶段客户端和支持协作工具的 Pi 阶段按 Run/Attempt 收发,Pi 在下一次模型输入接收消息和问答。Workflow 执行使用工作项重试上限,并可依据跨 Run 的结构化故障记录暂停单项阶段。可信 Verify 和已接受 Plan 指定的 Review 均可提供停滞恢复证据。决策检查点支持计划前和在途阶段的建议、接受与手工裁决。Device Work Item Bridge 的持久映射、receipt 账本和 App Server 入口已实现。已接受阶段可显式或按 Host 策略开启独立只读审议、按质疑结果投票,并将裁决应用到声明的候选依赖。自动受理使用已提交的检查点评估。计划前多角色塑形、在工作区设置中管理策略、协调者自动收集和提交检查点及 O9 联合验收仍待完成。 | | G | 独立恢复日志已验证 SQLite 快照恢复、撤权、旧游标失效和 GitHub 对账后派发。上一版源码通过同一套本地兼容验收。签名安装产物、实际远程 WSS、带独立检查 App 的 Ling 主动入队及三个真实 Provider 自研试点仍需对应环境的证据。macOS 打包预检需要当前打包输入的 Office 审查、对应 Electron/OS 的受限运行时审查和 gstack 平台资源。T01 离线预检可进入评审,真实试点仍需按 Framework Assurance 准入。 | ## 目标与开工顺序 diff --git a/packages/contracts/src/app-server-schema.ts b/packages/contracts/src/app-server-schema.ts index 2f9ff3ec1..224c2f6c6 100644 --- a/packages/contracts/src/app-server-schema.ts +++ b/packages/contracts/src/app-server-schema.ts @@ -454,7 +454,8 @@ function schemaFor(method: LingAppServerMethod): LingAppServerMethodSchema { }, ["workItemId", "expectedWorkItemRevision", "idempotencyKey", "decisionKey", "subject", "checkpoint", "checkpointRef", "decisionKind", "materiality", "question", "participantIds", "optionRefs", "evidenceRefs"]), result: objectWith({ cwd: stringSchema, workItemRevision: integerSchema, replayed: booleanSchema, - evaluation: objectWith({ ...deliberationEvaluationFields, candidateDigest: stringSchema, decisionStepId: stringSchema }, + evaluation: objectWith({ ...deliberationEvaluationFields, candidateDigest: stringSchema, decisionStepId: stringSchema, + existingRoundId: stringSchema }, Object.keys(deliberationEvaluationFields)), }, ["cwd", "workItemRevision", "replayed", "evaluation"]), }; diff --git a/packages/contracts/src/app-server.ts b/packages/contracts/src/app-server.ts index 9198f0be8..17729aec8 100644 --- a/packages/contracts/src/app-server.ts +++ b/packages/contracts/src/app-server.ts @@ -1300,7 +1300,7 @@ export const LING_APP_SERVER_DELIBERATION_DECISION_KINDS = [ export const LING_APP_SERVER_DECISION_MATERIALITIES = ["low", "medium", "high"] as const; export const LING_APP_SERVER_DELIBERATION_OUTCOMES = [ - "clarify", "verify", "handoff_repair", "suggest", "defer", "suppress", + "clarify", "verify", "handoff_repair", "suggest", "start", "defer", "suppress", ] as const; export type LingAppServerDeliberationCheckpoint = typeof LING_APP_SERVER_DELIBERATION_CHECKPOINTS[number]; @@ -1345,6 +1345,7 @@ export interface LingAppServerDeliberationEvaluation { readonly evidenceRefs: readonly string[]; readonly participantIds: readonly string[]; readonly decisionStepId?: string; + readonly existingRoundId?: string; readonly candidateDigest?: string; readonly expiresAt: string; readonly evaluatedAt: string; diff --git a/packages/contracts/test/app-server-schema.test.ts b/packages/contracts/test/app-server-schema.test.ts index 0fdc98d96..b50c249de 100644 --- a/packages/contracts/test/app-server-schema.test.ts +++ b/packages/contracts/test/app-server-schema.test.ts @@ -130,6 +130,9 @@ test("deliberation schemas describe the checkpoint and the frozen evaluation bas evaluatedAt: "2026-11-24T01:00:00.000Z", expiresAt: "2026-11-24T01:15:00.000Z", } } satisfies LingAppServerDeliberationEvaluateResult; assert.ok(validateLingAppServerResult("workItem/deliberation/evaluate", result).ok); + assert.ok(validateLingAppServerResult("workItem/deliberation/evaluate", { + ...result, evaluation: { ...result.evaluation, outcome: "start", existingRoundId: "closed-checkpoint-round" }, + }).ok); assert.equal(validateLingAppServerResult("workItem/deliberation/evaluate", { ...result, evaluation: { ...result.evaluation, outcome: "run" }, }).path, "result.evaluation.outcome"); diff --git a/packages/core/src/app-server-state-types.ts b/packages/core/src/app-server-state-types.ts index 37f66bc35..25d37469e 100644 --- a/packages/core/src/app-server-state-types.ts +++ b/packages/core/src/app-server-state-types.ts @@ -8,6 +8,7 @@ export type AppServerStateKind = "verify_plan" | "verify_operation" | "review_su | "change_recovery_request" | "change_transfer_request" | "github_intake_pending" | "github_intake_receipt" | "github_intake_dispatch" | "work_item_workflow" | "work_item_plan_change" | "native_intake_receipt" | "work_item_stage_message_delivery" | "work_item_deliberation_workflow" | "work_item_deliberation_application" | "work_item_deliberation_ballot" + | "work_item_deliberation_admission" | "work_item_stage_tool_receipt" | "work_item_stage_ballot" | "work_item_device_binding" | "work_item_device_receipt"; export interface AppServerStateRecord { diff --git a/packages/core/src/run-types.ts b/packages/core/src/run-types.ts index 94beca37d..7d7d6b523 100644 --- a/packages/core/src/run-types.ts +++ b/packages/core/src/run-types.ts @@ -2717,7 +2717,9 @@ export interface RunStore extends AutomationEventStore, CodeAssessmentStore, Cod readonly event?: ControlPlaneEvent; }; admitWorkItemDeliberationWorkflow(input: import("./work-item-deliberation-workflow.js").WorkItemDeliberationWorkflowAdmission, - now: string): import("./work-item-collaboration.js").AppendWorkItemCollaborationResult | undefined; + now: string): (import("./work-item-collaboration.js").AppendWorkItemCollaborationResult & { + readonly evaluationEvent?: ControlPlaneEvent; + }) | undefined; applyWorkItemDeliberationDecision(input: import("./work-item-evidence-types.js").AppendWorkItemEvidenceInput, application: import("./work-item-deliberation-workflow.js").WorkItemDeliberationApplication, now: string, event: import("./work-item-evidence-types.js").WorkItemEvidenceEventOptions): import("./work-item-evidence-types.js").AppendWorkItemEvidenceResult | undefined; diff --git a/packages/core/src/storage/sqlite-run-store.ts b/packages/core/src/storage/sqlite-run-store.ts index 885212f5b..bb49b75b6 100644 --- a/packages/core/src/storage/sqlite-run-store.ts +++ b/packages/core/src/storage/sqlite-run-store.ts @@ -6242,18 +6242,28 @@ export class SqliteRunStore implements RunStore { return undefined; } const result = withSqliteSnapshotParentTransaction(this.database, () => { - const { workflow, binding, round } = input.compile(); - const appended = appendWorkItemCollaboration({ + const append = (entry: Parameters[1]) => appendWorkItemCollaboration({ getWorkItem: id => this.getWorkItem(id), listWorkItemEvidence: options => this.listWorkItemEvidence(options), - appendWorkItemEvidence: (entry, createdAt, event) => this.workItemEvidence.appendWithinTransaction(entry, createdAt, + appendWorkItemEvidence: (input, createdAt, event) => this.workItemEvidence.appendWithinTransaction(input, createdAt, event ? { ...event, store: this.controlPlane } : undefined), - }, { ...round, assertCurrent: input.assertCurrent }, now, this.paths.cwd); + }, entry, now, this.paths.cwd); + const evaluation = input.evaluation && append(input.evaluation); + if (input.evaluation && evaluation?.status !== "appended") throw new Error("work_item_deliberation_evaluation_stale"); + const { workflow, binding, round } = input.compile(); + const appended = append({ ...round, assertCurrent: input.assertCurrent }); if (appended?.status !== "appended") throw new Error("work_item_deliberation_round_admission_changed"); const linked = this.appServerState.putWithinTransaction({ kind: "work_item_deliberation_workflow", recordId: workflow.id, expectedRevision: 0, payload: { binding } }, now); if (!linked) throw new Error("work_item_deliberation_workflow_already_linked"); - return appended; + if (binding.automatic) { + const { decisionId, policyRevision } = binding.automatic; + const prior = this.appServerState.get("work_item_deliberation_admission", decisionId); + const admission = this.appServerState.putWithinTransaction({ kind: "work_item_deliberation_admission", recordId: decisionId, + expectedRevision: prior?.revision ?? 0, payload: { roundId: binding.roundId, policyRevision } }, now); + if (!admission) throw new Error("work_item_deliberation_admission_stale"); + } + return { ...appended, ...(evaluation?.event ? { evaluationEvent: evaluation.event } : {}) }; }); this.database.exec("COMMIT"); return result; diff --git a/packages/core/src/storage/sqlite/work-item-store.ts b/packages/core/src/storage/sqlite/work-item-store.ts index 1a8141ce9..4200ad67c 100644 --- a/packages/core/src/storage/sqlite/work-item-store.ts +++ b/packages/core/src/storage/sqlite/work-item-store.ts @@ -879,6 +879,21 @@ export class SqliteWorkItemStore { if (!step || !link && !deliberation) return undefined; const blocker = this.getWorkflowAdmissionBlocker(step.workflowId, state, step, rootRunId); if (blocker) return blocker; + if (deliberation?.automatic) { + const charges = this.context.database.prepare(` + SELECT SUM(CASE WHEN c.state='measured' THEN c.input_tokens+c.output_tokens + WHEN c.state='reserved' THEN c.reserved_tokens ELSE 0 END) AS tokens, + MAX(c.state='unresolved' OR c.state='reserved' AND c.reserved_tokens IS NULL) AS unknown + FROM channel_workflow_steps s + JOIN run_sessions r ON r.workflow_step_id=s.id AND r.channel_id=s.channel_id + JOIN delegation_budget_charges c ON c.root_run_id=r.id + WHERE s.workspace_id=? AND s.workflow_id=? + `).get(step.workspaceId, step.workflowId); + if (requestedTokens === undefined || charges?.unknown === 1) return "work_item_deliberation_budget_unconfirmed"; + if (requestedTokens > deliberation.automatic.maxTokens - Number(charges?.tokens ?? 0)) { + return "work_item_deliberation_budget_exhausted"; + } + } const item = this.getWorkItem((link?.binding ?? deliberation!).workItemId); if (!item?.workflowId) return "work_item_workflow_stale"; const current = item.workflowId === step.workflowId diff --git a/packages/core/src/work-item-deliberation-workflow.ts b/packages/core/src/work-item-deliberation-workflow.ts index 6428635bc..ac822d7af 100644 --- a/packages/core/src/work-item-deliberation-workflow.ts +++ b/packages/core/src/work-item-deliberation-workflow.ts @@ -12,6 +12,11 @@ export interface WorkItemDeliberationWorkflowBinding { readonly planRevision: string; readonly controlGeneration: number; readonly deadlineAt: string; + readonly automatic?: { + readonly decisionId: string; + readonly policyRevision: string; + readonly maxTokens: number; + }; readonly candidate?: { readonly cwd: string; readonly digest: string }; readonly providerRevisions: Readonly>; readonly decisionTarget?: WorkItemDeliberationTarget; @@ -50,6 +55,7 @@ export interface WorkItemDeliberationWorkflowAdmission { readonly workItemId: string; readonly expectedWorkItemRevision: number; readonly roundId: string; + readonly evaluation?: AppendWorkItemCollaborationInput; readonly assertCurrent: () => void; readonly compile: () => { readonly workflow: ChannelWorkflow; diff --git a/packages/daemon/src/config.ts b/packages/daemon/src/config.ts index ec128f2a7..98ac13deb 100644 --- a/packages/daemon/src/config.ts +++ b/packages/daemon/src/config.ts @@ -12,6 +12,8 @@ import { resolveVerificationRecipes, type AppServerVerificationRecipeConfig } fr import { resolveAppServerGitHubSources, type AppServerGitHubSourceConfig } from "./server/app-server-github-sources.js"; import { resolveNativeWorkIntakePolicies, type NativeWorkIntakeConfig, type NativeWorkIntakePolicy } from "./server/app-server-native-intake-config.js"; import { resolveAppServerWssConfig, type AppServerWssConfig } from "./server/app-server-wss-config.js"; +import { resolveAppServerDeliberationPolicies, type AppServerDeliberationPolicy, + type AppServerDeliberationPolicyConfig } from "./server/app-server-deliberation-config.js"; export interface DaemonConfig { readonly host?: string; @@ -30,6 +32,7 @@ export interface DaemonConfig { readonly appServerVerificationRecipes?: readonly AppServerVerificationRecipeConfig[]; readonly appServerGitHubSources?: readonly AppServerGitHubSourceConfig[]; readonly appServerNativeIntake?: readonly NativeWorkIntakeConfig[]; + readonly appServerDeliberationPolicies?: readonly AppServerDeliberationPolicyConfig[]; /** Private Host storage retained independently of the workspace SQLite backup. */ readonly appServerRecoveryDirectory?: string; readonly appServerWss?: AppServerWssConfig; @@ -201,6 +204,7 @@ export interface ResolvedDaemonConfig { readonly appServerVerificationRecipes: readonly AppServerVerificationRecipeConfig[]; readonly appServerGitHubSources: readonly AppServerGitHubSourceConfig[]; readonly appServerNativeIntake: readonly NativeWorkIntakePolicy[]; + readonly appServerDeliberationPolicies: readonly AppServerDeliberationPolicy[]; readonly appServerRecoveryDirectory?: string; readonly appServerWss?: AppServerWssConfig; readonly channels: ChannelFeatureConfig; @@ -272,6 +276,7 @@ export function resolveConfig(config: DaemonConfig): ResolvedDaemonConfig { appServerVerificationRecipes: resolveVerificationRecipes(config.appServerVerificationRecipes), appServerGitHubSources: resolveAppServerGitHubSources(config.appServerGitHubSources), appServerNativeIntake: resolveNativeWorkIntakePolicies(config.appServerNativeIntake), + appServerDeliberationPolicies: resolveAppServerDeliberationPolicies(config.appServerDeliberationPolicies), appServerRecoveryDirectory, appServerWss: resolveAppServerWssConfig(config.appServerWss), transports: { diff --git a/packages/daemon/src/features/runs/orchestrator.ts b/packages/daemon/src/features/runs/orchestrator.ts index 20d391803..8e3a4e8fd 100644 --- a/packages/daemon/src/features/runs/orchestrator.ts +++ b/packages/daemon/src/features/runs/orchestrator.ts @@ -22,6 +22,7 @@ import { getEffectiveTeammateSkill, getRunSummaryPath, readWorkItemDeliberationBallotBasis, + readWorkItemDeliberationWorkflowBinding, redactSecrets, type EffectiveRunPolicySnapshot, type LingThread, @@ -3550,13 +3551,20 @@ async function executeAdmittedRunRequest( } }, }) : undefined; + const delegationMode = runtimeSupervisor.getHarnessFeatures().delegations.mode; + const providerBudget = !isolatedExecution && runnerResolution.runner.adapter instanceof PiRunnerAdapter + && delegationMode !== "off" && (!run.parentRunId || delegatedExecution) + ? bindOriginalDelegationProviderBudget({ store, run, attempt, originalProvider: activeProvider }) : undefined; + if (workflowStep && readWorkItemDeliberationWorkflowBinding(store, workflowStep.workflowId)?.automatic + && (delegationMode !== "enforce" || !providerBudget?.requiresTokenUpperBound)) { + throw new HttpError(409, "work_item_deliberation_budget_unavailable", "Automatic deliberation requires enforced Provider reservations."); + } const boundRunnerRequest: PiRunnerRunOptions = { ...runnerRequest, ...(projectInstructions ? { projectInstructionContext: projectInstructions.projectContext } : {}), ...(acceptsStageMessages ? { stageMessageContext: createStageMessageReceiver({ store, run, attemptId: attempt.id, assertCurrent: assertCurrentRunAdmission, events: options.controlPlaneEvents, extraSecrets: resolvedSecretValues }) } : {}), - ...(!isolatedExecution && runnerResolution.runner.adapter instanceof PiRunnerAdapter && runtimeSupervisor.getHarnessFeatures().delegations.mode !== "off" - && (!run.parentRunId || delegatedExecution) ? { providerBudget: bindOriginalDelegationProviderBudget({ store, run, attempt, originalProvider: activeProvider }) } : {}), + ...(providerBudget ? { providerBudget } : {}), ...(delegationRunnerToolHandler ? { onDelegationToolCall: delegationRunnerToolHandler } : {}), ...(workItemCoordinationToolHandler ? { onWorkItemCoordinationCall: workItemCoordinationToolHandler } : {}), ...(runnerResolution.runner.adapter instanceof PiRunnerAdapter diff --git a/packages/daemon/src/features/work-items/deliberation-workflow.ts b/packages/daemon/src/features/work-items/deliberation-workflow.ts index bc22feb31..83a99bd26 100644 --- a/packages/daemon/src/features/work-items/deliberation-workflow.ts +++ b/packages/daemon/src/features/work-items/deliberation-workflow.ts @@ -14,16 +14,16 @@ import { isRecord } from "../../shared/validation.js"; import { getWorkflowPlanModeBlocker } from "../channels/plan-mode-guard.js"; import { readDeliberationContribution, readDeliberationOutcome } from "./deliberation-ballot.js"; -export function materializeDeliberationWorkflow(store: RunStore, input: { - readonly binding: Omit; +interface DeliberationWorkflowInputs { readonly origin: ChannelWorkflowStep; readonly question: string; readonly participants: readonly AiTeammate[]; readonly options: readonly WorkItemEvidenceEntry[]; readonly evidence: readonly WorkItemEvidenceEntry[]; - readonly now: string; -}) { - const { binding, origin, participants, question, now } = input; +} + +export function readDeliberationWorkflowInputs(store: RunStore, input: DeliberationWorkflowInputs) { + const { origin, participants, question } = input; const parent = store.getChannelWorkflow(origin.workflowId); const channel = store.getChannel(origin.channelId); if (!parent || !channel) throw new HttpError(409, "stale_revision", "The originating Workflow is unavailable."); @@ -44,6 +44,15 @@ export function materializeDeliberationWorkflow(store: RunStore, input: { if (!preset || !preset.provider.enabled) throw new HttpError(409, "resume_blocked", "Each participant needs a current Provider preset."); return preset; }); + return { channel, context, presets }; +} + +export function materializeDeliberationWorkflow(store: RunStore, input: DeliberationWorkflowInputs & { + readonly binding: Omit; + readonly now: string; +}) { + const { binding, participants, question, now } = input; + const { channel, context, presets } = readDeliberationWorkflowInputs(store, input); const workflow = store.createChannelWorkflow({ channelId: channel.id, title: "Work Item deliberation", diff --git a/packages/daemon/src/server/app-server-deliberation-config.ts b/packages/daemon/src/server/app-server-deliberation-config.ts new file mode 100644 index 000000000..f41911102 --- /dev/null +++ b/packages/daemon/src/server/app-server-deliberation-config.ts @@ -0,0 +1,72 @@ +import { createHash } from "node:crypto"; +import { readFileSync, realpathSync } from "node:fs"; +import { isAbsolute } from "node:path"; +import { + LING_APP_SERVER_DECISION_MATERIALITIES, + LING_APP_SERVER_DELIBERATION_CHECKPOINTS, + LING_APP_SERVER_DELIBERATION_DECISION_KINDS, +} from "@ling-stack/contracts"; +import { z } from "zod"; + +const id = z.string().trim().min(1).max(200).regex(/^[^\r\n\0]+$/u); +const selectors = { + workspaceRoot: z.string().refine(isAbsolute), + channelId: id, +}; +const policyConfig = z.discriminatedUnion("mode", [ + z.strictObject({ ...selectors, mode: z.literal("manual") }), + z.strictObject({ ...selectors, mode: z.literal("suggest") }), + z.strictObject({ + ...selectors, + mode: z.literal("auto_start"), + allowedTriggers: z.array(z.enum(LING_APP_SERVER_DELIBERATION_CHECKPOINTS)) + .min(1).max(LING_APP_SERVER_DELIBERATION_CHECKPOINTS.length), + allowedDecisionKinds: z.array(z.enum(LING_APP_SERVER_DELIBERATION_DECISION_KINDS)) + .min(1).max(LING_APP_SERVER_DELIBERATION_DECISION_KINDS.length), + minimumViableOptions: z.number().int().min(2).max(12), + minimumParticipants: z.number().int().min(2).max(12), + requiredRoleIds: z.array(z.enum(["product", "architect", "engineer", "designer", "qa", "security", "release", "docs", "custom"])) + .min(1).max(9), + minDecisionMateriality: z.enum(LING_APP_SERVER_DECISION_MATERIALITIES), + maxEvidenceAgeMs: z.number().int().positive().max(30 * 24 * 60 * 60_000).optional(), + cooldownMs: z.number().int().positive().max(24 * 60 * 60_000), + ballotMode: z.enum(["disabled", "when_unresolved"]), + decisionOwner: z.strictObject({ kind: z.literal("user") }), + budget: z.strictObject({ + maxTokens: z.number().int().positive().max(Number.MAX_SAFE_INTEGER), + maxDurationMs: z.number().int().positive().max(15 * 60_000), + }), + }), +]); + +type ReadonlyFields = T extends readonly (infer Item)[] ? readonly Item[] + : T extends object ? { readonly [Key in keyof T]: ReadonlyFields } : T; + +export type AppServerDeliberationPolicyConfig = ReadonlyFields>; +export type AppServerDeliberationPolicy = AppServerDeliberationPolicyConfig & { readonly revision: string }; +export type AutomaticDeliberationPolicy = Extract; + +export function resolveAppServerDeliberationPolicies(configured: readonly AppServerDeliberationPolicyConfig[] | undefined): + readonly AppServerDeliberationPolicy[] { + const file = process.env.LING_STACK_APP_SERVER_DELIBERATION_POLICY_FILE; + const input: unknown = configured ?? (file ? JSON.parse(readFileSync(file, "utf8")) : []); + const parsed = z.array(policyConfig).max(128).parse(input); + const seen = new Set(); + return Object.freeze(parsed.map(entry => { + const workspaceRoot = realpathSync(entry.workspaceRoot); + const scope = JSON.stringify([workspaceRoot, entry.channelId]); + if (seen.has(scope)) throw new Error("Duplicate App Server deliberation policy for a workspace channel."); + seen.add(scope); + const policy = entry.mode === "auto_start" ? { + ...entry, workspaceRoot, allowedTriggers: uniqueSorted(entry.allowedTriggers), + allowedDecisionKinds: uniqueSorted(entry.allowedDecisionKinds), requiredRoleIds: uniqueSorted(entry.requiredRoleIds), + budget: Object.freeze(entry.budget), decisionOwner: Object.freeze(entry.decisionOwner), + } : { ...entry, workspaceRoot }; + return Object.freeze({ ...policy, revision: createHash("sha256").update(JSON.stringify(policy)).digest("hex") }); + })); +} + +function uniqueSorted(values: readonly T[]): readonly T[] { + if (new Set(values).size !== values.length) throw new Error("Deliberation policy allowlists must contain unique entries."); + return Object.freeze([...values].sort()); +} diff --git a/packages/daemon/src/server/app-server-deliberation.ts b/packages/daemon/src/server/app-server-deliberation.ts index e11c73f40..fe5a5c49d 100644 --- a/packages/daemon/src/server/app-server-deliberation.ts +++ b/packages/daemon/src/server/app-server-deliberation.ts @@ -18,6 +18,7 @@ import { deliberationWorkflowStepDigest, readWorkItemCollaborationRecord, readWorkflowStageHandoff, + type AppendWorkItemCollaborationInput, type ChannelWorkflowStep, type ControlPlaneEvent, type RunStore, @@ -25,15 +26,17 @@ import { type WorkItemCollaborationRecord, type WorkItemConversationBinding, type WorkItemDeliberationTarget, + type WorkItemDeliberationWorkflowBinding, type WorkItemEvidenceEntry, } from "@ling-stack/core"; import { z } from "zod"; import { HttpError } from "../errors.js"; import { listEffectiveChannelAiTeammates } from "../features/channels/channel-teammate-availability.js"; -import { materializeDeliberationWorkflow } from "../features/work-items/deliberation-workflow.js"; +import { materializeDeliberationWorkflow, readDeliberationWorkflowInputs } from "../features/work-items/deliberation-workflow.js"; import { isRecord } from "../shared/validation.js"; import { readCompleteHandoffCandidate } from "../features/work-items/stage-handoff-candidates.js"; import { readWorkItemWorkflowBinding } from "../features/work-items/workflow-stages.js"; +import type { AppServerDeliberationPolicy, AutomaticDeliberationPolicy } from "./app-server-deliberation-config.js"; const evaluationPrefix = "work_item_deliberation_evaluation_"; const roundPrefix = "work_item_deliberation_round_"; @@ -87,9 +90,21 @@ interface SubjectBasis { readonly step?: ChannelWorkflowStep; } +interface DeliberationPolicyContext { + readonly policies: readonly AppServerDeliberationPolicy[]; + readonly hostTokenBudget?: number; + readonly assertRecoveryReady: () => void; +} + +type DeliberationDisposition = Pick; + export async function evaluateAppServerDeliberation( store: RunStore, input: LingAppServerDeliberationEvaluateParams, now: string, cwd: string, -): Promise { + policyContext: DeliberationPolicyContext, +): Promise { const { workItemId, expectedWorkItemRevision, idempotencyKey, cwd: _cwd, ...requested } = input; const item = requireWorkItem(store, workItemId); const decision = { @@ -109,29 +124,47 @@ export async function evaluateAppServerDeliberation( const decisionId = digest([item.id, decision.decisionKey, decision.subject.kind, basis.subject.decisionAnchor, ...(decision.decisionStepId ? [decision.decisionStepId] : [])]); const decisionRevision = digest([basis.digest, decision.decisionKind, decision.materiality, decision.question, decision.unresolved]); - const evaluationId = `${evaluationPrefix}${decisionId}_${digest([decisionRevision, decision.checkpoint, decision.checkpointRef])}`; if (basis.candidate) { await assertCandidateCurrent(basis.candidate); const committed = readReplay(); if (committed) return committed; } + const policy = policyContext.policies.find(entry => entry.workspaceRoot === cwd && entry.channelId === basis.subject.channelId); + const roundId = checkpointRoundId(workItemId, { decisionId, decisionRevision }); + const retainedRound = readWorkItemCollaborationRecord(store, workItemId, roundId); + const disposition = evaluateCheckpoint(item, basis, decision); + const automatic = policy?.mode === "auto_start" && disposition.outcome === "suggest" && basis.subject.step + && policy.allowedTriggers.includes(decision.checkpoint) && policy.allowedDecisionKinds.includes(decision.decisionKind) + && LING_APP_SERVER_DECISION_MATERIALITIES.indexOf(decision.materiality) + >= LING_APP_SERVER_DECISION_MATERIALITIES.indexOf(policy.minDecisionMateriality) ? policy : undefined; + const retainedAdmission = isRecord(retainedRound?.payload) && isRecord(retainedRound.payload.admission) + && retainedRound.payload.admission.policyRevision === automatic?.revision; + const autoBlocker = automatic && !retainedRound + ? automaticDeliberationBlocker(store, item, { basis, decision, decisionId, policy: automatic, policyContext, now }) : undefined; + const outcome: DeliberationDisposition = autoBlocker ? { outcome: "defer", reasonCode: autoBlocker } + : automatic && (!retainedRound || retainedAdmission) ? { outcome: "start", reasonCode: "automatic_policy_match" } + : disposition; + const evaluationId = `${evaluationPrefix}${decisionId}_${digest([decisionRevision, decision.checkpoint, decision.checkpointRef, + ...(policy ? [policy.revision, outcome, retainedRound && outcome.outcome !== "start" ? roundId : null] : [])])}`; const existing = readEvaluation(readWorkItemCollaborationRecord(store, workItemId, evaluationId)); if (existing) return { cwd, evaluation: existing.evaluation, workItemRevision: requireWorkItem(store, workItemId).revision, replayed: true }; if (item.revision !== expectedWorkItemRevision) throw stale("The Work Item revision changed before evaluation."); const evaluation: LingAppServerDeliberationEvaluation = { - evaluationId, decisionId, decisionRevision, subjectRevision: basis.subject.subjectRevision, policyRevision, + evaluationId, decisionId, decisionRevision, subjectRevision: basis.subject.subjectRevision, policyRevision: policy?.revision ?? policyRevision, checkpoint: decision.checkpoint, checkpointRef: decision.checkpointRef, optionRefs: decision.optionRefs, evidenceRefs: decision.evidenceRefs, participantIds: decision.participantIds, ...(decision.decisionStepId ? { decisionStepId: decision.decisionStepId } : {}), ...(basis.candidate ? { candidateDigest: basis.candidate.digest } : {}), + ...(retainedRound || outcome.outcome === "start" ? { existingRoundId: roundId } : {}), evaluatedAt: now, expiresAt: new Date(Date.parse(now) + validityMs).toISOString(), - ...evaluateCheckpoint(item, basis, decision), + ...outcome, }; const predecessor = latestEvaluation(store, item.id, decisionId); - const result = appendWorkItemCollaboration(store, { + const frozen = { evaluation, decision, basisDigest: basis.digest } satisfies FrozenEvaluation; + const evidence: AppendWorkItemCollaborationInput = { id: evaluationId, workItemId, expectedWorkItemRevision, idempotencyKey, kind: "deliberation", action: "created", actorId: "local-user", visibility: "owner", - payload: { evaluation, decision, basisDigest: basis.digest } satisfies FrozenEvaluation, + payload: frozen, ...(predecessor ? { parentRecordId: predecessor.evaluation.evaluationId } : {}), sourceRefs: basis.sourceRefs, assertCurrent: () => { @@ -139,11 +172,80 @@ export async function evaluateAppServerDeliberation( throw stale("The decision basis changed before the evaluation committed."); } }, - }, now, cwd); + }; + if (outcome.outcome === "start" && automatic && !retainedRound) { + policyContext.assertRecoveryReady(); + const { budget } = automatic; + const deadlineAt = new Date(Date.parse(now) + budget.maxDurationMs).toISOString(); + const round = checkpointRound(frozen, workItemId, roundId, expectedWorkItemRevision + 1, roundId, deadlineAt, basis); + const result = store.admitWorkItemDeliberationWorkflow({ + workItemId, expectedWorkItemRevision, roundId, evaluation: evidence, + assertCurrent: () => { + const current = requireWorkItem(store, workItemId); + const currentBasis = assertEvaluationCurrent(store, current, frozen, now, deadlineAt, true); + const blocker = automaticDeliberationBlocker(store, current, + { basis: currentBasis, decision, decisionId, policy: automatic, policyContext, now }); + if (blocker) throw new HttpError(409, "resume_blocked", blocker); + policyContext.assertRecoveryReady(); + }, + compile: () => compileCheckpointWorkflow(store, round, frozen, basis, item.control.generation, now, + automatic.ballotMode === "when_unresolved" ? automatic.ballotMode : undefined, automatic), + }, now); + if (!result) throw stale("The Work Item changed before automatic deliberation admission."); + return { cwd, evaluation, workItemRevision: result.workItemRevision, replayed: false, + event: result.evaluationEvent, admissionEvent: result.event }; + } + const result = appendWorkItemCollaboration(store, evidence, now, cwd); if (!result) throw stale("The Work Item revision changed before the evaluation committed."); return { cwd, evaluation, workItemRevision: result.workItemRevision, replayed: false, event: result.event }; } +function automaticDeliberationBlocker(store: RunStore, item: WorkItem, input: { + readonly basis: ReturnType; + readonly decision: FrozenEvaluation["decision"]; + readonly decisionId: string; + readonly policy: AutomaticDeliberationPolicy; + readonly policyContext: DeliberationPolicyContext; + readonly now: string; +}): string | undefined { + const { basis, decision, decisionId, policy, policyContext, now } = input; + const origin = basis.subject.step; + if (!origin) return "automatic_stage_unavailable"; + if (basis.optionEntries.length < policy.minimumViableOptions) return "automatic_options_incomplete"; + if (basis.participants.length < policy.minimumParticipants + || policy.requiredRoleIds.some(role => !basis.participants.some(participant => participant.roleKey === role))) { + return "automatic_roster_incomplete"; + } + const lastAdmission = store.getAppServerState("work_item_deliberation_admission", decisionId); + if (lastAdmission && Date.parse(now) - Date.parse(lastAdmission.updatedAt) < policy.cooldownMs) return "automatic_cooldown"; + if (policy.maxEvidenceAgeMs !== undefined) { + const timestamps = [...basis.optionEntries, ...basis.evidence].map(entry => entry.updatedAt); + for (const ref of basis.verificationRefs) { + const record = store.getAppServerState("verify_operation", ref.id); + timestamps.push((record?.payload as { operation?: LingAppServerVerifyOperation } | undefined)?.operation?.completedAt ?? ""); + } + const minimum = Date.parse(now) - policy.maxEvidenceAgeMs; + if (timestamps.some(timestamp => { + const time = Date.parse(timestamp); + return !(time >= minimum && time <= Date.parse(now)); + })) return "automatic_evidence_expired"; + } + if (store.getWorkItemWorkflowAdmissionBlocker(origin.workflowId)) return "work_item_held"; + const goal = store.getWorkItemWorkflowUsage(item, now)?.goalBudget; + if (policyContext.hostTokenBudget === undefined || goal?.blocker) return "automatic_budget_unavailable"; + const goalTokens = goal?.tokenBudget === undefined ? Infinity : goal.tokenBudget - goal.accountedTokens - (goal.reservedTokens ?? 0); + const available = Math.min(policy.budget.maxTokens, policyContext.hostTokenBudget, goalTokens); + try { + const { presets } = readDeliberationWorkflowInputs(store, { origin, question: decision.question, participants: basis.participants, + options: basis.optionEntries, evidence: basis.evidence }); + if (presets.some(({ provider }) => provider.contextWindow === undefined || provider.maxTokens === undefined + || provider.contextWindow + provider.maxTokens > available)) return "automatic_budget_unavailable"; + } catch (error) { + if (!(error instanceof HttpError)) throw error; + return error.code === "plan_mode_workflow_blocked" ? error.code : "automatic_participant_scope_unavailable"; + } +} + export async function openAppServerEvaluatedDeliberation( store: RunStore, input: LingAppServerDeliberationOpenParams, now: string, cwd: string, ): Promise { @@ -152,7 +254,7 @@ export async function openAppServerEvaluatedDeliberation( const frozen = readEvaluation(readWorkItemCollaborationRecord(store, workItemId, evaluationId)); if (!frozen) throw stale("The deliberation evaluation is unavailable."); const { evaluation, decision } = frozen; - const roundId = roundPrefix + digest([workItemId, evaluation.decisionId, evaluation.decisionRevision]); + const roundId = checkpointRoundId(workItemId, evaluation); const readReplay = () => { const prior = readMutationReceipt(store, workItemId, idempotencyKey); if (prior && prior.id !== roundId) throw keyConflict(); @@ -174,8 +276,8 @@ export async function openAppServerEvaluatedDeliberation( throw new HttpError(409, "resume_blocked", "This round requires a participant Workflow."); } - const assertCurrent = () => assertEvaluationCurrent(store, requireWorkItem(store, workItemId), frozen, now, evaluation.expiresAt); - const admission = assertEvaluationCurrent(store, item, frozen, now, evaluation.expiresAt); + const assertCurrent = () => assertEvaluationCurrent(store, requireWorkItem(store, workItemId), frozen, now, evaluation.expiresAt, true); + const admission = assertEvaluationCurrent(store, item, frozen, now, evaluation.expiresAt, true); const { candidate } = admission; if (candidate) { await assertCandidateCurrent(candidate); @@ -183,47 +285,64 @@ export async function openAppServerEvaluatedDeliberation( if (committed) return committed; } const deadlineAt = new Date(Date.parse(now) + validityMs).toISOString(); - const round = { - id: roundId, workItemId, expectedWorkItemRevision, idempotencyKey, - kind: "deliberation" as const, action: "started" as const, actorId: "local-user", visibility: "owner" as const, parentRecordId: evaluationId, - payload: { decisionPoint: decision.question, options: evaluation.optionRefs, subject: decision.subject, - decisionId: evaluation.decisionId, decisionRevision: evaluation.decisionRevision, deadlineAt, - ...(candidate ? { candidateDigest: candidate.digest } : {}) }, - sourceRefs: [{ type: "deliberation_evaluation", id: evaluationId, revision: evaluation.decisionRevision }], - assertCurrent, - }; + const round = checkpointRound(frozen, workItemId, roundId, expectedWorkItemRevision, idempotencyKey, deadlineAt, admission); if (execution === "read_only_workflow") { - const { step } = admission.subject; - if (decision.subject.kind !== "workflow_stage" || !step) { - throw new HttpError(409, "resume_blocked", "A linked deliberation Workflow requires a stage in the accepted Plan."); - } const result = store.admitWorkItemDeliberationWorkflow({ workItemId, expectedWorkItemRevision, roundId, assertCurrent, - compile: () => { - const compiled = materializeDeliberationWorkflow(store, { - binding: { workItemId, roundId, originWorkflowId: step.workflowId, originStepId: step.id, originStepRevision: step.updatedAt, - planRevision: admission.subject.subjectRevision, controlGeneration: item.control.generation, deadlineAt, candidate, - decisionTarget: admission.decisionTarget, - ...(ballotMode ? { ballot: { options: evaluation.optionRefs, evidenceIds: [...evaluation.optionRefs, ...evaluation.evidenceRefs], - quorum: Math.floor(admission.participants.length / 2) + 1 } } : {}) }, - origin: step, question: decision.question, participants: admission.participants, - options: admission.optionEntries, evidence: admission.evidence, now, - }); - return { ...compiled, round: { - ...round, payload: { ...round.payload, execution: { workflowId: compiled.workflow.id }, ...(ballotMode ? { ballotMode } : {}) }, - sourceRefs: [...round.sourceRefs, { type: "workflow", id: compiled.workflow.id }], - } }; - }, + compile: () => compileCheckpointWorkflow(store, round, frozen, admission, item.control.generation, now, ballotMode), }, now); const retained = result ?? readReplay(); if (!retained) throw stale("The Work Item revision changed before the round opened."); return retained; } - const result = appendWorkItemCollaboration(store, round, now, cwd); + const result = appendWorkItemCollaboration(store, { ...round, assertCurrent }, now, cwd); if (!result) throw stale("The Work Item revision changed before the round opened."); return result; } +function checkpointRoundId(workItemId: string, evaluation: Pick) { + return roundPrefix + digest([workItemId, evaluation.decisionId, evaluation.decisionRevision]); +} + +function checkpointRound({ evaluation, decision }: FrozenEvaluation, workItemId: string, id: string, + expectedWorkItemRevision: number, idempotencyKey: string, deadlineAt: string, basis: ReturnType) { + return { + id, workItemId, expectedWorkItemRevision, idempotencyKey, + kind: "deliberation" as const, action: "started" as const, actorId: "local-user", visibility: "owner" as const, + parentRecordId: evaluation.evaluationId, + payload: { decisionPoint: decision.question, options: evaluation.optionRefs, subject: decision.subject, + decisionId: evaluation.decisionId, decisionRevision: evaluation.decisionRevision, deadlineAt, + ...(basis.candidate ? { candidateDigest: basis.candidate.digest } : {}) }, + sourceRefs: [{ type: "deliberation_evaluation", id: evaluation.evaluationId, revision: evaluation.decisionRevision }], + }; +} + +function compileCheckpointWorkflow(store: RunStore, round: ReturnType, frozen: FrozenEvaluation, + admission: ReturnType, controlGeneration: number, now: string, + ballotMode?: LingAppServerDeliberationOpenParams["ballotMode"], policy?: AutomaticDeliberationPolicy) { + const { decision, evaluation } = frozen; + const { step } = admission.subject; + if (!step) throw new HttpError(409, "resume_blocked", "A linked deliberation Workflow requires a stage in the accepted Plan."); + const automatic: WorkItemDeliberationWorkflowBinding["automatic"] = policy && { + decisionId: evaluation.decisionId, policyRevision: policy.revision, maxTokens: policy.budget.maxTokens, + }; + const compiled = materializeDeliberationWorkflow(store, { + binding: { workItemId: round.workItemId, roundId: round.id, originWorkflowId: step.workflowId, originStepId: step.id, + originStepRevision: step.updatedAt, planRevision: admission.subject.subjectRevision, controlGeneration, + deadlineAt: round.payload.deadlineAt, candidate: admission.candidate, decisionTarget: admission.decisionTarget, automatic, + ...(ballotMode ? { ballot: { options: evaluation.optionRefs, evidenceIds: [...evaluation.optionRefs, ...evaluation.evidenceRefs], + quorum: Math.floor(admission.participants.length / 2) + 1 } } : {}) }, + origin: step, question: decision.question, participants: admission.participants, + options: admission.optionEntries, evidence: admission.evidence, now, + }); + const { workspaceRoot: _workspaceRoot, revision, ...settings } = policy ?? {}; + return { ...compiled, round: { + ...round, payload: { ...round.payload, execution: { workflowId: compiled.workflow.id }, ...(ballotMode ? { ballotMode } : {}), + ...(policy ? { admission: { ...settings, policyRevision: revision, decisionActorId: "local-user" } } : {}) }, + sourceRefs: [...round.sourceRefs, { type: "workflow", id: compiled.workflow.id }], + } }; +} + export function isCheckpointDeliberationRecord(record: WorkItemCollaborationRecord): boolean { return record.id.startsWith(evaluationPrefix) || record.id.startsWith(roundPrefix) || record.parentRecordId?.startsWith(roundPrefix) === true; } @@ -245,7 +364,8 @@ export async function assertCheckpointRoundCandidate(store: RunStore, item: Work if (candidate) await assertCandidateCurrent(candidate); } -function assertEvaluationCurrent(store: RunStore, item: WorkItem, frozen: FrozenEvaluation, now: string, deadline: string) { +function assertEvaluationCurrent(store: RunStore, item: WorkItem, frozen: FrozenEvaluation, now: string, deadline: string, + requireCurrentDisposition = false) { const { decision, evaluation } = frozen; if (!workItemAllowsDeliberation(item, decision.subject)) { throw new HttpError(409, "resume_blocked", "The Work Item is held. Resume the applicable stage before continuing deliberation."); @@ -253,9 +373,9 @@ function assertEvaluationCurrent(store: RunStore, item: WorkItem, frozen: Frozen if (deadline <= now) throw stale("The deliberation deadline expired."); const basis = readDecisionBasis(store, item, decision); const latest = latestEvaluation(store, item.id, evaluation.decisionId); - if (evaluation.policyRevision !== policyRevision - || latest?.evaluation.decisionRevision !== evaluation.decisionRevision - || latest.evaluation.outcome !== evaluation.outcome || basis.digest !== frozen.basisDigest) { + if (latest?.evaluation.decisionRevision !== evaluation.decisionRevision || basis.digest !== frozen.basisDigest + || requireCurrentDisposition && (latest.evaluation.outcome !== evaluation.outcome + || latest.evaluation.policyRevision !== evaluation.policyRevision)) { throw stale("The decision basis or applicable evaluation changed."); } return basis; diff --git a/packages/daemon/src/server/rpc.ts b/packages/daemon/src/server/rpc.ts index 7b37e8721..e466cb3be 100644 --- a/packages/daemon/src/server/rpc.ts +++ b/packages/daemon/src/server/rpc.ts @@ -1507,8 +1507,17 @@ class RpcConnection { if (method === "workItem/deliberation/evaluate") { const parsed = deliberationEvaluateInput.safeParse(record); if (!parsed.success) throw rpcError(-32602, "invalid_params", "Supply a current subject, checkpoint and bounded decision inputs."); - const { event, ...result } = await evaluateAppServerDeliberation(store, parsed.data, now, cwd); + const { appServerDeliberationPolicies: policies, harness } = this.context.config; + const { event, admissionEvent, ...result } = await evaluateAppServerDeliberation(store, parsed.data, now, cwd, { + policies, + hostTokenBudget: harness.delegations.mode === "enforce" ? harness.delegations.rootBudget?.tokenBudget : undefined, + assertRecoveryReady: () => appServerRecoveryFor(this.context.config, store)?.assertReady(), + }); if (event) this.context.controlPlaneEvents.publish(trimOversizedEvent(event)); + if (admissionEvent) { + this.context.controlPlaneEvents.publish(trimOversizedEvent(admissionEvent)); + this.context.taskSupervisor.poke(cwd); + } return result; } const parsed = deliberationOpenInput.safeParse(record); diff --git a/packages/daemon/test/app-server-release-acceptance.test.ts b/packages/daemon/test/app-server-release-acceptance.test.ts index f87759309..308823976 100644 --- a/packages/daemon/test/app-server-release-acceptance.test.ts +++ b/packages/daemon/test/app-server-release-acceptance.test.ts @@ -3561,16 +3561,18 @@ test("a paused Work Item replaces its accepted Workflow after the old Run settle async function stageQuestionWorkflow(t: TestContext, providerBaseUrl?: string, parallelReadOnly = false, retryBudget?: number, options?: { readonly harness?: DaemonConfig["harness"]; readonly secretResolver?: SecretResolver; readonly apiKeyRef?: string; + readonly channelId?: string; readonly deliberationPolicies?: (cwd: string) => DaemonConfig["appServerDeliberationPolicies"]; readonly decision?: import("@ling-stack/contracts").ProposedPlanStageDecision; readonly verificationRecipes?: (root: string, cwd: string) => Promise }) { const fixture = await releaseFixture(t, { channels: { terminalReports: false, teamObserverBus: false }, - harness: options?.harness, secretResolver: options?.secretResolver, verificationRecipes: options?.verificationRecipes }); + harness: options?.harness, secretResolver: options?.secretResolver, verificationRecipes: options?.verificationRecipes, + deliberationPolicies: options?.deliberationPolicies }); const store = fixture.getStore(); const now = new Date().toISOString(); const preset = providerBaseUrl ? addLoopbackPreset(store, providerBaseUrl, options?.apiKeyRef ? { apiKeyRef: options.apiKeyRef, contextWindow: 16_000, maxTokens: 1_000, } : undefined) : undefined; - const channel = store.createChannel({ name: "Review", boundPath: fixture.cwd, + const channel = store.createChannel({ id: options?.channelId, name: "Review", boundPath: fixture.cwd, allowedTools: parallelReadOnly ? ["read"] : [], defaultProviderPresetId: preset?.id, ...(parallelReadOnly ? { runtimePolicy: { maxConcurrentRuns: 2, allowReadOnlyParallel: true } } : {}), }, now); @@ -4251,6 +4253,141 @@ const workflowProviderBudgetFixture = { apiKeyRef: "env:WORK_ITEM_PROVIDER_BUDGET_FIXTURE", } as const; +test("a scoped automatic policy opens exactly one checkpoint round and reserves its shared budget", { timeout: 35_000 }, async t => { + const provider = await startLoopbackPiProvider((_body: unknown, invocation: number) => { + assert.equal(invocation, 1); + return { text: "The adapter preserves compatibility.", usage: { prompt_tokens: 26, completion_tokens: 4, total_tokens: 30 } }; + }); + t.after(() => provider.close()); + const channelId = "automatic-checkpoint-channel"; + const { fixture, store, client, item, workItem, workflowId, waiting, thread } = + await stageQuestionWorkflow(t, provider.baseUrl, true, undefined, { + ...workflowProviderBudgetFixture, channelId, + deliberationPolicies: cwd => [{ + workspaceRoot: cwd, channelId, mode: "auto_start", + allowedTriggers: ["scheduled_checkpoint"], allowedDecisionKinds: ["implementation_tradeoff"], + minimumViableOptions: 2, minimumParticipants: 2, requiredRoleIds: ["engineer", "qa"], minDecisionMateriality: "high", + maxEvidenceAgeMs: 60_000, cooldownMs: 60_000, ballotMode: "when_unresolved", decisionOwner: { kind: "user" }, + budget: { maxTokens: 17_025, maxDurationMs: 60_000 }, + }], + }); + const now = new Date().toISOString(); + const home = store.createLingThread({ kind: "automation", title: "Automatic checkpoint", objective: "Review the compatibility evidence" }, now); + const automation = store.createAutomationDefinition({ + threadId: home.id, title: "Automatic checkpoint", kind: "custom_prompt", + trigger: { type: "schedule", timezone: "UTC", missedRunPolicy: "skip", schedule: { cadence: "daily", timeOfDay: "00:00" } }, + target: { scope: "workspace", workspaceId: item.workspaceId }, executionPolicy: {}, + promptTemplate: { templateVersion: 1, promptMarkdown: "Check the current compatibility evidence.", contextSelectors: [] }, + outputPolicy: { artifactFormat: "markdown", destinations: [{ type: "automation_thread" }] }, + }, now); + const target = { workItemId: item.id }; + await client.call("workItem/coordination/schedule/set", { + automationId: automation.id, ...target, expectedRevision: 0, enabled: true, kind: "checkpoint", durationMs: 60_000, + }); + const { round: checkpoint } = store.admitScheduledCoordination({ + automationId: automation.id, expectedDefinitionRevision: automation.updatedAt, expectedPolicyRevision: 1, + triggerType: "manual", idempotencyKey: "automatic-checkpoint", + }, now); + assert.ok(checkpoint); + await client.call("workItem/coordination/close", { ...target, parentRecordId: checkpoint.recordId, actorId: "local-user" }); + const planRevision = workItem.planRevision!; + const { optionRefs, evidenceRef } = await recordDeliberationEvidence(client.call, item.id, planRevision); + await writeFile(join(fixture.cwd, ".gitignore"), ".ling-stack/\n"); + await writeFile(join(fixture.cwd, "contract.txt"), "The previous interface remains readable.\n"); + const git = (...args: string[]) => execFileSync("git", args, { cwd: fixture.cwd, stdio: "ignore" }); + git("init", "-q"); + git("add", ".gitignore", "contract.txt"); + git("-c", "user.name=Fixture", "-c", "user.email=fixture@example.test", "commit", "-qm", "Freeze the checkpoint candidate"); + const { candidate, coverage } = await client.call("changes/capture", {}); + assert.equal(coverage, "complete"); + const revision = () => fixture.getStore().getWorkItem(item.id)!.revision; + const basis = { + ...target, decisionKey: "checkpoint-compatibility", + subject: { kind: "workflow_stage", workflowStepId: waiting.id, planRevision }, + checkpoint: "scheduled_checkpoint", checkpointRef: checkpoint.recordId, decisionKind: "implementation_tradeoff", + materiality: "high", question: "Which compatibility strategy meets the accepted contract?", + participantIds: ["teammate_builtin_engineer", "teammate_builtin_qa"], optionRefs, evidenceRefs: [evidenceRef], + candidateDigest: candidate.candidateDigest, + } as const; + const evaluate = (key: string, overrides: Partial = {}, connection = client) => + connection.call("workItem/deliberation/evaluate", { + ...basis, expectedWorkItemRevision: revision(), idempotencyKey: key, ...overrides, + }); + await client.call("thread/goal/set", { threadId: thread.id, objective: "Review the compatibility evidence", tokenBudget: 16_000 }); + const capacity = await evaluate("automatic-capacity-blocked"); + assert.equal(capacity.evaluation.reasonCode, "automatic_budget_unavailable"); + const goal = store.getLingThreadGoal(thread.id)!; + await client.call("thread/goal/set", { threadId: thread.id, objective: goal.objective, tokenBudget: 100_000, + expectedGoalRevision: goal.updatedAt, replaceExisting: true }); + const { scoped } = await createObserver(client, fixture, item.id); + await assert.rejects(evaluate("unauthorized-automatic-evaluation", {}, scoped), { code: "capability_denied" }); + assert.equal((await evaluate("below-configured-threshold", { materiality: "medium" })).evaluation.outcome, "suggest"); + assert.equal((await evaluate("fact-disputed", { unresolved: "fact" })).evaluation.outcome, "verify"); + assert.equal(store.listChannelWorkflows({ channelId }).length, 1); + + const database = new DatabaseSync(store.paths.databasePath); + try { + database.exec(`CREATE TRIGGER fixture_fail_deliberation_admission BEFORE INSERT ON app_server_state + WHEN NEW.kind = 'work_item_deliberation_admission' + BEGIN SELECT RAISE(ABORT, 'fixture_deliberation_admission_write_failed'); END`); + const before = revision(); + await assert.rejects(evaluate("automatic-evaluate"), /fixture_deliberation_admission_write_failed/u); + assert.equal(revision(), before); + assert.equal(store.findWorkItemEvidenceByKey(item.id, "automatic-evaluate"), undefined); + assert.equal(store.listChannelWorkflows({ channelId }).length, 1); + assert.equal(provider.requests.length, 0); + database.exec("DROP TRIGGER fixture_fail_deliberation_admission"); + } finally { + database.close(); + } + + const peer = await fixture.connect(); + const { cursor } = await peer.call("workItem/subscribe", target); + const [accepted, repeated] = await Promise.all([evaluate("automatic-evaluate"), evaluate("same-checkpoint-peer", {}, peer)]); + assert.deepEqual([accepted.replayed, repeated.replayed].sort(), [false, true]); + assert.equal(accepted.evaluation.outcome, "start"); + assert.deepEqual(accepted.evaluation, repeated.evaluation); + const roundId = accepted.evaluation.existingRoundId; + assert.ok(roundId); + const read = (connection = client) => + connection.call("workItem/deliberation/read", target); + const start = (await read()).records.find(record => record.id === roundId); + const payload = start?.payload as { + execution: { workflowId: string }; + admission: { policyRevision: string; decisionActorId: string; requiredRoleIds: string[]; budget: { maxTokens: number; maxDurationMs: number } }; + }; + const linkedId = payload.execution.workflowId; + assert.equal(payload.admission.policyRevision, accepted.evaluation.policyRevision); + assert.equal(payload.admission.decisionActorId, "local-user"); + assert.deepEqual(payload.admission.requiredRoleIds, ["engineer", "qa"]); + assert.deepEqual(payload.admission.budget, { maxTokens: 17_025, maxDurationMs: 60_000 }); + await waitFor(() => store.getChannelWorkflow(linkedId)?.status === "failed" ? true : undefined); + const attempts = store.listChannelWorkflowSteps({ workflowId: linkedId, complete: true }).flatMap(step => step.runId ? [step.runId] : []); + const charges = store.getDelegationCompletionEvidence({ rootRunIds: attempts }).roots.flatMap(root => root.charges); + assert.equal(provider.requests.length, 1); + assert.deepEqual(charges.map(charge => charge.state).sort(), ["cancelled_before_dispatch", "measured"]); + assert.equal(store.getWorkItem(item.id)?.workflowId, workflowId); + + await fixture.restart(); + const restored = await fixture.connect(); + const replayed = await evaluate("automatic-evaluate", {}, restored); + assert.deepEqual(replayed.evaluation, accepted.evaluation); + assert.equal(replayed.replayed, true); + await restored.call("workItem/subscribe", { ...target, cursor }); + await waitFor(() => restored.notices.find(notice => notice.method === "workItem/deliberation/updated" + && notice.params?.event?.data?.collaborationId === roundId)); + const additional = await restored.call<{ entry: { id: string } }>("workItem/evidence/append", { + ...target, actorId: "local-user", subjectRevision: planRevision, kind: "observation", + idempotencyKey: "new-compatibility-evidence", content: "A later integration check supplies a distinct evidence basis.", + }); + const next = await evaluate("automatic-cooldown", { evidenceRefs: [evidenceRef, additional.entry.id] }, restored); + assert.equal(next.evaluation.reasonCode, "automatic_cooldown"); + assert.notEqual(next.evaluation.decisionRevision, accepted.evaluation.decisionRevision); + assert.equal((await read(restored)).deliberationWorkflows?.length, 1); + assert.equal(fixture.getStore().listChannelWorkflows({ channelId }).length, 2); + assert.equal(provider.requests.length, 1); +}); + test("parallel Work Item stages reserve their shared Goal budget before sending Pi requests", { timeout: 30_000 }, async t => { let finishFirst: () => void = () => undefined; const firstHeld = new Promise(resolve => { finishFirst = resolve; }); @@ -6095,7 +6232,7 @@ const candidateRuntime: ReleaseRuntime = { createDaemonServer, createSqliteRunSt async function releaseFixture(t: TestContext, { runner, initialRuntime = candidateRuntime, harness, requireAuth = true, verificationRecipes, githubSources, externalWorkFetch, secretResolver, wssConfig, - recoveryJournal = false, channels, + recoveryJournal = false, channels, deliberationPolicies, }: { runner?: RunnerRegistrationInput; initialRuntime?: ReleaseRuntime; @@ -6108,6 +6245,7 @@ async function releaseFixture(t: TestContext, { wssConfig?: (root: string) => Promise; recoveryJournal?: boolean; channels?: DaemonConfig["channels"]; + deliberationPolicies?: (cwd: string) => DaemonConfig["appServerDeliberationPolicies"]; } = {}) { const root = await realpath(await mkdtemp(join(tmpdir(), "ling-as-"))); const cwd = join(root, "workspace"); @@ -6122,7 +6260,7 @@ async function releaseFixture(t: TestContext, { const clients = new Set(); const makeDaemon = (runtime: ReleaseRuntime) => runtime.createDaemonServer({ host: "127.0.0.1", port: 0, defaultWorkspaceCwd: cwd, authToken: requireAuth ? authToken : undefined, harness, channels, - appServerVerificationRecipes, appServerGitHubSources: githubSources?.(cwd), appServerWss, + appServerVerificationRecipes, appServerGitHubSources: githubSources?.(cwd), appServerWss, appServerDeliberationPolicies: deliberationPolicies?.(cwd), ...(recoveryJournal ? { appServerRecoveryDirectory: join(root, "recovery-journal") } : {}), }, { ...(runner ? { runnerRegistry: createRunnerRegistry([runner]) } : {}), From fe0260bcb34bf30473a2ab6d9a0695bb4bc92fc2 Mon Sep 17 00:00:00 2001 From: tianxiaochannel-oss88 Date: Thu, 26 Nov 2026 02:48:59 +0800 Subject: [PATCH 115/147] fix(app-server): allow scoped reads of work item delivery --- .../src/server/app-server-authorization.ts | 2 +- .../app-server-release-acceptance.test.ts | 21 ++++++++++++++++++- 2 files changed, 21 insertions(+), 2 deletions(-) diff --git a/packages/daemon/src/server/app-server-authorization.ts b/packages/daemon/src/server/app-server-authorization.ts index 003c6e5d7..a6d5444dc 100644 --- a/packages/daemon/src/server/app-server-authorization.ts +++ b/packages/daemon/src/server/app-server-authorization.ts @@ -148,7 +148,7 @@ const workItemReads = new Set([ "workItem/read", "workItem/subscribe", "workItem/unsubscribe", "workItem/evidence/read", "workItem/collaboration/read", "workItem/stage/read", "workItem/stage/brief/read", "workItem/coordination/read", "workItem/deliberation/read", "workItem/message/read", "workItem/message/list", "workItem/question/read", "workItem/handoff/read", - "workItem/coordination/schedule/read", "workItem/device/read", + "workItem/coordination/schedule/read", "workItem/device/read", "workItem/delivery/read", "delivery/read", ]); const workItemControls = new Set(["workItem/pause", "workItem/resume", "workItem/cancel", "workItem/device/bind", "workItem/device/receipt"]); const stageCoordinationMethods = new Set(["workItem/stage/read", "workItem/question/read", "workItem/message/read", "workItem/message/list", diff --git a/packages/daemon/test/app-server-release-acceptance.test.ts b/packages/daemon/test/app-server-release-acceptance.test.ts index 308823976..d08df6274 100644 --- a/packages/daemon/test/app-server-release-acceptance.test.ts +++ b/packages/daemon/test/app-server-release-acceptance.test.ts @@ -2114,10 +2114,28 @@ test("GitHub delivery keeps head checks across base changes and completes a Goal latestAttempt = 2; const current = await reconcile(); assert.deepEqual(current.checks.map(check => [check.testedCommit, check.runAttempt]), [[head, 2], [newIntegration, 2]]); - const { delivery: old } = await client.call("delivery/read", { + const other = await client.call("workItem/create", { + sourceId: "other-delivery", title: "Separate delivery", + }); + const secret = randomBytes(32).toString("hex"); + const { grant } = await client.call<{ grant: LingAppServerGrant }>("server/grants/create", { + label: "Observe delivery", subject: { kind: "workItem", id: workItemId }, scopes: ["observe"], + expiresAt: new Date(Date.now() + 60_000).toISOString(), + credentialSha256: createHash("sha256").update(secret).digest("hex"), idempotencyKey: "observe-delivery", + }); + const observer = await fixture.connect("/app-server/rpc", fixture.cwd, `las1.${grant.grantId}.${secret}`); + const { methods } = await observer.call<{ methods: string[] }>("server/capabilities"); + assert.ok(methods.includes("workItem/delivery/read") && methods.includes("delivery/read")); + assert.deepEqual((await observer.call("workItem/delivery/read", { workItemId })).delivery, current); + const { delivery: old } = await observer.call("delivery/read", { workItemId, deliveryId: initial.deliveryId, }); assert.deepEqual(old, initial); + await assert.rejects(observer.call("workItem/delivery/read", { workItemId: other.workItem.workItemId }), { code: "capability_denied" }); + await assert.rejects(observer.call("delivery/read", { + workItemId: other.workItem.workItemId, deliveryId: initial.deliveryId, + }), { code: "capability_denied" }); + await assert.rejects(reconcile(observer), { code: "capability_denied" }); await client.call("thread/goal/set", { threadId: thread.id, objective: "Deliver the verified fix", acceptanceCriteria: [{ id: "merged", description: "Trusted checks on the merged candidate", kind: "github_delivered", @@ -4932,6 +4950,7 @@ test("active Workflow stage grants bind questions, replies and messages to their assert.ok(capabilities.capabilities.includes("workItem.coordination")); assert.ok(capabilities.methods.includes("workItem/question/ask") && capabilities.methods.includes("workItem/message/send")); assert.ok(!capabilities.methods.includes("input/respond") && !capabilities.methods.includes("workItem/collaboration/append")); + assert.ok(!capabilities.methods.includes("workItem/delivery/read") && !capabilities.methods.includes("delivery/read")); const readStages = await sender.client.readWorkItemStages(item.id); assert.deepEqual(readStages.workflow?.steps.find(stage => stage.stepId === respondent.id)?.messageReceiver, respondentStage.messageReceiver); assert.ok(readStages.workflow?.steps.every(stage => !stage.runId && !stage.brief)); From 29f8223340db0c628d8e09574fcaafdd7900cc59 Mon Sep 17 00:00:00 2001 From: tianxiaochannel-oss88 Date: Thu, 26 Nov 2026 03:20:39 +0800 Subject: [PATCH 116/147] feat(deliberation): add read-only plan shaping rounds --- packages/contracts/src/app-server-schema.ts | 2 +- packages/contracts/src/app-server.ts | 7 +++- .../contracts/test/app-server-schema.test.ts | 4 +++ .../src/server/app-server-deliberation.ts | 34 ++++++++++++++++--- .../app-server-release-acceptance.test.ts | 9 ++++- 5 files changed, 48 insertions(+), 8 deletions(-) diff --git a/packages/contracts/src/app-server-schema.ts b/packages/contracts/src/app-server-schema.ts index 224c2f6c6..856c1d3f8 100644 --- a/packages/contracts/src/app-server-schema.ts +++ b/packages/contracts/src/app-server-schema.ts @@ -461,7 +461,7 @@ function schemaFor(method: LingAppServerMethod): LingAppServerMethodSchema { }; case "workItem/deliberation/open": return { params: objectWith({ ...workItemTarget, evaluationId: stringSchema, expectedWorkItemRevision: integerSchema, - idempotencyKey: stringSchema, execution: { enum: ["read_only_workflow"] }, ballotMode: { enum: ["when_unresolved"] } }, + idempotencyKey: stringSchema, execution: { enum: ["read_only_shaping", "read_only_workflow"] }, ballotMode: { enum: ["when_unresolved"] } }, ["workItemId", "evaluationId", "expectedWorkItemRevision", "idempotencyKey"]), result }; case "workItem/deliberation/cancel": return { params: objectWith(deliberationSettlement, deliberationSettlementFields), result }; diff --git a/packages/contracts/src/app-server.ts b/packages/contracts/src/app-server.ts index 17729aec8..b973d7b8b 100644 --- a/packages/contracts/src/app-server.ts +++ b/packages/contracts/src/app-server.ts @@ -1364,7 +1364,12 @@ export interface LingAppServerDeliberationOpenParams { readonly evaluationId: string; readonly expectedWorkItemRevision: number; readonly idempotencyKey: string; - readonly execution?: "read_only_workflow"; + /** + * `read_only_shaping` records a bounded pre-acceptance planning round. It + * never creates a Workflow or starts a Run and is valid only for a draft + * plan subject. `read_only_workflow` is reserved for an accepted stage. + */ + readonly execution?: "read_only_shaping" | "read_only_workflow"; readonly ballotMode?: "when_unresolved"; } diff --git a/packages/contracts/test/app-server-schema.test.ts b/packages/contracts/test/app-server-schema.test.ts index b50c249de..00db33104 100644 --- a/packages/contracts/test/app-server-schema.test.ts +++ b/packages/contracts/test/app-server-schema.test.ts @@ -139,6 +139,10 @@ test("deliberation schemas describe the checkpoint and the frozen evaluation bas assert.equal(validateLingAppServerParams("workItem/deliberation/open", { workItemId: "item", expectedWorkItemRevision: 3, idempotencyKey: "open", }).path, "params.evaluationId"); + assert.ok(validateLingAppServerParams("workItem/deliberation/open", { + workItemId: "item", evaluationId: "evaluation", expectedWorkItemRevision: 3, + idempotencyKey: "shape", execution: "read_only_shaping", + }).ok); }); test("GitHub delivery results carry the source of each check and the exact run attempt", () => { diff --git a/packages/daemon/src/server/app-server-deliberation.ts b/packages/daemon/src/server/app-server-deliberation.ts index fe5a5c49d..d79c35978 100644 --- a/packages/daemon/src/server/app-server-deliberation.ts +++ b/packages/daemon/src/server/app-server-deliberation.ts @@ -260,9 +260,14 @@ export async function openAppServerEvaluatedDeliberation( if (prior && prior.id !== roundId) throw keyConflict(); const existing = prior ?? readWorkItemCollaborationRecord(store, workItemId, roundId); if (!existing) return undefined; - const hasWorkflow = isRecord(existing.payload) && isRecord(existing.payload.execution); + const retainedExecution = isRecord(existing.payload) && isRecord(existing.payload.execution) + ? typeof existing.payload.execution.kind === "string" ? existing.payload.execution.kind + : typeof existing.payload.execution.workflowId === "string" ? "read_only_workflow" : undefined + : undefined; + const expectedExecution = execution === "read_only_workflow" ? "read_only_workflow" + : execution === "read_only_shaping" ? "read_only_shaping" : undefined; const retainedBallotMode = isRecord(existing.payload) ? existing.payload.ballotMode : undefined; - if (hasWorkflow !== (execution === "read_only_workflow") || retainedBallotMode !== ballotMode) { + if (retainedExecution !== expectedExecution || retainedBallotMode !== ballotMode) { if (prior) throw keyConflict(); throw stale("This decision revision was already admitted with a different execution mode."); } @@ -272,6 +277,12 @@ export async function openAppServerEvaluatedDeliberation( const prior = readReplay(); if (prior) return prior; if (evaluation.outcome !== "suggest") throw new HttpError(409, "resume_blocked", "Only a current deliberation suggestion can open a round."); + if (execution === "read_only_shaping" && evaluation.decision.subject.kind !== "draft_plan") { + throw new HttpError(409, "resume_blocked", "Read-only shaping is available only before a draft plan is accepted."); + } + if (execution === "read_only_shaping" && ballotMode !== undefined) { + throw new HttpError(409, "resume_blocked", "Pre-acceptance shaping cannot start a ballot round."); + } if ((decision.decisionStepId || ballotMode) && execution !== "read_only_workflow") { throw new HttpError(409, "resume_blocked", "This round requires a participant Workflow."); } @@ -285,7 +296,8 @@ export async function openAppServerEvaluatedDeliberation( if (committed) return committed; } const deadlineAt = new Date(Date.parse(now) + validityMs).toISOString(); - const round = checkpointRound(frozen, workItemId, roundId, expectedWorkItemRevision, idempotencyKey, deadlineAt, admission); + const round = checkpointRound(frozen, workItemId, roundId, expectedWorkItemRevision, idempotencyKey, deadlineAt, admission, + execution === "read_only_shaping" ? "read_only_shaping" : undefined); if (execution === "read_only_workflow") { const result = store.admitWorkItemDeliberationWorkflow({ workItemId, expectedWorkItemRevision, roundId, assertCurrent, @@ -305,14 +317,26 @@ function checkpointRoundId(workItemId: string, evaluation: Pick) { + expectedWorkItemRevision: number, idempotencyKey: string, deadlineAt: string, basis: ReturnType, + execution?: "read_only_shaping") { return { id, workItemId, expectedWorkItemRevision, idempotencyKey, kind: "deliberation" as const, action: "started" as const, actorId: "local-user", visibility: "owner" as const, parentRecordId: evaluation.evaluationId, payload: { decisionPoint: decision.question, options: evaluation.optionRefs, subject: decision.subject, decisionId: evaluation.decisionId, decisionRevision: evaluation.decisionRevision, deadlineAt, - ...(basis.candidate ? { candidateDigest: basis.candidate.digest } : {}) }, + ...(basis.candidate ? { candidateDigest: basis.candidate.digest } : {}), + ...(execution === "read_only_shaping" ? { + execution: { kind: execution, planId: decision.subject.kind === "draft_plan" ? decision.subject.planId : undefined, + planRevision: decision.subject.kind === "draft_plan" ? decision.subject.planRevision : undefined, + participantRoles: basis.participants.map(participant => ({ id: participant.id, roleKey: participant.roleKey })), + evidenceRefs: [...evaluation.optionRefs, ...evaluation.evidenceRefs], + // Shaping itself performs no model execution. Its zero token budget + // makes that boundary explicit while the deadline bounds replies + // collected by the coordinator. + budget: { maxTokens: 0, maxDurationMs: validityMs }, + }, + } : {}) }, sourceRefs: [{ type: "deliberation_evaluation", id: evaluation.evaluationId, revision: evaluation.decisionRevision }], }; } diff --git a/packages/daemon/test/app-server-release-acceptance.test.ts b/packages/daemon/test/app-server-release-acceptance.test.ts index d08df6274..af20b45d0 100644 --- a/packages/daemon/test/app-server-release-acceptance.test.ts +++ b/packages/daemon/test/app-server-release-acceptance.test.ts @@ -2680,7 +2680,8 @@ test("a draft deliberation uses current evidence in Plan Mode and recovers the o assert.equal(first.evaluation.subjectRevision, subjectRevision); assert.equal(store.listRuns({ threadId: thread.id }).length, 1); - const open = { workItemId: item.id, evaluationId: first.evaluation.evaluationId, expectedWorkItemRevision: first.workItemRevision, idempotencyKey: "open-plan" }; + const open = { workItemId: item.id, evaluationId: first.evaluation.evaluationId, expectedWorkItemRevision: first.workItemRevision, + idempotencyKey: "open-plan", execution: "read_only_shaping" as const }; const { credential, scoped } = await createObserver(client, fixture, item.id); await assert.rejects(scoped.call("workItem/deliberation/open", open), { code: "capability_denied" }); const [opened, other] = await Promise.all([ @@ -2689,6 +2690,12 @@ test("a draft deliberation uses current evidence in Plan Mode and recovers the o ]); assert.equal(opened.record.id, other.record.id); assert.deepEqual([opened.status, other.status].sort(), ["appended", "replayed"]); + assert.deepEqual((opened.record.payload as { execution?: { kind?: string; planId?: string; planRevision?: number; participantRoles?: unknown[]; evidenceRefs?: string[]; budget?: { maxTokens?: number; maxDurationMs?: number } } }).execution, { + kind: "read_only_shaping", planId: plan.id, planRevision: plan.revision, + participantRoles: participants.map(id => ({ id, roleKey: store.getAiTeammate(id)!.roleKey })), + evidenceRefs: [...optionRefs, evidenceRef], budget: { maxTokens: 0, maxDurationMs: 15 * 60_000 }, + }); + assert.equal(store.listChannelWorkflows({ channelId: channel.id }).length, 0); await mcp.close(); const repeated = await client.call("workItem/deliberation/open", { ...open, idempotencyKey: "another-open-key" }); From a9d66bf050510c4fc3a62c2ba4b131e4a8faf603 Mon Sep 17 00:00:00 2001 From: tianxiaochannel-oss88 Date: Thu, 26 Nov 2026 03:37:44 +0800 Subject: [PATCH 117/147] Run bounded pre-acceptance planning consultations --- packages/contracts/src/app-server-schema.ts | 20 +- packages/contracts/src/app-server.ts | 34 ++- .../channels/plan-deliberation-shaping.ts | 221 ++++++++++++++++++ .../src/server/app-server-collaboration.ts | 7 + .../src/server/app-server-deliberation.ts | 64 ++--- packages/daemon/src/server/app-server-mcp.ts | 4 +- packages/daemon/src/server/rpc.ts | 23 +- .../app-server-release-acceptance.test.ts | 51 +++- 8 files changed, 367 insertions(+), 57 deletions(-) create mode 100644 packages/daemon/src/features/channels/plan-deliberation-shaping.ts diff --git a/packages/contracts/src/app-server-schema.ts b/packages/contracts/src/app-server-schema.ts index 856c1d3f8..f435a9658 100644 --- a/packages/contracts/src/app-server-schema.ts +++ b/packages/contracts/src/app-server-schema.ts @@ -84,6 +84,17 @@ const deliberationWorkflowOutcome = objectWith({ status: { enum: ["waiting", "voting", "consensus", "verify_required", "insufficient_evidence", "tallied"] }, summary: objectSchema, recommendation: stringSchema, }, ["status"]); +const planShapingContribution = objectWith({ participantId: stringSchema, roleKey: stringSchema, + phase: { enum: ["proposal", "challenge"] }, disposition: { enum: ["recommend", "open_tradeoff", "verify_required"] }, + optionId: stringSchema, summary: stringSchema, evidenceIds: stringArraySchema, +}, ["participantId", "roleKey", "phase", "disposition", "summary", "evidenceIds"]); +const planShapingResult = objectWith({ roundId: stringSchema, planId: stringSchema, planRevision: integerSchema, + status: { enum: ["consensus", "open_tradeoff", "verify_required", "incomplete"] }, optionIds: stringArraySchema, + contributions: { type: "array", items: planShapingContribution }, recommendedOptionId: stringSchema, + blocker: { enum: ["provider_unavailable", "invalid_contribution", "deadline_expired"] }, + decision: objectWith({ recordId: stringSchema, disposition: { enum: ["selected", "deferred", "replan_required"] }, + option: stringSchema, reason: stringSchema }, ["recordId", "disposition", "reason"]), +}, ["roundId", "planId", "planRevision", "status", "optionIds", "contributions"]); const planTarget = { ...threadTarget, planId: stringSchema, expectedRevision: integerSchema }; const planActionResult = objectWith({ cwd: stringSchema, threadId: stringSchema, plan: objectSchema, taskId: stringSchema, workflowId: stringSchema, workflowStepId: stringSchema, runId: stringSchema }, ["cwd", "threadId", "plan"]); @@ -323,7 +334,11 @@ function schemaFor(method: LingAppServerMethod): LingAppServerMethodSchema { case "thread/goal/complete": return { params: objectWith({ ...threadTarget, expectedGoalRevision: stringSchema }, ["threadId"]), result }; case "plan/read": - return { params: objectWith({ ...threadTarget, planId: stringSchema, limit: integerSchema }), result }; + return { params: objectWith({ ...threadTarget, planId: stringSchema, limit: integerSchema }), result: { oneOf: [ + objectWith({ cwd: stringSchema, threadId: stringSchema, plan: objectSchema, + deliberations: { type: "array", items: planShapingResult } }, ["cwd", "threadId", "plan"]), + objectWith({ cwd: stringSchema, threadId: stringSchema, plans: arraySchema }, ["cwd", "threadId", "plans"]), + ] } }; case "plan/accept": return { params: objectWith({ ...planTarget, mode: { enum: ["workflow"] }, workflowTitle: stringSchema, workflowStepPreviews: { type: "array", items: planWorkflowStep } }, ["threadId", "planId"]), result: planActionResult }; @@ -461,7 +476,8 @@ function schemaFor(method: LingAppServerMethod): LingAppServerMethodSchema { }; case "workItem/deliberation/open": return { params: objectWith({ ...workItemTarget, evaluationId: stringSchema, expectedWorkItemRevision: integerSchema, - idempotencyKey: stringSchema, execution: { enum: ["read_only_shaping", "read_only_workflow"] }, ballotMode: { enum: ["when_unresolved"] } }, + idempotencyKey: stringSchema, execution: { enum: ["read_only_shaping", "read_only_workflow"] }, ballotMode: { enum: ["when_unresolved"] }, + shapingBudget: objectWith({ maxTokens: integerSchema, maxDurationMs: integerSchema }, ["maxTokens", "maxDurationMs"]) }, ["workItemId", "evaluationId", "expectedWorkItemRevision", "idempotencyKey"]), result }; case "workItem/deliberation/cancel": return { params: objectWith(deliberationSettlement, deliberationSettlementFields), result }; diff --git a/packages/contracts/src/app-server.ts b/packages/contracts/src/app-server.ts index b973d7b8b..aadc3ce6f 100644 --- a/packages/contracts/src/app-server.ts +++ b/packages/contracts/src/app-server.ts @@ -1365,14 +1365,42 @@ export interface LingAppServerDeliberationOpenParams { readonly expectedWorkItemRevision: number; readonly idempotencyKey: string; /** - * `read_only_shaping` records a bounded pre-acceptance planning round. It - * never creates a Workflow or starts a Run and is valid only for a draft - * plan subject. `read_only_workflow` is reserved for an accepted stage. + * Shaping runs tool-free consultations for a draft. A linked Workflow + * requires an accepted stage. */ readonly execution?: "read_only_shaping" | "read_only_workflow"; + readonly shapingBudget?: { readonly maxTokens: number; readonly maxDurationMs: number }; readonly ballotMode?: "when_unresolved"; } +export interface LingAppServerPlanShapingContribution { + readonly participantId: string; + readonly roleKey: string; + readonly phase: "proposal" | "challenge"; + readonly disposition: "recommend" | "open_tradeoff" | "verify_required"; + readonly optionId?: string; + readonly summary: string; + readonly evidenceIds: readonly string[]; +} + +export interface LingAppServerPlanShapingResult { + readonly roundId: string; + readonly planId: string; + readonly planRevision: number; + readonly status: "consensus" | "open_tradeoff" | "verify_required" | "incomplete"; + readonly optionIds: readonly string[]; + readonly recommendedOptionId?: string; + readonly contributions: readonly LingAppServerPlanShapingContribution[]; + readonly blocker?: "provider_unavailable" | "invalid_contribution" | "deadline_expired"; + readonly decision?: { readonly recordId: string; readonly disposition: "selected" | "deferred" | "replan_required"; + readonly option?: string; readonly reason: string }; +} + +export type LingAppServerPlanReadResult = { readonly cwd: string; readonly threadId: string } & ( + | { readonly plan: import("./threads.js").ProposedPlanArtifact; readonly deliberations?: readonly LingAppServerPlanShapingResult[] } + | { readonly plans: readonly import("./threads.js").ProposedPlanArtifact[] } +); + export interface LingAppServerDeliberationSettlementParams { readonly cwd?: string; readonly workItemId: string; diff --git a/packages/daemon/src/features/channels/plan-deliberation-shaping.ts b/packages/daemon/src/features/channels/plan-deliberation-shaping.ts new file mode 100644 index 000000000..6ead3b113 --- /dev/null +++ b/packages/daemon/src/features/channels/plan-deliberation-shaping.ts @@ -0,0 +1,221 @@ +import { createHash } from "node:crypto"; +import { isDeepStrictEqual } from "node:util"; +import type { LingAppServerDeliberationOpenParams, LingAppServerPlanShapingContribution, LingAppServerPlanShapingResult } from "@ling-stack/contracts"; +import { appendWorkItemCollaboration, checkpointDeliberationResolutionId, readWorkItemCollaborationRecord, + type AiTeammate, type Channel, type ControlPlaneEvent, type ProposedPlanArtifact, type RunStore, + type SecretResolver, type WorkItemCollaborationRecord, type WorkItemEvidenceEntry } from "@ling-stack/core"; +import { PiRunnerAdapter, isPiToolFreeCompletion, type PiToolBoundaryObservation } from "@ling-stack/runner-pi"; +import { z } from "zod"; +import { HttpError } from "../../errors.js"; +import type { RunnerRegistry } from "../../runtime/runners.js"; +import { extractAssistantText } from "../../shared/assistant-text.js"; +import { isRecord } from "../../shared/validation.js"; +import { resolveProviderForRun } from "../runs/providers.js"; + +const summary = z.string().trim().min(1).max(500); +const evidenceIds = z.array(z.string()).min(1).max(6); +const reply = z.discriminatedUnion("disposition", [ + z.strictObject({ disposition: z.literal("recommend"), optionId: z.string(), summary, evidenceIds }), + z.strictObject({ disposition: z.literal("open_tradeoff"), summary, evidenceIds }), + z.strictObject({ disposition: z.literal("verify_required"), summary, evidenceIds }), +]); + +type Budget = NonNullable; +type Blocker = NonNullable; + +export interface PlanShapingRuntime { + readonly runners: RunnerRegistry; + readonly secrets: SecretResolver; + readonly hostTokenBudget?: number; + readonly assertRecoveryReady: () => void; + readonly publish: (event: ControlPlaneEvent) => void; +} + +export function preparePlanShaping(store: RunStore, runtime: PlanShapingRuntime, input: { + readonly plan: ProposedPlanArtifact; + readonly channel: Channel; + readonly question: string; + readonly participants: readonly AiTeammate[]; + readonly options: readonly WorkItemEvidenceEntry[]; + readonly evidence: readonly WorkItemEvidenceEntry[]; + readonly budget: Budget; + readonly policyRevision: string; +}) { + const { plan, channel, question, participants, options, evidence, budget, policyRevision } = input; + const entries = [...options, ...evidence]; + if (entries.some(entry => entry.visibility !== "work_item")) { + throw new HttpError(409, "resume_blocked", "Share the selected evidence with the Work Item before consulting participants."); + } + const context = JSON.stringify({ plan: { title: plan.title, body: plan.bodyMarkdown }, question, + evidence: entries.map(({ id, kind, content }) => ({ id, kind, content })) }); + if (Buffer.byteLength(context) > 12_000) throw new HttpError(409, "resume_blocked", "Select a smaller planning context."); + const registration = runtime.runners.get("pi"); + const runner = registration?.adapter; + if (!(runner instanceof PiRunnerAdapter) || registration?.status !== "enabled") { + throw new HttpError(409, "resume_blocked", "Plan shaping requires the embedded Pi runner."); + } + const available = Math.min(budget.maxTokens, runtime.hostTokenBudget ?? Infinity); + const roster = participants.map(participant => { + const presetId = participant.modelBindingMode === "fixed" ? participant.providerPresetId : channel.defaultProviderPresetId; + const snapshot = presetId && store.getProviderConfigurationSnapshot(presetId); + if (!snapshot) throw new HttpError(409, "resume_blocked", "Each planning role needs a current Provider preset."); + const provider = resolveProviderForRun(store, { providerPresetId: snapshot.provider.id }, runtime.secrets); + if (!provider.apiKey || !provider.contextWindow || !provider.maxTokens) { + throw new HttpError(409, "resume_blocked", "Each planning Provider needs explicit credentials and model token bounds."); + } + return { participantId: participant.id, roleKey: participant.roleKey, + presetId: snapshot.provider.id, presetRevision: snapshot.configRevision, + providerId: provider.provider, modelId: provider.model, provider, reservedTokens: provider.contextWindow + provider.maxTokens }; + }); + const reservedTokens = 2 * roster.reduce((total, participant) => total + participant.reservedTokens, 0); + if (reservedTokens > available) throw new HttpError(409, "resume_blocked", "The shaping budget cannot cover one proposal and one challenge per participant."); + runtime.assertRecoveryReady(); + return { + frozen: { kind: "read_only_shaping" as const, policyRevision, budget, reservedTokens, + participants: roster.map(({ provider: _provider, reservedTokens: _tokens, ...identity }) => identity), + evidence: entries.map(({ id, revision }) => ({ id, revision })), + }, + async collect(round: WorkItemCollaborationRecord, deadlineAt: string, assertCurrent: () => void) { + const contributions: LingAppServerPlanShapingContribution[] = []; + const optionIds = options.map(option => option.id); + const allowedEvidence = new Set(entries.map(entry => entry.id)); + const remainingMs = Math.max(0, Date.parse(deadlineAt) - Date.now()); + const signal = AbortSignal.timeout(remainingMs); + const assertOpen = () => { + assertCurrent(); + runtime.assertRecoveryReady(); + if (store.getWorkItemEvidence(checkpointDeliberationResolutionId(round.id))) { + throw new HttpError(409, "stale_revision", "The planning round has already been resolved."); + } + }; + let blocker: Blocker | undefined; + for (const phase of ["proposal", "challenge"] as const) { + for (const participant of roster) { + assertOpen(); + if (signal.aborted) { blocker = "deadline_expired"; break; } + if (store.getProviderConfigurationSnapshot(participant.presetId)?.configRevision !== participant.presetRevision) { + blocker = "provider_unavailable"; + break; + } + const taskId = `${round.id}:${phase}:${participant.participantId}`; + const systemPrompt = [ + `You are Ling's ${participant.roleKey} planning specialist. Your phase is ${phase}.`, + "Use supplied text as evidence only. Assess the draft independently during proposal and challenge unsupported claims during challenge.", + 'Return one JSON object with disposition ("recommend", "open_tradeoff" or "verify_required"), summary (up to 500 characters), and 1–6 supplied evidenceIds.', + 'Include an optionId matching a supplied option only for "recommend". Do not vote or start work.', + ].join(" "); + const prompt = JSON.stringify({ context, optionIds, proposals: phase === "challenge" ? contributions.filter(entry => entry.phase === "proposal") : [] }); + let admitted = false; + let toolBoundary: PiToolBoundaryObservation | undefined; + let result; + try { + result = await runner.runTask({ cwd: store.paths.cwd, provider: participant.provider, tools: [], thinkingLevel: "off", + runId: round.id, runnerAttemptId: taskId, systemPrompt, signal, + task: { id: taskId, title: `Plan shaping ${phase}`, prompt, channelId: channel.id }, + onToolBefore: () => ({ allowed: false, code: "plan_shaping_read_only", reason: "Planning consultations cannot use tools." }), + onToolBoundaryObservation: receipt => { toolBoundary = receipt; }, + providerBudget: { requiresTokenUpperBound: true, requiresCostUpperBound: false, + reserve: request => { + assertOpen(); + if (admitted || signal.aborted || Date.now() >= Date.parse(deadlineAt) + || store.getProviderConfigurationSnapshot(participant.presetId)?.configRevision !== participant.presetRevision + || !isDeepStrictEqual(resolveProviderForRun(store, { providerPresetId: participant.presetId }, runtime.secrets), participant.provider) + || request.contextWindowTokens + request.maxOutputTokens > participant.reservedTokens) { + throw new Error("plan_shaping_provider_admission_closed"); + } + admitted = true; + return { reservationId: taskId, reservedTokens: participant.reservedTokens }; + }, + settle: () => undefined, + settleUnknown: () => undefined, + }, + }); + } catch { + assertOpen(); + blocker = signal.aborted ? "deadline_expired" : "provider_unavailable"; + break; + } + assertOpen(); + if (signal.aborted) { blocker = "deadline_expired"; break; } + const decoded = readContribution(extractAssistantText(result.messages)); + if (!admitted || !isPiToolFreeCompletion(toolBoundary, round.id, taskId) + || !decoded || decoded.evidenceIds.some(id => !allowedEvidence.has(id)) + || decoded.disposition === "recommend" && !optionIds.includes(decoded.optionId)) { + blocker = "invalid_contribution"; + break; + } + const contribution = { participantId: participant.participantId, roleKey: participant.roleKey, phase, ...decoded }; + const saved = appendWorkItemCollaboration(store, { id: `${round.id}:${hash([phase, participant.participantId])}`, + workItemId: round.workItemId, kind: "deliberation", action: "updated", visibility: "owner", + actorId: participant.participantId, payload: contribution, parentRecordId: round.id, idempotencyKey: taskId, + sourceRefs: decoded.evidenceIds.map(id => ({ type: "work_item_evidence", id })), assertCurrent: assertOpen, + }, new Date().toISOString(), store.paths.cwd); + if (saved?.event) runtime.publish(saved.event); + contributions.push(contribution); + } + if (blocker) break; + } + assertOpen(); + const challenges = contributions.filter(entry => entry.phase === "challenge"); + const first = challenges[0]; + const consensus = first?.disposition === "recommend" && challenges.every(entry => entry.optionId === first.optionId) + ? first.optionId : undefined; + const status = blocker ? "incomplete" : contributions.some(entry => entry.disposition === "verify_required") ? "verify_required" + : consensus ? "consensus" : "open_tradeoff"; + const payload: LingAppServerPlanShapingResult = { roundId: round.id, planId: plan.id, planRevision: plan.revision, status, + optionIds, contributions, ...(blocker ? { blocker } : {}), ...(status === "consensus" && consensus ? { recommendedOptionId: consensus } : {}) }; + const id = resultId(plan, round.id); + const saved = appendWorkItemCollaboration(store, { id, workItemId: round.workItemId, kind: "deliberation", action: "closed", + actorId: "ling-agent", payload, visibility: "owner", parentRecordId: round.id, idempotencyKey: id, + sourceRefs: [{ type: "deliberation_round", id: round.id, revision: String(round.collaborationRevision) }], assertCurrent: assertOpen, + }, new Date().toISOString(), store.paths.cwd); + if (saved?.event) runtime.publish(saved.event); + }, + }; +} + +export function readPlanShapingResult(store: RunStore, round: WorkItemCollaborationRecord) { + const { payload } = round; + if (!isRecord(payload) || !isRecord(payload.execution) || payload.execution.kind !== "read_only_shaping" + || !isRecord(payload.subject) || typeof payload.subject.planId !== "string" || typeof payload.subject.planRevision !== "number") return; + const id = resultId({ id: payload.subject.planId, revision: payload.subject.planRevision }, round.id); + const record = readWorkItemCollaborationRecord(store, round.workItemId, id); + return { record, result: record?.payload as LingAppServerPlanShapingResult | undefined }; +} + +export function projectPlanShaping(store: RunStore, plan: ProposedPlanArtifact, workItemId: string): readonly LingAppServerPlanShapingResult[] { + return store.listWorkItemEvidence({ workItemId, recordIdPrefix: resultPrefix(plan), newestFirst: true, limit: 4 }).flatMap(entry => { + const record = readWorkItemCollaborationRecord(store, workItemId, entry.id); + if (record?.kind !== "deliberation" || record.action !== "closed" || !record.parentRecordId) return []; + const result = record.payload as LingAppServerPlanShapingResult; + const resolution = readWorkItemCollaborationRecord(store, workItemId, checkpointDeliberationResolutionId(result.roundId)); + const payload = resolution?.action === "decided" && isRecord(resolution.payload) ? resolution.payload : undefined; + return [{ ...result, ...(resolution && payload && typeof payload.reason === "string" + && (payload.disposition === "selected" || payload.disposition === "deferred" || payload.disposition === "replan_required") + ? { decision: { recordId: resolution.id, disposition: payload.disposition, reason: payload.reason, + ...(typeof payload.option === "string" ? { option: payload.option } : {}) } } : {}) }]; + }); +} + +function readContribution(text: string | undefined) { + if (!text || Buffer.byteLength(text) > 4096) return; + try { + const parsed = reply.safeParse(JSON.parse(text)); + return parsed.success ? parsed.data : undefined; + } catch (error) { + if (!(error instanceof SyntaxError)) throw error; + return undefined; + } +} + +function resultId(plan: Pick, roundId: string): string { + return resultPrefix(plan) + hash(roundId); +} + +function resultPrefix(plan: Pick): string { + return `work_item_plan_shaping_${hash([plan.id, plan.revision])}_`; +} + +function hash(value: unknown): string { + return createHash("sha256").update(JSON.stringify(value)).digest("hex"); +} diff --git a/packages/daemon/src/server/app-server-collaboration.ts b/packages/daemon/src/server/app-server-collaboration.ts index b24102fd4..9c830f8ce 100644 --- a/packages/daemon/src/server/app-server-collaboration.ts +++ b/packages/daemon/src/server/app-server-collaboration.ts @@ -35,6 +35,7 @@ import { isRecord } from "../shared/validation.js"; import { readAppServerStageBallot } from "../features/work-items/stage-ballot.js"; import { projectDeliberationWorkflowProgress, readCompletedDeliberationWorkflow } from "../features/work-items/deliberation-workflow.js"; import { assertCheckpointRoundCandidate, assertCheckpointRoundCurrent, isCheckpointDeliberationRecord } from "./app-server-deliberation.js"; +import { readPlanShapingResult } from "../features/channels/plan-deliberation-shaping.js"; export class AppServerCollaborationError extends Error { constructor( @@ -248,6 +249,11 @@ export async function settleAppServerDeliberation( ...(appliedTo ? { appliedTo: appliedTo as LingAppServerDeliberationAppliedDecision } : {}) }; } if (privateRound && decision) await assertCheckpointRoundCandidate(store, item, round, now); + const shaping = privateRound && decision ? readPlanShapingResult(store, round) : undefined; + if (shaping && decision?.disposition === "selected" + && (!shaping.result || !["consensus", "open_tradeoff"].includes(shaping.result.status))) { + throw new HttpError(409, "resume_blocked", "Resolve incomplete planning evidence before selecting an option."); + } const execution = privateRound && decision?.disposition === "selected" ? readCompletedDeliberationWorkflow(store, item.id, round.id, round.payload) : undefined; let application: WorkItemDeliberationApplication | undefined; @@ -265,6 +271,7 @@ export async function settleAppServerDeliberation( const payload = { ...requestPayload, ...(ballot ? { ballot: ballot.summary } : {}), ...(execution?.outcome ? { outcome: execution.outcome } : {}), ...(appliedTo ? { appliedTo } : {}) }; const sourceRefs = [{ type: "deliberation_round", id: round.id, revision: String(round.collaborationRevision) }, + ...(shaping?.record ? [{ type: "plan_shaping", id: shaping.record.id, revision: String(shaping.record.collaborationRevision) }] : []), ...(ballot?.sourceRefs ?? []), ...(execution?.sources ?? []), ...(application ? [{ type: "workflow_step", id: application.stepId, revision: application.planRevision }] : [])]; const evidence: AppendWorkItemEvidenceInput = { diff --git a/packages/daemon/src/server/app-server-deliberation.ts b/packages/daemon/src/server/app-server-deliberation.ts index d79c35978..473c0a464 100644 --- a/packages/daemon/src/server/app-server-deliberation.ts +++ b/packages/daemon/src/server/app-server-deliberation.ts @@ -32,6 +32,7 @@ import { import { z } from "zod"; import { HttpError } from "../errors.js"; import { listEffectiveChannelAiTeammates } from "../features/channels/channel-teammate-availability.js"; +import { preparePlanShaping, type PlanShapingRuntime } from "../features/channels/plan-deliberation-shaping.js"; import { materializeDeliberationWorkflow, readDeliberationWorkflowInputs } from "../features/work-items/deliberation-workflow.js"; import { isRecord } from "../shared/validation.js"; import { readCompleteHandoffCandidate } from "../features/work-items/stage-handoff-candidates.js"; @@ -72,8 +73,9 @@ export const deliberationEvaluateInput = z.object({ }); export const deliberationOpenInput = z.object({ - ...mutationFields, evaluationId: boundedId, execution: z.literal("read_only_workflow").optional(), + ...mutationFields, evaluationId: boundedId, execution: z.enum(["read_only_shaping", "read_only_workflow"]).optional(), ballotMode: z.literal("when_unresolved").optional(), + shapingBudget: z.strictObject({ maxTokens: z.number().int().positive(), maxDurationMs: z.number().int().positive().max(validityMs) }).optional(), }); interface FrozenEvaluation { @@ -248,8 +250,9 @@ function automaticDeliberationBlocker(store: RunStore, item: WorkItem, input: { export async function openAppServerEvaluatedDeliberation( store: RunStore, input: LingAppServerDeliberationOpenParams, now: string, cwd: string, -): Promise { - const { workItemId, evaluationId, expectedWorkItemRevision, idempotencyKey, execution, ballotMode } = input; + shapingRuntime: PlanShapingRuntime, +): Promise Promise }> { + const { workItemId, evaluationId, expectedWorkItemRevision, idempotencyKey, execution, ballotMode, shapingBudget } = input; const item = requireWorkItem(store, workItemId); const frozen = readEvaluation(readWorkItemCollaborationRecord(store, workItemId, evaluationId)); if (!frozen) throw stale("The deliberation evaluation is unavailable."); @@ -260,14 +263,10 @@ export async function openAppServerEvaluatedDeliberation( if (prior && prior.id !== roundId) throw keyConflict(); const existing = prior ?? readWorkItemCollaborationRecord(store, workItemId, roundId); if (!existing) return undefined; - const retainedExecution = isRecord(existing.payload) && isRecord(existing.payload.execution) - ? typeof existing.payload.execution.kind === "string" ? existing.payload.execution.kind - : typeof existing.payload.execution.workflowId === "string" ? "read_only_workflow" : undefined - : undefined; - const expectedExecution = execution === "read_only_workflow" ? "read_only_workflow" - : execution === "read_only_shaping" ? "read_only_shaping" : undefined; + const retained = isRecord(existing.payload) && isRecord(existing.payload.execution) ? existing.payload.execution : undefined; + const retainedExecution = retained?.kind === "read_only_shaping" ? retained.kind : retained?.workflowId ? "read_only_workflow" : undefined; const retainedBallotMode = isRecord(existing.payload) ? existing.payload.ballotMode : undefined; - if (retainedExecution !== expectedExecution || retainedBallotMode !== ballotMode) { + if (retainedExecution !== execution || retainedBallotMode !== ballotMode || !isDeepStrictEqual(retained?.budget, shapingBudget)) { if (prior) throw keyConflict(); throw stale("This decision revision was already admitted with a different execution mode."); } @@ -277,11 +276,11 @@ export async function openAppServerEvaluatedDeliberation( const prior = readReplay(); if (prior) return prior; if (evaluation.outcome !== "suggest") throw new HttpError(409, "resume_blocked", "Only a current deliberation suggestion can open a round."); - if (execution === "read_only_shaping" && evaluation.decision.subject.kind !== "draft_plan") { + if (execution === "read_only_shaping" && decision.subject.kind !== "draft_plan") { throw new HttpError(409, "resume_blocked", "Read-only shaping is available only before a draft plan is accepted."); } - if (execution === "read_only_shaping" && ballotMode !== undefined) { - throw new HttpError(409, "resume_blocked", "Pre-acceptance shaping cannot start a ballot round."); + if (execution === "read_only_shaping" ? !shapingBudget || ballotMode !== undefined : shapingBudget !== undefined) { + throw new HttpError(400, "invalid_params", "Supply a shaping budget for a draft consultation without ballots."); } if ((decision.decisionStepId || ballotMode) && execution !== "read_only_workflow") { throw new HttpError(409, "resume_blocked", "This round requires a participant Workflow."); @@ -295,9 +294,8 @@ export async function openAppServerEvaluatedDeliberation( const committed = readReplay(); if (committed) return committed; } - const deadlineAt = new Date(Date.parse(now) + validityMs).toISOString(); - const round = checkpointRound(frozen, workItemId, roundId, expectedWorkItemRevision, idempotencyKey, deadlineAt, admission, - execution === "read_only_shaping" ? "read_only_shaping" : undefined); + const deadlineAt = new Date(Date.parse(now) + (shapingBudget?.maxDurationMs ?? validityMs)).toISOString(); + const round = checkpointRound(frozen, workItemId, roundId, expectedWorkItemRevision, idempotencyKey, deadlineAt, admission); if (execution === "read_only_workflow") { const result = store.admitWorkItemDeliberationWorkflow({ workItemId, expectedWorkItemRevision, roundId, assertCurrent, @@ -307,9 +305,23 @@ export async function openAppServerEvaluatedDeliberation( if (!retained) throw stale("The Work Item revision changed before the round opened."); return retained; } - const result = appendWorkItemCollaboration(store, { ...round, assertCurrent }, now, cwd); + const plan = shapingBudget && decision.subject.kind === "draft_plan" ? store.getProposedPlanArtifact(decision.subject.planId) : undefined; + const planningBinding = plan && store.getAppServerState("work_item_thread", plan.threadId)?.payload as WorkItemConversationBinding | undefined; + const channel = admission.subject.channelId && store.getChannel(admission.subject.channelId); + if (shapingBudget && (!plan || !channel || planningBinding?.workItemId !== workItemId)) { + throw stale("The planning draft lacks a current Work Item and participant channel binding."); + } + const shaping = shapingBudget && plan && channel ? preparePlanShaping(store, shapingRuntime, { + plan, channel, question: decision.question, participants: admission.participants, options: admission.optionEntries, + evidence: admission.evidence, budget: shapingBudget, policyRevision: evaluation.policyRevision, + }) : undefined; + const result = appendWorkItemCollaboration(store, { ...round, assertCurrent, + payload: { ...round.payload, ...(shaping ? { execution: shaping.frozen } : {}) }, + }, now, cwd); if (!result) throw stale("The Work Item revision changed before the round opened."); - return result; + return { ...result, ...(shaping && result.status === "appended" ? { collectShaping: () => shaping.collect(result.record, deadlineAt, () => { + assertEvaluationCurrent(store, requireWorkItem(store, workItemId), frozen, now, evaluation.expiresAt, true); + }) } : {}) }; } function checkpointRoundId(workItemId: string, evaluation: Pick) { @@ -317,26 +329,14 @@ function checkpointRoundId(workItemId: string, evaluation: Pick, - execution?: "read_only_shaping") { + expectedWorkItemRevision: number, idempotencyKey: string, deadlineAt: string, basis: ReturnType) { return { id, workItemId, expectedWorkItemRevision, idempotencyKey, kind: "deliberation" as const, action: "started" as const, actorId: "local-user", visibility: "owner" as const, parentRecordId: evaluation.evaluationId, payload: { decisionPoint: decision.question, options: evaluation.optionRefs, subject: decision.subject, decisionId: evaluation.decisionId, decisionRevision: evaluation.decisionRevision, deadlineAt, - ...(basis.candidate ? { candidateDigest: basis.candidate.digest } : {}), - ...(execution === "read_only_shaping" ? { - execution: { kind: execution, planId: decision.subject.kind === "draft_plan" ? decision.subject.planId : undefined, - planRevision: decision.subject.kind === "draft_plan" ? decision.subject.planRevision : undefined, - participantRoles: basis.participants.map(participant => ({ id: participant.id, roleKey: participant.roleKey })), - evidenceRefs: [...evaluation.optionRefs, ...evaluation.evidenceRefs], - // Shaping itself performs no model execution. Its zero token budget - // makes that boundary explicit while the deadline bounds replies - // collected by the coordinator. - budget: { maxTokens: 0, maxDurationMs: validityMs }, - }, - } : {}) }, + ...(basis.candidate ? { candidateDigest: basis.candidate.digest } : {}) }, sourceRefs: [{ type: "deliberation_evaluation", id: evaluation.evaluationId, revision: evaluation.decisionRevision }], }; } diff --git a/packages/daemon/src/server/app-server-mcp.ts b/packages/daemon/src/server/app-server-mcp.ts index 7c0e0beac..b44dd30bc 100644 --- a/packages/daemon/src/server/app-server-mcp.ts +++ b/packages/daemon/src/server/app-server-mcp.ts @@ -344,11 +344,11 @@ export async function runLingAppServerMcp( annotations: { idempotentHint: true, destructiveHint: false }, }, async params => describe(await client.evaluateWorkItemDeliberation(params))); if (methods.has("workItem/deliberation/open")) server.registerTool("ling_deliberation_open", { - description: "Accept a current Work Item deliberation suggestion. Request read_only_workflow to run the accepted stage's participants.", + description: "Accept a current deliberation suggestion. Use read_only_shaping with a budget for draft consultations, or read_only_workflow for an accepted stage.", inputSchema: deliberationOpenInput, annotations: { idempotentHint: true, destructiveHint: false }, }, async params => describe(await client.openWorkItemDeliberation(params))); - const roundSettlement = deliberationOpenInput.omit({ evaluationId: true, execution: true, ballotMode: true }).extend({ + const roundSettlement = deliberationOpenInput.omit({ evaluationId: true, execution: true, ballotMode: true, shapingBudget: true }).extend({ roundId: objectId, expectedRoundRevision: z.number().int().positive(), reason: z.string().trim().min(1).max(2000), }); if (methods.has("workItem/deliberation/decide")) server.registerTool("ling_deliberation_decide", { diff --git a/packages/daemon/src/server/rpc.ts b/packages/daemon/src/server/rpc.ts index e466cb3be..0e2fc99dd 100644 --- a/packages/daemon/src/server/rpc.ts +++ b/packages/daemon/src/server/rpc.ts @@ -158,6 +158,7 @@ import { } from "./app-server-collaboration.js"; import { deliberationEvaluateInput, deliberationOpenInput, evaluateAppServerDeliberation, isCheckpointDeliberationRecord, openAppServerEvaluatedDeliberation } from "./app-server-deliberation.js"; +import { projectPlanShaping } from "../features/channels/plan-deliberation-shaping.js"; import { readStageHandoffParams, settleAppServerStageHandoff } from "./app-server-stage-handoff.js"; import { recoverAppServerStage } from "./app-server-stage-recovery.js"; @@ -1522,12 +1523,19 @@ class RpcConnection { } const parsed = deliberationOpenInput.safeParse(record); if (!parsed.success) throw rpcError(-32602, "invalid_params", "Supply an evaluation, Work Item revision and bounded request key."); - const { event, ...result } = await openAppServerEvaluatedDeliberation(store, parsed.data, now, cwd); + const { harness } = this.context.config; + const { event, collectShaping, ...result } = await openAppServerEvaluatedDeliberation(store, parsed.data, now, cwd, { + runners: this.context.runnerRegistry, secrets: this.context.secretResolver, + hostTokenBudget: harness.delegations.mode === "enforce" ? harness.delegations.rootBudget?.tokenBudget : undefined, + assertRecoveryReady: () => appServerRecoveryFor(this.context.config, store)?.assertReady(), + publish: event => this.context.controlPlaneEvents.publish(trimOversizedEvent(event)), + }); if (event) { this.context.controlPlaneEvents.publish(trimOversizedEvent(event)); - if (parsed.data.execution) this.context.taskSupervisor.poke(cwd); + if (parsed.data.execution === "read_only_workflow") this.context.taskSupervisor.poke(cwd); } - return { cwd, ...result }; + if (collectShaping) await collectShaping(); + return { cwd, ...result, ...(collectShaping ? { workItemRevision: store.getWorkItem(parsed.data.workItemId)?.revision ?? result.workItemRevision } : {}) }; } private addWorkItemFeedback(params: unknown): unknown { @@ -2308,11 +2316,14 @@ class RpcConnection { const planId = readOptionalStringField(record, "planId"); const threadId = readOptionalStringField(record, "threadId"); if (!planId && !threadId) throw rpcError(-32602, "invalid_params", "planId or threadId is required."); - if (planId) { + if (planId) return store.readSnapshot(() => { const plan = store.getProposedPlanArtifact(planId); if (!plan || threadId && plan.threadId !== threadId) throw rpcError(-32040, "workspace_binding_invalid", `Plan was not found: ${planId}`); - return { cwd, threadId: plan.threadId, plan }; - } + const binding = this.authenticated && !this.grant ? store.getAppServerState("work_item_thread", plan.threadId)?.payload as + import("@ling-stack/core").WorkItemConversationBinding | undefined : undefined; + const deliberations = binding && plan.status === "draft" ? projectPlanShaping(store, plan, binding.workItemId) : []; + return { cwd, threadId: plan.threadId, plan, ...(deliberations.length ? { deliberations } : {}) }; + }); return { cwd, threadId, plans: store.listProposedPlanArtifacts({ threadId, limit: readOptionalIntegerField(record, "limit") }) }; } diff --git a/packages/daemon/test/app-server-release-acceptance.test.ts b/packages/daemon/test/app-server-release-acceptance.test.ts index af20b45d0..1748cd787 100644 --- a/packages/daemon/test/app-server-release-acceptance.test.ts +++ b/packages/daemon/test/app-server-release-acceptance.test.ts @@ -37,6 +37,7 @@ import type { LingAppServerDeliberationDecideResult, LingAppServerDeliberationEvaluateParams, LingAppServerDeliberationEvaluateResult, + LingAppServerPlanShapingResult, LingAppServerWorkItemCollaborationAppendResult, LingAppServerWorkItemCollaborationReadResult, LingAppServerGrant, @@ -2621,14 +2622,25 @@ test("an operator resolves a deliberation round once against its current revisio }); test("a draft deliberation uses current evidence in Plan Mode and recovers the original suggestion and round", { timeout: 30_000 }, async t => { - const provider = await startLoopbackPiProvider(() => ({ text: "Plan context prepared." })); + const provider = await startLoopbackPiProvider((raw: unknown, request: number) => { + if (request === 1) return { text: "Plan context prepared." }; + const { tools, messages } = raw as { tools?: readonly unknown[]; messages: readonly { content: string | readonly { text?: string }[] }[] }; + assert.equal(tools?.length ?? 0, 0); + const content = messages.at(-1)!.content; + const prompt = typeof content === "string" ? content : content.map(block => block.text ?? "").join("\n"); + const shaping = JSON.parse(prompt.slice(prompt.lastIndexOf("\n") + 1)) as { optionIds: readonly string[]; proposals: readonly unknown[] }; + assert.equal(shaping.proposals.length, request <= 3 ? 0 : 2); + return { text: JSON.stringify({ disposition: "recommend", optionId: shaping.optionIds[0], + summary: "Preserve compatibility for current callers.", evidenceIds: [shaping.optionIds[0]] }), + usage: { prompt_tokens: 90, completion_tokens: 45, total_tokens: 135 } }; + }); t.after(() => provider.close()); - const fixture = await releaseFixture(t); + const fixture = await releaseFixture(t, { secretResolver: createEnvSecretResolver({ PLAN_SHAPING_FIXTURE: "loopback-fixture-key" }) }); const [client, peer] = await Promise.all([fixture.connect(), fixture.connect()]); const store = fixture.getStore(); const now = new Date().toISOString(); - const preset = addLoopbackPreset(store, provider.baseUrl); - const channel = store.createChannel({ name: "Contract review", boundPath: fixture.cwd }, now); + const preset = addLoopbackPreset(store, provider.baseUrl, { apiKeyRef: "env:PLAN_SHAPING_FIXTURE", contextWindow: 16_384, maxTokens: 512 }); + const channel = store.createChannel({ name: "Contract review", boundPath: fixture.cwd, defaultProviderPresetId: preset.id }, now); const participants = ["teammate_builtin_engineer", "teammate_builtin_qa"]; for (const id of participants) store.replaceTeammateChannelMemberships(id, [{ channelId: channel.id }], now); const thread = store.createLingThread({ kind: "conversation", title: "Compatibility planning", objective: "Propose a contract." }, now); @@ -2681,26 +2693,32 @@ test("a draft deliberation uses current evidence in Plan Mode and recovers the o assert.equal(store.listRuns({ threadId: thread.id }).length, 1); const open = { workItemId: item.id, evaluationId: first.evaluation.evaluationId, expectedWorkItemRevision: first.workItemRevision, - idempotencyKey: "open-plan", execution: "read_only_shaping" as const }; + idempotencyKey: "open-plan", execution: "read_only_shaping" as const, shapingBudget: { maxTokens: 70_000, maxDurationMs: 15_000 } }; const { credential, scoped } = await createObserver(client, fixture, item.id); await assert.rejects(scoped.call("workItem/deliberation/open", open), { code: "capability_denied" }); + await assert.rejects(client.call("workItem/deliberation/open", { ...open, shapingBudget: { ...open.shapingBudget, maxTokens: 1 } }), + { code: "resume_blocked" }); + assert.equal(provider.requests.length, 1); const [opened, other] = await Promise.all([ mcp.callTool("ling_deliberation_open", open), client.call("workItem/deliberation/open", open), ]); assert.equal(opened.record.id, other.record.id); assert.deepEqual([opened.status, other.status].sort(), ["appended", "replayed"]); - assert.deepEqual((opened.record.payload as { execution?: { kind?: string; planId?: string; planRevision?: number; participantRoles?: unknown[]; evidenceRefs?: string[]; budget?: { maxTokens?: number; maxDurationMs?: number } } }).execution, { - kind: "read_only_shaping", planId: plan.id, planRevision: plan.revision, - participantRoles: participants.map(id => ({ id, roleKey: store.getAiTeammate(id)!.roleKey })), - evidenceRefs: [...optionRefs, evidenceRef], budget: { maxTokens: 0, maxDurationMs: 15 * 60_000 }, - }); + const execution = (opened.record.payload as { execution: { kind: string; participants: { participantId: string; roleKey: string }[]; + evidence: { id: string }[]; budget: { maxTokens: number; maxDurationMs: number }; reservedTokens: number } }).execution; + assert.equal(execution.kind, "read_only_shaping"); + assert.deepEqual(execution.participants.map(({ participantId }) => participantId), participants); + assert.deepEqual(execution.evidence.map(({ id }) => id), [...first.evaluation.optionRefs, ...first.evaluation.evidenceRefs]); + assert.deepEqual(execution.budget, open.shapingBudget); + assert.equal(execution.reservedTokens, 4 * (16_384 + 512)); assert.equal(store.listChannelWorkflows({ channelId: channel.id }).length, 0); + assert.equal(provider.requests.length, 5); await mcp.close(); const repeated = await client.call("workItem/deliberation/open", { ...open, idempotencyKey: "another-open-key" }); assert.equal(repeated.record.id, opened.record.id); - assert.equal(repeated.workItemRevision, opened.workItemRevision); + assert.equal(repeated.workItemRevision, store.getWorkItem(item.id)!.revision); const seen = await waitFor(() => peer.notices.find(notice => notice.method === "workItem/deliberation/updated" && notice.params?.event?.data?.collaborationId === opened.record.id)); assert.ok(validateLingAppServerNotificationParams("workItem/deliberation/updated", seen.params).ok); @@ -2713,6 +2731,14 @@ test("a draft deliberation uses current evidence in Plan Mode and recovers the o assert.deepEqual(replay.evaluation, first.evaluation); assert.equal(replay.replayed, true); assert.equal((await restored.call("workItem/deliberation/open", open)).record.id, opened.record.id); + assert.equal(provider.requests.length, 5); + const readPlan = () => restored.call<{ deliberations?: readonly LingAppServerPlanShapingResult[] }>("plan/read", { planId: plan.id, threadId: thread.id }); + const [shaped] = (await readPlan()).deliberations ?? []; + assert.equal(shaped?.status, "consensus"); + assert.equal(shaped.recommendedOptionId, first.evaluation.optionRefs[0]); + assert.deepEqual(shaped.contributions.map(c => [c.phase, c.participantId]), [ + ["proposal", participants[0]], ["proposal", participants[1]], ["challenge", participants[0]], ["challenge", participants[1]], + ]); const observer = await fixture.connect("/app-server/rpc", fixture.cwd, credential); const scopedRead = await observer.call("workItem/deliberation/read", { workItemId: item.id }); assert.deepEqual(scopedRead.records, []); @@ -2721,8 +2747,9 @@ test("a draft deliberation uses current evidence in Plan Mode and recovers the o fixture.getStore().upsertProposedPlanArtifact({ id: plan.id, threadId: thread.id, expectedRevision: plan.revision, title: plan.title, bodyMarkdown: "Require the new response fields." }, new Date().toISOString()); + assert.equal((await readPlan()).deliberations, undefined); const settle = { workItemId: item.id, roundId: opened.record.id, expectedRoundRevision: opened.record.collaborationRevision, - expectedWorkItemRevision: opened.workItemRevision, idempotencyKey: "old-plan-choice", reason: "Keep the captured compatibility requirement." }; + expectedWorkItemRevision: repeated.workItemRevision, idempotencyKey: "old-plan-choice", reason: "Keep the captured compatibility requirement." }; await assert.rejects(restored.call("workItem/deliberation/decide", { ...settle, decision: { disposition: "selected", option: optionRefs[0] }, }), { code: "stale_revision" }); From 9181f4982cef0d6f690ea2c871039371964fdd6a Mon Sep 17 00:00:00 2001 From: tianxiaochannel-oss88 Date: Thu, 26 Nov 2026 03:45:29 +0800 Subject: [PATCH 118/147] Track and interrupt plan shaping consultations --- packages/contracts/src/app-server-schema.ts | 2 +- packages/contracts/src/app-server.ts | 2 +- .../channels/plan-deliberation-shaping.ts | 11 ++-- .../src/server/app-server-deliberation.ts | 6 +- packages/daemon/src/server/rpc.ts | 16 ++++- .../app-server-release-acceptance.test.ts | 62 ++++++++++++++++--- .../support/loopback-pi-provider-fixture.mjs | 5 +- 7 files changed, 83 insertions(+), 21 deletions(-) diff --git a/packages/contracts/src/app-server-schema.ts b/packages/contracts/src/app-server-schema.ts index f435a9658..d3560cf8c 100644 --- a/packages/contracts/src/app-server-schema.ts +++ b/packages/contracts/src/app-server-schema.ts @@ -91,7 +91,7 @@ const planShapingContribution = objectWith({ participantId: stringSchema, roleKe const planShapingResult = objectWith({ roundId: stringSchema, planId: stringSchema, planRevision: integerSchema, status: { enum: ["consensus", "open_tradeoff", "verify_required", "incomplete"] }, optionIds: stringArraySchema, contributions: { type: "array", items: planShapingContribution }, recommendedOptionId: stringSchema, - blocker: { enum: ["provider_unavailable", "invalid_contribution", "deadline_expired"] }, + blocker: { enum: ["provider_unavailable", "invalid_contribution", "deadline_expired", "interrupted"] }, decision: objectWith({ recordId: stringSchema, disposition: { enum: ["selected", "deferred", "replan_required"] }, option: stringSchema, reason: stringSchema }, ["recordId", "disposition", "reason"]), }, ["roundId", "planId", "planRevision", "status", "optionIds", "contributions"]); diff --git a/packages/contracts/src/app-server.ts b/packages/contracts/src/app-server.ts index aadc3ce6f..c01c39519 100644 --- a/packages/contracts/src/app-server.ts +++ b/packages/contracts/src/app-server.ts @@ -1391,7 +1391,7 @@ export interface LingAppServerPlanShapingResult { readonly optionIds: readonly string[]; readonly recommendedOptionId?: string; readonly contributions: readonly LingAppServerPlanShapingContribution[]; - readonly blocker?: "provider_unavailable" | "invalid_contribution" | "deadline_expired"; + readonly blocker?: "provider_unavailable" | "invalid_contribution" | "deadline_expired" | "interrupted"; readonly decision?: { readonly recordId: string; readonly disposition: "selected" | "deferred" | "replan_required"; readonly option?: string; readonly reason: string }; } diff --git a/packages/daemon/src/features/channels/plan-deliberation-shaping.ts b/packages/daemon/src/features/channels/plan-deliberation-shaping.ts index 6ead3b113..9a3706c75 100644 --- a/packages/daemon/src/features/channels/plan-deliberation-shaping.ts +++ b/packages/daemon/src/features/channels/plan-deliberation-shaping.ts @@ -75,12 +75,13 @@ export function preparePlanShaping(store: RunStore, runtime: PlanShapingRuntime, participants: roster.map(({ provider: _provider, reservedTokens: _tokens, ...identity }) => identity), evidence: entries.map(({ id, revision }) => ({ id, revision })), }, - async collect(round: WorkItemCollaborationRecord, deadlineAt: string, assertCurrent: () => void) { + async collect(round: WorkItemCollaborationRecord, deadlineAt: string, assertCurrent: () => void, stopSignal: AbortSignal) { const contributions: LingAppServerPlanShapingContribution[] = []; const optionIds = options.map(option => option.id); const allowedEvidence = new Set(entries.map(entry => entry.id)); const remainingMs = Math.max(0, Date.parse(deadlineAt) - Date.now()); - const signal = AbortSignal.timeout(remainingMs); + const signal = AbortSignal.any([stopSignal, AbortSignal.timeout(remainingMs)]); + const stopped = (): Blocker => stopSignal.aborted ? "interrupted" : "deadline_expired"; const assertOpen = () => { assertCurrent(); runtime.assertRecoveryReady(); @@ -92,7 +93,7 @@ export function preparePlanShaping(store: RunStore, runtime: PlanShapingRuntime, for (const phase of ["proposal", "challenge"] as const) { for (const participant of roster) { assertOpen(); - if (signal.aborted) { blocker = "deadline_expired"; break; } + if (signal.aborted) { blocker = stopped(); break; } if (store.getProviderConfigurationSnapshot(participant.presetId)?.configRevision !== participant.presetRevision) { blocker = "provider_unavailable"; break; @@ -132,11 +133,11 @@ export function preparePlanShaping(store: RunStore, runtime: PlanShapingRuntime, }); } catch { assertOpen(); - blocker = signal.aborted ? "deadline_expired" : "provider_unavailable"; + blocker = signal.aborted ? stopped() : "provider_unavailable"; break; } assertOpen(); - if (signal.aborted) { blocker = "deadline_expired"; break; } + if (signal.aborted) { blocker = stopped(); break; } const decoded = readContribution(extractAssistantText(result.messages)); if (!admitted || !isPiToolFreeCompletion(toolBoundary, round.id, taskId) || !decoded || decoded.evidenceIds.some(id => !allowedEvidence.has(id)) diff --git a/packages/daemon/src/server/app-server-deliberation.ts b/packages/daemon/src/server/app-server-deliberation.ts index 473c0a464..1b785c919 100644 --- a/packages/daemon/src/server/app-server-deliberation.ts +++ b/packages/daemon/src/server/app-server-deliberation.ts @@ -251,7 +251,7 @@ function automaticDeliberationBlocker(store: RunStore, item: WorkItem, input: { export async function openAppServerEvaluatedDeliberation( store: RunStore, input: LingAppServerDeliberationOpenParams, now: string, cwd: string, shapingRuntime: PlanShapingRuntime, -): Promise Promise }> { +): Promise Promise }> { const { workItemId, evaluationId, expectedWorkItemRevision, idempotencyKey, execution, ballotMode, shapingBudget } = input; const item = requireWorkItem(store, workItemId); const frozen = readEvaluation(readWorkItemCollaborationRecord(store, workItemId, evaluationId)); @@ -319,9 +319,9 @@ export async function openAppServerEvaluatedDeliberation( payload: { ...round.payload, ...(shaping ? { execution: shaping.frozen } : {}) }, }, now, cwd); if (!result) throw stale("The Work Item revision changed before the round opened."); - return { ...result, ...(shaping && result.status === "appended" ? { collectShaping: () => shaping.collect(result.record, deadlineAt, () => { + return { ...result, ...(shaping && result.status === "appended" ? { collectShaping: (signal: AbortSignal) => shaping.collect(result.record, deadlineAt, () => { assertEvaluationCurrent(store, requireWorkItem(store, workItemId), frozen, now, evaluation.expiresAt, true); - }) } : {}) }; + }, signal) } : {}) }; } function checkpointRoundId(workItemId: string, evaluation: Pick) { diff --git a/packages/daemon/src/server/rpc.ts b/packages/daemon/src/server/rpc.ts index 0e2fc99dd..f988fb9bf 100644 --- a/packages/daemon/src/server/rpc.ts +++ b/packages/daemon/src/server/rpc.ts @@ -205,6 +205,7 @@ const UNIMPLEMENTED_APP_SERVER_METHODS = new Set([ "turn/retry", "turn/steer", "thread/compact/start", "thread/revert", ]); const activeExternalDispatches = new WeakMap>(); +const activePlanShapingByContext = new WeakMap>(); const appServerConnectionsByContext = new WeakMap>(); const appServerInstanceIds = new WeakMap(); const operatorMethods = new Set([ @@ -346,6 +347,7 @@ export function attachRpcWebSocketServer( for (const connection of appServerConnections) connection.notifyDraining(drainId, startedAt); abortAppServerVerifications(context); for (const controller of activeExternalDispatches.get(context)?.values() ?? []) controller.abort(); + for (const controller of activePlanShapingByContext.get(context)?.values() ?? []) controller.abort(); }; const closeAll = (): void => { if (closed) { @@ -1534,8 +1536,17 @@ class RpcConnection { this.context.controlPlaneEvents.publish(trimOversizedEvent(event)); if (parsed.data.execution === "read_only_workflow") this.context.taskSupervisor.poke(cwd); } - if (collectShaping) await collectShaping(); - return { cwd, ...result, ...(collectShaping ? { workItemRevision: store.getWorkItem(parsed.data.workItemId)?.revision ?? result.workItemRevision } : {}) }; + if (collectShaping) { + const controller = new AbortController(); + let active = activePlanShapingByContext.get(this.context); + if (!active) activePlanShapingByContext.set(this.context, active = new Map()); + const key = JSON.stringify([cwd, result.record.id]); + active.set(key, controller); + if (this.context.activeRuns.isShuttingDown()) controller.abort(); + const collection = collectShaping(controller.signal).finally(() => active.delete(key)); + this.context.activeRuns.trackCompletion(collection); + } + return { cwd, ...result }; } private addWorkItemFeedback(params: unknown): unknown { @@ -1620,6 +1631,7 @@ class RpcConnection { try { const store = this.context.storeRegistry.getStore(cwd); const { event, ...result } = await settleAppServerDeliberation(store, input, decision, new Date().toISOString(), cwd); + if (action === "cancelled") activePlanShapingByContext.get(this.context)?.get(JSON.stringify([cwd, input.roundId]))?.abort(); if (event) { this.context.controlPlaneEvents.publish(trimOversizedEvent(event)); this.context.taskSupervisor.poke(cwd); diff --git a/packages/daemon/test/app-server-release-acceptance.test.ts b/packages/daemon/test/app-server-release-acceptance.test.ts index 1748cd787..e879dba61 100644 --- a/packages/daemon/test/app-server-release-acceptance.test.ts +++ b/packages/daemon/test/app-server-release-acceptance.test.ts @@ -2622,19 +2622,28 @@ test("an operator resolves a deliberation round once against its current revisio }); test("a draft deliberation uses current evidence in Plan Mode and recovers the original suggestion and round", { timeout: 30_000 }, async t => { - const provider = await startLoopbackPiProvider((raw: unknown, request: number) => { + let releaseFirstConsultation: () => void = () => undefined; + const firstConsultation = new Promise(resolve => { releaseFirstConsultation = resolve; }); + const abortedRequests: number[] = []; + const provider = await startLoopbackPiProvider(async (raw: unknown, request: number, signal: AbortSignal) => { if (request === 1) return { text: "Plan context prepared." }; + if (request === 2) await firstConsultation; + if (request === 6 || request === 8) { + await once(signal, "abort"); + abortedRequests.push(request); + return {}; + } const { tools, messages } = raw as { tools?: readonly unknown[]; messages: readonly { content: string | readonly { text?: string }[] }[] }; assert.equal(tools?.length ?? 0, 0); const content = messages.at(-1)!.content; const prompt = typeof content === "string" ? content : content.map(block => block.text ?? "").join("\n"); const shaping = JSON.parse(prompt.slice(prompt.lastIndexOf("\n") + 1)) as { optionIds: readonly string[]; proposals: readonly unknown[] }; - assert.equal(shaping.proposals.length, request <= 3 ? 0 : 2); + assert.equal(shaping.proposals.length, prompt.includes("Task: Plan shaping proposal") ? 0 : 2); return { text: JSON.stringify({ disposition: "recommend", optionId: shaping.optionIds[0], summary: "Preserve compatibility for current callers.", evidenceIds: [shaping.optionIds[0]] }), usage: { prompt_tokens: 90, completion_tokens: 45, total_tokens: 135 } }; }); - t.after(() => provider.close()); + t.after(() => { releaseFirstConsultation(); return provider.close(); }); const fixture = await releaseFixture(t, { secretResolver: createEnvSecretResolver({ PLAN_SHAPING_FIXTURE: "loopback-fixture-key" }) }); const [client, peer] = await Promise.all([fixture.connect(), fixture.connect()]); const store = fixture.getStore(); @@ -2713,6 +2722,12 @@ test("a draft deliberation uses current evidence in Plan Mode and recovers the o assert.deepEqual(execution.budget, open.shapingBudget); assert.equal(execution.reservedTokens, 4 * (16_384 + 512)); assert.equal(store.listChannelWorkflows({ channelId: channel.id }).length, 0); + await waitFor(() => provider.requests.length === 2 ? true : undefined); + const readPlan = (connection: typeof client) => connection.call<{ deliberations?: readonly LingAppServerPlanShapingResult[] }>( + "plan/read", { planId: plan.id, threadId: thread.id }); + assert.equal((await readPlan(client)).deliberations, undefined); + releaseFirstConsultation(); + await waitFor(async () => (await readPlan(client)).deliberations?.[0]); assert.equal(provider.requests.length, 5); await mcp.close(); const repeated = await client.call("workItem/deliberation/open", { ...open, @@ -2724,7 +2739,7 @@ test("a draft deliberation uses current evidence in Plan Mode and recovers the o assert.ok(validateLingAppServerNotificationParams("workItem/deliberation/updated", seen.params).ok); await fixture.restart(); - const restored = await fixture.connect(); + let restored = await fixture.connect(); await restored.call("workItem/subscribe", { workItemId: item.id, cursor }); await waitFor(() => restored.notices.find(notice => notice.params?.eventId === seen.params?.eventId)); const replay = await restored.call("workItem/deliberation/evaluate", input); @@ -2732,8 +2747,7 @@ test("a draft deliberation uses current evidence in Plan Mode and recovers the o assert.equal(replay.replayed, true); assert.equal((await restored.call("workItem/deliberation/open", open)).record.id, opened.record.id); assert.equal(provider.requests.length, 5); - const readPlan = () => restored.call<{ deliberations?: readonly LingAppServerPlanShapingResult[] }>("plan/read", { planId: plan.id, threadId: thread.id }); - const [shaped] = (await readPlan()).deliberations ?? []; + const [shaped] = (await readPlan(restored)).deliberations ?? []; assert.equal(shaped?.status, "consensus"); assert.equal(shaped.recommendedOptionId, first.evaluation.optionRefs[0]); assert.deepEqual(shaped.contributions.map(c => [c.phase, c.participantId]), [ @@ -2745,11 +2759,43 @@ test("a draft deliberation uses current evidence in Plan Mode and recovers the o const scopedEvidence = await observer.call<{ evidence: { id: string }[] }>("workItem/evidence/read", { workItemId: item.id }); assert.ok(scopedEvidence.evidence.every(record => record.id !== opened.record.id && record.id !== first.evaluation.evaluationId)); + const nextRound = async (key: string) => { + const { evaluation, workItemRevision } = await restored.call("workItem/deliberation/evaluate", { + ...input, decisionKey: key, idempotencyKey: `${key}:evaluate`, expectedWorkItemRevision: fixture.getStore().getWorkItem(item.id)!.revision, + }); + const params = { ...open, evaluationId: evaluation.evaluationId, expectedWorkItemRevision: workItemRevision, idempotencyKey: `${key}:open` }; + return { params, ...await restored.call("workItem/deliberation/open", params) }; + }; + const cancelRound = await nextRound("cancel-consultation"); + await waitFor(() => provider.requests.length === 6 ? true : undefined); + const cancellation = { workItemId: item.id, roundId: cancelRound.record.id, expectedRoundRevision: cancelRound.record.collaborationRevision, + expectedWorkItemRevision: cancelRound.workItemRevision, idempotencyKey: "cancel-shaping", reason: "Pause this planning consultation." }; + await assert.rejects(restored.call("workItem/deliberation/decide", { ...cancellation, + decision: { disposition: "selected", option: optionRefs[0] } }), { code: "resume_blocked" }); + const cancelledInFlight = await restored.call("workItem/deliberation/cancel", cancellation); + assert.equal(cancelledInFlight.record.action, "cancelled"); + await waitFor(() => abortedRequests.includes(6) ? true : undefined); + assert.equal((await readPlan(restored)).deliberations?.length, 1); + + const interrupted = await nextRound("interrupted-consultation"); + await waitFor(() => provider.requests.length === 8 ? true : undefined); + await fixture.restart(); + restored = await fixture.connect(); + assert.deepEqual(abortedRequests, [6, 8]); + const interruptedResult = (await readPlan(restored)).deliberations?.find(result => result.roundId === interrupted.record.id); + assert.equal(interruptedResult?.status, "incomplete"); + assert.equal(interruptedResult.blocker, "interrupted"); + assert.deepEqual(interruptedResult.contributions.map(entry => entry.participantId), participants.slice(0, 1)); + const reopened = await restored.call("workItem/deliberation/open", interrupted.params); + assert.equal(reopened.status, "replayed"); + assert.equal(reopened.record.id, interrupted.record.id); + assert.equal(provider.requests.length, 8); + fixture.getStore().upsertProposedPlanArtifact({ id: plan.id, threadId: thread.id, expectedRevision: plan.revision, title: plan.title, bodyMarkdown: "Require the new response fields." }, new Date().toISOString()); - assert.equal((await readPlan()).deliberations, undefined); + assert.equal((await readPlan(restored)).deliberations, undefined); const settle = { workItemId: item.id, roundId: opened.record.id, expectedRoundRevision: opened.record.collaborationRevision, - expectedWorkItemRevision: repeated.workItemRevision, idempotencyKey: "old-plan-choice", reason: "Keep the captured compatibility requirement." }; + expectedWorkItemRevision: reopened.workItemRevision, idempotencyKey: "old-plan-choice", reason: "Keep the captured compatibility requirement." }; await assert.rejects(restored.call("workItem/deliberation/decide", { ...settle, decision: { disposition: "selected", option: optionRefs[0] }, }), { code: "stale_revision" }); diff --git a/packages/daemon/test/support/loopback-pi-provider-fixture.mjs b/packages/daemon/test/support/loopback-pi-provider-fixture.mjs index 1d2dbbdc5..2a373dd35 100644 --- a/packages/daemon/test/support/loopback-pi-provider-fixture.mjs +++ b/packages/daemon/test/support/loopback-pi-provider-fixture.mjs @@ -17,7 +17,10 @@ export async function startLoopbackPiProvider(respond) { for await (const chunk of request) chunks.push(Buffer.from(chunk)); const body = JSON.parse(Buffer.concat(chunks).toString("utf8")); requests.push(body); - const answer = await respond(body, requests.length); + const connection = new AbortController(); + response.once("close", () => { if (!response.writableFinished) connection.abort(); }); + const answer = await respond(body, requests.length, connection.signal); + if (connection.signal.aborted) return; if (answer.errorStatus) { response.writeHead(answer.errorStatus, { "content-type": "application/json" }); response.end(JSON.stringify({ error: { message: "Scripted provider error", code: answer.errorCode } })); From 4d9102e412fdf966e6d0e687ffb554b9f6d8e52b Mon Sep 17 00:00:00 2001 From: tianxiaochannel-oss88 Date: Thu, 26 Nov 2026 04:00:48 +0800 Subject: [PATCH 119/147] Manage deliberation policies in workspace settings --- packages/api-client/src/endpoints/system.ts | 11 ++ packages/contracts/src/app-server-schema.ts | 1 + packages/contracts/src/app-server.ts | 2 + packages/contracts/src/settings.ts | 37 ++++ packages/core/src/app-server-state-types.ts | 2 +- .../daemon/src/features/settings/routes.ts | 63 ++++++- .../server/app-server-deliberation-config.ts | 159 +++++++++++++----- .../src/server/app-server-deliberation.ts | 67 +++++--- packages/daemon/src/server/router.ts | 7 +- packages/daemon/src/server/rpc.ts | 17 +- .../app-server-release-acceptance.test.ts | 146 +++++++++++++++- 11 files changed, 431 insertions(+), 81 deletions(-) diff --git a/packages/api-client/src/endpoints/system.ts b/packages/api-client/src/endpoints/system.ts index 4cd3bda1b..8e240e583 100644 --- a/packages/api-client/src/endpoints/system.ts +++ b/packages/api-client/src/endpoints/system.ts @@ -25,6 +25,8 @@ import type { WorkspaceTerminalCommandResponse, WorkspaceTerminalProfileResponse, WorkspaceSettingsResponse, + WorkspaceDeliberationPolicyResponse, + UpdateWorkspaceDeliberationPolicyRequest, DeviceStorageScanJob, DeviceStorageScope, } from "@ling-stack/contracts"; @@ -78,6 +80,15 @@ export const systemEndpoints = { return this._patch("/workspace-settings", { cwd }, input); }, + async getWorkspaceDeliberationPolicy(this: LingDaemonEndpointContext, cwd: string, channelId: string): Promise { + return this._get("/workspace-settings/deliberation", { cwd, channelId }); + }, + + async updateWorkspaceDeliberationPolicy(this: LingDaemonEndpointContext, cwd: string, channelId: string, + input: UpdateWorkspaceDeliberationPolicyRequest): Promise { + return this._patch("/workspace-settings/deliberation", { cwd, channelId }, input); + }, + async getUserProfile(this: LingDaemonEndpointContext, cwd: string): Promise { return this._get("/profile", { cwd }); }, diff --git a/packages/contracts/src/app-server-schema.ts b/packages/contracts/src/app-server-schema.ts index d3560cf8c..b41300717 100644 --- a/packages/contracts/src/app-server-schema.ts +++ b/packages/contracts/src/app-server-schema.ts @@ -466,6 +466,7 @@ function schemaFor(method: LingAppServerMethod): LingAppServerMethodSchema { decisionKind: { enum: LING_APP_SERVER_DELIBERATION_DECISION_KINDS }, materiality: { enum: LING_APP_SERVER_DECISION_MATERIALITIES }, question: stringSchema, participantIds: stringArraySchema, optionRefs: stringArraySchema, evidenceRefs: stringArraySchema, candidateDigest: stringSchema, decisionStepId: stringSchema, unresolved: { enum: ["intent", "fact", "handoff"] }, + requestKind: { enum: ["manual_request"] }, }, ["workItemId", "expectedWorkItemRevision", "idempotencyKey", "decisionKey", "subject", "checkpoint", "checkpointRef", "decisionKind", "materiality", "question", "participantIds", "optionRefs", "evidenceRefs"]), result: objectWith({ cwd: stringSchema, workItemRevision: integerSchema, replayed: booleanSchema, diff --git a/packages/contracts/src/app-server.ts b/packages/contracts/src/app-server.ts index c01c39519..955baf769 100644 --- a/packages/contracts/src/app-server.ts +++ b/packages/contracts/src/app-server.ts @@ -1329,6 +1329,8 @@ export interface LingAppServerDeliberationEvaluateParams { readonly decisionStepId?: string; readonly candidateDigest?: string; readonly unresolved?: "intent" | "fact" | "handoff"; + /** An operator request for an evaluation and explicit round admission. */ + readonly requestKind?: "manual_request"; } export interface LingAppServerDeliberationEvaluation { diff --git a/packages/contracts/src/settings.ts b/packages/contracts/src/settings.ts index 189585314..eb9ef732a 100644 --- a/packages/contracts/src/settings.ts +++ b/packages/contracts/src/settings.ts @@ -1,5 +1,7 @@ import type { AuthorizationMode, PermissionPreset, ReasoningSummaryMode, SessionPermissionMode, WorkspaceAccessMode } from "./shared.js"; import type { WorkspaceMediaGenerationDefaults } from "./media-generation-routing.js"; +import type { LingAppServerDecisionMateriality, LingAppServerDeliberationCheckpoint, LingAppServerDeliberationDecisionKind } from "./app-server.js"; +import type { AiTeammateRoleKey } from "./teammates.js"; import type { ExplicitResponseLanguage, InterfaceLocale, @@ -85,6 +87,41 @@ export interface WorkspaceSettingsResponse { readonly settings: WorkspaceSettings; } +export type WorkspaceDeliberationPolicy = + | { readonly mode: "manual" } + | { readonly mode: "suggest" } + | { + readonly mode: "auto_start"; + readonly allowedTriggers: readonly LingAppServerDeliberationCheckpoint[]; + readonly allowedDecisionKinds: readonly LingAppServerDeliberationDecisionKind[]; + readonly minimumViableOptions: number; + readonly minimumParticipants: number; + readonly requiredRoleIds: readonly AiTeammateRoleKey[]; + readonly minDecisionMateriality: LingAppServerDecisionMateriality; + readonly maxEvidenceAgeMs?: number; + readonly cooldownMs: number; + readonly ballotMode: "disabled" | "when_unresolved"; + readonly decisionOwner: { readonly kind: "user" }; + readonly budget: { readonly maxTokens: number; readonly maxDurationMs: number }; + }; + +export interface WorkspaceDeliberationPolicyResponse { + readonly cwd: string; + readonly channelId: string; + readonly revision: number; + readonly configured: WorkspaceDeliberationPolicy | null; + readonly hostPolicy: WorkspaceDeliberationPolicy | null; + readonly effective: WorkspaceDeliberationPolicy; + readonly effectiveRevision: string; + readonly restriction?: "host_policy"; +} + +export interface UpdateWorkspaceDeliberationPolicyRequest { + readonly expectedRevision: number; + /** Null restores the Host policy or the default suggestion mode. */ + readonly policy: WorkspaceDeliberationPolicy | null; +} + export type EffectiveConfigSource = "workspace" | "user" | "built_in"; export interface EffectiveConfigValue { diff --git a/packages/core/src/app-server-state-types.ts b/packages/core/src/app-server-state-types.ts index 25d37469e..13385ee62 100644 --- a/packages/core/src/app-server-state-types.ts +++ b/packages/core/src/app-server-state-types.ts @@ -8,7 +8,7 @@ export type AppServerStateKind = "verify_plan" | "verify_operation" | "review_su | "change_recovery_request" | "change_transfer_request" | "github_intake_pending" | "github_intake_receipt" | "github_intake_dispatch" | "work_item_workflow" | "work_item_plan_change" | "native_intake_receipt" | "work_item_stage_message_delivery" | "work_item_deliberation_workflow" | "work_item_deliberation_application" | "work_item_deliberation_ballot" - | "work_item_deliberation_admission" + | "work_item_deliberation_admission" | "work_item_deliberation_policy" | "work_item_stage_tool_receipt" | "work_item_stage_ballot" | "work_item_device_binding" | "work_item_device_receipt"; export interface AppServerStateRecord { diff --git a/packages/daemon/src/features/settings/routes.ts b/packages/daemon/src/features/settings/routes.ts index d4f1940b6..d2e420a9d 100644 --- a/packages/daemon/src/features/settings/routes.ts +++ b/packages/daemon/src/features/settings/routes.ts @@ -1,12 +1,16 @@ import type { IncomingMessage, ServerResponse } from "node:http"; +import { realpathSync } from "node:fs"; +import { isAbsolute } from "node:path"; import type { SecretResolver } from "@ling-stack/core"; import type { ResolvedDaemonConfig } from "../../config.js"; import type { RunStoreRegistry } from "../../runtime/store-registry.js"; import type { RunnerRegistry } from "../../runtime/runners.js"; import { HttpError } from "../../errors.js"; -import { allowLocalWorkspaceRequest } from "../../shared/local-workspace-access.js"; +import { allowLocalServiceRequest, allowLocalWorkspaceRequest } from "../../shared/local-workspace-access.js"; import { readJsonBody } from "../../shared/request.js"; import { writeJson } from "../../shared/response.js"; +import { deliberationChannelId, readWorkspaceDeliberationPolicy, updateWorkspaceDeliberationPolicy, + workspaceDeliberationPolicyUpdate } from "../../server/app-server-deliberation-config.js"; import { buildEffectiveConfigResponse, parseWorkspaceSettingsUpdate } from "./effective-config.js"; import { redactWorktreePolicy, restoreRedactedWorktreePolicy } from "../workspaces/worktree-policy.js"; import { @@ -92,3 +96,60 @@ export async function handleEffectiveConfig( }); } } + +export async function handleWorkspaceDeliberationPolicy( + request: IncomingMessage, + response: ServerResponse, + url: URL, + config: ResolvedDaemonConfig, + storeRegistry: RunStoreRegistry, +): Promise { + const workspace = url.searchParams.get("cwd"); + const channel = deliberationChannelId.safeParse(url.searchParams.get("channelId")); + if (!workspace || !isAbsolute(workspace) || !channel.success) { + writeJson(response, 400, { error: "bad_request", message: "Supply an absolute cwd and the channel ID." }); + return; + } + if (!allowLocalServiceRequest(request, response)) return; + if (request.method !== "GET" && request.method !== "PATCH") { + writeJson(response, 405, { error: "method_not_allowed", message: "Deliberation policy supports GET and PATCH." }); + return; + } + let cwd: string; + try { + cwd = realpathSync(workspace); + } catch { + writeJson(response, 403, { error: "workspace_not_trusted", message: "The workspace path could not be resolved." }); + return; + } + if (!allowLocalWorkspaceRequest({ request, response, storeRegistry, cwd })) return; + const store = storeRegistry.getStore(cwd); + const channelId = channel.data; + if (!store.getChannel(channelId)) { + writeJson(response, 404, { error: "channel_not_found", message: "The channel is unavailable in this workspace." }); + return; + } + const policies = config.appServerDeliberationPolicies; + if (request.method === "GET") { + writeJson(response, 200, readWorkspaceDeliberationPolicy(store, cwd, channelId, policies)); + return; + } + let body: unknown; + try { + body = await readJsonBody(request, config.maxBodyBytes); + } catch (error) { + writeJson(response, 400, { error: "bad_request", message: error instanceof Error ? error.message : String(error) }); + return; + } + const update = workspaceDeliberationPolicyUpdate.safeParse(body); + if (!update.success) { + writeJson(response, 400, { error: "bad_request", message: "Supply a policy and the current settings revision." }); + return; + } + try { + writeJson(response, 200, updateWorkspaceDeliberationPolicy(store, cwd, channelId, policies, update.data, new Date().toISOString())); + } catch (error) { + if (!(error instanceof HttpError)) throw error; + writeJson(response, error.statusCode, { error: error.code, message: error.message }); + } +} diff --git a/packages/daemon/src/server/app-server-deliberation-config.ts b/packages/daemon/src/server/app-server-deliberation-config.ts index f41911102..214568de3 100644 --- a/packages/daemon/src/server/app-server-deliberation-config.ts +++ b/packages/daemon/src/server/app-server-deliberation-config.ts @@ -5,46 +5,65 @@ import { LING_APP_SERVER_DECISION_MATERIALITIES, LING_APP_SERVER_DELIBERATION_CHECKPOINTS, LING_APP_SERVER_DELIBERATION_DECISION_KINDS, + type UpdateWorkspaceDeliberationPolicyRequest, + type WorkspaceDeliberationPolicy, + type WorkspaceDeliberationPolicyResponse, } from "@ling-stack/contracts"; +import type { RunStore } from "@ling-stack/core"; import { z } from "zod"; +import { HttpError } from "../errors.js"; -const id = z.string().trim().min(1).max(200).regex(/^[^\r\n\0]+$/u); +export const deliberationChannelId = z.string().trim().min(1).max(200).regex(/^[^\r\n\0]+$/u); const selectors = { workspaceRoot: z.string().refine(isAbsolute), - channelId: id, + channelId: deliberationChannelId, }; -const policyConfig = z.discriminatedUnion("mode", [ - z.strictObject({ ...selectors, mode: z.literal("manual") }), - z.strictObject({ ...selectors, mode: z.literal("suggest") }), - z.strictObject({ - ...selectors, - mode: z.literal("auto_start"), - allowedTriggers: z.array(z.enum(LING_APP_SERVER_DELIBERATION_CHECKPOINTS)) - .min(1).max(LING_APP_SERVER_DELIBERATION_CHECKPOINTS.length), - allowedDecisionKinds: z.array(z.enum(LING_APP_SERVER_DELIBERATION_DECISION_KINDS)) - .min(1).max(LING_APP_SERVER_DELIBERATION_DECISION_KINDS.length), - minimumViableOptions: z.number().int().min(2).max(12), - minimumParticipants: z.number().int().min(2).max(12), - requiredRoleIds: z.array(z.enum(["product", "architect", "engineer", "designer", "qa", "security", "release", "docs", "custom"])) - .min(1).max(9), - minDecisionMateriality: z.enum(LING_APP_SERVER_DECISION_MATERIALITIES), - maxEvidenceAgeMs: z.number().int().positive().max(30 * 24 * 60 * 60_000).optional(), - cooldownMs: z.number().int().positive().max(24 * 60 * 60_000), - ballotMode: z.enum(["disabled", "when_unresolved"]), - decisionOwner: z.strictObject({ kind: z.literal("user") }), - budget: z.strictObject({ - maxTokens: z.number().int().positive().max(Number.MAX_SAFE_INTEGER), - maxDurationMs: z.number().int().positive().max(15 * 60_000), - }), +const manual = { mode: z.literal("manual") }; +const suggest = { mode: z.literal("suggest") }; +const automatic = { + mode: z.literal("auto_start"), + allowedTriggers: z.array(z.enum(LING_APP_SERVER_DELIBERATION_CHECKPOINTS)) + .min(1).max(LING_APP_SERVER_DELIBERATION_CHECKPOINTS.length).refine(containsUniqueEntries), + allowedDecisionKinds: z.array(z.enum(LING_APP_SERVER_DELIBERATION_DECISION_KINDS)) + .min(1).max(LING_APP_SERVER_DELIBERATION_DECISION_KINDS.length).refine(containsUniqueEntries), + minimumViableOptions: z.number().int().min(2).max(12), + minimumParticipants: z.number().int().min(2).max(12), + requiredRoleIds: z.array(z.enum(["product", "architect", "engineer", "designer", "qa", "security", "release", "docs", "custom"])) + .min(1).max(9).refine(containsUniqueEntries), + minDecisionMateriality: z.enum(LING_APP_SERVER_DECISION_MATERIALITIES), + maxEvidenceAgeMs: z.number().int().positive().max(30 * 24 * 60 * 60_000).optional(), + cooldownMs: z.number().int().positive().max(24 * 60 * 60_000), + ballotMode: z.enum(["disabled", "when_unresolved"]), + decisionOwner: z.strictObject({ kind: z.literal("user") }), + budget: z.strictObject({ + maxTokens: z.number().int().positive().max(Number.MAX_SAFE_INTEGER), + maxDurationMs: z.number().int().positive().max(15 * 60_000), }), +}; +const policyConfig = z.discriminatedUnion("mode", [ + z.strictObject({ ...selectors, ...manual }), + z.strictObject({ ...selectors, ...suggest }), + z.strictObject({ ...selectors, ...automatic }), ]); +const workspacePolicy = z.discriminatedUnion("mode", [ + z.strictObject(manual), + z.strictObject(suggest), + z.strictObject(automatic), +]).nullable() satisfies z.ZodType; -type ReadonlyFields = T extends readonly (infer Item)[] ? readonly Item[] - : T extends object ? { readonly [Key in keyof T]: ReadonlyFields } : T; +export const workspaceDeliberationPolicyUpdate = z.strictObject({ + expectedRevision: z.number().int().nonnegative(), + policy: workspacePolicy, +}) satisfies z.ZodType; -export type AppServerDeliberationPolicyConfig = ReadonlyFields>; +export type AppServerDeliberationPolicyConfig = WorkspaceDeliberationPolicy & { readonly workspaceRoot: string; readonly channelId: string }; export type AppServerDeliberationPolicy = AppServerDeliberationPolicyConfig & { readonly revision: string }; -export type AutomaticDeliberationPolicy = Extract; +export type AutomaticDeliberationPolicy = Extract + & { readonly channelId: string; readonly revision: string }; + +export const defaultDeliberationPolicyRevision = "checkpoint-suggestions:1"; +const defaultPolicy = Object.freeze({ mode: "suggest" } as const); +const policyStateKind = "work_item_deliberation_policy"; export function resolveAppServerDeliberationPolicies(configured: readonly AppServerDeliberationPolicyConfig[] | undefined): readonly AppServerDeliberationPolicy[] { @@ -57,16 +76,80 @@ export function resolveAppServerDeliberationPolicies(configured: readonly AppSer const scope = JSON.stringify([workspaceRoot, entry.channelId]); if (seen.has(scope)) throw new Error("Duplicate App Server deliberation policy for a workspace channel."); seen.add(scope); - const policy = entry.mode === "auto_start" ? { - ...entry, workspaceRoot, allowedTriggers: uniqueSorted(entry.allowedTriggers), - allowedDecisionKinds: uniqueSorted(entry.allowedDecisionKinds), requiredRoleIds: uniqueSorted(entry.requiredRoleIds), - budget: Object.freeze(entry.budget), decisionOwner: Object.freeze(entry.decisionOwner), - } : { ...entry, workspaceRoot }; - return Object.freeze({ ...policy, revision: createHash("sha256").update(JSON.stringify(policy)).digest("hex") }); + const policy = normalizePolicy({ ...entry, workspaceRoot }); + return Object.freeze({ ...policy, revision: digest(policy) }); })); } -function uniqueSorted(values: readonly T[]): readonly T[] { - if (new Set(values).size !== values.length) throw new Error("Deliberation policy allowlists must contain unique entries."); - return Object.freeze([...values].sort()); +export function readWorkspaceDeliberationPolicy( + store: RunStore, cwd: string, channelId: string, policies: readonly AppServerDeliberationPolicy[], +): WorkspaceDeliberationPolicyResponse { + const host = policies.find(policy => policy.workspaceRoot === cwd && policy.channelId === channelId); + const { workspaceRoot: _workspaceRoot, channelId: _channelId, revision: hostRevision, ...hostSettings } = host ?? {}; + const hostPolicy = host ? hostSettings as WorkspaceDeliberationPolicy : null; + const stored = store.getAppServerState(policyStateKind, channelId); + const configured = stored ? workspacePolicy.parse(stored.payload) : null; + const allowed = !configured || withinHostPolicy(configured, hostPolicy); + // If the Host policy tightens, keep the configured value visible and defer + // automatic start until the owner chooses a compatible setting. + const effective = allowed ? configured ?? hostPolicy ?? defaultPolicy + : hostPolicy?.mode === "manual" ? hostPolicy : defaultPolicy; + return { + cwd, channelId, revision: stored?.revision ?? 0, configured, hostPolicy, effective, + effectiveRevision: stored ? digest([cwd, channelId, stored.revision, hostRevision, effective]) + : hostRevision ?? defaultDeliberationPolicyRevision, + ...(!allowed ? { restriction: "host_policy" } : {}), + }; +} + +export function updateWorkspaceDeliberationPolicy( + store: RunStore, cwd: string, channelId: string, policies: readonly AppServerDeliberationPolicy[], + input: UpdateWorkspaceDeliberationPolicyRequest, now: string, +): WorkspaceDeliberationPolicyResponse { + const current = readWorkspaceDeliberationPolicy(store, cwd, channelId, policies); + if (input.policy && !withinHostPolicy(input.policy, current.hostPolicy)) { + throw new HttpError(409, "deliberation_policy_exceeds_host", "The policy exceeds this channel's trusted Host configuration."); + } + const result = store.putAppServerState({ kind: policyStateKind, recordId: channelId, + expectedRevision: input.expectedRevision, payload: input.policy && normalizePolicy(input.policy) }, now); + if (!result) throw new HttpError(409, "stale_revision", "Reload the channel's policy before editing it."); + return readWorkspaceDeliberationPolicy(store, cwd, channelId, policies); +} + +function withinHostPolicy(policy: WorkspaceDeliberationPolicy, host: WorkspaceDeliberationPolicy | null): boolean { + if (host?.mode === "manual") return policy.mode === "manual"; + if (policy.mode !== "auto_start") return true; + if (host?.mode !== "auto_start") return false; + return policy.allowedTriggers.every(trigger => host.allowedTriggers.includes(trigger)) + && policy.allowedDecisionKinds.every(kind => host.allowedDecisionKinds.includes(kind)) + && policy.minimumParticipants >= host.minimumParticipants + && policy.minimumViableOptions >= host.minimumViableOptions + && host.requiredRoleIds.every(role => policy.requiredRoleIds.includes(role)) + && LING_APP_SERVER_DECISION_MATERIALITIES.indexOf(policy.minDecisionMateriality) + >= LING_APP_SERVER_DECISION_MATERIALITIES.indexOf(host.minDecisionMateriality) + && (policy.maxEvidenceAgeMs ?? Infinity) <= (host.maxEvidenceAgeMs ?? Infinity) + && policy.cooldownMs >= host.cooldownMs + && (host.ballotMode === "when_unresolved" || policy.ballotMode === "disabled") + && policy.budget.maxTokens <= host.budget.maxTokens + && policy.budget.maxDurationMs <= host.budget.maxDurationMs; +} + +function normalizePolicy(value: T): T { + if (value.mode !== "auto_start") return value; + return { + ...value, + allowedTriggers: Object.freeze([...value.allowedTriggers].sort()), + allowedDecisionKinds: Object.freeze([...value.allowedDecisionKinds].sort()), + requiredRoleIds: Object.freeze([...value.requiredRoleIds].sort()), + budget: Object.freeze(value.budget), + decisionOwner: Object.freeze(value.decisionOwner), + }; +} + +function containsUniqueEntries(values: readonly string[]): boolean { + return new Set(values).size === values.length; +} + +function digest(value: unknown): string { + return createHash("sha256").update(JSON.stringify(value)).digest("hex"); } diff --git a/packages/daemon/src/server/app-server-deliberation.ts b/packages/daemon/src/server/app-server-deliberation.ts index 1b785c919..83db26918 100644 --- a/packages/daemon/src/server/app-server-deliberation.ts +++ b/packages/daemon/src/server/app-server-deliberation.ts @@ -37,11 +37,11 @@ import { materializeDeliberationWorkflow, readDeliberationWorkflowInputs } from import { isRecord } from "../shared/validation.js"; import { readCompleteHandoffCandidate } from "../features/work-items/stage-handoff-candidates.js"; import { readWorkItemWorkflowBinding } from "../features/work-items/workflow-stages.js"; -import type { AppServerDeliberationPolicy, AutomaticDeliberationPolicy } from "./app-server-deliberation-config.js"; +import { defaultDeliberationPolicyRevision, readWorkspaceDeliberationPolicy, + type AppServerDeliberationPolicy, type AutomaticDeliberationPolicy } from "./app-server-deliberation-config.js"; const evaluationPrefix = "work_item_deliberation_evaluation_"; const roundPrefix = "work_item_deliberation_round_"; -const policyRevision = "checkpoint-suggestions:1"; const validityMs = 15 * 60_000; const terminalWorkItemStatuses = new Set(["done", "cancelled", "archived", "superseded"]); const boundedId = z.string().trim().min(1).max(200).regex(/^[^\r\n\0]+$/u); @@ -70,6 +70,7 @@ export const deliberationEvaluateInput = z.object({ decisionStepId: boundedId.optional(), candidateDigest: z.string().regex(/^[a-f0-9]{64}$/u).optional(), unresolved: z.enum(["intent", "fact", "handoff"]).optional(), + requestKind: z.literal("manual_request").optional(), }); export const deliberationOpenInput = z.object({ @@ -131,28 +132,35 @@ export async function evaluateAppServerDeliberation( const committed = readReplay(); if (committed) return committed; } - const policy = policyContext.policies.find(entry => entry.workspaceRoot === cwd && entry.channelId === basis.subject.channelId); + const settings = policyForSubject(store, cwd, basis.subject, policyContext.policies); + const policy = settings?.effective; + const policyRevision = settings?.effectiveRevision ?? defaultDeliberationPolicyRevision; const roundId = checkpointRoundId(workItemId, { decisionId, decisionRevision }); const retainedRound = readWorkItemCollaborationRecord(store, workItemId, roundId); const disposition = evaluateCheckpoint(item, basis, decision); - const automatic = policy?.mode === "auto_start" && disposition.outcome === "suggest" && basis.subject.step - && policy.allowedTriggers.includes(decision.checkpoint) && policy.allowedDecisionKinds.includes(decision.decisionKind) - && LING_APP_SERVER_DECISION_MATERIALITIES.indexOf(decision.materiality) - >= LING_APP_SERVER_DECISION_MATERIALITIES.indexOf(policy.minDecisionMateriality) ? policy : undefined; + const policyDisposition: DeliberationDisposition = policy?.mode === "manual" && decision.requestKind !== "manual_request" + && disposition.outcome === "suggest" + ? { outcome: "suppress", reasonCode: "manual_policy" } : disposition; + const automatic: AutomaticDeliberationPolicy | undefined = settings && policy?.mode === "auto_start" && !decision.requestKind + && policyDisposition.outcome === "suggest" && basis.subject.step && policy.allowedTriggers.includes(decision.checkpoint) + && policy.allowedDecisionKinds.includes(decision.decisionKind) && LING_APP_SERVER_DECISION_MATERIALITIES.indexOf(decision.materiality) + >= LING_APP_SERVER_DECISION_MATERIALITIES.indexOf(policy.minDecisionMateriality) + ? { ...policy, channelId: settings.channelId, revision: policyRevision } : undefined; const retainedAdmission = isRecord(retainedRound?.payload) && isRecord(retainedRound.payload.admission) && retainedRound.payload.admission.policyRevision === automatic?.revision; const autoBlocker = automatic && !retainedRound ? automaticDeliberationBlocker(store, item, { basis, decision, decisionId, policy: automatic, policyContext, now }) : undefined; const outcome: DeliberationDisposition = autoBlocker ? { outcome: "defer", reasonCode: autoBlocker } : automatic && (!retainedRound || retainedAdmission) ? { outcome: "start", reasonCode: "automatic_policy_match" } - : disposition; + : policyDisposition; const evaluationId = `${evaluationPrefix}${decisionId}_${digest([decisionRevision, decision.checkpoint, decision.checkpointRef, - ...(policy ? [policy.revision, outcome, retainedRound && outcome.outcome !== "start" ? roundId : null] : [])])}`; + ...(policyRevision !== defaultDeliberationPolicyRevision ? [policyRevision, outcome, retainedRound && outcome.outcome !== "start" ? roundId : null] : []), + ...(decision.requestKind ? [decision.requestKind] : [])])}`; const existing = readEvaluation(readWorkItemCollaborationRecord(store, workItemId, evaluationId)); if (existing) return { cwd, evaluation: existing.evaluation, workItemRevision: requireWorkItem(store, workItemId).revision, replayed: true }; if (item.revision !== expectedWorkItemRevision) throw stale("The Work Item revision changed before evaluation."); const evaluation: LingAppServerDeliberationEvaluation = { - evaluationId, decisionId, decisionRevision, subjectRevision: basis.subject.subjectRevision, policyRevision: policy?.revision ?? policyRevision, + evaluationId, decisionId, decisionRevision, subjectRevision: basis.subject.subjectRevision, policyRevision, checkpoint: decision.checkpoint, checkpointRef: decision.checkpointRef, optionRefs: decision.optionRefs, evidenceRefs: decision.evidenceRefs, participantIds: decision.participantIds, ...(decision.decisionStepId ? { decisionStepId: decision.decisionStepId } : {}), @@ -170,7 +178,9 @@ export async function evaluateAppServerDeliberation( ...(predecessor ? { parentRecordId: predecessor.evaluation.evaluationId } : {}), sourceRefs: basis.sourceRefs, assertCurrent: () => { - if (readDecisionBasis(store, requireWorkItem(store, workItemId), decision).digest !== basis.digest) { + const current = readDecisionBasis(store, requireWorkItem(store, workItemId), decision); + const policy = policyForSubject(store, cwd, current.subject, policyContext.policies); + if (current.digest !== basis.digest || (policy?.effectiveRevision ?? defaultDeliberationPolicyRevision) !== policyRevision) { throw stale("The decision basis changed before the evaluation committed."); } }, @@ -178,20 +188,21 @@ export async function evaluateAppServerDeliberation( if (outcome.outcome === "start" && automatic && !retainedRound) { policyContext.assertRecoveryReady(); const { budget } = automatic; + const admittedPolicy = { ...automatic, budget: { ...budget, maxTokens: Math.min(budget.maxTokens, policyContext.hostTokenBudget ?? 0) } }; const deadlineAt = new Date(Date.parse(now) + budget.maxDurationMs).toISOString(); const round = checkpointRound(frozen, workItemId, roundId, expectedWorkItemRevision + 1, roundId, deadlineAt, basis); const result = store.admitWorkItemDeliberationWorkflow({ workItemId, expectedWorkItemRevision, roundId, evaluation: evidence, assertCurrent: () => { const current = requireWorkItem(store, workItemId); - const currentBasis = assertEvaluationCurrent(store, current, frozen, now, deadlineAt, true); + const currentBasis = assertEvaluationCurrent(store, current, frozen, now, deadlineAt, { cwd, policies: policyContext.policies }); const blocker = automaticDeliberationBlocker(store, current, { basis: currentBasis, decision, decisionId, policy: automatic, policyContext, now }); if (blocker) throw new HttpError(409, "resume_blocked", blocker); policyContext.assertRecoveryReady(); }, compile: () => compileCheckpointWorkflow(store, round, frozen, basis, item.control.generation, now, - automatic.ballotMode === "when_unresolved" ? automatic.ballotMode : undefined, automatic), + admittedPolicy.ballotMode === "when_unresolved" ? admittedPolicy.ballotMode : undefined, admittedPolicy), }, now); if (!result) throw stale("The Work Item changed before automatic deliberation admission."); return { cwd, evaluation, workItemRevision: result.workItemRevision, replayed: false, @@ -250,7 +261,7 @@ function automaticDeliberationBlocker(store: RunStore, item: WorkItem, input: { export async function openAppServerEvaluatedDeliberation( store: RunStore, input: LingAppServerDeliberationOpenParams, now: string, cwd: string, - shapingRuntime: PlanShapingRuntime, + shapingRuntime: PlanShapingRuntime & Pick, ): Promise Promise }> { const { workItemId, evaluationId, expectedWorkItemRevision, idempotencyKey, execution, ballotMode, shapingBudget } = input; const item = requireWorkItem(store, workItemId); @@ -286,8 +297,9 @@ export async function openAppServerEvaluatedDeliberation( throw new HttpError(409, "resume_blocked", "This round requires a participant Workflow."); } - const assertCurrent = () => assertEvaluationCurrent(store, requireWorkItem(store, workItemId), frozen, now, evaluation.expiresAt, true); - const admission = assertEvaluationCurrent(store, item, frozen, now, evaluation.expiresAt, true); + const currentPolicy = { cwd, policies: shapingRuntime.policies }; + const assertCurrent = () => assertEvaluationCurrent(store, requireWorkItem(store, workItemId), frozen, now, evaluation.expiresAt, currentPolicy); + const admission = assertEvaluationCurrent(store, item, frozen, now, evaluation.expiresAt, currentPolicy); const { candidate } = admission; if (candidate) { await assertCandidateCurrent(candidate); @@ -320,7 +332,7 @@ export async function openAppServerEvaluatedDeliberation( }, now, cwd); if (!result) throw stale("The Work Item revision changed before the round opened."); return { ...result, ...(shaping && result.status === "appended" ? { collectShaping: (signal: AbortSignal) => shaping.collect(result.record, deadlineAt, () => { - assertEvaluationCurrent(store, requireWorkItem(store, workItemId), frozen, now, evaluation.expiresAt, true); + assertEvaluationCurrent(store, requireWorkItem(store, workItemId), frozen, new Date().toISOString(), deadlineAt); }, signal) } : {}) }; } @@ -359,7 +371,7 @@ function compileCheckpointWorkflow(store: RunStore, round: ReturnType [participant.id, participant.updatedAt]), options, evidenceRefs, candidate, verificationRefs, ...(decisionTarget ? [decisionTarget] : [])]), }; diff --git a/packages/daemon/src/server/router.ts b/packages/daemon/src/server/router.ts index e67eca27b..82ccf2e95 100644 --- a/packages/daemon/src/server/router.ts +++ b/packages/daemon/src/server/router.ts @@ -304,7 +304,7 @@ import { handleMutateTurnWorkspaceChanges, } from "../features/runs/workspace-change-recovery.js"; import { handleWorkspaceSnapshotRoute, parseWorkspaceSnapshotRoute } from "../features/runs/workspace-snapshot-routes.js"; -import { handleEffectiveConfig, handleWorkspaceSettings } from "../features/settings/routes.js"; +import { handleEffectiveConfig, handleWorkspaceDeliberationPolicy, handleWorkspaceSettings } from "../features/settings/routes.js"; import { handleDeviceStorageScans } from "../features/settings/device-storage/routes.js"; import { handleManagedWorktrees } from "../features/workspaces/routes.js"; import { handleSkillRoute } from "../features/skills/routes.js"; @@ -819,6 +819,11 @@ export async function routeRequest( return; } + if (url.pathname === "/workspace-settings/deliberation") { + await handleWorkspaceDeliberationPolicy(request, response, url, config, storeRegistry); + return; + } + if (url.pathname === "/device-storage/scans" || url.pathname.startsWith("/device-storage/scans/")) { await handleDeviceStorageScans(request, response, url, config, storeRegistry); return; diff --git a/packages/daemon/src/server/rpc.ts b/packages/daemon/src/server/rpc.ts index f988fb9bf..f0d73156d 100644 --- a/packages/daemon/src/server/rpc.ts +++ b/packages/daemon/src/server/rpc.ts @@ -1507,15 +1507,16 @@ class RpcConnection { const { cwd, ...record } = this.workspaceParams(params, true); const store = this.context.storeRegistry.getStore(cwd); const now = new Date().toISOString(); + const { appServerDeliberationPolicies: policies, harness } = this.context.config; + const policyContext = { + policies, + hostTokenBudget: harness.delegations.mode === "enforce" ? harness.delegations.rootBudget?.tokenBudget : undefined, + assertRecoveryReady: () => appServerRecoveryFor(this.context.config, store)?.assertReady(), + }; if (method === "workItem/deliberation/evaluate") { const parsed = deliberationEvaluateInput.safeParse(record); if (!parsed.success) throw rpcError(-32602, "invalid_params", "Supply a current subject, checkpoint and bounded decision inputs."); - const { appServerDeliberationPolicies: policies, harness } = this.context.config; - const { event, admissionEvent, ...result } = await evaluateAppServerDeliberation(store, parsed.data, now, cwd, { - policies, - hostTokenBudget: harness.delegations.mode === "enforce" ? harness.delegations.rootBudget?.tokenBudget : undefined, - assertRecoveryReady: () => appServerRecoveryFor(this.context.config, store)?.assertReady(), - }); + const { event, admissionEvent, ...result } = await evaluateAppServerDeliberation(store, parsed.data, now, cwd, policyContext); if (event) this.context.controlPlaneEvents.publish(trimOversizedEvent(event)); if (admissionEvent) { this.context.controlPlaneEvents.publish(trimOversizedEvent(admissionEvent)); @@ -1525,11 +1526,9 @@ class RpcConnection { } const parsed = deliberationOpenInput.safeParse(record); if (!parsed.success) throw rpcError(-32602, "invalid_params", "Supply an evaluation, Work Item revision and bounded request key."); - const { harness } = this.context.config; const { event, collectShaping, ...result } = await openAppServerEvaluatedDeliberation(store, parsed.data, now, cwd, { + ...policyContext, runners: this.context.runnerRegistry, secrets: this.context.secretResolver, - hostTokenBudget: harness.delegations.mode === "enforce" ? harness.delegations.rootBudget?.tokenBudget : undefined, - assertRecoveryReady: () => appServerRecoveryFor(this.context.config, store)?.assertReady(), publish: event => this.context.controlPlaneEvents.publish(trimOversizedEvent(event)), }); if (event) { diff --git a/packages/daemon/test/app-server-release-acceptance.test.ts b/packages/daemon/test/app-server-release-acceptance.test.ts index e879dba61..553d53245 100644 --- a/packages/daemon/test/app-server-release-acceptance.test.ts +++ b/packages/daemon/test/app-server-release-acceptance.test.ts @@ -74,8 +74,10 @@ import type { LingAppServerSubscriptionResult, LingAppServerTurnResumeResult, ControlPlaneEventsResponse, + WorkspaceDeliberationPolicy, + WorkspaceDeliberationPolicyResponse, } from "@ling-stack/contracts"; -import { LingAppServerClient, type LingAppServerSocket, type LingDaemonClient } from "@ling-stack/api-client"; +import { LingAppServerClient, LingDaemonClient, type LingAppServerSocket } from "@ling-stack/api-client"; import { createEnvSecretResolver, createSqliteRunStore, DEFAULT_WORKSPACE_ID, resolveStoragePaths, toRuntimeAttemptFence, type LingThreadGoal, type RunIntervention, type SecretResolver, type SqliteRunStore } from "@ling-stack/core"; import { WebSocket } from "ws"; import { createDaemonServer, createDefaultRunnerRegistry, listenLingAppServerSocket, probeLingAppServer, runLingAppServerMcp, runLingAppServerStdio, type DaemonConfig } from "../dist/index.js"; @@ -2621,6 +2623,123 @@ test("an operator resolves a deliberation round once against its current revisio assert.equal(fixture.getStore().listRuns().length, 0); }); +test("workspace deliberation settings are scoped, versioned and rechecked before a new round", { timeout: 30_000 }, async t => { + const channelId = "workspace-deliberation-policy-channel"; + let hostPolicy: Extract = { + mode: "auto_start", allowedTriggers: ["scheduled_checkpoint"], allowedDecisionKinds: ["implementation_tradeoff"], + minimumViableOptions: 2, minimumParticipants: 2, requiredRoleIds: ["qa"], minDecisionMateriality: "medium", + cooldownMs: 30_000, ballotMode: "disabled", decisionOwner: { kind: "user" }, + budget: { maxTokens: 60_000, maxDurationMs: 60_000 }, + }; + const fixture = await releaseFixture(t, { deliberationPolicies: cwd => [{ ...hostPolicy, workspaceRoot: cwd, channelId }] }); + const settingsClient = () => { + const { daemonUrl, authToken } = fixture.transportOptions(); + return new LingDaemonClient({ baseUrl: daemonUrl, fetch: (input, init) => { + const headers = new Headers(init?.headers); + headers.set("Authorization", `Bearer ${authToken}`); + return fetch(input, { ...init, headers }); + } }); + }; + const client = await fixture.connect(); + const settings = settingsClient(); + const store = fixture.getStore(); + const now = new Date().toISOString(); + const channel = store.createChannel({ id: channelId, name: "Policy scope", boundPath: fixture.cwd }, now); + const participants = ["teammate_builtin_engineer", "teammate_builtin_qa"]; + for (const id of participants) store.replaceTeammateChannelMemberships(id, [{ channelId }], now); + const thread = store.createLingThread({ kind: "conversation", title: "Consultation", objective: "Compare two plans." }, now); + const item = store.upsertWorkItem({ sourceType: "manual", sourceId: "scope-policy", channelId, + title: "Review two plans", initialStatus: "ready" }, now); + store.putAppServerState({ kind: "work_item_thread", recordId: thread.id, expectedRevision: 0, + payload: { workItemId: item.id, acceptanceId: "scope-policy-acceptance", submissionKey: "scope-policy-submission" } }, now); + const plan = store.upsertProposedPlanArtifact({ threadId: thread.id, title: "Compatibility", bodyMarkdown: "Keep the response format." }, now); + const { optionRefs, evidenceRef } = await recordDeliberationEvidence(client.call, item.id, `${plan.id}:${plan.revision}`); + const revise = (idempotencyKey: string, manual = false) => client.call("workItem/deliberation/evaluate", { + workItemId: item.id, expectedWorkItemRevision: store.getWorkItem(item.id)!.revision, idempotencyKey, + decisionKey: "compatibility", subject: { kind: "draft_plan", planId: plan.id, planRevision: plan.revision }, + checkpoint: "plan_review", checkpointRef: plan.id, decisionKind: "plan_or_contract", materiality: "high", + question: "Which compatibility plan should we use?", participantIds: participants, optionRefs, evidenceRefs: [evidenceRef], + ...(manual ? { requestKind: "manual_request" } : {}), + }); + const old = await revise("suggestion-under-host-policy"); + assert.equal(old.evaluation.outcome, "suggest"); + const oldPolicy = await settings.getWorkspaceDeliberationPolicy(fixture.cwd, channelId); + assert.equal(oldPolicy.revision, 0); + assert.equal(oldPolicy.effectiveRevision, old.evaluation.policyRevision); + assert.equal(oldPolicy.effective.mode, "auto_start"); + + const { daemonUrl, authToken } = fixture.transportOptions(); + const query = new URLSearchParams({ cwd: fixture.cwd, channelId }); + const path = `${daemonUrl}/workspace-settings/deliberation?${query}`; + const { credential: scopedToken } = await createObserver(client, fixture, item.id); + assert.equal((await fetch(path, { headers: { Authorization: `Bearer ${scopedToken}` } })).status, 401); + assert.equal((await fetch(path, { headers: { Authorization: `Bearer ${authToken}`, Origin: "https://foreign.invalid" } })).status, 403); + await assert.rejects(settings.getWorkspaceDeliberationPolicy(fixture.root, channelId), { status: 403 }); + const nested = join(fixture.cwd, "another"); + await mkdir(nested); + const nestedStore = createSqliteRunStore(nested, resolveStoragePaths(nested, { + homeDir: join(fixture.root, "fixture-home"), env: {}, workspaceStateLocation: "repo-local", + }).workspace); + nestedStore.createChannel({ id: channel.id, name: "Separate workspace", boundPath: nested }, now); + nestedStore.close(); + const otherChannel = store.createChannel({ name: "Another channel", boundPath: fixture.cwd }, now); + await assert.rejects(settings.updateWorkspaceDeliberationPolicy(fixture.cwd, otherChannel.id, + { expectedRevision: 0, policy: hostPolicy }), { code: "deliberation_policy_exceeds_host" }); + await assert.rejects(settings.updateWorkspaceDeliberationPolicy(fixture.cwd, channelId, { + expectedRevision: 0, policy: { ...hostPolicy, allowedTriggers: ["scheduled_checkpoint", "plan_review"] }, + }), { code: "deliberation_policy_exceeds_host" }); + await assert.rejects(settings.updateWorkspaceDeliberationPolicy(fixture.cwd, channelId, { + expectedRevision: 0, policy: { ...hostPolicy, budget: { ...hostPolicy.budget, maxTokens: hostPolicy.budget.maxTokens + 1 } }, + }), { code: "deliberation_policy_exceeds_host" }); + + const manual = { expectedRevision: 0, policy: { mode: "manual" } } as const; + const edits = await Promise.allSettled([ + settings.updateWorkspaceDeliberationPolicy(fixture.cwd, channelId, manual), + settings.updateWorkspaceDeliberationPolicy(fixture.cwd, channelId, manual), + ]); + assert.equal(edits.filter(edit => edit.status === "fulfilled").length, 1); + const rejected = edits.find(edit => edit.status === "rejected"); + assert.equal(rejected?.reason.code, "stale_revision"); + const currentPolicy = await settings.getWorkspaceDeliberationPolicy(fixture.cwd, channelId); + assert.equal(currentPolicy.revision, 1); + assert.deepEqual(currentPolicy.effective, manual.policy); + assert.deepEqual((await settings.getWorkspaceDeliberationPolicy(nested, channelId)).effective, { mode: "suggest" }); + assert.deepEqual((await settings.getWorkspaceDeliberationPolicy(fixture.cwd, otherChannel.id)).effective, { mode: "suggest" }); + const open = (evaluationId: string, idempotencyKey: string, expectedWorkItemRevision: number, connection = client) => + connection.call("workItem/deliberation/open", { + workItemId: item.id, evaluationId, idempotencyKey, expectedWorkItemRevision, + }); + await assert.rejects(open(old.evaluation.evaluationId, "old-suggestion", old.workItemRevision), { code: "stale_revision" }); + const explicit = await revise("manual-consultation", true); + assert.equal(explicit.evaluation.outcome, "suggest"); + assert.equal(explicit.evaluation.policyRevision, currentPolicy.effectiveRevision); + const suppressed = await revise("spontaneous-checkpoint"); + assert.equal(suppressed.evaluation.outcome, "suppress"); + assert.equal(suppressed.evaluation.reasonCode, "manual_policy"); + const { record } = await open(explicit.evaluation.evaluationId, "manual-round", suppressed.workItemRevision); + + const bounded = { ...hostPolicy, budget: { maxTokens: 30_000, maxDurationMs: 30_000 } }; + const saved = await settings.updateWorkspaceDeliberationPolicy(fixture.cwd, channelId, { expectedRevision: 1, policy: bounded }); + assert.deepEqual(saved.effective, bounded); + hostPolicy = { ...hostPolicy, budget: { ...hostPolicy.budget, maxTokens: 20_000 } }; + await fixture.restart(); + const afterRestart = await settingsClient().getWorkspaceDeliberationPolicy(fixture.cwd, channelId); + assert.equal(afterRestart.revision, saved.revision); + assert.deepEqual(afterRestart.configured, bounded); + assert.deepEqual(afterRestart.effective, { mode: "suggest" }); + assert.equal(afterRestart.restriction, "host_policy"); + assert.notEqual(afterRestart.effectiveRevision, saved.effectiveRevision); + const restored = await fixture.connect(); + const prior = await open(explicit.evaluation.evaluationId, "manual-round", suppressed.workItemRevision, restored); + assert.equal(prior.status, "replayed"); + assert.equal(prior.record.id, record.id); + const reset = await settingsClient().updateWorkspaceDeliberationPolicy(fixture.cwd, channelId, + { expectedRevision: afterRestart.revision, policy: null }); + assert.equal(reset.configured, null); + assert.deepEqual(reset.effective, hostPolicy); + assert.equal(fixture.getStore().listRuns().length, 0); +}); + test("a draft deliberation uses current evidence in Plan Mode and recovers the original suggestion and round", { timeout: 30_000 }, async t => { let releaseFirstConsultation: () => void = () => undefined; const firstConsultation = new Promise(resolve => { releaseFirstConsultation = resolve; }); @@ -4358,17 +4477,27 @@ test("a scoped automatic policy opens exactly one checkpoint round and reserves }); t.after(() => provider.close()); const channelId = "automatic-checkpoint-channel"; + const policy = { + mode: "auto_start", allowedTriggers: ["scheduled_checkpoint"], allowedDecisionKinds: ["implementation_tradeoff"], + minimumViableOptions: 2, minimumParticipants: 2, requiredRoleIds: ["engineer", "qa"], minDecisionMateriality: "high", + maxEvidenceAgeMs: 60_000, cooldownMs: 60_000, ballotMode: "when_unresolved", decisionOwner: { kind: "user" }, + budget: { maxTokens: 20_000, maxDurationMs: 60_000 }, + } as const satisfies WorkspaceDeliberationPolicy; const { fixture, store, client, item, workItem, workflowId, waiting, thread } = await stageQuestionWorkflow(t, provider.baseUrl, true, undefined, { ...workflowProviderBudgetFixture, channelId, - deliberationPolicies: cwd => [{ - workspaceRoot: cwd, channelId, mode: "auto_start", - allowedTriggers: ["scheduled_checkpoint"], allowedDecisionKinds: ["implementation_tradeoff"], - minimumViableOptions: 2, minimumParticipants: 2, requiredRoleIds: ["engineer", "qa"], minDecisionMateriality: "high", - maxEvidenceAgeMs: 60_000, cooldownMs: 60_000, ballotMode: "when_unresolved", decisionOwner: { kind: "user" }, - budget: { maxTokens: 17_025, maxDurationMs: 60_000 }, - }], + harness: { ...workflowProviderBudgetFixture.harness, delegations: { mode: "enforce", + rootBudget: { tokenBudget: 17_025, wallTimeBudgetMs: 60_000 } } }, + deliberationPolicies: cwd => [{ workspaceRoot: cwd, channelId, ...policy }], }); + const { daemonUrl, authToken } = fixture.transportOptions(); + const query = new URLSearchParams({ cwd: fixture.cwd, channelId }); + const saved = await fetch(`${daemonUrl}/workspace-settings/deliberation?${query}`, { + method: "PATCH", headers: { Authorization: `Bearer ${authToken}`, "Content-Type": "application/json" }, + body: JSON.stringify({ expectedRevision: 0, policy: { ...policy, budget: { ...policy.budget, maxTokens: 18_000 } } }), + }); + assert.ok(saved.ok, await saved.clone().text()); + const workspacePolicy = await saved.json() as WorkspaceDeliberationPolicyResponse; const now = new Date().toISOString(); const home = store.createLingThread({ kind: "automation", title: "Automatic checkpoint", objective: "Review the compatibility evidence" }, now); const automation = store.createAutomationDefinition({ @@ -4456,6 +4585,7 @@ test("a scoped automatic policy opens exactly one checkpoint round and reserves }; const linkedId = payload.execution.workflowId; assert.equal(payload.admission.policyRevision, accepted.evaluation.policyRevision); + assert.equal(payload.admission.policyRevision, workspacePolicy.effectiveRevision); assert.equal(payload.admission.decisionActorId, "local-user"); assert.deepEqual(payload.admission.requiredRoleIds, ["engineer", "qa"]); assert.deepEqual(payload.admission.budget, { maxTokens: 17_025, maxDurationMs: 60_000 }); From f5a7a2dde2feb8a5abb1754cf71e5514453ed9d6 Mon Sep 17 00:00:00 2001 From: tianxiaochannel-oss88 Date: Thu, 26 Nov 2026 05:15:16 +0800 Subject: [PATCH 120/147] Cover joint Work Item acceptance and share shaping request identity --- .../channels/plan-deliberation-shaping.ts | 11 ++ packages/daemon/src/server/rpc.ts | 6 +- .../app-server-release-acceptance.test.ts | 185 ++++++++++++++++++ 3 files changed, 199 insertions(+), 3 deletions(-) diff --git a/packages/daemon/src/features/channels/plan-deliberation-shaping.ts b/packages/daemon/src/features/channels/plan-deliberation-shaping.ts index 9a3706c75..a00ec9d6d 100644 --- a/packages/daemon/src/features/channels/plan-deliberation-shaping.ts +++ b/packages/daemon/src/features/channels/plan-deliberation-shaping.ts @@ -23,6 +23,17 @@ const reply = z.discriminatedUnion("disposition", [ type Budget = NonNullable; type Blocker = NonNullable; +/** + * Identifies an in-flight plan shaping collection within one daemon workspace. + * + * Open and cancel use the same value so a replayed round cannot leave a + * provider request running after the round has been settled. Shutdown aborts + * every value in the same registry. + */ +export function planShapingRegistryKey(cwd: string, roundId: string): string { + return JSON.stringify([cwd, roundId]); +} + export interface PlanShapingRuntime { readonly runners: RunnerRegistry; readonly secrets: SecretResolver; diff --git a/packages/daemon/src/server/rpc.ts b/packages/daemon/src/server/rpc.ts index f0d73156d..bf2dc4f29 100644 --- a/packages/daemon/src/server/rpc.ts +++ b/packages/daemon/src/server/rpc.ts @@ -158,7 +158,7 @@ import { } from "./app-server-collaboration.js"; import { deliberationEvaluateInput, deliberationOpenInput, evaluateAppServerDeliberation, isCheckpointDeliberationRecord, openAppServerEvaluatedDeliberation } from "./app-server-deliberation.js"; -import { projectPlanShaping } from "../features/channels/plan-deliberation-shaping.js"; +import { planShapingRegistryKey, projectPlanShaping } from "../features/channels/plan-deliberation-shaping.js"; import { readStageHandoffParams, settleAppServerStageHandoff } from "./app-server-stage-handoff.js"; import { recoverAppServerStage } from "./app-server-stage-recovery.js"; @@ -1539,7 +1539,7 @@ class RpcConnection { const controller = new AbortController(); let active = activePlanShapingByContext.get(this.context); if (!active) activePlanShapingByContext.set(this.context, active = new Map()); - const key = JSON.stringify([cwd, result.record.id]); + const key = planShapingRegistryKey(cwd, result.record.id); active.set(key, controller); if (this.context.activeRuns.isShuttingDown()) controller.abort(); const collection = collectShaping(controller.signal).finally(() => active.delete(key)); @@ -1630,7 +1630,7 @@ class RpcConnection { try { const store = this.context.storeRegistry.getStore(cwd); const { event, ...result } = await settleAppServerDeliberation(store, input, decision, new Date().toISOString(), cwd); - if (action === "cancelled") activePlanShapingByContext.get(this.context)?.get(JSON.stringify([cwd, input.roundId]))?.abort(); + if (action === "cancelled") activePlanShapingByContext.get(this.context)?.get(planShapingRegistryKey(cwd, input.roundId))?.abort(); if (event) { this.context.controlPlaneEvents.publish(trimOversizedEvent(event)); this.context.taskSupervisor.poke(cwd); diff --git a/packages/daemon/test/app-server-release-acceptance.test.ts b/packages/daemon/test/app-server-release-acceptance.test.ts index 553d53245..50ad9f38f 100644 --- a/packages/daemon/test/app-server-release-acceptance.test.ts +++ b/packages/daemon/test/app-server-release-acceptance.test.ts @@ -6133,6 +6133,191 @@ test("App Server replay cursors survive restart and stay bound to the workspace, })).disposition, "complete"); }); +test("one Work Item retains independent verification, review, delivery and rollback evidence across team reattach", { timeout: 45_000 }, async t => { + let reviewCandidateDigest = ""; + const provider = await startLoopbackPiProvider(() => ({ text: JSON.stringify({ + snapshotDigest: reviewCandidateDigest, summary: "The candidate preserves the accepted contract.", findings: [], + }) })); + t.after(() => provider.close()); + + const base = "b".repeat(40); + const mergedCommit = "d".repeat(40); + const workflowPath = ".github/workflows/verify.yml"; + const workflow = "name: Trusted verification\n"; + const workflowSha256 = createHash("sha256").update(workflow).digest("hex"); + let head = ""; + const fixture = await releaseFixture(t, { + recoveryJournal: true, + verificationRecipes: async (root, cwd) => { + const script = join(root, "o9-contract-check.cjs"); + const source = "if (require('node:fs').readFileSync('contract.txt', 'utf8') !== 'candidate\\n') process.exit(1);\n"; + await writeFile(script, source); + return [{ id: "o9-contract", label: "Check the accepted contract", kind: "test", workspaceRoot: cwd, + argv: [process.execPath, script], paths: ["contract.txt"], required: true, + verifier: { coverage: "Read the accepted contract", sources: [{ path: script, sha256: createHash("sha256").update(source).digest("hex") }] } }]; + }, + githubSources: cwd => [{ workspaceRoot: cwd, repository: "example/ling", repositoryId: "73", + deliveryPolicies: [{ baseRef: "main", requiredChecks: [{ name: "unit", appId: 19, workflowId: 5, + workflowPath, workflowSha256, basis: "head", coverageRefs: ["o9-contract"] }] }], + }], + externalWorkFetch: async input => { + const url = new URL(String(input)); + assert.equal(url.origin, "https://api.github.com"); + const prefix = "/repos/example/ling"; + const path = url.pathname.slice(prefix.length); + if (path === "") return Response.json({ id: 73, full_name: "example/ling" }); + if (path === "/pulls/12") return Response.json({ number: 12, title: "Preserve the contract", state: "closed", merged: true, + base: { sha: base, ref: "main", repo: { id: 73 } }, head: { sha: head }, merge_commit_sha: mergedCommit }); + if (path === "/git/ref/heads/main") return Response.json({ ref: "refs/heads/main", object: { type: "commit", sha: base } }); + if (path === `/git/commits/${mergedCommit}`) return Response.json({ sha: mergedCommit, parents: [{ sha: base }, { sha: head }] }); + if (path === "/actions/workflows/5/runs") return Response.json({ total_count: 1, workflow_runs: [{ id: 15, + workflow_id: 5, head_sha: head, created_at: "2026-11-22T00:00:00Z", run_attempt: 1, status: "completed", path: workflowPath, event: "push" }] }); + if (path === "/actions/runs/15") return Response.json({ id: 15, run_attempt: 1 }); + if (path === "/actions/runs/15/attempts/1/jobs") return Response.json({ total_count: 1, jobs: [{ id: 16, run_id: 15, + head_sha: head, name: "unit", check_run_url: "https://api.github.com/repos/example/ling/check-runs/18", status: "completed", conclusion: "success" }] }); + if (path === `/commits/${head}/check-runs`) return Response.json({ total_count: 1, check_runs: [{ id: 18, name: "unit", + head_sha: head, status: "completed", conclusion: "success", url: "https://api.github.com/repos/example/ling/check-runs/18", app: { id: 19 } }] }); + if (path === `/contents/${workflowPath}`) return Response.json({ type: "file", path: workflowPath, encoding: "base64", + content: Buffer.from(workflow).toString("base64") }); + return Response.json({}, { status: 404 }); + }, + }); + + await writeFile(join(fixture.cwd, ".gitignore"), ".ling-stack/\n"); + await writeFile(join(fixture.cwd, "contract.txt"), "baseline\n"); + const git = (...args: string[]) => execFileSync("git", args, { cwd: fixture.cwd, encoding: "utf8" }).trim(); + git("init", "-q", "-b", "main"); + git("add", "."); + git("-c", "user.name=Fixture", "-c", "user.email=fixture@example.test", "commit", "-qm", "Baseline"); + await writeFile(join(fixture.cwd, "contract.txt"), "candidate\n"); + git("add", "contract.txt"); + git("-c", "user.name=Fixture", "-c", "user.email=fixture@example.test", "commit", "-qm", "Candidate"); + head = git("rev-parse", "HEAD"); + + const store = fixture.getStore(); + const now = new Date().toISOString(); + const preset = addLoopbackPreset(store, provider.baseUrl); + const channel = store.createChannel({ name: "O9 acceptance", boundPath: fixture.cwd, allowedTools: ["read"], defaultProviderPresetId: preset.id }, now); + const thread = store.createLingThread({ channelId: channel.id, kind: "channel_discussion", title: "O9 acceptance", objective: "Retain one evidence chain." }, now); + const plan = store.upsertProposedPlanArtifact({ id: "o9-plan", threadId: thread.id, channelId: channel.id, + title: "Preserve the contract", bodyMarkdown: "Run the independent checks and deliver the accepted candidate.", status: "draft" }, now); + const client = await fixture.connect(); + const peer = await fixture.connect(); + const accepted = await client.call("plan/accept", { + mode: "workflow", threadId: thread.id, planId: plan.id, expectedRevision: plan.revision, + workflowStepPreviews: [{ title: "Implement the contract", stageId: "P01", ownerId: "teammate_builtin_engineer", ownerLabel: "Engineer", requiredTools: ["read"] }], + }); + const item = store.upsertWorkItem({ sourceType: "manual", sourceId: "o9-evidence-chain", title: "Preserve the contract", + channelId: channel.id, initialStatus: "ready" }, now); + const claimed = await client.call("workItem/accept", { + workItemId: item.id, expectedWorkItemRevision: item.revision, idempotencyKey: "o9-accept", + }); + const bound = await client.call<{ workItem: LingAppServerWorkItemSnapshot }>("workItem/workflow/bind", { + workItemId: item.id, planId: plan.id, expectedPlanRevision: accepted.plan.revision, + expectedWorkItemRevision: Number(claimed.workItem.revision), idempotencyKey: "o9-bind", + }); + const workItemId = item.id; + const initial = await client.call("workItem/read", { workItemId }); + await Promise.all([ + client.call("workItem/subscribe", { workItemId, cursor: initial.cursor }), + peer.call("workItem/subscribe", { workItemId, cursor: initial.cursor }), + ]); + assert.equal((await peer.call("workItem/read", { workItemId })).workItem.workItemId, workItemId); + + const paused = await client.call("workItem/pause", { + workItemId, actorId: "local-user", expectedWorkItemRevision: Number(bound.workItem.revision), expectedControlGeneration: 0, idempotencyKey: "o9-pause", + }); + const resumed = await client.call("workItem/resume", { + workItemId, actorId: "local-user", expectedWorkItemRevision: Number(paused.workItem.revision), expectedControlGeneration: 1, idempotencyKey: "o9-resume", + }); + assert.equal(Number(resumed.workItem.control.generation), 2); + + const { candidate } = await client.call("changes/capture", { scope: "head" }); + const verificationPlan = await client.call("verify/plan", { + workItemId, threadId: thread.id, candidate, requestedChecks: ["o9-contract"], idempotencyKey: "o9-verify-plan", + }); + const verification = await client.call("verify/start", { + planId: verificationPlan.planId, planRevision: verificationPlan.planRevision, + candidateDigest: verificationPlan.candidate.candidateDigest, idempotencyKey: "o9-verify", + }); + const verified = await waitFor(async () => { + const result = await client.call("verify/status", { operationId: verification.operationId }); + return result.operation.completedAt ? result.operation : undefined; + }); + assert.equal(verified.status, "passed"); + assert.equal(verified.workItemId, workItemId); + assert.equal(verified.candidateDigest, candidate.candidateDigest); + + reviewCandidateDigest = candidate.candidateDigest; + const reviewStarted = await client.call("review/start", { + workItemId, planRevision: resumed.workItem.planRevision, candidate, providerPresetId: preset.id, idempotencyKey: "o9-review", + }); + const reviewed = await waitFor(async () => { + const result = await client.call("review/status", { operationId: reviewStarted.operationId }); + return ["queued", "running"].includes(result.status) ? undefined : result; + }); + assert.equal(reviewed.status, "completed"); + assert.equal(reviewed.candidateDigest, candidate.candidateDigest); + assert.deepEqual(reviewed.workItem, { workItemId, acceptedPlanRevision: resumed.workItem.planRevision, controlGeneration: 2 }); + + const current = await client.call("workItem/read", { workItemId }); + const delivered = (await client.call("github/delivery/reconcile", { + workItemId, threadId: thread.id, expectedWorkItemRevision: Number(current.workItem.revision), + repository: "example/ling", pullRequestNumber: 12, candidateDigest: candidate.candidateDigest, + })).delivery; + assert.equal(delivered.status, "delivered"); + assert.equal(delivered.workItemId, workItemId); + assert.equal(delivered.candidateDigest, candidate.candidateDigest); + assert.equal(delivered.mergedCommit, mergedCommit); + + const round = await client.call("workItem/deliberation/start", { + workItemId, expectedWorkItemRevision: Number((await client.call("workItem/read", { workItemId })).workItem.revision), + actorId: "local-user", idempotencyKey: "o9-deliberation", payload: { decisionPoint: "Retain the contract", options: ["adapter", "migration"] }, + }); + const reattached = await peer.call("workItem/deliberation/read", { workItemId }); + assert.ok(reattached.records.some(record => record.id === round.record.id)); + + const planRevision = String(resumed.workItem.planRevision); + type EvidenceReceipt = { entry: { id: string; workItemId: string; subjectRevision: string; sourceRefs: readonly { type: string; id: string; revision?: string; digest?: string }[] }; workItemRevision: number }; + const proofs: EvidenceReceipt["entry"][] = []; + const appendProof = async (key: string, kind: "evidence_ref", source: { type: string; id: string }) => { + const read = await client.call("workItem/read", { workItemId }); + const result = await client.call("workItem/evidence/append", { + workItemId, expectedWorkItemRevision: Number(read.workItem.revision), actorId: "local-user", subjectRevision: planRevision, kind, + content: `${source.type} evidence for the accepted candidate`, sourceRefs: [{ ...source, revision: planRevision, digest: candidate.candidateDigest }], idempotencyKey: key, + }); + proofs.push(result.entry); + return result.entry; + }; + await appendProof("o9-verify-evidence", "evidence_ref", { type: "verification", id: verified.operationId }); + await appendProof("o9-review-evidence", "evidence_ref", { type: "review", id: reviewed.operationId }); + await appendProof("o9-delivery-evidence", "evidence_ref", { type: "github_delivery", id: delivered.deliveryId }); + await appendProof("o9-rollback-evidence", "evidence_ref", { type: "rollback", id: delivered.deliveryId }); + + const prepared = await client.call("server/recovery/prepare", { expectedRevision: 0, idempotencyKey: "o9-rollback-journal" }); + assert.ok(prepared.entries.some(entry => entry.kind === "github_delivery" && entry.workItemId === workItemId)); + const journalEntry = prepared.entries.find(entry => entry.kind === "github_delivery" && entry.workItemId === workItemId); + assert.ok(journalEntry); + assert.equal(journalEntry?.id, delivered.deliveryId); + + const evidenceIds = proofs.map(entry => entry.id); + assert.equal(new Set(evidenceIds).size, 4); + assert.ok(proofs.every(entry => entry.workItemId === workItemId && entry.subjectRevision === planRevision)); + assert.deepEqual(proofs.map(entry => entry.sourceRefs[0]?.type), ["verification", "review", "github_delivery", "rollback"]); + assert.equal(new Set(proofs.map(entry => `${entry.sourceRefs[0]?.type}:${entry.sourceRefs[0]?.id}`)).size, 4); + assert.ok(proofs.every(entry => entry.sourceRefs[0]?.digest === candidate.candidateDigest)); + + await fixture.restart(); + const restored = await fixture.connect(); + const restoredRound = await restored.call("workItem/deliberation/read", { workItemId }); + assert.ok(restoredRound.records.some(record => record.id === round.record.id)); + const reconciled = await restored.call("server/recovery/reconcile", { expectedRevision: prepared.revision }); + assert.equal(reconciled.status, "ready"); + assert.equal(reconciled.pendingCount, 0); + const history = await restored.call("workItem/collaboration/read", { workItemId }); + assert.equal(history.records.filter(record => record.kind === "deliberation").length, 1); +}); + test("restoring a pre-cutover SQLite snapshot retains the recovery fence, observed GitHub delivery and grant revocation", { timeout: 35_000 }, async t => { const base = "b".repeat(40), mergedCommit = "c".repeat(40); const workflowPath = ".github/workflows/verify.yml"; From d8f872f069f46e16b37812f2080f55cc5e09033c Mon Sep 17 00:00:00 2001 From: tianxiaochannel-oss88 Date: Thu, 26 Nov 2026 09:52:17 +0800 Subject: [PATCH 121/147] Evaluate sealed coordination decisions after checkpoint close --- ...g-agent-operating-model-detailed-design.md | 6 + .../ling-app-server-implementation-plan.md | 8 +- packages/api-client/src/app-server.ts | 13 + packages/contracts/src/app-server-schema.ts | 37 ++- packages/contracts/src/app-server.ts | 30 +++ packages/core/src/app-server-state-types.ts | 2 +- packages/core/src/automation-types.ts | 34 ++- packages/core/src/run-types.ts | 11 + packages/core/src/storage/sqlite-run-store.ts | 28 ++ .../sqlite/scheduled-coordination-store.ts | 181 ++++++++++++- .../src/work-item-deliberation-workflow.ts | 2 + .../src/features/automations/scheduler.ts | 85 ++++-- .../features/runs/prepared-runner-input.ts | 2 +- packages/daemon/src/index.ts | 22 +- .../src/server/app-server-deliberation.ts | 162 +++++++++-- packages/daemon/src/server/app-server-mcp.ts | 12 +- packages/daemon/src/server/rpc.ts | 41 ++- .../daemon/test/agent-capabilities.test.ts | 19 ++ .../app-server-release-acceptance.test.ts | 253 +++++++++++++++++- 19 files changed, 874 insertions(+), 74 deletions(-) diff --git a/docs/design/ling-agent-operating-model-detailed-design.md b/docs/design/ling-agent-operating-model-detailed-design.md index f4f9563ab..cd5798494 100644 --- a/docs/design/ling-agent-operating-model-detailed-design.md +++ b/docs/design/ling-agent-operating-model-detailed-design.md @@ -697,6 +697,10 @@ This action writes a terminal occurrence directly. Agent participation, when aut The implementation stores the schedule binding, occurrence receipt, open round and close brief in the same workspace SQLite store. A timer restart reads the round deadline rather than generating a new Run. A paused Work Item commits a typed `skipped` occurrence. Closing a round appends a brief and terminal coordination record atomically, and a changed Work Item control generation produces an `inputs_changed` close reason. +An authenticated workspace operator can register a concrete decision on an open scheduled checkpoint through `workItem/coordination/decision/submit`. The request identifies the accepted stage, decision, options, evidence and participants. Registration checks the Work Item revision and binds the channel's effective deliberation policy. A repeat with the same inputs returns its receipt. Coordinator clients can read their pending and terminal receipts through `workItem/coordination/decisions/read`. + +Manual and deadline closes seal the submitted decisions with the current accepted Plan and stage, the schedule and policy versions, the Work Item revision after close, and the evidence sequence before the brief. The scheduler consumes those decisions after close or restart through the ordinary deliberation evaluator. Evaluation and receipt consumption commit together. If an evaluated decision opens a Workflow, its admission commits in the same transaction. Each decision uses the revision left by the preceding decision in that batch. A concurrent Work Item edit, changed Plan, policy or close basis makes the queued decision stale. If recovery is held, the scheduler waits within the checkpoint's evaluation window. An operator explicitly evaluating a valid closed checkpoint can select relevant evidence that arrived later. [Scheduled store](../../packages/core/src/storage/sqlite/scheduled-coordination-store.ts) · [App Server evaluator](../../packages/daemon/src/server/app-server-deliberation.ts) + ## 6. External Agent Federation Protocol External Agents use the Ling App Server protocol or a runner adapter. The federation facade adds Work Item identity and capability mapping. @@ -922,6 +926,8 @@ Mutations carry `expectedWorkItemRevision` and `idempotencyKey`, plus the applic | `workItem/coordination/start` | Kind, subject revision, stage if applicable, requested participant roles, agenda and deadline within the accepted policy. The coordinator receives the round receipt. Scheduled starts enter through the atomic Automation admission in section 5.9. | | `workItem/coordination/read` | Round ID. Returns the visible roster, status and revision, sealed brief and action items when published. Messages are available by round. | | `workItem/coordination/close` | Round ID, expected round revision and subject, plus publish or cancel disposition. Requires the coordinator grant. Publish returns the committed brief ID. Cancel takes a reason and commits the terminal receipt. | +| `workItem/coordination/decision/submit` | Register bounded decision inputs for an open scheduled checkpoint and accepted Work Item stage. The same request key replays its current receipt. | +| `workItem/coordination/decisions/read` | Read the authenticated operator's registered, pending, evaluated and stale receipts for one checkpoint. Evaluated receipts link to the existing deliberation record. | | `workItem/message/send` | Recipient IDs or authorized role selectors, stage when applicable, subject revision, kind (`note`, `status`, `blocker`, `decision_candidate` or `action_update`), bounded summary and source refs. Include the round ID and expected open round revision for a contribution. Returns the message receipt and delivery references within scope. | | `workItem/message/read` | Message ID. Returns the visible message and per-recipient delivery status with its admitted input reference, unconfirmed state or terminal reason where present. Question answers use the separate question receipt. | | `workItem/message/list` | Optional round or stage ID and page cursor. Returns ordered messages in the caller's scope. | diff --git a/docs/design/ling-app-server-implementation-plan.md b/docs/design/ling-app-server-implementation-plan.md index afb59d000..4bd904c0a 100644 --- a/docs/design/ling-app-server-implementation-plan.md +++ b/docs/design/ling-app-server-implementation-plan.md @@ -73,7 +73,7 @@ | O8 条件投票 | 临时轮次选择 `ballotMode: "when_unresolved"` 后,Daemon 用已封存的质疑结果判定是否开票。实际 Daemon 回归覆盖相同证据下直接汇总、仅在仍有取舍时开票、票未齐时隐藏明细与票数、两票平票、重启重放及有权裁决后继续。 | | O8 自动受理 | Host 对指定工作区和频道启用 `auto_start` 后,受权协调者提交当前阶段检查点即可开启关联的只读 Workflow。受理按检查点、决定种类、重要性、角色、证据时效、冷却与预算核对。实际 Daemon 回归覆盖缺少预算时保留评估、尚有事实争议时返回 Verify、写回执失败时整笔回滚、两个客户端只开一轮、重启重读原证据,以及预算余量不足时第二个 Provider 请求被拦截。 | | O8/O9 裁决回接 | 接受 Plan 时可为步骤登记 `requiredDecision.receiptSource: "checkpoint"` 和允许的选项。评估引用目标步骤、候选及映射到该选项的提案。裁决与适用性回执同时提交,原 Workflow 在派发前重查同一候选。真实 Daemon 回归覆盖回执写入中断后的事务回滚、并发复用、重启、候选漂移拒绝和原步骤只启动一次。 | -| O7 定时协调轮次 | 已配置的 Automation 在同一事务中写入终态回执、轮次和事件。实际调度器从重启前的时段恢复。故障注入验证提交失败不会留下回执或轮次。回执重放复用原轮次。截止后生成简报和关闭事件,暂停的工作项产生跳过回执。已暂停、禁用或归档的 Automation 在「立即运行」和时段受理入口均返回 `automation_not_runnable`,保留既有记录。该用例启动的 Runner 数量为零。 | +| O7 定时协调轮次 | 已配置的 Automation 在同一事务中写入终态回执、轮次和事件。实际调度器从重启前的时段恢复。故障注入验证提交失败不会留下回执或轮次。回执重放复用原轮次。截止后生成简报和关闭事件,暂停的工作项产生跳过回执。已暂停、禁用或归档的 Automation 在「立即运行」和时段受理入口均返回 `automation_not_runnable`,保留既有记录。无决定的检查点无需启动 Runner。 | | O7/O9 阶段交接修复 | 源阶段修订更新后,已接受计划中的交接依赖仍保留原退回。真实 Daemon 回归覆盖省略退回回执、沿用旧候选或旧检查的拒绝,以及用当前结果包和可信检查并发接受。HTTP 与 App Server 返回同一接受回执,重启后复用退回与接受记录,QA 只启动一次。 | | O7/O9 阶段停滞恢复 | 已接受的 Plan 可以为阶段指定可信 Verify 或绑定 Provider preset 的 Review 作为恢复证据。实际 Daemon 验收覆盖换人和重启后的同一阻塞、早于失败的 Review 或仍有打开项的 Review 被拒绝、两个连接复用同一恢复收据。重启后派发重新检查 Review 修订及当前候选。重开的发现项、候选漂移会阻止派发,补交当前候选的零发现项 Review 后可恢复。 | | O1 首次会话派发 | `workItem/accept` 可选定主执行会话,接单和首发意图同事务保存。正常会话 Run 创建核对该意图并原子更新 Work Item。脚本化 Pi Provider 验证了重启、两个并发受理、暂停恢复、实际派发一次,以及当前绑定阻止删除会话。Codex MCP 已提供同一创建和受理入口。 | @@ -90,6 +90,10 @@ Windows 源码验收使用独立的 GitHub Actions 作业,启动真实 CLI std 测试仓库未配置独立检查 App,Ling 主动入队返回 `github_queue_guard_unavailable`。第二个合成 PR 的两个 head 检查通过后,使用固定 head 调用直接合并,GitHub 返回 405 并要求经过合并队列。GitHub 原生入队后,该 PR 使用推进后的 base 生成合并组。运行器启动延迟导致队列以 `checks_timed_out` 移除该 PR,合并组检查随后通过。Daemon 重启后可读取历史队列回执,当前对账继续保留通过的 head 检查,将合并组证据标为 `merge_group_membership_unavailable`,并拒绝完成 Goal。 [直接合并校验 PR](https://github.com/ling-stack-org/ling-delivery-acceptance-20261123/pull/2) · [迟到的队列检查](https://github.com/ling-stack-org/ling-delivery-acceptance-20261123/actions/runs/45095947983) +定时检查点支持在开放期间登记当前接受阶段的决定。关轮同时封存证据水位、工作项版本和策略。实际 Daemon 回归覆盖登记权限、关轮写入失败回滚、手动和到期关闭、恢复闸门、重启消费、同一决定只开一轮、Plan/控制/策略变更以及显式评估中采用迟到证据。 [定时协调准入](ling-agent-operating-model-detailed-design.md#511-scheduled-coordination-admission) + +O9 联合回归在同一 Work Item 确认双端订阅、阶段进度、暂停与恢复、Verify、Review、GitHub Delivery、审议提交和恢复日志的证据归属与重启回放。草案计划可在接受前运行有明确角色的只读塑形。工作区设置可从 Host 许可范围内管理审议策略。 [联合验收](../../packages/daemon/test/app-server-release-acceptance.test.ts) + ## 尚待完成的发布条件 | 工作包 | 代码或验收差距 | @@ -97,7 +101,7 @@ Windows 源码验收使用独立的 GitHub Actions 作业,启动真实 CLI std | A1、B1、C1、C2 | 全方法的 Schema 校验和更多宿主兼容组合。workspace、Thread、Work Item 的 grant 和 WSS 已接入。专用 TLS 监听器实测分离控制和答复权限,支持用户答复原回执与撤权。审批和答复仍需在其他宿主和实际远程部署验收。目标游标已绑定存储代次、授权代次和目标,本机兼容用例覆盖上一版源码与候选组合。 | | D1、D2、E1、E2 | 开工与 Pi 运行中的项目规则加载、显式 Claude 规则、两个开发 Skill、工作区 Verify、独立 verifier basis、托管工作树管理、候选改动分页、Turn 改动恢复、选中 hunk 转移和工作台浏览器验证报告已接入。各发行平台验证仍待完成。 | | F1、F2 | 普通会话 Handoff 的候选封存、Goal 预算承接与接手已接入。CLI `app-server codex-host --thread --state --view` 在回环地址提供双端会话视图。本机 Codex 0.171.0-alpha.13、实际 Ling Daemon 与受控 Provider 联调验证两端状态、Ling 在途排队、活跃 Codex Turn 指导、浏览器重连补齐、回执重放和审批提醒。故障回归覆盖原状态库升级、未写出的请求在重连后补投一次,以及已发出但缺少有效回执时保留待确认结果。Pi Host 预算路径的逐请求预留已使用受控 Provider 验证,仍需真实 Provider、隔离工作树和其他 Runner 的对应验收。 | -| O1、O3–O9 | GitHub 签名 webhook、轮询和显式接单归并至同一工作项。自动接单策略处理免打扰、并发、启动额度和派发前状态重查。现有 Task、AutomationRun 和同频道用户输入可显式关联工作项。已接受的计划能自动开启声明的阶段审议,并可等待当前 Workflow 结果包的交接回执。受影响阶段可单独暂停,后继阶段可显式引用已收敛或仍在途的独立成果,待执行阶段可接收定向消息和有原 Run 证据的 Agent 答复。工作项暂停期间拒绝新增定向消息。阶段客户端和支持协作工具的 Pi 阶段按 Run/Attempt 收发,Pi 在下一次模型输入接收消息和问答。Workflow 执行使用工作项重试上限,并可依据跨 Run 的结构化故障记录暂停单项阶段。可信 Verify 和已接受 Plan 指定的 Review 均可提供停滞恢复证据。决策检查点支持计划前和在途阶段的建议、接受与手工裁决。Device Work Item Bridge 的持久映射、receipt 账本和 App Server 入口已实现。已接受阶段可显式或按 Host 策略开启独立只读审议、按质疑结果投票,并将裁决应用到声明的候选依赖。自动受理使用已提交的检查点评估。计划前多角色塑形、在工作区设置中管理策略、协调者自动收集和提交检查点及 O9 联合验收仍待完成。 | +| O1、O3–O9 | GitHub 签名 webhook、轮询和显式接单归并至同一工作项。自动接单策略处理免打扰、并发、启动额度和派发前状态重查。现有 Task、AutomationRun 和同频道用户输入可显式关联工作项。已接受的计划能自动开启声明的阶段审议,并可等待当前 Workflow 结果包的交接回执。受影响阶段可单独暂停,后继阶段可显式引用已收敛或仍在途的独立成果,待执行阶段可接收定向消息和有原 Run 证据的 Agent 答复。工作项暂停期间拒绝新增定向消息。阶段客户端和支持协作工具的 Pi 阶段按 Run/Attempt 收发,Pi 在下一次模型输入接收消息和问答。Workflow 执行使用工作项重试上限,并可依据跨 Run 的结构化故障记录暂停单项阶段。可信 Verify 和已接受 Plan 指定的 Review 均可提供停滞恢复证据。决策检查点支持计划前和在途阶段的建议、接受与手工裁决。Device Work Item Bridge 的持久映射、receipt 账本和 App Server 入口已实现。已接受阶段可显式或按 Host 策略开启独立只读审议、按质疑结果投票,并将裁决应用到声明的候选依赖。定时检查点的登记和关轮自动评估已接入 App Server、SDK 和 MCP。原生 Ling Agent 对现场证据的主动收集与登记,以及跨主机 Device Fabric owner host 对接仍需补齐。 | | G | 独立恢复日志已验证 SQLite 快照恢复、撤权、旧游标失效和 GitHub 对账后派发。上一版源码通过同一套本地兼容验收。签名安装产物、实际远程 WSS、带独立检查 App 的 Ling 主动入队及三个真实 Provider 自研试点仍需对应环境的证据。macOS 打包预检需要当前打包输入的 Office 审查、对应 Electron/OS 的受限运行时审查和 gstack 平台资源。T01 离线预检可进入评审,真实试点仍需按 Framework Assurance 准入。 | ## 目标与开工顺序 diff --git a/packages/api-client/src/app-server.ts b/packages/api-client/src/app-server.ts index d304aec4b..9a79487d6 100644 --- a/packages/api-client/src/app-server.ts +++ b/packages/api-client/src/app-server.ts @@ -51,6 +51,9 @@ import type { LingAppServerReconcileGitHubDeliveryParams, LingAppServerCoordinationSchedule, LingAppServerCoordinationScheduleParams, + LingAppServerCoordinationDecisionParams, + LingAppServerCoordinationDecisionSubmitResult, + LingAppServerCoordinationDecisionsReadResult, LingAppServerDeliberationEvaluateParams, LingAppServerDeliberationEvaluateResult, LingAppServerDeliberationOpenParams, @@ -400,6 +403,16 @@ export class LingAppServerClient { return await this.request("workItem/coordination/schedule/set", params); } + async submitCoordinationDecision(params: LingAppServerCoordinationDecisionParams): Promise { + await this.connect(); + return await this.request("workItem/coordination/decision/submit", params); + } + + async readCoordinationDecisions(params: { readonly roundId: string; readonly workItemId: string }): Promise { + await this.connect(); + return await this.request("workItem/coordination/decisions/read", params); + } + async acceptWorkItem(params: LingAppServerWorkItemAcceptParams): Promise { await this.connect(); return await this.request("workItem/accept", params); diff --git a/packages/contracts/src/app-server-schema.ts b/packages/contracts/src/app-server-schema.ts index b41300717..cf391091e 100644 --- a/packages/contracts/src/app-server-schema.ts +++ b/packages/contracts/src/app-server-schema.ts @@ -64,9 +64,24 @@ const pingResult = objectWith({ ok: { enum: [true] }, connectionId: stringSchema const threadTarget = { threadId: stringSchema }; const workItemTarget = { workItemId: stringSchema }; const deliberationCheckpoint = { enum: LING_APP_SERVER_DELIBERATION_CHECKPOINTS } as const; +const workflowStageSubject = objectWith({ kind: { enum: ["workflow_stage"] }, workflowStepId: stringSchema, planRevision: stringSchema }, + ["kind", "workflowStepId", "planRevision"]); const deliberationSubject = { oneOf: [ objectWith({ kind: { enum: ["draft_plan"] }, planId: stringSchema, planRevision: integerSchema }, ["kind", "planId", "planRevision"]), - objectWith({ kind: { enum: ["workflow_stage"] }, workflowStepId: stringSchema, planRevision: stringSchema }, ["kind", "workflowStepId", "planRevision"]), + workflowStageSubject, +] }; +const decisionInputRequired = { + ...workItemTarget, expectedWorkItemRevision: integerSchema, idempotencyKey: stringSchema, decisionKey: stringSchema, + decisionKind: { enum: LING_APP_SERVER_DELIBERATION_DECISION_KINDS }, materiality: { enum: LING_APP_SERVER_DECISION_MATERIALITIES }, + question: stringSchema, participantIds: stringArraySchema, optionRefs: stringArraySchema, evidenceRefs: stringArraySchema, +}; +const decisionInput = { ...decisionInputRequired, candidateDigest: stringSchema, decisionStepId: stringSchema, unresolved: { enum: ["intent", "fact", "handoff"] } }; +const coordinationDecisionIdentity = { id: stringSchema, decisionKey: stringSchema, roundId: stringSchema }; +const coordinationDecisionKeys = [...Object.keys(coordinationDecisionIdentity), "status"]; +const coordinationDecisionReceipt = { oneOf: [ + objectWith({ ...coordinationDecisionIdentity, status: { enum: ["registered", "pending"] } }, coordinationDecisionKeys), + objectWith({ ...coordinationDecisionIdentity, status: { enum: ["evaluated"] }, evaluationId: stringSchema }, [...coordinationDecisionKeys, "evaluationId"]), + objectWith({ ...coordinationDecisionIdentity, status: { enum: ["stale"] }, reasonCode: stringSchema }, [...coordinationDecisionKeys, "reasonCode"]), ] }; const deliberationEvaluationFields = { evaluationId: stringSchema, decisionId: stringSchema, decisionRevision: stringSchema, subjectRevision: stringSchema, @@ -461,20 +476,26 @@ function schemaFor(method: LingAppServerMethod): LingAppServerMethodSchema { return { params: objectWith({ ...collaborationAppend, workflowStepId: stringSchema }, ["workItemId"]), result }; case "workItem/deliberation/evaluate": return { - params: objectWith({ ...workItemTarget, expectedWorkItemRevision: integerSchema, idempotencyKey: stringSchema, - decisionKey: stringSchema, subject: deliberationSubject, checkpoint: deliberationCheckpoint, checkpointRef: stringSchema, - decisionKind: { enum: LING_APP_SERVER_DELIBERATION_DECISION_KINDS }, materiality: { enum: LING_APP_SERVER_DECISION_MATERIALITIES }, - question: stringSchema, participantIds: stringArraySchema, optionRefs: stringArraySchema, evidenceRefs: stringArraySchema, - candidateDigest: stringSchema, decisionStepId: stringSchema, unresolved: { enum: ["intent", "fact", "handoff"] }, + params: objectWith({ ...decisionInput, subject: deliberationSubject, checkpoint: deliberationCheckpoint, checkpointRef: stringSchema, requestKind: { enum: ["manual_request"] }, - }, ["workItemId", "expectedWorkItemRevision", "idempotencyKey", "decisionKey", "subject", "checkpoint", "checkpointRef", - "decisionKind", "materiality", "question", "participantIds", "optionRefs", "evidenceRefs"]), + }, [...Object.keys(decisionInputRequired), "subject", "checkpoint", "checkpointRef"]), result: objectWith({ cwd: stringSchema, workItemRevision: integerSchema, replayed: booleanSchema, evaluation: objectWith({ ...deliberationEvaluationFields, candidateDigest: stringSchema, decisionStepId: stringSchema, existingRoundId: stringSchema }, Object.keys(deliberationEvaluationFields)), }, ["cwd", "workItemRevision", "replayed", "evaluation"]), }; + case "workItem/coordination/decision/submit": + return { + params: objectWith({ ...decisionInput, roundId: stringSchema, subject: workflowStageSubject }, + [...Object.keys(decisionInputRequired), "roundId", "subject"]), + result: objectWith({ cwd: stringSchema, replayed: booleanSchema, receipt: coordinationDecisionReceipt }, ["cwd", "replayed", "receipt"]), + }; + case "workItem/coordination/decisions/read": + return { + params: objectWith({ ...workItemTarget, roundId: stringSchema }, ["workItemId", "roundId"]), + result: objectWith({ cwd: stringSchema, receipts: { type: "array", items: coordinationDecisionReceipt } }, ["cwd", "receipts"]), + }; case "workItem/deliberation/open": return { params: objectWith({ ...workItemTarget, evaluationId: stringSchema, expectedWorkItemRevision: integerSchema, idempotencyKey: stringSchema, execution: { enum: ["read_only_shaping", "read_only_workflow"] }, ballotMode: { enum: ["when_unresolved"] }, diff --git a/packages/contracts/src/app-server.ts b/packages/contracts/src/app-server.ts index 955baf769..869c04268 100644 --- a/packages/contracts/src/app-server.ts +++ b/packages/contracts/src/app-server.ts @@ -191,6 +191,8 @@ export const LING_APP_SERVER_METHODS = [ "workItem/coordination/start", "workItem/coordination/read", "workItem/coordination/close", + "workItem/coordination/decision/submit", + "workItem/coordination/decisions/read", "workItem/coordination/schedule/read", "workItem/coordination/schedule/set", "workItem/message/send", @@ -943,6 +945,7 @@ export interface LingAppServerCoordinationScheduleParams extends Omit { + readonly roundId: string; + readonly subject: Extract; +} + +export type LingAppServerCoordinationDecisionReceipt = { + readonly id: string; + readonly decisionKey: string; + readonly roundId: string; +} & ( + | { readonly status: "registered" | "pending" } + | { readonly status: "evaluated"; readonly evaluationId: string } + | { readonly status: "stale"; readonly reasonCode: string } +); + +export interface LingAppServerCoordinationDecisionSubmitResult { + readonly cwd: string; + readonly receipt: LingAppServerCoordinationDecisionReceipt; + readonly replayed: boolean; +} + +export interface LingAppServerCoordinationDecisionsReadResult { + readonly cwd: string; + readonly receipts: readonly LingAppServerCoordinationDecisionReceipt[]; +} + export interface LingAppServerDeliberationEvaluation { readonly evaluationId: string; readonly decisionId: string; diff --git a/packages/core/src/app-server-state-types.ts b/packages/core/src/app-server-state-types.ts index 13385ee62..953e9de84 100644 --- a/packages/core/src/app-server-state-types.ts +++ b/packages/core/src/app-server-state-types.ts @@ -4,7 +4,7 @@ export type AppServerStateKind = "verify_plan" | "verify_operation" | "review_su | "simplify_submission" | "external_federation" | "work_item_creation" | "work_item_acceptance" | "work_item_control" | "replay_identity" | "handoff" | "handoff_goal_transfer" | "authorization_grant" | "work_item_target" | "work_item_source" | "github_delivery" | "github_delivery_current" | "github_queue_intent" | "work_item_thread" - | "automation_coordination" | "coordination_round" | "coordination_automation_run" | "project_instruction_update" + | "automation_coordination" | "coordination_round" | "coordination_automation_run" | "coordination_decisions" | "project_instruction_update" | "change_recovery_request" | "change_transfer_request" | "github_intake_pending" | "github_intake_receipt" | "github_intake_dispatch" | "work_item_workflow" | "work_item_plan_change" | "native_intake_receipt" | "work_item_stage_message_delivery" | "work_item_deliberation_workflow" | "work_item_deliberation_application" | "work_item_deliberation_ballot" diff --git a/packages/core/src/automation-types.ts b/packages/core/src/automation-types.ts index 38c5dd603..e541f605a 100644 --- a/packages/core/src/automation-types.ts +++ b/packages/core/src/automation-types.ts @@ -2,7 +2,10 @@ import { randomUUID } from "node:crypto"; import type { RunTool } from "./approval-policy.js"; import type { SessionPermissionMode } from "./session-permissions.js"; import type { SkillApprovalProfile } from "./skill-types.js"; -import type { LingAppServerScheduledCoordinationRound } from "@ling-stack/contracts"; +import type { + LingAppServerCoordinationDecisionParams, + LingAppServerScheduledCoordinationRound, +} from "@ling-stack/contracts"; import type { ControlPlaneEvent, LingThread } from "./run-types.js"; import type { AppendWorkItemCollaborationResult } from "./work-item-collaboration.js"; @@ -43,6 +46,8 @@ export interface CloseScheduledCoordinationInput { readonly cause: "owner_closed" | "deadline"; readonly expectedWorkItemRevision?: number; readonly expectedCollaborationRevision?: number; + readonly readDecisionBasis?: (request: ScheduledCoordinationDecisionRequest, channelId: string, + throughEvidenceSequence: number) => ScheduledCoordinationDecisionBasis | { readonly reasonCode: string }; } export interface ScheduledCoordinationClose { @@ -50,6 +55,33 @@ export interface ScheduledCoordinationClose { readonly briefEvent?: ControlPlaneEvent; } +export type ScheduledCoordinationDecisionRequest = Omit; + +export interface ScheduledCoordinationDecisionBasis { + readonly digest: string; + readonly channelId: string; + readonly policyRevision: string; +} + +export type ScheduledCoordinationDecisionPolicy = Omit; + +export interface ScheduledCoordinationDecisionConsumption { + readonly roundId: string; + readonly receiptId: string; + readonly expectedWorkItemRevision: number; +} + +export interface PendingScheduledCoordinationDecision extends ScheduledCoordinationDecisionConsumption { + readonly request: ScheduledCoordinationDecisionRequest; + readonly basis: ScheduledCoordinationDecisionBasis; + readonly closedRecordId: string; + readonly throughEvidenceSequence: number; + readonly closedAt: string; + readonly controlGeneration: number; + readonly scheduleRevision: number; + readonly automationDefinitionDigest: string; +} + export type AutomationRunTriggerType = AutomationTrigger["type"] | "event"; export type AutomationTrigger = diff --git a/packages/core/src/run-types.ts b/packages/core/src/run-types.ts index 728afcd79..0cffa8147 100644 --- a/packages/core/src/run-types.ts +++ b/packages/core/src/run-types.ts @@ -2816,6 +2816,17 @@ export interface RunStore extends AutomationEventStore, CodeAssessmentStore, Cod findScheduledCoordinationRound(automationRunId: string): import("@ling-stack/contracts").LingAppServerScheduledCoordinationRound | undefined; listOpenScheduledCoordinationRounds(): readonly import("@ling-stack/contracts").LingAppServerScheduledCoordinationRound[]; closeScheduledCoordination(input: import("./automation-types.js").CloseScheduledCoordinationInput, now: string, cwd?: string): import("./automation-types.js").ScheduledCoordinationClose | undefined; + registerScheduledCoordinationDecision(request: import("./automation-types.js").ScheduledCoordinationDecisionRequest, + expectedWorkItemRevision: number, now: string, readPolicy: () => import("./automation-types.js").ScheduledCoordinationDecisionPolicy): + Omit; + readScheduledCoordinationDecisions(workItemId: string, roundId: string): readonly import("@ling-stack/contracts").LingAppServerCoordinationDecisionReceipt[]; + listPendingScheduledCoordinationDecisionRounds(limit: number): readonly string[]; + getPendingScheduledCoordinationDecision(roundId: string): import("./automation-types.js").PendingScheduledCoordinationDecision | undefined; + settleScheduledCoordinationDecision(input: import("./automation-types.js").ScheduledCoordinationDecisionConsumption, + outcome: { readonly evaluationId: string } | { readonly reasonCode: string }, now: string): boolean; + appendScheduledCoordinationEvaluation(input: import("./automation-types.js").ScheduledCoordinationDecisionConsumption, + evaluation: import("./work-item-collaboration.js").AppendWorkItemCollaborationInput, now: string, cwd: string): + import("./work-item-collaboration.js").AppendWorkItemCollaborationResult | undefined; getAutomationRun(automationRunId: string): AutomationRun | undefined; findAutomationRunByIdempotencyKey(idempotencyKey: string): AutomationRun | undefined; listAutomationRuns(options?: ListAutomationRunsOptions): AutomationRun[]; diff --git a/packages/core/src/storage/sqlite-run-store.ts b/packages/core/src/storage/sqlite-run-store.ts index 5405ce79c..9b616e97b 100644 --- a/packages/core/src/storage/sqlite-run-store.ts +++ b/packages/core/src/storage/sqlite-run-store.ts @@ -6278,6 +6278,10 @@ export class SqliteRunStore implements RunStore { expectedRevision: prior?.revision ?? 0, payload: { roundId: binding.roundId, policyRevision } }, now); if (!admission) throw new Error("work_item_deliberation_admission_stale"); } + if (input.scheduledDecision && evaluation) { + this.scheduledCoordination.completeEvaluationWithinTransaction(input.scheduledDecision, evaluation.record.id, + appended.workItemRevision, now); + } return { ...appended, ...(evaluation?.event ? { evaluationEvent: evaluation.event } : {}) }; }); this.database.exec("COMMIT"); @@ -6749,6 +6753,30 @@ export class SqliteRunStore implements RunStore { return this.scheduledCoordination.close(input, now, cwd); } + registerScheduledCoordinationDecision(...args: Parameters) { + return this.scheduledCoordination.registerDecision(...args); + } + + readScheduledCoordinationDecisions(workItemId: string, roundId: string) { + return this.scheduledCoordination.readDecisions(workItemId, roundId); + } + + listPendingScheduledCoordinationDecisionRounds(limit: number) { + return this.scheduledCoordination.listPendingDecisionRounds(limit); + } + + getPendingScheduledCoordinationDecision(roundId: string) { + return this.scheduledCoordination.pendingDecision(roundId); + } + + settleScheduledCoordinationDecision(...args: Parameters) { + return this.scheduledCoordination.settleDecision(...args); + } + + appendScheduledCoordinationEvaluation(...args: Parameters) { + return this.scheduledCoordination.appendEvaluation(...args); + } + getAutomationRun(automationRunId: string): AutomationRun | undefined { const run = this.automations.getAutomationRun(automationRunId); const round = run && this.findScheduledCoordinationRound(run.id); diff --git a/packages/core/src/storage/sqlite/scheduled-coordination-store.ts b/packages/core/src/storage/sqlite/scheduled-coordination-store.ts index 83cf4a29d..aacb62eef 100644 --- a/packages/core/src/storage/sqlite/scheduled-coordination-store.ts +++ b/packages/core/src/storage/sqlite/scheduled-coordination-store.ts @@ -1,20 +1,47 @@ -import { LING_AGENT_ID } from "../../workspace-types.js"; +import { createHash } from "node:crypto"; +import { isDeepStrictEqual } from "node:util"; +import { DEFAULT_WORKSPACE_ID, LING_AGENT_ID } from "../../workspace-types.js"; import type { - LingAppServerCoordinationSchedule, LingAppServerCoordinationScheduleParams, LingAppServerScheduledCoordinationRound, + LingAppServerCoordinationDecisionReceipt, LingAppServerCoordinationSchedule, LingAppServerCoordinationScheduleParams, + LingAppServerScheduledCoordinationRound, } from "@ling-stack/contracts"; import type { AdmitScheduledCoordinationInput, AutomationDefinition, AutomationRun, CloseScheduledCoordinationInput, - ScheduledCoordinationAdmission, ScheduledCoordinationClose, + PendingScheduledCoordinationDecision, ScheduledCoordinationAdmission, ScheduledCoordinationClose, + ScheduledCoordinationDecisionBasis, ScheduledCoordinationDecisionConsumption, ScheduledCoordinationDecisionPolicy, + ScheduledCoordinationDecisionRequest, } from "../../automation-types.js"; +import { automationDefinitionDigestInput } from "../../automation-event-types.js"; +import { automationEventDigest } from "../../automation-event-source.js"; import type { RunStore } from "../../run-types.js"; -import { appendWorkItemCollaboration, findWorkItemCollaborationById, type AppendWorkItemCollaborationResult } from "../../work-item-collaboration.js"; +import { appendWorkItemCollaboration, readWorkItemCollaborationRecord, type AppendWorkItemCollaborationInput, + type AppendWorkItemCollaborationResult } from "../../work-item-collaboration.js"; import type { SqliteAppServerStateStore } from "./app-server-state-store.js"; import type { SqliteAutomationStore } from "./automation-store.js"; import type { SqliteControlPlaneStore } from "./control-plane-store.js"; import { rollbackOwnedSqliteTransaction } from "./helpers.js"; +import { readSqliteWithinTransaction } from "./read-snapshot.js"; import type { SqliteStoreContext } from "./store-context.js"; import type { SqliteWorkItemEvidenceStore } from "./work-item-evidence-store.js"; +interface DecisionSubmission { + readonly id: string; + readonly request: ScheduledCoordinationDecisionRequest; + readonly policy: ScheduledCoordinationDecisionPolicy; + readonly basis?: ScheduledCoordinationDecisionBasis; + readonly outcome?: { readonly evaluationId: string } | { readonly reasonCode: string }; +} + +interface DecisionBatch { + readonly submissions: readonly DecisionSubmission[]; + readonly nextWorkItemRevision?: number; + readonly seal?: Pick; +} + +const decisionState = "coordination_decisions"; +const maxDecisionsPerRound = 12; + export class SqliteScheduledCoordinationStore { constructor( private readonly context: SqliteStoreContext, @@ -100,6 +127,7 @@ export class SqliteScheduledCoordinationStore { if (!appended) throw new Error("coordination_subject_unavailable"); const round: LingAppServerScheduledCoordinationRound = { automationId: automation.id, automationRunId: automationRun.id, workItemId: workItem.id, kind: policy.kind, + automationDefinitionDigest: automationEventDigest(automationDefinitionDigestInput(automation)), policyRevision: policy.revision, subjectRevision: workItem.revision, controlGeneration: workItem.control.generation, recordId: appended.record.id, deadlineAt, ...(input.scheduledFor ? { scheduledFor: input.scheduledFor } : {}), }; @@ -117,18 +145,19 @@ export class SqliteScheduledCoordinationStore { const workItem = this.workspace.getWorkItem(input.workItemId); if (!saved || !round || round.workItemId !== input.workItemId || !workItem) return undefined; if (round.closedRecordId) { - const record = findWorkItemCollaborationById(this.collaboration(), workItem.id, round.closedRecordId); + const record = readWorkItemCollaborationRecord(this.evidence, workItem.id, round.closedRecordId); return record ? { result: { status: "replayed", record, workItemRevision: workItem.revision } } : undefined; } - const currentSequence = this.context.database.prepare("SELECT COALESCE(MAX(sequence),0) AS revision FROM work_item_evidence WHERE work_item_id=?") - .get(workItem.id)?.revision; + const currentSequence = Number(this.context.database.prepare( + "SELECT COALESCE(MAX(sequence),0) AS revision FROM work_item_evidence WHERE workspace_id=? AND work_item_id=?", + ).get(workItem.workspaceId, workItem.id)?.revision ?? 0); if (input.expectedWorkItemRevision !== undefined && input.expectedWorkItemRevision !== workItem.revision || input.expectedCollaborationRevision !== undefined && input.expectedCollaborationRevision !== currentSequence) { throw new Error("coordination_round_stale"); } if (input.cause === "deadline" && round.deadlineAt > now) return undefined; - const policy = this.schedule(round.automationId); - const inputsCurrent = workItem.control.generation === round.controlGeneration && policy?.enabled && policy.revision === round.policyRevision; + const automationDigest = this.currentAutomationDigest(round); + const inputsCurrent = workItem.control.generation === round.controlGeneration && automationDigest !== undefined; const disposition = inputsCurrent ? "closed" : "stale"; const closeReason = inputsCurrent ? input.cause : "inputs_changed"; const brief = this.append({ @@ -142,15 +171,149 @@ export class SqliteScheduledCoordinationStore { workItemId: workItem.id, kind: "coordination", action: "closed", actorId: input.actorId, parentRecordId: round.recordId, idempotencyKey: `coordination-close:${round.recordId}`, payload: { status: disposition, closeReason, deadlineAt: round.deadlineAt, throughEvidenceSequence: currentSequence, + planRevision: workItem.planRevision, briefId: brief.record.id }, }, now, cwd); if (!result) throw new Error("coordination_subject_unavailable"); this.state.putWithinTransaction({ kind: "coordination_round", recordId: round.recordId, expectedRevision: saved.revision, payload: { ...round, closedRecordId: result.record.id } }, now); + const stored = this.decisionBatch(round.recordId); + if (stored) { + const readBasis = input.readDecisionBasis; + if (inputsCurrent && !readBasis) throw new Error("coordination_decision_basis_unavailable"); + const submissions = stored.batch.submissions.map(submission => { + if (!inputsCurrent || !readBasis) return { ...submission, outcome: { reasonCode: "coordination_inputs_changed" } }; + if (workItem.planRevision !== submission.request.subject.planRevision) return { ...submission, outcome: { reasonCode: "accepted_plan_changed" } }; + const basis = readSqliteWithinTransaction(this.context.database, + () => readBasis(submission.request, submission.policy.channelId, currentSequence)); + if ("reasonCode" in basis) return { ...submission, outcome: basis }; + if (basis.policyRevision !== submission.policy.policyRevision || basis.channelId !== submission.policy.channelId) { + return { ...submission, outcome: { reasonCode: "deliberation_policy_changed" } }; + } + return { ...submission, basis }; + }); + const seal = inputsCurrent && automationDigest ? { + closedRecordId: result.record.id, throughEvidenceSequence: currentSequence, closedAt: now, + controlGeneration: round.controlGeneration, scheduleRevision: round.policyRevision, automationDefinitionDigest: automationDigest, + } : undefined; + this.writeDecisions(round.recordId, stored.revision, { ...stored.batch, submissions, seal, + nextWorkItemRevision: result.workItemRevision }, now); + } return { result, briefEvent: brief.event }; }); } + registerDecision(request: ScheduledCoordinationDecisionRequest, expectedWorkItemRevision: number, now: string, + readPolicy: () => ScheduledCoordinationDecisionPolicy) { + return this.transaction(() => { + const round = this.readRound(request.roundId); + if (round?.workItemId !== request.workItemId || round.kind !== "checkpoint") throw new Error("coordination_subject_unavailable"); + const stored = this.decisionBatch(round.recordId); + const batch = stored?.batch ?? { submissions: [] }; + const previous = batch.submissions.find(submission => submission.request.idempotencyKey === request.idempotencyKey); + if (previous) { + if (!isDeepStrictEqual(previous.request, request)) throw new Error("coordination_decision_idempotency_conflict"); + return { receipt: this.projectDecision(batch, previous), replayed: true }; + } + const item = this.workspace.getWorkItem(request.workItemId); + if (round.closedRecordId || round.deadlineAt <= now || item?.revision !== expectedWorkItemRevision + || item.control.generation !== round.controlGeneration || !this.currentAutomationDigest(round)) { + throw new Error("coordination_round_stale"); + } + if (batch.submissions.length >= maxDecisionsPerRound) throw new Error("coordination_decision_limit"); + const policy = readSqliteWithinTransaction(this.context.database, readPolicy); + const id = `coordination_decision_${createHash("sha256").update(JSON.stringify([round.recordId, request.idempotencyKey])).digest("hex")}`; + const submission = { id, request, policy }; + this.writeDecisions(round.recordId, stored?.revision ?? 0, { ...batch, submissions: [...batch.submissions, submission] }, now); + return { receipt: this.projectDecision(batch, submission), replayed: false }; + }); + } + + readDecisions(workItemId: string, roundId: string): readonly LingAppServerCoordinationDecisionReceipt[] { + if (this.readRound(roundId)?.workItemId !== workItemId) throw new Error("coordination_subject_unavailable"); + const batch = this.decisionBatch(roundId)?.batch; + return batch?.submissions.map(submission => this.projectDecision(batch, submission)) ?? []; + } + + listPendingDecisionRounds(limit: number): string[] { + return this.context.database.prepare(` + SELECT record_id FROM app_server_state WHERE workspace_id=? AND kind=? + AND json_extract(payload_json, '$.seal') IS NOT NULL + AND EXISTS (SELECT 1 FROM json_each(payload_json, '$.submissions') decision + WHERE json_extract(decision.value, '$.outcome') IS NULL) + ORDER BY updated_at, record_id LIMIT ? + `).all(DEFAULT_WORKSPACE_ID, decisionState, limit).map(row => String(row.record_id)); + } + + pendingDecision(roundId: string): PendingScheduledCoordinationDecision | undefined { + const batch = this.decisionBatch(roundId)?.batch; + if (!batch?.seal || batch.nextWorkItemRevision === undefined) return undefined; + const submission = batch.submissions.find(entry => !entry.outcome); + if (!submission?.basis) return undefined; + return { ...batch.seal, roundId, receiptId: submission.id, expectedWorkItemRevision: batch.nextWorkItemRevision, + request: submission.request, basis: submission.basis }; + } + + settleDecision(input: ScheduledCoordinationDecisionConsumption, outcome: NonNullable, now: string): boolean { + return this.transaction(() => this.settleWithinTransaction(input, outcome, input.expectedWorkItemRevision, now)); + } + + appendEvaluation(input: ScheduledCoordinationDecisionConsumption, evaluation: AppendWorkItemCollaborationInput, + now: string, cwd: string): AppendWorkItemCollaborationResult | undefined { + return this.transaction(() => { + const result = this.append(evaluation, now, cwd); + if (result) this.completeEvaluationWithinTransaction(input, result.record.id, result.workItemRevision, now); + return result; + }); + } + + completeEvaluationWithinTransaction(input: ScheduledCoordinationDecisionConsumption, evaluationId: string, + workItemRevision: number, now: string): void { + if (!this.settleWithinTransaction(input, { evaluationId }, workItemRevision, now)) throw new Error("coordination_decision_consumption_changed"); + } + + private settleWithinTransaction(input: ScheduledCoordinationDecisionConsumption, outcome: NonNullable, + workItemRevision: number, now: string): boolean { + const stored = this.decisionBatch(input.roundId); + const batch = stored?.batch; + const pendingIndex = batch?.submissions.findIndex(entry => !entry.outcome) ?? -1; + const submission = batch?.submissions[pendingIndex]; + if (!stored || !batch?.seal || !submission || submission.id !== input.receiptId + || batch.nextWorkItemRevision !== input.expectedWorkItemRevision) return false; + if ("evaluationId" in outcome && this.workspace.getWorkItem(submission.request.workItemId)?.revision !== workItemRevision) { + return false; + } + const submissions = batch.submissions.slice(); + submissions[pendingIndex] = { ...submission, outcome }; + this.writeDecisions(input.roundId, stored.revision, { ...batch, submissions, nextWorkItemRevision: workItemRevision }, now); + return true; + } + + private currentAutomationDigest(round: LingAppServerScheduledCoordinationRound): string | undefined { + const policy = this.schedule(round.automationId); + const automation = this.automations.getAutomationDefinition(round.automationId); + if (!policy?.enabled || policy.revision !== round.policyRevision || automation?.status !== "enabled") return undefined; + const digest = automationEventDigest(automationDefinitionDigestInput(automation)); + return !round.automationDefinitionDigest || round.automationDefinitionDigest === digest ? digest : undefined; + } + + private decisionBatch(roundId: string) { + const record = this.state.get(decisionState, roundId); + return record && { revision: record.revision, batch: record.payload as DecisionBatch }; + } + + private writeDecisions(roundId: string, expectedRevision: number, batch: DecisionBatch, now: string): void { + if (!this.state.putWithinTransaction({ kind: decisionState, recordId: roundId, expectedRevision, payload: batch }, now)) { + throw new Error("coordination_decisions_changed"); + } + } + + private projectDecision(batch: DecisionBatch, { id, request, outcome }: DecisionSubmission): LingAppServerCoordinationDecisionReceipt { + const identity = { id, decisionKey: request.decisionKey, roundId: request.roundId }; + if (!outcome) return { ...identity, status: batch.seal ? "pending" : "registered" }; + return "evaluationId" in outcome ? { ...identity, status: "evaluated", ...outcome } : { ...identity, status: "stale", ...outcome }; + } + private recordOccurrence(automation: AutomationDefinition, input: AdmitScheduledCoordinationInput, now: string, skipReason?: string): AutomationRun { return this.automations.createAutomationRun({ automationId: automation.id, workspaceId: automation.workspaceId, channelId: automation.channelId, threadId: automation.threadId, diff --git a/packages/core/src/work-item-deliberation-workflow.ts b/packages/core/src/work-item-deliberation-workflow.ts index ac822d7af..b58487dd1 100644 --- a/packages/core/src/work-item-deliberation-workflow.ts +++ b/packages/core/src/work-item-deliberation-workflow.ts @@ -1,4 +1,5 @@ import { createHash } from "node:crypto"; +import type { ScheduledCoordinationDecisionConsumption } from "./automation-types.js"; import type { AppendWorkItemCollaborationInput } from "./work-item-collaboration.js"; import type { RunStore } from "./run-types.js"; import type { ChannelWorkflow, ChannelWorkflowStep } from "./workspace-types.js"; @@ -56,6 +57,7 @@ export interface WorkItemDeliberationWorkflowAdmission { readonly expectedWorkItemRevision: number; readonly roundId: string; readonly evaluation?: AppendWorkItemCollaborationInput; + readonly scheduledDecision?: ScheduledCoordinationDecisionConsumption; readonly assertCurrent: () => void; readonly compile: () => { readonly workflow: ChannelWorkflow; diff --git a/packages/daemon/src/features/automations/scheduler.ts b/packages/daemon/src/features/automations/scheduler.ts index 455c1b144..b215aaab9 100644 --- a/packages/daemon/src/features/automations/scheduler.ts +++ b/packages/daemon/src/features/automations/scheduler.ts @@ -1,7 +1,10 @@ import { randomUUID } from "node:crypto"; import type { AutomationDefinition, + CloseScheduledCoordinationInput, ControlPlaneEvent, + PendingScheduledCoordinationDecision, + RunStore, RunSession, SecretResolver, } from "@ling-stack/core"; @@ -72,10 +75,17 @@ interface AutomationSchedulerEntry { runningAutomationIds: Set; } +interface ScheduledCoordinationDeliberation { + sealDecision(store: RunStore, cwd: string, ...args: Parameters>): + ReturnType>; + evaluate(store: RunStore, cwd: string, decision: PendingScheduledCoordinationDecision, isActive: () => boolean): Promise; +} + export class AutomationSchedulerRegistry { private readonly entriesByCwd = new Map(); private readonly inFlightTasks = new Set>(); private readonly coordinationTimers = new Map>(); + private readonly activeCoordination = new Set(); private readonly stoppedWorkspaces = new Set(); private coordinationStopping = false; @@ -92,6 +102,7 @@ export class AutomationSchedulerRegistry { private readonly nativeRunDispatcher?: NativeRunDispatcher, private readonly notificationHub?: NotificationHub, private readonly nativeIntake?: NativeWorkIntake, + private readonly coordinationDeliberation?: ScheduledCoordinationDeliberation, ) {} start(cwd: string): { readonly scheduler: AutomationSchedulerState; readonly duplicate: boolean } { @@ -231,12 +242,28 @@ export class AutomationSchedulerRegistry { this.restoreCoordinationDeadlines(cwd); } - restoreCoordinationDeadlines(cwd: string): void { - if (this.coordinationStopping || this.stoppedWorkspaces.has(cwd)) return; + closeCoordinationRound(cwd: string, input: CloseScheduledCoordinationInput, now: string) { + const store = this.storeRegistry.getStore(cwd); + const deliberation = this.coordinationDeliberation; + const closed = store.closeScheduledCoordination({ ...input, readDecisionBasis: deliberation + && ((...args) => deliberation.sealDecision(store, cwd, ...args)) }, now, cwd); + if (closed?.briefEvent) this.controlPlaneEvents.publish(trimOversizedEvent(closed.briefEvent)); + if (closed?.result.event) this.controlPlaneEvents.publish(trimOversizedEvent(closed.result.event)); + if (closed) this.restoreCoordinationDeadlines(cwd); + return closed; + } + + restoreCoordinationDeadlines(cwd: string, pendingDelayMs = 1): void { + if (this.coordinationStopping || this.stoppedWorkspaces.has(cwd) || this.activeCoordination.has(cwd)) return; this.clearCoordinationTimer(cwd); - const open = this.storeRegistry.getStore(cwd).listOpenScheduledCoordinationRounds(); + const store = this.storeRegistry.getStore(cwd); + const open = store.listOpenScheduledCoordinationRounds(); const next = open.map(round => round.deadlineAt).sort()[0]; - if (next) this.armCoordinationDeadline(cwd, Math.max(1, Date.parse(next) - Date.now())); + const deadlineDelay = next ? Math.max(1, Date.parse(next) - Date.now()) : Infinity; + const pendingDelay = this.coordinationDeliberation && store.listPendingScheduledCoordinationDecisionRounds(1).length + ? pendingDelayMs : Infinity; + const delay = Math.min(deadlineDelay, pendingDelay); + if (Number.isFinite(delay)) this.armCoordinationDeadline(cwd, delay); } private clearCoordinationTimer(cwd: string): void { @@ -249,25 +276,47 @@ export class AutomationSchedulerRegistry { const timer = setTimeout(() => { if (this.coordinationStopping || this.coordinationTimers.get(cwd) !== timer) return; this.coordinationTimers.delete(cwd); - try { - const store = this.storeRegistry.getStore(cwd); - const now = new Date().toISOString(); - for (const round of store.listOpenScheduledCoordinationRounds().filter(round => round.deadlineAt <= now)) { - const closed = store.closeScheduledCoordination({ - workItemId: round.workItemId, recordId: round.recordId, actorId: LING_AGENT_ID, cause: "deadline", - }, now, cwd); - if (closed?.briefEvent) this.controlPlaneEvents.publish(trimOversizedEvent(closed.briefEvent)); - if (closed?.result.event) this.controlPlaneEvents.publish(trimOversizedEvent(closed.result.event)); - } - this.restoreCoordinationDeadlines(cwd); - } catch { - this.armCoordinationDeadline(cwd, 1000); - } + const task = this.processCoordination(cwd); + this.inFlightTasks.add(task); + void task.then(() => this.inFlightTasks.delete(task), () => this.inFlightTasks.delete(task)); }, Math.min(delayMs, MAX_TIMER_DELAY_MS)); timer.unref?.(); this.coordinationTimers.set(cwd, timer); } + private async processCoordination(cwd: string): Promise { + const isActive = () => !this.coordinationStopping && !this.stoppedWorkspaces.has(cwd) && !this.activeRuns.isShuttingDown(); + if (!isActive()) return; + this.activeCoordination.add(cwd); + let pendingDelay = 1; + try { + const store = this.storeRegistry.getStore(cwd); + const now = new Date().toISOString(); + for (const round of store.listOpenScheduledCoordinationRounds().filter(round => round.deadlineAt <= now)) { + this.closeCoordinationRound(cwd, { + workItemId: round.workItemId, recordId: round.recordId, actorId: LING_AGENT_ID, cause: "deadline", + }, now); + } + if (this.coordinationDeliberation) { + for (const roundId of store.listPendingScheduledCoordinationDecisionRounds(8)) { + if (!isActive()) return; + if (this.storeRegistry.recoveryBlocksDispatch(cwd)) { + pendingDelay = 1000; + break; + } + const decision = store.getPendingScheduledCoordinationDecision(roundId); + if (decision) await this.coordinationDeliberation.evaluate(store, cwd, decision, isActive); + } + } + } catch { + if (isActive()) this.armCoordinationDeadline(cwd, 1000); + return; + } finally { + this.activeCoordination.delete(cwd); + } + if (isActive()) this.restoreCoordinationDeadlines(cwd, pendingDelay); + } + async waitForIdle(): Promise { while (this.inFlightTasks.size > 0) { await Promise.allSettled([...this.inFlightTasks]); diff --git a/packages/daemon/src/features/runs/prepared-runner-input.ts b/packages/daemon/src/features/runs/prepared-runner-input.ts index 3b298f667..0bbf6fb70 100644 --- a/packages/daemon/src/features/runs/prepared-runner-input.ts +++ b/packages/daemon/src/features/runs/prepared-runner-input.ts @@ -255,7 +255,7 @@ function isNarrowIsolatedSurface(input: unknown): boolean { if (["mcpTools", "hostCapabilityTools", "mediaGenerationTools"].some(key => input[key] !== undefined && (!Array.isArray(input[key]) || input[key].length !== 0))) return false; for (const [key, allowed] of [ - ["initialToolSurface", ["mediaGeneration", "toolHydration", "userInput", "nativeFileCreate", "delegation", "codeIntelligence", "codeMode", "conversationVisualization"]], + ["initialToolSurface", ["mediaGeneration", "toolHydration", "userInput", "nativeFileCreate", "delegation", "codeIntelligence", "codeMode", "conversationVisualization", "workItemCoordination"]], ["runtimeToolFeatures", ["requestPermissions", "unifiedExec", "shellSnapshot"]], ] as const) { const flags = input[key]; diff --git a/packages/daemon/src/index.ts b/packages/daemon/src/index.ts index 962f3db37..f07acd42a 100644 --- a/packages/daemon/src/index.ts +++ b/packages/daemon/src/index.ts @@ -56,7 +56,7 @@ import type { DaemonContext, DaemonDependencies, RunnerAdapter } from "./context import { AutomationSchedulerRegistry } from "./features/automations/scheduler.js"; import { reconcileAutomationRunForTerminal } from "./features/automations/run.js"; import { ExternalWorkBackgroundSchedulerRegistry } from "./features/external-work/background-scheduler.js"; -import { appendControlPlaneEvent, ControlPlaneEventHub } from "./features/control-plane/events.js"; +import { appendControlPlaneEvent, ControlPlaneEventHub, trimOversizedEvent } from "./features/control-plane/events.js"; import { configureTerminalReportStore, recoverTerminalReports, @@ -178,6 +178,7 @@ import { DefaultRemoteReplyDispatcher } from "./features/remote-access/default-r import { HostCapabilityBridgeController } from "./features/runs/host-capability-bridge-controller.js"; import { executeRunRequest, type RunExecutionSink } from "./features/runs/orchestrator.js"; import { appServerRecoveryFor } from "./server/app-server-recovery.js"; +import { deliberationPolicyContext, evaluateScheduledCoordinationDecision, sealCoordinationDecision } from "./server/app-server-deliberation.js"; import { CompanionReplyService } from "./features/companions/reply-service.js"; import { CompanionSchedulerRegistry } from "./features/companions/scheduler.js"; import { WorktreeMaintenanceRegistry } from "./features/workspaces/worktree-retention.js"; @@ -823,6 +824,25 @@ export function createDaemonServer( nativeRunDispatcher, notificationHub, nativeWorkIntake, + { + sealDecision: (store, cwd, input, channelId, throughEvidenceSequence) => + sealCoordinationDecision(store, cwd, input, channelId, throughEvidenceSequence, resolvedConfig.appServerDeliberationPolicies), + evaluate: async (store, cwd, decision, isActive) => { + const policy = deliberationPolicyContext(resolvedConfig, store); + const result = await evaluateScheduledCoordinationDecision(store, decision, cwd, { + ...policy, + assertRecoveryReady: () => { + if (!isActive()) throw new HttpError(409, "resume_blocked", "The coordination scheduler is stopped."); + policy.assertRecoveryReady(); + }, + }); + if (result?.event) controlPlaneEvents.publish(trimOversizedEvent(result.event)); + if (result?.admissionEvent) { + controlPlaneEvents.publish(trimOversizedEvent(result.admissionEvent)); + taskSupervisor?.poke(cwd); + } + }, + }, ); startupOptionalWarmups = new StartupOptionalWarmupCoordinator({ startupState, diff --git a/packages/daemon/src/server/app-server-deliberation.ts b/packages/daemon/src/server/app-server-deliberation.ts index 83db26918..b6492ed22 100644 --- a/packages/daemon/src/server/app-server-deliberation.ts +++ b/packages/daemon/src/server/app-server-deliberation.ts @@ -4,6 +4,8 @@ import { LING_APP_SERVER_DECISION_MATERIALITIES, LING_APP_SERVER_DELIBERATION_CHECKPOINTS, LING_APP_SERVER_DELIBERATION_DECISION_KINDS, + type LingAppServerCoordinationDecisionParams, + type LingAppServerCoordinationDecisionSubmitResult, type LingAppServerDeliberationEvaluateParams, type LingAppServerDeliberationEvaluateResult, type LingAppServerDeliberationEvaluation, @@ -15,12 +17,16 @@ import { } from "@ling-stack/contracts"; import { appendWorkItemCollaboration, + automationDefinitionDigestInput, + automationEventDigest, deliberationWorkflowStepDigest, readWorkItemCollaborationRecord, readWorkflowStageHandoff, type AppendWorkItemCollaborationInput, type ChannelWorkflowStep, type ControlPlaneEvent, + type PendingScheduledCoordinationDecision, + type ScheduledCoordinationDecisionRequest, type RunStore, type WorkItem, type WorkItemCollaborationRecord, @@ -30,6 +36,7 @@ import { type WorkItemEvidenceEntry, } from "@ling-stack/core"; import { z } from "zod"; +import type { DaemonContext } from "../context.js"; import { HttpError } from "../errors.js"; import { listEffectiveChannelAiTeammates } from "../features/channels/channel-teammate-availability.js"; import { preparePlanShaping, type PlanShapingRuntime } from "../features/channels/plan-deliberation-shaping.js"; @@ -39,6 +46,7 @@ import { readCompleteHandoffCandidate } from "../features/work-items/stage-hando import { readWorkItemWorkflowBinding } from "../features/work-items/workflow-stages.js"; import { defaultDeliberationPolicyRevision, readWorkspaceDeliberationPolicy, type AppServerDeliberationPolicy, type AutomaticDeliberationPolicy } from "./app-server-deliberation-config.js"; +import { appServerRecoveryFor } from "./app-server-recovery.js"; const evaluationPrefix = "work_item_deliberation_evaluation_"; const roundPrefix = "work_item_deliberation_round_"; @@ -52,15 +60,9 @@ const mutationFields = { idempotencyKey: boundedId, }; -export const deliberationEvaluateInput = z.object({ - ...mutationFields, +const workflowStageSubject = z.object({ kind: z.literal("workflow_stage"), workflowStepId: boundedId, planRevision: boundedId }); +const decisionFields = { decisionKey: boundedId, - subject: z.discriminatedUnion("kind", [ - z.object({ kind: z.literal("draft_plan"), planId: boundedId, planRevision: z.number().int().positive() }), - z.object({ kind: z.literal("workflow_stage"), workflowStepId: boundedId, planRevision: boundedId }), - ]), - checkpoint: z.enum(LING_APP_SERVER_DELIBERATION_CHECKPOINTS), - checkpointRef: boundedId, decisionKind: z.enum(LING_APP_SERVER_DELIBERATION_DECISION_KINDS), materiality: z.enum(LING_APP_SERVER_DECISION_MATERIALITIES), question: z.string().trim().min(1).max(1200), @@ -70,9 +72,23 @@ export const deliberationEvaluateInput = z.object({ decisionStepId: boundedId.optional(), candidateDigest: z.string().regex(/^[a-f0-9]{64}$/u).optional(), unresolved: z.enum(["intent", "fact", "handoff"]).optional(), +}; + +export const deliberationEvaluateInput = z.object({ + ...mutationFields, ...decisionFields, + subject: z.discriminatedUnion("kind", [ + z.object({ kind: z.literal("draft_plan"), planId: boundedId, planRevision: z.number().int().positive() }), + workflowStageSubject, + ]), + checkpoint: z.enum(LING_APP_SERVER_DELIBERATION_CHECKPOINTS), + checkpointRef: boundedId, requestKind: z.literal("manual_request").optional(), }); +export const coordinationDecisionInput = z.strictObject({ + ...mutationFields, ...decisionFields, roundId: boundedId, subject: workflowStageSubject, +}); + export const deliberationOpenInput = z.object({ ...mutationFields, evaluationId: boundedId, execution: z.enum(["read_only_shaping", "read_only_workflow"]).optional(), ballotMode: z.literal("when_unresolved").optional(), @@ -99,11 +115,55 @@ interface DeliberationPolicyContext { readonly assertRecoveryReady: () => void; } +export function deliberationPolicyContext(config: DaemonContext["config"], store: RunStore): DeliberationPolicyContext { + const { appServerDeliberationPolicies: policies, harness } = config; + return { + policies, + hostTokenBudget: harness.delegations.mode === "enforce" ? harness.delegations.rootBudget?.tokenBudget : undefined, + assertRecoveryReady: () => appServerRecoveryFor(config, store)?.assertReady(), + }; +} + type DeliberationDisposition = Pick; +export function registerCoordinationDecision(store: RunStore, input: LingAppServerCoordinationDecisionParams, now: string, + cwd: string, policies: readonly AppServerDeliberationPolicy[]): LingAppServerCoordinationDecisionSubmitResult { + const { cwd: _cwd, expectedWorkItemRevision, ...request } = input; + const normalized = { ...request, participantIds: sortedUnique(request.participantIds), + optionRefs: sortedUnique(request.optionRefs), evidenceRefs: sortedUnique(request.evidenceRefs) }; + const result = store.registerScheduledCoordinationDecision(normalized, expectedWorkItemRevision, now, () => { + const { subject } = readScheduledDecisionInputs(store, normalized, { beforeScheduledClose: true }); + const channelId = subject.channelId!; + return { + channelId, policyRevision: readWorkspaceDeliberationPolicy(store, cwd, channelId, policies).effectiveRevision, + }; + }); + return { cwd, ...result }; +} + +export function sealCoordinationDecision(store: RunStore, cwd: string, request: ScheduledCoordinationDecisionRequest, + channelId: string, throughEvidenceSequence: number, policies: readonly AppServerDeliberationPolicy[]) { + try { + const basis = readScheduledDecisionInputs(store, request, { throughEvidenceSequence }); + if (basis.subject.channelId !== channelId) return { reasonCode: "decision_basis_changed" }; + return { digest: basis.digest, channelId, + policyRevision: readWorkspaceDeliberationPolicy(store, cwd, channelId, policies).effectiveRevision }; + } catch (error) { + if (!(error instanceof HttpError) || !["stale_revision", "resume_blocked"].includes(error.code)) throw error; + return { reasonCode: "decision_basis_changed" }; + } +} + +function readScheduledDecisionInputs(store: RunStore, request: ScheduledCoordinationDecisionRequest, + checkpointScope: Parameters[3]) { + const { workItemId, roundId, idempotencyKey: _key, ...inputs } = request; + return readDecisionBasis(store, requireWorkItem(store, workItemId), + { ...inputs, checkpoint: "scheduled_checkpoint", checkpointRef: roundId }, checkpointScope); +} + export async function evaluateAppServerDeliberation( store: RunStore, input: LingAppServerDeliberationEvaluateParams, now: string, cwd: string, - policyContext: DeliberationPolicyContext, + policyContext: DeliberationPolicyContext, scheduled?: PendingScheduledCoordinationDecision, ): Promise { + if (scheduled) assertScheduledDecisionCurrent(store, scheduled, revision, cwd, policyContext); + }; + const completeScheduledReplay = (evaluation: LingAppServerDeliberationEvaluation) => { + if (scheduled && !store.settleScheduledCoordinationDecision(scheduled, { evaluationId: evaluation.evaluationId }, now)) { + throw stale("The scheduled decision changed before replay."); + } + }; const readReplay = () => { const prior = readMutationReceipt(store, workItemId, idempotencyKey); if (!prior) return undefined; const frozen = readEvaluation(prior); if (!frozen || !isDeepStrictEqual(frozen.decision, decision)) throw keyConflict(); + completeScheduledReplay(frozen.evaluation); return { cwd, evaluation: frozen.evaluation, workItemRevision: requireWorkItem(store, workItemId).revision, replayed: true }; }; + assertScheduledCurrent(expectedWorkItemRevision); const prior = readReplay(); if (prior) return prior; - const basis = readDecisionBasis(store, item, decision); + const basis = readDecisionBasis(store, item, decision, scheduled); + if (scheduled && scheduled.basis.digest !== basis.digest) throw new ScheduledDecisionStale("decision_basis_changed"); const decisionId = digest([item.id, decision.decisionKey, decision.subject.kind, basis.subject.decisionAnchor, ...(decision.decisionStepId ? [decision.decisionStepId] : [])]); const decisionRevision = digest([basis.digest, decision.decisionKind, decision.materiality, decision.question, decision.unresolved]); if (basis.candidate) { await assertCandidateCurrent(basis.candidate); + assertScheduledCurrent(expectedWorkItemRevision); const committed = readReplay(); if (committed) return committed; } @@ -157,7 +229,10 @@ export async function evaluateAppServerDeliberation( ...(policyRevision !== defaultDeliberationPolicyRevision ? [policyRevision, outcome, retainedRound && outcome.outcome !== "start" ? roundId : null] : []), ...(decision.requestKind ? [decision.requestKind] : [])])}`; const existing = readEvaluation(readWorkItemCollaborationRecord(store, workItemId, evaluationId)); - if (existing) return { cwd, evaluation: existing.evaluation, workItemRevision: requireWorkItem(store, workItemId).revision, replayed: true }; + if (existing) { + completeScheduledReplay(existing.evaluation); + return { cwd, evaluation: existing.evaluation, workItemRevision: requireWorkItem(store, workItemId).revision, replayed: true }; + } if (item.revision !== expectedWorkItemRevision) throw stale("The Work Item revision changed before evaluation."); const evaluation: LingAppServerDeliberationEvaluation = { evaluationId, decisionId, decisionRevision, subjectRevision: basis.subject.subjectRevision, policyRevision, @@ -178,7 +253,8 @@ export async function evaluateAppServerDeliberation( ...(predecessor ? { parentRecordId: predecessor.evaluation.evaluationId } : {}), sourceRefs: basis.sourceRefs, assertCurrent: () => { - const current = readDecisionBasis(store, requireWorkItem(store, workItemId), decision); + assertScheduledCurrent(expectedWorkItemRevision); + const current = readDecisionBasis(store, requireWorkItem(store, workItemId), decision, scheduled); const policy = policyForSubject(store, cwd, current.subject, policyContext.policies); if (current.digest !== basis.digest || (policy?.effectiveRevision ?? defaultDeliberationPolicyRevision) !== policyRevision) { throw stale("The decision basis changed before the evaluation committed."); @@ -192,8 +268,9 @@ export async function evaluateAppServerDeliberation( const deadlineAt = new Date(Date.parse(now) + budget.maxDurationMs).toISOString(); const round = checkpointRound(frozen, workItemId, roundId, expectedWorkItemRevision + 1, roundId, deadlineAt, basis); const result = store.admitWorkItemDeliberationWorkflow({ - workItemId, expectedWorkItemRevision, roundId, evaluation: evidence, + workItemId, expectedWorkItemRevision, roundId, evaluation: evidence, scheduledDecision: scheduled, assertCurrent: () => { + assertScheduledCurrent(expectedWorkItemRevision + 1); const current = requireWorkItem(store, workItemId); const currentBasis = assertEvaluationCurrent(store, current, frozen, now, deadlineAt, { cwd, policies: policyContext.policies }); const blocker = automaticDeliberationBlocker(store, current, @@ -208,11 +285,56 @@ export async function evaluateAppServerDeliberation( return { cwd, evaluation, workItemRevision: result.workItemRevision, replayed: false, event: result.evaluationEvent, admissionEvent: result.event }; } - const result = appendWorkItemCollaboration(store, evidence, now, cwd); + const result = scheduled ? store.appendScheduledCoordinationEvaluation(scheduled, evidence, now, cwd) + : appendWorkItemCollaboration(store, evidence, now, cwd); if (!result) throw stale("The Work Item revision changed before the evaluation committed."); return { cwd, evaluation, workItemRevision: result.workItemRevision, replayed: false, event: result.event }; } +export async function evaluateScheduledCoordinationDecision(store: RunStore, pending: PendingScheduledCoordinationDecision, + cwd: string, policyContext: DeliberationPolicyContext) { + const now = new Date().toISOString(); + const { roundId, idempotencyKey: _key, ...inputs } = pending.request; + try { + return await evaluateAppServerDeliberation(store, { + ...inputs, checkpoint: "scheduled_checkpoint", checkpointRef: roundId, + expectedWorkItemRevision: pending.expectedWorkItemRevision, idempotencyKey: `coordination-evaluation:${pending.receiptId}`, + }, now, cwd, policyContext, pending); + } catch (error) { + const reasonCode = error instanceof ScheduledDecisionStale ? error.reasonCode + : error instanceof HttpError && error.code === "stale_revision" ? "decision_basis_changed" + : error instanceof HttpError && error.code === "idempotency_conflict" ? "evaluation_key_conflict" : undefined; + if (!reasonCode) throw error; + store.settleScheduledCoordinationDecision(pending, { reasonCode }, now); + } +} + +class ScheduledDecisionStale extends Error { + constructor(readonly reasonCode: string) { + super(reasonCode); + } +} + +function assertScheduledDecisionCurrent(store: RunStore, pending: PendingScheduledCoordinationDecision, expectedRevision: number, + cwd: string, context: DeliberationPolicyContext): void { + const item = store.getWorkItem(pending.request.workItemId); + if (item?.planRevision !== pending.request.subject.planRevision) throw new ScheduledDecisionStale("accepted_plan_changed"); + if (item.control.generation !== pending.controlGeneration) throw new ScheduledDecisionStale("coordination_inputs_changed"); + if (item.revision !== expectedRevision) throw new ScheduledDecisionStale("work_item_revision_changed"); + const round = store.readScheduledCoordinationRound(pending.roundId); + const schedule = round && store.getAutomationCoordinationSchedule(round.automationId); + const definition = round && store.getAutomationDefinition(round.automationId); + if (round?.closedRecordId !== pending.closedRecordId || !schedule?.enabled || schedule.revision !== pending.scheduleRevision + || !definition || automationEventDigest(automationDefinitionDigestInput(definition)) !== pending.automationDefinitionDigest) { + throw new ScheduledDecisionStale("coordination_inputs_changed"); + } + if (readWorkspaceDeliberationPolicy(store, cwd, pending.basis.channelId, context.policies).effectiveRevision !== pending.basis.policyRevision) { + throw new ScheduledDecisionStale("deliberation_policy_changed"); + } + if (Date.now() >= Date.parse(pending.closedAt) + validityMs) throw new ScheduledDecisionStale("checkpoint_expired"); + context.assertRecoveryReady(); +} + function automaticDeliberationBlocker(store: RunStore, item: WorkItem, input: { readonly basis: ReturnType; readonly decision: FrozenEvaluation["decision"]; @@ -426,9 +548,11 @@ function policyForSubject(store: RunStore, cwd: string, subject: SubjectBasis, p return subject.channelId === undefined ? undefined : readWorkspaceDeliberationPolicy(store, cwd, subject.channelId, policies); } -function readDecisionBasis(store: RunStore, item: WorkItem, decision: FrozenEvaluation["decision"]) { +function readDecisionBasis(store: RunStore, item: WorkItem, decision: FrozenEvaluation["decision"], + checkpointScope?: { readonly beforeScheduledClose?: boolean; readonly throughEvidenceSequence?: number }) { const subject = readSubject(store, item, decision.subject); - const checkpoint = readCheckpoint(store, item, subject, decision); + const checkpoint = checkpointScope?.beforeScheduledClose ? { type: "coordination_round", id: decision.checkpointRef } + : readCheckpoint(store, item, subject, decision); const channel = subject.channelId && store.getChannel(subject.channelId); const eligible = channel ? listEffectiveChannelAiTeammates(store, channel) : []; const participants = decision.participantIds.map(id => { @@ -439,6 +563,7 @@ function readDecisionBasis(store: RunStore, item: WorkItem, decision: FrozenEval const readEntry = (id: string, option: boolean) => { const entry = store.getWorkItemEvidence(id); if (entry?.workItemId !== item.id || entry.subjectRevision !== subject.subjectRevision + || checkpointScope?.throughEvidenceSequence !== undefined && entry.sequence > checkpointScope.throughEvidenceSequence || option && entry.kind !== "proposal") throw stale("A decision input is unavailable for the current subject."); return entry; }; @@ -569,8 +694,11 @@ function readCheckpoint(store: RunStore, item: WorkItem, subject: SubjectBasis, } if (step && checkpoint === "scheduled_checkpoint") { const round = store.readScheduledCoordinationRound(id); + const closed = round?.closedRecordId && readWorkItemCollaborationRecord(store, item.id, round.closedRecordId); if (round?.workItemId === item.id && round.kind === "checkpoint" && round.closedRecordId - && round.controlGeneration === item.control.generation) { + && round.controlGeneration === item.control.generation && closed && closed.kind === "coordination" && closed.action === "closed" + && closed.parentRecordId === id && isRecord(closed.payload) && closed.payload.status === "closed" + && (closed.payload.planRevision === undefined || closed.payload.planRevision === subject.subjectRevision)) { return { type: "coordination_round", id, revision: round.closedRecordId }; } } diff --git a/packages/daemon/src/server/app-server-mcp.ts b/packages/daemon/src/server/app-server-mcp.ts index b44dd30bc..377a2e1b2 100644 --- a/packages/daemon/src/server/app-server-mcp.ts +++ b/packages/daemon/src/server/app-server-mcp.ts @@ -6,7 +6,7 @@ import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js"; import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js"; import { z } from "zod"; import { connectToAppServer, type AppServerLocalTransportOptions } from "./app-server-local-transport.js"; -import { deliberationEvaluateInput, deliberationOpenInput } from "./app-server-deliberation.js"; +import { coordinationDecisionInput, deliberationEvaluateInput, deliberationOpenInput } from "./app-server-deliberation.js"; const objectId = z.string().min(1).max(256); const requestKey = z.string().min(1).max(128); @@ -338,6 +338,16 @@ export async function runLingAppServerMcp( expectedWorkItemRevision: z.number().int().positive(), idempotencyKey: requestKey }), annotations: { idempotentHint: true, destructiveHint: false }, }, async params => describe(await client.recoverWorkItemStage(params))); + if (methods.has("workItem/coordination/decision/submit")) server.registerTool("ling_coordination_decision_submit", { + description: "Register a decision for evaluation when an open scheduled checkpoint closes. Supply the current accepted stage and its evidence.", + inputSchema: coordinationDecisionInput, + annotations: { idempotentHint: true, destructiveHint: false }, + }, async params => describe(await client.submitCoordinationDecision(params))); + if (methods.has("workItem/coordination/decisions/read")) server.registerTool("ling_coordination_decisions_read", { + description: "Read the registered, pending or terminal decision receipts for a checkpoint round.", + inputSchema: z.strictObject({ workItemId: objectId, roundId: objectId }), + annotations: { readOnlyHint: true }, + }, async params => describe(await client.readCoordinationDecisions(params))); if (methods.has("workItem/deliberation/evaluate")) server.registerTool("ling_deliberation_evaluate", { description: "Evaluate a Work Item decision using a current draft or stage checkpoint and its evidence. A suggestion waits for operator acceptance.", inputSchema: deliberationEvaluateInput, diff --git a/packages/daemon/src/server/rpc.ts b/packages/daemon/src/server/rpc.ts index bf2dc4f29..605fe9a1a 100644 --- a/packages/daemon/src/server/rpc.ts +++ b/packages/daemon/src/server/rpc.ts @@ -156,8 +156,8 @@ import { settleAppServerDeliberation, startAppServerStageDeliberation, } from "./app-server-collaboration.js"; -import { deliberationEvaluateInput, deliberationOpenInput, evaluateAppServerDeliberation, - isCheckpointDeliberationRecord, openAppServerEvaluatedDeliberation } from "./app-server-deliberation.js"; +import { coordinationDecisionInput, deliberationEvaluateInput, deliberationOpenInput, deliberationPolicyContext, evaluateAppServerDeliberation, + isCheckpointDeliberationRecord, openAppServerEvaluatedDeliberation, registerCoordinationDecision } from "./app-server-deliberation.js"; import { planShapingRegistryKey, projectPlanShaping } from "../features/channels/plan-deliberation-shaping.js"; import { readStageHandoffParams, settleAppServerStageHandoff } from "./app-server-stage-handoff.js"; import { recoverAppServerStage } from "./app-server-stage-recovery.js"; @@ -229,6 +229,7 @@ const operatorMethods = new Set([ "workItem/deliberation/evaluate", "workItem/deliberation/open", "workItem/deliberation/decide", "workItem/deliberation/cancel", "artifact/read", "model/list", "skill/read", "workItem/coordination/schedule/read", "workItem/coordination/schedule/set", + "workItem/coordination/decision/submit", "workItem/coordination/decisions/read", "changes/read", "changes/apply/preview", "changes/apply", ]); const IMPLEMENTED_APP_SERVER_METHODS = LING_APP_SERVER_METHODS.filter(method => !UNIMPLEMENTED_APP_SERVER_METHODS.has(method)); @@ -978,6 +979,9 @@ class RpcConnection { return this.appendCollaboration("coordination", "closed", params); case "workItem/coordination/read": return this.readCollaboration("coordination", params); + case "workItem/coordination/decision/submit": + case "workItem/coordination/decisions/read": + return this.coordinationDecision(method, params); case "workItem/coordination/schedule/read": case "workItem/coordination/schedule/set": return this.coordinationSchedule(method, params); @@ -1378,6 +1382,17 @@ class RpcConnection { return { cwd: record.cwd, schedule }; } + private coordinationDecision(method: "workItem/coordination/decision/submit" | "workItem/coordination/decisions/read", params: unknown): unknown { + const { cwd, ...record } = this.workspaceParams(params, true); + const store = this.context.storeRegistry.getStore(cwd); + if (method === "workItem/coordination/decisions/read") { + return { cwd, receipts: store.readScheduledCoordinationDecisions(readStringField(record, "workItemId"), readStringField(record, "roundId")) }; + } + const parsed = coordinationDecisionInput.safeParse(record); + if (!parsed.success) throw rpcError(-32602, "invalid_params", "Supply an open checkpoint round and bounded decision inputs for a current stage."); + return registerCoordinationDecision(store, parsed.data, new Date().toISOString(), cwd, this.context.config.appServerDeliberationPolicies); + } + private appendWorkItemEvidence(params: unknown): unknown { const record = readParamsRecord(params); const cwd = readRpcCwd(record, this.defaultCwd); @@ -1507,12 +1522,7 @@ class RpcConnection { const { cwd, ...record } = this.workspaceParams(params, true); const store = this.context.storeRegistry.getStore(cwd); const now = new Date().toISOString(); - const { appServerDeliberationPolicies: policies, harness } = this.context.config; - const policyContext = { - policies, - hostTokenBudget: harness.delegations.mode === "enforce" ? harness.delegations.rootBudget?.tokenBudget : undefined, - assertRecoveryReady: () => appServerRecoveryFor(this.context.config, store)?.assertReady(), - }; + const policyContext = deliberationPolicyContext(this.context.config, store); if (method === "workItem/deliberation/evaluate") { const parsed = deliberationEvaluateInput.safeParse(record); if (!parsed.success) throw rpcError(-32602, "invalid_params", "Supply a current subject, checkpoint and bounded decision inputs."); @@ -1704,15 +1714,13 @@ class RpcConnection { const parentRecordId = readOptionalStringField(record, "parentRecordId"); if (kind === "coordination" && action === "closed" && parentRecordId && store.readScheduledCoordinationRound(parentRecordId)) { this.workspaceParams(params, true); - const closed = store.closeScheduledCoordination({ + const closed = this.context.automationSchedulers.closeCoordinationRound(cwd, { workItemId, recordId: parentRecordId, actorId: readStringField(record, "actorId"), cause: "owner_closed", expectedWorkItemRevision: readOptionalIntegerField(record, "expectedWorkItemRevision"), expectedCollaborationRevision: readOptionalIntegerField(record, "expectedCollaborationRevision"), - }, new Date().toISOString(), cwd); + }, new Date().toISOString()); if (!closed) throw rpcError(-32040, "coordination_subject_unavailable", "The coordination round is unavailable."); const { event, ...result } = closed.result; - if (closed.briefEvent) this.context.controlPlaneEvents.publish(trimOversizedEvent(closed.briefEvent)); - if (event) this.context.controlPlaneEvents.publish(trimOversizedEvent(event)); return { cwd, ...result }; } const { event, ...result } = appendAppServerWorkItemCollaboration(store, { @@ -3708,6 +3716,15 @@ function normalizeRpcError(error: unknown): { readonly jsonRpcCode: number; read if (error instanceof Error && /^(?:coordination_schedule_stale|coordination_round_stale)$/u.test(error.message)) { return { jsonRpcCode: -32030, code: "stale_revision", message: "The coordination definition or Work Item revision changed." }; } + if (error instanceof Error && error.message === "coordination_decision_idempotency_conflict") { + return { jsonRpcCode: -32031, code: "idempotency_conflict", message: "The decision key was reused with different inputs." }; + } + if (error instanceof Error && error.message === "coordination_decision_limit") { + return { jsonRpcCode: -32061, code: "coordination_decision_limit", message: "The coordination round has reached its decision limit." }; + } + if (error instanceof Error && error.message === "coordination_subject_unavailable") { + return { jsonRpcCode: -32040, code: "coordination_subject_unavailable", message: "The coordination round is unavailable for this Work Item." }; + } if (error instanceof Error && /^goal_(acceptance|completion|supervision)_/u.test(error.message)) { return { jsonRpcCode: -32061, code: error.message, message: error.message }; } diff --git a/packages/daemon/test/agent-capabilities.test.ts b/packages/daemon/test/agent-capabilities.test.ts index 4c6e2deaf..bd1b19ff5 100644 --- a/packages/daemon/test/agent-capabilities.test.ts +++ b/packages/daemon/test/agent-capabilities.test.ts @@ -194,3 +194,22 @@ test("restoring a prepared execution without a tool surface preserves its origin assert.deepEqual(reproduced.tools, preparedInput.tools); assert.equal(reproduced.fingerprint, preparedInput.fingerprint); }); + +test("prepared isolated files accept explicitly disabled visualization and coordination tools", async t => { + const { cwd } = await fixture(t); + const runner = new PiRunnerAdapter(); + const options: PiRunnerRunOptions = { cwd, task: { id: "isolated", title: "Read the contract", prompt: "Read only." }, tools: ["read"], + provider: { provider: "prepared-capabilities", model: "test", api: "openai-completions", baseUrl: "https://fixture.invalid/v1", reasoning: false }, + isolatedToolsProfile: "host_isolated_files_v1", onToolBefore: () => ({ allowed: true }), onIsolatedToolCall: () => ({ content: [] }), + initialToolSurface: { mediaGeneration: false, toolHydration: false, conversationVisualization: false, workItemCoordination: false }, + }; + const preparedInput = await runner.prepareTaskInput(options); + const payload = capturePreparedRunnerInput({ runnerId: "pi", options, preparedInput }); + const restored = restorePreparedRunnerOptions(payload, options); + assert.deepEqual(restored.initialToolSurface, options.initialToolSurface); + assert.deepEqual((await runner.prepareTaskInput(restored)).tools.map(tool => tool.name), ["read"]); + for (const capability of ["conversationVisualization", "workItemCoordination"] as const) { + const widened = { ...options, initialToolSurface: { ...options.initialToolSurface!, [capability]: true } }; + assert.throws(() => restorePreparedRunnerOptions(payload, widened), { code: "workflow_safety_mismatch" }); + } +}); diff --git a/packages/daemon/test/app-server-release-acceptance.test.ts b/packages/daemon/test/app-server-release-acceptance.test.ts index 50ad9f38f..e31ce47fd 100644 --- a/packages/daemon/test/app-server-release-acceptance.test.ts +++ b/packages/daemon/test/app-server-release-acceptance.test.ts @@ -32,6 +32,8 @@ import type { LingAppServerGitHubDeliveryResult, LingAppServerGitHubQueueResult, LingAppServerRecoveryResult, + LingAppServerCoordinationDecisionParams, + LingAppServerCoordinationDecisionsReadResult, LingAppServerCoordinationSchedule, LingAppServerDeliberationDecideParams, LingAppServerDeliberationDecideResult, @@ -3779,11 +3781,12 @@ test("a paused Work Item replaces its accepted Workflow after the old Run settle async function stageQuestionWorkflow(t: TestContext, providerBaseUrl?: string, parallelReadOnly = false, retryBudget?: number, options?: { readonly harness?: DaemonConfig["harness"]; readonly secretResolver?: SecretResolver; readonly apiKeyRef?: string; readonly channelId?: string; readonly deliberationPolicies?: (cwd: string) => DaemonConfig["appServerDeliberationPolicies"]; + readonly recoveryJournal?: boolean; readonly decision?: import("@ling-stack/contracts").ProposedPlanStageDecision; readonly verificationRecipes?: (root: string, cwd: string) => Promise }) { const fixture = await releaseFixture(t, { channels: { terminalReports: false, teamObserverBus: false }, harness: options?.harness, secretResolver: options?.secretResolver, verificationRecipes: options?.verificationRecipes, - deliberationPolicies: options?.deliberationPolicies }); + deliberationPolicies: options?.deliberationPolicies, recoveryJournal: options?.recoveryJournal }); const store = fixture.getStore(); const now = new Date().toISOString(); const preset = providerBaseUrl ? addLoopbackPreset(store, providerBaseUrl, options?.apiKeyRef ? { @@ -4616,6 +4619,250 @@ test("a scoped automatic policy opens exactly one checkpoint round and reserves assert.equal(provider.requests.length, 1); }); +async function openScheduledDecisionCheckpoint(fixture: Awaited>, + client: Awaited>["connect"]>>, workItemId: string, durationMs = 60_000) { + const store = fixture.getStore(); + const now = new Date().toISOString(); + const home = store.createLingThread({ kind: "automation", title: "Coordination checkpoint", objective: "Review the current stage" }, now); + const automation = store.createAutomationDefinition({ + threadId: home.id, title: "Coordination checkpoint", kind: "custom_prompt", + trigger: { type: "schedule", timezone: "UTC", missedRunPolicy: "skip", schedule: { cadence: "daily", timeOfDay: "00:00" } }, + target: { scope: "workspace", workspaceId: DEFAULT_WORKSPACE_ID }, executionPolicy: {}, + promptTemplate: { templateVersion: 1, promptMarkdown: "Review the stage evidence.", contextSelectors: [] }, + outputPolicy: { artifactFormat: "markdown", destinations: [{ type: "automation_thread" }] }, + }, now); + await client.call("workItem/coordination/schedule/set", { + automationId: automation.id, workItemId, expectedRevision: 0, enabled: true, kind: "checkpoint", durationMs, + }); + const { daemonUrl, authToken, cwd } = fixture.transportOptions(); + const response = await fetch(`${daemonUrl}/automations/${automation.id}/run?cwd=${encodeURIComponent(cwd)}`, { + method: "POST", body: JSON.stringify({ idempotencyKey: `${automation.id}:checkpoint` }), + headers: { Authorization: `Bearer ${authToken}`, "Content-Type": "application/json" }, + }); + assert.equal(response.status, 202, await response.clone().text()); + const { automationRun } = await response.json() as { automationRun: AutomationRun }; + assert.ok(automationRun.coordinationRoundId); + return { automationId: automation.id, roundId: automationRun.coordinationRoundId }; +} + +async function controlCoordinationScheduler(fixture: Awaited>, action: "start" | "stop") { + const { daemonUrl, cwd, authToken } = fixture.transportOptions(); + const response = await fetch(`${daemonUrl}/automations/scheduler/${action}?cwd=${encodeURIComponent(cwd)}`, { + method: "POST", headers: { Authorization: `Bearer ${authToken}` }, + }); + assert.equal(response.status, 200); +} + +test("scheduled checkpoint decisions seal with the close receipt and resume exactly once after restart", { timeout: 35_000 }, async t => { + const provider = await startLoopbackPiProvider(() => ({ + text: "The adapter preserves compatibility.", usage: { prompt_tokens: 26, completion_tokens: 4, total_tokens: 30 }, + })); + t.after(() => provider.close()); + const channelId = "scheduled-checkpoint-auto"; + const { fixture, store, client, item, workItem, waiting } = await stageQuestionWorkflow(t, provider.baseUrl, true, undefined, { + ...workflowProviderBudgetFixture, channelId, recoveryJournal: true, + deliberationPolicies: cwd => [{ + workspaceRoot: cwd, channelId, mode: "auto_start", allowedTriggers: ["scheduled_checkpoint"], + allowedDecisionKinds: ["implementation_tradeoff"], minimumViableOptions: 2, minimumParticipants: 2, + requiredRoleIds: ["engineer", "qa"], minDecisionMateriality: "high", cooldownMs: 60_000, ballotMode: "disabled", + decisionOwner: { kind: "user" }, budget: { maxTokens: 70_000, maxDurationMs: 60_000 }, + }], + }); + const target = { workItemId: item.id }; + const planRevision = workItem.planRevision!; + const { optionRefs, evidenceRef } = await recordDeliberationEvidence(client.call, item.id, planRevision); + await controlCoordinationScheduler(fixture, "stop"); + const { roundId } = await openScheduledDecisionCheckpoint(fixture, client, item.id); + const input = { + ...target, roundId, expectedWorkItemRevision: store.getWorkItem(item.id)!.revision, idempotencyKey: "compatibility-decision", + decisionKey: "compatibility", subject: { kind: "workflow_stage", workflowStepId: waiting.id, planRevision }, + decisionKind: "implementation_tradeoff", materiality: "high", question: "Which option preserves compatibility?", + participantIds: ["teammate_builtin_engineer", "teammate_builtin_qa"], optionRefs, evidenceRefs: [evidenceRef], + } as const satisfies LingAppServerCoordinationDecisionParams; + const { daemonUrl, authToken } = fixture.transportOptions(); + const sdk = new LingAppServerClient({ + url: daemonUrl.replace("http:", "ws:") + `/app-server/rpc?cwd=${encodeURIComponent(fixture.cwd)}`, + createSocket: url => new WebSocket(url, { headers: { Authorization: `Bearer ${authToken}` } }) as unknown as LingAppServerSocket, + clientInfo: { name: "scheduled-checkpoint-test", version: "1" }, autoReconnect: false, + }); + t.after(() => sdk.close()); + const { scoped } = await createObserver(client, fixture, item.id); + await assert.rejects(scoped.call("workItem/coordination/decision/submit", input), { code: "capability_denied" }); + await assert.rejects(scoped.call("workItem/coordination/decisions/read", { ...target, roundId }), { code: "capability_denied" }); + await assert.rejects(sdk.submitCoordinationDecision({ ...input, evidenceRefs: ["unavailable"] }), { code: "stale_revision" }); + const registered = await sdk.submitCoordinationDecision(input); + assert.equal(registered.receipt.status, "registered"); + assert.deepEqual(await sdk.submitCoordinationDecision({ ...input, optionRefs: [...optionRefs].reverse() }), + { ...registered, replayed: true }); + await assert.rejects(sdk.submitCoordinationDecision({ ...input, question: "A different decision?" }), { code: "idempotency_conflict" }); + const duplicate = await sdk.submitCoordinationDecision({ ...input, idempotencyKey: "same-decision-again" }); + const followUp = await sdk.submitCoordinationDecision({ ...input, idempotencyKey: "clarify-contract", decisionKey: "clarify-contract", + unresolved: "intent" }); + assert.equal(provider.requests.length, 0); + + const close = () => client.call("workItem/coordination/close", { + ...target, parentRecordId: roundId, actorId: "local-user", + }); + const db = new DatabaseSync(store.paths.databasePath); + try { + db.exec(`CREATE TRIGGER fail_decision_seal BEFORE UPDATE ON app_server_state WHEN NEW.kind = 'coordination_decisions' + BEGIN SELECT RAISE(ABORT, 'fixture_decision_seal_failed'); END`); + await assert.rejects(close(), /fixture_decision_seal_failed/u); + assert.equal(store.readScheduledCoordinationRound(roundId)?.closedRecordId, undefined); + assert.equal(store.getWorkItem(item.id)?.revision, input.expectedWorkItemRevision); + assert.deepEqual(store.listWorkItemEvidence({ workItemId: item.id, afterSequence: 3 }).map(entry => entry.id), [roundId]); + assert.deepEqual((await sdk.readCoordinationDecisions({ ...target, roundId })).receipts.map(receipt => receipt.status), + ["registered", "registered", "registered"]); + db.exec("DROP TRIGGER fail_decision_seal"); + } finally { + db.close(); + } + const { cursor } = await client.call("workItem/read", target); + const closed = await close(); + assert.equal(closed.record.parentRecordId, roundId); + assert.equal((closed.record.payload as { throughEvidenceSequence: number }).throughEvidenceSequence, 4); + assert.equal((await close()).record.id, closed.record.id); + assert.deepEqual((await sdk.readCoordinationDecisions({ ...target, roundId })).receipts.map(receipt => receipt.status), + ["pending", "pending", "pending"]); + assert.equal(provider.requests.length, 0); + const recovery = await client.call("server/recovery/prepare", { expectedRevision: 0, idempotencyKey: "hold-checkpoint" }); + await fixture.restart(); + const resumed = await fixture.connect(); + const read = () => resumed.call("workItem/coordination/decisions/read", { ...target, roundId }); + assert.equal((await resumed.call("workItem/subscribe", { ...target, cursor })).disposition, "snapshot_required"); + assert.equal((await read()).receipts[0]?.status, "pending"); + assert.equal(provider.requests.length, 0); + await resumed.call("server/recovery/reconcile", { expectedRevision: recovery.revision }); + const receipts = await waitFor(async () => { + const { receipts } = await read(); + return receipts.every(receipt => receipt.status === "evaluated") ? receipts : undefined; + }); + const [first, second, third] = receipts; + assert.ok(first?.status === "evaluated" && second?.status === "evaluated" && third?.status === "evaluated"); + assert.deepEqual(receipts.map(receipt => receipt.id), [registered.receipt.id, duplicate.receipt.id, followUp.receipt.id]); + assert.equal(first.evaluationId, second.evaluationId); + assert.notEqual(first.evaluationId, third.evaluationId); + const result = await resumed.call("workItem/deliberation/read", target); + assert.equal(result.deliberationWorkflows?.length, 1); + const [linked] = result.deliberationWorkflows!; + assert.ok(linked); + await waitFor(() => fixture.getStore().getChannelWorkflow(linked.workflowId)?.status === "succeeded" ? true : undefined); + assert.equal(provider.requests.length, 4); + assert.ok(provider.requests.every(request => !(request as { tools?: unknown[] }).tools?.length)); + assert.equal((await resumed.call("workItem/coordination/close", { + ...target, parentRecordId: roundId, actorId: "local-user", + })).record.id, closed.record.id); + assert.deepEqual((await read()).receipts, receipts); +}); + +test("scheduled checkpoint decisions reject late changes and stale closes while explicit evaluation can include new evidence", { timeout: 30_000 }, async t => { + const { fixture, store, client, item, workItem, waiting, channel, thread, plan, workflowId } = await stageQuestionWorkflow(t); + for (const id of ["teammate_builtin_engineer", "teammate_builtin_qa"]) { + store.replaceTeammateChannelMemberships(id, [{ channelId: channel.id }], new Date().toISOString()); + } + const target = { workItemId: item.id }; + const planRevision = workItem.planRevision!; + const { optionRefs, evidenceRef } = await recordDeliberationEvidence(client.call, item.id, planRevision); + const revision = () => fixture.getStore().getWorkItem(item.id)!.revision; + const open = async (durationMs?: number) => { + const checkpoint = await openScheduledDecisionCheckpoint(fixture, client, item.id, durationMs); + const decision = { + ...target, decisionKey: "compatibility", subject: { kind: "workflow_stage", workflowStepId: waiting.id, planRevision }, + decisionKind: "implementation_tradeoff", materiality: "high", question: "Which option preserves compatibility?", + participantIds: ["teammate_builtin_engineer", "teammate_builtin_qa"], optionRefs, evidenceRefs: [evidenceRef], + } as const; + await client.call("workItem/coordination/decision/submit", { + ...decision, roundId: checkpoint.roundId, expectedWorkItemRevision: revision(), idempotencyKey: "scheduled-decision", + }); + return { ...checkpoint, + close: () => client.call("workItem/coordination/close", { + ...target, parentRecordId: checkpoint.roundId, actorId: "local-user", + }), + read: () => client.call("workItem/coordination/decisions/read", { ...target, roundId: checkpoint.roundId }), + evaluate: (evidenceRefs = decision.evidenceRefs as readonly string[]) => + client.call("workItem/deliberation/evaluate", { + ...decision, evidenceRefs, checkpoint: "scheduled_checkpoint", checkpointRef: checkpoint.roundId, + expectedWorkItemRevision: revision(), idempotencyKey: `explicit:${checkpoint.roundId}`, + }), + }; + }; + + const scheduled = await open(1200); + await controlCoordinationScheduler(fixture, "start"); + const evaluated = await waitFor(async () => (await scheduled.read()).receipts.find(receipt => receipt.status === "evaluated")); + assert.equal(evaluated.status, "evaluated"); + assert.equal(((await scheduled.close()).record.payload as { closeReason: string }).closeReason, "deadline"); + + await controlCoordinationScheduler(fixture, "stop"); + const late = await open(); + await late.close(); + const additional = await client.call<{ entry: { id: string } }>("workItem/evidence/append", { + ...target, actorId: "local-user", subjectRevision: planRevision, kind: "observation", + idempotencyKey: "after-checkpoint", content: "A public integration result arrived after the checkpoint.", + }); + await controlCoordinationScheduler(fixture, "start"); + const lateReceipt = await waitFor(async () => (await late.read()).receipts.find(receipt => receipt.status === "stale")); + assert.equal(lateReceipt.reasonCode, "work_item_revision_changed"); + const explicit = await late.evaluate([evidenceRef, additional.entry.id]); + assert.deepEqual(explicit.evaluation.evidenceRefs, [evidenceRef, additional.entry.id].sort()); + + await controlCoordinationScheduler(fixture, "stop"); + const policy = await open(); + await policy.close(); + const { daemonUrl, authToken, cwd } = fixture.transportOptions(); + const response = await fetch(`${daemonUrl}/workspace-settings/deliberation?${new URLSearchParams({ cwd, channelId: channel.id })}`, { + method: "PATCH", headers: { Authorization: `Bearer ${authToken}`, "Content-Type": "application/json" }, + body: JSON.stringify({ expectedRevision: 0, policy: { mode: "manual" } }), + }); + assert.equal(response.status, 200, await response.clone().text()); + await controlCoordinationScheduler(fixture, "start"); + assert.equal((await waitFor(async () => (await policy.read()).receipts.find(receipt => receipt.status === "stale"))).reasonCode, + "deliberation_policy_changed"); + + const stale = await open(); + await client.call("workItem/coordination/schedule/set", { + ...target, automationId: stale.automationId, expectedRevision: 1, enabled: false, kind: "checkpoint", durationMs: 60_000, + }); + assert.equal(((await stale.close()).record.payload as { status: string }).status, "stale"); + assert.equal((await stale.read()).receipts[0]?.status, "stale"); + await assert.rejects(stale.evaluate(), { code: "stale_revision" }); + + const control = await open(); + await client.call("workItem/pause", { ...target, expectedWorkItemRevision: revision(), expectedControlGeneration: 0, + actorId: "local-user", idempotencyKey: "pause-before-checkpoint-close" }); + assert.equal(((await control.close()).record.payload as { status: string }).status, "stale"); + const [controlReceipt] = (await control.read()).receipts; + assert.ok(controlReceipt?.status === "stale"); + assert.equal(controlReceipt.reasonCode, "coordination_inputs_changed"); + await client.call("workItem/resume", { ...target, expectedWorkItemRevision: revision(), expectedControlGeneration: 1, + actorId: "local-user", idempotencyKey: "resume-after-checkpoint" }); + + await controlCoordinationScheduler(fixture, "stop"); + const replanned = await open(); + await replanned.close(); + const pause = await client.call("workItem/pause", { + ...target, expectedWorkItemRevision: revision(), expectedControlGeneration: 2, + actorId: "local-user", idempotencyKey: "pause-for-successor", + }); + const parent = store.getProposedPlanArtifact(plan.id)!; + const { plan: draft } = await client.call("plan/refine", { + threadId: thread.id, planId: parent.id, expectedRevision: parent.revision, + draft: { title: "Revised compatibility", bodyMarkdown: "Validate the accepted replacement interface." }, + }); + const accepted = await client.call("plan/accept", { + mode: "workflow", threadId: thread.id, planId: draft.id, expectedRevision: draft.revision, + workflowStepPreviews: [{ title: "Verify the replacement", stageId: "QA", ownerId: "teammate_builtin_qa", ownerLabel: "QA" }], + }); + const successor = await client.call("workItem/workflow/bind", { + ...target, planId: accepted.plan.id, expectedPlanRevision: accepted.plan.revision, previousWorkflowId: workflowId, + expectedWorkItemRevision: Number(pause.workItem.revision), idempotencyKey: "bind-checkpoint-successor", + }); + assert.notEqual(successor.workItem.planRevision, planRevision); + await controlCoordinationScheduler(fixture, "start"); + assert.equal((await waitFor(async () => (await replanned.read()).receipts.find(receipt => receipt.status === "stale"))).reasonCode, + "accepted_plan_changed"); +}); + test("parallel Work Item stages reserve their shared Goal budget before sending Pi requests", { timeout: 30_000 }, async t => { let finishFirst: () => void = () => undefined; const firstHeld = new Promise(resolve => { finishFirst = resolve; }); @@ -6234,7 +6481,7 @@ test("one Work Item retains independent verification, review, delivery and rollb const { candidate } = await client.call("changes/capture", { scope: "head" }); const verificationPlan = await client.call("verify/plan", { - workItemId, threadId: thread.id, candidate, requestedChecks: ["o9-contract"], idempotencyKey: "o9-verify-plan", + workItemId, threadId: thread.id, candidate, requestedChecks: ["o9-contract"], idempotencyKey: "o9-plan", }); const verification = await client.call("verify/start", { planId: verificationPlan.planId, planRevision: verificationPlan.planRevision, @@ -6272,7 +6519,7 @@ test("one Work Item retains independent verification, review, delivery and rollb const round = await client.call("workItem/deliberation/start", { workItemId, expectedWorkItemRevision: Number((await client.call("workItem/read", { workItemId })).workItem.revision), - actorId: "local-user", idempotencyKey: "o9-deliberation", payload: { decisionPoint: "Retain the contract", options: ["adapter", "migration"] }, + actorId: "local-user", idempotencyKey: "o9-round", payload: { decisionPoint: "Retain the contract", options: ["adapter", "migration"] }, }); const reattached = await peer.call("workItem/deliberation/read", { workItemId }); assert.ok(reattached.records.some(record => record.id === round.record.id)); From 4ae2defe53017f2236b1e7c548dd580c0425e563 Mon Sep 17 00:00:00 2001 From: tianxiaochannel-oss88 Date: Thu, 26 Nov 2026 10:07:12 +0800 Subject: [PATCH 122/147] Fence scheduled decisions and commit device receipts atomically --- .gitleaksignore | 4 + .../ling-app-server-implementation-plan.md | 4 +- packages/core/src/automation-recurrence.ts | 2 +- packages/core/src/run-types.ts | 2 + packages/core/src/storage/sqlite-run-store.ts | 27 ++++ .../sqlite/scheduled-coordination-store.ts | 9 +- packages/core/src/work-item-device-bridge.ts | 57 +++++--- .../core/test/work-item-device-bridge.test.ts | 48 +++++-- .../src/features/automations/scheduler.ts | 126 +++++++++++------- packages/daemon/src/runtime/store-registry.ts | 2 +- .../src/server/app-server-deliberation.ts | 28 ++-- packages/daemon/src/server/rpc.ts | 6 +- .../app-server-release-acceptance.test.ts | 63 ++++++--- 13 files changed, 260 insertions(+), 118 deletions(-) diff --git a/.gitleaksignore b/.gitleaksignore index 55d88a131..6fecac421 100644 --- a/.gitleaksignore +++ b/.gitleaksignore @@ -769,3 +769,7 @@ f55acd1385a37b6db6d75c4caa53fef77cab4d95:native/office-local/reviewed-packaged-s # Idempotency literals in the O9 integration test. f5a7a2dde2feb8a5abb1754cf71e5514453ed9d6:packages/daemon/test/app-server-release-acceptance.test.ts:generic-api-key:6237 f5a7a2dde2feb8a5abb1754cf71e5514453ed9d6:packages/daemon/test/app-server-release-acceptance.test.ts:generic-api-key:6275 + +# Reviewed Office source digests introduced by the main merge. +93a09ac5ea0727c70412680039f9a5aacdc2a50c:native/office-local/reviewed-packaged-source-v1.json:generic-api-key:278 +93a09ac5ea0727c70412680039f9a5aacdc2a50c:native/office-local/reviewed-packaged-source-v1.json:generic-api-key:1160 diff --git a/docs/design/ling-app-server-implementation-plan.md b/docs/design/ling-app-server-implementation-plan.md index 5e8d42354..5a897b9f0 100644 --- a/docs/design/ling-app-server-implementation-plan.md +++ b/docs/design/ling-app-server-implementation-plan.md @@ -2,7 +2,7 @@ - **状态** App Server 本机传输、Turn 控制与恢复、Verify 和 Federation 已通过定向验收。Agent Operating Model 已接入工作项接单、控制和协作记录。下文列出完整实施与发行仍需完成的工作包。 - **维护者** Contracts、Daemon、Runtime、API Client、CLI 与开发工具维护者 -- **核对基线** `origin/main@911a2f982` +- **核对基线** `origin/main@05cb86a41` - **类型** 开发准备、依赖顺序和验收计划 - **合同** [产品与架构设计](ling-app-server.md) · [详细设计](ling-app-server-detailed-design.md) - **代码与测试锚点** [Daemon RPC](../../packages/daemon/src/server/rpc.ts) · [控制面往返测试](../../packages/daemon/test/control-plane-api.test.mjs) · [会话受理收据](../../packages/daemon/test/conversation-submission-receipts.test.mjs) · [框架验收](ling-framework-complementary-implementation-plan.md) @@ -11,7 +11,7 @@ 当前支持回环 WebSocket、stdio JSONL、私有 Unix socket 和 TypeScript 客户端。CLI 的 `app-server probe|stdio|listen|mcp` 复用同一连接,使用 `server/capabilities` 确认当前连接的方法,支持范围随 Daemon 认证和已有能力变化。CLI 还提供 `app-server instructions-init`、`app-server verify` 和 `app-server verify-status`,用于预览项目约定、按当前候选创建验证计划和读取持久验证结果。上一版的 HTTP/SSE 与 `/rpc/stream` 沿用原入口。只有持 Daemon bearer 的客户端可提交 Run 审批和提问答案、启动 Verify 或 Review,以及触发满足 conformance 的只读外部 Runner 派发。连接按工作区绑定。未登记的检查显示 `blocked`。`thread/snapshot` 返回当前 Turn、Run、Goal、待决审批/提问和持久游标,`context/inspect` 返回已封存的上下文与项目规则清单。App Server 还提供受工作区、Thread 或 Work Item 归属约束的 `artifact/read`,以及 `model/list` 和 `skill/read` 只读能力。 -实现分支已经把协议合同、WebSocket 协商、Thread/Turn 生命周期、Work Item 控制与证据、开发工作流入口、协作记录、审议触发策略、外部 Agent 注册与任务受理接入同一个 App Server RPC。协作记录复用 Work Item 证据板的持久 CAS 与幂等边界,外部 Agent 任务在派发前核对 Work Item 当前 revision 和 control state。接受的 Plan 可原子绑定到 Workflow,阶段读取和阶段事件复用 Workflow 的实际步骤与结果。绑定后旧的会话接单、人工 claim 和 Workflow 直接启动都经过同一个 Work Item 控制闸门,暂停、依赖未完成、候选或 Plan 版本变化会停止新的派发。Device Work Item Bridge 现在持久化 graph/node、owner host、WorkUnit、Attempt 与 receipt 映射,提供 App Server read/bind/receipt 方法。Receipt 先写入独立账本,再更新映射投影,未知结果在重启后保持 unknown。 +实现分支已经把协议合同、WebSocket 协商、Thread/Turn 生命周期、Work Item 控制与证据、开发工作流入口、协作记录、审议触发策略、外部 Agent 注册与任务受理接入同一个 App Server RPC。协作记录复用 Work Item 证据板的持久 CAS 与幂等边界,外部 Agent 任务在派发前核对 Work Item 当前 revision 和 control state。接受的 Plan 可原子绑定到 Workflow,阶段读取和阶段事件复用 Workflow 的实际步骤与结果。绑定后旧的会话接单、人工 claim 和 Workflow 直接启动都经过同一个 Work Item 控制闸门,暂停、依赖未完成、候选或 Plan 版本变化会停止新的派发。Device Work Item Bridge 现在持久化 graph/node、owner host、WorkUnit、Attempt 与 receipt 映射,提供 App Server read/bind/receipt 方法。回执、映射投影和事件在同一事务提交。未知结果在重启后保留,Owner 对账前保持当前绑定。 已验证的关键回归包括 App Server WebSocket、stdio/Unix socket、MCP bridge、Work Item 控制与证据、协作记录回放、开发工作流服务、外部 Agent federation、配置的 Pi Runner 和 API Client。Verify plan/operation 和 Federation ledger 已接入工作区 SQLite 的 app_server_state,按来源工作区恢复,Daemon 重启后会把无法确认的 queued/running Verify 和外部 running task 标记为 unknown,要求原所有者重新核对。Verify 只接受默认或 Host 登记的配方,执行前后核对候选 digest。Host 登记的配方还绑定路径选择、独立 verifier source、coverage digest 和 producer refs,命令输出以有限大小保存并脱敏。重复 start/cancel 使用同一收据,取消会传递给实际检查进程。Work Item acceptance 通过同一 SQLite 事务写入 receipt、状态和 revision。外部任务在 Work Item revision/control、Runner external boundary、工具 conformance、只读工具范围和 admission fence 通过后调用已配置的真实 Adapter。注册、能力读取、任务接入、重连和取消均以请求工作区选择 federation ledger,重复提交不重复派发,Adapter 失败、取消未确认和断线重启均保留 unknown。普通 `turn/start` 通过同一会话受理、准备快照和 Run 入口,`submission/read` 与 `turn/resume` 可在重连后读取原收据,已准备但尚未派发的 Turn 通过原请求恢复同一 Turn。停止的 Turn 在实际执行和效果收敛后,可用明确的恢复键受理后继 Turn。用户提问由 Host 事务产生 `pending` 事件,认证客户端从线程快照取得短期 authority,通过 `input/respond` 复用公共解析、权限和版本 CAS,答复事件在重启后按原身份回放,已结束的问题不会再次要求应答。项目规则在准备快照时按路径读取并封存 digest,`instructions/init` 只在预览版本仍匹配且目标未被占用时原子写入。Review 先捕获候选两次,再读取基线的 `Code Review Rules` 和显式 `REVIEW.md`,规则与发现项处置由同一候选和幂等收据约束。App Server 的 operator 写操作要求认证凭据,能力与方法表只公布当前连接可用的实现。已用本机安装的 Codex App Server 通过 MCP bridge 创建 Ling Thread、提交配置 Pi Runner Turn,并从 Ling 游标恢复 Turn 事件。平台和兼容证据随 PR 检查及发行矩阵记录。 diff --git a/packages/core/src/automation-recurrence.ts b/packages/core/src/automation-recurrence.ts index d1eba3421..edda854f4 100644 --- a/packages/core/src/automation-recurrence.ts +++ b/packages/core/src/automation-recurrence.ts @@ -26,7 +26,7 @@ export class AutomationRecurrenceError extends Error { } } -/** A valid finite rule has no future occurrence; the scheduler disables it. */ +/** A valid finite rule has no future occurrence. */ export class AutomationRecurrenceCompleteError extends AutomationRecurrenceError {} /** Reject unsupported fields instead of widening a finite or malformed rule. */ diff --git a/packages/core/src/run-types.ts b/packages/core/src/run-types.ts index 0cffa8147..bf25572e9 100644 --- a/packages/core/src/run-types.ts +++ b/packages/core/src/run-types.ts @@ -2749,6 +2749,7 @@ export interface RunStore extends AutomationEventStore, CodeAssessmentStore, Cod getLatestVerificationState(threadId?: string): import("./app-server-state-types.js").AppServerStateRecord | undefined; listPendingGitHubIntakeDispatches(updatedBefore: string, limit: number): import("./app-server-state-types.js").AppServerStateRecord[]; putAppServerState(input: import("./app-server-state-types.js").PutAppServerStateInput, now: string, publication?: AppendControlPlaneEventInput): import("./app-server-state-types.js").PutAppServerStateResult | undefined; + writeWorkItemDeviceState(write: (store: import("./work-item-device-bridge.js").WorkItemDeviceMutationStore) => T): T; deleteAppServerState(kind: import("./app-server-state-types.js").AppServerStateKind, recordId: string, workspaceId?: string): boolean; transferAppServerHandoffGoal(handoffId: string, threadId: string, now: string): { readonly transfer: import("@ling-stack/contracts").LingAppServerHandoffGoalTransfer; @@ -2813,6 +2814,7 @@ export interface RunStore extends AutomationEventStore, CodeAssessmentStore, Cod configureAutomationCoordination(input: import("@ling-stack/contracts").LingAppServerCoordinationScheduleParams, now: string): import("@ling-stack/contracts").LingAppServerCoordinationSchedule; admitScheduledCoordination(input: import("./automation-types.js").AdmitScheduledCoordinationInput, now: string, cwd?: string): import("./automation-types.js").ScheduledCoordinationAdmission; readScheduledCoordinationRound(recordId: string): import("@ling-stack/contracts").LingAppServerScheduledCoordinationRound | undefined; + getCurrentScheduledCoordinationAutomationDigest(recordId: string): string | undefined; findScheduledCoordinationRound(automationRunId: string): import("@ling-stack/contracts").LingAppServerScheduledCoordinationRound | undefined; listOpenScheduledCoordinationRounds(): readonly import("@ling-stack/contracts").LingAppServerScheduledCoordinationRound[]; closeScheduledCoordination(input: import("./automation-types.js").CloseScheduledCoordinationInput, now: string, cwd?: string): import("./automation-types.js").ScheduledCoordinationClose | undefined; diff --git a/packages/core/src/storage/sqlite-run-store.ts b/packages/core/src/storage/sqlite-run-store.ts index 9b616e97b..810212803 100644 --- a/packages/core/src/storage/sqlite-run-store.ts +++ b/packages/core/src/storage/sqlite-run-store.ts @@ -6409,6 +6409,28 @@ export class SqliteRunStore implements RunStore { return this.appServerState.put(input, now, publication); } + writeWorkItemDeviceState(write: (store: import("../work-item-device-bridge.js").WorkItemDeviceMutationStore) => T): T { + this.database.exec("BEGIN IMMEDIATE"); + try { + const result = withSqliteSnapshotParentTransaction(this.database, () => write({ + getWorkItem: id => this.getWorkItem(id), + getAppServerState: (...args) => this.appServerState.get(...args), + findAppServerStateByIdempotencyKey: (...args) => this.appServerState.findByIdempotencyKey(...args), + listAppServerState: (...args) => this.appServerState.list(...args), + putAppServerState: (input, now, publication) => { + const result = this.appServerState.putWithinTransaction(input, now); + if (!result || result.status === "replayed" || !publication) return result; + return { ...result, event: this.controlPlane.appendControlPlaneEventWithinTransaction(publication, now) }; + }, + })); + this.database.exec("COMMIT"); + return result; + } catch (error) { + rollbackOwnedSqliteTransaction(this.database); + throw error; + } + } + deleteAppServerState(kind: import("../app-server-state-types.js").AppServerStateKind, recordId: string, workspaceId?: string): boolean { return this.appServerState.delete(kind, recordId, workspaceId); } @@ -6741,6 +6763,11 @@ export class SqliteRunStore implements RunStore { return this.scheduledCoordination.readRound(recordId); } + getCurrentScheduledCoordinationAutomationDigest(recordId: string) { + const round = this.scheduledCoordination.readRound(recordId); + return round && this.scheduledCoordination.currentAutomationDigest(round); + } + findScheduledCoordinationRound(automationRunId: string) { return this.scheduledCoordination.findRound(automationRunId); } diff --git a/packages/core/src/storage/sqlite/scheduled-coordination-store.ts b/packages/core/src/storage/sqlite/scheduled-coordination-store.ts index aacb62eef..639691d2e 100644 --- a/packages/core/src/storage/sqlite/scheduled-coordination-store.ts +++ b/packages/core/src/storage/sqlite/scheduled-coordination-store.ts @@ -171,7 +171,7 @@ export class SqliteScheduledCoordinationStore { workItemId: workItem.id, kind: "coordination", action: "closed", actorId: input.actorId, parentRecordId: round.recordId, idempotencyKey: `coordination-close:${round.recordId}`, payload: { status: disposition, closeReason, deadlineAt: round.deadlineAt, throughEvidenceSequence: currentSequence, - planRevision: workItem.planRevision, + planRevision: workItem.planRevision ?? null, briefId: brief.record.id }, }, now, cwd); if (!result) throw new Error("coordination_subject_unavailable"); @@ -289,10 +289,13 @@ export class SqliteScheduledCoordinationStore { return true; } - private currentAutomationDigest(round: LingAppServerScheduledCoordinationRound): string | undefined { + currentAutomationDigest(round: LingAppServerScheduledCoordinationRound): string | undefined { const policy = this.schedule(round.automationId); const automation = this.automations.getAutomationDefinition(round.automationId); - if (!policy?.enabled || policy.revision !== round.policyRevision || automation?.status !== "enabled") return undefined; + if (!policy?.enabled || policy.revision !== round.policyRevision || policy.workItemId !== round.workItemId + || automation?.status !== "enabled") return undefined; + const home = this.workspace.getLingThread(automation.threadId); + if (!home || home.status === "archived" || home.archivedAt) return undefined; const digest = automationEventDigest(automationDefinitionDigestInput(automation)); return !round.automationDefinitionDigest || round.automationDefinitionDigest === digest ? digest : undefined; } diff --git a/packages/core/src/work-item-device-bridge.ts b/packages/core/src/work-item-device-bridge.ts index 43de997b5..e0f253058 100644 --- a/packages/core/src/work-item-device-bridge.ts +++ b/packages/core/src/work-item-device-bridge.ts @@ -6,9 +6,9 @@ import type { LingAppServerWorkItemDeviceReceiptParams, LingAppServerWorkItemDeviceStatus, } from "@ling-stack/contracts"; -import type { AppendControlPlaneEventInput, RunStore } from "./run-types.js"; +import type { AppendControlPlaneEventInput, ControlPlaneEvent, RunStore } from "./run-types.js"; -type DeviceBindingRecord = { readonly binding: LingAppServerWorkItemDeviceBinding; readonly idempotencyKey?: string }; +type DeviceBindingRecord = { readonly binding: LingAppServerWorkItemDeviceBinding }; type DeviceReceiptRecord = { readonly bindingId: string; readonly bindingRevision: number; @@ -28,15 +28,16 @@ export class WorkItemDeviceBridgeError extends Error { } } -type DeviceBridgeStore = Pick; +type WorkItemDeviceMutation = { readonly binding: LingAppServerWorkItemDeviceBinding; readonly replayed: boolean; readonly event?: ControlPlaneEvent }; export function deviceBindingId(workItemId: string, graphId: string, graphNodeId: string): string { return `work_item_device_binding_${digest([workItemId, graphId, graphNodeId])}`; } export function readWorkItemDeviceBindings( - store: DeviceBridgeStore, workItemId: string, + store: Pick, workItemId: string, ): readonly LingAppServerWorkItemDeviceBinding[] { const bindings = store.listAppServerState("work_item_device_binding").flatMap(record => { const value = record.payload as Partial; @@ -51,17 +52,22 @@ export function readWorkItemDeviceBindings( .filter(entry => entry.bindingId === binding.bindingId && entry.bindingRevision === binding.revision) .sort((left, right) => left.receipt.receivedAt.localeCompare(right.receipt.receivedAt) || left.receipt.receiptId.localeCompare(right.receipt.receiptId)) .at(-1)?.receipt; - return latest ? { ...binding, status: latest.status, updatedAt: latest.receivedAt, receipt: latest } : binding; + return latest && (!binding.receipt || latest.receivedAt > binding.receipt.receivedAt) + ? { ...binding, status: latest.status, updatedAt: latest.receivedAt, receipt: latest } : binding; }).sort((left, right) => left.bindingId.localeCompare(right.bindingId)); } export function bindWorkItemDevice( - store: DeviceBridgeStore, + store: Pick, input: LingAppServerWorkItemDeviceBindParams, now: string, cwd: string, -): { readonly binding: LingAppServerWorkItemDeviceBinding; readonly replayed: boolean; readonly event?: import("./run-types.js").ControlPlaneEvent } { +): WorkItemDeviceMutation { validateBindingInput(input); + return store.writeWorkItemDeviceState(current => commitDeviceBinding(current, input, now, cwd)); +} + +function commitDeviceBinding(store: WorkItemDeviceMutationStore, input: LingAppServerWorkItemDeviceBindParams, now: string, cwd: string): WorkItemDeviceMutation { const workItem = store.getWorkItem(input.workItemId); if (!workItem) throw new WorkItemDeviceBridgeError("work_item_not_found", "The Work Item is unavailable."); if (workItem.revision !== input.expectedWorkItemRevision) throw new WorkItemDeviceBridgeError("stale_revision", "The Work Item revision changed."); @@ -72,14 +78,14 @@ export function bindWorkItemDevice( const state = store.getAppServerState("work_item_device_binding", bindingId); const existing = state?.payload as DeviceBindingRecord | undefined; if (existing) { - const current = existing.binding; + const current = projectBindingWithLatestReceipt(store, existing.binding); if (state?.idempotencyKey === input.idempotencyKey) { if (!sameBindingRequest(current, input)) throw new WorkItemDeviceBridgeError("device_binding_conflict", "The binding key belongs to a different device node."); - return { binding: projectBindingWithLatestReceipt(store, current), replayed: true }; + return { binding: current, replayed: true }; } - if (sameBindingRequest(current, input)) return { binding: projectBindingWithLatestReceipt(store, current), replayed: true }; + if (sameBindingRequest(current, input)) return { binding: current, replayed: true }; if (input.graphRevision <= current.graphRevision) throw new WorkItemDeviceBridgeError("stale_revision", "The device graph revision is stale."); - if (!["failed", "cancelled", "unknown"].includes(current.status)) { + if (!["failed", "cancelled"].includes(current.status)) { throw new WorkItemDeviceBridgeError("device_binding_conflict", "The device node already has an active binding."); } } @@ -98,19 +104,23 @@ export function bindWorkItemDevice( } export function recordWorkItemDeviceReceipt( - store: DeviceBridgeStore, + store: Pick, input: LingAppServerWorkItemDeviceReceiptParams, now: string, cwd: string, -): { readonly binding: LingAppServerWorkItemDeviceBinding; readonly replayed: boolean; readonly event?: import("./run-types.js").ControlPlaneEvent } { +): WorkItemDeviceMutation { validateReceiptInput(input); + return store.writeWorkItemDeviceState(current => commitDeviceReceipt(current, input, now, cwd)); +} + +function commitDeviceReceipt(store: WorkItemDeviceMutationStore, input: LingAppServerWorkItemDeviceReceiptParams, now: string, cwd: string): WorkItemDeviceMutation { const workItem = store.getWorkItem(input.workItemId); if (!workItem) throw new WorkItemDeviceBridgeError("work_item_not_found", "The Work Item is unavailable."); if (workItem.revision !== input.expectedWorkItemRevision) throw new WorkItemDeviceBridgeError("stale_revision", "The Work Item revision changed."); const state = store.getAppServerState("work_item_device_binding", input.bindingId); const saved = state?.payload as DeviceBindingRecord | undefined; if (!saved || saved.binding.workItemId !== input.workItemId) throw new WorkItemDeviceBridgeError("device_binding_conflict", "The device binding is unavailable."); - const binding = saved.binding; + const binding = projectBindingWithLatestReceipt(store, saved.binding); if (binding.revision !== input.expectedBindingRevision) { throw new WorkItemDeviceBridgeError("stale_revision", "The device binding revision changed."); } @@ -121,10 +131,14 @@ export function recordWorkItemDeviceReceipt( const prior = store.findAppServerStateByIdempotencyKey("work_item_device_receipt", input.idempotencyKey); if (prior) { const payload = prior.payload as DeviceReceiptRecord; - if (!sameReceiptRequest(payload.receipt, input, payload.bindingRevision)) { + if (payload.bindingId !== input.bindingId || payload.bindingRevision !== input.expectedBindingRevision + || !sameReceiptRequest(payload.receipt, input)) { throw new WorkItemDeviceBridgeError("device_receipt_conflict", "The receipt key belongs to a different result."); } - return { binding: projectBindingWithLatestReceipt(store, binding), replayed: true }; + return { binding, replayed: true }; + } + if (binding.receipt && (binding.status !== "unknown" || input.status === "unknown" || input.reconciled !== true)) { + throw new WorkItemDeviceBridgeError("device_receipt_conflict", "The current device result already has a receipt. An unknown result requires owner reconciliation."); } const receipt = receiptFromInput(input, now, binding.revision); const receiptRecord: DeviceReceiptRecord = { bindingId: binding.bindingId, bindingRevision: binding.revision, receipt }; @@ -134,22 +148,23 @@ export function recordWorkItemDeviceReceipt( if (!savedReceipt) throw new WorkItemDeviceBridgeError("device_receipt_conflict", "The receipt was committed concurrently."); const nextBinding = { ...binding, status: input.status, updatedAt: now, receipt } satisfies LingAppServerWorkItemDeviceBinding; const updated = store.putAppServerState({ kind: "work_item_device_binding", recordId: binding.bindingId, - expectedRevision: state!.revision, idempotencyKey: `device-binding-receipt:${input.idempotencyKey}`, + expectedRevision: state!.revision, payload: { binding: nextBinding } satisfies DeviceBindingRecord }, now, deviceBridgeEvent(cwd, workItem.workspaceId, input.workItemId, nextBinding, input.status)); if (!updated) throw new WorkItemDeviceBridgeError("stale_revision", "The device binding changed while the receipt was being projected."); - return { binding: projectBindingWithLatestReceipt(store, (updated.record.payload as DeviceBindingRecord).binding), replayed: false, + return { binding: nextBinding, replayed: false, ...(updated.event ? { event: updated.event } : {}) }; } -function sameReceiptRequest(receipt: LingAppServerWorkItemDeviceReceipt, input: LingAppServerWorkItemDeviceReceiptParams, bindingRevision: number): boolean { - return receipt.bindingRevision === bindingRevision && receipt.ownerHostId === input.ownerHostId +function sameReceiptRequest(receipt: LingAppServerWorkItemDeviceReceipt, input: LingAppServerWorkItemDeviceReceiptParams): boolean { + return receipt.bindingRevision === input.expectedBindingRevision && receipt.ownerHostId === input.ownerHostId && receipt.ownerRouteGeneration === input.ownerRouteGeneration && receipt.workUnitId === input.workUnitId && receipt.attemptId === input.attemptId && receipt.status === input.status && receipt.resultRef === input.resultRef && receipt.reconciled === (input.reconciled === true); } -function projectBindingWithLatestReceipt(store: DeviceBridgeStore, binding: LingAppServerWorkItemDeviceBinding): LingAppServerWorkItemDeviceBinding { +function projectBindingWithLatestReceipt(store: Pick, + binding: LingAppServerWorkItemDeviceBinding): LingAppServerWorkItemDeviceBinding { return readWorkItemDeviceBindings(store, binding.workItemId).find(item => item.bindingId === binding.bindingId) ?? binding; } diff --git a/packages/core/test/work-item-device-bridge.test.ts b/packages/core/test/work-item-device-bridge.test.ts index 029e0ecc5..f36415982 100644 --- a/packages/core/test/work-item-device-bridge.test.ts +++ b/packages/core/test/work-item-device-bridge.test.ts @@ -2,6 +2,7 @@ import assert from "node:assert/strict"; import { mkdtemp, rm } from "node:fs/promises"; import { tmpdir } from "node:os"; import { join } from "node:path"; +import { DatabaseSync } from "node:sqlite"; import test from "node:test"; import { WorkItemDeviceBridgeError, @@ -40,26 +41,57 @@ test("device Work Item bindings and owner receipts survive restart without turni assert.equal(reopened[0]?.status, "unknown"); assert.equal(reopened[0]?.receipt?.reconciled, false); - const settled = recordWorkItemDeviceReceipt(store, { + const reconciliation = { workItemId: created.workItem.id, bindingId: bound.binding.bindingId, expectedBindingRevision: bound.binding.revision, expectedWorkItemRevision: created.workItem.revision, ownerHostId: "edge-host-1", ownerRouteGeneration: 4, workUnitId: "work-unit-1", attemptId: "attempt-1", status: "succeeded", resultRef: "journal:readback-1", reconciled: true, idempotencyKey: "receipt-reconciled", - }, "2026-11-25T00:00:02.000Z", cwd); + } as const; + assert.throws(() => recordWorkItemDeviceReceipt(store, { ...reconciliation, reconciled: false }, now, cwd), + { code: "device_receipt_conflict" }); + assert.throws(() => bindWorkItemDevice(store, { + workItemId: created.workItem.id, graphId: "graph-1", graphNodeId: "node-1", graphRevision: 4, + ownerHostId: "edge-host-2", ownerRouteGeneration: 5, workUnitId: "work-unit-2", + expectedWorkItemRevision: created.workItem.revision, idempotencyKey: "rebind-before-reconciliation", + }, now, cwd), { code: "device_binding_conflict" }); + const settled = recordWorkItemDeviceReceipt(store, reconciliation, "2026-11-25T00:00:02.000Z", cwd); assert.equal(settled.binding.status, "succeeded"); assert.equal(settled.binding.receipt?.reconciled, true); - assert.equal(recordWorkItemDeviceReceipt(store, { - workItemId: created.workItem.id, bindingId: bound.binding.bindingId, expectedBindingRevision: bound.binding.revision, - expectedWorkItemRevision: created.workItem.revision, ownerHostId: "edge-host-1", ownerRouteGeneration: 4, - workUnitId: "work-unit-1", attemptId: "attempt-1", status: "succeeded", resultRef: "journal:readback-1", reconciled: true, - idempotencyKey: "receipt-reconciled", - }, "2026-11-25T00:00:03.000Z", cwd).replayed, true); + assert.equal(recordWorkItemDeviceReceipt(store, reconciliation, "2026-11-25T00:00:03.000Z", cwd).replayed, true); } finally { store.close(); await rm(cwd, { recursive: true, force: true }); } }); +test("device receipt, binding projection and event roll back together and retry under the original key", async t => { + const cwd = await mkdtemp(join(tmpdir(), "ling-work-item-device-transaction-")); + const store = createSqliteRunStore(cwd); + const database = new DatabaseSync(store.paths.databasePath); + t.after(async () => { database.close(); store.close(); await rm(cwd, { recursive: true, force: true }); }); + const { workItem } = store.createWorkItem({ sourceType: "device_task_graph_node", sourceId: "graph/node", title: "Inspect device" }, now); + const input = { workItemId: workItem.id, graphId: "graph", graphNodeId: "node", graphRevision: 1, + ownerHostId: "owner", ownerRouteGeneration: 1, workUnitId: "unit-a", expectedWorkItemRevision: workItem.revision, idempotencyKey: "first-binding" }; + const { binding } = bindWorkItemDevice(store, input, now, cwd); + const receipt = { + workItemId: workItem.id, bindingId: binding.bindingId, expectedBindingRevision: binding.revision, + expectedWorkItemRevision: workItem.revision, ownerHostId: "owner", ownerRouteGeneration: 1, workUnitId: "unit-a", + status: "failed", resultRef: "owner:confirmed-failure", idempotencyKey: "first-result", + } as const; + database.exec(`CREATE TRIGGER fail_device_receipt_event BEFORE INSERT ON control_plane_events + WHEN NEW.action = 'work_item.device.updated' + BEGIN SELECT RAISE(ABORT, 'fixture_device_receipt_event_failed'); END`); + assert.throws(() => recordWorkItemDeviceReceipt(store, receipt, now, cwd), /fixture_device_receipt_event_failed/u); + assert.deepEqual(readWorkItemDeviceBindings(store, workItem.id), [binding]); + assert.equal(store.findAppServerStateByIdempotencyKey("work_item_device_receipt", receipt.idempotencyKey), undefined); + database.exec("DROP TRIGGER fail_device_receipt_event"); + const committed = recordWorkItemDeviceReceipt(store, receipt, now, cwd); + assert.equal(committed.binding.status, "failed"); + assert.equal(committed.event?.action, "work_item.device.updated"); + assert.deepEqual(recordWorkItemDeviceReceipt(store, receipt, now, cwd), { binding: committed.binding, replayed: true }); + assert.equal(bindWorkItemDevice(store, { ...input, graphRevision: 2, workUnitId: "unit-b", idempotencyKey: "replacement" }, now, cwd).binding.revision, 2); +}); + test("device receipt ownership and graph revisions are fenced", async () => { const cwd = await mkdtemp(join(tmpdir(), "ling-work-item-device-fence-")); const store = createSqliteRunStore(cwd); diff --git a/packages/daemon/src/features/automations/scheduler.ts b/packages/daemon/src/features/automations/scheduler.ts index b215aaab9..20d4b0074 100644 --- a/packages/daemon/src/features/automations/scheduler.ts +++ b/packages/daemon/src/features/automations/scheduler.ts @@ -18,7 +18,7 @@ import { import type { McpBroker } from "../../context.js"; import type { ActiveRunRegistry } from "../../runtime/active-runs.js"; import type { RunnerRegistry } from "../../runtime/runners.js"; -import type { RunStoreRegistry } from "../../runtime/store-registry.js"; +import { normalizeWorkspaceRoot, type RunStoreRegistry } from "../../runtime/store-registry.js"; import type { RuntimeSupervisor } from "../../runtime/supervisor.js"; import type { StartupStateRegistry } from "../../startup/state.js"; import { trimOversizedEvent, type ControlPlaneEventHub } from "../control-plane/events.js"; @@ -85,7 +85,8 @@ export class AutomationSchedulerRegistry { private readonly entriesByCwd = new Map(); private readonly inFlightTasks = new Set>(); private readonly coordinationTimers = new Map>(); - private readonly activeCoordination = new Set(); + private readonly coordinationDecisionTimers = new Map>(); + private readonly activeCoordinationDecisions = new Set(); private readonly stoppedWorkspaces = new Set(); private coordinationStopping = false; @@ -140,9 +141,11 @@ export class AutomationSchedulerRegistry { this.scheduleAutomation(entry, automation, new Date()); } this.refreshStateSummary(entry); - this.stoppedWorkspaces.delete(cwd); + const coordinationCwd = normalizeWorkspaceRoot(cwd); + this.stoppedWorkspaces.delete(coordinationCwd); this.coordinationStopping = false; - this.restoreCoordinationDeadlines(cwd); + this.restoreCoordinationDeadlines(coordinationCwd); + this.armCoordinationDecisions(coordinationCwd); this.startupState?.setPhase(cwd, "automation_scheduler", "ready"); return { scheduler: entry.state, duplicate: false }; } catch (error) { @@ -212,8 +215,12 @@ export class AutomationSchedulerRegistry { stop(cwd: string): AutomationSchedulerState | undefined { const entry = this.entriesByCwd.get(cwd); - this.stoppedWorkspaces.add(cwd); - this.clearCoordinationTimer(cwd); + const coordinationCwd = normalizeWorkspaceRoot(cwd); + this.stoppedWorkspaces.add(coordinationCwd); + this.clearCoordinationTimer(coordinationCwd); + const decisionTimer = this.coordinationDecisionTimers.get(coordinationCwd); + if (decisionTimer) clearTimeout(decisionTimer); + this.coordinationDecisionTimers.delete(coordinationCwd); if (!entry) { return undefined; } @@ -232,38 +239,36 @@ export class AutomationSchedulerRegistry { stopAll(): void { this.coordinationStopping = true; - for (const cwd of new Set([...this.entriesByCwd.keys(), ...this.coordinationTimers.keys()])) { + for (const cwd of new Set([...this.entriesByCwd.keys(), ...this.coordinationTimers.keys(), ...this.coordinationDecisionTimers.keys()])) { this.stop(cwd); } } publishCoordinationRound(cwd: string, event: ControlPlaneEvent): void { this.controlPlaneEvents.publish(trimOversizedEvent(event)); - this.restoreCoordinationDeadlines(cwd); + this.restoreCoordinationDeadlines(normalizeWorkspaceRoot(cwd)); } closeCoordinationRound(cwd: string, input: CloseScheduledCoordinationInput, now: string) { - const store = this.storeRegistry.getStore(cwd); + const canonical = normalizeWorkspaceRoot(cwd); + const store = this.storeRegistry.getStore(canonical); const deliberation = this.coordinationDeliberation; const closed = store.closeScheduledCoordination({ ...input, readDecisionBasis: deliberation - && ((...args) => deliberation.sealDecision(store, cwd, ...args)) }, now, cwd); + && ((...args) => deliberation.sealDecision(store, canonical, ...args)) }, now, canonical); if (closed?.briefEvent) this.controlPlaneEvents.publish(trimOversizedEvent(closed.briefEvent)); if (closed?.result.event) this.controlPlaneEvents.publish(trimOversizedEvent(closed.result.event)); - if (closed) this.restoreCoordinationDeadlines(cwd); + if (closed) this.armCoordinationDecisions(canonical); return closed; } - restoreCoordinationDeadlines(cwd: string, pendingDelayMs = 1): void { - if (this.coordinationStopping || this.stoppedWorkspaces.has(cwd) || this.activeCoordination.has(cwd)) return; + restoreCoordinationDeadlines(cwd: string): void { + cwd = normalizeWorkspaceRoot(cwd); + if (!this.coordinationIsActive(cwd)) return; this.clearCoordinationTimer(cwd); const store = this.storeRegistry.getStore(cwd); const open = store.listOpenScheduledCoordinationRounds(); const next = open.map(round => round.deadlineAt).sort()[0]; - const deadlineDelay = next ? Math.max(1, Date.parse(next) - Date.now()) : Infinity; - const pendingDelay = this.coordinationDeliberation && store.listPendingScheduledCoordinationDecisionRounds(1).length - ? pendingDelayMs : Infinity; - const delay = Math.min(deadlineDelay, pendingDelay); - if (Number.isFinite(delay)) this.armCoordinationDeadline(cwd, delay); + if (next) this.armCoordinationDeadline(cwd, Math.max(1, Date.parse(next) - Date.now())); } private clearCoordinationTimer(cwd: string): void { @@ -274,47 +279,67 @@ export class AutomationSchedulerRegistry { private armCoordinationDeadline(cwd: string, delayMs: number): void { const timer = setTimeout(() => { - if (this.coordinationStopping || this.coordinationTimers.get(cwd) !== timer) return; + if (!this.coordinationIsActive(cwd) || this.coordinationTimers.get(cwd) !== timer) return; this.coordinationTimers.delete(cwd); - const task = this.processCoordination(cwd); - this.inFlightTasks.add(task); - void task.then(() => this.inFlightTasks.delete(task), () => this.inFlightTasks.delete(task)); + try { + const store = this.storeRegistry.getStore(cwd); + const now = new Date().toISOString(); + for (const round of store.listOpenScheduledCoordinationRounds().filter(round => round.deadlineAt <= now)) { + this.closeCoordinationRound(cwd, { + workItemId: round.workItemId, recordId: round.recordId, actorId: LING_AGENT_ID, cause: "deadline", + }, now); + } + this.restoreCoordinationDeadlines(cwd); + } catch { + this.armCoordinationDeadline(cwd, 1000); + } }, Math.min(delayMs, MAX_TIMER_DELAY_MS)); timer.unref?.(); this.coordinationTimers.set(cwd, timer); } - private async processCoordination(cwd: string): Promise { - const isActive = () => !this.coordinationStopping && !this.stoppedWorkspaces.has(cwd) && !this.activeRuns.isShuttingDown(); - if (!isActive()) return; - this.activeCoordination.add(cwd); - let pendingDelay = 1; + private armCoordinationDecisions(cwd: string, delayMs = 1): void { + if (!this.coordinationDeliberation || !this.coordinationIsActive(cwd) + || this.coordinationDecisionTimers.has(cwd) || this.activeCoordinationDecisions.has(cwd)) return; + const timer = setTimeout(() => { + if (this.coordinationDecisionTimers.get(cwd) !== timer) return; + this.coordinationDecisionTimers.delete(cwd); + if (!this.coordinationIsActive(cwd)) return; + const task = this.processCoordinationDecisions(cwd, this.coordinationDeliberation!); + this.inFlightTasks.add(task); + void task.then(() => this.inFlightTasks.delete(task), () => this.inFlightTasks.delete(task)); + }, delayMs); + timer.unref?.(); + this.coordinationDecisionTimers.set(cwd, timer); + } + + private async processCoordinationDecisions(cwd: string, deliberation: ScheduledCoordinationDeliberation): Promise { + const isActive = () => this.coordinationIsActive(cwd); + this.activeCoordinationDecisions.add(cwd); + let retryDelay = 1000; try { const store = this.storeRegistry.getStore(cwd); - const now = new Date().toISOString(); - for (const round of store.listOpenScheduledCoordinationRounds().filter(round => round.deadlineAt <= now)) { - this.closeCoordinationRound(cwd, { - workItemId: round.workItemId, recordId: round.recordId, actorId: LING_AGENT_ID, cause: "deadline", - }, now); - } - if (this.coordinationDeliberation) { - for (const roundId of store.listPendingScheduledCoordinationDecisionRounds(8)) { - if (!isActive()) return; - if (this.storeRegistry.recoveryBlocksDispatch(cwd)) { - pendingDelay = 1000; - break; - } - const decision = store.getPendingScheduledCoordinationDecision(roundId); - if (decision) await this.coordinationDeliberation.evaluate(store, cwd, decision, isActive); - } + const pending = store.listPendingScheduledCoordinationDecisionRounds(8); + if (!pending.length) { + retryDelay = 0; + return; + } + for (const roundId of pending) { + if (!isActive() || this.storeRegistry.recoveryBlocksDispatch(cwd)) return; + const decision = store.getPendingScheduledCoordinationDecision(roundId); + if (decision) await deliberation.evaluate(store, cwd, decision, isActive); } + retryDelay = store.listPendingScheduledCoordinationDecisionRounds(1).length ? 1 : 0; } catch { - if (isActive()) this.armCoordinationDeadline(cwd, 1000); - return; + retryDelay = 1000; } finally { - this.activeCoordination.delete(cwd); + this.activeCoordinationDecisions.delete(cwd); + if (retryDelay) this.armCoordinationDecisions(cwd, retryDelay); } - if (isActive()) this.restoreCoordinationDeadlines(cwd, pendingDelay); + } + + private coordinationIsActive(cwd: string): boolean { + return !this.coordinationStopping && !this.stoppedWorkspaces.has(cwd) && !this.activeRuns.isShuttingDown(); } async waitForIdle(): Promise { @@ -353,8 +378,11 @@ export class AutomationSchedulerRegistry { nextRunAt = computeNextAutomationRunAt(automation, from); } catch (error) { if (error instanceof AutomationRecurrenceCompleteError) { - this.storeRegistry.getStore(entry.state.cwd).updateAutomationDefinition(automation.id, - { status: "disabled", nextRunAt: null, lastErrorMessage: null }, new Date().toISOString()); + const store = this.storeRegistry.getStore(entry.state.cwd); + // An admitted round keeps its owner through close, including the final scheduled occurrence. + const coordination = store.getAutomationCoordinationSchedule(automation.id); + store.updateAutomationDefinition(automation.id, + { ...(coordination?.enabled ? {} : { status: "disabled" as const }), nextRunAt: null, lastErrorMessage: null }, new Date().toISOString()); this.upsertItem(entry, { automationId: automation.id, title: automation.title }); return; } diff --git a/packages/daemon/src/runtime/store-registry.ts b/packages/daemon/src/runtime/store-registry.ts index eab71f6fa..a16248623 100644 --- a/packages/daemon/src/runtime/store-registry.ts +++ b/packages/daemon/src/runtime/store-registry.ts @@ -283,7 +283,7 @@ export class RunStoreRegistry { } } -function normalizeWorkspaceRoot(cwd: string): string { +export function normalizeWorkspaceRoot(cwd: string): string { const resolved = resolvePath(cwd); try { return realpathSync(resolved); diff --git a/packages/daemon/src/server/app-server-deliberation.ts b/packages/daemon/src/server/app-server-deliberation.ts index b6492ed22..d2283bcc6 100644 --- a/packages/daemon/src/server/app-server-deliberation.ts +++ b/packages/daemon/src/server/app-server-deliberation.ts @@ -17,8 +17,6 @@ import { } from "@ling-stack/contracts"; import { appendWorkItemCollaboration, - automationDefinitionDigestInput, - automationEventDigest, deliberationWorkflowStepDigest, readWorkItemCollaborationRecord, readWorkflowStageHandoff, @@ -204,6 +202,7 @@ export async function evaluateAppServerDeliberation( const committed = readReplay(); if (committed) return committed; } + const evaluatedAt = basis.candidate ? new Date().toISOString() : now; const settings = policyForSubject(store, cwd, basis.subject, policyContext.policies); const policy = settings?.effective; const policyRevision = settings?.effectiveRevision ?? defaultDeliberationPolicyRevision; @@ -221,7 +220,7 @@ export async function evaluateAppServerDeliberation( const retainedAdmission = isRecord(retainedRound?.payload) && isRecord(retainedRound.payload.admission) && retainedRound.payload.admission.policyRevision === automatic?.revision; const autoBlocker = automatic && !retainedRound - ? automaticDeliberationBlocker(store, item, { basis, decision, decisionId, policy: automatic, policyContext, now }) : undefined; + ? automaticDeliberationBlocker(store, item, { basis, decision, decisionId, policy: automatic, policyContext, now: evaluatedAt }) : undefined; const outcome: DeliberationDisposition = autoBlocker ? { outcome: "defer", reasonCode: autoBlocker } : automatic && (!retainedRound || retainedAdmission) ? { outcome: "start", reasonCode: "automatic_policy_match" } : policyDisposition; @@ -241,7 +240,7 @@ export async function evaluateAppServerDeliberation( ...(decision.decisionStepId ? { decisionStepId: decision.decisionStepId } : {}), ...(basis.candidate ? { candidateDigest: basis.candidate.digest } : {}), ...(retainedRound || outcome.outcome === "start" ? { existingRoundId: roundId } : {}), - evaluatedAt: now, expiresAt: new Date(Date.parse(now) + validityMs).toISOString(), + evaluatedAt, expiresAt: new Date(Date.parse(evaluatedAt) + validityMs).toISOString(), ...outcome, }; const predecessor = latestEvaluation(store, item.id, decisionId); @@ -265,28 +264,29 @@ export async function evaluateAppServerDeliberation( policyContext.assertRecoveryReady(); const { budget } = automatic; const admittedPolicy = { ...automatic, budget: { ...budget, maxTokens: Math.min(budget.maxTokens, policyContext.hostTokenBudget ?? 0) } }; - const deadlineAt = new Date(Date.parse(now) + budget.maxDurationMs).toISOString(); + const deadlineAt = new Date(Date.parse(evaluatedAt) + budget.maxDurationMs).toISOString(); const round = checkpointRound(frozen, workItemId, roundId, expectedWorkItemRevision + 1, roundId, deadlineAt, basis); const result = store.admitWorkItemDeliberationWorkflow({ workItemId, expectedWorkItemRevision, roundId, evaluation: evidence, scheduledDecision: scheduled, assertCurrent: () => { assertScheduledCurrent(expectedWorkItemRevision + 1); const current = requireWorkItem(store, workItemId); - const currentBasis = assertEvaluationCurrent(store, current, frozen, now, deadlineAt, { cwd, policies: policyContext.policies }); + const admissionTime = new Date().toISOString(); + const currentBasis = assertEvaluationCurrent(store, current, frozen, admissionTime, deadlineAt, { cwd, policies: policyContext.policies }); const blocker = automaticDeliberationBlocker(store, current, - { basis: currentBasis, decision, decisionId, policy: automatic, policyContext, now }); + { basis: currentBasis, decision, decisionId, policy: automatic, policyContext, now: admissionTime }); if (blocker) throw new HttpError(409, "resume_blocked", blocker); policyContext.assertRecoveryReady(); }, - compile: () => compileCheckpointWorkflow(store, round, frozen, basis, item.control.generation, now, + compile: () => compileCheckpointWorkflow(store, round, frozen, basis, item.control.generation, evaluatedAt, admittedPolicy.ballotMode === "when_unresolved" ? admittedPolicy.ballotMode : undefined, admittedPolicy), - }, now); + }, evaluatedAt); if (!result) throw stale("The Work Item changed before automatic deliberation admission."); return { cwd, evaluation, workItemRevision: result.workItemRevision, replayed: false, event: result.evaluationEvent, admissionEvent: result.event }; } - const result = scheduled ? store.appendScheduledCoordinationEvaluation(scheduled, evidence, now, cwd) - : appendWorkItemCollaboration(store, evidence, now, cwd); + const result = scheduled ? store.appendScheduledCoordinationEvaluation(scheduled, evidence, evaluatedAt, cwd) + : appendWorkItemCollaboration(store, evidence, evaluatedAt, cwd); if (!result) throw stale("The Work Item revision changed before the evaluation committed."); return { cwd, evaluation, workItemRevision: result.workItemRevision, replayed: false, event: result.event }; } @@ -322,10 +322,8 @@ function assertScheduledDecisionCurrent(store: RunStore, pending: PendingSchedul if (item.control.generation !== pending.controlGeneration) throw new ScheduledDecisionStale("coordination_inputs_changed"); if (item.revision !== expectedRevision) throw new ScheduledDecisionStale("work_item_revision_changed"); const round = store.readScheduledCoordinationRound(pending.roundId); - const schedule = round && store.getAutomationCoordinationSchedule(round.automationId); - const definition = round && store.getAutomationDefinition(round.automationId); - if (round?.closedRecordId !== pending.closedRecordId || !schedule?.enabled || schedule.revision !== pending.scheduleRevision - || !definition || automationEventDigest(automationDefinitionDigestInput(definition)) !== pending.automationDefinitionDigest) { + if (round?.closedRecordId !== pending.closedRecordId || round.policyRevision !== pending.scheduleRevision + || store.getCurrentScheduledCoordinationAutomationDigest(pending.roundId) !== pending.automationDefinitionDigest) { throw new ScheduledDecisionStale("coordination_inputs_changed"); } if (readWorkspaceDeliberationPolicy(store, cwd, pending.basis.channelId, context.policies).effectiveRevision !== pending.basis.policyRevision) { diff --git a/packages/daemon/src/server/rpc.ts b/packages/daemon/src/server/rpc.ts index 605fe9a1a..3fa164cfc 100644 --- a/packages/daemon/src/server/rpc.ts +++ b/packages/daemon/src/server/rpc.ts @@ -2754,8 +2754,10 @@ class RpcConnection { const record = this.workspaceParams(params); const workItemId = readStringField(record, "workItemId"); const store = this.context.storeRegistry.getStore(record.cwd); - if (!store.getWorkItem(workItemId)) throw rpcError(-32040, "workspace_binding_invalid", "The Work Item was not found."); - return { cwd: record.cwd, workItemId, bindings: readWorkItemDeviceBindings(store, workItemId) }; + return store.readSnapshot(() => { + if (!store.getWorkItem(workItemId)) throw rpcError(-32040, "workspace_binding_invalid", "The Work Item was not found."); + return { cwd: record.cwd, workItemId, bindings: readWorkItemDeviceBindings(store, workItemId) }; + }); } private bindWorkItemDevice(params: unknown): import("@ling-stack/contracts").LingAppServerWorkItemDeviceBindResult { diff --git a/packages/daemon/test/app-server-release-acceptance.test.ts b/packages/daemon/test/app-server-release-acceptance.test.ts index e31ce47fd..8f81a0195 100644 --- a/packages/daemon/test/app-server-release-acceptance.test.ts +++ b/packages/daemon/test/app-server-release-acceptance.test.ts @@ -4620,20 +4620,37 @@ test("a scoped automatic policy opens exactly one checkpoint round and reserves }); async function openScheduledDecisionCheckpoint(fixture: Awaited>, - client: Awaited>["connect"]>>, workItemId: string, durationMs = 60_000) { + client: Awaited>["connect"]>>, workItemId: string, + { durationMs = 60_000, finalScheduledSlotCwd }: { readonly durationMs?: number; readonly finalScheduledSlotCwd?: string } = {}) { const store = fixture.getStore(); const now = new Date().toISOString(); const home = store.createLingThread({ kind: "automation", title: "Coordination checkpoint", objective: "Review the current stage" }, now); + const due = new Date(Math.floor(Date.now() / 1000) * 1000 - 1000); + const firstAndLastSlot = [ + "FREQ=DAILY", `BYHOUR=${due.getUTCHours()}`, `BYMINUTE=${due.getUTCMinutes()}`, + `BYSECOND=${due.getUTCSeconds()}`, "COUNT=1", + ].join(";"); const automation = store.createAutomationDefinition({ threadId: home.id, title: "Coordination checkpoint", kind: "custom_prompt", - trigger: { type: "schedule", timezone: "UTC", missedRunPolicy: "skip", schedule: { cadence: "daily", timeOfDay: "00:00" } }, + trigger: { type: "schedule", timezone: "UTC", missedRunPolicy: finalScheduledSlotCwd ? "run_one" : "skip", + schedule: { cadence: "daily", timeOfDay: "00:00" } }, + ...(finalScheduledSlotCwd ? { rrule: firstAndLastSlot, nextRunAt: due.toISOString() } : {}), target: { scope: "workspace", workspaceId: DEFAULT_WORKSPACE_ID }, executionPolicy: {}, promptTemplate: { templateVersion: 1, promptMarkdown: "Review the stage evidence.", contextSelectors: [] }, outputPolicy: { artifactFormat: "markdown", destinations: [{ type: "automation_thread" }] }, - }, now); + }, finalScheduledSlotCwd ? new Date(due.getTime() - 5000).toISOString() : now); await client.call("workItem/coordination/schedule/set", { automationId: automation.id, workItemId, expectedRevision: 0, enabled: true, kind: "checkpoint", durationMs, }); + if (finalScheduledSlotCwd) { + await controlCoordinationScheduler(fixture, "start", finalScheduledSlotCwd); + const roundId = await waitFor(() => { + const run = store.listAutomationRuns({ automationId: automation.id })[0]; + return store.getAutomationDefinition(automation.id)?.nextRunAt === undefined ? run?.coordinationRoundId : undefined; + }); + assert.equal(store.getAutomationDefinition(automation.id)?.status, "enabled"); + return { automationId: automation.id, roundId, homeThreadId: home.id }; + } const { daemonUrl, authToken, cwd } = fixture.transportOptions(); const response = await fetch(`${daemonUrl}/automations/${automation.id}/run?cwd=${encodeURIComponent(cwd)}`, { method: "POST", body: JSON.stringify({ idempotencyKey: `${automation.id}:checkpoint` }), @@ -4642,11 +4659,11 @@ async function openScheduledDecisionCheckpoint(fixture: Awaited>, action: "start" | "stop") { - const { daemonUrl, cwd, authToken } = fixture.transportOptions(); +async function controlCoordinationScheduler(fixture: Awaited>, action: "start" | "stop", cwd = fixture.cwd) { + const { daemonUrl, authToken } = fixture.transportOptions(); const response = await fetch(`${daemonUrl}/automations/scheduler/${action}?cwd=${encodeURIComponent(cwd)}`, { method: "POST", headers: { Authorization: `Bearer ${authToken}` }, }); @@ -4764,8 +4781,8 @@ test("scheduled checkpoint decisions reject late changes and stale closes while const planRevision = workItem.planRevision!; const { optionRefs, evidenceRef } = await recordDeliberationEvidence(client.call, item.id, planRevision); const revision = () => fixture.getStore().getWorkItem(item.id)!.revision; - const open = async (durationMs?: number) => { - const checkpoint = await openScheduledDecisionCheckpoint(fixture, client, item.id, durationMs); + const open = async (options?: Parameters[3]) => { + const checkpoint = await openScheduledDecisionCheckpoint(fixture, client, item.id, options); const decision = { ...target, decisionKey: "compatibility", subject: { kind: "workflow_stage", workflowStepId: waiting.id, planRevision }, decisionKind: "implementation_tradeoff", materiality: "high", question: "Which option preserves compatibility?", @@ -4787,13 +4804,23 @@ test("scheduled checkpoint decisions reject late changes and stale closes while }; }; - const scheduled = await open(1200); - await controlCoordinationScheduler(fixture, "start"); + const { daemonUrl, authToken, cwd } = fixture.transportOptions(); + const policyUrl = `${daemonUrl}/workspace-settings/deliberation?${new URLSearchParams({ cwd, channelId: channel.id })}`; + const setPolicy = (expectedRevision: number, mode: "suggest" | "manual") => fetch(policyUrl, { + method: "PATCH", headers: { Authorization: `Bearer ${authToken}`, "Content-Type": "application/json" }, + body: JSON.stringify({ expectedRevision, policy: { mode } }), + }); + const initial = await setPolicy(0, "suggest"); + assert.equal(initial.status, 200, await initial.clone().text()); + await controlCoordinationScheduler(fixture, "stop"); + const alias = join(fixture.root, "workspace-alias"); + await symlink(cwd, alias, "junction"); + const scheduled = await open({ durationMs: 2000, finalScheduledSlotCwd: alias }); const evaluated = await waitFor(async () => (await scheduled.read()).receipts.find(receipt => receipt.status === "evaluated")); assert.equal(evaluated.status, "evaluated"); assert.equal(((await scheduled.close()).record.payload as { closeReason: string }).closeReason, "deadline"); + await controlCoordinationScheduler(fixture, "stop", alias); - await controlCoordinationScheduler(fixture, "stop"); const late = await open(); await late.close(); const additional = await client.call<{ entry: { id: string } }>("workItem/evidence/append", { @@ -4809,11 +4836,7 @@ test("scheduled checkpoint decisions reject late changes and stale closes while await controlCoordinationScheduler(fixture, "stop"); const policy = await open(); await policy.close(); - const { daemonUrl, authToken, cwd } = fixture.transportOptions(); - const response = await fetch(`${daemonUrl}/workspace-settings/deliberation?${new URLSearchParams({ cwd, channelId: channel.id })}`, { - method: "PATCH", headers: { Authorization: `Bearer ${authToken}`, "Content-Type": "application/json" }, - body: JSON.stringify({ expectedRevision: 0, policy: { mode: "manual" } }), - }); + const response = await setPolicy(1, "manual"); assert.equal(response.status, 200, await response.clone().text()); await controlCoordinationScheduler(fixture, "start"); assert.equal((await waitFor(async () => (await policy.read()).receipts.find(receipt => receipt.status === "stale"))).reasonCode, @@ -4827,6 +4850,14 @@ test("scheduled checkpoint decisions reject late changes and stale closes while assert.equal((await stale.read()).receipts[0]?.status, "stale"); await assert.rejects(stale.evaluate(), { code: "stale_revision" }); + await controlCoordinationScheduler(fixture, "stop"); + const archived = await open(); + await archived.close(); + await client.call("thread/archive", { threadId: archived.homeThreadId }); + await controlCoordinationScheduler(fixture, "start"); + assert.equal((await waitFor(async () => (await archived.read()).receipts.find(receipt => receipt.status === "stale"))).reasonCode, + "coordination_inputs_changed"); + const control = await open(); await client.call("workItem/pause", { ...target, expectedWorkItemRevision: revision(), expectedControlGeneration: 0, actorId: "local-user", idempotencyKey: "pause-before-checkpoint-close" }); From 4ec93bd633cc980c9c7e82fa07384aebbf957bba Mon Sep 17 00:00:00 2001 From: tianxiaochannel-oss88 Date: Thu, 26 Nov 2026 16:38:52 +0800 Subject: [PATCH 123/147] Let the channel coordinator submit scheduled decisions --- ...g-agent-operating-model-detailed-design.md | 2 + .../ling-app-server-implementation-plan.md | 6 +- packages/contracts/src/app-server-schema.ts | 6 +- packages/contracts/src/app-server.ts | 7 + packages/core/src/automation-types.ts | 4 +- packages/core/src/run-types.ts | 3 +- .../sqlite/scheduled-coordination-store.ts | 41 +++- .../sqlite/work-item-stage-tool-settlement.ts | 41 +++- .../core/src/work-item-stage-coordination.ts | 20 ++ .../channel-turn-dispatch-executor.ts | 14 +- .../daemon/src/features/runs/orchestrator.ts | 24 ++- .../features/runs/prepared-runner-input.ts | 6 +- packages/daemon/src/features/runs/schemas.ts | 2 + .../work-items/checkpoint-channel-evidence.ts | 17 ++ .../work-items/checkpoint-coordinator-tool.ts | 136 ++++++++++++ packages/daemon/src/index.ts | 4 +- packages/daemon/src/runtime/supervisor.ts | 4 + .../src/server/app-server-deliberation.ts | 46 +++-- .../app-server-release-acceptance.test.ts | 194 +++++++++++++++++- .../src/extensions/work-item-coordination.ts | 36 +++- packages/runner-pi/src/types.ts | 1 + 21 files changed, 561 insertions(+), 53 deletions(-) create mode 100644 packages/daemon/src/features/work-items/checkpoint-channel-evidence.ts create mode 100644 packages/daemon/src/features/work-items/checkpoint-coordinator-tool.ts diff --git a/docs/design/ling-agent-operating-model-detailed-design.md b/docs/design/ling-agent-operating-model-detailed-design.md index cd5798494..922fcfe09 100644 --- a/docs/design/ling-agent-operating-model-detailed-design.md +++ b/docs/design/ling-agent-operating-model-detailed-design.md @@ -699,6 +699,8 @@ The implementation stores the schedule binding, occurrence receipt, open round a An authenticated workspace operator can register a concrete decision on an open scheduled checkpoint through `workItem/coordination/decision/submit`. The request identifies the accepted stage, decision, options, evidence and participants. Registration checks the Work Item revision and binds the channel's effective deliberation policy. A repeat with the same inputs returns its receipt. Coordinator clients can read their pending and terminal receipts through `workItem/coordination/decisions/read`. +In a locally dispatched channel reply, Ling Agent can call `work_item_coordination` to read open checkpoints, stage status and participant roles. The dispatcher binds the tool to the accepted Plans in that conversation. The tool reads evidence whose body matches a current channel-visible message in the same conversation at its referenced revision. `submit_decision` rechecks source visibility, the current Plan, Work Item revision and Run Attempt in the registration transaction. The decision and tool receipt commit together. The authorized decision receipt identifies the Agent and its source Run and Attempt. The configured decision owner resolves the deliberation. [Dispatcher](../../packages/daemon/src/features/channels/channel-turn-dispatch-executor.ts) · [Checkpoint tool](../../packages/daemon/src/features/work-items/checkpoint-coordinator-tool.ts) + Manual and deadline closes seal the submitted decisions with the current accepted Plan and stage, the schedule and policy versions, the Work Item revision after close, and the evidence sequence before the brief. The scheduler consumes those decisions after close or restart through the ordinary deliberation evaluator. Evaluation and receipt consumption commit together. If an evaluated decision opens a Workflow, its admission commits in the same transaction. Each decision uses the revision left by the preceding decision in that batch. A concurrent Work Item edit, changed Plan, policy or close basis makes the queued decision stale. If recovery is held, the scheduler waits within the checkpoint's evaluation window. An operator explicitly evaluating a valid closed checkpoint can select relevant evidence that arrived later. [Scheduled store](../../packages/core/src/storage/sqlite/scheduled-coordination-store.ts) · [App Server evaluator](../../packages/daemon/src/server/app-server-deliberation.ts) ## 6. External Agent Federation Protocol diff --git a/docs/design/ling-app-server-implementation-plan.md b/docs/design/ling-app-server-implementation-plan.md index 5a897b9f0..d149bf910 100644 --- a/docs/design/ling-app-server-implementation-plan.md +++ b/docs/design/ling-app-server-implementation-plan.md @@ -90,8 +90,12 @@ Windows 源码验收使用独立的 GitHub Actions 作业,启动真实 CLI std 测试仓库未配置独立检查 App,Ling 主动入队返回 `github_queue_guard_unavailable`。第二个合成 PR 的两个 head 检查通过后,使用固定 head 调用直接合并,GitHub 返回 405 并要求经过合并队列。GitHub 原生入队后,该 PR 使用推进后的 base 生成合并组。运行器启动延迟导致队列以 `checks_timed_out` 移除该 PR,合并组检查随后通过。Daemon 重启后可读取历史队列回执,当前对账继续保留通过的 head 检查,将合并组证据标为 `merge_group_membership_unavailable`,并拒绝完成 Goal。 [直接合并校验 PR](https://github.com/ling-stack-org/ling-delivery-acceptance-20261123/pull/2) · [迟到的队列检查](https://github.com/ling-stack-org/ling-delivery-acceptance-20261123/actions/runs/45095947983) +### 联合协作验收 + 定时检查点支持在开放期间登记当前接受阶段的决定。关轮同时封存证据水位、工作项版本和策略。实际 Daemon 回归覆盖登记权限、关轮写入失败回滚、手动和到期关闭、恢复闸门、重启消费、同一决定只开一轮、Plan/控制/策略变更以及显式评估中采用迟到证据。 [定时协调准入](ling-agent-operating-model-detailed-design.md#511-scheduled-coordination-admission) +本机频道的 Ling Agent 可以读取当前计划的阶段、开放检查点及与同一频道会话的当前消息一致的证据,并通过 Pi 工具登记决定。真实 Daemon 回归覆盖移动端只读回复的工具范围、其他工作项、过期 Plan、仅工作项可见的证据、脱敏、Run/Attempt 回执和重启后关轮评估。评估保留 Agent 来源,后续审议仍由已配置的裁决者负责。 [协调工具](../../packages/daemon/src/features/work-items/checkpoint-coordinator-tool.ts) · [频道联调](../../packages/daemon/test/app-server-release-acceptance.test.ts) + O9 联合回归在同一 Work Item 确认双端订阅、阶段进度、暂停与恢复、Verify、Review、GitHub Delivery、审议提交和恢复日志的证据归属与重启回放。草案计划可在接受前运行有明确角色的只读塑形。工作区设置可从 Host 许可范围内管理审议策略。 [联合验收](../../packages/daemon/test/app-server-release-acceptance.test.ts) ## 尚待完成的发布条件 @@ -101,7 +105,7 @@ O9 联合回归在同一 Work Item 确认双端订阅、阶段进度、暂停与 | A1、B1、C1、C2 | 全方法的 Schema 校验和更多宿主兼容组合。workspace、Thread、Work Item 的 grant 和 WSS 已接入。专用 TLS 监听器实测分离控制和答复权限,支持用户答复原回执与撤权。审批和答复仍需在其他宿主和实际远程部署验收。目标游标已绑定存储代次、授权代次和目标,本机兼容用例覆盖上一版源码与候选组合。 | | D1、D2、E1、E2 | 开工与 Pi 运行中的项目规则加载、显式 Claude 规则、两个开发 Skill、工作区 Verify、独立 verifier basis、托管工作树管理、候选改动分页、Turn 改动恢复、选中 hunk 转移和工作台浏览器验证报告已接入。各发行平台验证仍待完成。 | | F1、F2 | 普通会话 Handoff 的候选封存、Goal 预算承接与接手已接入。CLI `app-server codex-host --thread --state --view` 在回环地址提供双端会话视图。本机 Codex 0.171.0-alpha.13、实际 Ling Daemon 与受控 Provider 联调验证两端状态、Ling 在途排队、活跃 Codex Turn 指导、浏览器重连补齐、回执重放和审批提醒。故障回归覆盖原状态库升级、未写出的请求在重连后补投一次,以及已发出但缺少有效回执时保留待确认结果。Pi Host 预算路径的逐请求预留已使用受控 Provider 验证,仍需真实 Provider、隔离工作树和其他 Runner 的对应验收。 | -| O1、O3–O9 | GitHub 签名 webhook、轮询和显式接单归并至同一工作项。自动接单策略处理免打扰、并发、启动额度和派发前状态重查。现有 Task、AutomationRun 和同频道用户输入可显式关联工作项。已接受的计划能自动开启声明的阶段审议,并可等待当前 Workflow 结果包的交接回执。受影响阶段可单独暂停,后继阶段可显式引用已收敛或仍在途的独立成果,待执行阶段可接收定向消息和有原 Run 证据的 Agent 答复。工作项暂停期间拒绝新增定向消息。阶段客户端和支持协作工具的 Pi 阶段按 Run/Attempt 收发,Pi 在下一次模型输入接收消息和问答。Workflow 执行使用工作项重试上限,并可依据跨 Run 的结构化故障记录暂停单项阶段。可信 Verify 和已接受 Plan 指定的 Review 均可提供停滞恢复证据。决策检查点支持计划前和在途阶段的建议、接受与手工裁决。Device Work Item Bridge 的持久映射、receipt 账本和 App Server 入口已实现。已接受阶段可显式或按 Host 策略开启独立只读审议、按质疑结果投票,并将裁决应用到声明的候选依赖。定时检查点的登记和关轮自动评估已接入 App Server、SDK 和 MCP。原生 Ling Agent 对现场证据的主动收集与登记,以及跨主机 Device Fabric owner host 对接仍需补齐。 | +| O1、O3–O9 | GitHub 签名 webhook、轮询和显式接单归并至同一工作项。自动接单策略处理免打扰、并发、启动额度和派发前状态重查。现有 Task、AutomationRun 和同频道用户输入可显式关联工作项。已接受的计划能自动开启声明的阶段审议,并可等待当前 Workflow 结果包的交接回执。受影响阶段可单独暂停,后继阶段可显式引用已收敛或仍在途的独立成果,待执行阶段可接收定向消息和有原 Run 证据的 Agent 答复。工作项暂停期间拒绝新增定向消息。阶段客户端和支持协作工具的 Pi 阶段按 Run/Attempt 收发,Pi 在下一次模型输入接收消息和问答。Workflow 执行使用工作项重试上限,并可依据跨 Run 的结构化故障记录暂停单项阶段。可信 Verify 和已接受 Plan 指定的 Review 均可提供停滞恢复证据。决策检查点支持计划前和在途阶段的建议、接受与手工裁决。Device Work Item Bridge 的持久映射、receipt 账本和 App Server 入口已实现。已接受阶段可显式或按 Host 策略开启独立只读审议、按质疑结果投票,并将裁决应用到声明的候选依赖。定时检查点的登记和关轮自动评估已接入 App Server、SDK、MCP 和频道 Ling Agent。原生 Agent 使用独立 Verify、Review 与阶段产物时仍需 Work Item 授权的执行路径。跨主机 Device Fabric owner host 对接仍待完成。 | | G | 独立恢复日志已验证 SQLite 快照恢复、撤权、旧游标失效和 GitHub 对账后派发。上一版源码通过同一套本地兼容验收。签名安装产物、实际远程 WSS、带独立检查 App 的 Ling 主动入队及三个真实 Provider 自研试点仍需对应环境的证据。macOS 打包预检需要当前打包输入的 Office 审查、对应 Electron/OS 的受限运行时审查和 gstack 平台资源。T01 离线预检可进入评审,真实试点仍需按 Framework Assurance 准入。 | ## 目标与开工顺序 diff --git a/packages/contracts/src/app-server-schema.ts b/packages/contracts/src/app-server-schema.ts index cf391091e..70a3039c5 100644 --- a/packages/contracts/src/app-server-schema.ts +++ b/packages/contracts/src/app-server-schema.ts @@ -76,8 +76,10 @@ const decisionInputRequired = { question: stringSchema, participantIds: stringArraySchema, optionRefs: stringArraySchema, evidenceRefs: stringArraySchema, }; const decisionInput = { ...decisionInputRequired, candidateDigest: stringSchema, decisionStepId: stringSchema, unresolved: { enum: ["intent", "fact", "handoff"] } }; -const coordinationDecisionIdentity = { id: stringSchema, decisionKey: stringSchema, roundId: stringSchema }; -const coordinationDecisionKeys = [...Object.keys(coordinationDecisionIdentity), "status"]; +const coordinationDecisionSource = objectWith({ actorId: { enum: ["ling_agent"] }, runId: stringSchema, attemptId: stringSchema }, + ["actorId", "runId", "attemptId"]); +const coordinationDecisionIdentity = { id: stringSchema, decisionKey: stringSchema, roundId: stringSchema, source: coordinationDecisionSource }; +const coordinationDecisionKeys = ["id", "decisionKey", "roundId", "status"]; const coordinationDecisionReceipt = { oneOf: [ objectWith({ ...coordinationDecisionIdentity, status: { enum: ["registered", "pending"] } }, coordinationDecisionKeys), objectWith({ ...coordinationDecisionIdentity, status: { enum: ["evaluated"] }, evaluationId: stringSchema }, [...coordinationDecisionKeys, "evaluationId"]), diff --git a/packages/contracts/src/app-server.ts b/packages/contracts/src/app-server.ts index 869c04268..cfea38039 100644 --- a/packages/contracts/src/app-server.ts +++ b/packages/contracts/src/app-server.ts @@ -1342,10 +1342,17 @@ export interface LingAppServerCoordinationDecisionParams extends Omit; } +export interface LingAppServerCoordinationDecisionSource { + readonly actorId: "ling_agent"; + readonly runId: string; + readonly attemptId: string; +} + export type LingAppServerCoordinationDecisionReceipt = { readonly id: string; readonly decisionKey: string; readonly roundId: string; + readonly source?: LingAppServerCoordinationDecisionSource; } & ( | { readonly status: "registered" | "pending" } | { readonly status: "evaluated"; readonly evaluationId: string } diff --git a/packages/core/src/automation-types.ts b/packages/core/src/automation-types.ts index e541f605a..d1fc3c74a 100644 --- a/packages/core/src/automation-types.ts +++ b/packages/core/src/automation-types.ts @@ -4,6 +4,7 @@ import type { SessionPermissionMode } from "./session-permissions.js"; import type { SkillApprovalProfile } from "./skill-types.js"; import type { LingAppServerCoordinationDecisionParams, + LingAppServerCoordinationDecisionSource, LingAppServerScheduledCoordinationRound, } from "@ling-stack/contracts"; import type { ControlPlaneEvent, LingThread } from "./run-types.js"; @@ -47,7 +48,7 @@ export interface CloseScheduledCoordinationInput { readonly expectedWorkItemRevision?: number; readonly expectedCollaborationRevision?: number; readonly readDecisionBasis?: (request: ScheduledCoordinationDecisionRequest, channelId: string, - throughEvidenceSequence: number) => ScheduledCoordinationDecisionBasis | { readonly reasonCode: string }; + throughEvidenceSequence: number, source?: LingAppServerCoordinationDecisionSource) => ScheduledCoordinationDecisionBasis | { readonly reasonCode: string }; } export interface ScheduledCoordinationClose { @@ -73,6 +74,7 @@ export interface ScheduledCoordinationDecisionConsumption { export interface PendingScheduledCoordinationDecision extends ScheduledCoordinationDecisionConsumption { readonly request: ScheduledCoordinationDecisionRequest; + readonly source?: LingAppServerCoordinationDecisionSource; readonly basis: ScheduledCoordinationDecisionBasis; readonly closedRecordId: string; readonly throughEvidenceSequence: number; diff --git a/packages/core/src/run-types.ts b/packages/core/src/run-types.ts index bf25572e9..9333bb0c6 100644 --- a/packages/core/src/run-types.ts +++ b/packages/core/src/run-types.ts @@ -2819,7 +2819,8 @@ export interface RunStore extends AutomationEventStore, CodeAssessmentStore, Cod listOpenScheduledCoordinationRounds(): readonly import("@ling-stack/contracts").LingAppServerScheduledCoordinationRound[]; closeScheduledCoordination(input: import("./automation-types.js").CloseScheduledCoordinationInput, now: string, cwd?: string): import("./automation-types.js").ScheduledCoordinationClose | undefined; registerScheduledCoordinationDecision(request: import("./automation-types.js").ScheduledCoordinationDecisionRequest, - expectedWorkItemRevision: number, now: string, readPolicy: () => import("./automation-types.js").ScheduledCoordinationDecisionPolicy): + expectedWorkItemRevision: number, now: string, readPolicy: () => import("./automation-types.js").ScheduledCoordinationDecisionPolicy, + coordinator?: import("./work-item-stage-coordination.js").WorkItemCheckpointCoordinatorSource & { readonly assertCurrent: () => void }): Omit; readScheduledCoordinationDecisions(workItemId: string, roundId: string): readonly import("@ling-stack/contracts").LingAppServerCoordinationDecisionReceipt[]; listPendingScheduledCoordinationDecisionRounds(limit: number): readonly string[]; diff --git a/packages/core/src/storage/sqlite/scheduled-coordination-store.ts b/packages/core/src/storage/sqlite/scheduled-coordination-store.ts index 639691d2e..610cb64d0 100644 --- a/packages/core/src/storage/sqlite/scheduled-coordination-store.ts +++ b/packages/core/src/storage/sqlite/scheduled-coordination-store.ts @@ -14,6 +14,8 @@ import type { import { automationDefinitionDigestInput } from "../../automation-event-types.js"; import { automationEventDigest } from "../../automation-event-source.js"; import type { RunStore } from "../../run-types.js"; +import { stageCoordinationToolReceiptId, type WorkItemCheckpointCoordinatorSource, + type WorkItemCheckpointToolReceipt } from "../../work-item-stage-coordination.js"; import { appendWorkItemCollaboration, readWorkItemCollaborationRecord, type AppendWorkItemCollaborationInput, type AppendWorkItemCollaborationResult } from "../../work-item-collaboration.js"; import type { SqliteAppServerStateStore } from "./app-server-state-store.js"; @@ -28,6 +30,7 @@ interface DecisionSubmission { readonly id: string; readonly request: ScheduledCoordinationDecisionRequest; readonly policy: ScheduledCoordinationDecisionPolicy; + readonly source?: LingAppServerCoordinationDecisionReceipt["source"]; readonly basis?: ScheduledCoordinationDecisionBasis; readonly outcome?: { readonly evaluationId: string } | { readonly reasonCode: string }; } @@ -185,7 +188,7 @@ export class SqliteScheduledCoordinationStore { if (!inputsCurrent || !readBasis) return { ...submission, outcome: { reasonCode: "coordination_inputs_changed" } }; if (workItem.planRevision !== submission.request.subject.planRevision) return { ...submission, outcome: { reasonCode: "accepted_plan_changed" } }; const basis = readSqliteWithinTransaction(this.context.database, - () => readBasis(submission.request, submission.policy.channelId, currentSequence)); + () => readBasis(submission.request, submission.policy.channelId, currentSequence, submission.source)); if ("reasonCode" in basis) return { ...submission, outcome: basis }; if (basis.policyRevision !== submission.policy.policyRevision || basis.channelId !== submission.policy.channelId) { return { ...submission, outcome: { reasonCode: "deliberation_policy_changed" } }; @@ -204,15 +207,22 @@ export class SqliteScheduledCoordinationStore { } registerDecision(request: ScheduledCoordinationDecisionRequest, expectedWorkItemRevision: number, now: string, - readPolicy: () => ScheduledCoordinationDecisionPolicy) { + readPolicy: () => ScheduledCoordinationDecisionPolicy, coordinator?: WorkItemCheckpointCoordinatorSource & { readonly assertCurrent: () => void }) { return this.transaction(() => { const round = this.readRound(request.roundId); if (round?.workItemId !== request.workItemId || round.kind !== "checkpoint") throw new Error("coordination_subject_unavailable"); + if (coordinator) readSqliteWithinTransaction(this.context.database, coordinator.assertCurrent); const stored = this.decisionBatch(round.recordId); const batch = stored?.batch ?? { submissions: [] }; + const source: DecisionSubmission["source"] = coordinator && { + actorId: LING_AGENT_ID, runId: coordinator.source.runId, attemptId: coordinator.source.attemptId, + }; const previous = batch.submissions.find(submission => submission.request.idempotencyKey === request.idempotencyKey); if (previous) { - if (!isDeepStrictEqual(previous.request, request)) throw new Error("coordination_decision_idempotency_conflict"); + if (!isDeepStrictEqual(previous.request, request) || !isDeepStrictEqual(previous.source, source)) { + throw new Error("coordination_decision_idempotency_conflict"); + } + if (coordinator) this.recordCoordinatorRegistration(coordinator, request, previous.id, now); return { receipt: this.projectDecision(batch, previous), replayed: true }; } const item = this.workspace.getWorkItem(request.workItemId); @@ -223,12 +233,29 @@ export class SqliteScheduledCoordinationStore { if (batch.submissions.length >= maxDecisionsPerRound) throw new Error("coordination_decision_limit"); const policy = readSqliteWithinTransaction(this.context.database, readPolicy); const id = `coordination_decision_${createHash("sha256").update(JSON.stringify([round.recordId, request.idempotencyKey])).digest("hex")}`; - const submission = { id, request, policy }; + const submission = { id, request, policy, ...(source ? { source } : {}) }; this.writeDecisions(round.recordId, stored?.revision ?? 0, { ...batch, submissions: [...batch.submissions, submission] }, now); + if (coordinator) this.recordCoordinatorRegistration(coordinator, request, id, now); return { receipt: this.projectDecision(batch, submission), replayed: false }; }); } + private recordCoordinatorRegistration(coordinator: WorkItemCheckpointCoordinatorSource, + request: ScheduledCoordinationDecisionRequest, receiptId: string, now: string): void { + const { source, toolCallId, threadId, requestDigest } = coordinator; + const recordId = stageCoordinationToolReceiptId(source.runId, source.attemptId, toolCallId); + const payload: WorkItemCheckpointToolReceipt = { source, toolCallId, threadId, requestDigest, scope: "coordinator", + outcome: { status: "registered", roundId: request.roundId, workItemId: request.workItemId, receiptId } }; + const prior = this.state.get("work_item_stage_tool_receipt", recordId); + if (prior) { + if (!isDeepStrictEqual(prior.payload, payload)) throw new Error("coordination_decision_idempotency_conflict"); + return; + } + if (!this.state.putWithinTransaction({ kind: "work_item_stage_tool_receipt", recordId, expectedRevision: 0, payload }, now)) { + throw new Error("coordination_tool_receipt_changed"); + } + } + readDecisions(workItemId: string, roundId: string): readonly LingAppServerCoordinationDecisionReceipt[] { if (this.readRound(roundId)?.workItemId !== workItemId) throw new Error("coordination_subject_unavailable"); const batch = this.decisionBatch(roundId)?.batch; @@ -251,7 +278,7 @@ export class SqliteScheduledCoordinationStore { const submission = batch.submissions.find(entry => !entry.outcome); if (!submission?.basis) return undefined; return { ...batch.seal, roundId, receiptId: submission.id, expectedWorkItemRevision: batch.nextWorkItemRevision, - request: submission.request, basis: submission.basis }; + request: submission.request, basis: submission.basis, source: submission.source }; } settleDecision(input: ScheduledCoordinationDecisionConsumption, outcome: NonNullable, now: string): boolean { @@ -311,8 +338,8 @@ export class SqliteScheduledCoordinationStore { } } - private projectDecision(batch: DecisionBatch, { id, request, outcome }: DecisionSubmission): LingAppServerCoordinationDecisionReceipt { - const identity = { id, decisionKey: request.decisionKey, roundId: request.roundId }; + private projectDecision(batch: DecisionBatch, { id, request, source, outcome }: DecisionSubmission): LingAppServerCoordinationDecisionReceipt { + const identity = { id, decisionKey: request.decisionKey, roundId: request.roundId, ...(source ? { source } : {}) }; if (!outcome) return { ...identity, status: batch.seal ? "pending" : "registered" }; return "evaluationId" in outcome ? { ...identity, status: "evaluated", ...outcome } : { ...identity, status: "stale", ...outcome }; } diff --git a/packages/core/src/storage/sqlite/work-item-stage-tool-settlement.ts b/packages/core/src/storage/sqlite/work-item-stage-tool-settlement.ts index 7a50aeaab..0b771a2ef 100644 --- a/packages/core/src/storage/sqlite/work-item-stage-tool-settlement.ts +++ b/packages/core/src/storage/sqlite/work-item-stage-tool-settlement.ts @@ -3,19 +3,19 @@ import { isDeepStrictEqual } from "node:util"; import { digestHarnessToolValue } from "../../harness/tool-executions.js"; import type { HostOperationSource } from "../../host-operation-journal-types.js"; import { - stageCoordinationRequestKey, stageCoordinationToolKey, stageCoordinationToolReceiptId, - type WorkItemStageToolReceipt, + checkpointCoordinationRequestKey, stageCoordinationRequestKey, stageCoordinationToolKey, stageCoordinationToolReceiptId, + type WorkItemCheckpointToolReceipt, type WorkItemCoordinationToolReceipt, } from "../../work-item-stage-coordination.js"; -import { DEFAULT_WORKSPACE_ID } from "../../workspace-types.js"; +import { DEFAULT_WORKSPACE_ID, LING_AGENT_ID } from "../../workspace-types.js"; import { assertHistoricalAttemptSource, type HostAttemptReadScope } from "./host-attempt-read-scope.js"; const kind = "work_item_stage_tool_receipt"; export function readWorkItemStageToolSettlements(database: DatabaseSync, source: HostOperationSource, at: string, - scope: HostAttemptReadScope): readonly WorkItemStageToolReceipt[] { + scope: HostAttemptReadScope): readonly WorkItemCoordinationToolReceipt[] { if (!database.prepare("SELECT 1 FROM sqlite_schema WHERE type='table' AND name='app_server_state'").get()) return []; const prefix = source.runId + ":"; - const receipts: WorkItemStageToolReceipt[] = []; + const receipts: WorkItemCoordinationToolReceipt[] = []; for (const row of database.prepare(`SELECT record_id,revision,payload_json,created_at FROM app_server_state WHERE workspace_id=? AND kind=? AND record_id>=? AND record_id, runId: string, at: string): WorkItemStageToolReceipt { +function readReceipt(database: DatabaseSync, row: Record, runId: string, at: string): WorkItemCoordinationToolReceipt { const reject = (): never => { throw new Error("work_item_stage_tool_receipt_unverified"); }; - const receipt = JSON.parse(String(row.payload_json)) as WorkItemStageToolReceipt | null; + const receipt = JSON.parse(String(row.payload_json)) as WorkItemCoordinationToolReceipt | null; if (!receipt || !receipt.source || receipt.source.runId !== runId || row.revision !== 1 || typeof row.created_at !== "string" || !Number.isFinite(Date.parse(row.created_at)) || row.created_at > at || typeof receipt.toolCallId !== "string" || !receipt.toolCallId || !/^[0-9a-f]{64}$/u.test(receipt.requestDigest) || row.record_id !== stageCoordinationToolReceiptId(runId, receipt.source.attemptId, receipt.toolCallId)) return reject(); + if (receipt.scope === "coordinator") { + if (!checkCoordinatorReceipt(database, receipt, row.created_at)) return reject(); + return receipt; + } const owner = database.prepare(`SELECT step.to_participant_id FROM run_sessions r JOIN work_units unit ON unit.id=r.work_unit_id AND unit.linked_run_id=r.id JOIN work_unit_attempts attempt ON attempt.id=? AND attempt.work_unit_id=unit.id @@ -68,3 +72,26 @@ function readReceipt(database: DatabaseSync, row: Record } return receipt; } + +function checkCoordinatorReceipt(database: DatabaseSync, receipt: WorkItemCheckpointToolReceipt, createdAt: string): boolean { + const { source, threadId, toolCallId, outcome } = receipt; + if (!database.prepare(`SELECT 1 FROM run_sessions r + JOIN work_units unit ON unit.id=r.work_unit_id AND unit.linked_run_id=r.id + JOIN work_unit_attempts attempt ON attempt.id=? AND attempt.work_unit_id=unit.id + WHERE r.id=? AND r.thread_id=? AND r.teammate_id=? AND r.workflow_step_id IS NULL + AND json_array_length(r.request_snapshot_json, '$.workItemCheckpointPlanRevisions')>0 AND unit.kind='channel_ai_reply' + AND unit.id=? AND attempt.runtime_instance_id=? AND attempt.fencing_token=? AND attempt.effective_runner_id='pi'`) + .get(source.attemptId, source.runId, threadId, LING_AGENT_ID, source.workUnitId, source.runtimeInstanceId, source.fencingToken)) return false; + if (outcome?.status !== "registered") { + return outcome?.status === "read" || outcome?.status === "rejected" && typeof outcome.code === "string" && Boolean(outcome.code); + } + return !!database.prepare(`SELECT 1 FROM app_server_state batch, + json_each(batch.payload_json, '$.submissions') decision + WHERE batch.workspace_id=? AND batch.kind='coordination_decisions' AND batch.record_id=? + AND batch.created_at<=? AND json_extract(decision.value, '$.id')=? + AND json_extract(decision.value, '$.request.workItemId')=? + AND json_extract(decision.value, '$.source.runId')=? AND json_extract(decision.value, '$.source.attemptId')=? + AND json_extract(decision.value, '$.request.idempotencyKey')=?`) + .get(DEFAULT_WORKSPACE_ID, outcome.roundId, createdAt, outcome.receiptId, outcome.workItemId, source.runId, source.attemptId, + checkpointCoordinationRequestKey(source.runId, source.attemptId, toolCallId)); +} diff --git a/packages/core/src/work-item-stage-coordination.ts b/packages/core/src/work-item-stage-coordination.ts index cafa126fe..343ae5eaf 100644 --- a/packages/core/src/work-item-stage-coordination.ts +++ b/packages/core/src/work-item-stage-coordination.ts @@ -15,6 +15,24 @@ export function stageCoordinationToolReceiptId(runId: string, attemptId: string, return runId + ":" + attemptId + ":" + stageCoordinationToolKey(toolCallId); } +export function checkpointCoordinationRequestKey(runId: string, attemptId: string, toolCallId: string): string { + return "checkpoint:" + createHash("sha256").update(JSON.stringify([runId, attemptId, toolCallId])).digest("hex"); +} + +export interface WorkItemCheckpointCoordinatorSource { + readonly source: RuntimeAttemptFenceV1 & { readonly runId: string }; + readonly threadId: string; + readonly toolCallId: string; + readonly requestDigest: string; +} + +export type WorkItemCheckpointToolReceipt = WorkItemCheckpointCoordinatorSource & { + readonly scope: "coordinator"; + readonly outcome: { readonly status: "read" } + | { readonly status: "rejected"; readonly code: string } + | { readonly status: "registered"; readonly roundId: string; readonly workItemId: string; readonly receiptId: string }; +}; + export interface WorkItemStageToolReceipt { readonly source: RuntimeAttemptFenceV1 & { readonly runId: string }; readonly workItemId: string; @@ -26,3 +44,5 @@ export interface WorkItemStageToolReceipt { | { readonly status: "rejected"; readonly code: string } | { readonly status: "recorded"; readonly recordId: string }; } + +export type WorkItemCoordinationToolReceipt = (WorkItemStageToolReceipt & { readonly scope?: undefined }) | WorkItemCheckpointToolReceipt; diff --git a/packages/daemon/src/features/channels/channel-turn-dispatch-executor.ts b/packages/daemon/src/features/channels/channel-turn-dispatch-executor.ts index aee54e6bf..f5c2e8d8e 100644 --- a/packages/daemon/src/features/channels/channel-turn-dispatch-executor.ts +++ b/packages/daemon/src/features/channels/channel-turn-dispatch-executor.ts @@ -20,6 +20,7 @@ import type { RuntimeHostCapacityAdmission } from "../../runtime/run-queue.js"; import { resolveProviderForRun } from "../runs/providers.js"; import { createWorkflowParallelCapabilityResolver } from "../runs/workflow-safety.js"; import type { ProviderInvocationFailureSink } from "../providers/runtime-invocations.js"; +import { readCoordinatorWorkItems } from "../work-items/checkpoint-coordinator-tool.js"; import { createAiChannelReply } from "./ai-replies.js"; import { findChannelAssistantReplyForSource, @@ -70,8 +71,8 @@ export interface ChannelTurnDispatchExecutorOptions { export function createChannelTurnDispatchExecutor( options: ChannelTurnDispatchExecutorOptions, ): ExecuteClaimedChannelTurnDispatch { - const startRun = createStartRun(options); return async ({ store, channel, sourceMessage, request, observer }) => { + const startRun = createStartRun(options, store); if (request.unavailableRequestedParticipantIds?.length) { const blocker = blockUnavailableChannelParticipants( store, @@ -249,14 +250,16 @@ function channelReplyMessageId(sourceTurnId: string, teammateId: string | undefi return `item_channel_reply_${sourceTurnId}_${teammateId ?? "ling_agent"}`; } -function createStartRun(options: ChannelTurnDispatchExecutorOptions) { +function createStartRun(options: ChannelTurnDispatchExecutorOptions, store: RunStore) { return async ( runRequest: RunRequest, sink: RunExecutionSink, onProviderInvocationFailure?: ProviderInvocationFailureSink, - ): Promise => - await executeRunRequest( - runRequest, + ): Promise => { + const planRevisions = runRequest.createdByActor === "local-user" + ? readCoordinatorWorkItems(store, runRequest).map(item => item.planRevision) : []; + return await executeRunRequest( + planRevisions.length ? { ...runRequest, workItemCheckpointPlanRevisions: planRevisions } : runRequest, sink, options.runnerRegistry, options.storeRegistry, @@ -276,6 +279,7 @@ function createStartRun(options: ChannelTurnDispatchExecutorOptions) { workflowHostCapacityAdmission: options.hostCapacity, }, ); + }; } async function confirmAndOrchestrateProposal( diff --git a/packages/daemon/src/features/runs/orchestrator.ts b/packages/daemon/src/features/runs/orchestrator.ts index e1bd6c33a..a0768af90 100644 --- a/packages/daemon/src/features/runs/orchestrator.ts +++ b/packages/daemon/src/features/runs/orchestrator.ts @@ -91,6 +91,7 @@ import { readWorkflowIsolationWorktreeScope } from "../channels/workflow-isolati import { settleWorkflowIsolatedResult } from "../channels/workflow-isolated-result.js"; import { createStageMessageReceiver } from "../work-items/stage-message-receiver.js"; import { createWorkItemCoordinationToolHandler } from "../work-items/stage-coordination-tool.js"; +import { createCheckpointCoordinatorTool } from "../work-items/checkpoint-coordinator-tool.js"; import { persistWorkflowStageBallot } from "../work-items/stage-ballot.js"; import { captureWorkflowStartOwner, commitWorkflowStartReady, assertWorkflowRunAdmission, failUndispatchedWorkflowStart, resumeWorkflowStartAdmission } from "./workflow-step-start-admission.js"; @@ -1084,6 +1085,12 @@ async function executeAdmittedRunRequest( && runnerResolution.runner.adapter instanceof PiRunnerAdapter && Boolean(selectedWorkflowStep?.metadata?.planStageId && !selectedWorkflowStep.metadata.planBallotKey && store.getAppServerState("work_item_workflow", selectedWorkflowStep.workflowId)); + const workItemCoordinatorEnabled = !!runRequest.workItemCheckpointPlanRevisions?.length + && runRequest.createdByActor === "local-user" && workUnitOwner.kind === "channel_ai_reply" + && !runRequest.workflowStepId && !workflowSafetyPlan && !delegatedExecution && !runRequest.codeAssessment + && runnerResolution.runner.adapter instanceof PiRunnerAdapter; + const coordinationSurface = workItemCoordinatorEnabled ? { workItemCoordination: true, workItemCoordinator: true } + : workItemCoordinationSurfaceEnabled ? { workItemCoordination: true } : {}; const visualizationEligible = frozenExecution ? frozenExecution.input.initialToolSurface?.conversationVisualization === true : isConversationMediaGenerationEligible({ createdByActor: runRequest.createdByActor, workUnitKind: workUnitOwner.kind }); @@ -1103,7 +1110,7 @@ async function executeAdmittedRunRequest( userInput: userInputAvailable(), nativeFileCreate: workflowOperationUsesNativeFileCreate(runRequest), delegation: delegationToolSurfaceEnabled, - ...(workItemCoordinationSurfaceEnabled ? { workItemCoordination: true } : {}) } }; + ...coordinationSurface } }; runnerRequest = restrictCodeAssessmentTools(runRequest, restrictWorkflowSafetyTools(runnerRequest, workflowSafetyPlan)); if (workflowSafetyPlan?.profile === "pi_host_readonly_v1") { // SDK preparation may inspect schemas, but it has no execution authority. @@ -1194,7 +1201,7 @@ async function executeAdmittedRunRequest( userInput: userInputAvailable(), nativeFileCreate: workflowOperationUsesNativeFileCreate(runRequest), delegation: currentDelegationToolSurfaceEnabled, - ...(workItemCoordinationSurfaceEnabled ? { workItemCoordination: true } : {}) }, + ...coordinationSurface }, provider: resolvedProvider, mcpTools: currentMcp, mediaGenerationTools: mediaGenerationEligible ? createConversationMediaGenerationToolDefinitions(listConversationMediaGenerationTargets(runStore, secretResolver)) : [] }, workflowSafetyPlan)); runnerRequest = restrictCodeAssessmentTools(runRequest, restrictWorkflowSafetyTools(runnerRequest, workflowSafetyPlan)); @@ -3060,7 +3067,18 @@ async function executeAdmittedRunRequest( } : undefined; const workItemCoordinationToolHandler = runnerRequest.initialToolSurface?.workItemCoordination === true - ? createWorkItemCoordinationToolHandler({ store, run, attemptId: attempt.id, activeRuns, assertCurrent: assertCurrentRunAdmission, + ? runnerRequest.initialToolSurface.workItemCoordinator + ? createCheckpointCoordinatorTool({ store, run, source: { runId: run.id, ...runnerCallbackFence }, extraSecrets: resolvedSecretValues, + planRevisions: runRequest.workItemCheckpointPlanRevisions ?? [], + policies: runtimeSupervisor.getAppServerDeliberationPolicies(), assertCurrent: () => { + assertCurrentRunAdmission(); + if (storeRegistry.recoveryBlocksDispatch(workspaceCwd)) throw recoveryBlocked(); + if (!runRequest.workItemCheckpointPlanRevisions?.length || workUnit.kind !== "channel_ai_reply" + || !isCapturedActiveAttempt() || !store.isCurrentRunExecutionOwner(run.id, runnerCallbackFence)) { + throw new HttpError(409, "stale_revision", "The coordinator no longer owns this Run attempt."); + } + } }) + : createWorkItemCoordinationToolHandler({ store, run, attemptId: attempt.id, activeRuns, assertCurrent: assertCurrentRunAdmission, extraSecrets: resolvedSecretValues, events: options.controlPlaneEvents }) : undefined; const delegationProgressBinding = delegatedExecution ? Object.freeze({ diff --git a/packages/daemon/src/features/runs/prepared-runner-input.ts b/packages/daemon/src/features/runs/prepared-runner-input.ts index 0bbf6fb70..5906b8198 100644 --- a/packages/daemon/src/features/runs/prepared-runner-input.ts +++ b/packages/daemon/src/features/runs/prepared-runner-input.ts @@ -98,6 +98,7 @@ export function restorePreparedRunnerOptions( frozenSurface?.codeIntelligence === true && currentSurface?.codeIntelligence !== true || frozenSurface?.codeMode === true && currentSurface?.codeMode !== true || frozenSurface?.workItemCoordination === true && currentSurface?.workItemCoordination !== true || + frozenSurface?.workItemCoordination === true && frozenSurface.workItemCoordinator !== currentSurface?.workItemCoordinator || frozenSurface?.nativeFileCreate !== undefined && currentSurface?.nativeFileCreate !== frozenSurface.nativeFileCreate || !requiredRuntimeToolFeaturesRemainAvailable(payload.input.runtimeToolFeatures, current.runtimeToolFeatures)) { throw new HttpError(409, "prepared_tool_capability_changed", "Prepared runtime tool capabilities changed."); @@ -192,13 +193,14 @@ export function readPreparedRunnerInput(value: unknown, request: Pick 0 && surfaceRecord?.delegation !== true; - if (!surfaceRecord || Object.keys(surfaceRecord).some(key => !['mediaGeneration', 'toolHydration', 'userInput', 'nativeFileCreate', 'delegation', 'codeIntelligence', 'codeMode', 'conversationVisualization', 'workItemCoordination'].includes(key)) || + if (!surfaceRecord || Object.keys(surfaceRecord).some(key => !['mediaGeneration', 'toolHydration', 'userInput', 'nativeFileCreate', 'delegation', 'codeIntelligence', 'codeMode', 'conversationVisualization', 'workItemCoordination', 'workItemCoordinator'].includes(key)) || Object.values(surfaceRecord).some(selected => typeof selected !== "boolean") || prepared.tools.some(tool => tool.name === CONVERSATION_VISUALIZATION_TOOL) !== (surfaceRecord.conversationVisualization === true) || surfaceRecord.codeIntelligence !== undefined && prepared.tools.some(tool => tool.name === "code_intelligence") !== surfaceRecord.codeIntelligence || surfaceRecord.codeMode !== undefined && prepared.tools.some(tool => tool.name === "code_mode") !== surfaceRecord.codeMode || surfaceRecord.userInput !== undefined && prepared.tools.some(tool => tool.name === "request_user_input") !== surfaceRecord.userInput || coordinationSelected !== (surfaceRecord.workItemCoordination === true) || + surfaceRecord.workItemCoordinator === true && (!coordinationSelected || value.input.readonlyToolsProfile !== undefined) || !delegationSurfaceMatches || delegationSurfaceRequired || !nativeSurfaceMatches) { throw new Error("Invalid prepared user-input tool surface"); } @@ -255,7 +257,7 @@ function isNarrowIsolatedSurface(input: unknown): boolean { if (["mcpTools", "hostCapabilityTools", "mediaGenerationTools"].some(key => input[key] !== undefined && (!Array.isArray(input[key]) || input[key].length !== 0))) return false; for (const [key, allowed] of [ - ["initialToolSurface", ["mediaGeneration", "toolHydration", "userInput", "nativeFileCreate", "delegation", "codeIntelligence", "codeMode", "conversationVisualization", "workItemCoordination"]], + ["initialToolSurface", ["mediaGeneration", "toolHydration", "userInput", "nativeFileCreate", "delegation", "codeIntelligence", "codeMode", "conversationVisualization", "workItemCoordination", "workItemCoordinator"]], ["runtimeToolFeatures", ["requestPermissions", "unifiedExec", "shellSnapshot"]], ] as const) { const flags = input[key]; diff --git a/packages/daemon/src/features/runs/schemas.ts b/packages/daemon/src/features/runs/schemas.ts index 6422dd544..c61c9418d 100644 --- a/packages/daemon/src/features/runs/schemas.ts +++ b/packages/daemon/src/features/runs/schemas.ts @@ -140,6 +140,8 @@ export interface RunRequest extends Omit< readonly continuationReason?: RunContinuationReason; readonly sourceMessageId?: string; readonly linkedMessageId?: string; + /** Accepted Plan revisions captured by the local channel reply dispatcher. */ + readonly workItemCheckpointPlanRevisions?: readonly string[]; /** Internal ceiling for text-only Remote Access replies. */ readonly disableConversationVisualization?: true; readonly createdByActor?: LingTurnCreatedByActor; diff --git a/packages/daemon/src/features/work-items/checkpoint-channel-evidence.ts b/packages/daemon/src/features/work-items/checkpoint-channel-evidence.ts new file mode 100644 index 000000000..2d48ec61a --- /dev/null +++ b/packages/daemon/src/features/work-items/checkpoint-channel-evidence.ts @@ -0,0 +1,17 @@ +import { projectConversationItemToChannelMessage, type RunStore, type WorkItemEvidenceEntry } from "@ling-stack/core"; +import { buildConversationSupersessionProjection, projectChannelMessageRevisionMetadata } from "../conversations/supersession-projection.js"; + +export function readCheckpointChannelEvidence(store: RunStore, threadId: string, channelId: string, + entries: readonly WorkItemEvidenceEntry[]): WorkItemEvidenceEntry[] { + const superseded = buildConversationSupersessionProjection(store, { + surfaces: ["channel_root", "channel_branch", "topic_reply"], ownerId: channelId, + }); + return entries.filter(entry => entry.visibility === "work_item" && entry.sourceRefs.some(ref => { + if (ref.type !== "conversation_item" || superseded.supersededResponseMessageIds.has(ref.id)) return false; + const item = store.getEffectiveConversationItem(ref.id); + if (item?.id !== ref.id || item.threadId !== threadId || item.channelId !== channelId + || item.status !== "committed" || item.visibility !== "channel" || String(item.revision) !== ref.revision + || item.kind !== "user_message" && item.kind !== "assistant_message") return false; + return projectChannelMessageRevisionMetadata(store, projectConversationItemToChannelMessage(item)).body === entry.content; + })); +} diff --git a/packages/daemon/src/features/work-items/checkpoint-coordinator-tool.ts b/packages/daemon/src/features/work-items/checkpoint-coordinator-tool.ts new file mode 100644 index 000000000..e4bdffefe --- /dev/null +++ b/packages/daemon/src/features/work-items/checkpoint-coordinator-tool.ts @@ -0,0 +1,136 @@ +import { + checkpointCoordinationRequestKey, digestHarnessToolValue, LING_AGENT_ID, redactSecrets, stageCoordinationToolReceiptId, + type HostOperationSource, type RunSession, type RunStore, type WorkItem, type WorkItemCheckpointToolReceipt, +} from "@ling-stack/core"; +import type { PiRunnerRunOptions, PiRunnerToolHandledResult } from "@ling-stack/runner-pi"; +import { z } from "zod"; +import { HttpError } from "../../errors.js"; +import { normalizeWorkspaceRoot } from "../../runtime/store-registry.js"; +import { coordinationDecisionInput, registerCoordinationDecision } from "../../server/app-server-deliberation.js"; +import type { AppServerDeliberationPolicy } from "../../server/app-server-deliberation-config.js"; +import { listEffectiveChannelAiTeammates } from "../channels/channel-teammate-availability.js"; +import { readCheckpointChannelEvidence } from "./checkpoint-channel-evidence.js"; +import { readWorkItemWorkflowBinding, readWorkItemWorkflowStages } from "./workflow-stages.js"; + +const workItemId = coordinationDecisionInput.shape.workItemId; +const offset = z.number().int().nonnegative().default(0); +const checkpointInput = z.discriminatedUnion("action", [ + z.strictObject({ action: z.literal("read_checkpoints"), workItemId: workItemId.optional(), stageOffset: offset, afterEvidenceSequence: offset }), + z.strictObject({ action: z.literal("submit_decision"), workItemId, decision: coordinationDecisionInput.omit({ workItemId: true, idempotencyKey: true }) }), +]); + +export function readCoordinatorWorkItems(store: RunStore, source: Pick): (WorkItem & { planRevision: string; channelId: string })[] { + const { threadId } = source; + if (source.teammateId !== LING_AGENT_ID || !threadId) return []; + const thread = store.getLingThread(threadId); + const channelId = thread?.channelId; + if (thread?.kind !== "channel_discussion" || !channelId || thread.status === "archived" || thread.archivedAt + || store.getLingThreadConversationMode(threadId)?.mode === "plan") return []; + return store.listProposedPlanArtifacts({ threadId, statuses: ["accepted"], limit: 50 }).flatMap(plan => { + const workflowId = plan.acceptedWorkflowId; + const binding = workflowId && readWorkItemWorkflowBinding(store, workflowId); + if (!binding || binding.threadId !== threadId || binding.planId !== plan.id) return []; + const item = store.getWorkItem(binding.workItemId); + const planRevision = `${plan.id}:${binding.planRevision}`; + const successor = plan.supersededByPlanId ? store.getProposedPlanArtifact(plan.supersededByPlanId) : undefined; + return item && item.channelId === channelId && item.workflowId === workflowId && item.planRevision === planRevision + && !(successor?.status === "accepted" && successor.acceptedWorkflowId) + && item.control.state === "active" && !item.control.unresolvedEffectIds.length + && !["done", "cancelled", "archived", "superseded"].includes(item.status) ? [{ ...item, planRevision, channelId }] : []; + }); +} + +export function createCheckpointCoordinatorTool(input: { + readonly store: RunStore; + readonly run: RunSession; + readonly source: HostOperationSource; + readonly assertCurrent: () => void; + readonly planRevisions: readonly string[]; + readonly policies: readonly AppServerDeliberationPolicy[]; + readonly extraSecrets: readonly (string | undefined)[]; +}): NonNullable { + const { store, run, source, extraSecrets } = input; + const threadId = run.threadId!; + const cwd = normalizeWorkspaceRoot(store.paths.cwd); + const redactText = (text: string) => String(redactSecrets(text, extraSecrets)); + const result = (value: unknown): PiRunnerToolHandledResult => + ({ content: [{ type: "text", text: JSON.stringify(redactSecrets(value, extraSecrets)) }] }); + const readCurrent = () => { + input.assertCurrent(); + return readCoordinatorWorkItems(store, run).filter(item => input.planRevisions.includes(item.planRevision)); + }; + const assertScope = (id: string, planRevision: string | undefined) => { + if (!readCurrent().some(item => item.id === id && item.planRevision === planRevision)) { + throw new HttpError(409, "stale_revision", "This decision is outside the coordinator's current Work Item and accepted Plan."); + } + }; + return ({ toolCallId, input: raw }) => { + input.assertCurrent(); + const safeInput = redactSecrets(raw ?? null, extraSecrets); + const requestDigest = digestHarnessToolValue(safeInput); + const recordId = stageCoordinationToolReceiptId(run.id, source.attemptId, toolCallId); + const prior = store.getAppServerState("work_item_stage_tool_receipt", recordId)?.payload as WorkItemCheckpointToolReceipt | undefined; + if (prior && (prior.scope !== "coordinator" || prior.requestDigest !== requestDigest)) { + return result({ status: "rejected", code: "idempotency_conflict" }); + } + const now = new Date().toISOString(); + const metadata = { source, threadId, toolCallId, requestDigest }; + const remember = (outcome: WorkItemCheckpointToolReceipt["outcome"]) => { + if (prior) return; + const payload = { ...metadata, scope: "coordinator", outcome } satisfies WorkItemCheckpointToolReceipt; + if (!store.putAppServerState({ kind: "work_item_stage_tool_receipt", recordId, expectedRevision: 0, payload }, now)) { + throw new Error("The coordinator tool receipt changed before commit."); + } + }; + const reject = (code: string) => { + const outcome = { status: "rejected", code } as const; + remember(outcome); + return result(outcome); + }; + if (prior?.outcome.status === "rejected") return result(prior.outcome); + const parsed = checkpointInput.safeParse(safeInput); + if (!parsed.success) return reject("invalid_params"); + const request = parsed.data; + try { + if (request.action === "read_checkpoints") { + const snapshot = store.readSnapshot(() => { + const items = readCurrent(); + const item = items.find(entry => entry.id === request.workItemId); + if (!item) return { workItems: items.map(entry => ({ workItemId: entry.id, planRevision: entry.planRevision })) }; + const rounds = store.listOpenScheduledCoordinationRounds().filter(round => round.workItemId === item.id && round.kind === "checkpoint" + && round.controlGeneration === item.control.generation && round.deadlineAt > now && store.getCurrentScheduledCoordinationAutomationDigest(round.recordId)); + const evidence = store.listWorkItemEvidence({ workItemId: item.id, afterSequence: request.afterEvidenceSequence, limit: 20 }); + const stages = readWorkItemWorkflowStages(store, item, false, request.stageOffset); + const channel = store.getChannel(item.channelId); + return { + workItemId: item.id, workItemRevision: item.revision, planRevision: item.planRevision, + stages: stages && { status: stages.status, nextOffset: stages.nextOffset, + steps: stages.steps.map(({ stepId, stageId, status, dependencyIds }) => ({ stepId, stageId, status, dependencyIds })) }, + checkpoints: rounds.map(round => ({ roundId: round.recordId })), + participants: channel ? listEffectiveChannelAiTeammates(store, channel).slice(0, 50) + .map(({ id, roleKey }) => ({ id, role: roleKey })) : [], + evidence: readCheckpointChannelEvidence(store, threadId, item.channelId, + evidence.filter(entry => entry.subjectRevision === item.planRevision)).map(entry => ({ + id: entry.id, kind: entry.kind, summary: redactText(entry.content).slice(0, 500), + })), + nextAfterEvidenceSequence: evidence.length === 20 ? evidence.at(-1)?.sequence : undefined, + }; + }); + remember({ status: "read" }); + return result(snapshot); + } + const { workItemId: id, decision } = request; + const assertDecisionInputs = () => assertScope(id, decision.subject.planRevision); + assertDecisionInputs(); + const idempotencyKey = checkpointCoordinationRequestKey(run.id, source.attemptId, toolCallId); + const saved = registerCoordinationDecision(store, { ...decision, workItemId: id, idempotencyKey }, now, + cwd, input.policies, { ...metadata, assertCurrent: assertDecisionInputs }); + return result(saved.receipt); + } catch (error) { + if (error instanceof HttpError) return reject(error.code); + if (error instanceof Error && ["coordination_subject_unavailable", "coordination_round_stale", "coordination_decision_limit", + "coordination_decision_idempotency_conflict"].includes(error.message)) return reject(error.message); + throw error; + } + }; +} diff --git a/packages/daemon/src/index.ts b/packages/daemon/src/index.ts index f07acd42a..7ea64075d 100644 --- a/packages/daemon/src/index.ts +++ b/packages/daemon/src/index.ts @@ -825,8 +825,8 @@ export function createDaemonServer( notificationHub, nativeWorkIntake, { - sealDecision: (store, cwd, input, channelId, throughEvidenceSequence) => - sealCoordinationDecision(store, cwd, input, channelId, throughEvidenceSequence, resolvedConfig.appServerDeliberationPolicies), + sealDecision: (store, cwd, input, channelId, throughEvidenceSequence, source) => + sealCoordinationDecision(store, cwd, input, channelId, throughEvidenceSequence, resolvedConfig.appServerDeliberationPolicies, source), evaluate: async (store, cwd, decision, isActive) => { const policy = deliberationPolicyContext(resolvedConfig, store); const result = await evaluateScheduledCoordinationDecision(store, decision, cwd, { diff --git a/packages/daemon/src/runtime/supervisor.ts b/packages/daemon/src/runtime/supervisor.ts index 29a27d89a..f89bef6ab 100644 --- a/packages/daemon/src/runtime/supervisor.ts +++ b/packages/daemon/src/runtime/supervisor.ts @@ -188,6 +188,10 @@ export class RuntimeSupervisor { return this.config.channels; } + getAppServerDeliberationPolicies(): ResolvedDaemonConfig["appServerDeliberationPolicies"] { + return this.config.appServerDeliberationPolicies; + } + getConcurrencyPolicy(): ResolvedRuntimeConcurrencyPolicy { return this.concurrency; } diff --git a/packages/daemon/src/server/app-server-deliberation.ts b/packages/daemon/src/server/app-server-deliberation.ts index d2283bcc6..22c5f2dca 100644 --- a/packages/daemon/src/server/app-server-deliberation.ts +++ b/packages/daemon/src/server/app-server-deliberation.ts @@ -5,6 +5,7 @@ import { LING_APP_SERVER_DELIBERATION_CHECKPOINTS, LING_APP_SERVER_DELIBERATION_DECISION_KINDS, type LingAppServerCoordinationDecisionParams, + type LingAppServerCoordinationDecisionSource, type LingAppServerCoordinationDecisionSubmitResult, type LingAppServerDeliberationEvaluateParams, type LingAppServerDeliberationEvaluateResult, @@ -28,6 +29,7 @@ import { type RunStore, type WorkItem, type WorkItemCollaborationRecord, + type WorkItemCheckpointCoordinatorSource, type WorkItemConversationBinding, type WorkItemDeliberationTarget, type WorkItemDeliberationWorkflowBinding, @@ -38,6 +40,7 @@ import type { DaemonContext } from "../context.js"; import { HttpError } from "../errors.js"; import { listEffectiveChannelAiTeammates } from "../features/channels/channel-teammate-availability.js"; import { preparePlanShaping, type PlanShapingRuntime } from "../features/channels/plan-deliberation-shaping.js"; +import { readCheckpointChannelEvidence } from "../features/work-items/checkpoint-channel-evidence.js"; import { materializeDeliberationWorkflow, readDeliberationWorkflowInputs } from "../features/work-items/deliberation-workflow.js"; import { isRecord } from "../shared/validation.js"; import { readCompleteHandoffCandidate } from "../features/work-items/stage-handoff-candidates.js"; @@ -97,6 +100,7 @@ interface FrozenEvaluation { readonly evaluation: LingAppServerDeliberationEvaluation; readonly decision: Omit; readonly basisDigest: string; + readonly channelEvidenceOnly?: true; } interface SubjectBasis { @@ -125,24 +129,25 @@ export function deliberationPolicyContext(config: DaemonContext["config"], store type DeliberationDisposition = Pick; export function registerCoordinationDecision(store: RunStore, input: LingAppServerCoordinationDecisionParams, now: string, - cwd: string, policies: readonly AppServerDeliberationPolicy[]): LingAppServerCoordinationDecisionSubmitResult { + cwd: string, policies: readonly AppServerDeliberationPolicy[], + coordinator?: WorkItemCheckpointCoordinatorSource & { readonly assertCurrent: () => void }): LingAppServerCoordinationDecisionSubmitResult { const { cwd: _cwd, expectedWorkItemRevision, ...request } = input; const normalized = { ...request, participantIds: sortedUnique(request.participantIds), optionRefs: sortedUnique(request.optionRefs), evidenceRefs: sortedUnique(request.evidenceRefs) }; const result = store.registerScheduledCoordinationDecision(normalized, expectedWorkItemRevision, now, () => { - const { subject } = readScheduledDecisionInputs(store, normalized, { beforeScheduledClose: true }); + const { subject } = readScheduledDecisionInputs(store, normalized, { beforeScheduledClose: true }, Boolean(coordinator)); const channelId = subject.channelId!; return { channelId, policyRevision: readWorkspaceDeliberationPolicy(store, cwd, channelId, policies).effectiveRevision, }; - }); + }, coordinator); return { cwd, ...result }; } export function sealCoordinationDecision(store: RunStore, cwd: string, request: ScheduledCoordinationDecisionRequest, - channelId: string, throughEvidenceSequence: number, policies: readonly AppServerDeliberationPolicy[]) { + channelId: string, throughEvidenceSequence: number, policies: readonly AppServerDeliberationPolicy[], source?: LingAppServerCoordinationDecisionSource) { try { - const basis = readScheduledDecisionInputs(store, request, { throughEvidenceSequence }); + const basis = readScheduledDecisionInputs(store, request, { throughEvidenceSequence }, Boolean(source)); if (basis.subject.channelId !== channelId) return { reasonCode: "decision_basis_changed" }; return { digest: basis.digest, channelId, policyRevision: readWorkspaceDeliberationPolicy(store, cwd, channelId, policies).effectiveRevision }; @@ -153,10 +158,10 @@ export function sealCoordinationDecision(store: RunStore, cwd: string, request: } function readScheduledDecisionInputs(store: RunStore, request: ScheduledCoordinationDecisionRequest, - checkpointScope: Parameters[3]) { + checkpointScope: Parameters[3], channelEvidenceOnly: boolean) { const { workItemId, roundId, idempotencyKey: _key, ...inputs } = request; return readDecisionBasis(store, requireWorkItem(store, workItemId), - { ...inputs, checkpoint: "scheduled_checkpoint", checkpointRef: roundId }, checkpointScope); + { ...inputs, checkpoint: "scheduled_checkpoint", checkpointRef: roundId }, checkpointScope, channelEvidenceOnly); } export async function evaluateAppServerDeliberation( @@ -191,7 +196,8 @@ export async function evaluateAppServerDeliberation( assertScheduledCurrent(expectedWorkItemRevision); const prior = readReplay(); if (prior) return prior; - const basis = readDecisionBasis(store, item, decision, scheduled); + const coordinator = scheduled?.source; + const basis = readDecisionBasis(store, item, decision, scheduled, Boolean(coordinator)); if (scheduled && scheduled.basis.digest !== basis.digest) throw new ScheduledDecisionStale("decision_basis_changed"); const decisionId = digest([item.id, decision.decisionKey, decision.subject.kind, basis.subject.decisionAnchor, ...(decision.decisionStepId ? [decision.decisionStepId] : [])]); @@ -244,16 +250,16 @@ export async function evaluateAppServerDeliberation( ...outcome, }; const predecessor = latestEvaluation(store, item.id, decisionId); - const frozen = { evaluation, decision, basisDigest: basis.digest } satisfies FrozenEvaluation; + const frozen: FrozenEvaluation = { evaluation, decision, basisDigest: basis.digest, ...(coordinator ? { channelEvidenceOnly: true } : {}) }; const evidence: AppendWorkItemCollaborationInput = { id: evaluationId, workItemId, expectedWorkItemRevision, idempotencyKey, - kind: "deliberation", action: "created", actorId: "local-user", visibility: "owner", + kind: "deliberation", action: "created", actorId: coordinator?.actorId ?? "local-user", visibility: "owner", payload: frozen, ...(predecessor ? { parentRecordId: predecessor.evaluation.evaluationId } : {}), - sourceRefs: basis.sourceRefs, + sourceRefs: coordinator ? [...basis.sourceRefs, { type: "run", id: coordinator.runId }, { type: "attempt", id: coordinator.attemptId }] : basis.sourceRefs, assertCurrent: () => { assertScheduledCurrent(expectedWorkItemRevision); - const current = readDecisionBasis(store, requireWorkItem(store, workItemId), decision, scheduled); + const current = readDecisionBasis(store, requireWorkItem(store, workItemId), decision, scheduled, Boolean(coordinator)); const policy = policyForSubject(store, cwd, current.subject, policyContext.policies); if (current.digest !== basis.digest || (policy?.effectiveRevision ?? defaultDeliberationPolicyRevision) !== policyRevision) { throw stale("The decision basis changed before the evaluation committed."); @@ -527,7 +533,7 @@ function assertEvaluationCurrent(store: RunStore, item: WorkItem, frozen: Frozen throw new HttpError(409, "resume_blocked", "The Work Item is held. Resume the applicable stage before continuing deliberation."); } if (deadline <= now) throw stale("The deliberation deadline expired."); - const basis = readDecisionBasis(store, item, decision); + const basis = readDecisionBasis(store, item, decision, undefined, frozen.channelEvidenceOnly); const latest = latestEvaluation(store, item.id, evaluation.decisionId); if (latest?.evaluation.decisionRevision !== evaluation.decisionRevision || basis.digest !== frozen.basisDigest) { throw stale("The decision basis or applicable evaluation changed."); @@ -547,7 +553,7 @@ function policyForSubject(store: RunStore, cwd: string, subject: SubjectBasis, p } function readDecisionBasis(store: RunStore, item: WorkItem, decision: FrozenEvaluation["decision"], - checkpointScope?: { readonly beforeScheduledClose?: boolean; readonly throughEvidenceSequence?: number }) { + checkpointScope?: { readonly beforeScheduledClose?: boolean; readonly throughEvidenceSequence?: number }, channelEvidenceOnly = false) { const subject = readSubject(store, item, decision.subject); const checkpoint = checkpointScope?.beforeScheduledClose ? { type: "coordination_round", id: decision.checkpointRef } : readCheckpoint(store, item, subject, decision); @@ -568,6 +574,18 @@ function readDecisionBasis(store: RunStore, item: WorkItem, decision: FrozenEval const optionEntries = decision.optionRefs.map(id => readEntry(id, true)); const options = optionEntries.map(entry => evidenceRef(entry, "deliberation_option")); const evidence = decision.evidenceRefs.map(id => readEntry(id, false)); + if (channelEvidenceOnly) { + const binding = subject.step && readWorkItemWorkflowBinding(store, subject.step.workflowId); + const plan = binding && store.getProposedPlanArtifact(binding.planId); + const successor = plan?.supersededByPlanId ? store.getProposedPlanArtifact(plan.supersededByPlanId) : undefined; + const thread = binding && store.getLingThread(binding.threadId); + const entries = [...optionEntries, ...evidence]; + if (!thread?.channelId || thread.channelId !== subject.channelId || thread.status === "archived" || thread.archivedAt + || successor?.status === "accepted" && successor.acceptedWorkflowId + || readCheckpointChannelEvidence(store, thread.id, thread.channelId, entries).length !== entries.length) { + throw stale("The checkpoint decision requires current evidence from its coordinating channel conversation."); + } + } const evidenceRefs = evidence.map(entry => evidenceRef(entry, "work_item_evidence")); const candidate = decision.candidateDigest ? { digest: decision.candidateDigest, cwd: decisionCandidateCwd(store, subject) } : undefined; const decisionTarget = decision.decisionStepId diff --git a/packages/daemon/test/app-server-release-acceptance.test.ts b/packages/daemon/test/app-server-release-acceptance.test.ts index 8f81a0195..5d5c5dc99 100644 --- a/packages/daemon/test/app-server-release-acceptance.test.ts +++ b/packages/daemon/test/app-server-release-acceptance.test.ts @@ -90,6 +90,7 @@ import { createCodexAppServerAdapter } from "../dist/runtime/adapters/codex-app- import { resolveAppServerGitHubSources, type AppServerGitHubSourceConfig } from "../dist/server/app-server-github-sources.js"; import { startLoopbackPiProvider } from "./support/loopback-pi-provider-fixture.mjs"; import { startFakeCodexAppServer } from "./test-support/fake-codex-app-server.ts"; +import { verifyWorkItemStageToolRequest } from "../../core/dist/storage/sqlite/work-item-stage-tool-settlement.js"; test("App Server deduplicates verification starts and restores completed checks, cancellation and Work Item events", { timeout: 30_000 }, async t => { const fixture = await releaseFixture(t); @@ -3781,12 +3782,12 @@ test("a paused Work Item replaces its accepted Workflow after the old Run settle async function stageQuestionWorkflow(t: TestContext, providerBaseUrl?: string, parallelReadOnly = false, retryBudget?: number, options?: { readonly harness?: DaemonConfig["harness"]; readonly secretResolver?: SecretResolver; readonly apiKeyRef?: string; readonly channelId?: string; readonly deliberationPolicies?: (cwd: string) => DaemonConfig["appServerDeliberationPolicies"]; - readonly recoveryJournal?: boolean; + readonly recoveryJournal?: boolean; readonly mobileReplies?: boolean; readonly decision?: import("@ling-stack/contracts").ProposedPlanStageDecision; readonly verificationRecipes?: (root: string, cwd: string) => Promise }) { const fixture = await releaseFixture(t, { channels: { terminalReports: false, teamObserverBus: false }, harness: options?.harness, secretResolver: options?.secretResolver, verificationRecipes: options?.verificationRecipes, - deliberationPolicies: options?.deliberationPolicies, recoveryJournal: options?.recoveryJournal }); + deliberationPolicies: options?.deliberationPolicies, recoveryJournal: options?.recoveryJournal, mobileReplies: options?.mobileReplies }); const store = fixture.getStore(); const now = new Date().toISOString(); const preset = providerBaseUrl ? addLoopbackPreset(store, providerBaseUrl, options?.apiKeyRef ? { @@ -3801,8 +3802,11 @@ async function stageQuestionWorkflow(t: TestContext, providerBaseUrl?: string, p store.replaceTeammateChannelMemberships(teammateId, [{ channelId: channel.id }], now); } } - const thread = store.createLingThread({ channelId: channel.id, kind: "channel_discussion", - title: "Review plan", objective: "Review the compatibility contract." }, now); + const thread = options?.mobileReplies + ? store.resolveOrCreateConversationThread({ channelId: channel.id, surfaceKind: "channel_root", + title: "Review plan", objective: "Review the compatibility contract." }, now).thread + : store.createLingThread({ channelId: channel.id, kind: "channel_discussion", + title: "Review plan", objective: "Review the compatibility contract." }, now); const plan = store.upsertProposedPlanArtifact({ id: "plan-question-deadline", threadId: thread.id, channelId: channel.id, title: "Review", bodyMarkdown: "Review the compatibility contract.", status: "draft", @@ -4894,6 +4898,159 @@ test("scheduled checkpoint decisions reject late changes and stale closes while "accepted_plan_changed"); }); +test("Ling Agent reads its open checkpoint and registers a decision through the conversation's Pi tool", { timeout: 30_000 }, async t => { + type ToolInput = { action: "read_checkpoints"; workItemId: string } | + { action: "submit_decision"; workItemId: string; decision: Omit }; + const requested: ToolInput[] = []; + let workItemId: string; + let otherWorkItemId: string; + let workItemOnlyEvidenceId: string; + let expectMobileReply = true; + const provider = await startLoopbackPiProvider((raw: unknown) => { + const body = raw as { tools?: { function: { name: string } }[]; + messages: { role: string; content: string | readonly { text?: string }[] }[] }; + if (body.messages.some(message => message.role === "system" && typeof message.content === "string" + && message.content.includes("channel intent selector"))) { + return { text: JSON.stringify({ action: "reply", reason: "Discuss the current checkpoint." }) }; + } + const usage = { prompt_tokens: 26, completion_tokens: 4, total_tokens: 30 }; + if (expectMobileReply) { + assert.ok(!body.tools?.some(tool => tool.function.name === "work_item_coordination")); + return { text: "Open the checkpoint from the local channel.", usage }; + } + const tool = "work_item_coordination"; + assert.ok(body.tools?.some(entry => entry.function.name === tool)); + const messages = body.messages.filter(message => message.role === "tool"); + if (messages.length === 0) { + const input = { action: "read_checkpoints", workItemId: otherWorkItemId } as const; + requested.push(input); + return { tool, input, usage }; + } + const content = messages.at(-1)!.content; + const result = JSON.parse(typeof content === "string" ? content : content.map(item => item.text ?? "").join("")); + if (messages.length === 1) { + assert.deepEqual(result.workItems.map((item: { workItemId: string }) => item.workItemId), [workItemId]); + const input = { action: "read_checkpoints", workItemId } as const; + requested.push(input); + return { tool, input, usage }; + } + if (messages.length === 2) { + assert.ok(result.evidence.some((entry: { summary: string }) => entry.summary.endsWith("[REDACTED]"))); + assert.doesNotMatch(JSON.stringify(result), /Private checkpoint material|Work Item only|loopback-fix/u); + const input = { action: "submit_decision", workItemId, decision: { + roundId: result.checkpoints[0].roundId, expectedWorkItemRevision: result.workItemRevision, + subject: { kind: "workflow_stage", workflowStepId: result.stages.steps[0].stepId, planRevision: result.planRevision }, + decisionKey: "coordinator-compatibility", decisionKind: "implementation_tradeoff", materiality: "high", + question: "Which option preserves compatibility?", participantIds: result.participants.map((entry: { id: string }) => entry.id), + optionRefs: result.evidence.filter((entry: { kind: string }) => entry.kind === "proposal").map((entry: { id: string }) => entry.id), + evidenceRefs: result.evidence.filter((entry: { kind: string }) => entry.kind === "observation").map((entry: { id: string }) => entry.id), + } } as const satisfies ToolInput; + assert.equal(input.decision.optionRefs.length, 2); + assert.equal(input.decision.evidenceRefs.length, 2); + const stale = { ...input, decision: { ...input.decision, subject: { ...input.decision.subject, planRevision: "superseded:1" } } }; + requested.push(stale, { ...input, decision: { ...input.decision, evidenceRefs: [workItemOnlyEvidenceId] } }, input); + return { tool, input: stale, usage }; + } + if (messages.length === 3 || messages.length === 4) { + assert.deepEqual(result, { status: "rejected", code: "stale_revision" }); + return { tool, input: requested[messages.length], usage }; + } + assert.equal(result.status, "registered"); + return { text: "I registered the compatibility decision for the checkpoint.", usage }; + }); + t.after(() => provider.close()); + const { fixture, client, store, item, workItem, thread, channel } = + await stageQuestionWorkflow(t, provider.baseUrl, false, undefined, { ...workflowProviderBudgetFixture, mobileReplies: true }); + workItemId = item.id; + const outsider = store.upsertWorkItem({ sourceType: "manual", sourceId: "other-item", channelId: channel.id, title: "Another project" }, + new Date().toISOString()); + otherWorkItemId = outsider.id; + const baseEvidence = { workItemId, actorId: "local-user", subjectRevision: workItem.planRevision }; + const now = new Date().toISOString(); + const appendChannelEvidence = async (key: string, kind: "observation" | "proposal", body: string) => { + const message = store.appendConversationUserTurn({ channelId: channel.id, threadId: thread.id, turnKind: "manual_followup", + title: key, actorId: "local-user", userInstruction: body, idempotencyKey: key, + payload: { format: "plain_text", body, mentions: [], attachmentIds: [], linkPreviewIds: [], fileRefs: [] }, + }, now); + store.transitionLingTurnStatus({ turnId: message.turnId, expectedStatus: "open", event: "succeed", actor: "system", now }); + const sourceRefs = [{ type: "conversation_item", id: message.item.id, revision: String(message.item.revision) }]; + await client.call("workItem/evidence/append", { ...baseEvidence, idempotencyKey: key, kind, content: body, sourceRefs }); + return sourceRefs; + }; + await appendChannelEvidence("adapter", "proposal", "Keep the adapter compatible with existing callers."); + await appendChannelEvidence("migration", "proposal", "Move callers atomically to the replacement interface."); + const sourceRefs = await appendChannelEvidence("callers", "observation", "The public interface has existing clients."); + await appendChannelEvidence("redacted-review-material", "observation", `${"a".repeat(490)}loopback-fixture-key`); + await client.call("workItem/evidence/append", { + ...baseEvidence, kind: "observation", content: "Private checkpoint material", visibility: "owner", idempotencyKey: "private-review-material", + }); + const { entry } = await client.call<{ entry: { id: string } }>("workItem/evidence/append", { + ...baseEvidence, kind: "observation", content: "Work Item only content", idempotencyKey: "work-item-only", sourceRefs, + }); + workItemOnlyEvidenceId = entry.id; + const { roundId } = await openScheduledDecisionCheckpoint(fixture, client, workItemId); + const read = (connection = client) => connection.call("workItem/coordination/decisions/read", { workItemId, roundId }); + await fixture.enableMobileReplies(); + const issuedAt = new Date().toISOString(); + const mobile = store.commitRemoteConversationSend({ workspaceId: DEFAULT_WORKSPACE_ID, deviceId: "mobile-fixture", commandId: "mobile-checkpoint-reply", + conversationKind: "channel", conversationId: channel.id, body: "Compare the current checkpoint.", bodyHash: "mobile-body-hash", + issuedAt, retryUntil: new Date(Date.parse(issuedAt) + 60_000).toISOString(), + }, issuedAt); + const mobileTurnId = store.getConversationItem(mobile.messageId)?.turnId; + assert.ok(mobileTurnId); + assert.equal(store.getLingTurn(mobileTurnId)?.threadId, thread.id); + const findSucceeded = (turnId: string) => waitFor(() => { + const runId = store.getLingTurn(turnId)?.lastRunId; + const run = runId ? store.getRun(runId) : undefined; + if (!run || !run.endedAt) return undefined; + assert.equal(run.status, "succeeded", run.errorMessage ?? "Checkpoint reply failed."); + return run; + }); + await findSucceeded(mobileTurnId); + assert.deepEqual((await read()).receipts, []); + expectMobileReply = false; + const { daemonUrl, authToken, cwd } = fixture.transportOptions(); + const result = await fetch(`${daemonUrl}/channels/${channel.id}/turns?cwd=${encodeURIComponent(cwd)}`, { + method: "POST", headers: { Authorization: `Bearer ${authToken}`, "Content-Type": "application/json" }, + body: JSON.stringify({ body: "Compare the two supported options at the current checkpoint.", surface: { kind: "thread", threadId: thread.id }, + requestAiReply: true, teammateId: "ling_agent", idempotencyKey: "coordinator-turn" }), + }); + assert.equal(result.status, 201, await result.clone().text()); + const response = await result.json() as ChannelConversationTurnResponse; + assert.equal(response.thread.id, thread.id); + const run = await findSucceeded(response.turn.id); + const receipt = await waitFor(async () => (await read()).receipts[0]); + assert.equal(receipt.status, "registered"); + assert.equal(requested.length, 5); + const attempt = store.listWorkUnitAttempts(run.workUnitId!).at(-1)!; + assert.deepEqual(receipt.source, { actorId: "ling_agent", runId: run.id, attemptId: attempt.id }); + const recorded = store.listAppServerState("work_item_stage_tool_receipt").filter(record => record.recordId.startsWith(run.id + ":")); + assert.equal(recorded.length, 5); + const db = new DatabaseSync(store.paths.databasePath, { readOnly: true }); + try { + const submitted = recorded.find(record => (record.payload as { outcome: { status: string } }).outcome.status === "registered"); + assert.ok(submitted); + const { toolCallId } = submitted.payload as { toolCallId: string }; + assert.equal(verifyWorkItemStageToolRequest(db, { runId: run.id, ...toRuntimeAttemptFence(attempt) }, + toolCallId, requested[4], new Date().toISOString()), true); + assert.equal(verifyWorkItemStageToolRequest(db, { runId: run.id, ...toRuntimeAttemptFence(attempt) }, + toolCallId, requested[2], new Date().toISOString()), false); + } finally { + db.close(); + } + await fixture.restart(); + const restored = await fixture.connect(); + assert.deepEqual((await read(restored)).receipts, [receipt]); + await restored.call("workItem/coordination/close", { workItemId, parentRecordId: roundId, actorId: "local-user" }); + const finished = await waitFor(async () => (await read(restored)).receipts.find(entry => entry.status === "evaluated")); + assert.equal(finished.id, receipt.id); + assert.deepEqual(finished.source, receipt.source); + const evaluated = fixture.getStore().getWorkItemEvidence(finished.evaluationId); + assert.equal(evaluated?.actorId, "ling_agent"); + assert.ok(evaluated.sourceRefs.some(ref => ref.type === "run" && ref.id === run.id)); + assert.ok(evaluated.sourceRefs.some(ref => ref.type === "attempt" && ref.id === attempt.id)); +}); + test("parallel Work Item stages reserve their shared Goal budget before sending Pi requests", { timeout: 30_000 }, async t => { let finishFirst: () => void = () => undefined; const firstHeld = new Promise(resolve => { finishFirst = resolve; }); @@ -6924,7 +7081,7 @@ const candidateRuntime: ReleaseRuntime = { createDaemonServer, createSqliteRunSt async function releaseFixture(t: TestContext, { runner, initialRuntime = candidateRuntime, harness, requireAuth = true, verificationRecipes, githubSources, externalWorkFetch, secretResolver, wssConfig, - recoveryJournal = false, channels, deliberationPolicies, + recoveryJournal = false, channels, deliberationPolicies, mobileReplies = false, }: { runner?: RunnerRegistrationInput; initialRuntime?: ReleaseRuntime; @@ -6938,6 +7095,7 @@ async function releaseFixture(t: TestContext, { recoveryJournal?: boolean; channels?: DaemonConfig["channels"]; deliberationPolicies?: (cwd: string) => DaemonConfig["appServerDeliberationPolicies"]; + mobileReplies?: boolean; } = {}) { const root = await realpath(await mkdtemp(join(tmpdir(), "ling-as-"))); const cwd = join(root, "workspace"); @@ -6950,16 +7108,29 @@ async function releaseFixture(t: TestContext, { const stores = new Map(); const usesOriginalStore = harness?.delegations?.mode === "enforce" || harness?.delegations?.mode === "shadow"; const clients = new Set(); + const mobileManagementOrigin = "http://127.0.0.1:17891"; + let mobilePort: number | undefined; + if (mobileReplies) { + const temporary = createServer(); + temporary.listen(0, "127.0.0.1"); + await once(temporary, "listening"); + const address = temporary.address(); + assert.ok(address && typeof address === "object"); + mobilePort = address.port; + await promisify(temporary.close.bind(temporary))(); + } const makeDaemon = (runtime: ReleaseRuntime) => runtime.createDaemonServer({ host: "127.0.0.1", port: 0, defaultWorkspaceCwd: cwd, authToken: requireAuth ? authToken : undefined, harness, channels, appServerVerificationRecipes, appServerGitHubSources: githubSources?.(cwd), appServerWss, appServerDeliberationPolicies: deliberationPolicies?.(cwd), + ...(mobileReplies ? { remoteAccess: { listenerPort: mobilePort, managementAllowedOrigins: [mobileManagementOrigin] } } : {}), ...(recoveryJournal ? { appServerRecoveryDirectory: join(root, "recovery-journal") } : {}), }, { ...(runner ? { runnerRegistry: createRunnerRegistry([runner]) } : {}), chromeBrowserNativeMessagingEnabled: false, externalWorkFetch, secretResolver, - remoteReplyDispatcher: null, + ...(mobileReplies ? {} : { remoteReplyDispatcher: null }), + remoteAccessStateDir: join(root, "remote-access"), ...(usesOriginalStore ? { onStoreInitialized: (workspace: string, store: import("@ling-stack/core").RunStore) => stores.set(workspace, store as SqliteRunStore) } : { storeFactory(workspace: string) { const store = runtime.createSqliteRunStore(workspace, runtime.resolveStoragePaths(workspace, { @@ -6991,6 +7162,17 @@ async function releaseFixture(t: TestContext, { assert.ok(address && typeof address === "object"); return { daemonUrl: `http://127.0.0.1:${address.port}`, cwd, authToken }; }, + async enableMobileReplies() { + assert.ok(mobileReplies); + const { daemonUrl } = this.transportOptions(); + const response = await fetch(`${daemonUrl}/v1/mobile-access/enable`, { + method: "POST", headers: { Origin: mobileManagementOrigin, "Content-Type": "application/json", + "X-Ling-Mobile-Management-Capability": daemon.remoteAccessManagement.capability, + "X-Ling-CSRF-Token": daemon.remoteAccessManagement.csrfToken }, + body: JSON.stringify({ gatewayOrigin: "https://ling-pc.example.ts.net" }), + }); + assert.equal(response.status, 200, await response.text()); + }, wssUrl() { const address = daemon.appServerWss?.address(); assert.ok(address && typeof address === "object"); diff --git a/packages/runner-pi/src/extensions/work-item-coordination.ts b/packages/runner-pi/src/extensions/work-item-coordination.ts index ea30fe004..1b7ccde6b 100644 --- a/packages/runner-pi/src/extensions/work-item-coordination.ts +++ b/packages/runner-pi/src/extensions/work-item-coordination.ts @@ -4,15 +4,47 @@ import type { PiRunnerRunOptions } from "../types.js"; export const WORK_ITEM_COORDINATION_TOOL = "work_item_coordination"; +const id = { type: "string", minLength: 1, maxLength: 200 } as const; +const references = { type: "array", items: id, maxItems: 12 } as const; +const coordinatorParameters = { + type: "object", additionalProperties: false, required: ["action"], + properties: { + action: { type: "string", enum: ["read_checkpoints", "submit_decision"] }, + workItemId: id, + stageOffset: { type: "integer", minimum: 0 }, + afterEvidenceSequence: { type: "integer", minimum: 0 }, + decision: { + type: "object", additionalProperties: false, + required: ["roundId", "expectedWorkItemRevision", "subject", "decisionKey", "decisionKind", "materiality", "question", + "participantIds", "optionRefs", "evidenceRefs"], + properties: { + roundId: id, expectedWorkItemRevision: { type: "integer", minimum: 1 }, + subject: { + type: "object", additionalProperties: false, required: ["kind", "workflowStepId", "planRevision"], + properties: { kind: { type: "string", enum: ["workflow_stage"] }, workflowStepId: id, planRevision: id }, + }, + decisionKey: id, decisionKind: { type: "string", enum: ["plan_or_contract", "implementation_tradeoff", "recovery_tradeoff", "review_disposition"] }, + materiality: { type: "string", enum: ["low", "medium", "high"] }, question: { type: "string", minLength: 1, maxLength: 1200 }, + participantIds: references, optionRefs: references, evidenceRefs: references, + decisionStepId: id, candidateDigest: { type: "string", pattern: "^[a-f0-9]{64}$" }, + unresolved: { type: "string", enum: ["intent", "fact", "handoff"] }, + }, + }, + }, +} as ToolDefinition["parameters"]; + export function createWorkItemCoordinationExtension(options: PiRunnerRunOptions): ExtensionFactory { return pi => { if (options.initialToolSurface?.workItemCoordination !== true) return; + const coordinator = options.initialToolSurface.workItemCoordinator === true; pi.registerTool({ name: WORK_ITEM_COORDINATION_TOOL, label: "Work Item coordination", - description: "Read the accepted Plan's stages and questions assigned to you. Send a stage a message, ask a question, or reply to an assigned question. A queued receipt means the request was recorded. Continue any independent work while awaiting the next model input.", + description: coordinator + ? "Read open checkpoints, stages and evidence for the Work Items coordinated in this conversation. If a checkpoint has a concrete open decision, submit it with its current Plan, viable options, evidence and participants. A registered decision will be evaluated at close." + : "Read the accepted Plan's stages and questions assigned to you. Send a stage a message, ask a question, or reply to an assigned question. A queued receipt means the request was recorded. Continue any independent work while awaiting the next model input.", executionMode: "sequential", - parameters: { + parameters: coordinator ? coordinatorParameters : { type: "object", additionalProperties: false, required: ["action"], properties: { action: { enum: ["read", "send", "ask", "reply"], type: "string" }, diff --git a/packages/runner-pi/src/types.ts b/packages/runner-pi/src/types.ts index 9629dbc13..ed8742bce 100644 --- a/packages/runner-pi/src/types.ts +++ b/packages/runner-pi/src/types.ts @@ -505,6 +505,7 @@ export interface PiRunnerRunOptions { /** Original Host registry selection; callback presence alone never enables schema preparation. */ readonly delegation?: boolean; readonly workItemCoordination?: boolean; + readonly workItemCoordinator?: boolean; /** Typed workflow writes use path/content and Host exclusive-create, never the patch writer. Schema only, not authority. */ readonly nativeFileCreate?: boolean; }; From 2b26dd516cf6aeb9f304542a6d8bf077d25e7e9e Mon Sep 17 00:00:00 2001 From: tianxiaochannel-oss88 Date: Thu, 26 Nov 2026 16:49:53 +0800 Subject: [PATCH 124/147] Verify App Server clients across a protocol 1 cutover --- .../ling-app-server-implementation-plan.md | 2 + .../app-server-release-acceptance.test.ts | 129 +++++++++++++++++- 2 files changed, 129 insertions(+), 2 deletions(-) diff --git a/docs/design/ling-app-server-implementation-plan.md b/docs/design/ling-app-server-implementation-plan.md index d149bf910..e94660652 100644 --- a/docs/design/ling-app-server-implementation-plan.md +++ b/docs/design/ling-app-server-implementation-plan.md @@ -80,6 +80,8 @@ 源码兼容用例由 `LING_APP_SERVER_PREVIOUS_BUILD` 指向已构建的上一版源码目录。`LING_APP_SERVER_CODEX_EXECUTABLE` 指向已安装的 Codex。两项均使用隔离状态和回环服务,配置 Pi Runner 使用脚本化 Provider。 [发行验收测试](../../packages/daemon/test/app-server-release-acceptance.test.ts) +同协议切换用例由 `LING_APP_SERVER_BASELINE_BUILD` 指向已构建的 `main@05cb86a41`,涵盖 #747 已合并的 `ling-app-server/1`。候选 SDK、CLI、MCP 和 Codex 宿主连接该 Daemon,核对支持的工具、缺少所需能力时的拒绝和活跃 Turn 入队。切换到候选 Daemon 后,原 SDK、CLI 和 MCP 连接同一隔离工作区,重读待处理审批和旧游标,按原键读取一次派发的后继 Run。用例把旧 Daemon 停在跟进已入队、派发尚未发生的位置。真实 Codex 宿主部分使用 `LING_APP_SERVER_CODEX_EXECUTABLE`。 [协议切换验收](../../packages/daemon/test/app-server-release-acceptance.test.ts) + Windows 源码验收使用独立的 GitHub Actions 作业,启动真实 CLI stdio 和受控 Daemon,在回环 WebSocket 上发起一个 Turn,用 stdio 接收终态,再重启 Daemon 并从原游标恢复事件。macOS 和 Linux 还验证私有 Unix socket 的连接与清理。CLI 的 `app-server schema` 导出方法、通知及服务端请求的合同。TypeScript 客户端用握手实例区分重连和 Daemon 重启。 [Windows 传输验收](../../.github/workflows/app-server-windows.yml) ### 受保护 GitHub 合并队列 diff --git a/packages/daemon/test/app-server-release-acceptance.test.ts b/packages/daemon/test/app-server-release-acceptance.test.ts index 5d5c5dc99..326f8cde5 100644 --- a/packages/daemon/test/app-server-release-acceptance.test.ts +++ b/packages/daemon/test/app-server-release-acceptance.test.ts @@ -88,6 +88,7 @@ import { LATEST_PROTOCOL_VERSION } from "@modelcontextprotocol/sdk/types.js"; import { createRunnerRegistry, type RunnerRegistrationInput } from "../dist/runtime/runners.js"; import { createCodexAppServerAdapter } from "../dist/runtime/adapters/codex-app-server.js"; import { resolveAppServerGitHubSources, type AppServerGitHubSourceConfig } from "../dist/server/app-server-github-sources.js"; +import { runLingCodexHost } from "../dist/server/app-server-codex-host.js"; import { startLoopbackPiProvider } from "./support/loopback-pi-provider-fixture.mjs"; import { startFakeCodexAppServer } from "./test-support/fake-codex-app-server.ts"; import { verifyWorkItemStageToolRequest } from "../../core/dist/storage/sqlite/work-item-stage-tool-settlement.js"; @@ -7017,6 +7018,130 @@ test("candidate App Server recovers v0.6.1 Thread state and preserves legacy cli assert.deepEqual(operation.checks.map((check: { status: string }) => check.status), ["blocked"]); }); +const baselineBuild = process.env.LING_APP_SERVER_BASELINE_BUILD; +test("App Server protocol 1 clients, CLI, MCP and Codex host interoperate across the main-to-candidate cutover", { + skip: !baselineBuild, timeout: 45_000, +}, async t => { + const built = (path: string) => pathToFileURL(join(baselineBuild!, "packages", path)).href; + const [daemon, core, sdk] = await Promise.all([ + import(built("daemon/dist/index.js")) as Promise & { runLingAppServerMcp: typeof runLingAppServerMcp }>, + import(built("core/dist/index.js")) as Promise>, + import(built("api-client/dist/index.js")) as Promise<{ LingAppServerClient: typeof LingAppServerClient }>, + ]); + let releaseFirst: () => void = () => undefined; + const first = new Promise(resolve => { releaseFirst = resolve; }); + const provider = await startLoopbackPiProvider(async (_body: unknown, index: number) => { + if (index === 1) await first; + return { text: index === 1 ? "Baseline Turn complete" : "Candidate follow-up complete" }; + }); + t.after(async () => { releaseFirst(); await provider.close(); }); + const fixture = await releaseFixture(t, { initialRuntime: { ...core, ...daemon } }); + const connect = (Client = LingAppServerClient, requiredCapabilities?: ["workItem.device"]) => { + const { daemonUrl, authToken, cwd } = fixture.transportOptions(); + const url = new URL("/app-server/rpc", daemonUrl); + url.protocol = "ws:"; + url.searchParams.set("cwd", cwd); + const client = new Client({ url: url.href, clientInfo: { name: "cutover-fixture", version: "1" }, requiredCapabilities, autoReconnect: false, + requestTimeoutMs: 3_000, + createSocket: address => new WebSocket(address, { headers: { Authorization: `Bearer ${authToken}` } }) as unknown as LingAppServerSocket }); + t.after(() => client.close()); + return client; + }; + const probe = async (entry: string) => { + const { daemonUrl, authToken, cwd } = fixture.transportOptions(); + const { stdout } = await promisify(execFile)(process.execPath, [entry, "--cwd", cwd, "--daemon-url", daemonUrl, "app-server", "probe"], + { env: { ...process.env, LING_STACK_AUTH_TOKEN: authToken }, timeout: 8_000 }); + assert.equal(JSON.parse(stdout).ok, true); + }; + const current = connect(); + const currentCli = fileURLToPath(new URL("../../cli/dist/index.js", import.meta.url)); + await probe(currentCli); + const baselineCapabilities = await current.getCapabilities(); + assert.ok(baselineCapabilities.capabilities.includes("turn.control")); + assert.ok(!baselineCapabilities.capabilities.includes("workItem.device")); + await assert.rejects(connect(LingAppServerClient, ["workItem.device"]).startThread({ threadId: "requires-device", title: "Requires device" }), + { code: "required_capability_unavailable" }); + const store = fixture.getStore(); + assert.equal(store.getLingThread("requires-device"), undefined); + const { thread } = await current.startThread({ title: "Protocol cutover" }) as ThreadRead; + const mcp = await connectReleaseMcp(t, fixture.transportOptions()); + const { tools } = await mcp.host.call<{ tools: { name: string }[] }>("tools/list"); + assert.ok(tools.some(tool => tool.name === "ling_turn_start")); + assert.ok(!tools.some(tool => tool.name === "ling_work_item_device_read")); + let host: ReturnType | undefined; + let closeHost: (() => Promise) | undefined; + if (codexExecutable) { + const input = new PassThrough(), output = new PassThrough(); + host = jsonLines(input, output); + const controller = new AbortController(); + const running = runLingCodexHost({ ...fixture.transportOptions(), codexExecutable, threadId: thread.id, + statePath: join(fixture.root, "baseline-codex-host.sqlite"), + }, controller.signal, input, output); + closeHost = async () => { controller.abort(); await running; }; + t.after(closeHost); + const ready = await Promise.race([running.then(() => assert.fail("Codex host exited before ready")), + waitFor(() => host!.notices.find(notice => notice.method === "ready"))]); + assert.match(ready.params?.codexUserAgent ?? "", /codex/iu); + } + + const preset = addLoopbackPreset(store, provider.baseUrl); + const { run } = await mcp.callTool<{ run: { id: string } }>("ling_turn_start", { threadId: thread.id, + providerPresetId: preset.id, message: "Start the baseline Turn.", idempotencyKey: "cutover-source" }); + await waitFor(() => provider.requests.length === 1 ? true : undefined); + const original = await current.readThreadSnapshot({ threadId: thread.id }); + assert.ok(original.turn); + const followUp = { threadId: thread.id, expectedTurnId: original.turn.id, expectedTurnRevision: original.turn.updatedAt, + message: "Continue after cutover.", idempotencyKey: "cutover-followup" }; + type QueueReceipt = { intervention: RunIntervention; replayed: boolean }; + const { threadId: _threadId, ...hostFollowUp } = followUp; + const { intervention } = host ? await host.call("ling/queue", hostFollowUp) : await current.queueTurn(followUp) as QueueReceipt; + assert.equal(intervention.status, "queued"); + if (host) await waitFor(() => host!.notices.find(notice => notice.method === "turn/started" && notice.params?.subject?.turnId === original.turn?.id)); + + const now = new Date().toISOString(); + const approvalThread = store.createLingThread({ kind: "conversation", title: "Pending approval", objective: "Preserve approval ownership" }, now); + const approvalRun = store.createRun({ id: "cutover-approval-run", threadId: approvalThread.id, cwd: fixture.cwd, taskId: "cutover-approval-task", + providerName: "fixture", providerModel: "fixture", taskSnapshot: {}, providerSnapshot: {}, requestSnapshot: {}, createdAt: now }); + store.createLingTurn({ threadId: approvalThread.id, kind: "initial_request", title: "Pending tool", userInstruction: "Check the fixture", lastRunId: approvalRun.id }, now); + store.markRunStarted(approvalRun.id, now); + const approval = store.createApprovalRequest({ runId: approvalRun.id, taskId: approvalRun.taskId, toolCallId: "cutover-tool", + actionType: "bash", risk: "high", title: "Fixture approval", description: "Verify approval recovery across protocol 1 builds", + payload: { type: "bash", cwd: fixture.cwd, command: "true", riskFlags: [] } }, now); + store.claimNextRunIntervention = () => undefined; + releaseFirst(); + await waitFor(() => store.getRun(run.id)?.status === "succeeded" ? true : undefined); + assert.equal(store.getRunIntervention(intervention.id)?.status, "queued"); + current.close(); + await mcp.close(); + await closeHost?.(); + await fixture.restart(); + + const previous = connect(sdk.LingAppServerClient); + await probe(join(baselineBuild!, "packages/cli/dist/index.js")); + const previousMcp = await connectReleaseMcp(t, fixture.transportOptions(), daemon.runLingAppServerMcp); + const observed = await previousMcp.callTool<{ run: { id: string }; cursor: string }>("ling_thread_snapshot", { threadId: approvalThread.id }); + assert.equal(observed.run.id, approvalRun.id); + assert.ok(observed.cursor); + const pending = await previous.readThreadSnapshot({ threadId: approvalThread.id }); + assert.ok(pending.pendingApprovals.some(item => item.id === approval.id)); + await previous.respondApproval({ approvalId: approval.id, runId: approvalRun.id, decision: "deny" }); + const currentStore = fixture.getStore(); + assert.equal(currentStore.getApprovalRequest(approval.id)?.status, "denied"); + const after = await waitFor(async () => { + const snapshot = await previous.readThreadSnapshot({ threadId: thread.id }); + return snapshot.turn?.id !== original.turn!.id && snapshot.run?.status === "succeeded" + && currentStore.getRunIntervention(intervention.id)?.completedAt ? snapshot : undefined; + }); + assert.ok(after.run); + assert.equal((await previous.queueTurn(followUp) as QueueReceipt).intervention.id, intervention.id); + assert.equal(currentStore.getRunIntervention(intervention.id)?.continuationRunId, after.run.id); + const replay = await previous.readThreadEvents({ threadId: thread.id, cursor: original.cursor, limit: 100 }); + assert.equal(replay.window.disposition, "complete"); + assert.ok(replay.events.every(event => event.seq > replay.window.requestedAfterSeq)); + assert.equal(replay.events.filter(event => event.entityId === after.run!.id && event.action === "run.completed").length, 1); + assert.equal(provider.requests.length, 2); +}); + type JsonLine = { id?: number; method?: string; @@ -7054,9 +7179,9 @@ function jsonLines(input: Writable, output: Readable) { } }; } -async function connectReleaseMcp(t: TestContext, options: Parameters[0]) { +async function connectReleaseMcp(t: TestContext, options: Parameters[0], runMcp = runLingAppServerMcp) { const input = new PassThrough(), output = new PassThrough(); - const running = runLingAppServerMcp(options, input, output); + const running = runMcp(options, input, output); const close = async () => { if (!input.writableEnded) input.end(); await running; From 84698eccb872d47f2cd326bab7ac82feb1c90cf1 Mon Sep 17 00:00:00 2001 From: tianxiaochannel-oss88 Date: Thu, 26 Nov 2026 17:13:28 +0800 Subject: [PATCH 125/147] Complete App Server method schemas and preserve protocol 1 receipts --- .../ling-app-server-implementation-plan.md | 6 +- packages/contracts/src/app-server-schema.ts | 406 ++++++++++++++---- .../contracts/test/app-server-schema.test.ts | 5 + .../app-server-release-acceptance.test.ts | 50 ++- 4 files changed, 378 insertions(+), 89 deletions(-) diff --git a/docs/design/ling-app-server-implementation-plan.md b/docs/design/ling-app-server-implementation-plan.md index e94660652..c4c597781 100644 --- a/docs/design/ling-app-server-implementation-plan.md +++ b/docs/design/ling-app-server-implementation-plan.md @@ -2,7 +2,7 @@ - **状态** App Server 本机传输、Turn 控制与恢复、Verify 和 Federation 已通过定向验收。Agent Operating Model 已接入工作项接单、控制和协作记录。下文列出完整实施与发行仍需完成的工作包。 - **维护者** Contracts、Daemon、Runtime、API Client、CLI 与开发工具维护者 -- **核对基线** `origin/main@05cb86a41` +- **核对基线** `origin/main@00966e865` - **类型** 开发准备、依赖顺序和验收计划 - **合同** [产品与架构设计](ling-app-server.md) · [详细设计](ling-app-server-detailed-design.md) - **代码与测试锚点** [Daemon RPC](../../packages/daemon/src/server/rpc.ts) · [控制面往返测试](../../packages/daemon/test/control-plane-api.test.mjs) · [会话受理收据](../../packages/daemon/test/conversation-submission-receipts.test.mjs) · [框架验收](ling-framework-complementary-implementation-plan.md) @@ -82,6 +82,8 @@ 同协议切换用例由 `LING_APP_SERVER_BASELINE_BUILD` 指向已构建的 `main@05cb86a41`,涵盖 #747 已合并的 `ling-app-server/1`。候选 SDK、CLI、MCP 和 Codex 宿主连接该 Daemon,核对支持的工具、缺少所需能力时的拒绝和活跃 Turn 入队。切换到候选 Daemon 后,原 SDK、CLI 和 MCP 连接同一隔离工作区,重读待处理审批和旧游标,按原键读取一次派发的后继 Run。用例把旧 Daemon 停在跟进已入队、派发尚未发生的位置。真实 Codex 宿主部分使用 `LING_APP_SERVER_CODEX_EXECUTABLE`。 [协议切换验收](../../packages/daemon/test/app-server-release-acceptance.test.ts) +Schema 导出覆盖 143 个已登记方法,包含已实现方法的请求与成功回执,以及预留方法的不可用合同。实际 Daemon 回归覆盖旧版 Turn 权限输入、带签名的旧游标、归档会话的删除凭据、无 Run 的媒体产物及重启后保留的协作证据。扩展字段按同协议兼容规则保留。 [协议 Schema](../../packages/contracts/src/app-server-schema.ts) · [发行验收](../../packages/daemon/test/app-server-release-acceptance.test.ts) + Windows 源码验收使用独立的 GitHub Actions 作业,启动真实 CLI stdio 和受控 Daemon,在回环 WebSocket 上发起一个 Turn,用 stdio 接收终态,再重启 Daemon 并从原游标恢复事件。macOS 和 Linux 还验证私有 Unix socket 的连接与清理。CLI 的 `app-server schema` 导出方法、通知及服务端请求的合同。TypeScript 客户端用握手实例区分重连和 Daemon 重启。 [Windows 传输验收](../../.github/workflows/app-server-windows.yml) ### 受保护 GitHub 合并队列 @@ -104,7 +106,7 @@ O9 联合回归在同一 Work Item 确认双端订阅、阶段进度、暂停与 | 工作包 | 代码或验收差距 | | --- | --- | -| A1、B1、C1、C2 | 全方法的 Schema 校验和更多宿主兼容组合。workspace、Thread、Work Item 的 grant 和 WSS 已接入。专用 TLS 监听器实测分离控制和答复权限,支持用户答复原回执与撤权。审批和答复仍需在其他宿主和实际远程部署验收。目标游标已绑定存储代次、授权代次和目标,本机兼容用例覆盖上一版源码与候选组合。 | +| A1、B1、C1、C2 | workspace、Thread、Work Item 的 grant 和 WSS 已接入。专用 TLS 监听器实测分离控制和答复权限,支持用户答复原回执与撤权。目标游标已绑定存储代次、授权代次和目标。审批和答复仍需在其他宿主和实际远程部署验收。 | | D1、D2、E1、E2 | 开工与 Pi 运行中的项目规则加载、显式 Claude 规则、两个开发 Skill、工作区 Verify、独立 verifier basis、托管工作树管理、候选改动分页、Turn 改动恢复、选中 hunk 转移和工作台浏览器验证报告已接入。各发行平台验证仍待完成。 | | F1、F2 | 普通会话 Handoff 的候选封存、Goal 预算承接与接手已接入。CLI `app-server codex-host --thread --state --view` 在回环地址提供双端会话视图。本机 Codex 0.171.0-alpha.13、实际 Ling Daemon 与受控 Provider 联调验证两端状态、Ling 在途排队、活跃 Codex Turn 指导、浏览器重连补齐、回执重放和审批提醒。故障回归覆盖原状态库升级、未写出的请求在重连后补投一次,以及已发出但缺少有效回执时保留待确认结果。Pi Host 预算路径的逐请求预留已使用受控 Provider 验证,仍需真实 Provider、隔离工作树和其他 Runner 的对应验收。 | | O1、O3–O9 | GitHub 签名 webhook、轮询和显式接单归并至同一工作项。自动接单策略处理免打扰、并发、启动额度和派发前状态重查。现有 Task、AutomationRun 和同频道用户输入可显式关联工作项。已接受的计划能自动开启声明的阶段审议,并可等待当前 Workflow 结果包的交接回执。受影响阶段可单独暂停,后继阶段可显式引用已收敛或仍在途的独立成果,待执行阶段可接收定向消息和有原 Run 证据的 Agent 答复。工作项暂停期间拒绝新增定向消息。阶段客户端和支持协作工具的 Pi 阶段按 Run/Attempt 收发,Pi 在下一次模型输入接收消息和问答。Workflow 执行使用工作项重试上限,并可依据跨 Run 的结构化故障记录暂停单项阶段。可信 Verify 和已接受 Plan 指定的 Review 均可提供停滞恢复证据。决策检查点支持计划前和在途阶段的建议、接受与手工裁决。Device Work Item Bridge 的持久映射、receipt 账本和 App Server 入口已实现。已接受阶段可显式或按 Host 策略开启独立只读审议、按质疑结果投票,并将裁决应用到声明的候选依赖。定时检查点的登记和关轮自动评估已接入 App Server、SDK、MCP 和频道 Ling Agent。原生 Agent 使用独立 Verify、Review 与阶段产物时仍需 Work Item 授权的执行路径。跨主机 Device Fabric owner host 对接仍待完成。 | diff --git a/packages/contracts/src/app-server-schema.ts b/packages/contracts/src/app-server-schema.ts index 70a3039c5..56e5d9ce1 100644 --- a/packages/contracts/src/app-server-schema.ts +++ b/packages/contracts/src/app-server-schema.ts @@ -1,8 +1,13 @@ import { + LING_APP_SERVER_COLLABORATION_ACTIONS, + LING_APP_SERVER_COLLABORATION_KINDS, LING_APP_SERVER_DECISION_MATERIALITIES, LING_APP_SERVER_DELIBERATION_CHECKPOINTS, LING_APP_SERVER_DELIBERATION_DECISION_KINDS, LING_APP_SERVER_DELIBERATION_OUTCOMES, + LING_APP_SERVER_EXTERNAL_AGENT_ADAPTER_KINDS, + LING_APP_SERVER_EXTERNAL_AGENT_SOURCES, + LING_APP_SERVER_GRANT_SCOPES, LING_APP_SERVER_METHODS, LING_APP_SERVER_NOTIFICATION_METHODS, LING_APP_SERVER_PROTOCOL_VERSION, @@ -13,6 +18,7 @@ import { type LingAppServerNotificationMethod, type LingAppServerServerRequestMethod, } from "./app-server.js"; +import { conversationModeKinds, lingThreadKinds } from "./threads.js"; /** The subset of JSON Schema used by the App Server contract registry. */ export interface LingAppServerJsonSchema { @@ -25,6 +31,7 @@ export interface LingAppServerJsonSchema { readonly items?: LingAppServerJsonSchema; readonly enum?: readonly (string | number | boolean | null)[]; readonly oneOf?: readonly LingAppServerJsonSchema[]; + readonly not?: LingAppServerJsonSchema; readonly description?: string; } @@ -54,6 +61,38 @@ const integerSchema: LingAppServerJsonSchema = { type: "integer" }; const booleanSchema: LingAppServerJsonSchema = { type: "boolean" }; const arraySchema: LingAppServerJsonSchema = { type: "array" }; const stringArraySchema: LingAppServerJsonSchema = { type: "array", items: stringSchema }; +const arrayOf = (items: LingAppServerJsonSchema): LingAppServerJsonSchema => ({ type: "array", items }); +const nullable = (schema: LingAppServerJsonSchema): LingAppServerJsonSchema => ({ oneOf: [schema, { type: "null" }] }); +const workspaceParams = objectWith({ cwd: stringSchema }); +const identity = { id: stringSchema }; +const threadMode = { enum: conversationModeKinds }; +const thread = objectWith({ ...identity, workspaceId: stringSchema, kind: { enum: lingThreadKinds }, title: stringSchema, + objective: stringSchema, status: stringSchema, updatedAt: stringSchema, createdAt: stringSchema, + channelId: stringSchema, activeRunId: stringSchema, lastRunId: stringSchema, parentThreadId: stringSchema, archivedAt: stringSchema, +}, ["id", "workspaceId", "kind", "title", "objective", "status", "updatedAt", "createdAt"]); +const threadResultFields = { cwd: stringSchema, thread }; +const threadResultKeys = Object.keys(threadResultFields); +const goal = objectWith({ ...identity, objective: stringSchema, status: stringSchema, tokenBudget: integerSchema, + tokensUsed: integerSchema, timeUsedSeconds: { type: "number" }, updatedAt: stringSchema }, ["id", "objective", "status", "updatedAt"]); +const turn = objectWith({ ...identity, threadId: stringSchema, kind: stringSchema, status: stringSchema, title: stringSchema, + userInstruction: stringSchema, createdAt: stringSchema, updatedAt: stringSchema, activeRunId: stringSchema, lastRunId: stringSchema, +}, ["id", "threadId", "kind", "status", "title", "userInstruction", "createdAt", "updatedAt"]); +const run = objectWith({ ...identity, status: stringSchema, startedAt: stringSchema, endedAt: stringSchema }, ["id", "status"]); +const item = objectWith({ ...identity, threadId: stringSchema, turnId: stringSchema, kind: stringSchema, status: stringSchema, + revision: integerSchema, sequence: integerSchema, payload: objectSchema }, ["id", "threadId", "kind", "status", "revision", "sequence", "payload"]); +const submissionReceipt = objectWith({ cwd: stringSchema, idempotencyKey: stringSchema, status: { enum: ["accepted", "unknown"] }, + threadId: stringSchema, turnId: stringSchema, sourceItemId: stringSchema, sourceItem: item }, ["cwd", "idempotencyKey", "status"]); +const intervention = objectWith({ ...identity, sourceRunId: stringSchema, continuationRunId: stringSchema, + mode: stringSchema, status: stringSchema, idempotencyKey: stringSchema, createdAt: stringSchema, updatedAt: stringSchema }, + ["id", "sourceRunId", "mode", "status", "idempotencyKey", "createdAt", "updatedAt"]); +const interventionResult = objectWith({ cwd: stringSchema, threadId: stringSchema, turnId: stringSchema, + intervention, replayed: booleanSchema }, ["cwd", "threadId", "turnId", "intervention", "replayed"]); +const grantSubject = { oneOf: [objectWith({ kind: { enum: ["workspace"] } }, ["kind"]), + objectWith({ kind: { enum: ["thread", "workItem"] }, ...identity }, ["kind", "id"])] }; +const grantScopes = arrayOf({ enum: LING_APP_SERVER_GRANT_SCOPES }); +const grant = objectWith({ grantId: stringSchema, label: stringSchema, subject: grantSubject, scopes: grantScopes, + revision: integerSchema, createdAt: stringSchema, expiresAt: stringSchema, revokedAt: stringSchema }, + ["grantId", "label", "subject", "scopes", "revision", "createdAt", "expiresAt"]); const clientInfo = objectWith({ name: stringSchema, version: stringSchema }, ["name", "version"]); const handshakeLimits = objectWith({ maxInboundFrameBytes: integerSchema, maxOutboundFrameBytes: integerSchema, @@ -178,9 +217,61 @@ const nativeIntakeReceiptSchema = objectWith({ "sourceRevision", "executionId", "evaluatedAt", "reasonCode", "outcome"]); const subscriptionResult = objectWith({ disposition: { enum: ["complete", "snapshot_required"] }, subscriptionId: stringSchema, cursor: stringSchema, window: objectSchema }, ["disposition"]); +// Evidence persisted by protocol 1 can carry opaque metadata alongside the reference identity. +const sourceRef = objectWith({ ...identity, type: stringSchema }, ["id", "type"]); const collaborationAppend = { ...workItemTarget, idempotencyKey: stringSchema, actorId: stringSchema, expectedWorkItemRevision: integerSchema, expectedCollaborationRevision: integerSchema, parentRecordId: stringSchema, - sourceRefs: arraySchema, payload: {} }; + sourceRefs: arrayOf(sourceRef), payload: {} }; +const evidenceKinds = ["observation", "proposal", "challenge", "evidence_ref", "correction", "recommendation", "decision_ref", "stage_recovery_ref"] as const; +const visibility = { enum: ["work_item", "participants", "owner"] }; +const evidenceEntry = objectWith({ ...identity, ...workItemTarget, workspaceId: stringSchema, revision: integerSchema, sequence: integerSchema, + subjectRevision: stringSchema, kind: { enum: evidenceKinds }, actorId: stringSchema, content: stringSchema, optionId: stringSchema, + sourceRefs: arrayOf(sourceRef), visibility, idempotencyKey: stringSchema, createdAt: stringSchema, updatedAt: stringSchema }, +["id", "workItemId", "workspaceId", "revision", "sequence", "subjectRevision", "kind", "actorId", "content", "sourceRefs", "visibility", "idempotencyKey", "createdAt", "updatedAt"]); +const collaborationKind = { enum: LING_APP_SERVER_COLLABORATION_KINDS }; +const collaborationAction = { enum: LING_APP_SERVER_COLLABORATION_ACTIONS }; +const collaborationRecord = objectWith({ ...identity, ...workItemTarget, workspaceId: stringSchema, + collaborationRevision: integerSchema, workItemRevision: integerSchema, kind: collaborationKind, action: collaborationAction, + actorId: stringSchema, payload: {}, parentRecordId: stringSchema, sourceRefs: arrayOf(sourceRef), idempotencyKey: stringSchema, + createdAt: stringSchema, updatedAt: stringSchema }, ["id", "workItemId", "workspaceId", "collaborationRevision", "workItemRevision", + "kind", "action", "actorId", "payload", "sourceRefs", "idempotencyKey", "createdAt", "updatedAt"]); +const collaborationMutationFields = { cwd: stringSchema, status: { enum: ["appended", "replayed"] }, + record: collaborationRecord, workItemRevision: integerSchema }; +const collaborationMutationKeys = ["status", "record", "workItemRevision"]; +const collaborationMutation = objectWith(collaborationMutationFields, collaborationMutationKeys); +const stageExecution = objectWith({ runId: stringSchema, attemptId: stringSchema }, ["runId", "attemptId"]); +const workItemStage = objectWith({ stepId: stringSchema, stageId: stringSchema, title: stringSchema, status: stringSchema, + participantLabel: stringSchema, dependencyIds: stringArraySchema, updatedAt: stringSchema, runId: stringSchema, outputArtifactId: stringSchema, + admissionBlocker: stringSchema, brief: stringSchema, messageReceiver: stageExecution, recoveryVerification, recoveryReview, + decision: objectSchema, handoffs: arrayOf(objectSchema), retryBudget: objectSchema, usage: objectSchema, progress: objectSchema, + briefBasis: objectWith({ transitionId: stringSchema, committedAt: stringSchema }, ["transitionId", "committedAt"]), + retainedStageResults: arrayOf(objectSchema), retainedStageExecutions: arrayOf(objectSchema), +}, ["stepId", "title", "status", "participantLabel", "dependencyIds", "updatedAt"]); +const stageWorkflow = objectWith({ workflowId: stringSchema, planRevision: stringSchema, workItemRevision: integerSchema, + status: stringSchema, admissionBlocker: stringSchema, nextOffset: integerSchema, steps: arrayOf(workItemStage), + usage: objectSchema, goalBudget: objectSchema }, ["workflowId", "planRevision", "status", "steps"]); +const collaborationQuery = { ...workItemTarget, afterRevision: integerSchema, limit: integerSchema }; +const collaborationPageFields = { cwd: stringSchema, ...workItemTarget, records: arrayOf(collaborationRecord), nextAfterRevision: integerSchema }; +const collaborationPageKeys = Object.keys(collaborationPageFields); +const coordinationScheduleFields = { automationId: stringSchema, ...workItemTarget, enabled: booleanSchema, + kind: { enum: ["checkpoint", "retrospective"] }, durationMs: integerSchema }; +const coordinationSchedule = objectWith({ ...coordinationScheduleFields, revision: integerSchema }, + [...Object.keys(coordinationScheduleFields), "revision"]); +const controlReceipt = objectWith({ ...identity, action: { enum: ["pause", "resume", "cancel"] }, generation: stringSchema, + requestedAt: stringSchema, actorId: stringSchema, reason: stringSchema, outcome: { enum: ["accepted", "settling", "settled", "blocked"] } }, + ["id", "action", "generation", "requestedAt", "actorId", "outcome"]); +const workItemControl = objectWith({ state: { enum: ["active", "pausing", "paused", "cancelling", "cancelled", "blocked"] }, + generation: stringSchema, receipt: controlReceipt, unresolvedEffectIds: stringArraySchema, recoveryOwner: stringSchema }, + ["state", "generation", "unresolvedEffectIds"]); +const workItemHold = objectWith({ ...identity, kind: { enum: ["plan", "control", "approval", "unknown_effect", "scope", "dependency"] }, + ownerRef: stringSchema, reason: stringSchema, blocksNewAdmission: booleanSchema, workflowStepIds: stringArraySchema }, + ["id", "kind", "ownerRef", "reason", "blocksNewAdmission"]); +const workItem = objectWith({ ...workItemTarget, workspaceId: stringSchema, revision: stringSchema, planRevision: stringSchema, + goalRevision: stringSchema, status: stringSchema, control: workItemControl, holds: arrayOf(workItemHold), currentExecutionRefs: stringArraySchema, + linkedExecution: objectSchema, eventCursor: stringSchema }, ["workItemId", "workspaceId", "revision", "status", "control", "holds", "currentExecutionRefs"]); +const workItemResult = { cwd: stringSchema, workItem, sourceReceipt: objectSchema }; +const workItemResultKeys = ["cwd", "workItem"]; +const dispatchStatus = { enum: ["pending", "admitted", "held"] }; const deliberationSettlement = { ...workItemTarget, roundId: stringSchema, expectedRoundRevision: integerSchema, expectedWorkItemRevision: integerSchema, idempotencyKey: stringSchema, reason: stringSchema }; const deliberationSettlementFields = ["workItemId", "roundId", "expectedRoundRevision", "expectedWorkItemRevision", "idempotencyKey", "reason"]; @@ -206,6 +297,14 @@ const reviewResult = { ["workItemId", "controlGeneration"]), }; const worktreeTarget = { ownerKind: { enum: ["channel", "teammate"] }, ownerId: stringSchema }; +const worktreeEntry = objectWith({ ...worktreeTarget, ownerName: stringSchema, path: stringSchema, branchName: stringSchema, + status: { enum: ["ready", "missing", "blocked", "not_created"] }, isDirty: booleanSchema, inUse: booleanSchema, pinned: booleanSchema, + kept: booleanSchema, lastUsedAt: stringSchema, initialization: objectSchema, errorMessage: stringSchema }, + ["ownerKind", "ownerId", "ownerName", "path", "status", "isDirty", "inUse"]); +const worktreeSnapshot = objectWith({ ...worktreeTarget, ...identity, ownerName: stringSchema, originalPath: stringSchema, + snapshotPath: stringSchema, branchName: stringSchema, createdAt: stringSchema, state: { enum: ["prepared", "archived", "restoring", "restored", "blocked"] }, + errorMessage: stringSchema }, ["ownerKind", "ownerId", "id", "ownerName", "originalPath", "snapshotPath", "branchName", "createdAt", "state"]); +const worktreeResult = { cwd: stringSchema, entry: worktreeEntry }; const changeWorktree = objectWith(worktreeTarget, ["ownerKind", "ownerId"]); const changeSource = { cwd: stringSchema, sourceWorktree: changeWorktree }; const candidateResult = { cwd: stringSchema, candidate, coverage: { enum: ["complete", "partial"] }, headCommit: stringSchema }; @@ -257,6 +356,33 @@ const deliveryResult = objectWith({ mergedCommit: stringSchema, observedAt: stringSchema }, ["deliveryId", "workItemId", "acceptanceId", "threadId", "candidateDigest", "policyRevision", "subject", "baseCommit", "checks", "status", "observedAt"]), }, ["cwd", "delivery"]); +const intakeReceipt = objectWith({ receiptId: stringSchema, sourceEventId: stringSchema, origin: { enum: ["webhook", "poll"] }, + repository: stringSchema, policyRevision: stringSchema, subject: objectWith(gitHubTarget, ["kind", "number"]), + outcome: { enum: ["manual", "suggested", "accepted", "suppressed", "paused", "deduplicated"] }, reasonCode: stringSchema, + workItemId: stringSchema, evaluatedAt: stringSchema }, + ["receiptId", "sourceEventId", "origin", "repository", "policyRevision", "subject", "outcome", "reasonCode", "evaluatedAt"]); +const instructionSource = objectWith({ path: stringSchema, digest: stringSchema, scope: stringSchema, applicable: booleanSchema, + textBytes: integerSchema, origin: { enum: ["claude"] }, pathPatterns: stringArraySchema }, ["path", "digest", "scope", "applicable"]); +const instructionManifest = objectWith({ version: { enum: [1] }, digest: stringSchema, sources: arrayOf(instructionSource), + omitted: stringArraySchema, claudeProjectRules: stringArraySchema }, ["version", "digest", "sources", "omitted"]); +const handoffFields = { handoffId: stringSchema, sourceThreadId: stringSchema, sourceTurnId: stringSchema, sourceRunId: stringSchema, + sourceTurnRevision: stringSchema, createdAt: stringSchema, candidate, nextInstruction: stringSchema, artifactIds: stringArraySchema }; +const handoff = objectWith({ ...handoffFields, goal, plan: objectWith({ ...identity, revision: integerSchema }, ["id", "revision"]) }, + Object.keys(handoffFields)); +const handoffResult = objectWith({ cwd: stringSchema, handoff }, ["cwd", "handoff"]); +const reviewDisposition = { enum: ["open", "acknowledged", "resolved", "dismissed"] }; +const externalAgentRegistrationFields = { agentId: stringSchema, adapterKind: { enum: LING_APP_SERVER_EXTERNAL_AGENT_ADAPTER_KINDS }, + protocolVersion: stringSchema, displayName: stringSchema, capabilities: stringArraySchema, workspaceScopes: stringArraySchema, + toolScopes: stringArraySchema, approvalModes: stringArraySchema, source: { enum: LING_APP_SERVER_EXTERNAL_AGENT_SOURCES }, version: stringSchema }; +const externalAgentRegistration = objectWith(externalAgentRegistrationFields, Object.keys(externalAgentRegistrationFields)); +const externalTaskSubmissionFields = { ...workItemTarget, workItemRevision: stringSchema, objective: stringSchema, acceptanceSnapshot: {}, + workspaceId: stringSchema, instructionManifestDigest: stringSchema, idempotencyKey: stringSchema }; +const externalTaskSubmission = objectWith({ ...externalTaskSubmissionFields, worktreeId: stringSchema, skillSnapshot: {}, parentLineage: stringArraySchema }, + Object.keys(externalTaskSubmissionFields)); +const externalTaskReceiptFields = { taskId: stringSchema, submissionId: stringSchema, ...workItemTarget, workItemRevision: stringSchema, + status: { enum: ["accepted", "queued", "running", "waiting_for_approval", "completed", "failed", "cancelled", "unknown"] }, dispatchDepth: integerSchema }; +const externalTaskReceipt = objectWith({ ...externalTaskReceiptFields, outcomeReason: stringSchema, eventCursor: stringSchema, parentRunId: stringSchema }, + Object.keys(externalTaskReceiptFields)); function objectWith( properties: Readonly>, @@ -266,7 +392,6 @@ function objectWith( } function schemaFor(method: LingAppServerMethod): LingAppServerMethodSchema { - const result = objectSchema; switch (method) { case "initialize": return { @@ -279,7 +404,7 @@ function schemaFor(method: LingAppServerMethod): LingAppServerMethodSchema { ["protocolVersion", "connectionId", "serverInfo", "effectiveScopes", "capabilities", "limits"]), }; case "server/ping": - return { params: objectSchema, result: pingResult }; + return { params: workspaceParams, result: pingResult }; case "server/recovery/read": return { params: objectWith({ cwd: stringSchema }), result: serverRecoveryResult }; case "server/recovery/prepare": @@ -288,68 +413,101 @@ function schemaFor(method: LingAppServerMethod): LingAppServerMethodSchema { case "server/recovery/reconcile": return { params: objectWith({ cwd: stringSchema, expectedRevision: integerSchema }, ["expectedRevision"]), result: serverRecoveryResult }; case "server/capabilities": - return { params: objectSchema, result: objectWith({ protocolVersion: { enum: [LING_APP_SERVER_PROTOCOL_VERSION] }, + return { params: workspaceParams, result: objectWith({ protocolVersion: { enum: [LING_APP_SERVER_PROTOCOL_VERSION] }, capabilities: stringArraySchema, methods: stringArraySchema, notifications: stringArraySchema }, ["protocolVersion", "capabilities", "methods", "notifications"]) }; case "workspace/list": - return { params: objectSchema, result: objectWith({ workspaces: arraySchema }, ["workspaces"]) }; + return { params: workspaceParams, result: objectWith({ workspaces: arrayOf(objectWith({ cwd: stringSchema, workspaceId: stringSchema }, + ["cwd", "workspaceId"])) }, ["workspaces"]) }; case "workspace/read": return { params: objectWith({ workspaceId: stringSchema }), result: objectWith({ cwd: stringSchema, workspaceId: stringSchema }, ["cwd", "workspaceId"]) }; case "provider/list": case "skill/list": - return { params: objectSchema, result: objectWith({ snapshot: objectSchema, domain: stringSchema }, ["domain"]) }; + return { params: workspaceParams, result: objectWith({ snapshot: objectSchema, domain: stringSchema }, ["domain"]) }; case "model/list": return { params: objectWith({ offset: integerSchema }), result: objectWith({ models: arraySchema }, ["models"]) }; case "skill/read": return { params: objectWith({ skillId: stringSchema }, ["skillId"]), result: objectWith({ skill: objectSchema }, ["skill"]) }; case "permissionProfile/list": - return { params: objectSchema, result: objectWith({ profiles: arraySchema }, ["profiles"]) }; + return { params: workspaceParams, result: objectWith({ cwd: stringSchema, profiles: arrayOf(objectWith({ ...identity, + authorizationModes: stringArraySchema, workspaceAccessModes: stringArraySchema, sessionPermissionModes: stringArraySchema }, + ["id", "authorizationModes", "workspaceAccessModes", "sessionPermissionModes"])) }, ["cwd", "profiles"]) }; case "server/grants/list": - return { params: objectSchema, result: objectWith({ grants: arraySchema }, ["grants"]) }; + return { params: workspaceParams, result: objectWith({ cwd: stringSchema, grants: arrayOf(grant) }, ["cwd", "grants"]) }; case "server/grants/create": - return { params: objectWith({ label: stringSchema, subject: objectSchema, scopes: stringArraySchema, expiresAt: stringSchema, + return { params: objectWith({ label: stringSchema, subject: grantSubject, scopes: grantScopes, expiresAt: stringSchema, credentialSha256: stringSchema, idempotencyKey: stringSchema, stageExecution: objectWith({ runId: stringSchema, attemptId: stringSchema }, ["runId", "attemptId"]), }, ["label", "subject", "scopes", "expiresAt", "credentialSha256", "idempotencyKey"]), - result: objectWith({ grant: objectSchema }, ["grant"]) }; + result: objectWith({ cwd: stringSchema, grant }, ["cwd", "grant"]) }; case "server/grants/revoke": return { params: objectWith({ grantId: stringSchema, expectedRevision: integerSchema, revision: integerSchema }, ["grantId"]), - result: objectWith({ grant: objectSchema }, ["grant"]) }; + result: objectWith({ cwd: stringSchema, grant }, ["cwd", "grant"]) }; case "worktree/list": - return { params: objectSchema, result }; + return { params: workspaceParams, result: objectWith({ cwd: stringSchema, policy: objectSchema, defaultRootDir: stringSchema, + effectiveRootDir: stringSchema, entries: arrayOf(worktreeEntry), limitReached: booleanSchema, snapshots: arrayOf(worktreeSnapshot), + cleanup: objectSchema }, ["cwd", "policy", "defaultRootDir", "effectiveRootDir", "entries", "limitReached"]) }; case "worktree/create": - return { params: objectWith({ ...worktreeTarget, baseBranch: stringSchema }, ["ownerKind", "ownerId"]), result }; + return { params: objectWith({ ...worktreeTarget, baseBranch: stringSchema }, ["ownerKind", "ownerId"]), result: objectWith(worktreeResult, ["cwd", "entry"]) }; case "worktree/refresh": + return { params: changeWorktree, result: objectWith(worktreeResult, ["cwd", "entry"]) }; case "worktree/cleanup/preview": + return { params: changeWorktree, result: objectWith({ ...worktreeResult, expectedRevision: stringSchema }, ["cwd", "entry", "expectedRevision"]) }; case "worktree/cleanup": - return { params: objectWith({ ...worktreeTarget, expectedRevision: stringSchema, confirmed: booleanSchema }, ["ownerKind", "ownerId"]), result }; + return { params: objectWith({ ...worktreeTarget, expectedRevision: stringSchema, confirmed: booleanSchema }, ["ownerKind", "ownerId"]), + result: objectWith({ ...worktreeResult, snapshot: worktreeSnapshot }, ["cwd", "entry", "snapshot"]) }; case "thread/start": - return { params: objectWith({ ...threadTarget, title: stringSchema, objective: stringSchema, kind: stringSchema }), - result: objectWith({ thread: objectSchema }, ["thread"]) }; + return { params: objectWith({ ...threadTarget, title: stringSchema, objective: stringSchema, kind: { enum: lingThreadKinds } }), + result: objectWith({ ...threadResultFields, replayed: booleanSchema }, threadResultKeys) }; case "thread/list": - return { params: objectWith({ limit: integerSchema }), result: objectWith({ threads: arraySchema }, ["threads"]) }; + return { params: objectWith({ limit: integerSchema }), result: objectWith({ cwd: stringSchema, threads: arrayOf(thread) }, ["cwd", "threads"]) }; case "thread/name/set": - return { params: objectWith({ ...threadTarget, title: stringSchema }, ["threadId", "title"]), result }; + return { params: objectWith({ ...threadTarget, title: stringSchema }, ["threadId", "title"]), result: objectWith(threadResultFields, threadResultKeys) }; case "thread/archive": case "thread/unarchive": + return { params: objectWith({ ...threadTarget, expectedRevision: stringSchema, reason: stringSchema }, ["threadId"]), + result: objectWith(threadResultFields, threadResultKeys) }; case "thread/delete": + return { params: objectWith({ ...threadTarget, expectedRevision: stringSchema, reason: stringSchema }, ["threadId"]), + result: objectWith({ cwd: stringSchema, deleted: { enum: [true] }, tombstone: objectWith({ + ...identity, workspaceId: stringSchema, entityType: { enum: ["conversation-thread"] }, entityId: stringSchema, + reason: stringSchema, deletedCounts: objectSchema, createdAt: stringSchema, + }, ["id", "workspaceId", "entityType", "entityId", "deletedCounts", "createdAt"]) }, ["cwd", "deleted", "tombstone"]) }; case "thread/delete/preview": - return { params: objectWith({ ...threadTarget, expectedRevision: stringSchema, reason: stringSchema }, ["threadId"]), result }; + return { params: objectWith(threadTarget, ["threadId"]), result: objectWith({ cwd: stringSchema, ...threadTarget, + revision: stringSchema, allowed: booleanSchema, blockers: stringArraySchema, + dependencies: objectWith({ turnCount: integerSchema, goalId: stringSchema, planIds: stringArraySchema, workItemIds: stringArraySchema }, + ["turnCount", "planIds", "workItemIds"]) }, ["cwd", "threadId", "revision", "allowed", "blockers", "dependencies"]) }; case "thread/read": + return { params: objectWith(threadTarget, ["threadId"]), result: objectWith({ ...threadResultFields, goal: nullable(goal) }, [...threadResultKeys, "goal"]) }; case "thread/goal/get": - case "thread/mode/get": + return { params: objectWith(threadTarget, ["threadId"]), result: objectWith({ cwd: stringSchema, ...threadTarget, goal: nullable(goal) }, + ["cwd", "threadId", "goal"]) }; case "thread/turns/list": + return { params: objectWith({ ...threadTarget, limit: integerSchema }, ["threadId"]), result: objectWith({ cwd: stringSchema, + ...threadTarget, turns: arrayOf(turn), runLinks: arrayOf(objectSchema) }, ["cwd", "threadId", "turns", "runLinks"]) }; case "thread/items/list": + return { params: objectWith({ ...threadTarget, limit: integerSchema, beforeSequence: integerSchema, effectiveOnly: booleanSchema }, ["threadId"]), + result: objectWith({ cwd: stringSchema, ...threadTarget, items: arrayOf(item), nextBeforeSequence: integerSchema }, ["cwd", "threadId", "items"]) }; case "thread/events/read": - return { params: objectWith({ ...threadTarget, limit: integerSchema, beforeSequence: integerSchema, cursor: stringSchema }, ["threadId"]), result }; + return { params: objectWith({ ...threadTarget, limit: integerSchema, afterSeq: { oneOf: [stringSchema, integerSchema] }, cursor: stringSchema }, ["threadId"]), + result: objectWith({ cwd: stringSchema, workspaceId: stringSchema, events: arrayOf(controlPlaneEvent), cursor: stringSchema, window: replayWindow }, + ["cwd", "workspaceId", "events", "window"]) }; + case "thread/mode/get": case "thread/mode/set": - return { params: objectWith({ ...threadTarget, mode: { enum: ["default", "plan"] } }, ["threadId", "mode"]), result }; + return { params: objectWith({ ...threadTarget, mode: threadMode }, method === "thread/mode/set" ? ["threadId", "mode"] : ["threadId"]), + result: objectWith({ cwd: stringSchema, ...threadTarget, mode: objectWith({ mode: threadMode, updatedAt: stringSchema }, ["mode"]) }, + ["cwd", "threadId", "mode"]) }; case "thread/goal/set": case "thread/goal/pause": case "thread/goal/resume": case "thread/goal/clear": case "thread/goal/complete": - return { params: objectWith({ ...threadTarget, expectedGoalRevision: stringSchema }, ["threadId"]), result }; + return { params: objectWith({ ...threadTarget, expectedGoalRevision: stringSchema, objective: stringSchema, tokenBudget: nullable(integerSchema), + replaceExisting: booleanSchema, acceptanceCriteria: arrayOf(objectSchema), supervisionPolicy: objectSchema, + actor: { enum: ["local-user", "ling-agent"] }, reason: stringSchema, evidenceRefs: arrayOf(objectSchema), + completionVerificationSummary: stringSchema, acceptanceEvidence: arrayOf(objectSchema) }, method === "thread/goal/set" ? ["threadId", "objective"] : ["threadId"]), + result: objectWith({ cwd: stringSchema, ...threadTarget, goal }, ["cwd", "threadId", "goal"]) }; case "plan/read": return { params: objectWith({ ...threadTarget, planId: stringSchema, limit: integerSchema }), result: { oneOf: [ objectWith({ cwd: stringSchema, threadId: stringSchema, plan: objectSchema, @@ -363,42 +521,58 @@ function schemaFor(method: LingAppServerMethod): LingAppServerMethodSchema { return { params: objectWith({ ...planTarget, draft: objectWith({ title: stringSchema, bodyMarkdown: stringSchema }, ["title", "bodyMarkdown"]) }, ["threadId", "planId", "expectedRevision"]), result: planActionResult }; case "item/read": - return { params: objectWith({ ...threadTarget, itemId: stringSchema }, ["threadId", "itemId"]), result }; + return { params: objectWith({ ...threadTarget, itemId: stringSchema }, ["threadId", "itemId"]), + result: objectWith({ cwd: stringSchema, item }, ["cwd", "item"]) }; case "context/inspect": - return { params: objectWith({ ...threadTarget, turnId: stringSchema }, ["threadId", "turnId"]), result }; + return { params: objectWith({ ...threadTarget, turnId: stringSchema }, ["threadId", "turnId"]), + result: objectWith({ cwd: stringSchema, ...threadTarget, turnId: stringSchema, projectInstructions: nullable(instructionManifest), + projectInstructionUpdates: arrayOf(objectWith({ runId: stringSchema, manifest: instructionManifest, presentedSourceCount: integerSchema }, + ["runId", "manifest", "presentedSourceCount"])), context: nullable(objectSchema) }, + ["cwd", "threadId", "turnId", "projectInstructions", "context"]) }; case "submission/read": - return { params: objectWith({ ...threadTarget, idempotencyKey: stringSchema }, ["idempotencyKey"]), result }; + return { params: objectWith({ ...threadTarget, idempotencyKey: stringSchema }, ["idempotencyKey"]), result: submissionReceipt }; case "thread/resume": case "thread/snapshot": - return { params: objectWith({ threadId: stringSchema }, ["threadId"]), result: objectWith({ cwd: stringSchema, thread: objectSchema, - cursor: stringSchema, pendingApprovals: arraySchema, pendingInputs: arraySchema }, ["cwd", "thread", "cursor", "pendingApprovals", "pendingInputs"]) }; + return { params: objectWith(threadTarget, ["threadId"]), result: objectWith({ ...threadResultFields, + cursor: stringSchema, turn: nullable(turn), goal: nullable(goal), run: nullable(run), pendingApprovals: arrayOf(objectSchema), pendingInputs: arrayOf(objectSchema) }, + [...threadResultKeys, "cursor", "turn", "goal", "run", "pendingApprovals", "pendingInputs"]) }; case "thread/subscribe": return { params: objectWith({ ...threadTarget, cursor: stringSchema }), result: subscriptionResult }; case "workItem/subscribe": return { params: objectWith({ ...workItemTarget, cursor: stringSchema }, ["workItemId"]), result: subscriptionResult }; case "thread/unsubscribe": case "workItem/unsubscribe": - return { params: objectWith({ subscriptionId: stringSchema }, ["subscriptionId"]), result }; + return { params: objectWith({ subscriptionId: stringSchema }, ["subscriptionId"]), + result: objectWith({ ok: { enum: [true] }, subscriptionId: stringSchema }, ["ok", "subscriptionId"]) }; case "workItem/deliberation/read": - return { params: objectWith({ ...workItemTarget, afterRevision: integerSchema, limit: integerSchema }, ["workItemId"]), - result: objectWith({ workItemId: stringSchema, records: arraySchema, nextAfterRevision: integerSchema, ballots: arraySchema, + return { params: objectWith(collaborationQuery, ["workItemId"]), + result: objectWith({ ...collaborationPageFields, ballots: arrayOf(objectSchema), deliberationWorkflows: { type: "array", items: objectWith({ ...deliberationWorkflowProgressFields, blocker: stringSchema, outcome: deliberationWorkflowOutcome }, Object.keys(deliberationWorkflowProgressFields)) }, - }, ["workItemId", "records", "nextAfterRevision"]) }; + }, collaborationPageKeys) }; case "workItem/read": + return { params: objectWith(workItemTarget, ["workItemId"]), result: objectWith({ ...workItemResult, cursor: stringSchema, + intakeDispatch: objectWith({ receiptId: stringSchema, status: dispatchStatus, reasonCode: stringSchema, runId: stringSchema }, ["receiptId", "status"]) }, + [...workItemResultKeys, "cursor"]) }; case "workItem/clarify": + return { params: objectWith({ ...workItemTarget, question: stringSchema }, ["workItemId"]), result: objectWith({ ...workItemResult, + clarification: objectWith({ status: { enum: ["required"] }, question: stringSchema }, ["status", "question"]) }, [...workItemResultKeys, "clarification"]) }; case "workItem/evidence/read": + return { params: objectWith({ ...workItemTarget, afterSequence: integerSchema, limit: integerSchema }, ["workItemId"]), + result: objectWith({ cwd: stringSchema, ...workItemTarget, evidence: arrayOf(evidenceEntry), nextAfterSequence: integerSchema }, + ["cwd", "workItemId", "evidence", "nextAfterSequence"]) }; case "workItem/collaboration/read": - case "workItem/stage/read": - case "workItem/stage/brief/read": case "workItem/coordination/read": case "workItem/message/read": case "workItem/message/list": case "workItem/question/read": case "workItem/handoff/read": - return { params: objectWith({ ...workItemTarget, afterRevision: integerSchema, afterSequence: integerSchema, - offset: integerSchema, limit: integerSchema }, ["workItemId"]), result }; + return { params: objectWith(collaborationQuery, ["workItemId"]), result: objectWith(collaborationPageFields, collaborationPageKeys) }; + case "workItem/stage/read": + case "workItem/stage/brief/read": + return { params: objectWith({ ...collaborationQuery, stageOffset: integerSchema }, ["workItemId"]), + result: objectWith({ ...collaborationPageFields, workflow: stageWorkflow }, collaborationPageKeys) }; case "workItem/device/read": return { params: objectWith({ ...workItemTarget }, ["workItemId"]), result: objectWith({ cwd: stringSchema, workItemId: stringSchema, bindings: { type: "array", items: deviceBinding } }, ["cwd", "workItemId", "bindings"]) }; @@ -415,10 +589,13 @@ function schemaFor(method: LingAppServerMethod): LingAppServerMethodSchema { "ownerRouteGeneration", "workUnitId", "status", "resultRef", "idempotencyKey"]), result: objectWith({ cwd: stringSchema, binding: deviceBinding, replayed: booleanSchema }, ["cwd", "binding", "replayed"]) }; case "workItem/list": - return { params: objectWith({ status: stringSchema, channelId: stringSchema, limit: integerSchema }), result }; + return { params: objectWith({ status: stringSchema, channelId: stringSchema, limit: integerSchema }), + result: objectWith({ cwd: stringSchema, workItems: arrayOf(workItem) }, ["cwd", "workItems"]) }; case "workItem/create": - return { params: objectWith({ ...workItemTarget, sourceId: stringSchema, title: stringSchema, gitHubSubject: objectSchema, - sourceType: stringSchema, linkExistingExecution: booleanSchema, idempotencyKey: stringSchema }, ["sourceId", "title"]), result }; + return { params: objectWith({ ...workItemTarget, sourceId: stringSchema, title: stringSchema, + gitHubSubject: objectWith({ repository: stringSchema, ...gitHubTarget }, ["repository", "kind", "number"]), description: stringSchema, + labels: stringArraySchema, priority: { enum: ["low", "normal", "high", "urgent"] }, sourceType: stringSchema, + linkExistingExecution: booleanSchema, idempotencyKey: stringSchema }, ["sourceId", "title"]), result: objectWith(workItemResult, workItemResultKeys) }; case "workItem/workflow/bind": { const resultSource = { sourceStepId: stringSchema, expectedSourceRevision: stringSchema, targetStepId: stringSchema }; return { params: objectWith({ ...workItemTarget, planId: stringSchema, expectedWorkItemRevision: integerSchema, @@ -469,13 +646,16 @@ function schemaFor(method: LingAppServerMethod): LingAppServerMethodSchema { method === "workItem/intake/accept" ? ["receiptId"] : ["receiptId", "idempotencyKey"]), result: objectWith({ cwd: stringSchema, receipt: nativeIntakeReceiptSchema }, ["cwd", "receipt"]) }; case "workItem/evidence/append": - return { params: objectWith({ ...workItemTarget, actorId: stringSchema, kind: stringSchema, subjectRevision: stringSchema, - content: stringSchema, idempotencyKey: stringSchema, sourceRefs: arraySchema, optionId: stringSchema }, - ["workItemId", "actorId", "kind", "subjectRevision", "content", "idempotencyKey"]), result }; + return { params: objectWith({ ...workItemTarget, actorId: stringSchema, kind: { enum: evidenceKinds }, subjectRevision: stringSchema, + content: stringSchema, idempotencyKey: stringSchema, sourceRefs: arrayOf(sourceRef), optionId: stringSchema, visibility, + expectedWorkItemRevision: integerSchema, expectedEvidenceRevision: integerSchema }, + ["workItemId", "actorId", "kind", "subjectRevision", "content", "idempotencyKey"]), + result: objectWith({ cwd: stringSchema, ...workItemTarget, status: { enum: ["appended", "replayed"] }, entry: evidenceEntry, workItemRevision: integerSchema }, + ["cwd", "workItemId", "status", "entry", "workItemRevision"]) }; case "workItem/collaboration/append": - return { params: objectWith({ ...collaborationAppend, kind: stringSchema, action: stringSchema }, ["workItemId", "kind", "action"]), result }; + return { params: objectWith({ ...collaborationAppend, kind: collaborationKind, action: collaborationAction }, ["workItemId", "kind", "action"]), result: collaborationMutation }; case "workItem/deliberation/start": - return { params: objectWith({ ...collaborationAppend, workflowStepId: stringSchema }, ["workItemId"]), result }; + return { params: objectWith({ ...collaborationAppend, workflowStepId: stringSchema }, ["workItemId"]), result: collaborationMutation }; case "workItem/deliberation/evaluate": return { params: objectWith({ ...decisionInput, subject: deliberationSubject, checkpoint: deliberationCheckpoint, checkpointRef: stringSchema, @@ -502,64 +682,79 @@ function schemaFor(method: LingAppServerMethod): LingAppServerMethodSchema { return { params: objectWith({ ...workItemTarget, evaluationId: stringSchema, expectedWorkItemRevision: integerSchema, idempotencyKey: stringSchema, execution: { enum: ["read_only_shaping", "read_only_workflow"] }, ballotMode: { enum: ["when_unresolved"] }, shapingBudget: objectWith({ maxTokens: integerSchema, maxDurationMs: integerSchema }, ["maxTokens", "maxDurationMs"]) }, - ["workItemId", "evaluationId", "expectedWorkItemRevision", "idempotencyKey"]), result }; + ["workItemId", "evaluationId", "expectedWorkItemRevision", "idempotencyKey"]), result: collaborationMutation }; case "workItem/deliberation/cancel": - return { params: objectWith(deliberationSettlement, deliberationSettlementFields), result }; + return { params: objectWith(deliberationSettlement, deliberationSettlementFields), result: collaborationMutation }; case "workItem/deliberation/decide": return { params: objectWith({ ...deliberationSettlement, decision: { oneOf: [ objectWith({ disposition: { enum: ["selected"] }, option: stringSchema }, ["disposition", "option"]), objectWith({ disposition: { enum: ["deferred", "replan_required"] } }, ["disposition"]), ] } }, [...deliberationSettlementFields, "decision"]), result: objectWith({ - status: { enum: ["appended", "replayed"] }, record: objectSchema, workItemRevision: integerSchema, + ...collaborationMutationFields, appliedTo: objectWith({ workflowId: stringSchema, workflowStepId: stringSchema, planRevision: stringSchema, option: stringSchema, candidateDigest: stringSchema }, ["workflowId", "workflowStepId", "planRevision", "option", "candidateDigest"]), - }, ["status", "record", "workItemRevision"]) }; + }, collaborationMutationKeys) }; case "workItem/coordination/start": case "workItem/coordination/close": - return { params: objectWith(collaborationAppend, ["workItemId"]), result }; + return { params: objectWith(collaborationAppend, ["workItemId"]), result: collaborationMutation }; case "workItem/question/ask": return { params: objectWith({ ...collaborationAppend, planRevision: stringSchema, waitingStepId: stringSchema, respondentStepId: stringSchema, question: stringSchema, deadlineAt: stringSchema, answerFromStageResult: booleanSchema, - predecessorQuestion: objectWith({ id: stringSchema, revision: integerSchema }, ["id", "revision"]) }, ["workItemId"]), result }; + predecessorQuestion: objectWith({ id: stringSchema, revision: integerSchema }, ["id", "revision"]) }, ["workItemId"]), result: collaborationMutation }; case "workItem/question/reply": return { params: objectWith({ ...collaborationAppend, questionId: stringSchema, expectedQuestionRevision: integerSchema, - answer: stringSchema }, ["workItemId"]), result }; + answer: stringSchema }, ["workItemId"]), result: collaborationMutation }; case "workItem/message/send": return { params: objectWith({ ...collaborationAppend, planRevision: stringSchema, targetStepId: stringSchema, expectedTargetRevision: stringSchema, body: stringSchema, - expectedExecution: objectWith({ runId: stringSchema, attemptId: stringSchema }, ["runId", "attemptId"]) }, ["workItemId"]), result }; + expectedExecution: stageExecution }, ["workItemId"]), result: collaborationMutation }; case "workItem/handoff/accept": case "workItem/handoff/return": return { params: objectWith({ ...collaborationAppend, planRevision: stringSchema, sourceStepId: stringSchema, targetStepId: stringSchema, expectedSourceRevision: stringSchema, expectedTargetRevision: stringSchema, expectedCandidateDigest: stringSchema, previousHandoffId: stringSchema, verification: objectWith({ operationId: stringSchema, checkId: stringSchema }, ["operationId", "checkId"]), - reason: stringSchema, detail: stringSchema }, ["workItemId"]), result }; + reason: stringSchema, detail: stringSchema }, ["workItemId"]), result: collaborationMutation }; case "workItem/feedback/add": return { params: objectWith({ ...collaborationAppend, sourceRunId: stringSchema, providerPresetId: stringSchema }, ["workItemId"]), result: { oneOf: [ objectWith({ cwd: stringSchema, job: objectSchema, replayed: booleanSchema }, ["cwd", "job", "replayed"]), - objectWith({ status: { enum: ["appended", "replayed"] }, record: objectSchema, workItemRevision: integerSchema }, - ["status", "record", "workItemRevision"]), + collaborationMutation, ] }, }; case "workItem/coordination/schedule/read": + return { params: objectWith({ ...workItemTarget, automationId: stringSchema }, ["workItemId", "automationId"]), + result: objectWith({ cwd: stringSchema, schedule: nullable(coordinationSchedule) }, ["cwd", "schedule"]) }; case "workItem/coordination/schedule/set": - return { params: objectWith({ ...workItemTarget, automationId: stringSchema, expectedRevision: integerSchema, - enabled: booleanSchema, kind: { enum: ["checkpoint", "retrospective"] }, durationMs: integerSchema }, ["workItemId", "automationId"]), result }; + return { params: objectWith({ ...coordinationScheduleFields, expectedRevision: integerSchema }, [...Object.keys(coordinationScheduleFields), "expectedRevision"]), + result: objectWith({ cwd: stringSchema, schedule: coordinationSchedule }, ["cwd", "schedule"]) }; case "turn/start": return { params: objectWith({ ...threadTarget, turnId: stringSchema, idempotencyKey: stringSchema, message: stringSchema, - userInstruction: stringSchema, providerPresetId: stringSchema, executionBinding: objectSchema, attachmentIds: stringArraySchema }, ["threadId"]), result }; + userInstruction: stringSchema, providerPresetId: stringSchema, executionBinding: objectSchema, attachmentIds: stringArraySchema, + execute: booleanSchema, title: stringSchema, kind: stringSchema, fileRefs: arrayOf(objectSchema), projectPath: stringSchema, + thinkingLevel: stringSchema, reasoningSummary: stringSchema, authorizationMode: stringSchema, workspaceAccessMode: stringSchema, + permissionPreset: stringSchema, permissionMode: stringSchema, permissionConfirmation: objectSchema, responseLanguage: stringSchema, + tools: stringArraySchema, schemaVersion: { enum: [1, 2] } }, ["threadId"]), + result: objectWith({ ...threadResultFields, turn, run, receipt: submissionReceipt, replayed: booleanSchema }, [...threadResultKeys, "turn"]) }; case "turn/queue": return { params: objectWith({ threadId: stringSchema, expectedTurnId: stringSchema, expectedTurnRevision: stringSchema, message: stringSchema, userInstruction: stringSchema, idempotencyKey: stringSchema }, - ["threadId", "expectedTurnId", "expectedTurnRevision", "idempotencyKey"]), result }; + ["threadId", "expectedTurnId", "expectedTurnRevision", "idempotencyKey"]), result: interventionResult }; case "turn/interrupt": - return { params: objectWith({ turnId: stringSchema, expectedTurnId: stringSchema }), result }; + return { params: objectWith({ ...threadTarget, turnId: stringSchema, expectedTurnId: stringSchema, expectedTurnRevision: stringSchema, + message: stringSchema, userInstruction: stringSchema, idempotencyKey: stringSchema }), result: { oneOf: [interventionResult, + objectWith({ cwd: stringSchema, turn }, ["cwd", "turn"]), + objectWith({ cancelled: { enum: [true] }, active: booleanSchema, run, event: objectSchema, inputWait: objectSchema }, ["cancelled", "active", "run"]), + ] } }; case "turn/resume": return { params: objectWith({ ...threadTarget, turnId: stringSchema, expectedTurnRevision: stringSchema, - sourceRunId: stringSchema, idempotencyKey: stringSchema, instruction: stringSchema }, ["turnId"]), result }; + sourceRunId: stringSchema, idempotencyKey: stringSchema, instruction: stringSchema }, ["turnId"]), + result: objectWith({ ...threadResultFields, turn, run: nullable(run), runLinks: arrayOf(objectSchema), + disposition: { enum: ["existing", "recovered", "continued"] }, resumedFromTurnId: stringSchema }, + [...threadResultKeys, "turn", "run", "runLinks", "disposition"]) }; case "thread/fork": - return { params: objectWith({ ...threadTarget, turnId: stringSchema, sourceRunId: stringSchema, idempotencyKey: stringSchema }, ["threadId"]), result }; + return { params: objectWith({ ...threadTarget, turnId: stringSchema, sourceRunId: stringSchema, idempotencyKey: stringSchema }, ["threadId"]), + result: objectWith({ ...threadResultFields, sourceThreadId: stringSchema, sourceTurnId: stringSchema, + sourceRunId: stringSchema, replayed: booleanSchema }, [...threadResultKeys, "sourceThreadId", "replayed"]) }; case "approval/respond": return { params: objectWith({ approvalId: stringSchema, decision: { enum: ["approve", "deny"] }, expectedRevision: stringSchema, runId: stringSchema, threadId: stringSchema, turnId: stringSchema, reason: stringSchema, decisionKind: { enum: ["approve_once"] } }, @@ -569,26 +764,44 @@ function schemaFor(method: LingAppServerMethod): LingAppServerMethodSchema { ["schemaVersion", "authority", "answers", "idempotencyKey"]), result: objectWith({ cwd: stringSchema, receipt: objectSchema }, ["cwd", "receipt"]) }; case "workItem/accept": - return { params: objectWith({ workItemId: stringSchema, expectedWorkItemRevision: integerSchema, idempotencyKey: stringSchema }, - ["workItemId", "expectedWorkItemRevision", "idempotencyKey"]), result }; + return { params: objectWith({ ...workItemTarget, expectedWorkItemRevision: integerSchema, idempotencyKey: stringSchema, actorId: stringSchema, + dispatch: objectWith({ ...threadTarget, message: stringSchema, providerPresetId: stringSchema }, ["threadId", "message"]) }, + ["workItemId", "expectedWorkItemRevision", "idempotencyKey"]), result: objectWith({ ...workItemResult, + accepted: { enum: [true] }, replayed: booleanSchema, + acceptance: objectWith({ ...identity, ...workItemTarget, acceptedRevision: integerSchema, workItemRevision: integerSchema, actorId: stringSchema, + idempotencyKey: stringSchema, acceptedAt: stringSchema }, ["id", "workItemId", "acceptedRevision", "workItemRevision", "actorId", "idempotencyKey", "acceptedAt"]), + dispatch: objectWith({ ...threadTarget, submissionKey: stringSchema, status: dispatchStatus, runId: stringSchema, blocker: stringSchema }, + ["threadId", "submissionKey", "status"]) }, [...workItemResultKeys, "accepted", "replayed", "acceptance"]) }; case "workItem/pause": case "workItem/resume": case "workItem/cancel": - return { params: objectWith({ workItemId: stringSchema, expectedWorkItemRevision: integerSchema, - expectedControlGeneration: integerSchema, expectedRevision: integerSchema, controlGeneration: integerSchema, idempotencyKey: stringSchema }, - ["workItemId", "idempotencyKey"]), result }; + return { params: objectWith({ ...workItemTarget, expectedWorkItemRevision: integerSchema, expectedControlGeneration: integerSchema, + expectedRevision: integerSchema, controlGeneration: integerSchema, idempotencyKey: stringSchema, actorId: stringSchema, reason: stringSchema }, + ["workItemId", "idempotencyKey"]), result: objectWith({ ...workItemResult, controlReceipt, replayed: booleanSchema }, + [...workItemResultKeys, "controlReceipt", "replayed"]) }; case "externalAgent/task/start": - return { params: objectWith({ registrationId: stringSchema, submission: objectSchema }, ["registrationId", "submission"]), result }; + return { params: objectWith({ registrationId: stringSchema, submission: externalTaskSubmission }, ["registrationId", "submission"]), + result: objectWith({ task: externalTaskReceipt, replayed: { enum: [true] } }, ["task"]) }; case "externalAgent/task/reconnect": - return { params: objectWith({ registrationId: stringSchema, taskId: stringSchema, submissionId: stringSchema }, - ["registrationId", "taskId", "submissionId"]), result }; + return { params: objectWith({ registrationId: stringSchema, taskId: stringSchema, submissionId: stringSchema, eventCursor: stringSchema }, + ["registrationId", "taskId", "submissionId"]), result: objectWith({ task: externalTaskReceipt, resyncRequired: booleanSchema, + reason: { enum: ["cursor_unavailable", "submission_conflict", "authorization_changed"] }, + events: arrayOf(objectWith({ cursor: stringSchema, type: stringSchema, createdAt: stringSchema, payload: {} }, ["cursor", "type", "createdAt"])) }, + ["task", "resyncRequired"]) }; case "externalAgent/task/cancel": - return { params: objectWith({ registrationId: stringSchema, taskId: stringSchema, idempotencyKey: stringSchema }, - ["registrationId", "taskId", "idempotencyKey"]), result }; + return { params: objectWith({ registrationId: stringSchema, taskId: stringSchema, expectedTaskRevision: stringSchema, idempotencyKey: stringSchema }, + ["registrationId", "taskId", "idempotencyKey"]), result: objectWith({ taskId: stringSchema, + status: { enum: ["cancel_requested", "cancelled", "already_terminal", "unknown"] } }, ["taskId", "status"]) }; case "externalAgent/register": - return { params: objectWith({ registration: objectSchema, idempotencyKey: stringSchema }, ["registration", "idempotencyKey"]), result }; + return { params: objectWith({ registration: externalAgentRegistration, idempotencyKey: stringSchema }, ["registration", "idempotencyKey"]), + result: objectWith({ registrationId: stringSchema, agentId: stringSchema, acceptedCapabilities: stringArraySchema, + deniedCapabilities: stringArraySchema, authorizationEpoch: stringSchema }, + ["registrationId", "agentId", "acceptedCapabilities", "deniedCapabilities", "authorizationEpoch"]) }; case "externalAgent/capabilities/read": - return { params: objectWith({ registrationId: stringSchema }, ["registrationId"]), result }; + return { params: objectWith({ registrationId: stringSchema }, ["registrationId"]), result: objectWith({ registrationId: stringSchema, + capabilities: stringArraySchema, effectiveWorkspaceScopes: stringArraySchema, effectiveToolScopes: stringArraySchema, + approvalModes: stringArraySchema, authorizationEpoch: stringSchema }, + ["registrationId", "capabilities", "effectiveWorkspaceScopes", "effectiveToolScopes", "approvalModes", "authorizationEpoch"]) }; case "changes/capture": return { params: objectWith({ ...changeSource, scope: { enum: ["working_tree", "head"] } }), result: objectWith(candidateResult, candidateResultFields) }; @@ -623,7 +836,11 @@ function schemaFor(method: LingAppServerMethod): LingAppServerMethodSchema { }; case "artifact/read": return { params: objectWith({ artifactId: stringSchema, ...threadTarget, ...workItemTarget, runId: stringSchema, - offset: integerSchema, limit: integerSchema }, ["artifactId"]), result }; + offset: integerSchema, limit: integerSchema }, ["artifactId"]), result: objectWith({ cwd: stringSchema, + artifact: objectWith({ ...identity, runId: stringSchema, mediaJobId: stringSchema, externalWorkId: stringSchema, + type: stringSchema, createdAt: stringSchema }, ["id", "type", "createdAt"]), + contentBase64: stringSchema, offset: integerSchema, endExclusive: integerSchema, sizeBytes: integerSchema, partial: booleanSchema }, + ["cwd", "artifact"]) }; case "verify/plan": return { params: objectWith({ candidate, ...threadTarget, ...workItemTarget, requestedChecks: stringArraySchema, idempotencyKey: stringSchema, planRevision: stringSchema }, ["candidate"]), result: verifyPlanResult }; @@ -647,22 +864,35 @@ function schemaFor(method: LingAppServerMethod): LingAppServerMethodSchema { result: objectWith({ ...reviewResult, revision: stringSchema, findingIds: stringArraySchema, summary: stringSchema, errorMessage: stringSchema, reviewRules: objectSchema }, [...reviewResultFields, "revision", "findingIds"]) }; case "review/finding/update": - return { params: objectWith({ assessmentId: stringSchema, findingId: stringSchema, disposition: { enum: ["open", "acknowledged", "resolved", "dismissed"] }, - expectedRevision: stringSchema, idempotencyKey: stringSchema }, ["assessmentId", "findingId", "disposition", "idempotencyKey"]), result }; + return { params: objectWith({ assessmentId: stringSchema, findingId: stringSchema, disposition: reviewDisposition, + closeReason: stringSchema, reason: stringSchema, expectedRevision: stringSchema, idempotencyKey: stringSchema }, + ["assessmentId", "findingId", "disposition", "idempotencyKey"]), result: objectWith({ assessmentId: stringSchema, + findingId: stringSchema, revision: stringSchema, disposition: reviewDisposition }, ["assessmentId", "findingId", "revision", "disposition"]) }; case "simplify/status": return { params: objectWith({ operationId: stringSchema, offset: integerSchema }, ["operationId"]), result: operationResult }; case "simplify/start": return { params: objectWith({ candidate, ...workItemTarget, idempotencyKey: stringSchema, providerPresetId: stringSchema }, ["candidate", "idempotencyKey"]), result: operationResult }; case "doctor/run": - return { params: objectWith({ includeLogTail: booleanSchema, scope: { enum: ["workspace", "project", "candidate"] } }), result }; + return { params: objectWith({ includeLogTail: booleanSchema, scope: { enum: ["workspace", "project", "candidate"] } }), + result: objectWith({ doctorVersion: { enum: [1] }, cwd: stringSchema, generatedAt: stringSchema, + overallStatus: { enum: ["ok", "warning", "fail"] }, + checks: arrayOf(objectWith({ ...identity, category: { enum: ["workspace", "startup", "logs", "config", "instructions", "verification"] }, + status: { enum: ["ok", "warning", "fail", "unchecked"] }, summary: stringSchema, details: stringSchema, remediation: stringSchema }, + ["id", "category", "status", "summary"])), + logTail: objectWith({ truncated: booleanSchema, lines: stringArraySchema }, ["truncated", "lines"]) }, + ["doctorVersion", "cwd", "generatedAt", "overallStatus", "checks"]) }; case "instructions/init": - return { params: objectWith({ mode: { enum: ["preview", "apply"] }, idempotencyKey: stringSchema }, ["idempotencyKey"]), result }; + return { params: objectWith({ mode: { enum: ["preview", "apply"] }, idempotencyKey: stringSchema, taskPath: stringSchema, + expectedWorkspaceRevision: stringSchema, sources: arrayOf({ enum: ["README", "CI", "package_scripts", "existing_rules"] }) }, ["idempotencyKey"]), + result: objectWith({ proposalId: stringSchema, status: { enum: ["draft", "applied", "blocked"] }, sources: arrayOf(instructionSource), + patchArtifactId: stringSchema, draft: objectWith({ path: stringSchema, content: stringSchema }, ["path", "content"]), + workspaceRevision: stringSchema, conflicts: stringArraySchema }, ["proposalId", "status", "sources", "conflicts"]) }; case "handoff/create": return { params: objectWith({ ...threadTarget, turnId: stringSchema, idempotencyKey: stringSchema, nextInstruction: stringSchema }, - ["threadId", "turnId", "idempotencyKey", "nextInstruction"]), result }; + ["threadId", "turnId", "idempotencyKey", "nextInstruction"]), result: handoffResult }; case "handoff/read": - return { params: objectWith({ handoffId: stringSchema }, ["handoffId"]), result }; + return { params: objectWith({ handoffId: stringSchema }, ["handoffId"]), result: handoffResult }; case "handoff/resume": return { params: objectWith({ handoffId: stringSchema, providerPresetId: stringSchema }, ["handoffId", "providerPresetId"]), result: objectWith({ cwd: stringSchema, handoffId: stringSchema, thread: objectSchema, replayed: booleanSchema, @@ -670,11 +900,16 @@ function schemaFor(method: LingAppServerMethod): LingAppServerMethodSchema { sourceGoalRevision: stringSchema, transferredAt: stringSchema }, ["goalId", "sourceThreadId", "threadId", "sourceGoalRevision", "transferredAt"]) }, ["cwd", "handoffId", "thread", "replayed"]) }; case "github/intake/policy/list": - return { params: objectSchema, result }; + return { params: workspaceParams, result: objectWith({ cwd: stringSchema, sources: arrayOf(objectWith({ repository: stringSchema, + revision: stringSchema, providerAvailable: booleanSchema, policy: objectWith({ mode: { enum: ["manual", "suggest", "auto_start"] }, + enabled: booleanSchema, requiredLabel: stringSchema, webhookSourceId: stringSchema, priority: stringSchema, + providerPresetId: stringSchema, budget: objectSchema, quietHours: objectSchema }, ["mode", "enabled"]) }, ["repository", "revision", "policy"])) }, + ["cwd", "sources"]) }; case "github/intake/read": - return { params: objectWith({ receiptId: stringSchema }, ["receiptId"]), result }; + return { params: objectWith({ receiptId: stringSchema }, ["receiptId"]), result: objectWith({ cwd: stringSchema, receipt: intakeReceipt }, ["cwd", "receipt"]) }; case "github/intake/poll": - return { params: objectWith({ repository: stringSchema, page: integerSchema }, ["repository"]), result }; + return { params: objectWith({ repository: stringSchema, page: integerSchema, retryKey: stringSchema }, ["repository"]), + result: objectWith({ cwd: stringSchema, receipts: arrayOf(intakeReceipt), nextPage: integerSchema }, ["cwd", "receipts"]) }; case "github/subject/read": return { params: objectWith({ repository: stringSchema, ...gitHubTarget }, ["repository", "kind", "number"]), result: objectWith({ cwd: stringSchema, subject: gitHubSubject }, ["cwd", "subject"]) }; @@ -697,7 +932,7 @@ function schemaFor(method: LingAppServerMethod): LingAppServerMethodSchema { case "turn/steer": case "thread/compact/start": case "thread/revert": - return { params: objectSchema, result }; + return { params: objectSchema, result: { not: {}, description: "This method has no successful result in the current App Server." } }; } } @@ -831,6 +1066,7 @@ export function validateLingAppServerServerRequestParams(method: string, params: } function validateAgainstSchema(value: unknown, schema: LingAppServerJsonSchema, path: string): LingAppServerValidationResult { + if (schema.not && validateAgainstSchema(value, schema.not, path).ok) return { ok: false, path, message: "is not allowed" }; if (schema.oneOf) { if (schema.oneOf.filter(candidate => validateAgainstSchema(value, candidate, path).ok).length === 1) return { ok: true }; return { ok: false, path, message: "does not match any allowed shape" }; diff --git a/packages/contracts/test/app-server-schema.test.ts b/packages/contracts/test/app-server-schema.test.ts index 00db33104..a1f1a09f9 100644 --- a/packages/contracts/test/app-server-schema.test.ts +++ b/packages/contracts/test/app-server-schema.test.ts @@ -24,6 +24,11 @@ test("App Server exposes a versioned schema for every registered method", () => assert.equal(document.methods, LING_APP_SERVER_METHOD_SCHEMAS); assert.equal(document.methods["turn/start"]?.params.type, "object"); assert.equal(document.methods["turn/start"]?.result.type, "object"); + for (const method of LING_APP_SERVER_METHODS) { + assert.equal(validateLingAppServerResult(method, {}).ok, false, `${method} must publish a result contract`); + } + assert.ok(validateLingAppServerParams("thread/mode/get", { threadId: "thread" }).ok); + assert.equal(validateLingAppServerParams("thread/mode/set", { threadId: "thread" }).path, "params.mode"); }); test("App Server consumers can validate streamed text, replay and server request parameters", () => { diff --git a/packages/daemon/test/app-server-release-acceptance.test.ts b/packages/daemon/test/app-server-release-acceptance.test.ts index 326f8cde5..f19cd448e 100644 --- a/packages/daemon/test/app-server-release-acceptance.test.ts +++ b/packages/daemon/test/app-server-release-acceptance.test.ts @@ -14,7 +14,12 @@ import { fileURLToPath, pathToFileURL } from "node:url"; import test, { type TestContext } from "node:test"; import { setTimeout as delay } from "node:timers/promises"; import { promisify } from "node:util"; -import { parseUserInputAnswerCommandV1, validateLingAppServerNotificationParams } from "@ling-stack/contracts"; +import { + isLingAppServerMethod, + parseUserInputAnswerCommandV1, + validateLingAppServerNotificationParams, + validateLingAppServerResult, +} from "@ling-stack/contracts"; import type { ChannelConversationTurnResponse, LingAppServerCandidateReference, @@ -58,6 +63,7 @@ import type { LingAppServerWorkItemFeedbackResult, LingAppServerWorkItemPlanChangeResult, LingAppServerWorkItemResult, + RetentionTombstone, LingAppServerWorkItemWorkflowBindResult, LingAppServerWorkItemSnapshot, ProposedPlanActionResponse, @@ -466,8 +472,12 @@ test("App Server submits a durable Turn through the configured Pi Runner and rep await assert.rejects(first.call("thread/goal/set", { ...goalInput, objective: "Unaccepted scope change" }), { code: "goal_replace_required" }); const request = { threadId: started.thread.id, message: "Run the configured provider once", providerPresetId: preset.id, - execute: true, idempotencyKey: "release-runner-turn", fileRefs: [{ path: "feature/index.ts", source: "explicit_text" }], + execute: true, schemaVersion: 1, permissionMode: "balanced", + idempotencyKey: "release-runner-turn", fileRefs: [{ path: "feature/index.ts", source: "explicit_text" }], }; + await assert.rejects(first.call("turn/start", { ...request, schemaVersion: 2 }), { + code: "invalid_params", message: /accepts authorizationMode and workspaceAccessMode only/u, + }); const result = await first.call("turn/start", request); assert.ok(result.run.id); const delta = await waitFor(() => observer.notices.find(notice => notice.method === "item/delta")); @@ -2428,6 +2438,7 @@ test("Work Item creation, acceptance, evidence and collaboration retries keep on const messageInput = { workItemId, expectedWorkItemRevision: secondEvidence.workItemRevision, expectedCollaborationRevision: 2, actorId: "local-user", idempotencyKey: "message-once", payload: { text: "Send after the evidence is committed" }, + sourceRefs: [{ type: "evidence", id: secondEvidence.entry.id, revision: 2 }], }; const message = await client.call("workItem/message/send", messageInput); const collaborationNotice = await waitFor(() => notices("workItem/collaboration/updated")[0]); @@ -2451,6 +2462,8 @@ test("Work Item creation, acceptance, evidence and collaboration retries keep on const { cwd, workItem: restoredItem } = await restored.call("workItem/read", { workItemId }); assert.deepEqual(await restored.call("workItem/create", creation), { cwd, workItem: restoredItem }); await assert.rejects(restored.call("workItem/create", { ...creation, title: "Changed intent" }), { code: "idempotency_conflict" }); + const retained = await restored.call("workItem/message/list", { workItemId }); + assert.deepEqual(retained.records[0]?.sourceRefs, messageInput.sourceRefs); await restored.call("workItem/subscribe", { workItemId, cursor: beforeMessage }); const restoredNotice = await waitFor(() => restored.notices.find(notice => notice.method === "workItem/collaboration/updated")); assert.equal(restoredNotice.params?.eventId, directNotice.params?.eventId); @@ -5665,6 +5678,28 @@ test("active Workflow stage grants bind questions, replies and messages to their await assert.rejects(fixture.connect("/app-server/rpc", fixture.cwd, sender.token), /401/u); }); +test("App Server keeps the scoped replay cursor and archived Thread deletion receipt readable", { timeout: 20_000 }, async t => { + const fixture = await releaseFixture(t); + const client = await fixture.connect(); + const { thread } = await client.call("thread/start", { title: "Archivable Thread" }); + const firstPage = await client.call("thread/events/read", { threadId: thread.id, afterSeq: "0" }); + assert.equal(firstPage.window.disposition, "complete"); + assert.ok(firstPage.events.some(event => event.entityId === thread.id && event.action === "thread.started")); + assert.ok(firstPage.cursor); + await client.call("thread/archive", { threadId: thread.id }); + const nextPage = await client.call("thread/events/read", { threadId: thread.id, afterSeq: firstPage.cursor }); + assert.ok(nextPage.events.some(event => event.entityId === thread.id && event.action === "thread.archived")); + const preview = await client.call<{ allowed: boolean; revision: string }>("thread/delete/preview", { threadId: thread.id }); + assert.equal(preview.allowed, true); + const request = { threadId: thread.id, expectedRevision: preview.revision }; + const deleted = await client.call<{ deleted: true; tombstone: RetentionTombstone }>("thread/delete", request); + assert.equal(deleted.deleted, true); + assert.equal(deleted.tombstone.entityType, "conversation-thread"); + assert.equal(deleted.tombstone.entityId, thread.id); + await assert.rejects(client.call("thread/delete", request), { code: "workspace_binding_invalid" }); + assert.equal(fixture.getStore().getLingThread(thread.id), undefined); +}); + test("App Server reads bounded artifact ranges without exposing private metadata", { timeout: 20_000 }, async t => { const fixture = await releaseFixture(t); const store = fixture.getStore(); @@ -5683,6 +5718,13 @@ test("App Server reads bounded artifact ranges without exposing private metadata }); assert.equal(Buffer.from(range.contentBase64, "base64").toString("utf8"), "Ling"); assert.deepEqual({ offset: range.offset, endExclusive: range.endExclusive, sizeBytes: range.sizeBytes }, { offset: 0, endExclusive: 4, sizeBytes: 19 }); + + const mediaJob = store.createMediaJob({ providerPresetId: "fixture", operation: "image_generate", prompt: "Generate a fixture image" }, now); + const media = store.createArtifact({ mediaJobId: mediaJob.id, type: "image", path: "fixture-image.png", createdAt: now }); + const mediaMetadata = await client.call<{ artifact: { id: string; mediaJobId: string; runId?: string } }>("artifact/read", { artifactId: media.id }); + assert.equal(mediaMetadata.artifact.id, media.id); + assert.equal(mediaMetadata.artifact.mediaJobId, mediaJob.id); + assert.equal(mediaMetadata.artifact.runId, undefined); }); test("a channel supplement reaches its active Pi stage through scoped coordination and retains both receipts", { timeout: 30_000 }, async t => { @@ -7338,6 +7380,10 @@ async function releaseFixture(t: TestContext, { const response = await waitFor(() => messages.get(id)); messages.delete(id); if (response.error) throw Object.assign(new Error(response.error.message), { code: response.error.data.code }); + if (path === "/app-server/rpc" && isLingAppServerMethod(method)) { + const validation = validateLingAppServerResult(method, response.result); + assert.ok(validation.ok, `${method} ${validation.path} ${validation.message}`); + } return response.result as T; }; const initialization = path === "/app-server/rpc" From 1fcf920b3f3d96d4c364fae99b511c1206a0b4d4 Mon Sep 17 00:00:00 2001 From: tianxiaochannel-oss88 Date: Thu, 26 Nov 2026 17:29:01 +0800 Subject: [PATCH 126/147] Let active Pi stages read scoped Work Item evidence --- ...g-agent-operating-model-detailed-design.md | 3 +- .../ling-app-server-implementation-plan.md | 4 +- .../work-items/stage-coordination-tool.ts | 42 ++++++-- .../src/features/work-items/stage-evidence.ts | 74 +++++++++++++++ .../app-server-release-acceptance.test.ts | 95 +++++++++++++++++-- .../src/extensions/work-item-coordination.ts | 8 +- 6 files changed, 204 insertions(+), 22 deletions(-) create mode 100644 packages/daemon/src/features/work-items/stage-evidence.ts diff --git a/docs/design/ling-agent-operating-model-detailed-design.md b/docs/design/ling-agent-operating-model-detailed-design.md index 922fcfe09..adddbc2c2 100644 --- a/docs/design/ling-agent-operating-model-detailed-design.md +++ b/docs/design/ling-agent-operating-model-detailed-design.md @@ -679,9 +679,10 @@ When both stages are running, a question binds the respondent's current Run/Attempt and an applicable answer binds the asking Attempt. Pi admits each input to the targeted stage's next model request under the same delivery journal as directed messages. The question read returns the delivery receipt. -Automatic tool registration is tracked in the implementation plan. [Stage authority](../../packages/daemon/src/features/work-items/stage-coordination-authority.ts) · [SDK](../../packages/api-client/src/app-server.ts) +Pi stages with the native `work_item_coordination` tool can discover Verify and Review references shared on the evidence board for their accepted Plan. `read_evidence` resolves a selected reference against the Verify or Review owner's stored Work Item, Plan and candidate. The projection reports checks and findings with their source IDs and candidate. `read_output` reads a sealed output packet from an accepted stage dependency or an explicitly retained stage result. Each read rechecks the stage's Run and Attempt. The source owners authorize and execute Verify and Review. [Stage evidence](../../packages/daemon/src/features/work-items/stage-evidence.ts) + ### 5.11 Scheduled Coordination Admission An Automation with the `coordination_round` action configures a checkpoint or retrospective for one explicit Work Item in the same workspace store. A Workflow or Goal selection resolves to that Work Item when configuring the schedule. Keep the Automation's real, authorized Thread as the home for managing its definition and occurrence log. The target Work Item uses its own scope and can be observed before it has a linked Thread. The home Thread grants neither Work Item access nor execution authority. Check both bindings at admission and expose each projection under its own grants. diff --git a/docs/design/ling-app-server-implementation-plan.md b/docs/design/ling-app-server-implementation-plan.md index c4c597781..da7a4560f 100644 --- a/docs/design/ling-app-server-implementation-plan.md +++ b/docs/design/ling-app-server-implementation-plan.md @@ -102,6 +102,8 @@ Windows 源码验收使用独立的 GitHub Actions 作业,启动真实 CLI std O9 联合回归在同一 Work Item 确认双端订阅、阶段进度、暂停与恢复、Verify、Review、GitHub Delivery、审议提交和恢复日志的证据归属与重启回放。草案计划可在接受前运行有明确角色的只读塑形。工作区设置可从 Host 许可范围内管理审议策略。 [联合验收](../../packages/daemon/test/app-server-release-acceptance.test.ts) +原生 Pi 阶段可通过 `work_item_coordination` 读取当前 Plan 明确共享的 Verify、Review 和已声明依赖的阶段产物。联合验收在 Daemon 重启后启动 QA,实际模型输入读到独立 Verify、Review 和 P01 封存结果。仅所有者可见的引用、旧计划、其他工作项及未列入依赖的产物会被拒绝。 [阶段证据](../../packages/daemon/src/features/work-items/stage-evidence.ts) · [联合验收](../../packages/daemon/test/app-server-release-acceptance.test.ts) + ## 尚待完成的发布条件 | 工作包 | 代码或验收差距 | @@ -109,7 +111,7 @@ O9 联合回归在同一 Work Item 确认双端订阅、阶段进度、暂停与 | A1、B1、C1、C2 | workspace、Thread、Work Item 的 grant 和 WSS 已接入。专用 TLS 监听器实测分离控制和答复权限,支持用户答复原回执与撤权。目标游标已绑定存储代次、授权代次和目标。审批和答复仍需在其他宿主和实际远程部署验收。 | | D1、D2、E1、E2 | 开工与 Pi 运行中的项目规则加载、显式 Claude 规则、两个开发 Skill、工作区 Verify、独立 verifier basis、托管工作树管理、候选改动分页、Turn 改动恢复、选中 hunk 转移和工作台浏览器验证报告已接入。各发行平台验证仍待完成。 | | F1、F2 | 普通会话 Handoff 的候选封存、Goal 预算承接与接手已接入。CLI `app-server codex-host --thread --state --view` 在回环地址提供双端会话视图。本机 Codex 0.171.0-alpha.13、实际 Ling Daemon 与受控 Provider 联调验证两端状态、Ling 在途排队、活跃 Codex Turn 指导、浏览器重连补齐、回执重放和审批提醒。故障回归覆盖原状态库升级、未写出的请求在重连后补投一次,以及已发出但缺少有效回执时保留待确认结果。Pi Host 预算路径的逐请求预留已使用受控 Provider 验证,仍需真实 Provider、隔离工作树和其他 Runner 的对应验收。 | -| O1、O3–O9 | GitHub 签名 webhook、轮询和显式接单归并至同一工作项。自动接单策略处理免打扰、并发、启动额度和派发前状态重查。现有 Task、AutomationRun 和同频道用户输入可显式关联工作项。已接受的计划能自动开启声明的阶段审议,并可等待当前 Workflow 结果包的交接回执。受影响阶段可单独暂停,后继阶段可显式引用已收敛或仍在途的独立成果,待执行阶段可接收定向消息和有原 Run 证据的 Agent 答复。工作项暂停期间拒绝新增定向消息。阶段客户端和支持协作工具的 Pi 阶段按 Run/Attempt 收发,Pi 在下一次模型输入接收消息和问答。Workflow 执行使用工作项重试上限,并可依据跨 Run 的结构化故障记录暂停单项阶段。可信 Verify 和已接受 Plan 指定的 Review 均可提供停滞恢复证据。决策检查点支持计划前和在途阶段的建议、接受与手工裁决。Device Work Item Bridge 的持久映射、receipt 账本和 App Server 入口已实现。已接受阶段可显式或按 Host 策略开启独立只读审议、按质疑结果投票,并将裁决应用到声明的候选依赖。定时检查点的登记和关轮自动评估已接入 App Server、SDK、MCP 和频道 Ling Agent。原生 Agent 使用独立 Verify、Review 与阶段产物时仍需 Work Item 授权的执行路径。跨主机 Device Fabric owner host 对接仍待完成。 | +| O1、O3–O9 | GitHub 签名 webhook、轮询和显式接单归并至同一工作项。自动接单策略处理免打扰、并发、启动额度和派发前状态重查。现有 Task、AutomationRun 和同频道用户输入可显式关联工作项。已接受的计划能自动开启声明的阶段审议,并可等待当前 Workflow 结果包的交接回执。受影响阶段可单独暂停,后继阶段可显式引用已收敛或仍在途的独立成果,待执行阶段可接收定向消息和有原 Run 证据的 Agent 答复。工作项暂停期间拒绝新增定向消息。阶段客户端和支持协作工具的 Pi 阶段按 Run/Attempt 收发,Pi 在下一次模型输入接收消息和问答。Workflow 执行使用工作项重试上限,并可依据跨 Run 的结构化故障记录暂停单项阶段。可信 Verify 和已接受 Plan 指定的 Review 均可提供停滞恢复证据。决策检查点支持计划前和在途阶段的建议、接受与手工裁决。Device Work Item Bridge 的持久映射、receipt 账本和 App Server 入口已实现。已接受阶段可显式或按 Host 策略开启独立只读审议、按质疑结果投票,并将裁决应用到声明的候选依赖。定时检查点的登记和关轮自动评估已接入 App Server、SDK、MCP 和频道 Ling Agent。Pi 阶段已可限域读取共享的 Verify、Review 和依赖结果,启动检查由各证据所有者受理。跨主机 Device Fabric owner host 对接仍待完成。 | | G | 独立恢复日志已验证 SQLite 快照恢复、撤权、旧游标失效和 GitHub 对账后派发。上一版源码通过同一套本地兼容验收。签名安装产物、实际远程 WSS、带独立检查 App 的 Ling 主动入队及三个真实 Provider 自研试点仍需对应环境的证据。macOS 打包预检需要当前打包输入的 Office 审查、对应 Electron/OS 的受限运行时审查和 gstack 平台资源。T01 离线预检可进入评审,真实试点仍需按 Framework Assurance 准入。 | ## 目标与开工顺序 diff --git a/packages/daemon/src/features/work-items/stage-coordination-tool.ts b/packages/daemon/src/features/work-items/stage-coordination-tool.ts index 41f034667..5edafb30f 100644 --- a/packages/daemon/src/features/work-items/stage-coordination-tool.ts +++ b/packages/daemon/src/features/work-items/stage-coordination-tool.ts @@ -14,12 +14,16 @@ import { readStageCoordinationBinding, stageCoordinationDenied, stageCoordinationExecution, stageCoordinationRequestKey, type StageCoordinationActor, } from "./stage-coordination-authority.js"; +import { listStageDevelopmentEvidence, readStageDependencyOutput, readStageDevelopmentEvidence } from "./stage-evidence.js"; import { readStageMessageReceiver } from "./stage-message-target.js"; import { sendWorkItemStageMessage } from "./stage-messages.js"; import { askWorkItemStageQuestion, readWorkItemStageQuestionInputs, replyToWorkItemStageQuestion } from "./stage-questions.js"; import { readWorkItemWorkflowBinding, readWorkItemWorkflowStages } from "./workflow-stages.js"; -type Request = { readonly action: "read"; readonly stageOffset: number } +type ReadRequest = { readonly action: "read"; readonly stageOffset: number; readonly afterEvidenceSequence: number } + | { readonly action: "read_evidence"; readonly evidenceId: string; readonly sourceId: string } + | { readonly action: "read_output"; readonly artifactId: string }; +type WriteRequest = | { readonly action: "send" | "ask"; readonly targetStepId: string; readonly text: string } | { readonly action: "reply"; readonly questionId: string; readonly text: string }; @@ -73,16 +77,19 @@ export function createWorkItemCoordinationToolHandler(input: { let committed: AppendWorkItemCollaborationResult; try { const request = parseRequest(safeInput); - if (request.action === "read") { + if (request.action === "read" || request.action === "read_evidence" || request.action === "read_output") { const response = store.readSnapshot(() => { actor.assertCurrent(); + if (request.action === "read_evidence") return readStageDevelopmentEvidence(store, binding, request.evidenceId, request.sourceId); + if (request.action === "read_output") return readStageDependencyOutput(store, step, request.artifactId); const readItem = store.getWorkItem(item.id)!; const workflow = readWorkItemWorkflowStages(store, readItem, false, request.stageOffset); const questions = readWorkItemStageQuestionInputs(store, step, binding.participantId); - return redactSecrets({ workflow, questions: questions.slice(0, 16) }, input.extraSecrets); + const evidence = listStageDevelopmentEvidence(store, binding, request.afterEvidenceSequence); + return { workflow, questions: questions.slice(0, 16), evidence }; }); save({ status: "read" }); - return toolResult(response); + return toolResult(redactSecrets(response, input.extraSecrets)); } const existing = store.findWorkItemEvidenceByKey(item.id, stageCoordinationRequestKey(binding, idempotencyKey)); if (existing) { @@ -129,7 +136,7 @@ export function createWorkItemCoordinationToolHandler(input: { }; } -function sameRequest(record: WorkItemCollaborationRecord, request: Exclude): boolean { +function sameRequest(record: WorkItemCollaborationRecord, request: WriteRequest): boolean { if (!isRecord(record.payload)) return false; const payload = record.payload; switch (request.action) { @@ -141,28 +148,43 @@ function sameRequest(record: WorkItemCollaborationRecord, request: Exclude key !== "action" && key !== "stageOffset")) throw invalidRequest(); - return { action: "read", stageOffset }; + || typeof afterEvidenceSequence !== "number" || !Number.isSafeInteger(afterEvidenceSequence) || afterEvidenceSequence < 0 + || Object.keys(value).some(key => !["action", "stageOffset", "afterEvidenceSequence"].includes(key))) throw invalidRequest(); + return { action: "read", stageOffset, afterEvidenceSequence }; + } + if (value.action === "read_evidence") { + if (!validId(value.evidenceId) || !validId(value.sourceId) + || Object.keys(value).some(key => !["action", "evidenceId", "sourceId"].includes(key))) throw invalidRequest(); + return { action: "read_evidence", evidenceId: value.evidenceId, sourceId: value.sourceId }; + } + if (value.action === "read_output") { + if (!validId(value.artifactId) || Object.keys(value).some(key => key !== "action" && key !== "artifactId")) throw invalidRequest(); + return { action: "read_output", artifactId: value.artifactId }; } const text = value.text; if (typeof text !== "string" || !text.trim() || text.length > 1200) throw invalidRequest(); const { action } = value; const field = action === "reply" ? "questionId" : "targetStepId"; const id = value[field]; - if (typeof id !== "string" || !id.trim() || id.length > 256 + if (!validId(id) || Object.keys(value).some(key => key !== "action" && key !== field && key !== "text")) throw invalidRequest(); if (action === "send" || action === "ask") return { action, targetStepId: id, text: text.trim() }; if (action === "reply") return { action, questionId: id, text: text.trim() }; throw invalidRequest(); } +function validId(value: unknown): value is string { + return typeof value === "string" && value.trim().length > 0 && value.length <= 256; +} + function invalidRequest(): HttpError { - return new HttpError(400, "invalid_params", "Use read, send, ask or reply with the required target and bounded text."); + return new HttpError(400, "invalid_params", "Supply a supported action and its required references or bounded text."); } function toolResult(value: unknown): PiRunnerToolHandledResult { diff --git a/packages/daemon/src/features/work-items/stage-evidence.ts b/packages/daemon/src/features/work-items/stage-evidence.ts new file mode 100644 index 000000000..ebd99b79f --- /dev/null +++ b/packages/daemon/src/features/work-items/stage-evidence.ts @@ -0,0 +1,74 @@ +import type { LingAppServerVerifyOperation, LingAppServerVerifyPlanResult } from "@ling-stack/contracts"; +import type { ChannelWorkflowStep, RunStore, WorkItemEvidenceEntry } from "@ling-stack/core"; +import { readWorkflowStepOutputPacketArtifact } from "../channels/workflow-step-packets.js"; +import { stageCoordinationDenied, type StageCoordinationBinding } from "./stage-coordination-authority.js"; +import { readWorkItemRetainedStageResults, readWorkItemWorkflowBinding } from "./workflow-stages.js"; + +function developmentRefs(entry: WorkItemEvidenceEntry, binding: StageCoordinationBinding) { + if (entry.workItemId !== binding.workItemId || entry.subjectRevision !== binding.planRevision + || entry.kind !== "evidence_ref" || entry.visibility !== "work_item") return []; + return entry.sourceRefs.flatMap(({ type, id, digest }) => + (type === "verification" || type === "review") && id.length <= 256 && typeof digest === "string" && /^[a-f0-9]{64}$/u.test(digest) + ? [{ type, id, digest }] : []); +} + +export function listStageDevelopmentEvidence(store: RunStore, binding: StageCoordinationBinding, afterSequence: number) { + const limit = 12; + const entries = store.listWorkItemEvidence({ workItemId: binding.workItemId, afterSequence, limit: limit + 1 }); + const page = entries.slice(0, limit); + const records = page.flatMap(entry => { + const sources = developmentRefs(entry, binding).slice(0, 4); + return sources.length ? [{ evidenceId: entry.id, sources }] : []; + }); + return { records, ...(entries.length > limit ? { nextAfterSequence: page.at(-1)!.sequence } : {}) }; +} + +export function readStageDevelopmentEvidence(store: RunStore, binding: StageCoordinationBinding, evidenceId: string, sourceId: string) { + const entry = store.getWorkItemEvidence(evidenceId); + const ref = entry && developmentRefs(entry, binding).find(candidate => candidate.id === sourceId); + if (!ref) throw stageCoordinationDenied(); + if (ref.type === "verification") { + const stored = store.getAppServerState("verify_operation", ref.id)?.payload as + { readonly plan: LingAppServerVerifyPlanResult; readonly operation: LingAppServerVerifyOperation } | undefined; + const { plan, operation } = stored ?? {}; + if (operation?.operationId !== ref.id || !operation.completedAt || operation.workItemId !== binding.workItemId + || operation.candidateDigest !== ref.digest || plan?.planId !== operation.planId + || plan.workItemId !== binding.workItemId || plan.acceptedPlanRevision !== binding.planRevision + || plan.candidate.candidateDigest !== ref.digest) throw stageCoordinationDenied(); + return { kind: ref.type, operationId: operation.operationId, candidateDigest: ref.digest, completedAt: operation.completedAt, + status: operation.status, checks: operation.checks.slice(0, 24).map(({ checkId, status, verifierBasisRef, coverageDigest, execution }) => + ({ checkId, status, verifierBasisRef, coverageDigest, exitCode: execution?.exitCode })), checkCount: operation.checks.length }; + } + const assessmentId = ref.id.startsWith("review_assessment_") ? ref.id.slice("review_".length) : ref.id; + const detail = store.getCodeAssessment(assessmentId); + const assessment = detail?.assessment; + if (!detail || assessment?.kind !== "review" || assessment.reviewFocus || assessment.snapshotDigest !== ref.digest + || detail.snapshot.digest !== ref.digest || assessment.workItem?.workItemId !== binding.workItemId + || assessment.workItem.acceptedPlanRevision !== binding.planRevision || assessment.workItem.controlGeneration !== binding.controlGeneration) { + throw stageCoordinationDenied(); + } + return { kind: ref.type, assessmentId: assessment.id, candidateDigest: ref.digest, revision: assessment.updatedAt, + status: assessment.status, coverage: detail.snapshot.coverage, summary: assessment.summary, + findings: detail.findings.slice(0, 12).map(({ id, title, path, startLine, endLine, severity, disposition }) => + ({ id, title, path, startLine, endLine, severity, disposition })), findingCount: assessment.findingCount }; +} + +export function readStageDependencyOutput(store: RunStore, step: ChannelWorkflowStep, artifactId: string) { + const artifact = store.getArtifact(artifactId); + const run = artifact?.runId ? store.getRun(artifact.runId) : undefined; + const source = run?.workflowStepId ? store.getChannelWorkflowStep(run.workflowStepId) : undefined; + if (!source || run?.status !== "succeeded" || source.status !== "succeeded" || source.runId !== run.id + || source.metadata?.outputArtifactId !== artifactId) throw stageCoordinationDenied(); + const direct = source.workflowId === step.workflowId && step.metadata?.dependsOnStepIds?.includes(source.id); + const retained = !direct && readWorkItemRetainedStageResults(store, readWorkItemWorkflowBinding(store, step.workflowId), step.id).some( + result => result.sourceArtifactId === artifactId && result.sourceRunId === run.id && result.sourceStepId === source.id + && result.expectedSourceRevision === source.updatedAt, + ); + if (!direct && !retained) throw stageCoordinationDenied(); + const packet = readWorkflowStepOutputPacketArtifact({ store, artifactId }); + if (!packet || packet.workflowId !== source.workflowId || packet.workflowStepId !== source.id || packet.runId !== run.id) { + throw stageCoordinationDenied(); + } + return { kind: "stage_output", artifactId, runId: run.id, stepId: source.id, revision: source.updatedAt, + status: packet.status, resultSummary: packet.resultSummary, changedPaths: packet.changedPaths?.slice(0, 24) }; +} diff --git a/packages/daemon/test/app-server-release-acceptance.test.ts b/packages/daemon/test/app-server-release-acceptance.test.ts index f19cd448e..93f62a698 100644 --- a/packages/daemon/test/app-server-release-acceptance.test.ts +++ b/packages/daemon/test/app-server-release-acceptance.test.ts @@ -6617,6 +6617,25 @@ test("one Work Item retains independent verification, review, delivery and rollb snapshotDigest: reviewCandidateDigest, summary: "The candidate preserves the accepted contract.", findings: [], }) })); t.after(() => provider.close()); + const qaToolInputs: object[] = []; + const qaToolResults: Record[] = []; + const stageProvider = await startLoopbackPiProvider((raw: unknown) => { + const { messages, tools } = raw as { + tools?: { function: { name: string } }[]; + messages: { role: string; content: string | readonly { text?: string }[] }[]; + }; + if (!JSON.stringify(messages).includes("Task: Consume independent evidence")) return { text: "The new contract is ready for QA." }; + const tool = "work_item_coordination"; + assert.ok(tools?.some(entry => entry.function.name === tool)); + const results = messages.filter(message => message.role === "tool"); + if (results.length > qaToolResults.length) { + const content = results.at(-1)!.content; + qaToolResults.push(JSON.parse(typeof content === "string" ? content : content.map(part => part.text ?? "").join(""))); + } + const input = qaToolInputs[results.length]; + return input ? { tool, input } : { text: "QA consulted the shared evidence." }; + }); + t.after(() => stageProvider.close()); const base = "b".repeat(40); const mergedCommit = "d".repeat(40); @@ -6626,6 +6645,7 @@ test("one Work Item retains independent verification, review, delivery and rollb let head = ""; const fixture = await releaseFixture(t, { recoveryJournal: true, + channels: { terminalReports: false, teamObserverBus: false }, verificationRecipes: async (root, cwd) => { const script = join(root, "o9-contract-check.cjs"); const source = "if (require('node:fs').readFileSync('contract.txt', 'utf8') !== 'candidate\\n') process.exit(1);\n"; @@ -6675,7 +6695,8 @@ test("one Work Item retains independent verification, review, delivery and rollb const store = fixture.getStore(); const now = new Date().toISOString(); const preset = addLoopbackPreset(store, provider.baseUrl); - const channel = store.createChannel({ name: "O9 acceptance", boundPath: fixture.cwd, allowedTools: ["read"], defaultProviderPresetId: preset.id }, now); + const stagePreset = addLoopbackPreset(store, stageProvider.baseUrl); + const channel = store.createChannel({ name: "O9 acceptance", boundPath: fixture.cwd, allowedTools: ["read"], defaultProviderPresetId: stagePreset.id }, now); const thread = store.createLingThread({ channelId: channel.id, kind: "channel_discussion", title: "O9 acceptance", objective: "Retain one evidence chain." }, now); const plan = store.upsertProposedPlanArtifact({ id: "o9-plan", threadId: thread.id, channelId: channel.id, title: "Preserve the contract", bodyMarkdown: "Run the independent checks and deliver the accepted candidate.", status: "draft" }, now); @@ -6683,8 +6704,14 @@ test("one Work Item retains independent verification, review, delivery and rollb const peer = await fixture.connect(); const accepted = await client.call("plan/accept", { mode: "workflow", threadId: thread.id, planId: plan.id, expectedRevision: plan.revision, - workflowStepPreviews: [{ title: "Implement the contract", stageId: "P01", ownerId: "teammate_builtin_engineer", ownerLabel: "Engineer", requiredTools: ["read"] }], + workflowStepPreviews: [ + { title: "Implement the contract", stageId: "P01", ownerId: "teammate_builtin_engineer", ownerLabel: "Engineer", requiredTools: ["read"] }, + { title: "Consume independent evidence", stageId: "QA", dependsOnStageIds: ["P01"], ownerId: "teammate_builtin_qa", ownerLabel: "QA", requiredTools: ["read"] }, + ], }); + assert.ok(accepted.workflowId); + const [implementation, qa] = store.listChannelWorkflowSteps({ workflowId: accepted.workflowId, complete: true }); + assert.ok(implementation && qa); const item = store.upsertWorkItem({ sourceType: "manual", sourceId: "o9-evidence-chain", title: "Preserve the contract", channelId: channel.id, initialStatus: "ready" }, now); const claimed = await client.call("workItem/accept", { @@ -6772,12 +6799,6 @@ test("one Work Item retains independent verification, review, delivery and rollb await appendProof("o9-delivery-evidence", "evidence_ref", { type: "github_delivery", id: delivered.deliveryId }); await appendProof("o9-rollback-evidence", "evidence_ref", { type: "rollback", id: delivered.deliveryId }); - const prepared = await client.call("server/recovery/prepare", { expectedRevision: 0, idempotencyKey: "o9-rollback-journal" }); - assert.ok(prepared.entries.some(entry => entry.kind === "github_delivery" && entry.workItemId === workItemId)); - const journalEntry = prepared.entries.find(entry => entry.kind === "github_delivery" && entry.workItemId === workItemId); - assert.ok(journalEntry); - assert.equal(journalEntry?.id, delivered.deliveryId); - const evidenceIds = proofs.map(entry => entry.id); assert.equal(new Set(evidenceIds).size, 4); assert.ok(proofs.every(entry => entry.workItemId === workItemId && entry.subjectRevision === planRevision)); @@ -6785,6 +6806,26 @@ test("one Work Item retains independent verification, review, delivery and rollb assert.equal(new Set(proofs.map(entry => `${entry.sourceRefs[0]?.type}:${entry.sourceRefs[0]?.id}`)).size, 4); assert.ok(proofs.every(entry => entry.sourceRefs[0]?.digest === candidate.candidateDigest)); + const { entry: privateEvidence } = await client.call("workItem/evidence/append", { + workItemId, actorId: "local-user", subjectRevision: planRevision, kind: "evidence_ref", visibility: "owner", + content: "Private reviewer material", sourceRefs: proofs[1]!.sourceRefs, idempotencyKey: "o9-owner-private", + }); + const { entry: staleEvidence } = await client.call("workItem/evidence/append", { + workItemId, actorId: "local-user", subjectRevision: `${planRevision}:old`, kind: "evidence_ref", + content: "Superseded Plan", sourceRefs: proofs[0]!.sourceRefs, idempotencyKey: "o9-old-plan-evidence", + }); + const otherItem = store.upsertWorkItem({ sourceType: "manual", sourceId: "o9-other-item", channelId: channel.id, + title: "Unrelated Work Item" }, now); + const { entry: otherEvidence } = await client.call("workItem/evidence/append", { + workItemId: otherItem.id, actorId: "local-user", subjectRevision: planRevision, kind: "evidence_ref", + content: "Evidence in another Work Item", sourceRefs: proofs[0]!.sourceRefs, idempotencyKey: "o9-other-item-evidence", + }); + + const prepared = await client.call("server/recovery/prepare", { expectedRevision: 0, idempotencyKey: "o9-rollback-journal" }); + const journalEntry = prepared.entries.find(entry => entry.kind === "github_delivery" && entry.workItemId === workItemId); + assert.ok(journalEntry); + assert.equal(journalEntry.id, delivered.deliveryId); + await fixture.restart(); const restored = await fixture.connect(); const restoredRound = await restored.call("workItem/deliberation/read", { workItemId }); @@ -6794,6 +6835,44 @@ test("one Work Item retains independent verification, review, delivery and rollb assert.equal(reconciled.pendingCount, 0); const history = await restored.call("workItem/collaboration/read", { workItemId }); assert.equal(history.records.filter(record => record.kind === "deliberation").length, 1); + + const startStage = async (stepId: string) => { + const { daemonUrl, authToken } = fixture.transportOptions(); + const url = new URL(`/workflow-steps/${stepId}/start`, daemonUrl); + url.searchParams.set("cwd", fixture.cwd); + const response = await fetch(url, { method: "POST", body: JSON.stringify({ mode: "create_and_run_task" }), + headers: { authorization: `Bearer ${authToken}`, "content-type": "application/json" } }); + assert.ok(response.ok, await response.text()); + }; + await startStage(implementation.id); + const finished = await waitFor(() => { + const step = fixture.getStore().getChannelWorkflowStep(implementation.id); + return step?.status === "succeeded" && step.metadata?.outputArtifactId ? step : undefined; + }); + const readEvidence = (entry: EvidenceReceipt["entry"]) => ({ action: "read_evidence", evidenceId: entry.id, sourceId: entry.sourceRefs[0]!.id }); + qaToolInputs.push({ action: "read" }, readEvidence(proofs[0]!), readEvidence(proofs[1]!), + readEvidence(privateEvidence), readEvidence(staleEvidence), readEvidence(otherEvidence), + { action: "read_output", artifactId: finished.metadata?.contextArtifactId }, + { action: "read_output", artifactId: finished.metadata?.outputArtifactId }); + assert.ok(finished.metadata?.contextArtifactId); + await startStage(qa.id); + await waitFor(() => fixture.getStore().getChannelWorkflowStep(qa.id)?.status === "succeeded" ? true : undefined); + const [discovered, verifyProof, reviewProof, privateResult, staleResult, otherResult, contextResult, output] = qaToolResults; + assert.deepEqual(discovered?.evidence, { records: proofs.slice(0, 2).map(entry => ({ + evidenceId: entry.id, sources: entry.sourceRefs.map(({ type, id, digest }) => ({ type, id, digest })), + })) }); + assert.equal(verifyProof?.candidateDigest, candidate.candidateDigest); + assert.equal(verifyProof?.status, "passed"); + assert.equal(verifyProof?.operationId, verified.operationId); + assert.equal(reviewProof?.candidateDigest, candidate.candidateDigest); + assert.equal(reviewProof?.status, "completed"); + assert.equal(reviewProof?.assessmentId, reviewed.assessmentId); + for (const denied of [privateResult, staleResult, otherResult, contextResult]) { + assert.equal(denied?.code, "capability_denied"); + } + assert.equal(output?.artifactId, finished.metadata.outputArtifactId); + assert.equal(output?.runId, finished.runId); + assert.match(String(output?.resultSummary), /contract is ready for QA/u); }); test("restoring a pre-cutover SQLite snapshot retains the recovery fence, observed GitHub delivery and grant revocation", { timeout: 35_000 }, async t => { diff --git a/packages/runner-pi/src/extensions/work-item-coordination.ts b/packages/runner-pi/src/extensions/work-item-coordination.ts index 1b7ccde6b..ec8a3aa7a 100644 --- a/packages/runner-pi/src/extensions/work-item-coordination.ts +++ b/packages/runner-pi/src/extensions/work-item-coordination.ts @@ -42,16 +42,20 @@ export function createWorkItemCoordinationExtension(options: PiRunnerRunOptions) label: "Work Item coordination", description: coordinator ? "Read open checkpoints, stages and evidence for the Work Items coordinated in this conversation. If a checkpoint has a concrete open decision, submit it with its current Plan, viable options, evidence and participants. A registered decision will be evaluated at close." - : "Read the accepted Plan's stages and questions assigned to you. Send a stage a message, ask a question, or reply to an assigned question. A queued receipt means the request was recorded. Continue any independent work while awaiting the next model input.", + : "Read the accepted Plan's stages, your questions, shared Verify and Review references, or sealed dependency output. Send a stage a message, ask a question, or reply to an assigned question. A queued receipt means the request was recorded. Continue any independent work while awaiting the next model input.", executionMode: "sequential", parameters: coordinator ? coordinatorParameters : { type: "object", additionalProperties: false, required: ["action"], properties: { - action: { enum: ["read", "send", "ask", "reply"], type: "string" }, + action: { enum: ["read", "read_evidence", "read_output", "send", "ask", "reply"], type: "string" }, targetStepId: { type: "string", minLength: 1, maxLength: 256, description: "Receiving step for send or ask." }, questionId: { type: "string", minLength: 1, maxLength: 256, description: "Assigned question for reply." }, text: { type: "string", minLength: 1, maxLength: 1200, description: "Message, question or answer." }, stageOffset: { type: "integer", minimum: 0, description: "Next stage offset from a read result." }, + afterEvidenceSequence: { type: "integer", minimum: 0, description: "Next shared evidence position from a read result." }, + evidenceId: { type: "string", minLength: 1, maxLength: 256, description: "Shared evidence record for read_evidence." }, + sourceId: { type: "string", minLength: 1, maxLength: 256, description: "Verify or Review source from that shared record." }, + artifactId: { type: "string", minLength: 1, maxLength: 256, description: "Sealed output artifact of your accepted stage dependency." }, }, } as ToolDefinition["parameters"], async execute(toolCallId, input) { From 63b76781ad6c077ce0a83b534fc95e01cd96cd42 Mon Sep 17 00:00:00 2001 From: tianxiaochannel-oss88 Date: Thu, 26 Nov 2026 21:59:13 +0800 Subject: [PATCH 127/147] Preserve App Server receipts across continuations and remote cutover --- .../design/ling-app-server-detailed-design.md | 7 + .../ling-app-server-implementation-plan.md | 12 +- packages/cli/src/main.ts | 21 +-- .../conversations/conversation-submission.ts | 3 +- .../normal-conversation-input.ts | 52 ++++--- .../src/server/app-server-codex-host.ts | 10 +- .../src/server/app-server-github-intake.ts | 3 +- packages/daemon/src/server/rpc.ts | 4 +- .../app-server-release-acceptance.test.ts | 132 ++++++++++++++++-- 9 files changed, 193 insertions(+), 51 deletions(-) diff --git a/docs/design/ling-app-server-detailed-design.md b/docs/design/ling-app-server-detailed-design.md index 03333aadd..b6f0e7eff 100644 --- a/docs/design/ling-app-server-detailed-design.md +++ b/docs/design/ling-app-server-detailed-design.md @@ -44,6 +44,13 @@ CLI 的 `app-server probe` 通过 `LING_STACK_AUTH_TOKEN` 接收 App Server gran ling-stack --cwd /srv/ling/workspace --daemon-url wss://ling.example.test:7443 app-server probe ``` +Codex 运行在另一台主机时,用 `--cwd` 传入 Ling Daemon 注册的绝对路径,用 `--codex-cwd` 指定 Codex 客户端所在的本地 checkout。CLI 按服务端原路径发送 `--cwd`。宿主状态库绑定两端目录、Ling 服务和 Thread,重连时复用所绑定的 Codex Thread。省略 `--codex-cwd` 时,Codex 使用同一个本机目录。 + +```bash +ling-stack --cwd /srv/ling/workspace --daemon-url wss://ling.example.test:7443 \ + app-server codex-host --thread "$LING_THREAD_ID" --codex-cwd ./local-checkout --state ./ling-codex-host.sqlite +``` + [Ling Device Fabric](ling-device-fabric.md#5-cross-device-task-graph) 的项目节点继续引用其执行主机的 WorkUnit 与证据。App Server 的游标与权限绑定本 Daemon 的工作区。远端设备动作及其状态由对应主机的日志、授权与配对投影管理。 绑定以 Daemon 解析的规范化仓库、worktree 和当前授权版本为准。请求 ID 及客户端展示名用于关联与审计,可信 Actor 来自连接凭据。按操作取连接、工作区、目标 Work Item 或 Thread 和运行政策的交集。进入关联 Thread 的上下文还要核对它的访问授权。在受理、执行和提交决策前分别核对当前权属。撤销关闭对应订阅和新动作入口,已受理工作交由 Daemon 按其取消和恢复策略处置。 diff --git a/docs/design/ling-app-server-implementation-plan.md b/docs/design/ling-app-server-implementation-plan.md index da7a4560f..6ca242b3f 100644 --- a/docs/design/ling-app-server-implementation-plan.md +++ b/docs/design/ling-app-server-implementation-plan.md @@ -2,7 +2,7 @@ - **状态** App Server 本机传输、Turn 控制与恢复、Verify 和 Federation 已通过定向验收。Agent Operating Model 已接入工作项接单、控制和协作记录。下文列出完整实施与发行仍需完成的工作包。 - **维护者** Contracts、Daemon、Runtime、API Client、CLI 与开发工具维护者 -- **核对基线** `origin/main@00966e865` +- **核对基线** `origin/main@95ecee6fc` - **类型** 开发准备、依赖顺序和验收计划 - **合同** [产品与架构设计](ling-app-server.md) · [详细设计](ling-app-server-detailed-design.md) - **代码与测试锚点** [Daemon RPC](../../packages/daemon/src/server/rpc.ts) · [控制面往返测试](../../packages/daemon/test/control-plane-api.test.mjs) · [会话受理收据](../../packages/daemon/test/conversation-submission-receipts.test.mjs) · [框架验收](ling-framework-complementary-implementation-plan.md) @@ -60,7 +60,7 @@ | --- | --- | | A2/B1 会话恢复和事件 | `thread/resume` 从读快照取得当前 Turn 和事件游标。两个连接同时恢复已准备的 Turn 只启动一个 Run,并使用原来封存的项目规则。停止的 Turn 以原 Run 效果收敛和请求键为前提续接。订阅者可以接收普通 Pi Turn 的实时增量、结束通知和最终 Item 引用。App Server 的 Thread/Work Item 游标由持久存储代次、授权代次和目标签名,跨重启可复用,主体、工作区、目标或凭据变化返回 `snapshot_required`。SDK 在订阅确认时登记连接内的订阅 ID,紧接确认到达的回放也会推进下次重连的游标。 | | C1 工作区绑定 | App Server 握手校验 Daemon 已授权的工作区,并固定解析后的路径。端到端回归验证越界握手返回 403,目录别名变化后连接继续使用原绑定。 | -| C2 认证 WSS | Host 可配置独立 TLS 监听器,只接受 App Server 上的 scoped grant。实际 TLS 回归覆盖证书校验、Host/Origin 范围、控制和推送、旧 RPC 路径隔离、另一个监听器撤销现有连接。CLI 使用受信证书和 Thread grant 完成 WSS 探测,返回该 grant 允许的方法。远程部署与多平台安装仍需实测。 | +| C2 认证 WSS | Host 可配置独立 TLS 监听器,只接受 App Server 上的 scoped grant。实际 TLS 回归覆盖证书校验、Host/Origin 范围、控制和推送、旧 RPC 路径隔离、另一个监听器撤销现有连接。CLI 使用受信证书和 Thread grant 完成 WSS 探测,并可按原样传入远端工作区路径。Codex 宿主持久绑定本地 checkout 和远端 Thread,重开时复用原 Codex Thread。 | | O2 外部 Runner | 真实 Daemon 使用配置的 Codex Runner Adapter 调用回环模拟后端,核对协商、任务身份、工作区和只读工具范围。完成状态与 Adapter 事件在重启后可重放。未确认的取消保留 `unknown`,存储写入失败时从最后提交状态恢复。 | | B2 在途输入 | `turn/queue` 将输入交给持久 Run intervention。前驱已记录执行结束及副作用收敛时,Daemon 可在重启后用同一收据启动后继 Turn。用配置 Pi Runner 核对实际投递一次、重连事件及新旧 Turn 的关联。`turn/interrupt` 可携带明确的重定向输入。`turn/steer` 在当前 Runner 无同 Turn 安全注入能力时返回 `steer_unsupported`。已安装的 Codex 通过 MCP 验证了快照、追加消息、Turn 恢复入口和事件读取。 | | C2/F2 版本兼容 | 用 `v0.6.1@3fe77440e` 源码构建在 macOS 上创建 Thread、Turn、待决审批和游标,候选 Daemon 接手原 SQLite,旧 SDK 可读取 Thread 和处置后的审批。候选 SDK 向旧 `/rpc/stream` 尝试提交时,在协商阶段返回 `protocol_version_unsupported`。候选 Daemon 的 `/rpc/stream` 仅提供原有方法。测试覆盖 App Server 专属方法拒绝、旧客户端的 Run 启动和取消。候选 CLI probe 和本机 Codex MCP 已通过。v0.6.1 未提供 App Server 协议。发布安装包、远程连接及回退对账另行验收。 | @@ -86,6 +86,10 @@ Schema 导出覆盖 143 个已登记方法,包含已实现方法的请求与 Windows 源码验收使用独立的 GitHub Actions 作业,启动真实 CLI stdio 和受控 Daemon,在回环 WebSocket 上发起一个 Turn,用 stdio 接收终态,再重启 Daemon 并从原游标恢复事件。macOS 和 Linux 还验证私有 Unix socket 的连接与清理。CLI 的 `app-server schema` 导出方法、通知及服务端请求的合同。TypeScript 客户端用握手实例区分重连和 Daemon 重启。 [Windows 传输验收](../../.github/workflows/app-server-windows.yml) +Ubuntu 24.04 ARM64 虚拟机的 Node 22.22.1 SDK 通过 TLS 1.3 连接同一物理机上的 macOS Daemon 候选 `0.6.2-alpha.1`。实测证书校验、在途用户答复、原游标与回执重读、独立审批凭据拒绝工具执行、撤权关闭 `1008` 和重连 `401`。Pi 使用受控 Provider。回归另验证答复派发后继 Run 后,重启并重发 `turn/start` 仍返回原 Run 和原回执,两个 Run 的归属及两次模型调用保持可核对。 [发行验收测试](../../packages/daemon/test/app-server-release-acceptance.test.ts) + +G1 源码回退使用已具备独立恢复日志的 `1fcf920b3` 构建创建 SQLite 快照,切换到基于 `main@95ecee6fc` 的候选后记录交付和撤权,再恢复原构建和快照。对账前禁止新派发,撤销凭据和旧游标失效。GitHub 对账恢复原回执后,新的 Run 可以派发。此场景使用受控 GitHub 响应。通过 `LING_APP_SERVER_ROLLBACK_BUILD` 指向旧构建目录可复跑。 [跨构建回退测试](../../packages/daemon/test/app-server-release-acceptance.test.ts) + ### 受保护 GitHub 合并队列 源码验收覆盖 GitHub 返回 401 和 429 时用原键显式重试。恢复到入队前的 SQLite 快照后,Host 用独立日志确认拒绝并重建原回执。重试重新核对队列规则和干净候选。两个客户端并发提交只触发一次新 mutation。服务接受后丢失响应时,重复请求只对账,等原队列项出现后复用回执。 [发行验收测试](../../packages/daemon/test/app-server-release-acceptance.test.ts) @@ -108,11 +112,11 @@ O9 联合回归在同一 Work Item 确认双端订阅、阶段进度、暂停与 | 工作包 | 代码或验收差距 | | --- | --- | -| A1、B1、C1、C2 | workspace、Thread、Work Item 的 grant 和 WSS 已接入。专用 TLS 监听器实测分离控制和答复权限,支持用户答复原回执与撤权。目标游标已绑定存储代次、授权代次和目标。审批和答复仍需在其他宿主和实际远程部署验收。 | +| A1、B1、C1、C2 | workspace、Thread、Work Item 的 grant 和 WSS 已接入。专用 TLS 监听器实测分离控制和答复权限,支持用户答复原回执与撤权。目标游标已绑定存储代次、授权代次和目标。macOS Daemon 和 Linux SDK 已通过跨 OS 联调,独立物理主机网络及安装产物仍待验收。 | | D1、D2、E1、E2 | 开工与 Pi 运行中的项目规则加载、显式 Claude 规则、两个开发 Skill、工作区 Verify、独立 verifier basis、托管工作树管理、候选改动分页、Turn 改动恢复、选中 hunk 转移和工作台浏览器验证报告已接入。各发行平台验证仍待完成。 | | F1、F2 | 普通会话 Handoff 的候选封存、Goal 预算承接与接手已接入。CLI `app-server codex-host --thread --state --view` 在回环地址提供双端会话视图。本机 Codex 0.171.0-alpha.13、实际 Ling Daemon 与受控 Provider 联调验证两端状态、Ling 在途排队、活跃 Codex Turn 指导、浏览器重连补齐、回执重放和审批提醒。故障回归覆盖原状态库升级、未写出的请求在重连后补投一次,以及已发出但缺少有效回执时保留待确认结果。Pi Host 预算路径的逐请求预留已使用受控 Provider 验证,仍需真实 Provider、隔离工作树和其他 Runner 的对应验收。 | | O1、O3–O9 | GitHub 签名 webhook、轮询和显式接单归并至同一工作项。自动接单策略处理免打扰、并发、启动额度和派发前状态重查。现有 Task、AutomationRun 和同频道用户输入可显式关联工作项。已接受的计划能自动开启声明的阶段审议,并可等待当前 Workflow 结果包的交接回执。受影响阶段可单独暂停,后继阶段可显式引用已收敛或仍在途的独立成果,待执行阶段可接收定向消息和有原 Run 证据的 Agent 答复。工作项暂停期间拒绝新增定向消息。阶段客户端和支持协作工具的 Pi 阶段按 Run/Attempt 收发,Pi 在下一次模型输入接收消息和问答。Workflow 执行使用工作项重试上限,并可依据跨 Run 的结构化故障记录暂停单项阶段。可信 Verify 和已接受 Plan 指定的 Review 均可提供停滞恢复证据。决策检查点支持计划前和在途阶段的建议、接受与手工裁决。Device Work Item Bridge 的持久映射、receipt 账本和 App Server 入口已实现。已接受阶段可显式或按 Host 策略开启独立只读审议、按质疑结果投票,并将裁决应用到声明的候选依赖。定时检查点的登记和关轮自动评估已接入 App Server、SDK、MCP 和频道 Ling Agent。Pi 阶段已可限域读取共享的 Verify、Review 和依赖结果,启动检查由各证据所有者受理。跨主机 Device Fabric owner host 对接仍待完成。 | -| G | 独立恢复日志已验证 SQLite 快照恢复、撤权、旧游标失效和 GitHub 对账后派发。上一版源码通过同一套本地兼容验收。签名安装产物、实际远程 WSS、带独立检查 App 的 Ling 主动入队及三个真实 Provider 自研试点仍需对应环境的证据。macOS 打包预检需要当前打包输入的 Office 审查、对应 Electron/OS 的受限运行时审查和 gstack 平台资源。T01 离线预检可进入评审,真实试点仍需按 Framework Assurance 准入。 | +| G | 已通过跨构建 SQLite 回退、撤权、旧游标失效和 GitHub 对账后派发,也已通过上一版源码兼容。签名安装产物、独立物理主机的远程 WSS、带独立检查 App 的 Ling 主动入队及三个真实 Provider 自研试点仍需对应证据。macOS 打包预检需要当前打包输入的 Office 审查、对应 Electron/OS 的受限运行时审查和 gstack 平台资源。T01 离线预检可进入评审,真实试点仍需按 Framework Assurance 准入。 | ## 目标与开工顺序 diff --git a/packages/cli/src/main.ts b/packages/cli/src/main.ts index 4c328fb6e..22383d7a9 100644 --- a/packages/cli/src/main.ts +++ b/packages/cli/src/main.ts @@ -3,7 +3,7 @@ import { randomUUID } from "node:crypto"; import { constants as fsConstants, type Stats } from "node:fs"; import { access, cp, mkdir, readdir, readFile, rename, rm, stat, writeFile } from "node:fs/promises"; import { createRequire } from "node:module"; -import { basename, dirname, join, resolve } from "node:path"; +import { basename, dirname, join, posix, resolve, win32 } from "node:path"; import process from "node:process"; import { DatabaseSync, type SQLOutputValue } from "node:sqlite"; import { @@ -274,13 +274,13 @@ async function handleAppServer(args: readonly string[], options: GlobalOptions): } const transportOptions = { daemonUrl: options.daemonUrl, cwd: options.cwd, authToken: process.env.LING_STACK_AUTH_TOKEN }; if (mode === "codex-host") { - const parsed = parseCommandArgs(args.slice(1), { stringFlags: new Set(["thread", "state", "codex", "codex-thread"]), + const parsed = parseCommandArgs(args.slice(1), { stringFlags: new Set(["thread", "state", "codex", "codex-thread", "codex-cwd"]), booleanFlags: new Set(["view"]) }); assertNoPositionals(parsed.positionals, "app-server codex-host --thread --state "); const threadId = getFlag(parsed, "thread"), statePath = getFlag(parsed, "state"); - if (!threadId || !statePath) throw new CliError(2, "bad_usage", "Usage: ling-stack app-server codex-host --thread --state [--codex ] [--codex-thread ] [--view]"); + if (!threadId || !statePath) throw new CliError(2, "bad_usage", "Usage: ling-stack app-server codex-host --thread --state [--codex ] [--codex-thread ] [--codex-cwd ] [--view]"); const host = { ...transportOptions, threadId, statePath, codexExecutable: getFlag(parsed, "codex") ?? "codex", - codexThreadId: getFlag(parsed, "codex-thread") }; + codexThreadId: getFlag(parsed, "codex-thread"), codexCwd: getFlag(parsed, "codex-cwd") }; const controller = new AbortController(); const stop = () => controller.abort(); process.on("SIGINT", stop); @@ -6311,7 +6311,7 @@ function assertAllowed(key: string, value: string, allowed: ReadonlySet) function parseGlobalArgs(rawArgs: readonly string[]): ParsedGlobalArgs { const defaultOptions = defaultGlobalOptions(false); let daemonUrl = defaultOptions.daemonUrl; - let cwd = defaultOptions.cwd; + let cwd: string | undefined; let json = false; let verbose = false; let color = true; @@ -6334,12 +6334,12 @@ function parseGlobalArgs(rawArgs: readonly string[]): ParsedGlobalArgs { continue; } if (arg === "--cwd") { - cwd = resolve(requireNext(rawArgs, index, "--cwd")); + cwd = requireNext(rawArgs, index, "--cwd"); index += 1; continue; } if (arg.startsWith("--cwd=")) { - cwd = resolve(arg.slice("--cwd=".length)); + cwd = arg.slice("--cwd=".length); continue; } if (arg === "--json") { @@ -6361,11 +6361,14 @@ function parseGlobalArgs(rawArgs: readonly string[]): ParsedGlobalArgs { args.push(arg); } + const workspacePath = cwd ?? defaultOptions.cwd; + const remoteWorkspace = args[0] === "app-server" && /^(https|wss):\/\//iu.test(daemonUrl) + && (posix.isAbsolute(workspacePath) || win32.isAbsolute(workspacePath)); return { args, options: { daemonUrl: normalizeDaemonUrl(daemonUrl), - cwd, + cwd: remoteWorkspace ? workspacePath : resolve(workspacePath), json, verbose, color, @@ -7839,7 +7842,7 @@ function printCommandHelp(command: string, subcommand?: string): void { if (command === "app-server") { console.log("Usage: ling-stack [global options] app-server [stdio|probe|mcp|listen ]"); console.log(" ling-stack app-server schema [method]"); - console.log(" ling-stack app-server codex-host --thread --state [--codex ] [--codex-thread ] [--view]"); + console.log(" ling-stack app-server codex-host --thread --state [--codex ] [--codex-thread ] [--codex-cwd ] [--view]"); console.log(" Host JSONL methods: ling/snapshot, ling/queue, ling/interrupt, codex/thread/start, codex/snapshot, codex/turn/start, codex/steer"); console.log(" ling-stack [global options] app-server instructions-init [--path ] [--apply ]"); console.log(" ling-stack [global options] app-server verify [--plan] [--check ] [--thread ] [--work-item ]"); diff --git a/packages/daemon/src/features/conversations/conversation-submission.ts b/packages/daemon/src/features/conversations/conversation-submission.ts index e4713e385..c99a8bb66 100644 --- a/packages/daemon/src/features/conversations/conversation-submission.ts +++ b/packages/daemon/src/features/conversations/conversation-submission.ts @@ -43,7 +43,8 @@ export async function prepareConversationSubmission(options: { turnKind: options.turnKind, now, }); const { turn, attachments } = prepared; - if (prepared.replayRequest) return { thread, turn, attachments, runRequest: prepared.replayRequest, replayed: true }; + if (prepared.replayRequest) return { thread, turn, attachments, runRequest: prepared.replayRequest, replayed: true, + replayRunId: prepared.replayRunId }; const attachmentMaterializations = await materializeInlineConversationAttachments({ store, attachments, now, imageVisionSummarizer: options.imageVisionSummarizer, diff --git a/packages/daemon/src/features/conversations/normal-conversation-input.ts b/packages/daemon/src/features/conversations/normal-conversation-input.ts index 3a87f4caf..7f1353cd5 100644 --- a/packages/daemon/src/features/conversations/normal-conversation-input.ts +++ b/packages/daemon/src/features/conversations/normal-conversation-input.ts @@ -2,6 +2,7 @@ import { createHash } from "node:crypto"; import { createLingTurnId, normalConversationSubmissionKey, type AppendConversationAcceptedInput, type ConversationAttachment, type LingThread, type LingTurn, type LingTurnKind, type RunStore } from "@ling-stack/core"; import type { ChannelMessageFileRef } from "@ling-stack/contracts"; import { HttpError } from "../../errors.js"; +import { isRecord } from "../../shared/validation.js"; import type { RunRequest } from "../runs/schemas.js"; import { readNormalConversationPreparedRequest } from "./normal-conversation-prepared-request.js"; import { readNormalConversationPreparedExecution } from "./normal-conversation-prepared-execution.js"; @@ -14,6 +15,7 @@ export interface PreparedNormalConversationInput { readonly acceptedSnapshotId?: string; readonly idempotencyKey: string; readonly replayRequest?: RunRequest; + readonly replayRunId?: string; } /** Atomically anchor, bind attachments, and persist frozen history before any await. */ @@ -68,16 +70,17 @@ export function prepareNormalConversationInput(input: { domainRefs: [{ type: "turn", id: turnId }], idempotencyKey, }; - const legacyReplay = previousTurn && existing ? readReplay(store, thread.id, previousTurn.id, existing.id) : undefined; const stored = existing ? store.getConversationAcceptedInputSnapshot(existing.id) : undefined; - if (legacyReplay && !stored) { - if (legacyReplay.normalConversationAcceptedSnapshotId !== undefined || legacyReplay.normalConversationPreparedRequestRef !== undefined) { + const legacyReplay = !stored && previousTurn && existing ? readReplay(store, thread.id, previousTurn.id, existing.id, idempotencyKey) : undefined; + if (legacyReplay) { + const { request, runId } = legacyReplay; + if (request.normalConversationAcceptedSnapshotId !== undefined || request.normalConversationPreparedRequestRef !== undefined) { throw new Error("Accepted input snapshot required by Run is missing"); } // Upgrade compatibility: preserve an existing Run, never manufacture past acceptance evidence. store.appendConversationUserTurn(appendInput, input.now); - assertReplayKey(legacyReplay, idempotencyKey); - return { turn: previousTurn!, attachments, context: legacyReplay.normalConversationContext!, idempotencyKey, replayRequest: legacyReplay }; + return { turn: previousTurn!, attachments, context: request.normalConversationContext!, idempotencyKey, + replayRequest: request, replayRunId: runId }; } const result = store.appendConversationUserTurnWithAcceptedSnapshot(appendInput, (source) => { const payload = collectNormalConversationContextWithinSnapshot({ store, threadId: thread.id, sourceItemId: source.item.id }); @@ -89,34 +92,39 @@ export function prepareNormalConversationInput(input: { throw new Error("Accepted input snapshot payload source mismatch"); } const turn = store.getLingTurn(result.turnId)!; - const runReplay = readReplay(store, thread.id, turn.id, result.item.id); - if (runReplay) { - assertReplayKey(runReplay, idempotencyKey); - if (runReplay.normalConversationContext?.fingerprint !== context.fingerprint || - (runReplay.normalConversationAcceptedSnapshotId !== undefined && runReplay.normalConversationAcceptedSnapshotId !== accepted.id)) { + const runReplay = readReplay(store, thread.id, turn.id, result.item.id, idempotencyKey); + const originalRequest = runReplay?.request; + if (originalRequest) { + if (originalRequest.normalConversationContext?.fingerprint !== context.fingerprint || + (originalRequest.normalConversationAcceptedSnapshotId !== undefined && originalRequest.normalConversationAcceptedSnapshotId !== accepted.id)) { throw new Error("Accepted input snapshot and Run context mismatch"); } } - const requestReplay = readNormalConversationPreparedRequest(store, result.item.id, runReplay); - if (runReplay) { - if (store.getConversationPreparedInput(result.item.id, "execution") && !runReplay.normalConversationPreparedExecutionRef) { + const requestReplay = readNormalConversationPreparedRequest(store, result.item.id, originalRequest); + if (originalRequest) { + if (store.getConversationPreparedInput(result.item.id, "execution") && !originalRequest.normalConversationPreparedExecutionRef) { throw new Error("Prepared execution marker required by Run is missing"); } - if (runReplay.normalConversationPreparedExecutionRef) readNormalConversationPreparedExecution(store, runReplay); + if (originalRequest.normalConversationPreparedExecutionRef) readNormalConversationPreparedExecution(store, originalRequest); } - const replayRequest = requestReplay ?? runReplay; + const replayRequest = requestReplay ?? originalRequest; if (replayRequest) assertReplayKey(replayRequest, idempotencyKey); - return { turn, context, acceptedSnapshotId: accepted.id, idempotencyKey, replayRequest, + return { turn, context, acceptedSnapshotId: accepted.id, idempotencyKey, replayRequest, replayRunId: runReplay?.runId, attachments: attachments.map((attachment) => store.getConversationAttachment(attachment.id)!) }; } -function readReplay(store: RunStore, threadId: string, turnId: string, itemId: string): RunRequest | undefined { +function readReplay(store: RunStore, threadId: string, turnId: string, itemId: string, key: string) { const links = store.listLingTurnRuns(turnId).filter((link) => link.role !== "validation"); - if (links.length > 1) throw new Error("Normal input replay has ambiguous Run ownership"); - if (!links[0]) return undefined; - const run = store.getRun(links[0].runId); - if (!run) throw new Error("Normal input replay Run is missing"); - return readNormalConversationRunRequest(run, { threadId, turnId, itemId }); + if (!links.length) return undefined; + const owners = links.map((link) => { + const run = store.getRun(link.runId); + if (!run) throw new Error("Normal input replay Run is missing"); + return run; + }).filter(({ requestSnapshot }) => isRecord(requestSnapshot) && requestSnapshot.idempotencyKey === key); + if (owners.length > 1) throw new Error("Normal input replay has ambiguous Run ownership"); + const [run] = owners; + if (!run) throw new Error("Normal input replay Run idempotency mismatch"); + return { runId: run.id, request: readNormalConversationRunRequest(run, { threadId, turnId, itemId }) }; } function assertReplayKey(request: RunRequest, key: string): void { diff --git a/packages/daemon/src/server/app-server-codex-host.ts b/packages/daemon/src/server/app-server-codex-host.ts index 14bec8d12..f4d6bed22 100644 --- a/packages/daemon/src/server/app-server-codex-host.ts +++ b/packages/daemon/src/server/app-server-codex-host.ts @@ -12,6 +12,7 @@ import { connectToAppServer, type AppServerLocalTransportOptions } from "./app-s export interface LingCodexHostOptions extends AppServerLocalTransportOptions { readonly threadId: string; readonly codexThreadId?: string; + readonly codexCwd?: string; readonly codexExecutable: string; readonly statePath: string; } @@ -31,9 +32,12 @@ export async function runLingCodexHost( ): Promise { const url = new URL(options.daemonUrl); if (url.username || url.password) throw new Error("Use the App Server bearer header for credentials."); - const cwd = realpathSync(options.cwd); + const cwd = realpathSync(options.codexCwd ?? options.cwd); + const tls = url.protocol === "https:" || url.protocol === "wss:"; + const workspaceCwd = options.codexCwd === undefined ? cwd : tls ? options.cwd : realpathSync(options.cwd); const ling = connectToAppServer(options, "ling-codex-host", true); - const state = openHostState(options.statePath, JSON.stringify([url.origin, cwd, options.threadId])); + const binding = [url.origin, workspaceCwd, options.threadId, ...(cwd === workspaceCwd ? [] : [cwd])]; + const state = openHostState(options.statePath, JSON.stringify(binding)); const controller = new AbortController(); const stop = () => controller.abort(); signal.addEventListener("abort", stop, { once: true }); @@ -275,7 +279,7 @@ function openHostState(path: string, binding: string) { CREATE TABLE IF NOT EXISTS deliveries (id TEXT PRIMARY KEY, status TEXT NOT NULL, remote_code INTEGER, failure_code TEXT);`); db.prepare("INSERT OR IGNORE INTO host_state(key,value) VALUES ('binding', ?)").run(binding); const read = (key: string) => db.prepare("SELECT value FROM host_state WHERE key=?").get(key)?.value as string | undefined; - if (read("binding") !== binding) throw new Error("The control host state belongs to a different Ling workspace or Thread."); + if (read("binding") !== binding) throw new Error("The control host state belongs to a different Ling workspace, Ling Thread or Codex directory."); if (!db.prepare("PRAGMA table_info(deliveries)").all().some(column => column.name === "failure_code")) { db.exec("ALTER TABLE deliveries ADD COLUMN failure_code TEXT"); } diff --git a/packages/daemon/src/server/app-server-github-intake.ts b/packages/daemon/src/server/app-server-github-intake.ts index 5040951ec..983ebd780 100644 --- a/packages/daemon/src/server/app-server-github-intake.ts +++ b/packages/daemon/src/server/app-server-github-intake.ts @@ -297,7 +297,8 @@ export async function dispatchGitHubIntake( automaticIntakeReceiptId: receipt.receiptId, imageVisionSummarizer: context.imageVisionSummarizer, now: new Date().toISOString() }); assertCurrent(); publishPreparedConversationTurn(store, context.controlPlaneEvents, prepared.turn); - const runId = prepared.turn.activeRunId ?? prepared.turn.lastRunId ?? await startRun(prepared.runRequest, { receiptId: receipt.receiptId, assertCurrent }); + const runId = prepared.replayRunId ?? prepared.turn.activeRunId ?? prepared.turn.lastRunId + ?? await startRun(prepared.runRequest, { receiptId: receipt.receiptId, assertCurrent }); if (runId) complete("admitted", undefined, runId); else complete("pending", "work_item_admission_pending"); } catch (error) { diff --git a/packages/daemon/src/server/rpc.ts b/packages/daemon/src/server/rpc.ts index 3fa164cfc..07bbf27e0 100644 --- a/packages/daemon/src/server/rpc.ts +++ b/packages/daemon/src/server/rpc.ts @@ -2552,7 +2552,7 @@ class RpcConnection { turnKind: record.kind === undefined ? undefined : readLingTurnKind(readStringField(record, "kind")), imageVisionSummarizer: this.context.imageVisionSummarizer, }); - const { turn, runRequest, replayed } = prepared; + const { turn, runRequest, replayed, replayRunId } = prepared; if (input.providerPresetId && input.providerPresetId !== runRequest.providerPresetId || input.executionBinding && JSON.stringify(input.executionBinding) !== JSON.stringify(runRequest.executionBinding)) { throw rpcError(-32031, "idempotency_conflict", "The original submission used a different execution configuration."); @@ -2560,7 +2560,7 @@ class RpcConnection { if (!this.grantIsCurrent()) throw rpcError(-32020, "authorization_required", "The App Server grant expired or was revoked before dispatch."); publishPreparedConversationTurn(store, this.context.controlPlaneEvents, turn); const receipt = readConversationSubmission(store, { surface: "normal", threadId: thread.id, idempotencyKey: input.idempotencyKey! }); - const runId = turn.activeRunId ?? turn.lastRunId ?? await this.executeConversationRun(runRequest); + const runId = replayRunId ?? turn.activeRunId ?? turn.lastRunId ?? await this.executeConversationRun(runRequest); const currentThread = store.getLingThread(thread.id) ?? thread; return { cwd, thread: projectPublicLingThread(currentThread), turn: projectPublicLingTurn(store.getLingTurn(turn.id) ?? turn, currentThread), diff --git a/packages/daemon/test/app-server-release-acceptance.test.ts b/packages/daemon/test/app-server-release-acceptance.test.ts index 93f62a698..21fd6e824 100644 --- a/packages/daemon/test/app-server-release-acceptance.test.ts +++ b/packages/daemon/test/app-server-release-acceptance.test.ts @@ -4,6 +4,7 @@ import { createHash, createHmac, randomBytes, randomUUID } from "node:crypto"; import { once } from "node:events"; import { chmod, copyFile, link, lstat, mkdir, mkdtemp, readFile, realpath, rm, symlink, unlink, writeFile } from "node:fs/promises"; import { createServer as createHttpServer } from "node:http"; +import { createServer as createHttpsServer } from "node:https"; import { createConnection, createServer } from "node:net"; import { tmpdir } from "node:os"; import { PassThrough, type Duplex, type Readable, type Writable } from "node:stream"; @@ -6057,9 +6058,11 @@ test("a Pi question is pushed live, accepts the current Host authority once and const { cursor } = await client.call("thread/snapshot", { threadId: thread.id }); await client.call("thread/subscribe", { threadId: thread.id, cursor }); const preset = addLoopbackPreset(fixture.getStore(), provider.baseUrl); - const { run, turn } = await client.call<{ run: { id: string }; turn: { id: string } }>("turn/start", { + const originalInput = { threadId: thread.id, message: "Ask which contract applies.", idempotencyKey: "question-turn", providerPresetId: preset.id, - }); + }; + type SubmittedTurn = { run: { id: string }; turn: { id: string }; receipt: unknown; replayed: boolean }; + const { run, turn, receipt } = await client.call("turn/start", originalInput); const request = await waitFor(() => client.notices.find(notice => notice.method === "input/requestAnswer")); assert.match(JSON.stringify(request), /Which contract should I use\?/u); assert.doesNotMatch(JSON.stringify(request), /answerAuthority/u); @@ -6104,6 +6107,18 @@ test("a Pi question is pushed live, accepts the current Host authority once and assert.equal(observer.notices.some(notice => notice.method === "input/requestAnswer"), false); assert.deepEqual(observer.notices.filter(notice => notice.method === "serverRequest/resolved" && notice.params?.event?.entityId === authority.requestId).map(notice => notice.params?.eventId), [resolution.params?.eventId]); + + const runLinks = fixture.getStore().listLingTurnRuns(turn.id); + assert.deepEqual(runLinks.map(link => link.role), ["primary", "resume"]); + await fixture.restart(); + const reconnected = await fixture.connect(); + const retried = await reconnected.call("turn/start", originalInput); + assert.equal(retried.replayed, true); + assert.equal(retried.run.id, run.id); + assert.equal(retried.turn.id, turn.id); + assert.deepEqual(retried.receipt, receipt); + assert.deepEqual(fixture.getStore().listLingTurnRuns(turn.id), runLinks); + assert.equal(provider.requests.length, 2); }); test("an authenticated connection can decide its Run approval and rejects a different workspace binding", { timeout: 20_000 }, async t => { @@ -6280,6 +6295,77 @@ test("the dedicated TLS App Server accepts scoped controllers and revokes access assert.equal(probe.protocolVersion, "ling-app-server/1"); assert.ok(probe.methods.includes("turn/start")); assert.ok(!probe.methods.includes("server/grants/revoke")); + const foreignWorkspace = process.platform === "win32" ? "/srv/ling/worktree" : "D:\\Ling worktrees\\candidate"; + const remote = createHttpsServer({ cert: ca, key: await readFile(join(fixture.root, "private-key.pem")) }); + remote.listen(0, "127.0.0.1"); + await once(remote, "listening"); + const remoteClosed = once(remote, "close"); + t.after(async () => { remote.close(); await remoteClosed; }); + const remoteAddress = remote.address(); + assert.ok(remoteAddress && typeof remoteAddress === "object"); + let receivedWorkspace: string | null = null; + remote.once("upgrade", (request, socket) => { + receivedWorkspace = new URL(request.url!, "https://127.0.0.1").searchParams.get("cwd"); + socket.destroy(); + }); + const probeForeign = promisify(execFile)(process.execPath, [ + cli, `--cwd=${foreignWorkspace}`, "--daemon-url", `wss://127.0.0.1:${remoteAddress.port}`, "app-server", "probe", + ], { env: { ...process.env, NODE_EXTRA_CA_CERTS: certificateFile, LING_STACK_AUTH_TOKEN: credential }, timeout: 8_000 }); + await assert.rejects(probeForeign); + assert.equal(receivedWorkspace, foreignWorkspace); + if (process.platform !== "win32") { + const localCwd = join(fixture.root, "codex-workspace"); + await mkdir(localCwd); + const codexPeer = join(fixture.root, "codex-wss-peer.cjs"); + await writeFile(codexPeer, [ + "#!/usr/bin/env node", + "if (process.env.LING_STACK_AUTH_TOKEN) process.exit(2);", + "require('node:readline').createInterface({ input: process.stdin }).on('line', line => {", + " const { id, method, params } = JSON.parse(line);", + " if (id === undefined) return;", + " if (params?.cwd && params.cwd !== process.cwd()) process.exit(3);", + " const result = method === 'initialize' ? { userAgent: 'codex-wss-peer' } : { thread: { id: 'bound-thread', cwd: process.cwd() } };", + " process.stdout.write(JSON.stringify({ id, result }) + '\\n');", + "});", + ].join("\n"), { mode: 0o700 }); + const statePath = join(fixture.root, "codex-wss.sqlite"); + const env = { ...process.env, NODE_EXTRA_CA_CERTS: certificateFile, LING_STACK_AUTH_TOKEN: credential }; + const startHost = (cwd: string) => spawn(process.execPath, [ + cli, "--cwd", fixture.cwd, "--daemon-url", fixture.wssUrl(), "app-server", "codex-host", "--thread", thread.id, + "--codex-cwd", cwd, "--state", statePath, "--codex", codexPeer, + ], { env, stdio: "pipe" }); + let codexThreadId: string | undefined; + for (let attempt = 0; attempt < 2; attempt++) { + const host = startHost(localCwd); + let diagnostics = ""; + host.stderr.setEncoding("utf8").on("data", chunk => { diagnostics = (diagnostics + chunk).slice(-4000); }); + const closed = once(host, "close"); + t.after(async () => { if (host.exitCode === null && host.signalCode === null) host.kill(); await closed; }); + const peer = jsonLines(host.stdin, host.stdout); + await Promise.race([waitFor(() => peer.notices.find(notice => notice.method === "ready")), + closed.then(() => { throw new Error(diagnostics.replaceAll(credential, "[redacted]")); })]); + assert.equal((await peer.call("ling/snapshot")).thread.id, thread.id); + const bound = await peer.call<{ threadId: string }>("codex/thread/start"); + const local = await peer.call<{ thread: { id: string; cwd: string } }>("codex/snapshot"); + assert.equal(local.thread.cwd, localCwd); + assert.equal(local.thread.id, bound.threadId); + if (codexThreadId) assert.equal(local.thread.id, codexThreadId); + codexThreadId = local.thread.id; + host.stdin.end(); + assert.equal((await closed)[0], 0, diagnostics.replaceAll(credential, "[redacted]")); + } + const wrongDirectory = startHost(fixture.root); + wrongDirectory.stdin.end(); + const [diagnostic, [exitCode]] = await Promise.all([ + new Promise(resolve => { + let stderr = ""; + wrongDirectory.stderr.setEncoding("utf8").on("data", chunk => { stderr += chunk; }).once("end", () => resolve(stderr)); + }), + once(wrongDirectory, "close"), + ]); + assert.notEqual(exitCode, 0); + assert.match(diagnostic, /control host state belongs to a different Ling workspace, Ling Thread or Codex directory/u); + } const open = (credential: string | undefined, options: { host?: string; origin?: string; trust?: boolean } = {}) => once(new WebSocket(url, { ca: options.trust === false ? undefined : ca, headers: { ...(credential ? { Authorization: `Bearer ${credential}` } : {}), @@ -6309,8 +6395,8 @@ test("the dedicated TLS App Server accepts scoped controllers and revokes access client.onNotification(notification => notifications.push(notification.method)); const states: string[] = []; client.onConnectionState(status => states.push(status.state)); - const remote = await client.connect(); - assert.deepEqual(remote.effectiveScopes, ["control", "observe"]); + const initialized = await client.connect(); + assert.deepEqual(initialized.effectiveScopes, ["control", "observe"]); await client.subscribe({ threadId: thread.id }); await assert.rejects(client.readThread(other.id), { code: "capability_denied" }); const action = await client.startTurn({ threadId: thread.id, providerPresetId: preset.id, @@ -6876,6 +6962,8 @@ test("one Work Item retains independent verification, review, delivery and rollb }); test("restoring a pre-cutover SQLite snapshot retains the recovery fence, observed GitHub delivery and grant revocation", { timeout: 35_000 }, async t => { + const rollbackBuild = process.env.LING_APP_SERVER_ROLLBACK_BUILD; + const rollbackRuntime = rollbackBuild ? await readReleaseRuntime(rollbackBuild) : undefined; const base = "b".repeat(40), mergedCommit = "c".repeat(40); const workflowPath = ".github/workflows/verify.yml"; const workflow = "name: Trusted verification\n"; @@ -6887,6 +6975,7 @@ test("restoring a pre-cutover SQLite snapshot retains the recovery fence, observ t.after(() => provider.close()); const fixture = await releaseFixture(t, { recoveryJournal: true, + initialRuntime: rollbackRuntime, githubSources: cwd => [{ workspaceRoot: cwd, repository: "example/ling", repositoryId: "73", deliveryPolicies: [{ baseRef: "main", requiredChecks: [ { name: "unit", appId: 19, workflowId: 5, workflowPath, workflowSha256, basis: "head", coverageRefs: ["unit"] }, @@ -6926,7 +7015,8 @@ test("restoring a pre-cutover SQLite snapshot retains the recovery fence, observ git("-c", "user.name=Fixture", "-c", "user.email=fixture@example.test", "commit", "-qm", "Candidate"); head = git("rev-parse", "HEAD"); - const client = await fixture.connect(); + let client = await fixture.connect(); + const originalDaemon = client.initialization; const { thread } = await client.call("thread/start", { title: "Record a delivery" }); const { thread: newWork } = await client.call("thread/start", { title: "Next task" }); const preset = addLoopbackPreset(fixture.getStore(), provider.baseUrl); @@ -6950,7 +7040,7 @@ test("restoring a pre-cutover SQLite snapshot retains the recovery fence, observ }; const previous = await makeGrant("Already issued"); const revocable = await makeGrant("Revoke during cutover"); - const observer = await fixture.connect("/app-server/rpc", fixture.cwd, previous.token); + let observer = await fixture.connect("/app-server/rpc", fixture.cwd, previous.token); await assert.rejects(observer.call("server/recovery/prepare", { expectedRevision: 0, idempotencyKey: "forbidden" }), { code: "capability_denied" }); const { cursor } = await client.call("thread/snapshot", { threadId: thread.id }); await observer.call("thread/subscribe", { threadId: newWork.id }); @@ -6958,6 +7048,14 @@ test("restoring a pre-cutover SQLite snapshot retains the recovery fence, observ const databasePath = fixture.getStore().paths.databasePath; const backup = join(fixture.root, "before-cutover.sqlite"); backupSqlite(databasePath, backup); + if (rollbackRuntime) { + await fixture.restart(); + client = await fixture.connect(); + assert.notEqual(client.initialization?.serverInstanceId, originalDaemon?.serverInstanceId); + assert.equal((await client.call("thread/events/read", { threadId: thread.id, cursor })).window.disposition, "complete"); + observer = await fixture.connect("/app-server/rpc", fixture.cwd, previous.token); + await observer.call("thread/subscribe", { threadId: newWork.id }); + } const observed = await reconcileDelivery(client); assert.equal(observed.status, "delivered"); @@ -6970,8 +7068,13 @@ test("restoring a pre-cutover SQLite snapshot retains the recovery fence, observ const premature = await fixture.connect(); await assert.rejects(premature.call("server/recovery/reconcile", { expectedRevision: prepared.revision }), { code: "resume_blocked" }); - await fixture.restart({ beforeStart: () => restoreSqlite(databasePath, backup) }); + await fixture.restart({ runtime: rollbackRuntime, beforeStart: () => restoreSqlite(databasePath, backup) }); const restored = await fixture.connect(); + if (rollbackRuntime) { + assert.equal(restored.initialization?.serverInfo.version, originalDaemon?.serverInfo.version); + assert.notEqual(restored.initialization?.serverInstanceId, client.initialization?.serverInstanceId); + t.diagnostic(`Daemon cutover ${originalDaemon?.serverInfo.version} → ${client.initialization?.serverInfo.version} → ${restored.initialization?.serverInfo.version}`); + } assert.notEqual(restored.initialization?.storeIncarnation, client.initialization?.storeIncarnation); assert.notEqual(restored.initialization?.authorizationEpoch, client.initialization?.authorizationEpoch); assert.equal((await restored.call("thread/events/read", { threadId: thread.id, cursor })).window.disposition, "snapshot_required"); @@ -7325,6 +7428,15 @@ type ReleaseRuntime = { }; const candidateRuntime: ReleaseRuntime = { createDaemonServer, createSqliteRunStore, resolveStoragePaths }; +async function readReleaseRuntime(root: string): Promise { + const built = (path: string) => pathToFileURL(join(root, "packages", path)).href; + const [daemon, core] = await Promise.all([ + import(built("daemon/dist/index.js")) as Promise>, + import(built("core/dist/index.js")) as Promise>, + ]); + return { ...core, ...daemon }; +} + async function releaseFixture(t: TestContext, { runner, initialRuntime = candidateRuntime, harness, requireAuth = true, verificationRecipes, githubSources, externalWorkFetch, secretResolver, wssConfig, recoveryJournal = false, channels, deliberationPolicies, mobileReplies = false, @@ -7429,12 +7541,14 @@ async function releaseFixture(t: TestContext, { assert.ok(store); return store; }, - async restart({ rotateAuthToken = false, beforeStart }: { rotateAuthToken?: boolean; beforeStart?: () => Promise } = {}) { + async restart({ rotateAuthToken = false, beforeStart, runtime = candidateRuntime }: { + rotateAuthToken?: boolean; beforeStart?: () => Promise; runtime?: ReleaseRuntime; + } = {}) { await stop(); stores.clear(); await beforeStart?.(); if (rotateAuthToken) authToken = randomUUID(); - daemon = makeDaemon(candidateRuntime); + daemon = makeDaemon(runtime); await daemon.start(); }, async connect(path: "/app-server/rpc" | "/rpc/stream" = "/app-server/rpc", workspaceCwd = cwd, credential?: string) { From 61c96ad9ac9f934d000ba7c8ed3a8cd2a15483dd Mon Sep 17 00:00:00 2001 From: tianxiaochannel-oss88 Date: Thu, 26 Nov 2026 22:25:54 +0800 Subject: [PATCH 128/147] Drain committed tool denials before Daemon shutdown --- .../ling-app-server-implementation-plan.md | 2 + .../daemon/src/features/runs/approvals.ts | 18 +++++--- .../daemon/src/features/runs/orchestrator.ts | 42 +++++++++++++++---- packages/daemon/src/runtime/active-runs.ts | 3 ++ .../app-server-release-acceptance.test.ts | 36 ++++++++++++++++ 5 files changed, 87 insertions(+), 14 deletions(-) diff --git a/docs/design/ling-app-server-implementation-plan.md b/docs/design/ling-app-server-implementation-plan.md index 6ca242b3f..a360384dc 100644 --- a/docs/design/ling-app-server-implementation-plan.md +++ b/docs/design/ling-app-server-implementation-plan.md @@ -88,6 +88,8 @@ Windows 源码验收使用独立的 GitHub Actions 作业,启动真实 CLI std Ubuntu 24.04 ARM64 虚拟机的 Node 22.22.1 SDK 通过 TLS 1.3 连接同一物理机上的 macOS Daemon 候选 `0.6.2-alpha.1`。实测证书校验、在途用户答复、原游标与回执重读、独立审批凭据拒绝工具执行、撤权关闭 `1008` 和重连 `401`。Pi 使用受控 Provider。回归另验证答复派发后继 Run 后,重启并重发 `turn/start` 仍返回原 Run 和原回执,两个 Run 的归属及两次模型调用保持可核对。 [发行验收测试](../../packages/daemon/test/app-server-release-acceptance.test.ts) +工具审批的拒绝已提交而原 Run 仍在等待时,Daemon 关闭会等待原回调结算,并阻断该 Run 的后续调用。回归即刻重启,确认拒绝决定只记一次,原命令留下 `known_no_start` 回执,资源租约已释放,Provider 请求保持一次。另有回归验证尚待用户决定的审批可原样保留。 [发行验收测试](../../packages/daemon/test/app-server-release-acceptance.test.ts) · [待决审批回归](../../packages/daemon/test/approval-policy-run.test.mjs) + G1 源码回退使用已具备独立恢复日志的 `1fcf920b3` 构建创建 SQLite 快照,切换到基于 `main@95ecee6fc` 的候选后记录交付和撤权,再恢复原构建和快照。对账前禁止新派发,撤销凭据和旧游标失效。GitHub 对账恢复原回执后,新的 Run 可以派发。此场景使用受控 GitHub 响应。通过 `LING_APP_SERVER_ROLLBACK_BUILD` 指向旧构建目录可复跑。 [跨构建回退测试](../../packages/daemon/test/app-server-release-acceptance.test.ts) ### 受保护 GitHub 合并队列 diff --git a/packages/daemon/src/features/runs/approvals.ts b/packages/daemon/src/features/runs/approvals.ts index cc17a3548..183a71644 100644 --- a/packages/daemon/src/features/runs/approvals.ts +++ b/packages/daemon/src/features/runs/approvals.ts @@ -206,7 +206,7 @@ export function createRunApprovalHandler(options: { request: PiRunnerApprovalRequest, approvalWait: ReturnType, fileAdmission?: FileMutationAdmission, - commandAdmission?: { readonly operation: HostCommandOperation; dispatched: boolean }, + commandAdmission?: { readonly operation: HostCommandOperation; ownsSettlement: boolean }, ) => { const signal = request.signal ? AbortSignal.any([request.signal, ...(options.signal ? [options.signal] : [])]) : options.signal; // A Run has one durable approval-wait state. Parallel tool calls must not @@ -374,7 +374,7 @@ export function createRunApprovalHandler(options: { const executionRejection = rejectUnboundEffect(); if (executionRejection) return executionRejection; if (unifiedExecBash) { - if (commandAdmission) commandAdmission.dispatched = true; + if (commandAdmission) commandAdmission.ownsSettlement = true; return { approved: true, reason: policyDecision.reason, @@ -713,6 +713,14 @@ export function createRunApprovalHandler(options: { }), }); } + if (resolvedApproval.status !== "approved") { + // Record no-start while the original tool callback still owns the waiting Run. + fileAdmission?.settle(); + if (commandAdmission) { + commandAdmission.operation.settleNoStart(); + commandAdmission.ownsSettlement = true; + } + } if (resolvedApproval.status === "approved") { transitionRunStatus({ runId: options.run.id, @@ -862,7 +870,7 @@ export function createRunApprovalHandler(options: { // Host execution has its own executor and receipt; never run file/Bash effects here. if (isHost) return { approved: true, approvalId: resolvedApproval.id, reason: resolvedApproval.decisionReason }; if (unifiedExecBash) { - if (commandAdmission) commandAdmission.dispatched = true; + if (commandAdmission) commandAdmission.ownsSettlement = true; handledResult = await executeHarnessedBashTool({ mode: toolBrokerMode, restrictedCommandRuntime: options.restrictedCommandRuntime, @@ -940,13 +948,13 @@ export function createRunApprovalHandler(options: { const fileAdmission = tracker && (request.toolName === "write" || request.toolName === "edit") ? reserveFileMutationAdmission(tracker, request.toolCallId) : undefined; const commandAdmission = tracker && request.toolName === "bash" - ? { operation: tracker.commandOperation(tracker.beginHostCall("command", request.toolCallId)), dispatched: false } + ? { operation: tracker.commandOperation(tracker.beginHostCall("command", request.toolCallId)), ownsSettlement: false } : undefined; const settleAdmissions = (): void => { fileAdmission?.settle(); // Once handed to the Broker/Unified executor it alone decides whether // spawn was entered; an SDK return is never a command no-start receipt. - if (commandAdmission && !commandAdmission.dispatched) { + if (commandAdmission && !commandAdmission.ownsSettlement) { try { commandAdmission.operation.settleNoStart(); } catch (error) { try { commandAdmission.operation.markUnknown("command_execution_unconfirmed"); } catch { /* fail closed */ } diff --git a/packages/daemon/src/features/runs/orchestrator.ts b/packages/daemon/src/features/runs/orchestrator.ts index a0768af90..e792af0fb 100644 --- a/packages/daemon/src/features/runs/orchestrator.ts +++ b/packages/daemon/src/features/runs/orchestrator.ts @@ -2613,11 +2613,16 @@ async function executeAdmittedRunRequest( && Boolean(run.contextViewId) && runnerResolution.runner.adapter instanceof PiRunnerAdapter; let gracefullySuspended = false; let shutdownSuspensionCause: "daemon_restart" | "desktop_quit" | "process_signal" | undefined; + let localApprovalWaitId: string | undefined; + let drainingDeniedApproval = false; let approvalSuspensionBlocked: unknown; const suspensionOrder = runSuspensionOrderFor(activeRuns); const suspensionSource = suspensionOrder.capture(store, { runId: run.id, ...runnerCallbackFence }); const assertCurrentRunAdmission = (): void => { abortController.signal.throwIfAborted(); + if (drainingDeniedApproval) { + throw new HttpError(409, "approval_denied", "The tool approval was denied before shutdown."); + } if (queuedClaim) { assertQueuedRunParticipantCurrent(store, run.teammateId); const entry = store.getRuntimeRunQueueEntry(run.id); @@ -2679,7 +2684,7 @@ async function executeAdmittedRunRequest( && active.runtimeInstanceId === runnerCallbackFence.runtimeInstanceId && active.fencingToken === runnerCallbackFence.fencingToken; }; - const readApprovalWaitSuspension = () => { + const readApprovalWait = () => { const currentRun = store.getRun(run.id); const currentUnit = store.getWorkUnit(workUnit.id); const currentAttempt = store.getWorkUnitAttempt(attempt.id); @@ -2702,12 +2707,14 @@ async function executeAdmittedRunRequest( if (descendants.steps.length || descendants.issues.length || gracefulSuspensionController?.hasPendingRequest()) { throw new RunGracefulSuspensionBlocked("suspension.boundary_unavailable"); } - const approval = store.listApprovalRequests({ runId: run.id, status: "pending", limit: 1 })[0] + const approval = localApprovalWaitId ? store.getApprovalRequest(localApprovalWaitId) + : store.listApprovalRequests({ runId: run.id, status: "pending", limit: 1 })[0] ?? store.listApprovalRequests({ runId: run.id, status: "approved", limit: 1 })[0]; const checkpoint = approval && store.getApprovalCheckpointForApproval(approval.id); const basis = checkpoint?.resumeBasis; if (!approval || !checkpoint || !isApprovalResumeBasisV1(basis) - || (checkpoint.status !== "pending" && checkpoint.status !== "approved") + || (checkpoint.status !== "pending" && checkpoint.status !== "approved" + && !(localApprovalWaitId && checkpoint.status === "denied")) || checkpoint.status !== approval.status || checkpoint.runId !== run.id || approval.runId !== run.id || basis.runId !== run.id || basis.workUnitId !== workUnit.id || basis.priorAttemptId !== attempt.id || basis.workflowStepId !== currentRun.workflowStepId || checkpoint.workflowStepId !== currentRun.workflowStepId @@ -2804,6 +2811,17 @@ async function executeAdmittedRunRequest( fencingToken: attempt.fencingToken, runtimeShutdownPolicy: hostCompactionEnabled ? "checkpoint" : "stop_without_resume", ...(delegatedExecution ? { terminalHandoff: delegatedExecution.terminalHandoff } : {}), + drainDeniedApproval: source => { + if (!localApprovalWaitId || store.getApprovalRequest(localApprovalWaitId)?.status !== "denied") return false; + if (!isDeepStrictEqual(source, { runId: run.id, ...runnerCallbackFence })) { + throw new RunGracefulSuspensionBlocked("suspension.source_stale"); + } + const { checkpointStatus } = readApprovalWait(); + if (checkpointStatus !== "denied") return false; + // Keep the original waiter alive while fencing the next provider or tool admission. + drainingDeniedApproval = true; + return true; + }, requestGracefulSuspension: request => { try { if (!isDeepStrictEqual(request.source, { runId: run.id, ...runnerCallbackFence })) { @@ -2820,7 +2838,7 @@ async function executeAdmittedRunRequest( } if (store.getRun(run.id)?.status === "waiting_for_approval" || store.getWorkUnit(workUnit.id)?.status === "waiting_for_approval") { - try { readApprovalWaitSuspension(); } + try { readApprovalWait(); } catch (error) { approvalSuspensionBlocked = error; // End only the exact original polling callback. The blocked @@ -2992,7 +3010,10 @@ async function executeAdmittedRunRequest( }; const requestRuntimeAbort = supervision.requestAbort; const beginApprovalHardTimeoutPause = (): void => supervision.approvalWaitChanged(true); - const endApprovalHardTimeoutPause = (): void => supervision.approvalWaitChanged(false); + const endApprovalHardTimeoutPause = (): void => { + localApprovalWaitId = undefined; + supervision.approvalWaitChanged(false); + }; let userInputReceiverAccepted = userInputBinding === undefined && delegatedExecution === undefined && rootSuspensionActivation === undefined; const pendingUserInputRunnerEvents: PiRunnerEvent[] = []; let flushPendingUserInputRunnerEvents = (): void => undefined; @@ -3234,6 +3255,7 @@ async function executeAdmittedRunRequest( if (type === "approval_requested" && approvalEventReflectsRunState(store, envelope) && !isNativeApprovalEvent(store, envelope)) { + localApprovalWaitId = (envelope.data as RunEventDataByType["approval_requested"]).approvalId; // The approval handler starts this pause before persistence. Keep the // event-side update idempotent for paths that append the event first. beginApprovalHardTimeoutPause(); @@ -4388,7 +4410,9 @@ async function executeAdmittedRunRequest( if (observedRun?.status === "waiting_for_approval" || observedWorkUnit?.status === "waiting_for_approval") { try { - const capturedApproval = readApprovalWaitSuspension(); + const capturedApproval = readApprovalWait(); + const { checkpointStatus: expectedCheckpointStatus } = capturedApproval; + if (expectedCheckpointStatus === "denied") throw new RunGracefulSuspensionBlocked("suspension.witness_mismatch"); if (!localWriters) throw new RunGracefulSuspensionBlocked("suspension.stop_unverified"); const capturedWriters = localWriters; const cause = stopIntent.cause; @@ -4400,17 +4424,17 @@ async function executeAdmittedRunRequest( } // A drain is not fresh authorization. Revalidate the same original // checkpoint, including its revision, before the atomic Core CAS. - const { approval, checkpoint, checkpointStatus, workUnit: approvalUnit } = readApprovalWaitSuspension(); + const { approval, checkpoint, checkpointStatus, workUnit: approvalUnit } = readApprovalWait(); if (approval.id !== capturedApproval.approval.id || checkpoint.id !== capturedApproval.checkpoint.id || checkpoint.revision !== capturedApproval.checkpoint.revision - || checkpointStatus !== capturedApproval.checkpointStatus + || checkpointStatus !== expectedCheckpointStatus || checkpoint.resumeBasis?.fingerprint !== capturedApproval.checkpoint.resumeBasis?.fingerprint) { throw new RunGracefulSuspensionBlocked("suspension.witness_mismatch"); } const suspension = store.commitApprovalResumeSuspension({ kind: "approval_wait", checkpointId: checkpoint.id, - expectedCheckpointStatus: checkpointStatus, + expectedCheckpointStatus, expectedCheckpointRevision: checkpoint.revision, approvalId: approval.id, runId: run.id, diff --git a/packages/daemon/src/runtime/active-runs.ts b/packages/daemon/src/runtime/active-runs.ts index 631103e26..2d87cc264 100644 --- a/packages/daemon/src/runtime/active-runs.ts +++ b/packages/daemon/src/runtime/active-runs.ts @@ -32,6 +32,8 @@ export interface ActiveRun { readonly runtimeShutdownPolicy?: "checkpoint" | "stop_without_resume"; /** Original Host request callback. Fulfilment acknowledges persistence only, never physical stop. */ readonly requestGracefulSuspension?: (request: ActiveRunSuspensionRequest) => void | Promise; + /** Let the original waiter finish a committed denial before the normal shutdown drain. */ + readonly drainDeniedApproval?: (source: AttemptExecutionSource) => boolean; readonly terminalHandoff?: DelegatedTerminalHandoff; } @@ -327,6 +329,7 @@ export class ActiveRunRegistry { this.terminalHandoffs.push({ source, reference: run.terminalHandoff! }); return; } + if (!run.abortController.signal.aborted && run.drainDeniedApproval?.(source)) return; if (run.runtimeShutdownPolicy === "stop_without_resume") { // The original entry still owns its terminal/drain path. This is not // checkpoint acceptance, a stopped receipt or permission to replay. diff --git a/packages/daemon/test/app-server-release-acceptance.test.ts b/packages/daemon/test/app-server-release-acceptance.test.ts index 21fd6e824..e7611b711 100644 --- a/packages/daemon/test/app-server-release-acceptance.test.ts +++ b/packages/daemon/test/app-server-release-acceptance.test.ts @@ -6146,6 +6146,42 @@ test("an authenticated connection can decide its Run approval and rejects a diff await assert.rejects(client.call("approval/respond", params), { code: "request_already_resolved" }); }); +test("a durable approval denial settles its original Run during Daemon restart", { timeout: 20_000 }, async t => { + const provider = await startLoopbackPiProvider((_: unknown, count: number) => count === 1 + ? { tool: "bash", input: { command: "printf approval-fixture" } } + : { text: "The tool was denied." }); + t.after(() => provider.close()); + const fixture = await releaseFixture(t, { harness: { toolBroker: { mode: "enforce" } } }); + const client = await fixture.connect(); + const store = fixture.getStore(); + const { thread } = await client.call("thread/start", { title: "Deny a tool before restart" }); + const preset = addLoopbackPreset(store, provider.baseUrl); + const { run } = await client.call<{ run: { id: string } }>("turn/start", { + threadId: thread.id, providerPresetId: preset.id, message: "Request a tool.", idempotencyKey: "approval-restart", + }); + const approval = await waitFor(() => store.listApprovalRequests({ runId: run.id, status: "pending", limit: 1 })[0]); + assert.equal(store.getRun(run.id)?.status, "waiting_for_approval"); + assert.equal(store.denyApprovalRequest(approval.id, { resolvedBy: "local-user" }, new Date().toISOString())?.status, "denied"); + assert.equal(store.getApprovalCheckpointForApproval(approval.id)?.status, "denied"); + await fixture.restart(); + await fixture.connect(); + + const restored = fixture.getStore(); + const restoredRun = restored.getRun(run.id); + assert.equal(restoredRun?.status, "failed"); + const workUnit = restored.getWorkUnit(restoredRun.workUnitId!); + assert.equal(workUnit?.status, "failed"); + const [attempt] = restored.listWorkUnitAttempts(workUnit.id); + const source = { runId: run.id, workUnitId: workUnit.id, attemptId: attempt!.id, + runtimeInstanceId: attempt!.runtimeInstanceId, fencingToken: attempt!.fencingToken }; + assert.deepEqual(restored.listHostOperations(source).map(operation => operation.settlementKind), ["known_no_start"]); + assert.equal(restored.listResourceLeases({ ownerType: "run", ownerId: run.id, status: "active" }).length, 0); + assert.equal(restored.getApprovalRequest(approval.id)?.status, "denied"); + assert.equal(restored.getApprovalCheckpointForApproval(approval.id)?.status, "denied"); + assert.equal(restored.listEvents(run.id, { limit: 100 }).filter(event => event.type === "approval_denied").length, 1); + assert.equal(provider.requests.length, 1); +}); + test("App Server grants restrict observers, controllers and approvers to their subject and revoke live access", { timeout: 30_000 }, async t => { const fixture = await releaseFixture(t); const operator = await fixture.connect(); From 9fb222779ee2ac54597c19eb16e391f2acdbf817 Mon Sep 17 00:00:00 2001 From: tianxiaochannel-oss88 Date: Thu, 26 Nov 2026 23:29:34 +0800 Subject: [PATCH 129/147] Restrict App Server device owner writes to operators --- ...g-agent-operating-model-detailed-design.md | 2 +- .../ling-app-server-implementation-plan.md | 2 + .../src/server/app-server-authorization.ts | 2 +- packages/daemon/src/server/rpc.ts | 1 + .../test/app-server-device-bridge.test.ts | 38 ++++++++++++++----- 5 files changed, 33 insertions(+), 12 deletions(-) diff --git a/docs/design/ling-agent-operating-model-detailed-design.md b/docs/design/ling-agent-operating-model-detailed-design.md index adddbc2c2..72ea19a41 100644 --- a/docs/design/ling-agent-operating-model-detailed-design.md +++ b/docs/design/ling-agent-operating-model-detailed-design.md @@ -127,7 +127,7 @@ Source normalization rules: - GitHub sources preserve provider delivery IDs and source revisions. Repository ID, subject kind and number identify the stable subject. Base and head SHA describe the PR revision and its evidence basis. - Automations use definition id, scheduled occurrence or monitor fingerprint and source revision. One occurrence or fingerprint can create at most one Work Item. - External Agents use caller id, caller task id, submission key and context digest. The same caller submission can be observed through more than one transport without duplication. -- Device Fabric nodes use graph id, node id, graph revision and owner-host execution id. The project Work Item references the owner journal instead of owning device effects. The App Server Device Work Item Bridge persists this mapping and its receipts under the Work Item scope. `workItem/device/read` is observational. `workItem/device/bind` admits a graph/node owner mapping after the current Work Item control check. `workItem/device/receipt` accepts only the bound owner host, route generation and WorkUnit and retains `unknown` until an owner reconciliation receipt arrives. +- Device Fabric nodes use graph id, node id, graph revision and owner-host execution id. The project Work Item references the owner journal. The App Server Device Work Item Bridge persists this mapping and its receipts under the Work Item scope. An App Server grant with `observe` can call `workItem/device/read` within its subject. A Daemon operator supplies the mapping with `workItem/device/bind` after the current Work Item control check and records the owner result with `workItem/device/receipt`. The bridge checks the receipt against the bound owner host, route generation, WorkUnit and Attempt, and retains `unknown` until an owner reconciliation receipt arrives. Normalization preserves untrusted content as bounded source data. It does not execute commands, parse source prose as policy, or grant tools. diff --git a/docs/design/ling-app-server-implementation-plan.md b/docs/design/ling-app-server-implementation-plan.md index a360384dc..0d3ecb4d7 100644 --- a/docs/design/ling-app-server-implementation-plan.md +++ b/docs/design/ling-app-server-implementation-plan.md @@ -86,6 +86,8 @@ Schema 导出覆盖 143 个已登记方法,包含已实现方法的请求与 Windows 源码验收使用独立的 GitHub Actions 作业,启动真实 CLI stdio 和受控 Daemon,在回环 WebSocket 上发起一个 Turn,用 stdio 接收终态,再重启 Daemon 并从原游标恢复事件。macOS 和 Linux 还验证私有 Unix socket 的连接与清理。CLI 的 `app-server schema` 导出方法、通知及服务端请求的合同。TypeScript 客户端用握手实例区分重连和 Daemon 重启。 [Windows 传输验收](../../.github/workflows/app-server-windows.yml) +已发布的 `v0.6.2-alpha.1@cf8f0b183` macOS arm64 开发包通过 DMG 摘要与 ad-hoc 签名校验。隔离安装后,Desktop 启动自有 Daemon、加载主窗口并正常退出。另一次包内 Daemon 与候选 `61c96ad9a` 的切换验证了 CLI 协商、原 Thread 与事件、旧游标续读,以及缺少 `workItem.device` 能力时拒绝新请求。同一发行的 Windows x64 报告记录了安装、同版本升级、启动、正常退出及卸载。正式签名候选的安装验收仍在发行矩阵。 [开发包](https://github.com/ling-stack-org/ling-stack/releases/tag/v0.6.2-alpha.1) · [Windows 安装报告](https://github.com/ling-stack-org/ling-stack/releases/download/v0.6.2-alpha.1/desktop-windows-x64-package-verification.json) + Ubuntu 24.04 ARM64 虚拟机的 Node 22.22.1 SDK 通过 TLS 1.3 连接同一物理机上的 macOS Daemon 候选 `0.6.2-alpha.1`。实测证书校验、在途用户答复、原游标与回执重读、独立审批凭据拒绝工具执行、撤权关闭 `1008` 和重连 `401`。Pi 使用受控 Provider。回归另验证答复派发后继 Run 后,重启并重发 `turn/start` 仍返回原 Run 和原回执,两个 Run 的归属及两次模型调用保持可核对。 [发行验收测试](../../packages/daemon/test/app-server-release-acceptance.test.ts) 工具审批的拒绝已提交而原 Run 仍在等待时,Daemon 关闭会等待原回调结算,并阻断该 Run 的后续调用。回归即刻重启,确认拒绝决定只记一次,原命令留下 `known_no_start` 回执,资源租约已释放,Provider 请求保持一次。另有回归验证尚待用户决定的审批可原样保留。 [发行验收测试](../../packages/daemon/test/app-server-release-acceptance.test.ts) · [待决审批回归](../../packages/daemon/test/approval-policy-run.test.mjs) diff --git a/packages/daemon/src/server/app-server-authorization.ts b/packages/daemon/src/server/app-server-authorization.ts index a6d5444dc..d84754748 100644 --- a/packages/daemon/src/server/app-server-authorization.ts +++ b/packages/daemon/src/server/app-server-authorization.ts @@ -150,7 +150,7 @@ const workItemReads = new Set([ "workItem/message/read", "workItem/message/list", "workItem/question/read", "workItem/handoff/read", "workItem/coordination/schedule/read", "workItem/device/read", "workItem/delivery/read", "delivery/read", ]); -const workItemControls = new Set(["workItem/pause", "workItem/resume", "workItem/cancel", "workItem/device/bind", "workItem/device/receipt"]); +const workItemControls = new Set(["workItem/pause", "workItem/resume", "workItem/cancel"]); const stageCoordinationMethods = new Set(["workItem/stage/read", "workItem/question/read", "workItem/message/read", "workItem/message/list", "workItem/question/ask", "workItem/question/reply", "workItem/message/send"]); diff --git a/packages/daemon/src/server/rpc.ts b/packages/daemon/src/server/rpc.ts index 07bbf27e0..c6fb100cc 100644 --- a/packages/daemon/src/server/rpc.ts +++ b/packages/daemon/src/server/rpc.ts @@ -219,6 +219,7 @@ const operatorMethods = new Set([ "server/recovery/read", "server/recovery/prepare", "server/recovery/reconcile", "github/subject/read", "github/delivery/reconcile", "github/delivery/enqueue", "github/delivery/queue/read", "workItem/delivery/read", "delivery/read", + "workItem/device/bind", "workItem/device/receipt", "workItem/intake/list", "workItem/intake/accept", "workItem/intake/retry", "github/intake/policy/list", "github/intake/poll", "github/intake/read", "workItem/accept", diff --git a/packages/daemon/test/app-server-device-bridge.test.ts b/packages/daemon/test/app-server-device-bridge.test.ts index 6aabaa8d9..3081b54e5 100644 --- a/packages/daemon/test/app-server-device-bridge.test.ts +++ b/packages/daemon/test/app-server-device-bridge.test.ts @@ -1,5 +1,5 @@ import assert from "node:assert/strict"; -import { randomUUID } from "node:crypto"; +import { createHash, randomBytes, randomUUID } from "node:crypto"; import { mkdir, mkdtemp, rm } from "node:fs/promises"; import { tmpdir } from "node:os"; import { join } from "node:path"; @@ -9,7 +9,7 @@ import { createSqliteRunStore, resolveStoragePaths } from "@ling-stack/core"; import { WebSocket } from "ws"; import { createDaemonServer } from "../dist/index.js"; -test("App Server persists the Work Item to Device Fabric owner mapping and replays it after restart", { timeout: 15_000 }, async t => { +test("App Server reserves device owner writes for the operator and replays them to a scoped controller", { timeout: 15_000 }, async t => { const root = await mkdtemp(join(tmpdir(), "ling-app-server-device-bridge-")); const cwd = join(root, "workspace"); await mkdir(cwd); @@ -20,14 +20,14 @@ test("App Server persists the Work Item to Device Fabric owner mapping and repla }, }); let daemon = createDaemon(); - const connect = async () => { + const connect = async (bearer: string = token) => { const address = daemon.server.address(); assert.ok(address && typeof address === "object"); const url = new URL(`ws://127.0.0.1:${address.port}/app-server/rpc`); url.searchParams.set("cwd", cwd); const client = new LingAppServerClient({ url: url.href, clientInfo: { name: "Device bridge test", version: "1" }, requiredCapabilities: ["workItem.device"], - createSocket: address => new WebSocket(address, { headers: { Authorization: `Bearer ${token}` } }) as unknown as LingAppServerSocket, + createSocket: address => new WebSocket(address, { headers: { Authorization: `Bearer ${bearer}` } }) as unknown as LingAppServerSocket, }); await client.connect(); t.after(() => client.close()); @@ -38,25 +38,43 @@ test("App Server persists the Work Item to Device Fabric owner mapping and repla await daemon.start(); const client = await connect(); const created = await client.createWorkItem({ cwd, sourceType: "device_task_graph_node", sourceId: "graph-rpc/node-rpc", title: "Device RPC" }); - const binding = await client.bindWorkItemDevice({ + const secret = randomBytes(32).toString("hex"); + const { grant } = await client.createGrant({ + subject: { kind: "workItem", id: created.workItem.workItemId }, scopes: ["observe", "control"], + label: "Device Work Item controller", credentialSha256: createHash("sha256").update(secret).digest("hex"), + expiresAt: new Date(Date.now() + 60_000).toISOString(), idempotencyKey: "device-work-item-controller", + }); + const controllerBearer = `las1.${grant.grantId}.${secret}`; + const controller = await connect(controllerBearer); + const bindInput = { cwd, workItemId: created.workItem.workItemId, graphId: "graph-rpc", graphNodeId: "node-rpc", graphRevision: 2, ownerHostId: "host-rpc", ownerRouteGeneration: 7, workUnitId: "unit-rpc", attemptId: "attempt-rpc", expectedWorkItemRevision: Number(created.workItem.revision), idempotencyKey: "bind-rpc", - }); + }; + const binding = await client.bindWorkItemDevice(bindInput); assert.equal(binding.binding.status, "bound"); - const unknown = await client.recordWorkItemDeviceReceipt({ + const receiptInput = { cwd, workItemId: created.workItem.workItemId, bindingId: binding.binding.bindingId, expectedBindingRevision: binding.binding.revision, expectedWorkItemRevision: Number(created.workItem.revision), ownerHostId: "host-rpc", ownerRouteGeneration: 7, - workUnitId: "unit-rpc", attemptId: "attempt-rpc", status: "unknown", resultRef: "journal-rpc-unknown", idempotencyKey: "receipt-rpc", - }); + workUnitId: "unit-rpc", attemptId: "attempt-rpc", status: "unknown" as const, resultRef: "journal-rpc-unknown", idempotencyKey: "receipt-rpc", + }; + await assert.rejects(controller.recordWorkItemDeviceReceipt(receiptInput), { code: "capability_denied" }); + await assert.rejects(controller.bindWorkItemDevice(bindInput), { code: "capability_denied" }); + const { methods } = await controller.getCapabilities(); + assert.ok(methods.includes("workItem/device/read")); + assert.ok(!methods.includes("workItem/device/bind")); + assert.ok(!methods.includes("workItem/device/receipt")); + assert.deepEqual((await controller.readWorkItemDevice(created.workItem.workItemId)).bindings, [binding.binding]); + const unknown = await client.recordWorkItemDeviceReceipt(receiptInput); assert.equal(unknown.binding.status, "unknown"); const beforeRestart = await client.readWorkItemDevice(created.workItem.workItemId); assert.equal(beforeRestart.bindings[0]?.receipt?.resultRef, "journal-rpc-unknown"); + controller.close(); client.close(); await daemon.stop(); daemon = createDaemon(); await daemon.start(); - const resumed = await connect(); + const resumed = await connect(controllerBearer); const afterRestart = await resumed.readWorkItemDevice(created.workItem.workItemId); assert.equal(afterRestart.bindings[0]?.status, "unknown"); assert.equal(afterRestart.bindings[0]?.ownerHostId, "host-rpc"); From 9584b7a44e49fd5da1db4bdf6d523c81070b71de Mon Sep 17 00:00:00 2001 From: tianxiaochannel-oss88 Date: Fri, 27 Nov 2026 05:02:43 +0800 Subject: [PATCH 130/147] fix(app-server): hold work items for unknown device effects --- apps/web/e2e/workspace-verification.spec.ts | 7 +- ...g-agent-operating-model-detailed-design.md | 2 +- .../ling-app-server-implementation-plan.md | 22 +++++- packages/core/src/storage/sqlite-run-store.ts | 1 + .../storage/sqlite/app-server-migration.ts | 38 +++++++++- .../src/storage/sqlite/work-item-store.ts | 20 ++++- packages/core/src/work-item-device-bridge.ts | 44 ++++++----- .../core/test/work-item-device-bridge.test.ts | 75 +++++++++++++++++-- .../test/app-server-device-bridge.test.ts | 30 +++++++- 9 files changed, 203 insertions(+), 36 deletions(-) diff --git a/apps/web/e2e/workspace-verification.spec.ts b/apps/web/e2e/workspace-verification.spec.ts index bab7eb53d..cdcff6e60 100644 --- a/apps/web/e2e/workspace-verification.spec.ts +++ b/apps/web/e2e/workspace-verification.spec.ts @@ -12,7 +12,8 @@ import { openEngineeringChannel } from "./support/test-helpers"; test("Review workbench runs a registered browser check and restores the candidate-bound report", async ({ page }, testInfo) => { test.skip(process.platform === "win32", "Host verification process-group cleanup is available on macOS and Linux."); - test.setTimeout(45_000); + // The verifier launches a second Chromium process before producing its report. + test.setTimeout(120_000); const root = await realpath(await mkdtemp(join(tmpdir(), "ling-verification-web-"))); const cwd = join(root, "project"); const home = join(root, "state"); @@ -90,7 +91,7 @@ test("Review workbench runs a registered browser check and restores the candidat await page.getByRole("toolbar", { name: "Workspace task toolbar" }).getByRole("button", { name: "Show details" }).click(); const dock = page.getByRole("complementary", { name: "Channel workspace dock" }); await dock.getByRole("button", { name: "Review", exact: true }).click(); - await dock.getByRole("button", { name: "Verification", exact: true }).click(); + await dock.getByRole("button", { name: "Verification", exact: true }).click({ timeout: 10_000 }); return dock.getByRole("region", { name: "Verification", exact: true }); } @@ -98,7 +99,7 @@ test("Review workbench runs a registered browser check and restores the candidat const panel = await openVerification(); await expect(panel.getByText("Not run", { exact: true })).toBeVisible(); await panel.getByRole("button", { name: "Verify", exact: true }).click(); - await expect(panel.getByText("Passed", { exact: true }).first()).toBeVisible({ timeout: 15_000 }); + await expect(panel.getByText("Passed", { exact: true }).first()).toBeVisible({ timeout: 60_000 }); await expect(panel.getByText("Browser status check", { exact: true })).toBeVisible(); await panel.getByText("Check output", { exact: true }).click(); await expect(panel.getByText("Chromium confirmed the project status", { exact: true })).toBeVisible(); diff --git a/docs/design/ling-agent-operating-model-detailed-design.md b/docs/design/ling-agent-operating-model-detailed-design.md index 72ea19a41..7b0a42bc9 100644 --- a/docs/design/ling-agent-operating-model-detailed-design.md +++ b/docs/design/ling-agent-operating-model-detailed-design.md @@ -127,7 +127,7 @@ Source normalization rules: - GitHub sources preserve provider delivery IDs and source revisions. Repository ID, subject kind and number identify the stable subject. Base and head SHA describe the PR revision and its evidence basis. - Automations use definition id, scheduled occurrence or monitor fingerprint and source revision. One occurrence or fingerprint can create at most one Work Item. - External Agents use caller id, caller task id, submission key and context digest. The same caller submission can be observed through more than one transport without duplication. -- Device Fabric nodes use graph id, node id, graph revision and owner-host execution id. The project Work Item references the owner journal. The App Server Device Work Item Bridge persists this mapping and its receipts under the Work Item scope. An App Server grant with `observe` can call `workItem/device/read` within its subject. A Daemon operator supplies the mapping with `workItem/device/bind` after the current Work Item control check and records the owner result with `workItem/device/receipt`. The bridge checks the receipt against the bound owner host, route generation, WorkUnit and Attempt, and retains `unknown` until an owner reconciliation receipt arrives. +- Device Fabric nodes use graph id, node id, graph revision and owner-host execution id. The project Work Item references the owner journal. The App Server Device Work Item Bridge persists this mapping and its receipts under the Work Item scope. An App Server grant with `observe` can call `workItem/device/read` within its subject. A Daemon operator supplies the mapping with `workItem/device/bind` after the current Work Item control check and records the owner result with `workItem/device/receipt`. The bridge checks the receipt against the bound owner host, route generation, WorkUnit and Attempt. An `unknown` receipt adds the binding to the Work Item's unresolved effects and holds new admission. Reconciliation clears that binding's effect. Resume requires zero unresolved effects and keeps existing Plan holds. A cancelling Work Item settles when its last unresolved device effect clears. The receipt, Work Item projection and event commit together. Normalization preserves untrusted content as bounded source data. It does not execute commands, parse source prose as policy, or grant tools. diff --git a/docs/design/ling-app-server-implementation-plan.md b/docs/design/ling-app-server-implementation-plan.md index 0d3ecb4d7..7eb355258 100644 --- a/docs/design/ling-app-server-implementation-plan.md +++ b/docs/design/ling-app-server-implementation-plan.md @@ -2,7 +2,7 @@ - **状态** App Server 本机传输、Turn 控制与恢复、Verify 和 Federation 已通过定向验收。Agent Operating Model 已接入工作项接单、控制和协作记录。下文列出完整实施与发行仍需完成的工作包。 - **维护者** Contracts、Daemon、Runtime、API Client、CLI 与开发工具维护者 -- **核对基线** `origin/main@95ecee6fc` +- **核对基线** `origin/main@52346c7f8` - **类型** 开发准备、依赖顺序和验收计划 - **合同** [产品与架构设计](ling-app-server.md) · [详细设计](ling-app-server-detailed-design.md) - **代码与测试锚点** [Daemon RPC](../../packages/daemon/src/server/rpc.ts) · [控制面往返测试](../../packages/daemon/test/control-plane-api.test.mjs) · [会话受理收据](../../packages/daemon/test/conversation-submission-receipts.test.mjs) · [框架验收](ling-framework-complementary-implementation-plan.md) @@ -11,7 +11,7 @@ 当前支持回环 WebSocket、stdio JSONL、私有 Unix socket 和 TypeScript 客户端。CLI 的 `app-server probe|stdio|listen|mcp` 复用同一连接,使用 `server/capabilities` 确认当前连接的方法,支持范围随 Daemon 认证和已有能力变化。CLI 还提供 `app-server instructions-init`、`app-server verify` 和 `app-server verify-status`,用于预览项目约定、按当前候选创建验证计划和读取持久验证结果。上一版的 HTTP/SSE 与 `/rpc/stream` 沿用原入口。只有持 Daemon bearer 的客户端可提交 Run 审批和提问答案、启动 Verify 或 Review,以及触发满足 conformance 的只读外部 Runner 派发。连接按工作区绑定。未登记的检查显示 `blocked`。`thread/snapshot` 返回当前 Turn、Run、Goal、待决审批/提问和持久游标,`context/inspect` 返回已封存的上下文与项目规则清单。App Server 还提供受工作区、Thread 或 Work Item 归属约束的 `artifact/read`,以及 `model/list` 和 `skill/read` 只读能力。 -实现分支已经把协议合同、WebSocket 协商、Thread/Turn 生命周期、Work Item 控制与证据、开发工作流入口、协作记录、审议触发策略、外部 Agent 注册与任务受理接入同一个 App Server RPC。协作记录复用 Work Item 证据板的持久 CAS 与幂等边界,外部 Agent 任务在派发前核对 Work Item 当前 revision 和 control state。接受的 Plan 可原子绑定到 Workflow,阶段读取和阶段事件复用 Workflow 的实际步骤与结果。绑定后旧的会话接单、人工 claim 和 Workflow 直接启动都经过同一个 Work Item 控制闸门,暂停、依赖未完成、候选或 Plan 版本变化会停止新的派发。Device Work Item Bridge 现在持久化 graph/node、owner host、WorkUnit、Attempt 与 receipt 映射,提供 App Server read/bind/receipt 方法。回执、映射投影和事件在同一事务提交。未知结果在重启后保留,Owner 对账前保持当前绑定。 +实现分支已经把协议合同、WebSocket 协商、Thread/Turn 生命周期、Work Item 控制与证据、开发工作流入口、协作记录、审议触发策略、外部 Agent 注册与任务受理接入同一个 App Server RPC。协作记录复用 Work Item 证据板的持久 CAS 与幂等边界,外部 Agent 任务在派发前核对 Work Item 当前 revision 和 control state。接受的 Plan 可原子绑定到 Workflow,阶段读取和阶段事件复用 Workflow 的实际步骤与结果。绑定后旧的会话接单、人工 claim 和 Workflow 直接启动都经过同一个 Work Item 控制闸门,暂停、依赖未完成、候选或 Plan 版本变化会停止新的派发。Device Work Item Bridge 持久化 graph/node、owner host、WorkUnit、Attempt 与 receipt 映射,提供 App Server read/bind/receipt 方法。未知设备结果进入工作项的待对账列表并阻止恢复派发。回执、控制状态和事件同事务提交。实际 Daemon 回归覆盖重启后恢复被拒、原 owner 对账以及显式恢复。SQLite 升级可从旧设备回执恢复控制状态。 [设备桥接回归](../../packages/daemon/test/app-server-device-bridge.test.ts) 已验证的关键回归包括 App Server WebSocket、stdio/Unix socket、MCP bridge、Work Item 控制与证据、协作记录回放、开发工作流服务、外部 Agent federation、配置的 Pi Runner 和 API Client。Verify plan/operation 和 Federation ledger 已接入工作区 SQLite 的 app_server_state,按来源工作区恢复,Daemon 重启后会把无法确认的 queued/running Verify 和外部 running task 标记为 unknown,要求原所有者重新核对。Verify 只接受默认或 Host 登记的配方,执行前后核对候选 digest。Host 登记的配方还绑定路径选择、独立 verifier source、coverage digest 和 producer refs,命令输出以有限大小保存并脱敏。重复 start/cancel 使用同一收据,取消会传递给实际检查进程。Work Item acceptance 通过同一 SQLite 事务写入 receipt、状态和 revision。外部任务在 Work Item revision/control、Runner external boundary、工具 conformance、只读工具范围和 admission fence 通过后调用已配置的真实 Adapter。注册、能力读取、任务接入、重连和取消均以请求工作区选择 federation ledger,重复提交不重复派发,Adapter 失败、取消未确认和断线重启均保留 unknown。普通 `turn/start` 通过同一会话受理、准备快照和 Run 入口,`submission/read` 与 `turn/resume` 可在重连后读取原收据,已准备但尚未派发的 Turn 通过原请求恢复同一 Turn。停止的 Turn 在实际执行和效果收敛后,可用明确的恢复键受理后继 Turn。用户提问由 Host 事务产生 `pending` 事件,认证客户端从线程快照取得短期 authority,通过 `input/respond` 复用公共解析、权限和版本 CAS,答复事件在重启后按原身份回放,已结束的问题不会再次要求应答。项目规则在准备快照时按路径读取并封存 digest,`instructions/init` 只在预览版本仍匹配且目标未被占用时原子写入。Review 先捕获候选两次,再读取基线的 `Code Review Rules` 和显式 `REVIEW.md`,规则与发现项处置由同一候选和幂等收据约束。App Server 的 operator 写操作要求认证凭据,能力与方法表只公布当前连接可用的实现。已用本机安装的 Codex App Server 通过 MCP bridge 创建 Ling Thread、提交配置 Pi Runner Turn,并从 Ling 游标恢复 Turn 事件。平台和兼容证据随 PR 检查及发行矩阵记录。 @@ -88,6 +88,8 @@ Windows 源码验收使用独立的 GitHub Actions 作业,启动真实 CLI std 已发布的 `v0.6.2-alpha.1@cf8f0b183` macOS arm64 开发包通过 DMG 摘要与 ad-hoc 签名校验。隔离安装后,Desktop 启动自有 Daemon、加载主窗口并正常退出。另一次包内 Daemon 与候选 `61c96ad9a` 的切换验证了 CLI 协商、原 Thread 与事件、旧游标续读,以及缺少 `workItem.device` 能力时拒绝新请求。同一发行的 Windows x64 报告记录了安装、同版本升级、启动、正常退出及卸载。正式签名候选的安装验收仍在发行矩阵。 [开发包](https://github.com/ling-stack-org/ling-stack/releases/tag/v0.6.2-alpha.1) · [Windows 安装报告](https://github.com/ling-stack-org/ling-stack/releases/download/v0.6.2-alpha.1/desktop-windows-x64-package-verification.json) +在 macOS arm64、Node 22.22.1 上,上一版 `3fe77440e` 和协议基线 `05cb86a41` 均从源码完成依赖构建,候选与两套历史构建在隔离工作区运行同一份 `app-server-release-acceptance.test.ts`。使用桌面版 Codex `0.171.0-alpha.13.2` 后,73 项测试全部通过,包含上一版 Thread/Approval 恢复、main→candidate 协议切换、真实 Codex 控制宿主、MCP 桥接、回退和联合工作流。该结果覆盖源码级兼容与本机宿主组合,外部签名安装、独立物理主机、GitHub App 主动入队和真实 Provider 试点仍按下方发布条件单独管理。 + Ubuntu 24.04 ARM64 虚拟机的 Node 22.22.1 SDK 通过 TLS 1.3 连接同一物理机上的 macOS Daemon 候选 `0.6.2-alpha.1`。实测证书校验、在途用户答复、原游标与回执重读、独立审批凭据拒绝工具执行、撤权关闭 `1008` 和重连 `401`。Pi 使用受控 Provider。回归另验证答复派发后继 Run 后,重启并重发 `turn/start` 仍返回原 Run 和原回执,两个 Run 的归属及两次模型调用保持可核对。 [发行验收测试](../../packages/daemon/test/app-server-release-acceptance.test.ts) 工具审批的拒绝已提交而原 Run 仍在等待时,Daemon 关闭会等待原回调结算,并阻断该 Run 的后续调用。回归即刻重启,确认拒绝决定只记一次,原命令留下 `known_no_start` 回执,资源租约已释放,Provider 请求保持一次。另有回归验证尚待用户决定的审批可原样保留。 [发行验收测试](../../packages/daemon/test/app-server-release-acceptance.test.ts) · [待决审批回归](../../packages/daemon/test/approval-policy-run.test.mjs) @@ -118,7 +120,7 @@ O9 联合回归在同一 Work Item 确认双端订阅、阶段进度、暂停与 | --- | --- | | A1、B1、C1、C2 | workspace、Thread、Work Item 的 grant 和 WSS 已接入。专用 TLS 监听器实测分离控制和答复权限,支持用户答复原回执与撤权。目标游标已绑定存储代次、授权代次和目标。macOS Daemon 和 Linux SDK 已通过跨 OS 联调,独立物理主机网络及安装产物仍待验收。 | | D1、D2、E1、E2 | 开工与 Pi 运行中的项目规则加载、显式 Claude 规则、两个开发 Skill、工作区 Verify、独立 verifier basis、托管工作树管理、候选改动分页、Turn 改动恢复、选中 hunk 转移和工作台浏览器验证报告已接入。各发行平台验证仍待完成。 | -| F1、F2 | 普通会话 Handoff 的候选封存、Goal 预算承接与接手已接入。CLI `app-server codex-host --thread --state --view` 在回环地址提供双端会话视图。本机 Codex 0.171.0-alpha.13、实际 Ling Daemon 与受控 Provider 联调验证两端状态、Ling 在途排队、活跃 Codex Turn 指导、浏览器重连补齐、回执重放和审批提醒。故障回归覆盖原状态库升级、未写出的请求在重连后补投一次,以及已发出但缺少有效回执时保留待确认结果。Pi Host 预算路径的逐请求预留已使用受控 Provider 验证,仍需真实 Provider、隔离工作树和其他 Runner 的对应验收。 | +| F1、F2 | 普通会话 Handoff 的候选封存、Goal 预算承接与接手已接入。CLI `app-server codex-host --thread --state --view` 在回环地址提供双端会话视图。本机 Codex `0.171.0-alpha.13.2`、实际 Ling Daemon 与受控 Provider 联调验证两端状态、Ling 在途排队、活跃 Codex Turn 指导、浏览器重连补齐、回执重放和审批提醒。故障回归覆盖原状态库升级、未写出的请求在重连后补投一次,以及已发出但缺少有效回执时保留待确认结果。Pi Host 预算路径的逐请求预留已使用受控 Provider 验证,仍需真实 Provider、隔离工作树和其他 Runner 的对应验收。 | | O1、O3–O9 | GitHub 签名 webhook、轮询和显式接单归并至同一工作项。自动接单策略处理免打扰、并发、启动额度和派发前状态重查。现有 Task、AutomationRun 和同频道用户输入可显式关联工作项。已接受的计划能自动开启声明的阶段审议,并可等待当前 Workflow 结果包的交接回执。受影响阶段可单独暂停,后继阶段可显式引用已收敛或仍在途的独立成果,待执行阶段可接收定向消息和有原 Run 证据的 Agent 答复。工作项暂停期间拒绝新增定向消息。阶段客户端和支持协作工具的 Pi 阶段按 Run/Attempt 收发,Pi 在下一次模型输入接收消息和问答。Workflow 执行使用工作项重试上限,并可依据跨 Run 的结构化故障记录暂停单项阶段。可信 Verify 和已接受 Plan 指定的 Review 均可提供停滞恢复证据。决策检查点支持计划前和在途阶段的建议、接受与手工裁决。Device Work Item Bridge 的持久映射、receipt 账本和 App Server 入口已实现。已接受阶段可显式或按 Host 策略开启独立只读审议、按质疑结果投票,并将裁决应用到声明的候选依赖。定时检查点的登记和关轮自动评估已接入 App Server、SDK、MCP 和频道 Ling Agent。Pi 阶段已可限域读取共享的 Verify、Review 和依赖结果,启动检查由各证据所有者受理。跨主机 Device Fabric owner host 对接仍待完成。 | | G | 已通过跨构建 SQLite 回退、撤权、旧游标失效和 GitHub 对账后派发,也已通过上一版源码兼容。签名安装产物、独立物理主机的远程 WSS、带独立检查 App 的 Ling 主动入队及三个真实 Provider 自研试点仍需对应证据。macOS 打包预检需要当前打包输入的 Office 审查、对应 Electron/OS 的受限运行时审查和 gstack 平台资源。T01 离线预检可进入评审,真实试点仍需按 Framework Assurance 准入。 | @@ -231,7 +233,7 @@ corepack pnpm --filter @ling-stack/api-client typecheck:ci | 项目 | 状态 | | --- | --- | -| 隔离开发分支 | [PR #747](https://github.com/ling-stack-org/ling-stack/pull/747) 已合入 `main`(`4b357d2b5`)。后续工作包见 [PR #761](https://github.com/ling-stack-org/ling-stack/pull/761)。 | +| 隔离开发分支 | [PR #747](https://github.com/ling-stack-org/ling-stack/pull/747) 的历史合入提交为 `4b357d2b5`,当前核对基线为 `origin/main@52346c7f8`。后续工作包见 [PR #761](https://github.com/ling-stack-org/ling-stack/pull/761)。 | | 目标态、协议、验收与索引 | 本组设计文档,按上表的真实代码入口接入。 | | 重叠工作搜索 | 核对主线的 Ling Server Connectivity、Ling Device Fabric、原生执行引擎和现有 RPC,GitHub 开放 Issue/PR 的 “app server” 搜索均为空。 | | 依赖及源码基线 | macOS arm64,Node 24.22.1、pnpm 10.0.0、Rust 1.97.1。完整锁文件安装后,Contracts、API Client、Daemon 和 CLI 的 `build:ci`/`typecheck:ci` 通过。 | @@ -281,6 +283,18 @@ corepack pnpm --filter @ling-stack/api-client typecheck:ci | Web 交互 | 选择已有会话工作台、审查详情或验证视图的一个真实交互需求。通过实际启动的 Web 和测试数据验收。 | 看见预期 UI 行为、错误状态和截图/断言,刷新后状态准确,报告能解释环境覆盖。 | | 跨模块长任务 | 选择同时涉及 Contracts 和 Daemon 或 Web 的真实交付项,中间在已验证阶段断开客户端,主动交接给新会话。 | 原始范围和验收项都可找回,Git 与证据一致,受理和已发生效果有回执,后续测试和审查覆盖同一候选。 | +#### 历史样本与验证器校准 + +在 macOS arm64、Node 22.22.1 上,三个起始提交的检查都复现预期失败,对应参考提交用相同断言通过。各运行方代码快照是只有起始提交、没有远端或 Git objects alternates 的浅克隆。参考提交和验收测试保存在独立验证目录。下表记录预期行为与验证器的 SHA-256,作为真实试点的起始输入。 + +| 样本 | 起始提交及参考提交 | 校准结果 | +| --- | --- | --- | +| 已拒绝审批的 Run 无法正常停机 | `63b76781a` → `61c96ad9a` | 起始构建返回 `harness_shutdown_incomplete_stores_retained`。参考构建重启后原 Run 和 WorkUnit 进入失败终态,命令为 `known_no_start`,仅一条拒绝记录和一次 Provider 调用。Daemon 测试 `a durable approval denial settles its original Run during Daemon restart`。测试文件 SHA-256 `18791c95b04345adba9f2a9766a3b3276bfa81331350c93caeb7be13bdec0148`。 [参考提交](https://github.com/ling-stack-org/ling-stack/commit/61c96ad9ac9f934d000ba7c8ed3a8cd2a15483dd) | +| Review 工作台的 Verify 入口 | `ababb42a3` → `512fafb55` | 起始构建缺少 Verification 按钮。参考构建的 Web 通过真实 Daemon 启动 Chromium 检查,显示验证输出,刷新后保留原结果和候选变更提示。Web 测试文件 SHA-256 `cd7dfa0217ffda6087ab84d2d0dd826371f70087f14151afc6f14012aba6cc00`。 [浏览器检查](../../apps/web/e2e/workspace-verification.spec.ts) · [参考提交](https://github.com/ling-stack-org/ling-stack/commit/512fafb552f17fdb11b3f1f8a631d9e089961693) | +| 跨会话接手并保留原 Goal | `1147002cf` → `91a0a82c2` | 起始构建无法在失败后读到 Goal 转移收据。参考构建重启后两个客户端复用同一接手 Thread、Run 和预算。Daemon 测试 `a sealed Handoff transfers one Goal and resumes one conversation after restart`。测试文件 SHA-256 `9eef7236162d5e41e56d9caf89f6d1efca64b6a60923a8c89302b3bbd052c8ce`。 [参考提交](https://github.com/ling-stack-org/ling-stack/commit/91a0a82c256834961b02529f2de0fd33aaa6d602) | + +两项 Daemon 校准使用受控 Provider。浏览器校准验证真实应用入口与独立检查。真实的跨模块试点仍需由 Ling 在已验证阶段断开后接手,提交自己的候选,再由相同的独立检查验证。 + 每次记录起始提交、最终候选、版本、验证范围、耗时和人工返工次数。需要比较 Codex 时使用同一起始提交、任务与验证器,在相同模型可用时固定模型,并记录 Runner、权限和环境差异。真实 Provider 的预算和请求上限在实际试点前登记。定向离线和 scripted Provider 回归可以先独立完成。 正式用 Ling 迭代 Ling 时,由稳定版控制端操作开发 worktree,候选实例使用独立 `LING_STACK_HOME`、端口和测试数据目录。合并前取得已启用的 CI 与项目验收证据。部署和升级通过发布流程,稳定端保留可接手候选的路径。 diff --git a/packages/core/src/storage/sqlite-run-store.ts b/packages/core/src/storage/sqlite-run-store.ts index 810212803..df5e23dcc 100644 --- a/packages/core/src/storage/sqlite-run-store.ts +++ b/packages/core/src/storage/sqlite-run-store.ts @@ -6417,6 +6417,7 @@ export class SqliteRunStore implements RunStore { getAppServerState: (...args) => this.appServerState.get(...args), findAppServerStateByIdempotencyKey: (...args) => this.appServerState.findByIdempotencyKey(...args), listAppServerState: (...args) => this.appServerState.list(...args), + updateDeviceEffect: (...args) => this.workItems.updateDeviceEffectWithinTransaction(...args), putAppServerState: (input, now, publication) => { const result = this.appServerState.putWithinTransaction(input, now); if (!result || result.status === "replayed" || !publication) return result; diff --git a/packages/core/src/storage/sqlite/app-server-migration.ts b/packages/core/src/storage/sqlite/app-server-migration.ts index 411d8e07b..ed8fe11a3 100644 --- a/packages/core/src/storage/sqlite/app-server-migration.ts +++ b/packages/core/src/storage/sqlite/app-server-migration.ts @@ -7,6 +7,8 @@ const WORK_ITEM_EVIDENCE_MIGRATION_VERSION = 236; const WORK_ITEM_EVIDENCE_MIGRATION_NAME = "create_work_item_evidence"; export const APP_SERVER_STATE_MIGRATION_VERSION = 237; const APP_SERVER_STATE_MIGRATION_NAME = "create_app_server_state"; +const WORK_ITEM_DEVICE_EFFECTS_MIGRATION_VERSION = 239; +const WORK_ITEM_DEVICE_EFFECTS_MIGRATION_NAME = "project_unresolved_work_item_device_effects"; const controlColumns = [ ["revision", "INTEGER NOT NULL DEFAULT 1"], @@ -24,7 +26,8 @@ export function applyAppServerMigrations(context: SqliteRunStoreMigrationContext const hasWorkItemControl = context.hasMigration(WORK_ITEM_CONTROL_MIGRATION_VERSION); const hasWorkItemEvidence = context.hasMigration(WORK_ITEM_EVIDENCE_MIGRATION_VERSION); const hasAppServerState = context.hasMigration(APP_SERVER_STATE_MIGRATION_VERSION); - if (hasWorkItemControl && hasWorkItemEvidence && hasAppServerState && context.hasColumn("work_items", "control_state")) return; + const hasDeviceEffects = context.hasMigration(WORK_ITEM_DEVICE_EFFECTS_MIGRATION_VERSION); + if (hasWorkItemControl && hasWorkItemEvidence && hasAppServerState && hasDeviceEffects && context.hasColumn("work_items", "control_state")) return; database.exec("BEGIN IMMEDIATE"); try { @@ -82,6 +85,39 @@ export function applyAppServerMigrations(context: SqliteRunStoreMigrationContext `); context.recordMigration(APP_SERVER_STATE_MIGRATION_VERSION, APP_SERVER_STATE_MIGRATION_NAME); } + if (!hasDeviceEffects) { + database.exec(` + WITH unresolved_devices AS ( + SELECT binding.workspace_id, binding.record_id AS effect_id, + json_extract(binding.payload_json, '$.binding.workItemId') AS work_item_id + FROM app_server_state AS binding + WHERE binding.kind = 'work_item_device_binding' AND COALESCE(( + SELECT json_extract(receipt.payload_json, '$.receipt.status') + FROM app_server_state AS receipt + WHERE receipt.workspace_id = binding.workspace_id AND receipt.kind = 'work_item_device_receipt' + AND json_extract(receipt.payload_json, '$.bindingId') = binding.record_id + AND json_extract(receipt.payload_json, '$.bindingRevision') = json_extract(binding.payload_json, '$.binding.revision') + AND json_extract(receipt.payload_json, '$.receipt.receivedAt') > COALESCE(json_extract(binding.payload_json, '$.binding.receipt.receivedAt'), '') + ORDER BY json_extract(receipt.payload_json, '$.receipt.receivedAt') DESC, + json_extract(receipt.payload_json, '$.receipt.receiptId') DESC + LIMIT 1 + ), json_extract(binding.payload_json, '$.binding.status')) = 'unknown' + ) + UPDATE work_items AS item SET + control_unresolved_effect_ids_json = ( + SELECT json_group_array(effect_id) FROM ( + SELECT value AS effect_id FROM json_each(item.control_unresolved_effect_ids_json) + UNION + SELECT effect_id FROM unresolved_devices WHERE workspace_id = item.workspace_id AND work_item_id = item.id + ) + ), + control_recovery_owner = COALESCE(control_recovery_owner, 'device_fabric'), + control_state = CASE control_state WHEN 'active' THEN 'blocked' WHEN 'cancelled' THEN 'cancelling' ELSE control_state END, + revision = revision + 1 + WHERE EXISTS (SELECT 1 FROM unresolved_devices WHERE workspace_id = item.workspace_id AND work_item_id = item.id); + `); + context.recordMigration(WORK_ITEM_DEVICE_EFFECTS_MIGRATION_VERSION, WORK_ITEM_DEVICE_EFFECTS_MIGRATION_NAME); + } database.exec("COMMIT"); } catch (error) { rollbackOwnedSqliteTransaction(database); diff --git a/packages/core/src/storage/sqlite/work-item-store.ts b/packages/core/src/storage/sqlite/work-item-store.ts index 4200ad67c..bc47218c2 100644 --- a/packages/core/src/storage/sqlite/work-item-store.ts +++ b/packages/core/src/storage/sqlite/work-item-store.ts @@ -443,6 +443,24 @@ export class SqliteWorkItemStore { return row ? this.withLinkedExecution(mapWorkItem(row, this.getWorkItemDependencyIds(id))) : undefined; } + updateDeviceEffectWithinTransaction(item: WorkItem, bindingId: string, unresolved: boolean, now: string): number { + const { database } = this.context; + const pending = item.control.unresolvedEffectIds; + if (pending.includes(bindingId) === unresolved) return item.revision; + const effects = unresolved ? [...pending, bindingId] : pending.filter(id => id !== bindingId); + let state = item.control.state; + if (unresolved && state === "active") state = "blocked"; + if (unresolved && state === "cancelled") state = "cancelling"; + if (effects.length === 0 && state === "cancelling") state = "cancelled"; + let owner = item.control.recoveryOwner; + if (unresolved) owner ??= "device_fabric"; + if (effects.length === 0 && owner === "device_fabric") owner = undefined; + database.prepare(`UPDATE work_items SET control_unresolved_effect_ids_json=?, control_recovery_owner=?, + control_state=?, revision=revision+1, updated_at=? WHERE id=?`) + .run(stringifyJson(effects), owner ?? null, state, now, item.id); + return item.revision + 1; + } + listWorkItems(options: ListWorkItemsOptions = {}, now?: string): WorkItem[] { const clauses = ["workspace_id = ?"]; const params: (string | number)[] = [DEFAULT_WORKSPACE_ID]; @@ -1440,7 +1458,7 @@ function nextWorkItemControlState(state: WorkItemControlState, action: WorkItemC return state === "active" || state === "blocked" ? "paused" : undefined; } if (action === "resume") { - return state === "paused" || state === "blocked" ? "active" : undefined; + return unresolvedEffectCount === 0 && (state === "paused" || state === "blocked") ? "active" : undefined; } if (state !== "active" && state !== "paused" && state !== "blocked") return undefined; return unresolvedEffectCount > 0 ? "cancelling" : "cancelled"; diff --git a/packages/core/src/work-item-device-bridge.ts b/packages/core/src/work-item-device-bridge.ts index e0f253058..46b1936ce 100644 --- a/packages/core/src/work-item-device-bridge.ts +++ b/packages/core/src/work-item-device-bridge.ts @@ -4,9 +4,9 @@ import type { LingAppServerWorkItemDeviceBindParams, LingAppServerWorkItemDeviceReceipt, LingAppServerWorkItemDeviceReceiptParams, - LingAppServerWorkItemDeviceStatus, } from "@ling-stack/contracts"; import type { AppendControlPlaneEventInput, ControlPlaneEvent, RunStore } from "./run-types.js"; +import type { WorkItem } from "./work-item-types.js"; type DeviceBindingRecord = { readonly binding: LingAppServerWorkItemDeviceBinding }; type DeviceReceiptRecord = { @@ -29,7 +29,9 @@ export class WorkItemDeviceBridgeError extends Error { } export type WorkItemDeviceMutationStore = Pick; + | "listAppServerState" | "putAppServerState"> & { + updateDeviceEffect(workItem: WorkItem, bindingId: string, unresolved: boolean, now: string): number; + }; type WorkItemDeviceMutation = { readonly binding: LingAppServerWorkItemDeviceBinding; readonly replayed: boolean; readonly event?: ControlPlaneEvent }; export function deviceBindingId(workItemId: string, graphId: string, graphNodeId: string): string { @@ -70,20 +72,20 @@ export function bindWorkItemDevice( function commitDeviceBinding(store: WorkItemDeviceMutationStore, input: LingAppServerWorkItemDeviceBindParams, now: string, cwd: string): WorkItemDeviceMutation { const workItem = store.getWorkItem(input.workItemId); if (!workItem) throw new WorkItemDeviceBridgeError("work_item_not_found", "The Work Item is unavailable."); - if (workItem.revision !== input.expectedWorkItemRevision) throw new WorkItemDeviceBridgeError("stale_revision", "The Work Item revision changed."); - if (workItem.control.state !== "active" || workItem.holds.some(hold => hold.blocksNewAdmission)) { - throw new WorkItemDeviceBridgeError("resume_blocked", "The Work Item is held and cannot admit a device action."); - } const bindingId = deviceBindingId(input.workItemId, input.graphId, input.graphNodeId); const state = store.getAppServerState("work_item_device_binding", bindingId); const existing = state?.payload as DeviceBindingRecord | undefined; - if (existing) { - const current = projectBindingWithLatestReceipt(store, existing.binding); - if (state?.idempotencyKey === input.idempotencyKey) { - if (!sameBindingRequest(current, input)) throw new WorkItemDeviceBridgeError("device_binding_conflict", "The binding key belongs to a different device node."); - return { binding: current, replayed: true }; - } - if (sameBindingRequest(current, input)) return { binding: current, replayed: true }; + const current = existing && projectBindingWithLatestReceipt(store, existing.binding); + if (current && state?.idempotencyKey === input.idempotencyKey && !sameBindingRequest(current, input)) { + throw new WorkItemDeviceBridgeError("device_binding_conflict", "The binding key belongs to a different device node."); + } + if (current && sameBindingRequest(current, input)) return { binding: current, replayed: true }; + if (workItem.revision !== input.expectedWorkItemRevision) throw new WorkItemDeviceBridgeError("stale_revision", "The Work Item revision changed."); + if (workItem.control.state !== "active" || workItem.control.unresolvedEffectIds.length || workItem.holds.some(hold => hold.blocksNewAdmission) + || ["done", "cancelled", "archived", "superseded"].includes(workItem.status)) { + throw new WorkItemDeviceBridgeError("resume_blocked", "The Work Item is held and cannot admit a device action."); + } + if (current) { if (input.graphRevision <= current.graphRevision) throw new WorkItemDeviceBridgeError("stale_revision", "The device graph revision is stale."); if (!["failed", "cancelled"].includes(current.status)) { throw new WorkItemDeviceBridgeError("device_binding_conflict", "The device node already has an active binding."); @@ -98,7 +100,7 @@ function commitDeviceBinding(store: WorkItemDeviceMutationStore, input: LingAppS const result = store.putAppServerState({ kind: "work_item_device_binding", recordId: bindingId, expectedRevision: state?.revision ?? 0, idempotencyKey: input.idempotencyKey, payload: { binding } satisfies DeviceBindingRecord, - }, now, deviceBridgeEvent(cwd, workItem.workspaceId, input.workItemId, binding, "bound")); + }, now, deviceBridgeEvent(cwd, workItem.workspaceId, input.workItemId, binding, workItem.revision)); if (!result) throw new WorkItemDeviceBridgeError("stale_revision", "The device binding changed before it was committed."); return { binding: projectBindingWithLatestReceipt(store, binding), replayed: result.status === "replayed", ...(result.event ? { event: result.event } : {}) }; } @@ -116,7 +118,6 @@ export function recordWorkItemDeviceReceipt( function commitDeviceReceipt(store: WorkItemDeviceMutationStore, input: LingAppServerWorkItemDeviceReceiptParams, now: string, cwd: string): WorkItemDeviceMutation { const workItem = store.getWorkItem(input.workItemId); if (!workItem) throw new WorkItemDeviceBridgeError("work_item_not_found", "The Work Item is unavailable."); - if (workItem.revision !== input.expectedWorkItemRevision) throw new WorkItemDeviceBridgeError("stale_revision", "The Work Item revision changed."); const state = store.getAppServerState("work_item_device_binding", input.bindingId); const saved = state?.payload as DeviceBindingRecord | undefined; if (!saved || saved.binding.workItemId !== input.workItemId) throw new WorkItemDeviceBridgeError("device_binding_conflict", "The device binding is unavailable."); @@ -137,6 +138,7 @@ function commitDeviceReceipt(store: WorkItemDeviceMutationStore, input: LingAppS } return { binding, replayed: true }; } + if (workItem.revision !== input.expectedWorkItemRevision) throw new WorkItemDeviceBridgeError("stale_revision", "The Work Item revision changed."); if (binding.receipt && (binding.status !== "unknown" || input.status === "unknown" || input.reconciled !== true)) { throw new WorkItemDeviceBridgeError("device_receipt_conflict", "The current device result already has a receipt. An unknown result requires owner reconciliation."); } @@ -147,10 +149,12 @@ function commitDeviceReceipt(store: WorkItemDeviceMutationStore, input: LingAppS expectedRevision: 0, idempotencyKey: input.idempotencyKey, payload: receiptRecord }, now); if (!savedReceipt) throw new WorkItemDeviceBridgeError("device_receipt_conflict", "The receipt was committed concurrently."); const nextBinding = { ...binding, status: input.status, updatedAt: now, receipt } satisfies LingAppServerWorkItemDeviceBinding; + const workItemRevision = input.status === "unknown" || binding.status === "unknown" + ? store.updateDeviceEffect(workItem, binding.bindingId, input.status === "unknown", now) : workItem.revision; const updated = store.putAppServerState({ kind: "work_item_device_binding", recordId: binding.bindingId, expectedRevision: state!.revision, payload: { binding: nextBinding } satisfies DeviceBindingRecord }, now, - deviceBridgeEvent(cwd, workItem.workspaceId, input.workItemId, nextBinding, input.status)); + deviceBridgeEvent(cwd, workItem.workspaceId, input.workItemId, nextBinding, workItemRevision)); if (!updated) throw new WorkItemDeviceBridgeError("stale_revision", "The device binding changed while the receipt was being projected."); return { binding: nextBinding, replayed: false, ...(updated.event ? { event: updated.event } : {}) }; @@ -198,11 +202,13 @@ function validateReceiptInput(input: LingAppServerWorkItemDeviceReceiptParams): } } -function deviceBridgeEvent(cwd: string, workspaceId: string, workItemId: string, binding: LingAppServerWorkItemDeviceBinding, status: LingAppServerWorkItemDeviceStatus): AppendControlPlaneEventInput { +function deviceBridgeEvent(cwd: string, workspaceId: string, workItemId: string, binding: LingAppServerWorkItemDeviceBinding, + workItemRevision: number): AppendControlPlaneEventInput { return { workspaceId, cwd, domain: "work_items", entityType: "work_item", entityId: workItemId, - action: "work_item.device.updated", idempotencyKey: `${binding.bindingId}:${binding.revision}:${status}`, + action: "work_item.device.updated", idempotencyKey: `${binding.bindingId}:${binding.revision}:${binding.status}`, data: { workItemId, bindingId: binding.bindingId, graphId: binding.graphId, graphNodeId: binding.graphNodeId, - graphRevision: binding.graphRevision, ownerHostId: binding.ownerHostId, workUnitId: binding.workUnitId, status, revision: binding.revision } }; + graphRevision: binding.graphRevision, ownerHostId: binding.ownerHostId, workUnitId: binding.workUnitId, + status: binding.status, revision: binding.revision, workItemRevision } }; } function digest(values: readonly string[]): string { diff --git a/packages/core/test/work-item-device-bridge.test.ts b/packages/core/test/work-item-device-bridge.test.ts index f36415982..dd6f33a78 100644 --- a/packages/core/test/work-item-device-bridge.test.ts +++ b/packages/core/test/work-item-device-bridge.test.ts @@ -40,10 +40,14 @@ test("device Work Item bindings and owner receipts survive restart without turni const reopened = readWorkItemDeviceBindings(store, created.workItem.id); assert.equal(reopened[0]?.status, "unknown"); assert.equal(reopened[0]?.receipt?.reconciled, false); + const held = store.getWorkItem(created.workItem.id)!; + assert.equal(held.control.state, "blocked"); + assert.deepEqual(held.control.unresolvedEffectIds, [bound.binding.bindingId]); + assert.equal(held.control.recoveryOwner, "device_fabric"); const reconciliation = { workItemId: created.workItem.id, bindingId: bound.binding.bindingId, expectedBindingRevision: bound.binding.revision, - expectedWorkItemRevision: created.workItem.revision, ownerHostId: "edge-host-1", ownerRouteGeneration: 4, + expectedWorkItemRevision: held.revision, ownerHostId: "edge-host-1", ownerRouteGeneration: 4, workUnitId: "work-unit-1", attemptId: "attempt-1", status: "succeeded", resultRef: "journal:readback-1", reconciled: true, idempotencyKey: "receipt-reconciled", } as const; @@ -52,12 +56,13 @@ test("device Work Item bindings and owner receipts survive restart without turni assert.throws(() => bindWorkItemDevice(store, { workItemId: created.workItem.id, graphId: "graph-1", graphNodeId: "node-1", graphRevision: 4, ownerHostId: "edge-host-2", ownerRouteGeneration: 5, workUnitId: "work-unit-2", - expectedWorkItemRevision: created.workItem.revision, idempotencyKey: "rebind-before-reconciliation", - }, now, cwd), { code: "device_binding_conflict" }); + expectedWorkItemRevision: held.revision, idempotencyKey: "rebind-before-reconciliation", + }, now, cwd), { code: "resume_blocked" }); const settled = recordWorkItemDeviceReceipt(store, reconciliation, "2026-11-25T00:00:02.000Z", cwd); assert.equal(settled.binding.status, "succeeded"); assert.equal(settled.binding.receipt?.reconciled, true); assert.equal(recordWorkItemDeviceReceipt(store, reconciliation, "2026-11-25T00:00:03.000Z", cwd).replayed, true); + assert.deepEqual(store.getWorkItem(created.workItem.id)?.control.unresolvedEffectIds, []); } finally { store.close(); await rm(cwd, { recursive: true, force: true }); @@ -76,7 +81,7 @@ test("device receipt, binding projection and event roll back together and retry const receipt = { workItemId: workItem.id, bindingId: binding.bindingId, expectedBindingRevision: binding.revision, expectedWorkItemRevision: workItem.revision, ownerHostId: "owner", ownerRouteGeneration: 1, workUnitId: "unit-a", - status: "failed", resultRef: "owner:confirmed-failure", idempotencyKey: "first-result", + status: "unknown", resultRef: "owner:outcome-uncertain", idempotencyKey: "first-result", } as const; database.exec(`CREATE TRIGGER fail_device_receipt_event BEFORE INSERT ON control_plane_events WHEN NEW.action = 'work_item.device.updated' @@ -84,12 +89,27 @@ test("device receipt, binding projection and event roll back together and retry assert.throws(() => recordWorkItemDeviceReceipt(store, receipt, now, cwd), /fixture_device_receipt_event_failed/u); assert.deepEqual(readWorkItemDeviceBindings(store, workItem.id), [binding]); assert.equal(store.findAppServerStateByIdempotencyKey("work_item_device_receipt", receipt.idempotencyKey), undefined); + assert.deepEqual(store.getWorkItem(workItem.id), workItem); database.exec("DROP TRIGGER fail_device_receipt_event"); const committed = recordWorkItemDeviceReceipt(store, receipt, now, cwd); - assert.equal(committed.binding.status, "failed"); + assert.equal(committed.binding.status, "unknown"); assert.equal(committed.event?.action, "work_item.device.updated"); assert.deepEqual(recordWorkItemDeviceReceipt(store, receipt, now, cwd), { binding: committed.binding, replayed: true }); - assert.equal(bindWorkItemDevice(store, { ...input, graphRevision: 2, workUnitId: "unit-b", idempotencyKey: "replacement" }, now, cwd).binding.revision, 2); + const held = store.getWorkItem(workItem.id)!; + assert.equal(committed.event?.data.workItemRevision, held.revision); + const cancel = { actorId: "operator", expectedRevision: held.revision, expectedControlGeneration: held.control.generation, + reason: "Settle the original device effect", idempotencyKey: "cancel-held-device" }; + const cancelling = store.applyWorkItemControl(workItem.id, "cancel", cancel, now); + assert.equal(cancelling.status, "applied"); + assert.equal(cancelling.workItem.control.state, "cancelling"); + const reconciled = recordWorkItemDeviceReceipt(store, { ...receipt, expectedWorkItemRevision: cancelling.workItem.revision, + status: "cancelled", reconciled: true, resultRef: "owner:cancelled", idempotencyKey: "cancel-readback" }, now, cwd); + assert.equal(reconciled.binding.status, "cancelled"); + const replay = store.applyWorkItemControl(workItem.id, "cancel", cancel, now); + assert.equal(replay.status, "replayed"); + assert.equal(replay.workItem.control.state, "cancelled"); + assert.deepEqual(replay.workItem.control.unresolvedEffectIds, []); + assert.deepEqual(replay.receipt, cancelling.receipt); }); test("device receipt ownership and graph revisions are fenced", async () => { @@ -112,8 +132,51 @@ test("device receipt ownership and graph revisions are fenced", async () => { ownerHostId: "host-b", ownerRouteGeneration: 2, workUnitId: "unit-b", expectedWorkItemRevision: created.workItem.revision, idempotencyKey: "bind-stale", }, now, cwd), (error: unknown) => error instanceof WorkItemDeviceBridgeError && error.code === "stale_revision"); + recordWorkItemDeviceReceipt(store, { + workItemId: created.workItem.id, bindingId: bound.binding.bindingId, expectedBindingRevision: bound.binding.revision, + expectedWorkItemRevision: created.workItem.revision, ownerHostId: "host-a", ownerRouteGeneration: 1, workUnitId: "unit-a", + status: "failed", resultRef: "owner:confirmed-failure", idempotencyKey: "known-result", + }, now, cwd); + const replacement = bindWorkItemDevice(store, { + workItemId: created.workItem.id, graphId: "graph-2", graphNodeId: "node-1", graphRevision: 2, + ownerHostId: "host-b", ownerRouteGeneration: 2, workUnitId: "unit-b", expectedWorkItemRevision: created.workItem.revision, + idempotencyKey: "replacement", + }, now, cwd); + assert.equal(replacement.binding.revision, 2); + assert.equal(replacement.binding.status, "bound"); } finally { store.close(); await rm(cwd, { recursive: true, force: true }); } }); + +test("upgrading an earlier device ledger restores its unconfirmed effect in Work Item control", async t => { + const cwd = await mkdtemp(join(tmpdir(), "ling-work-item-device-upgrade-")); + t.after(async () => { await rm(cwd, { recursive: true, force: true }); }); + const old = createSqliteRunStore(cwd); + const { workItem } = old.createWorkItem({ sourceType: "device_task_graph_node", sourceId: "graph/legacy", title: "Inspect device" }, now); + const { binding } = bindWorkItemDevice(old, { + workItemId: workItem.id, graphId: "graph", graphNodeId: "legacy", graphRevision: 1, ownerHostId: "legacy-edge", + ownerRouteGeneration: 1, workUnitId: "legacy-unit", expectedWorkItemRevision: workItem.revision, idempotencyKey: "legacy-binding", + }, now, cwd); + const receipt = { receiptId: "legacy-receipt", bindingRevision: binding.revision, receivedAt: now, ownerHostId: binding.ownerHostId, + ownerRouteGeneration: binding.ownerRouteGeneration, workUnitId: binding.workUnitId, status: "unknown", resultRef: "legacy:unconfirmed", + reconciled: false } as const; + old.putAppServerState({ kind: "work_item_device_receipt", recordId: receipt.receiptId, expectedRevision: 0, idempotencyKey: "legacy-receipt-key", + payload: { bindingId: binding.bindingId, bindingRevision: binding.revision, receipt } }, now); + const { databasePath } = old.paths; + old.close(); + const database = new DatabaseSync(databasePath); + database.prepare("DELETE FROM schema_migrations WHERE name = ?").run("project_unresolved_work_item_device_effects"); + database.close(); + + const current = createSqliteRunStore(cwd); + try { + const held = current.getWorkItem(workItem.id)!; + assert.equal(held.control.state, "blocked"); + assert.deepEqual(held.control.unresolvedEffectIds, [binding.bindingId]); + assert.equal(current.resumeWorkItem(workItem.id, { actorId: "operator", expectedRevision: held.revision, + expectedControlGeneration: held.control.generation, idempotencyKey: "legacy-resume" }, now)?.control.state, "blocked"); + assert.deepEqual(readWorkItemDeviceBindings(current, workItem.id)[0]?.receipt, receipt); + } finally { current.close(); } +}); diff --git a/packages/daemon/test/app-server-device-bridge.test.ts b/packages/daemon/test/app-server-device-bridge.test.ts index 3081b54e5..3695a30f0 100644 --- a/packages/daemon/test/app-server-device-bridge.test.ts +++ b/packages/daemon/test/app-server-device-bridge.test.ts @@ -9,12 +9,15 @@ import { createSqliteRunStore, resolveStoragePaths } from "@ling-stack/core"; import { WebSocket } from "ws"; import { createDaemonServer } from "../dist/index.js"; -test("App Server reserves device owner writes for the operator and replays them to a scoped controller", { timeout: 15_000 }, async t => { +test("App Server holds Work Item admission for an unknown device receipt until owner reconciliation", { timeout: 30_000 }, async t => { const root = await mkdtemp(join(tmpdir(), "ling-app-server-device-bridge-")); const cwd = join(root, "workspace"); await mkdir(cwd); const token = randomUUID(); const createDaemon = () => createDaemonServer({ host: "127.0.0.1", port: 0, defaultWorkspaceCwd: cwd, authToken: token }, { + chromeBrowserNativeMessagingEnabled: false, + remoteReplyDispatcher: null, + remoteAccessStateDir: join(root, "remote-access"), storeFactory(workspace) { return createSqliteRunStore(workspace, resolveStoragePaths(workspace, { homeDir: root, env: {}, workspaceStateLocation: "repo-local" }).workspace); }, @@ -27,6 +30,7 @@ test("App Server reserves device owner writes for the operator and replays them url.searchParams.set("cwd", cwd); const client = new LingAppServerClient({ url: url.href, clientInfo: { name: "Device bridge test", version: "1" }, requiredCapabilities: ["workItem.device"], + autoReconnect: false, requestTimeoutMs: 5_000, createSocket: address => new WebSocket(address, { headers: { Authorization: `Bearer ${bearer}` } }) as unknown as LingAppServerSocket, }); await client.connect(); @@ -69,6 +73,15 @@ test("App Server reserves device owner writes for the operator and replays them assert.equal(unknown.binding.status, "unknown"); const beforeRestart = await client.readWorkItemDevice(created.workItem.workItemId); assert.equal(beforeRestart.bindings[0]?.receipt?.resultRef, "journal-rpc-unknown"); + const workItemId = created.workItem.workItemId; + const readWorkItem = async (peer: LingAppServerClient) => (await peer.readWorkItemSnapshot(created.workItem.workspaceId, workItemId)).workItem; + const held = await readWorkItem(controller); + assert.deepEqual(held.control.unresolvedEffectIds, [binding.binding.bindingId]); + assert.notEqual(held.revision, created.workItem.revision); + const paused = await controller.controlWorkItem("pause", { + workItemId, workspaceId: created.workItem.workspaceId, actorId: "fixture", expectedWorkItemRevision: Number(held.revision), + expectedControlGeneration: Number(held.control.generation), idempotencyKey: "stop-for-device-recovery", + }); controller.close(); client.close(); await daemon.stop(); @@ -78,4 +91,19 @@ test("App Server reserves device owner writes for the operator and replays them const afterRestart = await resumed.readWorkItemDevice(created.workItem.workItemId); assert.equal(afterRestart.bindings[0]?.status, "unknown"); assert.equal(afterRestart.bindings[0]?.ownerHostId, "host-rpc"); + assert.deepEqual(await readWorkItem(resumed), paused); + const resumeInput = { workItemId, workspaceId: created.workItem.workspaceId, actorId: "fixture", expectedControlGeneration: Number(paused.control.generation), + expectedWorkItemRevision: Number(paused.revision), idempotencyKey: "resume-after-device-recovery" }; + await assert.rejects(resumed.controlWorkItem("resume", resumeInput), { code: "resume_blocked" }); + const operator = await connect(); + const newerBinding = { ...bindInput, graphNodeId: "other-node", expectedWorkItemRevision: Number(paused.revision), idempotencyKey: "bind-other" }; + await assert.rejects(operator.bindWorkItemDevice(newerBinding), { code: "resume_blocked" }); + const settled = await operator.recordWorkItemDeviceReceipt({ ...receiptInput, expectedWorkItemRevision: Number(paused.revision), + status: "succeeded", reconciled: true, resultRef: "journal-rpc-readback", idempotencyKey: "receipt-rpc-reconciled" }); + assert.equal(settled.binding.status, "succeeded"); + const ready = await readWorkItem(resumed); + assert.deepEqual(ready.control.unresolvedEffectIds, []); + assert.equal(ready.control.state, "paused"); + const active = await resumed.controlWorkItem("resume", { ...resumeInput, expectedWorkItemRevision: Number(ready.revision) }); + assert.equal(active.control.state, "active"); }); From b2c4607cef367cb18c64a5592de7bec34a61c875 Mon Sep 17 00:00:00 2001 From: tianxiaochannel-oss88 Date: Fri, 27 Nov 2026 06:17:45 +0800 Subject: [PATCH 131/147] fix(app-server): restore coordination decision scheduling --- packages/core/test/support/remaining-work-predecessor.ts | 3 ++- .../test/support/workflow-migration-predecessor-fixture.mjs | 1 + packages/daemon/src/features/automations/scheduler.ts | 4 +++- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/packages/core/test/support/remaining-work-predecessor.ts b/packages/core/test/support/remaining-work-predecessor.ts index 3ba6aabb8..bf9473122 100644 --- a/packages/core/test/support/remaining-work-predecessor.ts +++ b/packages/core/test/support/remaining-work-predecessor.ts @@ -10,6 +10,7 @@ const appServerAndLaterMarkers = [ [236, "create_work_item_evidence"], [237, "create_app_server_state"], [238, "conversation_visualizations"], + [239, "project_unresolved_work_item_device_effects"], ] as const; const workItemControlDefaults = [ @@ -25,7 +26,7 @@ const workItemControlDefaults = [ /** Restore the schema from before App Server migrations in an owned temporary fixture. */ export function rewindToPreAppServerSchema(db: DatabaseSync): void { - const markers = db.prepare("SELECT version, name FROM schema_migrations WHERE version IN (235, 236, 237, 238) ORDER BY version").all(); + const markers = db.prepare("SELECT version, name FROM schema_migrations WHERE version IN (235, 236, 237, 238, 239) ORDER BY version").all(); if (markers.length === 0) return; assert.deepEqual(markers.map(({ version, name }) => [version, name]), appServerAndLaterMarkers); const file = db.prepare("PRAGMA database_list").all().find(row => row.name === "main")?.file; diff --git a/packages/core/test/support/workflow-migration-predecessor-fixture.mjs b/packages/core/test/support/workflow-migration-predecessor-fixture.mjs index 265ac0144..2b6a23daf 100644 --- a/packages/core/test/support/workflow-migration-predecessor-fixture.mjs +++ b/packages/core/test/support/workflow-migration-predecessor-fixture.mjs @@ -74,6 +74,7 @@ const overlays = [ indexes: ["idx_app_server_state_kind_updated"], triggers: [] }, { version: 238, name: "conversation_visualizations", tables: ["conversation_visualizations"], indexes: ["idx_conversation_visualizations_run"], triggers: [] }, + { version: 239, name: "project_unresolved_work_item_device_effects", tables: [], indexes: [], triggers: [] }, ]; const schema = db => db.prepare("SELECT type,name,tbl_name,sql FROM sqlite_master WHERE name NOT LIKE 'sqlite_%' ORDER BY type,name").all(); const markers = db => db.prepare("SELECT * FROM schema_migrations ORDER BY version").all(); diff --git a/packages/daemon/src/features/automations/scheduler.ts b/packages/daemon/src/features/automations/scheduler.ts index 20d4b0074..18b49561b 100644 --- a/packages/daemon/src/features/automations/scheduler.ts +++ b/packages/daemon/src/features/automations/scheduler.ts @@ -245,8 +245,10 @@ export class AutomationSchedulerRegistry { } publishCoordinationRound(cwd: string, event: ControlPlaneEvent): void { + const canonical = normalizeWorkspaceRoot(cwd); this.controlPlaneEvents.publish(trimOversizedEvent(event)); - this.restoreCoordinationDeadlines(normalizeWorkspaceRoot(cwd)); + this.restoreCoordinationDeadlines(canonical); + this.armCoordinationDecisions(canonical); } closeCoordinationRound(cwd: string, input: CloseScheduledCoordinationInput, now: string) { From 7a01ae53a3b68360b04db61389cff4f587727ff9 Mon Sep 17 00:00:00 2001 From: tianxiaochannel-oss88 Date: Sat, 28 Nov 2026 12:32:47 -0500 Subject: [PATCH 132/147] test(app-server): cover observe grant mutation denial --- .../design/ling-app-server-detailed-design.md | 14 +++ .../app-server-release-acceptance.test.ts | 85 +++++++++++++++++++ 2 files changed, 99 insertions(+) diff --git a/docs/design/ling-app-server-detailed-design.md b/docs/design/ling-app-server-detailed-design.md index b6f0e7eff..8cba5f32e 100644 --- a/docs/design/ling-app-server-detailed-design.md +++ b/docs/design/ling-app-server-detailed-design.md @@ -36,6 +36,20 @@ App Server 作为 Daemon 的会话协议入口,以 `ling-app-server/1` 发布 App Server grant 使用 `las1..` bearer 形式。Daemon 只在创建时接收 secret 的 SHA-256,持久状态只保存摘要。grant 绑定 workspace、Thread 或 Work Item subject,scope 取 `observe`、`control`、`approve` 和 `respond` 的子集,带独立过期时间和 revision。连接握手时用 grant 的 revision 参与 replay identity,连接中的每个请求重新检查 subject 和 scope。撤销会关闭同 workspace 的 grant 连接,旧 cursor、缓存的 answer authority 和新的副作用请求都失效。grant 不能创建或撤销其他 grant,也不能跨 subject 读取事件。 +#### 1.1.1 信任边界与授权语义 + +连接的传输边界和操作授权分别核对。stdio、Unix socket 和回环 WS 依赖本机 OS 边界,同时仍执行 Daemon 的凭据校验。Daemon 配置的 operator bearer 可以用于本机连接,并具有该 operator 的完整管理能力。本机 scoped grant 只提供 grant 明确授予的能力。远程 WSS 必须使用 scoped bearer grant,且由 TLS、Host/Origin 策略和 grant subject 共同限制连接。 + +`actorId` 用于审计记录和业务归属,认证身份来自连接凭据以及当前授权快照。scope 的语义固定如下。 + +- `observe` 允许读取授权 subject 的快照、事件、公开证据和投影。 +- `control` 允许对授权 Work Item 执行 pause、resume 和 cancel。 +- `approve` 允许提交授权 Thread 的审批决定。 +- `respond` 允许回答授权 Thread 的用户输入请求。 +- `stageCoordination` 只能作用于绑定 Work Item 和指定 workflow step 的阶段问答、消息与读取操作。 + +grant 被撤销、过期或 revision 变化后,连接和后续请求立即失效。远程 observer 只能读取其 subject,普通协作写入、证据追加、消息发送和 External Agent 任务启动均要求相应的受信操作授权。每个请求在参数处理前后都重新核对 workspace、subject、scope 和当前 revision,重连时清除旧 cursor 与待决回答权限。 + 独立 WSS 监听器通过 Host 的 `appServerWss` 或 `LING_STACK_APP_SERVER_WSS_CONFIG` 指向的 JSON 文件配置。配置包括 `host`、`port`、TLS 的 `certificateFile` 与 `privateKeyFile` 绝对路径、`allowedHosts` 和可选 `allowedOrigins`。它要求 scoped grant,并在同一 Daemon 的本机管理入口接受撤销。原有明文 App Server 升级入口限定直连回环。 CLI 的 `app-server probe` 通过 `LING_STACK_AUTH_TOKEN` 接收 App Server grant 凭据。`--cwd` 指定 Daemon 已注册的服务端工作区。使用私有 CA 时,在客户端进程启动前将 CA 文件路径提供给 `NODE_EXTRA_CA_CERTS`。监听器的 TLS 证书和 `allowedHosts` 对应客户端 URL 中的服务端名称。 diff --git a/packages/daemon/test/app-server-release-acceptance.test.ts b/packages/daemon/test/app-server-release-acceptance.test.ts index b3f5242d7..819666399 100644 --- a/packages/daemon/test/app-server-release-acceptance.test.ts +++ b/packages/daemon/test/app-server-release-acceptance.test.ts @@ -6296,6 +6296,91 @@ test("App Server grants restrict observers, controllers and approvers to their s await assert.rejects(fixture.connect("/rpc/stream", fixture.cwd, control.bearer), /401/u); }); +test("an observe-only Work Item grant rejects every mutation entry point without side effects", { timeout: 30_000 }, async t => { + const fixture = await releaseFixture(t); + const operator = await fixture.connect(); + const store = fixture.getStore(); + const created = await operator.call<{ workItem: LingAppServerWorkItemSnapshot }>("workItem/create", { + sourceId: "observe-denial-matrix", title: "Verify read-only Work Item access", + }); + const accepted = await operator.call<{ workItem: LingAppServerWorkItemSnapshot }>("workItem/accept", { + workItemId: created.workItem.workItemId, expectedWorkItemRevision: Number(created.workItem.revision), + idempotencyKey: "observe-denial-acceptance", + }); + const workItemId = accepted.workItem.workItemId; + const registration = await operator.call("externalAgent/register", { + idempotencyKey: "observe-denial-registration", + registration: { + agentId: "observe-denial-external-agent", adapterKind: "codex-app-server", protocolVersion: "test/1", + displayName: "Observe Denial External Agent", capabilities: ["task.start", "task.reconnect"], + workspaceScopes: [accepted.workItem.workspaceId], toolScopes: ["read"], approvalModes: ["host"], source: "local", version: "1", + }, + }); + const secret = randomBytes(32).toString("hex"); + const { grant } = await operator.call<{ grant: LingAppServerGrant }>("server/grants/create", { + label: "Observe-only Work Item grant", subject: { kind: "workItem", id: workItemId }, scopes: ["observe"], + expiresAt: new Date(Date.now() + 60_000).toISOString(), + credentialSha256: createHash("sha256").update(secret).digest("hex"), idempotencyKey: "observe-denial-grant", + }); + const observer = await fixture.connect("/app-server/rpc", fixture.cwd, `las1.${grant.grantId}.${secret}`); + const workItemRevision = Number(accepted.workItem.revision); + const planRevision = accepted.workItem.planRevision ?? "0"; + const submission = { + workItemId, workItemRevision: accepted.workItem.revision, workspaceId: accepted.workItem.workspaceId, + objective: "Read the current Work Item contract", acceptanceSnapshot: { provider: { provider: "fixture", model: "fixture" } }, + instructionManifestDigest: "observe-denial-manifest", idempotencyKey: "observe-denial-task", + }; + const mutationRequests: readonly [string, object][] = [ + ["workItem/pause", { + workItemId, expectedWorkItemRevision: workItemRevision, expectedControlGeneration: 0, + actorId: "observe-only", reason: "An observer must not pause work", idempotencyKey: "observe-denial-pause", + }], + ["workItem/evidence/append", { + workItemId, expectedWorkItemRevision: workItemRevision, expectedEvidenceRevision: 0, + subjectRevision: accepted.workItem.revision, actorId: "observe-only", kind: "observation", + content: "This evidence must not be persisted.", idempotencyKey: "observe-denial-evidence", sourceRefs: [], + }], + ["workItem/collaboration/append", { + workItemId, expectedWorkItemRevision: workItemRevision, expectedCollaborationRevision: 0, + actorId: "observe-only", kind: "coordination", action: "started", payload: { title: "Denied coordination" }, + sourceRefs: [], idempotencyKey: "observe-denial-collaboration", + }], + ["workItem/message/send", { + workItemId, expectedWorkItemRevision: workItemRevision, planRevision, targetStepId: "observe-denial-step", + expectedTargetRevision: "0", actorId: "observe-only", payload: { text: "Denied message" }, + body: "This message must not be delivered.", idempotencyKey: "observe-denial-message", + }], + ["externalAgent/task/start", { registrationId: registration.registrationId, submission }], + ]; + const snapshot = () => { + const workItem = store.getWorkItem(workItemId); + assert.ok(workItem); + const evidence = store.listWorkItemEvidence({ workItemId, limit: 500 }); + return structuredClone({ + revision: workItem.revision, + control: workItem.control, + evidence: evidence.map(entry => ({ id: entry.id, revision: entry.revision, sequence: entry.sequence, kind: entry.kind, + actorId: entry.actorId, subjectRevision: entry.subjectRevision, content: entry.content, sourceRefs: entry.sourceRefs, + idempotencyKey: entry.idempotencyKey })), + collaboration: evidence.filter(entry => entry.content.startsWith("ling.collaboration.v1:")).map(entry => ({ + id: entry.id, sequence: entry.sequence, content: entry.content, actorId: entry.actorId, idempotencyKey: entry.idempotencyKey, + })), + controlPlane: store.listControlPlaneEvents({ workspaceId: workItem.workspaceId, entityId: workItemId }).map(event => ({ + seq: event.seq, action: event.action, data: event.data, + })), + federation: store.getAppServerState("external_federation", "ledger")?.payload, + }); + }; + const before = snapshot(); + for (const [method, params] of mutationRequests) { + await assert.rejects(observer.call(method, params), { code: "capability_denied" }); + assert.deepEqual(snapshot(), before, `${method} changed persistent state despite an observe-only grant`); + } + assert.equal(store.listWorkItemEvidence({ workItemId, limit: 500 }).length, before.evidence.length); + assert.equal((store.getAppServerState("external_federation", "ledger")?.payload as { readonly tasks?: readonly unknown[] } | undefined)?.tasks?.length ?? 0, + (before.federation as { readonly tasks?: readonly unknown[] } | undefined)?.tasks?.length ?? 0); +}); + test("the dedicated TLS App Server accepts scoped controllers and revokes access across listeners", { timeout: 30_000 }, async t => { const provider = await startLoopbackPiProvider((_: unknown, count: number) => count === 1 ? { tool: "request_user_input", From 47909e5f87d2ad1b06ed04be4a12f34d89996197 Mon Sep 17 00:00:00 2001 From: tianxiaochannel-oss88 Date: Sat, 28 Nov 2026 13:58:16 -0500 Subject: [PATCH 133/147] chore: align merged lockfile with main --- pnpm-lock.yaml | 3 --- 1 file changed, 3 deletions(-) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 0902c5830..9ee0494df 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -290,9 +290,6 @@ importers: specifier: ^4.3.0 version: 4.6.0 devDependencies: - '@ling-stack/daemon': - specifier: workspace:* - version: link:../../packages/daemon '@playwright/test': specifier: 1.65.1 version: 1.65.1 From 7f225163e8dc1fe134189a675c14c0c11eb31b11 Mon Sep 17 00:00:00 2001 From: tianxiaochannel-oss88 Date: Sat, 28 Nov 2026 14:53:40 -0500 Subject: [PATCH 134/147] fix(web): include daemon for verification e2e types --- apps/web/package.json | 1 + pnpm-lock.yaml | 3 +++ 2 files changed, 4 insertions(+) diff --git a/apps/web/package.json b/apps/web/package.json index bbcedd19e..bd2ac9e47 100644 --- a/apps/web/package.json +++ b/apps/web/package.json @@ -39,6 +39,7 @@ "shiki": "^4.3.0" }, "devDependencies": { + "@ling-stack/daemon": "workspace:*", "@playwright/test": "1.65.1", "@types/react": "^19.2.18", "@types/react-dom": "^19.2.4", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 9ee0494df..0902c5830 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -290,6 +290,9 @@ importers: specifier: ^4.3.0 version: 4.6.0 devDependencies: + '@ling-stack/daemon': + specifier: workspace:* + version: link:../../packages/daemon '@playwright/test': specifier: 1.65.1 version: 1.65.1 From 39d5a2d0f07ea79dac452132215249650b3809db Mon Sep 17 00:00:00 2001 From: tianxiaochannel-oss88 Date: Sat, 28 Nov 2026 15:05:18 -0500 Subject: [PATCH 135/147] test(core): use public store path in migration check --- packages/core/test/work-item-device-bridge.test.ts | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/packages/core/test/work-item-device-bridge.test.ts b/packages/core/test/work-item-device-bridge.test.ts index 3375044dd..dee13c8c1 100644 --- a/packages/core/test/work-item-device-bridge.test.ts +++ b/packages/core/test/work-item-device-bridge.test.ts @@ -205,13 +205,15 @@ test("upgrading a pre-visualization device marker preserves its projected effect database.close(); const reopened = createSqliteRunStore(cwd); + const migrationDatabase = new DatabaseSync(reopened.paths.databasePath); try { assert.equal(reopened.getWorkItem(workItem.id)?.revision, projectedRevision); - assert.deepEqual(reopened.database.prepare( + const migrations = migrationDatabase.prepare( "SELECT version, name FROM schema_migrations WHERE version >= 239 ORDER BY version", - ).all().map(({ version, name }) => ({ version, name })), [ + ).all() as Array<{ version: number; name: string }>; + assert.deepEqual(migrations.map(({ version, name }) => ({ version, name })), [ { version: 239, name: "conversation_visualization_document_limits" }, { version: 240, name: "project_unresolved_work_item_device_effects" }, ]); - } finally { reopened.close(); } + } finally { migrationDatabase.close(); reopened.close(); } }); From d5d23ac629ba28926f97186038fd0c96ad2ab47c Mon Sep 17 00:00:00 2001 From: tianxiaochannel-oss88 Date: Sat, 28 Nov 2026 17:16:27 -0500 Subject: [PATCH 136/147] fix(app-server): close remaining recovery paths --- packages/api-client/src/app-server.ts | 4 +-- packages/api-client/test/app-server.test.ts | 2 ++ .../sqlite/native-work-intake-store.ts | 15 ++++++++--- packages/core/src/work-item-device-bridge.ts | 14 +++++++++- .../core/test/work-item-device-bridge.test.ts | 27 +++++++++++++++++++ .../src/server/app-server-authorization.ts | 2 +- .../src/server/app-server-codex-host.ts | 2 +- .../src/server/app-server-github-intake.ts | 2 +- .../app-server-release-acceptance.test.ts | 8 +++--- 9 files changed, 62 insertions(+), 14 deletions(-) diff --git a/packages/api-client/src/app-server.ts b/packages/api-client/src/app-server.ts index 2100d68a1..f7a44255a 100644 --- a/packages/api-client/src/app-server.ts +++ b/packages/api-client/src/app-server.ts @@ -300,8 +300,8 @@ export class LingAppServerClient { } async createStageCoordinationGrant(params: LingAppServerStageCoordinationGrantParams): Promise<{ cwd: string; grant: LingAppServerGrant }> { - const { workItemId, ...credential } = params; - return await this.createGrant({ ...credential, subject: { kind: "workItem", id: workItemId }, scopes: [] }); + const { workItemId, stageExecution, ...credential } = params; + return await this.createGrant({ ...credential, subject: { kind: "workItem", id: workItemId }, scopes: [], stageExecution }); } async listGrants(): Promise<{ cwd: string; grants: readonly LingAppServerGrant[] }> { diff --git a/packages/api-client/test/app-server.test.ts b/packages/api-client/test/app-server.test.ts index f881f84ef..deea3c275 100644 --- a/packages/api-client/test/app-server.test.ts +++ b/packages/api-client/test/app-server.test.ts @@ -238,6 +238,8 @@ test("Ling App Server client routes the development, delivery, grant, worktree a expiresAt: "2099-01-01T00:00:00.000Z", credentialSha256: "0".repeat(64), idempotencyKey: "grant-1" }); await client.createStageCoordinationGrant({ workItemId: "item", stageExecution: { runId: "run", attemptId: "attempt" }, label: "stage", expiresAt: "2099-01-01T00:00:00.000Z", credentialSha256: "1".repeat(64), idempotencyKey: "stage-grant" }); + assert.deepEqual(socket.sent.find(request => request.method === "server/grants/create" && request.params?.label === "stage")?.params?.stageExecution, + { runId: "run", attemptId: "attempt" }); await client.listGrants(); await client.revokeGrant("grant-1", 1); await client.createHandoff({ threadId: "thread", turnId: "turn", idempotencyKey: "handoff-1", nextInstruction: "continue" }); diff --git a/packages/core/src/storage/sqlite/native-work-intake-store.ts b/packages/core/src/storage/sqlite/native-work-intake-store.ts index d114430f2..48ba42219 100644 --- a/packages/core/src/storage/sqlite/native-work-intake-store.ts +++ b/packages/core/src/storage/sqlite/native-work-intake-store.ts @@ -2,7 +2,7 @@ import { nativeTaskIntakeRevision, nativeWorkIntakeReceiptId, nativeWorkIntakeRe import type { NativeWorkIntakeReceipt, NativeWorkIntakeSourceKind } from "@ling-stack/contracts"; import type { NativeWorkIntakeInput, NativeWorkIntakeRecord, NativeWorkIntakeResult } from "../../native-work-intake-types.js"; import type { AutomationRun, CreateAutomationRunInput } from "../../automation-types.js"; -import { DEFAULT_WORKSPACE_ID, type CreateTaskInput, type Task } from "../../workspace-types.js"; +import { type CreateTaskInput, type Task } from "../../workspace-types.js"; import type { SqliteAppServerStateStore } from "./app-server-state-store.js"; import type { SqliteControlPlaneStore } from "./control-plane-store.js"; import type { SqliteWorkItemStore } from "./work-item-store.js"; @@ -71,7 +71,14 @@ export class SqliteNativeWorkIntakeStore { return { execution, title: task?.title ?? automation?.title ?? "Automation occurrence", input: { ...intake, monitorSnapshot: record.monitorSnapshot, eventDispatchId: record.eventDispatchId, } }; - }, undefined, { ...request, onlyIfAccepted }); + }, (execution, receipt) => { + if (receipt.outcome === "accepted" && "automationId" in execution && execution.status === "skipped") { + return this.automations.updateAutomationRun(execution.id, { + status: "queued", completedAt: null, skipReason: null, + }, now)!; + } + return execution; + }, { ...request, onlyIfAccepted }); } private commit( @@ -173,12 +180,12 @@ export class SqliteNativeWorkIntakeStore { const { database } = this.context; return database.prepare(` SELECT payload_json FROM app_server_state - WHERE workspace_id = ? AND kind = 'native_intake_receipt' + WHERE kind = 'native_intake_receipt' AND json_extract(payload_json, '$.receipt.sourceKind') = ? AND (? IS NULL OR json_extract(payload_json, '$.receipt.sourceScope') = ?) AND (? IS NULL OR (json_extract(payload_json, '$.receipt.dispatch.status') = 'pending' AND updated_at <= ?)) ORDER BY ${pendingBefore ? "updated_at ASC" : "created_at DESC"}, record_id ASC LIMIT ? - `).all(DEFAULT_WORKSPACE_ID, sourceKind, sourceScope ?? null, sourceScope ?? null, pendingBefore ?? null, pendingBefore ?? null, limit) + `).all(sourceKind, sourceScope ?? null, sourceScope ?? null, pendingBefore ?? null, pendingBefore ?? null, limit) .map(row => (parseJson(readString(row, "payload_json")) as NativeWorkIntakeRecord).receipt); } } diff --git a/packages/core/src/work-item-device-bridge.ts b/packages/core/src/work-item-device-bridge.ts index 46b1936ce..3acf83e9c 100644 --- a/packages/core/src/work-item-device-bridge.ts +++ b/packages/core/src/work-item-device-bridge.ts @@ -136,7 +136,19 @@ function commitDeviceReceipt(store: WorkItemDeviceMutationStore, input: LingAppS || !sameReceiptRequest(payload.receipt, input)) { throw new WorkItemDeviceBridgeError("device_receipt_conflict", "The receipt key belongs to a different result."); } - return { binding, replayed: true }; + if (binding.receipt?.receiptId !== payload.receipt.receiptId) return { binding, replayed: true }; + if (saved.binding.receipt?.receiptId === payload.receipt.receiptId) return { binding, replayed: true }; + if (workItem.revision !== input.expectedWorkItemRevision) { + throw new WorkItemDeviceBridgeError("stale_revision", "The Work Item revision changed while the receipt was being projected."); + } + const nextBinding = { ...binding, status: payload.receipt.status, updatedAt: payload.receipt.receivedAt, receipt: payload.receipt } satisfies LingAppServerWorkItemDeviceBinding; + const workItemRevision = payload.receipt.status === "unknown" || binding.status === "unknown" + ? store.updateDeviceEffect(workItem, binding.bindingId, payload.receipt.status === "unknown", payload.receipt.receivedAt) : workItem.revision; + const updated = store.putAppServerState({ kind: "work_item_device_binding", recordId: binding.bindingId, + expectedRevision: state!.revision, payload: { binding: nextBinding } satisfies DeviceBindingRecord }, payload.receipt.receivedAt, + deviceBridgeEvent(cwd, workItem.workspaceId, input.workItemId, nextBinding, workItemRevision)); + if (!updated) throw new WorkItemDeviceBridgeError("stale_revision", "The device binding changed while the receipt was being projected."); + return { binding: nextBinding, replayed: true, ...(updated.event ? { event: updated.event } : {}) }; } if (workItem.revision !== input.expectedWorkItemRevision) throw new WorkItemDeviceBridgeError("stale_revision", "The Work Item revision changed."); if (binding.receipt && (binding.status !== "unknown" || input.status === "unknown" || input.reconciled !== true)) { diff --git a/packages/core/test/work-item-device-bridge.test.ts b/packages/core/test/work-item-device-bridge.test.ts index dee13c8c1..5b80b2731 100644 --- a/packages/core/test/work-item-device-bridge.test.ts +++ b/packages/core/test/work-item-device-bridge.test.ts @@ -112,6 +112,33 @@ test("device receipt, binding projection and event roll back together and retry assert.deepEqual(replay.receipt, cancelling.receipt); }); +test("replayed receipt repairs a binding projection left behind by a prior commit", async t => { + const cwd = await mkdtemp(join(tmpdir(), "ling-work-item-device-replay-")); + const store = createSqliteRunStore(cwd); + t.after(async () => { store.close(); await rm(cwd, { recursive: true, force: true }); }); + const { workItem } = store.createWorkItem({ sourceType: "device_task_graph_node", sourceId: "graph/replay", title: "Replay device" }, now); + const input = { workItemId: workItem.id, graphId: "graph", graphNodeId: "replay", graphRevision: 1, + ownerHostId: "owner", ownerRouteGeneration: 1, workUnitId: "unit-replay", expectedWorkItemRevision: workItem.revision, + idempotencyKey: "binding-replay" } as const; + const { binding } = bindWorkItemDevice(store, input, now, cwd); + const receipt = { receiptId: "device-receipt-replay", bindingRevision: binding.revision, receivedAt: "2026-11-25T00:00:01.000Z", + ownerHostId: binding.ownerHostId, ownerRouteGeneration: binding.ownerRouteGeneration, workUnitId: binding.workUnitId, + status: "succeeded" as const, resultRef: "owner:replayed", reconciled: false }; + store.putAppServerState({ kind: "work_item_device_receipt", recordId: "receipt-replay", expectedRevision: 0, + idempotencyKey: "receipt-replay", payload: { bindingId: binding.bindingId, bindingRevision: binding.revision, receipt } }, receipt.receivedAt); + + const replay = recordWorkItemDeviceReceipt(store, { + workItemId: workItem.id, bindingId: binding.bindingId, expectedBindingRevision: binding.revision, + expectedWorkItemRevision: workItem.revision, ownerHostId: binding.ownerHostId, ownerRouteGeneration: binding.ownerRouteGeneration, + workUnitId: binding.workUnitId, status: receipt.status, resultRef: receipt.resultRef, idempotencyKey: "receipt-replay", + }, receipt.receivedAt, cwd); + assert.equal(replay.replayed, true); + assert.deepEqual(replay.binding.receipt, receipt); + assert.deepEqual((store.getAppServerState("work_item_device_binding", binding.bindingId)?.payload as { binding: unknown }).binding, + replay.binding); + assert.equal(replay.event?.action, "work_item.device.updated"); +}); + test("device receipt ownership and graph revisions are fenced", async () => { const cwd = await mkdtemp(join(tmpdir(), "ling-work-item-device-fence-")); const store = createSqliteRunStore(cwd); diff --git a/packages/daemon/src/server/app-server-authorization.ts b/packages/daemon/src/server/app-server-authorization.ts index d84754748..447c06555 100644 --- a/packages/daemon/src/server/app-server-authorization.ts +++ b/packages/daemon/src/server/app-server-authorization.ts @@ -148,7 +148,7 @@ const workItemReads = new Set([ "workItem/read", "workItem/subscribe", "workItem/unsubscribe", "workItem/evidence/read", "workItem/collaboration/read", "workItem/stage/read", "workItem/stage/brief/read", "workItem/coordination/read", "workItem/deliberation/read", "workItem/message/read", "workItem/message/list", "workItem/question/read", "workItem/handoff/read", - "workItem/coordination/schedule/read", "workItem/device/read", "workItem/delivery/read", "delivery/read", + "workItem/coordination/schedule/read", "workItem/device/read", "workItem/delivery/read", "delivery/read", "artifact/read", ]); const workItemControls = new Set(["workItem/pause", "workItem/resume", "workItem/cancel"]); const stageCoordinationMethods = new Set(["workItem/stage/read", "workItem/question/read", "workItem/message/read", "workItem/message/list", diff --git a/packages/daemon/src/server/app-server-codex-host.ts b/packages/daemon/src/server/app-server-codex-host.ts index f4d6bed22..b9ccc3d22 100644 --- a/packages/daemon/src/server/app-server-codex-host.ts +++ b/packages/daemon/src/server/app-server-codex-host.ts @@ -246,7 +246,7 @@ export async function runLingCodexHost( const response = await codex.request("turn/steer", { threadId, expectedTurnId, input: [{ type: "text", text: `Ling event reference: ${eventId}`, text_elements: [] }] }); if (record(response)?.turnId === expectedTurnId) status = "accepted"; - else failureCode = "unexpected_reply"; + else { status = "retryable"; failureCode = "unexpected_reply"; } } catch (error) { const failure = error instanceof CodexRpcError ? error : undefined; remoteCode = failure?.remoteCode; diff --git a/packages/daemon/src/server/app-server-github-intake.ts b/packages/daemon/src/server/app-server-github-intake.ts index 983ebd780..9a3c23b24 100644 --- a/packages/daemon/src/server/app-server-github-intake.ts +++ b/packages/daemon/src/server/app-server-github-intake.ts @@ -251,7 +251,7 @@ export async function dispatchGitHubIntake( const client = gitHubReadClient(context, store.paths.cwd, receipt.repository); const subject = await readAppServerGitHubSubject(client, { repository: receipt.repository, ...receipt.subject }); assertCurrent(); - if (subject.state !== "open" || !subject.labels?.includes(policy.requiredLabel)) { + if (subject.state !== "open" || policy.requiredLabel && !subject.labels?.includes(policy.requiredLabel)) { complete("held", subject.state !== "open" ? "subject_closed" : "required_label_missing"); continue; } diff --git a/packages/daemon/test/app-server-release-acceptance.test.ts b/packages/daemon/test/app-server-release-acceptance.test.ts index 819666399..c19a1cc8c 100644 --- a/packages/daemon/test/app-server-release-acceptance.test.ts +++ b/packages/daemon/test/app-server-release-acceptance.test.ts @@ -1273,7 +1273,7 @@ test("Codex control host streams Ling, accepts explicit controls, and replays cu assert.equal((await readFile(writes, "utf8")).trim().split("\n").length, 1); const completedEventId = finished.params.eventId; const unexpected = { eventId: completedEventId, expectedTurnId: "malformed-reply-turn" }; - assert.deepEqual(await second.call("codex/steer", unexpected), { status: "unknown", failureCode: "unexpected_reply" }); + assert.deepEqual(await second.call("codex/steer", unexpected), { status: "retryable", failureCode: "unexpected_reply" }); const lostReply = { eventId: completedEventId, expectedTurnId: "disconnecting-turn" }; assert.deepEqual(await second.call("codex/steer", lostReply), { status: "unknown", failureCode: "transport_failed" }); const unsent = { eventId: completedEventId, expectedTurnId: "codex-live-turn" }; @@ -1323,12 +1323,12 @@ test("Codex control host streams Ling, accepts explicit controls, and replays cu assert.equal(response.status, 200); return (await response.json() as { result: unknown }).result; }; - assert.deepEqual(await steerInView(unexpected), { status: "unknown", failureCode: "unexpected_reply", replayed: true }); + assert.deepEqual(await steerInView(unexpected), { status: "retryable", failureCode: "unexpected_reply" }); assert.deepEqual(await steerInView(lostReply), { status: "unknown", failureCode: "transport_failed", replayed: true }); - assert.equal((await readFile(writes, "utf8")).trim().split("\n").length, 3); + assert.equal((await readFile(writes, "utf8")).trim().split("\n").length, 4); assert.deepEqual(await steerInView(unsent), { status: "accepted" }); assert.deepEqual(await steerInView(unsent), { status: "accepted", replayed: true }); - assert.equal((await readFile(writes, "utf8")).trim().split("\n").length, 4); + assert.equal((await readFile(writes, "utf8")).trim().split("\n").length, 5); view.kill("SIGINT"); assert.deepEqual(await closed, [0, null]); }); From 3a5393154c13a08d7300d946e3724c878cbcb16e Mon Sep 17 00:00:00 2001 From: tianxiaochannel-oss88 Date: Sun, 29 Nov 2026 13:36:45 -0500 Subject: [PATCH 137/147] docs: complete App Server method registry summary --- .../design/platform/ling-app-server-detailed-design.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/docs/design/platform/ling-app-server-detailed-design.md b/docs/design/platform/ling-app-server-detailed-design.md index cdeb79e7a..1400317b7 100644 --- a/docs/design/platform/ling-app-server-detailed-design.md +++ b/docs/design/platform/ling-app-server-detailed-design.md @@ -95,12 +95,16 @@ ling-stack --cwd /srv/ling/workspace --daemon-url wss://ling.example.test:7443 \ 已建立订阅的客户端可能先看到状态通知,再收到命令回执。通知通过持久实体 ID 与版本合并,命令通过请求 ID 和受理收据确认。订阅建立的响应与回放有明确的顺序屏障。 +下表按能力组列出核心方法,便于阅读;完整的 143-method registry、参数、结果、权限和错误 schema 以 [`packages/contracts/src/app-server.ts`](../../../packages/contracts/src/app-server.ts) 与 [`packages/contracts/src/app-server-schema.ts`](../../../packages/contracts/src/app-server-schema.ts) 为准。表中未重复展开通知方法和服务端请求方法。 + | 方法组 | 方法 | 输入、输出与权限 | | --- | --- | --- | | 连接 | `initialize`、`initialized`、`server/capabilities`、`server/ping`、`$/cancelRequest` | 返回已协商版本、可用功能与限制。`server/ping` 只做协议保活,`$/cancelRequest` 只取消未完成请求的等待,不撤销已提交副作用。各方法仍检查所在工作区的有效能力。 | +| 授权与恢复 | `server/grants/create`、`server/grants/list`、`server/grants/revoke`、`server/recovery/read`、`server/recovery/prepare`、`server/recovery/reconcile` | 管理连接、主体和目标范围的授权,以及服务重启后对未确认效果、发布和恢复游标的读取、准备和对账。写入使用授权代次、目标版本和幂等键;恢复不会凭猜测重放未知副作用。 | | 工作区 | `workspace/list`、`workspace/read`、`worktree/list`、`worktree/create`、`worktree/refresh`、`worktree/cleanup/preview`、`worktree/cleanup` | 使用 opaque workspace/worktree ID 和预期版本。清理路线沿用当前确认、归属和恢复校验。 | | Thread | `thread/start`、`thread/resume`、`thread/read`、`thread/list`、`thread/name/set`、`thread/archive`、`thread/unarchive`、`thread/delete/preview`、`thread/delete` | 返回标识、状态、版本、绑定、最新可见 Turn、有效规则来源和历史游标。永久删除使用现有管理权限与用户确认,并在预览和提交时核对当前 Work Item、Plan、Goal、审批、证据和 Delivery 依赖。 | | 历史和订阅 | `thread/turns/list`、`thread/items/list`、`item/read`、`thread/subscribe`、`thread/unsubscribe`、`thread/snapshot`、`submission/read` | 游标持久化,订阅 ID 只在连接有效。重连与历史读取没有执行副作用。 | +| 事件与交互请求 | `thread/events/read`、`approval/respond`、`input/respond` | 按授权读取有界事件范围,并响应由服务端发出的审批或用户输入请求。响应绑定原请求、运行主体、版本和幂等键;过期或已解决的请求只返回原收据。 | | 计划和目标 | `thread/mode/get`、`thread/mode/set`、`plan/read`、`plan/refine`、`plan/accept`、`thread/goal/get`、`thread/goal/set`、`thread/goal/pause`、`thread/goal/resume`、`thread/goal/clear`、`thread/goal/complete` | 复用现有模式、计划、Goal 版本和完成证据。`plan/refine` 以源版本生成后继草案。`plan/accept` 的 `workflow` 模式按草案版本和阶段预览创建 Workflow。 | | Turn | `turn/start`、`turn/steer`、`turn/queue`、`turn/interrupt`、`turn/retry`、`turn/resume` | 返回持久受理回执与状态。实际 Run、Attempt 和证据通过订阅或快照查询。 | | 分支和上下文 | `thread/fork`、`thread/compact/start`、`thread/revert`、`context/inspect`、`handoff/create`、`handoff/read`、`handoff/resume` | 从指定可恢复边界分支、压缩或交接。历史变更与实际文件回退各用自己的权限、预览和预期版本。 | @@ -109,12 +113,18 @@ ling-stack --cwd /srv/ling/workspace --daemon-url wss://ling.example.test:7443 \ | 工作项快照与订阅 | `workItem/list`、`workItem/read`、`workItem/subscribe`、`workItem/unsubscribe` | 按工作区和 Work Item 授权分页发现、读取快照及订阅。订阅接收同一范围的恢复游标,取消使用此连接上的订阅 ID。 [工作项方法](../agents/ling-agent-operating-model-detailed-design.md#9-events-and-app-server-methods) | | 工作项控制 | `workItem/pause`、`workItem/resume`、`workItem/cancel` | 协商可选能力 `workItem.control`。暂停、恢复或取消当前 Work Item lineage,使用控制代次和原所有者的收尾回执。独立 effort 不受影响。 [控制合同](../agents/ling-agent-operating-model-detailed-design.md#51-work-item-control) | | 工作项接入与受理 | `workItem/create`、`workItem/accept`、`workItem/clarify` | 可携带明确 Work Item 或可核验的 GitHub 目标,按授权返回来源回执和可见的默认工作项。接受独立执行时绑定其单独的客体与范围。澄清沿用来源、目标和授权回执。 [目标身份与受理](../agents/ling-agent-operating-model-detailed-design.md#32-work-item-target-identity) | +| 工作项 Workflow 与计划变更 | `workItem/workflow/bind`、`workItem/plan/change/request`、`workItem/plan/change/withdraw` | 将已接受的 Plan 绑定到 Workflow,或登记、撤回带版本和证据的计划变更请求。绑定和变更都重新检查 Goal、预算、当前控制代次、未确认效果及独立依赖。 | | 原生接单回执 | `workItem/intake/list`、`workItem/intake/accept`、`workItem/intake/retry` | Daemon operator 按来源读取频道 Task 或 Automation 的最近 50 条策略回执、确认建议,或按幂等键复核被暂缓的事件。原执行所有者处理派发和恢复。 | | 工作项投递与反馈 | `workItem/delivery/read`、`workItem/feedback/add`、`delivery/read` | 按当前授权读取投递状态和来源反馈。反馈追加到原 Work Item 事件链,未知投递仍由原所有者对账。 | +| 工作项设备 | `workItem/device/read`、`workItem/device/bind`、`workItem/device/receipt` | 读取设备节点、绑定 owner-host/目标节点并记录设备执行回执。绑定受图谱修订、授权、租约和 Work Item 版本约束;回执只证明明确的设备观察,不替代现场验收。 | +| GitHub 接入与队列 | `github/intake/policy/list`、`github/intake/poll`、`github/intake/read`、`github/delivery/enqueue`、`github/delivery/queue/read` | 读取适用的 intake policy,轮询并读取去重后的来源事件,将满足准入的交付加入队列并查询队列收据。入队和出队均绑定 repository、PR/head/base 修订、检查证据、容量和幂等键。 | | External Agent Federation | `externalAgent/register`、`externalAgent/capabilities/read`、`externalAgent/task/start`、`externalAgent/task/reconnect`、`externalAgent/task/cancel` | 使用 `externalAgent.federation` 能力。注册、能力握手、任务接入、重连和取消均按请求绑定的工作区读取同一 federation ledger,返回外部任务回执,副作用仍由受理的 WorkUnit/Attempt 所有者控制。 | | GitHub 证据与对账 | `github/subject/read`、`github/delivery/reconcile` | 按当前授权读取 PR 修订、检查适用性、交付状态和证据引用。对账读取提供方原记录并更新已有交付意图及其回执。 [CI 证据与合并保护](../agents/ling-agent-operating-model-detailed-design.md#74-ci-evidence-and-merge-guard) | | 工作项证据与审议 | `workItem/evidence/read`、`workItem/evidence/append`、`workItem/deliberation/evaluate`、`workItem/deliberation/start`、`workItem/deliberation/open`、`workItem/deliberation/read`、`workItem/deliberation/cancel`、`workItem/deliberation/decide` | 协商可选能力 `workItem.evidence`、`workItem.deliberation`。读取工作项证据、触发评估和审议回执。接受阶段审议时可选 `execution: "read_only_workflow"`。Operator 通过订阅接收执行进展,读取已完成阶段数量、截止时间和阻塞。 [整合协议](../agents/ling-agent-operating-model-detailed-design.md#9-events-and-app-server-methods) | +| 协作记录 | `workItem/collaboration/read`、`workItem/collaboration/append` | 分页读取或追加阶段、交接、消息和决策所引用的统一协作记录。追加必须带当前 Work Item/阶段修订、来源实体和幂等键,不能绕过各实体的专用状态机。 | | 工作项阶段与轮次 | `workItem/stage/read`、`workItem/stage/brief/read`、`workItem/coordination/start`、`workItem/coordination/read`、`workItem/coordination/close` | 协商可选能力 `workItem.coordination`。读取阶段、角色简报和 `CoordinationRound`。协调者关闭轮次时原子发布简报或记录取消。 [轮次合同](../agents/ling-agent-operating-model-detailed-design.md#510-coordination-rounds-and-agent-messages) | +| 阶段恢复 | `workItem/stage/recover` | 在当前 Workflow、Attempt 和控制代次下读取并准备阶段恢复;只对可核验的 owner、候选和未确认效果生成恢复收据,不能把阶段报告直接当成完成证据。 | +| 协调决策与调度 | `workItem/coordination/decision/submit`、`workItem/coordination/decisions/read`、`workItem/coordination/schedule/read`、`workItem/coordination/schedule/set` | 提交或读取独立决策、投票和审议结论,读取或设置有版本的协调检查点计划。决策以当前轮次、证据修订和决策键为边界;调度变更不追溯改写已关闭轮次。 | | Agent 消息与问答 | `workItem/message/send`、`workItem/message/read`、`workItem/message/list`、`workItem/question/ask`、`workItem/question/read`、`workItem/question/reply` | 使用 `workItem.coordination`。按工作项、阶段和收件范围发送及读取消息,轮次 ID 可作为消息来源或查询条件。问答使用独立期限与修订。 | | Agent 交接 | `workItem/handoff/read`、`workItem/handoff/accept`、`workItem/handoff/return` | 使用 `workItem.coordination`。按源材料、目标阶段、候选和授权接手人核对,接受或退回均返回当前交接回执。原 Workflow 核对派发条件。 | | 可用能力 | `provider/list`、`model/list`、`skill/list`、`skill/read`、`permissionProfile/list` | 返回可选能力、限制及缺失原因。Provider 凭据绑定在 Daemon 的配置上。 | From c2285cf4003054749a88acb0004212cf23acfe8a Mon Sep 17 00:00:00 2001 From: tianxiaochannel-oss88 Date: Sun, 29 Nov 2026 14:00:19 -0500 Subject: [PATCH 138/147] docs: record complete Core acceptance --- .../platform/plans/ling-app-server-implementation-plan.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/design/platform/plans/ling-app-server-implementation-plan.md b/docs/design/platform/plans/ling-app-server-implementation-plan.md index 4283f5655..040ccce68 100644 --- a/docs/design/platform/plans/ling-app-server-implementation-plan.md +++ b/docs/design/platform/plans/ling-app-server-implementation-plan.md @@ -15,7 +15,7 @@ 已验证的关键回归包括 App Server WebSocket、stdio/Unix socket、MCP bridge、Work Item 控制与证据、协作记录回放、开发工作流服务、外部 Agent federation、配置的 Pi Runner 和 API Client。Verify plan/operation 和 Federation ledger 已接入工作区 SQLite 的 app_server_state,按来源工作区恢复,Daemon 重启后会把无法确认的 queued/running Verify 和外部 running task 标记为 unknown,要求原所有者重新核对。Verify 只接受默认或 Host 登记的配方,执行前后核对候选 digest。Host 登记的配方还绑定路径选择、独立 verifier source、coverage digest 和 producer refs,命令输出以有限大小保存并脱敏。重复 start/cancel 使用同一收据,取消会传递给实际检查进程。Work Item acceptance 通过同一 SQLite 事务写入 receipt、状态和 revision。外部任务在 Work Item revision/control、Runner external boundary、工具 conformance、只读工具范围和 admission fence 通过后调用已配置的真实 Adapter。注册、能力读取、任务接入、重连和取消均以请求工作区选择 federation ledger,重复提交不重复派发,Adapter 失败、取消未确认和断线重启均保留 unknown。普通 `turn/start` 通过同一会话受理、准备快照和 Run 入口,`submission/read` 与 `turn/resume` 可在重连后读取原收据,已准备但尚未派发的 Turn 通过原请求恢复同一 Turn。停止的 Turn 在实际执行和效果收敛后,可用明确的恢复键受理后继 Turn。用户提问由 Host 事务产生 `pending` 事件,认证客户端从线程快照取得短期 authority,通过 `input/respond` 复用公共解析、权限和版本 CAS,答复事件在重启后按原身份回放,已结束的问题不会再次要求应答。项目规则在准备快照时按路径读取并封存 digest,`instructions/init` 只在预览版本仍匹配且目标未被占用时原子写入。Review 先捕获候选两次,再读取基线的 `Code Review Rules` 和显式 `REVIEW.md`,规则与发现项处置由同一候选和幂等收据约束。App Server 的 operator 写操作要求认证凭据,能力与方法表只公布当前连接可用的实现。已用本机安装的 Codex App Server 通过 MCP bridge 创建 Ling Thread、提交配置 Pi Runner Turn,并从 Ling 游标恢复 Turn 事件。平台和兼容证据随 PR 检查及发行矩阵记录。 -本次实现分支的 App Server release acceptance 已通过 `71 passed / 4 skipped / 0 failed`,Framework Assurance 离线套件通过 `133 passed / 0 failed`。真实 Provider 试点使用 CPA loopback 的 `gpt-5.6-terra` 完成一次只读 Ling App Server Turn,确认 `AGENTS.md` 项目规则来源、`item/delta`、`item/completed`、`turn/completed`、Run/Turn `succeeded`,并在 Daemon 重启后以 `replayed: true` 读回同一结果。该试点没有执行真实写入任务。 +本次实现分支的 App Server release acceptance 已通过 `71 passed / 4 skipped / 0 failed`,Framework Assurance 离线套件通过 `133 passed / 0 failed`,Core 全套通过 `6805 passed / 0 failed / 0 skipped`。真实 Provider 试点使用 CPA loopback 的 `gpt-5.6-terra` 完成一次只读 Ling App Server Turn,确认 `AGENTS.md` 项目规则来源、`item/delta`、`item/completed`、`turn/completed`、Run/Turn `succeeded`,并在 Daemon 重启后以 `replayed: true` 读回同一结果。该试点没有执行真实写入任务。 GitHub 真实验收使用 `ling-stack-org/ling-delivery-acceptance-20261123`。PR #3 已合并为 `68216b68bc346aac735af22acb60d3df30623ebb`,该 merge-group commit 上的 `fixture-head`、`fixture-integration` 和 Ling Delivery Acceptance Gate Check Run `141334036840` 均成功。随后在 PR #2 上由 Ling 创建 queue receipt `github_queue_c2d2e2c3d0e85a6c3820b4a55ad405d12f862d48149f2af9ada308baf67b31bd`,Daemon 重启后读回同一 receipt,并观察到 merge-group commit `fc37f2bf533c91feceadf577915c2b946b7a1cf1`、fixture integration run `46288326660` 和 App Check Run `141428194887` 成功。测试仓库在有界轮询结束时仍未报告最终合并,Ling receipt 保持 `enqueued`,delivery 保持 `delivery_pending`。 From 70baf7aab338c74db61027608e8ac1495e9de984 Mon Sep 17 00:00:00 2001 From: tianxiaochannel-oss88 Date: Sun, 29 Nov 2026 15:25:31 -0500 Subject: [PATCH 139/147] fix(app-server): recover confirmed queue departures --- .../src/server/app-server-github-enqueue.ts | 52 +++++++++++++++---- .../daemon/src/server/app-server-recovery.ts | 35 ++++++++++++- .../app-server-release-acceptance.test.ts | 11 ++++ 3 files changed, 87 insertions(+), 11 deletions(-) diff --git a/packages/daemon/src/server/app-server-github-enqueue.ts b/packages/daemon/src/server/app-server-github-enqueue.ts index 8bb8d4b3e..e82aa4411 100644 --- a/packages/daemon/src/server/app-server-github-enqueue.ts +++ b/packages/daemon/src/server/app-server-github-enqueue.ts @@ -55,12 +55,15 @@ export async function enqueueGitHubDelivery( const journalEntry = keyed ? recovery.getGitHubQueueEnqueue(keyed.recordId) : recovery.findGitHubQueueEnqueue(input.idempotencyKey); const priorReceiptId = keyed?.recordId ?? journalEntry?.fact.id; let retryAfter: string | undefined; + let departureCandidate = false; if (priorReceiptId) { if ((keyed && (keyed.payload as QueueIntent).fingerprint !== fingerprint) || (journalEntry && journalEntry.fact.fingerprint !== fingerprint)) throw queueKeyConflict(); const prior = await readGitHubQueue(context, store, input.workItemId, priorReceiptId); retryAfter = journalEntry?.fact.rejectedHttpStatus !== undefined && !journalEntry.confirmed ? journalEntry.fact.attemptId : undefined; - if (prior.receipt.status !== "rejected" || !retryAfter) return prior; + departureCandidate = journalEntry?.confirmed === true + && (prior.receipt.status === "enqueued" || prior.receipt.status === "unknown"); + if ((prior.receipt.status !== "rejected" || !retryAfter) && !departureCandidate) return prior; } assertWorkItemReady(store, input.workItemId, input.expectedWorkItemRevision); const delivery = readGitHubDelivery(store, input.workItemId); @@ -81,12 +84,23 @@ export async function enqueueGitHubDelivery( repositoryId: delivery.subject.repositoryId, pullRequestNumber: delivery.subject.number, headSha, status: "pending", createdAt: journalEntry?.fact.createdAt ?? new Date().toISOString(), }; - const subject = await currentQueueSubject(client, receipt, baseRef); + let subject: Record | undefined; + try { + subject = await currentQueueSubject(client, receipt, baseRef); + } catch (error) { + if (departureCandidate) return { cwd, receipt: { ...receipt, status: "unknown" } }; + throw error; + } if (priorReceiptId && (subject?.merged === true || subject?.isInMergeQueue === true)) { return readGitHubQueue(context, store, input.workItemId, queueReceiptId); } if (!subject || typeof subject.id !== "string" || !subject.id || subject.closed !== false || subject.isDraft !== false - || subject.isMergeQueueEnabled !== true || subject.stackEntry !== null || subject.isInMergeQueue !== false) throw guardUnavailable(); + || subject.isMergeQueueEnabled !== true || subject.stackEntry !== null || subject.isInMergeQueue !== false) { + if (departureCandidate) return { cwd, receipt: { ...receipt, status: "unknown" } }; + throw guardUnavailable(); + } + const retryAfterDeparture = departureCandidate && isConfirmedQueueDeparture(subject, receipt, baseRef); + if (departureCandidate && !retryAfterDeparture) return { cwd, receipt: { ...receipt, status: "unknown" } }; await requireQueueProtection(client, delivery, gate); const fresh = await reconcileGitHubDelivery(context, { cwd, workItemId: delivery.workItemId, threadId: delivery.threadId, expectedWorkItemRevision: input.expectedWorkItemRevision, @@ -110,12 +124,16 @@ export async function enqueueGitHubDelivery( if (!retained || (retained.record.payload as QueueIntent).fingerprint !== fingerprint) { throw queueKeyConflict(); } - if (retained.status !== "created" && !retryAfter) return readGitHubQueue(context, store, input.workItemId, queueReceiptId); - const attemptId = recovery.reserveGitHubQueueEnqueue({ - id: queueReceiptId, workItemId: receipt.workItemId, repository: receipt.repository, repositoryId: receipt.repositoryId, baseRef, - pullRequestNumber: receipt.pullRequestNumber, headSha, createdAt: receipt.createdAt, deliveryId: receipt.deliveryId, - acceptanceId: delivery.acceptanceId, fingerprint, idempotencyKey: input.idempotencyKey, - }, retryAfter); + if (retained.status !== "created" && !retryAfter && !retryAfterDeparture) { + return readGitHubQueue(context, store, input.workItemId, queueReceiptId); + } + const attemptId = retryAfterDeparture + ? recovery.reopenGitHubQueueEnqueue(queueReceiptId, fingerprint) + : recovery.reserveGitHubQueueEnqueue({ + id: queueReceiptId, workItemId: receipt.workItemId, repository: receipt.repository, repositoryId: receipt.repositoryId, baseRef, + pullRequestNumber: receipt.pullRequestNumber, headSha, createdAt: receipt.createdAt, deliveryId: receipt.deliveryId, + acceptanceId: delivery.acceptanceId, fingerprint, idempotencyKey: input.idempotencyKey, + }, retryAfter); if (!attemptId) return readGitHubQueue(context, store, input.workItemId, queueReceiptId); const observation = await client.query(enqueueMutation, { id: subject.id, head: headSha, key: queueReceiptId }).catch((error: unknown) => { @@ -130,7 +148,7 @@ export async function enqueueGitHubDelivery( if (entryId) recovery.confirmGitHubQueueEnqueue(queueReceiptId); const latest = store.getAppServerState("github_queue_intent", queueReceiptId) ?? retained.record; const current = latest.payload as QueueIntent; - if (current.receipt.status === "merged" || (!entryId && current.receipt.status === "enqueued")) { + if (current.receipt.status === "merged" || (!entryId && current.receipt.status === "enqueued" && !retryAfterDeparture)) { return { cwd, receipt: current.receipt }; } return commitQueueStatus(store, current, latest.revision, entryId @@ -197,6 +215,20 @@ function unresolvedQueueReceipt( return rejectedHttpStatus === undefined ? { ...receipt, status: "unknown" } : { ...receipt, status: "rejected", rejectedHttpStatus }; } +function isConfirmedQueueDeparture( + subject: Record, receipt: LingAppServerGitHubQueueReceipt, baseRef: string, +): boolean { + return typeof subject.id === "string" && subject.id.trim().length > 0 + && samePullRequest(subject, receipt, baseRef) + && subject.closed === false + && subject.merged === false + && subject.isDraft === false + && subject.isMergeQueueEnabled === true + && subject.stackEntry === null + && subject.isInMergeQueue === false + && subject.mergeQueueEntry === null; +} + function commitQueueStatus(store: RunStore, intent: QueueIntent, revision: number, receipt: LingAppServerGitHubQueueReceipt): LingAppServerGitHubQueueResult { const { queueReceiptId } = receipt; if (JSON.stringify(receipt) === JSON.stringify(intent.receipt)) return { cwd: store.paths.cwd, receipt }; diff --git a/packages/daemon/src/server/app-server-recovery.ts b/packages/daemon/src/server/app-server-recovery.ts index 86b2723eb..d7999521e 100644 --- a/packages/daemon/src/server/app-server-recovery.ts +++ b/packages/daemon/src/server/app-server-recovery.ts @@ -18,7 +18,8 @@ type JournalFact = | { readonly kind: "github_queue_enqueue"; readonly id: string; readonly workItemId: string; readonly repositoryId: string; readonly pullRequestNumber: number; readonly headSha: string; readonly repository: string; readonly baseRef: string; readonly deliveryId: string; readonly acceptanceId: string; readonly fingerprint: string; readonly idempotencyKey: string; - readonly createdAt: string; readonly attemptId?: string; readonly rejectedHttpStatus?: 401 | 429 } + readonly createdAt: string; readonly attemptId?: string; readonly rejectedHttpStatus?: 401 | 429; + readonly previousAttemptId?: string; readonly requeueCount?: number; readonly lastRequeuedAt?: string } | { readonly kind: "github_delivery"; readonly id: string; readonly workItemId: string; readonly mergedCommit: string; readonly repositoryId: string; readonly number: number; readonly headSha?: string; readonly acceptanceId: string }; @@ -209,6 +210,38 @@ export class AppServerRecoveryJournal { }); } + /** + * Re-opens a confirmed queue attempt after the provider has explicitly + * reported that the pull request is no longer queued. An unconfirmed or + * otherwise unknown external effect is never eligible for this path. + */ + reopenGitHubQueueEnqueue(id: string, fingerprint: string): string | undefined { + return this.transaction(db => { + const epoch = readEpoch(db); + assertReady(epoch); + const row = db.prepare(`SELECT id, kind, fact_json, completed_at FROM recovery_journal + WHERE kind='github_queue_enqueue' AND id=?`).get(id) as Record | undefined; + if (!row || typeof row.completed_at !== "string") return undefined; + const fact = readFact(row); + if (fact.kind !== "github_queue_enqueue" || fact.fingerprint !== fingerprint) return undefined; + const attemptId = randomUUID(); + const nextFact: QueueFact = { + ...fact, + attemptId, + ...(fact.attemptId ? { previousAttemptId: fact.attemptId } : {}), + requeueCount: (fact.requeueCount ?? 0) + 1, + lastRequeuedAt: now(), + }; + delete (nextFact as { rejectedHttpStatus?: 401 | 429 }).rejectedHttpStatus; + const result = db.prepare(`UPDATE recovery_journal SET fact_json=?, reconciled_revision=?, completed_at=NULL + WHERE kind='github_queue_enqueue' AND id=? AND completed_at IS NOT NULL + AND json_extract(fact_json, '$.fingerprint')=?`).run( + JSON.stringify(nextFact), epoch.revision, id, fingerprint, + ); + return result.changes === 1 ? attemptId : undefined; + }); + } + getGitHubQueueEnqueue(id: string): QueueRecoveryEntry | undefined { return this.access(db => readQueueEntry(db.prepare(`SELECT id, kind, fact_json, completed_at FROM recovery_journal WHERE kind='github_queue_enqueue' AND id=?`).get(id))); diff --git a/packages/daemon/test/app-server-release-acceptance.test.ts b/packages/daemon/test/app-server-release-acceptance.test.ts index c19a1cc8c..d5f7c2f5f 100644 --- a/packages/daemon/test/app-server-release-acceptance.test.ts +++ b/packages/daemon/test/app-server-release-acceptance.test.ts @@ -2377,6 +2377,17 @@ test("GitHub delivery requires current queue membership and a provider-attested assert.equal(queued.receipt.status, "enqueued"); assert.equal(queued.receipt.queueEntryId, "entry-13"); assert.equal(queueStarts, 1); + queuePresent = false; + const departed = await client.call("github/delivery/queue/read", queueRead); + assert.equal(departed.receipt.status, "unknown"); + const requeue = await client.call("github/delivery/enqueue", enqueue); + assert.equal(requeue.receipt.status, "unknown"); + assert.deepEqual(enqueueMutationIds, [queueReceiptId, queueReceiptId, queueReceiptId, queueReceiptId]); + assert.equal(queueStarts, 2); + queuePresent = true; + const requeued = await client.call("github/delivery/queue/read", queueRead); + assert.equal(requeued.receipt.status, "enqueued"); + assert.equal(requeued.receipt.queueEntryId, "entry-13"); assert.ok(fixture.getStore().deleteAppServerState("github_queue_intent", queueReceiptId)); assert.deepEqual(await client.call("github/delivery/queue/read", queueRead), queued); assert.equal(queueStarts, 1); From 28adf58005a8333ff0bbd47ca19fae690e630f26 Mon Sep 17 00:00:00 2001 From: tianxiaochannel-oss88 Date: Sun, 29 Nov 2026 15:47:09 -0500 Subject: [PATCH 140/147] feat(app-server): close delivery acceptance gaps --- .../agents/ling-agent-operating-model-detailed-design.md | 2 +- docs/design/agents/ling-agent-operating-model.md | 2 +- docs/design/governance/implementation-status.md | 2 +- docs/design/platform/ling-app-server-detailed-design.md | 2 +- docs/design/platform/ling-app-server.md | 2 +- .../platform/plans/ling-app-server-implementation-plan.md | 6 +++--- packages/daemon/src/features/automations/event-ingress.ts | 3 ++- packages/daemon/test/app-server-release-acceptance.test.ts | 4 ++-- packages/daemon/test/automation-event-ingress.test.ts | 2 +- 9 files changed, 13 insertions(+), 12 deletions(-) diff --git a/docs/design/agents/ling-agent-operating-model-detailed-design.md b/docs/design/agents/ling-agent-operating-model-detailed-design.md index 6f9995f9c..f7b84094c 100644 --- a/docs/design/agents/ling-agent-operating-model-detailed-design.md +++ b/docs/design/agents/ling-agent-operating-model-detailed-design.md @@ -2,7 +2,7 @@ - **Status** 主线已接入工作项接单、控制、证据与协作记录。其余运行时能力见 [实施计划](../platform/plans/ling-app-server-implementation-plan.md#当前实现证据)。 - **Owner** Conversation、Core、Daemon、External Agent、GitHub Automation 与开发工具维护者 -- **Implementation status verified** 2026-11-29 against `origin/main@f7384fbb69cddd27b9dd4d2e3372c4fe0427817e` plus the App Server completion branch +- **Implementation status verified** 2026-11-29 against `origin/main@39349bea055103318757be73c8841d179c158052` plus `codex/ling-app-server-closeout-20261129` - **Document type** 跨域状态、授权、事件与恢复详细设计 - **Contract** [Ling Agent Operating Model](ling-agent-operating-model.md) - **Related contracts** [Ling Agent Session](ling-agent-session.md) · [Channel Team Operating System](../conversation/channel-team-operating-system.md) · [Ling App Server Detailed Design](../platform/ling-app-server-detailed-design.md) · [GitHub Automation](../providers/github-automation.md) · [Ling Device Fabric](../integrations/ling-device-fabric.md) diff --git a/docs/design/agents/ling-agent-operating-model.md b/docs/design/agents/ling-agent-operating-model.md index 3abf94523..0d7f56d38 100644 --- a/docs/design/agents/ling-agent-operating-model.md +++ b/docs/design/agents/ling-agent-operating-model.md @@ -2,7 +2,7 @@ - **Status** 主线已接入工作项接单、控制、证据与协作记录。其余运行时能力见 [实施计划](../platform/plans/ling-app-server-implementation-plan.md#当前实现证据)。 - **Owner** Conversation、Teammate、Workflow、External Agent、GitHub Automation 与开发工具维护者 -- **Implementation status verified** 2026-11-29 against `origin/main@f7384fbb69cddd27b9dd4d2e3372c4fe0427817e` plus the App Server completion branch +- **Implementation status verified** 2026-11-29 against `origin/main@39349bea055103318757be73c8841d179c158052` plus `codex/ling-app-server-closeout-20261129` - **Document type** 产品整合合同 - **Detailed design** [Ling Agent Operating Model Detailed Design](ling-agent-operating-model-detailed-design.md) - **Related contracts** [Channel Team Operating System](../conversation/channel-team-operating-system.md) · [Ling Agent Session](ling-agent-session.md) · [Ling 多 Agent 完整目标设计](../platform/ling-multi-agent-complete-target.md) · [Automations](../providers/automations.md) · [GitHub Automation](../providers/github-automation.md) · [Ling App Server](../platform/ling-app-server.md) diff --git a/docs/design/governance/implementation-status.md b/docs/design/governance/implementation-status.md index 77ff51520..feeea4916 100644 --- a/docs/design/governance/implementation-status.md +++ b/docs/design/governance/implementation-status.md @@ -36,7 +36,7 @@ counts, screenshots, hashes and run diaries belong in CI or Release artifacts. | Work | Current boundary | Closure condition | |---|---|---| -| [App Server and Agent Operating Model](../platform/plans/ling-app-server-implementation-plan.md) | PR #747 plus the completion branch implement local App Server transports, Thread/Turn control and replay, Verify/Review, project rules, trusted verification basis, Work Item collaboration and deliberation, GitHub intake/delivery, Codex host and recovery semantics. Local release acceptance and Framework Assurance pass. CPA `gpt-5.6-terra` read-only Provider trial passes with restart replay. GitHub test delivery confirms PR #3 merge-group reconciliation and PR #2 queue admission with a merge-group check | Signed packages, independent-host remote WSS, real write-task Provider trials, final external merge observation for the fresh PR #2 receipt and deployment remain open | +| [App Server and Agent Operating Model](../platform/plans/ling-app-server-implementation-plan.md) | PR #747 plus the closeout branch implement local App Server transports, Thread/Turn control and replay, Verify/Review, project rules, trusted verification basis, Work Item collaboration and deliberation, GitHub intake/delivery, Codex host and recovery semantics. Local release acceptance and Framework Assurance pass. CPA `gpt-5.6-terra` read-only Provider trial passes with restart replay. GitHub test delivery confirms PR #3 merge-group reconciliation; PR #2 has a previously observed merge-group check, but the queue entry was removed before the gate completed, and the fresh authorized re-admission remains `unknown` with no provider evidence of enqueue or merge | Signed packages, independent-host remote WSS, real write-task Provider trials, final external merge observation for PR #2 and deployment remain open | | [Agent Execution Capabilities](../agents/plans/agent-execution-capabilities-implementation-plan.md) | C1 bounded TS/JS code intelligence, C2 QuickJS Code Mode and C3 trusted Hooks are implemented for ordinary Pi Runs; source merged in [PR #714](https://github.com/ling-stack-org/ling-stack/pull/714). A1/A2 adds signed Webhook/GitHub/business inbox, durable claims and explicit destination result delivery with unknown-outcome reconciliation. R1/R2 adds atomic successor/reuse for ordinary materialized graphs through existing Host orchestration; advanced profiles fail closed. R3 adds persisted acceptance evidence and bounded restart-safe Goal supervision. Controlled HTTP/Pi/Host/SQLite/mock-IM regressions pass. Desktop embeds Worker/WASM/library resources; standalone bundle execution and fixed Office source/publication regressions pass | Installed-client, cross-platform, live Provider/messaging acceptance, and deployment require separate evidence | | [Ling Multi-Agent Safe Concurrency](../platform/plans/ling-multi-agent-safe-concurrency-implementation-plan.md) | The complete target is defined in [Ling Multi-Agent Complete Target](../platform/ling-multi-agent-complete-target.md). P1-P5 are locally implemented: Host-enforced safety/admission, isolated execution/integration/approved apply/cleanup, combined recovery, versioned registry/Skill Library authoring and read-only graph/list. Complete frozen-input scoped package regression passes with existing conditional skips; later Web conflict-repair, shared UI/localization and fixture changes have separate incremental regression and production-build live-daemon browser acceptance. Repair planning starts no Run; explicit successor execution uses new approvals and retains lineage through restart without target changes. The independent Daemon dependency-security lane passes. Controlled transport uses real macOS daemon/Pi SDK/Host/Git/SQLite/HTTP/SSE, and one separate local real-provider smoke passed provider check, real Run, durable event readback and daemon restart recovery. Public isolated selection stays off by default, macOS/Pi/enforced Broker only and candidate-only; ordinary write parallelism stays closed, QA serial without a verified artifact-only executor | Other Provider combinations, packaged/cross-platform and review/CI/merge. Local implementation, controlled transport and a single real-provider smoke do not complete release acceptance | | [F5 Node Rerun Contract](../platform/plans/ling-framework-complementary-implementation-plan.md) | F5-01/02/03 and R1/R2 merged in [PR #732](https://github.com/ling-stack-org/ling-stack/pull/732) with transactional intent/approval/target creation, dependency invalidation, capacity admission, one-shot dispatch, exact-fence stop, durable receipt recovery, and unknown-outcome retention. Focused Core/Daemon/API/Runner regressions and two-process restart recovery pass | Real Provider/Runner stop confirmation, A17/A18 evidence, packaged and platform acceptance remain open. Compiled templates, required-participant/intent authority and delegated/safety/isolation profiles remain unsupported and fail closed | diff --git a/docs/design/platform/ling-app-server-detailed-design.md b/docs/design/platform/ling-app-server-detailed-design.md index 1400317b7..aa004c2ae 100644 --- a/docs/design/platform/ling-app-server-detailed-design.md +++ b/docs/design/platform/ling-app-server-detailed-design.md @@ -2,7 +2,7 @@ - **状态** 主线已接入本机传输、Turn 恢复、Verify 和 Federation 的部分能力。其余运行时能力见 [实施计划](plans/ling-app-server-implementation-plan.md#当前实现证据)。 - **维护者** Contracts、Daemon、API Client、Runner 与开发工具维护者 -- **实现状态核对基线** 2026-11-29,`origin/main@f7384fbb69cddd27b9dd4d2e3372c4fe0427817e`,并包含本分支当前候选 +- **实现状态核对基线** 2026-11-29,`origin/main@39349bea055103318757be73c8841d179c158052`,并包含 `codex/ling-app-server-closeout-20261129` 当前候选 - **类型** 协议、执行、存储与恢复合同 - **上位合同** [Ling App Server 与开发工作流](ling-app-server.md) - **交付计划** [实施计划与验收](plans/ling-app-server-implementation-plan.md) diff --git a/docs/design/platform/ling-app-server.md b/docs/design/platform/ling-app-server.md index 96f7e77ff..243f55f0a 100644 --- a/docs/design/platform/ling-app-server.md +++ b/docs/design/platform/ling-app-server.md @@ -2,7 +2,7 @@ - **状态** 主线已接入本机传输、Turn 恢复、Verify 和 Federation 的部分能力。其余运行时能力见 [实施计划](plans/ling-app-server-implementation-plan.md#当前实现证据)。 - **维护者** Daemon、Conversation、Workspace 与开发工具维护者 -- **实现状态核对基线** 2026-11-29,`origin/main@f7384fbb69cddd27b9dd4d2e3372c4fe0427817e`,并包含本分支当前候选 +- **实现状态核对基线** 2026-11-29,`origin/main@39349bea055103318757be73c8841d179c158052`,并包含 `codex/ling-app-server-closeout-20261129` 当前候选 - **类型** 产品与架构合同 - **代码锚点** [Daemon RPC](../../../packages/daemon/src/server/rpc.ts) · [普通会话入口](../../../packages/daemon/src/features/conversations/routes.ts) · [Goal 验收](../../../packages/core/src/storage/sqlite/goal-acceptance.ts) diff --git a/docs/design/platform/plans/ling-app-server-implementation-plan.md b/docs/design/platform/plans/ling-app-server-implementation-plan.md index 040ccce68..f0353ed5d 100644 --- a/docs/design/platform/plans/ling-app-server-implementation-plan.md +++ b/docs/design/platform/plans/ling-app-server-implementation-plan.md @@ -2,7 +2,7 @@ - **状态** App Server 本机传输、Turn 控制与恢复、Verify、Federation 和 Agent Operating Model 的工作项协作能力已在本分支完成代码接入与定向验收。下文按当前证据记录实现结果、外部验收和仍需发布准入的边界。 - **维护者** Contracts、Daemon、Runtime、API Client、CLI 与开发工具维护者 -- **核对基线** `origin/main@f7384fbb69cddd27b9dd4d2e3372c4fe0427817e`,已合入 `codex/ling-app-server-completion` +- **核对基线** `origin/main@39349bea055103318757be73c8841d179c158052`,已合入 `codex/ling-app-server-closeout-20261129` - **类型** 开发准备、依赖顺序和验收计划 - **合同** [产品与架构设计](../ling-app-server.md) · [详细设计](../ling-app-server-detailed-design.md) - **代码与测试锚点** [Daemon RPC](../../../../packages/daemon/src/server/rpc.ts) · [控制面往返测试](../../../../packages/daemon/test/control-plane-api.test.mjs) · [会话受理收据](../../../../packages/daemon/test/conversation-submission-receipts.test.mjs) · [框架验收](ling-framework-complementary-implementation-plan.md) @@ -17,7 +17,7 @@ 本次实现分支的 App Server release acceptance 已通过 `71 passed / 4 skipped / 0 failed`,Framework Assurance 离线套件通过 `133 passed / 0 failed`,Core 全套通过 `6805 passed / 0 failed / 0 skipped`。真实 Provider 试点使用 CPA loopback 的 `gpt-5.6-terra` 完成一次只读 Ling App Server Turn,确认 `AGENTS.md` 项目规则来源、`item/delta`、`item/completed`、`turn/completed`、Run/Turn `succeeded`,并在 Daemon 重启后以 `replayed: true` 读回同一结果。该试点没有执行真实写入任务。 -GitHub 真实验收使用 `ling-stack-org/ling-delivery-acceptance-20261123`。PR #3 已合并为 `68216b68bc346aac735af22acb60d3df30623ebb`,该 merge-group commit 上的 `fixture-head`、`fixture-integration` 和 Ling Delivery Acceptance Gate Check Run `141334036840` 均成功。随后在 PR #2 上由 Ling 创建 queue receipt `github_queue_c2d2e2c3d0e85a6c3820b4a55ad405d12f862d48149f2af9ada308baf67b31bd`,Daemon 重启后读回同一 receipt,并观察到 merge-group commit `fc37f2bf533c91feceadf577915c2b946b7a1cf1`、fixture integration run `46288326660` 和 App Check Run `141428194887` 成功。测试仓库在有界轮询结束时仍未报告最终合并,Ling receipt 保持 `enqueued`,delivery 保持 `delivery_pending`。 +GitHub 真实验收使用 `ling-stack-org/ling-delivery-acceptance-20261123`。PR #3 已合并为 `68216b68bc346aac735af22acb60d3df30623ebb`,该 merge-group commit 上的 `fixture-head`、`fixture-integration` 和 Ling Delivery Acceptance Gate Check Run `141334036840` 均成功。PR #2 的上一轮队列尝试生成 merge-group `fc37f2bf533c91feceadf577915c2b946b7a1cf1`,fixture integration run `46288326660` 成功,但队列 Bot 在 Gate Check `141428194887` 写入前将条目移出,未发生合并。2026-11-29 使用已授权的测试仓库 App 重新提交同一 receipt `github_queue_c2d2e2c3d0e85a6c3820b4a55ad405d12f862d48149f2af9ada308baf67b31bd`,App Server 返回 `unknown`,Daemon 重启读回仍为 `unknown`;随后只读核对显示 `isMergeQueueEnabled=true`、`isInMergeQueue=false`、无 `stackEntry`/`mergeQueueEntry`,且没有新增入队事件。PR #2 当前三项 head checks 仍成功,但尚无 provider 证据证明本次入队或最终合并,因此 receipt 不能标记为 `enqueued`/`delivered`,delivery 仍保持 `delivery_pending`。 ### 项目约定与验证 @@ -126,7 +126,7 @@ O9 联合回归在同一 Work Item 确认双端订阅、阶段进度、暂停与 | D1、D2、E1、E2 | 开工与 Pi 运行中的项目规则加载、显式 Claude 规则、两个开发 Skill、工作区 Verify、独立 verifier basis、托管工作树管理、候选改动分页、Turn 改动恢复、选中 hunk 转移和工作台浏览器验证报告已接入。各发行平台验证仍待完成。 | | F1、F2 | 普通会话 Handoff 的候选封存、Goal 预算承接与接手已接入。CLI `app-server codex-host --thread --state --view` 在回环地址提供双端会话视图。本机 Codex `0.171.0-alpha.13.2`、实际 Ling Daemon 与受控 Provider 联调验证两端状态、Ling 在途排队、活跃 Codex Turn 指导、浏览器重连补齐、回执重放和审批提醒。故障回归覆盖原状态库升级、未写出的请求在重连后补投一次,以及已发出但缺少有效回执时保留待确认结果。Pi Host 预算路径的逐请求预留已使用受控 Provider 验证,仍需真实 Provider、隔离工作树和其他 Runner 的对应验收。 | | O1、O3–O9 | GitHub 签名 webhook、轮询和显式接单归并至同一工作项。自动接单策略处理免打扰、并发、启动额度和派发前状态重查。现有 Task、AutomationRun 和同频道用户输入可显式关联工作项。已接受的计划能自动开启声明的阶段审议,并可等待当前 Workflow 结果包的交接回执。受影响阶段可单独暂停,后继阶段可显式引用已收敛或仍在途的独立成果,待执行阶段可接收定向消息和有原 Run 证据的 Agent 答复。工作项暂停期间拒绝新增定向消息。阶段客户端和支持协作工具的 Pi 阶段按 Run/Attempt 收发,Pi 在下一次模型输入接收消息和问答。Workflow 执行使用工作项重试上限,并可依据跨 Run 的结构化故障记录暂停单项阶段。可信 Verify 和已接受 Plan 指定的 Review 均可提供停滞恢复证据。决策检查点支持计划前和在途阶段的建议、接受与手工裁决。Device Work Item Bridge 的持久映射、receipt 账本和 App Server 入口已实现。已接受阶段可显式或按 Host 策略开启独立只读审议、按质疑结果投票,并将裁决应用到声明的候选依赖。定时检查点的登记和关轮自动评估已接入 App Server、SDK、MCP 和频道 Ling Agent。Pi 阶段已可限域读取共享的 Verify、Review 和依赖结果,启动检查由各证据所有者受理。跨主机 Device Fabric owner host 对接仍待完成。 | -| G | 已通过跨构建 SQLite 回退、撤权、旧游标失效、上一版源码兼容和真实 Provider 只读试点。测试仓库 PR #3 的实际合并及 Ling App Check 已对账,PR #2 的 Ling queue receipt、重启读取、merge-group 成员和两项成功检查已验证,但有界轮询结束时仍是 `enqueued`/`delivery_pending`。真实写入任务、签名安装产物、独立物理主机的远程 WSS、最终外部合并收口和更多 Provider 试点仍需对应证据。macOS 打包预检需要当前打包输入的 Office 审查、对应 Electron/OS 的受限运行时审查和 gstack 平台资源。T01 离线预检可进入评审。 | +| G | 已通过跨构建 SQLite 回退、撤权、旧游标失效、上一版源码兼容和真实 Provider 只读试点。测试仓库 PR #3 的实际合并及 Ling App Check 已对账;PR #2 的上一轮 merge-group 检查虽成功,但队列条目在 Gate Check 写入前被移出且未合并。2026-11-29 的受授权 App 重入尝试返回 `unknown`,重启读回仍为 `unknown`,provider 当前也未显示入队或新增事件,因此不能把 receipt 标为 `enqueued`/`delivered`。真实写入任务、签名安装产物、独立物理主机的远程 WSS、最终外部合并收口和更多 Provider 试点仍需对应证据。macOS 打包预检需要当前打包输入的 Office 审查、对应 Electron/OS 的受限运行时审查和 gstack 平台资源。T01 离线预检可进入评审。 | ## 目标与开工顺序 diff --git a/packages/daemon/src/features/automations/event-ingress.ts b/packages/daemon/src/features/automations/event-ingress.ts index 8e3017529..87d485ea6 100644 --- a/packages/daemon/src/features/automations/event-ingress.ts +++ b/packages/daemon/src/features/automations/event-ingress.ts @@ -44,7 +44,8 @@ export function authenticateAutomationEvent(input: { source: AutomationEventSour const issue = record(payload.issue), pullRequest = record(payload.pull_request), comment = record(payload.comment), repository = record(payload.repository); const subject = type === "pull_request" || type === "pull_request_review" || type === "pull_request_review_comment" ? pullRequest : issue; const supported = ["issues", "issue_comment", "pull_request", "pull_request_review", "pull_request_review_comment"].includes(type); - if (!supported || repository.full_name !== source.repository + if (!supported || typeof repository.full_name !== "string" || typeof source.repository !== "string" + || repository.full_name.toLowerCase() !== source.repository.toLowerCase() || !Number.isSafeInteger(subject.number) || typeof payload.action !== "string" || !/^[a-z_]{1,40}$/.test(payload.action) || type === "issue_comment" && !Number.isSafeInteger(comment.id) || type === "pull_request_review" && !Number.isSafeInteger(record(payload.review).id) diff --git a/packages/daemon/test/app-server-release-acceptance.test.ts b/packages/daemon/test/app-server-release-acceptance.test.ts index d5f7c2f5f..6aab8c350 100644 --- a/packages/daemon/test/app-server-release-acceptance.test.ts +++ b/packages/daemon/test/app-server-release-acceptance.test.ts @@ -2373,7 +2373,7 @@ test("GitHub delivery requires current queue membership and a provider-attested assert.equal(again.receipt.status, "unknown"); assert.deepEqual(enqueueMutationIds, [queueReceiptId, queueReceiptId, queueReceiptId]); queuePresent = true; - const queued = await client.call("github/delivery/enqueue", enqueue); + const queued = await client.call("github/delivery/queue/read", queueRead); assert.equal(queued.receipt.status, "enqueued"); assert.equal(queued.receipt.queueEntryId, "entry-13"); assert.equal(queueStarts, 1); @@ -2390,7 +2390,7 @@ test("GitHub delivery requires current queue membership and a provider-attested assert.equal(requeued.receipt.queueEntryId, "entry-13"); assert.ok(fixture.getStore().deleteAppServerState("github_queue_intent", queueReceiptId)); assert.deepEqual(await client.call("github/delivery/queue/read", queueRead), queued); - assert.equal(queueStarts, 1); + assert.equal(queueStarts, 2); assert.equal((await reconcile()).checks[0]?.reason, "merge_group_membership_unavailable"); unrelatedHead = false; assert.equal((await reconcile()).checks[0]?.reason, "applicable_check_missing"); diff --git a/packages/daemon/test/automation-event-ingress.test.ts b/packages/daemon/test/automation-event-ingress.test.ts index 625ff9585..900b1554e 100644 --- a/packages/daemon/test/automation-event-ingress.test.ts +++ b/packages/daemon/test/automation-event-ingress.test.ts @@ -30,7 +30,7 @@ test("generic signed events bind all routing headers, rotate keys and redact per test("GitHub events validate repository, issue shape and payload timestamp after raw-body authentication", () => { const github = { ...source, adapter: "github" as const, repository: "org/repo" }; - const payload = { action: "opened", repository: { full_name: "org/repo" }, issue: { number: 12, updated_at: now, title: "Handle issue" } }; + const payload = { action: "opened", repository: { full_name: "Org/Repo" }, issue: { number: 12, updated_at: now, title: "Handle issue" } }; const body = Buffer.from(JSON.stringify(payload)); const headers = { "x-github-event": "issues", "x-github-delivery": "delivery-1", "x-hub-signature-256": `sha256=${createHmac("sha256", "new-key").update(body).digest("hex")}` }; From 457348bd7e7db8439f95e6b61e4f0b97dc5bdd1b Mon Sep 17 00:00:00 2001 From: tianxiaochannel-oss88 Date: Sun, 29 Nov 2026 15:52:44 -0500 Subject: [PATCH 141/147] docs(app-server): align completion branch baseline --- .../design/agents/ling-agent-operating-model-detailed-design.md | 2 +- docs/design/agents/ling-agent-operating-model.md | 2 +- docs/design/platform/ling-app-server-detailed-design.md | 2 +- docs/design/platform/ling-app-server.md | 2 +- .../platform/plans/ling-app-server-implementation-plan.md | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/design/agents/ling-agent-operating-model-detailed-design.md b/docs/design/agents/ling-agent-operating-model-detailed-design.md index f7b84094c..22e983c40 100644 --- a/docs/design/agents/ling-agent-operating-model-detailed-design.md +++ b/docs/design/agents/ling-agent-operating-model-detailed-design.md @@ -2,7 +2,7 @@ - **Status** 主线已接入工作项接单、控制、证据与协作记录。其余运行时能力见 [实施计划](../platform/plans/ling-app-server-implementation-plan.md#当前实现证据)。 - **Owner** Conversation、Core、Daemon、External Agent、GitHub Automation 与开发工具维护者 -- **Implementation status verified** 2026-11-29 against `origin/main@39349bea055103318757be73c8841d179c158052` plus `codex/ling-app-server-closeout-20261129` +- **Implementation status verified** 2026-11-29 against `origin/main@39349bea055103318757be73c8841d179c158052` plus `codex/ling-app-server-completion` - **Document type** 跨域状态、授权、事件与恢复详细设计 - **Contract** [Ling Agent Operating Model](ling-agent-operating-model.md) - **Related contracts** [Ling Agent Session](ling-agent-session.md) · [Channel Team Operating System](../conversation/channel-team-operating-system.md) · [Ling App Server Detailed Design](../platform/ling-app-server-detailed-design.md) · [GitHub Automation](../providers/github-automation.md) · [Ling Device Fabric](../integrations/ling-device-fabric.md) diff --git a/docs/design/agents/ling-agent-operating-model.md b/docs/design/agents/ling-agent-operating-model.md index 0d7f56d38..97251327b 100644 --- a/docs/design/agents/ling-agent-operating-model.md +++ b/docs/design/agents/ling-agent-operating-model.md @@ -2,7 +2,7 @@ - **Status** 主线已接入工作项接单、控制、证据与协作记录。其余运行时能力见 [实施计划](../platform/plans/ling-app-server-implementation-plan.md#当前实现证据)。 - **Owner** Conversation、Teammate、Workflow、External Agent、GitHub Automation 与开发工具维护者 -- **Implementation status verified** 2026-11-29 against `origin/main@39349bea055103318757be73c8841d179c158052` plus `codex/ling-app-server-closeout-20261129` +- **Implementation status verified** 2026-11-29 against `origin/main@39349bea055103318757be73c8841d179c158052` plus `codex/ling-app-server-completion` - **Document type** 产品整合合同 - **Detailed design** [Ling Agent Operating Model Detailed Design](ling-agent-operating-model-detailed-design.md) - **Related contracts** [Channel Team Operating System](../conversation/channel-team-operating-system.md) · [Ling Agent Session](ling-agent-session.md) · [Ling 多 Agent 完整目标设计](../platform/ling-multi-agent-complete-target.md) · [Automations](../providers/automations.md) · [GitHub Automation](../providers/github-automation.md) · [Ling App Server](../platform/ling-app-server.md) diff --git a/docs/design/platform/ling-app-server-detailed-design.md b/docs/design/platform/ling-app-server-detailed-design.md index aa004c2ae..b34f5013f 100644 --- a/docs/design/platform/ling-app-server-detailed-design.md +++ b/docs/design/platform/ling-app-server-detailed-design.md @@ -2,7 +2,7 @@ - **状态** 主线已接入本机传输、Turn 恢复、Verify 和 Federation 的部分能力。其余运行时能力见 [实施计划](plans/ling-app-server-implementation-plan.md#当前实现证据)。 - **维护者** Contracts、Daemon、API Client、Runner 与开发工具维护者 -- **实现状态核对基线** 2026-11-29,`origin/main@39349bea055103318757be73c8841d179c158052`,并包含 `codex/ling-app-server-closeout-20261129` 当前候选 +- **实现状态核对基线** 2026-11-29,`origin/main@39349bea055103318757be73c8841d179c158052`,并包含 `codex/ling-app-server-completion` 当前候选 - **类型** 协议、执行、存储与恢复合同 - **上位合同** [Ling App Server 与开发工作流](ling-app-server.md) - **交付计划** [实施计划与验收](plans/ling-app-server-implementation-plan.md) diff --git a/docs/design/platform/ling-app-server.md b/docs/design/platform/ling-app-server.md index 243f55f0a..843ccd91f 100644 --- a/docs/design/platform/ling-app-server.md +++ b/docs/design/platform/ling-app-server.md @@ -2,7 +2,7 @@ - **状态** 主线已接入本机传输、Turn 恢复、Verify 和 Federation 的部分能力。其余运行时能力见 [实施计划](plans/ling-app-server-implementation-plan.md#当前实现证据)。 - **维护者** Daemon、Conversation、Workspace 与开发工具维护者 -- **实现状态核对基线** 2026-11-29,`origin/main@39349bea055103318757be73c8841d179c158052`,并包含 `codex/ling-app-server-closeout-20261129` 当前候选 +- **实现状态核对基线** 2026-11-29,`origin/main@39349bea055103318757be73c8841d179c158052`,并包含 `codex/ling-app-server-completion` 当前候选 - **类型** 产品与架构合同 - **代码锚点** [Daemon RPC](../../../packages/daemon/src/server/rpc.ts) · [普通会话入口](../../../packages/daemon/src/features/conversations/routes.ts) · [Goal 验收](../../../packages/core/src/storage/sqlite/goal-acceptance.ts) diff --git a/docs/design/platform/plans/ling-app-server-implementation-plan.md b/docs/design/platform/plans/ling-app-server-implementation-plan.md index f0353ed5d..f77e4c6d7 100644 --- a/docs/design/platform/plans/ling-app-server-implementation-plan.md +++ b/docs/design/platform/plans/ling-app-server-implementation-plan.md @@ -2,7 +2,7 @@ - **状态** App Server 本机传输、Turn 控制与恢复、Verify、Federation 和 Agent Operating Model 的工作项协作能力已在本分支完成代码接入与定向验收。下文按当前证据记录实现结果、外部验收和仍需发布准入的边界。 - **维护者** Contracts、Daemon、Runtime、API Client、CLI 与开发工具维护者 -- **核对基线** `origin/main@39349bea055103318757be73c8841d179c158052`,已合入 `codex/ling-app-server-closeout-20261129` +- **核对基线** `origin/main@39349bea055103318757be73c8841d179c158052`,已合入 `codex/ling-app-server-completion` - **类型** 开发准备、依赖顺序和验收计划 - **合同** [产品与架构设计](../ling-app-server.md) · [详细设计](../ling-app-server-detailed-design.md) - **代码与测试锚点** [Daemon RPC](../../../../packages/daemon/src/server/rpc.ts) · [控制面往返测试](../../../../packages/daemon/test/control-plane-api.test.mjs) · [会话受理收据](../../../../packages/daemon/test/conversation-submission-receipts.test.mjs) · [框架验收](ling-framework-complementary-implementation-plan.md) From 4ddd2e76b72aa80ca4397ddb867f9ee105d85404 Mon Sep 17 00:00:00 2001 From: tianxiaochannel-oss88 Date: Sun, 29 Nov 2026 15:54:54 -0500 Subject: [PATCH 142/147] docs(app-server): keep external receipt identifiers private --- .../platform/plans/ling-app-server-implementation-plan.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/design/platform/plans/ling-app-server-implementation-plan.md b/docs/design/platform/plans/ling-app-server-implementation-plan.md index f77e4c6d7..3d5e91026 100644 --- a/docs/design/platform/plans/ling-app-server-implementation-plan.md +++ b/docs/design/platform/plans/ling-app-server-implementation-plan.md @@ -17,7 +17,7 @@ 本次实现分支的 App Server release acceptance 已通过 `71 passed / 4 skipped / 0 failed`,Framework Assurance 离线套件通过 `133 passed / 0 failed`,Core 全套通过 `6805 passed / 0 failed / 0 skipped`。真实 Provider 试点使用 CPA loopback 的 `gpt-5.6-terra` 完成一次只读 Ling App Server Turn,确认 `AGENTS.md` 项目规则来源、`item/delta`、`item/completed`、`turn/completed`、Run/Turn `succeeded`,并在 Daemon 重启后以 `replayed: true` 读回同一结果。该试点没有执行真实写入任务。 -GitHub 真实验收使用 `ling-stack-org/ling-delivery-acceptance-20261123`。PR #3 已合并为 `68216b68bc346aac735af22acb60d3df30623ebb`,该 merge-group commit 上的 `fixture-head`、`fixture-integration` 和 Ling Delivery Acceptance Gate Check Run `141334036840` 均成功。PR #2 的上一轮队列尝试生成 merge-group `fc37f2bf533c91feceadf577915c2b946b7a1cf1`,fixture integration run `46288326660` 成功,但队列 Bot 在 Gate Check `141428194887` 写入前将条目移出,未发生合并。2026-11-29 使用已授权的测试仓库 App 重新提交同一 receipt `github_queue_c2d2e2c3d0e85a6c3820b4a55ad405d12f862d48149f2af9ada308baf67b31bd`,App Server 返回 `unknown`,Daemon 重启读回仍为 `unknown`;随后只读核对显示 `isMergeQueueEnabled=true`、`isInMergeQueue=false`、无 `stackEntry`/`mergeQueueEntry`,且没有新增入队事件。PR #2 当前三项 head checks 仍成功,但尚无 provider 证据证明本次入队或最终合并,因此 receipt 不能标记为 `enqueued`/`delivered`,delivery 仍保持 `delivery_pending`。 +GitHub 真实验收使用 `ling-stack-org/ling-delivery-acceptance-20261123`。PR #3 已合并为 commit `68216b68bc346aac735af22acb60d3df30623ebb`,其 `fixture-head`、`fixture-integration` 和 Ling Delivery Acceptance Gate 均成功,具体 provider 记录保存在受控验收 artifact。PR #2 的上一轮队列尝试生成 merge-group commit `fc37f2bf533c91feceadf577915c2b946b7a1cf1`,fixture integration 成功,但队列 Bot 在 Gate 写入前将条目移出,未发生合并。2026-11-29 使用已授权的测试仓库 App 重新提交同一 receipt,App Server 返回 `unknown`,Daemon 重启读回仍为 `unknown`;随后只读核对显示 `isMergeQueueEnabled=true`、`isInMergeQueue=false`、无 `stackEntry`/`mergeQueueEntry`,且没有新增入队事件。PR #2 当前三项 head checks 仍成功,但尚无 provider 证据证明本次入队或最终合并,因此 receipt 不能标记为 `enqueued`/`delivered`,delivery 仍保持 `delivery_pending`。 ### 项目约定与验证 From 2ed09b77c1e8c0ed2df788a50c48d61e5ae2a02b Mon Sep 17 00:00:00 2001 From: tianxiaochannel-oss88 Date: Sun, 29 Nov 2026 15:55:50 -0500 Subject: [PATCH 143/147] docs(status): name the delivered completion branch --- docs/design/governance/implementation-status.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/design/governance/implementation-status.md b/docs/design/governance/implementation-status.md index feeea4916..deea6642f 100644 --- a/docs/design/governance/implementation-status.md +++ b/docs/design/governance/implementation-status.md @@ -36,7 +36,7 @@ counts, screenshots, hashes and run diaries belong in CI or Release artifacts. | Work | Current boundary | Closure condition | |---|---|---| -| [App Server and Agent Operating Model](../platform/plans/ling-app-server-implementation-plan.md) | PR #747 plus the closeout branch implement local App Server transports, Thread/Turn control and replay, Verify/Review, project rules, trusted verification basis, Work Item collaboration and deliberation, GitHub intake/delivery, Codex host and recovery semantics. Local release acceptance and Framework Assurance pass. CPA `gpt-5.6-terra` read-only Provider trial passes with restart replay. GitHub test delivery confirms PR #3 merge-group reconciliation; PR #2 has a previously observed merge-group check, but the queue entry was removed before the gate completed, and the fresh authorized re-admission remains `unknown` with no provider evidence of enqueue or merge | Signed packages, independent-host remote WSS, real write-task Provider trials, final external merge observation for PR #2 and deployment remain open | +| [App Server and Agent Operating Model](../platform/plans/ling-app-server-implementation-plan.md) | PR #747 plus the completion branch implement local App Server transports, Thread/Turn control and replay, Verify/Review, project rules, trusted verification basis, Work Item collaboration and deliberation, GitHub intake/delivery, Codex host and recovery semantics. Local release acceptance and Framework Assurance pass. CPA `gpt-5.6-terra` read-only Provider trial passes with restart replay. GitHub test delivery confirms PR #3 merge-group reconciliation; PR #2 has a previously observed merge-group check, but the queue entry was removed before the gate completed, and the fresh authorized re-admission remains `unknown` with no provider evidence of enqueue or merge | Signed packages, independent-host remote WSS, real write-task Provider trials, final external merge observation for PR #2 and deployment remain open | | [Agent Execution Capabilities](../agents/plans/agent-execution-capabilities-implementation-plan.md) | C1 bounded TS/JS code intelligence, C2 QuickJS Code Mode and C3 trusted Hooks are implemented for ordinary Pi Runs; source merged in [PR #714](https://github.com/ling-stack-org/ling-stack/pull/714). A1/A2 adds signed Webhook/GitHub/business inbox, durable claims and explicit destination result delivery with unknown-outcome reconciliation. R1/R2 adds atomic successor/reuse for ordinary materialized graphs through existing Host orchestration; advanced profiles fail closed. R3 adds persisted acceptance evidence and bounded restart-safe Goal supervision. Controlled HTTP/Pi/Host/SQLite/mock-IM regressions pass. Desktop embeds Worker/WASM/library resources; standalone bundle execution and fixed Office source/publication regressions pass | Installed-client, cross-platform, live Provider/messaging acceptance, and deployment require separate evidence | | [Ling Multi-Agent Safe Concurrency](../platform/plans/ling-multi-agent-safe-concurrency-implementation-plan.md) | The complete target is defined in [Ling Multi-Agent Complete Target](../platform/ling-multi-agent-complete-target.md). P1-P5 are locally implemented: Host-enforced safety/admission, isolated execution/integration/approved apply/cleanup, combined recovery, versioned registry/Skill Library authoring and read-only graph/list. Complete frozen-input scoped package regression passes with existing conditional skips; later Web conflict-repair, shared UI/localization and fixture changes have separate incremental regression and production-build live-daemon browser acceptance. Repair planning starts no Run; explicit successor execution uses new approvals and retains lineage through restart without target changes. The independent Daemon dependency-security lane passes. Controlled transport uses real macOS daemon/Pi SDK/Host/Git/SQLite/HTTP/SSE, and one separate local real-provider smoke passed provider check, real Run, durable event readback and daemon restart recovery. Public isolated selection stays off by default, macOS/Pi/enforced Broker only and candidate-only; ordinary write parallelism stays closed, QA serial without a verified artifact-only executor | Other Provider combinations, packaged/cross-platform and review/CI/merge. Local implementation, controlled transport and a single real-provider smoke do not complete release acceptance | | [F5 Node Rerun Contract](../platform/plans/ling-framework-complementary-implementation-plan.md) | F5-01/02/03 and R1/R2 merged in [PR #732](https://github.com/ling-stack-org/ling-stack/pull/732) with transactional intent/approval/target creation, dependency invalidation, capacity admission, one-shot dispatch, exact-fence stop, durable receipt recovery, and unknown-outcome retention. Focused Core/Daemon/API/Runner regressions and two-process restart recovery pass | Real Provider/Runner stop confirmation, A17/A18 evidence, packaged and platform acceptance remain open. Compiled templates, required-participant/intent authority and delegated/safety/isolation profiles remain unsupported and fail closed | From 1d116257dde4bda2f23a9822e1005aa753ea4848 Mon Sep 17 00:00:00 2001 From: tianxiaochannel-oss88 Date: Sun, 29 Nov 2026 16:33:12 -0500 Subject: [PATCH 144/147] docs(app-server): record full compatibility acceptance --- .../platform/plans/ling-app-server-implementation-plan.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/design/platform/plans/ling-app-server-implementation-plan.md b/docs/design/platform/plans/ling-app-server-implementation-plan.md index 3d5e91026..a2b60d3d3 100644 --- a/docs/design/platform/plans/ling-app-server-implementation-plan.md +++ b/docs/design/platform/plans/ling-app-server-implementation-plan.md @@ -92,7 +92,7 @@ Windows 源码验收使用独立的 GitHub Actions 作业,启动真实 CLI std 已发布的 `v0.6.2-alpha.1@cf8f0b183` macOS arm64 开发包通过 DMG 摘要与 ad-hoc 签名校验。隔离安装后,Desktop 启动自有 Daemon、加载主窗口并正常退出。另一次包内 Daemon 与候选 `61c96ad9a` 的切换验证了 CLI 协商、原 Thread 与事件、旧游标续读,以及缺少 `workItem.device` 能力时拒绝新请求。同一发行的 Windows x64 报告记录了安装、同版本升级、启动、正常退出及卸载。正式签名候选的安装验收仍在发行矩阵。 [开发包](https://github.com/ling-stack-org/ling-stack/releases/tag/v0.6.2-alpha.1) · [Windows 安装报告](https://github.com/ling-stack-org/ling-stack/releases/download/v0.6.2-alpha.1/desktop-windows-x64-package-verification.json) -在 macOS arm64、Node 22.22.1 上,上一版 `3fe77440e` 和协议基线 `05cb86a41` 均从源码完成依赖构建,候选与两套历史构建在隔离工作区运行同一份 `app-server-release-acceptance.test.ts`。使用桌面版 Codex `0.171.0-alpha.13.2` 后,73 项测试全部通过,包含上一版 Thread/Approval 恢复、main→candidate 协议切换、真实 Codex 控制宿主、MCP 桥接、回退和联合工作流。该结果覆盖源码级兼容与本机宿主组合,外部签名安装、独立物理主机、GitHub App 主动入队和真实 Provider 试点仍按下方发布条件单独管理。 +在 macOS arm64、Node 22.22.1 上,上一版 `3fe77440e` 和协议基线 `05cb86a41` 均从源码完成依赖构建,候选与两套历史构建在隔离工作区运行同一份 `app-server-release-acceptance.test.ts`。使用桌面版 Codex `0.171.0-alpha.13.2` 后,75 项测试全部通过(75 passed / 0 failed / 0 skipped),包含上一版 Thread/Approval 恢复、main→candidate 协议切换、真实 Codex 控制宿主、MCP 桥接、回退和联合工作流。该结果覆盖源码级兼容与本机宿主组合,外部签名安装、独立物理主机、GitHub App 主动入队和真实 Provider 试点仍按下方发布条件单独管理。 Ubuntu 24.04 ARM64 虚拟机的 Node 22.22.1 SDK 通过 TLS 1.3 连接同一物理机上的 macOS Daemon 候选 `0.6.2-alpha.1`。实测证书校验、在途用户答复、原游标与回执重读、独立审批凭据拒绝工具执行、撤权关闭 `1008` 和重连 `401`。Pi 使用受控 Provider。回归另验证答复派发后继 Run 后,重启并重发 `turn/start` 仍返回原 Run 和原回执,两个 Run 的归属及两次模型调用保持可核对。 [发行验收测试](../../../../packages/daemon/test/app-server-release-acceptance.test.ts) From d70d1f903ef91cd2aaf52cdbe791db90a138ba38 Mon Sep 17 00:00:00 2001 From: tianxiaochannel-oss88 Date: Sun, 29 Nov 2026 16:42:04 -0500 Subject: [PATCH 145/147] docs(app-server): distinguish default and full acceptance --- .../platform/plans/ling-app-server-implementation-plan.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/design/platform/plans/ling-app-server-implementation-plan.md b/docs/design/platform/plans/ling-app-server-implementation-plan.md index a2b60d3d3..40e73767e 100644 --- a/docs/design/platform/plans/ling-app-server-implementation-plan.md +++ b/docs/design/platform/plans/ling-app-server-implementation-plan.md @@ -15,7 +15,7 @@ 已验证的关键回归包括 App Server WebSocket、stdio/Unix socket、MCP bridge、Work Item 控制与证据、协作记录回放、开发工作流服务、外部 Agent federation、配置的 Pi Runner 和 API Client。Verify plan/operation 和 Federation ledger 已接入工作区 SQLite 的 app_server_state,按来源工作区恢复,Daemon 重启后会把无法确认的 queued/running Verify 和外部 running task 标记为 unknown,要求原所有者重新核对。Verify 只接受默认或 Host 登记的配方,执行前后核对候选 digest。Host 登记的配方还绑定路径选择、独立 verifier source、coverage digest 和 producer refs,命令输出以有限大小保存并脱敏。重复 start/cancel 使用同一收据,取消会传递给实际检查进程。Work Item acceptance 通过同一 SQLite 事务写入 receipt、状态和 revision。外部任务在 Work Item revision/control、Runner external boundary、工具 conformance、只读工具范围和 admission fence 通过后调用已配置的真实 Adapter。注册、能力读取、任务接入、重连和取消均以请求工作区选择 federation ledger,重复提交不重复派发,Adapter 失败、取消未确认和断线重启均保留 unknown。普通 `turn/start` 通过同一会话受理、准备快照和 Run 入口,`submission/read` 与 `turn/resume` 可在重连后读取原收据,已准备但尚未派发的 Turn 通过原请求恢复同一 Turn。停止的 Turn 在实际执行和效果收敛后,可用明确的恢复键受理后继 Turn。用户提问由 Host 事务产生 `pending` 事件,认证客户端从线程快照取得短期 authority,通过 `input/respond` 复用公共解析、权限和版本 CAS,答复事件在重启后按原身份回放,已结束的问题不会再次要求应答。项目规则在准备快照时按路径读取并封存 digest,`instructions/init` 只在预览版本仍匹配且目标未被占用时原子写入。Review 先捕获候选两次,再读取基线的 `Code Review Rules` 和显式 `REVIEW.md`,规则与发现项处置由同一候选和幂等收据约束。App Server 的 operator 写操作要求认证凭据,能力与方法表只公布当前连接可用的实现。已用本机安装的 Codex App Server 通过 MCP bridge 创建 Ling Thread、提交配置 Pi Runner Turn,并从 Ling 游标恢复 Turn 事件。平台和兼容证据随 PR 检查及发行矩阵记录。 -本次实现分支的 App Server release acceptance 已通过 `71 passed / 4 skipped / 0 failed`,Framework Assurance 离线套件通过 `133 passed / 0 failed`,Core 全套通过 `6805 passed / 0 failed / 0 skipped`。真实 Provider 试点使用 CPA loopback 的 `gpt-5.6-terra` 完成一次只读 Ling App Server Turn,确认 `AGENTS.md` 项目规则来源、`item/delta`、`item/completed`、`turn/completed`、Run/Turn `succeeded`,并在 Daemon 重启后以 `replayed: true` 读回同一结果。该试点没有执行真实写入任务。 +本次实现分支的 App Server release acceptance 在默认无历史构建和已安装 Codex 输入时通过 `71 passed / 4 skipped / 0 failed`;补齐 v0.6.1、协议基线和 Codex executable 后的完整兼容矩阵通过 `75 passed / 0 skipped / 0 failed`。Framework Assurance 离线套件通过 `133 passed / 0 failed`,Core 全套通过 `6805 passed / 0 failed / 0 skipped`。真实 Provider 试点使用 CPA loopback 的 `gpt-5.6-terra` 完成一次只读 Ling App Server Turn,确认 `AGENTS.md` 项目规则来源、`item/delta`、`item/completed`、`turn/completed`、Run/Turn `succeeded`,并在 Daemon 重启后以 `replayed: true` 读回同一结果。该试点没有执行真实写入任务。 GitHub 真实验收使用 `ling-stack-org/ling-delivery-acceptance-20261123`。PR #3 已合并为 commit `68216b68bc346aac735af22acb60d3df30623ebb`,其 `fixture-head`、`fixture-integration` 和 Ling Delivery Acceptance Gate 均成功,具体 provider 记录保存在受控验收 artifact。PR #2 的上一轮队列尝试生成 merge-group commit `fc37f2bf533c91feceadf577915c2b946b7a1cf1`,fixture integration 成功,但队列 Bot 在 Gate 写入前将条目移出,未发生合并。2026-11-29 使用已授权的测试仓库 App 重新提交同一 receipt,App Server 返回 `unknown`,Daemon 重启读回仍为 `unknown`;随后只读核对显示 `isMergeQueueEnabled=true`、`isInMergeQueue=false`、无 `stackEntry`/`mergeQueueEntry`,且没有新增入队事件。PR #2 当前三项 head checks 仍成功,但尚无 provider 证据证明本次入队或最终合并,因此 receipt 不能标记为 `enqueued`/`delivered`,delivery 仍保持 `delivery_pending`。 From 00d9c3e1ec41d5462c27217090fa12a8e2aea976 Mon Sep 17 00:00:00 2001 From: tianxiaochannel-oss88 Date: Sun, 29 Nov 2026 17:09:35 -0500 Subject: [PATCH 146/147] docs(app-server): clarify acceptance matrix inputs --- .../platform/plans/ling-app-server-implementation-plan.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/design/platform/plans/ling-app-server-implementation-plan.md b/docs/design/platform/plans/ling-app-server-implementation-plan.md index 40e73767e..873ad2626 100644 --- a/docs/design/platform/plans/ling-app-server-implementation-plan.md +++ b/docs/design/platform/plans/ling-app-server-implementation-plan.md @@ -15,7 +15,7 @@ 已验证的关键回归包括 App Server WebSocket、stdio/Unix socket、MCP bridge、Work Item 控制与证据、协作记录回放、开发工作流服务、外部 Agent federation、配置的 Pi Runner 和 API Client。Verify plan/operation 和 Federation ledger 已接入工作区 SQLite 的 app_server_state,按来源工作区恢复,Daemon 重启后会把无法确认的 queued/running Verify 和外部 running task 标记为 unknown,要求原所有者重新核对。Verify 只接受默认或 Host 登记的配方,执行前后核对候选 digest。Host 登记的配方还绑定路径选择、独立 verifier source、coverage digest 和 producer refs,命令输出以有限大小保存并脱敏。重复 start/cancel 使用同一收据,取消会传递给实际检查进程。Work Item acceptance 通过同一 SQLite 事务写入 receipt、状态和 revision。外部任务在 Work Item revision/control、Runner external boundary、工具 conformance、只读工具范围和 admission fence 通过后调用已配置的真实 Adapter。注册、能力读取、任务接入、重连和取消均以请求工作区选择 federation ledger,重复提交不重复派发,Adapter 失败、取消未确认和断线重启均保留 unknown。普通 `turn/start` 通过同一会话受理、准备快照和 Run 入口,`submission/read` 与 `turn/resume` 可在重连后读取原收据,已准备但尚未派发的 Turn 通过原请求恢复同一 Turn。停止的 Turn 在实际执行和效果收敛后,可用明确的恢复键受理后继 Turn。用户提问由 Host 事务产生 `pending` 事件,认证客户端从线程快照取得短期 authority,通过 `input/respond` 复用公共解析、权限和版本 CAS,答复事件在重启后按原身份回放,已结束的问题不会再次要求应答。项目规则在准备快照时按路径读取并封存 digest,`instructions/init` 只在预览版本仍匹配且目标未被占用时原子写入。Review 先捕获候选两次,再读取基线的 `Code Review Rules` 和显式 `REVIEW.md`,规则与发现项处置由同一候选和幂等收据约束。App Server 的 operator 写操作要求认证凭据,能力与方法表只公布当前连接可用的实现。已用本机安装的 Codex App Server 通过 MCP bridge 创建 Ling Thread、提交配置 Pi Runner Turn,并从 Ling 游标恢复 Turn 事件。平台和兼容证据随 PR 检查及发行矩阵记录。 -本次实现分支的 App Server release acceptance 在默认无历史构建和已安装 Codex 输入时通过 `71 passed / 4 skipped / 0 failed`;补齐 v0.6.1、协议基线和 Codex executable 后的完整兼容矩阵通过 `75 passed / 0 skipped / 0 failed`。Framework Assurance 离线套件通过 `133 passed / 0 failed`,Core 全套通过 `6805 passed / 0 failed / 0 skipped`。真实 Provider 试点使用 CPA loopback 的 `gpt-5.6-terra` 完成一次只读 Ling App Server Turn,确认 `AGENTS.md` 项目规则来源、`item/delta`、`item/completed`、`turn/completed`、Run/Turn `succeeded`,并在 Daemon 重启后以 `replayed: true` 读回同一结果。该试点没有执行真实写入任务。 +本次实现分支的 App Server release acceptance 在未提供历史构建和 Codex executable 的默认运行中通过 `71 passed / 4 skipped / 0 failed`;只提供已安装 Codex executable 时为 `73 passed / 2 skipped / 0 failed`;再补齐 v0.6.1 与协议基线后的完整兼容矩阵通过 `75 passed / 0 skipped / 0 failed`。Framework Assurance 离线套件通过 `133 passed / 0 failed`,Core 全套通过 `6805 passed / 0 failed / 0 skipped`。真实 Provider 试点使用 CPA loopback 的 `gpt-5.6-terra` 完成一次只读 Ling App Server Turn,确认 `AGENTS.md` 项目规则来源、`item/delta`、`item/completed`、`turn/completed`、Run/Turn `succeeded`,并在 Daemon 重启后以 `replayed: true` 读回同一结果。该试点没有执行真实写入任务。 GitHub 真实验收使用 `ling-stack-org/ling-delivery-acceptance-20261123`。PR #3 已合并为 commit `68216b68bc346aac735af22acb60d3df30623ebb`,其 `fixture-head`、`fixture-integration` 和 Ling Delivery Acceptance Gate 均成功,具体 provider 记录保存在受控验收 artifact。PR #2 的上一轮队列尝试生成 merge-group commit `fc37f2bf533c91feceadf577915c2b946b7a1cf1`,fixture integration 成功,但队列 Bot 在 Gate 写入前将条目移出,未发生合并。2026-11-29 使用已授权的测试仓库 App 重新提交同一 receipt,App Server 返回 `unknown`,Daemon 重启读回仍为 `unknown`;随后只读核对显示 `isMergeQueueEnabled=true`、`isInMergeQueue=false`、无 `stackEntry`/`mergeQueueEntry`,且没有新增入队事件。PR #2 当前三项 head checks 仍成功,但尚无 provider 证据证明本次入队或最终合并,因此 receipt 不能标记为 `enqueued`/`delivered`,delivery 仍保持 `delivery_pending`。 From e1f47df7f2924eb434500e815bfd39c397889357 Mon Sep 17 00:00:00 2001 From: tianxiaochannel-oss88 Date: Mon, 30 Nov 2026 18:08:15 -0500 Subject: [PATCH 147/147] chore: allow reviewed packaging digests in secret scan --- .gitleaksignore | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.gitleaksignore b/.gitleaksignore index 3e68ee055..59a90d5b6 100644 --- a/.gitleaksignore +++ b/.gitleaksignore @@ -779,3 +779,9 @@ b7baf6e22a6381d3624e7a13dec8d8e971b4a74c:native/office-local/reviewed-packaged-s b7baf6e22a6381d3624e7a13dec8d8e971b4a74c:native/office-local/reviewed-packaged-source-v1.json:generic-api-key:1157 580b31362a7efa53223abed3ae339830f47722f6:native/office-local/reviewed-packaged-source-v1.json:generic-api-key:275 580b31362a7efa53223abed3ae339830f47722f6:native/office-local/reviewed-packaged-source-v1.json:generic-api-key:1157 + +# Reviewed source digest rows introduced by the current mainline merge. +d193aa437890657e65835c678d5b692c9f3f221a:native/office-local/reviewed-packaged-source-v1.json:generic-api-key:275 +d193aa437890657e65835c678d5b692c9f3f221a:native/office-local/reviewed-packaged-source-v1.json:generic-api-key:1157 +f1e653616f1c7179c320516180e4478b74d4e8bc:native/office-local/reviewed-packaged-source-v1.json:generic-api-key:275 +f1e653616f1c7179c320516180e4478b74d4e8bc:native/office-local/reviewed-packaged-source-v1.json:generic-api-key:1157