Schema-validated, reactive registry for named configuration entries — the runtime configuration surface used by engine and Compose workers.
日本語の概要は準備中です。原文の説明を表示しています。
Handle iii engine and SDK errors across Node, Python, Rust, and browser workers. Use when interpreting error codes, retryability, RBAC denial, timeouts, handler failures, or SDK-specific exception surfaces.
インストールする前に、エージェントに与えられる指示の中身を確認できます。
iii has two broad error classes: SDK/local errors and engine/remote invocation errors. Agents should branch on the error code instead of matching only message strings.
Branch on exact code strings, but keep engine wire codes separate from SDK-local codes.
| Code | Emitted by | Meaning | Typical handling |
|---|---|---|---|
function_not_found | Engine and SDK local dispatch | No registered function is available under that ID | Check function ID, worker install/startup, discovery, and trigger type hints |
invocation_error | Engine invocation/router path | Engine failed to route, record, or complete the invocation | Inspect engine logs, protocol state, and worker connectivity |
invocation_stopped | Engine invocation handler | Invocation was cancelled or stopped by the engine/runtime | Treat as failed work; decide whether caller should retry |
FORBIDDEN | RBAC / worker-gated engine functions | RBAC denied the action | Do not retry blindly; inspect policy, auth context, and allowed functions |
timeout | A target worker's handler, forwarded verbatim by the engine | Not produced by the engine or the Node/Python SDKs (they emit TIMEOUT); appears only if the worker you called returns it | Treat as a timeout if you know the target worker emits it; otherwise branch on TIMEOUT |
function_not_invokable | SDK local dispatch | Registration exists but cannot be invoked as a normal local function | Inspect registration/invocation type |
invocation_failed | SDK worker handler wrappers | Local worker handler, HTTP-invoked function wrapper, or SDK-side handler path failed | Inspect handler logs, stacktrace, and payload validation |
TIMEOUT | Node/Python SDK caller timeout | Client waited longer than trigger() timeout | Increase timeout only if the workload is expected to run long; otherwise optimize or enqueue |
TIMEOUT (or a lowercase timeout returned by a target worker), transport, or worker reconnect failures only when the operation is idempotent.FORBIDDEN without changing auth/policy.function_not_found by calling the same ID repeatedly; discover functions or install/start the missing worker.TriggerAction.Enqueue({ queue }) and queue retry/DLQ policy.import { InvocationError } from 'iii-sdk'
try {
await iii.trigger({ function_id: 'orders::charge', payload })
} catch (error) {
if (error instanceof InvocationError && error.code === 'FORBIDDEN') {
throw new Error('Policy denied orders::charge')
}
throw error
}
from iii import InvocationError
try:
result = iii.trigger({"function_id": "orders::charge", "payload": payload})
except InvocationError as exc:
if exc.code == "FORBIDDEN":
raise RuntimeError("Policy denied orders::charge")
if exc.code in ("TIMEOUT", "timeout"): # SDK caller timeout, or a lowercase code returned by the target worker
raise RuntimeError("orders::charge timed out")
raise RuntimeError(f"{exc.code}: {exc.message}")
match iii.trigger(request).await {
Ok(value) => value,
Err(iii_sdk::Error::Timeout) => {
return Err("orders::charge timed out".into());
}
Err(iii_sdk::Error::Remote { code, message, .. }) if code == "FORBIDDEN" => {
return Err(format!("policy denied: {message}").into());
}
Err(err) => return Err(err.into()),
}
Browser trigger calls reject with JavaScript errors. Preserve the engine-provided code/message when present and show policy failures as permission errors in UI.
iii-core-primitives.iii-sdk-reference.iii-architecture-patterns.まだレビューはありません。使ってみた感想をお寄せください。
概要と使いどころ
Schema-validated, reactive registry for named configuration entries — the runtime configuration surface used by engine and Compose workers.
日本語の概要は準備中です。原文の説明を表示しています。
How iii works and the iii-sdk surface for authoring workers, triggers, and functions. Teaches the ordered way to gain a capability before writing code — (1) check functions already registered in the engine, (2) search the public registry via iii-directory, (3) build a worker. Single self-contained skill — meant for system-prompt injection; do not re-fetch.
日本語の概要は準備中です。原文の説明を表示しています。
Use when composing iii primitives into backend architectures: durable workflows, reactive backends, agentic pipelines, event-driven CQRS, effect pipelines, and trigger-transform-action automation.
日本語の概要は準備中です。原文の説明を表示しています。
Use when registering iii functions, binding triggers, selecting sync/void/enqueue invocation, creating workers, inspecting the live worker registry, installing registry workers, authoring custom triggers, moving channel data, or adapting external HTTP functions across TypeScript, Python, and Rust.
日本語の概要は準備中です。原文の説明を表示しています。
Configure a managed iii engine through worker-compose.yaml or a directly supervised engine through config.yaml. Use for engine ports, RBAC via the rbac-proxy worker, streams, sandboxes, and configuration storage.
日本語の概要は準備中です。原文の説明を表示しています。
Install the iii engine, set up your first worker, and get a working backend running. Use when a user wants to start a new iii project, install the SDK, or needs help with initial setup and configuration.
日本語の概要は準備中です。原文の説明を表示しています。