@craftsamo/signal-tools 0.1.0 → 0.1.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.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "signal-tools",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Signal tools for coding agents: chats, messages, contacts, received files and sends.",
5
5
  "author": {
6
6
  "name": "craftsamo",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "signal-tools",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Signal tools for coding agents: chats, messages, contacts, received files and sends.",
5
5
  "author": {
6
6
  "name": "craftsamo",
package/dist/cli.js CHANGED
@@ -28210,13 +28210,13 @@ function upsertGroups(mirror, groups, now) {
28210
28210
 
28211
28211
  // src/core/signal/sync-refresh.ts
28212
28212
  async function refreshDirectory(context) {
28213
- const { connection, mirror, now, log, signal, groupsUnchanged } = context;
28213
+ const { socketPath, mirror, now, log, signal, groupsUnchanged } = context;
28214
28214
  let contacts;
28215
28215
  let groups;
28216
28216
  try {
28217
28217
  const options = { timeoutMs: RPC_TIMEOUT_MS, signal };
28218
- contacts = await connection.call("listContacts", { allRecipients: true }, options);
28219
- groups = await connection.call("listGroups", { detailed: true }, options);
28218
+ contacts = await callDaemon(socketPath, "listContacts", { allRecipients: true }, options);
28219
+ groups = await callDaemon(socketPath, "listGroups", { detailed: true }, options);
28220
28220
  } catch (error62) {
28221
28221
  if (!signal.aborted) log(`refresh failed: ${errorText(error62)}`);
28222
28222
  return;
@@ -28289,7 +28289,7 @@ async function receive(run, session, daemon, connection) {
28289
28289
  wakeup.clear();
28290
28290
  await receiver.guard(
28291
28291
  () => refreshDirectory({
28292
- connection,
28292
+ socketPath: paths.socket,
28293
28293
  mirror,
28294
28294
  now,
28295
28295
  log,
package/dist/mcp.js CHANGED
@@ -36608,7 +36608,7 @@ async function main() {
36608
36608
  const settings = parseSettings(process.argv.slice(2), process.env);
36609
36609
  server = createServer(ALL_TOOLS, settings, {
36610
36610
  ownDir: packageRoot(import.meta.url),
36611
- version: true ? "0.1.0" : void 0
36611
+ version: true ? "0.1.1" : void 0
36612
36612
  });
36613
36613
  } catch (error62) {
36614
36614
  if (!isToolError(error62)) throw error62;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@craftsamo/signal-tools",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Signal tools for coding agents: chats, messages, contacts, received files and sends.",
5
5
  "author": "craftsamo",
6
6
  "license": "MIT",
package/plugin.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json",
3
3
  "name": "signal-tools",
4
- "version": "0.1.0",
4
+ "version": "0.1.1",
5
5
  "description": "Signal tools for coding agents: chats, messages, contacts, received files and sends.",
6
6
  "author": {
7
7
  "name": "craftsamo",
package/plugin.yaml CHANGED
@@ -1,5 +1,5 @@
1
1
  name: signal-tools
2
- version: 0.1.0
2
+ version: 0.1.1
3
3
  description: "Signal tools for coding agents: chats, messages, contacts, received files and sends."
4
4
  manifest_version: 1
5
5
  requires_hermes: ">=0.22"