SuperAPI AI 工具集

things-mac

通用与其它

查看项目

更新于 10-16 06:15

技能介绍

用途:在 macOS 上通过 things CLI 管理 Things 3,可读取本地 Things 数据库,也可通过 Things URL scheme 添加和更新待办事项。

主要能力:只读操作支持查看 inbox、today、upcoming、search、projects、areas、tags。写入操作通过 URL scheme 完成,支持 add 与 update,可为待办设置备注、时间、截止日期、所属列表/标题、标签和检查清单项。

安装:GOBIN=/opt/homebrew/bin go install github.com/ossianhempel/things3-cli/cmd/things@latest

必要用法与配置:若数据库读取失败,需给调用方 App 授予完全磁盘访问权限(手动运行给 Terminal,网关运行给 ThinkFleetBot.app)。可选设置 THINGSDB 或用 --db 指向 ThingsData-* 目录;更新操作可设置 THINGS_AUTH_TOKEN 避免每次传 --auth-token。常用只读命令如 things inbox --limit 50、things today、things search "query";写入前建议先用 things --dry-run add "Title" 预览。添加示例:things add "Buy milk" --notes "2% + bananas" --tags "health,phone"。

限制:仅支持 macOS。更新待办需要授权令牌。things3-cli 当前不支持删除或移入废纸篓的写入命令,things trash 仅用于只读列出;如需删除请用 Things 界面,或改用 --completed / --canceled 标记。--dry-run 只打印 URL,不会打开 Things。