mirror of
https://github.com/runkids/skillshare.git
synced 2026-11-20 12:23:22 +00:00
refactor(extensions): describe and rename built-ins by output
md2codex / md2gemini named the *input* (markdown) and read poorly. Rename the bundled extensions after what they produce: codex-agents and gemini-commands. Turn the BuiltinExtensions catalog into structs carrying a human-readable description so the dashboard can explain each one before install, and propagate the new names across tests and docs.
This commit is contained in:
@@ -29,7 +29,7 @@ func TestValidateExtensionMode(t *testing.T) {
|
||||
|
||||
func TestResolveExtension_BareNameInDir(t *testing.T) {
|
||||
dir := t.TempDir()
|
||||
extDir := filepath.Join(dir, "md2gemini")
|
||||
extDir := filepath.Join(dir, "gemini-commands")
|
||||
if err := os.MkdirAll(extDir, 0755); err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
@@ -37,7 +37,7 @@ func TestResolveExtension_BareNameInDir(t *testing.T) {
|
||||
[]byte("run: [\"cat\"]\noutput_ext: toml\n"), 0644); err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
spec, err := resolveExtension("md2gemini", dir)
|
||||
spec, err := resolveExtension("gemini-commands", dir)
|
||||
if err != nil {
|
||||
t.Fatalf("resolveExtension: %v", err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user