SYMBOL INDEX (652 symbols across 158 files) FILE: hack/contributors_markdown/contributors_markdown.py function fetch_contributors (line 32) | def fetch_contributors(owner: str, repo: str, token: str | None, per_pag... function build_markdown (line 54) | def build_markdown(contributors: List[Dict], cols: int = 7, image_size: ... function main (line 75) | def main() -> None: FILE: packages/create-12-factor-agent/template/src/a2h.ts type Metadata (line 6) | type Metadata = { type MessageSpec (line 11) | type MessageSpec> = { type Message (line 17) | type Message = ZodSchema> = { type ApprovalRequest (line 33) | type ApprovalRequest = Message; type HumanRequest (line 34) | type HumanRequest = Message; type NewConversationSpec (line 37) | type NewConversationSpec = { type NewConversation (line 44) | type NewConversation = { type A2HEvent (line 52) | type A2HEvent = ZodSchema> = Message | ... FILE: packages/create-12-factor-agent/template/src/agent.ts type Event (line 3) | interface Event { class Thread (line 8) | class Thread { method constructor (line 12) | constructor(events: Event[]) { method serializeForLLM (line 16) | serializeForLLM() { method trimLeadingWhitespace (line 20) | trimLeadingWhitespace(s: string) { method serializeOneEvent (line 24) | serializeOneEvent(e: Event) { method awaitingHumanResponse (line 34) | awaitingHumanResponse(): boolean { method awaitingHumanApproval (line 39) | awaitingHumanApproval(): boolean { method lastEvent (line 44) | lastEvent(): Event { type CalculatorTool (line 49) | type CalculatorTool = AddTool | SubtractTool | MultiplyTool | DivideTool; function handleNextStep (line 51) | async function handleNextStep(nextStep: CalculatorTool, thread: Thread):... function agentLoop (line 89) | async function agentLoop(thread: Thread): Promise { FILE: packages/create-12-factor-agent/template/src/cli.ts function cliOuterLoop (line 10) | async function cliOuterLoop(message: string) { function cli (line 39) | async function cli() { function askHumanCLI (line 67) | async function askHumanCLI(lastEvent: Event): Promise { type Approval (line 95) | type Approval = { function messageCLI (line 101) | async function messageCLI(message: string): Promise { function approveCLI (line 115) | async function approveCLI(message: string): Promise { FILE: packages/create-12-factor-agent/template/src/index.ts function main (line 3) | async function main() { FILE: packages/create-12-factor-agent/template/src/server.ts type V1Beta3ConversationCreated (line 12) | type V1Beta3ConversationCreated = { type CompletedHumanContact (line 22) | type CompletedHumanContact = HumanContact & { type V1Veta3HumanContactCompleted (line 28) | type V1Veta3HumanContactCompleted = { type Approved (line 36) | type Approved = {status: {approved: true}} type Rejected (line 37) | type Rejected = {status: {approved: false; comment: string}} type CompletedFunctionCall (line 39) | type CompletedFunctionCall = FunctionCall & (Approved | Rejected) type V1Beta3FunctionCallCompleted (line 41) | type V1Beta3FunctionCallCompleted = { type V1Beta3Event (line 49) | type V1Beta3Event = V1Beta3ConversationCreated | V1Veta3HumanContactComp... FILE: packages/create-12-factor-agent/template/src/state.ts type ThreadStore (line 7) | interface ThreadStore { class FileSystemThreadStore (line 15) | class FileSystemThreadStore implements ThreadStore { method constructor (line 18) | constructor() { method create (line 22) | async create(thread: Thread): Promise { method get (line 34) | async get(id: string): Promise { method update (line 41) | async update(id: string, thread: Thread): Promise { FILE: packages/walkthroughgen/src/cli.ts type Section (line 7) | interface Section { type WalkthroughData (line 21) | interface WalkthroughData { function getSectionBaseName (line 39) | function getSectionBaseName(section: Section): string { function copySourceFiles (line 43) | function copySourceFiles(srcFile: string, projectRoot: string, sectionDi... function copyWorkingFile (line 51) | function copyWorkingFile(srcFile: string, destFile: string, sectionDir: ... function copyDirectory (line 58) | function copyDirectory(src: string, dest: string): void { function applyStepsToWorkingDir (line 75) | function applyStepsToWorkingDir( function generateSectionMarkdown (line 116) | function generateSectionMarkdown(section: Section): string { function formatMinimalDiff (line 148) | function formatMinimalDiff(filePath: string, oldContent: string, newCont... function generateRichSectionMarkdown (line 209) | function generateRichSectionMarkdown( FILE: packages/walkthroughgen/test/utils/temp-dir.ts function withTmpDir (line 8) | function withTmpDir(fn: (dir: string) => T): T { FILE: workshops/2025-05-17/sections/00-hello-world/walkthrough/00-index.ts function hello (line 1) | async function hello(): Promise { function main (line 5) | async function main() { FILE: workshops/2025-05-17/sections/01-cli-and-agent/src/index.ts function hello (line 1) | async function hello(): Promise { function main (line 5) | async function main() { FILE: workshops/2025-05-17/sections/01-cli-and-agent/walkthrough/01-agent.ts type AgentResponse (line 4) | type AgentResponse = Awaited>; type Event (line 6) | interface Event { class Thread (line 11) | class Thread { method constructor (line 14) | constructor(events: Event[]) { method serializeForLLM (line 18) | serializeForLLM() { function agentLoop (line 27) | async function agentLoop(thread: Thread): Promise { FILE: workshops/2025-05-17/sections/01-cli-and-agent/walkthrough/01-cli.ts function cli (line 5) | async function cli() { FILE: workshops/2025-05-17/sections/01-cli-and-agent/walkthrough/01-index.ts function hello (line 3) | async function hello(): Promise { function main (line 7) | async function main() { FILE: workshops/2025-05-17/sections/02-calculator-tools/src/agent.ts type AgentResponse (line 4) | type AgentResponse = Awaited>; type Event (line 6) | interface Event { class Thread (line 11) | class Thread { method constructor (line 14) | constructor(events: Event[]) { method serializeForLLM (line 18) | serializeForLLM() { function agentLoop (line 27) | async function agentLoop(thread: Thread): Promise { FILE: workshops/2025-05-17/sections/02-calculator-tools/src/cli.ts function cli (line 5) | async function cli() { FILE: workshops/2025-05-17/sections/02-calculator-tools/src/index.ts function hello (line 3) | async function hello(): Promise { function main (line 7) | async function main() { FILE: workshops/2025-05-17/sections/03-tool-loop/src/agent.ts type AgentResponse (line 4) | type AgentResponse = Awaited>; type Event (line 6) | interface Event { class Thread (line 11) | class Thread { method constructor (line 14) | constructor(events: Event[]) { method serializeForLLM (line 18) | serializeForLLM() { function agentLoop (line 27) | async function agentLoop(thread: Thread): Promise { FILE: workshops/2025-05-17/sections/03-tool-loop/src/cli.ts function cli (line 5) | async function cli() { FILE: workshops/2025-05-17/sections/03-tool-loop/src/index.ts function hello (line 3) | async function hello(): Promise { function main (line 7) | async function main() { FILE: workshops/2025-05-17/sections/03-tool-loop/walkthrough/03-agent.ts type AgentResponse (line 4) | type AgentResponse = Awaited>; type Event (line 6) | interface Event { class Thread (line 11) | class Thread { method constructor (line 14) | constructor(events: Event[]) { method serializeForLLM (line 18) | serializeForLLM() { function agentLoop (line 27) | async function agentLoop(thread: Thread): Promise { FILE: workshops/2025-05-17/sections/03-tool-loop/walkthrough/03b-agent.ts type Event (line 3) | interface Event { class Thread (line 8) | class Thread { method constructor (line 11) | constructor(events: Event[]) { method serializeForLLM (line 15) | serializeForLLM() { type CalculatorTool (line 22) | type CalculatorTool = AddTool | SubtractTool | MultiplyTool | DivideTool; function handleNextStep (line 24) | async function handleNextStep(nextStep: CalculatorTool, thread: Thread):... function agentLoop (line 62) | async function agentLoop(thread: Thread): Promise { FILE: workshops/2025-05-17/walkthrough/00-index.ts function hello (line 1) | async function hello(): Promise { function main (line 5) | async function main() { FILE: workshops/2025-05-17/walkthrough/01-agent.ts type AgentResponse (line 4) | type AgentResponse = Awaited>; type Event (line 6) | interface Event { class Thread (line 11) | class Thread { method constructor (line 14) | constructor(events: Event[]) { method serializeForLLM (line 18) | serializeForLLM() { function agentLoop (line 27) | async function agentLoop(thread: Thread): Promise { FILE: workshops/2025-05-17/walkthrough/01-cli.ts function cli (line 5) | async function cli() { FILE: workshops/2025-05-17/walkthrough/01-index.ts function hello (line 3) | async function hello(): Promise { function main (line 7) | async function main() { FILE: workshops/2025-05-17/walkthrough/03-agent.ts type AgentResponse (line 4) | type AgentResponse = Awaited>; type Event (line 6) | interface Event { class Thread (line 11) | class Thread { method constructor (line 14) | constructor(events: Event[]) { method serializeForLLM (line 18) | serializeForLLM() { function agentLoop (line 27) | async function agentLoop(thread: Thread): Promise { FILE: workshops/2025-05-17/walkthrough/03b-agent.ts type Event (line 3) | interface Event { class Thread (line 8) | class Thread { method constructor (line 11) | constructor(events: Event[]) { method serializeForLLM (line 15) | serializeForLLM() { type CalculatorTool (line 22) | type CalculatorTool = AddTool | SubtractTool | MultiplyTool | DivideTool; function handleNextStep (line 24) | async function handleNextStep(nextStep: CalculatorTool, thread: Thread):... function agentLoop (line 62) | async function agentLoop(thread: Thread): Promise { FILE: workshops/2025-05-17/walkthrough/05-agent.ts type Event (line 3) | interface Event { class Thread (line 8) | class Thread { method constructor (line 11) | constructor(events: Event[]) { method serializeForLLM (line 15) | serializeForLLM() { type CalculatorTool (line 22) | type CalculatorTool = AddTool | SubtractTool | MultiplyTool | DivideTool; function handleNextStep (line 24) | async function handleNextStep(nextStep: CalculatorTool, thread: Thread):... function agentLoop (line 62) | async function agentLoop(thread: Thread): Promise { FILE: workshops/2025-05-17/walkthrough/05-cli.ts function cli (line 7) | async function cli() { function askHuman (line 39) | async function askHuman(message: string) { FILE: workshops/2025-05-17/walkthrough/07-agent.ts type Event (line 3) | interface Event { class Thread (line 8) | class Thread { method constructor (line 11) | constructor(events: Event[]) { method serializeForLLM (line 15) | serializeForLLM() { type CalculatorTool (line 22) | type CalculatorTool = AddTool | SubtractTool | MultiplyTool | DivideTool; function handleNextStep (line 24) | async function handleNextStep(nextStep: CalculatorTool, thread: Thread):... function agentLoop (line 62) | async function agentLoop(thread: Thread): Promise { FILE: workshops/2025-05-17/walkthrough/07b-agent.ts type Event (line 3) | interface Event { class Thread (line 8) | class Thread { method constructor (line 11) | constructor(events: Event[]) { method serializeForLLM (line 15) | serializeForLLM() { method trimLeadingWhitespace (line 19) | trimLeadingWhitespace(s: string) { method serializeOneEvent (line 23) | serializeOneEvent(e: Event) { type CalculatorTool (line 34) | type CalculatorTool = AddTool | SubtractTool | MultiplyTool | DivideTool; function handleNextStep (line 36) | async function handleNextStep(nextStep: CalculatorTool, thread: Thread):... function agentLoop (line 74) | async function agentLoop(thread: Thread): Promise { FILE: workshops/2025-05-17/walkthrough/09-state.ts class ThreadStore (line 7) | class ThreadStore { method create (line 10) | create(thread: Thread): string { method get (line 16) | get(id: string): Thread | undefined { method update (line 20) | update(id: string, thread: Thread): void { FILE: workshops/2025-05-17/walkthrough/10-agent.ts type Event (line 3) | interface Event { class Thread (line 8) | class Thread { method constructor (line 11) | constructor(events: Event[]) { method serializeForLLM (line 15) | serializeForLLM() { method trimLeadingWhitespace (line 19) | trimLeadingWhitespace(s: string) { method serializeOneEvent (line 23) | serializeOneEvent(e: Event) { method awaitingHumanResponse (line 33) | awaitingHumanResponse(): boolean { method awaitingHumanApproval (line 38) | awaitingHumanApproval(): boolean { type CalculatorTool (line 44) | type CalculatorTool = AddTool | SubtractTool | MultiplyTool | DivideTool; function handleNextStep (line 46) | async function handleNextStep(nextStep: CalculatorTool, thread: Thread):... function agentLoop (line 84) | async function agentLoop(thread: Thread): Promise { FILE: workshops/2025-05-17/walkthrough/10-server.ts type ApprovalPayload (line 46) | type ApprovalPayload = { type ResponsePayload (line 52) | type ResponsePayload = { type Payload (line 57) | type Payload = ApprovalPayload | ResponsePayload; FILE: workshops/2025-05-17/walkthrough/11-cli.ts function cli (line 6) | async function cli() { function askHuman (line 38) | async function askHuman(lastEvent: Event): Promise { function askHumanCLI (line 46) | async function askHumanCLI(message: string): Promise { function askHumanEmail (line 59) | async function askHumanEmail(lastEvent: Event): Promise { FILE: workshops/2025-05-17/walkthrough/11b-cli.ts function cli (line 6) | async function cli() { function askHuman (line 38) | async function askHuman(lastEvent: Event): Promise { function askHumanCLI (line 46) | async function askHumanCLI(message: string): Promise { function askHumanEmail (line 59) | async function askHumanEmail(lastEvent: Event): Promise { FILE: workshops/2025-05-17/walkthrough/11c-cli.ts function cli (line 6) | async function cli() { function askHuman (line 38) | async function askHuman(lastEvent: Event): Promise { function askHumanCLI (line 46) | async function askHumanCLI(message: string): Promise { function askHumanEmail (line 59) | async function askHumanEmail(lastEvent: Event): Promise { FILE: workshops/2025-05-17/walkthrough/12-1-server-init.ts type ApprovalPayload (line 65) | type ApprovalPayload = { type ResponsePayload (line 71) | type ResponsePayload = { type Payload (line 76) | type Payload = ApprovalPayload | ResponsePayload; FILE: workshops/2025-05-17/walkthrough/12-server.ts type WebhookResponse (line 72) | type WebhookResponse = V1Beta2HumanContactCompleted; FILE: workshops/2025-05-17/walkthrough/12a-server.ts type WebhookResponse (line 71) | type WebhookResponse = V1Beta2HumanContactCompleted; FILE: workshops/2025-05-17/walkthrough/12aa-server.ts type WebhookResponse (line 72) | type WebhookResponse = V1Beta2HumanContactCompleted; FILE: workshops/2025-05-17/walkthrough/12b-server.ts type ApprovalPayload (line 47) | type ApprovalPayload = { type ResponsePayload (line 53) | type ResponsePayload = { type Payload (line 58) | type Payload = ApprovalPayload | ResponsePayload; type WebhookResponse (line 108) | type WebhookResponse = V1Beta2HumanContactCompleted; FILE: workshops/2025-05/final/src/agent.ts type Event (line 3) | interface Event { class Thread (line 8) | class Thread { method constructor (line 11) | constructor(events: Event[]) { method serializeForLLM (line 15) | serializeForLLM() { method trimLeadingWhitespace (line 19) | trimLeadingWhitespace(s: string) { method serializeOneEvent (line 23) | serializeOneEvent(e: Event) { method awaitingHumanResponse (line 33) | awaitingHumanResponse(): boolean { method awaitingHumanApproval (line 38) | awaitingHumanApproval(): boolean { type CalculatorTool (line 44) | type CalculatorTool = AddTool | SubtractTool | MultiplyTool | DivideTool; function handleNextStep (line 46) | async function handleNextStep(nextStep: CalculatorTool, thread: Thread):... function agentLoop (line 84) | async function agentLoop(thread: Thread): Promise { FILE: workshops/2025-05/final/src/cli.ts function cli (line 6) | async function cli() { function askHuman (line 38) | async function askHuman(lastEvent: Event): Promise { function askHumanCLI (line 46) | async function askHumanCLI(message: string): Promise { function askHumanEmail (line 59) | async function askHumanEmail(lastEvent: Event): Promise { FILE: workshops/2025-05/final/src/index.ts function hello (line 3) | async function hello(): Promise { function main (line 7) | async function main() { FILE: workshops/2025-05/final/src/server.ts type ApprovalPayload (line 46) | type ApprovalPayload = { type ResponsePayload (line 52) | type ResponsePayload = { type Payload (line 57) | type Payload = ApprovalPayload | ResponsePayload; FILE: workshops/2025-05/final/src/state.ts class ThreadStore (line 7) | class ThreadStore { method create (line 10) | create(thread: Thread): string { method get (line 16) | get(id: string): Thread | undefined { method update (line 20) | update(id: string, thread: Thread): void { FILE: workshops/2025-05/sections/00-hello-world/walkthrough/00-index.ts function hello (line 1) | async function hello(): Promise { function main (line 5) | async function main() { FILE: workshops/2025-05/sections/01-cli-and-agent/src/index.ts function hello (line 1) | async function hello(): Promise { function main (line 5) | async function main() { FILE: workshops/2025-05/sections/01-cli-and-agent/walkthrough/01-agent.ts type AgentResponse (line 4) | type AgentResponse = Awaited>; type Event (line 6) | interface Event { class Thread (line 11) | class Thread { method constructor (line 14) | constructor(events: Event[]) { method serializeForLLM (line 18) | serializeForLLM() { function agentLoop (line 27) | async function agentLoop(thread: Thread): Promise { FILE: workshops/2025-05/sections/01-cli-and-agent/walkthrough/01-cli.ts function cli (line 5) | async function cli() { FILE: workshops/2025-05/sections/01-cli-and-agent/walkthrough/01-index.ts function hello (line 3) | async function hello(): Promise { function main (line 7) | async function main() { FILE: workshops/2025-05/sections/02-calculator-tools/src/agent.ts type AgentResponse (line 4) | type AgentResponse = Awaited>; type Event (line 6) | interface Event { class Thread (line 11) | class Thread { method constructor (line 14) | constructor(events: Event[]) { method serializeForLLM (line 18) | serializeForLLM() { function agentLoop (line 27) | async function agentLoop(thread: Thread): Promise { FILE: workshops/2025-05/sections/02-calculator-tools/src/cli.ts function cli (line 5) | async function cli() { FILE: workshops/2025-05/sections/02-calculator-tools/src/index.ts function hello (line 3) | async function hello(): Promise { function main (line 7) | async function main() { FILE: workshops/2025-05/sections/03-tool-loop/src/agent.ts type AgentResponse (line 4) | type AgentResponse = Awaited>; type Event (line 6) | interface Event { class Thread (line 11) | class Thread { method constructor (line 14) | constructor(events: Event[]) { method serializeForLLM (line 18) | serializeForLLM() { function agentLoop (line 27) | async function agentLoop(thread: Thread): Promise { FILE: workshops/2025-05/sections/03-tool-loop/src/cli.ts function cli (line 5) | async function cli() { FILE: workshops/2025-05/sections/03-tool-loop/src/index.ts function hello (line 3) | async function hello(): Promise { function main (line 7) | async function main() { FILE: workshops/2025-05/sections/03-tool-loop/walkthrough/03-agent.ts type AgentResponse (line 4) | type AgentResponse = Awaited>; type Event (line 6) | interface Event { class Thread (line 11) | class Thread { method constructor (line 14) | constructor(events: Event[]) { method serializeForLLM (line 18) | serializeForLLM() { function agentLoop (line 27) | async function agentLoop(thread: Thread): Promise { FILE: workshops/2025-05/sections/03-tool-loop/walkthrough/03b-agent.ts type Event (line 3) | interface Event { class Thread (line 8) | class Thread { method constructor (line 11) | constructor(events: Event[]) { method serializeForLLM (line 15) | serializeForLLM() { type CalculatorTool (line 22) | type CalculatorTool = AddTool | SubtractTool | MultiplyTool | DivideTool; function handleNextStep (line 24) | async function handleNextStep(nextStep: CalculatorTool, thread: Thread):... function agentLoop (line 62) | async function agentLoop(thread: Thread): Promise { FILE: workshops/2025-05/sections/04-baml-tests/src/agent.ts type Event (line 3) | interface Event { class Thread (line 8) | class Thread { method constructor (line 11) | constructor(events: Event[]) { method serializeForLLM (line 15) | serializeForLLM() { type CalculatorTool (line 22) | type CalculatorTool = AddTool | SubtractTool | MultiplyTool | DivideTool; function handleNextStep (line 24) | async function handleNextStep(nextStep: CalculatorTool, thread: Thread):... function agentLoop (line 62) | async function agentLoop(thread: Thread): Promise { FILE: workshops/2025-05/sections/04-baml-tests/src/cli.ts function cli (line 5) | async function cli() { FILE: workshops/2025-05/sections/04-baml-tests/src/index.ts function hello (line 3) | async function hello(): Promise { function main (line 7) | async function main() { FILE: workshops/2025-05/sections/05-human-tools/src/agent.ts type Event (line 3) | interface Event { class Thread (line 8) | class Thread { method constructor (line 11) | constructor(events: Event[]) { method serializeForLLM (line 15) | serializeForLLM() { type CalculatorTool (line 22) | type CalculatorTool = AddTool | SubtractTool | MultiplyTool | DivideTool; function handleNextStep (line 24) | async function handleNextStep(nextStep: CalculatorTool, thread: Thread):... function agentLoop (line 62) | async function agentLoop(thread: Thread): Promise { FILE: workshops/2025-05/sections/05-human-tools/src/cli.ts function cli (line 5) | async function cli() { FILE: workshops/2025-05/sections/05-human-tools/src/index.ts function hello (line 3) | async function hello(): Promise { function main (line 7) | async function main() { FILE: workshops/2025-05/sections/05-human-tools/walkthrough/05-agent.ts type Event (line 3) | interface Event { class Thread (line 8) | class Thread { method constructor (line 11) | constructor(events: Event[]) { method serializeForLLM (line 15) | serializeForLLM() { type CalculatorTool (line 22) | type CalculatorTool = AddTool | SubtractTool | MultiplyTool | DivideTool; function handleNextStep (line 24) | async function handleNextStep(nextStep: CalculatorTool, thread: Thread):... function agentLoop (line 62) | async function agentLoop(thread: Thread): Promise { FILE: workshops/2025-05/sections/05-human-tools/walkthrough/05-cli.ts function cli (line 7) | async function cli() { function askHuman (line 39) | async function askHuman(message: string) { FILE: workshops/2025-05/sections/06-customize-prompt/src/agent.ts type Event (line 3) | interface Event { class Thread (line 8) | class Thread { method constructor (line 11) | constructor(events: Event[]) { method serializeForLLM (line 15) | serializeForLLM() { type CalculatorTool (line 22) | type CalculatorTool = AddTool | SubtractTool | MultiplyTool | DivideTool; function handleNextStep (line 24) | async function handleNextStep(nextStep: CalculatorTool, thread: Thread):... function agentLoop (line 62) | async function agentLoop(thread: Thread): Promise { FILE: workshops/2025-05/sections/06-customize-prompt/src/cli.ts function cli (line 7) | async function cli() { function askHuman (line 39) | async function askHuman(message: string) { FILE: workshops/2025-05/sections/06-customize-prompt/src/index.ts function hello (line 3) | async function hello(): Promise { function main (line 7) | async function main() { FILE: workshops/2025-05/sections/07-context-window/src/agent.ts type Event (line 3) | interface Event { class Thread (line 8) | class Thread { method constructor (line 11) | constructor(events: Event[]) { method serializeForLLM (line 15) | serializeForLLM() { type CalculatorTool (line 22) | type CalculatorTool = AddTool | SubtractTool | MultiplyTool | DivideTool; function handleNextStep (line 24) | async function handleNextStep(nextStep: CalculatorTool, thread: Thread):... function agentLoop (line 62) | async function agentLoop(thread: Thread): Promise { FILE: workshops/2025-05/sections/07-context-window/src/cli.ts function cli (line 7) | async function cli() { function askHuman (line 39) | async function askHuman(message: string) { FILE: workshops/2025-05/sections/07-context-window/src/index.ts function hello (line 3) | async function hello(): Promise { function main (line 7) | async function main() { FILE: workshops/2025-05/sections/07-context-window/walkthrough/07-agent.ts type Event (line 3) | interface Event { class Thread (line 8) | class Thread { method constructor (line 11) | constructor(events: Event[]) { method serializeForLLM (line 15) | serializeForLLM() { type CalculatorTool (line 22) | type CalculatorTool = AddTool | SubtractTool | MultiplyTool | DivideTool; function handleNextStep (line 24) | async function handleNextStep(nextStep: CalculatorTool, thread: Thread):... function agentLoop (line 62) | async function agentLoop(thread: Thread): Promise { FILE: workshops/2025-05/sections/07-context-window/walkthrough/07b-agent.ts type Event (line 3) | interface Event { class Thread (line 8) | class Thread { method constructor (line 11) | constructor(events: Event[]) { method serializeForLLM (line 15) | serializeForLLM() { method trimLeadingWhitespace (line 19) | trimLeadingWhitespace(s: string) { method serializeOneEvent (line 23) | serializeOneEvent(e: Event) { type CalculatorTool (line 34) | type CalculatorTool = AddTool | SubtractTool | MultiplyTool | DivideTool; function handleNextStep (line 36) | async function handleNextStep(nextStep: CalculatorTool, thread: Thread):... function agentLoop (line 74) | async function agentLoop(thread: Thread): Promise { FILE: workshops/2025-05/sections/08-api-endpoints/src/agent.ts type Event (line 3) | interface Event { class Thread (line 8) | class Thread { method constructor (line 11) | constructor(events: Event[]) { method serializeForLLM (line 15) | serializeForLLM() { method trimLeadingWhitespace (line 19) | trimLeadingWhitespace(s: string) { method serializeOneEvent (line 23) | serializeOneEvent(e: Event) { type CalculatorTool (line 34) | type CalculatorTool = AddTool | SubtractTool | MultiplyTool | DivideTool; function handleNextStep (line 36) | async function handleNextStep(nextStep: CalculatorTool, thread: Thread):... function agentLoop (line 74) | async function agentLoop(thread: Thread): Promise { FILE: workshops/2025-05/sections/08-api-endpoints/src/cli.ts function cli (line 7) | async function cli() { function askHuman (line 39) | async function askHuman(message: string) { FILE: workshops/2025-05/sections/08-api-endpoints/src/index.ts function hello (line 3) | async function hello(): Promise { function main (line 7) | async function main() { FILE: workshops/2025-05/sections/09-state-management/src/agent.ts type Event (line 3) | interface Event { class Thread (line 8) | class Thread { method constructor (line 11) | constructor(events: Event[]) { method serializeForLLM (line 15) | serializeForLLM() { method trimLeadingWhitespace (line 19) | trimLeadingWhitespace(s: string) { method serializeOneEvent (line 23) | serializeOneEvent(e: Event) { type CalculatorTool (line 34) | type CalculatorTool = AddTool | SubtractTool | MultiplyTool | DivideTool; function handleNextStep (line 36) | async function handleNextStep(nextStep: CalculatorTool, thread: Thread):... function agentLoop (line 74) | async function agentLoop(thread: Thread): Promise { FILE: workshops/2025-05/sections/09-state-management/src/cli.ts function cli (line 7) | async function cli() { function askHuman (line 39) | async function askHuman(message: string) { FILE: workshops/2025-05/sections/09-state-management/src/index.ts function hello (line 3) | async function hello(): Promise { function main (line 7) | async function main() { FILE: workshops/2025-05/sections/09-state-management/walkthrough/09-state.ts class ThreadStore (line 7) | class ThreadStore { method create (line 10) | create(thread: Thread): string { method get (line 16) | get(id: string): Thread | undefined { method update (line 20) | update(id: string, thread: Thread): void { FILE: workshops/2025-05/sections/10-human-approval/src/agent.ts type Event (line 3) | interface Event { class Thread (line 8) | class Thread { method constructor (line 11) | constructor(events: Event[]) { method serializeForLLM (line 15) | serializeForLLM() { method trimLeadingWhitespace (line 19) | trimLeadingWhitespace(s: string) { method serializeOneEvent (line 23) | serializeOneEvent(e: Event) { type CalculatorTool (line 34) | type CalculatorTool = AddTool | SubtractTool | MultiplyTool | DivideTool; function handleNextStep (line 36) | async function handleNextStep(nextStep: CalculatorTool, thread: Thread):... function agentLoop (line 74) | async function agentLoop(thread: Thread): Promise { FILE: workshops/2025-05/sections/10-human-approval/src/cli.ts function cli (line 7) | async function cli() { function askHuman (line 39) | async function askHuman(message: string) { FILE: workshops/2025-05/sections/10-human-approval/src/index.ts function hello (line 3) | async function hello(): Promise { function main (line 7) | async function main() { FILE: workshops/2025-05/sections/10-human-approval/src/state.ts class ThreadStore (line 7) | class ThreadStore { method create (line 10) | create(thread: Thread): string { method get (line 16) | get(id: string): Thread | undefined { method update (line 20) | update(id: string, thread: Thread): void { FILE: workshops/2025-05/sections/10-human-approval/walkthrough/10-agent.ts type Event (line 3) | interface Event { class Thread (line 8) | class Thread { method constructor (line 11) | constructor(events: Event[]) { method serializeForLLM (line 15) | serializeForLLM() { method trimLeadingWhitespace (line 19) | trimLeadingWhitespace(s: string) { method serializeOneEvent (line 23) | serializeOneEvent(e: Event) { method awaitingHumanResponse (line 33) | awaitingHumanResponse(): boolean { method awaitingHumanApproval (line 38) | awaitingHumanApproval(): boolean { type CalculatorTool (line 44) | type CalculatorTool = AddTool | SubtractTool | MultiplyTool | DivideTool; function handleNextStep (line 46) | async function handleNextStep(nextStep: CalculatorTool, thread: Thread):... function agentLoop (line 84) | async function agentLoop(thread: Thread): Promise { FILE: workshops/2025-05/sections/10-human-approval/walkthrough/10-server.ts type ApprovalPayload (line 46) | type ApprovalPayload = { type ResponsePayload (line 52) | type ResponsePayload = { type Payload (line 57) | type Payload = ApprovalPayload | ResponsePayload; FILE: workshops/2025-05/sections/11-humanlayer-approval/src/agent.ts type Event (line 3) | interface Event { class Thread (line 8) | class Thread { method constructor (line 11) | constructor(events: Event[]) { method serializeForLLM (line 15) | serializeForLLM() { method trimLeadingWhitespace (line 19) | trimLeadingWhitespace(s: string) { method serializeOneEvent (line 23) | serializeOneEvent(e: Event) { method awaitingHumanResponse (line 33) | awaitingHumanResponse(): boolean { method awaitingHumanApproval (line 38) | awaitingHumanApproval(): boolean { type CalculatorTool (line 44) | type CalculatorTool = AddTool | SubtractTool | MultiplyTool | DivideTool; function handleNextStep (line 46) | async function handleNextStep(nextStep: CalculatorTool, thread: Thread):... function agentLoop (line 84) | async function agentLoop(thread: Thread): Promise { FILE: workshops/2025-05/sections/11-humanlayer-approval/src/cli.ts function cli (line 7) | async function cli() { function askHuman (line 39) | async function askHuman(message: string) { FILE: workshops/2025-05/sections/11-humanlayer-approval/src/index.ts function hello (line 3) | async function hello(): Promise { function main (line 7) | async function main() { FILE: workshops/2025-05/sections/11-humanlayer-approval/src/server.ts type ApprovalPayload (line 46) | type ApprovalPayload = { type ResponsePayload (line 52) | type ResponsePayload = { type Payload (line 57) | type Payload = ApprovalPayload | ResponsePayload; FILE: workshops/2025-05/sections/11-humanlayer-approval/src/state.ts class ThreadStore (line 7) | class ThreadStore { method create (line 10) | create(thread: Thread): string { method get (line 16) | get(id: string): Thread | undefined { method update (line 20) | update(id: string, thread: Thread): void { FILE: workshops/2025-05/sections/11-humanlayer-approval/walkthrough/11-cli.ts function cli (line 6) | async function cli() { function askHuman (line 38) | async function askHuman(lastEvent: Event): Promise { function askHumanCLI (line 46) | async function askHumanCLI(message: string): Promise { function askHumanEmail (line 59) | async function askHumanEmail(lastEvent: Event): Promise { FILE: workshops/2025-05/sections/11-humanlayer-approval/walkthrough/11b-cli.ts function cli (line 6) | async function cli() { function askHuman (line 38) | async function askHuman(lastEvent: Event): Promise { function askHumanCLI (line 46) | async function askHumanCLI(message: string): Promise { function askHumanEmail (line 59) | async function askHumanEmail(lastEvent: Event): Promise { FILE: workshops/2025-05/sections/11-humanlayer-approval/walkthrough/11c-cli.ts function cli (line 6) | async function cli() { function askHuman (line 38) | async function askHuman(lastEvent: Event): Promise { function askHumanCLI (line 46) | async function askHumanCLI(message: string): Promise { function askHumanEmail (line 59) | async function askHumanEmail(lastEvent: Event): Promise { FILE: workshops/2025-05/sections/12-humanlayer-webhook/src/agent.ts type Event (line 3) | interface Event { class Thread (line 8) | class Thread { method constructor (line 11) | constructor(events: Event[]) { method serializeForLLM (line 15) | serializeForLLM() { method trimLeadingWhitespace (line 19) | trimLeadingWhitespace(s: string) { method serializeOneEvent (line 23) | serializeOneEvent(e: Event) { method awaitingHumanResponse (line 33) | awaitingHumanResponse(): boolean { method awaitingHumanApproval (line 38) | awaitingHumanApproval(): boolean { type CalculatorTool (line 44) | type CalculatorTool = AddTool | SubtractTool | MultiplyTool | DivideTool; function handleNextStep (line 46) | async function handleNextStep(nextStep: CalculatorTool, thread: Thread):... function agentLoop (line 84) | async function agentLoop(thread: Thread): Promise { FILE: workshops/2025-05/sections/12-humanlayer-webhook/src/cli.ts function cli (line 6) | async function cli() { function askHuman (line 38) | async function askHuman(lastEvent: Event): Promise { function askHumanCLI (line 46) | async function askHumanCLI(message: string): Promise { function askHumanEmail (line 59) | async function askHumanEmail(lastEvent: Event): Promise { FILE: workshops/2025-05/sections/12-humanlayer-webhook/src/index.ts function hello (line 3) | async function hello(): Promise { function main (line 7) | async function main() { FILE: workshops/2025-05/sections/12-humanlayer-webhook/src/server.ts type ApprovalPayload (line 46) | type ApprovalPayload = { type ResponsePayload (line 52) | type ResponsePayload = { type Payload (line 57) | type Payload = ApprovalPayload | ResponsePayload; FILE: workshops/2025-05/sections/12-humanlayer-webhook/src/state.ts class ThreadStore (line 7) | class ThreadStore { method create (line 10) | create(thread: Thread): string { method get (line 16) | get(id: string): Thread | undefined { method update (line 20) | update(id: string, thread: Thread): void { FILE: workshops/2025-05/sections/12-humanlayer-webhook/walkthrough/12-1-server-init.ts type ApprovalPayload (line 65) | type ApprovalPayload = { type ResponsePayload (line 71) | type ResponsePayload = { type Payload (line 76) | type Payload = ApprovalPayload | ResponsePayload; FILE: workshops/2025-05/sections/12-humanlayer-webhook/walkthrough/12a-server.ts type WebhookResponse (line 71) | type WebhookResponse = V1Beta2HumanContactCompleted; FILE: workshops/2025-05/sections/final/src/agent.ts type Event (line 3) | interface Event { class Thread (line 8) | class Thread { method constructor (line 11) | constructor(events: Event[]) { method serializeForLLM (line 15) | serializeForLLM() { method trimLeadingWhitespace (line 19) | trimLeadingWhitespace(s: string) { method serializeOneEvent (line 23) | serializeOneEvent(e: Event) { method awaitingHumanResponse (line 33) | awaitingHumanResponse(): boolean { method awaitingHumanApproval (line 38) | awaitingHumanApproval(): boolean { type CalculatorTool (line 44) | type CalculatorTool = AddTool | SubtractTool | MultiplyTool | DivideTool; function handleNextStep (line 46) | async function handleNextStep(nextStep: CalculatorTool, thread: Thread):... function agentLoop (line 84) | async function agentLoop(thread: Thread): Promise { FILE: workshops/2025-05/sections/final/src/cli.ts function cli (line 6) | async function cli() { function askHuman (line 38) | async function askHuman(lastEvent: Event): Promise { function askHumanCLI (line 46) | async function askHumanCLI(message: string): Promise { function askHumanEmail (line 59) | async function askHumanEmail(lastEvent: Event): Promise { FILE: workshops/2025-05/sections/final/src/index.ts function hello (line 3) | async function hello(): Promise { function main (line 7) | async function main() { FILE: workshops/2025-05/sections/final/src/server.ts type WebhookResponse (line 71) | type WebhookResponse = V1Beta2HumanContactCompleted; FILE: workshops/2025-05/sections/final/src/state.ts class ThreadStore (line 7) | class ThreadStore { method create (line 10) | create(thread: Thread): string { method get (line 16) | get(id: string): Thread | undefined { method update (line 20) | update(id: string, thread: Thread): void { FILE: workshops/2025-05/walkthrough/00-index.ts function hello (line 1) | async function hello(): Promise { function main (line 5) | async function main() { FILE: workshops/2025-05/walkthrough/01-agent.ts type AgentResponse (line 4) | type AgentResponse = Awaited>; type Event (line 6) | interface Event { class Thread (line 11) | class Thread { method constructor (line 14) | constructor(events: Event[]) { method serializeForLLM (line 18) | serializeForLLM() { function agentLoop (line 27) | async function agentLoop(thread: Thread): Promise { FILE: workshops/2025-05/walkthrough/01-cli.ts function cli (line 5) | async function cli() { FILE: workshops/2025-05/walkthrough/01-index.ts function hello (line 3) | async function hello(): Promise { function main (line 7) | async function main() { FILE: workshops/2025-05/walkthrough/03-agent.ts type AgentResponse (line 4) | type AgentResponse = Awaited>; type Event (line 6) | interface Event { class Thread (line 11) | class Thread { method constructor (line 14) | constructor(events: Event[]) { method serializeForLLM (line 18) | serializeForLLM() { function agentLoop (line 27) | async function agentLoop(thread: Thread): Promise { FILE: workshops/2025-05/walkthrough/03b-agent.ts type Event (line 3) | interface Event { class Thread (line 8) | class Thread { method constructor (line 11) | constructor(events: Event[]) { method serializeForLLM (line 15) | serializeForLLM() { type CalculatorTool (line 22) | type CalculatorTool = AddTool | SubtractTool | MultiplyTool | DivideTool; function handleNextStep (line 24) | async function handleNextStep(nextStep: CalculatorTool, thread: Thread):... function agentLoop (line 62) | async function agentLoop(thread: Thread): Promise { FILE: workshops/2025-05/walkthrough/05-agent.ts type Event (line 3) | interface Event { class Thread (line 8) | class Thread { method constructor (line 11) | constructor(events: Event[]) { method serializeForLLM (line 15) | serializeForLLM() { type CalculatorTool (line 22) | type CalculatorTool = AddTool | SubtractTool | MultiplyTool | DivideTool; function handleNextStep (line 24) | async function handleNextStep(nextStep: CalculatorTool, thread: Thread):... function agentLoop (line 62) | async function agentLoop(thread: Thread): Promise { FILE: workshops/2025-05/walkthrough/05-cli.ts function cli (line 7) | async function cli() { function askHuman (line 39) | async function askHuman(message: string) { FILE: workshops/2025-05/walkthrough/07-agent.ts type Event (line 3) | interface Event { class Thread (line 8) | class Thread { method constructor (line 11) | constructor(events: Event[]) { method serializeForLLM (line 15) | serializeForLLM() { type CalculatorTool (line 22) | type CalculatorTool = AddTool | SubtractTool | MultiplyTool | DivideTool; function handleNextStep (line 24) | async function handleNextStep(nextStep: CalculatorTool, thread: Thread):... function agentLoop (line 62) | async function agentLoop(thread: Thread): Promise { FILE: workshops/2025-05/walkthrough/07b-agent.ts type Event (line 3) | interface Event { class Thread (line 8) | class Thread { method constructor (line 11) | constructor(events: Event[]) { method serializeForLLM (line 15) | serializeForLLM() { method trimLeadingWhitespace (line 19) | trimLeadingWhitespace(s: string) { method serializeOneEvent (line 23) | serializeOneEvent(e: Event) { type CalculatorTool (line 34) | type CalculatorTool = AddTool | SubtractTool | MultiplyTool | DivideTool; function handleNextStep (line 36) | async function handleNextStep(nextStep: CalculatorTool, thread: Thread):... function agentLoop (line 74) | async function agentLoop(thread: Thread): Promise { FILE: workshops/2025-05/walkthrough/09-state.ts class ThreadStore (line 7) | class ThreadStore { method create (line 10) | create(thread: Thread): string { method get (line 16) | get(id: string): Thread | undefined { method update (line 20) | update(id: string, thread: Thread): void { FILE: workshops/2025-05/walkthrough/10-agent.ts type Event (line 3) | interface Event { class Thread (line 8) | class Thread { method constructor (line 11) | constructor(events: Event[]) { method serializeForLLM (line 15) | serializeForLLM() { method trimLeadingWhitespace (line 19) | trimLeadingWhitespace(s: string) { method serializeOneEvent (line 23) | serializeOneEvent(e: Event) { method awaitingHumanResponse (line 33) | awaitingHumanResponse(): boolean { method awaitingHumanApproval (line 38) | awaitingHumanApproval(): boolean { type CalculatorTool (line 44) | type CalculatorTool = AddTool | SubtractTool | MultiplyTool | DivideTool; function handleNextStep (line 46) | async function handleNextStep(nextStep: CalculatorTool, thread: Thread):... function agentLoop (line 84) | async function agentLoop(thread: Thread): Promise { FILE: workshops/2025-05/walkthrough/10-server.ts type ApprovalPayload (line 46) | type ApprovalPayload = { type ResponsePayload (line 52) | type ResponsePayload = { type Payload (line 57) | type Payload = ApprovalPayload | ResponsePayload; FILE: workshops/2025-05/walkthrough/11-cli.ts function cli (line 6) | async function cli() { function askHuman (line 38) | async function askHuman(lastEvent: Event): Promise { function askHumanCLI (line 46) | async function askHumanCLI(message: string): Promise { function askHumanEmail (line 59) | async function askHumanEmail(lastEvent: Event): Promise { FILE: workshops/2025-05/walkthrough/11b-cli.ts function cli (line 6) | async function cli() { function askHuman (line 38) | async function askHuman(lastEvent: Event): Promise { function askHumanCLI (line 46) | async function askHumanCLI(message: string): Promise { function askHumanEmail (line 59) | async function askHumanEmail(lastEvent: Event): Promise { FILE: workshops/2025-05/walkthrough/11c-cli.ts function cli (line 6) | async function cli() { function askHuman (line 38) | async function askHuman(lastEvent: Event): Promise { function askHumanCLI (line 46) | async function askHumanCLI(message: string): Promise { function askHumanEmail (line 59) | async function askHumanEmail(lastEvent: Event): Promise { FILE: workshops/2025-05/walkthrough/12-1-server-init.ts type ApprovalPayload (line 65) | type ApprovalPayload = { type ResponsePayload (line 71) | type ResponsePayload = { type Payload (line 76) | type Payload = ApprovalPayload | ResponsePayload; FILE: workshops/2025-05/walkthrough/12-server.ts type WebhookResponse (line 72) | type WebhookResponse = V1Beta2HumanContactCompleted; FILE: workshops/2025-05/walkthrough/12a-server.ts type WebhookResponse (line 71) | type WebhookResponse = V1Beta2HumanContactCompleted; FILE: workshops/2025-05/walkthrough/12aa-server.ts type WebhookResponse (line 72) | type WebhookResponse = V1Beta2HumanContactCompleted; FILE: workshops/2025-05/walkthrough/12b-server.ts type ApprovalPayload (line 47) | type ApprovalPayload = { type ResponsePayload (line 53) | type ResponsePayload = { type Payload (line 58) | type Payload = ApprovalPayload | ResponsePayload; type WebhookResponse (line 108) | type WebhookResponse = V1Beta2HumanContactCompleted; FILE: workshops/2025-07-16/hack/analyze_log_capture.py function check_logs (line 9) | def check_logs(notebook_path): function main (line 50) | def main(): FILE: workshops/2025-07-16/hack/inspect_notebook.py function inspect_notebook (line 9) | def inspect_notebook(notebook_path, filter_keyword=None): function main (line 76) | def main(): FILE: workshops/2025-07-16/walkthrough/00-main.py function hello (line 1) | def hello(): function main (line 4) | def main(): FILE: workshops/2025-07-16/walkthrough/01-agent.py class Event (line 7) | class Event: method __init__ (line 8) | def __init__(self, type: str, data: Any): class Thread (line 12) | class Thread: method __init__ (line 13) | def __init__(self, events: List[Dict[str, Any]]): method serialize_for_llm (line 16) | def serialize_for_llm(self): function agent_loop (line 23) | def agent_loop(thread: Thread) -> AgentResponse: FILE: workshops/2025-07-16/walkthrough/01-main.py function main (line 1) | def main(message="hello from the notebook!"): FILE: workshops/2025-07-16/walkthrough/02-main.py function main (line 1) | def main(message="hello from the notebook!"): FILE: workshops/2025-07-16/walkthrough/03-agent.py class Thread (line 4) | class Thread: method __init__ (line 5) | def __init__(self, events: List[Dict[str, Any]]): method serialize_for_llm (line 8) | def serialize_for_llm(self): function agent_loop (line 14) | def agent_loop(thread: Thread) -> str: FILE: workshops/2025-07-16/walkthrough/03-main.py function main (line 1) | def main(message="hello from the notebook!"): FILE: workshops/2025-07-16/walkthrough/03b-agent.py class Thread (line 4) | class Thread: method __init__ (line 5) | def __init__(self, events: List[Dict[str, Any]]): method serialize_for_llm (line 8) | def serialize_for_llm(self): function handle_next_step (line 13) | def handle_next_step(next_step, thread: Thread) -> Thread: function agent_loop (line 49) | def agent_loop(thread: Thread) -> str: FILE: workshops/2025-07-16/walkthrough/03b-agent.ts type Event (line 3) | interface Event { class Thread (line 8) | class Thread { method constructor (line 11) | constructor(events: Event[]) { method serializeForLLM (line 15) | serializeForLLM() { type CalculatorTool (line 22) | type CalculatorTool = AddTool | SubtractTool | MultiplyTool | DivideTool; function handleNextStep (line 24) | async function handleNextStep(nextStep: CalculatorTool, thread: Thread):... function agentLoop (line 62) | async function agentLoop(thread: Thread): Promise { FILE: workshops/2025-07-16/walkthrough/05-agent.py function agent_loop (line 4) | def agent_loop(thread, clarification_handler, max_iterations=3): class Thread (line 74) | class Thread: method __init__ (line 76) | def __init__(self, events): FILE: workshops/2025-07-16/walkthrough/05-main.py function get_human_input (line 1) | def get_human_input(prompt): function main (line 15) | def main(message="hello from the notebook!"): FILE: workshops/2025-07-16/walkthrough/07-agent.py class Thread (line 4) | class Thread: method __init__ (line 6) | def __init__(self, events): method serialize_as_json (line 9) | def serialize_as_json(self): method serialize_as_xml (line 13) | def serialize_as_xml(self): function agent_loop (line 38) | def agent_loop(thread, clarification_handler, use_xml=True): FILE: workshops/2025-07-16/walkthrough/07-main.py function main (line 1) | def main(message="hello from the notebook!", use_xml=True): FILE: workshops/2025-07-16/walkthrough/07b-agent.ts type Event (line 3) | interface Event { class Thread (line 8) | class Thread { method constructor (line 11) | constructor(events: Event[]) { method serializeForLLM (line 15) | serializeForLLM() { method trimLeadingWhitespace (line 19) | trimLeadingWhitespace(s: string) { method serializeOneEvent (line 23) | serializeOneEvent(e: Event) { type CalculatorTool (line 34) | type CalculatorTool = AddTool | SubtractTool | MultiplyTool | DivideTool; function handleNextStep (line 36) | async function handleNextStep(nextStep: CalculatorTool, thread: Thread):... function agentLoop (line 74) | async function agentLoop(thread: Thread): Promise { FILE: workshops/2025-07-16/walkthrough/09-state.ts class ThreadStore (line 7) | class ThreadStore { method create (line 10) | create(thread: Thread): string { method get (line 16) | get(id: string): Thread | undefined { method update (line 20) | update(id: string, thread: Thread): void { FILE: workshops/2025-07-16/walkthrough/10-agent.ts type Event (line 3) | interface Event { class Thread (line 8) | class Thread { method constructor (line 11) | constructor(events: Event[]) { method serializeForLLM (line 15) | serializeForLLM() { method trimLeadingWhitespace (line 19) | trimLeadingWhitespace(s: string) { method serializeOneEvent (line 23) | serializeOneEvent(e: Event) { method awaitingHumanResponse (line 33) | awaitingHumanResponse(): boolean { method awaitingHumanApproval (line 38) | awaitingHumanApproval(): boolean { type CalculatorTool (line 44) | type CalculatorTool = AddTool | SubtractTool | MultiplyTool | DivideTool; function handleNextStep (line 46) | async function handleNextStep(nextStep: CalculatorTool, thread: Thread):... function agentLoop (line 84) | async function agentLoop(thread: Thread): Promise { FILE: workshops/2025-07-16/walkthrough/10-server.ts type ApprovalPayload (line 46) | type ApprovalPayload = { type ResponsePayload (line 52) | type ResponsePayload = { type Payload (line 57) | type Payload = ApprovalPayload | ResponsePayload; FILE: workshops/2025-07-16/walkthrough/11-cli.ts function cli (line 6) | async function cli() { function askHuman (line 38) | async function askHuman(lastEvent: Event): Promise { function askHumanCLI (line 46) | async function askHumanCLI(message: string): Promise { function askHumanEmail (line 59) | async function askHumanEmail(lastEvent: Event): Promise { FILE: workshops/2025-07-16/walkthrough/11b-cli.ts function cli (line 6) | async function cli() { function askHuman (line 38) | async function askHuman(lastEvent: Event): Promise { function askHumanCLI (line 46) | async function askHumanCLI(message: string): Promise { function askHumanEmail (line 59) | async function askHumanEmail(lastEvent: Event): Promise { FILE: workshops/2025-07-16/walkthrough/11c-cli.ts function cli (line 6) | async function cli() { function askHuman (line 38) | async function askHuman(lastEvent: Event): Promise { function askHumanCLI (line 46) | async function askHumanCLI(message: string): Promise { function askHumanEmail (line 59) | async function askHumanEmail(lastEvent: Event): Promise { FILE: workshops/2025-07-16/walkthrough/12-1-server-init.ts type ApprovalPayload (line 65) | type ApprovalPayload = { type ResponsePayload (line 71) | type ResponsePayload = { type Payload (line 76) | type Payload = ApprovalPayload | ResponsePayload; FILE: workshops/2025-07-16/walkthrough/12-server.ts type WebhookResponse (line 72) | type WebhookResponse = V1Beta2HumanContactCompleted; FILE: workshops/2025-07-16/walkthrough/12a-server.ts type WebhookResponse (line 71) | type WebhookResponse = V1Beta2HumanContactCompleted; FILE: workshops/2025-07-16/walkthrough/12aa-server.ts type WebhookResponse (line 72) | type WebhookResponse = V1Beta2HumanContactCompleted; FILE: workshops/2025-07-16/walkthrough/12b-server.ts type ApprovalPayload (line 47) | type ApprovalPayload = { type ResponsePayload (line 53) | type ResponsePayload = { type Payload (line 58) | type Payload = ApprovalPayload | ResponsePayload; type WebhookResponse (line 108) | type WebhookResponse = V1Beta2HumanContactCompleted; FILE: workshops/2025-07-16/walkthroughgen_py.py function create_baml_setup_cells (line 12) | def create_baml_setup_cells(nb): function process_step (line 87) | def process_step(nb, step, base_path, current_functions, section_name=No... function convert_walkthrough_to_notebook (line 170) | def convert_walkthrough_to_notebook(yaml_path, output_path): function main (line 211) | def main():