@compozy/client 0.7.6 → 0.7.8
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/cjs/generated/sdk/sdk.gen.js +66 -2
- package/dist/cjs/generated/sdk/sdk.gen.js.map +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/generated/sdk/sdk.gen.js +66 -2
- package/dist/esm/generated/sdk/sdk.gen.js.map +1 -1
- package/dist/esm/version.js +1 -1
- package/dist/types/generated/openapi/compozy-openapi.d.ts +722 -82
- package/dist/types/generated/sdk/index.d.ts +1 -1
- package/dist/types/generated/sdk/index.d.ts.map +1 -1
- package/dist/types/generated/sdk/sdk.gen.d.ts +27 -3
- package/dist/types/generated/sdk/sdk.gen.d.ts.map +1 -1
- package/dist/types/generated/sdk/types.gen.d.ts +408 -16
- package/dist/types/generated/sdk/types.gen.d.ts.map +1 -1
- package/dist/types/generated/sse/index.d.ts +1 -1
- package/dist/types/generated/sse/index.d.ts.map +1 -1
- package/dist/types/generated/sse/types.gen.d.ts +14 -0
- package/dist/types/generated/sse/types.gen.d.ts.map +1 -1
- package/dist/types/version.d.ts +1 -1
- package/package.json +1 -1
|
@@ -248,12 +248,27 @@ export type AgentInstanceCreateRequest = {
|
|
|
248
248
|
agent: string;
|
|
249
249
|
workspace: string;
|
|
250
250
|
};
|
|
251
|
+
export type AgentInstanceDailyBudgetInput = {
|
|
252
|
+
tokens?: number | null;
|
|
253
|
+
usd?: number | null;
|
|
254
|
+
};
|
|
255
|
+
export type AgentInstanceDailyBudgetLimits = {
|
|
256
|
+
tokens?: number | null;
|
|
257
|
+
usd?: number | null;
|
|
258
|
+
};
|
|
259
|
+
export type AgentInstanceDailyBudgetUsage = {
|
|
260
|
+
day: string;
|
|
261
|
+
has_unpriced_usage: boolean;
|
|
262
|
+
known_usd: string;
|
|
263
|
+
tokens: number;
|
|
264
|
+
};
|
|
251
265
|
export type AgentInstanceListResponse = {
|
|
252
266
|
active_count: number;
|
|
253
267
|
instances: Array<AgentInstancePayload>;
|
|
254
268
|
max_active_instances: number;
|
|
255
269
|
next_cursor: string;
|
|
256
270
|
peers?: Array<AgentInstancePeer>;
|
|
271
|
+
peers_note?: string;
|
|
257
272
|
};
|
|
258
273
|
export type AgentInstanceNextWake = {
|
|
259
274
|
at?: string;
|
|
@@ -274,6 +289,8 @@ export type AgentInstancePayload = {
|
|
|
274
289
|
checks_enabled: boolean;
|
|
275
290
|
created: boolean;
|
|
276
291
|
created_at: string;
|
|
292
|
+
daily_budget?: AgentInstanceDailyBudgetLimits | null;
|
|
293
|
+
daily_budget_usage?: AgentInstanceDailyBudgetUsage | null;
|
|
277
294
|
failure_streak: number;
|
|
278
295
|
fatigue_limit: number;
|
|
279
296
|
held_wakes: number;
|
|
@@ -381,8 +398,15 @@ export type AgentInstanceResponse = {
|
|
|
381
398
|
export type AgentInstanceSeenResponse = {
|
|
382
399
|
last_seen_at: string;
|
|
383
400
|
};
|
|
384
|
-
export type AgentInstanceUpdateRequest = {
|
|
385
|
-
checks_enabled: boolean
|
|
401
|
+
export type AgentInstanceUpdateRequest = ({
|
|
402
|
+
checks_enabled: boolean;
|
|
403
|
+
daily_budget?: null;
|
|
404
|
+
} | {
|
|
405
|
+
checks_enabled?: null;
|
|
406
|
+
daily_budget: AgentInstanceDailyBudgetInput;
|
|
407
|
+
}) & {
|
|
408
|
+
checks_enabled?: boolean | null;
|
|
409
|
+
daily_budget?: AgentInstanceDailyBudgetInput | null;
|
|
386
410
|
};
|
|
387
411
|
export type AgentLimitsPayload = {
|
|
388
412
|
can_spawn_children: boolean;
|
|
@@ -2193,9 +2217,25 @@ export type ExtensionProvenanceResponse = {
|
|
|
2193
2217
|
export type ExtensionRemoveResponse = {
|
|
2194
2218
|
extension: ManagedExtensionRemovePayload;
|
|
2195
2219
|
};
|
|
2220
|
+
export type ExtensionRemovedBuiltinPayload = {
|
|
2221
|
+
name: string;
|
|
2222
|
+
removed_at: string;
|
|
2223
|
+
removed_by: string;
|
|
2224
|
+
};
|
|
2225
|
+
export type ExtensionRemovedBuiltinsResponse = {
|
|
2226
|
+
removed: Array<ExtensionRemovedBuiltinPayload>;
|
|
2227
|
+
};
|
|
2196
2228
|
export type ExtensionResponse = {
|
|
2197
2229
|
extension: ExtensionPayload;
|
|
2198
2230
|
};
|
|
2231
|
+
export type ExtensionRestorePayload = {
|
|
2232
|
+
enabled: boolean;
|
|
2233
|
+
name: string;
|
|
2234
|
+
path: string;
|
|
2235
|
+
source: string;
|
|
2236
|
+
status: string;
|
|
2237
|
+
version: string;
|
|
2238
|
+
};
|
|
2199
2239
|
export type ExtensionSecretBindingInput = {
|
|
2200
2240
|
env_name: string;
|
|
2201
2241
|
header_name?: string;
|
|
@@ -4248,8 +4288,10 @@ export type ManagedExtensionRemovePayload = {
|
|
|
4248
4288
|
data_path?: string;
|
|
4249
4289
|
name: string;
|
|
4250
4290
|
path: string;
|
|
4291
|
+
permanent: boolean;
|
|
4251
4292
|
quarantine_path?: string;
|
|
4252
4293
|
status: string;
|
|
4294
|
+
tombstoned_at: string;
|
|
4253
4295
|
warnings?: Array<DiagnosticItem>;
|
|
4254
4296
|
};
|
|
4255
4297
|
export type ManagedExtensionUpdatePayload = {
|
|
@@ -4666,6 +4708,11 @@ export type OpenAIModelPayload = {
|
|
|
4666
4708
|
export type OpenAppEffect = {
|
|
4667
4709
|
app: string;
|
|
4668
4710
|
};
|
|
4711
|
+
export type OpenSessionSideRequest = {
|
|
4712
|
+
idempotency_key: string;
|
|
4713
|
+
message: string;
|
|
4714
|
+
name?: string;
|
|
4715
|
+
};
|
|
4669
4716
|
export type OpenURLEffect = {
|
|
4670
4717
|
url: string;
|
|
4671
4718
|
};
|
|
@@ -5352,6 +5399,7 @@ export type ReorderSessionFoldersRequest = {
|
|
|
5352
5399
|
};
|
|
5353
5400
|
export type ReorderSessionsRequest = {
|
|
5354
5401
|
folder_id?: string;
|
|
5402
|
+
pinned?: boolean;
|
|
5355
5403
|
session_ids: Array<string>;
|
|
5356
5404
|
};
|
|
5357
5405
|
export type ReorderWorkspaceFoldersRequest = {
|
|
@@ -5953,6 +6001,7 @@ export type SendPromptResultPayload = {
|
|
|
5953
6001
|
queue_position: number;
|
|
5954
6002
|
replayed: boolean;
|
|
5955
6003
|
reply_watch?: ReplyWatchRefPayload | null;
|
|
6004
|
+
side?: SessionSideCommandResult | null;
|
|
5956
6005
|
status: string;
|
|
5957
6006
|
steer_delivery?: "injected" | "pending_injection" | "pending_boundary" | "after_turn" | "interrupt_fallback";
|
|
5958
6007
|
target_session_id?: string;
|
|
@@ -6262,9 +6311,12 @@ export type SessionConversationRewindResponse = {
|
|
|
6262
6311
|
};
|
|
6263
6312
|
export type SessionDerivationPayload = {
|
|
6264
6313
|
first_prompt: string;
|
|
6265
|
-
|
|
6314
|
+
inherited_message_count?: number | null;
|
|
6315
|
+
kind: "" | "provenance" | "spawn" | "continue" | "fork" | "recovery" | "side";
|
|
6266
6316
|
native_fork_error?: string;
|
|
6267
6317
|
native_state?: string;
|
|
6318
|
+
replay_message_count?: number | null;
|
|
6319
|
+
replay_omitted_count?: number | null;
|
|
6268
6320
|
seed: string;
|
|
6269
6321
|
source_session_id: string;
|
|
6270
6322
|
};
|
|
@@ -6293,6 +6345,7 @@ export type SessionDerivePreviewResponse = {
|
|
|
6293
6345
|
cut?: SessionDeriveCutPayload | null;
|
|
6294
6346
|
message_count: number;
|
|
6295
6347
|
native_fork_possible: boolean;
|
|
6348
|
+
native_fork_refusal_reason?: string;
|
|
6296
6349
|
omitted_count: number;
|
|
6297
6350
|
replay_bytes: number;
|
|
6298
6351
|
source_message_count: number;
|
|
@@ -6581,7 +6634,7 @@ export type SessionLaterPayload = {
|
|
|
6581
6634
|
};
|
|
6582
6635
|
export type SessionLineagePayload = {
|
|
6583
6636
|
auto_stop_on_parent: boolean;
|
|
6584
|
-
kind?: "" | "provenance" | "spawn" | "continue" | "fork" | "recovery";
|
|
6637
|
+
kind?: "" | "provenance" | "spawn" | "continue" | "fork" | "recovery" | "side";
|
|
6585
6638
|
notify_creator: boolean;
|
|
6586
6639
|
origin_agent_name?: string;
|
|
6587
6640
|
origin_message_id?: string;
|
|
@@ -6935,6 +6988,25 @@ export type SessionRuntimeRecoveryPayload = {
|
|
|
6935
6988
|
reason?: "runtime_exit" | "provider_auth";
|
|
6936
6989
|
started_at: string;
|
|
6937
6990
|
};
|
|
6991
|
+
export type SessionSideCommandResult = {
|
|
6992
|
+
seed: string;
|
|
6993
|
+
session_id: string;
|
|
6994
|
+
source_turn_in_progress: boolean;
|
|
6995
|
+
};
|
|
6996
|
+
export type SessionSideItemPayload = {
|
|
6997
|
+
archived_at: string | null;
|
|
6998
|
+
created_at: string;
|
|
6999
|
+
id: string;
|
|
7000
|
+
name: string;
|
|
7001
|
+
pending_clarify_count: number;
|
|
7002
|
+
pending_permission_count: number;
|
|
7003
|
+
prompting: boolean;
|
|
7004
|
+
state: string;
|
|
7005
|
+
updated_at: string;
|
|
7006
|
+
};
|
|
7007
|
+
export type SessionSidesResponse = {
|
|
7008
|
+
sides: Array<SessionSideItemPayload>;
|
|
7009
|
+
};
|
|
6938
7010
|
export type SessionSkillInvocationPayload = {
|
|
6939
7011
|
command_id: string;
|
|
6940
7012
|
end: number;
|
|
@@ -10893,7 +10965,7 @@ export type ListAgentInstancesErrors = {
|
|
|
10893
10965
|
export type ListAgentInstancesError = ListAgentInstancesErrors[keyof ListAgentInstancesErrors];
|
|
10894
10966
|
export type ListAgentInstancesResponses = {
|
|
10895
10967
|
/**
|
|
10896
|
-
*
|
|
10968
|
+
* Instance list or reachable peers. An authorization-filtered empty peer list may include peers_note.
|
|
10897
10969
|
*/
|
|
10898
10970
|
200: AgentInstanceListResponse;
|
|
10899
10971
|
};
|
|
@@ -16937,6 +17009,34 @@ export type PreviewExtensionInstallResponses = {
|
|
|
16937
17009
|
200: ExtensionInstallPreviewPayload;
|
|
16938
17010
|
};
|
|
16939
17011
|
export type PreviewExtensionInstallResponse = PreviewExtensionInstallResponses[keyof PreviewExtensionInstallResponses];
|
|
17012
|
+
export type ListRemovedBuiltinExtensionsData = {
|
|
17013
|
+
body?: never;
|
|
17014
|
+
path?: never;
|
|
17015
|
+
query?: never;
|
|
17016
|
+
url: "/api/extensions/removed-builtins";
|
|
17017
|
+
};
|
|
17018
|
+
export type ListRemovedBuiltinExtensionsErrors = {
|
|
17019
|
+
/**
|
|
17020
|
+
* Internal server error
|
|
17021
|
+
*/
|
|
17022
|
+
500: ErrorPayload;
|
|
17023
|
+
/**
|
|
17024
|
+
* Listing is not available on this extension service
|
|
17025
|
+
*/
|
|
17026
|
+
501: ErrorPayload;
|
|
17027
|
+
/**
|
|
17028
|
+
* Extension service is not configured
|
|
17029
|
+
*/
|
|
17030
|
+
503: ErrorPayload;
|
|
17031
|
+
};
|
|
17032
|
+
export type ListRemovedBuiltinExtensionsError = ListRemovedBuiltinExtensionsErrors[keyof ListRemovedBuiltinExtensionsErrors];
|
|
17033
|
+
export type ListRemovedBuiltinExtensionsResponses = {
|
|
17034
|
+
/**
|
|
17035
|
+
* OK
|
|
17036
|
+
*/
|
|
17037
|
+
200: ExtensionRemovedBuiltinsResponse;
|
|
17038
|
+
};
|
|
17039
|
+
export type ListRemovedBuiltinExtensionsResponse = ListRemovedBuiltinExtensionsResponses[keyof ListRemovedBuiltinExtensionsResponses];
|
|
16940
17040
|
export type UpdateExtensionsData = {
|
|
16941
17041
|
/**
|
|
16942
17042
|
* JSON request body
|
|
@@ -17002,6 +17102,10 @@ export type RemoveExtensionData = {
|
|
|
17002
17102
|
* Operator workspace reference; omit for the global instance
|
|
17003
17103
|
*/
|
|
17004
17104
|
workspace?: string;
|
|
17105
|
+
/**
|
|
17106
|
+
* Remove a bundled built-in permanently. It is not re-enrolled at boot or update until restored. Global only.
|
|
17107
|
+
*/
|
|
17108
|
+
permanent?: boolean;
|
|
17005
17109
|
/**
|
|
17006
17110
|
* Act as this profile by name
|
|
17007
17111
|
*/
|
|
@@ -17010,6 +17114,10 @@ export type RemoveExtensionData = {
|
|
|
17010
17114
|
url: "/api/extensions/{name}";
|
|
17011
17115
|
};
|
|
17012
17116
|
export type RemoveExtensionErrors = {
|
|
17117
|
+
/**
|
|
17118
|
+
* Invalid request, including permanent with a workspace or profile
|
|
17119
|
+
*/
|
|
17120
|
+
400: ErrorPayload;
|
|
17013
17121
|
/**
|
|
17014
17122
|
* Forbidden
|
|
17015
17123
|
*/
|
|
@@ -17022,10 +17130,18 @@ export type RemoveExtensionErrors = {
|
|
|
17022
17130
|
* Extension is in use
|
|
17023
17131
|
*/
|
|
17024
17132
|
409: ErrorPayload;
|
|
17133
|
+
/**
|
|
17134
|
+
* Extension is not a built-in
|
|
17135
|
+
*/
|
|
17136
|
+
422: ExtensionOperationErrorPayload;
|
|
17025
17137
|
/**
|
|
17026
17138
|
* Internal server error
|
|
17027
17139
|
*/
|
|
17028
17140
|
500: ErrorPayload;
|
|
17141
|
+
/**
|
|
17142
|
+
* Permanent removal is not available on this extension service
|
|
17143
|
+
*/
|
|
17144
|
+
501: ErrorPayload;
|
|
17029
17145
|
/**
|
|
17030
17146
|
* Extension service is not configured
|
|
17031
17147
|
*/
|
|
@@ -17454,6 +17570,51 @@ export type ReloadDevExtensionResponses = {
|
|
|
17454
17570
|
200: ExtensionResponse;
|
|
17455
17571
|
};
|
|
17456
17572
|
export type ReloadDevExtensionResponse = ReloadDevExtensionResponses[keyof ReloadDevExtensionResponses];
|
|
17573
|
+
export type RestoreExtensionData = {
|
|
17574
|
+
body?: never;
|
|
17575
|
+
path: {
|
|
17576
|
+
/**
|
|
17577
|
+
* Extension name
|
|
17578
|
+
*/
|
|
17579
|
+
name: string;
|
|
17580
|
+
};
|
|
17581
|
+
query?: never;
|
|
17582
|
+
url: "/api/extensions/{name}/restore";
|
|
17583
|
+
};
|
|
17584
|
+
export type RestoreExtensionErrors = {
|
|
17585
|
+
/**
|
|
17586
|
+
* Forbidden
|
|
17587
|
+
*/
|
|
17588
|
+
403: ErrorPayload;
|
|
17589
|
+
/**
|
|
17590
|
+
* Extension not found
|
|
17591
|
+
*/
|
|
17592
|
+
404: ErrorPayload;
|
|
17593
|
+
/**
|
|
17594
|
+
* Not permanently removed, or a non-bundled extension of the same name is installed
|
|
17595
|
+
*/
|
|
17596
|
+
409: ExtensionOperationErrorPayload;
|
|
17597
|
+
/**
|
|
17598
|
+
* Enrollment failed; the removed state is restored and the tombstone is kept
|
|
17599
|
+
*/
|
|
17600
|
+
500: ExtensionOperationErrorPayload;
|
|
17601
|
+
/**
|
|
17602
|
+
* Restore is not available on this extension service
|
|
17603
|
+
*/
|
|
17604
|
+
501: ErrorPayload;
|
|
17605
|
+
/**
|
|
17606
|
+
* Extension service is not configured
|
|
17607
|
+
*/
|
|
17608
|
+
503: ErrorPayload;
|
|
17609
|
+
};
|
|
17610
|
+
export type RestoreExtensionError = RestoreExtensionErrors[keyof RestoreExtensionErrors];
|
|
17611
|
+
export type RestoreExtensionResponses = {
|
|
17612
|
+
/**
|
|
17613
|
+
* Restored at the bundled version, enabled
|
|
17614
|
+
*/
|
|
17615
|
+
200: ExtensionRestorePayload;
|
|
17616
|
+
};
|
|
17617
|
+
export type RestoreExtensionResponse = RestoreExtensionResponses[keyof RestoreExtensionResponses];
|
|
17457
17618
|
export type ListExtensionSecretsData = {
|
|
17458
17619
|
body?: never;
|
|
17459
17620
|
path: {
|
|
@@ -21769,6 +21930,10 @@ export type ListSessionsData = {
|
|
|
21769
21930
|
* Filter by exact bound worktree id
|
|
21770
21931
|
*/
|
|
21771
21932
|
worktree?: string;
|
|
21933
|
+
/**
|
|
21934
|
+
* Filter by session folder id or @root for unfoldered sessions; descendants follow their thread's folder. Requires one workspace and profile
|
|
21935
|
+
*/
|
|
21936
|
+
folder?: string;
|
|
21772
21937
|
/**
|
|
21773
21938
|
* Search session id, name, agent, or provider; title_agent searches visible title and agent
|
|
21774
21939
|
*/
|
|
@@ -21802,11 +21967,11 @@ export type ListSessionsData = {
|
|
|
21802
21967
|
*/
|
|
21803
21968
|
later?: "exclude" | "only" | "include";
|
|
21804
21969
|
/**
|
|
21805
|
-
* Visibility of pinned sessions; included by default
|
|
21970
|
+
* Visibility of pinned sessions and the subtrees their pins carry; included by default
|
|
21806
21971
|
*/
|
|
21807
21972
|
pinned?: "exclude" | "only" | "include";
|
|
21808
21973
|
/**
|
|
21809
|
-
* Stable session ordering; pinned (
|
|
21974
|
+
* Stable session ordering; pinned (the operator's Pinned order, pages by pin with each pin's subtree) requires pinned=only
|
|
21810
21975
|
*/
|
|
21811
21976
|
sort?: "recent" | "created" | "name" | "last_activity" | "attention" | "navigator" | "manual" | "pinned";
|
|
21812
21977
|
/**
|
|
@@ -21935,7 +22100,7 @@ export type ListSessionFacetsData = {
|
|
|
21935
22100
|
path?: never;
|
|
21936
22101
|
query?: {
|
|
21937
22102
|
/**
|
|
21938
|
-
* Exclude
|
|
22103
|
+
* Exclude always-on main sessions from all session counts
|
|
21939
22104
|
*/
|
|
21940
22105
|
exclude_instance_main?: boolean;
|
|
21941
22106
|
/**
|
|
@@ -22007,7 +22172,7 @@ export type ListSessionFacetsData = {
|
|
|
22007
22172
|
*/
|
|
22008
22173
|
later?: "exclude" | "only" | "include";
|
|
22009
22174
|
/**
|
|
22010
|
-
* Visibility of pinned sessions; included by default
|
|
22175
|
+
* Visibility of pinned sessions and the subtrees their pins carry; included by default
|
|
22011
22176
|
*/
|
|
22012
22177
|
pinned?: "exclude" | "only" | "include";
|
|
22013
22178
|
/**
|
|
@@ -22523,6 +22688,60 @@ export type GetGlobalSessionTranscriptResponses = {
|
|
|
22523
22688
|
200: SessionTranscriptResponse;
|
|
22524
22689
|
};
|
|
22525
22690
|
export type GetGlobalSessionTranscriptResponse = GetGlobalSessionTranscriptResponses[keyof GetGlobalSessionTranscriptResponses];
|
|
22691
|
+
export type GetGlobalSessionInheritedTranscriptData = {
|
|
22692
|
+
body?: never;
|
|
22693
|
+
path: {
|
|
22694
|
+
/**
|
|
22695
|
+
* Derived child session id
|
|
22696
|
+
*/
|
|
22697
|
+
session_id: string;
|
|
22698
|
+
};
|
|
22699
|
+
query?: {
|
|
22700
|
+
/**
|
|
22701
|
+
* Maximum page size; defaults to the newest 200 entries and is capped at 1000
|
|
22702
|
+
*/
|
|
22703
|
+
limit?: number;
|
|
22704
|
+
/**
|
|
22705
|
+
* Return inherited entries whose stable start sequence is before this cursor
|
|
22706
|
+
*/
|
|
22707
|
+
before_sequence?: number;
|
|
22708
|
+
/**
|
|
22709
|
+
* Read one profile's rows by name
|
|
22710
|
+
*/
|
|
22711
|
+
profile?: string;
|
|
22712
|
+
/**
|
|
22713
|
+
* Read the owner-labeled all-profiles aggregate
|
|
22714
|
+
*/
|
|
22715
|
+
all_profiles?: boolean;
|
|
22716
|
+
};
|
|
22717
|
+
url: "/api/sessions/{session_id}/transcript/inherited";
|
|
22718
|
+
};
|
|
22719
|
+
export type GetGlobalSessionInheritedTranscriptErrors = {
|
|
22720
|
+
/**
|
|
22721
|
+
* Invalid filter
|
|
22722
|
+
*/
|
|
22723
|
+
400: ErrorPayload;
|
|
22724
|
+
/**
|
|
22725
|
+
* Session not found or source transcript unavailable (inherited_transcript_unavailable)
|
|
22726
|
+
*/
|
|
22727
|
+
404: ErrorPayload;
|
|
22728
|
+
/**
|
|
22729
|
+
* Internal server error
|
|
22730
|
+
*/
|
|
22731
|
+
500: ErrorPayload;
|
|
22732
|
+
/**
|
|
22733
|
+
* Transcript projection is incompatible
|
|
22734
|
+
*/
|
|
22735
|
+
503: ErrorPayload;
|
|
22736
|
+
};
|
|
22737
|
+
export type GetGlobalSessionInheritedTranscriptError = GetGlobalSessionInheritedTranscriptErrors[keyof GetGlobalSessionInheritedTranscriptErrors];
|
|
22738
|
+
export type GetGlobalSessionInheritedTranscriptResponses = {
|
|
22739
|
+
/**
|
|
22740
|
+
* OK
|
|
22741
|
+
*/
|
|
22742
|
+
200: SessionTranscriptResponse;
|
|
22743
|
+
};
|
|
22744
|
+
export type GetGlobalSessionInheritedTranscriptResponse = GetGlobalSessionInheritedTranscriptResponses[keyof GetGlobalSessionInheritedTranscriptResponses];
|
|
22526
22745
|
export type GetGlobalSessionTranscriptOutlineData = {
|
|
22527
22746
|
body?: never;
|
|
22528
22747
|
path: {
|
|
@@ -32412,6 +32631,10 @@ export type ListWorkspaceSessionsData = {
|
|
|
32412
32631
|
* Filter by exact bound worktree id
|
|
32413
32632
|
*/
|
|
32414
32633
|
worktree?: string;
|
|
32634
|
+
/**
|
|
32635
|
+
* Filter by session folder id or @root for unfoldered sessions; descendants follow their thread's folder. Requires one workspace and profile
|
|
32636
|
+
*/
|
|
32637
|
+
folder?: string;
|
|
32415
32638
|
/**
|
|
32416
32639
|
* Search session id, name, agent, or provider; title_agent searches visible title and agent
|
|
32417
32640
|
*/
|
|
@@ -32445,11 +32668,11 @@ export type ListWorkspaceSessionsData = {
|
|
|
32445
32668
|
*/
|
|
32446
32669
|
later?: "exclude" | "only" | "include";
|
|
32447
32670
|
/**
|
|
32448
|
-
* Visibility of pinned sessions; included by default
|
|
32671
|
+
* Visibility of pinned sessions and the subtrees their pins carry; included by default
|
|
32449
32672
|
*/
|
|
32450
32673
|
pinned?: "exclude" | "only" | "include";
|
|
32451
32674
|
/**
|
|
32452
|
-
* Stable session ordering; pinned (
|
|
32675
|
+
* Stable session ordering; pinned (the operator's Pinned order, pages by pin with each pin's subtree) requires pinned=only
|
|
32453
32676
|
*/
|
|
32454
32677
|
sort?: "recent" | "created" | "name" | "last_activity" | "attention" | "navigator" | "manual" | "pinned";
|
|
32455
32678
|
/**
|
|
@@ -33558,11 +33781,11 @@ export type ContinueSessionErrors = {
|
|
|
33558
33781
|
*/
|
|
33559
33782
|
404: SessionDeriveErrorPayload;
|
|
33560
33783
|
/**
|
|
33561
|
-
* Session cannot be continued
|
|
33784
|
+
* Session cannot be continued or the source is busy
|
|
33562
33785
|
*/
|
|
33563
33786
|
409: SessionDeriveErrorPayload;
|
|
33564
33787
|
/**
|
|
33565
|
-
* Runtime or
|
|
33788
|
+
* Runtime, authentication or previously admitted first-message failure; when the new session was already created the error carries child_session_id
|
|
33566
33789
|
*/
|
|
33567
33790
|
422: SessionDeriveErrorPayload;
|
|
33568
33791
|
/**
|
|
@@ -33624,7 +33847,7 @@ export type PreviewSessionDeriveErrors = {
|
|
|
33624
33847
|
*/
|
|
33625
33848
|
404: ErrorPayload;
|
|
33626
33849
|
/**
|
|
33627
|
-
* Session is archived
|
|
33850
|
+
* Session is archived or the source is busy
|
|
33628
33851
|
*/
|
|
33629
33852
|
409: ErrorPayload;
|
|
33630
33853
|
/**
|
|
@@ -34193,11 +34416,11 @@ export type ForkSessionErrors = {
|
|
|
34193
34416
|
*/
|
|
34194
34417
|
404: SessionDeriveErrorPayload;
|
|
34195
34418
|
/**
|
|
34196
|
-
* Session cannot be forked
|
|
34419
|
+
* Session cannot be forked or the source is busy
|
|
34197
34420
|
*/
|
|
34198
34421
|
409: SessionDeriveErrorPayload;
|
|
34199
34422
|
/**
|
|
34200
|
-
* Runtime or
|
|
34423
|
+
* Runtime, authentication or previously admitted first-message failure; when the new session was already created the error carries child_session_id
|
|
34201
34424
|
*/
|
|
34202
34425
|
422: SessionDeriveErrorPayload;
|
|
34203
34426
|
/**
|
|
@@ -36260,6 +36483,117 @@ export type SetSessionRuntimeResponses = {
|
|
|
36260
36483
|
200: SessionResponse;
|
|
36261
36484
|
};
|
|
36262
36485
|
export type SetSessionRuntimeResponse = SetSessionRuntimeResponses[keyof SetSessionRuntimeResponses];
|
|
36486
|
+
export type ListSessionSidesData = {
|
|
36487
|
+
body?: never;
|
|
36488
|
+
path: {
|
|
36489
|
+
/**
|
|
36490
|
+
* Workspace id
|
|
36491
|
+
*/
|
|
36492
|
+
workspace_id: string;
|
|
36493
|
+
/**
|
|
36494
|
+
* Source session id
|
|
36495
|
+
*/
|
|
36496
|
+
session_id: string;
|
|
36497
|
+
};
|
|
36498
|
+
query?: {
|
|
36499
|
+
/**
|
|
36500
|
+
* Include closed side chats
|
|
36501
|
+
*/
|
|
36502
|
+
archived?: string;
|
|
36503
|
+
/**
|
|
36504
|
+
* Act as this profile by name
|
|
36505
|
+
*/
|
|
36506
|
+
profile?: string;
|
|
36507
|
+
};
|
|
36508
|
+
url: "/api/workspaces/{workspace_id}/sessions/{session_id}/sides";
|
|
36509
|
+
};
|
|
36510
|
+
export type ListSessionSidesErrors = {
|
|
36511
|
+
/**
|
|
36512
|
+
* Invalid archive filter
|
|
36513
|
+
*/
|
|
36514
|
+
400: ErrorPayload;
|
|
36515
|
+
/**
|
|
36516
|
+
* Session not found
|
|
36517
|
+
*/
|
|
36518
|
+
404: ErrorPayload;
|
|
36519
|
+
/**
|
|
36520
|
+
* Side chats cannot list nested side chats
|
|
36521
|
+
*/
|
|
36522
|
+
409: ErrorPayload;
|
|
36523
|
+
/**
|
|
36524
|
+
* Internal server error
|
|
36525
|
+
*/
|
|
36526
|
+
500: ErrorPayload;
|
|
36527
|
+
};
|
|
36528
|
+
export type ListSessionSidesError = ListSessionSidesErrors[keyof ListSessionSidesErrors];
|
|
36529
|
+
export type ListSessionSidesResponses = {
|
|
36530
|
+
/**
|
|
36531
|
+
* Complete side chat list
|
|
36532
|
+
*/
|
|
36533
|
+
200: SessionSidesResponse;
|
|
36534
|
+
};
|
|
36535
|
+
export type ListSessionSidesResponse = ListSessionSidesResponses[keyof ListSessionSidesResponses];
|
|
36536
|
+
export type OpenSessionSideData = {
|
|
36537
|
+
/**
|
|
36538
|
+
* JSON request body
|
|
36539
|
+
*/
|
|
36540
|
+
body: OpenSessionSideRequest;
|
|
36541
|
+
path: {
|
|
36542
|
+
/**
|
|
36543
|
+
* Workspace id
|
|
36544
|
+
*/
|
|
36545
|
+
workspace_id: string;
|
|
36546
|
+
/**
|
|
36547
|
+
* Source session id
|
|
36548
|
+
*/
|
|
36549
|
+
session_id: string;
|
|
36550
|
+
};
|
|
36551
|
+
query?: {
|
|
36552
|
+
/**
|
|
36553
|
+
* Act as this profile by name
|
|
36554
|
+
*/
|
|
36555
|
+
profile?: string;
|
|
36556
|
+
};
|
|
36557
|
+
url: "/api/workspaces/{workspace_id}/sessions/{session_id}/sides";
|
|
36558
|
+
};
|
|
36559
|
+
export type OpenSessionSideErrors = {
|
|
36560
|
+
/**
|
|
36561
|
+
* Invalid side chat question or identity
|
|
36562
|
+
*/
|
|
36563
|
+
400: SessionDeriveErrorPayload;
|
|
36564
|
+
/**
|
|
36565
|
+
* Session not found
|
|
36566
|
+
*/
|
|
36567
|
+
404: SessionDeriveErrorPayload;
|
|
36568
|
+
/**
|
|
36569
|
+
* Side chat refused
|
|
36570
|
+
*/
|
|
36571
|
+
409: SessionDeriveErrorPayload;
|
|
36572
|
+
/**
|
|
36573
|
+
* Runtime, authentication or previously admitted first-message failure; when the new session was already created the error carries child_session_id
|
|
36574
|
+
*/
|
|
36575
|
+
422: SessionDeriveErrorPayload;
|
|
36576
|
+
/**
|
|
36577
|
+
* Internal server error
|
|
36578
|
+
*/
|
|
36579
|
+
500: SessionDeriveErrorPayload;
|
|
36580
|
+
/**
|
|
36581
|
+
* New-work admission is unavailable while the daemon is draining
|
|
36582
|
+
*/
|
|
36583
|
+
503: SessionDeriveErrorPayload;
|
|
36584
|
+
};
|
|
36585
|
+
export type OpenSessionSideError = OpenSessionSideErrors[keyof OpenSessionSideErrors];
|
|
36586
|
+
export type OpenSessionSideResponses = {
|
|
36587
|
+
/**
|
|
36588
|
+
* Recorded side chat replayed
|
|
36589
|
+
*/
|
|
36590
|
+
200: SessionDeriveResponse;
|
|
36591
|
+
/**
|
|
36592
|
+
* Created
|
|
36593
|
+
*/
|
|
36594
|
+
201: SessionDeriveResponse;
|
|
36595
|
+
};
|
|
36596
|
+
export type OpenSessionSideResponse = OpenSessionSideResponses[keyof OpenSessionSideResponses];
|
|
36263
36597
|
export type RefreshSessionSoulData = {
|
|
36264
36598
|
/**
|
|
36265
36599
|
* JSON request body
|
|
@@ -36692,6 +37026,64 @@ export type GetSessionTranscriptResponses = {
|
|
|
36692
37026
|
200: SessionTranscriptResponse;
|
|
36693
37027
|
};
|
|
36694
37028
|
export type GetSessionTranscriptResponse = GetSessionTranscriptResponses[keyof GetSessionTranscriptResponses];
|
|
37029
|
+
export type GetSessionInheritedTranscriptData = {
|
|
37030
|
+
body?: never;
|
|
37031
|
+
path: {
|
|
37032
|
+
/**
|
|
37033
|
+
* Workspace id
|
|
37034
|
+
*/
|
|
37035
|
+
workspace_id: string;
|
|
37036
|
+
/**
|
|
37037
|
+
* Derived child session id
|
|
37038
|
+
*/
|
|
37039
|
+
session_id: string;
|
|
37040
|
+
};
|
|
37041
|
+
query?: {
|
|
37042
|
+
/**
|
|
37043
|
+
* Maximum page size; defaults to the newest 200 entries and is capped at 1000
|
|
37044
|
+
*/
|
|
37045
|
+
limit?: number;
|
|
37046
|
+
/**
|
|
37047
|
+
* Return inherited entries whose stable start sequence is before this cursor
|
|
37048
|
+
*/
|
|
37049
|
+
before_sequence?: number;
|
|
37050
|
+
/**
|
|
37051
|
+
* Read one profile's rows by name
|
|
37052
|
+
*/
|
|
37053
|
+
profile?: string;
|
|
37054
|
+
/**
|
|
37055
|
+
* Read the owner-labeled all-profiles aggregate
|
|
37056
|
+
*/
|
|
37057
|
+
all_profiles?: boolean;
|
|
37058
|
+
};
|
|
37059
|
+
url: "/api/workspaces/{workspace_id}/sessions/{session_id}/transcript/inherited";
|
|
37060
|
+
};
|
|
37061
|
+
export type GetSessionInheritedTranscriptErrors = {
|
|
37062
|
+
/**
|
|
37063
|
+
* Invalid filter
|
|
37064
|
+
*/
|
|
37065
|
+
400: ErrorPayload;
|
|
37066
|
+
/**
|
|
37067
|
+
* Session not found or source transcript unavailable (inherited_transcript_unavailable)
|
|
37068
|
+
*/
|
|
37069
|
+
404: ErrorPayload;
|
|
37070
|
+
/**
|
|
37071
|
+
* Internal server error
|
|
37072
|
+
*/
|
|
37073
|
+
500: ErrorPayload;
|
|
37074
|
+
/**
|
|
37075
|
+
* Transcript projection is incompatible
|
|
37076
|
+
*/
|
|
37077
|
+
503: ErrorPayload;
|
|
37078
|
+
};
|
|
37079
|
+
export type GetSessionInheritedTranscriptError = GetSessionInheritedTranscriptErrors[keyof GetSessionInheritedTranscriptErrors];
|
|
37080
|
+
export type GetSessionInheritedTranscriptResponses = {
|
|
37081
|
+
/**
|
|
37082
|
+
* OK
|
|
37083
|
+
*/
|
|
37084
|
+
200: SessionTranscriptResponse;
|
|
37085
|
+
};
|
|
37086
|
+
export type GetSessionInheritedTranscriptResponse = GetSessionInheritedTranscriptResponses[keyof GetSessionInheritedTranscriptResponses];
|
|
36695
37087
|
export type GetSessionTranscriptOutlineData = {
|
|
36696
37088
|
body?: never;
|
|
36697
37089
|
path: {
|