sf-intelligence 0.1.17 → 0.1.18

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/dist/index.js CHANGED
@@ -25194,7 +25194,7 @@ var init_intent_router = __esm({
25194
25194
  reason: "What happens when {Object}.{field} becomes {value} \u2014 the automation coupled to a value/stage transition, from the vault (lifecycle_process).",
25195
25195
  patterns: [
25196
25196
  /\bwhat\s+happens\s+when\b.*\b(becomes?|turns?|changes?\s+to|is\s+set\s+to|reaches?)\b/,
25197
- /\bwhat\s+happens\s+when\b.*\b(closed\s+won|closed\s+lost|converted|approved|activated)\b/,
25197
+ /\bwhat\s+(?:happens|runs|fires)\s+when\b.*\b(closed\s+won|closed\s+lost|converted|approved|activated)\b/,
25198
25198
  /\b(value.?coupl\w*|coupled)\b.*\b(StageName|Closed Won|stage|transition)\b/,
25199
25199
  /\bStageName\b.*\b(Closed Won|closed won|transition)\b/,
25200
25200
  /\bClosed Won\b.*\b(automation|flow|trigger|coupl)\b/
@@ -49412,7 +49412,8 @@ var init_lifecycle_process = __esm({
49412
49412
  const disclosures = [
49413
49413
  `Composed from the documented order of execution for the ${event} event \u2014 conditions are LISTED but NOT EVALUATED; whether a given record actually matches ${field !== null && value !== null ? `${field} = "${value}"` : "the transition"} needs record data.`,
49414
49414
  "Value coupling is a literal match of the value over the parsed condition expression \u2014 it can miss a value encoded in a formula and can over-match a substring. Field coupling uses the condition\u2019s extracted field references.",
49415
- "This is the metadata automation chain. It does not include manual user actions, the runtime field-history / audit trail, roll-up / cross-object parent recalculation, or external callouts."
49415
+ "This is the metadata automation chain. It does not include manual user actions, the runtime field-history / audit trail, roll-up / cross-object parent recalculation, or external callouts.",
49416
+ "Distinct record ACTIONS \u2014 Lead Convert (IsConverted), Approval submission, and Activation \u2014 are not plain field edits and are not modeled as save-order steps: their action-specific automation (for Lead Convert, the Convert field mapping, matching / duplicate rules, and any managed-package auto-convert; for approval / activation, the approval or activation process itself) is outside this insert/update view. Treat a conversion / approval / activation answer as the save-time slice only, not the whole operation."
49416
49417
  ];
49417
49418
  if (field === null || value === null) {
49418
49419
  disclosures.push('No specific value transition supplied \u2014 showing the full automation chain. Pass `field` + `value` (e.g. field="StageName", value="Closed Won") to highlight the automation coupled to that transition.');
@@ -68020,7 +68021,7 @@ var init_package_version = __esm({
68020
68021
  "use strict";
68021
68022
  readCliPackageVersion = () => {
68022
68023
  if (true)
68023
- return "0.1.17";
68024
+ return "0.1.18";
68024
68025
  for (const rel of ["../package.json", "../../package.json"]) {
68025
68026
  try {
68026
68027
  const raw = readFileSync3(fileURLToPath(new URL(rel, import.meta.url)), "utf8");
@@ -137920,7 +137921,7 @@ var makeShutdownOnce = (ctx) => {
137920
137921
 
137921
137922
  // dist/src/commands/demo.js
137922
137923
  init_refresh();
137923
- var buildVersion = () => true ? "0.1.17" : "dev";
137924
+ var buildVersion = () => true ? "0.1.18" : "dev";
137924
137925
  var SHUTDOWN_SIGNALS2 = ["SIGINT", "SIGTERM"];
137925
137926
  var resolveDemoSource = () => {
137926
137927
  let dir = dirname21(fileURLToPath2(import.meta.url));
@@ -138894,7 +138895,7 @@ init_vault_git();
138894
138895
  init_watch();
138895
138896
  var readVersion = () => {
138896
138897
  if (true)
138897
- return "0.1.17";
138898
+ return "0.1.18";
138898
138899
  const pkgUrl = new URL("../../package.json", import.meta.url);
138899
138900
  const raw = readFileSync6(fileURLToPath3(pkgUrl), "utf8");
138900
138901
  const parsed = JSON.parse(raw);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sf-intelligence",
3
- "version": "0.1.17",
3
+ "version": "0.1.18",
4
4
  "description": "Offline-first, MCP-first knowledge base for a Salesforce org. Ask about your org's metadata, dependencies, permissions, and automation — grounded in real retrieved metadata. Ships the sfi CLI and an MCP server.",
5
5
  "license": "SEE LICENSE IN LICENSE",
6
6
  "homepage": "https://salesforce-intelligence.pages.dev",
@@ -68,14 +68,14 @@
68
68
  "vitest": "^1.6.0",
69
69
  "@sf-intelligence/contracts": "0.1.0",
70
70
  "@sf-intelligence/extractors": "0.1.0",
71
+ "@sf-intelligence/mcp": "0.1.0",
72
+ "@sf-intelligence/patterns": "0.1.0",
73
+ "@sf-intelligence/renderers": "0.1.0",
71
74
  "@sf-intelligence/core": "0.1.0",
72
- "@sf-intelligence/graph": "0.1.0",
73
- "@sf-intelligence/parsers": "0.1.0",
74
75
  "@sf-intelligence/tooling-api": "0.1.0",
75
76
  "@sf-intelligence/vault": "0.1.0",
76
- "@sf-intelligence/renderers": "0.1.0",
77
- "@sf-intelligence/mcp": "0.1.0",
78
- "@sf-intelligence/patterns": "0.1.0"
77
+ "@sf-intelligence/graph": "0.1.0",
78
+ "@sf-intelligence/parsers": "0.1.0"
79
79
  },
80
80
  "scripts": {
81
81
  "build": "tsc --build && node build.mjs",
package/server.json CHANGED
@@ -7,13 +7,13 @@
7
7
  "url": "https://github.com/PranavNagrecha/Salesforce-Intelligence",
8
8
  "source": "github"
9
9
  },
10
- "version": "0.1.17",
10
+ "version": "0.1.18",
11
11
  "packages": [
12
12
  {
13
13
  "registryType": "npm",
14
14
  "registryBaseUrl": "https://registry.npmjs.org",
15
15
  "identifier": "sf-intelligence",
16
- "version": "0.1.17",
16
+ "version": "0.1.18",
17
17
  "transport": {
18
18
  "type": "stdio"
19
19
  },