@veruna/api-contracts 6.26.0 → 6.28.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 (103) hide show
  1. package/build/controllers/index.d.ts +1 -0
  2. package/build/controllers/index.js +3 -1
  3. package/build/controllers/index.js.map +1 -1
  4. package/build/controllers/memory.controllers.d.ts +1 -0
  5. package/build/controllers/memory.controllers.js +5 -0
  6. package/build/controllers/memory.controllers.js.map +1 -0
  7. package/build/locales/validation.d.ts +40 -0
  8. package/build/locales/validation.js +40 -0
  9. package/build/locales/validation.js.map +1 -1
  10. package/build/rest-api.d.ts +6 -0
  11. package/build/rest-api.js +6 -0
  12. package/build/rest-api.js.map +1 -1
  13. package/build/routes/index.d.ts +1 -0
  14. package/build/routes/index.js +3 -1
  15. package/build/routes/index.js.map +1 -1
  16. package/build/routes/memory.routes.d.ts +4 -0
  17. package/build/routes/memory.routes.js +8 -0
  18. package/build/routes/memory.routes.js.map +1 -0
  19. package/build/tsconfig.tsbuildinfo +1 -1
  20. package/build/v1/ai/tool-id.enum.d.ts +4 -1
  21. package/build/v1/ai/tool-id.enum.js +3 -0
  22. package/build/v1/ai/tool-id.enum.js.map +1 -1
  23. package/build/v1/chat/commands/create-reg-chat.command.d.ts +3 -0
  24. package/build/v1/chat/commands/create-unreg-chat.command.d.ts +3 -0
  25. package/build/v1/chat/commands/update-chat-title.command.d.ts +3 -0
  26. package/build/v1/chat/commands/update-chat.command.d.ts +3 -0
  27. package/build/v1/chat/queries/get-last-active-chat.query.d.ts +3 -0
  28. package/build/v1/chat/queries/get-reg-chat.query.d.ts +3 -0
  29. package/build/v1/chat/queries/get-unreg-chat.query.d.ts +3 -0
  30. package/build/v1/chat/schemas/chat-with-messages-response.schema.d.ts +3 -0
  31. package/build/v1/index.d.ts +1 -0
  32. package/build/v1/index.js +1 -0
  33. package/build/v1/index.js.map +1 -1
  34. package/build/v1/memory/commands/add-memory-edit.command.d.ts +23 -0
  35. package/build/v1/memory/commands/add-memory-edit.command.js +14 -0
  36. package/build/v1/memory/commands/add-memory-edit.command.js.map +1 -0
  37. package/build/v1/memory/commands/index.d.ts +3 -0
  38. package/build/v1/memory/commands/index.js +20 -0
  39. package/build/v1/memory/commands/index.js.map +1 -0
  40. package/build/v1/memory/commands/remove-memory-edit.command.d.ts +25 -0
  41. package/build/v1/memory/commands/remove-memory-edit.command.js +16 -0
  42. package/build/v1/memory/commands/remove-memory-edit.command.js.map +1 -0
  43. package/build/v1/memory/commands/replace-memory-edit.command.d.ts +27 -0
  44. package/build/v1/memory/commands/replace-memory-edit.command.js +15 -0
  45. package/build/v1/memory/commands/replace-memory-edit.command.js.map +1 -0
  46. package/build/v1/memory/index.d.ts +5 -0
  47. package/build/v1/memory/index.js +22 -0
  48. package/build/v1/memory/index.js.map +1 -0
  49. package/build/v1/memory/memory.constants.d.ts +3 -0
  50. package/build/v1/memory/memory.constants.js +7 -0
  51. package/build/v1/memory/memory.constants.js.map +1 -0
  52. package/build/v1/memory/memory.errors.d.ts +11 -0
  53. package/build/v1/memory/memory.errors.js +44 -0
  54. package/build/v1/memory/memory.errors.js.map +1 -0
  55. package/build/v1/memory/queries/get-user-memory.query.d.ts +21 -0
  56. package/build/v1/memory/queries/get-user-memory.query.js +15 -0
  57. package/build/v1/memory/queries/get-user-memory.query.js.map +1 -0
  58. package/build/v1/memory/queries/index.d.ts +1 -0
  59. package/build/v1/memory/queries/index.js +18 -0
  60. package/build/v1/memory/queries/index.js.map +1 -0
  61. package/build/v1/memory/schemas/add-memory-edit-request.schema.d.ts +5 -0
  62. package/build/v1/memory/schemas/add-memory-edit-request.schema.js +12 -0
  63. package/build/v1/memory/schemas/add-memory-edit-request.schema.js.map +1 -0
  64. package/build/v1/memory/schemas/index.d.ts +7 -0
  65. package/build/v1/memory/schemas/index.js +24 -0
  66. package/build/v1/memory/schemas/index.js.map +1 -0
  67. package/build/v1/memory/schemas/memory-edit-command.enum.d.ts +6 -0
  68. package/build/v1/memory/schemas/memory-edit-command.enum.js +11 -0
  69. package/build/v1/memory/schemas/memory-edit-command.enum.js.map +1 -0
  70. package/build/v1/memory/schemas/memory-edit-params.schema.d.ts +5 -0
  71. package/build/v1/memory/schemas/memory-edit-params.schema.js +10 -0
  72. package/build/v1/memory/schemas/memory-edit-params.schema.js.map +1 -0
  73. package/build/v1/memory/schemas/memory-edit.schema.d.ts +11 -0
  74. package/build/v1/memory/schemas/memory-edit.schema.js +14 -0
  75. package/build/v1/memory/schemas/memory-edit.schema.js.map +1 -0
  76. package/build/v1/memory/schemas/memory-source.enum.d.ts +4 -0
  77. package/build/v1/memory/schemas/memory-source.enum.js +9 -0
  78. package/build/v1/memory/schemas/memory-source.enum.js.map +1 -0
  79. package/build/v1/memory/schemas/replace-memory-edit-request.schema.d.ts +5 -0
  80. package/build/v1/memory/schemas/replace-memory-edit-request.schema.js +12 -0
  81. package/build/v1/memory/schemas/replace-memory-edit-request.schema.js.map +1 -0
  82. package/build/v1/memory/schemas/user-memory-response.schema.d.ts +14 -0
  83. package/build/v1/memory/schemas/user-memory-response.schema.js +12 -0
  84. package/build/v1/memory/schemas/user-memory-response.schema.js.map +1 -0
  85. package/build/v1/message/schemas/generation-step-type.enum.d.ts +4 -1
  86. package/build/v1/message/schemas/generation-step-type.enum.js +3 -0
  87. package/build/v1/message/schemas/generation-step-type.enum.js.map +1 -1
  88. package/build/v1/message/schemas/index.d.ts +2 -2
  89. package/build/v1/message/schemas/index.js +3 -2
  90. package/build/v1/message/schemas/index.js.map +1 -1
  91. package/build/v1/message/schemas/message-response.schema.d.ts +3 -0
  92. package/build/v1/message/schemas/message-step-response.schema.d.ts +15 -0
  93. package/build/v1/message/schemas/message-step-response.schema.js +7 -1
  94. package/build/v1/message/schemas/message-step-response.schema.js.map +1 -1
  95. package/build/v1/plans/schemas/plan-feature.enum.d.ts +2 -1
  96. package/build/v1/plans/schemas/plan-feature.enum.js +1 -0
  97. package/build/v1/plans/schemas/plan-feature.enum.js.map +1 -1
  98. package/build/v1/settings/schemas/user-setting-key.enum.d.ts +2 -1
  99. package/build/v1/settings/schemas/user-setting-key.enum.js +1 -0
  100. package/build/v1/settings/schemas/user-setting-key.enum.js.map +1 -1
  101. package/build/v1/settings/settings.definitions.js +5 -0
  102. package/build/v1/settings/settings.definitions.js.map +1 -1
  103. package/package.json +1 -1
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.MemoryEditSchema = void 0;
4
+ const zod_1 = require("zod");
5
+ const memory_source_enum_1 = require("./memory-source.enum");
6
+ exports.MemoryEditSchema = zod_1.z.object({
7
+ id: zod_1.z.string().uuid(),
8
+ text: zod_1.z.string(),
9
+ source: zod_1.z.nativeEnum(memory_source_enum_1.MemorySource),
10
+ position: zod_1.z.number().int().min(0),
11
+ createdAt: zod_1.z.string().datetime(),
12
+ updatedAt: zod_1.z.string().datetime(),
13
+ });
14
+ //# sourceMappingURL=memory-edit.schema.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"memory-edit.schema.js","sourceRoot":"","sources":["../../../../v1/memory/schemas/memory-edit.schema.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,6DAAoD;AAEvC,QAAA,gBAAgB,GAAG,OAAC,CAAC,MAAM,CAAC;IACrC,EAAE,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IACrB,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE;IAChB,MAAM,EAAE,OAAC,CAAC,UAAU,CAAC,iCAAY,CAAC;IAClC,QAAQ,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IACjC,SAAS,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAChC,SAAS,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CACnC,CAAC,CAAC"}
@@ -0,0 +1,4 @@
1
+ export declare enum MemorySource {
2
+ USER = "USER",
3
+ MODEL = "MODEL"
4
+ }
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.MemorySource = void 0;
4
+ var MemorySource;
5
+ (function (MemorySource) {
6
+ MemorySource["USER"] = "USER";
7
+ MemorySource["MODEL"] = "MODEL";
8
+ })(MemorySource || (exports.MemorySource = MemorySource = {}));
9
+ //# sourceMappingURL=memory-source.enum.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"memory-source.enum.js","sourceRoot":"","sources":["../../../../v1/memory/schemas/memory-source.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,YAGX;AAHD,WAAY,YAAY;IACpB,6BAAa,CAAA;IACb,+BAAe,CAAA;AACnB,CAAC,EAHW,YAAY,4BAAZ,YAAY,QAGvB"}
@@ -0,0 +1,5 @@
1
+ import { z } from 'zod';
2
+ export declare const ReplaceMemoryEditRequestSchema: z.ZodObject<{
3
+ text: z.ZodString;
4
+ }, z.core.$strip>;
5
+ export type ReplaceMemoryEditRequest = z.infer<typeof ReplaceMemoryEditRequestSchema>;
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ReplaceMemoryEditRequestSchema = void 0;
4
+ const zod_1 = require("zod");
5
+ const memory_constants_1 = require("../memory.constants");
6
+ exports.ReplaceMemoryEditRequestSchema = zod_1.z.object({
7
+ text: zod_1.z
8
+ .string({ error: 'ReplaceMemoryEditRequest.text.required' })
9
+ .min(1, { message: 'ReplaceMemoryEditRequest.text.min' })
10
+ .max(memory_constants_1.MEMORY_EDIT_MAX_CHARS, { message: 'ReplaceMemoryEditRequest.text.max' }),
11
+ });
12
+ //# sourceMappingURL=replace-memory-edit-request.schema.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"replace-memory-edit-request.schema.js","sourceRoot":"","sources":["../../../../v1/memory/schemas/replace-memory-edit-request.schema.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,0DAA4D;AAE/C,QAAA,8BAA8B,GAAG,OAAC,CAAC,MAAM,CAAC;IACnD,IAAI,EAAE,OAAC;SACF,MAAM,CAAC,EAAE,KAAK,EAAE,wCAAwC,EAAE,CAAC;SAC3D,GAAG,CAAC,CAAC,EAAE,EAAE,OAAO,EAAE,mCAAmC,EAAE,CAAC;SACxD,GAAG,CAAC,wCAAqB,EAAE,EAAE,OAAO,EAAE,mCAAmC,EAAE,CAAC;CACpF,CAAC,CAAC"}
@@ -0,0 +1,14 @@
1
+ import { z } from 'zod';
2
+ export declare const UserMemoryResponseSchema: z.ZodObject<{
3
+ edits: z.ZodArray<z.ZodObject<{
4
+ id: z.ZodString;
5
+ text: z.ZodString;
6
+ source: z.ZodEnum<typeof import("./memory-source.enum").MemorySource>;
7
+ position: z.ZodNumber;
8
+ createdAt: z.ZodString;
9
+ updatedAt: z.ZodString;
10
+ }, z.core.$strip>>;
11
+ count: z.ZodNumber;
12
+ maxEdits: z.ZodDefault<z.ZodNumber>;
13
+ }, z.core.$strip>;
14
+ export type UserMemoryResponse = z.infer<typeof UserMemoryResponseSchema>;
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UserMemoryResponseSchema = void 0;
4
+ const zod_1 = require("zod");
5
+ const memory_edit_schema_1 = require("./memory-edit.schema");
6
+ const memory_constants_1 = require("../memory.constants");
7
+ exports.UserMemoryResponseSchema = zod_1.z.object({
8
+ edits: zod_1.z.array(memory_edit_schema_1.MemoryEditSchema),
9
+ count: zod_1.z.number().int(),
10
+ maxEdits: zod_1.z.number().int().default(memory_constants_1.MEMORY_MAX_EDITS),
11
+ });
12
+ //# sourceMappingURL=user-memory-response.schema.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"user-memory-response.schema.js","sourceRoot":"","sources":["../../../../v1/memory/schemas/user-memory-response.schema.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,6DAAwD;AACxD,0DAAuD;AAE1C,QAAA,wBAAwB,GAAG,OAAC,CAAC,MAAM,CAAC;IAC7C,KAAK,EAAE,OAAC,CAAC,KAAK,CAAC,qCAAgB,CAAC;IAChC,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;IACvB,QAAQ,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,OAAO,CAAC,mCAAgB,CAAC;CACvD,CAAC,CAAC"}
@@ -13,5 +13,8 @@ export declare enum GenerationStepType {
13
13
  VIEW_FILE = "VIEW_FILE",
14
14
  FIND_IN_CHAT = "FIND_IN_CHAT",
15
15
  SEND_FILE = "SEND_FILE",
16
- BUDGET_PROMO = "BUDGET_PROMO"
16
+ BUDGET_PROMO = "BUDGET_PROMO",
17
+ MEMORY = "MEMORY",
18
+ CONVERSATION_SEARCH = "CONVERSATION_SEARCH",
19
+ RECENT_CHATS = "RECENT_CHATS"
17
20
  }
