release(desktop): beta29 with Sesli bridge version 9
Server CI and Windows package / verify (push) Successful in 42s
Server CI and Windows package / windows-package (push) Successful in 9m11s

This commit is contained in:
yilsem committed 2026-10-12 17:38:12 +03:00
1 parent 017c6629d2
commit eeee2756c7
6 files changed
+28 -5

No files matched your search

+1 -1
View File
@@ -32,7 +32,7 @@ import urllib.error
import urllib.request
HERE = os.path.dirname(os.path.abspath(__file__))
SURUM = "8" # AITURK IDE'nin bekledigi kopru surumu (codex-link-config.ts CODEX_BRIDGE_VERSION)
SURUM = "9" # AITURK IDE'nin bekledigi kopru surumu (codex-link-config.ts CODEX_BRIDGE_VERSION)
try:
with open(os.path.abspath(__file__), "rb") as _f:
KOD = hashlib.sha256(_f.read()).hexdigest()[:8]
@@ -150,7 +150,7 @@ class Ayirici(unittest.TestCase):
# Status still answers in the shape AITURK IDE expects.
durum, cevap, _ = self.iste("GET", "/aiturk/codex-baglama/status")
d = json.loads(cevap)
self.assertEqual((durum, d["surum"], d["kopru"], d["ayirici"]), (200, "8", "kapali", True))
self.assertEqual((durum, d["surum"], d["kopru"], d["ayirici"]), (200, bridge.SURUM, "kapali", True))
def test_model_list_comes_from_the_bridge_and_falls_back_when_it_fails(self):
self.kopru.cevap = duz(200, b'{"models":[{"slug":"gpt-6-astra"},{"slug":"ide/Opus-5"}]}')
@@ -1,7 +1,13 @@
import { describe, expect, it } from 'vitest'
import { execFileSync } from 'node:child_process'
import { mkdtempSync, rmSync } from 'node:fs'
import { tmpdir } from 'node:os'
import path from 'node:path'
import { fileURLToPath } from 'node:url'
import {
addCodexLinkLine,
CODEX_BRIDGE_VERSION,
CODEX_LINK_LINE,
CODEX_LINK_RUN_COMMAND_MAX,
codexAutostartPlan,
@@ -34,6 +40,23 @@ function expectRoundTrip(original: string) {
}
describe('the contract line', () => {
it('expects the version exported by the bundled Python bridge', () => {
const home = mkdtempSync(path.join(tmpdir(), 'codex-bridge-version-'))
try {
const python = process.platform === 'win32' ? 'py' : 'python3'
const args = process.platform === 'win32' ? ['-3'] : []
const version = execFileSync(python, [...args, '-c', 'import bridge; print(bridge.SURUM)'], {
cwd: fileURLToPath(new URL('../assets/codex-bridge/', import.meta.url)),
env: { ...process.env, AITURK_CODEX_BRIDGE_HOME: home, HERMES_HOME: home },
encoding: 'utf8',
windowsHide: true
}).trim()
expect(CODEX_BRIDGE_VERSION).toBe(version)
} finally {
rmSync(home, { recursive: true, force: true })
}
})
it('is the exact text Codex and the bridge agree on', () => {
expect(CODEX_LINK_LINE).toBe(
'openai_base_url = "http://127.0.0.1:8795/backend-api/codex" # AITURK IDE Codex Baglama'
+1 -1
View File
@@ -27,7 +27,7 @@ export const CODEX_LINK_REFRESH_URL = `${CODEX_LINK_ORIGIN}/aiturk/codex-baglama
export const CODEX_LINK_MARKER = '# AITURK IDE Codex Baglama'
// Must equal SURUM in assets/codex-bridge/bridge.py; a running bridge that reports
// another version is restarted so an updated IDE never keeps an old bridge alive.
export const CODEX_BRIDGE_VERSION = '8'
export const CODEX_BRIDGE_VERSION = '9'
export const CODEX_LINK_LINE = `openai_base_url = "${CODEX_LINK_ORIGIN}/backend-api/codex" ${CODEX_LINK_MARKER}`
export const CODEX_LINK_RUN_KEY = 'HKCU\\Software\\Microsoft\\Windows\\CurrentVersion\\Run'
+1 -1
View File
@@ -2,7 +2,7 @@
"name": "aiturk-ide",
"productName": "AITURK IDE",
"private": true,
"version": "1.0.0-beta.28",
"version": "1.0.0-beta.29",
"description": "TurkServis resmi yapay zekâ geliştirme ortamı. Hermes Agent tabanlıdır.",
"author": "AITURK / TurkServis",
"repository": {
+1 -1
View File
@@ -65,7 +65,7 @@
},
"apps/desktop": {
"name": "aiturk-ide",
"version": "1.0.0-beta.28",
"version": "1.0.0-beta.29",
"license": "MIT",
"dependencies": {
"@assistant-ui/core": "0.2.23",