aifred-dsh-task-ledger
文件与数据 活跃维护

aifred-dsh-task-ledger

qiaoji1990-alt/aifred-dsh-task-ledger

无服务商绑定的任务生命周期与幂等事件账本插件,可独立运行适配各类相关项目,也可通过桥接模块与Aifred联动,部署配置简单,天然支持幂等校验避免重复处理。

0
Stars 标星
0
Forks 分支
0
Watchers 关注
0
Open Issues
JavaScript
主要语言
None
开源协议
6 KB
仓库大小
3 个月前
最后推送
一键安装扩展 / 插件指令
dsh plugin --profile web add github:qiaoji1990-alt/aifred-dsh-task-ledger
git clone https://github.com/qiaoji1990-alt/aifred-dsh-task-ledger.git
git clone git@github.com:qiaoji1990-alt/aifred-dsh-task-ledger.git
README.md main

Aifred DSH Task Ledger

Provider-neutral task lifecycle tools for DeepSeek Harness. The plugin can run independently with a local appendable JSON ledger, or connect to an Aifred-compatible bridge by setting AIFRED_TASK_LEDGER_MODE=bridge and AIFRED_BRIDGE_URL.

Tools

  • aifred_task_create
  • aifred_task_get
  • aifred_task_list
  • aifred_task_cancel
  • aifred_task_resume
  • aifred_task_event

The plugin does not send messages, write family data, control devices, or bypass approvals. Aifred/Fubo remains the source of truth when bridge mode is enabled. Event IDs are idempotency keys; cancelled tasks must reject late results.

Install

dsh plugin --profile headless add github:qiaoji1990-alt/aifred-dsh-task-ledger

After an npm release, the package form will also be available:

dsh plugin --profile headless add @aifred/dsh-task-ledger

Aifred mode

AIFRED_TASK_LEDGER_MODE=bridge
AIFRED_BRIDGE_URL=http://127.0.0.1:3888
AIFRED_BRIDGE_TOKEN=<token>

The bridge endpoint is /api/aifred-bridge/tasks. It is intentionally a separate optional integration surface so the plugin remains useful without Aifred.