MCPcopy Create free account
hub / github.com/arctic-cli/interface / current

Function current

packages/arctic/src/cli/cmd/tui/context/local.tsx:85–87  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

83 return agents()
84 },
85 current() {
86 return agents().find((x) => x.name === agentStore.current)!
87 },
88 set(name: string) {
89 if (!agents().some((x) => x.name === name))
90 return toast.show({

Callers 2

DialogSelectFunction · 0.50
ToastFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected