Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,11 +99,19 @@ jobs:
#
# plugin-api has no dependencies of its own: typescript + @types/node are
# the whole toolchain, which is why core's middleware is never installed.
#
# 3. `--legacy-peer-deps`: even with `--no-workspaces`, npm 10.9's
# arborist still walks the peer-dependency web of core's OWN tree
# when building the ideal tree, and since core moved to vite 8 /
# vitest 4.1 that walk dies inside `#loadPeerSet` with
# "Cannot read properties of null (reading 'edgesOut')" — before a
# single byte of typescript is installed. Nothing here needs peer
# resolution (two leaf packages), so skipping it is the whole fix.
- name: Build @omadia/plugin-api from the sibling checkout
working-directory: odoo-bot/middleware
run: |
npm install --ignore-scripts --no-save --no-package-lock --no-workspaces \
typescript@^6.0.2 @types/node@^25.6.0
--legacy-peer-deps typescript@^6.0.2 @types/node@^25.6.0
./node_modules/.bin/tsc -p packages/plugin-api
test -f packages/plugin-api/dist/index.d.ts

Expand Down
2 changes: 1 addition & 1 deletion docker-compose.dev-platform.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ services:
# instant, silent-to-the-runner 500 with zero tokens spent. Comma-separated,
# exact string match (llmProxy.ts: `policy.allowedModels.includes(model)`)
# against whatever `--model` the CLI actually reports in its init message.
DEV_PLATFORM_LLM_ALLOWED_MODELS: ${DEV_PLATFORM_LLM_ALLOWED_MODELS:-claude-opus-4-8[1m],claude-opus-4-8,claude-sonnet-4-8[1m],claude-sonnet-4-8}
DEV_PLATFORM_LLM_ALLOWED_MODELS: ${DEV_PLATFORM_LLM_ALLOWED_MODELS:-claude-opus-5[1m],claude-opus-5,claude-sonnet-5[1m],claude-sonnet-5,claude-opus-4-8[1m],claude-opus-4-8}
# Egress allowlist entries every job gets in ADDITION to the middleware
# host + its own repo's forge host (deriveJobPolicy.ts). Absent by
# default (config.ts), which is correct for a repo needing no package
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/plugin/manifest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ identity:
# settled on (specs/470-dev-platform-plugin/plan.md §4.1). There is no
# "platform" kind.
kind: "extension"
version: "0.3.4"
version: "0.3.5"
domain: "dev-platform"
description: "Runs autonomous coding jobs against your GitHub repositories. An agent clones a repo into an isolated runner, drives an LLM through an analyze/plan/implement/review pipeline, and opens a pull request — bounded at every step by human approval gates, a diff policy, a per-job cost budget and an egress allowlist. Ships its own operator UI, HTTP routes, chat tools, background workers and nine database tables it migrates itself. Runners execute on Fly Machines or on local Docker; neither ever sees a long-lived credential. Extracted from omadia core into its own installable plugin (epic byte5ai/omadia#470)."
authors:
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@omadia/dev-platform",
"version": "0.3.4",
"version": "0.3.5",
"private": true,
"type": "module",
"main": "dist/plugin.js",
Expand Down
4 changes: 4 additions & 0 deletions packages/plugin/src/host/usageTelemetry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,14 @@ export const CACHE_WRITE_MULTIPLIER = 1.25;
/** Exact-id price table. Falls through to family matching for anything else. */
const EXACT_PRICES: Readonly<Record<string, ModelPrice>> = {
// --- Anthropic (input_tokens excludes cached; multiplier-based cache) ------
'claude-opus-5': { inputPerMTok: 5, outputPerMTok: 25 },
'claude-opus-4-8': { inputPerMTok: 5, outputPerMTok: 25 },
'claude-opus-4-7': { inputPerMTok: 5, outputPerMTok: 25 },
'claude-opus-4-6': { inputPerMTok: 5, outputPerMTok: 25 },
'claude-opus-4-5': { inputPerMTok: 5, outputPerMTok: 25 },
// Sonnet 5 is CHEAPER than 4.6 — without this exact entry the generic
// 'sonnet' family fallback would over-bill it at the old $3/$15 rate.
'claude-sonnet-5': { inputPerMTok: 2, outputPerMTok: 10 },
'claude-sonnet-4-6': { inputPerMTok: 3, outputPerMTok: 15 },
'claude-sonnet-4-5': { inputPerMTok: 3, outputPerMTok: 15 },
'claude-haiku-4-5': { inputPerMTok: 1, outputPerMTok: 5 },
Expand Down
Loading