@everyai/cli 0.6.3 → 0.6.4

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.
Files changed (2) hide show
  1. package/dist/lib/policy.js +31 -0
  2. package/package.json +1 -1
@@ -58,6 +58,37 @@ function overrideClassification(name) {
58
58
  reason: 'approve_pending_deal activates a deal and queues its plan; hard to undo, so pin write tier regardless of server annotation drift.',
59
59
  };
60
60
  }
61
+ // Client-deal tools (admin MCP, shipped 2026-09-03). None match the
62
+ // send_/delete_/void_/cancel_ name patterns, so without these entries their
63
+ // tier would rest entirely on server annotations.
64
+ if (name === 'create_client_deal') {
65
+ return {
66
+ level: 'write',
67
+ source: 'override',
68
+ reason: 'create_client_deal opens a new won deal for a client and makes the caller its delivery lead; pin write tier regardless of server annotation drift.',
69
+ };
70
+ }
71
+ if (name === 'set_deal_title') {
72
+ return {
73
+ level: 'write',
74
+ source: 'override',
75
+ reason: 'set_deal_title renames a deal, or clears the name back to the system default; pin write tier regardless of server annotation drift.',
76
+ };
77
+ }
78
+ if (name === 'link_deal_item') {
79
+ return {
80
+ level: 'write',
81
+ source: 'override',
82
+ reason: 'link_deal_item attaches an invoice or proposal to a deal and can change how that deal is valued; pin write tier regardless of server annotation drift.',
83
+ };
84
+ }
85
+ if (name === 'unlink_deal_item') {
86
+ return {
87
+ level: 'destructive',
88
+ source: 'override',
89
+ reason: 'unlink_deal_item detaches an invoice or proposal from a deal and the automatic matcher never re-links it, so the relationship is gone for good; same destructive tier as unlink_contact_from_client.',
90
+ };
91
+ }
61
92
  return undefined;
62
93
  }
63
94
  export function classify(tool) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@everyai/cli",
3
- "version": "0.6.3",
3
+ "version": "0.6.4",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/Every-AI-Inc/everyai-cli.git"