paisa-mcp 0.4.4 → 0.4.5
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 +3 -3
- package/dist/index.js.map +4 -4
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -54361,7 +54361,7 @@ function alertRuleVariants(client) {
|
|
|
54361
54361
|
set: variant(exports_external.object({
|
|
54362
54362
|
type: exports_external.string().describe("Rule type (e.g. budget_threshold, spending_spike)"),
|
|
54363
54363
|
enabled: exports_external.boolean().optional(),
|
|
54364
|
-
threshold: exports_external.string().regex(
|
|
54364
|
+
threshold: exports_external.string().regex(/^-?\d{1,4}(\.\d{1,2})?$/).optional().nullable().describe('Decimal string, e.g. "80.50". budget_exceeded only: negative = early warning ("-20" alerts at 80% of the budget).')
|
|
54365
54365
|
}), ({ type, enabled, threshold }) => client.patch(apiPath`/api/alerts/rules/${type}`, {
|
|
54366
54366
|
...enabled !== undefined ? { enabled } : {},
|
|
54367
54367
|
...threshold !== undefined ? { threshold } : {}
|
|
@@ -61017,7 +61017,7 @@ function registerResources2(server2, tools) {
|
|
|
61017
61017
|
// package.json
|
|
61018
61018
|
var package_default = {
|
|
61019
61019
|
name: "paisa-mcp",
|
|
61020
|
-
version: "0.4.
|
|
61020
|
+
version: "0.4.5",
|
|
61021
61021
|
repository: {
|
|
61022
61022
|
type: "git",
|
|
61023
61023
|
url: "git+https://github.com/nimit9/paisa.git",
|
|
@@ -61116,5 +61116,5 @@ main().catch((err) => {
|
|
|
61116
61116
|
process.exit(1);
|
|
61117
61117
|
});
|
|
61118
61118
|
|
|
61119
|
-
//# debugId=
|
|
61119
|
+
//# debugId=CBFF11D5F32A133064756E2164756E21
|
|
61120
61120
|
//# sourceMappingURL=index.js.map
|