Re-exports§
pub use repl::Repl;pub use repl::ReplConfig;pub use isolate_prewarmer::global_prewarmer;pub use isolate_prewarmer::IsolatePrewarmer;pub use isolate_prewarmer::PrewarmConfig;pub use isolate_prewarmer::PrewarmStats;pub use runtime_minimal::MinimalRuntime;
Modules§
- agent
- Agent host surface: tool export, stdin JSON-RPC session, MCP stdio.
- ai_
engine - Amber AI Engine - Native embeddings, tensor ops, and local inference
- bus
- capability
- checkpoint
- database
- Embedded Database & Vector Store Module for Amber (
amber:db,amber:sqlite,amber:vector). - ecosystem_
lite - error
- event_
loop - fallback
- ffi
- grammar
- isolate_
prewarmer - Modern Isolate Pre-warming & Standby Pool System (Task 1.2 / v1.13.0)
- kv
- Amber v1.7.0: Embedded Persistent Key-Value & Durable State Engine (
amber:kv) - mcp
- Official Model Context Protocol (MCP) implementation for Amber (
amber:mcp). - memory
- napi
- Minimal N-API (napi) host for
process.dlopen. - nodejs_
core - package_
manager - permissions
- pool
- repl
- Enhanced Interactive REPL for Amber (
amber repl). - replay
- runtime
- Runtime submodule surface.
- runtime_
minimal - Minimal Runtime implementation for fast startup and basic JavaScript execution This is a simplified version of RuntimeLite without complex dependencies MARKER_V3 - This file has been modified
- sandbox
- Agent deterministic sandboxing and in-memory virtual filesystem
- sockets
- std_lib
- Official modern standard library for Amber (
amber:std,amber:std/*). - task_
runner - Task Runner for executing package.json scripts
- testing
- tooling
- Amber Peripheral Tooling Module
- tools
- Amber v1.7.0: Agent Tool Auto-Synthesis & OpenAPI Schema Compiler (
amber:tools/amber:ai.tools) - types_
export - TypeScript Types Exporter for Amberjs
- typescript
- v8_
snapshot - wasm
- watcher
- watcher_
websocket - web_api
- weights
Macros§
- amberjs_
try - 错误宏
- amberjs_
try_ async - 异步错误处理宏
- benchmark
- Benchmark macros
- benchmark_
group - with_
fallback - 降级宏
Structs§
- Performance
Config - 性能配置
- Runtime
- 主要的 Amber 运行时
- Server
- HTTP 服务器类型(占位符)
- Test
Suite
Enums§
Functions§
- console_
assert_ callback - Console assert callback - asserts a condition
- console_
count_ callback - Console count callback - increments and prints a count (v0.3.259)
- console_
count_ reset_ callback - Console countReset callback - resets a count (v0.3.259)
- console_
debug_ callback - console_
dir_ callback - Console dir callback - prints object representation
- console_
error_ callback - console_
group_ callback - Console group callback - starts a new group
- console_
group_ end_ callback - Console groupEnd callback - ends a group
- console_
info_ callback - console_
log_ callback - Console callback functions for V8 integration
- console_
table_ callback - Console table callback - formats data as a table Supports optional columns parameter for column filtering
- console_
time_ callback - Console time callback - starts a timer
- console_
time_ end_ callback - Console timeEnd callback - ends a timer and prints elapsed time
- console_
trace_ callback - Console trace callback - prints a stack trace
- console_
warn_ callback - generate_
performance_ report - 生成性能报告 (Temporarily disabled - automation module disabled)
- get_
global_ runtime - 获取全局运行时实例
- get_
smart_ runtime - 获取智能运行时(根据代码特征自动优化)
- initialize_
v8 - Initialize V8 engine (idempotent - safe to call multiple times)
- is_
v8_ available - Check if V8 is available for use in tests Returns true if V8 can be safely initialized, false if already poisoned
- is_
v8_ initialized - Check if V8 is initialized
- run_
performance_ suite - 运行完整的性能测试套件 (Temporarily disabled - automation module disabled)