Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions .github/workflows/main-webhook.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: Main Branch Webhook

on:
push:
branches:
- main

jobs:
webhook:
runs-on: ubuntu-latest
steps:
- name: Call webhook
run: |
curl "${{ secrets.DEV_WEBHOOK_URL }}/pre" \
-H "Authorization: Bearer ${{ secrets.DEV_WEBHOOK_API_KEY }}"
2 changes: 1 addition & 1 deletion backend
Submodule backend updated 91 files
+2 −2 .github/workflows/ci.yaml
+23 −0 helm/backend/.helmignore
+7 −0 helm/backend/Chart.yaml
+88 −0 helm/backend/templates/omnibox-backend.yaml
+15 −0 helm/backend/values.yaml
+1 −0 package.json
+9 −0 pnpm-lock.yaml
+10 −0 src/api-key/api-key.controller.ts
+34 −2 src/api-key/api-key.dto.ts
+158 −1 src/api-key/api-key.e2e-spec.ts
+1 −0 src/api-key/api-key.entity.ts
+2 −1 src/api-key/api-key.module.ts
+54 −0 src/api-key/api-key.service.spec.ts
+51 −16 src/api-key/api-key.service.ts
+26 −4 src/app/app.module.ts
+66 −0 src/applications/applications.controller.ts
+56 −0 src/applications/applications.dto.ts
+170 −0 src/applications/applications.e2e-spec.ts
+27 −0 src/applications/applications.entity.ts
+21 −0 src/applications/applications.module.ts
+134 −0 src/applications/applications.service.ts
+16 −0 src/applications/apps/base-app.ts
+139 −0 src/applications/apps/wechat-bot.ts
+17 −0 src/applications/internal.applications.controller.ts
+32 −3 src/auth/auth.controller.ts
+22 −3 src/auth/google/google.controller.ts
+15 −3 src/auth/jwt.strategy.ts
+26 −3 src/auth/wechat/wechat.controller.ts
+2 −0 src/conversations/conversations.module.ts
+21 −0 src/conversations/conversations.service.ts
+24 −0 src/feedback/dto/create-feedback.dto.ts
+36 −0 src/feedback/entities/feedback.entity.ts
+70 −0 src/feedback/feedback.controller.ts
+14 −0 src/feedback/feedback.module.ts
+68 −0 src/feedback/feedback.service.spec.ts
+31 −0 src/feedback/feedback.service.ts
+44 −0 src/interceptor/user.interceptor.ts
+81 −0 src/migrations/1756914379375-applications.ts
+89 −0 src/migrations/1757100000000-feedback.ts
+13 −0 src/namespace-resources/dto/list-children-resp.dto.ts
+1 −24 src/namespace-resources/dto/resource.dto.ts
+11 −0 src/namespace-resources/dto/update-resource.dto.ts
+3 −2 src/namespace-resources/namespace-resources.controller.ts
+0 −15 src/namespace-resources/namespace-resources.e2e-spec.ts
+97 −97 src/namespace-resources/namespace-resources.service.ts
+1 −1 src/namespace-resources/open.resource.controller.ts
+9 −4 src/namespaces/namespaces.service.ts
+0 −76 src/oauth2/oauth.controller.ts
+0 −25 src/oauth2/oauth.module.ts
+0 −91 src/oauth2/oauth.service.ts
+0 −17 src/oauth2/types.ts
+6 −5 src/permissions/permissions.service.ts
+38 −0 src/resources/dto/resource-meta.dto.ts
+7 −0 src/resources/dto/update-resource-req.dto.ts
+2 −1 src/resources/resources.module.ts
+79 −10 src/resources/resources.service.ts
+7 −0 src/search/search.e2e-spec.ts
+2 −0 src/search/search.module.ts
+10 −0 src/search/search.service.ts
+1 −1 src/shared-resources/shared-resources.service.ts
+1 −1 src/shares/dto/share-info.dto.ts
+41 −5 src/shares/dto/update-share-info-req.dto.ts
+11 −11 src/shares/shares.service.ts
+86 −2 src/tasks/task-pipeline.e2e-spec.ts
+3 −2 src/tasks/tasks.module.ts
+23 −2 src/tasks/wizard-task.service.ts
+10 −0 src/trace/dto/trace-event.dto.ts
+29 −0 src/trace/dto/trace-message.dto.ts
+10 −0 src/trace/dto/trace-req.dto.ts
+21 −0 src/trace/trace.controller.ts
+12 −0 src/trace/trace.module.ts
+69 −0 src/trace/trace.service.ts
+7 −2 src/tracing.ts
+2 −0 src/user/dto/update-user.dto.ts
+5 −0 src/user/user.controller.ts
+1 −0 src/wizard/dto/agent-request.dto.ts
+19 −0 src/wizard/dto/open-collect-request.dto.ts
+3 −3 src/wizard/internal.wizard.controller.ts
+40 −0 src/wizard/open.wizard.controller.ts
+116 −3 src/wizard/processors/collect.processor.spec.ts
+46 −11 src/wizard/processors/collect.processor.ts
+3 −0 src/wizard/processors/dto/extract-tags.output.dto.ts
+9 −0 src/wizard/processors/dto/reader.output.dto.ts
+61 −165 src/wizard/processors/extract-tags.processor.spec.ts
+17 −24 src/wizard/processors/extract-tags.processor.ts
+9 −4 src/wizard/processors/generate-title.processor.ts
+158 −26 src/wizard/processors/reader.processor.spec.ts
+1 −33 src/wizard/processors/reader.processor.ts
+3 −3 src/wizard/stream.service.ts
+6 −1 src/wizard/wizard.module.ts
+12 −4 src/wizard/wizard.service.ts
2 changes: 1 addition & 1 deletion web
Submodule web updated 60 files
+2 −2 .github/workflows/ci.yaml
+4 −2 Dockerfile
+12 −0 entrypoint.sh
+23 −0 helm/web/.helmignore
+7 −0 helm/web/Chart.yaml
+107 −0 helm/web/templates/omnibox-web.yaml
+15 −0 helm/web/values.yaml
+1 −1 index.html
+1 −1 nginx.conf.template
+2 −0 package.json
+107 −0 pnpm-lock.yaml
+0 −5 src/App.tsx
+1 −0 src/assets/logo.svg
+10 −0 src/components/attributes/index.tsx
+17 −0 src/components/attributes/metadata.tsx
+3 −1 src/const.ts
+14 −1 src/hooks/use-api-keys.ts
+64 −0 src/hooks/use-applications.ts
+4 −3 src/i18n/index.ts
+58 −2 src/i18n/locales/en.json
+59 −3 src/i18n/locales/zh.json
+16 −0 src/interface.ts
+19 −21 src/layout/index.tsx
+11 −0 src/lib/detect-language.ts
+8 −3 src/lib/group.ts
+1 −0 src/lib/request.ts
+75 −0 src/lib/send-track-event.ts
+12 −0 src/lib/wizard-lang.ts
+1 −0 src/page/chat/conversation/types.tsx
+2 −0 src/page/chat/conversation/utils.tsx
+2 −0 src/page/chat/header/index.tsx
+4 −1 src/page/chat/messages/citations/citation-markdown.tsx
+3 −3 src/page/resource/actions/index.tsx
+7 −2 src/page/resource/actions/share/index.tsx
+1 −1 src/page/resource/actions/share/share/index.tsx
+3 −2 src/page/resource/actions/share/share/share-type.tsx
+15 −8 src/page/resource/actions/share/tabs.tsx
+11 −2 src/page/search/index.tsx
+11 −3 src/page/share/index.tsx
+13 −3 src/page/share/password.tsx
+1 −5 src/page/sidebar/content/action.tsx
+1 −5 src/page/sidebar/content/contextMenu.tsx
+4 −1 src/page/sidebar/content/index.tsx
+60 −20 src/page/sidebar/content/space.tsx
+34 −30 src/page/sidebar/content/tree.tsx
+2 −2 src/page/sidebar/header/index.tsx
+2 −2 src/page/sidebar/interface.ts
+176 −0 src/page/sidebar/switcher/applications/bind-dialog.tsx
+335 −0 src/page/sidebar/switcher/applications/index.tsx
+171 −5 src/page/sidebar/switcher/form/api-key.tsx
+7 −0 src/page/sidebar/switcher/swtting-wrapper.tsx
+153 −44 src/page/sidebar/useContext.ts
+0 −0 src/page/user/available.tsx
+9 −1 src/page/user/google/index.tsx
+8 −15 src/page/user/login/form.tsx
+1 −1 src/page/user/login/index.tsx
+0 −17 src/page/user/oauth-confirm.tsx
+24 −1 src/page/user/register/index.tsx
+7 −0 src/page/user/util.tsx
+1 −0 src/page/user/wechat/scan-form.tsx
2 changes: 1 addition & 1 deletion wizard
Submodule wizard updated 37 files
+2 −2 .github/workflows/ci.yaml
+23 −0 helm/wizard-worker/.helmignore
+7 −0 helm/wizard-worker/Chart.yaml
+78 −0 helm/wizard-worker/templates/omnibox-wizard-worker.yaml
+16 −0 helm/wizard-worker/values.yaml
+23 −0 helm/wizard/.helmignore
+7 −0 helm/wizard/Chart.yaml
+88 −0 helm/wizard/templates/omnibox-wizard.yaml
+15 −0 helm/wizard/values.yaml
+44 −0 omnibox_wizard/resources/prompts/video_note_generation.md
+4 −4 omnibox_wizard/wizard/grimoire/common_ai.py
+1 −1 omnibox_wizard/worker/agent/base.py
+38 −9 omnibox_wizard/worker/functions/file_reader.py
+21 −4 omnibox_wizard/worker/functions/file_readers/audio_reader.py
+31 −0 omnibox_wizard/worker/functions/file_readers/md_reader.py
+1 −1 omnibox_wizard/worker/functions/file_readers/office_reader.py
+19 −3 omnibox_wizard/worker/functions/file_readers/pdf_reader.py
+42 −0 omnibox_wizard/worker/functions/file_readers/video_reader.py
+4 −0 omnibox_wizard/worker/functions/html_reader.py
+2 −1 omnibox_wizard/worker/functions/tag_extractor.py
+3 −2 omnibox_wizard/worker/functions/title_generator.py
+1 −0 omnibox_wizard/worker/functions/video_downloaders/__init__.py
+45 −0 omnibox_wizard/worker/functions/video_downloaders/base_downloader.py
+175 −0 omnibox_wizard/worker/functions/video_downloaders/bilibili_downloader.py
+33 −0 omnibox_wizard/worker/functions/video_downloaders/downloader_factory.py
+158 −0 omnibox_wizard/worker/functions/video_downloaders/youtube_downloader.py
+379 −0 omnibox_wizard/worker/functions/video_note_generator.py
+620 −0 omnibox_wizard/worker/functions/video_utils.py
+2 −0 omnibox_wizard/worker/worker.py
+43 −5 poetry.lock
+2 −0 pyproject.toml
+7 −0 tests/omnibox_wizard/functions/file_readers/test_pdf_reader.py
+153 −0 tests/omnibox_wizard/functions/test_bilibili_downloader_integration.py
+51 −0 tests/omnibox_wizard/functions/test_downloader_factory.py
+1 −0 tests/omnibox_wizard/functions/test_tag_extractor.py
+381 −0 tests/omnibox_wizard/functions/test_video_note_generator_integration.py
+109 −0 tests/omnibox_wizard/functions/test_youtube_downloader_integration.py