@roll-agent/browser-use-agent 0.27.3 → 0.27.4

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.
Files changed (56) hide show
  1. package/dist/browser-use-policy.d.ts +18 -26
  2. package/dist/diagnostics/effective-env.d.ts +2 -14
  3. package/dist/goal/contracts.d.ts +173 -1537
  4. package/dist/goal/decisions.d.ts +1 -9
  5. package/dist/goal/execution-context.d.ts +83 -457
  6. package/dist/goal/form-context.d.ts +104 -480
  7. package/dist/goal/form-handoff.d.ts +12 -138
  8. package/dist/goal/interaction-feedback.d.ts +10 -36
  9. package/dist/goal/observation.d.ts +122 -827
  10. package/dist/goal/picker-observation.d.ts +26 -41
  11. package/dist/goal/picker-state.d.ts +33 -70
  12. package/dist/goal/task-evidence.d.ts +3 -3
  13. package/dist/goal/task-freshness.d.ts +8 -48
  14. package/dist/goal/task-policy.d.ts +10 -10
  15. package/dist/goal/task-progress.d.ts +25 -271
  16. package/dist/goal/task-sources.d.ts +2 -2
  17. package/dist/index.js +1 -1
  18. package/dist/reply-authority/prepared-reply-decision.d.ts +22 -25
  19. package/dist/reply-authority/prepared-reply-judge-context.d.ts +9 -64
  20. package/dist/reply-authority/schemas.d.ts +6 -100
  21. package/dist/runtime-config.d.ts +40 -302
  22. package/dist/tool-action-approval.d.ts +1 -5
  23. package/dist/tools/attach-browser-session.d.ts +2 -2
  24. package/dist/tools/browser-execute.d.ts +19 -19
  25. package/dist/tools/browser-operate.d.ts +113 -113
  26. package/dist/tools/browser-ref-schemas.d.ts +19 -77
  27. package/dist/tools/browser-snapshot.d.ts +7 -7
  28. package/dist/tools/browser-status.d.ts +34 -34
  29. package/dist/tools/browser-stop.d.ts +19 -54
  30. package/dist/tools/browser-workflows.d.ts +87 -454
  31. package/dist/tools/click-ref.d.ts +7 -7
  32. package/dist/tools/type-ref.d.ts +8 -8
  33. package/dist/tools/yupao-send-reply.d.ts +1 -1
  34. package/dist/tools/zhipin-capture-resume.d.ts +7 -7
  35. package/dist/tools/zhipin-close-resume.d.ts +2 -2
  36. package/dist/tools/zhipin-diagnose-browser-state.d.ts +76 -156
  37. package/dist/tools/zhipin-exchange-wechat.d.ts +2 -2
  38. package/dist/tools/zhipin-filter-recommend-candidates.d.ts +15 -15
  39. package/dist/tools/zhipin-generate-reply-preview.d.ts +14 -14
  40. package/dist/tools/zhipin-get-candidate-info.d.ts +16 -16
  41. package/dist/tools/zhipin-get-candidate-list.d.ts +7 -7
  42. package/dist/tools/zhipin-get-username.d.ts +3 -3
  43. package/dist/tools/zhipin-judge-prepared-reply.d.ts +5 -5
  44. package/dist/tools/zhipin-list-recommend-jobs.d.ts +7 -7
  45. package/dist/tools/zhipin-open-chat-page.d.ts +4 -4
  46. package/dist/tools/zhipin-open-chat.d.ts +3 -3
  47. package/dist/tools/zhipin-open-recommend-page.d.ts +3 -3
  48. package/dist/tools/zhipin-open-resume.d.ts +2 -2
  49. package/dist/tools/zhipin-read-messages.d.ts +4 -4
  50. package/dist/tools/zhipin-say-hello.d.ts +3 -3
  51. package/dist/tools/zhipin-scroll-view.d.ts +13 -13
  52. package/dist/tools/zhipin-select-recommend-job.d.ts +16 -16
  53. package/dist/tools/zhipin-send-prepared-reply.d.ts +6 -6
  54. package/dist/tools/zhipin-send-reply.d.ts +2 -10
  55. package/dist/workflows/store.d.ts +46 -253
  56. package/package.json +5 -5
