sf-intelligence 0.1.21 → 0.1.23
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/README.md +13 -7
- package/dist/index.js +3421 -86
- package/package.json +1 -1
- package/server.json +2 -2
package/README.md
CHANGED
|
@@ -1,17 +1,23 @@
|
|
|
1
1
|
# sf-intelligence
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
org's **real metadata**, not a guess.
|
|
3
|
+
A **grounded, fail-closed backend for AI assistants** working in one Salesforce
|
|
4
|
+
org — answers come from the org's **real metadata**, not a guess.
|
|
5
5
|
|
|
6
6
|
`sf-intelligence` is an **offline-first, read-only, MCP-first knowledge base**
|
|
7
7
|
for a single Salesforce org. You run one `sf project retrieve`; it builds a local
|
|
8
8
|
Markdown vault and a DuckDB dependency graph, then answers questions locally
|
|
9
9
|
through an MCP server (the `sfi.*` tools) — no network egress for vault answers.
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
10
|
+
It is not a standalone chatbot: a semantic router **advises** — it turns each
|
|
11
|
+
plain-language question into a meaning-ranked shortlist of the `sfi.*` tools
|
|
12
|
+
that can answer it, tagged with the plane it needs (offline vault / opt-in live
|
|
13
|
+
/ hybrid) and a confidence band — and your **host LLM decides** which tools to
|
|
14
|
+
run. It **fails closed**: write imperatives, prompt injection, and
|
|
15
|
+
record-value exfiltration are refused by shape (with a read-only alternative
|
|
16
|
+
offered), unanswerable asks get an honest gap instead of a lookalike tool, and
|
|
17
|
+
genuine ambiguity gets a clarifying question instead of a guess. Terse
|
|
18
|
+
follow-ups resolve through an optional host-passed `context.previous` param —
|
|
19
|
+
the server itself stores no conversation state. An opt-in live read-only plane
|
|
20
|
+
can answer record counts and samples. MIT + Commons Clause.
|
|
15
21
|
|
|
16
22
|
## Install
|
|
17
23
|
|