@ziggs-ai/api-client 0.1.19 → 0.1.20
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/http/InboxClient.d.ts +15 -1
- package/dist/http/index.d.ts +1 -1
- package/package.json +1 -1
|
@@ -35,14 +35,25 @@ export interface InboxConnectionRequestRef {
|
|
|
35
35
|
message: string | null;
|
|
36
36
|
requestedAt: string | null;
|
|
37
37
|
}
|
|
38
|
+
/** Agent asking its principal to connect an MCP server + grant tools (ZIG-686). */
|
|
39
|
+
export interface InboxMcpServerRequestRef {
|
|
40
|
+
requestId: string;
|
|
41
|
+
requesterAgentId: string;
|
|
42
|
+
serverUrl: string;
|
|
43
|
+
tools: string[];
|
|
44
|
+
reason: string | null;
|
|
45
|
+
requestedAt: string | null;
|
|
46
|
+
}
|
|
38
47
|
/** Pull-only MCP: prompt the human when proposals need a decision (ZIG-482 / ZIG-481). */
|
|
39
48
|
export interface InboxHumanAttention {
|
|
40
49
|
required: true;
|
|
41
|
-
reason: 'proposals_awaiting_me' | 'connection_requests_awaiting_me' | 'multiple';
|
|
50
|
+
reason: 'proposals_awaiting_me' | 'connection_requests_awaiting_me' | 'mcp_server_requests_awaiting_me' | 'multiple';
|
|
42
51
|
proposalCount: number;
|
|
43
52
|
truncatedProposals: number;
|
|
44
53
|
connectionRequestCount: number;
|
|
45
54
|
truncatedConnectionRequests: number;
|
|
55
|
+
mcpServerRequestCount: number;
|
|
56
|
+
truncatedMcpServerRequests: number;
|
|
46
57
|
promptUser: string;
|
|
47
58
|
}
|
|
48
59
|
export interface InboxEnvelope {
|
|
@@ -54,6 +65,9 @@ export interface InboxEnvelope {
|
|
|
54
65
|
truncatedProposals: number;
|
|
55
66
|
connectionRequestsAwaitingMe: InboxConnectionRequestRef[];
|
|
56
67
|
truncatedConnectionRequests: number;
|
|
68
|
+
/** Agent requests to connect an MCP server awaiting the user (ZIG-686). */
|
|
69
|
+
mcpServerRequestsAwaitingMe: InboxMcpServerRequestRef[];
|
|
70
|
+
truncatedMcpServerRequests: number;
|
|
57
71
|
humanAttention?: InboxHumanAttention;
|
|
58
72
|
}
|
|
59
73
|
export interface InboxAck {
|
package/dist/http/index.d.ts
CHANGED
|
@@ -17,4 +17,4 @@ export type { ContextGrantRecord, ContextGrantScope, ContextGrantScopeKind, Cont
|
|
|
17
17
|
export { AgentSearchClient } from './AgentSearchClient.js';
|
|
18
18
|
export { TelemetryClient } from './TelemetryClient.js';
|
|
19
19
|
export { InboxClient } from './InboxClient.js';
|
|
20
|
-
export type { InboxScopeKind, InboxScopeEntry, InboxProposalRef, InboxConnectionRequestRef, InboxEnvelope, InboxAck, InboxAckResult, } from './InboxClient.js';
|
|
20
|
+
export type { InboxScopeKind, InboxScopeEntry, InboxProposalRef, InboxConnectionRequestRef, InboxMcpServerRequestRef, InboxHumanAttention, InboxEnvelope, InboxAck, InboxAckResult, } from './InboxClient.js';
|