@ultrst-armada/kloks 2.2.5 → 2.2.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (51) hide show
  1. package/.krusbl-release-attestation.json +8 -0
  2. package/package.json +1 -1
  3. package/packages/backend/dist/ai-models/index.js +2 -2
  4. package/packages/backend/dist/ai-routing/index.js +3 -3
  5. package/packages/backend/dist/{chunk-PECE5QKV.js → chunk-AMI5MY6E.js} +2 -2
  6. package/packages/backend/dist/{chunk-WPN3SMIT.js → chunk-FFQJ4USX.js} +1 -1
  7. package/packages/backend/dist/chunk-G6FLQJS6.js +496 -0
  8. package/packages/backend/dist/{chunk-DMBDZHJF.js → chunk-GIUAFRAA.js} +1 -1
  9. package/packages/backend/dist/{chunk-K5LKAEBJ.js → chunk-GZTZ376X.js} +1 -1
  10. package/packages/backend/dist/{chunk-26NAKO4V.js → chunk-H47NEPYG.js} +6 -6
  11. package/packages/backend/dist/{chunk-UVNKDM7N.js → chunk-LAKCKX3I.js} +1 -1
  12. package/packages/backend/dist/{chunk-PT6J6UEU.js → chunk-LMAU62ZG.js} +4 -4
  13. package/packages/backend/dist/{chunk-KQ6IWV3F.js → chunk-LPM5E2A2.js} +2 -2
  14. package/packages/backend/dist/{chunk-X57LLCAQ.js → chunk-MQ6AHJ6X.js} +6 -2
  15. package/packages/backend/dist/{chunk-F6CHRGJ6.js → chunk-QZDTABQX.js} +2 -2
  16. package/packages/backend/dist/{chunk-YZNQA3FU.js → chunk-RHW75K46.js} +1 -1
  17. package/packages/backend/dist/{chunk-SR3DALCH.js → chunk-U5VPYALB.js} +4 -4
  18. package/packages/backend/dist/chunk-UI7AYFAU.js +364 -0
  19. package/packages/backend/dist/{client-5SGUJCV5.js → client-R5FY5AP7.js} +2 -2
  20. package/packages/backend/dist/index.js +46 -12
  21. package/packages/backend/dist/krnl-ai-services.js +5 -5
  22. package/packages/backend/dist/node.js +30 -30
  23. package/packages/backend/dist/provider-services/compute-operations.d.ts +24 -0
  24. package/packages/backend/dist/provider-services/compute-operations.test.d.ts +1 -0
  25. package/packages/backend/dist/provider-services/compute-routing.d.ts +65 -0
  26. package/packages/backend/dist/provider-services/compute-routing.test.d.ts +1 -0
  27. package/packages/backend/dist/provider-services/fly-machines.d.ts +52 -0
  28. package/packages/backend/dist/provider-services/fly-machines.test.d.ts +1 -0
  29. package/packages/backend/dist/provider-services/free-compute.d.ts +5 -0
  30. package/packages/backend/dist/provider-services/free-compute.test.d.ts +1 -0
  31. package/packages/backend/dist/provider-services/google/cloud-run.js +1 -1
  32. package/packages/backend/dist/provider-services/google/cloud-shell.js +1 -1
  33. package/packages/backend/dist/provider-services/google/cloud-storage.js +1 -1
  34. package/packages/backend/dist/provider-services/google/drive.js +1 -1
  35. package/packages/backend/dist/provider-services/google/gemini.js +3 -3
  36. package/packages/backend/dist/provider-services/google/index.js +3 -3
  37. package/packages/backend/dist/provider-services/google/vertex-ai.js +1 -1
  38. package/packages/backend/dist/provider-services/index.d.ts +4 -0
  39. package/packages/backend/dist/provider-services/index.js +47 -13
  40. package/packages/backend/dist/provider-services/node.js +11 -11
  41. package/packages/backend/dist/provider-services/storage/dropbox.js +4 -4
  42. package/packages/backend/dist/provider-services/storage/github.js +4 -4
  43. package/packages/backend/dist/provider-services/storage/node.js +7 -7
  44. package/packages/backend/dist/provider-services/storage.js +6 -6
  45. package/packages/backend/dist/provider-services/types.d.ts +16 -2
  46. package/packages/state-graph/dist/browser.js +24 -24
  47. package/packages/state-graph/dist/index.js +24 -24
  48. package/packages/backend/dist/chunk-5SXOQAAX.js +0 -41
  49. package/packages/backend/dist/chunk-FKK23J2A.js +0 -363
  50. package/packages/backend/dist/{chunk-LMWXONZG.js → chunk-EREYT3WJ.js} +3 -3
  51. package/packages/state-graph/dist/{chunk-YUJC367F.js → chunk-UKTICGGV.js} +3 -3
@@ -0,0 +1,8 @@
1
+ {
2
+ "schema": 1,
3
+ "packageName": "@ultrst-armada/kloks",
4
+ "version": "2.2.7",
5
+ "sourceCommit": "8e2d29a9204c32532face96a8ea36cec4eaba05f",
6
+ "releaseWorkflow": "npm Release",
7
+ "workflowRunId": "44698999455"
8
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ultrst-armada/kloks",
3
- "version": "2.2.5",
3
+ "version": "2.2.7",
4
4
  "private": false,
5
5
  "publishConfig": {
6
6
  "access": "public",
@@ -7,9 +7,9 @@ import {
7
7
  endpointRefresher,
8
8
  modelCatalog,
9
9
  modelHealthService
10
- } from "../chunk-LMWXONZG.js";
11
- import "../chunk-P7H6TIEA.js";
10
+ } from "../chunk-EREYT3WJ.js";
12
11
  import "../chunk-MAMK4GDH.js";
12
+ import "../chunk-P7H6TIEA.js";
13
13
  import "../chunk-JSQZAFBU.js";
14
14
  export {
15
15
  EndpointRefresher,
@@ -6,11 +6,11 @@ import {
6
6
  failoverExecutionEngine,
7
7
  healthCheckService,
8
8
  metricsLogger
9
- } from "../chunk-PT6J6UEU.js";
10
- import "../chunk-LMWXONZG.js";
11
- import "../chunk-P7H6TIEA.js";
9
+ } from "../chunk-LMAU62ZG.js";
12
10
  import "../chunk-SLR6SIEU.js";
11
+ import "../chunk-EREYT3WJ.js";
13
12
  import "../chunk-MAMK4GDH.js";
13
+ import "../chunk-P7H6TIEA.js";
14
14
  import "../chunk-JSQZAFBU.js";
15
15
  export {
16
16
  FailoverExecutionEngine,
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  createProviderClient
3
- } from "./chunk-X57LLCAQ.js";
3
+ } from "./chunk-MQ6AHJ6X.js";
4
4
  import {
5
5
  resolveProviderServiceId
6
- } from "./chunk-FKK23J2A.js";
6
+ } from "./chunk-G6FLQJS6.js";
7
7
 
