
Company News
Socket Joins New OpenJS Program to Fund Node.js Security Work
Socket is joining the OpenJS Security Stewardship Program to fund Node.js vulnerability research, maintainer remediation, and security releases.
@galaxy-stack/ai-coder-core
Advanced tools
Platform-neutral runtime for the Galaxy AI Coder single agent. Consumed by galaxy-desktop (Tauri), galaxy-code (terminal CLI), and galaxy-vscode-extension.
Provider-neutral, platform-neutral runtime for the Galaxy AI Coder single agent. The same core is intended for:
galaxy-code v2 — deterministic Node.js CLI laboratory;galaxy-vscode-extension — VS Code host adapters;galaxy-desktop — Tauri host adapters.The single-agent runtime, context manager, prompt assembler, tool registry, approval policy, checkpoint format, trace protocol, lexical retrieval, and completion gate are implemented and covered by deterministic tests.
galaxy-code v2 is the reference conformance host. VS Code and Desktop should
not copy runtime logic; they should implement the same ports and pass the same
host conformance fixtures first.
This package is still pre-integration (0.1.0, private). Optional MCP,
semantic retrieval, background terminal sessions, and subagents are outside
the current runtime baseline.
AiCoderTaskContract. If command.run is active, the
host must supply the exact concrete non-interactive interpreter contract;
the runtime refuses missing/unknown shell metadata before a model request.beforeHash, delete has a null afterHash, and at least
one hash is non-null. Later validation has explicit workspace/path scope.satisfied; waived does not close
a required criterion.trusted_host provenance assertion).unknown unless the
host returns a structured result. Hosts must honor the supplied signal and
absolute deadline.request
-> capability + tool-policy snapshot
-> core-owned prompt snapshot + canonical user-task contract
-> bounded context assembly
-> one streamed model round
-> zero or more correlated tool calls
-> atomic batch preflight (IDs, budget, visible registry, canonical JSON)
-> sequential per-call schema/policy/approval/host adapter
-> bounded untrusted observation + trusted declared effects
-> repeat
-> evidence-ready tool-free finalization turn
-> final report candidate
-> model-actionable evidence gate
-> runtime-owned final-report persistence (when a store is configured)
-> completion-gate trace + durable trace flush (when trace is configured)
-> fresh workspace fingerprint
-> deterministic completion gate
-> completed
See ARCHITECTURE.md, PROMPT_CONTRACT.md, TOOL_EFFECT_PROFILE.md, and HOST_CONFORMANCE.md for integration contracts.
src/
├── approval/ # fail-closed approval policy
├── context/ # context budget, token ledger, checkpoints, output bounds
├── ports/ # host capability interfaces and PortResult
├── prompt/ # versioned system prompt assembly
├── retrieval/ # bounded provider-neutral lexical evidence
├── runtime/ # run controller, state machine, completion gate, trace emitter
└── tools/ # schemas, descriptors, registry and provider protocol
Requires Node.js 20 or newer.
npm install
npm run verify
npm run verify runs strict TypeScript checks, all source tests, a clean build,
and a public dist smoke test. npm pack --dry-run should also be checked
before publishing or consuming the package from another repository.
The deterministic end-to-end host gate lives in galaxy-code:
cd ../../galaxy-code
npm run check
FAQs
Platform-neutral runtime for the Galaxy AI Coder single agent. Consumed by galaxy-desktop (Tauri), galaxy-code (terminal CLI), and galaxy-vscode-extension.
The npm package @galaxy-stack/ai-coder-core receives a total of 286 weekly downloads. As such, @galaxy-stack/ai-coder-core popularity was classified as not popular.
We found that @galaxy-stack/ai-coder-core demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.

Company News
Socket is joining the OpenJS Security Stewardship Program to fund Node.js vulnerability research, maintainer remediation, and security releases.

Security News
Two compromised GitHub Actions were re-enabled with malicious tags intact, exposing thousands of downstream repositories to Mini Shai-Hulud.

Research
/Security News
A malicious Firefox extension fetches its payload after installation to evade detection, steal Google session cookies, and automate account takeover.