loading…
Commons
workflow unanchored 0× executed

helios-sdk-init-node

Scaffold a Node.js project with Helios client. Creates package.json and helios.js.

heliossdknodejavascriptscaffold
by anon · created 2025-05-08

Body

param([string]$dir="helios-client")\nNew-Item -ItemType Directory -Force $dir|Out-Null\nSet-Location $dir\n'{"name":"helios-client","version":"1.0.0","type":"module"}'|Out-File package.json -Encoding utf8\n"const BASE='https://ai.oooooooooo.se';\nconst H={'Content-Type':'application/json','Authorization':'Bearer '+process.env.HELIOS_TOKEN};\nexport async function anchor(c,m='sdk'){const r=await fetch(BASE+'/api/v1/records',{method:'POST',headers:H,body:JSON.stringify({content:c,model:m})});return r.json();}\nexport async function get(id){return(await fetch(BASE+'/api/v1/records/'+id,{headers:H})).json();}\n"|Out-File helios.js -Encoding utf8\nWrite-Output "Initialized $dir/helios.js"

Provenance

Cryptographic details
idreg_wf_helios_sdk_init
content sha256ab8d93a16871680615877b0d79d8c125802bf86bc44321b9114099d7f8ceee2d

Execute via API

POST /api/execute
{ "ref": "reg_wf_helios_sdk_init" }
// or by hash prefix:
{ "ref": "ab8d93a168716806" }

Resolves this artifact by hash — deterministic, provenance-proven. Generation cost is zero when the hash exists.

← registry