@@ -18,5 +18,8 @@ var GenerationStepType;
18
18
  GenerationStepType["FIND_IN_CHAT"] = "FIND_IN_CHAT";
19
19
  GenerationStepType["SEND_FILE"] = "SEND_FILE";
20
20
  GenerationStepType["BUDGET_PROMO"] = "BUDGET_PROMO";
21
+ GenerationStepType["MEMORY"] = "MEMORY";
22
+ GenerationStepType["CONVERSATION_SEARCH"] = "CONVERSATION_SEARCH";
23
+ GenerationStepType["RECENT_CHATS"] = "RECENT_CHATS";
21
24
  })(GenerationStepType || (exports.GenerationStepType = GenerationStepType = {}));
22
25
  //# sourceMappingURL=generation-step-type.enum.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"generation-step-type.enum.js","sourceRoot":"","sources":["../../../../v1/message/schemas/generation-step-type.enum.ts"],"names":[],"mappings":";;;AAGA,IAAY,kBAwCX;AAxCD,WAAY,kBAAkB;IAE1B,6CAAuB,CAAA;IAEvB,6DAAuC,CAAA;IAEvC,uEAAiD,CAAA;IAEjD,yDAAmC,CAAA;IAEnC,2DAAqC,CAAA;IAErC,+CAAyB,CAAA;IAEzB,uCAAiB,CAAA;IAEjB,+CAAyB,CAAA;IAEzB,uDAAiC,CAAA;IAEjC,+DAAyC,CAAA;IAEzC,uDAAiC,CAAA;IAEjC,6CAAuB,CAAA;IAEvB,mDAA6B,CAAA;IAE7B,6CAAuB,CAAA;IAWvB,mDAA6B,CAAA;AACjC,CAAC,EAxCW,kBAAkB,kCAAlB,kBAAkB,QAwC7B"}
