fundon
d8b3a0b6d5
fix: improve make it real action ( #6830 )
2024-05-09 08:15:34 +00:00
renovate
0912fe113f
chore: bump up oxlint version to v0.3.2 ( #6763 )
...
[](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [oxlint](https://oxc-project.github.io ) ([source](https://togithub.com/oxc-project/oxc/tree/HEAD/npm/oxlint )) | [`0.3.1` -> `0.3.2`](https://renovatebot.com/diffs/npm/oxlint/0.3.1/0.3.2 ) | [](https://docs.renovatebot.com/merge-confidence/ ) | [](https://docs.renovatebot.com/merge-confidence/ ) | [](https://docs.renovatebot.com/merge-confidence/ ) | [](https://docs.renovatebot.com/merge-confidence/ ) |
---
### Release Notes
<details>
<summary>oxc-project/oxc (oxlint)</summary>
### [`v0.3.2`](https://togithub.com/oxc-project/oxc/releases/tag/oxlint_v0.3.2 ): oxlint v0.3.2
[Compare Source](99d46f9e48...a7940868c6 )
#### What's Changed
[Oxlint Import Plugin Alpha Release](http://localhost:5173/blog/2024-05-04-import-plugin-alpha.html )
- feat(linter): [@​typescript-eslint/prefer-literal-enum-member](https://togithub.com/typescript-eslint/prefer-literal-enum-member ) by [@​kaykdm](https://togithub.com/kaykdm ) in [https://github.com/oxc-project/oxc/pull/3134 ](https://togithub.com/oxc-project/oxc/pull/3134 )
- feat(linter): add more "ban-ts-comment" test cases. by [@​woai3c](https://togithub.com/woai3c ) in [https://github.com/oxc-project/oxc/pull/3107 ](https://togithub.com/oxc-project/oxc/pull/3107 )
- feat(linter): eslint-plugin-jest/require-hook by [@​eryue0220](https://togithub.com/eryue0220 ) in [https://github.com/oxc-project/oxc/pull/3110 ](https://togithub.com/oxc-project/oxc/pull/3110 )
- feat(linter): eslint/no-await-in-loop by [@​woai3c](https://togithub.com/woai3c ) in [https://github.com/oxc-project/oxc/pull/3070 ](https://togithub.com/oxc-project/oxc/pull/3070 )
- feat(linter): typescript-eslint/prefer-enum-initializers by [@​todor-a](https://togithub.com/todor-a ) in [https://github.com/oxc-project/oxc/pull/3097 ](https://togithub.com/oxc-project/oxc/pull/3097 )
- feat(linter/jsdoc): Implement `implements-on-classes` rule by [@​leaysgur](https://togithub.com/leaysgur ) in [https://github.com/oxc-project/oxc/pull/3081 ](https://togithub.com/oxc-project/oxc/pull/3081 )
- feat(linter/jsdoc): Implement check-tag-names rule by [@​leaysgur](https://togithub.com/leaysgur ) in [https://github.com/oxc-project/oxc/pull/3029 ](https://togithub.com/oxc-project/oxc/pull/3029 )
- feat(linter/jsdoc): Implement no-defaults rule by [@​leaysgur](https://togithub.com/leaysgur ) in [https://github.com/oxc-project/oxc/pull/3098 ](https://togithub.com/oxc-project/oxc/pull/3098 )
- feat(linter/jsdoc): Implement require-yields rule by [@​leaysgur](https://togithub.com/leaysgur ) in [https://github.com/oxc-project/oxc/pull/3150 ](https://togithub.com/oxc-project/oxc/pull/3150 )
- feat(linter/jsdoc): Support settings.ignore(Private|Internal) by [@​leaysgur](https://togithub.com/leaysgur ) in [https://github.com/oxc-project/oxc/pull/3147 ](https://togithub.com/oxc-project/oxc/pull/3147 )
#### New Contributors
- [@​vsn4ik](https://togithub.com/vsn4ik ) made their first contribution in [https://github.com/oxc-project/oxc/pull/3118 ](https://togithub.com/oxc-project/oxc/pull/3118 )
**Full Changelog**: https://github.com/oxc-project/oxc/compare/oxlint_v0.3.1...oxlint_v0.3.2
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box
---
This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/ ). View repository job log [here](https://developer.mend.io/github/toeverything/AFFiNE ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zMzEuMCIsInVwZGF0ZWRJblZlciI6IjM3LjMzMS4wIiwidGFyZ2V0QnJhbmNoIjoiY2FuYXJ5IiwibGFiZWxzIjpbImRlcGVuZGVuY2llcyJdfQ==-->
2024-05-07 11:22:19 +00:00
darkskygit
8e0a0a7f02
fix: wait activated event ( #6814 )
2024-05-07 09:44:38 +00:00
forehalo
7041991967
fix(server): allow promotion codes if no discount applied ( #6810 )
2024-05-07 07:44:41 +00:00
darkskygit
8194cb7773
chore: update prompts ( #6782 )
2024-05-06 12:42:12 +00:00
forehalo
d657f4091a
fix(server): do not allow registration through gql ( #6775 )
2024-05-06 11:11:57 +00:00
pengx17
4ea31cbb35
fix: update prompts ( #6779 )
...
fix AFF-1021
2024-05-06 10:58:56 +00:00
darkskygit
13f40f435d
feat: improve query performence ( #6764 )
2024-05-06 09:12:04 +00:00
pengx17
1303a6a8b4
fix: update prompts (find actions) ( #6773 )
...
fix AFF-1019
2024-05-06 08:29:51 +00:00
forehalo
3ee794a8f2
fix(server): do not throttle healthy checking api ( #6771 )
2024-05-06 06:59:50 +00:00
forehalo
cebb841430
feat(server): add flag to disable new sign ups ( #6752 )
2024-04-30 15:19:30 +00:00
forehalo
f566457dcf
test(server): payment tests ( #6737 )
2024-04-30 06:59:54 +00:00
pengx17
eb7904bf62
fix(core): prompt message tunning ( #6747 )
...
fix AFF-1003
2024-04-30 13:18:20 +08:00
forehalo
a14194c482
fix(server): blob controller permission ( #6746 )
2024-04-30 03:47:00 +00:00
pengx17
7c5a259e84
fix(core): update prompts ( #6738 )
...
Update prompts:
When sending a message to openai, we actually send two messages.
There are two issues here:
1. the role in the first message shall be user or system
2. the content in the first message is not being interpolated at all.
```
[
{
role: "assistant",
createdAt: "2024-04-27T06:30:34.820Z",
params: {
language: "French",
},
content: "You are a translation expert, please translate the following content into French, and only perform the translation action, keeping the translated content in the same format as the original content:\n\n \"\"\"\"\n\n \n\n \"\"\"\"",
},
{
role: "user",
content: "Basic things you should know:",
attachments: undefined,
params: {
language: "French",
},
createdAt: "2024-04-29T09:42:11.466Z",
},
]
```
In this PR I removed `content` from prompts and let open ai use the second message (user) as the input.
2024-04-29 11:02:16 +00:00
Brooooooklyn
81729703d9
chore(server): use native file-type implementation ( #6686 )
2024-04-29 04:46:26 +00:00
Brooooooklyn
fed2503782
refactor(server): rename @affine/storage to @affine/server-native ( #6682 )
...
- Close https://github.com/toeverything/AFFiNE/issues/6680
2024-04-29 02:14:20 +00:00
darkskygit
b639e52dca
feat: allow custom seed ( #6709 )
2024-04-26 11:40:07 +00:00
darkskygit
850bbee629
test: copilot unit & e2e test ( #6649 )
...
fix CLOUD-31
2024-04-26 09:43:35 +00:00
darkskygit
8bdd940ac8
fix: some event missing with multiple env webhook ( #6705 )
2024-04-26 02:56:09 +00:00
darkskygit
15c1e46680
chore: use default throttler replace strict throttler ( #6698 )
2024-04-26 02:18:20 +00:00
forehalo
2c228a35f8
fix(server): stripe webhook calls in random order ( #6702 )
2024-04-25 12:22:07 +00:00
darkskygit
a0c219e036
feat: use default params if not provided ( #6701 )
2024-04-25 10:59:46 +00:00
forehalo
3297486e31
fix(server): skip throttle for currentUser ( #6700 )
2024-04-25 09:45:31 +00:00
darkskygit
ea3f427918
fix: large transaction ( #6695 )
2024-04-25 08:33:21 +00:00
pengx17
050efe3749
fix(core): update prompts ( #6693 )
...
update based on latest docs
2024-04-25 05:26:50 +00:00
doouding
6525c99631
feat(server): new prompt for expand mind map ( #6678 )
...
feat(server): new prompt for expand mind map
feat: add migration file
2024-04-24 07:10:11 +00:00
darkskygit
cbe9e10d44
chore: add copilot vision dev mode polyfill ( #6671 )
2024-04-23 07:41:02 +00:00
darkskygit
64ad83f889
feat: handle stream error ( #6653 )
2024-04-23 03:46:46 +00:00
darkskygit
01a0f60d03
fix: history attachment query ( #6670 )
2024-04-23 03:34:59 +00:00
pengx17
71a5be5385
fix(server): update prompts ( #6664 )
...
fix AFF-921
2024-04-22 14:09:53 +00:00
forehalo
94de6f5853
fix(server): always return created timestamp of chat messages ( #6658 )
2024-04-22 08:39:42 +00:00
forehalo
e8bcb75602
fix(server): use post request to consume magic link token ( #6656 )
2024-04-22 07:15:26 +00:00
darkskygit
ae679a937f
fix: copilot storage config ( #6650 )
2024-04-22 03:00:18 +00:00
forehalo
098e717688
chore(server): remove useless free subscription enum ( #6634 )
2024-04-19 13:34:59 +00:00
darkskygit
657a5250ad
feat: update chat prompt ( #6639 )
...
fix AFF-878
fix AFF-852 (maybe)
2024-04-19 12:34:02 +00:00
darkskygit
97669acb40
chore: enable ai feature in dev ( #6618 )
2024-04-19 08:12:53 +00:00
EYHN
5e243de392
feat(server): auto refresh session ( #6613 )
2024-04-19 07:00:12 +00:00
fundon
7772a103fa
fix(server): dev user configuration issue ( #6619 )
2024-04-19 03:40:04 +00:00
darkskygit
3cc3af8d5d
feat: remove message query ( #6622 )
...
related #6620
2024-04-18 16:30:10 +00:00
darkskygit
28f2ff24b9
fix: copilot blob process ( #6612 )
2024-04-18 15:36:30 +00:00
darkskygit
b3b9e9a056
chore: cleanup outdated api ( #6604 )
2024-04-18 14:42:46 +00:00
soumyasen10
19f8407d7f
fix: disable default save page as ( #6548 )
...
Co-authored-by: Peng Xiao <pengxiao@outlook.com >
2024-04-18 16:19:03 +08:00
forehalo
d9e6561762
feat(server): add created timestamp to history ( #6607 )
2024-04-18 07:06:47 +00:00
pengx17
5fc56a20ac
feat: adopt createMessage upload api ( #6596 )
2024-04-18 06:55:29 +00:00
DarkSky
ccb3bed91e
feat: add blob upload support for copilot ( #6584 )
2024-04-17 14:05:38 +00:00
liuyi
07aeab6ac8
fix(server): app cannot start in graphql only flavor ( #6598 )
2024-04-17 18:29:04 +08:00
DarkSky
ec186a65e7
fix(server): avoid store unpaid subscriptions ( #6593 )
2024-04-17 16:43:17 +08:00
liuyi
e53d5e2e3d
chore(server): clean up throttler ( #6326 )
2024-04-17 16:32:26 +08:00
forehalo
651a99a48e
fix(server): avoid store unpaid subscriptions
2024-04-17 16:25:03 +08:00