Commit Graph
100 Commits
Author SHA1 Message Date
DarkSky e8857d51b1 fix(server): doc embedding crash with transaction (#13042)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

* **Chores**
* Improved reliability of certain workspace operations to ensure
consistency during processing.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-07-04 15:30:38 +00:00
DarkSky b9c4d7230e feat(server): update session after doc deletion (#13028)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

* **New Features**
* Sessions associated with a deleted document are now automatically
updated to remove the document reference.

* **Improvements**
* Enhanced session management to better handle documents that have been
deleted.

No visible changes to the user interface; these updates improve backend
handling of session and document relationships.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-07-04 07:54:19 +00:00
DarkSky 5a49d5cd24 fix(server): abort behavior in sse stream (#12211)
fix AI-121
fix AI-118

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **Bug Fixes**
- Improved handling of connection closures and request abortion for
streaming and non-streaming chat endpoints, ensuring session data is
saved appropriately even if the connection is interrupted.
- **Refactor**
- Streamlined internal logic for managing request signals and connection
events, resulting in more robust and explicit session management during
streaming interactions.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-07-04 06:07:45 +00:00
DarkSky 2b7a8dcd8a feat(server): use new content reader (#13007)
partial fix AI-280
2025-07-04 00:22:44 +00:00
DarkSky 53968f6f8c feat(server): edit tool intent collect (#12998)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

* **New Features**
* Footnotes are now included in streamed AI responses, formatted as
markdown and appended at the end of the output when available.

* **Improvements**
* Enhanced handling of footnotes across multiple AI providers, ensuring
consistent display of additional information after the main response.

* **Refactor**
  * Removed citation parsing from one provider to streamline output.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-07-03 23:32:30 +00:00
DarkSky 41524425bc fix(server): incorrect list condition (#13005)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

* **Bug Fixes**
* Improved session filtering to use the correct criteria when querying
sessions, ensuring more accurate results based on the action parameter.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-07-03 10:31:11 +00:00
DarkSky 2ea3c3da9d feat(server): expose reuse latest chat (#12999)
fix AI-289
2025-07-03 04:46:23 +00:00
DarkSky 4fd42a8461 fix(server): model mistakenly thinks the edit failed (#12997)
fix AI-288
2025-07-03 04:32:45 +00:00
DarkSky 2ae3c3e2cd feat(server): deprecate blob id provide by client (#12991)
fix AI-287
2025-07-03 03:45:34 +00:00
DarkSky 0326da0806 feat(server): add typed list session gql (#12979)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

* **New Features**
* Introduced new API endpoints and GraphQL queries to retrieve Copilot
chat sessions by workspace, document, and pinned status, with detailed
session and message information.
* Added support for filtering and querying Copilot chat histories with
new options such as pinned status and message ordering.

* **Bug Fixes**
* Improved filtering logic for listing and retrieving chat sessions,
ensuring accurate results for workspace, document, and pinned session
queries.

* **Tests**
* Expanded and refactored test coverage for session listing, filtering,
and new query options to ensure reliability and correctness of Copilot
session retrieval.
* Updated snapshot data to reflect new session types and filtering
capabilities.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-07-01 11:31:37 +00:00
DarkSky 6e034185cf feat: title of session (#12971)
fix AI-253
2025-07-01 05:24:42 +00:00
DarkSky 1c1dade2d5 feat(server): add morph doc edit tool (#12789)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **New Features**
- Introduced support for the Morph provider in the copilot module,
enabling integration with the Morph LLM API.
- Added a new document editing tool that allows users to propose and
apply edits to existing documents via AI assistance.
- **Configuration**
- Added configuration options for the Morph provider in both backend and
admin interfaces.
- **Enhancements**
- Expanded tool support to include document editing capabilities within
the copilot feature set.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-06-28 08:27:08 +00:00
DarkSky 9b881eb59a feat(server): faster reranking based on confidence (#12957)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

* **New Features**
* Improved document reranking with a more streamlined and accurate
scoring system.
* Enhanced support for binary ("yes"/"no") document relevance judgments.

* **Improvements**
* Simplified user prompts and output formats for reranking tasks, making
results easier to interpret.
  * Increased reliability and consistency in document ranking results.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-06-28 03:41:53 +00:00
DarkSky e6f91cced6 feat(server): remove context prefetch & integrate context search (#12956)
fix AI-173
2025-06-27 23:45:49 +08:00
DarkSky 5e193b58c0 fix(server): allow fork empty session in playground (#12940)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

* **Bug Fixes**
* Improved session forking by allowing sessions to be forked even when
no messages are provided, preventing unnecessary errors.
* Reduced unnecessary database operations by only updating messages when
there are messages to update.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-06-26 09:04:25 +00:00
DarkSky 06f27e8d6a feat(server): allow multiple session attach to doc (#12933)
fix AI-236
2025-06-26 02:15:31 +00:00
DarkSky e32c9a814a feat(server): improve session modify (#12928)
fix AI-248
2025-06-25 12:02:21 +00:00
DarkSky 07ec427021 fix(server): copilot permission check (#12923)
fix AI-176
2025-06-25 17:01:58 +08:00
DarkSky 13b64c6780 fix(server): session update check (#12877)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

- **Bug Fixes**
- Improved validation to prevent updates to sessions with action prompts
and restrict certain updates on forked sessions.
- **Tests**
- Expanded and clarified test coverage for session updates, pinning
behavior, and session type conversions, with more explicit error
handling and validation scenarios.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-06-20 08:53:48 +00:00
DarkSky c7113b0195 feat(server): add pinned & action filter for session query (#12876)
fix AI-222
2025-06-20 08:31:04 +00:00
DarkSky dfaf69475b fix(server): session unique index conflict (#12865) 2025-06-20 08:36:22 +08:00
DarkSky bd04930560 feat(server): allow chat session dangling & pin session support (#12849)
fix AI-181
fix AI-179
fix AI-178
fix PD-2682
fix PD-2683
2025-06-19 13:17:01 +08:00
DarkSky 31e65d96d4 fix(server): ci nextest (#12851)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

- **Chores**
- Updated testing workflow to use a specific version of the testing tool
for improved consistency across jobs.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-06-18 20:20:00 +08:00
DarkSky c844786a7f chore(server): bump gemini to ga version (#12845)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

- **Chores**
- Updated Gemini model identifiers from preview versions to their latest
stable versions across prompts and provider configurations. This ensures
continued compatibility and access to the latest Gemini 2.5 Flash and
Pro models. No changes to user-facing features or prompt content.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-06-18 12:42:19 +08:00
DarkSky 09c3aa0a92 chore(server): improve semantic search (#12838)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

- **New Features**
- Updated document-related tools in chat prompts, including new options
for document keyword and semantic search.

- **Refactor**
- Renamed and reorganized document search tools for improved clarity in
tool selection and results display.

- **Bug Fixes**
- Ensured tool identifiers and results are consistent across chat and
search features.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-06-17 15:01:02 +08:00
DarkSky cdaaa52845 feat(server): embedding search tool (#12810) 2025-06-17 09:22:56 +08:00
DarkSky e118db4387 chore(ios): update gql schema (#12825)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

- **New Features**
- Introduced advanced search and aggregation capabilities, including
support for new search query types, options, and pagination.
- Added new GraphQL mutations and queries for managing workspace
embedding files and ignored documents.
- Extended user and workspace management with new fields and
configuration options.
- Added support for sending test emails and validating app
configuration.

- **Improvements**
- Enhanced license management with updated fragments and additional
fields.
- Improved invitation and member management workflows, including removal
of deprecated arguments and streamlined APIs.
- Expanded support for audio transcription actions and retry
functionality.
- Added new enum values for OAuth providers, server features, and
workspace member status.

- **Removals**
- Deprecated and removed legacy queries and mutations related to user
roles and invitations.

- **Bug Fixes**
- Corrected field types and documentation comments for improved
consistency and clarity.

- **Other**
- Numerous schema and type updates to support new features and enhance
data modeling.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-06-16 16:35:15 +08:00
DarkSky e98f035f97 feat(server): split embedding client (#12809) 2025-06-13 12:37:05 +08:00
DarkSky b4401a8abf chore(server): bump model version (#12798) 2025-06-12 07:40:28 +00:00
DarkSky 83733cd828 feat(server): improve prompts (#12788) 2025-06-12 13:31:16 +08:00
DarkSky ed56f076ed feat(server): improve rerank performance (#12775)
fix AI-183
2025-06-12 13:31:01 +08:00
DarkSky 44d2f301de fix(server): generate image (#11599) 2025-04-10 08:25:02 +00:00
DarkSky d70588f5b7 ci(server): increase test parallelism (#11583) 2025-04-10 11:24:28 +08:00
DarkSky 24fa58df52 fix: quota switch (#10347) 2025-02-21 17:18:30 +08:00
DarkSkyandforehalo fa86f71853 feat(server): client version check (#9205)
Co-authored-by: forehalo <forehalo@gmail.com>
2025-02-20 15:50:22 +08:00
DarkSky 88a3a2d13b feat(server): self-hosted worker (#10085) 2025-02-12 08:01:57 +08:00
DarkSky f64d62d869 fix(server): distinguish local mutex correctly (#9444) 2024-12-31 17:55:08 +08:00
DarkSky 4ae8c2f4ef fix(server): team quota await (#9352) 2024-12-26 12:08:49 +00:00
DarkSky e3f922bfac fix(server): send declined email (#9188) 2024-12-17 18:15:43 +08:00
DarkSky ab1ad65858 feat(server): adapt normal workspace's invite link behavior (#9130) 2024-12-12 20:32:32 +08:00
DarkSky 9b0f1bb293 feat(server): improve team invite (#9092) 2024-12-11 18:00:49 +08:00
DarkSky 9365958a02 feat(server): team quota (#8955) 2024-12-09 18:51:54 +09:00
DarkSky 4fe1b5ba93 chore: adjust copilot ci (#9030) 2024-12-05 07:43:48 +00:00
DarkSky 129cceade9 feat: add compatible for captcha request with challenge (#8827) 2024-11-14 10:22:02 +00:00
DarkSky 075cedabf7 fix: message attachment merge (#8498) 2024-10-16 12:57:53 +08:00
DarkSky a0bd29d52b docs: Update SECURITY.md (#8471) 2024-10-11 01:12:51 +08:00
DarkSky 6557b5d4b6 fix: native binding (#7985) 2024-08-27 12:31:25 +08:00
DarkSky 24c34eb3fc fix: admin panel schema (#7851) 2024-08-13 09:16:56 +00:00
DarkSky dcb9d75db7 feat: allow sort and filter forked session (#7519) 2024-07-18 11:08:47 +08:00
DarkSky 1f50c1b890 fix: handle gql error correctly (#7507) 2024-07-15 09:24:43 +00:00
DarkSky 0957c30e74 docs: Update SECURITY.md (#7406) 2024-07-02 17:13:26 +08:00
DarkSky 7c2f60c441 docs: update SECURITY.md 2024-05-24 00:56:09 +08:00
DarkSky ccb3bed91e feat: add blob upload support for copilot (#6584) 2024-04-17 14:05:38 +00:00
DarkSky ec186a65e7 fix(server): avoid store unpaid subscriptions (#6593) 2024-04-17 16:43:17 +08:00
DarkSky db1206dbd5 fix: re-create session should skip rewrite messages (#6513) 2024-04-11 12:22:45 +08:00
DarkSky 34f892b05b fix(server): wrap read-modify-write apis with distributed lock (#5979) 2024-03-15 13:31:11 +08:00
DarkSky fd18732e6e feat: use custom verify token policy (#5836) 2024-02-20 09:47:27 +08:00
DarkSky d665eaec34 feat: refresh new workspace feature (#5834) 2024-02-19 21:58:54 +08:00
DarkSky fc8a48fb43 feat: add business blob limit (#5734) 2024-01-29 08:32:35 +00:00
DarkSky 18907ebe57 fix: return empty resp if user not exists in login preflight (#5588) 2024-01-13 15:26:55 +00:00
DarkSky b9fa002e67 fix: only return activated features (#5536) 2024-01-08 15:58:59 +08:00
DarkSky 3082d63948 fix: use absolute path in gql client (#5454) 2023-12-29 06:48:04 +00:00
DarkSky a6f5a03b8a docs: update guide for build in windows (#5416) 2023-12-27 09:21:32 +00:00
DarkSky 555d40c3da fix: use prefix in electron to prevent formdata bug (#5395) 2023-12-25 15:14:08 +00:00
DarkSky 06912c6885 fix: websocket prefix (#5372) 2023-12-21 15:52:05 +00:00
DarkSky f04ec50d12 feat: optional payment for frontend (#5056) 2023-11-25 15:15:44 +00:00
DarkSky 13e712158c feat: optional payment for server (#5055) 2023-11-25 14:59:47 +00:00
DarkSky 8d55e5cdf9 fix: change password token check (#4934) (#4932) 2023-11-14 23:03:01 +08:00
DarkSky c30d2550ff fix: request prevented when re-downgrade subscribe (#4786) 2023-10-31 11:17:28 +00:00
DarkSky 57d71ad6cf fix: idempotencyKey used (#4774) 2023-10-31 05:26:42 +00:00
DarkSky f11cc40ae3 Merge pull request #4410 from toeverything/payment-system
feat: payment system
2023-10-30 07:15:52 +00:00
DarkSky 95c1a44a0d Merge branch 'master' into payment-system 2023-10-30 01:55:51 -05:00
DarkSky de9e7f97a4 feat: add idempotent request support for payment apis (#4753) 2023-10-30 05:54:09 +00:00
DarkSky 3798293d3e fix: error handle in payment resolver (#4754) 2023-10-30 00:33:21 +08:00
DarkSky 1775138228 feat: bump up blob size limit temporarily (#4747) 2023-10-28 07:51:02 +00:00
DarkSky 588f63505d fix: password reset token (#4743) 2023-10-27 09:52:29 +00:00
DarkSky 779ac39b36 fix(server): captcha guard (#4673) 2023-10-20 08:54:08 +00:00
DarkSky 63ca9671be feat: add captcha support for sign in/up (#4582) 2023-10-18 08:06:07 +00:00
DarkSky 1ddae40fb2 feat: add auth support for websocket (#4445) 2023-09-21 13:05:26 +00:00
DarkSky 65bb30558e fix: read permission for subpage (#4405) 2023-09-18 16:13:36 +08:00
DarkSky a97fd486c3 feat: keep the multiline log in single log (#4281) 2023-09-08 17:33:46 +08:00
DarkSky b261d97ed2 fix: revoke permission if failed to send email (#4279) 2023-09-07 23:21:38 -07:00
DarkSkyandLongYinan f4340da478 refactor(server): rate limit and permission (#4198)
Co-authored-by: LongYinan <lynweklm@gmail.com>
2023-09-07 14:32:41 -07:00
DarkSkyandPeng Xiao e72a10153e feat: enable https in production (#4154)
Co-authored-by: Peng Xiao <pengxiao@outlook.com>
2023-09-04 17:20:11 +08:00
DarkSky 80195ca2a0 feat: remove yrs (#4153) 2023-09-04 07:31:00 +00:00
DarkSky 2e97079a5e fix: server deps (#4140) 2023-09-03 14:33:56 +00:00
DarkSky 3c4f45bcb6 feat: add user info edit verify (#4117) 2023-09-01 16:59:33 +00:00
DarkSky 7d3b1ad2b9 feat: add user level blob quota (#4114) 2023-09-01 12:56:27 +00:00
DarkSky 4ef1425299 feat: rate limiter (#4011) 2023-08-31 20:29:25 +08:00
DarkSky 0add43f8db feat: blob size api (#4060) 2023-08-31 16:39:19 +08:00
DarkSky d3bd369420 chore: add bump octobase script (#3931) 2023-08-29 19:37:12 -05:00
DarkSky 50a8a147fd ci: make helm release only on bump version (#2928) 2023-06-30 02:02:46 +00:00
DarkSky 8a2dac9718 fix: incorrect formatting (#2917) 2023-06-29 08:25:43 +00:00
DarkSky 6b0f9fbdad feat: add deployment guide & fix pod label (#2912) 2023-06-28 17:12:23 +00:00
DarkSky d6addc0d0b docs: improve helm ci & document (#2902) 2023-06-28 12:30:02 +00:00
DarkSky 1556167262 feat: add helm releaser (#2875) 2023-06-28 00:16:40 +08:00
DarkSky 5275ff5493 feat: add affine cloud helm config (#2870) 2023-06-27 21:00:41 +08:00
DarkSky d46b6c4863 feat: new workspace apis (#2825) 2023-06-26 22:12:58 +08:00
DarkSky cd7892b7ed chore: update nx cloud read only token (#2821) 2023-06-19 17:38:26 +08:00
DarkSky 6ce270bffd feat: update favicon & manifest (#1889) 2023-04-11 23:52:38 -05:00