Skip to content
Source
Sign inSign up
pingdotgg/t3code

fix(server): refresh held workspace skill lists on provider refresh #13251

Closedrobertnisipeanu(GitHub profile, opens in a new tab)wants to merge 2 commits intomain fromrefs/pull/13251/headopened View on GitHub

Showing 9 changed files with 67 additions and 3 deletions (loading 6).

x
0 of 9 viewed, 9 left
6 additions and 0 deletionsapps/server/src/provider/Drivers/ClaudeDriver.tsModified
View file
@@ -345,6 +345,12 @@
snapshot,
invalidateCaches: Cache.invalidateAll(capabilitiesProbeCache),
snapshotForCwd,
+ snapshotsForCwds: (cwds) =>
+ Effect.forEach(cwds, (cwd) =>
+ snapshotForCwd(cwd).pipe(
+ Effect.map((scopedSnapshot) => [cwd, scopedSnapshot] as const),
+ ),
+ ).pipe(Effect.map((entries) => new Map(entries))),
adapter,
textGeneration,
consumeResetCredit,
36 additions and 1 deletionapps/server/src/provider/Drivers/CodexDriver.tsModified
View file
@@ -21,7 +21,7 @@
* @module provider/Drivers/CodexDriver
*/
-import { CodexSettings, ProviderDriverKind } from "@t3tools/contracts";
+import { CodexSettings, ProviderDriverKind, type ServerProvider } from "@t3tools/contracts";
import * as Crypto from "effect/Crypto";
import * as Effect from "effect/Effect";
import * as FileSystem from "effect/FileSystem";
@@ -42,6 +42,7 @@
checkCodexProviderStatus,
makePendingCodexProvider,