@didit-protocol/mcp-server 5.1.67 → 5.1.70
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 +6 -3
- package/dist/orgapp.d.ts +3 -0
- package/dist/orgapp.d.ts.map +1 -1
- package/dist/orgapp.js +109 -8
- package/dist/orgapp.js.map +1 -1
- package/dist/schema/feature-config-schema.json +11 -1
- package/dist/tools/context.d.ts.map +1 -1
- package/dist/tools/context.js +32 -9
- package/dist/tools/context.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -53,7 +53,7 @@ configuration produces an actionable tool error instead of inline PDF data.
|
|
|
53
53
|
|
|
54
54
|
### Hosted (recommended)
|
|
55
55
|
|
|
56
|
-
No install
|
|
56
|
+
No install: point your client at the hosted URL and sign in via the browser. An agent with no person present can [connect with an API key](#connect-with-an-api-key-headless-agents-and-ci) instead.
|
|
57
57
|
|
|
58
58
|
```
|
|
59
59
|
https://mcp.didit.me/mcp
|
|
@@ -70,6 +70,8 @@ A client that was given the address without the path, `https://mcp.didit.me`, re
|
|
|
70
70
|
| **VS Code** (GitHub Copilot) | [Add Didit to VS Code](https://vscode.dev/redirect/mcp/install?name=didit&config=%7B%22type%22%3A%22http%22%2C%22url%22%3A%22https%3A%2F%2Fmcp.didit.me%2Fmcp%22%7D) |
|
|
71
71
|
| **OpenAI Codex** | `codex mcp add didit --url https://mcp.didit.me/mcp` |
|
|
72
72
|
|
|
73
|
+
**Claude plugin:** `/plugin install didit --marketplace didit-protocol/skills` installs the Didit plugin (this server + 8 skills). Source: https://github.com/didit-protocol/skills/tree/main/plugins/didit
|
|
74
|
+
|
|
73
75
|
**Cursor** (`~/.cursor/mcp.json`), by hand
|
|
74
76
|
|
|
75
77
|
```json
|
|
@@ -263,7 +265,7 @@ The server also sends **instructions** on connect (where to start, how organizat
|
|
|
263
265
|
|
|
264
266
|
160+ tools, grouped by toolset. The full catalogue with read/write/destructive markers is in [`docs/TOOLS.md`](docs/TOOLS.md) and at [docs.didit.me](https://docs.didit.me/integration/mcp/tools). Highlights:
|
|
265
267
|
|
|
266
|
-
- **Discovery & cross-app:** `didit_context_get`, `didit_session_search`, `didit_transaction_search`, `didit_vendor_user_search`, `didit_analytics` — aggregate across every org/app in one call.
|
|
268
|
+
- **Discovery & cross-app:** `didit_context_get`, `didit_session_search`, `didit_transaction_search`, `didit_vendor_user_search`, `didit_analytics` — aggregate across every org/app in one call. A role that may not list the organization's applications (Reader, Developer, Compliance Officer) gets the applications on their own membership row, marked `applications_source: "membership"` with `mode` not known; when even that cannot be read the organization reports `applications_unknown: true` instead of claiming it has none.
|
|
267
269
|
- **Sessions:** create, list, get decision, update status, reviews, bulk import, webhook delivery log + resend (`didit_session_webhooks` waits for a sandbox session's webhook so an integration can be verified end to end), Precise Location evidence (`didit_session_get_location_evidence`: every attempt and the same person's earlier checks behind a Location verdict).
|
|
268
270
|
- **Verification APIs:** `didit_verify_id`, `didit_verify_aml`, `didit_verify_face_match`, `didit_verify_kyb_search`, …
|
|
269
271
|
- **Workflows (incl. branching graphs):** `didit_workflow_search`, `didit_workflow_get_graph`, `didit_workflow_edit_graph` — build conditional/branching workflows (fuzzy-match conditions, Document-AI steps) by sending small ops; large feature configs are kept server-side, never resent. `didit_workflow_get_id_verification_methods_catalog` and `didit_workflow_get_kyb_registry_catalog` answer the server-driven questions a config write depends on (which countries offer non-doc lookup / wallets, which KYB data tiers and monitoring a country's registries sell).
|
|
@@ -376,7 +378,7 @@ A key that is not listed here is not part of the contract and is dropped silentl
|
|
|
376
378
|
|
|
377
379
|
<!-- BEGIN GENERATED FEATURE CONFIG REFERENCE -->
|
|
378
380
|
|
|
379
|
-
_Generated from `schema/feature-config-schema.json` (contract `sha256:
|
|
381
|
+
_Generated from `schema/feature-config-schema.json` (contract `sha256:420b7b24ac86be17505a0966b1b601675ff047dc04eb8ed922035c32f16fc673`, schema version 1), which is a copy of the artifact `service-didit-verification` generates from its feature-config serializers. Do not edit by hand — run `npm run schema:readme`._
|
|
380
382
|
|
|
381
383
|
### AGE_ESTIMATION
|
|
382
384
|
|
|
@@ -815,6 +817,7 @@ Configuration for OCR/ID Verification feature.
|
|
|
815
817
|
| `document_selfie_duplicated_face_name_mismatch_action` | string \| null | 'NO_ACTION'\|'REVIEW'\|'DECLINE' | Verdict when the document-capture selfie matches a user already verified under a different name. Can only escalate document_selfie_duplicated_face_action. |
|
|
816
818
|
| `document_selfie_face_search_enabled` | boolean \| null | boolean | Run the 1:N Face Search on the selfie taken during document capture (needs is_document_selfie_portrait_match_enabled): match it against the face blocklist and previously verified users. The selfie is a probe only, its template is never stored. On by default. Off skips the search and leaves the document-selfie duplicate-face actions with nothing to act on; face_search_enabled off on the LIVENESS step skips it too, since that opt-out covers every selfie of the session. |
|
|
817
819
|
| `document_selfie_portrait_match_decline_threshold` | integer \| null | integer >=0 <=100 | |
|
|
820
|
+
| `document_selfie_portrait_match_not_computed_action` | string \| null | 'REVIEW'\|'DECLINE' | Verdict when is_document_selfie_portrait_match_enabled is on but the client scanning the document reported that it captured no front-camera image (front_camera_image_unavailable is true) and neither side of the document produced a selfie-to-portrait score, so the comparison never ran. Defaults to REVIEW: an absent comparison is not a passed one. Set DECLINE for an application that treats the missing mandatory check as a failed one. A missing frame alone never raises it: gallery uploads and the standalone ID verification API do not report the flag, so the risk does not apply to them. |
|
|
818
821
|
| `document_selfie_portrait_match_review_threshold` | integer \| null | integer >=0 <=100 | |
|
|
819
822
|
| `document_without_portrait_action` | string \| null | 'NO_ACTION'\|'REVIEW'\|'DECLINE' | Verdict when the scanned document family carries no portrait on any side. Node-config only - there is no account-level setting; the runtime default is REVIEW. |
|
|
820
823
|
| `documents_allowed` | json \| null | {"<ISO3>": {"<DOC_CODE>": {"enabled": 0\|1, "sides"?: 1\|2, "subtypes"?: ["<SUBTYPE_CODE>", ...]}}} | Which identity documents are accepted, per issuing country. Omit the key entirely to accept the full catalog; an empty object means the same thing. At least one document must end up enabled or the save is rejected. |
|
package/dist/orgapp.d.ts
CHANGED
|
@@ -13,6 +13,9 @@ export interface OrgRef {
|
|
|
13
13
|
apps: AppRef[];
|
|
14
14
|
/** listApplications failed for this org — its apps are UNKNOWN, not empty. */
|
|
15
15
|
appsError?: boolean;
|
|
16
|
+
/** Where `apps` came from when the organization's application list was refused: the signed-in
|
|
17
|
+
* member's own row in the member list. Those applications carry no `mode`. */
|
|
18
|
+
appsSource?: "membership";
|
|
16
19
|
}
|
|
17
20
|
/** The caller's organizations with their applications nested, cached per token (60s TTL). */
|
|
18
21
|
export declare function getOrgAppMap(forceRefresh?: boolean): Promise<OrgRef[]>;
|
package/dist/orgapp.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"orgapp.d.ts","sourceRoot":"","sources":["../src/orgapp.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"orgapp.d.ts","sourceRoot":"","sources":["../src/orgapp.ts"],"names":[],"mappings":"AAYA,MAAM,WAAW,MAAM;IACrB,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;IAChB;;;oGAGgG;IAChG,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AACD,MAAM,WAAW,MAAM;IACrB,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,EAAE,CAAC;IACf,8EAA8E;IAC9E,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;mFAC+E;IAC/E,UAAU,CAAC,EAAE,YAAY,CAAC;CAC3B;AAmJD,6FAA6F;AAC7F,wBAAsB,YAAY,CAAC,YAAY,UAAQ,GAAG,OAAO,CAAC,MAAM,EAAE,CAAC,CAqB1E;AAED;2FAC2F;AAC3F,wBAAsB,WAAW,CAAC,CAAC,EACjC,KAAK,EAAE,MAAM,EACb,KAAK,EAAE,MAAM,GAAG,SAAS,EACzB,EAAE,EAAE,MAAM,OAAO,CAAC,CAAC,CAAC,GACnB,OAAO,CAAC,CAAC,CAAC,CAMZ;AAED,iFAAiF;AACjF,wBAAsB,kBAAkB,CAAC,CAAC,EAAE,CAAC,EAC3C,KAAK,EAAE,CAAC,EAAE,EACV,KAAK,EAAE,MAAM,EACb,EAAE,EAAE,CAAC,IAAI,EAAE,CAAC,EAAE,KAAK,EAAE,MAAM,KAAK,OAAO,CAAC,CAAC,CAAC,GACzC,OAAO,CAAC,CAAC,EAAE,CAAC,CAYd;AAMD,eAAO,MAAM,aAAa;;;;;;;;;CAShB,CAAC"}
|
package/dist/orgapp.js
CHANGED
|
@@ -5,6 +5,8 @@ exports.getOrgAppMap = getOrgAppMap;
|
|
|
5
5
|
exports.runForScope = runForScope;
|
|
6
6
|
exports.mapWithConcurrency = mapWithConcurrency;
|
|
7
7
|
const config_1 = require("./config");
|
|
8
|
+
const paging_1 = require("./paging");
|
|
9
|
+
const security_1 = require("./security");
|
|
8
10
|
const auth_1 = require("./tools/auth");
|
|
9
11
|
// Keyed by the caller's access token; the MCP process is long-lived so module state
|
|
10
12
|
// persists across the per-request Server instances. Short TTL keeps it fresh.
|
|
@@ -24,26 +26,125 @@ function extractResults(payload) {
|
|
|
24
26
|
const idOf = (o) => o?.uuid ?? o?.id ?? o?.organization_id ?? o?.application_id;
|
|
25
27
|
const nameOf = (o) => o?.name ?? o?.display_name ?? idOf(o) ?? "";
|
|
26
28
|
const modeOf = (o) => typeof o?.mode === "string" && o.mode ? { mode: o.mode } : {};
|
|
29
|
+
const toAppRef = (a) => {
|
|
30
|
+
const appId = idOf(a);
|
|
31
|
+
return appId ? { appId, appName: nameOf(a), ...modeOf(a) } : null;
|
|
32
|
+
};
|
|
33
|
+
const toAppRefs = (payload) => extractResults(payload).map(toAppRef).filter((a) => a !== null);
|
|
34
|
+
/**
|
|
35
|
+
* The applications on the signed-in member's own row, or undefined when any of them is unreadable.
|
|
36
|
+
*
|
|
37
|
+
* The read shape of `accessible_applications` is expanded objects (`OrganizationApplicationSerializer`,
|
|
38
|
+
* `{ uuid, name }`); the write shape is a list of bare UUIDs (`OrganizationMemberUpdateSerializer`).
|
|
39
|
+
* Both are accepted, so a row that answers in either shape gives the person their applications.
|
|
40
|
+
*
|
|
41
|
+
* One entry that is neither an object carrying an id nor a non-empty string makes the whole list
|
|
42
|
+
* UNKNOWN. Dropping it would answer a shorter list, or an empty one, and "your organization has no
|
|
43
|
+
* applications" is the answer this fallback exists to stop giving: unreadable is not none.
|
|
44
|
+
*/
|
|
45
|
+
function membershipAppRefs(entries) {
|
|
46
|
+
const refs = [];
|
|
47
|
+
for (const entry of entries) {
|
|
48
|
+
if (typeof entry === "string") {
|
|
49
|
+
const appId = entry.trim();
|
|
50
|
+
if (!appId)
|
|
51
|
+
return undefined;
|
|
52
|
+
// A bare id carries no name and no mode. The id is the only label the row gave, the same
|
|
53
|
+
// fallback toAppRef uses for an object whose name the API omitted.
|
|
54
|
+
refs.push({ appId, appName: appId });
|
|
55
|
+
continue;
|
|
56
|
+
}
|
|
57
|
+
if (!entry || typeof entry !== "object" || Array.isArray(entry))
|
|
58
|
+
return undefined;
|
|
59
|
+
const ref = toAppRef(entry);
|
|
60
|
+
if (!ref)
|
|
61
|
+
return undefined;
|
|
62
|
+
refs.push(ref);
|
|
63
|
+
}
|
|
64
|
+
return refs;
|
|
65
|
+
}
|
|
66
|
+
/** The signed-in member's identifier (their e-mail/SSO id), to find their own row in a member list. */
|
|
67
|
+
async function memberIdentifier() {
|
|
68
|
+
const me = await (0, config_1.apiRequest)("/users/me/", { baseUrl: config_1.DIDIT_AUTH_BASE_URL });
|
|
69
|
+
return typeof me?.identifier === "string" && me.identifier ? me.identifier : undefined;
|
|
70
|
+
}
|
|
71
|
+
/**
|
|
72
|
+
* The applications the signed-in member may open, read from their OWN row in the member list.
|
|
73
|
+
*
|
|
74
|
+
* GET /organizations/me/{org}/applications/ answers 403 to every role but Owner and Admin
|
|
75
|
+
* ("Only organization owners and admins can manage applications."), while the same person can
|
|
76
|
+
* list the team (list:members) and their row carries `accessible_applications` — the ids the
|
|
77
|
+
* app-scoped tools already accept. Reading it separates "refused" from "none": before this,
|
|
78
|
+
* every non-admin role was shown an empty organization and told it had no applications.
|
|
79
|
+
*
|
|
80
|
+
* The member list is paged (`?limit=` / `?offset=`, answering `{count, next, previous, results}`),
|
|
81
|
+
* and the caller's own row is not necessarily on the first page: in a large organization that
|
|
82
|
+
* row can be on page 2 or later, so reading one page answered "could not be determined" for
|
|
83
|
+
* exactly the teams this fallback exists for. everyPage (paging.ts) is the same reader the
|
|
84
|
+
* organization and application discovery use; its callback hands back only the page holding the
|
|
85
|
+
* caller's row, with no `next`, so paging stops there. The read keeps that helper's page cap, so
|
|
86
|
+
* a list that never ends cannot hang the call. A page that cannot be read, or a read the cap
|
|
87
|
+
* stopped before the end, answers undefined (UNKNOWN), never "no applications".
|
|
88
|
+
*
|
|
89
|
+
* The row has no `mode`, so these applications carry none. Undefined means the row could not be
|
|
90
|
+
* read (not that it is empty): the caller must report the organization's apps as UNKNOWN.
|
|
91
|
+
*/
|
|
92
|
+
async function appsFromOwnMembership(orgId, identifier) {
|
|
93
|
+
// Called directly rather than through tools/members.listMembers: that module imports ORG_APP_PROPS
|
|
94
|
+
// from here, and importing it back would be a cycle.
|
|
95
|
+
const path = `/organizations/${(0, security_1.pathSegment)(orgId, "organization_id")}/members/`;
|
|
96
|
+
const wanted = identifier.toLowerCase();
|
|
97
|
+
const ownRow = (rows) => rows.find((m) => typeof m?.identifier === "string" && m.identifier.toLowerCase() === wanted);
|
|
98
|
+
const whole = await (0, paging_1.everyPage)(async (page) => {
|
|
99
|
+
const answer = await (0, config_1.apiRequest)(path, { baseUrl: config_1.DIDIT_AUTH_BASE_URL, params: page });
|
|
100
|
+
// A bare array is a list the API did not page; everyPage returns it whole, so nothing to trim.
|
|
101
|
+
if (Array.isArray(answer))
|
|
102
|
+
return answer;
|
|
103
|
+
const found = ownRow(extractResults(answer));
|
|
104
|
+
// Stop at the page that has the row: everyPage ends a paged read on a page with no `next`.
|
|
105
|
+
return found ? { ...answer, results: [found], next: null } : answer;
|
|
106
|
+
});
|
|
107
|
+
if (!whole.complete)
|
|
108
|
+
return undefined;
|
|
109
|
+
const mine = ownRow(whole.rows);
|
|
110
|
+
if (!mine || !Array.isArray(mine.accessible_applications))
|
|
111
|
+
return undefined;
|
|
112
|
+
return membershipAppRefs(mine.accessible_applications);
|
|
113
|
+
}
|
|
27
114
|
async function buildOrgAppMap() {
|
|
28
115
|
const orgs = extractResults(await (0, auth_1.listOrganizations)());
|
|
116
|
+
// Fetched at most once per map, and only when an organization's applications are refused.
|
|
117
|
+
let identifier;
|
|
118
|
+
const ownIdentifier = () => (identifier ?? (identifier = memberIdentifier().catch(() => undefined)));
|
|
29
119
|
const refs = await Promise.all(orgs.map(async (o) => {
|
|
30
120
|
const orgId = idOf(o);
|
|
31
121
|
if (!orgId)
|
|
32
122
|
return null;
|
|
33
123
|
let apps = [];
|
|
34
124
|
let appsError = false;
|
|
125
|
+
let appsSource;
|
|
35
126
|
try {
|
|
36
|
-
apps =
|
|
37
|
-
.map((a) => {
|
|
38
|
-
const appId = idOf(a);
|
|
39
|
-
return appId ? { appId, appName: nameOf(a), ...modeOf(a) } : null;
|
|
40
|
-
})
|
|
41
|
-
.filter((a) => a !== null);
|
|
127
|
+
apps = toAppRefs(await (0, auth_1.listApplications)(orgId));
|
|
42
128
|
}
|
|
43
129
|
catch {
|
|
44
|
-
|
|
130
|
+
// Refused or failed, which is UNKNOWN, not "none". A non-admin role is refused here by
|
|
131
|
+
// design, so ask the member list for the applications this person can actually open.
|
|
132
|
+
try {
|
|
133
|
+
const own = await ownIdentifier();
|
|
134
|
+
const fromMembership = own ? await appsFromOwnMembership(orgId, own) : undefined;
|
|
135
|
+
if (fromMembership) {
|
|
136
|
+
apps = fromMembership;
|
|
137
|
+
appsSource = "membership";
|
|
138
|
+
}
|
|
139
|
+
else {
|
|
140
|
+
appsError = true;
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
catch {
|
|
144
|
+
appsError = true;
|
|
145
|
+
}
|
|
45
146
|
}
|
|
46
|
-
return { orgId, orgName: nameOf(o), apps, ...(appsError ? { appsError } : {}) };
|
|
147
|
+
return { orgId, orgName: nameOf(o), apps, ...(appsSource ? { appsSource } : {}), ...(appsError ? { appsError } : {}) };
|
|
47
148
|
}));
|
|
48
149
|
return refs.filter((r) => r !== null);
|
|
49
150
|
}
|
package/dist/orgapp.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"orgapp.js","sourceRoot":"","sources":["../src/orgapp.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"orgapp.js","sourceRoot":"","sources":["../src/orgapp.ts"],"names":[],"mappings":";;;AAkLA,oCAqBC;AAID,kCAUC;AAGD,gDAgBC;AAxOD,qCAA2E;AAC3E,qCAAqC;AACrC,yCAAyC;AACzC,uCAAmE;AAkCnE,oFAAoF;AACpF,8EAA8E;AAC9E,MAAM,WAAW,GAAG,IAAI,GAAG,EAAsB,CAAC;AAClD,MAAM,MAAM,GAAG,KAAM,CAAC;AAEtB,SAAS,cAAc,CAAC,OAAY;IAClC,IAAI,KAAK,CAAC,OAAO,CAAC,OAAO,CAAC;QAAE,OAAO,OAAO,CAAC;IAC3C,IAAI,OAAO,IAAI,KAAK,CAAC,OAAO,CAAC,OAAO,CAAC,OAAO,CAAC;QAAE,OAAO,OAAO,CAAC,OAAO,CAAC;IACtE,IAAI,OAAO,IAAI,KAAK,CAAC,OAAO,CAAC,OAAO,CAAC,aAAa,CAAC;QAAE,OAAO,OAAO,CAAC,aAAa,CAAC;IAClF,IAAI,OAAO,IAAI,KAAK,CAAC,OAAO,CAAC,OAAO,CAAC,YAAY,CAAC;QAAE,OAAO,OAAO,CAAC,YAAY,CAAC;IAChF,OAAO,EAAE,CAAC;AACZ,CAAC;AAED,MAAM,IAAI,GAAG,CAAC,CAAM,EAAsB,EAAE,CAC1C,CAAC,EAAE,IAAI,IAAI,CAAC,EAAE,EAAE,IAAI,CAA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ksum": "sha256:420b7b24ac86be17505a0966b1b601675ff047dc04eb8ed922035c32f16fc673",
|
|
3
3
|
"features": {
|
|
4
4
|
"AGE_ESTIMATION": {
|
|
5
5
|
"description": "Configuration for Age Estimation feature.",
|
|
@@ -4106,6 +4106,16 @@
|
|
|
4106
4106
|
"required": false,
|
|
4107
4107
|
"type": "integer"
|
|
4108
4108
|
},
|
|
4109
|
+
"document_selfie_portrait_match_not_computed_action": {
|
|
4110
|
+
"description": "Verdict when is_document_selfie_portrait_match_enabled is on but the client scanning the document reported that it captured no front-camera image (front_camera_image_unavailable is true) and neither side of the document produced a selfie-to-portrait score, so the comparison never ran. Defaults to REVIEW: an absent comparison is not a passed one. Set DECLINE for an application that treats the missing mandatory check as a failed one. A missing frame alone never raises it: gallery uploads and the standalone ID verification API do not report the flag, so the risk does not apply to them.",
|
|
4111
|
+
"enum": [
|
|
4112
|
+
"DECLINE",
|
|
4113
|
+
"REVIEW"
|
|
4114
|
+
],
|
|
4115
|
+
"nullable": true,
|
|
4116
|
+
"required": false,
|
|
4117
|
+
"type": "string"
|
|
4118
|
+
},
|
|
4109
4119
|
"document_selfie_portrait_match_review_threshold": {
|
|
4110
4120
|
"maximum": 100,
|
|
4111
4121
|
"minimum": 0,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../src/tools/context.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../src/tools/context.ts"],"names":[],"mappings":"AAoBA,wBAAsB,UAAU,IAAI,OAAO,CAAC,GAAG,CAAC,CA0D/C"}
|
package/dist/tools/context.js
CHANGED
|
@@ -6,19 +6,39 @@ const orgapp_1 = require("../orgapp");
|
|
|
6
6
|
// One-shot discovery: every organization the caller can access with its applications
|
|
7
7
|
// nested, plus an unambiguous default org/app when there is only one. Replaces the
|
|
8
8
|
// didit_org_list + N×didit_org_list_applications round-trips with a single call.
|
|
9
|
+
// Said beside applications read from the member's own row: they are the person's access, and the
|
|
10
|
+
// member list does not carry each application's environment.
|
|
11
|
+
const MEMBERSHIP_NOTE = "These applications come from this member's own membership of the organization (their row in the member list), " +
|
|
12
|
+
"not from the organization's application list, which only Owner and Admin may read. They are the applications " +
|
|
13
|
+
"this connection can open. Their mode (live or sandbox) is not known here: do not guess it from the name - " +
|
|
14
|
+
"a live application bills every session. Read it in the Didit console before a live action.";
|
|
15
|
+
// Said when neither route produced a list: UNKNOWN, which must never be read as none.
|
|
16
|
+
const UNKNOWN_NOTE = "The applications of at least one organization could not be listed, and this member's own access could not be read " +
|
|
17
|
+
"either, so their applications are unknown - not none. Do not tell the person they have no applications. Retry, or " +
|
|
18
|
+
"check the person's role and application access in the Didit console.";
|
|
9
19
|
async function getContext() {
|
|
10
20
|
const map = await (0, orgapp_1.getOrgAppMap)();
|
|
11
21
|
const organizations = map.map((o) => ({
|
|
12
22
|
organization_id: o.orgId,
|
|
13
23
|
organization_name: o.orgName,
|
|
14
|
-
applications
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
24
|
+
// An organization whose applications could not be listed carries no `applications` key at
|
|
25
|
+
// all: an empty list next to `application_count: 0` is what made every assistant tell a
|
|
26
|
+
// Reader, Developer or Compliance Officer "your organization has no applications".
|
|
27
|
+
...(o.appsError
|
|
28
|
+
? { applications_unknown: true }
|
|
29
|
+
: {
|
|
30
|
+
applications: o.apps.map((a) => ({
|
|
31
|
+
application_id: a.appId,
|
|
32
|
+
application_name: a.appName,
|
|
33
|
+
// "live" | "sandbox". A name is not a mode: an application called
|
|
34
|
+
// "Acme (Sandbox)" can be live, and a live one bills every session it
|
|
35
|
+
// creates. Never infer this from application_name.
|
|
36
|
+
...(a.mode ? { mode: a.mode } : {}),
|
|
37
|
+
})),
|
|
38
|
+
...(o.appsSource === "membership"
|
|
39
|
+
? { applications_source: "membership", applications_note: MEMBERSHIP_NOTE }
|
|
40
|
+
: {}),
|
|
41
|
+
}),
|
|
22
42
|
}));
|
|
23
43
|
const allApps = map.flatMap((o) => o.apps.map((a) => ({ orgId: o.orgId, appId: a.appId })));
|
|
24
44
|
// An org whose applications failed to list is UNKNOWN, not empty - it may hold a second
|
|
@@ -44,7 +64,10 @@ async function getContext() {
|
|
|
44
64
|
: {}),
|
|
45
65
|
organizations,
|
|
46
66
|
organization_count: organizations.length,
|
|
47
|
-
|
|
67
|
+
// A count is only a fact when every organization's applications were listed. Otherwise it is
|
|
68
|
+
// omitted: "application_count: 0" read as a fact is exactly the wrong answer, and the
|
|
69
|
+
// per-organization `applications_unknown` flag says where the gap is.
|
|
70
|
+
...(appsUnknown ? { applications_unknown: true, applications_note: UNKNOWN_NOTE } : { application_count: allApps.length }),
|
|
48
71
|
default_organization_id: organizations.length === 1 ? organizations[0].organization_id : undefined,
|
|
49
72
|
default_application_id: allApps.length === 1 && !appsUnknown ? allApps[0].appId : undefined,
|
|
50
73
|
hint: "Pass organization_id/application_id to target one scope, or omit them on *_search tools to aggregate across all apps. `mode` is the application's environment: a LIVE application bills every verification session created in it, a SANDBOX one mocks every provider and never bills. Read the field — never guess the environment from application_name.",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"context.js","sourceRoot":"","sources":["../../src/tools/context.ts"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"context.js","sourceRoot":"","sources":["../../src/tools/context.ts"],"names":[],"mappings":";;AAoBA,gCA0DC;AA9ED,sCAA2C;AAC3C,sCAAyC;AAEzC,qFAAqF;AACrF,mFAAmF;AACnF,iFAAiF;AAEjF,iGAAiG;AACjG,6DAA6D;AAC7D,MAAM,eAAe,GACnB,gHAAgH;IAChH,+GAA+G;IAC/G,4GAA4G;IAC5G,4FAA4F,CAAC;AAC/F,sFAAsF;AACtF,MAAM,YAAY,GAChB,oHAAoH;IACpH,oHAAoH;IACpH,sEAAsE,CAAC;AAElE,KAAK,UAAU,UAAU;IAC9B,MAAM,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