1
+ {"version":3,"file":"generation-step-type.enum.js","sourceRoot":"","sources":["../../../../v1/message/schemas/generation-step-type.enum.ts"],"names":[],"mappings":";;;AAGA,IAAY,kBA8CX;AA9CD,WAAY,kBAAkB;IAE1B,6CAAuB,CAAA;IAEvB,6DAAuC,CAAA;IAEvC,uEAAiD,CAAA;IAEjD,yDAAmC,CAAA;IAEnC,2DAAqC,CAAA;IAErC,+CAAyB,CAAA;IAEzB,uCAAiB,CAAA;IAEjB,+CAAyB,CAAA;IAEzB,uDAAiC,CAAA;IAEjC,+DAAyC,CAAA;IAEzC,uDAAiC,CAAA;IAEjC,6CAAuB,CAAA;IAEvB,mDAA6B,CAAA;IAE7B,6CAAuB,CAAA;IAWvB,mDAA6B,CAAA;IAE7B,uCAAiB,CAAA;IAEjB,iEAA2C,CAAA;IAE3C,mDAA6B,CAAA;AACjC,CAAC,EA9CW,kBAAkB,kCAAlB,kBAAkB,QA8C7B"}
@@ -4,8 +4,8 @@ export { UserRating } from './user-rating.enum';
4
4
  export { CreateMessageRequestSchema } from './create-message-request.schema';
