Repository navigation
Conversation
…c0mpute /api/v1/ai/text; v0.58.0 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
ThreatCrush Security Scan1 finding(s) in the 10 file(s) this pull request changes. MEDIUM: 1
155 pre-existing finding(s) elsewhere in the repository — **HIGH**: 5 | **MEDIUM**: 110 | **LOW**: 40Not introduced by this pull request.
…and 135 more; the full set is in the SARIF artifact. Snippets are redacted; ThreatCrush never prints matched credential material. |
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
House rule (2026-11-30): AI on c0mpute first, OpenAI/Anthropic when c0mpute fails or is too slow.
Myna Studio's AI writer now calls c0mpute.com
POST /api/v1/ai/text(profullstack/c0mpute#600) instead of/v1/chat/completions:@profullstack/ai-providers; the paid keys live in c0mpute's vault, not here) and charges the person's balance 2x that provider's list-price cost as Infernet usage kindai.fallback(usage-charge: house kinds ai.fallback and social.plan InfernetProtocol/infernet-protocol#285), idempotent on a per-draftidem_key. A fallback answer is only returned once the charge went through.complete()returns{ text, provider, model, billed };/ai/writereturns those next todrafts. Docs updated. v0.58.0 (core, cli, mcp, version.ts).Tests:
bun test apps/api/test/studio.test.ts apps/api/test/studio.integration.test.ts(20 pass), the release test line (929 pass),tsc --noEmitclean. (apps/api/test/openconnection.test.ts "forums come from nichedb" fails on main too: the board name in its fixture changed; not this PR.)🤖 Generated with Claude Code