@goodandready/dsh-cron 0.2.25 → 0.2.26

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.
package/lib/chat-start.js CHANGED
@@ -88,7 +88,7 @@ export async function chatStartHandler(ctx, req, res, parseJsonBody, sendJson, r
88
88
  await handle.agent.whenIdle();
89
89
  handle.agent.followup(createUserMessage({
90
90
  content: [{ type: 'text', text: fullPrompt }],
91
- source: { kind: 'plugin', plugin: 'dsh-cron', form: 'cron-setup' },
91
+ source: { kind: 'plugin:dsh-cron', form: 'cron-setup' },
92
92
  }));
93
93
 
94
94
  sendJson(res, 200, { ok: true, sessionId: handle.agent.session.id });
package/lib/llm-ask.js CHANGED
@@ -60,7 +60,7 @@ function isCleanFinish(kind) {
60
60
 
61
61
  async function buildUserMessage(text) {
62
62
  const content = [{ type: 'text', text }];
63
- const source = { kind: 'plugin', plugin: 'dsh-cron', form: 'helper-call' };
63
+ const source = { kind: 'plugin:dsh-cron', form: 'helper-call' };
64
64
  const mod = await bestEffort('import-dsh-llm', () => import('@deepseek-ai/dsh-llm'));
65
65
  if (mod && typeof mod.createUserMessage === 'function') {
66
66
  return mod.createUserMessage({ content, source });
package/lib/runner.js CHANGED
@@ -392,7 +392,7 @@ export class SessionRunner {
392
392
  await prep.raceAbort(handle.agent.whenIdle());
393
393
  handle.agent.followup(prep.createUserMessage({
394
394
  content: [{ type: 'text', text: prep.agentPrompt }],
395
- source: { kind: 'plugin', plugin: 'dsh-cron', form: 'cron-execute' },
395
+ source: { kind: 'plugin:dsh-cron', form: 'cron-execute' },
396
396
  }));
397
397
  // Await agent turn completion (#67), abortable on timeout/overlap (#88)
398
398
  if (typeof handle.agent.whenIdle === 'function') {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@goodandready/dsh-cron",
3
- "version": "0.2.25",
3
+ "version": "0.2.26",
4
4
  "description": "Scheduled cron tasks, background automation and agent execution for DeepSeek Harness.",
5
5
  "type": "module",
6
6
  "main": "lib/index.js",