MCPcopy Create free account

hub / github.com/CedarCopilot/cedar-OS / functions

Functions665 in github.com/CedarCopilot/cedar-OS

↓ 82 callersFunctionsanitizeJson
( obj: unknown, visited = new Map<unknown, string>(), path = '$' )
packages/cedar-os/src/utils/sanitizeJson.ts:2
↓ 76 callersFunctioncn
(...inputs: ClassValue[])
packages/cedar-os/src/styles/stylingUtils.ts:24
↓ 49 callersMethodcreateThread
( userId: string, threadId: string, meta: MessageThreadMeta )
packages/cedar-os/src/store/messages/messageStorage.ts:20
↓ 47 callersFunctioncn
(...inputs: ClassValue[])
src/lib/utils.ts:4
↓ 33 callersMethodactivateSpell
* Activate a spell
packages/cedar-os/src/store/spellSlice/SpellActivationManager.ts:325
↓ 31 callersFunctionuseSpell
(options: UseSpellOptions)
packages/cedar-os/src/store/spellSlice/useSpell.ts:57
↓ 29 callersFunctionaddDiffToArrayObjs
( oldState: T[], newState: T[], idField: string = 'id', diffPath: string = '', diffChecker?: DiffChecker
packages/cedar-os/src/store/diffHistoryStateSlice/useRegisterDiffState.ts:76
↓ 29 callersFunctionuseSubscribeStateToAgentContext
( stateKey: string, mapFn: (state: T) => Record<string, unknown>, options?: { icon?: ReactNode | ((item:
packages/cedar-os/src/store/agentContext/agentContextSlice.ts:603
↓ 22 callersFunctiondesanitizeJson
(obj: unknown)
packages/cedar-os/src/utils/sanitizeJson.ts:93
↓ 18 callersMethoddeactivateSpell
* Deactivate a spell
packages/cedar-os/src/store/spellSlice/SpellActivationManager.ts:375
↓ 18 callersFunctionuseStyling
()
packages/cedar-os/src/store/CedarStore.ts:90
↓ 16 callersFunctionaddDiffToMapObj
( oldState: Record<string, V>, newState: Record<string, V>, diffPath: string = '', diffChecker?: DiffCheck
packages/cedar-os/src/store/diffHistoryStateSlice/useRegisterDiffState.ts:175
↓ 13 callersFunctioncreateEmptyState
()
packages/cedar-os/__tests__/store/diffHistorySlice/emptyToFullArray.test.ts:44
↓ 13 callersFunctiondegToRad
(deg: number)
packages/cedar-os-components/spells/RadialMenuSpell.tsx:97
↓ 13 callersFunctiongetJsonSchema
(jsonSchema: unknown)
packages/cedar-os-backend/src/utils/getJsonSchema.ts:6
↓ 13 callersFunctionuseMultipleSpells
({ spells }: UseMultipleSpellsOptions)
packages/cedar-os/src/store/spellSlice/useMultipleSpells.ts:30
↓ 12 callersFunctionsetValue
(value: typeof initialValue)
packages/cedar-os/__tests__/store/diffHistorySlice/useRegisterCedarDiffState.test.tsx:117
↓ 12 callersFunctionuseSubscribeToDiffValue
( key: string, path: string, options: UseSubscribeToDiffValueOptions = {} )
packages/cedar-os/src/store/diffHistoryStateSlice/useSubscribeToDiffValue.ts:80
↓ 10 callersFunctiongetItemIdentifier
* Helper function to identify an item using either a field name or function
packages/cedar-os/src/store/diffHistoryStateSlice/diffHistorySlice.ts:220
↓ 10 callersFunctionupdateFormField
( provider: ProviderType, field: string, value: string, subField?: string )
src/app/examples/cedar-playground/sections/AgentBackendConnectionSection.tsx:258
↓ 10 callersFunctionuseRegisterFrontendTool
( options: UseRegisterFrontendToolOptions<TArgs> )
packages/cedar-os/src/store/toolsSlice/useRegisterFrontendTool.ts:39
↓ 9 callersFunctiongetShadedColor
(hex: string, shade: number)
packages/cedar-os/src/styles/stylingUtils.ts:37
↓ 9 callersFunctionsaveNodes
(nodes: Node<FeatureNodeData>[])
src/app/examples/product-roadmap/supabase/nodes.ts:214
↓ 9 callersFunctionsetNodes
(nodes: Node<TestNodeData>[])
packages/cedar-os/__tests__/store/diffHistorySlice/useRegisterCedarDiffState.test.tsx:65
↓ 9 callersFunctionuseRegisterDiffState
( config: RegisterDiffStateConfig<T> )
packages/cedar-os/src/store/diffHistoryStateSlice/useRegisterDiffState.ts:299
↓ 8 callersFunctiongetValueAtPath
* Helper function to get value at a JSON path
packages/cedar-os/src/store/diffHistoryStateSlice/diffHistorySlice.ts:168
↓ 8 callersFunctionmakeColour
(hOffset = 0, sOffset = 0, lOffset = 0)
packages/cedar-os-components/ornaments/GradientMesh.tsx:223
↓ 8 callersFunctionsafeStringify
(obj: unknown, indent = 2)
packages/cedar-os/src/components/debugger/NetworkTab.tsx:21
↓ 8 callersFunctionsetValueAtPathForDiff
* Helper function to set value at a JSON path
packages/cedar-os/src/store/diffHistoryStateSlice/diffHistorySlice.ts:191
↓ 7 callersFunctionareStatesEquivalent
* Helper function to check if oldState and newState are equivalent
packages/cedar-os/src/store/diffHistoryStateSlice/diffHistorySlice.ts:359
↓ 7 callersFunctioncreateFullState
()
packages/cedar-os/__tests__/store/diffHistorySlice/emptyToFullArray.test.ts:72
↓ 7 callersMethodextractEventTypes
* Extract event types from conditions
packages/cedar-os/src/store/spellSlice/SpellActivationManager.ts:304
↓ 7 callersFunctionrunCommand
( command: string, args: string[], options: { cwd?: string; stdio?: 'inherit' | 'pipe' | 'ignore' } = {} )
packages/cli/src/utils/runCommand.ts:4
↓ 7 callersMethodupdateMessage
( userId: string, threadId: string, message: Message )
packages/cedar-os/src/store/messages/messageStorage.ts:35
↓ 7 callersFunctionuseThreadController
()
packages/cedar-os/src/store/CedarStore.ts:67
↓ 6 callersMethoddeleteThread
( userId: string, threadId: string )
packages/cedar-os/src/store/messages/messageStorage.ts:30
↓ 6 callersFunctiongetMessageStyles
(role: string)
packages/cedar-os-components/chatMessages/ChatRenderer.tsx:43
↓ 6 callersFunctionstreamJSONEvent
( controller: ReadableStreamDefaultController<Uint8Array>, eventName: string, eventData: T )
examples-backend/product-roadmap-backend/src/utils/streamUtils.ts:47
↓ 6 callersFunctionuseDiffState
( key: string, initialValue: T, options?: { description?: string; stateSetters?: Record<string, Setter<
packages/cedar-os/src/store/diffHistoryStateSlice/useDiffState.ts:49
↓ 6 callersFunctionuseThreadMessages
(threadId?: string)
packages/cedar-os/src/store/CedarStore.ts:43
↓ 5 callersFunctionBaseParamsSchema
( dataSchemas?: TData, extraFieldsSchema?: E )
packages/cedar-os/src/store/agentConnection/AgentConnectionTypes.ts:286
↓ 5 callersFunctioncreateThread
(userId, threadId, meta)
packages/cedar-os/src/store/messages/messageStorage.ts:124
↓ 5 callersFunctiondetectPackageManager
()
packages/cli/src/utils/detectPackageManager.ts:6
↓ 5 callersFunctionfetchRegistry
()
packages/cli/src/utils/downloadComponents/registry.ts:54
↓ 5 callersFunctiongetCedarState
(key)
packages/cedar-os/src/store/CedarStore.ts:111
↓ 5 callersFunctiongetProviderImplementation
( config: T )
packages/cedar-os/src/store/agentConnection/providers/index.ts:20
↓ 5 callersFunctiongetSpell
()
packages/cedar-os/__tests__/store/spellSlice/spellSlice.test.ts:441
↓ 5 callersFunctionhandleSave
(provider: ProviderType)
src/app/examples/cedar-playground/sections/AgentBackendConnectionSection.tsx:188
↓ 5 callersMethodlistThreads
(userId: string)
packages/cedar-os/src/store/messages/messageStorage.ts:19
↓ 5 callersFunctionnormalizeToArray
* Helper to normalize context entries to an array for internal processing
packages/cedar-os/src/store/agentContext/agentContextSlice.ts:19
↓ 5 callersFunctionthreadKey
(userId: string, threadId: string)
packages/cedar-os/src/store/messages/messageStorage.ts:89
↓ 4 callersFunctionStructuredResponseSchema
(type: T)
packages/cedar-os/src/store/agentConnection/AgentConnectionTypes.ts:367
↓ 4 callersFunctionensureThread
(threadId: string, name?: string)
packages/cedar-os/src/store/messages/messagesSlice.ts:94
↓ 4 callersFunctionhandleItemSelect
(item: CommandBarItem)
packages/cedar-os-components/CommandBar/CommandBar.tsx:443
↓ 4 callersFunctionhandleLabelDoubleClick
(handleId: string)
src/app/examples/product-roadmap/components/FeatureNode.tsx:133
↓ 4 callersFunctionisSectionCollapsed
( stateKey: string, section: 'registeredState' | 'diffState' )
packages/cedar-os/src/components/debugger/StatesTab.tsx:39
↓ 4 callersMethodloadMessages
(userId: string, threadId: string)
packages/cedar-os/src/store/messages/messageStorage.ts:11
↓ 4 callersFunctionparseModelString
(modelString: string)
packages/cedar-os/src/store/agentConnection/providers/ai-sdk.ts:65
↓ 4 callersFunctionprocessContentChunk
(rawChunk: string)
packages/cedar-os/src/store/agentConnection/agentUtils.ts:24
↓ 4 callersFunctionsaveNodesToLocalStorage
(nodes: Node<FeatureNodeData>[])
src/app/examples/product-roadmap/supabase/nodes.ts:110
↓ 4 callersFunctionsetValueAtPath
* Helper function to set a value at a JSON path * @param obj - The object to modify * @param path - JSON path (e.g., '', '/data', '/nested/field')
packages/cedar-os/src/store/diffHistoryStateSlice/useRegisterDiffState.ts:231
↓ 4 callersFunctionstartResize
( direction: 'width' | 'height' | 'both' | 'bottom-left' | 'bottom-right', e: React.MouseEvent )
packages/cedar-os/src/components/debugger/DebuggerPanel.tsx:173
↓ 4 callersFunctiontoOpenApiSchema
(schema: Parameters<typeof zodToJsonSchema>[0])
examples-backend/product-roadmap-backend/src/mastra/apiRegistry.ts:37
↓ 4 callersFunctiontoggleSection
(sectionId: string)
packages/cedar-os/src/components/debugger/NetworkTab.tsx:64
↓ 4 callersFunctionuseMessages
()
packages/cedar-os/src/store/CedarStore.ts:30
↓ 4 callersFunctionwithClassName
(node: ReactNode, className: string)
packages/cedar-os/src/styles/stylingUtils.ts:128
↓ 3 callersFunctionTestComponent
()
packages/cedar-os/__tests__/store/toolsSlice/toolsSlice.test.tsx:105
↓ 3 callersFunctioncreateMastraToolForStateSetter
( stateKey: string, setterKey: string, inputSchema: z.ZodTypeAny, options: { description?: string; too
packages/cedar-os-backend/src/contextManagement/helpers.ts:174
↓ 3 callersFunctiongenerateContextKeysFromAdditionalContext
( additionalContext?: AdditionalContextParam<any>, manualOverrides: Record<string, ContextKeyDefinition> = {
packages/cedar-os-backend/src/contextManagement/helpers.ts:23
↓ 3 callersFunctiongetFrontendToolSchema
( requestBody: CedarRequestBody<TSchemas>, toolName: string )
packages/cedar-os-backend/src/types/schemaExtractors.ts:14
↓ 3 callersMethodgetInstance
()
packages/cedar-os/src/store/spellSlice/SpellActivationManager.ts:58
↓ 3 callersFunctiongetKeySymbol
(key: string)
packages/cedar-os-components/CommandBar/getShortcutDisplay.ts:6
↓ 3 callersFunctiongetKeySymbol
(key: string)
packages/cedar-os-components/CommandBar/utils.ts:6
↓ 3 callersFunctiongetStateSetterSchema
(args: { requestBody: CedarRequestBody<TSchemas>; setterKey: string; stateKey: string; })
packages/cedar-os-backend/src/types/schemaExtractors.ts:66
↓ 3 callersFunctionkebabCase
(str: string)
packages/cedar-os-backend/src/contextManagement/helpers.ts:241
↓ 3 callersFunctionmakeShadows
(multiplier: number)
packages/cedar-os-components/ornaments/InsetGlow.tsx:31
↓ 3 callersFunctionpersistThreadMeta
(userId: string, list: MessageThreadMeta[])
packages/cedar-os/src/store/messages/messageStorage.ts:92
↓ 3 callersFunctionrenderContextBadge
(key: string, entry: ContextEntry)
packages/cedar-os-components/chatInput/ContextBadgeRow.tsx:29
↓ 3 callersFunctionrenderObjectDiff
( oldObj: unknown, newObj: unknown, title: string, copyId: string )
packages/cedar-os/src/components/debugger/StatesTab.tsx:242
↓ 3 callersFunctionrunCedarAdd
(opts: AddSaplingOptions)
packages/cli/src/cli-helpers.ts:57
↓ 3 callersFunctionsaveEdgesToLocalStorage
(edges: Edge[])
src/app/examples/product-roadmap/supabase/edges.ts:84
↓ 3 callersFunctionselectItem
(index: number)
packages/cedar-os/src/components/chatInput/MentionList.tsx:53
↓ 3 callersFunctionshowManualInstallation
()
packages/cli/src/templates.ts:127
↓ 3 callersFunctionstartResize
( direction: 'width' | 'height' | 'both', e: React.MouseEvent )
packages/cedar-os-components/structural/FloatingContainer.tsx:237
↓ 3 callersMethodstopListening
* Stop listening to events
packages/cedar-os/src/store/spellSlice/SpellActivationManager.ts:201
↓ 3 callersFunctionuseCedarState
(config: { key: string; initialValue: T; description?: string; stateSetters?: Record<string, Setter<T, z.Z
packages/cedar-os/src/store/stateSlice/useCedarState.ts:25
↓ 3 callersFunctionuseDiffStateOperations
( key: string )
packages/cedar-os/src/store/diffHistoryStateSlice/useDiffState.ts:126
↓ 3 callersFunctionuseRegisterState
(config: { key: string; value: T; setValue?: BaseSetter<T>; description?: string; schema?: ZodSchema<T>;
packages/cedar-os/src/store/stateSlice/useCedarState.ts:120
↓ 3 callersFunctionuseSubscribeToDiffValues
( key: string, paths: string[], options: UseSubscribeToDiffValueOptions = {} )
packages/cedar-os/src/store/diffHistoryStateSlice/useSubscribeToDiffValue.ts:187
↓ 2 callersFunctioncheckDirectoryExists
(dir: string)
packages/cli/src/utils/downloadComponents/downloader.ts:89
↓ 2 callersFunctioncommitDescription
()
src/app/examples/product-roadmap/components/FeatureNode.tsx:228
↓ 2 callersFunctioncommitTitle
()
src/app/examples/product-roadmap/components/FeatureNode.tsx:218
↓ 2 callersFunctioncreateAgentConnectionSlice
(set, get)
packages/cedar-os/src/store/agentConnection/agentConnectionSlice.ts:166
↓ 2 callersFunctioncreateAgentContextSlice
(set, get)
packages/cedar-os/src/store/agentContext/agentContextSlice.ts:206
↓ 2 callersFunctioncreateBorderColor
(color: string)
packages/cedar-os/src/styles/stylingUtils.ts:58
↓ 2 callersFunctioncreateDebuggerSlice
(set, get)
packages/cedar-os/src/store/debugger/debuggerSlice.ts:119
↓ 2 callersFunctioncreateDiffHistorySlice
(set, get)
packages/cedar-os/src/store/diffHistoryStateSlice/diffHistorySlice.ts:905
↓ 2 callersFunctioncreateMessageStorageNoopAdapter
()
packages/cedar-os/src/store/messages/messageStorage.ts:199
↓ 2 callersFunctioncreateMessagesSlice
(set, get)
packages/cedar-os/src/store/messages/messagesSlice.ts:92
↓ 2 callersFunctioncreateResponseProcessor
( p: ResponseProcessor<T> )
packages/cedar-os/src/store/agentConnection/responseProcessors/createResponseProcessor.ts:11
next →1–100 of 665, ranked by callers