comisai 1.0.8 → 1.0.9

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.
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@comis/agent",
3
3
  "private": true,
4
- "version": "1.0.8",
4
+ "version": "1.0.9",
5
5
  "author": "Moshe Anconina",
6
6
  "license": "Apache-2.0",
7
7
  "description": "AI agent executor, budget control, and session management for Comis",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@comis/channels",
3
3
  "private": true,
4
- "version": "1.0.8",
4
+ "version": "1.0.9",
5
5
  "author": "Moshe Anconina",
6
6
  "license": "Apache-2.0",
7
7
  "description": "Chat platform adapters — Discord, Telegram, Slack, WhatsApp, Signal, iMessage, IRC, LINE",
@@ -190,7 +190,7 @@ async function execSystemctl(manager, ...args) {
190
190
  // System-scope systemd requires root; escalate via sudo if we're not root
191
191
  // eslint-disable-next-line no-restricted-syntax -- CLI bootstrap before SecretManager
192
192
  if (manager === "systemd" && process.getuid?.() !== 0) {
193
- return exec("sudo", ["systemctl", ...fullArgs], { timeout: 15_000 });
193
+ return exec("sudo", ["-n", "systemctl", ...fullArgs], { timeout: 15_000 });
194
194
  }
195
195
  return exec("systemctl", fullArgs, { timeout: 15_000 });
196
196
  }
@@ -264,7 +264,20 @@ async function handleDaemonStart() {
264
264
  case "systemd":
265
265
  case "systemd-user": {
266
266
  if (await isSystemdActive(manager)) {
267
- success("Daemon is already running (systemd)");
267
+ // Verify the CLI can actually talk to the daemon
268
+ try {
269
+ await withClient(async (client) => client.call("system.ping", {}));
270
+ success("Daemon is already running (systemd)");
271
+ }
272
+ catch {
273
+ warn("Daemon is running (systemd) but CLI cannot connect");
274
+ if (!existsSync(safePath(os.homedir(), ".comis", "config.yaml"))) {
275
+ info("Run 'comis init' to configure the daemon");
276
+ }
277
+ else {
278
+ info("Try restarting: sudo systemctl restart comis");
279
+ }
280
+ }
268
281
  return;
269
282
  }
270
283
  const scope = manager === "systemd-user" ? "systemd (user scope)" : "systemd";
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@comis/cli",
3
3
  "private": true,
4
- "version": "1.0.8",
4
+ "version": "1.0.9",
5
5
  "author": "Moshe Anconina",
6
6
  "license": "Apache-2.0",
7
7
  "description": "Command-line interface for the Comis AI agent platform",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@comis/core",
3
3
  "private": true,
4
- "version": "1.0.8",
4
+ "version": "1.0.9",
5
5
  "author": "Moshe Anconina",
6
6
  "license": "Apache-2.0",
7
7
  "description": "Core domain types, ports, event bus, security, and config for Comis",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@comis/daemon",
3
3
  "private": true,
4
- "version": "1.0.8",
4
+ "version": "1.0.9",
5
5
  "author": "Moshe Anconina",
6
6
  "license": "Apache-2.0",
7
7
  "description": "Background daemon and orchestrator for the Comis platform",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@comis/gateway",
3
3
  "private": true,
4
- "version": "1.0.8",
4
+ "version": "1.0.9",
5
5
  "author": "Moshe Anconina",
6
6
  "license": "Apache-2.0",
7
7
  "description": "HTTP, JSON-RPC, and WebSocket gateway for Comis",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@comis/infra",
3
3
  "private": true,
4
- "version": "1.0.8",
4
+ "version": "1.0.9",
5
5
  "author": "Moshe Anconina",
6
6
  "license": "Apache-2.0",
7
7
  "description": "Structured logging infrastructure for Comis",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@comis/memory",
3
3
  "private": true,
4
- "version": "1.0.8",
4
+ "version": "1.0.9",
5
5
  "author": "Moshe Anconina",
6
6
  "license": "Apache-2.0",
7
7
  "description": "SQLite memory, embeddings, and RAG storage for Comis agents",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@comis/scheduler",
3
3
  "private": true,
4
- "version": "1.0.8",
4
+ "version": "1.0.9",
5
5
  "author": "Moshe Anconina",
6
6
  "license": "Apache-2.0",
7
7
  "description": "Task scheduling and cron management for Comis",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@comis/shared",
3
3
  "private": true,
4
- "version": "1.0.8",
4
+ "version": "1.0.9",
5
5
  "author": "Moshe Anconina",
6
6
  "license": "Apache-2.0",
7
7
  "description": "Shared types and utilities for the Comis platform",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@comis/skills",
3
3
  "private": true,
4
- "version": "1.0.8",
4
+ "version": "1.0.9",
5
5
  "author": "Moshe Anconina",
6
6
  "license": "Apache-2.0",
7
7
  "description": "Skill system, MCP integration, and tool sandbox for Comis agents",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "comisai",
3
- "version": "1.0.8",
3
+ "version": "1.0.9",
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.8",
119
- "@comis/core": "1.0.8",
120
- "@comis/infra": "1.0.8",
121
- "@comis/memory": "1.0.8",
122
- "@comis/gateway": "1.0.8",
123
- "@comis/skills": "1.0.8",
124
- "@comis/scheduler": "1.0.8",
125
- "@comis/agent": "1.0.8",
126
- "@comis/channels": "1.0.8",
127
- "@comis/cli": "1.0.8",
128
- "@comis/daemon": "1.0.8",
118
+ "@comis/shared": "1.0.9",
119
+ "@comis/core": "1.0.9",
120
+ "@comis/infra": "1.0.9",
121
+ "@comis/memory": "1.0.9",
122
+ "@comis/gateway": "1.0.9",
123
+ "@comis/skills": "1.0.9",
124
+ "@comis/scheduler": "1.0.9",
125
+ "@comis/agent": "1.0.9",
126
+ "@comis/channels": "1.0.9",
127
+ "@comis/cli": "1.0.9",
128
+ "@comis/daemon": "1.0.9",
129
129
  "@agentclientprotocol/sdk": "^0.15.0",
130
130
  "@clack/core": "^1.1.0",
131
131
  "@clack/prompts": "^1.1.0",