@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 +1 -1
- package/lib/llm-ask.js +1 -1
- package/lib/runner.js +1 -1
- package/package.json +1 -1
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
|
|
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
|
|
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
|
|
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') {
|