@qilin-agent/repeat-tool-reminder 3.1.6 → 3.1.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/lib/index.js +6 -1
  2. package/package.json +13 -13
package/lib/index.js CHANGED
@@ -1791,12 +1791,17 @@ var LlmError = class extends HarnessError {
1791
1791
  if (typeof model.provider !== "string" || model.provider !== provider || typeof model.id !== "string" || model.id.length === 0 || typeof model.name !== "string" || model.name.length === 0 || model.description !== void 0 && typeof model.description !== "string" || seen.has(model.id)) throw new LlmError(`adapter returned invalid or duplicate model metadata for provider "${provider}"`, "INVALID_CATALOG");
1792
1792
  seen.add(model.id);
1793
1793
  const inputModalities = this.detachedModalities(model.inputModalities);
1794
+ const badge = model.badge;
1794
1795
  return {
1795
1796
  provider: model.provider,
1796
1797
  id: model.id,
1797
1798
  name: model.name,
1798
1799
  ...model.description === void 0 ? {} : { description: model.description },
1799
- ...inputModalities === void 0 ? {} : { inputModalities }
1800
+ ...inputModalities === void 0 ? {} : { inputModalities },
1801
+ ...badge === void 0 ? {} : { badge: {
1802
+ text: typeof badge.text === "string" ? badge.text : { ...badge.text },
1803
+ tone: badge.tone
1804
+ } }
1800
1805
  };
1801
1806
  });
1802
1807
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@qilin-agent/repeat-tool-reminder",
3
3
  "description": "Repeat-tool-call guard plugin: advisory reminders when an agent loops on identical tool calls",
4
- "version": "3.1.6",
4
+ "version": "3.1.8",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -30,21 +30,21 @@
30
30
  ],
31
31
  "license": "MIT",
32
32
  "dependencies": {
33
- "@qilin-agent/schemastery": "~3.18.5"
33
+ "@qilin-agent/schemastery": "~3.18.6-alpha.2"
34
34
  },
35
35
  "peerDependencies": {
36
- "@qilin-agent/tools": "3.1.6",
37
- "@qilin-agent/agent": "3.1.6",
38
- "@qilin-agent/kylin": "~4.0.5"
36
+ "@qilin-agent/agent": "3.1.8",
37
+ "@qilin-agent/tools": "3.1.8",
38
+ "@qilin-agent/kylin": "~4.0.6-alpha.2"
39
39
  },
40
40
  "devDependencies": {
41
- "@qilin-agent/agent-loop-testkit": "3.1.6",
42
- "@qilin-agent/agent": "3.1.6",
43
- "@qilin-agent/llm": "3.1.6",
44
- "@qilin-agent/agent-loop": "3.1.6",
45
- "@qilin-agent/session": "3.1.6",
46
- "@qilin-agent/tools": "3.1.6",
47
- "@qilin-agent/kylin": "~4.0.5",
48
- "@qilin-agent/session-projection": "3.1.6"
41
+ "@qilin-agent/agent": "3.1.8",
42
+ "@qilin-agent/agent-loop": "3.1.8",
43
+ "@qilin-agent/agent-loop-testkit": "3.1.8",
44
+ "@qilin-agent/llm": "3.1.8",
45
+ "@qilin-agent/session": "3.1.8",
46
+ "@qilin-agent/tools": "3.1.8",
47
+ "@qilin-agent/kylin": "~4.0.6-alpha.2",
48
+ "@qilin-agent/session-projection": "3.1.8"
49
49
  }
50
50
  }