EYHN
a2eb3fe1b2
feat(core): add notification service ( #10855 )
2025-03-14 09:32:10 +00:00
fengmk2
114e89961f
fix(server): add mode property on mention doc input ( #10853 )
2025-03-14 08:23:28 +00:00
darkskygit
c31d01b2c2
chore(server): merge duplicate queries ( #10857 )
2025-03-14 08:02:12 +00:00
darkskygit
92effd9b51
feat: improve context api ( #10812 )
2025-03-14 05:57:40 +00:00
akumatus
daccb2c865
feat(core): add ai file context api ( #10842 )
...
Close [BS-2349](https://linear.app/affine-design/issue/BS-2349 ).
### What Changed?
- Add file context graphql apis
- Pass matched file chunks to LLM
[录屏2025-02-19 23.27.47.mov <span class="graphite__hidden">(uploaded via Graphite)</span> <img class="graphite__hidden" src="https://app.graphite.dev/api/v1/graphite/video/thumbnail/sJGviKxfE3Ap685cl5bj/8e8a98ca-6959-4bb6-9759-b51d97cede49.mov " />](https://app.graphite.dev/media/video/sJGviKxfE3Ap685cl5bj/8e8a98ca-6959-4bb6-9759-b51d97cede49.mov )
2025-03-14 04:29:54 +00:00
fengmk2
8880cef20b
test(infra): add check job to verify committed changes ( #10829 )
2025-03-14 02:58:27 +00:00
darkskygit
d8373f66e7
feat(server): context awareness for copilot ( #9611 )
...
fix PD-2167
fix PD-2169
fix PD-2190
2025-03-13 11:44:55 +00:00
JimmFly
7df06ea98b
feat(admin): add server version check ( #10816 )
2025-03-13 18:45:56 +08:00
JimmFly
bed4074bdb
feat(admin): add import and export users to admin panel ( #10810 )
2025-03-13 18:45:17 +08:00
JimmFly
e96302ccb2
feat(admin): add ban user to admin panel ( #10780 )
2025-03-13 18:44:13 +08:00
forehalo
7100d87efe
chore(core): doc role telemetry ( #10822 )
2025-03-13 08:15:46 +00:00
darkskygit
10605b3793
fix(server): nullable value for parent id ( #10725 )
2025-03-12 03:53:33 +00:00
EYHN
ea07aa8607
feat(core): add notification list ( #10480 )
2025-03-11 06:23:33 +00:00
EYHN
4677049b5c
feat(core): add public user service ( #10695 )
2025-03-07 08:00:27 +00:00
fengmk2
4446100150
fix(server): correct "Administrators" typo in permissions ( #10690 )
2025-03-07 07:13:36 +00:00
forehalo
e02fb4fa94
refactor(core): standardize frontend error handling ( #10667 )
2025-03-06 13:10:18 +00:00
liuyi
7e61a0b2fc
refactor(graphql): codegen ( #10626 )
2025-03-06 12:06:19 +08:00
darkskygit
fbb6df3da8
chore(server): return parent id of sessions ( #10638 )
2025-03-05 14:03:36 +00:00
darkskygit
985906aa13
feat(server): copilot session prompt query ( #10479 )
2025-02-27 11:25:52 +00:00
DarkSky
fa86f71853
feat(server): client version check ( #9205 )
...
Co-authored-by: forehalo <forehalo@gmail.com >
2025-02-20 15:50:22 +08:00
forehalo
02f567f2c0
chore(core): better doc action error message ( #10288 )
2025-02-19 10:38:38 +00:00
akumatus
1bf1832211
refactor(core): get copilot sessions api ( #10168 )
...
Fix issue [BS-2575](https://linear.app/affine-design/issue/BS-2575 ).
### What Changed?
- Refactor `getCopilotSessions` api.
- Add `docId` parameter.
- Add `action` parameter.
2025-02-14 06:57:58 +00:00
akumatus
79d5f55471
feat(core): move context docs to user prompt ( #10162 )
...
Fix issue [BS-2522](https://linear.app/affine-design/issue/BS-2522 ).
### Why make this change?
If the user data contains illegal content, carrying the user data in the system prompt will run the risk of having the account banned.
### What Changed?
- Move the `Context Documents` to the user prompt.
- Add `withPrompt` in `QueryChatHistoriesInput` options.
- Get chat histories without prompt messages.
- Omit document context when saving messages to the `aiSessionMessage` db.
2025-02-13 12:08:13 +00:00
akumatus
35cbbb3c4b
fix(core): ai context gql file ( #10145 )
2025-02-13 06:57:12 +00:00
akumatus
58fed5928b
feat: add doc copilot context api ( #10103 )
...
### What Changed?
- Add graphql APIs.
- Provide context and session service in `AIProvider`.
- Rename the state from `embedding` to `processing`.
- Reafctor front-end session create, update and save logic.
Persist the document selected by the user:
[录屏2025-02-08 11.04.40.mov <span class="graphite__hidden">(uploaded via Graphite)</span> <img class="graphite__hidden" src="https://app.graphite.dev/api/v1/graphite/video/thumbnail/sJGviKxfE3Ap685cl5bj/195a85f2-43c4-4e49-88d9-6b5fc4f235ca.mov " />](https://app.graphite.dev/media/video/sJGviKxfE3Ap685cl5bj/195a85f2-43c4-4e49-88d9-6b5fc4f235ca.mov )
2025-02-12 08:33:07 +00:00
forehalo
53fdb1e8a5
refactor(server): workspace doc query ( #10042 )
2025-02-12 08:13:07 +00:00
DarkSky
88a3a2d13b
feat(server): self-hosted worker ( #10085 )
2025-02-12 08:01:57 +08:00
darkskygit
a725df6ebe
feat(server): basic context api ( #10056 )
...
fix CLOUD-97
fix CLOUD-98
2025-02-11 10:45:01 +00:00
EYHN
92f4f0c2d9
feat(core): guard service ( #9816 )
2025-02-09 23:26:38 +00:00
JimmFly
5ae5fd88f1
feat(core): add doc grant feature to share menu ( #9672 )
2025-02-07 13:05:58 +00:00
forehalo
0b9d30b55a
refactor: rename all page query to doc ( #10019 )
2025-02-07 11:40:59 +00:00
JimmFly
e68bdbde3e
feat(core): add self host team plan ( #9569 )
2025-02-07 03:35:24 +00:00
forehalo
7826e2b7c8
refactor(server): use feature model ( #9932 )
2025-02-05 10:27:26 +00:00
forehalo
994d758c07
feat(server): support selfhost licenses ( #8947 )
2025-01-22 10:21:07 +00:00
akumatus
58ce86533e
feat(core): support ai network search ( #9357 )
...
### What Changed?
- Add `PerplexityProvider` in backend.
- Update session prompt name if user toggle network search mode in chat panel.
- Add experimental flag for AI network search feature.
- Add unit tests and e2e tests.
Search results are streamed and appear word for word:
<div class='graphite__hidden'>
<div>🎥 Video uploaded on Graphite:</div>
<a href="https://app.graphite.dev/media/video/sJGviKxfE3Ap685cl5bj/56f6ec7b-4b21-405f-9612-43e083f6fb84.mov ">
<img src="https://app.graphite.dev/api/v1/graphite/video/thumbnail/sJGviKxfE3Ap685cl5bj/56f6ec7b-4b21-405f-9612-43e083f6fb84.mov ">
</a>
</div>
<video src="https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/sJGviKxfE3Ap685cl5bj/56f6ec7b-4b21-405f-9612-43e083f6fb84.mov ">录屏2024-12-27 18.58.40.mov</video>
Click the little globe icon to manually turn on/off Internet search:
<div class='graphite__hidden'>
<div>🎥 Video uploaded on Graphite:</div>
<a href="https://app.graphite.dev/media/video/sJGviKxfE3Ap685cl5bj/778f1406-bf29-498e-a90d-7dad813392d1.mov ">
<img src="https://app.graphite.dev/api/v1/graphite/video/thumbnail/sJGviKxfE3Ap685cl5bj/778f1406-bf29-498e-a90d-7dad813392d1.mov ">
</a>
</div>
<video src="https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/sJGviKxfE3Ap685cl5bj/778f1406-bf29-498e-a90d-7dad813392d1.mov ">录屏2024-12-27 19.01.16.mov</video>
When there is an image, it will automatically switch to the openai model:
<div class='graphite__hidden'>
<div>🎥 Video uploaded on Graphite:</div>
<a href="https://app.graphite.dev/media/video/sJGviKxfE3Ap685cl5bj/56431d8e-75e1-4d84-ab4a-b6636042cc6a.mov ">
<img src="https://app.graphite.dev/api/v1/graphite/video/thumbnail/sJGviKxfE3Ap685cl5bj/56431d8e-75e1-4d84-ab4a-b6636042cc6a.mov ">
</a>
</div>
<video src="https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/sJGviKxfE3Ap685cl5bj/56431d8e-75e1-4d84-ab4a-b6636042cc6a.mov ">录屏2024-12-27 19.02.13.mov</video>
2025-01-09 04:00:59 +00:00
darkskygit
6d5733fca9
fix: ios client gql compatibility ( #9337 )
2024-12-26 10:40:12 +00:00
liuyi
2443935830
chore: add monorepo tools ( #9196 )
2024-12-24 15:29:48 +08:00
darkskygit
aacdb71ee2
feat(server): role changed email ( #9227 )
2024-12-23 10:13:04 +00:00
JimmFly
7ff24e9c1c
fix(core): adjust admin permission ( #9204 )
...
close AF-2001 AF-2002
2024-12-20 02:26:17 +00:00
darkskygit
27d4aa7ca7
test(server): add more test for team workspace ( #9182 )
2024-12-17 08:42:19 +00:00
darkskygit
76f2c31e46
fix(core): gql file upload ( #9134 )
2024-12-12 14:38:09 +00:00
darkskygit
cdb55a3393
chore(server): filter out some logs ( #9059 )
2024-12-12 09:19:48 +00:00
darkskygit
69e5997608
feat(server): team mail sender ( #9104 )
...
fix AF-1914
2024-12-12 07:33:32 +00:00
DarkSky
9b0f1bb293
feat(server): improve team invite ( #9092 )
2024-12-11 18:00:49 +08:00
JimmFly
4eb31444a9
fix(core): optimize upgrade to team page ( #9099 )
2024-12-11 17:59:46 +08:00
forehalo
2f80b4f822
feat(nbstore): add cloud implementation ( #8810 )
2024-12-10 10:48:27 +00:00
JimmFly
0a7a2c3083
feat(core): add workspace billing ( #9043 )
2024-12-10 06:31:36 +00:00
JimmFly
612310bc26
feat(core): impl team workspace ( #8920 )
...
AF-1738 AF-1735 AF-1731 AF-1721 AF-1717 AF-1736 AF-1727 AF-1719 AF-1877
UI for team workspaces :
- add upgrade to team & successful upgrade page ( `/upgrade-to-team` & `/upgrade-success/team`)
- update team plans on pricing page ( settings —> pricing plans )
- update reaching the usage/member limit modal
- update invite member modal
- update member CRUD options
2024-12-10 06:31:36 +00:00
forehalo
5d25580eff
chore(graphql): update schema
2024-12-10 14:31:03 +08:00
DarkSky
9365958a02
feat(server): team quota ( #8955 )
2024-12-09 18:51:54 +09:00