MCPcopy Create free account

hub / github.com/Nisoku/Saikuro / functions

Functions2,404 in github.com/Nisoku/Saikuro

↓ 241 callersMethodclone
(&self)
Build/crates/saikuro-exec/src/wasm_backend.rs:97
↓ 235 callersMethodsend
(obj: object)
Build/adapters/typescript/src/logger.ts:75
↓ 218 callersFunctionblock_on
Run a future to completion on the current WASM thread. This uses `futures::executor::block_on` which polls the future in a loop. ## Important On si
Build/crates/saikuro-exec/src/wasm_backend.rs:394
↓ 148 callersMethodrecv
* Receive and deserialise the next message. * Returns `null` when the connection has been closed by the peer.
Build/adapters/typescript/src/transport/types.ts:15
↓ 103 callersMethodget
Look up the provider for a namespace.
Build/crates/saikuro-router/src/provider.rs:165
↓ 95 callersMethodclose
Close the transport gracefully.
Build/adapters/typescript/src/transport/types.ts:6
↓ 94 callersMethodsplit
(self)
Build/crates/saikuro-transport/src/tcp.rs:51
↓ 90 callersFunctionspawn
Spawn a future on the JS/WASM executor.
Build/crates/saikuro-exec/src/wasm_backend.rs:14
↓ 72 callersMethoditer
Return an iterator over all tokens in the set.
Build/crates/saikuro-core/src/capability.rs:108
↓ 67 callersMethodinsert
Add a function schema.
Build/adapters/rust/src/schema.rs:53
↓ 61 callersMethodinfo
(msg: string, extra?: Record<string, unknown>)
Build/adapters/typescript/src/logger.ts:123
↓ 52 callersMethodregister
* Register a function under the given local `name` within this provider's * namespace. The full qualified name becomes `"<namespace>.<name>"`.
Build/adapters/typescript/src/provider.ts:197
↓ 50 callersMethoddispatch
(&self, envelope: Envelope)
Build/crates/saikuro-router/src/router.rs:140
↓ 48 callersFunctionprimitive
(name: &str)
Build/adapters/c/src/cli/saikuro_c_schema.rs:24
↓ 45 callersFunctionset_last_error
(msg: impl Into<String>)
Build/adapters/c/src/lib.rs:22
↓ 44 callersMethodpair
Create a connected pair of in-memory transports.
Build/adapters/typescript/src/transport/memory.ts:11
↓ 43 callersFunctionc
(text: &str)
Build/adapters/c/tests/common/mod.rs:5
↓ 43 callersMethodinsert
Add a token to the set.
Build/crates/saikuro-core/src/capability.rs:103
↓ 41 callersMethodRegister
<summary> Register a synchronous or async function. The <paramref name="handler"/> receives the args list and must return the result as <c>object?</c>
Build/adapters/csharp/Saikuro/src/Provider.cs:256
↓ 41 callersMethodlen
Return the number of tokens in the set.
Build/crates/saikuro-core/src/capability.rs:113
↓ 40 callersMethodgenerate
(&self, schema: &Schema)
Build/crates/saikuro-codegen/src/c.rs:19
↓ 38 callersMethoderror
(msg: string, extra?: Record<string, unknown>)
Build/adapters/typescript/src/logger.ts:133
↓ 38 callersMethodpair
(cls)
Build/adapters/python/saikuro/transport/memory.py:38
↓ 36 callersMethodPair
()
Build/adapters/csharp/Saikuro/src/Transport/InMemoryTransport.cs:20
↓ 36 callersMethodis_empty
Return `true` if no tokens are held.
Build/crates/saikuro-core/src/capability.rs:118
↓ 36 callersMethodput
(&self, namespace: &str, key: &str, value: Bytes)
Build/crates/saikuro-storage/src/fs.rs:197
↓ 36 callersMethodrun
(mut self)
Build/crates/saikuro-runtime/src/connection.rs:141
↓ 35 callersMethodteardown
(self)
Build/adapters/python/tests/test_client.py:30
↓ 33 callersMethodis_null
(&self)
Build/crates/saikuro-core/src/value.rs:66
↓ 31 callersMethodas_str
(&self)
Build/crates/saikuro-core/src/value.rs:114
↓ 30 callersMethodCloseAsync
<summary>Gracefully close the client and its transport.</summary>
Build/adapters/csharp/Saikuro/src/Client.cs:220
↓ 30 callersFunctionchannel
(buffer: usize)
Build/crates/saikuro-exec/src/wasm_backend.rs:108
↓ 29 callersMethodRecvAsync
<summary> Receive the next message. Returns <c>null</c> on clean EOF (peer closed). </summary>
Build/adapters/csharp/Saikuro/src/Transport/ITransport.cs:23
↓ 28 callersMethodSendAsync
<summary>Send a message to the provider side of the channel.</summary>
Build/adapters/csharp/Saikuro/src/Client.cs:122
↓ 27 callersFunctionok
(msg)
Demo/dev.mjs:29
↓ 27 callersMethodregister
Register a function handler. The closure receives a `Vec<Value>` (JSON values) and must return a `Future<Output = Result<Value>>`. ```no_run # use s
Build/adapters/rust/src/provider.rs:83
↓ 26 callersMethodfromPayload
Construct the most specific subclass for a wire error payload.
Build/adapters/typescript/src/error.ts:25
↓ 25 callersMethodclear
()
Demo/src/lib/message-log.ts:22
↓ 25 callersMethodfrom_error_dict
Construct the most specific subclass for a wire error payload.
Build/adapters/python/saikuro/error.py:29
↓ 25 callersMethodschemaObject
* Return the namespace schema as a plain {@link SaikuroSchema} object * suitable for schema announcement. * * When a handler was registered w
Build/adapters/typescript/src/provider.ts:360
↓ 24 callersMethodFromPayload
<summary>Construct the most specific subclass for a wire error payload.</summary>
Build/adapters/csharp/Saikuro/src/Errors.cs:28
↓ 24 callersMethodMakeCall
( string target, IReadOnlyList<object?> args, string? capability = null )
Build/adapters/csharp/Saikuro/src/Envelope.cs:147
↓ 24 callersMethoddebug
(msg: string, extra?: Record<string, unknown>)
Build/adapters/typescript/src/logger.ts:118
↓ 24 callersMethodlog
Forward a structured log record to the runtime log sink. This is fire-and-forget and does not wait for a response.
Build/adapters/rust/src/client.rs:493
↓ 24 callersMethodok
Construct a successful response carrying a result value.
Build/crates/saikuro-core/src/envelope.rs:256
↓ 24 callersMethodregister_function
Imperative variant of `register`.
Build/adapters/python/saikuro/provider.py:94
↓ 22 callersMethodblock_on
Block on a future using the single-threaded wasm executor.
Build/crates/saikuro-exec/src/wasm_backend.rs:432
↓ 21 callersMethodempty
()
Build/adapters/python/tests/test_client.py:233
↓ 21 callersMethodhandle
Produce a cheap [`RuntimeHandle`] that can be cloned and shared across tasks.
Build/crates/saikuro-runtime/src/runtime.rs:115
↓ 21 callersMethodnext
Receive the next item from the stream. Returns `None` when the stream is closed.
Build/adapters/rust/src/client.rs:68
↓ 21 callersMethodonMessage
Register a handler invoked for every received message.
Build/adapters/typescript/src/transport/types.ts:18
↓ 21 callersFunctionpromise_await
(promise: ::js_sys::Promise)
Build/crates/saikuro-storage/src/fs_access.rs:42
↓ 21 callersFunctionrun
(cmd: list[str], cwd: StrPath = REPO_ROOT)
Build/scripts/shared/run.py:9
↓ 20 callersMethodFromMsgpackDict
<summary>Deserialise from a raw MessagePack map.</summary>
Build/adapters/csharp/Saikuro/src/Envelope.cs:296
↓ 20 callersFunctionclear_last_error
()
Build/adapters/c/src/lib.rs:28
↓ 20 callersFunctionpromise_await
(promise: ::js_sys::Promise)
Build/crates/saikuro-storage/src/opfs.rs:36
↓ 19 callersFunction_p
(code: str, message: str = "msg")
Build/adapters/python/tests/test_error.py:24
↓ 19 callersFunctionconnect_simulated_peer
Wire the "simulated adapter" side: returns `(sender, receiver)` for the test to drive, while the runtime's `ConnectionHandler` is spawned in the backg
Build/tests/tests/cross_language_wire.rs:96
↓ 19 callersFunctionlast_error
Build/adapters/cpp/include/saikuro/saikuro.hpp:29
↓ 19 callersFunctionmakeHarness
* Wire a SaikuroClient and SaikuroProvider together over an InMemoryTransport * pair, bypassing the announce handshake (not needed for unit tests).
Build/adapters/typescript/tests/client.test.ts:32
↓ 19 callersMethodopen
Connect the transport and start the receive loop.
Build/adapters/typescript/src/client.ts:274
↓ 18 callersMethodDequeue
()
Build/adapters/csharp/Saikuro/tests/BroadcastChannelTests.cs:353
↓ 18 callersMethod_dispatch
Handle one inbound invocation envelope.
Build/adapters/python/saikuro/provider.py:119
↓ 18 callersMethodbuild
Build the runtime. This does not start any listener loops; use [`RuntimeHandle`] methods to attach transports.
Build/crates/saikuro-runtime/src/runtime.rs:53
↓ 18 callersFunctiondecode_response
Decode a raw MessagePack frame into a [`ResponseEnvelope`].
Build/tests/tests/cross_language_wire.rs:27
↓ 18 callersFunctionp
( code: ConstructorParameters<typeof SaikuroError>[0]["code"], message = "msg", )
Build/adapters/typescript/tests/error.test.ts:24
↓ 18 callersFunctionsleep
Time utilities
Build/crates/saikuro-exec/src/wasm_backend.rs:348
↓ 18 callersFunctiontimeout
(dur: Duration, fut: F)
Build/crates/saikuro-exec/src/wasm_backend.rs:352
↓ 18 callersFunctionwc
Demo/wasm/c/insight_c.c:36
↓ 17 callersMethodCreateAsync
(string ns = "test")
Build/adapters/csharp/Saikuro/tests/ClientTests.cs:33
↓ 17 callersMethod_connect
(self)
Build/adapters/python/saikuro/client.py:78
↓ 17 callersFunctionblock
Spawn blocking I/O, converting [`JoinError`] to [`StorageError`].
Build/crates/saikuro-storage/src/fs.rs:13
↓ 17 callersMethodcall
* Perform a request/response call and return the result value. * * @throws {SaikuroError} (or a specific subclass) on a wire-level error. * @
Build/adapters/typescript/src/client.ts:305
↓ 17 callersFunctionencode_envelope
Encode an [`Envelope`] to raw MessagePack bytes (as any adapter would).
Build/tests/tests/cross_language_wire.rs:22
↓ 17 callersMethodmake_call
( cls, target: str, args: List[Any], capability: Optional[str] = None )
Build/adapters/python/saikuro/envelope.py:150
↓ 16 callersMethodAdd
<summary>Add two integers.</summary>
Build/adapters/csharp/tools/extractor/FixtureService.cs:12
↓ 16 callersMethodOpenAsync
<summary>Connect the transport and start the receive loop.</summary>
Build/adapters/csharp/Saikuro/src/Client.cs:208
↓ 16 callersMethodcall
Invocation API Perform a request/response call and return the result.
Build/adapters/rust/src/client.rs:328
↓ 16 callersMethodfromTransport
Construct a client from a transport without connecting immediately.
Build/adapters/typescript/src/client.ts:264
↓ 16 callersFunctionmake_harness
Wire a SaikuroClient and SaikuroProvider together without the announce handshake so tests are instant.
Build/adapters/python/tests/test_client.py:39
↓ 16 callersFunctionyield_now
()
Build/crates/saikuro-exec/src/wasm_backend.rs:366
↓ 15 callersMethodDeliver
(byte[] data)
Build/adapters/csharp/Saikuro/tests/BroadcastChannelTests.cs:340
↓ 15 callersMethodToMsgpackDict
<summary>Serialise to the canonical MessagePack-ready dictionary.</summary>
Build/adapters/csharp/Saikuro/src/Envelope.cs:272
↓ 15 callersMethodToWire
(this LogLevel level)
Build/adapters/csharp/Saikuro/src/Logger.cs:32
↓ 15 callersMethodexists
(&self, namespace: &str, key: &str)
Build/crates/saikuro-storage/src/fs.rs:187
↓ 15 callersMethodfrom_msgpack_dict
(cls, d: Dict[str, Any])
Build/adapters/python/saikuro/envelope.py:254
↓ 15 callersFunctiongetLogger
(name: string)
Build/adapters/typescript/src/logger.ts:142
↓ 14 callersMethodDecode
(ReadOnlyMemory<byte> bytes)
Build/adapters/csharp/Saikuro/src/Transport/MsgpackHelper.cs:18
↓ 14 callersMethodEncode
(Dictionary<string, object?> obj)
Build/adapters/csharp/Saikuro/src/Transport/MsgpackHelper.cs:9
↓ 14 callersMethodFromTransport
<summary>Construct a client from a transport without connecting.</summary>
Build/adapters/csharp/Saikuro/src/Client.cs:200
↓ 14 callersMethodWaitAsync
(CancellationToken ct = default)
Build/adapters/csharp/Saikuro/tests/BroadcastChannelTests.cs:361
↓ 14 callersMethoddispatch
* Dispatch a single inbound invocation envelope. * * Called by the serve loop and also usable in testing.
Build/adapters/typescript/src/provider.ts:431
↓ 14 callersMethodfrom_dict
Deserialise from a plain dict (as decoded from MessagePack). Raises :class:`ValueError` if ``d`` is not a mapping or is missing the r
Build/adapters/python/saikuro/envelope.py:103
↓ 14 callersMethodfrom_transport
Construct a client from an already-instantiated transport without connecting.
Build/adapters/python/saikuro/client.py:65
↓ 14 callersFunctionmake_provider
(namespace: &str)
Build/tests/tests/common/mod.rs:24
↓ 14 callersFunctionmake_schema_with_math
()
Build/tests/tests/codegen_output.rs:32
↓ 14 callersFunctionprimitive
(name: &str)
Build/adapters/rust/src/cli/saikuro_rust_schema.rs:26
↓ 13 callersMethodadd
(&mut self, path: impl Into<String>, content: impl Into<String>)
Build/crates/saikuro-codegen/src/generator.rs:28
↓ 13 callersMethodbuild
Return the schema announcement dict for this namespace.
Build/adapters/python/saikuro/schema.py:207
↓ 13 callersMethodcall
Perform a request/response call and return the result. Raises: SaikuroError (or a specific subclass) on failure. asyn
Build/adapters/python/saikuro/client.py:149
next →1–100 of 2,404, ranked by callers