5
5
  export { CreateMessageResponseSchema } from './create-message-response.schema';
6
6
  export { MessageResponseSchema } from './message-response.schema';
7
- export { MessageStepResponseSchema, MessageStepsResponseSchema, StepContentResponseSchema, TextStepContentSchema, WebSearchCitationSchema, WebSearchStepContentSchema, ImageGenStepContentSchema, UploadStepContentSchema, CodeExecutionStepContentResponseSchema, } from './message-step-response.schema';
8
- export type { MessageStepResponse, MessageStepsResponse, StepContentResponse, TextStepContent, WebSearchCitation, WebSearchStepContent, ImageGenStepContent, UploadStepContent, CodeExecutionStepContentResponse, } from './message-step-response.schema';
7
+ export { MessageStepResponseSchema, MessageStepsResponseSchema, StepContentResponseSchema, TextStepContentSchema, WebSearchCitationSchema, WebSearchStepContentSchema, ImageGenStepContentSchema, UploadStepContentSchema, CodeExecutionStepContentResponseSchema, MemoryStepContentSchema, } from './message-step-response.schema';
8
+ export type { MessageStepResponse, MessageStepsResponse, StepContentResponse, TextStepContent, WebSearchCitation, WebSearchStepContent, ImageGenStepContent, UploadStepContent, CodeExecutionStepContentResponse, MemoryStepContent, } from './message-step-response.schema';
9
9
  export { MessageAttachmentResponseSchema, MessageAttachmentsResponseSchema, AttachmentMetaResponseSchema, } from './message-attachment-response.schema';
10
10
  export type { MessageAttachmentResponse, MessageAttachmentsResponse, AttachmentMetaResponse, } from './message-attachment-response.schema';
11
11
  export { MessageCitationResponseSchema, MessageCitationsResponseSchema, } from './message-citation-response.schema';
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.STEP_CHUNK_LINE_MAX_LENGTH = exports.BashChunkStream = exports.StepChunkKind = exports.StepDoneMetadataByType = exports.StepStartMetadataByType = exports.UploadStepDoneMetadataSchema = exports.CodeExecutionStepStartMetadataSchema = exports.VideoAnalysisStepStartMetadataSchema = exports.ImageEditStepStartMetadataSchema = exports.WebSearchStepStartMetadataSchema = exports.StepDoneMetadataSchema = exports.StepStartMetadataSchema = exports.CitationSchema = exports.CitationStatus = exports.StreamCancellationReason = exports.StreamErrorEventSchema = exports.StreamCancelledEventSchema = exports.StreamDoneEventSchema = exports.StreamHeartbeatEventSchema = exports.StreamCitationsEventSchema = exports.StreamImageGenerationErrorEventSchema = exports.StreamImageEventSchema = exports.StreamBillingEstimateEventSchema = exports.StreamStepBilledEventSchema = exports.StreamStepDoneEventSchema = exports.StreamStepErrorEventSchema = exports.StreamStepChunkEventSchema = exports.StreamStepStartEventSchema = exports.StreamEventSchema = exports.StreamEventType = exports.MessageCitationsResponseSchema = exports.MessageCitationResponseSchema = exports.AttachmentMetaResponseSchema = exports.MessageAttachmentsResponseSchema = exports.MessageAttachmentResponseSchema = exports.CodeExecutionStepContentResponseSchema = exports.UploadStepContentSchema = exports.ImageGenStepContentSchema = exports.WebSearchStepContentSchema = exports.WebSearchCitationSchema = exports.TextStepContentSchema = exports.StepContentResponseSchema = exports.MessageStepsResponseSchema = exports.MessageStepResponseSchema = exports.MessageResponseSchema = exports.CreateMessageResponseSchema = exports.CreateMessageRequestSchema = exports.UserRating = exports.MessageStatus = exports.MessageRole = void 0;
4
- exports.CancelStreamResponseSchema = exports.DeleteMessageResponseSchema = exports.DeleteMessageParamsSchema = exports.RateMessageParamsSchema = exports.RateMessageResponseSchema = exports.RateMessageRequestSchema = exports.GenerationStepSchema = exports.BudgetPromoBudgetCutoffSchema = exports.BudgetPromoDiscountAppliedSchema = exports.BudgetPromoStepContentSchema = exports.BudgetPromoMessageKey = exports.BudgetPromoCta = exports.BudgetPromoKind = exports.MessageStepStatus = exports.isModelAttributedStepType = exports.MODEL_ATTRIBUTED_STEP_TYPES = exports.GenerationStepType = exports.AttachmentsSchema = exports.AttachmentSchema = exports.AttachmentStatus = exports.AttachmentType = exports.AttachmentSource = exports.ViewChunkMetadataSchema = exports.StrReplaceChunkMetadataSchema = exports.CreateFileChunkMetadataSchema = exports.BashChunkMetadataSchema = exports.DescribeChunkMetadataSchema = exports.ArgsChunkMetadataSchema = exports.StepChunkMetadataSchema = exports.STEP_CHUNK_LINES_MAX_ITEMS = void 0;
3
+ exports.BashChunkStream = exports.StepChunkKind = exports.StepDoneMetadataByType = exports.StepStartMetadataByType = exports.UploadStepDoneMetadataSchema = exports.CodeExecutionStepStartMetadataSchema = exports.VideoAnalysisStepStartMetadataSchema = exports.ImageEditStepStartMetadataSchema = exports.WebSearchStepStartMetadataSchema = exports.StepDoneMetadataSchema = exports.StepStartMetadataSchema = exports.CitationSchema = exports.CitationStatus = exports.StreamCancellationReason = exports.StreamErrorEventSchema = exports.StreamCancelledEventSchema = exports.StreamDoneEventSchema = exports.StreamHeartbeatEventSchema = exports.StreamCitationsEventSchema = exports.StreamImageGenerationErrorEventSchema = exports.StreamImageEventSchema = exports.StreamBillingEstimateEventSchema = exports.StreamStepBilledEventSchema = exports.StreamStepDoneEventSchema = exports.StreamStepErrorEventSchema = exports.StreamStepChunkEventSchema = exports.StreamStepStartEventSchema = exports.StreamEventSchema = exports.StreamEventType = exports.MessageCitationsResponseSchema = exports.MessageCitationResponseSchema = exports.AttachmentMetaResponseSchema = exports.MessageAttachmentsResponseSchema = exports.MessageAttachmentResponseSchema = exports.MemoryStepContentSchema = exports.CodeExecutionStepContentResponseSchema = exports.UploadStepContentSchema = exports.ImageGenStepContentSchema = exports.WebSearchStepContentSchema = exports.WebSearchCitationSchema = exports.TextStepContentSchema = exports.StepContentResponseSchema = exports.MessageStepsResponseSchema = exports.MessageStepResponseSchema = exports.MessageResponseSchema = exports.CreateMessageResponseSchema = exports.CreateMessageRequestSchema = exports.UserRating = exports.MessageStatus = exports.MessageRole = void 0;
4
+ exports.CancelStreamResponseSchema = exports.DeleteMessageResponseSchema = exports.DeleteMessageParamsSchema = exports.RateMessageParamsSchema = exports.RateMessageResponseSchema = exports.RateMessageRequestSchema = exports.GenerationStepSchema = exports.BudgetPromoBudgetCutoffSchema = exports.BudgetPromoDiscountAppliedSchema = exports.BudgetPromoStepContentSchema = exports.BudgetPromoMessageKey = exports.BudgetPromoCta = exports.BudgetPromoKind = exports.MessageStepStatus = exports.isModelAttributedStepType = exports.MODEL_ATTRIBUTED_STEP_TYPES = exports.GenerationStepType = exports.AttachmentsSchema = exports.AttachmentSchema = exports.AttachmentStatus = exports.AttachmentType = exports.AttachmentSource = exports.ViewChunkMetadataSchema = exports.StrReplaceChunkMetadataSchema = exports.CreateFileChunkMetadataSchema = exports.BashChunkMetadataSchema = exports.DescribeChunkMetadataSchema = exports.ArgsChunkMetadataSchema = exports.StepChunkMetadataSchema = exports.STEP_CHUNK_LINES_MAX_ITEMS = exports.STEP_CHUNK_LINE_MAX_LENGTH = void 0;
5
5
  var message_role_enum_1 = require("./message-role.enum");
