Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/anthropics/cwc-workshops
/ functions
Functions
761 in github.com/anthropics/cwc-workshops
⨍
Functions
761
◇
Types & classes
99
↓ 3 callers
Function
parseArgs
(argv: string[])
how-we-claude-code/phase-3-verify/scripts/record.ts:99
↓ 3 callers
Function
pluck
Safe nested-property lookup through the parsed XML object tree.
eval-driven-agent-development/src/parse-pptx.ts:161
↓ 3 callers
Function
renderPptx
(pptxPath: string, outDir: string)
eval-driven-agent-development/src/render.ts:21
↓ 3 callers
Function
requireStoreId
()
research-desk/src/lib/memory.ts:23
↓ 3 callers
Function
restAuthHeaders
(extraBeta: string)
research-desk/src/lib/anthropic.ts:42
↓ 3 callers
Function
rid
()
ship-your-first-managed-agent/data/generate_log.py:36
↓ 3 callers
Function
runFixture
( unit: VerifiableUnit<P>, fixture: Fixture<P>, opts: RunOptions = {} )
how-we-claude-code/phase-3-verify/src/verify/core/runner.ts:39
↓ 3 callers
Function
runUnit
( unit: VerifiableUnit<P> )
how-we-claude-code/phase-3-verify/src/verify/core/runner.ts:148
↓ 3 callers
Function
run_suite
(agent: str, tasks: list[dict], trials: int, parallel: int)
agent-decomposition/evals/run.py:69
↓ 3 callers
Function
save_results
(run_id: str, agent: str, results: list[dict])
agent-decomposition/evals/run.py:136
↓ 3 callers
Function
send
(text: string, k: "message" | "outcome" = kind)
production-ready-agent/solution/components/ChatPanel.tsx:144
↓ 3 callers
Function
send
(text: string, k: "message" | "outcome" = kind)
production-ready-agent/starter/components/ChatPanel.tsx:144
↓ 3 callers
Function
setCurrentResult
(r: VerifyResult | null)
how-we-claude-code/phase-3-verify/src/verify/harness/handle.ts:19
↓ 3 callers
Function
sink_dir
(run_id: str | None = None)
agent-decomposition/agents/common.py:57
↓ 3 callers
Function
textOf
(e: StreamEvent)
production-ready-agent/solution/lib/chat.ts:21
↓ 3 callers
Function
textOf
(e: StreamEvent)
production-ready-agent/starter/lib/chat.ts:21
↓ 3 callers
Method
thinking_note
Free-form line for the thinking log only — task boundaries, notes, etc.
agent-battle/harness/logging_.py:207
↓ 3 callers
Function
viewport
()
production-ready-agent/solution/components/ai/conversation.tsx:17
↓ 3 callers
Function
viewport
()
production-ready-agent/starter/components/ai/conversation.tsx:17
↓ 3 callers
Function
wait
(ms)
how-we-claude-code/phase-3-verify/src/verify/harness/visibleAct.ts:80
↓ 2 callers
Function
EMPTY
(exists: boolean, validZip: boolean)
eval-driven-agent-development/src/parse-pptx.ts:59
↓ 2 callers
Function
_counts
(gs: GameState)
agent-battle/harness/agent.py:127
↓ 2 callers
Function
_format_equipped
(gs: GameState)
agent-battle/harness/prompts.py:138
↓ 2 callers
Function
_format_inventory
(gs: GameState)
agent-battle/harness/prompts.py:114
↓ 2 callers
Function
_format_nearby_blocks
(gs: GameState, max_n: int = 12)
agent-battle/harness/prompts.py:124
↓ 2 callers
Function
_format_position
(gs: GameState)
agent-battle/harness/prompts.py:133
↓ 2 callers
Function
_format_tool_result
Compact text for the tool_result content block.
agent-battle/harness/agent.py:112
↓ 2 callers
Function
_headers
Headers for webhook POSTs. Prefers PARTICIPANT_TOKEN (bearer JWT); falls back to the legacy LEADERBOARD_KEY shared secret. Both may be sent —
agent-battle/harness/leaderboard.py:48
↓ 2 callers
Function
_list_sessions
(agent_id: str)
ship-your-first-managed-agent/provided.py:49
↓ 2 callers
Function
_load_history
Replay a session's conversation from the server-side event log.
ship-your-first-managed-agent/provided.py:59
↓ 2 callers
Function
_nums
(text: str)
agent-decomposition/evals/graders.py:19
↓ 2 callers
Function
_score
(results: list[dict])
agent-decomposition/evals/report.py:12
↓ 2 callers
Function
_session_vault_ids
Vault ids to attach to CMA sessions. A vault credential only takes effect when the SESSION carries its vault — creating the credential alone i
agent-battle/my_agent.py:244
↓ 2 callers
Function
_stop_session
Interrupt then archive a CMA session. archive() rejects status=running, so send user.interrupt first. Idempotent and exception-safe — called from
agent-battle/my_agent.py:815
↓ 2 callers
Function
act
(result: "allow" | "deny", fn: () => void)
production-ready-agent/solution/components/ChatPanel.tsx:369
↓ 2 callers
Function
act
(result: "allow" | "deny", fn: () => void)
production-ready-agent/starter/components/ChatPanel.tsx:369
↓ 2 callers
Function
action_taken
(result, spec)
agent-decomposition/evals/graders.py:132
↓ 2 callers
Function
allVerifiers
()
how-we-claude-code/phase-3-verify/src/verify/core/registry.ts:44
↓ 2 callers
Function
botMcpRateKey
(keyOf)
agent-battle/event/server.mjs:396
↓ 2 callers
Function
buildBotMcp
(key)
agent-battle/event/server.mjs:364
↓ 2 callers
Function
buildManifest
()
how-we-claude-code/phase-3-verify/src/verify/core/registry.ts:58
↓ 2 callers
Function
buildServer
()
agent-battle/bot/bot.js:1213
↓ 2 callers
Function
client
()
agent-decomposition/agents/cma.py:50
↓ 2 callers
Function
collectScorecards
()
research-desk/src/app/api/desk/scorecards/route.ts:35
↓ 2 callers
Function
confirm
(toolUseId: string, result: "allow" | "deny")
production-ready-agent/solution/components/ChatPanel.tsx:150
↓ 2 callers
Function
confirm
(toolUseId: string, result: "allow" | "deny")
production-ready-agent/starter/components/ChatPanel.tsx:150
↓ 2 callers
Function
consoleUrl
(kind: ConsoleResourceKind, id: string)
research-desk/src/lib/config.ts:112
↓ 2 callers
Function
console_url
(agent_id: str)
agent-decomposition/agents/cma.py:81
↓ 2 callers
Function
current_run_id
Thread-local first (in-process before-agent), then env (subprocess), then default.
agent-decomposition/agents/common.py:48
↓ 2 callers
Function
dispatch
(name: str, args: dict)
agent-decomposition/agents/before/tools.py:213
↓ 2 callers
Function
downloadClip
(clip: Clip)
how-we-claude-code/phase-3-verify/src/verify/harness/recorder.ts:194
↓ 2 callers
Function
downloadOutputs
( client: Anthropic, sessionId: string, destDir: string, )
research-desk/solutions/src/lib/sessions.ts:132
↓ 2 callers
Function
downloadOutputs
( client: Anthropic, sessionId: string, destDir: string, )
research-desk/src/lib/sessions.ts:138
↓ 2 callers
Method
ensureHeadSession
The head conversation is durable: reuse the saved session when it is still alive.
research-desk/src/lib/orchestrator.ts:45
↓ 2 callers
Method
ensureWatching
Start (once) the long-lived watcher that answers dispatch_analysts calls.
research-desk/solutions/src/lib/orchestrator.ts:92
↓ 2 callers
Method
ensureWatching
Start (once) the long-lived watcher that answers dispatch_analysts calls.
research-desk/src/lib/orchestrator.ts:92
↓ 2 callers
Function
eventText
(content: SessionEvent["content"])
research-desk/src/lib/client-types.ts:62
↓ 2 callers
Function
finish
()
how-we-claude-code/phase-3-verify/src/verify/harness/ReplayPage.tsx:272
↓ 2 callers
Function
fmtBytes
(n: number)
how-we-claude-code/phase-3-verify/src/verify/harness/recorder.ts:215
↓ 2 callers
Function
handle
Process one SSE event. Returns True to keep streaming.
agent-battle/my_agent.py:499
↓ 2 callers
Method
handleDispatch
(client: Anthropic, headSessionId: string, event: SessionEventLike)
research-desk/solutions/src/lib/orchestrator.ts:148
↓ 2 callers
Method
handleDispatch
(client: Anthropic, headSessionId: string, event: SessionEventLike)
research-desk/src/lib/orchestrator.ts:148
↓ 2 callers
Function
has
(rel, pat)
agent-battle/bot/patch-viewer.cjs:108
↓ 2 callers
Function
highlight
* Draw a highlight ring over `el`. Returned element should be `.remove()`d * by the caller. The ring is `position: fixed` so it floats above the stag
how-we-claude-code/phase-3-verify/src/verify/harness/visibleAct.ts:106
↓ 2 callers
Function
hits
(words)
agent-battle/event/lib/wiki.mjs:78
↓ 2 callers
Function
isOAuthToken
(credential: string)
research-desk/src/lib/anthropic.ts:18
↓ 2 callers
Function
keyMatches
(provided, expected)
agent-battle/event/server.mjs:79
↓ 2 callers
Function
lbHeaders
()
agent-battle/bot/bot.js:788
↓ 2 callers
Method
listDispatches
()
research-desk/src/lib/orchestrator.ts:223
↓ 2 callers
Function
loadWatchlist
(path?: string)
research-desk/src/lib/config.ts:91
↓ 2 callers
Function
log
(msg: string)
eval-driven-agent-development/src/create-slides.ts:30
↓ 2 callers
Function
makeActContext
(root: HTMLElement)
how-we-claude-code/phase-3-verify/src/verify/core/runner.ts:187
↓ 2 callers
Function
makeRecords
(tickers: string[])
research-desk/src/lib/analysis.ts:198
↓ 2 callers
Function
makeVisibleActContext
( root: HTMLElement, opts: VisibleActOptions = {} )
how-we-claude-code/phase-3-verify/src/verify/harness/visibleAct.ts:31
↓ 2 callers
Function
notePlacedBlock
(name, pos)
agent-battle/bot/bot.js:853
↓ 2 callers
Method
open
(cls, log_dir: str, *, target: str, model: str)
agent-battle/harness/logging_.py:80
↓ 2 callers
Method
participant
(rawName)
agent-battle/event/lib/board.mjs:180
↓ 2 callers
Function
pointsFor
(id)
agent-battle/event/lib/board.mjs:36
↓ 2 callers
Function
post
(path: string, body: unknown)
production-ready-agent/solution/components/ChatPanel.tsx:131
↓ 2 callers
Function
post
(path: string, body: unknown)
production-ready-agent/starter/components/ChatPanel.tsx:131
↓ 2 callers
Function
provision
(scope: "hello" | "desk")
research-desk/src/components/SetupPanel.tsx:17
↓ 2 callers
Function
raf
()
how-we-claude-code/phase-3-verify/src/verify/harness/ReplayPage.tsx:714
↓ 2 callers
Function
raf
()
how-we-claude-code/phase-3-verify/src/verify/harness/UnitPage.tsx:168
↓ 2 callers
Function
report_cost
POST current token+turn totals. Fire-and-forget; never raises.
agent-battle/harness/leaderboard.py:98
↓ 2 callers
Function
restart
()
how-we-claude-code/phase-3-verify/src/verify/harness/ReplayPage.tsx:309
↓ 2 callers
Function
runTask
( client: Anthropic, task: Task, verbose: boolean, )
eval-driven-agent-development/src/create-slides.ts:23
↓ 2 callers
Method
run_end
(self, result: Any)
agent-battle/harness/logging_.py:235
↓ 2 callers
Function
run_one
(agent: str, task: dict, sem: asyncio.Semaphore)
agent-decomposition/evals/run.py:51
↓ 2 callers
Function
safeLs
(dir: string)
how-we-claude-code/phase-3-verify/scripts/record.ts:112
↓ 2 callers
Function
scorecardsToCsv
(scorecards: Scorecard[])
research-desk/src/lib/scorecard.ts:135
↓ 2 callers
Function
selectTasks
(script: string, ids: string[], all: boolean)
eval-driven-agent-development/src/lib.ts:29
↓ 2 callers
Function
send
()
research-desk/src/components/DeskChat.tsx:112
↓ 2 callers
Function
session_resources
(ids: dict)
agent-decomposition/agents/cma.py:158
↓ 2 callers
Function
sink_path
(name: str, run_id: str | None = None)
agent-decomposition/agents/common.py:64
↓ 2 callers
Function
sleep
(ms: number)
how-we-claude-code/phase-3-verify/src/verify/harness/ReplayPage.tsx:725
↓ 2 callers
Function
slideIndex
(name: string)
eval-driven-agent-development/src/parse-pptx.ts:120
↓ 2 callers
Function
snapshotState
()
agent-battle/bot/bot.js:177
↓ 2 callers
Function
sse
(fill: (write: Write) => Promise<void>)
production-ready-agent/solution/lib/sse.ts:15
↓ 2 callers
Function
sse
(fill: (write: Write) => Promise<void>)
production-ready-agent/starter/lib/sse.ts:15
↓ 2 callers
Method
state
One snapshot. Tolerant of partial responses.
agent-battle/harness/client.py:156
← previous
next →
101–200 of 761, ranked by callers