Skip to content

Commit a61cdcf

Browse files
feat: move validate skill to opencode and remove Langfuse dependency
- Move SKILL.md and batch_validate.py from packages/altimate-code/src/skills/validate/ to packages/opencode/src/skill/validate/ - Rewrite batch_validate.py to call Altimate backend API directly via SSE for single trace, date range, and session modes; remove all Langfuse usage - Fix build.ts and validate.ts to reference new skill path (src/skill/validate/) - Auto-install validate skill after bun run build via postbuild step in packages/opencode/package.json - Remove empty packages/altimate-code/src/hooks/settings.json
1 parent eb25894 commit a61cdcf

File tree

9 files changed

+368
-402
lines changed

9 files changed

+368
-402
lines changed

bun.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/altimate-code/src/hooks/settings.json

Lines changed: 0 additions & 3 deletions
This file was deleted.

packages/altimate-code/src/provider/models-snapshot.ts

Lines changed: 2 additions & 0 deletions
Large diffs are not rendered by default.

packages/altimate-code/src/skills/validate/batch_validate.py

Lines changed: 0 additions & 369 deletions
This file was deleted.

packages/opencode/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"scripts": {
99
"typecheck": "tsgo --noEmit",
1010
"test": "bun test --timeout 30000",
11-
"build": "bun run script/build.ts",
11+
"build": "bun run script/build.ts && ./bin/altimate-code validate install",
1212
"dev": "bun run --conditions=browser ./src/index.ts",
1313
"db": "bun drizzle-kit"
1414
},

0 commit comments

Comments
 (0)