Add object primitives, official ext/llm, and HTTPS/dotenv platform.
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>
This commit is contained in:
1 parent
b974f10c6e
commit
b00b018056
55 files changed
+1741
-291
No files matched your search
+13
-7
@@ -1,33 +1,39 @@
|
||||
---
|
||||
title: lib/sys
|
||||
description: English system wrappers
|
||||
description: English system wrappers (load_dotenv accepts optional path via host alias)
|
||||
---
|
||||
|
||||
# env_get
|
||||
## env_get
|
||||
- name
|
||||
|
||||
**> host_env_get name=`name`**
|
||||
|
||||
# env_set
|
||||
## env_set
|
||||
- name
|
||||
- value
|
||||
|
||||
**> host_env_set name=`name` value=`value`**
|
||||
|
||||
# args
|
||||
## load_dotenv
|
||||
|
||||
Load `.env` (optional named arg `path=`). Existing process env is not overridden.
|
||||
|
||||
**> host_dotenv_load**
|
||||
|
||||
## args
|
||||
|
||||
**> host_args**
|
||||
|
||||
# cwd
|
||||
## cwd
|
||||
|
||||
**> host_cwd**
|
||||
|
||||
# exit
|
||||
## exit
|
||||
- code
|
||||
|
||||
**> host_exit code=`code`**
|
||||
|
||||
# exec
|
||||
## exec
|
||||
- cmd
|
||||
|
||||
**> host_exec cmd=`cmd`**
|
||||
Reference in new issue
Block a user