@compozy/client 0.7.6 → 0.7.7
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 +661 -26
- 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 +397 -14
- 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,6 +248,20 @@ 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>;
|
|
@@ -274,6 +288,8 @@ export type AgentInstancePayload = {
|
|
|
274
288
|
checks_enabled: boolean;
|
|
275
289
|
created: boolean;
|
|
276
290
|
created_at: string;
|
|
291
|
+
daily_budget?: AgentInstanceDailyBudgetLimits | null;
|
|
292
|
+
daily_budget_usage?: AgentInstanceDailyBudgetUsage | null;
|
|
277
293
|
failure_streak: number;
|
|
278
294
|
fatigue_limit: number;
|
|
279
295
|
held_wakes: number;
|
|
@@ -381,8 +397,15 @@ export type AgentInstanceResponse = {
|
|
|
381
397
|
export type AgentInstanceSeenResponse = {
|
|
382
398
|
last_seen_at: string;
|
|
383
399
|
};
|
|
384
|
-
export type AgentInstanceUpdateRequest = {
|
|
385
|
-
checks_enabled: boolean
|
|
400
|
+
export type AgentInstanceUpdateRequest = ({
|
|
401
|
+
checks_enabled: boolean;
|
|
402
|
+
daily_budget?: null;
|
|
403
|
+
} | {
|
|
404
|
+
checks_enabled?: null;
|
|
405
|
+
daily_budget: AgentInstanceDailyBudgetInput;
|
|
406
|
+
}) & {
|
|
407
|
+
checks_enabled?: boolean | null;
|
|
408
|
+
daily_budget?: AgentInstanceDailyBudgetInput | null;
|
|
386
409
|
};
|
|
387
410
|
export type AgentLimitsPayload = {
|
|
388
411
|
can_spawn_children: boolean;
|
|
@@ -2193,9 +2216,25 @@ export type ExtensionProvenanceResponse = {
|
|
|
2193
2216
|
export type ExtensionRemoveResponse = {
|
|
2194
2217
|
extension: ManagedExtensionRemovePayload;
|
|
2195
2218
|
};
|
|
2219
|
+
export type ExtensionRemovedBuiltinPayload = {
|
|
2220
|
+
name: string;
|
|
2221
|
+
removed_at: string;
|
|
2222
|
+
removed_by: string;
|
|
2223
|
+
};
|
|
2224
|
+
export type ExtensionRemovedBuiltinsResponse = {
|
|
2225
|
+
removed: Array<ExtensionRemovedBuiltinPayload>;
|
|
2226
|
+
};
|
|
2196
2227
|
export type ExtensionResponse = {
|
|
2197
2228
|
extension: ExtensionPayload;
|
|
2198
2229
|
};
|
|
2230
|
+
export type ExtensionRestorePayload = {
|
|
2231
|
+
enabled: boolean;
|
|
2232
|
+
name: string;
|
|
2233
|
+
path: string;
|
|
2234
|
+
source: string;
|
|
2235
|
+
status: string;
|
|
2236
|
+
version: string;
|
|
2237
|
+
};
|
|
2199
2238
|
export type ExtensionSecretBindingInput = {
|
|
2200
2239
|
env_name: string;
|
|
2201
2240
|
header_name?: string;
|
|
@@ -4248,8 +4287,10 @@ export type ManagedExtensionRemovePayload = {
|
|
|
4248
4287
|
data_path?: string;
|
|
4249
4288
|
name: string;
|
|
4250
4289
|
path: string;
|
|
4290
|
+
permanent: boolean;
|
|
4251
4291
|
quarantine_path?: string;
|
|
4252
4292
|
status: string;
|
|
4293
|
+
tombstoned_at: string;
|
|
4253
4294
|
warnings?: Array<DiagnosticItem>;
|
|
4254
4295
|
};
|
|
4255
4296
|
export type ManagedExtensionUpdatePayload = {
|
|
@@ -4666,6 +4707,11 @@ export type OpenAIModelPayload = {
|
|
|
4666
4707
|
export type OpenAppEffect = {
|
|
4667
4708
|
app: string;
|
|
4668
4709
|
};
|
|
4710
|
+
export type OpenSessionSideRequest = {
|
|
4711
|
+
idempotency_key: string;
|
|
4712
|
+
message: string;
|
|
4713
|
+
name?: string;
|
|
4714
|
+
};
|
|
4669
4715
|
export type OpenURLEffect = {
|
|
4670
4716
|
url: string;
|
|
4671
4717
|
};
|
|
@@ -5352,6 +5398,7 @@ export type ReorderSessionFoldersRequest = {
|
|
|
5352
5398
|
};
|
|
5353
5399
|
export type ReorderSessionsRequest = {
|
|
5354
5400
|
folder_id?: string;
|
|
5401
|
+
pinned?: boolean;
|
|
5355
5402
|
session_ids: Array<string>;
|
|
5356
5403
|
};
|
|
5357
5404
|
export type ReorderWorkspaceFoldersRequest = {
|
|
@@ -5953,6 +6000,7 @@ export type SendPromptResultPayload = {
|
|
|
5953
6000
|
queue_position: number;
|
|
5954
6001
|
replayed: boolean;
|
|
5955
6002
|
reply_watch?: ReplyWatchRefPayload | null;
|
|
6003
|
+
side?: SessionSideCommandResult | null;
|
|
5956
6004
|
status: string;
|
|
5957
6005
|
steer_delivery?: "injected" | "pending_injection" | "pending_boundary" | "after_turn" | "interrupt_fallback";
|
|
5958
6006
|
target_session_id?: string;
|
|
@@ -6262,9 +6310,12 @@ export type SessionConversationRewindResponse = {
|
|
|
6262
6310
|
};
|
|
6263
6311
|
export type SessionDerivationPayload = {
|
|
6264
6312
|
first_prompt: string;
|
|
6265
|
-
|
|
6313
|
+
inherited_message_count?: number | null;
|
|
6314
|
+
kind: "" | "provenance" | "spawn" | "continue" | "fork" | "recovery" | "side";
|
|
6266
6315
|
native_fork_error?: string;
|
|
6267
6316
|
native_state?: string;
|
|
6317
|
+
replay_message_count?: number | null;
|
|
6318
|
+
replay_omitted_count?: number | null;
|
|
6268
6319
|
seed: string;
|
|
6269
6320
|
source_session_id: string;
|
|
6270
6321
|
};
|
|
@@ -6293,6 +6344,7 @@ export type SessionDerivePreviewResponse = {
|
|
|
6293
6344
|
cut?: SessionDeriveCutPayload | null;
|
|
6294
6345
|
message_count: number;
|
|
6295
6346
|
native_fork_possible: boolean;
|
|
6347
|
+
native_fork_refusal_reason?: string;
|
|
6296
6348
|
omitted_count: number;
|
|
6297
6349
|
replay_bytes: number;
|
|
6298
6350
|
source_message_count: number;
|
|
@@ -6581,7 +6633,7 @@ export type SessionLaterPayload = {
|
|
|
6581
6633
|
};
|
|
6582
6634
|
export type SessionLineagePayload = {
|
|
6583
6635
|
auto_stop_on_parent: boolean;
|
|
6584
|
-
kind?: "" | "provenance" | "spawn" | "continue" | "fork" | "recovery";
|
|
6636
|
+
kind?: "" | "provenance" | "spawn" | "continue" | "fork" | "recovery" | "side";
|
|
6585
6637
|
notify_creator: boolean;
|
|
6586
6638
|
origin_agent_name?: string;
|
|
6587
6639
|
origin_message_id?: string;
|
|
@@ -6935,6 +6987,25 @@ export type SessionRuntimeRecoveryPayload = {
|
|
|
6935
6987
|
reason?: "runtime_exit" | "provider_auth";
|
|
6936
6988
|
started_at: string;
|
|
6937
6989
|
};
|
|
6990
|
+
export type SessionSideCommandResult = {
|
|
6991
|
+
seed: string;
|
|
6992
|
+
session_id: string;
|
|
6993
|
+
source_turn_in_progress: boolean;
|
|
6994
|
+
};
|
|
6995
|
+
export type SessionSideItemPayload = {
|
|
6996
|
+
archived_at: string | null;
|
|
6997
|
+
created_at: string;
|
|
6998
|
+
id: string;
|
|
6999
|
+
name: string;
|
|
7000
|
+
pending_clarify_count: number;
|
|
7001
|
+
pending_permission_count: number;
|
|
7002
|
+
prompting: boolean;
|
|
7003
|
+
state: string;
|
|
7004
|
+
updated_at: string;
|
|
7005
|
+
};
|
|
7006
|
+
export type SessionSidesResponse = {
|
|
7007
|
+
sides: Array<SessionSideItemPayload>;
|
|
7008
|
+
};
|
|
6938
7009
|
export type SessionSkillInvocationPayload = {
|
|
6939
7010
|
command_id: string;
|
|
6940
7011
|
end: number;
|
|
@@ -16937,6 +17008,34 @@ export type PreviewExtensionInstallResponses = {
|
|
|
16937
17008
|
200: ExtensionInstallPreviewPayload;
|
|
16938
17009
|
};
|
|
16939
17010
|
export type PreviewExtensionInstallResponse = PreviewExtensionInstallResponses[keyof PreviewExtensionInstallResponses];
|
|
17011
|
+
export type ListRemovedBuiltinExtensionsData = {
|
|
17012
|
+
body?: never;
|
|
17013
|
+
path?: never;
|
|
17014
|
+
query?: never;
|
|
17015
|
+
url: "/api/extensions/removed-builtins";
|
|
17016
|
+
};
|
|
17017
|
+
export type ListRemovedBuiltinExtensionsErrors = {
|
|
17018
|
+
/**
|
|
17019
|
+
* Internal server error
|
|
17020
|
+
*/
|
|
17021
|
+
500: ErrorPayload;
|
|
17022
|
+
/**
|
|
17023
|
+
* Listing is not available on this extension service
|
|
17024
|
+
*/
|
|
17025
|
+
501: ErrorPayload;
|
|
17026
|
+
/**
|
|
17027
|
+
* Extension service is not configured
|
|
17028
|
+
*/
|
|
17029
|
+
503: ErrorPayload;
|
|
17030
|
+
};
|
|
17031
|
+
export type ListRemovedBuiltinExtensionsError = ListRemovedBuiltinExtensionsErrors[keyof ListRemovedBuiltinExtensionsErrors];
|
|
17032
|
+
export type ListRemovedBuiltinExtensionsResponses = {
|
|
17033
|
+
/**
|
|
17034
|
+
* OK
|
|
17035
|
+
*/
|
|
17036
|
+
200: ExtensionRemovedBuiltinsResponse;
|
|
17037
|
+
};
|
|
17038
|
+
export type ListRemovedBuiltinExtensionsResponse = ListRemovedBuiltinExtensionsResponses[keyof ListRemovedBuiltinExtensionsResponses];
|
|
16940
17039
|
export type UpdateExtensionsData = {
|
|
16941
17040
|
/**
|
|
16942
17041
|
* JSON request body
|
|
@@ -17002,6 +17101,10 @@ export type RemoveExtensionData = {
|
|
|
17002
17101
|
* Operator workspace reference; omit for the global instance
|
|
17003
17102
|
*/
|
|
17004
17103
|
workspace?: string;
|
|
17104
|
+
/**
|
|
17105
|
+
* Remove a bundled built-in permanently. It is not re-enrolled at boot or update until restored. Global only.
|
|
17106
|
+
*/
|
|
17107
|
+
permanent?: boolean;
|
|
17005
17108
|
/**
|
|
17006
17109
|
* Act as this profile by name
|
|
17007
17110
|
*/
|
|
@@ -17010,6 +17113,10 @@ export type RemoveExtensionData = {
|
|
|
17010
17113
|
url: "/api/extensions/{name}";
|
|
17011
17114
|
};
|
|
17012
17115
|
export type RemoveExtensionErrors = {
|
|
17116
|
+
/**
|
|
17117
|
+
* Invalid request, including permanent with a workspace or profile
|
|
17118
|
+
*/
|
|
17119
|
+
400: ErrorPayload;
|
|
17013
17120
|
/**
|
|
17014
17121
|
* Forbidden
|
|
17015
17122
|
*/
|
|
@@ -17022,10 +17129,18 @@ export type RemoveExtensionErrors = {
|
|
|
17022
17129
|
* Extension is in use
|
|
17023
17130
|
*/
|
|
17024
17131
|
409: ErrorPayload;
|
|
17132
|
+
/**
|
|
17133
|
+
* Extension is not a built-in
|
|
17134
|
+
*/
|
|
17135
|
+
422: ExtensionOperationErrorPayload;
|
|
17025
17136
|
/**
|
|
17026
17137
|
* Internal server error
|
|
17027
17138
|
*/
|
|
17028
17139
|
500: ErrorPayload;
|
|
17140
|
+
/**
|
|
17141
|
+
* Permanent removal is not available on this extension service
|
|
17142
|
+
*/
|
|
17143
|
+
501: ErrorPayload;
|
|
17029
17144
|
/**
|
|
17030
17145
|
* Extension service is not configured
|
|
17031
17146
|
*/
|
|
@@ -17454,6 +17569,51 @@ export type ReloadDevExtensionResponses = {
|
|
|
17454
17569
|
200: ExtensionResponse;
|
|
17455
17570
|
};
|
|
17456
17571
|
export type ReloadDevExtensionResponse = ReloadDevExtensionResponses[keyof ReloadDevExtensionResponses];
|
|
17572
|
+
export type RestoreExtensionData = {
|
|
17573
|
+
body?: never;
|
|
17574
|
+
path: {
|
|
17575
|
+
/**
|
|
17576
|
+
* Extension name
|
|
17577
|
+
*/
|
|
17578
|
+
name: string;
|
|
17579
|
+
};
|
|
17580
|
+
query?: never;
|
|
17581
|
+
url: "/api/extensions/{name}/restore";
|
|
17582
|
+
};
|
|
17583
|
+
export type RestoreExtensionErrors = {
|
|
17584
|
+
/**
|
|
17585
|
+
* Forbidden
|
|
17586
|
+
*/
|
|
17587
|
+
403: ErrorPayload;
|
|
17588
|
+
/**
|
|
17589
|
+
* Extension not found
|
|
17590
|
+
*/
|
|
17591
|
+
404: ErrorPayload;
|
|
17592
|
+
/**
|
|
17593
|
+
* Not permanently removed, or a non-bundled extension of the same name is installed
|
|
17594
|
+
*/
|
|
17595
|
+
409: ExtensionOperationErrorPayload;
|
|
17596
|
+
/**
|
|
17597
|
+
* Enrollment failed; the removed state is restored and the tombstone is kept
|
|
17598
|
+
*/
|
|
17599
|
+
500: ExtensionOperationErrorPayload;
|
|
17600
|
+
/**
|
|
17601
|
+
* Restore is not available on this extension service
|
|
17602
|
+
*/
|
|
17603
|
+
501: ErrorPayload;
|
|
17604
|
+
/**
|
|
17605
|
+
* Extension service is not configured
|
|
17606
|
+
*/
|
|
17607
|
+
503: ErrorPayload;
|
|
17608
|
+
};
|
|
17609
|
+
export type RestoreExtensionError = RestoreExtensionErrors[keyof RestoreExtensionErrors];
|
|
17610
|
+
export type RestoreExtensionResponses = {
|
|
17611
|
+
/**
|
|
17612
|
+
* Restored at the bundled version, enabled
|
|
17613
|
+
*/
|
|
17614
|
+
200: ExtensionRestorePayload;
|
|
17615
|
+
};
|
|
17616
|
+
export type RestoreExtensionResponse = RestoreExtensionResponses[keyof RestoreExtensionResponses];
|
|
17457
17617
|
export type ListExtensionSecretsData = {
|
|
17458
17618
|
body?: never;
|
|
17459
17619
|
path: {
|
|
@@ -21802,11 +21962,11 @@ export type ListSessionsData = {
|
|
|
21802
21962
|
*/
|
|
21803
21963
|
later?: "exclude" | "only" | "include";
|
|
21804
21964
|
/**
|
|
21805
|
-
* Visibility of pinned sessions; included by default
|
|
21965
|
+
* Visibility of pinned sessions and the subtrees their pins carry; included by default
|
|
21806
21966
|
*/
|
|
21807
21967
|
pinned?: "exclude" | "only" | "include";
|
|
21808
21968
|
/**
|
|
21809
|
-
* Stable session ordering; pinned (
|
|
21969
|
+
* Stable session ordering; pinned (the operator's Pinned order, pages by pin with each pin's subtree) requires pinned=only
|
|
21810
21970
|
*/
|
|
21811
21971
|
sort?: "recent" | "created" | "name" | "last_activity" | "attention" | "navigator" | "manual" | "pinned";
|
|
21812
21972
|
/**
|
|
@@ -22007,7 +22167,7 @@ export type ListSessionFacetsData = {
|
|
|
22007
22167
|
*/
|
|
22008
22168
|
later?: "exclude" | "only" | "include";
|
|
22009
22169
|
/**
|
|
22010
|
-
* Visibility of pinned sessions; included by default
|
|
22170
|
+
* Visibility of pinned sessions and the subtrees their pins carry; included by default
|
|
22011
22171
|
*/
|
|
22012
22172
|
pinned?: "exclude" | "only" | "include";
|
|
22013
22173
|
/**
|
|
@@ -22523,6 +22683,60 @@ export type GetGlobalSessionTranscriptResponses = {
|
|
|
22523
22683
|
200: SessionTranscriptResponse;
|
|
22524
22684
|
};
|
|
22525
22685
|
export type GetGlobalSessionTranscriptResponse = GetGlobalSessionTranscriptResponses[keyof GetGlobalSessionTranscriptResponses];
|
|
22686
|
+
export type GetGlobalSessionInheritedTranscriptData = {
|
|
22687
|
+
body?: never;
|
|
22688
|
+
path: {
|
|
22689
|
+
/**
|
|
22690
|
+
* Derived child session id
|
|
22691
|
+
*/
|
|
22692
|
+
session_id: string;
|
|
22693
|
+
};
|
|
22694
|
+
query?: {
|
|
22695
|
+
/**
|
|
22696
|
+
* Maximum page size; defaults to the newest 200 entries and is capped at 1000
|
|
22697
|
+
*/
|
|
22698
|
+
limit?: number;
|
|
22699
|
+
/**
|
|
22700
|
+
* Return inherited entries whose stable start sequence is before this cursor
|
|
22701
|
+
*/
|
|
22702
|
+
before_sequence?: number;
|
|
22703
|
+
/**
|
|
22704
|
+
* Read one profile's rows by name
|
|
22705
|
+
*/
|
|
22706
|
+
profile?: string;
|
|
22707
|
+
/**
|
|
22708
|
+
* Read the owner-labeled all-profiles aggregate
|
|
22709
|
+
*/
|
|
22710
|
+
all_profiles?: boolean;
|
|
22711
|
+
};
|
|
22712
|
+
url: "/api/sessions/{session_id}/transcript/inherited";
|
|
22713
|
+
};
|
|
22714
|
+
export type GetGlobalSessionInheritedTranscriptErrors = {
|
|
22715
|
+
/**
|
|
22716
|
+
* Invalid filter
|
|
22717
|
+
*/
|
|
22718
|
+
400: ErrorPayload;
|
|
22719
|
+
/**
|
|
22720
|
+
* Session not found or source transcript unavailable (inherited_transcript_unavailable)
|
|
22721
|
+
*/
|
|
22722
|
+
404: ErrorPayload;
|
|
22723
|
+
/**
|
|
22724
|
+
* Internal server error
|
|
22725
|
+
*/
|
|
22726
|
+
500: ErrorPayload;
|
|
22727
|
+
/**
|
|
22728
|
+
* Transcript projection is incompatible
|
|
22729
|
+
*/
|
|
22730
|
+
503: ErrorPayload;
|
|
22731
|
+
};
|
|
22732
|
+
export type GetGlobalSessionInheritedTranscriptError = GetGlobalSessionInheritedTranscriptErrors[keyof GetGlobalSessionInheritedTranscriptErrors];
|
|
22733
|
+
export type GetGlobalSessionInheritedTranscriptResponses = {
|
|
22734
|
+
/**
|
|
22735
|
+
* OK
|
|
22736
|
+
*/
|
|
22737
|
+
200: SessionTranscriptResponse;
|
|
22738
|
+
};
|
|
22739
|
+
export type GetGlobalSessionInheritedTranscriptResponse = GetGlobalSessionInheritedTranscriptResponses[keyof GetGlobalSessionInheritedTranscriptResponses];
|
|
22526
22740
|
export type GetGlobalSessionTranscriptOutlineData = {
|
|
22527
22741
|
body?: never;
|
|
22528
22742
|
path: {
|
|
@@ -32445,11 +32659,11 @@ export type ListWorkspaceSessionsData = {
|
|
|
32445
32659
|
*/
|
|
32446
32660
|
later?: "exclude" | "only" | "include";
|
|
32447
32661
|
/**
|
|
32448
|
-
* Visibility of pinned sessions; included by default
|
|
32662
|
+
* Visibility of pinned sessions and the subtrees their pins carry; included by default
|
|
32449
32663
|
*/
|
|
32450
32664
|
pinned?: "exclude" | "only" | "include";
|
|
32451
32665
|
/**
|
|
32452
|
-
* Stable session ordering; pinned (
|
|
32666
|
+
* Stable session ordering; pinned (the operator's Pinned order, pages by pin with each pin's subtree) requires pinned=only
|
|
32453
32667
|
*/
|
|
32454
32668
|
sort?: "recent" | "created" | "name" | "last_activity" | "attention" | "navigator" | "manual" | "pinned";
|
|
32455
32669
|
/**
|
|
@@ -33558,11 +33772,11 @@ export type ContinueSessionErrors = {
|
|
|
33558
33772
|
*/
|
|
33559
33773
|
404: SessionDeriveErrorPayload;
|
|
33560
33774
|
/**
|
|
33561
|
-
* Session cannot be continued
|
|
33775
|
+
* Session cannot be continued or the source is busy
|
|
33562
33776
|
*/
|
|
33563
33777
|
409: SessionDeriveErrorPayload;
|
|
33564
33778
|
/**
|
|
33565
|
-
* Runtime or
|
|
33779
|
+
* Runtime, authentication or previously admitted first-message failure; when the new session was already created the error carries child_session_id
|
|
33566
33780
|
*/
|
|
33567
33781
|
422: SessionDeriveErrorPayload;
|
|
33568
33782
|
/**
|
|
@@ -33624,7 +33838,7 @@ export type PreviewSessionDeriveErrors = {
|
|
|
33624
33838
|
*/
|
|
33625
33839
|
404: ErrorPayload;
|
|
33626
33840
|
/**
|
|
33627
|
-
* Session is archived
|
|
33841
|
+
* Session is archived or the source is busy
|
|
33628
33842
|
*/
|
|
33629
33843
|
409: ErrorPayload;
|
|
33630
33844
|
/**
|
|
@@ -34193,11 +34407,11 @@ export type ForkSessionErrors = {
|
|
|
34193
34407
|
*/
|
|
34194
34408
|
404: SessionDeriveErrorPayload;
|
|
34195
34409
|
/**
|
|
34196
|
-
* Session cannot be forked
|
|
34410
|
+
* Session cannot be forked or the source is busy
|
|
34197
34411
|
*/
|
|
34198
34412
|
409: SessionDeriveErrorPayload;
|
|
34199
34413
|
/**
|
|
34200
|
-
* Runtime or
|
|
34414
|
+
* Runtime, authentication or previously admitted first-message failure; when the new session was already created the error carries child_session_id
|
|
34201
34415
|
*/
|
|
34202
34416
|
422: SessionDeriveErrorPayload;
|
|
34203
34417
|
/**
|
|
@@ -36260,6 +36474,117 @@ export type SetSessionRuntimeResponses = {
|
|
|
36260
36474
|
200: SessionResponse;
|
|
36261
36475
|
};
|
|
36262
36476
|
export type SetSessionRuntimeResponse = SetSessionRuntimeResponses[keyof SetSessionRuntimeResponses];
|
|
36477
|
+
export type ListSessionSidesData = {
|
|
36478
|
+
body?: never;
|
|
36479
|
+
path: {
|
|
36480
|
+
/**
|
|
36481
|
+
* Workspace id
|
|
36482
|
+
*/
|
|
36483
|
+
workspace_id: string;
|
|
36484
|
+
/**
|
|
36485
|
+
* Source session id
|
|
36486
|
+
*/
|
|
36487
|
+
session_id: string;
|
|
36488
|
+
};
|
|
36489
|
+
query?: {
|
|
36490
|
+
/**
|
|
36491
|
+
* Include closed side chats
|
|
36492
|
+
*/
|
|
36493
|
+
archived?: string;
|
|
36494
|
+
/**
|
|
36495
|
+
* Act as this profile by name
|
|
36496
|
+
*/
|
|
36497
|
+
profile?: string;
|
|
36498
|
+
};
|
|
36499
|
+
url: "/api/workspaces/{workspace_id}/sessions/{session_id}/sides";
|
|
36500
|
+
};
|
|
36501
|
+
export type ListSessionSidesErrors = {
|
|
36502
|
+
/**
|
|
36503
|
+
* Invalid archive filter
|
|
36504
|
+
*/
|
|
36505
|
+
400: ErrorPayload;
|
|
36506
|
+
/**
|
|
36507
|
+
* Session not found
|
|
36508
|
+
*/
|
|
36509
|
+
404: ErrorPayload;
|
|
36510
|
+
/**
|
|
36511
|
+
* Side chats cannot list nested side chats
|
|
36512
|
+
*/
|
|
36513
|
+
409: ErrorPayload;
|
|
36514
|
+
/**
|
|
36515
|
+
* Internal server error
|
|
36516
|
+
*/
|
|
36517
|
+
500: ErrorPayload;
|
|
36518
|
+
};
|
|
36519
|
+
export type ListSessionSidesError = ListSessionSidesErrors[keyof ListSessionSidesErrors];
|
|
36520
|
+
export type ListSessionSidesResponses = {
|
|
36521
|
+
/**
|
|
36522
|
+
* Complete side chat list
|
|
36523
|
+
*/
|
|
36524
|
+
200: SessionSidesResponse;
|
|
36525
|
+
};
|
|
36526
|
+
export type ListSessionSidesResponse = ListSessionSidesResponses[keyof ListSessionSidesResponses];
|
|
36527
|
+
export type OpenSessionSideData = {
|
|
36528
|
+
/**
|
|
36529
|
+
* JSON request body
|
|
36530
|
+
*/
|
|
36531
|
+
body: OpenSessionSideRequest;
|
|
36532
|
+
path: {
|
|
36533
|
+
/**
|
|
36534
|
+
* Workspace id
|
|
36535
|
+
*/
|
|
36536
|
+
workspace_id: string;
|
|
36537
|
+
/**
|
|
36538
|
+
* Source session id
|
|
36539
|
+
*/
|
|
36540
|
+
session_id: string;
|
|
36541
|
+
};
|
|
36542
|
+
query?: {
|
|
36543
|
+
/**
|
|
36544
|
+
* Act as this profile by name
|
|
36545
|
+
*/
|
|
36546
|
+
profile?: string;
|
|
36547
|
+
};
|
|
36548
|
+
url: "/api/workspaces/{workspace_id}/sessions/{session_id}/sides";
|
|
36549
|
+
};
|
|
36550
|
+
export type OpenSessionSideErrors = {
|
|
36551
|
+
/**
|
|
36552
|
+
* Invalid side chat question or identity
|
|
36553
|
+
*/
|
|
36554
|
+
400: SessionDeriveErrorPayload;
|
|
36555
|
+
/**
|
|
36556
|
+
* Session not found
|
|
36557
|
+
*/
|
|
36558
|
+
404: SessionDeriveErrorPayload;
|
|
36559
|
+
/**
|
|
36560
|
+
* Side chat refused
|
|
36561
|
+
*/
|
|
36562
|
+
409: SessionDeriveErrorPayload;
|
|
36563
|
+
/**
|
|
36564
|
+
* Runtime, authentication or previously admitted first-message failure; when the new session was already created the error carries child_session_id
|
|
36565
|
+
*/
|
|
36566
|
+
422: SessionDeriveErrorPayload;
|
|
36567
|
+
/**
|
|
36568
|
+
* Internal server error
|
|
36569
|
+
*/
|
|
36570
|
+
500: SessionDeriveErrorPayload;
|
|
36571
|
+
/**
|
|
36572
|
+
* New-work admission is unavailable while the daemon is draining
|
|
36573
|
+
*/
|
|
36574
|
+
503: SessionDeriveErrorPayload;
|
|
36575
|
+
};
|
|
36576
|
+
export type OpenSessionSideError = OpenSessionSideErrors[keyof OpenSessionSideErrors];
|
|
36577
|
+
export type OpenSessionSideResponses = {
|
|
36578
|
+
/**
|
|
36579
|
+
* Recorded side chat replayed
|
|
36580
|
+
*/
|
|
36581
|
+
200: SessionDeriveResponse;
|
|
36582
|
+
/**
|
|
36583
|
+
* Created
|
|
36584
|
+
*/
|
|
36585
|
+
201: SessionDeriveResponse;
|
|
36586
|
+
};
|
|
36587
|
+
export type OpenSessionSideResponse = OpenSessionSideResponses[keyof OpenSessionSideResponses];
|
|
36263
36588
|
export type RefreshSessionSoulData = {
|
|
36264
36589
|
/**
|
|
36265
36590
|
* JSON request body
|
|
@@ -36692,6 +37017,64 @@ export type GetSessionTranscriptResponses = {
|
|
|
36692
37017
|
200: SessionTranscriptResponse;
|
|
36693
37018
|
};
|
|
36694
37019
|
export type GetSessionTranscriptResponse = GetSessionTranscriptResponses[keyof GetSessionTranscriptResponses];
|
|
37020
|
+
export type GetSessionInheritedTranscriptData = {
|
|
37021
|
+
body?: never;
|
|
37022
|
+
path: {
|
|
37023
|
+
/**
|
|
37024
|
+
* Workspace id
|
|
37025
|
+
*/
|
|
37026
|
+
workspace_id: string;
|
|
37027
|
+
/**
|
|
37028
|
+
* Derived child session id
|
|
37029
|
+
*/
|
|
37030
|
+
session_id: string;
|
|
37031
|
+
};
|
|
37032
|
+
query?: {
|
|
37033
|
+
/**
|
|
37034
|
+
* Maximum page size; defaults to the newest 200 entries and is capped at 1000
|
|
37035
|
+
*/
|
|
37036
|
+
limit?: number;
|
|
37037
|
+
/**
|
|
37038
|
+
* Return inherited entries whose stable start sequence is before this cursor
|
|
37039
|
+
*/
|
|
37040
|
+
before_sequence?: number;
|
|
37041
|
+
/**
|
|
37042
|
+
* Read one profile's rows by name
|
|
37043
|
+
*/
|
|
37044
|
+
profile?: string;
|
|
37045
|
+
/**
|
|
37046
|
+
* Read the owner-labeled all-profiles aggregate
|
|
37047
|
+
*/
|
|
37048
|
+
all_profiles?: boolean;
|
|
37049
|
+
};
|
|
37050
|
+
url: "/api/workspaces/{workspace_id}/sessions/{session_id}/transcript/inherited";
|
|
37051
|
+
};
|
|
37052
|
+
export type GetSessionInheritedTranscriptErrors = {
|
|
37053
|
+
/**
|
|
37054
|
+
* Invalid filter
|
|
37055
|
+
*/
|
|
37056
|
+
400: ErrorPayload;
|
|
37057
|
+
/**
|
|
37058
|
+
* Session not found or source transcript unavailable (inherited_transcript_unavailable)
|
|
37059
|
+
*/
|
|
37060
|
+
404: ErrorPayload;
|
|
37061
|
+
/**
|
|
37062
|
+
* Internal server error
|
|
37063
|
+
*/
|
|
37064
|
+
500: ErrorPayload;
|
|
37065
|
+
/**
|
|
37066
|
+
* Transcript projection is incompatible
|
|
37067
|
+
*/
|
|
37068
|
+
503: ErrorPayload;
|
|
37069
|
+
};
|
|
37070
|
+
export type GetSessionInheritedTranscriptError = GetSessionInheritedTranscriptErrors[keyof GetSessionInheritedTranscriptErrors];
|
|
37071
|
+
export type GetSessionInheritedTranscriptResponses = {
|
|
37072
|
+
/**
|
|
37073
|
+
* OK
|
|
37074
|
+
*/
|
|
37075
|
+
200: SessionTranscriptResponse;
|
|
37076
|
+
};
|
|
37077
|
+
export type GetSessionInheritedTranscriptResponse = GetSessionInheritedTranscriptResponses[keyof GetSessionInheritedTranscriptResponses];
|
|
36695
37078
|
export type GetSessionTranscriptOutlineData = {
|
|
36696
37079
|
body?: never;
|
|
36697
37080
|
path: {
|