6
6
  Object.defineProperty(exports, "MessageRole", { enumerable: true, get: function () { return message_role_enum_1.MessageRole; } });
7
7
  var message_status_enum_1 = require("./message-status.enum");
@@ -24,6 +24,7 @@ Object.defineProperty(exports, "WebSearchStepContentSchema", { enumerable: true,
24
24
  Object.defineProperty(exports, "ImageGenStepContentSchema", { enumerable: true, get: function () { return message_step_response_schema_1.ImageGenStepContentSchema; } });
25
25
  Object.defineProperty(exports, "UploadStepContentSchema", { enumerable: true, get: function () { return message_step_response_schema_1.UploadStepContentSchema; } });
26
26
  Object.defineProperty(exports, "CodeExecutionStepContentResponseSchema", { enumerable: true, get: function () { return message_step_response_schema_1.CodeExecutionStepContentResponseSchema; } });
27
+ Object.defineProperty(exports, "MemoryStepContentSchema", { enumerable: true, get: function () { return message_step_response_schema_1.MemoryStepContentSchema; } });
27
28
  var message_attachment_response_schema_1 = require("./message-attachment-response.schema");
28
29
  Object.defineProperty(exports, "MessageAttachmentResponseSchema", { enumerable: true, get: function () { return message_attachment_response_schema_1.MessageAttachmentResponseSchema; } });
29
30
  Object.defineProperty(exports, "MessageAttachmentsResponseSchema", { enumerable: true, get: function () { return message_attachment_response_schema_1.MessageAttachmentsResponseSchema; } });
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../v1/message/schemas/index.ts"],"names":[],"mappings":";;;;AAAA,yDAAkD;AAAzC,gHAAA,WAAW,OAAA;AACpB,6DAAsD;AAA7C,oHAAA,aAAa,OAAA;AACtB,uDAAgD;AAAvC,8GAAA,UAAU,OAAA;AACnB,iFAA6E;AAApE,2IAAA,0BAA0B,OAAA;AACnC,mFAA+E;AAAtE,6IAAA,2BAA2B,OAAA;AACpC,qEAAkE;AAAzD,gIAAA,qBAAqB,OAAA;AAC9B,+EAUwC;AATpC,yIAAA,yBAAyB,OAAA;AACzB,0IAAA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,OAAA;AAE7B,6DAI+B;AAH3B,+HAAA,wBAAwB,OAAA;AACxB,gIAAA,yBAAyB,OAAA;AACzB,8HAAA,uBAAuB,OAAA;AAO3B,iEAAiG;AAAxF,kIAAA,yBAAyB,OAAA;AAAE,oIAAA,2BAA2B,OAAA;AAE/D,iFAA6E;AAApE,2IAAA,0BAA0B,OAAA"}
@@ -90,6 +90,9 @@ export declare const MessageResponseSchema: z.ZodObject<{
90
90
  }, z.core.$strip>], "type">;
91
91
  }, z.core.$strip>], "type">>;
92
92
  description: z.ZodOptional<z.ZodString>;
93
+ }, z.core.$strip>, z.ZodObject<{
94
+ command: z.ZodEnum<typeof import("../..").MemoryEditCommand>;
95
+ text: z.ZodNullable<z.ZodString>;
93
96
  }, z.core.$strip>]>>;
94
97
  showInUi: z.ZodBoolean;
