bilisum 1.13.3 → 1.19.3-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (50) hide show
  1. package/package.json +40 -40
  2. package/runtime/VERSION +1 -1
  3. package/runtime/apps/service/pyproject.toml +32 -29
  4. package/runtime/apps/service/src/video_sum_service/app.py +393 -339
  5. package/runtime/apps/service/src/video_sum_service/assets/asr_test_zh.wav +0 -0
  6. package/runtime/apps/service/src/video_sum_service/auth.py +132 -0
  7. package/runtime/apps/service/src/video_sum_service/bilibili_cookies.py +201 -0
  8. package/runtime/apps/service/src/video_sum_service/context.py +3 -1
  9. package/runtime/apps/service/src/video_sum_service/integrations.py +590 -63
  10. package/runtime/apps/service/src/video_sum_service/knowledge/index_service.py +430 -315
  11. package/runtime/apps/service/src/video_sum_service/knowledge/local_llm.py +58 -20
  12. package/runtime/apps/service/src/video_sum_service/main.py +27 -31
  13. package/runtime/apps/service/src/video_sum_service/probe_script.py +199 -0
  14. package/runtime/apps/service/src/video_sum_service/repository.py +814 -330
  15. package/runtime/apps/service/src/video_sum_service/routers/knowledge.py +208 -197
  16. package/runtime/apps/service/src/video_sum_service/routers/system.py +573 -189
  17. package/runtime/apps/service/src/video_sum_service/routers/tasks.py +378 -255
  18. package/runtime/apps/service/src/video_sum_service/routers/videos.py +947 -766
  19. package/runtime/apps/service/src/video_sum_service/runtime_startup.py +296 -0
  20. package/runtime/apps/service/src/video_sum_service/runtime_support.py +2771 -571
  21. package/runtime/apps/service/src/video_sum_service/schemas.py +537 -418
  22. package/runtime/apps/service/src/video_sum_service/settings_manager.py +219 -122
  23. package/runtime/apps/service/src/video_sum_service/task_artifacts.py +164 -4
  24. package/runtime/apps/service/src/video_sum_service/task_exports.py +207 -3
  25. package/runtime/apps/service/src/video_sum_service/video_assets.py +605 -542
  26. package/runtime/apps/service/src/video_sum_service/worker.py +597 -325
  27. package/runtime/apps/web/static/assets/index-BpKLKCCn.js +429 -0
  28. package/runtime/apps/web/static/assets/index-Dh6OVj_G.css +1 -0
  29. package/runtime/apps/web/static/index.html +24 -6
  30. package/runtime/apps/web/static/js/api.js +53 -53
  31. package/runtime/apps/web/static/js/main.js +630 -610
  32. package/runtime/apps/web/static/js/utils.js +76 -76
  33. package/runtime/apps/web/static/js/views/home.js +561 -561
  34. package/runtime/apps/web/static/js/views/settings.js +427 -354
  35. package/runtime/apps/web/static/styles.css +2100 -2100
  36. package/runtime/packages/core/pyproject.toml +18 -18
  37. package/runtime/packages/core/src/video_sum_core/errors.py +8 -0
  38. package/runtime/packages/core/src/video_sum_core/markdown_exports.py +13 -0
  39. package/runtime/packages/core/src/video_sum_core/models/tasks.py +81 -70
  40. package/runtime/packages/core/src/video_sum_core/pipeline/real.py +5651 -3357
  41. package/runtime/packages/core/src/video_sum_core/transcribe_funasr_subprocess.py +469 -0
  42. package/runtime/packages/core/src/video_sum_core/transcribe_subprocess.py +173 -173
  43. package/runtime/packages/core/src/video_sum_core/twelvelabs.py +167 -0
  44. package/runtime/packages/infra/pyproject.toml +16 -16
  45. package/runtime/packages/infra/src/video_sum_infra/config.py +716 -384
  46. package/runtime/packages/infra/src/video_sum_infra/llm.py +166 -0
  47. package/runtime/packages/infra/src/video_sum_infra/prompt_library.py +367 -0
  48. package/runtime/packages/infra/src/video_sum_infra/runtime.py +499 -260
  49. package/runtime/apps/web/static/assets/index-Cj5PVjQg.js +0 -388
  50. package/runtime/apps/web/static/assets/index-DU2t4_7s.css +0 -1
