@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.
- package/.antigravity-plugin/plugin.json +1 -1
- package/.claude-plugin/plugin.json +1 -1
- package/dist/cli.js +4 -4
- package/dist/mcp.js +1 -1
- package/package.json +1 -1
- package/plugin.json +1 -1
- package/plugin.yaml +1 -1
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 {
|
|
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
|
|
28219
|
-
groups = await
|
|
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
|
-
|
|
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.
|
|
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
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.
|
|
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