8
8
  // src/provider-services/storage-providers.ts
9
9
  import { encodeSafePathSegments } from "@dinilmusick/gutts/urls/safety";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  listGitHubRepositories,
3
3
  listGitHubRepositoryContents
4
- } from "./chunk-PECE5QKV.js";
4
+ } from "./chunk-AMI5MY6E.js";
5
5
  import {
6
6
  UnsupportedStorageOperation,
7
7
  normalizeStoragePath
@@ -0,0 +1,496 @@
1
+ // src/provider-services/free-compute.ts
2
+ var offers = [
3
+ { "providerId": "cloudflare", "allowance": "100,000 Workers requests/day; 10 ms CPU/request", "renewal": "daily", "quotaScope": "account", "workload": "function", "access": "general", "sourceUrl": "https://developers.cloudflare.com/workers/platform/limits/", "notes": "Workers Free only; the Pages Functions allowance is not separate.", "verifiedDate": "2026-11-20", "allocationEnabled": false },
4
+ { "providerId": "cloudflare-browser-run", "allowance": "10 managed-browser minutes/day", "renewal": "daily", "quotaScope": "account", "workload": "browser", "access": "restricted", "sourceUrl": "https://developers.cloudflare.com/browser-run/pricing/", "notes": "Browser API only, not arbitrary VM/container runtime.", "verifiedDate": "2026-11-20", "allocationEnabled": false },
5
+ { "providerId": "vercel-sandbox", "allowance": "5 active CPU-hours/month on Hobby", "renewal": "monthly", "quotaScope": "account", "workload": "sandbox", "access": "general", "sourceUrl": "https://vercel.com/pricing", "notes": "Sandbox and deployment Functions are different products; memory is separately metered.", "verifiedDate": "2026-11-20", "allocationEnabled": false },
6
+ { "providerId": "google-cloud-run", "allowance": "Monthly request, vCPU and memory free tiers (region/billing dependent)", "renewal": "monthly", "quotaScope": "billing-account", "workload": "container", "access": "general", "sourceUrl": "https://cloud.google.com/run/pricing", "notes": "Billing account required; measured quota and billable region must be verified.", "verifiedDate": "2026-11-20", "allocationEnabled": false },
7
+ { "providerId": "google-compute-engine", "allowance": "One e2-micro-equivalent instance plus eligible disk/egress", "renewal": "ongoing", "quotaScope": "billing-account", "workload": "vm", "access": "general", "sourceUrl": "https://cloud.google.com/products/compute", "notes": "Always Free restricted to qualifying regions and machine types; monthly hour equivalent.", "verifiedDate": "2026-11-20", "allocationEnabled": false },
8
+ { "providerId": "google-app-engine", "allowance": "28 F1 and 9 B1 Standard instance-hours/day", "renewal": "daily", "quotaScope": "project", "workload": "container", "access": "general", "sourceUrl": "https://docs.cloud.google.com/appengine/docs/standard/quotas", "notes": "Standard environment only; not unrestricted machines.", "verifiedDate": "2026-11-20", "allocationEnabled": false },
9
+ { "providerId": "firebase-functions", "allowance": "2 million function invocations/month on eligible Blaze usage", "renewal": "monthly", "quotaScope": "billing-account", "workload": "function", "access": "general", "sourceUrl": "https://firebase.google.com/docs/functions/faq-and-troubleshooting", "notes": "Blaze billing required; avoid double-counting any shared Cloud Run billing meters.", "verifiedDate": "2026-11-20", "allocationEnabled": false },
10
+ { "providerId": "railway", "allowance": "US$1 recurring resource credit/month on Free", "renewal": "monthly", "quotaScope": "account", "workload": "container", "access": "general", "sourceUrl": "https://docs.railway.com/pricing/free-plan", "notes": "US$5 signup trial is separate and does not renew.", "verifiedDate": "2026-11-20", "allocationEnabled": false },
11
+ { "providerId": "render", "allowance": "750 Free instance-hours per workspace/calendar month", "renewal": "monthly", "quotaScope": "workspace", "workload": "container", "access": "general", "sourceUrl": "https://render.com/docs/free", "notes": "Free web instances may spin down or restart; not a general VM.", "verifiedDate": "2026-11-20", "allocationEnabled": false },
12
+ { "providerId": "koyeb", "allowance": "One eligible Free instance on supported plans", "renewal": "ongoing", "quotaScope": "organization", "workload": "container", "access": "general", "sourceUrl": "https://www.koyeb.com/docs/reference/instances", "notes": "Plan availability, new signup and payment-method eligibility require confirmation.", "verifiedDate": "2026-11-20", "allocationEnabled": false },
13
+ { "providerId": "oracle-cloud", "allowance": "Always Free Ampere A1 1,500 OCPU-hours and 9,000 GB-hours/month", "renewal": "ongoing", "quotaScope": "account", "workload": "vm", "access": "general", "sourceUrl": "https://docs.oracle.com/en-us/iaas/Content/FreeTier/freetier_topic-Always_Free_Resources.htm", "notes": "A1 capacity and reclaim policies apply; quota is not independent per created project.", "verifiedDate": "2026-11-20", "allocationEnabled": false },
14
+ { "providerId": "modal", "allowance": "US$30 Starter compute credit/month for CPUs and GPUs", "renewal": "monthly", "quotaScope": "workspace", "workload": "gpu", "access": "general", "sourceUrl": "https://modal.com/pricing", "notes": "Serverless workloads; paid overage and eligible workspace plan must be controlled.", "verifiedDate": "2026-11-20", "allocationEnabled": false },
15
+ { "providerId": "beam-cloud", "allowance": "US$30 free credit refreshed monthly", "renewal": "monthly", "quotaScope": "workspace", "workload": "gpu", "access": "general", "sourceUrl": "https://www.beam.cloud/pricing", "notes": "GPU/container compute; confirm availability, costs and plan billing.", "verifiedDate": "2026-11-20", "allocationEnabled": false },
16
+ { "providerId": "freestyle-vms", "allowance": "20 vCPU-hours plus 40 GiB-hours memory/day", "renewal": "daily", "quotaScope": "account", "workload": "vm", "access": "general", "sourceUrl": "https://www.freestyle.sh/pricing", "notes": "Free VMs are not persistent; new official daily pricing supersedes older monthly docs.", "verifiedDate": "2026-11-20", "allocationEnabled": false },
17
+ { "providerId": "northflank", "allowance": "Two free services, two cron jobs and one free database", "renewal": "ongoing", "quotaScope": "workspace", "workload": "container", "access": "restricted", "sourceUrl": "https://northflank.com/pricing", "notes": "Sandbox plan is resource-count bounded; no separately confirmed monthly renewal credit.", "verifiedDate": "2026-11-20", "allocationEnabled": false },
18
+ { "providerId": "scaleway-containers", "allowance": "200,000 vCPU-seconds and 400,000 GB-seconds/month", "renewal": "monthly", "quotaScope": "account", "workload": "container", "access": "general", "sourceUrl": "https://www.scaleway.com/en/pricing/serverless/", "notes": "Serverless Containers meter; verify account-level combined quota across products.", "verifiedDate": "2026-11-20", "allocationEnabled": false },
19
+ { "providerId": "scaleway-jobs", "allowance": "Monthly serverless job compute allowance; see vCPU and GB meters", "renewal": "monthly", "quotaScope": "account", "workload": "container", "access": "general", "sourceUrl": "https://www.scaleway.com/en/docs/serverless-jobs/faq/", "notes": "Do not assume independent quota from Scaleway Containers without billing confirmation.", "verifiedDate": "2026-11-20", "allocationEnabled": false },
20
+ { "providerId": "aws-lambda", "allowance": "1 million requests plus 400,000 GB-seconds/month", "renewal": "monthly", "quotaScope": "account", "workload": "function", "access": "general", "sourceUrl": "https://aws.amazon.com/lambda/pricing/", "notes": "AWS account free-tier eligibility and other service charges apply.", "verifiedDate": "2026-11-20", "allocationEnabled": false },
21
+ { "providerId": "azure-container-apps", "allowance": "180,000 vCPU-seconds, 360,000 GiB-seconds and 2 million requests/month", "renewal": "monthly", "quotaScope": "subscription", "workload": "container", "access": "general", "sourceUrl": "https://learn.microsoft.com/azure/container-apps/billing", "notes": "Consumption plan only; other Azure resources can incur charges.", "verifiedDate": "2026-11-20", "allocationEnabled": false },
22
+ { "providerId": "azure-functions", "allowance": "1 million requests and 400,000 GB-seconds/month", "renewal": "monthly", "quotaScope": "subscription", "workload": "function", "access": "general", "sourceUrl": "https://learn.microsoft.com/azure/azure-functions/pricing", "notes": "Consumption plan and regional billing eligibility apply.", "verifiedDate": "2026-11-20", "allocationEnabled": false },
23
+ { "providerId": "digitalocean-functions", "allowance": "90,000 GiB-seconds/month across team Functions", "renewal": "monthly", "quotaScope": "workspace", "workload": "function", "access": "general", "sourceUrl": "https://docs.digitalocean.com/products/functions/details/pricing/", "notes": "Does not make Droplets free; allowance shared with App Platform function components.", "verifiedDate": "2026-11-20", "allocationEnabled": false },
24
+ { "providerId": "ibm-code-engine", "allowance": "100,000 vCPU-seconds/month on eligible Code Engine usage", "renewal": "monthly", "quotaScope": "account", "workload": "container", "access": "general", "sourceUrl": "https://cloud.ibm.com/codeengine/landing", "notes": "Check RAM/request allocations and billing plan separately.", "verifiedDate": "2026-11-20", "allocationEnabled": false },
25
+ { "providerId": "deno-deploy", "allowance": "1 million requests, 15 CPU-hours and 350 GB-hours memory/month", "renewal": "monthly", "quotaScope": "organization", "workload": "function", "access": "general", "sourceUrl": "https://deno.com/deploy/pricing", "notes": "New Deno Deploy, not Classic; personal/small projects and acceptable-use limits.", "verifiedDate": "2026-11-20", "allocationEnabled": false },
26
+ { "providerId": "netlify-functions", "allowance": "300 shared Free plan credits/month", "renewal": "monthly", "quotaScope": "workspace", "workload": "function", "access": "general", "sourceUrl": "https://www.netlify.com/pricing/", "notes": "Credits also cover bandwidth and other platform products; not 300 compute-only credits.", "verifiedDate": "2026-11-20", "allocationEnabled": false },
27
+ { "providerId": "supabase-edge-functions", "allowance": "500,000 Edge Function invocations/month on Free", "renewal": "monthly", "quotaScope": "organization", "workload": "function", "access": "general", "sourceUrl": "https://supabase.com/docs/guides/platform/manage-your-usage/edge-function-invocations", "notes": "This is Deno Edge Functions, not a full VM; project limits still apply.", "verifiedDate": "2026-11-20", "allocationEnabled": false },
28
+ { "providerId": "kaggle-notebooks", "allowance": "About 30 GPU notebook-hours/week, variable with demand", "renewal": "weekly", "quotaScope": "account", "workload": "notebook", "access": "restricted", "sourceUrl": "https://www.kaggle.com/docs/efficient-gpu-usage", "notes": "Notebook/data-science environment; not a general remote worker or quota-pooling endpoint.", "verifiedDate": "2026-11-20", "allocationEnabled": false },
29
+ { "providerId": "huggingface-zerogpu", "allowance": "Daily ZeroGPU quota for eligible Spaces", "renewal": "daily", "quotaScope": "account", "workload": "gpu", "access": "restricted", "sourceUrl": "https://huggingface.co/docs/hub/main/spaces-zerogpu", "notes": "Shared Spaces queue and owner eligibility; not unrestricted GPU machine access.", "verifiedDate": "2026-11-20", "allocationEnabled": false },
30
+ { "providerId": "github-actions", "allowance": "Plan-dependent monthly hosted CI minutes (Free commonly 2,000)", "renewal": "monthly", "quotaScope": "account", "workload": "ci", "access": "restricted", "sourceUrl": "https://docs.github.com/en/actions/concepts/billing-and-usage", "notes": "GitHub Actions may only run policy-compliant CI/CD, not generic compute outsourcing.", "verifiedDate": "2026-11-20", "allocationEnabled": false },
31
+ { "providerId": "gitlab-ci", "allowance": "400 GitLab.com compute minutes/month for Free namespaces", "renewal": "monthly", "quotaScope": "namespace", "workload": "ci", "access": "restricted", "sourceUrl": "https://docs.gitlab.com/ci/pipelines/compute_minutes/", "notes": "CI/CD runner usage only, not hosting or general background compute.", "verifiedDate": "2026-11-20", "allocationEnabled": false },
32
+ { "providerId": "github-codespaces", "allowance": "120 core-hours/month for personal GitHub Free", "renewal": "monthly", "quotaScope": "account", "workload": "developer", "access": "restricted", "sourceUrl": "https://docs.github.com/en/billing/reference/product-usage-included", "notes": "Developer environment only; 120 core-hours = 60 wall hours for a 2-core Codespace.", "verifiedDate": "2026-11-20", "allocationEnabled": false },
33
+ { "providerId": "huggingface-spaces-cpu", "allowance": "Free CPU Basic Space with 2 vCPU, 16 GB RAM and ephemeral storage", "renewal": "ongoing", "quotaScope": "account", "workload": "container", "access": "restricted", "sourceUrl": "https://huggingface.co/docs/hub/spaces-gpus", "notes": "For hosted ML/demo Spaces; eligibility and sleep policies apply, not a general-purpose VM.", "verifiedDate": "2026-11-20", "allocationEnabled": false },
34
+ { "providerId": "cloudflare-workers-ai", "allowance": "10,000 Workers AI Neurons/day on eligible models", "renewal": "daily", "quotaScope": "account", "workload": "gpu", "access": "restricted", "sourceUrl": "https://developers.cloudflare.com/workers-ai/platform/pricing/", "notes": "Predefined model inference only, not arbitrary GPU compute; some models require a paid plan.", "verifiedDate": "2026-11-20", "allocationEnabled": false },
35
+ { "providerId": "fermyon-cloud", "allowance": "100,000 Spin request executions per account/month", "renewal": "monthly", "quotaScope": "account", "workload": "function", "access": "restricted", "sourceUrl": "https://developer.fermyon.com/cloud/faq", "notes": "Fermyon Cloud Starter supports Spin WebAssembly workloads only; capped usage and app count.", "verifiedDate": "2026-11-20", "allocationEnabled": false }
36
+ ];
37
+ var offerById = new Map(offers.map((offer) => [offer.providerId, offer]));
38
+ function getFreeComputeOffer(id) {
39
+ const offer = offerById.get(id);
40
+ return offer && { ...offer };
41
+ }
42
+ function listFreeComputeOffers() {
43
+ return offers.map((offer) => ({ ...offer }));
44
+ }
45
+ var supplementalComputeProviders = [
46
+ { "id": "cloudflare-browser-run", "name": "Cloudflare Browser Run", "parentId": "cloudflare", "category": "cloud", "status": "catalogued", "credentialModes": ["api-token"], "capabilities": ["managed-browser"], "renewal": "daily", "apiImplemented": false, "usageImplemented": false, "docsUrl": "https://developers.cloudflare.com/browser-run/pricing/" },
47
+ { "id": "google-app-engine", "name": "Google App Engine Standard", "parentId": "google", "category": "cloud", "status": "catalogued", "credentialModes": ["oauth2"], "capabilities": ["managed-app"], "renewal": "daily", "apiImplemented": false, "usageImplemented": false, "docsUrl": "https://docs.cloud.google.com/appengine/docs/standard/quotas" },
48
+ { "id": "firebase-functions", "name": "Firebase Cloud Functions", "parentId": "google", "category": "cloud", "status": "catalogued", "credentialModes": ["oauth2"], "capabilities": ["functions"], "renewal": "monthly", "apiImplemented": false, "usageImplemented": false, "docsUrl": "https://firebase.google.com/docs/functions/faq-and-troubleshooting" },
49
+ { "id": "modal", "name": "Modal", "category": "cloud", "status": "catalogued", "credentialModes": ["api-token"], "capabilities": ["cpu-gpu-jobs"], "renewal": "monthly", "apiImplemented": false, "usageImplemented": false, "docsUrl": "https://modal.com/pricing" },
50
+ { "id": "beam-cloud", "name": "Beam Cloud", "category": "cloud", "status": "catalogued", "credentialModes": ["api-token"], "capabilities": ["cpu-gpu-jobs"], "renewal": "monthly", "apiImplemented": false, "usageImplemented": false, "docsUrl": "https://www.beam.cloud/pricing" },
51
+ { "id": "freestyle-vms", "name": "Freestyle Virtual Machines", "category": "cloud", "status": "catalogued", "credentialModes": ["api-token"], "capabilities": ["virtual-machines"], "renewal": "daily", "apiImplemented": false, "usageImplemented": false, "docsUrl": "https://www.freestyle.sh/pricing" },
52
+ { "id": "northflank", "name": "Northflank Sandbox", "category": "cloud", "status": "catalogued", "credentialModes": ["api-token"], "capabilities": ["containers-jobs"], "renewal": "ongoing", "apiImplemented": false, "usageImplemented": false, "docsUrl": "https://northflank.com/pricing" },
53
+ { "id": "scaleway-containers", "name": "Scaleway Serverless Containers", "category": "cloud", "status": "catalogued", "credentialModes": ["api-key"], "capabilities": ["containers"], "renewal": "monthly", "apiImplemented": false, "usageImplemented": false, "docsUrl": "https://www.scaleway.com/en/pricing/serverless/" },
54
+ { "id": "scaleway-jobs", "name": "Scaleway Serverless Jobs", "category": "cloud", "status": "catalogued", "credentialModes": ["api-key"], "capabilities": ["container-jobs"], "renewal": "monthly", "apiImplemented": false, "usageImplemented": false, "docsUrl": "https://www.scaleway.com/en/docs/serverless-jobs/faq/" },
55
+ { "id": "aws-lambda", "name": "AWS Lambda", "category": "cloud", "status": "catalogued", "credentialModes": ["aws-sigv4"], "capabilities": ["functions"], "renewal": "monthly", "apiImplemented": false, "usageImplemented": false, "docsUrl": "https://aws.amazon.com/lambda/pricing/" },
56
+ { "id": "azure-container-apps", "name": "Azure Container Apps", "category": "cloud", "status": "catalogued", "credentialModes": ["oauth2"], "capabilities": ["containers"], "renewal": "monthly", "apiImplemented": false, "usageImplemented": false, "docsUrl": "https://learn.microsoft.com/azure/container-apps/billing" },
57
+ { "id": "azure-functions", "name": "Azure Functions", "category": "cloud", "status": "catalogued", "credentialModes": ["oauth2"], "capabilities": ["functions"], "renewal": "monthly", "apiImplemented": false, "usageImplemented": false, "docsUrl": "https://learn.microsoft.com/azure/azure-functions/pricing" },
58
+ { "id": "digitalocean-functions", "name": "DigitalOcean Functions", "category": "cloud", "status": "catalogued", "credentialModes": ["api-token"], "capabilities": ["functions"], "renewal": "monthly", "apiImplemented": false, "usageImplemented": false, "docsUrl": "https://docs.digitalocean.com/products/functions/details/pricing/" },
59
+ { "id": "ibm-code-engine", "name": "IBM Code Engine", "category": "cloud", "status": "catalogued", "credentialModes": ["api-key"], "capabilities": ["containers-jobs"], "renewal": "monthly", "apiImplemented": false, "usageImplemented": false, "docsUrl": "https://cloud.ibm.com/codeengine/landing" },
60
+ { "id": "deno-deploy", "name": "Deno Deploy", "category": "deployment", "status": "catalogued", "credentialModes": ["api-token"], "capabilities": ["edge-functions"], "renewal": "monthly", "apiImplemented": false, "usageImplemented": false, "docsUrl": "https://deno.com/deploy/pricing" },
61
+ { "id": "netlify-functions", "name": "Netlify Functions", "category": "deployment", "status": "catalogued", "credentialModes": ["api-token"], "capabilities": ["functions"], "renewal": "monthly", "apiImplemented": false, "usageImplemented": false, "docsUrl": "https://www.netlify.com/pricing/" },
62
+ { "id": "supabase-edge-functions", "name": "Supabase Edge Functions", "category": "cloud", "status": "catalogued", "credentialModes": ["api-key"], "capabilities": ["functions"], "renewal": "monthly", "apiImplemented": false, "usageImplemented": false, "docsUrl": "https://supabase.com/docs/guides/platform/manage-your-usage/edge-function-invocations" },
63
+ { "id": "kaggle-notebooks", "name": "Kaggle Notebooks GPU", "category": "developer", "status": "catalogued", "credentialModes": ["api-key"], "capabilities": ["notebooks"], "renewal": "weekly", "apiImplemented": false, "usageImplemented": false, "docsUrl": "https://www.kaggle.com/docs/efficient-gpu-usage" },
64
+ { "id": "huggingface-zerogpu", "name": "Hugging Face ZeroGPU Spaces", "parentId": "huggingface", "category": "cloud", "status": "catalogued", "credentialModes": ["api-token"], "capabilities": ["gpu-spaces"], "renewal": "daily", "apiImplemented": false, "usageImplemented": false, "docsUrl": "https://huggingface.co/docs/hub/main/spaces-zerogpu" },
65
+ { "id": "github-actions", "name": "GitHub Actions CI", "parentId": "github", "category": "developer", "status": "catalogued", "credentialModes": ["api-token"], "capabilities": ["ci-jobs"], "renewal": "monthly", "apiImplemented": false, "usageImplemented": false, "docsUrl": "https://docs.github.com/en/actions/concepts/billing-and-usage" },
66
+ { "id": "gitlab-ci", "name": "GitLab CI", "parentId": "gitlab", "category": "developer", "status": "catalogued", "credentialModes": ["api-token"], "capabilities": ["ci-jobs"], "renewal": "monthly", "apiImplemented": false, "usageImplemented": false, "docsUrl": "https://docs.gitlab.com/ci/pipelines/compute_minutes/" },
67
+ { "id": "github-codespaces", "name": "GitHub Codespaces", "parentId": "github", "category": "developer", "status": "catalogued", "credentialModes": ["api-token"], "capabilities": ["development-vms"], "renewal": "monthly", "apiImplemented": false, "usageImplemented": false, "docsUrl": "https://docs.github.com/en/billing/reference/product-usage-included" },
68
+ { "id": "huggingface-spaces-cpu", "name": "Hugging Face Spaces CPU Basic", "parentId": "huggingface", "category": "cloud", "status": "catalogued", "credentialModes": ["api-token"], "capabilities": ["spaces"], "renewal": "ongoing", "apiImplemented": false, "usageImplemented": false, "docsUrl": "https://huggingface.co/docs/hub/spaces-gpus" },
69
+ { "id": "cloudflare-workers-ai", "name": "Cloudflare Workers AI", "parentId": "cloudflare", "category": "ai", "status": "catalogued", "credentialModes": ["api-token"], "capabilities": ["managed-inference"], "renewal": "daily", "apiImplemented": false, "usageImplemented": false, "docsUrl": "https://developers.cloudflare.com/workers-ai/platform/pricing/" },
70
+ { "id": "fermyon-cloud", "name": "Fermyon Cloud Spin", "category": "cloud", "status": "catalogued", "credentialModes": ["api-token"], "capabilities": ["spin-wasm-functions"], "renewal": "monthly", "apiImplemented": false, "usageImplemented": false, "docsUrl": "https://developer.fermyon.com/cloud/faq" }
71
+ ];
72
+
73
+ // src/provider-services/registry.ts
74
+ var definitions = [
75
+ {
76
+ id: "cloudflare",
77
+ name: "Cloudflare",
78
+ category: "deployment",
79
+ status: "ready",
80
+ credentialModes: ["api-token"],
81
+ capabilities: ["workers", "pages", "usage"],
82
+ renewal: "daily",
83
+ apiImplemented: true,
84
+ usageImplemented: true,
85
+ docsUrl: "https://developers.cloudflare.com/api/"
86
+ },
87
+ {
88
+ id: "cloudflare-containers",
89
+ parentId: "cloudflare",
90
+ name: "Cloudflare Containers (Workers Paid)",
91
+ category: "cloud",
92
+ status: "catalogued",
93
+ credentialModes: ["api-token"],
94
+ capabilities: ["containers"],
95
+ renewal: "monthly",
96
+ apiImplemented: false,
97
+ usageImplemented: false,
98
+ docsUrl: "https://developers.cloudflare.com/containers/"
99
+ },
100
+ {
101
+ id: "vercel",
102
+ name: "Vercel",
103
+ category: "deployment",
104
+ status: "ready",
105
+ credentialModes: ["api-token"],
106
+ capabilities: ["projects", "deployments", "usage"],
107
+ renewal: "monthly",
108
+ apiImplemented: true,
109
+ usageImplemented: true,
110
+ docsUrl: "https://vercel.com/docs/rest-api"
111
+ },
112
+ {
113
+ id: "vercel-sandbox",
114
+ parentId: "vercel",
115
+ name: "Vercel Sandbox",
116
+ category: "cloud",
117
+ status: "catalogued",
118
+ credentialModes: ["api-token"],
119
+ capabilities: ["sandboxes"],
120
+ renewal: "monthly",
121
+ apiImplemented: false,
122
+ usageImplemented: false,
123
+ docsUrl: "https://vercel.com/docs/vercel-sandbox"
124
+ },
125
+ {
126
+ id: "google",
127
+ name: "Google",
128
+ kind: "suite",
129
+ category: "suite",
130
+ status: "ready",
131
+ credentialModes: ["oauth2"],
132
+ capabilities: ["identity"],
133
+ renewal: "unknown",
134
+ apiImplemented: true,
135
+ usageImplemented: false,
136
+ docsUrl: "https://developers.google.com/identity"
137
+ },
138
+ {
139
+ id: "google-gemini",
140
+ parentId: "google",
141
+ name: "Gemini Developer API",
142
+ category: "ai",
143
+ status: "ready",
144
+ credentialModes: ["api-key"],
145
+ capabilities: ["models", "inference"],
146
+ renewal: "daily",
147
+ apiImplemented: true,
148
+ usageImplemented: false,
149
+ docsUrl: "https://ai.google.dev/gemini-api/docs"
150
+ },
151
+ {
152
+ id: "google-drive",
153
+ parentId: "google",
154
+ name: "Google Drive",
155
+ category: "storage",
156
+ status: "ready",
157
+ credentialModes: ["oauth2"],
158
+ capabilities: ["files", "folders"],
159
+ renewal: "ongoing",
160
+ apiImplemented: true,
161
+ usageImplemented: false,
162
+ docsUrl: "https://developers.google.com/workspace/drive/api"
163
+ },
164
+ {
165
+ id: "google-cloud-run",
166
+ parentId: "google",
167
+ name: "Google Cloud Run",
168
+ category: "cloud",
169
+ status: "ready",
170
+ credentialModes: ["oauth2"],
171
+ capabilities: ["list-services"],
172
+ renewal: "monthly",
173
+ apiImplemented: true,
174
+ usageImplemented: false,
175
+ docsUrl: "https://cloud.google.com/run/docs"
176
+ },
177
+ {
178
+ id: "google-cloud-storage",
179
+ parentId: "google",
180
+ name: "Google Cloud Storage",
181
+ category: "storage",
182
+ status: "catalogued",
183
+ credentialModes: ["oauth2"],
184
+ capabilities: ["buckets", "objects"],
185
+ renewal: "ongoing",
186
+ apiImplemented: false,
187
+ usageImplemented: false,
188
+ docsUrl: "https://cloud.google.com/storage/docs"
189
+ },
190
+ {
191
+ id: "google-cloud-shell",
192
+ parentId: "google",
193
+ name: "Google Cloud Shell",
194
+ category: "cloud",
195
+ status: "catalogued",
196
+ credentialModes: ["oauth2"],
197
+ capabilities: ["terminal"],
198
+ renewal: "unknown",
199
+ apiImplemented: false,
200
+ usageImplemented: false,
201
+ docsUrl: "https://cloud.google.com/shell/docs"
202
+ },
203
+ {
204
+ id: "google-vertex-ai",
205
+ parentId: "google",
206
+ name: "Vertex AI",
207
+ category: "ai",
208
+ status: "catalogued",
209
+ credentialModes: ["oauth2"],
210
+ capabilities: ["inference", "models"],
211
+ renewal: "monthly",
212
+ apiImplemented: false,
213
+ usageImplemented: false,
214
+ docsUrl: "https://cloud.google.com/vertex-ai/docs"
215
+ },
216
+ {
217
+ id: "backblaze-b2",
218
+ name: "Backblaze B2",
219
+ category: "storage",
220
+ status: "ready",
221
+ credentialModes: ["application-key"],
222
+ capabilities: ["buckets", "files"],
223
+ renewal: "ongoing",
224
+ apiImplemented: true,
225
+ usageImplemented: false,
226
+ docsUrl: "https://www.backblaze.com/docs/cloud-storage"
227
+ },
228
+ {
229
+ id: "github",
230
+ name: "GitHub",
231
+ category: "storage",
232
+ status: "ready",
233
+ credentialModes: ["oauth2", "api-token"],
234
+ capabilities: ["repositories", "contents"],
235
+ renewal: "ongoing",
236
+ apiImplemented: true,
237
+ usageImplemented: false,
238
+ docsUrl: "https://docs.github.com/en/rest"
239
+ },
240
+ {
241
+ id: "gitlab",
242
+ name: "GitLab.com",
243
+ category: "storage",
244
+ status: "ready",
245
+ credentialModes: ["oauth2", "api-token"],
246
+ capabilities: ["projects", "repository-tree"],
247
+ renewal: "ongoing",
248
+ apiImplemented: true,
249
+ usageImplemented: false,
250
+ docsUrl: "https://docs.gitlab.com/api/"
251
+ },
252
+ {
253
+ id: "dropbox",
254
+ name: "Dropbox",
255
+ category: "storage",
256
+ status: "ready",
257
+ credentialModes: ["oauth2"],
258
+ capabilities: ["list-folder", "pagination"],
259
+ renewal: "ongoing",
260
+ apiImplemented: true,
261
+ usageImplemented: false,
262
+ docsUrl: "https://www.dropbox.com/developers/documentation/http/documentation"
263
+ },
264
+ {
265
+ id: "groq",
266
+ name: "Groq",
267
+ category: "ai",
268
+ status: "catalogued",
269
+ credentialModes: ["api-key"],
270
+ capabilities: ["inference", "models"],
271
+ renewal: "daily",
272
+ apiImplemented: false,
273
+ usageImplemented: false,
274
+ docsUrl: "https://console.groq.com/docs/rate-limits"
275
+ },
276
+ {
277
+ id: "cerebras",
278
+ name: "Cerebras",
279
+ category: "ai",
280
+ status: "catalogued",
281
+ credentialModes: ["api-key"],
282
+ capabilities: ["inference", "models"],
283
+ renewal: "daily",
284
+ apiImplemented: false,
285
+ usageImplemented: false,
286
+ docsUrl: "https://inference-docs.cerebras.ai/"
287
+ },
288
+ {
289
+ id: "huggingface",
290
+ name: "Hugging Face",
291
+ category: "ai",
292
+ status: "catalogued",
293
+ credentialModes: ["api-token"],
294
+ capabilities: ["inference", "models"],
295
+ renewal: "monthly",
296
+ apiImplemented: false,
297
+ usageImplemented: false,
298
+ docsUrl: "https://huggingface.co/docs/inference-providers/pricing"
299
+ },
300
+ {
301
+ id: "openrouter",
302
+ name: "OpenRouter (free models)",
303
+ category: "ai",
304
+ status: "catalogued",
305
+ credentialModes: ["api-key"],
306
+ capabilities: ["inference", "models"],
307
+ renewal: "daily",
308
+ apiImplemented: false,
309
+ usageImplemented: false,
310
+ docsUrl: "https://openrouter.ai/collections/free-models"
311
+ },
312
+ {
313
+ id: "render",
314
+ name: "Render",
315
+ category: "deployment",
316
+ status: "ready",
317
+ credentialModes: ["api-key"],
318
+ capabilities: ["list-services"],
319
+ renewal: "monthly",
320
+ apiImplemented: true,
321
+ usageImplemented: false,
322
+ docsUrl: "https://render.com/docs/free"
323
+ },
324
+ {
325
+ id: "railway",
326
+ name: "Railway",
327
+ category: "deployment",
328
+ status: "ready",
329
+ credentialModes: ["api-token"],
330
+ capabilities: ["account-identity"],
331
+ renewal: "monthly",
332
+ apiImplemented: true,
333
+ usageImplemented: false,
334
+ docsUrl: "https://docs.railway.com/pricing/plans"
335
+ },
336
+ {
337
+ id: "koyeb",
338
+ name: "Koyeb Free Instance",
339
+ category: "cloud",
340
+ status: "catalogued",
341
+ credentialModes: ["api-token"],
342
+ capabilities: ["instances", "services"],
343
+ renewal: "ongoing",
344
+ apiImplemented: false,
345
+ usageImplemented: false,
346
+ docsUrl: "https://www.koyeb.com/docs"
347
+ },
348
+ {
349
+ id: "google-compute-engine",
350
+ parentId: "google",
351
+ name: "Google Compute Engine",
352
+ category: "cloud",
353
+ status: "catalogued",
354
+ credentialModes: ["oauth2"],
355
+ capabilities: ["instances"],
356
+ renewal: "monthly",
357
+ apiImplemented: false,
358
+ usageImplemented: false,
359
+ docsUrl: "https://cloud.google.com/compute/docs"
360
+ },
361
+ {
362
+ id: "oracle-cloud",
363
+ name: "Oracle Cloud Always Free",
364
+ category: "cloud",
365
+ status: "catalogued",
366
+ credentialModes: ["api-key"],
367
+ capabilities: ["instances"],
368
+ renewal: "ongoing",
369
+ apiImplemented: false,
370
+ usageImplemented: false,
371
+ docsUrl: "https://www.oracle.com/cloud/free/"
372
+ },
373
+ {
374
+ id: "replit",
375
+ name: "Replit",
376
+ category: "developer",
377
+ status: "catalogued",
378
+ credentialModes: ["api-token"],
379
+ capabilities: ["development"],
380
+ renewal: "unknown",
381
+ apiImplemented: false,
382
+ usageImplemented: false,
383
+ docsUrl: "https://docs.replit.com/"
384
+ },
385
+ {
386
+ id: "fly",
387
+ name: "Fly.io (nonrenewable trial)",
388
+ category: "cloud",
389
+ status: "ready",
390
+ credentialModes: ["api-token"],
391
+ capabilities: ["list-apps"],
392
+ renewal: "trial",
393
+ apiImplemented: true,
394
+ usageImplemented: false,
395
+ docsUrl: "https://fly.io/docs/about/free-trial/"
396
+ },
397
+ {
398
+ id: "openai",
399
+ name: "OpenAI API",
400
+ category: "ai",
401
+ status: "excluded",
402
+ credentialModes: ["api-key"],
403
+ capabilities: ["inference"],
404
+ renewal: "unknown",
405
+ apiImplemented: false,
406
+ usageImplemented: false,
407
+ docsUrl: "https://platform.openai.com/docs"
408
+ },
409
+ {
410
+ id: "xai",
411
+ name: "xAI Grok API",
412
+ category: "ai",
413
+ status: "excluded",
414
+ credentialModes: ["api-key"],
415
+ capabilities: ["inference"],
416
+ renewal: "unknown",
417
+ apiImplemented: false,
418
+ usageImplemented: false,
419
+ docsUrl: "https://docs.x.ai/"
420
+ },
421
+ ...supplementalComputeProviders
422
+ ];
423
+ var byId = new Map(definitions.map((def) => [def.id, def]));
424
+ var aliases = {
425
+ cloudflare_workers: "cloudflare",
426
+ cloudflare_pages: "cloudflare",
427
+ gemini: "google-gemini",
428
+ google_ai_studio: "google-gemini",
429
+ backblaze: "backblaze-b2",
430
+ backblaze_b2: "backblaze-b2",
431
+ google_drive: "google-drive",
432
+ google_cloud_storage: "google-cloud-storage",
433
+ github_repos: "github",
434
+ gitlab_repos: "gitlab"
435
+ };
436
+ function resolveProviderServiceId(id) {
437
+ const clean = String(id || "").trim().toLowerCase().replace(/-/g, "_");
438
+ return aliases[clean] ?? clean.replace(/_/g, "-");
439
+ }
440
+ function getProviderService(id) {
441
+ const item = byId.get(resolveProviderServiceId(id));
442
+ const freeCompute = item && getFreeComputeOffer(item.id);
443
+ return item && {
444
+ ...item,
445
+ ...freeCompute ? { freeCompute } : {},
446
+ credentialModes: [...item.credentialModes],
447
+ capabilities: [...item.capabilities]
448
+ };
449
+ }
450
+ function listProviderServices(category) {
451
+ return definitions.filter((item) => !category || item.category === category).map((item) => getProviderService(item.id));
452
+ }
453
+ function listRecognizedAccountServices() {
454
+ return listProviderServices().filter((item) => item.status === "ready" && item.apiImplemented);
455
+ }
456
+ function listProviderServiceChildren(parentId) {
457
+ const id = resolveProviderServiceId(parentId);
458
+ return listProviderServices().filter((service) => service.parentId === id);
459
+ }
460
+ function listProviderServiceTree() {
461
+ const nodes = new Map(listProviderServices().map((service) => [
462
+ service.id,
463
+ { ...service, children: [] }
464
+ ]));
465
+ const roots = [];
466
+ for (const node of nodes.values()) {
467
+ const parent = node.parentId && nodes.get(node.parentId);
468
+ if (parent && parent.id !== node.id) parent.children.push(node);
469
+ else roots.push(node);
470
+ }
471
+ return roots;
472
+ }
473
+ function getProviderServicePath(id) {
474
+ const path = [];
475
+ const visited = /* @__PURE__ */ new Set();
476
+ let current = getProviderService(id);
477
+ while (current && !visited.has(current.id)) {
478
+ visited.add(current.id);
479
+ path.unshift(current);
480
+ current = current.parentId ? getProviderService(current.parentId) : void 0;
481
+ }
482
+ return path;
483
+ }
484
+
485
+ export {
486
+ getFreeComputeOffer,
487
+ listFreeComputeOffers,
488
+ supplementalComputeProviders,
489
+ resolveProviderServiceId,
490
+ getProviderService,
491
+ listProviderServices,
492
+ listRecognizedAccountServices,
493
+ listProviderServiceChildren,
494
+ listProviderServiceTree,
495
+ getProviderServicePath
496
+ };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createProviderClient
3
- } from "./chunk-X57LLCAQ.js";
3
+ } from "./chunk-MQ6AHJ6X.js";
4
4
 