package/package.json CHANGED
@@ -1,40 +1,40 @@
1
- {
2
- "name": "bilisum",
3
- "version": "1.13.3",
4
- "description": "Start the local BiliSum service from npx.",
5
- "bin": {
6
- "bilisum": "bin/bilisum.js"
7
- },
8
- "files": [
9
- "bin",
10
- "runtime",
11
- "README.md"
12
- ],
13
- "scripts": {
14
- "prepack": "node scripts/prepare-runtime.js",
15
- "postpack": "node scripts/cleanup-runtime.js"
16
- },
17
- "engines": {
18
- "node": ">=18"
19
- },
20
- "repository": {
21
- "type": "git",
22
- "url": "git+https://github.com/lycohana/BiliSum.git"
23
- },
24
- "bugs": {
25
- "url": "https://github.com/lycohana/BiliSum/issues"
26
- },
27
- "homepage": "https://github.com/lycohana/BiliSum#readme",
28
- "keywords": [
29
- "bilisum",
30
- "bilibili",
31
- "video-summary",
32
- "ai-summary",
33
- "rag",
34
- "knowledge-base"
35
- ],
36
- "license": "MIT",
37
- "publishConfig": {
38
- "access": "public"
39
- }
40
- }
1
+ {
2
+ "name": "bilisum",
3
+ "version": "1.19.3-alpha.1",
4
+ "description": "Start the local BiliSum service from npx.",
5
+ "bin": {
6
+ "bilisum": "bin/bilisum.js"
7
+ },
8
+ "files": [
9
+ "bin",
10
+ "runtime",
11
+ "README.md"
12
+ ],
13
+ "scripts": {
14
+ "prepack": "node scripts/prepare-runtime.js",
15
+ "postpack": "node scripts/cleanup-runtime.js"
16
+ },
17
+ "engines": {
18
+ "node": ">=18"
19
+ },
20
+ "repository": {
21
+ "type": "git",
22
+ "url": "git+https://github.com/lycohana/BiliSum.git"
23
+ },
24
+ "bugs": {
25
+ "url": "https://github.com/lycohana/BiliSum/issues"
26
+ },
27
+ "homepage": "https://github.com/lycohana/BiliSum#readme",
28
+ "keywords": [
29
+ "bilisum",
30
+ "bilibili",
31
+ "video-summary",
32
+ "ai-summary",
33
+ "rag",
34
+ "knowledge-base"
35
+ ],
36
+ "license": "MIT",
37
+ "publishConfig": {
38
+ "access": "public"
39
+ }
40
+ }
package/runtime/VERSION CHANGED
@@ -1 +1 @@
1
- 1.13.3
1
+ 1.19.3-alpha.1
@@ -1,29 +1,32 @@
1
- [build-system]
2
- requires = ["hatchling>=1.27.0"]
3
- build-backend = "hatchling.build"
4
-
5
- [project]
6
- name = "video-sum-service"
7
- version = "1.13.3"
8
- description = "Local backend service for the video summarizer."
9
- requires-python = ">=3.12"
10
- dependencies = [
11
- "fastapi>=0.115,<1.0",
12
- "uvicorn[standard]>=0.34,<1.0",
13
- "pydantic>=2.10,<3.0",
14
- "video-sum-core",
15
- "video-sum-infra",
16
- ]
17
-
18
- [project.optional-dependencies]
19
- knowledge = [
20
- "chromadb>=1.0.0",
21
- "sentence-transformers>=3.0",
22
- ]
23
-
24
- [project.scripts]
25
- video-sum-service = "video_sum_service.main:run"
26
- video-sum-transcribe-worker = "video_sum_service.transcribe_worker:run"
27
-
28
- [tool.hatch.build.targets.wheel]
29
- packages = ["src/video_sum_service"]
1
+ [build-system]
2
+ requires = ["hatchling>=1.27.0"]
3
+ build-backend = "hatchling.build"
4
+
5
+ [project]
6
+ name = "video-sum-service"
7
+ version = "1.19.3-alpha.1"
8
+ description = "Local backend service for the video summarizer."
9
+ requires-python = ">=3.12"
10
+ dependencies = [
11
+ "fastapi>=0.115,<1.0",
12
+ "python-multipart>=0.0.9,<1.0",
13
+ "uvicorn[standard]>=0.34,<1.0",
14
+ "pydantic>=2.10,<3.0",
15
+ "httpx>=0.27,<1.0",
16
+ "video-sum-core",
17
+ "video-sum-infra",
18
+ ]
19
+
20
+ [project.optional-dependencies]
21
+ knowledge = [
22
+ "chromadb>=1.0.0",
23
+ "sentence-transformers>=3.0",
24
+ ]
25
+
26
+ [project.scripts]
27
+ video-sum-service = "video_sum_service.main:run"
28
+ video-sum-transcribe-worker = "video_sum_service.transcribe_worker:run"
29
+
30
+ [tool.hatch.build.targets.wheel]
31
+ packages = ["src/video_sum_service"]
32
+ artifacts = ["src/video_sum_service/assets/*.wav"]