sf-intelligence 0.2.4 → 0.3.0

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 (4) hide show
  1. package/README.md +19 -0
  2. package/dist/index.js +11631 -9738
  3. package/package.json +1 -1
  4. package/server.json +2 -2
package/README.md CHANGED
@@ -19,6 +19,25 @@ follow-ups resolve through an optional host-passed `context.previous` param —
19
19
  the server itself stores no conversation state. An opt-in live read-only plane
20
20
  can answer record counts and samples. MIT + Commons Clause.
21
21
 
22
+ ## Upgrading to 0.3.0 (breaking)
23
+
24
+ 0.3.0 changes defaults. If you are coming from 0.2.x, read this before upgrading —
25
+ full detail in [CHANGELOG.md](https://github.com/PranavNagrecha/Salesforce-Intelligence/blob/main/CHANGELOG.md).
26
+
27
+ - **`SFI_TOOL_PROFILE` now defaults to `core`.** 19 tools are advertised and
28
+ directly invokable; the other ~190 are reached with
29
+ `sfi.run_analysis { name: 'sfi.<tool>', args }`. Set `SFI_TOOL_PROFILE=full`
30
+ to restore the previous advertise-and-invoke-everything behavior.
31
+ - **`liveEnabled: true` no longer opens the live plane.** Grant standing consent
32
+ with `sfi.live_consent { grant: true }` (OrgId + principal bound, scoped,
33
+ 7-day expiry) or set `SFI_LIVE_PLANE_ENABLED=1`.
34
+ - **Existing on-disk live grants stop working** — v1 consent records are dropped.
35
+ Re-grant once.
36
+ - **The update check is now opt-in.** Set `SFI_UPDATE_CHECK=1` (default network
37
+ mode is `off`).
38
+ - **Every success envelope gains a `contentPolicy` block** (~280 bytes) marking
39
+ org metadata as untrusted data for hosts.
40
+
22
41
  ## Install
23
42
 
24
43
  Requires **Node.js 20+** and an authenticated **Salesforce CLI** (`sf`).