@supernova-studio/client 1.31.1 → 1.31.3

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/index.d.mts CHANGED
@@ -68475,7 +68475,7 @@ declare const DTOFeatureMessage: z__default.ZodObject<{
68475
68475
  /**
68476
68476
  * Link agent response object describing current state of
68477
68477
  */
68478
- agentResponseTrackerId: z__default.ZodOptional<z__default.ZodString>;
68478
+ agentResponseTrackerId: z__default.ZodNullable<z__default.ZodOptional<z__default.ZodString>>;
68479
68479
  attachments: z__default.ZodOptional<z__default.ZodObject<{
68480
68480
  iterationId: z__default.ZodOptional<z__default.ZodString>;
68481
68481
  }, "strip", z__default.ZodTypeAny, {
@@ -68502,7 +68502,7 @@ declare const DTOFeatureMessage: z__default.ZodObject<{
68502
68502
  isPrompt?: boolean | undefined;
68503
68503
  startsNewThread?: boolean | undefined;
68504
68504
  parentMessageId?: string | undefined;
68505
- agentResponseTrackerId?: string | undefined;
68505
+ agentResponseTrackerId?: string | null | undefined;
68506
68506
  attachments?: {
68507
68507
  iterationId?: string | undefined;
68508
68508
  } | undefined;
@@ -68523,7 +68523,7 @@ declare const DTOFeatureMessage: z__default.ZodObject<{
68523
68523
  isPrompt?: boolean | undefined;
68524
68524
  startsNewThread?: boolean | undefined;
68525
68525
  parentMessageId?: string | undefined;
68526
- agentResponseTrackerId?: string | undefined;
68526
+ agentResponseTrackerId?: string | null | undefined;
68527
68527
  attachments?: {
68528
68528
  iterationId?: string | undefined;
68529
68529
  } | undefined;
@@ -68685,7 +68685,7 @@ declare const DTOFeatureMessageCreateInput: z__default.ZodObject<Pick<{
68685
68685
  /**
68686
68686
  * Link agent response object describing current state of
68687
68687
  */
68688
- agentResponseTrackerId: z__default.ZodOptional<z__default.ZodString>;
68688
+ agentResponseTrackerId: z__default.ZodNullable<z__default.ZodOptional<z__default.ZodString>>;
68689
68689
  attachments: z__default.ZodOptional<z__default.ZodObject<{
68690
68690
  iterationId: z__default.ZodOptional<z__default.ZodString>;
68691
68691
  }, "strip", z__default.ZodTypeAny, {
@@ -68711,7 +68711,7 @@ declare const DTOFeatureMessageCreateInput: z__default.ZodObject<Pick<{
68711
68711
  isPrompt?: boolean | undefined;
68712
68712
  startsNewThread?: boolean | undefined;
68713
68713
  parentMessageId?: string | undefined;
68714
- agentResponseTrackerId?: string | undefined;
68714
+ agentResponseTrackerId?: string | null | undefined;
68715
68715
  }, {
68716
68716
  id: string;
68717
68717
  createdAt: string;
@@ -68728,18 +68728,73 @@ declare const DTOFeatureMessageCreateInput: z__default.ZodObject<Pick<{
68728
68728
  isPrompt?: boolean | undefined;
68729
68729
  startsNewThread?: boolean | undefined;
68730
68730
  parentMessageId?: string | undefined;
68731
- agentResponseTrackerId?: string | undefined;
68731
+ agentResponseTrackerId?: string | null | undefined;
68732
68732
  }>;
68733
68733
  type DTOFeatureMessageCreateInput = z__default.infer<typeof DTOFeatureMessageCreateInput>;
68734
68734
  declare const DTOFeatureMessageUpdateInput: z__default.ZodObject<{
68735
+ createdAt: z__default.ZodOptional<z__default.ZodString>;
68736
+ sender: z__default.ZodOptional<z__default.ZodDiscriminatedUnion<"type", [z__default.ZodObject<{
68737
+ type: z__default.ZodLiteral<"User">;
68738
+ userId: z__default.ZodString;
68739
+ }, "strip", z__default.ZodTypeAny, {
68740
+ type: "User";
68741
+ userId: string;
68742
+ }, {
68743
+ type: "User";
68744
+ userId: string;
68745
+ }>, z__default.ZodObject<{
68746
+ type: z__default.ZodLiteral<"Agent">;
68747
+ }, "strip", z__default.ZodTypeAny, {
68748
+ type: "Agent";
68749
+ }, {
68750
+ type: "Agent";
68751
+ }>, z__default.ZodObject<{
68752
+ type: z__default.ZodLiteral<"System">;
68753
+ onBehalfOfUserId: z__default.ZodString;
68754
+ }, "strip", z__default.ZodTypeAny, {
68755
+ type: "System";
68756
+ onBehalfOfUserId: string;
68757
+ }, {
68758
+ type: "System";
68759
+ onBehalfOfUserId: string;
68760
+ }>]>>;
68735
68761
  body: z__default.ZodOptional<z__default.ZodString>;
68736
- agentResponseTrackerId: z__default.ZodOptional<z__default.ZodOptional<z__default.ZodString>>;
68762
+ isPrompt: z__default.ZodOptional<z__default.ZodOptional<z__default.ZodBoolean>>;
68763
+ startsNewThread: z__default.ZodOptional<z__default.ZodOptional<z__default.ZodBoolean>>;
68764
+ parentMessageId: z__default.ZodOptional<z__default.ZodOptional<z__default.ZodString>>;
68765
+ agentResponseTrackerId: z__default.ZodOptional<z__default.ZodNullable<z__default.ZodOptional<z__default.ZodString>>>;
68737
68766
  }, "strip", z__default.ZodTypeAny, {
68767
+ createdAt?: string | undefined;
68768
+ sender?: {
68769
+ type: "User";
68770
+ userId: string;
68771
+ } | {
68772
+ type: "Agent";
68773
+ } | {
68774
+ type: "System";
68775
+ onBehalfOfUserId: string;
68776
+ } | undefined;
68738
68777
  body?: string | undefined;
68739
- agentResponseTrackerId?: string | undefined;
68778
+ isPrompt?: boolean | undefined;
68779
+ startsNewThread?: boolean | undefined;
68780
+ parentMessageId?: string | undefined;
68781
+ agentResponseTrackerId?: string | null | undefined;
68740
68782
  }, {
68783
+ createdAt?: string | undefined;
68784
+ sender?: {
68785
+ type: "User";
68786
+ userId: string;
68787
+ } | {
68788
+ type: "Agent";
68789
+ } | {
68790
+ type: "System";
68791
+ onBehalfOfUserId: string;
68792
+ } | undefined;
68741
68793
  body?: string | undefined;
68742
- agentResponseTrackerId?: string | undefined;
68794
+ isPrompt?: boolean | undefined;
68795
+ startsNewThread?: boolean | undefined;
68796
+ parentMessageId?: string | undefined;
68797
+ agentResponseTrackerId?: string | null | undefined;
68743
68798
  }>;
68744
68799
  type DTOFeatureMessageUpdateInput = z__default.infer<typeof DTOFeatureMessageUpdateInput>;
68745
68800
  declare const DTOFeatureMessageReactionDeleteInput: z__default.ZodObject<{
@@ -68980,7 +69035,7 @@ declare const DTOFeatureMessageResponse: z__default.ZodObject<{
68980
69035
  /**
68981
69036
  * Link agent response object describing current state of
68982
69037
  */
68983
- agentResponseTrackerId: z__default.ZodOptional<z__default.ZodString>;
69038
+ agentResponseTrackerId: z__default.ZodNullable<z__default.ZodOptional<z__default.ZodString>>;
68984
69039
  attachments: z__default.ZodOptional<z__default.ZodObject<{
68985
69040
  iterationId: z__default.ZodOptional<z__default.ZodString>;
68986
69041
  }, "strip", z__default.ZodTypeAny, {
@@ -69007,7 +69062,7 @@ declare const DTOFeatureMessageResponse: z__default.ZodObject<{
69007
69062
  isPrompt?: boolean | undefined;
69008
69063
  startsNewThread?: boolean | undefined;
69009
69064
  parentMessageId?: string | undefined;
69010
- agentResponseTrackerId?: string | undefined;
69065
+ agentResponseTrackerId?: string | null | undefined;
69011
69066
  attachments?: {
69012
69067
  iterationId?: string | undefined;
69013
69068
  } | undefined;
@@ -69028,7 +69083,7 @@ declare const DTOFeatureMessageResponse: z__default.ZodObject<{
69028
69083
  isPrompt?: boolean | undefined;
69029
69084
  startsNewThread?: boolean | undefined;
69030
69085
  parentMessageId?: string | undefined;
69031
- agentResponseTrackerId?: string | undefined;
69086
+ agentResponseTrackerId?: string | null | undefined;
69032
69087
  attachments?: {
69033
69088
  iterationId?: string | undefined;
69034
69089
  } | undefined;
@@ -69051,7 +69106,7 @@ declare const DTOFeatureMessageResponse: z__default.ZodObject<{
69051
69106
  isPrompt?: boolean | undefined;
69052
69107
  startsNewThread?: boolean | undefined;
69053
69108
  parentMessageId?: string | undefined;
69054
- agentResponseTrackerId?: string | undefined;
69109
+ agentResponseTrackerId?: string | null | undefined;
69055
69110
  attachments?: {
69056
69111
  iterationId?: string | undefined;
69057
69112
  } | undefined;
@@ -69074,7 +69129,7 @@ declare const DTOFeatureMessageResponse: z__default.ZodObject<{
69074
69129
  isPrompt?: boolean | undefined;
69075
69130
  startsNewThread?: boolean | undefined;
69076
69131
  parentMessageId?: string | undefined;
69077
- agentResponseTrackerId?: string | undefined;
69132
+ agentResponseTrackerId?: string | null | undefined;
69078
69133
  attachments?: {
69079
69134
  iterationId?: string | undefined;
69080
69135
  } | undefined;
@@ -69165,7 +69220,7 @@ declare const DTOFeatureMessageListResponse: z__default.ZodObject<{
69165
69220
  /**
69166
69221
  * Link agent response object describing current state of
69167
69222
  */
69168
- agentResponseTrackerId: z__default.ZodOptional<z__default.ZodString>;
69223
+ agentResponseTrackerId: z__default.ZodNullable<z__default.ZodOptional<z__default.ZodString>>;
69169
69224
  attachments: z__default.ZodOptional<z__default.ZodObject<{
69170
69225
  iterationId: z__default.ZodOptional<z__default.ZodString>;
69171
69226
  }, "strip", z__default.ZodTypeAny, {
@@ -69192,7 +69247,7 @@ declare const DTOFeatureMessageListResponse: z__default.ZodObject<{
69192
69247
  isPrompt?: boolean | undefined;
69193
69248
  startsNewThread?: boolean | undefined;
69194
69249
  parentMessageId?: string | undefined;
69195
- agentResponseTrackerId?: string | undefined;
69250
+ agentResponseTrackerId?: string | null | undefined;
69196
69251
  attachments?: {
69197
69252
  iterationId?: string | undefined;
69198
69253
  } | undefined;
@@ -69213,7 +69268,7 @@ declare const DTOFeatureMessageListResponse: z__default.ZodObject<{
69213
69268
  isPrompt?: boolean | undefined;
69214
69269
  startsNewThread?: boolean | undefined;
69215
69270
  parentMessageId?: string | undefined;
69216
- agentResponseTrackerId?: string | undefined;
69271
+ agentResponseTrackerId?: string | null | undefined;
69217
69272
  attachments?: {
69218
69273
  iterationId?: string | undefined;
69219
69274
  } | undefined;
@@ -69253,7 +69308,7 @@ declare const DTOFeatureMessageListResponse: z__default.ZodObject<{
69253
69308
  isPrompt?: boolean | undefined;
69254
69309
  startsNewThread?: boolean | undefined;
69255
69310
  parentMessageId?: string | undefined;
69256
- agentResponseTrackerId?: string | undefined;
69311
+ agentResponseTrackerId?: string | null | undefined;
69257
69312
  attachments?: {
69258
69313
  iterationId?: string | undefined;
69259
69314
  } | undefined;
@@ -69283,7 +69338,7 @@ declare const DTOFeatureMessageListResponse: z__default.ZodObject<{
69283
69338
  isPrompt?: boolean | undefined;
69284
69339
  startsNewThread?: boolean | undefined;
69285
69340
  parentMessageId?: string | undefined;
69286
- agentResponseTrackerId?: string | undefined;
69341
+ agentResponseTrackerId?: string | null | undefined;
69287
69342
  attachments?: {
69288
69343
  iterationId?: string | undefined;
69289
69344
  } | undefined;
@@ -69685,7 +69740,7 @@ declare const DTOFeatureEventMessagesSent: z__default.ZodObject<{
69685
69740
  /**
69686
69741
  * Link agent response object describing current state of
69687
69742
  */
69688
- agentResponseTrackerId: z__default.ZodOptional<z__default.ZodString>;
69743
+ agentResponseTrackerId: z__default.ZodNullable<z__default.ZodOptional<z__default.ZodString>>;
69689
69744
  attachments: z__default.ZodOptional<z__default.ZodObject<{
69690
69745
  iterationId: z__default.ZodOptional<z__default.ZodString>;
69691
69746
  }, "strip", z__default.ZodTypeAny, {
@@ -69712,7 +69767,7 @@ declare const DTOFeatureEventMessagesSent: z__default.ZodObject<{
69712
69767
  isPrompt?: boolean | undefined;
69713
69768
  startsNewThread?: boolean | undefined;
69714
69769
  parentMessageId?: string | undefined;
69715
- agentResponseTrackerId?: string | undefined;
69770
+ agentResponseTrackerId?: string | null | undefined;
69716
69771
  attachments?: {
69717
69772
  iterationId?: string | undefined;
69718
69773
  } | undefined;
@@ -69733,7 +69788,7 @@ declare const DTOFeatureEventMessagesSent: z__default.ZodObject<{
69733
69788
  isPrompt?: boolean | undefined;
69734
69789
  startsNewThread?: boolean | undefined;
69735
69790
  parentMessageId?: string | undefined;
69736
- agentResponseTrackerId?: string | undefined;
69791
+ agentResponseTrackerId?: string | null | undefined;
69737
69792
  attachments?: {
69738
69793
  iterationId?: string | undefined;
69739
69794
  } | undefined;
@@ -69757,7 +69812,7 @@ declare const DTOFeatureEventMessagesSent: z__default.ZodObject<{
69757
69812
  isPrompt?: boolean | undefined;
69758
69813
  startsNewThread?: boolean | undefined;
69759
69814
  parentMessageId?: string | undefined;
69760
- agentResponseTrackerId?: string | undefined;
69815
+ agentResponseTrackerId?: string | null | undefined;
69761
69816
  attachments?: {
69762
69817
  iterationId?: string | undefined;
69763
69818
  } | undefined;
@@ -69781,7 +69836,7 @@ declare const DTOFeatureEventMessagesSent: z__default.ZodObject<{
69781
69836
  isPrompt?: boolean | undefined;
69782
69837
  startsNewThread?: boolean | undefined;
69783
69838
  parentMessageId?: string | undefined;
69784
- agentResponseTrackerId?: string | undefined;
69839
+ agentResponseTrackerId?: string | null | undefined;
69785
69840
  attachments?: {
69786
69841
  iterationId?: string | undefined;
69787
69842
  } | undefined;
@@ -69912,7 +69967,7 @@ declare const DTOFeatureEventAgentResponseFinished: z__default.ZodObject<{
69912
69967
  /**
69913
69968
  * Link agent response object describing current state of
69914
69969
  */
69915
- agentResponseTrackerId: z__default.ZodOptional<z__default.ZodString>;
69970
+ agentResponseTrackerId: z__default.ZodNullable<z__default.ZodOptional<z__default.ZodString>>;
69916
69971
  attachments: z__default.ZodOptional<z__default.ZodObject<{
69917
69972
  iterationId: z__default.ZodOptional<z__default.ZodString>;
69918
69973
  }, "strip", z__default.ZodTypeAny, {
@@ -69939,7 +69994,7 @@ declare const DTOFeatureEventAgentResponseFinished: z__default.ZodObject<{
69939
69994
  isPrompt?: boolean | undefined;
69940
69995
  startsNewThread?: boolean | undefined;
69941
69996
  parentMessageId?: string | undefined;
69942
- agentResponseTrackerId?: string | undefined;
69997
+ agentResponseTrackerId?: string | null | undefined;
69943
69998
  attachments?: {
69944
69999
  iterationId?: string | undefined;
69945
70000
  } | undefined;
@@ -69960,7 +70015,7 @@ declare const DTOFeatureEventAgentResponseFinished: z__default.ZodObject<{
69960
70015
  isPrompt?: boolean | undefined;
69961
70016
  startsNewThread?: boolean | undefined;
69962
70017
  parentMessageId?: string | undefined;
69963
- agentResponseTrackerId?: string | undefined;
70018
+ agentResponseTrackerId?: string | null | undefined;
69964
70019
  attachments?: {
69965
70020
  iterationId?: string | undefined;
69966
70021
  } | undefined;
@@ -69984,7 +70039,7 @@ declare const DTOFeatureEventAgentResponseFinished: z__default.ZodObject<{
69984
70039
  isPrompt?: boolean | undefined;
69985
70040
  startsNewThread?: boolean | undefined;
69986
70041
  parentMessageId?: string | undefined;
69987
- agentResponseTrackerId?: string | undefined;
70042
+ agentResponseTrackerId?: string | null | undefined;
69988
70043
  attachments?: {
69989
70044
  iterationId?: string | undefined;
69990
70045
  } | undefined;
@@ -70008,7 +70063,7 @@ declare const DTOFeatureEventAgentResponseFinished: z__default.ZodObject<{
70008
70063
  isPrompt?: boolean | undefined;
70009
70064
  startsNewThread?: boolean | undefined;
70010
70065
  parentMessageId?: string | undefined;
70011
- agentResponseTrackerId?: string | undefined;
70066
+ agentResponseTrackerId?: string | null | undefined;
70012
70067
  attachments?: {
70013
70068
  iterationId?: string | undefined;
70014
70069
  } | undefined;
@@ -70067,7 +70122,7 @@ declare const DTOFeatureEvent: z__default.ZodDiscriminatedUnion<"type", [z__defa
70067
70122
  /**
70068
70123
  * Link agent response object describing current state of
70069
70124
  */
70070
- agentResponseTrackerId: z__default.ZodOptional<z__default.ZodString>;
70125
+ agentResponseTrackerId: z__default.ZodNullable<z__default.ZodOptional<z__default.ZodString>>;
70071
70126
  attachments: z__default.ZodOptional<z__default.ZodObject<{
70072
70127
  iterationId: z__default.ZodOptional<z__default.ZodString>;
70073
70128
  }, "strip", z__default.ZodTypeAny, {
@@ -70094,7 +70149,7 @@ declare const DTOFeatureEvent: z__default.ZodDiscriminatedUnion<"type", [z__defa
70094
70149
  isPrompt?: boolean | undefined;
70095
70150
  startsNewThread?: boolean | undefined;
70096
70151
  parentMessageId?: string | undefined;
70097
- agentResponseTrackerId?: string | undefined;
70152
+ agentResponseTrackerId?: string | null | undefined;
70098
70153
  attachments?: {
70099
70154
  iterationId?: string | undefined;
70100
70155
  } | undefined;
@@ -70115,7 +70170,7 @@ declare const DTOFeatureEvent: z__default.ZodDiscriminatedUnion<"type", [z__defa
70115
70170
  isPrompt?: boolean | undefined;
70116
70171
  startsNewThread?: boolean | undefined;
70117
70172
  parentMessageId?: string | undefined;
70118
- agentResponseTrackerId?: string | undefined;
70173
+ agentResponseTrackerId?: string | null | undefined;
70119
70174
  attachments?: {
70120
70175
  iterationId?: string | undefined;
70121
70176
  } | undefined;
@@ -70139,7 +70194,7 @@ declare const DTOFeatureEvent: z__default.ZodDiscriminatedUnion<"type", [z__defa
70139
70194
  isPrompt?: boolean | undefined;
70140
70195
  startsNewThread?: boolean | undefined;
70141
70196
  parentMessageId?: string | undefined;
70142
- agentResponseTrackerId?: string | undefined;
70197
+ agentResponseTrackerId?: string | null | undefined;
70143
70198
  attachments?: {
70144
70199
  iterationId?: string | undefined;
70145
70200
  } | undefined;
@@ -70163,7 +70218,7 @@ declare const DTOFeatureEvent: z__default.ZodDiscriminatedUnion<"type", [z__defa
70163
70218
  isPrompt?: boolean | undefined;
70164
70219
  startsNewThread?: boolean | undefined;
70165
70220
  parentMessageId?: string | undefined;
70166
- agentResponseTrackerId?: string | undefined;
70221
+ agentResponseTrackerId?: string | null | undefined;
70167
70222
  attachments?: {
70168
70223
  iterationId?: string | undefined;
70169
70224
  } | undefined;
@@ -70288,7 +70343,7 @@ declare const DTOFeatureEvent: z__default.ZodDiscriminatedUnion<"type", [z__defa
70288
70343
  /**
70289
70344
  * Link agent response object describing current state of
70290
70345
  */
70291
- agentResponseTrackerId: z__default.ZodOptional<z__default.ZodString>;
70346
+ agentResponseTrackerId: z__default.ZodNullable<z__default.ZodOptional<z__default.ZodString>>;
70292
70347
  attachments: z__default.ZodOptional<z__default.ZodObject<{
70293
70348
  iterationId: z__default.ZodOptional<z__default.ZodString>;
70294
70349
  }, "strip", z__default.ZodTypeAny, {
@@ -70315,7 +70370,7 @@ declare const DTOFeatureEvent: z__default.ZodDiscriminatedUnion<"type", [z__defa
70315
70370
  isPrompt?: boolean | undefined;
70316
70371
  startsNewThread?: boolean | undefined;
70317
70372
  parentMessageId?: string | undefined;
70318
- agentResponseTrackerId?: string | undefined;
70373
+ agentResponseTrackerId?: string | null | undefined;
70319
70374
  attachments?: {
70320
70375
  iterationId?: string | undefined;
70321
70376
  } | undefined;
@@ -70336,7 +70391,7 @@ declare const DTOFeatureEvent: z__default.ZodDiscriminatedUnion<"type", [z__defa
70336
70391
  isPrompt?: boolean | undefined;
70337
70392
  startsNewThread?: boolean | undefined;
70338
70393
  parentMessageId?: string | undefined;
70339
- agentResponseTrackerId?: string | undefined;
70394
+ agentResponseTrackerId?: string | null | undefined;
70340
70395
  attachments?: {
70341
70396
  iterationId?: string | undefined;
70342
70397
  } | undefined;
@@ -70360,7 +70415,7 @@ declare const DTOFeatureEvent: z__default.ZodDiscriminatedUnion<"type", [z__defa
70360
70415
  isPrompt?: boolean | undefined;
70361
70416
  startsNewThread?: boolean | undefined;
70362
70417
  parentMessageId?: string | undefined;
70363
- agentResponseTrackerId?: string | undefined;
70418
+ agentResponseTrackerId?: string | null | undefined;
70364
70419
  attachments?: {
70365
70420
  iterationId?: string | undefined;
70366
70421
  } | undefined;
@@ -70384,7 +70439,7 @@ declare const DTOFeatureEvent: z__default.ZodDiscriminatedUnion<"type", [z__defa
70384
70439
  isPrompt?: boolean | undefined;
70385
70440
  startsNewThread?: boolean | undefined;
70386
70441
  parentMessageId?: string | undefined;
70387
- agentResponseTrackerId?: string | undefined;
70442
+ agentResponseTrackerId?: string | null | undefined;
70388
70443
  attachments?: {
70389
70444
  iterationId?: string | undefined;
70390
70445
  } | undefined;
@@ -80298,18 +80353,21 @@ declare const DTOForgeProjectActionFeatureCreate: z__default.ZodObject<{
80298
80353
  id: z__default.ZodString;
80299
80354
  name: z__default.ZodString;
80300
80355
  description: z__default.ZodString;
80356
+ initialPrompt: z__default.ZodString;
80301
80357
  sectionId: z__default.ZodOptional<z__default.ZodString>;
80302
80358
  afterFeatureId: z__default.ZodOptional<z__default.ZodNullable<z__default.ZodString>>;
80303
80359
  }, "strip", z__default.ZodTypeAny, {
80304
80360
  id: string;
80305
80361
  name: string;
80306
80362
  description: string;
80363
+ initialPrompt: string;
80307
80364
  sectionId?: string | undefined;
80308
80365
  afterFeatureId?: string | null | undefined;
80309
80366
  }, {
80310
80367
  id: string;
80311
80368
  name: string;
80312
80369
  description: string;
80370
+ initialPrompt: string;
80313
80371
  sectionId?: string | undefined;
80314
80372
  afterFeatureId?: string | null | undefined;
80315
80373
  }>;
@@ -80319,6 +80377,7 @@ declare const DTOForgeProjectActionFeatureCreate: z__default.ZodObject<{
80319
80377
  id: string;
80320
80378
  name: string;
80321
80379
  description: string;
80380
+ initialPrompt: string;
80322
80381
  sectionId?: string | undefined;
80323
80382
  afterFeatureId?: string | null | undefined;
80324
80383
  };
@@ -80328,6 +80387,7 @@ declare const DTOForgeProjectActionFeatureCreate: z__default.ZodObject<{
80328
80387
  id: string;
80329
80388
  name: string;
80330
80389
  description: string;
80390
+ initialPrompt: string;
80331
80391
  sectionId?: string | undefined;
80332
80392
  afterFeatureId?: string | null | undefined;
80333
80393
  };
@@ -80684,18 +80744,21 @@ declare const DTOForgeProjectAction: z__default.ZodIntersection<z__default.ZodDi
80684
80744
  id: z__default.ZodString;
80685
80745
  name: z__default.ZodString;
80686
80746
  description: z__default.ZodString;
80747
+ initialPrompt: z__default.ZodString;
80687
80748
  sectionId: z__default.ZodOptional<z__default.ZodString>;
80688
80749
  afterFeatureId: z__default.ZodOptional<z__default.ZodNullable<z__default.ZodString>>;
80689
80750
  }, "strip", z__default.ZodTypeAny, {
80690
80751
  id: string;
80691
80752
  name: string;
80692
80753
  description: string;
80754
+ initialPrompt: string;
80693
80755
  sectionId?: string | undefined;
80694
80756
  afterFeatureId?: string | null | undefined;
80695
80757
  }, {
80696
80758
  id: string;
80697
80759
  name: string;
80698
80760
  description: string;
80761
+ initialPrompt: string;
80699
80762
  sectionId?: string | undefined;
80700
80763
  afterFeatureId?: string | null | undefined;
80701
80764
  }>;
@@ -80705,6 +80768,7 @@ declare const DTOForgeProjectAction: z__default.ZodIntersection<z__default.ZodDi
80705
80768
  id: string;
80706
80769
  name: string;
80707
80770
  description: string;
80771
+ initialPrompt: string;
80708
80772
  sectionId?: string | undefined;
80709
80773
  afterFeatureId?: string | null | undefined;
80710
80774
  };
@@ -80714,6 +80778,7 @@ declare const DTOForgeProjectAction: z__default.ZodIntersection<z__default.ZodDi
80714
80778
  id: string;
80715
80779
  name: string;
80716
80780
  description: string;
80781
+ initialPrompt: string;
80717
80782
  sectionId?: string | undefined;
80718
80783
  afterFeatureId?: string | null | undefined;
80719
80784
  };
@@ -83199,7 +83264,10 @@ declare const DTOForgeProjectFeature: z__default.ZodObject<{
83199
83264
  sectionId: z__default.ZodOptional<z__default.ZodString>;
83200
83265
  sortOrder: z__default.ZodDefault<z__default.ZodNumber>;
83201
83266
  status: z__default.ZodDefault<z__default.ZodEnum<["Draft", "ReadyForDevelopment"]>>;
83267
+ initialPrompt: z__default.ZodString;
83202
83268
  updatedAt: z__default.ZodOptional<z__default.ZodDate>;
83269
+ numberOfIterations: z__default.ZodDefault<z__default.ZodNumber>;
83270
+ lastReplyTimestamp: z__default.ZodOptional<z__default.ZodDate>;
83203
83271
  }, "strip", z__default.ZodTypeAny, {
83204
83272
  status: "Draft" | "ReadyForDevelopment";
83205
83273
  id: string;
@@ -83209,9 +83277,12 @@ declare const DTOForgeProjectFeature: z__default.ZodObject<{
83209
83277
  sortOrder: number;
83210
83278
  createdByUserId: string;
83211
83279
  projectId: string;
83280
+ initialPrompt: string;
83281
+ numberOfIterations: number;
83212
83282
  updatedAt?: Date | undefined;
83213
83283
  sectionId?: string | undefined;
83214
83284
  isArchived?: boolean | undefined;
83285
+ lastReplyTimestamp?: Date | undefined;
83215
83286
  }, {
83216
83287
  id: string;
83217
83288
  name: string;
@@ -83219,11 +83290,14 @@ declare const DTOForgeProjectFeature: z__default.ZodObject<{
83219
83290
  description: string;
83220
83291
  createdByUserId: string;
83221
83292
  projectId: string;
83293
+ initialPrompt: string;
83222
83294
  status?: "Draft" | "ReadyForDevelopment" | undefined;
83223
83295
  updatedAt?: Date | undefined;
83224
83296
  sortOrder?: number | undefined;
83225
83297
  sectionId?: string | undefined;
83226
83298
  isArchived?: boolean | undefined;
83299
+ numberOfIterations?: number | undefined;
83300
+ lastReplyTimestamp?: Date | undefined;
83227
83301
  }>;
83228
83302
  type DTOForgeProjectFeature = z__default.infer<typeof DTOForgeProjectFeature>;
83229
83303
  declare const DTOForgeProjectFeatureListResponse: z__default.ZodObject<{
@@ -83238,7 +83312,10 @@ declare const DTOForgeProjectFeatureListResponse: z__default.ZodObject<{
83238
83312
  sectionId: z__default.ZodOptional<z__default.ZodString>;
83239
83313
  sortOrder: z__default.ZodDefault<z__default.ZodNumber>;
83240
83314
  status: z__default.ZodDefault<z__default.ZodEnum<["Draft", "ReadyForDevelopment"]>>;
83315
+ initialPrompt: z__default.ZodString;
83241
83316
  updatedAt: z__default.ZodOptional<z__default.ZodDate>;
83317
+ numberOfIterations: z__default.ZodDefault<z__default.ZodNumber>;
83318
+ lastReplyTimestamp: z__default.ZodOptional<z__default.ZodDate>;
83242
83319
  }, "strip", z__default.ZodTypeAny, {
83243
83320
  status: "Draft" | "ReadyForDevelopment";
83244
83321
  id: string;
@@ -83248,9 +83325,12 @@ declare const DTOForgeProjectFeatureListResponse: z__default.ZodObject<{
83248
83325
  sortOrder: number;
83249
83326
  createdByUserId: string;
83250
83327
  projectId: string;
83328
+ initialPrompt: string;
83329
+ numberOfIterations: number;
83251
83330
  updatedAt?: Date | undefined;
83252
83331
  sectionId?: string | undefined;
83253
83332
  isArchived?: boolean | undefined;
83333
+ lastReplyTimestamp?: Date | undefined;
83254
83334
  }, {
83255
83335
  id: string;
83256
83336
  name: string;
@@ -83258,11 +83338,14 @@ declare const DTOForgeProjectFeatureListResponse: z__default.ZodObject<{
83258
83338
  description: string;
83259
83339
  createdByUserId: string;
83260
83340
  projectId: string;
83341
+ initialPrompt: string;
83261
83342
  status?: "Draft" | "ReadyForDevelopment" | undefined;
83262
83343
  updatedAt?: Date | undefined;
83263
83344
  sortOrder?: number | undefined;
83264
83345
  sectionId?: string | undefined;
83265
83346
  isArchived?: boolean | undefined;
83347
+ numberOfIterations?: number | undefined;
83348
+ lastReplyTimestamp?: Date | undefined;
83266
83349
  }>, "many">;
83267
83350
  }, "strip", z__default.ZodTypeAny, {
83268
83351
  features: {
@@ -83274,9 +83357,12 @@ declare const DTOForgeProjectFeatureListResponse: z__default.ZodObject<{
83274
83357
  sortOrder: number;
83275
83358
  createdByUserId: string;
83276
83359
  projectId: string;
83360
+ initialPrompt: string;
83361
+ numberOfIterations: number;
83277
83362
  updatedAt?: Date | undefined;
83278
83363
  sectionId?: string | undefined;
83279
83364
  isArchived?: boolean | undefined;
83365
+ lastReplyTimestamp?: Date | undefined;
83280
83366
  }[];
83281
83367
  }, {
83282
83368
  features: {
@@ -83286,11 +83372,14 @@ declare const DTOForgeProjectFeatureListResponse: z__default.ZodObject<{
83286
83372
  description: string;
83287
83373
  createdByUserId: string;
83288
83374
  projectId: string;
83375
+ initialPrompt: string;
83289
83376
  status?: "Draft" | "ReadyForDevelopment" | undefined;
83290
83377
  updatedAt?: Date | undefined;
83291
83378
  sortOrder?: number | undefined;
83292
83379
  sectionId?: string | undefined;
83293
83380
  isArchived?: boolean | undefined;
83381
+ numberOfIterations?: number | undefined;
83382
+ lastReplyTimestamp?: Date | undefined;
83294
83383
  }[];
83295
83384
  }>;
83296
83385
  type DTOForgeProjectFeatureListResponse = z__default.infer<typeof DTOForgeProjectFeatureListResponse>;
@@ -83298,18 +83387,21 @@ declare const DTOForgeProjectFeatureCreateInput: z__default.ZodObject<{
83298
83387
  id: z__default.ZodString;
83299
83388
  name: z__default.ZodString;
83300
83389
  description: z__default.ZodString;
83390
+ initialPrompt: z__default.ZodString;
83301
83391
  sectionId: z__default.ZodOptional<z__default.ZodString>;
83302
83392
  afterFeatureId: z__default.ZodOptional<z__default.ZodNullable<z__default.ZodString>>;
83303
83393
  }, "strip", z__default.ZodTypeAny, {
83304
83394
  id: string;
83305
83395
  name: string;
83306
83396
  description: string;
83397
+ initialPrompt: string;
83307
83398
  sectionId?: string | undefined;
83308
83399
  afterFeatureId?: string | null | undefined;
83309
83400
  }, {
83310
83401
  id: string;
83311
83402
  name: string;
83312
83403
  description: string;
83404
+ initialPrompt: string;
83313
83405
  sectionId?: string | undefined;
83314
83406
  afterFeatureId?: string | null | undefined;
83315
83407
  }>;
@@ -83368,7 +83460,10 @@ declare const DTOForgeProjectFeatureGetResponse: z__default.ZodObject<{
83368
83460
  sectionId: z__default.ZodOptional<z__default.ZodString>;
83369
83461
  sortOrder: z__default.ZodDefault<z__default.ZodNumber>;
83370
83462
  status: z__default.ZodDefault<z__default.ZodEnum<["Draft", "ReadyForDevelopment"]>>;
83463
+ initialPrompt: z__default.ZodString;
83371
83464
  updatedAt: z__default.ZodOptional<z__default.ZodDate>;
83465
+ numberOfIterations: z__default.ZodDefault<z__default.ZodNumber>;
83466
+ lastReplyTimestamp: z__default.ZodOptional<z__default.ZodDate>;
83372
83467
  }, "strip", z__default.ZodTypeAny, {
83373
83468
  status: "Draft" | "ReadyForDevelopment";
83374
83469
  id: string;
@@ -83378,9 +83473,12 @@ declare const DTOForgeProjectFeatureGetResponse: z__default.ZodObject<{
83378
83473
  sortOrder: number;
83379
83474
  createdByUserId: string;
83380
83475
  projectId: string;
83476
+ initialPrompt: string;
83477
+ numberOfIterations: number;
83381
83478
  updatedAt?: Date | undefined;
83382
83479
  sectionId?: string | undefined;
83383
83480
  isArchived?: boolean | undefined;
83481
+ lastReplyTimestamp?: Date | undefined;
83384
83482
  }, {
83385
83483
  id: string;
83386
83484
  name: string;
@@ -83388,11 +83486,14 @@ declare const DTOForgeProjectFeatureGetResponse: z__default.ZodObject<{
83388
83486
  description: string;
83389
83487
  createdByUserId: string;
83390
83488
  projectId: string;
83489
+ initialPrompt: string;
83391
83490
  status?: "Draft" | "ReadyForDevelopment" | undefined;
83392
83491
  updatedAt?: Date | undefined;
83393
83492
  sortOrder?: number | undefined;
83394
83493
  sectionId?: string | undefined;
83395
83494
  isArchived?: boolean | undefined;
83495
+ numberOfIterations?: number | undefined;
83496
+ lastReplyTimestamp?: Date | undefined;
83396
83497
  }>;
83397
83498
  }, "strip", z__default.ZodTypeAny, {
83398
83499
  feature: {
@@ -83404,9 +83505,12 @@ declare const DTOForgeProjectFeatureGetResponse: z__default.ZodObject<{
83404
83505
  sortOrder: number;
83405
83506
  createdByUserId: string;
83406
83507
  projectId: string;
83508
+ initialPrompt: string;
83509
+ numberOfIterations: number;
83407
83510
  updatedAt?: Date | undefined;
83408
83511
  sectionId?: string | undefined;
83409
83512
  isArchived?: boolean | undefined;
83513
+ lastReplyTimestamp?: Date | undefined;
83410
83514
  };
83411
83515
  }, {
83412
83516
  feature: {
@@ -83416,11 +83520,14 @@ declare const DTOForgeProjectFeatureGetResponse: z__default.ZodObject<{
83416
83520
  description: string;
83417
83521
  createdByUserId: string;
83418
83522
  projectId: string;
83523
+ initialPrompt: string;
83419
83524
  status?: "Draft" | "ReadyForDevelopment" | undefined;
83420
83525
  updatedAt?: Date | undefined;
83421
83526
  sortOrder?: number | undefined;
83422
83527
  sectionId?: string | undefined;
83423
83528
  isArchived?: boolean | undefined;
83529
+ numberOfIterations?: number | undefined;
83530
+ lastReplyTimestamp?: Date | undefined;
83424
83531
  };
83425
83532
  }>;
83426
83533
  type DTOForgeProjectFeatureGetResponse = z__default.infer<typeof DTOForgeProjectFeatureGetResponse>;
@@ -140380,7 +140487,7 @@ declare class ForgeFeatureMessagesEndpoint {
140380
140487
  isPrompt?: boolean | undefined;
140381
140488
  startsNewThread?: boolean | undefined;
140382
140489
  parentMessageId?: string | undefined;
140383
- agentResponseTrackerId?: string | undefined;
140490
+ agentResponseTrackerId?: string | null | undefined;
140384
140491
  attachments?: {
140385
140492
  iterationId?: string | undefined;
140386
140493
  } | undefined;
@@ -140411,7 +140518,7 @@ declare class ForgeFeatureMessagesEndpoint {
140411
140518
  isPrompt?: boolean | undefined;
140412
140519
  startsNewThread?: boolean | undefined;
140413
140520
  parentMessageId?: string | undefined;
140414
- agentResponseTrackerId?: string | undefined;
140521
+ agentResponseTrackerId?: string | null | undefined;
140415
140522
  attachments?: {
140416
140523
  iterationId?: string | undefined;
140417
140524
  } | undefined;
@@ -140448,9 +140555,12 @@ declare class ForgeFeaturesEndpoint {
140448
140555
  sortOrder: number;
140449
140556
  createdByUserId: string;
140450
140557
  projectId: string;
140558
+ initialPrompt: string;
140559
+ numberOfIterations: number;
140451
140560
  updatedAt?: Date | undefined;
140452
140561
  sectionId?: string | undefined;
140453
140562
  isArchived?: boolean | undefined;
140563
+ lastReplyTimestamp?: Date | undefined;
140454
140564
  }[];
140455
140565
  }>;
140456
140566
  get(workspaceId: string, projectId: string, featureId: string): Promise<{
@@ -140463,9 +140573,12 @@ declare class ForgeFeaturesEndpoint {
140463
140573
  sortOrder: number;
140464
140574
  createdByUserId: string;
140465
140575
  projectId: string;
140576
+ initialPrompt: string;
140577
+ numberOfIterations: number;
140466
140578
  updatedAt?: Date | undefined;
140467
140579
  sectionId?: string | undefined;
140468
140580
  isArchived?: boolean | undefined;
140581
+ lastReplyTimestamp?: Date | undefined;
140469
140582
  };
140470
140583
  }>;
140471
140584
  }
@@ -141711,9 +141824,12 @@ declare class ForgeProjectFeaturesEndpoint {
141711
141824
  sortOrder: number;
141712
141825
  createdByUserId: string;
141713
141826
  projectId: string;
141827
+ initialPrompt: string;
141828
+ numberOfIterations: number;
141714
141829
  updatedAt?: Date | undefined;
141715
141830
  sectionId?: string | undefined;
141716
141831
  isArchived?: boolean | undefined;
141832
+ lastReplyTimestamp?: Date | undefined;
141717
141833
  }[];
141718
141834
  }>;
141719
141835
  get(workspaceId: string, projectId: string, featureId: string): Promise<{
@@ -141726,9 +141842,24 @@ declare class ForgeProjectFeaturesEndpoint {
141726
141842
  sortOrder: number;
141727
141843
  createdByUserId: string;
141728
141844
  projectId: string;
141845
+ initialPrompt: string;
141846
+ numberOfIterations: number;
141729
141847
  updatedAt?: Date | undefined;
141730
141848
  sectionId?: string | undefined;
141731
141849
  isArchived?: boolean | undefined;
141850
+ lastReplyTimestamp?: Date | undefined;
141851
+ };
141852
+ }>;
141853
+ agentWorkFinalized(workspaceId: string, projectId: string, featureId: string, body: DTOFeatureAgentWorkFinalizeInput): Promise<{
141854
+ iteration: {
141855
+ id: string;
141856
+ createdAt: string;
141857
+ name: string;
141858
+ startedFromMessageId: string;
141859
+ updatedAt?: string | undefined;
141860
+ baseIterationId?: string | undefined;
141861
+ isInProgress?: boolean | undefined;
141862
+ staticPreviewUrl?: string | undefined;
141732
141863
  };
141733
141864
  }>;
141734
141865
  }
@@ -145028,9 +145159,12 @@ declare function applyProjectActionsLocally(input: Input): {
145028
145159
  sortOrder: number;
145029
145160
  createdByUserId: string;
145030
145161
  projectId: string;
145162
+ initialPrompt: string;
145163
+ numberOfIterations: number;
145031
145164
  updatedAt?: Date | undefined;
145032
145165
  sectionId?: string | undefined;
145033
145166
  isArchived?: boolean | undefined;
145167
+ lastReplyTimestamp?: Date | undefined;
145034
145168
  }[];
145035
145169
  artifactSections: {
145036
145170
  id: string;
@@ -145092,9 +145226,12 @@ declare class LocalProjectActionExecutor {
145092
145226
  sortOrder: number;
145093
145227
  createdByUserId: string;
145094
145228
  projectId: string;
145229
+ initialPrompt: string;
145230
+ numberOfIterations: number;
145095
145231
  updatedAt?: Date | undefined;
145096
145232
  sectionId?: string | undefined;
145097
145233
  isArchived?: boolean | undefined;
145234
+ lastReplyTimestamp?: Date | undefined;
145098
145235
  }[];
145099
145236
  artifactSections: {
145100
145237
  id: string;
@@ -145117,6 +145254,17 @@ declare class LocalProjectActionExecutor {
145117
145254
  };
145118
145255
  applyActions(trx: DTOForgeProjectAction[]): void;
145119
145256
  applyTransaction(trx: DTOForgeProjectAction): void;
145257
+ calculateSectionSortOrder(items: Map<string, DTOForgeSection>, afterItemId?: string | null): number;
145258
+ calculateItemSortOrder<T extends DTOForgeProjectArtifact | DTOForgeProjectFeature>(items: Map<string, T>, afterItemId?: string | null, sectionId?: string | null): number;
145259
+ calculateSortOrderNoDb(findFirst: (projectId: string, sectionId?: string) => {
145260
+ sortOrder: number;
145261
+ } | null | undefined, findLast: (projectId: string, sectionId?: string) => {
145262
+ sortOrder: number;
145263
+ } | null | undefined, findUnique: (projectId: string, id: string, sectionId?: string) => {
145264
+ sortOrder: number;
145265
+ } | null | undefined, findNext: (projectId: string, sortOrder: number, sectionId?: string) => {
145266
+ sortOrder: number;
145267
+ } | null | undefined, shiftAfter: (projectId: string, sortOrder: number, step: number, sectionId?: string) => void, projectId: string, afterItemId?: string | null, sectionId?: string): number | null;
145120
145268
  private artifactCreate;
145121
145269
  private artifactUpdate;
145122
145270
  private artifactMove;
@@ -145129,17 +145277,6 @@ declare class LocalProjectActionExecutor {
145129
145277
  private sectionUpdate;
145130
145278
  private sectionMove;
145131
145279
  private sectionDelete;
145132
- calculateSectionSortOrder(items: Map<string, DTOForgeSection>, afterItemId?: string | null): number;
145133
- calculateItemSortOrder<T extends DTOForgeProjectArtifact | DTOForgeProjectFeature>(items: Map<string, T>, afterItemId?: string | null, sectionId?: string | null): number;
145134
- calculateSortOrderNoDb(findFirst: (projectId: string, sectionId?: string) => {
145135
- sortOrder: number;
145136
- } | null | undefined, findLast: (projectId: string, sectionId?: string) => {
145137
- sortOrder: number;
145138
- } | null | undefined, findUnique: (projectId: string, id: string, sectionId?: string) => {
145139
- sortOrder: number;
145140
- } | null | undefined, findNext: (projectId: string, sortOrder: number, sectionId?: string) => {
145141
- sortOrder: number;
145142
- } | null | undefined, shiftAfter: (projectId: string, sortOrder: number, step: number, sectionId?: string) => void, projectId: string, afterItemId?: string | null, sectionId?: string): number | null;
145143
145280
  }
145144
145281
 
145145
145282
  declare enum ParsedFigmaFileURLError {