95
98
  startedAt: z.ZodNullable<z.ZodString>;
@@ -1,6 +1,7 @@
1
1
  import { z } from 'zod';
2
2
  import { GenerationStepType } from './generation-step-type.enum';
3
3
  import { MessageStepStatus } from './message-step-status.enum';
4
+ import { MemoryEditCommand } from '../../memory/schemas/memory-edit-command.enum';
4
5
  export declare const TextStepContentSchema: z.ZodObject<{
5
6
  content: z.ZodString;
6
7
  }, z.core.$strip>;
@@ -86,6 +87,10 @@ export declare const CodeExecutionStepContentResponseSchema: z.ZodObject<{
86
87
  }, z.core.$strip>], "type">>;
87
88
  description: z.ZodOptional<z.ZodString>;
88
89
  }, z.core.$strip>;
90
+ export declare const MemoryStepContentSchema: z.ZodObject<{
91
+ command: z.ZodEnum<typeof MemoryEditCommand>;
92
+ text: z.ZodNullable<z.ZodString>;
93
+ }, z.core.$strip>;
89
94
  export declare const StepContentResponseSchema: z.ZodUnion<readonly [z.ZodObject<{
90
95
  content: z.ZodString;
91
96
  }, z.core.$strip>, z.ZodObject<{
@@ -161,6 +166,9 @@ export declare const StepContentResponseSchema: z.ZodUnion<readonly [z.ZodObject
161
166
  }, z.core.$strip>], "type">;
162
167
  }, z.core.$strip>], "type">>;
163
168
  description: z.ZodOptional<z.ZodString>;
169
+ }, z.core.$strip>, z.ZodObject<{
170
+ command: z.ZodEnum<typeof MemoryEditCommand>;
171
+ text: z.ZodNullable<z.ZodString>;
164
172
  }, z.core.$strip>]>;
165
173
  export declare const MessageStepResponseSchema: z.ZodObject<{
166
174
  uuid: z.ZodString;
@@ -242,6 +250,9 @@ export declare const MessageStepResponseSchema: z.ZodObject<{
242
250
  }, z.core.$strip>], "type">;
243
251
  }, z.core.$strip>], "type">>;
244
252
  description: z.ZodOptional<z.ZodString>;
253
+ }, z.core.$strip>, z.ZodObject<{
254
+ command: z.ZodEnum<typeof MemoryEditCommand>;
255
+ text: z.ZodNullable<z.ZodString>;
245
256
  }, z.core.$strip>]>>;
246
257
  showInUi: z.ZodBoolean;
247
258
  startedAt: z.ZodNullable<z.ZodString>;
@@ -257,6 +268,7 @@ export type WebSearchStepContent = z.infer<typeof WebSearchStepContentSchema>;
257
268
  export type ImageGenStepContent = z.infer<typeof ImageGenStepContentSchema>;
258
269
  export type UploadStepContent = z.infer<typeof UploadStepContentSchema>;
259
270
  export type CodeExecutionStepContentResponse = z.infer<typeof CodeExecutionStepContentResponseSchema>;
271
+ export type MemoryStepContent = z.infer<typeof MemoryStepContentSchema>;
260
272
  export declare const MessageStepsResponseSchema: z.ZodArray<z.ZodObject<{
261
273
  uuid: z.ZodString;
262
274
  type: z.ZodEnum<typeof GenerationStepType>;
@@ -337,6 +349,9 @@ export declare const MessageStepsResponseSchema: z.ZodArray<z.ZodObject<{
337
349
  }, z.core.$strip>], "type">;
338
350
  }, z.core.$strip>], "type">>;
339
351
  description: z.ZodOptional<z.ZodString>;
352
+ }, z.core.$strip>, z.ZodObject<{
353
+ command: z.ZodEnum<typeof MemoryEditCommand>;
354
+ text: z.ZodNullable<z.ZodString>;
340
355
  }, z.core.$strip>]>>;
341
356
  showInUi: z.ZodBoolean;
342
357
  startedAt: z.ZodNullable<z.ZodString>;
@@ -1,10 +1,11 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.MessageStepsResponseSchema = exports.MessageStepResponseSchema = exports.StepContentResponseSchema = exports.CodeExecutionStepContentResponseSchema = exports.UploadStepContentSchema = exports.ImageGenStepContentSchema = exports.WebSearchStepContentSchema = exports.WebSearchCitationSchema = exports.TextStepContentSchema = void 0;
3
+ exports.MessageStepsResponseSchema = exports.MessageStepResponseSchema = exports.StepContentResponseSchema = exports.MemoryStepContentSchema = exports.CodeExecutionStepContentResponseSchema = exports.UploadStepContentSchema = exports.ImageGenStepContentSchema = exports.WebSearchStepContentSchema = exports.WebSearchCitationSchema = exports.TextStepContentSchema = void 0;
4
4
  const zod_1 = require("zod");
5
5
  const primitive_completion_schema_1 = require("../../tool/sandbox/primitive-completion.schema");
6
6
  const generation_step_type_enum_1 = require("./generation-step-type.enum");
7
7
  const message_step_status_enum_1 = require("./message-step-status.enum");
8
+ const memory_edit_command_enum_1 = require("../../memory/schemas/memory-edit-command.enum");
8
9
  exports.TextStepContentSchema = zod_1.z.object({
9
10
  content: zod_1.z.string(),
10
11
  });
@@ -43,12 +44,17 @@ exports.CodeExecutionStepContentResponseSchema = zod_1.z.object({
43
44
  primitive: primitive_completion_schema_1.SandboxPrimitiveCompletionSchema.optional(),
44
45
  description: zod_1.z.string().optional(),
45
46
  });
