@getpaseo/protocol 0.3.0 → 0.3.1
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/agent-types.d.ts +14 -8
- package/dist/generated/validation/ws-outbound.aot.js +38327 -37494
- package/dist/host-connection-schema.d.ts +0 -1
- package/dist/host-connection-schema.js +0 -1
- package/dist/messages.d.ts +222 -261
- package/dist/messages.js +40 -12
- package/dist/schedule/rpc-schemas.d.ts +8 -64
- package/dist/schedule/types.d.ts +3 -24
- package/dist/schedule/types.js +1 -11
- package/dist/validation/ws-outbound-schema-metadata.d.ts +24 -57
- package/package.json +1 -1
package/dist/agent-types.d.ts
CHANGED
|
@@ -413,6 +413,18 @@ export interface AgentRunResult {
|
|
|
413
413
|
timeline: AgentTimelineItem[];
|
|
414
414
|
canceled?: boolean;
|
|
415
415
|
}
|
|
416
|
+
export type JsonValue = null | boolean | number | string | JsonValue[] | {
|
|
417
|
+
[key: string]: JsonValue;
|
|
418
|
+
};
|
|
419
|
+
export type ProviderOptions = Record<string, JsonValue>;
|
|
420
|
+
export interface McpToolRef {
|
|
421
|
+
kind: "mcp";
|
|
422
|
+
server: string;
|
|
423
|
+
tool: string;
|
|
424
|
+
}
|
|
425
|
+
export interface ToolPolicy {
|
|
426
|
+
preapproved: McpToolRef[];
|
|
427
|
+
}
|
|
416
428
|
export interface AgentSessionConfig {
|
|
417
429
|
provider: AgentProvider;
|
|
418
430
|
cwd: string;
|
|
@@ -426,14 +438,8 @@ export interface AgentSessionConfig {
|
|
|
426
438
|
thinkingOptionId?: string;
|
|
427
439
|
featureValues?: Record<string, unknown>;
|
|
428
440
|
title?: string | null;
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
networkAccess?: boolean;
|
|
432
|
-
webSearch?: boolean;
|
|
433
|
-
extra?: {
|
|
434
|
-
codex?: AgentMetadata;
|
|
435
|
-
claude?: AgentMetadata;
|
|
436
|
-
};
|
|
441
|
+
providerOptions?: ProviderOptions;
|
|
442
|
+
toolPolicy?: ToolPolicy;
|
|
437
443
|
mcpServers?: Record<string, McpServerConfig>;
|
|
438
444
|
/**
|
|
439
445
|
* Internal agents are hidden from listings and don't trigger notifications.
|