5
5
  // src/provider-services/gemini.ts
6
6
  async function listGeminiModels(connection, transport = fetch) {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createCanonicalStorageService
3
- } from "./chunk-KQ6IWV3F.js";
3
+ } from "./chunk-LPM5E2A2.js";
4
4
 
5
5
  // src/provider-services/storage-node.ts
6
6
  import { createService, createServiceDefinition } from "@ultrst-armada/krnl";
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  failoverExecutionEngine
3
- } from "./chunk-PT6J6UEU.js";
3
+ } from "./chunk-LMAU62ZG.js";
4
4
  import {
5
- modelCatalog
6
- } from "./chunk-LMWXONZG.js";
5
+ aiProviderService
6
+ } from "./chunk-SLR6SIEU.js";
7
7
  import {
8
8
  toolManagerService
9
9
  } from "./chunk-U4HUGPRH.js";
10
10
  import {
11
11
  inferenceExecutor
12
12
  } from "./chunk-MK4ZRBFI.js";
13
+ import {
14
+ modelCatalog
15
+ } from "./chunk-EREYT3WJ.js";
13
16
  import {
14
17
  keyStore
15
18
  } from "./chunk-P7H6TIEA.js";
16
- import {
17
- aiProviderService
18
- } from "./chunk-SLR6SIEU.js";
19
19
 
20
20
  // src/krnl-ai-services.ts
21
21
  import {