Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/CopilotKit/OpenTag
/ functions
Functions
102 in github.com/CopilotKit/OpenTag
⨍
Functions
102
◇
Types & classes
13
↓ 10 callers
Function
required
(name: string)
app/index.ts:50
↓ 9 callers
Function
senderContext
( user: PlatformUser | undefined, platform: string, )
app/sender-context.ts:12
↓ 9 callers
Function
threadReplies
( channel: string, ts: string, includeMetadata = false, )
e2e/slack-api.ts:64
↓ 6 callers
Function
byName
(name: string)
app/commands/__tests__/commands.test.ts:17
↓ 6 callers
Function
isBalanced
(text: string)
e2e/slack-api.ts:241
↓ 5 callers
Function
fileIssueSubmit
({ values, thread, user, })
app/modals/file-issue.tsx:53
↓ 5 callers
Function
slack
( method: string, params: Record<string, unknown> = {}, token = BOT_TOKEN, )
e2e/slack-api.ts:18
↓ 4 callers
Function
fakeThread
A fake `thread` recording posts and updates.
app/tools/__tests__/showcase-tools.test.tsx:28
↓ 4 callers
Function
fakeThread
A fake `thread` recording each posted Renderable; optionally throws on post N.
app/tools/__tests__/render-table.test.tsx:30
↓ 4 callers
Function
fakeThread
A minimal fake thread capturing runAgent input and posted text.
app/commands/__tests__/commands.test.ts:24
↓ 4 callers
Function
have
(...names: string[])
app/index.ts:60
↓ 4 callers
Function
makeCtx
* Build a fake handler ctx. The handler only touches * `thread.getMessages()`; the other `BotToolContext` fields are unused by * this tool, so we ca
app/tools/__tests__/read-thread.test.ts:13
↓ 4 callers
Function
makeCtx
()
app/tools/__tests__/render-tools.test.ts:17
↓ 4 callers
Function
postAsUser
( channel: string, text: string, opts: { threadTs?: string } = {}, )
e2e/slack-api.ts:41
↓ 4 callers
Function
str
(v: unknown, fallback = "")
app/modals/file-issue.tsx:25
↓ 3 callers
Function
FileIssueModal
({ rich }: { rich: boolean })
app/modals/file-issue.tsx:86
↓ 3 callers
Function
childNodes
Children of an IR node as an array (empty if none).
app/human-in-the-loop/__tests__/confirm-write.test.tsx:12
↓ 3 callers
Function
ctx
(over: Partial<CommandContext>)
app/commands/__tests__/commands.test.ts:33
↓ 3 callers
Function
fakeThread
A fake `thread` that records each posted Renderable.
app/tools/__tests__/render-tools.test.tsx:14
↓ 3 callers
Function
getUpdates
( offset: number, limit = 20, )
e2e/telegram-api.ts:159
↓ 3 callers
Function
issueFromValues
(values: Record<string, unknown>)
app/modals/file-issue.tsx:29
↓ 3 callers
Function
required
(name: string)
app/demo-restart.tsx:38
↓ 3 callers
Function
required
(name: string)
e2e/restart-recovery.ts:51
↓ 3 callers
Function
runExpectations
( exp: NonNullable<E2ECase["expectations"]>, finalText: string | undefined, errors: string[], prefix =
e2e/run.ts:58
↓ 3 callers
Function
stateGlyph
(state?: string)
app/components/_status.ts:8
↓ 3 callers
Function
wait
(ms: number)
e2e/restart-recovery.ts:72
↓ 2 callers
Function
buttonByText
(ir: BotNode[], text: string)
app/human-in-the-loop/__tests__/confirm-write.test.tsx:51
↓ 2 callers
Function
channelHistory
(channel: string, limit = 10)
e2e/slack-api.ts:59
↓ 2 callers
Function
clamp
( columns: Column[], rows: string[][], )
app/tools/render-table.tsx:53
↓ 2 callers
Function
fakeThread
A fake thread whose `awaitChoice` records the posted UI and returns a fixed choice.
app/human-in-the-loop/__tests__/confirm-write-tool.test.tsx:7
↓ 2 callers
Function
getBrowser
()
app/render/browser.ts:16
↓ 2 callers
Function
makeBridge
()
e2e/restart-recovery.ts:60
↓ 2 callers
Function
mcpTransports
()
runtime.ts:75
↓ 2 callers
Function
sendMessageAsSenderBot
( chatId: string | number, text: string, opts: { replyToMessageId?: number } = {}, )
e2e/telegram-api.ts:138
↓ 2 callers
Function
shutdown
(signal: string)
app/index.ts:264
↓ 2 callers
Function
stop
()
app/demo-restart.tsx:206
↓ 2 callers
Function
tags
(node: BotNode | unknown, acc: string[] = [])
app/modals/__tests__/file-issue.test.tsx:11
↓ 2 callers
Function
tgApi
( token: string, method: string, params: Record<string, unknown> = {}, )
e2e/telegram-api.ts:76
↓ 2 callers
Function
toMonospaceTable
(cols: Column[], dataRows: string[][])
app/tools/render-table.tsx:75
↓ 2 callers
Function
upsertEnv
(text: string, key: string, value: string)
e2e/grab-user-token.ts:251
↓ 2 callers
Function
waitForOperator
* Wait for the operator to send a prompt (manual-trigger mode). * Prints the prompt text and waits `promptWaitMs` for the user to act.
e2e/telegram-run.ts:125
↓ 2 callers
Function
watchForNextReply
(args: { channel: string; parentTs: string; seenCount: number; intervalMs: number; timeoutMs: number
e2e/slack-api.ts:139
↓ 2 callers
Function
watchForReply
(args: { channel: string; parentTs: string; intervalMs: number; timeoutMs: number; onSample: (sample
e2e/slack-api.ts:92
↓ 1 callers
Function
IssueCard
(issue: IssueCardProps)
app/components/issue-card.tsx:54
↓ 1 callers
Function
accentForIssue
(issue: { state?: string; priority?: string; })
app/components/_status.ts:43
↓ 1 callers
Function
accentForIssues
( issues: ReadonlyArray<{ priority?: string }>, )
app/components/_status.ts:58
↓ 1 callers
Function
clickButtonByText
(page: Page, label: string)
e2e/grab-user-token.ts:63
↓ 1 callers
Function
closeBrowser
()
app/render/browser.ts:26
↓ 1 callers
Function
collectText
Concatenate the text of all descendant `text` nodes (depth-first).
app/human-in-the-loop/__tests__/confirm-write.test.tsx:26
↓ 1 callers
Function
connectMcp
* Connect one MCP client without ever taking the run down with it. A server * that's misconfigured (bad key), down (sidecar not running), or hanging
runtime.ts:112
↓ 1 callers
Function
createLinearIssue
( title: string, )
app/demo-restart.tsx:69
↓ 1 callers
Function
drainUpdates
()
e2e/telegram-api.ts:184
↓ 1 callers
Function
findButtons
All button nodes in the tree.
app/human-in-the-loop/__tests__/confirm-write.test.tsx:42
↓ 1 callers
Function
findWithProp
Depth-first: find the first IR node whose `type` matches and that has the named prop.
app/tools/__tests__/showcase-tools.test.tsx:45
↓ 1 callers
Function
fmt
(row: string[])
app/tools/render-table.tsx:84
↓ 1 callers
Function
injectClick
( bridge: SlackBridge, ev: BlockActionsBody, )
e2e/restart-recovery.ts:250
↓ 1 callers
Function
isStatus
(t: string)
e2e/run.ts:216
↓ 1 callers
Function
main
()
app/index.ts:63
↓ 1 callers
Function
main
()
app/demo-restart.tsx:175
↓ 1 callers
Function
main
()
e2e/run.ts:326
↓ 1 callers
Function
main
()
e2e/grab-user-token.ts:73
↓ 1 callers
Function
main
()
e2e/telegram-run.ts:283
↓ 1 callers
Function
main
()
e2e/restart-recovery.ts:409
↓ 1 callers
Function
priorityGlyph
(priority?: string)
app/components/_status.ts:19
↓ 1 callers
Function
renderChart
( spec: Record<string, unknown>, opts: { width?: number; height?: number } = {}, )
app/render/chart.ts:13
↓ 1 callers
Function
renderDiagram
(code: string)
app/render/diagram.ts:20
↓ 1 callers
Function
runCase
(spec: E2ECase)
e2e/run.ts:89
↓ 1 callers
Function
runCase
(spec: E2ECase)
e2e/telegram-run.ts:139
↓ 1 callers
Function
runExpectations
( exp: NonNullable<E2ECase["expectations"]>, finalText: string | undefined, errors: string[], prefix =
e2e/telegram-run.ts:88
↓ 1 callers
Function
runScenario
* One full restart-recovery cycle. Returns nothing; throws on any * assertion failure (the caller decides whether to continue running * the remainin
e2e/restart-recovery.ts:270
↓ 1 callers
Function
setCodeMirrorValue
(page: Page, value: string)
e2e/grab-user-token.ts:23
↓ 1 callers
Function
slug
(s: string)
app/tools/render-chart.tsx:59
↓ 1 callers
Function
slug
(s: string)
app/tools/render-diagram.tsx:27
↓ 1 callers
Function
synthesiseBlockActions
(args: { pickerTs: string; parentTs: string; actionId: string; value: string; buttonText: string; })
e2e/restart-recovery.ts:201
↓ 1 callers
Function
tags
(node: BotNode | unknown, acc: string[] = [])
app/commands/__tests__/commands.test.ts:7
↓ 1 callers
Function
waitForAgentReply
( parentTs: string, sinceCount: number, regex: RegExp, timeoutMs = 30_000, )
e2e/restart-recovery.ts:148
↓ 1 callers
Function
waitForPicker
( parentTs: string, expectedEventType: string, )
e2e/restart-recovery.ts:74
↓ 1 callers
Function
waitForVisibleEnabledButton
( page: Page, label: string, timeoutMs = 15000, )
e2e/grab-user-token.ts:41
↓ 1 callers
Function
watchForChannelReply
(args: { channel: string; sinceTs: string; intervalMs: number; timeoutMs: number; onSample: (sample:
e2e/slack-api.ts:185
Function
ConfirmCreateIssue
({ title }: ConfirmCreateIssueProps)
app/demo-restart.tsx:102
Function
ConfirmWrite
({ action, detail }: ConfirmWriteProps)
app/human-in-the-loop/confirm-write.tsx:35
Function
IncidentCard
({ id, title, severity, summary }: IncidentProps)
app/tools/showcase-tools.tsx:40
Function
IssueList
({ heading, issues }: IssueListProps)
app/components/issue-list.tsx:62
Function
LinksCard
({ heading, links }: LinksProps)
app/tools/showcase-tools.tsx:158
Function
PageList
({ heading, pages }: PageListProps)
app/components/page-list.tsx:42
Function
StatusCard
({ heading, fields }: StatusProps)
app/tools/showcase-tools.tsx:115
Function
awaitChoice
(ui: unknown)
app/human-in-the-loop/__tests__/confirm-write-tool.test.tsx:10
Function
findByType
Walk the whole tree to find the first node of a given intrinsic type.
app/human-in-the-loop/__tests__/confirm-write.test.tsx:32
Function
handler
({ title, chartSpec }, ctx)
app/tools/render-chart.tsx:76
Function
handler
({ title, mermaid }, ctx)
app/tools/render-diagram.tsx:44
Function
handler
({ title, columns, rows }, { thread })
app/tools/render-table.tsx:100
Function
handler
(_args, { thread })
app/tools/read-thread.ts:24
Function
handler
(props, { thread })
app/tools/render-tools.tsx:26
Function
handler
(props, { thread })
app/tools/showcase-tools.tsx:92
Function
handler
({ thread, text, user })
app/commands/index.ts:28
Function
handler
({ action, detail }, { thread })
app/human-in-the-loop/confirm-write-tool.tsx:38
Function
isBalanced
(text: string)
e2e/telegram-api.ts:390
Function
linearGraphQL
(query: string, variables: object)
app/demo-restart.tsx:51
Function
onSample
(s: { elapsedMs: number; text: string | undefined })
e2e/run.ts:123
Function
onSample
(s: { elapsedMs: number; text: string | undefined })
e2e/telegram-run.ts:161
next →
1–100 of 102, ranked by callers