Skip to content
Source
Sign inSign up
pingdotgg/t3code

feat(agents): share agent workflows and MCP chat controls #10627

Closedjayleaton(GitHub profile, opens in a new tab)wants to merge 20 commits intomain fromrefs/pull/10627/headopened View on GitHub

Showing 204 changed files with 67 additions and 0 deletions (loading 199).

x
0 of 204 viewed, 204 left
1 addition and 0 deletionsapps/desktop/src/app/DesktopLifecycle.test.tsModified
View file
@@ -69,6 +69,7 @@
focusedMainOrFirst: Effect.die("unexpected focused window read"),
setMain: () => Effect.void,
clearMain: () => Effect.void,
+ fromWebContents: () => Effect.die("unexpected window lookup"),
prepareReveal: () => Effect.succeed(false),
reveal: () => Effect.void,
sendAll: () => Effect.void,
11 additions and 0 deletionsapps/desktop/src/electron/ElectronWindow.tsModified
View file
@@ -117,6 +117,9 @@
readonly focusedMainOrFirst: Effect.Effect<Option.Option<Electron.BrowserWindow>>;
readonly setMain: (window: Electron.BrowserWindow) => Effect.Effect<void>;
readonly clearMain: (window: Option.Option<Electron.BrowserWindow>) => Effect.Effect<void>;
+ readonly fromWebContents: (
+ sender: Pick<Electron.WebContents, "id">,
+ ) => Effect.Effect<Option.Option<Electron.BrowserWindow>>;
readonly prepareReveal: (window: Electron.BrowserWindow) => Effect.Effect<boolean>;
readonly reveal: (window: Electron.BrowserWindow) => Effect.Effect<void>;
readonly sendAll: (channel: string, ...args: readonly unknown[]) => Effect.Effect<void>;
@@ -252,6 +255,14 @@
return Option.none();
}),
+ fromWebContents: (sender) =>
+ Effect.sync(() =>
+ Option.fromNullishOr(