Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Nisoku/Saikuro
/ functions
Functions
2,404 in github.com/Nisoku/Saikuro
⨍
Functions
2,404
◇
Types & classes
457
↓ 6 callers
Function
updateProviderCard
( providerName: string, status: "idle" | "running" | "done" | "error", durationMs?: number, )
Demo/src/app.ts:309
↓ 6 callers
Function
warn
(msg)
Demo/dev.mjs:32
↓ 6 callers
Function
watchDir
(dir, target, recipe)
Demo/dev.mjs:121
↓ 6 callers
Function
watchFile
(file, target, recipe)
Demo/dev.mjs:138
↓ 5 callers
Method
Any
()
Build/adapters/csharp/Saikuro/src/Provider.cs:185
↓ 5 callers
Method
BatchAsync
<summary>Execute multiple calls in a single round-trip.</summary>
Build/adapters/csharp/Saikuro/src/Client.cs:320
↓ 5 callers
Method
FromSystemType
(Type type)
Build/adapters/csharp/Saikuro/src/SchemaExtractor.cs:43
↓ 5 callers
Method
FromWire
(string s)
Build/adapters/csharp/Saikuro/src/Envelope.cs:88
↓ 5 callers
Method
I64
()
Build/adapters/csharp/Saikuro/src/Provider.cs:175
↓ 5 callers
Method
MakeAnnounce
(object schemaDict)
Build/adapters/csharp/Saikuro/src/Envelope.cs:197
↓ 5 callers
Method
WriteFrameAsync
<summary>Write a length-prefixed frame to <paramref name="stream"/>.</summary>
Build/adapters/csharp/Saikuro/src/Transport/FrameCodec.cs:14
↓ 5 callers
Method
accept_transport
Accept a connected transport and spawn a connection handler task. `peer_id` is a stable identifier for the peer (used in logs and for provider deregi
Build/crates/saikuro-runtime/src/handle.rs:133
↓ 5 callers
Function
decode_envelope
Decode a raw MessagePack frame into an outbound [`Envelope`] (used to receive frames pushed by the runtime, e.g. provider calls).
Build/tests/tests/cross_language_wire.rs:33
↓ 5 callers
Function
encode_bytes
Encode a serializable value as MessagePack `Bytes`.
Build/crates/saikuro-runtime/src/connection.rs:73
↓ 5 callers
Function
handle_to_value
Build a `Value` that encodes a given `ResourceHandle` (same as the wire format).
Build/tests/tests/resource_dispatch.rs:49
↓ 5 callers
Function
make_announce_envelope
(schema: &Schema)
Build/tests/tests/common/mod.rs:69
↓ 5 callers
Function
make_echo_provider
Spawn a minimal provider task that automatically echoes every Call. Returns the [`ProviderRegistry`] with the provider registered, plus a join handle
Build/tests/tests/call_dispatch.rs:17
↓ 5 callers
Function
make_key
Helpers
Build/crates/saikuro-storage/src/indexeddb.rs:55
↓ 5 callers
Function
make_pair
Spin up a provider on one side of an in-memory pair and return a connected client on the other side. The provider task is detached; it will stop when
Build/adapters/rust/tests/integration.rs:17
↓ 5 callers
Function
make_provider
Build a `ProviderRegistry` with a single provider subscribed to `namespace`.
Build/tests/tests/resource_dispatch.rs:22
↓ 5 callers
Function
make_router_with_sink
(sink: LogSink)
Build/tests/tests/log_dispatch.rs:49
↓ 5 callers
Function
make_schema
Build a minimal one-function schema with no required arguments.
Build/tests/tests/cross_language_wire.rs:81
↓ 5 callers
Method
merge_schema
Merge an entire [`Schema`] document into the registry. Types are added to the shared type library; namespaces are registered under `provider_id`.
Build/crates/saikuro-schema/src/registry.rs:130
↓ 5 callers
Method
new
()
Build/adapters/rust/src/schema.rs:48
↓ 5 callers
Function
now
()
Demo/src/env.ts:1
↓ 5 callers
Method
onClose
Register an error / close handler.
Build/adapters/typescript/src/transport/types.ts:24
↓ 5 callers
Function
register_echo_provider
(registry: &ProviderRegistry, namespace: &str, response: Value)
Build/tests/tests/batch_dispatch.rs:17
↓ 5 callers
Function
run_command
Run a shell command with error handling and logging.
Build/scripts/web_demo.py:27
↓ 5 callers
Function
saikuro_client_connect
(address: *const c_char)
Build/adapters/c/src/lib.rs:306
↓ 5 callers
Function
saikuro_provider_new
(namespace: *const c_char)
Build/adapters/c/src/lib.rs:743
↓ 5 callers
Function
saikuro_stream_next_json
# Safety `stream` must be a valid handle returned by `saikuro_client_stream_json`. `out_item_json` and `out_done` must be non-null writable pointers
Build/adapters/c/src/lib.rs:451
↓ 5 callers
Function
sanitize_ident
(s: &str)
Build/crates/saikuro-codegen/src/rust.rs:390
↓ 5 callers
Function
schema_to_value
Serialise a [`Schema`] into a [`Value`] suitable for `Envelope::announce`.
Build/tests/tests/cross_language_wire.rs:86
↓ 5 callers
Function
spawn_responder
Spawn a background task that answers every work item with `result_value`.
Build/tests/tests/resource_dispatch.rs:35
↓ 5 callers
Method
take_channel_inbound_receiver
Take the inbound receiver (client -> provider) for a channel.
Build/crates/saikuro-router/src/stream_state.rs:214
↓ 5 callers
Method
to_dict
Serialise to a plain dict for embedding in an Envelope ``args`` list.
Build/adapters/python/saikuro/envelope.py:61
↓ 5 callers
Function
to_pascal_case
Normalize `-`, `/`, `\` to `_`, collapse consecutive separators, trim leading/trailing separators, then convert to PascalCase.
Build/crates/saikuro-codegen/src/generator.rs:46
↓ 5 callers
Method
to_value
Convert this handle into a [`Value`] map suitable for embedding in an envelope `result` field.
Build/crates/saikuro-core/src/resource.rs:106
↓ 5 callers
Method
type_to_python
(&self, desc: &TypeDescriptor)
Build/crates/saikuro-codegen/src/python.rs:247
↓ 5 callers
Method
type_to_ts
(&self, desc: &TypeDescriptor)
Build/crates/saikuro-codegen/src/typescript.rs:203
↓ 5 callers
Method
with_mime_type
Set the MIME type.
Build/crates/saikuro-core/src/resource.rs:87
↓ 5 callers
Method
with_prefix
Set a namespace prefix.
Build/crates/saikuro-storage/src/config.rs:149
↓ 5 callers
Method
with_size
Set the byte size.
Build/crates/saikuro-core/src/resource.rs:93
↓ 4 callers
Method
ErrorWithDetail
(string msg, string detail)
Build/adapters/csharp/Saikuro/src/Logger.cs:294
↓ 4 callers
Method
MakeBatch
(IReadOnlyList<Envelope> items)
Build/adapters/csharp/Saikuro/src/Envelope.cs:186
↓ 4 callers
Method
MakeCast
( string target, IReadOnlyList<object?> args, string? capability = null )
Build/adapters/csharp/Saikuro/src/Envelope.cs:162
↓ 4 callers
Method
String
()
Build/adapters/csharp/Saikuro/src/Provider.cs:181
↓ 4 callers
Method
_announce
* Send a schema-announcement envelope and wait for the runtime's ack. * Any failure is logged but does not abort the serve loop.
Build/adapters/typescript/src/provider.ts:691
↓ 4 callers
Function
_make_ok
(inv_id: str, result: Any)
Build/adapters/python/saikuro/provider.py:384
↓ 4 callers
Method
_shouldEmit
(level: LogLevel)
Build/adapters/typescript/src/logger.ts:114
↓ 4 callers
Method
as_i64
(&self)
Build/crates/saikuro-core/src/value.rs:82
↓ 4 callers
Method
batch
Execute multiple calls in a single batch envelope and return all results. Results are returned in the same order as `calls`. Individual item failure
Build/adapters/rust/src/client.rs:404
↓ 4 callers
Function
build_wasm_pack_component
Build a Rust component using wasm-pack.
Build/scripts/web_demo.py:100
↓ 4 callers
Method
cast
Fire-and-forget invocation. No response is expected.
Build/adapters/rust/src/client.rs:371
↓ 4 callers
Method
check
Check whether `caller_caps` satisfies the requirements declared in `function_schema`. In sandbox mode, [`Visibility::Internal`] functions are always
Build/crates/saikuro-schema/src/capability_engine.rs:71
↓ 4 callers
Function
config_with_prefix
(prefix: &str)
Build/crates/saikuro-storage/src/util.rs:119
↓ 4 callers
Method
default
()
Build/crates/saikuro-core/src/schema.rs:278
↓ 4 callers
Method
destroy
Build/adapters/cpp/include/saikuro/saikuro.hpp:60
↓ 4 callers
Function
extractSchema
( sourceFiles: string[], namespace: string, )
Build/adapters/typescript/src/schema_extractor.ts:620
↓ 4 callers
Function
extract_schema_from_file
Build/adapters/cpp/src/schema_extractor.cpp:572
↓ 4 callers
Function
extract_two_floats
(args: &[JsonValue])
Examples/rust/math/src/main.rs:12
↓ 4 callers
Function
formatNumber
Format a number with thousands separators.
Demo/src/app.ts:68
↓ 4 callers
Method
get
(&self, namespace: &str, key: &str)
Build/crates/saikuro-storage/src/inmemory.rs:124
↓ 4 callers
Function
get_field
Try to extract a string field from a JS object-typed JsValue.
Build/crates/saikuro-transport/src/wasm_host.rs:80
↓ 4 callers
Function
get_file
( parent: &FileSystemDirectoryHandle, name: &str, )
Build/crates/saikuro-storage/src/fs_access.rs:102
↓ 4 callers
Function
get_file
( parent: &FileSystemDirectoryHandle, name: &str, )
Build/crates/saikuro-storage/src/opfs.rs:98
↓ 4 callers
Function
isAny
(r: any)
Build/adapters/typescript/tests/canonicalize.ts:80
↓ 4 callers
Function
isList
(r: any)
Build/adapters/typescript/tests/canonicalize.ts:82
↓ 4 callers
Function
isMap
(r: any)
Build/adapters/typescript/tests/canonicalize.ts:83
↓ 4 callers
Function
isStream
(r: any)
Build/adapters/typescript/tests/canonicalize.ts:81
↓ 4 callers
Function
is_ident_char
Build/adapters/cpp/src/schema_extractor.cpp:160
↓ 4 callers
Method
list_keys
(&self, namespace: &str)
Build/crates/saikuro-storage/src/fs.rs:208
↓ 4 callers
Method
lookup_function
Look up a function descriptor given a fully-qualified target string. Returns `None` if either the namespace or the function does not exist.
Build/crates/saikuro-core/src/schema.rs:254
↓ 4 callers
Function
makeAnnounceEnvelope
(schema: SaikuroSchema)
Build/adapters/typescript/src/envelope.ts:255
↓ 4 callers
Method
make_announce
Construct a schema-announcement envelope. ``schema_dict`` is the plain-dict representation of a Schema produced by :py:meth:`saikuro.
Build/adapters/python/saikuro/envelope.py:183
↓ 4 callers
Function
make_envelope_with_id
( id: InvocationId, inv_type: InvocationType, target: &str, args: Vec<Value>, capability:
Build/adapters/rust/src/client.rs:744
↓ 4 callers
Function
make_log_envelope
Construct a `Log`-type envelope carrying a [`LogRecord`].
Build/tests/tests/log_dispatch.rs:29
↓ 4 callers
Method
namespace_dir_if_exists
( &self, namespace: &str, )
Build/crates/saikuro-storage/src/fs_access.rs:302
↓ 4 callers
Method
namespace_dir_if_exists
( &self, namespace: &str, )
Build/crates/saikuro-storage/src/opfs.rs:277
↓ 4 callers
Function
print_usage
Build/adapters/cpp/src/saikuro_cpp_schema.cpp:10
↓ 4 callers
Method
register
Register a provider handle for the given namespaces. If a namespace already has a provider, the old one is replaced and a warning is emitted.
Build/crates/saikuro-router/src/provider.rs:138
↓ 4 callers
Method
register_with_options
Register a function handler with schema metadata.
Build/adapters/rust/src/provider.rs:92
↓ 4 callers
Method
reset
Build/adapters/cpp/tests/wrapper_behavior.cpp:49
↓ 4 callers
Method
resolve_namespace
(&self, target: &str)
Build/crates/saikuro-router/src/router.rs:492
↓ 4 callers
Method
resource
* Invoke a provider function that manages an external resource and return * the resulting {@link ResourceHandle}. * * Throws a `SaikuroError`
Build/adapters/typescript/src/client.ts:355
↓ 4 callers
Method
route_channel_outbound
Route an outbound channel item (provider -> client direction) to the appropriate open channel's outbound queue. Called by the provider adapter when i
Build/crates/saikuro-router/src/router.rs:439
↓ 4 callers
Function
saikuro_channel_next_json
# Safety `channel` must be a valid handle returned by `saikuro_client_channel_json`. `out_item_json` and `out_done` must be non-null writable pointer
Build/adapters/c/src/lib.rs:626
↓ 4 callers
Function
saikuro_client_call_json
( handle: *mut c_void, target: *const c_char, args_json: *const c_char, )
Build/adapters/c/src/lib.rs:353
↓ 4 callers
Function
saikuro_string_free
(ptr: *mut c_char)
Build/adapters/c/src/lib.rs:288
↓ 4 callers
Function
send_error
( transport: &mut dyn AdapterTransport, id: InvocationId, code: ErrorCode, message: impl Into<
Build/adapters/rust/src/provider.rs:441
↓ 4 callers
Method
send_invocation
( &self, envelope: Envelope, response_tx: Option<PendingCallSender>, )
Build/crates/saikuro-router/src/provider.rs:99
↓ 4 callers
Method
serve_on
Serve on an already-connected transport.
Build/adapters/rust/src/provider.rs:145
↓ 4 callers
Method
strip_prefix
(&self, stored: &str)
Build/crates/saikuro-storage/src/sled.rs:67
↓ 4 callers
Method
to_dict
Serialise to a plain dict for embedding in a response ``result``.
Build/adapters/python/saikuro/envelope.py:91
↓ 4 callers
Method
with_uri
Set the direct-access URI.
Build/crates/saikuro-core/src/resource.rs:99
↓ 4 callers
Function
write_int
Demo/wasm/c/insight_c.c:7
↓ 3 callers
Method
CollectN
( InMemoryTransport transport, int n, TimeSpan? timeout = null )
Build/adapters/csharp/Saikuro/tests/ProviderTests.cs:26
↓ 3 callers
Method
Debug
(string msg, IReadOnlyDictionary<string, object?>? fields = null)
Build/adapters/csharp/Saikuro/src/Logger.cs:282
↓ 3 callers
Method
FindJsFile
()
Build/adapters/csharp/Saikuro/tests/BroadcastChannelTests.cs:19
↓ 3 callers
Method
GetLogger
(string name)
Build/adapters/csharp/Saikuro/src/Logger.cs:267
← previous
next →
201–300 of 2,404, ranked by callers