47
+ exports.MemoryStepContentSchema = zod_1.z.object({
48
+ command: zod_1.z.enum(memory_edit_command_enum_1.MemoryEditCommand),
49
+ text: zod_1.z.string().nullable(),
50
+ });
46
51
  exports.StepContentResponseSchema = zod_1.z.union([
47
52
  exports.TextStepContentSchema,
48
53
  exports.WebSearchStepContentSchema,
49
54
  exports.ImageGenStepContentSchema,
50
55
  exports.UploadStepContentSchema,
51
56
  exports.CodeExecutionStepContentResponseSchema,
57
+ exports.MemoryStepContentSchema,
52
58
  ]);
53
59
  exports.MessageStepResponseSchema = zod_1.z.object({
54
60
  uuid: zod_1.z.string().uuid(),
@@ -1 +1 @@
1
- {"version":3,"file":"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IAiBxD,sBAAsB,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,WAAW,EAAE,CAAC,QAAQ,EAAE;CACpE,CAAC,CAAC;AAcU,QAAA,0BAA0B,GAAG,OAAC,CAAC,KAAK,CAAC,iCAAyB,CAAC,CAAC"}
1
+ {"version":3,"file":"message-step-response.schema.js","sourceRoot":"","sources":["../../../../v1/message/schemas/message-step-response.schema.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,gGAAkG;AAClG,2EAAiE;AACjE,yEAA+D;AAC/D,4FAAkF;AAKrE,QAAA,qBAAqB,GAAG,OAAC,CAAC,MAAM,CAAC;IAC1C,OAAO,EAAE,OAAC,CAAC,MAAM,EAAE;CACtB,CAAC,CAAC;AAKU,QAAA,uBAAuB,GAAG,OAAC,CAAC,MAAM,CAAC;IAC5C,GAAG,EAAE,OAAC,CAAC,MAAM,EAAE;IACf,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE;IACjB,OAAO,EAAE,OAAC,CAAC,MAAM,EAAE;CACtB,CAAC,CAAC;AAKU,QAAA,0BAA0B,GAAG,OAAC,CAAC,MAAM,CAAC;IAC/C,OAAO,EAAE,OAAC,CAAC,KAAK,CAAC,OAAC,CAAC,MAAM,EAAE,CAAC;IAC5B,SAAS,EAAE,OAAC,CAAC,KAAK,CAAC,+BAAuB,CAAC;CAC9C,CAAC,CAAC;AAKU,QAAA,yBAAyB,GAAG,OAAC,CAAC,IAAI,EAAE,CAAC;AAKrC,QAAA,uBAAuB,GAAG,OAAC,CAAC,MAAM,CAAC;IAC5C,IAAI,EAAE,OAAC,CAAC,KAAK,CAAC,OAAC,CAAC,MAAM,EAAE,CAAC;CAC5B,CAAC,CAAC;AAYU,QAAA,sCAAsC,GAAG,OAAC,CAAC,MAAM,CAAC;IAC3D,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE;IAChB,QAAQ,EAAE,OAAC,CAAC,MAAM,EAAE;IACpB,MAAM,EAAE,OAAC,C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AAC,CAAC,IAAI,CAAC,4CAAiB,CAAC;IASjC,SAAS,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,QAAQ,EAAE;IAEvC,OAAO,EAAE,iCAAyB,CAAC,QAAQ,EAAE;IAE7C,QAAQ,EAAE,OAAC,CAAC,OAAO,EAAE;IAErB,SAAS,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAEhC,WAAW,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAWlC,aAAa,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,WAAW,EAAE,CAAC,QAAQ,EAAE;IAiBxD,sBAAsB,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,WAAW,EAAE,CAAC,QAAQ,EAAE;CACpE,CAAC,CAAC;AAeU,QAAA,0BAA0B,GAAG,OAAC,CAAC,KAAK,CAAC,iCAAyB,CAAC,CAAC"}
@@ -1,5 +1,6 @@
1
1
  export declare enum PlanFeature {
2
2
  WEB_SEARCH = "WEB_SEARCH",
3
3
  FILE_ATTACH = "FILE_ATTACH",
4
- REASONING = "REASONING"
4
+ REASONING = "REASONING",
5
+ MEMORY = "MEMORY"
5
6
  }
@@ -6,5 +6,6 @@ var PlanFeature;
6
6
  PlanFeature["WEB_SEARCH"] = "WEB_SEARCH";
7
7
  PlanFeature["FILE_ATTACH"] = "FILE_ATTACH";
8
8
  PlanFeature["REASONING"] = "REASONING";
9
+ PlanFeature["MEMORY"] = "MEMORY";
9
10
  })(PlanFeature || (exports.PlanFeature = PlanFeature = {}));
10
11
  //# sourceMappingURL=plan-feature.enum.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"plan-feature.enum.js","sourceRoot":"","sources":["../../../../v1/plans/schemas/plan-feature.enum.ts"],"names":[],"mappings":";;;AAIA,IAAY,WAIX;AAJD,WAAY,WAAW;IACnB,wCAAyB,CAAA;IACzB,0CAA2B,CAAA;IAC3B,sCAAuB,CAAA;AAC3B,CAAC,EAJW,WAAW,2BAAX,WAAW,QAItB"}
1
+ {"version":3,"file":"plan-feature.enum.js","sourceRoot":"","sources":["../../../../v1/plans/schemas/plan-feature.enum.ts"],"names":[],"mappings":";;;AAWA,IAAY,WAKX;AALD,WAAY,WAAW;IACnB,wCAAyB,CAAA;IACzB,0CAA2B,CAAA;IAC3B,sCAAuB,CAAA;IACvB,gCAAiB,CAAA;AACrB,CAAC,EALW,WAAW,2BAAX,WAAW,QAKtB"}
@@ -1,5 +1,6 @@
1
1
  export declare enum UserSettingKey {
2
2
  LANGUAGE = "LANGUAGE",
3
3
  REGION = "REGION",
4
- COMPLIANCE_MODE = "COMPLIANCE_MODE"
4
+ COMPLIANCE_MODE = "COMPLIANCE_MODE",
5
+ MEMORY_ENABLED = "MEMORY_ENABLED"
5
6
  }
@@ -6,5 +6,6 @@ var UserSettingKey;
6
6
  UserSettingKey["LANGUAGE"] = "LANGUAGE";
7
7
  UserSettingKey["REGION"] = "REGION";
8
8
  UserSettingKey["COMPLIANCE_MODE"] = "COMPLIANCE_MODE";
9
+ UserSettingKey["MEMORY_ENABLED"] = "MEMORY_ENABLED";
9
10
  })(UserSettingKey || (exports.UserSettingKey = UserSettingKey = {}));
