Repository navigation
Alfred plugin sharing, currently supports quick entry of tasks #88
SuchaharCan
started this conversation in
Ideas & Feature requests
Replies: 1 comment
|
Hey @SuchaharCan thanks for creating the Alfred plugin. Would you mind also creating a new post in the Stacks Discussions page here |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Omni-Stacks
Omni-Stacks 是面向 Stacks 2 的 Alfred 任务中心。Alfred 负责交互和轻量参数预处理,
单二进制 C++ 核心负责项目、清单、任务、计时、提醒同步和持久化。
核心源码:CXX-CMake-template
核心CLI 接口架构 业务逻辑文档:https://suchaharcan.github.io/
安装
Omni-Stacks.alfredworkflow。s,首次执行s ap选择 Stacks 2 工作区目录。发布包不包含
data/和log/。首次启动会在二进制同级自动创建空索引与日志目录;已安装升级时会保留并迁移用户已有数据。
初始配置
默认触发词为
s。Workflow Configuration 提供:STACKS_LOGGING:启用 bqlog 接口日志和 Debug trace,保留最近 3 个月。STACKS_DEBUG:输出完整调用链到 Alfred Debugger。STACKS_NOTIFICATION:显示操作通知。STACKS_SOUND:成功播放 Glass,失败播放 Basso。STACKS_LARGE_TYPE:用 Alfred Large Type 显示结果。STACKS_DELIMITER:任务字段分隔符,默认|。STACKS_ALIAS_*:ap/rl/cf/v/t/w/tm/i八个命令别名均可修改。命令与操作
新建任务
输入:
后四项可以留空。支持
today、tomorrow、+3d、星期名称和YYYY-MM-DD。优先级支持
low/低、medium/中、high/高、critical/紧急。在结果中选择项目或清单,回车创建。项目级任务进入 Backlog,清单级任务进入对应
Stack,任务文件写入当前 Stacks 工作区。
s ap:添加路径s ap。.project并原子重建Project.json、Stack.json。s reload和s cl是兼容别名。s rl:重载全部路径s rl。s cf:路径配置显示“添加新路径”“重载全部路径”和所有已保存路径。第一路径是 Inbox 默认路径。
s v:项目、清单与任务s v,模糊筛选项目或清单。任务详情支持:
timelogs;tasks/.trash。s t:全局任务搜索搜索全部工作区、全部项目和全部清单下的任务。可输入:
s w:本周截止聚合全部已保存工作区的本周未完成、未归档截止任务。可一键同步本周任务到
Reminders + OmniFocus。
s tm:计时列出运行中的计时器,回车停止并写入 Stacks 兼容 timelog。
s i:Inboxs i,列出全部工作区,第一个为默认 Inbox。s i后直接输入任意文本会被阻止,必须先选择工作区。注意事项
.task与.project;后一步失败时会回滚新任务。tasks/.trash,不会立即永久删除。[Stacks-ID:<id>]去重更新。STACKS_LOGGING后不会写入 bqlog 或 trace 文件。调试
Logging和Debug。[stacks-trace]:接口日志位于
log/interface.log_YYYYMMDD_N.log,每日 trace 位于log/trace-YYYYMMDD.log。源码与文档
git clone https://github.com/SuchaharCan/CXX-CMake-template.git cd CXX-CMake-template/single-exe-static-modules just just docs生成的文档包含架构设计、模块接口、CLI 输入输出、Stacks 字段与测试边界。
架构开发文档 :https://suchaharcan.github.io/
Omni-Stacks
Omni-Stacks is an Alfred task center for Stacks 2. Alfred handles interaction and lightweight parameter preprocessing, while a single-binary C++ core handles projects, lists, tasks, time tracking, reminder synchronization, and persistence.
Core source code: CXX-CMake-template
Core CLI interface architecture and business logic documentation: https://suchaharcan.github.io/
Installation
Omni-Stacks.alfredworkflowfrom this Release.sin Alfred. On the first run, executes apand select the Stacks 2 workspace directory.The release package does not include
data/orlog/. On first launch, an empty index and log directory are created automatically alongside the binary. When upgrading an existing installation, the user's existing data is preserved and migrated.Initial Configuration
The default keyword is
s. Workflow Configuration provides the following settings:STACKS_LOGGING: Enables bqlog API logging and Debug tracing, retaining the most recent 3 months.STACKS_DEBUG: Outputs the full call chain to the Alfred Debugger.STACKS_NOTIFICATION: Shows operation notifications.STACKS_SOUND: Plays Glass on success and Basso on failure.STACKS_LARGE_TYPE: Displays results using Alfred Large Type.STACKS_DELIMITER: The task field delimiter. The default is|.STACKS_ALIAS_*: The eight command aliasesap/rl/cf/v/t/w/tm/ican all be changed.Commands and Operations
Create a Task
Input:
The last four fields may be left empty. Supported date formats include
today,tomorrow,+3d, weekday names, andYYYY-MM-DD.Supported priorities are
low/低,medium/中,high/高, andcritical/紧急.From the results, select a project or list and press Return to create the task. Project-level tasks are added to Backlog, while list-level tasks are added to the corresponding Stack. The task file is written to the current Stacks workspace.
s ap: Add a Paths ap..projectfiles and atomically rebuildsProject.jsonandStack.json.s reloadands clare compatibility aliases.s rl: Reload All Pathss rl.s cf: Path ConfigurationDisplays "Add New Path", "Reload All Paths", and all saved paths. The first path is the default Inbox path.
s v: Projects, Lists, and Taskss vand fuzzy-filter projects or lists.Task details support the following operations:
timelogs.tasks/.trash.s t: Global Task SearchSearches for tasks across all workspaces, projects, and lists. Enter:
s w: Due This WeekAggregates unfinished, unarchived tasks due this week across all saved workspaces. You can synchronize this week's tasks to Reminders and OmniFocus with one action.
s tm: Time TrackingLists running timers. Press Return on a timer to stop it and write a Stacks-compatible timelog.
s i: Inboxs ito list all workspaces. The first workspace is the default Inbox.Text entered directly after
s iis blocked. You must select a workspace first.Notes
.taskand.projectfiles. If the second step fails, the new task is rolled back.tasks/.trash; it is not immediately deleted permanently.[Stacks-ID:<id>]in the task to deduplicate and update entries.STACKS_LOGGINGis disabled, no bqlog or trace files are written.Debugging
[stacks-trace]for:Interface logs are located at
log/interface.log_YYYYMMDD_N.log, and daily traces are located atlog/trace-YYYYMMDD.log.Source Code and Documentation
git clone https://github.com/SuchaharCan/CXX-CMake-template.git cd CXX-CMake-template/single-exe-static-modules just just docsThe generated documentation includes the architecture design, module interfaces, CLI input and output, Stacks fields, and test boundaries.
Develope Doc: https://suchaharcan.github.io/
下载 Omni-Stacks.alfredworkflow
All reactions