feat: support use remote device in IM integration (#12798)

* support timezone in system prompt

refactor to improve user prompts

refactor tool engine

refactor tools map mode

add bot callback service

clean

improve cli

update agentic tracing

refactor cli login

refactor cli

add device auth

improve device gateway implement

implement gateway pipeline

support device Gateway connect

support gateway

* revert electron device

* inject builtins agent prompts

* update tracing

* add testing

* refactor the activeDeviceId

* refactor BotCallbackService

* fix test and lint

* fix test and lint

* add tests

* fix tests

* fix lint
This commit is contained in:
Arvin Xu
2026-03-09 01:17:56 +08:00
committed by GitHub
parent c1757e2e19
commit 4363994945
84 changed files with 6212 additions and 681 deletions

View File

@@ -1,9 +1,10 @@
import { DataSyncConfig } from '@lobechat/electron-client-ipc';
import retry from 'async-retry';
import { session as electronSession, safeStorage } from 'electron';
import querystring from 'node:querystring';
import { URL } from 'node:url';
import type { DataSyncConfig } from '@lobechat/electron-client-ipc';
import retry from 'async-retry';
import { safeStorage, session as electronSession } from 'electron';
import { OFFICIAL_CLOUD_SERVER } from '@/const/env';
import { appendVercelCookie } from '@/utils/http-headers';
import { createLogger } from '@/utils/logger';

View File

@@ -1,4 +1,4 @@
import { DataSyncConfig } from '@lobechat/electron-client-ipc';
import type { DataSyncConfig } from '@lobechat/electron-client-ipc';
import { beforeEach, describe, expect, it, vi } from 'vitest';
import type { App } from '@/core/App';