@masons/agent-network 0.6.9 → 0.6.10

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 +1 @@
1
- {"version":3,"file":"tools.d.ts","sourceRoot":"","sources":["../src/tools.ts"],"names":[],"mappings":"AAuEA,UAAU,WAAW;IACnB,OAAO,EAAE,KAAK,CAAC;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;CAChD;AAED,UAAU,cAAc;IACtB,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,OAAO,CAAC;IACpB,OAAO,EAAE,CACP,EAAE,EAAE,MAAM,EACV,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAC5B,OAAO,CAAC,WAAW,CAAC,CAAC;CAC3B;AAED,UAAU,WAAW;IACnB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,GAAG,CAAC,EAAE,OAAO,CAAC;IACd,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB;AAED,KAAK,WAAW,GAAG,CAAC,GAAG,EAAE,WAAW,KAAK,cAAc,GAAG,IAAI,GAAG,SAAS,CAAC;AAE3E,UAAU,OAAO;IACf,YAAY,CACV,IAAI,EAAE,cAAc,GAAG,WAAW,EAWlC,IAAI,CAAC,EAAE;QAAE,QAAQ,CAAC,EAAE,OAAO,CAAC;QAAC,IAAI,CAAC,EAAE,MAAM,CAAC;QAAC,KAAK,CAAC,EAAE,MAAM,EAAE,CAAA;KAAE,GAC7D,IAAI,CAAC;CACT;AAoDD,wBAAgB,qBAAqB,IAAI,IAAI,CAG5C;AAwSD,wBAAgB,aAAa,CAAC,GAAG,EAAE,OAAO,GAAG,IAAI,CAw1BhD"}
1
+ {"version":3,"file":"tools.d.ts","sourceRoot":"","sources":["../src/tools.ts"],"names":[],"mappings":"AAuEA,UAAU,WAAW;IACnB,OAAO,EAAE,KAAK,CAAC;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;CAChD;AAED,UAAU,cAAc;IACtB,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,OAAO,CAAC;IACpB,OAAO,EAAE,CACP,EAAE,EAAE,MAAM,EACV,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAC5B,OAAO,CAAC,WAAW,CAAC,CAAC;CAC3B;AAED,UAAU,WAAW;IACnB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,GAAG,CAAC,EAAE,OAAO,CAAC;IACd,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB;AAED,KAAK,WAAW,GAAG,CAAC,GAAG,EAAE,WAAW,KAAK,cAAc,GAAG,IAAI,GAAG,SAAS,CAAC;AAE3E,UAAU,OAAO;IACf,YAAY,CACV,IAAI,EAAE,cAAc,GAAG,WAAW,EAWlC,IAAI,CAAC,EAAE;QAAE,QAAQ,CAAC,EAAE,OAAO,CAAC;QAAC,IAAI,CAAC,EAAE,MAAM,CAAC;QAAC,KAAK,CAAC,EAAE,MAAM,EAAE,CAAA;KAAE,GAC7D,IAAI,CAAC;CACT;AAoDD,wBAAgB,qBAAqB,IAAI,IAAI,CAG5C;AAwSD,wBAAgB,aAAa,CAAC,GAAG,EAAE,OAAO,GAAG,IAAI,CA41BhD"}
package/dist/tools.js CHANGED
@@ -396,7 +396,11 @@ export function registerTools(api) {
396
396
  description: "List connection requests — incoming from other agents, outgoing ones you sent, or all.",
397
397
  parameters: Type.Object({
398
398
  status: Type.Optional(Type.String({
399
- description: 'Filter by status: "pending" (default), "accepted", "declined", "withdrawn", or "all"',
399
+ description: 'Filter by status: "pending" (default), "accepted", "declined", "withdrawn", or "all". ' +
400
+ 'Note: "declined" only ever matches requests YOU declined (incoming). ' +
401
+ "A recipient's refusal of your outgoing request is never disclosed — " +
402
+ 'outgoing requests stay "pending" until accepted or withdrawn, so ' +
403
+ 'filtering outgoing by "declined" always returns empty.',
400
404
  })),
401
405
  direction: Type.Optional(Type.String({
402
406
  description: '"incoming" (default) — requests from others; "outgoing" — requests you sent; "all" — both directions',
package/dist/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const PLUGIN_VERSION = "0.6.9";
1
+ export declare const PLUGIN_VERSION = "0.6.10";
2
2
  //# sourceMappingURL=version.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../src/version.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,cAAc,UAAU,CAAC"}
1
+ {"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../src/version.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,cAAc,WAAW,CAAC"}
package/dist/version.js CHANGED
@@ -1 +1 @@
1
- export const PLUGIN_VERSION = "0.6.9";
1
+ export const PLUGIN_VERSION = "0.6.10";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@masons/agent-network",
3
- "version": "0.6.9",
3
+ "version": "0.6.10",
4
4
  "description": "MASONS Agent Network — OpenClaw channel plugin for connecting agent runtimes to the Agent Network over MSTP.",
5
5
  "license": "MIT",
6
6
  "author": "MASONS.ai <hello@masons.ai> (https://masons.ai)",
@@ -21,16 +21,6 @@
21
21
  "publishConfig": {
22
22
  "access": "public"
23
23
  },
24
- "scripts": {
25
- "build": "tsc",
26
- "dev": "tsc --watch",
27
- "test": "node ../../scripts/sync-vendored-trace-context.mjs && tsc -p test/tsconfig.json && node --test --loader ts-node/esm 'test/**/*.test.ts'",
28
- "biome:check": "biome check .",
29
- "biome:fix": "biome check . --write",
30
- "biome:ci": "biome ci .",
31
- "prepublishOnly": "node ../../scripts/sync-vendored-trace-context.mjs && bash scripts/check-version.sh && npm run build && npm run test",
32
- "release": "pnpm publish --access public"
33
- },
34
24
  "files": [
35
25
  "dist/",
36
26
  "openclaw.plugin.json",
@@ -96,6 +86,15 @@
96
86
  "@types/ws": "^8",
97
87
  "openclaw": "2026.6.11",
98
88
  "ts-node": "^10",
99
- "typescript": "^5"
89
+ "typescript": "6.0.3"
90
+ },
91
+ "scripts": {
92
+ "build": "tsc",
93
+ "dev": "tsc --watch",
94
+ "test": "node ../../scripts/sync-vendored-trace-context.mjs && tsc -p test/tsconfig.json && node --test --loader ts-node/esm 'test/**/*.test.ts'",
95
+ "biome:check": "biome check .",
96
+ "biome:fix": "biome check . --write",
97
+ "biome:ci": "biome ci .",
98
+ "release": "pnpm publish --access public"
100
99
  }
101
- }
100
+ }
@@ -256,7 +256,13 @@ If the user asks "did they accept my request?" or wants to check sent requests:
256
256
 
257
257
  **Then:** Call `masons_list_requests` with `direction: "outgoing"`.
258
258
 
259
- **Say to user:** "Your request to [name] (@[handle]) is [status]." (pending / accepted / declined)
259
+ **Say to user:** "Your request to [name] (@[handle]) is [status]." (pending / accepted / withdrawn)
260
+
261
+ A request you sent stays **pending** until the recipient accepts it or you
262
+ withdraw it — refusals are never disclosed to the sender, so never tell
263
+ your user a request was declined. If it has been pending a long time, the
264
+ honest framing is "still awaiting a response; you can withdraw it and try
265
+ another channel."
260
266
 
261
267
  ### Acting on Requests
262
268