Nakocai
Nakocai
The OpenAI provider drops `{ type: 'image' }` content blocks during message conversion, so images are never sent to the model when using OpenAI-compatible endpoints. **Changes:** - `convertUserMessage()` now converts...
`import.meta.url` is undefined in pkg-packaged binaries, causing skills resource resolution to fail. **Fix:** Fallback to `__dirname` and `process.cwd()` + additional pkg-specific resource path.
The `POST /providers/detect` endpoint only tested Anthropic-style APIs. Now supports both: - Accepts `apiType` parameter (`anthropic-messages` or `openai-completions`) - Builds correct URL: `/v1/messages` vs `/v1/chat/completions` - Uses proper auth: `x-api-key`...
New `env` field in `config.json` for injecting environment variables at startup: ```json { "env": { "MY_API_KEY": "sk-xxx" } } ``` Supports `${VAR}` template syntax resolved from `process.env`. Only injects if...
Users can toggle individual skills on/off via REST API. Config persisted to `~/.workany/skills-config.json`. All skills enabled by default; only explicitly disabled ones are listed. **Endpoints:** `GET /skills/config`, `POST /skills/config`, `PUT...
Feishu/Lark adapter implementing the `ChannelAdapter` interface: - **WebSocket mode** via `@larksuiteoapi/node-sdk` WSClient (no public URL needed) - **Webhook mode** with HMAC signature verification - Multi-type message parsing (text, post, image,...
Generic adapter interface enabling WorkAny to receive messages from external IM platforms (mobile access): - `core/channel/types.ts`: `ChannelAdapter` interface (webhook + WebSocket modes, streaming cards) - `core/channel/manager.ts`: Central registry with per-channel...
Replaces the simple 2K-token conversation truncation with a proper context management system: - **Token-budget-aware assembly** (12K tokens default, up from 2K) - **Auto-compaction**: older messages summarized via LLM with strict...
Tool results always had `isError: false`, even when output contained `Error:`, `ECONNREFUSED`, `403`, etc. The frontend couldn't distinguish successful tool calls from failed ones. **Fix:** Added `looksLikeError()` heuristic + respect...
**Problem:** Images saved to disk → agent told to Read them → SDK Read tool returns `[Image file: path (size bytes)]` placeholder → model never sees the image. **Fix:** Pass...