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
↓ 1 callers
Method
_tribunal_present
(self, topic: str, research: dict)
paperclaw/integrations/open-webui/paperclaw_pipe.py:126
↓ 1 callers
Method
_tribunal_respond
(self, session_id: str, responses: dict)
paperclaw/integrations/open-webui/paperclaw_pipe.py:133
↓ 1 callers
Function
addCard
()
src/app/lab/page.tsx:297
↓ 1 callers
Function
addNote
()
src/app/lab/page.tsx:1223
↓ 1 callers
Function
advance
(id: string)
src/app/lab/page.tsx:1210
↓ 1 callers
Function
apiFetch
( path: string, schema: { parse: (v: unknown) => T }, init?: RequestInit, )
src/lib/api-client.ts:163
↓ 1 callers
Function
apiGet
(base, path, params = {})
paperclaw/integrations/browser-extension/background.js:21
↓ 1 callers
Function
beat
()
src/hooks/usePresence.ts:26
↓ 1 callers
Function
boot
()
skills/autonomous-engine/guardian-node.js:87
↓ 1 callers
Function
buildToolCode
(toolId: string, params: Record<string, unknown>)
src/app/lab/page.tsx:152
↓ 1 callers
Function
cacheInHelia
(data: unknown)
src/lib/helia-node.ts:262
↓ 1 callers
Function
calculateQualityScore
(paper, wordCount)
public/workers/validator.worker.js:119
↓ 1 callers
Function
callCloudflareAI
(prompt, system)
skills/citizens-factory/intellectual-citizen.js:47
↓ 1 callers
Function
castVote
(proposalId: string, vote: "YES" | "NO" | "ABSTAIN")
src/app/app/governance/page.tsx:162
↓ 1 callers
Function
checkAll
()
src/hooks/useRelayStatus.ts:47
↓ 1 callers
Function
checkNewcomers
()
skills/autonomous-engine/guardian-node.js:294
↓ 1 callers
Function
clearStatus
()
paperclaw/integrations/browser-extension/popup.js:33
↓ 1 callers
Function
computeEigenTrust
(votes, papers, iterations, alpha)
public/workers/validator.worker.js:145
↓ 1 callers
Function
computeEigenTrust
( votes: Record<string, Record<string, boolean>>, papers: Record<string, { authorDid: string }> )
src/lib/compute-worker.ts:84
↓ 1 callers
Function
countVotes
(voteMap: Record<string, VoteRecord> | undefined)
src/app/app/governance/page.tsx:226
↓ 1 callers
Function
createOverlay
()
paperclaw/integrations/browser-extension/content.js:66
↓ 1 callers
Function
createPaperProvider
(paperId: string)
src/lib/yjs-provider.ts:15
↓ 1 callers
Method
createProjectPlan
* Generate a structured 7-section project plan. * * @param {string} topic Research topic * @param {Array} sources Sources from research(
paperclaw/core/index.js:368
↓ 1 callers
Function
crossover
(a: number[], b: number[], strategy = "Two Point")
src/app/lab/page.tsx:1635
↓ 1 callers
Function
cycle
(r: number, c: number)
src/app/lab/page.tsx:325
↓ 1 callers
Function
destroy
()
src/lib/yjs-provider.ts:33
↓ 1 callers
Function
detectIntent
(text: string)
src/app/lab/page.tsx:821
↓ 1 callers
Function
doLoad
()
src/app/lab/page.tsx:48
↓ 1 callers
Function
draftPaper
(exp: Experiment)
src/app/lab/page.tsx:1157
↓ 1 callers
Method
dryRunScore
* Get a preliminary score for the paper before publishing. * * @param {object} paper { title, content, author } * @returns {Promise<object>}
paperclaw/core/index.js:491
↓ 1 callers
Function
extractMarkdownTitle
(md)
paperclaw/cli/index.js:135
↓ 1 callers
Function
extractMarkdownTitle
(md: string)
paperclaw/vscode-extension/src/extension.ts:234
↓ 1 callers
Function
fetchAgents
( opts?: RequestInit, )
src/lib/api-client.ts:365
↓ 1 callers
Function
fetchBenchmark
()
src/app/app/benchmark/page.tsx:114
↓ 1 callers
Function
fetchFromGateways
(cidStr: string, timeoutMs: number)
src/lib/helia-node.ts:243
↓ 1 callers
Function
fetchLatestPapers
( opts?: RequestInit, )
src/lib/api-client.ts:218
↓ 1 callers
Function
fetchLeaderboard
( opts?: RequestInit, )
src/lib/api-client.ts:327
↓ 1 callers
Function
fetchLeaderboardWithEigenTrust
()
src/hooks/useLeaderboard.ts:8
↓ 1 callers
Function
fetchMempool
( opts?: RequestInit, )
src/lib/api-client.ts:244
↓ 1 callers
Function
fetchPaperById
(id: string)
src/lib/api-client.ts:283
↓ 1 callers
Function
fetchPapersFromGun
Read papers from local Gun.js graph (fallback when Railway is down).
src/lib/api-client.ts:143
↓ 1 callers
Function
fetchScored
(id: string)
src/components/papers/PaperPrintView.tsx:56
↓ 1 callers
Function
fetchSiliconMarkdown
Fetch FSM markdown from Railway and render as styled HTML
src/app/silicon/[[...path]]/route.ts:12
↓ 1 callers
Function
fetchSwarmStatus
( opts?: RequestInit, )
src/lib/api-client.ts:182
↓ 1 callers
Function
fetchWithBody
(req: NextRequest, apiUrl: string)
src/lib/proxy.ts:16
↓ 1 callers
Function
fibonacciSphere
(i: number, n: number, radius: number)
src/components/network/NetworkScene.tsx:51
↓ 1 callers
Function
formatPaper
* Format paper sections into a structured academic document. * * @param {Array<{heading: string, body: string}>} sections * @returns {string} Markd
paperclaw/core/index.js:140
↓ 1 callers
Function
formatTime
(ts: number)
src/components/papers/PaperCard.tsx:14
↓ 1 callers
Function
formatTime
(ts: number)
src/components/papers/MempoolCard.tsx:17
↓ 1 callers
Function
formatTime
(ts: number)
src/components/chat/ChatMessage.tsx:12
↓ 1 callers
Function
formatTime
(ts: number)
src/components/dashboard/InvestigationCard.tsx:13
↓ 1 callers
Function
formatUptime
(ms: number)
src/app/app/swarm/page.tsx:6
↓ 1 callers
Function
fromHex
(h: string)
src/lib/did.ts:21
↓ 1 callers
Function
genId
()
src/store/agentStore.ts:28
↓ 1 callers
Function
genName
()
src/store/agentStore.ts:37
↓ 1 callers
Function
generateAgentId
* Generate a unique agent ID (pclaw-<hex>). * @returns {string}
paperclaw/core/index.js:45
↓ 1 callers
Function
generateId
()
src/lib/agent-identity.ts:14
↓ 1 callers
Function
generateName
()
src/lib/agent-identity.ts:23
↓ 1 callers
Method
generatePDF
* Generate a well-formatted HTML file (printable to PDF) for the paper. * * @param {object} paper { title, author, abstract, sections, referen
paperclaw/core/index.js:579
↓ 1 callers
Function
generatePaperHTML
* Generate a full academic-paper HTML document. * * @param {object} paper * - title {string} * - author {string} * - date
paperclaw/core/pdf-generator.js:226
↓ 1 callers
Function
getBrandColor
(name: string)
src/components/landing/LandingHero.tsx:38
↓ 1 callers
Function
getInitialStats
Pre-fetch swarm stats server-side so first paint shows real numbers
src/app/app/dashboard/page.tsx:10
↓ 1 callers
Function
getNamespaces
()
src/lib/gun-client.ts:74
↓ 1 callers
Method
getScore
* Retrieve final calibrated scores for a published paper. * * @param {string} paperId * @returns {Promise<object>} Score details
paperclaw/core/index.js:550
↓ 1 callers
Function
getWorker
()
src/lib/compute-worker.ts:12
↓ 1 callers
Function
handleAPIRequest
(request)
public/sw.js:103
↓ 1 callers
Function
handleAppAsset
(request)
public/sw.js:87
↓ 1 callers
Function
handleFormat
()
src/app/app/write/page.tsx:146
↓ 1 callers
Function
handleFormattedChange
(text: string)
src/app/app/write/page.tsx:215
↓ 1 callers
Function
handleIPFSRequest
(request, url)
public/sw.js:65
↓ 1 callers
Function
handleVote
(v: "YES" | "NO" | "ABSTAIN")
src/app/app/governance/page.tsx:264
↓ 1 callers
Function
help
()
paperclaw/cli/index.js:67
↓ 1 callers
Function
httpRequest
(url, method = "GET", body = null)
skills/autonomous-engine/guardian-node.js:73
↓ 1 callers
Function
importToCorpus
(p: ArxivPaper)
src/app/lab/page.tsx:934
↓ 1 callers
Function
init
()
src/components/editor/CollaborativeEditor.tsx:68
↓ 1 callers
Function
initServiceWorker
()
src/lib/sw-manager.ts:9
↓ 1 callers
Function
inspectVisualQuality
(paper)
skills/autonomous-engine/guardian-node.js:243
↓ 1 callers
Function
isAPIRequest
(url)
public/sw.js:174
↓ 1 callers
Function
isAppAsset
(url)
public/sw.js:161
↓ 1 callers
Function
isBrowserRequest
(req: NextRequest)
src/app/silicon/[[...path]]/route.ts:6
↓ 1 callers
Function
isIPFSRequest
(url)
public/sw.js:151
↓ 1 callers
Function
isValidMarkdown
(text)
public/silicon/silicon.js:156
↓ 1 callers
Function
levelColor
(level: LogEntry["level"])
src/components/layout/LogDock.tsx:77
↓ 1 callers
Function
loadConfig
()
paperclaw/cli/index.js:104
↓ 1 callers
Function
loadPyodideEnv
()
src/app/lab/page.tsx:43
↓ 1 callers
Function
loadVoteRecord
()
src/components/dashboard/VotePanel.tsx:24
↓ 1 callers
Function
main
()
paperclaw/cli/index.js:224
↓ 1 callers
Function
main
()
skills/autonomous-engine/guardian-node.js:351
↓ 1 callers
Function
makeAgentId
()
paperclaw/integrations/browser-extension/background.js:32
↓ 1 callers
Function
markdownToHTML
Convert simple Markdown to HTML (headings, bold, italic, code, lists).
paperclaw/core/pdf-generator.js:164
↓ 1 callers
Function
mdToHtml
Convert markdown to minimal HTML for browser rendering
src/app/silicon/[[...path]]/route.ts:29
↓ 1 callers
Function
medalOf
(score: number | undefined)
src/components/papers/PaperPrintView.tsx:76
↓ 1 callers
Function
mutate
(g: number[], rate = 0.05)
src/app/lab/page.tsx:1650
↓ 1 callers
Function
normalise
(raw: RawMsg, channel: string)
src/hooks/useApiChat.ts:29
↓ 1 callers
Function
normalizeGunAgent
(data: any, id: string)
src/hooks/useAgents.ts:31
↓ 1 callers
Function
onToolChange
(id: string)
src/app/app/simulations/page.tsx:69
↓ 1 callers
Function
openInBrowser
(url)
paperclaw/cli/index.js:193
↓ 1 callers
Function
parseArgs
(argv)
paperclaw/cli/index.js:46
↓ 1 callers
Function
parsePrometheus
(text: string)
src/app/metrics/page.tsx:40
↓ 1 callers
Function
pingPeer
* Pings a relay node via HTTP HEAD request. * RELAY_HTTP_URLS are already https:// — no wss→https conversion needed. * mode: no-cors means we get an
src/hooks/useRelayStatus.ts:20
← previous
next →
101–200 of 530, ranked by callers