@compozy/client 0.5.1 → 0.5.2

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.
@@ -502,6 +502,23 @@ export interface paths {
502
502
  patch?: never;
503
503
  trace?: never;
504
504
  };
505
+ "/api/agents/activity": {
506
+ parameters: {
507
+ query?: never;
508
+ header?: never;
509
+ path?: never;
510
+ cookie?: never;
511
+ };
512
+ get?: never;
513
+ put?: never;
514
+ /** Read activity for up to 100 agent and workspace selections in request order */
515
+ post: operations["batchAgentActivity"];
516
+ delete?: never;
517
+ options?: never;
518
+ head?: never;
519
+ patch?: never;
520
+ trace?: never;
521
+ };
505
522
  "/api/agents/aggregate": {
506
523
  parameters: {
507
524
  query?: never;
@@ -7839,11 +7856,22 @@ export interface components {
7839
7856
  id: string;
7840
7857
  value_id?: string;
7841
7858
  };
7859
+ AgentActivityBatchRequest: {
7860
+ days?: number;
7861
+ items: components["schemas"]["AgentActivitySelection"][];
7862
+ };
7863
+ AgentActivityBatchResponse: {
7864
+ activities: components["schemas"]["AgentActivityResponse"][];
7865
+ };
7842
7866
  AgentActivityResponse: {
7843
7867
  busy_by_hour: components["schemas"]["ActivityHour"][];
7844
7868
  cost_by_project: components["schemas"]["ActivityCost"][];
7845
7869
  reports_by_day: components["schemas"]["ActivityDay"][];
7846
7870
  };
7871
+ AgentActivitySelection: {
7872
+ name: string;
7873
+ workspaces: string[];
7874
+ };
7847
7875
  AgentCapabilityPayload: {
7848
7876
  id: string;
7849
7877
  source?: string;
@@ -7916,6 +7944,7 @@ export interface components {
7916
7944
  AgentEffectiveRuntimePayload: {
7917
7945
  acp_options?: components["schemas"]["AgentACPOptionSelection"][];
7918
7946
  model?: string;
7947
+ permissions?: string;
7919
7948
  provider: string;
7920
7949
  reasoning_effort?: string;
7921
7950
  session_env?: {
@@ -7928,6 +7957,7 @@ export interface components {
7928
7957
  };
7929
7958
  AgentEffectiveRuntimeSources: {
7930
7959
  model?: string;
7960
+ permissions?: string;
7931
7961
  provider: string;
7932
7962
  reasoning_effort?: string;
7933
7963
  speed?: string;
@@ -11171,9 +11201,11 @@ export interface components {
11171
11201
  last_modified?: string | null;
11172
11202
  line_count?: number;
11173
11203
  name: string;
11204
+ path?: string;
11174
11205
  sha256: string;
11175
11206
  };
11176
11207
  HeartbeatSourceStatus: {
11208
+ awaiting_approval?: boolean;
11177
11209
  error?: components["schemas"]["Error"] | null;
11178
11210
  /** Format: int64 */
11179
11211
  failure_streak: number;
@@ -11185,6 +11217,8 @@ export interface components {
11185
11217
  last_success_at?: string;
11186
11218
  next_poll_at?: string;
11187
11219
  script?: string;
11220
+ script_path?: string;
11221
+ script_sha256?: string;
11188
11222
  status: string;
11189
11223
  };
11190
11224
  HeartbeatStatusResponse: {
@@ -13976,6 +14010,7 @@ export interface components {
13976
14010
  /** Format: date-time */
13977
14011
  old_started_at: string;
13978
14012
  operation_id: string;
14013
+ progress?: components["schemas"]["RestartProgress"] | null;
13979
14014
  /** Format: date-time */
13980
14015
  started_at: string;
13981
14016
  /** @enum {string} */
@@ -13983,6 +14018,17 @@ export interface components {
13983
14018
  /** Format: date-time */
13984
14019
  updated_at: string;
13985
14020
  };
14021
+ RestartProgress: {
14022
+ /** Format: int64 */
14023
+ completed: number;
14024
+ /** @enum {string} */
14025
+ phase: "migrating";
14026
+ stage: string;
14027
+ /** Format: int64 */
14028
+ total: number;
14029
+ /** Format: date-time */
14030
+ updated_at: string;
14031
+ };
13986
14032
  ResumeSessionFromLaterRequest: {
13987
14033
  with_children?: boolean;
13988
14034
  };
@@ -15451,6 +15497,8 @@ export interface components {
15451
15497
  cause: string;
15452
15498
  /** Format: date-time */
15453
15499
  observed_at: string | null;
15500
+ /** Format: date-time */
15501
+ retry_after?: string | null;
15454
15502
  stale: boolean;
15455
15503
  /** @enum {string} */
15456
15504
  state: "ok" | "pending" | "error" | "incomplete";
@@ -19229,6 +19277,7 @@ export interface components {
19229
19277
  total: number;
19230
19278
  };
19231
19279
  ToolApprovalGrantPayload: {
19280
+ access_scope?: string;
19232
19281
  agent_name?: string;
19233
19282
  /** Format: date-time */
19234
19283
  created_at: string;
@@ -24622,6 +24671,106 @@ export interface operations {
24622
24671
  };
24623
24672
  };
24624
24673
  };
24674
+ batchAgentActivity: {
24675
+ parameters: {
24676
+ query?: {
24677
+ /** @description Act as this profile by name */
24678
+ profile?: string;
24679
+ };
24680
+ header?: never;
24681
+ path?: never;
24682
+ cookie?: never;
24683
+ };
24684
+ /** @description JSON request body */
24685
+ requestBody: {
24686
+ content: {
24687
+ "application/json": components["schemas"]["AgentActivityBatchRequest"];
24688
+ };
24689
+ };
24690
+ responses: {
24691
+ /** @description Scoped activities in request order */
24692
+ 200: {
24693
+ headers: {
24694
+ [name: string]: unknown;
24695
+ };
24696
+ content: {
24697
+ "application/json": components["schemas"]["AgentActivityBatchResponse"];
24698
+ };
24699
+ };
24700
+ /** @description Invalid profile selection */
24701
+ 400: {
24702
+ headers: {
24703
+ [name: string]: unknown;
24704
+ };
24705
+ content: {
24706
+ "application/json": components["schemas"]["ProfileErrorPayload"];
24707
+ };
24708
+ };
24709
+ /** @description Request failed */
24710
+ 403: {
24711
+ headers: {
24712
+ [name: string]: unknown;
24713
+ };
24714
+ content: {
24715
+ "application/json": components["schemas"]["ErrorPayload"];
24716
+ };
24717
+ };
24718
+ /** @description Request failed */
24719
+ 404: {
24720
+ headers: {
24721
+ [name: string]: unknown;
24722
+ };
24723
+ content: {
24724
+ "application/json": components["schemas"]["ErrorPayload"];
24725
+ };
24726
+ };
24727
+ /** @description Request failed */
24728
+ 409: {
24729
+ headers: {
24730
+ [name: string]: unknown;
24731
+ };
24732
+ content: {
24733
+ "application/json": components["schemas"]["ErrorPayload"];
24734
+ };
24735
+ };
24736
+ /** @description Request failed */
24737
+ 422: {
24738
+ headers: {
24739
+ [name: string]: unknown;
24740
+ };
24741
+ content: {
24742
+ "application/json": components["schemas"]["ErrorPayload"];
24743
+ };
24744
+ };
24745
+ /** @description Request failed */
24746
+ 429: {
24747
+ headers: {
24748
+ [name: string]: unknown;
24749
+ };
24750
+ content: {
24751
+ "application/json": components["schemas"]["ErrorPayload"];
24752
+ };
24753
+ };
24754
+ /** @description Request failed */
24755
+ 500: {
24756
+ headers: {
24757
+ [name: string]: unknown;
24758
+ };
24759
+ content: {
24760
+ "application/json": components["schemas"]["ErrorPayload"];
24761
+ };
24762
+ };
24763
+ /** @description Request failed */
24764
+ 503: {
24765
+ headers: {
24766
+ [name: string]: unknown;
24767
+ };
24768
+ content: {
24769
+ "application/json": components["schemas"]["ErrorPayload"];
24770
+ };
24771
+ };
24772
+ };
24773
+ };
24625
24774
  listAgentsAggregate: {
24626
24775
  parameters: {
24627
24776
  query?: {