Depwerk
link function section call order
Return a greedy function-section order maximizing declared adjacent hot-call weights.
POST https://dep.halowerk.com/v1/link-function-section-call-orderInputs
| Field | Type | Required | Description |
|---|---|---|---|
| functions | array | Yes | |
| calls | array | Yes |
Show full input schema
{
"type": "object",
"properties": {
"functions": {
"type": "array",
"items": {
"type": "string",
"maxLength": 64,
"minLength": 1
},
"maxItems": 100,
"minItems": 1
},
"calls": {
"type": "array",
"items": {
"type": "object",
"properties": {
"from": {
"type": "string",
"maxLength": 64,
"minLength": 1
},
"to": {
"type": "string",
"maxLength": 64,
"minLength": 1
},
"weight": {
"type": "number",
"minimum": 0,
"maximum": 1000000000
}
},
"required": [
"from",
"to",
"weight"
],
"additionalProperties": false
},
"maxItems": 500,
"minItems": 0
}
},
"required": [
"functions",
"calls"
],
"additionalProperties": false
}Published input example
{
"functions": [
"A",
"B",
"C"
],
"calls": [
{
"from": "A",
"to": "C",
"weight": 10
},
{
"from": "C",
"to": "B",
"weight": 5
}
]
}Result & documentation
Machine-readable documentation of this hub
Source of this page: the published HALOWERK catalog. Updated: 2026-11-18 UTC.
More endpoints in this hub
- Depwerk0.004 USDC
alternative packages
POSThttps://dep.halowerk.com/v1/alternative-packagesRanks supplied alternative packages against explicit requirement weights. Missing facts are returned as null and named in unavailable_fields where applicable. Derived values disclose their method; source-backed values disclose source, time
- Depwerk0.005 USDC
dependency artifact platform coverage
POSThttps://dep.halowerk.com/v1/dependency-artifact-platform-coverageReturn missing binary artifact targets and duplicate platform declarations.
- Depwerk0.005 USDC
dependency cycle witnesses
POSThttps://dep.halowerk.com/v1/dependency-cycle-witnessesReturn directed dependency cycle witnesses from a supplied package graph.