@clearideas/agent-runtime-contracts 0.1.0 → 0.2.0

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.
Files changed (2) hide show
  1. package/dist/index.d.ts +20 -20
  2. package/package.json +2 -2
package/dist/index.d.ts CHANGED
@@ -308,18 +308,18 @@ export declare const runErrorSchema: z.ZodObject<{
308
308
  export declare const transcriptItemSchema: z.ZodObject<{
309
309
  id: z.ZodString;
310
310
  type: z.ZodEnum<{
311
- message: "message";
311
+ artifact: "artifact";
312
312
  error: "error";
313
+ message: "message";
313
314
  reasoning: "reasoning";
314
315
  "tool-call": "tool-call";
315
316
  "tool-result": "tool-result";
316
- artifact: "artifact";
317
317
  }>;
318
318
  role: z.ZodOptional<z.ZodEnum<{
319
- system: "system";
320
- user: "user";
321
319
  assistant: "assistant";
320
+ system: "system";
322
321
  tool: "tool";
322
+ user: "user";
323
323
  }>>;
324
324
  content: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
325
325
  type: z.ZodLiteral<"text">;
@@ -411,18 +411,18 @@ export declare const stepResultSchema: z.ZodObject<{
411
411
  transcript: z.ZodOptional<z.ZodArray<z.ZodObject<{
412
412
  id: z.ZodString;
413
413
  type: z.ZodEnum<{
414
- message: "message";
414
+ artifact: "artifact";
415
415
  error: "error";
416
+ message: "message";
416
417
  reasoning: "reasoning";
417
418
  "tool-call": "tool-call";
418
419
  "tool-result": "tool-result";
419
- artifact: "artifact";
420
420
  }>;
421
421
  role: z.ZodOptional<z.ZodEnum<{
422
- system: "system";
423
- user: "user";
424
422
  assistant: "assistant";
423
+ system: "system";
425
424
  tool: "tool";
425
+ user: "user";
426
426
  }>>;
427
427
  content: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
428
428
  type: z.ZodLiteral<"text">;
@@ -552,18 +552,18 @@ export declare const runCheckpointSchema: z.ZodObject<{
552
552
  transcript: z.ZodOptional<z.ZodArray<z.ZodObject<{
553
553
  id: z.ZodString;
554
554
  type: z.ZodEnum<{
555
- message: "message";
555
+ artifact: "artifact";
556
556
  error: "error";
557
+ message: "message";
557
558
  reasoning: "reasoning";
558
559
  "tool-call": "tool-call";
559
560
  "tool-result": "tool-result";
560
- artifact: "artifact";
561
561
  }>;
562
562
  role: z.ZodOptional<z.ZodEnum<{
563
- system: "system";
564
- user: "user";
565
563
  assistant: "assistant";
564
+ system: "system";
566
565
  tool: "tool";
566
+ user: "user";
567
567
  }>>;
568
568
  content: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
569
569
  type: z.ZodLiteral<"text">;
@@ -671,18 +671,18 @@ export declare const runCheckpointSchema: z.ZodObject<{
671
671
  transcript: z.ZodArray<z.ZodObject<{
672
672
  id: z.ZodString;
673
673
  type: z.ZodEnum<{
674
- message: "message";
674
+ artifact: "artifact";
675
675
  error: "error";
676
+ message: "message";
676
677
  reasoning: "reasoning";
677
678
  "tool-call": "tool-call";
678
679
  "tool-result": "tool-result";
679
- artifact: "artifact";
680
680
  }>;
681
681
  role: z.ZodOptional<z.ZodEnum<{
682
- system: "system";
683
- user: "user";
684
682
  assistant: "assistant";
683
+ system: "system";
685
684
  tool: "tool";
685
+ user: "user";
686
686
  }>>;
687
687
  content: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
688
688
  type: z.ZodLiteral<"text">;
@@ -777,18 +777,18 @@ export declare const runCheckpointSchema: z.ZodObject<{
777
777
  activeStepTranscript: z.ZodOptional<z.ZodArray<z.ZodObject<{
778
778
  id: z.ZodString;
779
779
  type: z.ZodEnum<{
780
- message: "message";
780
+ artifact: "artifact";
781
781
  error: "error";
782
+ message: "message";
782
783
  reasoning: "reasoning";
783
784
  "tool-call": "tool-call";
784
785
  "tool-result": "tool-result";
785
- artifact: "artifact";
786
786
  }>;
787
787
  role: z.ZodOptional<z.ZodEnum<{
788
- system: "system";
789
- user: "user";
790
788
  assistant: "assistant";
789
+ system: "system";
791
790
  tool: "tool";
791
+ user: "user";
792
792
  }>>;
793
793
  content: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
794
794
  type: z.ZodLiteral<"text">;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@clearideas/agent-runtime-contracts",
3
- "version": "0.1.0",
3
+ "version": "0.2.0",
4
4
  "description": "Versioned, persistence-independent contracts for Clear Ideas Agent Runtime.",
5
5
  "license": "Apache-2.0",
6
6
  "author": "Clear Ideas Incorporated",
@@ -39,7 +39,7 @@
39
39
  "zod": "^4.4.3"
40
40
  },
41
41
  "devDependencies": {
42
- "typescript": "^6.0.3",
42
+ "typescript": "^7.0.2",
43
43
  "vitest": "^4.0.18"
44
44
  },
45
45
  "engines": {