Skip to content
Source
Sign inSign up
pingdotgg/t3code

fix(server): Antigravity runs $skill mentions of user-only skills #39355

Openjuliusmarmingewants to merge 5 commits intomain fromrefs/pull/39355/headopened View on GitHub

Showing 5 changed files with 90 additions and 0 deletions (loading 2).

x
0 of 5 viewed, 5 left
61 additions and 0 deletionsapps/server/src/orchestration-v2/Adapters/AntigravityAdapterV2.test.tsModified
View file
@@ -456,6 +456,67 @@
});
​
+describe("AntigravityAdapterV2 skill mentions", () => {
+ it.effect("inlines a skill from outside the workspace that this turn mentions", () =>
+ Effect.gen(function* () {
+ const fileSystem = yield* FileSystem.FileSystem;
+ const path = yield* Path.Path;
+ const userHome = yield* fileSystem.makeTempDirectoryScoped();
+ const skillPath = path.join(userHome, ".gemini", "config", "skills", "ship", "SKILL.md");
+ yield* fileSystem.makeDirectory(path.dirname(skillPath), { recursive: true });
+ yield* fileSystem.writeFileString(skillPath, "Deploy with ./ship.sh.\n");
+ const skillFlavor = makeAntigravityAcpAdapterFlavor({
+ instanceId: ProviderInstanceId.make("antigravity-test"),
+ random: undefined as never,
+ fileSystem,
+ path,
+ host: undefined as never,
+ selfInvocation: undefined as never,
+ makeRuntime: () => Effect.die("not spawned in this test"),
+ withProcess: (_stop, task) => task,
+ defaultModel: Effect.undefined,
+ discoverSkills: () =>
+ Effect.succeed([
+ {
+ name: "ship",
+ path: skillPath,
+ scope: "user",
+ enabled: true,