@compozy/client 0.4.8 → 0.5.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.
@@ -21,44 +21,72 @@ class HeyApiRegistry {
21
21
  this.instances.set(key ?? this.defaultKey, value);
22
22
  }
23
23
  }
24
- export class agent extends HeyApiClient {
24
+ export class agents extends HeyApiClient {
25
25
  /**
26
- * Return the bounded calling-agent situation context
26
+ * List agent instances
27
27
  */
28
- getAgentContext(options) {
29
- return (options.client ?? this.client).get({
28
+ listAgentInstances(options) {
29
+ return (options?.client ?? this.client).get({
30
30
  responseStyle: "data",
31
- url: "/api/agent/context",
31
+ url: "/api/agent-instances",
32
32
  ...options,
33
33
  });
34
34
  }
35
35
  /**
36
- * Read resolved coordinator config for the calling agent workspace
36
+ * Create a stays-on agent instance
37
37
  */
38
- getAgentCoordinatorConfig(options) {
39
- return (options.client ?? this.client).get({
38
+ createAgentInstance(options) {
39
+ return (options.client ?? this.client).post({
40
40
  responseStyle: "data",
41
- url: "/api/agent/coordinator/config",
41
+ url: "/api/agent-instances",
42
+ ...options,
43
+ headers: {
44
+ "Content-Type": "application/json",
45
+ ...options.headers,
46
+ },
47
+ });
48
+ }
49
+ /**
50
+ * Adopt a root session as an instance
51
+ */
52
+ adoptAgentInstance(options) {
53
+ return (options.client ?? this.client).post({
54
+ responseStyle: "data",
55
+ url: "/api/agent-instances/adopt",
42
56
  ...options,
57
+ headers: {
58
+ "Content-Type": "application/json",
59
+ ...options.headers,
60
+ },
43
61
  });
44
62
  }
45
63
  /**
46
- * Resolve the calling agent session
64
+ * Archive an agent instance
47
65
  */
48
- getAgentMe(options) {
66
+ archiveAgentInstance(options) {
67
+ return (options.client ?? this.client).delete({
68
+ responseStyle: "data",
69
+ url: "/api/agent-instances/{id}",
70
+ ...options,
71
+ });
72
+ }
73
+ /**
74
+ * Get an agent instance
75
+ */
76
+ getAgentInstance(options) {
49
77
  return (options.client ?? this.client).get({
50
78
  responseStyle: "data",
51
- url: "/api/agent/me",
79
+ url: "/api/agent-instances/{id}",
52
80
  ...options,
53
81
  });
54
82
  }
55
83
  /**
56
- * Notify live operator clients from the calling agent
84
+ * Update instance checks
57
85
  */
58
- notifyOperator(options) {
59
- return (options.client ?? this.client).post({
86
+ updateAgentInstance(options) {
87
+ return (options.client ?? this.client).patch({
60
88
  responseStyle: "data",
61
- url: "/api/agent/notify",
89
+ url: "/api/agent-instances/{id}",
62
90
  ...options,
63
91
  headers: {
64
92
  "Content-Type": "application/json",
@@ -67,36 +95,32 @@ export class agent extends HeyApiClient {
67
95
  });
68
96
  }
69
97
  /**
70
- * Inspect the resolved Soul read model for the calling agent
98
+ * Read the operator's instance away digest
71
99
  */
72
- getAgentSoul(options) {
100
+ getAgentInstanceAway(options) {
73
101
  return (options.client ?? this.client).get({
74
102
  responseStyle: "data",
75
- url: "/api/agent/soul",
103
+ url: "/api/agent-instances/{id}/away",
76
104
  ...options,
77
105
  });
78
106
  }
79
107
  /**
80
- * Validate a proposed Soul body or the calling agent's current Soul
108
+ * Mark the instance seen by the local operator
81
109
  */
82
- validateAgentSoul(options) {
110
+ markAgentInstanceSeen(options) {
83
111
  return (options.client ?? this.client).post({
84
112
  responseStyle: "data",
85
- url: "/api/agent/soul/validate",
113
+ url: "/api/agent-instances/{id}/away",
86
114
  ...options,
87
- headers: {
88
- "Content-Type": "application/json",
89
- ...options.headers,
90
- },
91
115
  });
92
116
  }
93
117
  /**
94
- * Spawn a narrowed child session for the calling agent
118
+ * Check an agent instance
95
119
  */
96
- spawnAgentSession(options) {
120
+ checkAgentInstance(options) {
97
121
  return (options.client ?? this.client).post({
98
122
  responseStyle: "data",
99
- url: "/api/agent/spawn",
123
+ url: "/api/agent-instances/{id}/check",
100
124
  ...options,
101
125
  headers: {
102
126
  "Content-Type": "application/json",
@@ -105,68 +129,92 @@ export class agent extends HeyApiClient {
105
129
  });
106
130
  }
107
131
  /**
108
- * Atomically claim the next matching task run for the calling agent
132
+ * List instance wake events
109
133
  */
110
- claimNextAgentTask(options) {
111
- return (options.client ?? this.client).post({
134
+ listAgentInstanceCheckIns(options) {
135
+ return (options.client ?? this.client).get({
112
136
  responseStyle: "data",
113
- url: "/api/agent/tasks/claim-next",
137
+ url: "/api/agent-instances/{id}/check-ins",
114
138
  ...options,
115
- headers: {
116
- "Content-Type": "application/json",
117
- ...options.headers,
118
- },
119
139
  });
120
140
  }
121
141
  /**
122
- * Complete a claimed task run for the calling agent
142
+ * Ensure the main session exists
123
143
  */
124
- completeAgentTaskRun(options) {
144
+ ensureAgentInstanceMain(options) {
125
145
  return (options.client ?? this.client).post({
126
146
  responseStyle: "data",
127
- url: "/api/agent/tasks/{run_id}/complete",
147
+ url: "/api/agent-instances/{id}/ensure-main",
128
148
  ...options,
129
- headers: {
130
- "Content-Type": "application/json",
131
- ...options.headers,
132
- },
133
149
  });
134
150
  }
135
151
  /**
136
- * Fail a claimed task run for the calling agent
152
+ * Read an instance check occurrence
137
153
  */
138
- failAgentTaskRun(options) {
154
+ getAgentInstanceOccurrence(options) {
155
+ return (options.client ?? this.client).get({
156
+ responseStyle: "data",
157
+ url: "/api/agent-instances/{id}/occurrences/{occurrence}",
158
+ ...options,
159
+ });
160
+ }
161
+ /**
162
+ * Pause an agent instance
163
+ */
164
+ pauseAgentInstance(options) {
139
165
  return (options.client ?? this.client).post({
140
166
  responseStyle: "data",
141
- url: "/api/agent/tasks/{run_id}/fail",
167
+ url: "/api/agent-instances/{id}/pause",
142
168
  ...options,
143
- headers: {
144
- "Content-Type": "application/json",
145
- ...options.headers,
146
- },
147
169
  });
148
170
  }
149
171
  /**
150
- * Extend a claimed task-run lease for the calling agent
172
+ * List durable instance reports
151
173
  */
152
- heartbeatAgentTaskRun(options) {
174
+ listAgentInstanceReports(options) {
175
+ return (options.client ?? this.client).get({
176
+ responseStyle: "data",
177
+ url: "/api/agent-instances/{id}/reports",
178
+ ...options,
179
+ });
180
+ }
181
+ /**
182
+ * Resume an agent instance
183
+ */
184
+ resumeAgentInstance(options) {
153
185
  return (options.client ?? this.client).post({
154
186
  responseStyle: "data",
155
- url: "/api/agent/tasks/{run_id}/heartbeat",
187
+ url: "/api/agent-instances/{id}/resume",
156
188
  ...options,
157
- headers: {
158
- "Content-Type": "application/json",
159
- ...options.headers,
160
- },
161
189
  });
162
190
  }
163
191
  /**
164
- * Release a claimed task run for the calling agent
192
+ * List agent skill reviews (experimental)
165
193
  */
166
- releaseAgentTaskRun(options) {
194
+ listAgentSkillReviews(options) {
195
+ return (options?.client ?? this.client).get({
196
+ responseStyle: "data",
197
+ url: "/api/agent-skill-reviews",
198
+ ...options,
199
+ });
200
+ }
201
+ /**
202
+ * Read exact proposed skill contents (experimental)
203
+ */
204
+ getAgentSkillReview(options) {
205
+ return (options.client ?? this.client).get({
206
+ responseStyle: "data",
207
+ url: "/api/agent-skill-reviews/{id}",
208
+ ...options,
209
+ });
210
+ }
211
+ /**
212
+ * Decide a skill review as the operator (experimental)
213
+ */
214
+ approveAgentSkillReview(options) {
167
215
  return (options.client ?? this.client).post({
168
216
  responseStyle: "data",
169
- url: "/api/agent/tasks/{run_id}/release",
217
+ url: "/api/agent-skill-reviews/{id}/approve",
170
218
  ...options,
171
219
  headers: {
172
220
  "Content-Type": "application/json",
@@ -175,12 +223,12 @@ export class agent extends HeyApiClient {
175
223
  });
176
224
  }
177
225
  /**
178
- * Start a claimed task run under the calling agent's lease
226
+ * Decide a skill review as the operator (experimental)
179
227
  */
180
- startAgentTaskRun(options) {
228
+ rejectAgentSkillReview(options) {
181
229
  return (options.client ?? this.client).post({
182
230
  responseStyle: "data",
183
- url: "/api/agent/tasks/{run_id}/start",
231
+ url: "/api/agent-skill-reviews/{id}/reject",
184
232
  ...options,
185
233
  headers: {
186
234
  "Content-Type": "application/json",
@@ -188,8 +236,6 @@ export class agent extends HeyApiClient {
188
236
  },
189
237
  });
190
238
  }
191
- }
192
- export class agents extends HeyApiClient {
193
239
  /**
194
240
  * List all readable agent definitions, optionally resolved for a workspace
195
241
  */
@@ -234,6 +280,20 @@ export class agents extends HeyApiClient {
234
280
  ...options,
235
281
  });
236
282
  }
283
+ /**
284
+ * Draft agent instructions without saving a definition
285
+ */
286
+ draftAgentInstructions(options) {
287
+ return (options.client ?? this.client).post({
288
+ responseStyle: "data",
289
+ url: "/api/agents/draft-instructions",
290
+ ...options,
291
+ headers: {
292
+ "Content-Type": "application/json",
293
+ ...options.headers,
294
+ },
295
+ });
296
+ }
237
297
  /**
238
298
  * Durably delete one effective authored agent definition
239
299
  */
@@ -268,6 +328,16 @@ export class agents extends HeyApiClient {
268
328
  },
269
329
  });
270
330
  }
331
+ /**
332
+ * Read agent activity across authorized workspaces
333
+ */
334
+ getAgentActivity(options) {
335
+ return (options.client ?? this.client).get({
336
+ responseStyle: "data",
337
+ url: "/api/agents/{name}/activity",
338
+ ...options,
339
+ });
340
+ }
271
341
  /**
272
342
  * Duplicate one effective authored agent definition server-side
273
343
  */
@@ -382,6 +452,142 @@ export class agents extends HeyApiClient {
382
452
  },
383
453
  });
384
454
  }
455
+ /**
456
+ * Inspect agent memory (experimental)
457
+ *
458
+ * @stability experimental
459
+ */
460
+ getAgentMemory(options) {
461
+ return (options.client ?? this.client).get({
462
+ responseStyle: "data",
463
+ url: "/api/agents/{name}/memory",
464
+ ...options,
465
+ });
466
+ }
467
+ /**
468
+ * Replace memory with a digest check (experimental)
469
+ *
470
+ * @stability experimental
471
+ */
472
+ putAgentMemory(options) {
473
+ return (options.client ?? this.client).put({
474
+ responseStyle: "data",
475
+ url: "/api/agents/{name}/memory",
476
+ ...options,
477
+ headers: {
478
+ "Content-Type": "application/json",
479
+ ...options.headers,
480
+ },
481
+ });
482
+ }
483
+ /**
484
+ * Remove matching memory entries (experimental)
485
+ *
486
+ * @stability experimental
487
+ */
488
+ removeAgentMemory(options) {
489
+ return (options.client ?? this.client).delete({
490
+ responseStyle: "data",
491
+ url: "/api/agents/{name}/memory/entries",
492
+ ...options,
493
+ headers: {
494
+ "Content-Type": "application/json",
495
+ ...options.headers,
496
+ },
497
+ });
498
+ }
499
+ /**
500
+ * Replace matching memory text (experimental)
501
+ *
502
+ * @stability experimental
503
+ */
504
+ replaceAgentMemory(options) {
505
+ return (options.client ?? this.client).patch({
506
+ responseStyle: "data",
507
+ url: "/api/agents/{name}/memory/entries",
508
+ ...options,
509
+ headers: {
510
+ "Content-Type": "application/json",
511
+ ...options.headers,
512
+ },
513
+ });
514
+ }
515
+ /**
516
+ * Add a dated memory entry (experimental)
517
+ *
518
+ * @stability experimental
519
+ */
520
+ addAgentMemory(options) {
521
+ return (options.client ?? this.client).post({
522
+ responseStyle: "data",
523
+ url: "/api/agents/{name}/memory/entries",
524
+ ...options,
525
+ headers: {
526
+ "Content-Type": "application/json",
527
+ ...options.headers,
528
+ },
529
+ });
530
+ }
531
+ /**
532
+ * List the last fifty memory revisions (experimental)
533
+ *
534
+ * @stability experimental
535
+ */
536
+ listAgentMemoryHistory(options) {
537
+ return (options.client ?? this.client).get({
538
+ responseStyle: "data",
539
+ url: "/api/agents/{name}/memory/history",
540
+ ...options,
541
+ });
542
+ }
543
+ /**
544
+ * Restore a memory revision (experimental)
545
+ *
546
+ * @stability experimental
547
+ */
548
+ rollbackAgentMemory(options) {
549
+ return (options.client ?? this.client).post({
550
+ responseStyle: "data",
551
+ url: "/api/agents/{name}/memory/rollback",
552
+ ...options,
553
+ headers: {
554
+ "Content-Type": "application/json",
555
+ ...options.headers,
556
+ },
557
+ });
558
+ }
559
+ /**
560
+ * Search agent notes and accessible sessions (experimental)
561
+ *
562
+ * @stability experimental
563
+ */
564
+ searchAgentMemory(options) {
565
+ return (options.client ?? this.client).post({
566
+ responseStyle: "data",
567
+ url: "/api/agents/{name}/memory/search",
568
+ ...options,
569
+ headers: {
570
+ "Content-Type": "application/json",
571
+ ...options.headers,
572
+ },
573
+ });
574
+ }
575
+ /**
576
+ * Validate proposed memory content (experimental)
577
+ *
578
+ * @stability experimental
579
+ */
580
+ validateAgentMemory(options) {
581
+ return (options.client ?? this.client).post({
582
+ responseStyle: "data",
583
+ url: "/api/agents/{name}/memory/validate",
584
+ ...options,
585
+ headers: {
586
+ "Content-Type": "application/json",
587
+ ...options.headers,
588
+ },
589
+ });
590
+ }
385
591
  /**
386
592
  * Delete SOUL.md through managed authoring
387
593
  */
@@ -459,6 +665,174 @@ export class agents extends HeyApiClient {
459
665
  });
460
666
  }
461
667
  }
668
+ export class agent extends HeyApiClient {
669
+ /**
670
+ * Return the bounded calling-agent situation context
671
+ */
672
+ getAgentContext(options) {
673
+ return (options.client ?? this.client).get({
674
+ responseStyle: "data",
675
+ url: "/api/agent/context",
676
+ ...options,
677
+ });
678
+ }
679
+ /**
680
+ * Read resolved coordinator config for the calling agent workspace
681
+ */
682
+ getAgentCoordinatorConfig(options) {
683
+ return (options.client ?? this.client).get({
684
+ responseStyle: "data",
685
+ url: "/api/agent/coordinator/config",
686
+ ...options,
687
+ });
688
+ }
689
+ /**
690
+ * Resolve the calling agent session
691
+ */
692
+ getAgentMe(options) {
693
+ return (options.client ?? this.client).get({
694
+ responseStyle: "data",
695
+ url: "/api/agent/me",
696
+ ...options,
697
+ });
698
+ }
699
+ /**
700
+ * Notify live operator clients from the calling agent
701
+ */
702
+ notifyOperator(options) {
703
+ return (options.client ?? this.client).post({
704
+ responseStyle: "data",
705
+ url: "/api/agent/notify",
706
+ ...options,
707
+ headers: {
708
+ "Content-Type": "application/json",
709
+ ...options.headers,
710
+ },
711
+ });
712
+ }
713
+ /**
714
+ * Inspect the resolved Soul read model for the calling agent
715
+ */
716
+ getAgentSoul(options) {
717
+ return (options.client ?? this.client).get({
718
+ responseStyle: "data",
719
+ url: "/api/agent/soul",
720
+ ...options,
721
+ });
722
+ }
723
+ /**
724
+ * Validate a proposed Soul body or the calling agent's current Soul
725
+ */
726
+ validateAgentSoul(options) {
727
+ return (options.client ?? this.client).post({
728
+ responseStyle: "data",
729
+ url: "/api/agent/soul/validate",
730
+ ...options,
731
+ headers: {
732
+ "Content-Type": "application/json",
733
+ ...options.headers,
734
+ },
735
+ });
736
+ }
737
+ /**
738
+ * Spawn a narrowed child session for the calling agent
739
+ */
740
+ spawnAgentSession(options) {
741
+ return (options.client ?? this.client).post({
742
+ responseStyle: "data",
743
+ url: "/api/agent/spawn",
744
+ ...options,
745
+ headers: {
746
+ "Content-Type": "application/json",
747
+ ...options.headers,
748
+ },
749
+ });
750
+ }
751
+ /**
752
+ * Atomically claim the next matching task run for the calling agent
753
+ */
754
+ claimNextAgentTask(options) {
755
+ return (options.client ?? this.client).post({
756
+ responseStyle: "data",
757
+ url: "/api/agent/tasks/claim-next",
758
+ ...options,
759
+ headers: {
760
+ "Content-Type": "application/json",
761
+ ...options.headers,
762
+ },
763
+ });
764
+ }
765
+ /**
766
+ * Complete a claimed task run for the calling agent
767
+ */
768
+ completeAgentTaskRun(options) {
769
+ return (options.client ?? this.client).post({
770
+ responseStyle: "data",
771
+ url: "/api/agent/tasks/{run_id}/complete",
772
+ ...options,
773
+ headers: {
774
+ "Content-Type": "application/json",
775
+ ...options.headers,
776
+ },
777
+ });
778
+ }
779
+ /**
780
+ * Fail a claimed task run for the calling agent
781
+ */
782
+ failAgentTaskRun(options) {
783
+ return (options.client ?? this.client).post({
784
+ responseStyle: "data",
785
+ url: "/api/agent/tasks/{run_id}/fail",
786
+ ...options,
787
+ headers: {
788
+ "Content-Type": "application/json",
789
+ ...options.headers,
790
+ },
791
+ });
792
+ }
793
+ /**
794
+ * Extend a claimed task-run lease for the calling agent
795
+ */
796
+ heartbeatAgentTaskRun(options) {
797
+ return (options.client ?? this.client).post({
798
+ responseStyle: "data",
799
+ url: "/api/agent/tasks/{run_id}/heartbeat",
800
+ ...options,
801
+ headers: {
802
+ "Content-Type": "application/json",
803
+ ...options.headers,
804
+ },
805
+ });
806
+ }
807
+ /**
808
+ * Release a claimed task run for the calling agent
809
+ */
810
+ releaseAgentTaskRun(options) {
811
+ return (options.client ?? this.client).post({
812
+ responseStyle: "data",
813
+ url: "/api/agent/tasks/{run_id}/release",
814
+ ...options,
815
+ headers: {
816
+ "Content-Type": "application/json",
817
+ ...options.headers,
818
+ },
819
+ });
820
+ }
821
+ /**
822
+ * Start a claimed task run under the calling agent's lease
823
+ */
824
+ startAgentTaskRun(options) {
825
+ return (options.client ?? this.client).post({
826
+ responseStyle: "data",
827
+ url: "/api/agent/tasks/{run_id}/start",
828
+ ...options,
829
+ headers: {
830
+ "Content-Type": "application/json",
831
+ ...options.headers,
832
+ },
833
+ });
834
+ }
835
+ }
462
836
  export class appTokens extends HeyApiClient {
463
837
  /**
464
838
  * List app tokens without their bearer secrets
@@ -2800,6 +3174,26 @@ export class observe extends HeyApiClient {
2800
3174
  ...options,
2801
3175
  });
2802
3176
  }
3177
+ /**
3178
+ * List the newest permission decisions with their initiators
3179
+ */
3180
+ listPermissionEntries(options) {
3181
+ return (options?.client ?? this.client).get({
3182
+ responseStyle: "data",
3183
+ url: "/api/permissions",
3184
+ ...options,
3185
+ });
3186
+ }
3187
+ /**
3188
+ * Read daily permission totals by agent and decision
3189
+ */
3190
+ getPermissionRollup(options) {
3191
+ return (options?.client ?? this.client).get({
3192
+ responseStyle: "data",
3193
+ url: "/api/permissions/rollup",
3194
+ ...options,
3195
+ });
3196
+ }
2803
3197
  }
2804
3198
  export class onboarding extends HeyApiClient {
2805
3199
  /**
@@ -3281,6 +3675,16 @@ export class sessions extends HeyApiClient {
3281
3675
  ...options,
3282
3676
  });
3283
3677
  }
3678
+ /**
3679
+ * List a session's child sessions, recursively
3680
+ */
3681
+ listSessionDescendants(options) {
3682
+ return (options.client ?? this.client).get({
3683
+ responseStyle: "data",
3684
+ url: "/api/workspaces/{workspace_id}/sessions/{session_id}/descendants",
3685
+ ...options,
3686
+ });
3687
+ }
3284
3688
  /**
3285
3689
  * List persisted session events
3286
3690
  */
@@ -3369,6 +3773,68 @@ export class sessions extends HeyApiClient {
3369
3773
  },
3370
3774
  });
3371
3775
  }
3776
+ /**
3777
+ * Search this project for link candidates
3778
+ */
3779
+ searchSessionWorkCandidates(options) {
3780
+ return (options.client ?? this.client).get({
3781
+ responseStyle: "data",
3782
+ url: "/api/workspaces/{workspace_id}/sessions/{session_id}/link-candidates",
3783
+ ...options,
3784
+ });
3785
+ }
3786
+ /**
3787
+ * Unlink session work
3788
+ */
3789
+ removeSessionWorkLink(options) {
3790
+ return (options.client ?? this.client).delete({
3791
+ responseStyle: "data",
3792
+ url: "/api/workspaces/{workspace_id}/sessions/{session_id}/links",
3793
+ ...options,
3794
+ headers: {
3795
+ "Content-Type": "application/json",
3796
+ ...options.headers,
3797
+ },
3798
+ });
3799
+ }
3800
+ /**
3801
+ * List session linked work
3802
+ */
3803
+ listSessionLinkedWork(options) {
3804
+ return (options.client ?? this.client).get({
3805
+ responseStyle: "data",
3806
+ url: "/api/workspaces/{workspace_id}/sessions/{session_id}/links",
3807
+ ...options,
3808
+ });
3809
+ }
3810
+ /**
3811
+ * Link work to a session
3812
+ */
3813
+ addSessionWorkLink(options) {
3814
+ return (options.client ?? this.client).post({
3815
+ responseStyle: "data",
3816
+ url: "/api/workspaces/{workspace_id}/sessions/{session_id}/links",
3817
+ ...options,
3818
+ headers: {
3819
+ "Content-Type": "application/json",
3820
+ ...options.headers,
3821
+ },
3822
+ });
3823
+ }
3824
+ /**
3825
+ * Ask the forge again about one linked item
3826
+ */
3827
+ refreshSessionWorkLink(options) {
3828
+ return (options.client ?? this.client).post({
3829
+ responseStyle: "data",
3830
+ url: "/api/workspaces/{workspace_id}/sessions/{session_id}/links/refresh",
3831
+ ...options,
3832
+ headers: {
3833
+ "Content-Type": "application/json",
3834
+ ...options.headers,
3835
+ },
3836
+ });
3837
+ }
3372
3838
  /**
3373
3839
  * List a session's monitors
3374
3840
  */
@@ -3427,6 +3893,16 @@ export class sessions extends HeyApiClient {
3427
3893
  },
3428
3894
  });
3429
3895
  }
3896
+ /**
3897
+ * List pending session interactions
3898
+ */
3899
+ listSessionPendingInteractions(options) {
3900
+ return (options.client ?? this.client).get({
3901
+ responseStyle: "data",
3902
+ url: "/api/workspaces/{workspace_id}/sessions/{session_id}/pending-interactions",
3903
+ ...options,
3904
+ });
3905
+ }
3430
3906
  /**
3431
3907
  * Update operator session presence
3432
3908
  */
@@ -5822,14 +6298,14 @@ export class Compozy extends HeyApiClient {
5822
6298
  super(args);
5823
6299
  Compozy.__registry.set(this, args?.key);
5824
6300
  }
5825
- _agent;
5826
- get agent() {
5827
- return (this._agent ??= new agent({ client: this.client }));
5828
- }
5829
6301
  _agents;
5830
6302
  get agents() {
5831
6303
  return (this._agents ??= new agents({ client: this.client }));
5832
6304
  }
6305
+ _agent;
6306
+ get agent() {
6307
+ return (this._agent ??= new agent({ client: this.client }));
6308
+ }
5833
6309
  _appTokens;
5834
6310
  get appTokens() {
5835
6311
  return (this._appTokens ??= new appTokens({ client: this.client }));