Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Wirasm/kild
/ functions
Functions
136 in github.com/Wirasm/kild
⨍
Functions
136
◇
Types & classes
35
↓ 36 callers
Method
join
(room: string, agent: string)
engine/src/kild/comms-bus.ts:26
↓ 15 callers
Method
get
(roomId: string)
engine/src/kild/room/room-registry.ts:15
↓ 13 callers
Method
prompt
(text: string, from?: string)
engine/src/kild/sessions.ts:115
↓ 13 callers
Method
send
(msg: unknown)
app/src/lib/api.ts:141
↓ 12 callers
Function
ensureWorktree
(repo: string, name: string)
engine/src/kild/worktree.ts:75
↓ 12 callers
Function
worktreePath
(name: string)
engine/src/kild/worktree.ts:51
↓ 11 callers
Function
assertSafeBranch
(branch: string)
engine/src/kild/worktree.ts:31
↓ 10 callers
Function
findProject
(name: string)
engine/src/kild/projects.ts:26
↓ 9 callers
Function
pruneMergedWorktrees
( repo: string, keep: Set<string> = new Set(), )
engine/src/kild/worktree.ts:168
↓ 9 callers
Function
worktreeRef
(name: string)
engine/src/kild/worktree.ts:38
↓ 8 callers
Function
emit
(event: UiEvent)
engine/src/worker.ts:24
↓ 7 callers
Function
loadProjects
()
engine/src/kild/projects.ts:16
↓ 7 callers
Function
routeRoomMessage
(room: Room, message: RoomMessage, delivery: RoomDelivery)
engine/src/kild/room/room-router.ts:34
↓ 7 callers
Function
translate
(event: RawAgentEvent)
engine/src/kild/events.ts:31
↓ 6 callers
Method
broadcast
(msg: Outbound)
engine/src/kild/sessions.ts:222
↓ 6 callers
Method
broadcast
(msg: RoomOutbound)
engine/src/kild/room/room-manager.ts:174
↓ 6 callers
Function
fixture
(participantNames: string[] = ['orchestrator', 'worker'])
engine/src/kild/room/room-router.test.ts:6
↓ 6 callers
Method
list
()
engine/src/kild/sessions.ts:149
↓ 6 callers
Function
message
(from: string, to: string[], text: string)
engine/src/kild/room/room-router.test.ts:23
↓ 6 callers
Function
parseMentions
(text: string)
engine/src/kild/room/parse-mentions.ts:6
↓ 6 callers
Function
resolveModel
(registry: ModelRegistry, pattern: string | undefined)
engine/src/kild/models.ts:8
↓ 5 callers
Method
create
(room: Room)
engine/src/kild/room/room-registry.ts:11
↓ 5 callers
Function
listAgents
(projectRoot?: string)
engine/src/kild/agents.ts:61
↓ 5 callers
Method
post
(room: string, from: string, text: string)
engine/src/kild/comms-bus.ts:31
↓ 4 callers
Function
finish
(err?: Error)
engine/src/cli.ts:305
↓ 4 callers
Function
git
(...args: string[])
engine/src/kild/worktree.git.test.ts:18
↓ 4 callers
Function
kildHome
()
engine/src/kild/config.ts:9
↓ 4 callers
Function
listWorktrees
(repo: string)
engine/src/kild/worktree.ts:107
↓ 4 callers
Method
summaries
()
engine/src/kild/room/room-registry.ts:37
↓ 4 callers
Function
withRole
(text: string, instructions: string | null)
engine/src/kild/models.ts:21
↓ 4 callers
Function
worktreesInUse
()
engine/src/server.ts:76
↓ 3 callers
Method
close
Stop every participant session — the human kill switch / room teardown.
engine/src/kild/room/room-manager.ts:86
↓ 3 callers
Function
errText
(err: unknown)
engine/src/worker.ts:160
↓ 3 callers
Function
gitIn
(dir: string, ...args: string[])
engine/src/kild/worktree.git.test.ts:19
↓ 3 callers
Method
history
(room: string)
engine/src/kild/comms-bus.ts:38
↓ 3 callers
Method
locateSession
Find which room + participant a session belongs to — the reverse lookup that * routes a participant's `message_out` / `invite` back to its room.
engine/src/kild/room/room-registry.ts:25
↓ 3 callers
Method
post
Record + route one post from `from` (a participant name or {@link HUMAN}).
engine/src/kild/room/room-manager.ts:144
↓ 3 callers
Function
projectsFile
()
engine/src/kild/projects.ts:12
↓ 3 callers
Function
removeWorktree
(repo: string, wtPath: string)
engine/src/kild/worktree.ts:132
↓ 3 callers
Function
resolveAgentInstructions
( name: string, projectRoot?: string, )
engine/src/kild/agents.ts:87
↓ 3 callers
Function
resolveProjectPath
(q: string | undefined)
engine/src/server.ts:72
↓ 3 callers
Function
stripFrontmatter
(content: string)
engine/src/kild/agents.ts:42
↓ 3 callers
Method
subscribe
(listener: (msg: CommsMessage) => void)
engine/src/kild/comms-bus.ts:46
↓ 3 callers
Function
worktreesRoot
()
engine/src/kild/worktree.ts:27
↓ 2 callers
Method
addParticipant
Add a participant to a live room (the human "invite").
engine/src/kild/room/room-manager.ts:78
↓ 2 callers
Function
addProject
(name: string, dir: string)
engine/src/kild/projects.ts:38
↓ 2 callers
Function
commsTools
(room: string, agent: string)
engine/src/kild/comms-bus.ts:56
↓ 2 callers
Function
emitMessage
(text: string, to?: string[], implicit?: boolean)
engine/src/worker.ts:25
↓ 2 callers
Function
errText
(err: unknown)
engine/src/server.ts:29
↓ 2 callers
Function
formatDelivery
(roomName: string, from: string, text: string)
engine/src/kild/room/room-router.ts:15
↓ 2 callers
Method
kill
Hard-kill the worker (no graceful stop handshake) — for engine shutdown, * where we just need children gone before the process exits.
engine/src/kild/sessions.ts:126
↓ 2 callers
Function
push
()
engine/src/kild/worktree.ts:111
↓ 2 callers
Method
roster
(room: string)
engine/src/kild/comms-bus.ts:42
↓ 2 callers
Function
runToCompletion
(init: Init, req: RunRequest)
engine/src/kild/run.ts:28
↓ 2 callers
Method
spawn
( id: string, req: SpawnRequest, origin: 'ui' | 'cli' = 'ui', callbacks?: SessionCallbacks,
engine/src/kild/sessions.ts:153
↓ 2 callers
Method
spawnParticipant
Spawn one participant session, wired so its control lines route back here. * Returns false if rejected (name taken / reserved / at capacity).
engine/src/kild/room/room-manager.ts:96
↓ 2 callers
Function
splitFrontmatter
Split a leading YAML frontmatter block from the body. Returns the raw * frontmatter (without the `---` fences) and the trimmed system-prompt body.
engine/src/kild/agents.ts:30
↓ 2 callers
Method
stop
()
engine/src/kild/sessions.ts:119
↓ 2 callers
Function
worktree
(opts: WorktreeSandboxOptions)
engine/src/flue/worktree-sandbox.ts:41
↓ 2 callers
Function
worktreeName
(branch: string)
engine/src/kild/worktree.ts:45
↓ 1 callers
Function
agent
(action: string | undefined, args: string[])
engine/src/cli.ts:87
↓ 1 callers
Function
agentDirs
(projectRoot?: string)
engine/src/kild/agents.ts:16
↓ 1 callers
Method
appendMessage
(roomId: string, message: RoomMessage)
engine/src/kild/room/room-registry.ts:33
↓ 1 callers
Function
bridgePiAuth
()
engine/src/kild/auth.ts:21
↓ 1 callers
Method
close
()
app/src/lib/api.ts:159
↓ 1 callers
Function
closeRoom
()
engine/src/cli.ts:218
↓ 1 callers
Method
connect
()
app/src/lib/api.ts:105
↓ 1 callers
Function
createBrain
(init: Init, model: string = DEFAULT_MODEL)
engine/src/kild/brain.ts:86
↓ 1 callers
Function
createInviteAgentTool
( emit: (spec: { name: string; agent?: string; model?: string }) => void, )
engine/src/kild/room/invite-agent-tool.ts:11
↓ 1 callers
Function
createPostMessageTool
(emit: (text: string) => void)
engine/src/kild/room/post-message-tool.ts:15
↓ 1 callers
Function
createWorktree
(repo: string, branch: string)
engine/src/kild/worktree.ts:59
↓ 1 callers
Function
defaultBranch
The repo's default branch: `origin/HEAD` if set, else `main`/`master` if they * exist, else the current branch. Used to decide which `kild/*` branch
engine/src/kild/worktree.ts:138
↓ 1 callers
Method
delivery
()
engine/src/kild/room/room-manager.ts:167
↓ 1 callers
Function
dispatch
()
engine/src/cli.ts:48
↓ 1 callers
Function
doPruneMerged
(repo: string, keep: Set<string>)
engine/src/kild/worktree.ts:179
↓ 1 callers
Function
drainPrompts
()
engine/src/worker.ts:110
↓ 1 callers
Function
engineFetch
(path: string, init?: RequestInit)
engine/src/cli.ts:110
↓ 1 callers
Function
errText
(err: unknown)
engine/src/kild/worktree.ts:15
↓ 1 callers
Function
frontmatterDescription
The `description:` value from a frontmatter block (quotes trimmed), or ''.
engine/src/kild/agents.ts:47
↓ 1 callers
Method
handleInvite
A participant called `invite_agent`: add the named agent to its room.
engine/src/kild/room/room-manager.ts:138
↓ 1 callers
Method
handleParticipantMessage
A participant called `post_message`: resolve its room/name and route.
engine/src/kild/room/room-manager.ts:125
↓ 1 callers
Function
kildTools
(init: Init)
engine/src/kild/brain.ts:19
↓ 1 callers
Function
normalize
(event: FlueEvent)
engine/src/kild/observability.ts:24
↓ 1 callers
Method
open
Open a room under a caller-supplied id, spawning a session per participant.
engine/src/kild/room/room-manager.ts:58
↓ 1 callers
Function
originAllowed
(origin: string | undefined)
engine/src/server.ts:45
↓ 1 callers
Function
parseClientMessage
(data: string)
engine/src/server.ts:164
↓ 1 callers
Method
postFromHuman
The human posts into the room (kick-off and steering).
engine/src/kild/room/room-manager.ts:73
↓ 1 callers
Function
project
(action: string | undefined, args: string[])
engine/src/cli.ts:66
↓ 1 callers
Function
proposeMergeOrder
Conflict-aware ordering: fewest-files first; flag file overlaps to rebase.
engine/src/workflows/merge-team-demo.ts:54
↓ 1 callers
Method
remove
(roomId: string)
engine/src/kild/room/room-registry.ts:19
↓ 1 callers
Function
removeProject
(name: string)
engine/src/kild/projects.ts:31
↓ 1 callers
Function
resolveAddressees
A message's addressees: explicit `to` if set, else the `@mentions` in the text.
engine/src/kild/room/room-router.ts:20
↓ 1 callers
Function
room
* `kild room <goal>` — the room demo. Opens a room of predefined participants * (`--participants orchestrator,worker,reviewer`; default `orchestrator
engine/src/cli.ts:190
↓ 1 callers
Function
run
(prompt: string)
engine/src/cli.ts:171
↓ 1 callers
Function
run
()
app/src-tauri/src/lib.rs:7
↓ 1 callers
Function
runInProcess
(prompt: string)
engine/src/cli.ts:375
↓ 1 callers
Function
runViaEngine
(prompt: string)
engine/src/cli.ts:289
↓ 1 callers
Method
shutdown
Kill every worker subprocess. Called on engine shutdown so a `--watch` * reload (or Ctrl-C) never orphans workers (they'd otherwise reparent to in
engine/src/kild/sessions.ts:218
↓ 1 callers
Function
startCockpitLog
()
engine/src/kild/observability.ts:16
↓ 1 callers
Method
subscribe
(fn: (msg: RoomOutbound) => void)
engine/src/kild/room/room-manager.ts:49
next →
1–100 of 136, ranked by callers