chore: fork — remove vendor CI, repoint release checks to Neuron Gitea

This commit is contained in:
2026-08-21 13:36:36 -05:00
parent 57fa34f235
commit b8c189b4b7
140 changed files with 734 additions and 16034 deletions
+14 -21
View File
@@ -84,30 +84,23 @@ const it = testEffect(
)
describe("session.system", () => {
test("selects the Meta prompt for Muse Spark model IDs", () => {
for (const id of ["meta/muse-spark-preview", "muse-spark-1.1", "muse-spark-1.2"]) {
const prompt = SystemPrompt.provider({ api: { id } } as Provider.Model)[0]
expect(prompt).toContain("powered by Muse Spark,")
expect(prompt).toContain("using Meta Muse Spark.")
expect(prompt).not.toContain("{{MODEL_NAME}}")
test("uses the Neuron prompt for every model", () => {
const models = [
{ providerID: "meta", api: { id: "muse-spark-preview" } },
{ providerID: "moonshotai", api: { id: "k3" } },
{ providerID: "anthropic", api: { id: "claude-sonnet-4-6" } },
{ providerID: "openai", api: { id: "gpt-5.2" } },
{ providerID: "google", api: { id: "gemini-3-pro" } },
{ providerID: "mystery", api: { id: "unknown-model" } },
]
for (const model of models) {
const prompt = SystemPrompt.provider(model as Provider.Model)
expect(prompt).toHaveLength(1)
expect(prompt[0]).toContain("You are Neuron")
expect(prompt[0]).not.toContain("{{MODEL_NAME}}")
}
})
test("selects the Meta prompt for Muse Glimmer model IDs", () => {
for (const id of ["meta/muse-glimmer", "meta/muse-glimmer-30b", "muse-glimmer-30b"]) {
const prompt = SystemPrompt.provider({ api: { id } } as Provider.Model)[0]
expect(prompt).toContain("powered by Muse Glimmer,")
expect(prompt).toContain("using Meta Muse Glimmer.")
expect(prompt).not.toContain("{{MODEL_NAME}}")
}
})
test("selects the Kimi prompt for official provider model IDs", () => {
for (const providerID of ["kimi-for-coding", "moonshotai", "moonshotai-cn"]) {
const prompt = SystemPrompt.provider({ providerID, api: { id: "k3" } } as Provider.Model)[0]
expect(prompt).toContain("# Prompt and Tool Use")
}
})
it.effect("skills output is sorted by name and stable across calls", () =>
Effect.gen(function* () {