Skip to content

v0.3.0

Choose a tag to compare

@marcostrinca marcostrinca released this 19 Oct 00:29

Upgrading

Every setting now has an English name, with no fallback to the old
Portuguese one. Installs that already exist have to reinstall, or rename
their settings by hand as listed below.

  • The model file is models.yaml (was modelos.yaml); copy it from
    models.example.yaml. Its keys are providers (each with type,
    base_url, api_key_env), tasks (each with model, options,
    fallback) and prices (each with input, cached_input, output).
    Task names: padrao is default, conversa is chat, imagem is
    image, leitura_imagem is image_reading, pesquisa is research,
    programacao is coding, memoria is memory, classificacao is
    classification. npm run modelos is npm run models, and
    MODELOS_ARQUIVO is BRAMBIT_MODELS_FILE.
  • Environment variables in .env: ROBUSTO_PROVIDER is ROBUST_PROVIDER,
    JEV_TRAVAS is JEV_GUARDS, ATENDIMENTO_PUBLICO_AGENTE is
    PUBLIC_SUPPORT_AGENT, WA_PUBLICO_JUNTAR_MS is WA_PUBLIC_MERGE_MS,
    WA_PUBLICO_JUNTAR_MAX_MS is WA_PUBLIC_MERGE_MAX_MS,
    WA_ESPERA_ENTREGA_MS is WA_DELIVERY_WAIT_MS, CANAL_REENVIO_MS is
    CHANNEL_RESEND_MS, FONTES_LINKS is SOURCE_LINKS, VIDEO_EM_REVISAO
    is VIDEO_UNDER_REVIEW, MEMORIA_BUSCA_V2 is MEMORY_SEARCH_V2,
    MEMORIA_HISTORICO is MEMORY_HISTORY, MEMORIA_RECONCILIAR is
    MEMORY_RECONCILE, PERFIL_MODO is PROFILE_MODE, PERFIL_MAX_LINHAS
    is PROFILE_MAX_LINES, PERFIL_DIFF_VERBOSE is PROFILE_DIFF_VERBOSE,
    FREIO_FUNDAMENTACAO is GROUNDING_GUARD, PLANILHA_PY is SHEET_PY
    and RESERVAS_SIMULAR is RESERVATIONS_DRY_RUN. A variable left with the
    old name is ignored, so its feature falls back to the default.
  • Apps host: the brand file is ops/apps-host/brand.json (was
    marca.json), installed as /opt/brambs-router/brand.json, with the keys
    name, site, logo, badge and badge_aria (were nome, site,
    logo, selo, selo_aria); its variable is BRAMBS_BRAND_FILE.
    deploy.sh and check-drift.sh take --apply, --brand and --stamp
    (were --aplicar, --marca and --carimbo).
  • ops/sandbox-host/local.sh outside Linux runs with
    SANDBOX_NO_FIREWALL=1 (was SANDBOX_SEM_FIREWALL).
  • runner-go/build.sh reads PRODUCT, OUT_DIR and WINDOWS_ICON (were
    PRODUTO, SAIDA and ICONE_WINDOWS).
  • The core guard is test-support/core-guard.mjs (was nucleo-guard.mjs),
    takes --no-boot (was --sem-boot) and reads the cloud file list from
    cloud.txt (was nuvem.txt).
  • Every file and folder of the core has an English name. A plugin or
    deployment that imports core files by path has to use the new names, e.g.
    web/brand.mjs (was marca.mjs), web/tools.mjs (ferramentas.mjs),
    web/permissions.mjs (permissoes.mjs), web/spend.mjs (gasto.mjs),
    web/shopping.mjs (compras.mjs), web/public-support.mjs
    (publico.mjs), core-proto/models.mjs (modelos.mjs) and
    web/site-texts/ (site-textos/). The #regras-provedor import alias
    is #provider-rules. The full list is in #41.

What's Changed

Breaking changes

New features

  • Revoke connector access at the provider on disconnect and account deletion (#35) by @marcostrinca in #38
  • Let a team assistant use GitHub only in the repositories its owner enables by @marcostrinca in #40

Bug fixes

  • Keep phones, addresses, prices and dates in English and Spanish out of the summary by @marcostrinca in #37
  • Use NAME, not NOME, as the env var placeholder in model prompts by @marcostrinca in #47
  • Video moderation reason in English by @marcostrinca in #49
  • Send the coding job stop message in the account language (#7) by @marcostrinca in #44
  • Close onboarding journey contacts in the account language (#8) by @marcostrinca in #45
  • Prompts that asked for Portuguese output follow the language of the turn by @marcostrinca in #48
  • Send every coding job text in the account language by @marcostrinca in #51

Documentation

  • Say what Brambit is in the first lines of the README by @marcostrinca in #39
  • Generate release notes from pull requests instead of a hand-edited changelog by @marcostrinca in #46

Dependencies

New Contributors

Full Changelog: v0.2.24...v0.3.0