Skip to content

Releases: Fireawa/dsh-tool-round-limited-target

v1.0.3 — 修复无 /goal 时误创建限轮目标

Choose a tag to compare

@Fireawa Fireawa released this 27 Oct 11:12

修复:没有输入 /goal 也会被错误启用

round_limited_goal 在调用方没给轮数时会用 defaultRounds(默认 3)兜底建目标。模型只要觉得这是个多步骤任务就会调用它,于是用户在普通对话里从未输入 /goal,也会凭空多出一个 3 轮上限的目标,跑完还被标成 blocked。

改动

  • 新增 requireExplicitRounds(默认 true):没有显式轮数(目标开头的数字或 rounds 参数)时拒绝创建,并提示改用 create_goal。设成 false 可恢复旧的兜底行为。
  • 工具描述改写,明确「只在用户要求轮数上限时才调用」。
  • selftest.mjs 增至 136 项。
dsh plugin --profile web add github:Fireawa/dsh-tool-round-limited-target#v1.0.3

v1.0.2 — CI 修复与文档整理

Choose a tag to compare

@Fireawa Fireawa released this 25 Oct 06:21

CI 修复与文档整理。

修复

  • CI 的语法检查改为通配 + nullglob + 逐个 -f 判断,避免 scripts/ 目录不存在时把 scripts/*.mjs 当字面量传给 node --check 而报 MODULE_NOT_FOUND。

文档

  • 删除「贡献」小节;安装段版本号同步到本版。
dsh plugin --profile web add github:Fireawa/dsh-tool-round-limited-target#v1.0.2

v1.0.1 — 文档整理

Choose a tag to compare

@Fireawa Fireawa released this 25 Oct 05:28

文档整理版本,行为无变化。

  • README「用法」从 9 行表格改成「一个例子 + 三条要点」,只强调唯一的限轮写法。
  • 安装段补「锁定版本」写法;新增 Release 徽章。
  • PUBLISHING.md 按当前状态重写(版本号、测试数量、路径全部对齐)。
  • 移除已无用途的 scripts/set-owner.mjs。

安装:

dsh plugin --profile web add github:Fireawa/dsh-tool-round-limited-target#v1.0.1

v1.0.0 — 限轮目标(首个公开版本)

Choose a tag to compare

@Fireawa Fireawa released this 25 Oct 05:12

首个公开版本。

  • /goal 5 整理文档:轮数写在最前面,最多自动跑 5 轮,用完自动标为 blocked(code=round-limit),不会多跑。
  • 只有「数字在最前面」会设上限;末尾数字按官方 /goal 语义处理(整句是目标,不设上限、不报错)。
  • /goal rounds <n> 只改上限、保留进度;clear / pause / resume / edit 与内置一致。
  • round_limited_goal(target, rounds?, replace?):给模型用的入口,target="5 目标" 或 rounds=5 才设轮数。

安装:

dsh plugin --profile web add github:Fireawa/dsh-tool-round-limited-target#v1.0.0