MCPcopy Create free account

hub / github.com/DualHorizon/malbox / functions

Functions2,140 in github.com/DualHorizon/malbox

↓ 305 callersMethodclone
(&self)
back-end/crates/malbox-plugin-sdk-python/src/types/result.rs:18
↓ 148 callersMethodpath
Resolve the on-disk path for a given SHA256 hash.
back-end/crates/malbox-utils/src/storage.rs:26
↓ 130 callersMethodpush
Push a log entry into the bus. Drops the oldest entry if at capacity. No-op if the bus is closed.
back-end/crates/malbox-plugin-sdk/src/log.rs:116
↓ 118 callersMethodcollect
(&self, ctx: &Context)
back-end/examples/plugins/guest-exec-checker/src/main.rs:29
↓ 94 callersMethodapply
( input: Uint8Array, params: Record<string, string | number | boolean>, context?: TransformContext )
front-end/src/lib/transforms/types.ts:39
↓ 94 callersMethodkey
back-end/crates/malbox-plugin-sdk-cpp/include/malbox/report.hpp:262
↓ 81 callersMethodis_empty
Check if the queue is empty.
back-end/crates/malbox-scheduler/src/task/queue.rs:89
↓ 78 callersMethodpush
(toast: Omit<Toast, 'id' | 'ttlMs'>, ttlMs = 5000)
front-end/src/lib/stores/toasts.svelte.ts:18
↓ 69 callersMethodas_str
(&self)
back-end/crates/malbox-plugin-internal/src/registry/types.rs:16
↓ 61 callersMethodstr
back-end/crates/malbox-plugin-sdk-cpp/include/malbox/report.hpp:242
↓ 55 callersMethodexists
Check whether a sample exists on disk.
back-end/crates/malbox-utils/src/storage.rs:38
↓ 52 callersMethodlen
Get the current number of tasks in the queue.
back-end/crates/malbox-scheduler/src/task/queue.rs:96
↓ 47 callersFunctionset_last_error
Store `msg` as the current thread-local error message. Any previously stored message is overwritten. The string is converted to a `CString`; if it c
back-end/crates/malbox-plugin-sdk-cpp/src/error.rs:23
↓ 46 callersMethodok
Construct a healthy status.
back-end/crates/malbox-plugin-sdk-cpp/include/malbox/types.hpp:64
↓ 45 callersMethodget
Fetch a single machine by ID.
back-end/crates/malbox-resources/src/pool.rs:78
↓ 45 callersMethodinto_response
(self)
back-end/crates/malbox-http/src/http/error.rs:69
↓ 43 callersMethodlen
(&self)
back-end/crates/malbox-plugin-internal/src/registry/snapshot.rs:62
↓ 36 callersMethodfind
(&self, name: &str)
back-end/crates/malbox-plugin-registry/src/index.rs:52
↓ 36 callersMethodstep_ctx
(self, step: Step, what: &str)
back-end/crates/malbox-installer/src/error.rs:90
↓ 35 callersMethodsend
Send a task request. Returns a handle to receive streamed responses. `header` contains task_id and request_type. `payload` is postcard-serialized Tas
back-end/crates/malbox-plugin-transport/src/ipc/tasks.rs:58
↓ 33 callersFunctionrequestJson
( fetchFn: FetchLike, path: string, opts: RequestOptions = {} )
front-end/src/lib/api/client.ts:70
↓ 31 callersFunctionload
()
front-end/src/routes/+page.ts:5
↓ 28 callersMethodregister
(transform: TransformDefinition)
front-end/src/lib/transforms/registry.ts:12
↓ 27 callersMethodstep_completed
(&self, _step: &str, _detail: &str)
back-end/crates/malbox-installer/src/progress.rs:16
↓ 26 callersFunctionget
(ctx: &Context, args: GetArgs)
back-end/bin/malbox/src/commands/task.rs:149
↓ 26 callersMethodstep_started
(&self, _step: &str)
back-end/crates/malbox-installer/src/progress.rs:15
↓ 25 callersMethodbuild_output
(&self, _line: &str)
back-end/crates/malbox-installer/src/progress.rs:19
↓ 24 callersMethodempty
()
back-end/crates/malbox-plugin-registry/src/lockfile.rs:38
↓ 24 callersFunctionupdate_machine_status
Update the lifecycle status of a machine, with an optional error message.
back-end/crates/malbox-database/src/repositories/machinery.rs:190
↓ 23 callersMethodrun
( input: Uint8Array, steps: PipelineStep[], options?: PipelineOptions )
front-end/src/lib/transforms/pipeline.ts:47
↓ 23 callersMethodtake
Take the entry for `handle`, removing it from the map. The returned entry's file has **not** been deleted - the caller (typically `on_pull_result`) r
back-end/crates/malbox-plugin-sdk/src/stash.rs:145
↓ 22 callersMethodjson
Serialize a value as JSON and wrap it as a named result.
back-end/crates/malbox-plugin-sdk/src/result.rs:27
↓ 22 callersMethodsuccess
()
back-end/crates/malbox-cli-common/src/utils/format.rs:11
↓ 22 callersMethodwrite
(&self, key: &str, content: &[u8], etag: Option<&str>)
back-end/crates/malbox-plugin-registry/src/client.rs:18
↓ 21 callersMethodadd_recovery_hints
(&self, step: &str, hints: &[&str])
back-end/bin/malbox/src/utils/install_renderer.rs:277
↓ 21 callersMethodpush
Push a single result back to the daemon. Small results (below the stash threshold) travel inline on the control stream. Large byte/JSON payloads are
back-end/crates/malbox-plugin-sdk/src/context/result_sink.rs:48
↓ 20 callersMethodfield_opt
(&mut self, label: &str, value: Option<impl std::fmt::Display>)
back-end/crates/malbox-cli-common/src/utils/format.rs:306
↓ 20 callersMethodis_empty
(&self)
back-end/crates/malbox-plugin-internal/src/registry.rs:29
↓ 20 callersMethodremove
(&self, task_id: i32)
back-end/crates/malbox-scheduler/src/task/cancel.rs:37
↓ 20 callersMethodresults
Get a [`ResultSink`] for pushing results back to the daemon.
back-end/crates/malbox-plugin-sdk/src/context.rs:100
↓ 19 callersMethodcreate
Create a libvirt domain with a COW disk overlay. Defines the domain in libvirt but does **not** boot it. Call [`start`] to boot.
back-end/crates/malbox-provider-libvirt/src/capabilities/allocate.rs:15
↓ 19 callersMethodget
(&self, id: &PluginId)
back-end/crates/malbox-plugin-internal/src/registry/snapshot.rs:38
↓ 19 callersMethodget
(id: string)
front-end/src/lib/transforms/registry.ts:24
↓ 19 callersMethodsend
Queue a command and wake the reactor thread.
back-end/crates/malbox-plugin-internal/src/manager/ipc_reactor.rs:80
↓ 19 callersMethodstore
Store sample bytes at the content-addressed path. Idempotent: if a file with this hash already exists, the write is skipped. Atomic: writes to a temp
back-end/crates/malbox-utils/src/storage.rs:47
↓ 18 callersMethodblock
Escape hatch - push any [`Block`] directly.
back-end/crates/malbox-plugin-sdk/src/report/builder.rs:217
↓ 18 callersMethodfield
(&mut self, label: &str, value: impl std::fmt::Display)
back-end/crates/malbox-cli-common/src/utils/format.rs:301
↓ 18 callersMethodsection
Append a section. The closure receives a [`SectionBuilder`] and returns it - the typical shape is `|s| s.heading(2, "...").table(...)`.
back-end/crates/malbox-plugin-sdk/src/report/builder.rs:163
↓ 18 callersMethodtry_recv
Non-blocking receive of the next response chunk. Returns None if no response is available yet.
back-end/crates/malbox-plugin-transport/src/ipc/tasks.rs:90
↓ 18 callersMethodupdate_task_state
Update the state of a task both in memory and database.
back-end/crates/malbox-scheduler/src/task/store.rs:64
↓ 17 callersFunctionrouter
()
back-end/crates/malbox-http/src/http/images.rs:14
↓ 16 callersMethodbuild
Finalize and return the [`Report`]. Merges any pending labels into the verdict.
back-end/crates/malbox-plugin-sdk/src/report/builder.rs:183
↓ 16 callersMethodcheck_response
Check a response for API-level errors (4xx/5xx with JSON body). Returns the response unchanged if status is success.
back-end/crates/malbox-cli-common/src/api.rs:35
↓ 16 callersFunctionerror
(msg: impl std::fmt::Display)
back-end/crates/malbox-cli-common/src/utils/format.rs:338
↓ 16 callersFunctionmakeTransform
( id: string, provenance: 'builtin' | 'ui-managed' | 'git-synced' = 'builtin' )
front-end/src/lib/transforms/__tests__/registry.test.ts:5
↓ 16 callersMethodsnapshot
Get the Snapshot capability if available.
back-end/crates/malbox-machinery/src/provider.rs:75
↓ 16 callersMethodurl
(&self, path: &str)
back-end/crates/malbox-cli-common/src/api.rs:29
↓ 15 callersFunctionbytes
(size: i64)
back-end/crates/malbox-cli-common/src/utils/format.rs:364
↓ 15 callersFunctionctx_from_ptr
(ptr: *const (), valid: &AtomicBool)
back-end/crates/malbox-plugin-sdk-python/src/types/context.rs:11
↓ 14 callersMethodbegin_obj
back-end/crates/malbox-plugin-sdk-cpp/include/malbox/report.hpp:249
↓ 14 callersMethodconnection
Get the libvirt connection.
back-end/crates/malbox-provider-libvirt/src/lib.rs:115
↓ 14 callersMethodend_obj
back-end/crates/malbox-plugin-sdk-cpp/include/malbox/report.hpp:250
↓ 14 callersFunctionevent_roundtrip
(event: Event)
back-end/crates/malbox-plugin-sdk-cpp/src/ffi_events/convert.rs:173
↓ 14 callersMethodmarkdown
Add a markdown text block.
back-end/crates/malbox-plugin-sdk/src/report/builder.rs:223
↓ 14 callersMethodsave
(&self, path: &Path)
back-end/crates/malbox-installer/src/manifest.rs:86
↓ 13 callersFunctioncheck_rc
Check a return code from a Malbox C API function. Throws malbox::Error (with message retrieved from malbox_last_error) if rc < 0.
back-end/crates/malbox-plugin-sdk-cpp/include/malbox/error.hpp:43
↓ 13 callersMethodindicator
Add an indicator of compromise to the report's semantic layer.
back-end/crates/malbox-plugin-sdk/src/report/builder.rs:144
↓ 13 callersFunctionmake_entry
(msg: &str, level: LogLevel)
back-end/crates/malbox-plugin-sdk/src/log.rs:263
↓ 13 callersFunctiontextToBytes
(s: string)
front-end/src/lib/transforms/__tests__/builtin/encoding.test.ts:14
↓ 13 callersFunctionwrite_arr
back-end/crates/malbox-plugin-sdk-cpp/include/malbox/report.hpp:357
↓ 12 callersFunctionclear_last_error
Clear the current thread-local error message. After this call [`malbox_last_error`] will return `-1` (no error).
back-end/crates/malbox-plugin-sdk-cpp/src/error.rs:35
↓ 12 callersMethodemit_task_event
Emit a task IPC event, logging errors but not propagating them.
back-end/crates/malbox-scheduler/src/worker.rs:1296
↓ 12 callersMethodfrom
(s: SampleEntity)
back-end/crates/malbox-http/src/http/dto.rs:33
↓ 12 callersMethodnext
back-end/crates/malbox-plugin-sdk-cpp/include/malbox/report.hpp:258
↓ 12 callersFunctionsimple_event
Helper to create a MalboxEvent with null string pointers (most events).
back-end/crates/malbox-plugin-sdk-cpp/src/ffi_events/convert.rs:8
↓ 11 callersFunctionbytesToText
(b: Uint8Array)
front-end/src/lib/transforms/__tests__/pipeline.test.ts:11
↓ 11 callersMethodprint
(&self)
back-end/crates/malbox-cli-common/src/utils/format.rs:200
↓ 11 callersMethodread
(&self, key: &str)
back-end/crates/malbox-plugin-registry/src/client.rs:34
↓ 10 callersMethoddefault
()
back-end/crates/malbox-config/src/cli.rs:23
↓ 10 callersFunctiondisplay_json
(val: &serde_json::Value)
back-end/crates/malbox-cli-common/src/utils/format.rs:161
↓ 10 callersMethoddrain
Drain all buffered entries and return them.
back-end/crates/malbox-plugin-sdk/src/log.rs:139
↓ 10 callersFunctionempty
(msg: impl std::fmt::Display)
back-end/crates/malbox-cli-common/src/utils/format.rs:343
↓ 10 callersFunctionisApiError
(err: unknown)
front-end/src/lib/api/errors.ts:40
↓ 10 callersFunctionlast_error_string
Retrieve the last error message as a Rust `String`, if one is set.
back-end/crates/malbox-plugin-sdk-cpp/src/error.rs:56
↓ 10 callersFunctionmalbox_theme
()
back-end/crates/malbox-cli-common/src/utils/format.rs:382
↓ 10 callersMethodprogress
Report execution progress (0.0 to 1.0) with a status message. Progress updates are streamed to the daemon in real-time and can be shown in the UI. Th
back-end/crates/malbox-plugin-sdk/src/context.rs:116
↓ 10 callersMethodpush
Push a single PluginResult to the daemon.
back-end/crates/malbox-plugin-sdk-cpp/include/malbox/context.hpp:182
↓ 10 callersMethodsnapshot
Get the current plugin snapshot. Cheap (Arc clone).
back-end/crates/malbox-plugin-internal/src/registry.rs:72
↓ 10 callersMethodstep_failed
(&self, _step: &str, _error: &str)
back-end/crates/malbox-installer/src/progress.rs:17
↓ 10 callersFunctiontextToBytes
(s: string)
front-end/src/lib/transforms/__tests__/auto-detect.test.ts:7
↓ 10 callersFunctiontextToBytes
(s: string)
front-end/src/lib/transforms/__tests__/pipeline.test.ts:7
↓ 9 callersMethodadd
Enable a provider. Returns `false` when it was already enabled. The first enabled provider becomes the default.
back-end/bin/malbox/src/utils/provider_config.rs:61
↓ 9 callersFunctionbytesToText
(b: Uint8Array)
front-end/src/lib/transforms/__tests__/builtin/hashes.test.ts:8
↓ 9 callersFunctionctx_ptr
(ctx: &Context)
back-end/crates/malbox-plugin-sdk-cpp/src/ffi_task.rs:325
↓ 9 callersMethodemit_signal
Emit a signal-only event (no payload).
back-end/crates/malbox-plugin-transport/src/ipc/events.rs:151
↓ 9 callersFunctionexecute
( config_dir: &Path, providers: &[String], postgres_url: &str, web_dir: &Path, observer: &
back-end/crates/malbox-installer/src/steps/config.rs:7
↓ 9 callersFunctionfaviconUrl
(urlTemplate: string)
front-end/src/lib/stores/lookupProviders.svelte.ts:8
↓ 9 callersMethodflush
Flush a batch of PluginResult objects to the daemon.
back-end/crates/malbox-plugin-sdk-cpp/include/malbox/context.hpp:214
↓ 9 callersMethodheading
Add a heading (level 1-6, maps to HTML heading levels).
back-end/crates/malbox-plugin-sdk/src/report/builder.rs:236
↓ 9 callersFunctionlooksLikeHash
(value: string)
front-end/src/lib/api/submission.ts:10
next →1–100 of 2,140, ranked by callers