Hi - I answer from the OpenSmartRoute documentation: routing, the API, plans and quotas, self-hosting. Ask away, or open a support ticket if you need a person.
Grounded in the docs - follow a source before acting on it.
Instruction file imported from hellhellpnick/context-graph (.github/instructions/src/source-extract/ruby.instructions.md). Copyright stays with the author.
When to Read
editing or refactoring ruby.ts
Overview
src/source-extract/ruby.ts (34 lines · 2 top-level symbols) — Ruby symbol and require extraction.
Graph
graph LR ruby[ruby]
Signatures
// ── src/source-extract/ruby.ts ──/** Ruby symbol and require extraction. */export function extractRubyImports(rb: string): string[] { const out: string[] = []; for (const rawLine of rb.replace(/\r\n/g, '\n').split('\n')) { const line = rawLine.split('#')[0].trim(); if (!line) continue; const req = line.match(/^…export function extractRubySymbolLines(rb: string): string[] { /* ~20 lines */ }
Dependencies
No dependencies detected
Use it
Copy one of these into your project. Installing also returns the manifest and these snippets.
# after Install: the listing is in your workspace's routing pool - a plan picks it for its slot
curl -s -X POST https://api.opensmartroute.ai/api/v1/route -H 'Authorization: Bearer $OSR_API_KEY' -H 'Content-Type: application/json' -d '{"text": "...", "plan": true}'
Manifest
An Open Capability Manifest: the router reads it to know what this does, what it costs and when to pick it.