@getpaseo/protocol 0.1.104-beta.3 → 0.1.104-beta.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.
- package/dist/generated/validation/ws-outbound.aot.d.ts +2 -0
- package/dist/generated/validation/ws-outbound.aot.js +44107 -0
- package/dist/loop/rpc-schemas.js +1 -1
- package/dist/messages.d.ts +19 -19
- package/dist/messages.js +18 -14
- package/dist/schedule/types.js +1 -1
- package/dist/tool-call-display.js +1 -1
- package/dist/validation/ws-outbound-schema-metadata.d.ts +6206 -0
- package/dist/validation/ws-outbound-schema-metadata.js +3 -0
- package/dist/validation/ws-outbound.d.ts +12 -0
- package/dist/validation/ws-outbound.js +8 -0
- package/package.json +9 -3
package/dist/loop/rpc-schemas.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
-
import { AgentProviderSchema } from "
|
|
2
|
+
import { AgentProviderSchema } from "../provider-manifest.js";
|
|
3
3
|
export const LoopLogEntrySchema = z.object({
|
|
4
4
|
seq: z.number().int().positive(),
|
|
5
5
|
timestamp: z.string(),
|
package/dist/messages.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
import { ChatCreateRequestSchema, ChatListRequestSchema, ChatInspectRequestSchema, ChatDeleteRequestSchema, ChatPostRequestSchema, ChatReadRequestSchema, ChatWaitRequestSchema, ChatCreateResponseSchema, ChatListResponseSchema, ChatInspectResponseSchema, ChatDeleteResponseSchema, ChatPostResponseSchema, ChatReadResponseSchema, ChatWaitResponseSchema } from "./chat/rpc-schemas.js";
|
|
3
|
-
import { ScheduleCreateRequestSchema, ScheduleListRequestSchema, ScheduleInspectRequestSchema, ScheduleLogsRequestSchema, SchedulePauseRequestSchema, ScheduleResumeRequestSchema, ScheduleDeleteRequestSchema, ScheduleRunOnceRequestSchema, ScheduleUpdateRequestSchema, ScheduleCreateResponseSchema, ScheduleListResponseSchema, ScheduleInspectResponseSchema, ScheduleLogsResponseSchema, SchedulePauseResponseSchema, ScheduleResumeResponseSchema, ScheduleDeleteResponseSchema, ScheduleRunOnceResponseSchema, ScheduleUpdateResponseSchema } from "
|
|
4
|
-
import { LoopRunRequestSchema, LoopListRequestSchema, LoopInspectRequestSchema, LoopLogsRequestSchema, LoopStopRequestSchema, LoopRunResponseSchema, LoopListResponseSchema, LoopInspectResponseSchema, LoopLogsResponseSchema, LoopStopResponseSchema } from "
|
|
5
|
-
import { PaseoConfigRawSchema, PaseoLifecycleCommandRawSchema, PaseoMetadataGenerationEntrySchema, PaseoMetadataGenerationSchema, PaseoScriptEntryRawSchema, PaseoWorktreeConfigRawSchema, type PaseoConfigRaw, type PaseoConfigRevision, type PaseoMetadataGeneration, type PaseoMetadataGenerationEntry, type PaseoScriptEntryRaw, type ProjectConfigRpcError } from "
|
|
3
|
+
import { ScheduleCreateRequestSchema, ScheduleListRequestSchema, ScheduleInspectRequestSchema, ScheduleLogsRequestSchema, SchedulePauseRequestSchema, ScheduleResumeRequestSchema, ScheduleDeleteRequestSchema, ScheduleRunOnceRequestSchema, ScheduleUpdateRequestSchema, ScheduleCreateResponseSchema, ScheduleListResponseSchema, ScheduleInspectResponseSchema, ScheduleLogsResponseSchema, SchedulePauseResponseSchema, ScheduleResumeResponseSchema, ScheduleDeleteResponseSchema, ScheduleRunOnceResponseSchema, ScheduleUpdateResponseSchema } from "./schedule/rpc-schemas.js";
|
|
4
|
+
import { LoopRunRequestSchema, LoopListRequestSchema, LoopInspectRequestSchema, LoopLogsRequestSchema, LoopStopRequestSchema, LoopRunResponseSchema, LoopListResponseSchema, LoopInspectResponseSchema, LoopLogsResponseSchema, LoopStopResponseSchema } from "./loop/rpc-schemas.js";
|
|
5
|
+
import { PaseoConfigRawSchema, PaseoLifecycleCommandRawSchema, PaseoMetadataGenerationEntrySchema, PaseoMetadataGenerationSchema, PaseoScriptEntryRawSchema, PaseoWorktreeConfigRawSchema, type PaseoConfigRaw, type PaseoConfigRevision, type PaseoMetadataGeneration, type PaseoMetadataGenerationEntry, type PaseoScriptEntryRaw, type ProjectConfigRpcError } from "./paseo-config-schema.js";
|
|
6
6
|
export { PaseoConfigRawSchema, PaseoLifecycleCommandRawSchema, PaseoMetadataGenerationEntrySchema, PaseoMetadataGenerationSchema, PaseoScriptEntryRawSchema, PaseoWorktreeConfigRawSchema, type PaseoConfigRaw, type PaseoConfigRevision, type PaseoMetadataGeneration, type PaseoMetadataGenerationEntry, type PaseoScriptEntryRaw, type ProjectConfigRpcError, };
|
|
7
7
|
export declare const TerminalProfileSchema: z.ZodObject<{
|
|
8
8
|
id: z.ZodString;
|
|
@@ -8266,7 +8266,7 @@ export declare const SetDaemonConfigResponseMessageSchema: z.ZodObject<{
|
|
|
8266
8266
|
}, z.core.$strip>;
|
|
8267
8267
|
export declare const ReadProjectConfigResponseMessageSchema: z.ZodObject<{
|
|
8268
8268
|
type: z.ZodLiteral<"read_project_config_response">;
|
|
8269
|
-
payload: z.
|
|
8269
|
+
payload: z.ZodUnion<readonly [z.ZodObject<{
|
|
8270
8270
|
requestId: z.ZodString;
|
|
8271
8271
|
repoRoot: z.ZodString;
|
|
8272
8272
|
ok: z.ZodLiteral<true>;
|
|
@@ -8317,11 +8317,11 @@ export declare const ReadProjectConfigResponseMessageSchema: z.ZodObject<{
|
|
|
8317
8317
|
}, z.core.$strip>, z.ZodObject<{
|
|
8318
8318
|
code: z.ZodLiteral<"write_failed">;
|
|
8319
8319
|
}, z.core.$strip>], "code">;
|
|
8320
|
-
}, z.core.$strip>]
|
|
8320
|
+
}, z.core.$strip>]>;
|
|
8321
8321
|
}, z.core.$strip>;
|
|
8322
8322
|
export declare const WriteProjectConfigResponseMessageSchema: z.ZodObject<{
|
|
8323
8323
|
type: z.ZodLiteral<"write_project_config_response">;
|
|
8324
|
-
payload: z.
|
|
8324
|
+
payload: z.ZodUnion<readonly [z.ZodObject<{
|
|
8325
8325
|
requestId: z.ZodString;
|
|
8326
8326
|
repoRoot: z.ZodString;
|
|
8327
8327
|
ok: z.ZodLiteral<true>;
|
|
@@ -8372,7 +8372,7 @@ export declare const WriteProjectConfigResponseMessageSchema: z.ZodObject<{
|
|
|
8372
8372
|
}, z.core.$strip>, z.ZodObject<{
|
|
8373
8373
|
code: z.ZodLiteral<"write_failed">;
|
|
8374
8374
|
}, z.core.$strip>], "code">;
|
|
8375
|
-
}, z.core.$strip>]
|
|
8375
|
+
}, z.core.$strip>]>;
|
|
8376
8376
|
}, z.core.$strip>;
|
|
8377
8377
|
export declare const AgentPermissionRequestMessageSchema: z.ZodObject<{
|
|
8378
8378
|
type: z.ZodLiteral<"agent_permission_request">;
|
|
@@ -13704,7 +13704,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
13704
13704
|
}, z.core.$loose>;
|
|
13705
13705
|
}, z.core.$strip>, z.ZodObject<{
|
|
13706
13706
|
type: z.ZodLiteral<"read_project_config_response">;
|
|
13707
|
-
payload: z.
|
|
13707
|
+
payload: z.ZodUnion<readonly [z.ZodObject<{
|
|
13708
13708
|
requestId: z.ZodString;
|
|
13709
13709
|
repoRoot: z.ZodString;
|
|
13710
13710
|
ok: z.ZodLiteral<true>;
|
|
@@ -13755,10 +13755,10 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
13755
13755
|
}, z.core.$strip>, z.ZodObject<{
|
|
13756
13756
|
code: z.ZodLiteral<"write_failed">;
|
|
13757
13757
|
}, z.core.$strip>], "code">;
|
|
13758
|
-
}, z.core.$strip>]
|
|
13758
|
+
}, z.core.$strip>]>;
|
|
13759
13759
|
}, z.core.$strip>, z.ZodObject<{
|
|
13760
13760
|
type: z.ZodLiteral<"write_project_config_response">;
|
|
13761
|
-
payload: z.
|
|
13761
|
+
payload: z.ZodUnion<readonly [z.ZodObject<{
|
|
13762
13762
|
requestId: z.ZodString;
|
|
13763
13763
|
repoRoot: z.ZodString;
|
|
13764
13764
|
ok: z.ZodLiteral<true>;
|
|
@@ -13809,7 +13809,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
13809
13809
|
}, z.core.$strip>, z.ZodObject<{
|
|
13810
13810
|
code: z.ZodLiteral<"write_failed">;
|
|
13811
13811
|
}, z.core.$strip>], "code">;
|
|
13812
|
-
}, z.core.$strip>]
|
|
13812
|
+
}, z.core.$strip>]>;
|
|
13813
13813
|
}, z.core.$strip>, z.ZodObject<{
|
|
13814
13814
|
type: z.ZodLiteral<"set_agent_mode_response">;
|
|
13815
13815
|
payload: z.ZodObject<{
|
|
@@ -21778,7 +21778,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
21778
21778
|
}, z.core.$loose>;
|
|
21779
21779
|
}, z.core.$strip>, z.ZodObject<{
|
|
21780
21780
|
type: z.ZodLiteral<"read_project_config_response">;
|
|
21781
|
-
payload: z.
|
|
21781
|
+
payload: z.ZodUnion<readonly [z.ZodObject<{
|
|
21782
21782
|
requestId: z.ZodString;
|
|
21783
21783
|
repoRoot: z.ZodString;
|
|
21784
21784
|
ok: z.ZodLiteral<true>;
|
|
@@ -21829,10 +21829,10 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
21829
21829
|
}, z.core.$strip>, z.ZodObject<{
|
|
21830
21830
|
code: z.ZodLiteral<"write_failed">;
|
|
21831
21831
|
}, z.core.$strip>], "code">;
|
|
21832
|
-
}, z.core.$strip>]
|
|
21832
|
+
}, z.core.$strip>]>;
|
|
21833
21833
|
}, z.core.$strip>, z.ZodObject<{
|
|
21834
21834
|
type: z.ZodLiteral<"write_project_config_response">;
|
|
21835
|
-
payload: z.
|
|
21835
|
+
payload: z.ZodUnion<readonly [z.ZodObject<{
|
|
21836
21836
|
requestId: z.ZodString;
|
|
21837
21837
|
repoRoot: z.ZodString;
|
|
21838
21838
|
ok: z.ZodLiteral<true>;
|
|
@@ -21883,7 +21883,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
21883
21883
|
}, z.core.$strip>, z.ZodObject<{
|
|
21884
21884
|
code: z.ZodLiteral<"write_failed">;
|
|
21885
21885
|
}, z.core.$strip>], "code">;
|
|
21886
|
-
}, z.core.$strip>]
|
|
21886
|
+
}, z.core.$strip>]>;
|
|
21887
21887
|
}, z.core.$strip>, z.ZodObject<{
|
|
21888
21888
|
type: z.ZodLiteral<"set_agent_mode_response">;
|
|
21889
21889
|
payload: z.ZodObject<{
|
|
@@ -29578,7 +29578,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
29578
29578
|
}, z.core.$loose>;
|
|
29579
29579
|
}, z.core.$strip>, z.ZodObject<{
|
|
29580
29580
|
type: z.ZodLiteral<"read_project_config_response">;
|
|
29581
|
-
payload: z.
|
|
29581
|
+
payload: z.ZodUnion<readonly [z.ZodObject<{
|
|
29582
29582
|
requestId: z.ZodString;
|
|
29583
29583
|
repoRoot: z.ZodString;
|
|
29584
29584
|
ok: z.ZodLiteral<true>;
|
|
@@ -29629,10 +29629,10 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
29629
29629
|
}, z.core.$strip>, z.ZodObject<{
|
|
29630
29630
|
code: z.ZodLiteral<"write_failed">;
|
|
29631
29631
|
}, z.core.$strip>], "code">;
|
|
29632
|
-
}, z.core.$strip>]
|
|
29632
|
+
}, z.core.$strip>]>;
|
|
29633
29633
|
}, z.core.$strip>, z.ZodObject<{
|
|
29634
29634
|
type: z.ZodLiteral<"write_project_config_response">;
|
|
29635
|
-
payload: z.
|
|
29635
|
+
payload: z.ZodUnion<readonly [z.ZodObject<{
|
|
29636
29636
|
requestId: z.ZodString;
|
|
29637
29637
|
repoRoot: z.ZodString;
|
|
29638
29638
|
ok: z.ZodLiteral<true>;
|
|
@@ -29683,7 +29683,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
29683
29683
|
}, z.core.$strip>, z.ZodObject<{
|
|
29684
29684
|
code: z.ZodLiteral<"write_failed">;
|
|
29685
29685
|
}, z.core.$strip>], "code">;
|
|
29686
|
-
}, z.core.$strip>]
|
|
29686
|
+
}, z.core.$strip>]>;
|
|
29687
29687
|
}, z.core.$strip>, z.ZodObject<{
|
|
29688
29688
|
type: z.ZodLiteral<"set_agent_mode_response">;
|
|
29689
29689
|
payload: z.ZodObject<{
|
package/dist/messages.js
CHANGED
|
@@ -2,15 +2,15 @@ import { z } from "zod";
|
|
|
2
2
|
import { TerminalActivitySchema } from "./terminal-activity.js";
|
|
3
3
|
import { CLIENT_CAPS } from "./client-capabilities.js";
|
|
4
4
|
import { AGENT_LIFECYCLE_STATUSES } from "./agent-lifecycle.js";
|
|
5
|
-
import { MAX_EXPLICIT_AGENT_TITLE_CHARS } from "
|
|
6
|
-
import { AgentProviderSchema } from "
|
|
7
|
-
import {
|
|
5
|
+
import { MAX_EXPLICIT_AGENT_TITLE_CHARS } from "./agent-title-limits.js";
|
|
6
|
+
import { AgentProviderSchema } from "./provider-manifest.js";
|
|
7
|
+
import { TOOL_CALL_ICON_NAMES } from "./agent-types.js";
|
|
8
8
|
import { ChatCreateRequestSchema, ChatListRequestSchema, ChatInspectRequestSchema, ChatDeleteRequestSchema, ChatPostRequestSchema, ChatReadRequestSchema, ChatWaitRequestSchema, ChatCreateResponseSchema, ChatListResponseSchema, ChatInspectResponseSchema, ChatDeleteResponseSchema, ChatPostResponseSchema, ChatReadResponseSchema, ChatWaitResponseSchema, } from "./chat/rpc-schemas.js";
|
|
9
|
-
import { ScheduleCreateRequestSchema, ScheduleListRequestSchema, ScheduleInspectRequestSchema, ScheduleLogsRequestSchema, SchedulePauseRequestSchema, ScheduleResumeRequestSchema, ScheduleDeleteRequestSchema, ScheduleRunOnceRequestSchema, ScheduleUpdateRequestSchema, ScheduleCreateResponseSchema, ScheduleListResponseSchema, ScheduleInspectResponseSchema, ScheduleLogsResponseSchema, SchedulePauseResponseSchema, ScheduleResumeResponseSchema, ScheduleDeleteResponseSchema, ScheduleRunOnceResponseSchema, ScheduleUpdateResponseSchema, } from "
|
|
10
|
-
import { LoopRunRequestSchema, LoopListRequestSchema, LoopInspectRequestSchema, LoopLogsRequestSchema, LoopStopRequestSchema, LoopRunResponseSchema, LoopListResponseSchema, LoopInspectResponseSchema, LoopLogsResponseSchema, LoopStopResponseSchema, } from "
|
|
9
|
+
import { ScheduleCreateRequestSchema, ScheduleListRequestSchema, ScheduleInspectRequestSchema, ScheduleLogsRequestSchema, SchedulePauseRequestSchema, ScheduleResumeRequestSchema, ScheduleDeleteRequestSchema, ScheduleRunOnceRequestSchema, ScheduleUpdateRequestSchema, ScheduleCreateResponseSchema, ScheduleListResponseSchema, ScheduleInspectResponseSchema, ScheduleLogsResponseSchema, SchedulePauseResponseSchema, ScheduleResumeResponseSchema, ScheduleDeleteResponseSchema, ScheduleRunOnceResponseSchema, ScheduleUpdateResponseSchema, } from "./schedule/rpc-schemas.js";
|
|
10
|
+
import { LoopRunRequestSchema, LoopListRequestSchema, LoopInspectRequestSchema, LoopLogsRequestSchema, LoopStopRequestSchema, LoopRunResponseSchema, LoopListResponseSchema, LoopInspectResponseSchema, LoopLogsResponseSchema, LoopStopResponseSchema, } from "./loop/rpc-schemas.js";
|
|
11
11
|
import { BrowserAutomationExecuteRequestSchema, BrowserAutomationExecuteResponseSchema, } from "./browser-automation/rpc-schemas.js";
|
|
12
12
|
import { BrowserAutomationHostCapabilitySchema } from "./browser-automation/capabilities.js";
|
|
13
|
-
import { PaseoConfigRawSchema, PaseoLifecycleCommandRawSchema, PaseoMetadataGenerationEntrySchema, PaseoMetadataGenerationSchema, PaseoScriptEntryRawSchema, PaseoWorktreeConfigRawSchema, PaseoConfigRevisionSchema, ProjectConfigRpcErrorSchema, } from "
|
|
13
|
+
import { PaseoConfigRawSchema, PaseoLifecycleCommandRawSchema, PaseoMetadataGenerationEntrySchema, PaseoMetadataGenerationSchema, PaseoScriptEntryRawSchema, PaseoWorktreeConfigRawSchema, PaseoConfigRevisionSchema, ProjectConfigRpcErrorSchema, } from "./paseo-config-schema.js";
|
|
14
14
|
export { PaseoConfigRawSchema, PaseoLifecycleCommandRawSchema, PaseoMetadataGenerationEntrySchema, PaseoMetadataGenerationSchema, PaseoScriptEntryRawSchema, PaseoWorktreeConfigRawSchema, };
|
|
15
15
|
// ---------------------------------------------------------------------------
|
|
16
16
|
// Mutable daemon config schemas (shared between server store and client)
|
|
@@ -135,8 +135,7 @@ export const AgentFeatureSchema = z.discriminatedUnion("type", [
|
|
|
135
135
|
AgentFeatureToggleSchema,
|
|
136
136
|
AgentFeatureSelectSchema,
|
|
137
137
|
]);
|
|
138
|
-
const AgentModelDefinitionSchema = z
|
|
139
|
-
.object({
|
|
138
|
+
const AgentModelDefinitionSchema = z.object({
|
|
140
139
|
provider: AgentProviderSchema,
|
|
141
140
|
id: z.string(),
|
|
142
141
|
label: z.string(),
|
|
@@ -146,8 +145,7 @@ const AgentModelDefinitionSchema = z
|
|
|
146
145
|
contextWindowMaxTokens: z.number().optional(),
|
|
147
146
|
thinkingOptions: z.array(AgentSelectOptionSchema).optional(),
|
|
148
147
|
defaultThinkingOptionId: z.string().optional(),
|
|
149
|
-
})
|
|
150
|
-
.transform(normalizeAgentModelDefinition);
|
|
148
|
+
});
|
|
151
149
|
export const ProviderSnapshotEntrySchema = z.object({
|
|
152
150
|
provider: AgentProviderSchema,
|
|
153
151
|
status: ProviderStatusSchema,
|
|
@@ -239,7 +237,7 @@ const AgentPermissionActionSchema = z.object({
|
|
|
239
237
|
variant: z.enum(["primary", "secondary", "danger"]).optional(),
|
|
240
238
|
intent: z.enum(["implement", "implement_resume", "dismiss"]).optional(),
|
|
241
239
|
});
|
|
242
|
-
export const AgentPermissionResponseSchema = z.
|
|
240
|
+
export const AgentPermissionResponseSchema = z.discriminatedUnion("behavior", [
|
|
243
241
|
z.object({
|
|
244
242
|
behavior: z.literal("allow"),
|
|
245
243
|
selectedActionId: z.string().optional(),
|
|
@@ -412,12 +410,14 @@ const ToolCallCanceledPayloadSchema = ToolCallBasePayloadSchema.extend({
|
|
|
412
410
|
status: z.literal("canceled"),
|
|
413
411
|
error: z.null(),
|
|
414
412
|
});
|
|
415
|
-
const ToolCallTimelineItemPayloadSchema = z.
|
|
413
|
+
const ToolCallTimelineItemPayloadSchema = z.discriminatedUnion("status", [
|
|
416
414
|
ToolCallRunningPayloadSchema,
|
|
417
415
|
ToolCallCompletedPayloadSchema,
|
|
418
416
|
ToolCallFailedPayloadSchema,
|
|
419
417
|
ToolCallCanceledPayloadSchema,
|
|
420
418
|
]);
|
|
419
|
+
// zod-aot 0.20.4 miscompiles this as a nested discriminated union by omitting
|
|
420
|
+
// the inner tool_call branch from the generated outer dispatch.
|
|
421
421
|
export const AgentTimelineItemPayloadSchema = z.union([
|
|
422
422
|
z.object({
|
|
423
423
|
type: z.literal("user_message"),
|
|
@@ -2685,7 +2685,9 @@ export const SetDaemonConfigResponseMessageSchema = z.object({
|
|
|
2685
2685
|
});
|
|
2686
2686
|
export const ReadProjectConfigResponseMessageSchema = z.object({
|
|
2687
2687
|
type: z.literal("read_project_config_response"),
|
|
2688
|
-
|
|
2688
|
+
// zod-aot 0.2.0 miscompiles boolean discriminators as string options
|
|
2689
|
+
// (`"true"`/`"false"`), so keep this sequential until upstream fixes it.
|
|
2690
|
+
payload: z.union([
|
|
2689
2691
|
z.object({
|
|
2690
2692
|
requestId: z.string(),
|
|
2691
2693
|
repoRoot: z.string(),
|
|
@@ -2703,7 +2705,9 @@ export const ReadProjectConfigResponseMessageSchema = z.object({
|
|
|
2703
2705
|
});
|
|
2704
2706
|
export const WriteProjectConfigResponseMessageSchema = z.object({
|
|
2705
2707
|
type: z.literal("write_project_config_response"),
|
|
2706
|
-
|
|
2708
|
+
// zod-aot 0.2.0 miscompiles boolean discriminators as string options
|
|
2709
|
+
// (`"true"`/`"false"`), so keep this sequential until upstream fixes it.
|
|
2710
|
+
payload: z.union([
|
|
2707
2711
|
z.object({
|
|
2708
2712
|
requestId: z.string(),
|
|
2709
2713
|
repoRoot: z.string(),
|
package/dist/schedule/types.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
-
import { AgentProviderSchema } from "
|
|
2
|
+
import { AgentProviderSchema } from "../provider-manifest.js";
|
|
3
3
|
export const ScheduleStatusSchema = z.enum(["active", "paused", "completed"]);
|
|
4
4
|
export const ScheduleCadenceSchema = z.discriminatedUnion("type", [
|
|
5
5
|
z.object({
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { getPaseoToolLeafName, isPaseoToolName } from "
|
|
1
|
+
import { getPaseoToolLeafName, isPaseoToolName } from "./tool-name-normalization.js";
|
|
2
2
|
import { stripCwdPrefix } from "./path-utils.js";
|
|
3
3
|
function isRecord(value) {
|
|
4
4
|
return typeof value === "object" && value !== null && !Array.isArray(value);
|