@shipers-dev/multi 0.6.0 → 0.6.1
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/dist/index.js +4 -4
- package/package.json +1 -1
- package/src/index.ts +3 -3
package/dist/index.js
CHANGED
|
@@ -5531,7 +5531,7 @@ var LOG_PATH = join(MULTI_DIR, "logs", "agent.log");
|
|
|
5531
5531
|
var SKILLS_DIR = join(MULTI_DIR, "skills");
|
|
5532
5532
|
var STOP_PATH = join(MULTI_DIR, "stop.flag");
|
|
5533
5533
|
var TASKS_DB_PATH = join(MULTI_DIR, "tasks.db");
|
|
5534
|
-
var VERSION = "0.6.
|
|
5534
|
+
var VERSION = "0.6.1";
|
|
5535
5535
|
var COMMANDS = {
|
|
5536
5536
|
setup: "Register this device with a workspace",
|
|
5537
5537
|
connect: "Connect device to realtime hub and execute assigned tasks",
|
|
@@ -6193,15 +6193,15 @@ Context (original task ${task.key}): ${task.title}` : base || task.title;
|
|
|
6193
6193
|
userPart += `
|
|
6194
6194
|
|
|
6195
6195
|
---
|
|
6196
|
-
Attached files (
|
|
6196
|
+
Attached input files (read them with your tools if useful):
|
|
6197
6197
|
${lines}
|
|
6198
6198
|
|
|
6199
|
-
|
|
6199
|
+
Note: if (and only if) you produce binary or large artifact outputs (screenshots, data exports, generated source files), write them under ${outDir}. Always put your human-facing reply in the chat response itself \u2014 do NOT write your answer as a file.`;
|
|
6200
6200
|
} else {
|
|
6201
6201
|
userPart += `
|
|
6202
6202
|
|
|
6203
6203
|
---
|
|
6204
|
-
|
|
6204
|
+
Respond in the chat. Only if you produce large artifact files (screenshots, data exports, generated source code), write them under ${outDir}. Do not put your answer in a file.`;
|
|
6205
6205
|
}
|
|
6206
6206
|
let preamble = "";
|
|
6207
6207
|
try {
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -17,7 +17,7 @@ const LOG_PATH = join(MULTI_DIR, 'logs', 'agent.log');
|
|
|
17
17
|
const SKILLS_DIR = join(MULTI_DIR, 'skills');
|
|
18
18
|
const STOP_PATH = join(MULTI_DIR, 'stop.flag');
|
|
19
19
|
const TASKS_DB_PATH = join(MULTI_DIR, 'tasks.db');
|
|
20
|
-
const VERSION = '0.6.
|
|
20
|
+
const VERSION = '0.6.1';
|
|
21
21
|
|
|
22
22
|
const COMMANDS = {
|
|
23
23
|
setup: 'Register this device with a workspace',
|
|
@@ -629,9 +629,9 @@ async function handleRunTask(apiUrl: string, deviceId: string, task: any, detect
|
|
|
629
629
|
userPart = stripSelfMention(userPart, preferType);
|
|
630
630
|
if (attachmentRefs.length) {
|
|
631
631
|
const lines = attachmentRefs.map(a => `- ${a.filename}: ${a.path}`).join('\n');
|
|
632
|
-
userPart += `\n\n---\nAttached files (
|
|
632
|
+
userPart += `\n\n---\nAttached input files (read them with your tools if useful):\n${lines}\n\nNote: if (and only if) you produce binary or large artifact outputs (screenshots, data exports, generated source files), write them under ${outDir}. Always put your human-facing reply in the chat response itself — do NOT write your answer as a file.`;
|
|
633
633
|
} else {
|
|
634
|
-
userPart += `\n\n---\
|
|
634
|
+
userPart += `\n\n---\nRespond in the chat. Only if you produce large artifact files (screenshots, data exports, generated source code), write them under ${outDir}. Do not put your answer in a file.`;
|
|
635
635
|
}
|
|
636
636
|
|
|
637
637
|
// Pull agent + linked skills to construct system/context preamble
|