Skip to content
Source
Sign inSign up
pingdotgg/t3code

fix: Claude Code skills discoverable for the composer $ picker #4414

Mergedt3dotgg(GitHub profile, opens in a new tab)merged 5 commits intomain fromrefs/pull/4414/headmerged by t3dotgg(GitHub profile, opens in a new tab) View on GitHub

Showing 6 changed files with 208 additions and 0 deletions (loading 3).

x
0 of 6 viewed, 6 left
3 additions and 0 deletionsapps/server/src/provider/Drivers/ClaudeDriver.tsModified
View file
@@ -118,6 +118,7 @@
create: ({ instanceId, displayName, accentColor, environment, enabled, config }) =>
Effect.gen(function* () {
const spawner = yield* ChildProcessSpawner.ChildProcessSpawner;
+ const fileSystem = yield* FileSystem.FileSystem;
const path = yield* Path.Path;
const { cwd } = yield* ServerConfig;
const httpClient = yield* HttpClient.HttpClient;
@@ -165,9 +166,11 @@
effectiveConfig,
() => Cache.get(capabilitiesProbeCache, capabilitiesCacheKey),
processEnv,
+ cwd,
).pipe(
Effect.map(stampIdentity),
Effect.provideService(ChildProcessSpawner.ChildProcessSpawner, spawner),
+ Effect.provideService(FileSystem.FileSystem, fileSystem),
Effect.provideService(Path.Path, path),
​
205 additions and 0 deletionsapps/server/src/provider/Drivers/ClaudeSkills.test.tsAdded
View file
@@ -0,0 +1,205 @@
+import * as NodeServices from "@effect/platform-node/NodeServices";
+import { assert, it } from "@effect/vitest";
+import * as Effect from "effect/Effect";
+import * as FileSystem from "effect/FileSystem";
+import * as Path from "effect/Path";