MCPcopy Create free account

hub / github.com/Nisoku/Saikuro / functions

Functions2,404 in github.com/Nisoku/Saikuro

↓ 13 callersFunctionmakeCallEnvelope
( target: string, args: readonly unknown[], capability?: string, )
Build/adapters/typescript/src/envelope.ts:85
↓ 13 callersFunctiontake_error
()
Build/adapters/c/tests/common/mod.rs:18
↓ 13 callersMethodto_msgpack_dict
Serialise to the dict that will be MessagePack-encoded.
Build/adapters/python/saikuro/envelope.py:232
↓ 13 callersMethodtypeToDescriptor
* Convert a TypeScript type to a Saikuro TypeDescriptor.
Build/adapters/typescript/src/schema_extractor.ts:284
↓ 13 callersFunctionws
Demo/wasm/c/insight_c.c:41
↓ 12 callersMethodDispatchAsync
<summary> Dispatch a single inbound invocation envelope. Called by the serve loop; also usable directly in tests. </summary>
Build/adapters/csharp/Saikuro/src/Provider.cs:329
↓ 12 callersMethodFromMap
(Dictionary<string, object?> d)
Build/adapters/csharp/Saikuro/src/Envelope.cs:403
↓ 12 callersFunctionconnect
Parse an address string and return a connected boxed transport. Supported formats: - `tcp://host:port` - `ws://host:port` or `wss://host:port` - `uni
Build/adapters/rust/src/transport.rs:216
↓ 12 callersMethodregister_schema
Register or merge a schema document from a newly-connected provider.
Build/crates/saikuro-runtime/src/handle.rs:47
↓ 12 callersMethodvalidate
Validate a single envelope. For [`InvocationType::Batch`] each item is validated recursively.
Build/crates/saikuro-schema/src/validator.rs:143
↓ 11 callersMethodCallAsync
<summary>Perform a request/response call and return the result value.</summary>
Build/adapters/csharp/Saikuro/src/Client.cs:241
↓ 11 callersMethodMakeEnvelope
( InvocationType type, string target, IReadOnlyList<object?> args, string id =
Build/adapters/csharp/Saikuro/tests/ProviderTests.cs:11
↓ 11 callersMethodadd_function
Introspect `fn` and add it to the schema.
Build/adapters/python/saikuro/schema.py:150
↓ 11 callersFunctioncollectMessages
Collect all messages sent to a transport.
Build/adapters/typescript/tests/provider.test.ts:25
↓ 11 callersFunctionerror_response
(id: InvocationId, detail: ErrorDetail)
Build/crates/saikuro-router/src/router.rs:515
↓ 11 callersMethodget
(&self, namespace: &str, key: &str)
Build/crates/saikuro-storage/src/fs.rs:192
↓ 11 callersMethodinto_inner
(self)
Build/crates/saikuro-exec/src/wasm_backend.rs:36
↓ 11 callersFunctionmakeEnv
Build a minimal outbound Envelope.
Build/adapters/typescript/tests/provider.test.ts:15
↓ 11 callersFunctionmake_env
( itype: InvocationType, target: str, args: list, inv_id: str = "test-id" )
Build/adapters/python/tests/test_provider.py:17
↓ 11 callersFunctionmake_registry_with_math
()
Build/tests/tests/schema_validation.rs:57
↓ 11 callersMethodregister_fn_provider
Register a Rust closure as an in-process provider for a namespace. The closure receives an [`Envelope`] and must return a [`ResponseEnvelope`]. It r
Build/crates/saikuro-runtime/src/handle.rs:166
↓ 11 callersMethodtry_send
(&self, value: T)
Build/crates/saikuro-exec/src/wasm_backend.rs:145
↓ 10 callersMethodadd
(record: MessageRecord)
Demo/src/lib/message-log.ts:14
↓ 10 callersFunctionchannel_item
(id: InvocationId, seq: u64, value: Value)
Build/tests/tests/channel_dispatch.rs:16
↓ 10 callersFunctioncreate_storage
Create a storage backend based on the given configuration. When [`StorageConfig::backend`] is [`BackendKind::InMemory`] (the default), the platform-
Build/adapters/rust/src/storage.rs:22
↓ 10 callersFunctiondecodeResourceHandle
(raw: unknown)
Build/adapters/typescript/src/envelope.ts:180
↓ 10 callersMethoddelete
(&self, namespace: &str, key: &str)
Build/crates/saikuro-storage/src/fs.rs:203
↓ 10 callersFunctionmake_schema_with_args
Build a minimal one-function schema with N variadic `Any`-typed args. Using `Any`-typed args passes the validator regardless of what values the calle
Build/tests/tests/cross_language_wire.rs:42
↓ 10 callersMethodwarn
(msg: string, extra?: Record<string, unknown>)
Build/adapters/typescript/src/logger.ts:128
↓ 9 callersMethodToWire
<summary>Convert to the wire-format dictionary.</summary>
Build/adapters/csharp/Saikuro/src/Provider.cs:165
↓ 9 callersFunction_start_server
Start a websockets server with the given handler, return (server, port).
Build/adapters/python/tests/test_websocket_transport.py:66
↓ 9 callersFunctionblock
Spawn blocking I/O, converting [`JoinError`] to [`StorageError`].
Build/crates/saikuro-storage/src/sled.rs:13
↓ 9 callersMethodclose
(self)
Build/adapters/python/saikuro/transport/websocket.py:79
↓ 9 callersMethodconnect
(self)
Build/adapters/python/saikuro/transport/websocket.py:54
↓ 9 callersFunctioncstr_to_string
(ptr: *const c_char, arg_name: &str)
Build/adapters/c/src/lib.rs:34
↓ 9 callersFunctiondup_string
Build/adapters/cpp/tests/wrapper_behavior.cpp:75
↓ 9 callersFunctionescapeHtml
(s: string)
Demo/src/app.ts:79
↓ 9 callersFunctionfn_requiring
(caps: &[&str])
Build/tests/tests/capability_enforcement.rs:11
↓ 9 callersFunctionmake_raw_pair
()
Build/tests/tests/transport_wasm_host.rs:38
↓ 8 callersMethodMakeTransport
(string address)
Build/adapters/csharp/Saikuro/src/Transport/TransportFactory.cs:17
↓ 8 callersMethodSchemaDict
<summary> Build the schema announcement dictionary for this provider. </summary>
Build/adapters/csharp/Saikuro/src/Provider.cs:281
↓ 8 callersMethodapply_prefix
(&self, namespace: &str)
Build/crates/saikuro-storage/src/fs.rs:49
↓ 8 callersMethodapply_prefix
Prefix a logical namespace name with the configured prefix.
Build/crates/saikuro-storage/src/inmemory.rs:52
↓ 8 callersMethodapply_prefix
(&self, namespace: &str)
Build/crates/saikuro-storage/src/sled.rs:59
↓ 8 callersFunctionbuild_schema
()
Build/tests/tests/sandbox_dispatch.rs:27
↓ 8 callersMethodclient
(&self)
Build/adapters/c/src/lib.rs:197
↓ 8 callersMethodconnect
Connect (or initialise) the transport.
Build/adapters/typescript/src/transport/types.ts:3
↓ 8 callersFunctioncontains_or_fail
Build/adapters/cpp/tests/schema_extractor_cli.cpp:12
↓ 8 callersMethodenable_all
No-op: everything is already enabled on wasm.
Build/crates/saikuro-exec/src/wasm_backend.rs:415
↓ 8 callersFunctionensure_unique_name
( scope: &str, raw_name: &str, sanitized_name: &str, seen: &mut HashMap<String, String>, )
Build/crates/saikuro-codegen/src/rust.rs:374
↓ 8 callersFunctionjson_to_core
Convert a [`Value`] (JSON) into `saikuro_core::value::Value`.
Build/adapters/rust/src/value.rs:26
↓ 8 callersFunctionmake_schema_with_types
()
Build/tests/tests/codegen_output.rs:52
↓ 8 callersFunctionnavigate_path
(path: &str)
Build/crates/saikuro-storage/src/opfs.rs:226
↓ 8 callersMethodnavigate_to_dir
( &self, dirs: &[&str], create: bool, )
Build/crates/saikuro-storage/src/fs_access.rs:317
↓ 8 callersMethodnavigate_to_dir
( &self, dirs: &[&str], create: bool, )
Build/crates/saikuro-storage/src/opfs.rs:291
↓ 8 callersMethodrecv
(self)
Build/adapters/python/saikuro/transport/websocket.py:102
↓ 8 callersFunctionroundtrip_envelope
(env: &Envelope)
Build/tests/tests/envelope_roundtrip.rs:15
↓ 8 callersMethodroute_stream_item
Route an inbound stream item to the appropriate open stream.
Build/crates/saikuro-router/src/router.rs:449
↓ 8 callersFunctionrun_and_collect
Send `envelope` through a `ConnectionHandler` (optionally sandboxed) and collect all frames the handler pushes back. The test side sends the frame th
Build/tests/tests/sandbox_dispatch.rs:102
↓ 8 callersFunctionsafe_join
(root: &Path, rel: &str)
Build/crates/saikuro-storage/src/fs.rs:150
↓ 8 callersFunctionsaikuro_string_dup
(input: *const c_char)
Build/adapters/c/src/lib.rs:269
↓ 8 callersFunctionsimple_schema
(namespace: &str, function: &str)
Build/tests/tests/common/mod.rs:36
↓ 8 callersMethodstreams
Access the shared [`StreamStateStore`] directly. Primarily useful in tests and the runtime server loop when it needs to take receivers to forward str
Build/crates/saikuro-router/src/router.rs:122
↓ 8 callersFunctiontrim
Build/adapters/cpp/src/schema_extractor.cpp:28
↓ 7 callersMethodConnectAsync
<summary>Connect to a Saikuro runtime at <paramref name="address"/> and return a ready client.</summary>
Build/adapters/csharp/Saikuro/src/Client.cs:177
↓ 7 callersMethodaccept
()
Build/adapters/typescript/src/transport/wasmhost.ts:187
↓ 7 callersMethodbatch
Send multiple calls in a single batch envelope. Each element of `calls` may be a ``(target, args)`` 2-tuple or a ``(target, args, cap
Build/adapters/python/saikuro/client.py:176
↓ 7 callersMethodbatch
* Execute multiple calls in a single round-trip. * * Returns an ordered array of per-call results. Throws a `SaikuroError` * only if the batc
Build/adapters/typescript/src/client.ts:419
↓ 7 callersFunctionblock
Spawn blocking I/O, converting [`JoinError`] to [`StorageError`].
Build/crates/saikuro-storage/src/sqlite.rs:13
↓ 7 callersFunctioncapturing_sink
Build a capturing log sink that records every [`LogRecord`] it receives.
Build/tests/tests/log_dispatch.rs:19
↓ 7 callersFunctionget_db
()
Build/crates/saikuro-storage/src/indexeddb.rs:149
↓ 7 callersFunctionmake_announce
(schema: &Schema)
Build/tests/tests/sandbox_dispatch.rs:93
↓ 7 callersFunctionmake_envelope
Helpers
Build/adapters/rust/src/client.rs:728
↓ 7 callersFunctionmake_schema_with_stream_and_channel
()
Build/tests/tests/codegen_output.rs:494
↓ 7 callersFunctionnavigate_path
(path: &str)
Build/crates/saikuro-storage/src/fs_access.rs:246
↓ 7 callersMethodnext_json
Build/adapters/cpp/include/saikuro/saikuro.hpp:102
↓ 7 callersMethodroute_channel_inbound
(&self, response: ResponseEnvelope)
Build/crates/saikuro-router/src/router.rs:425
↓ 7 callersMethodsend_envelope
Internal helpers
Build/adapters/rust/src/client.rs:518
↓ 7 callersFunctiontx
( db: &IdbDatabase, mode: IdbTransactionMode, )
Build/crates/saikuro-storage/src/indexeddb.rs:158
↓ 7 callersMethodtype_to_cs
(&self, desc: &TypeDescriptor)
Build/crates/saikuro-codegen/src/csharp.rs:260
↓ 7 callersMethodwith_backend
Select a specific backend kind.
Build/crates/saikuro-storage/src/config.rs:137
↓ 6 callersMethodClose
()
Build/adapters/csharp/Saikuro/src/Client.cs:21
↓ 6 callersMethodReadFrameAsync
<summary> Read one length-prefixed frame from <paramref name="stream"/>. Returns <c>null</c> on clean EOF. </summary>
Build/adapters/csharp/Saikuro/src/Transport/FrameCodec.cs:31
↓ 6 callersFunction_make_error
( inv_id: str, code: str, message: str, details: Optional[dict] = None, )
Build/adapters/python/saikuro/provider.py:388
↓ 6 callersFunction_sendError
( transport: Transport, id: Uint8Array, code: string, message: string, details?: Readonly<Record<str
Build/adapters/typescript/src/provider.ts:811
↓ 6 callersMethodabort
Abort the channel by sending a StreamControl::Abort frame.
Build/adapters/rust/src/client.rs:126
↓ 6 callersMethodapply_prefix
(&self, namespace: &str)
Build/crates/saikuro-storage/src/sqlite.rs:73
↓ 6 callersMethodas_bytes
(&self)
Build/crates/saikuro-core/src/value.rs:123
↓ 6 callersFunctioncheck
(label: str, check_cmd: list[str], fix_cmd: list[str], cwd: StrPath | None = None)
Build/scripts/shared/format.py:28
↓ 6 callersFunctionconvert_type
Convert a [`TypeDescriptor`] to a target-language type string. This is the shared dispatcher that all backends use instead of writing their own `matc
Build/crates/saikuro-codegen/src/generator.rs:128
↓ 6 callersFunctionget_root
()
Build/crates/saikuro-storage/src/opfs.rs:63
↓ 6 callersFunctionidb_await
Convert an `IdbRequest` into a Rust `Future` by wrapping its `onsuccess` and `onerror` in a JavaScript Promise.
Build/crates/saikuro-storage/src/indexeddb.rs:65
↓ 6 callersFunctioninto_c_string_ptr
(s: &str)
Build/adapters/c/src/lib.rs:44
↓ 6 callersFunctionnamespace_public_functions
Iterate over namespace functions sorted by name, filtering out private ones. Every codegen backend needs this same loop. Using this helper eliminate
Build/crates/saikuro-codegen/src/generator.rs:84
↓ 6 callersFunctionnormalizeAnyComplex
(x: any, y: any)
Build/adapters/typescript/tests/canonicalize.ts:85
↓ 6 callersMethodoffMessage
Deregister a previously-registered message handler.
Build/adapters/typescript/src/transport/types.ts:21
↓ 6 callersFunctionround_trip_via_handler
( schema_registry: SchemaRegistry, provider_registry: ProviderRegistry, envelope: Envelope, )
Build/tests/tests/common/mod.rs:79
↓ 6 callersMethodschema_dict
Return the namespace schema as a plain dict (for announcement).
Build/adapters/python/saikuro/provider.py:113
↓ 6 callersMethodsend
(self, obj: dict)
Build/adapters/python/saikuro/transport/websocket.py:92
↓ 6 callersFunctiontake_owned_c_string
Build/adapters/cpp/include/saikuro/saikuro.hpp:20
← previousnext →101–200 of 2,404, ranked by callers