Skip to content

Commit 31a3785

Browse files
committed
fix: post-merge dedupe and approval edge cases
- drop the duplicate streamKind field the merge stacked in makeAcpContentDeltaEvent (upstream added the identical field) - split stacked omp/antigravity object literals in providerDriverMeta and session-logic - permission responses: match ACP kind against the options the agent advertised (allow_always falls back to allow_once, blank ids skipped, nothing usable settles cancelled) per the review guidance from #8583 Model: kimi-code/k3 via Oh My Pi (omp)
1 parent 09f72aa commit 31a3785

3 files changed

Lines changed: 6 additions & 2 deletions

File tree

‎apps/server/src/provider/acp/AcpCoreRuntimeEvents.ts‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -212,8 +212,6 @@ export function makeAcpContentDeltaEvent(input: {
212212
readonly itemId?: string;
213213
readonly streamKind?: "assistant_text" | "reasoning_text";
214214
readonly text: string;
215-
/** Defaults to assistant text; omp emits reasoning via agent_thought_chunk. */
216-
readonly streamKind?: "assistant_text" | "reasoning_text";
217215
readonly rawPayload: unknown;
218216
}): ProviderRuntimeEvent {
219217
return {

‎apps/web/src/components/settings/providerDriverMeta.ts‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,8 @@ export const PROVIDER_CLIENT_DEFINITIONS: readonly ProviderClientDefinition[] =
8484
icon: PiAgentIcon,
8585
badgeLabel: "Early Access",
8686
settingsSchema: OmpSettings,
87+
},
88+
{
8789
value: ProviderDriverKind.make("antigravity"),
8890
label: "Antigravity",
8991
icon: AntigravityIcon,

‎apps/web/src/session-logic.ts‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,10 @@ export const PROVIDER_OPTIONS: Array<{
6464
{
6565
value: ProviderDriverKind.make("omp"),
6666
label: "Oh My Pi",
67+
available: true,
68+
pickerSidebarBadge: "new",
69+
},
70+
{
6771
value: ProviderDriverKind.make("antigravity"),
6872
label: "Antigravity",
6973
available: true,

0 commit comments

Comments
 (0)