diff --git a/.cursorindexingignore b/.cursorindexingignore new file mode 100644 index 0000000..953908e --- /dev/null +++ b/.cursorindexingignore @@ -0,0 +1,3 @@ + +# Don't index SpecStory auto-save files, but allow explicit context inclusion via @ references +.specstory/** diff --git a/.specstory/.project.json b/.specstory/.project.json new file mode 100644 index 0000000..723a401 --- /dev/null +++ b/.specstory/.project.json @@ -0,0 +1,5 @@ +{ + "workspace_id": "25b6-2527-0981-ffed", + "workspace_id_at": "2026-06-28T14:08:21Z", + "project_name": "artveris" +} \ No newline at end of file diff --git a/.specstory/cli/config.toml b/.specstory/cli/config.toml new file mode 100644 index 0000000..974af24 --- /dev/null +++ b/.specstory/cli/config.toml @@ -0,0 +1,82 @@ +# SpecStory CLI Configuration +# +# This is the project-level config file for SpecStory CLI. +# All settings here apply to this project unless overridden by CLI flags. +# +# Uncomment (remove the #) the line and edit any setting below to change the default behavior. +# For more information, see: https://docs.specstory.com/integrations/terminal-coding-agents/usage + +[local_sync] +# Write markdown files locally. (default: true) +# enabled = false # equivalent to --only-cloud-sync + +# Custom output directory for markdown files. +# Default: ./.specstory/history (relative to the project directory) +# output_dir = "~/.specstory/history" # equivalent to --output-dir "~/.specstory/history" + +# Use local timezone for file name and content timestamps (default: false, UTC) +# local_time_zone = true # equivalent to --local-time-zone + +[cloud_sync] +# Sync session data to SpecStory Cloud. (default: true, when logged in to SpecStory Cloud) +# enabled = false # equivalent to --no-cloud-sync + +[logging] +# Write logs to .specstory/debug/debug.log (default: false) +# log = true # equivalent to --log + +# Debug-level output, requires console or log (default: false) +# debug = true # equivalent to --debug + +# Custom output directory for debug data. +# Default: ./.specstory/debug (relative to the project directory) +# debug_dir = "~/.specstory/debug" # equivalent to --debug-dir "~/.specstory/debug" + +# Error/warn/info output to stdout (default: false) +# console = true # equivalent to --console + +# Suppress all non-error output (default: false) +# silent = true # equivalent to --silent + +[version_check] +# Check for new versions of the CLI on startup. +# Default: true +# enabled = false # equivalent to --no-version-check + +[analytics] +# Send anonymous product usage analytics to help improve SpecStory. +# Default: true +# enabled = false # equivalent to --no-usage-analytics + +[telemetry] +# OTLP gRPC collector endpoint (e.g., "localhost:4317" or "http://localhost:4317") +# endpoint = "localhost:4317" + +# Override the default service name (default: "specstory-cli") +# service_name = "my-service-name" + +# Include user prompt text in telemetry spans (default: true) +# prompts = false + +[providers] +# Agent execution commands by provider (used by specstory run) +# Pass custom flags (e.g. claude_cmd = "claude --allow-dangerously-skip-permissions") +# Use of these is equivalent to -c "custom command" + +# Claude Code command +# claude_cmd = "claude" + +# Codex CLI command +# codex_cmd = "codex" + +# Cursor CLI command +# cursor_cmd = "cursor-agent" + +# Droid CLI command +# droid_cmd = "droid" + +# Gemini CLI command +# gemini_cmd = "gemini" + +# DeepSeek TUI command +# deepseek_cmd = "deepseek" diff --git a/aidocs/project_context.md b/aidocs/project_context.md index 8f7447a..d667e8a 100644 --- a/aidocs/project_context.md +++ b/aidocs/project_context.md @@ -66,4 +66,5 @@ - 迭代(用户新需求):1) 语言包合并为单 json/语言(`locales/zh-CN.json`、`en-US.json`,含 common/menu/pages),默认中文;语言切换改为图标按钮(地球图标 + zh-CN 标记,下拉选择)。2) 主题改用 Naive 官方 light/darkTheme + 清凉青绿主色(theme.ts 仅最小覆盖),`useTheme` 组合式(light/dark/auto,auto 跟随系统),`ThemeSwitch` 图标下拉;App 用 n-global-style + :theme 切换;移除前端硬编码深蓝,统一 CSS 变量 `--brand`。3) 侧边栏改 `show-trigger="arrow-circle"`(官方垂直居中圆形收缩按钮),sider 取消 inverted 跟随主题。4) 追溯码新增分组(trace_code_group 表/groupId):分组管理弹窗、列表/生码按分组、短链列渲染为可点击 ``;5) 追溯码批量:DataTable 选择列 + 批量分组/启用/停用(后端 `/trace-codes/batch/group`、`/batch/status`,启用按激活/绑定状态恢复)。后端分组与批量已 API 验证通过。 - 追溯码批量导出(按 PRD 6.3):导出支持 Excel/CSV 两种格式,可按当前筛选(分组/批次/状态/关键词)或所选 ids 导出;列含批次编号、分组、追溯码、随机短码、短链、二维码数据(DataURL)、生成时间;CSV 加 UTF-8 BOM。后端 `GET /trace-codes/export?format=xlsx|csv&groupId&batchId&status&keyword&ids`;后台改为"导出"下拉(Excel/CSV × 当前筛选/所选)。已 API 验证 xlsx/csv/所选。 - C 端视频播放:节点媒体区分图片/视频(按 `type==='video'` 或扩展名判断),C 端用 `