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/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
- event: TriggerSchema.optional(),
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
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "terse-types",
3
- "version": "0.0.5",
3
+ "version": "0.0.7",
4
4
  "type": "module",
5
5
  "description": "Shared Terse TypeScript types, enums, constants, and helpers.",
6
6
  "main": "./dist/index.js",