|
1821 | 1821 | "description": "", |
1822 | 1822 | "optional": false |
1823 | 1823 | }, |
| 1824 | + { |
| 1825 | + "name": "clientToolContinuationLimit", |
| 1826 | + "type": "OutputEmitterRef<ClientToolContinuationLimitEvent>", |
| 1827 | + "description": "", |
| 1828 | + "optional": false |
| 1829 | + }, |
| 1830 | + { |
| 1831 | + "name": "clientToolContinuationPolicy", |
| 1832 | + "type": "InputSignal<ClientToolContinuationPolicy | undefined>", |
| 1833 | + "description": "", |
| 1834 | + "optional": false |
| 1835 | + }, |
1824 | 1836 | { |
1825 | 1837 | "name": "clientToolExecutionGuard", |
1826 | 1838 | "type": "InputSignal<ClientToolExecutionGuard | undefined>", |
|
6712 | 6724 | ], |
6713 | 6725 | "examples": [] |
6714 | 6726 | }, |
| 6727 | + { |
| 6728 | + "name": "ClientToolContinuationLimitEvent", |
| 6729 | + "kind": "interface", |
| 6730 | + "description": "Diagnostic emitted when client-tool continuation would exceed the configured max turn count.", |
| 6731 | + "properties": [ |
| 6732 | + { |
| 6733 | + "name": "attemptedTurn", |
| 6734 | + "type": "number", |
| 6735 | + "description": "", |
| 6736 | + "optional": false |
| 6737 | + }, |
| 6738 | + { |
| 6739 | + "name": "maxTurns", |
| 6740 | + "type": "number", |
| 6741 | + "description": "", |
| 6742 | + "optional": false |
| 6743 | + }, |
| 6744 | + { |
| 6745 | + "name": "toolCallIds", |
| 6746 | + "type": "readonly string[]", |
| 6747 | + "description": "", |
| 6748 | + "optional": false |
| 6749 | + }, |
| 6750 | + { |
| 6751 | + "name": "toolNames", |
| 6752 | + "type": "readonly string[]", |
| 6753 | + "description": "", |
| 6754 | + "optional": false |
| 6755 | + } |
| 6756 | + ], |
| 6757 | + "examples": [] |
| 6758 | + }, |
6715 | 6759 | { |
6716 | 6760 | "name": "ClientToolContinuationOptions", |
6717 | 6761 | "kind": "interface", |
|
6726 | 6770 | ], |
6727 | 6771 | "examples": [] |
6728 | 6772 | }, |
| 6773 | + { |
| 6774 | + "name": "ClientToolContinuationPolicy", |
| 6775 | + "kind": "interface", |
| 6776 | + "description": "Policy for automatic client-tool continuation.", |
| 6777 | + "properties": [ |
| 6778 | + { |
| 6779 | + "name": "maxTurns", |
| 6780 | + "type": "number", |
| 6781 | + "description": "Maximum consecutive client-tool continuation groups per user turn. Default: 10. Use 0 for unlimited.", |
| 6782 | + "optional": true |
| 6783 | + }, |
| 6784 | + { |
| 6785 | + "name": "onLimit", |
| 6786 | + "type": "(event: ClientToolContinuationLimitEvent) => void", |
| 6787 | + "description": "Called when the max-turn guard stops a continuation group.", |
| 6788 | + "optional": true |
| 6789 | + } |
| 6790 | + ], |
| 6791 | + "examples": [] |
| 6792 | + }, |
6729 | 6793 | { |
6730 | 6794 | "name": "ClientToolExecutionGuard", |
6731 | 6795 | "kind": "interface", |
|
6862 | 6926 | "type": "(toolCall: ToolCall, result: ClientToolResult) => void", |
6863 | 6927 | "description": "", |
6864 | 6928 | "optional": true |
| 6929 | + }, |
| 6930 | + { |
| 6931 | + "name": "shouldExecuteToolCall", |
| 6932 | + "type": "(toolCall: ToolCall) => boolean", |
| 6933 | + "description": "", |
| 6934 | + "optional": true |
| 6935 | + } |
| 6936 | + ], |
| 6937 | + "examples": [] |
| 6938 | + }, |
| 6939 | + { |
| 6940 | + "name": "ClientToolLifecycle", |
| 6941 | + "kind": "interface", |
| 6942 | + "description": "", |
| 6943 | + "properties": [ |
| 6944 | + { |
| 6945 | + "name": "error", |
| 6946 | + "type": "unknown", |
| 6947 | + "description": "", |
| 6948 | + "optional": true |
| 6949 | + }, |
| 6950 | + { |
| 6951 | + "name": "hasResult", |
| 6952 | + "type": "boolean", |
| 6953 | + "description": "", |
| 6954 | + "optional": false |
| 6955 | + }, |
| 6956 | + { |
| 6957 | + "name": "id", |
| 6958 | + "type": "string", |
| 6959 | + "description": "", |
| 6960 | + "optional": false |
| 6961 | + }, |
| 6962 | + { |
| 6963 | + "name": "name", |
| 6964 | + "type": "string", |
| 6965 | + "description": "", |
| 6966 | + "optional": false |
| 6967 | + }, |
| 6968 | + { |
| 6969 | + "name": "phase", |
| 6970 | + "type": "ClientToolLifecyclePhase", |
| 6971 | + "description": "", |
| 6972 | + "optional": false |
| 6973 | + }, |
| 6974 | + { |
| 6975 | + "name": "result", |
| 6976 | + "type": "unknown", |
| 6977 | + "description": "", |
| 6978 | + "optional": true |
| 6979 | + }, |
| 6980 | + { |
| 6981 | + "name": "status", |
| 6982 | + "type": "ToolCallStatus", |
| 6983 | + "description": "", |
| 6984 | + "optional": false |
6865 | 6985 | } |
6866 | 6986 | ], |
6867 | 6987 | "examples": [] |
|
8201 | 8321 | "signature": "object | object | object", |
8202 | 8322 | "examples": [] |
8203 | 8323 | }, |
| 8324 | + { |
| 8325 | + "name": "ClientToolLifecyclePhase", |
| 8326 | + "kind": "type", |
| 8327 | + "description": "", |
| 8328 | + "signature": "\"running\" | \"complete\" | \"error\"", |
| 8329 | + "examples": [] |
| 8330 | + }, |
8204 | 8331 | { |
8205 | 8332 | "name": "ClientToolRegistry", |
8206 | 8333 | "kind": "type", |
|
8215 | 8342 | "signature": "object | object", |
8216 | 8343 | "examples": [] |
8217 | 8344 | }, |
| 8345 | + { |
| 8346 | + "name": "ClientToolViewProps", |
| 8347 | + "kind": "type", |
| 8348 | + "description": "", |
| 8349 | + "signature": "StandardSchemaInferOutput<S> & { clientTool?: ClientToolLifecycle; status?: ToolCallStatus }", |
| 8350 | + "examples": [] |
| 8351 | + }, |
8218 | 8352 | { |
8219 | 8353 | "name": "ContentBlock", |
8220 | 8354 | "kind": "type", |
|
0 commit comments