Skip to content

feat(automation): run scripts with embedded Deno - #6877

Merged
M4n5ter merged 2 commits into
rust-previewfrom
codex/automation-deno
Nov 13, 2026
Merged

M4n5ter merged 2 commits into
rust-previewfrom
codex/automation-deno

Conversation

@M4n5ter

@M4n5ter M4n5ter commented Nov 13, 2026

Copy link
Copy Markdown
Member

Summary

Script automations run JavaScript and TypeScript in Maka's embedded Deno runtime. Scripts can use standard Deno APIs and import local files, HTTP(S) modules, npm and JSR packages, and supported Node built-ins. Scripts and dependency downloads use the conversation's process sandbox. The last stdout line is the boolean trigger result.

node:sqlite shares Maka's SQLite dependency. Creating new node:vm contexts or starting node:worker_threads workers returns an explicit error.

Verification

  • macOS Host integration test passed for script steering, timer follow-up, file access, network denial, and a POST request with full access.
  • The embedded worker loaded real npm ESM and CommonJS packages, JSR packages, dynamic imports, and Node built-ins. An in-memory node:sqlite query passed.
  • Reviewed dependency notices and source headers passed. Linux and Windows runtime tests were not run.

AI use

  • Generative tooling made a substantive contribution

OpenAI Codex implemented and verified the runtime integration.

Checklist

  • Tests cover the change and fail without it
  • Format, typecheck and the affected suites pass locally

Does this PR entail a change in behavior?

  • Yes — described under Summary above

@M4n5ter
M4n5ter merged commit e4f54b0 into rust-preview Nov 13, 2026
2 of 3 checks passed
@M4n5ter
M4n5ter deleted the codex/automation-deno branch November 13, 2026 14:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant