terse-types 0.0.5 → 0.0.7
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/ApiRouteBuilder.d.ts +2 -0
- package/dist/ApiRoutes.json +2 -0
- package/dist/ModelEvents.d.ts +51 -0
- package/dist/ModelEvents.js +24 -1
- package/dist/ToolDisplayUtils.js +0 -20
- package/dist/Triggers.d.ts +7 -5
- package/dist/Triggers.js +1 -1
- package/dist/json-schema/terse-types.schema.json +15994 -0
- package/dist/types.d.ts +1622 -1725
- package/dist/types.js +6 -5
- package/package.json +1 -1
package/dist/types.js
CHANGED
|
@@ -146,7 +146,7 @@ export const agentOutputSchema = z.object({
|
|
|
146
146
|
});
|
|
147
147
|
export const agentPromptSchema = z.object({
|
|
148
148
|
text: z.string(),
|
|
149
|
-
remoteServerUrl: z.string().optional()
|
|
149
|
+
remoteServerUrl: z.string().optional().nullable()
|
|
150
150
|
});
|
|
151
151
|
export const transientAgentTriggerSchema = z.object({
|
|
152
152
|
id: z.string(),
|
|
@@ -396,7 +396,7 @@ export const sdkAgentRunOptionsPayloadSchema = z.object({
|
|
|
396
396
|
});
|
|
397
397
|
export const sdkAgentRunRequestBodySchema = z.object({
|
|
398
398
|
prompt: z.string().optional(),
|
|
399
|
-
|
|
399
|
+
message: z.string(),
|
|
400
400
|
skills: z.array(skillConfigDataSchema).optional(),
|
|
401
401
|
options: sdkAgentRunOptionsPayloadSchema.optional(),
|
|
402
402
|
toolApprovals: z.array(z.string()).optional()
|
|
@@ -460,9 +460,7 @@ export const sdkApprovalDecisionRequestBodySchema = z.object({
|
|
|
460
460
|
});
|
|
461
461
|
export const sdkDeployJobSchema = z.object({
|
|
462
462
|
jobName: z.string(),
|
|
463
|
-
triggers: z.array(triggerConfigDataSchema)
|
|
464
|
-
outputs: z.array(skillConfigDataSchema),
|
|
465
|
-
toolApprovals: z.array(z.string())
|
|
463
|
+
triggers: z.array(triggerConfigDataSchema)
|
|
466
464
|
});
|
|
467
465
|
export const sdkDeployRequestBodySchema = z
|
|
468
466
|
.object({
|
|
@@ -556,6 +554,9 @@ export const sdkToolExecuteRequestSchema = z.object({
|
|
|
556
554
|
toolName: z.string(),
|
|
557
555
|
params: z.record(z.string(), z.unknown()).optional()
|
|
558
556
|
});
|
|
557
|
+
export const sdkRunTriggerEventResponseSchema = z.object({
|
|
558
|
+
event: serializedEventSchema
|
|
559
|
+
});
|
|
559
560
|
export const manualTriggerRequestSchema = z.object({
|
|
560
561
|
context: z.string().optional()
|
|
561
562
|
});
|