MCPcopy Create free account
hub / github.com/agent0ai/agent-zero / set

Function set

webui/js/AlpineStore.js:14–19  ·  view source on GitHub ↗
(target, prop, value)

Source from the content-addressed store, hash-verified

12export function createStore(name, initialState) {
13 const proxy = new Proxy(initialState, {
14 set(target, prop, value) {
15 const store = globalThis.Alpine?.store(name);
16 if (store) store[prop] = value;
17 else target[prop] = value;
18 return true;
19 },
20 get(target, prop) {
21 const store = globalThis.Alpine?.store(name);
22 if (store) return store[prop];

Callers 15

outputMethod · 0.85
resolve_host_ipsFunction · 0.85
get_toolsMethod · 0.85
get_all_toolsMethod · 0.85
get_toolsMethod · 0.85
get_all_toolsMethod · 0.85
outputMethod · 0.85
resolve_refFunction · 0.85
skills.pyFile · 0.85
normalize_skill_entriesFunction · 0.85
list_skill_catalogFunction · 0.85
_entry_keysFunction · 0.85

Calls

no outgoing calls