Merge branch 'stack/agent-profiles-5-web-ui' into stack/agent-profiles-8-authoring
The composer's preset seat stays removed here — this layer moved it to the hero chip and the session-header action — so only the model seat takes the `modelSeatLocked` narrowing master introduced. Conflicts: apps/web/tests/snapshots/*/*.expected.md packages/client/connection/README.md packages/client/connection/README.zh.md packages/client/ui-conversation/src/client/skeleton/InputBar.tsx packages/host/apiproxy/src/fetch/client.ts
This commit is contained in:
@@ -123,7 +123,7 @@ export interface IApiClient {
|
||||
skills: {
|
||||
list(payload: RequestPayload<'skill.list'>, signal?: AbortSignal): Promise<RpcResponse<ResponseValue<'skill.list'>>>
|
||||
}
|
||||
readonly agentPresets: {
|
||||
agentPresets: {
|
||||
list(payload: RequestPayload<'agentPreset.list'>, signal?: AbortSignal): Promise<RpcResponse<ResponseValue<'agentPreset.list'>>>
|
||||
select(payload: RequestPayload<'agentPreset.select'>, signal?: AbortSignal): Promise<RpcResponse<ResponseValue<'agentPreset.select'>>>
|
||||
read(payload: RequestPayload<'agentPreset.read'>, signal?: AbortSignal): Promise<RpcResponse<ResponseValue<'agentPreset.read'>>>
|
||||
@@ -459,17 +459,17 @@ export abstract class AbstractApiClient implements IApiClient {
|
||||
list: (payload, signal) => this.callUnary('skill.list', payload, signal),
|
||||
}
|
||||
|
||||
readonly agentPresets = {
|
||||
list: (payload: RequestPayload<'agentPreset.list'>, signal?: AbortSignal) =>
|
||||
this.callUnary('agentPreset.list', payload, signal),
|
||||
select: (payload: RequestPayload<'agentPreset.select'>, signal?: AbortSignal) =>
|
||||
this.callUnary('agentPreset.select', payload, signal),
|
||||
read: (payload: RequestPayload<'agentPreset.read'>, signal?: AbortSignal) =>
|
||||
this.callUnary('agentPreset.read', payload, signal),
|
||||
write: (payload: RequestPayload<'agentPreset.write'>, signal?: AbortSignal) =>
|
||||
this.callUnary('agentPreset.write', payload, signal),
|
||||
remove: (payload: RequestPayload<'agentPreset.remove'>, signal?: AbortSignal) =>
|
||||
this.callUnary('agentPreset.remove', payload, signal),
|
||||
// Annotated like every sibling, and load-bearing rather than cosmetic:
|
||||
// inferring this member inlines `AgentPresetEntry` into the emitted
|
||||
// declaration by the specifier TS picks — the host `index.ts` — which drags
|
||||
// the whole gateway, and with it the host `Context` merges, into every
|
||||
// Client program that imports this carrier.
|
||||
readonly agentPresets: IApiClient['agentPresets'] = {
|
||||
list: (payload, signal) => this.callUnary('agentPreset.list', payload, signal),
|
||||
select: (payload, signal) => this.callUnary('agentPreset.select', payload, signal),
|
||||
read: (payload, signal) => this.callUnary('agentPreset.read', payload, signal),
|
||||
write: (payload, signal) => this.callUnary('agentPreset.write', payload, signal),
|
||||
remove: (payload, signal) => this.callUnary('agentPreset.remove', payload, signal),
|
||||
}
|
||||
|
||||
readonly goals: IApiClient['goals'] = {
|
||||
|
||||
Reference in New Issue
Block a user