core, libs: configurable queue size, library fixes (#7542)

* core: add chat_migrate_init_queue FFI export

* bots: fix BadgeServiceErrorCode API type

* nodejs: pass required command fields

* nodejs: fix migration error types

* nodejs: install libsimplex from SIMPLEX_LIBS_DIR

* nodejs: add queue size option

* nodejs: regenerate docs

* python: add queue size option

* bots: pass incognito in APIConnect

* nodejs: accept documented success responses

* python: accept documented success responses

* nodejs: dispatch each bot message once

* nodejs: fix startChat events loop lifecycle

* nodejs, python: parse multi-line bot commands

* nodejs: fix file buffer handling in addon

* nodejs: keep events loop when chat stop fails

* python: fix send_and_wait race, load lib off loop

* python: make queue size export optional

* nodejs: receive events on a dedicated thread

* nodejs: release haskell thread after receive

* python: receive on a dedicated thread per chat

* python: test receive shutdown order

* nodejs: one receive thread per chat controller

* nodejs: harden receiver shutdown and tests

* nodejs: stop chat before closing store

* python: stop chat before closing store

* nodejs, python: harden close regression and retry

* python: free results with ucrt on windows

* nodejs: enable c++ exceptions on mac and windows
This commit is contained in:
sh
2026-09-19 12:18:46 +01:00
committed by GitHub
parent ecb9d87157
commit c8f20bcc91
78 changed files with 1670 additions and 571 deletions
@@ -6,7 +6,7 @@
# Interface: BotConfig
Defined in: [src/bot.ts:35](../src/bot.ts#L35)
Defined in: [src/bot.ts:36](../src/bot.ts#L36)
## Properties
@@ -14,7 +14,7 @@ Defined in: [src/bot.ts:35](../src/bot.ts#L35)
> **dbOpts**: [`BotDbOpts`](bot.TypeAlias.BotDbOpts.md)
Defined in: [src/bot.ts:37](../src/bot.ts#L37)
Defined in: [src/bot.ts:38](../src/bot.ts#L38)
***
@@ -22,7 +22,7 @@ Defined in: [src/bot.ts:37](../src/bot.ts#L37)
> `optional` **events?**: [`EventSubscribers`](api.TypeAlias.EventSubscribers.md)
Defined in: [src/bot.ts:44](../src/bot.ts#L44)
Defined in: [src/bot.ts:45](../src/bot.ts#L45)
***
@@ -30,7 +30,7 @@ Defined in: [src/bot.ts:44](../src/bot.ts#L44)
> `optional` **onCommands?**: `object`
Defined in: [src/bot.ts:41](../src/bot.ts#L41)
Defined in: [src/bot.ts:42](../src/bot.ts#L42)
#### Index Signature
@@ -42,7 +42,7 @@ Defined in: [src/bot.ts:41](../src/bot.ts#L41)
> `optional` **onMessage?**: (`chatItem`, `content`) => `void` \| `Promise`\<`void`\>
Defined in: [src/bot.ts:39](../src/bot.ts#L39)
Defined in: [src/bot.ts:40](../src/bot.ts#L40)
#### Parameters
@@ -64,7 +64,7 @@ Defined in: [src/bot.ts:39](../src/bot.ts#L39)
> **options**: [`BotOptions`](bot.Interface.BotOptions.md)
Defined in: [src/bot.ts:38](../src/bot.ts#L38)
Defined in: [src/bot.ts:39](../src/bot.ts#L39)
***
@@ -72,4 +72,4 @@ Defined in: [src/bot.ts:38](../src/bot.ts#L38)
> **profile**: `Profile`
Defined in: [src/bot.ts:36](../src/bot.ts#L36)
Defined in: [src/bot.ts:37](../src/bot.ts#L37)