comisai 1.0.13 → 1.0.14
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/node_modules/@comis/agent/dist/bootstrap/sections/core-sections.js +4 -1
- package/node_modules/@comis/agent/dist/executor/prompt-assembly.js +3 -0
- package/node_modules/@comis/agent/package.json +1 -1
- package/node_modules/@comis/channels/package.json +1 -1
- package/node_modules/@comis/cli/package.json +1 -1
- package/node_modules/@comis/core/package.json +1 -1
- package/node_modules/@comis/daemon/dist/wiring/setup-channels.js +1 -1
- package/node_modules/@comis/daemon/package.json +1 -1
- package/node_modules/@comis/gateway/package.json +1 -1
- package/node_modules/@comis/infra/package.json +1 -1
- package/node_modules/@comis/memory/package.json +1 -1
- package/node_modules/@comis/scheduler/package.json +1 -1
- package/node_modules/@comis/shared/package.json +1 -1
- package/node_modules/@comis/skills/package.json +1 -1
- package/package.json +12 -12
|
@@ -127,7 +127,10 @@ export function buildInboundMetadataSection(meta, _isMinimal) {
|
|
|
127
127
|
"This is the metadata for the message you are currently responding to.",
|
|
128
128
|
"Do not reveal these internal identifiers to the user.",
|
|
129
129
|
];
|
|
130
|
-
if (meta.flags.
|
|
130
|
+
if (meta.flags.isCronAgentTurn) {
|
|
131
|
+
lines.push("", "**CRON AGENT TURN:** This is an autonomous scheduled execution — you were invoked by a cron job to check on something, NOT by a user message.", "Use your tools to gather current data, then decide whether there is anything worth reporting.", "If there is nothing actionable or noteworthy to report, respond with exactly NO_REPLY — the system will suppress delivery and the user will not be disturbed.", "If there IS something to report, respond with a concise, actionable message for the user.", "Do NOT use the message tool (the system delivers your response automatically).");
|
|
132
|
+
}
|
|
133
|
+
else if (meta.flags.isScheduled) {
|
|
131
134
|
lines.push("", "**SCHEDULED REMINDER:** This message is a scheduled reminder delivery, NOT a new user request.", "Your job is to deliver the reminder content to the user in a friendly, concise way.", "Do NOT ask follow-up questions, offer to reschedule, or search for context.", "Respond directly with the reminder text — do NOT use the message tool (the system delivers your response automatically).", "Do NOT respond with NO_REPLY or empty text.");
|
|
132
135
|
}
|
|
133
136
|
return lines;
|
|
@@ -189,7 +189,7 @@ export async function setupChannels(deps) {
|
|
|
189
189
|
text: resultText,
|
|
190
190
|
timestamp: Date.now(),
|
|
191
191
|
attachments: [],
|
|
192
|
-
metadata: {
|
|
192
|
+
metadata: { isCronAgentTurn: true, jobId: payload.jobId, jobName },
|
|
193
193
|
};
|
|
194
194
|
const execStartTs = Date.now();
|
|
195
195
|
try {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "comisai",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.14",
|
|
4
4
|
"author": "Moshe Anconina",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"description": "Security-first AI agent platform — connects AI agents to Discord, Telegram, Slack, WhatsApp, and more",
|
|
@@ -115,17 +115,17 @@
|
|
|
115
115
|
"@comis/daemon"
|
|
116
116
|
],
|
|
117
117
|
"dependencies": {
|
|
118
|
-
"@comis/shared": "1.0.
|
|
119
|
-
"@comis/core": "1.0.
|
|
120
|
-
"@comis/infra": "1.0.
|
|
121
|
-
"@comis/memory": "1.0.
|
|
122
|
-
"@comis/gateway": "1.0.
|
|
123
|
-
"@comis/skills": "1.0.
|
|
124
|
-
"@comis/scheduler": "1.0.
|
|
125
|
-
"@comis/agent": "1.0.
|
|
126
|
-
"@comis/channels": "1.0.
|
|
127
|
-
"@comis/cli": "1.0.
|
|
128
|
-
"@comis/daemon": "1.0.
|
|
118
|
+
"@comis/shared": "1.0.14",
|
|
119
|
+
"@comis/core": "1.0.14",
|
|
120
|
+
"@comis/infra": "1.0.14",
|
|
121
|
+
"@comis/memory": "1.0.14",
|
|
122
|
+
"@comis/gateway": "1.0.14",
|
|
123
|
+
"@comis/skills": "1.0.14",
|
|
124
|
+
"@comis/scheduler": "1.0.14",
|
|
125
|
+
"@comis/agent": "1.0.14",
|
|
126
|
+
"@comis/channels": "1.0.14",
|
|
127
|
+
"@comis/cli": "1.0.14",
|
|
128
|
+
"@comis/daemon": "1.0.14",
|
|
129
129
|
"@agentclientprotocol/sdk": "^0.15.0",
|
|
130
130
|
"@clack/core": "^1.1.0",
|
|
131
131
|
"@clack/prompts": "^1.1.0",
|