Introduce # objects with ## methods (handles + ` x.method `), ship OpenAI-compatible ext/llm, and upgrade net/sys for HTTPS headers and dotenv loading. Co-authored-by: Cursor <cursoragent@cursor.com>
26 lines
372 B
Markdown
26 lines
372 B
Markdown
---
|
|
title: lib/foreign
|
|
description: Run bound code fences and inline sources via local interpreters
|
|
---
|
|
|
|
## set_cmd
|
|
- lang
|
|
- cmd
|
|
|
|
**> host_foreign_set_cmd lang=`lang` cmd=`cmd`**
|
|
|
|
## run
|
|
- code
|
|
|
|
**> host_foreign_run code=`code`**
|
|
|
|
## run_lang
|
|
- lang
|
|
- source
|
|
|
|
**> host_foreign_run_lang lang=`lang` source=`source`**
|
|
|
|
## langs
|
|
|
|
**> host_foreign_langs**
|