@kadaliao/dsh-bots 0.3.1 → 0.3.2

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/index.js +2 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -1073,7 +1073,8 @@ export function apply(ctx, config) {
1073
1073
  return { ok: true, bot: saved, added: apps.map((a) => a.name) };
1074
1074
  },
1075
1075
  },
1076
- state: { get: () => state() },
1076
+ // The first read fills Harness skill descriptions for skills stored without one.
1077
+ state: { get: async () => (dshSkillInfo.size ? state() : dshSkills().then(state, state)) },
1077
1078
  catalog: { get: () => catalog() },
1078
1079
  // A link preview card for the chat: YouTube, X posts, or any page's OpenGraph meta.
1079
1080
  unfurl: { get: (url) => unfurlLink(url.searchParams.get('url') ?? '') },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kadaliao/dsh-bots",
3
- "version": "0.3.1",
3
+ "version": "0.3.2",
4
4
  "type": "module",
5
5
  "description": "Grok-style bots for DeepSeek Harness: create bots with their own avatar, persona, skills, apps and scheduled tasks; they message each other and a dispatcher bot hands out the work.",
6
6
  "exports": {