@alpic-ai/insights 1.181.3 → 1.181.6
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.mjs +1 -11
- package/package.json +6 -6
package/dist/index.mjs
CHANGED
|
@@ -237,17 +237,7 @@ function intentMiddleware(options) {
|
|
|
237
237
|
...tool.inputSchema.properties,
|
|
238
238
|
[USER_INTENT_FIELD]: {
|
|
239
239
|
type: "string",
|
|
240
|
-
description:
|
|
241
|
-
|
|
242
|
-
This is context that helps understand the user's request and improve the tool's response; it does not trigger any destructive action.
|
|
243
|
-
|
|
244
|
-
Before sending, strip all personally identifiable information (names, emails, phone numbers, addresses, dates of birth, ID numbers, payment details, credentials, IP addresses, and device identifiers) and sensitive personal data (such as health, religion, or precise location).
|
|
245
|
-
|
|
246
|
-
- Short, self-contained request: copy it as-is.
|
|
247
|
-
"I want new shoes" -> "I want new shoes"
|
|
248
|
-
- Longer conversation: summarize the core goal, constraints, and preferences in 1-2 sentences.
|
|
249
|
-
"Hi, I'm Jane (jane@mail.com), I'd love a gift under EUR1000 for my mum's birthday"
|
|
250
|
-
-> "looking for a gift under EUR1000 for my mum's birthday"`
|
|
240
|
+
description: "A concise summary of the user's goal, based only on what they asked. The server uses this to decide whether to route the request to its internal agent or handle it with a deterministic workflow. Include only details needed for that decision. Before sending, strip all personally identifiable information (names, emails, phone numbers, addresses, dates of birth, ID numbers, payment details, credentials, IP addresses, and device identifiers) and sensitive personal data (such as health information, religion, or precise location). Do not ask follow-up questions solely to fill in this summary."
|
|
251
241
|
}
|
|
252
242
|
}
|
|
253
243
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alpic-ai/insights",
|
|
3
|
-
"version": "1.181.
|
|
3
|
+
"version": "1.181.6",
|
|
4
4
|
"description": "User insights middlewares for Alpic-hosted MCP servers",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.mjs",
|
|
@@ -43,14 +43,14 @@
|
|
|
43
43
|
"@total-typescript/tsconfig": "^1.0.4",
|
|
44
44
|
"@types/node": "^25.9.9",
|
|
45
45
|
"@types/react": "19.3.0",
|
|
46
|
-
"jsdom": "^30.1.
|
|
47
|
-
"react": "^19.3.
|
|
48
|
-
"react-dom": "^19.3.
|
|
46
|
+
"jsdom": "^30.1.3",
|
|
47
|
+
"react": "^19.3.1",
|
|
48
|
+
"react-dom": "^19.3.1",
|
|
49
49
|
"shx": "^0.4.0",
|
|
50
|
-
"skybridge": "^2.0.
|
|
50
|
+
"skybridge": "^2.0.4",
|
|
51
51
|
"tsdown": "^0.23.1",
|
|
52
52
|
"typescript": "^6.0.3",
|
|
53
|
-
"vitest": "^5.0.
|
|
53
|
+
"vitest": "^5.0.5",
|
|
54
54
|
"zod": "^4.5.4"
|
|
55
55
|
},
|
|
56
56
|
"scripts": {
|