@weadmin/overseas-tool 0.1.31 → 0.1.34

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/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- /* overseas-tool | Type declarations | Generated 2026-08-21T08:34:35.268Z */
1
+ /* overseas-tool | Type declarations | Generated 2026-08-27T04:00:08.756Z */
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
  /**