auto-save 2026-05-17 13:06 (~2)

This commit is contained in:
2026-05-17 13:07:20 +08:00
parent 3b9e74f0a2
commit dab3e023f7
2 changed files with 22 additions and 13 deletions

View File

@@ -1,18 +1,5 @@
{ {
"entries": [ "entries": [
{
"files_changed": 1,
"message": "Codex 会话活跃 · 最近命令codex · 1 项未提交变更 · 最近提交auto-save 2026-05-14 17:43 (~1)",
"ts": "2026-05-14T09:48:43Z",
"type": "session-heartbeat"
},
{
"files_changed": 1,
"hash": "807f89b",
"message": "auto-save 2026-05-14 17:48 (~1)",
"ts": "2026-05-14T17:48:47+08:00",
"type": "commit"
},
{ {
"files_changed": 1, "files_changed": 1,
"hash": "32eca89", "hash": "32eca89",
@@ -3269,6 +3256,19 @@
"message": "auto-save 2026-05-17 12:50 (~8)", "message": "auto-save 2026-05-17 12:50 (~8)",
"hash": "4dc4092", "hash": "4dc4092",
"files_changed": 8 "files_changed": 8
},
{
"ts": "2026-05-17T12:55:45+08:00",
"type": "commit",
"message": "refactor: narrow intake to audio-first workflow",
"hash": "3b9e74f",
"files_changed": 9
},
{
"ts": "2026-05-17T04:58:24Z",
"type": "session-heartbeat",
"message": "Codex 会话活跃 · 最近命令codex · 分支 main · 1 项未提交变更 · 最近提交refactor: narrow intake to audio-first workflow",
"files_changed": 1
} }
] ]
} }

View File

@@ -7,6 +7,7 @@ import hmac
import json import json
import os import os
import random import random
import re
import secrets import secrets
import shutil import shutil
import subprocess import subprocess
@@ -133,6 +134,14 @@ VIDEO_STATUS_PATH = os.getenv("VIDEO_STATUS_PATH", DEFAULT_VIDEO_STATUS_PATH).st
VIDEO_CONTENT_PATH = os.getenv("VIDEO_CONTENT_PATH", DEFAULT_VIDEO_CONTENT_PATH).strip() or DEFAULT_VIDEO_CONTENT_PATH VIDEO_CONTENT_PATH = os.getenv("VIDEO_CONTENT_PATH", DEFAULT_VIDEO_CONTENT_PATH).strip() or DEFAULT_VIDEO_CONTENT_PATH
VIDEO_DURATION_FIELD = os.getenv("VIDEO_DURATION_FIELD", "seconds").strip() or "seconds" VIDEO_DURATION_FIELD = os.getenv("VIDEO_DURATION_FIELD", "seconds").strip() or "seconds"
VIDEO_POLL_TIMEOUT_SECONDS = max(60, int(os.getenv("VIDEO_POLL_TIMEOUT_SECONDS", "900"))) VIDEO_POLL_TIMEOUT_SECONDS = max(60, int(os.getenv("VIDEO_POLL_TIMEOUT_SECONDS", "900")))
FFMPEG_BIN = os.getenv("FFMPEG_BIN", "").strip()
FFPROBE_BIN = os.getenv("FFPROBE_BIN", "").strip()
LOCAL_FFMPEG_CANDIDATES = [
"/Applications/Downie 4.app/Contents/Resources/ffmpeg",
"/Applications/Permute 3.app/Contents/Resources/ffmpeg",
"/Applications/VideoFusion-macOS.app/Contents/Resources/ffmpeg",
]
_MEDIA_BIN_CACHE: dict[str, str] = {}
# OpenAI 客户端OpenAI 兼容网关,含 SKG ezlink # OpenAI 客户端OpenAI 兼容网关,含 SKG ezlink
from openai import OpenAI from openai import OpenAI