Skip to content

v0.1.9

Choose a tag to compare

@Phantivia Phantivia released this 09 Oct 16:03
f944984

Extension contract versions are unchanged: world 5, provider 5, bot 6.

Languages

  • The web console is available in 11 languages: 简体中文, 繁體中文, English, 日本語, 한국어, Français, Deutsch,
    Español (Latinoamérica), Português (Brasil), Italiano and Русский. Settings → General lists them; config.json
    language and CORTICO_LANGUAGE take the exact codes zh, zh-Hant, en, ja, ko, fr, de, es-419,
    pt-BR, it, ru, and the system locale maps onto them (#197, #198).
  • pick(language, table) requires zh and en; any other language is optional and may translate part of a
    table. A missing language or key falls back to zh for zh-Hant and to en for the rest. Translations live in
    strings.<lang>.ts beside each strings.ts (#197, #198).
  • The console language still does not change model input. Core text that can reach model context (abort reasons,
    deadline and cognition errors, host-lifecycle errors) is now English; markers are exported from markers.ts
    (ABORT_*, HOST_LIFECYCLE_ENDED) (#197).
  • Extensions receive the wider Language in World.console, Persona.console, configOptions and
    ProviderModule.localize. Code that branches on language === 'en' now sends the nine new languages down the
    other branch; use pick or baseLanguage instead (#197).
  • Console responses, receipts and errors from server.ts, the path picker, the reasoning probe and the Cormini
    workspace and history panels are translated; the shutdown report states a step timeout in the console language
    (#198).

Core

  • withDeadline rejects with an exported DeadlineError (what, ms). CortiV detects a cognition timeout by
    that error instead of comparing wall-clock time (#197).

Extensions and console

  • Extension cards and details show total, 30-day and 7-day downloads from npm's download statistics
    (api.npmjs.org), whichever registry installs use (#195).
  • A rejected async console route now returns 500 and logs API错误, instead of leaving the request open and
    surfacing as an unhandled rejection (#194).

Worlds

  • Each release publishes minecraft, qq, bilibili and websearch to npm as cortico-world-<id> at the
    framework's version, for apps that do not bundle them. A package whose id matches a built-in World is not
    loaded (#196).

Translations in this release were machine-translated and have not been reviewed by native speakers. Corrections are
welcome as pull requests to the strings.<lang>.ts files.