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.
- package/package.json +40 -40
- package/runtime/VERSION +1 -1
- package/runtime/apps/service/pyproject.toml +32 -29
- package/runtime/apps/service/src/video_sum_service/app.py +393 -339
- package/runtime/apps/service/src/video_sum_service/assets/asr_test_zh.wav +0 -0
- package/runtime/apps/service/src/video_sum_service/auth.py +132 -0
- package/runtime/apps/service/src/video_sum_service/bilibili_cookies.py +201 -0
- package/runtime/apps/service/src/video_sum_service/context.py +3 -1
- package/runtime/apps/service/src/video_sum_service/integrations.py +590 -63
- package/runtime/apps/service/src/video_sum_service/knowledge/index_service.py +430 -315
- package/runtime/apps/service/src/video_sum_service/knowledge/local_llm.py +58 -20
- package/runtime/apps/service/src/video_sum_service/main.py +27 -31
- package/runtime/apps/service/src/video_sum_service/probe_script.py +199 -0
- package/runtime/apps/service/src/video_sum_service/repository.py +814 -330
- package/runtime/apps/service/src/video_sum_service/routers/knowledge.py +208 -197
- package/runtime/apps/service/src/video_sum_service/routers/system.py +573 -189
- package/runtime/apps/service/src/video_sum_service/routers/tasks.py +378 -255
- package/runtime/apps/service/src/video_sum_service/routers/videos.py +947 -766
- package/runtime/apps/service/src/video_sum_service/runtime_startup.py +296 -0
- package/runtime/apps/service/src/video_sum_service/runtime_support.py +2771 -571
- package/runtime/apps/service/src/video_sum_service/schemas.py +537 -418
- package/runtime/apps/service/src/video_sum_service/settings_manager.py +219 -122
- package/runtime/apps/service/src/video_sum_service/task_artifacts.py +164 -4
- package/runtime/apps/service/src/video_sum_service/task_exports.py +207 -3
- package/runtime/apps/service/src/video_sum_service/video_assets.py +605 -542
- package/runtime/apps/service/src/video_sum_service/worker.py +597 -325
- package/runtime/apps/web/static/assets/index-BpKLKCCn.js +429 -0
- package/runtime/apps/web/static/assets/index-Dh6OVj_G.css +1 -0
- package/runtime/apps/web/static/index.html +24 -6
- package/runtime/apps/web/static/js/api.js +53 -53
- package/runtime/apps/web/static/js/main.js +630 -610
- package/runtime/apps/web/static/js/utils.js +76 -76
- package/runtime/apps/web/static/js/views/home.js +561 -561
- package/runtime/apps/web/static/js/views/settings.js +427 -354
- package/runtime/apps/web/static/styles.css +2100 -2100
- package/runtime/packages/core/pyproject.toml +18 -18
- package/runtime/packages/core/src/video_sum_core/errors.py +8 -0
- package/runtime/packages/core/src/video_sum_core/markdown_exports.py +13 -0
- package/runtime/packages/core/src/video_sum_core/models/tasks.py +81 -70
- package/runtime/packages/core/src/video_sum_core/pipeline/real.py +5651 -3357
- package/runtime/packages/core/src/video_sum_core/transcribe_funasr_subprocess.py +469 -0
- package/runtime/packages/core/src/video_sum_core/transcribe_subprocess.py +173 -173
- package/runtime/packages/core/src/video_sum_core/twelvelabs.py +167 -0
- package/runtime/packages/infra/pyproject.toml +16 -16
- package/runtime/packages/infra/src/video_sum_infra/config.py +716 -384
- package/runtime/packages/infra/src/video_sum_infra/llm.py +166 -0
- package/runtime/packages/infra/src/video_sum_infra/prompt_library.py +367 -0
- package/runtime/packages/infra/src/video_sum_infra/runtime.py +499 -260
- package/runtime/apps/web/static/assets/index-Cj5PVjQg.js +0 -388
- 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.
|
|
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.
|
|
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.
|
|
8
|
-
description = "Local backend service for the video summarizer."
|
|
9
|
-
requires-python = ">=3.12"
|
|
10
|
-
dependencies = [
|
|
11
|
-
"fastapi>=0.115,<1.0",
|
|
12
|
-
"
|
|
13
|
-
"
|
|
14
|
-
"
|
|
15
|
-
"
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
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"]
|