MCPcopy Create free account

hub / github.com/anthropics/cwc-workshops / functions

Functions761 in github.com/anthropics/cwc-workshops

↓ 1 callersFunctiondrainUntilIdle
( client: Anthropic, sessionId: string, options: { kickoff?: () => Promise<void>; onEvent?: (eve
research-desk/solutions/src/lib/sessions.ts:87
↓ 1 callersFunctiondrainUntilIdle
( client: Anthropic, sessionId: string, options: { kickoff?: () => Promise<void>; onEvent?: (eve
research-desk/src/lib/sessions.ts:93
↓ 1 callersMethodensureHeadSession
The head conversation is durable: reuse the saved session when it is still alive.
research-desk/solutions/src/lib/orchestrator.ts:45
↓ 1 callersFunctionensure_env
(c: anthropic.Anthropic, name: str, ids: dict)
agent-decomposition/agents/cma.py:130
↓ 1 callersFunctionescape
(value: string | number | boolean)
research-desk/src/lib/scorecard.ts:137
↓ 1 callersFunctionexact_match
(result, spec)
agent-decomposition/evals/graders.py:96
↓ 1 callersFunctionextractSlideTexts
(index: number, doc: unknown)
eval-driven-agent-development/src/parse-pptx.ts:264
↓ 1 callersMethodfinal
(self)
agent-battle/harness/leaderboard.py:149
↓ 1 callersFunctionfindContractRoot
(root: HTMLElement)
how-we-claude-code/phase-3-verify/src/verify/core/contract.ts:59
↓ 1 callersMethodfromElement
(el: Element)
how-we-claude-code/phase-3-verify/src/verify/harness/recorder.ts:35
↓ 1 callersMethodfrom_dict
(cls, d: dict)
agent-battle/harness/client.py:86
↓ 1 callersFunctiongenId
()
how-we-claude-code/phase-3-verify/src/features/todos/useTodos.ts:8
↓ 1 callersFunctiongen_products
(n: int = 250)
agent-decomposition/data/seed.py:131
↓ 1 callersFunctiongen_sales_history
(products: list[dict], days: int = 90)
agent-decomposition/data/seed.py:183
↓ 1 callersFunctiongen_stock_levels
SKU × warehouse × day. ~250 × 3 × 90 ≈ 67k rows.
agent-decomposition/data/seed.py:207
↓ 1 callersFunctiongen_supplier_catalog
(products: list[dict], suppliers: list[dict])
agent-decomposition/data/seed.py:169
↓ 1 callersFunctiongen_suppliers
()
agent-decomposition/data/seed.py:157
↓ 1 callersMethodgetNarrations
({ since = 0, limit = 200 } = {})
agent-battle/event/lib/board.mjs:289
↓ 1 callersFunctiongetUnit
(id: string)
how-we-claude-code/phase-3-verify/src/verify/core/registry.ts:32
↓ 1 callersFunctionget_or_create
Idempotent: one agent + environment per participant, reused across runs. IDs and a hash of the spec are cached in .agent_cache.json so re-runs
agent-battle/my_agent.py:378
↓ 1 callersFunctionget_supplier_catalog
(sku: str)
agent-decomposition/agents/sandbox_tools.py:127
↓ 1 callersFunctionget_supplier_catalog
(sku: str)
agent-decomposition/agents/before/tools.py:81
↓ 1 callersFunctiongrade
(task: dict, result)
agent-decomposition/evals/graders.py:247
↓ 1 callersMethodgrade
Compute the metric. String results are printed verbatim; numbers go through `format`.
eval-driven-agent-development/src/graders/types.ts:24
↓ 1 callersFunctiongradeTask
( client: Anthropic, task: Task, pinBaseline: boolean, )
eval-driven-agent-development/src/eval-runner.ts:72
↓ 1 callersFunctionhandle
(name, args)
ship-your-first-managed-agent/e2e.py:41
↓ 1 callersMethodhandleBacklog
(client: Anthropic, headSessionId: string)
research-desk/solutions/src/lib/orchestrator.ts:132
↓ 1 callersMethodhandleBacklog
(client: Anthropic, headSessionId: string)
research-desk/src/lib/orchestrator.ts:132
↓ 1 callersFunctionhandle_tool
(name: str, args: dict)
ship-your-first-managed-agent/agent_complete.py:70
↓ 1 callersFunctionhealthy_request
A single normal request: start + end log lines.
ship-your-first-managed-agent/data/generate_log.py:54
↓ 1 callersFunctionheat
* Map a value within [min, max] to a red→yellow→green RGB color. `good: "low"` * flips the spectrum so smaller is greener.
eval-driven-agent-development/src/eval-runner.ts:138
↓ 1 callersFunctioninject_style
()
ship-your-first-managed-agent/ui.py:10
↓ 1 callersFunctioninputLabel
(el: HTMLInputElement, root: HTMLElement)
how-we-claude-code/phase-3-verify/src/verify/verifiers/a11y.ts:100
↓ 1 callersFunctioninstallVerifyHandle
()
how-we-claude-code/phase-3-verify/src/verify/harness/handle.ts:26
↓ 1 callersMethodisConnected
(key)
agent-battle/event/lib/relay.mjs:213
↓ 1 callersFunctionisHelloProvisioned
(config: DeskConfig)
research-desk/src/lib/config.ts:77
↓ 1 callersMethodisKnown
(key)
agent-battle/event/lib/relay.mjs:221
↓ 1 callersFunctionisPrivateOrLocalAddr
(addr)
agent-battle/event/server.mjs:122
↓ 1 callersFunctionisProvisioned
(config: DeskConfig)
research-desk/src/lib/config.ts:70
↓ 1 callersFunctioniso
(ts: datetime)
ship-your-first-managed-agent/data/generate_log.py:44
↓ 1 callersFunctionjudgeSlideImage
( client: Anthropic, index: number, jpgPath: string, )
eval-driven-agent-development/src/graders/judge/judge.ts:61
↓ 1 callersFunctionjumpTo
Jump to a specific step. Pauses (so it mounts, verifies, and holds).
how-we-claude-code/phase-3-verify/src/verify/harness/ReplayPage.tsx:239
↓ 1 callersFunctionkeysEqual
(a, b)
agent-battle/event/lib/relay.mjs:35
↓ 1 callersMethodleaderboard
()
agent-battle/event/lib/board.mjs:294
↓ 1 callersFunctionlistDeploymentRuns
(query: Record<string, string> = {})
research-desk/src/lib/preview.ts:53
↓ 1 callersFunctionlistDeployments
(query: Record<string, string> = {})
research-desk/src/lib/preview.ts:49
↓ 1 callersFunctionlistMemories
(prefix = "/")
research-desk/src/lib/memory.ts:29
↓ 1 callersFunctionlistVersions
(limit = 50)
research-desk/src/lib/memory.ts:61
↓ 1 callersFunctionllm_judge
(result, spec)
agent-decomposition/evals/graders.py:216
↓ 1 callersFunctionload
()
production-ready-agent/solution/components/SessionRail.tsx:87
↓ 1 callersFunctionload
()
production-ready-agent/solution/components/ChatPanel.tsx:85
↓ 1 callersFunctionload
()
production-ready-agent/starter/components/SessionRail.tsx:87
↓ 1 callersFunctionloadDeskConfigOrThrow
()
research-desk/src/lib/analysis.ts:202
↓ 1 callersFunctionload_tasks
(task_filter: str | None = None)
agent-decomposition/evals/run.py:29
↓ 1 callersFunctionlookup
(query)
agent-battle/event/lib/wiki.mjs:90
↓ 1 callersFunctionmain
()
ship-your-first-managed-agent/data/generate_log.py:146
↓ 1 callersFunctionmain
()
agent-decomposition/data/seed.py:243
↓ 1 callersFunctionmain
()
agent-decomposition/evals/run.py:144
↓ 1 callersFunctionmain
()
agent-decomposition/agents/cli.py:8
↓ 1 callersFunctionmain
()
agent-decomposition/agents/deploy_cli.py:6
↓ 1 callersFunctionmain
()
agent-decomposition/agents/starter/deploy.py:7
↓ 1 callersFunctionmain
()
research-desk/scripts/seed.ts:48
↓ 1 callersFunctionmain
()
how-we-claude-code/phase-3-verify/scripts/record.ts:35
↓ 1 callersFunctionmain
(dry_run=False, eval=False)
agent-battle/my_agent.py:552
↓ 1 callersFunctionmain
()
agent-battle/harness/agent.py:439
↓ 1 callersFunctionmain
()
agent-battle/harness/verify.py:92
↓ 1 callersFunctionmain
()
agent-battle/harness/replay.py:167
↓ 1 callersFunctionmakeRecords
(tickers: string[])
research-desk/solutions/src/lib/analysis.ts:189
↓ 1 callersFunctionmaybe_report_cost
Report only on every Nth turn, for use inside agent loops.
agent-battle/harness/leaderboard.py:121
↓ 1 callersFunctionnormalize
(text)
agent-battle/event/lib/moderation.mjs:33
↓ 1 callersFunctionnumeric_tolerance
(result, spec)
agent-decomposition/evals/graders.py:115
↓ 1 callersFunctiononCreated
(s: SessionSummary)
production-ready-agent/solution/components/DealDesk.tsx:48
↓ 1 callersFunctiononCreated
(s: SessionSummary)
production-ready-agent/starter/components/DealDesk.tsx:48
↓ 1 callersMethodopenSession
(durationSeconds)
agent-battle/event/lib/board.mjs:151
↓ 1 callersFunctionparsePptx
(pptxPath: string)
eval-driven-agent-development/src/parse-pptx.ts:67
↓ 1 callersFunctionpickMime
()
how-we-claude-code/phase-3-verify/src/verify/harness/recorder.ts:177
↓ 1 callersFunctionplay_task
Send Claude one turn at a time until the bot has `task` in its inventory. Counts only non-chat actions toward max_turns. Aborts if the same a
agent-battle/harness/agent.py:138
↓ 1 callersFunctionpost_deploy_checkout_request
A checkout request after the bad deploy: N+1 queries, slow, maybe 500.
ship-your-first-managed-agent/data/generate_log.py:68
↓ 1 callersFunctionprovisionDesk
(agentPrefix = "research-desk")
research-desk/src/lib/provision.ts:161
↓ 1 callersFunctionprovisionHello
(agentPrefix = "research-desk")
research-desk/src/lib/provision.ts:116
↓ 1 callersFunctionranked_mention
Check that target SKU appears in the first N body rows of the first markdown table.
agent-decomposition/evals/graders.py:190
↓ 1 callersFunctionreadAllContracts
(root: HTMLElement)
how-we-claude-code/phase-3-verify/src/verify/core/contract.ts:46
↓ 1 callersFunctionreadContract
(root: HTMLElement)
how-we-claude-code/phase-3-verify/src/verify/core/contract.ts:33
↓ 1 callersFunctionread_sink
(name: str, run_id: str | None = None)
agent-decomposition/agents/common.py:75
↓ 1 callersMethodrecordAchievement
({ participant, id, run_elapsed_ms })
agent-battle/event/lib/board.mjs:198
↓ 1 callersMethodrecordCost
({ participant, tokens, turns, diamonds = 0, run_id })
agent-battle/event/lib/board.mjs:230
↓ 1 callersMethodrecordNarration
({ participant, kind, text })
agent-battle/event/lib/board.mjs:263
↓ 1 callersFunctionref_range
(agent: str)
agent-decomposition/evals/run.py:42
↓ 1 callersFunctionreflect
Ask Claude to rewrite its strategy notes after a task. Plain text reply, no tools — fast and cheap. On API failure, leave notes unchanged.
agent-battle/harness/agent.py:332
↓ 1 callersFunctionregex_present
(result, spec)
agent-decomposition/evals/graders.py:176
↓ 1 callersFunctionreject
(_req, res)
agent-battle/event/server.mjs:341
↓ 1 callersFunctionrelTime
(iso: string)
production-ready-agent/solution/components/PipelineRail.tsx:92
↓ 1 callersFunctionrelTime
(iso: string)
production-ready-agent/starter/components/PipelineRail.tsx:92
↓ 1 callersFunctionrender_compare
(before: list[dict], after: list[dict], wall_s: float)
agent-decomposition/evals/run.py:118
↓ 1 callersFunctionrender_single
(agent: str, results: list[dict], wall_s: float)
agent-decomposition/evals/run.py:84
↓ 1 callersFunctionrender_state
Full first-turn render: run context + state + current task.
agent-battle/harness/prompts.py:144
↓ 1 callersFunctionrender_state_delta
Compact subsequent-turn render: just current state + task line. No RunContext header — that's already in the conversation history. The goal i
agent-battle/harness/prompts.py:161
↓ 1 callersFunctionreplay
(path: str, *, task_filter: Optional[str] = None, grep: Optional[str] = None)
agent-battle/harness/replay.py:78
↓ 1 callersFunctionreportDiamond
(n)
agent-battle/bot/bot.js:826
↓ 1 callersFunctionreportNarration
(kind, text)
agent-battle/bot/bot.js:830
← previousnext →301–400 of 761, ranked by callers