10
11
  //# sourceMappingURL=user-setting-key.enum.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"user-setting-key.enum.js","sourceRoot":"","sources":["../../../../v1/settings/schemas/user-setting-key.enum.ts"],"names":[],"mappings":";;;AAKA,IAAY,cAIX;AAJD,WAAY,cAAc;IACtB,uCAAqB,CAAA;IACrB,mCAAiB,CAAA;IACjB,qDAAmC,CAAA;AACvC,CAAC,EAJW,cAAc,8BAAd,cAAc,QAIzB"}
1
+ {"version":3,"file":"user-setting-key.enum.js","sourceRoot":"","sources":["../../../../v1/settings/schemas/user-setting-key.enum.ts"],"names":[],"mappings":";;;AAKA,IAAY,cAKX;AALD,WAAY,cAAc;IACtB,uCAAqB,CAAA;IACrB,mCAAiB,CAAA;IACjB,qDAAmC,CAAA;IACnC,mDAAiC,CAAA;AACrC,CAAC,EALW,cAAc,8BAAd,cAAc,QAKzB"}
@@ -18,6 +18,11 @@ exports.USER_SETTING_DEFINITIONS = {
18
18
  defaultValue: 'false',
19
19
  allowedValues: ['true', 'false'],
20
20
  },
21
+ [user_setting_key_enum_1.UserSettingKey.MEMORY_ENABLED]: {
22
+ description: 'Personal memory — store and recall info across chats',
23
+ defaultValue: 'true',
24
+ allowedValues: ['true', 'false'],
25
+ },
21
26
  };
22
27
  function isAllowedUserSettingValue(key, value) {
23
28
  const allowed = exports.USER_SETTING_DEFINITIONS[key].allowedValues;
@@ -1 +1 @@
1
- {"version":3,"file":"settings.definitions.js","sourceRoot":"","sources":["../../../v1/settings/settings.definitions.ts"],"names":[],"mappings":";;;AAkCA,8DAGC;AArCD,2EAAiE;AAgBpD,QAAA,wBAAwB,GAAkD;IACnF,CAAC,sCAAc,CAAC,QAAQ,CAAC,EAAE;QACvB,WAAW,EAAE,oBAAoB;QACjC,YAAY,EAAE,IAAI;QAClB,aAAa,EAAE,CAAC,IAAI,EAAE,IAAI,CAAC;KAC9B;IACD,CAAC,sCAAc,CAAC,MAAM,CAAC,EAAE;QACrB,WAAW,EAAE,4CAA4C;QACzD,YAAY,EAAE,IAAI;KACrB;IACD,CAAC,sCAAc,CAAC,eAAe,CAAC,EAAE;QAC9B,WAAW,EAAE,oEAAoE;QACjF,YAAY,EAAE,OAAO;QACrB,aAAa,EAAE,CAAC,MAAM,EAAE,OAAO,CAAC;KACnC;CACJ,CAAC;AAGF,SAAgB,yBAAyB,CAAC,GAAmB,EAAE,KAAa;IACxE,MAAM,OAAO,GAAG,gCAAwB,CAAC,GAAG,CAAC,CAAC,aAAa,CAAC;IAC5D,OAAO,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,MAAM,GAAG,CAAC,CAAC;AAChE,CAAC"}
1
+ {"version":3,"file":"settings.definitions.js","sourceRoot":"","sources":["../../../v1/settings/settings.definitions.ts"],"names":[],"mappings":";;;AAuCA,8DAGC;AA1CD,2EAAiE;AAgBpD,QAAA,wBAAwB,GAAkD;IACnF,CAAC,sCAAc,CAAC,QAAQ,CAAC,EAAE;QACvB,WAAW,EAAE,oBAAoB;QACjC,YAAY,EAAE,IAAI;QAClB,aAAa,EAAE,CAAC,IAAI,EAAE,IAAI,CAAC;KAC9B;IACD,CAAC,sCAAc,CAAC,MAAM,CAAC,EAAE;QACrB,WAAW,EAAE,4CAA4C;QACzD,YAAY,EAAE,IAAI;KACrB;IACD,CAAC,sCAAc,CAAC,eAAe,CAAC,EAAE;QAC9B,WAAW,EAAE,oEAAoE;QACjF,YAAY,EAAE,OAAO;QACrB,aAAa,EAAE,CAAC,MAAM,EAAE,OAAO,CAAC;KACnC;IACD,CAAC,sCAAc,CAAC,cAAc,CAAC,EAAE;QAC7B,WAAW,EAAE,sDAAsD;QACnE,YAAY,EAAE,MAAM;QACpB,aAAa,EAAE,CAAC,MAAM,EAAE,OAAO,CAAC;KACnC;CACJ,CAAC;AAGF,SAAgB,yBAAyB,CAAC,GAAmB,EAAE,KAAa;IACxE,MAAM,OAAO,GAAG,gCAAwB,CAAC,GAAG,CAAC,CAAC,aAAa,CAAC;IAC5D,OAAO,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,MAAM,GAAG,CAAC,CAAC;AAChE,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@veruna/api-contracts",
3
- "version": "6.26.0",
3
+ "version": "6.28.0",
4
4
  "description": "API contracts for Veruna project - Zod schemas, types, and paths",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",