26 Commits

Author SHA1 Message Date
larchanka
3d0d5b0d27 chore: update package lock 2026-04-14 19:22:14 +02:00
larchanka
ae454123a2 chore: update package lock 2026-04-14 19:21:10 +02:00
larchanka
42f537eb4a chore: update package lock 2026-04-14 13:52:46 +02:00
Mikhail Larchanka
bbf7526940 Merge branch 'main' into release/v2.0.0 2026-04-14 13:43:28 +02:00
dependabot[bot]
6a69da9495 chore(deps): bump vite in the npm_and_yarn group across 1 directory
Bumps the npm_and_yarn group with 1 update in the / directory: [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite).


Updates `vite` from 8.0.2 to 8.0.5
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v8.0.5/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-version: 8.0.5
  dependency-type: indirect
  dependency-group: npm_and_yarn
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-04-10 19:38:04 +02:00
larchanka
3d17545dcd Update dependencies 2026-04-05 16:28:43 +02:00
larchanka
645ef8701e Update dependencies 2026-04-05 16:28:23 +02:00
dependabot[bot]
d2bc7f3da2 chore(deps): bump picomatch in the npm_and_yarn group across 1 directory
Bumps the npm_and_yarn group with 1 update in the / directory: [picomatch](https://github.com/micromatch/picomatch).


Updates `picomatch` from 2.3.1 to 2.3.2
- [Release notes](https://github.com/micromatch/picomatch/releases)
- [Changelog](https://github.com/micromatch/picomatch/blob/master/CHANGELOG.md)
- [Commits](https://github.com/micromatch/picomatch/compare/2.3.1...2.3.2)

---
updated-dependencies:
- dependency-name: picomatch
  dependency-version: 2.3.2
  dependency-type: indirect
  dependency-group: npm_and_yarn
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-04-05 16:27:17 +02:00
dependabot[bot]
3c85eef2bf chore(deps): bump lodash in the npm_and_yarn group across 1 directory
Bumps the npm_and_yarn group with 1 update in the / directory: [lodash](https://github.com/lodash/lodash).


Updates `lodash` from 4.17.23 to 4.18.1
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.23...4.18.1)

---
updated-dependencies:
- dependency-name: lodash
  dependency-version: 4.18.1
  dependency-type: indirect
  dependency-group: npm_and_yarn
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-04-05 16:20:18 +02:00
dependabot[bot]
dea80b30a1 chore(deps): bump brace-expansion
Bumps the npm_and_yarn group with 1 update in the / directory: [brace-expansion](https://github.com/juliangruber/brace-expansion).


Updates `brace-expansion` from 1.1.12 to 1.1.13
- [Release notes](https://github.com/juliangruber/brace-expansion/releases)
- [Commits](https://github.com/juliangruber/brace-expansion/compare/v1.1.12...v1.1.13)

---
updated-dependencies:
- dependency-name: brace-expansion
  dependency-version: 1.1.13
  dependency-type: indirect
  dependency-group: npm_and_yarn
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-04-05 16:11:31 +02:00
dependabot[bot]
0f0eb1a024 chore(deps): bump ajv in the npm_and_yarn group across 1 directory
Bumps the npm_and_yarn group with 1 update in the / directory: [ajv](https://github.com/ajv-validator/ajv).


Updates `ajv` from 6.12.6 to 6.14.0
- [Release notes](https://github.com/ajv-validator/ajv/releases)
- [Commits](https://github.com/ajv-validator/ajv/compare/v6.12.6...v6.14.0)

---
updated-dependencies:
- dependency-name: ajv
  dependency-version: 6.14.0
  dependency-type: indirect
  dependency-group: npm_and_yarn
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-04-05 15:58:37 +02:00
dependabot[bot]
28f3b6bba4 chore(deps): bump minimatch in the npm_and_yarn group across 1 directory
Bumps the npm_and_yarn group with 1 update in the / directory: [minimatch](https://github.com/isaacs/minimatch).


Updates `minimatch` from 3.1.2 to 3.1.5
- [Changelog](https://github.com/isaacs/minimatch/blob/main/changelog.md)
- [Commits](https://github.com/isaacs/minimatch/compare/v3.1.2...v3.1.5)

---
updated-dependencies:
- dependency-name: minimatch
  dependency-version: 3.1.5
  dependency-type: indirect
  dependency-group: npm_and_yarn
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-04-05 15:56:58 +02:00
larchanka
1e68b8f699 add tests coverage 2026-03-23 23:25:53 +01:00
larchanka
dd3a4a2d7d feat: send file to telegram functionality as a tool 2026-03-23 23:25:53 +01:00
larchanka
b64c4bc095 fix shcdules, add presentation, finish lemonade migration 2026-03-11 20:58:38 +01:00
larchanka
86736d861c Bump version 2026-02-23 09:01:29 +01:00
larchanka
8b92e04ca7 feat(dashboard): improved date formatting, daily log selection, and auto-refresh; feat(logger): implemented daily log rotation; chore: version bump to 1.0.1 2026-02-22 00:45:11 +01:00
larchanka
2ac9db6905 FP-01: Add nodejs-whisper and ffmpeg-static dependencies
- Add nodejs-whisper ^0.2.9 to dependencies (speech-to-text transcription)
- Add ffmpeg-static ^5.3.0 to dependencies (bundled audio conversion binary)
- Add @types/ffmpeg-static ^5.1.0 to devDependencies (TypeScript types)
- Both packages confirmed ESM-compatible with Node.js 20+
- TypeScript build passes with no errors
2026-02-21 23:59:46 +01:00
larchanka
06fe4970dd P12-01: Add required dependencies (playwright, playwright-extra, puppeteer-extra-plugin-stealth, turndown)
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-17 14:43:12 +01:00
larchanka
924a4b8022 P9-01: Implement proper terminal logging with colorization
- Install @larchanka/colors-js dependency
- Create src/utils/console-logger.ts with structured logging:
  - Timestamps (ISO format)
  - Log levels (INFO, DEBUG, WARN, ERROR)
  - Process name colorization
  - IPC envelope formatting (from → to, type, correlationId)
  - Error highlighting with stack traces
- Update Orchestrator to use console-logger for:
  - All routed IPC envelopes (request/response/error/event)
  - Child process stderr output with proper formatting
  - Process lifecycle events (spawn, exit, errors)
  - Replace all raw process.stderr.write() calls
- Update LoggerService to output to console in addition to file logging
- Add TypeScript declarations for @larchanka/colors-js

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-17 14:43:12 +01:00
larchanka
43197732fd P7-01: RAG vector search with sqlite-vss
- Add sqlite-vss dependency; load extension in RAGStore when opening DB
- Create vss0 virtual table vss_rag_embedding(embedding(N)); N from rag.embeddingDimensions (default 768)
- Insert: write to rag_documents then to vss by rowid; search: vss_search when vss loaded, else dot-product full scan
- Guard: empty vss table returns []; k = max(1, limit) for faiss
- Config: rag.embeddingDimensions, RAG_EMBEDDING_DIMENSIONS; config.json.example updated
- Tests: RAGStore(dbPath, 4) for 4-dim test vectors; relax score assertion for vss (L2 -> 1/(1+d))
- Docs: README, TECH, COMPONENTS, PROJECT, AI-Agent, PLAN, TASKS, BOARD updated; P7-01 in Done

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-17 09:39:51 +01:00
larchanka
a98582f098 P4-03 to P4-06: RAG Service, Semantic Search Node, Tool Host, Cron Manager
P4-03: Add src/services/rag-service.ts (Ollama embed, in-memory vector store, memory.semantic.insert/search, node.execute semantic_search)
- Add OllamaAdapter.embed() for /api/embed
P4-04: Executor already invokes rag-service for semantic_search; context passed to generate_text
P4-05: Add src/services/tool-host.ts (read_file, write_file, http_get, sandbox via TOOL_SANDBOX_DIR, tool.execute + node.execute)
P4-06: Add src/services/cron-manager.ts (node-cron, SQLite schedule registry, event.cron.* to Logger)
- Add rag-service, tool-host, cron-manager to orchestrator PROCESS_SCRIPTS
- Add node-cron dependency

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-16 23:57:54 +01:00
larchanka
8b0ff31b60 P4-01: Implement Telegram Adapter
- Add src/adapters/telegram-adapter.ts using node-telegram-bot-api
- Normalize incoming Telegram messages to Message Protocol (telegram.incoming)
- Forward messages to Core via stdout; receive responses via stdin and send to user
- Add start:telegram and dev:telegram scripts

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-16 23:46:33 +01:00
larchanka
301ea3e5c5 P1-06: Write integration tests for Task Memory Service
- Add vitest; create src/services/__tests__/task-memory.test.ts
- Test: task creation with nodes/edges, node status lifecycle (pending->running->completed/failed)
- Test: node results and reflections, getTaskState, completeTask/failTask
- Test: duplicate task/node IDs (UNIQUE constraint), invalid task ref, non-existent node update

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-16 23:40:31 +01:00
larchanka
9df957d964 P1-05: Implement Task Memory Service
- Add src/services/task-memory.ts with TaskMemoryStore and TaskMemoryService
- Use better-sqlite3; create data/ and DB file; run schema from _docs/TASK MEMORY SQLITE SCHEMA.md
- Tables: tasks, task_nodes, task_edges, task_node_results, task_reflections, task_events
- Methods: createTaskWithDag, updateNodeStatus, storeNodeResult, appendReflection, completeTask, failTask, getTask, getTaskState
- Service process handles task.create, task.update, task.get, task.appendReflection, task.complete, task.fail via stdin/stdout

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-16 23:37:11 +01:00
larchanka
00ba58e89f P1-01: Initialize project structure
- Add package.json with metadata, Node >=20, core deps (typescript, tsx, zod, pino)
- Add tsconfig.json for Node.js 20+ and strict mode (ES2022, NodeNext)
- Create directory structure: src/, src/core/, src/agents/, src/services/, src/shared/, src/adapters/
- Add minimal src/index.ts; project compiles with tsc

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-16 23:27:23 +01:00