@mdedit/agent-client
Advanced tools
+21
-1
@@ -213,3 +213,23 @@ import { ReviewCommand, ArticleReviewCommandsResponse, ReviewCommentThread, ReviewHighlight, ReviewSuggestion, GetArticleReviewResponse, ArticleReviewCommandsRequest, ReviewDocument, ReviewHistoryEvent } from '@mdedit/types'; | ||
| conflictWindowMs?: number; | ||
| /** Optional privacy-safe lifecycle sink. Content and identifiers are never included. */ | ||
| telemetry?: AgentClientTelemetry; | ||
| telemetryContext?: { | ||
| surface: 'api' | 'mcp'; | ||
| agentSource: 'agent_client' | 'mcp'; | ||
| }; | ||
| }; | ||
| type AgentClientTelemetryEvent = { | ||
| event: 'agent_session_started' | 'agent_session_completed'; | ||
| operation_id: string; | ||
| surface: 'api' | 'mcp'; | ||
| agent_source: 'agent_client' | 'mcp'; | ||
| transport?: 'rest' | 'websocket'; | ||
| duration_ms?: number; | ||
| retry_count: number; | ||
| result: 'started' | 'success' | 'failure' | 'disconnected'; | ||
| failure_reason?: string; | ||
| }; | ||
| type AgentClientTelemetry = { | ||
| capture(event: AgentClientTelemetryEvent): void; | ||
| }; | ||
| type AnchorCandidate = { | ||
@@ -344,2 +364,2 @@ range: { | ||
| export { type AfterHeadingAnchor, AgentArticleReviewSession, AgentClientError, AgentClientHttpError, type AgentIdentity, type AgentPresenceIdentity, AmbiguousAnchorError, type AnchorCandidate, AnchorNotFoundError, type AppliedEdit, type ArticlePresence, type ArticleReviewSession, type ArticleReviewTransport, type ArticleSession, type ArticleSessionEvent, type ArticleSessionEventOptions, type ArticleSessionMode, type BeforeHeadingAnchor, CollaborationModeChangedError, type CollaborationStatus, type ContentAnchor, ContentHashMismatchError, type CreateArticleReviewSessionOptions, type EditConflict, type EditOperation, type EditOptions, type EditResult, type InSectionAnchor, InvalidAnchorError, type OpenArticleSessionOptions, type QuoteAnchor, type QuoteContext, type RangeAnchor, ReadOnlySessionError, RestContentConflictError, type ReviewAnchorInput, type ReviewListItem, type ReviewListOptions, type ReviewMutationOptions, SessionClosedError, SessionConnectionError, createArticleReviewSession, normalizeApiBaseUrl, openArticleReviewSession, openArticleSession }; | ||
| export { type AfterHeadingAnchor, AgentArticleReviewSession, AgentClientError, AgentClientHttpError, type AgentClientTelemetry, type AgentClientTelemetryEvent, type AgentIdentity, type AgentPresenceIdentity, AmbiguousAnchorError, type AnchorCandidate, AnchorNotFoundError, type AppliedEdit, type ArticlePresence, type ArticleReviewSession, type ArticleReviewTransport, type ArticleSession, type ArticleSessionEvent, type ArticleSessionEventOptions, type ArticleSessionMode, type BeforeHeadingAnchor, CollaborationModeChangedError, type CollaborationStatus, type ContentAnchor, ContentHashMismatchError, type CreateArticleReviewSessionOptions, type EditConflict, type EditOperation, type EditOptions, type EditResult, type InSectionAnchor, InvalidAnchorError, type OpenArticleSessionOptions, type QuoteAnchor, type QuoteContext, type RangeAnchor, ReadOnlySessionError, RestContentConflictError, type ReviewAnchorInput, type ReviewListItem, type ReviewListOptions, type ReviewMutationOptions, SessionClosedError, SessionConnectionError, createArticleReviewSession, normalizeApiBaseUrl, openArticleReviewSession, openArticleSession }; |
+1
-1
| { | ||
| "name": "@mdedit/agent-client", | ||
| "version": "0.1.0", | ||
| "version": "0.2.0", | ||
| "private": false, | ||
@@ -5,0 +5,0 @@ "type": "module", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
1109067
0.81%11108
1.07%