@weadmin/overseas-tool 0.1.31 → 0.1.33
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli/main.js +1 -1
- package/dist/index.d.ts +12 -2
- package/dist/index.js +1 -1
- package/dist/runtime-host/main.js +1 -1
- package/package.json +1 -1
- package/workers/applier/applier.js +1 -1
- package/workers/applier/meta.json +2 -2
- package/workers/glossary-translator/glossary-translator.js +1 -1
- package/workers/glossary-translator/meta.json +2 -2
- package/workers/image-scanner/image-scanner.js +1 -1
- package/workers/image-scanner/meta.json +3 -3
- package/workers/image-translator/image-translator.js +1 -1
- package/workers/image-translator/meta.json +3 -3
- package/workers/pipeline-progress/meta.json +11 -0
- package/workers/pipeline-progress/package.json +3 -0
- package/workers/pipeline-progress/pipeline-progress.js +5 -0
- package/workers/planner/meta.json +2 -2
- package/workers/planner/planner.js +1 -1
- package/workers/scan-aggregator/meta.json +2 -2
- package/workers/scan-aggregator/scan-aggregator.js +1 -1
- package/workers/text-scanner/meta.json +2 -2
- package/workers/text-scanner/text-scanner.js +1 -1
- package/workers/text-translator/meta.json +2 -2
- package/workers/text-translator/text-translator.js +1 -1
- package/workers/translation-aggregator/meta.json +2 -2
- package/workers/translation-aggregator/translation-aggregator.js +1 -1
- package/workers/verifier/meta.json +2 -2
- package/workers/verifier/verifier.js +1 -1
- package/workers/worker-launcher/meta.json +3 -3
- package/workers/worker-launcher/worker-launcher.js +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* overseas-tool | Type declarations | Generated 2026-08-
|
|
1
|
+
/* overseas-tool | Type declarations | Generated 2026-08-24T07:19:54.466Z */
|
|
2
2
|
import { AgentDefinition } from '@tencent-ai/agent-sdk';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
|
|
@@ -927,7 +927,8 @@ export declare const PIPELINE_STAGES: readonly [
|
|
|
927
927
|
];
|
|
928
928
|
export type PipelineStageId = (typeof PIPELINE_STAGES)[number]["id"];
|
|
929
929
|
export type PipelineRunMode = I18nConfig["runMode"];
|
|
930
|
-
export type PipelineRunStatus = "idle" | "preparing" | "running" | "waiting-approval" | "blocked" | "completed" | "failed" | "cancelled";
|
|
930
|
+
export type PipelineRunStatus = "idle" | "preparing" | "running" | "waiting-worker" | "waiting-input" | "waiting-approval" | "blocked" | "completed" | "failed" | "cancelled";
|
|
931
|
+
export type PipelineWorkerWaitPhase = "foreground" | "heartbeat";
|
|
931
932
|
export type PipelineStageState = "pending" | "active" | "completed" | "blocked" | "failed";
|
|
932
933
|
export type PipelineStepState = PipelineStageState | "skipped";
|
|
933
934
|
export interface PipelineArtifact {
|
|
@@ -970,6 +971,10 @@ export interface PipelineSnapshot {
|
|
|
970
971
|
runMode: PipelineRunMode;
|
|
971
972
|
approvalMode: ApprovalMode;
|
|
972
973
|
currentStage?: PipelineStageId;
|
|
974
|
+
/** CLI 正在模型轮次之外等待的真实 worker;此时绝不能展示用户输入框。 */
|
|
975
|
+
waitingWorkers?: string[];
|
|
976
|
+
/** 前两分钟为 foreground,仍未完成后转为 heartbeat,但 CLI 始终保持阻塞。 */
|
|
977
|
+
workerWaitPhase?: PipelineWorkerWaitPhase;
|
|
973
978
|
stages: PipelineStageSnapshot[];
|
|
974
979
|
updatedAt: string;
|
|
975
980
|
error?: string;
|
|
@@ -1017,6 +1022,11 @@ export interface InspectOptions {
|
|
|
1017
1022
|
error?: string;
|
|
1018
1023
|
/** Runtime host 内存中的确认锁,优先于编排器可能短暂误写的配置。 */
|
|
1019
1024
|
approvalStage?: 2 | 3 | 4;
|
|
1025
|
+
/** 活动请求携带的确认策略;配置落盘前也必须让 Panel 看到同一个值。 */
|
|
1026
|
+
approvalMode?: ApprovalMode;
|
|
1027
|
+
/** 模型轮次外正在等待的 worker,供 Panel 展示专用等待态。 */
|
|
1028
|
+
waitingWorkers?: readonly string[];
|
|
1029
|
+
workerWaitPhase?: PipelineWorkerWaitPhase;
|
|
1020
1030
|
}
|
|
1021
1031
|
export declare function inspectPipelineSnapshot(projectPath: string, opts?: InspectOptions): Promise<PipelineSnapshot>;
|
|
1022
1032
|
/**
|