@everyai/cli 0.5.0 → 0.6.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.
@@ -51,6 +51,13 @@ function overrideClassification(name) {
51
51
  reason: 'Running a recurring invoice now may immediately send an invoice email.',
52
52
  };
53
53
  }
54
+ if (name === 'approve_pending_deal') {
55
+ return {
56
+ level: 'write',
57
+ source: 'override',
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
+ };
60
+ }
54
61
  return undefined;
55
62
  }
56
63
  export function classify(tool) {
package/package.json CHANGED
@@ -1,6 +1,14 @@
1
1
  {
2
2
  "name": "@everyai/cli",
3
- "version": "0.5.0",
3
+ "version": "0.6.1",
4
+ "repository": {
5
+ "type": "git",
6
+ "url": "git+https://github.com/Every-AI-Inc/everyai-cli.git"
7
+ },
8
+ "homepage": "https://github.com/Every-AI-Inc/everyai-cli#readme",
9
+ "bugs": {
10
+ "url": "https://github.com/Every-AI-Inc/everyai-cli/issues"
11
+ },
4
12
  "private": false,
5
13
  "description": "The agent-agnostic command-line surface for Every AI.",
6
14
  "type": "module",
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: use-every
3
- description: Drive the Every AI CLI (`every`) to manage the user's service business — invoices, clients, contacts, proposals, deals, pipeline, payments, services, and bookings. Use when the user asks “who owes me money?”, wants a lead or deal follow-up, asks to look up, create, update, convert, or send a business record, or mentions their Every workspace.
3
+ description: Drive the Every AI CLI (`every`) to manage the user's service business — invoices, clients, contacts, proposals, deals, pipeline, payments, services, custom fields, and scheduled tasks. Use when the user asks “who owes me money?”, wants a lead or deal follow-up, asks to look up, create, update, convert, or send a business record, or mentions their Every workspace.
4
4
  ---
5
5
 
6
6
  # Use Every
@@ -13,7 +13,7 @@ For headless use, accept `EVERY_TOKEN` from the environment instead of browser l
13
13
 
14
14
  ## What Every Is
15
15
 
16
- Use Every as a service-business workspace for the sales pipeline, deals, contacts and clients, proposals, invoices, payments, services, and bookings. The authenticated CLI operates on one connected Every workspace at a time. If the user means a different business, tell them to switch accounts in Every.
16
+ Use Every as a service-business workspace for the sales pipeline, deals, contacts and clients, proposals, invoices, payments, and services. The authenticated CLI operates on one connected Every workspace at a time. If the user means a different business, tell them to switch accounts in Every.
17
17
 
18
18
  ## Required Workflow
19
19
 
@@ -67,7 +67,7 @@ Use `every whoami --json` to verify the authenticated user, org, environment, ba
67
67
 
68
68
  ### Deal activity auto-tracking is creation-only
69
69
 
70
- Creating a proposal, invoice, or booking automatically records activity on a matching deal when exactly one deal/client matches. After an Every creation command, never double-log that action:
70
+ Creating a proposal or invoice automatically records activity on a matching deal when exactly one deal/client matches. After an Every creation command, never double-log that action:
71
71
 
72
72
  ```bash
73
73
  every invoice create --client-id <client_id> --amount 100 --yes --json
@@ -130,11 +130,17 @@ every invoice send <invoice_id> --yes --allow-destructive --json
130
130
 
131
131
  Prefer `draft_email` so the user can review recipients and copy. `send_email` sends immediately from the user's own mailbox; use it only after explicit approval with both destructive flags.
132
132
 
133
- ### Calendar and booking ownership
133
+ ### Calendar ownership
134
134
 
135
135
  Calendar tools operate on the user's personal calendar. Confirm attendees and timezone before creating; reschedules and cancellations can notify attendees according to `send_updates`, so state that effect before acting.
136
136
 
137
- Booking create, reschedule, and cancel tools are owner-actions. Resolve the booking and check availability first, then confirm the customer-visible time change or cancellation before executing it.
137
+ ### Custom fields are schema, not events
138
+
139
+ `every tool call set_meta_fields ...` stores current state (e.g. a tracked boolean) on a contact, client, or deal; missing field definitions are created automatically, but check `every tool call list_meta_field_definitions --json` first and reuse an existing one when it fits. Something that *happened* (a call, visit, touchpoint) belongs in `log_deal_activity`, not a meta field. Tags are the `custom.tags` list field, not a separate feature.
140
+
141
+ ### Scheduled tasks report in-app, never in this session
142
+
143
+ `every tool call create_scheduled_task ...` sets up a saved instruction that runs on a cadence (once/daily/weekly/monthly). Results and any notifications always arrive in the Every app (Daily Brief / notifications) and by email if enabled — never back in this CLI session, so don't tell the user to expect output here.
138
144
 
139
145
  ### Prospecting reads
140
146
 
@@ -170,7 +176,7 @@ every tool call view_deal --arg deal_id=<deal_id> --json
170
176
  every deal move <deal_id> <stage> --yes --json
171
177
  ```
172
178
 
173
- Recommend follow-ups before moving anything. Log only outside events the user reports; creation of proposals, invoices, and bookings is already tracked.
179
+ Recommend follow-ups before moving anything. Log only outside events the user reports; creation of proposals and invoices is already tracked.
174
180
 
175
181
  Invoice flow: find who owes money:
176
182