@compozy/client 0.5.3 → 0.5.5

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.
@@ -178,6 +178,20 @@ export class agents extends HeyApiClient {
178
178
  ...options,
179
179
  });
180
180
  }
181
+ /**
182
+ * Pick an instance proposal
183
+ */
184
+ pickAgentInstanceProposal(options) {
185
+ return (options.client ?? this.client).post({
186
+ responseStyle: "data",
187
+ url: "/api/agent-instances/{id}/reports/{report_id}/pick",
188
+ ...options,
189
+ headers: {
190
+ "Content-Type": "application/json",
191
+ ...options.headers,
192
+ },
193
+ });
194
+ }
181
195
  /**
182
196
  * Resume an agent instance
183
197
  */
@@ -404,6 +418,40 @@ export class agents extends HeyApiClient {
404
418
  },
405
419
  });
406
420
  }
421
+ /**
422
+ * show check-in authority
423
+ */
424
+ getAgentHeartbeatAuthority(options) {
425
+ return (options.client ?? this.client).get({
426
+ responseStyle: "data",
427
+ url: "/api/agents/{name}/heartbeat/authority",
428
+ ...options,
429
+ });
430
+ }
431
+ /**
432
+ * revoke check-in authority
433
+ */
434
+ revokeAgentHeartbeatAuthority(options) {
435
+ return (options.client ?? this.client).delete({
436
+ responseStyle: "data",
437
+ url: "/api/agents/{name}/heartbeat/authority/approve",
438
+ ...options,
439
+ });
440
+ }
441
+ /**
442
+ * approve check-in authority
443
+ */
444
+ approveAgentHeartbeatAuthority(options) {
445
+ return (options.client ?? this.client).post({
446
+ responseStyle: "data",
447
+ url: "/api/agents/{name}/heartbeat/authority/approve",
448
+ ...options,
449
+ headers: {
450
+ "Content-Type": "application/json",
451
+ ...options.headers,
452
+ },
453
+ });
454
+ }
407
455
  /**
408
456
  * List managed HEARTBEAT.md authoring revisions
409
457
  */
@@ -2376,6 +2424,16 @@ export class marketplace extends HeyApiClient {
2376
2424
  ...options,
2377
2425
  });
2378
2426
  }
2427
+ /**
2428
+ * Browse Featured and category sections
2429
+ */
2430
+ getMarketplaceSections(options) {
2431
+ return (options?.client ?? this.client).get({
2432
+ responseStyle: "data",
2433
+ url: "/api/marketplace/sections",
2434
+ ...options,
2435
+ });
2436
+ }
2379
2437
  /**
2380
2438
  * List global plugin marketplace sources
2381
2439
  *
@@ -5659,6 +5717,126 @@ export class workspaces extends HeyApiClient {
5659
5717
  ...options,
5660
5718
  });
5661
5719
  }
5720
+ /**
5721
+ * Read project file content
5722
+ */
5723
+ readFileContent(options) {
5724
+ return (options.client ?? this.client).get({
5725
+ responseStyle: "data",
5726
+ url: "/api/workspaces/{workspace_id}/files/content",
5727
+ ...options,
5728
+ });
5729
+ }
5730
+ /**
5731
+ * List project file entries
5732
+ */
5733
+ listFileEntries(options) {
5734
+ return (options.client ?? this.client).get({
5735
+ responseStyle: "data",
5736
+ url: "/api/workspaces/{workspace_id}/files/entries",
5737
+ ...options,
5738
+ });
5739
+ }
5740
+ /**
5741
+ * Find project files
5742
+ */
5743
+ findFiles(options) {
5744
+ return (options.client ?? this.client).get({
5745
+ responseStyle: "data",
5746
+ url: "/api/workspaces/{workspace_id}/files/find",
5747
+ ...options,
5748
+ });
5749
+ }
5750
+ /**
5751
+ * Search project file contents
5752
+ */
5753
+ searchFileContents(options) {
5754
+ return (options.client ?? this.client).get({
5755
+ responseStyle: "data",
5756
+ url: "/api/workspaces/{workspace_id}/files/search",
5757
+ ...options,
5758
+ });
5759
+ }
5760
+ /**
5761
+ * Read session changes
5762
+ */
5763
+ getSessionChanges(options) {
5764
+ return (options.client ?? this.client).get({
5765
+ responseStyle: "data",
5766
+ url: "/api/workspaces/{workspace_id}/sessions/{session_id}/changes",
5767
+ ...options,
5768
+ });
5769
+ }
5770
+ /**
5771
+ * Read session changes
5772
+ */
5773
+ listSessionChangeBases(options) {
5774
+ return (options.client ?? this.client).get({
5775
+ responseStyle: "data",
5776
+ url: "/api/workspaces/{workspace_id}/sessions/{session_id}/changes/bases",
5777
+ ...options,
5778
+ });
5779
+ }
5780
+ /**
5781
+ * Read session changes
5782
+ */
5783
+ getSessionChangeContents(options) {
5784
+ return (options.client ?? this.client).get({
5785
+ responseStyle: "data",
5786
+ url: "/api/workspaces/{workspace_id}/sessions/{session_id}/changes/contents",
5787
+ ...options,
5788
+ });
5789
+ }
5790
+ /**
5791
+ * Read session changes
5792
+ */
5793
+ getSessionChangePatches(options) {
5794
+ return (options.client ?? this.client).get({
5795
+ responseStyle: "data",
5796
+ url: "/api/workspaces/{workspace_id}/sessions/{session_id}/changes/patches",
5797
+ ...options,
5798
+ });
5799
+ }
5800
+ /**
5801
+ * Read project file content
5802
+ */
5803
+ readSessionFileContent(options) {
5804
+ return (options.client ?? this.client).get({
5805
+ responseStyle: "data",
5806
+ url: "/api/workspaces/{workspace_id}/sessions/{session_id}/files/content",
5807
+ ...options,
5808
+ });
5809
+ }
5810
+ /**
5811
+ * List project file entries
5812
+ */
5813
+ listSessionFileEntries(options) {
5814
+ return (options.client ?? this.client).get({
5815
+ responseStyle: "data",
5816
+ url: "/api/workspaces/{workspace_id}/sessions/{session_id}/files/entries",
5817
+ ...options,
5818
+ });
5819
+ }
5820
+ /**
5821
+ * Find project files
5822
+ */
5823
+ findSessionFiles(options) {
5824
+ return (options.client ?? this.client).get({
5825
+ responseStyle: "data",
5826
+ url: "/api/workspaces/{workspace_id}/sessions/{session_id}/files/find",
5827
+ ...options,
5828
+ });
5829
+ }
5830
+ /**
5831
+ * Search project file contents
5832
+ */
5833
+ searchSessionFileContents(options) {
5834
+ return (options.client ?? this.client).get({
5835
+ responseStyle: "data",
5836
+ url: "/api/workspaces/{workspace_id}/sessions/{session_id}/files/search",
5837
+ ...options,
5838
+ });
5839
+ }
5662
5840
  /**
5663
5841
  * List workspace terminals
5664
5842
  */