Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: amingclawdev/toolBoxClient
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
...
head repository: amingclawdev/toolBoxClient
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: dev
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 3 commits
  • 24 files changed
  • 2 contributors

Commits on Mar 20, 2026

  1. feat(v1.5): Phase A — Task lifecycle, human catalog, engine wiring, r…

    …estart recovery
    
    - taskManager.js: State machine (queued→running→waiting_human→paused→completed→
      failed→archived), CRUD, StateService persistence bridge, timeout checker
    - humanCatalog.js: 6 intervention reasons (login_required, captcha_manual,
      tool_build_failed, apply_confirmation, ai_unavailable, browser_disconnected)
      with i18n message templates and action buttons
    - workflowEngine.js: Creates Task on start(), syncs step status to taskManager,
      transitions task on stop/complete/fail
    - workflowStore.js: Add waiting_human to WORKFLOW_STATUS
    - agent.js: Init taskManager on startup, recover running→paused on restart,
      periodic timeout check (60s interval)
    - sessionStore.js: Add workflowTasks to PERSIST_KEYS
    
    Tests: 49 passed (18 taskManager + 11 humanCatalog + 12 workflowEngine + 8 workflowStore)
    
    Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
    amingclawdev and claude committed Mar 20, 2026
    Configuration menu
    Copy the full SHA
    11bd36c View commit details
    Browse the repository at this point in the history
  2. feat(v1.5): Phase B — Auto-archival with data stripping and retention

    - taskArchiver.js: Archive completed/failed tasks after configurable TTL
      (default 7 days), strip large data (seenUrls, queries, buildLogs, profile
      text → section names only), enforce per-session retention limit (default 50)
    - Scheduled scan runs hourly via setInterval
    - agent.js: Start archiver on startup
    - Tests: 8 passed (strip, archive, TTL scan, retention prune, query, summary)
    
    Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
    amingclawdev and claude committed Mar 20, 2026
    Configuration menu
    Copy the full SHA
    7a6aadf View commit details
    Browse the repository at this point in the history
  3. feat(v1.5): Phase C — Notification microservice (Telegram + Feishu)

    notifyService/ — standalone reusable microservice on port 30005:
    - index.js: Express API (send, send-file, channels CRUD, webhook inbound)
    - channelRegistry.js: Adapter registration, config persistence (channels.json)
    - channels/telegram.js: Bot API send/sendFile/parseWebhook with inline buttons
    - channels/feishu.js: Interactive cards, webhook mode, event parsing
    - rateLimiter.js: Token bucket per-channel (20/min default)
    - templateEngine.js: i18n message templates (en + zh-CN)
    - callbackRouter.js: Parse inbound webhooks → forward to workflow engine
    
    server/services/notifyServiceManager.js:
    - Spawn notifyService as child process (same pattern as memoryService)
    - Health check, HTTP client (send/sendFile) for other services
    
    Tests: 14 passed (registry, rate limiter, Telegram webhook, Feishu webhook)
    
    Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
    amingclawdev and claude committed Mar 20, 2026
    Configuration menu
    Copy the full SHA
    04c98ad View commit details
    Browse the repository at this point in the history
Loading