@@ -11,48 +11,48 @@ type ZhipinGetCandidateInfoDeps = {
11
11
  export declare function resetPrepareReplyContextCooldownForTests(): void;
12
12
  export declare function setZhipinGetCandidateInfoDepsForTests(override: Partial<ZhipinGetCandidateInfoDeps> | undefined): void;
13
13
  export declare const zhipinGetCandidateInfo: import("@roll-agent/sdk").ToolDefinition<{
14
- index?: number | undefined;
14
+ maxMessages: number;
15
15
  conversationId?: string | undefined;
16
16
  candidateName?: string | undefined;
17
- maxMessages?: number | undefined;
17
+ index?: number | undefined;
18
18
  }, {
19
19
  success: boolean;
20
20
  conversationId: string;
21
21
  candidateId: string;
22
22
  candidateInfo: {
23
23
  name: string;
24
- experience: string;
25
24
  age: string;
25
+ experience: string;
26
26
  education: string;
27
- expectedLocation: string;
27
+ communicationPosition: string;
28
28
  expectedPosition: string;
29
+ expectedLocation: string;
29
30
  expectedSalary: string;
30
31
  tags: string[];
31
- communicationPosition: string;
32
- };
33
- stats: {
34
- totalMessages: number;
35
- candidateMessages: number;
36
- recruiterMessages: number;
37
- systemMessages: number;
38
32
  };
39
33
  locationSignals: {
40
- source: "candidate_message" | "conversation_history" | "candidate_expected_location" | "communication_position";
41
34
  text: string;
35
+ source: "candidate_message" | "conversation_history" | "candidate_expected_location" | "communication_position";
42
36
  confidence: number;
43
- intent?: "nearby_store" | "store_address" | "expected_area" | undefined;
44
37
  city?: string | undefined;
38
+ intent?: "nearby_store" | "store_address" | "expected_area" | undefined;
45
39
  }[];
46
40
  chatMessages: {
47
41
  index: number;
48
- content: string;
49
- time: string;
50
42
  sender: "candidate" | "recruiter" | "system";
51
43
  messageType: "text" | "resume" | "system" | "wechat-exchange";
44
+ content: string;
45
+ time: string;
52
46
  }[];
53
47
  formattedHistory: string[];
54
- error?: string | undefined;
48
+ stats: {
49
+ totalMessages: number;
50
+ candidateMessages: number;
51
+ recruiterMessages: number;
52
+ systemMessages: number;
53
+ };
55
54
  preferredBrand?: string | undefined;
56
55
  preferredBrandId?: number | undefined;
56
+ error?: string | undefined;
57
57
  }>;
58
58
  export {};
@@ -8,17 +8,18 @@ type ZhipinGetCandidateListDeps = {
8
8
  };
9
9
  export declare function setZhipinGetCandidateListDepsForTests(override: Partial<ZhipinGetCandidateListDeps> | undefined): void;
10
10
  export declare const zhipinGetCandidateList: import("@roll-agent/sdk").ToolDefinition<{
11
- autoScroll?: boolean | undefined;
12
- maxScrolls?: number | undefined;
11
+ autoScroll: boolean;
12
+ maxScrolls: number;
13
13
  maxResults?: number | undefined;
14
14
  }, {
15
15
  success: boolean;
16
16
  candidates: {
17
- name: string;
18
17
  index: number;
18
+ candidateRef: string;
19
19
  candidateId: string;
20
- experience: string;
20
+ name: string;
21
21
  age: string;
22
+ experience: string;
22
23
  education: string;
23
24
  workStatus: string;
24
25
  company: string;
@@ -28,16 +29,14 @@ export declare const zhipinGetCandidateList: import("@roll-agent/sdk").ToolDefin
28
29
  expectedSalary: string;
29
30
  tags: string[];
30
31
  buttonText: string;
31
- candidateRef: string;
32
32
  }[];
33
33
  total: number;
34
- error?: string | undefined;
35
34
  scrollStats?: {
36
- stopReason: "target-count" | "boundary" | "no-new-items" | "max-steps";
37
35
  containerLabel: string;
38
36
  stepsRequested: number;
39
37
  stepsCompleted: number;
40
38
  reachedBoundary: boolean;
39
+ stopReason: "target-count" | "boundary" | "no-new-items" | "max-steps";
41
40
  uniqueCount: number;
42
41
  duplicateCount: number;
43
42
  noNewRounds: number;
@@ -46,5 +45,6 @@ export declare const zhipinGetCandidateList: import("@roll-agent/sdk").ToolDefin
46
45
  beforeScrollHeight: number;
47
46
  afterScrollHeight: number;
48
47
  } | undefined;
48
+ error?: string | undefined;
49
49
  }>;
50
50
  export {};
@@ -8,12 +8,12 @@ type ZhipinGetUsernameDeps = {
8
8
  readonly createNativeVisualActivitySession: (page: ZhipinNativePagePort) => NativeVisualActivitySession;
9
9
  };
10
10
  export declare function setZhipinGetUsernameDepsForTests(override: Partial<ZhipinGetUsernameDeps> | undefined): void;
11
- export declare const zhipinGetUsername: import("@roll-agent/sdk").ToolDefinition<{}, {
11
+ export declare const zhipinGetUsername: import("@roll-agent/sdk").ToolDefinition<Record<string, never>, {
12
12
  success: boolean;
13
13
  username: string;
14
- source?: string | undefined;
15
- error?: string | undefined;
16
14
  usedSelector?: string | undefined;
17
15
  usedStrategy?: string | undefined;
16
+ source?: string | undefined;
17
+ error?: string | undefined;
18
18
  }>;
19
19
  export {};
@@ -12,15 +12,15 @@ export declare const zhipinJudgePreparedReply: import("@roll-agent/sdk").ToolDef
12
12
  judgeModel?: string | undefined;
13
13
  }, {
14
14
  success: boolean;
15
- error?: string | undefined;
16
- fallback?: boolean | undefined;
17
- decisionSource?: "judge" | "orchestrator" | "service_recommended_fallback" | "explicit_no_judge" | undefined;
18
- recommendedOption?: "option_1" | "option_2" | undefined;
19
15
  variantDecision?: {
20
- reason: string;
21
16
  chosenOption: "option_1" | "option_2";
17
+ reason: string;
22
18
  confirmedFindingCodes?: ("too_many_questions" | "audit_tone" | "reply_overpacked" | "off_axis_fact_disclosure")[] | undefined;
23
19
  judgeModel?: string | undefined;
24
20
  } | undefined;
21
+ decisionSource?: "judge" | "orchestrator" | "service_recommended_fallback" | "explicit_no_judge" | undefined;
22
+ fallback?: boolean | undefined;
23
+ recommendedOption?: "option_1" | "option_2" | undefined;
24
+ error?: string | undefined;
25
25
  }>;
26
26
  export {};
@@ -7,25 +7,25 @@ type ZhipinListRecommendJobsDeps = {
7
7
  readonly createNativeVisualActivitySession: (page: ZhipinNativePagePort) => NativeVisualActivitySessionLike;
8
8
  };
9
9
  export declare function setZhipinListRecommendJobsDepsForTests(override: Partial<ZhipinListRecommendJobsDeps> | undefined): void;
10
- export declare const zhipinListRecommendJobs: import("@roll-agent/sdk").ToolDefinition<{}, {
11
- status: "recommend_not_ready" | "selector_not_found" | "listed";
10
+ export declare const zhipinListRecommendJobs: import("@roll-agent/sdk").ToolDefinition<Record<string, never>, {
12
11
  success: boolean;
13
- availableCount: number;
14
- canSwitch: boolean;
12
+ status: "recommend_not_ready" | "selector_not_found" | "listed";
15
13
  jobs: {
14
+ index: number;
16
15
  value: string;
17
16
  label: string;
18
- index: number;
19
17
  isCurrent: boolean;
20
18
  jobRef?: string | undefined;
21
19
  }[];
22
- error?: string | undefined;
20
+ availableCount: number;
21
+ canSwitch: boolean;
23
22
  current?: {
23
+ index: number;
24
24
  value: string;
25
25
  label: string;
26
- index: number;
27
26
  isCurrent: boolean;
28
27
  jobRef?: string | undefined;
29
28
  } | undefined;
29
+ error?: string | undefined;
30
30
  }>;
31
31
  export {};
@@ -11,18 +11,18 @@ type ZhipinOpenChatPageDeps = {
11
11
  };
12
12
  export declare function setZhipinOpenChatPageDepsForTests(override: Partial<ZhipinOpenChatPageDeps> | undefined): void;
13
13
  export declare const zhipinOpenChatPage: import("@roll-agent/sdk").ToolDefinition<{
14
+ forceReload?: boolean | undefined;
15
+ expectedConversationId?: string | undefined;
14
16
  browserActionApproval?: {
15
17
  id: string;
16
18
  } | undefined;
17
- forceReload?: boolean | undefined;
18
- expectedConversationId?: string | undefined;
19
19
  }, {
20
20
  success: boolean;
21
21
  alreadyOnChat: boolean;
22
22
  usedSidebarClick: boolean;
23
23
  usedReload: boolean;
24
24
  chatReady: boolean;
25
- error?: string | undefined;
25
+ reloadSkippedReason?: "not_chat_page" | undefined;
26
26
  page?: {
27
27
  pageId: string;
28
28
  url: string;
@@ -31,6 +31,6 @@ export declare const zhipinOpenChatPage: import("@roll-agent/sdk").ToolDefinitio
31
31
  detectedPlatform: "zhipin" | "yupao" | null;
32
32
  isSelectedForPlatform: boolean;
33
33
  } | undefined;
34
- reloadSkippedReason?: "not_chat_page" | undefined;
34
+ error?: string | undefined;
35
35
  }>;
36
36
  export {};
@@ -8,16 +8,16 @@ type ZhipinOpenChatDeps = {
8
8
  };
9
9
  export declare function setZhipinOpenChatDepsForTests(override: Partial<ZhipinOpenChatDeps> | undefined): void;
10
10
  export declare const zhipinOpenChat: import("@roll-agent/sdk").ToolDefinition<{
11
- index?: number | undefined;
11
+ preferUnread: boolean;
12
12
  conversationId?: string | undefined;
13
13
  candidateName?: string | undefined;
14
- preferUnread?: boolean | undefined;
14
+ index?: number | undefined;
15
15
  }, {
16
- index: number;
17
16
  success: boolean;
18
17
  conversationId: string;
19
18
  candidateId: string;
20
19
  candidateName: string;
20
+ index: number;
21
21
  hasUnread: boolean;
22
22
  unreadCount: number;
23
23
  lastMessageTime: string;
@@ -9,12 +9,11 @@ type ZhipinOpenRecommendPageDeps = {
9
9
  readonly createNativeVisualActivitySession: (page: ZhipinNativePagePort) => NativeVisualActivitySessionLike;
10
10
  };
11
11
  export declare function setZhipinOpenRecommendPageDepsForTests(override: Partial<ZhipinOpenRecommendPageDeps> | undefined): void;
12
- export declare const zhipinOpenRecommendPage: import("@roll-agent/sdk").ToolDefinition<{}, {
12
+ export declare const zhipinOpenRecommendPage: import("@roll-agent/sdk").ToolDefinition<Record<string, never>, {
13
13
  success: boolean;
14
- usedSidebarClick: boolean;
15
14
  alreadyOnRecommend: boolean;
15
+ usedSidebarClick: boolean;
16
16
  recommendReady: boolean;
17
- error?: string | undefined;
18
17
  page?: {
19
18
  pageId: string;
20
19
  url: string;
@@ -23,5 +22,6 @@ export declare const zhipinOpenRecommendPage: import("@roll-agent/sdk").ToolDefi
23
22
  detectedPlatform: "zhipin" | "yupao" | null;
24
23
  isSelectedForPlatform: boolean;
25
24
  } | undefined;
25
+ error?: string | undefined;
26
26
  }>;
27
27
  export {};
@@ -8,10 +8,10 @@ export declare const zhipinOpenResume: import("@roll-agent/sdk").ToolDefinition<
8
8
  candidateRef?: string | undefined;
9
9
  }, {
10
10
  success: boolean;
11
- candidateId: string;
12
11
  candidateName: string;
13
- error?: string | undefined;
12
+ candidateId: string;
14
13
  candidateRef?: string | undefined;
15
14
  resumeReady?: boolean | undefined;
15
+ error?: string | undefined;
16
16
  }>;
17
17
  export {};
@@ -7,11 +7,11 @@ type ZhipinReadMessagesDeps = {
7
7
  };
8
8
  export declare function setZhipinReadMessagesDepsForTests(override: Partial<ZhipinReadMessagesDeps> | undefined): void;
9
9
  export declare const zhipinReadMessages: import("@roll-agent/sdk").ToolDefinition<{
10
+ onlyUnread: boolean;
11
+ sortBy: "name" | "time" | "unreadCount";
12
+ autoScroll: boolean;
13
+ maxScrolls: number;
10
14
  limit?: number | undefined;
11
- onlyUnread?: boolean | undefined;
12
- sortBy?: "name" | "time" | "unreadCount" | undefined;
13
- autoScroll?: boolean | undefined;
14
- maxScrolls?: number | undefined;
15
15
  }, {
16
16
  success: boolean;
17
17
  candidates: {
@@ -15,10 +15,10 @@ export declare const zhipinSayHello: import("@roll-agent/sdk").ToolDefinition<{
15
15
  success: boolean;
16
16
  results: {
17
17
  index: number;
18
- success: boolean;
19
- candidateId: string;
20
- candidateName: string;
21
18
  candidateRef: string;
19
+ candidateName: string;
20
+ candidateId: string;
21
+ success: boolean;
22
22
  error?: string | undefined;
23
23
  }[];
24
24
  summary: {
@@ -9,12 +9,21 @@ type ZhipinScrollViewDeps = {
9
9
  export declare function setZhipinScrollViewDepsForTests(override: Partial<ZhipinScrollViewDeps> | undefined): void;
10
10
  export declare const zhipinScrollView: import("@roll-agent/sdk").ToolDefinition<{
11
11
  surface: "chat-list" | "chat-history" | "recommend-list";
12
- steps?: number | undefined;
12
+ steps: number;
13
+ settleMs: number;
13
14
  direction?: "up" | "down" | undefined;
14
15
  distance?: number | undefined;
15
- settleMs?: number | undefined;
16
16
  }, {
17
17
  success: boolean;
18
+ surface: "chat-list" | "chat-history" | "recommend-list";
19
+ direction: "up" | "down";
20
+ stepsRequested: number;
21
+ stepsCompleted: number;
22
+ reachedBoundary: boolean;
23
+ atTop: boolean;
24
+ atBottom: boolean;
25
+ canScrollUp: boolean;
26
+ canScrollDown: boolean;
18
27
  position: "unknown" | "middle" | "top" | "bottom" | "only-page";
19
28
  before: {
20
29
  containerFound: boolean;
@@ -22,9 +31,9 @@ export declare const zhipinScrollView: import("@roll-agent/sdk").ToolDefinition<
22
31
  scrollTop: number;
23
32
  scrollHeight: number;
24
33
  clientHeight: number;
34
+ itemCount: number;
25
35
  atStart: boolean;
26
36
  atEnd: boolean;
27
- itemCount: number;
28
37
  };
29
38
  after: {
30
39
  containerFound: boolean;
@@ -32,19 +41,10 @@ export declare const zhipinScrollView: import("@roll-agent/sdk").ToolDefinition<
32
41
  scrollTop: number;
33
42
  scrollHeight: number;
34
43
  clientHeight: number;
44
+ itemCount: number;
35
45
  atStart: boolean;
36
46
  atEnd: boolean;
37
- itemCount: number;
38
47
  };
39
- direction: "up" | "down";
40
- stepsRequested: number;
41
- stepsCompleted: number;
42
- reachedBoundary: boolean;
43
- surface: "chat-list" | "chat-history" | "recommend-list";
44
- atTop: boolean;
45
- atBottom: boolean;
46
- canScrollUp: boolean;
47
- canScrollDown: boolean;
48
48
  error?: string | undefined;
49
49
  }>;
50
50
  export {};
@@ -8,44 +8,44 @@ type ZhipinSelectRecommendJobDeps = {
8
8
  };
9
9
  export declare function setZhipinSelectRecommendJobDepsForTests(override: Partial<ZhipinSelectRecommendJobDeps> | undefined): void;
10
10
  export declare const zhipinSelectRecommendJob: import("@roll-agent/sdk").ToolDefinition<{
11
- index?: number | undefined;
11
+ useSearch: boolean;
12
+ forceClick: boolean;
12
13
  jobRef?: string | undefined;
13
14
  jobValue?: string | undefined;
14
15
  jobName?: string | undefined;
16
+ index?: number | undefined;
15
17
  searchKeyword?: string | undefined;
16
- useSearch?: boolean | undefined;
17
- forceClick?: boolean | undefined;
18
18
  }, {
19
- options: {
20
- value: string;
21
- label: string;
22
- index: number;
23
- isCurrent: boolean;
24
- }[];
25
- status: "not_found" | "selected" | "recommend_not_ready" | "already_selected" | "selector_not_found";
26
19
  success: boolean;
20
+ status: "not_found" | "selected" | "recommend_not_ready" | "already_selected" | "selector_not_found";
27
21
  requested: {
28
- index?: number | undefined;
29
22
  jobRef?: string | undefined;
30
23
  jobValue?: string | undefined;
31
24
  jobName?: string | undefined;
25
+ index?: number | undefined;
32
26
  searchKeyword?: string | undefined;
33
27
  useSearch?: boolean | undefined;
34
28
  forceClick?: boolean | undefined;
35
29
  };
36
- matchedCount: number;
37
- error?: string | undefined;
38
- selected?: {
30
+ options: {
31
+ index: number;
39
32
  value: string;
40
33
  label: string;
41
- index: number;
42
34
  isCurrent: boolean;
43
- } | undefined;
35
+ }[];
36
+ matchedCount: number;
44
37
  current?: {
38
+ index: number;
45
39
  value: string;
46
40
  label: string;
41
+ isCurrent: boolean;
42
+ } | undefined;
43
+ selected?: {
47
44
  index: number;
45
+ value: string;
46
+ label: string;
48
47
  isCurrent: boolean;
49
48
  } | undefined;
49
+ error?: string | undefined;
50
50
  }>;
51
51
  export {};
@@ -9,15 +9,15 @@ type ZhipinSendPreparedReplyDeps = {
9
9
  export declare function setZhipinSendPreparedReplyDepsForTests(override: Partial<ZhipinSendPreparedReplyDeps> | undefined): void;
10
10
  export declare const zhipinSendPreparedReply: import("@roll-agent/sdk").ToolDefinition<{
11
11
  preparedReplyId: string;
12
- browserActionApproval?: {
12
+ toolActionApproval?: {
13
13
  id: string;
14
14
  } | undefined;
15
- toolActionApproval?: {
15
+ browserActionApproval?: {
16
16
  id: string;
17
17
  } | undefined;
18
18
  variantDecision?: {
19
- reason: string;
20
19
  chosenOption: "option_1" | "option_2";
20
+ reason: string;
21
21
  confirmedFindingCodes?: ("too_many_questions" | "audit_tone" | "reply_overpacked" | "off_axis_fact_disclosure")[] | undefined;
22
22
  judgeModel?: string | undefined;
23
23
  } | undefined;
@@ -25,13 +25,13 @@ export declare const zhipinSendPreparedReply: import("@roll-agent/sdk").ToolDefi
25
25
  }, {
26
26
  success: boolean;
27
27
  sentMessage: string;
28
- error?: string | undefined;
29
- decisionSource?: "judge" | "orchestrator" | "service_recommended_fallback" | "explicit_no_judge" | undefined;
30
- judgeModel?: string | undefined;
31
28
  chosenOption?: "option_1" | "option_2" | undefined;
29
+ decisionSource?: "judge" | "orchestrator" | "service_recommended_fallback" | "explicit_no_judge" | undefined;
32
30
  decisionReason?: string | undefined;
31
+ judgeModel?: string | undefined;
33
32
  feedbackExpected?: boolean | undefined;
34
33
  feedbackStatus?: "failed" | "accepted" | "duplicate" | "queued" | "skipped" | undefined;
35
34
  feedbackError?: string | undefined;
35
+ error?: string | undefined;
36
36
  }>;
37
37
  export {};
@@ -8,15 +8,7 @@ declare const OutputSchema: z.ZodObject<{
8
8
  success: z.ZodBoolean;
9
9
  sentMessage: z.ZodString;
10
10
  error: z.ZodOptional<z.ZodString>;
11
- }, "strip", z.ZodTypeAny, {
12
- success: boolean;
13
- sentMessage: string;
14
- error?: string | undefined;
15
- }, {
16
- success: boolean;
17
- sentMessage: string;
18
- error?: string | undefined;
19
- }>;
11
+ }, z.core.$strip>;
20
12
  export type ZhipinSendReplyResult = z.infer<typeof OutputSchema>;
21
13
  type NativeVisualActivitySessionLike = Pick<NativeVisualActivitySession, "begin" | "previewMouseMotion" | "succeed" | "fail">;
22
14
  export type ZhipinSendReplyDeps = {
@@ -33,8 +25,8 @@ export declare function sendSignedZhipinReply(input: {
33
25
  }, ctx: AgentContext): Promise<ZhipinSendReplyResult>;
34
26
  export declare const zhipinSendReply: import("@roll-agent/sdk").ToolDefinition<{
35
27
  signedEnvelope: string;
36
- index?: number | undefined;
37
28
  candidateName?: string | undefined;
29
+ index?: number | undefined;
38
30
  }, {
39
31
  success: boolean;
40
32
  sentMessage: string;