Repository navigation
feat(ai): add Runcrate memory provider preset - #457
Conversation
|
@heydryft Pls fix the action issues |
|
@EyJunge1 Looked into it. The four failures are not from this change. They all fail in That package comes in transitively ( I re-ran the whole package smoke step locally on macOS (arm64, Node 24) against this branch: I pushed an empty commit (55ac05f) to trigger a fresh run, since I can't re-run jobs here. The new Quality and Platform Package Smoke runs are waiting for workflow approval. Re-running the failed jobs of run 40820080040 would work too. |
Summary
Add an optional Runcrate memory provider preset using the existing OpenAI Chat Completions transport, following the merged presets in #420 and #432. Runcrate serves open models (DeepSeek, GLM, Qwen, Kimi, gpt-oss and others) over an OpenAI-compatible API.
memoryProvider: "runcrate": endpoint defaulthttps://api.runcrate.ai/v1, model defaultdeepseek-ai/DeepSeek-V4.1-Flash,RUNCRATE_API_KEYfallback, explicitenv://key configuration, and a distinctruncratesession tag.tool_choice: "required"), tool response extraction, overrides, environment-key resolution, and rejection of remote-provider changes from project configuration.https://api.runcrate.ai).Disclosure: I work on Runcrate.
Test plan
RuncrateProvider.executeToolCall(config built bybuildMemoryProviderConfig({ memoryProvider: "runcrate", memoryApiKey }), forcedtool_choice: "required") returnedsave_memoriestool data withsuccess: trueondeepseek-ai/DeepSeek-V4.1-Flash(the default),zai-org/GLM-5.3-FlashandQwen/Qwen3.8-Flash. Example result:{"memories":["Prefers bun over npm as the package manager","Prefers tabs over spaces for indentation"]}.AIProviderFactory.createProvider("runcrate", ...)returned aRuncrateProvider.Checklist
main(do not open PRs from commits already onmain)bun testpasses: 975 pass, 4 skip, 0 fail across 133 files (afterbun run build, which the plugin-loader contract tests need)bun run typecheckpasses (included in check)bun run checkpasses (format + lint + typecheck)This PR was prepared with AI assistance: an AI coding agent wrote the change and ran the checks above.