Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Agnuxo1/OpenCLAW-P2P
/ functions
Functions
530 in github.com/Agnuxo1/OpenCLAW-P2P
⨍
Functions
530
◇
Types & classes
95
↳
Endpoints
1
↓ 53 callers
Function
cn
(...inputs: ClassValue[])
src/lib/utils.ts:4
↓ 30 callers
Method
_emit
@private
paperclaw/core/index.js:202
↓ 24 callers
Function
log
(tag, msg)
skills/autonomous-engine/guardian-node.js:42
↓ 15 callers
Function
log
(msg)
paperclaw/integrations/text-generation-webui/paperclaw_extension/script.py:92
↓ 14 callers
Function
getDb
()
src/lib/gun-client.ts:63
↓ 14 callers
Function
step
(text, cls = "ok")
paperclaw/integrations/browser-extension/background.js:43
↓ 11 callers
Function
esc
Escape HTML entities.
paperclaw/core/pdf-generator.js:154
↓ 10 callers
Method
_post
POST to PaperClaw API.
paperclaw/integrations/llamaindex/paperclaw_tool.py:83
↓ 10 callers
Method
_url
@private
paperclaw/core/index.js:215
↓ 10 callers
Function
paperScore
(p: Record<string, unknown>)
src/app/app/benchmark/page.tsx:103
↓ 10 callers
Function
requestWithRetry
* Retry wrapper for request().
paperclaw/core/index.js:117
↓ 9 callers
Function
apiGet
(path)
skills/autonomous-engine/guardian-node.js:53
↓ 7 callers
Function
getQueryClient
()
src/lib/query-client.ts:5
↓ 7 callers
Function
useSwarmStatus
()
src/hooks/useSwarmStatus.ts:7
↓ 6 callers
Method
_post
POST to PaperClaw API with error handling.
paperclaw/integrations/open-webui/paperclaw_pipe.py:91
↓ 6 callers
Function
appendProgress
(text, color = "#66bb6a")
paperclaw/integrations/browser-extension/content.js:103
↓ 6 callers
Function
getTodayKey
()
src/components/dashboard/VotePanel.tsx:20
↓ 6 callers
Function
logStep
(text, cls = "info")
paperclaw/integrations/browser-extension/popup.js:24
↓ 6 callers
Function
proxyToRailway
(req: NextRequest, prefix: string, segments: string[] = [])
src/lib/proxy.ts:33
↓ 6 callers
Function
useAgentIdentity
()
src/hooks/useAgentIdentity.ts:7
↓ 6 callers
Function
useGunContext
()
src/providers/GunProvider.tsx:136
↓ 5 callers
Function
_post
POST to PaperClaw API.
paperclaw/integrations/text-generation-webui/paperclaw_extension/script.py:51
↓ 5 callers
Function
apiPost
(base, path, payload)
paperclaw/integrations/browser-extension/background.js:11
↓ 5 callers
Function
log
(line: string)
paperclaw/vscode-extension/src/extension.ts:251
↓ 5 callers
Function
normalizeRawPaper
Normalize a raw Railway paper record to our Paper schema
src/lib/api-client.ts:24
↓ 5 callers
Function
paperScore
(p: Record<string, unknown>)
src/components/landing/LandingHero.tsx:43
↓ 5 callers
Function
proxyToApi
( path: string, method: "GET" | "POST", body?: Record<string, unknown>, params?: Record<string, string
paperclaw/integrations/lobechat/paperclaw-api.ts:58
↓ 5 callers
Function
sendChat
(msg)
skills/autonomous-engine/guardian-node.js:69
↓ 5 callers
Function
ts
()
src/app/lab/page.tsx:1973
↓ 5 callers
Function
updateStep
(id: string, field: keyof PipelineStep, val: string)
src/app/lab/page.tsx:1945
↓ 5 callers
Function
write
(obj)
paperclaw/cli/mcp.js:209
↓ 5 callers
Function
write
(obj)
paperclaw/integrations/mcp-server/paperclaw-mcp.js:209
↓ 4 callers
Function
countWords
(text: string)
src/lib/markdown.ts:65
↓ 4 callers
Function
fetchAgentsFromGun
Read agents from Gun.js graph (fallback when Railway is down).
src/lib/api-client.ts:92
↓ 4 callers
Function
getDID
()
src/lib/did.ts:51
↓ 4 callers
Function
gunCollect
(node: GunInstance, timeoutMs = 2500)
src/lib/gun-client.ts:96
↓ 4 callers
Function
initGunNode
()
src/lib/gun-client.ts:34
↓ 4 callers
Function
initHeliaNode
()
src/lib/helia-node.ts:28
↓ 4 callers
Function
mdToHtml
(md)
public/silicon/silicon.js:163
↓ 4 callers
Function
renderMarkdown
(content: string)
src/lib/markdown.ts:27
↓ 4 callers
Function
useRelayStatus
(refreshInterval = 30_000)
src/hooks/useRelayStatus.ts:39
↓ 3 callers
Method
_get
GET from PaperClaw API.
paperclaw/integrations/llamaindex/paperclaw_tool.py:94
↓ 3 callers
Function
act
(action: "validate" | "reject" | "flag")
src/components/papers/MempoolCard.tsx:31
↓ 3 callers
Function
assertClient
()
src/lib/gun-client.ts:30
↓ 3 callers
Function
dispatch
(type: string, payload: unknown, timeoutMs = 10000)
src/lib/compute-worker.ts:37
↓ 3 callers
Function
extractAbstract
(content: string, maxLength = 200)
src/lib/markdown.ts:51
↓ 3 callers
Function
fetchData
()
src/app/app/dataset/page.tsx:118
↓ 3 callers
Function
fitness
(g: number[])
src/app/lab/page.tsx:1631
↓ 3 callers
Function
get
(path)
paperclaw/cli/mcp.js:73
↓ 3 callers
Function
get
(path)
paperclaw/integrations/mcp-server/paperclaw-mcp.js:73
↓ 3 callers
Function
publishViaAPI
(paperData: unknown)
src/lib/helia-node.ts:270
↓ 3 callers
Method
register
* Register the agent on the P2PCLAW network. * POST /quick-join { agentId, name, type } * * @returns {Promise<object>} Registration response
paperclaw/core/index.js:229
↓ 3 callers
Function
saveToLocal
(key: string, data: any)
src/app/lab/page.tsx:1925
↓ 3 callers
Function
ts
()
src/components/layout/LogDock.tsx:23
↓ 3 callers
Function
updateStats
()
src/providers/GunProvider.tsx:66
↓ 3 callers
Function
useAgents
()
src/hooks/useAgents.ts:63
↓ 3 callers
Function
useLatestPapers
()
src/hooks/useLatestPapers.ts:7
↓ 3 callers
Function
writeToGunPaper
Write a paper directly to Gun.js graph (works without Railway).
src/lib/api-client.ts:68
↓ 2 callers
Function
apiPost
(path, body)
skills/autonomous-engine/guardian-node.js:61
↓ 2 callers
Function
bs58decode
(str)
public/workers/validator.worker.js:22
↓ 2 callers
Function
buildFromPapers
(papers: Array<Record<string, unknown>>, apiPodium: PodiumEntry[])
src/app/app/benchmark/page.tsx:222
↓ 2 callers
Function
collectAndReportMetrics
()
src/lib/swarm-metrics.ts:25
↓ 2 callers
Function
create
()
src/app/lab/page.tsx:1189
↓ 2 callers
Function
extractIdeaText
()
paperclaw/integrations/browser-extension/content.js:116
↓ 2 callers
Function
geneColor
(v: number)
src/app/lab/page.tsx:1714
↓ 2 callers
Function
getBrandColor
(name: string)
src/app/app/benchmark/page.tsx:20
↓ 2 callers
Function
getCursorColor
(userId: string)
src/lib/yjs-provider.ts:53
↓ 2 callers
Function
getHeliaStats
()
src/lib/helia-node.ts:303
↓ 2 callers
Function
getNodeStats
()
src/lib/gun-client.ts:83
↓ 2 callers
Function
getOrCreateIdentity
()
src/lib/agent-identity.ts:38
↓ 2 callers
Function
handleVote
(result: boolean)
src/components/dashboard/VotePanel.tsx:52
↓ 2 callers
Function
loadOrCreateDID
()
src/lib/did.ts:27
↓ 2 callers
Function
makeDraftId
()
src/components/papers/PublishModal.tsx:33
↓ 2 callers
Function
moveCard
(id: string, dir: 1 | -1)
src/app/lab/page.tsx:303
↓ 2 callers
Function
promptInteractive
(question)
paperclaw/cli/index.js:140
↓ 2 callers
Function
publishPaper
( payload: PublishPaperPayload, )
src/lib/api-client.ts:500
↓ 2 callers
Function
renderSiliconPage
(md: string, path: string)
src/app/silicon/[[...path]]/route.ts:55
↓ 2 callers
Function
request
(method, url, body, timeoutMs = 120_000)
paperclaw/cli/mcp.js:39
↓ 2 callers
Function
request
(method, url, body, timeoutMs = 120_000)
paperclaw/integrations/mcp-server/paperclaw-mcp.js:39
↓ 2 callers
Function
runGenerate
( context: vscode.ExtensionContext, description: string, opts: GenerateOpts, )
paperclaw/vscode-extension/src/extension.ts:139
↓ 2 callers
Function
scoreClass
(s: number)
src/app/app/benchmark/page.tsx:28
↓ 2 callers
Function
showCloseButton
()
paperclaw/integrations/browser-extension/content.js:209
↓ 2 callers
Function
startPipeline
(topic)
paperclaw/integrations/browser-extension/content.js:167
↓ 2 callers
Function
tournamentSelect
(pop: number[][], fits: number[])
src/app/lab/page.tsx:1654
↓ 2 callers
Function
tryGateways
(endpoint, statusEl)
public/silicon/silicon.js:187
↓ 2 callers
Function
useMempool
()
src/hooks/useMempool.ts:7
↓ 2 callers
Function
validatePaper
( paperId: string, action: "validate" | "reject" | "flag", agentId?: string, )
src/lib/api-client.ts:527
↓ 1 callers
Function
LAB_PROMPT
(hypothesis)
paperclaw/core/prompts.js:128
↓ 1 callers
Function
PAPER_STRUCTURE_PROMPT
(topic, sources)
paperclaw/core/prompts.js:94
↓ 1 callers
Function
PAPER_TEMPLATE
(q: string, refs: string[] = [])
src/app/lab/page.tsx:2321
↓ 1 callers
Function
RESEARCH_PROMPT
(topic)
paperclaw/core/prompts.js:43
↓ 1 callers
Function
TRIBUNAL_PROMPT
(questions)
paperclaw/core/prompts.js:70
↓ 1 callers
Method
_build_paper_content
Assemble a skeleton paper (the LLM will refine in production).
paperclaw/integrations/open-webui/paperclaw_pipe.py:255
↓ 1 callers
Method
_extract_topic
Return the research topic if the message matches a trigger.
paperclaw/integrations/open-webui/paperclaw_pipe.py:83
↓ 1 callers
Function
_get
GET from PaperClaw API.
paperclaw/integrations/text-generation-webui/paperclaw_extension/script.py:66
↓ 1 callers
Method
_get
GET from PaperClaw API with error handling.
paperclaw/integrations/open-webui/paperclaw_pipe.py:102
↓ 1 callers
Method
_publish
(self, title: str, content: str, clearance: str)
paperclaw/integrations/open-webui/paperclaw_pipe.py:153
↓ 1 callers
Method
_register
(self)
paperclaw/integrations/open-webui/paperclaw_pipe.py:116
↓ 1 callers
Method
_research
(self, topic: str)
paperclaw/integrations/open-webui/paperclaw_pipe.py:123
↓ 1 callers
Method
_run_experiment
(self, code: str)
paperclaw/integrations/open-webui/paperclaw_pipe.py:140
next →
1–100 of 530, ranked by callers